@univerjs-pro/collaboration-client-node 0.8.2-nightly.202506261607 → 0.8.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x138cba=_0x334a;(function(_0x4d4c3d,_0x484f72){const _0x295b33=_0x334a,_0x2f2590=_0x4d4c3d();while(!![]){try{const _0x181526=parseInt(_0x295b33(0x2a7))/0x1+-parseInt(_0x295b33(0x23d))/0x2*(parseInt(_0x295b33(0x274))/0x3)+-parseInt(_0x295b33(0x234))/0x4+-parseInt(_0x295b33(0x1f1))/0x5+-parseInt(_0x295b33(0x1c5))/0x6*(parseInt(_0x295b33(0x1fa))/0x7)+-parseInt(_0x295b33(0x1cb))/0x8+parseInt(_0x295b33(0x271))/0x9;if(_0x181526===_0x484f72)break;else _0x2f2590['push'](_0x2f2590['shift']());}catch(_0x8fc141){_0x2f2590['push'](_0x2f2590['shift']());}}}(_0x42e7,0x76da4));Object['defineProperty'](exports,Symbol['toStringTag'],{'value':_0x138cba(0x165)});const st=require('@univerjs-pro/collaboration-client'),A=require(_0x138cba(0x305)),it=require(_0x138cba(0x1fe)),V=require(_0x138cba(0x2b4)),nt=require(_0x138cba(0x29a)),vt=require('https'),ot=require(_0x138cba(0x2f3)),St=require(_0x138cba(0x166)),Et=require(_0x138cba(0x14e)),Le=require(_0x138cba(0x201)),oe=require(_0x138cba(0x224)),xt=require('url'),bt=require('zlib'),wt=require('buffer'),Ot=require(_0x138cba(0x223)),fe=_0x138cba(0x1c6),Ct={'customHeaders':{}};function Tt(_0x58ee03){const _0x469cf7=_0x138cba;return _0x58ee03&&_0x58ee03[_0x469cf7(0x1bd)]&&Object['prototype'][_0x469cf7(0x17c)][_0x469cf7(0x2d0)](_0x58ee03,_0x469cf7(0x2e3))?_0x58ee03[_0x469cf7(0x2e3)]:_0x58ee03;}function at(_0x40ef5a){const _0x1c1ac8=_0x138cba;if(Object['prototype'][_0x1c1ac8(0x17c)]['call'](_0x40ef5a,_0x1c1ac8(0x1bd)))return _0x40ef5a;var _0x14c2bc=_0x40ef5a[_0x1c1ac8(0x2e3)];if(typeof _0x14c2bc==_0x1c1ac8(0x1c2)){var _0x239134=function _0x10eed1(){const _0x599c89=_0x1c1ac8;return this instanceof _0x10eed1?Reflect[_0x599c89(0x294)](_0x14c2bc,arguments,this[_0x599c89(0x24e)]):_0x14c2bc[_0x599c89(0x152)](this,arguments);};_0x239134[_0x1c1ac8(0x221)]=_0x14c2bc['prototype'];}else _0x239134={};return Object[_0x1c1ac8(0x2e9)](_0x239134,_0x1c1ac8(0x1bd),{'value':!0x0}),Object[_0x1c1ac8(0x1a7)](_0x40ef5a)[_0x1c1ac8(0x27e)](function(_0x1b2f8c){const _0x332def=_0x1c1ac8;var _0x536e7c=Object[_0x332def(0x284)](_0x40ef5a,_0x1b2f8c);Object['defineProperty'](_0x239134,_0x1b2f8c,_0x536e7c[_0x332def(0x23b)]?_0x536e7c:{'enumerable':!0x0,'get':function(){return _0x40ef5a[_0x1b2f8c];}});}),_0x239134;}var se={'exports':{}},ge,Ge;function H(){const _0x40174e=_0x138cba;if(Ge)return ge;Ge=0x1;const _0x1da8fc=[_0x40174e(0x187),_0x40174e(0x295),'fragments'],_0xd783c7=typeof Blob<'u';return _0xd783c7&&_0x1da8fc[_0x40174e(0x270)]('blob'),ge={'BINARY_TYPES':_0x1da8fc,'EMPTY_BUFFER':Buffer[_0x40174e(0x21f)](0x0),'GUID':'258EAFA5-E914-47DA-95CA-C5AB0DC85B11','hasBlob':_0xd783c7,'kForOnEventAttribute':Symbol(_0x40174e(0x27f)),'kListener':Symbol(_0x40174e(0x24b)),'kStatusCode':Symbol('status-code'),'kWebSocket':Symbol(_0x40174e(0x22e)),'NOOP':()=>{}},ge;}const Nt={},kt=Object['freeze'](Object[_0x138cba(0x2e9)]({'__proto__':null,'default':Nt},Symbol[_0x138cba(0x279)],{'value':_0x138cba(0x165)})),Lt=at(kt);var Ve;function ce(){const _0x3f97ca=_0x138cba;if(Ve)return se[_0x3f97ca(0x233)];Ve=0x1;const {EMPTY_BUFFER:_0x4760db}=H(),_0x2d2741=Buffer[Symbol[_0x3f97ca(0x2f6)]];function _0xdd5429(_0x4036e7,_0x591654){const _0x5b3156=_0x3f97ca;if(_0x4036e7[_0x5b3156(0x2b7)]===0x0)return _0x4760db;if(_0x4036e7[_0x5b3156(0x2b7)]===0x1)return _0x4036e7[0x0];const _0x63ae7a=Buffer[_0x5b3156(0x1dc)](_0x591654);let _0x13ed5e=0x0;for(let _0x5c741b=0x0;_0x5c741b<_0x4036e7[_0x5b3156(0x2b7)];_0x5c741b++){const _0x58619d=_0x4036e7[_0x5c741b];_0x63ae7a[_0x5b3156(0x1a0)](_0x58619d,_0x13ed5e),_0x13ed5e+=_0x58619d[_0x5b3156(0x2b7)];}return _0x13ed5e<_0x591654?new _0x2d2741(_0x63ae7a[_0x5b3156(0x216)],_0x63ae7a[_0x5b3156(0x242)],_0x13ed5e):_0x63ae7a;}function _0x16a3c5(_0x543622,_0x49a7fd,_0x1bcf38,_0x24756a,_0x5bb6a0){for(let _0x5446b7=0x0;_0x5446b7<_0x5bb6a0;_0x5446b7++)_0x1bcf38[_0x24756a+_0x5446b7]=_0x543622[_0x5446b7]^_0x49a7fd[_0x5446b7&0x3];}function _0x556fbd(_0x1d35f3,_0x359454){for(let _0x4efd20=0x0;_0x4efd20<_0x1d35f3['length'];_0x4efd20++)_0x1d35f3[_0x4efd20]^=_0x359454[_0x4efd20&0x3];}function _0x461645(_0x6be58){const _0x5e1747=_0x3f97ca;return _0x6be58['length']===_0x6be58[_0x5e1747(0x216)][_0x5e1747(0x253)]?_0x6be58[_0x5e1747(0x216)]:_0x6be58['buffer'][_0x5e1747(0x29d)](_0x6be58[_0x5e1747(0x242)],_0x6be58[_0x5e1747(0x242)]+_0x6be58[_0x5e1747(0x2b7)]);}function _0x3d13b0(_0x4b34ef){const _0xc704eb=_0x3f97ca;if(_0x3d13b0[_0xc704eb(0x2c1)]=!0x0,Buffer[_0xc704eb(0x1bb)](_0x4b34ef))return _0x4b34ef;let _0x337bfe;return _0x4b34ef instanceof ArrayBuffer?_0x337bfe=new _0x2d2741(_0x4b34ef):ArrayBuffer['isView'](_0x4b34ef)?_0x337bfe=new _0x2d2741(_0x4b34ef[_0xc704eb(0x216)],_0x4b34ef[_0xc704eb(0x242)],_0x4b34ef[_0xc704eb(0x253)]):(_0x337bfe=Buffer['from'](_0x4b34ef),_0x3d13b0[_0xc704eb(0x2c1)]=!0x1),_0x337bfe;}if(se[_0x3f97ca(0x233)]={'concat':_0xdd5429,'mask':_0x16a3c5,'toArrayBuffer':_0x461645,'toBuffer':_0x3d13b0,'unmask':_0x556fbd},!process[_0x3f97ca(0x172)][_0x3f97ca(0x287)])try{const _0x14c6b8=Lt;se[_0x3f97ca(0x233)][_0x3f97ca(0x1ee)]=function(_0x5bb24e,_0x15aea6,_0x2ce97d,_0x5dc487,_0x1a2a3a){const _0x50e6b1=_0x3f97ca;_0x1a2a3a<0x30?_0x16a3c5(_0x5bb24e,_0x15aea6,_0x2ce97d,_0x5dc487,_0x1a2a3a):_0x14c6b8[_0x50e6b1(0x1ee)](_0x5bb24e,_0x15aea6,_0x2ce97d,_0x5dc487,_0x1a2a3a);},se[_0x3f97ca(0x233)]['unmask']=function(_0x359a23,_0x1d039b){const _0x4c8c54=_0x3f97ca;_0x359a23[_0x4c8c54(0x2b7)]<0x20?_0x556fbd(_0x359a23,_0x1d039b):_0x14c6b8[_0x4c8c54(0x1ce)](_0x359a23,_0x1d039b);};}catch{}return se[_0x3f97ca(0x233)];}var ye,He;function Pt(){const _0x1a3b4d=_0x138cba;if(He)return ye;He=0x1;const _0x1d5dd0=Symbol(_0x1a3b4d(0x1b5)),_0x3172ed=Symbol(_0x1a3b4d(0x196));class _0x1c79f1{constructor(_0x451b6b){const _0x407cd2=_0x1a3b4d;this[_0x1d5dd0]=()=>{const _0x720f04=_0x334a;this[_0x720f04(0x296)]--,this[_0x3172ed]();},this[_0x407cd2(0x308)]=_0x451b6b||0x1/0x0,this[_0x407cd2(0x2dd)]=[],this[_0x407cd2(0x296)]=0x0;}['add'](_0x10681b){const _0x37fe23=_0x1a3b4d;this[_0x37fe23(0x2dd)][_0x37fe23(0x270)](_0x10681b),this[_0x3172ed]();}[_0x3172ed](){const _0x3db452=_0x1a3b4d;if(this[_0x3db452(0x296)]!==this[_0x3db452(0x308)]&&this[_0x3db452(0x2dd)][_0x3db452(0x2b7)]){const _0x10da09=this['jobs'][_0x3db452(0x230)]();this[_0x3db452(0x296)]++,_0x10da09(this[_0x1d5dd0]);}}}return ye=_0x1c79f1,ye;}var ve,ze;function he(){const _0x49cd70=_0x138cba;if(ze)return ve;ze=0x1;const _0x299e4e=bt,_0x417fee=ce(),_0x2171d8=Pt(),{kStatusCode:_0x292d0f}=H(),_0xd11e6d=Buffer[Symbol['species']],_0x15d282=Buffer[_0x49cd70(0x14b)]([0x0,0x0,0xff,0xff]),_0x10095b=Symbol(_0x49cd70(0x231)),_0x1de867=Symbol(_0x49cd70(0x276)),_0x2f7188=Symbol(_0x49cd70(0x2bb)),_0xc39335=Symbol('buffers'),_0x94afd3=Symbol(_0x49cd70(0x178));let _0x1bfbe1;class _0x35452e{constructor(_0x5d61f4,_0x1dc91d,_0x40d99c){const _0x41088d=_0x49cd70;if(this[_0x41088d(0x2a3)]=_0x40d99c|0x0,this['_options']=_0x5d61f4||{},this[_0x41088d(0x237)]=this[_0x41088d(0x262)][_0x41088d(0x28c)]!==void 0x0?this[_0x41088d(0x262)][_0x41088d(0x28c)]:0x400,this[_0x41088d(0x30d)]=!!_0x1dc91d,this[_0x41088d(0x2b6)]=null,this[_0x41088d(0x1ae)]=null,this['params']=null,!_0x1bfbe1){const _0x29146d=this[_0x41088d(0x262)]['concurrencyLimit']!==void 0x0?this[_0x41088d(0x262)][_0x41088d(0x21c)]:0xa;_0x1bfbe1=new _0x2171d8(_0x29146d);}}static get['extensionName'](){return'permessage-deflate';}[_0x49cd70(0x162)](){const _0x5d9965=_0x49cd70,_0xb52afb={};return this[_0x5d9965(0x262)][_0x5d9965(0x147)]&&(_0xb52afb[_0x5d9965(0x2e5)]=!0x0),this[_0x5d9965(0x262)]['clientNoContextTakeover']&&(_0xb52afb[_0x5d9965(0x209)]=!0x0),this['_options']['serverMaxWindowBits']&&(_0xb52afb[_0x5d9965(0x190)]=this[_0x5d9965(0x262)][_0x5d9965(0x1e0)]),this[_0x5d9965(0x262)][_0x5d9965(0x2ee)]?_0xb52afb[_0x5d9965(0x2ce)]=this[_0x5d9965(0x262)][_0x5d9965(0x2ee)]:this['_options'][_0x5d9965(0x2ee)]==null&&(_0xb52afb[_0x5d9965(0x2ce)]=!0x0),_0xb52afb;}['accept'](_0x43f30d){const _0x3cff12=_0x49cd70;return _0x43f30d=this[_0x3cff12(0x170)](_0x43f30d),this[_0x3cff12(0x30e)]=this['_isServer']?this[_0x3cff12(0x1d1)](_0x43f30d):this['acceptAsClient'](_0x43f30d),this[_0x3cff12(0x30e)];}[_0x49cd70(0x2f4)](){const _0x2261b9=_0x49cd70;if(this[_0x2261b9(0x1ae)]&&(this['_inflate'][_0x2261b9(0x2e7)](),this[_0x2261b9(0x1ae)]=null),this[_0x2261b9(0x2b6)]){const _0x27e389=this['_deflate'][_0x2f7188];this[_0x2261b9(0x2b6)][_0x2261b9(0x2e7)](),this[_0x2261b9(0x2b6)]=null,_0x27e389&&_0x27e389(new Error(_0x2261b9(0x198)));}}[_0x49cd70(0x1d1)](_0x228802){const _0x57aa5a=_0x49cd70,_0x524b80=this[_0x57aa5a(0x262)],_0x44a545=_0x228802[_0x57aa5a(0x1c4)](_0x4b187f=>!(_0x524b80['serverNoContextTakeover']===!0x1&&_0x4b187f[_0x57aa5a(0x2e5)]||_0x4b187f[_0x57aa5a(0x190)]&&(_0x524b80[_0x57aa5a(0x1e0)]===!0x1||typeof _0x524b80[_0x57aa5a(0x1e0)]=='number'&&_0x524b80[_0x57aa5a(0x1e0)]>_0x4b187f[_0x57aa5a(0x190)])||typeof _0x524b80[_0x57aa5a(0x2ee)]=='number'&&!_0x4b187f[_0x57aa5a(0x2ce)]));if(!_0x44a545)throw new Error(_0x57aa5a(0x229));return _0x524b80[_0x57aa5a(0x147)]&&(_0x44a545[_0x57aa5a(0x2e5)]=!0x0),_0x524b80[_0x57aa5a(0x20d)]&&(_0x44a545['client_no_context_takeover']=!0x0),typeof _0x524b80[_0x57aa5a(0x1e0)]==_0x57aa5a(0x2ef)&&(_0x44a545[_0x57aa5a(0x190)]=_0x524b80['serverMaxWindowBits']),typeof _0x524b80[_0x57aa5a(0x2ee)]==_0x57aa5a(0x2ef)?_0x44a545['client_max_window_bits']=_0x524b80['clientMaxWindowBits']:(_0x44a545[_0x57aa5a(0x2ce)]===!0x0||_0x524b80[_0x57aa5a(0x2ee)]===!0x1)&&delete _0x44a545['client_max_window_bits'],_0x44a545;}[_0x49cd70(0x241)](_0x18371e){const _0x32b3d0=_0x49cd70,_0x48276c=_0x18371e[0x0];if(this[_0x32b3d0(0x262)][_0x32b3d0(0x20d)]===!0x1&&_0x48276c['client_no_context_takeover'])throw new Error('Unexpected\x20parameter\x20\x22client_no_context_takeover\x22');if(!_0x48276c['client_max_window_bits'])typeof this[_0x32b3d0(0x262)][_0x32b3d0(0x2ee)]=='number'&&(_0x48276c[_0x32b3d0(0x2ce)]=this[_0x32b3d0(0x262)][_0x32b3d0(0x2ee)]);else{if(this[_0x32b3d0(0x262)][_0x32b3d0(0x2ee)]===!0x1||typeof this[_0x32b3d0(0x262)]['clientMaxWindowBits']==_0x32b3d0(0x2ef)&&_0x48276c[_0x32b3d0(0x2ce)]>this[_0x32b3d0(0x262)][_0x32b3d0(0x2ee)])throw new Error(_0x32b3d0(0x185));}return _0x48276c;}[_0x49cd70(0x170)](_0x2cad78){return _0x2cad78['forEach'](_0x42a980=>{const _0x2d4dd0=_0x334a;Object['keys'](_0x42a980)[_0x2d4dd0(0x27e)](_0x1a97f9=>{const _0x283066=_0x2d4dd0;let _0x4c157d=_0x42a980[_0x1a97f9];if(_0x4c157d[_0x283066(0x2b7)]>0x1)throw new Error(_0x283066(0x208)+_0x1a97f9+_0x283066(0x2bd));if(_0x4c157d=_0x4c157d[0x0],_0x1a97f9===_0x283066(0x2ce)){if(_0x4c157d!==!0x0){const _0x46d839=+_0x4c157d;if(!Number[_0x283066(0x205)](_0x46d839)||_0x46d839<0x8||_0x46d839>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x1a97f9+'\x22:\x20'+_0x4c157d);_0x4c157d=_0x46d839;}else{if(!this[_0x283066(0x30d)])throw new TypeError(_0x283066(0x285)+_0x1a97f9+_0x283066(0x1cf)+_0x4c157d);}}else{if(_0x1a97f9==='server_max_window_bits'){const _0xf6bc03=+_0x4c157d;if(!Number['isInteger'](_0xf6bc03)||_0xf6bc03<0x8||_0xf6bc03>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x1a97f9+'\x22:\x20'+_0x4c157d);_0x4c157d=_0xf6bc03;}else{if(_0x1a97f9===_0x283066(0x209)||_0x1a97f9===_0x283066(0x2e5)){if(_0x4c157d!==!0x0)throw new TypeError(_0x283066(0x285)+_0x1a97f9+_0x283066(0x1cf)+_0x4c157d);}else throw new Error('Unknown\x20parameter\x20\x22'+_0x1a97f9+'\x22');}}_0x42a980[_0x1a97f9]=_0x4c157d;});}),_0x2cad78;}[_0x49cd70(0x292)](_0x1cf1c1,_0x930021,_0x27d567){const _0xfb70c4=_0x49cd70;_0x1bfbe1[_0xfb70c4(0x16b)](_0x279079=>{const _0x4c6c6d=_0xfb70c4;this[_0x4c6c6d(0x255)](_0x1cf1c1,_0x930021,(_0x568684,_0x136f6c)=>{_0x279079(),_0x27d567(_0x568684,_0x136f6c);});});}['compress'](_0x1d3bae,_0x342796,_0xb2328b){const _0x2327ff=_0x49cd70;_0x1bfbe1[_0x2327ff(0x16b)](_0x52deb3=>{const _0x106a8a=_0x2327ff;this[_0x106a8a(0x1f4)](_0x1d3bae,_0x342796,(_0x185df2,_0x22ceec)=>{_0x52deb3(),_0xb2328b(_0x185df2,_0x22ceec);});});}[_0x49cd70(0x255)](_0x1e6845,_0x4caa2c,_0x22d0e8){const _0x4c14cf=_0x49cd70,_0x27178f=this['_isServer']?_0x4c14cf(0x17e):'server';if(!this[_0x4c14cf(0x1ae)]){const _0x47fba3=_0x27178f+_0x4c14cf(0x1ec),_0x7d5cad=typeof this[_0x4c14cf(0x30e)][_0x47fba3]!='number'?_0x299e4e[_0x4c14cf(0x1d6)]:this[_0x4c14cf(0x30e)][_0x47fba3];this[_0x4c14cf(0x1ae)]=_0x299e4e['createInflateRaw']({...this[_0x4c14cf(0x262)][_0x4c14cf(0x24d)],'windowBits':_0x7d5cad}),this[_0x4c14cf(0x1ae)][_0x10095b]=this,this[_0x4c14cf(0x1ae)][_0x1de867]=0x0,this[_0x4c14cf(0x1ae)][_0xc39335]=[],this['_inflate']['on'](_0x4c14cf(0x178),_0x19b7d2),this[_0x4c14cf(0x1ae)]['on'](_0x4c14cf(0x18c),_0x4a3e9f);}this['_inflate'][_0x2f7188]=_0x22d0e8,this['_inflate']['write'](_0x1e6845),_0x4caa2c&&this['_inflate']['write'](_0x15d282),this['_inflate'][_0x4c14cf(0x1a2)](()=>{const _0x5f8aad=_0x4c14cf,_0x41c484=this[_0x5f8aad(0x1ae)][_0x94afd3];if(_0x41c484){this[_0x5f8aad(0x1ae)]['close'](),this[_0x5f8aad(0x1ae)]=null,_0x22d0e8(_0x41c484);return;}const _0xeb118f=_0x417fee[_0x5f8aad(0x17a)](this[_0x5f8aad(0x1ae)][_0xc39335],this[_0x5f8aad(0x1ae)][_0x1de867]);this[_0x5f8aad(0x1ae)][_0x5f8aad(0x1a4)][_0x5f8aad(0x15f)]?(this[_0x5f8aad(0x1ae)][_0x5f8aad(0x2e7)](),this['_inflate']=null):(this['_inflate'][_0x1de867]=0x0,this['_inflate'][_0xc39335]=[],_0x4caa2c&&this[_0x5f8aad(0x30e)][_0x27178f+_0x5f8aad(0x263)]&&this[_0x5f8aad(0x1ae)]['reset']()),_0x22d0e8(null,_0xeb118f);});}[_0x49cd70(0x1f4)](_0x432437,_0x1f1f74,_0x3c3c70){const _0x3432bd=_0x49cd70,_0x565af2=this[_0x3432bd(0x30d)]?_0x3432bd(0x265):_0x3432bd(0x17e);if(!this[_0x3432bd(0x2b6)]){const _0x5763f=_0x565af2+_0x3432bd(0x1ec),_0x362522=typeof this['params'][_0x5763f]!=_0x3432bd(0x2ef)?_0x299e4e[_0x3432bd(0x1d6)]:this[_0x3432bd(0x30e)][_0x5763f];this[_0x3432bd(0x2b6)]=_0x299e4e[_0x3432bd(0x1b3)]({...this['_options'][_0x3432bd(0x1a8)],'windowBits':_0x362522}),this[_0x3432bd(0x2b6)][_0x1de867]=0x0,this['_deflate'][_0xc39335]=[],this['_deflate']['on']('data',_0x26c11e);}this[_0x3432bd(0x2b6)][_0x2f7188]=_0x3c3c70,this['_deflate'][_0x3432bd(0x14c)](_0x432437),this[_0x3432bd(0x2b6)][_0x3432bd(0x1a2)](_0x299e4e[_0x3432bd(0x1de)],()=>{const _0x16cb2b=_0x3432bd;if(!this['_deflate'])return;let _0x4b816f=_0x417fee['concat'](this['_deflate'][_0xc39335],this[_0x16cb2b(0x2b6)][_0x1de867]);_0x1f1f74&&(_0x4b816f=new _0xd11e6d(_0x4b816f[_0x16cb2b(0x216)],_0x4b816f['byteOffset'],_0x4b816f['length']-0x4)),this['_deflate'][_0x2f7188]=null,this[_0x16cb2b(0x2b6)][_0x1de867]=0x0,this[_0x16cb2b(0x2b6)][_0xc39335]=[],_0x1f1f74&&this['params'][_0x565af2+_0x16cb2b(0x263)]&&this[_0x16cb2b(0x2b6)][_0x16cb2b(0x20b)](),_0x3c3c70(null,_0x4b816f);});}}ve=_0x35452e;function _0x26c11e(_0x5a50ea){const _0x25d977=_0x49cd70;this[_0xc39335]['push'](_0x5a50ea),this[_0x1de867]+=_0x5a50ea[_0x25d977(0x2b7)];}function _0x4a3e9f(_0x4b8576){const _0x5f55fc=_0x49cd70;if(this[_0x1de867]+=_0x4b8576[_0x5f55fc(0x2b7)],this[_0x10095b][_0x5f55fc(0x2a3)]<0x1||this[_0x1de867]<=this[_0x10095b][_0x5f55fc(0x2a3)]){this[_0xc39335][_0x5f55fc(0x270)](_0x4b8576);return;}this[_0x94afd3]=new RangeError('Max\x20payload\x20size\x20exceeded'),this[_0x94afd3][_0x5f55fc(0x26e)]=_0x5f55fc(0x2d7),this[_0x94afd3][_0x292d0f]=0x3f1,this[_0x5f55fc(0x29c)](_0x5f55fc(0x18c),_0x4a3e9f),this[_0x5f55fc(0x20b)]();}function _0x19b7d2(_0x2c41d1){const _0x219e6b=_0x49cd70;if(this[_0x10095b][_0x219e6b(0x1ae)]=null,this[_0x94afd3]){this[_0x2f7188](this[_0x94afd3]);return;}_0x2c41d1[_0x292d0f]=0x3ef,this[_0x2f7188](_0x2c41d1);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x138cba(0x2cf)](Object[_0x138cba(0x2e9)]({'__proto__':null,'default':Dt},Symbol[_0x138cba(0x279)],{'value':'Module'})),Bt=at(Rt);var Ye;function ae(){const _0x1680c9=_0x138cba;if(Ye)return ie[_0x1680c9(0x233)];Ye=0x1;const {isUtf8:_0x125697}=wt,{hasBlob:_0xc81709}=H(),_0xeaa7da=[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 _0x4f5fd6(_0x4e6a02){return _0x4e6a02>=0x3e8&&_0x4e6a02<=0x3f6&&_0x4e6a02!==0x3ec&&_0x4e6a02!==0x3ed&&_0x4e6a02!==0x3ee||_0x4e6a02>=0xbb8&&_0x4e6a02<=0x1387;}function _0x2a93af(_0x38ba47){const _0x542580=_0x1680c9,_0x5aedec=_0x38ba47[_0x542580(0x2b7)];let _0xed897=0x0;for(;_0xed897<_0x5aedec;)if((_0x38ba47[_0xed897]&0x80)===0x0)_0xed897++;else{if((_0x38ba47[_0xed897]&0xe0)===0xc0){if(_0xed897+0x1===_0x5aedec||(_0x38ba47[_0xed897+0x1]&0xc0)!==0x80||(_0x38ba47[_0xed897]&0xfe)===0xc0)return!0x1;_0xed897+=0x2;}else{if((_0x38ba47[_0xed897]&0xf0)===0xe0){if(_0xed897+0x2>=_0x5aedec||(_0x38ba47[_0xed897+0x1]&0xc0)!==0x80||(_0x38ba47[_0xed897+0x2]&0xc0)!==0x80||_0x38ba47[_0xed897]===0xe0&&(_0x38ba47[_0xed897+0x1]&0xe0)===0x80||_0x38ba47[_0xed897]===0xed&&(_0x38ba47[_0xed897+0x1]&0xe0)===0xa0)return!0x1;_0xed897+=0x3;}else{if((_0x38ba47[_0xed897]&0xf8)===0xf0){if(_0xed897+0x3>=_0x5aedec||(_0x38ba47[_0xed897+0x1]&0xc0)!==0x80||(_0x38ba47[_0xed897+0x2]&0xc0)!==0x80||(_0x38ba47[_0xed897+0x3]&0xc0)!==0x80||_0x38ba47[_0xed897]===0xf0&&(_0x38ba47[_0xed897+0x1]&0xf0)===0x80||_0x38ba47[_0xed897]===0xf4&&_0x38ba47[_0xed897+0x1]>0x8f||_0x38ba47[_0xed897]>0xf4)return!0x1;_0xed897+=0x4;}else return!0x1;}}}return!0x0;}function _0xc31361(_0x3cc2fb){const _0x599f23=_0x1680c9;return _0xc81709&&typeof _0x3cc2fb=='object'&&typeof _0x3cc2fb['arrayBuffer']==_0x599f23(0x1c2)&&typeof _0x3cc2fb[_0x599f23(0x171)]=='string'&&typeof _0x3cc2fb[_0x599f23(0x224)]==_0x599f23(0x1c2)&&(_0x3cc2fb[Symbol[_0x599f23(0x279)]]===_0x599f23(0x1a3)||_0x3cc2fb[Symbol[_0x599f23(0x279)]]==='File');}if(ie['exports']={'isBlob':_0xc31361,'isValidStatusCode':_0x4f5fd6,'isValidUTF8':_0x2a93af,'tokenChars':_0xeaa7da},_0x125697)ie[_0x1680c9(0x233)]['isValidUTF8']=function(_0xc7932a){return _0xc7932a['length']<0x18?_0x2a93af(_0xc7932a):_0x125697(_0xc7932a);};else{if(!process[_0x1680c9(0x172)][_0x1680c9(0x2a4)])try{const _0x31b77c=Bt;ie[_0x1680c9(0x233)][_0x1680c9(0x30c)]=function(_0x4b883e){const _0x3d3e02=_0x1680c9;return _0x4b883e[_0x3d3e02(0x2b7)]<0x20?_0x2a93af(_0x4b883e):_0x31b77c(_0x4b883e);};}catch{}}return ie[_0x1680c9(0x233)];}var Se,Ke;function lt(){const _0x36f094=_0x138cba;if(Ke)return Se;Ke=0x1;const {Writable:_0x49d24c}=oe,_0x50d81e=he(),{BINARY_TYPES:_0x3cc4f2,EMPTY_BUFFER:_0x43043b,kStatusCode:_0x24a74b,kWebSocket:_0x1acfbf}=H(),{concat:_0x53f50d,toArrayBuffer:_0x4b147c,unmask:_0xf6291b}=ce(),{isValidStatusCode:_0x175a5e,isValidUTF8:_0x470429}=ae(),_0x139cfd=Buffer[Symbol[_0x36f094(0x2f6)]],_0x3dca6a=0x0,_0x3e9ca1=0x1,_0x130e9b=0x2,_0x2660fb=0x3,_0x50acb0=0x4,_0x34207d=0x5,_0x407246=0x6;class _0x321cf7 extends _0x49d24c{constructor(_0x403d55={}){const _0x201dda=_0x36f094;super(),this[_0x201dda(0x252)]=_0x403d55[_0x201dda(0x16d)]!==void 0x0?_0x403d55[_0x201dda(0x16d)]:!0x0,this[_0x201dda(0x2b2)]=_0x403d55['binaryType']||_0x3cc4f2[0x0],this['_extensions']=_0x403d55[_0x201dda(0x157)]||{},this[_0x201dda(0x30d)]=!!_0x403d55[_0x201dda(0x1ab)],this['_maxPayload']=_0x403d55['maxPayload']|0x0,this['_skipUTF8Validation']=!!_0x403d55[_0x201dda(0x275)],this[_0x1acfbf]=void 0x0,this['_bufferedBytes']=0x0,this['_buffers']=[],this[_0x201dda(0x2d1)]=!0x1,this['_payloadLength']=0x0,this[_0x201dda(0x163)]=void 0x0,this['_fragmented']=0x0,this['_masked']=!0x1,this[_0x201dda(0x1b1)]=!0x1,this['_opcode']=0x0,this[_0x201dda(0x16a)]=0x0,this[_0x201dda(0x309)]=0x0,this['_fragments']=[],this[_0x201dda(0x2a1)]=!0x1,this[_0x201dda(0x206)]=!0x1,this['_state']=_0x3dca6a;}[_0x36f094(0x18d)](_0x24040d,_0x1ff9e4,_0x38a795){const _0x53c204=_0x36f094;if(this[_0x53c204(0x25b)]===0x8&&this['_state']==_0x3dca6a)return _0x38a795();this[_0x53c204(0x182)]+=_0x24040d[_0x53c204(0x2b7)],this['_buffers']['push'](_0x24040d),this[_0x53c204(0x158)](_0x38a795);}[_0x36f094(0x1f7)](_0x160ae7){const _0x3c57a8=_0x36f094;if(this[_0x3c57a8(0x182)]-=_0x160ae7,_0x160ae7===this[_0x3c57a8(0x1f5)][0x0][_0x3c57a8(0x2b7)])return this[_0x3c57a8(0x1f5)]['shift']();if(_0x160ae7<this['_buffers'][0x0][_0x3c57a8(0x2b7)]){const _0x567613=this[_0x3c57a8(0x1f5)][0x0];return this[_0x3c57a8(0x1f5)][0x0]=new _0x139cfd(_0x567613['buffer'],_0x567613[_0x3c57a8(0x242)]+_0x160ae7,_0x567613[_0x3c57a8(0x2b7)]-_0x160ae7),new _0x139cfd(_0x567613[_0x3c57a8(0x216)],_0x567613[_0x3c57a8(0x242)],_0x160ae7);}const _0x499ebf=Buffer['allocUnsafe'](_0x160ae7);do{const _0x2314e3=this[_0x3c57a8(0x1f5)][0x0],_0x1a01f6=_0x499ebf[_0x3c57a8(0x2b7)]-_0x160ae7;_0x160ae7>=_0x2314e3[_0x3c57a8(0x2b7)]?_0x499ebf[_0x3c57a8(0x1a0)](this[_0x3c57a8(0x1f5)][_0x3c57a8(0x230)](),_0x1a01f6):(_0x499ebf[_0x3c57a8(0x1a0)](new Uint8Array(_0x2314e3[_0x3c57a8(0x216)],_0x2314e3['byteOffset'],_0x160ae7),_0x1a01f6),this[_0x3c57a8(0x1f5)][0x0]=new _0x139cfd(_0x2314e3['buffer'],_0x2314e3[_0x3c57a8(0x242)]+_0x160ae7,_0x2314e3[_0x3c57a8(0x2b7)]-_0x160ae7)),_0x160ae7-=_0x2314e3['length'];}while(_0x160ae7>0x0);return _0x499ebf;}['startLoop'](_0x4254e8){const _0x1a37a6=_0x36f094;this[_0x1a37a6(0x206)]=!0x0;do switch(this['_state']){case _0x3dca6a:this[_0x1a37a6(0x168)](_0x4254e8);break;case _0x3e9ca1:this[_0x1a37a6(0x23c)](_0x4254e8);break;case _0x130e9b:this[_0x1a37a6(0x23a)](_0x4254e8);break;case _0x2660fb:this[_0x1a37a6(0x228)]();break;case _0x50acb0:this[_0x1a37a6(0x22c)](_0x4254e8);break;case _0x34207d:case _0x407246:this[_0x1a37a6(0x206)]=!0x1;return;}while(this[_0x1a37a6(0x206)]);this[_0x1a37a6(0x2a1)]||_0x4254e8();}[_0x36f094(0x168)](_0x3c2fd7){const _0x512656=_0x36f094;if(this[_0x512656(0x182)]<0x2){this['_loop']=!0x1;return;}const _0x41fcfd=this[_0x512656(0x1f7)](0x2);if((_0x41fcfd[0x0]&0x30)!==0x0){const _0xd5a456=this[_0x512656(0x28f)](RangeError,_0x512656(0x186),!0x0,0x3ea,_0x512656(0x143));_0x3c2fd7(_0xd5a456);return;}const _0x131bdb=(_0x41fcfd[0x0]&0x40)===0x40;if(_0x131bdb&&!this['_extensions'][_0x50d81e[_0x512656(0x1d0)]]){const _0x3e921a=this['createError'](RangeError,_0x512656(0x17f),!0x0,0x3ea,_0x512656(0x304));_0x3c2fd7(_0x3e921a);return;}if(this[_0x512656(0x1b1)]=(_0x41fcfd[0x0]&0x80)===0x80,this[_0x512656(0x25b)]=_0x41fcfd[0x0]&0xf,this['_payloadLength']=_0x41fcfd[0x1]&0x7f,this[_0x512656(0x25b)]===0x0){if(_0x131bdb){const _0x594e98=this[_0x512656(0x28f)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x512656(0x304));_0x3c2fd7(_0x594e98);return;}if(!this[_0x512656(0x1a6)]){const _0x50c2cc=this['createError'](RangeError,_0x512656(0x261),!0x0,0x3ea,_0x512656(0x194));_0x3c2fd7(_0x50c2cc);return;}this[_0x512656(0x25b)]=this['_fragmented'];}else{if(this['_opcode']===0x1||this['_opcode']===0x2){if(this[_0x512656(0x1a6)]){const _0xd9d75a=this[_0x512656(0x28f)](RangeError,_0x512656(0x1be)+this[_0x512656(0x25b)],!0x0,0x3ea,_0x512656(0x194));_0x3c2fd7(_0xd9d75a);return;}this[_0x512656(0x2d1)]=_0x131bdb;}else{if(this['_opcode']>0x7&&this[_0x512656(0x25b)]<0xb){if(!this[_0x512656(0x1b1)]){const _0x2fcf8d=this[_0x512656(0x28f)](RangeError,'FIN\x20must\x20be\x20set',!0x0,0x3ea,_0x512656(0x2f7));_0x3c2fd7(_0x2fcf8d);return;}if(_0x131bdb){const _0x16dc58=this['createError'](RangeError,_0x512656(0x17f),!0x0,0x3ea,_0x512656(0x304));_0x3c2fd7(_0x16dc58);return;}if(this['_payloadLength']>0x7d||this['_opcode']===0x8&&this['_payloadLength']===0x1){const _0x48a5bb=this[_0x512656(0x28f)](RangeError,_0x512656(0x18e)+this['_payloadLength'],!0x0,0x3ea,_0x512656(0x293));_0x3c2fd7(_0x48a5bb);return;}}else{const _0x3b8a36=this[_0x512656(0x28f)](RangeError,'invalid\x20opcode\x20'+this[_0x512656(0x25b)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x3c2fd7(_0x3b8a36);return;}}}if(!this['_fin']&&!this[_0x512656(0x1a6)]&&(this[_0x512656(0x1a6)]=this[_0x512656(0x25b)]),this[_0x512656(0x2c2)]=(_0x41fcfd[0x1]&0x80)===0x80,this[_0x512656(0x30d)]){if(!this[_0x512656(0x2c2)]){const _0x54e1b1=this[_0x512656(0x28f)](RangeError,_0x512656(0x22f),!0x0,0x3ea,_0x512656(0x2d3));_0x3c2fd7(_0x54e1b1);return;}}else{if(this[_0x512656(0x2c2)]){const _0x7e6e41=this['createError'](RangeError,_0x512656(0x266),!0x0,0x3ea,_0x512656(0x2c6));_0x3c2fd7(_0x7e6e41);return;}}this[_0x512656(0x2fc)]===0x7e?this[_0x512656(0x20f)]=_0x3e9ca1:this['_payloadLength']===0x7f?this[_0x512656(0x20f)]=_0x130e9b:this[_0x512656(0x156)](_0x3c2fd7);}[_0x36f094(0x23c)](_0x2a109d){const _0x7fa9dc=_0x36f094;if(this[_0x7fa9dc(0x182)]<0x2){this['_loop']=!0x1;return;}this[_0x7fa9dc(0x2fc)]=this['consume'](0x2)[_0x7fa9dc(0x142)](0x0),this['haveLength'](_0x2a109d);}['getPayloadLength64'](_0x55bf69){const _0x271f0d=_0x36f094;if(this[_0x271f0d(0x182)]<0x8){this[_0x271f0d(0x206)]=!0x1;return;}const _0x4cd362=this['consume'](0x8),_0x2b5dbd=_0x4cd362[_0x271f0d(0x213)](0x0);if(_0x2b5dbd>Math['pow'](0x2,0x15)-0x1){const _0x409e3a=this['createError'](RangeError,_0x271f0d(0x1ef),!0x1,0x3f1,_0x271f0d(0x2fd));_0x55bf69(_0x409e3a);return;}this[_0x271f0d(0x2fc)]=_0x2b5dbd*Math[_0x271f0d(0x179)](0x2,0x20)+_0x4cd362['readUInt32BE'](0x4),this[_0x271f0d(0x156)](_0x55bf69);}[_0x36f094(0x156)](_0x2ca2e2){const _0x590052=_0x36f094;if(this[_0x590052(0x2fc)]&&this['_opcode']<0x8&&(this['_totalPayloadLength']+=this[_0x590052(0x2fc)],this['_totalPayloadLength']>this[_0x590052(0x2a3)]&&this[_0x590052(0x2a3)]>0x0)){const _0x36e847=this[_0x590052(0x28f)](RangeError,_0x590052(0x1ad),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x2ca2e2(_0x36e847);return;}this[_0x590052(0x2c2)]?this[_0x590052(0x20f)]=_0x2660fb:this[_0x590052(0x20f)]=_0x50acb0;}['getMask'](){const _0x12e57b=_0x36f094;if(this[_0x12e57b(0x182)]<0x4){this['_loop']=!0x1;return;}this[_0x12e57b(0x163)]=this[_0x12e57b(0x1f7)](0x4),this[_0x12e57b(0x20f)]=_0x50acb0;}[_0x36f094(0x22c)](_0x53e77b){const _0x199156=_0x36f094;let _0x516736=_0x43043b;if(this[_0x199156(0x2fc)]){if(this[_0x199156(0x182)]<this[_0x199156(0x2fc)]){this[_0x199156(0x206)]=!0x1;return;}_0x516736=this[_0x199156(0x1f7)](this[_0x199156(0x2fc)]),this['_masked']&&(this[_0x199156(0x163)][0x0]|this['_mask'][0x1]|this[_0x199156(0x163)][0x2]|this[_0x199156(0x163)][0x3])!==0x0&&_0xf6291b(_0x516736,this[_0x199156(0x163)]);}if(this['_opcode']>0x7){this['controlMessage'](_0x516736,_0x53e77b);return;}if(this[_0x199156(0x2d1)]){this[_0x199156(0x20f)]=_0x34207d,this[_0x199156(0x292)](_0x516736,_0x53e77b);return;}_0x516736[_0x199156(0x2b7)]&&(this['_messageLength']=this[_0x199156(0x16a)],this[_0x199156(0x269)][_0x199156(0x270)](_0x516736)),this[_0x199156(0x154)](_0x53e77b);}['decompress'](_0x56c659,_0x4591d4){const _0x3d2262=_0x36f094;this[_0x3d2262(0x2f8)][_0x50d81e['extensionName']][_0x3d2262(0x292)](_0x56c659,this[_0x3d2262(0x1b1)],(_0x2b6e69,_0x4a6e44)=>{const _0x483f2b=_0x3d2262;if(_0x2b6e69)return _0x4591d4(_0x2b6e69);if(_0x4a6e44['length']){if(this[_0x483f2b(0x309)]+=_0x4a6e44[_0x483f2b(0x2b7)],this[_0x483f2b(0x309)]>this[_0x483f2b(0x2a3)]&&this[_0x483f2b(0x2a3)]>0x0){const _0x497850=this[_0x483f2b(0x28f)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x4591d4(_0x497850);return;}this[_0x483f2b(0x269)][_0x483f2b(0x270)](_0x4a6e44);}this['dataMessage'](_0x4591d4),this[_0x483f2b(0x20f)]===_0x3dca6a&&this[_0x483f2b(0x158)](_0x4591d4);});}['dataMessage'](_0x3ee678){const _0x5a4a6a=_0x36f094;if(!this['_fin']){this['_state']=_0x3dca6a;return;}const _0x2c05cb=this[_0x5a4a6a(0x309)],_0x56bd89=this[_0x5a4a6a(0x269)];if(this[_0x5a4a6a(0x16a)]=0x0,this['_messageLength']=0x0,this[_0x5a4a6a(0x1a6)]=0x0,this['_fragments']=[],this['_opcode']===0x2){let _0x5ed17c;this['_binaryType']===_0x5a4a6a(0x187)?_0x5ed17c=_0x53f50d(_0x56bd89,_0x2c05cb):this[_0x5a4a6a(0x2b2)]===_0x5a4a6a(0x295)?_0x5ed17c=_0x4b147c(_0x53f50d(_0x56bd89,_0x2c05cb)):this['_binaryType']===_0x5a4a6a(0x290)?_0x5ed17c=new Blob(_0x56bd89):_0x5ed17c=_0x56bd89,this[_0x5a4a6a(0x252)]?(this[_0x5a4a6a(0x15a)](_0x5a4a6a(0x191),_0x5ed17c,!0x0),this[_0x5a4a6a(0x20f)]=_0x3dca6a):(this[_0x5a4a6a(0x20f)]=_0x407246,setImmediate(()=>{const _0x4bc90b=_0x5a4a6a;this['emit']('message',_0x5ed17c,!0x0),this[_0x4bc90b(0x20f)]=_0x3dca6a,this['startLoop'](_0x3ee678);}));}else{const _0x5bc997=_0x53f50d(_0x56bd89,_0x2c05cb);if(!this[_0x5a4a6a(0x1f0)]&&!_0x470429(_0x5bc997)){const _0x9236d5=this[_0x5a4a6a(0x28f)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x3ee678(_0x9236d5);return;}this[_0x5a4a6a(0x20f)]===_0x34207d||this['_allowSynchronousEvents']?(this['emit'](_0x5a4a6a(0x191),_0x5bc997,!0x1),this['_state']=_0x3dca6a):(this[_0x5a4a6a(0x20f)]=_0x407246,setImmediate(()=>{const _0x4054dd=_0x5a4a6a;this[_0x4054dd(0x15a)](_0x4054dd(0x191),_0x5bc997,!0x1),this[_0x4054dd(0x20f)]=_0x3dca6a,this[_0x4054dd(0x158)](_0x3ee678);}));}}[_0x36f094(0x26b)](_0x2ff37b,_0x4d6fa7){const _0x16a7c1=_0x36f094;if(this[_0x16a7c1(0x25b)]===0x8){if(_0x2ff37b[_0x16a7c1(0x2b7)]===0x0)this[_0x16a7c1(0x206)]=!0x1,this[_0x16a7c1(0x15a)](_0x16a7c1(0x1d3),0x3ed,_0x43043b),this['end']();else{const _0x4b293d=_0x2ff37b[_0x16a7c1(0x142)](0x0);if(!_0x175a5e(_0x4b293d)){const _0x38e056=this['createError'](RangeError,'invalid\x20status\x20code\x20'+_0x4b293d,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0x4d6fa7(_0x38e056);return;}const _0x453640=new _0x139cfd(_0x2ff37b[_0x16a7c1(0x216)],_0x2ff37b[_0x16a7c1(0x242)]+0x2,_0x2ff37b[_0x16a7c1(0x2b7)]-0x2);if(!this[_0x16a7c1(0x1f0)]&&!_0x470429(_0x453640)){const _0x396a37=this[_0x16a7c1(0x28f)](Error,_0x16a7c1(0x164),!0x0,0x3ef,_0x16a7c1(0x2bc));_0x4d6fa7(_0x396a37);return;}this[_0x16a7c1(0x206)]=!0x1,this[_0x16a7c1(0x15a)](_0x16a7c1(0x1d3),_0x4b293d,_0x453640),this[_0x16a7c1(0x180)]();}this[_0x16a7c1(0x20f)]=_0x3dca6a;return;}this['_allowSynchronousEvents']?(this[_0x16a7c1(0x15a)](this[_0x16a7c1(0x25b)]===0x9?_0x16a7c1(0x2af):'pong',_0x2ff37b),this[_0x16a7c1(0x20f)]=_0x3dca6a):(this[_0x16a7c1(0x20f)]=_0x407246,setImmediate(()=>{const _0x106541=_0x16a7c1;this[_0x106541(0x15a)](this[_0x106541(0x25b)]===0x9?_0x106541(0x2af):'pong',_0x2ff37b),this[_0x106541(0x20f)]=_0x3dca6a,this[_0x106541(0x158)](_0x4d6fa7);}));}[_0x36f094(0x28f)](_0x298b22,_0x431434,_0x373a23,_0x33104a,_0x434bc9){const _0x1a92a7=_0x36f094;this[_0x1a92a7(0x206)]=!0x1,this[_0x1a92a7(0x2a1)]=!0x0;const _0x37bd12=new _0x298b22(_0x373a23?'Invalid\x20WebSocket\x20frame:\x20'+_0x431434:_0x431434);return Error['captureStackTrace'](_0x37bd12,this['createError']),_0x37bd12[_0x1a92a7(0x26e)]=_0x434bc9,_0x37bd12[_0x24a74b]=_0x33104a,_0x37bd12;}}return Se=_0x321cf7,Se;}var Ee,Xe;function ft(){const _0x2cf1ad=_0x138cba;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x9b1aa5}=oe,{randomFillSync:_0x863b7}=Le,_0x15eeb2=he(),{EMPTY_BUFFER:_0xee1990,kWebSocket:_0x49d9d1,NOOP:_0x3d9484}=H(),{isBlob:_0x3140e5,isValidStatusCode:_0x365e5c}=ae(),{mask:_0x3c1a8f,toBuffer:_0x258858}=ce(),_0x507a92=Symbol(_0x2cf1ad(0x25c)),_0x301eff=Buffer[_0x2cf1ad(0x21f)](0x4),_0x5ac5d2=0x8*0x400;let _0x26a696,_0x3150fc=_0x5ac5d2;const _0x30a2d8=0x0,_0x1de6b7=0x1,_0x341e7d=0x2;class _0x4f1719{constructor(_0x370893,_0x27cc43,_0x2d18ca){const _0x2bbe6d=_0x2cf1ad;this[_0x2bbe6d(0x2f8)]=_0x27cc43||{},_0x2d18ca&&(this[_0x2bbe6d(0x1bc)]=_0x2d18ca,this['_maskBuffer']=Buffer['alloc'](0x4)),this[_0x2bbe6d(0x1e7)]=_0x370893,this[_0x2bbe6d(0x219)]=!0x0,this[_0x2bbe6d(0x1f4)]=!0x1,this[_0x2bbe6d(0x182)]=0x0,this[_0x2bbe6d(0x192)]=[],this[_0x2bbe6d(0x20f)]=_0x30a2d8,this['onerror']=_0x3d9484,this[_0x49d9d1]=void 0x0;}static[_0x2cf1ad(0x272)](_0x169ff2,_0x348753){const _0x43bf76=_0x2cf1ad;let _0x32437c,_0x3a0bda=!0x1,_0x24e7ac=0x2,_0x4d47a8=!0x1;_0x348753[_0x43bf76(0x1ee)]&&(_0x32437c=_0x348753[_0x43bf76(0x225)]||_0x301eff,_0x348753[_0x43bf76(0x1b2)]?_0x348753[_0x43bf76(0x1b2)](_0x32437c):(_0x3150fc===_0x5ac5d2&&(_0x26a696===void 0x0&&(_0x26a696=Buffer[_0x43bf76(0x21f)](_0x5ac5d2)),_0x863b7(_0x26a696,0x0,_0x5ac5d2),_0x3150fc=0x0),_0x32437c[0x0]=_0x26a696[_0x3150fc++],_0x32437c[0x1]=_0x26a696[_0x3150fc++],_0x32437c[0x2]=_0x26a696[_0x3150fc++],_0x32437c[0x3]=_0x26a696[_0x3150fc++]),_0x4d47a8=(_0x32437c[0x0]|_0x32437c[0x1]|_0x32437c[0x2]|_0x32437c[0x3])===0x0,_0x24e7ac=0x6);let _0x33d566;typeof _0x169ff2==_0x43bf76(0x175)?(!_0x348753[_0x43bf76(0x1ee)]||_0x4d47a8)&&_0x348753[_0x507a92]!==void 0x0?_0x33d566=_0x348753[_0x507a92]:(_0x169ff2=Buffer['from'](_0x169ff2),_0x33d566=_0x169ff2[_0x43bf76(0x2b7)]):(_0x33d566=_0x169ff2[_0x43bf76(0x2b7)],_0x3a0bda=_0x348753['mask']&&_0x348753['readOnly']&&!_0x4d47a8);let _0x177d84=_0x33d566;_0x33d566>=0x10000?(_0x24e7ac+=0x8,_0x177d84=0x7f):_0x33d566>0x7d&&(_0x24e7ac+=0x2,_0x177d84=0x7e);const _0x55d038=Buffer[_0x43bf76(0x1dc)](_0x3a0bda?_0x33d566+_0x24e7ac:_0x24e7ac);return _0x55d038[0x0]=_0x348753['fin']?_0x348753[_0x43bf76(0x174)]|0x80:_0x348753[_0x43bf76(0x174)],_0x348753[_0x43bf76(0x254)]&&(_0x55d038[0x0]|=0x40),_0x55d038[0x1]=_0x177d84,_0x177d84===0x7e?_0x55d038[_0x43bf76(0x2e8)](_0x33d566,0x2):_0x177d84===0x7f&&(_0x55d038[0x2]=_0x55d038[0x3]=0x0,_0x55d038[_0x43bf76(0x200)](_0x33d566,0x4,0x6)),_0x348753['mask']?(_0x55d038[0x1]|=0x80,_0x55d038[_0x24e7ac-0x4]=_0x32437c[0x0],_0x55d038[_0x24e7ac-0x3]=_0x32437c[0x1],_0x55d038[_0x24e7ac-0x2]=_0x32437c[0x2],_0x55d038[_0x24e7ac-0x1]=_0x32437c[0x3],_0x4d47a8?[_0x55d038,_0x169ff2]:_0x3a0bda?(_0x3c1a8f(_0x169ff2,_0x32437c,_0x55d038,_0x24e7ac,_0x33d566),[_0x55d038]):(_0x3c1a8f(_0x169ff2,_0x32437c,_0x169ff2,0x0,_0x33d566),[_0x55d038,_0x169ff2])):[_0x55d038,_0x169ff2];}[_0x2cf1ad(0x2e7)](_0x42334e,_0x13229f,_0x190770,_0x116fc5){const _0x134304=_0x2cf1ad;let _0x15d64c;if(_0x42334e===void 0x0)_0x15d64c=_0xee1990;else{if(typeof _0x42334e!=_0x134304(0x2ef)||!_0x365e5c(_0x42334e))throw new TypeError(_0x134304(0x212));if(_0x13229f===void 0x0||!_0x13229f[_0x134304(0x2b7)])_0x15d64c=Buffer[_0x134304(0x1dc)](0x2),_0x15d64c[_0x134304(0x2e8)](_0x42334e,0x0);else{const _0x330279=Buffer[_0x134304(0x253)](_0x13229f);if(_0x330279>0x7b)throw new RangeError(_0x134304(0x22b));_0x15d64c=Buffer[_0x134304(0x1dc)](0x2+_0x330279),_0x15d64c[_0x134304(0x2e8)](_0x42334e,0x0),typeof _0x13229f==_0x134304(0x175)?_0x15d64c['write'](_0x13229f,0x2):_0x15d64c[_0x134304(0x1a0)](_0x13229f,0x2);}}const _0x7330dc={[_0x507a92]:_0x15d64c['length'],'fin':!0x0,'generateMask':this[_0x134304(0x1bc)],'mask':_0x190770,'maskBuffer':this[_0x134304(0x218)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x134304(0x20f)]!==_0x30a2d8?this[_0x134304(0x20a)]([this[_0x134304(0x144)],_0x15d64c,!0x1,_0x7330dc,_0x116fc5]):this[_0x134304(0x17b)](_0x4f1719['frame'](_0x15d64c,_0x7330dc),_0x116fc5);}[_0x2cf1ad(0x2af)](_0x286e7c,_0x2b9ba5,_0x366748){const _0x3f9eb4=_0x2cf1ad;let _0x24e85c,_0x232c2d;if(typeof _0x286e7c=='string'?(_0x24e85c=Buffer['byteLength'](_0x286e7c),_0x232c2d=!0x1):_0x3140e5(_0x286e7c)?(_0x24e85c=_0x286e7c[_0x3f9eb4(0x280)],_0x232c2d=!0x1):(_0x286e7c=_0x258858(_0x286e7c),_0x24e85c=_0x286e7c[_0x3f9eb4(0x2b7)],_0x232c2d=_0x258858[_0x3f9eb4(0x2c1)]),_0x24e85c>0x7d)throw new RangeError(_0x3f9eb4(0x29e));const _0x3923bc={[_0x507a92]:_0x24e85c,'fin':!0x0,'generateMask':this[_0x3f9eb4(0x1bc)],'mask':_0x2b9ba5,'maskBuffer':this[_0x3f9eb4(0x218)],'opcode':0x9,'readOnly':_0x232c2d,'rsv1':!0x1};_0x3140e5(_0x286e7c)?this[_0x3f9eb4(0x20f)]!==_0x30a2d8?this[_0x3f9eb4(0x20a)]([this[_0x3f9eb4(0x250)],_0x286e7c,!0x1,_0x3923bc,_0x366748]):this[_0x3f9eb4(0x250)](_0x286e7c,!0x1,_0x3923bc,_0x366748):this[_0x3f9eb4(0x20f)]!==_0x30a2d8?this[_0x3f9eb4(0x20a)]([this[_0x3f9eb4(0x144)],_0x286e7c,!0x1,_0x3923bc,_0x366748]):this[_0x3f9eb4(0x17b)](_0x4f1719[_0x3f9eb4(0x272)](_0x286e7c,_0x3923bc),_0x366748);}[_0x2cf1ad(0x195)](_0x3e2b8a,_0x3ff831,_0x546a08){const _0x3e6fd0=_0x2cf1ad;let _0x333246,_0x3e47c4;if(typeof _0x3e2b8a==_0x3e6fd0(0x175)?(_0x333246=Buffer[_0x3e6fd0(0x253)](_0x3e2b8a),_0x3e47c4=!0x1):_0x3140e5(_0x3e2b8a)?(_0x333246=_0x3e2b8a[_0x3e6fd0(0x280)],_0x3e47c4=!0x1):(_0x3e2b8a=_0x258858(_0x3e2b8a),_0x333246=_0x3e2b8a[_0x3e6fd0(0x2b7)],_0x3e47c4=_0x258858['readOnly']),_0x333246>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x1a6969={[_0x507a92]:_0x333246,'fin':!0x0,'generateMask':this[_0x3e6fd0(0x1bc)],'mask':_0x3ff831,'maskBuffer':this[_0x3e6fd0(0x218)],'opcode':0xa,'readOnly':_0x3e47c4,'rsv1':!0x1};_0x3140e5(_0x3e2b8a)?this[_0x3e6fd0(0x20f)]!==_0x30a2d8?this[_0x3e6fd0(0x20a)]([this[_0x3e6fd0(0x250)],_0x3e2b8a,!0x1,_0x1a6969,_0x546a08]):this[_0x3e6fd0(0x250)](_0x3e2b8a,!0x1,_0x1a6969,_0x546a08):this[_0x3e6fd0(0x20f)]!==_0x30a2d8?this[_0x3e6fd0(0x20a)]([this[_0x3e6fd0(0x144)],_0x3e2b8a,!0x1,_0x1a6969,_0x546a08]):this[_0x3e6fd0(0x17b)](_0x4f1719[_0x3e6fd0(0x272)](_0x3e2b8a,_0x1a6969),_0x546a08);}[_0x2cf1ad(0x2da)](_0x322bbb,_0x1698c8,_0x5ca470){const _0x32663a=_0x2cf1ad,_0x259fa9=this[_0x32663a(0x2f8)][_0x15eeb2[_0x32663a(0x1d0)]];let _0x26c6f6=_0x1698c8[_0x32663a(0x153)]?0x2:0x1,_0x4c8aab=_0x1698c8[_0x32663a(0x1f8)],_0x4c419b,_0x4abd8d;typeof _0x322bbb==_0x32663a(0x175)?(_0x4c419b=Buffer['byteLength'](_0x322bbb),_0x4abd8d=!0x1):_0x3140e5(_0x322bbb)?(_0x4c419b=_0x322bbb[_0x32663a(0x280)],_0x4abd8d=!0x1):(_0x322bbb=_0x258858(_0x322bbb),_0x4c419b=_0x322bbb[_0x32663a(0x2b7)],_0x4abd8d=_0x258858['readOnly']),this[_0x32663a(0x219)]?(this[_0x32663a(0x219)]=!0x1,_0x4c8aab&&_0x259fa9&&_0x259fa9[_0x32663a(0x30e)][_0x259fa9[_0x32663a(0x30d)]?_0x32663a(0x2e5):_0x32663a(0x209)]&&(_0x4c8aab=_0x4c419b>=_0x259fa9[_0x32663a(0x237)]),this[_0x32663a(0x1f4)]=_0x4c8aab):(_0x4c8aab=!0x1,_0x26c6f6=0x0),_0x1698c8[_0x32663a(0x204)]&&(this['_firstFragment']=!0x0);const _0x5ccabf={[_0x507a92]:_0x4c419b,'fin':_0x1698c8[_0x32663a(0x204)],'generateMask':this[_0x32663a(0x1bc)],'mask':_0x1698c8[_0x32663a(0x1ee)],'maskBuffer':this[_0x32663a(0x218)],'opcode':_0x26c6f6,'readOnly':_0x4abd8d,'rsv1':_0x4c8aab};_0x3140e5(_0x322bbb)?this['_state']!==_0x30a2d8?this[_0x32663a(0x20a)]([this['getBlobData'],_0x322bbb,this[_0x32663a(0x1f4)],_0x5ccabf,_0x5ca470]):this['getBlobData'](_0x322bbb,this[_0x32663a(0x1f4)],_0x5ccabf,_0x5ca470):this[_0x32663a(0x20f)]!==_0x30a2d8?this[_0x32663a(0x20a)]([this[_0x32663a(0x144)],_0x322bbb,this[_0x32663a(0x1f4)],_0x5ccabf,_0x5ca470]):this[_0x32663a(0x144)](_0x322bbb,this[_0x32663a(0x1f4)],_0x5ccabf,_0x5ca470);}[_0x2cf1ad(0x250)](_0x196a93,_0x2b06c3,_0x53f448,_0x441705){const _0x574b37=_0x2cf1ad;this[_0x574b37(0x182)]+=_0x53f448[_0x507a92],this['_state']=_0x341e7d,_0x196a93[_0x574b37(0x249)]()[_0x574b37(0x16c)](_0x3727e4=>{const _0x244fbd=_0x574b37;if(this[_0x244fbd(0x1e7)][_0x244fbd(0x2fe)]){const _0x3cbc62=new Error(_0x244fbd(0x1d8));process[_0x244fbd(0x21b)](_0x467bf5,this,_0x3cbc62,_0x441705);return;}this[_0x244fbd(0x182)]-=_0x53f448[_0x507a92];const _0x2af0de=_0x258858(_0x3727e4);_0x2b06c3?this[_0x244fbd(0x144)](_0x2af0de,_0x2b06c3,_0x53f448,_0x441705):(this[_0x244fbd(0x20f)]=_0x30a2d8,this['sendFrame'](_0x4f1719[_0x244fbd(0x272)](_0x2af0de,_0x53f448),_0x441705),this[_0x244fbd(0x2f9)]());})[_0x574b37(0x2ed)](_0x3a9ecd=>{const _0x11e77c=_0x574b37;process[_0x11e77c(0x21b)](_0x307f76,this,_0x3a9ecd,_0x441705);});}[_0x2cf1ad(0x144)](_0x43551b,_0x4a3c85,_0x5083a2,_0x28ed12){const _0x3551eb=_0x2cf1ad;if(!_0x4a3c85){this[_0x3551eb(0x17b)](_0x4f1719[_0x3551eb(0x272)](_0x43551b,_0x5083a2),_0x28ed12);return;}const _0xb9ec6d=this[_0x3551eb(0x2f8)][_0x15eeb2['extensionName']];this[_0x3551eb(0x182)]+=_0x5083a2[_0x507a92],this[_0x3551eb(0x20f)]=_0x1de6b7,_0xb9ec6d[_0x3551eb(0x1f8)](_0x43551b,_0x5083a2[_0x3551eb(0x204)],(_0x57c095,_0x3bc644)=>{const _0x2e433b=_0x3551eb;if(this['_socket'][_0x2e433b(0x2fe)]){const _0x1a1085=new Error(_0x2e433b(0x24c));_0x467bf5(this,_0x1a1085,_0x28ed12);return;}this['_bufferedBytes']-=_0x5083a2[_0x507a92],this[_0x2e433b(0x20f)]=_0x30a2d8,_0x5083a2[_0x2e433b(0x2c1)]=!0x1,this[_0x2e433b(0x17b)](_0x4f1719[_0x2e433b(0x272)](_0x3bc644,_0x5083a2),_0x28ed12),this[_0x2e433b(0x2f9)]();});}[_0x2cf1ad(0x2f9)](){const _0x25f18e=_0x2cf1ad;for(;this[_0x25f18e(0x20f)]===_0x30a2d8&&this[_0x25f18e(0x192)][_0x25f18e(0x2b7)];){const _0x40316b=this['_queue'][_0x25f18e(0x230)]();this[_0x25f18e(0x182)]-=_0x40316b[0x3][_0x507a92],Reflect[_0x25f18e(0x152)](_0x40316b[0x0],this,_0x40316b['slice'](0x1));}}['enqueue'](_0x2eea8c){const _0x4ffd19=_0x2cf1ad;this['_bufferedBytes']+=_0x2eea8c[0x3][_0x507a92],this[_0x4ffd19(0x192)][_0x4ffd19(0x270)](_0x2eea8c);}[_0x2cf1ad(0x17b)](_0x2e4577,_0x3577f1){const _0xdc1ce2=_0x2cf1ad;_0x2e4577[_0xdc1ce2(0x2b7)]===0x2?(this[_0xdc1ce2(0x1e7)][_0xdc1ce2(0x149)](),this[_0xdc1ce2(0x1e7)][_0xdc1ce2(0x14c)](_0x2e4577[0x0]),this[_0xdc1ce2(0x1e7)][_0xdc1ce2(0x14c)](_0x2e4577[0x1],_0x3577f1),this[_0xdc1ce2(0x1e7)]['uncork']()):this['_socket'][_0xdc1ce2(0x14c)](_0x2e4577[0x0],_0x3577f1);}}Ee=_0x4f1719;function _0x467bf5(_0x5a8345,_0x4a584a,_0x5bf6ea){const _0x32d271=_0x2cf1ad;typeof _0x5bf6ea==_0x32d271(0x1c2)&&_0x5bf6ea(_0x4a584a);for(let _0x2a61d1=0x0;_0x2a61d1<_0x5a8345[_0x32d271(0x192)][_0x32d271(0x2b7)];_0x2a61d1++){const _0x293db6=_0x5a8345[_0x32d271(0x192)][_0x2a61d1],_0x44c3b1=_0x293db6[_0x293db6['length']-0x1];typeof _0x44c3b1=='function'&&_0x44c3b1(_0x4a584a);}}function _0x307f76(_0x31e7e0,_0x49f327,_0x4054ea){_0x467bf5(_0x31e7e0,_0x49f327,_0x4054ea),_0x31e7e0['onerror'](_0x49f327);}return Ee;}var xe,Ze;function It(){const _0x190a36=_0x138cba;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x162721,kListener:_0x44eb64}=H(),_0x442e8a=Symbol('kCode'),_0x28b1a2=Symbol('kData'),_0x2b610c=Symbol(_0x190a36(0x1d4)),_0x25425d=Symbol('kMessage'),_0x4890a2=Symbol(_0x190a36(0x2ea)),_0x3018f0=Symbol(_0x190a36(0x1ea)),_0x270e17=Symbol(_0x190a36(0x1c0)),_0x443c8e=Symbol('kWasClean');class _0x54ebfa{constructor(_0x4ee407){this[_0x3018f0]=null,this[_0x270e17]=_0x4ee407;}get['target'](){return this[_0x3018f0];}get[_0x190a36(0x171)](){return this[_0x270e17];}}Object[_0x190a36(0x2e9)](_0x54ebfa[_0x190a36(0x221)],_0x190a36(0x1f3),{'enumerable':!0x0}),Object[_0x190a36(0x2e9)](_0x54ebfa[_0x190a36(0x221)],_0x190a36(0x171),{'enumerable':!0x0});class _0x35196e extends _0x54ebfa{constructor(_0x50d85f,_0x4c9ac0={}){const _0xc59cb1=_0x190a36;super(_0x50d85f),this[_0x442e8a]=_0x4c9ac0[_0xc59cb1(0x26e)]===void 0x0?0x0:_0x4c9ac0[_0xc59cb1(0x26e)],this[_0x4890a2]=_0x4c9ac0[_0xc59cb1(0x1d5)]===void 0x0?'':_0x4c9ac0['reason'],this[_0x443c8e]=_0x4c9ac0['wasClean']===void 0x0?!0x1:_0x4c9ac0[_0xc59cb1(0x2df)];}get[_0x190a36(0x26e)](){return this[_0x442e8a];}get['reason'](){return this[_0x4890a2];}get['wasClean'](){return this[_0x443c8e];}}Object[_0x190a36(0x2e9)](_0x35196e[_0x190a36(0x221)],_0x190a36(0x26e),{'enumerable':!0x0}),Object[_0x190a36(0x2e9)](_0x35196e[_0x190a36(0x221)],_0x190a36(0x1d5),{'enumerable':!0x0}),Object[_0x190a36(0x2e9)](_0x35196e[_0x190a36(0x221)],'wasClean',{'enumerable':!0x0});class _0x27c0ad extends _0x54ebfa{constructor(_0x28a28d,_0x25a161={}){const _0x47f012=_0x190a36;super(_0x28a28d),this[_0x2b610c]=_0x25a161[_0x47f012(0x178)]===void 0x0?null:_0x25a161[_0x47f012(0x178)],this[_0x25425d]=_0x25a161['message']===void 0x0?'':_0x25a161[_0x47f012(0x191)];}get[_0x190a36(0x178)](){return this[_0x2b610c];}get[_0x190a36(0x191)](){return this[_0x25425d];}}Object[_0x190a36(0x2e9)](_0x27c0ad[_0x190a36(0x221)],'error',{'enumerable':!0x0}),Object['defineProperty'](_0x27c0ad['prototype'],'message',{'enumerable':!0x0});class _0xe9c99c extends _0x54ebfa{constructor(_0x24f9d7,_0x110a21={}){const _0x18f4b4=_0x190a36;super(_0x24f9d7),this[_0x28b1a2]=_0x110a21[_0x18f4b4(0x18c)]===void 0x0?null:_0x110a21[_0x18f4b4(0x18c)];}get[_0x190a36(0x18c)](){return this[_0x28b1a2];}}Object[_0x190a36(0x2e9)](_0xe9c99c[_0x190a36(0x221)],_0x190a36(0x18c),{'enumerable':!0x0}),xe={'CloseEvent':_0x35196e,'ErrorEvent':_0x27c0ad,'Event':_0x54ebfa,'EventTarget':{'addEventListener'(_0x2d59c7,_0x2e9df0,_0x318723={}){const _0x1f8aef=_0x190a36;for(const _0x1e90b4 of this[_0x1f8aef(0x2bf)](_0x2d59c7))if(!_0x318723[_0x162721]&&_0x1e90b4[_0x44eb64]===_0x2e9df0&&!_0x1e90b4[_0x162721])return;let _0x2509b5;if(_0x2d59c7===_0x1f8aef(0x191))_0x2509b5=function(_0x1b638d,_0x458ef4){const _0x42b9c1=_0x1f8aef,_0x23bfc2=new _0xe9c99c(_0x42b9c1(0x191),{'data':_0x458ef4?_0x1b638d:_0x1b638d[_0x42b9c1(0x2cd)]()});_0x23bfc2[_0x3018f0]=this,_0xa0f25a(_0x2e9df0,this,_0x23bfc2);};else{if(_0x2d59c7===_0x1f8aef(0x2e7))_0x2509b5=function(_0x51e561,_0xc048e4){const _0x319387=_0x1f8aef,_0x2165a8=new _0x35196e(_0x319387(0x2e7),{'code':_0x51e561,'reason':_0xc048e4['toString'](),'wasClean':this[_0x319387(0x282)]&&this[_0x319387(0x24f)]});_0x2165a8[_0x3018f0]=this,_0xa0f25a(_0x2e9df0,this,_0x2165a8);};else{if(_0x2d59c7===_0x1f8aef(0x178))_0x2509b5=function(_0x3b896d){const _0x488210=_0x1f8aef,_0x4d2282=new _0x27c0ad(_0x488210(0x178),{'error':_0x3b896d,'message':_0x3b896d[_0x488210(0x191)]});_0x4d2282[_0x3018f0]=this,_0xa0f25a(_0x2e9df0,this,_0x4d2282);};else{if(_0x2d59c7===_0x1f8aef(0x2fb))_0x2509b5=function(){const _0x57de5a=new _0x54ebfa('open');_0x57de5a[_0x3018f0]=this,_0xa0f25a(_0x2e9df0,this,_0x57de5a);};else return;}}}_0x2509b5[_0x162721]=!!_0x318723[_0x162721],_0x2509b5[_0x44eb64]=_0x2e9df0,_0x318723[_0x1f8aef(0x306)]?this[_0x1f8aef(0x306)](_0x2d59c7,_0x2509b5):this['on'](_0x2d59c7,_0x2509b5);},'removeEventListener'(_0x19e254,_0x16c539){const _0x19f12b=_0x190a36;for(const _0x30913d of this[_0x19f12b(0x2bf)](_0x19e254))if(_0x30913d[_0x44eb64]===_0x16c539&&!_0x30913d[_0x162721]){this[_0x19f12b(0x29c)](_0x19e254,_0x30913d);break;}}},'MessageEvent':_0xe9c99c};function _0xa0f25a(_0x5e5704,_0x22326a,_0x994994){const _0x5a028d=_0x190a36;typeof _0x5e5704==_0x5a028d(0x301)&&_0x5e5704['handleEvent']?_0x5e5704[_0x5a028d(0x23f)][_0x5a028d(0x2d0)](_0x5e5704,_0x994994):_0x5e5704[_0x5a028d(0x2d0)](_0x22326a,_0x994994);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x5233f7}=ae();function _0x4c5ff5(_0x364498,_0x2e4be1,_0x55618e){const _0x3bba67=_0x334a;_0x364498[_0x2e4be1]===void 0x0?_0x364498[_0x2e4be1]=[_0x55618e]:_0x364498[_0x2e4be1][_0x3bba67(0x270)](_0x55618e);}function _0x53fe16(_0x316dd9){const _0x203cb8=_0x334a,_0x1555f0=Object[_0x203cb8(0x251)](null);let _0x42f663=Object[_0x203cb8(0x251)](null),_0x4ca372=!0x1,_0x16a955=!0x1,_0x3bdeea=!0x1,_0x552bfe,_0x1c687d,_0x59cc8f=-0x1,_0x165233=-0x1,_0x27e638=-0x1,_0x3e52ae=0x0;for(;_0x3e52ae<_0x316dd9[_0x203cb8(0x2b7)];_0x3e52ae++)if(_0x165233=_0x316dd9[_0x203cb8(0x243)](_0x3e52ae),_0x552bfe===void 0x0){if(_0x27e638===-0x1&&_0x5233f7[_0x165233]===0x1)_0x59cc8f===-0x1&&(_0x59cc8f=_0x3e52ae);else{if(_0x3e52ae!==0x0&&(_0x165233===0x20||_0x165233===0x9))_0x27e638===-0x1&&_0x59cc8f!==-0x1&&(_0x27e638=_0x3e52ae);else{if(_0x165233===0x3b||_0x165233===0x2c){if(_0x59cc8f===-0x1)throw new SyntaxError(_0x203cb8(0x1eb)+_0x3e52ae);_0x27e638===-0x1&&(_0x27e638=_0x3e52ae);const _0x2bac09=_0x316dd9[_0x203cb8(0x29d)](_0x59cc8f,_0x27e638);_0x165233===0x2c?(_0x4c5ff5(_0x1555f0,_0x2bac09,_0x42f663),_0x42f663=Object[_0x203cb8(0x251)](null)):_0x552bfe=_0x2bac09,_0x59cc8f=_0x27e638=-0x1;}else throw new SyntaxError(_0x203cb8(0x1eb)+_0x3e52ae);}}}else{if(_0x1c687d===void 0x0){if(_0x27e638===-0x1&&_0x5233f7[_0x165233]===0x1)_0x59cc8f===-0x1&&(_0x59cc8f=_0x3e52ae);else{if(_0x165233===0x20||_0x165233===0x9)_0x27e638===-0x1&&_0x59cc8f!==-0x1&&(_0x27e638=_0x3e52ae);else{if(_0x165233===0x3b||_0x165233===0x2c){if(_0x59cc8f===-0x1)throw new SyntaxError(_0x203cb8(0x1eb)+_0x3e52ae);_0x27e638===-0x1&&(_0x27e638=_0x3e52ae),_0x4c5ff5(_0x42f663,_0x316dd9[_0x203cb8(0x29d)](_0x59cc8f,_0x27e638),!0x0),_0x165233===0x2c&&(_0x4c5ff5(_0x1555f0,_0x552bfe,_0x42f663),_0x42f663=Object['create'](null),_0x552bfe=void 0x0),_0x59cc8f=_0x27e638=-0x1;}else{if(_0x165233===0x3d&&_0x59cc8f!==-0x1&&_0x27e638===-0x1)_0x1c687d=_0x316dd9[_0x203cb8(0x29d)](_0x59cc8f,_0x3e52ae),_0x59cc8f=_0x27e638=-0x1;else throw new SyntaxError(_0x203cb8(0x1eb)+_0x3e52ae);}}}}else{if(_0x16a955){if(_0x5233f7[_0x165233]!==0x1)throw new SyntaxError(_0x203cb8(0x1eb)+_0x3e52ae);_0x59cc8f===-0x1?_0x59cc8f=_0x3e52ae:_0x4ca372||(_0x4ca372=!0x0),_0x16a955=!0x1;}else{if(_0x3bdeea){if(_0x5233f7[_0x165233]===0x1)_0x59cc8f===-0x1&&(_0x59cc8f=_0x3e52ae);else{if(_0x165233===0x22&&_0x59cc8f!==-0x1)_0x3bdeea=!0x1,_0x27e638=_0x3e52ae;else{if(_0x165233===0x5c)_0x16a955=!0x0;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x3e52ae);}}}else{if(_0x165233===0x22&&_0x316dd9[_0x203cb8(0x243)](_0x3e52ae-0x1)===0x3d)_0x3bdeea=!0x0;else{if(_0x27e638===-0x1&&_0x5233f7[_0x165233]===0x1)_0x59cc8f===-0x1&&(_0x59cc8f=_0x3e52ae);else{if(_0x59cc8f!==-0x1&&(_0x165233===0x20||_0x165233===0x9))_0x27e638===-0x1&&(_0x27e638=_0x3e52ae);else{if(_0x165233===0x3b||_0x165233===0x2c){if(_0x59cc8f===-0x1)throw new SyntaxError(_0x203cb8(0x1eb)+_0x3e52ae);_0x27e638===-0x1&&(_0x27e638=_0x3e52ae);let _0x4f9c1b=_0x316dd9[_0x203cb8(0x29d)](_0x59cc8f,_0x27e638);_0x4ca372&&(_0x4f9c1b=_0x4f9c1b[_0x203cb8(0x1db)](/\\/g,''),_0x4ca372=!0x1),_0x4c5ff5(_0x42f663,_0x1c687d,_0x4f9c1b),_0x165233===0x2c&&(_0x4c5ff5(_0x1555f0,_0x552bfe,_0x42f663),_0x42f663=Object[_0x203cb8(0x251)](null),_0x552bfe=void 0x0),_0x1c687d=void 0x0,_0x59cc8f=_0x27e638=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x3e52ae);}}}}}}}if(_0x59cc8f===-0x1||_0x3bdeea||_0x165233===0x20||_0x165233===0x9)throw new SyntaxError(_0x203cb8(0x268));_0x27e638===-0x1&&(_0x27e638=_0x3e52ae);const _0x50a8bd=_0x316dd9[_0x203cb8(0x29d)](_0x59cc8f,_0x27e638);return _0x552bfe===void 0x0?_0x4c5ff5(_0x1555f0,_0x50a8bd,_0x42f663):(_0x1c687d===void 0x0?_0x4c5ff5(_0x42f663,_0x50a8bd,!0x0):_0x4ca372?_0x4c5ff5(_0x42f663,_0x1c687d,_0x50a8bd[_0x203cb8(0x1db)](/\\/g,'')):_0x4c5ff5(_0x42f663,_0x1c687d,_0x50a8bd),_0x4c5ff5(_0x1555f0,_0x552bfe,_0x42f663)),_0x1555f0;}function _0x29800c(_0x9e7edf){const _0x4c9c97=_0x334a;return Object[_0x4c9c97(0x1a7)](_0x9e7edf)['map'](_0x4e36e5=>{const _0x18e4a3=_0x4c9c97;let _0x5244fb=_0x9e7edf[_0x4e36e5];return Array['isArray'](_0x5244fb)||(_0x5244fb=[_0x5244fb]),_0x5244fb[_0x18e4a3(0x155)](_0xed3227=>[_0x4e36e5][_0x18e4a3(0x17a)](Object[_0x18e4a3(0x1a7)](_0xed3227)['map'](_0xf5901=>{const _0x7ac22a=_0x18e4a3;let _0xdf2363=_0xed3227[_0xf5901];return Array['isArray'](_0xdf2363)||(_0xdf2363=[_0xdf2363]),_0xdf2363[_0x7ac22a(0x155)](_0x3ac1a5=>_0x3ac1a5===!0x0?_0xf5901:_0xf5901+'='+_0x3ac1a5)[_0x7ac22a(0x1d2)](';\x20');}))[_0x18e4a3(0x1d2)](';\x20'))[_0x18e4a3(0x1d2)](',\x20');})[_0x4c9c97(0x1d2)](',\x20');}return be={'format':_0x29800c,'parse':_0x53fe16},be;}var we,Je;function Pe(){const _0x5805f0=_0x138cba;if(Je)return we;Je=0x1;const _0x5b4a31=nt,_0x1ecd14=vt,_0x48e56e=ot,_0x1effc7=St,_0xd7d402=Et,{randomBytes:_0x777a4f,createHash:_0x27e7a5}=Le,{Duplex:_0x2056ec,Readable:_0x58ef4f}=oe,{URL:_0x28b84b}=xt,_0x59f092=he(),_0x1b722e=lt(),_0x202ea7=ft(),{isBlob:_0x205f02}=ae(),{BINARY_TYPES:_0x4d85d4,EMPTY_BUFFER:_0x406c96,GUID:_0x1b0cc8,kForOnEventAttribute:_0x3d140a,kListener:_0x2ed6ac,kStatusCode:_0x1bbe1c,kWebSocket:_0x2730a1,NOOP:_0xf51de9}=H(),{EventTarget:{addEventListener:_0x3b06cd,removeEventListener:_0x38c341}}=It(),{format:_0x3e587f,parse:_0x2076c2}=ct(),{toBuffer:_0x57a736}=ce(),_0x49d9c4=0x1e*0x3e8,_0x432178=Symbol(_0x5805f0(0x278)),_0x1260f4=[0x8,0xd],_0x4b3a03=[_0x5805f0(0x1ed),'OPEN','CLOSING',_0x5805f0(0x281)],_0x459142=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x44d104 extends _0x5b4a31{constructor(_0x4facc7,_0x4d907f,_0xb2a5b9){const _0x513a7d=_0x5805f0;super(),this[_0x513a7d(0x2b2)]=_0x4d85d4[0x0],this[_0x513a7d(0x30b)]=0x3ee,this['_closeFrameReceived']=!0x1,this[_0x513a7d(0x24f)]=!0x1,this[_0x513a7d(0x1b8)]=_0x406c96,this[_0x513a7d(0x288)]=null,this['_errorEmitted']=!0x1,this[_0x513a7d(0x2f8)]={},this[_0x513a7d(0x2eb)]=!0x1,this[_0x513a7d(0x1e6)]='',this[_0x513a7d(0x2d2)]=_0x44d104[_0x513a7d(0x1ed)],this[_0x513a7d(0x148)]=null,this[_0x513a7d(0x1e4)]=null,this[_0x513a7d(0x1e7)]=null,_0x4facc7!==null?(this[_0x513a7d(0x151)]=0x0,this[_0x513a7d(0x30d)]=!0x1,this[_0x513a7d(0x21e)]=0x0,_0x4d907f===void 0x0?_0x4d907f=[]:Array[_0x513a7d(0x1b4)](_0x4d907f)||(typeof _0x4d907f==_0x513a7d(0x301)&&_0x4d907f!==null?(_0xb2a5b9=_0x4d907f,_0x4d907f=[]):_0x4d907f=[_0x4d907f]),_0x4f9e7d(this,_0x4facc7,_0x4d907f,_0xb2a5b9)):(this[_0x513a7d(0x189)]=_0xb2a5b9[_0x513a7d(0x289)],this[_0x513a7d(0x30d)]=!0x0);}get[_0x5805f0(0x27a)](){const _0x2ec543=_0x5805f0;return this[_0x2ec543(0x2b2)];}set[_0x5805f0(0x27a)](_0x3c0956){const _0x52e4b8=_0x5805f0;_0x4d85d4[_0x52e4b8(0x145)](_0x3c0956)&&(this[_0x52e4b8(0x2b2)]=_0x3c0956,this['_receiver']&&(this[_0x52e4b8(0x148)][_0x52e4b8(0x2b2)]=_0x3c0956));}get['bufferedAmount'](){const _0x235546=_0x5805f0;return this[_0x235546(0x1e7)]?this[_0x235546(0x1e7)]['_writableState'][_0x235546(0x2b7)]+this[_0x235546(0x1e4)][_0x235546(0x182)]:this['_bufferedAmount'];}get[_0x5805f0(0x157)](){const _0x3243b9=_0x5805f0;return Object[_0x3243b9(0x1a7)](this[_0x3243b9(0x2f8)])[_0x3243b9(0x1d2)]();}get[_0x5805f0(0x169)](){const _0x3f39c2=_0x5805f0;return this[_0x3f39c2(0x2eb)];}get['onclose'](){return null;}get[_0x5805f0(0x2e0)](){return null;}get['onopen'](){return null;}get[_0x5805f0(0x2f5)](){return null;}get[_0x5805f0(0x15c)](){const _0x152f0c=_0x5805f0;return this[_0x152f0c(0x1e6)];}get['readyState'](){return this['_readyState'];}get[_0x5805f0(0x1e2)](){const _0x53112b=_0x5805f0;return this[_0x53112b(0x2ab)];}[_0x5805f0(0x1a1)](_0x54876d,_0xd991a4,_0x1315a4){const _0x45b370=_0x5805f0,_0x5a40de=new _0x1b722e({'allowSynchronousEvents':_0x1315a4[_0x45b370(0x16d)],'binaryType':this['binaryType'],'extensions':this[_0x45b370(0x2f8)],'isServer':this[_0x45b370(0x30d)],'maxPayload':_0x1315a4[_0x45b370(0x217)],'skipUTF8Validation':_0x1315a4[_0x45b370(0x275)]}),_0x441401=new _0x202ea7(_0x54876d,this[_0x45b370(0x2f8)],_0x1315a4[_0x45b370(0x1b2)]);this[_0x45b370(0x148)]=_0x5a40de,this['_sender']=_0x441401,this[_0x45b370(0x1e7)]=_0x54876d,_0x5a40de[_0x2730a1]=this,_0x441401[_0x2730a1]=this,_0x54876d[_0x2730a1]=this,_0x5a40de['on'](_0x45b370(0x1d3),_0x39bcf5),_0x5a40de['on'](_0x45b370(0x2a8),_0x819b56),_0x5a40de['on'](_0x45b370(0x178),_0x877375),_0x5a40de['on'](_0x45b370(0x191),_0x51c1bc),_0x5a40de['on'](_0x45b370(0x2af),_0x52623e),_0x5a40de['on']('pong',_0x171573),_0x441401[_0x45b370(0x2e0)]=_0x1d8a0e,_0x54876d['setTimeout']&&_0x54876d[_0x45b370(0x15e)](0x0),_0x54876d[_0x45b370(0x1c1)]&&_0x54876d[_0x45b370(0x1c1)](),_0xd991a4[_0x45b370(0x2b7)]>0x0&&_0x54876d[_0x45b370(0x2d4)](_0xd991a4),_0x54876d['on'](_0x45b370(0x2e7),_0x41e588),_0x54876d['on'](_0x45b370(0x18c),_0x295b81),_0x54876d['on'](_0x45b370(0x180),_0x495d6e),_0x54876d['on'](_0x45b370(0x178),_0x39e710),this[_0x45b370(0x2d2)]=_0x44d104[_0x45b370(0x245)],this[_0x45b370(0x15a)]('open');}[_0x5805f0(0x177)](){const _0x33a07d=_0x5805f0;if(!this[_0x33a07d(0x1e7)]){this[_0x33a07d(0x2d2)]=_0x44d104['CLOSED'],this[_0x33a07d(0x15a)](_0x33a07d(0x2e7),this[_0x33a07d(0x30b)],this[_0x33a07d(0x1b8)]);return;}this[_0x33a07d(0x2f8)][_0x59f092[_0x33a07d(0x1d0)]]&&this[_0x33a07d(0x2f8)][_0x59f092[_0x33a07d(0x1d0)]][_0x33a07d(0x2f4)](),this[_0x33a07d(0x148)][_0x33a07d(0x2a0)](),this['_readyState']=_0x44d104[_0x33a07d(0x281)],this[_0x33a07d(0x15a)](_0x33a07d(0x2e7),this[_0x33a07d(0x30b)],this['_closeMessage']);}['close'](_0x3b28c9,_0x3925c4){const _0x595d5c=_0x5805f0;if(this['readyState']!==_0x44d104[_0x595d5c(0x281)]){if(this[_0x595d5c(0x2cb)]===_0x44d104[_0x595d5c(0x1ed)]){_0x5b71b1(this,this[_0x595d5c(0x28e)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}if(this[_0x595d5c(0x2cb)]===_0x44d104['CLOSING']){this[_0x595d5c(0x24f)]&&(this[_0x595d5c(0x282)]||this[_0x595d5c(0x148)][_0x595d5c(0x220)][_0x595d5c(0x1c3)])&&this[_0x595d5c(0x1e7)][_0x595d5c(0x180)]();return;}this['_readyState']=_0x44d104[_0x595d5c(0x214)],this[_0x595d5c(0x1e4)]['close'](_0x3b28c9,_0x3925c4,!this['_isServer'],_0x5e273a=>{const _0x395ea9=_0x595d5c;_0x5e273a||(this[_0x395ea9(0x24f)]=!0x0,(this['_closeFrameReceived']||this[_0x395ea9(0x148)][_0x395ea9(0x220)][_0x395ea9(0x1c3)])&&this[_0x395ea9(0x1e7)][_0x395ea9(0x180)]());}),_0x235eed(this);}}['pause'](){const _0x4fe172=_0x5805f0;this[_0x4fe172(0x2cb)]===_0x44d104[_0x4fe172(0x1ed)]||this[_0x4fe172(0x2cb)]===_0x44d104[_0x4fe172(0x281)]||(this['_paused']=!0x0,this[_0x4fe172(0x1e7)][_0x4fe172(0x2a5)]());}[_0x5805f0(0x2af)](_0x4e0a2d,_0x2c66b5,_0x3300c0){const _0x6d734a=_0x5805f0;if(this[_0x6d734a(0x2cb)]===_0x44d104[_0x6d734a(0x1ed)])throw new Error(_0x6d734a(0x19c));if(typeof _0x4e0a2d=='function'?(_0x3300c0=_0x4e0a2d,_0x4e0a2d=_0x2c66b5=void 0x0):typeof _0x2c66b5==_0x6d734a(0x1c2)&&(_0x3300c0=_0x2c66b5,_0x2c66b5=void 0x0),typeof _0x4e0a2d=='number'&&(_0x4e0a2d=_0x4e0a2d[_0x6d734a(0x2cd)]()),this['readyState']!==_0x44d104[_0x6d734a(0x245)]){_0x36ee8e(this,_0x4e0a2d,_0x3300c0);return;}_0x2c66b5===void 0x0&&(_0x2c66b5=!this['_isServer']),this[_0x6d734a(0x1e4)]['ping'](_0x4e0a2d||_0x406c96,_0x2c66b5,_0x3300c0);}[_0x5805f0(0x195)](_0xe76b9f,_0x183782,_0x120123){const _0x24741e=_0x5805f0;if(this[_0x24741e(0x2cb)]===_0x44d104['CONNECTING'])throw new Error(_0x24741e(0x19c));if(typeof _0xe76b9f==_0x24741e(0x1c2)?(_0x120123=_0xe76b9f,_0xe76b9f=_0x183782=void 0x0):typeof _0x183782==_0x24741e(0x1c2)&&(_0x120123=_0x183782,_0x183782=void 0x0),typeof _0xe76b9f==_0x24741e(0x2ef)&&(_0xe76b9f=_0xe76b9f[_0x24741e(0x2cd)]()),this['readyState']!==_0x44d104[_0x24741e(0x245)]){_0x36ee8e(this,_0xe76b9f,_0x120123);return;}_0x183782===void 0x0&&(_0x183782=!this[_0x24741e(0x30d)]),this[_0x24741e(0x1e4)][_0x24741e(0x195)](_0xe76b9f||_0x406c96,_0x183782,_0x120123);}['resume'](){const _0x3ba219=_0x5805f0;this[_0x3ba219(0x2cb)]===_0x44d104[_0x3ba219(0x1ed)]||this[_0x3ba219(0x2cb)]===_0x44d104[_0x3ba219(0x281)]||(this[_0x3ba219(0x2eb)]=!0x1,this[_0x3ba219(0x148)][_0x3ba219(0x220)][_0x3ba219(0x248)]||this[_0x3ba219(0x1e7)][_0x3ba219(0x273)]());}[_0x5805f0(0x2da)](_0x2622a4,_0x4fe9ba,_0x22a698){const _0x4d83b0=_0x5805f0;if(this[_0x4d83b0(0x2cb)]===_0x44d104[_0x4d83b0(0x1ed)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x4fe9ba==_0x4d83b0(0x1c2)&&(_0x22a698=_0x4fe9ba,_0x4fe9ba={}),typeof _0x2622a4==_0x4d83b0(0x2ef)&&(_0x2622a4=_0x2622a4['toString']()),this['readyState']!==_0x44d104['OPEN']){_0x36ee8e(this,_0x2622a4,_0x22a698);return;}const _0x19ee45={'binary':typeof _0x2622a4!=_0x4d83b0(0x175),'mask':!this[_0x4d83b0(0x30d)],'compress':!0x0,'fin':!0x0,..._0x4fe9ba};this[_0x4d83b0(0x2f8)][_0x59f092[_0x4d83b0(0x1d0)]]||(_0x19ee45[_0x4d83b0(0x1f8)]=!0x1),this['_sender'][_0x4d83b0(0x2da)](_0x2622a4||_0x406c96,_0x19ee45,_0x22a698);}[_0x5805f0(0x2c7)](){const _0x54e1ea=_0x5805f0;if(this[_0x54e1ea(0x2cb)]!==_0x44d104[_0x54e1ea(0x281)]){if(this['readyState']===_0x44d104[_0x54e1ea(0x1ed)]){_0x5b71b1(this,this['_req'],_0x54e1ea(0x20e));return;}this['_socket']&&(this[_0x54e1ea(0x2d2)]=_0x44d104[_0x54e1ea(0x214)],this[_0x54e1ea(0x1e7)][_0x54e1ea(0x25e)]());}}}Object['defineProperty'](_0x44d104,'CONNECTING',{'enumerable':!0x0,'value':_0x4b3a03['indexOf'](_0x5805f0(0x1ed))}),Object[_0x5805f0(0x2e9)](_0x44d104[_0x5805f0(0x221)],'CONNECTING',{'enumerable':!0x0,'value':_0x4b3a03[_0x5805f0(0x28b)](_0x5805f0(0x1ed))}),Object[_0x5805f0(0x2e9)](_0x44d104,_0x5805f0(0x245),{'enumerable':!0x0,'value':_0x4b3a03[_0x5805f0(0x28b)]('OPEN')}),Object[_0x5805f0(0x2e9)](_0x44d104['prototype'],_0x5805f0(0x245),{'enumerable':!0x0,'value':_0x4b3a03[_0x5805f0(0x28b)](_0x5805f0(0x245))}),Object[_0x5805f0(0x2e9)](_0x44d104,_0x5805f0(0x214),{'enumerable':!0x0,'value':_0x4b3a03[_0x5805f0(0x28b)](_0x5805f0(0x214))}),Object[_0x5805f0(0x2e9)](_0x44d104[_0x5805f0(0x221)],'CLOSING',{'enumerable':!0x0,'value':_0x4b3a03[_0x5805f0(0x28b)](_0x5805f0(0x214))}),Object[_0x5805f0(0x2e9)](_0x44d104,_0x5805f0(0x281),{'enumerable':!0x0,'value':_0x4b3a03[_0x5805f0(0x28b)](_0x5805f0(0x281))}),Object[_0x5805f0(0x2e9)](_0x44d104[_0x5805f0(0x221)],_0x5805f0(0x281),{'enumerable':!0x0,'value':_0x4b3a03[_0x5805f0(0x28b)](_0x5805f0(0x281))}),[_0x5805f0(0x27a),'bufferedAmount','extensions',_0x5805f0(0x169),'protocol',_0x5805f0(0x2cb),_0x5805f0(0x1e2)][_0x5805f0(0x27e)](_0x22b178=>{const _0x1cbc9f=_0x5805f0;Object[_0x1cbc9f(0x2e9)](_0x44d104[_0x1cbc9f(0x221)],_0x22b178,{'enumerable':!0x0});}),[_0x5805f0(0x2fb),_0x5805f0(0x178),'close','message'][_0x5805f0(0x27e)](_0xca8d0c=>{const _0x421df6=_0x5805f0;Object[_0x421df6(0x2e9)](_0x44d104[_0x421df6(0x221)],'on'+_0xca8d0c,{'enumerable':!0x0,'get'(){const _0x38f89b=_0x421df6;for(const _0x445bc2 of this[_0x38f89b(0x2bf)](_0xca8d0c))if(_0x445bc2[_0x3d140a])return _0x445bc2[_0x2ed6ac];return null;},'set'(_0x5907df){const _0x25f02c=_0x421df6;for(const _0x9555f4 of this[_0x25f02c(0x2bf)](_0xca8d0c))if(_0x9555f4[_0x3d140a]){this[_0x25f02c(0x29c)](_0xca8d0c,_0x9555f4);break;}typeof _0x5907df=='function'&&this[_0x25f02c(0x302)](_0xca8d0c,_0x5907df,{[_0x3d140a]:!0x0});}});}),_0x44d104[_0x5805f0(0x221)][_0x5805f0(0x302)]=_0x3b06cd,_0x44d104[_0x5805f0(0x221)]['removeEventListener']=_0x38c341,we=_0x44d104;function _0x4f9e7d(_0x332680,_0x53e86d,_0x15f2b7,_0x56003c){const _0x32bb43=_0x5805f0,_0x269c57={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x1260f4[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x56003c,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x32bb43(0x19b),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x332680['_autoPong']=_0x269c57[_0x32bb43(0x289)],!_0x1260f4[_0x32bb43(0x145)](_0x269c57['protocolVersion']))throw new RangeError('Unsupported\x20protocol\x20version:\x20'+_0x269c57[_0x32bb43(0x18a)]+_0x32bb43(0x26d)+_0x1260f4[_0x32bb43(0x1d2)](',\x20')+')');let _0x45a0c4;if(_0x53e86d instanceof _0x28b84b)_0x45a0c4=_0x53e86d;else try{_0x45a0c4=new _0x28b84b(_0x53e86d);}catch{throw new SyntaxError(_0x32bb43(0x236)+_0x53e86d);}_0x45a0c4['protocol']===_0x32bb43(0x28a)?_0x45a0c4[_0x32bb43(0x15c)]=_0x32bb43(0x26c):_0x45a0c4[_0x32bb43(0x15c)]==='https:'&&(_0x45a0c4[_0x32bb43(0x15c)]=_0x32bb43(0x2b5)),_0x332680[_0x32bb43(0x2ab)]=_0x45a0c4['href'];const _0x239774=_0x45a0c4[_0x32bb43(0x15c)]===_0x32bb43(0x2b5),_0x13d1fd=_0x45a0c4['protocol']===_0x32bb43(0x1f6);let _0xcd2268;if(_0x45a0c4[_0x32bb43(0x15c)]!=='ws:'&&!_0x239774&&!_0x13d1fd?_0xcd2268='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':_0x13d1fd&&!_0x45a0c4[_0x32bb43(0x2c3)]?_0xcd2268=_0x32bb43(0x173):_0x45a0c4[_0x32bb43(0x21d)]&&(_0xcd2268=_0x32bb43(0x2a9)),_0xcd2268){const _0x3bbdd2=new SyntaxError(_0xcd2268);if(_0x332680[_0x32bb43(0x21e)]===0x0)throw _0x3bbdd2;_0x5d03de(_0x332680,_0x3bbdd2);return;}const _0x2c6a1e=_0x239774?0x1bb:0x50,_0x2ea556=_0x777a4f(0x10)[_0x32bb43(0x2cd)]('base64'),_0x1a2aef=_0x239774?_0x1ecd14['request']:_0x48e56e[_0x32bb43(0x1af)],_0x42cd99=new Set();let _0x188693;if(_0x269c57[_0x32bb43(0x2c9)]=_0x269c57[_0x32bb43(0x2c9)]||(_0x239774?_0x567607:_0x1d5a61),_0x269c57['defaultPort']=_0x269c57['defaultPort']||_0x2c6a1e,_0x269c57['port']=_0x45a0c4['port']||_0x2c6a1e,_0x269c57[_0x32bb43(0x22d)]=_0x45a0c4['hostname'][_0x32bb43(0x207)]('[')?_0x45a0c4['hostname'][_0x32bb43(0x29d)](0x1,-0x1):_0x45a0c4[_0x32bb43(0x1e5)],_0x269c57[_0x32bb43(0x2ac)]={..._0x269c57[_0x32bb43(0x2ac)],'Sec-WebSocket-Version':_0x269c57[_0x32bb43(0x18a)],'Sec-WebSocket-Key':_0x2ea556,'Connection':_0x32bb43(0x235),'Upgrade':'websocket'},_0x269c57[_0x32bb43(0x2cc)]=_0x45a0c4[_0x32bb43(0x2c3)]+_0x45a0c4['search'],_0x269c57['timeout']=_0x269c57['handshakeTimeout'],_0x269c57['perMessageDeflate']&&(_0x188693=new _0x59f092(_0x269c57[_0x32bb43(0x160)]!==!0x0?_0x269c57[_0x32bb43(0x160)]:{},!0x1,_0x269c57[_0x32bb43(0x217)]),_0x269c57[_0x32bb43(0x2ac)][_0x32bb43(0x22a)]=_0x3e587f({[_0x59f092[_0x32bb43(0x1d0)]]:_0x188693[_0x32bb43(0x162)]()})),_0x15f2b7[_0x32bb43(0x2b7)]){for(const _0x4b64a1 of _0x15f2b7){if(typeof _0x4b64a1!='string'||!_0x459142['test'](_0x4b64a1)||_0x42cd99[_0x32bb43(0x2c4)](_0x4b64a1))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x42cd99[_0x32bb43(0x16b)](_0x4b64a1);}_0x269c57[_0x32bb43(0x2ac)][_0x32bb43(0x2e6)]=_0x15f2b7['join'](',');}if(_0x269c57[_0x32bb43(0x26a)]&&(_0x269c57[_0x32bb43(0x18a)]<0xd?_0x269c57[_0x32bb43(0x2ac)]['Sec-WebSocket-Origin']=_0x269c57['origin']:_0x269c57[_0x32bb43(0x2ac)]['Origin']=_0x269c57['origin']),(_0x45a0c4[_0x32bb43(0x20c)]||_0x45a0c4[_0x32bb43(0x159)])&&(_0x269c57[_0x32bb43(0x2e2)]=_0x45a0c4[_0x32bb43(0x20c)]+':'+_0x45a0c4[_0x32bb43(0x159)]),_0x13d1fd){const _0x5dc5da=_0x269c57[_0x32bb43(0x2cc)][_0x32bb43(0x184)](':');_0x269c57[_0x32bb43(0x18b)]=_0x5dc5da[0x0],_0x269c57[_0x32bb43(0x2cc)]=_0x5dc5da[0x1];}let _0x2173ec;if(_0x269c57['followRedirects']){if(_0x332680[_0x32bb43(0x21e)]===0x0){_0x332680['_originalIpc']=_0x13d1fd,_0x332680[_0x32bb43(0x1a5)]=_0x239774,_0x332680['_originalHostOrSocketPath']=_0x13d1fd?_0x269c57[_0x32bb43(0x18b)]:_0x45a0c4[_0x32bb43(0x22d)];const _0x4f6d98=_0x56003c&&_0x56003c['headers'];if(_0x56003c={..._0x56003c,'headers':{}},_0x4f6d98){for(const [_0x19e1cb,_0x26b925]of Object[_0x32bb43(0x2f2)](_0x4f6d98))_0x56003c[_0x32bb43(0x2ac)][_0x19e1cb[_0x32bb43(0x30a)]()]=_0x26b925;}}else{if(_0x332680[_0x32bb43(0x238)](_0x32bb43(0x16f))===0x0){const _0x412ee1=_0x13d1fd?_0x332680[_0x32bb43(0x14a)]?_0x269c57['socketPath']===_0x332680[_0x32bb43(0x1d7)]:!0x1:_0x332680[_0x32bb43(0x14a)]?!0x1:_0x45a0c4['host']===_0x332680[_0x32bb43(0x1d7)];(!_0x412ee1||_0x332680['_originalSecure']&&!_0x239774)&&(delete _0x269c57[_0x32bb43(0x2ac)]['authorization'],delete _0x269c57[_0x32bb43(0x2ac)][_0x32bb43(0x2d6)],_0x412ee1||delete _0x269c57[_0x32bb43(0x2ac)]['host'],_0x269c57[_0x32bb43(0x2e2)]=void 0x0);}}_0x269c57['auth']&&!_0x56003c['headers'][_0x32bb43(0x23e)]&&(_0x56003c[_0x32bb43(0x2ac)][_0x32bb43(0x23e)]='Basic\x20'+Buffer[_0x32bb43(0x14b)](_0x269c57[_0x32bb43(0x2e2)])['toString']('base64')),_0x2173ec=_0x332680['_req']=_0x1a2aef(_0x269c57),_0x332680[_0x32bb43(0x21e)]&&_0x332680[_0x32bb43(0x15a)](_0x32bb43(0x16f),_0x332680[_0x32bb43(0x1e2)],_0x2173ec);}else _0x2173ec=_0x332680[_0x32bb43(0x28e)]=_0x1a2aef(_0x269c57);_0x269c57[_0x32bb43(0x19e)]&&_0x2173ec['on']('timeout',()=>{const _0x57083e=_0x32bb43;_0x5b71b1(_0x332680,_0x2173ec,_0x57083e(0x2a2));}),_0x2173ec['on'](_0x32bb43(0x178),_0x3818a4=>{const _0x872726=_0x32bb43;_0x2173ec===null||_0x2173ec[_0x432178]||(_0x2173ec=_0x332680[_0x872726(0x28e)]=null,_0x5d03de(_0x332680,_0x3818a4));}),_0x2173ec['on'](_0x32bb43(0x260),_0x387059=>{const _0x317a7e=_0x32bb43,_0xee96fb=_0x387059[_0x317a7e(0x2ac)]['location'],_0x5bb7eb=_0x387059[_0x317a7e(0x1e1)];if(_0xee96fb&&_0x269c57['followRedirects']&&_0x5bb7eb>=0x12c&&_0x5bb7eb<0x190){if(++_0x332680[_0x317a7e(0x21e)]>_0x269c57['maxRedirects']){_0x5b71b1(_0x332680,_0x2173ec,_0x317a7e(0x193));return;}_0x2173ec[_0x317a7e(0x1f2)]();let _0x9413a8;try{_0x9413a8=new _0x28b84b(_0xee96fb,_0x53e86d);}catch{const _0x544c79=new SyntaxError('Invalid\x20URL:\x20'+_0xee96fb);_0x5d03de(_0x332680,_0x544c79);return;}_0x4f9e7d(_0x332680,_0x9413a8,_0x15f2b7,_0x56003c);}else _0x332680['emit'](_0x317a7e(0x298),_0x2173ec,_0x387059)||_0x5b71b1(_0x332680,_0x2173ec,_0x317a7e(0x19a)+_0x387059[_0x317a7e(0x1e1)]);}),_0x2173ec['on']('upgrade',(_0x508c40,_0x130f08,_0x5dd805)=>{const _0x5b0560=_0x32bb43;if(_0x332680[_0x5b0560(0x15a)](_0x5b0560(0x1c8),_0x508c40),_0x332680[_0x5b0560(0x2cb)]!==_0x44d104[_0x5b0560(0x1ed)])return;_0x2173ec=_0x332680[_0x5b0560(0x28e)]=null;const _0x50b160=_0x508c40[_0x5b0560(0x2ac)][_0x5b0560(0x1c8)];if(_0x50b160===void 0x0||_0x50b160[_0x5b0560(0x30a)]()!=='websocket'){_0x5b71b1(_0x332680,_0x130f08,_0x5b0560(0x307));return;}const _0x472da9=_0x27e7a5('sha1')[_0x5b0560(0x1da)](_0x2ea556+_0x1b0cc8)[_0x5b0560(0x222)](_0x5b0560(0x29b));if(_0x508c40[_0x5b0560(0x2ac)][_0x5b0560(0x19d)]!==_0x472da9){_0x5b71b1(_0x332680,_0x130f08,_0x5b0560(0x232));return;}const _0x1fa1a9=_0x508c40['headers'][_0x5b0560(0x1dd)];let _0x4f40e6;if(_0x1fa1a9!==void 0x0?_0x42cd99[_0x5b0560(0x280)]?_0x42cd99[_0x5b0560(0x2c4)](_0x1fa1a9)||(_0x4f40e6=_0x5b0560(0x283)):_0x4f40e6=_0x5b0560(0x1a9):_0x42cd99['size']&&(_0x4f40e6=_0x5b0560(0x1fb)),_0x4f40e6){_0x5b71b1(_0x332680,_0x130f08,_0x4f40e6);return;}_0x1fa1a9&&(_0x332680[_0x5b0560(0x1e6)]=_0x1fa1a9);const _0x1844bb=_0x508c40[_0x5b0560(0x2ac)][_0x5b0560(0x267)];if(_0x1844bb!==void 0x0){if(!_0x188693){_0x5b71b1(_0x332680,_0x130f08,_0x5b0560(0x183));return;}let _0x23f1df;try{_0x23f1df=_0x2076c2(_0x1844bb);}catch{_0x5b71b1(_0x332680,_0x130f08,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0x172c33=Object[_0x5b0560(0x1a7)](_0x23f1df);if(_0x172c33['length']!==0x1||_0x172c33[0x0]!==_0x59f092[_0x5b0560(0x1d0)]){_0x5b71b1(_0x332680,_0x130f08,_0x5b0560(0x15d));return;}try{_0x188693['accept'](_0x23f1df[_0x59f092[_0x5b0560(0x1d0)]]);}catch{_0x5b71b1(_0x332680,_0x130f08,_0x5b0560(0x29f));return;}_0x332680[_0x5b0560(0x2f8)][_0x59f092[_0x5b0560(0x1d0)]]=_0x188693;}_0x332680['setSocket'](_0x130f08,_0x5dd805,{'allowSynchronousEvents':_0x269c57[_0x5b0560(0x16d)],'generateMask':_0x269c57[_0x5b0560(0x1b2)],'maxPayload':_0x269c57[_0x5b0560(0x217)],'skipUTF8Validation':_0x269c57[_0x5b0560(0x275)]});}),_0x269c57[_0x32bb43(0x240)]?_0x269c57['finishRequest'](_0x2173ec,_0x332680):_0x2173ec['end']();}function _0x5d03de(_0x38d825,_0x5973f6){const _0x5036e9=_0x5805f0;_0x38d825[_0x5036e9(0x2d2)]=_0x44d104['CLOSING'],_0x38d825['_errorEmitted']=!0x0,_0x38d825[_0x5036e9(0x15a)](_0x5036e9(0x178),_0x5973f6),_0x38d825[_0x5036e9(0x177)]();}function _0x1d5a61(_0x245f6e){const _0x3bfa50=_0x5805f0;return _0x245f6e[_0x3bfa50(0x2cc)]=_0x245f6e[_0x3bfa50(0x18b)],_0x1effc7[_0x3bfa50(0x246)](_0x245f6e);}function _0x567607(_0x5893a0){const _0x8ab43a=_0x5805f0;return _0x5893a0['path']=void 0x0,!_0x5893a0['servername']&&_0x5893a0[_0x8ab43a(0x210)]!==''&&(_0x5893a0[_0x8ab43a(0x210)]=_0x1effc7[_0x8ab43a(0x1b6)](_0x5893a0[_0x8ab43a(0x22d)])?'':_0x5893a0[_0x8ab43a(0x22d)]),_0xd7d402[_0x8ab43a(0x246)](_0x5893a0);}function _0x5b71b1(_0x4a21c3,_0x52109f,_0x30b910){const _0x5e5a39=_0x5805f0;_0x4a21c3[_0x5e5a39(0x2d2)]=_0x44d104[_0x5e5a39(0x214)];const _0x223684=new Error(_0x30b910);Error['captureStackTrace'](_0x223684,_0x5b71b1),_0x52109f[_0x5e5a39(0x2ec)]?(_0x52109f[_0x432178]=!0x0,_0x52109f['abort'](),_0x52109f['socket']&&!_0x52109f[_0x5e5a39(0x25d)][_0x5e5a39(0x2fe)]&&_0x52109f[_0x5e5a39(0x25d)][_0x5e5a39(0x25e)](),process['nextTick'](_0x5d03de,_0x4a21c3,_0x223684)):(_0x52109f[_0x5e5a39(0x25e)](_0x223684),_0x52109f[_0x5e5a39(0x306)](_0x5e5a39(0x178),_0x4a21c3['emit'][_0x5e5a39(0x286)](_0x4a21c3,_0x5e5a39(0x178))),_0x52109f[_0x5e5a39(0x306)]('close',_0x4a21c3[_0x5e5a39(0x177)]['bind'](_0x4a21c3)));}function _0x36ee8e(_0x26cbfd,_0x374050,_0x169d1f){const _0x6e02a7=_0x5805f0;if(_0x374050){const _0x453ebd=_0x205f02(_0x374050)?_0x374050[_0x6e02a7(0x280)]:_0x57a736(_0x374050)[_0x6e02a7(0x2b7)];_0x26cbfd['_socket']?_0x26cbfd['_sender'][_0x6e02a7(0x182)]+=_0x453ebd:_0x26cbfd[_0x6e02a7(0x151)]+=_0x453ebd;}if(_0x169d1f){const _0x25d606=new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x20'+_0x26cbfd['readyState']+'\x20('+_0x4b3a03[_0x26cbfd['readyState']]+')');process['nextTick'](_0x169d1f,_0x25d606);}}function _0x39bcf5(_0x3379fd,_0x5c138c){const _0x4d7bf7=_0x5805f0,_0x12cdc8=this[_0x2730a1];_0x12cdc8['_closeFrameReceived']=!0x0,_0x12cdc8[_0x4d7bf7(0x1b8)]=_0x5c138c,_0x12cdc8[_0x4d7bf7(0x30b)]=_0x3379fd,_0x12cdc8[_0x4d7bf7(0x1e7)][_0x2730a1]!==void 0x0&&(_0x12cdc8[_0x4d7bf7(0x1e7)]['removeListener'](_0x4d7bf7(0x18c),_0x295b81),process[_0x4d7bf7(0x21b)](_0x55a7f6,_0x12cdc8[_0x4d7bf7(0x1e7)]),_0x3379fd===0x3ed?_0x12cdc8[_0x4d7bf7(0x2e7)]():_0x12cdc8['close'](_0x3379fd,_0x5c138c));}function _0x819b56(){const _0x156719=_0x5805f0,_0x52aaba=this[_0x2730a1];_0x52aaba['isPaused']||_0x52aaba[_0x156719(0x1e7)]['resume']();}function _0x877375(_0x3a1dfa){const _0x16b3a2=_0x5805f0,_0x4823bf=this[_0x2730a1];_0x4823bf[_0x16b3a2(0x1e7)][_0x2730a1]!==void 0x0&&(_0x4823bf[_0x16b3a2(0x1e7)][_0x16b3a2(0x29c)]('data',_0x295b81),process[_0x16b3a2(0x21b)](_0x55a7f6,_0x4823bf['_socket']),_0x4823bf[_0x16b3a2(0x2e7)](_0x3a1dfa[_0x1bbe1c])),_0x4823bf['_errorEmitted']||(_0x4823bf[_0x16b3a2(0x2b1)]=!0x0,_0x4823bf[_0x16b3a2(0x15a)](_0x16b3a2(0x178),_0x3a1dfa));}function _0x4a4487(){this[_0x2730a1]['emitClose']();}function _0x51c1bc(_0x5738c9,_0x319921){const _0x354b98=_0x5805f0;this[_0x2730a1][_0x354b98(0x15a)]('message',_0x5738c9,_0x319921);}function _0x52623e(_0x405222){const _0x1ae2ba=_0x5805f0,_0xfb366e=this[_0x2730a1];_0xfb366e[_0x1ae2ba(0x189)]&&_0xfb366e['pong'](_0x405222,!this[_0x1ae2ba(0x30d)],_0xf51de9),_0xfb366e['emit'](_0x1ae2ba(0x2af),_0x405222);}function _0x171573(_0x618066){const _0x3fcf86=_0x5805f0;this[_0x2730a1][_0x3fcf86(0x15a)](_0x3fcf86(0x195),_0x618066);}function _0x55a7f6(_0x5a01e7){_0x5a01e7['resume']();}function _0x1d8a0e(_0x4593d2){const _0x25793c=_0x5805f0,_0x492b0c=this[_0x2730a1];_0x492b0c['readyState']!==_0x44d104['CLOSED']&&(_0x492b0c[_0x25793c(0x2cb)]===_0x44d104['OPEN']&&(_0x492b0c[_0x25793c(0x2d2)]=_0x44d104['CLOSING'],_0x235eed(_0x492b0c)),this['_socket'][_0x25793c(0x180)](),_0x492b0c['_errorEmitted']||(_0x492b0c[_0x25793c(0x2b1)]=!0x0,_0x492b0c[_0x25793c(0x15a)](_0x25793c(0x178),_0x4593d2)));}function _0x235eed(_0x5a2b6f){const _0x86eb38=_0x5805f0;_0x5a2b6f[_0x86eb38(0x288)]=setTimeout(_0x5a2b6f['_socket'][_0x86eb38(0x25e)]['bind'](_0x5a2b6f['_socket']),_0x49d9c4);}function _0x41e588(){const _0x556b4a=_0x5805f0,_0x38ee0d=this[_0x2730a1];this[_0x556b4a(0x29c)](_0x556b4a(0x2e7),_0x41e588),this[_0x556b4a(0x29c)](_0x556b4a(0x18c),_0x295b81),this[_0x556b4a(0x29c)]('end',_0x495d6e),_0x38ee0d['_readyState']=_0x44d104[_0x556b4a(0x214)];let _0x37b11b;!this[_0x556b4a(0x1a4)][_0x556b4a(0x15f)]&&!_0x38ee0d['_closeFrameReceived']&&!_0x38ee0d[_0x556b4a(0x148)][_0x556b4a(0x220)][_0x556b4a(0x1c3)]&&(_0x37b11b=_0x38ee0d[_0x556b4a(0x1e7)][_0x556b4a(0x15b)]())!==null&&_0x38ee0d[_0x556b4a(0x148)]['write'](_0x37b11b),_0x38ee0d['_receiver'][_0x556b4a(0x180)](),this[_0x2730a1]=void 0x0,clearTimeout(_0x38ee0d[_0x556b4a(0x288)]),_0x38ee0d[_0x556b4a(0x148)][_0x556b4a(0x220)][_0x556b4a(0x17d)]||_0x38ee0d[_0x556b4a(0x148)][_0x556b4a(0x220)][_0x556b4a(0x1c3)]?_0x38ee0d[_0x556b4a(0x177)]():(_0x38ee0d[_0x556b4a(0x148)]['on'](_0x556b4a(0x178),_0x4a4487),_0x38ee0d[_0x556b4a(0x148)]['on'](_0x556b4a(0x1fd),_0x4a4487));}function _0x295b81(_0x1663e8){const _0x5c047c=_0x5805f0;this[_0x2730a1]['_receiver'][_0x5c047c(0x14c)](_0x1663e8)||this['pause']();}function _0x495d6e(){const _0x2bc574=_0x5805f0,_0x17d1c2=this[_0x2730a1];_0x17d1c2[_0x2bc574(0x2d2)]=_0x44d104[_0x2bc574(0x214)],_0x17d1c2[_0x2bc574(0x148)][_0x2bc574(0x180)](),this[_0x2bc574(0x180)]();}function _0x39e710(){const _0x5ee443=_0x5805f0,_0x14d29a=this[_0x2730a1];this[_0x5ee443(0x29c)](_0x5ee443(0x178),_0x39e710),this['on']('error',_0xf51de9),_0x14d29a&&(_0x14d29a[_0x5ee443(0x2d2)]=_0x44d104[_0x5ee443(0x214)],this[_0x5ee443(0x25e)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x22d682}=oe;function _0x2a7260(_0x2228ee){const _0x57b36f=_0x334a;_0x2228ee['emit'](_0x57b36f(0x2e7));}function _0x1ae575(){const _0xf8c636=_0x334a;!this[_0xf8c636(0x2fe)]&&this['_writableState'][_0xf8c636(0x17d)]&&this[_0xf8c636(0x25e)]();}function _0x577a0a(_0x468b91){const _0x3f762a=_0x334a;this[_0x3f762a(0x29c)]('error',_0x577a0a),this['destroy'](),this[_0x3f762a(0x238)](_0x3f762a(0x178))===0x0&&this[_0x3f762a(0x15a)](_0x3f762a(0x178),_0x468b91);}function _0x362ac2(_0x3ac38d,_0x9fc9e4){const _0x2eeb34=_0x334a;let _0x1a90e1=!0x0;const _0x3b886f=new _0x22d682({..._0x9fc9e4,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x3ac38d['on']('message',function(_0x6a115d,_0x1718b3){const _0x466128=_0x334a,_0x584dd0=!_0x1718b3&&_0x3b886f['_readableState']['objectMode']?_0x6a115d[_0x466128(0x2cd)]():_0x6a115d;_0x3b886f[_0x466128(0x270)](_0x584dd0)||_0x3ac38d['pause']();}),_0x3ac38d[_0x2eeb34(0x306)](_0x2eeb34(0x178),function(_0x3d45db){const _0x4db7d4=_0x2eeb34;_0x3b886f['destroyed']||(_0x1a90e1=!0x1,_0x3b886f[_0x4db7d4(0x25e)](_0x3d45db));}),_0x3ac38d[_0x2eeb34(0x306)]('close',function(){_0x3b886f['destroyed']||_0x3b886f['push'](null);}),_0x3b886f[_0x2eeb34(0x197)]=function(_0x335f44,_0x2c766d){const _0x31a18b=_0x2eeb34;if(_0x3ac38d[_0x31a18b(0x2cb)]===_0x3ac38d[_0x31a18b(0x281)]){_0x2c766d(_0x335f44),process[_0x31a18b(0x21b)](_0x2a7260,_0x3b886f);return;}let _0x111086=!0x1;_0x3ac38d['once']('error',function(_0x2c6b4a){_0x111086=!0x0,_0x2c766d(_0x2c6b4a);}),_0x3ac38d[_0x31a18b(0x306)]('close',function(){const _0x4936ba=_0x31a18b;_0x111086||_0x2c766d(_0x335f44),process[_0x4936ba(0x21b)](_0x2a7260,_0x3b886f);}),_0x1a90e1&&_0x3ac38d[_0x31a18b(0x2c7)]();},_0x3b886f['_final']=function(_0x48686e){const _0x2e6793=_0x2eeb34;if(_0x3ac38d['readyState']===_0x3ac38d['CONNECTING']){_0x3ac38d[_0x2e6793(0x306)](_0x2e6793(0x2fb),function(){const _0x286fe8=_0x2e6793;_0x3b886f[_0x286fe8(0x1e3)](_0x48686e);});return;}_0x3ac38d[_0x2e6793(0x1e7)]!==null&&(_0x3ac38d[_0x2e6793(0x1e7)][_0x2e6793(0x220)]['finished']?(_0x48686e(),_0x3b886f['_readableState']['endEmitted']&&_0x3b886f[_0x2e6793(0x25e)]()):(_0x3ac38d[_0x2e6793(0x1e7)][_0x2e6793(0x306)](_0x2e6793(0x1fd),function(){_0x48686e();}),_0x3ac38d['close']()));},_0x3b886f[_0x2eeb34(0x2c0)]=function(){const _0x32e893=_0x2eeb34;_0x3ac38d[_0x32e893(0x169)]&&_0x3ac38d[_0x32e893(0x273)]();},_0x3b886f[_0x2eeb34(0x18d)]=function(_0x4cbdb4,_0x31c368,_0x1b8947){const _0xf2eb7a=_0x2eeb34;if(_0x3ac38d[_0xf2eb7a(0x2cb)]===_0x3ac38d[_0xf2eb7a(0x1ed)]){_0x3ac38d[_0xf2eb7a(0x306)](_0xf2eb7a(0x2fb),function(){const _0x1ebcd0=_0xf2eb7a;_0x3b886f[_0x1ebcd0(0x18d)](_0x4cbdb4,_0x31c368,_0x1b8947);});return;}_0x3ac38d[_0xf2eb7a(0x2da)](_0x4cbdb4,_0x1b8947);},_0x3b886f['on'](_0x2eeb34(0x180),_0x1ae575),_0x3b886f['on'](_0x2eeb34(0x178),_0x577a0a),_0x3b886f;}return Oe=_0x362ac2,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x2b7b42}=ae();function _0x1174ec(_0x19f845){const _0x10da15=_0x334a,_0x1be5d8=new Set();let _0x8125f7=-0x1,_0xd26a86=-0x1,_0x449699=0x0;for(_0x449699;_0x449699<_0x19f845[_0x10da15(0x2b7)];_0x449699++){const _0x1e7bad=_0x19f845['charCodeAt'](_0x449699);if(_0xd26a86===-0x1&&_0x2b7b42[_0x1e7bad]===0x1)_0x8125f7===-0x1&&(_0x8125f7=_0x449699);else{if(_0x449699!==0x0&&(_0x1e7bad===0x20||_0x1e7bad===0x9))_0xd26a86===-0x1&&_0x8125f7!==-0x1&&(_0xd26a86=_0x449699);else{if(_0x1e7bad===0x2c){if(_0x8125f7===-0x1)throw new SyntaxError(_0x10da15(0x1eb)+_0x449699);_0xd26a86===-0x1&&(_0xd26a86=_0x449699);const _0x9415d4=_0x19f845[_0x10da15(0x29d)](_0x8125f7,_0xd26a86);if(_0x1be5d8['has'](_0x9415d4))throw new SyntaxError(_0x10da15(0x291)+_0x9415d4+_0x10da15(0x26f));_0x1be5d8[_0x10da15(0x16b)](_0x9415d4),_0x8125f7=_0xd26a86=-0x1;}else throw new SyntaxError(_0x10da15(0x1eb)+_0x449699);}}}if(_0x8125f7===-0x1||_0xd26a86!==-0x1)throw new SyntaxError(_0x10da15(0x268));const _0x32cf06=_0x19f845[_0x10da15(0x29d)](_0x8125f7,_0x449699);if(_0x1be5d8['has'](_0x32cf06))throw new SyntaxError(_0x10da15(0x291)+_0x32cf06+_0x10da15(0x26f));return _0x1be5d8[_0x10da15(0x16b)](_0x32cf06),_0x1be5d8;}return Ce={'parse':_0x1174ec},Ce;}var Te,rt;function _0x42e7(){const _0x60d6b3=['collaboration-client-node.config','text/html','upgrade','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','Observable','3669344GwYyod','accept','STATUS_CODES','unmask','\x22:\x20','extensionName','acceptAsServer','join','conclude','kError','reason','Z_DEFAULT_WINDOWBITS','_originalHostOrSocketPath','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','clients','update','replace','allocUnsafe','sec-websocket-protocol','Z_SYNC_FLUSH','ISnapshotServerService','serverMaxWindowBits','statusCode','url','_final','_sender','hostname','_protocol','_socket','Plugin','The\x20server\x20is\x20not\x20running','kTarget','Unexpected\x20character\x20at\x20index\x20','_max_window_bits','CONNECTING','mask','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','_skipUTF8Validation','369260lLQAGo','abort','target','_compress','_buffers','ws+unix:','consume','compress','_configService','56XVLGBH','Server\x20sent\x20no\x20subprotocol','value','finish','@univerjs/network','next','writeUIntBE','crypto','address','listen','fin','isInteger','_loop','startsWith','Parameter\x20\x22','client_no_context_takeover','enqueue','reset','username','clientNoContextTakeover','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','_state','servername','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','readUInt32BE','CLOSING','getConfig','buffer','maxPayload','_maskBuffer','_firstFragment','pipe','nextTick','concurrencyLimit','hash','_redirects','alloc','_writableState','prototype','digest','@univerjs-pro/collaboration','stream','maskBuffer','removeEventListener','registerHTTPInterceptor','getMask','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','Sec-WebSocket-Extensions','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','getData','host','websocket','MASK\x20must\x20be\x20set','shift','permessage-deflate','Invalid\x20Sec-WebSocket-Accept\x20header','exports','1083780iQnxaH','Upgrade','Invalid\x20URL:\x20','_threshold','listenerCount','Connection:\x20Upgrade','getPayloadLength64','get','getPayloadLength16','163018LCpLgb','authorization','handleEvent','finishRequest','acceptAsClient','byteOffset','charCodeAt','DisposableCollection','OPEN','connect','shouldHandle','needDrain','arrayBuffer','delete','kListener','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','zlibInflateOptions','constructor','_closeFrameSent','getBlobData','create','_allowSynchronousEvents','byteLength','rsv1','_decompress','customHeaders','_injector','handleUpgrade','\x0d\x0a\x0d\x0a','Invalid\x20Sec-WebSocket-Protocol\x20header','_opcode','kByteLength','socket','destroy','noServer','response','invalid\x20opcode\x200','_options','_no_context_takeover','verifyClient','server','MASK\x20must\x20be\x20clear','sec-websocket-extensions','Unexpected\x20end\x20of\x20input','_fragments','origin','controlMessage','ws:','\x20(supported\x20versions:\x20','code','\x22\x20subprotocol\x20is\x20duplicated','push','20041506teXeYA','frame','resume','15WwKvzC','skipUTF8Validation','total-length','values','kAborted','toStringTag','binaryType','NodeCollaborationSocketService','toDisposable','Inject','forEach','kIsForOnEventAttribute','size','CLOSED','_closeFrameReceived','Server\x20sent\x20an\x20invalid\x20subprotocol','getOwnPropertyDescriptor','Invalid\x20value\x20for\x20parameter\x20\x22','bind','WS_NO_BUFFER_UTIL','_closeTimer','autoPong','http:','indexOf','threshold','_shouldEmitClose','_req','createError','blob','The\x20\x22','decompress','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','construct','arraybuffer','pending','WebSocket','unexpected-response','parse','events','base64','removeListener','slice','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','Invalid\x20Sec-WebSocket-Extensions\x20header','removeAllListeners','_errored','Opening\x20handshake\x20has\x20timed\x20out','_maxPayload','WS_NO_UTF_8_VALIDATE','pause','share','349380aoOVUz','drain','The\x20URL\x20contains\x20a\x20fragment\x20identifier','_registerDependencies','_url','headers','HTTPService','clientTracking','ping','warn','_errorEmitted','_binaryType','UniverCollaborationClientNodePlugin','rxjs','wss:','_deflate','length','DependentOn','CollaborationSocketService','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','callback','WS_ERR_INVALID_UTF8','\x22\x20must\x20have\x20only\x20a\x20single\x20value','sha1','listeners','_read','readOnly','_masked','pathname','has','HTTP/1.1\x20','WS_ERR_UNEXPECTED_MASK','terminate','IConfigService','createConnection','authorized','readyState','path','toString','client_max_window_bits','freeze','call','_compressed','_readyState','WS_ERR_EXPECTED_MASK','unshift','test','cookie','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','sec-websocket-version','ILogService','send','_doCreateSocket','sec-websocket-origin','jobs','_removeListeners','wasClean','onerror','dispose','auth','default','onStarting','server_no_context_takeover','Sec-WebSocket-Protocol','close','writeUInt16BE','defineProperty','kReason','_paused','setHeader','catch','clientMaxWindowBits','number','Sec-WebSocket-Protocol:\x20','connection','entries','http','cleanup','onmessage','species','WS_ERR_EXPECTED_FIN','_extensions','dequeue','options','open','_payloadLength','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','destroyed','UniverCollaborationClientPlugin','handleProtocols','object','addEventListener','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','WS_ERR_UNEXPECTED_RSV_1','@univerjs/core','once','Invalid\x20Upgrade\x20header','concurrency','_messageLength','toLowerCase','_closeCode','isValidUTF8','_isServer','params','readUInt16BE','WS_ERR_UNEXPECTED_RSV_2_3','dispatch','includes','method','serverNoContextTakeover','_receiver','cork','_originalIpc','from','write','encrypted','tls','captureStackTrace','text/plain','_bufferedAmount','apply','binary','dataMessage','map','haveLength','extensions','startLoop','password','emit','read','protocol','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','setTimeout','endEmitted','perMessageDeflate','pluginName','offer','_mask','invalid\x20UTF-8\x20sequence','Module','net','createServer','getInfo','isPaused','_totalPayloadLength','add','then','allowSynchronousEvents','Invalid\x20HTTP\x20method','redirect','normalizeParams','type','env','The\x20URL\x27s\x20pathname\x20is\x20empty','opcode','string','completeUpgrade','emitClose','error','pow','concat','sendFrame','hasOwnProperty','finished','client','RSV1\x20must\x20be\x20clear','end','_server','_bufferedBytes','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','split','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','nodebuffer','listening','_autoPong','protocolVersion','socketPath','data','_write','invalid\x20payload\x20length\x20','wsClientError','server_max_window_bits','message','_queue','Maximum\x20redirects\x20exceeded','WS_ERR_INVALID_OPCODE','pong','kRun','_destroy','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','Disposable','Unexpected\x20server\x20response:\x20','GET','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','sec-websocket-accept','timeout','_httpService','set','setSocket','flush','Blob','_readableState','_originalSecure','_fragmented','keys','zlibDeflateOptions','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','port','isServer','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','Max\x20payload\x20size\x20exceeded','_inflate','request','Upgrade:\x20websocket','_fin','generateMask','createDeflateRaw','isArray','kDone','isIP','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','_closeMessage','readable','setConfig','isBuffer','_generateMask','__esModule','invalid\x20opcode\x20','Injector','kType','setNoDelay','function','errorEmitted','find','658788KLDsZS'];_0x42e7=function(){return _0x60d6b3;};return _0x42e7();}function Ft(){const _0x3c3abe=_0x138cba;if(rt)return Te;rt=0x1;const _0x3a7779=nt,_0x6e9e6d=ot,{Duplex:_0xde8815}=oe,{createHash:_0xbca8b5}=Le,_0x3115da=ct(),_0x1b32e1=he(),_0x6b7aea=At(),_0x1846cc=Pe(),{GUID:_0x54a896,kWebSocket:_0x4f5b77}=H(),_0x2e0ca9=/^[+/0-9A-Za-z]{22}==$/,_0x3ff55e=0x0,_0x508859=0x1,_0x5e6f02=0x2;class _0x2042d4 extends _0x3a7779{constructor(_0x578908,_0x4ff068){const _0x1359aa=_0x334a;if(super(),_0x578908={'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':_0x1846cc,..._0x578908},_0x578908[_0x1359aa(0x1aa)]==null&&!_0x578908[_0x1359aa(0x265)]&&!_0x578908[_0x1359aa(0x25f)]||_0x578908['port']!=null&&(_0x578908[_0x1359aa(0x265)]||_0x578908[_0x1359aa(0x25f)])||_0x578908[_0x1359aa(0x265)]&&_0x578908[_0x1359aa(0x25f)])throw new TypeError('One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified');if(_0x578908[_0x1359aa(0x1aa)]!=null?(this['_server']=_0x6e9e6d[_0x1359aa(0x167)]((_0x4b4730,_0x37829a)=>{const _0x4cc133=_0x1359aa,_0x1223cb=_0x6e9e6d[_0x4cc133(0x1cd)][0x1aa];_0x37829a['writeHead'](0x1aa,{'Content-Length':_0x1223cb[_0x4cc133(0x2b7)],'Content-Type':_0x4cc133(0x150)}),_0x37829a[_0x4cc133(0x180)](_0x1223cb);}),this[_0x1359aa(0x181)][_0x1359aa(0x203)](_0x578908[_0x1359aa(0x1aa)],_0x578908[_0x1359aa(0x22d)],_0x578908['backlog'],_0x4ff068)):_0x578908[_0x1359aa(0x265)]&&(this['_server']=_0x578908[_0x1359aa(0x265)]),this[_0x1359aa(0x181)]){const _0x7b3904=this[_0x1359aa(0x15a)][_0x1359aa(0x286)](this,_0x1359aa(0x2f1));this[_0x1359aa(0x2de)]=_0x4e0dd3(this['_server'],{'listening':this[_0x1359aa(0x15a)][_0x1359aa(0x286)](this,_0x1359aa(0x188)),'error':this[_0x1359aa(0x15a)][_0x1359aa(0x286)](this,_0x1359aa(0x178)),'upgrade':(_0x10fd04,_0x1c449c,_0x435951)=>{this['handleUpgrade'](_0x10fd04,_0x1c449c,_0x435951,_0x7b3904);}});}_0x578908[_0x1359aa(0x160)]===!0x0&&(_0x578908[_0x1359aa(0x160)]={}),_0x578908[_0x1359aa(0x2ae)]&&(this[_0x1359aa(0x1d9)]=new Set(),this[_0x1359aa(0x28d)]=!0x1),this[_0x1359aa(0x2fa)]=_0x578908,this[_0x1359aa(0x20f)]=_0x3ff55e;}['address'](){const _0x1048b3=_0x334a;if(this[_0x1048b3(0x2fa)][_0x1048b3(0x25f)])throw new Error(_0x1048b3(0x1b7));return this['_server']?this['_server'][_0x1048b3(0x202)]():null;}['close'](_0x52243){const _0x5ecdb5=_0x334a;if(this['_state']===_0x5e6f02){_0x52243&&this[_0x5ecdb5(0x306)]('close',()=>{const _0xf6fc33=_0x5ecdb5;_0x52243(new Error(_0xf6fc33(0x1e9)));}),process[_0x5ecdb5(0x21b)](_0x304f2a,this);return;}if(_0x52243&&this[_0x5ecdb5(0x306)](_0x5ecdb5(0x2e7),_0x52243),this[_0x5ecdb5(0x20f)]!==_0x508859){if(this[_0x5ecdb5(0x20f)]=_0x508859,this[_0x5ecdb5(0x2fa)][_0x5ecdb5(0x25f)]||this[_0x5ecdb5(0x2fa)][_0x5ecdb5(0x265)])this[_0x5ecdb5(0x181)]&&(this['_removeListeners'](),this[_0x5ecdb5(0x2de)]=this['_server']=null),this[_0x5ecdb5(0x1d9)]?this['clients'][_0x5ecdb5(0x280)]?this[_0x5ecdb5(0x28d)]=!0x0:process['nextTick'](_0x304f2a,this):process['nextTick'](_0x304f2a,this);else{const _0x2a84a6=this[_0x5ecdb5(0x181)];this[_0x5ecdb5(0x2de)](),this['_removeListeners']=this[_0x5ecdb5(0x181)]=null,_0x2a84a6['close'](()=>{_0x304f2a(this);});}}}[_0x3c3abe(0x247)](_0x4f706c){const _0x1f9c9d=_0x3c3abe;if(this[_0x1f9c9d(0x2fa)][_0x1f9c9d(0x2cc)]){const _0x39319d=_0x4f706c[_0x1f9c9d(0x1e2)]['indexOf']('?');if((_0x39319d!==-0x1?_0x4f706c[_0x1f9c9d(0x1e2)][_0x1f9c9d(0x29d)](0x0,_0x39319d):_0x4f706c[_0x1f9c9d(0x1e2)])!==this[_0x1f9c9d(0x2fa)]['path'])return!0x1;}return!0x0;}[_0x3c3abe(0x258)](_0x3c014c,_0x57fc2a,_0x5781de,_0x35fdd6){const _0x4bf384=_0x3c3abe;_0x57fc2a['on'](_0x4bf384(0x178),_0x32feeb);const _0xd4d3f1=_0x3c014c['headers']['sec-websocket-key'],_0x1915e6=_0x3c014c[_0x4bf384(0x2ac)][_0x4bf384(0x1c8)],_0x5dda40=+_0x3c014c[_0x4bf384(0x2ac)][_0x4bf384(0x2d8)];if(_0x3c014c[_0x4bf384(0x146)]!==_0x4bf384(0x19b)){_0x4667d1(this,_0x3c014c,_0x57fc2a,0x195,_0x4bf384(0x16e));return;}if(_0x1915e6===void 0x0||_0x1915e6[_0x4bf384(0x30a)]()!=='websocket'){_0x4667d1(this,_0x3c014c,_0x57fc2a,0x190,_0x4bf384(0x307));return;}if(_0xd4d3f1===void 0x0||!_0x2e0ca9[_0x4bf384(0x2d5)](_0xd4d3f1)){_0x4667d1(this,_0x3c014c,_0x57fc2a,0x190,_0x4bf384(0x2ba));return;}if(_0x5dda40!==0x8&&_0x5dda40!==0xd){_0x4667d1(this,_0x3c014c,_0x57fc2a,0x190,_0x4bf384(0x211));return;}if(!this[_0x4bf384(0x247)](_0x3c014c)){_0x3e5294(_0x57fc2a,0x190);return;}const _0x12740d=_0x3c014c[_0x4bf384(0x2ac)][_0x4bf384(0x1dd)];let _0x315bf6=new Set();if(_0x12740d!==void 0x0)try{_0x315bf6=_0x6b7aea['parse'](_0x12740d);}catch{_0x4667d1(this,_0x3c014c,_0x57fc2a,0x190,_0x4bf384(0x25a));return;}const _0x136a6b=_0x3c014c[_0x4bf384(0x2ac)][_0x4bf384(0x267)],_0x5ac400={};if(this[_0x4bf384(0x2fa)][_0x4bf384(0x160)]&&_0x136a6b!==void 0x0){const _0x18114e=new _0x1b32e1(this[_0x4bf384(0x2fa)][_0x4bf384(0x160)],!0x0,this[_0x4bf384(0x2fa)]['maxPayload']);try{const _0x3ced82=_0x3115da[_0x4bf384(0x299)](_0x136a6b);_0x3ced82[_0x1b32e1[_0x4bf384(0x1d0)]]&&(_0x18114e[_0x4bf384(0x1cc)](_0x3ced82[_0x1b32e1[_0x4bf384(0x1d0)]]),_0x5ac400[_0x1b32e1['extensionName']]=_0x18114e);}catch{_0x4667d1(this,_0x3c014c,_0x57fc2a,0x190,_0x4bf384(0x1ac));return;}}if(this['options'][_0x4bf384(0x264)]){const _0x45e482={'origin':_0x3c014c[_0x4bf384(0x2ac)][''+(_0x5dda40===0x8?_0x4bf384(0x2dc):_0x4bf384(0x26a))],'secure':!!(_0x3c014c['socket'][_0x4bf384(0x2ca)]||_0x3c014c[_0x4bf384(0x25d)][_0x4bf384(0x14d)]),'req':_0x3c014c};if(this[_0x4bf384(0x2fa)][_0x4bf384(0x264)][_0x4bf384(0x2b7)]===0x2){this[_0x4bf384(0x2fa)]['verifyClient'](_0x45e482,(_0x127278,_0x35958b,_0x469e3d,_0xf5bb22)=>{const _0x28947f=_0x4bf384;if(!_0x127278)return _0x3e5294(_0x57fc2a,_0x35958b||0x191,_0x469e3d,_0xf5bb22);this[_0x28947f(0x176)](_0x5ac400,_0xd4d3f1,_0x315bf6,_0x3c014c,_0x57fc2a,_0x5781de,_0x35fdd6);});return;}if(!this['options'][_0x4bf384(0x264)](_0x45e482))return _0x3e5294(_0x57fc2a,0x191);}this[_0x4bf384(0x176)](_0x5ac400,_0xd4d3f1,_0x315bf6,_0x3c014c,_0x57fc2a,_0x5781de,_0x35fdd6);}[_0x3c3abe(0x176)](_0x15085e,_0x4b35d8,_0x51fcc6,_0x1c8f46,_0xf81754,_0x194ffe,_0x39e2c8){const _0x1bdce6=_0x3c3abe;if(!_0xf81754[_0x1bdce6(0x1b9)]||!_0xf81754['writable'])return _0xf81754[_0x1bdce6(0x25e)]();if(_0xf81754[_0x4f5b77])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this[_0x1bdce6(0x20f)]>_0x3ff55e)return _0x3e5294(_0xf81754,0x1f7);const _0x3bb52e=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0x1bdce6(0x1b0),_0x1bdce6(0x239),'Sec-WebSocket-Accept:\x20'+_0xbca8b5(_0x1bdce6(0x2be))[_0x1bdce6(0x1da)](_0x4b35d8+_0x54a896)['digest'](_0x1bdce6(0x29b))],_0x1e9c86=new this['options'][(_0x1bdce6(0x297))](null,void 0x0,this[_0x1bdce6(0x2fa)]);if(_0x51fcc6[_0x1bdce6(0x280)]){const _0x2c472a=this[_0x1bdce6(0x2fa)][_0x1bdce6(0x300)]?this[_0x1bdce6(0x2fa)][_0x1bdce6(0x300)](_0x51fcc6,_0x1c8f46):_0x51fcc6[_0x1bdce6(0x277)]()['next']()[_0x1bdce6(0x1fc)];_0x2c472a&&(_0x3bb52e[_0x1bdce6(0x270)](_0x1bdce6(0x2f0)+_0x2c472a),_0x1e9c86[_0x1bdce6(0x1e6)]=_0x2c472a);}if(_0x15085e[_0x1b32e1[_0x1bdce6(0x1d0)]]){const _0x12345b=_0x15085e[_0x1b32e1[_0x1bdce6(0x1d0)]]['params'],_0x52f38b=_0x3115da['format']({[_0x1b32e1[_0x1bdce6(0x1d0)]]:[_0x12345b]});_0x3bb52e[_0x1bdce6(0x270)]('Sec-WebSocket-Extensions:\x20'+_0x52f38b),_0x1e9c86[_0x1bdce6(0x2f8)]=_0x15085e;}this[_0x1bdce6(0x15a)]('headers',_0x3bb52e,_0x1c8f46),_0xf81754[_0x1bdce6(0x14c)](_0x3bb52e[_0x1bdce6(0x17a)]('\x0d\x0a')[_0x1bdce6(0x1d2)]('\x0d\x0a')),_0xf81754[_0x1bdce6(0x29c)](_0x1bdce6(0x178),_0x32feeb),_0x1e9c86[_0x1bdce6(0x1a1)](_0xf81754,_0x194ffe,{'allowSynchronousEvents':this['options'][_0x1bdce6(0x16d)],'maxPayload':this[_0x1bdce6(0x2fa)][_0x1bdce6(0x217)],'skipUTF8Validation':this[_0x1bdce6(0x2fa)][_0x1bdce6(0x275)]}),this[_0x1bdce6(0x1d9)]&&(this['clients']['add'](_0x1e9c86),_0x1e9c86['on'](_0x1bdce6(0x2e7),()=>{const _0x5928eb=_0x1bdce6;this[_0x5928eb(0x1d9)][_0x5928eb(0x24a)](_0x1e9c86),this[_0x5928eb(0x28d)]&&!this['clients'][_0x5928eb(0x280)]&&process[_0x5928eb(0x21b)](_0x304f2a,this);})),_0x39e2c8(_0x1e9c86,_0x1c8f46);}}Te=_0x2042d4;function _0x4e0dd3(_0x410a91,_0x49a7fc){const _0x17fa2d=_0x3c3abe;for(const _0x95573c of Object[_0x17fa2d(0x1a7)](_0x49a7fc))_0x410a91['on'](_0x95573c,_0x49a7fc[_0x95573c]);return function(){const _0x494903=_0x17fa2d;for(const _0x4e3a26 of Object['keys'](_0x49a7fc))_0x410a91[_0x494903(0x29c)](_0x4e3a26,_0x49a7fc[_0x4e3a26]);};}function _0x304f2a(_0x36744d){const _0x299dc7=_0x3c3abe;_0x36744d[_0x299dc7(0x20f)]=_0x5e6f02,_0x36744d[_0x299dc7(0x15a)](_0x299dc7(0x2e7));}function _0x32feeb(){const _0x55d3bb=_0x3c3abe;this[_0x55d3bb(0x25e)]();}function _0x3e5294(_0x2af25c,_0x542c97,_0x2d827a,_0x3a4ef8){const _0x3f8876=_0x3c3abe;_0x2d827a=_0x2d827a||_0x6e9e6d[_0x3f8876(0x1cd)][_0x542c97],_0x3a4ef8={'Connection':'close','Content-Type':_0x3f8876(0x1c7),'Content-Length':Buffer['byteLength'](_0x2d827a),..._0x3a4ef8},_0x2af25c[_0x3f8876(0x306)]('finish',_0x2af25c[_0x3f8876(0x25e)]),_0x2af25c[_0x3f8876(0x180)](_0x3f8876(0x2c5)+_0x542c97+'\x20'+_0x6e9e6d['STATUS_CODES'][_0x542c97]+'\x0d\x0a'+Object[_0x3f8876(0x1a7)](_0x3a4ef8)['map'](_0x37fea4=>_0x37fea4+':\x20'+_0x3a4ef8[_0x37fea4])[_0x3f8876(0x1d2)]('\x0d\x0a')+_0x3f8876(0x259)+_0x2d827a);}function _0x4667d1(_0x195958,_0x12a08b,_0x2c42d3,_0x28b983,_0x3bf479){const _0x14b22b=_0x3c3abe;if(_0x195958[_0x14b22b(0x238)](_0x14b22b(0x18f))){const _0x54fcca=new Error(_0x3bf479);Error[_0x14b22b(0x14f)](_0x54fcca,_0x4667d1),_0x195958[_0x14b22b(0x15a)](_0x14b22b(0x18f),_0x54fcca,_0x2c42d3,_0x12a08b);}else _0x3e5294(_0x2c42d3,_0x28b983,_0x3bf479);}return Te;}Ft();var jt=Object['getOwnPropertyDescriptor'],Wt=(_0x23ba2a,_0x388ffa,_0x23aabb,_0x536abb)=>{for(var _0x1b9637=_0x536abb>0x1?void 0x0:_0x536abb?jt(_0x388ffa,_0x23aabb):_0x388ffa,_0x2a9c60=_0x23ba2a['length']-0x1,_0x20b6a3;_0x2a9c60>=0x0;_0x2a9c60--)(_0x20b6a3=_0x23ba2a[_0x2a9c60])&&(_0x1b9637=_0x20b6a3(_0x1b9637)||_0x1b9637);return _0x1b9637;},qt=(_0x3a9f49,_0x39d751)=>(_0x2313c8,_0x2b00e4)=>_0x39d751(_0x2313c8,_0x2b00e4,_0x3a9f49);let ke=class extends A[_0x138cba(0x199)]{constructor(_0x3cac1e){super(),this['_configService']=_0x3cac1e;}['createSocket'](_0x36814c){const _0x747bd4=_0x138cba;var _0x421a0b;const _0x1f64f5=(_0x421a0b=this['_configService'][_0x747bd4(0x215)](fe))==null?void 0x0:_0x421a0b['customHeaders'];try{const _0x14d944=new $t(_0x36814c,{'headers':{..._0x1f64f5}}),_0xfabb93=new A[(_0x747bd4(0x244))]();return{'URL':_0x36814c,'close':(_0x58c990,_0x51d658)=>{const _0x55fdb7=_0x747bd4;_0x14d944[_0x55fdb7(0x2e7)](_0x58c990,_0x51d658),_0xfabb93[_0x55fdb7(0x2e1)]();},'send':_0x19799e=>{const _0x2dfa24=_0x747bd4;_0x14d944[_0x2dfa24(0x2da)](_0x19799e);},'open$':new V['Observable'](_0x65435f=>{const _0x2d62e6=_0x747bd4,_0x263b8c=_0x4edd47=>_0x65435f['next'](_0x4edd47);_0x14d944[_0x2d62e6(0x302)](_0x2d62e6(0x2fb),_0x263b8c),_0xfabb93[_0x2d62e6(0x16b)](A['toDisposable'](()=>_0x14d944[_0x2d62e6(0x226)](_0x2d62e6(0x2fb),_0x263b8c)));})[_0x747bd4(0x21a)](V[_0x747bd4(0x2a6)]()),'close$':new V['Observable'](_0x11ca39=>{const _0x134b21=_0x747bd4,_0x37af2f=_0x349f62=>_0x11ca39[_0x134b21(0x1ff)](_0x349f62);_0x14d944[_0x134b21(0x302)](_0x134b21(0x2e7),_0x37af2f),_0xfabb93[_0x134b21(0x16b)](A['toDisposable'](()=>_0x14d944['removeEventListener'](_0x134b21(0x2e7),_0x37af2f)));})[_0x747bd4(0x21a)](V[_0x747bd4(0x2a6)]()),'error$':new V['Observable'](_0x647431=>{const _0x41a1f1=_0x747bd4,_0x3a6f0b=_0x5cf2e4=>_0x647431[_0x41a1f1(0x1ff)](_0x5cf2e4);_0x14d944['addEventListener'](_0x41a1f1(0x178),_0x3a6f0b),_0xfabb93[_0x41a1f1(0x16b)](A[_0x41a1f1(0x27c)](()=>_0x14d944[_0x41a1f1(0x226)]('error',_0x3a6f0b)));})['pipe'](V[_0x747bd4(0x2a6)]()),'message$':new V[(_0x747bd4(0x1ca))](_0x2a6995=>{const _0x472608=_0x747bd4,_0x5b5925=_0x123f59=>_0x2a6995[_0x472608(0x1ff)](_0x123f59);_0x14d944[_0x472608(0x302)]('message',_0x5b5925),_0xfabb93['add'](A[_0x472608(0x27c)](()=>_0x14d944[_0x472608(0x226)]('message',_0x5b5925)));})[_0x747bd4(0x21a)](V[_0x747bd4(0x2a6)]())};}catch(_0x5e1c4a){return console[_0x747bd4(0x178)](_0x5e1c4a),null;}}};ke=Wt([qt(0x0,A['IConfigService'])],ke);var Gt=Object['defineProperty'],Vt=Object['getOwnPropertyDescriptor'],Ht=(_0x566f57,_0x562ec8,_0x15ca74)=>_0x562ec8 in _0x566f57?Gt(_0x566f57,_0x562ec8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x15ca74}):_0x566f57[_0x562ec8]=_0x15ca74,zt=(_0x1ec84f,_0x164e11,_0xb447ff,_0x7df776)=>{const _0x55d9e3=_0x138cba;for(var _0x205e9f=_0x7df776>0x1?void 0x0:_0x7df776?Vt(_0x164e11,_0xb447ff):_0x164e11,_0x372bae=_0x1ec84f[_0x55d9e3(0x2b7)]-0x1,_0xf12321;_0x372bae>=0x0;_0x372bae--)(_0xf12321=_0x1ec84f[_0x372bae])&&(_0x205e9f=_0xf12321(_0x205e9f)||_0x205e9f);return _0x205e9f;},Ne=(_0x261920,_0x532afe)=>(_0x5a8c84,_0x3681e3)=>_0x532afe(_0x5a8c84,_0x3681e3,_0x261920),Yt=(_0x516890,_0x41d712,_0xc98969)=>Ht(_0x516890,_0x41d712+'',_0xc98969);exports[_0x138cba(0x2b3)]=class extends A[_0x138cba(0x1e8)]{constructor(_0x3d0a57=Ct,_0x33e8ee,_0x512be3,_0x53c335){const _0x260028=_0x138cba;_0x3d0a57[_0x260028(0x256)]||_0x33e8ee[_0x260028(0x2b0)](_0x260028(0x1c9)),super(),this['_configService']=_0x512be3,this[_0x260028(0x257)]=_0x53c335,this[_0x260028(0x1f9)][_0x260028(0x1ba)](fe,_0x3d0a57);}[_0x138cba(0x2e4)](){this['_registerDependencies']();}[_0x138cba(0x2aa)](){A['registerDependencies'](this['_injector'],[[it['ISocketService'],{'useClass':ke}]]);}},Yt(exports[_0x138cba(0x2b3)],_0x138cba(0x161),_0x138cba(0x303)),exports[_0x138cba(0x2b3)]=zt([A[_0x138cba(0x2b8)](st[_0x138cba(0x2ff)]),Ne(0x1,A[_0x138cba(0x2d9)]),Ne(0x2,A[_0x138cba(0x2c8)]),Ne(0x3,A['Inject'](A[_0x138cba(0x1bf)]))],exports['UniverCollaborationClientNodePlugin']);function _0x334a(_0x761693,_0x5bb5aa){const _0x42e7fd=_0x42e7();return _0x334a=function(_0x334a94,_0x395cb2){_0x334a94=_0x334a94-0x142;let _0x1b414d=_0x42e7fd[_0x334a94];return _0x1b414d;},_0x334a(_0x761693,_0x5bb5aa);}var Kt=Object[_0x138cba(0x284)],Xt=(_0x5f0264,_0x338308,_0x123ea7,_0x11abb8)=>{const _0x969cea=_0x138cba;for(var _0x5b7139=_0x11abb8>0x1?void 0x0:_0x11abb8?Kt(_0x338308,_0x123ea7):_0x338308,_0x4ba9f6=_0x5f0264[_0x969cea(0x2b7)]-0x1,_0x4e9f31;_0x4ba9f6>=0x0;_0x4ba9f6--)(_0x4e9f31=_0x5f0264[_0x4ba9f6])&&(_0x5b7139=_0x4e9f31(_0x5b7139)||_0x5b7139);return _0x5b7139;},ne=(_0x1211ed,_0x1b80bb)=>(_0x8747a6,_0x1c2ef7)=>_0x1b80bb(_0x8747a6,_0x1c2ef7,_0x1211ed);exports[_0x138cba(0x27b)]=class extends st[_0x138cba(0x2b9)]{constructor(_0x21a009,_0x4c9921,_0xefd56,_0x5340ec,_0x1fbc00){const _0x130a2e=_0x138cba;super(_0x21a009,_0x4c9921,_0xefd56,_0x5340ec,_0x1fbc00);const _0x253eed=this[_0x130a2e(0x1f9)][_0x130a2e(0x215)](fe);this[_0x130a2e(0x19f)][_0x130a2e(0x227)]({'interceptor':(_0x1e0577,_0x18c1ea)=>{const _0x1142b8=_0x130a2e;var _0x5dedfb;const _0x454c84=_0x1e0577['headers'];return(_0x5dedfb=_0x253eed==null?void 0x0:_0x253eed[_0x1142b8(0x256)])!=null&&_0x5dedfb[_0x1142b8(0x2d6)]&&_0x454c84[_0x1142b8(0x1a0)]('Cookie',_0x253eed[_0x1142b8(0x256)]['cookie']),_0x18c1ea(_0x1e0577);}});}async['createSocket'](_0x3ed5b5){const _0x6fa8fd=_0x138cba;return this[_0x6fa8fd(0x2db)](_0x3ed5b5);}},exports[_0x138cba(0x27b)]=Xt([ne(0x0,A[_0x138cba(0x27d)](A[_0x138cba(0x1bf)])),ne(0x1,A[_0x138cba(0x27d)](it[_0x138cba(0x2ad)])),ne(0x2,A[_0x138cba(0x2c8)]),ne(0x3,A['ILogService']),ne(0x4,Ot[_0x138cba(0x1df)])],exports[_0x138cba(0x27b)]),exports['COLLABORATION_CLIENT_NODE_CONFIG_KEY']=fe;
1
+ 'use strict';const _0x272a20=_0x3c7d;function _0x24b7(){const _0x285acb=['_closeFrameReceived','controlMessage','_compress','isPaused','_sender','unexpected-response','File','onmessage','handleUpgrade','pending','_final','WebSocket','getOwnPropertyDescriptor','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','protocol','write','server_no_context_takeover','emitClose','_writableState','call','WS_ERR_INVALID_UTF8','next','WebSocket\x20is\x20not\x20open:\x20readyState\x20','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','customHeaders','Invalid\x20HTTP\x20method','end','writeUIntBE','MASK\x20must\x20be\x20clear','location','request','dispatch','Invalid\x20Upgrade\x20header','slice','pause','extensionName','server_max_window_bits','defineProperty','createError','_closeMessage','_injector','OPEN','prototype','replace','target','once','FIN\x20must\x20be\x20set','_read','error','pong','pow','get','values','Max\x20payload\x20size\x20exceeded','Opening\x20handshake\x20has\x20timed\x20out','isServer','cookie','listenerCount','getPayloadLength64','getInfo','backlog','skipUTF8Validation','finish','_allowSynchronousEvents','shouldHandle','method','wasClean','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','_firstFragment','bind','readOnly','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','_socket','destroy','_closeTimer','finished','sec-websocket-origin','@univerjs/core','onopen','_fragmented','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','freeze','UniverCollaborationClientPlugin','The\x20URL\x27s\x20pathname\x20is\x20empty','_queue','parse','Cookie','arrayBuffer','invalid\x20opcode\x20','byteLength','Invalid\x20value\x20for\x20parameter\x20\x22','_removeListeners','Parameter\x20\x22','net','WS_NO_BUFFER_UTIL','pluginName','collaboration-client-node.config','extensions','_bufferedAmount','9PlRCxd','test','reason','function','invalid\x20UTF-8\x20sequence','port','toDisposable','invalid\x20status\x20code\x20','_max_window_bits','_write','_compressed','Module','noServer','followRedirects','enqueue','join','acceptAsServer','IConfigService','_paused','_isServer','read','handleEvent','has','text/html','_payloadLength','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','_fin','create','getPayloadLength16','30TNapRN','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','dataMessage','socketPath','MASK\x20must\x20be\x20set','CLOSED','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','_generateMask','sec-websocket-protocol','allocUnsafe','Invalid\x20Sec-WebSocket-Extensions\x20header','upgrade','byteOffset','Server\x20sent\x20an\x20invalid\x20subprotocol','cleanup','kWasClean','_fragments','clientMaxWindowBits','_autoPong','DependentOn','115701zVdLOY','share','password','setNoDelay','charCodeAt','_doCreateSocket','stream','generateMask','path','_destroy','push','WS_ERR_UNEXPECTED_MASK','HTTP/1.1\x20101\x20Switching\x20Protocols','WS_ERR_EXPECTED_FIN','object','catch','_receiver','__esModule','apply','flush','CONNECTING','offer','isValidUTF8','acceptAsClient','Unsupported\x20protocol\x20version:\x20','url','writable','binary','Unknown\x20parameter\x20\x22','getMask','WS_ERR_INVALID_OPCODE','The\x20server\x20is\x20not\x20running','sec-websocket-accept','redirect','concurrencyLimit','Sec-WebSocket-Protocol','kRun','_redirects','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','emit','onclose','10788384DmKflV','Upgrade:\x20websocket','then','serverNoContextTakeover','auth','nextTick','isBuffer','2597060fgkUSV','dispose','resume','serverMaxWindowBits','needDrain','maxPayload','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','kMessage','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','_messageLength','_closeCode','_mask','registerDependencies','blob','Invalid\x20URL:\x20','http:','_extensions','Sec-WebSocket-Accept:\x20','decompress','opcode','from','Unexpected\x20character\x20at\x20index\x20','Inject','readUInt32BE','binaryType','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','threshold','update','onStarting','nodebuffer','consume','\x22:\x20','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','listening','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','_url','hasOwnProperty','toLowerCase','sha1','_masked','connection','_no_context_takeover','_errored','@univerjs-pro/collaboration-client','haveLength','indexOf','_opcode','uncork','_bufferedBytes','RSV1\x20must\x20be\x20clear','_maxPayload','normalizeParams','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','close','errorEmitted','origin','maxRedirects','Sec-WebSocket-Protocol:\x20','_loop','Disposable','dequeue','crypto','_decompress','ILogService','digest','address','setHeader','headers','timeout','construct','websocket','kType','clientTracking','frame','_shouldEmitClose','The\x20URL\x20contains\x20a\x20fragment\x20identifier','COLLABORATION_CLIENT_NODE_CONFIG_KEY','arraybuffer','\x22\x20subprotocol\x20is\x20duplicated','text/plain','servername','rsv1','includes','default','_errorEmitted','permessage-deflate','number','onerror','_buffers','_skipUTF8Validation','unshift','Sec-WebSocket-Origin','conclude','jobs','hash','_options','_configService','Unexpected\x20server\x20response:\x20','_originalIpc','sec-websocket-key','sendFrame','removeAllListeners','value','unmask','destroyed','pathname','_readableState','The\x20\x22','writeHead','statusCode','completeUpgrade','toStringTag','6604235GXNAZa','type','10GJqdYX','writeUInt16BE','string','Unexpected\x20end\x20of\x20input','_maskBuffer','host','concat','kDone','server','ws+unix:','ping','username','readyState','options','Maximum\x20redirects\x20exceeded','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','allowSynchronousEvents','_state','_inflate','sec-websocket-extensions','_readyState','data','defaultPort','6178487LhpSHi','Z_DEFAULT_WINDOWBITS','captureStackTrace','getConfig','drain','size','abort','_deflate','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','removeEventListener','terminate','rxjs','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','44ugCFqO','removeListener','ISocketService','_threshold','_registerDependencies','Z_SYNC_FLUSH','buffer','pipe','createConnection','wsClientError','shift','hostname','concurrency','warn','_req','kListener','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','toString','clientNoContextTakeover','WS_ERR_EXPECTED_MASK','zlibInflateOptions','encrypted','forEach','format','setSocket','sec-websocket-version','socket','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','accept','perMessageDeflate','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','autoPong','maskBuffer','exports','createSocket','_originalSecure','species','_totalPayloadLength','createInflateRaw','Origin','\x20(supported\x20versions:\x20','message','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','open','STATUS_CODES','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','handleProtocols','entries','length','listen','code','_protocol','send','listeners','kCode','WS_ERR_UNEXPECTED_RSV_1','createDeflateRaw','GET','DisposableCollection','getBlobData','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','zlibDeflateOptions','https','env','set','readUInt16BE','map','mask','bufferedAmount','keys','clients','authorization','readable','startLoop','_closeFrameSent','alloc','compress','total-length','Plugin','isArray','getData','params','CollaborationSocketService','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','registerHTTPInterceptor','startsWith','base64','kError','fragments','\x0d\x0a\x0d\x0a','Upgrade','Observable','search','CLOSING','client_no_context_takeover','verifyClient','_server','client_max_window_bits','100900nQZhKT','endEmitted','wss:','932013senRRJ','Sec-WebSocket-Extensions:\x20','authorized','isInteger','Invalid\x20Sec-WebSocket-Protocol\x20header','cork','addEventListener','fin','add','Injector','UniverCollaborationClientNodePlugin','reset','client','href','protocolVersion','_binaryType','NodeCollaborationSocketService'];_0x24b7=function(){return _0x285acb;};return _0x24b7();}(function(_0x1f127f,_0x29e78d){const _0x3474dd=_0x3c7d,_0x5348b8=_0x1f127f();while(!![]){try{const _0x1d8cae=-parseInt(_0x3474dd(0x241))/0x1+parseInt(_0x3474dd(0x316))/0x2+-parseInt(_0x3474dd(0x2e6))/0x3*(-parseInt(_0x3474dd(0x1dc))/0x4)+parseInt(_0x3474dd(0x23e))/0x5*(parseInt(_0x3474dd(0x2d2))/0x6)+-parseInt(_0x3474dd(0x1cf))/0x7+parseInt(_0x3474dd(0x30f))/0x8*(parseInt(_0x3474dd(0x2b5))/0x9)+-parseInt(_0x3474dd(0x1b8))/0xa*(parseInt(_0x3474dd(0x1b6))/0xb);if(_0x1d8cae===_0x29e78d)break;else _0x5348b8['push'](_0x5348b8['shift']());}catch(_0x474d1e){_0x5348b8['push'](_0x5348b8['shift']());}}}(_0x24b7,0xb8db8));Object[_0x272a20(0x277)](exports,Symbol[_0x272a20(0x1b5)],{'value':'Module'});const st=require(_0x272a20(0x341)),A=require(_0x272a20(0x29f)),it=require('@univerjs/network'),V=require(_0x272a20(0x1da)),nt=require('events'),vt=require(_0x272a20(0x21a)),ot=require('http'),St=require(_0x272a20(0x2af)),Et=require('tls'),Le=require(_0x272a20(0x183)),oe=require(_0x272a20(0x2ec)),xt=require(_0x272a20(0x2ff)),bt=require('zlib'),wt=require(_0x272a20(0x1e2)),Ot=require('@univerjs-pro/collaboration'),fe=_0x272a20(0x2b2),Ct={'customHeaders':{}};function Tt(_0x3261af){const _0x49e5ab=_0x272a20;return _0x3261af&&_0x3261af[_0x49e5ab(0x2f7)]&&Object[_0x49e5ab(0x27c)][_0x49e5ab(0x33a)][_0x49e5ab(0x265)](_0x3261af,_0x49e5ab(0x199))?_0x3261af[_0x49e5ab(0x199)]:_0x3261af;}function at(_0x1d5791){const _0x52d449=_0x272a20;if(Object[_0x52d449(0x27c)][_0x52d449(0x33a)]['call'](_0x1d5791,_0x52d449(0x2f7)))return _0x1d5791;var _0xcd659c=_0x1d5791[_0x52d449(0x199)];if(typeof _0xcd659c=='function'){var _0x618d51=function _0xbd2290(){const _0x1c74e4=_0x52d449;return this instanceof _0xbd2290?Reflect[_0x1c74e4(0x18b)](_0xcd659c,arguments,this['constructor']):_0xcd659c[_0x1c74e4(0x2f8)](this,arguments);};_0x618d51[_0x52d449(0x27c)]=_0xcd659c[_0x52d449(0x27c)];}else _0x618d51={};return Object[_0x52d449(0x277)](_0x618d51,_0x52d449(0x2f7),{'value':!0x0}),Object['keys'](_0x1d5791)[_0x52d449(0x1f2)](function(_0x40e3bc){const _0x133433=_0x52d449;var _0x9362dd=Object[_0x133433(0x25e)](_0x1d5791,_0x40e3bc);Object[_0x133433(0x277)](_0x618d51,_0x40e3bc,_0x9362dd[_0x133433(0x285)]?_0x9362dd:{'enumerable':!0x0,'get':function(){return _0x1d5791[_0x40e3bc];}});}),_0x618d51;}var se={'exports':{}},ge,Ge;function H(){const _0x4658ec=_0x272a20;if(Ge)return ge;Ge=0x1;const _0x5344f0=[_0x4658ec(0x333),_0x4658ec(0x193),_0x4658ec(0x234)],_0x555838=typeof Blob<'u';return _0x555838&&_0x5344f0[_0x4658ec(0x2f0)](_0x4658ec(0x323)),ge={'BINARY_TYPES':_0x5344f0,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':_0x4658ec(0x295),'hasBlob':_0x555838,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol(_0x4658ec(0x1eb)),'kStatusCode':Symbol('status-code'),'kWebSocket':Symbol(_0x4658ec(0x18c)),'NOOP':()=>{}},ge;}const Nt={},kt=Object['freeze'](Object[_0x272a20(0x277)]({'__proto__':null,'default':Nt},Symbol[_0x272a20(0x1b5)],{'value':_0x272a20(0x2c0)})),Lt=at(kt);var Ve;function ce(){const _0x4b6c58=_0x272a20;if(Ve)return se[_0x4b6c58(0x1fd)];Ve=0x1;const {EMPTY_BUFFER:_0x165b7c}=H(),_0x246879=Buffer[Symbol[_0x4b6c58(0x200)]];function _0x34d9b0(_0x1b6867,_0x1e6b21){const _0x5c7035=_0x4b6c58;if(_0x1b6867[_0x5c7035(0x20c)]===0x0)return _0x165b7c;if(_0x1b6867['length']===0x1)return _0x1b6867[0x0];const _0x478f1a=Buffer[_0x5c7035(0x2db)](_0x1e6b21);let _0x51fc07=0x0;for(let _0x466e60=0x0;_0x466e60<_0x1b6867['length'];_0x466e60++){const _0x287f4a=_0x1b6867[_0x466e60];_0x478f1a['set'](_0x287f4a,_0x51fc07),_0x51fc07+=_0x287f4a[_0x5c7035(0x20c)];}return _0x51fc07<_0x1e6b21?new _0x246879(_0x478f1a['buffer'],_0x478f1a['byteOffset'],_0x51fc07):_0x478f1a;}function _0x5aae77(_0x4b17de,_0x531ce5,_0x4650b1,_0x48a96c,_0x2324a0){for(let _0x2ec4d1=0x0;_0x2ec4d1<_0x2324a0;_0x2ec4d1++)_0x4650b1[_0x48a96c+_0x2ec4d1]=_0x4b17de[_0x2ec4d1]^_0x531ce5[_0x2ec4d1&0x3];}function _0xf3df42(_0x215a46,_0x58fcd4){const _0x1f8935=_0x4b6c58;for(let _0x229b09=0x0;_0x229b09<_0x215a46[_0x1f8935(0x20c)];_0x229b09++)_0x215a46[_0x229b09]^=_0x58fcd4[_0x229b09&0x3];}function _0x37eb52(_0x299855){const _0x14143f=_0x4b6c58;return _0x299855['length']===_0x299855[_0x14143f(0x1e2)][_0x14143f(0x2ab)]?_0x299855[_0x14143f(0x1e2)]:_0x299855['buffer'][_0x14143f(0x273)](_0x299855[_0x14143f(0x2de)],_0x299855['byteOffset']+_0x299855[_0x14143f(0x20c)]);}function _0x5ec423(_0x5d60f5){const _0x2301c1=_0x4b6c58;if(_0x5ec423[_0x2301c1(0x298)]=!0x0,Buffer[_0x2301c1(0x315)](_0x5d60f5))return _0x5d60f5;let _0x23df54;return _0x5d60f5 instanceof ArrayBuffer?_0x23df54=new _0x246879(_0x5d60f5):ArrayBuffer['isView'](_0x5d60f5)?_0x23df54=new _0x246879(_0x5d60f5['buffer'],_0x5d60f5[_0x2301c1(0x2de)],_0x5d60f5[_0x2301c1(0x2ab)]):(_0x23df54=Buffer[_0x2301c1(0x32a)](_0x5d60f5),_0x5ec423[_0x2301c1(0x298)]=!0x1),_0x23df54;}if(se['exports']={'concat':_0x34d9b0,'mask':_0x5aae77,'toArrayBuffer':_0x37eb52,'toBuffer':_0x5ec423,'unmask':_0xf3df42},!process[_0x4b6c58(0x21b)][_0x4b6c58(0x2b0)])try{const _0x48df8d=Lt;se[_0x4b6c58(0x1fd)]['mask']=function(_0x5c84f4,_0x803daf,_0x50fa21,_0x3d3f2e,_0x179944){const _0x10a346=_0x4b6c58;_0x179944<0x30?_0x5aae77(_0x5c84f4,_0x803daf,_0x50fa21,_0x3d3f2e,_0x179944):_0x48df8d[_0x10a346(0x21f)](_0x5c84f4,_0x803daf,_0x50fa21,_0x3d3f2e,_0x179944);},se[_0x4b6c58(0x1fd)][_0x4b6c58(0x1ad)]=function(_0x528c2d,_0x14c14d){const _0x496b3f=_0x4b6c58;_0x528c2d[_0x496b3f(0x20c)]<0x20?_0xf3df42(_0x528c2d,_0x14c14d):_0x48df8d[_0x496b3f(0x1ad)](_0x528c2d,_0x14c14d);};}catch{}return se[_0x4b6c58(0x1fd)];}var ye,He;function Pt(){const _0x51c7a1=_0x272a20;if(He)return ye;He=0x1;const _0x1026cf=Symbol(_0x51c7a1(0x1bf)),_0x49e944=Symbol(_0x51c7a1(0x30a));class _0x5eb0f0{constructor(_0x5a69fe){const _0x29cfeb=_0x51c7a1;this[_0x1026cf]=()=>{const _0x4701c9=_0x3c7d;this[_0x4701c9(0x25b)]--,this[_0x49e944]();},this['concurrency']=_0x5a69fe||0x1/0x0,this[_0x29cfeb(0x1a3)]=[],this[_0x29cfeb(0x25b)]=0x0;}[_0x51c7a1(0x249)](_0x43e921){const _0xaaf4c3=_0x51c7a1;this[_0xaaf4c3(0x1a3)]['push'](_0x43e921),this[_0x49e944]();}[_0x49e944](){const _0x267e32=_0x51c7a1;if(this['pending']!==this[_0x267e32(0x1e8)]&&this[_0x267e32(0x1a3)][_0x267e32(0x20c)]){const _0xaa9d29=this[_0x267e32(0x1a3)][_0x267e32(0x1e6)]();this[_0x267e32(0x25b)]++,_0xaa9d29(this[_0x1026cf]);}}}return ye=_0x5eb0f0,ye;}var ve,ze;function he(){const _0x334ca7=_0x272a20;if(ze)return ve;ze=0x1;const _0x5d1836=bt,_0x6241bf=ce(),_0x38911a=Pt(),{kStatusCode:_0x74f3e6}=H(),_0x19b1d9=Buffer[Symbol['species']],_0x486f6e=Buffer[_0x334ca7(0x32a)]([0x0,0x0,0xff,0xff]),_0x1e1786=Symbol(_0x334ca7(0x19b)),_0x1b8735=Symbol(_0x334ca7(0x229)),_0x3416e9=Symbol('callback'),_0x12fb35=Symbol('buffers'),_0x3d4510=Symbol('error');let _0x2faa80;class _0x919be5{constructor(_0x41427b,_0x4d554e,_0x2a6f63){const _0x379c7e=_0x334ca7;if(this[_0x379c7e(0x178)]=_0x2a6f63|0x0,this[_0x379c7e(0x1a5)]=_0x41427b||{},this[_0x379c7e(0x1df)]=this[_0x379c7e(0x1a5)][_0x379c7e(0x330)]!==void 0x0?this[_0x379c7e(0x1a5)][_0x379c7e(0x330)]:0x400,this[_0x379c7e(0x2c8)]=!!_0x4d554e,this[_0x379c7e(0x1d6)]=null,this['_inflate']=null,this[_0x379c7e(0x22d)]=null,!_0x2faa80){const _0x496d55=this[_0x379c7e(0x1a5)][_0x379c7e(0x308)]!==void 0x0?this['_options'][_0x379c7e(0x308)]:0xa;_0x2faa80=new _0x38911a(_0x496d55);}}static get[_0x334ca7(0x275)](){const _0x2aaaf7=_0x334ca7;return _0x2aaaf7(0x19b);}[_0x334ca7(0x2fb)](){const _0x2c2ea5=_0x334ca7,_0x245e00={};return this['_options']['serverNoContextTakeover']&&(_0x245e00[_0x2c2ea5(0x262)]=!0x0),this[_0x2c2ea5(0x1a5)][_0x2c2ea5(0x1ee)]&&(_0x245e00[_0x2c2ea5(0x23a)]=!0x0),this[_0x2c2ea5(0x1a5)][_0x2c2ea5(0x319)]&&(_0x245e00['server_max_window_bits']=this[_0x2c2ea5(0x1a5)][_0x2c2ea5(0x319)]),this[_0x2c2ea5(0x1a5)][_0x2c2ea5(0x2e3)]?_0x245e00[_0x2c2ea5(0x23d)]=this['_options'][_0x2c2ea5(0x2e3)]:this['_options']['clientMaxWindowBits']==null&&(_0x245e00[_0x2c2ea5(0x23d)]=!0x0),_0x245e00;}[_0x334ca7(0x1f8)](_0x4b2fd){const _0x4897ff=_0x334ca7;return _0x4b2fd=this[_0x4897ff(0x179)](_0x4b2fd),this['params']=this[_0x4897ff(0x2c8)]?this[_0x4897ff(0x2c5)](_0x4b2fd):this[_0x4897ff(0x2fd)](_0x4b2fd),this['params'];}[_0x334ca7(0x2e0)](){const _0x21ef9d=_0x334ca7;if(this[_0x21ef9d(0x1ca)]&&(this[_0x21ef9d(0x1ca)]['close'](),this[_0x21ef9d(0x1ca)]=null),this['_deflate']){const _0x5c4570=this['_deflate'][_0x3416e9];this[_0x21ef9d(0x1d6)][_0x21ef9d(0x17b)](),this[_0x21ef9d(0x1d6)]=null,_0x5c4570&&_0x5c4570(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}[_0x334ca7(0x2c5)](_0x15e282){const _0x50798b=_0x334ca7,_0x3558c9=this[_0x50798b(0x1a5)],_0x1df6ed=_0x15e282['find'](_0x216ba7=>!(_0x3558c9[_0x50798b(0x312)]===!0x1&&_0x216ba7[_0x50798b(0x262)]||_0x216ba7['server_max_window_bits']&&(_0x3558c9[_0x50798b(0x319)]===!0x1||typeof _0x3558c9[_0x50798b(0x319)]=='number'&&_0x3558c9['serverMaxWindowBits']>_0x216ba7[_0x50798b(0x276)])||typeof _0x3558c9['clientMaxWindowBits']=='number'&&!_0x216ba7[_0x50798b(0x23d)]));if(!_0x1df6ed)throw new Error(_0x50798b(0x1d7));return _0x3558c9['serverNoContextTakeover']&&(_0x1df6ed[_0x50798b(0x262)]=!0x0),_0x3558c9[_0x50798b(0x1ee)]&&(_0x1df6ed[_0x50798b(0x23a)]=!0x0),typeof _0x3558c9[_0x50798b(0x319)]==_0x50798b(0x19c)&&(_0x1df6ed[_0x50798b(0x276)]=_0x3558c9[_0x50798b(0x319)]),typeof _0x3558c9[_0x50798b(0x2e3)]==_0x50798b(0x19c)?_0x1df6ed[_0x50798b(0x23d)]=_0x3558c9['clientMaxWindowBits']:(_0x1df6ed[_0x50798b(0x23d)]===!0x0||_0x3558c9[_0x50798b(0x2e3)]===!0x1)&&delete _0x1df6ed['client_max_window_bits'],_0x1df6ed;}[_0x334ca7(0x2fd)](_0x42449c){const _0x57bf76=_0x334ca7,_0x357ef9=_0x42449c[0x0];if(this[_0x57bf76(0x1a5)][_0x57bf76(0x1ee)]===!0x1&&_0x357ef9[_0x57bf76(0x23a)])throw new Error(_0x57bf76(0x1db));if(!_0x357ef9['client_max_window_bits'])typeof this[_0x57bf76(0x1a5)][_0x57bf76(0x2e3)]==_0x57bf76(0x19c)&&(_0x357ef9[_0x57bf76(0x23d)]=this['_options'][_0x57bf76(0x2e3)]);else{if(this['_options'][_0x57bf76(0x2e3)]===!0x1||typeof this[_0x57bf76(0x1a5)]['clientMaxWindowBits']=='number'&&_0x357ef9['client_max_window_bits']>this[_0x57bf76(0x1a5)][_0x57bf76(0x2e3)])throw new Error(_0x57bf76(0x299));}return _0x357ef9;}[_0x334ca7(0x179)](_0x2fa341){const _0x233f8f=_0x334ca7;return _0x2fa341[_0x233f8f(0x1f2)](_0xe5c835=>{const _0x1d0a2f=_0x233f8f;Object[_0x1d0a2f(0x221)](_0xe5c835)[_0x1d0a2f(0x1f2)](_0x5b2a15=>{const _0x6284da=_0x1d0a2f;let _0x43b70c=_0xe5c835[_0x5b2a15];if(_0x43b70c[_0x6284da(0x20c)]>0x1)throw new Error(_0x6284da(0x2ae)+_0x5b2a15+'\x22\x20must\x20have\x20only\x20a\x20single\x20value');if(_0x43b70c=_0x43b70c[0x0],_0x5b2a15===_0x6284da(0x23d)){if(_0x43b70c!==!0x0){const _0x1ba0ea=+_0x43b70c;if(!Number[_0x6284da(0x244)](_0x1ba0ea)||_0x1ba0ea<0x8||_0x1ba0ea>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x5b2a15+_0x6284da(0x335)+_0x43b70c);_0x43b70c=_0x1ba0ea;}else{if(!this['_isServer'])throw new TypeError(_0x6284da(0x2ac)+_0x5b2a15+_0x6284da(0x335)+_0x43b70c);}}else{if(_0x5b2a15===_0x6284da(0x276)){const _0xfcb424=+_0x43b70c;if(!Number[_0x6284da(0x244)](_0xfcb424)||_0xfcb424<0x8||_0xfcb424>0xf)throw new TypeError(_0x6284da(0x2ac)+_0x5b2a15+_0x6284da(0x335)+_0x43b70c);_0x43b70c=_0xfcb424;}else{if(_0x5b2a15===_0x6284da(0x23a)||_0x5b2a15==='server_no_context_takeover'){if(_0x43b70c!==!0x0)throw new TypeError(_0x6284da(0x2ac)+_0x5b2a15+_0x6284da(0x335)+_0x43b70c);}else throw new Error(_0x6284da(0x302)+_0x5b2a15+'\x22');}}_0xe5c835[_0x5b2a15]=_0x43b70c;});}),_0x2fa341;}[_0x334ca7(0x328)](_0x43b81e,_0x21bb16,_0x34afce){_0x2faa80['add'](_0x3aac1b=>{const _0x2e3a8c=_0x3c7d;this[_0x2e3a8c(0x184)](_0x43b81e,_0x21bb16,(_0x241c01,_0x725845)=>{_0x3aac1b(),_0x34afce(_0x241c01,_0x725845);});});}[_0x334ca7(0x228)](_0x31ae90,_0xe2d906,_0x5e8f24){const _0x9e796c=_0x334ca7;_0x2faa80[_0x9e796c(0x249)](_0xa0e792=>{const _0x41e7b3=_0x9e796c;this[_0x41e7b3(0x254)](_0x31ae90,_0xe2d906,(_0x135238,_0x321455)=>{_0xa0e792(),_0x5e8f24(_0x135238,_0x321455);});});}[_0x334ca7(0x184)](_0x590fc0,_0x849683,_0x3e74db){const _0x246d65=_0x334ca7,_0x15132c=this['_isServer']?_0x246d65(0x24d):_0x246d65(0x1c0);if(!this[_0x246d65(0x1ca)]){const _0x205861=_0x15132c+_0x246d65(0x2bd),_0x955e0f=typeof this[_0x246d65(0x22d)][_0x205861]!=_0x246d65(0x19c)?_0x5d1836[_0x246d65(0x1d0)]:this[_0x246d65(0x22d)][_0x205861];this[_0x246d65(0x1ca)]=_0x5d1836[_0x246d65(0x202)]({...this[_0x246d65(0x1a5)][_0x246d65(0x1f0)],'windowBits':_0x955e0f}),this[_0x246d65(0x1ca)][_0x1e1786]=this,this['_inflate'][_0x1b8735]=0x0,this['_inflate'][_0x12fb35]=[],this[_0x246d65(0x1ca)]['on'](_0x246d65(0x282),_0x453152),this[_0x246d65(0x1ca)]['on'](_0x246d65(0x1cd),_0x1aad5e);}this[_0x246d65(0x1ca)][_0x3416e9]=_0x3e74db,this[_0x246d65(0x1ca)][_0x246d65(0x261)](_0x590fc0),_0x849683&&this[_0x246d65(0x1ca)][_0x246d65(0x261)](_0x486f6e),this[_0x246d65(0x1ca)][_0x246d65(0x2f9)](()=>{const _0x1396c2=_0x246d65,_0x5bcfb2=this[_0x1396c2(0x1ca)][_0x3d4510];if(_0x5bcfb2){this[_0x1396c2(0x1ca)]['close'](),this[_0x1396c2(0x1ca)]=null,_0x3e74db(_0x5bcfb2);return;}const _0x25e3c9=_0x6241bf[_0x1396c2(0x1be)](this[_0x1396c2(0x1ca)][_0x12fb35],this[_0x1396c2(0x1ca)][_0x1b8735]);this['_inflate'][_0x1396c2(0x1b0)][_0x1396c2(0x23f)]?(this[_0x1396c2(0x1ca)][_0x1396c2(0x17b)](),this[_0x1396c2(0x1ca)]=null):(this[_0x1396c2(0x1ca)][_0x1b8735]=0x0,this['_inflate'][_0x12fb35]=[],_0x849683&&this[_0x1396c2(0x22d)][_0x15132c+_0x1396c2(0x33f)]&&this[_0x1396c2(0x1ca)][_0x1396c2(0x24c)]()),_0x3e74db(null,_0x25e3c9);});}[_0x334ca7(0x254)](_0x320bab,_0x1c1e49,_0x3dc9ae){const _0x262317=_0x334ca7,_0x5832c2=this[_0x262317(0x2c8)]?_0x262317(0x1c0):_0x262317(0x24d);if(!this[_0x262317(0x1d6)]){const _0x39c273=_0x5832c2+_0x262317(0x2bd),_0x22605f=typeof this[_0x262317(0x22d)][_0x39c273]!=_0x262317(0x19c)?_0x5d1836[_0x262317(0x1d0)]:this[_0x262317(0x22d)][_0x39c273];this['_deflate']=_0x5d1836[_0x262317(0x214)]({...this[_0x262317(0x1a5)][_0x262317(0x219)],'windowBits':_0x22605f}),this['_deflate'][_0x1b8735]=0x0,this[_0x262317(0x1d6)][_0x12fb35]=[],this['_deflate']['on'](_0x262317(0x1cd),_0x41a14e);}this[_0x262317(0x1d6)][_0x3416e9]=_0x3dc9ae,this[_0x262317(0x1d6)][_0x262317(0x261)](_0x320bab),this[_0x262317(0x1d6)][_0x262317(0x2f9)](_0x5d1836[_0x262317(0x1e1)],()=>{const _0x5cf905=_0x262317;if(!this[_0x5cf905(0x1d6)])return;let _0x4657c8=_0x6241bf[_0x5cf905(0x1be)](this[_0x5cf905(0x1d6)][_0x12fb35],this[_0x5cf905(0x1d6)][_0x1b8735]);_0x1c1e49&&(_0x4657c8=new _0x19b1d9(_0x4657c8[_0x5cf905(0x1e2)],_0x4657c8[_0x5cf905(0x2de)],_0x4657c8['length']-0x4)),this[_0x5cf905(0x1d6)][_0x3416e9]=null,this['_deflate'][_0x1b8735]=0x0,this[_0x5cf905(0x1d6)][_0x12fb35]=[],_0x1c1e49&&this[_0x5cf905(0x22d)][_0x5832c2+_0x5cf905(0x33f)]&&this[_0x5cf905(0x1d6)][_0x5cf905(0x24c)](),_0x3dc9ae(null,_0x4657c8);});}}ve=_0x919be5;function _0x41a14e(_0xa0ba20){const _0x16f7ba=_0x334ca7;this[_0x12fb35][_0x16f7ba(0x2f0)](_0xa0ba20),this[_0x1b8735]+=_0xa0ba20[_0x16f7ba(0x20c)];}function _0x1aad5e(_0x4e0c1c){const _0x69aabc=_0x334ca7;if(this[_0x1b8735]+=_0x4e0c1c[_0x69aabc(0x20c)],this[_0x1e1786]['_maxPayload']<0x1||this[_0x1b8735]<=this[_0x1e1786][_0x69aabc(0x178)]){this[_0x12fb35][_0x69aabc(0x2f0)](_0x4e0c1c);return;}this[_0x3d4510]=new RangeError(_0x69aabc(0x287)),this[_0x3d4510][_0x69aabc(0x20e)]='WS_ERR_UNSUPPORTED_MESSAGE_LENGTH',this[_0x3d4510][_0x74f3e6]=0x3f1,this[_0x69aabc(0x1dd)](_0x69aabc(0x1cd),_0x1aad5e),this[_0x69aabc(0x24c)]();}function _0x453152(_0x473135){const _0x22390f=_0x334ca7;if(this[_0x1e1786][_0x22390f(0x1ca)]=null,this[_0x3d4510]){this[_0x3416e9](this[_0x3d4510]);return;}_0x473135[_0x74f3e6]=0x3ef,this[_0x3416e9](_0x473135);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x272a20(0x2a3)](Object[_0x272a20(0x277)]({'__proto__':null,'default':Dt},Symbol['toStringTag'],{'value':_0x272a20(0x2c0)})),Bt=at(Rt);var Ye;function ae(){const _0x4c37f0=_0x272a20;if(Ye)return ie[_0x4c37f0(0x1fd)];Ye=0x1;const {isUtf8:_0x6bb3ce}=wt,{hasBlob:_0x2369e2}=H(),_0x7eaa29=[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 _0x1079ca(_0x4d71b0){return _0x4d71b0>=0x3e8&&_0x4d71b0<=0x3f6&&_0x4d71b0!==0x3ec&&_0x4d71b0!==0x3ed&&_0x4d71b0!==0x3ee||_0x4d71b0>=0xbb8&&_0x4d71b0<=0x1387;}function _0x21e289(_0x3d57f2){const _0x2d21a7=_0x4c37f0,_0x4623a9=_0x3d57f2[_0x2d21a7(0x20c)];let _0x37f806=0x0;for(;_0x37f806<_0x4623a9;)if((_0x3d57f2[_0x37f806]&0x80)===0x0)_0x37f806++;else{if((_0x3d57f2[_0x37f806]&0xe0)===0xc0){if(_0x37f806+0x1===_0x4623a9||(_0x3d57f2[_0x37f806+0x1]&0xc0)!==0x80||(_0x3d57f2[_0x37f806]&0xfe)===0xc0)return!0x1;_0x37f806+=0x2;}else{if((_0x3d57f2[_0x37f806]&0xf0)===0xe0){if(_0x37f806+0x2>=_0x4623a9||(_0x3d57f2[_0x37f806+0x1]&0xc0)!==0x80||(_0x3d57f2[_0x37f806+0x2]&0xc0)!==0x80||_0x3d57f2[_0x37f806]===0xe0&&(_0x3d57f2[_0x37f806+0x1]&0xe0)===0x80||_0x3d57f2[_0x37f806]===0xed&&(_0x3d57f2[_0x37f806+0x1]&0xe0)===0xa0)return!0x1;_0x37f806+=0x3;}else{if((_0x3d57f2[_0x37f806]&0xf8)===0xf0){if(_0x37f806+0x3>=_0x4623a9||(_0x3d57f2[_0x37f806+0x1]&0xc0)!==0x80||(_0x3d57f2[_0x37f806+0x2]&0xc0)!==0x80||(_0x3d57f2[_0x37f806+0x3]&0xc0)!==0x80||_0x3d57f2[_0x37f806]===0xf0&&(_0x3d57f2[_0x37f806+0x1]&0xf0)===0x80||_0x3d57f2[_0x37f806]===0xf4&&_0x3d57f2[_0x37f806+0x1]>0x8f||_0x3d57f2[_0x37f806]>0xf4)return!0x1;_0x37f806+=0x4;}else return!0x1;}}}return!0x0;}function _0x1bb18c(_0x1cfa98){const _0x1beb34=_0x4c37f0;return _0x2369e2&&typeof _0x1cfa98=='object'&&typeof _0x1cfa98[_0x1beb34(0x2a9)]=='function'&&typeof _0x1cfa98[_0x1beb34(0x1b7)]==_0x1beb34(0x1ba)&&typeof _0x1cfa98[_0x1beb34(0x2ec)]==_0x1beb34(0x2b8)&&(_0x1cfa98[Symbol[_0x1beb34(0x1b5)]]==='Blob'||_0x1cfa98[Symbol['toStringTag']]===_0x1beb34(0x258));}if(ie[_0x4c37f0(0x1fd)]={'isBlob':_0x1bb18c,'isValidStatusCode':_0x1079ca,'isValidUTF8':_0x21e289,'tokenChars':_0x7eaa29},_0x6bb3ce)ie[_0x4c37f0(0x1fd)][_0x4c37f0(0x2fc)]=function(_0x41e319){const _0x3700ba=_0x4c37f0;return _0x41e319[_0x3700ba(0x20c)]<0x18?_0x21e289(_0x41e319):_0x6bb3ce(_0x41e319);};else{if(!process[_0x4c37f0(0x21b)]['WS_NO_UTF_8_VALIDATE'])try{const _0x346ff6=Bt;ie[_0x4c37f0(0x1fd)]['isValidUTF8']=function(_0x135fbb){const _0x1d528e=_0x4c37f0;return _0x135fbb[_0x1d528e(0x20c)]<0x20?_0x21e289(_0x135fbb):_0x346ff6(_0x135fbb);};}catch{}}return ie[_0x4c37f0(0x1fd)];}var Se,Ke;function lt(){const _0x1a8194=_0x272a20;if(Ke)return Se;Ke=0x1;const {Writable:_0x53f1b7}=oe,_0x75dda=he(),{BINARY_TYPES:_0x1eb921,EMPTY_BUFFER:_0x32028f,kStatusCode:_0xe9d81d,kWebSocket:_0x5de3b1}=H(),{concat:_0x3bd29b,toArrayBuffer:_0x3ebed8,unmask:_0xc2c79a}=ce(),{isValidStatusCode:_0x9074f1,isValidUTF8:_0x143e0a}=ae(),_0x27daa9=Buffer[Symbol['species']],_0x5f50d8=0x0,_0x28ad70=0x1,_0x3b4915=0x2,_0x2dc8cc=0x3,_0x1412ac=0x4,_0x59e5b8=0x5,_0x29bcb6=0x6;class _0x534060 extends _0x53f1b7{constructor(_0x2a23e5={}){const _0x5c19d1=_0x3c7d;super(),this['_allowSynchronousEvents']=_0x2a23e5[_0x5c19d1(0x1c8)]!==void 0x0?_0x2a23e5['allowSynchronousEvents']:!0x0,this[_0x5c19d1(0x250)]=_0x2a23e5[_0x5c19d1(0x32e)]||_0x1eb921[0x0],this[_0x5c19d1(0x326)]=_0x2a23e5[_0x5c19d1(0x2b3)]||{},this[_0x5c19d1(0x2c8)]=!!_0x2a23e5[_0x5c19d1(0x289)],this['_maxPayload']=_0x2a23e5[_0x5c19d1(0x31b)]|0x0,this['_skipUTF8Validation']=!!_0x2a23e5['skipUTF8Validation'],this[_0x5de3b1]=void 0x0,this[_0x5c19d1(0x176)]=0x0,this[_0x5c19d1(0x19e)]=[],this[_0x5c19d1(0x2bf)]=!0x1,this[_0x5c19d1(0x2cd)]=0x0,this[_0x5c19d1(0x321)]=void 0x0,this[_0x5c19d1(0x2a1)]=0x0,this[_0x5c19d1(0x33d)]=!0x1,this['_fin']=!0x1,this[_0x5c19d1(0x174)]=0x0,this[_0x5c19d1(0x201)]=0x0,this[_0x5c19d1(0x31f)]=0x0,this[_0x5c19d1(0x2e2)]=[],this['_errored']=!0x1,this[_0x5c19d1(0x180)]=!0x1,this[_0x5c19d1(0x1c9)]=_0x5f50d8;}[_0x1a8194(0x2be)](_0x4409e4,_0x3153d5,_0x51d6bf){const _0x139b1c=_0x1a8194;if(this[_0x139b1c(0x174)]===0x8&&this[_0x139b1c(0x1c9)]==_0x5f50d8)return _0x51d6bf();this[_0x139b1c(0x176)]+=_0x4409e4[_0x139b1c(0x20c)],this[_0x139b1c(0x19e)][_0x139b1c(0x2f0)](_0x4409e4),this[_0x139b1c(0x225)](_0x51d6bf);}['consume'](_0x475659){const _0xc74bc0=_0x1a8194;if(this[_0xc74bc0(0x176)]-=_0x475659,_0x475659===this['_buffers'][0x0][_0xc74bc0(0x20c)])return this['_buffers'][_0xc74bc0(0x1e6)]();if(_0x475659<this['_buffers'][0x0][_0xc74bc0(0x20c)]){const _0x1fd85c=this[_0xc74bc0(0x19e)][0x0];return this[_0xc74bc0(0x19e)][0x0]=new _0x27daa9(_0x1fd85c['buffer'],_0x1fd85c['byteOffset']+_0x475659,_0x1fd85c[_0xc74bc0(0x20c)]-_0x475659),new _0x27daa9(_0x1fd85c[_0xc74bc0(0x1e2)],_0x1fd85c['byteOffset'],_0x475659);}const _0xabdd39=Buffer[_0xc74bc0(0x2db)](_0x475659);do{const _0x17300d=this[_0xc74bc0(0x19e)][0x0],_0x3bd4a1=_0xabdd39[_0xc74bc0(0x20c)]-_0x475659;_0x475659>=_0x17300d['length']?_0xabdd39[_0xc74bc0(0x21c)](this[_0xc74bc0(0x19e)][_0xc74bc0(0x1e6)](),_0x3bd4a1):(_0xabdd39['set'](new Uint8Array(_0x17300d[_0xc74bc0(0x1e2)],_0x17300d[_0xc74bc0(0x2de)],_0x475659),_0x3bd4a1),this['_buffers'][0x0]=new _0x27daa9(_0x17300d['buffer'],_0x17300d[_0xc74bc0(0x2de)]+_0x475659,_0x17300d[_0xc74bc0(0x20c)]-_0x475659)),_0x475659-=_0x17300d[_0xc74bc0(0x20c)];}while(_0x475659>0x0);return _0xabdd39;}[_0x1a8194(0x225)](_0x6e33ee){const _0x58b237=_0x1a8194;this[_0x58b237(0x180)]=!0x0;do switch(this['_state']){case _0x5f50d8:this[_0x58b237(0x28d)](_0x6e33ee);break;case _0x28ad70:this[_0x58b237(0x2d1)](_0x6e33ee);break;case _0x3b4915:this[_0x58b237(0x28c)](_0x6e33ee);break;case _0x2dc8cc:this['getMask']();break;case _0x1412ac:this[_0x58b237(0x22c)](_0x6e33ee);break;case _0x59e5b8:case _0x29bcb6:this[_0x58b237(0x180)]=!0x1;return;}while(this[_0x58b237(0x180)]);this[_0x58b237(0x340)]||_0x6e33ee();}[_0x1a8194(0x28d)](_0x1b0434){const _0x4502c3=_0x1a8194;if(this[_0x4502c3(0x176)]<0x2){this[_0x4502c3(0x180)]=!0x1;return;}const _0x54c80a=this[_0x4502c3(0x334)](0x2);if((_0x54c80a[0x0]&0x30)!==0x0){const _0x55c3cb=this[_0x4502c3(0x278)](RangeError,_0x4502c3(0x17a),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0x1b0434(_0x55c3cb);return;}const _0x17e989=(_0x54c80a[0x0]&0x40)===0x40;if(_0x17e989&&!this[_0x4502c3(0x326)][_0x75dda[_0x4502c3(0x275)]]){const _0xc09f99=this['createError'](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x4502c3(0x213));_0x1b0434(_0xc09f99);return;}if(this[_0x4502c3(0x2cf)]=(_0x54c80a[0x0]&0x80)===0x80,this[_0x4502c3(0x174)]=_0x54c80a[0x0]&0xf,this[_0x4502c3(0x2cd)]=_0x54c80a[0x1]&0x7f,this[_0x4502c3(0x174)]===0x0){if(_0x17e989){const _0x311f55=this[_0x4502c3(0x278)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x4502c3(0x213));_0x1b0434(_0x311f55);return;}if(!this[_0x4502c3(0x2a1)]){const _0x151e12=this['createError'](RangeError,'invalid\x20opcode\x200',!0x0,0x3ea,_0x4502c3(0x304));_0x1b0434(_0x151e12);return;}this[_0x4502c3(0x174)]=this[_0x4502c3(0x2a1)];}else{if(this[_0x4502c3(0x174)]===0x1||this[_0x4502c3(0x174)]===0x2){if(this['_fragmented']){const _0x68bc61=this[_0x4502c3(0x278)](RangeError,_0x4502c3(0x2aa)+this[_0x4502c3(0x174)],!0x0,0x3ea,_0x4502c3(0x304));_0x1b0434(_0x68bc61);return;}this[_0x4502c3(0x2bf)]=_0x17e989;}else{if(this[_0x4502c3(0x174)]>0x7&&this[_0x4502c3(0x174)]<0xb){if(!this[_0x4502c3(0x2cf)]){const _0xb7f38c=this[_0x4502c3(0x278)](RangeError,_0x4502c3(0x280),!0x0,0x3ea,_0x4502c3(0x2f3));_0x1b0434(_0xb7f38c);return;}if(_0x17e989){const _0x3d8571=this['createError'](RangeError,_0x4502c3(0x177),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x1b0434(_0x3d8571);return;}if(this[_0x4502c3(0x2cd)]>0x7d||this[_0x4502c3(0x174)]===0x8&&this[_0x4502c3(0x2cd)]===0x1){const _0x22b93b=this[_0x4502c3(0x278)](RangeError,'invalid\x20payload\x20length\x20'+this[_0x4502c3(0x2cd)],!0x0,0x3ea,'WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH');_0x1b0434(_0x22b93b);return;}}else{const _0x30d89e=this['createError'](RangeError,_0x4502c3(0x2aa)+this[_0x4502c3(0x174)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x1b0434(_0x30d89e);return;}}}if(!this[_0x4502c3(0x2cf)]&&!this[_0x4502c3(0x2a1)]&&(this[_0x4502c3(0x2a1)]=this[_0x4502c3(0x174)]),this['_masked']=(_0x54c80a[0x1]&0x80)===0x80,this[_0x4502c3(0x2c8)]){if(!this[_0x4502c3(0x33d)]){const _0x48b7f9=this[_0x4502c3(0x278)](RangeError,_0x4502c3(0x2d6),!0x0,0x3ea,_0x4502c3(0x1ef));_0x1b0434(_0x48b7f9);return;}}else{if(this[_0x4502c3(0x33d)]){const _0x3ea498=this[_0x4502c3(0x278)](RangeError,_0x4502c3(0x26e),!0x0,0x3ea,_0x4502c3(0x2f1));_0x1b0434(_0x3ea498);return;}}this['_payloadLength']===0x7e?this[_0x4502c3(0x1c9)]=_0x28ad70:this['_payloadLength']===0x7f?this[_0x4502c3(0x1c9)]=_0x3b4915:this[_0x4502c3(0x342)](_0x1b0434);}[_0x1a8194(0x2d1)](_0x58f13b){const _0x43f910=_0x1a8194;if(this[_0x43f910(0x176)]<0x2){this['_loop']=!0x1;return;}this[_0x43f910(0x2cd)]=this[_0x43f910(0x334)](0x2)[_0x43f910(0x21d)](0x0),this[_0x43f910(0x342)](_0x58f13b);}[_0x1a8194(0x28c)](_0x11da07){const _0x1d3644=_0x1a8194;if(this['_bufferedBytes']<0x8){this[_0x1d3644(0x180)]=!0x1;return;}const _0x50038e=this[_0x1d3644(0x334)](0x8),_0x26264b=_0x50038e['readUInt32BE'](0x0);if(_0x26264b>Math[_0x1d3644(0x284)](0x2,0x15)-0x1){const _0x1e481a=this[_0x1d3644(0x278)](RangeError,_0x1d3644(0x22f),!0x1,0x3f1,_0x1d3644(0x1c7));_0x11da07(_0x1e481a);return;}this[_0x1d3644(0x2cd)]=_0x26264b*Math[_0x1d3644(0x284)](0x2,0x20)+_0x50038e[_0x1d3644(0x32d)](0x4),this['haveLength'](_0x11da07);}[_0x1a8194(0x342)](_0x58842b){const _0x3702b3=_0x1a8194;if(this[_0x3702b3(0x2cd)]&&this[_0x3702b3(0x174)]<0x8&&(this['_totalPayloadLength']+=this['_payloadLength'],this[_0x3702b3(0x201)]>this[_0x3702b3(0x178)]&&this[_0x3702b3(0x178)]>0x0)){const _0x2830aa=this[_0x3702b3(0x278)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x3702b3(0x30c));_0x58842b(_0x2830aa);return;}this[_0x3702b3(0x33d)]?this['_state']=_0x2dc8cc:this['_state']=_0x1412ac;}[_0x1a8194(0x303)](){const _0x2fac9d=_0x1a8194;if(this['_bufferedBytes']<0x4){this[_0x2fac9d(0x180)]=!0x1;return;}this['_mask']=this[_0x2fac9d(0x334)](0x4),this[_0x2fac9d(0x1c9)]=_0x1412ac;}['getData'](_0x4c2be9){const _0x216d98=_0x1a8194;let _0x53b962=_0x32028f;if(this['_payloadLength']){if(this[_0x216d98(0x176)]<this[_0x216d98(0x2cd)]){this[_0x216d98(0x180)]=!0x1;return;}_0x53b962=this['consume'](this['_payloadLength']),this['_masked']&&(this[_0x216d98(0x321)][0x0]|this[_0x216d98(0x321)][0x1]|this[_0x216d98(0x321)][0x2]|this[_0x216d98(0x321)][0x3])!==0x0&&_0xc2c79a(_0x53b962,this[_0x216d98(0x321)]);}if(this[_0x216d98(0x174)]>0x7){this[_0x216d98(0x253)](_0x53b962,_0x4c2be9);return;}if(this[_0x216d98(0x2bf)]){this[_0x216d98(0x1c9)]=_0x59e5b8,this[_0x216d98(0x328)](_0x53b962,_0x4c2be9);return;}_0x53b962['length']&&(this[_0x216d98(0x31f)]=this['_totalPayloadLength'],this[_0x216d98(0x2e2)][_0x216d98(0x2f0)](_0x53b962)),this[_0x216d98(0x2d4)](_0x4c2be9);}[_0x1a8194(0x328)](_0x949d18,_0x3d860c){const _0x12c356=_0x1a8194;this[_0x12c356(0x326)][_0x75dda['extensionName']]['decompress'](_0x949d18,this['_fin'],(_0x244237,_0x7529fa)=>{const _0x1e6e78=_0x12c356;if(_0x244237)return _0x3d860c(_0x244237);if(_0x7529fa['length']){if(this['_messageLength']+=_0x7529fa['length'],this[_0x1e6e78(0x31f)]>this[_0x1e6e78(0x178)]&&this[_0x1e6e78(0x178)]>0x0){const _0xa33b18=this[_0x1e6e78(0x278)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x1e6e78(0x30c));_0x3d860c(_0xa33b18);return;}this[_0x1e6e78(0x2e2)]['push'](_0x7529fa);}this[_0x1e6e78(0x2d4)](_0x3d860c),this['_state']===_0x5f50d8&&this['startLoop'](_0x3d860c);});}[_0x1a8194(0x2d4)](_0x40dbc2){const _0xa7f741=_0x1a8194;if(!this[_0xa7f741(0x2cf)]){this[_0xa7f741(0x1c9)]=_0x5f50d8;return;}const _0x30c815=this['_messageLength'],_0x397db5=this[_0xa7f741(0x2e2)];if(this[_0xa7f741(0x201)]=0x0,this[_0xa7f741(0x31f)]=0x0,this[_0xa7f741(0x2a1)]=0x0,this['_fragments']=[],this['_opcode']===0x2){let _0x24a7fb;this[_0xa7f741(0x250)]===_0xa7f741(0x333)?_0x24a7fb=_0x3bd29b(_0x397db5,_0x30c815):this['_binaryType']===_0xa7f741(0x193)?_0x24a7fb=_0x3ebed8(_0x3bd29b(_0x397db5,_0x30c815)):this['_binaryType']==='blob'?_0x24a7fb=new Blob(_0x397db5):_0x24a7fb=_0x397db5,this[_0xa7f741(0x291)]?(this[_0xa7f741(0x30d)](_0xa7f741(0x205),_0x24a7fb,!0x0),this[_0xa7f741(0x1c9)]=_0x5f50d8):(this[_0xa7f741(0x1c9)]=_0x29bcb6,setImmediate(()=>{const _0x583916=_0xa7f741;this[_0x583916(0x30d)](_0x583916(0x205),_0x24a7fb,!0x0),this['_state']=_0x5f50d8,this[_0x583916(0x225)](_0x40dbc2);}));}else{const _0x59502a=_0x3bd29b(_0x397db5,_0x30c815);if(!this['_skipUTF8Validation']&&!_0x143e0a(_0x59502a)){const _0x57e026=this[_0xa7f741(0x278)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0xa7f741(0x266));_0x40dbc2(_0x57e026);return;}this[_0xa7f741(0x1c9)]===_0x59e5b8||this[_0xa7f741(0x291)]?(this[_0xa7f741(0x30d)](_0xa7f741(0x205),_0x59502a,!0x1),this[_0xa7f741(0x1c9)]=_0x5f50d8):(this[_0xa7f741(0x1c9)]=_0x29bcb6,setImmediate(()=>{const _0x492566=_0xa7f741;this[_0x492566(0x30d)]('message',_0x59502a,!0x1),this['_state']=_0x5f50d8,this[_0x492566(0x225)](_0x40dbc2);}));}}['controlMessage'](_0x550d91,_0x34e547){const _0x4e6bfb=_0x1a8194;if(this[_0x4e6bfb(0x174)]===0x8){if(_0x550d91[_0x4e6bfb(0x20c)]===0x0)this[_0x4e6bfb(0x180)]=!0x1,this[_0x4e6bfb(0x30d)]('conclude',0x3ed,_0x32028f),this['end']();else{const _0x1f4c2d=_0x550d91[_0x4e6bfb(0x21d)](0x0);if(!_0x9074f1(_0x1f4c2d)){const _0x182013=this[_0x4e6bfb(0x278)](RangeError,_0x4e6bfb(0x2bc)+_0x1f4c2d,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0x34e547(_0x182013);return;}const _0x22ae49=new _0x27daa9(_0x550d91[_0x4e6bfb(0x1e2)],_0x550d91['byteOffset']+0x2,_0x550d91[_0x4e6bfb(0x20c)]-0x2);if(!this[_0x4e6bfb(0x19f)]&&!_0x143e0a(_0x22ae49)){const _0x525fc5=this[_0x4e6bfb(0x278)](Error,_0x4e6bfb(0x2b9),!0x0,0x3ef,_0x4e6bfb(0x266));_0x34e547(_0x525fc5);return;}this[_0x4e6bfb(0x180)]=!0x1,this[_0x4e6bfb(0x30d)](_0x4e6bfb(0x1a2),_0x1f4c2d,_0x22ae49),this[_0x4e6bfb(0x26c)]();}this[_0x4e6bfb(0x1c9)]=_0x5f50d8;return;}this[_0x4e6bfb(0x291)]?(this[_0x4e6bfb(0x30d)](this[_0x4e6bfb(0x174)]===0x9?_0x4e6bfb(0x1c2):_0x4e6bfb(0x283),_0x550d91),this[_0x4e6bfb(0x1c9)]=_0x5f50d8):(this['_state']=_0x29bcb6,setImmediate(()=>{const _0x28c3e4=_0x4e6bfb;this[_0x28c3e4(0x30d)](this['_opcode']===0x9?'ping':_0x28c3e4(0x283),_0x550d91),this[_0x28c3e4(0x1c9)]=_0x5f50d8,this[_0x28c3e4(0x225)](_0x34e547);}));}['createError'](_0xe4096c,_0x372580,_0x1a553b,_0x489ecf,_0x58a84a){const _0x2ce4a5=_0x1a8194;this['_loop']=!0x1,this[_0x2ce4a5(0x340)]=!0x0;const _0x502fad=new _0xe4096c(_0x1a553b?'Invalid\x20WebSocket\x20frame:\x20'+_0x372580:_0x372580);return Error[_0x2ce4a5(0x1d1)](_0x502fad,this[_0x2ce4a5(0x278)]),_0x502fad[_0x2ce4a5(0x20e)]=_0x58a84a,_0x502fad[_0xe9d81d]=_0x489ecf,_0x502fad;}}return Se=_0x534060,Se;}var Ee,Xe;function ft(){const _0x33064a=_0x272a20;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x5ef9e1}=oe,{randomFillSync:_0x3f7208}=Le,_0xd740c3=he(),{EMPTY_BUFFER:_0xe8f77d,kWebSocket:_0x3aa1f7,NOOP:_0x3943e8}=H(),{isBlob:_0x15debf,isValidStatusCode:_0x175e22}=ae(),{mask:_0x2d15c8,toBuffer:_0x602010}=ce(),_0x1716a3=Symbol('kByteLength'),_0x324aaa=Buffer[_0x33064a(0x227)](0x4),_0x4b44e8=0x8*0x400;let _0x3e219e,_0x150997=_0x4b44e8;const _0x2912a3=0x0,_0x1110b6=0x1,_0x4f28f5=0x2;class _0x53fcf2{constructor(_0x205af5,_0x4aa44f,_0xdd8bf8){const _0x24e803=_0x33064a;this['_extensions']=_0x4aa44f||{},_0xdd8bf8&&(this[_0x24e803(0x2d9)]=_0xdd8bf8,this['_maskBuffer']=Buffer[_0x24e803(0x227)](0x4)),this['_socket']=_0x205af5,this['_firstFragment']=!0x0,this[_0x24e803(0x254)]=!0x1,this[_0x24e803(0x176)]=0x0,this['_queue']=[],this[_0x24e803(0x1c9)]=_0x2912a3,this['onerror']=_0x3943e8,this[_0x3aa1f7]=void 0x0;}static[_0x33064a(0x18f)](_0xc67a1,_0x247833){const _0xee01a0=_0x33064a;let _0x335244,_0x2b1fcd=!0x1,_0x3bd2aa=0x2,_0xddf896=!0x1;_0x247833[_0xee01a0(0x21f)]&&(_0x335244=_0x247833[_0xee01a0(0x1fc)]||_0x324aaa,_0x247833[_0xee01a0(0x2ed)]?_0x247833[_0xee01a0(0x2ed)](_0x335244):(_0x150997===_0x4b44e8&&(_0x3e219e===void 0x0&&(_0x3e219e=Buffer[_0xee01a0(0x227)](_0x4b44e8)),_0x3f7208(_0x3e219e,0x0,_0x4b44e8),_0x150997=0x0),_0x335244[0x0]=_0x3e219e[_0x150997++],_0x335244[0x1]=_0x3e219e[_0x150997++],_0x335244[0x2]=_0x3e219e[_0x150997++],_0x335244[0x3]=_0x3e219e[_0x150997++]),_0xddf896=(_0x335244[0x0]|_0x335244[0x1]|_0x335244[0x2]|_0x335244[0x3])===0x0,_0x3bd2aa=0x6);let _0x4e3b8c;typeof _0xc67a1==_0xee01a0(0x1ba)?(!_0x247833[_0xee01a0(0x21f)]||_0xddf896)&&_0x247833[_0x1716a3]!==void 0x0?_0x4e3b8c=_0x247833[_0x1716a3]:(_0xc67a1=Buffer[_0xee01a0(0x32a)](_0xc67a1),_0x4e3b8c=_0xc67a1[_0xee01a0(0x20c)]):(_0x4e3b8c=_0xc67a1[_0xee01a0(0x20c)],_0x2b1fcd=_0x247833[_0xee01a0(0x21f)]&&_0x247833['readOnly']&&!_0xddf896);let _0x390884=_0x4e3b8c;_0x4e3b8c>=0x10000?(_0x3bd2aa+=0x8,_0x390884=0x7f):_0x4e3b8c>0x7d&&(_0x3bd2aa+=0x2,_0x390884=0x7e);const _0x56c532=Buffer[_0xee01a0(0x2db)](_0x2b1fcd?_0x4e3b8c+_0x3bd2aa:_0x3bd2aa);return _0x56c532[0x0]=_0x247833[_0xee01a0(0x248)]?_0x247833['opcode']|0x80:_0x247833[_0xee01a0(0x329)],_0x247833[_0xee01a0(0x197)]&&(_0x56c532[0x0]|=0x40),_0x56c532[0x1]=_0x390884,_0x390884===0x7e?_0x56c532[_0xee01a0(0x1b9)](_0x4e3b8c,0x2):_0x390884===0x7f&&(_0x56c532[0x2]=_0x56c532[0x3]=0x0,_0x56c532[_0xee01a0(0x26d)](_0x4e3b8c,0x4,0x6)),_0x247833[_0xee01a0(0x21f)]?(_0x56c532[0x1]|=0x80,_0x56c532[_0x3bd2aa-0x4]=_0x335244[0x0],_0x56c532[_0x3bd2aa-0x3]=_0x335244[0x1],_0x56c532[_0x3bd2aa-0x2]=_0x335244[0x2],_0x56c532[_0x3bd2aa-0x1]=_0x335244[0x3],_0xddf896?[_0x56c532,_0xc67a1]:_0x2b1fcd?(_0x2d15c8(_0xc67a1,_0x335244,_0x56c532,_0x3bd2aa,_0x4e3b8c),[_0x56c532]):(_0x2d15c8(_0xc67a1,_0x335244,_0xc67a1,0x0,_0x4e3b8c),[_0x56c532,_0xc67a1])):[_0x56c532,_0xc67a1];}['close'](_0x27fabc,_0x2a1048,_0x5a8e81,_0x2b9671){const _0x1b5977=_0x33064a;let _0x537269;if(_0x27fabc===void 0x0)_0x537269=_0xe8f77d;else{if(typeof _0x27fabc!=_0x1b5977(0x19c)||!_0x175e22(_0x27fabc))throw new TypeError('First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number');if(_0x2a1048===void 0x0||!_0x2a1048[_0x1b5977(0x20c)])_0x537269=Buffer[_0x1b5977(0x2db)](0x2),_0x537269[_0x1b5977(0x1b9)](_0x27fabc,0x0);else{const _0x354c3b=Buffer['byteLength'](_0x2a1048);if(_0x354c3b>0x7b)throw new RangeError(_0x1b5977(0x31c));_0x537269=Buffer['allocUnsafe'](0x2+_0x354c3b),_0x537269[_0x1b5977(0x1b9)](_0x27fabc,0x0),typeof _0x2a1048==_0x1b5977(0x1ba)?_0x537269[_0x1b5977(0x261)](_0x2a1048,0x2):_0x537269['set'](_0x2a1048,0x2);}}const _0x53e81c={[_0x1716a3]:_0x537269['length'],'fin':!0x0,'generateMask':this[_0x1b5977(0x2d9)],'mask':_0x5a8e81,'maskBuffer':this[_0x1b5977(0x1bc)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x1b5977(0x1c9)]!==_0x2912a3?this['enqueue']([this[_0x1b5977(0x271)],_0x537269,!0x1,_0x53e81c,_0x2b9671]):this['sendFrame'](_0x53fcf2['frame'](_0x537269,_0x53e81c),_0x2b9671);}['ping'](_0x467643,_0x2dd68c,_0x813ea3){const _0xeace33=_0x33064a;let _0x6c8220,_0x3c2171;if(typeof _0x467643==_0xeace33(0x1ba)?(_0x6c8220=Buffer[_0xeace33(0x2ab)](_0x467643),_0x3c2171=!0x1):_0x15debf(_0x467643)?(_0x6c8220=_0x467643['size'],_0x3c2171=!0x1):(_0x467643=_0x602010(_0x467643),_0x6c8220=_0x467643[_0xeace33(0x20c)],_0x3c2171=_0x602010[_0xeace33(0x298)]),_0x6c8220>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x344838={[_0x1716a3]:_0x6c8220,'fin':!0x0,'generateMask':this[_0xeace33(0x2d9)],'mask':_0x2dd68c,'maskBuffer':this[_0xeace33(0x1bc)],'opcode':0x9,'readOnly':_0x3c2171,'rsv1':!0x1};_0x15debf(_0x467643)?this['_state']!==_0x2912a3?this['enqueue']([this[_0xeace33(0x217)],_0x467643,!0x1,_0x344838,_0x813ea3]):this[_0xeace33(0x217)](_0x467643,!0x1,_0x344838,_0x813ea3):this[_0xeace33(0x1c9)]!==_0x2912a3?this[_0xeace33(0x2c3)]([this['dispatch'],_0x467643,!0x1,_0x344838,_0x813ea3]):this[_0xeace33(0x1aa)](_0x53fcf2[_0xeace33(0x18f)](_0x467643,_0x344838),_0x813ea3);}[_0x33064a(0x283)](_0x2de46d,_0x5756a9,_0x3db5a2){const _0x23ad46=_0x33064a;let _0x404b2a,_0x2459a0;if(typeof _0x2de46d==_0x23ad46(0x1ba)?(_0x404b2a=Buffer[_0x23ad46(0x2ab)](_0x2de46d),_0x2459a0=!0x1):_0x15debf(_0x2de46d)?(_0x404b2a=_0x2de46d[_0x23ad46(0x1d4)],_0x2459a0=!0x1):(_0x2de46d=_0x602010(_0x2de46d),_0x404b2a=_0x2de46d['length'],_0x2459a0=_0x602010[_0x23ad46(0x298)]),_0x404b2a>0x7d)throw new RangeError(_0x23ad46(0x1fa));const _0x5b7999={[_0x1716a3]:_0x404b2a,'fin':!0x0,'generateMask':this[_0x23ad46(0x2d9)],'mask':_0x5756a9,'maskBuffer':this[_0x23ad46(0x1bc)],'opcode':0xa,'readOnly':_0x2459a0,'rsv1':!0x1};_0x15debf(_0x2de46d)?this['_state']!==_0x2912a3?this[_0x23ad46(0x2c3)]([this[_0x23ad46(0x217)],_0x2de46d,!0x1,_0x5b7999,_0x3db5a2]):this[_0x23ad46(0x217)](_0x2de46d,!0x1,_0x5b7999,_0x3db5a2):this['_state']!==_0x2912a3?this[_0x23ad46(0x2c3)]([this[_0x23ad46(0x271)],_0x2de46d,!0x1,_0x5b7999,_0x3db5a2]):this[_0x23ad46(0x1aa)](_0x53fcf2[_0x23ad46(0x18f)](_0x2de46d,_0x5b7999),_0x3db5a2);}[_0x33064a(0x210)](_0x1033af,_0x287bce,_0x3138d6){const _0x19eeab=_0x33064a,_0x53d852=this[_0x19eeab(0x326)][_0xd740c3[_0x19eeab(0x275)]];let _0xfd6aea=_0x287bce[_0x19eeab(0x301)]?0x2:0x1,_0x364140=_0x287bce[_0x19eeab(0x228)],_0x23af63,_0x1c7f01;typeof _0x1033af=='string'?(_0x23af63=Buffer[_0x19eeab(0x2ab)](_0x1033af),_0x1c7f01=!0x1):_0x15debf(_0x1033af)?(_0x23af63=_0x1033af[_0x19eeab(0x1d4)],_0x1c7f01=!0x1):(_0x1033af=_0x602010(_0x1033af),_0x23af63=_0x1033af[_0x19eeab(0x20c)],_0x1c7f01=_0x602010[_0x19eeab(0x298)]),this['_firstFragment']?(this['_firstFragment']=!0x1,_0x364140&&_0x53d852&&_0x53d852['params'][_0x53d852[_0x19eeab(0x2c8)]?_0x19eeab(0x262):'client_no_context_takeover']&&(_0x364140=_0x23af63>=_0x53d852['_threshold']),this[_0x19eeab(0x254)]=_0x364140):(_0x364140=!0x1,_0xfd6aea=0x0),_0x287bce[_0x19eeab(0x248)]&&(this[_0x19eeab(0x296)]=!0x0);const _0x264f8f={[_0x1716a3]:_0x23af63,'fin':_0x287bce[_0x19eeab(0x248)],'generateMask':this[_0x19eeab(0x2d9)],'mask':_0x287bce[_0x19eeab(0x21f)],'maskBuffer':this['_maskBuffer'],'opcode':_0xfd6aea,'readOnly':_0x1c7f01,'rsv1':_0x364140};_0x15debf(_0x1033af)?this[_0x19eeab(0x1c9)]!==_0x2912a3?this[_0x19eeab(0x2c3)]([this[_0x19eeab(0x217)],_0x1033af,this[_0x19eeab(0x254)],_0x264f8f,_0x3138d6]):this[_0x19eeab(0x217)](_0x1033af,this[_0x19eeab(0x254)],_0x264f8f,_0x3138d6):this[_0x19eeab(0x1c9)]!==_0x2912a3?this[_0x19eeab(0x2c3)]([this[_0x19eeab(0x271)],_0x1033af,this[_0x19eeab(0x254)],_0x264f8f,_0x3138d6]):this['dispatch'](_0x1033af,this[_0x19eeab(0x254)],_0x264f8f,_0x3138d6);}[_0x33064a(0x217)](_0x3a722b,_0x2a4ea5,_0x5b50a1,_0x5e93ee){const _0x368451=_0x33064a;this[_0x368451(0x176)]+=_0x5b50a1[_0x1716a3],this[_0x368451(0x1c9)]=_0x4f28f5,_0x3a722b[_0x368451(0x2a9)]()[_0x368451(0x311)](_0x26e2e0=>{const _0x17dee1=_0x368451;if(this[_0x17dee1(0x29a)][_0x17dee1(0x1ae)]){const _0x1b9dec=new Error(_0x17dee1(0x2d3));process[_0x17dee1(0x314)](_0x4e4740,this,_0x1b9dec,_0x5e93ee);return;}this['_bufferedBytes']-=_0x5b50a1[_0x1716a3];const _0x5a0135=_0x602010(_0x26e2e0);_0x2a4ea5?this['dispatch'](_0x5a0135,_0x2a4ea5,_0x5b50a1,_0x5e93ee):(this[_0x17dee1(0x1c9)]=_0x2912a3,this[_0x17dee1(0x1aa)](_0x53fcf2[_0x17dee1(0x18f)](_0x5a0135,_0x5b50a1),_0x5e93ee),this[_0x17dee1(0x182)]());})[_0x368451(0x2f5)](_0x13700c=>{const _0x3427ba=_0x368451;process[_0x3427ba(0x314)](_0x1fd0f,this,_0x13700c,_0x5e93ee);});}[_0x33064a(0x271)](_0x188816,_0x412765,_0x237e11,_0x2a4056){const _0x6943c=_0x33064a;if(!_0x412765){this[_0x6943c(0x1aa)](_0x53fcf2['frame'](_0x188816,_0x237e11),_0x2a4056);return;}const _0x4fb075=this['_extensions'][_0xd740c3['extensionName']];this[_0x6943c(0x176)]+=_0x237e11[_0x1716a3],this[_0x6943c(0x1c9)]=_0x1110b6,_0x4fb075[_0x6943c(0x228)](_0x188816,_0x237e11[_0x6943c(0x248)],(_0x1ebf13,_0x1f9749)=>{const _0x43fc6b=_0x6943c;if(this[_0x43fc6b(0x29a)][_0x43fc6b(0x1ae)]){const _0x85284a=new Error(_0x43fc6b(0x338));_0x4e4740(this,_0x85284a,_0x2a4056);return;}this[_0x43fc6b(0x176)]-=_0x237e11[_0x1716a3],this[_0x43fc6b(0x1c9)]=_0x2912a3,_0x237e11[_0x43fc6b(0x298)]=!0x1,this[_0x43fc6b(0x1aa)](_0x53fcf2[_0x43fc6b(0x18f)](_0x1f9749,_0x237e11),_0x2a4056),this[_0x43fc6b(0x182)]();});}[_0x33064a(0x182)](){const _0x4ba7ab=_0x33064a;for(;this['_state']===_0x2912a3&&this['_queue']['length'];){const _0x27a5dc=this[_0x4ba7ab(0x2a6)][_0x4ba7ab(0x1e6)]();this[_0x4ba7ab(0x176)]-=_0x27a5dc[0x3][_0x1716a3],Reflect[_0x4ba7ab(0x2f8)](_0x27a5dc[0x0],this,_0x27a5dc[_0x4ba7ab(0x273)](0x1));}}['enqueue'](_0x3b3a8f){const _0x2c5b76=_0x33064a;this[_0x2c5b76(0x176)]+=_0x3b3a8f[0x3][_0x1716a3],this['_queue']['push'](_0x3b3a8f);}[_0x33064a(0x1aa)](_0x426582,_0x2b6bf3){const _0x53b5ca=_0x33064a;_0x426582[_0x53b5ca(0x20c)]===0x2?(this[_0x53b5ca(0x29a)][_0x53b5ca(0x246)](),this[_0x53b5ca(0x29a)][_0x53b5ca(0x261)](_0x426582[0x0]),this[_0x53b5ca(0x29a)]['write'](_0x426582[0x1],_0x2b6bf3),this[_0x53b5ca(0x29a)][_0x53b5ca(0x175)]()):this[_0x53b5ca(0x29a)][_0x53b5ca(0x261)](_0x426582[0x0],_0x2b6bf3);}}Ee=_0x53fcf2;function _0x4e4740(_0x142aa6,_0x3cd7dd,_0x56bdd2){const _0x1ff2d6=_0x33064a;typeof _0x56bdd2==_0x1ff2d6(0x2b8)&&_0x56bdd2(_0x3cd7dd);for(let _0x173b1f=0x0;_0x173b1f<_0x142aa6['_queue'][_0x1ff2d6(0x20c)];_0x173b1f++){const _0xb6012=_0x142aa6[_0x1ff2d6(0x2a6)][_0x173b1f],_0x153a52=_0xb6012[_0xb6012[_0x1ff2d6(0x20c)]-0x1];typeof _0x153a52==_0x1ff2d6(0x2b8)&&_0x153a52(_0x3cd7dd);}}function _0x1fd0f(_0x34a639,_0x48d7e1,_0x1f5de8){const _0x3288ee=_0x33064a;_0x4e4740(_0x34a639,_0x48d7e1,_0x1f5de8),_0x34a639[_0x3288ee(0x19d)](_0x48d7e1);}return Ee;}var xe,Ze;function It(){const _0x51e642=_0x272a20;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x470d72,kListener:_0x3f829e}=H(),_0x1d58e3=Symbol(_0x51e642(0x212)),_0x3d99c4=Symbol('kData'),_0x403a6c=Symbol(_0x51e642(0x233)),_0x5b25bf=Symbol(_0x51e642(0x31d)),_0x301914=Symbol('kReason'),_0x575a26=Symbol('kTarget'),_0x16a46d=Symbol(_0x51e642(0x18d)),_0x41ea63=Symbol(_0x51e642(0x2e1));class _0x5c4ac0{constructor(_0x23d135){this[_0x575a26]=null,this[_0x16a46d]=_0x23d135;}get[_0x51e642(0x27e)](){return this[_0x575a26];}get[_0x51e642(0x1b7)](){return this[_0x16a46d];}}Object['defineProperty'](_0x5c4ac0['prototype'],_0x51e642(0x27e),{'enumerable':!0x0}),Object[_0x51e642(0x277)](_0x5c4ac0[_0x51e642(0x27c)],_0x51e642(0x1b7),{'enumerable':!0x0});class _0x27b7c0 extends _0x5c4ac0{constructor(_0x5932e1,_0x5ae13d={}){const _0x1fd707=_0x51e642;super(_0x5932e1),this[_0x1d58e3]=_0x5ae13d['code']===void 0x0?0x0:_0x5ae13d['code'],this[_0x301914]=_0x5ae13d[_0x1fd707(0x2b7)]===void 0x0?'':_0x5ae13d[_0x1fd707(0x2b7)],this[_0x41ea63]=_0x5ae13d[_0x1fd707(0x294)]===void 0x0?!0x1:_0x5ae13d[_0x1fd707(0x294)];}get['code'](){return this[_0x1d58e3];}get[_0x51e642(0x2b7)](){return this[_0x301914];}get[_0x51e642(0x294)](){return this[_0x41ea63];}}Object[_0x51e642(0x277)](_0x27b7c0[_0x51e642(0x27c)],_0x51e642(0x20e),{'enumerable':!0x0}),Object['defineProperty'](_0x27b7c0[_0x51e642(0x27c)],_0x51e642(0x2b7),{'enumerable':!0x0}),Object[_0x51e642(0x277)](_0x27b7c0[_0x51e642(0x27c)],_0x51e642(0x294),{'enumerable':!0x0});class _0x217145 extends _0x5c4ac0{constructor(_0x572877,_0x380232={}){const _0xc380da=_0x51e642;super(_0x572877),this[_0x403a6c]=_0x380232[_0xc380da(0x282)]===void 0x0?null:_0x380232['error'],this[_0x5b25bf]=_0x380232[_0xc380da(0x205)]===void 0x0?'':_0x380232['message'];}get[_0x51e642(0x282)](){return this[_0x403a6c];}get[_0x51e642(0x205)](){return this[_0x5b25bf];}}Object[_0x51e642(0x277)](_0x217145['prototype'],_0x51e642(0x282),{'enumerable':!0x0}),Object[_0x51e642(0x277)](_0x217145[_0x51e642(0x27c)],'message',{'enumerable':!0x0});class _0x2f1ef4 extends _0x5c4ac0{constructor(_0x2a36fc,_0x1b57cc={}){const _0x14d73b=_0x51e642;super(_0x2a36fc),this[_0x3d99c4]=_0x1b57cc['data']===void 0x0?null:_0x1b57cc[_0x14d73b(0x1cd)];}get[_0x51e642(0x1cd)](){return this[_0x3d99c4];}}Object[_0x51e642(0x277)](_0x2f1ef4[_0x51e642(0x27c)],_0x51e642(0x1cd),{'enumerable':!0x0}),xe={'CloseEvent':_0x27b7c0,'ErrorEvent':_0x217145,'Event':_0x5c4ac0,'EventTarget':{'addEventListener'(_0x45d626,_0x2dd46c,_0x5219a0={}){const _0x566057=_0x51e642;for(const _0x53546a of this[_0x566057(0x211)](_0x45d626))if(!_0x5219a0[_0x470d72]&&_0x53546a[_0x3f829e]===_0x2dd46c&&!_0x53546a[_0x470d72])return;let _0xd2690;if(_0x45d626===_0x566057(0x205))_0xd2690=function(_0x3b3118,_0x728a7c){const _0x3d8d7a=_0x566057,_0x4c9ee2=new _0x2f1ef4(_0x3d8d7a(0x205),{'data':_0x728a7c?_0x3b3118:_0x3b3118[_0x3d8d7a(0x1ed)]()});_0x4c9ee2[_0x575a26]=this,_0x2dcca8(_0x2dd46c,this,_0x4c9ee2);};else{if(_0x45d626==='close')_0xd2690=function(_0x383983,_0xa5841f){const _0x5ee420=_0x566057,_0x200ef8=new _0x27b7c0(_0x5ee420(0x17b),{'code':_0x383983,'reason':_0xa5841f[_0x5ee420(0x1ed)](),'wasClean':this[_0x5ee420(0x252)]&&this['_closeFrameSent']});_0x200ef8[_0x575a26]=this,_0x2dcca8(_0x2dd46c,this,_0x200ef8);};else{if(_0x45d626==='error')_0xd2690=function(_0x1436fa){const _0x5b3959=_0x566057,_0xd67260=new _0x217145(_0x5b3959(0x282),{'error':_0x1436fa,'message':_0x1436fa[_0x5b3959(0x205)]});_0xd67260[_0x575a26]=this,_0x2dcca8(_0x2dd46c,this,_0xd67260);};else{if(_0x45d626===_0x566057(0x207))_0xd2690=function(){const _0x5bc8d8=_0x566057,_0x3e6de5=new _0x5c4ac0(_0x5bc8d8(0x207));_0x3e6de5[_0x575a26]=this,_0x2dcca8(_0x2dd46c,this,_0x3e6de5);};else return;}}}_0xd2690[_0x470d72]=!!_0x5219a0[_0x470d72],_0xd2690[_0x3f829e]=_0x2dd46c,_0x5219a0['once']?this[_0x566057(0x27f)](_0x45d626,_0xd2690):this['on'](_0x45d626,_0xd2690);},'removeEventListener'(_0x3ec79a,_0x379de1){const _0x28269f=_0x51e642;for(const _0x3933c8 of this[_0x28269f(0x211)](_0x3ec79a))if(_0x3933c8[_0x3f829e]===_0x379de1&&!_0x3933c8[_0x470d72]){this[_0x28269f(0x1dd)](_0x3ec79a,_0x3933c8);break;}}},'MessageEvent':_0x2f1ef4};function _0x2dcca8(_0x584f95,_0x3e9fe4,_0x58cf44){const _0x18aac7=_0x51e642;typeof _0x584f95=='object'&&_0x584f95[_0x18aac7(0x2ca)]?_0x584f95['handleEvent'][_0x18aac7(0x265)](_0x584f95,_0x58cf44):_0x584f95[_0x18aac7(0x265)](_0x3e9fe4,_0x58cf44);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x58325f}=ae();function _0x3f05fa(_0x2925ea,_0x19cffa,_0x1c4ab3){const _0x1b0321=_0x3c7d;_0x2925ea[_0x19cffa]===void 0x0?_0x2925ea[_0x19cffa]=[_0x1c4ab3]:_0x2925ea[_0x19cffa][_0x1b0321(0x2f0)](_0x1c4ab3);}function _0x26752a(_0x3d5109){const _0x454353=_0x3c7d,_0x2fc4d5=Object['create'](null);let _0x43f998=Object['create'](null),_0x143b2c=!0x1,_0xb7236b=!0x1,_0x4d549b=!0x1,_0x4a0b46,_0x4159e0,_0x30d570=-0x1,_0x2ee238=-0x1,_0x500097=-0x1,_0x54dc3a=0x0;for(;_0x54dc3a<_0x3d5109['length'];_0x54dc3a++)if(_0x2ee238=_0x3d5109['charCodeAt'](_0x54dc3a),_0x4a0b46===void 0x0){if(_0x500097===-0x1&&_0x58325f[_0x2ee238]===0x1)_0x30d570===-0x1&&(_0x30d570=_0x54dc3a);else{if(_0x54dc3a!==0x0&&(_0x2ee238===0x20||_0x2ee238===0x9))_0x500097===-0x1&&_0x30d570!==-0x1&&(_0x500097=_0x54dc3a);else{if(_0x2ee238===0x3b||_0x2ee238===0x2c){if(_0x30d570===-0x1)throw new SyntaxError(_0x454353(0x32b)+_0x54dc3a);_0x500097===-0x1&&(_0x500097=_0x54dc3a);const _0x40986b=_0x3d5109[_0x454353(0x273)](_0x30d570,_0x500097);_0x2ee238===0x2c?(_0x3f05fa(_0x2fc4d5,_0x40986b,_0x43f998),_0x43f998=Object[_0x454353(0x2d0)](null)):_0x4a0b46=_0x40986b,_0x30d570=_0x500097=-0x1;}else throw new SyntaxError(_0x454353(0x32b)+_0x54dc3a);}}}else{if(_0x4159e0===void 0x0){if(_0x500097===-0x1&&_0x58325f[_0x2ee238]===0x1)_0x30d570===-0x1&&(_0x30d570=_0x54dc3a);else{if(_0x2ee238===0x20||_0x2ee238===0x9)_0x500097===-0x1&&_0x30d570!==-0x1&&(_0x500097=_0x54dc3a);else{if(_0x2ee238===0x3b||_0x2ee238===0x2c){if(_0x30d570===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x54dc3a);_0x500097===-0x1&&(_0x500097=_0x54dc3a),_0x3f05fa(_0x43f998,_0x3d5109[_0x454353(0x273)](_0x30d570,_0x500097),!0x0),_0x2ee238===0x2c&&(_0x3f05fa(_0x2fc4d5,_0x4a0b46,_0x43f998),_0x43f998=Object[_0x454353(0x2d0)](null),_0x4a0b46=void 0x0),_0x30d570=_0x500097=-0x1;}else{if(_0x2ee238===0x3d&&_0x30d570!==-0x1&&_0x500097===-0x1)_0x4159e0=_0x3d5109[_0x454353(0x273)](_0x30d570,_0x54dc3a),_0x30d570=_0x500097=-0x1;else throw new SyntaxError(_0x454353(0x32b)+_0x54dc3a);}}}}else{if(_0xb7236b){if(_0x58325f[_0x2ee238]!==0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x54dc3a);_0x30d570===-0x1?_0x30d570=_0x54dc3a:_0x143b2c||(_0x143b2c=!0x0),_0xb7236b=!0x1;}else{if(_0x4d549b){if(_0x58325f[_0x2ee238]===0x1)_0x30d570===-0x1&&(_0x30d570=_0x54dc3a);else{if(_0x2ee238===0x22&&_0x30d570!==-0x1)_0x4d549b=!0x1,_0x500097=_0x54dc3a;else{if(_0x2ee238===0x5c)_0xb7236b=!0x0;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x54dc3a);}}}else{if(_0x2ee238===0x22&&_0x3d5109[_0x454353(0x2ea)](_0x54dc3a-0x1)===0x3d)_0x4d549b=!0x0;else{if(_0x500097===-0x1&&_0x58325f[_0x2ee238]===0x1)_0x30d570===-0x1&&(_0x30d570=_0x54dc3a);else{if(_0x30d570!==-0x1&&(_0x2ee238===0x20||_0x2ee238===0x9))_0x500097===-0x1&&(_0x500097=_0x54dc3a);else{if(_0x2ee238===0x3b||_0x2ee238===0x2c){if(_0x30d570===-0x1)throw new SyntaxError(_0x454353(0x32b)+_0x54dc3a);_0x500097===-0x1&&(_0x500097=_0x54dc3a);let _0x2ba810=_0x3d5109['slice'](_0x30d570,_0x500097);_0x143b2c&&(_0x2ba810=_0x2ba810[_0x454353(0x27d)](/\\/g,''),_0x143b2c=!0x1),_0x3f05fa(_0x43f998,_0x4159e0,_0x2ba810),_0x2ee238===0x2c&&(_0x3f05fa(_0x2fc4d5,_0x4a0b46,_0x43f998),_0x43f998=Object['create'](null),_0x4a0b46=void 0x0),_0x4159e0=void 0x0,_0x30d570=_0x500097=-0x1;}else throw new SyntaxError(_0x454353(0x32b)+_0x54dc3a);}}}}}}}if(_0x30d570===-0x1||_0x4d549b||_0x2ee238===0x20||_0x2ee238===0x9)throw new SyntaxError(_0x454353(0x1bb));_0x500097===-0x1&&(_0x500097=_0x54dc3a);const _0x1a6464=_0x3d5109[_0x454353(0x273)](_0x30d570,_0x500097);return _0x4a0b46===void 0x0?_0x3f05fa(_0x2fc4d5,_0x1a6464,_0x43f998):(_0x4159e0===void 0x0?_0x3f05fa(_0x43f998,_0x1a6464,!0x0):_0x143b2c?_0x3f05fa(_0x43f998,_0x4159e0,_0x1a6464[_0x454353(0x27d)](/\\/g,'')):_0x3f05fa(_0x43f998,_0x4159e0,_0x1a6464),_0x3f05fa(_0x2fc4d5,_0x4a0b46,_0x43f998)),_0x2fc4d5;}function _0x25544b(_0x4374f7){const _0x431b09=_0x3c7d;return Object[_0x431b09(0x221)](_0x4374f7)[_0x431b09(0x21e)](_0x4a28d8=>{const _0x585fab=_0x431b09;let _0x4165f3=_0x4374f7[_0x4a28d8];return Array[_0x585fab(0x22b)](_0x4165f3)||(_0x4165f3=[_0x4165f3]),_0x4165f3[_0x585fab(0x21e)](_0x124fd2=>[_0x4a28d8][_0x585fab(0x1be)](Object[_0x585fab(0x221)](_0x124fd2)[_0x585fab(0x21e)](_0x44b53=>{const _0x3d483a=_0x585fab;let _0x5bc97a=_0x124fd2[_0x44b53];return Array[_0x3d483a(0x22b)](_0x5bc97a)||(_0x5bc97a=[_0x5bc97a]),_0x5bc97a['map'](_0x59ec67=>_0x59ec67===!0x0?_0x44b53:_0x44b53+'='+_0x59ec67)[_0x3d483a(0x2c4)](';\x20');}))[_0x585fab(0x2c4)](';\x20'))[_0x585fab(0x2c4)](',\x20');})['join'](',\x20');}return be={'format':_0x25544b,'parse':_0x26752a},be;}var we,Je;function Pe(){const _0x37a888=_0x272a20;if(Je)return we;Je=0x1;const _0x55dd16=nt,_0x354ecc=vt,_0x366f3c=ot,_0x2422c4=St,_0x4d4529=Et,{randomBytes:_0xa98452,createHash:_0x4cd96f}=Le,{Duplex:_0x3b9273,Readable:_0x382bf0}=oe,{URL:_0x3b59db}=xt,_0x26110b=he(),_0x476772=lt(),_0x27bede=ft(),{isBlob:_0x19472a}=ae(),{BINARY_TYPES:_0x4205c7,EMPTY_BUFFER:_0xddf5d,GUID:_0x38de3f,kForOnEventAttribute:_0x344a82,kListener:_0x196f3c,kStatusCode:_0x496df8,kWebSocket:_0x35f1f1,NOOP:_0x5dbb91}=H(),{EventTarget:{addEventListener:_0x108e73,removeEventListener:_0x26c01a}}=It(),{format:_0x2231f0,parse:_0xbf8f41}=ct(),{toBuffer:_0x4718ac}=ce(),_0x1cc582=0x1e*0x3e8,_0x3b0741=Symbol('kAborted'),_0x2615f4=[0x8,0xd],_0x41b68c=[_0x37a888(0x2fa),_0x37a888(0x27b),_0x37a888(0x239),_0x37a888(0x2d7)],_0x3173cf=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x1ad5d7 extends _0x55dd16{constructor(_0xb05d13,_0x414431,_0x2b632c){const _0x4ced96=_0x37a888;super(),this[_0x4ced96(0x250)]=_0x4205c7[0x0],this['_closeCode']=0x3ee,this['_closeFrameReceived']=!0x1,this[_0x4ced96(0x226)]=!0x1,this[_0x4ced96(0x279)]=_0xddf5d,this[_0x4ced96(0x29c)]=null,this['_errorEmitted']=!0x1,this[_0x4ced96(0x326)]={},this['_paused']=!0x1,this[_0x4ced96(0x20f)]='',this[_0x4ced96(0x1cc)]=_0x1ad5d7[_0x4ced96(0x2fa)],this[_0x4ced96(0x2f6)]=null,this[_0x4ced96(0x256)]=null,this[_0x4ced96(0x29a)]=null,_0xb05d13!==null?(this[_0x4ced96(0x2b4)]=0x0,this[_0x4ced96(0x2c8)]=!0x1,this[_0x4ced96(0x30b)]=0x0,_0x414431===void 0x0?_0x414431=[]:Array[_0x4ced96(0x22b)](_0x414431)||(typeof _0x414431==_0x4ced96(0x2f4)&&_0x414431!==null?(_0x2b632c=_0x414431,_0x414431=[]):_0x414431=[_0x414431]),_0x21fbba(this,_0xb05d13,_0x414431,_0x2b632c)):(this[_0x4ced96(0x2e4)]=_0x2b632c['autoPong'],this['_isServer']=!0x0);}get[_0x37a888(0x32e)](){return this['_binaryType'];}set[_0x37a888(0x32e)](_0x47de9f){const _0x296478=_0x37a888;_0x4205c7['includes'](_0x47de9f)&&(this['_binaryType']=_0x47de9f,this[_0x296478(0x2f6)]&&(this[_0x296478(0x2f6)]['_binaryType']=_0x47de9f));}get[_0x37a888(0x220)](){const _0x39c73d=_0x37a888;return this[_0x39c73d(0x29a)]?this[_0x39c73d(0x29a)][_0x39c73d(0x264)][_0x39c73d(0x20c)]+this[_0x39c73d(0x256)][_0x39c73d(0x176)]:this[_0x39c73d(0x2b4)];}get[_0x37a888(0x2b3)](){const _0x6cb9be=_0x37a888;return Object['keys'](this[_0x6cb9be(0x326)])[_0x6cb9be(0x2c4)]();}get['isPaused'](){const _0x5dd8eb=_0x37a888;return this[_0x5dd8eb(0x2c7)];}get[_0x37a888(0x30e)](){return null;}get[_0x37a888(0x19d)](){return null;}get[_0x37a888(0x2a0)](){return null;}get[_0x37a888(0x259)](){return null;}get[_0x37a888(0x260)](){return this['_protocol'];}get[_0x37a888(0x1c4)](){const _0x42890b=_0x37a888;return this[_0x42890b(0x1cc)];}get[_0x37a888(0x2ff)](){const _0x403f6c=_0x37a888;return this[_0x403f6c(0x339)];}['setSocket'](_0x5df094,_0x39ac7b,_0x34d203){const _0x2d9c02=_0x37a888,_0x56435b=new _0x476772({'allowSynchronousEvents':_0x34d203[_0x2d9c02(0x1c8)],'binaryType':this['binaryType'],'extensions':this['_extensions'],'isServer':this[_0x2d9c02(0x2c8)],'maxPayload':_0x34d203[_0x2d9c02(0x31b)],'skipUTF8Validation':_0x34d203[_0x2d9c02(0x28f)]}),_0x1dc6c1=new _0x27bede(_0x5df094,this[_0x2d9c02(0x326)],_0x34d203['generateMask']);this[_0x2d9c02(0x2f6)]=_0x56435b,this[_0x2d9c02(0x256)]=_0x1dc6c1,this[_0x2d9c02(0x29a)]=_0x5df094,_0x56435b[_0x35f1f1]=this,_0x1dc6c1[_0x35f1f1]=this,_0x5df094[_0x35f1f1]=this,_0x56435b['on'](_0x2d9c02(0x1a2),_0x1d3ef7),_0x56435b['on'](_0x2d9c02(0x1d3),_0x1e34d7),_0x56435b['on'](_0x2d9c02(0x282),_0x48b6b9),_0x56435b['on'](_0x2d9c02(0x205),_0x31e62c),_0x56435b['on'](_0x2d9c02(0x1c2),_0x275ef4),_0x56435b['on'](_0x2d9c02(0x283),_0x4edbd7),_0x1dc6c1[_0x2d9c02(0x19d)]=_0x49ae69,_0x5df094['setTimeout']&&_0x5df094['setTimeout'](0x0),_0x5df094[_0x2d9c02(0x2e9)]&&_0x5df094[_0x2d9c02(0x2e9)](),_0x39ac7b[_0x2d9c02(0x20c)]>0x0&&_0x5df094[_0x2d9c02(0x1a0)](_0x39ac7b),_0x5df094['on']('close',_0x2f7910),_0x5df094['on'](_0x2d9c02(0x1cd),_0x409bef),_0x5df094['on'](_0x2d9c02(0x26c),_0x51a24e),_0x5df094['on']('error',_0x4cb1ab),this[_0x2d9c02(0x1cc)]=_0x1ad5d7[_0x2d9c02(0x27b)],this['emit'](_0x2d9c02(0x207));}[_0x37a888(0x263)](){const _0x2ee400=_0x37a888;if(!this['_socket']){this[_0x2ee400(0x1cc)]=_0x1ad5d7[_0x2ee400(0x2d7)],this['emit']('close',this[_0x2ee400(0x320)],this[_0x2ee400(0x279)]);return;}this['_extensions'][_0x26110b['extensionName']]&&this['_extensions'][_0x26110b[_0x2ee400(0x275)]][_0x2ee400(0x2e0)](),this['_receiver'][_0x2ee400(0x1ab)](),this[_0x2ee400(0x1cc)]=_0x1ad5d7[_0x2ee400(0x2d7)],this[_0x2ee400(0x30d)]('close',this[_0x2ee400(0x320)],this['_closeMessage']);}[_0x37a888(0x17b)](_0x1352f6,_0x27da75){const _0xc165b5=_0x37a888;if(this[_0xc165b5(0x1c4)]!==_0x1ad5d7[_0xc165b5(0x2d7)]){if(this['readyState']===_0x1ad5d7[_0xc165b5(0x2fa)]){_0x71b02a(this,this[_0xc165b5(0x1ea)],_0xc165b5(0x31e));return;}if(this[_0xc165b5(0x1c4)]===_0x1ad5d7[_0xc165b5(0x239)]){this[_0xc165b5(0x226)]&&(this[_0xc165b5(0x252)]||this[_0xc165b5(0x2f6)][_0xc165b5(0x264)]['errorEmitted'])&&this[_0xc165b5(0x29a)][_0xc165b5(0x26c)]();return;}this[_0xc165b5(0x1cc)]=_0x1ad5d7[_0xc165b5(0x239)],this[_0xc165b5(0x256)][_0xc165b5(0x17b)](_0x1352f6,_0x27da75,!this[_0xc165b5(0x2c8)],_0x1593e3=>{const _0x32e767=_0xc165b5;_0x1593e3||(this[_0x32e767(0x226)]=!0x0,(this[_0x32e767(0x252)]||this['_receiver'][_0x32e767(0x264)][_0x32e767(0x17c)])&&this['_socket'][_0x32e767(0x26c)]());}),_0x4bf905(this);}}[_0x37a888(0x274)](){const _0x4fbcb2=_0x37a888;this[_0x4fbcb2(0x1c4)]===_0x1ad5d7['CONNECTING']||this['readyState']===_0x1ad5d7[_0x4fbcb2(0x2d7)]||(this[_0x4fbcb2(0x2c7)]=!0x0,this[_0x4fbcb2(0x29a)]['pause']());}['ping'](_0x191ddb,_0x17c7a3,_0x4185f9){const _0x230c3c=_0x37a888;if(this['readyState']===_0x1ad5d7[_0x230c3c(0x2fa)])throw new Error(_0x230c3c(0x2a2));if(typeof _0x191ddb==_0x230c3c(0x2b8)?(_0x4185f9=_0x191ddb,_0x191ddb=_0x17c7a3=void 0x0):typeof _0x17c7a3==_0x230c3c(0x2b8)&&(_0x4185f9=_0x17c7a3,_0x17c7a3=void 0x0),typeof _0x191ddb==_0x230c3c(0x19c)&&(_0x191ddb=_0x191ddb[_0x230c3c(0x1ed)]()),this[_0x230c3c(0x1c4)]!==_0x1ad5d7[_0x230c3c(0x27b)]){_0x4cb0be(this,_0x191ddb,_0x4185f9);return;}_0x17c7a3===void 0x0&&(_0x17c7a3=!this[_0x230c3c(0x2c8)]),this['_sender']['ping'](_0x191ddb||_0xddf5d,_0x17c7a3,_0x4185f9);}[_0x37a888(0x283)](_0x42fb4c,_0x33daf7,_0x1e783d){const _0x575c3c=_0x37a888;if(this['readyState']===_0x1ad5d7[_0x575c3c(0x2fa)])throw new Error(_0x575c3c(0x2a2));if(typeof _0x42fb4c==_0x575c3c(0x2b8)?(_0x1e783d=_0x42fb4c,_0x42fb4c=_0x33daf7=void 0x0):typeof _0x33daf7==_0x575c3c(0x2b8)&&(_0x1e783d=_0x33daf7,_0x33daf7=void 0x0),typeof _0x42fb4c==_0x575c3c(0x19c)&&(_0x42fb4c=_0x42fb4c['toString']()),this[_0x575c3c(0x1c4)]!==_0x1ad5d7[_0x575c3c(0x27b)]){_0x4cb0be(this,_0x42fb4c,_0x1e783d);return;}_0x33daf7===void 0x0&&(_0x33daf7=!this['_isServer']),this['_sender'][_0x575c3c(0x283)](_0x42fb4c||_0xddf5d,_0x33daf7,_0x1e783d);}[_0x37a888(0x318)](){const _0x44e179=_0x37a888;this['readyState']===_0x1ad5d7[_0x44e179(0x2fa)]||this[_0x44e179(0x1c4)]===_0x1ad5d7[_0x44e179(0x2d7)]||(this[_0x44e179(0x2c7)]=!0x1,this['_receiver']['_writableState'][_0x44e179(0x31a)]||this[_0x44e179(0x29a)]['resume']());}[_0x37a888(0x210)](_0x5a0774,_0xb6ed9e,_0x1de420){const _0x44ab8c=_0x37a888;if(this[_0x44ab8c(0x1c4)]===_0x1ad5d7[_0x44ab8c(0x2fa)])throw new Error(_0x44ab8c(0x2a2));if(typeof _0xb6ed9e==_0x44ab8c(0x2b8)&&(_0x1de420=_0xb6ed9e,_0xb6ed9e={}),typeof _0x5a0774==_0x44ab8c(0x19c)&&(_0x5a0774=_0x5a0774['toString']()),this[_0x44ab8c(0x1c4)]!==_0x1ad5d7['OPEN']){_0x4cb0be(this,_0x5a0774,_0x1de420);return;}const _0x4982bc={'binary':typeof _0x5a0774!=_0x44ab8c(0x1ba),'mask':!this[_0x44ab8c(0x2c8)],'compress':!0x0,'fin':!0x0,..._0xb6ed9e};this[_0x44ab8c(0x326)][_0x26110b['extensionName']]||(_0x4982bc[_0x44ab8c(0x228)]=!0x1),this[_0x44ab8c(0x256)]['send'](_0x5a0774||_0xddf5d,_0x4982bc,_0x1de420);}[_0x37a888(0x1d9)](){const _0x2b8bd0=_0x37a888;if(this[_0x2b8bd0(0x1c4)]!==_0x1ad5d7[_0x2b8bd0(0x2d7)]){if(this['readyState']===_0x1ad5d7[_0x2b8bd0(0x2fa)]){_0x71b02a(this,this[_0x2b8bd0(0x1ea)],_0x2b8bd0(0x31e));return;}this[_0x2b8bd0(0x29a)]&&(this[_0x2b8bd0(0x1cc)]=_0x1ad5d7[_0x2b8bd0(0x239)],this['_socket'][_0x2b8bd0(0x29b)]());}}}Object[_0x37a888(0x277)](_0x1ad5d7,'CONNECTING',{'enumerable':!0x0,'value':_0x41b68c[_0x37a888(0x343)](_0x37a888(0x2fa))}),Object[_0x37a888(0x277)](_0x1ad5d7[_0x37a888(0x27c)],'CONNECTING',{'enumerable':!0x0,'value':_0x41b68c[_0x37a888(0x343)](_0x37a888(0x2fa))}),Object['defineProperty'](_0x1ad5d7,_0x37a888(0x27b),{'enumerable':!0x0,'value':_0x41b68c[_0x37a888(0x343)]('OPEN')}),Object[_0x37a888(0x277)](_0x1ad5d7[_0x37a888(0x27c)],_0x37a888(0x27b),{'enumerable':!0x0,'value':_0x41b68c[_0x37a888(0x343)](_0x37a888(0x27b))}),Object['defineProperty'](_0x1ad5d7,_0x37a888(0x239),{'enumerable':!0x0,'value':_0x41b68c[_0x37a888(0x343)](_0x37a888(0x239))}),Object[_0x37a888(0x277)](_0x1ad5d7[_0x37a888(0x27c)],_0x37a888(0x239),{'enumerable':!0x0,'value':_0x41b68c[_0x37a888(0x343)](_0x37a888(0x239))}),Object[_0x37a888(0x277)](_0x1ad5d7,'CLOSED',{'enumerable':!0x0,'value':_0x41b68c[_0x37a888(0x343)](_0x37a888(0x2d7))}),Object['defineProperty'](_0x1ad5d7[_0x37a888(0x27c)],_0x37a888(0x2d7),{'enumerable':!0x0,'value':_0x41b68c[_0x37a888(0x343)]('CLOSED')}),[_0x37a888(0x32e),_0x37a888(0x220),_0x37a888(0x2b3),'isPaused',_0x37a888(0x260),_0x37a888(0x1c4),_0x37a888(0x2ff)][_0x37a888(0x1f2)](_0x3716eb=>{const _0x50be4d=_0x37a888;Object[_0x50be4d(0x277)](_0x1ad5d7[_0x50be4d(0x27c)],_0x3716eb,{'enumerable':!0x0});}),['open','error',_0x37a888(0x17b),_0x37a888(0x205)][_0x37a888(0x1f2)](_0x537f41=>{const _0x2df2fc=_0x37a888;Object['defineProperty'](_0x1ad5d7[_0x2df2fc(0x27c)],'on'+_0x537f41,{'enumerable':!0x0,'get'(){const _0x115120=_0x2df2fc;for(const _0x41da46 of this[_0x115120(0x211)](_0x537f41))if(_0x41da46[_0x344a82])return _0x41da46[_0x196f3c];return null;},'set'(_0x3c2a51){const _0x5ac223=_0x2df2fc;for(const _0x571a17 of this['listeners'](_0x537f41))if(_0x571a17[_0x344a82]){this['removeListener'](_0x537f41,_0x571a17);break;}typeof _0x3c2a51==_0x5ac223(0x2b8)&&this['addEventListener'](_0x537f41,_0x3c2a51,{[_0x344a82]:!0x0});}});}),_0x1ad5d7[_0x37a888(0x27c)][_0x37a888(0x247)]=_0x108e73,_0x1ad5d7['prototype'][_0x37a888(0x1d8)]=_0x26c01a,we=_0x1ad5d7;function _0x21fbba(_0x4631b0,_0x3eb9bc,_0x364fe3,_0x56ce62){const _0x494fe3=_0x37a888,_0xa303bf={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x2615f4[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x56ce62,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x494fe3(0x215),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x4631b0[_0x494fe3(0x2e4)]=_0xa303bf[_0x494fe3(0x1fb)],!_0x2615f4[_0x494fe3(0x198)](_0xa303bf[_0x494fe3(0x24f)]))throw new RangeError(_0x494fe3(0x2fe)+_0xa303bf[_0x494fe3(0x24f)]+_0x494fe3(0x204)+_0x2615f4['join'](',\x20')+')');let _0x42cda9;if(_0x3eb9bc instanceof _0x3b59db)_0x42cda9=_0x3eb9bc;else try{_0x42cda9=new _0x3b59db(_0x3eb9bc);}catch{throw new SyntaxError(_0x494fe3(0x324)+_0x3eb9bc);}_0x42cda9['protocol']===_0x494fe3(0x325)?_0x42cda9[_0x494fe3(0x260)]='ws:':_0x42cda9[_0x494fe3(0x260)]==='https:'&&(_0x42cda9[_0x494fe3(0x260)]=_0x494fe3(0x240)),_0x4631b0['_url']=_0x42cda9[_0x494fe3(0x24e)];const _0x1f5463=_0x42cda9[_0x494fe3(0x260)]===_0x494fe3(0x240),_0x5d1b65=_0x42cda9[_0x494fe3(0x260)]===_0x494fe3(0x1c1);let _0x6df25c;if(_0x42cda9[_0x494fe3(0x260)]!=='ws:'&&!_0x1f5463&&!_0x5d1b65?_0x6df25c=_0x494fe3(0x25f):_0x5d1b65&&!_0x42cda9[_0x494fe3(0x1af)]?_0x6df25c=_0x494fe3(0x2a5):_0x42cda9[_0x494fe3(0x1a4)]&&(_0x6df25c=_0x494fe3(0x191)),_0x6df25c){const _0x8a5675=new SyntaxError(_0x6df25c);if(_0x4631b0[_0x494fe3(0x30b)]===0x0)throw _0x8a5675;_0xc4b1df(_0x4631b0,_0x8a5675);return;}const _0x5f522b=_0x1f5463?0x1bb:0x50,_0x181a4d=_0xa98452(0x10)[_0x494fe3(0x1ed)](_0x494fe3(0x232)),_0x4d5311=_0x1f5463?_0x354ecc[_0x494fe3(0x270)]:_0x366f3c[_0x494fe3(0x270)],_0x47d9dc=new Set();let _0x349af0;if(_0xa303bf[_0x494fe3(0x1e4)]=_0xa303bf[_0x494fe3(0x1e4)]||(_0x1f5463?_0x34b115:_0x303ce9),_0xa303bf[_0x494fe3(0x1ce)]=_0xa303bf[_0x494fe3(0x1ce)]||_0x5f522b,_0xa303bf[_0x494fe3(0x2ba)]=_0x42cda9[_0x494fe3(0x2ba)]||_0x5f522b,_0xa303bf[_0x494fe3(0x1bd)]=_0x42cda9['hostname'][_0x494fe3(0x231)]('[')?_0x42cda9['hostname'][_0x494fe3(0x273)](0x1,-0x1):_0x42cda9[_0x494fe3(0x1e7)],_0xa303bf[_0x494fe3(0x189)]={..._0xa303bf['headers'],'Sec-WebSocket-Version':_0xa303bf['protocolVersion'],'Sec-WebSocket-Key':_0x181a4d,'Connection':_0x494fe3(0x236),'Upgrade':'websocket'},_0xa303bf[_0x494fe3(0x2ee)]=_0x42cda9[_0x494fe3(0x1af)]+_0x42cda9[_0x494fe3(0x238)],_0xa303bf[_0x494fe3(0x18a)]=_0xa303bf['handshakeTimeout'],_0xa303bf['perMessageDeflate']&&(_0x349af0=new _0x26110b(_0xa303bf['perMessageDeflate']!==!0x0?_0xa303bf[_0x494fe3(0x1f9)]:{},!0x1,_0xa303bf[_0x494fe3(0x31b)]),_0xa303bf[_0x494fe3(0x189)]['Sec-WebSocket-Extensions']=_0x2231f0({[_0x26110b[_0x494fe3(0x275)]]:_0x349af0[_0x494fe3(0x2fb)]()})),_0x364fe3[_0x494fe3(0x20c)]){for(const _0x2cd650 of _0x364fe3){if(typeof _0x2cd650!=_0x494fe3(0x1ba)||!_0x3173cf[_0x494fe3(0x2b6)](_0x2cd650)||_0x47d9dc[_0x494fe3(0x2cb)](_0x2cd650))throw new SyntaxError(_0x494fe3(0x269));_0x47d9dc[_0x494fe3(0x249)](_0x2cd650);}_0xa303bf[_0x494fe3(0x189)][_0x494fe3(0x309)]=_0x364fe3[_0x494fe3(0x2c4)](',');}if(_0xa303bf[_0x494fe3(0x17d)]&&(_0xa303bf['protocolVersion']<0xd?_0xa303bf[_0x494fe3(0x189)][_0x494fe3(0x1a1)]=_0xa303bf[_0x494fe3(0x17d)]:_0xa303bf[_0x494fe3(0x189)][_0x494fe3(0x203)]=_0xa303bf[_0x494fe3(0x17d)]),(_0x42cda9[_0x494fe3(0x1c3)]||_0x42cda9[_0x494fe3(0x2e8)])&&(_0xa303bf[_0x494fe3(0x313)]=_0x42cda9[_0x494fe3(0x1c3)]+':'+_0x42cda9[_0x494fe3(0x2e8)]),_0x5d1b65){const _0x16e0ff=_0xa303bf[_0x494fe3(0x2ee)]['split'](':');_0xa303bf['socketPath']=_0x16e0ff[0x0],_0xa303bf['path']=_0x16e0ff[0x1];}let _0x9941cd;if(_0xa303bf[_0x494fe3(0x2c2)]){if(_0x4631b0[_0x494fe3(0x30b)]===0x0){_0x4631b0[_0x494fe3(0x1a8)]=_0x5d1b65,_0x4631b0[_0x494fe3(0x1ff)]=_0x1f5463,_0x4631b0['_originalHostOrSocketPath']=_0x5d1b65?_0xa303bf['socketPath']:_0x42cda9['host'];const _0x403c88=_0x56ce62&&_0x56ce62[_0x494fe3(0x189)];if(_0x56ce62={..._0x56ce62,'headers':{}},_0x403c88){for(const [_0x4478c2,_0x2285a7]of Object[_0x494fe3(0x20b)](_0x403c88))_0x56ce62[_0x494fe3(0x189)][_0x4478c2['toLowerCase']()]=_0x2285a7;}}else{if(_0x4631b0[_0x494fe3(0x28b)]('redirect')===0x0){const _0x12e6eb=_0x5d1b65?_0x4631b0[_0x494fe3(0x1a8)]?_0xa303bf[_0x494fe3(0x2d5)]===_0x4631b0['_originalHostOrSocketPath']:!0x1:_0x4631b0['_originalIpc']?!0x1:_0x42cda9[_0x494fe3(0x1bd)]===_0x4631b0['_originalHostOrSocketPath'];(!_0x12e6eb||_0x4631b0[_0x494fe3(0x1ff)]&&!_0x1f5463)&&(delete _0xa303bf[_0x494fe3(0x189)][_0x494fe3(0x223)],delete _0xa303bf[_0x494fe3(0x189)]['cookie'],_0x12e6eb||delete _0xa303bf[_0x494fe3(0x189)][_0x494fe3(0x1bd)],_0xa303bf['auth']=void 0x0);}}_0xa303bf[_0x494fe3(0x313)]&&!_0x56ce62['headers'][_0x494fe3(0x223)]&&(_0x56ce62['headers'][_0x494fe3(0x223)]='Basic\x20'+Buffer[_0x494fe3(0x32a)](_0xa303bf[_0x494fe3(0x313)])[_0x494fe3(0x1ed)](_0x494fe3(0x232))),_0x9941cd=_0x4631b0[_0x494fe3(0x1ea)]=_0x4d5311(_0xa303bf),_0x4631b0[_0x494fe3(0x30b)]&&_0x4631b0['emit'](_0x494fe3(0x307),_0x4631b0[_0x494fe3(0x2ff)],_0x9941cd);}else _0x9941cd=_0x4631b0[_0x494fe3(0x1ea)]=_0x4d5311(_0xa303bf);_0xa303bf[_0x494fe3(0x18a)]&&_0x9941cd['on']('timeout',()=>{const _0x419b2a=_0x494fe3;_0x71b02a(_0x4631b0,_0x9941cd,_0x419b2a(0x288));}),_0x9941cd['on'](_0x494fe3(0x282),_0x2042ca=>{const _0x421d85=_0x494fe3;_0x9941cd===null||_0x9941cd[_0x3b0741]||(_0x9941cd=_0x4631b0[_0x421d85(0x1ea)]=null,_0xc4b1df(_0x4631b0,_0x2042ca));}),_0x9941cd['on']('response',_0x1199f3=>{const _0x1c9c32=_0x494fe3,_0x57e35c=_0x1199f3[_0x1c9c32(0x189)][_0x1c9c32(0x26f)],_0x47e8fd=_0x1199f3['statusCode'];if(_0x57e35c&&_0xa303bf[_0x1c9c32(0x2c2)]&&_0x47e8fd>=0x12c&&_0x47e8fd<0x190){if(++_0x4631b0[_0x1c9c32(0x30b)]>_0xa303bf[_0x1c9c32(0x17e)]){_0x71b02a(_0x4631b0,_0x9941cd,_0x1c9c32(0x1c6));return;}_0x9941cd['abort']();let _0x2f8aba;try{_0x2f8aba=new _0x3b59db(_0x57e35c,_0x3eb9bc);}catch{const _0x4b8927=new SyntaxError(_0x1c9c32(0x324)+_0x57e35c);_0xc4b1df(_0x4631b0,_0x4b8927);return;}_0x21fbba(_0x4631b0,_0x2f8aba,_0x364fe3,_0x56ce62);}else _0x4631b0[_0x1c9c32(0x30d)](_0x1c9c32(0x257),_0x9941cd,_0x1199f3)||_0x71b02a(_0x4631b0,_0x9941cd,_0x1c9c32(0x1a7)+_0x1199f3[_0x1c9c32(0x1b3)]);}),_0x9941cd['on'](_0x494fe3(0x2dd),(_0xd8b46d,_0x5a4667,_0x258506)=>{const _0x5d3583=_0x494fe3;if(_0x4631b0[_0x5d3583(0x30d)](_0x5d3583(0x2dd),_0xd8b46d),_0x4631b0[_0x5d3583(0x1c4)]!==_0x1ad5d7[_0x5d3583(0x2fa)])return;_0x9941cd=_0x4631b0['_req']=null;const _0x2e8ff2=_0xd8b46d[_0x5d3583(0x189)]['upgrade'];if(_0x2e8ff2===void 0x0||_0x2e8ff2[_0x5d3583(0x33b)]()!==_0x5d3583(0x18c)){_0x71b02a(_0x4631b0,_0x5a4667,'Invalid\x20Upgrade\x20header');return;}const _0x42098c=_0x4cd96f(_0x5d3583(0x33c))[_0x5d3583(0x331)](_0x181a4d+_0x38de3f)[_0x5d3583(0x186)](_0x5d3583(0x232));if(_0xd8b46d[_0x5d3583(0x189)][_0x5d3583(0x306)]!==_0x42098c){_0x71b02a(_0x4631b0,_0x5a4667,'Invalid\x20Sec-WebSocket-Accept\x20header');return;}const _0x1a8847=_0xd8b46d[_0x5d3583(0x189)][_0x5d3583(0x2da)];let _0x12f5b9;if(_0x1a8847!==void 0x0?_0x47d9dc[_0x5d3583(0x1d4)]?_0x47d9dc[_0x5d3583(0x2cb)](_0x1a8847)||(_0x12f5b9=_0x5d3583(0x2df)):_0x12f5b9=_0x5d3583(0x209):_0x47d9dc[_0x5d3583(0x1d4)]&&(_0x12f5b9='Server\x20sent\x20no\x20subprotocol'),_0x12f5b9){_0x71b02a(_0x4631b0,_0x5a4667,_0x12f5b9);return;}_0x1a8847&&(_0x4631b0[_0x5d3583(0x20f)]=_0x1a8847);const _0x19c579=_0xd8b46d['headers'][_0x5d3583(0x1cb)];if(_0x19c579!==void 0x0){if(!_0x349af0){_0x71b02a(_0x4631b0,_0x5a4667,_0x5d3583(0x206));return;}let _0x19cb96;try{_0x19cb96=_0xbf8f41(_0x19c579);}catch{_0x71b02a(_0x4631b0,_0x5a4667,_0x5d3583(0x2dc));return;}const _0x16184b=Object[_0x5d3583(0x221)](_0x19cb96);if(_0x16184b[_0x5d3583(0x20c)]!==0x1||_0x16184b[0x0]!==_0x26110b[_0x5d3583(0x275)]){_0x71b02a(_0x4631b0,_0x5a4667,_0x5d3583(0x1ec));return;}try{_0x349af0['accept'](_0x19cb96[_0x26110b[_0x5d3583(0x275)]]);}catch{_0x71b02a(_0x4631b0,_0x5a4667,_0x5d3583(0x2dc));return;}_0x4631b0[_0x5d3583(0x326)][_0x26110b['extensionName']]=_0x349af0;}_0x4631b0[_0x5d3583(0x1f4)](_0x5a4667,_0x258506,{'allowSynchronousEvents':_0xa303bf[_0x5d3583(0x1c8)],'generateMask':_0xa303bf['generateMask'],'maxPayload':_0xa303bf[_0x5d3583(0x31b)],'skipUTF8Validation':_0xa303bf[_0x5d3583(0x28f)]});}),_0xa303bf['finishRequest']?_0xa303bf['finishRequest'](_0x9941cd,_0x4631b0):_0x9941cd[_0x494fe3(0x26c)]();}function _0xc4b1df(_0x328aad,_0x32a549){const _0x1d7635=_0x37a888;_0x328aad['_readyState']=_0x1ad5d7[_0x1d7635(0x239)],_0x328aad[_0x1d7635(0x19a)]=!0x0,_0x328aad[_0x1d7635(0x30d)](_0x1d7635(0x282),_0x32a549),_0x328aad['emitClose']();}function _0x303ce9(_0x4b40fe){const _0x42ae07=_0x37a888;return _0x4b40fe[_0x42ae07(0x2ee)]=_0x4b40fe['socketPath'],_0x2422c4['connect'](_0x4b40fe);}function _0x34b115(_0x3cb267){const _0x2d46f3=_0x37a888;return _0x3cb267[_0x2d46f3(0x2ee)]=void 0x0,!_0x3cb267[_0x2d46f3(0x196)]&&_0x3cb267['servername']!==''&&(_0x3cb267[_0x2d46f3(0x196)]=_0x2422c4['isIP'](_0x3cb267[_0x2d46f3(0x1bd)])?'':_0x3cb267['host']),_0x4d4529['connect'](_0x3cb267);}function _0x71b02a(_0x34e50f,_0x5c7acc,_0x352ec9){const _0x52060a=_0x37a888;_0x34e50f[_0x52060a(0x1cc)]=_0x1ad5d7[_0x52060a(0x239)];const _0x173d2f=new Error(_0x352ec9);Error[_0x52060a(0x1d1)](_0x173d2f,_0x71b02a),_0x5c7acc[_0x52060a(0x188)]?(_0x5c7acc[_0x3b0741]=!0x0,_0x5c7acc[_0x52060a(0x1d5)](),_0x5c7acc[_0x52060a(0x1f6)]&&!_0x5c7acc['socket'][_0x52060a(0x1ae)]&&_0x5c7acc[_0x52060a(0x1f6)]['destroy'](),process[_0x52060a(0x314)](_0xc4b1df,_0x34e50f,_0x173d2f)):(_0x5c7acc['destroy'](_0x173d2f),_0x5c7acc[_0x52060a(0x27f)](_0x52060a(0x282),_0x34e50f[_0x52060a(0x30d)]['bind'](_0x34e50f,_0x52060a(0x282))),_0x5c7acc[_0x52060a(0x27f)](_0x52060a(0x17b),_0x34e50f[_0x52060a(0x263)][_0x52060a(0x297)](_0x34e50f)));}function _0x4cb0be(_0x40acd2,_0x3c129e,_0x4647b1){const _0x871852=_0x37a888;if(_0x3c129e){const _0x482c49=_0x19472a(_0x3c129e)?_0x3c129e[_0x871852(0x1d4)]:_0x4718ac(_0x3c129e)[_0x871852(0x20c)];_0x40acd2[_0x871852(0x29a)]?_0x40acd2[_0x871852(0x256)]['_bufferedBytes']+=_0x482c49:_0x40acd2['_bufferedAmount']+=_0x482c49;}if(_0x4647b1){const _0x989438=new Error(_0x871852(0x268)+_0x40acd2[_0x871852(0x1c4)]+'\x20('+_0x41b68c[_0x40acd2['readyState']]+')');process[_0x871852(0x314)](_0x4647b1,_0x989438);}}function _0x1d3ef7(_0x2d0e5e,_0x1798fb){const _0x404b89=_0x37a888,_0x2e09a1=this[_0x35f1f1];_0x2e09a1[_0x404b89(0x252)]=!0x0,_0x2e09a1[_0x404b89(0x279)]=_0x1798fb,_0x2e09a1['_closeCode']=_0x2d0e5e,_0x2e09a1[_0x404b89(0x29a)][_0x35f1f1]!==void 0x0&&(_0x2e09a1[_0x404b89(0x29a)][_0x404b89(0x1dd)](_0x404b89(0x1cd),_0x409bef),process[_0x404b89(0x314)](_0x2c2be8,_0x2e09a1[_0x404b89(0x29a)]),_0x2d0e5e===0x3ed?_0x2e09a1['close']():_0x2e09a1['close'](_0x2d0e5e,_0x1798fb));}function _0x1e34d7(){const _0x2d9f8a=_0x37a888,_0x207a5a=this[_0x35f1f1];_0x207a5a[_0x2d9f8a(0x255)]||_0x207a5a[_0x2d9f8a(0x29a)]['resume']();}function _0x48b6b9(_0x24fdb2){const _0x1e2d0a=_0x37a888,_0xafc5a4=this[_0x35f1f1];_0xafc5a4[_0x1e2d0a(0x29a)][_0x35f1f1]!==void 0x0&&(_0xafc5a4[_0x1e2d0a(0x29a)][_0x1e2d0a(0x1dd)]('data',_0x409bef),process[_0x1e2d0a(0x314)](_0x2c2be8,_0xafc5a4[_0x1e2d0a(0x29a)]),_0xafc5a4['close'](_0x24fdb2[_0x496df8])),_0xafc5a4[_0x1e2d0a(0x19a)]||(_0xafc5a4['_errorEmitted']=!0x0,_0xafc5a4[_0x1e2d0a(0x30d)](_0x1e2d0a(0x282),_0x24fdb2));}function _0x52c49d(){const _0x1f2ecf=_0x37a888;this[_0x35f1f1][_0x1f2ecf(0x263)]();}function _0x31e62c(_0x5337ae,_0x1e7de8){const _0x36bada=_0x37a888;this[_0x35f1f1][_0x36bada(0x30d)](_0x36bada(0x205),_0x5337ae,_0x1e7de8);}function _0x275ef4(_0x5016eb){const _0x29023b=_0x37a888,_0x198194=this[_0x35f1f1];_0x198194[_0x29023b(0x2e4)]&&_0x198194[_0x29023b(0x283)](_0x5016eb,!this[_0x29023b(0x2c8)],_0x5dbb91),_0x198194['emit'](_0x29023b(0x1c2),_0x5016eb);}function _0x4edbd7(_0x3cfe76){const _0x4287f0=_0x37a888;this[_0x35f1f1][_0x4287f0(0x30d)](_0x4287f0(0x283),_0x3cfe76);}function _0x2c2be8(_0x8ee374){const _0x148e0c=_0x37a888;_0x8ee374[_0x148e0c(0x318)]();}function _0x49ae69(_0x33013d){const _0x175c7d=_0x37a888,_0x5128f8=this[_0x35f1f1];_0x5128f8['readyState']!==_0x1ad5d7[_0x175c7d(0x2d7)]&&(_0x5128f8[_0x175c7d(0x1c4)]===_0x1ad5d7[_0x175c7d(0x27b)]&&(_0x5128f8[_0x175c7d(0x1cc)]=_0x1ad5d7[_0x175c7d(0x239)],_0x4bf905(_0x5128f8)),this[_0x175c7d(0x29a)][_0x175c7d(0x26c)](),_0x5128f8[_0x175c7d(0x19a)]||(_0x5128f8[_0x175c7d(0x19a)]=!0x0,_0x5128f8[_0x175c7d(0x30d)](_0x175c7d(0x282),_0x33013d)));}function _0x4bf905(_0x31d95b){const _0x22a7fd=_0x37a888;_0x31d95b[_0x22a7fd(0x29c)]=setTimeout(_0x31d95b[_0x22a7fd(0x29a)][_0x22a7fd(0x29b)]['bind'](_0x31d95b['_socket']),_0x1cc582);}function _0x2f7910(){const _0x1af2f3=_0x37a888,_0x3e8f3d=this[_0x35f1f1];this['removeListener'](_0x1af2f3(0x17b),_0x2f7910),this[_0x1af2f3(0x1dd)](_0x1af2f3(0x1cd),_0x409bef),this[_0x1af2f3(0x1dd)](_0x1af2f3(0x26c),_0x51a24e),_0x3e8f3d[_0x1af2f3(0x1cc)]=_0x1ad5d7[_0x1af2f3(0x239)];let _0x51749e;!this[_0x1af2f3(0x1b0)][_0x1af2f3(0x23f)]&&!_0x3e8f3d[_0x1af2f3(0x252)]&&!_0x3e8f3d[_0x1af2f3(0x2f6)][_0x1af2f3(0x264)][_0x1af2f3(0x17c)]&&(_0x51749e=_0x3e8f3d['_socket'][_0x1af2f3(0x2c9)]())!==null&&_0x3e8f3d[_0x1af2f3(0x2f6)][_0x1af2f3(0x261)](_0x51749e),_0x3e8f3d['_receiver']['end'](),this[_0x35f1f1]=void 0x0,clearTimeout(_0x3e8f3d[_0x1af2f3(0x29c)]),_0x3e8f3d['_receiver'][_0x1af2f3(0x264)][_0x1af2f3(0x29d)]||_0x3e8f3d[_0x1af2f3(0x2f6)]['_writableState'][_0x1af2f3(0x17c)]?_0x3e8f3d[_0x1af2f3(0x263)]():(_0x3e8f3d['_receiver']['on'](_0x1af2f3(0x282),_0x52c49d),_0x3e8f3d[_0x1af2f3(0x2f6)]['on']('finish',_0x52c49d));}function _0x409bef(_0x5295fa){const _0x1e4a8b=_0x37a888;this[_0x35f1f1][_0x1e4a8b(0x2f6)]['write'](_0x5295fa)||this[_0x1e4a8b(0x274)]();}function _0x51a24e(){const _0x29361e=_0x37a888,_0x3e896d=this[_0x35f1f1];_0x3e896d['_readyState']=_0x1ad5d7[_0x29361e(0x239)],_0x3e896d[_0x29361e(0x2f6)][_0x29361e(0x26c)](),this[_0x29361e(0x26c)]();}function _0x4cb1ab(){const _0x32cfaa=_0x37a888,_0x4ff220=this[_0x35f1f1];this[_0x32cfaa(0x1dd)](_0x32cfaa(0x282),_0x4cb1ab),this['on'](_0x32cfaa(0x282),_0x5dbb91),_0x4ff220&&(_0x4ff220[_0x32cfaa(0x1cc)]=_0x1ad5d7['CLOSING'],this['destroy']());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x21f46e}=oe;function _0x15c4f2(_0x5d9add){const _0x36f06c=_0x3c7d;_0x5d9add[_0x36f06c(0x30d)](_0x36f06c(0x17b));}function _0x52a81(){const _0x43d33e=_0x3c7d;!this['destroyed']&&this['_writableState'][_0x43d33e(0x29d)]&&this[_0x43d33e(0x29b)]();}function _0x23f40f(_0x324d8){const _0x3dc25f=_0x3c7d;this[_0x3dc25f(0x1dd)](_0x3dc25f(0x282),_0x23f40f),this[_0x3dc25f(0x29b)](),this[_0x3dc25f(0x28b)](_0x3dc25f(0x282))===0x0&&this['emit'](_0x3dc25f(0x282),_0x324d8);}function _0x777637(_0x3130ff,_0x3ed3c3){const _0x3ae21a=_0x3c7d;let _0xc87d83=!0x0;const _0x238cb1=new _0x21f46e({..._0x3ed3c3,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x3130ff['on'](_0x3ae21a(0x205),function(_0x15dfc7,_0x1efb2c){const _0x3c4c99=_0x3ae21a,_0x2da868=!_0x1efb2c&&_0x238cb1[_0x3c4c99(0x1b0)]['objectMode']?_0x15dfc7[_0x3c4c99(0x1ed)]():_0x15dfc7;_0x238cb1[_0x3c4c99(0x2f0)](_0x2da868)||_0x3130ff[_0x3c4c99(0x274)]();}),_0x3130ff[_0x3ae21a(0x27f)]('error',function(_0x2dba0a){const _0x12c049=_0x3ae21a;_0x238cb1[_0x12c049(0x1ae)]||(_0xc87d83=!0x1,_0x238cb1[_0x12c049(0x29b)](_0x2dba0a));}),_0x3130ff[_0x3ae21a(0x27f)](_0x3ae21a(0x17b),function(){_0x238cb1['destroyed']||_0x238cb1['push'](null);}),_0x238cb1[_0x3ae21a(0x2ef)]=function(_0x50a615,_0x2b0d35){const _0x3a1c69=_0x3ae21a;if(_0x3130ff['readyState']===_0x3130ff[_0x3a1c69(0x2d7)]){_0x2b0d35(_0x50a615),process[_0x3a1c69(0x314)](_0x15c4f2,_0x238cb1);return;}let _0x89a9e6=!0x1;_0x3130ff['once'](_0x3a1c69(0x282),function(_0x153553){_0x89a9e6=!0x0,_0x2b0d35(_0x153553);}),_0x3130ff[_0x3a1c69(0x27f)]('close',function(){const _0x50b2d1=_0x3a1c69;_0x89a9e6||_0x2b0d35(_0x50a615),process[_0x50b2d1(0x314)](_0x15c4f2,_0x238cb1);}),_0xc87d83&&_0x3130ff[_0x3a1c69(0x1d9)]();},_0x238cb1[_0x3ae21a(0x25c)]=function(_0x518301){const _0x515895=_0x3ae21a;if(_0x3130ff[_0x515895(0x1c4)]===_0x3130ff['CONNECTING']){_0x3130ff[_0x515895(0x27f)]('open',function(){const _0x3b63a4=_0x515895;_0x238cb1[_0x3b63a4(0x25c)](_0x518301);});return;}_0x3130ff['_socket']!==null&&(_0x3130ff[_0x515895(0x29a)][_0x515895(0x264)][_0x515895(0x29d)]?(_0x518301(),_0x238cb1['_readableState']['endEmitted']&&_0x238cb1['destroy']()):(_0x3130ff[_0x515895(0x29a)][_0x515895(0x27f)](_0x515895(0x290),function(){_0x518301();}),_0x3130ff[_0x515895(0x17b)]()));},_0x238cb1[_0x3ae21a(0x281)]=function(){const _0x2184c3=_0x3ae21a;_0x3130ff[_0x2184c3(0x255)]&&_0x3130ff[_0x2184c3(0x318)]();},_0x238cb1['_write']=function(_0x2db7f2,_0xf621f9,_0x502d5f){const _0x55f438=_0x3ae21a;if(_0x3130ff['readyState']===_0x3130ff[_0x55f438(0x2fa)]){_0x3130ff[_0x55f438(0x27f)](_0x55f438(0x207),function(){const _0x392768=_0x55f438;_0x238cb1[_0x392768(0x2be)](_0x2db7f2,_0xf621f9,_0x502d5f);});return;}_0x3130ff[_0x55f438(0x210)](_0x2db7f2,_0x502d5f);},_0x238cb1['on'](_0x3ae21a(0x26c),_0x52a81),_0x238cb1['on']('error',_0x23f40f),_0x238cb1;}return Oe=_0x777637,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x44470c}=ae();function _0xafbbeb(_0x5d23ee){const _0x104a19=_0x3c7d,_0x52ca9c=new Set();let _0x18e9ff=-0x1,_0x2f6bef=-0x1,_0x2ae4c6=0x0;for(_0x2ae4c6;_0x2ae4c6<_0x5d23ee[_0x104a19(0x20c)];_0x2ae4c6++){const _0x51c5c9=_0x5d23ee[_0x104a19(0x2ea)](_0x2ae4c6);if(_0x2f6bef===-0x1&&_0x44470c[_0x51c5c9]===0x1)_0x18e9ff===-0x1&&(_0x18e9ff=_0x2ae4c6);else{if(_0x2ae4c6!==0x0&&(_0x51c5c9===0x20||_0x51c5c9===0x9))_0x2f6bef===-0x1&&_0x18e9ff!==-0x1&&(_0x2f6bef=_0x2ae4c6);else{if(_0x51c5c9===0x2c){if(_0x18e9ff===-0x1)throw new SyntaxError(_0x104a19(0x32b)+_0x2ae4c6);_0x2f6bef===-0x1&&(_0x2f6bef=_0x2ae4c6);const _0x207e6f=_0x5d23ee[_0x104a19(0x273)](_0x18e9ff,_0x2f6bef);if(_0x52ca9c['has'](_0x207e6f))throw new SyntaxError(_0x104a19(0x1b1)+_0x207e6f+_0x104a19(0x194));_0x52ca9c['add'](_0x207e6f),_0x18e9ff=_0x2f6bef=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x2ae4c6);}}}if(_0x18e9ff===-0x1||_0x2f6bef!==-0x1)throw new SyntaxError(_0x104a19(0x1bb));const _0x98f6fd=_0x5d23ee[_0x104a19(0x273)](_0x18e9ff,_0x2ae4c6);if(_0x52ca9c[_0x104a19(0x2cb)](_0x98f6fd))throw new SyntaxError(_0x104a19(0x1b1)+_0x98f6fd+_0x104a19(0x194));return _0x52ca9c[_0x104a19(0x249)](_0x98f6fd),_0x52ca9c;}return Ce={'parse':_0xafbbeb},Ce;}var Te,rt;function Ft(){const _0x1d28e8=_0x272a20;if(rt)return Te;rt=0x1;const _0x9a531b=nt,_0x271169=ot,{Duplex:_0x58adb8}=oe,{createHash:_0x4e4e83}=Le,_0x54cc15=ct(),_0x2c3981=he(),_0x3ec43b=At(),_0x38d456=Pe(),{GUID:_0x4411f6,kWebSocket:_0x30b45f}=H(),_0x244c14=/^[+/0-9A-Za-z]{22}==$/,_0x267546=0x0,_0x2d41a6=0x1,_0x513368=0x2;class _0xec4213 extends _0x9a531b{constructor(_0x13ce1b,_0x5e3241){const _0x43f26e=_0x3c7d;if(super(),_0x13ce1b={'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':_0x38d456,..._0x13ce1b},_0x13ce1b[_0x43f26e(0x2ba)]==null&&!_0x13ce1b[_0x43f26e(0x1c0)]&&!_0x13ce1b['noServer']||_0x13ce1b[_0x43f26e(0x2ba)]!=null&&(_0x13ce1b[_0x43f26e(0x1c0)]||_0x13ce1b['noServer'])||_0x13ce1b[_0x43f26e(0x1c0)]&&_0x13ce1b[_0x43f26e(0x2c1)])throw new TypeError(_0x43f26e(0x2d8));if(_0x13ce1b[_0x43f26e(0x2ba)]!=null?(this[_0x43f26e(0x23c)]=_0x271169['createServer']((_0x4b58a6,_0x321b9b)=>{const _0x4f9aee=_0x43f26e,_0x4b5d37=_0x271169[_0x4f9aee(0x208)][0x1aa];_0x321b9b[_0x4f9aee(0x1b2)](0x1aa,{'Content-Length':_0x4b5d37[_0x4f9aee(0x20c)],'Content-Type':_0x4f9aee(0x195)}),_0x321b9b['end'](_0x4b5d37);}),this[_0x43f26e(0x23c)][_0x43f26e(0x20d)](_0x13ce1b[_0x43f26e(0x2ba)],_0x13ce1b['host'],_0x13ce1b[_0x43f26e(0x28e)],_0x5e3241)):_0x13ce1b['server']&&(this[_0x43f26e(0x23c)]=_0x13ce1b['server']),this['_server']){const _0x19b169=this['emit'][_0x43f26e(0x297)](this,_0x43f26e(0x33e));this[_0x43f26e(0x2ad)]=_0x3a0748(this[_0x43f26e(0x23c)],{'listening':this[_0x43f26e(0x30d)]['bind'](this,_0x43f26e(0x337)),'error':this[_0x43f26e(0x30d)][_0x43f26e(0x297)](this,'error'),'upgrade':(_0x5d5b9a,_0x3d3659,_0x51b2b5)=>{this['handleUpgrade'](_0x5d5b9a,_0x3d3659,_0x51b2b5,_0x19b169);}});}_0x13ce1b[_0x43f26e(0x1f9)]===!0x0&&(_0x13ce1b[_0x43f26e(0x1f9)]={}),_0x13ce1b[_0x43f26e(0x18e)]&&(this[_0x43f26e(0x222)]=new Set(),this[_0x43f26e(0x190)]=!0x1),this[_0x43f26e(0x1c5)]=_0x13ce1b,this[_0x43f26e(0x1c9)]=_0x267546;}[_0x1d28e8(0x187)](){const _0x459e48=_0x1d28e8;if(this[_0x459e48(0x1c5)][_0x459e48(0x2c1)])throw new Error(_0x459e48(0x32f));return this[_0x459e48(0x23c)]?this['_server'][_0x459e48(0x187)]():null;}[_0x1d28e8(0x17b)](_0x4f06b8){const _0x48c73e=_0x1d28e8;if(this[_0x48c73e(0x1c9)]===_0x513368){_0x4f06b8&&this[_0x48c73e(0x27f)](_0x48c73e(0x17b),()=>{const _0x5bf76b=_0x48c73e;_0x4f06b8(new Error(_0x5bf76b(0x305)));}),process[_0x48c73e(0x314)](_0x33d736,this);return;}if(_0x4f06b8&&this[_0x48c73e(0x27f)](_0x48c73e(0x17b),_0x4f06b8),this[_0x48c73e(0x1c9)]!==_0x2d41a6){if(this[_0x48c73e(0x1c9)]=_0x2d41a6,this['options'][_0x48c73e(0x2c1)]||this[_0x48c73e(0x1c5)][_0x48c73e(0x1c0)])this[_0x48c73e(0x23c)]&&(this[_0x48c73e(0x2ad)](),this[_0x48c73e(0x2ad)]=this[_0x48c73e(0x23c)]=null),this[_0x48c73e(0x222)]?this[_0x48c73e(0x222)][_0x48c73e(0x1d4)]?this[_0x48c73e(0x190)]=!0x0:process[_0x48c73e(0x314)](_0x33d736,this):process[_0x48c73e(0x314)](_0x33d736,this);else{const _0x268478=this[_0x48c73e(0x23c)];this[_0x48c73e(0x2ad)](),this[_0x48c73e(0x2ad)]=this[_0x48c73e(0x23c)]=null,_0x268478['close'](()=>{_0x33d736(this);});}}}[_0x1d28e8(0x292)](_0x167bd3){const _0x2d3385=_0x1d28e8;if(this[_0x2d3385(0x1c5)][_0x2d3385(0x2ee)]){const _0x1a2d4d=_0x167bd3[_0x2d3385(0x2ff)][_0x2d3385(0x343)]('?');if((_0x1a2d4d!==-0x1?_0x167bd3[_0x2d3385(0x2ff)]['slice'](0x0,_0x1a2d4d):_0x167bd3[_0x2d3385(0x2ff)])!==this[_0x2d3385(0x1c5)][_0x2d3385(0x2ee)])return!0x1;}return!0x0;}[_0x1d28e8(0x25a)](_0x1a5ae3,_0x491c3e,_0x7b31d2,_0x5dbc1a){const _0x518719=_0x1d28e8;_0x491c3e['on']('error',_0x204f2e);const _0x516f96=_0x1a5ae3[_0x518719(0x189)][_0x518719(0x1a9)],_0xf49ebd=_0x1a5ae3[_0x518719(0x189)][_0x518719(0x2dd)],_0x2c56c0=+_0x1a5ae3[_0x518719(0x189)][_0x518719(0x1f5)];if(_0x1a5ae3[_0x518719(0x293)]!==_0x518719(0x215)){_0x5635e8(this,_0x1a5ae3,_0x491c3e,0x195,_0x518719(0x26b));return;}if(_0xf49ebd===void 0x0||_0xf49ebd['toLowerCase']()!==_0x518719(0x18c)){_0x5635e8(this,_0x1a5ae3,_0x491c3e,0x190,_0x518719(0x272));return;}if(_0x516f96===void 0x0||!_0x244c14[_0x518719(0x2b6)](_0x516f96)){_0x5635e8(this,_0x1a5ae3,_0x491c3e,0x190,_0x518719(0x1f7));return;}if(_0x2c56c0!==0x8&&_0x2c56c0!==0xd){_0x5635e8(this,_0x1a5ae3,_0x491c3e,0x190,_0x518719(0x218));return;}if(!this[_0x518719(0x292)](_0x1a5ae3)){_0x39d33f(_0x491c3e,0x190);return;}const _0x4ab9c9=_0x1a5ae3['headers'][_0x518719(0x2da)];let _0x16defb=new Set();if(_0x4ab9c9!==void 0x0)try{_0x16defb=_0x3ec43b[_0x518719(0x2a7)](_0x4ab9c9);}catch{_0x5635e8(this,_0x1a5ae3,_0x491c3e,0x190,_0x518719(0x245));return;}const _0x133d30=_0x1a5ae3[_0x518719(0x189)]['sec-websocket-extensions'],_0x1d837a={};if(this[_0x518719(0x1c5)][_0x518719(0x1f9)]&&_0x133d30!==void 0x0){const _0x1fe820=new _0x2c3981(this['options']['perMessageDeflate'],!0x0,this[_0x518719(0x1c5)][_0x518719(0x31b)]);try{const _0xc72a02=_0x54cc15[_0x518719(0x2a7)](_0x133d30);_0xc72a02[_0x2c3981[_0x518719(0x275)]]&&(_0x1fe820[_0x518719(0x1f8)](_0xc72a02[_0x2c3981['extensionName']]),_0x1d837a[_0x2c3981[_0x518719(0x275)]]=_0x1fe820);}catch{_0x5635e8(this,_0x1a5ae3,_0x491c3e,0x190,_0x518719(0x336));return;}}if(this[_0x518719(0x1c5)]['verifyClient']){const _0x564c51={'origin':_0x1a5ae3[_0x518719(0x189)][''+(_0x2c56c0===0x8?_0x518719(0x29e):_0x518719(0x17d))],'secure':!!(_0x1a5ae3[_0x518719(0x1f6)][_0x518719(0x243)]||_0x1a5ae3['socket'][_0x518719(0x1f1)]),'req':_0x1a5ae3};if(this[_0x518719(0x1c5)]['verifyClient'][_0x518719(0x20c)]===0x2){this[_0x518719(0x1c5)][_0x518719(0x23b)](_0x564c51,(_0x2ebf4c,_0x4e1211,_0x364f36,_0x2dc3d6)=>{if(!_0x2ebf4c)return _0x39d33f(_0x491c3e,_0x4e1211||0x191,_0x364f36,_0x2dc3d6);this['completeUpgrade'](_0x1d837a,_0x516f96,_0x16defb,_0x1a5ae3,_0x491c3e,_0x7b31d2,_0x5dbc1a);});return;}if(!this[_0x518719(0x1c5)][_0x518719(0x23b)](_0x564c51))return _0x39d33f(_0x491c3e,0x191);}this[_0x518719(0x1b4)](_0x1d837a,_0x516f96,_0x16defb,_0x1a5ae3,_0x491c3e,_0x7b31d2,_0x5dbc1a);}[_0x1d28e8(0x1b4)](_0x3f2385,_0x463dc1,_0x1b4c7e,_0xe8a308,_0x551747,_0x5c0f14,_0x52cbd6){const _0x481ad9=_0x1d28e8;if(!_0x551747[_0x481ad9(0x224)]||!_0x551747[_0x481ad9(0x300)])return _0x551747['destroy']();if(_0x551747[_0x30b45f])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this[_0x481ad9(0x1c9)]>_0x267546)return _0x39d33f(_0x551747,0x1f7);const _0x24255f=[_0x481ad9(0x2f2),_0x481ad9(0x310),'Connection:\x20Upgrade',_0x481ad9(0x327)+_0x4e4e83(_0x481ad9(0x33c))['update'](_0x463dc1+_0x4411f6)[_0x481ad9(0x186)](_0x481ad9(0x232))],_0x3afd21=new this[(_0x481ad9(0x1c5))][(_0x481ad9(0x25d))](null,void 0x0,this[_0x481ad9(0x1c5)]);if(_0x1b4c7e[_0x481ad9(0x1d4)]){const _0x2f5a20=this[_0x481ad9(0x1c5)][_0x481ad9(0x20a)]?this[_0x481ad9(0x1c5)][_0x481ad9(0x20a)](_0x1b4c7e,_0xe8a308):_0x1b4c7e[_0x481ad9(0x286)]()[_0x481ad9(0x267)]()[_0x481ad9(0x1ac)];_0x2f5a20&&(_0x24255f['push'](_0x481ad9(0x17f)+_0x2f5a20),_0x3afd21[_0x481ad9(0x20f)]=_0x2f5a20);}if(_0x3f2385[_0x2c3981[_0x481ad9(0x275)]]){const _0xb405b7=_0x3f2385[_0x2c3981['extensionName']][_0x481ad9(0x22d)],_0x14857d=_0x54cc15[_0x481ad9(0x1f3)]({[_0x2c3981[_0x481ad9(0x275)]]:[_0xb405b7]});_0x24255f['push'](_0x481ad9(0x242)+_0x14857d),_0x3afd21[_0x481ad9(0x326)]=_0x3f2385;}this['emit']('headers',_0x24255f,_0xe8a308),_0x551747[_0x481ad9(0x261)](_0x24255f[_0x481ad9(0x1be)]('\x0d\x0a')['join']('\x0d\x0a')),_0x551747[_0x481ad9(0x1dd)](_0x481ad9(0x282),_0x204f2e),_0x3afd21[_0x481ad9(0x1f4)](_0x551747,_0x5c0f14,{'allowSynchronousEvents':this['options'][_0x481ad9(0x1c8)],'maxPayload':this[_0x481ad9(0x1c5)]['maxPayload'],'skipUTF8Validation':this[_0x481ad9(0x1c5)][_0x481ad9(0x28f)]}),this[_0x481ad9(0x222)]&&(this[_0x481ad9(0x222)]['add'](_0x3afd21),_0x3afd21['on'](_0x481ad9(0x17b),()=>{const _0x5346ab=_0x481ad9;this[_0x5346ab(0x222)]['delete'](_0x3afd21),this['_shouldEmitClose']&&!this[_0x5346ab(0x222)][_0x5346ab(0x1d4)]&&process['nextTick'](_0x33d736,this);})),_0x52cbd6(_0x3afd21,_0xe8a308);}}Te=_0xec4213;function _0x3a0748(_0x4d128d,_0x15401a){const _0x4b4bb2=_0x1d28e8;for(const _0x5a1692 of Object[_0x4b4bb2(0x221)](_0x15401a))_0x4d128d['on'](_0x5a1692,_0x15401a[_0x5a1692]);return function(){const _0x19e03a=_0x4b4bb2;for(const _0x4efd36 of Object[_0x19e03a(0x221)](_0x15401a))_0x4d128d[_0x19e03a(0x1dd)](_0x4efd36,_0x15401a[_0x4efd36]);};}function _0x33d736(_0x2117f6){const _0x5649c6=_0x1d28e8;_0x2117f6[_0x5649c6(0x1c9)]=_0x513368,_0x2117f6['emit'](_0x5649c6(0x17b));}function _0x204f2e(){this['destroy']();}function _0x39d33f(_0x341381,_0x12d865,_0xc846b6,_0x26b359){const _0x1af78a=_0x1d28e8;_0xc846b6=_0xc846b6||_0x271169['STATUS_CODES'][_0x12d865],_0x26b359={'Connection':_0x1af78a(0x17b),'Content-Type':_0x1af78a(0x2cc),'Content-Length':Buffer[_0x1af78a(0x2ab)](_0xc846b6),..._0x26b359},_0x341381[_0x1af78a(0x27f)](_0x1af78a(0x290),_0x341381['destroy']),_0x341381['end']('HTTP/1.1\x20'+_0x12d865+'\x20'+_0x271169[_0x1af78a(0x208)][_0x12d865]+'\x0d\x0a'+Object[_0x1af78a(0x221)](_0x26b359)[_0x1af78a(0x21e)](_0x2320b6=>_0x2320b6+':\x20'+_0x26b359[_0x2320b6])[_0x1af78a(0x2c4)]('\x0d\x0a')+_0x1af78a(0x235)+_0xc846b6);}function _0x5635e8(_0xe32775,_0xaea46b,_0xcc612,_0x7b7295,_0x37083d){const _0x5f381d=_0x1d28e8;if(_0xe32775[_0x5f381d(0x28b)](_0x5f381d(0x1e5))){const _0x2b2eac=new Error(_0x37083d);Error[_0x5f381d(0x1d1)](_0x2b2eac,_0x5635e8),_0xe32775[_0x5f381d(0x30d)](_0x5f381d(0x1e5),_0x2b2eac,_0xcc612,_0xaea46b);}else _0x39d33f(_0xcc612,_0x7b7295,_0x37083d);}return Te;}Ft();var jt=Object['getOwnPropertyDescriptor'],Wt=(_0x465a32,_0x2ed3a7,_0xb69a4d,_0x26e7fa)=>{const _0x4cd717=_0x272a20;for(var _0x22a241=_0x26e7fa>0x1?void 0x0:_0x26e7fa?jt(_0x2ed3a7,_0xb69a4d):_0x2ed3a7,_0x2481cf=_0x465a32[_0x4cd717(0x20c)]-0x1,_0x23b1fe;_0x2481cf>=0x0;_0x2481cf--)(_0x23b1fe=_0x465a32[_0x2481cf])&&(_0x22a241=_0x23b1fe(_0x22a241)||_0x22a241);return _0x22a241;},qt=(_0x1c2293,_0x2596c9)=>(_0x33521c,_0x8d1d9b)=>_0x2596c9(_0x33521c,_0x8d1d9b,_0x1c2293);let ke=class extends A[_0x272a20(0x181)]{constructor(_0xdd8b7d){const _0x356488=_0x272a20;super(),this[_0x356488(0x1a6)]=_0xdd8b7d;}[_0x272a20(0x1fe)](_0x30f469){const _0x8a792a=_0x272a20;var _0x29b7e0;const _0x84a17b=(_0x29b7e0=this['_configService'][_0x8a792a(0x1d2)](fe))==null?void 0x0:_0x29b7e0['customHeaders'];try{const _0x19d6b3=new $t(_0x30f469,{'headers':{..._0x84a17b}}),_0x53aeff=new A[(_0x8a792a(0x216))]();return{'URL':_0x30f469,'close':(_0x207d2f,_0x92a977)=>{const _0x23c195=_0x8a792a;_0x19d6b3[_0x23c195(0x17b)](_0x207d2f,_0x92a977),_0x53aeff[_0x23c195(0x317)]();},'send':_0x502327=>{const _0x1313c9=_0x8a792a;_0x19d6b3[_0x1313c9(0x210)](_0x502327);},'open$':new V[(_0x8a792a(0x237))](_0x1c9b1a=>{const _0x464c9d=_0x8a792a,_0x9d1e37=_0x2c2dec=>_0x1c9b1a[_0x464c9d(0x267)](_0x2c2dec);_0x19d6b3[_0x464c9d(0x247)](_0x464c9d(0x207),_0x9d1e37),_0x53aeff['add'](A[_0x464c9d(0x2bb)](()=>_0x19d6b3['removeEventListener'](_0x464c9d(0x207),_0x9d1e37)));})[_0x8a792a(0x1e3)](V[_0x8a792a(0x2e7)]()),'close$':new V['Observable'](_0x5c878e=>{const _0x36c16c=_0x8a792a,_0x201a1b=_0x269925=>_0x5c878e[_0x36c16c(0x267)](_0x269925);_0x19d6b3[_0x36c16c(0x247)](_0x36c16c(0x17b),_0x201a1b),_0x53aeff[_0x36c16c(0x249)](A[_0x36c16c(0x2bb)](()=>_0x19d6b3[_0x36c16c(0x1d8)](_0x36c16c(0x17b),_0x201a1b)));})[_0x8a792a(0x1e3)](V[_0x8a792a(0x2e7)]()),'error$':new V[(_0x8a792a(0x237))](_0x2b50bd=>{const _0x216bf8=_0x8a792a,_0x559ddd=_0x4c5bb4=>_0x2b50bd[_0x216bf8(0x267)](_0x4c5bb4);_0x19d6b3[_0x216bf8(0x247)](_0x216bf8(0x282),_0x559ddd),_0x53aeff['add'](A['toDisposable'](()=>_0x19d6b3[_0x216bf8(0x1d8)](_0x216bf8(0x282),_0x559ddd)));})['pipe'](V[_0x8a792a(0x2e7)]()),'message$':new V[(_0x8a792a(0x237))](_0x341b7d=>{const _0x1454a1=_0x8a792a,_0x22dcec=_0x31525e=>_0x341b7d[_0x1454a1(0x267)](_0x31525e);_0x19d6b3['addEventListener']('message',_0x22dcec),_0x53aeff[_0x1454a1(0x249)](A[_0x1454a1(0x2bb)](()=>_0x19d6b3[_0x1454a1(0x1d8)]('message',_0x22dcec)));})[_0x8a792a(0x1e3)](V['share']())};}catch(_0x1c43a3){return console[_0x8a792a(0x282)](_0x1c43a3),null;}}};ke=Wt([qt(0x0,A[_0x272a20(0x2c6)])],ke);var Gt=Object['defineProperty'],Vt=Object[_0x272a20(0x25e)],Ht=(_0x31bfd6,_0xdecc18,_0x57907d)=>_0xdecc18 in _0x31bfd6?Gt(_0x31bfd6,_0xdecc18,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x57907d}):_0x31bfd6[_0xdecc18]=_0x57907d,zt=(_0x459093,_0x179b5d,_0x3493be,_0x34cadf)=>{for(var _0x99946c=_0x34cadf>0x1?void 0x0:_0x34cadf?Vt(_0x179b5d,_0x3493be):_0x179b5d,_0x1c844a=_0x459093['length']-0x1,_0x211486;_0x1c844a>=0x0;_0x1c844a--)(_0x211486=_0x459093[_0x1c844a])&&(_0x99946c=_0x211486(_0x99946c)||_0x99946c);return _0x99946c;},Ne=(_0x4d95f0,_0x2856f1)=>(_0x48c1e7,_0x573a9b)=>_0x2856f1(_0x48c1e7,_0x573a9b,_0x4d95f0),Yt=(_0x12454b,_0x1749d5,_0x452fe1)=>Ht(_0x12454b,_0x1749d5+'',_0x452fe1);exports[_0x272a20(0x24b)]=class extends A[_0x272a20(0x22a)]{constructor(_0x2bfc40=Ct,_0x2498da,_0x1e3f86,_0x58a699){const _0x24487a=_0x272a20;_0x2bfc40[_0x24487a(0x26a)]||_0x2498da[_0x24487a(0x1e9)](_0x24487a(0x2ce)),super(),this[_0x24487a(0x1a6)]=_0x1e3f86,this[_0x24487a(0x27a)]=_0x58a699,this['_configService']['setConfig'](fe,_0x2bfc40);}[_0x272a20(0x332)](){this['_registerDependencies']();}[_0x272a20(0x1e0)](){const _0x54dc25=_0x272a20;A[_0x54dc25(0x322)](this[_0x54dc25(0x27a)],[[it[_0x54dc25(0x1de)],{'useClass':ke}]]);}},Yt(exports[_0x272a20(0x24b)],_0x272a20(0x2b1),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),exports[_0x272a20(0x24b)]=zt([A[_0x272a20(0x2e5)](st[_0x272a20(0x2a4)]),Ne(0x1,A[_0x272a20(0x185)]),Ne(0x2,A[_0x272a20(0x2c6)]),Ne(0x3,A[_0x272a20(0x32c)](A[_0x272a20(0x24a)]))],exports[_0x272a20(0x24b)]);function _0x3c7d(_0x3ae2ee,_0x5ab77e){const _0x24b795=_0x24b7();return _0x3c7d=function(_0x3c7d64,_0x5ec630){_0x3c7d64=_0x3c7d64-0x174;let _0x169f8c=_0x24b795[_0x3c7d64];return _0x169f8c;},_0x3c7d(_0x3ae2ee,_0x5ab77e);}var Kt=Object[_0x272a20(0x25e)],Xt=(_0x37ebe5,_0x19020f,_0x2f1c92,_0x1ff9d4)=>{for(var _0x5337db=_0x1ff9d4>0x1?void 0x0:_0x1ff9d4?Kt(_0x19020f,_0x2f1c92):_0x19020f,_0x7989f7=_0x37ebe5['length']-0x1,_0x5aeaf6;_0x7989f7>=0x0;_0x7989f7--)(_0x5aeaf6=_0x37ebe5[_0x7989f7])&&(_0x5337db=_0x5aeaf6(_0x5337db)||_0x5337db);return _0x5337db;},ne=(_0x77d145,_0x421659)=>(_0x4ca870,_0x5da4d1)=>_0x421659(_0x4ca870,_0x5da4d1,_0x77d145);exports[_0x272a20(0x251)]=class extends st[_0x272a20(0x22e)]{constructor(_0x269309,_0x29b286,_0x5baebe,_0x57163b,_0x2e12c2){const _0x5f45b5=_0x272a20;super(_0x269309,_0x29b286,_0x5baebe,_0x57163b,_0x2e12c2);const _0x2fc866=this[_0x5f45b5(0x1a6)][_0x5f45b5(0x1d2)](fe);this['_httpService'][_0x5f45b5(0x230)]({'interceptor':(_0x5ef43a,_0x5e876e)=>{const _0x1febe5=_0x5f45b5;var _0x3924d8;const _0x436ffe=_0x5ef43a[_0x1febe5(0x189)];return(_0x3924d8=_0x2fc866==null?void 0x0:_0x2fc866[_0x1febe5(0x26a)])!=null&&_0x3924d8[_0x1febe5(0x28a)]&&_0x436ffe[_0x1febe5(0x21c)](_0x1febe5(0x2a8),_0x2fc866[_0x1febe5(0x26a)][_0x1febe5(0x28a)]),_0x5e876e(_0x5ef43a);}});}async['createSocket'](_0x1766c6){const _0x571889=_0x272a20;return this[_0x571889(0x2eb)](_0x1766c6);}},exports[_0x272a20(0x251)]=Xt([ne(0x0,A[_0x272a20(0x32c)](A[_0x272a20(0x24a)])),ne(0x1,A['Inject'](it['HTTPService'])),ne(0x2,A[_0x272a20(0x2c6)]),ne(0x3,A['ILogService']),ne(0x4,Ot['ISnapshotServerService'])],exports[_0x272a20(0x251)]),exports[_0x272a20(0x192)]=fe;