@univerjs-pro/collaboration-client-node 0.15.0-insiders.20260106-79b11f9 → 0.15.0-insiders.20260107-3d1cfdf

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/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0x459da0=_0x3817;(function(_0x565016,_0x2fe849){const _0x21d920=_0x3817,_0x4de3f8=_0x565016();while(!![]){try{const _0x27bab0=parseInt(_0x21d920(0x25e))/0x1+-parseInt(_0x21d920(0x2d0))/0x2*(parseInt(_0x21d920(0x29e))/0x3)+-parseInt(_0x21d920(0x267))/0x4+parseInt(_0x21d920(0x249))/0x5+parseInt(_0x21d920(0x2c4))/0x6+-parseInt(_0x21d920(0x217))/0x7+parseInt(_0x21d920(0x190))/0x8;if(_0x27bab0===_0x2fe849)break;else _0x4de3f8['push'](_0x4de3f8['shift']());}catch(_0xef65d3){_0x4de3f8['push'](_0x4de3f8['shift']());}}}(_0x4cde,0x8ee0f));import{COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x15184b,UniverCollaborationClientPlugin as _0x2025bc,CollaborationSocketService as _0x266767}from'@univerjs-pro/collaboration-client';import{Disposable as _0x5acf1f,DisposableCollection as _0x2e4cb0,toDisposable as _0xf18d6d,IConfigService as _0x426d1c,DependentOn as _0x4503f3,Inject as _0xbb3839,Injector as _0x286f7a,Plugin as _0x2e6e80,registerDependencies as _0x1a576f,ILogService as _0x28fb7e}from'@univerjs/core';import{ISocketService as _0x5306f4,HTTPService as _0x179d7a}from'@univerjs/network';import{Observable as _0x366dfa,share as _0x5e0174}from'rxjs';import _0x341a96 from'events';import _0xf3034b from'https';import _0x4cd558 from'http';import _0x5f26fe from'net';import _0x340ec3 from'tls';import _0x3be3a3 from'crypto';import _0xe2e071 from'stream';import _0x3aa83b from'url';import _0x3294f3 from'zlib';import _0x35d9e2 from'buffer';import{ISnapshotServerService as _0x558699}from'@univerjs-pro/collaboration';const $t='collaboration-client-node.config',Ft={};function Wt(_0x8885e1){const _0x4e4c1c=_0x3817;return _0x8885e1&&_0x8885e1[_0x4e4c1c(0x2cf)]&&Object[_0x4e4c1c(0x22a)][_0x4e4c1c(0x2cc)][_0x4e4c1c(0x1f5)](_0x8885e1,_0x4e4c1c(0x218))?_0x8885e1[_0x4e4c1c(0x218)]:_0x8885e1;}function jt(_0xdfc8a3){const _0x421261=_0x3817;if(Object[_0x421261(0x22a)][_0x421261(0x2cc)][_0x421261(0x1f5)](_0xdfc8a3,_0x421261(0x2cf)))return _0xdfc8a3;var _0x247c17=_0xdfc8a3[_0x421261(0x218)];if(typeof _0x247c17==_0x421261(0x193)){var _0x2b0ba6=function _0x5eacfe(){const _0x1946b1=_0x421261;var _0x58792f=!0x1;try{_0x58792f=this instanceof _0x5eacfe;}catch{}return _0x58792f?Reflect['construct'](_0x247c17,arguments,this[_0x1946b1(0x21b)]):_0x247c17[_0x1946b1(0x2e2)](this,arguments);};_0x2b0ba6[_0x421261(0x22a)]=_0x247c17[_0x421261(0x22a)];}else _0x2b0ba6={};return Object[_0x421261(0x1c8)](_0x2b0ba6,_0x421261(0x2cf),{'value':!0x0}),Object[_0x421261(0x1ea)](_0xdfc8a3)[_0x421261(0x2d9)](function(_0x8b90fd){const _0x42a393=_0x421261;var _0x555be6=Object[_0x42a393(0x292)](_0xdfc8a3,_0x8b90fd);Object['defineProperty'](_0x2b0ba6,_0x8b90fd,_0x555be6[_0x42a393(0x229)]?_0x555be6:{'enumerable':!0x0,'get':function(){return _0xdfc8a3[_0x8b90fd];}});}),_0x2b0ba6;}var me,He;function V(){const _0x11d06b=_0x3817;if(He)return me;He=0x1;const _0x464a8c=[_0x11d06b(0x2d4),_0x11d06b(0x231),_0x11d06b(0x278)],_0x358d39=typeof Blob<'u';return _0x358d39&&_0x464a8c[_0x11d06b(0x1b6)](_0x11d06b(0x2f9)),me={'BINARY_TYPES':_0x464a8c,'EMPTY_BUFFER':Buffer[_0x11d06b(0x257)](0x0),'GUID':_0x11d06b(0x18c),'hasBlob':_0x358d39,'kForOnEventAttribute':Symbol(_0x11d06b(0x22f)),'kListener':Symbol(_0x11d06b(0x1b4)),'kStatusCode':Symbol(_0x11d06b(0x311)),'kWebSocket':Symbol(_0x11d06b(0x1c4)),'NOOP':()=>{}},me;}var ge,ze;function fe(){const _0x285372=_0x3817;if(ze)return ge;ze=0x1;const {EMPTY_BUFFER:_0x4c0716}=V(),_0x5c0232=Buffer[Symbol[_0x285372(0x269)]];function _0x18ea20(_0x1fb189,_0xe80c9b){const _0x174660=_0x285372;if(_0x1fb189[_0x174660(0x28e)]===0x0)return _0x4c0716;if(_0x1fb189[_0x174660(0x28e)]===0x1)return _0x1fb189[0x0];const _0x2d5236=Buffer['allocUnsafe'](_0xe80c9b);let _0x20525c=0x0;for(let _0x57185a=0x0;_0x57185a<_0x1fb189['length'];_0x57185a++){const _0x3ea123=_0x1fb189[_0x57185a];_0x2d5236[_0x174660(0x174)](_0x3ea123,_0x20525c),_0x20525c+=_0x3ea123[_0x174660(0x28e)];}return _0x20525c<_0xe80c9b?new _0x5c0232(_0x2d5236[_0x174660(0x1ee)],_0x2d5236[_0x174660(0x306)],_0x20525c):_0x2d5236;}function _0x1c4733(_0x2ecbf6,_0x5b1865,_0x38f255,_0x24fdd0,_0x5cf80d){for(let _0x10b826=0x0;_0x10b826<_0x5cf80d;_0x10b826++)_0x38f255[_0x24fdd0+_0x10b826]=_0x2ecbf6[_0x10b826]^_0x5b1865[_0x10b826&0x3];}function _0x3f509d(_0x27724c,_0x1446d0){const _0x2213a3=_0x285372;for(let _0x1e9232=0x0;_0x1e9232<_0x27724c[_0x2213a3(0x28e)];_0x1e9232++)_0x27724c[_0x1e9232]^=_0x1446d0[_0x1e9232&0x3];}function _0x5d6474(_0x100185){const _0x10a000=_0x285372;return _0x100185[_0x10a000(0x28e)]===_0x100185[_0x10a000(0x1ee)][_0x10a000(0x216)]?_0x100185[_0x10a000(0x1ee)]:_0x100185[_0x10a000(0x1ee)][_0x10a000(0x23f)](_0x100185[_0x10a000(0x306)],_0x100185[_0x10a000(0x306)]+_0x100185['length']);}function _0x55d501(_0x3147bb){const _0x4dc91d=_0x285372;if(_0x55d501[_0x4dc91d(0x1d2)]=!0x0,Buffer[_0x4dc91d(0x244)](_0x3147bb))return _0x3147bb;let _0x3f550e;return _0x3147bb instanceof ArrayBuffer?_0x3f550e=new _0x5c0232(_0x3147bb):ArrayBuffer['isView'](_0x3147bb)?_0x3f550e=new _0x5c0232(_0x3147bb[_0x4dc91d(0x1ee)],_0x3147bb[_0x4dc91d(0x306)],_0x3147bb[_0x4dc91d(0x216)]):(_0x3f550e=Buffer[_0x4dc91d(0x24d)](_0x3147bb),_0x55d501[_0x4dc91d(0x1d2)]=!0x1),_0x3f550e;}return ge={'concat':_0x18ea20,'mask':_0x1c4733,'toArrayBuffer':_0x5d6474,'toBuffer':_0x55d501,'unmask':_0x3f509d},ge;}var ye,Ye;function Gt(){const _0x45ef96=_0x3817;if(Ye)return ye;Ye=0x1;const _0x180535=Symbol(_0x45ef96(0x246)),_0x1c7642=Symbol(_0x45ef96(0x1cb));class _0x1bc998{constructor(_0x53bd63){const _0x4e92a1=_0x45ef96;this[_0x180535]=()=>{const _0x485ee9=_0x3817;this[_0x485ee9(0x19d)]--,this[_0x1c7642]();},this['concurrency']=_0x53bd63||0x1/0x0,this['jobs']=[],this[_0x4e92a1(0x19d)]=0x0;}[_0x45ef96(0x28b)](_0x38e6fd){const _0x177f71=_0x45ef96;this['jobs'][_0x177f71(0x1b6)](_0x38e6fd),this[_0x1c7642]();}[_0x1c7642](){const _0x149604=_0x45ef96;if(this[_0x149604(0x19d)]!==this[_0x149604(0x2b3)]&&this[_0x149604(0x256)][_0x149604(0x28e)]){const _0x17be24=this[_0x149604(0x256)][_0x149604(0x27d)]();this[_0x149604(0x19d)]++,_0x17be24(this[_0x180535]);}}}return ye=_0x1bc998,ye;}var ve,Ke;function ce(){const _0x5740d5=_0x3817;if(Ke)return ve;Ke=0x1;const _0x458114=_0x3294f3,_0x24ebaf=fe(),_0x5f007b=Gt(),{kStatusCode:_0x1151aa}=V(),_0x547363=Buffer[Symbol[_0x5740d5(0x269)]],_0x5ab563=Buffer['from']([0x0,0x0,0xff,0xff]),_0x1f9720=Symbol(_0x5740d5(0x2bf)),_0x14996e=Symbol(_0x5740d5(0x2dd)),_0x28dba7=Symbol(_0x5740d5(0x26a)),_0x8ed8ce=Symbol(_0x5740d5(0x1db)),_0x5852d0=Symbol('error');let _0x4f5bc5;class _0x434f26{constructor(_0x735b73,_0x8948ae,_0x5a10d8){const _0x1c163d=_0x5740d5;if(this[_0x1c163d(0x20f)]=_0x5a10d8|0x0,this[_0x1c163d(0x1b3)]=_0x735b73||{},this['_threshold']=this['_options']['threshold']!==void 0x0?this[_0x1c163d(0x1b3)][_0x1c163d(0x24b)]:0x400,this['_isServer']=!!_0x8948ae,this[_0x1c163d(0x1fe)]=null,this[_0x1c163d(0x239)]=null,this[_0x1c163d(0x2b7)]=null,!_0x4f5bc5){const _0x3fb169=this[_0x1c163d(0x1b3)][_0x1c163d(0x284)]!==void 0x0?this[_0x1c163d(0x1b3)][_0x1c163d(0x284)]:0xa;_0x4f5bc5=new _0x5f007b(_0x3fb169);}}static get['extensionName'](){const _0x210571=_0x5740d5;return _0x210571(0x2bf);}[_0x5740d5(0x21d)](){const _0x33c3bf=_0x5740d5,_0x5842f7={};return this[_0x33c3bf(0x1b3)][_0x33c3bf(0x261)]&&(_0x5842f7[_0x33c3bf(0x183)]=!0x0),this[_0x33c3bf(0x1b3)]['clientNoContextTakeover']&&(_0x5842f7[_0x33c3bf(0x1e6)]=!0x0),this['_options'][_0x33c3bf(0x187)]&&(_0x5842f7[_0x33c3bf(0x237)]=this['_options'][_0x33c3bf(0x187)]),this[_0x33c3bf(0x1b3)][_0x33c3bf(0x2f7)]?_0x5842f7[_0x33c3bf(0x29b)]=this[_0x33c3bf(0x1b3)][_0x33c3bf(0x2f7)]:this[_0x33c3bf(0x1b3)][_0x33c3bf(0x2f7)]==null&&(_0x5842f7[_0x33c3bf(0x29b)]=!0x0),_0x5842f7;}[_0x5740d5(0x1cc)](_0xe6f3ba){const _0x33a536=_0x5740d5;return _0xe6f3ba=this['normalizeParams'](_0xe6f3ba),this[_0x33a536(0x2b7)]=this[_0x33a536(0x279)]?this[_0x33a536(0x1e3)](_0xe6f3ba):this[_0x33a536(0x2b6)](_0xe6f3ba),this[_0x33a536(0x2b7)];}[_0x5740d5(0x1da)](){const _0xaf7119=_0x5740d5;if(this[_0xaf7119(0x239)]&&(this[_0xaf7119(0x239)]['close'](),this[_0xaf7119(0x239)]=null),this['_deflate']){const _0x4f7c56=this[_0xaf7119(0x1fe)][_0x28dba7];this[_0xaf7119(0x1fe)][_0xaf7119(0x27c)](),this[_0xaf7119(0x1fe)]=null,_0x4f7c56&&_0x4f7c56(new Error(_0xaf7119(0x25d)));}}[_0x5740d5(0x1e3)](_0x4ae8ae){const _0x4169d3=_0x5740d5,_0x54eae2=this['_options'],_0x22bf5b=_0x4ae8ae['find'](_0x5e11f9=>!(_0x54eae2[_0x4169d3(0x261)]===!0x1&&_0x5e11f9[_0x4169d3(0x183)]||_0x5e11f9['server_max_window_bits']&&(_0x54eae2['serverMaxWindowBits']===!0x1||typeof _0x54eae2[_0x4169d3(0x187)]==_0x4169d3(0x28a)&&_0x54eae2[_0x4169d3(0x187)]>_0x5e11f9[_0x4169d3(0x237)])||typeof _0x54eae2[_0x4169d3(0x2f7)]==_0x4169d3(0x28a)&&!_0x5e11f9[_0x4169d3(0x29b)]));if(!_0x22bf5b)throw new Error(_0x4169d3(0x1f7));return _0x54eae2[_0x4169d3(0x261)]&&(_0x22bf5b[_0x4169d3(0x183)]=!0x0),_0x54eae2[_0x4169d3(0x175)]&&(_0x22bf5b[_0x4169d3(0x1e6)]=!0x0),typeof _0x54eae2[_0x4169d3(0x187)]==_0x4169d3(0x28a)&&(_0x22bf5b[_0x4169d3(0x237)]=_0x54eae2[_0x4169d3(0x187)]),typeof _0x54eae2[_0x4169d3(0x2f7)]=='number'?_0x22bf5b[_0x4169d3(0x29b)]=_0x54eae2[_0x4169d3(0x2f7)]:(_0x22bf5b[_0x4169d3(0x29b)]===!0x0||_0x54eae2[_0x4169d3(0x2f7)]===!0x1)&&delete _0x22bf5b[_0x4169d3(0x29b)],_0x22bf5b;}[_0x5740d5(0x2b6)](_0x112cb8){const _0x3bbf76=_0x5740d5,_0x521183=_0x112cb8[0x0];if(this[_0x3bbf76(0x1b3)][_0x3bbf76(0x175)]===!0x1&&_0x521183['client_no_context_takeover'])throw new Error(_0x3bbf76(0x1f0));if(!_0x521183['client_max_window_bits'])typeof this[_0x3bbf76(0x1b3)]['clientMaxWindowBits']==_0x3bbf76(0x28a)&&(_0x521183[_0x3bbf76(0x29b)]=this[_0x3bbf76(0x1b3)][_0x3bbf76(0x2f7)]);else{if(this['_options'][_0x3bbf76(0x2f7)]===!0x1||typeof this[_0x3bbf76(0x1b3)][_0x3bbf76(0x2f7)]==_0x3bbf76(0x28a)&&_0x521183[_0x3bbf76(0x29b)]>this[_0x3bbf76(0x1b3)][_0x3bbf76(0x2f7)])throw new Error(_0x3bbf76(0x2ab));}return _0x521183;}[_0x5740d5(0x2da)](_0xaec672){const _0xd0119e=_0x5740d5;return _0xaec672[_0xd0119e(0x2d9)](_0x909268=>{const _0x5e0a74=_0xd0119e;Object[_0x5e0a74(0x1ea)](_0x909268)[_0x5e0a74(0x2d9)](_0x33e396=>{const _0x129812=_0x5e0a74;let _0x21c021=_0x909268[_0x33e396];if(_0x21c021[_0x129812(0x28e)]>0x1)throw new Error(_0x129812(0x2c7)+_0x33e396+'\x22\x20must\x20have\x20only\x20a\x20single\x20value');if(_0x21c021=_0x21c021[0x0],_0x33e396===_0x129812(0x29b)){if(_0x21c021!==!0x0){const _0x480647=+_0x21c021;if(!Number[_0x129812(0x1ba)](_0x480647)||_0x480647<0x8||_0x480647>0xf)throw new TypeError(_0x129812(0x1d9)+_0x33e396+_0x129812(0x1fa)+_0x21c021);_0x21c021=_0x480647;}else{if(!this[_0x129812(0x279)])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x33e396+_0x129812(0x1fa)+_0x21c021);}}else{if(_0x33e396===_0x129812(0x237)){const _0x20c9b2=+_0x21c021;if(!Number[_0x129812(0x1ba)](_0x20c9b2)||_0x20c9b2<0x8||_0x20c9b2>0xf)throw new TypeError(_0x129812(0x1d9)+_0x33e396+'\x22:\x20'+_0x21c021);_0x21c021=_0x20c9b2;}else{if(_0x33e396===_0x129812(0x1e6)||_0x33e396===_0x129812(0x183)){if(_0x21c021!==!0x0)throw new TypeError(_0x129812(0x1d9)+_0x33e396+'\x22:\x20'+_0x21c021);}else throw new Error('Unknown\x20parameter\x20\x22'+_0x33e396+'\x22');}}_0x909268[_0x33e396]=_0x21c021;});}),_0xaec672;}[_0x5740d5(0x1fb)](_0x4cd107,_0xef02e0,_0x3fc5ef){const _0x5eb653=_0x5740d5;_0x4f5bc5[_0x5eb653(0x28b)](_0x2fd899=>{const _0x30154d=_0x5eb653;this[_0x30154d(0x1e1)](_0x4cd107,_0xef02e0,(_0x24158b,_0x398ceb)=>{_0x2fd899(),_0x3fc5ef(_0x24158b,_0x398ceb);});});}[_0x5740d5(0x182)](_0x48fa53,_0x364707,_0x100170){const _0x1dcfe7=_0x5740d5;_0x4f5bc5[_0x1dcfe7(0x28b)](_0x25f227=>{this['_compress'](_0x48fa53,_0x364707,(_0x2b32bf,_0x5e60ab)=>{_0x25f227(),_0x100170(_0x2b32bf,_0x5e60ab);});});}[_0x5740d5(0x1e1)](_0x117296,_0x96af2a,_0x725022){const _0x264b49=_0x5740d5,_0xadcbd2=this['_isServer']?_0x264b49(0x18e):_0x264b49(0x205);if(!this[_0x264b49(0x239)]){const _0x19d33e=_0xadcbd2+_0x264b49(0x172),_0x337ea1=typeof this[_0x264b49(0x2b7)][_0x19d33e]!=_0x264b49(0x28a)?_0x458114[_0x264b49(0x2ed)]:this['params'][_0x19d33e];this[_0x264b49(0x239)]=_0x458114[_0x264b49(0x1b5)]({...this[_0x264b49(0x1b3)][_0x264b49(0x1a9)],'windowBits':_0x337ea1}),this[_0x264b49(0x239)][_0x1f9720]=this,this['_inflate'][_0x14996e]=0x0,this[_0x264b49(0x239)][_0x8ed8ce]=[],this[_0x264b49(0x239)]['on'](_0x264b49(0x219),_0x288797),this[_0x264b49(0x239)]['on'](_0x264b49(0x207),_0x592777);}this[_0x264b49(0x239)][_0x28dba7]=_0x725022,this[_0x264b49(0x239)][_0x264b49(0x1e9)](_0x117296),_0x96af2a&&this[_0x264b49(0x239)][_0x264b49(0x1e9)](_0x5ab563),this['_inflate'][_0x264b49(0x26f)](()=>{const _0x5d3e3e=_0x264b49,_0x94bc60=this[_0x5d3e3e(0x239)][_0x5852d0];if(_0x94bc60){this['_inflate']['close'](),this[_0x5d3e3e(0x239)]=null,_0x725022(_0x94bc60);return;}const _0x1bd2a2=_0x24ebaf['concat'](this[_0x5d3e3e(0x239)][_0x8ed8ce],this[_0x5d3e3e(0x239)][_0x14996e]);this[_0x5d3e3e(0x239)][_0x5d3e3e(0x16e)][_0x5d3e3e(0x16b)]?(this[_0x5d3e3e(0x239)][_0x5d3e3e(0x27c)](),this[_0x5d3e3e(0x239)]=null):(this['_inflate'][_0x14996e]=0x0,this[_0x5d3e3e(0x239)][_0x8ed8ce]=[],_0x96af2a&&this[_0x5d3e3e(0x2b7)][_0xadcbd2+_0x5d3e3e(0x1f4)]&&this[_0x5d3e3e(0x239)][_0x5d3e3e(0x16a)]()),_0x725022(null,_0x1bd2a2);});}[_0x5740d5(0x2e7)](_0x10acd4,_0x4125f2,_0x4ad7fc){const _0x1f7769=_0x5740d5,_0x430948=this['_isServer']?_0x1f7769(0x205):_0x1f7769(0x18e);if(!this[_0x1f7769(0x1fe)]){const _0x56af0e=_0x430948+_0x1f7769(0x172),_0x416fc1=typeof this[_0x1f7769(0x2b7)][_0x56af0e]!=_0x1f7769(0x28a)?_0x458114[_0x1f7769(0x2ed)]:this[_0x1f7769(0x2b7)][_0x56af0e];this[_0x1f7769(0x1fe)]=_0x458114[_0x1f7769(0x277)]({...this['_options']['zlibDeflateOptions'],'windowBits':_0x416fc1}),this[_0x1f7769(0x1fe)][_0x14996e]=0x0,this[_0x1f7769(0x1fe)][_0x8ed8ce]=[],this['_deflate']['on'](_0x1f7769(0x207),_0x113682);}this[_0x1f7769(0x1fe)][_0x28dba7]=_0x4ad7fc,this[_0x1f7769(0x1fe)]['write'](_0x10acd4),this[_0x1f7769(0x1fe)][_0x1f7769(0x26f)](_0x458114[_0x1f7769(0x2a9)],()=>{const _0x5614e2=_0x1f7769;if(!this[_0x5614e2(0x1fe)])return;let _0x1910cc=_0x24ebaf['concat'](this['_deflate'][_0x8ed8ce],this[_0x5614e2(0x1fe)][_0x14996e]);_0x4125f2&&(_0x1910cc=new _0x547363(_0x1910cc[_0x5614e2(0x1ee)],_0x1910cc[_0x5614e2(0x306)],_0x1910cc[_0x5614e2(0x28e)]-0x4)),this[_0x5614e2(0x1fe)][_0x28dba7]=null,this[_0x5614e2(0x1fe)][_0x14996e]=0x0,this[_0x5614e2(0x1fe)][_0x8ed8ce]=[],_0x4125f2&&this[_0x5614e2(0x2b7)][_0x430948+'_no_context_takeover']&&this['_deflate'][_0x5614e2(0x16a)](),_0x4ad7fc(null,_0x1910cc);});}}ve=_0x434f26;function _0x113682(_0x272e7a){const _0xe81a9c=_0x5740d5;this[_0x8ed8ce][_0xe81a9c(0x1b6)](_0x272e7a),this[_0x14996e]+=_0x272e7a['length'];}function _0x592777(_0x58e75){const _0x363dc1=_0x5740d5;if(this[_0x14996e]+=_0x58e75['length'],this[_0x1f9720][_0x363dc1(0x20f)]<0x1||this[_0x14996e]<=this[_0x1f9720]['_maxPayload']){this[_0x8ed8ce][_0x363dc1(0x1b6)](_0x58e75);return;}this[_0x5852d0]=new RangeError(_0x363dc1(0x1bf)),this[_0x5852d0]['code']=_0x363dc1(0x23a),this[_0x5852d0][_0x1151aa]=0x3f1,this[_0x363dc1(0x243)](_0x363dc1(0x207),_0x592777),this['reset']();}function _0x288797(_0x34addf){if(this[_0x1f9720]['_inflate']=null,this[_0x5852d0]){this[_0x28dba7](this[_0x5852d0]);return;}_0x34addf[_0x1151aa]=0x3ef,this[_0x28dba7](_0x34addf);}return ve;}function _0x4cde(){const _0x2c1cc9=['startLoop','Unexpected\x20end\x20of\x20input','setTimeout','createError','apply','getData','sec-websocket-extensions','fin','_fragmented','_compress','Invalid\x20Sec-WebSocket-Extensions\x20header','_configService','hash','reason','_closeTimer','Z_DEFAULT_WINDOWBITS','setConfig','address','pause','_autoPong','terminate','message','create','cookie','followRedirects','clientMaxWindowBits','handleUpgrade','blob','port','needDrain','kTarget','getInfo','redirect','verifyClient','text/plain','_mask','text/html','onclose','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','then','byteOffset','socketPath','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','The\x20URL\x20contains\x20a\x20fragment\x20identifier','password','toLowerCase','writeHead','The\x20\x22','toString','_queue','status-code','includes','_compressed','getPayloadLength16','arrayBuffer','encrypted','WebSocket\x20is\x20not\x20open:\x20readyState\x20','uncork','http:','object','statusCode','reset','endEmitted','invalid\x20UTF-8\x20sequence','auth','_readableState','completeUpgrade','_receiver','maxPayload','_max_window_bits','map','set','clientNoContextTakeover','kWasClean','path','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','wsClientError','_skipUTF8Validation','listeners','_allowSynchronousEvents','servername','opcode','backlog','WS_ERR_INVALID_CLOSE_CODE','target','compress','server_no_context_takeover','Sec-WebSocket-Accept:\x20','kType','autoPong','serverMaxWindowBits','_sender','has','exports','_shouldEmitClose','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','_generateMask','client','_originalSecure','975512xBDCZS','_bufferedBytes','_url','function','allowSynchronousEvents','_opcode','authorized','wss:','dataMessage','WS_NO_UTF_8_VALIDATE','removeEventListener','defaultPort','href','pending','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','isPaused','_readyState','pong','destroyed','sec-websocket-protocol','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','WebSocket','resume','extensions','WS_ERR_EXPECTED_MASK','zlibInflateOptions','kAborted','WS_ERR_INVALID_UTF8','getBlobData','ws:','WS_ERR_UNEXPECTED_RSV_2_3','Server\x20sent\x20no\x20subprotocol','_socket','open','invalid\x20opcode\x20','_options','kListener','createInflateRaw','push','invalid\x20opcode\x200','Upgrade:\x20websocket','onStarting','isInteger','nextTick','end','dequeue','emitClose','Max\x20payload\x20size\x20exceeded','_closeCode','\x0d\x0a\x0d\x0a','conclude','frame','websocket','CONNECTING','_payloadLength','update','defineProperty','_final','setNoDelay','kRun','accept','charCodeAt','_redirects','FIN\x20must\x20be\x20set','isServer','_bufferedAmount','readOnly','Invalid\x20Sec-WebSocket-Accept\x20header','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','captureStackTrace','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','maskBuffer','Invalid\x20Sec-WebSocket-Protocol\x20header','Invalid\x20value\x20for\x20parameter\x20\x22','cleanup','buffers','url','WS_ERR_UNEXPECTED_MASK','setSocket','_totalPayloadLength','noServer','_decompress','errorEmitted','acceptAsServer','kError','haveLength','client_no_context_takeover','binary','Unexpected\x20server\x20response:\x20','write','keys','_firstFragment','value','CLOSED','buffer','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','enqueue','hostname','username','_no_context_takeover','call','listenerCount','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','cork','Basic\x20','\x22:\x20','decompress','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','binaryType','_deflate','HTTP/1.1\x20101\x20Switching\x20Protocols','clients','pluginName','string','wasClean','MASK\x20must\x20be\x20set','server','The\x20URL\x27s\x20pathname\x20is\x20empty','data','rsv1','writeUIntBE','GET','options','read','code','sendFrame','_maxPayload','perMessageDeflate','base64','Invalid\x20Upgrade\x20header','customHeaders','_writableState','clientTracking','byteLength','1926351zezSRl','default','error','once','constructor','mask','offer','host','writeUInt16BE','_removeListeners','type','_state','invalid\x20payload\x20length\x20','pipe','sec-websocket-key','send','_write','pow','get','prototype','handleProtocols','Unexpected\x20character\x20at\x20index\x20','_destroy','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','kIsForOnEventAttribute','Upgrade','arraybuffer','sec-websocket-version','isValidUTF8','kMessage','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','sha1','server_max_window_bits','Invalid\x20URL:\x20','_inflate','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','next','_originalIpc','OPEN','getConfig','slice','indexOf','values','size','removeListener','isBuffer','connect','kDone','request','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','1980655MtQMDJ','extensionName','threshold','delete','from','onerror','readyState','kByteLength','objectMode','_binaryType','Invalid\x20WebSocket\x20frame:\x20','getPayloadLength64','_req','jobs','alloc','RSV1\x20must\x20be\x20clear','unexpected-response','getMask','STATUS_CODES','toStringTag','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','551024fFIvzq','https:','Connection:\x20Upgrade','serverNoContextTakeover','authorization','env','File','Maximum\x20redirects\x20exceeded','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','1315312gKtRWI','protocolVersion','species','callback','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','protocol','_maskBuffer','parse','flush','bufferedAmount','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','readable','split','finishRequest','upgrade','emit','createDeflateRaw','fragments','_isServer','_closeMessage','pathname','close','shift','digest','concat','kCode','ping','_closeFrameSent','\x22\x20subprotocol\x20is\x20duplicated','concurrencyLimit','_buffers','replace','controlMessage','finish','_server','number','add','_paused','sec-websocket-origin','length','allocUnsafe','The\x20server\x20is\x20not\x20running','_registerDependencies','getOwnPropertyDescriptor','CLOSING','_originalHostOrSocketPath','socket','origin','drain','kData','listen','Unsupported\x20protocol\x20version:\x20','client_max_window_bits','_fin','maxRedirects','633bAFzLI','isArray','skipUTF8Validation','\x20(supported\x20versions:\x20','_masked','onopen','connection','test','_protocol','WS_ERR_EXPECTED_FIN','HTTP/1.1\x20','Z_SYNC_FLUSH','_messageLength','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','headers','_errored','createConnection','onmessage','destroy','WS_ERR_INVALID_OPCODE','_doCreateSocket','concurrency','setHeader','_loop','acceptAsClient','params','_httpService','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','timeout','finished','dispatch','isIP','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','permessage-deflate','Sec-WebSocket-Protocol','13,\x208','_threshold','abort','5711520PHajsk','consume','handleEvent','Parameter\x20\x22','_errorEmitted','_closeFrameReceived','_fragments','_injector','hasOwnProperty','Blob','createServer','__esModule','7884XExIuV','shouldHandle','readUInt32BE','createSocket','nodebuffer','Invalid\x20HTTP\x20method','readUInt16BE','join','addEventListener','forEach','normalizeParams','bind','_extensions','total-length'];_0x4cde=function(){return _0x2c1cc9;};return _0x4cde();}var te={'exports':{}};const Vt={},qt=Object['freeze'](Object[_0x459da0(0x1c8)]({'__proto__':null,'default':Vt},Symbol[_0x459da0(0x25c)],{'value':'Module'})),Ht=jt(qt);var Xe;function ie(){const _0x2d6b68=_0x459da0;if(Xe)return te[_0x2d6b68(0x18a)];Xe=0x1;const {isUtf8:_0x1481cc}=_0x35d9e2,{hasBlob:_0x1482bf}=V(),_0x3cef71=[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 _0xa7f15(_0x43e672){return _0x43e672>=0x3e8&&_0x43e672<=0x3f6&&_0x43e672!==0x3ec&&_0x43e672!==0x3ed&&_0x43e672!==0x3ee||_0x43e672>=0xbb8&&_0x43e672<=0x1387;}function _0x44aab0(_0x2c88c3){const _0xc976e4=_0x2d6b68,_0x52c675=_0x2c88c3[_0xc976e4(0x28e)];let _0x479304=0x0;for(;_0x479304<_0x52c675;)if((_0x2c88c3[_0x479304]&0x80)===0x0)_0x479304++;else{if((_0x2c88c3[_0x479304]&0xe0)===0xc0){if(_0x479304+0x1===_0x52c675||(_0x2c88c3[_0x479304+0x1]&0xc0)!==0x80||(_0x2c88c3[_0x479304]&0xfe)===0xc0)return!0x1;_0x479304+=0x2;}else{if((_0x2c88c3[_0x479304]&0xf0)===0xe0){if(_0x479304+0x2>=_0x52c675||(_0x2c88c3[_0x479304+0x1]&0xc0)!==0x80||(_0x2c88c3[_0x479304+0x2]&0xc0)!==0x80||_0x2c88c3[_0x479304]===0xe0&&(_0x2c88c3[_0x479304+0x1]&0xe0)===0x80||_0x2c88c3[_0x479304]===0xed&&(_0x2c88c3[_0x479304+0x1]&0xe0)===0xa0)return!0x1;_0x479304+=0x3;}else{if((_0x2c88c3[_0x479304]&0xf8)===0xf0){if(_0x479304+0x3>=_0x52c675||(_0x2c88c3[_0x479304+0x1]&0xc0)!==0x80||(_0x2c88c3[_0x479304+0x2]&0xc0)!==0x80||(_0x2c88c3[_0x479304+0x3]&0xc0)!==0x80||_0x2c88c3[_0x479304]===0xf0&&(_0x2c88c3[_0x479304+0x1]&0xf0)===0x80||_0x2c88c3[_0x479304]===0xf4&&_0x2c88c3[_0x479304+0x1]>0x8f||_0x2c88c3[_0x479304]>0xf4)return!0x1;_0x479304+=0x4;}else return!0x1;}}}return!0x0;}function _0x464163(_0x40d724){const _0x1574d8=_0x2d6b68;return _0x1482bf&&typeof _0x40d724==_0x1574d8(0x31a)&&typeof _0x40d724[_0x1574d8(0x315)]=='function'&&typeof _0x40d724['type']==_0x1574d8(0x202)&&typeof _0x40d724['stream']==_0x1574d8(0x193)&&(_0x40d724[Symbol[_0x1574d8(0x25c)]]===_0x1574d8(0x2cd)||_0x40d724[Symbol[_0x1574d8(0x25c)]]===_0x1574d8(0x264));}if(te['exports']={'isBlob':_0x464163,'isValidStatusCode':_0xa7f15,'isValidUTF8':_0x44aab0,'tokenChars':_0x3cef71},_0x1481cc)te['exports'][_0x2d6b68(0x233)]=function(_0x200e38){const _0x1ea075=_0x2d6b68;return _0x200e38[_0x1ea075(0x28e)]<0x18?_0x44aab0(_0x200e38):_0x1481cc(_0x200e38);};else{if(!process[_0x2d6b68(0x263)][_0x2d6b68(0x199)])try{const _0x416cd1=Ht;te[_0x2d6b68(0x18a)][_0x2d6b68(0x233)]=function(_0x3359bd){const _0x572268=_0x2d6b68;return _0x3359bd[_0x572268(0x28e)]<0x20?_0x44aab0(_0x3359bd):_0x416cd1(_0x3359bd);};}catch{}}return te[_0x2d6b68(0x18a)];}var Se,Ze;function ht(){const _0x4046fb=_0x459da0;if(Ze)return Se;Ze=0x1;const {Writable:_0x739223}=_0xe2e071,_0x4bc9ab=ce(),{BINARY_TYPES:_0x15a0f6,EMPTY_BUFFER:_0x387dde,kStatusCode:_0x131f37,kWebSocket:_0x1f2d9d}=V(),{concat:_0x98b367,toArrayBuffer:_0x107d79,unmask:_0x2505c9}=fe(),{isValidStatusCode:_0x222ea6,isValidUTF8:_0x4172a2}=ie(),_0x152bc6=Buffer[Symbol['species']],_0x1ec161=0x0,_0x555a05=0x1,_0x339458=0x2,_0xa6be90=0x3,_0x172559=0x4,_0x90772=0x5,_0x367502=0x6;class _0x220913 extends _0x739223{constructor(_0x465db7={}){const _0x3459cf=_0x3817;super(),this[_0x3459cf(0x17c)]=_0x465db7[_0x3459cf(0x194)]!==void 0x0?_0x465db7[_0x3459cf(0x194)]:!0x0,this[_0x3459cf(0x252)]=_0x465db7['binaryType']||_0x15a0f6[0x0],this['_extensions']=_0x465db7[_0x3459cf(0x1a7)]||{},this[_0x3459cf(0x279)]=!!_0x465db7[_0x3459cf(0x1d0)],this[_0x3459cf(0x20f)]=_0x465db7[_0x3459cf(0x171)]|0x0,this[_0x3459cf(0x17a)]=!!_0x465db7[_0x3459cf(0x2a0)],this[_0x1f2d9d]=void 0x0,this[_0x3459cf(0x191)]=0x0,this[_0x3459cf(0x285)]=[],this[_0x3459cf(0x313)]=!0x1,this['_payloadLength']=0x0,this['_mask']=void 0x0,this['_fragmented']=0x0,this['_masked']=!0x1,this[_0x3459cf(0x29c)]=!0x1,this['_opcode']=0x0,this[_0x3459cf(0x1df)]=0x0,this['_messageLength']=0x0,this['_fragments']=[],this['_errored']=!0x1,this[_0x3459cf(0x2b5)]=!0x1,this[_0x3459cf(0x222)]=_0x1ec161;}[_0x4046fb(0x227)](_0x25f885,_0x348ed3,_0x38e0ab){const _0x265d9b=_0x4046fb;if(this[_0x265d9b(0x195)]===0x8&&this[_0x265d9b(0x222)]==_0x1ec161)return _0x38e0ab();this[_0x265d9b(0x191)]+=_0x25f885[_0x265d9b(0x28e)],this[_0x265d9b(0x285)]['push'](_0x25f885),this[_0x265d9b(0x2de)](_0x38e0ab);}[_0x4046fb(0x2c5)](_0x179820){const _0x42a5b4=_0x4046fb;if(this[_0x42a5b4(0x191)]-=_0x179820,_0x179820===this[_0x42a5b4(0x285)][0x0][_0x42a5b4(0x28e)])return this[_0x42a5b4(0x285)][_0x42a5b4(0x27d)]();if(_0x179820<this[_0x42a5b4(0x285)][0x0][_0x42a5b4(0x28e)]){const _0x23cef8=this[_0x42a5b4(0x285)][0x0];return this[_0x42a5b4(0x285)][0x0]=new _0x152bc6(_0x23cef8[_0x42a5b4(0x1ee)],_0x23cef8[_0x42a5b4(0x306)]+_0x179820,_0x23cef8[_0x42a5b4(0x28e)]-_0x179820),new _0x152bc6(_0x23cef8[_0x42a5b4(0x1ee)],_0x23cef8['byteOffset'],_0x179820);}const _0x13d0ed=Buffer[_0x42a5b4(0x28f)](_0x179820);do{const _0x318049=this[_0x42a5b4(0x285)][0x0],_0x21aebe=_0x13d0ed[_0x42a5b4(0x28e)]-_0x179820;_0x179820>=_0x318049[_0x42a5b4(0x28e)]?_0x13d0ed[_0x42a5b4(0x174)](this[_0x42a5b4(0x285)][_0x42a5b4(0x27d)](),_0x21aebe):(_0x13d0ed['set'](new Uint8Array(_0x318049[_0x42a5b4(0x1ee)],_0x318049[_0x42a5b4(0x306)],_0x179820),_0x21aebe),this[_0x42a5b4(0x285)][0x0]=new _0x152bc6(_0x318049[_0x42a5b4(0x1ee)],_0x318049[_0x42a5b4(0x306)]+_0x179820,_0x318049[_0x42a5b4(0x28e)]-_0x179820)),_0x179820-=_0x318049[_0x42a5b4(0x28e)];}while(_0x179820>0x0);return _0x13d0ed;}[_0x4046fb(0x2de)](_0x5311d9){const _0x331a5c=_0x4046fb;this[_0x331a5c(0x2b5)]=!0x0;do switch(this[_0x331a5c(0x222)]){case _0x1ec161:this[_0x331a5c(0x2fd)](_0x5311d9);break;case _0x555a05:this[_0x331a5c(0x314)](_0x5311d9);break;case _0x339458:this[_0x331a5c(0x254)](_0x5311d9);break;case _0xa6be90:this[_0x331a5c(0x25a)]();break;case _0x172559:this[_0x331a5c(0x2e3)](_0x5311d9);break;case _0x90772:case _0x367502:this[_0x331a5c(0x2b5)]=!0x1;return;}while(this[_0x331a5c(0x2b5)]);this[_0x331a5c(0x2ad)]||_0x5311d9();}[_0x4046fb(0x2fd)](_0x66fd79){const _0x1c17e0=_0x4046fb;if(this[_0x1c17e0(0x191)]<0x2){this['_loop']=!0x1;return;}const _0x4223a2=this[_0x1c17e0(0x2c5)](0x2);if((_0x4223a2[0x0]&0x30)!==0x0){const _0x405f32=this[_0x1c17e0(0x2e1)](RangeError,_0x1c17e0(0x271),!0x0,0x3ea,_0x1c17e0(0x1ae));_0x66fd79(_0x405f32);return;}const _0x135fca=(_0x4223a2[0x0]&0x40)===0x40;if(_0x135fca&&!this[_0x1c17e0(0x2dc)][_0x4bc9ab[_0x1c17e0(0x24a)]]){const _0x1f9db8=this[_0x1c17e0(0x2e1)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x66fd79(_0x1f9db8);return;}if(this['_fin']=(_0x4223a2[0x0]&0x80)===0x80,this[_0x1c17e0(0x195)]=_0x4223a2[0x0]&0xf,this['_payloadLength']=_0x4223a2[0x1]&0x7f,this['_opcode']===0x0){if(_0x135fca){const _0x10d575=this[_0x1c17e0(0x2e1)](RangeError,_0x1c17e0(0x258),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x66fd79(_0x10d575);return;}if(!this[_0x1c17e0(0x2e6)]){const _0xb923d3=this[_0x1c17e0(0x2e1)](RangeError,_0x1c17e0(0x1b7),!0x0,0x3ea,_0x1c17e0(0x2b1));_0x66fd79(_0xb923d3);return;}this[_0x1c17e0(0x195)]=this['_fragmented'];}else{if(this[_0x1c17e0(0x195)]===0x1||this['_opcode']===0x2){if(this[_0x1c17e0(0x2e6)]){const _0x525f94=this[_0x1c17e0(0x2e1)](RangeError,_0x1c17e0(0x1b2)+this[_0x1c17e0(0x195)],!0x0,0x3ea,_0x1c17e0(0x2b1));_0x66fd79(_0x525f94);return;}this[_0x1c17e0(0x313)]=_0x135fca;}else{if(this[_0x1c17e0(0x195)]>0x7&&this[_0x1c17e0(0x195)]<0xb){if(!this['_fin']){const _0x46092e=this[_0x1c17e0(0x2e1)](RangeError,_0x1c17e0(0x1cf),!0x0,0x3ea,_0x1c17e0(0x2a7));_0x66fd79(_0x46092e);return;}if(_0x135fca){const _0x5cd052=this['createError'](RangeError,_0x1c17e0(0x258),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x66fd79(_0x5cd052);return;}if(this[_0x1c17e0(0x1c6)]>0x7d||this[_0x1c17e0(0x195)]===0x8&&this[_0x1c17e0(0x1c6)]===0x1){const _0x2b243c=this[_0x1c17e0(0x2e1)](RangeError,_0x1c17e0(0x223)+this[_0x1c17e0(0x1c6)],!0x0,0x3ea,_0x1c17e0(0x19e));_0x66fd79(_0x2b243c);return;}}else{const _0x40e945=this[_0x1c17e0(0x2e1)](RangeError,_0x1c17e0(0x1b2)+this[_0x1c17e0(0x195)],!0x0,0x3ea,_0x1c17e0(0x2b1));_0x66fd79(_0x40e945);return;}}}if(!this['_fin']&&!this[_0x1c17e0(0x2e6)]&&(this[_0x1c17e0(0x2e6)]=this['_opcode']),this['_masked']=(_0x4223a2[0x1]&0x80)===0x80,this[_0x1c17e0(0x279)]){if(!this[_0x1c17e0(0x2a2)]){const _0x1d91ce=this[_0x1c17e0(0x2e1)](RangeError,_0x1c17e0(0x204),!0x0,0x3ea,_0x1c17e0(0x1a8));_0x66fd79(_0x1d91ce);return;}}else{if(this['_masked']){const _0x170224=this[_0x1c17e0(0x2e1)](RangeError,'MASK\x20must\x20be\x20clear',!0x0,0x3ea,_0x1c17e0(0x1dd));_0x66fd79(_0x170224);return;}}this[_0x1c17e0(0x1c6)]===0x7e?this[_0x1c17e0(0x222)]=_0x555a05:this[_0x1c17e0(0x1c6)]===0x7f?this[_0x1c17e0(0x222)]=_0x339458:this[_0x1c17e0(0x1e5)](_0x66fd79);}[_0x4046fb(0x314)](_0x536c93){const _0x5a56ff=_0x4046fb;if(this[_0x5a56ff(0x191)]<0x2){this['_loop']=!0x1;return;}this[_0x5a56ff(0x1c6)]=this[_0x5a56ff(0x2c5)](0x2)[_0x5a56ff(0x2d6)](0x0),this[_0x5a56ff(0x1e5)](_0x536c93);}['getPayloadLength64'](_0x298036){const _0x594e23=_0x4046fb;if(this[_0x594e23(0x191)]<0x8){this[_0x594e23(0x2b5)]=!0x1;return;}const _0x288629=this['consume'](0x8),_0x5845c9=_0x288629[_0x594e23(0x2d2)](0x0);if(_0x5845c9>Math[_0x594e23(0x228)](0x2,0x15)-0x1){const _0x26cbce=this[_0x594e23(0x2e1)](RangeError,_0x594e23(0x248),!0x1,0x3f1,_0x594e23(0x1fc));_0x298036(_0x26cbce);return;}this[_0x594e23(0x1c6)]=_0x5845c9*Math['pow'](0x2,0x20)+_0x288629[_0x594e23(0x2d2)](0x4),this[_0x594e23(0x1e5)](_0x298036);}[_0x4046fb(0x1e5)](_0x1593d5){const _0x494e89=_0x4046fb;if(this[_0x494e89(0x1c6)]&&this['_opcode']<0x8&&(this[_0x494e89(0x1df)]+=this[_0x494e89(0x1c6)],this[_0x494e89(0x1df)]>this[_0x494e89(0x20f)]&&this[_0x494e89(0x20f)]>0x0)){const _0x3203be=this[_0x494e89(0x2e1)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x494e89(0x23a));_0x1593d5(_0x3203be);return;}this[_0x494e89(0x2a2)]?this['_state']=_0xa6be90:this[_0x494e89(0x222)]=_0x172559;}[_0x4046fb(0x25a)](){const _0x56c89e=_0x4046fb;if(this[_0x56c89e(0x191)]<0x4){this[_0x56c89e(0x2b5)]=!0x1;return;}this[_0x56c89e(0x301)]=this[_0x56c89e(0x2c5)](0x4),this[_0x56c89e(0x222)]=_0x172559;}[_0x4046fb(0x2e3)](_0x269801){const _0xbfe3c9=_0x4046fb;let _0x2396b9=_0x387dde;if(this[_0xbfe3c9(0x1c6)]){if(this[_0xbfe3c9(0x191)]<this[_0xbfe3c9(0x1c6)]){this[_0xbfe3c9(0x2b5)]=!0x1;return;}_0x2396b9=this[_0xbfe3c9(0x2c5)](this['_payloadLength']),this[_0xbfe3c9(0x2a2)]&&(this[_0xbfe3c9(0x301)][0x0]|this[_0xbfe3c9(0x301)][0x1]|this['_mask'][0x2]|this[_0xbfe3c9(0x301)][0x3])!==0x0&&_0x2505c9(_0x2396b9,this[_0xbfe3c9(0x301)]);}if(this[_0xbfe3c9(0x195)]>0x7){this[_0xbfe3c9(0x287)](_0x2396b9,_0x269801);return;}if(this[_0xbfe3c9(0x313)]){this['_state']=_0x90772,this['decompress'](_0x2396b9,_0x269801);return;}_0x2396b9[_0xbfe3c9(0x28e)]&&(this[_0xbfe3c9(0x2aa)]=this[_0xbfe3c9(0x1df)],this[_0xbfe3c9(0x2ca)][_0xbfe3c9(0x1b6)](_0x2396b9)),this[_0xbfe3c9(0x198)](_0x269801);}[_0x4046fb(0x1fb)](_0x4f8051,_0x109ca2){const _0x4b59ea=_0x4046fb;this['_extensions'][_0x4bc9ab[_0x4b59ea(0x24a)]][_0x4b59ea(0x1fb)](_0x4f8051,this[_0x4b59ea(0x29c)],(_0x1eddd3,_0x2a8619)=>{const _0x2a123b=_0x4b59ea;if(_0x1eddd3)return _0x109ca2(_0x1eddd3);if(_0x2a8619[_0x2a123b(0x28e)]){if(this[_0x2a123b(0x2aa)]+=_0x2a8619['length'],this[_0x2a123b(0x2aa)]>this[_0x2a123b(0x20f)]&&this[_0x2a123b(0x20f)]>0x0){const _0x10a360=this[_0x2a123b(0x2e1)](RangeError,_0x2a123b(0x1bf),!0x1,0x3f1,_0x2a123b(0x23a));_0x109ca2(_0x10a360);return;}this[_0x2a123b(0x2ca)][_0x2a123b(0x1b6)](_0x2a8619);}this['dataMessage'](_0x109ca2),this['_state']===_0x1ec161&&this['startLoop'](_0x109ca2);});}[_0x4046fb(0x198)](_0x305051){const _0x15c72a=_0x4046fb;if(!this[_0x15c72a(0x29c)]){this['_state']=_0x1ec161;return;}const _0x37c144=this[_0x15c72a(0x2aa)],_0x49971e=this['_fragments'];if(this['_totalPayloadLength']=0x0,this['_messageLength']=0x0,this['_fragmented']=0x0,this['_fragments']=[],this[_0x15c72a(0x195)]===0x2){let _0x38f316;this[_0x15c72a(0x252)]===_0x15c72a(0x2d4)?_0x38f316=_0x98b367(_0x49971e,_0x37c144):this[_0x15c72a(0x252)]==='arraybuffer'?_0x38f316=_0x107d79(_0x98b367(_0x49971e,_0x37c144)):this[_0x15c72a(0x252)]===_0x15c72a(0x2f9)?_0x38f316=new Blob(_0x49971e):_0x38f316=_0x49971e,this[_0x15c72a(0x17c)]?(this[_0x15c72a(0x276)]('message',_0x38f316,!0x0),this[_0x15c72a(0x222)]=_0x1ec161):(this['_state']=_0x367502,setImmediate(()=>{const _0xa417bb=_0x15c72a;this[_0xa417bb(0x276)](_0xa417bb(0x2f3),_0x38f316,!0x0),this[_0xa417bb(0x222)]=_0x1ec161,this[_0xa417bb(0x2de)](_0x305051);}));}else{const _0x56800d=_0x98b367(_0x49971e,_0x37c144);if(!this[_0x15c72a(0x17a)]&&!_0x4172a2(_0x56800d)){const _0x22f42d=this['createError'](Error,_0x15c72a(0x16c),!0x0,0x3ef,_0x15c72a(0x1ab));_0x305051(_0x22f42d);return;}this[_0x15c72a(0x222)]===_0x90772||this[_0x15c72a(0x17c)]?(this[_0x15c72a(0x276)](_0x15c72a(0x2f3),_0x56800d,!0x1),this[_0x15c72a(0x222)]=_0x1ec161):(this[_0x15c72a(0x222)]=_0x367502,setImmediate(()=>{const _0x3835f1=_0x15c72a;this[_0x3835f1(0x276)](_0x3835f1(0x2f3),_0x56800d,!0x1),this['_state']=_0x1ec161,this[_0x3835f1(0x2de)](_0x305051);}));}}[_0x4046fb(0x287)](_0x1096ec,_0x58b9aa){const _0x40ee78=_0x4046fb;if(this[_0x40ee78(0x195)]===0x8){if(_0x1096ec[_0x40ee78(0x28e)]===0x0)this['_loop']=!0x1,this[_0x40ee78(0x276)](_0x40ee78(0x1c2),0x3ed,_0x387dde),this[_0x40ee78(0x1bc)]();else{const _0x5faf4b=_0x1096ec[_0x40ee78(0x2d6)](0x0);if(!_0x222ea6(_0x5faf4b)){const _0x350a70=this[_0x40ee78(0x2e1)](RangeError,'invalid\x20status\x20code\x20'+_0x5faf4b,!0x0,0x3ea,_0x40ee78(0x180));_0x58b9aa(_0x350a70);return;}const _0x19198b=new _0x152bc6(_0x1096ec[_0x40ee78(0x1ee)],_0x1096ec[_0x40ee78(0x306)]+0x2,_0x1096ec[_0x40ee78(0x28e)]-0x2);if(!this[_0x40ee78(0x17a)]&&!_0x4172a2(_0x19198b)){const _0x5aa07c=this[_0x40ee78(0x2e1)](Error,_0x40ee78(0x16c),!0x0,0x3ef,_0x40ee78(0x1ab));_0x58b9aa(_0x5aa07c);return;}this[_0x40ee78(0x2b5)]=!0x1,this[_0x40ee78(0x276)](_0x40ee78(0x1c2),_0x5faf4b,_0x19198b),this['end']();}this[_0x40ee78(0x222)]=_0x1ec161;return;}this[_0x40ee78(0x17c)]?(this[_0x40ee78(0x276)](this[_0x40ee78(0x195)]===0x9?'ping':_0x40ee78(0x1a1),_0x1096ec),this['_state']=_0x1ec161):(this['_state']=_0x367502,setImmediate(()=>{const _0x7dfb7a=_0x40ee78;this['emit'](this[_0x7dfb7a(0x195)]===0x9?_0x7dfb7a(0x281):'pong',_0x1096ec),this['_state']=_0x1ec161,this[_0x7dfb7a(0x2de)](_0x58b9aa);}));}[_0x4046fb(0x2e1)](_0x45334a,_0x9f0b3e,_0x4a5116,_0x530beb,_0x2ae4b8){const _0x3d330c=_0x4046fb;this[_0x3d330c(0x2b5)]=!0x1,this[_0x3d330c(0x2ad)]=!0x0;const _0x5a1ae1=new _0x45334a(_0x4a5116?_0x3d330c(0x253)+_0x9f0b3e:_0x9f0b3e);return Error['captureStackTrace'](_0x5a1ae1,this[_0x3d330c(0x2e1)]),_0x5a1ae1[_0x3d330c(0x20d)]=_0x2ae4b8,_0x5a1ae1[_0x131f37]=_0x530beb,_0x5a1ae1;}}return Se=_0x220913,Se;}var Ee,Qe;function ut(){const _0x3689c0=_0x459da0;if(Qe)return Ee;Qe=0x1;const {Duplex:_0x46f6d2}=_0xe2e071,{randomFillSync:_0xc31b3a}=_0x3be3a3,_0x3e3318=ce(),{EMPTY_BUFFER:_0x31c3fc,kWebSocket:_0xe3b267,NOOP:_0x36d533}=V(),{isBlob:_0x17ebd0,isValidStatusCode:_0x18bf07}=ie(),{mask:_0x5e9e60,toBuffer:_0x3d2504}=fe(),_0xb7d4fe=Symbol(_0x3689c0(0x250)),_0x280753=Buffer['alloc'](0x4),_0x241709=0x8*0x400;let _0x140319,_0x8b522c=_0x241709;const _0x52cb50=0x0,_0x140153=0x1,_0xbd91d8=0x2;class _0x41a2c4{constructor(_0xddc21,_0x27bcba,_0x349c33){const _0x5d7a0d=_0x3689c0;this[_0x5d7a0d(0x2dc)]=_0x27bcba||{},_0x349c33&&(this[_0x5d7a0d(0x18d)]=_0x349c33,this[_0x5d7a0d(0x26d)]=Buffer[_0x5d7a0d(0x257)](0x4)),this[_0x5d7a0d(0x1b0)]=_0xddc21,this[_0x5d7a0d(0x1eb)]=!0x0,this[_0x5d7a0d(0x2e7)]=!0x1,this[_0x5d7a0d(0x191)]=0x0,this['_queue']=[],this['_state']=_0x52cb50,this[_0x5d7a0d(0x24e)]=_0x36d533,this[_0xe3b267]=void 0x0;}static[_0x3689c0(0x1c3)](_0x7d78a1,_0x5780d2){const _0xa95636=_0x3689c0;let _0x70731a,_0x45320e=!0x1,_0x1c406e=0x2,_0x45f63d=!0x1;_0x5780d2[_0xa95636(0x21c)]&&(_0x70731a=_0x5780d2[_0xa95636(0x1d7)]||_0x280753,_0x5780d2['generateMask']?_0x5780d2['generateMask'](_0x70731a):(_0x8b522c===_0x241709&&(_0x140319===void 0x0&&(_0x140319=Buffer[_0xa95636(0x257)](_0x241709)),_0xc31b3a(_0x140319,0x0,_0x241709),_0x8b522c=0x0),_0x70731a[0x0]=_0x140319[_0x8b522c++],_0x70731a[0x1]=_0x140319[_0x8b522c++],_0x70731a[0x2]=_0x140319[_0x8b522c++],_0x70731a[0x3]=_0x140319[_0x8b522c++]),_0x45f63d=(_0x70731a[0x0]|_0x70731a[0x1]|_0x70731a[0x2]|_0x70731a[0x3])===0x0,_0x1c406e=0x6);let _0x377241;typeof _0x7d78a1=='string'?(!_0x5780d2[_0xa95636(0x21c)]||_0x45f63d)&&_0x5780d2[_0xb7d4fe]!==void 0x0?_0x377241=_0x5780d2[_0xb7d4fe]:(_0x7d78a1=Buffer[_0xa95636(0x24d)](_0x7d78a1),_0x377241=_0x7d78a1[_0xa95636(0x28e)]):(_0x377241=_0x7d78a1[_0xa95636(0x28e)],_0x45320e=_0x5780d2[_0xa95636(0x21c)]&&_0x5780d2[_0xa95636(0x1d2)]&&!_0x45f63d);let _0x4167ef=_0x377241;_0x377241>=0x10000?(_0x1c406e+=0x8,_0x4167ef=0x7f):_0x377241>0x7d&&(_0x1c406e+=0x2,_0x4167ef=0x7e);const _0x41877d=Buffer[_0xa95636(0x28f)](_0x45320e?_0x377241+_0x1c406e:_0x1c406e);return _0x41877d[0x0]=_0x5780d2[_0xa95636(0x2e5)]?_0x5780d2[_0xa95636(0x17e)]|0x80:_0x5780d2[_0xa95636(0x17e)],_0x5780d2[_0xa95636(0x208)]&&(_0x41877d[0x0]|=0x40),_0x41877d[0x1]=_0x4167ef,_0x4167ef===0x7e?_0x41877d['writeUInt16BE'](_0x377241,0x2):_0x4167ef===0x7f&&(_0x41877d[0x2]=_0x41877d[0x3]=0x0,_0x41877d[_0xa95636(0x209)](_0x377241,0x4,0x6)),_0x5780d2[_0xa95636(0x21c)]?(_0x41877d[0x1]|=0x80,_0x41877d[_0x1c406e-0x4]=_0x70731a[0x0],_0x41877d[_0x1c406e-0x3]=_0x70731a[0x1],_0x41877d[_0x1c406e-0x2]=_0x70731a[0x2],_0x41877d[_0x1c406e-0x1]=_0x70731a[0x3],_0x45f63d?[_0x41877d,_0x7d78a1]:_0x45320e?(_0x5e9e60(_0x7d78a1,_0x70731a,_0x41877d,_0x1c406e,_0x377241),[_0x41877d]):(_0x5e9e60(_0x7d78a1,_0x70731a,_0x7d78a1,0x0,_0x377241),[_0x41877d,_0x7d78a1])):[_0x41877d,_0x7d78a1];}[_0x3689c0(0x27c)](_0x29aef7,_0x34f558,_0x5aa259,_0x35d695){const _0x389c7c=_0x3689c0;let _0x2495c4;if(_0x29aef7===void 0x0)_0x2495c4=_0x31c3fc;else{if(typeof _0x29aef7!='number'||!_0x18bf07(_0x29aef7))throw new TypeError('First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number');if(_0x34f558===void 0x0||!_0x34f558['length'])_0x2495c4=Buffer[_0x389c7c(0x28f)](0x2),_0x2495c4[_0x389c7c(0x21f)](_0x29aef7,0x0);else{const _0x5cf149=Buffer[_0x389c7c(0x216)](_0x34f558);if(_0x5cf149>0x7b)throw new RangeError(_0x389c7c(0x26b));_0x2495c4=Buffer[_0x389c7c(0x28f)](0x2+_0x5cf149),_0x2495c4[_0x389c7c(0x21f)](_0x29aef7,0x0),typeof _0x34f558==_0x389c7c(0x202)?_0x2495c4[_0x389c7c(0x1e9)](_0x34f558,0x2):_0x2495c4[_0x389c7c(0x174)](_0x34f558,0x2);}}const _0x31a0f7={[_0xb7d4fe]:_0x2495c4['length'],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x5aa259,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x389c7c(0x222)]!==_0x52cb50?this[_0x389c7c(0x1f1)]([this[_0x389c7c(0x2bc)],_0x2495c4,!0x1,_0x31a0f7,_0x35d695]):this[_0x389c7c(0x20e)](_0x41a2c4[_0x389c7c(0x1c3)](_0x2495c4,_0x31a0f7),_0x35d695);}[_0x3689c0(0x281)](_0x2b6cd5,_0x49eaa4,_0x46b950){const _0x546577=_0x3689c0;let _0x3bdcf9,_0x4775f7;if(typeof _0x2b6cd5==_0x546577(0x202)?(_0x3bdcf9=Buffer[_0x546577(0x216)](_0x2b6cd5),_0x4775f7=!0x1):_0x17ebd0(_0x2b6cd5)?(_0x3bdcf9=_0x2b6cd5[_0x546577(0x242)],_0x4775f7=!0x1):(_0x2b6cd5=_0x3d2504(_0x2b6cd5),_0x3bdcf9=_0x2b6cd5[_0x546577(0x28e)],_0x4775f7=_0x3d2504[_0x546577(0x1d2)]),_0x3bdcf9>0x7d)throw new RangeError(_0x546577(0x308));const _0x3a7eec={[_0xb7d4fe]:_0x3bdcf9,'fin':!0x0,'generateMask':this[_0x546577(0x18d)],'mask':_0x49eaa4,'maskBuffer':this[_0x546577(0x26d)],'opcode':0x9,'readOnly':_0x4775f7,'rsv1':!0x1};_0x17ebd0(_0x2b6cd5)?this['_state']!==_0x52cb50?this[_0x546577(0x1f1)]([this['getBlobData'],_0x2b6cd5,!0x1,_0x3a7eec,_0x46b950]):this['getBlobData'](_0x2b6cd5,!0x1,_0x3a7eec,_0x46b950):this[_0x546577(0x222)]!==_0x52cb50?this['enqueue']([this[_0x546577(0x2bc)],_0x2b6cd5,!0x1,_0x3a7eec,_0x46b950]):this['sendFrame'](_0x41a2c4['frame'](_0x2b6cd5,_0x3a7eec),_0x46b950);}[_0x3689c0(0x1a1)](_0x21768f,_0x30f06e,_0x553408){const _0x1f03b4=_0x3689c0;let _0x87e611,_0x3db209;if(typeof _0x21768f=='string'?(_0x87e611=Buffer[_0x1f03b4(0x216)](_0x21768f),_0x3db209=!0x1):_0x17ebd0(_0x21768f)?(_0x87e611=_0x21768f[_0x1f03b4(0x242)],_0x3db209=!0x1):(_0x21768f=_0x3d2504(_0x21768f),_0x87e611=_0x21768f['length'],_0x3db209=_0x3d2504['readOnly']),_0x87e611>0x7d)throw new RangeError(_0x1f03b4(0x308));const _0x228c6d={[_0xb7d4fe]:_0x87e611,'fin':!0x0,'generateMask':this[_0x1f03b4(0x18d)],'mask':_0x30f06e,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x3db209,'rsv1':!0x1};_0x17ebd0(_0x21768f)?this[_0x1f03b4(0x222)]!==_0x52cb50?this['enqueue']([this[_0x1f03b4(0x1ac)],_0x21768f,!0x1,_0x228c6d,_0x553408]):this[_0x1f03b4(0x1ac)](_0x21768f,!0x1,_0x228c6d,_0x553408):this[_0x1f03b4(0x222)]!==_0x52cb50?this[_0x1f03b4(0x1f1)]([this[_0x1f03b4(0x2bc)],_0x21768f,!0x1,_0x228c6d,_0x553408]):this[_0x1f03b4(0x20e)](_0x41a2c4[_0x1f03b4(0x1c3)](_0x21768f,_0x228c6d),_0x553408);}[_0x3689c0(0x226)](_0x57c332,_0x3650b3,_0x258649){const _0x52c398=_0x3689c0,_0x1a2234=this[_0x52c398(0x2dc)][_0x3e3318['extensionName']];let _0x137b5a=_0x3650b3[_0x52c398(0x1e7)]?0x2:0x1,_0x491b99=_0x3650b3[_0x52c398(0x182)],_0x45933e,_0x31dc60;typeof _0x57c332=='string'?(_0x45933e=Buffer[_0x52c398(0x216)](_0x57c332),_0x31dc60=!0x1):_0x17ebd0(_0x57c332)?(_0x45933e=_0x57c332[_0x52c398(0x242)],_0x31dc60=!0x1):(_0x57c332=_0x3d2504(_0x57c332),_0x45933e=_0x57c332[_0x52c398(0x28e)],_0x31dc60=_0x3d2504['readOnly']),this['_firstFragment']?(this[_0x52c398(0x1eb)]=!0x1,_0x491b99&&_0x1a2234&&_0x1a2234[_0x52c398(0x2b7)][_0x1a2234['_isServer']?_0x52c398(0x183):_0x52c398(0x1e6)]&&(_0x491b99=_0x45933e>=_0x1a2234[_0x52c398(0x2c2)]),this[_0x52c398(0x2e7)]=_0x491b99):(_0x491b99=!0x1,_0x137b5a=0x0),_0x3650b3[_0x52c398(0x2e5)]&&(this[_0x52c398(0x1eb)]=!0x0);const _0x34b044={[_0xb7d4fe]:_0x45933e,'fin':_0x3650b3['fin'],'generateMask':this[_0x52c398(0x18d)],'mask':_0x3650b3[_0x52c398(0x21c)],'maskBuffer':this['_maskBuffer'],'opcode':_0x137b5a,'readOnly':_0x31dc60,'rsv1':_0x491b99};_0x17ebd0(_0x57c332)?this['_state']!==_0x52cb50?this[_0x52c398(0x1f1)]([this[_0x52c398(0x1ac)],_0x57c332,this[_0x52c398(0x2e7)],_0x34b044,_0x258649]):this[_0x52c398(0x1ac)](_0x57c332,this[_0x52c398(0x2e7)],_0x34b044,_0x258649):this[_0x52c398(0x222)]!==_0x52cb50?this[_0x52c398(0x1f1)]([this[_0x52c398(0x2bc)],_0x57c332,this[_0x52c398(0x2e7)],_0x34b044,_0x258649]):this['dispatch'](_0x57c332,this[_0x52c398(0x2e7)],_0x34b044,_0x258649);}[_0x3689c0(0x1ac)](_0x3c1151,_0xfef559,_0x4d5752,_0x536845){const _0x593591=_0x3689c0;this[_0x593591(0x191)]+=_0x4d5752[_0xb7d4fe],this[_0x593591(0x222)]=_0xbd91d8,_0x3c1151['arrayBuffer']()[_0x593591(0x305)](_0x1548d1=>{const _0x4ea267=_0x593591;if(this[_0x4ea267(0x1b0)][_0x4ea267(0x1a2)]){const _0x415ac0=new Error(_0x4ea267(0x1a4));process[_0x4ea267(0x1bb)](_0x2a3807,this,_0x415ac0,_0x536845);return;}this['_bufferedBytes']-=_0x4d5752[_0xb7d4fe];const _0x344a95=_0x3d2504(_0x1548d1);_0xfef559?this[_0x4ea267(0x2bc)](_0x344a95,_0xfef559,_0x4d5752,_0x536845):(this[_0x4ea267(0x222)]=_0x52cb50,this[_0x4ea267(0x20e)](_0x41a2c4[_0x4ea267(0x1c3)](_0x344a95,_0x4d5752),_0x536845),this[_0x4ea267(0x1bd)]());})['catch'](_0x46e321=>{process['nextTick'](_0x319a37,this,_0x46e321,_0x536845);});}[_0x3689c0(0x2bc)](_0x11b857,_0x27f1ee,_0x557417,_0x4887c9){const _0x33747e=_0x3689c0;if(!_0x27f1ee){this['sendFrame'](_0x41a2c4[_0x33747e(0x1c3)](_0x11b857,_0x557417),_0x4887c9);return;}const _0x17259f=this[_0x33747e(0x2dc)][_0x3e3318[_0x33747e(0x24a)]];this['_bufferedBytes']+=_0x557417[_0xb7d4fe],this[_0x33747e(0x222)]=_0x140153,_0x17259f[_0x33747e(0x182)](_0x11b857,_0x557417[_0x33747e(0x2e5)],(_0x576ba7,_0x52178a)=>{const _0x207c06=_0x33747e;if(this[_0x207c06(0x1b0)][_0x207c06(0x1a2)]){const _0xa898db=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x2a3807(this,_0xa898db,_0x4887c9);return;}this['_bufferedBytes']-=_0x557417[_0xb7d4fe],this[_0x207c06(0x222)]=_0x52cb50,_0x557417[_0x207c06(0x1d2)]=!0x1,this['sendFrame'](_0x41a2c4[_0x207c06(0x1c3)](_0x52178a,_0x557417),_0x4887c9),this[_0x207c06(0x1bd)]();});}[_0x3689c0(0x1bd)](){const _0x40fe35=_0x3689c0;for(;this[_0x40fe35(0x222)]===_0x52cb50&&this[_0x40fe35(0x310)][_0x40fe35(0x28e)];){const _0x1158dc=this[_0x40fe35(0x310)][_0x40fe35(0x27d)]();this[_0x40fe35(0x191)]-=_0x1158dc[0x3][_0xb7d4fe],Reflect[_0x40fe35(0x2e2)](_0x1158dc[0x0],this,_0x1158dc[_0x40fe35(0x23f)](0x1));}}[_0x3689c0(0x1f1)](_0x9a5a3e){const _0x398ec0=_0x3689c0;this['_bufferedBytes']+=_0x9a5a3e[0x3][_0xb7d4fe],this[_0x398ec0(0x310)][_0x398ec0(0x1b6)](_0x9a5a3e);}[_0x3689c0(0x20e)](_0x3a82be,_0x51d45f){const _0x418c8b=_0x3689c0;_0x3a82be[_0x418c8b(0x28e)]===0x2?(this[_0x418c8b(0x1b0)][_0x418c8b(0x1f8)](),this['_socket'][_0x418c8b(0x1e9)](_0x3a82be[0x0]),this['_socket']['write'](_0x3a82be[0x1],_0x51d45f),this[_0x418c8b(0x1b0)][_0x418c8b(0x318)]()):this[_0x418c8b(0x1b0)][_0x418c8b(0x1e9)](_0x3a82be[0x0],_0x51d45f);}}Ee=_0x41a2c4;function _0x2a3807(_0x10d2e5,_0x32f598,_0x575988){const _0x27787c=_0x3689c0;typeof _0x575988==_0x27787c(0x193)&&_0x575988(_0x32f598);for(let _0x4ae071=0x0;_0x4ae071<_0x10d2e5['_queue']['length'];_0x4ae071++){const _0x2438c4=_0x10d2e5[_0x27787c(0x310)][_0x4ae071],_0x40f89a=_0x2438c4[_0x2438c4[_0x27787c(0x28e)]-0x1];typeof _0x40f89a==_0x27787c(0x193)&&_0x40f89a(_0x32f598);}}function _0x319a37(_0x3b8c4c,_0x3ec827,_0x2c4c0e){const _0x5b4ede=_0x3689c0;_0x2a3807(_0x3b8c4c,_0x3ec827,_0x2c4c0e),_0x3b8c4c[_0x5b4ede(0x24e)](_0x3ec827);}return Ee;}var xe,Je;function zt(){const _0x4722aa=_0x459da0;if(Je)return xe;Je=0x1;const {kForOnEventAttribute:_0x1ac205,kListener:_0x1c9f81}=V(),_0x26f02e=Symbol(_0x4722aa(0x280)),_0x1979d3=Symbol(_0x4722aa(0x298)),_0x2d9f00=Symbol(_0x4722aa(0x1e4)),_0x3b1047=Symbol(_0x4722aa(0x234)),_0x42d5d5=Symbol('kReason'),_0x4662b3=Symbol(_0x4722aa(0x2fc)),_0x29873d=Symbol(_0x4722aa(0x185)),_0x2ca160=Symbol(_0x4722aa(0x176));class _0x3c4f16{constructor(_0x345eb2){this[_0x4662b3]=null,this[_0x29873d]=_0x345eb2;}get[_0x4722aa(0x181)](){return this[_0x4662b3];}get[_0x4722aa(0x221)](){return this[_0x29873d];}}Object['defineProperty'](_0x3c4f16[_0x4722aa(0x22a)],'target',{'enumerable':!0x0}),Object['defineProperty'](_0x3c4f16[_0x4722aa(0x22a)],_0x4722aa(0x221),{'enumerable':!0x0});class _0x5e9d91 extends _0x3c4f16{constructor(_0x41c240,_0x5c8c46={}){const _0x463361=_0x4722aa;super(_0x41c240),this[_0x26f02e]=_0x5c8c46[_0x463361(0x20d)]===void 0x0?0x0:_0x5c8c46[_0x463361(0x20d)],this[_0x42d5d5]=_0x5c8c46[_0x463361(0x2eb)]===void 0x0?'':_0x5c8c46[_0x463361(0x2eb)],this[_0x2ca160]=_0x5c8c46[_0x463361(0x203)]===void 0x0?!0x1:_0x5c8c46[_0x463361(0x203)];}get[_0x4722aa(0x20d)](){return this[_0x26f02e];}get[_0x4722aa(0x2eb)](){return this[_0x42d5d5];}get['wasClean'](){return this[_0x2ca160];}}Object[_0x4722aa(0x1c8)](_0x5e9d91[_0x4722aa(0x22a)],'code',{'enumerable':!0x0}),Object[_0x4722aa(0x1c8)](_0x5e9d91['prototype'],_0x4722aa(0x2eb),{'enumerable':!0x0}),Object[_0x4722aa(0x1c8)](_0x5e9d91['prototype'],_0x4722aa(0x203),{'enumerable':!0x0});class _0x38ed54 extends _0x3c4f16{constructor(_0x342ed2,_0x5a0fe2={}){const _0x5b308e=_0x4722aa;super(_0x342ed2),this[_0x2d9f00]=_0x5a0fe2[_0x5b308e(0x219)]===void 0x0?null:_0x5a0fe2[_0x5b308e(0x219)],this[_0x3b1047]=_0x5a0fe2['message']===void 0x0?'':_0x5a0fe2[_0x5b308e(0x2f3)];}get[_0x4722aa(0x219)](){return this[_0x2d9f00];}get[_0x4722aa(0x2f3)](){return this[_0x3b1047];}}Object['defineProperty'](_0x38ed54[_0x4722aa(0x22a)],'error',{'enumerable':!0x0}),Object['defineProperty'](_0x38ed54['prototype'],_0x4722aa(0x2f3),{'enumerable':!0x0});class _0x5d872a extends _0x3c4f16{constructor(_0x5a7570,_0x308a9b={}){const _0x43148e=_0x4722aa;super(_0x5a7570),this[_0x1979d3]=_0x308a9b[_0x43148e(0x207)]===void 0x0?null:_0x308a9b['data'];}get[_0x4722aa(0x207)](){return this[_0x1979d3];}}Object[_0x4722aa(0x1c8)](_0x5d872a[_0x4722aa(0x22a)],'data',{'enumerable':!0x0}),xe={'CloseEvent':_0x5e9d91,'ErrorEvent':_0x38ed54,'Event':_0x3c4f16,'EventTarget':{'addEventListener'(_0x54004f,_0x585d90,_0x1163eb={}){const _0x528c81=_0x4722aa;for(const _0x3c8059 of this[_0x528c81(0x17b)](_0x54004f))if(!_0x1163eb[_0x1ac205]&&_0x3c8059[_0x1c9f81]===_0x585d90&&!_0x3c8059[_0x1ac205])return;let _0x5c16bd;if(_0x54004f===_0x528c81(0x2f3))_0x5c16bd=function(_0x5e20ea,_0x14bccc){const _0x2a9213=_0x528c81,_0xa09deb=new _0x5d872a(_0x2a9213(0x2f3),{'data':_0x14bccc?_0x5e20ea:_0x5e20ea[_0x2a9213(0x30f)]()});_0xa09deb[_0x4662b3]=this,_0x212d64(_0x585d90,this,_0xa09deb);};else{if(_0x54004f===_0x528c81(0x27c))_0x5c16bd=function(_0x47c82d,_0x3c2f3b){const _0x459773=_0x528c81,_0x37d9f1=new _0x5e9d91(_0x459773(0x27c),{'code':_0x47c82d,'reason':_0x3c2f3b[_0x459773(0x30f)](),'wasClean':this[_0x459773(0x2c9)]&&this[_0x459773(0x282)]});_0x37d9f1[_0x4662b3]=this,_0x212d64(_0x585d90,this,_0x37d9f1);};else{if(_0x54004f===_0x528c81(0x219))_0x5c16bd=function(_0x423330){const _0x3cd71e=_0x528c81,_0x5dae9b=new _0x38ed54(_0x3cd71e(0x219),{'error':_0x423330,'message':_0x423330[_0x3cd71e(0x2f3)]});_0x5dae9b[_0x4662b3]=this,_0x212d64(_0x585d90,this,_0x5dae9b);};else{if(_0x54004f==='open')_0x5c16bd=function(){const _0x1ab49f=_0x528c81,_0xbc9917=new _0x3c4f16(_0x1ab49f(0x1b1));_0xbc9917[_0x4662b3]=this,_0x212d64(_0x585d90,this,_0xbc9917);};else return;}}}_0x5c16bd[_0x1ac205]=!!_0x1163eb[_0x1ac205],_0x5c16bd[_0x1c9f81]=_0x585d90,_0x1163eb[_0x528c81(0x21a)]?this[_0x528c81(0x21a)](_0x54004f,_0x5c16bd):this['on'](_0x54004f,_0x5c16bd);},'removeEventListener'(_0x358b05,_0x40ea7e){const _0x5ab0cd=_0x4722aa;for(const _0xdb33a4 of this[_0x5ab0cd(0x17b)](_0x358b05))if(_0xdb33a4[_0x1c9f81]===_0x40ea7e&&!_0xdb33a4[_0x1ac205]){this[_0x5ab0cd(0x243)](_0x358b05,_0xdb33a4);break;}}},'MessageEvent':_0x5d872a};function _0x212d64(_0xe76fc1,_0x4b7073,_0x5b7d66){const _0x349e7b=_0x4722aa;typeof _0xe76fc1=='object'&&_0xe76fc1[_0x349e7b(0x2c6)]?_0xe76fc1[_0x349e7b(0x2c6)][_0x349e7b(0x1f5)](_0xe76fc1,_0x5b7d66):_0xe76fc1[_0x349e7b(0x1f5)](_0x4b7073,_0x5b7d66);}return xe;}var be,et;function dt(){if(et)return be;et=0x1;const {tokenChars:_0x41209b}=ie();function _0x1a74b7(_0x20d329,_0x1a8753,_0x185c60){const _0xbd612a=_0x3817;_0x20d329[_0x1a8753]===void 0x0?_0x20d329[_0x1a8753]=[_0x185c60]:_0x20d329[_0x1a8753][_0xbd612a(0x1b6)](_0x185c60);}function _0x246ca2(_0x364d04){const _0x325e09=_0x3817,_0x5af547=Object[_0x325e09(0x2f4)](null);let _0x5e2897=Object[_0x325e09(0x2f4)](null),_0x53bbc9=!0x1,_0x1ed868=!0x1,_0x118d01=!0x1,_0x4d4aaa,_0x53c34c,_0x4782b3=-0x1,_0x6e0fbf=-0x1,_0x5958af=-0x1,_0x589fe0=0x0;for(;_0x589fe0<_0x364d04[_0x325e09(0x28e)];_0x589fe0++)if(_0x6e0fbf=_0x364d04[_0x325e09(0x1cd)](_0x589fe0),_0x4d4aaa===void 0x0){if(_0x5958af===-0x1&&_0x41209b[_0x6e0fbf]===0x1)_0x4782b3===-0x1&&(_0x4782b3=_0x589fe0);else{if(_0x589fe0!==0x0&&(_0x6e0fbf===0x20||_0x6e0fbf===0x9))_0x5958af===-0x1&&_0x4782b3!==-0x1&&(_0x5958af=_0x589fe0);else{if(_0x6e0fbf===0x3b||_0x6e0fbf===0x2c){if(_0x4782b3===-0x1)throw new SyntaxError(_0x325e09(0x22c)+_0x589fe0);_0x5958af===-0x1&&(_0x5958af=_0x589fe0);const _0x13a3f5=_0x364d04[_0x325e09(0x23f)](_0x4782b3,_0x5958af);_0x6e0fbf===0x2c?(_0x1a74b7(_0x5af547,_0x13a3f5,_0x5e2897),_0x5e2897=Object[_0x325e09(0x2f4)](null)):_0x4d4aaa=_0x13a3f5,_0x4782b3=_0x5958af=-0x1;}else throw new SyntaxError(_0x325e09(0x22c)+_0x589fe0);}}}else{if(_0x53c34c===void 0x0){if(_0x5958af===-0x1&&_0x41209b[_0x6e0fbf]===0x1)_0x4782b3===-0x1&&(_0x4782b3=_0x589fe0);else{if(_0x6e0fbf===0x20||_0x6e0fbf===0x9)_0x5958af===-0x1&&_0x4782b3!==-0x1&&(_0x5958af=_0x589fe0);else{if(_0x6e0fbf===0x3b||_0x6e0fbf===0x2c){if(_0x4782b3===-0x1)throw new SyntaxError(_0x325e09(0x22c)+_0x589fe0);_0x5958af===-0x1&&(_0x5958af=_0x589fe0),_0x1a74b7(_0x5e2897,_0x364d04[_0x325e09(0x23f)](_0x4782b3,_0x5958af),!0x0),_0x6e0fbf===0x2c&&(_0x1a74b7(_0x5af547,_0x4d4aaa,_0x5e2897),_0x5e2897=Object[_0x325e09(0x2f4)](null),_0x4d4aaa=void 0x0),_0x4782b3=_0x5958af=-0x1;}else{if(_0x6e0fbf===0x3d&&_0x4782b3!==-0x1&&_0x5958af===-0x1)_0x53c34c=_0x364d04[_0x325e09(0x23f)](_0x4782b3,_0x589fe0),_0x4782b3=_0x5958af=-0x1;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x589fe0);}}}}else{if(_0x1ed868){if(_0x41209b[_0x6e0fbf]!==0x1)throw new SyntaxError(_0x325e09(0x22c)+_0x589fe0);_0x4782b3===-0x1?_0x4782b3=_0x589fe0:_0x53bbc9||(_0x53bbc9=!0x0),_0x1ed868=!0x1;}else{if(_0x118d01){if(_0x41209b[_0x6e0fbf]===0x1)_0x4782b3===-0x1&&(_0x4782b3=_0x589fe0);else{if(_0x6e0fbf===0x22&&_0x4782b3!==-0x1)_0x118d01=!0x1,_0x5958af=_0x589fe0;else{if(_0x6e0fbf===0x5c)_0x1ed868=!0x0;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x589fe0);}}}else{if(_0x6e0fbf===0x22&&_0x364d04['charCodeAt'](_0x589fe0-0x1)===0x3d)_0x118d01=!0x0;else{if(_0x5958af===-0x1&&_0x41209b[_0x6e0fbf]===0x1)_0x4782b3===-0x1&&(_0x4782b3=_0x589fe0);else{if(_0x4782b3!==-0x1&&(_0x6e0fbf===0x20||_0x6e0fbf===0x9))_0x5958af===-0x1&&(_0x5958af=_0x589fe0);else{if(_0x6e0fbf===0x3b||_0x6e0fbf===0x2c){if(_0x4782b3===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x589fe0);_0x5958af===-0x1&&(_0x5958af=_0x589fe0);let _0x5ed1a9=_0x364d04[_0x325e09(0x23f)](_0x4782b3,_0x5958af);_0x53bbc9&&(_0x5ed1a9=_0x5ed1a9[_0x325e09(0x286)](/\\/g,''),_0x53bbc9=!0x1),_0x1a74b7(_0x5e2897,_0x53c34c,_0x5ed1a9),_0x6e0fbf===0x2c&&(_0x1a74b7(_0x5af547,_0x4d4aaa,_0x5e2897),_0x5e2897=Object['create'](null),_0x4d4aaa=void 0x0),_0x53c34c=void 0x0,_0x4782b3=_0x5958af=-0x1;}else throw new SyntaxError(_0x325e09(0x22c)+_0x589fe0);}}}}}}}if(_0x4782b3===-0x1||_0x118d01||_0x6e0fbf===0x20||_0x6e0fbf===0x9)throw new SyntaxError(_0x325e09(0x2df));_0x5958af===-0x1&&(_0x5958af=_0x589fe0);const _0x2a2f2a=_0x364d04[_0x325e09(0x23f)](_0x4782b3,_0x5958af);return _0x4d4aaa===void 0x0?_0x1a74b7(_0x5af547,_0x2a2f2a,_0x5e2897):(_0x53c34c===void 0x0?_0x1a74b7(_0x5e2897,_0x2a2f2a,!0x0):_0x53bbc9?_0x1a74b7(_0x5e2897,_0x53c34c,_0x2a2f2a['replace'](/\\/g,'')):_0x1a74b7(_0x5e2897,_0x53c34c,_0x2a2f2a),_0x1a74b7(_0x5af547,_0x4d4aaa,_0x5e2897)),_0x5af547;}function _0x28fdd5(_0x27ccb2){const _0x34c625=_0x3817;return Object['keys'](_0x27ccb2)[_0x34c625(0x173)](_0x43078f=>{const _0x4cc6a0=_0x34c625;let _0x2c9b21=_0x27ccb2[_0x43078f];return Array[_0x4cc6a0(0x29f)](_0x2c9b21)||(_0x2c9b21=[_0x2c9b21]),_0x2c9b21[_0x4cc6a0(0x173)](_0x18c6fc=>[_0x43078f][_0x4cc6a0(0x27f)](Object['keys'](_0x18c6fc)[_0x4cc6a0(0x173)](_0x4b238c=>{const _0x263008=_0x4cc6a0;let _0x57b4df=_0x18c6fc[_0x4b238c];return Array[_0x263008(0x29f)](_0x57b4df)||(_0x57b4df=[_0x57b4df]),_0x57b4df[_0x263008(0x173)](_0x389ddf=>_0x389ddf===!0x0?_0x4b238c:_0x4b238c+'='+_0x389ddf)[_0x263008(0x2d7)](';\x20');}))['join'](';\x20'))[_0x4cc6a0(0x2d7)](',\x20');})['join'](',\x20');}return be={'format':_0x28fdd5,'parse':_0x246ca2},be;}var we,tt;function Be(){const _0x1fa00c=_0x459da0;if(tt)return we;tt=0x1;const _0x2cf599=_0x341a96,_0x56e57e=_0xf3034b,_0x12a153=_0x4cd558,_0x1d89a6=_0x5f26fe,_0x465979=_0x340ec3,{randomBytes:_0x36a1a1,createHash:_0x251126}=_0x3be3a3,{Duplex:_0x38bf6b,Readable:_0x2af7a2}=_0xe2e071,{URL:_0x428afe}=_0x3aa83b,_0xd583a=ce(),_0x3f5914=ht(),_0x1cb186=ut(),{isBlob:_0x3d90d8}=ie(),{BINARY_TYPES:_0x46c4ff,EMPTY_BUFFER:_0x206375,GUID:_0x500e38,kForOnEventAttribute:_0xd45bb2,kListener:_0x102d99,kStatusCode:_0x3b8bae,kWebSocket:_0x5a6103,NOOP:_0x2a7732}=V(),{EventTarget:{addEventListener:_0x41cf19,removeEventListener:_0x3f9869}}=zt(),{format:_0x134495,parse:_0xee3abd}=dt(),{toBuffer:_0x148ac4}=fe(),_0x232ecf=0x1e*0x3e8,_0x424d2f=Symbol(_0x1fa00c(0x1aa)),_0x46f20a=[0x8,0xd],_0x26ec56=[_0x1fa00c(0x1c5),_0x1fa00c(0x23d),_0x1fa00c(0x293),_0x1fa00c(0x1ed)],_0x604696=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x486653 extends _0x2cf599{constructor(_0x45aaa6,_0x400b4e,_0x4d52d1){const _0x428450=_0x1fa00c;super(),this[_0x428450(0x252)]=_0x46c4ff[0x0],this['_closeCode']=0x3ee,this['_closeFrameReceived']=!0x1,this[_0x428450(0x282)]=!0x1,this[_0x428450(0x27a)]=_0x206375,this[_0x428450(0x2ec)]=null,this[_0x428450(0x2c8)]=!0x1,this[_0x428450(0x2dc)]={},this[_0x428450(0x28c)]=!0x1,this['_protocol']='',this[_0x428450(0x1a0)]=_0x486653[_0x428450(0x1c5)],this[_0x428450(0x170)]=null,this[_0x428450(0x188)]=null,this['_socket']=null,_0x45aaa6!==null?(this['_bufferedAmount']=0x0,this[_0x428450(0x279)]=!0x1,this[_0x428450(0x1ce)]=0x0,_0x400b4e===void 0x0?_0x400b4e=[]:Array['isArray'](_0x400b4e)||(typeof _0x400b4e==_0x428450(0x31a)&&_0x400b4e!==null?(_0x4d52d1=_0x400b4e,_0x400b4e=[]):_0x400b4e=[_0x400b4e]),_0x7435d(this,_0x45aaa6,_0x400b4e,_0x4d52d1)):(this['_autoPong']=_0x4d52d1[_0x428450(0x186)],this[_0x428450(0x279)]=!0x0);}get[_0x1fa00c(0x1fd)](){const _0x1028a9=_0x1fa00c;return this[_0x1028a9(0x252)];}set[_0x1fa00c(0x1fd)](_0x3c948b){const _0x2f4ffe=_0x1fa00c;_0x46c4ff[_0x2f4ffe(0x312)](_0x3c948b)&&(this[_0x2f4ffe(0x252)]=_0x3c948b,this[_0x2f4ffe(0x170)]&&(this[_0x2f4ffe(0x170)][_0x2f4ffe(0x252)]=_0x3c948b));}get[_0x1fa00c(0x270)](){const _0x43db0e=_0x1fa00c;return this['_socket']?this[_0x43db0e(0x1b0)][_0x43db0e(0x214)][_0x43db0e(0x28e)]+this['_sender'][_0x43db0e(0x191)]:this[_0x43db0e(0x1d1)];}get[_0x1fa00c(0x1a7)](){const _0x5883a6=_0x1fa00c;return Object[_0x5883a6(0x1ea)](this[_0x5883a6(0x2dc)])[_0x5883a6(0x2d7)]();}get['isPaused'](){return this['_paused'];}get[_0x1fa00c(0x303)](){return null;}get[_0x1fa00c(0x24e)](){return null;}get[_0x1fa00c(0x2a3)](){return null;}get[_0x1fa00c(0x2af)](){return null;}get[_0x1fa00c(0x26c)](){const _0x3286d3=_0x1fa00c;return this[_0x3286d3(0x2a6)];}get['readyState'](){const _0x123c38=_0x1fa00c;return this[_0x123c38(0x1a0)];}get['url'](){return this['_url'];}[_0x1fa00c(0x1de)](_0x47306b,_0x3b09b2,_0x1f345c){const _0x4e818a=_0x1fa00c,_0xb5ee9=new _0x3f5914({'allowSynchronousEvents':_0x1f345c['allowSynchronousEvents'],'binaryType':this[_0x4e818a(0x1fd)],'extensions':this[_0x4e818a(0x2dc)],'isServer':this[_0x4e818a(0x279)],'maxPayload':_0x1f345c[_0x4e818a(0x171)],'skipUTF8Validation':_0x1f345c[_0x4e818a(0x2a0)]}),_0x14ef7d=new _0x1cb186(_0x47306b,this[_0x4e818a(0x2dc)],_0x1f345c['generateMask']);this[_0x4e818a(0x170)]=_0xb5ee9,this[_0x4e818a(0x188)]=_0x14ef7d,this[_0x4e818a(0x1b0)]=_0x47306b,_0xb5ee9[_0x5a6103]=this,_0x14ef7d[_0x5a6103]=this,_0x47306b[_0x5a6103]=this,_0xb5ee9['on']('conclude',_0x1a4c03),_0xb5ee9['on'](_0x4e818a(0x297),_0xf7ac83),_0xb5ee9['on'](_0x4e818a(0x219),_0x4f3966),_0xb5ee9['on'](_0x4e818a(0x2f3),_0x2f2614),_0xb5ee9['on'](_0x4e818a(0x281),_0x4a3e7a),_0xb5ee9['on'](_0x4e818a(0x1a1),_0x953104),_0x14ef7d[_0x4e818a(0x24e)]=_0x24c839,_0x47306b[_0x4e818a(0x2e0)]&&_0x47306b[_0x4e818a(0x2e0)](0x0),_0x47306b[_0x4e818a(0x1ca)]&&_0x47306b[_0x4e818a(0x1ca)](),_0x3b09b2[_0x4e818a(0x28e)]>0x0&&_0x47306b['unshift'](_0x3b09b2),_0x47306b['on'](_0x4e818a(0x27c),_0x40dc7a),_0x47306b['on'](_0x4e818a(0x207),_0xb7abe4),_0x47306b['on'](_0x4e818a(0x1bc),_0x57fb23),_0x47306b['on']('error',_0xe116c4),this[_0x4e818a(0x1a0)]=_0x486653[_0x4e818a(0x23d)],this[_0x4e818a(0x276)](_0x4e818a(0x1b1));}['emitClose'](){const _0x39e40f=_0x1fa00c;if(!this[_0x39e40f(0x1b0)]){this['_readyState']=_0x486653['CLOSED'],this[_0x39e40f(0x276)]('close',this[_0x39e40f(0x1c0)],this[_0x39e40f(0x27a)]);return;}this[_0x39e40f(0x2dc)][_0xd583a['extensionName']]&&this['_extensions'][_0xd583a[_0x39e40f(0x24a)]][_0x39e40f(0x1da)](),this[_0x39e40f(0x170)]['removeAllListeners'](),this[_0x39e40f(0x1a0)]=_0x486653['CLOSED'],this[_0x39e40f(0x276)](_0x39e40f(0x27c),this['_closeCode'],this[_0x39e40f(0x27a)]);}['close'](_0x417f1b,_0x206d81){const _0x41679b=_0x1fa00c;if(this['readyState']!==_0x486653['CLOSED']){if(this['readyState']===_0x486653[_0x41679b(0x1c5)]){_0x31c453(this,this[_0x41679b(0x255)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}if(this[_0x41679b(0x24f)]===_0x486653[_0x41679b(0x293)]){this['_closeFrameSent']&&(this[_0x41679b(0x2c9)]||this['_receiver']['_writableState'][_0x41679b(0x1e2)])&&this['_socket'][_0x41679b(0x1bc)]();return;}this['_readyState']=_0x486653[_0x41679b(0x293)],this[_0x41679b(0x188)][_0x41679b(0x27c)](_0x417f1b,_0x206d81,!this['_isServer'],_0x39c2d9=>{const _0x328d16=_0x41679b;_0x39c2d9||(this[_0x328d16(0x282)]=!0x0,(this[_0x328d16(0x2c9)]||this['_receiver'][_0x328d16(0x214)][_0x328d16(0x1e2)])&&this[_0x328d16(0x1b0)][_0x328d16(0x1bc)]());}),_0x26d179(this);}}[_0x1fa00c(0x2f0)](){const _0x51cb8e=_0x1fa00c;this['readyState']===_0x486653[_0x51cb8e(0x1c5)]||this[_0x51cb8e(0x24f)]===_0x486653['CLOSED']||(this['_paused']=!0x0,this[_0x51cb8e(0x1b0)][_0x51cb8e(0x2f0)]());}[_0x1fa00c(0x281)](_0x254330,_0x407e32,_0x917b59){const _0x53bacb=_0x1fa00c;if(this[_0x53bacb(0x24f)]===_0x486653[_0x53bacb(0x1c5)])throw new Error(_0x53bacb(0x1ef));if(typeof _0x254330==_0x53bacb(0x193)?(_0x917b59=_0x254330,_0x254330=_0x407e32=void 0x0):typeof _0x407e32=='function'&&(_0x917b59=_0x407e32,_0x407e32=void 0x0),typeof _0x254330==_0x53bacb(0x28a)&&(_0x254330=_0x254330['toString']()),this['readyState']!==_0x486653[_0x53bacb(0x23d)]){_0x2ea13(this,_0x254330,_0x917b59);return;}_0x407e32===void 0x0&&(_0x407e32=!this[_0x53bacb(0x279)]),this[_0x53bacb(0x188)]['ping'](_0x254330||_0x206375,_0x407e32,_0x917b59);}['pong'](_0x457d1b,_0x4aea08,_0x1dc086){const _0x14d2ce=_0x1fa00c;if(this[_0x14d2ce(0x24f)]===_0x486653[_0x14d2ce(0x1c5)])throw new Error(_0x14d2ce(0x1ef));if(typeof _0x457d1b==_0x14d2ce(0x193)?(_0x1dc086=_0x457d1b,_0x457d1b=_0x4aea08=void 0x0):typeof _0x4aea08=='function'&&(_0x1dc086=_0x4aea08,_0x4aea08=void 0x0),typeof _0x457d1b=='number'&&(_0x457d1b=_0x457d1b[_0x14d2ce(0x30f)]()),this[_0x14d2ce(0x24f)]!==_0x486653[_0x14d2ce(0x23d)]){_0x2ea13(this,_0x457d1b,_0x1dc086);return;}_0x4aea08===void 0x0&&(_0x4aea08=!this[_0x14d2ce(0x279)]),this['_sender'][_0x14d2ce(0x1a1)](_0x457d1b||_0x206375,_0x4aea08,_0x1dc086);}[_0x1fa00c(0x1a6)](){const _0xabca31=_0x1fa00c;this['readyState']===_0x486653[_0xabca31(0x1c5)]||this[_0xabca31(0x24f)]===_0x486653['CLOSED']||(this[_0xabca31(0x28c)]=!0x1,this['_receiver'][_0xabca31(0x214)][_0xabca31(0x2fb)]||this[_0xabca31(0x1b0)][_0xabca31(0x1a6)]());}[_0x1fa00c(0x226)](_0xdfaca5,_0x52b2df,_0x13ee8f){const _0x2db7c9=_0x1fa00c;if(this[_0x2db7c9(0x24f)]===_0x486653[_0x2db7c9(0x1c5)])throw new Error(_0x2db7c9(0x1ef));if(typeof _0x52b2df==_0x2db7c9(0x193)&&(_0x13ee8f=_0x52b2df,_0x52b2df={}),typeof _0xdfaca5==_0x2db7c9(0x28a)&&(_0xdfaca5=_0xdfaca5['toString']()),this[_0x2db7c9(0x24f)]!==_0x486653[_0x2db7c9(0x23d)]){_0x2ea13(this,_0xdfaca5,_0x13ee8f);return;}const _0x154ad9={'binary':typeof _0xdfaca5!=_0x2db7c9(0x202),'mask':!this[_0x2db7c9(0x279)],'compress':!0x0,'fin':!0x0,..._0x52b2df};this[_0x2db7c9(0x2dc)][_0xd583a[_0x2db7c9(0x24a)]]||(_0x154ad9[_0x2db7c9(0x182)]=!0x1),this[_0x2db7c9(0x188)][_0x2db7c9(0x226)](_0xdfaca5||_0x206375,_0x154ad9,_0x13ee8f);}[_0x1fa00c(0x2f2)](){const _0x366d2c=_0x1fa00c;if(this[_0x366d2c(0x24f)]!==_0x486653[_0x366d2c(0x1ed)]){if(this[_0x366d2c(0x24f)]===_0x486653[_0x366d2c(0x1c5)]){_0x31c453(this,this[_0x366d2c(0x255)],_0x366d2c(0x1d4));return;}this[_0x366d2c(0x1b0)]&&(this[_0x366d2c(0x1a0)]=_0x486653[_0x366d2c(0x293)],this['_socket'][_0x366d2c(0x2b0)]());}}}Object[_0x1fa00c(0x1c8)](_0x486653,_0x1fa00c(0x1c5),{'enumerable':!0x0,'value':_0x26ec56[_0x1fa00c(0x240)](_0x1fa00c(0x1c5))}),Object[_0x1fa00c(0x1c8)](_0x486653['prototype'],_0x1fa00c(0x1c5),{'enumerable':!0x0,'value':_0x26ec56[_0x1fa00c(0x240)]('CONNECTING')}),Object['defineProperty'](_0x486653,_0x1fa00c(0x23d),{'enumerable':!0x0,'value':_0x26ec56[_0x1fa00c(0x240)](_0x1fa00c(0x23d))}),Object[_0x1fa00c(0x1c8)](_0x486653[_0x1fa00c(0x22a)],'OPEN',{'enumerable':!0x0,'value':_0x26ec56[_0x1fa00c(0x240)](_0x1fa00c(0x23d))}),Object['defineProperty'](_0x486653,_0x1fa00c(0x293),{'enumerable':!0x0,'value':_0x26ec56['indexOf'](_0x1fa00c(0x293))}),Object[_0x1fa00c(0x1c8)](_0x486653[_0x1fa00c(0x22a)],_0x1fa00c(0x293),{'enumerable':!0x0,'value':_0x26ec56[_0x1fa00c(0x240)](_0x1fa00c(0x293))}),Object['defineProperty'](_0x486653,_0x1fa00c(0x1ed),{'enumerable':!0x0,'value':_0x26ec56['indexOf']('CLOSED')}),Object['defineProperty'](_0x486653[_0x1fa00c(0x22a)],_0x1fa00c(0x1ed),{'enumerable':!0x0,'value':_0x26ec56[_0x1fa00c(0x240)](_0x1fa00c(0x1ed))}),[_0x1fa00c(0x1fd),'bufferedAmount','extensions',_0x1fa00c(0x19f),'protocol',_0x1fa00c(0x24f),_0x1fa00c(0x1dc)]['forEach'](_0x1f0777=>{const _0x228f1e=_0x1fa00c;Object[_0x228f1e(0x1c8)](_0x486653[_0x228f1e(0x22a)],_0x1f0777,{'enumerable':!0x0});}),['open','error',_0x1fa00c(0x27c),_0x1fa00c(0x2f3)]['forEach'](_0x476a12=>{const _0x40d1c7=_0x1fa00c;Object[_0x40d1c7(0x1c8)](_0x486653[_0x40d1c7(0x22a)],'on'+_0x476a12,{'enumerable':!0x0,'get'(){const _0x131cbc=_0x40d1c7;for(const _0x48b323 of this[_0x131cbc(0x17b)](_0x476a12))if(_0x48b323[_0xd45bb2])return _0x48b323[_0x102d99];return null;},'set'(_0x8d204d){const _0x480662=_0x40d1c7;for(const _0x254936 of this[_0x480662(0x17b)](_0x476a12))if(_0x254936[_0xd45bb2]){this[_0x480662(0x243)](_0x476a12,_0x254936);break;}typeof _0x8d204d=='function'&&this[_0x480662(0x2d8)](_0x476a12,_0x8d204d,{[_0xd45bb2]:!0x0});}});}),_0x486653[_0x1fa00c(0x22a)][_0x1fa00c(0x2d8)]=_0x41cf19,_0x486653[_0x1fa00c(0x22a)]['removeEventListener']=_0x3f9869,we=_0x486653;function _0x7435d(_0x51f0ba,_0x3e76e6,_0x190200,_0x5d37ad){const _0xdb9b2c=_0x1fa00c,_0x5ab918={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x46f20a[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x5d37ad,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x51f0ba[_0xdb9b2c(0x2f1)]=_0x5ab918['autoPong'],!_0x46f20a[_0xdb9b2c(0x312)](_0x5ab918[_0xdb9b2c(0x268)]))throw new RangeError(_0xdb9b2c(0x29a)+_0x5ab918[_0xdb9b2c(0x268)]+_0xdb9b2c(0x2a1)+_0x46f20a[_0xdb9b2c(0x2d7)](',\x20')+')');let _0x404ea7;if(_0x3e76e6 instanceof _0x428afe)_0x404ea7=_0x3e76e6;else try{_0x404ea7=new _0x428afe(_0x3e76e6);}catch{throw new SyntaxError(_0xdb9b2c(0x238)+_0x3e76e6);}_0x404ea7[_0xdb9b2c(0x26c)]===_0xdb9b2c(0x319)?_0x404ea7['protocol']=_0xdb9b2c(0x1ad):_0x404ea7[_0xdb9b2c(0x26c)]===_0xdb9b2c(0x25f)&&(_0x404ea7[_0xdb9b2c(0x26c)]=_0xdb9b2c(0x197)),_0x51f0ba[_0xdb9b2c(0x192)]=_0x404ea7[_0xdb9b2c(0x19c)];const _0x1572c3=_0x404ea7[_0xdb9b2c(0x26c)]===_0xdb9b2c(0x197),_0x30fc27=_0x404ea7[_0xdb9b2c(0x26c)]==='ws+unix:';let _0x2efd84;if(_0x404ea7['protocol']!==_0xdb9b2c(0x1ad)&&!_0x1572c3&&!_0x30fc27?_0x2efd84=_0xdb9b2c(0x2be):_0x30fc27&&!_0x404ea7[_0xdb9b2c(0x27b)]?_0x2efd84=_0xdb9b2c(0x206):_0x404ea7[_0xdb9b2c(0x2ea)]&&(_0x2efd84=_0xdb9b2c(0x30a)),_0x2efd84){const _0x375ef8=new SyntaxError(_0x2efd84);if(_0x51f0ba[_0xdb9b2c(0x1ce)]===0x0)throw _0x375ef8;_0x3b5f42(_0x51f0ba,_0x375ef8);return;}const _0x13ea6d=_0x1572c3?0x1bb:0x50,_0x5860cc=_0x36a1a1(0x10)[_0xdb9b2c(0x30f)](_0xdb9b2c(0x211)),_0x3eaa11=_0x1572c3?_0x56e57e[_0xdb9b2c(0x247)]:_0x12a153[_0xdb9b2c(0x247)],_0x3f22d1=new Set();let _0x4832ac;if(_0x5ab918['createConnection']=_0x5ab918[_0xdb9b2c(0x2ae)]||(_0x1572c3?_0x49a1f3:_0x2ab36f),_0x5ab918['defaultPort']=_0x5ab918[_0xdb9b2c(0x19b)]||_0x13ea6d,_0x5ab918[_0xdb9b2c(0x2fa)]=_0x404ea7[_0xdb9b2c(0x2fa)]||_0x13ea6d,_0x5ab918[_0xdb9b2c(0x21e)]=_0x404ea7[_0xdb9b2c(0x1f2)]['startsWith']('[')?_0x404ea7[_0xdb9b2c(0x1f2)]['slice'](0x1,-0x1):_0x404ea7['hostname'],_0x5ab918[_0xdb9b2c(0x2ac)]={..._0x5ab918[_0xdb9b2c(0x2ac)],'Sec-WebSocket-Version':_0x5ab918[_0xdb9b2c(0x268)],'Sec-WebSocket-Key':_0x5860cc,'Connection':_0xdb9b2c(0x230),'Upgrade':_0xdb9b2c(0x1c4)},_0x5ab918[_0xdb9b2c(0x177)]=_0x404ea7[_0xdb9b2c(0x27b)]+_0x404ea7['search'],_0x5ab918[_0xdb9b2c(0x2ba)]=_0x5ab918['handshakeTimeout'],_0x5ab918[_0xdb9b2c(0x210)]&&(_0x4832ac=new _0xd583a(_0x5ab918[_0xdb9b2c(0x210)]!==!0x0?_0x5ab918[_0xdb9b2c(0x210)]:{},!0x1,_0x5ab918[_0xdb9b2c(0x171)]),_0x5ab918[_0xdb9b2c(0x2ac)]['Sec-WebSocket-Extensions']=_0x134495({[_0xd583a['extensionName']]:_0x4832ac['offer']()})),_0x190200[_0xdb9b2c(0x28e)]){for(const _0x599a4c of _0x190200){if(typeof _0x599a4c!=_0xdb9b2c(0x202)||!_0x604696[_0xdb9b2c(0x2a5)](_0x599a4c)||_0x3f22d1['has'](_0x599a4c))throw new SyntaxError(_0xdb9b2c(0x304));_0x3f22d1[_0xdb9b2c(0x28b)](_0x599a4c);}_0x5ab918[_0xdb9b2c(0x2ac)][_0xdb9b2c(0x2c0)]=_0x190200[_0xdb9b2c(0x2d7)](',');}if(_0x5ab918[_0xdb9b2c(0x296)]&&(_0x5ab918['protocolVersion']<0xd?_0x5ab918[_0xdb9b2c(0x2ac)]['Sec-WebSocket-Origin']=_0x5ab918[_0xdb9b2c(0x296)]:_0x5ab918[_0xdb9b2c(0x2ac)]['Origin']=_0x5ab918['origin']),(_0x404ea7[_0xdb9b2c(0x1f3)]||_0x404ea7['password'])&&(_0x5ab918[_0xdb9b2c(0x16d)]=_0x404ea7[_0xdb9b2c(0x1f3)]+':'+_0x404ea7[_0xdb9b2c(0x30b)]),_0x30fc27){const _0x250a30=_0x5ab918[_0xdb9b2c(0x177)][_0xdb9b2c(0x273)](':');_0x5ab918[_0xdb9b2c(0x307)]=_0x250a30[0x0],_0x5ab918[_0xdb9b2c(0x177)]=_0x250a30[0x1];}let _0x539408;if(_0x5ab918['followRedirects']){if(_0x51f0ba[_0xdb9b2c(0x1ce)]===0x0){_0x51f0ba[_0xdb9b2c(0x23c)]=_0x30fc27,_0x51f0ba['_originalSecure']=_0x1572c3,_0x51f0ba[_0xdb9b2c(0x294)]=_0x30fc27?_0x5ab918['socketPath']:_0x404ea7[_0xdb9b2c(0x21e)];const _0x38bb91=_0x5d37ad&&_0x5d37ad[_0xdb9b2c(0x2ac)];if(_0x5d37ad={..._0x5d37ad,'headers':{}},_0x38bb91){for(const [_0x1bd62f,_0x161785]of Object['entries'](_0x38bb91))_0x5d37ad[_0xdb9b2c(0x2ac)][_0x1bd62f[_0xdb9b2c(0x30c)]()]=_0x161785;}}else{if(_0x51f0ba[_0xdb9b2c(0x1f6)](_0xdb9b2c(0x2fe))===0x0){const _0x5d11a5=_0x30fc27?_0x51f0ba[_0xdb9b2c(0x23c)]?_0x5ab918[_0xdb9b2c(0x307)]===_0x51f0ba[_0xdb9b2c(0x294)]:!0x1:_0x51f0ba[_0xdb9b2c(0x23c)]?!0x1:_0x404ea7[_0xdb9b2c(0x21e)]===_0x51f0ba[_0xdb9b2c(0x294)];(!_0x5d11a5||_0x51f0ba[_0xdb9b2c(0x18f)]&&!_0x1572c3)&&(delete _0x5ab918[_0xdb9b2c(0x2ac)]['authorization'],delete _0x5ab918['headers'][_0xdb9b2c(0x2f5)],_0x5d11a5||delete _0x5ab918[_0xdb9b2c(0x2ac)][_0xdb9b2c(0x21e)],_0x5ab918[_0xdb9b2c(0x16d)]=void 0x0);}}_0x5ab918[_0xdb9b2c(0x16d)]&&!_0x5d37ad[_0xdb9b2c(0x2ac)][_0xdb9b2c(0x262)]&&(_0x5d37ad[_0xdb9b2c(0x2ac)]['authorization']=_0xdb9b2c(0x1f9)+Buffer[_0xdb9b2c(0x24d)](_0x5ab918[_0xdb9b2c(0x16d)])['toString'](_0xdb9b2c(0x211))),_0x539408=_0x51f0ba[_0xdb9b2c(0x255)]=_0x3eaa11(_0x5ab918),_0x51f0ba[_0xdb9b2c(0x1ce)]&&_0x51f0ba[_0xdb9b2c(0x276)](_0xdb9b2c(0x2fe),_0x51f0ba['url'],_0x539408);}else _0x539408=_0x51f0ba[_0xdb9b2c(0x255)]=_0x3eaa11(_0x5ab918);_0x5ab918[_0xdb9b2c(0x2ba)]&&_0x539408['on'](_0xdb9b2c(0x2ba),()=>{_0x31c453(_0x51f0ba,_0x539408,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x539408['on'](_0xdb9b2c(0x219),_0x10c00a=>{const _0x2d766e=_0xdb9b2c;_0x539408===null||_0x539408[_0x424d2f]||(_0x539408=_0x51f0ba[_0x2d766e(0x255)]=null,_0x3b5f42(_0x51f0ba,_0x10c00a));}),_0x539408['on']('response',_0x5a3b75=>{const _0x144cd1=_0xdb9b2c,_0x4231e3=_0x5a3b75[_0x144cd1(0x2ac)]['location'],_0x1c77d8=_0x5a3b75['statusCode'];if(_0x4231e3&&_0x5ab918[_0x144cd1(0x2f6)]&&_0x1c77d8>=0x12c&&_0x1c77d8<0x190){if(++_0x51f0ba[_0x144cd1(0x1ce)]>_0x5ab918[_0x144cd1(0x29d)]){_0x31c453(_0x51f0ba,_0x539408,_0x144cd1(0x265));return;}_0x539408[_0x144cd1(0x2c3)]();let _0x2a3ff1;try{_0x2a3ff1=new _0x428afe(_0x4231e3,_0x3e76e6);}catch{const _0x201fcc=new SyntaxError(_0x144cd1(0x238)+_0x4231e3);_0x3b5f42(_0x51f0ba,_0x201fcc);return;}_0x7435d(_0x51f0ba,_0x2a3ff1,_0x190200,_0x5d37ad);}else _0x51f0ba[_0x144cd1(0x276)](_0x144cd1(0x259),_0x539408,_0x5a3b75)||_0x31c453(_0x51f0ba,_0x539408,_0x144cd1(0x1e8)+_0x5a3b75[_0x144cd1(0x169)]);}),_0x539408['on'](_0xdb9b2c(0x275),(_0x4e689f,_0x1ffa5e,_0x5a8821)=>{const _0x259d51=_0xdb9b2c;if(_0x51f0ba[_0x259d51(0x276)]('upgrade',_0x4e689f),_0x51f0ba['readyState']!==_0x486653[_0x259d51(0x1c5)])return;_0x539408=_0x51f0ba[_0x259d51(0x255)]=null;const _0x410c84=_0x4e689f[_0x259d51(0x2ac)]['upgrade'];if(_0x410c84===void 0x0||_0x410c84[_0x259d51(0x30c)]()!==_0x259d51(0x1c4)){_0x31c453(_0x51f0ba,_0x1ffa5e,_0x259d51(0x212));return;}const _0x4442f0=_0x251126(_0x259d51(0x236))[_0x259d51(0x1c7)](_0x5860cc+_0x500e38)[_0x259d51(0x27e)](_0x259d51(0x211));if(_0x4e689f['headers']['sec-websocket-accept']!==_0x4442f0){_0x31c453(_0x51f0ba,_0x1ffa5e,_0x259d51(0x1d3));return;}const _0x133f08=_0x4e689f[_0x259d51(0x2ac)][_0x259d51(0x1a3)];let _0x51d170;if(_0x133f08!==void 0x0?_0x3f22d1[_0x259d51(0x242)]?_0x3f22d1['has'](_0x133f08)||(_0x51d170='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0x51d170=_0x259d51(0x1d6):_0x3f22d1['size']&&(_0x51d170=_0x259d51(0x1af)),_0x51d170){_0x31c453(_0x51f0ba,_0x1ffa5e,_0x51d170);return;}_0x133f08&&(_0x51f0ba[_0x259d51(0x2a6)]=_0x133f08);const _0x4811f7=_0x4e689f[_0x259d51(0x2ac)][_0x259d51(0x2e4)];if(_0x4811f7!==void 0x0){if(!_0x4832ac){_0x31c453(_0x51f0ba,_0x1ffa5e,_0x259d51(0x309));return;}let _0x5b0f04;try{_0x5b0f04=_0xee3abd(_0x4811f7);}catch{_0x31c453(_0x51f0ba,_0x1ffa5e,_0x259d51(0x2e8));return;}const _0x555827=Object[_0x259d51(0x1ea)](_0x5b0f04);if(_0x555827[_0x259d51(0x28e)]!==0x1||_0x555827[0x0]!==_0xd583a[_0x259d51(0x24a)]){_0x31c453(_0x51f0ba,_0x1ffa5e,'Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested');return;}try{_0x4832ac[_0x259d51(0x1cc)](_0x5b0f04[_0xd583a[_0x259d51(0x24a)]]);}catch{_0x31c453(_0x51f0ba,_0x1ffa5e,_0x259d51(0x2e8));return;}_0x51f0ba[_0x259d51(0x2dc)][_0xd583a[_0x259d51(0x24a)]]=_0x4832ac;}_0x51f0ba['setSocket'](_0x1ffa5e,_0x5a8821,{'allowSynchronousEvents':_0x5ab918[_0x259d51(0x194)],'generateMask':_0x5ab918['generateMask'],'maxPayload':_0x5ab918[_0x259d51(0x171)],'skipUTF8Validation':_0x5ab918[_0x259d51(0x2a0)]});}),_0x5ab918[_0xdb9b2c(0x274)]?_0x5ab918[_0xdb9b2c(0x274)](_0x539408,_0x51f0ba):_0x539408[_0xdb9b2c(0x1bc)]();}function _0x3b5f42(_0x53364b,_0x3171cb){const _0x266f75=_0x1fa00c;_0x53364b[_0x266f75(0x1a0)]=_0x486653[_0x266f75(0x293)],_0x53364b['_errorEmitted']=!0x0,_0x53364b[_0x266f75(0x276)](_0x266f75(0x219),_0x3171cb),_0x53364b[_0x266f75(0x1be)]();}function _0x2ab36f(_0x12af11){const _0x504143=_0x1fa00c;return _0x12af11[_0x504143(0x177)]=_0x12af11[_0x504143(0x307)],_0x1d89a6[_0x504143(0x245)](_0x12af11);}function _0x49a1f3(_0x583043){const _0x2a7ce5=_0x1fa00c;return _0x583043[_0x2a7ce5(0x177)]=void 0x0,!_0x583043[_0x2a7ce5(0x17d)]&&_0x583043['servername']!==''&&(_0x583043[_0x2a7ce5(0x17d)]=_0x1d89a6[_0x2a7ce5(0x2bd)](_0x583043[_0x2a7ce5(0x21e)])?'':_0x583043['host']),_0x465979[_0x2a7ce5(0x245)](_0x583043);}function _0x31c453(_0x30ea4d,_0x3453a8,_0x25c7e8){const _0x4cee12=_0x1fa00c;_0x30ea4d['_readyState']=_0x486653[_0x4cee12(0x293)];const _0x3a696a=new Error(_0x25c7e8);Error[_0x4cee12(0x1d5)](_0x3a696a,_0x31c453),_0x3453a8[_0x4cee12(0x2b4)]?(_0x3453a8[_0x424d2f]=!0x0,_0x3453a8['abort'](),_0x3453a8[_0x4cee12(0x295)]&&!_0x3453a8[_0x4cee12(0x295)][_0x4cee12(0x1a2)]&&_0x3453a8[_0x4cee12(0x295)][_0x4cee12(0x2b0)](),process[_0x4cee12(0x1bb)](_0x3b5f42,_0x30ea4d,_0x3a696a)):(_0x3453a8[_0x4cee12(0x2b0)](_0x3a696a),_0x3453a8[_0x4cee12(0x21a)](_0x4cee12(0x219),_0x30ea4d[_0x4cee12(0x276)]['bind'](_0x30ea4d,_0x4cee12(0x219))),_0x3453a8[_0x4cee12(0x21a)](_0x4cee12(0x27c),_0x30ea4d[_0x4cee12(0x1be)][_0x4cee12(0x2db)](_0x30ea4d)));}function _0x2ea13(_0x34a54d,_0x4f00cb,_0x15e925){const _0x1b2c1a=_0x1fa00c;if(_0x4f00cb){const _0x3759f0=_0x3d90d8(_0x4f00cb)?_0x4f00cb[_0x1b2c1a(0x242)]:_0x148ac4(_0x4f00cb)[_0x1b2c1a(0x28e)];_0x34a54d[_0x1b2c1a(0x1b0)]?_0x34a54d['_sender'][_0x1b2c1a(0x191)]+=_0x3759f0:_0x34a54d[_0x1b2c1a(0x1d1)]+=_0x3759f0;}if(_0x15e925){const _0x13843b=new Error(_0x1b2c1a(0x317)+_0x34a54d['readyState']+'\x20('+_0x26ec56[_0x34a54d[_0x1b2c1a(0x24f)]]+')');process['nextTick'](_0x15e925,_0x13843b);}}function _0x1a4c03(_0x1ffc12,_0x424198){const _0x48d4f2=_0x1fa00c,_0x61363b=this[_0x5a6103];_0x61363b[_0x48d4f2(0x2c9)]=!0x0,_0x61363b[_0x48d4f2(0x27a)]=_0x424198,_0x61363b['_closeCode']=_0x1ffc12,_0x61363b['_socket'][_0x5a6103]!==void 0x0&&(_0x61363b['_socket']['removeListener'](_0x48d4f2(0x207),_0xb7abe4),process[_0x48d4f2(0x1bb)](_0x264191,_0x61363b[_0x48d4f2(0x1b0)]),_0x1ffc12===0x3ed?_0x61363b[_0x48d4f2(0x27c)]():_0x61363b['close'](_0x1ffc12,_0x424198));}function _0xf7ac83(){const _0x2e117c=_0x1fa00c,_0x392faf=this[_0x5a6103];_0x392faf[_0x2e117c(0x19f)]||_0x392faf[_0x2e117c(0x1b0)][_0x2e117c(0x1a6)]();}function _0x4f3966(_0x2e4da6){const _0x483861=_0x1fa00c,_0x1018f3=this[_0x5a6103];_0x1018f3[_0x483861(0x1b0)][_0x5a6103]!==void 0x0&&(_0x1018f3[_0x483861(0x1b0)][_0x483861(0x243)]('data',_0xb7abe4),process[_0x483861(0x1bb)](_0x264191,_0x1018f3[_0x483861(0x1b0)]),_0x1018f3[_0x483861(0x27c)](_0x2e4da6[_0x3b8bae])),_0x1018f3[_0x483861(0x2c8)]||(_0x1018f3['_errorEmitted']=!0x0,_0x1018f3[_0x483861(0x276)](_0x483861(0x219),_0x2e4da6));}function _0x274074(){this[_0x5a6103]['emitClose']();}function _0x2f2614(_0xbf0c82,_0x238061){const _0x23bd58=_0x1fa00c;this[_0x5a6103][_0x23bd58(0x276)]('message',_0xbf0c82,_0x238061);}function _0x4a3e7a(_0x5827bb){const _0x62151d=_0x1fa00c,_0x2b60f6=this[_0x5a6103];_0x2b60f6[_0x62151d(0x2f1)]&&_0x2b60f6['pong'](_0x5827bb,!this[_0x62151d(0x279)],_0x2a7732),_0x2b60f6[_0x62151d(0x276)](_0x62151d(0x281),_0x5827bb);}function _0x953104(_0x259023){const _0x50a61a=_0x1fa00c;this[_0x5a6103][_0x50a61a(0x276)](_0x50a61a(0x1a1),_0x259023);}function _0x264191(_0x5ac365){_0x5ac365['resume']();}function _0x24c839(_0x2661a8){const _0x3c2e02=_0x1fa00c,_0x30e10b=this[_0x5a6103];_0x30e10b[_0x3c2e02(0x24f)]!==_0x486653[_0x3c2e02(0x1ed)]&&(_0x30e10b[_0x3c2e02(0x24f)]===_0x486653[_0x3c2e02(0x23d)]&&(_0x30e10b['_readyState']=_0x486653[_0x3c2e02(0x293)],_0x26d179(_0x30e10b)),this[_0x3c2e02(0x1b0)]['end'](),_0x30e10b[_0x3c2e02(0x2c8)]||(_0x30e10b[_0x3c2e02(0x2c8)]=!0x0,_0x30e10b['emit'](_0x3c2e02(0x219),_0x2661a8)));}function _0x26d179(_0x4d68d8){const _0x280e4e=_0x1fa00c;_0x4d68d8['_closeTimer']=setTimeout(_0x4d68d8[_0x280e4e(0x1b0)][_0x280e4e(0x2b0)]['bind'](_0x4d68d8[_0x280e4e(0x1b0)]),_0x232ecf);}function _0x40dc7a(){const _0x1821ea=_0x1fa00c,_0x185161=this[_0x5a6103];this[_0x1821ea(0x243)]('close',_0x40dc7a),this['removeListener'](_0x1821ea(0x207),_0xb7abe4),this[_0x1821ea(0x243)](_0x1821ea(0x1bc),_0x57fb23),_0x185161[_0x1821ea(0x1a0)]=_0x486653[_0x1821ea(0x293)];let _0x2e1dfa;!this['_readableState']['endEmitted']&&!_0x185161['_closeFrameReceived']&&!_0x185161[_0x1821ea(0x170)][_0x1821ea(0x214)][_0x1821ea(0x1e2)]&&(_0x2e1dfa=_0x185161[_0x1821ea(0x1b0)][_0x1821ea(0x20c)]())!==null&&_0x185161['_receiver'][_0x1821ea(0x1e9)](_0x2e1dfa),_0x185161[_0x1821ea(0x170)][_0x1821ea(0x1bc)](),this[_0x5a6103]=void 0x0,clearTimeout(_0x185161['_closeTimer']),_0x185161[_0x1821ea(0x170)][_0x1821ea(0x214)][_0x1821ea(0x2bb)]||_0x185161[_0x1821ea(0x170)][_0x1821ea(0x214)]['errorEmitted']?_0x185161[_0x1821ea(0x1be)]():(_0x185161[_0x1821ea(0x170)]['on'](_0x1821ea(0x219),_0x274074),_0x185161[_0x1821ea(0x170)]['on']('finish',_0x274074));}function _0xb7abe4(_0x1e93a7){const _0xe2a914=_0x1fa00c;this[_0x5a6103][_0xe2a914(0x170)][_0xe2a914(0x1e9)](_0x1e93a7)||this[_0xe2a914(0x2f0)]();}function _0x57fb23(){const _0x366444=_0x1fa00c,_0x5bd7ec=this[_0x5a6103];_0x5bd7ec['_readyState']=_0x486653[_0x366444(0x293)],_0x5bd7ec[_0x366444(0x170)][_0x366444(0x1bc)](),this[_0x366444(0x1bc)]();}function _0xe116c4(){const _0x15eda1=_0x1fa00c,_0x2b8bd6=this[_0x5a6103];this[_0x15eda1(0x243)](_0x15eda1(0x219),_0xe116c4),this['on'](_0x15eda1(0x219),_0x2a7732),_0x2b8bd6&&(_0x2b8bd6[_0x15eda1(0x1a0)]=_0x486653['CLOSING'],this[_0x15eda1(0x2b0)]());}return we;}var Oe,rt;function Yt(){if(rt)return Oe;rt=0x1,Be();const {Duplex:_0x37a39e}=_0xe2e071;function _0x4e9fa9(_0x58efbd){_0x58efbd['emit']('close');}function _0x44bb76(){const _0x38b15b=_0x3817;!this['destroyed']&&this[_0x38b15b(0x214)]['finished']&&this[_0x38b15b(0x2b0)]();}function _0x187265(_0x50f872){const _0x27bf8f=_0x3817;this[_0x27bf8f(0x243)](_0x27bf8f(0x219),_0x187265),this['destroy'](),this[_0x27bf8f(0x1f6)](_0x27bf8f(0x219))===0x0&&this[_0x27bf8f(0x276)](_0x27bf8f(0x219),_0x50f872);}function _0x4bd618(_0x5af774,_0x5c4b73){const _0x53cb23=_0x3817;let _0x40d12d=!0x0;const _0x369875=new _0x37a39e({..._0x5c4b73,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x5af774['on']('message',function(_0xb15f68,_0xe1f41f){const _0x3f613e=_0x3817,_0x598746=!_0xe1f41f&&_0x369875[_0x3f613e(0x16e)][_0x3f613e(0x251)]?_0xb15f68[_0x3f613e(0x30f)]():_0xb15f68;_0x369875['push'](_0x598746)||_0x5af774['pause']();}),_0x5af774[_0x53cb23(0x21a)](_0x53cb23(0x219),function(_0x50c213){const _0x78e435=_0x53cb23;_0x369875[_0x78e435(0x1a2)]||(_0x40d12d=!0x1,_0x369875['destroy'](_0x50c213));}),_0x5af774[_0x53cb23(0x21a)](_0x53cb23(0x27c),function(){const _0x9a940=_0x53cb23;_0x369875[_0x9a940(0x1a2)]||_0x369875['push'](null);}),_0x369875[_0x53cb23(0x22d)]=function(_0x41d13c,_0x41912c){const _0x3ee382=_0x53cb23;if(_0x5af774[_0x3ee382(0x24f)]===_0x5af774[_0x3ee382(0x1ed)]){_0x41912c(_0x41d13c),process['nextTick'](_0x4e9fa9,_0x369875);return;}let _0xf48fff=!0x1;_0x5af774[_0x3ee382(0x21a)]('error',function(_0x454bb1){_0xf48fff=!0x0,_0x41912c(_0x454bb1);}),_0x5af774[_0x3ee382(0x21a)](_0x3ee382(0x27c),function(){const _0x205900=_0x3ee382;_0xf48fff||_0x41912c(_0x41d13c),process[_0x205900(0x1bb)](_0x4e9fa9,_0x369875);}),_0x40d12d&&_0x5af774[_0x3ee382(0x2f2)]();},_0x369875[_0x53cb23(0x1c9)]=function(_0x476a6a){const _0xa9d288=_0x53cb23;if(_0x5af774['readyState']===_0x5af774[_0xa9d288(0x1c5)]){_0x5af774[_0xa9d288(0x21a)](_0xa9d288(0x1b1),function(){const _0x12c9bf=_0xa9d288;_0x369875[_0x12c9bf(0x1c9)](_0x476a6a);});return;}_0x5af774[_0xa9d288(0x1b0)]!==null&&(_0x5af774[_0xa9d288(0x1b0)][_0xa9d288(0x214)][_0xa9d288(0x2bb)]?(_0x476a6a(),_0x369875[_0xa9d288(0x16e)][_0xa9d288(0x16b)]&&_0x369875[_0xa9d288(0x2b0)]()):(_0x5af774[_0xa9d288(0x1b0)][_0xa9d288(0x21a)]('finish',function(){_0x476a6a();}),_0x5af774[_0xa9d288(0x27c)]()));},_0x369875['_read']=function(){const _0x3dce28=_0x53cb23;_0x5af774[_0x3dce28(0x19f)]&&_0x5af774[_0x3dce28(0x1a6)]();},_0x369875['_write']=function(_0x271524,_0x510282,_0x5dfc42){const _0x1dc022=_0x53cb23;if(_0x5af774[_0x1dc022(0x24f)]===_0x5af774[_0x1dc022(0x1c5)]){_0x5af774['once'](_0x1dc022(0x1b1),function(){const _0x3f8ea6=_0x1dc022;_0x369875[_0x3f8ea6(0x227)](_0x271524,_0x510282,_0x5dfc42);});return;}_0x5af774[_0x1dc022(0x226)](_0x271524,_0x5dfc42);},_0x369875['on'](_0x53cb23(0x1bc),_0x44bb76),_0x369875['on']('error',_0x187265),_0x369875;}return Oe=_0x4bd618,Oe;}Yt(),ht(),ut();var Kt=Be();const Xt=Wt(Kt);var Ce,st;function Zt(){if(st)return Ce;st=0x1;const {tokenChars:_0x52e9b3}=ie();function _0x5820ae(_0x1c9a0e){const _0x535afb=_0x3817,_0x38e985=new Set();let _0x466b3f=-0x1,_0x184f8d=-0x1,_0x27cadb=0x0;for(_0x27cadb;_0x27cadb<_0x1c9a0e[_0x535afb(0x28e)];_0x27cadb++){const _0x16bf7a=_0x1c9a0e[_0x535afb(0x1cd)](_0x27cadb);if(_0x184f8d===-0x1&&_0x52e9b3[_0x16bf7a]===0x1)_0x466b3f===-0x1&&(_0x466b3f=_0x27cadb);else{if(_0x27cadb!==0x0&&(_0x16bf7a===0x20||_0x16bf7a===0x9))_0x184f8d===-0x1&&_0x466b3f!==-0x1&&(_0x184f8d=_0x27cadb);else{if(_0x16bf7a===0x2c){if(_0x466b3f===-0x1)throw new SyntaxError(_0x535afb(0x22c)+_0x27cadb);_0x184f8d===-0x1&&(_0x184f8d=_0x27cadb);const _0xa9c7a9=_0x1c9a0e[_0x535afb(0x23f)](_0x466b3f,_0x184f8d);if(_0x38e985[_0x535afb(0x189)](_0xa9c7a9))throw new SyntaxError(_0x535afb(0x30e)+_0xa9c7a9+_0x535afb(0x283));_0x38e985[_0x535afb(0x28b)](_0xa9c7a9),_0x466b3f=_0x184f8d=-0x1;}else throw new SyntaxError(_0x535afb(0x22c)+_0x27cadb);}}}if(_0x466b3f===-0x1||_0x184f8d!==-0x1)throw new SyntaxError(_0x535afb(0x2df));const _0x11db4c=_0x1c9a0e['slice'](_0x466b3f,_0x27cadb);if(_0x38e985[_0x535afb(0x189)](_0x11db4c))throw new SyntaxError(_0x535afb(0x30e)+_0x11db4c+_0x535afb(0x283));return _0x38e985[_0x535afb(0x28b)](_0x11db4c),_0x38e985;}return Ce={'parse':_0x5820ae},Ce;}var Te,it;function Qt(){const _0x24235c=_0x459da0;if(it)return Te;it=0x1;const _0x32ff1d=_0x341a96,_0x2a38b6=_0x4cd558,{Duplex:_0x2bdad3}=_0xe2e071,{createHash:_0x49b2f1}=_0x3be3a3,_0x501b06=dt(),_0x3fc5a7=ce(),_0x46d5af=Zt(),_0x32f62b=Be(),{GUID:_0x165fc7,kWebSocket:_0x3ce6ea}=V(),_0x172dcd=/^[+/0-9A-Za-z]{22}==$/,_0x14b953=0x0,_0x415289=0x1,_0x221d8d=0x2;class _0x5a28a0 extends _0x32ff1d{constructor(_0x1e193c,_0x11a089){const _0x4b0758=_0x3817;if(super(),_0x1e193c={'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':_0x32f62b,..._0x1e193c},_0x1e193c[_0x4b0758(0x2fa)]==null&&!_0x1e193c[_0x4b0758(0x205)]&&!_0x1e193c[_0x4b0758(0x1e0)]||_0x1e193c[_0x4b0758(0x2fa)]!=null&&(_0x1e193c[_0x4b0758(0x205)]||_0x1e193c[_0x4b0758(0x1e0)])||_0x1e193c[_0x4b0758(0x205)]&&_0x1e193c['noServer'])throw new TypeError(_0x4b0758(0x2b9));if(_0x1e193c[_0x4b0758(0x2fa)]!=null?(this[_0x4b0758(0x289)]=_0x2a38b6[_0x4b0758(0x2ce)]((_0x4a5d8f,_0xe9d6c8)=>{const _0xb8411e=_0x4b0758,_0x1c963a=_0x2a38b6[_0xb8411e(0x25b)][0x1aa];_0xe9d6c8[_0xb8411e(0x30d)](0x1aa,{'Content-Length':_0x1c963a[_0xb8411e(0x28e)],'Content-Type':_0xb8411e(0x300)}),_0xe9d6c8[_0xb8411e(0x1bc)](_0x1c963a);}),this[_0x4b0758(0x289)][_0x4b0758(0x299)](_0x1e193c[_0x4b0758(0x2fa)],_0x1e193c[_0x4b0758(0x21e)],_0x1e193c[_0x4b0758(0x17f)],_0x11a089)):_0x1e193c[_0x4b0758(0x205)]&&(this[_0x4b0758(0x289)]=_0x1e193c[_0x4b0758(0x205)]),this['_server']){const _0x3775bc=this[_0x4b0758(0x276)]['bind'](this,_0x4b0758(0x2a4));this[_0x4b0758(0x220)]=_0x31ca3b(this[_0x4b0758(0x289)],{'listening':this[_0x4b0758(0x276)][_0x4b0758(0x2db)](this,'listening'),'error':this[_0x4b0758(0x276)]['bind'](this,_0x4b0758(0x219)),'upgrade':(_0x323ad0,_0x1eee9c,_0x2f95a5)=>{const _0x2bcba7=_0x4b0758;this[_0x2bcba7(0x2f8)](_0x323ad0,_0x1eee9c,_0x2f95a5,_0x3775bc);}});}_0x1e193c[_0x4b0758(0x210)]===!0x0&&(_0x1e193c[_0x4b0758(0x210)]={}),_0x1e193c[_0x4b0758(0x215)]&&(this[_0x4b0758(0x200)]=new Set(),this[_0x4b0758(0x18b)]=!0x1),this[_0x4b0758(0x20b)]=_0x1e193c,this[_0x4b0758(0x222)]=_0x14b953;}[_0x24235c(0x2ef)](){const _0x345ffa=_0x24235c;if(this[_0x345ffa(0x20b)][_0x345ffa(0x1e0)])throw new Error(_0x345ffa(0x22e));return this[_0x345ffa(0x289)]?this['_server'][_0x345ffa(0x2ef)]():null;}[_0x24235c(0x27c)](_0x58f197){const _0x4a9bb7=_0x24235c;if(this[_0x4a9bb7(0x222)]===_0x221d8d){_0x58f197&&this[_0x4a9bb7(0x21a)](_0x4a9bb7(0x27c),()=>{const _0x840b6d=_0x4a9bb7;_0x58f197(new Error(_0x840b6d(0x290)));}),process['nextTick'](_0x4acb56,this);return;}if(_0x58f197&&this['once'](_0x4a9bb7(0x27c),_0x58f197),this['_state']!==_0x415289){if(this[_0x4a9bb7(0x222)]=_0x415289,this[_0x4a9bb7(0x20b)][_0x4a9bb7(0x1e0)]||this['options'][_0x4a9bb7(0x205)])this['_server']&&(this[_0x4a9bb7(0x220)](),this[_0x4a9bb7(0x220)]=this[_0x4a9bb7(0x289)]=null),this['clients']?this[_0x4a9bb7(0x200)][_0x4a9bb7(0x242)]?this[_0x4a9bb7(0x18b)]=!0x0:process['nextTick'](_0x4acb56,this):process['nextTick'](_0x4acb56,this);else{const _0xfe9351=this[_0x4a9bb7(0x289)];this[_0x4a9bb7(0x220)](),this[_0x4a9bb7(0x220)]=this[_0x4a9bb7(0x289)]=null,_0xfe9351[_0x4a9bb7(0x27c)](()=>{_0x4acb56(this);});}}}['shouldHandle'](_0x534d9b){const _0x2d0b4f=_0x24235c;if(this['options'][_0x2d0b4f(0x177)]){const _0x5bda4c=_0x534d9b[_0x2d0b4f(0x1dc)][_0x2d0b4f(0x240)]('?');if((_0x5bda4c!==-0x1?_0x534d9b[_0x2d0b4f(0x1dc)][_0x2d0b4f(0x23f)](0x0,_0x5bda4c):_0x534d9b['url'])!==this[_0x2d0b4f(0x20b)][_0x2d0b4f(0x177)])return!0x1;}return!0x0;}[_0x24235c(0x2f8)](_0x2eed6d,_0x577021,_0x34cf05,_0x180090){const _0x4191d7=_0x24235c;_0x577021['on'](_0x4191d7(0x219),_0x4e24c4);const _0x2296df=_0x2eed6d[_0x4191d7(0x2ac)][_0x4191d7(0x225)],_0x393440=_0x2eed6d[_0x4191d7(0x2ac)][_0x4191d7(0x275)],_0x233307=+_0x2eed6d[_0x4191d7(0x2ac)][_0x4191d7(0x232)];if(_0x2eed6d['method']!==_0x4191d7(0x20a)){_0x537751(this,_0x2eed6d,_0x577021,0x195,_0x4191d7(0x2d5));return;}if(_0x393440===void 0x0||_0x393440[_0x4191d7(0x30c)]()!==_0x4191d7(0x1c4)){_0x537751(this,_0x2eed6d,_0x577021,0x190,_0x4191d7(0x212));return;}if(_0x2296df===void 0x0||!_0x172dcd[_0x4191d7(0x2a5)](_0x2296df)){_0x537751(this,_0x2eed6d,_0x577021,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header');return;}if(_0x233307!==0xd&&_0x233307!==0x8){_0x537751(this,_0x2eed6d,_0x577021,0x190,_0x4191d7(0x235),{'Sec-WebSocket-Version':_0x4191d7(0x2c1)});return;}if(!this[_0x4191d7(0x2d1)](_0x2eed6d)){_0x1a320b(_0x577021,0x190);return;}const _0x438c59=_0x2eed6d[_0x4191d7(0x2ac)][_0x4191d7(0x1a3)];let _0x1cb260=new Set();if(_0x438c59!==void 0x0)try{_0x1cb260=_0x46d5af[_0x4191d7(0x26e)](_0x438c59);}catch{_0x537751(this,_0x2eed6d,_0x577021,0x190,_0x4191d7(0x1d8));return;}const _0x10d725=_0x2eed6d['headers'][_0x4191d7(0x2e4)],_0x5e84b1={};if(this[_0x4191d7(0x20b)][_0x4191d7(0x210)]&&_0x10d725!==void 0x0){const _0x10a44b=new _0x3fc5a7(this[_0x4191d7(0x20b)][_0x4191d7(0x210)],!0x0,this['options'][_0x4191d7(0x171)]);try{const _0x1d8a6e=_0x501b06['parse'](_0x10d725);_0x1d8a6e[_0x3fc5a7['extensionName']]&&(_0x10a44b[_0x4191d7(0x1cc)](_0x1d8a6e[_0x3fc5a7['extensionName']]),_0x5e84b1[_0x3fc5a7['extensionName']]=_0x10a44b);}catch{_0x537751(this,_0x2eed6d,_0x577021,0x190,_0x4191d7(0x178));return;}}if(this[_0x4191d7(0x20b)][_0x4191d7(0x2ff)]){const _0x17a412={'origin':_0x2eed6d['headers'][''+(_0x233307===0x8?_0x4191d7(0x28d):_0x4191d7(0x296))],'secure':!!(_0x2eed6d[_0x4191d7(0x295)][_0x4191d7(0x196)]||_0x2eed6d[_0x4191d7(0x295)][_0x4191d7(0x316)]),'req':_0x2eed6d};if(this[_0x4191d7(0x20b)][_0x4191d7(0x2ff)]['length']===0x2){this['options']['verifyClient'](_0x17a412,(_0xeaa151,_0x2d7d3d,_0x4f666f,_0x45154c)=>{const _0x122b75=_0x4191d7;if(!_0xeaa151)return _0x1a320b(_0x577021,_0x2d7d3d||0x191,_0x4f666f,_0x45154c);this[_0x122b75(0x16f)](_0x5e84b1,_0x2296df,_0x1cb260,_0x2eed6d,_0x577021,_0x34cf05,_0x180090);});return;}if(!this[_0x4191d7(0x20b)][_0x4191d7(0x2ff)](_0x17a412))return _0x1a320b(_0x577021,0x191);}this[_0x4191d7(0x16f)](_0x5e84b1,_0x2296df,_0x1cb260,_0x2eed6d,_0x577021,_0x34cf05,_0x180090);}[_0x24235c(0x16f)](_0x541d2f,_0x3a755d,_0x57a63d,_0x4c22a5,_0x5d778a,_0x319eec,_0x205d57){const _0x2033f1=_0x24235c;if(!_0x5d778a[_0x2033f1(0x272)]||!_0x5d778a['writable'])return _0x5d778a['destroy']();if(_0x5d778a[_0x3ce6ea])throw new Error(_0x2033f1(0x266));if(this[_0x2033f1(0x222)]>_0x14b953)return _0x1a320b(_0x5d778a,0x1f7);const _0x12c313=[_0x2033f1(0x1ff),_0x2033f1(0x1b8),_0x2033f1(0x260),_0x2033f1(0x184)+_0x49b2f1('sha1')['update'](_0x3a755d+_0x165fc7)[_0x2033f1(0x27e)](_0x2033f1(0x211))],_0x55f30d=new this[(_0x2033f1(0x20b))][(_0x2033f1(0x1a5))](null,void 0x0,this[_0x2033f1(0x20b)]);if(_0x57a63d[_0x2033f1(0x242)]){const _0x5a35d=this[_0x2033f1(0x20b)][_0x2033f1(0x22b)]?this[_0x2033f1(0x20b)]['handleProtocols'](_0x57a63d,_0x4c22a5):_0x57a63d[_0x2033f1(0x241)]()[_0x2033f1(0x23b)]()[_0x2033f1(0x1ec)];_0x5a35d&&(_0x12c313[_0x2033f1(0x1b6)]('Sec-WebSocket-Protocol:\x20'+_0x5a35d),_0x55f30d[_0x2033f1(0x2a6)]=_0x5a35d);}if(_0x541d2f[_0x3fc5a7[_0x2033f1(0x24a)]]){const _0x41faee=_0x541d2f[_0x3fc5a7[_0x2033f1(0x24a)]][_0x2033f1(0x2b7)],_0x3bad6d=_0x501b06['format']({[_0x3fc5a7[_0x2033f1(0x24a)]]:[_0x41faee]});_0x12c313[_0x2033f1(0x1b6)]('Sec-WebSocket-Extensions:\x20'+_0x3bad6d),_0x55f30d['_extensions']=_0x541d2f;}this[_0x2033f1(0x276)](_0x2033f1(0x2ac),_0x12c313,_0x4c22a5),_0x5d778a['write'](_0x12c313[_0x2033f1(0x27f)]('\x0d\x0a')[_0x2033f1(0x2d7)]('\x0d\x0a')),_0x5d778a['removeListener'](_0x2033f1(0x219),_0x4e24c4),_0x55f30d[_0x2033f1(0x1de)](_0x5d778a,_0x319eec,{'allowSynchronousEvents':this[_0x2033f1(0x20b)][_0x2033f1(0x194)],'maxPayload':this[_0x2033f1(0x20b)][_0x2033f1(0x171)],'skipUTF8Validation':this['options']['skipUTF8Validation']}),this['clients']&&(this['clients'][_0x2033f1(0x28b)](_0x55f30d),_0x55f30d['on'](_0x2033f1(0x27c),()=>{const _0x3955cb=_0x2033f1;this[_0x3955cb(0x200)][_0x3955cb(0x24c)](_0x55f30d),this[_0x3955cb(0x18b)]&&!this[_0x3955cb(0x200)][_0x3955cb(0x242)]&&process[_0x3955cb(0x1bb)](_0x4acb56,this);})),_0x205d57(_0x55f30d,_0x4c22a5);}}Te=_0x5a28a0;function _0x31ca3b(_0x111651,_0x16487a){const _0x2a352d=_0x24235c;for(const _0x4a2acd of Object[_0x2a352d(0x1ea)](_0x16487a))_0x111651['on'](_0x4a2acd,_0x16487a[_0x4a2acd]);return function(){const _0x3ff265=_0x2a352d;for(const _0x5b6133 of Object[_0x3ff265(0x1ea)](_0x16487a))_0x111651[_0x3ff265(0x243)](_0x5b6133,_0x16487a[_0x5b6133]);};}function _0x4acb56(_0x5826ed){const _0x2e8b3a=_0x24235c;_0x5826ed[_0x2e8b3a(0x222)]=_0x221d8d,_0x5826ed['emit'](_0x2e8b3a(0x27c));}function _0x4e24c4(){this['destroy']();}function _0x1a320b(_0x363772,_0x7f2e42,_0x4a9860,_0x24a14e){const _0x35fba3=_0x24235c;_0x4a9860=_0x4a9860||_0x2a38b6[_0x35fba3(0x25b)][_0x7f2e42],_0x24a14e={'Connection':'close','Content-Type':_0x35fba3(0x302),'Content-Length':Buffer['byteLength'](_0x4a9860),..._0x24a14e},_0x363772['once'](_0x35fba3(0x288),_0x363772[_0x35fba3(0x2b0)]),_0x363772[_0x35fba3(0x1bc)](_0x35fba3(0x2a8)+_0x7f2e42+'\x20'+_0x2a38b6['STATUS_CODES'][_0x7f2e42]+'\x0d\x0a'+Object['keys'](_0x24a14e)[_0x35fba3(0x173)](_0x31f76a=>_0x31f76a+':\x20'+_0x24a14e[_0x31f76a])[_0x35fba3(0x2d7)]('\x0d\x0a')+_0x35fba3(0x1c1)+_0x4a9860);}function _0x537751(_0x428a27,_0x3489da,_0x46f657,_0x703c70,_0x162097,_0x27f458){const _0x2e7fb1=_0x24235c;if(_0x428a27[_0x2e7fb1(0x1f6)]('wsClientError')){const _0xc0bd97=new Error(_0x162097);Error[_0x2e7fb1(0x1d5)](_0xc0bd97,_0x537751),_0x428a27[_0x2e7fb1(0x276)](_0x2e7fb1(0x179),_0xc0bd97,_0x46f657,_0x3489da);}else _0x1a320b(_0x46f657,_0x703c70,_0x162097,_0x27f458);}return Te;}Qt();var Jt=Object[_0x459da0(0x292)],er=(_0x18adf7,_0x5396c7,_0x392cf4,_0x33e0d7)=>{const _0x70ff4=_0x459da0;for(var _0x3ae7d5=_0x33e0d7>0x1?void 0x0:_0x33e0d7?Jt(_0x5396c7,_0x392cf4):_0x5396c7,_0x4f3376=_0x18adf7[_0x70ff4(0x28e)]-0x1,_0x23130f;_0x4f3376>=0x0;_0x4f3376--)(_0x23130f=_0x18adf7[_0x4f3376])&&(_0x3ae7d5=_0x23130f(_0x3ae7d5)||_0x3ae7d5);return _0x3ae7d5;},tr=(_0x4ae501,_0x247771)=>(_0x656c9d,_0x49e307)=>_0x247771(_0x656c9d,_0x49e307,_0x4ae501);function _0x3817(_0x4ee197,_0x514598){_0x4ee197=_0x4ee197-0x169;const _0x4cdec8=_0x4cde();let _0x38178b=_0x4cdec8[_0x4ee197];return _0x38178b;}let ke=class extends _0x5acf1f{constructor(_0x6f6be5){const _0x4ee7f0=_0x459da0;super(),this[_0x4ee7f0(0x2e9)]=_0x6f6be5;}[_0x459da0(0x2d3)](_0x2cfb47){const _0x24a50a=_0x459da0;var _0x323c6f;const _0x13dd77=((_0x323c6f=this[_0x24a50a(0x2e9)][_0x24a50a(0x23e)](_0x15184b))==null?void 0x0:_0x323c6f[_0x24a50a(0x213)])||{};try{const _0x909a40=new Xt(_0x2cfb47,{'headers':{..._0x13dd77}}),_0x23bb53=new _0x2e4cb0();return{'URL':_0x2cfb47,'close':(_0x7ee415,_0x550b61)=>{const _0x29f83c=_0x24a50a;_0x909a40[_0x29f83c(0x27c)](_0x7ee415,_0x550b61),_0x23bb53['dispose']();},'send':_0x2e2bae=>{const _0x51bb32=_0x24a50a;_0x909a40[_0x51bb32(0x226)](_0x2e2bae);},'open$':new _0x366dfa(_0x291ba5=>{const _0x241e16=_0x24a50a,_0x905d50=_0x1f7c65=>_0x291ba5[_0x241e16(0x23b)](_0x1f7c65);_0x909a40[_0x241e16(0x2d8)](_0x241e16(0x1b1),_0x905d50),_0x23bb53[_0x241e16(0x28b)](_0xf18d6d(()=>_0x909a40['removeEventListener']('open',_0x905d50)));})[_0x24a50a(0x224)](_0x5e0174()),'close$':new _0x366dfa(_0x166ea2=>{const _0xb78817=_0x24a50a,_0x59210a=_0x549af7=>_0x166ea2[_0xb78817(0x23b)](_0x549af7);_0x909a40[_0xb78817(0x2d8)]('close',_0x59210a),_0x23bb53['add'](_0xf18d6d(()=>_0x909a40[_0xb78817(0x19a)](_0xb78817(0x27c),_0x59210a)));})[_0x24a50a(0x224)](_0x5e0174()),'error$':new _0x366dfa(_0x50baec=>{const _0x5d29f5=_0x24a50a,_0xc5223b=_0x5da1d3=>_0x50baec[_0x5d29f5(0x23b)](_0x5da1d3);_0x909a40[_0x5d29f5(0x2d8)](_0x5d29f5(0x219),_0xc5223b),_0x23bb53[_0x5d29f5(0x28b)](_0xf18d6d(()=>_0x909a40[_0x5d29f5(0x19a)](_0x5d29f5(0x219),_0xc5223b)));})[_0x24a50a(0x224)](_0x5e0174()),'message$':new _0x366dfa(_0x3e2cb1=>{const _0x137962=_0x24a50a,_0x1f6ee5=_0x23dcaf=>_0x3e2cb1[_0x137962(0x23b)](_0x23dcaf);_0x909a40[_0x137962(0x2d8)]('message',_0x1f6ee5),_0x23bb53[_0x137962(0x28b)](_0xf18d6d(()=>_0x909a40[_0x137962(0x19a)]('message',_0x1f6ee5)));})[_0x24a50a(0x224)](_0x5e0174())};}catch(_0x3a7a41){return console[_0x24a50a(0x219)](_0x3a7a41),null;}}};ke=er([tr(0x0,_0x426d1c)],ke);var rr=Object['defineProperty'],sr=Object[_0x459da0(0x292)],ir=(_0x41ffbd,_0x3f1f08,_0x130771)=>_0x3f1f08 in _0x41ffbd?rr(_0x41ffbd,_0x3f1f08,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x130771}):_0x41ffbd[_0x3f1f08]=_0x130771,nr=(_0x19fc6d,_0x31709e,_0x256a27,_0x5f3424)=>{const _0x323bd6=_0x459da0;for(var _0x219093=_0x5f3424>0x1?void 0x0:_0x5f3424?sr(_0x31709e,_0x256a27):_0x31709e,_0x4e4a6a=_0x19fc6d[_0x323bd6(0x28e)]-0x1,_0x14075d;_0x4e4a6a>=0x0;_0x4e4a6a--)(_0x14075d=_0x19fc6d[_0x4e4a6a])&&(_0x219093=_0x14075d(_0x219093)||_0x219093);return _0x219093;},nt=(_0x1ffb71,_0x4218f4)=>(_0x4aa7b7,_0x1b628f)=>_0x4218f4(_0x4aa7b7,_0x1b628f,_0x1ffb71),or=(_0x62809a,_0x12ce25,_0x1a397d)=>ir(_0x62809a,_0x12ce25+'',_0x1a397d);let Ne=class extends _0x2e6e80{constructor(_0x3ca2e7=Ft,_0x3a61a2,_0x4f0e4d){const _0xd1da9e=_0x459da0;super(),this[_0xd1da9e(0x2e9)]=_0x3a61a2,this[_0xd1da9e(0x2cb)]=_0x4f0e4d,this[_0xd1da9e(0x2e9)][_0xd1da9e(0x2ee)]($t,_0x3ca2e7);}[_0x459da0(0x1b9)](){const _0x7daf93=_0x459da0;this[_0x7daf93(0x291)]();}['_registerDependencies'](){const _0x5e9437=_0x459da0;_0x1a576f(this[_0x5e9437(0x2cb)],[[_0x5306f4,{'useClass':ke}]]);}};or(Ne,_0x459da0(0x201),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),Ne=nr([_0x4503f3(_0x2025bc),nt(0x1,_0x426d1c),nt(0x2,_0xbb3839(_0x286f7a))],Ne);var ar=Object['getOwnPropertyDescriptor'],lr=(_0x35dfdf,_0x2bb6b4,_0x56df0e,_0x3dd77c)=>{const _0x10fb4e=_0x459da0;for(var _0x2588ad=_0x3dd77c>0x1?void 0x0:_0x3dd77c?ar(_0x2bb6b4,_0x56df0e):_0x2bb6b4,_0x1fe775=_0x35dfdf[_0x10fb4e(0x28e)]-0x1,_0x41e103;_0x1fe775>=0x0;_0x1fe775--)(_0x41e103=_0x35dfdf[_0x1fe775])&&(_0x2588ad=_0x41e103(_0x2588ad)||_0x2588ad);return _0x2588ad;},re=(_0x32f0f1,_0x6a67b1)=>(_0x2cf97d,_0x296525)=>_0x6a67b1(_0x2cf97d,_0x296525,_0x32f0f1);let ot=class extends _0x266767{constructor(_0x579968,_0x331e0b,_0x27eea1,_0x11794e,_0x4109ed){const _0x31ddca=_0x459da0;super(_0x579968,_0x331e0b,_0x27eea1,_0x11794e,_0x4109ed);const _0x5d53cc=this[_0x31ddca(0x2e9)]['getConfig'](_0x15184b);this[_0x31ddca(0x2b8)]['registerHTTPInterceptor']({'interceptor':(_0x264c75,_0x556d23)=>{const _0x589ded=_0x31ddca;var _0x7e827d;const _0x24ab3c=_0x264c75[_0x589ded(0x2ac)];return(_0x7e827d=_0x5d53cc==null?void 0x0:_0x5d53cc[_0x589ded(0x213)])!=null&&_0x7e827d['cookie']&&_0x24ab3c[_0x589ded(0x174)]('Cookie',_0x5d53cc[_0x589ded(0x213)]['cookie']),_0x556d23(_0x264c75);}});}async[_0x459da0(0x2d3)](_0xaec523){const _0x41be02=_0x459da0;return this[_0x41be02(0x2b2)](_0xaec523);}};ot=lr([re(0x0,_0xbb3839(_0x286f7a)),re(0x1,_0xbb3839(_0x179d7a)),re(0x2,_0x426d1c),re(0x3,_0x28fb7e),re(0x4,_0x558699)],ot);export{$t as COLLABORATION_CLIENT_NODE_CONFIG_KEY,ot as NodeCollaborationSocketService,Ne as UniverCollaborationClientNodePlugin};
1
+ const _0x2b5109=_0x59e2;(function(_0x413037,_0x17110c){const _0x115cf4=_0x59e2,_0x364cc4=_0x413037();while(!![]){try{const _0x265fee=-parseInt(_0x115cf4(0x25c))/0x1*(-parseInt(_0x115cf4(0x1af))/0x2)+parseInt(_0x115cf4(0x11e))/0x3+-parseInt(_0x115cf4(0x10d))/0x4+-parseInt(_0x115cf4(0x204))/0x5*(parseInt(_0x115cf4(0x195))/0x6)+parseInt(_0x115cf4(0x23b))/0x7*(parseInt(_0x115cf4(0x100))/0x8)+parseInt(_0x115cf4(0x17b))/0x9+-parseInt(_0x115cf4(0xd9))/0xa;if(_0x265fee===_0x17110c)break;else _0x364cc4['push'](_0x364cc4['shift']());}catch(_0x31e163){_0x364cc4['push'](_0x364cc4['shift']());}}}(_0x11f7,0x7b155));import{COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x3cb9aa,UniverCollaborationClientPlugin as _0x2e630e,CollaborationSocketService as _0x297464}from'@univerjs-pro/collaboration-client';function _0x59e2(_0x232b47,_0x429f94){_0x232b47=_0x232b47-0xcc;const _0x11f79d=_0x11f7();let _0x59e261=_0x11f79d[_0x232b47];return _0x59e261;}import{Disposable as _0x36616a,DisposableCollection as _0x2758cc,toDisposable as _0x2e40c2,IConfigService as _0x201c2f,DependentOn as _0x3259dd,Inject as _0xae5a1c,Injector as _0xcb414c,Plugin as _0x2cc2f1,registerDependencies as _0x215cc3,ILogService as _0xa71197}from'@univerjs/core';function _0x11f7(){const _0x6c0bec=['pause','base64','_masked','_paused','kByteLength','authorization','join','clientNoContextTakeover','_options','invalid\x20status\x20code\x20','perMessageDeflate','kAborted','redirect','_url','_bufferedBytes','drain','format','readable','_injector','location','from','41odItsD','host','origin','entries','pipe','map','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','_firstFragment','Module','open','getPayloadLength64','_readyState','followRedirects','_bufferedAmount','getBlobData','WebSocket','_totalPayloadLength','default','_sender','createDeflateRaw','error','Sec-WebSocket-Protocol:\x20','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','clientTracking','then','wsClientError','binaryType','uncork','toString','exports','normalizeParams','Invalid\x20Sec-WebSocket-Extensions\x20header','server_max_window_bits','Parameter\x20\x22','path','buffer','dequeue','isBuffer','read','FIN\x20must\x20be\x20set','forEach','resume','Sec-WebSocket-Origin','ws:','_generateMask','4253810aCHboY','parse','finish','emitClose','autoPong','defineProperty','Server\x20sent\x20an\x20invalid\x20subprotocol','dispatch','pong','client_max_window_bits','charCodeAt','serverNoContextTakeover','_errorEmitted','hasOwnProperty','set','authorized','invalid\x20opcode\x20','auth','pending','server_no_context_takeover','kTarget','endEmitted','shouldHandle','_threshold','allocUnsafe','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','Z_DEFAULT_WINDOWBITS','RSV1\x20must\x20be\x20clear','string','_protocol','Basic\x20','Upgrade','The\x20URL\x27s\x20pathname\x20is\x20empty','_fragmented','pathname','objectMode','_originalHostOrSocketPath','WebSocket\x20is\x20not\x20open:\x20readyState\x20','setNoDelay','1128rIIQpd','Sec-WebSocket-Extensions:\x20','completeUpgrade','isPaused','Invalid\x20WebSocket\x20frame:\x20','arrayBuffer','_max_window_bits','WS_ERR_UNEXPECTED_RSV_2_3','writeUInt16BE','frame','getMask','HTTP/1.1\x20','sec-websocket-extensions','975724NrMwgq','ping','sec-websocket-version','writable','concurrencyLimit','_state','consume','once','cookie','create','OPEN','\x20(supported\x20versions:\x20','rsv1','emit','password','_server','sendFrame','1349805FVBfCC','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','_socket','cleanup','destroy','_compress','_doCreateSocket','_closeMessage','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','allowSynchronousEvents','_maskBuffer','onopen','request','split','finished','handleUpgrade','send','upgrade','destroyed','isValidUTF8','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','write','onerror','kIsForOnEventAttribute','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','cork','Origin','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','sec-websocket-key','response','generateMask','object','timeout','indexOf','_opcode','serverMaxWindowBits','protocolVersion','_removeListeners','setTimeout','_maxPayload','Invalid\x20URL:\x20','_buffers','keys','_compressed','readOnly','Connection:\x20Upgrade','push','url','total-length','_fin','bind','addEventListener','enqueue','_originalSecure','clients','number','value','Z_SYNC_FLUSH','_readableState','find','WS_ERR_UNEXPECTED_RSV_1','Invalid\x20Upgrade\x20header','_extensions','code','listen','protocol','options','handleProtocols','MASK\x20must\x20be\x20clear','listeners','connection','opcode','wasClean','toLowerCase','unshift','_loop','readyState','Unsupported\x20protocol\x20version:\x20','skipUTF8Validation','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','kType','handshakeTimeout','sec-websocket-accept','removeAllListeners','noServer','readUInt32BE','params','Upgrade:\x20websocket','_mask','fragments','arraybuffer','text/html','1112112bCmceV','_receiver','Invalid\x20value\x20for\x20parameter\x20\x22','needDrain','Cookie','callback','end','permessage-deflate','client','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','target','listening','method','reason','servername','Sec-WebSocket-Extensions','zlibInflateOptions','readUInt16BE','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','errorEmitted','removeEventListener','invalid\x20payload\x20length\x20','__esModule','invalid\x20UTF-8\x20sequence','listenerCount','_writableState','882OxDErP','CLOSED','writeHead','hash','createSocket','MASK\x20must\x20be\x20set','createInflateRaw','collaboration-client-node.config','mask','WS_ERR_INVALID_CLOSE_CODE','controlMessage','encrypted','test','_isServer','pow','setConfig','STATUS_CODES','kData','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','accept','type','replace','buffers','address','kDone','clientMaxWindowBits','1038xdmkHb','_queue','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','The\x20URL\x20contains\x20a\x20fragment\x20identifier','dispose','constructor','Unexpected\x20character\x20at\x20index\x20','conclude','byteOffset','compress','socket','_final','_allowSynchronousEvents','WS_ERR_EXPECTED_FIN','_registerDependencies','bufferedAmount','_no_context_takeover','CONNECTING','sec-websocket-origin','connect','server','statusCode','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','jobs','backlog','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','kRun','next','size','verifyClient','_payloadLength','setHeader','username','_closeTimer','onclose','abort','_fragments','values','_httpService','kMessage','websocket','nodebuffer','onStarting','sec-websocket-protocol','_messageLength','alloc','prototype','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','reset','threshold','concat','_originalIpc','_write','headers','includes','\x22\x20subprotocol\x20is\x20duplicated','onmessage','get','_closeFrameReceived','_decompress','setSocket','extensionName','data','add','socketPath','writeUIntBE','byteLength','pluginName','_errored','\x22\x20must\x20have\x20only\x20a\x20single\x20value','\x22:\x20','isArray','offer','dataMessage','getData','maxPayload','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','Sec-WebSocket-Accept:\x20','File','getOwnPropertyDescriptor','Unknown\x20parameter\x20\x22','_inflate','wss:','port','customHeaders','12560emnIrI','Opening\x20handshake\x20has\x20timed\x20out','startLoop','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','extensions','maskBuffer','WS_ERR_INVALID_OPCODE','haveLength','blob','species','concurrency','createError','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','toStringTag','construct','_deflate','isServer','slice','shift','finishRequest','kReason','defaultPort','getConfig','_skipUTF8Validation','text/plain','WS_ERR_INVALID_UTF8','acceptAsServer','WS_ERR_EXPECTED_MASK','hostname','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','digest','terminate','_configService','update','_closeFrameSent','The\x20\x22','length','getPayloadLength16','acceptAsClient','handleEvent','_req','nextTick','ws+unix:','message','_closeCode','Unexpected\x20end\x20of\x20input','call','captureStackTrace','_shouldEmitClose','removeListener','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','close','createServer','function','catch','47061yDsASP','_binaryType','invalid\x20opcode\x200','CLOSING','Max\x20payload\x20size\x20exceeded','decompress','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','_redirects','fin','Sec-WebSocket-Protocol','client_no_context_takeover','has'];_0x11f7=function(){return _0x6c0bec;};return _0x11f7();}import{ISocketService as _0x16a40e,HTTPService as _0x7c4dea}from'@univerjs/network';import{Observable as _0x4fe831,share as _0x2c7369}from'rxjs';import _0x32ca21 from'events';import _0x2b6ba0 from'https';import _0x14a6c3 from'http';import _0x2991e4 from'net';import _0x1659f2 from'tls';import _0x572ea6 from'crypto';import _0xc0bc2f from'stream';import _0x58baac from'url';import _0xa8a821 from'zlib';import _0x128edf from'buffer';import{ISnapshotServerService as _0x18603c}from'@univerjs-pro/collaboration';const $t=_0x2b5109(0x19c),Ft={};function Wt(_0x1db60c){const _0x57bd19=_0x2b5109;return _0x1db60c&&_0x1db60c[_0x57bd19(0x191)]&&Object['prototype'][_0x57bd19(0xe6)][_0x57bd19(0x232)](_0x1db60c,_0x57bd19(0x26d))?_0x1db60c['default']:_0x1db60c;}function jt(_0x160e2b){const _0x38bd7f=_0x2b5109;if(Object[_0x38bd7f(0x1dd)][_0x38bd7f(0xe6)][_0x38bd7f(0x232)](_0x160e2b,_0x38bd7f(0x191)))return _0x160e2b;var _0x53f03a=_0x160e2b[_0x38bd7f(0x26d)];if(typeof _0x53f03a=='function'){var _0x2e14ad=function _0x3b4224(){const _0x219ed2=_0x38bd7f;var _0x1a65d6=!0x1;try{_0x1a65d6=this instanceof _0x3b4224;}catch{}return _0x1a65d6?Reflect[_0x219ed2(0x212)](_0x53f03a,arguments,this[_0x219ed2(0x1b4)]):_0x53f03a['apply'](this,arguments);};_0x2e14ad[_0x38bd7f(0x1dd)]=_0x53f03a[_0x38bd7f(0x1dd)];}else _0x2e14ad={};return Object['defineProperty'](_0x2e14ad,'__esModule',{'value':!0x0}),Object[_0x38bd7f(0x149)](_0x160e2b)[_0x38bd7f(0xd4)](function(_0x3a9947){const _0x3e6a84=_0x38bd7f;var _0x3e32e9=Object[_0x3e6a84(0x1fe)](_0x160e2b,_0x3a9947);Object[_0x3e6a84(0xde)](_0x2e14ad,_0x3a9947,_0x3e32e9[_0x3e6a84(0x1e8)]?_0x3e32e9:{'enumerable':!0x0,'get':function(){return _0x160e2b[_0x3a9947];}});}),_0x2e14ad;}var me,He;function V(){const _0x30b2e7=_0x2b5109;if(He)return me;He=0x1;const _0x4d7571=[_0x30b2e7(0x1d8),_0x30b2e7(0x179),_0x30b2e7(0x178)],_0x5d6166=typeof Blob<'u';return _0x5d6166&&_0x4d7571[_0x30b2e7(0x14d)]('blob'),me={'BINARY_TYPES':_0x4d7571,'EMPTY_BUFFER':Buffer[_0x30b2e7(0x1dc)](0x0),'GUID':_0x30b2e7(0x13a),'hasBlob':_0x5d6166,'kForOnEventAttribute':Symbol(_0x30b2e7(0x135)),'kListener':Symbol('kListener'),'kStatusCode':Symbol('status-code'),'kWebSocket':Symbol('websocket'),'NOOP':()=>{}},me;}var ge,ze;function fe(){if(ze)return ge;ze=0x1;const {EMPTY_BUFFER:_0x1b72c9}=V(),_0x25b60a=Buffer[Symbol['species']];function _0x177c1b(_0x3d2e10,_0x3d8f47){const _0xbf8e36=_0x59e2;if(_0x3d2e10[_0xbf8e36(0x228)]===0x0)return _0x1b72c9;if(_0x3d2e10['length']===0x1)return _0x3d2e10[0x0];const _0x591ebe=Buffer[_0xbf8e36(0xf1)](_0x3d8f47);let _0x4441d5=0x0;for(let _0x3430ce=0x0;_0x3430ce<_0x3d2e10[_0xbf8e36(0x228)];_0x3430ce++){const _0x5dd926=_0x3d2e10[_0x3430ce];_0x591ebe[_0xbf8e36(0xe7)](_0x5dd926,_0x4441d5),_0x4441d5+=_0x5dd926['length'];}return _0x4441d5<_0x3d8f47?new _0x25b60a(_0x591ebe[_0xbf8e36(0xcf)],_0x591ebe[_0xbf8e36(0x1b7)],_0x4441d5):_0x591ebe;}function _0x5a6058(_0xdc0dc,_0x5cf280,_0x2e86fc,_0x5786df,_0x29cf86){for(let _0x10b4d4=0x0;_0x10b4d4<_0x29cf86;_0x10b4d4++)_0x2e86fc[_0x5786df+_0x10b4d4]=_0xdc0dc[_0x10b4d4]^_0x5cf280[_0x10b4d4&0x3];}function _0x1c5eee(_0x26dd26,_0x3aef0e){const _0x49dad4=_0x59e2;for(let _0x2fa470=0x0;_0x2fa470<_0x26dd26[_0x49dad4(0x228)];_0x2fa470++)_0x26dd26[_0x2fa470]^=_0x3aef0e[_0x2fa470&0x3];}function _0x30b377(_0x1d11cc){const _0x25a704=_0x59e2;return _0x1d11cc[_0x25a704(0x228)]===_0x1d11cc[_0x25a704(0xcf)]['byteLength']?_0x1d11cc[_0x25a704(0xcf)]:_0x1d11cc['buffer']['slice'](_0x1d11cc[_0x25a704(0x1b7)],_0x1d11cc[_0x25a704(0x1b7)]+_0x1d11cc[_0x25a704(0x228)]);}function _0x1dcd84(_0x5302df){const _0x2365f5=_0x59e2;if(_0x1dcd84[_0x2365f5(0x14b)]=!0x0,Buffer[_0x2365f5(0xd1)](_0x5302df))return _0x5302df;let _0x109c55;return _0x5302df instanceof ArrayBuffer?_0x109c55=new _0x25b60a(_0x5302df):ArrayBuffer['isView'](_0x5302df)?_0x109c55=new _0x25b60a(_0x5302df[_0x2365f5(0xcf)],_0x5302df[_0x2365f5(0x1b7)],_0x5302df['byteLength']):(_0x109c55=Buffer[_0x2365f5(0x25b)](_0x5302df),_0x1dcd84['readOnly']=!0x1),_0x109c55;}return ge={'concat':_0x177c1b,'mask':_0x5a6058,'toArrayBuffer':_0x30b377,'toBuffer':_0x1dcd84,'unmask':_0x1c5eee},ge;}var ye,Ye;function Gt(){const _0x2e8903=_0x2b5109;if(Ye)return ye;Ye=0x1;const _0x5a5621=Symbol(_0x2e8903(0x1ad)),_0x566470=Symbol(_0x2e8903(0x1c9));class _0x5ada32{constructor(_0xce2157){const _0x4d738a=_0x2e8903;this[_0x5a5621]=()=>{const _0x2ec325=_0x59e2;this[_0x2ec325(0xeb)]--,this[_0x566470]();},this[_0x4d738a(0x20e)]=_0xce2157||0x1/0x0,this[_0x4d738a(0x1c6)]=[],this[_0x4d738a(0xeb)]=0x0;}[_0x2e8903(0x1ee)](_0x96dffa){const _0x2d4085=_0x2e8903;this[_0x2d4085(0x1c6)][_0x2d4085(0x14d)](_0x96dffa),this[_0x566470]();}[_0x566470](){const _0x5aa00c=_0x2e8903;if(this[_0x5aa00c(0xeb)]!==this[_0x5aa00c(0x20e)]&&this[_0x5aa00c(0x1c6)][_0x5aa00c(0x228)]){const _0x52a06b=this[_0x5aa00c(0x1c6)][_0x5aa00c(0x216)]();this[_0x5aa00c(0xeb)]++,_0x52a06b(this[_0x5a5621]);}}}return ye=_0x5ada32,ye;}var ve,Ke;function ce(){const _0x510c34=_0x2b5109;if(Ke)return ve;Ke=0x1;const _0x56ae01=_0xa8a821,_0x64a841=fe(),_0x26390f=Gt(),{kStatusCode:_0x4f0561}=V(),_0x57f8d9=Buffer[Symbol['species']],_0x6f7ce6=Buffer[_0x510c34(0x25b)]([0x0,0x0,0xff,0xff]),_0x2ff8f6=Symbol(_0x510c34(0x182)),_0x17a8f8=Symbol(_0x510c34(0x14f)),_0x44df97=Symbol(_0x510c34(0x180)),_0x59789d=Symbol(_0x510c34(0x1ab)),_0x28333e=Symbol(_0x510c34(0x270));let _0x48356e;class _0x453f6c{constructor(_0x15aff0,_0x51b096,_0x12d591){const _0x56fbd9=_0x510c34;if(this[_0x56fbd9(0x146)]=_0x12d591|0x0,this[_0x56fbd9(0x24f)]=_0x15aff0||{},this[_0x56fbd9(0xf0)]=this[_0x56fbd9(0x24f)]['threshold']!==void 0x0?this['_options'][_0x56fbd9(0x1e0)]:0x400,this[_0x56fbd9(0x1a2)]=!!_0x51b096,this[_0x56fbd9(0x213)]=null,this['_inflate']=null,this['params']=null,!_0x48356e){const _0x297958=this['_options'][_0x56fbd9(0x111)]!==void 0x0?this['_options']['concurrencyLimit']:0xa;_0x48356e=new _0x26390f(_0x297958);}}static get[_0x510c34(0x1ec)](){return'permessage-deflate';}[_0x510c34(0x1f7)](){const _0x4a6b87=_0x510c34,_0x2c2ad1={};return this[_0x4a6b87(0x24f)][_0x4a6b87(0xe4)]&&(_0x2c2ad1[_0x4a6b87(0xec)]=!0x0),this[_0x4a6b87(0x24f)][_0x4a6b87(0x24e)]&&(_0x2c2ad1['client_no_context_takeover']=!0x0),this[_0x4a6b87(0x24f)][_0x4a6b87(0x142)]&&(_0x2c2ad1[_0x4a6b87(0xcc)]=this[_0x4a6b87(0x24f)]['serverMaxWindowBits']),this[_0x4a6b87(0x24f)][_0x4a6b87(0x1ae)]?_0x2c2ad1['client_max_window_bits']=this['_options'][_0x4a6b87(0x1ae)]:this['_options'][_0x4a6b87(0x1ae)]==null&&(_0x2c2ad1[_0x4a6b87(0xe2)]=!0x0),_0x2c2ad1;}[_0x510c34(0x1a8)](_0x2e07b5){const _0x524b96=_0x510c34;return _0x2e07b5=this[_0x524b96(0x27b)](_0x2e07b5),this['params']=this[_0x524b96(0x1a2)]?this[_0x524b96(0x21e)](_0x2e07b5):this[_0x524b96(0x22a)](_0x2e07b5),this['params'];}[_0x510c34(0x121)](){const _0x43a85d=_0x510c34;if(this[_0x43a85d(0x200)]&&(this[_0x43a85d(0x200)][_0x43a85d(0x237)](),this[_0x43a85d(0x200)]=null),this[_0x43a85d(0x213)]){const _0x111323=this[_0x43a85d(0x213)][_0x44df97];this[_0x43a85d(0x213)][_0x43a85d(0x237)](),this[_0x43a85d(0x213)]=null,_0x111323&&_0x111323(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}[_0x510c34(0x21e)](_0x97faa7){const _0x2a8283=_0x510c34,_0x1a8309=this[_0x2a8283(0x24f)],_0x1d7c6d=_0x97faa7[_0x2a8283(0x15a)](_0x2048f2=>!(_0x1a8309[_0x2a8283(0xe4)]===!0x1&&_0x2048f2['server_no_context_takeover']||_0x2048f2[_0x2a8283(0xcc)]&&(_0x1a8309[_0x2a8283(0x142)]===!0x1||typeof _0x1a8309[_0x2a8283(0x142)]==_0x2a8283(0x156)&&_0x1a8309[_0x2a8283(0x142)]>_0x2048f2[_0x2a8283(0xcc)])||typeof _0x1a8309[_0x2a8283(0x1ae)]==_0x2a8283(0x156)&&!_0x2048f2['client_max_window_bits']));if(!_0x1d7c6d)throw new Error(_0x2a8283(0x1de));return _0x1a8309['serverNoContextTakeover']&&(_0x1d7c6d[_0x2a8283(0xec)]=!0x0),_0x1a8309[_0x2a8283(0x24e)]&&(_0x1d7c6d['client_no_context_takeover']=!0x0),typeof _0x1a8309[_0x2a8283(0x142)]==_0x2a8283(0x156)&&(_0x1d7c6d[_0x2a8283(0xcc)]=_0x1a8309['serverMaxWindowBits']),typeof _0x1a8309[_0x2a8283(0x1ae)]==_0x2a8283(0x156)?_0x1d7c6d[_0x2a8283(0xe2)]=_0x1a8309[_0x2a8283(0x1ae)]:(_0x1d7c6d[_0x2a8283(0xe2)]===!0x0||_0x1a8309[_0x2a8283(0x1ae)]===!0x1)&&delete _0x1d7c6d[_0x2a8283(0xe2)],_0x1d7c6d;}[_0x510c34(0x22a)](_0x4282cc){const _0x3df1b1=_0x510c34,_0x113a1c=_0x4282cc[0x0];if(this[_0x3df1b1(0x24f)]['clientNoContextTakeover']===!0x1&&_0x113a1c['client_no_context_takeover'])throw new Error(_0x3df1b1(0x184));if(!_0x113a1c[_0x3df1b1(0xe2)])typeof this[_0x3df1b1(0x24f)][_0x3df1b1(0x1ae)]==_0x3df1b1(0x156)&&(_0x113a1c[_0x3df1b1(0xe2)]=this[_0x3df1b1(0x24f)][_0x3df1b1(0x1ae)]);else{if(this[_0x3df1b1(0x24f)][_0x3df1b1(0x1ae)]===!0x1||typeof this['_options'][_0x3df1b1(0x1ae)]=='number'&&_0x113a1c['client_max_window_bits']>this[_0x3df1b1(0x24f)][_0x3df1b1(0x1ae)])throw new Error(_0x3df1b1(0x262));}return _0x113a1c;}[_0x510c34(0x27b)](_0x20a9aa){const _0x4e603f=_0x510c34;return _0x20a9aa[_0x4e603f(0xd4)](_0x322935=>{const _0x5af3b5=_0x4e603f;Object[_0x5af3b5(0x149)](_0x322935)['forEach'](_0x3dabb0=>{const _0x2029f0=_0x5af3b5;let _0x5f195d=_0x322935[_0x3dabb0];if(_0x5f195d[_0x2029f0(0x228)]>0x1)throw new Error(_0x2029f0(0xcd)+_0x3dabb0+_0x2029f0(0x1f4));if(_0x5f195d=_0x5f195d[0x0],_0x3dabb0===_0x2029f0(0xe2)){if(_0x5f195d!==!0x0){const _0x3d7ff6=+_0x5f195d;if(!Number['isInteger'](_0x3d7ff6)||_0x3d7ff6<0x8||_0x3d7ff6>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x3dabb0+_0x2029f0(0x1f5)+_0x5f195d);_0x5f195d=_0x3d7ff6;}else{if(!this[_0x2029f0(0x1a2)])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x3dabb0+_0x2029f0(0x1f5)+_0x5f195d);}}else{if(_0x3dabb0===_0x2029f0(0xcc)){const _0x201f48=+_0x5f195d;if(!Number['isInteger'](_0x201f48)||_0x201f48<0x8||_0x201f48>0xf)throw new TypeError(_0x2029f0(0x17d)+_0x3dabb0+_0x2029f0(0x1f5)+_0x5f195d);_0x5f195d=_0x201f48;}else{if(_0x3dabb0===_0x2029f0(0x245)||_0x3dabb0==='server_no_context_takeover'){if(_0x5f195d!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x3dabb0+_0x2029f0(0x1f5)+_0x5f195d);}else throw new Error(_0x2029f0(0x1ff)+_0x3dabb0+'\x22');}}_0x322935[_0x3dabb0]=_0x5f195d;});}),_0x20a9aa;}[_0x510c34(0x240)](_0x5b438f,_0x3ea510,_0x434dc7){const _0x19a9b1=_0x510c34;_0x48356e[_0x19a9b1(0x1ee)](_0x239786=>{const _0x4eb5f9=_0x19a9b1;this[_0x4eb5f9(0x1ea)](_0x5b438f,_0x3ea510,(_0x1c47df,_0x597cbb)=>{_0x239786(),_0x434dc7(_0x1c47df,_0x597cbb);});});}['compress'](_0x3e2040,_0xf76b7,_0x2f958f){_0x48356e['add'](_0x40bf52=>{const _0x10e060=_0x59e2;this[_0x10e060(0x123)](_0x3e2040,_0xf76b7,(_0x22efed,_0xbef243)=>{_0x40bf52(),_0x2f958f(_0x22efed,_0xbef243);});});}[_0x510c34(0x1ea)](_0x1a9c07,_0x533d00,_0x27f17e){const _0x135b93=_0x510c34,_0x251763=this[_0x135b93(0x1a2)]?_0x135b93(0x183):_0x135b93(0x1c3);if(!this[_0x135b93(0x200)]){const _0x348729=_0x251763+_0x135b93(0x106),_0x30db28=typeof this[_0x135b93(0x175)][_0x348729]!=_0x135b93(0x156)?_0x56ae01[_0x135b93(0xf3)]:this[_0x135b93(0x175)][_0x348729];this[_0x135b93(0x200)]=_0x56ae01[_0x135b93(0x19b)]({...this[_0x135b93(0x24f)][_0x135b93(0x18b)],'windowBits':_0x30db28}),this[_0x135b93(0x200)][_0x2ff8f6]=this,this['_inflate'][_0x17a8f8]=0x0,this['_inflate'][_0x59789d]=[],this[_0x135b93(0x200)]['on'](_0x135b93(0x270),_0x4a255e),this[_0x135b93(0x200)]['on'](_0x135b93(0x1ed),_0x175273);}this[_0x135b93(0x200)][_0x44df97]=_0x27f17e,this['_inflate']['write'](_0x1a9c07),_0x533d00&&this[_0x135b93(0x200)][_0x135b93(0x133)](_0x6f7ce6),this[_0x135b93(0x200)]['flush'](()=>{const _0x22ce20=_0x135b93,_0x98c66b=this[_0x22ce20(0x200)][_0x28333e];if(_0x98c66b){this[_0x22ce20(0x200)][_0x22ce20(0x237)](),this['_inflate']=null,_0x27f17e(_0x98c66b);return;}const _0x4d30a2=_0x64a841[_0x22ce20(0x1e1)](this[_0x22ce20(0x200)][_0x59789d],this[_0x22ce20(0x200)][_0x17a8f8]);this[_0x22ce20(0x200)][_0x22ce20(0x159)][_0x22ce20(0xee)]?(this[_0x22ce20(0x200)][_0x22ce20(0x237)](),this[_0x22ce20(0x200)]=null):(this[_0x22ce20(0x200)][_0x17a8f8]=0x0,this['_inflate'][_0x59789d]=[],_0x533d00&&this[_0x22ce20(0x175)][_0x251763+_0x22ce20(0x1bf)]&&this[_0x22ce20(0x200)]['reset']()),_0x27f17e(null,_0x4d30a2);});}[_0x510c34(0x123)](_0x2335d4,_0xecac79,_0x50e135){const _0x3ea067=_0x510c34,_0x4a965b=this[_0x3ea067(0x1a2)]?_0x3ea067(0x1c3):'client';if(!this[_0x3ea067(0x213)]){const _0xe8ca29=_0x4a965b+_0x3ea067(0x106),_0x3a92e5=typeof this['params'][_0xe8ca29]!='number'?_0x56ae01[_0x3ea067(0xf3)]:this[_0x3ea067(0x175)][_0xe8ca29];this['_deflate']=_0x56ae01[_0x3ea067(0x26f)]({...this['_options']['zlibDeflateOptions'],'windowBits':_0x3a92e5}),this[_0x3ea067(0x213)][_0x17a8f8]=0x0,this[_0x3ea067(0x213)][_0x59789d]=[],this[_0x3ea067(0x213)]['on'](_0x3ea067(0x1ed),_0x439d2d);}this[_0x3ea067(0x213)][_0x44df97]=_0x50e135,this[_0x3ea067(0x213)][_0x3ea067(0x133)](_0x2335d4),this[_0x3ea067(0x213)]['flush'](_0x56ae01[_0x3ea067(0x158)],()=>{const _0x2dae44=_0x3ea067;if(!this['_deflate'])return;let _0x3c9389=_0x64a841[_0x2dae44(0x1e1)](this['_deflate'][_0x59789d],this['_deflate'][_0x17a8f8]);_0xecac79&&(_0x3c9389=new _0x57f8d9(_0x3c9389[_0x2dae44(0xcf)],_0x3c9389[_0x2dae44(0x1b7)],_0x3c9389[_0x2dae44(0x228)]-0x4)),this['_deflate'][_0x44df97]=null,this['_deflate'][_0x17a8f8]=0x0,this[_0x2dae44(0x213)][_0x59789d]=[],_0xecac79&&this[_0x2dae44(0x175)][_0x4a965b+_0x2dae44(0x1bf)]&&this['_deflate'][_0x2dae44(0x1df)](),_0x50e135(null,_0x3c9389);});}}ve=_0x453f6c;function _0x439d2d(_0x29d1ee){const _0xa5fc6c=_0x510c34;this[_0x59789d][_0xa5fc6c(0x14d)](_0x29d1ee),this[_0x17a8f8]+=_0x29d1ee[_0xa5fc6c(0x228)];}function _0x175273(_0x5f51e1){const _0x5d79ce=_0x510c34;if(this[_0x17a8f8]+=_0x5f51e1[_0x5d79ce(0x228)],this[_0x2ff8f6][_0x5d79ce(0x146)]<0x1||this[_0x17a8f8]<=this[_0x2ff8f6][_0x5d79ce(0x146)]){this[_0x59789d]['push'](_0x5f51e1);return;}this[_0x28333e]=new RangeError(_0x5d79ce(0x23f)),this[_0x28333e][_0x5d79ce(0x15e)]='WS_ERR_UNSUPPORTED_MESSAGE_LENGTH',this[_0x28333e][_0x4f0561]=0x3f1,this['removeListener']('data',_0x175273),this['reset']();}function _0x4a255e(_0x394f88){const _0x15b834=_0x510c34;if(this[_0x2ff8f6][_0x15b834(0x200)]=null,this[_0x28333e]){this[_0x44df97](this[_0x28333e]);return;}_0x394f88[_0x4f0561]=0x3ef,this[_0x44df97](_0x394f88);}return ve;}var te={'exports':{}};const Vt={},qt=Object['freeze'](Object['defineProperty']({'__proto__':null,'default':Vt},Symbol[_0x2b5109(0x211)],{'value':_0x2b5109(0x264)})),Ht=jt(qt);var Xe;function ie(){const _0x2c3d5b=_0x2b5109;if(Xe)return te[_0x2c3d5b(0x27a)];Xe=0x1;const {isUtf8:_0x31891b}=_0x128edf,{hasBlob:_0x2c2ab3}=V(),_0x21acd5=[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 _0x34b29d(_0x2dc7b9){return _0x2dc7b9>=0x3e8&&_0x2dc7b9<=0x3f6&&_0x2dc7b9!==0x3ec&&_0x2dc7b9!==0x3ed&&_0x2dc7b9!==0x3ee||_0x2dc7b9>=0xbb8&&_0x2dc7b9<=0x1387;}function _0x17a8a9(_0x14372d){const _0xa47659=_0x2c3d5b,_0x59f6c5=_0x14372d[_0xa47659(0x228)];let _0x2af5fe=0x0;for(;_0x2af5fe<_0x59f6c5;)if((_0x14372d[_0x2af5fe]&0x80)===0x0)_0x2af5fe++;else{if((_0x14372d[_0x2af5fe]&0xe0)===0xc0){if(_0x2af5fe+0x1===_0x59f6c5||(_0x14372d[_0x2af5fe+0x1]&0xc0)!==0x80||(_0x14372d[_0x2af5fe]&0xfe)===0xc0)return!0x1;_0x2af5fe+=0x2;}else{if((_0x14372d[_0x2af5fe]&0xf0)===0xe0){if(_0x2af5fe+0x2>=_0x59f6c5||(_0x14372d[_0x2af5fe+0x1]&0xc0)!==0x80||(_0x14372d[_0x2af5fe+0x2]&0xc0)!==0x80||_0x14372d[_0x2af5fe]===0xe0&&(_0x14372d[_0x2af5fe+0x1]&0xe0)===0x80||_0x14372d[_0x2af5fe]===0xed&&(_0x14372d[_0x2af5fe+0x1]&0xe0)===0xa0)return!0x1;_0x2af5fe+=0x3;}else{if((_0x14372d[_0x2af5fe]&0xf8)===0xf0){if(_0x2af5fe+0x3>=_0x59f6c5||(_0x14372d[_0x2af5fe+0x1]&0xc0)!==0x80||(_0x14372d[_0x2af5fe+0x2]&0xc0)!==0x80||(_0x14372d[_0x2af5fe+0x3]&0xc0)!==0x80||_0x14372d[_0x2af5fe]===0xf0&&(_0x14372d[_0x2af5fe+0x1]&0xf0)===0x80||_0x14372d[_0x2af5fe]===0xf4&&_0x14372d[_0x2af5fe+0x1]>0x8f||_0x14372d[_0x2af5fe]>0xf4)return!0x1;_0x2af5fe+=0x4;}else return!0x1;}}}return!0x0;}function _0x374378(_0xc8c758){const _0x1d5389=_0x2c3d5b;return _0x2c2ab3&&typeof _0xc8c758=='object'&&typeof _0xc8c758['arrayBuffer']==_0x1d5389(0x239)&&typeof _0xc8c758[_0x1d5389(0x1a9)]==_0x1d5389(0xf5)&&typeof _0xc8c758['stream']==_0x1d5389(0x239)&&(_0xc8c758[Symbol['toStringTag']]==='Blob'||_0xc8c758[Symbol[_0x1d5389(0x211)]]===_0x1d5389(0x1fd));}if(te[_0x2c3d5b(0x27a)]={'isBlob':_0x374378,'isValidStatusCode':_0x34b29d,'isValidUTF8':_0x17a8a9,'tokenChars':_0x21acd5},_0x31891b)te[_0x2c3d5b(0x27a)][_0x2c3d5b(0x131)]=function(_0x3a8583){const _0x44ea75=_0x2c3d5b;return _0x3a8583[_0x44ea75(0x228)]<0x18?_0x17a8a9(_0x3a8583):_0x31891b(_0x3a8583);};else{if(!process['env']['WS_NO_UTF_8_VALIDATE'])try{const _0x1c7663=Ht;te[_0x2c3d5b(0x27a)][_0x2c3d5b(0x131)]=function(_0x116d86){const _0x332850=_0x2c3d5b;return _0x116d86[_0x332850(0x228)]<0x20?_0x17a8a9(_0x116d86):_0x1c7663(_0x116d86);};}catch{}}return te['exports'];}var Se,Ze;function ht(){const _0x1d0c71=_0x2b5109;if(Ze)return Se;Ze=0x1;const {Writable:_0x366c1d}=_0xc0bc2f,_0x10fca3=ce(),{BINARY_TYPES:_0xa3592c,EMPTY_BUFFER:_0xb4ce7c,kStatusCode:_0x480fc3,kWebSocket:_0x201561}=V(),{concat:_0x2b2a86,toArrayBuffer:_0x5c596c,unmask:_0x367f4e}=fe(),{isValidStatusCode:_0x52a0d0,isValidUTF8:_0x13d100}=ie(),_0x38bce7=Buffer[Symbol[_0x1d0c71(0x20d)]],_0x11a1d7=0x0,_0x2f5c48=0x1,_0x3e0468=0x2,_0x49ade0=0x3,_0x28fc41=0x4,_0x24a89c=0x5,_0x19135c=0x6;class _0x1653fc extends _0x366c1d{constructor(_0x24830a={}){const _0x1215f6=_0x1d0c71;super(),this[_0x1215f6(0x1bb)]=_0x24830a[_0x1215f6(0x127)]!==void 0x0?_0x24830a[_0x1215f6(0x127)]:!0x0,this[_0x1215f6(0x23c)]=_0x24830a[_0x1215f6(0x277)]||_0xa3592c[0x0],this[_0x1215f6(0x15d)]=_0x24830a[_0x1215f6(0x208)]||{},this[_0x1215f6(0x1a2)]=!!_0x24830a[_0x1215f6(0x214)],this['_maxPayload']=_0x24830a[_0x1215f6(0x1fa)]|0x0,this[_0x1215f6(0x21b)]=!!_0x24830a[_0x1215f6(0x16d)],this[_0x201561]=void 0x0,this[_0x1215f6(0x255)]=0x0,this[_0x1215f6(0x148)]=[],this[_0x1215f6(0x14a)]=!0x1,this['_payloadLength']=0x0,this[_0x1215f6(0x177)]=void 0x0,this[_0x1215f6(0xfa)]=0x0,this['_masked']=!0x1,this[_0x1215f6(0x150)]=!0x1,this[_0x1215f6(0x141)]=0x0,this[_0x1215f6(0x26c)]=0x0,this[_0x1215f6(0x1db)]=0x0,this[_0x1215f6(0x1d3)]=[],this[_0x1215f6(0x1f3)]=!0x1,this['_loop']=!0x1,this[_0x1215f6(0x112)]=_0x11a1d7;}[_0x1d0c71(0x1e3)](_0x384cbf,_0x663fb4,_0x50d99c){const _0x1815d8=_0x1d0c71;if(this['_opcode']===0x8&&this[_0x1815d8(0x112)]==_0x11a1d7)return _0x50d99c();this[_0x1815d8(0x255)]+=_0x384cbf[_0x1815d8(0x228)],this['_buffers'][_0x1815d8(0x14d)](_0x384cbf),this['startLoop'](_0x50d99c);}[_0x1d0c71(0x113)](_0x2c0f98){const _0x4eb806=_0x1d0c71;if(this[_0x4eb806(0x255)]-=_0x2c0f98,_0x2c0f98===this['_buffers'][0x0][_0x4eb806(0x228)])return this['_buffers'][_0x4eb806(0x216)]();if(_0x2c0f98<this[_0x4eb806(0x148)][0x0][_0x4eb806(0x228)]){const _0x1732d6=this['_buffers'][0x0];return this[_0x4eb806(0x148)][0x0]=new _0x38bce7(_0x1732d6['buffer'],_0x1732d6[_0x4eb806(0x1b7)]+_0x2c0f98,_0x1732d6['length']-_0x2c0f98),new _0x38bce7(_0x1732d6[_0x4eb806(0xcf)],_0x1732d6[_0x4eb806(0x1b7)],_0x2c0f98);}const _0x4278b6=Buffer[_0x4eb806(0xf1)](_0x2c0f98);do{const _0x303027=this[_0x4eb806(0x148)][0x0],_0x54668d=_0x4278b6[_0x4eb806(0x228)]-_0x2c0f98;_0x2c0f98>=_0x303027[_0x4eb806(0x228)]?_0x4278b6[_0x4eb806(0xe7)](this[_0x4eb806(0x148)][_0x4eb806(0x216)](),_0x54668d):(_0x4278b6[_0x4eb806(0xe7)](new Uint8Array(_0x303027[_0x4eb806(0xcf)],_0x303027[_0x4eb806(0x1b7)],_0x2c0f98),_0x54668d),this[_0x4eb806(0x148)][0x0]=new _0x38bce7(_0x303027[_0x4eb806(0xcf)],_0x303027['byteOffset']+_0x2c0f98,_0x303027[_0x4eb806(0x228)]-_0x2c0f98)),_0x2c0f98-=_0x303027[_0x4eb806(0x228)];}while(_0x2c0f98>0x0);return _0x4278b6;}[_0x1d0c71(0x206)](_0x533030){const _0x97d1f7=_0x1d0c71;this['_loop']=!0x0;do switch(this[_0x97d1f7(0x112)]){case _0x11a1d7:this['getInfo'](_0x533030);break;case _0x2f5c48:this[_0x97d1f7(0x229)](_0x533030);break;case _0x3e0468:this['getPayloadLength64'](_0x533030);break;case _0x49ade0:this[_0x97d1f7(0x10a)]();break;case _0x28fc41:this[_0x97d1f7(0x1f9)](_0x533030);break;case _0x24a89c:case _0x19135c:this[_0x97d1f7(0x16a)]=!0x1;return;}while(this[_0x97d1f7(0x16a)]);this[_0x97d1f7(0x1f3)]||_0x533030();}['getInfo'](_0x2c8300){const _0xca4334=_0x1d0c71;if(this[_0xca4334(0x255)]<0x2){this['_loop']=!0x1;return;}const _0x3f5faa=this[_0xca4334(0x113)](0x2);if((_0x3f5faa[0x0]&0x30)!==0x0){const _0x3b86c3=this[_0xca4334(0x20f)](RangeError,_0xca4334(0x18d),!0x0,0x3ea,_0xca4334(0x107));_0x2c8300(_0x3b86c3);return;}const _0x2ea3f1=(_0x3f5faa[0x0]&0x40)===0x40;if(_0x2ea3f1&&!this[_0xca4334(0x15d)][_0x10fca3['extensionName']]){const _0x546887=this['createError'](RangeError,_0xca4334(0xf4),!0x0,0x3ea,_0xca4334(0x15b));_0x2c8300(_0x546887);return;}if(this[_0xca4334(0x150)]=(_0x3f5faa[0x0]&0x80)===0x80,this[_0xca4334(0x141)]=_0x3f5faa[0x0]&0xf,this[_0xca4334(0x1cd)]=_0x3f5faa[0x1]&0x7f,this['_opcode']===0x0){if(_0x2ea3f1){const _0x17ecec=this[_0xca4334(0x20f)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0xca4334(0x15b));_0x2c8300(_0x17ecec);return;}if(!this[_0xca4334(0xfa)]){const _0x1eeb8d=this[_0xca4334(0x20f)](RangeError,_0xca4334(0x23d),!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x2c8300(_0x1eeb8d);return;}this[_0xca4334(0x141)]=this['_fragmented'];}else{if(this['_opcode']===0x1||this[_0xca4334(0x141)]===0x2){if(this[_0xca4334(0xfa)]){const _0x47919a=this['createError'](RangeError,_0xca4334(0xe9)+this[_0xca4334(0x141)],!0x0,0x3ea,_0xca4334(0x20a));_0x2c8300(_0x47919a);return;}this[_0xca4334(0x14a)]=_0x2ea3f1;}else{if(this['_opcode']>0x7&&this[_0xca4334(0x141)]<0xb){if(!this[_0xca4334(0x150)]){const _0x2963f8=this['createError'](RangeError,_0xca4334(0xd3),!0x0,0x3ea,_0xca4334(0x1bc));_0x2c8300(_0x2963f8);return;}if(_0x2ea3f1){const _0x29f944=this[_0xca4334(0x20f)](RangeError,_0xca4334(0xf4),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x2c8300(_0x29f944);return;}if(this['_payloadLength']>0x7d||this['_opcode']===0x8&&this[_0xca4334(0x1cd)]===0x1){const _0x2bd4b5=this[_0xca4334(0x20f)](RangeError,_0xca4334(0x190)+this[_0xca4334(0x1cd)],!0x0,0x3ea,_0xca4334(0x1a7));_0x2c8300(_0x2bd4b5);return;}}else{const _0x508fae=this[_0xca4334(0x20f)](RangeError,_0xca4334(0xe9)+this[_0xca4334(0x141)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x2c8300(_0x508fae);return;}}}if(!this[_0xca4334(0x150)]&&!this[_0xca4334(0xfa)]&&(this[_0xca4334(0xfa)]=this['_opcode']),this[_0xca4334(0x249)]=(_0x3f5faa[0x1]&0x80)===0x80,this[_0xca4334(0x1a2)]){if(!this[_0xca4334(0x249)]){const _0x29528d=this[_0xca4334(0x20f)](RangeError,_0xca4334(0x19a),!0x0,0x3ea,_0xca4334(0x21f));_0x2c8300(_0x29528d);return;}}else{if(this[_0xca4334(0x249)]){const _0xb49588=this['createError'](RangeError,_0xca4334(0x163),!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0x2c8300(_0xb49588);return;}}this[_0xca4334(0x1cd)]===0x7e?this['_state']=_0x2f5c48:this[_0xca4334(0x1cd)]===0x7f?this[_0xca4334(0x112)]=_0x3e0468:this[_0xca4334(0x20b)](_0x2c8300);}[_0x1d0c71(0x229)](_0x2d5eb1){const _0x21f623=_0x1d0c71;if(this[_0x21f623(0x255)]<0x2){this[_0x21f623(0x16a)]=!0x1;return;}this[_0x21f623(0x1cd)]=this[_0x21f623(0x113)](0x2)[_0x21f623(0x18c)](0x0),this[_0x21f623(0x20b)](_0x2d5eb1);}[_0x1d0c71(0x266)](_0x3451e8){const _0x3e449f=_0x1d0c71;if(this[_0x3e449f(0x255)]<0x8){this[_0x3e449f(0x16a)]=!0x1;return;}const _0x3da037=this[_0x3e449f(0x113)](0x8),_0x454943=_0x3da037[_0x3e449f(0x174)](0x0);if(_0x454943>Math[_0x3e449f(0x1a3)](0x2,0x15)-0x1){const _0xc5ebfe=this['createError'](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH');_0x3451e8(_0xc5ebfe);return;}this[_0x3e449f(0x1cd)]=_0x454943*Math[_0x3e449f(0x1a3)](0x2,0x20)+_0x3da037['readUInt32BE'](0x4),this[_0x3e449f(0x20b)](_0x3451e8);}[_0x1d0c71(0x20b)](_0x4ac2f6){const _0x3cb46a=_0x1d0c71;if(this[_0x3cb46a(0x1cd)]&&this[_0x3cb46a(0x141)]<0x8&&(this[_0x3cb46a(0x26c)]+=this[_0x3cb46a(0x1cd)],this[_0x3cb46a(0x26c)]>this[_0x3cb46a(0x146)]&&this[_0x3cb46a(0x146)]>0x0)){const _0x4de53e=this[_0x3cb46a(0x20f)](RangeError,_0x3cb46a(0x23f),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x4ac2f6(_0x4de53e);return;}this['_masked']?this[_0x3cb46a(0x112)]=_0x49ade0:this[_0x3cb46a(0x112)]=_0x28fc41;}[_0x1d0c71(0x10a)](){const _0x267ec0=_0x1d0c71;if(this[_0x267ec0(0x255)]<0x4){this[_0x267ec0(0x16a)]=!0x1;return;}this['_mask']=this[_0x267ec0(0x113)](0x4),this[_0x267ec0(0x112)]=_0x28fc41;}['getData'](_0x252e4a){const _0x2eda0e=_0x1d0c71;let _0x3fccad=_0xb4ce7c;if(this[_0x2eda0e(0x1cd)]){if(this[_0x2eda0e(0x255)]<this[_0x2eda0e(0x1cd)]){this[_0x2eda0e(0x16a)]=!0x1;return;}_0x3fccad=this[_0x2eda0e(0x113)](this[_0x2eda0e(0x1cd)]),this['_masked']&&(this[_0x2eda0e(0x177)][0x0]|this['_mask'][0x1]|this[_0x2eda0e(0x177)][0x2]|this[_0x2eda0e(0x177)][0x3])!==0x0&&_0x367f4e(_0x3fccad,this[_0x2eda0e(0x177)]);}if(this[_0x2eda0e(0x141)]>0x7){this[_0x2eda0e(0x19f)](_0x3fccad,_0x252e4a);return;}if(this['_compressed']){this[_0x2eda0e(0x112)]=_0x24a89c,this[_0x2eda0e(0x240)](_0x3fccad,_0x252e4a);return;}_0x3fccad[_0x2eda0e(0x228)]&&(this['_messageLength']=this[_0x2eda0e(0x26c)],this[_0x2eda0e(0x1d3)][_0x2eda0e(0x14d)](_0x3fccad)),this[_0x2eda0e(0x1f8)](_0x252e4a);}[_0x1d0c71(0x240)](_0x5564dd,_0x368d65){const _0x210653=_0x1d0c71;this[_0x210653(0x15d)][_0x10fca3['extensionName']][_0x210653(0x240)](_0x5564dd,this[_0x210653(0x150)],(_0x1dba67,_0x327134)=>{const _0x536f04=_0x210653;if(_0x1dba67)return _0x368d65(_0x1dba67);if(_0x327134['length']){if(this['_messageLength']+=_0x327134[_0x536f04(0x228)],this[_0x536f04(0x1db)]>this[_0x536f04(0x146)]&&this[_0x536f04(0x146)]>0x0){const _0xc7cdbb=this[_0x536f04(0x20f)](RangeError,_0x536f04(0x23f),!0x1,0x3f1,_0x536f04(0x126));_0x368d65(_0xc7cdbb);return;}this['_fragments'][_0x536f04(0x14d)](_0x327134);}this[_0x536f04(0x1f8)](_0x368d65),this['_state']===_0x11a1d7&&this[_0x536f04(0x206)](_0x368d65);});}[_0x1d0c71(0x1f8)](_0x34ef3f){const _0x56ee22=_0x1d0c71;if(!this['_fin']){this[_0x56ee22(0x112)]=_0x11a1d7;return;}const _0x45a7a0=this[_0x56ee22(0x1db)],_0xcafc8d=this[_0x56ee22(0x1d3)];if(this['_totalPayloadLength']=0x0,this[_0x56ee22(0x1db)]=0x0,this[_0x56ee22(0xfa)]=0x0,this[_0x56ee22(0x1d3)]=[],this[_0x56ee22(0x141)]===0x2){let _0x1e2452;this[_0x56ee22(0x23c)]===_0x56ee22(0x1d8)?_0x1e2452=_0x2b2a86(_0xcafc8d,_0x45a7a0):this[_0x56ee22(0x23c)]===_0x56ee22(0x179)?_0x1e2452=_0x5c596c(_0x2b2a86(_0xcafc8d,_0x45a7a0)):this[_0x56ee22(0x23c)]===_0x56ee22(0x20c)?_0x1e2452=new Blob(_0xcafc8d):_0x1e2452=_0xcafc8d,this[_0x56ee22(0x1bb)]?(this[_0x56ee22(0x11a)](_0x56ee22(0x22f),_0x1e2452,!0x0),this['_state']=_0x11a1d7):(this[_0x56ee22(0x112)]=_0x19135c,setImmediate(()=>{const _0x477520=_0x56ee22;this[_0x477520(0x11a)](_0x477520(0x22f),_0x1e2452,!0x0),this[_0x477520(0x112)]=_0x11a1d7,this['startLoop'](_0x34ef3f);}));}else{const _0x32e221=_0x2b2a86(_0xcafc8d,_0x45a7a0);if(!this[_0x56ee22(0x21b)]&&!_0x13d100(_0x32e221)){const _0x4ad815=this[_0x56ee22(0x20f)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x56ee22(0x21d));_0x34ef3f(_0x4ad815);return;}this[_0x56ee22(0x112)]===_0x24a89c||this['_allowSynchronousEvents']?(this[_0x56ee22(0x11a)]('message',_0x32e221,!0x1),this[_0x56ee22(0x112)]=_0x11a1d7):(this[_0x56ee22(0x112)]=_0x19135c,setImmediate(()=>{const _0x5ba26a=_0x56ee22;this[_0x5ba26a(0x11a)](_0x5ba26a(0x22f),_0x32e221,!0x1),this[_0x5ba26a(0x112)]=_0x11a1d7,this['startLoop'](_0x34ef3f);}));}}[_0x1d0c71(0x19f)](_0x31a4a0,_0x17c46b){const _0x5d347f=_0x1d0c71;if(this['_opcode']===0x8){if(_0x31a4a0[_0x5d347f(0x228)]===0x0)this[_0x5d347f(0x16a)]=!0x1,this['emit']('conclude',0x3ed,_0xb4ce7c),this[_0x5d347f(0x181)]();else{const _0x3c97b4=_0x31a4a0[_0x5d347f(0x18c)](0x0);if(!_0x52a0d0(_0x3c97b4)){const _0x45d18f=this[_0x5d347f(0x20f)](RangeError,_0x5d347f(0x250)+_0x3c97b4,!0x0,0x3ea,_0x5d347f(0x19e));_0x17c46b(_0x45d18f);return;}const _0x57438d=new _0x38bce7(_0x31a4a0[_0x5d347f(0xcf)],_0x31a4a0[_0x5d347f(0x1b7)]+0x2,_0x31a4a0[_0x5d347f(0x228)]-0x2);if(!this[_0x5d347f(0x21b)]&&!_0x13d100(_0x57438d)){const _0x2a2f0d=this['createError'](Error,_0x5d347f(0x192),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x17c46b(_0x2a2f0d);return;}this['_loop']=!0x1,this['emit']('conclude',_0x3c97b4,_0x57438d),this[_0x5d347f(0x181)]();}this[_0x5d347f(0x112)]=_0x11a1d7;return;}this[_0x5d347f(0x1bb)]?(this[_0x5d347f(0x11a)](this[_0x5d347f(0x141)]===0x9?_0x5d347f(0x10e):'pong',_0x31a4a0),this[_0x5d347f(0x112)]=_0x11a1d7):(this[_0x5d347f(0x112)]=_0x19135c,setImmediate(()=>{const _0x3b6961=_0x5d347f;this[_0x3b6961(0x11a)](this['_opcode']===0x9?'ping':'pong',_0x31a4a0),this['_state']=_0x11a1d7,this[_0x3b6961(0x206)](_0x17c46b);}));}[_0x1d0c71(0x20f)](_0x32d174,_0x2649d5,_0x371ab7,_0x5e2aa7,_0x179268){const _0x41e136=_0x1d0c71;this[_0x41e136(0x16a)]=!0x1,this['_errored']=!0x0;const _0x415957=new _0x32d174(_0x371ab7?_0x41e136(0x104)+_0x2649d5:_0x2649d5);return Error[_0x41e136(0x233)](_0x415957,this[_0x41e136(0x20f)]),_0x415957[_0x41e136(0x15e)]=_0x179268,_0x415957[_0x480fc3]=_0x5e2aa7,_0x415957;}}return Se=_0x1653fc,Se;}var Ee,Qe;function ut(){const _0x3436b6=_0x2b5109;if(Qe)return Ee;Qe=0x1;const {Duplex:_0x206c56}=_0xc0bc2f,{randomFillSync:_0xa0fc6d}=_0x572ea6,_0x1d48ad=ce(),{EMPTY_BUFFER:_0x3472c9,kWebSocket:_0x275923,NOOP:_0x784f63}=V(),{isBlob:_0x55ee1a,isValidStatusCode:_0x477b7f}=ie(),{mask:_0x3f3658,toBuffer:_0x448dc4}=fe(),_0x2a41a1=Symbol(_0x3436b6(0x24b)),_0x335b52=Buffer[_0x3436b6(0x1dc)](0x4),_0x49e699=0x8*0x400;let _0x266a2d,_0x5171bf=_0x49e699;const _0x13630a=0x0,_0xc0afed=0x1,_0x93cd2e=0x2;class _0x468284{constructor(_0x36b26b,_0x53ac7e,_0x42e1b6){const _0x1e0d7a=_0x3436b6;this[_0x1e0d7a(0x15d)]=_0x53ac7e||{},_0x42e1b6&&(this[_0x1e0d7a(0xd8)]=_0x42e1b6,this[_0x1e0d7a(0x128)]=Buffer['alloc'](0x4)),this[_0x1e0d7a(0x120)]=_0x36b26b,this[_0x1e0d7a(0x263)]=!0x0,this[_0x1e0d7a(0x123)]=!0x1,this[_0x1e0d7a(0x255)]=0x0,this[_0x1e0d7a(0x1b0)]=[],this['_state']=_0x13630a,this[_0x1e0d7a(0x134)]=_0x784f63,this[_0x275923]=void 0x0;}static[_0x3436b6(0x109)](_0x4a94ec,_0x11f43b){const _0xf38e8d=_0x3436b6;let _0x46c231,_0x4aff6e=!0x1,_0x145d5d=0x2,_0x38646a=!0x1;_0x11f43b['mask']&&(_0x46c231=_0x11f43b[_0xf38e8d(0x209)]||_0x335b52,_0x11f43b['generateMask']?_0x11f43b[_0xf38e8d(0x13d)](_0x46c231):(_0x5171bf===_0x49e699&&(_0x266a2d===void 0x0&&(_0x266a2d=Buffer[_0xf38e8d(0x1dc)](_0x49e699)),_0xa0fc6d(_0x266a2d,0x0,_0x49e699),_0x5171bf=0x0),_0x46c231[0x0]=_0x266a2d[_0x5171bf++],_0x46c231[0x1]=_0x266a2d[_0x5171bf++],_0x46c231[0x2]=_0x266a2d[_0x5171bf++],_0x46c231[0x3]=_0x266a2d[_0x5171bf++]),_0x38646a=(_0x46c231[0x0]|_0x46c231[0x1]|_0x46c231[0x2]|_0x46c231[0x3])===0x0,_0x145d5d=0x6);let _0x318e77;typeof _0x4a94ec==_0xf38e8d(0xf5)?(!_0x11f43b[_0xf38e8d(0x19d)]||_0x38646a)&&_0x11f43b[_0x2a41a1]!==void 0x0?_0x318e77=_0x11f43b[_0x2a41a1]:(_0x4a94ec=Buffer['from'](_0x4a94ec),_0x318e77=_0x4a94ec[_0xf38e8d(0x228)]):(_0x318e77=_0x4a94ec[_0xf38e8d(0x228)],_0x4aff6e=_0x11f43b[_0xf38e8d(0x19d)]&&_0x11f43b[_0xf38e8d(0x14b)]&&!_0x38646a);let _0x13a673=_0x318e77;_0x318e77>=0x10000?(_0x145d5d+=0x8,_0x13a673=0x7f):_0x318e77>0x7d&&(_0x145d5d+=0x2,_0x13a673=0x7e);const _0xfd2d81=Buffer[_0xf38e8d(0xf1)](_0x4aff6e?_0x318e77+_0x145d5d:_0x145d5d);return _0xfd2d81[0x0]=_0x11f43b[_0xf38e8d(0x243)]?_0x11f43b[_0xf38e8d(0x166)]|0x80:_0x11f43b['opcode'],_0x11f43b[_0xf38e8d(0x119)]&&(_0xfd2d81[0x0]|=0x40),_0xfd2d81[0x1]=_0x13a673,_0x13a673===0x7e?_0xfd2d81[_0xf38e8d(0x108)](_0x318e77,0x2):_0x13a673===0x7f&&(_0xfd2d81[0x2]=_0xfd2d81[0x3]=0x0,_0xfd2d81[_0xf38e8d(0x1f0)](_0x318e77,0x4,0x6)),_0x11f43b[_0xf38e8d(0x19d)]?(_0xfd2d81[0x1]|=0x80,_0xfd2d81[_0x145d5d-0x4]=_0x46c231[0x0],_0xfd2d81[_0x145d5d-0x3]=_0x46c231[0x1],_0xfd2d81[_0x145d5d-0x2]=_0x46c231[0x2],_0xfd2d81[_0x145d5d-0x1]=_0x46c231[0x3],_0x38646a?[_0xfd2d81,_0x4a94ec]:_0x4aff6e?(_0x3f3658(_0x4a94ec,_0x46c231,_0xfd2d81,_0x145d5d,_0x318e77),[_0xfd2d81]):(_0x3f3658(_0x4a94ec,_0x46c231,_0x4a94ec,0x0,_0x318e77),[_0xfd2d81,_0x4a94ec])):[_0xfd2d81,_0x4a94ec];}[_0x3436b6(0x237)](_0x5ae73e,_0x214c57,_0x396d1d,_0x43e0fc){const _0x2b7215=_0x3436b6;let _0x5c2ae3;if(_0x5ae73e===void 0x0)_0x5c2ae3=_0x3472c9;else{if(typeof _0x5ae73e!=_0x2b7215(0x156)||!_0x477b7f(_0x5ae73e))throw new TypeError(_0x2b7215(0x16e));if(_0x214c57===void 0x0||!_0x214c57[_0x2b7215(0x228)])_0x5c2ae3=Buffer['allocUnsafe'](0x2),_0x5c2ae3[_0x2b7215(0x108)](_0x5ae73e,0x0);else{const _0x589a5f=Buffer[_0x2b7215(0x1f1)](_0x214c57);if(_0x589a5f>0x7b)throw new RangeError(_0x2b7215(0x139));_0x5c2ae3=Buffer['allocUnsafe'](0x2+_0x589a5f),_0x5c2ae3[_0x2b7215(0x108)](_0x5ae73e,0x0),typeof _0x214c57==_0x2b7215(0xf5)?_0x5c2ae3[_0x2b7215(0x133)](_0x214c57,0x2):_0x5c2ae3[_0x2b7215(0xe7)](_0x214c57,0x2);}}const _0x463fda={[_0x2a41a1]:_0x5c2ae3[_0x2b7215(0x228)],'fin':!0x0,'generateMask':this[_0x2b7215(0xd8)],'mask':_0x396d1d,'maskBuffer':this[_0x2b7215(0x128)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x2b7215(0x112)]!==_0x13630a?this['enqueue']([this[_0x2b7215(0xe0)],_0x5c2ae3,!0x1,_0x463fda,_0x43e0fc]):this[_0x2b7215(0x11d)](_0x468284[_0x2b7215(0x109)](_0x5c2ae3,_0x463fda),_0x43e0fc);}['ping'](_0x97dfde,_0x2503e2,_0x39f9e3){const _0x3a3a2c=_0x3436b6;let _0x2b7a52,_0x5f0634;if(typeof _0x97dfde==_0x3a3a2c(0xf5)?(_0x2b7a52=Buffer[_0x3a3a2c(0x1f1)](_0x97dfde),_0x5f0634=!0x1):_0x55ee1a(_0x97dfde)?(_0x2b7a52=_0x97dfde[_0x3a3a2c(0x1cb)],_0x5f0634=!0x1):(_0x97dfde=_0x448dc4(_0x97dfde),_0x2b7a52=_0x97dfde[_0x3a3a2c(0x228)],_0x5f0634=_0x448dc4[_0x3a3a2c(0x14b)]),_0x2b7a52>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x364ab6={[_0x2a41a1]:_0x2b7a52,'fin':!0x0,'generateMask':this[_0x3a3a2c(0xd8)],'mask':_0x2503e2,'maskBuffer':this[_0x3a3a2c(0x128)],'opcode':0x9,'readOnly':_0x5f0634,'rsv1':!0x1};_0x55ee1a(_0x97dfde)?this['_state']!==_0x13630a?this['enqueue']([this[_0x3a3a2c(0x26a)],_0x97dfde,!0x1,_0x364ab6,_0x39f9e3]):this[_0x3a3a2c(0x26a)](_0x97dfde,!0x1,_0x364ab6,_0x39f9e3):this['_state']!==_0x13630a?this[_0x3a3a2c(0x153)]([this[_0x3a3a2c(0xe0)],_0x97dfde,!0x1,_0x364ab6,_0x39f9e3]):this[_0x3a3a2c(0x11d)](_0x468284[_0x3a3a2c(0x109)](_0x97dfde,_0x364ab6),_0x39f9e3);}[_0x3436b6(0xe1)](_0x42fbfe,_0x2f5846,_0x279ae4){const _0x4dcd04=_0x3436b6;let _0x1d932b,_0x121a46;if(typeof _0x42fbfe==_0x4dcd04(0xf5)?(_0x1d932b=Buffer[_0x4dcd04(0x1f1)](_0x42fbfe),_0x121a46=!0x1):_0x55ee1a(_0x42fbfe)?(_0x1d932b=_0x42fbfe[_0x4dcd04(0x1cb)],_0x121a46=!0x1):(_0x42fbfe=_0x448dc4(_0x42fbfe),_0x1d932b=_0x42fbfe[_0x4dcd04(0x228)],_0x121a46=_0x448dc4['readOnly']),_0x1d932b>0x7d)throw new RangeError(_0x4dcd04(0x236));const _0x26ce1c={[_0x2a41a1]:_0x1d932b,'fin':!0x0,'generateMask':this[_0x4dcd04(0xd8)],'mask':_0x2f5846,'maskBuffer':this[_0x4dcd04(0x128)],'opcode':0xa,'readOnly':_0x121a46,'rsv1':!0x1};_0x55ee1a(_0x42fbfe)?this[_0x4dcd04(0x112)]!==_0x13630a?this[_0x4dcd04(0x153)]([this['getBlobData'],_0x42fbfe,!0x1,_0x26ce1c,_0x279ae4]):this[_0x4dcd04(0x26a)](_0x42fbfe,!0x1,_0x26ce1c,_0x279ae4):this['_state']!==_0x13630a?this['enqueue']([this[_0x4dcd04(0xe0)],_0x42fbfe,!0x1,_0x26ce1c,_0x279ae4]):this[_0x4dcd04(0x11d)](_0x468284[_0x4dcd04(0x109)](_0x42fbfe,_0x26ce1c),_0x279ae4);}[_0x3436b6(0x12e)](_0x429644,_0x9b5eba,_0x8a1c95){const _0x12ad21=_0x3436b6,_0x3a7a03=this[_0x12ad21(0x15d)][_0x1d48ad[_0x12ad21(0x1ec)]];let _0x148cf9=_0x9b5eba['binary']?0x2:0x1,_0x248eac=_0x9b5eba['compress'],_0x2feb4c,_0x1224eb;typeof _0x429644==_0x12ad21(0xf5)?(_0x2feb4c=Buffer[_0x12ad21(0x1f1)](_0x429644),_0x1224eb=!0x1):_0x55ee1a(_0x429644)?(_0x2feb4c=_0x429644[_0x12ad21(0x1cb)],_0x1224eb=!0x1):(_0x429644=_0x448dc4(_0x429644),_0x2feb4c=_0x429644[_0x12ad21(0x228)],_0x1224eb=_0x448dc4[_0x12ad21(0x14b)]),this[_0x12ad21(0x263)]?(this[_0x12ad21(0x263)]=!0x1,_0x248eac&&_0x3a7a03&&_0x3a7a03['params'][_0x3a7a03['_isServer']?_0x12ad21(0xec):_0x12ad21(0x245)]&&(_0x248eac=_0x2feb4c>=_0x3a7a03[_0x12ad21(0xf0)]),this[_0x12ad21(0x123)]=_0x248eac):(_0x248eac=!0x1,_0x148cf9=0x0),_0x9b5eba[_0x12ad21(0x243)]&&(this[_0x12ad21(0x263)]=!0x0);const _0x3378cc={[_0x2a41a1]:_0x2feb4c,'fin':_0x9b5eba[_0x12ad21(0x243)],'generateMask':this[_0x12ad21(0xd8)],'mask':_0x9b5eba[_0x12ad21(0x19d)],'maskBuffer':this['_maskBuffer'],'opcode':_0x148cf9,'readOnly':_0x1224eb,'rsv1':_0x248eac};_0x55ee1a(_0x429644)?this[_0x12ad21(0x112)]!==_0x13630a?this[_0x12ad21(0x153)]([this[_0x12ad21(0x26a)],_0x429644,this[_0x12ad21(0x123)],_0x3378cc,_0x8a1c95]):this[_0x12ad21(0x26a)](_0x429644,this['_compress'],_0x3378cc,_0x8a1c95):this[_0x12ad21(0x112)]!==_0x13630a?this[_0x12ad21(0x153)]([this[_0x12ad21(0xe0)],_0x429644,this['_compress'],_0x3378cc,_0x8a1c95]):this['dispatch'](_0x429644,this[_0x12ad21(0x123)],_0x3378cc,_0x8a1c95);}[_0x3436b6(0x26a)](_0x2fd703,_0x2c7f99,_0x1e2baf,_0x4b8af4){const _0x41e291=_0x3436b6;this[_0x41e291(0x255)]+=_0x1e2baf[_0x2a41a1],this[_0x41e291(0x112)]=_0x93cd2e,_0x2fd703[_0x41e291(0x105)]()[_0x41e291(0x275)](_0x21d9e4=>{const _0x35490b=_0x41e291;if(this[_0x35490b(0x120)][_0x35490b(0x130)]){const _0x4569dc=new Error('The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read');process['nextTick'](_0x72a0c5,this,_0x4569dc,_0x4b8af4);return;}this['_bufferedBytes']-=_0x1e2baf[_0x2a41a1];const _0xa96e40=_0x448dc4(_0x21d9e4);_0x2c7f99?this[_0x35490b(0xe0)](_0xa96e40,_0x2c7f99,_0x1e2baf,_0x4b8af4):(this[_0x35490b(0x112)]=_0x13630a,this[_0x35490b(0x11d)](_0x468284[_0x35490b(0x109)](_0xa96e40,_0x1e2baf),_0x4b8af4),this[_0x35490b(0xd0)]());})[_0x41e291(0x23a)](_0x44d09f=>{const _0xb07813=_0x41e291;process[_0xb07813(0x22d)](_0x1ad570,this,_0x44d09f,_0x4b8af4);});}[_0x3436b6(0xe0)](_0x56545f,_0x315717,_0x4db02e,_0x5f33bf){const _0x45d275=_0x3436b6;if(!_0x315717){this['sendFrame'](_0x468284['frame'](_0x56545f,_0x4db02e),_0x5f33bf);return;}const _0x4ba283=this[_0x45d275(0x15d)][_0x1d48ad[_0x45d275(0x1ec)]];this[_0x45d275(0x255)]+=_0x4db02e[_0x2a41a1],this['_state']=_0xc0afed,_0x4ba283[_0x45d275(0x1b8)](_0x56545f,_0x4db02e[_0x45d275(0x243)],(_0x3b70b8,_0x2bbdde)=>{const _0x5cbc65=_0x45d275;if(this[_0x5cbc65(0x120)][_0x5cbc65(0x130)]){const _0x7dbdfe=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x72a0c5(this,_0x7dbdfe,_0x5f33bf);return;}this['_bufferedBytes']-=_0x4db02e[_0x2a41a1],this[_0x5cbc65(0x112)]=_0x13630a,_0x4db02e[_0x5cbc65(0x14b)]=!0x1,this[_0x5cbc65(0x11d)](_0x468284['frame'](_0x2bbdde,_0x4db02e),_0x5f33bf),this['dequeue']();});}[_0x3436b6(0xd0)](){const _0x5c9b5a=_0x3436b6;for(;this[_0x5c9b5a(0x112)]===_0x13630a&&this[_0x5c9b5a(0x1b0)][_0x5c9b5a(0x228)];){const _0x5ba3ad=this[_0x5c9b5a(0x1b0)][_0x5c9b5a(0x216)]();this[_0x5c9b5a(0x255)]-=_0x5ba3ad[0x3][_0x2a41a1],Reflect['apply'](_0x5ba3ad[0x0],this,_0x5ba3ad[_0x5c9b5a(0x215)](0x1));}}[_0x3436b6(0x153)](_0xedcf9c){const _0x2c30eb=_0x3436b6;this[_0x2c30eb(0x255)]+=_0xedcf9c[0x3][_0x2a41a1],this[_0x2c30eb(0x1b0)][_0x2c30eb(0x14d)](_0xedcf9c);}[_0x3436b6(0x11d)](_0x444028,_0x17226a){const _0x3aed1c=_0x3436b6;_0x444028[_0x3aed1c(0x228)]===0x2?(this['_socket'][_0x3aed1c(0x137)](),this[_0x3aed1c(0x120)][_0x3aed1c(0x133)](_0x444028[0x0]),this[_0x3aed1c(0x120)][_0x3aed1c(0x133)](_0x444028[0x1],_0x17226a),this['_socket'][_0x3aed1c(0x278)]()):this['_socket'][_0x3aed1c(0x133)](_0x444028[0x0],_0x17226a);}}Ee=_0x468284;function _0x72a0c5(_0x1e6a1d,_0x3cf980,_0x5d6003){const _0x7e2ee5=_0x3436b6;typeof _0x5d6003=='function'&&_0x5d6003(_0x3cf980);for(let _0x163ad=0x0;_0x163ad<_0x1e6a1d[_0x7e2ee5(0x1b0)][_0x7e2ee5(0x228)];_0x163ad++){const _0x265b60=_0x1e6a1d[_0x7e2ee5(0x1b0)][_0x163ad],_0x4e70f4=_0x265b60[_0x265b60[_0x7e2ee5(0x228)]-0x1];typeof _0x4e70f4==_0x7e2ee5(0x239)&&_0x4e70f4(_0x3cf980);}}function _0x1ad570(_0x43b9d6,_0x598946,_0x222c16){const _0x1df4de=_0x3436b6;_0x72a0c5(_0x43b9d6,_0x598946,_0x222c16),_0x43b9d6[_0x1df4de(0x134)](_0x598946);}return Ee;}var xe,Je;function zt(){const _0xec08a9=_0x2b5109;if(Je)return xe;Je=0x1;const {kForOnEventAttribute:_0x429b33,kListener:_0xfc0d2a}=V(),_0x5f5b9c=Symbol('kCode'),_0x130a16=Symbol(_0xec08a9(0x1a6)),_0x2cf12b=Symbol('kError'),_0x3fb18e=Symbol(_0xec08a9(0x1d6)),_0x1186b0=Symbol(_0xec08a9(0x218)),_0x2180d0=Symbol(_0xec08a9(0xed)),_0xf20c62=Symbol(_0xec08a9(0x16f)),_0x3ef1c8=Symbol('kWasClean');class _0xc068a6{constructor(_0x41a739){this[_0x2180d0]=null,this[_0xf20c62]=_0x41a739;}get[_0xec08a9(0x185)](){return this[_0x2180d0];}get[_0xec08a9(0x1a9)](){return this[_0xf20c62];}}Object[_0xec08a9(0xde)](_0xc068a6[_0xec08a9(0x1dd)],_0xec08a9(0x185),{'enumerable':!0x0}),Object[_0xec08a9(0xde)](_0xc068a6[_0xec08a9(0x1dd)],'type',{'enumerable':!0x0});class _0x333fca extends _0xc068a6{constructor(_0x122c4f,_0xf06f20={}){const _0x200ca=_0xec08a9;super(_0x122c4f),this[_0x5f5b9c]=_0xf06f20[_0x200ca(0x15e)]===void 0x0?0x0:_0xf06f20['code'],this[_0x1186b0]=_0xf06f20['reason']===void 0x0?'':_0xf06f20[_0x200ca(0x188)],this[_0x3ef1c8]=_0xf06f20['wasClean']===void 0x0?!0x1:_0xf06f20[_0x200ca(0x167)];}get[_0xec08a9(0x15e)](){return this[_0x5f5b9c];}get[_0xec08a9(0x188)](){return this[_0x1186b0];}get[_0xec08a9(0x167)](){return this[_0x3ef1c8];}}Object['defineProperty'](_0x333fca[_0xec08a9(0x1dd)],_0xec08a9(0x15e),{'enumerable':!0x0}),Object['defineProperty'](_0x333fca[_0xec08a9(0x1dd)],_0xec08a9(0x188),{'enumerable':!0x0}),Object['defineProperty'](_0x333fca[_0xec08a9(0x1dd)],_0xec08a9(0x167),{'enumerable':!0x0});class _0x43d3dd extends _0xc068a6{constructor(_0x2b5529,_0x2e961c={}){const _0x3d67bd=_0xec08a9;super(_0x2b5529),this[_0x2cf12b]=_0x2e961c[_0x3d67bd(0x270)]===void 0x0?null:_0x2e961c[_0x3d67bd(0x270)],this[_0x3fb18e]=_0x2e961c[_0x3d67bd(0x22f)]===void 0x0?'':_0x2e961c[_0x3d67bd(0x22f)];}get[_0xec08a9(0x270)](){return this[_0x2cf12b];}get[_0xec08a9(0x22f)](){return this[_0x3fb18e];}}Object[_0xec08a9(0xde)](_0x43d3dd[_0xec08a9(0x1dd)],'error',{'enumerable':!0x0}),Object[_0xec08a9(0xde)](_0x43d3dd['prototype'],'message',{'enumerable':!0x0});class _0x6b7360 extends _0xc068a6{constructor(_0x234ac5,_0x3a18ed={}){const _0x2f6d2e=_0xec08a9;super(_0x234ac5),this[_0x130a16]=_0x3a18ed[_0x2f6d2e(0x1ed)]===void 0x0?null:_0x3a18ed[_0x2f6d2e(0x1ed)];}get[_0xec08a9(0x1ed)](){return this[_0x130a16];}}Object['defineProperty'](_0x6b7360['prototype'],'data',{'enumerable':!0x0}),xe={'CloseEvent':_0x333fca,'ErrorEvent':_0x43d3dd,'Event':_0xc068a6,'EventTarget':{'addEventListener'(_0x22891f,_0x94606c,_0xfca942={}){const _0x5e44b0=_0xec08a9;for(const _0xf0f4ef of this[_0x5e44b0(0x164)](_0x22891f))if(!_0xfca942[_0x429b33]&&_0xf0f4ef[_0xfc0d2a]===_0x94606c&&!_0xf0f4ef[_0x429b33])return;let _0x87d9d0;if(_0x22891f===_0x5e44b0(0x22f))_0x87d9d0=function(_0x1c0065,_0x57e0da){const _0xf39b8=_0x5e44b0,_0x430588=new _0x6b7360(_0xf39b8(0x22f),{'data':_0x57e0da?_0x1c0065:_0x1c0065[_0xf39b8(0x279)]()});_0x430588[_0x2180d0]=this,_0x5c9255(_0x94606c,this,_0x430588);};else{if(_0x22891f===_0x5e44b0(0x237))_0x87d9d0=function(_0x85e4c7,_0x11c7cc){const _0x2df5f4=_0x5e44b0,_0x1cd3f8=new _0x333fca(_0x2df5f4(0x237),{'code':_0x85e4c7,'reason':_0x11c7cc[_0x2df5f4(0x279)](),'wasClean':this[_0x2df5f4(0x1e9)]&&this[_0x2df5f4(0x226)]});_0x1cd3f8[_0x2180d0]=this,_0x5c9255(_0x94606c,this,_0x1cd3f8);};else{if(_0x22891f===_0x5e44b0(0x270))_0x87d9d0=function(_0x4bed4b){const _0x4bba18=_0x5e44b0,_0x24610f=new _0x43d3dd(_0x4bba18(0x270),{'error':_0x4bed4b,'message':_0x4bed4b['message']});_0x24610f[_0x2180d0]=this,_0x5c9255(_0x94606c,this,_0x24610f);};else{if(_0x22891f===_0x5e44b0(0x265))_0x87d9d0=function(){const _0x36701f=_0x5e44b0,_0x4f1c5b=new _0xc068a6(_0x36701f(0x265));_0x4f1c5b[_0x2180d0]=this,_0x5c9255(_0x94606c,this,_0x4f1c5b);};else return;}}}_0x87d9d0[_0x429b33]=!!_0xfca942[_0x429b33],_0x87d9d0[_0xfc0d2a]=_0x94606c,_0xfca942[_0x5e44b0(0x114)]?this[_0x5e44b0(0x114)](_0x22891f,_0x87d9d0):this['on'](_0x22891f,_0x87d9d0);},'removeEventListener'(_0xabcfd3,_0x23d194){const _0x7a7659=_0xec08a9;for(const _0x152734 of this[_0x7a7659(0x164)](_0xabcfd3))if(_0x152734[_0xfc0d2a]===_0x23d194&&!_0x152734[_0x429b33]){this[_0x7a7659(0x235)](_0xabcfd3,_0x152734);break;}}},'MessageEvent':_0x6b7360};function _0x5c9255(_0x22f4b5,_0x2b712d,_0x6b81b0){const _0x3e3764=_0xec08a9;typeof _0x22f4b5==_0x3e3764(0x13e)&&_0x22f4b5[_0x3e3764(0x22b)]?_0x22f4b5[_0x3e3764(0x22b)][_0x3e3764(0x232)](_0x22f4b5,_0x6b81b0):_0x22f4b5[_0x3e3764(0x232)](_0x2b712d,_0x6b81b0);}return xe;}var be,et;function dt(){if(et)return be;et=0x1;const {tokenChars:_0x3c96ef}=ie();function _0x1ab604(_0x35bbed,_0x45be9d,_0x64fa83){const _0x433209=_0x59e2;_0x35bbed[_0x45be9d]===void 0x0?_0x35bbed[_0x45be9d]=[_0x64fa83]:_0x35bbed[_0x45be9d][_0x433209(0x14d)](_0x64fa83);}function _0x5a12a7(_0x3543ef){const _0x5f3f86=_0x59e2,_0x1d0077=Object[_0x5f3f86(0x116)](null);let _0x1b07a5=Object[_0x5f3f86(0x116)](null),_0x318930=!0x1,_0x108fb1=!0x1,_0x4dfd54=!0x1,_0x195456,_0x2df495,_0x3e8699=-0x1,_0x3e8251=-0x1,_0x401597=-0x1,_0xe02d84=0x0;for(;_0xe02d84<_0x3543ef[_0x5f3f86(0x228)];_0xe02d84++)if(_0x3e8251=_0x3543ef[_0x5f3f86(0xe3)](_0xe02d84),_0x195456===void 0x0){if(_0x401597===-0x1&&_0x3c96ef[_0x3e8251]===0x1)_0x3e8699===-0x1&&(_0x3e8699=_0xe02d84);else{if(_0xe02d84!==0x0&&(_0x3e8251===0x20||_0x3e8251===0x9))_0x401597===-0x1&&_0x3e8699!==-0x1&&(_0x401597=_0xe02d84);else{if(_0x3e8251===0x3b||_0x3e8251===0x2c){if(_0x3e8699===-0x1)throw new SyntaxError(_0x5f3f86(0x1b5)+_0xe02d84);_0x401597===-0x1&&(_0x401597=_0xe02d84);const _0x441204=_0x3543ef['slice'](_0x3e8699,_0x401597);_0x3e8251===0x2c?(_0x1ab604(_0x1d0077,_0x441204,_0x1b07a5),_0x1b07a5=Object[_0x5f3f86(0x116)](null)):_0x195456=_0x441204,_0x3e8699=_0x401597=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0xe02d84);}}}else{if(_0x2df495===void 0x0){if(_0x401597===-0x1&&_0x3c96ef[_0x3e8251]===0x1)_0x3e8699===-0x1&&(_0x3e8699=_0xe02d84);else{if(_0x3e8251===0x20||_0x3e8251===0x9)_0x401597===-0x1&&_0x3e8699!==-0x1&&(_0x401597=_0xe02d84);else{if(_0x3e8251===0x3b||_0x3e8251===0x2c){if(_0x3e8699===-0x1)throw new SyntaxError(_0x5f3f86(0x1b5)+_0xe02d84);_0x401597===-0x1&&(_0x401597=_0xe02d84),_0x1ab604(_0x1b07a5,_0x3543ef['slice'](_0x3e8699,_0x401597),!0x0),_0x3e8251===0x2c&&(_0x1ab604(_0x1d0077,_0x195456,_0x1b07a5),_0x1b07a5=Object[_0x5f3f86(0x116)](null),_0x195456=void 0x0),_0x3e8699=_0x401597=-0x1;}else{if(_0x3e8251===0x3d&&_0x3e8699!==-0x1&&_0x401597===-0x1)_0x2df495=_0x3543ef['slice'](_0x3e8699,_0xe02d84),_0x3e8699=_0x401597=-0x1;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0xe02d84);}}}}else{if(_0x108fb1){if(_0x3c96ef[_0x3e8251]!==0x1)throw new SyntaxError(_0x5f3f86(0x1b5)+_0xe02d84);_0x3e8699===-0x1?_0x3e8699=_0xe02d84:_0x318930||(_0x318930=!0x0),_0x108fb1=!0x1;}else{if(_0x4dfd54){if(_0x3c96ef[_0x3e8251]===0x1)_0x3e8699===-0x1&&(_0x3e8699=_0xe02d84);else{if(_0x3e8251===0x22&&_0x3e8699!==-0x1)_0x4dfd54=!0x1,_0x401597=_0xe02d84;else{if(_0x3e8251===0x5c)_0x108fb1=!0x0;else throw new SyntaxError(_0x5f3f86(0x1b5)+_0xe02d84);}}}else{if(_0x3e8251===0x22&&_0x3543ef['charCodeAt'](_0xe02d84-0x1)===0x3d)_0x4dfd54=!0x0;else{if(_0x401597===-0x1&&_0x3c96ef[_0x3e8251]===0x1)_0x3e8699===-0x1&&(_0x3e8699=_0xe02d84);else{if(_0x3e8699!==-0x1&&(_0x3e8251===0x20||_0x3e8251===0x9))_0x401597===-0x1&&(_0x401597=_0xe02d84);else{if(_0x3e8251===0x3b||_0x3e8251===0x2c){if(_0x3e8699===-0x1)throw new SyntaxError(_0x5f3f86(0x1b5)+_0xe02d84);_0x401597===-0x1&&(_0x401597=_0xe02d84);let _0x12490a=_0x3543ef[_0x5f3f86(0x215)](_0x3e8699,_0x401597);_0x318930&&(_0x12490a=_0x12490a[_0x5f3f86(0x1aa)](/\\/g,''),_0x318930=!0x1),_0x1ab604(_0x1b07a5,_0x2df495,_0x12490a),_0x3e8251===0x2c&&(_0x1ab604(_0x1d0077,_0x195456,_0x1b07a5),_0x1b07a5=Object[_0x5f3f86(0x116)](null),_0x195456=void 0x0),_0x2df495=void 0x0,_0x3e8699=_0x401597=-0x1;}else throw new SyntaxError(_0x5f3f86(0x1b5)+_0xe02d84);}}}}}}}if(_0x3e8699===-0x1||_0x4dfd54||_0x3e8251===0x20||_0x3e8251===0x9)throw new SyntaxError(_0x5f3f86(0x231));_0x401597===-0x1&&(_0x401597=_0xe02d84);const _0x114386=_0x3543ef[_0x5f3f86(0x215)](_0x3e8699,_0x401597);return _0x195456===void 0x0?_0x1ab604(_0x1d0077,_0x114386,_0x1b07a5):(_0x2df495===void 0x0?_0x1ab604(_0x1b07a5,_0x114386,!0x0):_0x318930?_0x1ab604(_0x1b07a5,_0x2df495,_0x114386[_0x5f3f86(0x1aa)](/\\/g,'')):_0x1ab604(_0x1b07a5,_0x2df495,_0x114386),_0x1ab604(_0x1d0077,_0x195456,_0x1b07a5)),_0x1d0077;}function _0x3fe01d(_0x1213fd){const _0x534fe9=_0x59e2;return Object[_0x534fe9(0x149)](_0x1213fd)['map'](_0x369c8b=>{const _0x4b43f8=_0x534fe9;let _0x5077c4=_0x1213fd[_0x369c8b];return Array[_0x4b43f8(0x1f6)](_0x5077c4)||(_0x5077c4=[_0x5077c4]),_0x5077c4[_0x4b43f8(0x261)](_0x2eca18=>[_0x369c8b][_0x4b43f8(0x1e1)](Object[_0x4b43f8(0x149)](_0x2eca18)[_0x4b43f8(0x261)](_0x42bcc3=>{const _0x54f576=_0x4b43f8;let _0x5dffb0=_0x2eca18[_0x42bcc3];return Array[_0x54f576(0x1f6)](_0x5dffb0)||(_0x5dffb0=[_0x5dffb0]),_0x5dffb0[_0x54f576(0x261)](_0x74111d=>_0x74111d===!0x0?_0x42bcc3:_0x42bcc3+'='+_0x74111d)[_0x54f576(0x24d)](';\x20');}))[_0x4b43f8(0x24d)](';\x20'))['join'](',\x20');})[_0x534fe9(0x24d)](',\x20');}return be={'format':_0x3fe01d,'parse':_0x5a12a7},be;}var we,tt;function Be(){const _0x527490=_0x2b5109;if(tt)return we;tt=0x1;const _0x2a2a39=_0x32ca21,_0x4d98b7=_0x2b6ba0,_0x256751=_0x14a6c3,_0x24822e=_0x2991e4,_0x3728f7=_0x1659f2,{randomBytes:_0x1dbb1a,createHash:_0x24cc5b}=_0x572ea6,{Duplex:_0x3a3553,Readable:_0x57a70d}=_0xc0bc2f,{URL:_0x5c9830}=_0x58baac,_0x5cb1f5=ce(),_0x53bf0d=ht(),_0x55c340=ut(),{isBlob:_0x4604ed}=ie(),{BINARY_TYPES:_0x45ae12,EMPTY_BUFFER:_0x549232,GUID:_0x443b99,kForOnEventAttribute:_0x121e68,kListener:_0x3f9077,kStatusCode:_0x4f6677,kWebSocket:_0x28ed7f,NOOP:_0x51101e}=V(),{EventTarget:{addEventListener:_0x43dfc9,removeEventListener:_0x34e1e4}}=zt(),{format:_0x276aeb,parse:_0x498a6a}=dt(),{toBuffer:_0x5d281f}=fe(),_0x2f3008=0x1e*0x3e8,_0x3c88d9=Symbol(_0x527490(0x252)),_0x33bd37=[0x8,0xd],_0x4aada9=[_0x527490(0x1c0),_0x527490(0x117),_0x527490(0x23e),_0x527490(0x196)],_0x11799b=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x1562f4 extends _0x2a2a39{constructor(_0x3ba7ac,_0x4e25ac,_0x2e24a7){const _0x2f8f21=_0x527490;super(),this[_0x2f8f21(0x23c)]=_0x45ae12[0x0],this[_0x2f8f21(0x230)]=0x3ee,this[_0x2f8f21(0x1e9)]=!0x1,this[_0x2f8f21(0x226)]=!0x1,this[_0x2f8f21(0x125)]=_0x549232,this[_0x2f8f21(0x1d0)]=null,this['_errorEmitted']=!0x1,this[_0x2f8f21(0x15d)]={},this[_0x2f8f21(0x24a)]=!0x1,this['_protocol']='',this[_0x2f8f21(0x267)]=_0x1562f4[_0x2f8f21(0x1c0)],this['_receiver']=null,this['_sender']=null,this[_0x2f8f21(0x120)]=null,_0x3ba7ac!==null?(this[_0x2f8f21(0x269)]=0x0,this[_0x2f8f21(0x1a2)]=!0x1,this[_0x2f8f21(0x242)]=0x0,_0x4e25ac===void 0x0?_0x4e25ac=[]:Array[_0x2f8f21(0x1f6)](_0x4e25ac)||(typeof _0x4e25ac==_0x2f8f21(0x13e)&&_0x4e25ac!==null?(_0x2e24a7=_0x4e25ac,_0x4e25ac=[]):_0x4e25ac=[_0x4e25ac]),_0x35e608(this,_0x3ba7ac,_0x4e25ac,_0x2e24a7)):(this['_autoPong']=_0x2e24a7[_0x2f8f21(0xdd)],this[_0x2f8f21(0x1a2)]=!0x0);}get['binaryType'](){return this['_binaryType'];}set[_0x527490(0x277)](_0x5acb96){const _0xe31f8a=_0x527490;_0x45ae12[_0xe31f8a(0x1e5)](_0x5acb96)&&(this[_0xe31f8a(0x23c)]=_0x5acb96,this[_0xe31f8a(0x17c)]&&(this[_0xe31f8a(0x17c)]['_binaryType']=_0x5acb96));}get['bufferedAmount'](){const _0x4377ac=_0x527490;return this[_0x4377ac(0x120)]?this[_0x4377ac(0x120)][_0x4377ac(0x194)]['length']+this['_sender'][_0x4377ac(0x255)]:this['_bufferedAmount'];}get['extensions'](){const _0x10fec7=_0x527490;return Object['keys'](this[_0x10fec7(0x15d)])[_0x10fec7(0x24d)]();}get[_0x527490(0x103)](){const _0x2eed16=_0x527490;return this[_0x2eed16(0x24a)];}get[_0x527490(0x1d1)](){return null;}get[_0x527490(0x134)](){return null;}get[_0x527490(0x129)](){return null;}get[_0x527490(0x1e7)](){return null;}get[_0x527490(0x160)](){return this['_protocol'];}get[_0x527490(0x16b)](){const _0x28231e=_0x527490;return this[_0x28231e(0x267)];}get['url'](){return this['_url'];}[_0x527490(0x1eb)](_0x2e94ad,_0x5932f7,_0x270829){const _0x34b64a=_0x527490,_0x29884c=new _0x53bf0d({'allowSynchronousEvents':_0x270829[_0x34b64a(0x127)],'binaryType':this[_0x34b64a(0x277)],'extensions':this[_0x34b64a(0x15d)],'isServer':this['_isServer'],'maxPayload':_0x270829[_0x34b64a(0x1fa)],'skipUTF8Validation':_0x270829['skipUTF8Validation']}),_0x282b65=new _0x55c340(_0x2e94ad,this['_extensions'],_0x270829[_0x34b64a(0x13d)]);this[_0x34b64a(0x17c)]=_0x29884c,this[_0x34b64a(0x26e)]=_0x282b65,this['_socket']=_0x2e94ad,_0x29884c[_0x28ed7f]=this,_0x282b65[_0x28ed7f]=this,_0x2e94ad[_0x28ed7f]=this,_0x29884c['on'](_0x34b64a(0x1b6),_0x152d07),_0x29884c['on'](_0x34b64a(0x256),_0x432737),_0x29884c['on'](_0x34b64a(0x270),_0x3885db),_0x29884c['on'](_0x34b64a(0x22f),_0x23cd64),_0x29884c['on'](_0x34b64a(0x10e),_0x488c51),_0x29884c['on'](_0x34b64a(0xe1),_0x330841),_0x282b65['onerror']=_0x31c8be,_0x2e94ad[_0x34b64a(0x145)]&&_0x2e94ad[_0x34b64a(0x145)](0x0),_0x2e94ad['setNoDelay']&&_0x2e94ad[_0x34b64a(0xff)](),_0x5932f7['length']>0x0&&_0x2e94ad[_0x34b64a(0x169)](_0x5932f7),_0x2e94ad['on']('close',_0xf4dc58),_0x2e94ad['on'](_0x34b64a(0x1ed),_0x48debe),_0x2e94ad['on']('end',_0x4c6138),_0x2e94ad['on'](_0x34b64a(0x270),_0x3528d7),this[_0x34b64a(0x267)]=_0x1562f4['OPEN'],this[_0x34b64a(0x11a)](_0x34b64a(0x265));}['emitClose'](){const _0x285d7b=_0x527490;if(!this[_0x285d7b(0x120)]){this['_readyState']=_0x1562f4[_0x285d7b(0x196)],this[_0x285d7b(0x11a)](_0x285d7b(0x237),this[_0x285d7b(0x230)],this[_0x285d7b(0x125)]);return;}this[_0x285d7b(0x15d)][_0x5cb1f5[_0x285d7b(0x1ec)]]&&this[_0x285d7b(0x15d)][_0x5cb1f5['extensionName']]['cleanup'](),this[_0x285d7b(0x17c)][_0x285d7b(0x172)](),this[_0x285d7b(0x267)]=_0x1562f4['CLOSED'],this['emit'](_0x285d7b(0x237),this['_closeCode'],this[_0x285d7b(0x125)]);}[_0x527490(0x237)](_0x4d0826,_0x6bcb17){const _0x1f373d=_0x527490;if(this[_0x1f373d(0x16b)]!==_0x1562f4['CLOSED']){if(this[_0x1f373d(0x16b)]===_0x1562f4[_0x1f373d(0x1c0)]){_0x54159c(this,this[_0x1f373d(0x22c)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}if(this[_0x1f373d(0x16b)]===_0x1562f4['CLOSING']){this['_closeFrameSent']&&(this[_0x1f373d(0x1e9)]||this[_0x1f373d(0x17c)]['_writableState'][_0x1f373d(0x18e)])&&this[_0x1f373d(0x120)]['end']();return;}this[_0x1f373d(0x267)]=_0x1562f4['CLOSING'],this['_sender'][_0x1f373d(0x237)](_0x4d0826,_0x6bcb17,!this[_0x1f373d(0x1a2)],_0x48db2d=>{const _0x28e104=_0x1f373d;_0x48db2d||(this[_0x28e104(0x226)]=!0x0,(this[_0x28e104(0x1e9)]||this[_0x28e104(0x17c)][_0x28e104(0x194)][_0x28e104(0x18e)])&&this[_0x28e104(0x120)][_0x28e104(0x181)]());}),_0xa94329(this);}}[_0x527490(0x247)](){const _0x30d27c=_0x527490;this['readyState']===_0x1562f4['CONNECTING']||this[_0x30d27c(0x16b)]===_0x1562f4[_0x30d27c(0x196)]||(this[_0x30d27c(0x24a)]=!0x0,this[_0x30d27c(0x120)][_0x30d27c(0x247)]());}['ping'](_0x38bd2e,_0x181e2d,_0x5cd9a4){const _0x25c0c1=_0x527490;if(this[_0x25c0c1(0x16b)]===_0x1562f4[_0x25c0c1(0x1c0)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x38bd2e==_0x25c0c1(0x239)?(_0x5cd9a4=_0x38bd2e,_0x38bd2e=_0x181e2d=void 0x0):typeof _0x181e2d==_0x25c0c1(0x239)&&(_0x5cd9a4=_0x181e2d,_0x181e2d=void 0x0),typeof _0x38bd2e==_0x25c0c1(0x156)&&(_0x38bd2e=_0x38bd2e['toString']()),this[_0x25c0c1(0x16b)]!==_0x1562f4[_0x25c0c1(0x117)]){_0x20571b(this,_0x38bd2e,_0x5cd9a4);return;}_0x181e2d===void 0x0&&(_0x181e2d=!this[_0x25c0c1(0x1a2)]),this['_sender'][_0x25c0c1(0x10e)](_0x38bd2e||_0x549232,_0x181e2d,_0x5cd9a4);}[_0x527490(0xe1)](_0x48e812,_0xeea49c,_0x385330){const _0x350207=_0x527490;if(this[_0x350207(0x16b)]===_0x1562f4[_0x350207(0x1c0)])throw new Error(_0x350207(0x272));if(typeof _0x48e812==_0x350207(0x239)?(_0x385330=_0x48e812,_0x48e812=_0xeea49c=void 0x0):typeof _0xeea49c==_0x350207(0x239)&&(_0x385330=_0xeea49c,_0xeea49c=void 0x0),typeof _0x48e812=='number'&&(_0x48e812=_0x48e812[_0x350207(0x279)]()),this['readyState']!==_0x1562f4['OPEN']){_0x20571b(this,_0x48e812,_0x385330);return;}_0xeea49c===void 0x0&&(_0xeea49c=!this[_0x350207(0x1a2)]),this[_0x350207(0x26e)][_0x350207(0xe1)](_0x48e812||_0x549232,_0xeea49c,_0x385330);}[_0x527490(0xd5)](){const _0x5250ce=_0x527490;this['readyState']===_0x1562f4[_0x5250ce(0x1c0)]||this['readyState']===_0x1562f4[_0x5250ce(0x196)]||(this[_0x5250ce(0x24a)]=!0x1,this[_0x5250ce(0x17c)]['_writableState'][_0x5250ce(0x17e)]||this[_0x5250ce(0x120)]['resume']());}[_0x527490(0x12e)](_0x4b93c1,_0x4eaa0e,_0x3de927){const _0x365a41=_0x527490;if(this[_0x365a41(0x16b)]===_0x1562f4[_0x365a41(0x1c0)])throw new Error(_0x365a41(0x272));if(typeof _0x4eaa0e==_0x365a41(0x239)&&(_0x3de927=_0x4eaa0e,_0x4eaa0e={}),typeof _0x4b93c1==_0x365a41(0x156)&&(_0x4b93c1=_0x4b93c1[_0x365a41(0x279)]()),this['readyState']!==_0x1562f4['OPEN']){_0x20571b(this,_0x4b93c1,_0x3de927);return;}const _0x19ea6a={'binary':typeof _0x4b93c1!=_0x365a41(0xf5),'mask':!this[_0x365a41(0x1a2)],'compress':!0x0,'fin':!0x0,..._0x4eaa0e};this[_0x365a41(0x15d)][_0x5cb1f5[_0x365a41(0x1ec)]]||(_0x19ea6a[_0x365a41(0x1b8)]=!0x1),this[_0x365a41(0x26e)][_0x365a41(0x12e)](_0x4b93c1||_0x549232,_0x19ea6a,_0x3de927);}[_0x527490(0x223)](){const _0x215645=_0x527490;if(this[_0x215645(0x16b)]!==_0x1562f4[_0x215645(0x196)]){if(this[_0x215645(0x16b)]===_0x1562f4[_0x215645(0x1c0)]){_0x54159c(this,this[_0x215645(0x22c)],_0x215645(0x1fb));return;}this['_socket']&&(this['_readyState']=_0x1562f4[_0x215645(0x23e)],this[_0x215645(0x120)][_0x215645(0x122)]());}}}Object[_0x527490(0xde)](_0x1562f4,'CONNECTING',{'enumerable':!0x0,'value':_0x4aada9[_0x527490(0x140)](_0x527490(0x1c0))}),Object[_0x527490(0xde)](_0x1562f4[_0x527490(0x1dd)],'CONNECTING',{'enumerable':!0x0,'value':_0x4aada9[_0x527490(0x140)](_0x527490(0x1c0))}),Object[_0x527490(0xde)](_0x1562f4,_0x527490(0x117),{'enumerable':!0x0,'value':_0x4aada9['indexOf'](_0x527490(0x117))}),Object[_0x527490(0xde)](_0x1562f4[_0x527490(0x1dd)],_0x527490(0x117),{'enumerable':!0x0,'value':_0x4aada9['indexOf'](_0x527490(0x117))}),Object[_0x527490(0xde)](_0x1562f4,_0x527490(0x23e),{'enumerable':!0x0,'value':_0x4aada9[_0x527490(0x140)](_0x527490(0x23e))}),Object[_0x527490(0xde)](_0x1562f4[_0x527490(0x1dd)],'CLOSING',{'enumerable':!0x0,'value':_0x4aada9[_0x527490(0x140)](_0x527490(0x23e))}),Object['defineProperty'](_0x1562f4,_0x527490(0x196),{'enumerable':!0x0,'value':_0x4aada9['indexOf'](_0x527490(0x196))}),Object[_0x527490(0xde)](_0x1562f4[_0x527490(0x1dd)],_0x527490(0x196),{'enumerable':!0x0,'value':_0x4aada9['indexOf'](_0x527490(0x196))}),[_0x527490(0x277),_0x527490(0x1be),'extensions',_0x527490(0x103),_0x527490(0x160),_0x527490(0x16b),'url'][_0x527490(0xd4)](_0x3745ab=>{const _0x169d98=_0x527490;Object['defineProperty'](_0x1562f4[_0x169d98(0x1dd)],_0x3745ab,{'enumerable':!0x0});}),[_0x527490(0x265),_0x527490(0x270),_0x527490(0x237),_0x527490(0x22f)][_0x527490(0xd4)](_0x3243c2=>{const _0x58eaa2=_0x527490;Object['defineProperty'](_0x1562f4[_0x58eaa2(0x1dd)],'on'+_0x3243c2,{'enumerable':!0x0,'get'(){const _0x2eb325=_0x58eaa2;for(const _0x5eec7d of this[_0x2eb325(0x164)](_0x3243c2))if(_0x5eec7d[_0x121e68])return _0x5eec7d[_0x3f9077];return null;},'set'(_0xf6bac0){const _0x4e05d0=_0x58eaa2;for(const _0x491a16 of this['listeners'](_0x3243c2))if(_0x491a16[_0x121e68]){this[_0x4e05d0(0x235)](_0x3243c2,_0x491a16);break;}typeof _0xf6bac0==_0x4e05d0(0x239)&&this['addEventListener'](_0x3243c2,_0xf6bac0,{[_0x121e68]:!0x0});}});}),_0x1562f4[_0x527490(0x1dd)][_0x527490(0x152)]=_0x43dfc9,_0x1562f4[_0x527490(0x1dd)]['removeEventListener']=_0x34e1e4,we=_0x1562f4;function _0x35e608(_0x2fe377,_0x1f4964,_0x1d303e,_0x5557cf){const _0x5594c8=_0x527490,_0x2fbe19={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x33bd37[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x5557cf,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x2fe377['_autoPong']=_0x2fbe19[_0x5594c8(0xdd)],!_0x33bd37['includes'](_0x2fbe19[_0x5594c8(0x143)]))throw new RangeError(_0x5594c8(0x16c)+_0x2fbe19['protocolVersion']+_0x5594c8(0x118)+_0x33bd37['join'](',\x20')+')');let _0xb8f276;if(_0x1f4964 instanceof _0x5c9830)_0xb8f276=_0x1f4964;else try{_0xb8f276=new _0x5c9830(_0x1f4964);}catch{throw new SyntaxError(_0x5594c8(0x147)+_0x1f4964);}_0xb8f276['protocol']==='http:'?_0xb8f276[_0x5594c8(0x160)]=_0x5594c8(0xd7):_0xb8f276[_0x5594c8(0x160)]==='https:'&&(_0xb8f276['protocol']=_0x5594c8(0x201)),_0x2fe377[_0x5594c8(0x254)]=_0xb8f276['href'];const _0x311025=_0xb8f276[_0x5594c8(0x160)]===_0x5594c8(0x201),_0x5339f0=_0xb8f276[_0x5594c8(0x160)]===_0x5594c8(0x22e);let _0x59b011;if(_0xb8f276['protocol']!==_0x5594c8(0xd7)&&!_0x311025&&!_0x5339f0?_0x59b011=_0x5594c8(0x132):_0x5339f0&&!_0xb8f276[_0x5594c8(0xfb)]?_0x59b011=_0x5594c8(0xf9):_0xb8f276[_0x5594c8(0x198)]&&(_0x59b011=_0x5594c8(0x1b2)),_0x59b011){const _0x213df8=new SyntaxError(_0x59b011);if(_0x2fe377['_redirects']===0x0)throw _0x213df8;_0x5d5077(_0x2fe377,_0x213df8);return;}const _0x5a02b7=_0x311025?0x1bb:0x50,_0x27ee41=_0x1dbb1a(0x10)[_0x5594c8(0x279)](_0x5594c8(0x248)),_0x31f44b=_0x311025?_0x4d98b7[_0x5594c8(0x12a)]:_0x256751[_0x5594c8(0x12a)],_0x32643b=new Set();let _0x46657b;if(_0x2fbe19['createConnection']=_0x2fbe19['createConnection']||(_0x311025?_0x24e7ce:_0x5c3dcb),_0x2fbe19[_0x5594c8(0x219)]=_0x2fbe19[_0x5594c8(0x219)]||_0x5a02b7,_0x2fbe19[_0x5594c8(0x202)]=_0xb8f276[_0x5594c8(0x202)]||_0x5a02b7,_0x2fbe19[_0x5594c8(0x25d)]=_0xb8f276['hostname']['startsWith']('[')?_0xb8f276['hostname'][_0x5594c8(0x215)](0x1,-0x1):_0xb8f276[_0x5594c8(0x220)],_0x2fbe19[_0x5594c8(0x1e4)]={..._0x2fbe19[_0x5594c8(0x1e4)],'Sec-WebSocket-Version':_0x2fbe19[_0x5594c8(0x143)],'Sec-WebSocket-Key':_0x27ee41,'Connection':_0x5594c8(0xf8),'Upgrade':_0x5594c8(0x1d7)},_0x2fbe19[_0x5594c8(0xce)]=_0xb8f276[_0x5594c8(0xfb)]+_0xb8f276['search'],_0x2fbe19[_0x5594c8(0x13f)]=_0x2fbe19[_0x5594c8(0x170)],_0x2fbe19[_0x5594c8(0x251)]&&(_0x46657b=new _0x5cb1f5(_0x2fbe19[_0x5594c8(0x251)]!==!0x0?_0x2fbe19[_0x5594c8(0x251)]:{},!0x1,_0x2fbe19['maxPayload']),_0x2fbe19['headers'][_0x5594c8(0x18a)]=_0x276aeb({[_0x5cb1f5[_0x5594c8(0x1ec)]]:_0x46657b['offer']()})),_0x1d303e[_0x5594c8(0x228)]){for(const _0x471311 of _0x1d303e){if(typeof _0x471311!=_0x5594c8(0xf5)||!_0x11799b[_0x5594c8(0x1a1)](_0x471311)||_0x32643b[_0x5594c8(0x246)](_0x471311))throw new SyntaxError(_0x5594c8(0x221));_0x32643b[_0x5594c8(0x1ee)](_0x471311);}_0x2fbe19[_0x5594c8(0x1e4)][_0x5594c8(0x244)]=_0x1d303e[_0x5594c8(0x24d)](',');}if(_0x2fbe19['origin']&&(_0x2fbe19['protocolVersion']<0xd?_0x2fbe19['headers'][_0x5594c8(0xd6)]=_0x2fbe19[_0x5594c8(0x25e)]:_0x2fbe19['headers'][_0x5594c8(0x138)]=_0x2fbe19[_0x5594c8(0x25e)]),(_0xb8f276['username']||_0xb8f276[_0x5594c8(0x11b)])&&(_0x2fbe19[_0x5594c8(0xea)]=_0xb8f276[_0x5594c8(0x1cf)]+':'+_0xb8f276['password']),_0x5339f0){const _0x5dc309=_0x2fbe19[_0x5594c8(0xce)][_0x5594c8(0x12b)](':');_0x2fbe19[_0x5594c8(0x1ef)]=_0x5dc309[0x0],_0x2fbe19[_0x5594c8(0xce)]=_0x5dc309[0x1];}let _0x42ae27;if(_0x2fbe19[_0x5594c8(0x268)]){if(_0x2fe377[_0x5594c8(0x242)]===0x0){_0x2fe377[_0x5594c8(0x1e2)]=_0x5339f0,_0x2fe377['_originalSecure']=_0x311025,_0x2fe377[_0x5594c8(0xfd)]=_0x5339f0?_0x2fbe19[_0x5594c8(0x1ef)]:_0xb8f276[_0x5594c8(0x25d)];const _0x141591=_0x5557cf&&_0x5557cf['headers'];if(_0x5557cf={..._0x5557cf,'headers':{}},_0x141591){for(const [_0x16cf47,_0x21d2c6]of Object[_0x5594c8(0x25f)](_0x141591))_0x5557cf[_0x5594c8(0x1e4)][_0x16cf47[_0x5594c8(0x168)]()]=_0x21d2c6;}}else{if(_0x2fe377[_0x5594c8(0x193)](_0x5594c8(0x253))===0x0){const _0x1905e2=_0x5339f0?_0x2fe377[_0x5594c8(0x1e2)]?_0x2fbe19['socketPath']===_0x2fe377[_0x5594c8(0xfd)]:!0x1:_0x2fe377[_0x5594c8(0x1e2)]?!0x1:_0xb8f276['host']===_0x2fe377['_originalHostOrSocketPath'];(!_0x1905e2||_0x2fe377[_0x5594c8(0x154)]&&!_0x311025)&&(delete _0x2fbe19[_0x5594c8(0x1e4)]['authorization'],delete _0x2fbe19[_0x5594c8(0x1e4)][_0x5594c8(0x115)],_0x1905e2||delete _0x2fbe19[_0x5594c8(0x1e4)][_0x5594c8(0x25d)],_0x2fbe19[_0x5594c8(0xea)]=void 0x0);}}_0x2fbe19['auth']&&!_0x5557cf[_0x5594c8(0x1e4)][_0x5594c8(0x24c)]&&(_0x5557cf['headers'][_0x5594c8(0x24c)]=_0x5594c8(0xf7)+Buffer[_0x5594c8(0x25b)](_0x2fbe19[_0x5594c8(0xea)])[_0x5594c8(0x279)](_0x5594c8(0x248))),_0x42ae27=_0x2fe377[_0x5594c8(0x22c)]=_0x31f44b(_0x2fbe19),_0x2fe377[_0x5594c8(0x242)]&&_0x2fe377[_0x5594c8(0x11a)](_0x5594c8(0x253),_0x2fe377[_0x5594c8(0x14e)],_0x42ae27);}else _0x42ae27=_0x2fe377[_0x5594c8(0x22c)]=_0x31f44b(_0x2fbe19);_0x2fbe19[_0x5594c8(0x13f)]&&_0x42ae27['on'](_0x5594c8(0x13f),()=>{const _0x239af9=_0x5594c8;_0x54159c(_0x2fe377,_0x42ae27,_0x239af9(0x205));}),_0x42ae27['on'](_0x5594c8(0x270),_0x5ec9b3=>{const _0x2d6808=_0x5594c8;_0x42ae27===null||_0x42ae27[_0x3c88d9]||(_0x42ae27=_0x2fe377[_0x2d6808(0x22c)]=null,_0x5d5077(_0x2fe377,_0x5ec9b3));}),_0x42ae27['on'](_0x5594c8(0x13c),_0x44206e=>{const _0x5e979e=_0x5594c8,_0x156048=_0x44206e[_0x5e979e(0x1e4)][_0x5e979e(0x25a)],_0x23c8cf=_0x44206e[_0x5e979e(0x1c4)];if(_0x156048&&_0x2fbe19[_0x5e979e(0x268)]&&_0x23c8cf>=0x12c&&_0x23c8cf<0x190){if(++_0x2fe377[_0x5e979e(0x242)]>_0x2fbe19['maxRedirects']){_0x54159c(_0x2fe377,_0x42ae27,'Maximum\x20redirects\x20exceeded');return;}_0x42ae27[_0x5e979e(0x1d2)]();let _0x4a2a42;try{_0x4a2a42=new _0x5c9830(_0x156048,_0x1f4964);}catch{const _0x581409=new SyntaxError(_0x5e979e(0x147)+_0x156048);_0x5d5077(_0x2fe377,_0x581409);return;}_0x35e608(_0x2fe377,_0x4a2a42,_0x1d303e,_0x5557cf);}else _0x2fe377[_0x5e979e(0x11a)]('unexpected-response',_0x42ae27,_0x44206e)||_0x54159c(_0x2fe377,_0x42ae27,'Unexpected\x20server\x20response:\x20'+_0x44206e[_0x5e979e(0x1c4)]);}),_0x42ae27['on'](_0x5594c8(0x12f),(_0x27ab5b,_0x400775,_0x3ae449)=>{const _0x258b9d=_0x5594c8;if(_0x2fe377['emit'](_0x258b9d(0x12f),_0x27ab5b),_0x2fe377[_0x258b9d(0x16b)]!==_0x1562f4['CONNECTING'])return;_0x42ae27=_0x2fe377[_0x258b9d(0x22c)]=null;const _0x2ced5c=_0x27ab5b['headers']['upgrade'];if(_0x2ced5c===void 0x0||_0x2ced5c['toLowerCase']()!=='websocket'){_0x54159c(_0x2fe377,_0x400775,_0x258b9d(0x15c));return;}const _0x20d59b=_0x24cc5b('sha1')[_0x258b9d(0x225)](_0x27ee41+_0x443b99)['digest'](_0x258b9d(0x248));if(_0x27ab5b['headers'][_0x258b9d(0x171)]!==_0x20d59b){_0x54159c(_0x2fe377,_0x400775,'Invalid\x20Sec-WebSocket-Accept\x20header');return;}const _0x4a7e5e=_0x27ab5b['headers'][_0x258b9d(0x1da)];let _0xc7e7ac;if(_0x4a7e5e!==void 0x0?_0x32643b[_0x258b9d(0x1cb)]?_0x32643b[_0x258b9d(0x246)](_0x4a7e5e)||(_0xc7e7ac=_0x258b9d(0xdf)):_0xc7e7ac=_0x258b9d(0x1b1):_0x32643b[_0x258b9d(0x1cb)]&&(_0xc7e7ac='Server\x20sent\x20no\x20subprotocol'),_0xc7e7ac){_0x54159c(_0x2fe377,_0x400775,_0xc7e7ac);return;}_0x4a7e5e&&(_0x2fe377[_0x258b9d(0xf6)]=_0x4a7e5e);const _0x6a8230=_0x27ab5b[_0x258b9d(0x1e4)][_0x258b9d(0x10c)];if(_0x6a8230!==void 0x0){if(!_0x46657b){_0x54159c(_0x2fe377,_0x400775,_0x258b9d(0x11f));return;}let _0x40282a;try{_0x40282a=_0x498a6a(_0x6a8230);}catch{_0x54159c(_0x2fe377,_0x400775,_0x258b9d(0x27c));return;}const _0x37517d=Object[_0x258b9d(0x149)](_0x40282a);if(_0x37517d['length']!==0x1||_0x37517d[0x0]!==_0x5cb1f5[_0x258b9d(0x1ec)]){_0x54159c(_0x2fe377,_0x400775,_0x258b9d(0x273));return;}try{_0x46657b[_0x258b9d(0x1a8)](_0x40282a[_0x5cb1f5[_0x258b9d(0x1ec)]]);}catch{_0x54159c(_0x2fe377,_0x400775,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}_0x2fe377[_0x258b9d(0x15d)][_0x5cb1f5[_0x258b9d(0x1ec)]]=_0x46657b;}_0x2fe377[_0x258b9d(0x1eb)](_0x400775,_0x3ae449,{'allowSynchronousEvents':_0x2fbe19[_0x258b9d(0x127)],'generateMask':_0x2fbe19[_0x258b9d(0x13d)],'maxPayload':_0x2fbe19['maxPayload'],'skipUTF8Validation':_0x2fbe19[_0x258b9d(0x16d)]});}),_0x2fbe19[_0x5594c8(0x217)]?_0x2fbe19[_0x5594c8(0x217)](_0x42ae27,_0x2fe377):_0x42ae27[_0x5594c8(0x181)]();}function _0x5d5077(_0x35eac3,_0x3e6b18){const _0x557048=_0x527490;_0x35eac3['_readyState']=_0x1562f4[_0x557048(0x23e)],_0x35eac3[_0x557048(0xe5)]=!0x0,_0x35eac3['emit'](_0x557048(0x270),_0x3e6b18),_0x35eac3[_0x557048(0xdc)]();}function _0x5c3dcb(_0x4e0447){const _0x3285e0=_0x527490;return _0x4e0447[_0x3285e0(0xce)]=_0x4e0447['socketPath'],_0x24822e['connect'](_0x4e0447);}function _0x24e7ce(_0x22bbd8){const _0x47208a=_0x527490;return _0x22bbd8['path']=void 0x0,!_0x22bbd8[_0x47208a(0x189)]&&_0x22bbd8[_0x47208a(0x189)]!==''&&(_0x22bbd8['servername']=_0x24822e['isIP'](_0x22bbd8[_0x47208a(0x25d)])?'':_0x22bbd8[_0x47208a(0x25d)]),_0x3728f7[_0x47208a(0x1c2)](_0x22bbd8);}function _0x54159c(_0x321d21,_0x271f39,_0xb78eb8){const _0x5c9321=_0x527490;_0x321d21[_0x5c9321(0x267)]=_0x1562f4[_0x5c9321(0x23e)];const _0x310470=new Error(_0xb78eb8);Error[_0x5c9321(0x233)](_0x310470,_0x54159c),_0x271f39[_0x5c9321(0x1ce)]?(_0x271f39[_0x3c88d9]=!0x0,_0x271f39[_0x5c9321(0x1d2)](),_0x271f39[_0x5c9321(0x1b9)]&&!_0x271f39['socket']['destroyed']&&_0x271f39[_0x5c9321(0x1b9)]['destroy'](),process[_0x5c9321(0x22d)](_0x5d5077,_0x321d21,_0x310470)):(_0x271f39[_0x5c9321(0x122)](_0x310470),_0x271f39['once']('error',_0x321d21[_0x5c9321(0x11a)]['bind'](_0x321d21,_0x5c9321(0x270))),_0x271f39[_0x5c9321(0x114)](_0x5c9321(0x237),_0x321d21['emitClose']['bind'](_0x321d21)));}function _0x20571b(_0x5ab92a,_0x1eeff2,_0x12b4a6){const _0x1db190=_0x527490;if(_0x1eeff2){const _0x51ee35=_0x4604ed(_0x1eeff2)?_0x1eeff2[_0x1db190(0x1cb)]:_0x5d281f(_0x1eeff2)[_0x1db190(0x228)];_0x5ab92a[_0x1db190(0x120)]?_0x5ab92a['_sender'][_0x1db190(0x255)]+=_0x51ee35:_0x5ab92a[_0x1db190(0x269)]+=_0x51ee35;}if(_0x12b4a6){const _0x458a97=new Error(_0x1db190(0xfe)+_0x5ab92a[_0x1db190(0x16b)]+'\x20('+_0x4aada9[_0x5ab92a[_0x1db190(0x16b)]]+')');process[_0x1db190(0x22d)](_0x12b4a6,_0x458a97);}}function _0x152d07(_0x451041,_0x41296f){const _0x9edde1=_0x527490,_0x582800=this[_0x28ed7f];_0x582800[_0x9edde1(0x1e9)]=!0x0,_0x582800[_0x9edde1(0x125)]=_0x41296f,_0x582800[_0x9edde1(0x230)]=_0x451041,_0x582800[_0x9edde1(0x120)][_0x28ed7f]!==void 0x0&&(_0x582800['_socket']['removeListener'](_0x9edde1(0x1ed),_0x48debe),process[_0x9edde1(0x22d)](_0x837cad,_0x582800[_0x9edde1(0x120)]),_0x451041===0x3ed?_0x582800[_0x9edde1(0x237)]():_0x582800[_0x9edde1(0x237)](_0x451041,_0x41296f));}function _0x432737(){const _0x242184=_0x527490,_0x15a156=this[_0x28ed7f];_0x15a156[_0x242184(0x103)]||_0x15a156[_0x242184(0x120)][_0x242184(0xd5)]();}function _0x3885db(_0x5d581b){const _0x149435=_0x527490,_0x148374=this[_0x28ed7f];_0x148374['_socket'][_0x28ed7f]!==void 0x0&&(_0x148374['_socket'][_0x149435(0x235)]('data',_0x48debe),process['nextTick'](_0x837cad,_0x148374[_0x149435(0x120)]),_0x148374[_0x149435(0x237)](_0x5d581b[_0x4f6677])),_0x148374['_errorEmitted']||(_0x148374[_0x149435(0xe5)]=!0x0,_0x148374[_0x149435(0x11a)]('error',_0x5d581b));}function _0x2d51ac(){const _0x3cf6b9=_0x527490;this[_0x28ed7f][_0x3cf6b9(0xdc)]();}function _0x23cd64(_0x24ae28,_0x5ce822){const _0x2bf327=_0x527490;this[_0x28ed7f][_0x2bf327(0x11a)](_0x2bf327(0x22f),_0x24ae28,_0x5ce822);}function _0x488c51(_0x4554d0){const _0xbfc118=_0x527490,_0x80dc93=this[_0x28ed7f];_0x80dc93['_autoPong']&&_0x80dc93['pong'](_0x4554d0,!this[_0xbfc118(0x1a2)],_0x51101e),_0x80dc93[_0xbfc118(0x11a)](_0xbfc118(0x10e),_0x4554d0);}function _0x330841(_0x3cdab7){const _0x39d37d=_0x527490;this[_0x28ed7f][_0x39d37d(0x11a)](_0x39d37d(0xe1),_0x3cdab7);}function _0x837cad(_0x4d0497){const _0x50f49c=_0x527490;_0x4d0497[_0x50f49c(0xd5)]();}function _0x31c8be(_0x26e304){const _0x260481=_0x527490,_0x16297c=this[_0x28ed7f];_0x16297c[_0x260481(0x16b)]!==_0x1562f4[_0x260481(0x196)]&&(_0x16297c[_0x260481(0x16b)]===_0x1562f4['OPEN']&&(_0x16297c[_0x260481(0x267)]=_0x1562f4['CLOSING'],_0xa94329(_0x16297c)),this[_0x260481(0x120)][_0x260481(0x181)](),_0x16297c[_0x260481(0xe5)]||(_0x16297c[_0x260481(0xe5)]=!0x0,_0x16297c[_0x260481(0x11a)](_0x260481(0x270),_0x26e304)));}function _0xa94329(_0x8cd619){const _0x3fe9be=_0x527490;_0x8cd619[_0x3fe9be(0x1d0)]=setTimeout(_0x8cd619[_0x3fe9be(0x120)][_0x3fe9be(0x122)][_0x3fe9be(0x151)](_0x8cd619[_0x3fe9be(0x120)]),_0x2f3008);}function _0xf4dc58(){const _0x2f7810=_0x527490,_0x39a797=this[_0x28ed7f];this['removeListener'](_0x2f7810(0x237),_0xf4dc58),this[_0x2f7810(0x235)](_0x2f7810(0x1ed),_0x48debe),this[_0x2f7810(0x235)]('end',_0x4c6138),_0x39a797[_0x2f7810(0x267)]=_0x1562f4['CLOSING'];let _0x497180;!this[_0x2f7810(0x159)]['endEmitted']&&!_0x39a797['_closeFrameReceived']&&!_0x39a797['_receiver']['_writableState'][_0x2f7810(0x18e)]&&(_0x497180=_0x39a797[_0x2f7810(0x120)][_0x2f7810(0xd2)]())!==null&&_0x39a797[_0x2f7810(0x17c)][_0x2f7810(0x133)](_0x497180),_0x39a797[_0x2f7810(0x17c)][_0x2f7810(0x181)](),this[_0x28ed7f]=void 0x0,clearTimeout(_0x39a797[_0x2f7810(0x1d0)]),_0x39a797['_receiver'][_0x2f7810(0x194)]['finished']||_0x39a797['_receiver'][_0x2f7810(0x194)][_0x2f7810(0x18e)]?_0x39a797[_0x2f7810(0xdc)]():(_0x39a797['_receiver']['on'](_0x2f7810(0x270),_0x2d51ac),_0x39a797['_receiver']['on'](_0x2f7810(0xdb),_0x2d51ac));}function _0x48debe(_0x4c9d4c){const _0x2db5da=_0x527490;this[_0x28ed7f][_0x2db5da(0x17c)][_0x2db5da(0x133)](_0x4c9d4c)||this[_0x2db5da(0x247)]();}function _0x4c6138(){const _0x57b0b0=_0x527490,_0x4c74a3=this[_0x28ed7f];_0x4c74a3[_0x57b0b0(0x267)]=_0x1562f4[_0x57b0b0(0x23e)],_0x4c74a3[_0x57b0b0(0x17c)][_0x57b0b0(0x181)](),this['end']();}function _0x3528d7(){const _0x43c5ca=_0x527490,_0x49ea63=this[_0x28ed7f];this[_0x43c5ca(0x235)](_0x43c5ca(0x270),_0x3528d7),this['on']('error',_0x51101e),_0x49ea63&&(_0x49ea63['_readyState']=_0x1562f4[_0x43c5ca(0x23e)],this[_0x43c5ca(0x122)]());}return we;}var Oe,rt;function Yt(){if(rt)return Oe;rt=0x1,Be();const {Duplex:_0x14dc2f}=_0xc0bc2f;function _0xcf633(_0x56a203){const _0x403867=_0x59e2;_0x56a203['emit'](_0x403867(0x237));}function _0x2cf652(){const _0x744772=_0x59e2;!this['destroyed']&&this[_0x744772(0x194)][_0x744772(0x12c)]&&this[_0x744772(0x122)]();}function _0x808b4e(_0x354391){const _0x43f1f9=_0x59e2;this[_0x43f1f9(0x235)](_0x43f1f9(0x270),_0x808b4e),this[_0x43f1f9(0x122)](),this[_0x43f1f9(0x193)](_0x43f1f9(0x270))===0x0&&this[_0x43f1f9(0x11a)]('error',_0x354391);}function _0x1143bd(_0x4edc44,_0x525522){const _0x33ac1b=_0x59e2;let _0x2f6ee2=!0x0;const _0x9f6bf=new _0x14dc2f({..._0x525522,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x4edc44['on']('message',function(_0x219639,_0x951d31){const _0x3a395e=_0x59e2,_0x3a4ca8=!_0x951d31&&_0x9f6bf['_readableState'][_0x3a395e(0xfc)]?_0x219639[_0x3a395e(0x279)]():_0x219639;_0x9f6bf[_0x3a395e(0x14d)](_0x3a4ca8)||_0x4edc44[_0x3a395e(0x247)]();}),_0x4edc44[_0x33ac1b(0x114)]('error',function(_0x3abf1f){const _0x3f7043=_0x33ac1b;_0x9f6bf['destroyed']||(_0x2f6ee2=!0x1,_0x9f6bf[_0x3f7043(0x122)](_0x3abf1f));}),_0x4edc44['once']('close',function(){const _0x1b7bc9=_0x33ac1b;_0x9f6bf[_0x1b7bc9(0x130)]||_0x9f6bf[_0x1b7bc9(0x14d)](null);}),_0x9f6bf['_destroy']=function(_0x2142e7,_0x39207b){const _0x4d7d67=_0x33ac1b;if(_0x4edc44[_0x4d7d67(0x16b)]===_0x4edc44[_0x4d7d67(0x196)]){_0x39207b(_0x2142e7),process[_0x4d7d67(0x22d)](_0xcf633,_0x9f6bf);return;}let _0x5c6e0c=!0x1;_0x4edc44[_0x4d7d67(0x114)](_0x4d7d67(0x270),function(_0x9d58ae){_0x5c6e0c=!0x0,_0x39207b(_0x9d58ae);}),_0x4edc44['once'](_0x4d7d67(0x237),function(){_0x5c6e0c||_0x39207b(_0x2142e7),process['nextTick'](_0xcf633,_0x9f6bf);}),_0x2f6ee2&&_0x4edc44[_0x4d7d67(0x223)]();},_0x9f6bf[_0x33ac1b(0x1ba)]=function(_0xbe9492){const _0x1a8ba4=_0x33ac1b;if(_0x4edc44[_0x1a8ba4(0x16b)]===_0x4edc44[_0x1a8ba4(0x1c0)]){_0x4edc44['once']('open',function(){const _0x5e22ba=_0x1a8ba4;_0x9f6bf[_0x5e22ba(0x1ba)](_0xbe9492);});return;}_0x4edc44[_0x1a8ba4(0x120)]!==null&&(_0x4edc44[_0x1a8ba4(0x120)][_0x1a8ba4(0x194)]['finished']?(_0xbe9492(),_0x9f6bf['_readableState'][_0x1a8ba4(0xee)]&&_0x9f6bf['destroy']()):(_0x4edc44['_socket']['once']('finish',function(){_0xbe9492();}),_0x4edc44[_0x1a8ba4(0x237)]()));},_0x9f6bf['_read']=function(){const _0x37efec=_0x33ac1b;_0x4edc44[_0x37efec(0x103)]&&_0x4edc44[_0x37efec(0xd5)]();},_0x9f6bf[_0x33ac1b(0x1e3)]=function(_0x5166d2,_0x2a2733,_0x2e4257){const _0x1a3cfb=_0x33ac1b;if(_0x4edc44[_0x1a3cfb(0x16b)]===_0x4edc44[_0x1a3cfb(0x1c0)]){_0x4edc44[_0x1a3cfb(0x114)](_0x1a3cfb(0x265),function(){const _0x24f758=_0x1a3cfb;_0x9f6bf[_0x24f758(0x1e3)](_0x5166d2,_0x2a2733,_0x2e4257);});return;}_0x4edc44[_0x1a3cfb(0x12e)](_0x5166d2,_0x2e4257);},_0x9f6bf['on'](_0x33ac1b(0x181),_0x2cf652),_0x9f6bf['on'](_0x33ac1b(0x270),_0x808b4e),_0x9f6bf;}return Oe=_0x1143bd,Oe;}Yt(),ht(),ut();var Kt=Be();const Xt=Wt(Kt);var Ce,st;function Zt(){if(st)return Ce;st=0x1;const {tokenChars:_0x4cfe89}=ie();function _0x5a6d2e(_0x55fc73){const _0x5ec14b=_0x59e2,_0x55efeb=new Set();let _0x2cdaac=-0x1,_0x4d3d94=-0x1,_0x478356=0x0;for(_0x478356;_0x478356<_0x55fc73[_0x5ec14b(0x228)];_0x478356++){const _0x1aa9cd=_0x55fc73[_0x5ec14b(0xe3)](_0x478356);if(_0x4d3d94===-0x1&&_0x4cfe89[_0x1aa9cd]===0x1)_0x2cdaac===-0x1&&(_0x2cdaac=_0x478356);else{if(_0x478356!==0x0&&(_0x1aa9cd===0x20||_0x1aa9cd===0x9))_0x4d3d94===-0x1&&_0x2cdaac!==-0x1&&(_0x4d3d94=_0x478356);else{if(_0x1aa9cd===0x2c){if(_0x2cdaac===-0x1)throw new SyntaxError(_0x5ec14b(0x1b5)+_0x478356);_0x4d3d94===-0x1&&(_0x4d3d94=_0x478356);const _0x3ea98a=_0x55fc73['slice'](_0x2cdaac,_0x4d3d94);if(_0x55efeb[_0x5ec14b(0x246)](_0x3ea98a))throw new SyntaxError(_0x5ec14b(0x227)+_0x3ea98a+_0x5ec14b(0x1e6));_0x55efeb[_0x5ec14b(0x1ee)](_0x3ea98a),_0x2cdaac=_0x4d3d94=-0x1;}else throw new SyntaxError(_0x5ec14b(0x1b5)+_0x478356);}}}if(_0x2cdaac===-0x1||_0x4d3d94!==-0x1)throw new SyntaxError('Unexpected\x20end\x20of\x20input');const _0x547936=_0x55fc73[_0x5ec14b(0x215)](_0x2cdaac,_0x478356);if(_0x55efeb[_0x5ec14b(0x246)](_0x547936))throw new SyntaxError(_0x5ec14b(0x227)+_0x547936+_0x5ec14b(0x1e6));return _0x55efeb['add'](_0x547936),_0x55efeb;}return Ce={'parse':_0x5a6d2e},Ce;}var Te,it;function Qt(){const _0x32abcf=_0x2b5109;if(it)return Te;it=0x1;const _0x578750=_0x32ca21,_0x484cd8=_0x14a6c3,{Duplex:_0x267d5c}=_0xc0bc2f,{createHash:_0x55bdc4}=_0x572ea6,_0x455241=dt(),_0x1539a5=ce(),_0x14c3b1=Zt(),_0x17be2c=Be(),{GUID:_0x355232,kWebSocket:_0x310698}=V(),_0x24a7b4=/^[+/0-9A-Za-z]{22}==$/,_0x28e1c1=0x0,_0x2dcb02=0x1,_0x4c88c5=0x2;class _0x199434 extends _0x578750{constructor(_0x3e9011,_0x4d915e){const _0x49ec0a=_0x59e2;if(super(),_0x3e9011={'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':_0x17be2c,..._0x3e9011},_0x3e9011[_0x49ec0a(0x202)]==null&&!_0x3e9011[_0x49ec0a(0x1c3)]&&!_0x3e9011[_0x49ec0a(0x173)]||_0x3e9011['port']!=null&&(_0x3e9011[_0x49ec0a(0x1c3)]||_0x3e9011[_0x49ec0a(0x173)])||_0x3e9011[_0x49ec0a(0x1c3)]&&_0x3e9011[_0x49ec0a(0x173)])throw new TypeError(_0x49ec0a(0x207));if(_0x3e9011[_0x49ec0a(0x202)]!=null?(this[_0x49ec0a(0x11c)]=_0x484cd8[_0x49ec0a(0x238)]((_0x441b99,_0x1a181b)=>{const _0x294192=_0x49ec0a,_0x3a3e30=_0x484cd8[_0x294192(0x1a5)][0x1aa];_0x1a181b[_0x294192(0x197)](0x1aa,{'Content-Length':_0x3a3e30[_0x294192(0x228)],'Content-Type':_0x294192(0x21c)}),_0x1a181b[_0x294192(0x181)](_0x3a3e30);}),this[_0x49ec0a(0x11c)][_0x49ec0a(0x15f)](_0x3e9011[_0x49ec0a(0x202)],_0x3e9011['host'],_0x3e9011[_0x49ec0a(0x1c7)],_0x4d915e)):_0x3e9011['server']&&(this[_0x49ec0a(0x11c)]=_0x3e9011[_0x49ec0a(0x1c3)]),this['_server']){const _0x31020b=this[_0x49ec0a(0x11a)][_0x49ec0a(0x151)](this,_0x49ec0a(0x165));this[_0x49ec0a(0x144)]=_0x5adf89(this['_server'],{'listening':this[_0x49ec0a(0x11a)][_0x49ec0a(0x151)](this,_0x49ec0a(0x186)),'error':this[_0x49ec0a(0x11a)][_0x49ec0a(0x151)](this,_0x49ec0a(0x270)),'upgrade':(_0x4c7147,_0x45f8d8,_0x2d0c49)=>{const _0x1247b8=_0x49ec0a;this[_0x1247b8(0x12d)](_0x4c7147,_0x45f8d8,_0x2d0c49,_0x31020b);}});}_0x3e9011[_0x49ec0a(0x251)]===!0x0&&(_0x3e9011['perMessageDeflate']={}),_0x3e9011[_0x49ec0a(0x274)]&&(this[_0x49ec0a(0x155)]=new Set(),this['_shouldEmitClose']=!0x1),this[_0x49ec0a(0x161)]=_0x3e9011,this['_state']=_0x28e1c1;}[_0x32abcf(0x1ac)](){const _0x4c9689=_0x32abcf;if(this[_0x4c9689(0x161)]['noServer'])throw new Error(_0x4c9689(0xf2));return this[_0x4c9689(0x11c)]?this['_server']['address']():null;}['close'](_0x20704a){const _0x2ec054=_0x32abcf;if(this[_0x2ec054(0x112)]===_0x4c88c5){_0x20704a&&this[_0x2ec054(0x114)](_0x2ec054(0x237),()=>{_0x20704a(new Error('The\x20server\x20is\x20not\x20running'));}),process[_0x2ec054(0x22d)](_0x44c007,this);return;}if(_0x20704a&&this[_0x2ec054(0x114)]('close',_0x20704a),this['_state']!==_0x2dcb02){if(this[_0x2ec054(0x112)]=_0x2dcb02,this[_0x2ec054(0x161)][_0x2ec054(0x173)]||this['options'][_0x2ec054(0x1c3)])this[_0x2ec054(0x11c)]&&(this[_0x2ec054(0x144)](),this['_removeListeners']=this[_0x2ec054(0x11c)]=null),this['clients']?this[_0x2ec054(0x155)][_0x2ec054(0x1cb)]?this['_shouldEmitClose']=!0x0:process[_0x2ec054(0x22d)](_0x44c007,this):process[_0x2ec054(0x22d)](_0x44c007,this);else{const _0x4c2bfb=this[_0x2ec054(0x11c)];this[_0x2ec054(0x144)](),this[_0x2ec054(0x144)]=this[_0x2ec054(0x11c)]=null,_0x4c2bfb[_0x2ec054(0x237)](()=>{_0x44c007(this);});}}}['shouldHandle'](_0x40dfc2){const _0x2a9540=_0x32abcf;if(this[_0x2a9540(0x161)][_0x2a9540(0xce)]){const _0x404056=_0x40dfc2[_0x2a9540(0x14e)]['indexOf']('?');if((_0x404056!==-0x1?_0x40dfc2[_0x2a9540(0x14e)][_0x2a9540(0x215)](0x0,_0x404056):_0x40dfc2['url'])!==this['options']['path'])return!0x1;}return!0x0;}[_0x32abcf(0x12d)](_0x3a0122,_0x21bea7,_0x18f4c3,_0x4b03f7){const _0x2d0ce3=_0x32abcf;_0x21bea7['on'](_0x2d0ce3(0x270),_0x51f899);const _0x1e729f=_0x3a0122[_0x2d0ce3(0x1e4)][_0x2d0ce3(0x13b)],_0x1d5294=_0x3a0122[_0x2d0ce3(0x1e4)]['upgrade'],_0x2f295e=+_0x3a0122[_0x2d0ce3(0x1e4)][_0x2d0ce3(0x10f)];if(_0x3a0122[_0x2d0ce3(0x187)]!=='GET'){_0xf64a6a(this,_0x3a0122,_0x21bea7,0x195,'Invalid\x20HTTP\x20method');return;}if(_0x1d5294===void 0x0||_0x1d5294[_0x2d0ce3(0x168)]()!==_0x2d0ce3(0x1d7)){_0xf64a6a(this,_0x3a0122,_0x21bea7,0x190,_0x2d0ce3(0x15c));return;}if(_0x1e729f===void 0x0||!_0x24a7b4['test'](_0x1e729f)){_0xf64a6a(this,_0x3a0122,_0x21bea7,0x190,_0x2d0ce3(0x1c5));return;}if(_0x2f295e!==0xd&&_0x2f295e!==0x8){_0xf64a6a(this,_0x3a0122,_0x21bea7,0x190,_0x2d0ce3(0x1c8),{'Sec-WebSocket-Version':'13,\x208'});return;}if(!this[_0x2d0ce3(0xef)](_0x3a0122)){_0x2bd6af(_0x21bea7,0x190);return;}const _0x33314a=_0x3a0122[_0x2d0ce3(0x1e4)]['sec-websocket-protocol'];let _0x2c363c=new Set();if(_0x33314a!==void 0x0)try{_0x2c363c=_0x14c3b1[_0x2d0ce3(0xda)](_0x33314a);}catch{_0xf64a6a(this,_0x3a0122,_0x21bea7,0x190,'Invalid\x20Sec-WebSocket-Protocol\x20header');return;}const _0x462c0c=_0x3a0122[_0x2d0ce3(0x1e4)][_0x2d0ce3(0x10c)],_0x3544b1={};if(this[_0x2d0ce3(0x161)][_0x2d0ce3(0x251)]&&_0x462c0c!==void 0x0){const _0x239712=new _0x1539a5(this[_0x2d0ce3(0x161)][_0x2d0ce3(0x251)],!0x0,this[_0x2d0ce3(0x161)]['maxPayload']);try{const _0x5ad83d=_0x455241['parse'](_0x462c0c);_0x5ad83d[_0x1539a5[_0x2d0ce3(0x1ec)]]&&(_0x239712[_0x2d0ce3(0x1a8)](_0x5ad83d[_0x1539a5['extensionName']]),_0x3544b1[_0x1539a5[_0x2d0ce3(0x1ec)]]=_0x239712);}catch{_0xf64a6a(this,_0x3a0122,_0x21bea7,0x190,_0x2d0ce3(0x241));return;}}if(this[_0x2d0ce3(0x161)]['verifyClient']){const _0x3ab1b9={'origin':_0x3a0122[_0x2d0ce3(0x1e4)][''+(_0x2f295e===0x8?_0x2d0ce3(0x1c1):'origin')],'secure':!!(_0x3a0122[_0x2d0ce3(0x1b9)][_0x2d0ce3(0xe8)]||_0x3a0122[_0x2d0ce3(0x1b9)][_0x2d0ce3(0x1a0)]),'req':_0x3a0122};if(this[_0x2d0ce3(0x161)][_0x2d0ce3(0x1cc)]['length']===0x2){this[_0x2d0ce3(0x161)]['verifyClient'](_0x3ab1b9,(_0x19c5e1,_0x2a7d2,_0x2d6ec2,_0x2c69b7)=>{const _0x301593=_0x2d0ce3;if(!_0x19c5e1)return _0x2bd6af(_0x21bea7,_0x2a7d2||0x191,_0x2d6ec2,_0x2c69b7);this[_0x301593(0x102)](_0x3544b1,_0x1e729f,_0x2c363c,_0x3a0122,_0x21bea7,_0x18f4c3,_0x4b03f7);});return;}if(!this[_0x2d0ce3(0x161)]['verifyClient'](_0x3ab1b9))return _0x2bd6af(_0x21bea7,0x191);}this[_0x2d0ce3(0x102)](_0x3544b1,_0x1e729f,_0x2c363c,_0x3a0122,_0x21bea7,_0x18f4c3,_0x4b03f7);}[_0x32abcf(0x102)](_0x2cc0ee,_0x3f0814,_0x4ef470,_0x37ae37,_0x65cf12,_0x2f4648,_0x1f884a){const _0x11e275=_0x32abcf;if(!_0x65cf12[_0x11e275(0x258)]||!_0x65cf12[_0x11e275(0x110)])return _0x65cf12[_0x11e275(0x122)]();if(_0x65cf12[_0x310698])throw new Error(_0x11e275(0x210));if(this[_0x11e275(0x112)]>_0x28e1c1)return _0x2bd6af(_0x65cf12,0x1f7);const _0x35fd95=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0x11e275(0x176),_0x11e275(0x14c),_0x11e275(0x1fc)+_0x55bdc4('sha1')[_0x11e275(0x225)](_0x3f0814+_0x355232)[_0x11e275(0x222)](_0x11e275(0x248))],_0x2c9997=new this[(_0x11e275(0x161))][(_0x11e275(0x26b))](null,void 0x0,this['options']);if(_0x4ef470[_0x11e275(0x1cb)]){const _0x2f7317=this['options']['handleProtocols']?this[_0x11e275(0x161)][_0x11e275(0x162)](_0x4ef470,_0x37ae37):_0x4ef470[_0x11e275(0x1d4)]()[_0x11e275(0x1ca)]()[_0x11e275(0x157)];_0x2f7317&&(_0x35fd95[_0x11e275(0x14d)](_0x11e275(0x271)+_0x2f7317),_0x2c9997[_0x11e275(0xf6)]=_0x2f7317);}if(_0x2cc0ee[_0x1539a5[_0x11e275(0x1ec)]]){const _0x5c55a6=_0x2cc0ee[_0x1539a5[_0x11e275(0x1ec)]]['params'],_0x474444=_0x455241[_0x11e275(0x257)]({[_0x1539a5[_0x11e275(0x1ec)]]:[_0x5c55a6]});_0x35fd95[_0x11e275(0x14d)](_0x11e275(0x101)+_0x474444),_0x2c9997[_0x11e275(0x15d)]=_0x2cc0ee;}this[_0x11e275(0x11a)](_0x11e275(0x1e4),_0x35fd95,_0x37ae37),_0x65cf12[_0x11e275(0x133)](_0x35fd95[_0x11e275(0x1e1)]('\x0d\x0a')[_0x11e275(0x24d)]('\x0d\x0a')),_0x65cf12['removeListener'](_0x11e275(0x270),_0x51f899),_0x2c9997[_0x11e275(0x1eb)](_0x65cf12,_0x2f4648,{'allowSynchronousEvents':this[_0x11e275(0x161)][_0x11e275(0x127)],'maxPayload':this['options'][_0x11e275(0x1fa)],'skipUTF8Validation':this[_0x11e275(0x161)]['skipUTF8Validation']}),this[_0x11e275(0x155)]&&(this[_0x11e275(0x155)][_0x11e275(0x1ee)](_0x2c9997),_0x2c9997['on'](_0x11e275(0x237),()=>{const _0x496ad5=_0x11e275;this[_0x496ad5(0x155)]['delete'](_0x2c9997),this[_0x496ad5(0x234)]&&!this[_0x496ad5(0x155)][_0x496ad5(0x1cb)]&&process[_0x496ad5(0x22d)](_0x44c007,this);})),_0x1f884a(_0x2c9997,_0x37ae37);}}Te=_0x199434;function _0x5adf89(_0x18a184,_0x530004){const _0x41c764=_0x32abcf;for(const _0xec9e0a of Object[_0x41c764(0x149)](_0x530004))_0x18a184['on'](_0xec9e0a,_0x530004[_0xec9e0a]);return function(){const _0x8c76d=_0x41c764;for(const _0x587857 of Object['keys'](_0x530004))_0x18a184[_0x8c76d(0x235)](_0x587857,_0x530004[_0x587857]);};}function _0x44c007(_0x677212){const _0x4b4d0d=_0x32abcf;_0x677212['_state']=_0x4c88c5,_0x677212[_0x4b4d0d(0x11a)](_0x4b4d0d(0x237));}function _0x51f899(){const _0x532369=_0x32abcf;this[_0x532369(0x122)]();}function _0x2bd6af(_0x25352f,_0x1c0395,_0x2a50fb,_0x44ce4d){const _0xfcbedb=_0x32abcf;_0x2a50fb=_0x2a50fb||_0x484cd8[_0xfcbedb(0x1a5)][_0x1c0395],_0x44ce4d={'Connection':_0xfcbedb(0x237),'Content-Type':_0xfcbedb(0x17a),'Content-Length':Buffer[_0xfcbedb(0x1f1)](_0x2a50fb),..._0x44ce4d},_0x25352f[_0xfcbedb(0x114)](_0xfcbedb(0xdb),_0x25352f[_0xfcbedb(0x122)]),_0x25352f[_0xfcbedb(0x181)](_0xfcbedb(0x10b)+_0x1c0395+'\x20'+_0x484cd8[_0xfcbedb(0x1a5)][_0x1c0395]+'\x0d\x0a'+Object[_0xfcbedb(0x149)](_0x44ce4d)[_0xfcbedb(0x261)](_0x4bdfeb=>_0x4bdfeb+':\x20'+_0x44ce4d[_0x4bdfeb])[_0xfcbedb(0x24d)]('\x0d\x0a')+'\x0d\x0a\x0d\x0a'+_0x2a50fb);}function _0xf64a6a(_0xcd4f75,_0x1489e9,_0x1a72a5,_0x5e097e,_0x37d8e5,_0x4b1a28){const _0x360952=_0x32abcf;if(_0xcd4f75[_0x360952(0x193)](_0x360952(0x276))){const _0x2809b8=new Error(_0x37d8e5);Error[_0x360952(0x233)](_0x2809b8,_0xf64a6a),_0xcd4f75[_0x360952(0x11a)](_0x360952(0x276),_0x2809b8,_0x1a72a5,_0x1489e9);}else _0x2bd6af(_0x1a72a5,_0x5e097e,_0x37d8e5,_0x4b1a28);}return Te;}Qt();var Jt=Object[_0x2b5109(0x1fe)],er=(_0x3a262c,_0x1eb515,_0x3e6609,_0x27ae30)=>{for(var _0x482fd3=_0x27ae30>0x1?void 0x0:_0x27ae30?Jt(_0x1eb515,_0x3e6609):_0x1eb515,_0x39f439=_0x3a262c['length']-0x1,_0xf62513;_0x39f439>=0x0;_0x39f439--)(_0xf62513=_0x3a262c[_0x39f439])&&(_0x482fd3=_0xf62513(_0x482fd3)||_0x482fd3);return _0x482fd3;},tr=(_0x5b0c1d,_0x195db3)=>(_0x5c03d8,_0x3e837c)=>_0x195db3(_0x5c03d8,_0x3e837c,_0x5b0c1d);let ke=class extends _0x36616a{constructor(_0x801b5f){const _0x2f73eb=_0x2b5109;super(),this[_0x2f73eb(0x224)]=_0x801b5f;}[_0x2b5109(0x199)](_0x111b0e){const _0x18c8f6=_0x2b5109;var _0x111b3a;const _0x2f69a1=((_0x111b3a=this[_0x18c8f6(0x224)][_0x18c8f6(0x21a)](_0x3cb9aa))==null?void 0x0:_0x111b3a['customHeaders'])||{};try{const _0x1658ef=new Xt(_0x111b0e,{'headers':{..._0x2f69a1}}),_0x1b8d39=new _0x2758cc();return{'URL':_0x111b0e,'close':(_0x4105cf,_0x504b6c)=>{const _0xbc3dba=_0x18c8f6;_0x1658ef[_0xbc3dba(0x237)](_0x4105cf,_0x504b6c),_0x1b8d39[_0xbc3dba(0x1b3)]();},'send':_0x727e87=>{const _0x466e3a=_0x18c8f6;_0x1658ef[_0x466e3a(0x12e)](_0x727e87);},'open$':new _0x4fe831(_0x2c384c=>{const _0x53e7e9=_0x18c8f6,_0x557c65=_0x3d6b88=>_0x2c384c[_0x53e7e9(0x1ca)](_0x3d6b88);_0x1658ef[_0x53e7e9(0x152)]('open',_0x557c65),_0x1b8d39[_0x53e7e9(0x1ee)](_0x2e40c2(()=>_0x1658ef[_0x53e7e9(0x18f)](_0x53e7e9(0x265),_0x557c65)));})[_0x18c8f6(0x260)](_0x2c7369()),'close$':new _0x4fe831(_0xdd232a=>{const _0x3f45f7=_0x18c8f6,_0x55668b=_0x3a25bb=>_0xdd232a[_0x3f45f7(0x1ca)](_0x3a25bb);_0x1658ef[_0x3f45f7(0x152)](_0x3f45f7(0x237),_0x55668b),_0x1b8d39['add'](_0x2e40c2(()=>_0x1658ef[_0x3f45f7(0x18f)](_0x3f45f7(0x237),_0x55668b)));})[_0x18c8f6(0x260)](_0x2c7369()),'error$':new _0x4fe831(_0x516f45=>{const _0x4336f9=_0x18c8f6,_0x2b898c=_0x544e0a=>_0x516f45[_0x4336f9(0x1ca)](_0x544e0a);_0x1658ef[_0x4336f9(0x152)](_0x4336f9(0x270),_0x2b898c),_0x1b8d39['add'](_0x2e40c2(()=>_0x1658ef[_0x4336f9(0x18f)](_0x4336f9(0x270),_0x2b898c)));})[_0x18c8f6(0x260)](_0x2c7369()),'message$':new _0x4fe831(_0x11450f=>{const _0x2adfb4=_0x18c8f6,_0x1a77a7=_0xc0a8b9=>_0x11450f[_0x2adfb4(0x1ca)](_0xc0a8b9);_0x1658ef[_0x2adfb4(0x152)](_0x2adfb4(0x22f),_0x1a77a7),_0x1b8d39['add'](_0x2e40c2(()=>_0x1658ef['removeEventListener'](_0x2adfb4(0x22f),_0x1a77a7)));})[_0x18c8f6(0x260)](_0x2c7369())};}catch(_0x19905f){return console[_0x18c8f6(0x270)](_0x19905f),null;}}};ke=er([tr(0x0,_0x201c2f)],ke);var rr=Object[_0x2b5109(0xde)],sr=Object[_0x2b5109(0x1fe)],ir=(_0x224281,_0x16e9e3,_0x4144df)=>_0x16e9e3 in _0x224281?rr(_0x224281,_0x16e9e3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4144df}):_0x224281[_0x16e9e3]=_0x4144df,nr=(_0x2577fa,_0x7e5709,_0x3ecd93,_0x322d41)=>{const _0x3d99b0=_0x2b5109;for(var _0x9a8147=_0x322d41>0x1?void 0x0:_0x322d41?sr(_0x7e5709,_0x3ecd93):_0x7e5709,_0x584568=_0x2577fa[_0x3d99b0(0x228)]-0x1,_0x126816;_0x584568>=0x0;_0x584568--)(_0x126816=_0x2577fa[_0x584568])&&(_0x9a8147=_0x126816(_0x9a8147)||_0x9a8147);return _0x9a8147;},nt=(_0x191a20,_0x4f9738)=>(_0x4ab4e3,_0x7d06df)=>_0x4f9738(_0x4ab4e3,_0x7d06df,_0x191a20),or=(_0x22a9a8,_0x4af709,_0xa73803)=>ir(_0x22a9a8,_0x4af709+'',_0xa73803);let Ne=class extends _0x2cc2f1{constructor(_0x245060=Ft,_0x1bc80c,_0x958f54){const _0x147a49=_0x2b5109;super(),this[_0x147a49(0x224)]=_0x1bc80c,this[_0x147a49(0x259)]=_0x958f54,this[_0x147a49(0x224)][_0x147a49(0x1a4)]($t,_0x245060);}[_0x2b5109(0x1d9)](){const _0x42ed82=_0x2b5109;this[_0x42ed82(0x1bd)]();}['_registerDependencies'](){const _0x2f5a2e=_0x2b5109;_0x215cc3(this[_0x2f5a2e(0x259)],[[_0x16a40e,{'useClass':ke}]]);}};or(Ne,_0x2b5109(0x1f2),_0x2b5109(0x136)),Ne=nr([_0x3259dd(_0x2e630e),nt(0x1,_0x201c2f),nt(0x2,_0xae5a1c(_0xcb414c))],Ne);var ar=Object[_0x2b5109(0x1fe)],lr=(_0x2edace,_0x471495,_0x594761,_0x5a74b1)=>{const _0x5cb672=_0x2b5109;for(var _0x53d67e=_0x5a74b1>0x1?void 0x0:_0x5a74b1?ar(_0x471495,_0x594761):_0x471495,_0x5adadb=_0x2edace[_0x5cb672(0x228)]-0x1,_0x5aa689;_0x5adadb>=0x0;_0x5adadb--)(_0x5aa689=_0x2edace[_0x5adadb])&&(_0x53d67e=_0x5aa689(_0x53d67e)||_0x53d67e);return _0x53d67e;},re=(_0x27d467,_0x1f05fe)=>(_0x423f1d,_0x2e6916)=>_0x1f05fe(_0x423f1d,_0x2e6916,_0x27d467);let ot=class extends _0x297464{constructor(_0x2f25ad,_0x42ae45,_0x5a5bf6,_0xa29db3,_0x1b91fc){const _0xe49262=_0x2b5109;super(_0x2f25ad,_0x42ae45,_0x5a5bf6,_0xa29db3,_0x1b91fc);const _0x4490a8=this[_0xe49262(0x224)][_0xe49262(0x21a)](_0x3cb9aa);this[_0xe49262(0x1d5)]['registerHTTPInterceptor']({'interceptor':(_0x4f0110,_0x33cad5)=>{const _0x425c00=_0xe49262;var _0x4a0546;const _0x53559a=_0x4f0110[_0x425c00(0x1e4)];return(_0x4a0546=_0x4490a8==null?void 0x0:_0x4490a8[_0x425c00(0x203)])!=null&&_0x4a0546[_0x425c00(0x115)]&&_0x53559a[_0x425c00(0xe7)](_0x425c00(0x17f),_0x4490a8[_0x425c00(0x203)][_0x425c00(0x115)]),_0x33cad5(_0x4f0110);}});}async['createSocket'](_0x5f085b){const _0x504e20=_0x2b5109;return this[_0x504e20(0x124)](_0x5f085b);}};ot=lr([re(0x0,_0xae5a1c(_0xcb414c)),re(0x1,_0xae5a1c(_0x7c4dea)),re(0x2,_0x201c2f),re(0x3,_0xa71197),re(0x4,_0x18603c)],ot);export{$t as COLLABORATION_CLIENT_NODE_CONFIG_KEY,ot as NodeCollaborationSocketService,Ne as UniverCollaborationClientNodePlugin};