@univerjs-pro/collaboration-client-node 0.10.14-nightly.202511080715 → 0.11.0-nightly.202511151013

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/index.js CHANGED
@@ -1 +1 @@
1
- const _0xf7eb09=_0x2a36;(function(_0x31b855,_0x49303f){const _0x13b65b=_0x2a36,_0x420ff9=_0x31b855();while(!![]){try{const _0x3f7e98=parseInt(_0x13b65b(0x259))/0x1+parseInt(_0x13b65b(0x1c4))/0x2*(-parseInt(_0x13b65b(0x25c))/0x3)+parseInt(_0x13b65b(0x298))/0x4*(-parseInt(_0x13b65b(0x13f))/0x5)+-parseInt(_0x13b65b(0x256))/0x6*(parseInt(_0x13b65b(0x23d))/0x7)+-parseInt(_0x13b65b(0x244))/0x8*(-parseInt(_0x13b65b(0x2ab))/0x9)+-parseInt(_0x13b65b(0x22c))/0xa+parseInt(_0x13b65b(0x261))/0xb;if(_0x3f7e98===_0x49303f)break;else _0x420ff9['push'](_0x420ff9['shift']());}catch(_0x4cf682){_0x420ff9['push'](_0x420ff9['shift']());}}}(_0x14cf,0xd92a4));import{UniverCollaborationClientPlugin as _0x557109,CollaborationSocketService as _0x35feb4}from'@univerjs-pro/collaboration-client';import{Disposable as _0x11032c,DisposableCollection as _0x2cdf21,toDisposable as _0x2828ac,IConfigService as _0x32d527,DependentOn as _0x2494f4,ILogService as _0x5becdf,Inject as _0x322627,Injector as _0x10dcce,Plugin as _0x366db9,registerDependencies as _0x3d3330}from'@univerjs/core';import{ISocketService as _0x417f0b,HTTPService as _0xa584b}from'@univerjs/network';import{Observable as _0x523e61,share as _0x52bfaa}from'rxjs';import _0x42d902 from'events';import _0x4d87d3 from'https';import _0x244b75 from'http';import _0x5444d5 from'net';import _0x574d6b from'tls';import _0x18e394 from'crypto';import _0x1c53b5 from'stream';import _0x2bd41c from'url';import _0x20c97f from'zlib';import _0x30ec7d from'buffer';import{ISnapshotServerService as _0xb9b99e}from'@univerjs-pro/collaboration';const Be=_0xf7eb09(0x1c0),Ft={'customHeaders':{}};function Wt(_0x261493){const _0x3e4f2b=_0xf7eb09;return _0x261493&&_0x261493[_0x3e4f2b(0x2d5)]&&Object[_0x3e4f2b(0x218)][_0x3e4f2b(0x22d)][_0x3e4f2b(0x2c0)](_0x261493,_0x3e4f2b(0x220))?_0x261493[_0x3e4f2b(0x220)]:_0x261493;}function ut(_0x4f1e9f){const _0x494954=_0xf7eb09;if(Object[_0x494954(0x218)][_0x494954(0x22d)][_0x494954(0x2c0)](_0x4f1e9f,_0x494954(0x2d5)))return _0x4f1e9f;var _0x5c4b9e=_0x4f1e9f[_0x494954(0x220)];if(typeof _0x5c4b9e==_0x494954(0x22e)){var _0x208aeb=function _0x573371(){const _0x310fc6=_0x494954;var _0xe6c691=!0x1;try{_0xe6c691=this instanceof _0x573371;}catch{}return _0xe6c691?Reflect[_0x310fc6(0x143)](_0x5c4b9e,arguments,this['constructor']):_0x5c4b9e[_0x310fc6(0x1d7)](this,arguments);};_0x208aeb['prototype']=_0x5c4b9e[_0x494954(0x218)];}else _0x208aeb={};return Object[_0x494954(0x239)](_0x208aeb,_0x494954(0x2d5),{'value':!0x0}),Object['keys'](_0x4f1e9f)['forEach'](function(_0x16e9ed){const _0x173490=_0x494954;var _0x36c092=Object[_0x173490(0x1f4)](_0x4f1e9f,_0x16e9ed);Object['defineProperty'](_0x208aeb,_0x16e9ed,_0x36c092['get']?_0x36c092:{'enumerable':!0x0,'get':function(){return _0x4f1e9f[_0x16e9ed];}});}),_0x208aeb;}var te={'exports':{}},ge,Ye;function V(){const _0x586487=_0xf7eb09;if(Ye)return ge;Ye=0x1;const _0x20540a=[_0x586487(0x1d1),_0x586487(0x204),'fragments'],_0x27d38d=typeof Blob<'u';return _0x27d38d&&_0x20540a['push'](_0x586487(0x150)),ge={'BINARY_TYPES':_0x20540a,'EMPTY_BUFFER':Buffer[_0x586487(0x2c9)](0x0),'GUID':_0x586487(0x23b),'hasBlob':_0x27d38d,'kForOnEventAttribute':Symbol(_0x586487(0x13c)),'kListener':Symbol(_0x586487(0x1e2)),'kStatusCode':Symbol(_0x586487(0x219)),'kWebSocket':Symbol(_0x586487(0x16b)),'NOOP':()=>{}},ge;}const jt={},Gt=Object[_0xf7eb09(0x242)](Object['defineProperty']({'__proto__':null,'default':jt},Symbol[_0xf7eb09(0x171)],{'value':'Module'})),Vt=ut(Gt);var Ke;function ce(){const _0x50f3ba=_0xf7eb09;if(Ke)return te[_0x50f3ba(0x2df)];Ke=0x1;const {EMPTY_BUFFER:_0x3835b6}=V(),_0x267e14=Buffer[Symbol[_0x50f3ba(0x272)]];function _0x39c9e7(_0x29259f,_0x3f51e7){const _0x710b63=_0x50f3ba;if(_0x29259f[_0x710b63(0x17e)]===0x0)return _0x3835b6;if(_0x29259f['length']===0x1)return _0x29259f[0x0];const _0x4ae9f9=Buffer[_0x710b63(0x1ee)](_0x3f51e7);let _0xfa1db3=0x0;for(let _0x5e83db=0x0;_0x5e83db<_0x29259f[_0x710b63(0x17e)];_0x5e83db++){const _0x45e97c=_0x29259f[_0x5e83db];_0x4ae9f9[_0x710b63(0x21f)](_0x45e97c,_0xfa1db3),_0xfa1db3+=_0x45e97c[_0x710b63(0x17e)];}return _0xfa1db3<_0x3f51e7?new _0x267e14(_0x4ae9f9[_0x710b63(0x189)],_0x4ae9f9[_0x710b63(0x205)],_0xfa1db3):_0x4ae9f9;}function _0x37f30f(_0x17bb50,_0x57801f,_0x8ca36b,_0x326dfe,_0x35e814){for(let _0x18803d=0x0;_0x18803d<_0x35e814;_0x18803d++)_0x8ca36b[_0x326dfe+_0x18803d]=_0x17bb50[_0x18803d]^_0x57801f[_0x18803d&0x3];}function _0x54ae43(_0x55fc15,_0x5abb8a){const _0x31a92d=_0x50f3ba;for(let _0x10afae=0x0;_0x10afae<_0x55fc15[_0x31a92d(0x17e)];_0x10afae++)_0x55fc15[_0x10afae]^=_0x5abb8a[_0x10afae&0x3];}function _0x55e4b8(_0x520f31){const _0x1c0238=_0x50f3ba;return _0x520f31[_0x1c0238(0x17e)]===_0x520f31[_0x1c0238(0x189)]['byteLength']?_0x520f31[_0x1c0238(0x189)]:_0x520f31[_0x1c0238(0x189)]['slice'](_0x520f31[_0x1c0238(0x205)],_0x520f31['byteOffset']+_0x520f31[_0x1c0238(0x17e)]);}function _0xb904c1(_0x2b9d2c){const _0x42e390=_0x50f3ba;if(_0xb904c1[_0x42e390(0x252)]=!0x0,Buffer[_0x42e390(0x18b)](_0x2b9d2c))return _0x2b9d2c;let _0x337d7e;return _0x2b9d2c instanceof ArrayBuffer?_0x337d7e=new _0x267e14(_0x2b9d2c):ArrayBuffer['isView'](_0x2b9d2c)?_0x337d7e=new _0x267e14(_0x2b9d2c['buffer'],_0x2b9d2c[_0x42e390(0x205)],_0x2b9d2c[_0x42e390(0x16f)]):(_0x337d7e=Buffer['from'](_0x2b9d2c),_0xb904c1[_0x42e390(0x252)]=!0x1),_0x337d7e;}if(te['exports']={'concat':_0x39c9e7,'mask':_0x37f30f,'toArrayBuffer':_0x55e4b8,'toBuffer':_0xb904c1,'unmask':_0x54ae43},!process['env'][_0x50f3ba(0x145)])try{const _0x40aad3=Vt;te[_0x50f3ba(0x2df)][_0x50f3ba(0x169)]=function(_0x3749cb,_0x207a31,_0xab013c,_0x48f360,_0x370189){const _0x1d3fdf=_0x50f3ba;_0x370189<0x30?_0x37f30f(_0x3749cb,_0x207a31,_0xab013c,_0x48f360,_0x370189):_0x40aad3[_0x1d3fdf(0x169)](_0x3749cb,_0x207a31,_0xab013c,_0x48f360,_0x370189);},te[_0x50f3ba(0x2df)][_0x50f3ba(0x182)]=function(_0x2404f2,_0x26c3a8){const _0x4523e0=_0x50f3ba;_0x2404f2[_0x4523e0(0x17e)]<0x20?_0x54ae43(_0x2404f2,_0x26c3a8):_0x40aad3['unmask'](_0x2404f2,_0x26c3a8);};}catch{}return te[_0x50f3ba(0x2df)];}var ye,Xe;function qt(){const _0x2854e1=_0xf7eb09;if(Xe)return ye;Xe=0x1;const _0x3f2741=Symbol(_0x2854e1(0x28b)),_0x415ee7=Symbol('kRun');class _0x504785{constructor(_0x3a1a8d){const _0x4cdca3=_0x2854e1;this[_0x3f2741]=()=>{const _0x16f41e=_0x2a36;this[_0x16f41e(0x28d)]--,this[_0x415ee7]();},this[_0x4cdca3(0x284)]=_0x3a1a8d||0x1/0x0,this['jobs']=[],this['pending']=0x0;}[_0x2854e1(0x16a)](_0x1a7504){const _0x45a86a=_0x2854e1;this[_0x45a86a(0x24e)][_0x45a86a(0x20a)](_0x1a7504),this[_0x415ee7]();}[_0x415ee7](){const _0x1a439e=_0x2854e1;if(this[_0x1a439e(0x28d)]!==this['concurrency']&&this[_0x1a439e(0x24e)][_0x1a439e(0x17e)]){const _0xed2657=this[_0x1a439e(0x24e)][_0x1a439e(0x183)]();this[_0x1a439e(0x28d)]++,_0xed2657(this[_0x3f2741]);}}}return ye=_0x504785,ye;}var ve,Ze;function he(){const _0x28e67e=_0xf7eb09;if(Ze)return ve;Ze=0x1;const _0x133125=_0x20c97f,_0x422946=ce(),_0x82d029=qt(),{kStatusCode:_0x925456}=V(),_0x3d45ba=Buffer[Symbol[_0x28e67e(0x272)]],_0x479701=Buffer[_0x28e67e(0x210)]([0x0,0x0,0xff,0xff]),_0xee5c35=Symbol(_0x28e67e(0x2d4)),_0x4d8d8f=Symbol(_0x28e67e(0x222)),_0x4ef1df=Symbol(_0x28e67e(0x1a4)),_0x2da395=Symbol(_0x28e67e(0x1b4)),_0x123b09=Symbol(_0x28e67e(0x2d9));let _0x1b7f20;class _0xd05ac1{constructor(_0x28b289,_0x2b89bc,_0xec4828){const _0x4f6a79=_0x28e67e;if(this['_maxPayload']=_0xec4828|0x0,this[_0x4f6a79(0x18f)]=_0x28b289||{},this['_threshold']=this[_0x4f6a79(0x18f)][_0x4f6a79(0x1b0)]!==void 0x0?this[_0x4f6a79(0x18f)][_0x4f6a79(0x1b0)]:0x400,this[_0x4f6a79(0x2ae)]=!!_0x2b89bc,this[_0x4f6a79(0x235)]=null,this['_inflate']=null,this[_0x4f6a79(0x198)]=null,!_0x1b7f20){const _0x10440c=this[_0x4f6a79(0x18f)][_0x4f6a79(0x1fb)]!==void 0x0?this['_options'][_0x4f6a79(0x1fb)]:0xa;_0x1b7f20=new _0x82d029(_0x10440c);}}static get[_0x28e67e(0x15a)](){const _0x5ca129=_0x28e67e;return _0x5ca129(0x2d4);}[_0x28e67e(0x274)](){const _0x1ee3f7=_0x28e67e,_0x31cf20={};return this[_0x1ee3f7(0x18f)][_0x1ee3f7(0x1b7)]&&(_0x31cf20['server_no_context_takeover']=!0x0),this['_options'][_0x1ee3f7(0x2e8)]&&(_0x31cf20[_0x1ee3f7(0x209)]=!0x0),this[_0x1ee3f7(0x18f)]['serverMaxWindowBits']&&(_0x31cf20[_0x1ee3f7(0x275)]=this[_0x1ee3f7(0x18f)][_0x1ee3f7(0x24d)]),this[_0x1ee3f7(0x18f)][_0x1ee3f7(0x2dd)]?_0x31cf20['client_max_window_bits']=this[_0x1ee3f7(0x18f)]['clientMaxWindowBits']:this[_0x1ee3f7(0x18f)]['clientMaxWindowBits']==null&&(_0x31cf20[_0x1ee3f7(0x2a8)]=!0x0),_0x31cf20;}[_0x28e67e(0x25e)](_0x17188b){const _0x336f18=_0x28e67e;return _0x17188b=this[_0x336f18(0x2d0)](_0x17188b),this['params']=this[_0x336f18(0x2ae)]?this[_0x336f18(0x136)](_0x17188b):this[_0x336f18(0x15e)](_0x17188b),this[_0x336f18(0x198)];}['cleanup'](){const _0x2a6343=_0x28e67e;if(this['_inflate']&&(this[_0x2a6343(0x294)][_0x2a6343(0x290)](),this[_0x2a6343(0x294)]=null),this['_deflate']){const _0x3c148d=this[_0x2a6343(0x235)][_0x4ef1df];this[_0x2a6343(0x235)][_0x2a6343(0x290)](),this[_0x2a6343(0x235)]=null,_0x3c148d&&_0x3c148d(new Error(_0x2a6343(0x268)));}}[_0x28e67e(0x136)](_0x8a1363){const _0x3bde86=_0x28e67e,_0x50382c=this[_0x3bde86(0x18f)],_0x86beb4=_0x8a1363['find'](_0x52517e=>!(_0x50382c[_0x3bde86(0x1b7)]===!0x1&&_0x52517e['server_no_context_takeover']||_0x52517e[_0x3bde86(0x275)]&&(_0x50382c[_0x3bde86(0x24d)]===!0x1||typeof _0x50382c[_0x3bde86(0x24d)]==_0x3bde86(0x1cd)&&_0x50382c[_0x3bde86(0x24d)]>_0x52517e[_0x3bde86(0x275)])||typeof _0x50382c[_0x3bde86(0x2dd)]==_0x3bde86(0x1cd)&&!_0x52517e[_0x3bde86(0x2a8)]));if(!_0x86beb4)throw new Error(_0x3bde86(0x177));return _0x50382c[_0x3bde86(0x1b7)]&&(_0x86beb4[_0x3bde86(0x13e)]=!0x0),_0x50382c[_0x3bde86(0x2e8)]&&(_0x86beb4[_0x3bde86(0x209)]=!0x0),typeof _0x50382c[_0x3bde86(0x24d)]=='number'&&(_0x86beb4[_0x3bde86(0x275)]=_0x50382c[_0x3bde86(0x24d)]),typeof _0x50382c[_0x3bde86(0x2dd)]==_0x3bde86(0x1cd)?_0x86beb4['client_max_window_bits']=_0x50382c[_0x3bde86(0x2dd)]:(_0x86beb4['client_max_window_bits']===!0x0||_0x50382c[_0x3bde86(0x2dd)]===!0x1)&&delete _0x86beb4[_0x3bde86(0x2a8)],_0x86beb4;}[_0x28e67e(0x15e)](_0x172f0d){const _0x211649=_0x28e67e,_0x5a6b0f=_0x172f0d[0x0];if(this['_options'][_0x211649(0x2e8)]===!0x1&&_0x5a6b0f[_0x211649(0x209)])throw new Error('Unexpected\x20parameter\x20\x22client_no_context_takeover\x22');if(!_0x5a6b0f[_0x211649(0x2a8)])typeof this['_options'][_0x211649(0x2dd)]==_0x211649(0x1cd)&&(_0x5a6b0f[_0x211649(0x2a8)]=this['_options']['clientMaxWindowBits']);else{if(this[_0x211649(0x18f)][_0x211649(0x2dd)]===!0x1||typeof this[_0x211649(0x18f)][_0x211649(0x2dd)]==_0x211649(0x1cd)&&_0x5a6b0f[_0x211649(0x2a8)]>this[_0x211649(0x18f)][_0x211649(0x2dd)])throw new Error(_0x211649(0x18e));}return _0x5a6b0f;}[_0x28e67e(0x2d0)](_0x418a17){const _0x126241=_0x28e67e;return _0x418a17[_0x126241(0x1e8)](_0x48487e=>{const _0x5dbbcc=_0x126241;Object[_0x5dbbcc(0x212)](_0x48487e)['forEach'](_0xe95320=>{const _0x5d5379=_0x5dbbcc;let _0x40845a=_0x48487e[_0xe95320];if(_0x40845a[_0x5d5379(0x17e)]>0x1)throw new Error(_0x5d5379(0x14a)+_0xe95320+_0x5d5379(0x1ca));if(_0x40845a=_0x40845a[0x0],_0xe95320===_0x5d5379(0x2a8)){if(_0x40845a!==!0x0){const _0xac5d43=+_0x40845a;if(!Number[_0x5d5379(0x271)](_0xac5d43)||_0xac5d43<0x8||_0xac5d43>0xf)throw new TypeError(_0x5d5379(0x249)+_0xe95320+_0x5d5379(0x202)+_0x40845a);_0x40845a=_0xac5d43;}else{if(!this['_isServer'])throw new TypeError(_0x5d5379(0x249)+_0xe95320+'\x22:\x20'+_0x40845a);}}else{if(_0xe95320==='server_max_window_bits'){const _0x59288b=+_0x40845a;if(!Number[_0x5d5379(0x271)](_0x59288b)||_0x59288b<0x8||_0x59288b>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0xe95320+_0x5d5379(0x202)+_0x40845a);_0x40845a=_0x59288b;}else{if(_0xe95320===_0x5d5379(0x209)||_0xe95320===_0x5d5379(0x13e)){if(_0x40845a!==!0x0)throw new TypeError(_0x5d5379(0x249)+_0xe95320+_0x5d5379(0x202)+_0x40845a);}else throw new Error(_0x5d5379(0x236)+_0xe95320+'\x22');}}_0x48487e[_0xe95320]=_0x40845a;});}),_0x418a17;}[_0x28e67e(0x21c)](_0x20de4e,_0x556d7b,_0xd136a2){const _0x4832a7=_0x28e67e;_0x1b7f20[_0x4832a7(0x16a)](_0x3c75c6=>{const _0x4c8dc1=_0x4832a7;this[_0x4c8dc1(0x16d)](_0x20de4e,_0x556d7b,(_0x418072,_0x45462d)=>{_0x3c75c6(),_0xd136a2(_0x418072,_0x45462d);});});}['compress'](_0x4d6e9e,_0x384db9,_0x347b2){_0x1b7f20['add'](_0x5c0b95=>{this['_compress'](_0x4d6e9e,_0x384db9,(_0x141b10,_0x554b7b)=>{_0x5c0b95(),_0x347b2(_0x141b10,_0x554b7b);});});}[_0x28e67e(0x16d)](_0x3df63b,_0xbe26c6,_0xc7d9dc){const _0x247b33=_0x28e67e,_0x54cbc6=this[_0x247b33(0x2ae)]?_0x247b33(0x2a6):'server';if(!this[_0x247b33(0x294)]){const _0x2d67dd=_0x54cbc6+_0x247b33(0x1b9),_0x35163e=typeof this[_0x247b33(0x198)][_0x2d67dd]!='number'?_0x133125['Z_DEFAULT_WINDOWBITS']:this[_0x247b33(0x198)][_0x2d67dd];this[_0x247b33(0x294)]=_0x133125[_0x247b33(0x1b5)]({...this[_0x247b33(0x18f)]['zlibInflateOptions'],'windowBits':_0x35163e}),this['_inflate'][_0xee5c35]=this,this['_inflate'][_0x4d8d8f]=0x0,this['_inflate'][_0x2da395]=[],this['_inflate']['on'](_0x247b33(0x2d9),_0x4294c9),this[_0x247b33(0x294)]['on'](_0x247b33(0x213),_0x4e131d);}this[_0x247b33(0x294)][_0x4ef1df]=_0xc7d9dc,this[_0x247b33(0x294)][_0x247b33(0x19b)](_0x3df63b),_0xbe26c6&&this['_inflate'][_0x247b33(0x19b)](_0x479701),this[_0x247b33(0x294)][_0x247b33(0x23c)](()=>{const _0x2e4ea5=_0x247b33,_0x4611dc=this[_0x2e4ea5(0x294)][_0x123b09];if(_0x4611dc){this[_0x2e4ea5(0x294)]['close'](),this['_inflate']=null,_0xc7d9dc(_0x4611dc);return;}const _0x482f77=_0x422946[_0x2e4ea5(0x1da)](this[_0x2e4ea5(0x294)][_0x2da395],this[_0x2e4ea5(0x294)][_0x4d8d8f]);this[_0x2e4ea5(0x294)][_0x2e4ea5(0x187)][_0x2e4ea5(0x138)]?(this['_inflate']['close'](),this[_0x2e4ea5(0x294)]=null):(this['_inflate'][_0x4d8d8f]=0x0,this[_0x2e4ea5(0x294)][_0x2da395]=[],_0xbe26c6&&this[_0x2e4ea5(0x198)][_0x54cbc6+'_no_context_takeover']&&this[_0x2e4ea5(0x294)][_0x2e4ea5(0x167)]()),_0xc7d9dc(null,_0x482f77);});}[_0x28e67e(0x2de)](_0x147b9c,_0x4da67e,_0x58878e){const _0x589d94=_0x28e67e,_0x3455c4=this['_isServer']?_0x589d94(0x19a):_0x589d94(0x2a6);if(!this[_0x589d94(0x235)]){const _0x18ffd0=_0x3455c4+_0x589d94(0x1b9),_0x40d898=typeof this[_0x589d94(0x198)][_0x18ffd0]!=_0x589d94(0x1cd)?_0x133125[_0x589d94(0x2ac)]:this['params'][_0x18ffd0];this['_deflate']=_0x133125[_0x589d94(0x286)]({...this[_0x589d94(0x18f)][_0x589d94(0x228)],'windowBits':_0x40d898}),this[_0x589d94(0x235)][_0x4d8d8f]=0x0,this['_deflate'][_0x2da395]=[],this[_0x589d94(0x235)]['on']('data',_0x42f630);}this[_0x589d94(0x235)][_0x4ef1df]=_0x58878e,this[_0x589d94(0x235)][_0x589d94(0x19b)](_0x147b9c),this[_0x589d94(0x235)]['flush'](_0x133125[_0x589d94(0x1ce)],()=>{const _0x459fdf=_0x589d94;if(!this[_0x459fdf(0x235)])return;let _0x47cf6d=_0x422946[_0x459fdf(0x1da)](this[_0x459fdf(0x235)][_0x2da395],this[_0x459fdf(0x235)][_0x4d8d8f]);_0x4da67e&&(_0x47cf6d=new _0x3d45ba(_0x47cf6d[_0x459fdf(0x189)],_0x47cf6d[_0x459fdf(0x205)],_0x47cf6d[_0x459fdf(0x17e)]-0x4)),this[_0x459fdf(0x235)][_0x4ef1df]=null,this[_0x459fdf(0x235)][_0x4d8d8f]=0x0,this[_0x459fdf(0x235)][_0x2da395]=[],_0x4da67e&&this[_0x459fdf(0x198)][_0x3455c4+_0x459fdf(0x283)]&&this[_0x459fdf(0x235)][_0x459fdf(0x167)](),_0x58878e(null,_0x47cf6d);});}}ve=_0xd05ac1;function _0x42f630(_0xc87abf){const _0x46bcab=_0x28e67e;this[_0x2da395][_0x46bcab(0x20a)](_0xc87abf),this[_0x4d8d8f]+=_0xc87abf[_0x46bcab(0x17e)];}function _0x4e131d(_0x538e31){const _0x53f16d=_0x28e67e;if(this[_0x4d8d8f]+=_0x538e31[_0x53f16d(0x17e)],this[_0xee5c35][_0x53f16d(0x25f)]<0x1||this[_0x4d8d8f]<=this[_0xee5c35][_0x53f16d(0x25f)]){this[_0x2da395][_0x53f16d(0x20a)](_0x538e31);return;}this[_0x123b09]=new RangeError(_0x53f16d(0x2e5)),this[_0x123b09][_0x53f16d(0x265)]='WS_ERR_UNSUPPORTED_MESSAGE_LENGTH',this[_0x123b09][_0x925456]=0x3f1,this[_0x53f16d(0x149)]('data',_0x4e131d),this[_0x53f16d(0x167)]();}function _0x4294c9(_0x5cd813){const _0x2fed33=_0x28e67e;if(this[_0xee5c35][_0x2fed33(0x294)]=null,this[_0x123b09]){this[_0x4ef1df](this[_0x123b09]);return;}_0x5cd813[_0x925456]=0x3ef,this[_0x4ef1df](_0x5cd813);}return ve;}var re={'exports':{}};function _0x14cf(){const _0x5315b7=['fin','binary','https:','ws+unix:','kListener','Cookie','removeAllListeners','completeUpgrade','setConfig','kReason','forEach','createServer','href','shouldHandle','wss:','invalid\x20UTF-8\x20sequence','allocUnsafe','_autoPong','kData','autoPong','_final','statusCode','getOwnPropertyDescriptor','value','entries','GET','socketPath','_binaryType','Unsupported\x20protocol\x20version:\x20','concurrencyLimit','Unexpected\x20server\x20response:\x20','handleEvent','listening','kTarget','search','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','\x22:\x20','cookie','arraybuffer','byteOffset','hostname','hash','_payloadLength','client_no_context_takeover','push','sec-websocket-version','digest','onerror','dequeue','generateMask','from','setNoDelay','keys','data','_shouldEmitClose','getPayloadLength16','WS_ERR_UNEXPECTED_RSV_1','slice','prototype','status-code','Invalid\x20URL:\x20','controlMessage','decompress','_masked','_extensions','set','default','string','total-length','cork','values','pause','createError','resume','zlibDeflateOptions','RSV1\x20must\x20be\x20clear','_write','replace','9085420KbAoLK','hasOwnProperty','function','emitClose','handshakeTimeout','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','next','_closeFrameReceived','toLowerCase','_deflate','Unknown\x20parameter\x20\x22','Sec-WebSocket-Extensions:\x20','The\x20URL\x27s\x20pathname\x20is\x20empty','defineProperty','isPaused','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','flush','1291339FrFWcV','kByteLength','isIP','writeUInt16BE','path','freeze','readUInt16BE','177464knNUAt','map','Unexpected\x20end\x20of\x20input','Basic\x20','STATUS_CODES','Invalid\x20value\x20for\x20parameter\x20\x22','dataMessage','username','invalid\x20opcode\x20','serverMaxWindowBits','jobs','text/plain','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','dispatch','readOnly','authorization','CLOSED','ping','54tBuJZM','_socket','haveLength','836605JdXiLd','response','conclude','246345RYRwJJ','socket','accept','_maxPayload','Blob','46102980yMoZwx','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','_allowSynchronousEvents','WS_ERR_INVALID_UTF8','code','Invalid\x20Sec-WebSocket-Protocol\x20header','createConnection','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','defaultPort','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','object','authorized','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','kWasClean','onclose','abort','isInteger','species','_messageLength','offer','server_max_window_bits','Sec-WebSocket-Protocol','invalid\x20status\x20code\x20','The\x20server\x20is\x20not\x20running','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','perMessageDeflate','sec-websocket-protocol','Opening\x20handshake\x20has\x20timed\x20out','uncork','finished','join','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','options','servername','_no_context_takeover','concurrency','maxRedirects','createDeflateRaw','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','extensions','objectMode','_state','kDone','verifyClient','pending','pluginName','_readyState','close','_errorEmitted','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','frame','_inflate','HTTP/1.1\x20101\x20Switching\x20Protocols','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','ws:','8pqodhM','_bufferedAmount','onStarting','protocol','end','removeEventListener','readUInt32BE','sec-websocket-extensions','address','host','setTimeout','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','customHeaders','MASK\x20must\x20be\x20clear','client','arrayBuffer','client_max_window_bits','location','finishRequest','387seTZoF','Z_DEFAULT_WINDOWBITS','isArray','_isServer','_receiver','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','CONNECTING','errorEmitted','_fragmented','WS_ERR_EXPECTED_MASK','message','binaryType','allowSynchronousEvents','kMessage','_firstFragment','headers','WS_ERR_UNEXPECTED_RSV_2_3','update','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','_queue','Sec-WebSocket-Accept:\x20','call','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','_url','pipe','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','getConfig','stream','connect','charCodeAt','alloc','upgrade','Invalid\x20Sec-WebSocket-Extensions\x20header','pathname','reason','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','skipUTF8Validation','normalizeParams','_originalIpc','origin','clients','permessage-deflate','__esModule','_totalPayloadLength','has','startLoop','error','_bufferedBytes','clientTracking','delete','clientMaxWindowBits','_compress','exports','registerHTTPInterceptor','_closeMessage','writeUIntBE','redirect','sha1','Max\x20payload\x20size\x20exceeded','parse','_errored','clientNoContextTakeover','handleUpgrade','acceptAsServer','addEventListener','endEmitted','terminate','invalid\x20payload\x20length\x20','backlog','kIsForOnEventAttribute','OPEN','server_no_context_takeover','2818390LqesGN','format','Invalid\x20HTTP\x20method','_mask','construct','base64','WS_NO_BUFFER_UTIL','open','captureStackTrace','createSocket','removeListener','Parameter\x20\x22','consume','WS_ERR_INVALID_OPCODE','_loop','The\x20URL\x20contains\x20a\x20fragment\x20identifier','connection','blob','listenerCount','request','_sender','WS_ERR_UNEXPECTED_MASK','read','_buffers','setSocket','pong','protocolVersion','extensionName','_registerDependencies','WS_ERR_EXPECTED_FIN','indexOf','acceptAsClient','method','then','_skipUTF8Validation','_maskBuffer','Upgrade','needDrain','_paused','_closeCode','reset','_redirects','mask','add','websocket','noServer','_decompress','_protocol','byteLength','readyState','toStringTag','_closeTimer','_fin','_removeListeners','_generateMask','_writableState','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','\x22\x20subprotocol\x20is\x20duplicated','cleanup','destroyed','wasClean','followRedirects','auth','length','isServer','test','\x0d\x0a\x0d\x0a','unmask','shift','send','_injector','warn','_readableState','bufferedAmount','buffer','_fragments','isBuffer','pow','_compressed','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','_options','getInfo','maxPayload','Invalid\x20Sec-WebSocket-Accept\x20header','writable','catch','bind','password','port','params','kType','server','write','Server\x20sent\x20no\x20subprotocol','_req','finish','FIN\x20must\x20be\x20set','sendFrame','listeners','env','Unexpected\x20character\x20at\x20index\x20','callback','size','timeout','kAborted','toString','url','once','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','includes','_originalHostOrSocketPath','encrypted','threshold','_closeFrameSent','Module','WebSocket','buffers','createInflateRaw','getPayloadLength64','serverNoContextTakeover','kError','_max_window_bits','Sec-WebSocket-Protocol:\x20','\x20(supported\x20versions:\x20','_threshold','destroy','getMask','handleProtocols','collaboration-client-node.config','sec-websocket-key','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','CLOSING','34WdqIKM','getBlobData','getData','WS_ERR_INVALID_CLOSE_CODE','_opcode','compress','\x22\x20must\x20have\x20only\x20a\x20single\x20value','Sec-WebSocket-Extensions','_httpService','number','Z_SYNC_FLUSH','_configService','enqueue','nodebuffer','Sec-WebSocket-Origin','_server','wsClientError','Upgrade:\x20websocket','create','apply','target','emit','concat','Invalid\x20Upgrade\x20header','_originalSecure','nextTick'];_0x14cf=function(){return _0x5315b7;};return _0x14cf();}const Ht={},zt=Object[_0xf7eb09(0x242)](Object[_0xf7eb09(0x239)]({'__proto__':null,'default':Ht},Symbol[_0xf7eb09(0x171)],{'value':_0xf7eb09(0x1b2)})),Yt=ut(zt);var Qe;function ne(){const _0x2b9e1c=_0xf7eb09;if(Qe)return re['exports'];Qe=0x1;const {isUtf8:_0x432229}=_0x30ec7d,{hasBlob:_0x4fcb48}=V(),_0x37286c=[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 _0x23951b(_0x61f92d){return _0x61f92d>=0x3e8&&_0x61f92d<=0x3f6&&_0x61f92d!==0x3ec&&_0x61f92d!==0x3ed&&_0x61f92d!==0x3ee||_0x61f92d>=0xbb8&&_0x61f92d<=0x1387;}function _0x12a87c(_0x525115){const _0x864166=_0x525115['length'];let _0x5161c2=0x0;for(;_0x5161c2<_0x864166;)if((_0x525115[_0x5161c2]&0x80)===0x0)_0x5161c2++;else{if((_0x525115[_0x5161c2]&0xe0)===0xc0){if(_0x5161c2+0x1===_0x864166||(_0x525115[_0x5161c2+0x1]&0xc0)!==0x80||(_0x525115[_0x5161c2]&0xfe)===0xc0)return!0x1;_0x5161c2+=0x2;}else{if((_0x525115[_0x5161c2]&0xf0)===0xe0){if(_0x5161c2+0x2>=_0x864166||(_0x525115[_0x5161c2+0x1]&0xc0)!==0x80||(_0x525115[_0x5161c2+0x2]&0xc0)!==0x80||_0x525115[_0x5161c2]===0xe0&&(_0x525115[_0x5161c2+0x1]&0xe0)===0x80||_0x525115[_0x5161c2]===0xed&&(_0x525115[_0x5161c2+0x1]&0xe0)===0xa0)return!0x1;_0x5161c2+=0x3;}else{if((_0x525115[_0x5161c2]&0xf8)===0xf0){if(_0x5161c2+0x3>=_0x864166||(_0x525115[_0x5161c2+0x1]&0xc0)!==0x80||(_0x525115[_0x5161c2+0x2]&0xc0)!==0x80||(_0x525115[_0x5161c2+0x3]&0xc0)!==0x80||_0x525115[_0x5161c2]===0xf0&&(_0x525115[_0x5161c2+0x1]&0xf0)===0x80||_0x525115[_0x5161c2]===0xf4&&_0x525115[_0x5161c2+0x1]>0x8f||_0x525115[_0x5161c2]>0xf4)return!0x1;_0x5161c2+=0x4;}else return!0x1;}}}return!0x0;}function _0x112e95(_0x14ab02){const _0x1e759a=_0x2a36;return _0x4fcb48&&typeof _0x14ab02=='object'&&typeof _0x14ab02[_0x1e759a(0x2a7)]=='function'&&typeof _0x14ab02['type']==_0x1e759a(0x221)&&typeof _0x14ab02[_0x1e759a(0x2c6)]==_0x1e759a(0x22e)&&(_0x14ab02[Symbol[_0x1e759a(0x171)]]===_0x1e759a(0x260)||_0x14ab02[Symbol[_0x1e759a(0x171)]]==='File');}if(re[_0x2b9e1c(0x2df)]={'isBlob':_0x112e95,'isValidStatusCode':_0x23951b,'isValidUTF8':_0x12a87c,'tokenChars':_0x37286c},_0x432229)re['exports']['isValidUTF8']=function(_0x26f62b){const _0x3eab2d=_0x2b9e1c;return _0x26f62b[_0x3eab2d(0x17e)]<0x18?_0x12a87c(_0x26f62b):_0x432229(_0x26f62b);};else{if(!process[_0x2b9e1c(0x1a2)]['WS_NO_UTF_8_VALIDATE'])try{const _0x4b281f=Yt;re[_0x2b9e1c(0x2df)]['isValidUTF8']=function(_0x351e58){const _0x1b82ca=_0x2b9e1c;return _0x351e58[_0x1b82ca(0x17e)]<0x20?_0x12a87c(_0x351e58):_0x4b281f(_0x351e58);};}catch{}}return re[_0x2b9e1c(0x2df)];}var Se,Je;function dt(){const _0x1c7c82=_0xf7eb09;if(Je)return Se;Je=0x1;const {Writable:_0x1b36e5}=_0x1c53b5,_0x589e7a=he(),{BINARY_TYPES:_0x4a5295,EMPTY_BUFFER:_0x53bf40,kStatusCode:_0x276ee3,kWebSocket:_0x1ac583}=V(),{concat:_0x2a6b53,toArrayBuffer:_0x2b5605,unmask:_0x3312f4}=ce(),{isValidStatusCode:_0x58a187,isValidUTF8:_0x51ddc7}=ne(),_0x34b87b=Buffer[Symbol[_0x1c7c82(0x272)]],_0x747912=0x0,_0x351e76=0x1,_0x1aa752=0x2,_0x32c5db=0x3,_0x28657d=0x4,_0x2c2f99=0x5,_0xdd0e18=0x6;class _0x4e8f4f extends _0x1b36e5{constructor(_0x272e27={}){const _0xe2f8cd=_0x1c7c82;super(),this['_allowSynchronousEvents']=_0x272e27[_0xe2f8cd(0x2b7)]!==void 0x0?_0x272e27['allowSynchronousEvents']:!0x0,this[_0xe2f8cd(0x1f9)]=_0x272e27[_0xe2f8cd(0x2b6)]||_0x4a5295[0x0],this[_0xe2f8cd(0x21e)]=_0x272e27['extensions']||{},this['_isServer']=!!_0x272e27[_0xe2f8cd(0x17f)],this[_0xe2f8cd(0x25f)]=_0x272e27[_0xe2f8cd(0x191)]|0x0,this[_0xe2f8cd(0x161)]=!!_0x272e27['skipUTF8Validation'],this[_0x1ac583]=void 0x0,this[_0xe2f8cd(0x2da)]=0x0,this['_buffers']=[],this[_0xe2f8cd(0x18d)]=!0x1,this[_0xe2f8cd(0x208)]=0x0,this[_0xe2f8cd(0x142)]=void 0x0,this[_0xe2f8cd(0x2b3)]=0x0,this[_0xe2f8cd(0x21d)]=!0x1,this[_0xe2f8cd(0x173)]=!0x1,this['_opcode']=0x0,this[_0xe2f8cd(0x2d6)]=0x0,this['_messageLength']=0x0,this[_0xe2f8cd(0x18a)]=[],this['_errored']=!0x1,this['_loop']=!0x1,this[_0xe2f8cd(0x28a)]=_0x747912;}['_write'](_0x1df727,_0x37ccd2,_0x5820a2){const _0x253a2f=_0x1c7c82;if(this['_opcode']===0x8&&this[_0x253a2f(0x28a)]==_0x747912)return _0x5820a2();this[_0x253a2f(0x2da)]+=_0x1df727[_0x253a2f(0x17e)],this[_0x253a2f(0x156)]['push'](_0x1df727),this[_0x253a2f(0x2d8)](_0x5820a2);}['consume'](_0x42432b){const _0x6bb3f4=_0x1c7c82;if(this['_bufferedBytes']-=_0x42432b,_0x42432b===this[_0x6bb3f4(0x156)][0x0][_0x6bb3f4(0x17e)])return this['_buffers'][_0x6bb3f4(0x183)]();if(_0x42432b<this[_0x6bb3f4(0x156)][0x0]['length']){const _0xaf4074=this[_0x6bb3f4(0x156)][0x0];return this[_0x6bb3f4(0x156)][0x0]=new _0x34b87b(_0xaf4074['buffer'],_0xaf4074[_0x6bb3f4(0x205)]+_0x42432b,_0xaf4074[_0x6bb3f4(0x17e)]-_0x42432b),new _0x34b87b(_0xaf4074['buffer'],_0xaf4074['byteOffset'],_0x42432b);}const _0x53bac8=Buffer[_0x6bb3f4(0x1ee)](_0x42432b);do{const _0x5306dc=this[_0x6bb3f4(0x156)][0x0],_0x42b0e1=_0x53bac8[_0x6bb3f4(0x17e)]-_0x42432b;_0x42432b>=_0x5306dc[_0x6bb3f4(0x17e)]?_0x53bac8[_0x6bb3f4(0x21f)](this[_0x6bb3f4(0x156)][_0x6bb3f4(0x183)](),_0x42b0e1):(_0x53bac8[_0x6bb3f4(0x21f)](new Uint8Array(_0x5306dc[_0x6bb3f4(0x189)],_0x5306dc[_0x6bb3f4(0x205)],_0x42432b),_0x42b0e1),this[_0x6bb3f4(0x156)][0x0]=new _0x34b87b(_0x5306dc['buffer'],_0x5306dc[_0x6bb3f4(0x205)]+_0x42432b,_0x5306dc[_0x6bb3f4(0x17e)]-_0x42432b)),_0x42432b-=_0x5306dc[_0x6bb3f4(0x17e)];}while(_0x42432b>0x0);return _0x53bac8;}[_0x1c7c82(0x2d8)](_0x54f89a){const _0x1cf544=_0x1c7c82;this[_0x1cf544(0x14d)]=!0x0;do switch(this[_0x1cf544(0x28a)]){case _0x747912:this[_0x1cf544(0x190)](_0x54f89a);break;case _0x351e76:this[_0x1cf544(0x215)](_0x54f89a);break;case _0x1aa752:this[_0x1cf544(0x1b6)](_0x54f89a);break;case _0x32c5db:this[_0x1cf544(0x1be)]();break;case _0x28657d:this[_0x1cf544(0x1c6)](_0x54f89a);break;case _0x2c2f99:case _0xdd0e18:this['_loop']=!0x1;return;}while(this[_0x1cf544(0x14d)]);this[_0x1cf544(0x2e7)]||_0x54f89a();}['getInfo'](_0xc1232c){const _0x1b64f8=_0x1c7c82;if(this[_0x1b64f8(0x2da)]<0x2){this[_0x1b64f8(0x14d)]=!0x1;return;}const _0x34ea60=this[_0x1b64f8(0x14b)](0x2);if((_0x34ea60[0x0]&0x30)!==0x0){const _0x2c5818=this[_0x1b64f8(0x226)](RangeError,_0x1b64f8(0x2a3),!0x0,0x3ea,_0x1b64f8(0x2bb));_0xc1232c(_0x2c5818);return;}const _0x1300de=(_0x34ea60[0x0]&0x40)===0x40;if(_0x1300de&&!this['_extensions'][_0x589e7a[_0x1b64f8(0x15a)]]){const _0x26aec6=this['createError'](RangeError,_0x1b64f8(0x229),!0x0,0x3ea,_0x1b64f8(0x216));_0xc1232c(_0x26aec6);return;}if(this[_0x1b64f8(0x173)]=(_0x34ea60[0x0]&0x80)===0x80,this[_0x1b64f8(0x1c8)]=_0x34ea60[0x0]&0xf,this[_0x1b64f8(0x208)]=_0x34ea60[0x1]&0x7f,this['_opcode']===0x0){if(_0x1300de){const _0x6b4841=this[_0x1b64f8(0x226)](RangeError,_0x1b64f8(0x229),!0x0,0x3ea,_0x1b64f8(0x216));_0xc1232c(_0x6b4841);return;}if(!this[_0x1b64f8(0x2b3)]){const _0x450529=this[_0x1b64f8(0x226)](RangeError,'invalid\x20opcode\x200',!0x0,0x3ea,_0x1b64f8(0x14c));_0xc1232c(_0x450529);return;}this['_opcode']=this['_fragmented'];}else{if(this[_0x1b64f8(0x1c8)]===0x1||this[_0x1b64f8(0x1c8)]===0x2){if(this['_fragmented']){const _0x545055=this[_0x1b64f8(0x226)](RangeError,_0x1b64f8(0x24c)+this[_0x1b64f8(0x1c8)],!0x0,0x3ea,_0x1b64f8(0x14c));_0xc1232c(_0x545055);return;}this[_0x1b64f8(0x18d)]=_0x1300de;}else{if(this[_0x1b64f8(0x1c8)]>0x7&&this[_0x1b64f8(0x1c8)]<0xb){if(!this[_0x1b64f8(0x173)]){const _0x4e4500=this['createError'](RangeError,_0x1b64f8(0x19f),!0x0,0x3ea,_0x1b64f8(0x15c));_0xc1232c(_0x4e4500);return;}if(_0x1300de){const _0x551ad1=this[_0x1b64f8(0x226)](RangeError,_0x1b64f8(0x229),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0xc1232c(_0x551ad1);return;}if(this[_0x1b64f8(0x208)]>0x7d||this[_0x1b64f8(0x1c8)]===0x8&&this[_0x1b64f8(0x208)]===0x1){const _0x5c76ee=this['createError'](RangeError,_0x1b64f8(0x13a)+this['_payloadLength'],!0x0,0x3ea,'WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH');_0xc1232c(_0x5c76ee);return;}}else{const _0x17146e=this[_0x1b64f8(0x226)](RangeError,_0x1b64f8(0x24c)+this[_0x1b64f8(0x1c8)],!0x0,0x3ea,_0x1b64f8(0x14c));_0xc1232c(_0x17146e);return;}}}if(!this[_0x1b64f8(0x173)]&&!this[_0x1b64f8(0x2b3)]&&(this[_0x1b64f8(0x2b3)]=this[_0x1b64f8(0x1c8)]),this['_masked']=(_0x34ea60[0x1]&0x80)===0x80,this[_0x1b64f8(0x2ae)]){if(!this[_0x1b64f8(0x21d)]){const _0x16503b=this[_0x1b64f8(0x226)](RangeError,'MASK\x20must\x20be\x20set',!0x0,0x3ea,_0x1b64f8(0x2b4));_0xc1232c(_0x16503b);return;}}else{if(this[_0x1b64f8(0x21d)]){const _0x1e8218=this['createError'](RangeError,_0x1b64f8(0x2a5),!0x0,0x3ea,_0x1b64f8(0x154));_0xc1232c(_0x1e8218);return;}}this[_0x1b64f8(0x208)]===0x7e?this[_0x1b64f8(0x28a)]=_0x351e76:this[_0x1b64f8(0x208)]===0x7f?this[_0x1b64f8(0x28a)]=_0x1aa752:this[_0x1b64f8(0x258)](_0xc1232c);}[_0x1c7c82(0x215)](_0x2d15d6){const _0xa81e70=_0x1c7c82;if(this[_0xa81e70(0x2da)]<0x2){this[_0xa81e70(0x14d)]=!0x1;return;}this[_0xa81e70(0x208)]=this['consume'](0x2)[_0xa81e70(0x243)](0x0),this['haveLength'](_0x2d15d6);}[_0x1c7c82(0x1b6)](_0x261fa1){const _0x38bd4d=_0x1c7c82;if(this['_bufferedBytes']<0x8){this['_loop']=!0x1;return;}const _0x35896f=this[_0x38bd4d(0x14b)](0x8),_0x48e413=_0x35896f[_0x38bd4d(0x29e)](0x0);if(_0x48e413>Math[_0x38bd4d(0x18c)](0x2,0x15)-0x1){const _0x26e036=this['createError'](RangeError,_0x38bd4d(0x279),!0x1,0x3f1,_0x38bd4d(0x231));_0x261fa1(_0x26e036);return;}this[_0x38bd4d(0x208)]=_0x48e413*Math[_0x38bd4d(0x18c)](0x2,0x20)+_0x35896f[_0x38bd4d(0x29e)](0x4),this[_0x38bd4d(0x258)](_0x261fa1);}[_0x1c7c82(0x258)](_0x23818e){const _0x111af2=_0x1c7c82;if(this[_0x111af2(0x208)]&&this[_0x111af2(0x1c8)]<0x8&&(this[_0x111af2(0x2d6)]+=this[_0x111af2(0x208)],this[_0x111af2(0x2d6)]>this[_0x111af2(0x25f)]&&this[_0x111af2(0x25f)]>0x0)){const _0x59d704=this[_0x111af2(0x226)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x111af2(0x2c4));_0x23818e(_0x59d704);return;}this['_masked']?this[_0x111af2(0x28a)]=_0x32c5db:this['_state']=_0x28657d;}[_0x1c7c82(0x1be)](){const _0x20bf73=_0x1c7c82;if(this[_0x20bf73(0x2da)]<0x4){this[_0x20bf73(0x14d)]=!0x1;return;}this[_0x20bf73(0x142)]=this['consume'](0x4),this[_0x20bf73(0x28a)]=_0x28657d;}[_0x1c7c82(0x1c6)](_0x2ba39a){const _0x2db00c=_0x1c7c82;let _0x8edfac=_0x53bf40;if(this[_0x2db00c(0x208)]){if(this['_bufferedBytes']<this[_0x2db00c(0x208)]){this['_loop']=!0x1;return;}_0x8edfac=this['consume'](this[_0x2db00c(0x208)]),this[_0x2db00c(0x21d)]&&(this['_mask'][0x0]|this[_0x2db00c(0x142)][0x1]|this[_0x2db00c(0x142)][0x2]|this[_0x2db00c(0x142)][0x3])!==0x0&&_0x3312f4(_0x8edfac,this['_mask']);}if(this[_0x2db00c(0x1c8)]>0x7){this[_0x2db00c(0x21b)](_0x8edfac,_0x2ba39a);return;}if(this[_0x2db00c(0x18d)]){this[_0x2db00c(0x28a)]=_0x2c2f99,this[_0x2db00c(0x21c)](_0x8edfac,_0x2ba39a);return;}_0x8edfac[_0x2db00c(0x17e)]&&(this[_0x2db00c(0x273)]=this[_0x2db00c(0x2d6)],this[_0x2db00c(0x18a)]['push'](_0x8edfac)),this[_0x2db00c(0x24a)](_0x2ba39a);}[_0x1c7c82(0x21c)](_0x3290f4,_0x5160b5){const _0x37f5c0=_0x1c7c82;this[_0x37f5c0(0x21e)][_0x589e7a['extensionName']][_0x37f5c0(0x21c)](_0x3290f4,this[_0x37f5c0(0x173)],(_0x2bb8da,_0x5da0d2)=>{const _0x2431ba=_0x37f5c0;if(_0x2bb8da)return _0x5160b5(_0x2bb8da);if(_0x5da0d2[_0x2431ba(0x17e)]){if(this[_0x2431ba(0x273)]+=_0x5da0d2[_0x2431ba(0x17e)],this[_0x2431ba(0x273)]>this[_0x2431ba(0x25f)]&&this[_0x2431ba(0x25f)]>0x0){const _0x253b1e=this[_0x2431ba(0x226)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x2431ba(0x2c4));_0x5160b5(_0x253b1e);return;}this['_fragments'][_0x2431ba(0x20a)](_0x5da0d2);}this['dataMessage'](_0x5160b5),this[_0x2431ba(0x28a)]===_0x747912&&this[_0x2431ba(0x2d8)](_0x5160b5);});}[_0x1c7c82(0x24a)](_0x518c43){const _0x500f83=_0x1c7c82;if(!this[_0x500f83(0x173)]){this[_0x500f83(0x28a)]=_0x747912;return;}const _0x1795ab=this[_0x500f83(0x273)],_0x5169c0=this[_0x500f83(0x18a)];if(this[_0x500f83(0x2d6)]=0x0,this[_0x500f83(0x273)]=0x0,this[_0x500f83(0x2b3)]=0x0,this[_0x500f83(0x18a)]=[],this['_opcode']===0x2){let _0x4af3d0;this[_0x500f83(0x1f9)]==='nodebuffer'?_0x4af3d0=_0x2a6b53(_0x5169c0,_0x1795ab):this[_0x500f83(0x1f9)]===_0x500f83(0x204)?_0x4af3d0=_0x2b5605(_0x2a6b53(_0x5169c0,_0x1795ab)):this[_0x500f83(0x1f9)]===_0x500f83(0x150)?_0x4af3d0=new Blob(_0x5169c0):_0x4af3d0=_0x5169c0,this[_0x500f83(0x263)]?(this[_0x500f83(0x1d9)](_0x500f83(0x2b5),_0x4af3d0,!0x0),this[_0x500f83(0x28a)]=_0x747912):(this[_0x500f83(0x28a)]=_0xdd0e18,setImmediate(()=>{const _0x51d0ca=_0x500f83;this['emit'](_0x51d0ca(0x2b5),_0x4af3d0,!0x0),this['_state']=_0x747912,this[_0x51d0ca(0x2d8)](_0x518c43);}));}else{const _0x4e389e=_0x2a6b53(_0x5169c0,_0x1795ab);if(!this[_0x500f83(0x161)]&&!_0x51ddc7(_0x4e389e)){const _0x4cd492=this['createError'](Error,_0x500f83(0x1ed),!0x0,0x3ef,_0x500f83(0x264));_0x518c43(_0x4cd492);return;}this['_state']===_0x2c2f99||this[_0x500f83(0x263)]?(this['emit'](_0x500f83(0x2b5),_0x4e389e,!0x1),this[_0x500f83(0x28a)]=_0x747912):(this['_state']=_0xdd0e18,setImmediate(()=>{const _0x11ee8d=_0x500f83;this[_0x11ee8d(0x1d9)](_0x11ee8d(0x2b5),_0x4e389e,!0x1),this[_0x11ee8d(0x28a)]=_0x747912,this[_0x11ee8d(0x2d8)](_0x518c43);}));}}['controlMessage'](_0x2e846e,_0x730a11){const _0x2ea153=_0x1c7c82;if(this['_opcode']===0x8){if(_0x2e846e[_0x2ea153(0x17e)]===0x0)this[_0x2ea153(0x14d)]=!0x1,this[_0x2ea153(0x1d9)](_0x2ea153(0x25b),0x3ed,_0x53bf40),this[_0x2ea153(0x29c)]();else{const _0x548631=_0x2e846e[_0x2ea153(0x243)](0x0);if(!_0x58a187(_0x548631)){const _0x3c5b54=this[_0x2ea153(0x226)](RangeError,_0x2ea153(0x277)+_0x548631,!0x0,0x3ea,_0x2ea153(0x1c7));_0x730a11(_0x3c5b54);return;}const _0x22171f=new _0x34b87b(_0x2e846e[_0x2ea153(0x189)],_0x2e846e['byteOffset']+0x2,_0x2e846e[_0x2ea153(0x17e)]-0x2);if(!this['_skipUTF8Validation']&&!_0x51ddc7(_0x22171f)){const _0x5af984=this['createError'](Error,_0x2ea153(0x1ed),!0x0,0x3ef,_0x2ea153(0x264));_0x730a11(_0x5af984);return;}this[_0x2ea153(0x14d)]=!0x1,this['emit'](_0x2ea153(0x25b),_0x548631,_0x22171f),this[_0x2ea153(0x29c)]();}this[_0x2ea153(0x28a)]=_0x747912;return;}this['_allowSynchronousEvents']?(this[_0x2ea153(0x1d9)](this[_0x2ea153(0x1c8)]===0x9?_0x2ea153(0x255):'pong',_0x2e846e),this[_0x2ea153(0x28a)]=_0x747912):(this[_0x2ea153(0x28a)]=_0xdd0e18,setImmediate(()=>{const _0x27b703=_0x2ea153;this[_0x27b703(0x1d9)](this['_opcode']===0x9?'ping':'pong',_0x2e846e),this[_0x27b703(0x28a)]=_0x747912,this[_0x27b703(0x2d8)](_0x730a11);}));}['createError'](_0x132d1e,_0x1ea475,_0x3187c1,_0x1dba9c,_0x51141e){const _0x2a0f5c=_0x1c7c82;this['_loop']=!0x1,this[_0x2a0f5c(0x2e7)]=!0x0;const _0x5878cd=new _0x132d1e(_0x3187c1?'Invalid\x20WebSocket\x20frame:\x20'+_0x1ea475:_0x1ea475);return Error[_0x2a0f5c(0x147)](_0x5878cd,this[_0x2a0f5c(0x226)]),_0x5878cd[_0x2a0f5c(0x265)]=_0x51141e,_0x5878cd[_0x276ee3]=_0x1dba9c,_0x5878cd;}}return Se=_0x4e8f4f,Se;}var Ee,et;function _t(){const _0x2f2a75=_0xf7eb09;if(et)return Ee;et=0x1;const {Duplex:_0x584426}=_0x1c53b5,{randomFillSync:_0x28ccfa}=_0x18e394,_0xf7f8fe=he(),{EMPTY_BUFFER:_0x31bff7,kWebSocket:_0x45163d,NOOP:_0x3ed7b9}=V(),{isBlob:_0x59d354,isValidStatusCode:_0x333b28}=ne(),{mask:_0xaa3e5,toBuffer:_0x3e9050}=ce(),_0x2528f1=Symbol(_0x2f2a75(0x23e)),_0x36505b=Buffer[_0x2f2a75(0x2c9)](0x4),_0x5ec8ec=0x8*0x400;let _0x2166c7,_0x5abf09=_0x5ec8ec;const _0x40ce53=0x0,_0x59c594=0x1,_0x49a29e=0x2;class _0x107908{constructor(_0x272361,_0x2a0928,_0x361ba0){const _0x10c9a4=_0x2f2a75;this['_extensions']=_0x2a0928||{},_0x361ba0&&(this[_0x10c9a4(0x175)]=_0x361ba0,this[_0x10c9a4(0x162)]=Buffer[_0x10c9a4(0x2c9)](0x4)),this['_socket']=_0x272361,this[_0x10c9a4(0x2b9)]=!0x0,this['_compress']=!0x1,this[_0x10c9a4(0x2da)]=0x0,this[_0x10c9a4(0x2be)]=[],this[_0x10c9a4(0x28a)]=_0x40ce53,this[_0x10c9a4(0x20d)]=_0x3ed7b9,this[_0x45163d]=void 0x0;}static['frame'](_0x12f1f1,_0x11431d){const _0x295ef1=_0x2f2a75;let _0x162648,_0x3f84c6=!0x1,_0x340ba8=0x2,_0x549a16=!0x1;_0x11431d[_0x295ef1(0x169)]&&(_0x162648=_0x11431d['maskBuffer']||_0x36505b,_0x11431d[_0x295ef1(0x20f)]?_0x11431d['generateMask'](_0x162648):(_0x5abf09===_0x5ec8ec&&(_0x2166c7===void 0x0&&(_0x2166c7=Buffer[_0x295ef1(0x2c9)](_0x5ec8ec)),_0x28ccfa(_0x2166c7,0x0,_0x5ec8ec),_0x5abf09=0x0),_0x162648[0x0]=_0x2166c7[_0x5abf09++],_0x162648[0x1]=_0x2166c7[_0x5abf09++],_0x162648[0x2]=_0x2166c7[_0x5abf09++],_0x162648[0x3]=_0x2166c7[_0x5abf09++]),_0x549a16=(_0x162648[0x0]|_0x162648[0x1]|_0x162648[0x2]|_0x162648[0x3])===0x0,_0x340ba8=0x6);let _0x33ee78;typeof _0x12f1f1==_0x295ef1(0x221)?(!_0x11431d[_0x295ef1(0x169)]||_0x549a16)&&_0x11431d[_0x2528f1]!==void 0x0?_0x33ee78=_0x11431d[_0x2528f1]:(_0x12f1f1=Buffer['from'](_0x12f1f1),_0x33ee78=_0x12f1f1['length']):(_0x33ee78=_0x12f1f1[_0x295ef1(0x17e)],_0x3f84c6=_0x11431d[_0x295ef1(0x169)]&&_0x11431d[_0x295ef1(0x252)]&&!_0x549a16);let _0x662dc=_0x33ee78;_0x33ee78>=0x10000?(_0x340ba8+=0x8,_0x662dc=0x7f):_0x33ee78>0x7d&&(_0x340ba8+=0x2,_0x662dc=0x7e);const _0x396991=Buffer[_0x295ef1(0x1ee)](_0x3f84c6?_0x33ee78+_0x340ba8:_0x340ba8);return _0x396991[0x0]=_0x11431d['fin']?_0x11431d['opcode']|0x80:_0x11431d['opcode'],_0x11431d['rsv1']&&(_0x396991[0x0]|=0x40),_0x396991[0x1]=_0x662dc,_0x662dc===0x7e?_0x396991[_0x295ef1(0x240)](_0x33ee78,0x2):_0x662dc===0x7f&&(_0x396991[0x2]=_0x396991[0x3]=0x0,_0x396991[_0x295ef1(0x2e2)](_0x33ee78,0x4,0x6)),_0x11431d[_0x295ef1(0x169)]?(_0x396991[0x1]|=0x80,_0x396991[_0x340ba8-0x4]=_0x162648[0x0],_0x396991[_0x340ba8-0x3]=_0x162648[0x1],_0x396991[_0x340ba8-0x2]=_0x162648[0x2],_0x396991[_0x340ba8-0x1]=_0x162648[0x3],_0x549a16?[_0x396991,_0x12f1f1]:_0x3f84c6?(_0xaa3e5(_0x12f1f1,_0x162648,_0x396991,_0x340ba8,_0x33ee78),[_0x396991]):(_0xaa3e5(_0x12f1f1,_0x162648,_0x12f1f1,0x0,_0x33ee78),[_0x396991,_0x12f1f1])):[_0x396991,_0x12f1f1];}[_0x2f2a75(0x290)](_0x16f754,_0x3d5679,_0x2c71f5,_0x34719b){const _0x2ec501=_0x2f2a75;let _0xfe195;if(_0x16f754===void 0x0)_0xfe195=_0x31bff7;else{if(typeof _0x16f754!=_0x2ec501(0x1cd)||!_0x333b28(_0x16f754))throw new TypeError(_0x2ec501(0x201));if(_0x3d5679===void 0x0||!_0x3d5679[_0x2ec501(0x17e)])_0xfe195=Buffer[_0x2ec501(0x1ee)](0x2),_0xfe195[_0x2ec501(0x240)](_0x16f754,0x0);else{const _0x485a96=Buffer['byteLength'](_0x3d5679);if(_0x485a96>0x7b)throw new RangeError(_0x2ec501(0x26a));_0xfe195=Buffer[_0x2ec501(0x1ee)](0x2+_0x485a96),_0xfe195[_0x2ec501(0x240)](_0x16f754,0x0),typeof _0x3d5679==_0x2ec501(0x221)?_0xfe195[_0x2ec501(0x19b)](_0x3d5679,0x2):_0xfe195['set'](_0x3d5679,0x2);}}const _0x30b6f3={[_0x2528f1]:_0xfe195['length'],'fin':!0x0,'generateMask':this[_0x2ec501(0x175)],'mask':_0x2c71f5,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x2ec501(0x28a)]!==_0x40ce53?this['enqueue']([this[_0x2ec501(0x251)],_0xfe195,!0x1,_0x30b6f3,_0x34719b]):this['sendFrame'](_0x107908[_0x2ec501(0x293)](_0xfe195,_0x30b6f3),_0x34719b);}[_0x2f2a75(0x255)](_0x5521ea,_0x484312,_0x3f7d9d){const _0x3c3a1f=_0x2f2a75;let _0x1ebc44,_0x316f46;if(typeof _0x5521ea==_0x3c3a1f(0x221)?(_0x1ebc44=Buffer[_0x3c3a1f(0x16f)](_0x5521ea),_0x316f46=!0x1):_0x59d354(_0x5521ea)?(_0x1ebc44=_0x5521ea[_0x3c3a1f(0x1a5)],_0x316f46=!0x1):(_0x5521ea=_0x3e9050(_0x5521ea),_0x1ebc44=_0x5521ea[_0x3c3a1f(0x17e)],_0x316f46=_0x3e9050['readOnly']),_0x1ebc44>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x12bb24={[_0x2528f1]:_0x1ebc44,'fin':!0x0,'generateMask':this[_0x3c3a1f(0x175)],'mask':_0x484312,'maskBuffer':this[_0x3c3a1f(0x162)],'opcode':0x9,'readOnly':_0x316f46,'rsv1':!0x1};_0x59d354(_0x5521ea)?this['_state']!==_0x40ce53?this[_0x3c3a1f(0x1d0)]([this[_0x3c3a1f(0x1c5)],_0x5521ea,!0x1,_0x12bb24,_0x3f7d9d]):this[_0x3c3a1f(0x1c5)](_0x5521ea,!0x1,_0x12bb24,_0x3f7d9d):this[_0x3c3a1f(0x28a)]!==_0x40ce53?this['enqueue']([this[_0x3c3a1f(0x251)],_0x5521ea,!0x1,_0x12bb24,_0x3f7d9d]):this[_0x3c3a1f(0x1a0)](_0x107908[_0x3c3a1f(0x293)](_0x5521ea,_0x12bb24),_0x3f7d9d);}[_0x2f2a75(0x158)](_0x10e6cd,_0x5cbfd9,_0x5027fc){const _0x40f0bf=_0x2f2a75;let _0x20e571,_0x5a1bea;if(typeof _0x10e6cd==_0x40f0bf(0x221)?(_0x20e571=Buffer['byteLength'](_0x10e6cd),_0x5a1bea=!0x1):_0x59d354(_0x10e6cd)?(_0x20e571=_0x10e6cd[_0x40f0bf(0x1a5)],_0x5a1bea=!0x1):(_0x10e6cd=_0x3e9050(_0x10e6cd),_0x20e571=_0x10e6cd[_0x40f0bf(0x17e)],_0x5a1bea=_0x3e9050[_0x40f0bf(0x252)]),_0x20e571>0x7d)throw new RangeError(_0x40f0bf(0x1c2));const _0x3f081c={[_0x2528f1]:_0x20e571,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x5cbfd9,'maskBuffer':this[_0x40f0bf(0x162)],'opcode':0xa,'readOnly':_0x5a1bea,'rsv1':!0x1};_0x59d354(_0x10e6cd)?this[_0x40f0bf(0x28a)]!==_0x40ce53?this[_0x40f0bf(0x1d0)]([this[_0x40f0bf(0x1c5)],_0x10e6cd,!0x1,_0x3f081c,_0x5027fc]):this[_0x40f0bf(0x1c5)](_0x10e6cd,!0x1,_0x3f081c,_0x5027fc):this['_state']!==_0x40ce53?this['enqueue']([this[_0x40f0bf(0x251)],_0x10e6cd,!0x1,_0x3f081c,_0x5027fc]):this[_0x40f0bf(0x1a0)](_0x107908[_0x40f0bf(0x293)](_0x10e6cd,_0x3f081c),_0x5027fc);}[_0x2f2a75(0x184)](_0x4a6845,_0x529613,_0x155df7){const _0x443bc2=_0x2f2a75,_0x5ba987=this[_0x443bc2(0x21e)][_0xf7f8fe[_0x443bc2(0x15a)]];let _0x5757d1=_0x529613[_0x443bc2(0x1df)]?0x2:0x1,_0x314f5a=_0x529613['compress'],_0x1e6d2e,_0x334047;typeof _0x4a6845==_0x443bc2(0x221)?(_0x1e6d2e=Buffer[_0x443bc2(0x16f)](_0x4a6845),_0x334047=!0x1):_0x59d354(_0x4a6845)?(_0x1e6d2e=_0x4a6845[_0x443bc2(0x1a5)],_0x334047=!0x1):(_0x4a6845=_0x3e9050(_0x4a6845),_0x1e6d2e=_0x4a6845[_0x443bc2(0x17e)],_0x334047=_0x3e9050[_0x443bc2(0x252)]),this[_0x443bc2(0x2b9)]?(this[_0x443bc2(0x2b9)]=!0x1,_0x314f5a&&_0x5ba987&&_0x5ba987[_0x443bc2(0x198)][_0x5ba987[_0x443bc2(0x2ae)]?_0x443bc2(0x13e):_0x443bc2(0x209)]&&(_0x314f5a=_0x1e6d2e>=_0x5ba987[_0x443bc2(0x1bc)]),this['_compress']=_0x314f5a):(_0x314f5a=!0x1,_0x5757d1=0x0),_0x529613[_0x443bc2(0x1de)]&&(this[_0x443bc2(0x2b9)]=!0x0);const _0x516b3a={[_0x2528f1]:_0x1e6d2e,'fin':_0x529613[_0x443bc2(0x1de)],'generateMask':this[_0x443bc2(0x175)],'mask':_0x529613['mask'],'maskBuffer':this[_0x443bc2(0x162)],'opcode':_0x5757d1,'readOnly':_0x334047,'rsv1':_0x314f5a};_0x59d354(_0x4a6845)?this['_state']!==_0x40ce53?this[_0x443bc2(0x1d0)]([this['getBlobData'],_0x4a6845,this[_0x443bc2(0x2de)],_0x516b3a,_0x155df7]):this[_0x443bc2(0x1c5)](_0x4a6845,this[_0x443bc2(0x2de)],_0x516b3a,_0x155df7):this[_0x443bc2(0x28a)]!==_0x40ce53?this[_0x443bc2(0x1d0)]([this[_0x443bc2(0x251)],_0x4a6845,this['_compress'],_0x516b3a,_0x155df7]):this[_0x443bc2(0x251)](_0x4a6845,this['_compress'],_0x516b3a,_0x155df7);}[_0x2f2a75(0x1c5)](_0x198ab8,_0x37a1e7,_0x269897,_0x2f3ef4){const _0x3e3ff3=_0x2f2a75;this[_0x3e3ff3(0x2da)]+=_0x269897[_0x2528f1],this[_0x3e3ff3(0x28a)]=_0x49a29e,_0x198ab8[_0x3e3ff3(0x2a7)]()[_0x3e3ff3(0x160)](_0x442a06=>{const _0x58639d=_0x3e3ff3;if(this[_0x58639d(0x257)]['destroyed']){const _0x1fac1d=new Error(_0x58639d(0x296));process['nextTick'](_0x121a6f,this,_0x1fac1d,_0x2f3ef4);return;}this['_bufferedBytes']-=_0x269897[_0x2528f1];const _0x3b9981=_0x3e9050(_0x442a06);_0x37a1e7?this[_0x58639d(0x251)](_0x3b9981,_0x37a1e7,_0x269897,_0x2f3ef4):(this[_0x58639d(0x28a)]=_0x40ce53,this[_0x58639d(0x1a0)](_0x107908[_0x58639d(0x293)](_0x3b9981,_0x269897),_0x2f3ef4),this[_0x58639d(0x20e)]());})[_0x3e3ff3(0x194)](_0x4d49e6=>{const _0x2f5d19=_0x3e3ff3;process[_0x2f5d19(0x1dd)](_0x580b6c,this,_0x4d49e6,_0x2f3ef4);});}[_0x2f2a75(0x251)](_0x4d4a0c,_0x43366c,_0x2520e9,_0x41be5f){const _0x14ae06=_0x2f2a75;if(!_0x43366c){this[_0x14ae06(0x1a0)](_0x107908[_0x14ae06(0x293)](_0x4d4a0c,_0x2520e9),_0x41be5f);return;}const _0x444184=this['_extensions'][_0xf7f8fe[_0x14ae06(0x15a)]];this['_bufferedBytes']+=_0x2520e9[_0x2528f1],this['_state']=_0x59c594,_0x444184[_0x14ae06(0x1c9)](_0x4d4a0c,_0x2520e9[_0x14ae06(0x1de)],(_0x3deb5c,_0x178801)=>{const _0x1f8ede=_0x14ae06;if(this[_0x1f8ede(0x257)]['destroyed']){const _0x12b815=new Error(_0x1f8ede(0x26d));_0x121a6f(this,_0x12b815,_0x41be5f);return;}this[_0x1f8ede(0x2da)]-=_0x2520e9[_0x2528f1],this['_state']=_0x40ce53,_0x2520e9[_0x1f8ede(0x252)]=!0x1,this[_0x1f8ede(0x1a0)](_0x107908[_0x1f8ede(0x293)](_0x178801,_0x2520e9),_0x41be5f),this['dequeue']();});}[_0x2f2a75(0x20e)](){const _0x4959a3=_0x2f2a75;for(;this[_0x4959a3(0x28a)]===_0x40ce53&&this[_0x4959a3(0x2be)][_0x4959a3(0x17e)];){const _0x300f0d=this[_0x4959a3(0x2be)][_0x4959a3(0x183)]();this[_0x4959a3(0x2da)]-=_0x300f0d[0x3][_0x2528f1],Reflect['apply'](_0x300f0d[0x0],this,_0x300f0d['slice'](0x1));}}[_0x2f2a75(0x1d0)](_0xdc4a2a){const _0x277011=_0x2f2a75;this['_bufferedBytes']+=_0xdc4a2a[0x3][_0x2528f1],this[_0x277011(0x2be)][_0x277011(0x20a)](_0xdc4a2a);}[_0x2f2a75(0x1a0)](_0x9405e0,_0x96314f){const _0x1a3cd6=_0x2f2a75;_0x9405e0[_0x1a3cd6(0x17e)]===0x2?(this['_socket'][_0x1a3cd6(0x223)](),this['_socket']['write'](_0x9405e0[0x0]),this[_0x1a3cd6(0x257)][_0x1a3cd6(0x19b)](_0x9405e0[0x1],_0x96314f),this[_0x1a3cd6(0x257)][_0x1a3cd6(0x27d)]()):this['_socket'][_0x1a3cd6(0x19b)](_0x9405e0[0x0],_0x96314f);}}Ee=_0x107908;function _0x121a6f(_0x32a661,_0x57e829,_0x3c5187){const _0x3c7939=_0x2f2a75;typeof _0x3c5187==_0x3c7939(0x22e)&&_0x3c5187(_0x57e829);for(let _0x49902f=0x0;_0x49902f<_0x32a661[_0x3c7939(0x2be)][_0x3c7939(0x17e)];_0x49902f++){const _0x30a08f=_0x32a661[_0x3c7939(0x2be)][_0x49902f],_0x477bfd=_0x30a08f[_0x30a08f[_0x3c7939(0x17e)]-0x1];typeof _0x477bfd==_0x3c7939(0x22e)&&_0x477bfd(_0x57e829);}}function _0x580b6c(_0x3e5b12,_0x19eef8,_0x4bdca2){const _0x1232e7=_0x2f2a75;_0x121a6f(_0x3e5b12,_0x19eef8,_0x4bdca2),_0x3e5b12[_0x1232e7(0x20d)](_0x19eef8);}return Ee;}var xe,tt;function Kt(){const _0x77d343=_0xf7eb09;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x1b11eb,kListener:_0x4629ac}=V(),_0x41e939=Symbol('kCode'),_0x1034c7=Symbol(_0x77d343(0x1f0)),_0x1adb4e=Symbol(_0x77d343(0x1b8)),_0xed683e=Symbol(_0x77d343(0x2b8)),_0x9ffacf=Symbol(_0x77d343(0x1e7)),_0x318e7e=Symbol(_0x77d343(0x1ff)),_0x435175=Symbol(_0x77d343(0x199)),_0x3f5564=Symbol(_0x77d343(0x26e));class _0x1012fa{constructor(_0x2936ae){this[_0x318e7e]=null,this[_0x435175]=_0x2936ae;}get[_0x77d343(0x1d8)](){return this[_0x318e7e];}get['type'](){return this[_0x435175];}}Object[_0x77d343(0x239)](_0x1012fa[_0x77d343(0x218)],_0x77d343(0x1d8),{'enumerable':!0x0}),Object[_0x77d343(0x239)](_0x1012fa[_0x77d343(0x218)],'type',{'enumerable':!0x0});class _0xb606fd extends _0x1012fa{constructor(_0x2dd851,_0x5ed09e={}){const _0x57ddcc=_0x77d343;super(_0x2dd851),this[_0x41e939]=_0x5ed09e[_0x57ddcc(0x265)]===void 0x0?0x0:_0x5ed09e[_0x57ddcc(0x265)],this[_0x9ffacf]=_0x5ed09e[_0x57ddcc(0x2cd)]===void 0x0?'':_0x5ed09e[_0x57ddcc(0x2cd)],this[_0x3f5564]=_0x5ed09e[_0x57ddcc(0x17b)]===void 0x0?!0x1:_0x5ed09e[_0x57ddcc(0x17b)];}get[_0x77d343(0x265)](){return this[_0x41e939];}get[_0x77d343(0x2cd)](){return this[_0x9ffacf];}get['wasClean'](){return this[_0x3f5564];}}Object[_0x77d343(0x239)](_0xb606fd['prototype'],_0x77d343(0x265),{'enumerable':!0x0}),Object[_0x77d343(0x239)](_0xb606fd[_0x77d343(0x218)],_0x77d343(0x2cd),{'enumerable':!0x0}),Object[_0x77d343(0x239)](_0xb606fd[_0x77d343(0x218)],'wasClean',{'enumerable':!0x0});class _0x2aea3a extends _0x1012fa{constructor(_0x4cb577,_0xca5633={}){const _0x46fdeb=_0x77d343;super(_0x4cb577),this[_0x1adb4e]=_0xca5633[_0x46fdeb(0x2d9)]===void 0x0?null:_0xca5633[_0x46fdeb(0x2d9)],this[_0xed683e]=_0xca5633[_0x46fdeb(0x2b5)]===void 0x0?'':_0xca5633[_0x46fdeb(0x2b5)];}get[_0x77d343(0x2d9)](){return this[_0x1adb4e];}get['message'](){return this[_0xed683e];}}Object['defineProperty'](_0x2aea3a['prototype'],_0x77d343(0x2d9),{'enumerable':!0x0}),Object[_0x77d343(0x239)](_0x2aea3a[_0x77d343(0x218)],_0x77d343(0x2b5),{'enumerable':!0x0});class _0x38cde5 extends _0x1012fa{constructor(_0x69db8c,_0x58a965={}){const _0x4c8301=_0x77d343;super(_0x69db8c),this[_0x1034c7]=_0x58a965[_0x4c8301(0x213)]===void 0x0?null:_0x58a965['data'];}get[_0x77d343(0x213)](){return this[_0x1034c7];}}Object[_0x77d343(0x239)](_0x38cde5[_0x77d343(0x218)],'data',{'enumerable':!0x0}),xe={'CloseEvent':_0xb606fd,'ErrorEvent':_0x2aea3a,'Event':_0x1012fa,'EventTarget':{'addEventListener'(_0x5af95b,_0x1711b4,_0xf418c6={}){const _0x44149d=_0x77d343;for(const _0x4ef3fd of this['listeners'](_0x5af95b))if(!_0xf418c6[_0x1b11eb]&&_0x4ef3fd[_0x4629ac]===_0x1711b4&&!_0x4ef3fd[_0x1b11eb])return;let _0x3f79dd;if(_0x5af95b==='message')_0x3f79dd=function(_0x3be530,_0x48c4c6){const _0x425c0c=_0x2a36,_0xd92f55=new _0x38cde5(_0x425c0c(0x2b5),{'data':_0x48c4c6?_0x3be530:_0x3be530[_0x425c0c(0x1a8)]()});_0xd92f55[_0x318e7e]=this,_0x1ae3d9(_0x1711b4,this,_0xd92f55);};else{if(_0x5af95b==='close')_0x3f79dd=function(_0x373400,_0x1a40a6){const _0x267bb5=_0x2a36,_0x259f51=new _0xb606fd(_0x267bb5(0x290),{'code':_0x373400,'reason':_0x1a40a6[_0x267bb5(0x1a8)](),'wasClean':this[_0x267bb5(0x233)]&&this[_0x267bb5(0x1b1)]});_0x259f51[_0x318e7e]=this,_0x1ae3d9(_0x1711b4,this,_0x259f51);};else{if(_0x5af95b===_0x44149d(0x2d9))_0x3f79dd=function(_0x464b1d){const _0x5f3c7d=new _0x2aea3a('error',{'error':_0x464b1d,'message':_0x464b1d['message']});_0x5f3c7d[_0x318e7e]=this,_0x1ae3d9(_0x1711b4,this,_0x5f3c7d);};else{if(_0x5af95b===_0x44149d(0x146))_0x3f79dd=function(){const _0x3112f6=_0x44149d,_0x414f8a=new _0x1012fa(_0x3112f6(0x146));_0x414f8a[_0x318e7e]=this,_0x1ae3d9(_0x1711b4,this,_0x414f8a);};else return;}}}_0x3f79dd[_0x1b11eb]=!!_0xf418c6[_0x1b11eb],_0x3f79dd[_0x4629ac]=_0x1711b4,_0xf418c6[_0x44149d(0x1aa)]?this[_0x44149d(0x1aa)](_0x5af95b,_0x3f79dd):this['on'](_0x5af95b,_0x3f79dd);},'removeEventListener'(_0x56cb3d,_0x495f94){const _0x57e0d6=_0x77d343;for(const _0xf4f33d of this[_0x57e0d6(0x1a1)](_0x56cb3d))if(_0xf4f33d[_0x4629ac]===_0x495f94&&!_0xf4f33d[_0x1b11eb]){this[_0x57e0d6(0x149)](_0x56cb3d,_0xf4f33d);break;}}},'MessageEvent':_0x38cde5};function _0x1ae3d9(_0x110f1b,_0xff2142,_0x52d8aa){const _0x268267=_0x77d343;typeof _0x110f1b==_0x268267(0x26b)&&_0x110f1b['handleEvent']?_0x110f1b[_0x268267(0x1fd)][_0x268267(0x2c0)](_0x110f1b,_0x52d8aa):_0x110f1b[_0x268267(0x2c0)](_0xff2142,_0x52d8aa);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x4bd381}=ne();function _0x382b27(_0xbeafc4,_0x1d24b5,_0x44b42b){_0xbeafc4[_0x1d24b5]===void 0x0?_0xbeafc4[_0x1d24b5]=[_0x44b42b]:_0xbeafc4[_0x1d24b5]['push'](_0x44b42b);}function _0x35d4f7(_0x46a57e){const _0x29af1c=_0x2a36,_0x379010=Object[_0x29af1c(0x1d6)](null);let _0x28d32a=Object[_0x29af1c(0x1d6)](null),_0x3c2992=!0x1,_0x2747d8=!0x1,_0x45b3d0=!0x1,_0x25aa60,_0x2222c2,_0x111552=-0x1,_0x5b9bdc=-0x1,_0x37dc95=-0x1,_0x4616e8=0x0;for(;_0x4616e8<_0x46a57e[_0x29af1c(0x17e)];_0x4616e8++)if(_0x5b9bdc=_0x46a57e[_0x29af1c(0x2c8)](_0x4616e8),_0x25aa60===void 0x0){if(_0x37dc95===-0x1&&_0x4bd381[_0x5b9bdc]===0x1)_0x111552===-0x1&&(_0x111552=_0x4616e8);else{if(_0x4616e8!==0x0&&(_0x5b9bdc===0x20||_0x5b9bdc===0x9))_0x37dc95===-0x1&&_0x111552!==-0x1&&(_0x37dc95=_0x4616e8);else{if(_0x5b9bdc===0x3b||_0x5b9bdc===0x2c){if(_0x111552===-0x1)throw new SyntaxError(_0x29af1c(0x1a3)+_0x4616e8);_0x37dc95===-0x1&&(_0x37dc95=_0x4616e8);const _0x32938b=_0x46a57e[_0x29af1c(0x217)](_0x111552,_0x37dc95);_0x5b9bdc===0x2c?(_0x382b27(_0x379010,_0x32938b,_0x28d32a),_0x28d32a=Object[_0x29af1c(0x1d6)](null)):_0x25aa60=_0x32938b,_0x111552=_0x37dc95=-0x1;}else throw new SyntaxError(_0x29af1c(0x1a3)+_0x4616e8);}}}else{if(_0x2222c2===void 0x0){if(_0x37dc95===-0x1&&_0x4bd381[_0x5b9bdc]===0x1)_0x111552===-0x1&&(_0x111552=_0x4616e8);else{if(_0x5b9bdc===0x20||_0x5b9bdc===0x9)_0x37dc95===-0x1&&_0x111552!==-0x1&&(_0x37dc95=_0x4616e8);else{if(_0x5b9bdc===0x3b||_0x5b9bdc===0x2c){if(_0x111552===-0x1)throw new SyntaxError(_0x29af1c(0x1a3)+_0x4616e8);_0x37dc95===-0x1&&(_0x37dc95=_0x4616e8),_0x382b27(_0x28d32a,_0x46a57e[_0x29af1c(0x217)](_0x111552,_0x37dc95),!0x0),_0x5b9bdc===0x2c&&(_0x382b27(_0x379010,_0x25aa60,_0x28d32a),_0x28d32a=Object['create'](null),_0x25aa60=void 0x0),_0x111552=_0x37dc95=-0x1;}else{if(_0x5b9bdc===0x3d&&_0x111552!==-0x1&&_0x37dc95===-0x1)_0x2222c2=_0x46a57e[_0x29af1c(0x217)](_0x111552,_0x4616e8),_0x111552=_0x37dc95=-0x1;else throw new SyntaxError(_0x29af1c(0x1a3)+_0x4616e8);}}}}else{if(_0x2747d8){if(_0x4bd381[_0x5b9bdc]!==0x1)throw new SyntaxError(_0x29af1c(0x1a3)+_0x4616e8);_0x111552===-0x1?_0x111552=_0x4616e8:_0x3c2992||(_0x3c2992=!0x0),_0x2747d8=!0x1;}else{if(_0x45b3d0){if(_0x4bd381[_0x5b9bdc]===0x1)_0x111552===-0x1&&(_0x111552=_0x4616e8);else{if(_0x5b9bdc===0x22&&_0x111552!==-0x1)_0x45b3d0=!0x1,_0x37dc95=_0x4616e8;else{if(_0x5b9bdc===0x5c)_0x2747d8=!0x0;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x4616e8);}}}else{if(_0x5b9bdc===0x22&&_0x46a57e[_0x29af1c(0x2c8)](_0x4616e8-0x1)===0x3d)_0x45b3d0=!0x0;else{if(_0x37dc95===-0x1&&_0x4bd381[_0x5b9bdc]===0x1)_0x111552===-0x1&&(_0x111552=_0x4616e8);else{if(_0x111552!==-0x1&&(_0x5b9bdc===0x20||_0x5b9bdc===0x9))_0x37dc95===-0x1&&(_0x37dc95=_0x4616e8);else{if(_0x5b9bdc===0x3b||_0x5b9bdc===0x2c){if(_0x111552===-0x1)throw new SyntaxError(_0x29af1c(0x1a3)+_0x4616e8);_0x37dc95===-0x1&&(_0x37dc95=_0x4616e8);let _0x6425de=_0x46a57e[_0x29af1c(0x217)](_0x111552,_0x37dc95);_0x3c2992&&(_0x6425de=_0x6425de[_0x29af1c(0x22b)](/\\/g,''),_0x3c2992=!0x1),_0x382b27(_0x28d32a,_0x2222c2,_0x6425de),_0x5b9bdc===0x2c&&(_0x382b27(_0x379010,_0x25aa60,_0x28d32a),_0x28d32a=Object['create'](null),_0x25aa60=void 0x0),_0x2222c2=void 0x0,_0x111552=_0x37dc95=-0x1;}else throw new SyntaxError(_0x29af1c(0x1a3)+_0x4616e8);}}}}}}}if(_0x111552===-0x1||_0x45b3d0||_0x5b9bdc===0x20||_0x5b9bdc===0x9)throw new SyntaxError(_0x29af1c(0x246));_0x37dc95===-0x1&&(_0x37dc95=_0x4616e8);const _0x41ba90=_0x46a57e['slice'](_0x111552,_0x37dc95);return _0x25aa60===void 0x0?_0x382b27(_0x379010,_0x41ba90,_0x28d32a):(_0x2222c2===void 0x0?_0x382b27(_0x28d32a,_0x41ba90,!0x0):_0x3c2992?_0x382b27(_0x28d32a,_0x2222c2,_0x41ba90[_0x29af1c(0x22b)](/\\/g,'')):_0x382b27(_0x28d32a,_0x2222c2,_0x41ba90),_0x382b27(_0x379010,_0x25aa60,_0x28d32a)),_0x379010;}function _0x576673(_0x73042a){const _0x2ed709=_0x2a36;return Object[_0x2ed709(0x212)](_0x73042a)['map'](_0x5b4783=>{const _0x2df2d3=_0x2ed709;let _0x1d8dd3=_0x73042a[_0x5b4783];return Array['isArray'](_0x1d8dd3)||(_0x1d8dd3=[_0x1d8dd3]),_0x1d8dd3[_0x2df2d3(0x245)](_0x567e37=>[_0x5b4783][_0x2df2d3(0x1da)](Object[_0x2df2d3(0x212)](_0x567e37)[_0x2df2d3(0x245)](_0x4aa5d3=>{const _0x5b8010=_0x2df2d3;let _0x3ab38d=_0x567e37[_0x4aa5d3];return Array[_0x5b8010(0x2ad)](_0x3ab38d)||(_0x3ab38d=[_0x3ab38d]),_0x3ab38d[_0x5b8010(0x245)](_0x5f32d9=>_0x5f32d9===!0x0?_0x4aa5d3:_0x4aa5d3+'='+_0x5f32d9)['join'](';\x20');}))[_0x2df2d3(0x27f)](';\x20'))[_0x2df2d3(0x27f)](',\x20');})['join'](',\x20');}return be={'format':_0x576673,'parse':_0x35d4f7},be;}var we,st;function Ie(){const _0x4bad16=_0xf7eb09;if(st)return we;st=0x1;const _0x30b5da=_0x42d902,_0x4224d7=_0x4d87d3,_0x2a5e0b=_0x244b75,_0x5c240a=_0x5444d5,_0x34edae=_0x574d6b,{randomBytes:_0x3439e1,createHash:_0x40bd7f}=_0x18e394,{Duplex:_0x4ec647,Readable:_0x3b20a1}=_0x1c53b5,{URL:_0xb68b68}=_0x2bd41c,_0x31c4c9=he(),_0x355659=dt(),_0x5bac3b=_t(),{isBlob:_0x39d03b}=ne(),{BINARY_TYPES:_0x555036,EMPTY_BUFFER:_0x5e594d,GUID:_0x3ba165,kForOnEventAttribute:_0x3c9a83,kListener:_0x4fe9b6,kStatusCode:_0x2abfd1,kWebSocket:_0x1259e4,NOOP:_0x15a05a}=V(),{EventTarget:{addEventListener:_0x2a6db5,removeEventListener:_0x3c01c1}}=Kt(),{format:_0x1107c4,parse:_0x27fc6b}=pt(),{toBuffer:_0x7b3cd5}=ce(),_0x1f0aa7=0x1e*0x3e8,_0x20ce23=Symbol(_0x4bad16(0x1a7)),_0x169503=[0x8,0xd],_0x2206f2=[_0x4bad16(0x2b1),_0x4bad16(0x13d),_0x4bad16(0x1c3),_0x4bad16(0x254)],_0x2cab59=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x3f840 extends _0x30b5da{constructor(_0x1a6046,_0x3e0b67,_0x4f56a5){const _0x44a29c=_0x4bad16;super(),this[_0x44a29c(0x1f9)]=_0x555036[0x0],this['_closeCode']=0x3ee,this[_0x44a29c(0x233)]=!0x1,this[_0x44a29c(0x1b1)]=!0x1,this[_0x44a29c(0x2e1)]=_0x5e594d,this['_closeTimer']=null,this[_0x44a29c(0x291)]=!0x1,this[_0x44a29c(0x21e)]={},this[_0x44a29c(0x165)]=!0x1,this[_0x44a29c(0x16e)]='',this['_readyState']=_0x3f840[_0x44a29c(0x2b1)],this[_0x44a29c(0x2af)]=null,this[_0x44a29c(0x153)]=null,this[_0x44a29c(0x257)]=null,_0x1a6046!==null?(this[_0x44a29c(0x299)]=0x0,this['_isServer']=!0x1,this[_0x44a29c(0x168)]=0x0,_0x3e0b67===void 0x0?_0x3e0b67=[]:Array[_0x44a29c(0x2ad)](_0x3e0b67)||(typeof _0x3e0b67==_0x44a29c(0x26b)&&_0x3e0b67!==null?(_0x4f56a5=_0x3e0b67,_0x3e0b67=[]):_0x3e0b67=[_0x3e0b67]),_0x125401(this,_0x1a6046,_0x3e0b67,_0x4f56a5)):(this[_0x44a29c(0x1ef)]=_0x4f56a5[_0x44a29c(0x1f1)],this[_0x44a29c(0x2ae)]=!0x0);}get['binaryType'](){const _0x266bd7=_0x4bad16;return this[_0x266bd7(0x1f9)];}set[_0x4bad16(0x2b6)](_0x1770bb){const _0x438e98=_0x4bad16;_0x555036[_0x438e98(0x1ad)](_0x1770bb)&&(this['_binaryType']=_0x1770bb,this[_0x438e98(0x2af)]&&(this['_receiver'][_0x438e98(0x1f9)]=_0x1770bb));}get['bufferedAmount'](){const _0x169598=_0x4bad16;return this[_0x169598(0x257)]?this[_0x169598(0x257)][_0x169598(0x176)][_0x169598(0x17e)]+this[_0x169598(0x153)]['_bufferedBytes']:this['_bufferedAmount'];}get[_0x4bad16(0x288)](){const _0x3b7a7f=_0x4bad16;return Object['keys'](this[_0x3b7a7f(0x21e)])[_0x3b7a7f(0x27f)]();}get['isPaused'](){const _0x17adf4=_0x4bad16;return this[_0x17adf4(0x165)];}get[_0x4bad16(0x26f)](){return null;}get[_0x4bad16(0x20d)](){return null;}get['onopen'](){return null;}get['onmessage'](){return null;}get[_0x4bad16(0x29b)](){const _0x21c63f=_0x4bad16;return this[_0x21c63f(0x16e)];}get[_0x4bad16(0x170)](){return this['_readyState'];}get['url'](){const _0x148d32=_0x4bad16;return this[_0x148d32(0x2c2)];}['setSocket'](_0x39dbb2,_0x31b3dd,_0x5075f1){const _0xb5963f=_0x4bad16,_0x912ea2=new _0x355659({'allowSynchronousEvents':_0x5075f1['allowSynchronousEvents'],'binaryType':this[_0xb5963f(0x2b6)],'extensions':this[_0xb5963f(0x21e)],'isServer':this[_0xb5963f(0x2ae)],'maxPayload':_0x5075f1[_0xb5963f(0x191)],'skipUTF8Validation':_0x5075f1[_0xb5963f(0x2cf)]}),_0x4a765d=new _0x5bac3b(_0x39dbb2,this[_0xb5963f(0x21e)],_0x5075f1[_0xb5963f(0x20f)]);this[_0xb5963f(0x2af)]=_0x912ea2,this[_0xb5963f(0x153)]=_0x4a765d,this[_0xb5963f(0x257)]=_0x39dbb2,_0x912ea2[_0x1259e4]=this,_0x4a765d[_0x1259e4]=this,_0x39dbb2[_0x1259e4]=this,_0x912ea2['on'](_0xb5963f(0x25b),_0x4db9cd),_0x912ea2['on']('drain',_0x53a483),_0x912ea2['on'](_0xb5963f(0x2d9),_0x49ecee),_0x912ea2['on'](_0xb5963f(0x2b5),_0x4018e8),_0x912ea2['on'](_0xb5963f(0x255),_0x47ea2c),_0x912ea2['on'](_0xb5963f(0x158),_0x3321e8),_0x4a765d[_0xb5963f(0x20d)]=_0x1c3f0b,_0x39dbb2[_0xb5963f(0x2a2)]&&_0x39dbb2['setTimeout'](0x0),_0x39dbb2[_0xb5963f(0x211)]&&_0x39dbb2[_0xb5963f(0x211)](),_0x31b3dd[_0xb5963f(0x17e)]>0x0&&_0x39dbb2['unshift'](_0x31b3dd),_0x39dbb2['on']('close',_0x55f8fb),_0x39dbb2['on']('data',_0x2914ef),_0x39dbb2['on'](_0xb5963f(0x29c),_0x34a701),_0x39dbb2['on'](_0xb5963f(0x2d9),_0x53b150),this[_0xb5963f(0x28f)]=_0x3f840['OPEN'],this[_0xb5963f(0x1d9)](_0xb5963f(0x146));}['emitClose'](){const _0x3ea19b=_0x4bad16;if(!this['_socket']){this['_readyState']=_0x3f840[_0x3ea19b(0x254)],this[_0x3ea19b(0x1d9)](_0x3ea19b(0x290),this[_0x3ea19b(0x166)],this[_0x3ea19b(0x2e1)]);return;}this[_0x3ea19b(0x21e)][_0x31c4c9[_0x3ea19b(0x15a)]]&&this[_0x3ea19b(0x21e)][_0x31c4c9[_0x3ea19b(0x15a)]][_0x3ea19b(0x179)](),this[_0x3ea19b(0x2af)][_0x3ea19b(0x1e4)](),this['_readyState']=_0x3f840[_0x3ea19b(0x254)],this[_0x3ea19b(0x1d9)](_0x3ea19b(0x290),this[_0x3ea19b(0x166)],this[_0x3ea19b(0x2e1)]);}[_0x4bad16(0x290)](_0x39ba53,_0xf7f5d){const _0x6ab269=_0x4bad16;if(this[_0x6ab269(0x170)]!==_0x3f840[_0x6ab269(0x254)]){if(this[_0x6ab269(0x170)]===_0x3f840[_0x6ab269(0x2b1)]){_0x1ab6d2(this,this['_req'],_0x6ab269(0x262));return;}if(this[_0x6ab269(0x170)]===_0x3f840[_0x6ab269(0x1c3)]){this[_0x6ab269(0x1b1)]&&(this[_0x6ab269(0x233)]||this[_0x6ab269(0x2af)][_0x6ab269(0x176)]['errorEmitted'])&&this[_0x6ab269(0x257)][_0x6ab269(0x29c)]();return;}this[_0x6ab269(0x28f)]=_0x3f840[_0x6ab269(0x1c3)],this[_0x6ab269(0x153)][_0x6ab269(0x290)](_0x39ba53,_0xf7f5d,!this[_0x6ab269(0x2ae)],_0x138b43=>{const _0x78dcd5=_0x6ab269;_0x138b43||(this[_0x78dcd5(0x1b1)]=!0x0,(this[_0x78dcd5(0x233)]||this[_0x78dcd5(0x2af)][_0x78dcd5(0x176)][_0x78dcd5(0x2b2)])&&this[_0x78dcd5(0x257)][_0x78dcd5(0x29c)]());}),_0x1ca871(this);}}[_0x4bad16(0x225)](){const _0x19d2f6=_0x4bad16;this[_0x19d2f6(0x170)]===_0x3f840[_0x19d2f6(0x2b1)]||this[_0x19d2f6(0x170)]===_0x3f840['CLOSED']||(this[_0x19d2f6(0x165)]=!0x0,this[_0x19d2f6(0x257)]['pause']());}[_0x4bad16(0x255)](_0x4a329a,_0x2277ae,_0x17a211){const _0x3bd811=_0x4bad16;if(this[_0x3bd811(0x170)]===_0x3f840[_0x3bd811(0x2b1)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x4a329a=='function'?(_0x17a211=_0x4a329a,_0x4a329a=_0x2277ae=void 0x0):typeof _0x2277ae=='function'&&(_0x17a211=_0x2277ae,_0x2277ae=void 0x0),typeof _0x4a329a=='number'&&(_0x4a329a=_0x4a329a[_0x3bd811(0x1a8)]()),this[_0x3bd811(0x170)]!==_0x3f840[_0x3bd811(0x13d)]){_0x502d17(this,_0x4a329a,_0x17a211);return;}_0x2277ae===void 0x0&&(_0x2277ae=!this[_0x3bd811(0x2ae)]),this[_0x3bd811(0x153)][_0x3bd811(0x255)](_0x4a329a||_0x5e594d,_0x2277ae,_0x17a211);}[_0x4bad16(0x158)](_0x56c5ea,_0x1c1b85,_0x2234d4){const _0x131008=_0x4bad16;if(this[_0x131008(0x170)]===_0x3f840[_0x131008(0x2b1)])throw new Error(_0x131008(0x1ab));if(typeof _0x56c5ea==_0x131008(0x22e)?(_0x2234d4=_0x56c5ea,_0x56c5ea=_0x1c1b85=void 0x0):typeof _0x1c1b85=='function'&&(_0x2234d4=_0x1c1b85,_0x1c1b85=void 0x0),typeof _0x56c5ea=='number'&&(_0x56c5ea=_0x56c5ea[_0x131008(0x1a8)]()),this[_0x131008(0x170)]!==_0x3f840[_0x131008(0x13d)]){_0x502d17(this,_0x56c5ea,_0x2234d4);return;}_0x1c1b85===void 0x0&&(_0x1c1b85=!this[_0x131008(0x2ae)]),this[_0x131008(0x153)][_0x131008(0x158)](_0x56c5ea||_0x5e594d,_0x1c1b85,_0x2234d4);}[_0x4bad16(0x227)](){const _0x1f2763=_0x4bad16;this[_0x1f2763(0x170)]===_0x3f840['CONNECTING']||this[_0x1f2763(0x170)]===_0x3f840[_0x1f2763(0x254)]||(this[_0x1f2763(0x165)]=!0x1,this[_0x1f2763(0x2af)]['_writableState'][_0x1f2763(0x164)]||this[_0x1f2763(0x257)][_0x1f2763(0x227)]());}[_0x4bad16(0x184)](_0x304bb2,_0x32434d,_0x5a24eb){const _0x3f5066=_0x4bad16;if(this['readyState']===_0x3f840[_0x3f5066(0x2b1)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x32434d==_0x3f5066(0x22e)&&(_0x5a24eb=_0x32434d,_0x32434d={}),typeof _0x304bb2==_0x3f5066(0x1cd)&&(_0x304bb2=_0x304bb2[_0x3f5066(0x1a8)]()),this[_0x3f5066(0x170)]!==_0x3f840[_0x3f5066(0x13d)]){_0x502d17(this,_0x304bb2,_0x5a24eb);return;}const _0x26d31a={'binary':typeof _0x304bb2!=_0x3f5066(0x221),'mask':!this[_0x3f5066(0x2ae)],'compress':!0x0,'fin':!0x0,..._0x32434d};this[_0x3f5066(0x21e)][_0x31c4c9[_0x3f5066(0x15a)]]||(_0x26d31a['compress']=!0x1),this[_0x3f5066(0x153)][_0x3f5066(0x184)](_0x304bb2||_0x5e594d,_0x26d31a,_0x5a24eb);}[_0x4bad16(0x139)](){const _0x479278=_0x4bad16;if(this['readyState']!==_0x3f840[_0x479278(0x254)]){if(this[_0x479278(0x170)]===_0x3f840[_0x479278(0x2b1)]){_0x1ab6d2(this,this[_0x479278(0x19d)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}this[_0x479278(0x257)]&&(this['_readyState']=_0x3f840[_0x479278(0x1c3)],this[_0x479278(0x257)][_0x479278(0x1bd)]());}}}Object[_0x4bad16(0x239)](_0x3f840,_0x4bad16(0x2b1),{'enumerable':!0x0,'value':_0x2206f2['indexOf']('CONNECTING')}),Object['defineProperty'](_0x3f840[_0x4bad16(0x218)],_0x4bad16(0x2b1),{'enumerable':!0x0,'value':_0x2206f2['indexOf'](_0x4bad16(0x2b1))}),Object[_0x4bad16(0x239)](_0x3f840,'OPEN',{'enumerable':!0x0,'value':_0x2206f2[_0x4bad16(0x15d)](_0x4bad16(0x13d))}),Object[_0x4bad16(0x239)](_0x3f840[_0x4bad16(0x218)],'OPEN',{'enumerable':!0x0,'value':_0x2206f2[_0x4bad16(0x15d)]('OPEN')}),Object[_0x4bad16(0x239)](_0x3f840,_0x4bad16(0x1c3),{'enumerable':!0x0,'value':_0x2206f2[_0x4bad16(0x15d)](_0x4bad16(0x1c3))}),Object[_0x4bad16(0x239)](_0x3f840[_0x4bad16(0x218)],_0x4bad16(0x1c3),{'enumerable':!0x0,'value':_0x2206f2[_0x4bad16(0x15d)](_0x4bad16(0x1c3))}),Object[_0x4bad16(0x239)](_0x3f840,'CLOSED',{'enumerable':!0x0,'value':_0x2206f2[_0x4bad16(0x15d)](_0x4bad16(0x254))}),Object[_0x4bad16(0x239)](_0x3f840[_0x4bad16(0x218)],'CLOSED',{'enumerable':!0x0,'value':_0x2206f2[_0x4bad16(0x15d)]('CLOSED')}),[_0x4bad16(0x2b6),_0x4bad16(0x188),_0x4bad16(0x288),'isPaused',_0x4bad16(0x29b),_0x4bad16(0x170),_0x4bad16(0x1a9)][_0x4bad16(0x1e8)](_0x50502b=>{const _0x3b6056=_0x4bad16;Object[_0x3b6056(0x239)](_0x3f840['prototype'],_0x50502b,{'enumerable':!0x0});}),[_0x4bad16(0x146),'error',_0x4bad16(0x290),'message'][_0x4bad16(0x1e8)](_0x370a17=>{const _0x5e56aa=_0x4bad16;Object[_0x5e56aa(0x239)](_0x3f840['prototype'],'on'+_0x370a17,{'enumerable':!0x0,'get'(){const _0x3e0acc=_0x5e56aa;for(const _0x3bff94 of this[_0x3e0acc(0x1a1)](_0x370a17))if(_0x3bff94[_0x3c9a83])return _0x3bff94[_0x4fe9b6];return null;},'set'(_0x26a397){const _0x247917=_0x5e56aa;for(const _0x1d5198 of this[_0x247917(0x1a1)](_0x370a17))if(_0x1d5198[_0x3c9a83]){this['removeListener'](_0x370a17,_0x1d5198);break;}typeof _0x26a397=='function'&&this[_0x247917(0x137)](_0x370a17,_0x26a397,{[_0x3c9a83]:!0x0});}});}),_0x3f840[_0x4bad16(0x218)][_0x4bad16(0x137)]=_0x2a6db5,_0x3f840[_0x4bad16(0x218)][_0x4bad16(0x29d)]=_0x3c01c1,we=_0x3f840;function _0x125401(_0x1f2e05,_0x58bf63,_0x4cecf4,_0x2cfbba){const _0xc13af2=_0x4bad16,_0x3b932e={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x169503[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x2cfbba,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0xc13af2(0x1f7),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x1f2e05[_0xc13af2(0x1ef)]=_0x3b932e[_0xc13af2(0x1f1)],!_0x169503[_0xc13af2(0x1ad)](_0x3b932e[_0xc13af2(0x159)]))throw new RangeError(_0xc13af2(0x1fa)+_0x3b932e[_0xc13af2(0x159)]+_0xc13af2(0x1bb)+_0x169503[_0xc13af2(0x27f)](',\x20')+')');let _0x2dde96;if(_0x58bf63 instanceof _0xb68b68)_0x2dde96=_0x58bf63;else try{_0x2dde96=new _0xb68b68(_0x58bf63);}catch{throw new SyntaxError(_0xc13af2(0x21a)+_0x58bf63);}_0x2dde96[_0xc13af2(0x29b)]==='http:'?_0x2dde96['protocol']='ws:':_0x2dde96[_0xc13af2(0x29b)]===_0xc13af2(0x1e0)&&(_0x2dde96[_0xc13af2(0x29b)]=_0xc13af2(0x1ec)),_0x1f2e05[_0xc13af2(0x2c2)]=_0x2dde96[_0xc13af2(0x1ea)];const _0x1963cb=_0x2dde96[_0xc13af2(0x29b)]==='wss:',_0x166620=_0x2dde96['protocol']===_0xc13af2(0x1e1);let _0x40e6ce;if(_0x2dde96['protocol']!==_0xc13af2(0x297)&&!_0x1963cb&&!_0x166620?_0x40e6ce=_0xc13af2(0x2b0):_0x166620&&!_0x2dde96['pathname']?_0x40e6ce=_0xc13af2(0x238):_0x2dde96[_0xc13af2(0x207)]&&(_0x40e6ce=_0xc13af2(0x14e)),_0x40e6ce){const _0x403b74=new SyntaxError(_0x40e6ce);if(_0x1f2e05['_redirects']===0x0)throw _0x403b74;_0x552592(_0x1f2e05,_0x403b74);return;}const _0x38caf5=_0x1963cb?0x1bb:0x50,_0x4d62ec=_0x3439e1(0x10)[_0xc13af2(0x1a8)](_0xc13af2(0x144)),_0x2ac09d=_0x1963cb?_0x4224d7[_0xc13af2(0x152)]:_0x2a5e0b[_0xc13af2(0x152)],_0x53d073=new Set();let _0x55b6d6;if(_0x3b932e[_0xc13af2(0x267)]=_0x3b932e[_0xc13af2(0x267)]||(_0x1963cb?_0x5e3c0e:_0x4b782a),_0x3b932e[_0xc13af2(0x269)]=_0x3b932e['defaultPort']||_0x38caf5,_0x3b932e[_0xc13af2(0x197)]=_0x2dde96['port']||_0x38caf5,_0x3b932e[_0xc13af2(0x2a1)]=_0x2dde96[_0xc13af2(0x206)]['startsWith']('[')?_0x2dde96[_0xc13af2(0x206)][_0xc13af2(0x217)](0x1,-0x1):_0x2dde96['hostname'],_0x3b932e[_0xc13af2(0x2ba)]={..._0x3b932e[_0xc13af2(0x2ba)],'Sec-WebSocket-Version':_0x3b932e['protocolVersion'],'Sec-WebSocket-Key':_0x4d62ec,'Connection':_0xc13af2(0x163),'Upgrade':_0xc13af2(0x16b)},_0x3b932e[_0xc13af2(0x241)]=_0x2dde96[_0xc13af2(0x2cc)]+_0x2dde96[_0xc13af2(0x200)],_0x3b932e[_0xc13af2(0x1a6)]=_0x3b932e[_0xc13af2(0x230)],_0x3b932e[_0xc13af2(0x27a)]&&(_0x55b6d6=new _0x31c4c9(_0x3b932e[_0xc13af2(0x27a)]!==!0x0?_0x3b932e[_0xc13af2(0x27a)]:{},!0x1,_0x3b932e['maxPayload']),_0x3b932e[_0xc13af2(0x2ba)][_0xc13af2(0x1cb)]=_0x1107c4({[_0x31c4c9[_0xc13af2(0x15a)]]:_0x55b6d6['offer']()})),_0x4cecf4['length']){for(const _0x34c3a1 of _0x4cecf4){if(typeof _0x34c3a1!='string'||!_0x2cab59[_0xc13af2(0x180)](_0x34c3a1)||_0x53d073[_0xc13af2(0x2d7)](_0x34c3a1))throw new SyntaxError(_0xc13af2(0x2ce));_0x53d073[_0xc13af2(0x16a)](_0x34c3a1);}_0x3b932e[_0xc13af2(0x2ba)][_0xc13af2(0x276)]=_0x4cecf4[_0xc13af2(0x27f)](',');}if(_0x3b932e[_0xc13af2(0x2d2)]&&(_0x3b932e[_0xc13af2(0x159)]<0xd?_0x3b932e[_0xc13af2(0x2ba)][_0xc13af2(0x1d2)]=_0x3b932e[_0xc13af2(0x2d2)]:_0x3b932e[_0xc13af2(0x2ba)]['Origin']=_0x3b932e['origin']),(_0x2dde96['username']||_0x2dde96[_0xc13af2(0x196)])&&(_0x3b932e[_0xc13af2(0x17d)]=_0x2dde96[_0xc13af2(0x24b)]+':'+_0x2dde96[_0xc13af2(0x196)]),_0x166620){const _0x12907e=_0x3b932e[_0xc13af2(0x241)]['split'](':');_0x3b932e['socketPath']=_0x12907e[0x0],_0x3b932e[_0xc13af2(0x241)]=_0x12907e[0x1];}let _0x17e40e;if(_0x3b932e[_0xc13af2(0x17c)]){if(_0x1f2e05['_redirects']===0x0){_0x1f2e05[_0xc13af2(0x2d1)]=_0x166620,_0x1f2e05[_0xc13af2(0x1dc)]=_0x1963cb,_0x1f2e05[_0xc13af2(0x1ae)]=_0x166620?_0x3b932e[_0xc13af2(0x1f8)]:_0x2dde96['host'];const _0x31af8f=_0x2cfbba&&_0x2cfbba[_0xc13af2(0x2ba)];if(_0x2cfbba={..._0x2cfbba,'headers':{}},_0x31af8f){for(const [_0x2c9b02,_0x1b835b]of Object[_0xc13af2(0x1f6)](_0x31af8f))_0x2cfbba[_0xc13af2(0x2ba)][_0x2c9b02['toLowerCase']()]=_0x1b835b;}}else{if(_0x1f2e05[_0xc13af2(0x151)](_0xc13af2(0x2e3))===0x0){const _0x3c3765=_0x166620?_0x1f2e05[_0xc13af2(0x2d1)]?_0x3b932e[_0xc13af2(0x1f8)]===_0x1f2e05[_0xc13af2(0x1ae)]:!0x1:_0x1f2e05[_0xc13af2(0x2d1)]?!0x1:_0x2dde96[_0xc13af2(0x2a1)]===_0x1f2e05['_originalHostOrSocketPath'];(!_0x3c3765||_0x1f2e05[_0xc13af2(0x1dc)]&&!_0x1963cb)&&(delete _0x3b932e['headers']['authorization'],delete _0x3b932e[_0xc13af2(0x2ba)][_0xc13af2(0x203)],_0x3c3765||delete _0x3b932e['headers']['host'],_0x3b932e[_0xc13af2(0x17d)]=void 0x0);}}_0x3b932e[_0xc13af2(0x17d)]&&!_0x2cfbba['headers'][_0xc13af2(0x253)]&&(_0x2cfbba[_0xc13af2(0x2ba)][_0xc13af2(0x253)]=_0xc13af2(0x247)+Buffer[_0xc13af2(0x210)](_0x3b932e[_0xc13af2(0x17d)])[_0xc13af2(0x1a8)]('base64')),_0x17e40e=_0x1f2e05['_req']=_0x2ac09d(_0x3b932e),_0x1f2e05['_redirects']&&_0x1f2e05[_0xc13af2(0x1d9)](_0xc13af2(0x2e3),_0x1f2e05['url'],_0x17e40e);}else _0x17e40e=_0x1f2e05[_0xc13af2(0x19d)]=_0x2ac09d(_0x3b932e);_0x3b932e[_0xc13af2(0x1a6)]&&_0x17e40e['on'](_0xc13af2(0x1a6),()=>{const _0x41c4c0=_0xc13af2;_0x1ab6d2(_0x1f2e05,_0x17e40e,_0x41c4c0(0x27c));}),_0x17e40e['on']('error',_0x312838=>{_0x17e40e===null||_0x17e40e[_0x20ce23]||(_0x17e40e=_0x1f2e05['_req']=null,_0x552592(_0x1f2e05,_0x312838));}),_0x17e40e['on'](_0xc13af2(0x25a),_0x36d1f7=>{const _0xca809=_0xc13af2,_0x3f0449=_0x36d1f7[_0xca809(0x2ba)][_0xca809(0x2a9)],_0x284428=_0x36d1f7[_0xca809(0x1f3)];if(_0x3f0449&&_0x3b932e['followRedirects']&&_0x284428>=0x12c&&_0x284428<0x190){if(++_0x1f2e05[_0xca809(0x168)]>_0x3b932e[_0xca809(0x285)]){_0x1ab6d2(_0x1f2e05,_0x17e40e,'Maximum\x20redirects\x20exceeded');return;}_0x17e40e[_0xca809(0x270)]();let _0x2c9e48;try{_0x2c9e48=new _0xb68b68(_0x3f0449,_0x58bf63);}catch{const _0x55c9ed=new SyntaxError(_0xca809(0x21a)+_0x3f0449);_0x552592(_0x1f2e05,_0x55c9ed);return;}_0x125401(_0x1f2e05,_0x2c9e48,_0x4cecf4,_0x2cfbba);}else _0x1f2e05['emit']('unexpected-response',_0x17e40e,_0x36d1f7)||_0x1ab6d2(_0x1f2e05,_0x17e40e,_0xca809(0x1fc)+_0x36d1f7['statusCode']);}),_0x17e40e['on'](_0xc13af2(0x2ca),(_0xfb1f4d,_0x3ab746,_0x53eb56)=>{const _0x136370=_0xc13af2;if(_0x1f2e05[_0x136370(0x1d9)]('upgrade',_0xfb1f4d),_0x1f2e05[_0x136370(0x170)]!==_0x3f840[_0x136370(0x2b1)])return;_0x17e40e=_0x1f2e05['_req']=null;const _0x48f07f=_0xfb1f4d[_0x136370(0x2ba)][_0x136370(0x2ca)];if(_0x48f07f===void 0x0||_0x48f07f[_0x136370(0x234)]()!=='websocket'){_0x1ab6d2(_0x1f2e05,_0x3ab746,_0x136370(0x1db));return;}const _0x11c3d1=_0x40bd7f(_0x136370(0x2e4))[_0x136370(0x2bc)](_0x4d62ec+_0x3ba165)[_0x136370(0x20c)](_0x136370(0x144));if(_0xfb1f4d[_0x136370(0x2ba)]['sec-websocket-accept']!==_0x11c3d1){_0x1ab6d2(_0x1f2e05,_0x3ab746,_0x136370(0x192));return;}const _0x19dd63=_0xfb1f4d['headers'][_0x136370(0x27b)];let _0x7b5349;if(_0x19dd63!==void 0x0?_0x53d073[_0x136370(0x1a5)]?_0x53d073[_0x136370(0x2d7)](_0x19dd63)||(_0x7b5349='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0x7b5349=_0x136370(0x1ac):_0x53d073[_0x136370(0x1a5)]&&(_0x7b5349=_0x136370(0x19c)),_0x7b5349){_0x1ab6d2(_0x1f2e05,_0x3ab746,_0x7b5349);return;}_0x19dd63&&(_0x1f2e05[_0x136370(0x16e)]=_0x19dd63);const _0x560c6e=_0xfb1f4d['headers'][_0x136370(0x29f)];if(_0x560c6e!==void 0x0){if(!_0x55b6d6){_0x1ab6d2(_0x1f2e05,_0x3ab746,_0x136370(0x280));return;}let _0x5ed77f;try{_0x5ed77f=_0x27fc6b(_0x560c6e);}catch{_0x1ab6d2(_0x1f2e05,_0x3ab746,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0x3cc079=Object[_0x136370(0x212)](_0x5ed77f);if(_0x3cc079[_0x136370(0x17e)]!==0x1||_0x3cc079[0x0]!==_0x31c4c9[_0x136370(0x15a)]){_0x1ab6d2(_0x1f2e05,_0x3ab746,'Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested');return;}try{_0x55b6d6[_0x136370(0x25e)](_0x5ed77f[_0x31c4c9[_0x136370(0x15a)]]);}catch{_0x1ab6d2(_0x1f2e05,_0x3ab746,_0x136370(0x2cb));return;}_0x1f2e05['_extensions'][_0x31c4c9[_0x136370(0x15a)]]=_0x55b6d6;}_0x1f2e05['setSocket'](_0x3ab746,_0x53eb56,{'allowSynchronousEvents':_0x3b932e['allowSynchronousEvents'],'generateMask':_0x3b932e['generateMask'],'maxPayload':_0x3b932e[_0x136370(0x191)],'skipUTF8Validation':_0x3b932e[_0x136370(0x2cf)]});}),_0x3b932e[_0xc13af2(0x2aa)]?_0x3b932e[_0xc13af2(0x2aa)](_0x17e40e,_0x1f2e05):_0x17e40e[_0xc13af2(0x29c)]();}function _0x552592(_0x263fc0,_0x1e95d9){const _0xd435ba=_0x4bad16;_0x263fc0[_0xd435ba(0x28f)]=_0x3f840[_0xd435ba(0x1c3)],_0x263fc0[_0xd435ba(0x291)]=!0x0,_0x263fc0['emit'](_0xd435ba(0x2d9),_0x1e95d9),_0x263fc0[_0xd435ba(0x22f)]();}function _0x4b782a(_0x562a6a){const _0x698d59=_0x4bad16;return _0x562a6a[_0x698d59(0x241)]=_0x562a6a[_0x698d59(0x1f8)],_0x5c240a[_0x698d59(0x2c7)](_0x562a6a);}function _0x5e3c0e(_0x205ca7){const _0x59f6ee=_0x4bad16;return _0x205ca7[_0x59f6ee(0x241)]=void 0x0,!_0x205ca7[_0x59f6ee(0x282)]&&_0x205ca7['servername']!==''&&(_0x205ca7['servername']=_0x5c240a[_0x59f6ee(0x23f)](_0x205ca7[_0x59f6ee(0x2a1)])?'':_0x205ca7['host']),_0x34edae[_0x59f6ee(0x2c7)](_0x205ca7);}function _0x1ab6d2(_0x36c107,_0x6200f,_0x3210b5){const _0x293374=_0x4bad16;_0x36c107[_0x293374(0x28f)]=_0x3f840[_0x293374(0x1c3)];const _0x542edb=new Error(_0x3210b5);Error[_0x293374(0x147)](_0x542edb,_0x1ab6d2),_0x6200f['setHeader']?(_0x6200f[_0x20ce23]=!0x0,_0x6200f[_0x293374(0x270)](),_0x6200f[_0x293374(0x25d)]&&!_0x6200f[_0x293374(0x25d)]['destroyed']&&_0x6200f[_0x293374(0x25d)][_0x293374(0x1bd)](),process[_0x293374(0x1dd)](_0x552592,_0x36c107,_0x542edb)):(_0x6200f['destroy'](_0x542edb),_0x6200f[_0x293374(0x1aa)](_0x293374(0x2d9),_0x36c107[_0x293374(0x1d9)][_0x293374(0x195)](_0x36c107,'error')),_0x6200f[_0x293374(0x1aa)](_0x293374(0x290),_0x36c107[_0x293374(0x22f)][_0x293374(0x195)](_0x36c107)));}function _0x502d17(_0x56ac1d,_0x1c9afd,_0x250d14){const _0x3c653e=_0x4bad16;if(_0x1c9afd){const _0x399407=_0x39d03b(_0x1c9afd)?_0x1c9afd[_0x3c653e(0x1a5)]:_0x7b3cd5(_0x1c9afd)['length'];_0x56ac1d[_0x3c653e(0x257)]?_0x56ac1d[_0x3c653e(0x153)][_0x3c653e(0x2da)]+=_0x399407:_0x56ac1d[_0x3c653e(0x299)]+=_0x399407;}if(_0x250d14){const _0x285e87=new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x20'+_0x56ac1d[_0x3c653e(0x170)]+'\x20('+_0x2206f2[_0x56ac1d['readyState']]+')');process[_0x3c653e(0x1dd)](_0x250d14,_0x285e87);}}function _0x4db9cd(_0xf5b7a0,_0x31684f){const _0x3b0fc6=_0x4bad16,_0x59565d=this[_0x1259e4];_0x59565d[_0x3b0fc6(0x233)]=!0x0,_0x59565d[_0x3b0fc6(0x2e1)]=_0x31684f,_0x59565d[_0x3b0fc6(0x166)]=_0xf5b7a0,_0x59565d['_socket'][_0x1259e4]!==void 0x0&&(_0x59565d['_socket'][_0x3b0fc6(0x149)](_0x3b0fc6(0x213),_0x2914ef),process[_0x3b0fc6(0x1dd)](_0x47e742,_0x59565d[_0x3b0fc6(0x257)]),_0xf5b7a0===0x3ed?_0x59565d[_0x3b0fc6(0x290)]():_0x59565d[_0x3b0fc6(0x290)](_0xf5b7a0,_0x31684f));}function _0x53a483(){const _0x4ffdf3=_0x4bad16,_0x449321=this[_0x1259e4];_0x449321[_0x4ffdf3(0x23a)]||_0x449321['_socket'][_0x4ffdf3(0x227)]();}function _0x49ecee(_0x449038){const _0x323e2d=_0x4bad16,_0x3f7b17=this[_0x1259e4];_0x3f7b17[_0x323e2d(0x257)][_0x1259e4]!==void 0x0&&(_0x3f7b17[_0x323e2d(0x257)][_0x323e2d(0x149)](_0x323e2d(0x213),_0x2914ef),process[_0x323e2d(0x1dd)](_0x47e742,_0x3f7b17['_socket']),_0x3f7b17[_0x323e2d(0x290)](_0x449038[_0x2abfd1])),_0x3f7b17['_errorEmitted']||(_0x3f7b17[_0x323e2d(0x291)]=!0x0,_0x3f7b17[_0x323e2d(0x1d9)](_0x323e2d(0x2d9),_0x449038));}function _0xbb1385(){const _0x47d8a3=_0x4bad16;this[_0x1259e4][_0x47d8a3(0x22f)]();}function _0x4018e8(_0xa557ee,_0xed088a){const _0x2b062a=_0x4bad16;this[_0x1259e4][_0x2b062a(0x1d9)]('message',_0xa557ee,_0xed088a);}function _0x47ea2c(_0x27e63c){const _0x5c7625=_0x4bad16,_0x2c181d=this[_0x1259e4];_0x2c181d[_0x5c7625(0x1ef)]&&_0x2c181d[_0x5c7625(0x158)](_0x27e63c,!this[_0x5c7625(0x2ae)],_0x15a05a),_0x2c181d[_0x5c7625(0x1d9)](_0x5c7625(0x255),_0x27e63c);}function _0x3321e8(_0x4cae72){const _0x4bfb69=_0x4bad16;this[_0x1259e4][_0x4bfb69(0x1d9)](_0x4bfb69(0x158),_0x4cae72);}function _0x47e742(_0x2c6da0){_0x2c6da0['resume']();}function _0x1c3f0b(_0x12df23){const _0x5ee32e=_0x4bad16,_0x14f9d8=this[_0x1259e4];_0x14f9d8['readyState']!==_0x3f840[_0x5ee32e(0x254)]&&(_0x14f9d8['readyState']===_0x3f840[_0x5ee32e(0x13d)]&&(_0x14f9d8[_0x5ee32e(0x28f)]=_0x3f840[_0x5ee32e(0x1c3)],_0x1ca871(_0x14f9d8)),this[_0x5ee32e(0x257)][_0x5ee32e(0x29c)](),_0x14f9d8[_0x5ee32e(0x291)]||(_0x14f9d8[_0x5ee32e(0x291)]=!0x0,_0x14f9d8[_0x5ee32e(0x1d9)]('error',_0x12df23)));}function _0x1ca871(_0x4cb502){const _0x5e1067=_0x4bad16;_0x4cb502[_0x5e1067(0x172)]=setTimeout(_0x4cb502[_0x5e1067(0x257)][_0x5e1067(0x1bd)][_0x5e1067(0x195)](_0x4cb502[_0x5e1067(0x257)]),_0x1f0aa7);}function _0x55f8fb(){const _0x53828f=_0x4bad16,_0x116151=this[_0x1259e4];this[_0x53828f(0x149)]('close',_0x55f8fb),this[_0x53828f(0x149)](_0x53828f(0x213),_0x2914ef),this[_0x53828f(0x149)](_0x53828f(0x29c),_0x34a701),_0x116151[_0x53828f(0x28f)]=_0x3f840[_0x53828f(0x1c3)];let _0x34cde2;!this[_0x53828f(0x187)][_0x53828f(0x138)]&&!_0x116151['_closeFrameReceived']&&!_0x116151[_0x53828f(0x2af)][_0x53828f(0x176)][_0x53828f(0x2b2)]&&(_0x34cde2=_0x116151['_socket'][_0x53828f(0x155)]())!==null&&_0x116151['_receiver']['write'](_0x34cde2),_0x116151[_0x53828f(0x2af)]['end'](),this[_0x1259e4]=void 0x0,clearTimeout(_0x116151[_0x53828f(0x172)]),_0x116151[_0x53828f(0x2af)][_0x53828f(0x176)][_0x53828f(0x27e)]||_0x116151[_0x53828f(0x2af)]['_writableState']['errorEmitted']?_0x116151[_0x53828f(0x22f)]():(_0x116151[_0x53828f(0x2af)]['on'](_0x53828f(0x2d9),_0xbb1385),_0x116151[_0x53828f(0x2af)]['on'](_0x53828f(0x19e),_0xbb1385));}function _0x2914ef(_0x2c5678){const _0x3d43a1=_0x4bad16;this[_0x1259e4]['_receiver'][_0x3d43a1(0x19b)](_0x2c5678)||this['pause']();}function _0x34a701(){const _0x4f86b7=_0x4bad16,_0xf29b4c=this[_0x1259e4];_0xf29b4c[_0x4f86b7(0x28f)]=_0x3f840['CLOSING'],_0xf29b4c['_receiver']['end'](),this['end']();}function _0x53b150(){const _0x96637c=_0x4bad16,_0x1ed8e7=this[_0x1259e4];this[_0x96637c(0x149)](_0x96637c(0x2d9),_0x53b150),this['on'](_0x96637c(0x2d9),_0x15a05a),_0x1ed8e7&&(_0x1ed8e7[_0x96637c(0x28f)]=_0x3f840[_0x96637c(0x1c3)],this[_0x96637c(0x1bd)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x2b3811}=_0x1c53b5;function _0xbc46f6(_0x346b7c){const _0x2a8d9b=_0x2a36;_0x346b7c[_0x2a8d9b(0x1d9)](_0x2a8d9b(0x290));}function _0x5a0d95(){const _0x1eda5a=_0x2a36;!this[_0x1eda5a(0x17a)]&&this[_0x1eda5a(0x176)][_0x1eda5a(0x27e)]&&this[_0x1eda5a(0x1bd)]();}function _0xfc88cc(_0x138909){const _0x37be36=_0x2a36;this['removeListener'](_0x37be36(0x2d9),_0xfc88cc),this[_0x37be36(0x1bd)](),this[_0x37be36(0x151)](_0x37be36(0x2d9))===0x0&&this[_0x37be36(0x1d9)](_0x37be36(0x2d9),_0x138909);}function _0x23a636(_0x283640,_0x34fb6a){const _0x588acc=_0x2a36;let _0x5db0da=!0x0;const _0x481740=new _0x2b3811({..._0x34fb6a,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x283640['on'](_0x588acc(0x2b5),function(_0x24eed7,_0x425696){const _0x51d502=_0x588acc,_0x50c12a=!_0x425696&&_0x481740[_0x51d502(0x187)][_0x51d502(0x289)]?_0x24eed7['toString']():_0x24eed7;_0x481740[_0x51d502(0x20a)](_0x50c12a)||_0x283640['pause']();}),_0x283640[_0x588acc(0x1aa)](_0x588acc(0x2d9),function(_0x4de51c){const _0x15696d=_0x588acc;_0x481740[_0x15696d(0x17a)]||(_0x5db0da=!0x1,_0x481740[_0x15696d(0x1bd)](_0x4de51c));}),_0x283640['once'](_0x588acc(0x290),function(){const _0x5c3d9d=_0x588acc;_0x481740[_0x5c3d9d(0x17a)]||_0x481740['push'](null);}),_0x481740['_destroy']=function(_0x52425a,_0x393bfb){const _0x3512c4=_0x588acc;if(_0x283640[_0x3512c4(0x170)]===_0x283640[_0x3512c4(0x254)]){_0x393bfb(_0x52425a),process[_0x3512c4(0x1dd)](_0xbc46f6,_0x481740);return;}let _0x27da1a=!0x1;_0x283640[_0x3512c4(0x1aa)](_0x3512c4(0x2d9),function(_0x121422){_0x27da1a=!0x0,_0x393bfb(_0x121422);}),_0x283640[_0x3512c4(0x1aa)]('close',function(){const _0x2a5655=_0x3512c4;_0x27da1a||_0x393bfb(_0x52425a),process[_0x2a5655(0x1dd)](_0xbc46f6,_0x481740);}),_0x5db0da&&_0x283640[_0x3512c4(0x139)]();},_0x481740['_final']=function(_0x25143a){const _0x173c85=_0x588acc;if(_0x283640[_0x173c85(0x170)]===_0x283640[_0x173c85(0x2b1)]){_0x283640['once'](_0x173c85(0x146),function(){const _0x1bac90=_0x173c85;_0x481740[_0x1bac90(0x1f2)](_0x25143a);});return;}_0x283640[_0x173c85(0x257)]!==null&&(_0x283640[_0x173c85(0x257)]['_writableState'][_0x173c85(0x27e)]?(_0x25143a(),_0x481740[_0x173c85(0x187)][_0x173c85(0x138)]&&_0x481740['destroy']()):(_0x283640['_socket']['once']('finish',function(){_0x25143a();}),_0x283640[_0x173c85(0x290)]()));},_0x481740['_read']=function(){const _0x23d371=_0x588acc;_0x283640[_0x23d371(0x23a)]&&_0x283640[_0x23d371(0x227)]();},_0x481740[_0x588acc(0x22a)]=function(_0x2f8a98,_0x9f85dd,_0x5395bd){const _0x5a7aca=_0x588acc;if(_0x283640[_0x5a7aca(0x170)]===_0x283640[_0x5a7aca(0x2b1)]){_0x283640[_0x5a7aca(0x1aa)]('open',function(){const _0x4328a8=_0x5a7aca;_0x481740[_0x4328a8(0x22a)](_0x2f8a98,_0x9f85dd,_0x5395bd);});return;}_0x283640[_0x5a7aca(0x184)](_0x2f8a98,_0x5395bd);},_0x481740['on']('end',_0x5a0d95),_0x481740['on'](_0x588acc(0x2d9),_0xfc88cc),_0x481740;}return Oe=_0x23a636,Oe;}Xt(),dt(),_t();function _0x2a36(_0xf7768a,_0xef83cc){const _0x14cf07=_0x14cf();return _0x2a36=function(_0x2a360d,_0x5e7b27){_0x2a360d=_0x2a360d-0x135;let _0xed1480=_0x14cf07[_0x2a360d];return _0xed1480;},_0x2a36(_0xf7768a,_0xef83cc);}var Zt=Ie();const Qt=Wt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x12629c}=ne();function _0x48c0d3(_0x2b1beb){const _0x208b11=_0x2a36,_0x8fe784=new Set();let _0x2e19dc=-0x1,_0x506eb8=-0x1,_0x2ff741=0x0;for(_0x2ff741;_0x2ff741<_0x2b1beb[_0x208b11(0x17e)];_0x2ff741++){const _0x4f5d8a=_0x2b1beb[_0x208b11(0x2c8)](_0x2ff741);if(_0x506eb8===-0x1&&_0x12629c[_0x4f5d8a]===0x1)_0x2e19dc===-0x1&&(_0x2e19dc=_0x2ff741);else{if(_0x2ff741!==0x0&&(_0x4f5d8a===0x20||_0x4f5d8a===0x9))_0x506eb8===-0x1&&_0x2e19dc!==-0x1&&(_0x506eb8=_0x2ff741);else{if(_0x4f5d8a===0x2c){if(_0x2e19dc===-0x1)throw new SyntaxError(_0x208b11(0x1a3)+_0x2ff741);_0x506eb8===-0x1&&(_0x506eb8=_0x2ff741);const _0x401dcf=_0x2b1beb[_0x208b11(0x217)](_0x2e19dc,_0x506eb8);if(_0x8fe784[_0x208b11(0x2d7)](_0x401dcf))throw new SyntaxError('The\x20\x22'+_0x401dcf+_0x208b11(0x178));_0x8fe784[_0x208b11(0x16a)](_0x401dcf),_0x2e19dc=_0x506eb8=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x2ff741);}}}if(_0x2e19dc===-0x1||_0x506eb8!==-0x1)throw new SyntaxError(_0x208b11(0x246));const _0x3e40d4=_0x2b1beb[_0x208b11(0x217)](_0x2e19dc,_0x2ff741);if(_0x8fe784[_0x208b11(0x2d7)](_0x3e40d4))throw new SyntaxError('The\x20\x22'+_0x3e40d4+_0x208b11(0x178));return _0x8fe784[_0x208b11(0x16a)](_0x3e40d4),_0x8fe784;}return Ce={'parse':_0x48c0d3},Ce;}var Te,ot;function er(){const _0x10acfa=_0xf7eb09;if(ot)return Te;ot=0x1;const _0x58f391=_0x42d902,_0x534fe4=_0x244b75,{Duplex:_0x270f2a}=_0x1c53b5,{createHash:_0x375615}=_0x18e394,_0x1b4e08=pt(),_0x189c50=he(),_0x48648d=Jt(),_0x541ec9=Ie(),{GUID:_0x1ccb94,kWebSocket:_0x1cc7ce}=V(),_0x2daab2=/^[+/0-9A-Za-z]{22}==$/,_0x5c9eae=0x0,_0x232d99=0x1,_0x57193e=0x2;class _0x2ef970 extends _0x58f391{constructor(_0xdecaa,_0x1d87e4){const _0x51b5f6=_0x2a36;if(super(),_0xdecaa={'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':_0x541ec9,..._0xdecaa},_0xdecaa[_0x51b5f6(0x197)]==null&&!_0xdecaa[_0x51b5f6(0x19a)]&&!_0xdecaa[_0x51b5f6(0x16c)]||_0xdecaa[_0x51b5f6(0x197)]!=null&&(_0xdecaa[_0x51b5f6(0x19a)]||_0xdecaa[_0x51b5f6(0x16c)])||_0xdecaa[_0x51b5f6(0x19a)]&&_0xdecaa['noServer'])throw new TypeError(_0x51b5f6(0x2bd));if(_0xdecaa[_0x51b5f6(0x197)]!=null?(this['_server']=_0x534fe4[_0x51b5f6(0x1e9)]((_0x28a1a1,_0x36c5a9)=>{const _0x4d035c=_0x51b5f6,_0x109899=_0x534fe4[_0x4d035c(0x248)][0x1aa];_0x36c5a9['writeHead'](0x1aa,{'Content-Length':_0x109899[_0x4d035c(0x17e)],'Content-Type':_0x4d035c(0x24f)}),_0x36c5a9[_0x4d035c(0x29c)](_0x109899);}),this['_server']['listen'](_0xdecaa[_0x51b5f6(0x197)],_0xdecaa[_0x51b5f6(0x2a1)],_0xdecaa[_0x51b5f6(0x13b)],_0x1d87e4)):_0xdecaa[_0x51b5f6(0x19a)]&&(this[_0x51b5f6(0x1d3)]=_0xdecaa[_0x51b5f6(0x19a)]),this['_server']){const _0x1ce6a7=this['emit'][_0x51b5f6(0x195)](this,_0x51b5f6(0x14f));this['_removeListeners']=_0x386ff5(this[_0x51b5f6(0x1d3)],{'listening':this['emit'][_0x51b5f6(0x195)](this,_0x51b5f6(0x1fe)),'error':this[_0x51b5f6(0x1d9)]['bind'](this,_0x51b5f6(0x2d9)),'upgrade':(_0xf4789e,_0x364bef,_0x303548)=>{const _0x49caed=_0x51b5f6;this[_0x49caed(0x135)](_0xf4789e,_0x364bef,_0x303548,_0x1ce6a7);}});}_0xdecaa['perMessageDeflate']===!0x0&&(_0xdecaa[_0x51b5f6(0x27a)]={}),_0xdecaa[_0x51b5f6(0x2db)]&&(this['clients']=new Set(),this[_0x51b5f6(0x214)]=!0x1),this['options']=_0xdecaa,this[_0x51b5f6(0x28a)]=_0x5c9eae;}[_0x10acfa(0x2a0)](){const _0xabe56c=_0x10acfa;if(this['options'][_0xabe56c(0x16c)])throw new Error(_0xabe56c(0x292));return this['_server']?this[_0xabe56c(0x1d3)][_0xabe56c(0x2a0)]():null;}['close'](_0x1f1479){const _0x27d41e=_0x10acfa;if(this['_state']===_0x57193e){_0x1f1479&&this[_0x27d41e(0x1aa)](_0x27d41e(0x290),()=>{const _0x13cc27=_0x27d41e;_0x1f1479(new Error(_0x13cc27(0x278)));}),process['nextTick'](_0x30498a,this);return;}if(_0x1f1479&&this[_0x27d41e(0x1aa)](_0x27d41e(0x290),_0x1f1479),this[_0x27d41e(0x28a)]!==_0x232d99){if(this['_state']=_0x232d99,this['options'][_0x27d41e(0x16c)]||this[_0x27d41e(0x281)][_0x27d41e(0x19a)])this['_server']&&(this[_0x27d41e(0x174)](),this[_0x27d41e(0x174)]=this['_server']=null),this['clients']?this[_0x27d41e(0x2d3)][_0x27d41e(0x1a5)]?this[_0x27d41e(0x214)]=!0x0:process['nextTick'](_0x30498a,this):process[_0x27d41e(0x1dd)](_0x30498a,this);else{const _0x42341f=this[_0x27d41e(0x1d3)];this[_0x27d41e(0x174)](),this[_0x27d41e(0x174)]=this[_0x27d41e(0x1d3)]=null,_0x42341f[_0x27d41e(0x290)](()=>{_0x30498a(this);});}}}[_0x10acfa(0x1eb)](_0x468f58){const _0x2aa1cd=_0x10acfa;if(this['options'][_0x2aa1cd(0x241)]){const _0x441a91=_0x468f58['url'][_0x2aa1cd(0x15d)]('?');if((_0x441a91!==-0x1?_0x468f58[_0x2aa1cd(0x1a9)][_0x2aa1cd(0x217)](0x0,_0x441a91):_0x468f58[_0x2aa1cd(0x1a9)])!==this[_0x2aa1cd(0x281)][_0x2aa1cd(0x241)])return!0x1;}return!0x0;}['handleUpgrade'](_0x53850e,_0x94658e,_0x1f371b,_0x2a39fb){const _0x45ea04=_0x10acfa;_0x94658e['on'](_0x45ea04(0x2d9),_0x544e1e);const _0x162c70=_0x53850e[_0x45ea04(0x2ba)][_0x45ea04(0x1c1)],_0x1f77a5=_0x53850e[_0x45ea04(0x2ba)][_0x45ea04(0x2ca)],_0x5695f3=+_0x53850e[_0x45ea04(0x2ba)][_0x45ea04(0x20b)];if(_0x53850e[_0x45ea04(0x15f)]!==_0x45ea04(0x1f7)){_0x35fa74(this,_0x53850e,_0x94658e,0x195,_0x45ea04(0x141));return;}if(_0x1f77a5===void 0x0||_0x1f77a5[_0x45ea04(0x234)]()!==_0x45ea04(0x16b)){_0x35fa74(this,_0x53850e,_0x94658e,0x190,_0x45ea04(0x1db));return;}if(_0x162c70===void 0x0||!_0x2daab2['test'](_0x162c70)){_0x35fa74(this,_0x53850e,_0x94658e,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header');return;}if(_0x5695f3!==0xd&&_0x5695f3!==0x8){_0x35fa74(this,_0x53850e,_0x94658e,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header',{'Sec-WebSocket-Version':'13,\x208'});return;}if(!this[_0x45ea04(0x1eb)](_0x53850e)){_0x5c3aa7(_0x94658e,0x190);return;}const _0x3520b1=_0x53850e['headers'][_0x45ea04(0x27b)];let _0x232994=new Set();if(_0x3520b1!==void 0x0)try{_0x232994=_0x48648d[_0x45ea04(0x2e6)](_0x3520b1);}catch{_0x35fa74(this,_0x53850e,_0x94658e,0x190,_0x45ea04(0x266));return;}const _0x22348a=_0x53850e[_0x45ea04(0x2ba)]['sec-websocket-extensions'],_0x5f25b8={};if(this[_0x45ea04(0x281)]['perMessageDeflate']&&_0x22348a!==void 0x0){const _0x31c7ef=new _0x189c50(this[_0x45ea04(0x281)][_0x45ea04(0x27a)],!0x0,this[_0x45ea04(0x281)][_0x45ea04(0x191)]);try{const _0xa866be=_0x1b4e08[_0x45ea04(0x2e6)](_0x22348a);_0xa866be[_0x189c50[_0x45ea04(0x15a)]]&&(_0x31c7ef[_0x45ea04(0x25e)](_0xa866be[_0x189c50[_0x45ea04(0x15a)]]),_0x5f25b8[_0x189c50[_0x45ea04(0x15a)]]=_0x31c7ef);}catch{_0x35fa74(this,_0x53850e,_0x94658e,0x190,_0x45ea04(0x2c1));return;}}if(this[_0x45ea04(0x281)][_0x45ea04(0x28c)]){const _0x51e418={'origin':_0x53850e[_0x45ea04(0x2ba)][''+(_0x5695f3===0x8?'sec-websocket-origin':'origin')],'secure':!!(_0x53850e['socket'][_0x45ea04(0x26c)]||_0x53850e[_0x45ea04(0x25d)][_0x45ea04(0x1af)]),'req':_0x53850e};if(this[_0x45ea04(0x281)][_0x45ea04(0x28c)][_0x45ea04(0x17e)]===0x2){this['options'][_0x45ea04(0x28c)](_0x51e418,(_0x121234,_0x23d990,_0x4dac7b,_0xedcca9)=>{const _0x53aca2=_0x45ea04;if(!_0x121234)return _0x5c3aa7(_0x94658e,_0x23d990||0x191,_0x4dac7b,_0xedcca9);this[_0x53aca2(0x1e5)](_0x5f25b8,_0x162c70,_0x232994,_0x53850e,_0x94658e,_0x1f371b,_0x2a39fb);});return;}if(!this[_0x45ea04(0x281)][_0x45ea04(0x28c)](_0x51e418))return _0x5c3aa7(_0x94658e,0x191);}this['completeUpgrade'](_0x5f25b8,_0x162c70,_0x232994,_0x53850e,_0x94658e,_0x1f371b,_0x2a39fb);}['completeUpgrade'](_0x54b7de,_0x27fffa,_0x258f80,_0x1fe61e,_0x2ae53b,_0x426454,_0x380f4e){const _0xa02003=_0x10acfa;if(!_0x2ae53b['readable']||!_0x2ae53b[_0xa02003(0x193)])return _0x2ae53b[_0xa02003(0x1bd)]();if(_0x2ae53b[_0x1cc7ce])throw new Error(_0xa02003(0x287));if(this['_state']>_0x5c9eae)return _0x5c3aa7(_0x2ae53b,0x1f7);const _0x1f5f46=[_0xa02003(0x295),_0xa02003(0x1d5),'Connection:\x20Upgrade',_0xa02003(0x2bf)+_0x375615(_0xa02003(0x2e4))['update'](_0x27fffa+_0x1ccb94)[_0xa02003(0x20c)](_0xa02003(0x144))],_0x33a628=new this[(_0xa02003(0x281))][(_0xa02003(0x1b3))](null,void 0x0,this[_0xa02003(0x281)]);if(_0x258f80[_0xa02003(0x1a5)]){const _0x5564ea=this[_0xa02003(0x281)][_0xa02003(0x1bf)]?this[_0xa02003(0x281)][_0xa02003(0x1bf)](_0x258f80,_0x1fe61e):_0x258f80[_0xa02003(0x224)]()[_0xa02003(0x232)]()[_0xa02003(0x1f5)];_0x5564ea&&(_0x1f5f46[_0xa02003(0x20a)](_0xa02003(0x1ba)+_0x5564ea),_0x33a628[_0xa02003(0x16e)]=_0x5564ea);}if(_0x54b7de[_0x189c50[_0xa02003(0x15a)]]){const _0x4bcf19=_0x54b7de[_0x189c50['extensionName']][_0xa02003(0x198)],_0x2744f6=_0x1b4e08[_0xa02003(0x140)]({[_0x189c50[_0xa02003(0x15a)]]:[_0x4bcf19]});_0x1f5f46[_0xa02003(0x20a)](_0xa02003(0x237)+_0x2744f6),_0x33a628[_0xa02003(0x21e)]=_0x54b7de;}this[_0xa02003(0x1d9)](_0xa02003(0x2ba),_0x1f5f46,_0x1fe61e),_0x2ae53b[_0xa02003(0x19b)](_0x1f5f46[_0xa02003(0x1da)]('\x0d\x0a')[_0xa02003(0x27f)]('\x0d\x0a')),_0x2ae53b[_0xa02003(0x149)](_0xa02003(0x2d9),_0x544e1e),_0x33a628[_0xa02003(0x157)](_0x2ae53b,_0x426454,{'allowSynchronousEvents':this[_0xa02003(0x281)][_0xa02003(0x2b7)],'maxPayload':this['options'][_0xa02003(0x191)],'skipUTF8Validation':this[_0xa02003(0x281)][_0xa02003(0x2cf)]}),this[_0xa02003(0x2d3)]&&(this[_0xa02003(0x2d3)][_0xa02003(0x16a)](_0x33a628),_0x33a628['on']('close',()=>{const _0x42b53b=_0xa02003;this['clients'][_0x42b53b(0x2dc)](_0x33a628),this[_0x42b53b(0x214)]&&!this['clients'][_0x42b53b(0x1a5)]&&process[_0x42b53b(0x1dd)](_0x30498a,this);})),_0x380f4e(_0x33a628,_0x1fe61e);}}Te=_0x2ef970;function _0x386ff5(_0x242960,_0x2c1aab){const _0x37624b=_0x10acfa;for(const _0x5737a2 of Object[_0x37624b(0x212)](_0x2c1aab))_0x242960['on'](_0x5737a2,_0x2c1aab[_0x5737a2]);return function(){const _0xcf3634=_0x37624b;for(const _0x4a2de4 of Object[_0xcf3634(0x212)](_0x2c1aab))_0x242960[_0xcf3634(0x149)](_0x4a2de4,_0x2c1aab[_0x4a2de4]);};}function _0x30498a(_0x2ddd0a){const _0x182d04=_0x10acfa;_0x2ddd0a[_0x182d04(0x28a)]=_0x57193e,_0x2ddd0a[_0x182d04(0x1d9)](_0x182d04(0x290));}function _0x544e1e(){this['destroy']();}function _0x5c3aa7(_0x370d3b,_0x5d4d55,_0xbaffc,_0x27a2df){const _0x36f524=_0x10acfa;_0xbaffc=_0xbaffc||_0x534fe4[_0x36f524(0x248)][_0x5d4d55],_0x27a2df={'Connection':_0x36f524(0x290),'Content-Type':'text/html','Content-Length':Buffer[_0x36f524(0x16f)](_0xbaffc),..._0x27a2df},_0x370d3b[_0x36f524(0x1aa)](_0x36f524(0x19e),_0x370d3b[_0x36f524(0x1bd)]),_0x370d3b[_0x36f524(0x29c)]('HTTP/1.1\x20'+_0x5d4d55+'\x20'+_0x534fe4[_0x36f524(0x248)][_0x5d4d55]+'\x0d\x0a'+Object['keys'](_0x27a2df)[_0x36f524(0x245)](_0x212eaf=>_0x212eaf+':\x20'+_0x27a2df[_0x212eaf])[_0x36f524(0x27f)]('\x0d\x0a')+_0x36f524(0x181)+_0xbaffc);}function _0x35fa74(_0x4e8d07,_0x536baa,_0x47946a,_0x1ee9c1,_0x567a88,_0x93e8cf){const _0x92f1bb=_0x10acfa;if(_0x4e8d07[_0x92f1bb(0x151)]('wsClientError')){const _0x4e607f=new Error(_0x567a88);Error[_0x92f1bb(0x147)](_0x4e607f,_0x35fa74),_0x4e8d07[_0x92f1bb(0x1d9)](_0x92f1bb(0x1d4),_0x4e607f,_0x47946a,_0x536baa);}else _0x5c3aa7(_0x47946a,_0x1ee9c1,_0x567a88,_0x93e8cf);}return Te;}er();var tr=Object[_0xf7eb09(0x1f4)],rr=(_0x3dc8c3,_0xc94805,_0x1fb3d1,_0x3bc296)=>{const _0x2c4945=_0xf7eb09;for(var _0xecb59c=_0x3bc296>0x1?void 0x0:_0x3bc296?tr(_0xc94805,_0x1fb3d1):_0xc94805,_0x29b992=_0x3dc8c3[_0x2c4945(0x17e)]-0x1,_0x46ee30;_0x29b992>=0x0;_0x29b992--)(_0x46ee30=_0x3dc8c3[_0x29b992])&&(_0xecb59c=_0x46ee30(_0xecb59c)||_0xecb59c);return _0xecb59c;},sr=(_0x21e93f,_0x335941)=>(_0x439169,_0x30a84a)=>_0x335941(_0x439169,_0x30a84a,_0x21e93f);let Ne=class extends _0x11032c{constructor(_0x283d4c){super(),this['_configService']=_0x283d4c;}[_0xf7eb09(0x148)](_0x514af2){const _0x7bef77=_0xf7eb09;var _0x344109;const _0x52d9b9=(_0x344109=this['_configService'][_0x7bef77(0x2c5)](Be))==null?void 0x0:_0x344109['customHeaders'];try{const _0xb929c1=new Qt(_0x514af2,{'headers':{..._0x52d9b9}}),_0x35a52f=new _0x2cdf21();return{'URL':_0x514af2,'close':(_0x4b65af,_0x50f932)=>{const _0x276d82=_0x7bef77;_0xb929c1[_0x276d82(0x290)](_0x4b65af,_0x50f932),_0x35a52f['dispose']();},'send':_0x3ed6ab=>{const _0x2f1102=_0x7bef77;_0xb929c1[_0x2f1102(0x184)](_0x3ed6ab);},'open$':new _0x523e61(_0x1803d2=>{const _0x35f3b3=_0x7bef77,_0x19d199=_0x921543=>_0x1803d2['next'](_0x921543);_0xb929c1[_0x35f3b3(0x137)]('open',_0x19d199),_0x35a52f[_0x35f3b3(0x16a)](_0x2828ac(()=>_0xb929c1[_0x35f3b3(0x29d)](_0x35f3b3(0x146),_0x19d199)));})[_0x7bef77(0x2c3)](_0x52bfaa()),'close$':new _0x523e61(_0x42e54d=>{const _0x5e9bc7=_0x7bef77,_0x2012b7=_0x198357=>_0x42e54d[_0x5e9bc7(0x232)](_0x198357);_0xb929c1[_0x5e9bc7(0x137)](_0x5e9bc7(0x290),_0x2012b7),_0x35a52f[_0x5e9bc7(0x16a)](_0x2828ac(()=>_0xb929c1[_0x5e9bc7(0x29d)](_0x5e9bc7(0x290),_0x2012b7)));})[_0x7bef77(0x2c3)](_0x52bfaa()),'error$':new _0x523e61(_0xf348d=>{const _0xcd73de=_0x7bef77,_0x19c18a=_0x51730=>_0xf348d[_0xcd73de(0x232)](_0x51730);_0xb929c1[_0xcd73de(0x137)](_0xcd73de(0x2d9),_0x19c18a),_0x35a52f[_0xcd73de(0x16a)](_0x2828ac(()=>_0xb929c1[_0xcd73de(0x29d)](_0xcd73de(0x2d9),_0x19c18a)));})[_0x7bef77(0x2c3)](_0x52bfaa()),'message$':new _0x523e61(_0x510e5c=>{const _0x514ac9=_0x7bef77,_0x21e34d=_0x2cfb94=>_0x510e5c[_0x514ac9(0x232)](_0x2cfb94);_0xb929c1[_0x514ac9(0x137)]('message',_0x21e34d),_0x35a52f[_0x514ac9(0x16a)](_0x2828ac(()=>_0xb929c1[_0x514ac9(0x29d)](_0x514ac9(0x2b5),_0x21e34d)));})[_0x7bef77(0x2c3)](_0x52bfaa())};}catch(_0x14b6dc){return console['error'](_0x14b6dc),null;}}};Ne=rr([sr(0x0,_0x32d527)],Ne);var ir=Object['defineProperty'],nr=Object[_0xf7eb09(0x1f4)],or=(_0xa787b4,_0x43139b,_0xc16184)=>_0x43139b in _0xa787b4?ir(_0xa787b4,_0x43139b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xc16184}):_0xa787b4[_0x43139b]=_0xc16184,ar=(_0x2a2130,_0x12c6b8,_0x4aed9f,_0xd2480d)=>{for(var _0x3b63f0=_0xd2480d>0x1?void 0x0:_0xd2480d?nr(_0x12c6b8,_0x4aed9f):_0x12c6b8,_0x118c6d=_0x2a2130['length']-0x1,_0x3d029e;_0x118c6d>=0x0;_0x118c6d--)(_0x3d029e=_0x2a2130[_0x118c6d])&&(_0x3b63f0=_0x3d029e(_0x3b63f0)||_0x3b63f0);return _0x3b63f0;},ke=(_0x41ff37,_0x14fc28)=>(_0x370214,_0xd87838)=>_0x14fc28(_0x370214,_0xd87838,_0x41ff37),lr=(_0x1065d7,_0x4342c7,_0x215938)=>or(_0x1065d7,_0x4342c7+'',_0x215938);let Pe=class extends _0x366db9{constructor(_0x136a79=Ft,_0x123bf0,_0x353811,_0x165b23){const _0x18cb78=_0xf7eb09;_0x136a79[_0x18cb78(0x2a4)]||_0x123bf0[_0x18cb78(0x186)](_0x18cb78(0x250)),super(),this[_0x18cb78(0x1cf)]=_0x353811,this[_0x18cb78(0x185)]=_0x165b23,this[_0x18cb78(0x1cf)][_0x18cb78(0x1e6)](Be,_0x136a79);}[_0xf7eb09(0x29a)](){const _0x3ee82d=_0xf7eb09;this[_0x3ee82d(0x15b)]();}[_0xf7eb09(0x15b)](){const _0x1b44ea=_0xf7eb09;_0x3d3330(this[_0x1b44ea(0x185)],[[_0x417f0b,{'useClass':Ne}]]);}};lr(Pe,_0xf7eb09(0x28e),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),Pe=ar([_0x2494f4(_0x557109),ke(0x1,_0x5becdf),ke(0x2,_0x32d527),ke(0x3,_0x322627(_0x10dcce))],Pe);var fr=Object[_0xf7eb09(0x1f4)],cr=(_0x11cc68,_0x25e905,_0x1d2934,_0x2b33d6)=>{const _0x5a2b2f=_0xf7eb09;for(var _0x23eff5=_0x2b33d6>0x1?void 0x0:_0x2b33d6?fr(_0x25e905,_0x1d2934):_0x25e905,_0x4c579a=_0x11cc68[_0x5a2b2f(0x17e)]-0x1,_0x185eaf;_0x4c579a>=0x0;_0x4c579a--)(_0x185eaf=_0x11cc68[_0x4c579a])&&(_0x23eff5=_0x185eaf(_0x23eff5)||_0x23eff5);return _0x23eff5;},se=(_0x56cee6,_0x4c0b2b)=>(_0x40f8a0,_0x2b22b4)=>_0x4c0b2b(_0x40f8a0,_0x2b22b4,_0x56cee6);let at=class extends _0x35feb4{constructor(_0x94d193,_0x3bf9f2,_0x284e84,_0x36c893,_0xea10a5){const _0x1ecc16=_0xf7eb09;super(_0x94d193,_0x3bf9f2,_0x284e84,_0x36c893,_0xea10a5);const _0x239539=this[_0x1ecc16(0x1cf)]['getConfig'](Be);this[_0x1ecc16(0x1cc)][_0x1ecc16(0x2e0)]({'interceptor':(_0x2d9f66,_0x563e99)=>{const _0x5419e2=_0x1ecc16;var _0x17019f;const _0x5cdb93=_0x2d9f66[_0x5419e2(0x2ba)];return(_0x17019f=_0x239539==null?void 0x0:_0x239539[_0x5419e2(0x2a4)])!=null&&_0x17019f[_0x5419e2(0x203)]&&_0x5cdb93[_0x5419e2(0x21f)](_0x5419e2(0x1e3),_0x239539['customHeaders'][_0x5419e2(0x203)]),_0x563e99(_0x2d9f66);}});}async['createSocket'](_0xf56618){return this['_doCreateSocket'](_0xf56618);}};at=cr([se(0x0,_0x322627(_0x10dcce)),se(0x1,_0x322627(_0xa584b)),se(0x2,_0x32d527),se(0x3,_0x5becdf),se(0x4,_0xb9b99e)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
1
+ const _0x30692b=_0x378b;(function(_0x59a132,_0x1d39ba){const _0x2c265d=_0x378b,_0x23c888=_0x59a132();while(!![]){try{const _0x161686=-parseInt(_0x2c265d(0x1c1))/0x1+-parseInt(_0x2c265d(0x1d3))/0x2+parseInt(_0x2c265d(0x114))/0x3*(parseInt(_0x2c265d(0x256))/0x4)+-parseInt(_0x2c265d(0x271))/0x5*(parseInt(_0x2c265d(0x20b))/0x6)+-parseInt(_0x2c265d(0x1c3))/0x7+-parseInt(_0x2c265d(0x171))/0x8*(parseInt(_0x2c265d(0x139))/0x9)+parseInt(_0x2c265d(0x19c))/0xa;if(_0x161686===_0x1d39ba)break;else _0x23c888['push'](_0x23c888['shift']());}catch(_0x152a65){_0x23c888['push'](_0x23c888['shift']());}}}(_0x19ac,0xadb72));import{UniverCollaborationClientPlugin as _0x536f07,CollaborationSocketService as _0x13110e}from'@univerjs-pro/collaboration-client';import{Disposable as _0x22526d,DisposableCollection as _0x4fc2df,toDisposable as _0x51c42d,IConfigService as _0xf30a36,DependentOn as _0x195fdb,ILogService as _0x11a0bf,Inject as _0x19d570,Injector as _0x1dd633,Plugin as _0x24823c,registerDependencies as _0x31f6d6}from'@univerjs/core';import{ISocketService as _0x3607a5,HTTPService as _0x27c8ca}from'@univerjs/network';import{Observable as _0x44338b,share as _0x340d2f}from'rxjs';import _0x290843 from'events';function _0x19ac(){const _0x3bc00d=['decompress','handleProtocols','test','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','values','pong','Origin','13,\x208','_firstFragment','Cookie','_skipUTF8Validation','Module','wasClean','response','__esModule','The\x20\x22','clientMaxWindowBits','STATUS_CODES','setNoDelay','dispose','_deflate','create','toString','sha1','mask','RSV1\x20must\x20be\x20clear','_allowSynchronousEvents','serverMaxWindowBits','sec-websocket-version','finishRequest','_mask','getConfig','conclude','Unexpected\x20server\x20response:\x20','add','then','clientNoContextTakeover','upgrade','object','replace','149196EHNHkh','invalid\x20payload\x20length\x20','_read','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','_autoPong','blob','forEach','_closeMessage','isServer','defaultPort','consume','username','enqueue','call','_receiver','defineProperty','ping','\x22\x20subprotocol\x20is\x20duplicated','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','sendFrame','backlog','prototype','followRedirects','_no_context_takeover','digest','target','readyState','275lSBsAU','https:','threshold','isBuffer','objectMode','addEventListener','websocket','readOnly','_fin','dataMessage','CLOSED','_socket','_closeFrameReceived','concurrencyLimit','warn','concurrency','nextTick','push','_sender','_errorEmitted','search','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','hostname','catch','generateMask','dequeue','timeout','hasOwnProperty','_options','_fragmented','onclose','writeUIntBE','frame','maxPayload','WS_ERR_INVALID_OPCODE','WS_ERR_EXPECTED_MASK','nodebuffer','serverNoContextTakeover','pow','_fragments','message','encrypted','reset','normalizeParams','kError','unexpected-response','Basic\x20','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','join','address','_closeCode','jobs','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','_inflate','get','invalid\x20opcode\x200','port','send','Unexpected\x20character\x20at\x20index\x20','keys','apply','_write','_removeListeners','text/plain','WS_ERR_INVALID_UTF8','readUInt32BE','freeze','invalid\x20UTF-8\x20sequence','extensions','pathname','client','auth','dispatch','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','_masked','resume','_closeFrameSent','destroy','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','_readyState','slice','78VbxNjs','WS_ERR_UNEXPECTED_RSV_2_3','_max_window_bits','base64','_maskBuffer','HTTP/1.1\x20','number','haveLength','unmask','split','collaboration-client-node.config','The\x20URL\x20contains\x20a\x20fragment\x20identifier','createDeflateRaw','Invalid\x20URL:\x20','\x20(supported\x20versions:\x20','_url','url','offer','pipe','removeEventListener','redirect','setConfig','CONNECTING','\x22\x20must\x20have\x20only\x20a\x20single\x20value','cork','connect','createError','finish','_buffers','server_max_window_bits','onerror','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','allowSynchronousEvents','completeUpgrade','alloc','customHeaders','fragments','1047339zndRre','authorized','invalid\x20opcode\x20','next','data','Server\x20sent\x20an\x20invalid\x20subprotocol','_totalPayloadLength','connection','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','_extensions','isValidUTF8','autoPong','buffers','reason','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','\x22:\x20','_isServer','indexOf','MASK\x20must\x20be\x20set','Z_DEFAULT_WINDOWBITS','kData','_server','shift','readUInt16BE','errorEmitted','ws+unix:','The\x20URL\x27s\x20pathname\x20is\x20empty','default','arrayBuffer','_shouldEmitClose','href','startsWith','close','permessage-deflate','_registerDependencies','getMask','stream','getData','server','WS_ERR_EXPECTED_FIN','servername','buffer','_threshold','path','binary','captureStackTrace','find','CLOSING','handleUpgrade','drain','from','_maxPayload','listenerCount','statusCode','Invalid\x20Sec-WebSocket-Extensions\x20header','wss:','24RtxXno','pause','abort','_payloadLength','fin','Sec-WebSocket-Protocol','options','socket','Max\x20payload\x20size\x20exceeded','callback','end','_httpService','has','exports','length','OPEN','clients','once','isInteger','getOwnPropertyDescriptor','_protocol','_req','wsClientError','sec-websocket-extensions','kRun','isArray','read','authorization','The\x20server\x20is\x20not\x20running','code','extensionName','Opening\x20handshake\x20has\x20timed\x20out','zlibInflateOptions','terminate','startLoop','registerHTTPInterceptor','_originalIpc','pending','_writableState','cleanup','GET','\x0d\x0a\x0d\x0a','bind','34827940boJtaz','set','origin','getInfo','Z_SYNC_FLUSH','open','_queue','map','handshakeTimeout','size','verifyClient','kDone','File','entries','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','rsv1','emitClose','client_max_window_bits','handleEvent','_opcode','error','WebSocket\x20is\x20not\x20open:\x20readyState\x20','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','delete','setSocket','_generateMask','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','cookie','construct','_errored','species','hash','noServer','uncork','WS_ERR_UNEXPECTED_RSV_1','http:','byteOffset','862619Nzxkrb','opcode','4481253oasrBg','env','emit','total-length','accept','toStringTag','binaryType','finished','_messageLength','client_no_context_takeover','sec-websocket-key','server_no_context_takeover','write','charCodeAt','writeUInt16BE','_compressed','1287288xIywim','kWasClean','_state','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','Sec-WebSocket-Accept:\x20','kTarget','unshift','type','protocolVersion','endEmitted','_binaryType','socketPath','isView','Invalid\x20Sec-WebSocket-Protocol\x20header','function','Invalid\x20Upgrade\x20header','_redirects','isIP','Invalid\x20WebSocket\x20frame:\x20','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','allocUnsafe','getPayloadLength64','request','string','sec-websocket-origin','HTTP/1.1\x20101\x20Switching\x20Protocols','_originalHostOrSocketPath','readable','listening','byteLength','params','sec-websocket-accept','_bufferedBytes','text/html','value','protocol','ws:','writable','setTimeout','shouldHandle','skipUTF8Validation','isPaused','password','compress','acceptAsClient','acceptAsServer','listeners','WS_ERR_INVALID_CLOSE_CODE','format','kListener','constructor','Invalid\x20HTTP\x20method','_configService','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','maxRedirects','135870tTlfSd','_final','perMessageDeflate','_destroy','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','concat','Invalid\x20Sec-WebSocket-Accept\x20header','_injector','_bufferedAmount','clientTracking','writeHead','Invalid\x20value\x20for\x20parameter\x20\x22','_compress','Connection:\x20Upgrade','headers','destroyed','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','includes','_loop','sec-websocket-protocol','_paused','getBlobData','host','kReason','_readableState','kAborted','_originalSecure','createInflateRaw','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','_closeTimer','removeListener','parse','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','controlMessage','toLowerCase'];_0x19ac=function(){return _0x3bc00d;};return _0x19ac();}import _0x55249a from'https';import _0x2c702b from'http';import _0x1265e1 from'net';import _0x12c9de from'tls';import _0x31909c from'crypto';import _0xa3b750 from'stream';import _0x337ca0 from'url';import _0x54742f from'zlib';import _0x3cbe05 from'buffer';import{ISnapshotServerService as _0x1003ab}from'@univerjs-pro/collaboration';const Be=_0x30692b(0x11e),Ft={'customHeaders':{}};function Wt(_0x1cd9c9){const _0x213d7e=_0x30692b;return _0x1cd9c9&&_0x1cd9c9[_0x213d7e(0x23c)]&&Object[_0x213d7e(0x26b)][_0x213d7e(0x28c)]['call'](_0x1cd9c9,_0x213d7e(0x154))?_0x1cd9c9['default']:_0x1cd9c9;}function _0x378b(_0x3fe2bc,_0x2ee464){const _0x19ac7e=_0x19ac();return _0x378b=function(_0x378b1f,_0xf3d11){_0x378b1f=_0x378b1f-0xef;let _0x2d262c=_0x19ac7e[_0x378b1f];return _0x2d262c;},_0x378b(_0x3fe2bc,_0x2ee464);}function ut(_0x534dfe){const _0x4b6af1=_0x30692b;if(Object['prototype'][_0x4b6af1(0x28c)]['call'](_0x534dfe,_0x4b6af1(0x23c)))return _0x534dfe;var _0x25d226=_0x534dfe[_0x4b6af1(0x154)];if(typeof _0x25d226==_0x4b6af1(0x1e1)){var _0x22151d=function _0x3363c2(){const _0x49430a=_0x4b6af1;var _0x1a2a37=!0x1;try{_0x1a2a37=this instanceof _0x3363c2;}catch{}return _0x1a2a37?Reflect[_0x49430a(0x1b8)](_0x25d226,arguments,this[_0x49430a(0x206)]):_0x25d226[_0x49430a(0xff)](this,arguments);};_0x22151d[_0x4b6af1(0x26b)]=_0x25d226['prototype'];}else _0x22151d={};return Object[_0x4b6af1(0x265)](_0x22151d,_0x4b6af1(0x23c),{'value':!0x0}),Object['keys'](_0x534dfe)[_0x4b6af1(0x25c)](function(_0xc59f33){const _0x1caadf=_0x4b6af1;var _0x509e20=Object[_0x1caadf(0x184)](_0x534dfe,_0xc59f33);Object[_0x1caadf(0x265)](_0x22151d,_0xc59f33,_0x509e20[_0x1caadf(0xf9)]?_0x509e20:{'enumerable':!0x0,'get':function(){return _0x534dfe[_0xc59f33];}});}),_0x22151d;}var te={'exports':{}},ge,Ye;function V(){const _0x160d95=_0x30692b;if(Ye)return ge;Ye=0x1;const _0x47a48a=[_0x160d95(0x295),'arraybuffer',_0x160d95(0x138)],_0x46e79a=typeof Blob<'u';return _0x46e79a&&_0x47a48a['push']('blob'),ge={'BINARY_TYPES':_0x47a48a,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':_0x160d95(0x259),'hasBlob':_0x46e79a,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol(_0x160d95(0x205)),'kStatusCode':Symbol('status-code'),'kWebSocket':Symbol('websocket'),'NOOP':()=>{}},ge;}const jt={},Gt=Object[_0x30692b(0x105)](Object[_0x30692b(0x265)]({'__proto__':null,'default':jt},Symbol[_0x30692b(0x1c8)],{'value':_0x30692b(0x239)})),Vt=ut(Gt);var Ke;function ce(){const _0x2cccdf=_0x30692b;if(Ke)return te[_0x2cccdf(0x17e)];Ke=0x1;const {EMPTY_BUFFER:_0x53831c}=V(),_0x56cbbb=Buffer[Symbol['species']];function _0x33f00b(_0x3ddacb,_0x32221c){const _0xd38a36=_0x2cccdf;if(_0x3ddacb[_0xd38a36(0x17f)]===0x0)return _0x53831c;if(_0x3ddacb[_0xd38a36(0x17f)]===0x1)return _0x3ddacb[0x0];const _0x37c4a2=Buffer[_0xd38a36(0x1e8)](_0x32221c);let _0x522d8e=0x0;for(let _0x37b259=0x0;_0x37b259<_0x3ddacb[_0xd38a36(0x17f)];_0x37b259++){const _0x5626cc=_0x3ddacb[_0x37b259];_0x37c4a2[_0xd38a36(0x19d)](_0x5626cc,_0x522d8e),_0x522d8e+=_0x5626cc[_0xd38a36(0x17f)];}return _0x522d8e<_0x32221c?new _0x56cbbb(_0x37c4a2[_0xd38a36(0x162)],_0x37c4a2['byteOffset'],_0x522d8e):_0x37c4a2;}function _0x343671(_0x424a92,_0x1de3e6,_0x149dfe,_0x299e47,_0x1a6d39){for(let _0x233f22=0x0;_0x233f22<_0x1a6d39;_0x233f22++)_0x149dfe[_0x299e47+_0x233f22]=_0x424a92[_0x233f22]^_0x1de3e6[_0x233f22&0x3];}function _0x2bef5b(_0x5619e5,_0x33c879){const _0x11d0eb=_0x2cccdf;for(let _0x48f309=0x0;_0x48f309<_0x5619e5[_0x11d0eb(0x17f)];_0x48f309++)_0x5619e5[_0x48f309]^=_0x33c879[_0x48f309&0x3];}function _0x13eaae(_0x49844e){const _0x3ee7b2=_0x2cccdf;return _0x49844e['length']===_0x49844e[_0x3ee7b2(0x162)]['byteLength']?_0x49844e['buffer']:_0x49844e[_0x3ee7b2(0x162)][_0x3ee7b2(0x113)](_0x49844e['byteOffset'],_0x49844e[_0x3ee7b2(0x1c0)]+_0x49844e['length']);}function _0x578a88(_0x1c991b){const _0x55269e=_0x2cccdf;if(_0x578a88['readOnly']=!0x0,Buffer[_0x55269e(0x274)](_0x1c991b))return _0x1c991b;let _0xd4ebf4;return _0x1c991b instanceof ArrayBuffer?_0xd4ebf4=new _0x56cbbb(_0x1c991b):ArrayBuffer[_0x55269e(0x1df)](_0x1c991b)?_0xd4ebf4=new _0x56cbbb(_0x1c991b[_0x55269e(0x162)],_0x1c991b[_0x55269e(0x1c0)],_0x1c991b[_0x55269e(0x1f1)]):(_0xd4ebf4=Buffer[_0x55269e(0x16b)](_0x1c991b),_0x578a88['readOnly']=!0x1),_0xd4ebf4;}if(te[_0x2cccdf(0x17e)]={'concat':_0x33f00b,'mask':_0x343671,'toArrayBuffer':_0x13eaae,'toBuffer':_0x578a88,'unmask':_0x2bef5b},!process[_0x2cccdf(0x1c4)]['WS_NO_BUFFER_UTIL'])try{const _0x45b055=Vt;te['exports'][_0x2cccdf(0x246)]=function(_0x49c7f9,_0x5702ac,_0x4ebe4e,_0x2ff264,_0x444f81){const _0x16ab10=_0x2cccdf;_0x444f81<0x30?_0x343671(_0x49c7f9,_0x5702ac,_0x4ebe4e,_0x2ff264,_0x444f81):_0x45b055[_0x16ab10(0x246)](_0x49c7f9,_0x5702ac,_0x4ebe4e,_0x2ff264,_0x444f81);},te['exports'][_0x2cccdf(0x11c)]=function(_0x574e77,_0x34c079){const _0x28101c=_0x2cccdf;_0x574e77[_0x28101c(0x17f)]<0x20?_0x2bef5b(_0x574e77,_0x34c079):_0x45b055['unmask'](_0x574e77,_0x34c079);};}catch{}return te['exports'];}var ye,Xe;function qt(){const _0x79f991=_0x30692b;if(Xe)return ye;Xe=0x1;const _0x4c0dc3=Symbol(_0x79f991(0x1a7)),_0x328a58=Symbol(_0x79f991(0x189));class _0x7f59d8{constructor(_0x4bda2d){const _0x366644=_0x79f991;this[_0x4c0dc3]=()=>{const _0x166b0b=_0x378b;this[_0x166b0b(0x196)]--,this[_0x328a58]();},this[_0x366644(0x280)]=_0x4bda2d||0x1/0x0,this[_0x366644(0xf6)]=[],this[_0x366644(0x196)]=0x0;}[_0x79f991(0x250)](_0x3a3d26){const _0x3a76a4=_0x79f991;this['jobs'][_0x3a76a4(0x282)](_0x3a3d26),this[_0x328a58]();}[_0x328a58](){const _0xf49180=_0x79f991;if(this[_0xf49180(0x196)]!==this['concurrency']&&this[_0xf49180(0xf6)][_0xf49180(0x17f)]){const _0x221eb5=this[_0xf49180(0xf6)][_0xf49180(0x14f)]();this[_0xf49180(0x196)]++,_0x221eb5(this[_0x4c0dc3]);}}}return ye=_0x7f59d8,ye;}var ve,Ze;function he(){const _0x322159=_0x30692b;if(Ze)return ve;Ze=0x1;const _0x56a77e=_0x54742f,_0x1b65ba=ce(),_0x409fb4=qt(),{kStatusCode:_0x5062fd}=V(),_0x1c2d37=Buffer[Symbol[_0x322159(0x1ba)]],_0x308b91=Buffer['from']([0x0,0x0,0xff,0xff]),_0x58c8ca=Symbol('permessage-deflate'),_0x3a3c79=Symbol(_0x322159(0x1c6)),_0xbd74e=Symbol(_0x322159(0x17a)),_0x257c3e=Symbol(_0x322159(0x145)),_0x125cf6=Symbol(_0x322159(0x1b0));let _0x132d5b;class _0x41a0d7{constructor(_0x14d2ae,_0x1f6f16,_0x4b7796){const _0x3486f0=_0x322159;if(this[_0x3486f0(0x16c)]=_0x4b7796|0x0,this[_0x3486f0(0x28d)]=_0x14d2ae||{},this[_0x3486f0(0x163)]=this[_0x3486f0(0x28d)][_0x3486f0(0x273)]!==void 0x0?this[_0x3486f0(0x28d)][_0x3486f0(0x273)]:0x400,this[_0x3486f0(0x149)]=!!_0x1f6f16,this['_deflate']=null,this[_0x3486f0(0xf8)]=null,this['params']=null,!_0x132d5b){const _0x66a7a2=this['_options'][_0x3486f0(0x27e)]!==void 0x0?this['_options'][_0x3486f0(0x27e)]:0xa;_0x132d5b=new _0x409fb4(_0x66a7a2);}}static get[_0x322159(0x18f)](){const _0x4caa4c=_0x322159;return _0x4caa4c(0x15a);}['offer'](){const _0x3cd50f=_0x322159,_0x36e69f={};return this['_options'][_0x3cd50f(0x296)]&&(_0x36e69f[_0x3cd50f(0x1ce)]=!0x0),this[_0x3cd50f(0x28d)]['clientNoContextTakeover']&&(_0x36e69f['client_no_context_takeover']=!0x0),this['_options'][_0x3cd50f(0x249)]&&(_0x36e69f[_0x3cd50f(0x131)]=this[_0x3cd50f(0x28d)][_0x3cd50f(0x249)]),this[_0x3cd50f(0x28d)][_0x3cd50f(0x23e)]?_0x36e69f[_0x3cd50f(0x1ad)]=this[_0x3cd50f(0x28d)][_0x3cd50f(0x23e)]:this['_options'][_0x3cd50f(0x23e)]==null&&(_0x36e69f[_0x3cd50f(0x1ad)]=!0x0),_0x36e69f;}[_0x322159(0x1c7)](_0xc5b35b){const _0x58cc39=_0x322159;return _0xc5b35b=this['normalizeParams'](_0xc5b35b),this['params']=this['_isServer']?this[_0x58cc39(0x201)](_0xc5b35b):this[_0x58cc39(0x200)](_0xc5b35b),this[_0x58cc39(0x1f2)];}[_0x322159(0x198)](){const _0x46d295=_0x322159;if(this[_0x46d295(0xf8)]&&(this[_0x46d295(0xf8)]['close'](),this['_inflate']=null),this[_0x46d295(0x242)]){const _0x2784ed=this[_0x46d295(0x242)][_0xbd74e];this[_0x46d295(0x242)][_0x46d295(0x159)](),this[_0x46d295(0x242)]=null,_0x2784ed&&_0x2784ed(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}[_0x322159(0x201)](_0x18f4f5){const _0xeb8fc2=_0x322159,_0x275d16=this[_0xeb8fc2(0x28d)],_0x2b6c44=_0x18f4f5[_0xeb8fc2(0x167)](_0x1b8f5d=>!(_0x275d16[_0xeb8fc2(0x296)]===!0x1&&_0x1b8f5d[_0xeb8fc2(0x1ce)]||_0x1b8f5d[_0xeb8fc2(0x131)]&&(_0x275d16[_0xeb8fc2(0x249)]===!0x1||typeof _0x275d16[_0xeb8fc2(0x249)]=='number'&&_0x275d16[_0xeb8fc2(0x249)]>_0x1b8f5d[_0xeb8fc2(0x131)])||typeof _0x275d16['clientMaxWindowBits']==_0xeb8fc2(0x11a)&&!_0x1b8f5d['client_max_window_bits']));if(!_0x2b6c44)throw new Error(_0xeb8fc2(0x22b));return _0x275d16['serverNoContextTakeover']&&(_0x2b6c44['server_no_context_takeover']=!0x0),_0x275d16[_0xeb8fc2(0x252)]&&(_0x2b6c44[_0xeb8fc2(0x1cc)]=!0x0),typeof _0x275d16['serverMaxWindowBits']==_0xeb8fc2(0x11a)&&(_0x2b6c44[_0xeb8fc2(0x131)]=_0x275d16['serverMaxWindowBits']),typeof _0x275d16['clientMaxWindowBits']==_0xeb8fc2(0x11a)?_0x2b6c44[_0xeb8fc2(0x1ad)]=_0x275d16[_0xeb8fc2(0x23e)]:(_0x2b6c44[_0xeb8fc2(0x1ad)]===!0x0||_0x275d16['clientMaxWindowBits']===!0x1)&&delete _0x2b6c44[_0xeb8fc2(0x1ad)],_0x2b6c44;}['acceptAsClient'](_0x200352){const _0x5c0b13=_0x322159,_0xc9d879=_0x200352[0x0];if(this[_0x5c0b13(0x28d)]['clientNoContextTakeover']===!0x1&&_0xc9d879['client_no_context_takeover'])throw new Error(_0x5c0b13(0x286));if(!_0xc9d879[_0x5c0b13(0x1ad)])typeof this[_0x5c0b13(0x28d)][_0x5c0b13(0x23e)]==_0x5c0b13(0x11a)&&(_0xc9d879[_0x5c0b13(0x1ad)]=this[_0x5c0b13(0x28d)][_0x5c0b13(0x23e)]);else{if(this[_0x5c0b13(0x28d)][_0x5c0b13(0x23e)]===!0x1||typeof this[_0x5c0b13(0x28d)][_0x5c0b13(0x23e)]==_0x5c0b13(0x11a)&&_0xc9d879[_0x5c0b13(0x1ad)]>this[_0x5c0b13(0x28d)]['clientMaxWindowBits'])throw new Error(_0x5c0b13(0x111));}return _0xc9d879;}[_0x322159(0x29c)](_0x189256){const _0x1b1c22=_0x322159;return _0x189256[_0x1b1c22(0x25c)](_0x32f0a4=>{const _0x278c08=_0x1b1c22;Object[_0x278c08(0xfe)](_0x32f0a4)[_0x278c08(0x25c)](_0xa13cb1=>{const _0x536b83=_0x278c08;let _0x251c03=_0x32f0a4[_0xa13cb1];if(_0x251c03['length']>0x1)throw new Error('Parameter\x20\x22'+_0xa13cb1+_0x536b83(0x12b));if(_0x251c03=_0x251c03[0x0],_0xa13cb1==='client_max_window_bits'){if(_0x251c03!==!0x0){const _0x1d0784=+_0x251c03;if(!Number[_0x536b83(0x183)](_0x1d0784)||_0x1d0784<0x8||_0x1d0784>0xf)throw new TypeError(_0x536b83(0x216)+_0xa13cb1+_0x536b83(0x148)+_0x251c03);_0x251c03=_0x1d0784;}else{if(!this[_0x536b83(0x149)])throw new TypeError(_0x536b83(0x216)+_0xa13cb1+_0x536b83(0x148)+_0x251c03);}}else{if(_0xa13cb1===_0x536b83(0x131)){const _0x4d9d16=+_0x251c03;if(!Number[_0x536b83(0x183)](_0x4d9d16)||_0x4d9d16<0x8||_0x4d9d16>0xf)throw new TypeError(_0x536b83(0x216)+_0xa13cb1+'\x22:\x20'+_0x251c03);_0x251c03=_0x4d9d16;}else{if(_0xa13cb1==='client_no_context_takeover'||_0xa13cb1===_0x536b83(0x1ce)){if(_0x251c03!==!0x0)throw new TypeError(_0x536b83(0x216)+_0xa13cb1+_0x536b83(0x148)+_0x251c03);}else throw new Error('Unknown\x20parameter\x20\x22'+_0xa13cb1+'\x22');}}_0x32f0a4[_0xa13cb1]=_0x251c03;});}),_0x189256;}[_0x322159(0x22e)](_0x403f4c,_0x2c4fde,_0x265fa3){const _0x1d78d6=_0x322159;_0x132d5b[_0x1d78d6(0x250)](_0x38a6fd=>{this['_decompress'](_0x403f4c,_0x2c4fde,(_0x5aaecc,_0x2f7dd2)=>{_0x38a6fd(),_0x265fa3(_0x5aaecc,_0x2f7dd2);});});}['compress'](_0x4e8963,_0xb89a10,_0x465ad9){const _0xf32a94=_0x322159;_0x132d5b[_0xf32a94(0x250)](_0xdb650f=>{const _0x2bbf2f=_0xf32a94;this[_0x2bbf2f(0x217)](_0x4e8963,_0xb89a10,(_0x181b54,_0x5d505a)=>{_0xdb650f(),_0x465ad9(_0x181b54,_0x5d505a);});});}['_decompress'](_0x3e0d13,_0x4c822b,_0xe0661a){const _0x5818de=_0x322159,_0x161f51=this[_0x5818de(0x149)]?_0x5818de(0x109):_0x5818de(0x15f);if(!this['_inflate']){const _0x3a4525=_0x161f51+_0x5818de(0x116),_0x4cafe0=typeof this[_0x5818de(0x1f2)][_0x3a4525]!=_0x5818de(0x11a)?_0x56a77e['Z_DEFAULT_WINDOWBITS']:this['params'][_0x3a4525];this[_0x5818de(0xf8)]=_0x56a77e[_0x5818de(0x226)]({...this[_0x5818de(0x28d)][_0x5818de(0x191)],'windowBits':_0x4cafe0}),this['_inflate'][_0x58c8ca]=this,this[_0x5818de(0xf8)][_0x3a3c79]=0x0,this[_0x5818de(0xf8)][_0x257c3e]=[],this[_0x5818de(0xf8)]['on'](_0x5818de(0x1b0),_0x1b8b4c),this[_0x5818de(0xf8)]['on']('data',_0x69b612);}this['_inflate'][_0xbd74e]=_0xe0661a,this[_0x5818de(0xf8)][_0x5818de(0x1cf)](_0x3e0d13),_0x4c822b&&this[_0x5818de(0xf8)][_0x5818de(0x1cf)](_0x308b91),this['_inflate']['flush'](()=>{const _0x18a814=_0x5818de,_0x12c031=this[_0x18a814(0xf8)][_0x125cf6];if(_0x12c031){this[_0x18a814(0xf8)][_0x18a814(0x159)](),this[_0x18a814(0xf8)]=null,_0xe0661a(_0x12c031);return;}const _0x289144=_0x1b65ba[_0x18a814(0x210)](this[_0x18a814(0xf8)][_0x257c3e],this[_0x18a814(0xf8)][_0x3a3c79]);this[_0x18a814(0xf8)][_0x18a814(0x223)][_0x18a814(0x1dc)]?(this[_0x18a814(0xf8)][_0x18a814(0x159)](),this[_0x18a814(0xf8)]=null):(this[_0x18a814(0xf8)][_0x3a3c79]=0x0,this['_inflate'][_0x257c3e]=[],_0x4c822b&&this['params'][_0x161f51+'_no_context_takeover']&&this['_inflate'][_0x18a814(0x29b)]()),_0xe0661a(null,_0x289144);});}[_0x322159(0x217)](_0x5b81bf,_0x21c128,_0x17209f){const _0xabc4ef=_0x322159,_0x485a89=this[_0xabc4ef(0x149)]?_0xabc4ef(0x15f):'client';if(!this[_0xabc4ef(0x242)]){const _0x1623e9=_0x485a89+'_max_window_bits',_0x43f076=typeof this[_0xabc4ef(0x1f2)][_0x1623e9]!=_0xabc4ef(0x11a)?_0x56a77e[_0xabc4ef(0x14c)]:this[_0xabc4ef(0x1f2)][_0x1623e9];this[_0xabc4ef(0x242)]=_0x56a77e[_0xabc4ef(0x120)]({...this[_0xabc4ef(0x28d)]['zlibDeflateOptions'],'windowBits':_0x43f076}),this[_0xabc4ef(0x242)][_0x3a3c79]=0x0,this[_0xabc4ef(0x242)][_0x257c3e]=[],this[_0xabc4ef(0x242)]['on'](_0xabc4ef(0x13d),_0x2b232f);}this[_0xabc4ef(0x242)][_0xbd74e]=_0x17209f,this[_0xabc4ef(0x242)][_0xabc4ef(0x1cf)](_0x5b81bf),this[_0xabc4ef(0x242)]['flush'](_0x56a77e[_0xabc4ef(0x1a0)],()=>{const _0x4206e8=_0xabc4ef;if(!this[_0x4206e8(0x242)])return;let _0x399f2e=_0x1b65ba[_0x4206e8(0x210)](this[_0x4206e8(0x242)][_0x257c3e],this[_0x4206e8(0x242)][_0x3a3c79]);_0x21c128&&(_0x399f2e=new _0x1c2d37(_0x399f2e[_0x4206e8(0x162)],_0x399f2e[_0x4206e8(0x1c0)],_0x399f2e[_0x4206e8(0x17f)]-0x4)),this['_deflate'][_0xbd74e]=null,this['_deflate'][_0x3a3c79]=0x0,this[_0x4206e8(0x242)][_0x257c3e]=[],_0x21c128&&this['params'][_0x485a89+_0x4206e8(0x26d)]&&this['_deflate'][_0x4206e8(0x29b)](),_0x17209f(null,_0x399f2e);});}}ve=_0x41a0d7;function _0x2b232f(_0x3fe399){const _0x1a5a8c=_0x322159;this[_0x257c3e][_0x1a5a8c(0x282)](_0x3fe399),this[_0x3a3c79]+=_0x3fe399['length'];}function _0x69b612(_0x5b7c48){const _0x470857=_0x322159;if(this[_0x3a3c79]+=_0x5b7c48['length'],this[_0x58c8ca]['_maxPayload']<0x1||this[_0x3a3c79]<=this[_0x58c8ca][_0x470857(0x16c)]){this[_0x257c3e][_0x470857(0x282)](_0x5b7c48);return;}this[_0x125cf6]=new RangeError('Max\x20payload\x20size\x20exceeded'),this[_0x125cf6][_0x470857(0x18e)]=_0x470857(0x1b2),this[_0x125cf6][_0x5062fd]=0x3f1,this[_0x470857(0x229)](_0x470857(0x13d),_0x69b612),this[_0x470857(0x29b)]();}function _0x1b8b4c(_0x1adcc5){const _0xfcfc9b=_0x322159;if(this[_0x58c8ca][_0xfcfc9b(0xf8)]=null,this[_0x125cf6]){this[_0xbd74e](this[_0x125cf6]);return;}_0x1adcc5[_0x5062fd]=0x3ef,this[_0xbd74e](_0x1adcc5);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x30692b(0x105)](Object[_0x30692b(0x265)]({'__proto__':null,'default':Ht},Symbol[_0x30692b(0x1c8)],{'value':_0x30692b(0x239)})),Yt=ut(zt);var Qe;function ne(){const _0x40da28=_0x30692b;if(Qe)return re[_0x40da28(0x17e)];Qe=0x1;const {isUtf8:_0x328a43}=_0x3cbe05,{hasBlob:_0x4873f3}=V(),_0xbb6312=[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 _0x519052(_0x26f97a){return _0x26f97a>=0x3e8&&_0x26f97a<=0x3f6&&_0x26f97a!==0x3ec&&_0x26f97a!==0x3ed&&_0x26f97a!==0x3ee||_0x26f97a>=0xbb8&&_0x26f97a<=0x1387;}function _0x5d0ba9(_0x542bb5){const _0x256af2=_0x40da28,_0x21be23=_0x542bb5[_0x256af2(0x17f)];let _0x2acf87=0x0;for(;_0x2acf87<_0x21be23;)if((_0x542bb5[_0x2acf87]&0x80)===0x0)_0x2acf87++;else{if((_0x542bb5[_0x2acf87]&0xe0)===0xc0){if(_0x2acf87+0x1===_0x21be23||(_0x542bb5[_0x2acf87+0x1]&0xc0)!==0x80||(_0x542bb5[_0x2acf87]&0xfe)===0xc0)return!0x1;_0x2acf87+=0x2;}else{if((_0x542bb5[_0x2acf87]&0xf0)===0xe0){if(_0x2acf87+0x2>=_0x21be23||(_0x542bb5[_0x2acf87+0x1]&0xc0)!==0x80||(_0x542bb5[_0x2acf87+0x2]&0xc0)!==0x80||_0x542bb5[_0x2acf87]===0xe0&&(_0x542bb5[_0x2acf87+0x1]&0xe0)===0x80||_0x542bb5[_0x2acf87]===0xed&&(_0x542bb5[_0x2acf87+0x1]&0xe0)===0xa0)return!0x1;_0x2acf87+=0x3;}else{if((_0x542bb5[_0x2acf87]&0xf8)===0xf0){if(_0x2acf87+0x3>=_0x21be23||(_0x542bb5[_0x2acf87+0x1]&0xc0)!==0x80||(_0x542bb5[_0x2acf87+0x2]&0xc0)!==0x80||(_0x542bb5[_0x2acf87+0x3]&0xc0)!==0x80||_0x542bb5[_0x2acf87]===0xf0&&(_0x542bb5[_0x2acf87+0x1]&0xf0)===0x80||_0x542bb5[_0x2acf87]===0xf4&&_0x542bb5[_0x2acf87+0x1]>0x8f||_0x542bb5[_0x2acf87]>0xf4)return!0x1;_0x2acf87+=0x4;}else return!0x1;}}}return!0x0;}function _0x5014af(_0x558f52){const _0x17ed97=_0x40da28;return _0x4873f3&&typeof _0x558f52==_0x17ed97(0x254)&&typeof _0x558f52[_0x17ed97(0x155)]==_0x17ed97(0x1e1)&&typeof _0x558f52[_0x17ed97(0x1da)]==_0x17ed97(0x1eb)&&typeof _0x558f52[_0x17ed97(0x15d)]==_0x17ed97(0x1e1)&&(_0x558f52[Symbol[_0x17ed97(0x1c8)]]==='Blob'||_0x558f52[Symbol[_0x17ed97(0x1c8)]]===_0x17ed97(0x1a8));}if(re[_0x40da28(0x17e)]={'isBlob':_0x5014af,'isValidStatusCode':_0x519052,'isValidUTF8':_0x5d0ba9,'tokenChars':_0xbb6312},_0x328a43)re['exports']['isValidUTF8']=function(_0x5e370f){return _0x5e370f['length']<0x18?_0x5d0ba9(_0x5e370f):_0x328a43(_0x5e370f);};else{if(!process['env']['WS_NO_UTF_8_VALIDATE'])try{const _0x1d4833=Yt;re[_0x40da28(0x17e)][_0x40da28(0x143)]=function(_0x1f8002){return _0x1f8002['length']<0x20?_0x5d0ba9(_0x1f8002):_0x1d4833(_0x1f8002);};}catch{}}return re[_0x40da28(0x17e)];}var Se,Je;function dt(){const _0x4e66fb=_0x30692b;if(Je)return Se;Je=0x1;const {Writable:_0x2b384e}=_0xa3b750,_0x421dfb=he(),{BINARY_TYPES:_0x4d6e02,EMPTY_BUFFER:_0x54826f,kStatusCode:_0x438028,kWebSocket:_0x476b63}=V(),{concat:_0x4b95b0,toArrayBuffer:_0x379a42,unmask:_0x130ba3}=ce(),{isValidStatusCode:_0xd72ec5,isValidUTF8:_0x3a6849}=ne(),_0x2e9da5=Buffer[Symbol[_0x4e66fb(0x1ba)]],_0x372ef9=0x0,_0x45aba7=0x1,_0x4450c7=0x2,_0x64c2a0=0x3,_0x558e60=0x4,_0xfd3a83=0x5,_0x2135d4=0x6;class _0x51519b extends _0x2b384e{constructor(_0x3a960b={}){const _0x3611b0=_0x4e66fb;super(),this['_allowSynchronousEvents']=_0x3a960b[_0x3611b0(0x134)]!==void 0x0?_0x3a960b['allowSynchronousEvents']:!0x0,this[_0x3611b0(0x1dd)]=_0x3a960b[_0x3611b0(0x1c9)]||_0x4d6e02[0x0],this[_0x3611b0(0x142)]=_0x3a960b[_0x3611b0(0x107)]||{},this[_0x3611b0(0x149)]=!!_0x3a960b[_0x3611b0(0x25e)],this[_0x3611b0(0x16c)]=_0x3a960b[_0x3611b0(0x292)]|0x0,this[_0x3611b0(0x238)]=!!_0x3a960b[_0x3611b0(0x1fc)],this[_0x476b63]=void 0x0,this['_bufferedBytes']=0x0,this[_0x3611b0(0x130)]=[],this[_0x3611b0(0x1d2)]=!0x1,this[_0x3611b0(0x174)]=0x0,this[_0x3611b0(0x24c)]=void 0x0,this['_fragmented']=0x0,this['_masked']=!0x1,this[_0x3611b0(0x279)]=!0x1,this[_0x3611b0(0x1af)]=0x0,this[_0x3611b0(0x13f)]=0x0,this[_0x3611b0(0x1cb)]=0x0,this['_fragments']=[],this[_0x3611b0(0x1b9)]=!0x1,this[_0x3611b0(0x21d)]=!0x1,this[_0x3611b0(0x1d5)]=_0x372ef9;}['_write'](_0x2edc59,_0xe6fff7,_0x3f95f2){const _0x26573b=_0x4e66fb;if(this[_0x26573b(0x1af)]===0x8&&this[_0x26573b(0x1d5)]==_0x372ef9)return _0x3f95f2();this[_0x26573b(0x1f4)]+=_0x2edc59[_0x26573b(0x17f)],this[_0x26573b(0x130)]['push'](_0x2edc59),this[_0x26573b(0x193)](_0x3f95f2);}[_0x4e66fb(0x260)](_0x1a05bc){const _0x3ea39b=_0x4e66fb;if(this['_bufferedBytes']-=_0x1a05bc,_0x1a05bc===this[_0x3ea39b(0x130)][0x0]['length'])return this[_0x3ea39b(0x130)][_0x3ea39b(0x14f)]();if(_0x1a05bc<this['_buffers'][0x0]['length']){const _0x3f4c7e=this[_0x3ea39b(0x130)][0x0];return this['_buffers'][0x0]=new _0x2e9da5(_0x3f4c7e['buffer'],_0x3f4c7e[_0x3ea39b(0x1c0)]+_0x1a05bc,_0x3f4c7e[_0x3ea39b(0x17f)]-_0x1a05bc),new _0x2e9da5(_0x3f4c7e[_0x3ea39b(0x162)],_0x3f4c7e[_0x3ea39b(0x1c0)],_0x1a05bc);}const _0x567cca=Buffer[_0x3ea39b(0x1e8)](_0x1a05bc);do{const _0x324004=this['_buffers'][0x0],_0x1b60c1=_0x567cca['length']-_0x1a05bc;_0x1a05bc>=_0x324004[_0x3ea39b(0x17f)]?_0x567cca[_0x3ea39b(0x19d)](this['_buffers'][_0x3ea39b(0x14f)](),_0x1b60c1):(_0x567cca[_0x3ea39b(0x19d)](new Uint8Array(_0x324004[_0x3ea39b(0x162)],_0x324004[_0x3ea39b(0x1c0)],_0x1a05bc),_0x1b60c1),this[_0x3ea39b(0x130)][0x0]=new _0x2e9da5(_0x324004[_0x3ea39b(0x162)],_0x324004[_0x3ea39b(0x1c0)]+_0x1a05bc,_0x324004[_0x3ea39b(0x17f)]-_0x1a05bc)),_0x1a05bc-=_0x324004['length'];}while(_0x1a05bc>0x0);return _0x567cca;}[_0x4e66fb(0x193)](_0x22b396){const _0x412833=_0x4e66fb;this[_0x412833(0x21d)]=!0x0;do switch(this['_state']){case _0x372ef9:this[_0x412833(0x19f)](_0x22b396);break;case _0x45aba7:this['getPayloadLength16'](_0x22b396);break;case _0x4450c7:this[_0x412833(0x1e9)](_0x22b396);break;case _0x64c2a0:this[_0x412833(0x15c)]();break;case _0x558e60:this['getData'](_0x22b396);break;case _0xfd3a83:case _0x2135d4:this[_0x412833(0x21d)]=!0x1;return;}while(this[_0x412833(0x21d)]);this[_0x412833(0x1b9)]||_0x22b396();}[_0x4e66fb(0x19f)](_0xd15159){const _0x20d214=_0x4e66fb;if(this[_0x20d214(0x1f4)]<0x2){this['_loop']=!0x1;return;}const _0x1d2bd9=this[_0x20d214(0x260)](0x2);if((_0x1d2bd9[0x0]&0x30)!==0x0){const _0x1f71de=this[_0x20d214(0x12e)](RangeError,_0x20d214(0x1aa),!0x0,0x3ea,_0x20d214(0x115));_0xd15159(_0x1f71de);return;}const _0x2d2990=(_0x1d2bd9[0x0]&0x40)===0x40;if(_0x2d2990&&!this['_extensions'][_0x421dfb[_0x20d214(0x18f)]]){const _0x51ce19=this[_0x20d214(0x12e)](RangeError,_0x20d214(0x247),!0x0,0x3ea,_0x20d214(0x1be));_0xd15159(_0x51ce19);return;}if(this[_0x20d214(0x279)]=(_0x1d2bd9[0x0]&0x80)===0x80,this[_0x20d214(0x1af)]=_0x1d2bd9[0x0]&0xf,this[_0x20d214(0x174)]=_0x1d2bd9[0x1]&0x7f,this['_opcode']===0x0){if(_0x2d2990){const _0x34fc97=this[_0x20d214(0x12e)](RangeError,_0x20d214(0x247),!0x0,0x3ea,_0x20d214(0x1be));_0xd15159(_0x34fc97);return;}if(!this[_0x20d214(0x28e)]){const _0x3b2a39=this[_0x20d214(0x12e)](RangeError,_0x20d214(0xfa),!0x0,0x3ea,_0x20d214(0x293));_0xd15159(_0x3b2a39);return;}this[_0x20d214(0x1af)]=this[_0x20d214(0x28e)];}else{if(this[_0x20d214(0x1af)]===0x1||this['_opcode']===0x2){if(this[_0x20d214(0x28e)]){const _0x1c6223=this[_0x20d214(0x12e)](RangeError,_0x20d214(0x13b)+this[_0x20d214(0x1af)],!0x0,0x3ea,_0x20d214(0x293));_0xd15159(_0x1c6223);return;}this[_0x20d214(0x1d2)]=_0x2d2990;}else{if(this['_opcode']>0x7&&this[_0x20d214(0x1af)]<0xb){if(!this[_0x20d214(0x279)]){const _0x45b575=this[_0x20d214(0x12e)](RangeError,'FIN\x20must\x20be\x20set',!0x0,0x3ea,_0x20d214(0x160));_0xd15159(_0x45b575);return;}if(_0x2d2990){const _0x24f98c=this[_0x20d214(0x12e)](RangeError,_0x20d214(0x247),!0x0,0x3ea,_0x20d214(0x1be));_0xd15159(_0x24f98c);return;}if(this['_payloadLength']>0x7d||this[_0x20d214(0x1af)]===0x8&&this[_0x20d214(0x174)]===0x1){const _0x36a81d=this['createError'](RangeError,_0x20d214(0x257)+this[_0x20d214(0x174)],!0x0,0x3ea,_0x20d214(0xf2));_0xd15159(_0x36a81d);return;}}else{const _0x51be26=this['createError'](RangeError,_0x20d214(0x13b)+this[_0x20d214(0x1af)],!0x0,0x3ea,_0x20d214(0x293));_0xd15159(_0x51be26);return;}}}if(!this[_0x20d214(0x279)]&&!this[_0x20d214(0x28e)]&&(this[_0x20d214(0x28e)]=this[_0x20d214(0x1af)]),this[_0x20d214(0x10d)]=(_0x1d2bd9[0x1]&0x80)===0x80,this[_0x20d214(0x149)]){if(!this['_masked']){const _0x5db95=this[_0x20d214(0x12e)](RangeError,_0x20d214(0x14b),!0x0,0x3ea,_0x20d214(0x294));_0xd15159(_0x5db95);return;}}else{if(this[_0x20d214(0x10d)]){const _0x2539be=this[_0x20d214(0x12e)](RangeError,'MASK\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0xd15159(_0x2539be);return;}}this[_0x20d214(0x174)]===0x7e?this['_state']=_0x45aba7:this['_payloadLength']===0x7f?this[_0x20d214(0x1d5)]=_0x4450c7:this[_0x20d214(0x11b)](_0xd15159);}['getPayloadLength16'](_0x490fa2){const _0x14431d=_0x4e66fb;if(this[_0x14431d(0x1f4)]<0x2){this[_0x14431d(0x21d)]=!0x1;return;}this[_0x14431d(0x174)]=this[_0x14431d(0x260)](0x2)[_0x14431d(0x150)](0x0),this[_0x14431d(0x11b)](_0x490fa2);}[_0x4e66fb(0x1e9)](_0x18719a){const _0x138178=_0x4e66fb;if(this[_0x138178(0x1f4)]<0x8){this[_0x138178(0x21d)]=!0x1;return;}const _0xb992d8=this[_0x138178(0x260)](0x8),_0x1dcaeb=_0xb992d8['readUInt32BE'](0x0);if(_0x1dcaeb>Math['pow'](0x2,0x15)-0x1){const _0x1a9d92=this[_0x138178(0x12e)](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,_0x138178(0x147));_0x18719a(_0x1a9d92);return;}this[_0x138178(0x174)]=_0x1dcaeb*Math[_0x138178(0x297)](0x2,0x20)+_0xb992d8[_0x138178(0x104)](0x4),this[_0x138178(0x11b)](_0x18719a);}['haveLength'](_0x345527){const _0x257a9f=_0x4e66fb;if(this[_0x257a9f(0x174)]&&this[_0x257a9f(0x1af)]<0x8&&(this[_0x257a9f(0x13f)]+=this[_0x257a9f(0x174)],this[_0x257a9f(0x13f)]>this[_0x257a9f(0x16c)]&&this[_0x257a9f(0x16c)]>0x0)){const _0x2e7246=this[_0x257a9f(0x12e)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x257a9f(0x1b2));_0x345527(_0x2e7246);return;}this[_0x257a9f(0x10d)]?this[_0x257a9f(0x1d5)]=_0x64c2a0:this[_0x257a9f(0x1d5)]=_0x558e60;}['getMask'](){const _0x3a9fb6=_0x4e66fb;if(this[_0x3a9fb6(0x1f4)]<0x4){this[_0x3a9fb6(0x21d)]=!0x1;return;}this[_0x3a9fb6(0x24c)]=this[_0x3a9fb6(0x260)](0x4),this['_state']=_0x558e60;}[_0x4e66fb(0x15e)](_0x55dc3d){const _0x3c7947=_0x4e66fb;let _0x24ec12=_0x54826f;if(this[_0x3c7947(0x174)]){if(this[_0x3c7947(0x1f4)]<this['_payloadLength']){this[_0x3c7947(0x21d)]=!0x1;return;}_0x24ec12=this[_0x3c7947(0x260)](this[_0x3c7947(0x174)]),this['_masked']&&(this[_0x3c7947(0x24c)][0x0]|this['_mask'][0x1]|this['_mask'][0x2]|this[_0x3c7947(0x24c)][0x3])!==0x0&&_0x130ba3(_0x24ec12,this[_0x3c7947(0x24c)]);}if(this[_0x3c7947(0x1af)]>0x7){this[_0x3c7947(0x22c)](_0x24ec12,_0x55dc3d);return;}if(this[_0x3c7947(0x1d2)]){this[_0x3c7947(0x1d5)]=_0xfd3a83,this[_0x3c7947(0x22e)](_0x24ec12,_0x55dc3d);return;}_0x24ec12[_0x3c7947(0x17f)]&&(this[_0x3c7947(0x1cb)]=this['_totalPayloadLength'],this[_0x3c7947(0x298)][_0x3c7947(0x282)](_0x24ec12)),this['dataMessage'](_0x55dc3d);}[_0x4e66fb(0x22e)](_0x48121d,_0x5b8323){const _0x441001=_0x4e66fb;this[_0x441001(0x142)][_0x421dfb['extensionName']][_0x441001(0x22e)](_0x48121d,this[_0x441001(0x279)],(_0x20ff51,_0x3f5c27)=>{const _0x50b47e=_0x441001;if(_0x20ff51)return _0x5b8323(_0x20ff51);if(_0x3f5c27[_0x50b47e(0x17f)]){if(this[_0x50b47e(0x1cb)]+=_0x3f5c27[_0x50b47e(0x17f)],this[_0x50b47e(0x1cb)]>this[_0x50b47e(0x16c)]&&this[_0x50b47e(0x16c)]>0x0){const _0x3fa066=this[_0x50b47e(0x12e)](RangeError,_0x50b47e(0x179),!0x1,0x3f1,_0x50b47e(0x1b2));_0x5b8323(_0x3fa066);return;}this[_0x50b47e(0x298)][_0x50b47e(0x282)](_0x3f5c27);}this[_0x50b47e(0x27a)](_0x5b8323),this['_state']===_0x372ef9&&this[_0x50b47e(0x193)](_0x5b8323);});}[_0x4e66fb(0x27a)](_0x534041){const _0xde2230=_0x4e66fb;if(!this['_fin']){this[_0xde2230(0x1d5)]=_0x372ef9;return;}const _0x14f846=this[_0xde2230(0x1cb)],_0x584ead=this[_0xde2230(0x298)];if(this['_totalPayloadLength']=0x0,this[_0xde2230(0x1cb)]=0x0,this[_0xde2230(0x28e)]=0x0,this['_fragments']=[],this[_0xde2230(0x1af)]===0x2){let _0x1d523c;this[_0xde2230(0x1dd)]==='nodebuffer'?_0x1d523c=_0x4b95b0(_0x584ead,_0x14f846):this[_0xde2230(0x1dd)]==='arraybuffer'?_0x1d523c=_0x379a42(_0x4b95b0(_0x584ead,_0x14f846)):this[_0xde2230(0x1dd)]===_0xde2230(0x25b)?_0x1d523c=new Blob(_0x584ead):_0x1d523c=_0x584ead,this[_0xde2230(0x248)]?(this[_0xde2230(0x1c5)](_0xde2230(0x299),_0x1d523c,!0x0),this[_0xde2230(0x1d5)]=_0x372ef9):(this[_0xde2230(0x1d5)]=_0x2135d4,setImmediate(()=>{const _0x35c402=_0xde2230;this[_0x35c402(0x1c5)]('message',_0x1d523c,!0x0),this[_0x35c402(0x1d5)]=_0x372ef9,this[_0x35c402(0x193)](_0x534041);}));}else{const _0x11ecb9=_0x4b95b0(_0x584ead,_0x14f846);if(!this[_0xde2230(0x238)]&&!_0x3a6849(_0x11ecb9)){const _0xa90a6e=this[_0xde2230(0x12e)](Error,_0xde2230(0x106),!0x0,0x3ef,_0xde2230(0x103));_0x534041(_0xa90a6e);return;}this[_0xde2230(0x1d5)]===_0xfd3a83||this['_allowSynchronousEvents']?(this['emit'](_0xde2230(0x299),_0x11ecb9,!0x1),this[_0xde2230(0x1d5)]=_0x372ef9):(this[_0xde2230(0x1d5)]=_0x2135d4,setImmediate(()=>{const _0x21c2df=_0xde2230;this['emit'](_0x21c2df(0x299),_0x11ecb9,!0x1),this[_0x21c2df(0x1d5)]=_0x372ef9,this['startLoop'](_0x534041);}));}}['controlMessage'](_0x5d86aa,_0x4a2bf0){const _0x4c5e57=_0x4e66fb;if(this[_0x4c5e57(0x1af)]===0x8){if(_0x5d86aa[_0x4c5e57(0x17f)]===0x0)this['_loop']=!0x1,this[_0x4c5e57(0x1c5)](_0x4c5e57(0x24e),0x3ed,_0x54826f),this[_0x4c5e57(0x17b)]();else{const _0x52bfcd=_0x5d86aa['readUInt16BE'](0x0);if(!_0xd72ec5(_0x52bfcd)){const _0x1e754a=this[_0x4c5e57(0x12e)](RangeError,'invalid\x20status\x20code\x20'+_0x52bfcd,!0x0,0x3ea,_0x4c5e57(0x203));_0x4a2bf0(_0x1e754a);return;}const _0x3c2cd5=new _0x2e9da5(_0x5d86aa[_0x4c5e57(0x162)],_0x5d86aa[_0x4c5e57(0x1c0)]+0x2,_0x5d86aa[_0x4c5e57(0x17f)]-0x2);if(!this[_0x4c5e57(0x238)]&&!_0x3a6849(_0x3c2cd5)){const _0x123478=this[_0x4c5e57(0x12e)](Error,_0x4c5e57(0x106),!0x0,0x3ef,_0x4c5e57(0x103));_0x4a2bf0(_0x123478);return;}this[_0x4c5e57(0x21d)]=!0x1,this[_0x4c5e57(0x1c5)](_0x4c5e57(0x24e),_0x52bfcd,_0x3c2cd5),this[_0x4c5e57(0x17b)]();}this[_0x4c5e57(0x1d5)]=_0x372ef9;return;}this[_0x4c5e57(0x248)]?(this[_0x4c5e57(0x1c5)](this[_0x4c5e57(0x1af)]===0x9?'ping':_0x4c5e57(0x233),_0x5d86aa),this[_0x4c5e57(0x1d5)]=_0x372ef9):(this[_0x4c5e57(0x1d5)]=_0x2135d4,setImmediate(()=>{const _0x138c1d=_0x4c5e57;this['emit'](this[_0x138c1d(0x1af)]===0x9?_0x138c1d(0x266):_0x138c1d(0x233),_0x5d86aa),this[_0x138c1d(0x1d5)]=_0x372ef9,this['startLoop'](_0x4a2bf0);}));}[_0x4e66fb(0x12e)](_0x3404a3,_0x275dc0,_0x231a6f,_0x493bac,_0x58236b){const _0x231a9e=_0x4e66fb;this['_loop']=!0x1,this[_0x231a9e(0x1b9)]=!0x0;const _0x39eaa8=new _0x3404a3(_0x231a6f?_0x231a9e(0x1e5)+_0x275dc0:_0x275dc0);return Error['captureStackTrace'](_0x39eaa8,this[_0x231a9e(0x12e)]),_0x39eaa8[_0x231a9e(0x18e)]=_0x58236b,_0x39eaa8[_0x438028]=_0x493bac,_0x39eaa8;}}return Se=_0x51519b,Se;}var Ee,et;function _t(){const _0x340de5=_0x30692b;if(et)return Ee;et=0x1;const {Duplex:_0x10d2ec}=_0xa3b750,{randomFillSync:_0x350a59}=_0x31909c,_0x3c3263=he(),{EMPTY_BUFFER:_0x1b6801,kWebSocket:_0x4bc1b0,NOOP:_0x2268f3}=V(),{isBlob:_0x29eddb,isValidStatusCode:_0x3c3449}=ne(),{mask:_0xfdfba2,toBuffer:_0x1666b5}=ce(),_0x44ec2f=Symbol('kByteLength'),_0x1fdac5=Buffer[_0x340de5(0x136)](0x4),_0x5fb0df=0x8*0x400;let _0x4b7fa4,_0x24a78c=_0x5fb0df;const _0x52e21e=0x0,_0x5e2bb4=0x1,_0x155129=0x2;class _0x33a799{constructor(_0x366c88,_0x79ba76,_0x13594e){const _0x5bd987=_0x340de5;this[_0x5bd987(0x142)]=_0x79ba76||{},_0x13594e&&(this[_0x5bd987(0x1b5)]=_0x13594e,this['_maskBuffer']=Buffer['alloc'](0x4)),this['_socket']=_0x366c88,this[_0x5bd987(0x236)]=!0x0,this['_compress']=!0x1,this[_0x5bd987(0x1f4)]=0x0,this[_0x5bd987(0x1a2)]=[],this['_state']=_0x52e21e,this[_0x5bd987(0x132)]=_0x2268f3,this[_0x4bc1b0]=void 0x0;}static[_0x340de5(0x291)](_0x153744,_0x1ba37a){const _0x2c5de4=_0x340de5;let _0xc2b886,_0x4be476=!0x1,_0x4f53e8=0x2,_0x52fdb4=!0x1;_0x1ba37a[_0x2c5de4(0x246)]&&(_0xc2b886=_0x1ba37a['maskBuffer']||_0x1fdac5,_0x1ba37a['generateMask']?_0x1ba37a[_0x2c5de4(0x289)](_0xc2b886):(_0x24a78c===_0x5fb0df&&(_0x4b7fa4===void 0x0&&(_0x4b7fa4=Buffer[_0x2c5de4(0x136)](_0x5fb0df)),_0x350a59(_0x4b7fa4,0x0,_0x5fb0df),_0x24a78c=0x0),_0xc2b886[0x0]=_0x4b7fa4[_0x24a78c++],_0xc2b886[0x1]=_0x4b7fa4[_0x24a78c++],_0xc2b886[0x2]=_0x4b7fa4[_0x24a78c++],_0xc2b886[0x3]=_0x4b7fa4[_0x24a78c++]),_0x52fdb4=(_0xc2b886[0x0]|_0xc2b886[0x1]|_0xc2b886[0x2]|_0xc2b886[0x3])===0x0,_0x4f53e8=0x6);let _0x3684ef;typeof _0x153744==_0x2c5de4(0x1eb)?(!_0x1ba37a[_0x2c5de4(0x246)]||_0x52fdb4)&&_0x1ba37a[_0x44ec2f]!==void 0x0?_0x3684ef=_0x1ba37a[_0x44ec2f]:(_0x153744=Buffer[_0x2c5de4(0x16b)](_0x153744),_0x3684ef=_0x153744[_0x2c5de4(0x17f)]):(_0x3684ef=_0x153744['length'],_0x4be476=_0x1ba37a['mask']&&_0x1ba37a['readOnly']&&!_0x52fdb4);let _0x4ce903=_0x3684ef;_0x3684ef>=0x10000?(_0x4f53e8+=0x8,_0x4ce903=0x7f):_0x3684ef>0x7d&&(_0x4f53e8+=0x2,_0x4ce903=0x7e);const _0x3410c7=Buffer[_0x2c5de4(0x1e8)](_0x4be476?_0x3684ef+_0x4f53e8:_0x4f53e8);return _0x3410c7[0x0]=_0x1ba37a[_0x2c5de4(0x175)]?_0x1ba37a[_0x2c5de4(0x1c2)]|0x80:_0x1ba37a[_0x2c5de4(0x1c2)],_0x1ba37a[_0x2c5de4(0x1ab)]&&(_0x3410c7[0x0]|=0x40),_0x3410c7[0x1]=_0x4ce903,_0x4ce903===0x7e?_0x3410c7['writeUInt16BE'](_0x3684ef,0x2):_0x4ce903===0x7f&&(_0x3410c7[0x2]=_0x3410c7[0x3]=0x0,_0x3410c7[_0x2c5de4(0x290)](_0x3684ef,0x4,0x6)),_0x1ba37a['mask']?(_0x3410c7[0x1]|=0x80,_0x3410c7[_0x4f53e8-0x4]=_0xc2b886[0x0],_0x3410c7[_0x4f53e8-0x3]=_0xc2b886[0x1],_0x3410c7[_0x4f53e8-0x2]=_0xc2b886[0x2],_0x3410c7[_0x4f53e8-0x1]=_0xc2b886[0x3],_0x52fdb4?[_0x3410c7,_0x153744]:_0x4be476?(_0xfdfba2(_0x153744,_0xc2b886,_0x3410c7,_0x4f53e8,_0x3684ef),[_0x3410c7]):(_0xfdfba2(_0x153744,_0xc2b886,_0x153744,0x0,_0x3684ef),[_0x3410c7,_0x153744])):[_0x3410c7,_0x153744];}[_0x340de5(0x159)](_0x2e7117,_0x47e284,_0x634cd0,_0x54febe){const _0x31bb37=_0x340de5;let _0x165746;if(_0x2e7117===void 0x0)_0x165746=_0x1b6801;else{if(typeof _0x2e7117!='number'||!_0x3c3449(_0x2e7117))throw new TypeError('First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number');if(_0x47e284===void 0x0||!_0x47e284[_0x31bb37(0x17f)])_0x165746=Buffer['allocUnsafe'](0x2),_0x165746[_0x31bb37(0x1d1)](_0x2e7117,0x0);else{const _0x2bb691=Buffer[_0x31bb37(0x1f1)](_0x47e284);if(_0x2bb691>0x7b)throw new RangeError(_0x31bb37(0x1e7));_0x165746=Buffer[_0x31bb37(0x1e8)](0x2+_0x2bb691),_0x165746[_0x31bb37(0x1d1)](_0x2e7117,0x0),typeof _0x47e284==_0x31bb37(0x1eb)?_0x165746[_0x31bb37(0x1cf)](_0x47e284,0x2):_0x165746[_0x31bb37(0x19d)](_0x47e284,0x2);}}const _0x2c8854={[_0x44ec2f]:_0x165746[_0x31bb37(0x17f)],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x634cd0,'maskBuffer':this[_0x31bb37(0x118)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x31bb37(0x1d5)]!==_0x52e21e?this['enqueue']([this[_0x31bb37(0x10b)],_0x165746,!0x1,_0x2c8854,_0x54febe]):this[_0x31bb37(0x269)](_0x33a799['frame'](_0x165746,_0x2c8854),_0x54febe);}['ping'](_0x45b246,_0xf07b9b,_0x188854){const _0x460c6c=_0x340de5;let _0x2b5182,_0x2cedd0;if(typeof _0x45b246==_0x460c6c(0x1eb)?(_0x2b5182=Buffer[_0x460c6c(0x1f1)](_0x45b246),_0x2cedd0=!0x1):_0x29eddb(_0x45b246)?(_0x2b5182=_0x45b246[_0x460c6c(0x1a5)],_0x2cedd0=!0x1):(_0x45b246=_0x1666b5(_0x45b246),_0x2b5182=_0x45b246[_0x460c6c(0x17f)],_0x2cedd0=_0x1666b5[_0x460c6c(0x278)]),_0x2b5182>0x7d)throw new RangeError(_0x460c6c(0x1b6));const _0x5a026a={[_0x44ec2f]:_0x2b5182,'fin':!0x0,'generateMask':this[_0x460c6c(0x1b5)],'mask':_0xf07b9b,'maskBuffer':this[_0x460c6c(0x118)],'opcode':0x9,'readOnly':_0x2cedd0,'rsv1':!0x1};_0x29eddb(_0x45b246)?this[_0x460c6c(0x1d5)]!==_0x52e21e?this[_0x460c6c(0x262)]([this[_0x460c6c(0x220)],_0x45b246,!0x1,_0x5a026a,_0x188854]):this[_0x460c6c(0x220)](_0x45b246,!0x1,_0x5a026a,_0x188854):this[_0x460c6c(0x1d5)]!==_0x52e21e?this[_0x460c6c(0x262)]([this[_0x460c6c(0x10b)],_0x45b246,!0x1,_0x5a026a,_0x188854]):this['sendFrame'](_0x33a799[_0x460c6c(0x291)](_0x45b246,_0x5a026a),_0x188854);}[_0x340de5(0x233)](_0x4311ba,_0x2b0359,_0x187b1c){const _0x1f7ef0=_0x340de5;let _0x3bf92a,_0x521025;if(typeof _0x4311ba==_0x1f7ef0(0x1eb)?(_0x3bf92a=Buffer['byteLength'](_0x4311ba),_0x521025=!0x1):_0x29eddb(_0x4311ba)?(_0x3bf92a=_0x4311ba['size'],_0x521025=!0x1):(_0x4311ba=_0x1666b5(_0x4311ba),_0x3bf92a=_0x4311ba['length'],_0x521025=_0x1666b5[_0x1f7ef0(0x278)]),_0x3bf92a>0x7d)throw new RangeError(_0x1f7ef0(0x1b6));const _0x38eb84={[_0x44ec2f]:_0x3bf92a,'fin':!0x0,'generateMask':this[_0x1f7ef0(0x1b5)],'mask':_0x2b0359,'maskBuffer':this[_0x1f7ef0(0x118)],'opcode':0xa,'readOnly':_0x521025,'rsv1':!0x1};_0x29eddb(_0x4311ba)?this['_state']!==_0x52e21e?this['enqueue']([this[_0x1f7ef0(0x220)],_0x4311ba,!0x1,_0x38eb84,_0x187b1c]):this[_0x1f7ef0(0x220)](_0x4311ba,!0x1,_0x38eb84,_0x187b1c):this[_0x1f7ef0(0x1d5)]!==_0x52e21e?this[_0x1f7ef0(0x262)]([this[_0x1f7ef0(0x10b)],_0x4311ba,!0x1,_0x38eb84,_0x187b1c]):this[_0x1f7ef0(0x269)](_0x33a799[_0x1f7ef0(0x291)](_0x4311ba,_0x38eb84),_0x187b1c);}[_0x340de5(0xfc)](_0x44ddcb,_0x4b116a,_0x34c1dc){const _0x5207da=_0x340de5,_0x5b6d30=this['_extensions'][_0x3c3263[_0x5207da(0x18f)]];let _0x4a326f=_0x4b116a[_0x5207da(0x165)]?0x2:0x1,_0x40247c=_0x4b116a['compress'],_0x36893e,_0x56f678;typeof _0x44ddcb==_0x5207da(0x1eb)?(_0x36893e=Buffer[_0x5207da(0x1f1)](_0x44ddcb),_0x56f678=!0x1):_0x29eddb(_0x44ddcb)?(_0x36893e=_0x44ddcb['size'],_0x56f678=!0x1):(_0x44ddcb=_0x1666b5(_0x44ddcb),_0x36893e=_0x44ddcb[_0x5207da(0x17f)],_0x56f678=_0x1666b5[_0x5207da(0x278)]),this[_0x5207da(0x236)]?(this[_0x5207da(0x236)]=!0x1,_0x40247c&&_0x5b6d30&&_0x5b6d30[_0x5207da(0x1f2)][_0x5b6d30['_isServer']?'server_no_context_takeover':_0x5207da(0x1cc)]&&(_0x40247c=_0x36893e>=_0x5b6d30[_0x5207da(0x163)]),this['_compress']=_0x40247c):(_0x40247c=!0x1,_0x4a326f=0x0),_0x4b116a[_0x5207da(0x175)]&&(this[_0x5207da(0x236)]=!0x0);const _0x503851={[_0x44ec2f]:_0x36893e,'fin':_0x4b116a[_0x5207da(0x175)],'generateMask':this[_0x5207da(0x1b5)],'mask':_0x4b116a[_0x5207da(0x246)],'maskBuffer':this[_0x5207da(0x118)],'opcode':_0x4a326f,'readOnly':_0x56f678,'rsv1':_0x40247c};_0x29eddb(_0x44ddcb)?this['_state']!==_0x52e21e?this[_0x5207da(0x262)]([this['getBlobData'],_0x44ddcb,this[_0x5207da(0x217)],_0x503851,_0x34c1dc]):this[_0x5207da(0x220)](_0x44ddcb,this[_0x5207da(0x217)],_0x503851,_0x34c1dc):this[_0x5207da(0x1d5)]!==_0x52e21e?this[_0x5207da(0x262)]([this['dispatch'],_0x44ddcb,this[_0x5207da(0x217)],_0x503851,_0x34c1dc]):this[_0x5207da(0x10b)](_0x44ddcb,this[_0x5207da(0x217)],_0x503851,_0x34c1dc);}[_0x340de5(0x220)](_0x4013e7,_0x35e6d0,_0x175ee3,_0x5d6136){const _0x88fcbb=_0x340de5;this[_0x88fcbb(0x1f4)]+=_0x175ee3[_0x44ec2f],this[_0x88fcbb(0x1d5)]=_0x155129,_0x4013e7[_0x88fcbb(0x155)]()[_0x88fcbb(0x251)](_0x1e5106=>{const _0x3211ca=_0x88fcbb;if(this[_0x3211ca(0x27c)][_0x3211ca(0x21a)]){const _0x4aac0d=new Error(_0x3211ca(0x21b));process[_0x3211ca(0x281)](_0x5429b8,this,_0x4aac0d,_0x5d6136);return;}this[_0x3211ca(0x1f4)]-=_0x175ee3[_0x44ec2f];const _0x117891=_0x1666b5(_0x1e5106);_0x35e6d0?this[_0x3211ca(0x10b)](_0x117891,_0x35e6d0,_0x175ee3,_0x5d6136):(this[_0x3211ca(0x1d5)]=_0x52e21e,this[_0x3211ca(0x269)](_0x33a799[_0x3211ca(0x291)](_0x117891,_0x175ee3),_0x5d6136),this[_0x3211ca(0x28a)]());})[_0x88fcbb(0x288)](_0x321d4c=>{const _0x6caf77=_0x88fcbb;process[_0x6caf77(0x281)](_0x42b3dd,this,_0x321d4c,_0x5d6136);});}[_0x340de5(0x10b)](_0x59e97c,_0x20742a,_0x4827f1,_0x2e5f64){const _0x3726ec=_0x340de5;if(!_0x20742a){this[_0x3726ec(0x269)](_0x33a799[_0x3726ec(0x291)](_0x59e97c,_0x4827f1),_0x2e5f64);return;}const _0x538af6=this[_0x3726ec(0x142)][_0x3c3263[_0x3726ec(0x18f)]];this[_0x3726ec(0x1f4)]+=_0x4827f1[_0x44ec2f],this[_0x3726ec(0x1d5)]=_0x5e2bb4,_0x538af6[_0x3726ec(0x1ff)](_0x59e97c,_0x4827f1[_0x3726ec(0x175)],(_0x33bed8,_0x190f15)=>{const _0x8ec182=_0x3726ec;if(this[_0x8ec182(0x27c)][_0x8ec182(0x21a)]){const _0xd5a2bf=new Error(_0x8ec182(0xf7));_0x5429b8(this,_0xd5a2bf,_0x2e5f64);return;}this[_0x8ec182(0x1f4)]-=_0x4827f1[_0x44ec2f],this['_state']=_0x52e21e,_0x4827f1[_0x8ec182(0x278)]=!0x1,this['sendFrame'](_0x33a799[_0x8ec182(0x291)](_0x190f15,_0x4827f1),_0x2e5f64),this[_0x8ec182(0x28a)]();});}[_0x340de5(0x28a)](){const _0x243b29=_0x340de5;for(;this[_0x243b29(0x1d5)]===_0x52e21e&&this[_0x243b29(0x1a2)][_0x243b29(0x17f)];){const _0x1c1f7b=this[_0x243b29(0x1a2)][_0x243b29(0x14f)]();this[_0x243b29(0x1f4)]-=_0x1c1f7b[0x3][_0x44ec2f],Reflect[_0x243b29(0xff)](_0x1c1f7b[0x0],this,_0x1c1f7b[_0x243b29(0x113)](0x1));}}[_0x340de5(0x262)](_0x242d15){const _0x34fe7d=_0x340de5;this['_bufferedBytes']+=_0x242d15[0x3][_0x44ec2f],this[_0x34fe7d(0x1a2)][_0x34fe7d(0x282)](_0x242d15);}[_0x340de5(0x269)](_0x1cd50e,_0x2d505c){const _0x36c49a=_0x340de5;_0x1cd50e[_0x36c49a(0x17f)]===0x2?(this[_0x36c49a(0x27c)][_0x36c49a(0x12c)](),this[_0x36c49a(0x27c)]['write'](_0x1cd50e[0x0]),this['_socket']['write'](_0x1cd50e[0x1],_0x2d505c),this['_socket'][_0x36c49a(0x1bd)]()):this[_0x36c49a(0x27c)][_0x36c49a(0x1cf)](_0x1cd50e[0x0],_0x2d505c);}}Ee=_0x33a799;function _0x5429b8(_0x37cfd9,_0x4b41ff,_0x3af9e3){const _0x28d450=_0x340de5;typeof _0x3af9e3=='function'&&_0x3af9e3(_0x4b41ff);for(let _0xc7051f=0x0;_0xc7051f<_0x37cfd9['_queue'][_0x28d450(0x17f)];_0xc7051f++){const _0x4606f7=_0x37cfd9[_0x28d450(0x1a2)][_0xc7051f],_0x1e047d=_0x4606f7[_0x4606f7[_0x28d450(0x17f)]-0x1];typeof _0x1e047d==_0x28d450(0x1e1)&&_0x1e047d(_0x4b41ff);}}function _0x42b3dd(_0x52cdae,_0x18671d,_0xb81de){const _0xfd0125=_0x340de5;_0x5429b8(_0x52cdae,_0x18671d,_0xb81de),_0x52cdae[_0xfd0125(0x132)](_0x18671d);}return Ee;}var xe,tt;function Kt(){const _0x46bd0c=_0x30692b;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0xda02e2,kListener:_0x52ef03}=V(),_0x5c6bb1=Symbol('kCode'),_0x2051bf=Symbol(_0x46bd0c(0x14d)),_0x1d0060=Symbol(_0x46bd0c(0xef)),_0x1a0bf4=Symbol('kMessage'),_0x316a17=Symbol(_0x46bd0c(0x222)),_0x2cb590=Symbol(_0x46bd0c(0x1d8)),_0x286333=Symbol('kType'),_0x3c482f=Symbol(_0x46bd0c(0x1d4));class _0x22e085{constructor(_0x56276a){this[_0x2cb590]=null,this[_0x286333]=_0x56276a;}get[_0x46bd0c(0x26f)](){return this[_0x2cb590];}get['type'](){return this[_0x286333];}}Object['defineProperty'](_0x22e085[_0x46bd0c(0x26b)],'target',{'enumerable':!0x0}),Object['defineProperty'](_0x22e085[_0x46bd0c(0x26b)],_0x46bd0c(0x1da),{'enumerable':!0x0});class _0x39d0d8 extends _0x22e085{constructor(_0x15bd28,_0x5cd73e={}){const _0x1f50a8=_0x46bd0c;super(_0x15bd28),this[_0x5c6bb1]=_0x5cd73e[_0x1f50a8(0x18e)]===void 0x0?0x0:_0x5cd73e[_0x1f50a8(0x18e)],this[_0x316a17]=_0x5cd73e[_0x1f50a8(0x146)]===void 0x0?'':_0x5cd73e[_0x1f50a8(0x146)],this[_0x3c482f]=_0x5cd73e[_0x1f50a8(0x23a)]===void 0x0?!0x1:_0x5cd73e[_0x1f50a8(0x23a)];}get[_0x46bd0c(0x18e)](){return this[_0x5c6bb1];}get['reason'](){return this[_0x316a17];}get[_0x46bd0c(0x23a)](){return this[_0x3c482f];}}Object[_0x46bd0c(0x265)](_0x39d0d8['prototype'],_0x46bd0c(0x18e),{'enumerable':!0x0}),Object['defineProperty'](_0x39d0d8[_0x46bd0c(0x26b)],_0x46bd0c(0x146),{'enumerable':!0x0}),Object[_0x46bd0c(0x265)](_0x39d0d8[_0x46bd0c(0x26b)],'wasClean',{'enumerable':!0x0});class _0x33e000 extends _0x22e085{constructor(_0x5cfe17,_0x2ce3b1={}){const _0x1e0376=_0x46bd0c;super(_0x5cfe17),this[_0x1d0060]=_0x2ce3b1[_0x1e0376(0x1b0)]===void 0x0?null:_0x2ce3b1[_0x1e0376(0x1b0)],this[_0x1a0bf4]=_0x2ce3b1[_0x1e0376(0x299)]===void 0x0?'':_0x2ce3b1[_0x1e0376(0x299)];}get['error'](){return this[_0x1d0060];}get[_0x46bd0c(0x299)](){return this[_0x1a0bf4];}}Object[_0x46bd0c(0x265)](_0x33e000[_0x46bd0c(0x26b)],_0x46bd0c(0x1b0),{'enumerable':!0x0}),Object[_0x46bd0c(0x265)](_0x33e000['prototype'],'message',{'enumerable':!0x0});class _0x4139b5 extends _0x22e085{constructor(_0xca3e8d,_0x33636c={}){const _0x58b8b6=_0x46bd0c;super(_0xca3e8d),this[_0x2051bf]=_0x33636c[_0x58b8b6(0x13d)]===void 0x0?null:_0x33636c[_0x58b8b6(0x13d)];}get[_0x46bd0c(0x13d)](){return this[_0x2051bf];}}Object[_0x46bd0c(0x265)](_0x4139b5['prototype'],_0x46bd0c(0x13d),{'enumerable':!0x0}),xe={'CloseEvent':_0x39d0d8,'ErrorEvent':_0x33e000,'Event':_0x22e085,'EventTarget':{'addEventListener'(_0x18b9ad,_0x1d7eca,_0xb56bbd={}){const _0x964a90=_0x46bd0c;for(const _0x2dc529 of this['listeners'](_0x18b9ad))if(!_0xb56bbd[_0xda02e2]&&_0x2dc529[_0x52ef03]===_0x1d7eca&&!_0x2dc529[_0xda02e2])return;let _0x3e5782;if(_0x18b9ad==='message')_0x3e5782=function(_0x4a5278,_0x8b9654){const _0x215a9c=_0x378b,_0x65b6af=new _0x4139b5(_0x215a9c(0x299),{'data':_0x8b9654?_0x4a5278:_0x4a5278[_0x215a9c(0x244)]()});_0x65b6af[_0x2cb590]=this,_0x1782fe(_0x1d7eca,this,_0x65b6af);};else{if(_0x18b9ad==='close')_0x3e5782=function(_0xf18d92,_0x22c73d){const _0x29dcfc=_0x378b,_0x35ad80=new _0x39d0d8(_0x29dcfc(0x159),{'code':_0xf18d92,'reason':_0x22c73d[_0x29dcfc(0x244)](),'wasClean':this[_0x29dcfc(0x27d)]&&this['_closeFrameSent']});_0x35ad80[_0x2cb590]=this,_0x1782fe(_0x1d7eca,this,_0x35ad80);};else{if(_0x18b9ad===_0x964a90(0x1b0))_0x3e5782=function(_0x3418ae){const _0x513a1c=new _0x33e000('error',{'error':_0x3418ae,'message':_0x3418ae['message']});_0x513a1c[_0x2cb590]=this,_0x1782fe(_0x1d7eca,this,_0x513a1c);};else{if(_0x18b9ad===_0x964a90(0x1a1))_0x3e5782=function(){const _0x5172a1=_0x964a90,_0x2ef02c=new _0x22e085(_0x5172a1(0x1a1));_0x2ef02c[_0x2cb590]=this,_0x1782fe(_0x1d7eca,this,_0x2ef02c);};else return;}}}_0x3e5782[_0xda02e2]=!!_0xb56bbd[_0xda02e2],_0x3e5782[_0x52ef03]=_0x1d7eca,_0xb56bbd[_0x964a90(0x182)]?this[_0x964a90(0x182)](_0x18b9ad,_0x3e5782):this['on'](_0x18b9ad,_0x3e5782);},'removeEventListener'(_0x2cf614,_0xbdd882){const _0x609b98=_0x46bd0c;for(const _0x482ff8 of this[_0x609b98(0x202)](_0x2cf614))if(_0x482ff8[_0x52ef03]===_0xbdd882&&!_0x482ff8[_0xda02e2]){this[_0x609b98(0x229)](_0x2cf614,_0x482ff8);break;}}},'MessageEvent':_0x4139b5};function _0x1782fe(_0x37c541,_0xc709ec,_0x3e1e64){const _0x1609c3=_0x46bd0c;typeof _0x37c541=='object'&&_0x37c541['handleEvent']?_0x37c541[_0x1609c3(0x1ae)]['call'](_0x37c541,_0x3e1e64):_0x37c541[_0x1609c3(0x263)](_0xc709ec,_0x3e1e64);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x143229}=ne();function _0x3befec(_0x1a437b,_0x300639,_0x891eea){const _0x9ebd3d=_0x378b;_0x1a437b[_0x300639]===void 0x0?_0x1a437b[_0x300639]=[_0x891eea]:_0x1a437b[_0x300639][_0x9ebd3d(0x282)](_0x891eea);}function _0x1c8029(_0xaab9b8){const _0x5bc61f=_0x378b,_0x4714c7=Object[_0x5bc61f(0x243)](null);let _0x281fb1=Object[_0x5bc61f(0x243)](null),_0x322ad9=!0x1,_0x5eb63d=!0x1,_0x2f8a95=!0x1,_0x555c2b,_0x24dec6,_0x440c42=-0x1,_0xcdef3c=-0x1,_0x2417b1=-0x1,_0x3a1520=0x0;for(;_0x3a1520<_0xaab9b8[_0x5bc61f(0x17f)];_0x3a1520++)if(_0xcdef3c=_0xaab9b8['charCodeAt'](_0x3a1520),_0x555c2b===void 0x0){if(_0x2417b1===-0x1&&_0x143229[_0xcdef3c]===0x1)_0x440c42===-0x1&&(_0x440c42=_0x3a1520);else{if(_0x3a1520!==0x0&&(_0xcdef3c===0x20||_0xcdef3c===0x9))_0x2417b1===-0x1&&_0x440c42!==-0x1&&(_0x2417b1=_0x3a1520);else{if(_0xcdef3c===0x3b||_0xcdef3c===0x2c){if(_0x440c42===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x3a1520);_0x2417b1===-0x1&&(_0x2417b1=_0x3a1520);const _0x44d156=_0xaab9b8[_0x5bc61f(0x113)](_0x440c42,_0x2417b1);_0xcdef3c===0x2c?(_0x3befec(_0x4714c7,_0x44d156,_0x281fb1),_0x281fb1=Object[_0x5bc61f(0x243)](null)):_0x555c2b=_0x44d156,_0x440c42=_0x2417b1=-0x1;}else throw new SyntaxError(_0x5bc61f(0xfd)+_0x3a1520);}}}else{if(_0x24dec6===void 0x0){if(_0x2417b1===-0x1&&_0x143229[_0xcdef3c]===0x1)_0x440c42===-0x1&&(_0x440c42=_0x3a1520);else{if(_0xcdef3c===0x20||_0xcdef3c===0x9)_0x2417b1===-0x1&&_0x440c42!==-0x1&&(_0x2417b1=_0x3a1520);else{if(_0xcdef3c===0x3b||_0xcdef3c===0x2c){if(_0x440c42===-0x1)throw new SyntaxError(_0x5bc61f(0xfd)+_0x3a1520);_0x2417b1===-0x1&&(_0x2417b1=_0x3a1520),_0x3befec(_0x281fb1,_0xaab9b8[_0x5bc61f(0x113)](_0x440c42,_0x2417b1),!0x0),_0xcdef3c===0x2c&&(_0x3befec(_0x4714c7,_0x555c2b,_0x281fb1),_0x281fb1=Object['create'](null),_0x555c2b=void 0x0),_0x440c42=_0x2417b1=-0x1;}else{if(_0xcdef3c===0x3d&&_0x440c42!==-0x1&&_0x2417b1===-0x1)_0x24dec6=_0xaab9b8[_0x5bc61f(0x113)](_0x440c42,_0x3a1520),_0x440c42=_0x2417b1=-0x1;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x3a1520);}}}}else{if(_0x5eb63d){if(_0x143229[_0xcdef3c]!==0x1)throw new SyntaxError(_0x5bc61f(0xfd)+_0x3a1520);_0x440c42===-0x1?_0x440c42=_0x3a1520:_0x322ad9||(_0x322ad9=!0x0),_0x5eb63d=!0x1;}else{if(_0x2f8a95){if(_0x143229[_0xcdef3c]===0x1)_0x440c42===-0x1&&(_0x440c42=_0x3a1520);else{if(_0xcdef3c===0x22&&_0x440c42!==-0x1)_0x2f8a95=!0x1,_0x2417b1=_0x3a1520;else{if(_0xcdef3c===0x5c)_0x5eb63d=!0x0;else throw new SyntaxError(_0x5bc61f(0xfd)+_0x3a1520);}}}else{if(_0xcdef3c===0x22&&_0xaab9b8[_0x5bc61f(0x1d0)](_0x3a1520-0x1)===0x3d)_0x2f8a95=!0x0;else{if(_0x2417b1===-0x1&&_0x143229[_0xcdef3c]===0x1)_0x440c42===-0x1&&(_0x440c42=_0x3a1520);else{if(_0x440c42!==-0x1&&(_0xcdef3c===0x20||_0xcdef3c===0x9))_0x2417b1===-0x1&&(_0x2417b1=_0x3a1520);else{if(_0xcdef3c===0x3b||_0xcdef3c===0x2c){if(_0x440c42===-0x1)throw new SyntaxError(_0x5bc61f(0xfd)+_0x3a1520);_0x2417b1===-0x1&&(_0x2417b1=_0x3a1520);let _0x47ee77=_0xaab9b8[_0x5bc61f(0x113)](_0x440c42,_0x2417b1);_0x322ad9&&(_0x47ee77=_0x47ee77[_0x5bc61f(0x255)](/\\/g,''),_0x322ad9=!0x1),_0x3befec(_0x281fb1,_0x24dec6,_0x47ee77),_0xcdef3c===0x2c&&(_0x3befec(_0x4714c7,_0x555c2b,_0x281fb1),_0x281fb1=Object[_0x5bc61f(0x243)](null),_0x555c2b=void 0x0),_0x24dec6=void 0x0,_0x440c42=_0x2417b1=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x3a1520);}}}}}}}if(_0x440c42===-0x1||_0x2f8a95||_0xcdef3c===0x20||_0xcdef3c===0x9)throw new SyntaxError('Unexpected\x20end\x20of\x20input');_0x2417b1===-0x1&&(_0x2417b1=_0x3a1520);const _0x4fdf92=_0xaab9b8[_0x5bc61f(0x113)](_0x440c42,_0x2417b1);return _0x555c2b===void 0x0?_0x3befec(_0x4714c7,_0x4fdf92,_0x281fb1):(_0x24dec6===void 0x0?_0x3befec(_0x281fb1,_0x4fdf92,!0x0):_0x322ad9?_0x3befec(_0x281fb1,_0x24dec6,_0x4fdf92[_0x5bc61f(0x255)](/\\/g,'')):_0x3befec(_0x281fb1,_0x24dec6,_0x4fdf92),_0x3befec(_0x4714c7,_0x555c2b,_0x281fb1)),_0x4714c7;}function _0xf27ee(_0x280dd7){const _0x44bc98=_0x378b;return Object[_0x44bc98(0xfe)](_0x280dd7)[_0x44bc98(0x1a3)](_0xe09e01=>{const _0x26a5ff=_0x44bc98;let _0x2477c6=_0x280dd7[_0xe09e01];return Array[_0x26a5ff(0x18a)](_0x2477c6)||(_0x2477c6=[_0x2477c6]),_0x2477c6[_0x26a5ff(0x1a3)](_0x45c80b=>[_0xe09e01][_0x26a5ff(0x210)](Object[_0x26a5ff(0xfe)](_0x45c80b)[_0x26a5ff(0x1a3)](_0x54d5f6=>{const _0x278d16=_0x26a5ff;let _0xf943af=_0x45c80b[_0x54d5f6];return Array[_0x278d16(0x18a)](_0xf943af)||(_0xf943af=[_0xf943af]),_0xf943af[_0x278d16(0x1a3)](_0x4d194d=>_0x4d194d===!0x0?_0x54d5f6:_0x54d5f6+'='+_0x4d194d)[_0x278d16(0xf3)](';\x20');}))[_0x26a5ff(0xf3)](';\x20'))[_0x26a5ff(0xf3)](',\x20');})[_0x44bc98(0xf3)](',\x20');}return be={'format':_0xf27ee,'parse':_0x1c8029},be;}var we,st;function Ie(){const _0x558fff=_0x30692b;if(st)return we;st=0x1;const _0xde76a8=_0x290843,_0x12291c=_0x55249a,_0x538e9d=_0x2c702b,_0x4254f2=_0x1265e1,_0x59d1e0=_0x12c9de,{randomBytes:_0x2251de,createHash:_0x21ea34}=_0x31909c,{Duplex:_0x567857,Readable:_0x2bc23f}=_0xa3b750,{URL:_0x5a3cf1}=_0x337ca0,_0x47c04f=he(),_0x1dd501=dt(),_0x59dd75=_t(),{isBlob:_0x258914}=ne(),{BINARY_TYPES:_0x2039b5,EMPTY_BUFFER:_0x493525,GUID:_0x2eb5a3,kForOnEventAttribute:_0x51c322,kListener:_0x17a97e,kStatusCode:_0x3ae65e,kWebSocket:_0x45b322,NOOP:_0x15d3af}=V(),{EventTarget:{addEventListener:_0xe24221,removeEventListener:_0x96ef89}}=Kt(),{format:_0x52bf6b,parse:_0xde70aa}=pt(),{toBuffer:_0x349429}=ce(),_0x3006fd=0x1e*0x3e8,_0x124712=Symbol(_0x558fff(0x224)),_0x29ed74=[0x8,0xd],_0x2269f0=[_0x558fff(0x12a),_0x558fff(0x180),'CLOSING',_0x558fff(0x27b)],_0x42c24d=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x34757b extends _0xde76a8{constructor(_0x35131c,_0x3c0274,_0x3b31d6){const _0x262d4a=_0x558fff;super(),this[_0x262d4a(0x1dd)]=_0x2039b5[0x0],this[_0x262d4a(0xf5)]=0x3ee,this[_0x262d4a(0x27d)]=!0x1,this[_0x262d4a(0x10f)]=!0x1,this[_0x262d4a(0x25d)]=_0x493525,this[_0x262d4a(0x228)]=null,this[_0x262d4a(0x284)]=!0x1,this['_extensions']={},this['_paused']=!0x1,this[_0x262d4a(0x185)]='',this[_0x262d4a(0x112)]=_0x34757b['CONNECTING'],this[_0x262d4a(0x264)]=null,this['_sender']=null,this[_0x262d4a(0x27c)]=null,_0x35131c!==null?(this[_0x262d4a(0x213)]=0x0,this[_0x262d4a(0x149)]=!0x1,this[_0x262d4a(0x1e3)]=0x0,_0x3c0274===void 0x0?_0x3c0274=[]:Array['isArray'](_0x3c0274)||(typeof _0x3c0274==_0x262d4a(0x254)&&_0x3c0274!==null?(_0x3b31d6=_0x3c0274,_0x3c0274=[]):_0x3c0274=[_0x3c0274]),_0x27f491(this,_0x35131c,_0x3c0274,_0x3b31d6)):(this[_0x262d4a(0x25a)]=_0x3b31d6[_0x262d4a(0x144)],this['_isServer']=!0x0);}get['binaryType'](){const _0x310d97=_0x558fff;return this[_0x310d97(0x1dd)];}set[_0x558fff(0x1c9)](_0xedbd6b){const _0x50aefa=_0x558fff;_0x2039b5[_0x50aefa(0x21c)](_0xedbd6b)&&(this['_binaryType']=_0xedbd6b,this[_0x50aefa(0x264)]&&(this['_receiver']['_binaryType']=_0xedbd6b));}get['bufferedAmount'](){const _0x1ee24f=_0x558fff;return this[_0x1ee24f(0x27c)]?this[_0x1ee24f(0x27c)]['_writableState']['length']+this[_0x1ee24f(0x283)]['_bufferedBytes']:this['_bufferedAmount'];}get[_0x558fff(0x107)](){const _0x4ecb11=_0x558fff;return Object[_0x4ecb11(0xfe)](this[_0x4ecb11(0x142)])['join']();}get[_0x558fff(0x1fd)](){const _0x2cc41d=_0x558fff;return this[_0x2cc41d(0x21f)];}get[_0x558fff(0x28f)](){return null;}get['onerror'](){return null;}get['onopen'](){return null;}get['onmessage'](){return null;}get['protocol'](){return this['_protocol'];}get[_0x558fff(0x270)](){const _0x3076f=_0x558fff;return this[_0x3076f(0x112)];}get[_0x558fff(0x124)](){const _0x37c30a=_0x558fff;return this[_0x37c30a(0x123)];}[_0x558fff(0x1b4)](_0x4b9fbb,_0x352c6b,_0x406f29){const _0x5b84d4=_0x558fff,_0x2e7c6d=new _0x1dd501({'allowSynchronousEvents':_0x406f29['allowSynchronousEvents'],'binaryType':this['binaryType'],'extensions':this['_extensions'],'isServer':this[_0x5b84d4(0x149)],'maxPayload':_0x406f29[_0x5b84d4(0x292)],'skipUTF8Validation':_0x406f29[_0x5b84d4(0x1fc)]}),_0xf6cdb4=new _0x59dd75(_0x4b9fbb,this[_0x5b84d4(0x142)],_0x406f29['generateMask']);this[_0x5b84d4(0x264)]=_0x2e7c6d,this[_0x5b84d4(0x283)]=_0xf6cdb4,this[_0x5b84d4(0x27c)]=_0x4b9fbb,_0x2e7c6d[_0x45b322]=this,_0xf6cdb4[_0x45b322]=this,_0x4b9fbb[_0x45b322]=this,_0x2e7c6d['on'](_0x5b84d4(0x24e),_0x1d3cbb),_0x2e7c6d['on'](_0x5b84d4(0x16a),_0x3c8cb6),_0x2e7c6d['on']('error',_0x494a7e),_0x2e7c6d['on'](_0x5b84d4(0x299),_0xf31324),_0x2e7c6d['on'](_0x5b84d4(0x266),_0x21fc63),_0x2e7c6d['on'](_0x5b84d4(0x233),_0x3acfbe),_0xf6cdb4['onerror']=_0x1d7754,_0x4b9fbb['setTimeout']&&_0x4b9fbb[_0x5b84d4(0x1fa)](0x0),_0x4b9fbb['setNoDelay']&&_0x4b9fbb[_0x5b84d4(0x240)](),_0x352c6b[_0x5b84d4(0x17f)]>0x0&&_0x4b9fbb[_0x5b84d4(0x1d9)](_0x352c6b),_0x4b9fbb['on'](_0x5b84d4(0x159),_0x5451f5),_0x4b9fbb['on']('data',_0x1856ea),_0x4b9fbb['on'](_0x5b84d4(0x17b),_0x12dcaa),_0x4b9fbb['on'](_0x5b84d4(0x1b0),_0x5c1490),this[_0x5b84d4(0x112)]=_0x34757b['OPEN'],this['emit'](_0x5b84d4(0x1a1));}[_0x558fff(0x1ac)](){const _0x3ee2b9=_0x558fff;if(!this[_0x3ee2b9(0x27c)]){this['_readyState']=_0x34757b[_0x3ee2b9(0x27b)],this[_0x3ee2b9(0x1c5)]('close',this[_0x3ee2b9(0xf5)],this[_0x3ee2b9(0x25d)]);return;}this[_0x3ee2b9(0x142)][_0x47c04f[_0x3ee2b9(0x18f)]]&&this[_0x3ee2b9(0x142)][_0x47c04f[_0x3ee2b9(0x18f)]][_0x3ee2b9(0x198)](),this[_0x3ee2b9(0x264)]['removeAllListeners'](),this[_0x3ee2b9(0x112)]=_0x34757b[_0x3ee2b9(0x27b)],this[_0x3ee2b9(0x1c5)](_0x3ee2b9(0x159),this[_0x3ee2b9(0xf5)],this[_0x3ee2b9(0x25d)]);}[_0x558fff(0x159)](_0x56f21e,_0x3d0d7e){const _0x1ed5b2=_0x558fff;if(this[_0x1ed5b2(0x270)]!==_0x34757b[_0x1ed5b2(0x27b)]){if(this[_0x1ed5b2(0x270)]===_0x34757b['CONNECTING']){_0x22460d(this,this[_0x1ed5b2(0x186)],_0x1ed5b2(0x227));return;}if(this[_0x1ed5b2(0x270)]===_0x34757b['CLOSING']){this[_0x1ed5b2(0x10f)]&&(this[_0x1ed5b2(0x27d)]||this[_0x1ed5b2(0x264)][_0x1ed5b2(0x197)][_0x1ed5b2(0x151)])&&this[_0x1ed5b2(0x27c)][_0x1ed5b2(0x17b)]();return;}this['_readyState']=_0x34757b['CLOSING'],this[_0x1ed5b2(0x283)][_0x1ed5b2(0x159)](_0x56f21e,_0x3d0d7e,!this[_0x1ed5b2(0x149)],_0x806804=>{const _0x30e299=_0x1ed5b2;_0x806804||(this[_0x30e299(0x10f)]=!0x0,(this[_0x30e299(0x27d)]||this[_0x30e299(0x264)]['_writableState'][_0x30e299(0x151)])&&this[_0x30e299(0x27c)]['end']());}),_0x1000ac(this);}}['pause'](){const _0x5873e7=_0x558fff;this['readyState']===_0x34757b[_0x5873e7(0x12a)]||this[_0x5873e7(0x270)]===_0x34757b[_0x5873e7(0x27b)]||(this[_0x5873e7(0x21f)]=!0x0,this[_0x5873e7(0x27c)][_0x5873e7(0x172)]());}[_0x558fff(0x266)](_0x24a8fe,_0x2b045a,_0x5844f7){const _0x2e991f=_0x558fff;if(this[_0x2e991f(0x270)]===_0x34757b[_0x2e991f(0x12a)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x24a8fe=='function'?(_0x5844f7=_0x24a8fe,_0x24a8fe=_0x2b045a=void 0x0):typeof _0x2b045a==_0x2e991f(0x1e1)&&(_0x5844f7=_0x2b045a,_0x2b045a=void 0x0),typeof _0x24a8fe==_0x2e991f(0x11a)&&(_0x24a8fe=_0x24a8fe[_0x2e991f(0x244)]()),this[_0x2e991f(0x270)]!==_0x34757b[_0x2e991f(0x180)]){_0x125cae(this,_0x24a8fe,_0x5844f7);return;}_0x2b045a===void 0x0&&(_0x2b045a=!this[_0x2e991f(0x149)]),this[_0x2e991f(0x283)][_0x2e991f(0x266)](_0x24a8fe||_0x493525,_0x2b045a,_0x5844f7);}[_0x558fff(0x233)](_0x461389,_0x1acb20,_0x3340a2){const _0x3ae61f=_0x558fff;if(this[_0x3ae61f(0x270)]===_0x34757b[_0x3ae61f(0x12a)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x461389==_0x3ae61f(0x1e1)?(_0x3340a2=_0x461389,_0x461389=_0x1acb20=void 0x0):typeof _0x1acb20==_0x3ae61f(0x1e1)&&(_0x3340a2=_0x1acb20,_0x1acb20=void 0x0),typeof _0x461389==_0x3ae61f(0x11a)&&(_0x461389=_0x461389['toString']()),this[_0x3ae61f(0x270)]!==_0x34757b[_0x3ae61f(0x180)]){_0x125cae(this,_0x461389,_0x3340a2);return;}_0x1acb20===void 0x0&&(_0x1acb20=!this['_isServer']),this[_0x3ae61f(0x283)][_0x3ae61f(0x233)](_0x461389||_0x493525,_0x1acb20,_0x3340a2);}[_0x558fff(0x10e)](){const _0x51fc38=_0x558fff;this['readyState']===_0x34757b[_0x51fc38(0x12a)]||this['readyState']===_0x34757b[_0x51fc38(0x27b)]||(this[_0x51fc38(0x21f)]=!0x1,this[_0x51fc38(0x264)][_0x51fc38(0x197)]['needDrain']||this[_0x51fc38(0x27c)][_0x51fc38(0x10e)]());}[_0x558fff(0xfc)](_0xf94801,_0x5b861d,_0x445d87){const _0x5e7367=_0x558fff;if(this['readyState']===_0x34757b[_0x5e7367(0x12a)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x5b861d==_0x5e7367(0x1e1)&&(_0x445d87=_0x5b861d,_0x5b861d={}),typeof _0xf94801==_0x5e7367(0x11a)&&(_0xf94801=_0xf94801[_0x5e7367(0x244)]()),this[_0x5e7367(0x270)]!==_0x34757b[_0x5e7367(0x180)]){_0x125cae(this,_0xf94801,_0x445d87);return;}const _0x52fa57={'binary':typeof _0xf94801!=_0x5e7367(0x1eb),'mask':!this[_0x5e7367(0x149)],'compress':!0x0,'fin':!0x0,..._0x5b861d};this['_extensions'][_0x47c04f[_0x5e7367(0x18f)]]||(_0x52fa57[_0x5e7367(0x1ff)]=!0x1),this[_0x5e7367(0x283)][_0x5e7367(0xfc)](_0xf94801||_0x493525,_0x52fa57,_0x445d87);}[_0x558fff(0x192)](){const _0x527d5d=_0x558fff;if(this[_0x527d5d(0x270)]!==_0x34757b[_0x527d5d(0x27b)]){if(this[_0x527d5d(0x270)]===_0x34757b[_0x527d5d(0x12a)]){_0x22460d(this,this['_req'],_0x527d5d(0x227));return;}this[_0x527d5d(0x27c)]&&(this['_readyState']=_0x34757b['CLOSING'],this[_0x527d5d(0x27c)][_0x527d5d(0x110)]());}}}Object[_0x558fff(0x265)](_0x34757b,_0x558fff(0x12a),{'enumerable':!0x0,'value':_0x2269f0[_0x558fff(0x14a)](_0x558fff(0x12a))}),Object[_0x558fff(0x265)](_0x34757b[_0x558fff(0x26b)],'CONNECTING',{'enumerable':!0x0,'value':_0x2269f0[_0x558fff(0x14a)](_0x558fff(0x12a))}),Object[_0x558fff(0x265)](_0x34757b,_0x558fff(0x180),{'enumerable':!0x0,'value':_0x2269f0[_0x558fff(0x14a)](_0x558fff(0x180))}),Object[_0x558fff(0x265)](_0x34757b['prototype'],'OPEN',{'enumerable':!0x0,'value':_0x2269f0[_0x558fff(0x14a)](_0x558fff(0x180))}),Object[_0x558fff(0x265)](_0x34757b,_0x558fff(0x168),{'enumerable':!0x0,'value':_0x2269f0[_0x558fff(0x14a)](_0x558fff(0x168))}),Object[_0x558fff(0x265)](_0x34757b[_0x558fff(0x26b)],_0x558fff(0x168),{'enumerable':!0x0,'value':_0x2269f0[_0x558fff(0x14a)](_0x558fff(0x168))}),Object[_0x558fff(0x265)](_0x34757b,_0x558fff(0x27b),{'enumerable':!0x0,'value':_0x2269f0[_0x558fff(0x14a)](_0x558fff(0x27b))}),Object[_0x558fff(0x265)](_0x34757b[_0x558fff(0x26b)],_0x558fff(0x27b),{'enumerable':!0x0,'value':_0x2269f0[_0x558fff(0x14a)](_0x558fff(0x27b))}),['binaryType','bufferedAmount',_0x558fff(0x107),_0x558fff(0x1fd),_0x558fff(0x1f7),_0x558fff(0x270),'url']['forEach'](_0x26c3dd=>{const _0x239cf1=_0x558fff;Object['defineProperty'](_0x34757b[_0x239cf1(0x26b)],_0x26c3dd,{'enumerable':!0x0});}),[_0x558fff(0x1a1),_0x558fff(0x1b0),'close','message'][_0x558fff(0x25c)](_0x1fd1ea=>{const _0x59f4a8=_0x558fff;Object[_0x59f4a8(0x265)](_0x34757b[_0x59f4a8(0x26b)],'on'+_0x1fd1ea,{'enumerable':!0x0,'get'(){const _0x23b9b7=_0x59f4a8;for(const _0x5623a3 of this[_0x23b9b7(0x202)](_0x1fd1ea))if(_0x5623a3[_0x51c322])return _0x5623a3[_0x17a97e];return null;},'set'(_0x5c0e7d){const _0x8f9ce=_0x59f4a8;for(const _0x1fe67d of this['listeners'](_0x1fd1ea))if(_0x1fe67d[_0x51c322]){this[_0x8f9ce(0x229)](_0x1fd1ea,_0x1fe67d);break;}typeof _0x5c0e7d=='function'&&this[_0x8f9ce(0x276)](_0x1fd1ea,_0x5c0e7d,{[_0x51c322]:!0x0});}});}),_0x34757b[_0x558fff(0x26b)][_0x558fff(0x276)]=_0xe24221,_0x34757b[_0x558fff(0x26b)][_0x558fff(0x127)]=_0x96ef89,we=_0x34757b;function _0x27f491(_0xcbeb99,_0xe60c55,_0x5cb975,_0x2483a6){const _0xf60608=_0x558fff,_0x13fbc3={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x29ed74[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x2483a6,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0xf60608(0x199),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0xcbeb99[_0xf60608(0x25a)]=_0x13fbc3[_0xf60608(0x144)],!_0x29ed74[_0xf60608(0x21c)](_0x13fbc3[_0xf60608(0x1db)]))throw new RangeError('Unsupported\x20protocol\x20version:\x20'+_0x13fbc3[_0xf60608(0x1db)]+_0xf60608(0x122)+_0x29ed74[_0xf60608(0xf3)](',\x20')+')');let _0x1da031;if(_0xe60c55 instanceof _0x5a3cf1)_0x1da031=_0xe60c55;else try{_0x1da031=new _0x5a3cf1(_0xe60c55);}catch{throw new SyntaxError(_0xf60608(0x121)+_0xe60c55);}_0x1da031[_0xf60608(0x1f7)]===_0xf60608(0x1bf)?_0x1da031[_0xf60608(0x1f7)]=_0xf60608(0x1f8):_0x1da031[_0xf60608(0x1f7)]===_0xf60608(0x272)&&(_0x1da031[_0xf60608(0x1f7)]='wss:'),_0xcbeb99['_url']=_0x1da031[_0xf60608(0x157)];const _0x57a91b=_0x1da031['protocol']===_0xf60608(0x170),_0x1c1683=_0x1da031[_0xf60608(0x1f7)]===_0xf60608(0x152);let _0xb6febf;if(_0x1da031[_0xf60608(0x1f7)]!==_0xf60608(0x1f8)&&!_0x57a91b&&!_0x1c1683?_0xb6febf='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':_0x1c1683&&!_0x1da031[_0xf60608(0x108)]?_0xb6febf=_0xf60608(0x153):_0x1da031[_0xf60608(0x1bb)]&&(_0xb6febf=_0xf60608(0x11f)),_0xb6febf){const _0xf8f7d7=new SyntaxError(_0xb6febf);if(_0xcbeb99['_redirects']===0x0)throw _0xf8f7d7;_0x1f75b4(_0xcbeb99,_0xf8f7d7);return;}const _0x43b3ea=_0x57a91b?0x1bb:0x50,_0x2cd5a3=_0x2251de(0x10)[_0xf60608(0x244)](_0xf60608(0x117)),_0x58b8d3=_0x57a91b?_0x12291c[_0xf60608(0x1ea)]:_0x538e9d[_0xf60608(0x1ea)],_0x4d9b9d=new Set();let _0x30ae27;if(_0x13fbc3['createConnection']=_0x13fbc3['createConnection']||(_0x57a91b?_0x47d3c0:_0x5a5a7f),_0x13fbc3[_0xf60608(0x25f)]=_0x13fbc3['defaultPort']||_0x43b3ea,_0x13fbc3[_0xf60608(0xfb)]=_0x1da031[_0xf60608(0xfb)]||_0x43b3ea,_0x13fbc3[_0xf60608(0x221)]=_0x1da031['hostname'][_0xf60608(0x158)]('[')?_0x1da031[_0xf60608(0x287)]['slice'](0x1,-0x1):_0x1da031[_0xf60608(0x287)],_0x13fbc3[_0xf60608(0x219)]={..._0x13fbc3[_0xf60608(0x219)],'Sec-WebSocket-Version':_0x13fbc3[_0xf60608(0x1db)],'Sec-WebSocket-Key':_0x2cd5a3,'Connection':'Upgrade','Upgrade':_0xf60608(0x277)},_0x13fbc3[_0xf60608(0x164)]=_0x1da031['pathname']+_0x1da031[_0xf60608(0x285)],_0x13fbc3[_0xf60608(0x28b)]=_0x13fbc3[_0xf60608(0x1a4)],_0x13fbc3[_0xf60608(0x20d)]&&(_0x30ae27=new _0x47c04f(_0x13fbc3[_0xf60608(0x20d)]!==!0x0?_0x13fbc3[_0xf60608(0x20d)]:{},!0x1,_0x13fbc3[_0xf60608(0x292)]),_0x13fbc3[_0xf60608(0x219)]['Sec-WebSocket-Extensions']=_0x52bf6b({[_0x47c04f[_0xf60608(0x18f)]]:_0x30ae27[_0xf60608(0x125)]()})),_0x5cb975[_0xf60608(0x17f)]){for(const _0x398ac2 of _0x5cb975){if(typeof _0x398ac2!=_0xf60608(0x1eb)||!_0x42c24d['test'](_0x398ac2)||_0x4d9b9d[_0xf60608(0x17d)](_0x398ac2))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x4d9b9d[_0xf60608(0x250)](_0x398ac2);}_0x13fbc3[_0xf60608(0x219)][_0xf60608(0x176)]=_0x5cb975[_0xf60608(0xf3)](',');}if(_0x13fbc3[_0xf60608(0x19e)]&&(_0x13fbc3['protocolVersion']<0xd?_0x13fbc3[_0xf60608(0x219)]['Sec-WebSocket-Origin']=_0x13fbc3['origin']:_0x13fbc3[_0xf60608(0x219)][_0xf60608(0x234)]=_0x13fbc3[_0xf60608(0x19e)]),(_0x1da031[_0xf60608(0x261)]||_0x1da031[_0xf60608(0x1fe)])&&(_0x13fbc3['auth']=_0x1da031['username']+':'+_0x1da031['password']),_0x1c1683){const _0x130d94=_0x13fbc3['path'][_0xf60608(0x11d)](':');_0x13fbc3[_0xf60608(0x1de)]=_0x130d94[0x0],_0x13fbc3[_0xf60608(0x164)]=_0x130d94[0x1];}let _0x339a5d;if(_0x13fbc3[_0xf60608(0x26c)]){if(_0xcbeb99['_redirects']===0x0){_0xcbeb99[_0xf60608(0x195)]=_0x1c1683,_0xcbeb99[_0xf60608(0x225)]=_0x57a91b,_0xcbeb99[_0xf60608(0x1ee)]=_0x1c1683?_0x13fbc3[_0xf60608(0x1de)]:_0x1da031[_0xf60608(0x221)];const _0x19bd38=_0x2483a6&&_0x2483a6[_0xf60608(0x219)];if(_0x2483a6={..._0x2483a6,'headers':{}},_0x19bd38){for(const [_0x49cdfe,_0x3a75b7]of Object[_0xf60608(0x1a9)](_0x19bd38))_0x2483a6[_0xf60608(0x219)][_0x49cdfe[_0xf60608(0x22d)]()]=_0x3a75b7;}}else{if(_0xcbeb99[_0xf60608(0x16d)](_0xf60608(0x128))===0x0){const _0x533c21=_0x1c1683?_0xcbeb99[_0xf60608(0x195)]?_0x13fbc3[_0xf60608(0x1de)]===_0xcbeb99[_0xf60608(0x1ee)]:!0x1:_0xcbeb99[_0xf60608(0x195)]?!0x1:_0x1da031[_0xf60608(0x221)]===_0xcbeb99[_0xf60608(0x1ee)];(!_0x533c21||_0xcbeb99['_originalSecure']&&!_0x57a91b)&&(delete _0x13fbc3[_0xf60608(0x219)]['authorization'],delete _0x13fbc3[_0xf60608(0x219)][_0xf60608(0x1b7)],_0x533c21||delete _0x13fbc3['headers'][_0xf60608(0x221)],_0x13fbc3[_0xf60608(0x10a)]=void 0x0);}}_0x13fbc3[_0xf60608(0x10a)]&&!_0x2483a6['headers'][_0xf60608(0x18c)]&&(_0x2483a6[_0xf60608(0x219)]['authorization']=_0xf60608(0xf1)+Buffer['from'](_0x13fbc3[_0xf60608(0x10a)])[_0xf60608(0x244)](_0xf60608(0x117))),_0x339a5d=_0xcbeb99['_req']=_0x58b8d3(_0x13fbc3),_0xcbeb99[_0xf60608(0x1e3)]&&_0xcbeb99[_0xf60608(0x1c5)](_0xf60608(0x128),_0xcbeb99[_0xf60608(0x124)],_0x339a5d);}else _0x339a5d=_0xcbeb99[_0xf60608(0x186)]=_0x58b8d3(_0x13fbc3);_0x13fbc3[_0xf60608(0x28b)]&&_0x339a5d['on'](_0xf60608(0x28b),()=>{const _0x11a53a=_0xf60608;_0x22460d(_0xcbeb99,_0x339a5d,_0x11a53a(0x190));}),_0x339a5d['on']('error',_0x2a7949=>{const _0x233c9a=_0xf60608;_0x339a5d===null||_0x339a5d[_0x124712]||(_0x339a5d=_0xcbeb99[_0x233c9a(0x186)]=null,_0x1f75b4(_0xcbeb99,_0x2a7949));}),_0x339a5d['on'](_0xf60608(0x23b),_0x54a830=>{const _0x5b0c1f=_0xf60608,_0x126665=_0x54a830['headers']['location'],_0x2a4dbd=_0x54a830[_0x5b0c1f(0x16e)];if(_0x126665&&_0x13fbc3[_0x5b0c1f(0x26c)]&&_0x2a4dbd>=0x12c&&_0x2a4dbd<0x190){if(++_0xcbeb99[_0x5b0c1f(0x1e3)]>_0x13fbc3[_0x5b0c1f(0x20a)]){_0x22460d(_0xcbeb99,_0x339a5d,'Maximum\x20redirects\x20exceeded');return;}_0x339a5d[_0x5b0c1f(0x173)]();let _0xd9c755;try{_0xd9c755=new _0x5a3cf1(_0x126665,_0xe60c55);}catch{const _0x2be42b=new SyntaxError(_0x5b0c1f(0x121)+_0x126665);_0x1f75b4(_0xcbeb99,_0x2be42b);return;}_0x27f491(_0xcbeb99,_0xd9c755,_0x5cb975,_0x2483a6);}else _0xcbeb99[_0x5b0c1f(0x1c5)](_0x5b0c1f(0xf0),_0x339a5d,_0x54a830)||_0x22460d(_0xcbeb99,_0x339a5d,_0x5b0c1f(0x24f)+_0x54a830[_0x5b0c1f(0x16e)]);}),_0x339a5d['on'](_0xf60608(0x253),(_0x14c2f4,_0x3b60d6,_0x23faa1)=>{const _0x108a73=_0xf60608;if(_0xcbeb99[_0x108a73(0x1c5)]('upgrade',_0x14c2f4),_0xcbeb99[_0x108a73(0x270)]!==_0x34757b[_0x108a73(0x12a)])return;_0x339a5d=_0xcbeb99['_req']=null;const _0x5a9840=_0x14c2f4[_0x108a73(0x219)]['upgrade'];if(_0x5a9840===void 0x0||_0x5a9840[_0x108a73(0x22d)]()!==_0x108a73(0x277)){_0x22460d(_0xcbeb99,_0x3b60d6,_0x108a73(0x1e2));return;}const _0x5c2126=_0x21ea34(_0x108a73(0x245))['update'](_0x2cd5a3+_0x2eb5a3)[_0x108a73(0x26e)](_0x108a73(0x117));if(_0x14c2f4[_0x108a73(0x219)][_0x108a73(0x1f3)]!==_0x5c2126){_0x22460d(_0xcbeb99,_0x3b60d6,_0x108a73(0x211));return;}const _0x5686a4=_0x14c2f4['headers'][_0x108a73(0x21e)];let _0x35b22d;if(_0x5686a4!==void 0x0?_0x4d9b9d[_0x108a73(0x1a5)]?_0x4d9b9d[_0x108a73(0x17d)](_0x5686a4)||(_0x35b22d=_0x108a73(0x13e)):_0x35b22d='Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested':_0x4d9b9d[_0x108a73(0x1a5)]&&(_0x35b22d='Server\x20sent\x20no\x20subprotocol'),_0x35b22d){_0x22460d(_0xcbeb99,_0x3b60d6,_0x35b22d);return;}_0x5686a4&&(_0xcbeb99['_protocol']=_0x5686a4);const _0x38988c=_0x14c2f4[_0x108a73(0x219)][_0x108a73(0x188)];if(_0x38988c!==void 0x0){if(!_0x30ae27){_0x22460d(_0xcbeb99,_0x3b60d6,'Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested');return;}let _0x337099;try{_0x337099=_0xde70aa(_0x38988c);}catch{_0x22460d(_0xcbeb99,_0x3b60d6,_0x108a73(0x16f));return;}const _0x3bf333=Object[_0x108a73(0xfe)](_0x337099);if(_0x3bf333['length']!==0x1||_0x3bf333[0x0]!==_0x47c04f[_0x108a73(0x18f)]){_0x22460d(_0xcbeb99,_0x3b60d6,_0x108a73(0x1e6));return;}try{_0x30ae27[_0x108a73(0x1c7)](_0x337099[_0x47c04f[_0x108a73(0x18f)]]);}catch{_0x22460d(_0xcbeb99,_0x3b60d6,_0x108a73(0x16f));return;}_0xcbeb99['_extensions'][_0x47c04f[_0x108a73(0x18f)]]=_0x30ae27;}_0xcbeb99[_0x108a73(0x1b4)](_0x3b60d6,_0x23faa1,{'allowSynchronousEvents':_0x13fbc3[_0x108a73(0x134)],'generateMask':_0x13fbc3[_0x108a73(0x289)],'maxPayload':_0x13fbc3[_0x108a73(0x292)],'skipUTF8Validation':_0x13fbc3[_0x108a73(0x1fc)]});}),_0x13fbc3[_0xf60608(0x24b)]?_0x13fbc3['finishRequest'](_0x339a5d,_0xcbeb99):_0x339a5d[_0xf60608(0x17b)]();}function _0x1f75b4(_0x295102,_0x3b8785){const _0x4c277c=_0x558fff;_0x295102['_readyState']=_0x34757b['CLOSING'],_0x295102[_0x4c277c(0x284)]=!0x0,_0x295102['emit'](_0x4c277c(0x1b0),_0x3b8785),_0x295102[_0x4c277c(0x1ac)]();}function _0x5a5a7f(_0x4fa12f){const _0x34b196=_0x558fff;return _0x4fa12f[_0x34b196(0x164)]=_0x4fa12f[_0x34b196(0x1de)],_0x4254f2['connect'](_0x4fa12f);}function _0x47d3c0(_0xdc74c0){const _0x263a59=_0x558fff;return _0xdc74c0['path']=void 0x0,!_0xdc74c0[_0x263a59(0x161)]&&_0xdc74c0[_0x263a59(0x161)]!==''&&(_0xdc74c0[_0x263a59(0x161)]=_0x4254f2[_0x263a59(0x1e4)](_0xdc74c0['host'])?'':_0xdc74c0['host']),_0x59d1e0[_0x263a59(0x12d)](_0xdc74c0);}function _0x22460d(_0x1255ed,_0x216b3e,_0x357503){const _0x2cf37a=_0x558fff;_0x1255ed['_readyState']=_0x34757b[_0x2cf37a(0x168)];const _0x37f53a=new Error(_0x357503);Error['captureStackTrace'](_0x37f53a,_0x22460d),_0x216b3e['setHeader']?(_0x216b3e[_0x124712]=!0x0,_0x216b3e[_0x2cf37a(0x173)](),_0x216b3e[_0x2cf37a(0x178)]&&!_0x216b3e['socket']['destroyed']&&_0x216b3e[_0x2cf37a(0x178)][_0x2cf37a(0x110)](),process[_0x2cf37a(0x281)](_0x1f75b4,_0x1255ed,_0x37f53a)):(_0x216b3e[_0x2cf37a(0x110)](_0x37f53a),_0x216b3e[_0x2cf37a(0x182)](_0x2cf37a(0x1b0),_0x1255ed['emit'][_0x2cf37a(0x19b)](_0x1255ed,_0x2cf37a(0x1b0))),_0x216b3e[_0x2cf37a(0x182)](_0x2cf37a(0x159),_0x1255ed[_0x2cf37a(0x1ac)][_0x2cf37a(0x19b)](_0x1255ed)));}function _0x125cae(_0x2caaaf,_0x4b0476,_0x393eb4){const _0x25a391=_0x558fff;if(_0x4b0476){const _0x418fa0=_0x258914(_0x4b0476)?_0x4b0476[_0x25a391(0x1a5)]:_0x349429(_0x4b0476)[_0x25a391(0x17f)];_0x2caaaf[_0x25a391(0x27c)]?_0x2caaaf[_0x25a391(0x283)]['_bufferedBytes']+=_0x418fa0:_0x2caaaf[_0x25a391(0x213)]+=_0x418fa0;}if(_0x393eb4){const _0x513ead=new Error(_0x25a391(0x1b1)+_0x2caaaf['readyState']+'\x20('+_0x2269f0[_0x2caaaf[_0x25a391(0x270)]]+')');process[_0x25a391(0x281)](_0x393eb4,_0x513ead);}}function _0x1d3cbb(_0x29b33c,_0x496e00){const _0x326d88=_0x558fff,_0x16d411=this[_0x45b322];_0x16d411[_0x326d88(0x27d)]=!0x0,_0x16d411['_closeMessage']=_0x496e00,_0x16d411[_0x326d88(0xf5)]=_0x29b33c,_0x16d411[_0x326d88(0x27c)][_0x45b322]!==void 0x0&&(_0x16d411[_0x326d88(0x27c)][_0x326d88(0x229)](_0x326d88(0x13d),_0x1856ea),process['nextTick'](_0x4e7448,_0x16d411[_0x326d88(0x27c)]),_0x29b33c===0x3ed?_0x16d411[_0x326d88(0x159)]():_0x16d411[_0x326d88(0x159)](_0x29b33c,_0x496e00));}function _0x3c8cb6(){const _0x104fe0=_0x558fff,_0x56af93=this[_0x45b322];_0x56af93[_0x104fe0(0x1fd)]||_0x56af93['_socket']['resume']();}function _0x494a7e(_0x42a48c){const _0x4ef7bd=_0x558fff,_0x4854e4=this[_0x45b322];_0x4854e4[_0x4ef7bd(0x27c)][_0x45b322]!==void 0x0&&(_0x4854e4[_0x4ef7bd(0x27c)][_0x4ef7bd(0x229)](_0x4ef7bd(0x13d),_0x1856ea),process[_0x4ef7bd(0x281)](_0x4e7448,_0x4854e4[_0x4ef7bd(0x27c)]),_0x4854e4[_0x4ef7bd(0x159)](_0x42a48c[_0x3ae65e])),_0x4854e4[_0x4ef7bd(0x284)]||(_0x4854e4[_0x4ef7bd(0x284)]=!0x0,_0x4854e4['emit'](_0x4ef7bd(0x1b0),_0x42a48c));}function _0xca781(){this[_0x45b322]['emitClose']();}function _0xf31324(_0x45d1ca,_0x22c0ce){const _0x4fa0b7=_0x558fff;this[_0x45b322][_0x4fa0b7(0x1c5)](_0x4fa0b7(0x299),_0x45d1ca,_0x22c0ce);}function _0x21fc63(_0x914f27){const _0x257849=_0x558fff,_0x109256=this[_0x45b322];_0x109256[_0x257849(0x25a)]&&_0x109256[_0x257849(0x233)](_0x914f27,!this[_0x257849(0x149)],_0x15d3af),_0x109256[_0x257849(0x1c5)](_0x257849(0x266),_0x914f27);}function _0x3acfbe(_0x280eac){const _0x4a4157=_0x558fff;this[_0x45b322][_0x4a4157(0x1c5)](_0x4a4157(0x233),_0x280eac);}function _0x4e7448(_0x1cd173){const _0x2e7938=_0x558fff;_0x1cd173[_0x2e7938(0x10e)]();}function _0x1d7754(_0x470377){const _0x25df1c=_0x558fff,_0x31d295=this[_0x45b322];_0x31d295[_0x25df1c(0x270)]!==_0x34757b[_0x25df1c(0x27b)]&&(_0x31d295[_0x25df1c(0x270)]===_0x34757b['OPEN']&&(_0x31d295[_0x25df1c(0x112)]=_0x34757b[_0x25df1c(0x168)],_0x1000ac(_0x31d295)),this[_0x25df1c(0x27c)][_0x25df1c(0x17b)](),_0x31d295[_0x25df1c(0x284)]||(_0x31d295[_0x25df1c(0x284)]=!0x0,_0x31d295[_0x25df1c(0x1c5)](_0x25df1c(0x1b0),_0x470377)));}function _0x1000ac(_0x13a423){const _0x3b3895=_0x558fff;_0x13a423[_0x3b3895(0x228)]=setTimeout(_0x13a423[_0x3b3895(0x27c)][_0x3b3895(0x110)][_0x3b3895(0x19b)](_0x13a423[_0x3b3895(0x27c)]),_0x3006fd);}function _0x5451f5(){const _0x38ed86=_0x558fff,_0xc69cb0=this[_0x45b322];this[_0x38ed86(0x229)](_0x38ed86(0x159),_0x5451f5),this[_0x38ed86(0x229)](_0x38ed86(0x13d),_0x1856ea),this[_0x38ed86(0x229)](_0x38ed86(0x17b),_0x12dcaa),_0xc69cb0[_0x38ed86(0x112)]=_0x34757b['CLOSING'];let _0x545d75;!this[_0x38ed86(0x223)][_0x38ed86(0x1dc)]&&!_0xc69cb0[_0x38ed86(0x27d)]&&!_0xc69cb0[_0x38ed86(0x264)][_0x38ed86(0x197)][_0x38ed86(0x151)]&&(_0x545d75=_0xc69cb0[_0x38ed86(0x27c)][_0x38ed86(0x18b)]())!==null&&_0xc69cb0['_receiver'][_0x38ed86(0x1cf)](_0x545d75),_0xc69cb0['_receiver'][_0x38ed86(0x17b)](),this[_0x45b322]=void 0x0,clearTimeout(_0xc69cb0[_0x38ed86(0x228)]),_0xc69cb0[_0x38ed86(0x264)]['_writableState'][_0x38ed86(0x1ca)]||_0xc69cb0['_receiver']['_writableState'][_0x38ed86(0x151)]?_0xc69cb0[_0x38ed86(0x1ac)]():(_0xc69cb0['_receiver']['on'](_0x38ed86(0x1b0),_0xca781),_0xc69cb0['_receiver']['on'](_0x38ed86(0x12f),_0xca781));}function _0x1856ea(_0x4841a8){const _0x573426=_0x558fff;this[_0x45b322][_0x573426(0x264)]['write'](_0x4841a8)||this['pause']();}function _0x12dcaa(){const _0x115ea5=_0x558fff,_0x4997bb=this[_0x45b322];_0x4997bb['_readyState']=_0x34757b[_0x115ea5(0x168)],_0x4997bb[_0x115ea5(0x264)][_0x115ea5(0x17b)](),this['end']();}function _0x5c1490(){const _0xb88095=_0x558fff,_0x1bac6a=this[_0x45b322];this[_0xb88095(0x229)]('error',_0x5c1490),this['on']('error',_0x15d3af),_0x1bac6a&&(_0x1bac6a[_0xb88095(0x112)]=_0x34757b[_0xb88095(0x168)],this['destroy']());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0xd3940f}=_0xa3b750;function _0x19465f(_0x53e5af){const _0x34846b=_0x378b;_0x53e5af[_0x34846b(0x1c5)](_0x34846b(0x159));}function _0x454bb8(){const _0x44d2e7=_0x378b;!this[_0x44d2e7(0x21a)]&&this[_0x44d2e7(0x197)][_0x44d2e7(0x1ca)]&&this['destroy']();}function _0x4ea662(_0x29c2a1){const _0x35a1d9=_0x378b;this[_0x35a1d9(0x229)](_0x35a1d9(0x1b0),_0x4ea662),this[_0x35a1d9(0x110)](),this['listenerCount'](_0x35a1d9(0x1b0))===0x0&&this[_0x35a1d9(0x1c5)](_0x35a1d9(0x1b0),_0x29c2a1);}function _0x147e86(_0x1395b1,_0x5467f3){const _0xa2f070=_0x378b;let _0x2c26d5=!0x0;const _0x456641=new _0xd3940f({..._0x5467f3,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x1395b1['on'](_0xa2f070(0x299),function(_0x24df2d,_0x1a6c59){const _0xa28506=_0xa2f070,_0x518246=!_0x1a6c59&&_0x456641[_0xa28506(0x223)][_0xa28506(0x275)]?_0x24df2d[_0xa28506(0x244)]():_0x24df2d;_0x456641[_0xa28506(0x282)](_0x518246)||_0x1395b1['pause']();}),_0x1395b1[_0xa2f070(0x182)](_0xa2f070(0x1b0),function(_0x4a39da){const _0xd9bfc4=_0xa2f070;_0x456641[_0xd9bfc4(0x21a)]||(_0x2c26d5=!0x1,_0x456641[_0xd9bfc4(0x110)](_0x4a39da));}),_0x1395b1[_0xa2f070(0x182)]('close',function(){const _0x524dd9=_0xa2f070;_0x456641[_0x524dd9(0x21a)]||_0x456641[_0x524dd9(0x282)](null);}),_0x456641[_0xa2f070(0x20e)]=function(_0x16dc4b,_0x3805f3){const _0x4a8146=_0xa2f070;if(_0x1395b1[_0x4a8146(0x270)]===_0x1395b1[_0x4a8146(0x27b)]){_0x3805f3(_0x16dc4b),process[_0x4a8146(0x281)](_0x19465f,_0x456641);return;}let _0xf63f0=!0x1;_0x1395b1['once'](_0x4a8146(0x1b0),function(_0x8b1d4a){_0xf63f0=!0x0,_0x3805f3(_0x8b1d4a);}),_0x1395b1[_0x4a8146(0x182)]('close',function(){const _0x39fd04=_0x4a8146;_0xf63f0||_0x3805f3(_0x16dc4b),process[_0x39fd04(0x281)](_0x19465f,_0x456641);}),_0x2c26d5&&_0x1395b1[_0x4a8146(0x192)]();},_0x456641[_0xa2f070(0x20c)]=function(_0x238bda){const _0x11b07a=_0xa2f070;if(_0x1395b1[_0x11b07a(0x270)]===_0x1395b1[_0x11b07a(0x12a)]){_0x1395b1[_0x11b07a(0x182)]('open',function(){const _0xc077fe=_0x11b07a;_0x456641[_0xc077fe(0x20c)](_0x238bda);});return;}_0x1395b1[_0x11b07a(0x27c)]!==null&&(_0x1395b1['_socket']['_writableState'][_0x11b07a(0x1ca)]?(_0x238bda(),_0x456641[_0x11b07a(0x223)][_0x11b07a(0x1dc)]&&_0x456641['destroy']()):(_0x1395b1[_0x11b07a(0x27c)][_0x11b07a(0x182)](_0x11b07a(0x12f),function(){_0x238bda();}),_0x1395b1[_0x11b07a(0x159)]()));},_0x456641[_0xa2f070(0x258)]=function(){const _0x4b3636=_0xa2f070;_0x1395b1[_0x4b3636(0x1fd)]&&_0x1395b1[_0x4b3636(0x10e)]();},_0x456641[_0xa2f070(0x100)]=function(_0x109c92,_0x16aa5d,_0xb800a3){const _0x47fa33=_0xa2f070;if(_0x1395b1[_0x47fa33(0x270)]===_0x1395b1[_0x47fa33(0x12a)]){_0x1395b1[_0x47fa33(0x182)]('open',function(){const _0x1db8fd=_0x47fa33;_0x456641[_0x1db8fd(0x100)](_0x109c92,_0x16aa5d,_0xb800a3);});return;}_0x1395b1[_0x47fa33(0xfc)](_0x109c92,_0xb800a3);},_0x456641['on'](_0xa2f070(0x17b),_0x454bb8),_0x456641['on']('error',_0x4ea662),_0x456641;}return Oe=_0x147e86,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=Wt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x466140}=ne();function _0x4bcb09(_0x57cf88){const _0xaa8b5c=_0x378b,_0x5d24c8=new Set();let _0x447f11=-0x1,_0x449ebc=-0x1,_0x5874bd=0x0;for(_0x5874bd;_0x5874bd<_0x57cf88['length'];_0x5874bd++){const _0x30b667=_0x57cf88['charCodeAt'](_0x5874bd);if(_0x449ebc===-0x1&&_0x466140[_0x30b667]===0x1)_0x447f11===-0x1&&(_0x447f11=_0x5874bd);else{if(_0x5874bd!==0x0&&(_0x30b667===0x20||_0x30b667===0x9))_0x449ebc===-0x1&&_0x447f11!==-0x1&&(_0x449ebc=_0x5874bd);else{if(_0x30b667===0x2c){if(_0x447f11===-0x1)throw new SyntaxError(_0xaa8b5c(0xfd)+_0x5874bd);_0x449ebc===-0x1&&(_0x449ebc=_0x5874bd);const _0x34102b=_0x57cf88['slice'](_0x447f11,_0x449ebc);if(_0x5d24c8[_0xaa8b5c(0x17d)](_0x34102b))throw new SyntaxError(_0xaa8b5c(0x23d)+_0x34102b+_0xaa8b5c(0x267));_0x5d24c8[_0xaa8b5c(0x250)](_0x34102b),_0x447f11=_0x449ebc=-0x1;}else throw new SyntaxError(_0xaa8b5c(0xfd)+_0x5874bd);}}}if(_0x447f11===-0x1||_0x449ebc!==-0x1)throw new SyntaxError('Unexpected\x20end\x20of\x20input');const _0x1c0982=_0x57cf88[_0xaa8b5c(0x113)](_0x447f11,_0x5874bd);if(_0x5d24c8[_0xaa8b5c(0x17d)](_0x1c0982))throw new SyntaxError(_0xaa8b5c(0x23d)+_0x1c0982+_0xaa8b5c(0x267));return _0x5d24c8[_0xaa8b5c(0x250)](_0x1c0982),_0x5d24c8;}return Ce={'parse':_0x4bcb09},Ce;}var Te,ot;function er(){const _0x4ec2b0=_0x30692b;if(ot)return Te;ot=0x1;const _0x2ca941=_0x290843,_0x3993ec=_0x2c702b,{Duplex:_0x211ff9}=_0xa3b750,{createHash:_0x22a38d}=_0x31909c,_0x55ed18=pt(),_0x94e7c4=he(),_0x5d3292=Jt(),_0x59fbd5=Ie(),{GUID:_0x1e0ae4,kWebSocket:_0x2ea280}=V(),_0xb10af8=/^[+/0-9A-Za-z]{22}==$/,_0x31147d=0x0,_0x2018cc=0x1,_0x59c4ac=0x2;class _0x3e7665 extends _0x2ca941{constructor(_0x46327f,_0x27057a){const _0x626df9=_0x378b;if(super(),_0x46327f={'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':_0x59fbd5,..._0x46327f},_0x46327f[_0x626df9(0xfb)]==null&&!_0x46327f['server']&&!_0x46327f[_0x626df9(0x1bc)]||_0x46327f[_0x626df9(0xfb)]!=null&&(_0x46327f['server']||_0x46327f['noServer'])||_0x46327f[_0x626df9(0x15f)]&&_0x46327f[_0x626df9(0x1bc)])throw new TypeError(_0x626df9(0x231));if(_0x46327f[_0x626df9(0xfb)]!=null?(this['_server']=_0x3993ec['createServer']((_0x1baf8e,_0x374919)=>{const _0x2903c5=_0x626df9,_0x3019ba=_0x3993ec[_0x2903c5(0x23f)][0x1aa];_0x374919[_0x2903c5(0x215)](0x1aa,{'Content-Length':_0x3019ba['length'],'Content-Type':_0x2903c5(0x102)}),_0x374919[_0x2903c5(0x17b)](_0x3019ba);}),this['_server']['listen'](_0x46327f[_0x626df9(0xfb)],_0x46327f[_0x626df9(0x221)],_0x46327f[_0x626df9(0x26a)],_0x27057a)):_0x46327f[_0x626df9(0x15f)]&&(this[_0x626df9(0x14e)]=_0x46327f[_0x626df9(0x15f)]),this[_0x626df9(0x14e)]){const _0x308b24=this[_0x626df9(0x1c5)][_0x626df9(0x19b)](this,_0x626df9(0x140));this[_0x626df9(0x101)]=_0x1d475d(this[_0x626df9(0x14e)],{'listening':this[_0x626df9(0x1c5)][_0x626df9(0x19b)](this,_0x626df9(0x1f0)),'error':this[_0x626df9(0x1c5)][_0x626df9(0x19b)](this,_0x626df9(0x1b0)),'upgrade':(_0x4e9bc4,_0x435df5,_0x477b09)=>{this['handleUpgrade'](_0x4e9bc4,_0x435df5,_0x477b09,_0x308b24);}});}_0x46327f['perMessageDeflate']===!0x0&&(_0x46327f[_0x626df9(0x20d)]={}),_0x46327f[_0x626df9(0x214)]&&(this['clients']=new Set(),this[_0x626df9(0x156)]=!0x1),this['options']=_0x46327f,this[_0x626df9(0x1d5)]=_0x31147d;}[_0x4ec2b0(0xf4)](){const _0x46022e=_0x4ec2b0;if(this['options'][_0x46022e(0x1bc)])throw new Error(_0x46022e(0x1d6));return this[_0x46022e(0x14e)]?this[_0x46022e(0x14e)][_0x46022e(0xf4)]():null;}['close'](_0x5ed2ff){const _0x35c784=_0x4ec2b0;if(this['_state']===_0x59c4ac){_0x5ed2ff&&this['once'](_0x35c784(0x159),()=>{const _0x2e7fbb=_0x35c784;_0x5ed2ff(new Error(_0x2e7fbb(0x18d)));}),process[_0x35c784(0x281)](_0x25bb0a,this);return;}if(_0x5ed2ff&&this[_0x35c784(0x182)]('close',_0x5ed2ff),this[_0x35c784(0x1d5)]!==_0x2018cc){if(this['_state']=_0x2018cc,this[_0x35c784(0x177)][_0x35c784(0x1bc)]||this['options'][_0x35c784(0x15f)])this['_server']&&(this[_0x35c784(0x101)](),this[_0x35c784(0x101)]=this[_0x35c784(0x14e)]=null),this[_0x35c784(0x181)]?this[_0x35c784(0x181)][_0x35c784(0x1a5)]?this['_shouldEmitClose']=!0x0:process['nextTick'](_0x25bb0a,this):process['nextTick'](_0x25bb0a,this);else{const _0x51ac2b=this[_0x35c784(0x14e)];this[_0x35c784(0x101)](),this[_0x35c784(0x101)]=this[_0x35c784(0x14e)]=null,_0x51ac2b[_0x35c784(0x159)](()=>{_0x25bb0a(this);});}}}[_0x4ec2b0(0x1fb)](_0x1e009f){const _0xa02fc3=_0x4ec2b0;if(this[_0xa02fc3(0x177)][_0xa02fc3(0x164)]){const _0x3b7e34=_0x1e009f[_0xa02fc3(0x124)][_0xa02fc3(0x14a)]('?');if((_0x3b7e34!==-0x1?_0x1e009f[_0xa02fc3(0x124)][_0xa02fc3(0x113)](0x0,_0x3b7e34):_0x1e009f[_0xa02fc3(0x124)])!==this['options'][_0xa02fc3(0x164)])return!0x1;}return!0x0;}[_0x4ec2b0(0x169)](_0x367ae3,_0x1650a3,_0xf01f62,_0x60ce6b){const _0x9f3fce=_0x4ec2b0;_0x1650a3['on'](_0x9f3fce(0x1b0),_0x242033);const _0x17df33=_0x367ae3['headers'][_0x9f3fce(0x1cd)],_0x417c88=_0x367ae3[_0x9f3fce(0x219)][_0x9f3fce(0x253)],_0x285b6e=+_0x367ae3[_0x9f3fce(0x219)][_0x9f3fce(0x24a)];if(_0x367ae3['method']!==_0x9f3fce(0x199)){_0xdb9edb(this,_0x367ae3,_0x1650a3,0x195,_0x9f3fce(0x207));return;}if(_0x417c88===void 0x0||_0x417c88['toLowerCase']()!==_0x9f3fce(0x277)){_0xdb9edb(this,_0x367ae3,_0x1650a3,0x190,_0x9f3fce(0x1e2));return;}if(_0x17df33===void 0x0||!_0xb10af8[_0x9f3fce(0x230)](_0x17df33)){_0xdb9edb(this,_0x367ae3,_0x1650a3,0x190,_0x9f3fce(0x268));return;}if(_0x285b6e!==0xd&&_0x285b6e!==0x8){_0xdb9edb(this,_0x367ae3,_0x1650a3,0x190,_0x9f3fce(0x209),{'Sec-WebSocket-Version':_0x9f3fce(0x235)});return;}if(!this[_0x9f3fce(0x1fb)](_0x367ae3)){_0x1876fb(_0x1650a3,0x190);return;}const _0x5d8cf4=_0x367ae3[_0x9f3fce(0x219)][_0x9f3fce(0x21e)];let _0x405eae=new Set();if(_0x5d8cf4!==void 0x0)try{_0x405eae=_0x5d3292[_0x9f3fce(0x22a)](_0x5d8cf4);}catch{_0xdb9edb(this,_0x367ae3,_0x1650a3,0x190,_0x9f3fce(0x1e0));return;}const _0xb399ec=_0x367ae3[_0x9f3fce(0x219)][_0x9f3fce(0x188)],_0x3db2e4={};if(this[_0x9f3fce(0x177)][_0x9f3fce(0x20d)]&&_0xb399ec!==void 0x0){const _0x542aff=new _0x94e7c4(this[_0x9f3fce(0x177)]['perMessageDeflate'],!0x0,this[_0x9f3fce(0x177)][_0x9f3fce(0x292)]);try{const _0x246912=_0x55ed18['parse'](_0xb399ec);_0x246912[_0x94e7c4['extensionName']]&&(_0x542aff['accept'](_0x246912[_0x94e7c4['extensionName']]),_0x3db2e4[_0x94e7c4[_0x9f3fce(0x18f)]]=_0x542aff);}catch{_0xdb9edb(this,_0x367ae3,_0x1650a3,0x190,_0x9f3fce(0x10c));return;}}if(this[_0x9f3fce(0x177)]['verifyClient']){const _0x226ffe={'origin':_0x367ae3[_0x9f3fce(0x219)][''+(_0x285b6e===0x8?_0x9f3fce(0x1ec):_0x9f3fce(0x19e))],'secure':!!(_0x367ae3[_0x9f3fce(0x178)][_0x9f3fce(0x13a)]||_0x367ae3[_0x9f3fce(0x178)][_0x9f3fce(0x29a)]),'req':_0x367ae3};if(this['options'][_0x9f3fce(0x1a6)][_0x9f3fce(0x17f)]===0x2){this['options'][_0x9f3fce(0x1a6)](_0x226ffe,(_0x140a5f,_0x3da875,_0xf4d663,_0xa47828)=>{const _0x58b18f=_0x9f3fce;if(!_0x140a5f)return _0x1876fb(_0x1650a3,_0x3da875||0x191,_0xf4d663,_0xa47828);this[_0x58b18f(0x135)](_0x3db2e4,_0x17df33,_0x405eae,_0x367ae3,_0x1650a3,_0xf01f62,_0x60ce6b);});return;}if(!this[_0x9f3fce(0x177)][_0x9f3fce(0x1a6)](_0x226ffe))return _0x1876fb(_0x1650a3,0x191);}this['completeUpgrade'](_0x3db2e4,_0x17df33,_0x405eae,_0x367ae3,_0x1650a3,_0xf01f62,_0x60ce6b);}[_0x4ec2b0(0x135)](_0x491ef9,_0x478140,_0x1dace1,_0x469ad3,_0x230f14,_0x44f2a7,_0x38e1ce){const _0x507832=_0x4ec2b0;if(!_0x230f14[_0x507832(0x1ef)]||!_0x230f14[_0x507832(0x1f9)])return _0x230f14['destroy']();if(_0x230f14[_0x2ea280])throw new Error(_0x507832(0x141));if(this[_0x507832(0x1d5)]>_0x31147d)return _0x1876fb(_0x230f14,0x1f7);const _0x3c8d15=[_0x507832(0x1ed),'Upgrade:\x20websocket',_0x507832(0x218),_0x507832(0x1d7)+_0x22a38d(_0x507832(0x245))['update'](_0x478140+_0x1e0ae4)[_0x507832(0x26e)](_0x507832(0x117))],_0x1d3eb1=new this[(_0x507832(0x177))]['WebSocket'](null,void 0x0,this[_0x507832(0x177)]);if(_0x1dace1['size']){const _0x17a9d8=this[_0x507832(0x177)]['handleProtocols']?this['options'][_0x507832(0x22f)](_0x1dace1,_0x469ad3):_0x1dace1[_0x507832(0x232)]()[_0x507832(0x13c)]()[_0x507832(0x1f6)];_0x17a9d8&&(_0x3c8d15[_0x507832(0x282)]('Sec-WebSocket-Protocol:\x20'+_0x17a9d8),_0x1d3eb1[_0x507832(0x185)]=_0x17a9d8);}if(_0x491ef9[_0x94e7c4[_0x507832(0x18f)]]){const _0x24f819=_0x491ef9[_0x94e7c4[_0x507832(0x18f)]][_0x507832(0x1f2)],_0x55376c=_0x55ed18[_0x507832(0x204)]({[_0x94e7c4[_0x507832(0x18f)]]:[_0x24f819]});_0x3c8d15[_0x507832(0x282)]('Sec-WebSocket-Extensions:\x20'+_0x55376c),_0x1d3eb1[_0x507832(0x142)]=_0x491ef9;}this[_0x507832(0x1c5)]('headers',_0x3c8d15,_0x469ad3),_0x230f14[_0x507832(0x1cf)](_0x3c8d15['concat']('\x0d\x0a')[_0x507832(0xf3)]('\x0d\x0a')),_0x230f14[_0x507832(0x229)]('error',_0x242033),_0x1d3eb1['setSocket'](_0x230f14,_0x44f2a7,{'allowSynchronousEvents':this[_0x507832(0x177)][_0x507832(0x134)],'maxPayload':this[_0x507832(0x177)][_0x507832(0x292)],'skipUTF8Validation':this[_0x507832(0x177)]['skipUTF8Validation']}),this[_0x507832(0x181)]&&(this[_0x507832(0x181)]['add'](_0x1d3eb1),_0x1d3eb1['on'](_0x507832(0x159),()=>{const _0x5a7c1c=_0x507832;this[_0x5a7c1c(0x181)][_0x5a7c1c(0x1b3)](_0x1d3eb1),this['_shouldEmitClose']&&!this[_0x5a7c1c(0x181)]['size']&&process[_0x5a7c1c(0x281)](_0x25bb0a,this);})),_0x38e1ce(_0x1d3eb1,_0x469ad3);}}Te=_0x3e7665;function _0x1d475d(_0x1054a6,_0x18bea2){const _0x1dd8ac=_0x4ec2b0;for(const _0x36ba71 of Object[_0x1dd8ac(0xfe)](_0x18bea2))_0x1054a6['on'](_0x36ba71,_0x18bea2[_0x36ba71]);return function(){const _0x5164ef=_0x1dd8ac;for(const _0x4bba86 of Object[_0x5164ef(0xfe)](_0x18bea2))_0x1054a6[_0x5164ef(0x229)](_0x4bba86,_0x18bea2[_0x4bba86]);};}function _0x25bb0a(_0x4684b1){const _0x10e3e2=_0x4ec2b0;_0x4684b1[_0x10e3e2(0x1d5)]=_0x59c4ac,_0x4684b1[_0x10e3e2(0x1c5)](_0x10e3e2(0x159));}function _0x242033(){const _0x11b035=_0x4ec2b0;this[_0x11b035(0x110)]();}function _0x1876fb(_0x45dbd7,_0x4ddd42,_0x2678b7,_0x496916){const _0x31651d=_0x4ec2b0;_0x2678b7=_0x2678b7||_0x3993ec[_0x31651d(0x23f)][_0x4ddd42],_0x496916={'Connection':'close','Content-Type':_0x31651d(0x1f5),'Content-Length':Buffer['byteLength'](_0x2678b7),..._0x496916},_0x45dbd7[_0x31651d(0x182)](_0x31651d(0x12f),_0x45dbd7['destroy']),_0x45dbd7[_0x31651d(0x17b)](_0x31651d(0x119)+_0x4ddd42+'\x20'+_0x3993ec['STATUS_CODES'][_0x4ddd42]+'\x0d\x0a'+Object[_0x31651d(0xfe)](_0x496916)['map'](_0x4d35b5=>_0x4d35b5+':\x20'+_0x496916[_0x4d35b5])[_0x31651d(0xf3)]('\x0d\x0a')+_0x31651d(0x19a)+_0x2678b7);}function _0xdb9edb(_0x336dc8,_0x1024a5,_0x2c948a,_0x2f8eea,_0x3dc0cd,_0x3c8c4a){const _0x84afe1=_0x4ec2b0;if(_0x336dc8[_0x84afe1(0x16d)](_0x84afe1(0x187))){const _0xf2218d=new Error(_0x3dc0cd);Error[_0x84afe1(0x166)](_0xf2218d,_0xdb9edb),_0x336dc8[_0x84afe1(0x1c5)](_0x84afe1(0x187),_0xf2218d,_0x2c948a,_0x1024a5);}else _0x1876fb(_0x2c948a,_0x2f8eea,_0x3dc0cd,_0x3c8c4a);}return Te;}er();var tr=Object['getOwnPropertyDescriptor'],rr=(_0xcac463,_0x3e1e9e,_0x30cb5c,_0x5b5156)=>{const _0x4c047f=_0x30692b;for(var _0x30b3cf=_0x5b5156>0x1?void 0x0:_0x5b5156?tr(_0x3e1e9e,_0x30cb5c):_0x3e1e9e,_0x22c8a7=_0xcac463[_0x4c047f(0x17f)]-0x1,_0x5e994c;_0x22c8a7>=0x0;_0x22c8a7--)(_0x5e994c=_0xcac463[_0x22c8a7])&&(_0x30b3cf=_0x5e994c(_0x30b3cf)||_0x30b3cf);return _0x30b3cf;},sr=(_0x2169f2,_0x379cee)=>(_0x109d71,_0x5bf32c)=>_0x379cee(_0x109d71,_0x5bf32c,_0x2169f2);let Ne=class extends _0x22526d{constructor(_0x34db85){const _0x213e43=_0x30692b;super(),this[_0x213e43(0x208)]=_0x34db85;}['createSocket'](_0x484016){const _0x12c8f1=_0x30692b;var _0x18cf55;const _0x5eb45b=(_0x18cf55=this[_0x12c8f1(0x208)][_0x12c8f1(0x24d)](Be))==null?void 0x0:_0x18cf55[_0x12c8f1(0x137)];try{const _0x2e20b=new Qt(_0x484016,{'headers':{..._0x5eb45b}}),_0x565795=new _0x4fc2df();return{'URL':_0x484016,'close':(_0x26e127,_0x324623)=>{const _0x43ec60=_0x12c8f1;_0x2e20b[_0x43ec60(0x159)](_0x26e127,_0x324623),_0x565795[_0x43ec60(0x241)]();},'send':_0x441e74=>{const _0x2b6733=_0x12c8f1;_0x2e20b[_0x2b6733(0xfc)](_0x441e74);},'open$':new _0x44338b(_0x156685=>{const _0x463f4d=_0x12c8f1,_0x374d8a=_0x5ab6ef=>_0x156685[_0x463f4d(0x13c)](_0x5ab6ef);_0x2e20b[_0x463f4d(0x276)]('open',_0x374d8a),_0x565795[_0x463f4d(0x250)](_0x51c42d(()=>_0x2e20b[_0x463f4d(0x127)]('open',_0x374d8a)));})[_0x12c8f1(0x126)](_0x340d2f()),'close$':new _0x44338b(_0x2f41d5=>{const _0x171fd8=_0x12c8f1,_0x266418=_0x352b44=>_0x2f41d5[_0x171fd8(0x13c)](_0x352b44);_0x2e20b[_0x171fd8(0x276)](_0x171fd8(0x159),_0x266418),_0x565795[_0x171fd8(0x250)](_0x51c42d(()=>_0x2e20b[_0x171fd8(0x127)](_0x171fd8(0x159),_0x266418)));})[_0x12c8f1(0x126)](_0x340d2f()),'error$':new _0x44338b(_0x51604f=>{const _0x3d801c=_0x12c8f1,_0x55c3f7=_0x565c2e=>_0x51604f[_0x3d801c(0x13c)](_0x565c2e);_0x2e20b['addEventListener']('error',_0x55c3f7),_0x565795[_0x3d801c(0x250)](_0x51c42d(()=>_0x2e20b[_0x3d801c(0x127)](_0x3d801c(0x1b0),_0x55c3f7)));})[_0x12c8f1(0x126)](_0x340d2f()),'message$':new _0x44338b(_0x30655c=>{const _0x22d60e=_0x12c8f1,_0x2a1cab=_0x4cc5df=>_0x30655c[_0x22d60e(0x13c)](_0x4cc5df);_0x2e20b['addEventListener']('message',_0x2a1cab),_0x565795[_0x22d60e(0x250)](_0x51c42d(()=>_0x2e20b[_0x22d60e(0x127)](_0x22d60e(0x299),_0x2a1cab)));})[_0x12c8f1(0x126)](_0x340d2f())};}catch(_0x5ce78e){return console[_0x12c8f1(0x1b0)](_0x5ce78e),null;}}};Ne=rr([sr(0x0,_0xf30a36)],Ne);var ir=Object[_0x30692b(0x265)],nr=Object[_0x30692b(0x184)],or=(_0x547566,_0x286ea1,_0x457b85)=>_0x286ea1 in _0x547566?ir(_0x547566,_0x286ea1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x457b85}):_0x547566[_0x286ea1]=_0x457b85,ar=(_0x8ff1a5,_0x45448a,_0x5ae0ba,_0x13d93a)=>{const _0x4d6c8a=_0x30692b;for(var _0x2757f1=_0x13d93a>0x1?void 0x0:_0x13d93a?nr(_0x45448a,_0x5ae0ba):_0x45448a,_0x184444=_0x8ff1a5[_0x4d6c8a(0x17f)]-0x1,_0x1147c3;_0x184444>=0x0;_0x184444--)(_0x1147c3=_0x8ff1a5[_0x184444])&&(_0x2757f1=_0x1147c3(_0x2757f1)||_0x2757f1);return _0x2757f1;},ke=(_0x56fb42,_0x54334f)=>(_0xc6af2e,_0x4078c4)=>_0x54334f(_0xc6af2e,_0x4078c4,_0x56fb42),lr=(_0x15ee0a,_0x24b7bd,_0x5ea34c)=>or(_0x15ee0a,_0x24b7bd+'',_0x5ea34c);let Pe=class extends _0x24823c{constructor(_0x1288ac=Ft,_0x37c0e9,_0x4daa9f,_0x41f072){const _0x5ee404=_0x30692b;_0x1288ac[_0x5ee404(0x137)]||_0x37c0e9[_0x5ee404(0x27f)](_0x5ee404(0x20f)),super(),this[_0x5ee404(0x208)]=_0x4daa9f,this[_0x5ee404(0x212)]=_0x41f072,this['_configService'][_0x5ee404(0x129)](Be,_0x1288ac);}['onStarting'](){const _0xa59e91=_0x30692b;this[_0xa59e91(0x15b)]();}[_0x30692b(0x15b)](){const _0x57bf88=_0x30692b;_0x31f6d6(this[_0x57bf88(0x212)],[[_0x3607a5,{'useClass':Ne}]]);}};lr(Pe,'pluginName',_0x30692b(0x133)),Pe=ar([_0x195fdb(_0x536f07),ke(0x1,_0x11a0bf),ke(0x2,_0xf30a36),ke(0x3,_0x19d570(_0x1dd633))],Pe);var fr=Object[_0x30692b(0x184)],cr=(_0x4d966f,_0x250f55,_0x5430a3,_0x719912)=>{const _0x3f51d6=_0x30692b;for(var _0x12c4cc=_0x719912>0x1?void 0x0:_0x719912?fr(_0x250f55,_0x5430a3):_0x250f55,_0x1ae6f6=_0x4d966f[_0x3f51d6(0x17f)]-0x1,_0x531298;_0x1ae6f6>=0x0;_0x1ae6f6--)(_0x531298=_0x4d966f[_0x1ae6f6])&&(_0x12c4cc=_0x531298(_0x12c4cc)||_0x12c4cc);return _0x12c4cc;},se=(_0x39111f,_0x429ed0)=>(_0x1fd984,_0x4c4b1c)=>_0x429ed0(_0x1fd984,_0x4c4b1c,_0x39111f);let at=class extends _0x13110e{constructor(_0x343bde,_0x58c6f8,_0x4ae183,_0x1398ad,_0x66c1d5){const _0x42995b=_0x30692b;super(_0x343bde,_0x58c6f8,_0x4ae183,_0x1398ad,_0x66c1d5);const _0x46fa15=this[_0x42995b(0x208)][_0x42995b(0x24d)](Be);this[_0x42995b(0x17c)][_0x42995b(0x194)]({'interceptor':(_0x1f607f,_0x5d4854)=>{const _0x27cb0c=_0x42995b;var _0x369b27;const _0x812c73=_0x1f607f['headers'];return(_0x369b27=_0x46fa15==null?void 0x0:_0x46fa15[_0x27cb0c(0x137)])!=null&&_0x369b27[_0x27cb0c(0x1b7)]&&_0x812c73[_0x27cb0c(0x19d)](_0x27cb0c(0x237),_0x46fa15[_0x27cb0c(0x137)][_0x27cb0c(0x1b7)]),_0x5d4854(_0x1f607f);}});}async['createSocket'](_0xf9d835){return this['_doCreateSocket'](_0xf9d835);}};at=cr([se(0x0,_0x19d570(_0x1dd633)),se(0x1,_0x19d570(_0x27c8ca)),se(0x2,_0xf30a36),se(0x3,_0x11a0bf),se(0x4,_0x1003ab)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};