@univerjs-pro/collaboration-client-node 0.12.4-insiders.20251212-6c41730 → 0.12.4-insiders.20251213-692494c
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/index.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +7 -7
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x23290d=_0x54b0;(function(_0x595f49,_0x329507){const _0x5231f0=_0x54b0,_0x3de86c=_0x595f49();while(!![]){try{const _0x1f54d6=parseInt(_0x5231f0(0x1ff))/0x1+-parseInt(_0x5231f0(0x2f8))/0x2*(-parseInt(_0x5231f0(0x300))/0x3)+-parseInt(_0x5231f0(0x313))/0x4*(-parseInt(_0x5231f0(0x285))/0x5)+parseInt(_0x5231f0(0x2b7))/0x6*(parseInt(_0x5231f0(0x357))/0x7)+-parseInt(_0x5231f0(0x393))/0x8*(-parseInt(_0x5231f0(0x359))/0x9)+parseInt(_0x5231f0(0x2ef))/0xa+parseInt(_0x5231f0(0x236))/0xb*(-parseInt(_0x5231f0(0x232))/0xc);if(_0x1f54d6===_0x329507)break;else _0x3de86c['push'](_0x3de86c['shift']());}catch(_0x51b6fd){_0x3de86c['push'](_0x3de86c['shift']());}}}(_0x259f,0x84ebb));import{UniverCollaborationClientPlugin as _0x5d19a7,CollaborationSocketService as _0x14439b}from'@univerjs-pro/collaboration-client';import{Disposable as _0x3f43bd,DisposableCollection as _0x910214,toDisposable as _0x5c0174,IConfigService as _0xd00181,DependentOn as _0x276b4b,ILogService as _0x552697,Inject as _0x99fde3,Injector as _0x365820,Plugin as _0x45d3e7,registerDependencies as _0x37a717}from'@univerjs/core';import{ISocketService as _0x3f2fc2,HTTPService as _0x226f66}from'@univerjs/network';import{Observable as _0x355fa1,share as _0x1692a9}from'rxjs';import _0x3b8928 from'events';import _0x41fb65 from'https';import _0x16cd46 from'http';import _0x558a35 from'net';import _0x370de3 from'tls';import _0x146326 from'crypto';import _0x4c3f49 from'stream';import _0x4e3d77 from'url';import _0x282727 from'zlib';import _0x13188c from'buffer';import{ISnapshotServerService as _0x3322f4}from'@univerjs-pro/collaboration';const Be='collaboration-client-node.config',Ft={'customHeaders':{}};function Wt(_0x24fc79){const _0x5954db=_0x54b0;return _0x24fc79&&_0x24fc79[_0x5954db(0x2c2)]&&Object[_0x5954db(0x384)]['hasOwnProperty'][_0x5954db(0x273)](_0x24fc79,_0x5954db(0x229))?_0x24fc79[_0x5954db(0x229)]:_0x24fc79;}function ut(_0x50b02a){const _0x10d9b0=_0x54b0;if(Object[_0x10d9b0(0x384)][_0x10d9b0(0x299)]['call'](_0x50b02a,_0x10d9b0(0x2c2)))return _0x50b02a;var _0x57f1d3=_0x50b02a[_0x10d9b0(0x229)];if(typeof _0x57f1d3==_0x10d9b0(0x29b)){var _0x573bb6=function _0x48e3ae(){const _0x424170=_0x10d9b0;var _0x1565c4=!0x1;try{_0x1565c4=this instanceof _0x48e3ae;}catch{}return _0x1565c4?Reflect[_0x424170(0x36a)](_0x57f1d3,arguments,this[_0x424170(0x2ba)]):_0x57f1d3['apply'](this,arguments);};_0x573bb6[_0x10d9b0(0x384)]=_0x57f1d3[_0x10d9b0(0x384)];}else _0x573bb6={};return Object['defineProperty'](_0x573bb6,'__esModule',{'value':!0x0}),Object[_0x10d9b0(0x2e7)](_0x50b02a)[_0x10d9b0(0x2f1)](function(_0x5d3f47){const _0x397cd5=_0x10d9b0;var _0x219ded=Object[_0x397cd5(0x234)](_0x50b02a,_0x5d3f47);Object['defineProperty'](_0x573bb6,_0x5d3f47,_0x219ded['get']?_0x219ded:{'enumerable':!0x0,'get':function(){return _0x50b02a[_0x5d3f47];}});}),_0x573bb6;}var te={'exports':{}},ge,Ye;function V(){const _0x38739e=_0x54b0;if(Ye)return ge;Ye=0x1;const _0x66fc1f=['nodebuffer',_0x38739e(0x230),_0x38739e(0x36f)],_0x2d97c6=typeof Blob<'u';return _0x2d97c6&&_0x66fc1f[_0x38739e(0x227)](_0x38739e(0x26c)),ge={'BINARY_TYPES':_0x66fc1f,'EMPTY_BUFFER':Buffer[_0x38739e(0x35a)](0x0),'GUID':_0x38739e(0x2a4),'hasBlob':_0x2d97c6,'kForOnEventAttribute':Symbol(_0x38739e(0x295)),'kListener':Symbol(_0x38739e(0x2f6)),'kStatusCode':Symbol(_0x38739e(0x256)),'kWebSocket':Symbol('websocket'),'NOOP':()=>{}},ge;}const jt={},Gt=Object[_0x23290d(0x378)](Object[_0x23290d(0x1f6)]({'__proto__':null,'default':jt},Symbol['toStringTag'],{'value':_0x23290d(0x2d1)})),Vt=ut(Gt);var Ke;function ce(){const _0x5b57d5=_0x23290d;if(Ke)return te[_0x5b57d5(0x29f)];Ke=0x1;const {EMPTY_BUFFER:_0x2a1dc8}=V(),_0x10a7f1=Buffer[Symbol[_0x5b57d5(0x391)]];function _0x23314d(_0x5767f0,_0x3f0d6f){const _0x27a5c9=_0x5b57d5;if(_0x5767f0[_0x27a5c9(0x354)]===0x0)return _0x2a1dc8;if(_0x5767f0[_0x27a5c9(0x354)]===0x1)return _0x5767f0[0x0];const _0x385891=Buffer[_0x27a5c9(0x2d0)](_0x3f0d6f);let _0x1edb89=0x0;for(let _0x1917d3=0x0;_0x1917d3<_0x5767f0['length'];_0x1917d3++){const _0x3c564f=_0x5767f0[_0x1917d3];_0x385891['set'](_0x3c564f,_0x1edb89),_0x1edb89+=_0x3c564f[_0x27a5c9(0x354)];}return _0x1edb89<_0x3f0d6f?new _0x10a7f1(_0x385891['buffer'],_0x385891[_0x27a5c9(0x24a)],_0x1edb89):_0x385891;}function _0x3eabcc(_0x1b456b,_0x4aa758,_0x176469,_0x431bcc,_0x221b28){for(let _0x222634=0x0;_0x222634<_0x221b28;_0x222634++)_0x176469[_0x431bcc+_0x222634]=_0x1b456b[_0x222634]^_0x4aa758[_0x222634&0x3];}function _0xd1170a(_0x65647f,_0x161e5b){const _0x4d5087=_0x5b57d5;for(let _0x2fe5e3=0x0;_0x2fe5e3<_0x65647f[_0x4d5087(0x354)];_0x2fe5e3++)_0x65647f[_0x2fe5e3]^=_0x161e5b[_0x2fe5e3&0x3];}function _0x30fc4d(_0x4fac00){const _0x4f40d9=_0x5b57d5;return _0x4fac00[_0x4f40d9(0x354)]===_0x4fac00[_0x4f40d9(0x361)][_0x4f40d9(0x200)]?_0x4fac00[_0x4f40d9(0x361)]:_0x4fac00['buffer'][_0x4f40d9(0x224)](_0x4fac00[_0x4f40d9(0x24a)],_0x4fac00[_0x4f40d9(0x24a)]+_0x4fac00[_0x4f40d9(0x354)]);}function _0x3e4254(_0x5b4468){const _0x31c830=_0x5b57d5;if(_0x3e4254[_0x31c830(0x31d)]=!0x0,Buffer[_0x31c830(0x267)](_0x5b4468))return _0x5b4468;let _0x20e1d7;return _0x5b4468 instanceof ArrayBuffer?_0x20e1d7=new _0x10a7f1(_0x5b4468):ArrayBuffer['isView'](_0x5b4468)?_0x20e1d7=new _0x10a7f1(_0x5b4468[_0x31c830(0x361)],_0x5b4468['byteOffset'],_0x5b4468[_0x31c830(0x200)]):(_0x20e1d7=Buffer[_0x31c830(0x22f)](_0x5b4468),_0x3e4254[_0x31c830(0x31d)]=!0x1),_0x20e1d7;}if(te[_0x5b57d5(0x29f)]={'concat':_0x23314d,'mask':_0x3eabcc,'toArrayBuffer':_0x30fc4d,'toBuffer':_0x3e4254,'unmask':_0xd1170a},!process['env'][_0x5b57d5(0x332)])try{const _0x148921=Vt;te[_0x5b57d5(0x29f)]['mask']=function(_0x462fa1,_0x1e9e46,_0x369f40,_0x3768df,_0x40b020){const _0x55bcdc=_0x5b57d5;_0x40b020<0x30?_0x3eabcc(_0x462fa1,_0x1e9e46,_0x369f40,_0x3768df,_0x40b020):_0x148921[_0x55bcdc(0x279)](_0x462fa1,_0x1e9e46,_0x369f40,_0x3768df,_0x40b020);},te[_0x5b57d5(0x29f)][_0x5b57d5(0x249)]=function(_0x45930b,_0x463492){const _0x560f20=_0x5b57d5;_0x45930b[_0x560f20(0x354)]<0x20?_0xd1170a(_0x45930b,_0x463492):_0x148921[_0x560f20(0x249)](_0x45930b,_0x463492);};}catch{}return te[_0x5b57d5(0x29f)];}var ye,Xe;function qt(){const _0x57004e=_0x23290d;if(Xe)return ye;Xe=0x1;const _0x44c78f=Symbol(_0x57004e(0x245)),_0x4521f1=Symbol(_0x57004e(0x270));class _0x2d8462{constructor(_0x45aa2b){const _0x2ad578=_0x57004e;this[_0x44c78f]=()=>{const _0x84b1e9=_0x54b0;this[_0x84b1e9(0x2cf)]--,this[_0x4521f1]();},this[_0x2ad578(0x241)]=_0x45aa2b||0x1/0x0,this[_0x2ad578(0x2b4)]=[],this[_0x2ad578(0x2cf)]=0x0;}[_0x57004e(0x317)](_0x183f4e){const _0x2887a1=_0x57004e;this[_0x2887a1(0x2b4)][_0x2887a1(0x227)](_0x183f4e),this[_0x4521f1]();}[_0x4521f1](){const _0x1513d8=_0x57004e;if(this['pending']!==this['concurrency']&&this[_0x1513d8(0x2b4)]['length']){const _0x136828=this[_0x1513d8(0x2b4)]['shift']();this[_0x1513d8(0x2cf)]++,_0x136828(this[_0x44c78f]);}}}return ye=_0x2d8462,ye;}var ve,Ze;function he(){const _0x5415af=_0x23290d;if(Ze)return ve;Ze=0x1;const _0x555911=_0x282727,_0x2db029=ce(),_0x4a35a3=qt(),{kStatusCode:_0x176be9}=V(),_0x16d7cd=Buffer[Symbol['species']],_0x14e70b=Buffer['from']([0x0,0x0,0xff,0xff]),_0x125d0e=Symbol(_0x5415af(0x373)),_0x2d81e0=Symbol(_0x5415af(0x20b)),_0x31df6f=Symbol(_0x5415af(0x31f)),_0x53a7a6=Symbol('buffers'),_0x512276=Symbol(_0x5415af(0x247));let _0x29b455;class _0x799bc3{constructor(_0x34c247,_0x5439af,_0x369987){const _0x4c4c99=_0x5415af;if(this[_0x4c4c99(0x2e6)]=_0x369987|0x0,this['_options']=_0x34c247||{},this[_0x4c4c99(0x37b)]=this[_0x4c4c99(0x258)][_0x4c4c99(0x318)]!==void 0x0?this[_0x4c4c99(0x258)][_0x4c4c99(0x318)]:0x400,this[_0x4c4c99(0x335)]=!!_0x5439af,this[_0x4c4c99(0x207)]=null,this[_0x4c4c99(0x37c)]=null,this[_0x4c4c99(0x333)]=null,!_0x29b455){const _0x2b28cc=this[_0x4c4c99(0x258)][_0x4c4c99(0x348)]!==void 0x0?this['_options'][_0x4c4c99(0x348)]:0xa;_0x29b455=new _0x4a35a3(_0x2b28cc);}}static get[_0x5415af(0x2b5)](){const _0x5aa95a=_0x5415af;return _0x5aa95a(0x373);}[_0x5415af(0x2bd)](){const _0x1552fe=_0x5415af,_0x6d04c3={};return this[_0x1552fe(0x258)][_0x1552fe(0x337)]&&(_0x6d04c3[_0x1552fe(0x1fd)]=!0x0),this[_0x1552fe(0x258)][_0x1552fe(0x33a)]&&(_0x6d04c3[_0x1552fe(0x375)]=!0x0),this[_0x1552fe(0x258)][_0x1552fe(0x286)]&&(_0x6d04c3[_0x1552fe(0x32f)]=this[_0x1552fe(0x258)]['serverMaxWindowBits']),this['_options']['clientMaxWindowBits']?_0x6d04c3[_0x1552fe(0x31b)]=this[_0x1552fe(0x258)][_0x1552fe(0x33c)]:this[_0x1552fe(0x258)]['clientMaxWindowBits']==null&&(_0x6d04c3[_0x1552fe(0x31b)]=!0x0),_0x6d04c3;}[_0x5415af(0x2ff)](_0x480f76){const _0x57dce4=_0x5415af;return _0x480f76=this[_0x57dce4(0x2f2)](_0x480f76),this[_0x57dce4(0x333)]=this[_0x57dce4(0x335)]?this[_0x57dce4(0x2ab)](_0x480f76):this[_0x57dce4(0x1fa)](_0x480f76),this[_0x57dce4(0x333)];}[_0x5415af(0x2d7)](){const _0xadda18=_0x5415af;if(this['_inflate']&&(this[_0xadda18(0x37c)][_0xadda18(0x291)](),this[_0xadda18(0x37c)]=null),this[_0xadda18(0x207)]){const _0x568335=this['_deflate'][_0x31df6f];this[_0xadda18(0x207)][_0xadda18(0x291)](),this[_0xadda18(0x207)]=null,_0x568335&&_0x568335(new Error(_0xadda18(0x242)));}}['acceptAsServer'](_0x3828cb){const _0x5328bc=_0x5415af,_0x1dcf98=this[_0x5328bc(0x258)],_0x4cda08=_0x3828cb[_0x5328bc(0x206)](_0x3b5f75=>!(_0x1dcf98[_0x5328bc(0x337)]===!0x1&&_0x3b5f75[_0x5328bc(0x1fd)]||_0x3b5f75[_0x5328bc(0x32f)]&&(_0x1dcf98['serverMaxWindowBits']===!0x1||typeof _0x1dcf98[_0x5328bc(0x286)]==_0x5328bc(0x2e9)&&_0x1dcf98['serverMaxWindowBits']>_0x3b5f75[_0x5328bc(0x32f)])||typeof _0x1dcf98['clientMaxWindowBits']==_0x5328bc(0x2e9)&&!_0x3b5f75[_0x5328bc(0x31b)]));if(!_0x4cda08)throw new Error(_0x5328bc(0x277));return _0x1dcf98[_0x5328bc(0x337)]&&(_0x4cda08[_0x5328bc(0x1fd)]=!0x0),_0x1dcf98[_0x5328bc(0x33a)]&&(_0x4cda08[_0x5328bc(0x375)]=!0x0),typeof _0x1dcf98[_0x5328bc(0x286)]==_0x5328bc(0x2e9)&&(_0x4cda08['server_max_window_bits']=_0x1dcf98[_0x5328bc(0x286)]),typeof _0x1dcf98[_0x5328bc(0x33c)]=='number'?_0x4cda08[_0x5328bc(0x31b)]=_0x1dcf98[_0x5328bc(0x33c)]:(_0x4cda08[_0x5328bc(0x31b)]===!0x0||_0x1dcf98['clientMaxWindowBits']===!0x1)&&delete _0x4cda08[_0x5328bc(0x31b)],_0x4cda08;}[_0x5415af(0x1fa)](_0x3e3bab){const _0x1b278f=_0x5415af,_0xad846=_0x3e3bab[0x0];if(this[_0x1b278f(0x258)]['clientNoContextTakeover']===!0x1&&_0xad846[_0x1b278f(0x375)])throw new Error(_0x1b278f(0x30f));if(!_0xad846[_0x1b278f(0x31b)])typeof this[_0x1b278f(0x258)][_0x1b278f(0x33c)]=='number'&&(_0xad846[_0x1b278f(0x31b)]=this[_0x1b278f(0x258)][_0x1b278f(0x33c)]);else{if(this[_0x1b278f(0x258)][_0x1b278f(0x33c)]===!0x1||typeof this['_options']['clientMaxWindowBits']==_0x1b278f(0x2e9)&&_0xad846['client_max_window_bits']>this[_0x1b278f(0x258)][_0x1b278f(0x33c)])throw new Error(_0x1b278f(0x203));}return _0xad846;}[_0x5415af(0x2f2)](_0x538943){return _0x538943['forEach'](_0x195526=>{const _0x3ce20a=_0x54b0;Object['keys'](_0x195526)[_0x3ce20a(0x2f1)](_0x12e831=>{const _0x197c1b=_0x3ce20a;let _0x22fa20=_0x195526[_0x12e831];if(_0x22fa20[_0x197c1b(0x354)]>0x1)throw new Error(_0x197c1b(0x298)+_0x12e831+_0x197c1b(0x25c));if(_0x22fa20=_0x22fa20[0x0],_0x12e831==='client_max_window_bits'){if(_0x22fa20!==!0x0){const _0x4e9dc6=+_0x22fa20;if(!Number[_0x197c1b(0x2a8)](_0x4e9dc6)||_0x4e9dc6<0x8||_0x4e9dc6>0xf)throw new TypeError(_0x197c1b(0x275)+_0x12e831+_0x197c1b(0x2eb)+_0x22fa20);_0x22fa20=_0x4e9dc6;}else{if(!this[_0x197c1b(0x335)])throw new TypeError(_0x197c1b(0x275)+_0x12e831+'\x22:\x20'+_0x22fa20);}}else{if(_0x12e831===_0x197c1b(0x32f)){const _0x59eb68=+_0x22fa20;if(!Number[_0x197c1b(0x2a8)](_0x59eb68)||_0x59eb68<0x8||_0x59eb68>0xf)throw new TypeError(_0x197c1b(0x275)+_0x12e831+_0x197c1b(0x2eb)+_0x22fa20);_0x22fa20=_0x59eb68;}else{if(_0x12e831===_0x197c1b(0x375)||_0x12e831===_0x197c1b(0x1fd)){if(_0x22fa20!==!0x0)throw new TypeError(_0x197c1b(0x275)+_0x12e831+_0x197c1b(0x2eb)+_0x22fa20);}else throw new Error(_0x197c1b(0x281)+_0x12e831+'\x22');}}_0x195526[_0x12e831]=_0x22fa20;});}),_0x538943;}[_0x5415af(0x38b)](_0x5d5ad1,_0x5f49a8,_0x34c020){const _0x27bf89=_0x5415af;_0x29b455[_0x27bf89(0x317)](_0x39900d=>{const _0x1e26df=_0x27bf89;this[_0x1e26df(0x34a)](_0x5d5ad1,_0x5f49a8,(_0x1a2429,_0x4a9463)=>{_0x39900d(),_0x34c020(_0x1a2429,_0x4a9463);});});}[_0x5415af(0x2d2)](_0x5c38a5,_0x51a712,_0x147227){_0x29b455['add'](_0x3983b9=>{const _0x581efc=_0x54b0;this[_0x581efc(0x30c)](_0x5c38a5,_0x51a712,(_0x5b7454,_0x5618d2)=>{_0x3983b9(),_0x147227(_0x5b7454,_0x5618d2);});});}[_0x5415af(0x34a)](_0x18dacd,_0x13341c,_0xd1f03b){const _0x2a40a1=_0x5415af,_0xcd64d=this[_0x2a40a1(0x335)]?'client':_0x2a40a1(0x363);if(!this[_0x2a40a1(0x37c)]){const _0x3dd05b=_0xcd64d+_0x2a40a1(0x1f9),_0x12cf79=typeof this['params'][_0x3dd05b]!=_0x2a40a1(0x2e9)?_0x555911[_0x2a40a1(0x39b)]:this['params'][_0x3dd05b];this[_0x2a40a1(0x37c)]=_0x555911[_0x2a40a1(0x219)]({...this[_0x2a40a1(0x258)]['zlibInflateOptions'],'windowBits':_0x12cf79}),this[_0x2a40a1(0x37c)][_0x125d0e]=this,this['_inflate'][_0x2d81e0]=0x0,this['_inflate'][_0x53a7a6]=[],this['_inflate']['on'](_0x2a40a1(0x247),_0x528c89),this[_0x2a40a1(0x37c)]['on'](_0x2a40a1(0x36b),_0x52b386);}this[_0x2a40a1(0x37c)][_0x31df6f]=_0xd1f03b,this[_0x2a40a1(0x37c)][_0x2a40a1(0x21a)](_0x18dacd),_0x13341c&&this[_0x2a40a1(0x37c)][_0x2a40a1(0x21a)](_0x14e70b),this[_0x2a40a1(0x37c)][_0x2a40a1(0x36d)](()=>{const _0x4030fa=_0x2a40a1,_0x14e28b=this[_0x4030fa(0x37c)][_0x512276];if(_0x14e28b){this[_0x4030fa(0x37c)]['close'](),this[_0x4030fa(0x37c)]=null,_0xd1f03b(_0x14e28b);return;}const _0xf7329d=_0x2db029['concat'](this['_inflate'][_0x53a7a6],this[_0x4030fa(0x37c)][_0x2d81e0]);this['_inflate'][_0x4030fa(0x371)][_0x4030fa(0x2ed)]?(this[_0x4030fa(0x37c)][_0x4030fa(0x291)](),this[_0x4030fa(0x37c)]=null):(this[_0x4030fa(0x37c)][_0x2d81e0]=0x0,this[_0x4030fa(0x37c)][_0x53a7a6]=[],_0x13341c&&this['params'][_0xcd64d+_0x4030fa(0x293)]&&this[_0x4030fa(0x37c)][_0x4030fa(0x2a2)]()),_0xd1f03b(null,_0xf7329d);});}[_0x5415af(0x30c)](_0x21bed0,_0x45cae6,_0x43eb63){const _0x3ca97a=_0x5415af,_0xf34675=this['_isServer']?_0x3ca97a(0x363):_0x3ca97a(0x312);if(!this[_0x3ca97a(0x207)]){const _0x1c7836=_0xf34675+_0x3ca97a(0x1f9),_0x4dcdb2=typeof this[_0x3ca97a(0x333)][_0x1c7836]!=_0x3ca97a(0x2e9)?_0x555911[_0x3ca97a(0x39b)]:this[_0x3ca97a(0x333)][_0x1c7836];this[_0x3ca97a(0x207)]=_0x555911[_0x3ca97a(0x217)]({...this[_0x3ca97a(0x258)]['zlibDeflateOptions'],'windowBits':_0x4dcdb2}),this[_0x3ca97a(0x207)][_0x2d81e0]=0x0,this[_0x3ca97a(0x207)][_0x53a7a6]=[],this[_0x3ca97a(0x207)]['on'](_0x3ca97a(0x36b),_0x1911f4);}this[_0x3ca97a(0x207)][_0x31df6f]=_0x43eb63,this[_0x3ca97a(0x207)][_0x3ca97a(0x21a)](_0x21bed0),this[_0x3ca97a(0x207)][_0x3ca97a(0x36d)](_0x555911[_0x3ca97a(0x303)],()=>{const _0x5d2027=_0x3ca97a;if(!this[_0x5d2027(0x207)])return;let _0x18bb80=_0x2db029['concat'](this[_0x5d2027(0x207)][_0x53a7a6],this[_0x5d2027(0x207)][_0x2d81e0]);_0x45cae6&&(_0x18bb80=new _0x16d7cd(_0x18bb80[_0x5d2027(0x361)],_0x18bb80[_0x5d2027(0x24a)],_0x18bb80[_0x5d2027(0x354)]-0x4)),this[_0x5d2027(0x207)][_0x31df6f]=null,this[_0x5d2027(0x207)][_0x2d81e0]=0x0,this[_0x5d2027(0x207)][_0x53a7a6]=[],_0x45cae6&&this['params'][_0xf34675+'_no_context_takeover']&&this['_deflate']['reset'](),_0x43eb63(null,_0x18bb80);});}}ve=_0x799bc3;function _0x1911f4(_0x41cd8b){const _0x41203d=_0x5415af;this[_0x53a7a6][_0x41203d(0x227)](_0x41cd8b),this[_0x2d81e0]+=_0x41cd8b['length'];}function _0x52b386(_0x1f719c){const _0x13230a=_0x5415af;if(this[_0x2d81e0]+=_0x1f719c[_0x13230a(0x354)],this[_0x125d0e][_0x13230a(0x2e6)]<0x1||this[_0x2d81e0]<=this[_0x125d0e][_0x13230a(0x2e6)]){this[_0x53a7a6][_0x13230a(0x227)](_0x1f719c);return;}this[_0x512276]=new RangeError(_0x13230a(0x28e)),this[_0x512276][_0x13230a(0x25b)]=_0x13230a(0x28c),this[_0x512276][_0x176be9]=0x3f1,this['removeListener'](_0x13230a(0x36b),_0x52b386),this[_0x13230a(0x2a2)]();}function _0x528c89(_0x44d9a9){const _0x477c60=_0x5415af;if(this[_0x125d0e][_0x477c60(0x37c)]=null,this[_0x512276]){this[_0x31df6f](this[_0x512276]);return;}_0x44d9a9[_0x176be9]=0x3ef,this[_0x31df6f](_0x44d9a9);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x23290d(0x378)](Object[_0x23290d(0x1f6)]({'__proto__':null,'default':Ht},Symbol[_0x23290d(0x26d)],{'value':_0x23290d(0x2d1)})),Yt=ut(zt);var Qe;function ne(){const _0x177c65=_0x23290d;if(Qe)return re[_0x177c65(0x29f)];Qe=0x1;const {isUtf8:_0x5e856e}=_0x13188c,{hasBlob:_0x406d69}=V(),_0x1ea171=[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 _0x56d986(_0x170d24){return _0x170d24>=0x3e8&&_0x170d24<=0x3f6&&_0x170d24!==0x3ec&&_0x170d24!==0x3ed&&_0x170d24!==0x3ee||_0x170d24>=0xbb8&&_0x170d24<=0x1387;}function _0x139afa(_0x1fdddb){const _0x1a2582=_0x177c65,_0x5d05e2=_0x1fdddb[_0x1a2582(0x354)];let _0x9c7d5e=0x0;for(;_0x9c7d5e<_0x5d05e2;)if((_0x1fdddb[_0x9c7d5e]&0x80)===0x0)_0x9c7d5e++;else{if((_0x1fdddb[_0x9c7d5e]&0xe0)===0xc0){if(_0x9c7d5e+0x1===_0x5d05e2||(_0x1fdddb[_0x9c7d5e+0x1]&0xc0)!==0x80||(_0x1fdddb[_0x9c7d5e]&0xfe)===0xc0)return!0x1;_0x9c7d5e+=0x2;}else{if((_0x1fdddb[_0x9c7d5e]&0xf0)===0xe0){if(_0x9c7d5e+0x2>=_0x5d05e2||(_0x1fdddb[_0x9c7d5e+0x1]&0xc0)!==0x80||(_0x1fdddb[_0x9c7d5e+0x2]&0xc0)!==0x80||_0x1fdddb[_0x9c7d5e]===0xe0&&(_0x1fdddb[_0x9c7d5e+0x1]&0xe0)===0x80||_0x1fdddb[_0x9c7d5e]===0xed&&(_0x1fdddb[_0x9c7d5e+0x1]&0xe0)===0xa0)return!0x1;_0x9c7d5e+=0x3;}else{if((_0x1fdddb[_0x9c7d5e]&0xf8)===0xf0){if(_0x9c7d5e+0x3>=_0x5d05e2||(_0x1fdddb[_0x9c7d5e+0x1]&0xc0)!==0x80||(_0x1fdddb[_0x9c7d5e+0x2]&0xc0)!==0x80||(_0x1fdddb[_0x9c7d5e+0x3]&0xc0)!==0x80||_0x1fdddb[_0x9c7d5e]===0xf0&&(_0x1fdddb[_0x9c7d5e+0x1]&0xf0)===0x80||_0x1fdddb[_0x9c7d5e]===0xf4&&_0x1fdddb[_0x9c7d5e+0x1]>0x8f||_0x1fdddb[_0x9c7d5e]>0xf4)return!0x1;_0x9c7d5e+=0x4;}else return!0x1;}}}return!0x0;}function _0x2110f8(_0x5e29e2){const _0x82e292=_0x177c65;return _0x406d69&&typeof _0x5e29e2=='object'&&typeof _0x5e29e2[_0x82e292(0x305)]==_0x82e292(0x29b)&&typeof _0x5e29e2[_0x82e292(0x28a)]=='string'&&typeof _0x5e29e2['stream']==_0x82e292(0x29b)&&(_0x5e29e2[Symbol[_0x82e292(0x26d)]]===_0x82e292(0x364)||_0x5e29e2[Symbol[_0x82e292(0x26d)]]===_0x82e292(0x23d));}if(re[_0x177c65(0x29f)]={'isBlob':_0x2110f8,'isValidStatusCode':_0x56d986,'isValidUTF8':_0x139afa,'tokenChars':_0x1ea171},_0x5e856e)re[_0x177c65(0x29f)][_0x177c65(0x1fc)]=function(_0x750f4b){return _0x750f4b['length']<0x18?_0x139afa(_0x750f4b):_0x5e856e(_0x750f4b);};else{if(!process[_0x177c65(0x2bb)][_0x177c65(0x202)])try{const _0x21d7ec=Yt;re[_0x177c65(0x29f)][_0x177c65(0x1fc)]=function(_0x2cd2ba){const _0x29071b=_0x177c65;return _0x2cd2ba[_0x29071b(0x354)]<0x20?_0x139afa(_0x2cd2ba):_0x21d7ec(_0x2cd2ba);};}catch{}}return re['exports'];}var Se,Je;function dt(){const _0x21f8c2=_0x23290d;if(Je)return Se;Je=0x1;const {Writable:_0x1aff25}=_0x4c3f49,_0x1daf6d=he(),{BINARY_TYPES:_0x51a3ed,EMPTY_BUFFER:_0x65f999,kStatusCode:_0x143e12,kWebSocket:_0x52d4c2}=V(),{concat:_0x496298,toArrayBuffer:_0x1fbc4f,unmask:_0x1b452d}=ce(),{isValidStatusCode:_0xbd6b5,isValidUTF8:_0x513ad7}=ne(),_0x1bb0ce=Buffer[Symbol['species']],_0x3cb26d=0x0,_0x3c49a7=0x1,_0x1fadfc=0x2,_0x4dbdd7=0x3,_0x2db858=0x4,_0x20f740=0x5,_0x108ca9=0x6;class _0x2ff400 extends _0x1aff25{constructor(_0x194fce={}){const _0x3d5c1b=_0x54b0;super(),this['_allowSynchronousEvents']=_0x194fce[_0x3d5c1b(0x246)]!==void 0x0?_0x194fce[_0x3d5c1b(0x246)]:!0x0,this[_0x3d5c1b(0x34c)]=_0x194fce[_0x3d5c1b(0x372)]||_0x51a3ed[0x0],this[_0x3d5c1b(0x2e8)]=_0x194fce[_0x3d5c1b(0x237)]||{},this[_0x3d5c1b(0x335)]=!!_0x194fce[_0x3d5c1b(0x2b9)],this['_maxPayload']=_0x194fce[_0x3d5c1b(0x343)]|0x0,this[_0x3d5c1b(0x38f)]=!!_0x194fce['skipUTF8Validation'],this[_0x52d4c2]=void 0x0,this[_0x3d5c1b(0x2db)]=0x0,this['_buffers']=[],this['_compressed']=!0x1,this[_0x3d5c1b(0x211)]=0x0,this['_mask']=void 0x0,this[_0x3d5c1b(0x323)]=0x0,this[_0x3d5c1b(0x39c)]=!0x1,this[_0x3d5c1b(0x3a0)]=!0x1,this['_opcode']=0x0,this[_0x3d5c1b(0x36e)]=0x0,this[_0x3d5c1b(0x290)]=0x0,this[_0x3d5c1b(0x33e)]=[],this[_0x3d5c1b(0x2c5)]=!0x1,this['_loop']=!0x1,this[_0x3d5c1b(0x25d)]=_0x3cb26d;}[_0x21f8c2(0x210)](_0x1c4ccc,_0x31efef,_0x5ae324){const _0x382374=_0x21f8c2;if(this[_0x382374(0x310)]===0x8&&this[_0x382374(0x25d)]==_0x3cb26d)return _0x5ae324();this['_bufferedBytes']+=_0x1c4ccc[_0x382374(0x354)],this[_0x382374(0x344)]['push'](_0x1c4ccc),this[_0x382374(0x24f)](_0x5ae324);}[_0x21f8c2(0x251)](_0x26ab7c){const _0x2aea6f=_0x21f8c2;if(this['_bufferedBytes']-=_0x26ab7c,_0x26ab7c===this[_0x2aea6f(0x344)][0x0][_0x2aea6f(0x354)])return this['_buffers'][_0x2aea6f(0x287)]();if(_0x26ab7c<this[_0x2aea6f(0x344)][0x0]['length']){const _0x1338c5=this[_0x2aea6f(0x344)][0x0];return this[_0x2aea6f(0x344)][0x0]=new _0x1bb0ce(_0x1338c5[_0x2aea6f(0x361)],_0x1338c5[_0x2aea6f(0x24a)]+_0x26ab7c,_0x1338c5[_0x2aea6f(0x354)]-_0x26ab7c),new _0x1bb0ce(_0x1338c5[_0x2aea6f(0x361)],_0x1338c5['byteOffset'],_0x26ab7c);}const _0x3ee761=Buffer['allocUnsafe'](_0x26ab7c);do{const _0x49fe9d=this['_buffers'][0x0],_0x1cc8c4=_0x3ee761[_0x2aea6f(0x354)]-_0x26ab7c;_0x26ab7c>=_0x49fe9d[_0x2aea6f(0x354)]?_0x3ee761[_0x2aea6f(0x2de)](this[_0x2aea6f(0x344)][_0x2aea6f(0x287)](),_0x1cc8c4):(_0x3ee761[_0x2aea6f(0x2de)](new Uint8Array(_0x49fe9d[_0x2aea6f(0x361)],_0x49fe9d[_0x2aea6f(0x24a)],_0x26ab7c),_0x1cc8c4),this['_buffers'][0x0]=new _0x1bb0ce(_0x49fe9d[_0x2aea6f(0x361)],_0x49fe9d['byteOffset']+_0x26ab7c,_0x49fe9d[_0x2aea6f(0x354)]-_0x26ab7c)),_0x26ab7c-=_0x49fe9d[_0x2aea6f(0x354)];}while(_0x26ab7c>0x0);return _0x3ee761;}[_0x21f8c2(0x24f)](_0x3b4b35){const _0x27f825=_0x21f8c2;this[_0x27f825(0x22e)]=!0x0;do switch(this[_0x27f825(0x25d)]){case _0x3cb26d:this[_0x27f825(0x345)](_0x3b4b35);break;case _0x3c49a7:this['getPayloadLength16'](_0x3b4b35);break;case _0x1fadfc:this[_0x27f825(0x289)](_0x3b4b35);break;case _0x4dbdd7:this[_0x27f825(0x311)]();break;case _0x2db858:this[_0x27f825(0x22a)](_0x3b4b35);break;case _0x20f740:case _0x108ca9:this[_0x27f825(0x22e)]=!0x1;return;}while(this[_0x27f825(0x22e)]);this[_0x27f825(0x2c5)]||_0x3b4b35();}[_0x21f8c2(0x345)](_0x40d8c7){const _0x487fcd=_0x21f8c2;if(this['_bufferedBytes']<0x2){this[_0x487fcd(0x22e)]=!0x1;return;}const _0x404aa5=this[_0x487fcd(0x251)](0x2);if((_0x404aa5[0x0]&0x30)!==0x0){const _0x5319ec=this[_0x487fcd(0x2f9)](RangeError,_0x487fcd(0x1f1),!0x0,0x3ea,_0x487fcd(0x294));_0x40d8c7(_0x5319ec);return;}const _0x2634cd=(_0x404aa5[0x0]&0x40)===0x40;if(_0x2634cd&&!this[_0x487fcd(0x2e8)][_0x1daf6d[_0x487fcd(0x2b5)]]){const _0x2345f3=this[_0x487fcd(0x2f9)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x487fcd(0x208));_0x40d8c7(_0x2345f3);return;}if(this[_0x487fcd(0x3a0)]=(_0x404aa5[0x0]&0x80)===0x80,this[_0x487fcd(0x310)]=_0x404aa5[0x0]&0xf,this[_0x487fcd(0x211)]=_0x404aa5[0x1]&0x7f,this[_0x487fcd(0x310)]===0x0){if(_0x2634cd){const _0x4d9b6c=this[_0x487fcd(0x2f9)](RangeError,_0x487fcd(0x374),!0x0,0x3ea,_0x487fcd(0x208));_0x40d8c7(_0x4d9b6c);return;}if(!this['_fragmented']){const _0xd5ef=this[_0x487fcd(0x2f9)](RangeError,'invalid\x20opcode\x200',!0x0,0x3ea,_0x487fcd(0x342));_0x40d8c7(_0xd5ef);return;}this[_0x487fcd(0x310)]=this[_0x487fcd(0x323)];}else{if(this[_0x487fcd(0x310)]===0x1||this[_0x487fcd(0x310)]===0x2){if(this[_0x487fcd(0x323)]){const _0x357250=this[_0x487fcd(0x2f9)](RangeError,_0x487fcd(0x220)+this[_0x487fcd(0x310)],!0x0,0x3ea,_0x487fcd(0x342));_0x40d8c7(_0x357250);return;}this[_0x487fcd(0x394)]=_0x2634cd;}else{if(this[_0x487fcd(0x310)]>0x7&&this[_0x487fcd(0x310)]<0xb){if(!this[_0x487fcd(0x3a0)]){const _0x4b8c5a=this[_0x487fcd(0x2f9)](RangeError,'FIN\x20must\x20be\x20set',!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0x40d8c7(_0x4b8c5a);return;}if(_0x2634cd){const _0x1ddb63=this[_0x487fcd(0x2f9)](RangeError,_0x487fcd(0x374),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x40d8c7(_0x1ddb63);return;}if(this[_0x487fcd(0x211)]>0x7d||this['_opcode']===0x8&&this[_0x487fcd(0x211)]===0x1){const _0x13e130=this[_0x487fcd(0x2f9)](RangeError,_0x487fcd(0x320)+this[_0x487fcd(0x211)],!0x0,0x3ea,_0x487fcd(0x244));_0x40d8c7(_0x13e130);return;}}else{const _0x4d5797=this[_0x487fcd(0x2f9)](RangeError,'invalid\x20opcode\x20'+this[_0x487fcd(0x310)],!0x0,0x3ea,_0x487fcd(0x342));_0x40d8c7(_0x4d5797);return;}}}if(!this[_0x487fcd(0x3a0)]&&!this[_0x487fcd(0x323)]&&(this[_0x487fcd(0x323)]=this[_0x487fcd(0x310)]),this['_masked']=(_0x404aa5[0x1]&0x80)===0x80,this[_0x487fcd(0x335)]){if(!this['_masked']){const _0x492011=this[_0x487fcd(0x2f9)](RangeError,_0x487fcd(0x2f5),!0x0,0x3ea,_0x487fcd(0x2fc));_0x40d8c7(_0x492011);return;}}else{if(this['_masked']){const _0x2f90ec=this['createError'](RangeError,_0x487fcd(0x2be),!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0x40d8c7(_0x2f90ec);return;}}this['_payloadLength']===0x7e?this[_0x487fcd(0x25d)]=_0x3c49a7:this['_payloadLength']===0x7f?this[_0x487fcd(0x25d)]=_0x1fadfc:this[_0x487fcd(0x23f)](_0x40d8c7);}['getPayloadLength16'](_0x2ab71e){const _0x2c0160=_0x21f8c2;if(this['_bufferedBytes']<0x2){this[_0x2c0160(0x22e)]=!0x1;return;}this[_0x2c0160(0x211)]=this['consume'](0x2)[_0x2c0160(0x376)](0x0),this['haveLength'](_0x2ab71e);}[_0x21f8c2(0x289)](_0x27065b){const _0x2a9443=_0x21f8c2;if(this['_bufferedBytes']<0x8){this['_loop']=!0x1;return;}const _0x2e1954=this['consume'](0x8),_0x29644a=_0x2e1954['readUInt32BE'](0x0);if(_0x29644a>Math[_0x2a9443(0x327)](0x2,0x15)-0x1){const _0x582f44=this[_0x2a9443(0x2f9)](RangeError,_0x2a9443(0x1f5),!0x1,0x3f1,_0x2a9443(0x1ee));_0x27065b(_0x582f44);return;}this['_payloadLength']=_0x29644a*Math[_0x2a9443(0x327)](0x2,0x20)+_0x2e1954[_0x2a9443(0x239)](0x4),this[_0x2a9443(0x23f)](_0x27065b);}[_0x21f8c2(0x23f)](_0x136be0){const _0x236713=_0x21f8c2;if(this[_0x236713(0x211)]&&this[_0x236713(0x310)]<0x8&&(this['_totalPayloadLength']+=this[_0x236713(0x211)],this['_totalPayloadLength']>this[_0x236713(0x2e6)]&&this[_0x236713(0x2e6)]>0x0)){const _0x4863b1=this[_0x236713(0x2f9)](RangeError,_0x236713(0x28e),!0x1,0x3f1,_0x236713(0x28c));_0x136be0(_0x4863b1);return;}this['_masked']?this[_0x236713(0x25d)]=_0x4dbdd7:this['_state']=_0x2db858;}['getMask'](){const _0x2a12de=_0x21f8c2;if(this[_0x2a12de(0x2db)]<0x4){this[_0x2a12de(0x22e)]=!0x1;return;}this['_mask']=this[_0x2a12de(0x251)](0x4),this['_state']=_0x2db858;}['getData'](_0x446d90){const _0x360087=_0x21f8c2;let _0x3f0b71=_0x65f999;if(this[_0x360087(0x211)]){if(this[_0x360087(0x2db)]<this[_0x360087(0x211)]){this[_0x360087(0x22e)]=!0x1;return;}_0x3f0b71=this[_0x360087(0x251)](this[_0x360087(0x211)]),this[_0x360087(0x39c)]&&(this[_0x360087(0x26e)][0x0]|this[_0x360087(0x26e)][0x1]|this['_mask'][0x2]|this[_0x360087(0x26e)][0x3])!==0x0&&_0x1b452d(_0x3f0b71,this[_0x360087(0x26e)]);}if(this[_0x360087(0x310)]>0x7){this['controlMessage'](_0x3f0b71,_0x446d90);return;}if(this['_compressed']){this[_0x360087(0x25d)]=_0x20f740,this['decompress'](_0x3f0b71,_0x446d90);return;}_0x3f0b71[_0x360087(0x354)]&&(this[_0x360087(0x290)]=this['_totalPayloadLength'],this[_0x360087(0x33e)][_0x360087(0x227)](_0x3f0b71)),this[_0x360087(0x362)](_0x446d90);}[_0x21f8c2(0x38b)](_0x42cf32,_0x3622f7){const _0x45bdf5=_0x21f8c2;this['_extensions'][_0x1daf6d[_0x45bdf5(0x2b5)]][_0x45bdf5(0x38b)](_0x42cf32,this['_fin'],(_0x34b2b4,_0x266ba3)=>{const _0x366067=_0x45bdf5;if(_0x34b2b4)return _0x3622f7(_0x34b2b4);if(_0x266ba3[_0x366067(0x354)]){if(this[_0x366067(0x290)]+=_0x266ba3[_0x366067(0x354)],this[_0x366067(0x290)]>this['_maxPayload']&&this[_0x366067(0x2e6)]>0x0){const _0x1748f4=this['createError'](RangeError,_0x366067(0x28e),!0x1,0x3f1,_0x366067(0x28c));_0x3622f7(_0x1748f4);return;}this[_0x366067(0x33e)][_0x366067(0x227)](_0x266ba3);}this[_0x366067(0x362)](_0x3622f7),this[_0x366067(0x25d)]===_0x3cb26d&&this[_0x366067(0x24f)](_0x3622f7);});}['dataMessage'](_0x1335dc){const _0xecb75f=_0x21f8c2;if(!this[_0xecb75f(0x3a0)]){this['_state']=_0x3cb26d;return;}const _0x35fb3c=this[_0xecb75f(0x290)],_0x2fccf9=this[_0xecb75f(0x33e)];if(this[_0xecb75f(0x36e)]=0x0,this[_0xecb75f(0x290)]=0x0,this[_0xecb75f(0x323)]=0x0,this['_fragments']=[],this[_0xecb75f(0x310)]===0x2){let _0x5e6b61;this[_0xecb75f(0x34c)]===_0xecb75f(0x386)?_0x5e6b61=_0x496298(_0x2fccf9,_0x35fb3c):this['_binaryType']===_0xecb75f(0x230)?_0x5e6b61=_0x1fbc4f(_0x496298(_0x2fccf9,_0x35fb3c)):this[_0xecb75f(0x34c)]===_0xecb75f(0x26c)?_0x5e6b61=new Blob(_0x2fccf9):_0x5e6b61=_0x2fccf9,this['_allowSynchronousEvents']?(this[_0xecb75f(0x38e)]('message',_0x5e6b61,!0x0),this[_0xecb75f(0x25d)]=_0x3cb26d):(this[_0xecb75f(0x25d)]=_0x108ca9,setImmediate(()=>{const _0x234205=_0xecb75f;this[_0x234205(0x38e)](_0x234205(0x366),_0x5e6b61,!0x0),this['_state']=_0x3cb26d,this['startLoop'](_0x1335dc);}));}else{const _0x397b54=_0x496298(_0x2fccf9,_0x35fb3c);if(!this[_0xecb75f(0x38f)]&&!_0x513ad7(_0x397b54)){const _0x7537b2=this[_0xecb75f(0x2f9)](Error,_0xecb75f(0x243),!0x0,0x3ef,_0xecb75f(0x2b0));_0x1335dc(_0x7537b2);return;}this['_state']===_0x20f740||this['_allowSynchronousEvents']?(this[_0xecb75f(0x38e)](_0xecb75f(0x366),_0x397b54,!0x1),this['_state']=_0x3cb26d):(this['_state']=_0x108ca9,setImmediate(()=>{const _0x1bf461=_0xecb75f;this['emit'](_0x1bf461(0x366),_0x397b54,!0x1),this[_0x1bf461(0x25d)]=_0x3cb26d,this[_0x1bf461(0x24f)](_0x1335dc);}));}}[_0x21f8c2(0x31e)](_0x27040f,_0x2f3d32){const _0x126f6a=_0x21f8c2;if(this[_0x126f6a(0x310)]===0x8){if(_0x27040f[_0x126f6a(0x354)]===0x0)this[_0x126f6a(0x22e)]=!0x1,this['emit']('conclude',0x3ed,_0x65f999),this[_0x126f6a(0x28b)]();else{const _0x3e63c7=_0x27040f[_0x126f6a(0x376)](0x0);if(!_0xbd6b5(_0x3e63c7)){const _0x2976df=this[_0x126f6a(0x2f9)](RangeError,'invalid\x20status\x20code\x20'+_0x3e63c7,!0x0,0x3ea,_0x126f6a(0x316));_0x2f3d32(_0x2976df);return;}const _0x4e9c57=new _0x1bb0ce(_0x27040f['buffer'],_0x27040f['byteOffset']+0x2,_0x27040f[_0x126f6a(0x354)]-0x2);if(!this['_skipUTF8Validation']&&!_0x513ad7(_0x4e9c57)){const _0x43869b=this[_0x126f6a(0x2f9)](Error,_0x126f6a(0x243),!0x0,0x3ef,_0x126f6a(0x2b0));_0x2f3d32(_0x43869b);return;}this[_0x126f6a(0x22e)]=!0x1,this['emit']('conclude',_0x3e63c7,_0x4e9c57),this[_0x126f6a(0x28b)]();}this[_0x126f6a(0x25d)]=_0x3cb26d;return;}this[_0x126f6a(0x27a)]?(this[_0x126f6a(0x38e)](this[_0x126f6a(0x310)]===0x9?_0x126f6a(0x2b2):_0x126f6a(0x34e),_0x27040f),this['_state']=_0x3cb26d):(this[_0x126f6a(0x25d)]=_0x108ca9,setImmediate(()=>{const _0x4ceaa1=_0x126f6a;this[_0x4ceaa1(0x38e)](this['_opcode']===0x9?_0x4ceaa1(0x2b2):'pong',_0x27040f),this['_state']=_0x3cb26d,this[_0x4ceaa1(0x24f)](_0x2f3d32);}));}[_0x21f8c2(0x2f9)](_0x442606,_0x155aa2,_0x5fbb3f,_0x452f69,_0x5c7a10){const _0x50c89f=_0x21f8c2;this[_0x50c89f(0x22e)]=!0x1,this[_0x50c89f(0x2c5)]=!0x0;const _0x3dd398=new _0x442606(_0x5fbb3f?_0x50c89f(0x29d)+_0x155aa2:_0x155aa2);return Error[_0x50c89f(0x38a)](_0x3dd398,this['createError']),_0x3dd398['code']=_0x5c7a10,_0x3dd398[_0x143e12]=_0x452f69,_0x3dd398;}}return Se=_0x2ff400,Se;}var Ee,et;function _t(){const _0x2ff22e=_0x23290d;if(et)return Ee;et=0x1;const {Duplex:_0xcf9d13}=_0x4c3f49,{randomFillSync:_0x221755}=_0x146326,_0x44d182=he(),{EMPTY_BUFFER:_0x255d8b,kWebSocket:_0x43873d,NOOP:_0x4b0f5c}=V(),{isBlob:_0x2e1d76,isValidStatusCode:_0x396597}=ne(),{mask:_0x39e39c,toBuffer:_0x5bc1c1}=ce(),_0x164067=Symbol('kByteLength'),_0x3e2010=Buffer[_0x2ff22e(0x35a)](0x4),_0x1816b6=0x8*0x400;let _0x59dfa9,_0x2d095f=_0x1816b6;const _0x22ccef=0x0,_0xebe588=0x1,_0x109cdc=0x2;class _0x5b704d{constructor(_0x22aabb,_0x28f54f,_0x2474c1){const _0x5b8689=_0x2ff22e;this[_0x5b8689(0x2e8)]=_0x28f54f||{},_0x2474c1&&(this[_0x5b8689(0x30b)]=_0x2474c1,this[_0x5b8689(0x328)]=Buffer[_0x5b8689(0x35a)](0x4)),this['_socket']=_0x22aabb,this[_0x5b8689(0x36c)]=!0x0,this[_0x5b8689(0x30c)]=!0x1,this['_bufferedBytes']=0x0,this['_queue']=[],this['_state']=_0x22ccef,this[_0x5b8689(0x1eb)]=_0x4b0f5c,this[_0x43873d]=void 0x0;}static['frame'](_0x328e8b,_0x2c3e30){const _0x4c5e1c=_0x2ff22e;let _0x28485a,_0x30c9d7=!0x1,_0x474f51=0x2,_0x16f277=!0x1;_0x2c3e30[_0x4c5e1c(0x279)]&&(_0x28485a=_0x2c3e30[_0x4c5e1c(0x2d6)]||_0x3e2010,_0x2c3e30[_0x4c5e1c(0x2f7)]?_0x2c3e30[_0x4c5e1c(0x2f7)](_0x28485a):(_0x2d095f===_0x1816b6&&(_0x59dfa9===void 0x0&&(_0x59dfa9=Buffer[_0x4c5e1c(0x35a)](_0x1816b6)),_0x221755(_0x59dfa9,0x0,_0x1816b6),_0x2d095f=0x0),_0x28485a[0x0]=_0x59dfa9[_0x2d095f++],_0x28485a[0x1]=_0x59dfa9[_0x2d095f++],_0x28485a[0x2]=_0x59dfa9[_0x2d095f++],_0x28485a[0x3]=_0x59dfa9[_0x2d095f++]),_0x16f277=(_0x28485a[0x0]|_0x28485a[0x1]|_0x28485a[0x2]|_0x28485a[0x3])===0x0,_0x474f51=0x6);let _0x90c946;typeof _0x328e8b==_0x4c5e1c(0x39a)?(!_0x2c3e30[_0x4c5e1c(0x279)]||_0x16f277)&&_0x2c3e30[_0x164067]!==void 0x0?_0x90c946=_0x2c3e30[_0x164067]:(_0x328e8b=Buffer['from'](_0x328e8b),_0x90c946=_0x328e8b['length']):(_0x90c946=_0x328e8b[_0x4c5e1c(0x354)],_0x30c9d7=_0x2c3e30[_0x4c5e1c(0x279)]&&_0x2c3e30[_0x4c5e1c(0x31d)]&&!_0x16f277);let _0x2413c1=_0x90c946;_0x90c946>=0x10000?(_0x474f51+=0x8,_0x2413c1=0x7f):_0x90c946>0x7d&&(_0x474f51+=0x2,_0x2413c1=0x7e);const _0x39f18e=Buffer[_0x4c5e1c(0x2d0)](_0x30c9d7?_0x90c946+_0x474f51:_0x474f51);return _0x39f18e[0x0]=_0x2c3e30[_0x4c5e1c(0x260)]?_0x2c3e30['opcode']|0x80:_0x2c3e30[_0x4c5e1c(0x34d)],_0x2c3e30[_0x4c5e1c(0x319)]&&(_0x39f18e[0x0]|=0x40),_0x39f18e[0x1]=_0x2413c1,_0x2413c1===0x7e?_0x39f18e[_0x4c5e1c(0x395)](_0x90c946,0x2):_0x2413c1===0x7f&&(_0x39f18e[0x2]=_0x39f18e[0x3]=0x0,_0x39f18e['writeUIntBE'](_0x90c946,0x4,0x6)),_0x2c3e30[_0x4c5e1c(0x279)]?(_0x39f18e[0x1]|=0x80,_0x39f18e[_0x474f51-0x4]=_0x28485a[0x0],_0x39f18e[_0x474f51-0x3]=_0x28485a[0x1],_0x39f18e[_0x474f51-0x2]=_0x28485a[0x2],_0x39f18e[_0x474f51-0x1]=_0x28485a[0x3],_0x16f277?[_0x39f18e,_0x328e8b]:_0x30c9d7?(_0x39e39c(_0x328e8b,_0x28485a,_0x39f18e,_0x474f51,_0x90c946),[_0x39f18e]):(_0x39e39c(_0x328e8b,_0x28485a,_0x328e8b,0x0,_0x90c946),[_0x39f18e,_0x328e8b])):[_0x39f18e,_0x328e8b];}[_0x2ff22e(0x291)](_0x4574b2,_0x37beae,_0x57ed77,_0x31e09f){const _0xf52c3e=_0x2ff22e;let _0x533dd9;if(_0x4574b2===void 0x0)_0x533dd9=_0x255d8b;else{if(typeof _0x4574b2!=_0xf52c3e(0x2e9)||!_0x396597(_0x4574b2))throw new TypeError(_0xf52c3e(0x34f));if(_0x37beae===void 0x0||!_0x37beae[_0xf52c3e(0x354)])_0x533dd9=Buffer[_0xf52c3e(0x2d0)](0x2),_0x533dd9[_0xf52c3e(0x395)](_0x4574b2,0x0);else{const _0x1a8aed=Buffer[_0xf52c3e(0x200)](_0x37beae);if(_0x1a8aed>0x7b)throw new RangeError(_0xf52c3e(0x2dd));_0x533dd9=Buffer[_0xf52c3e(0x2d0)](0x2+_0x1a8aed),_0x533dd9[_0xf52c3e(0x395)](_0x4574b2,0x0),typeof _0x37beae==_0xf52c3e(0x39a)?_0x533dd9[_0xf52c3e(0x21a)](_0x37beae,0x2):_0x533dd9['set'](_0x37beae,0x2);}}const _0x2a45fc={[_0x164067]:_0x533dd9[_0xf52c3e(0x354)],'fin':!0x0,'generateMask':this[_0xf52c3e(0x30b)],'mask':_0x57ed77,'maskBuffer':this[_0xf52c3e(0x328)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0xf52c3e(0x25d)]!==_0x22ccef?this[_0xf52c3e(0x20e)]([this[_0xf52c3e(0x37f)],_0x533dd9,!0x1,_0x2a45fc,_0x31e09f]):this[_0xf52c3e(0x326)](_0x5b704d[_0xf52c3e(0x397)](_0x533dd9,_0x2a45fc),_0x31e09f);}[_0x2ff22e(0x2b2)](_0x2fb333,_0x484186,_0x45d48f){const _0x3cf6b9=_0x2ff22e;let _0x25ef96,_0x6ee2de;if(typeof _0x2fb333==_0x3cf6b9(0x39a)?(_0x25ef96=Buffer[_0x3cf6b9(0x200)](_0x2fb333),_0x6ee2de=!0x1):_0x2e1d76(_0x2fb333)?(_0x25ef96=_0x2fb333[_0x3cf6b9(0x33f)],_0x6ee2de=!0x1):(_0x2fb333=_0x5bc1c1(_0x2fb333),_0x25ef96=_0x2fb333[_0x3cf6b9(0x354)],_0x6ee2de=_0x5bc1c1[_0x3cf6b9(0x31d)]),_0x25ef96>0x7d)throw new RangeError(_0x3cf6b9(0x369));const _0x30ad1b={[_0x164067]:_0x25ef96,'fin':!0x0,'generateMask':this[_0x3cf6b9(0x30b)],'mask':_0x484186,'maskBuffer':this[_0x3cf6b9(0x328)],'opcode':0x9,'readOnly':_0x6ee2de,'rsv1':!0x1};_0x2e1d76(_0x2fb333)?this[_0x3cf6b9(0x25d)]!==_0x22ccef?this['enqueue']([this[_0x3cf6b9(0x205)],_0x2fb333,!0x1,_0x30ad1b,_0x45d48f]):this[_0x3cf6b9(0x205)](_0x2fb333,!0x1,_0x30ad1b,_0x45d48f):this[_0x3cf6b9(0x25d)]!==_0x22ccef?this[_0x3cf6b9(0x20e)]([this['dispatch'],_0x2fb333,!0x1,_0x30ad1b,_0x45d48f]):this[_0x3cf6b9(0x326)](_0x5b704d[_0x3cf6b9(0x397)](_0x2fb333,_0x30ad1b),_0x45d48f);}[_0x2ff22e(0x34e)](_0x139b8f,_0x2c6f6e,_0x3c0f54){const _0x4f7fd0=_0x2ff22e;let _0x2687d8,_0x285fa7;if(typeof _0x139b8f==_0x4f7fd0(0x39a)?(_0x2687d8=Buffer[_0x4f7fd0(0x200)](_0x139b8f),_0x285fa7=!0x1):_0x2e1d76(_0x139b8f)?(_0x2687d8=_0x139b8f['size'],_0x285fa7=!0x1):(_0x139b8f=_0x5bc1c1(_0x139b8f),_0x2687d8=_0x139b8f['length'],_0x285fa7=_0x5bc1c1[_0x4f7fd0(0x31d)]),_0x2687d8>0x7d)throw new RangeError(_0x4f7fd0(0x369));const _0x57ef94={[_0x164067]:_0x2687d8,'fin':!0x0,'generateMask':this[_0x4f7fd0(0x30b)],'mask':_0x2c6f6e,'maskBuffer':this[_0x4f7fd0(0x328)],'opcode':0xa,'readOnly':_0x285fa7,'rsv1':!0x1};_0x2e1d76(_0x139b8f)?this['_state']!==_0x22ccef?this['enqueue']([this['getBlobData'],_0x139b8f,!0x1,_0x57ef94,_0x3c0f54]):this[_0x4f7fd0(0x205)](_0x139b8f,!0x1,_0x57ef94,_0x3c0f54):this['_state']!==_0x22ccef?this[_0x4f7fd0(0x20e)]([this[_0x4f7fd0(0x37f)],_0x139b8f,!0x1,_0x57ef94,_0x3c0f54]):this[_0x4f7fd0(0x326)](_0x5b704d[_0x4f7fd0(0x397)](_0x139b8f,_0x57ef94),_0x3c0f54);}[_0x2ff22e(0x2b3)](_0x46b41d,_0x4171b3,_0x4a8d44){const _0x3a4a83=_0x2ff22e,_0x20cc61=this[_0x3a4a83(0x2e8)][_0x44d182[_0x3a4a83(0x2b5)]];let _0x427a67=_0x4171b3['binary']?0x2:0x1,_0x96290=_0x4171b3[_0x3a4a83(0x2d2)],_0x42b416,_0x24d7cb;typeof _0x46b41d==_0x3a4a83(0x39a)?(_0x42b416=Buffer[_0x3a4a83(0x200)](_0x46b41d),_0x24d7cb=!0x1):_0x2e1d76(_0x46b41d)?(_0x42b416=_0x46b41d[_0x3a4a83(0x33f)],_0x24d7cb=!0x1):(_0x46b41d=_0x5bc1c1(_0x46b41d),_0x42b416=_0x46b41d['length'],_0x24d7cb=_0x5bc1c1[_0x3a4a83(0x31d)]),this['_firstFragment']?(this[_0x3a4a83(0x36c)]=!0x1,_0x96290&&_0x20cc61&&_0x20cc61[_0x3a4a83(0x333)][_0x20cc61[_0x3a4a83(0x335)]?_0x3a4a83(0x1fd):'client_no_context_takeover']&&(_0x96290=_0x42b416>=_0x20cc61[_0x3a4a83(0x37b)]),this[_0x3a4a83(0x30c)]=_0x96290):(_0x96290=!0x1,_0x427a67=0x0),_0x4171b3['fin']&&(this[_0x3a4a83(0x36c)]=!0x0);const _0x292ffd={[_0x164067]:_0x42b416,'fin':_0x4171b3[_0x3a4a83(0x260)],'generateMask':this[_0x3a4a83(0x30b)],'mask':_0x4171b3['mask'],'maskBuffer':this['_maskBuffer'],'opcode':_0x427a67,'readOnly':_0x24d7cb,'rsv1':_0x96290};_0x2e1d76(_0x46b41d)?this[_0x3a4a83(0x25d)]!==_0x22ccef?this[_0x3a4a83(0x20e)]([this['getBlobData'],_0x46b41d,this[_0x3a4a83(0x30c)],_0x292ffd,_0x4a8d44]):this[_0x3a4a83(0x205)](_0x46b41d,this[_0x3a4a83(0x30c)],_0x292ffd,_0x4a8d44):this[_0x3a4a83(0x25d)]!==_0x22ccef?this[_0x3a4a83(0x20e)]([this[_0x3a4a83(0x37f)],_0x46b41d,this[_0x3a4a83(0x30c)],_0x292ffd,_0x4a8d44]):this[_0x3a4a83(0x37f)](_0x46b41d,this['_compress'],_0x292ffd,_0x4a8d44);}[_0x2ff22e(0x205)](_0x5d60d1,_0x319deb,_0x32ff43,_0x3fe2dd){const _0x402ad3=_0x2ff22e;this[_0x402ad3(0x2db)]+=_0x32ff43[_0x164067],this[_0x402ad3(0x25d)]=_0x109cdc,_0x5d60d1[_0x402ad3(0x305)]()[_0x402ad3(0x2f0)](_0x16885f=>{const _0x1c84af=_0x402ad3;if(this[_0x1c84af(0x2a6)]['destroyed']){const _0xfc047=new Error(_0x1c84af(0x1fb));process['nextTick'](_0x36aa86,this,_0xfc047,_0x3fe2dd);return;}this[_0x1c84af(0x2db)]-=_0x32ff43[_0x164067];const _0x5d26f8=_0x5bc1c1(_0x16885f);_0x319deb?this[_0x1c84af(0x37f)](_0x5d26f8,_0x319deb,_0x32ff43,_0x3fe2dd):(this[_0x1c84af(0x25d)]=_0x22ccef,this[_0x1c84af(0x326)](_0x5b704d[_0x1c84af(0x397)](_0x5d26f8,_0x32ff43),_0x3fe2dd),this[_0x1c84af(0x27c)]());})[_0x402ad3(0x30e)](_0x351f5b=>{process['nextTick'](_0x428531,this,_0x351f5b,_0x3fe2dd);});}[_0x2ff22e(0x37f)](_0x4ccf85,_0x25f530,_0xa1905,_0x138861){const _0x28b941=_0x2ff22e;if(!_0x25f530){this[_0x28b941(0x326)](_0x5b704d[_0x28b941(0x397)](_0x4ccf85,_0xa1905),_0x138861);return;}const _0x3a56cc=this[_0x28b941(0x2e8)][_0x44d182[_0x28b941(0x2b5)]];this['_bufferedBytes']+=_0xa1905[_0x164067],this[_0x28b941(0x25d)]=_0xebe588,_0x3a56cc[_0x28b941(0x2d2)](_0x4ccf85,_0xa1905[_0x28b941(0x260)],(_0x6e80c7,_0x2fe199)=>{const _0x4da1a7=_0x28b941;if(this[_0x4da1a7(0x2a6)][_0x4da1a7(0x392)]){const _0x2d7050=new Error(_0x4da1a7(0x350));_0x36aa86(this,_0x2d7050,_0x138861);return;}this[_0x4da1a7(0x2db)]-=_0xa1905[_0x164067],this[_0x4da1a7(0x25d)]=_0x22ccef,_0xa1905[_0x4da1a7(0x31d)]=!0x1,this[_0x4da1a7(0x326)](_0x5b704d[_0x4da1a7(0x397)](_0x2fe199,_0xa1905),_0x138861),this[_0x4da1a7(0x27c)]();});}[_0x2ff22e(0x27c)](){const _0x46e772=_0x2ff22e;for(;this['_state']===_0x22ccef&&this[_0x46e772(0x39f)][_0x46e772(0x354)];){const _0x58e9f4=this[_0x46e772(0x39f)]['shift']();this[_0x46e772(0x2db)]-=_0x58e9f4[0x3][_0x164067],Reflect[_0x46e772(0x2e4)](_0x58e9f4[0x0],this,_0x58e9f4[_0x46e772(0x224)](0x1));}}[_0x2ff22e(0x20e)](_0x5968a7){const _0x1c1fc7=_0x2ff22e;this['_bufferedBytes']+=_0x5968a7[0x3][_0x164067],this[_0x1c1fc7(0x39f)][_0x1c1fc7(0x227)](_0x5968a7);}[_0x2ff22e(0x326)](_0x9f6e8c,_0x50358e){const _0x521549=_0x2ff22e;_0x9f6e8c[_0x521549(0x354)]===0x2?(this['_socket'][_0x521549(0x29c)](),this['_socket'][_0x521549(0x21a)](_0x9f6e8c[0x0]),this[_0x521549(0x2a6)][_0x521549(0x21a)](_0x9f6e8c[0x1],_0x50358e),this[_0x521549(0x2a6)]['uncork']()):this[_0x521549(0x2a6)][_0x521549(0x21a)](_0x9f6e8c[0x0],_0x50358e);}}Ee=_0x5b704d;function _0x36aa86(_0x597343,_0x309677,_0x4309bc){const _0x312966=_0x2ff22e;typeof _0x4309bc==_0x312966(0x29b)&&_0x4309bc(_0x309677);for(let _0x188977=0x0;_0x188977<_0x597343[_0x312966(0x39f)][_0x312966(0x354)];_0x188977++){const _0x30d505=_0x597343[_0x312966(0x39f)][_0x188977],_0x29134c=_0x30d505[_0x30d505[_0x312966(0x354)]-0x1];typeof _0x29134c=='function'&&_0x29134c(_0x309677);}}function _0x428531(_0xc48553,_0x7db6d3,_0x1aabb4){const _0x3580ad=_0x2ff22e;_0x36aa86(_0xc48553,_0x7db6d3,_0x1aabb4),_0xc48553[_0x3580ad(0x1eb)](_0x7db6d3);}return Ee;}var xe,tt;function Kt(){const _0x4bdb69=_0x23290d;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x178b11,kListener:_0xc14e18}=V(),_0x416c26=Symbol(_0x4bdb69(0x2f4)),_0x314424=Symbol(_0x4bdb69(0x20a)),_0x447048=Symbol(_0x4bdb69(0x377)),_0xa0dac2=Symbol(_0x4bdb69(0x2cb)),_0x5abb1e=Symbol('kReason'),_0x5cc809=Symbol(_0x4bdb69(0x308)),_0x3af6f1=Symbol(_0x4bdb69(0x25a)),_0x462e5=Symbol(_0x4bdb69(0x2bc));class _0x1337d4{constructor(_0x10b7d1){this[_0x5cc809]=null,this[_0x3af6f1]=_0x10b7d1;}get['target'](){return this[_0x5cc809];}get[_0x4bdb69(0x28a)](){return this[_0x3af6f1];}}Object[_0x4bdb69(0x1f6)](_0x1337d4[_0x4bdb69(0x384)],_0x4bdb69(0x24c),{'enumerable':!0x0}),Object['defineProperty'](_0x1337d4[_0x4bdb69(0x384)],_0x4bdb69(0x28a),{'enumerable':!0x0});class _0xe65ba8 extends _0x1337d4{constructor(_0x29bbf3,_0x118dcb={}){const _0x2acbf3=_0x4bdb69;super(_0x29bbf3),this[_0x416c26]=_0x118dcb[_0x2acbf3(0x25b)]===void 0x0?0x0:_0x118dcb[_0x2acbf3(0x25b)],this[_0x5abb1e]=_0x118dcb[_0x2acbf3(0x2a1)]===void 0x0?'':_0x118dcb[_0x2acbf3(0x2a1)],this[_0x462e5]=_0x118dcb['wasClean']===void 0x0?!0x1:_0x118dcb['wasClean'];}get['code'](){return this[_0x416c26];}get[_0x4bdb69(0x2a1)](){return this[_0x5abb1e];}get['wasClean'](){return this[_0x462e5];}}Object[_0x4bdb69(0x1f6)](_0xe65ba8['prototype'],'code',{'enumerable':!0x0}),Object[_0x4bdb69(0x1f6)](_0xe65ba8['prototype'],_0x4bdb69(0x2a1),{'enumerable':!0x0}),Object[_0x4bdb69(0x1f6)](_0xe65ba8[_0x4bdb69(0x384)],_0x4bdb69(0x27b),{'enumerable':!0x0});class _0x59a0fa extends _0x1337d4{constructor(_0x49b5be,_0x149c54={}){const _0x8d8ec8=_0x4bdb69;super(_0x49b5be),this[_0x447048]=_0x149c54['error']===void 0x0?null:_0x149c54[_0x8d8ec8(0x247)],this[_0xa0dac2]=_0x149c54[_0x8d8ec8(0x366)]===void 0x0?'':_0x149c54[_0x8d8ec8(0x366)];}get[_0x4bdb69(0x247)](){return this[_0x447048];}get['message'](){return this[_0xa0dac2];}}Object['defineProperty'](_0x59a0fa[_0x4bdb69(0x384)],_0x4bdb69(0x247),{'enumerable':!0x0}),Object[_0x4bdb69(0x1f6)](_0x59a0fa[_0x4bdb69(0x384)],'message',{'enumerable':!0x0});class _0x822c74 extends _0x1337d4{constructor(_0x5113a5,_0x44fdda={}){const _0x494865=_0x4bdb69;super(_0x5113a5),this[_0x314424]=_0x44fdda[_0x494865(0x36b)]===void 0x0?null:_0x44fdda[_0x494865(0x36b)];}get[_0x4bdb69(0x36b)](){return this[_0x314424];}}Object[_0x4bdb69(0x1f6)](_0x822c74['prototype'],'data',{'enumerable':!0x0}),xe={'CloseEvent':_0xe65ba8,'ErrorEvent':_0x59a0fa,'Event':_0x1337d4,'EventTarget':{'addEventListener'(_0x38b723,_0x528200,_0x1637bf={}){const _0x151ca2=_0x4bdb69;for(const _0x43d524 of this[_0x151ca2(0x2ec)](_0x38b723))if(!_0x1637bf[_0x178b11]&&_0x43d524[_0xc14e18]===_0x528200&&!_0x43d524[_0x178b11])return;let _0x48ce57;if(_0x38b723===_0x151ca2(0x366))_0x48ce57=function(_0x50e2bd,_0x1aad14){const _0x28cecc=_0x151ca2,_0x24a83e=new _0x822c74('message',{'data':_0x1aad14?_0x50e2bd:_0x50e2bd[_0x28cecc(0x221)]()});_0x24a83e[_0x5cc809]=this,_0x59599a(_0x528200,this,_0x24a83e);};else{if(_0x38b723===_0x151ca2(0x291))_0x48ce57=function(_0x573711,_0x28b454){const _0x58678e=_0x151ca2,_0x5ed934=new _0xe65ba8(_0x58678e(0x291),{'code':_0x573711,'reason':_0x28b454[_0x58678e(0x221)](),'wasClean':this[_0x58678e(0x346)]&&this[_0x58678e(0x2dc)]});_0x5ed934[_0x5cc809]=this,_0x59599a(_0x528200,this,_0x5ed934);};else{if(_0x38b723===_0x151ca2(0x247))_0x48ce57=function(_0x366aee){const _0x12239a=_0x151ca2,_0x422bea=new _0x59a0fa(_0x12239a(0x247),{'error':_0x366aee,'message':_0x366aee[_0x12239a(0x366)]});_0x422bea[_0x5cc809]=this,_0x59599a(_0x528200,this,_0x422bea);};else{if(_0x38b723==='open')_0x48ce57=function(){const _0x2660e3=_0x151ca2,_0x53cce7=new _0x1337d4(_0x2660e3(0x2ad));_0x53cce7[_0x5cc809]=this,_0x59599a(_0x528200,this,_0x53cce7);};else return;}}}_0x48ce57[_0x178b11]=!!_0x1637bf[_0x178b11],_0x48ce57[_0xc14e18]=_0x528200,_0x1637bf[_0x151ca2(0x22d)]?this[_0x151ca2(0x22d)](_0x38b723,_0x48ce57):this['on'](_0x38b723,_0x48ce57);},'removeEventListener'(_0x5eb990,_0x5af706){const _0x53fcd1=_0x4bdb69;for(const _0x1bedbb of this[_0x53fcd1(0x2ec)](_0x5eb990))if(_0x1bedbb[_0xc14e18]===_0x5af706&&!_0x1bedbb[_0x178b11]){this[_0x53fcd1(0x28f)](_0x5eb990,_0x1bedbb);break;}}},'MessageEvent':_0x822c74};function _0x59599a(_0x188f59,_0x1e8db6,_0x549238){const _0x49edfd=_0x4bdb69;typeof _0x188f59==_0x49edfd(0x370)&&_0x188f59[_0x49edfd(0x24e)]?_0x188f59['handleEvent'][_0x49edfd(0x273)](_0x188f59,_0x549238):_0x188f59[_0x49edfd(0x273)](_0x1e8db6,_0x549238);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x44ecfb}=ne();function _0x5355e7(_0x35bd92,_0xea46b4,_0x2f8a31){_0x35bd92[_0xea46b4]===void 0x0?_0x35bd92[_0xea46b4]=[_0x2f8a31]:_0x35bd92[_0xea46b4]['push'](_0x2f8a31);}function _0xe9c27(_0xdef663){const _0x3b372a=_0x54b0,_0x11b6f8=Object[_0x3b372a(0x2c3)](null);let _0x3345c3=Object[_0x3b372a(0x2c3)](null),_0x267b7e=!0x1,_0x3d873a=!0x1,_0x58ea2b=!0x1,_0x5075ab,_0x4b9b20,_0x5d37c9=-0x1,_0x9a13d7=-0x1,_0x34b605=-0x1,_0x548e10=0x0;for(;_0x548e10<_0xdef663[_0x3b372a(0x354)];_0x548e10++)if(_0x9a13d7=_0xdef663['charCodeAt'](_0x548e10),_0x5075ab===void 0x0){if(_0x34b605===-0x1&&_0x44ecfb[_0x9a13d7]===0x1)_0x5d37c9===-0x1&&(_0x5d37c9=_0x548e10);else{if(_0x548e10!==0x0&&(_0x9a13d7===0x20||_0x9a13d7===0x9))_0x34b605===-0x1&&_0x5d37c9!==-0x1&&(_0x34b605=_0x548e10);else{if(_0x9a13d7===0x3b||_0x9a13d7===0x2c){if(_0x5d37c9===-0x1)throw new SyntaxError(_0x3b372a(0x2d8)+_0x548e10);_0x34b605===-0x1&&(_0x34b605=_0x548e10);const _0x428888=_0xdef663[_0x3b372a(0x224)](_0x5d37c9,_0x34b605);_0x9a13d7===0x2c?(_0x5355e7(_0x11b6f8,_0x428888,_0x3345c3),_0x3345c3=Object['create'](null)):_0x5075ab=_0x428888,_0x5d37c9=_0x34b605=-0x1;}else throw new SyntaxError(_0x3b372a(0x2d8)+_0x548e10);}}}else{if(_0x4b9b20===void 0x0){if(_0x34b605===-0x1&&_0x44ecfb[_0x9a13d7]===0x1)_0x5d37c9===-0x1&&(_0x5d37c9=_0x548e10);else{if(_0x9a13d7===0x20||_0x9a13d7===0x9)_0x34b605===-0x1&&_0x5d37c9!==-0x1&&(_0x34b605=_0x548e10);else{if(_0x9a13d7===0x3b||_0x9a13d7===0x2c){if(_0x5d37c9===-0x1)throw new SyntaxError(_0x3b372a(0x2d8)+_0x548e10);_0x34b605===-0x1&&(_0x34b605=_0x548e10),_0x5355e7(_0x3345c3,_0xdef663[_0x3b372a(0x224)](_0x5d37c9,_0x34b605),!0x0),_0x9a13d7===0x2c&&(_0x5355e7(_0x11b6f8,_0x5075ab,_0x3345c3),_0x3345c3=Object[_0x3b372a(0x2c3)](null),_0x5075ab=void 0x0),_0x5d37c9=_0x34b605=-0x1;}else{if(_0x9a13d7===0x3d&&_0x5d37c9!==-0x1&&_0x34b605===-0x1)_0x4b9b20=_0xdef663[_0x3b372a(0x224)](_0x5d37c9,_0x548e10),_0x5d37c9=_0x34b605=-0x1;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x548e10);}}}}else{if(_0x3d873a){if(_0x44ecfb[_0x9a13d7]!==0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x548e10);_0x5d37c9===-0x1?_0x5d37c9=_0x548e10:_0x267b7e||(_0x267b7e=!0x0),_0x3d873a=!0x1;}else{if(_0x58ea2b){if(_0x44ecfb[_0x9a13d7]===0x1)_0x5d37c9===-0x1&&(_0x5d37c9=_0x548e10);else{if(_0x9a13d7===0x22&&_0x5d37c9!==-0x1)_0x58ea2b=!0x1,_0x34b605=_0x548e10;else{if(_0x9a13d7===0x5c)_0x3d873a=!0x0;else throw new SyntaxError(_0x3b372a(0x2d8)+_0x548e10);}}}else{if(_0x9a13d7===0x22&&_0xdef663[_0x3b372a(0x356)](_0x548e10-0x1)===0x3d)_0x58ea2b=!0x0;else{if(_0x34b605===-0x1&&_0x44ecfb[_0x9a13d7]===0x1)_0x5d37c9===-0x1&&(_0x5d37c9=_0x548e10);else{if(_0x5d37c9!==-0x1&&(_0x9a13d7===0x20||_0x9a13d7===0x9))_0x34b605===-0x1&&(_0x34b605=_0x548e10);else{if(_0x9a13d7===0x3b||_0x9a13d7===0x2c){if(_0x5d37c9===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x548e10);_0x34b605===-0x1&&(_0x34b605=_0x548e10);let _0x175418=_0xdef663[_0x3b372a(0x224)](_0x5d37c9,_0x34b605);_0x267b7e&&(_0x175418=_0x175418[_0x3b372a(0x307)](/\\/g,''),_0x267b7e=!0x1),_0x5355e7(_0x3345c3,_0x4b9b20,_0x175418),_0x9a13d7===0x2c&&(_0x5355e7(_0x11b6f8,_0x5075ab,_0x3345c3),_0x3345c3=Object[_0x3b372a(0x2c3)](null),_0x5075ab=void 0x0),_0x4b9b20=void 0x0,_0x5d37c9=_0x34b605=-0x1;}else throw new SyntaxError(_0x3b372a(0x2d8)+_0x548e10);}}}}}}}if(_0x5d37c9===-0x1||_0x58ea2b||_0x9a13d7===0x20||_0x9a13d7===0x9)throw new SyntaxError(_0x3b372a(0x302));_0x34b605===-0x1&&(_0x34b605=_0x548e10);const _0x32d41d=_0xdef663[_0x3b372a(0x224)](_0x5d37c9,_0x34b605);return _0x5075ab===void 0x0?_0x5355e7(_0x11b6f8,_0x32d41d,_0x3345c3):(_0x4b9b20===void 0x0?_0x5355e7(_0x3345c3,_0x32d41d,!0x0):_0x267b7e?_0x5355e7(_0x3345c3,_0x4b9b20,_0x32d41d[_0x3b372a(0x307)](/\\/g,'')):_0x5355e7(_0x3345c3,_0x4b9b20,_0x32d41d),_0x5355e7(_0x11b6f8,_0x5075ab,_0x3345c3)),_0x11b6f8;}function _0x18a319(_0x34d4a4){const _0x52fb7d=_0x54b0;return Object[_0x52fb7d(0x2e7)](_0x34d4a4)['map'](_0x15a842=>{const _0x529fb7=_0x52fb7d;let _0x610d5c=_0x34d4a4[_0x15a842];return Array[_0x529fb7(0x2c8)](_0x610d5c)||(_0x610d5c=[_0x610d5c]),_0x610d5c[_0x529fb7(0x280)](_0x3a79db=>[_0x15a842][_0x529fb7(0x213)](Object[_0x529fb7(0x2e7)](_0x3a79db)[_0x529fb7(0x280)](_0x1a33c3=>{const _0x2fa686=_0x529fb7;let _0x11e971=_0x3a79db[_0x1a33c3];return Array['isArray'](_0x11e971)||(_0x11e971=[_0x11e971]),_0x11e971[_0x2fa686(0x280)](_0x3d0b68=>_0x3d0b68===!0x0?_0x1a33c3:_0x1a33c3+'='+_0x3d0b68)['join'](';\x20');}))[_0x529fb7(0x360)](';\x20'))['join'](',\x20');})[_0x52fb7d(0x360)](',\x20');}return be={'format':_0x18a319,'parse':_0xe9c27},be;}var we,st;function _0x259f(){const _0x5a6f95=['_payloadLength','clientTracking','concat','sha1','finished','_final','createDeflateRaw','_configService','createInflateRaw','write','onmessage','digest','timeout','readable','perMessageDeflate','invalid\x20opcode\x20','toString','password','_originalSecure','slice','createServer','entries','push','setConfig','default','getData','verifyClient','wsClientError','once','_loop','from','arraybuffer','handshakeTimeout','4068oTXBMI','Sec-WebSocket-Extensions:\x20','getOwnPropertyDescriptor','response','101013vwyiVz','extensions','includes','readUInt32BE','setSocket','options','Origin','File','read','haveLength','_readyState','concurrency','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','invalid\x20UTF-8\x20sequence','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','kDone','allowSynchronousEvents','error','Invalid\x20Sec-WebSocket-Extensions\x20header','unmask','byteOffset','Upgrade:\x20websocket','target','port','handleEvent','startLoop','value','consume','location','writable','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','dispose','status-code','resume','_options','href','kType','code','\x22\x20must\x20have\x20only\x20a\x20single\x20value','_state','https:','nextTick','fin','hostname','ws+unix:','_registerDependencies','request','_injector','setHeader','isBuffer','The\x20\x22','ws:','_paused','Invalid\x20Sec-WebSocket-Accept\x20header','blob','toStringTag','_mask','writeHead','kRun','clients','Invalid\x20HTTP\x20method','call','removeEventListener','Invalid\x20value\x20for\x20parameter\x20\x22','Server\x20sent\x20an\x20invalid\x20subprotocol','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','addEventListener','mask','_allowSynchronousEvents','wasClean','dequeue','maxRedirects','unshift','_shouldEmitClose','map','Unknown\x20parameter\x20\x22','listen','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','handleProtocols','595NNocud','serverMaxWindowBits','shift','bufferedAmount','getPayloadLength64','type','end','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','_writableState','Max\x20payload\x20size\x20exceeded','removeListener','_messageLength','close','_closeMessage','_no_context_takeover','WS_ERR_UNEXPECTED_RSV_2_3','kIsForOnEventAttribute','username','WebSocket\x20is\x20not\x20open:\x20readyState\x20','Parameter\x20\x22','hasOwnProperty','noServer','function','cork','Invalid\x20WebSocket\x20frame:\x20','has','exports','upgrade','reason','reset','shouldHandle','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','split','_socket','connection','isInteger','CLOSED','_originalHostOrSocketPath','acceptAsServer','servername','open','Basic\x20','sec-websocket-version','WS_ERR_INVALID_UTF8','values','ping','send','jobs','extensionName','CONNECTING','132dtCCOq','sec-websocket-protocol','isServer','constructor','env','kWasClean','offer','MASK\x20must\x20be\x20clear','setTimeout','toLowerCase','isPaused','__esModule','create','_originalIpc','_errored','text/plain','bind','isArray','Invalid\x20Sec-WebSocket-Protocol\x20header','drain','kMessage','authorization','Connection:\x20Upgrade','_url','pending','allocUnsafe','Module','compress','socket','followRedirects','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','maskBuffer','cleanup','Unexpected\x20character\x20at\x20index\x20','OPEN','_errorEmitted','_bufferedBytes','_closeFrameSent','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','set','pluginName','sec-websocket-extensions','GET','connect','encrypted','apply','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','_maxPayload','keys','_extensions','number','_doCreateSocket','\x22:\x20','listeners','endEmitted','customHeaders','9743700mCfvQp','then','forEach','normalizeParams','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','kCode','MASK\x20must\x20be\x20set','kListener','generateMask','16InIOlj','createError','redirect','_closeCode','WS_ERR_EXPECTED_MASK','finish','The\x20server\x20is\x20not\x20running','accept','288051vfjEfX','setNoDelay','Unexpected\x20end\x20of\x20input','Z_SYNC_FLUSH','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','arrayBuffer','removeAllListeners','replace','kTarget','base64','Invalid\x20URL:\x20','_generateMask','_compress','\x22\x20subprotocol\x20is\x20duplicated','catch','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','_opcode','getMask','client','9404oZyEHW','_httpService','Invalid\x20Upgrade\x20header','WS_ERR_INVALID_CLOSE_CODE','add','threshold','rsv1','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','client_max_window_bits','isIP','readOnly','controlMessage','callback','invalid\x20payload\x20length\x20','websocket','_bufferedAmount','_fragmented','next','listening','sendFrame','pow','_maskBuffer','emitClose','STATUS_CODES','_server','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','protocol','_sender','server_max_window_bits','CLOSING','unexpected-response','WS_NO_BUFFER_UTIL','params','_autoPong','_isServer','startsWith','serverNoContextTakeover','onStarting','destroy','clientNoContextTakeover','completeUpgrade','clientMaxWindowBits','terminate','_fragments','size','auth','Maximum\x20redirects\x20exceeded','WS_ERR_INVALID_OPCODE','maxPayload','_buffers','getInfo','_closeFrameReceived','_req','concurrencyLimit','url','_decompress','hash','_binaryType','opcode','pong','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','The\x20URL\x27s\x20pathname\x20is\x20empty','errorEmitted','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','length','protocolVersion','charCodeAt','278026onUtjc','WebSocket','504BajfVk','alloc','delete','13,\x208','listenerCount','socketPath','indexOf','join','buffer','dataMessage','server','Blob','pipe','message','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','_receiver','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','construct','data','_firstFragment','flush','_totalPayloadLength','fragments','object','_readableState','binaryType','permessage-deflate','RSV1\x20must\x20be\x20clear','client_no_context_takeover','readUInt16BE','kError','freeze','http:','headers','_threshold','_inflate','getConfig','path','dispatch','pathname','sec-websocket-accept','Unsupported\x20protocol\x20version:\x20','abort','prototype','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','nodebuffer','createSocket','finishRequest','Cookie','captureStackTrace','decompress','readyState','update','emit','_skipUTF8Validation','host','species','destroyed','48232yKSOdW','_compressed','writeUInt16BE','onopen','frame','kAborted','_removeListeners','string','Z_DEFAULT_WINDOWBITS','_masked','authorized','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','_queue','_fin','\x20(supported\x20versions:\x20','onerror','text/html','_redirects','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','Server\x20sent\x20no\x20subprotocol','autoPong','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','method','_read','wss:','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','defineProperty','address','origin','_max_window_bits','acceptAsClient','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','isValidUTF8','server_no_context_takeover','_protocol','423785eDdGcK','byteLength','format','WS_NO_UTF_8_VALIDATE','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','parse','getBlobData','find','_deflate','WS_ERR_UNEXPECTED_RSV_1','cookie','kData','total-length','pause','_closeTimer','enqueue','createConnection','_write'];_0x259f=function(){return _0x5a6f95;};return _0x259f();}function Ie(){const _0x379be6=_0x23290d;if(st)return we;st=0x1;const _0x50c2b4=_0x3b8928,_0x4a5358=_0x41fb65,_0x279f8b=_0x16cd46,_0x382726=_0x558a35,_0x5039b4=_0x370de3,{randomBytes:_0x4f68fa,createHash:_0x38e4ea}=_0x146326,{Duplex:_0x5f2b57,Readable:_0x272a5f}=_0x4c3f49,{URL:_0x2c5b87}=_0x4e3d77,_0x3e0b2d=he(),_0x5b101c=dt(),_0x314bf5=_t(),{isBlob:_0xe59f02}=ne(),{BINARY_TYPES:_0x4814af,EMPTY_BUFFER:_0x2f7435,GUID:_0x38bab9,kForOnEventAttribute:_0xc8921,kListener:_0x9cb625,kStatusCode:_0x469074,kWebSocket:_0x28ba29,NOOP:_0x467db3}=V(),{EventTarget:{addEventListener:_0x4db804,removeEventListener:_0x1ec728}}=Kt(),{format:_0x2ff93d,parse:_0x272cbd}=pt(),{toBuffer:_0x4934f1}=ce(),_0x5c7a0f=0x1e*0x3e8,_0xe8001a=Symbol(_0x379be6(0x398)),_0xdd4f5c=[0x8,0xd],_0x1ae75e=[_0x379be6(0x2b6),_0x379be6(0x2d9),_0x379be6(0x330),'CLOSED'],_0x5192ba=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x238ade extends _0x50c2b4{constructor(_0x39d973,_0x3b69fb,_0x15eb55){const _0x1ec4d8=_0x379be6;super(),this[_0x1ec4d8(0x34c)]=_0x4814af[0x0],this[_0x1ec4d8(0x2fb)]=0x3ee,this[_0x1ec4d8(0x346)]=!0x1,this[_0x1ec4d8(0x2dc)]=!0x1,this['_closeMessage']=_0x2f7435,this[_0x1ec4d8(0x20d)]=null,this[_0x1ec4d8(0x2da)]=!0x1,this[_0x1ec4d8(0x2e8)]={},this['_paused']=!0x1,this[_0x1ec4d8(0x1fe)]='',this[_0x1ec4d8(0x240)]=_0x238ade[_0x1ec4d8(0x2b6)],this[_0x1ec4d8(0x368)]=null,this['_sender']=null,this[_0x1ec4d8(0x2a6)]=null,_0x39d973!==null?(this[_0x1ec4d8(0x322)]=0x0,this[_0x1ec4d8(0x335)]=!0x1,this[_0x1ec4d8(0x1ed)]=0x0,_0x3b69fb===void 0x0?_0x3b69fb=[]:Array[_0x1ec4d8(0x2c8)](_0x3b69fb)||(typeof _0x3b69fb==_0x1ec4d8(0x370)&&_0x3b69fb!==null?(_0x15eb55=_0x3b69fb,_0x3b69fb=[]):_0x3b69fb=[_0x3b69fb]),_0x10242b(this,_0x39d973,_0x3b69fb,_0x15eb55)):(this[_0x1ec4d8(0x334)]=_0x15eb55[_0x1ec4d8(0x1f0)],this['_isServer']=!0x0);}get[_0x379be6(0x372)](){const _0x24a4b9=_0x379be6;return this[_0x24a4b9(0x34c)];}set[_0x379be6(0x372)](_0x29918c){const _0xdebd6e=_0x379be6;_0x4814af[_0xdebd6e(0x238)](_0x29918c)&&(this[_0xdebd6e(0x34c)]=_0x29918c,this['_receiver']&&(this[_0xdebd6e(0x368)]['_binaryType']=_0x29918c));}get[_0x379be6(0x288)](){const _0x2b9cbf=_0x379be6;return this['_socket']?this['_socket'][_0x2b9cbf(0x28d)][_0x2b9cbf(0x354)]+this['_sender']['_bufferedBytes']:this[_0x2b9cbf(0x322)];}get[_0x379be6(0x237)](){const _0x228b8d=_0x379be6;return Object[_0x228b8d(0x2e7)](this[_0x228b8d(0x2e8)])[_0x228b8d(0x360)]();}get[_0x379be6(0x2c1)](){const _0x1ea34a=_0x379be6;return this[_0x1ea34a(0x26a)];}get['onclose'](){return null;}get[_0x379be6(0x1eb)](){return null;}get[_0x379be6(0x396)](){return null;}get[_0x379be6(0x21b)](){return null;}get[_0x379be6(0x32d)](){const _0x301764=_0x379be6;return this[_0x301764(0x1fe)];}get[_0x379be6(0x38c)](){const _0x468997=_0x379be6;return this[_0x468997(0x240)];}get['url'](){const _0x22cabd=_0x379be6;return this[_0x22cabd(0x2ce)];}[_0x379be6(0x23a)](_0x5d9e89,_0x558d98,_0x5e10c0){const _0x13c036=_0x379be6,_0x59a78d=new _0x5b101c({'allowSynchronousEvents':_0x5e10c0[_0x13c036(0x246)],'binaryType':this[_0x13c036(0x372)],'extensions':this[_0x13c036(0x2e8)],'isServer':this[_0x13c036(0x335)],'maxPayload':_0x5e10c0[_0x13c036(0x343)],'skipUTF8Validation':_0x5e10c0['skipUTF8Validation']}),_0x5caa44=new _0x314bf5(_0x5d9e89,this['_extensions'],_0x5e10c0[_0x13c036(0x2f7)]);this[_0x13c036(0x368)]=_0x59a78d,this[_0x13c036(0x32e)]=_0x5caa44,this[_0x13c036(0x2a6)]=_0x5d9e89,_0x59a78d[_0x28ba29]=this,_0x5caa44[_0x28ba29]=this,_0x5d9e89[_0x28ba29]=this,_0x59a78d['on']('conclude',_0x11a798),_0x59a78d['on'](_0x13c036(0x2ca),_0x1f6a4f),_0x59a78d['on'](_0x13c036(0x247),_0x1fac20),_0x59a78d['on'](_0x13c036(0x366),_0x17452c),_0x59a78d['on']('ping',_0x3bf989),_0x59a78d['on']('pong',_0x8bc425),_0x5caa44['onerror']=_0x5417bc,_0x5d9e89['setTimeout']&&_0x5d9e89[_0x13c036(0x2bf)](0x0),_0x5d9e89[_0x13c036(0x301)]&&_0x5d9e89[_0x13c036(0x301)](),_0x558d98['length']>0x0&&_0x5d9e89[_0x13c036(0x27e)](_0x558d98),_0x5d9e89['on'](_0x13c036(0x291),_0x8974dd),_0x5d9e89['on'](_0x13c036(0x36b),_0x241ee9),_0x5d9e89['on'](_0x13c036(0x28b),_0x1976bc),_0x5d9e89['on']('error',_0x3b9984),this[_0x13c036(0x240)]=_0x238ade[_0x13c036(0x2d9)],this['emit']('open');}[_0x379be6(0x329)](){const _0x346182=_0x379be6;if(!this[_0x346182(0x2a6)]){this[_0x346182(0x240)]=_0x238ade['CLOSED'],this[_0x346182(0x38e)](_0x346182(0x291),this['_closeCode'],this[_0x346182(0x292)]);return;}this[_0x346182(0x2e8)][_0x3e0b2d[_0x346182(0x2b5)]]&&this[_0x346182(0x2e8)][_0x3e0b2d[_0x346182(0x2b5)]]['cleanup'](),this['_receiver'][_0x346182(0x306)](),this[_0x346182(0x240)]=_0x238ade[_0x346182(0x2a9)],this[_0x346182(0x38e)]('close',this[_0x346182(0x2fb)],this[_0x346182(0x292)]);}[_0x379be6(0x291)](_0x4be145,_0x452b52){const _0x1391d4=_0x379be6;if(this['readyState']!==_0x238ade['CLOSED']){if(this['readyState']===_0x238ade[_0x1391d4(0x2b6)]){_0x4503d4(this,this['_req'],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}if(this[_0x1391d4(0x38c)]===_0x238ade['CLOSING']){this[_0x1391d4(0x2dc)]&&(this[_0x1391d4(0x346)]||this[_0x1391d4(0x368)][_0x1391d4(0x28d)][_0x1391d4(0x352)])&&this[_0x1391d4(0x2a6)][_0x1391d4(0x28b)]();return;}this[_0x1391d4(0x240)]=_0x238ade['CLOSING'],this['_sender'][_0x1391d4(0x291)](_0x4be145,_0x452b52,!this[_0x1391d4(0x335)],_0x3253d7=>{const _0x3a2549=_0x1391d4;_0x3253d7||(this['_closeFrameSent']=!0x0,(this['_closeFrameReceived']||this['_receiver']['_writableState'][_0x3a2549(0x352)])&&this['_socket'][_0x3a2549(0x28b)]());}),_0x5ec066(this);}}[_0x379be6(0x20c)](){const _0x215b0b=_0x379be6;this[_0x215b0b(0x38c)]===_0x238ade[_0x215b0b(0x2b6)]||this[_0x215b0b(0x38c)]===_0x238ade[_0x215b0b(0x2a9)]||(this[_0x215b0b(0x26a)]=!0x0,this[_0x215b0b(0x2a6)][_0x215b0b(0x20c)]());}[_0x379be6(0x2b2)](_0x2f2006,_0x2349a6,_0x3cfa91){const _0x527664=_0x379be6;if(this[_0x527664(0x38c)]===_0x238ade['CONNECTING'])throw new Error(_0x527664(0x31a));if(typeof _0x2f2006==_0x527664(0x29b)?(_0x3cfa91=_0x2f2006,_0x2f2006=_0x2349a6=void 0x0):typeof _0x2349a6==_0x527664(0x29b)&&(_0x3cfa91=_0x2349a6,_0x2349a6=void 0x0),typeof _0x2f2006==_0x527664(0x2e9)&&(_0x2f2006=_0x2f2006[_0x527664(0x221)]()),this[_0x527664(0x38c)]!==_0x238ade[_0x527664(0x2d9)]){_0x1b0ea1(this,_0x2f2006,_0x3cfa91);return;}_0x2349a6===void 0x0&&(_0x2349a6=!this[_0x527664(0x335)]),this[_0x527664(0x32e)]['ping'](_0x2f2006||_0x2f7435,_0x2349a6,_0x3cfa91);}[_0x379be6(0x34e)](_0x22eb87,_0x457db2,_0x4afa1a){const _0x4af172=_0x379be6;if(this[_0x4af172(0x38c)]===_0x238ade[_0x4af172(0x2b6)])throw new Error(_0x4af172(0x31a));if(typeof _0x22eb87==_0x4af172(0x29b)?(_0x4afa1a=_0x22eb87,_0x22eb87=_0x457db2=void 0x0):typeof _0x457db2==_0x4af172(0x29b)&&(_0x4afa1a=_0x457db2,_0x457db2=void 0x0),typeof _0x22eb87==_0x4af172(0x2e9)&&(_0x22eb87=_0x22eb87[_0x4af172(0x221)]()),this[_0x4af172(0x38c)]!==_0x238ade[_0x4af172(0x2d9)]){_0x1b0ea1(this,_0x22eb87,_0x4afa1a);return;}_0x457db2===void 0x0&&(_0x457db2=!this[_0x4af172(0x335)]),this[_0x4af172(0x32e)][_0x4af172(0x34e)](_0x22eb87||_0x2f7435,_0x457db2,_0x4afa1a);}[_0x379be6(0x257)](){const _0x221758=_0x379be6;this[_0x221758(0x38c)]===_0x238ade[_0x221758(0x2b6)]||this[_0x221758(0x38c)]===_0x238ade['CLOSED']||(this[_0x221758(0x26a)]=!0x1,this[_0x221758(0x368)][_0x221758(0x28d)]['needDrain']||this[_0x221758(0x2a6)][_0x221758(0x257)]());}[_0x379be6(0x2b3)](_0x3fac4d,_0x51352f,_0x10d7fb){const _0x414eb2=_0x379be6;if(this['readyState']===_0x238ade[_0x414eb2(0x2b6)])throw new Error(_0x414eb2(0x31a));if(typeof _0x51352f==_0x414eb2(0x29b)&&(_0x10d7fb=_0x51352f,_0x51352f={}),typeof _0x3fac4d==_0x414eb2(0x2e9)&&(_0x3fac4d=_0x3fac4d[_0x414eb2(0x221)]()),this[_0x414eb2(0x38c)]!==_0x238ade[_0x414eb2(0x2d9)]){_0x1b0ea1(this,_0x3fac4d,_0x10d7fb);return;}const _0x5b8a34={'binary':typeof _0x3fac4d!=_0x414eb2(0x39a),'mask':!this[_0x414eb2(0x335)],'compress':!0x0,'fin':!0x0,..._0x51352f};this[_0x414eb2(0x2e8)][_0x3e0b2d['extensionName']]||(_0x5b8a34[_0x414eb2(0x2d2)]=!0x1),this[_0x414eb2(0x32e)][_0x414eb2(0x2b3)](_0x3fac4d||_0x2f7435,_0x5b8a34,_0x10d7fb);}[_0x379be6(0x33d)](){const _0x4671b1=_0x379be6;if(this['readyState']!==_0x238ade[_0x4671b1(0x2a9)]){if(this[_0x4671b1(0x38c)]===_0x238ade['CONNECTING']){_0x4503d4(this,this[_0x4671b1(0x347)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}this[_0x4671b1(0x2a6)]&&(this['_readyState']=_0x238ade[_0x4671b1(0x330)],this['_socket'][_0x4671b1(0x339)]());}}}Object[_0x379be6(0x1f6)](_0x238ade,_0x379be6(0x2b6),{'enumerable':!0x0,'value':_0x1ae75e['indexOf'](_0x379be6(0x2b6))}),Object[_0x379be6(0x1f6)](_0x238ade[_0x379be6(0x384)],_0x379be6(0x2b6),{'enumerable':!0x0,'value':_0x1ae75e[_0x379be6(0x35f)]('CONNECTING')}),Object['defineProperty'](_0x238ade,_0x379be6(0x2d9),{'enumerable':!0x0,'value':_0x1ae75e[_0x379be6(0x35f)](_0x379be6(0x2d9))}),Object['defineProperty'](_0x238ade[_0x379be6(0x384)],_0x379be6(0x2d9),{'enumerable':!0x0,'value':_0x1ae75e['indexOf'](_0x379be6(0x2d9))}),Object[_0x379be6(0x1f6)](_0x238ade,_0x379be6(0x330),{'enumerable':!0x0,'value':_0x1ae75e[_0x379be6(0x35f)](_0x379be6(0x330))}),Object[_0x379be6(0x1f6)](_0x238ade['prototype'],'CLOSING',{'enumerable':!0x0,'value':_0x1ae75e[_0x379be6(0x35f)](_0x379be6(0x330))}),Object[_0x379be6(0x1f6)](_0x238ade,_0x379be6(0x2a9),{'enumerable':!0x0,'value':_0x1ae75e[_0x379be6(0x35f)](_0x379be6(0x2a9))}),Object[_0x379be6(0x1f6)](_0x238ade[_0x379be6(0x384)],_0x379be6(0x2a9),{'enumerable':!0x0,'value':_0x1ae75e[_0x379be6(0x35f)](_0x379be6(0x2a9))}),[_0x379be6(0x372),_0x379be6(0x288),_0x379be6(0x237),'isPaused',_0x379be6(0x32d),'readyState',_0x379be6(0x349)]['forEach'](_0x276a7f=>{const _0xea7010=_0x379be6;Object['defineProperty'](_0x238ade[_0xea7010(0x384)],_0x276a7f,{'enumerable':!0x0});}),[_0x379be6(0x2ad),_0x379be6(0x247),_0x379be6(0x291),'message'][_0x379be6(0x2f1)](_0x1f3097=>{const _0x211464=_0x379be6;Object[_0x211464(0x1f6)](_0x238ade[_0x211464(0x384)],'on'+_0x1f3097,{'enumerable':!0x0,'get'(){const _0x133307=_0x211464;for(const _0x55e226 of this[_0x133307(0x2ec)](_0x1f3097))if(_0x55e226[_0xc8921])return _0x55e226[_0x9cb625];return null;},'set'(_0x300770){const _0x35d1b5=_0x211464;for(const _0x38a8b9 of this['listeners'](_0x1f3097))if(_0x38a8b9[_0xc8921]){this[_0x35d1b5(0x28f)](_0x1f3097,_0x38a8b9);break;}typeof _0x300770==_0x35d1b5(0x29b)&&this[_0x35d1b5(0x278)](_0x1f3097,_0x300770,{[_0xc8921]:!0x0});}});}),_0x238ade[_0x379be6(0x384)][_0x379be6(0x278)]=_0x4db804,_0x238ade[_0x379be6(0x384)]['removeEventListener']=_0x1ec728,we=_0x238ade;function _0x10242b(_0x4c07e0,_0x17a6a3,_0x1dfe44,_0xcf44df){const _0xab8354=_0x379be6,_0x11669c={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0xdd4f5c[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0xcf44df,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0xab8354(0x2e1),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x4c07e0[_0xab8354(0x334)]=_0x11669c[_0xab8354(0x1f0)],!_0xdd4f5c[_0xab8354(0x238)](_0x11669c['protocolVersion']))throw new RangeError(_0xab8354(0x382)+_0x11669c[_0xab8354(0x355)]+_0xab8354(0x1ea)+_0xdd4f5c[_0xab8354(0x360)](',\x20')+')');let _0xe7a185;if(_0x17a6a3 instanceof _0x2c5b87)_0xe7a185=_0x17a6a3;else try{_0xe7a185=new _0x2c5b87(_0x17a6a3);}catch{throw new SyntaxError('Invalid\x20URL:\x20'+_0x17a6a3);}_0xe7a185['protocol']===_0xab8354(0x379)?_0xe7a185[_0xab8354(0x32d)]=_0xab8354(0x269):_0xe7a185[_0xab8354(0x32d)]===_0xab8354(0x25e)&&(_0xe7a185[_0xab8354(0x32d)]=_0xab8354(0x1f4)),_0x4c07e0['_url']=_0xe7a185[_0xab8354(0x259)];const _0x587352=_0xe7a185[_0xab8354(0x32d)]===_0xab8354(0x1f4),_0x608c9b=_0xe7a185[_0xab8354(0x32d)]===_0xab8354(0x262);let _0xfa818a;if(_0xe7a185['protocol']!==_0xab8354(0x269)&&!_0x587352&&!_0x608c9b?_0xfa818a=_0xab8354(0x385):_0x608c9b&&!_0xe7a185[_0xab8354(0x380)]?_0xfa818a=_0xab8354(0x351):_0xe7a185[_0xab8354(0x34b)]&&(_0xfa818a='The\x20URL\x20contains\x20a\x20fragment\x20identifier'),_0xfa818a){const _0x39498c=new SyntaxError(_0xfa818a);if(_0x4c07e0[_0xab8354(0x1ed)]===0x0)throw _0x39498c;_0x430437(_0x4c07e0,_0x39498c);return;}const _0x22fbcb=_0x587352?0x1bb:0x50,_0x14a8ce=_0x4f68fa(0x10)[_0xab8354(0x221)](_0xab8354(0x309)),_0x996542=_0x587352?_0x4a5358[_0xab8354(0x264)]:_0x279f8b[_0xab8354(0x264)],_0x5af4b1=new Set();let _0x4a9d19;if(_0x11669c['createConnection']=_0x11669c[_0xab8354(0x20f)]||(_0x587352?_0x1c7b94:_0x4e2995),_0x11669c['defaultPort']=_0x11669c['defaultPort']||_0x22fbcb,_0x11669c[_0xab8354(0x24d)]=_0xe7a185[_0xab8354(0x24d)]||_0x22fbcb,_0x11669c[_0xab8354(0x390)]=_0xe7a185[_0xab8354(0x261)][_0xab8354(0x336)]('[')?_0xe7a185['hostname'][_0xab8354(0x224)](0x1,-0x1):_0xe7a185[_0xab8354(0x261)],_0x11669c['headers']={..._0x11669c['headers'],'Sec-WebSocket-Version':_0x11669c[_0xab8354(0x355)],'Sec-WebSocket-Key':_0x14a8ce,'Connection':'Upgrade','Upgrade':'websocket'},_0x11669c[_0xab8354(0x37e)]=_0xe7a185[_0xab8354(0x380)]+_0xe7a185['search'],_0x11669c[_0xab8354(0x21d)]=_0x11669c[_0xab8354(0x231)],_0x11669c[_0xab8354(0x21f)]&&(_0x4a9d19=new _0x3e0b2d(_0x11669c[_0xab8354(0x21f)]!==!0x0?_0x11669c[_0xab8354(0x21f)]:{},!0x1,_0x11669c[_0xab8354(0x343)]),_0x11669c[_0xab8354(0x37a)]['Sec-WebSocket-Extensions']=_0x2ff93d({[_0x3e0b2d[_0xab8354(0x2b5)]]:_0x4a9d19[_0xab8354(0x2bd)]()})),_0x1dfe44[_0xab8354(0x354)]){for(const _0x2a758f of _0x1dfe44){if(typeof _0x2a758f!=_0xab8354(0x39a)||!_0x5192ba['test'](_0x2a758f)||_0x5af4b1[_0xab8354(0x29e)](_0x2a758f))throw new SyntaxError(_0xab8354(0x2d5));_0x5af4b1[_0xab8354(0x317)](_0x2a758f);}_0x11669c['headers']['Sec-WebSocket-Protocol']=_0x1dfe44['join'](',');}if(_0x11669c[_0xab8354(0x1f8)]&&(_0x11669c[_0xab8354(0x355)]<0xd?_0x11669c[_0xab8354(0x37a)]['Sec-WebSocket-Origin']=_0x11669c[_0xab8354(0x1f8)]:_0x11669c[_0xab8354(0x37a)][_0xab8354(0x23c)]=_0x11669c[_0xab8354(0x1f8)]),(_0xe7a185[_0xab8354(0x296)]||_0xe7a185[_0xab8354(0x222)])&&(_0x11669c['auth']=_0xe7a185[_0xab8354(0x296)]+':'+_0xe7a185['password']),_0x608c9b){const _0x22843c=_0x11669c[_0xab8354(0x37e)][_0xab8354(0x2a5)](':');_0x11669c[_0xab8354(0x35e)]=_0x22843c[0x0],_0x11669c[_0xab8354(0x37e)]=_0x22843c[0x1];}let _0x2b8844;if(_0x11669c[_0xab8354(0x2d4)]){if(_0x4c07e0[_0xab8354(0x1ed)]===0x0){_0x4c07e0[_0xab8354(0x2c4)]=_0x608c9b,_0x4c07e0[_0xab8354(0x223)]=_0x587352,_0x4c07e0['_originalHostOrSocketPath']=_0x608c9b?_0x11669c['socketPath']:_0xe7a185['host'];const _0xcf70d3=_0xcf44df&&_0xcf44df[_0xab8354(0x37a)];if(_0xcf44df={..._0xcf44df,'headers':{}},_0xcf70d3){for(const [_0x230bb2,_0x5e0dbe]of Object[_0xab8354(0x226)](_0xcf70d3))_0xcf44df[_0xab8354(0x37a)][_0x230bb2[_0xab8354(0x2c0)]()]=_0x5e0dbe;}}else{if(_0x4c07e0['listenerCount'](_0xab8354(0x2fa))===0x0){const _0x20d9ea=_0x608c9b?_0x4c07e0[_0xab8354(0x2c4)]?_0x11669c[_0xab8354(0x35e)]===_0x4c07e0[_0xab8354(0x2aa)]:!0x1:_0x4c07e0[_0xab8354(0x2c4)]?!0x1:_0xe7a185[_0xab8354(0x390)]===_0x4c07e0['_originalHostOrSocketPath'];(!_0x20d9ea||_0x4c07e0[_0xab8354(0x223)]&&!_0x587352)&&(delete _0x11669c[_0xab8354(0x37a)][_0xab8354(0x2cc)],delete _0x11669c[_0xab8354(0x37a)]['cookie'],_0x20d9ea||delete _0x11669c[_0xab8354(0x37a)][_0xab8354(0x390)],_0x11669c[_0xab8354(0x340)]=void 0x0);}}_0x11669c['auth']&&!_0xcf44df['headers'][_0xab8354(0x2cc)]&&(_0xcf44df[_0xab8354(0x37a)][_0xab8354(0x2cc)]=_0xab8354(0x2ae)+Buffer[_0xab8354(0x22f)](_0x11669c['auth'])[_0xab8354(0x221)]('base64')),_0x2b8844=_0x4c07e0[_0xab8354(0x347)]=_0x996542(_0x11669c),_0x4c07e0['_redirects']&&_0x4c07e0[_0xab8354(0x38e)]('redirect',_0x4c07e0['url'],_0x2b8844);}else _0x2b8844=_0x4c07e0[_0xab8354(0x347)]=_0x996542(_0x11669c);_0x11669c[_0xab8354(0x21d)]&&_0x2b8844['on'](_0xab8354(0x21d),()=>{_0x4503d4(_0x4c07e0,_0x2b8844,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x2b8844['on'](_0xab8354(0x247),_0x39af6b=>{_0x2b8844===null||_0x2b8844[_0xe8001a]||(_0x2b8844=_0x4c07e0['_req']=null,_0x430437(_0x4c07e0,_0x39af6b));}),_0x2b8844['on'](_0xab8354(0x235),_0x3b82b4=>{const _0x2b0ebb=_0xab8354,_0x4fd82f=_0x3b82b4[_0x2b0ebb(0x37a)][_0x2b0ebb(0x252)],_0x39ac96=_0x3b82b4['statusCode'];if(_0x4fd82f&&_0x11669c[_0x2b0ebb(0x2d4)]&&_0x39ac96>=0x12c&&_0x39ac96<0x190){if(++_0x4c07e0[_0x2b0ebb(0x1ed)]>_0x11669c[_0x2b0ebb(0x27d)]){_0x4503d4(_0x4c07e0,_0x2b8844,_0x2b0ebb(0x341));return;}_0x2b8844[_0x2b0ebb(0x383)]();let _0x26dcb9;try{_0x26dcb9=new _0x2c5b87(_0x4fd82f,_0x17a6a3);}catch{const _0x224c54=new SyntaxError(_0x2b0ebb(0x30a)+_0x4fd82f);_0x430437(_0x4c07e0,_0x224c54);return;}_0x10242b(_0x4c07e0,_0x26dcb9,_0x1dfe44,_0xcf44df);}else _0x4c07e0[_0x2b0ebb(0x38e)](_0x2b0ebb(0x331),_0x2b8844,_0x3b82b4)||_0x4503d4(_0x4c07e0,_0x2b8844,'Unexpected\x20server\x20response:\x20'+_0x3b82b4['statusCode']);}),_0x2b8844['on'](_0xab8354(0x2a0),(_0x1fc618,_0x2c9ac,_0x359f65)=>{const _0x3233b4=_0xab8354;if(_0x4c07e0[_0x3233b4(0x38e)](_0x3233b4(0x2a0),_0x1fc618),_0x4c07e0[_0x3233b4(0x38c)]!==_0x238ade[_0x3233b4(0x2b6)])return;_0x2b8844=_0x4c07e0[_0x3233b4(0x347)]=null;const _0x1007cd=_0x1fc618[_0x3233b4(0x37a)][_0x3233b4(0x2a0)];if(_0x1007cd===void 0x0||_0x1007cd[_0x3233b4(0x2c0)]()!==_0x3233b4(0x321)){_0x4503d4(_0x4c07e0,_0x2c9ac,_0x3233b4(0x315));return;}const _0x1ee9f6=_0x38e4ea('sha1')[_0x3233b4(0x38d)](_0x14a8ce+_0x38bab9)[_0x3233b4(0x21c)](_0x3233b4(0x309));if(_0x1fc618['headers'][_0x3233b4(0x381)]!==_0x1ee9f6){_0x4503d4(_0x4c07e0,_0x2c9ac,_0x3233b4(0x26b));return;}const _0xcf9df8=_0x1fc618['headers'][_0x3233b4(0x2b8)];let _0x5e3cdc;if(_0xcf9df8!==void 0x0?_0x5af4b1[_0x3233b4(0x33f)]?_0x5af4b1[_0x3233b4(0x29e)](_0xcf9df8)||(_0x5e3cdc=_0x3233b4(0x276)):_0x5e3cdc=_0x3233b4(0x2f3):_0x5af4b1[_0x3233b4(0x33f)]&&(_0x5e3cdc=_0x3233b4(0x1ef)),_0x5e3cdc){_0x4503d4(_0x4c07e0,_0x2c9ac,_0x5e3cdc);return;}_0xcf9df8&&(_0x4c07e0['_protocol']=_0xcf9df8);const _0x17de16=_0x1fc618[_0x3233b4(0x37a)]['sec-websocket-extensions'];if(_0x17de16!==void 0x0){if(!_0x4a9d19){_0x4503d4(_0x4c07e0,_0x2c9ac,_0x3233b4(0x39e));return;}let _0x10bfc0;try{_0x10bfc0=_0x272cbd(_0x17de16);}catch{_0x4503d4(_0x4c07e0,_0x2c9ac,_0x3233b4(0x248));return;}const _0x119d2a=Object['keys'](_0x10bfc0);if(_0x119d2a[_0x3233b4(0x354)]!==0x1||_0x119d2a[0x0]!==_0x3e0b2d[_0x3233b4(0x2b5)]){_0x4503d4(_0x4c07e0,_0x2c9ac,_0x3233b4(0x304));return;}try{_0x4a9d19[_0x3233b4(0x2ff)](_0x10bfc0[_0x3e0b2d['extensionName']]);}catch{_0x4503d4(_0x4c07e0,_0x2c9ac,_0x3233b4(0x248));return;}_0x4c07e0[_0x3233b4(0x2e8)][_0x3e0b2d[_0x3233b4(0x2b5)]]=_0x4a9d19;}_0x4c07e0[_0x3233b4(0x23a)](_0x2c9ac,_0x359f65,{'allowSynchronousEvents':_0x11669c[_0x3233b4(0x246)],'generateMask':_0x11669c['generateMask'],'maxPayload':_0x11669c[_0x3233b4(0x343)],'skipUTF8Validation':_0x11669c['skipUTF8Validation']});}),_0x11669c[_0xab8354(0x388)]?_0x11669c[_0xab8354(0x388)](_0x2b8844,_0x4c07e0):_0x2b8844[_0xab8354(0x28b)]();}function _0x430437(_0x4f7a9b,_0x50c409){const _0x490087=_0x379be6;_0x4f7a9b[_0x490087(0x240)]=_0x238ade[_0x490087(0x330)],_0x4f7a9b['_errorEmitted']=!0x0,_0x4f7a9b[_0x490087(0x38e)]('error',_0x50c409),_0x4f7a9b[_0x490087(0x329)]();}function _0x4e2995(_0x46d02c){const _0x14a297=_0x379be6;return _0x46d02c['path']=_0x46d02c[_0x14a297(0x35e)],_0x382726[_0x14a297(0x2e2)](_0x46d02c);}function _0x1c7b94(_0x76acb7){const _0x136479=_0x379be6;return _0x76acb7[_0x136479(0x37e)]=void 0x0,!_0x76acb7[_0x136479(0x2ac)]&&_0x76acb7[_0x136479(0x2ac)]!==''&&(_0x76acb7['servername']=_0x382726[_0x136479(0x31c)](_0x76acb7[_0x136479(0x390)])?'':_0x76acb7[_0x136479(0x390)]),_0x5039b4[_0x136479(0x2e2)](_0x76acb7);}function _0x4503d4(_0x52e5d3,_0x4f9c0e,_0x488183){const _0x3ec895=_0x379be6;_0x52e5d3[_0x3ec895(0x240)]=_0x238ade[_0x3ec895(0x330)];const _0x490b3c=new Error(_0x488183);Error[_0x3ec895(0x38a)](_0x490b3c,_0x4503d4),_0x4f9c0e[_0x3ec895(0x266)]?(_0x4f9c0e[_0xe8001a]=!0x0,_0x4f9c0e[_0x3ec895(0x383)](),_0x4f9c0e[_0x3ec895(0x2d3)]&&!_0x4f9c0e[_0x3ec895(0x2d3)][_0x3ec895(0x392)]&&_0x4f9c0e[_0x3ec895(0x2d3)][_0x3ec895(0x339)](),process[_0x3ec895(0x25f)](_0x430437,_0x52e5d3,_0x490b3c)):(_0x4f9c0e[_0x3ec895(0x339)](_0x490b3c),_0x4f9c0e[_0x3ec895(0x22d)]('error',_0x52e5d3[_0x3ec895(0x38e)]['bind'](_0x52e5d3,_0x3ec895(0x247))),_0x4f9c0e[_0x3ec895(0x22d)](_0x3ec895(0x291),_0x52e5d3[_0x3ec895(0x329)][_0x3ec895(0x2c7)](_0x52e5d3)));}function _0x1b0ea1(_0x19b732,_0x12ea90,_0x3176fd){const _0x1fc75c=_0x379be6;if(_0x12ea90){const _0x12636d=_0xe59f02(_0x12ea90)?_0x12ea90[_0x1fc75c(0x33f)]:_0x4934f1(_0x12ea90)[_0x1fc75c(0x354)];_0x19b732[_0x1fc75c(0x2a6)]?_0x19b732[_0x1fc75c(0x32e)][_0x1fc75c(0x2db)]+=_0x12636d:_0x19b732[_0x1fc75c(0x322)]+=_0x12636d;}if(_0x3176fd){const _0x5541eb=new Error(_0x1fc75c(0x297)+_0x19b732[_0x1fc75c(0x38c)]+'\x20('+_0x1ae75e[_0x19b732[_0x1fc75c(0x38c)]]+')');process[_0x1fc75c(0x25f)](_0x3176fd,_0x5541eb);}}function _0x11a798(_0x1b079e,_0x44d477){const _0x58e524=_0x379be6,_0x4b886f=this[_0x28ba29];_0x4b886f[_0x58e524(0x346)]=!0x0,_0x4b886f[_0x58e524(0x292)]=_0x44d477,_0x4b886f[_0x58e524(0x2fb)]=_0x1b079e,_0x4b886f['_socket'][_0x28ba29]!==void 0x0&&(_0x4b886f[_0x58e524(0x2a6)]['removeListener'](_0x58e524(0x36b),_0x241ee9),process[_0x58e524(0x25f)](_0xf9f4e5,_0x4b886f[_0x58e524(0x2a6)]),_0x1b079e===0x3ed?_0x4b886f[_0x58e524(0x291)]():_0x4b886f[_0x58e524(0x291)](_0x1b079e,_0x44d477));}function _0x1f6a4f(){const _0x844b23=_0x379be6,_0x58525c=this[_0x28ba29];_0x58525c[_0x844b23(0x2c1)]||_0x58525c[_0x844b23(0x2a6)]['resume']();}function _0x1fac20(_0x3b4af0){const _0x4f9d24=_0x379be6,_0x36f001=this[_0x28ba29];_0x36f001[_0x4f9d24(0x2a6)][_0x28ba29]!==void 0x0&&(_0x36f001[_0x4f9d24(0x2a6)][_0x4f9d24(0x28f)](_0x4f9d24(0x36b),_0x241ee9),process[_0x4f9d24(0x25f)](_0xf9f4e5,_0x36f001[_0x4f9d24(0x2a6)]),_0x36f001[_0x4f9d24(0x291)](_0x3b4af0[_0x469074])),_0x36f001[_0x4f9d24(0x2da)]||(_0x36f001[_0x4f9d24(0x2da)]=!0x0,_0x36f001[_0x4f9d24(0x38e)](_0x4f9d24(0x247),_0x3b4af0));}function _0x4a54e6(){const _0xd20918=_0x379be6;this[_0x28ba29][_0xd20918(0x329)]();}function _0x17452c(_0x11d513,_0x5a0531){const _0x531612=_0x379be6;this[_0x28ba29][_0x531612(0x38e)]('message',_0x11d513,_0x5a0531);}function _0x3bf989(_0x52342a){const _0x577dcb=_0x379be6,_0x55ab4f=this[_0x28ba29];_0x55ab4f[_0x577dcb(0x334)]&&_0x55ab4f[_0x577dcb(0x34e)](_0x52342a,!this['_isServer'],_0x467db3),_0x55ab4f[_0x577dcb(0x38e)](_0x577dcb(0x2b2),_0x52342a);}function _0x8bc425(_0x2ae3c8){const _0x287a2e=_0x379be6;this[_0x28ba29][_0x287a2e(0x38e)](_0x287a2e(0x34e),_0x2ae3c8);}function _0xf9f4e5(_0x74837a){const _0x2b5717=_0x379be6;_0x74837a[_0x2b5717(0x257)]();}function _0x5417bc(_0xb5e6f9){const _0x2edf07=_0x379be6,_0x57bce4=this[_0x28ba29];_0x57bce4[_0x2edf07(0x38c)]!==_0x238ade[_0x2edf07(0x2a9)]&&(_0x57bce4[_0x2edf07(0x38c)]===_0x238ade[_0x2edf07(0x2d9)]&&(_0x57bce4[_0x2edf07(0x240)]=_0x238ade[_0x2edf07(0x330)],_0x5ec066(_0x57bce4)),this[_0x2edf07(0x2a6)][_0x2edf07(0x28b)](),_0x57bce4[_0x2edf07(0x2da)]||(_0x57bce4[_0x2edf07(0x2da)]=!0x0,_0x57bce4['emit'](_0x2edf07(0x247),_0xb5e6f9)));}function _0x5ec066(_0x319b75){const _0x2f0d9f=_0x379be6;_0x319b75[_0x2f0d9f(0x20d)]=setTimeout(_0x319b75[_0x2f0d9f(0x2a6)][_0x2f0d9f(0x339)][_0x2f0d9f(0x2c7)](_0x319b75[_0x2f0d9f(0x2a6)]),_0x5c7a0f);}function _0x8974dd(){const _0x57a260=_0x379be6,_0x296318=this[_0x28ba29];this['removeListener']('close',_0x8974dd),this[_0x57a260(0x28f)](_0x57a260(0x36b),_0x241ee9),this[_0x57a260(0x28f)]('end',_0x1976bc),_0x296318['_readyState']=_0x238ade['CLOSING'];let _0x582fdb;!this[_0x57a260(0x371)]['endEmitted']&&!_0x296318['_closeFrameReceived']&&!_0x296318[_0x57a260(0x368)][_0x57a260(0x28d)][_0x57a260(0x352)]&&(_0x582fdb=_0x296318[_0x57a260(0x2a6)][_0x57a260(0x23e)]())!==null&&_0x296318['_receiver']['write'](_0x582fdb),_0x296318[_0x57a260(0x368)]['end'](),this[_0x28ba29]=void 0x0,clearTimeout(_0x296318[_0x57a260(0x20d)]),_0x296318[_0x57a260(0x368)]['_writableState'][_0x57a260(0x215)]||_0x296318[_0x57a260(0x368)][_0x57a260(0x28d)]['errorEmitted']?_0x296318[_0x57a260(0x329)]():(_0x296318[_0x57a260(0x368)]['on'](_0x57a260(0x247),_0x4a54e6),_0x296318['_receiver']['on'](_0x57a260(0x2fd),_0x4a54e6));}function _0x241ee9(_0x32f4e7){const _0x2a403e=_0x379be6;this[_0x28ba29][_0x2a403e(0x368)][_0x2a403e(0x21a)](_0x32f4e7)||this['pause']();}function _0x1976bc(){const _0x56b16d=_0x379be6,_0x2f4ffc=this[_0x28ba29];_0x2f4ffc[_0x56b16d(0x240)]=_0x238ade[_0x56b16d(0x330)],_0x2f4ffc[_0x56b16d(0x368)]['end'](),this[_0x56b16d(0x28b)]();}function _0x3b9984(){const _0x25ab14=_0x379be6,_0x3a427b=this[_0x28ba29];this[_0x25ab14(0x28f)](_0x25ab14(0x247),_0x3b9984),this['on']('error',_0x467db3),_0x3a427b&&(_0x3a427b[_0x25ab14(0x240)]=_0x238ade['CLOSING'],this['destroy']());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x2b97bc}=_0x4c3f49;function _0x517b9f(_0x57f3f6){const _0x46862a=_0x54b0;_0x57f3f6['emit'](_0x46862a(0x291));}function _0x4d32f8(){const _0x4c815b=_0x54b0;!this[_0x4c815b(0x392)]&&this[_0x4c815b(0x28d)]['finished']&&this['destroy']();}function _0x1d55a6(_0x81aeac){const _0x504fa2=_0x54b0;this[_0x504fa2(0x28f)](_0x504fa2(0x247),_0x1d55a6),this[_0x504fa2(0x339)](),this['listenerCount'](_0x504fa2(0x247))===0x0&&this[_0x504fa2(0x38e)](_0x504fa2(0x247),_0x81aeac);}function _0x373356(_0x4123bd,_0x38004a){const _0x33210c=_0x54b0;let _0x2dd594=!0x0;const _0x5b68b1=new _0x2b97bc({..._0x38004a,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x4123bd['on'](_0x33210c(0x366),function(_0x1837b0,_0x5d6379){const _0x2c388c=_0x33210c,_0x442c96=!_0x5d6379&&_0x5b68b1[_0x2c388c(0x371)]['objectMode']?_0x1837b0[_0x2c388c(0x221)]():_0x1837b0;_0x5b68b1['push'](_0x442c96)||_0x4123bd[_0x2c388c(0x20c)]();}),_0x4123bd[_0x33210c(0x22d)](_0x33210c(0x247),function(_0x32848b){const _0x3baeb5=_0x33210c;_0x5b68b1['destroyed']||(_0x2dd594=!0x1,_0x5b68b1[_0x3baeb5(0x339)](_0x32848b));}),_0x4123bd['once'](_0x33210c(0x291),function(){const _0x56b72d=_0x33210c;_0x5b68b1[_0x56b72d(0x392)]||_0x5b68b1['push'](null);}),_0x5b68b1['_destroy']=function(_0x48ef2a,_0x3c014d){const _0x475726=_0x33210c;if(_0x4123bd[_0x475726(0x38c)]===_0x4123bd[_0x475726(0x2a9)]){_0x3c014d(_0x48ef2a),process[_0x475726(0x25f)](_0x517b9f,_0x5b68b1);return;}let _0x3a6a0e=!0x1;_0x4123bd[_0x475726(0x22d)](_0x475726(0x247),function(_0x3dfd7f){_0x3a6a0e=!0x0,_0x3c014d(_0x3dfd7f);}),_0x4123bd[_0x475726(0x22d)](_0x475726(0x291),function(){const _0x3871d7=_0x475726;_0x3a6a0e||_0x3c014d(_0x48ef2a),process[_0x3871d7(0x25f)](_0x517b9f,_0x5b68b1);}),_0x2dd594&&_0x4123bd[_0x475726(0x33d)]();},_0x5b68b1[_0x33210c(0x216)]=function(_0x1079a6){const _0x3a004e=_0x33210c;if(_0x4123bd[_0x3a004e(0x38c)]===_0x4123bd[_0x3a004e(0x2b6)]){_0x4123bd[_0x3a004e(0x22d)]('open',function(){const _0x1c2f78=_0x3a004e;_0x5b68b1[_0x1c2f78(0x216)](_0x1079a6);});return;}_0x4123bd[_0x3a004e(0x2a6)]!==null&&(_0x4123bd[_0x3a004e(0x2a6)][_0x3a004e(0x28d)][_0x3a004e(0x215)]?(_0x1079a6(),_0x5b68b1['_readableState']['endEmitted']&&_0x5b68b1[_0x3a004e(0x339)]()):(_0x4123bd[_0x3a004e(0x2a6)]['once'](_0x3a004e(0x2fd),function(){_0x1079a6();}),_0x4123bd[_0x3a004e(0x291)]()));},_0x5b68b1[_0x33210c(0x1f3)]=function(){const _0x3c83d6=_0x33210c;_0x4123bd[_0x3c83d6(0x2c1)]&&_0x4123bd[_0x3c83d6(0x257)]();},_0x5b68b1[_0x33210c(0x210)]=function(_0x20fbcd,_0x3cacd9,_0x1cb10c){const _0x3a076a=_0x33210c;if(_0x4123bd[_0x3a076a(0x38c)]===_0x4123bd[_0x3a076a(0x2b6)]){_0x4123bd[_0x3a076a(0x22d)](_0x3a076a(0x2ad),function(){const _0x180c28=_0x3a076a;_0x5b68b1[_0x180c28(0x210)](_0x20fbcd,_0x3cacd9,_0x1cb10c);});return;}_0x4123bd[_0x3a076a(0x2b3)](_0x20fbcd,_0x1cb10c);},_0x5b68b1['on'](_0x33210c(0x28b),_0x4d32f8),_0x5b68b1['on'](_0x33210c(0x247),_0x1d55a6),_0x5b68b1;}return Oe=_0x373356,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=Wt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x59e76b}=ne();function _0x5cb21a(_0x4780cc){const _0x1c9f4a=_0x54b0,_0x3d2540=new Set();let _0x52d2d6=-0x1,_0x1c03d3=-0x1,_0x3fc00d=0x0;for(_0x3fc00d;_0x3fc00d<_0x4780cc['length'];_0x3fc00d++){const _0x19a43d=_0x4780cc['charCodeAt'](_0x3fc00d);if(_0x1c03d3===-0x1&&_0x59e76b[_0x19a43d]===0x1)_0x52d2d6===-0x1&&(_0x52d2d6=_0x3fc00d);else{if(_0x3fc00d!==0x0&&(_0x19a43d===0x20||_0x19a43d===0x9))_0x1c03d3===-0x1&&_0x52d2d6!==-0x1&&(_0x1c03d3=_0x3fc00d);else{if(_0x19a43d===0x2c){if(_0x52d2d6===-0x1)throw new SyntaxError(_0x1c9f4a(0x2d8)+_0x3fc00d);_0x1c03d3===-0x1&&(_0x1c03d3=_0x3fc00d);const _0x621c6b=_0x4780cc[_0x1c9f4a(0x224)](_0x52d2d6,_0x1c03d3);if(_0x3d2540[_0x1c9f4a(0x29e)](_0x621c6b))throw new SyntaxError('The\x20\x22'+_0x621c6b+_0x1c9f4a(0x30d));_0x3d2540['add'](_0x621c6b),_0x52d2d6=_0x1c03d3=-0x1;}else throw new SyntaxError(_0x1c9f4a(0x2d8)+_0x3fc00d);}}}if(_0x52d2d6===-0x1||_0x1c03d3!==-0x1)throw new SyntaxError(_0x1c9f4a(0x302));const _0x154be4=_0x4780cc[_0x1c9f4a(0x224)](_0x52d2d6,_0x3fc00d);if(_0x3d2540[_0x1c9f4a(0x29e)](_0x154be4))throw new SyntaxError(_0x1c9f4a(0x268)+_0x154be4+_0x1c9f4a(0x30d));return _0x3d2540['add'](_0x154be4),_0x3d2540;}return Ce={'parse':_0x5cb21a},Ce;}function _0x54b0(_0x2cfade,_0x3e16de){_0x2cfade=_0x2cfade-0x1ea;const _0x259fd7=_0x259f();let _0x54b0ad=_0x259fd7[_0x2cfade];return _0x54b0ad;}var Te,ot;function er(){const _0x2b8eb9=_0x23290d;if(ot)return Te;ot=0x1;const _0x5f34a0=_0x3b8928,_0x38f4e0=_0x16cd46,{Duplex:_0x3946f6}=_0x4c3f49,{createHash:_0x1c2d94}=_0x146326,_0x4ddb9b=pt(),_0x400f1a=he(),_0x334c09=Jt(),_0x45d2e8=Ie(),{GUID:_0x52c19c,kWebSocket:_0x5a611a}=V(),_0x245e42=/^[+/0-9A-Za-z]{22}==$/,_0x42b35c=0x0,_0x381298=0x1,_0x5cacee=0x2;class _0x5bc739 extends _0x5f34a0{constructor(_0x36827c,_0x58107d){const _0x3da584=_0x54b0;if(super(),_0x36827c={'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':_0x45d2e8,..._0x36827c},_0x36827c[_0x3da584(0x24d)]==null&&!_0x36827c[_0x3da584(0x363)]&&!_0x36827c[_0x3da584(0x29a)]||_0x36827c[_0x3da584(0x24d)]!=null&&(_0x36827c[_0x3da584(0x363)]||_0x36827c[_0x3da584(0x29a)])||_0x36827c[_0x3da584(0x363)]&&_0x36827c['noServer'])throw new TypeError(_0x3da584(0x353));if(_0x36827c[_0x3da584(0x24d)]!=null?(this[_0x3da584(0x32b)]=_0x38f4e0[_0x3da584(0x225)]((_0xaa81bf,_0x578f49)=>{const _0x3560ff=_0x3da584,_0x440693=_0x38f4e0[_0x3560ff(0x32a)][0x1aa];_0x578f49[_0x3560ff(0x26f)](0x1aa,{'Content-Length':_0x440693[_0x3560ff(0x354)],'Content-Type':_0x3560ff(0x2c6)}),_0x578f49['end'](_0x440693);}),this[_0x3da584(0x32b)][_0x3da584(0x282)](_0x36827c[_0x3da584(0x24d)],_0x36827c[_0x3da584(0x390)],_0x36827c['backlog'],_0x58107d)):_0x36827c[_0x3da584(0x363)]&&(this[_0x3da584(0x32b)]=_0x36827c[_0x3da584(0x363)]),this[_0x3da584(0x32b)]){const _0xcb33bd=this[_0x3da584(0x38e)][_0x3da584(0x2c7)](this,_0x3da584(0x2a7));this[_0x3da584(0x399)]=_0x2e4123(this[_0x3da584(0x32b)],{'listening':this[_0x3da584(0x38e)][_0x3da584(0x2c7)](this,_0x3da584(0x325)),'error':this[_0x3da584(0x38e)][_0x3da584(0x2c7)](this,'error'),'upgrade':(_0x4a96d9,_0x88dac4,_0x38928f)=>{this['handleUpgrade'](_0x4a96d9,_0x88dac4,_0x38928f,_0xcb33bd);}});}_0x36827c[_0x3da584(0x21f)]===!0x0&&(_0x36827c['perMessageDeflate']={}),_0x36827c[_0x3da584(0x212)]&&(this[_0x3da584(0x271)]=new Set(),this['_shouldEmitClose']=!0x1),this[_0x3da584(0x23b)]=_0x36827c,this[_0x3da584(0x25d)]=_0x42b35c;}['address'](){const _0x8f4a23=_0x54b0;if(this[_0x8f4a23(0x23b)][_0x8f4a23(0x29a)])throw new Error(_0x8f4a23(0x2e5));return this[_0x8f4a23(0x32b)]?this[_0x8f4a23(0x32b)][_0x8f4a23(0x1f7)]():null;}['close'](_0x23384b){const _0x50cd84=_0x54b0;if(this[_0x50cd84(0x25d)]===_0x5cacee){_0x23384b&&this[_0x50cd84(0x22d)](_0x50cd84(0x291),()=>{const _0x1ea388=_0x50cd84;_0x23384b(new Error(_0x1ea388(0x2fe)));}),process[_0x50cd84(0x25f)](_0x15fe5e,this);return;}if(_0x23384b&&this['once'](_0x50cd84(0x291),_0x23384b),this[_0x50cd84(0x25d)]!==_0x381298){if(this['_state']=_0x381298,this[_0x50cd84(0x23b)][_0x50cd84(0x29a)]||this[_0x50cd84(0x23b)][_0x50cd84(0x363)])this[_0x50cd84(0x32b)]&&(this['_removeListeners'](),this[_0x50cd84(0x399)]=this[_0x50cd84(0x32b)]=null),this[_0x50cd84(0x271)]?this[_0x50cd84(0x271)][_0x50cd84(0x33f)]?this[_0x50cd84(0x27f)]=!0x0:process['nextTick'](_0x15fe5e,this):process[_0x50cd84(0x25f)](_0x15fe5e,this);else{const _0x572d36=this[_0x50cd84(0x32b)];this[_0x50cd84(0x399)](),this[_0x50cd84(0x399)]=this[_0x50cd84(0x32b)]=null,_0x572d36[_0x50cd84(0x291)](()=>{_0x15fe5e(this);});}}}[_0x2b8eb9(0x2a3)](_0x2e1fe5){const _0x4a97f7=_0x2b8eb9;if(this[_0x4a97f7(0x23b)]['path']){const _0x5327d7=_0x2e1fe5[_0x4a97f7(0x349)][_0x4a97f7(0x35f)]('?');if((_0x5327d7!==-0x1?_0x2e1fe5[_0x4a97f7(0x349)][_0x4a97f7(0x224)](0x0,_0x5327d7):_0x2e1fe5['url'])!==this[_0x4a97f7(0x23b)]['path'])return!0x1;}return!0x0;}['handleUpgrade'](_0x5db137,_0x3f43c5,_0x25c64a,_0x430459){const _0x381e82=_0x2b8eb9;_0x3f43c5['on'](_0x381e82(0x247),_0x2adf64);const _0x1a5cf1=_0x5db137['headers']['sec-websocket-key'],_0x3dd3ed=_0x5db137[_0x381e82(0x37a)][_0x381e82(0x2a0)],_0x3fa74b=+_0x5db137[_0x381e82(0x37a)][_0x381e82(0x2af)];if(_0x5db137[_0x381e82(0x1f2)]!==_0x381e82(0x2e1)){_0x329119(this,_0x5db137,_0x3f43c5,0x195,_0x381e82(0x272));return;}if(_0x3dd3ed===void 0x0||_0x3dd3ed[_0x381e82(0x2c0)]()!==_0x381e82(0x321)){_0x329119(this,_0x5db137,_0x3f43c5,0x190,_0x381e82(0x315));return;}if(_0x1a5cf1===void 0x0||!_0x245e42['test'](_0x1a5cf1)){_0x329119(this,_0x5db137,_0x3f43c5,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header');return;}if(_0x3fa74b!==0xd&&_0x3fa74b!==0x8){_0x329119(this,_0x5db137,_0x3f43c5,0x190,_0x381e82(0x32c),{'Sec-WebSocket-Version':_0x381e82(0x35c)});return;}if(!this[_0x381e82(0x2a3)](_0x5db137)){_0x1aa6f1(_0x3f43c5,0x190);return;}const _0x2be26b=_0x5db137[_0x381e82(0x37a)][_0x381e82(0x2b8)];let _0x3ca442=new Set();if(_0x2be26b!==void 0x0)try{_0x3ca442=_0x334c09[_0x381e82(0x204)](_0x2be26b);}catch{_0x329119(this,_0x5db137,_0x3f43c5,0x190,_0x381e82(0x2c9));return;}const _0x1c7633=_0x5db137[_0x381e82(0x37a)][_0x381e82(0x2e0)],_0x3c3c5a={};if(this[_0x381e82(0x23b)][_0x381e82(0x21f)]&&_0x1c7633!==void 0x0){const _0x2ed88a=new _0x400f1a(this['options']['perMessageDeflate'],!0x0,this[_0x381e82(0x23b)][_0x381e82(0x343)]);try{const _0x41d4aa=_0x4ddb9b[_0x381e82(0x204)](_0x1c7633);_0x41d4aa[_0x400f1a['extensionName']]&&(_0x2ed88a[_0x381e82(0x2ff)](_0x41d4aa[_0x400f1a['extensionName']]),_0x3c3c5a[_0x400f1a[_0x381e82(0x2b5)]]=_0x2ed88a);}catch{_0x329119(this,_0x5db137,_0x3f43c5,0x190,_0x381e82(0x283));return;}}if(this[_0x381e82(0x23b)][_0x381e82(0x22b)]){const _0x405f8c={'origin':_0x5db137[_0x381e82(0x37a)][''+(_0x3fa74b===0x8?'sec-websocket-origin':_0x381e82(0x1f8))],'secure':!!(_0x5db137[_0x381e82(0x2d3)][_0x381e82(0x39d)]||_0x5db137[_0x381e82(0x2d3)][_0x381e82(0x2e3)]),'req':_0x5db137};if(this[_0x381e82(0x23b)][_0x381e82(0x22b)][_0x381e82(0x354)]===0x2){this[_0x381e82(0x23b)][_0x381e82(0x22b)](_0x405f8c,(_0x3047c9,_0x3e1250,_0x440a6c,_0x26851a)=>{const _0x1fb308=_0x381e82;if(!_0x3047c9)return _0x1aa6f1(_0x3f43c5,_0x3e1250||0x191,_0x440a6c,_0x26851a);this[_0x1fb308(0x33b)](_0x3c3c5a,_0x1a5cf1,_0x3ca442,_0x5db137,_0x3f43c5,_0x25c64a,_0x430459);});return;}if(!this[_0x381e82(0x23b)][_0x381e82(0x22b)](_0x405f8c))return _0x1aa6f1(_0x3f43c5,0x191);}this[_0x381e82(0x33b)](_0x3c3c5a,_0x1a5cf1,_0x3ca442,_0x5db137,_0x3f43c5,_0x25c64a,_0x430459);}[_0x2b8eb9(0x33b)](_0x242321,_0x50ff31,_0x43e6ba,_0x267256,_0x4d6fc,_0x4479eb,_0x2097b1){const _0x58e166=_0x2b8eb9;if(!_0x4d6fc[_0x58e166(0x21e)]||!_0x4d6fc[_0x58e166(0x253)])return _0x4d6fc[_0x58e166(0x339)]();if(_0x4d6fc[_0x5a611a])throw new Error(_0x58e166(0x254));if(this[_0x58e166(0x25d)]>_0x42b35c)return _0x1aa6f1(_0x4d6fc,0x1f7);const _0x153d89=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0x58e166(0x24b),_0x58e166(0x2cd),'Sec-WebSocket-Accept:\x20'+_0x1c2d94(_0x58e166(0x214))['update'](_0x50ff31+_0x52c19c)[_0x58e166(0x21c)](_0x58e166(0x309))],_0x367f7a=new this[(_0x58e166(0x23b))][(_0x58e166(0x358))](null,void 0x0,this['options']);if(_0x43e6ba[_0x58e166(0x33f)]){const _0x28370d=this['options'][_0x58e166(0x284)]?this['options'][_0x58e166(0x284)](_0x43e6ba,_0x267256):_0x43e6ba[_0x58e166(0x2b1)]()['next']()[_0x58e166(0x250)];_0x28370d&&(_0x153d89[_0x58e166(0x227)]('Sec-WebSocket-Protocol:\x20'+_0x28370d),_0x367f7a[_0x58e166(0x1fe)]=_0x28370d);}if(_0x242321[_0x400f1a['extensionName']]){const _0x540092=_0x242321[_0x400f1a['extensionName']]['params'],_0x47cbe4=_0x4ddb9b[_0x58e166(0x201)]({[_0x400f1a[_0x58e166(0x2b5)]]:[_0x540092]});_0x153d89[_0x58e166(0x227)](_0x58e166(0x233)+_0x47cbe4),_0x367f7a[_0x58e166(0x2e8)]=_0x242321;}this[_0x58e166(0x38e)](_0x58e166(0x37a),_0x153d89,_0x267256),_0x4d6fc[_0x58e166(0x21a)](_0x153d89[_0x58e166(0x213)]('\x0d\x0a')['join']('\x0d\x0a')),_0x4d6fc[_0x58e166(0x28f)](_0x58e166(0x247),_0x2adf64),_0x367f7a['setSocket'](_0x4d6fc,_0x4479eb,{'allowSynchronousEvents':this[_0x58e166(0x23b)]['allowSynchronousEvents'],'maxPayload':this[_0x58e166(0x23b)][_0x58e166(0x343)],'skipUTF8Validation':this[_0x58e166(0x23b)]['skipUTF8Validation']}),this[_0x58e166(0x271)]&&(this['clients'][_0x58e166(0x317)](_0x367f7a),_0x367f7a['on'](_0x58e166(0x291),()=>{const _0x84f4fb=_0x58e166;this[_0x84f4fb(0x271)][_0x84f4fb(0x35b)](_0x367f7a),this[_0x84f4fb(0x27f)]&&!this[_0x84f4fb(0x271)]['size']&&process[_0x84f4fb(0x25f)](_0x15fe5e,this);})),_0x2097b1(_0x367f7a,_0x267256);}}Te=_0x5bc739;function _0x2e4123(_0xd2b9ce,_0x202764){for(const _0x339ee4 of Object['keys'](_0x202764))_0xd2b9ce['on'](_0x339ee4,_0x202764[_0x339ee4]);return function(){const _0x17352a=_0x54b0;for(const _0x14b4ef of Object[_0x17352a(0x2e7)](_0x202764))_0xd2b9ce['removeListener'](_0x14b4ef,_0x202764[_0x14b4ef]);};}function _0x15fe5e(_0x2a57ee){const _0x26f776=_0x2b8eb9;_0x2a57ee[_0x26f776(0x25d)]=_0x5cacee,_0x2a57ee[_0x26f776(0x38e)]('close');}function _0x2adf64(){const _0x3e9d34=_0x2b8eb9;this[_0x3e9d34(0x339)]();}function _0x1aa6f1(_0x320f03,_0x14e622,_0x3b53c4,_0x5728b3){const _0x29c1dc=_0x2b8eb9;_0x3b53c4=_0x3b53c4||_0x38f4e0[_0x29c1dc(0x32a)][_0x14e622],_0x5728b3={'Connection':_0x29c1dc(0x291),'Content-Type':_0x29c1dc(0x1ec),'Content-Length':Buffer[_0x29c1dc(0x200)](_0x3b53c4),..._0x5728b3},_0x320f03[_0x29c1dc(0x22d)](_0x29c1dc(0x2fd),_0x320f03[_0x29c1dc(0x339)]),_0x320f03[_0x29c1dc(0x28b)]('HTTP/1.1\x20'+_0x14e622+'\x20'+_0x38f4e0['STATUS_CODES'][_0x14e622]+'\x0d\x0a'+Object[_0x29c1dc(0x2e7)](_0x5728b3)['map'](_0xc4173b=>_0xc4173b+':\x20'+_0x5728b3[_0xc4173b])[_0x29c1dc(0x360)]('\x0d\x0a')+'\x0d\x0a\x0d\x0a'+_0x3b53c4);}function _0x329119(_0x4d57d7,_0x48bd45,_0x3aa3b4,_0x5a2f66,_0x51fe83,_0x4481b2){const _0x1703a4=_0x2b8eb9;if(_0x4d57d7[_0x1703a4(0x35d)](_0x1703a4(0x22c))){const _0x384e35=new Error(_0x51fe83);Error[_0x1703a4(0x38a)](_0x384e35,_0x329119),_0x4d57d7[_0x1703a4(0x38e)](_0x1703a4(0x22c),_0x384e35,_0x3aa3b4,_0x48bd45);}else _0x1aa6f1(_0x3aa3b4,_0x5a2f66,_0x51fe83,_0x4481b2);}return Te;}er();var tr=Object['getOwnPropertyDescriptor'],rr=(_0x273412,_0x39428c,_0xb8411e,_0xe123c5)=>{const _0x43059f=_0x23290d;for(var _0xd5aa45=_0xe123c5>0x1?void 0x0:_0xe123c5?tr(_0x39428c,_0xb8411e):_0x39428c,_0x123bde=_0x273412[_0x43059f(0x354)]-0x1,_0x576be2;_0x123bde>=0x0;_0x123bde--)(_0x576be2=_0x273412[_0x123bde])&&(_0xd5aa45=_0x576be2(_0xd5aa45)||_0xd5aa45);return _0xd5aa45;},sr=(_0x322310,_0x144a2a)=>(_0x165cb0,_0x49b9b8)=>_0x144a2a(_0x165cb0,_0x49b9b8,_0x322310);let Ne=class extends _0x3f43bd{constructor(_0x2fdd8c){super(),this['_configService']=_0x2fdd8c;}[_0x23290d(0x387)](_0x356708){const _0x4f001d=_0x23290d;var _0x4d5389;const _0x26d2dc=(_0x4d5389=this[_0x4f001d(0x218)][_0x4f001d(0x37d)](Be))==null?void 0x0:_0x4d5389['customHeaders'];try{const _0x5c5ad5=new Qt(_0x356708,{'headers':{..._0x26d2dc}}),_0x397c3b=new _0x910214();return{'URL':_0x356708,'close':(_0x50637f,_0x5164d1)=>{const _0x1fdd66=_0x4f001d;_0x5c5ad5['close'](_0x50637f,_0x5164d1),_0x397c3b[_0x1fdd66(0x255)]();},'send':_0x53c5d9=>{_0x5c5ad5['send'](_0x53c5d9);},'open$':new _0x355fa1(_0xeeed14=>{const _0x4a008e=_0x4f001d,_0x533f56=_0x59f732=>_0xeeed14[_0x4a008e(0x324)](_0x59f732);_0x5c5ad5['addEventListener'](_0x4a008e(0x2ad),_0x533f56),_0x397c3b['add'](_0x5c0174(()=>_0x5c5ad5[_0x4a008e(0x274)](_0x4a008e(0x2ad),_0x533f56)));})['pipe'](_0x1692a9()),'close$':new _0x355fa1(_0x42a272=>{const _0x569856=_0x4f001d,_0x2c70e9=_0x3f06b5=>_0x42a272[_0x569856(0x324)](_0x3f06b5);_0x5c5ad5[_0x569856(0x278)](_0x569856(0x291),_0x2c70e9),_0x397c3b[_0x569856(0x317)](_0x5c0174(()=>_0x5c5ad5['removeEventListener'](_0x569856(0x291),_0x2c70e9)));})[_0x4f001d(0x365)](_0x1692a9()),'error$':new _0x355fa1(_0x517028=>{const _0x5071ad=_0x4f001d,_0x58879a=_0x118caa=>_0x517028[_0x5071ad(0x324)](_0x118caa);_0x5c5ad5[_0x5071ad(0x278)](_0x5071ad(0x247),_0x58879a),_0x397c3b[_0x5071ad(0x317)](_0x5c0174(()=>_0x5c5ad5[_0x5071ad(0x274)](_0x5071ad(0x247),_0x58879a)));})[_0x4f001d(0x365)](_0x1692a9()),'message$':new _0x355fa1(_0x55b1a5=>{const _0x4184c3=_0x4f001d,_0x57bcbe=_0x13747a=>_0x55b1a5[_0x4184c3(0x324)](_0x13747a);_0x5c5ad5[_0x4184c3(0x278)](_0x4184c3(0x366),_0x57bcbe),_0x397c3b[_0x4184c3(0x317)](_0x5c0174(()=>_0x5c5ad5['removeEventListener'](_0x4184c3(0x366),_0x57bcbe)));})['pipe'](_0x1692a9())};}catch(_0x51be97){return console[_0x4f001d(0x247)](_0x51be97),null;}}};Ne=rr([sr(0x0,_0xd00181)],Ne);var ir=Object['defineProperty'],nr=Object[_0x23290d(0x234)],or=(_0x570fe2,_0x5e63a6,_0xcbab7d)=>_0x5e63a6 in _0x570fe2?ir(_0x570fe2,_0x5e63a6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xcbab7d}):_0x570fe2[_0x5e63a6]=_0xcbab7d,ar=(_0x2d0bcc,_0x16068a,_0x19b85a,_0xb095ed)=>{const _0x344f90=_0x23290d;for(var _0x274229=_0xb095ed>0x1?void 0x0:_0xb095ed?nr(_0x16068a,_0x19b85a):_0x16068a,_0x5bb832=_0x2d0bcc[_0x344f90(0x354)]-0x1,_0x40bf48;_0x5bb832>=0x0;_0x5bb832--)(_0x40bf48=_0x2d0bcc[_0x5bb832])&&(_0x274229=_0x40bf48(_0x274229)||_0x274229);return _0x274229;},ke=(_0x6c9b94,_0x5b4a64)=>(_0x1c73b9,_0x22c2b8)=>_0x5b4a64(_0x1c73b9,_0x22c2b8,_0x6c9b94),lr=(_0x58e515,_0x2685c0,_0xbb624a)=>or(_0x58e515,_0x2685c0+'',_0xbb624a);let Pe=class extends _0x45d3e7{constructor(_0x1eefa5=Ft,_0x3b9b1a,_0x2319f7,_0x199fd5){const _0x3016aa=_0x23290d;_0x1eefa5[_0x3016aa(0x2ee)]||_0x3b9b1a['warn']('[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.'),super(),this[_0x3016aa(0x218)]=_0x2319f7,this['_injector']=_0x199fd5,this[_0x3016aa(0x218)][_0x3016aa(0x228)](Be,_0x1eefa5);}[_0x23290d(0x338)](){const _0x5ac836=_0x23290d;this[_0x5ac836(0x263)]();}['_registerDependencies'](){const _0x3243b5=_0x23290d;_0x37a717(this[_0x3243b5(0x265)],[[_0x3f2fc2,{'useClass':Ne}]]);}};lr(Pe,_0x23290d(0x2df),_0x23290d(0x367)),Pe=ar([_0x276b4b(_0x5d19a7),ke(0x1,_0x552697),ke(0x2,_0xd00181),ke(0x3,_0x99fde3(_0x365820))],Pe);var fr=Object['getOwnPropertyDescriptor'],cr=(_0x4a4c10,_0x28337e,_0x5b8baf,_0x2e292e)=>{const _0xd1834b=_0x23290d;for(var _0x10ed33=_0x2e292e>0x1?void 0x0:_0x2e292e?fr(_0x28337e,_0x5b8baf):_0x28337e,_0x218f00=_0x4a4c10[_0xd1834b(0x354)]-0x1,_0x3df0e9;_0x218f00>=0x0;_0x218f00--)(_0x3df0e9=_0x4a4c10[_0x218f00])&&(_0x10ed33=_0x3df0e9(_0x10ed33)||_0x10ed33);return _0x10ed33;},se=(_0x333185,_0x206291)=>(_0x4ca64c,_0x52cd80)=>_0x206291(_0x4ca64c,_0x52cd80,_0x333185);let at=class extends _0x14439b{constructor(_0x135ec0,_0x48e6d1,_0x58e753,_0x38fffa,_0x1fa57d){const _0x5b873d=_0x23290d;super(_0x135ec0,_0x48e6d1,_0x58e753,_0x38fffa,_0x1fa57d);const _0xeca065=this[_0x5b873d(0x218)][_0x5b873d(0x37d)](Be);this[_0x5b873d(0x314)]['registerHTTPInterceptor']({'interceptor':(_0x2257bd,_0xc0abf1)=>{const _0x54158f=_0x5b873d;var _0x1d9c58;const _0x331fe8=_0x2257bd[_0x54158f(0x37a)];return(_0x1d9c58=_0xeca065==null?void 0x0:_0xeca065['customHeaders'])!=null&&_0x1d9c58[_0x54158f(0x209)]&&_0x331fe8['set'](_0x54158f(0x389),_0xeca065[_0x54158f(0x2ee)][_0x54158f(0x209)]),_0xc0abf1(_0x2257bd);}});}async[_0x23290d(0x387)](_0x4e456d){const _0x3a3359=_0x23290d;return this[_0x3a3359(0x2ea)](_0x4e456d);}};at=cr([se(0x0,_0x99fde3(_0x365820)),se(0x1,_0x99fde3(_0x226f66)),se(0x2,_0xd00181),se(0x3,_0x552697),se(0x4,_0x3322f4)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
|
|
1
|
+
const _0x4638d0=_0x4f97;function _0x690f(){const _0x466b86=['message','listen','unmask','onmessage','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','sha1','66707894kIGsdl','_server','_removeListeners','nextTick','getMask','_deflate','defaultPort','setHeader','WS_ERR_INVALID_OPCODE','6614124yPhTaf','listening','_payloadLength','socketPath','_state','getOwnPropertyDescriptor','socket','byteLength','_injector','type','sec-websocket-key','getConfig','default','Maximum\x20redirects\x20exceeded','kWasClean','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','destroyed','apply','Sec-WebSocket-Extensions','_read','isServer','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','base64','server_max_window_bits','emit','forEach','zlibDeflateOptions','sec-websocket-version','sec-websocket-protocol','registerHTTPInterceptor','protocol','concurrencyLimit','resume','handleUpgrade','42tHNfGU','push','next','from','getInfo','verifyClient','function','send','Invalid\x20URL:\x20','url','13,\x208','toString','WS_ERR_UNEXPECTED_MASK','handleEvent','split','listenerCount','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','bufferedAmount','size','serverNoContextTakeover','Unexpected\x20character\x20at\x20index\x20','error','parse','STATUS_CODES','\x22\x20subprotocol\x20is\x20duplicated','1789071YsGMww','invalid\x20opcode\x200','pluginName','defineProperty','_socket','7FrVgZX','decompress','hasOwnProperty','3CQabbp','perMessageDeflate','authorization','isValidUTF8','isView','update','end','Upgrade','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','prototype','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','getData','Z_SYNC_FLUSH','http:','concat','finishRequest','request','objectMode','_generateMask','getBlobData','kListener','_fragmented','__esModule','map','OPEN','finish','MASK\x20must\x20be\x20clear','values','auth','nodebuffer','_req','path','_originalHostOrSocketPath','errorEmitted','_totalPayloadLength','Server\x20sent\x20an\x20invalid\x20subprotocol','cork','RSV1\x20must\x20be\x20clear','target','_firstFragment','_options','env','_maskBuffer','text/html','onStarting','CONNECTING','readUInt32BE','The\x20URL\x20contains\x20a\x20fragment\x20identifier','_fragments','jobs','_write','readable','_shouldEmitClose','origin','\x20(supported\x20versions:\x20','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','pause','pong','species','add','writeUInt16BE','WebSocket\x20is\x20not\x20open:\x20readyState\x20','encrypted','catch','FIN\x20must\x20be\x20set','1790OXiOsW','_skipUTF8Validation','shift','client_no_context_takeover','createSocket','_redirects','_closeFrameReceived','25506uakbcd','accept','_threshold','HTTP/1.1\x20','kTarget','host','handshakeTimeout','client','_no_context_takeover','_compress','_binaryType','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','_closeFrameSent','timeout','_url','_bufferedAmount','string','frame','emitClose','Unexpected\x20server\x20response:\x20','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','_mask','total-length','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','_inflate','connect','maxRedirects','isBuffer','allowSynchronousEvents','ping','warn','create','zlibInflateOptions','_originalSecure','readyState','Module','byteOffset','test','rsv1','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','allocUnsafe','_receiver','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','_compressed','includes','\x22\x20must\x20have\x20only\x20a\x20single\x20value','Unsupported\x20protocol\x20version:\x20','threshold','acceptAsClient','unshift','WS_ERR_UNEXPECTED_RSV_1','maskBuffer','join','Sec-WebSocket-Extensions:\x20','Opening\x20handshake\x20has\x20timed\x20out','number','Invalid\x20value\x20for\x20parameter\x20\x22','finished','_messageLength','client_max_window_bits','_writableState','isArray','setConfig','upgrade','readOnly','_allowSynchronousEvents','sec-websocket-origin','setNoDelay','exports','addEventListener','Server\x20sent\x20no\x20subprotocol','indexOf','collaboration-client-node.config','_readableState','value','clientNoContextTakeover','Blob','kMessage','_originalIpc','toLowerCase','invalid\x20opcode\x20','shouldHandle','_extensions','_httpService','WS_ERR_INVALID_UTF8','File','pipe','clientMaxWindowBits','code','WS_ERR_UNEXPECTED_RSV_2_3','wsClientError','_destroy','ws:','Sec-WebSocket-Protocol','password','write','freeze','wasClean','_paused','_configService','autoPong','haveLength','listeners','authorized','statusCode','_protocol','captureStackTrace','then','CLOSING','Parameter\x20\x22','get','dispatch','Invalid\x20HTTP\x20method','normalizeParams','charCodeAt','Invalid\x20Sec-WebSocket-Accept\x20header','offer','createError','startsWith','invalid\x20UTF-8\x20sequence','_isServer','headers','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','cleanup','stream','removeListener','_closeMessage','cookie','response','\x22:\x20','server_no_context_takeover','generateMask','onclose','isPaused','3288746YtletN','sec-websocket-accept','_autoPong','customHeaders','handleProtocols','_loop','set','_readyState','Connection:\x20Upgrade','onopen','conclude','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','onerror','_masked','ws+unix:','removeEventListener','writeHead','noServer','username','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','wss:','12JIvjuJ','connection','createDeflateRaw','_queue','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','port','delete','data','followRedirects','flush','replace','open','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','completeUpgrade','compress','getPayloadLength64','createConnection','opcode','_final','_doCreateSocket','_opcode','fin','pending','acceptAsServer','Unexpected\x20end\x20of\x20input','_errorEmitted','extensionName','method','length','endEmitted','kAborted','keys','Invalid\x20Upgrade\x20header','createInflateRaw','call','getPayloadLength16','clientTracking','binary','237695zUQKeB','_fin','_sender','_closeTimer','setTimeout','hash','HTTP/1.1\x20101\x20Switching\x20Protocols','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','setSocket','servername','_errored','enqueue','address','search','slice','consume','location','dequeue','serverMaxWindowBits','Invalid\x20Sec-WebSocket-Protocol\x20header','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','kByteLength','clients','close','digest','Invalid\x20Sec-WebSocket-Extensions\x20header','reset','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','extensions','hostname','abort','pathname','createServer','find','dataMessage','params','unexpected-response','isInteger','arrayBuffer','skipUTF8Validation','Z_DEFAULT_WINDOWBITS','toStringTag','has','destroy','arraybuffer','websocket','redirect','binaryType','buffer','invalid\x20payload\x20length\x20','WebSocket','startLoop','Max\x20payload\x20size\x20exceeded','CLOSED','GET','server','WS_ERR_EXPECTED_MASK','once','Origin','sendFrame','read','_closeCode','sec-websocket-extensions','maxPayload','options','kData','alloc','WS_ERR_INVALID_CLOSE_CODE','pow','mask','Invalid\x20WebSocket\x20frame:\x20','bind','_decompress','_bufferedBytes','_buffers','_maxPayload','terminate','permessage-deflate','object','callback','entries','1370912mSGaED','reason','href'];_0x690f=function(){return _0x466b86;};return _0x690f();}(function(_0x5c9d32,_0x384c9f){const _0x3b14d9=_0x4f97,_0x46f58a=_0x5c9d32();while(!![]){try{const _0x58fb70=-parseInt(_0x3b14d9(0x1ff))/0x1+parseInt(_0x3b14d9(0x126))/0x2*(-parseInt(_0x3b14d9(0x207))/0x3)+-parseInt(_0x3b14d9(0x1c4))/0x4+parseInt(_0x3b14d9(0x161))/0x5*(-parseInt(_0x3b14d9(0x1e6))/0x6)+-parseInt(_0x3b14d9(0x204))/0x7*(parseInt(_0x3b14d9(0x1b2))/0x8)+parseInt(_0x3b14d9(0x24f))/0x9*(parseInt(_0x3b14d9(0x248))/0xa)+parseInt(_0x3b14d9(0x1bb))/0xb*(parseInt(_0x3b14d9(0x13b))/0xc);if(_0x58fb70===_0x384c9f)break;else _0x46f58a['push'](_0x46f58a['shift']());}catch(_0x3adcec){_0x46f58a['push'](_0x46f58a['shift']());}}}(_0x690f,0xef630));import{UniverCollaborationClientPlugin as _0x3982c2,CollaborationSocketService as _0x44f365}from'@univerjs-pro/collaboration-client';import{Disposable as _0x3193e1,DisposableCollection as _0x3d640a,toDisposable as _0x736aee,IConfigService as _0x199cd5,DependentOn as _0x124a30,ILogService as _0x1a49a2,Inject as _0x1551a4,Injector as _0x100aae,Plugin as _0x5ebfa7,registerDependencies as _0x1b7600}from'@univerjs/core';import{ISocketService as _0x1f90cb,HTTPService as _0x4ddacd}from'@univerjs/network';import{Observable as _0xe4fae9,share as _0x2c2888}from'rxjs';import _0x11fb4c from'events';import _0x11e2bf from'https';import _0x15900a from'http';import _0x1d930d from'net';import _0x4d278b from'tls';import _0x5572b2 from'crypto';import _0x1595d9 from'stream';import _0x1e6f5d from'url';import _0x37a9d7 from'zlib';import _0x377d8d from'buffer';import{ISnapshotServerService as _0x1dad5e}from'@univerjs-pro/collaboration';const Be=_0x4638d0(0xe8),Ft={'customHeaders':{}};function Wt(_0x319f21){const _0x477163=_0x4638d0;return _0x319f21&&_0x319f21['__esModule']&&Object[_0x477163(0x210)][_0x477163(0x206)][_0x477163(0x15d)](_0x319f21,_0x477163(0x1d0))?_0x319f21[_0x477163(0x1d0)]:_0x319f21;}function ut(_0x22810a){const _0x597798=_0x4638d0;if(Object[_0x597798(0x210)][_0x597798(0x206)][_0x597798(0x15d)](_0x22810a,_0x597798(0x21d)))return _0x22810a;var _0x1bf78f=_0x22810a[_0x597798(0x1d0)];if(typeof _0x1bf78f==_0x597798(0x1ec)){var _0x3f7fc4=function _0x547995(){const _0x3dbb90=_0x597798;var _0x1b031b=!0x1;try{_0x1b031b=this instanceof _0x547995;}catch{}return _0x1b031b?Reflect['construct'](_0x1bf78f,arguments,this['constructor']):_0x1bf78f[_0x3dbb90(0x1d5)](this,arguments);};_0x3f7fc4[_0x597798(0x210)]=_0x1bf78f['prototype'];}else _0x3f7fc4={};return Object[_0x597798(0x202)](_0x3f7fc4,_0x597798(0x21d),{'value':!0x0}),Object[_0x597798(0x15a)](_0x22810a)[_0x597798(0x1dd)](function(_0x1ec967){const _0x3952a8=_0x597798;var _0x22f57a=Object[_0x3952a8(0x1c9)](_0x22810a,_0x1ec967);Object[_0x3952a8(0x202)](_0x3f7fc4,_0x1ec967,_0x22f57a[_0x3952a8(0x10e)]?_0x22f57a:{'enumerable':!0x0,'get':function(){return _0x22810a[_0x1ec967];}});}),_0x3f7fc4;}var te={'exports':{}},ge,Ye;function V(){const _0x450fcf=_0x4638d0;if(Ye)return ge;Ye=0x1;const _0x2a1268=['nodebuffer',_0x450fcf(0x18d),'fragments'],_0x4ddb44=typeof Blob<'u';return _0x4ddb44&&_0x2a1268[_0x450fcf(0x1e7)]('blob'),ge={'BINARY_TYPES':_0x2a1268,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':_0x450fcf(0x147),'hasBlob':_0x4ddb44,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol(_0x450fcf(0x21b)),'kStatusCode':Symbol('status-code'),'kWebSocket':Symbol(_0x450fcf(0x18e)),'NOOP':()=>{}},ge;}const jt={},Gt=Object[_0x4638d0(0x100)](Object['defineProperty']({'__proto__':null,'default':jt},Symbol[_0x4638d0(0x18a)],{'value':_0x4638d0(0x272)})),Vt=ut(Gt);var Ke;function ce(){const _0x4e3bb2=_0x4638d0;if(Ke)return te[_0x4e3bb2(0xe4)];Ke=0x1;const {EMPTY_BUFFER:_0x57bca0}=V(),_0x24e649=Buffer[Symbol['species']];function _0x4de43c(_0x1e1036,_0x739526){const _0x395e05=_0x4e3bb2;if(_0x1e1036[_0x395e05(0x157)]===0x0)return _0x57bca0;if(_0x1e1036[_0x395e05(0x157)]===0x1)return _0x1e1036[0x0];const _0x307c4a=Buffer[_0x395e05(0x277)](_0x739526);let _0x27c3fa=0x0;for(let _0x30982c=0x0;_0x30982c<_0x1e1036[_0x395e05(0x157)];_0x30982c++){const _0x4e18db=_0x1e1036[_0x30982c];_0x307c4a[_0x395e05(0x12c)](_0x4e18db,_0x27c3fa),_0x27c3fa+=_0x4e18db[_0x395e05(0x157)];}return _0x27c3fa<_0x739526?new _0x24e649(_0x307c4a[_0x395e05(0x191)],_0x307c4a[_0x395e05(0x273)],_0x27c3fa):_0x307c4a;}function _0x22f86b(_0x47f2fd,_0x1c8e75,_0xc31294,_0x2397e4,_0x4c2f92){for(let _0x34cf20=0x0;_0x34cf20<_0x4c2f92;_0x34cf20++)_0xc31294[_0x2397e4+_0x34cf20]=_0x47f2fd[_0x34cf20]^_0x1c8e75[_0x34cf20&0x3];}function _0x4abd53(_0x56ac9c,_0x27d973){const _0x230a51=_0x4e3bb2;for(let _0x50c8b6=0x0;_0x50c8b6<_0x56ac9c[_0x230a51(0x157)];_0x50c8b6++)_0x56ac9c[_0x50c8b6]^=_0x27d973[_0x50c8b6&0x3];}function _0x885c8a(_0x43f809){const _0xd7b771=_0x4e3bb2;return _0x43f809[_0xd7b771(0x157)]===_0x43f809[_0xd7b771(0x191)][_0xd7b771(0x1cb)]?_0x43f809[_0xd7b771(0x191)]:_0x43f809[_0xd7b771(0x191)][_0xd7b771(0x16f)](_0x43f809[_0xd7b771(0x273)],_0x43f809['byteOffset']+_0x43f809[_0xd7b771(0x157)]);}function _0x11dea4(_0x57623c){const _0x5880ee=_0x4e3bb2;if(_0x11dea4[_0x5880ee(0xe0)]=!0x0,Buffer[_0x5880ee(0x26a)](_0x57623c))return _0x57623c;let _0x590bad;return _0x57623c instanceof ArrayBuffer?_0x590bad=new _0x24e649(_0x57623c):ArrayBuffer[_0x5880ee(0x20b)](_0x57623c)?_0x590bad=new _0x24e649(_0x57623c[_0x5880ee(0x191)],_0x57623c['byteOffset'],_0x57623c['byteLength']):(_0x590bad=Buffer[_0x5880ee(0x1e9)](_0x57623c),_0x11dea4[_0x5880ee(0xe0)]=!0x1),_0x590bad;}if(te[_0x4e3bb2(0xe4)]={'concat':_0x4de43c,'mask':_0x22f86b,'toArrayBuffer':_0x885c8a,'toBuffer':_0x11dea4,'unmask':_0x4abd53},!process[_0x4e3bb2(0x230)]['WS_NO_BUFFER_UTIL'])try{const _0x301231=Vt;te[_0x4e3bb2(0xe4)][_0x4e3bb2(0x1a6)]=function(_0x2fe582,_0x28025d,_0x4f6cdc,_0x72470a,_0x52fb63){_0x52fb63<0x30?_0x22f86b(_0x2fe582,_0x28025d,_0x4f6cdc,_0x72470a,_0x52fb63):_0x301231['mask'](_0x2fe582,_0x28025d,_0x4f6cdc,_0x72470a,_0x52fb63);},te[_0x4e3bb2(0xe4)][_0x4e3bb2(0x1b7)]=function(_0x33d8ba,_0x2a232f){const _0x1f9686=_0x4e3bb2;_0x33d8ba['length']<0x20?_0x4abd53(_0x33d8ba,_0x2a232f):_0x301231[_0x1f9686(0x1b7)](_0x33d8ba,_0x2a232f);};}catch{}return te[_0x4e3bb2(0xe4)];}var ye,Xe;function qt(){const _0x261a2f=_0x4638d0;if(Xe)return ye;Xe=0x1;const _0x4fed10=Symbol('kDone'),_0x3872a2=Symbol('kRun');class _0x4ecf69{constructor(_0x65a4c4){const _0x4c9aec=_0x4f97;this[_0x4fed10]=()=>{const _0x5ed038=_0x4f97;this[_0x5ed038(0x151)]--,this[_0x3872a2]();},this['concurrency']=_0x65a4c4||0x1/0x0,this['jobs']=[],this[_0x4c9aec(0x151)]=0x0;}[_0x261a2f(0x242)](_0x10032b){const _0x1e7796=_0x261a2f;this['jobs'][_0x1e7796(0x1e7)](_0x10032b),this[_0x3872a2]();}[_0x3872a2](){const _0x56dc96=_0x261a2f;if(this[_0x56dc96(0x151)]!==this['concurrency']&&this[_0x56dc96(0x238)][_0x56dc96(0x157)]){const _0x2120b4=this[_0x56dc96(0x238)][_0x56dc96(0x24a)]();this[_0x56dc96(0x151)]++,_0x2120b4(this[_0x4fed10]);}}}return ye=_0x4ecf69,ye;}var ve,Ze;function he(){const _0xae3eba=_0x4638d0;if(Ze)return ve;Ze=0x1;const _0x121732=_0x37a9d7,_0x5efd58=ce(),_0x49d9e9=qt(),{kStatusCode:_0x477d86}=V(),_0x4a9a00=Buffer[Symbol[_0xae3eba(0x241)]],_0x52f8ae=Buffer[_0xae3eba(0x1e9)]([0x0,0x0,0xff,0xff]),_0x104a8d=Symbol('permessage-deflate'),_0xc024e7=Symbol(_0xae3eba(0x265)),_0xfce8e3=Symbol(_0xae3eba(0x1b0)),_0x393434=Symbol('buffers'),_0x58aff0=Symbol(_0xae3eba(0x1fb));let _0x5316c6;class _0x700bc3{constructor(_0x415628,_0x454212,_0x23efc5){const _0x1b1997=_0xae3eba;if(this[_0x1b1997(0x1ac)]=_0x23efc5|0x0,this['_options']=_0x415628||{},this[_0x1b1997(0x251)]=this['_options']['threshold']!==void 0x0?this[_0x1b1997(0x22f)][_0x1b1997(0x27e)]:0x400,this['_isServer']=!!_0x454212,this[_0x1b1997(0x1c0)]=null,this[_0x1b1997(0x267)]=null,this['params']=null,!_0x5316c6){const _0x29c11e=this[_0x1b1997(0x22f)][_0x1b1997(0x1e3)]!==void 0x0?this[_0x1b1997(0x22f)][_0x1b1997(0x1e3)]:0xa;_0x5316c6=new _0x49d9e9(_0x29c11e);}}static get[_0xae3eba(0x155)](){const _0x3d4757=_0xae3eba;return _0x3d4757(0x1ae);}[_0xae3eba(0x114)](){const _0x3bd262=_0xae3eba,_0x5e2da5={};return this['_options'][_0x3bd262(0x1f9)]&&(_0x5e2da5[_0x3bd262(0x122)]=!0x0),this[_0x3bd262(0x22f)][_0x3bd262(0xeb)]&&(_0x5e2da5[_0x3bd262(0x24b)]=!0x0),this[_0x3bd262(0x22f)][_0x3bd262(0x173)]&&(_0x5e2da5['server_max_window_bits']=this[_0x3bd262(0x22f)][_0x3bd262(0x173)]),this[_0x3bd262(0x22f)][_0x3bd262(0xf7)]?_0x5e2da5[_0x3bd262(0xdb)]=this[_0x3bd262(0x22f)][_0x3bd262(0xf7)]:this[_0x3bd262(0x22f)][_0x3bd262(0xf7)]==null&&(_0x5e2da5[_0x3bd262(0xdb)]=!0x0),_0x5e2da5;}[_0xae3eba(0x250)](_0xd12999){const _0x2bb0f1=_0xae3eba;return _0xd12999=this[_0x2bb0f1(0x111)](_0xd12999),this['params']=this[_0x2bb0f1(0x118)]?this[_0x2bb0f1(0x152)](_0xd12999):this[_0x2bb0f1(0x27f)](_0xd12999),this['params'];}[_0xae3eba(0x11b)](){const _0x141721=_0xae3eba;if(this[_0x141721(0x267)]&&(this[_0x141721(0x267)]['close'](),this[_0x141721(0x267)]=null),this[_0x141721(0x1c0)]){const _0x484843=this[_0x141721(0x1c0)][_0xfce8e3];this[_0x141721(0x1c0)][_0x141721(0x178)](),this[_0x141721(0x1c0)]=null,_0x484843&&_0x484843(new Error(_0x141721(0x23e)));}}['acceptAsServer'](_0x4a2aef){const _0x529c7e=_0xae3eba,_0x26c4ef=this['_options'],_0x55e228=_0x4a2aef[_0x529c7e(0x182)](_0x2d2847=>!(_0x26c4ef['serverNoContextTakeover']===!0x1&&_0x2d2847[_0x529c7e(0x122)]||_0x2d2847[_0x529c7e(0x1db)]&&(_0x26c4ef['serverMaxWindowBits']===!0x1||typeof _0x26c4ef[_0x529c7e(0x173)]==_0x529c7e(0xd7)&&_0x26c4ef[_0x529c7e(0x173)]>_0x2d2847[_0x529c7e(0x1db)])||typeof _0x26c4ef[_0x529c7e(0xf7)]==_0x529c7e(0xd7)&&!_0x2d2847[_0x529c7e(0xdb)]));if(!_0x55e228)throw new Error(_0x529c7e(0x1b9));return _0x26c4ef[_0x529c7e(0x1f9)]&&(_0x55e228[_0x529c7e(0x122)]=!0x0),_0x26c4ef['clientNoContextTakeover']&&(_0x55e228[_0x529c7e(0x24b)]=!0x0),typeof _0x26c4ef[_0x529c7e(0x173)]==_0x529c7e(0xd7)&&(_0x55e228[_0x529c7e(0x1db)]=_0x26c4ef[_0x529c7e(0x173)]),typeof _0x26c4ef[_0x529c7e(0xf7)]==_0x529c7e(0xd7)?_0x55e228[_0x529c7e(0xdb)]=_0x26c4ef[_0x529c7e(0xf7)]:(_0x55e228[_0x529c7e(0xdb)]===!0x0||_0x26c4ef['clientMaxWindowBits']===!0x1)&&delete _0x55e228[_0x529c7e(0xdb)],_0x55e228;}['acceptAsClient'](_0x22bd74){const _0x57b81e=_0xae3eba,_0x17621a=_0x22bd74[0x0];if(this[_0x57b81e(0x22f)][_0x57b81e(0xeb)]===!0x1&&_0x17621a[_0x57b81e(0x24b)])throw new Error(_0x57b81e(0x13f));if(!_0x17621a['client_max_window_bits'])typeof this[_0x57b81e(0x22f)][_0x57b81e(0xf7)]==_0x57b81e(0xd7)&&(_0x17621a[_0x57b81e(0xdb)]=this[_0x57b81e(0x22f)]['clientMaxWindowBits']);else{if(this['_options'][_0x57b81e(0xf7)]===!0x1||typeof this[_0x57b81e(0x22f)]['clientMaxWindowBits']==_0x57b81e(0xd7)&&_0x17621a['client_max_window_bits']>this[_0x57b81e(0x22f)][_0x57b81e(0xf7)])throw new Error(_0x57b81e(0x139));}return _0x17621a;}[_0xae3eba(0x111)](_0x2a6806){const _0x31c52d=_0xae3eba;return _0x2a6806[_0x31c52d(0x1dd)](_0x2b7182=>{const _0xdaebaf=_0x31c52d;Object[_0xdaebaf(0x15a)](_0x2b7182)[_0xdaebaf(0x1dd)](_0x4667a0=>{const _0x1d79b6=_0xdaebaf;let _0x56ab3f=_0x2b7182[_0x4667a0];if(_0x56ab3f[_0x1d79b6(0x157)]>0x1)throw new Error(_0x1d79b6(0x10d)+_0x4667a0+_0x1d79b6(0x27c));if(_0x56ab3f=_0x56ab3f[0x0],_0x4667a0===_0x1d79b6(0xdb)){if(_0x56ab3f!==!0x0){const _0x37b302=+_0x56ab3f;if(!Number[_0x1d79b6(0x186)](_0x37b302)||_0x37b302<0x8||_0x37b302>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x4667a0+_0x1d79b6(0x121)+_0x56ab3f);_0x56ab3f=_0x37b302;}else{if(!this[_0x1d79b6(0x118)])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x4667a0+'\x22:\x20'+_0x56ab3f);}}else{if(_0x4667a0===_0x1d79b6(0x1db)){const _0x3de7dd=+_0x56ab3f;if(!Number[_0x1d79b6(0x186)](_0x3de7dd)||_0x3de7dd<0x8||_0x3de7dd>0xf)throw new TypeError(_0x1d79b6(0xd8)+_0x4667a0+_0x1d79b6(0x121)+_0x56ab3f);_0x56ab3f=_0x3de7dd;}else{if(_0x4667a0===_0x1d79b6(0x24b)||_0x4667a0===_0x1d79b6(0x122)){if(_0x56ab3f!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x4667a0+_0x1d79b6(0x121)+_0x56ab3f);}else throw new Error('Unknown\x20parameter\x20\x22'+_0x4667a0+'\x22');}}_0x2b7182[_0x4667a0]=_0x56ab3f;});}),_0x2a6806;}[_0xae3eba(0x205)](_0x4f1bda,_0x230f1a,_0x41a759){_0x5316c6['add'](_0x20802d=>{const _0x263d82=_0x4f97;this[_0x263d82(0x1a9)](_0x4f1bda,_0x230f1a,(_0xe7918e,_0x35d6d1)=>{_0x20802d(),_0x41a759(_0xe7918e,_0x35d6d1);});});}['compress'](_0x4715f8,_0x55339b,_0x3cf1d0){const _0x3d988b=_0xae3eba;_0x5316c6[_0x3d988b(0x242)](_0x359169=>{const _0x1713e4=_0x3d988b;this[_0x1713e4(0x258)](_0x4715f8,_0x55339b,(_0x1e19b3,_0x4f3a11)=>{_0x359169(),_0x3cf1d0(_0x1e19b3,_0x4f3a11);});});}[_0xae3eba(0x1a9)](_0x2dd65d,_0x3ca0a2,_0x5dc8ca){const _0x43136c=_0xae3eba,_0x1f1e45=this[_0x43136c(0x118)]?_0x43136c(0x256):_0x43136c(0x198);if(!this[_0x43136c(0x267)]){const _0x4d1467=_0x1f1e45+'_max_window_bits',_0x441af0=typeof this[_0x43136c(0x184)][_0x4d1467]!=_0x43136c(0xd7)?_0x121732[_0x43136c(0x189)]:this[_0x43136c(0x184)][_0x4d1467];this[_0x43136c(0x267)]=_0x121732[_0x43136c(0x15c)]({...this[_0x43136c(0x22f)][_0x43136c(0x26f)],'windowBits':_0x441af0}),this[_0x43136c(0x267)][_0x104a8d]=this,this[_0x43136c(0x267)][_0xc024e7]=0x0,this[_0x43136c(0x267)][_0x393434]=[],this['_inflate']['on'](_0x43136c(0x1fb),_0x1c8e02),this['_inflate']['on'](_0x43136c(0x142),_0x1012f9);}this[_0x43136c(0x267)][_0xfce8e3]=_0x5dc8ca,this[_0x43136c(0x267)][_0x43136c(0xff)](_0x2dd65d),_0x3ca0a2&&this[_0x43136c(0x267)]['write'](_0x52f8ae),this[_0x43136c(0x267)][_0x43136c(0x144)](()=>{const _0x475d0b=_0x43136c,_0xe720e1=this[_0x475d0b(0x267)][_0x58aff0];if(_0xe720e1){this[_0x475d0b(0x267)][_0x475d0b(0x178)](),this[_0x475d0b(0x267)]=null,_0x5dc8ca(_0xe720e1);return;}const _0xfd1e=_0x5efd58[_0x475d0b(0x215)](this['_inflate'][_0x393434],this[_0x475d0b(0x267)][_0xc024e7]);this[_0x475d0b(0x267)][_0x475d0b(0xe9)][_0x475d0b(0x158)]?(this[_0x475d0b(0x267)]['close'](),this['_inflate']=null):(this[_0x475d0b(0x267)][_0xc024e7]=0x0,this['_inflate'][_0x393434]=[],_0x3ca0a2&&this[_0x475d0b(0x184)][_0x1f1e45+_0x475d0b(0x257)]&&this[_0x475d0b(0x267)]['reset']()),_0x5dc8ca(null,_0xfd1e);});}[_0xae3eba(0x258)](_0x2d0424,_0x8ed924,_0x41534b){const _0x440d31=_0xae3eba,_0x115ee9=this[_0x440d31(0x118)]?'server':_0x440d31(0x256);if(!this[_0x440d31(0x1c0)]){const _0x4be3fe=_0x115ee9+'_max_window_bits',_0x2f1d9e=typeof this[_0x440d31(0x184)][_0x4be3fe]!=_0x440d31(0xd7)?_0x121732['Z_DEFAULT_WINDOWBITS']:this['params'][_0x4be3fe];this['_deflate']=_0x121732[_0x440d31(0x13d)]({...this[_0x440d31(0x22f)][_0x440d31(0x1de)],'windowBits':_0x2f1d9e}),this[_0x440d31(0x1c0)][_0xc024e7]=0x0,this[_0x440d31(0x1c0)][_0x393434]=[],this[_0x440d31(0x1c0)]['on'](_0x440d31(0x142),_0x4e032);}this['_deflate'][_0xfce8e3]=_0x41534b,this[_0x440d31(0x1c0)]['write'](_0x2d0424),this[_0x440d31(0x1c0)][_0x440d31(0x144)](_0x121732[_0x440d31(0x213)],()=>{const _0xbbe4ac=_0x440d31;if(!this[_0xbbe4ac(0x1c0)])return;let _0x48e836=_0x5efd58['concat'](this[_0xbbe4ac(0x1c0)][_0x393434],this[_0xbbe4ac(0x1c0)][_0xc024e7]);_0x8ed924&&(_0x48e836=new _0x4a9a00(_0x48e836[_0xbbe4ac(0x191)],_0x48e836[_0xbbe4ac(0x273)],_0x48e836[_0xbbe4ac(0x157)]-0x4)),this[_0xbbe4ac(0x1c0)][_0xfce8e3]=null,this['_deflate'][_0xc024e7]=0x0,this[_0xbbe4ac(0x1c0)][_0x393434]=[],_0x8ed924&&this[_0xbbe4ac(0x184)][_0x115ee9+_0xbbe4ac(0x257)]&&this[_0xbbe4ac(0x1c0)][_0xbbe4ac(0x17b)](),_0x41534b(null,_0x48e836);});}}ve=_0x700bc3;function _0x4e032(_0x164e36){const _0x256099=_0xae3eba;this[_0x393434][_0x256099(0x1e7)](_0x164e36),this[_0xc024e7]+=_0x164e36[_0x256099(0x157)];}function _0x1012f9(_0x26ec6a){const _0x3cfd1f=_0xae3eba;if(this[_0xc024e7]+=_0x26ec6a['length'],this[_0x104a8d]['_maxPayload']<0x1||this[_0xc024e7]<=this[_0x104a8d][_0x3cfd1f(0x1ac)]){this[_0x393434][_0x3cfd1f(0x1e7)](_0x26ec6a);return;}this[_0x58aff0]=new RangeError(_0x3cfd1f(0x195)),this[_0x58aff0][_0x3cfd1f(0xf8)]=_0x3cfd1f(0x276),this[_0x58aff0][_0x477d86]=0x3f1,this[_0x3cfd1f(0x11d)](_0x3cfd1f(0x142),_0x1012f9),this[_0x3cfd1f(0x17b)]();}function _0x1c8e02(_0x1d960e){if(this[_0x104a8d]['_inflate']=null,this[_0x58aff0]){this[_0xfce8e3](this[_0x58aff0]);return;}_0x1d960e[_0x477d86]=0x3ef,this[_0xfce8e3](_0x1d960e);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x4638d0(0x100)](Object[_0x4638d0(0x202)]({'__proto__':null,'default':Ht},Symbol[_0x4638d0(0x18a)],{'value':_0x4638d0(0x272)})),Yt=ut(zt);function _0x4f97(_0x5009d3,_0x38fab5){_0x5009d3=_0x5009d3-0xd3;const _0x690f8=_0x690f();let _0x4f9760=_0x690f8[_0x5009d3];return _0x4f9760;}var Qe;function ne(){const _0x51d2af=_0x4638d0;if(Qe)return re[_0x51d2af(0xe4)];Qe=0x1;const {isUtf8:_0x4a2f2d}=_0x377d8d,{hasBlob:_0x56daa3}=V(),_0x138ab1=[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 _0x20eba3(_0x1214c2){return _0x1214c2>=0x3e8&&_0x1214c2<=0x3f6&&_0x1214c2!==0x3ec&&_0x1214c2!==0x3ed&&_0x1214c2!==0x3ee||_0x1214c2>=0xbb8&&_0x1214c2<=0x1387;}function _0x779cd7(_0x1c83d1){const _0x2aa8e8=_0x51d2af,_0x121095=_0x1c83d1[_0x2aa8e8(0x157)];let _0x433e91=0x0;for(;_0x433e91<_0x121095;)if((_0x1c83d1[_0x433e91]&0x80)===0x0)_0x433e91++;else{if((_0x1c83d1[_0x433e91]&0xe0)===0xc0){if(_0x433e91+0x1===_0x121095||(_0x1c83d1[_0x433e91+0x1]&0xc0)!==0x80||(_0x1c83d1[_0x433e91]&0xfe)===0xc0)return!0x1;_0x433e91+=0x2;}else{if((_0x1c83d1[_0x433e91]&0xf0)===0xe0){if(_0x433e91+0x2>=_0x121095||(_0x1c83d1[_0x433e91+0x1]&0xc0)!==0x80||(_0x1c83d1[_0x433e91+0x2]&0xc0)!==0x80||_0x1c83d1[_0x433e91]===0xe0&&(_0x1c83d1[_0x433e91+0x1]&0xe0)===0x80||_0x1c83d1[_0x433e91]===0xed&&(_0x1c83d1[_0x433e91+0x1]&0xe0)===0xa0)return!0x1;_0x433e91+=0x3;}else{if((_0x1c83d1[_0x433e91]&0xf8)===0xf0){if(_0x433e91+0x3>=_0x121095||(_0x1c83d1[_0x433e91+0x1]&0xc0)!==0x80||(_0x1c83d1[_0x433e91+0x2]&0xc0)!==0x80||(_0x1c83d1[_0x433e91+0x3]&0xc0)!==0x80||_0x1c83d1[_0x433e91]===0xf0&&(_0x1c83d1[_0x433e91+0x1]&0xf0)===0x80||_0x1c83d1[_0x433e91]===0xf4&&_0x1c83d1[_0x433e91+0x1]>0x8f||_0x1c83d1[_0x433e91]>0xf4)return!0x1;_0x433e91+=0x4;}else return!0x1;}}}return!0x0;}function _0x407b00(_0x466084){const _0x453559=_0x51d2af;return _0x56daa3&&typeof _0x466084==_0x453559(0x1af)&&typeof _0x466084[_0x453559(0x187)]=='function'&&typeof _0x466084['type']==_0x453559(0x25f)&&typeof _0x466084[_0x453559(0x11c)]==_0x453559(0x1ec)&&(_0x466084[Symbol[_0x453559(0x18a)]]===_0x453559(0xec)||_0x466084[Symbol[_0x453559(0x18a)]]===_0x453559(0xf5));}if(re[_0x51d2af(0xe4)]={'isBlob':_0x407b00,'isValidStatusCode':_0x20eba3,'isValidUTF8':_0x779cd7,'tokenChars':_0x138ab1},_0x4a2f2d)re[_0x51d2af(0xe4)][_0x51d2af(0x20a)]=function(_0x447fee){const _0x3ea628=_0x51d2af;return _0x447fee[_0x3ea628(0x157)]<0x18?_0x779cd7(_0x447fee):_0x4a2f2d(_0x447fee);};else{if(!process[_0x51d2af(0x230)]['WS_NO_UTF_8_VALIDATE'])try{const _0xaecb28=Yt;re['exports'][_0x51d2af(0x20a)]=function(_0xe6e117){const _0x4e4fda=_0x51d2af;return _0xe6e117[_0x4e4fda(0x157)]<0x20?_0x779cd7(_0xe6e117):_0xaecb28(_0xe6e117);};}catch{}}return re[_0x51d2af(0xe4)];}var Se,Je;function dt(){const _0x2f3235=_0x4638d0;if(Je)return Se;Je=0x1;const {Writable:_0x586325}=_0x1595d9,_0x39851a=he(),{BINARY_TYPES:_0x5359cb,EMPTY_BUFFER:_0xc8a61c,kStatusCode:_0xa545a8,kWebSocket:_0x9abfcf}=V(),{concat:_0xbe237d,toArrayBuffer:_0x2f431c,unmask:_0x2ce84d}=ce(),{isValidStatusCode:_0x34d2cf,isValidUTF8:_0xec82da}=ne(),_0x2028b8=Buffer[Symbol[_0x2f3235(0x241)]],_0x217efa=0x0,_0x16924f=0x1,_0x3e1f3f=0x2,_0x45cf32=0x3,_0x2f6761=0x4,_0x1cf3e9=0x5,_0x446615=0x6;class _0x581000 extends _0x586325{constructor(_0x5f5053={}){const _0x1e58f1=_0x2f3235;super(),this[_0x1e58f1(0xe1)]=_0x5f5053['allowSynchronousEvents']!==void 0x0?_0x5f5053[_0x1e58f1(0x26b)]:!0x0,this[_0x1e58f1(0x259)]=_0x5f5053['binaryType']||_0x5359cb[0x0],this[_0x1e58f1(0xf2)]=_0x5f5053['extensions']||{},this[_0x1e58f1(0x118)]=!!_0x5f5053[_0x1e58f1(0x1d8)],this['_maxPayload']=_0x5f5053['maxPayload']|0x0,this[_0x1e58f1(0x249)]=!!_0x5f5053[_0x1e58f1(0x188)],this[_0x9abfcf]=void 0x0,this['_bufferedBytes']=0x0,this['_buffers']=[],this[_0x1e58f1(0x27a)]=!0x1,this[_0x1e58f1(0x1c6)]=0x0,this[_0x1e58f1(0x264)]=void 0x0,this[_0x1e58f1(0x21c)]=0x0,this[_0x1e58f1(0x133)]=!0x1,this[_0x1e58f1(0x162)]=!0x1,this[_0x1e58f1(0x14f)]=0x0,this['_totalPayloadLength']=0x0,this['_messageLength']=0x0,this[_0x1e58f1(0x237)]=[],this[_0x1e58f1(0x16b)]=!0x1,this[_0x1e58f1(0x12b)]=!0x1,this[_0x1e58f1(0x1c8)]=_0x217efa;}[_0x2f3235(0x239)](_0x1cac07,_0x4a39fa,_0x412e63){const _0x1da8a6=_0x2f3235;if(this[_0x1da8a6(0x14f)]===0x8&&this[_0x1da8a6(0x1c8)]==_0x217efa)return _0x412e63();this['_bufferedBytes']+=_0x1cac07[_0x1da8a6(0x157)],this[_0x1da8a6(0x1ab)][_0x1da8a6(0x1e7)](_0x1cac07),this[_0x1da8a6(0x194)](_0x412e63);}[_0x2f3235(0x170)](_0x36c8b9){const _0x5745a6=_0x2f3235;if(this[_0x5745a6(0x1aa)]-=_0x36c8b9,_0x36c8b9===this['_buffers'][0x0][_0x5745a6(0x157)])return this[_0x5745a6(0x1ab)][_0x5745a6(0x24a)]();if(_0x36c8b9<this[_0x5745a6(0x1ab)][0x0][_0x5745a6(0x157)]){const _0x3bad87=this[_0x5745a6(0x1ab)][0x0];return this[_0x5745a6(0x1ab)][0x0]=new _0x2028b8(_0x3bad87[_0x5745a6(0x191)],_0x3bad87[_0x5745a6(0x273)]+_0x36c8b9,_0x3bad87[_0x5745a6(0x157)]-_0x36c8b9),new _0x2028b8(_0x3bad87[_0x5745a6(0x191)],_0x3bad87[_0x5745a6(0x273)],_0x36c8b9);}const _0x4b9edd=Buffer[_0x5745a6(0x277)](_0x36c8b9);do{const _0x4ae91f=this['_buffers'][0x0],_0x57eb42=_0x4b9edd['length']-_0x36c8b9;_0x36c8b9>=_0x4ae91f['length']?_0x4b9edd['set'](this[_0x5745a6(0x1ab)][_0x5745a6(0x24a)](),_0x57eb42):(_0x4b9edd[_0x5745a6(0x12c)](new Uint8Array(_0x4ae91f['buffer'],_0x4ae91f[_0x5745a6(0x273)],_0x36c8b9),_0x57eb42),this['_buffers'][0x0]=new _0x2028b8(_0x4ae91f[_0x5745a6(0x191)],_0x4ae91f[_0x5745a6(0x273)]+_0x36c8b9,_0x4ae91f['length']-_0x36c8b9)),_0x36c8b9-=_0x4ae91f[_0x5745a6(0x157)];}while(_0x36c8b9>0x0);return _0x4b9edd;}[_0x2f3235(0x194)](_0x32b84a){const _0x132a4c=_0x2f3235;this[_0x132a4c(0x12b)]=!0x0;do switch(this['_state']){case _0x217efa:this['getInfo'](_0x32b84a);break;case _0x16924f:this[_0x132a4c(0x15e)](_0x32b84a);break;case _0x3e1f3f:this['getPayloadLength64'](_0x32b84a);break;case _0x45cf32:this[_0x132a4c(0x1bf)]();break;case _0x2f6761:this[_0x132a4c(0x212)](_0x32b84a);break;case _0x1cf3e9:case _0x446615:this[_0x132a4c(0x12b)]=!0x1;return;}while(this[_0x132a4c(0x12b)]);this['_errored']||_0x32b84a();}[_0x2f3235(0x1ea)](_0x315bc7){const _0x534cd6=_0x2f3235;if(this[_0x534cd6(0x1aa)]<0x2){this[_0x534cd6(0x12b)]=!0x1;return;}const _0xc1c917=this[_0x534cd6(0x170)](0x2);if((_0xc1c917[0x0]&0x30)!==0x0){const _0x2e067a=this[_0x534cd6(0x115)](RangeError,_0x534cd6(0x1d3),!0x0,0x3ea,_0x534cd6(0xf9));_0x315bc7(_0x2e067a);return;}const _0x28f220=(_0xc1c917[0x0]&0x40)===0x40;if(_0x28f220&&!this[_0x534cd6(0xf2)][_0x39851a[_0x534cd6(0x155)]]){const _0x5acdaf=this[_0x534cd6(0x115)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x534cd6(0x281));_0x315bc7(_0x5acdaf);return;}if(this[_0x534cd6(0x162)]=(_0xc1c917[0x0]&0x80)===0x80,this[_0x534cd6(0x14f)]=_0xc1c917[0x0]&0xf,this[_0x534cd6(0x1c6)]=_0xc1c917[0x1]&0x7f,this['_opcode']===0x0){if(_0x28f220){const _0x11bee9=this['createError'](RangeError,_0x534cd6(0x22c),!0x0,0x3ea,_0x534cd6(0x281));_0x315bc7(_0x11bee9);return;}if(!this['_fragmented']){const _0xa80b0c=this[_0x534cd6(0x115)](RangeError,_0x534cd6(0x200),!0x0,0x3ea,_0x534cd6(0x1c3));_0x315bc7(_0xa80b0c);return;}this['_opcode']=this[_0x534cd6(0x21c)];}else{if(this[_0x534cd6(0x14f)]===0x1||this[_0x534cd6(0x14f)]===0x2){if(this[_0x534cd6(0x21c)]){const _0x136e91=this[_0x534cd6(0x115)](RangeError,_0x534cd6(0xf0)+this[_0x534cd6(0x14f)],!0x0,0x3ea,_0x534cd6(0x1c3));_0x315bc7(_0x136e91);return;}this[_0x534cd6(0x27a)]=_0x28f220;}else{if(this[_0x534cd6(0x14f)]>0x7&&this[_0x534cd6(0x14f)]<0xb){if(!this['_fin']){const _0x35b03f=this[_0x534cd6(0x115)](RangeError,_0x534cd6(0x247),!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0x315bc7(_0x35b03f);return;}if(_0x28f220){const _0x5ac8a7=this[_0x534cd6(0x115)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x315bc7(_0x5ac8a7);return;}if(this[_0x534cd6(0x1c6)]>0x7d||this[_0x534cd6(0x14f)]===0x8&&this[_0x534cd6(0x1c6)]===0x1){const _0x31b6b1=this[_0x534cd6(0x115)](RangeError,_0x534cd6(0x192)+this[_0x534cd6(0x1c6)],!0x0,0x3ea,'WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH');_0x315bc7(_0x31b6b1);return;}}else{const _0x4695b1=this[_0x534cd6(0x115)](RangeError,_0x534cd6(0xf0)+this[_0x534cd6(0x14f)],!0x0,0x3ea,_0x534cd6(0x1c3));_0x315bc7(_0x4695b1);return;}}}if(!this['_fin']&&!this['_fragmented']&&(this[_0x534cd6(0x21c)]=this[_0x534cd6(0x14f)]),this[_0x534cd6(0x133)]=(_0xc1c917[0x1]&0x80)===0x80,this[_0x534cd6(0x118)]){if(!this['_masked']){const _0x28ff07=this[_0x534cd6(0x115)](RangeError,'MASK\x20must\x20be\x20set',!0x0,0x3ea,_0x534cd6(0x199));_0x315bc7(_0x28ff07);return;}}else{if(this[_0x534cd6(0x133)]){const _0x549477=this['createError'](RangeError,_0x534cd6(0x221),!0x0,0x3ea,_0x534cd6(0x1f2));_0x315bc7(_0x549477);return;}}this[_0x534cd6(0x1c6)]===0x7e?this[_0x534cd6(0x1c8)]=_0x16924f:this[_0x534cd6(0x1c6)]===0x7f?this['_state']=_0x3e1f3f:this[_0x534cd6(0x105)](_0x315bc7);}['getPayloadLength16'](_0x53d20e){const _0x100414=_0x2f3235;if(this['_bufferedBytes']<0x2){this['_loop']=!0x1;return;}this[_0x100414(0x1c6)]=this[_0x100414(0x170)](0x2)['readUInt16BE'](0x0),this[_0x100414(0x105)](_0x53d20e);}[_0x2f3235(0x14a)](_0x4f3970){const _0x263ed7=_0x2f3235;if(this[_0x263ed7(0x1aa)]<0x8){this[_0x263ed7(0x12b)]=!0x1;return;}const _0x396e19=this[_0x263ed7(0x170)](0x8),_0x127e76=_0x396e19[_0x263ed7(0x235)](0x0);if(_0x127e76>Math[_0x263ed7(0x1a5)](0x2,0x15)-0x1){const _0x2e120b=this[_0x263ed7(0x115)](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,_0x263ed7(0x279));_0x4f3970(_0x2e120b);return;}this[_0x263ed7(0x1c6)]=_0x127e76*Math[_0x263ed7(0x1a5)](0x2,0x20)+_0x396e19[_0x263ed7(0x235)](0x4),this[_0x263ed7(0x105)](_0x4f3970);}[_0x2f3235(0x105)](_0xa2957f){const _0x39c549=_0x2f3235;if(this[_0x39c549(0x1c6)]&&this[_0x39c549(0x14f)]<0x8&&(this[_0x39c549(0x229)]+=this[_0x39c549(0x1c6)],this[_0x39c549(0x229)]>this['_maxPayload']&&this[_0x39c549(0x1ac)]>0x0)){const _0x2a4917=this[_0x39c549(0x115)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0xa2957f(_0x2a4917);return;}this[_0x39c549(0x133)]?this['_state']=_0x45cf32:this[_0x39c549(0x1c8)]=_0x2f6761;}[_0x2f3235(0x1bf)](){const _0x27019e=_0x2f3235;if(this[_0x27019e(0x1aa)]<0x4){this[_0x27019e(0x12b)]=!0x1;return;}this[_0x27019e(0x264)]=this['consume'](0x4),this[_0x27019e(0x1c8)]=_0x2f6761;}[_0x2f3235(0x212)](_0x31d4db){const _0x195d2a=_0x2f3235;let _0x186a0d=_0xc8a61c;if(this['_payloadLength']){if(this[_0x195d2a(0x1aa)]<this['_payloadLength']){this[_0x195d2a(0x12b)]=!0x1;return;}_0x186a0d=this[_0x195d2a(0x170)](this['_payloadLength']),this[_0x195d2a(0x133)]&&(this[_0x195d2a(0x264)][0x0]|this[_0x195d2a(0x264)][0x1]|this[_0x195d2a(0x264)][0x2]|this[_0x195d2a(0x264)][0x3])!==0x0&&_0x2ce84d(_0x186a0d,this[_0x195d2a(0x264)]);}if(this[_0x195d2a(0x14f)]>0x7){this['controlMessage'](_0x186a0d,_0x31d4db);return;}if(this[_0x195d2a(0x27a)]){this[_0x195d2a(0x1c8)]=_0x1cf3e9,this[_0x195d2a(0x205)](_0x186a0d,_0x31d4db);return;}_0x186a0d[_0x195d2a(0x157)]&&(this[_0x195d2a(0xda)]=this[_0x195d2a(0x229)],this[_0x195d2a(0x237)][_0x195d2a(0x1e7)](_0x186a0d)),this[_0x195d2a(0x183)](_0x31d4db);}[_0x2f3235(0x205)](_0x478ea6,_0x1121f0){const _0x1a75d8=_0x2f3235;this[_0x1a75d8(0xf2)][_0x39851a[_0x1a75d8(0x155)]][_0x1a75d8(0x205)](_0x478ea6,this[_0x1a75d8(0x162)],(_0x555189,_0x1b44a6)=>{const _0x3216aa=_0x1a75d8;if(_0x555189)return _0x1121f0(_0x555189);if(_0x1b44a6[_0x3216aa(0x157)]){if(this[_0x3216aa(0xda)]+=_0x1b44a6[_0x3216aa(0x157)],this['_messageLength']>this['_maxPayload']&&this['_maxPayload']>0x0){const _0x344184=this[_0x3216aa(0x115)](RangeError,_0x3216aa(0x195),!0x1,0x3f1,_0x3216aa(0x276));_0x1121f0(_0x344184);return;}this[_0x3216aa(0x237)][_0x3216aa(0x1e7)](_0x1b44a6);}this[_0x3216aa(0x183)](_0x1121f0),this[_0x3216aa(0x1c8)]===_0x217efa&&this[_0x3216aa(0x194)](_0x1121f0);});}[_0x2f3235(0x183)](_0x5aa580){const _0x25625f=_0x2f3235;if(!this[_0x25625f(0x162)]){this[_0x25625f(0x1c8)]=_0x217efa;return;}const _0x2dc1f7=this['_messageLength'],_0x35bb68=this['_fragments'];if(this[_0x25625f(0x229)]=0x0,this[_0x25625f(0xda)]=0x0,this[_0x25625f(0x21c)]=0x0,this[_0x25625f(0x237)]=[],this['_opcode']===0x2){let _0x234ad4;this[_0x25625f(0x259)]===_0x25625f(0x224)?_0x234ad4=_0xbe237d(_0x35bb68,_0x2dc1f7):this['_binaryType']==='arraybuffer'?_0x234ad4=_0x2f431c(_0xbe237d(_0x35bb68,_0x2dc1f7)):this['_binaryType']==='blob'?_0x234ad4=new Blob(_0x35bb68):_0x234ad4=_0x35bb68,this[_0x25625f(0xe1)]?(this[_0x25625f(0x1dc)](_0x25625f(0x1b5),_0x234ad4,!0x0),this[_0x25625f(0x1c8)]=_0x217efa):(this[_0x25625f(0x1c8)]=_0x446615,setImmediate(()=>{const _0x12cd14=_0x25625f;this[_0x12cd14(0x1dc)](_0x12cd14(0x1b5),_0x234ad4,!0x0),this[_0x12cd14(0x1c8)]=_0x217efa,this[_0x12cd14(0x194)](_0x5aa580);}));}else{const _0xd81455=_0xbe237d(_0x35bb68,_0x2dc1f7);if(!this[_0x25625f(0x249)]&&!_0xec82da(_0xd81455)){const _0x44404e=this[_0x25625f(0x115)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x25625f(0xf4));_0x5aa580(_0x44404e);return;}this['_state']===_0x1cf3e9||this[_0x25625f(0xe1)]?(this[_0x25625f(0x1dc)](_0x25625f(0x1b5),_0xd81455,!0x1),this['_state']=_0x217efa):(this[_0x25625f(0x1c8)]=_0x446615,setImmediate(()=>{const _0x32bea9=_0x25625f;this['emit'](_0x32bea9(0x1b5),_0xd81455,!0x1),this['_state']=_0x217efa,this[_0x32bea9(0x194)](_0x5aa580);}));}}['controlMessage'](_0x2f7fb8,_0x1bdb25){const _0x13913b=_0x2f3235;if(this[_0x13913b(0x14f)]===0x8){if(_0x2f7fb8['length']===0x0)this[_0x13913b(0x12b)]=!0x1,this['emit'](_0x13913b(0x130),0x3ed,_0xc8a61c),this['end']();else{const _0x111335=_0x2f7fb8['readUInt16BE'](0x0);if(!_0x34d2cf(_0x111335)){const _0x27f27a=this[_0x13913b(0x115)](RangeError,'invalid\x20status\x20code\x20'+_0x111335,!0x0,0x3ea,_0x13913b(0x1a4));_0x1bdb25(_0x27f27a);return;}const _0x43f145=new _0x2028b8(_0x2f7fb8[_0x13913b(0x191)],_0x2f7fb8[_0x13913b(0x273)]+0x2,_0x2f7fb8[_0x13913b(0x157)]-0x2);if(!this[_0x13913b(0x249)]&&!_0xec82da(_0x43f145)){const _0x36b0f3=this[_0x13913b(0x115)](Error,_0x13913b(0x117),!0x0,0x3ef,_0x13913b(0xf4));_0x1bdb25(_0x36b0f3);return;}this[_0x13913b(0x12b)]=!0x1,this[_0x13913b(0x1dc)](_0x13913b(0x130),_0x111335,_0x43f145),this[_0x13913b(0x20d)]();}this[_0x13913b(0x1c8)]=_0x217efa;return;}this[_0x13913b(0xe1)]?(this[_0x13913b(0x1dc)](this['_opcode']===0x9?_0x13913b(0x26c):_0x13913b(0x240),_0x2f7fb8),this['_state']=_0x217efa):(this[_0x13913b(0x1c8)]=_0x446615,setImmediate(()=>{const _0x18c991=_0x13913b;this[_0x18c991(0x1dc)](this['_opcode']===0x9?_0x18c991(0x26c):_0x18c991(0x240),_0x2f7fb8),this[_0x18c991(0x1c8)]=_0x217efa,this[_0x18c991(0x194)](_0x1bdb25);}));}[_0x2f3235(0x115)](_0x395614,_0x3a24de,_0x262811,_0x7c530,_0x331932){const _0x4a0569=_0x2f3235;this['_loop']=!0x1,this['_errored']=!0x0;const _0x4d9c3d=new _0x395614(_0x262811?_0x4a0569(0x1a7)+_0x3a24de:_0x3a24de);return Error[_0x4a0569(0x10a)](_0x4d9c3d,this[_0x4a0569(0x115)]),_0x4d9c3d[_0x4a0569(0xf8)]=_0x331932,_0x4d9c3d[_0xa545a8]=_0x7c530,_0x4d9c3d;}}return Se=_0x581000,Se;}var Ee,et;function _t(){const _0xbf3826=_0x4638d0;if(et)return Ee;et=0x1;const {Duplex:_0x3106b5}=_0x1595d9,{randomFillSync:_0x463e39}=_0x5572b2,_0x4883d6=he(),{EMPTY_BUFFER:_0x27ff07,kWebSocket:_0x3e5822,NOOP:_0x19968e}=V(),{isBlob:_0x4a5277,isValidStatusCode:_0x42dc1b}=ne(),{mask:_0xc47e8d,toBuffer:_0x334af8}=ce(),_0xd4a250=Symbol(_0xbf3826(0x176)),_0x27a1f3=Buffer[_0xbf3826(0x1a3)](0x4),_0x36f2e6=0x8*0x400;let _0x5bdd97,_0x3c2d42=_0x36f2e6;const _0x51b168=0x0,_0xd103e6=0x1,_0x5984d5=0x2;class _0x2480e5{constructor(_0x4c36c6,_0x1fda4a,_0x26bef2){const _0x21383c=_0xbf3826;this[_0x21383c(0xf2)]=_0x1fda4a||{},_0x26bef2&&(this[_0x21383c(0x219)]=_0x26bef2,this['_maskBuffer']=Buffer[_0x21383c(0x1a3)](0x4)),this[_0x21383c(0x203)]=_0x4c36c6,this[_0x21383c(0x22e)]=!0x0,this[_0x21383c(0x258)]=!0x1,this[_0x21383c(0x1aa)]=0x0,this['_queue']=[],this[_0x21383c(0x1c8)]=_0x51b168,this[_0x21383c(0x132)]=_0x19968e,this[_0x3e5822]=void 0x0;}static['frame'](_0x2ff941,_0x1b4142){const _0x4d9d55=_0xbf3826;let _0x5aa321,_0x387f74=!0x1,_0x1efe4a=0x2,_0x270298=!0x1;_0x1b4142[_0x4d9d55(0x1a6)]&&(_0x5aa321=_0x1b4142[_0x4d9d55(0xd3)]||_0x27a1f3,_0x1b4142[_0x4d9d55(0x123)]?_0x1b4142[_0x4d9d55(0x123)](_0x5aa321):(_0x3c2d42===_0x36f2e6&&(_0x5bdd97===void 0x0&&(_0x5bdd97=Buffer[_0x4d9d55(0x1a3)](_0x36f2e6)),_0x463e39(_0x5bdd97,0x0,_0x36f2e6),_0x3c2d42=0x0),_0x5aa321[0x0]=_0x5bdd97[_0x3c2d42++],_0x5aa321[0x1]=_0x5bdd97[_0x3c2d42++],_0x5aa321[0x2]=_0x5bdd97[_0x3c2d42++],_0x5aa321[0x3]=_0x5bdd97[_0x3c2d42++]),_0x270298=(_0x5aa321[0x0]|_0x5aa321[0x1]|_0x5aa321[0x2]|_0x5aa321[0x3])===0x0,_0x1efe4a=0x6);let _0x493329;typeof _0x2ff941==_0x4d9d55(0x25f)?(!_0x1b4142[_0x4d9d55(0x1a6)]||_0x270298)&&_0x1b4142[_0xd4a250]!==void 0x0?_0x493329=_0x1b4142[_0xd4a250]:(_0x2ff941=Buffer[_0x4d9d55(0x1e9)](_0x2ff941),_0x493329=_0x2ff941[_0x4d9d55(0x157)]):(_0x493329=_0x2ff941[_0x4d9d55(0x157)],_0x387f74=_0x1b4142[_0x4d9d55(0x1a6)]&&_0x1b4142[_0x4d9d55(0xe0)]&&!_0x270298);let _0x5b568a=_0x493329;_0x493329>=0x10000?(_0x1efe4a+=0x8,_0x5b568a=0x7f):_0x493329>0x7d&&(_0x1efe4a+=0x2,_0x5b568a=0x7e);const _0x45ca6c=Buffer[_0x4d9d55(0x277)](_0x387f74?_0x493329+_0x1efe4a:_0x1efe4a);return _0x45ca6c[0x0]=_0x1b4142['fin']?_0x1b4142[_0x4d9d55(0x14c)]|0x80:_0x1b4142[_0x4d9d55(0x14c)],_0x1b4142[_0x4d9d55(0x275)]&&(_0x45ca6c[0x0]|=0x40),_0x45ca6c[0x1]=_0x5b568a,_0x5b568a===0x7e?_0x45ca6c[_0x4d9d55(0x243)](_0x493329,0x2):_0x5b568a===0x7f&&(_0x45ca6c[0x2]=_0x45ca6c[0x3]=0x0,_0x45ca6c['writeUIntBE'](_0x493329,0x4,0x6)),_0x1b4142[_0x4d9d55(0x1a6)]?(_0x45ca6c[0x1]|=0x80,_0x45ca6c[_0x1efe4a-0x4]=_0x5aa321[0x0],_0x45ca6c[_0x1efe4a-0x3]=_0x5aa321[0x1],_0x45ca6c[_0x1efe4a-0x2]=_0x5aa321[0x2],_0x45ca6c[_0x1efe4a-0x1]=_0x5aa321[0x3],_0x270298?[_0x45ca6c,_0x2ff941]:_0x387f74?(_0xc47e8d(_0x2ff941,_0x5aa321,_0x45ca6c,_0x1efe4a,_0x493329),[_0x45ca6c]):(_0xc47e8d(_0x2ff941,_0x5aa321,_0x2ff941,0x0,_0x493329),[_0x45ca6c,_0x2ff941])):[_0x45ca6c,_0x2ff941];}['close'](_0x3ded8c,_0x4a59eb,_0x12daf0,_0x8a61d0){const _0x52f5ac=_0xbf3826;let _0x287fd0;if(_0x3ded8c===void 0x0)_0x287fd0=_0x27ff07;else{if(typeof _0x3ded8c!='number'||!_0x42dc1b(_0x3ded8c))throw new TypeError('First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number');if(_0x4a59eb===void 0x0||!_0x4a59eb['length'])_0x287fd0=Buffer[_0x52f5ac(0x277)](0x2),_0x287fd0[_0x52f5ac(0x243)](_0x3ded8c,0x0);else{const _0x2d86d9=Buffer[_0x52f5ac(0x1cb)](_0x4a59eb);if(_0x2d86d9>0x7b)throw new RangeError(_0x52f5ac(0x211));_0x287fd0=Buffer['allocUnsafe'](0x2+_0x2d86d9),_0x287fd0[_0x52f5ac(0x243)](_0x3ded8c,0x0),typeof _0x4a59eb=='string'?_0x287fd0[_0x52f5ac(0xff)](_0x4a59eb,0x2):_0x287fd0[_0x52f5ac(0x12c)](_0x4a59eb,0x2);}}const _0x1df992={[_0xd4a250]:_0x287fd0[_0x52f5ac(0x157)],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x12daf0,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x52f5ac(0x1c8)]!==_0x51b168?this[_0x52f5ac(0x16c)]([this[_0x52f5ac(0x10f)],_0x287fd0,!0x1,_0x1df992,_0x8a61d0]):this[_0x52f5ac(0x19c)](_0x2480e5[_0x52f5ac(0x260)](_0x287fd0,_0x1df992),_0x8a61d0);}[_0xbf3826(0x26c)](_0x2b3eab,_0x878a97,_0x4b3df6){const _0x7c02ae=_0xbf3826;let _0x3dba13,_0x1cbcba;if(typeof _0x2b3eab=='string'?(_0x3dba13=Buffer[_0x7c02ae(0x1cb)](_0x2b3eab),_0x1cbcba=!0x1):_0x4a5277(_0x2b3eab)?(_0x3dba13=_0x2b3eab[_0x7c02ae(0x1f8)],_0x1cbcba=!0x1):(_0x2b3eab=_0x334af8(_0x2b3eab),_0x3dba13=_0x2b3eab[_0x7c02ae(0x157)],_0x1cbcba=_0x334af8[_0x7c02ae(0xe0)]),_0x3dba13>0x7d)throw new RangeError(_0x7c02ae(0x168));const _0x5d1f40={[_0xd4a250]:_0x3dba13,'fin':!0x0,'generateMask':this[_0x7c02ae(0x219)],'mask':_0x878a97,'maskBuffer':this['_maskBuffer'],'opcode':0x9,'readOnly':_0x1cbcba,'rsv1':!0x1};_0x4a5277(_0x2b3eab)?this[_0x7c02ae(0x1c8)]!==_0x51b168?this[_0x7c02ae(0x16c)]([this['getBlobData'],_0x2b3eab,!0x1,_0x5d1f40,_0x4b3df6]):this[_0x7c02ae(0x21a)](_0x2b3eab,!0x1,_0x5d1f40,_0x4b3df6):this[_0x7c02ae(0x1c8)]!==_0x51b168?this[_0x7c02ae(0x16c)]([this[_0x7c02ae(0x10f)],_0x2b3eab,!0x1,_0x5d1f40,_0x4b3df6]):this['sendFrame'](_0x2480e5['frame'](_0x2b3eab,_0x5d1f40),_0x4b3df6);}[_0xbf3826(0x240)](_0x4287f0,_0x3108b5,_0x533fc6){const _0x5601b0=_0xbf3826;let _0x42d077,_0x2f1d4e;if(typeof _0x4287f0==_0x5601b0(0x25f)?(_0x42d077=Buffer[_0x5601b0(0x1cb)](_0x4287f0),_0x2f1d4e=!0x1):_0x4a5277(_0x4287f0)?(_0x42d077=_0x4287f0[_0x5601b0(0x1f8)],_0x2f1d4e=!0x1):(_0x4287f0=_0x334af8(_0x4287f0),_0x42d077=_0x4287f0[_0x5601b0(0x157)],_0x2f1d4e=_0x334af8[_0x5601b0(0xe0)]),_0x42d077>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x853020={[_0xd4a250]:_0x42d077,'fin':!0x0,'generateMask':this[_0x5601b0(0x219)],'mask':_0x3108b5,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x2f1d4e,'rsv1':!0x1};_0x4a5277(_0x4287f0)?this[_0x5601b0(0x1c8)]!==_0x51b168?this['enqueue']([this[_0x5601b0(0x21a)],_0x4287f0,!0x1,_0x853020,_0x533fc6]):this[_0x5601b0(0x21a)](_0x4287f0,!0x1,_0x853020,_0x533fc6):this['_state']!==_0x51b168?this[_0x5601b0(0x16c)]([this[_0x5601b0(0x10f)],_0x4287f0,!0x1,_0x853020,_0x533fc6]):this[_0x5601b0(0x19c)](_0x2480e5[_0x5601b0(0x260)](_0x4287f0,_0x853020),_0x533fc6);}['send'](_0x54dd5e,_0x412092,_0x35c316){const _0x249767=_0xbf3826,_0x52733a=this[_0x249767(0xf2)][_0x4883d6[_0x249767(0x155)]];let _0x569ccb=_0x412092[_0x249767(0x160)]?0x2:0x1,_0x451da3=_0x412092[_0x249767(0x149)],_0x466008,_0x10715b;typeof _0x54dd5e==_0x249767(0x25f)?(_0x466008=Buffer[_0x249767(0x1cb)](_0x54dd5e),_0x10715b=!0x1):_0x4a5277(_0x54dd5e)?(_0x466008=_0x54dd5e[_0x249767(0x1f8)],_0x10715b=!0x1):(_0x54dd5e=_0x334af8(_0x54dd5e),_0x466008=_0x54dd5e[_0x249767(0x157)],_0x10715b=_0x334af8[_0x249767(0xe0)]),this[_0x249767(0x22e)]?(this['_firstFragment']=!0x1,_0x451da3&&_0x52733a&&_0x52733a[_0x249767(0x184)][_0x52733a['_isServer']?'server_no_context_takeover':'client_no_context_takeover']&&(_0x451da3=_0x466008>=_0x52733a['_threshold']),this[_0x249767(0x258)]=_0x451da3):(_0x451da3=!0x1,_0x569ccb=0x0),_0x412092[_0x249767(0x150)]&&(this[_0x249767(0x22e)]=!0x0);const _0x5dcda1={[_0xd4a250]:_0x466008,'fin':_0x412092[_0x249767(0x150)],'generateMask':this[_0x249767(0x219)],'mask':_0x412092[_0x249767(0x1a6)],'maskBuffer':this[_0x249767(0x231)],'opcode':_0x569ccb,'readOnly':_0x10715b,'rsv1':_0x451da3};_0x4a5277(_0x54dd5e)?this['_state']!==_0x51b168?this[_0x249767(0x16c)]([this[_0x249767(0x21a)],_0x54dd5e,this[_0x249767(0x258)],_0x5dcda1,_0x35c316]):this['getBlobData'](_0x54dd5e,this['_compress'],_0x5dcda1,_0x35c316):this[_0x249767(0x1c8)]!==_0x51b168?this[_0x249767(0x16c)]([this['dispatch'],_0x54dd5e,this[_0x249767(0x258)],_0x5dcda1,_0x35c316]):this[_0x249767(0x10f)](_0x54dd5e,this[_0x249767(0x258)],_0x5dcda1,_0x35c316);}['getBlobData'](_0xbb7790,_0x23a28c,_0xbafce1,_0xbb0379){const _0x7cda3d=_0xbf3826;this[_0x7cda3d(0x1aa)]+=_0xbafce1[_0xd4a250],this[_0x7cda3d(0x1c8)]=_0x5984d5,_0xbb7790[_0x7cda3d(0x187)]()[_0x7cda3d(0x10b)](_0x58683d=>{const _0x26e774=_0x7cda3d;if(this[_0x26e774(0x203)][_0x26e774(0x1d4)]){const _0x44ed6d=new Error(_0x26e774(0x131));process[_0x26e774(0x1be)](_0x5ae845,this,_0x44ed6d,_0xbb0379);return;}this['_bufferedBytes']-=_0xbafce1[_0xd4a250];const _0x25f94f=_0x334af8(_0x58683d);_0x23a28c?this[_0x26e774(0x10f)](_0x25f94f,_0x23a28c,_0xbafce1,_0xbb0379):(this[_0x26e774(0x1c8)]=_0x51b168,this[_0x26e774(0x19c)](_0x2480e5[_0x26e774(0x260)](_0x25f94f,_0xbafce1),_0xbb0379),this[_0x26e774(0x172)]());})[_0x7cda3d(0x246)](_0x43badb=>{const _0x3e3909=_0x7cda3d;process[_0x3e3909(0x1be)](_0x38884b,this,_0x43badb,_0xbb0379);});}[_0xbf3826(0x10f)](_0x1a3647,_0x4c3db1,_0x279438,_0x2a0766){const _0x4c4b76=_0xbf3826;if(!_0x4c3db1){this[_0x4c4b76(0x19c)](_0x2480e5[_0x4c4b76(0x260)](_0x1a3647,_0x279438),_0x2a0766);return;}const _0x2d366a=this[_0x4c4b76(0xf2)][_0x4883d6[_0x4c4b76(0x155)]];this[_0x4c4b76(0x1aa)]+=_0x279438[_0xd4a250],this['_state']=_0xd103e6,_0x2d366a['compress'](_0x1a3647,_0x279438['fin'],(_0x2173e9,_0x1aad52)=>{const _0x16706c=_0x4c4b76;if(this[_0x16706c(0x203)][_0x16706c(0x1d4)]){const _0x71bbad=new Error(_0x16706c(0x17c));_0x5ae845(this,_0x71bbad,_0x2a0766);return;}this[_0x16706c(0x1aa)]-=_0x279438[_0xd4a250],this[_0x16706c(0x1c8)]=_0x51b168,_0x279438['readOnly']=!0x1,this[_0x16706c(0x19c)](_0x2480e5[_0x16706c(0x260)](_0x1aad52,_0x279438),_0x2a0766),this[_0x16706c(0x172)]();});}[_0xbf3826(0x172)](){const _0xd9ffe7=_0xbf3826;for(;this[_0xd9ffe7(0x1c8)]===_0x51b168&&this[_0xd9ffe7(0x13e)][_0xd9ffe7(0x157)];){const _0x5269eb=this['_queue'][_0xd9ffe7(0x24a)]();this[_0xd9ffe7(0x1aa)]-=_0x5269eb[0x3][_0xd4a250],Reflect[_0xd9ffe7(0x1d5)](_0x5269eb[0x0],this,_0x5269eb[_0xd9ffe7(0x16f)](0x1));}}[_0xbf3826(0x16c)](_0x331439){const _0x58f3f1=_0xbf3826;this[_0x58f3f1(0x1aa)]+=_0x331439[0x3][_0xd4a250],this[_0x58f3f1(0x13e)][_0x58f3f1(0x1e7)](_0x331439);}[_0xbf3826(0x19c)](_0x3d6c55,_0x4e361e){const _0x1efae1=_0xbf3826;_0x3d6c55[_0x1efae1(0x157)]===0x2?(this[_0x1efae1(0x203)][_0x1efae1(0x22b)](),this['_socket'][_0x1efae1(0xff)](_0x3d6c55[0x0]),this[_0x1efae1(0x203)]['write'](_0x3d6c55[0x1],_0x4e361e),this[_0x1efae1(0x203)]['uncork']()):this[_0x1efae1(0x203)]['write'](_0x3d6c55[0x0],_0x4e361e);}}Ee=_0x2480e5;function _0x5ae845(_0x56b0af,_0x419227,_0x30eb19){const _0x59a90d=_0xbf3826;typeof _0x30eb19==_0x59a90d(0x1ec)&&_0x30eb19(_0x419227);for(let _0xd5549f=0x0;_0xd5549f<_0x56b0af['_queue'][_0x59a90d(0x157)];_0xd5549f++){const _0x37106b=_0x56b0af['_queue'][_0xd5549f],_0x49214f=_0x37106b[_0x37106b[_0x59a90d(0x157)]-0x1];typeof _0x49214f==_0x59a90d(0x1ec)&&_0x49214f(_0x419227);}}function _0x38884b(_0x1a44bb,_0x308d13,_0x2635ee){const _0x44b262=_0xbf3826;_0x5ae845(_0x1a44bb,_0x308d13,_0x2635ee),_0x1a44bb[_0x44b262(0x132)](_0x308d13);}return Ee;}var xe,tt;function Kt(){const _0x1abf76=_0x4638d0;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x492f5c,kListener:_0x42daee}=V(),_0x17d72b=Symbol('kCode'),_0x4a0f12=Symbol(_0x1abf76(0x1a2)),_0x4cefd9=Symbol('kError'),_0x5e9982=Symbol(_0x1abf76(0xed)),_0x1a5af3=Symbol('kReason'),_0x2ca629=Symbol(_0x1abf76(0x253)),_0x1f182a=Symbol('kType'),_0xf92cb3=Symbol(_0x1abf76(0x1d2));class _0x14452c{constructor(_0x94b79f){this[_0x2ca629]=null,this[_0x1f182a]=_0x94b79f;}get[_0x1abf76(0x22d)](){return this[_0x2ca629];}get[_0x1abf76(0x1cd)](){return this[_0x1f182a];}}Object[_0x1abf76(0x202)](_0x14452c['prototype'],_0x1abf76(0x22d),{'enumerable':!0x0}),Object['defineProperty'](_0x14452c[_0x1abf76(0x210)],_0x1abf76(0x1cd),{'enumerable':!0x0});class _0x8d4de4 extends _0x14452c{constructor(_0x5ef8ac,_0x319f22={}){const _0x4b554e=_0x1abf76;super(_0x5ef8ac),this[_0x17d72b]=_0x319f22[_0x4b554e(0xf8)]===void 0x0?0x0:_0x319f22[_0x4b554e(0xf8)],this[_0x1a5af3]=_0x319f22[_0x4b554e(0x1b3)]===void 0x0?'':_0x319f22[_0x4b554e(0x1b3)],this[_0xf92cb3]=_0x319f22[_0x4b554e(0x101)]===void 0x0?!0x1:_0x319f22[_0x4b554e(0x101)];}get[_0x1abf76(0xf8)](){return this[_0x17d72b];}get[_0x1abf76(0x1b3)](){return this[_0x1a5af3];}get[_0x1abf76(0x101)](){return this[_0xf92cb3];}}Object[_0x1abf76(0x202)](_0x8d4de4[_0x1abf76(0x210)],_0x1abf76(0xf8),{'enumerable':!0x0}),Object['defineProperty'](_0x8d4de4[_0x1abf76(0x210)],_0x1abf76(0x1b3),{'enumerable':!0x0}),Object['defineProperty'](_0x8d4de4[_0x1abf76(0x210)],'wasClean',{'enumerable':!0x0});class _0x1a2517 extends _0x14452c{constructor(_0xf554bb,_0x385b48={}){const _0x2a8f88=_0x1abf76;super(_0xf554bb),this[_0x4cefd9]=_0x385b48[_0x2a8f88(0x1fb)]===void 0x0?null:_0x385b48[_0x2a8f88(0x1fb)],this[_0x5e9982]=_0x385b48[_0x2a8f88(0x1b5)]===void 0x0?'':_0x385b48[_0x2a8f88(0x1b5)];}get['error'](){return this[_0x4cefd9];}get[_0x1abf76(0x1b5)](){return this[_0x5e9982];}}Object['defineProperty'](_0x1a2517[_0x1abf76(0x210)],'error',{'enumerable':!0x0}),Object[_0x1abf76(0x202)](_0x1a2517['prototype'],_0x1abf76(0x1b5),{'enumerable':!0x0});class _0x3fed1f extends _0x14452c{constructor(_0x5ea15e,_0x35e11f={}){const _0x50662f=_0x1abf76;super(_0x5ea15e),this[_0x4a0f12]=_0x35e11f[_0x50662f(0x142)]===void 0x0?null:_0x35e11f['data'];}get[_0x1abf76(0x142)](){return this[_0x4a0f12];}}Object[_0x1abf76(0x202)](_0x3fed1f[_0x1abf76(0x210)],'data',{'enumerable':!0x0}),xe={'CloseEvent':_0x8d4de4,'ErrorEvent':_0x1a2517,'Event':_0x14452c,'EventTarget':{'addEventListener'(_0x35ded8,_0xbf0861,_0x569496={}){const _0x342468=_0x1abf76;for(const _0x50e563 of this[_0x342468(0x106)](_0x35ded8))if(!_0x569496[_0x492f5c]&&_0x50e563[_0x42daee]===_0xbf0861&&!_0x50e563[_0x492f5c])return;let _0x14cd5e;if(_0x35ded8==='message')_0x14cd5e=function(_0x59928a,_0x3d72de){const _0x1d52ed=_0x342468,_0x354ec6=new _0x3fed1f(_0x1d52ed(0x1b5),{'data':_0x3d72de?_0x59928a:_0x59928a[_0x1d52ed(0x1f1)]()});_0x354ec6[_0x2ca629]=this,_0x4f19e1(_0xbf0861,this,_0x354ec6);};else{if(_0x35ded8===_0x342468(0x178))_0x14cd5e=function(_0x2f946c,_0x355185){const _0x197846=_0x342468,_0x163160=new _0x8d4de4(_0x197846(0x178),{'code':_0x2f946c,'reason':_0x355185['toString'](),'wasClean':this[_0x197846(0x24e)]&&this['_closeFrameSent']});_0x163160[_0x2ca629]=this,_0x4f19e1(_0xbf0861,this,_0x163160);};else{if(_0x35ded8==='error')_0x14cd5e=function(_0x41fb4d){const _0x46d3a1=_0x342468,_0x318bfc=new _0x1a2517('error',{'error':_0x41fb4d,'message':_0x41fb4d[_0x46d3a1(0x1b5)]});_0x318bfc[_0x2ca629]=this,_0x4f19e1(_0xbf0861,this,_0x318bfc);};else{if(_0x35ded8===_0x342468(0x146))_0x14cd5e=function(){const _0x45c402=_0x342468,_0x38e0fc=new _0x14452c(_0x45c402(0x146));_0x38e0fc[_0x2ca629]=this,_0x4f19e1(_0xbf0861,this,_0x38e0fc);};else return;}}}_0x14cd5e[_0x492f5c]=!!_0x569496[_0x492f5c],_0x14cd5e[_0x42daee]=_0xbf0861,_0x569496['once']?this[_0x342468(0x19a)](_0x35ded8,_0x14cd5e):this['on'](_0x35ded8,_0x14cd5e);},'removeEventListener'(_0x29b696,_0x4bb884){const _0x22c2d9=_0x1abf76;for(const _0x281c01 of this[_0x22c2d9(0x106)](_0x29b696))if(_0x281c01[_0x42daee]===_0x4bb884&&!_0x281c01[_0x492f5c]){this[_0x22c2d9(0x11d)](_0x29b696,_0x281c01);break;}}},'MessageEvent':_0x3fed1f};function _0x4f19e1(_0x34cbcc,_0x8fc951,_0xb81eac){const _0x26ae30=_0x1abf76;typeof _0x34cbcc==_0x26ae30(0x1af)&&_0x34cbcc[_0x26ae30(0x1f3)]?_0x34cbcc[_0x26ae30(0x1f3)]['call'](_0x34cbcc,_0xb81eac):_0x34cbcc[_0x26ae30(0x15d)](_0x8fc951,_0xb81eac);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x26e664}=ne();function _0x4941f7(_0x4e2eba,_0x36cf71,_0x49bc13){const _0x64dbcf=_0x4f97;_0x4e2eba[_0x36cf71]===void 0x0?_0x4e2eba[_0x36cf71]=[_0x49bc13]:_0x4e2eba[_0x36cf71][_0x64dbcf(0x1e7)](_0x49bc13);}function _0x1b05d9(_0x17abd0){const _0x5a6d72=_0x4f97,_0x3f2fc4=Object[_0x5a6d72(0x26e)](null);let _0x113a86=Object[_0x5a6d72(0x26e)](null),_0x82513c=!0x1,_0x4babc7=!0x1,_0x540a13=!0x1,_0x5cb12f,_0xef9bb8,_0x285709=-0x1,_0xb2c231=-0x1,_0x539625=-0x1,_0xad2d71=0x0;for(;_0xad2d71<_0x17abd0['length'];_0xad2d71++)if(_0xb2c231=_0x17abd0['charCodeAt'](_0xad2d71),_0x5cb12f===void 0x0){if(_0x539625===-0x1&&_0x26e664[_0xb2c231]===0x1)_0x285709===-0x1&&(_0x285709=_0xad2d71);else{if(_0xad2d71!==0x0&&(_0xb2c231===0x20||_0xb2c231===0x9))_0x539625===-0x1&&_0x285709!==-0x1&&(_0x539625=_0xad2d71);else{if(_0xb2c231===0x3b||_0xb2c231===0x2c){if(_0x285709===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0xad2d71);_0x539625===-0x1&&(_0x539625=_0xad2d71);const _0x2db2fe=_0x17abd0[_0x5a6d72(0x16f)](_0x285709,_0x539625);_0xb2c231===0x2c?(_0x4941f7(_0x3f2fc4,_0x2db2fe,_0x113a86),_0x113a86=Object[_0x5a6d72(0x26e)](null)):_0x5cb12f=_0x2db2fe,_0x285709=_0x539625=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0xad2d71);}}}else{if(_0xef9bb8===void 0x0){if(_0x539625===-0x1&&_0x26e664[_0xb2c231]===0x1)_0x285709===-0x1&&(_0x285709=_0xad2d71);else{if(_0xb2c231===0x20||_0xb2c231===0x9)_0x539625===-0x1&&_0x285709!==-0x1&&(_0x539625=_0xad2d71);else{if(_0xb2c231===0x3b||_0xb2c231===0x2c){if(_0x285709===-0x1)throw new SyntaxError(_0x5a6d72(0x1fa)+_0xad2d71);_0x539625===-0x1&&(_0x539625=_0xad2d71),_0x4941f7(_0x113a86,_0x17abd0[_0x5a6d72(0x16f)](_0x285709,_0x539625),!0x0),_0xb2c231===0x2c&&(_0x4941f7(_0x3f2fc4,_0x5cb12f,_0x113a86),_0x113a86=Object[_0x5a6d72(0x26e)](null),_0x5cb12f=void 0x0),_0x285709=_0x539625=-0x1;}else{if(_0xb2c231===0x3d&&_0x285709!==-0x1&&_0x539625===-0x1)_0xef9bb8=_0x17abd0[_0x5a6d72(0x16f)](_0x285709,_0xad2d71),_0x285709=_0x539625=-0x1;else throw new SyntaxError(_0x5a6d72(0x1fa)+_0xad2d71);}}}}else{if(_0x4babc7){if(_0x26e664[_0xb2c231]!==0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0xad2d71);_0x285709===-0x1?_0x285709=_0xad2d71:_0x82513c||(_0x82513c=!0x0),_0x4babc7=!0x1;}else{if(_0x540a13){if(_0x26e664[_0xb2c231]===0x1)_0x285709===-0x1&&(_0x285709=_0xad2d71);else{if(_0xb2c231===0x22&&_0x285709!==-0x1)_0x540a13=!0x1,_0x539625=_0xad2d71;else{if(_0xb2c231===0x5c)_0x4babc7=!0x0;else throw new SyntaxError(_0x5a6d72(0x1fa)+_0xad2d71);}}}else{if(_0xb2c231===0x22&&_0x17abd0[_0x5a6d72(0x112)](_0xad2d71-0x1)===0x3d)_0x540a13=!0x0;else{if(_0x539625===-0x1&&_0x26e664[_0xb2c231]===0x1)_0x285709===-0x1&&(_0x285709=_0xad2d71);else{if(_0x285709!==-0x1&&(_0xb2c231===0x20||_0xb2c231===0x9))_0x539625===-0x1&&(_0x539625=_0xad2d71);else{if(_0xb2c231===0x3b||_0xb2c231===0x2c){if(_0x285709===-0x1)throw new SyntaxError(_0x5a6d72(0x1fa)+_0xad2d71);_0x539625===-0x1&&(_0x539625=_0xad2d71);let _0x52f056=_0x17abd0[_0x5a6d72(0x16f)](_0x285709,_0x539625);_0x82513c&&(_0x52f056=_0x52f056[_0x5a6d72(0x145)](/\\/g,''),_0x82513c=!0x1),_0x4941f7(_0x113a86,_0xef9bb8,_0x52f056),_0xb2c231===0x2c&&(_0x4941f7(_0x3f2fc4,_0x5cb12f,_0x113a86),_0x113a86=Object['create'](null),_0x5cb12f=void 0x0),_0xef9bb8=void 0x0,_0x285709=_0x539625=-0x1;}else throw new SyntaxError(_0x5a6d72(0x1fa)+_0xad2d71);}}}}}}}if(_0x285709===-0x1||_0x540a13||_0xb2c231===0x20||_0xb2c231===0x9)throw new SyntaxError(_0x5a6d72(0x153));_0x539625===-0x1&&(_0x539625=_0xad2d71);const _0x15377c=_0x17abd0[_0x5a6d72(0x16f)](_0x285709,_0x539625);return _0x5cb12f===void 0x0?_0x4941f7(_0x3f2fc4,_0x15377c,_0x113a86):(_0xef9bb8===void 0x0?_0x4941f7(_0x113a86,_0x15377c,!0x0):_0x82513c?_0x4941f7(_0x113a86,_0xef9bb8,_0x15377c['replace'](/\\/g,'')):_0x4941f7(_0x113a86,_0xef9bb8,_0x15377c),_0x4941f7(_0x3f2fc4,_0x5cb12f,_0x113a86)),_0x3f2fc4;}function _0x44718d(_0x53cfda){const _0x4a68a8=_0x4f97;return Object[_0x4a68a8(0x15a)](_0x53cfda)[_0x4a68a8(0x21e)](_0x436d8a=>{const _0x377334=_0x4a68a8;let _0x58d217=_0x53cfda[_0x436d8a];return Array[_0x377334(0xdd)](_0x58d217)||(_0x58d217=[_0x58d217]),_0x58d217[_0x377334(0x21e)](_0x49b73e=>[_0x436d8a][_0x377334(0x215)](Object['keys'](_0x49b73e)[_0x377334(0x21e)](_0x4a65a5=>{const _0x5aa812=_0x377334;let _0x3c4125=_0x49b73e[_0x4a65a5];return Array['isArray'](_0x3c4125)||(_0x3c4125=[_0x3c4125]),_0x3c4125[_0x5aa812(0x21e)](_0x30e219=>_0x30e219===!0x0?_0x4a65a5:_0x4a65a5+'='+_0x30e219)[_0x5aa812(0xd4)](';\x20');}))[_0x377334(0xd4)](';\x20'))[_0x377334(0xd4)](',\x20');})[_0x4a68a8(0xd4)](',\x20');}return be={'format':_0x44718d,'parse':_0x1b05d9},be;}var we,st;function Ie(){const _0x387005=_0x4638d0;if(st)return we;st=0x1;const _0x3dbb8=_0x11fb4c,_0x3a213a=_0x11e2bf,_0x2f0dfd=_0x15900a,_0xedbd=_0x1d930d,_0x30c066=_0x4d278b,{randomBytes:_0xcd1295,createHash:_0x346617}=_0x5572b2,{Duplex:_0xf21474,Readable:_0x4a2def}=_0x1595d9,{URL:_0x5775a2}=_0x1e6f5d,_0x1f1692=he(),_0x2195c6=dt(),_0x4bad27=_t(),{isBlob:_0x21a7ee}=ne(),{BINARY_TYPES:_0x3d5674,EMPTY_BUFFER:_0x41c9e1,GUID:_0x4a2a45,kForOnEventAttribute:_0x122c18,kListener:_0x279963,kStatusCode:_0x2047fc,kWebSocket:_0x2f2d3a,NOOP:_0x3460a6}=V(),{EventTarget:{addEventListener:_0x5b5506,removeEventListener:_0x44bbfe}}=Kt(),{format:_0x3668fe,parse:_0x598e46}=pt(),{toBuffer:_0x4ef00f}=ce(),_0xb3025b=0x1e*0x3e8,_0x4ecc06=Symbol(_0x387005(0x159)),_0x56ccee=[0x8,0xd],_0x13faf2=[_0x387005(0x234),'OPEN',_0x387005(0x10c),'CLOSED'],_0x5d10a1=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x47c1da extends _0x3dbb8{constructor(_0x2ee0b4,_0x18cfa2,_0x5cfadb){const _0x21363b=_0x387005;super(),this[_0x21363b(0x259)]=_0x3d5674[0x0],this[_0x21363b(0x19e)]=0x3ee,this[_0x21363b(0x24e)]=!0x1,this['_closeFrameSent']=!0x1,this[_0x21363b(0x11e)]=_0x41c9e1,this[_0x21363b(0x164)]=null,this[_0x21363b(0x154)]=!0x1,this['_extensions']={},this['_paused']=!0x1,this[_0x21363b(0x109)]='',this[_0x21363b(0x12d)]=_0x47c1da['CONNECTING'],this[_0x21363b(0x278)]=null,this[_0x21363b(0x163)]=null,this[_0x21363b(0x203)]=null,_0x2ee0b4!==null?(this[_0x21363b(0x25e)]=0x0,this[_0x21363b(0x118)]=!0x1,this[_0x21363b(0x24d)]=0x0,_0x18cfa2===void 0x0?_0x18cfa2=[]:Array[_0x21363b(0xdd)](_0x18cfa2)||(typeof _0x18cfa2==_0x21363b(0x1af)&&_0x18cfa2!==null?(_0x5cfadb=_0x18cfa2,_0x18cfa2=[]):_0x18cfa2=[_0x18cfa2]),_0x5f1cf3(this,_0x2ee0b4,_0x18cfa2,_0x5cfadb)):(this[_0x21363b(0x128)]=_0x5cfadb['autoPong'],this[_0x21363b(0x118)]=!0x0);}get['binaryType'](){const _0x6cfc34=_0x387005;return this[_0x6cfc34(0x259)];}set[_0x387005(0x190)](_0x40da2b){const _0x18788b=_0x387005;_0x3d5674[_0x18788b(0x27b)](_0x40da2b)&&(this[_0x18788b(0x259)]=_0x40da2b,this[_0x18788b(0x278)]&&(this[_0x18788b(0x278)][_0x18788b(0x259)]=_0x40da2b));}get[_0x387005(0x1f7)](){const _0x6517e0=_0x387005;return this[_0x6517e0(0x203)]?this[_0x6517e0(0x203)][_0x6517e0(0xdc)]['length']+this[_0x6517e0(0x163)]['_bufferedBytes']:this[_0x6517e0(0x25e)];}get[_0x387005(0x17d)](){const _0xaf304c=_0x387005;return Object['keys'](this['_extensions'])[_0xaf304c(0xd4)]();}get[_0x387005(0x125)](){const _0x8fae43=_0x387005;return this[_0x8fae43(0x102)];}get[_0x387005(0x124)](){return null;}get[_0x387005(0x132)](){return null;}get[_0x387005(0x12f)](){return null;}get[_0x387005(0x1b8)](){return null;}get[_0x387005(0x1e2)](){const _0x432044=_0x387005;return this[_0x432044(0x109)];}get[_0x387005(0x271)](){const _0x4c6385=_0x387005;return this[_0x4c6385(0x12d)];}get['url'](){const _0x25d6f3=_0x387005;return this[_0x25d6f3(0x25d)];}[_0x387005(0x169)](_0x595711,_0x87adbc,_0x20ff6a){const _0x571b68=_0x387005,_0x32a177=new _0x2195c6({'allowSynchronousEvents':_0x20ff6a[_0x571b68(0x26b)],'binaryType':this[_0x571b68(0x190)],'extensions':this[_0x571b68(0xf2)],'isServer':this['_isServer'],'maxPayload':_0x20ff6a[_0x571b68(0x1a0)],'skipUTF8Validation':_0x20ff6a[_0x571b68(0x188)]}),_0xc14f15=new _0x4bad27(_0x595711,this[_0x571b68(0xf2)],_0x20ff6a['generateMask']);this['_receiver']=_0x32a177,this[_0x571b68(0x163)]=_0xc14f15,this[_0x571b68(0x203)]=_0x595711,_0x32a177[_0x2f2d3a]=this,_0xc14f15[_0x2f2d3a]=this,_0x595711[_0x2f2d3a]=this,_0x32a177['on'](_0x571b68(0x130),_0x399114),_0x32a177['on']('drain',_0x1cd710),_0x32a177['on'](_0x571b68(0x1fb),_0x126d2a),_0x32a177['on'](_0x571b68(0x1b5),_0x375d42),_0x32a177['on']('ping',_0x31f91f),_0x32a177['on'](_0x571b68(0x240),_0x581120),_0xc14f15[_0x571b68(0x132)]=_0x247a4d,_0x595711['setTimeout']&&_0x595711[_0x571b68(0x165)](0x0),_0x595711[_0x571b68(0xe3)]&&_0x595711['setNoDelay'](),_0x87adbc['length']>0x0&&_0x595711[_0x571b68(0x280)](_0x87adbc),_0x595711['on']('close',_0x54f41f),_0x595711['on'](_0x571b68(0x142),_0x3dce4f),_0x595711['on'](_0x571b68(0x20d),_0x30b30b),_0x595711['on'](_0x571b68(0x1fb),_0xbfa5a7),this[_0x571b68(0x12d)]=_0x47c1da[_0x571b68(0x21f)],this[_0x571b68(0x1dc)]('open');}[_0x387005(0x261)](){const _0x2c97b5=_0x387005;if(!this[_0x2c97b5(0x203)]){this[_0x2c97b5(0x12d)]=_0x47c1da[_0x2c97b5(0x196)],this['emit'](_0x2c97b5(0x178),this[_0x2c97b5(0x19e)],this[_0x2c97b5(0x11e)]);return;}this['_extensions'][_0x1f1692[_0x2c97b5(0x155)]]&&this[_0x2c97b5(0xf2)][_0x1f1692[_0x2c97b5(0x155)]][_0x2c97b5(0x11b)](),this['_receiver']['removeAllListeners'](),this[_0x2c97b5(0x12d)]=_0x47c1da['CLOSED'],this[_0x2c97b5(0x1dc)](_0x2c97b5(0x178),this['_closeCode'],this['_closeMessage']);}['close'](_0x42de4f,_0x1d0ce7){const _0x385b0b=_0x387005;if(this[_0x385b0b(0x271)]!==_0x47c1da[_0x385b0b(0x196)]){if(this[_0x385b0b(0x271)]===_0x47c1da['CONNECTING']){_0x19c11d(this,this[_0x385b0b(0x225)],_0x385b0b(0x266));return;}if(this[_0x385b0b(0x271)]===_0x47c1da[_0x385b0b(0x10c)]){this[_0x385b0b(0x25b)]&&(this['_closeFrameReceived']||this[_0x385b0b(0x278)]['_writableState'][_0x385b0b(0x228)])&&this['_socket']['end']();return;}this['_readyState']=_0x47c1da[_0x385b0b(0x10c)],this[_0x385b0b(0x163)]['close'](_0x42de4f,_0x1d0ce7,!this[_0x385b0b(0x118)],_0x197a05=>{const _0x12c7d6=_0x385b0b;_0x197a05||(this[_0x12c7d6(0x25b)]=!0x0,(this[_0x12c7d6(0x24e)]||this[_0x12c7d6(0x278)][_0x12c7d6(0xdc)][_0x12c7d6(0x228)])&&this[_0x12c7d6(0x203)][_0x12c7d6(0x20d)]());}),_0x480bd4(this);}}[_0x387005(0x23f)](){const _0x15473c=_0x387005;this[_0x15473c(0x271)]===_0x47c1da[_0x15473c(0x234)]||this[_0x15473c(0x271)]===_0x47c1da[_0x15473c(0x196)]||(this[_0x15473c(0x102)]=!0x0,this[_0x15473c(0x203)][_0x15473c(0x23f)]());}[_0x387005(0x26c)](_0x44529b,_0x20104a,_0x389036){const _0x3eac4b=_0x387005;if(this[_0x3eac4b(0x271)]===_0x47c1da[_0x3eac4b(0x234)])throw new Error(_0x3eac4b(0x263));if(typeof _0x44529b=='function'?(_0x389036=_0x44529b,_0x44529b=_0x20104a=void 0x0):typeof _0x20104a==_0x3eac4b(0x1ec)&&(_0x389036=_0x20104a,_0x20104a=void 0x0),typeof _0x44529b==_0x3eac4b(0xd7)&&(_0x44529b=_0x44529b[_0x3eac4b(0x1f1)]()),this[_0x3eac4b(0x271)]!==_0x47c1da['OPEN']){_0x4191d9(this,_0x44529b,_0x389036);return;}_0x20104a===void 0x0&&(_0x20104a=!this[_0x3eac4b(0x118)]),this[_0x3eac4b(0x163)][_0x3eac4b(0x26c)](_0x44529b||_0x41c9e1,_0x20104a,_0x389036);}[_0x387005(0x240)](_0x3d7e41,_0x4299fb,_0x2e1146){const _0x467382=_0x387005;if(this[_0x467382(0x271)]===_0x47c1da['CONNECTING'])throw new Error(_0x467382(0x263));if(typeof _0x3d7e41=='function'?(_0x2e1146=_0x3d7e41,_0x3d7e41=_0x4299fb=void 0x0):typeof _0x4299fb==_0x467382(0x1ec)&&(_0x2e1146=_0x4299fb,_0x4299fb=void 0x0),typeof _0x3d7e41==_0x467382(0xd7)&&(_0x3d7e41=_0x3d7e41[_0x467382(0x1f1)]()),this[_0x467382(0x271)]!==_0x47c1da[_0x467382(0x21f)]){_0x4191d9(this,_0x3d7e41,_0x2e1146);return;}_0x4299fb===void 0x0&&(_0x4299fb=!this[_0x467382(0x118)]),this[_0x467382(0x163)]['pong'](_0x3d7e41||_0x41c9e1,_0x4299fb,_0x2e1146);}[_0x387005(0x1e4)](){const _0x1b96a5=_0x387005;this[_0x1b96a5(0x271)]===_0x47c1da[_0x1b96a5(0x234)]||this['readyState']===_0x47c1da['CLOSED']||(this[_0x1b96a5(0x102)]=!0x1,this[_0x1b96a5(0x278)][_0x1b96a5(0xdc)]['needDrain']||this['_socket']['resume']());}[_0x387005(0x1ed)](_0x1db116,_0x240d01,_0x4bee48){const _0x45aa32=_0x387005;if(this[_0x45aa32(0x271)]===_0x47c1da[_0x45aa32(0x234)])throw new Error(_0x45aa32(0x263));if(typeof _0x240d01==_0x45aa32(0x1ec)&&(_0x4bee48=_0x240d01,_0x240d01={}),typeof _0x1db116==_0x45aa32(0xd7)&&(_0x1db116=_0x1db116['toString']()),this[_0x45aa32(0x271)]!==_0x47c1da[_0x45aa32(0x21f)]){_0x4191d9(this,_0x1db116,_0x4bee48);return;}const _0x19baa7={'binary':typeof _0x1db116!=_0x45aa32(0x25f),'mask':!this[_0x45aa32(0x118)],'compress':!0x0,'fin':!0x0,..._0x240d01};this[_0x45aa32(0xf2)][_0x1f1692['extensionName']]||(_0x19baa7[_0x45aa32(0x149)]=!0x1),this[_0x45aa32(0x163)][_0x45aa32(0x1ed)](_0x1db116||_0x41c9e1,_0x19baa7,_0x4bee48);}[_0x387005(0x1ad)](){const _0x2711fe=_0x387005;if(this[_0x2711fe(0x271)]!==_0x47c1da[_0x2711fe(0x196)]){if(this[_0x2711fe(0x271)]===_0x47c1da[_0x2711fe(0x234)]){_0x19c11d(this,this['_req'],_0x2711fe(0x266));return;}this[_0x2711fe(0x203)]&&(this[_0x2711fe(0x12d)]=_0x47c1da[_0x2711fe(0x10c)],this[_0x2711fe(0x203)]['destroy']());}}}Object[_0x387005(0x202)](_0x47c1da,_0x387005(0x234),{'enumerable':!0x0,'value':_0x13faf2[_0x387005(0xe7)]('CONNECTING')}),Object[_0x387005(0x202)](_0x47c1da[_0x387005(0x210)],_0x387005(0x234),{'enumerable':!0x0,'value':_0x13faf2[_0x387005(0xe7)](_0x387005(0x234))}),Object[_0x387005(0x202)](_0x47c1da,_0x387005(0x21f),{'enumerable':!0x0,'value':_0x13faf2[_0x387005(0xe7)](_0x387005(0x21f))}),Object[_0x387005(0x202)](_0x47c1da[_0x387005(0x210)],_0x387005(0x21f),{'enumerable':!0x0,'value':_0x13faf2[_0x387005(0xe7)](_0x387005(0x21f))}),Object[_0x387005(0x202)](_0x47c1da,_0x387005(0x10c),{'enumerable':!0x0,'value':_0x13faf2[_0x387005(0xe7)](_0x387005(0x10c))}),Object[_0x387005(0x202)](_0x47c1da[_0x387005(0x210)],'CLOSING',{'enumerable':!0x0,'value':_0x13faf2[_0x387005(0xe7)](_0x387005(0x10c))}),Object[_0x387005(0x202)](_0x47c1da,_0x387005(0x196),{'enumerable':!0x0,'value':_0x13faf2[_0x387005(0xe7)](_0x387005(0x196))}),Object[_0x387005(0x202)](_0x47c1da[_0x387005(0x210)],_0x387005(0x196),{'enumerable':!0x0,'value':_0x13faf2[_0x387005(0xe7)](_0x387005(0x196))}),['binaryType',_0x387005(0x1f7),_0x387005(0x17d),'isPaused',_0x387005(0x1e2),_0x387005(0x271),_0x387005(0x1ef)][_0x387005(0x1dd)](_0x2d14c7=>{const _0x54e762=_0x387005;Object[_0x54e762(0x202)](_0x47c1da[_0x54e762(0x210)],_0x2d14c7,{'enumerable':!0x0});}),['open',_0x387005(0x1fb),_0x387005(0x178),_0x387005(0x1b5)]['forEach'](_0xb4b7ef=>{const _0xe1ba5a=_0x387005;Object[_0xe1ba5a(0x202)](_0x47c1da[_0xe1ba5a(0x210)],'on'+_0xb4b7ef,{'enumerable':!0x0,'get'(){for(const _0x3a1a44 of this['listeners'](_0xb4b7ef))if(_0x3a1a44[_0x122c18])return _0x3a1a44[_0x279963];return null;},'set'(_0x19ee14){const _0x32714a=_0xe1ba5a;for(const _0x3cef71 of this[_0x32714a(0x106)](_0xb4b7ef))if(_0x3cef71[_0x122c18]){this['removeListener'](_0xb4b7ef,_0x3cef71);break;}typeof _0x19ee14==_0x32714a(0x1ec)&&this[_0x32714a(0xe5)](_0xb4b7ef,_0x19ee14,{[_0x122c18]:!0x0});}});}),_0x47c1da[_0x387005(0x210)][_0x387005(0xe5)]=_0x5b5506,_0x47c1da['prototype'][_0x387005(0x135)]=_0x44bbfe,we=_0x47c1da;function _0x5f1cf3(_0x80e6cf,_0x59af5d,_0x88c9ef,_0x12bf2b){const _0x25bec3=_0x387005,_0x493449={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x56ccee[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x12bf2b,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x80e6cf[_0x25bec3(0x128)]=_0x493449[_0x25bec3(0x104)],!_0x56ccee[_0x25bec3(0x27b)](_0x493449['protocolVersion']))throw new RangeError(_0x25bec3(0x27d)+_0x493449['protocolVersion']+_0x25bec3(0x23d)+_0x56ccee['join'](',\x20')+')');let _0x4dea34;if(_0x59af5d instanceof _0x5775a2)_0x4dea34=_0x59af5d;else try{_0x4dea34=new _0x5775a2(_0x59af5d);}catch{throw new SyntaxError(_0x25bec3(0x1ee)+_0x59af5d);}_0x4dea34[_0x25bec3(0x1e2)]===_0x25bec3(0x214)?_0x4dea34[_0x25bec3(0x1e2)]='ws:':_0x4dea34[_0x25bec3(0x1e2)]==='https:'&&(_0x4dea34['protocol']='wss:'),_0x80e6cf[_0x25bec3(0x25d)]=_0x4dea34[_0x25bec3(0x1b4)];const _0x4b26f1=_0x4dea34['protocol']===_0x25bec3(0x13a),_0xb2625e=_0x4dea34['protocol']===_0x25bec3(0x134);let _0x1f1022;if(_0x4dea34[_0x25bec3(0x1e2)]!==_0x25bec3(0xfc)&&!_0x4b26f1&&!_0xb2625e?_0x1f1022=_0x25bec3(0x25a):_0xb2625e&&!_0x4dea34[_0x25bec3(0x180)]?_0x1f1022='The\x20URL\x27s\x20pathname\x20is\x20empty':_0x4dea34[_0x25bec3(0x166)]&&(_0x1f1022=_0x25bec3(0x236)),_0x1f1022){const _0x463323=new SyntaxError(_0x1f1022);if(_0x80e6cf[_0x25bec3(0x24d)]===0x0)throw _0x463323;_0x294188(_0x80e6cf,_0x463323);return;}const _0x476e10=_0x4b26f1?0x1bb:0x50,_0x4bca63=_0xcd1295(0x10)[_0x25bec3(0x1f1)](_0x25bec3(0x1da)),_0x18d5dd=_0x4b26f1?_0x3a213a[_0x25bec3(0x217)]:_0x2f0dfd[_0x25bec3(0x217)],_0x45b70c=new Set();let _0x50783c;if(_0x493449[_0x25bec3(0x14b)]=_0x493449[_0x25bec3(0x14b)]||(_0x4b26f1?_0x2d1cdd:_0x1a0ce6),_0x493449[_0x25bec3(0x1c1)]=_0x493449[_0x25bec3(0x1c1)]||_0x476e10,_0x493449[_0x25bec3(0x140)]=_0x4dea34[_0x25bec3(0x140)]||_0x476e10,_0x493449[_0x25bec3(0x254)]=_0x4dea34[_0x25bec3(0x17e)][_0x25bec3(0x116)]('[')?_0x4dea34[_0x25bec3(0x17e)][_0x25bec3(0x16f)](0x1,-0x1):_0x4dea34[_0x25bec3(0x17e)],_0x493449[_0x25bec3(0x119)]={..._0x493449['headers'],'Sec-WebSocket-Version':_0x493449['protocolVersion'],'Sec-WebSocket-Key':_0x4bca63,'Connection':_0x25bec3(0x20e),'Upgrade':_0x25bec3(0x18e)},_0x493449['path']=_0x4dea34[_0x25bec3(0x180)]+_0x4dea34[_0x25bec3(0x16e)],_0x493449[_0x25bec3(0x25c)]=_0x493449[_0x25bec3(0x255)],_0x493449[_0x25bec3(0x208)]&&(_0x50783c=new _0x1f1692(_0x493449[_0x25bec3(0x208)]!==!0x0?_0x493449['perMessageDeflate']:{},!0x1,_0x493449[_0x25bec3(0x1a0)]),_0x493449[_0x25bec3(0x119)][_0x25bec3(0x1d6)]=_0x3668fe({[_0x1f1692[_0x25bec3(0x155)]]:_0x50783c['offer']()})),_0x88c9ef[_0x25bec3(0x157)]){for(const _0x568135 of _0x88c9ef){if(typeof _0x568135!=_0x25bec3(0x25f)||!_0x5d10a1[_0x25bec3(0x274)](_0x568135)||_0x45b70c[_0x25bec3(0x18b)](_0x568135))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x45b70c[_0x25bec3(0x242)](_0x568135);}_0x493449[_0x25bec3(0x119)][_0x25bec3(0xfd)]=_0x88c9ef[_0x25bec3(0xd4)](',');}if(_0x493449['origin']&&(_0x493449['protocolVersion']<0xd?_0x493449[_0x25bec3(0x119)]['Sec-WebSocket-Origin']=_0x493449[_0x25bec3(0x23c)]:_0x493449[_0x25bec3(0x119)][_0x25bec3(0x19b)]=_0x493449[_0x25bec3(0x23c)]),(_0x4dea34[_0x25bec3(0x138)]||_0x4dea34['password'])&&(_0x493449[_0x25bec3(0x223)]=_0x4dea34['username']+':'+_0x4dea34[_0x25bec3(0xfe)]),_0xb2625e){const _0x204e6f=_0x493449[_0x25bec3(0x226)][_0x25bec3(0x1f4)](':');_0x493449[_0x25bec3(0x1c7)]=_0x204e6f[0x0],_0x493449[_0x25bec3(0x226)]=_0x204e6f[0x1];}let _0x3b9e99;if(_0x493449[_0x25bec3(0x143)]){if(_0x80e6cf[_0x25bec3(0x24d)]===0x0){_0x80e6cf[_0x25bec3(0xee)]=_0xb2625e,_0x80e6cf[_0x25bec3(0x270)]=_0x4b26f1,_0x80e6cf[_0x25bec3(0x227)]=_0xb2625e?_0x493449[_0x25bec3(0x1c7)]:_0x4dea34['host'];const _0x223996=_0x12bf2b&&_0x12bf2b[_0x25bec3(0x119)];if(_0x12bf2b={..._0x12bf2b,'headers':{}},_0x223996){for(const [_0x401b94,_0x9c7af6]of Object[_0x25bec3(0x1b1)](_0x223996))_0x12bf2b[_0x25bec3(0x119)][_0x401b94[_0x25bec3(0xef)]()]=_0x9c7af6;}}else{if(_0x80e6cf[_0x25bec3(0x1f5)](_0x25bec3(0x18f))===0x0){const _0x198ba2=_0xb2625e?_0x80e6cf[_0x25bec3(0xee)]?_0x493449[_0x25bec3(0x1c7)]===_0x80e6cf[_0x25bec3(0x227)]:!0x1:_0x80e6cf[_0x25bec3(0xee)]?!0x1:_0x4dea34[_0x25bec3(0x254)]===_0x80e6cf[_0x25bec3(0x227)];(!_0x198ba2||_0x80e6cf[_0x25bec3(0x270)]&&!_0x4b26f1)&&(delete _0x493449[_0x25bec3(0x119)][_0x25bec3(0x209)],delete _0x493449[_0x25bec3(0x119)]['cookie'],_0x198ba2||delete _0x493449[_0x25bec3(0x119)][_0x25bec3(0x254)],_0x493449[_0x25bec3(0x223)]=void 0x0);}}_0x493449[_0x25bec3(0x223)]&&!_0x12bf2b[_0x25bec3(0x119)]['authorization']&&(_0x12bf2b[_0x25bec3(0x119)]['authorization']='Basic\x20'+Buffer[_0x25bec3(0x1e9)](_0x493449[_0x25bec3(0x223)])[_0x25bec3(0x1f1)](_0x25bec3(0x1da))),_0x3b9e99=_0x80e6cf[_0x25bec3(0x225)]=_0x18d5dd(_0x493449),_0x80e6cf['_redirects']&&_0x80e6cf[_0x25bec3(0x1dc)]('redirect',_0x80e6cf['url'],_0x3b9e99);}else _0x3b9e99=_0x80e6cf['_req']=_0x18d5dd(_0x493449);_0x493449[_0x25bec3(0x25c)]&&_0x3b9e99['on'](_0x25bec3(0x25c),()=>{const _0x26b943=_0x25bec3;_0x19c11d(_0x80e6cf,_0x3b9e99,_0x26b943(0xd6));}),_0x3b9e99['on']('error',_0x24fade=>{_0x3b9e99===null||_0x3b9e99[_0x4ecc06]||(_0x3b9e99=_0x80e6cf['_req']=null,_0x294188(_0x80e6cf,_0x24fade));}),_0x3b9e99['on'](_0x25bec3(0x120),_0x3365dd=>{const _0x200f60=_0x25bec3,_0x4ac3b9=_0x3365dd[_0x200f60(0x119)][_0x200f60(0x171)],_0x5dbf8a=_0x3365dd[_0x200f60(0x108)];if(_0x4ac3b9&&_0x493449['followRedirects']&&_0x5dbf8a>=0x12c&&_0x5dbf8a<0x190){if(++_0x80e6cf[_0x200f60(0x24d)]>_0x493449[_0x200f60(0x269)]){_0x19c11d(_0x80e6cf,_0x3b9e99,_0x200f60(0x1d1));return;}_0x3b9e99[_0x200f60(0x17f)]();let _0x3631c8;try{_0x3631c8=new _0x5775a2(_0x4ac3b9,_0x59af5d);}catch{const _0x53366c=new SyntaxError(_0x200f60(0x1ee)+_0x4ac3b9);_0x294188(_0x80e6cf,_0x53366c);return;}_0x5f1cf3(_0x80e6cf,_0x3631c8,_0x88c9ef,_0x12bf2b);}else _0x80e6cf[_0x200f60(0x1dc)](_0x200f60(0x185),_0x3b9e99,_0x3365dd)||_0x19c11d(_0x80e6cf,_0x3b9e99,_0x200f60(0x262)+_0x3365dd['statusCode']);}),_0x3b9e99['on'](_0x25bec3(0xdf),(_0x46aff2,_0x5a3d9e,_0x3353cb)=>{const _0x396b4c=_0x25bec3;if(_0x80e6cf['emit'](_0x396b4c(0xdf),_0x46aff2),_0x80e6cf[_0x396b4c(0x271)]!==_0x47c1da['CONNECTING'])return;_0x3b9e99=_0x80e6cf[_0x396b4c(0x225)]=null;const _0x1824f1=_0x46aff2[_0x396b4c(0x119)][_0x396b4c(0xdf)];if(_0x1824f1===void 0x0||_0x1824f1['toLowerCase']()!==_0x396b4c(0x18e)){_0x19c11d(_0x80e6cf,_0x5a3d9e,_0x396b4c(0x15b));return;}const _0x3f32d8=_0x346617(_0x396b4c(0x1ba))[_0x396b4c(0x20c)](_0x4bca63+_0x4a2a45)[_0x396b4c(0x179)](_0x396b4c(0x1da));if(_0x46aff2[_0x396b4c(0x119)][_0x396b4c(0x127)]!==_0x3f32d8){_0x19c11d(_0x80e6cf,_0x5a3d9e,_0x396b4c(0x113));return;}const _0x594bfa=_0x46aff2[_0x396b4c(0x119)][_0x396b4c(0x1e0)];let _0x42371e;if(_0x594bfa!==void 0x0?_0x45b70c[_0x396b4c(0x1f8)]?_0x45b70c['has'](_0x594bfa)||(_0x42371e=_0x396b4c(0x22a)):_0x42371e=_0x396b4c(0x20f):_0x45b70c['size']&&(_0x42371e=_0x396b4c(0xe6)),_0x42371e){_0x19c11d(_0x80e6cf,_0x5a3d9e,_0x42371e);return;}_0x594bfa&&(_0x80e6cf[_0x396b4c(0x109)]=_0x594bfa);const _0x289155=_0x46aff2[_0x396b4c(0x119)][_0x396b4c(0x19f)];if(_0x289155!==void 0x0){if(!_0x50783c){_0x19c11d(_0x80e6cf,_0x5a3d9e,'Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested');return;}let _0x17005a;try{_0x17005a=_0x598e46(_0x289155);}catch{_0x19c11d(_0x80e6cf,_0x5a3d9e,_0x396b4c(0x17a));return;}const _0x5c14c5=Object['keys'](_0x17005a);if(_0x5c14c5[_0x396b4c(0x157)]!==0x1||_0x5c14c5[0x0]!==_0x1f1692[_0x396b4c(0x155)]){_0x19c11d(_0x80e6cf,_0x5a3d9e,_0x396b4c(0x11a));return;}try{_0x50783c[_0x396b4c(0x250)](_0x17005a[_0x1f1692[_0x396b4c(0x155)]]);}catch{_0x19c11d(_0x80e6cf,_0x5a3d9e,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}_0x80e6cf[_0x396b4c(0xf2)][_0x1f1692['extensionName']]=_0x50783c;}_0x80e6cf[_0x396b4c(0x169)](_0x5a3d9e,_0x3353cb,{'allowSynchronousEvents':_0x493449[_0x396b4c(0x26b)],'generateMask':_0x493449[_0x396b4c(0x123)],'maxPayload':_0x493449[_0x396b4c(0x1a0)],'skipUTF8Validation':_0x493449[_0x396b4c(0x188)]});}),_0x493449[_0x25bec3(0x216)]?_0x493449[_0x25bec3(0x216)](_0x3b9e99,_0x80e6cf):_0x3b9e99['end']();}function _0x294188(_0x472892,_0x53bbf8){const _0x78351=_0x387005;_0x472892[_0x78351(0x12d)]=_0x47c1da[_0x78351(0x10c)],_0x472892['_errorEmitted']=!0x0,_0x472892[_0x78351(0x1dc)](_0x78351(0x1fb),_0x53bbf8),_0x472892['emitClose']();}function _0x1a0ce6(_0x19ea5c){const _0x4786a1=_0x387005;return _0x19ea5c[_0x4786a1(0x226)]=_0x19ea5c[_0x4786a1(0x1c7)],_0xedbd[_0x4786a1(0x268)](_0x19ea5c);}function _0x2d1cdd(_0x225994){const _0x4e621c=_0x387005;return _0x225994[_0x4e621c(0x226)]=void 0x0,!_0x225994[_0x4e621c(0x16a)]&&_0x225994[_0x4e621c(0x16a)]!==''&&(_0x225994[_0x4e621c(0x16a)]=_0xedbd['isIP'](_0x225994[_0x4e621c(0x254)])?'':_0x225994['host']),_0x30c066[_0x4e621c(0x268)](_0x225994);}function _0x19c11d(_0x23609a,_0x897c8e,_0x5e60ae){const _0x27866f=_0x387005;_0x23609a[_0x27866f(0x12d)]=_0x47c1da['CLOSING'];const _0x945674=new Error(_0x5e60ae);Error[_0x27866f(0x10a)](_0x945674,_0x19c11d),_0x897c8e[_0x27866f(0x1c2)]?(_0x897c8e[_0x4ecc06]=!0x0,_0x897c8e[_0x27866f(0x17f)](),_0x897c8e['socket']&&!_0x897c8e[_0x27866f(0x1ca)][_0x27866f(0x1d4)]&&_0x897c8e['socket'][_0x27866f(0x18c)](),process[_0x27866f(0x1be)](_0x294188,_0x23609a,_0x945674)):(_0x897c8e[_0x27866f(0x18c)](_0x945674),_0x897c8e[_0x27866f(0x19a)]('error',_0x23609a[_0x27866f(0x1dc)]['bind'](_0x23609a,_0x27866f(0x1fb))),_0x897c8e[_0x27866f(0x19a)](_0x27866f(0x178),_0x23609a[_0x27866f(0x261)][_0x27866f(0x1a8)](_0x23609a)));}function _0x4191d9(_0x1b8104,_0x2c7963,_0x2311f0){const _0x2e1fb6=_0x387005;if(_0x2c7963){const _0x188a4c=_0x21a7ee(_0x2c7963)?_0x2c7963[_0x2e1fb6(0x1f8)]:_0x4ef00f(_0x2c7963)['length'];_0x1b8104[_0x2e1fb6(0x203)]?_0x1b8104[_0x2e1fb6(0x163)][_0x2e1fb6(0x1aa)]+=_0x188a4c:_0x1b8104[_0x2e1fb6(0x25e)]+=_0x188a4c;}if(_0x2311f0){const _0x2bce10=new Error(_0x2e1fb6(0x244)+_0x1b8104[_0x2e1fb6(0x271)]+'\x20('+_0x13faf2[_0x1b8104[_0x2e1fb6(0x271)]]+')');process['nextTick'](_0x2311f0,_0x2bce10);}}function _0x399114(_0x3ed8ff,_0x2b51a0){const _0x334050=_0x387005,_0x4395db=this[_0x2f2d3a];_0x4395db[_0x334050(0x24e)]=!0x0,_0x4395db[_0x334050(0x11e)]=_0x2b51a0,_0x4395db[_0x334050(0x19e)]=_0x3ed8ff,_0x4395db[_0x334050(0x203)][_0x2f2d3a]!==void 0x0&&(_0x4395db[_0x334050(0x203)]['removeListener'](_0x334050(0x142),_0x3dce4f),process['nextTick'](_0x26b290,_0x4395db[_0x334050(0x203)]),_0x3ed8ff===0x3ed?_0x4395db[_0x334050(0x178)]():_0x4395db['close'](_0x3ed8ff,_0x2b51a0));}function _0x1cd710(){const _0x150b88=_0x387005,_0x102e25=this[_0x2f2d3a];_0x102e25[_0x150b88(0x125)]||_0x102e25['_socket'][_0x150b88(0x1e4)]();}function _0x126d2a(_0x43d7cf){const _0x5c76b2=_0x387005,_0x264472=this[_0x2f2d3a];_0x264472['_socket'][_0x2f2d3a]!==void 0x0&&(_0x264472[_0x5c76b2(0x203)]['removeListener'](_0x5c76b2(0x142),_0x3dce4f),process[_0x5c76b2(0x1be)](_0x26b290,_0x264472[_0x5c76b2(0x203)]),_0x264472[_0x5c76b2(0x178)](_0x43d7cf[_0x2047fc])),_0x264472[_0x5c76b2(0x154)]||(_0x264472[_0x5c76b2(0x154)]=!0x0,_0x264472[_0x5c76b2(0x1dc)](_0x5c76b2(0x1fb),_0x43d7cf));}function _0x411394(){const _0x49221c=_0x387005;this[_0x2f2d3a][_0x49221c(0x261)]();}function _0x375d42(_0x1c1928,_0x17dfa7){const _0x189aca=_0x387005;this[_0x2f2d3a][_0x189aca(0x1dc)](_0x189aca(0x1b5),_0x1c1928,_0x17dfa7);}function _0x31f91f(_0x2f02de){const _0x25824e=_0x387005,_0x39c5b1=this[_0x2f2d3a];_0x39c5b1[_0x25824e(0x128)]&&_0x39c5b1[_0x25824e(0x240)](_0x2f02de,!this[_0x25824e(0x118)],_0x3460a6),_0x39c5b1['emit'](_0x25824e(0x26c),_0x2f02de);}function _0x581120(_0xab58dc){const _0x505b5a=_0x387005;this[_0x2f2d3a][_0x505b5a(0x1dc)](_0x505b5a(0x240),_0xab58dc);}function _0x26b290(_0x3ef1f0){_0x3ef1f0['resume']();}function _0x247a4d(_0x5a1e3c){const _0x224629=_0x387005,_0x3c7c01=this[_0x2f2d3a];_0x3c7c01['readyState']!==_0x47c1da[_0x224629(0x196)]&&(_0x3c7c01[_0x224629(0x271)]===_0x47c1da[_0x224629(0x21f)]&&(_0x3c7c01[_0x224629(0x12d)]=_0x47c1da[_0x224629(0x10c)],_0x480bd4(_0x3c7c01)),this[_0x224629(0x203)][_0x224629(0x20d)](),_0x3c7c01[_0x224629(0x154)]||(_0x3c7c01[_0x224629(0x154)]=!0x0,_0x3c7c01[_0x224629(0x1dc)](_0x224629(0x1fb),_0x5a1e3c)));}function _0x480bd4(_0x2bd890){const _0x5194c3=_0x387005;_0x2bd890[_0x5194c3(0x164)]=setTimeout(_0x2bd890[_0x5194c3(0x203)][_0x5194c3(0x18c)][_0x5194c3(0x1a8)](_0x2bd890[_0x5194c3(0x203)]),_0xb3025b);}function _0x54f41f(){const _0x38a0af=_0x387005,_0x2091e6=this[_0x2f2d3a];this[_0x38a0af(0x11d)](_0x38a0af(0x178),_0x54f41f),this[_0x38a0af(0x11d)](_0x38a0af(0x142),_0x3dce4f),this[_0x38a0af(0x11d)](_0x38a0af(0x20d),_0x30b30b),_0x2091e6[_0x38a0af(0x12d)]=_0x47c1da[_0x38a0af(0x10c)];let _0x596434;!this[_0x38a0af(0xe9)][_0x38a0af(0x158)]&&!_0x2091e6[_0x38a0af(0x24e)]&&!_0x2091e6[_0x38a0af(0x278)][_0x38a0af(0xdc)][_0x38a0af(0x228)]&&(_0x596434=_0x2091e6['_socket'][_0x38a0af(0x19d)]())!==null&&_0x2091e6[_0x38a0af(0x278)]['write'](_0x596434),_0x2091e6[_0x38a0af(0x278)][_0x38a0af(0x20d)](),this[_0x2f2d3a]=void 0x0,clearTimeout(_0x2091e6[_0x38a0af(0x164)]),_0x2091e6[_0x38a0af(0x278)][_0x38a0af(0xdc)][_0x38a0af(0xd9)]||_0x2091e6['_receiver']['_writableState'][_0x38a0af(0x228)]?_0x2091e6[_0x38a0af(0x261)]():(_0x2091e6[_0x38a0af(0x278)]['on'](_0x38a0af(0x1fb),_0x411394),_0x2091e6[_0x38a0af(0x278)]['on'](_0x38a0af(0x220),_0x411394));}function _0x3dce4f(_0x7ef094){const _0x11389f=_0x387005;this[_0x2f2d3a][_0x11389f(0x278)][_0x11389f(0xff)](_0x7ef094)||this['pause']();}function _0x30b30b(){const _0x22ab41=_0x387005,_0x5005b3=this[_0x2f2d3a];_0x5005b3[_0x22ab41(0x12d)]=_0x47c1da['CLOSING'],_0x5005b3[_0x22ab41(0x278)][_0x22ab41(0x20d)](),this[_0x22ab41(0x20d)]();}function _0xbfa5a7(){const _0x480c3c=_0x387005,_0x4ef4e2=this[_0x2f2d3a];this[_0x480c3c(0x11d)](_0x480c3c(0x1fb),_0xbfa5a7),this['on'](_0x480c3c(0x1fb),_0x3460a6),_0x4ef4e2&&(_0x4ef4e2[_0x480c3c(0x12d)]=_0x47c1da[_0x480c3c(0x10c)],this['destroy']());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x555476}=_0x1595d9;function _0x35f7fc(_0x2a3228){const _0x55d6d0=_0x4f97;_0x2a3228[_0x55d6d0(0x1dc)](_0x55d6d0(0x178));}function _0x13e1ca(){const _0x3a3120=_0x4f97;!this[_0x3a3120(0x1d4)]&&this[_0x3a3120(0xdc)][_0x3a3120(0xd9)]&&this[_0x3a3120(0x18c)]();}function _0x7d636c(_0x3887d7){const _0x5c90f3=_0x4f97;this[_0x5c90f3(0x11d)](_0x5c90f3(0x1fb),_0x7d636c),this[_0x5c90f3(0x18c)](),this[_0x5c90f3(0x1f5)](_0x5c90f3(0x1fb))===0x0&&this[_0x5c90f3(0x1dc)](_0x5c90f3(0x1fb),_0x3887d7);}function _0x58ac9c(_0x33a074,_0x19dd7d){const _0x513312=_0x4f97;let _0x539f23=!0x0;const _0x30e71b=new _0x555476({..._0x19dd7d,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x33a074['on'](_0x513312(0x1b5),function(_0x5b11a4,_0x5a37c0){const _0x252106=_0x513312,_0xb201ea=!_0x5a37c0&&_0x30e71b[_0x252106(0xe9)][_0x252106(0x218)]?_0x5b11a4[_0x252106(0x1f1)]():_0x5b11a4;_0x30e71b[_0x252106(0x1e7)](_0xb201ea)||_0x33a074['pause']();}),_0x33a074['once'](_0x513312(0x1fb),function(_0x49496e){const _0x4bcdcb=_0x513312;_0x30e71b[_0x4bcdcb(0x1d4)]||(_0x539f23=!0x1,_0x30e71b['destroy'](_0x49496e));}),_0x33a074['once']('close',function(){const _0x361ffe=_0x513312;_0x30e71b[_0x361ffe(0x1d4)]||_0x30e71b[_0x361ffe(0x1e7)](null);}),_0x30e71b[_0x513312(0xfb)]=function(_0x4a6924,_0x115ba4){const _0x2d9396=_0x513312;if(_0x33a074[_0x2d9396(0x271)]===_0x33a074[_0x2d9396(0x196)]){_0x115ba4(_0x4a6924),process[_0x2d9396(0x1be)](_0x35f7fc,_0x30e71b);return;}let _0x34e98e=!0x1;_0x33a074['once'](_0x2d9396(0x1fb),function(_0x5c5510){_0x34e98e=!0x0,_0x115ba4(_0x5c5510);}),_0x33a074[_0x2d9396(0x19a)](_0x2d9396(0x178),function(){const _0x5dc587=_0x2d9396;_0x34e98e||_0x115ba4(_0x4a6924),process[_0x5dc587(0x1be)](_0x35f7fc,_0x30e71b);}),_0x539f23&&_0x33a074[_0x2d9396(0x1ad)]();},_0x30e71b['_final']=function(_0x5cb6b3){const _0x95b443=_0x513312;if(_0x33a074[_0x95b443(0x271)]===_0x33a074['CONNECTING']){_0x33a074[_0x95b443(0x19a)](_0x95b443(0x146),function(){const _0x3c62b9=_0x95b443;_0x30e71b[_0x3c62b9(0x14d)](_0x5cb6b3);});return;}_0x33a074[_0x95b443(0x203)]!==null&&(_0x33a074['_socket'][_0x95b443(0xdc)]['finished']?(_0x5cb6b3(),_0x30e71b[_0x95b443(0xe9)][_0x95b443(0x158)]&&_0x30e71b['destroy']()):(_0x33a074[_0x95b443(0x203)][_0x95b443(0x19a)](_0x95b443(0x220),function(){_0x5cb6b3();}),_0x33a074[_0x95b443(0x178)]()));},_0x30e71b[_0x513312(0x1d7)]=function(){const _0x2f6488=_0x513312;_0x33a074['isPaused']&&_0x33a074[_0x2f6488(0x1e4)]();},_0x30e71b['_write']=function(_0x532396,_0x5832ea,_0x3ae036){const _0x24ab53=_0x513312;if(_0x33a074['readyState']===_0x33a074['CONNECTING']){_0x33a074['once'](_0x24ab53(0x146),function(){const _0x259d1c=_0x24ab53;_0x30e71b[_0x259d1c(0x239)](_0x532396,_0x5832ea,_0x3ae036);});return;}_0x33a074[_0x24ab53(0x1ed)](_0x532396,_0x3ae036);},_0x30e71b['on'](_0x513312(0x20d),_0x13e1ca),_0x30e71b['on'](_0x513312(0x1fb),_0x7d636c),_0x30e71b;}return Oe=_0x58ac9c,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=Wt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x32b06b}=ne();function _0x20bc9c(_0x56e683){const _0x213b24=_0x4f97,_0x30e77b=new Set();let _0x4581fc=-0x1,_0x216ece=-0x1,_0x4420af=0x0;for(_0x4420af;_0x4420af<_0x56e683['length'];_0x4420af++){const _0x2131f1=_0x56e683[_0x213b24(0x112)](_0x4420af);if(_0x216ece===-0x1&&_0x32b06b[_0x2131f1]===0x1)_0x4581fc===-0x1&&(_0x4581fc=_0x4420af);else{if(_0x4420af!==0x0&&(_0x2131f1===0x20||_0x2131f1===0x9))_0x216ece===-0x1&&_0x4581fc!==-0x1&&(_0x216ece=_0x4420af);else{if(_0x2131f1===0x2c){if(_0x4581fc===-0x1)throw new SyntaxError(_0x213b24(0x1fa)+_0x4420af);_0x216ece===-0x1&&(_0x216ece=_0x4420af);const _0xa16100=_0x56e683[_0x213b24(0x16f)](_0x4581fc,_0x216ece);if(_0x30e77b['has'](_0xa16100))throw new SyntaxError('The\x20\x22'+_0xa16100+_0x213b24(0x1fe));_0x30e77b['add'](_0xa16100),_0x4581fc=_0x216ece=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x4420af);}}}if(_0x4581fc===-0x1||_0x216ece!==-0x1)throw new SyntaxError(_0x213b24(0x153));const _0x434e3c=_0x56e683[_0x213b24(0x16f)](_0x4581fc,_0x4420af);if(_0x30e77b[_0x213b24(0x18b)](_0x434e3c))throw new SyntaxError('The\x20\x22'+_0x434e3c+_0x213b24(0x1fe));return _0x30e77b[_0x213b24(0x242)](_0x434e3c),_0x30e77b;}return Ce={'parse':_0x20bc9c},Ce;}var Te,ot;function er(){const _0x606b66=_0x4638d0;if(ot)return Te;ot=0x1;const _0x263087=_0x11fb4c,_0x52506f=_0x15900a,{Duplex:_0x4f95cf}=_0x1595d9,{createHash:_0x2ef9d2}=_0x5572b2,_0x3411e6=pt(),_0x67a232=he(),_0x166049=Jt(),_0x59e961=Ie(),{GUID:_0x1cfb8e,kWebSocket:_0x4fec85}=V(),_0x52d31b=/^[+/0-9A-Za-z]{22}==$/,_0x5040a7=0x0,_0x5d4d86=0x1,_0x445cb8=0x2;class _0x25319a extends _0x263087{constructor(_0x6014d0,_0x5ca55f){const _0x5bb47f=_0x4f97;if(super(),_0x6014d0={'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':_0x59e961,..._0x6014d0},_0x6014d0[_0x5bb47f(0x140)]==null&&!_0x6014d0[_0x5bb47f(0x198)]&&!_0x6014d0[_0x5bb47f(0x137)]||_0x6014d0[_0x5bb47f(0x140)]!=null&&(_0x6014d0['server']||_0x6014d0[_0x5bb47f(0x137)])||_0x6014d0[_0x5bb47f(0x198)]&&_0x6014d0['noServer'])throw new TypeError('One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified');if(_0x6014d0[_0x5bb47f(0x140)]!=null?(this[_0x5bb47f(0x1bc)]=_0x52506f[_0x5bb47f(0x181)]((_0x1edaf1,_0x1c2bb0)=>{const _0x4ab11b=_0x5bb47f,_0x3d92f8=_0x52506f[_0x4ab11b(0x1fd)][0x1aa];_0x1c2bb0[_0x4ab11b(0x136)](0x1aa,{'Content-Length':_0x3d92f8['length'],'Content-Type':'text/plain'}),_0x1c2bb0['end'](_0x3d92f8);}),this[_0x5bb47f(0x1bc)][_0x5bb47f(0x1b6)](_0x6014d0[_0x5bb47f(0x140)],_0x6014d0[_0x5bb47f(0x254)],_0x6014d0['backlog'],_0x5ca55f)):_0x6014d0['server']&&(this[_0x5bb47f(0x1bc)]=_0x6014d0[_0x5bb47f(0x198)]),this['_server']){const _0x4762f7=this[_0x5bb47f(0x1dc)][_0x5bb47f(0x1a8)](this,_0x5bb47f(0x13c));this[_0x5bb47f(0x1bd)]=_0x9b995a(this[_0x5bb47f(0x1bc)],{'listening':this[_0x5bb47f(0x1dc)][_0x5bb47f(0x1a8)](this,_0x5bb47f(0x1c5)),'error':this['emit']['bind'](this,_0x5bb47f(0x1fb)),'upgrade':(_0x3f54b7,_0x26fcd4,_0x385803)=>{const _0x2c2ea9=_0x5bb47f;this[_0x2c2ea9(0x1e5)](_0x3f54b7,_0x26fcd4,_0x385803,_0x4762f7);}});}_0x6014d0[_0x5bb47f(0x208)]===!0x0&&(_0x6014d0[_0x5bb47f(0x208)]={}),_0x6014d0[_0x5bb47f(0x15f)]&&(this[_0x5bb47f(0x177)]=new Set(),this[_0x5bb47f(0x23b)]=!0x1),this[_0x5bb47f(0x1a1)]=_0x6014d0,this[_0x5bb47f(0x1c8)]=_0x5040a7;}[_0x606b66(0x16d)](){const _0x1b6a65=_0x606b66;if(this[_0x1b6a65(0x1a1)][_0x1b6a65(0x137)])throw new Error(_0x1b6a65(0x1d9));return this[_0x1b6a65(0x1bc)]?this['_server'][_0x1b6a65(0x16d)]():null;}[_0x606b66(0x178)](_0x2c2b77){const _0x2295a2=_0x606b66;if(this[_0x2295a2(0x1c8)]===_0x445cb8){_0x2c2b77&&this[_0x2295a2(0x19a)](_0x2295a2(0x178),()=>{_0x2c2b77(new Error('The\x20server\x20is\x20not\x20running'));}),process['nextTick'](_0x17cd2f,this);return;}if(_0x2c2b77&&this[_0x2295a2(0x19a)]('close',_0x2c2b77),this[_0x2295a2(0x1c8)]!==_0x5d4d86){if(this[_0x2295a2(0x1c8)]=_0x5d4d86,this['options']['noServer']||this[_0x2295a2(0x1a1)][_0x2295a2(0x198)])this['_server']&&(this[_0x2295a2(0x1bd)](),this[_0x2295a2(0x1bd)]=this['_server']=null),this[_0x2295a2(0x177)]?this[_0x2295a2(0x177)][_0x2295a2(0x1f8)]?this[_0x2295a2(0x23b)]=!0x0:process[_0x2295a2(0x1be)](_0x17cd2f,this):process['nextTick'](_0x17cd2f,this);else{const _0x4ab8b6=this[_0x2295a2(0x1bc)];this[_0x2295a2(0x1bd)](),this[_0x2295a2(0x1bd)]=this['_server']=null,_0x4ab8b6[_0x2295a2(0x178)](()=>{_0x17cd2f(this);});}}}[_0x606b66(0xf1)](_0x27cd7b){const _0xf81073=_0x606b66;if(this[_0xf81073(0x1a1)]['path']){const _0x5c7733=_0x27cd7b[_0xf81073(0x1ef)][_0xf81073(0xe7)]('?');if((_0x5c7733!==-0x1?_0x27cd7b[_0xf81073(0x1ef)][_0xf81073(0x16f)](0x0,_0x5c7733):_0x27cd7b[_0xf81073(0x1ef)])!==this['options'][_0xf81073(0x226)])return!0x1;}return!0x0;}[_0x606b66(0x1e5)](_0x4a8874,_0x9a12ce,_0x1fff13,_0x4717b3){const _0x4a3ee4=_0x606b66;_0x9a12ce['on']('error',_0x1bec68);const _0x4590b9=_0x4a8874['headers'][_0x4a3ee4(0x1ce)],_0x597da0=_0x4a8874[_0x4a3ee4(0x119)][_0x4a3ee4(0xdf)],_0x287537=+_0x4a8874[_0x4a3ee4(0x119)][_0x4a3ee4(0x1df)];if(_0x4a8874[_0x4a3ee4(0x156)]!==_0x4a3ee4(0x197)){_0x3601b9(this,_0x4a8874,_0x9a12ce,0x195,_0x4a3ee4(0x110));return;}if(_0x597da0===void 0x0||_0x597da0[_0x4a3ee4(0xef)]()!=='websocket'){_0x3601b9(this,_0x4a8874,_0x9a12ce,0x190,'Invalid\x20Upgrade\x20header');return;}if(_0x4590b9===void 0x0||!_0x52d31b['test'](_0x4590b9)){_0x3601b9(this,_0x4a8874,_0x9a12ce,0x190,_0x4a3ee4(0x175));return;}if(_0x287537!==0xd&&_0x287537!==0x8){_0x3601b9(this,_0x4a8874,_0x9a12ce,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header',{'Sec-WebSocket-Version':_0x4a3ee4(0x1f0)});return;}if(!this['shouldHandle'](_0x4a8874)){_0x55ebb3(_0x9a12ce,0x190);return;}const _0x8f6b23=_0x4a8874['headers']['sec-websocket-protocol'];let _0x29de0c=new Set();if(_0x8f6b23!==void 0x0)try{_0x29de0c=_0x166049['parse'](_0x8f6b23);}catch{_0x3601b9(this,_0x4a8874,_0x9a12ce,0x190,_0x4a3ee4(0x174));return;}const _0x300890=_0x4a8874[_0x4a3ee4(0x119)]['sec-websocket-extensions'],_0x2c2062={};if(this[_0x4a3ee4(0x1a1)][_0x4a3ee4(0x208)]&&_0x300890!==void 0x0){const _0x43e59d=new _0x67a232(this[_0x4a3ee4(0x1a1)]['perMessageDeflate'],!0x0,this[_0x4a3ee4(0x1a1)][_0x4a3ee4(0x1a0)]);try{const _0x296e1c=_0x3411e6[_0x4a3ee4(0x1fc)](_0x300890);_0x296e1c[_0x67a232[_0x4a3ee4(0x155)]]&&(_0x43e59d['accept'](_0x296e1c[_0x67a232['extensionName']]),_0x2c2062[_0x67a232['extensionName']]=_0x43e59d);}catch{_0x3601b9(this,_0x4a8874,_0x9a12ce,0x190,'Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header');return;}}if(this[_0x4a3ee4(0x1a1)][_0x4a3ee4(0x1eb)]){const _0x10ad29={'origin':_0x4a8874[_0x4a3ee4(0x119)][''+(_0x287537===0x8?_0x4a3ee4(0xe2):_0x4a3ee4(0x23c))],'secure':!!(_0x4a8874[_0x4a3ee4(0x1ca)][_0x4a3ee4(0x107)]||_0x4a8874[_0x4a3ee4(0x1ca)][_0x4a3ee4(0x245)]),'req':_0x4a8874};if(this[_0x4a3ee4(0x1a1)]['verifyClient']['length']===0x2){this['options'][_0x4a3ee4(0x1eb)](_0x10ad29,(_0x30f6e3,_0x4fc2ec,_0x1bc6b4,_0x14f929)=>{if(!_0x30f6e3)return _0x55ebb3(_0x9a12ce,_0x4fc2ec||0x191,_0x1bc6b4,_0x14f929);this['completeUpgrade'](_0x2c2062,_0x4590b9,_0x29de0c,_0x4a8874,_0x9a12ce,_0x1fff13,_0x4717b3);});return;}if(!this[_0x4a3ee4(0x1a1)][_0x4a3ee4(0x1eb)](_0x10ad29))return _0x55ebb3(_0x9a12ce,0x191);}this[_0x4a3ee4(0x148)](_0x2c2062,_0x4590b9,_0x29de0c,_0x4a8874,_0x9a12ce,_0x1fff13,_0x4717b3);}[_0x606b66(0x148)](_0x47aa7e,_0x4f9f6a,_0x31de92,_0xab106,_0x5bf394,_0x33a1d9,_0xb829ec){const _0x51f02f=_0x606b66;if(!_0x5bf394[_0x51f02f(0x23a)]||!_0x5bf394['writable'])return _0x5bf394[_0x51f02f(0x18c)]();if(_0x5bf394[_0x4fec85])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this[_0x51f02f(0x1c8)]>_0x5040a7)return _0x55ebb3(_0x5bf394,0x1f7);const _0x36de8e=[_0x51f02f(0x167),'Upgrade:\x20websocket',_0x51f02f(0x12e),'Sec-WebSocket-Accept:\x20'+_0x2ef9d2(_0x51f02f(0x1ba))[_0x51f02f(0x20c)](_0x4f9f6a+_0x1cfb8e)[_0x51f02f(0x179)](_0x51f02f(0x1da))],_0x29e934=new this[(_0x51f02f(0x1a1))][(_0x51f02f(0x193))](null,void 0x0,this[_0x51f02f(0x1a1)]);if(_0x31de92['size']){const _0x2c06d3=this[_0x51f02f(0x1a1)][_0x51f02f(0x12a)]?this[_0x51f02f(0x1a1)]['handleProtocols'](_0x31de92,_0xab106):_0x31de92[_0x51f02f(0x222)]()[_0x51f02f(0x1e8)]()[_0x51f02f(0xea)];_0x2c06d3&&(_0x36de8e[_0x51f02f(0x1e7)]('Sec-WebSocket-Protocol:\x20'+_0x2c06d3),_0x29e934[_0x51f02f(0x109)]=_0x2c06d3);}if(_0x47aa7e[_0x67a232['extensionName']]){const _0x313f4b=_0x47aa7e[_0x67a232[_0x51f02f(0x155)]][_0x51f02f(0x184)],_0x45857c=_0x3411e6['format']({[_0x67a232[_0x51f02f(0x155)]]:[_0x313f4b]});_0x36de8e[_0x51f02f(0x1e7)](_0x51f02f(0xd5)+_0x45857c),_0x29e934[_0x51f02f(0xf2)]=_0x47aa7e;}this['emit'](_0x51f02f(0x119),_0x36de8e,_0xab106),_0x5bf394['write'](_0x36de8e[_0x51f02f(0x215)]('\x0d\x0a')['join']('\x0d\x0a')),_0x5bf394[_0x51f02f(0x11d)](_0x51f02f(0x1fb),_0x1bec68),_0x29e934[_0x51f02f(0x169)](_0x5bf394,_0x33a1d9,{'allowSynchronousEvents':this['options']['allowSynchronousEvents'],'maxPayload':this[_0x51f02f(0x1a1)][_0x51f02f(0x1a0)],'skipUTF8Validation':this[_0x51f02f(0x1a1)]['skipUTF8Validation']}),this['clients']&&(this[_0x51f02f(0x177)]['add'](_0x29e934),_0x29e934['on'](_0x51f02f(0x178),()=>{const _0x4bde4c=_0x51f02f;this[_0x4bde4c(0x177)][_0x4bde4c(0x141)](_0x29e934),this[_0x4bde4c(0x23b)]&&!this[_0x4bde4c(0x177)][_0x4bde4c(0x1f8)]&&process[_0x4bde4c(0x1be)](_0x17cd2f,this);})),_0xb829ec(_0x29e934,_0xab106);}}Te=_0x25319a;function _0x9b995a(_0x59eba7,_0x8c2925){const _0x270839=_0x606b66;for(const _0x9b085 of Object[_0x270839(0x15a)](_0x8c2925))_0x59eba7['on'](_0x9b085,_0x8c2925[_0x9b085]);return function(){const _0x3bef40=_0x270839;for(const _0x13ee7d of Object['keys'](_0x8c2925))_0x59eba7[_0x3bef40(0x11d)](_0x13ee7d,_0x8c2925[_0x13ee7d]);};}function _0x17cd2f(_0xbd6148){const _0x24f97e=_0x606b66;_0xbd6148[_0x24f97e(0x1c8)]=_0x445cb8,_0xbd6148['emit'](_0x24f97e(0x178));}function _0x1bec68(){const _0x2be974=_0x606b66;this[_0x2be974(0x18c)]();}function _0x55ebb3(_0x2c3926,_0x4a5f55,_0x57ee1b,_0x24afaa){const _0x196f42=_0x606b66;_0x57ee1b=_0x57ee1b||_0x52506f[_0x196f42(0x1fd)][_0x4a5f55],_0x24afaa={'Connection':'close','Content-Type':_0x196f42(0x232),'Content-Length':Buffer[_0x196f42(0x1cb)](_0x57ee1b),..._0x24afaa},_0x2c3926['once']('finish',_0x2c3926[_0x196f42(0x18c)]),_0x2c3926['end'](_0x196f42(0x252)+_0x4a5f55+'\x20'+_0x52506f[_0x196f42(0x1fd)][_0x4a5f55]+'\x0d\x0a'+Object['keys'](_0x24afaa)['map'](_0x1fdd8f=>_0x1fdd8f+':\x20'+_0x24afaa[_0x1fdd8f])[_0x196f42(0xd4)]('\x0d\x0a')+'\x0d\x0a\x0d\x0a'+_0x57ee1b);}function _0x3601b9(_0x482546,_0x1a54d3,_0x5aaefc,_0x5b256e,_0x264622,_0x5d78be){const _0x2dc1aa=_0x606b66;if(_0x482546[_0x2dc1aa(0x1f5)]('wsClientError')){const _0x57f816=new Error(_0x264622);Error[_0x2dc1aa(0x10a)](_0x57f816,_0x3601b9),_0x482546[_0x2dc1aa(0x1dc)](_0x2dc1aa(0xfa),_0x57f816,_0x5aaefc,_0x1a54d3);}else _0x55ebb3(_0x5aaefc,_0x5b256e,_0x264622,_0x5d78be);}return Te;}er();var tr=Object[_0x4638d0(0x1c9)],rr=(_0x43d4a6,_0x1d5dff,_0x5c3218,_0x13edb8)=>{const _0x52b59a=_0x4638d0;for(var _0x48b87d=_0x13edb8>0x1?void 0x0:_0x13edb8?tr(_0x1d5dff,_0x5c3218):_0x1d5dff,_0x5e8801=_0x43d4a6[_0x52b59a(0x157)]-0x1,_0x4abec5;_0x5e8801>=0x0;_0x5e8801--)(_0x4abec5=_0x43d4a6[_0x5e8801])&&(_0x48b87d=_0x4abec5(_0x48b87d)||_0x48b87d);return _0x48b87d;},sr=(_0x2edcbf,_0x56c5e3)=>(_0x7ef079,_0xd8d1cc)=>_0x56c5e3(_0x7ef079,_0xd8d1cc,_0x2edcbf);let Ne=class extends _0x3193e1{constructor(_0x27f8d7){super(),this['_configService']=_0x27f8d7;}[_0x4638d0(0x24c)](_0x5489b3){const _0x40b1a8=_0x4638d0;var _0x5a1fad;const _0x630ef7=(_0x5a1fad=this[_0x40b1a8(0x103)][_0x40b1a8(0x1cf)](Be))==null?void 0x0:_0x5a1fad['customHeaders'];try{const _0xe5814c=new Qt(_0x5489b3,{'headers':{..._0x630ef7}}),_0x2e3b7f=new _0x3d640a();return{'URL':_0x5489b3,'close':(_0x255da1,_0x5eb243)=>{const _0x2be19a=_0x40b1a8;_0xe5814c[_0x2be19a(0x178)](_0x255da1,_0x5eb243),_0x2e3b7f['dispose']();},'send':_0x354674=>{const _0x382fab=_0x40b1a8;_0xe5814c[_0x382fab(0x1ed)](_0x354674);},'open$':new _0xe4fae9(_0x259b09=>{const _0x4420c1=_0x40b1a8,_0x39b45e=_0x3245e3=>_0x259b09[_0x4420c1(0x1e8)](_0x3245e3);_0xe5814c[_0x4420c1(0xe5)](_0x4420c1(0x146),_0x39b45e),_0x2e3b7f[_0x4420c1(0x242)](_0x736aee(()=>_0xe5814c[_0x4420c1(0x135)](_0x4420c1(0x146),_0x39b45e)));})[_0x40b1a8(0xf6)](_0x2c2888()),'close$':new _0xe4fae9(_0x3bfee8=>{const _0x14d0fe=_0x40b1a8,_0xa92478=_0x3e6781=>_0x3bfee8[_0x14d0fe(0x1e8)](_0x3e6781);_0xe5814c[_0x14d0fe(0xe5)]('close',_0xa92478),_0x2e3b7f[_0x14d0fe(0x242)](_0x736aee(()=>_0xe5814c[_0x14d0fe(0x135)](_0x14d0fe(0x178),_0xa92478)));})[_0x40b1a8(0xf6)](_0x2c2888()),'error$':new _0xe4fae9(_0xa0617e=>{const _0x292319=_0x40b1a8,_0x533669=_0xd0f22a=>_0xa0617e[_0x292319(0x1e8)](_0xd0f22a);_0xe5814c[_0x292319(0xe5)](_0x292319(0x1fb),_0x533669),_0x2e3b7f[_0x292319(0x242)](_0x736aee(()=>_0xe5814c[_0x292319(0x135)](_0x292319(0x1fb),_0x533669)));})['pipe'](_0x2c2888()),'message$':new _0xe4fae9(_0x3d69a5=>{const _0x25a48f=_0x40b1a8,_0x49f991=_0x119df1=>_0x3d69a5[_0x25a48f(0x1e8)](_0x119df1);_0xe5814c[_0x25a48f(0xe5)](_0x25a48f(0x1b5),_0x49f991),_0x2e3b7f[_0x25a48f(0x242)](_0x736aee(()=>_0xe5814c[_0x25a48f(0x135)](_0x25a48f(0x1b5),_0x49f991)));})[_0x40b1a8(0xf6)](_0x2c2888())};}catch(_0x1fb260){return console[_0x40b1a8(0x1fb)](_0x1fb260),null;}}};Ne=rr([sr(0x0,_0x199cd5)],Ne);var ir=Object[_0x4638d0(0x202)],nr=Object[_0x4638d0(0x1c9)],or=(_0x3f8a27,_0x3977c2,_0x5524d4)=>_0x3977c2 in _0x3f8a27?ir(_0x3f8a27,_0x3977c2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5524d4}):_0x3f8a27[_0x3977c2]=_0x5524d4,ar=(_0x4db95e,_0x182d0b,_0x30268a,_0x374f3d)=>{const _0x46c80c=_0x4638d0;for(var _0x46631e=_0x374f3d>0x1?void 0x0:_0x374f3d?nr(_0x182d0b,_0x30268a):_0x182d0b,_0x1cdf90=_0x4db95e[_0x46c80c(0x157)]-0x1,_0x37ffe3;_0x1cdf90>=0x0;_0x1cdf90--)(_0x37ffe3=_0x4db95e[_0x1cdf90])&&(_0x46631e=_0x37ffe3(_0x46631e)||_0x46631e);return _0x46631e;},ke=(_0x219038,_0x2727e1)=>(_0x4db3b3,_0x7c7667)=>_0x2727e1(_0x4db3b3,_0x7c7667,_0x219038),lr=(_0x1a8455,_0x4543d0,_0x30ec2f)=>or(_0x1a8455,_0x4543d0+'',_0x30ec2f);let Pe=class extends _0x5ebfa7{constructor(_0x2d55b1=Ft,_0x5a01da,_0x457b92,_0x118b56){const _0x7e4ad=_0x4638d0;_0x2d55b1[_0x7e4ad(0x129)]||_0x5a01da[_0x7e4ad(0x26d)]('[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.'),super(),this['_configService']=_0x457b92,this[_0x7e4ad(0x1cc)]=_0x118b56,this[_0x7e4ad(0x103)][_0x7e4ad(0xde)](Be,_0x2d55b1);}[_0x4638d0(0x233)](){this['_registerDependencies']();}['_registerDependencies'](){const _0x2e2f50=_0x4638d0;_0x1b7600(this[_0x2e2f50(0x1cc)],[[_0x1f90cb,{'useClass':Ne}]]);}};lr(Pe,_0x4638d0(0x201),_0x4638d0(0x1f6)),Pe=ar([_0x124a30(_0x3982c2),ke(0x1,_0x1a49a2),ke(0x2,_0x199cd5),ke(0x3,_0x1551a4(_0x100aae))],Pe);var fr=Object[_0x4638d0(0x1c9)],cr=(_0x277c7c,_0x4017fc,_0x5b79be,_0x2e1145)=>{for(var _0x3216b7=_0x2e1145>0x1?void 0x0:_0x2e1145?fr(_0x4017fc,_0x5b79be):_0x4017fc,_0x3725c8=_0x277c7c['length']-0x1,_0x3ccaf4;_0x3725c8>=0x0;_0x3725c8--)(_0x3ccaf4=_0x277c7c[_0x3725c8])&&(_0x3216b7=_0x3ccaf4(_0x3216b7)||_0x3216b7);return _0x3216b7;},se=(_0xbcec92,_0x20d733)=>(_0xe6b6ec,_0xc3fd24)=>_0x20d733(_0xe6b6ec,_0xc3fd24,_0xbcec92);let at=class extends _0x44f365{constructor(_0x30ebbf,_0x4f94ed,_0x594605,_0x6f2158,_0xdef1a3){const _0x2d50e1=_0x4638d0;super(_0x30ebbf,_0x4f94ed,_0x594605,_0x6f2158,_0xdef1a3);const _0x1f7fbb=this[_0x2d50e1(0x103)][_0x2d50e1(0x1cf)](Be);this[_0x2d50e1(0xf3)][_0x2d50e1(0x1e1)]({'interceptor':(_0x286ba4,_0x50c1ab)=>{const _0x5ac6ff=_0x2d50e1;var _0x1075bc;const _0x19d40b=_0x286ba4['headers'];return(_0x1075bc=_0x1f7fbb==null?void 0x0:_0x1f7fbb['customHeaders'])!=null&&_0x1075bc[_0x5ac6ff(0x11f)]&&_0x19d40b[_0x5ac6ff(0x12c)]('Cookie',_0x1f7fbb[_0x5ac6ff(0x129)][_0x5ac6ff(0x11f)]),_0x50c1ab(_0x286ba4);}});}async[_0x4638d0(0x24c)](_0x131a89){const _0x237d61=_0x4638d0;return this[_0x237d61(0x14e)](_0x131a89);}};at=cr([se(0x0,_0x1551a4(_0x100aae)),se(0x1,_0x1551a4(_0x4ddacd)),se(0x2,_0x199cd5),se(0x3,_0x1a49a2),se(0x4,_0x1dad5e)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
|