@univerjs-pro/collaboration-client-node 0.10.0 → 0.10.1

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 _0x30ac41=_0x5e6a;(function(_0xe7c2f3,_0x59571f){const _0xbd479=_0x5e6a,_0x19fbec=_0xe7c2f3();while(!![]){try{const _0xc3a7ad=parseInt(_0xbd479(0x21d))/0x1*(-parseInt(_0xbd479(0x1b3))/0x2)+-parseInt(_0xbd479(0x273))/0x3*(parseInt(_0xbd479(0x1ba))/0x4)+parseInt(_0xbd479(0x16d))/0x5+parseInt(_0xbd479(0x28b))/0x6+parseInt(_0xbd479(0x243))/0x7+parseInt(_0xbd479(0x1cc))/0x8+-parseInt(_0xbd479(0x133))/0x9;if(_0xc3a7ad===_0x59571f)break;else _0x19fbec['push'](_0x19fbec['shift']());}catch(_0x3a36e6){_0x19fbec['push'](_0x19fbec['shift']());}}}(_0x40f2,0xba461));import{UniverCollaborationClientPlugin as _0x1e6b59,CollaborationSocketService as _0xe5bb53}from'@univerjs-pro/collaboration-client';import{Disposable as _0x435266,DisposableCollection as _0x3a07f7,toDisposable as _0x3f9c9f,IConfigService as _0x16af89,DependentOn as _0x25a47d,ILogService as _0x58f3f8,Inject as _0x339055,Injector as _0xd1cfba,Plugin as _0x1b0df8,registerDependencies as _0x16f5d4}from'@univerjs/core';import{ISocketService as _0x55092e,HTTPService as _0x19fc8d}from'@univerjs/network';import{Observable as _0x132193,share as _0x191fc5}from'rxjs';import _0x959d9 from'events';import _0x18c45c from'https';import _0x257990 from'http';import _0xcd0416 from'net';import _0x5f5cd8 from'tls';import _0x3bbfd4 from'crypto';import _0x47d3e0 from'stream';import _0x108e7f from'url';import _0x429095 from'zlib';import _0x4a3c5f from'buffer';import{ISnapshotServerService as _0x11282b}from'@univerjs-pro/collaboration';const Be='collaboration-client-node.config',Ft={'customHeaders':{}};function Wt(_0x19ce3d){const _0x20d663=_0x5e6a;return _0x19ce3d&&_0x19ce3d[_0x20d663(0x216)]&&Object[_0x20d663(0x248)][_0x20d663(0x161)][_0x20d663(0x260)](_0x19ce3d,_0x20d663(0x166))?_0x19ce3d[_0x20d663(0x166)]:_0x19ce3d;}function ut(_0x437a5b){const _0x2f92de=_0x5e6a;if(Object['prototype'][_0x2f92de(0x161)][_0x2f92de(0x260)](_0x437a5b,_0x2f92de(0x216)))return _0x437a5b;var _0x3306d7=_0x437a5b[_0x2f92de(0x166)];if(typeof _0x3306d7==_0x2f92de(0x1fe)){var _0x3a30c9=function _0xc30dd6(){const _0x2e5c07=_0x2f92de;var _0x19c662=!0x1;try{_0x19c662=this instanceof _0xc30dd6;}catch{}return _0x19c662?Reflect[_0x2e5c07(0x1a0)](_0x3306d7,arguments,this['constructor']):_0x3306d7[_0x2e5c07(0x206)](this,arguments);};_0x3a30c9['prototype']=_0x3306d7['prototype'];}else _0x3a30c9={};return Object[_0x2f92de(0x23d)](_0x3a30c9,_0x2f92de(0x216),{'value':!0x0}),Object['keys'](_0x437a5b)[_0x2f92de(0x189)](function(_0x41a889){const _0x2727f2=_0x2f92de;var _0x30f855=Object['getOwnPropertyDescriptor'](_0x437a5b,_0x41a889);Object[_0x2727f2(0x23d)](_0x3a30c9,_0x41a889,_0x30f855[_0x2727f2(0x1b5)]?_0x30f855:{'enumerable':!0x0,'get':function(){return _0x437a5b[_0x41a889];}});}),_0x3a30c9;}var te={'exports':{}},ge,Ye;function V(){const _0x3e188f=_0x5e6a;if(Ye)return ge;Ye=0x1;const _0x4cb333=['nodebuffer',_0x3e188f(0x26d),_0x3e188f(0x110)],_0x291b41=typeof Blob<'u';return _0x291b41&&_0x4cb333[_0x3e188f(0x1e8)](_0x3e188f(0x1ec)),ge={'BINARY_TYPES':_0x4cb333,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':_0x3e188f(0x1f1),'hasBlob':_0x291b41,'kForOnEventAttribute':Symbol(_0x3e188f(0x26b)),'kListener':Symbol(_0x3e188f(0x1ac)),'kStatusCode':Symbol(_0x3e188f(0x14a)),'kWebSocket':Symbol('websocket'),'NOOP':()=>{}},ge;}const jt={},Gt=Object['freeze'](Object['defineProperty']({'__proto__':null,'default':jt},Symbol[_0x30ac41(0x228)],{'value':_0x30ac41(0x299)})),Vt=ut(Gt);var Ke;function ce(){const _0x2f6115=_0x30ac41;if(Ke)return te[_0x2f6115(0x167)];Ke=0x1;const {EMPTY_BUFFER:_0x448e42}=V(),_0x1143bc=Buffer[Symbol[_0x2f6115(0x1b8)]];function _0x55a38e(_0x47c37e,_0x482482){const _0x29a6fd=_0x2f6115;if(_0x47c37e[_0x29a6fd(0x1c8)]===0x0)return _0x448e42;if(_0x47c37e[_0x29a6fd(0x1c8)]===0x1)return _0x47c37e[0x0];const _0x1b6ab3=Buffer['allocUnsafe'](_0x482482);let _0xe0e977=0x0;for(let _0x2b3670=0x0;_0x2b3670<_0x47c37e[_0x29a6fd(0x1c8)];_0x2b3670++){const _0x2adc08=_0x47c37e[_0x2b3670];_0x1b6ab3[_0x29a6fd(0x29a)](_0x2adc08,_0xe0e977),_0xe0e977+=_0x2adc08[_0x29a6fd(0x1c8)];}return _0xe0e977<_0x482482?new _0x1143bc(_0x1b6ab3[_0x29a6fd(0x1b2)],_0x1b6ab3[_0x29a6fd(0x169)],_0xe0e977):_0x1b6ab3;}function _0xb4c650(_0x4f676b,_0x285063,_0x561f84,_0x2269a0,_0x5b5e54){for(let _0x1d9fe4=0x0;_0x1d9fe4<_0x5b5e54;_0x1d9fe4++)_0x561f84[_0x2269a0+_0x1d9fe4]=_0x4f676b[_0x1d9fe4]^_0x285063[_0x1d9fe4&0x3];}function _0x4660ae(_0x13298,_0x50e14c){for(let _0x1ffe79=0x0;_0x1ffe79<_0x13298['length'];_0x1ffe79++)_0x13298[_0x1ffe79]^=_0x50e14c[_0x1ffe79&0x3];}function _0x5d0b94(_0x48e57e){const _0x4be1f8=_0x2f6115;return _0x48e57e[_0x4be1f8(0x1c8)]===_0x48e57e[_0x4be1f8(0x1b2)][_0x4be1f8(0x146)]?_0x48e57e[_0x4be1f8(0x1b2)]:_0x48e57e[_0x4be1f8(0x1b2)][_0x4be1f8(0x142)](_0x48e57e[_0x4be1f8(0x169)],_0x48e57e['byteOffset']+_0x48e57e[_0x4be1f8(0x1c8)]);}function _0x2f5f94(_0x351ba8){const _0x4f6fc5=_0x2f6115;if(_0x2f5f94[_0x4f6fc5(0x18b)]=!0x0,Buffer[_0x4f6fc5(0x1f5)](_0x351ba8))return _0x351ba8;let _0xd20719;return _0x351ba8 instanceof ArrayBuffer?_0xd20719=new _0x1143bc(_0x351ba8):ArrayBuffer[_0x4f6fc5(0x2a9)](_0x351ba8)?_0xd20719=new _0x1143bc(_0x351ba8['buffer'],_0x351ba8[_0x4f6fc5(0x169)],_0x351ba8[_0x4f6fc5(0x146)]):(_0xd20719=Buffer[_0x4f6fc5(0x223)](_0x351ba8),_0x2f5f94['readOnly']=!0x1),_0xd20719;}if(te[_0x2f6115(0x167)]={'concat':_0x55a38e,'mask':_0xb4c650,'toArrayBuffer':_0x5d0b94,'toBuffer':_0x2f5f94,'unmask':_0x4660ae},!process[_0x2f6115(0x26e)][_0x2f6115(0x14e)])try{const _0x594180=Vt;te[_0x2f6115(0x167)][_0x2f6115(0x235)]=function(_0x3930d2,_0x1deb98,_0x3bf8f1,_0x327f02,_0x46f62c){const _0x5a81d8=_0x2f6115;_0x46f62c<0x30?_0xb4c650(_0x3930d2,_0x1deb98,_0x3bf8f1,_0x327f02,_0x46f62c):_0x594180[_0x5a81d8(0x235)](_0x3930d2,_0x1deb98,_0x3bf8f1,_0x327f02,_0x46f62c);},te[_0x2f6115(0x167)][_0x2f6115(0x244)]=function(_0x211a37,_0x45e225){const _0x26fd5c=_0x2f6115;_0x211a37[_0x26fd5c(0x1c8)]<0x20?_0x4660ae(_0x211a37,_0x45e225):_0x594180[_0x26fd5c(0x244)](_0x211a37,_0x45e225);};}catch{}return te[_0x2f6115(0x167)];}var ye,Xe;function qt(){const _0x1eb04f=_0x30ac41;if(Xe)return ye;Xe=0x1;const _0x194d95=Symbol('kDone'),_0x275305=Symbol(_0x1eb04f(0x1e5));class _0x5aa4eb{constructor(_0x1f28ec){const _0xbd9ac9=_0x1eb04f;this[_0x194d95]=()=>{const _0x41711d=_0x5e6a;this[_0x41711d(0x155)]--,this[_0x275305]();},this[_0xbd9ac9(0x264)]=_0x1f28ec||0x1/0x0,this['jobs']=[],this['pending']=0x0;}[_0x1eb04f(0x201)](_0x3c3549){const _0x22592b=_0x1eb04f;this[_0x22592b(0x191)][_0x22592b(0x1e8)](_0x3c3549),this[_0x275305]();}[_0x275305](){const _0xbc3dc3=_0x1eb04f;if(this[_0xbc3dc3(0x155)]!==this[_0xbc3dc3(0x264)]&&this[_0xbc3dc3(0x191)]['length']){const _0x291381=this['jobs'][_0xbc3dc3(0x154)]();this[_0xbc3dc3(0x155)]++,_0x291381(this[_0x194d95]);}}}return ye=_0x5aa4eb,ye;}var ve,Ze;function he(){const _0x3d9d6e=_0x30ac41;if(Ze)return ve;Ze=0x1;const _0x456979=_0x429095,_0x376bf3=ce(),_0x4d76eb=qt(),{kStatusCode:_0x533f80}=V(),_0x11d670=Buffer[Symbol[_0x3d9d6e(0x1b8)]],_0x7f4c02=Buffer[_0x3d9d6e(0x223)]([0x0,0x0,0xff,0xff]),_0x4520a9=Symbol('permessage-deflate'),_0x59e93e=Symbol(_0x3d9d6e(0x1a1)),_0x270235=Symbol(_0x3d9d6e(0x2b9)),_0x10c5b2=Symbol('buffers'),_0x45888d=Symbol(_0x3d9d6e(0x282));let _0x331962;class _0xe00a44{constructor(_0x189804,_0x47cd84,_0x51a984){const _0x3bc26c=_0x3d9d6e;if(this['_maxPayload']=_0x51a984|0x0,this['_options']=_0x189804||{},this[_0x3bc26c(0x1f3)]=this['_options'][_0x3bc26c(0x172)]!==void 0x0?this['_options'][_0x3bc26c(0x172)]:0x400,this['_isServer']=!!_0x47cd84,this[_0x3bc26c(0x1cb)]=null,this['_inflate']=null,this[_0x3bc26c(0x16c)]=null,!_0x331962){const _0x1ed1d9=this[_0x3bc26c(0x23f)]['concurrencyLimit']!==void 0x0?this[_0x3bc26c(0x23f)]['concurrencyLimit']:0xa;_0x331962=new _0x4d76eb(_0x1ed1d9);}}static get['extensionName'](){const _0x4ee2d2=_0x3d9d6e;return _0x4ee2d2(0x1a6);}[_0x3d9d6e(0x224)](){const _0x31f563=_0x3d9d6e,_0x343572={};return this[_0x31f563(0x23f)][_0x31f563(0x1cf)]&&(_0x343572[_0x31f563(0x18f)]=!0x0),this[_0x31f563(0x23f)][_0x31f563(0x29c)]&&(_0x343572['client_no_context_takeover']=!0x0),this['_options'][_0x31f563(0x182)]&&(_0x343572[_0x31f563(0x1a8)]=this['_options'][_0x31f563(0x182)]),this[_0x31f563(0x23f)]['clientMaxWindowBits']?_0x343572[_0x31f563(0x1a2)]=this[_0x31f563(0x23f)][_0x31f563(0x128)]:this['_options'][_0x31f563(0x128)]==null&&(_0x343572[_0x31f563(0x1a2)]=!0x0),_0x343572;}[_0x3d9d6e(0x1c6)](_0x352987){const _0x4e2121=_0x3d9d6e;return _0x352987=this[_0x4e2121(0x207)](_0x352987),this[_0x4e2121(0x16c)]=this['_isServer']?this[_0x4e2121(0x1dc)](_0x352987):this[_0x4e2121(0x1e4)](_0x352987),this['params'];}[_0x3d9d6e(0x22c)](){const _0x34529a=_0x3d9d6e;if(this['_inflate']&&(this[_0x34529a(0x1fa)]['close'](),this[_0x34529a(0x1fa)]=null),this[_0x34529a(0x1cb)]){const _0x2ad702=this['_deflate'][_0x270235];this[_0x34529a(0x1cb)][_0x34529a(0x176)](),this[_0x34529a(0x1cb)]=null,_0x2ad702&&_0x2ad702(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}[_0x3d9d6e(0x1dc)](_0x57db83){const _0x2456be=_0x3d9d6e,_0x519eed=this[_0x2456be(0x23f)],_0x1007b8=_0x57db83['find'](_0x3cf77c=>!(_0x519eed['serverNoContextTakeover']===!0x1&&_0x3cf77c[_0x2456be(0x18f)]||_0x3cf77c['server_max_window_bits']&&(_0x519eed[_0x2456be(0x182)]===!0x1||typeof _0x519eed[_0x2456be(0x182)]==_0x2456be(0x237)&&_0x519eed[_0x2456be(0x182)]>_0x3cf77c[_0x2456be(0x1a8)])||typeof _0x519eed['clientMaxWindowBits']==_0x2456be(0x237)&&!_0x3cf77c[_0x2456be(0x1a2)]));if(!_0x1007b8)throw new Error(_0x2456be(0x190));return _0x519eed[_0x2456be(0x1cf)]&&(_0x1007b8[_0x2456be(0x18f)]=!0x0),_0x519eed[_0x2456be(0x29c)]&&(_0x1007b8[_0x2456be(0x12b)]=!0x0),typeof _0x519eed[_0x2456be(0x182)]==_0x2456be(0x237)&&(_0x1007b8[_0x2456be(0x1a8)]=_0x519eed[_0x2456be(0x182)]),typeof _0x519eed[_0x2456be(0x128)]==_0x2456be(0x237)?_0x1007b8[_0x2456be(0x1a2)]=_0x519eed['clientMaxWindowBits']:(_0x1007b8[_0x2456be(0x1a2)]===!0x0||_0x519eed[_0x2456be(0x128)]===!0x1)&&delete _0x1007b8[_0x2456be(0x1a2)],_0x1007b8;}[_0x3d9d6e(0x1e4)](_0x47109f){const _0x56ec9f=_0x3d9d6e,_0x5d345a=_0x47109f[0x0];if(this['_options'][_0x56ec9f(0x29c)]===!0x1&&_0x5d345a[_0x56ec9f(0x12b)])throw new Error(_0x56ec9f(0x1c2));if(!_0x5d345a[_0x56ec9f(0x1a2)])typeof this[_0x56ec9f(0x23f)][_0x56ec9f(0x128)]==_0x56ec9f(0x237)&&(_0x5d345a[_0x56ec9f(0x1a2)]=this[_0x56ec9f(0x23f)]['clientMaxWindowBits']);else{if(this[_0x56ec9f(0x23f)][_0x56ec9f(0x128)]===!0x1||typeof this[_0x56ec9f(0x23f)]['clientMaxWindowBits']=='number'&&_0x5d345a['client_max_window_bits']>this[_0x56ec9f(0x23f)]['clientMaxWindowBits'])throw new Error('Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22');}return _0x5d345a;}[_0x3d9d6e(0x207)](_0x1fc508){const _0x3a9782=_0x3d9d6e;return _0x1fc508[_0x3a9782(0x189)](_0x16aef9=>{const _0x5b01f5=_0x3a9782;Object[_0x5b01f5(0x1d9)](_0x16aef9)[_0x5b01f5(0x189)](_0x41ecca=>{const _0x47f640=_0x5b01f5;let _0x1d0ec4=_0x16aef9[_0x41ecca];if(_0x1d0ec4[_0x47f640(0x1c8)]>0x1)throw new Error(_0x47f640(0x1bb)+_0x41ecca+_0x47f640(0x2b5));if(_0x1d0ec4=_0x1d0ec4[0x0],_0x41ecca===_0x47f640(0x1a2)){if(_0x1d0ec4!==!0x0){const _0x7f37b4=+_0x1d0ec4;if(!Number[_0x47f640(0x22e)](_0x7f37b4)||_0x7f37b4<0x8||_0x7f37b4>0xf)throw new TypeError(_0x47f640(0x239)+_0x41ecca+'\x22:\x20'+_0x1d0ec4);_0x1d0ec4=_0x7f37b4;}else{if(!this['_isServer'])throw new TypeError(_0x47f640(0x239)+_0x41ecca+_0x47f640(0x1ab)+_0x1d0ec4);}}else{if(_0x41ecca===_0x47f640(0x1a8)){const _0x37d9f3=+_0x1d0ec4;if(!Number[_0x47f640(0x22e)](_0x37d9f3)||_0x37d9f3<0x8||_0x37d9f3>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x41ecca+_0x47f640(0x1ab)+_0x1d0ec4);_0x1d0ec4=_0x37d9f3;}else{if(_0x41ecca===_0x47f640(0x12b)||_0x41ecca===_0x47f640(0x18f)){if(_0x1d0ec4!==!0x0)throw new TypeError(_0x47f640(0x239)+_0x41ecca+_0x47f640(0x1ab)+_0x1d0ec4);}else throw new Error(_0x47f640(0x232)+_0x41ecca+'\x22');}}_0x16aef9[_0x41ecca]=_0x1d0ec4;});}),_0x1fc508;}[_0x3d9d6e(0x12d)](_0x2fca5e,_0x106708,_0x1385d0){const _0x3f5f97=_0x3d9d6e;_0x331962[_0x3f5f97(0x201)](_0x16803a=>{this['_decompress'](_0x2fca5e,_0x106708,(_0x3a8602,_0x45d24e)=>{_0x16803a(),_0x1385d0(_0x3a8602,_0x45d24e);});});}['compress'](_0x55d3ae,_0x15d4e0,_0x2fb8f4){const _0x48f9b5=_0x3d9d6e;_0x331962[_0x48f9b5(0x201)](_0x14f467=>{const _0x1de090=_0x48f9b5;this[_0x1de090(0x158)](_0x55d3ae,_0x15d4e0,(_0x1cabd5,_0x1418fa)=>{_0x14f467(),_0x2fb8f4(_0x1cabd5,_0x1418fa);});});}[_0x3d9d6e(0x12c)](_0x1353b5,_0x2b857e,_0x3b76bc){const _0x33390d=_0x3d9d6e,_0x46892a=this[_0x33390d(0x186)]?_0x33390d(0x1f8):'server';if(!this[_0x33390d(0x1fa)]){const _0x4ae046=_0x46892a+_0x33390d(0x27b),_0x3e6a20=typeof this[_0x33390d(0x16c)][_0x4ae046]!=_0x33390d(0x237)?_0x456979[_0x33390d(0x14d)]:this[_0x33390d(0x16c)][_0x4ae046];this[_0x33390d(0x1fa)]=_0x456979['createInflateRaw']({...this[_0x33390d(0x23f)][_0x33390d(0x1d4)],'windowBits':_0x3e6a20}),this[_0x33390d(0x1fa)][_0x4520a9]=this,this['_inflate'][_0x59e93e]=0x0,this[_0x33390d(0x1fa)][_0x10c5b2]=[],this['_inflate']['on'](_0x33390d(0x282),_0x454c30),this[_0x33390d(0x1fa)]['on'](_0x33390d(0x16b),_0x2bd4ee);}this[_0x33390d(0x1fa)][_0x270235]=_0x3b76bc,this[_0x33390d(0x1fa)][_0x33390d(0x2a7)](_0x1353b5),_0x2b857e&&this[_0x33390d(0x1fa)][_0x33390d(0x2a7)](_0x7f4c02),this[_0x33390d(0x1fa)][_0x33390d(0x148)](()=>{const _0x59f7b0=_0x33390d,_0x161102=this['_inflate'][_0x45888d];if(_0x161102){this[_0x59f7b0(0x1fa)][_0x59f7b0(0x176)](),this[_0x59f7b0(0x1fa)]=null,_0x3b76bc(_0x161102);return;}const _0x1690bd=_0x376bf3['concat'](this['_inflate'][_0x10c5b2],this[_0x59f7b0(0x1fa)][_0x59e93e]);this[_0x59f7b0(0x1fa)][_0x59f7b0(0x120)][_0x59f7b0(0x213)]?(this[_0x59f7b0(0x1fa)][_0x59f7b0(0x176)](),this[_0x59f7b0(0x1fa)]=null):(this['_inflate'][_0x59e93e]=0x0,this[_0x59f7b0(0x1fa)][_0x10c5b2]=[],_0x2b857e&&this[_0x59f7b0(0x16c)][_0x46892a+_0x59f7b0(0x132)]&&this['_inflate'][_0x59f7b0(0x1f7)]()),_0x3b76bc(null,_0x1690bd);});}[_0x3d9d6e(0x158)](_0x22b491,_0x2047b3,_0x4c57ff){const _0x457520=_0x3d9d6e,_0x562d43=this['_isServer']?'server':_0x457520(0x1f8);if(!this['_deflate']){const _0x15c2a3=_0x562d43+_0x457520(0x27b),_0x1109cd=typeof this[_0x457520(0x16c)][_0x15c2a3]!=_0x457520(0x237)?_0x456979[_0x457520(0x14d)]:this[_0x457520(0x16c)][_0x15c2a3];this['_deflate']=_0x456979['createDeflateRaw']({...this[_0x457520(0x23f)]['zlibDeflateOptions'],'windowBits':_0x1109cd}),this[_0x457520(0x1cb)][_0x59e93e]=0x0,this[_0x457520(0x1cb)][_0x10c5b2]=[],this[_0x457520(0x1cb)]['on'](_0x457520(0x16b),_0x7980b7);}this[_0x457520(0x1cb)][_0x270235]=_0x4c57ff,this[_0x457520(0x1cb)]['write'](_0x22b491),this[_0x457520(0x1cb)][_0x457520(0x148)](_0x456979[_0x457520(0x254)],()=>{const _0x2eae77=_0x457520;if(!this['_deflate'])return;let _0x53ccf1=_0x376bf3['concat'](this[_0x2eae77(0x1cb)][_0x10c5b2],this[_0x2eae77(0x1cb)][_0x59e93e]);_0x2047b3&&(_0x53ccf1=new _0x11d670(_0x53ccf1[_0x2eae77(0x1b2)],_0x53ccf1[_0x2eae77(0x169)],_0x53ccf1[_0x2eae77(0x1c8)]-0x4)),this[_0x2eae77(0x1cb)][_0x270235]=null,this['_deflate'][_0x59e93e]=0x0,this[_0x2eae77(0x1cb)][_0x10c5b2]=[],_0x2047b3&&this[_0x2eae77(0x16c)][_0x562d43+'_no_context_takeover']&&this['_deflate'][_0x2eae77(0x1f7)](),_0x4c57ff(null,_0x53ccf1);});}}ve=_0xe00a44;function _0x7980b7(_0x41c660){const _0x31b6e8=_0x3d9d6e;this[_0x10c5b2]['push'](_0x41c660),this[_0x59e93e]+=_0x41c660[_0x31b6e8(0x1c8)];}function _0x2bd4ee(_0x501d88){const _0x17e0af=_0x3d9d6e;if(this[_0x59e93e]+=_0x501d88[_0x17e0af(0x1c8)],this[_0x4520a9]['_maxPayload']<0x1||this[_0x59e93e]<=this[_0x4520a9][_0x17e0af(0x2ac)]){this[_0x10c5b2][_0x17e0af(0x1e8)](_0x501d88);return;}this[_0x45888d]=new RangeError('Max\x20payload\x20size\x20exceeded'),this[_0x45888d]['code']=_0x17e0af(0x24b),this[_0x45888d][_0x533f80]=0x3f1,this[_0x17e0af(0x256)](_0x17e0af(0x16b),_0x2bd4ee),this[_0x17e0af(0x1f7)]();}function _0x454c30(_0x22f6d4){const _0x56d81d=_0x3d9d6e;if(this[_0x4520a9][_0x56d81d(0x1fa)]=null,this[_0x45888d]){this[_0x270235](this[_0x45888d]);return;}_0x22f6d4[_0x533f80]=0x3ef,this[_0x270235](_0x22f6d4);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x30ac41(0x153)](Object[_0x30ac41(0x23d)]({'__proto__':null,'default':Ht},Symbol[_0x30ac41(0x228)],{'value':'Module'})),Yt=ut(zt);var Qe;function ne(){const _0x43ef42=_0x30ac41;if(Qe)return re[_0x43ef42(0x167)];Qe=0x1;const {isUtf8:_0x8dd986}=_0x4a3c5f,{hasBlob:_0x1c0229}=V(),_0x1e3286=[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 _0xf91b2b(_0x41cd9e){return _0x41cd9e>=0x3e8&&_0x41cd9e<=0x3f6&&_0x41cd9e!==0x3ec&&_0x41cd9e!==0x3ed&&_0x41cd9e!==0x3ee||_0x41cd9e>=0xbb8&&_0x41cd9e<=0x1387;}function _0x32e08f(_0x1c2a2e){const _0x323270=_0x1c2a2e['length'];let _0x540e85=0x0;for(;_0x540e85<_0x323270;)if((_0x1c2a2e[_0x540e85]&0x80)===0x0)_0x540e85++;else{if((_0x1c2a2e[_0x540e85]&0xe0)===0xc0){if(_0x540e85+0x1===_0x323270||(_0x1c2a2e[_0x540e85+0x1]&0xc0)!==0x80||(_0x1c2a2e[_0x540e85]&0xfe)===0xc0)return!0x1;_0x540e85+=0x2;}else{if((_0x1c2a2e[_0x540e85]&0xf0)===0xe0){if(_0x540e85+0x2>=_0x323270||(_0x1c2a2e[_0x540e85+0x1]&0xc0)!==0x80||(_0x1c2a2e[_0x540e85+0x2]&0xc0)!==0x80||_0x1c2a2e[_0x540e85]===0xe0&&(_0x1c2a2e[_0x540e85+0x1]&0xe0)===0x80||_0x1c2a2e[_0x540e85]===0xed&&(_0x1c2a2e[_0x540e85+0x1]&0xe0)===0xa0)return!0x1;_0x540e85+=0x3;}else{if((_0x1c2a2e[_0x540e85]&0xf8)===0xf0){if(_0x540e85+0x3>=_0x323270||(_0x1c2a2e[_0x540e85+0x1]&0xc0)!==0x80||(_0x1c2a2e[_0x540e85+0x2]&0xc0)!==0x80||(_0x1c2a2e[_0x540e85+0x3]&0xc0)!==0x80||_0x1c2a2e[_0x540e85]===0xf0&&(_0x1c2a2e[_0x540e85+0x1]&0xf0)===0x80||_0x1c2a2e[_0x540e85]===0xf4&&_0x1c2a2e[_0x540e85+0x1]>0x8f||_0x1c2a2e[_0x540e85]>0xf4)return!0x1;_0x540e85+=0x4;}else return!0x1;}}}return!0x0;}function _0xd8db58(_0x51d7b6){const _0x2b38be=_0x43ef42;return _0x1c0229&&typeof _0x51d7b6=='object'&&typeof _0x51d7b6[_0x2b38be(0x252)]==_0x2b38be(0x1fe)&&typeof _0x51d7b6[_0x2b38be(0x26f)]==_0x2b38be(0x275)&&typeof _0x51d7b6[_0x2b38be(0x149)]=='function'&&(_0x51d7b6[Symbol[_0x2b38be(0x228)]]==='Blob'||_0x51d7b6[Symbol[_0x2b38be(0x228)]]==='File');}if(re[_0x43ef42(0x167)]={'isBlob':_0xd8db58,'isValidStatusCode':_0xf91b2b,'isValidUTF8':_0x32e08f,'tokenChars':_0x1e3286},_0x8dd986)re[_0x43ef42(0x167)][_0x43ef42(0x22d)]=function(_0xad805c){const _0x484b0e=_0x43ef42;return _0xad805c[_0x484b0e(0x1c8)]<0x18?_0x32e08f(_0xad805c):_0x8dd986(_0xad805c);};else{if(!process['env'][_0x43ef42(0x2b8)])try{const _0x59745e=Yt;re[_0x43ef42(0x167)][_0x43ef42(0x22d)]=function(_0x8720aa){return _0x8720aa['length']<0x20?_0x32e08f(_0x8720aa):_0x59745e(_0x8720aa);};}catch{}}return re['exports'];}var Se,Je;function dt(){const _0x5754f4=_0x30ac41;if(Je)return Se;Je=0x1;const {Writable:_0x555bb3}=_0x47d3e0,_0x14d398=he(),{BINARY_TYPES:_0x16c80b,EMPTY_BUFFER:_0x13ef73,kStatusCode:_0x139cb9,kWebSocket:_0x4f5e1a}=V(),{concat:_0x5b9610,toArrayBuffer:_0x69cacb,unmask:_0x28938a}=ce(),{isValidStatusCode:_0x4023a4,isValidUTF8:_0x33ecac}=ne(),_0x101b7d=Buffer[Symbol[_0x5754f4(0x1b8)]],_0x4d9a17=0x0,_0x5d63b8=0x1,_0xc833fa=0x2,_0x3ff99f=0x3,_0x237c39=0x4,_0x329568=0x5,_0x5d2316=0x6;class _0x19ad12 extends _0x555bb3{constructor(_0x431a65={}){const _0x456b7a=_0x5754f4;super(),this['_allowSynchronousEvents']=_0x431a65[_0x456b7a(0x123)]!==void 0x0?_0x431a65[_0x456b7a(0x123)]:!0x0,this[_0x456b7a(0x195)]=_0x431a65[_0x456b7a(0x165)]||_0x16c80b[0x0],this[_0x456b7a(0x1d1)]=_0x431a65['extensions']||{},this['_isServer']=!!_0x431a65['isServer'],this['_maxPayload']=_0x431a65['maxPayload']|0x0,this['_skipUTF8Validation']=!!_0x431a65[_0x456b7a(0x13b)],this[_0x4f5e1a]=void 0x0,this[_0x456b7a(0x205)]=0x0,this[_0x456b7a(0x2ad)]=[],this[_0x456b7a(0x18e)]=!0x1,this['_payloadLength']=0x0,this[_0x456b7a(0x220)]=void 0x0,this['_fragmented']=0x0,this[_0x456b7a(0x284)]=!0x1,this[_0x456b7a(0x286)]=!0x1,this[_0x456b7a(0x221)]=0x0,this[_0x456b7a(0x116)]=0x0,this[_0x456b7a(0x139)]=0x0,this[_0x456b7a(0x163)]=[],this[_0x456b7a(0x217)]=!0x1,this[_0x456b7a(0x25b)]=!0x1,this[_0x456b7a(0x130)]=_0x4d9a17;}['_write'](_0x5a9a82,_0x111653,_0x34a349){const _0xe9a478=_0x5754f4;if(this[_0xe9a478(0x221)]===0x8&&this['_state']==_0x4d9a17)return _0x34a349();this[_0xe9a478(0x205)]+=_0x5a9a82[_0xe9a478(0x1c8)],this['_buffers'][_0xe9a478(0x1e8)](_0x5a9a82),this[_0xe9a478(0x111)](_0x34a349);}[_0x5754f4(0x11c)](_0x4ce0fb){const _0x591f27=_0x5754f4;if(this[_0x591f27(0x205)]-=_0x4ce0fb,_0x4ce0fb===this['_buffers'][0x0]['length'])return this[_0x591f27(0x2ad)][_0x591f27(0x154)]();if(_0x4ce0fb<this[_0x591f27(0x2ad)][0x0][_0x591f27(0x1c8)]){const _0x4c5d21=this[_0x591f27(0x2ad)][0x0];return this[_0x591f27(0x2ad)][0x0]=new _0x101b7d(_0x4c5d21[_0x591f27(0x1b2)],_0x4c5d21[_0x591f27(0x169)]+_0x4ce0fb,_0x4c5d21[_0x591f27(0x1c8)]-_0x4ce0fb),new _0x101b7d(_0x4c5d21['buffer'],_0x4c5d21['byteOffset'],_0x4ce0fb);}const _0x59253c=Buffer[_0x591f27(0x17f)](_0x4ce0fb);do{const _0x5db13c=this[_0x591f27(0x2ad)][0x0],_0x5dae2b=_0x59253c[_0x591f27(0x1c8)]-_0x4ce0fb;_0x4ce0fb>=_0x5db13c[_0x591f27(0x1c8)]?_0x59253c[_0x591f27(0x29a)](this[_0x591f27(0x2ad)][_0x591f27(0x154)](),_0x5dae2b):(_0x59253c['set'](new Uint8Array(_0x5db13c['buffer'],_0x5db13c[_0x591f27(0x169)],_0x4ce0fb),_0x5dae2b),this['_buffers'][0x0]=new _0x101b7d(_0x5db13c[_0x591f27(0x1b2)],_0x5db13c['byteOffset']+_0x4ce0fb,_0x5db13c[_0x591f27(0x1c8)]-_0x4ce0fb)),_0x4ce0fb-=_0x5db13c[_0x591f27(0x1c8)];}while(_0x4ce0fb>0x0);return _0x59253c;}[_0x5754f4(0x111)](_0x1a3fa3){const _0x145482=_0x5754f4;this[_0x145482(0x25b)]=!0x0;do switch(this[_0x145482(0x130)]){case _0x4d9a17:this[_0x145482(0x1b4)](_0x1a3fa3);break;case _0x5d63b8:this[_0x145482(0x25f)](_0x1a3fa3);break;case _0xc833fa:this[_0x145482(0x291)](_0x1a3fa3);break;case _0x3ff99f:this['getMask']();break;case _0x237c39:this[_0x145482(0x1c5)](_0x1a3fa3);break;case _0x329568:case _0x5d2316:this[_0x145482(0x25b)]=!0x1;return;}while(this[_0x145482(0x25b)]);this[_0x145482(0x217)]||_0x1a3fa3();}[_0x5754f4(0x1b4)](_0x2fc6b5){const _0x1f61f8=_0x5754f4;if(this[_0x1f61f8(0x205)]<0x2){this[_0x1f61f8(0x25b)]=!0x1;return;}const _0x47f2ca=this[_0x1f61f8(0x11c)](0x2);if((_0x47f2ca[0x0]&0x30)!==0x0){const _0x11c11c=this[_0x1f61f8(0x1f6)](RangeError,_0x1f61f8(0x15a),!0x0,0x3ea,_0x1f61f8(0x180));_0x2fc6b5(_0x11c11c);return;}const _0x1e60c2=(_0x47f2ca[0x0]&0x40)===0x40;if(_0x1e60c2&&!this[_0x1f61f8(0x1d1)][_0x14d398['extensionName']]){const _0x4ed647=this[_0x1f61f8(0x1f6)](RangeError,_0x1f61f8(0x156),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x2fc6b5(_0x4ed647);return;}if(this[_0x1f61f8(0x286)]=(_0x47f2ca[0x0]&0x80)===0x80,this[_0x1f61f8(0x221)]=_0x47f2ca[0x0]&0xf,this[_0x1f61f8(0x1fb)]=_0x47f2ca[0x1]&0x7f,this['_opcode']===0x0){if(_0x1e60c2){const _0x533a05=this[_0x1f61f8(0x1f6)](RangeError,_0x1f61f8(0x156),!0x0,0x3ea,_0x1f61f8(0x1c7));_0x2fc6b5(_0x533a05);return;}if(!this[_0x1f61f8(0x173)]){const _0x3afd4d=this[_0x1f61f8(0x1f6)](RangeError,_0x1f61f8(0x27a),!0x0,0x3ea,_0x1f61f8(0x1d2));_0x2fc6b5(_0x3afd4d);return;}this[_0x1f61f8(0x221)]=this['_fragmented'];}else{if(this[_0x1f61f8(0x221)]===0x1||this[_0x1f61f8(0x221)]===0x2){if(this['_fragmented']){const _0x4b8dfc=this['createError'](RangeError,_0x1f61f8(0x280)+this[_0x1f61f8(0x221)],!0x0,0x3ea,_0x1f61f8(0x1d2));_0x2fc6b5(_0x4b8dfc);return;}this[_0x1f61f8(0x18e)]=_0x1e60c2;}else{if(this[_0x1f61f8(0x221)]>0x7&&this[_0x1f61f8(0x221)]<0xb){if(!this[_0x1f61f8(0x286)]){const _0x4cc559=this[_0x1f61f8(0x1f6)](RangeError,_0x1f61f8(0x29f),!0x0,0x3ea,_0x1f61f8(0x21b));_0x2fc6b5(_0x4cc559);return;}if(_0x1e60c2){const _0x5d115c=this[_0x1f61f8(0x1f6)](RangeError,_0x1f61f8(0x156),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x2fc6b5(_0x5d115c);return;}if(this[_0x1f61f8(0x1fb)]>0x7d||this[_0x1f61f8(0x221)]===0x8&&this[_0x1f61f8(0x1fb)]===0x1){const _0x2617c0=this[_0x1f61f8(0x1f6)](RangeError,_0x1f61f8(0x15e)+this[_0x1f61f8(0x1fb)],!0x0,0x3ea,'WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH');_0x2fc6b5(_0x2617c0);return;}}else{const _0x2003db=this[_0x1f61f8(0x1f6)](RangeError,_0x1f61f8(0x280)+this[_0x1f61f8(0x221)],!0x0,0x3ea,_0x1f61f8(0x1d2));_0x2fc6b5(_0x2003db);return;}}}if(!this[_0x1f61f8(0x286)]&&!this[_0x1f61f8(0x173)]&&(this[_0x1f61f8(0x173)]=this[_0x1f61f8(0x221)]),this[_0x1f61f8(0x284)]=(_0x47f2ca[0x1]&0x80)===0x80,this[_0x1f61f8(0x186)]){if(!this[_0x1f61f8(0x284)]){const _0x5e5634=this[_0x1f61f8(0x1f6)](RangeError,_0x1f61f8(0x194),!0x0,0x3ea,_0x1f61f8(0x13f));_0x2fc6b5(_0x5e5634);return;}}else{if(this[_0x1f61f8(0x284)]){const _0x20be7b=this['createError'](RangeError,'MASK\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0x2fc6b5(_0x20be7b);return;}}this['_payloadLength']===0x7e?this[_0x1f61f8(0x130)]=_0x5d63b8:this['_payloadLength']===0x7f?this[_0x1f61f8(0x130)]=_0xc833fa:this[_0x1f61f8(0x1c3)](_0x2fc6b5);}[_0x5754f4(0x25f)](_0x130c21){const _0x53341c=_0x5754f4;if(this['_bufferedBytes']<0x2){this[_0x53341c(0x25b)]=!0x1;return;}this['_payloadLength']=this[_0x53341c(0x11c)](0x2)[_0x53341c(0x159)](0x0),this[_0x53341c(0x1c3)](_0x130c21);}[_0x5754f4(0x291)](_0x270d96){const _0x46f8ae=_0x5754f4;if(this[_0x46f8ae(0x205)]<0x8){this[_0x46f8ae(0x25b)]=!0x1;return;}const _0x9a961b=this['consume'](0x8),_0x103684=_0x9a961b[_0x46f8ae(0x18a)](0x0);if(_0x103684>Math['pow'](0x2,0x15)-0x1){const _0x4b7f8f=this['createError'](RangeError,_0x46f8ae(0x24f),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH');_0x270d96(_0x4b7f8f);return;}this[_0x46f8ae(0x1fb)]=_0x103684*Math[_0x46f8ae(0x117)](0x2,0x20)+_0x9a961b['readUInt32BE'](0x4),this[_0x46f8ae(0x1c3)](_0x270d96);}['haveLength'](_0x3087f5){const _0x1f4a03=_0x5754f4;if(this[_0x1f4a03(0x1fb)]&&this[_0x1f4a03(0x221)]<0x8&&(this[_0x1f4a03(0x116)]+=this[_0x1f4a03(0x1fb)],this['_totalPayloadLength']>this['_maxPayload']&&this['_maxPayload']>0x0)){const _0x40c033=this[_0x1f4a03(0x1f6)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x3087f5(_0x40c033);return;}this['_masked']?this[_0x1f4a03(0x130)]=_0x3ff99f:this[_0x1f4a03(0x130)]=_0x237c39;}['getMask'](){const _0x469268=_0x5754f4;if(this[_0x469268(0x205)]<0x4){this[_0x469268(0x25b)]=!0x1;return;}this['_mask']=this[_0x469268(0x11c)](0x4),this['_state']=_0x237c39;}['getData'](_0x516558){const _0x542daa=_0x5754f4;let _0x5f5d0e=_0x13ef73;if(this['_payloadLength']){if(this[_0x542daa(0x205)]<this[_0x542daa(0x1fb)]){this[_0x542daa(0x25b)]=!0x1;return;}_0x5f5d0e=this[_0x542daa(0x11c)](this[_0x542daa(0x1fb)]),this[_0x542daa(0x284)]&&(this[_0x542daa(0x220)][0x0]|this[_0x542daa(0x220)][0x1]|this['_mask'][0x2]|this['_mask'][0x3])!==0x0&&_0x28938a(_0x5f5d0e,this['_mask']);}if(this[_0x542daa(0x221)]>0x7){this['controlMessage'](_0x5f5d0e,_0x516558);return;}if(this[_0x542daa(0x18e)]){this['_state']=_0x329568,this[_0x542daa(0x12d)](_0x5f5d0e,_0x516558);return;}_0x5f5d0e[_0x542daa(0x1c8)]&&(this[_0x542daa(0x139)]=this[_0x542daa(0x116)],this[_0x542daa(0x163)]['push'](_0x5f5d0e)),this[_0x542daa(0x271)](_0x516558);}[_0x5754f4(0x12d)](_0x4a96d2,_0x52de80){const _0x3b83cb=_0x5754f4;this[_0x3b83cb(0x1d1)][_0x14d398[_0x3b83cb(0x26a)]]['decompress'](_0x4a96d2,this[_0x3b83cb(0x286)],(_0x5a8548,_0x49d2b0)=>{const _0x590d8f=_0x3b83cb;if(_0x5a8548)return _0x52de80(_0x5a8548);if(_0x49d2b0[_0x590d8f(0x1c8)]){if(this[_0x590d8f(0x139)]+=_0x49d2b0[_0x590d8f(0x1c8)],this[_0x590d8f(0x139)]>this['_maxPayload']&&this[_0x590d8f(0x2ac)]>0x0){const _0x338179=this[_0x590d8f(0x1f6)](RangeError,_0x590d8f(0x2b6),!0x1,0x3f1,_0x590d8f(0x24b));_0x52de80(_0x338179);return;}this['_fragments']['push'](_0x49d2b0);}this['dataMessage'](_0x52de80),this[_0x590d8f(0x130)]===_0x4d9a17&&this[_0x590d8f(0x111)](_0x52de80);});}['dataMessage'](_0xcf36a7){const _0x3b7aa3=_0x5754f4;if(!this[_0x3b7aa3(0x286)]){this[_0x3b7aa3(0x130)]=_0x4d9a17;return;}const _0x142532=this[_0x3b7aa3(0x139)],_0x16d820=this[_0x3b7aa3(0x163)];if(this[_0x3b7aa3(0x116)]=0x0,this['_messageLength']=0x0,this[_0x3b7aa3(0x173)]=0x0,this['_fragments']=[],this[_0x3b7aa3(0x221)]===0x2){let _0x27189f;this[_0x3b7aa3(0x195)]===_0x3b7aa3(0x29b)?_0x27189f=_0x5b9610(_0x16d820,_0x142532):this[_0x3b7aa3(0x195)]===_0x3b7aa3(0x26d)?_0x27189f=_0x69cacb(_0x5b9610(_0x16d820,_0x142532)):this[_0x3b7aa3(0x195)]===_0x3b7aa3(0x1ec)?_0x27189f=new Blob(_0x16d820):_0x27189f=_0x16d820,this[_0x3b7aa3(0x11b)]?(this[_0x3b7aa3(0x21f)]('message',_0x27189f,!0x0),this[_0x3b7aa3(0x130)]=_0x4d9a17):(this[_0x3b7aa3(0x130)]=_0x5d2316,setImmediate(()=>{const _0x23f51d=_0x3b7aa3;this['emit']('message',_0x27189f,!0x0),this[_0x23f51d(0x130)]=_0x4d9a17,this[_0x23f51d(0x111)](_0xcf36a7);}));}else{const _0x556362=_0x5b9610(_0x16d820,_0x142532);if(!this['_skipUTF8Validation']&&!_0x33ecac(_0x556362)){const _0x7e11bb=this[_0x3b7aa3(0x1f6)](Error,_0x3b7aa3(0x121),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0xcf36a7(_0x7e11bb);return;}this[_0x3b7aa3(0x130)]===_0x329568||this['_allowSynchronousEvents']?(this[_0x3b7aa3(0x21f)](_0x3b7aa3(0x1ce),_0x556362,!0x1),this[_0x3b7aa3(0x130)]=_0x4d9a17):(this[_0x3b7aa3(0x130)]=_0x5d2316,setImmediate(()=>{const _0x7c048d=_0x3b7aa3;this[_0x7c048d(0x21f)](_0x7c048d(0x1ce),_0x556362,!0x1),this[_0x7c048d(0x130)]=_0x4d9a17,this[_0x7c048d(0x111)](_0xcf36a7);}));}}['controlMessage'](_0x2b029a,_0x2c9104){const _0x4838e0=_0x5754f4;if(this[_0x4838e0(0x221)]===0x8){if(_0x2b029a[_0x4838e0(0x1c8)]===0x0)this[_0x4838e0(0x25b)]=!0x1,this[_0x4838e0(0x21f)](_0x4838e0(0x12f),0x3ed,_0x13ef73),this['end']();else{const _0x1871ca=_0x2b029a[_0x4838e0(0x159)](0x0);if(!_0x4023a4(_0x1871ca)){const _0x368207=this[_0x4838e0(0x1f6)](RangeError,_0x4838e0(0x28a)+_0x1871ca,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0x2c9104(_0x368207);return;}const _0x444bcf=new _0x101b7d(_0x2b029a[_0x4838e0(0x1b2)],_0x2b029a[_0x4838e0(0x169)]+0x2,_0x2b029a[_0x4838e0(0x1c8)]-0x2);if(!this[_0x4838e0(0x170)]&&!_0x33ecac(_0x444bcf)){const _0x435957=this['createError'](Error,_0x4838e0(0x121),!0x0,0x3ef,_0x4838e0(0x219));_0x2c9104(_0x435957);return;}this['_loop']=!0x1,this[_0x4838e0(0x21f)](_0x4838e0(0x12f),_0x1871ca,_0x444bcf),this[_0x4838e0(0x1d7)]();}this[_0x4838e0(0x130)]=_0x4d9a17;return;}this[_0x4838e0(0x11b)]?(this[_0x4838e0(0x21f)](this[_0x4838e0(0x221)]===0x9?_0x4838e0(0x19e):'pong',_0x2b029a),this[_0x4838e0(0x130)]=_0x4d9a17):(this[_0x4838e0(0x130)]=_0x5d2316,setImmediate(()=>{const _0x59d58d=_0x4838e0;this[_0x59d58d(0x21f)](this[_0x59d58d(0x221)]===0x9?_0x59d58d(0x19e):_0x59d58d(0x12a),_0x2b029a),this[_0x59d58d(0x130)]=_0x4d9a17,this[_0x59d58d(0x111)](_0x2c9104);}));}[_0x5754f4(0x1f6)](_0x969ba5,_0xf8cd71,_0x3b680f,_0x5a2a3e,_0x443f4c){const _0xda34d=_0x5754f4;this[_0xda34d(0x25b)]=!0x1,this[_0xda34d(0x217)]=!0x0;const _0x347851=new _0x969ba5(_0x3b680f?_0xda34d(0x119)+_0xf8cd71:_0xf8cd71);return Error['captureStackTrace'](_0x347851,this['createError']),_0x347851['code']=_0x443f4c,_0x347851[_0x139cb9]=_0x5a2a3e,_0x347851;}}return Se=_0x19ad12,Se;}var Ee,et;function _t(){const _0x3bbd4f=_0x30ac41;if(et)return Ee;et=0x1;const {Duplex:_0x7d3a7a}=_0x47d3e0,{randomFillSync:_0x2dd7e4}=_0x3bbfd4,_0x134a0d=he(),{EMPTY_BUFFER:_0x42ff9e,kWebSocket:_0x54fc04,NOOP:_0xaca52}=V(),{isBlob:_0x4287d1,isValidStatusCode:_0x5467f6}=ne(),{mask:_0x4bc110,toBuffer:_0x2ae2e4}=ce(),_0x370c50=Symbol(_0x3bbd4f(0x171)),_0x209214=Buffer[_0x3bbd4f(0x2a0)](0x4),_0x3c4c17=0x8*0x400;let _0xf52a89,_0x3e212c=_0x3c4c17;const _0x201e52=0x0,_0x3338da=0x1,_0x730788=0x2;class _0x24f68e{constructor(_0xde4038,_0x40c84c,_0x3aa610){const _0x141fc7=_0x3bbd4f;this['_extensions']=_0x40c84c||{},_0x3aa610&&(this['_generateMask']=_0x3aa610,this[_0x141fc7(0x1a9)]=Buffer[_0x141fc7(0x2a0)](0x4)),this[_0x141fc7(0x1e7)]=_0xde4038,this['_firstFragment']=!0x0,this['_compress']=!0x1,this[_0x141fc7(0x205)]=0x0,this[_0x141fc7(0x1eb)]=[],this[_0x141fc7(0x130)]=_0x201e52,this['onerror']=_0xaca52,this[_0x54fc04]=void 0x0;}static[_0x3bbd4f(0x17c)](_0x5b28ac,_0x4bbab0){const _0x16bb4f=_0x3bbd4f;let _0x217b54,_0x2e5151=!0x1,_0x5ad394=0x2,_0x270f82=!0x1;_0x4bbab0[_0x16bb4f(0x235)]&&(_0x217b54=_0x4bbab0[_0x16bb4f(0x29d)]||_0x209214,_0x4bbab0[_0x16bb4f(0x1cd)]?_0x4bbab0[_0x16bb4f(0x1cd)](_0x217b54):(_0x3e212c===_0x3c4c17&&(_0xf52a89===void 0x0&&(_0xf52a89=Buffer[_0x16bb4f(0x2a0)](_0x3c4c17)),_0x2dd7e4(_0xf52a89,0x0,_0x3c4c17),_0x3e212c=0x0),_0x217b54[0x0]=_0xf52a89[_0x3e212c++],_0x217b54[0x1]=_0xf52a89[_0x3e212c++],_0x217b54[0x2]=_0xf52a89[_0x3e212c++],_0x217b54[0x3]=_0xf52a89[_0x3e212c++]),_0x270f82=(_0x217b54[0x0]|_0x217b54[0x1]|_0x217b54[0x2]|_0x217b54[0x3])===0x0,_0x5ad394=0x6);let _0xfb1e7f;typeof _0x5b28ac==_0x16bb4f(0x275)?(!_0x4bbab0[_0x16bb4f(0x235)]||_0x270f82)&&_0x4bbab0[_0x370c50]!==void 0x0?_0xfb1e7f=_0x4bbab0[_0x370c50]:(_0x5b28ac=Buffer[_0x16bb4f(0x223)](_0x5b28ac),_0xfb1e7f=_0x5b28ac[_0x16bb4f(0x1c8)]):(_0xfb1e7f=_0x5b28ac[_0x16bb4f(0x1c8)],_0x2e5151=_0x4bbab0[_0x16bb4f(0x235)]&&_0x4bbab0[_0x16bb4f(0x18b)]&&!_0x270f82);let _0x20e864=_0xfb1e7f;_0xfb1e7f>=0x10000?(_0x5ad394+=0x8,_0x20e864=0x7f):_0xfb1e7f>0x7d&&(_0x5ad394+=0x2,_0x20e864=0x7e);const _0x2d5ed1=Buffer['allocUnsafe'](_0x2e5151?_0xfb1e7f+_0x5ad394:_0x5ad394);return _0x2d5ed1[0x0]=_0x4bbab0[_0x16bb4f(0x2bb)]?_0x4bbab0[_0x16bb4f(0x1a5)]|0x80:_0x4bbab0['opcode'],_0x4bbab0['rsv1']&&(_0x2d5ed1[0x0]|=0x40),_0x2d5ed1[0x1]=_0x20e864,_0x20e864===0x7e?_0x2d5ed1['writeUInt16BE'](_0xfb1e7f,0x2):_0x20e864===0x7f&&(_0x2d5ed1[0x2]=_0x2d5ed1[0x3]=0x0,_0x2d5ed1[_0x16bb4f(0x1d3)](_0xfb1e7f,0x4,0x6)),_0x4bbab0['mask']?(_0x2d5ed1[0x1]|=0x80,_0x2d5ed1[_0x5ad394-0x4]=_0x217b54[0x0],_0x2d5ed1[_0x5ad394-0x3]=_0x217b54[0x1],_0x2d5ed1[_0x5ad394-0x2]=_0x217b54[0x2],_0x2d5ed1[_0x5ad394-0x1]=_0x217b54[0x3],_0x270f82?[_0x2d5ed1,_0x5b28ac]:_0x2e5151?(_0x4bc110(_0x5b28ac,_0x217b54,_0x2d5ed1,_0x5ad394,_0xfb1e7f),[_0x2d5ed1]):(_0x4bc110(_0x5b28ac,_0x217b54,_0x5b28ac,0x0,_0xfb1e7f),[_0x2d5ed1,_0x5b28ac])):[_0x2d5ed1,_0x5b28ac];}[_0x3bbd4f(0x176)](_0x4b9997,_0x5e8beb,_0x379187,_0x3097c0){const _0x14bf61=_0x3bbd4f;let _0x31a0b2;if(_0x4b9997===void 0x0)_0x31a0b2=_0x42ff9e;else{if(typeof _0x4b9997!=_0x14bf61(0x237)||!_0x5467f6(_0x4b9997))throw new TypeError('First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number');if(_0x5e8beb===void 0x0||!_0x5e8beb[_0x14bf61(0x1c8)])_0x31a0b2=Buffer['allocUnsafe'](0x2),_0x31a0b2[_0x14bf61(0x188)](_0x4b9997,0x0);else{const _0x522f1f=Buffer[_0x14bf61(0x146)](_0x5e8beb);if(_0x522f1f>0x7b)throw new RangeError(_0x14bf61(0x19a));_0x31a0b2=Buffer[_0x14bf61(0x17f)](0x2+_0x522f1f),_0x31a0b2[_0x14bf61(0x188)](_0x4b9997,0x0),typeof _0x5e8beb==_0x14bf61(0x275)?_0x31a0b2['write'](_0x5e8beb,0x2):_0x31a0b2[_0x14bf61(0x29a)](_0x5e8beb,0x2);}}const _0x212f26={[_0x370c50]:_0x31a0b2['length'],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x379187,'maskBuffer':this[_0x14bf61(0x1a9)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x14bf61(0x130)]!==_0x201e52?this[_0x14bf61(0x197)]([this['dispatch'],_0x31a0b2,!0x1,_0x212f26,_0x3097c0]):this[_0x14bf61(0x281)](_0x24f68e[_0x14bf61(0x17c)](_0x31a0b2,_0x212f26),_0x3097c0);}[_0x3bbd4f(0x19e)](_0x22bc11,_0x3d7676,_0x224892){const _0x4c09c6=_0x3bbd4f;let _0xa3d903,_0x46e2e6;if(typeof _0x22bc11=='string'?(_0xa3d903=Buffer['byteLength'](_0x22bc11),_0x46e2e6=!0x1):_0x4287d1(_0x22bc11)?(_0xa3d903=_0x22bc11[_0x4c09c6(0x178)],_0x46e2e6=!0x1):(_0x22bc11=_0x2ae2e4(_0x22bc11),_0xa3d903=_0x22bc11[_0x4c09c6(0x1c8)],_0x46e2e6=_0x2ae2e4[_0x4c09c6(0x18b)]),_0xa3d903>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x210aa8={[_0x370c50]:_0xa3d903,'fin':!0x0,'generateMask':this[_0x4c09c6(0x198)],'mask':_0x3d7676,'maskBuffer':this['_maskBuffer'],'opcode':0x9,'readOnly':_0x46e2e6,'rsv1':!0x1};_0x4287d1(_0x22bc11)?this[_0x4c09c6(0x130)]!==_0x201e52?this['enqueue']([this[_0x4c09c6(0x183)],_0x22bc11,!0x1,_0x210aa8,_0x224892]):this[_0x4c09c6(0x183)](_0x22bc11,!0x1,_0x210aa8,_0x224892):this['_state']!==_0x201e52?this[_0x4c09c6(0x197)]([this[_0x4c09c6(0x11e)],_0x22bc11,!0x1,_0x210aa8,_0x224892]):this[_0x4c09c6(0x281)](_0x24f68e[_0x4c09c6(0x17c)](_0x22bc11,_0x210aa8),_0x224892);}['pong'](_0x451c56,_0x35458b,_0x42057f){const _0x1edec7=_0x3bbd4f;let _0xcc9495,_0x38a49f;if(typeof _0x451c56=='string'?(_0xcc9495=Buffer['byteLength'](_0x451c56),_0x38a49f=!0x1):_0x4287d1(_0x451c56)?(_0xcc9495=_0x451c56[_0x1edec7(0x178)],_0x38a49f=!0x1):(_0x451c56=_0x2ae2e4(_0x451c56),_0xcc9495=_0x451c56['length'],_0x38a49f=_0x2ae2e4['readOnly']),_0xcc9495>0x7d)throw new RangeError(_0x1edec7(0x28d));const _0x404483={[_0x370c50]:_0xcc9495,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x35458b,'maskBuffer':this[_0x1edec7(0x1a9)],'opcode':0xa,'readOnly':_0x38a49f,'rsv1':!0x1};_0x4287d1(_0x451c56)?this[_0x1edec7(0x130)]!==_0x201e52?this[_0x1edec7(0x197)]([this[_0x1edec7(0x183)],_0x451c56,!0x1,_0x404483,_0x42057f]):this[_0x1edec7(0x183)](_0x451c56,!0x1,_0x404483,_0x42057f):this[_0x1edec7(0x130)]!==_0x201e52?this['enqueue']([this[_0x1edec7(0x11e)],_0x451c56,!0x1,_0x404483,_0x42057f]):this[_0x1edec7(0x281)](_0x24f68e[_0x1edec7(0x17c)](_0x451c56,_0x404483),_0x42057f);}[_0x3bbd4f(0x147)](_0x6c286,_0x538f49,_0x44f0f6){const _0x2c8652=_0x3bbd4f,_0x3b14aa=this['_extensions'][_0x134a0d[_0x2c8652(0x26a)]];let _0x528bfa=_0x538f49['binary']?0x2:0x1,_0x343728=_0x538f49[_0x2c8652(0x262)],_0x5c0101,_0x39ea7e;typeof _0x6c286=='string'?(_0x5c0101=Buffer[_0x2c8652(0x146)](_0x6c286),_0x39ea7e=!0x1):_0x4287d1(_0x6c286)?(_0x5c0101=_0x6c286[_0x2c8652(0x178)],_0x39ea7e=!0x1):(_0x6c286=_0x2ae2e4(_0x6c286),_0x5c0101=_0x6c286[_0x2c8652(0x1c8)],_0x39ea7e=_0x2ae2e4[_0x2c8652(0x18b)]),this['_firstFragment']?(this['_firstFragment']=!0x1,_0x343728&&_0x3b14aa&&_0x3b14aa[_0x2c8652(0x16c)][_0x3b14aa[_0x2c8652(0x186)]?_0x2c8652(0x18f):_0x2c8652(0x12b)]&&(_0x343728=_0x5c0101>=_0x3b14aa['_threshold']),this[_0x2c8652(0x158)]=_0x343728):(_0x343728=!0x1,_0x528bfa=0x0),_0x538f49[_0x2c8652(0x2bb)]&&(this[_0x2c8652(0x115)]=!0x0);const _0xee69be={[_0x370c50]:_0x5c0101,'fin':_0x538f49[_0x2c8652(0x2bb)],'generateMask':this[_0x2c8652(0x198)],'mask':_0x538f49['mask'],'maskBuffer':this[_0x2c8652(0x1a9)],'opcode':_0x528bfa,'readOnly':_0x39ea7e,'rsv1':_0x343728};_0x4287d1(_0x6c286)?this[_0x2c8652(0x130)]!==_0x201e52?this['enqueue']([this['getBlobData'],_0x6c286,this['_compress'],_0xee69be,_0x44f0f6]):this['getBlobData'](_0x6c286,this[_0x2c8652(0x158)],_0xee69be,_0x44f0f6):this[_0x2c8652(0x130)]!==_0x201e52?this[_0x2c8652(0x197)]([this[_0x2c8652(0x11e)],_0x6c286,this['_compress'],_0xee69be,_0x44f0f6]):this[_0x2c8652(0x11e)](_0x6c286,this[_0x2c8652(0x158)],_0xee69be,_0x44f0f6);}[_0x3bbd4f(0x183)](_0x1271a1,_0x461053,_0x40295c,_0x6806c8){const _0x3a5e76=_0x3bbd4f;this[_0x3a5e76(0x205)]+=_0x40295c[_0x370c50],this[_0x3a5e76(0x130)]=_0x730788,_0x1271a1['arrayBuffer']()[_0x3a5e76(0x2b1)](_0x1a6772=>{const _0x1b99d8=_0x3a5e76;if(this[_0x1b99d8(0x1e7)]['destroyed']){const _0x1468b5=new Error(_0x1b99d8(0x18d));process[_0x1b99d8(0x257)](_0x184f3e,this,_0x1468b5,_0x6806c8);return;}this[_0x1b99d8(0x205)]-=_0x40295c[_0x370c50];const _0x1d5e7c=_0x2ae2e4(_0x1a6772);_0x461053?this[_0x1b99d8(0x11e)](_0x1d5e7c,_0x461053,_0x40295c,_0x6806c8):(this[_0x1b99d8(0x130)]=_0x201e52,this[_0x1b99d8(0x281)](_0x24f68e[_0x1b99d8(0x17c)](_0x1d5e7c,_0x40295c),_0x6806c8),this[_0x1b99d8(0x1f9)]());})[_0x3a5e76(0x1b0)](_0x187c8f=>{const _0x1139a2=_0x3a5e76;process[_0x1139a2(0x257)](_0x106f37,this,_0x187c8f,_0x6806c8);});}['dispatch'](_0x2d2b9d,_0x5ef0bc,_0x646f8f,_0x9cbc73){const _0x3c0615=_0x3bbd4f;if(!_0x5ef0bc){this[_0x3c0615(0x281)](_0x24f68e[_0x3c0615(0x17c)](_0x2d2b9d,_0x646f8f),_0x9cbc73);return;}const _0x176ecb=this[_0x3c0615(0x1d1)][_0x134a0d['extensionName']];this[_0x3c0615(0x205)]+=_0x646f8f[_0x370c50],this[_0x3c0615(0x130)]=_0x3338da,_0x176ecb[_0x3c0615(0x262)](_0x2d2b9d,_0x646f8f[_0x3c0615(0x2bb)],(_0x476672,_0x4523aa)=>{const _0x25926a=_0x3c0615;if(this[_0x25926a(0x1e7)][_0x25926a(0x20d)]){const _0x3052ae=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x184f3e(this,_0x3052ae,_0x9cbc73);return;}this[_0x25926a(0x205)]-=_0x646f8f[_0x370c50],this[_0x25926a(0x130)]=_0x201e52,_0x646f8f[_0x25926a(0x18b)]=!0x1,this[_0x25926a(0x281)](_0x24f68e['frame'](_0x4523aa,_0x646f8f),_0x9cbc73),this[_0x25926a(0x1f9)]();});}[_0x3bbd4f(0x1f9)](){const _0x9a7afa=_0x3bbd4f;for(;this[_0x9a7afa(0x130)]===_0x201e52&&this[_0x9a7afa(0x1eb)][_0x9a7afa(0x1c8)];){const _0x237719=this[_0x9a7afa(0x1eb)][_0x9a7afa(0x154)]();this[_0x9a7afa(0x205)]-=_0x237719[0x3][_0x370c50],Reflect[_0x9a7afa(0x206)](_0x237719[0x0],this,_0x237719['slice'](0x1));}}['enqueue'](_0x32e1ef){const _0x56e79a=_0x3bbd4f;this[_0x56e79a(0x205)]+=_0x32e1ef[0x3][_0x370c50],this[_0x56e79a(0x1eb)][_0x56e79a(0x1e8)](_0x32e1ef);}['sendFrame'](_0x83ddf0,_0x11cdea){const _0x3a6261=_0x3bbd4f;_0x83ddf0[_0x3a6261(0x1c8)]===0x2?(this[_0x3a6261(0x1e7)][_0x3a6261(0x112)](),this[_0x3a6261(0x1e7)]['write'](_0x83ddf0[0x0]),this[_0x3a6261(0x1e7)][_0x3a6261(0x2a7)](_0x83ddf0[0x1],_0x11cdea),this[_0x3a6261(0x1e7)][_0x3a6261(0x160)]()):this[_0x3a6261(0x1e7)]['write'](_0x83ddf0[0x0],_0x11cdea);}}Ee=_0x24f68e;function _0x184f3e(_0x2f1a01,_0x382567,_0x5d952d){const _0x37e793=_0x3bbd4f;typeof _0x5d952d==_0x37e793(0x1fe)&&_0x5d952d(_0x382567);for(let _0x549c43=0x0;_0x549c43<_0x2f1a01[_0x37e793(0x1eb)][_0x37e793(0x1c8)];_0x549c43++){const _0x489568=_0x2f1a01[_0x37e793(0x1eb)][_0x549c43],_0x15351b=_0x489568[_0x489568['length']-0x1];typeof _0x15351b==_0x37e793(0x1fe)&&_0x15351b(_0x382567);}}function _0x106f37(_0x4d8518,_0x961414,_0x52a832){_0x184f3e(_0x4d8518,_0x961414,_0x52a832),_0x4d8518['onerror'](_0x961414);}return Ee;}var xe,tt;function Kt(){const _0x486ac1=_0x30ac41;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x58d0fd,kListener:_0x5d4644}=V(),_0x462f59=Symbol('kCode'),_0x3df1b7=Symbol(_0x486ac1(0x199)),_0x11433d=Symbol(_0x486ac1(0x1a7)),_0x5c530f=Symbol(_0x486ac1(0x1a4)),_0x452894=Symbol(_0x486ac1(0x230)),_0x118412=Symbol(_0x486ac1(0x2aa)),_0xfb378b=Symbol(_0x486ac1(0x290)),_0x37b80c=Symbol(_0x486ac1(0x215));class _0x46d261{constructor(_0x2c0205){this[_0x118412]=null,this[_0xfb378b]=_0x2c0205;}get[_0x486ac1(0x20a)](){return this[_0x118412];}get[_0x486ac1(0x26f)](){return this[_0xfb378b];}}Object[_0x486ac1(0x23d)](_0x46d261[_0x486ac1(0x248)],_0x486ac1(0x20a),{'enumerable':!0x0}),Object[_0x486ac1(0x23d)](_0x46d261['prototype'],'type',{'enumerable':!0x0});class _0x40938b extends _0x46d261{constructor(_0x168669,_0x2c5d49={}){const _0x5ecced=_0x486ac1;super(_0x168669),this[_0x462f59]=_0x2c5d49[_0x5ecced(0x26c)]===void 0x0?0x0:_0x2c5d49[_0x5ecced(0x26c)],this[_0x452894]=_0x2c5d49[_0x5ecced(0x24e)]===void 0x0?'':_0x2c5d49[_0x5ecced(0x24e)],this[_0x37b80c]=_0x2c5d49[_0x5ecced(0x1c9)]===void 0x0?!0x1:_0x2c5d49[_0x5ecced(0x1c9)];}get[_0x486ac1(0x26c)](){return this[_0x462f59];}get[_0x486ac1(0x24e)](){return this[_0x452894];}get['wasClean'](){return this[_0x37b80c];}}Object[_0x486ac1(0x23d)](_0x40938b[_0x486ac1(0x248)],_0x486ac1(0x26c),{'enumerable':!0x0}),Object['defineProperty'](_0x40938b[_0x486ac1(0x248)],'reason',{'enumerable':!0x0}),Object[_0x486ac1(0x23d)](_0x40938b[_0x486ac1(0x248)],'wasClean',{'enumerable':!0x0});class _0x5e9c82 extends _0x46d261{constructor(_0x2c7048,_0x4cc3be={}){const _0x45e60a=_0x486ac1;super(_0x2c7048),this[_0x11433d]=_0x4cc3be[_0x45e60a(0x282)]===void 0x0?null:_0x4cc3be['error'],this[_0x5c530f]=_0x4cc3be[_0x45e60a(0x1ce)]===void 0x0?'':_0x4cc3be[_0x45e60a(0x1ce)];}get[_0x486ac1(0x282)](){return this[_0x11433d];}get[_0x486ac1(0x1ce)](){return this[_0x5c530f];}}Object[_0x486ac1(0x23d)](_0x5e9c82[_0x486ac1(0x248)],'error',{'enumerable':!0x0}),Object['defineProperty'](_0x5e9c82[_0x486ac1(0x248)],_0x486ac1(0x1ce),{'enumerable':!0x0});class _0x44249f extends _0x46d261{constructor(_0x7b6fc6,_0x52eeb0={}){const _0x14419b=_0x486ac1;super(_0x7b6fc6),this[_0x3df1b7]=_0x52eeb0[_0x14419b(0x16b)]===void 0x0?null:_0x52eeb0['data'];}get[_0x486ac1(0x16b)](){return this[_0x3df1b7];}}Object[_0x486ac1(0x23d)](_0x44249f[_0x486ac1(0x248)],_0x486ac1(0x16b),{'enumerable':!0x0}),xe={'CloseEvent':_0x40938b,'ErrorEvent':_0x5e9c82,'Event':_0x46d261,'EventTarget':{'addEventListener'(_0x45f2e5,_0xcfbd6f,_0x2fe255={}){const _0x5551d4=_0x486ac1;for(const _0x2845ae of this[_0x5551d4(0x261)](_0x45f2e5))if(!_0x2fe255[_0x58d0fd]&&_0x2845ae[_0x5d4644]===_0xcfbd6f&&!_0x2845ae[_0x58d0fd])return;let _0x415137;if(_0x45f2e5===_0x5551d4(0x1ce))_0x415137=function(_0x18902f,_0x294c2a){const _0x531418=_0x5551d4,_0x37fe84=new _0x44249f(_0x531418(0x1ce),{'data':_0x294c2a?_0x18902f:_0x18902f['toString']()});_0x37fe84[_0x118412]=this,_0x1ec582(_0xcfbd6f,this,_0x37fe84);};else{if(_0x45f2e5===_0x5551d4(0x176))_0x415137=function(_0x468ecc,_0x3c8aa0){const _0x5a2722=_0x5551d4,_0x4f2580=new _0x40938b(_0x5a2722(0x176),{'code':_0x468ecc,'reason':_0x3c8aa0['toString'](),'wasClean':this[_0x5a2722(0x162)]&&this['_closeFrameSent']});_0x4f2580[_0x118412]=this,_0x1ec582(_0xcfbd6f,this,_0x4f2580);};else{if(_0x45f2e5===_0x5551d4(0x282))_0x415137=function(_0x5bf69a){const _0x49fb41=_0x5551d4,_0x1f3afa=new _0x5e9c82(_0x49fb41(0x282),{'error':_0x5bf69a,'message':_0x5bf69a['message']});_0x1f3afa[_0x118412]=this,_0x1ec582(_0xcfbd6f,this,_0x1f3afa);};else{if(_0x45f2e5===_0x5551d4(0x1ae))_0x415137=function(){const _0x2b80d8=_0x5551d4,_0x19fe4c=new _0x46d261(_0x2b80d8(0x1ae));_0x19fe4c[_0x118412]=this,_0x1ec582(_0xcfbd6f,this,_0x19fe4c);};else return;}}}_0x415137[_0x58d0fd]=!!_0x2fe255[_0x58d0fd],_0x415137[_0x5d4644]=_0xcfbd6f,_0x2fe255[_0x5551d4(0x20e)]?this[_0x5551d4(0x20e)](_0x45f2e5,_0x415137):this['on'](_0x45f2e5,_0x415137);},'removeEventListener'(_0x935cab,_0x452ee3){const _0x1ff524=_0x486ac1;for(const _0x283c0c of this['listeners'](_0x935cab))if(_0x283c0c[_0x5d4644]===_0x452ee3&&!_0x283c0c[_0x58d0fd]){this[_0x1ff524(0x256)](_0x935cab,_0x283c0c);break;}}},'MessageEvent':_0x44249f};function _0x1ec582(_0x454419,_0x40e2e8,_0x2a42aa){const _0x3ab6b3=_0x486ac1;typeof _0x454419==_0x3ab6b3(0x2a8)&&_0x454419[_0x3ab6b3(0x17e)]?_0x454419['handleEvent'][_0x3ab6b3(0x260)](_0x454419,_0x2a42aa):_0x454419[_0x3ab6b3(0x260)](_0x40e2e8,_0x2a42aa);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x266dbc}=ne();function _0x1fcfd6(_0x430ea8,_0x2bacd3,_0x16ce39){const _0x468c47=_0x5e6a;_0x430ea8[_0x2bacd3]===void 0x0?_0x430ea8[_0x2bacd3]=[_0x16ce39]:_0x430ea8[_0x2bacd3][_0x468c47(0x1e8)](_0x16ce39);}function _0x1460ef(_0xc91e3a){const _0x53e7f7=_0x5e6a,_0x5b2be3=Object[_0x53e7f7(0x2a2)](null);let _0x40273a=Object[_0x53e7f7(0x2a2)](null),_0x4c7867=!0x1,_0x1550f5=!0x1,_0x5753bf=!0x1,_0x589522,_0x1189da,_0x9928ad=-0x1,_0x3e8dcf=-0x1,_0x26de4f=-0x1,_0x659248=0x0;for(;_0x659248<_0xc91e3a['length'];_0x659248++)if(_0x3e8dcf=_0xc91e3a['charCodeAt'](_0x659248),_0x589522===void 0x0){if(_0x26de4f===-0x1&&_0x266dbc[_0x3e8dcf]===0x1)_0x9928ad===-0x1&&(_0x9928ad=_0x659248);else{if(_0x659248!==0x0&&(_0x3e8dcf===0x20||_0x3e8dcf===0x9))_0x26de4f===-0x1&&_0x9928ad!==-0x1&&(_0x26de4f=_0x659248);else{if(_0x3e8dcf===0x3b||_0x3e8dcf===0x2c){if(_0x9928ad===-0x1)throw new SyntaxError(_0x53e7f7(0x225)+_0x659248);_0x26de4f===-0x1&&(_0x26de4f=_0x659248);const _0x4cef41=_0xc91e3a[_0x53e7f7(0x142)](_0x9928ad,_0x26de4f);_0x3e8dcf===0x2c?(_0x1fcfd6(_0x5b2be3,_0x4cef41,_0x40273a),_0x40273a=Object['create'](null)):_0x589522=_0x4cef41,_0x9928ad=_0x26de4f=-0x1;}else throw new SyntaxError(_0x53e7f7(0x225)+_0x659248);}}}else{if(_0x1189da===void 0x0){if(_0x26de4f===-0x1&&_0x266dbc[_0x3e8dcf]===0x1)_0x9928ad===-0x1&&(_0x9928ad=_0x659248);else{if(_0x3e8dcf===0x20||_0x3e8dcf===0x9)_0x26de4f===-0x1&&_0x9928ad!==-0x1&&(_0x26de4f=_0x659248);else{if(_0x3e8dcf===0x3b||_0x3e8dcf===0x2c){if(_0x9928ad===-0x1)throw new SyntaxError(_0x53e7f7(0x225)+_0x659248);_0x26de4f===-0x1&&(_0x26de4f=_0x659248),_0x1fcfd6(_0x40273a,_0xc91e3a[_0x53e7f7(0x142)](_0x9928ad,_0x26de4f),!0x0),_0x3e8dcf===0x2c&&(_0x1fcfd6(_0x5b2be3,_0x589522,_0x40273a),_0x40273a=Object[_0x53e7f7(0x2a2)](null),_0x589522=void 0x0),_0x9928ad=_0x26de4f=-0x1;}else{if(_0x3e8dcf===0x3d&&_0x9928ad!==-0x1&&_0x26de4f===-0x1)_0x1189da=_0xc91e3a[_0x53e7f7(0x142)](_0x9928ad,_0x659248),_0x9928ad=_0x26de4f=-0x1;else throw new SyntaxError(_0x53e7f7(0x225)+_0x659248);}}}}else{if(_0x1550f5){if(_0x266dbc[_0x3e8dcf]!==0x1)throw new SyntaxError(_0x53e7f7(0x225)+_0x659248);_0x9928ad===-0x1?_0x9928ad=_0x659248:_0x4c7867||(_0x4c7867=!0x0),_0x1550f5=!0x1;}else{if(_0x5753bf){if(_0x266dbc[_0x3e8dcf]===0x1)_0x9928ad===-0x1&&(_0x9928ad=_0x659248);else{if(_0x3e8dcf===0x22&&_0x9928ad!==-0x1)_0x5753bf=!0x1,_0x26de4f=_0x659248;else{if(_0x3e8dcf===0x5c)_0x1550f5=!0x0;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x659248);}}}else{if(_0x3e8dcf===0x22&&_0xc91e3a[_0x53e7f7(0x266)](_0x659248-0x1)===0x3d)_0x5753bf=!0x0;else{if(_0x26de4f===-0x1&&_0x266dbc[_0x3e8dcf]===0x1)_0x9928ad===-0x1&&(_0x9928ad=_0x659248);else{if(_0x9928ad!==-0x1&&(_0x3e8dcf===0x20||_0x3e8dcf===0x9))_0x26de4f===-0x1&&(_0x26de4f=_0x659248);else{if(_0x3e8dcf===0x3b||_0x3e8dcf===0x2c){if(_0x9928ad===-0x1)throw new SyntaxError(_0x53e7f7(0x225)+_0x659248);_0x26de4f===-0x1&&(_0x26de4f=_0x659248);let _0x3cba6c=_0xc91e3a['slice'](_0x9928ad,_0x26de4f);_0x4c7867&&(_0x3cba6c=_0x3cba6c['replace'](/\\/g,''),_0x4c7867=!0x1),_0x1fcfd6(_0x40273a,_0x1189da,_0x3cba6c),_0x3e8dcf===0x2c&&(_0x1fcfd6(_0x5b2be3,_0x589522,_0x40273a),_0x40273a=Object[_0x53e7f7(0x2a2)](null),_0x589522=void 0x0),_0x1189da=void 0x0,_0x9928ad=_0x26de4f=-0x1;}else throw new SyntaxError(_0x53e7f7(0x225)+_0x659248);}}}}}}}if(_0x9928ad===-0x1||_0x5753bf||_0x3e8dcf===0x20||_0x3e8dcf===0x9)throw new SyntaxError(_0x53e7f7(0x1dd));_0x26de4f===-0x1&&(_0x26de4f=_0x659248);const _0x55e777=_0xc91e3a[_0x53e7f7(0x142)](_0x9928ad,_0x26de4f);return _0x589522===void 0x0?_0x1fcfd6(_0x5b2be3,_0x55e777,_0x40273a):(_0x1189da===void 0x0?_0x1fcfd6(_0x40273a,_0x55e777,!0x0):_0x4c7867?_0x1fcfd6(_0x40273a,_0x1189da,_0x55e777[_0x53e7f7(0x22f)](/\\/g,'')):_0x1fcfd6(_0x40273a,_0x1189da,_0x55e777),_0x1fcfd6(_0x5b2be3,_0x589522,_0x40273a)),_0x5b2be3;}function _0x278daa(_0x347484){const _0x24aae0=_0x5e6a;return Object[_0x24aae0(0x1d9)](_0x347484)['map'](_0x33cc2c=>{const _0x36a8e8=_0x24aae0;let _0x25160e=_0x347484[_0x33cc2c];return Array['isArray'](_0x25160e)||(_0x25160e=[_0x25160e]),_0x25160e[_0x36a8e8(0x208)](_0x20c898=>[_0x33cc2c][_0x36a8e8(0x23c)](Object['keys'](_0x20c898)[_0x36a8e8(0x208)](_0x5ebb21=>{const _0x1671b6=_0x36a8e8;let _0x5d042d=_0x20c898[_0x5ebb21];return Array[_0x1671b6(0x1df)](_0x5d042d)||(_0x5d042d=[_0x5d042d]),_0x5d042d[_0x1671b6(0x208)](_0x4a17b5=>_0x4a17b5===!0x0?_0x5ebb21:_0x5ebb21+'='+_0x4a17b5)['join'](';\x20');}))[_0x36a8e8(0x1ee)](';\x20'))[_0x36a8e8(0x1ee)](',\x20');})['join'](',\x20');}return be={'format':_0x278daa,'parse':_0x1460ef},be;}var we,st;function Ie(){const _0x24b686=_0x30ac41;if(st)return we;st=0x1;const _0x431eb9=_0x959d9,_0x41d087=_0x18c45c,_0x549121=_0x257990,_0x5536e6=_0xcd0416,_0x24866c=_0x5f5cd8,{randomBytes:_0x34e0e3,createHash:_0x4086d3}=_0x3bbfd4,{Duplex:_0x1cf58b,Readable:_0x91e735}=_0x47d3e0,{URL:_0x1f0807}=_0x108e7f,_0x589ca8=he(),_0x5926dc=dt(),_0x18cb3b=_t(),{isBlob:_0x5653b8}=ne(),{BINARY_TYPES:_0x20f886,EMPTY_BUFFER:_0x28e343,GUID:_0x30d1df,kForOnEventAttribute:_0x1a80da,kListener:_0x3748c8,kStatusCode:_0x535e86,kWebSocket:_0x2aa666,NOOP:_0x485da5}=V(),{EventTarget:{addEventListener:_0x20123a,removeEventListener:_0x3108d8}}=Kt(),{format:_0x3c43db,parse:_0x3d4445}=pt(),{toBuffer:_0x1eb969}=ce(),_0x2ef66a=0x1e*0x3e8,_0x31c5ef=Symbol(_0x24b686(0x204)),_0x4b1571=[0x8,0xd],_0x6bc0f6=['CONNECTING','OPEN',_0x24b686(0x28e),'CLOSED'],_0x2130aa=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x1caf84 extends _0x431eb9{constructor(_0xfc22ab,_0x30d75a,_0x3e9822){const _0x2882ec=_0x24b686;super(),this[_0x2882ec(0x195)]=_0x20f886[0x0],this[_0x2882ec(0x1e2)]=0x3ee,this['_closeFrameReceived']=!0x1,this[_0x2882ec(0x242)]=!0x1,this['_closeMessage']=_0x28e343,this[_0x2882ec(0x145)]=null,this[_0x2882ec(0x20b)]=!0x1,this[_0x2882ec(0x1d1)]={},this[_0x2882ec(0x289)]=!0x1,this[_0x2882ec(0x269)]='',this[_0x2882ec(0x1c0)]=_0x1caf84[_0x2882ec(0x276)],this['_receiver']=null,this['_sender']=null,this['_socket']=null,_0xfc22ab!==null?(this['_bufferedAmount']=0x0,this['_isServer']=!0x1,this[_0x2882ec(0x1ef)]=0x0,_0x30d75a===void 0x0?_0x30d75a=[]:Array[_0x2882ec(0x1df)](_0x30d75a)||(typeof _0x30d75a==_0x2882ec(0x2a8)&&_0x30d75a!==null?(_0x3e9822=_0x30d75a,_0x30d75a=[]):_0x30d75a=[_0x30d75a]),_0x2c3deb(this,_0xfc22ab,_0x30d75a,_0x3e9822)):(this[_0x2882ec(0x15f)]=_0x3e9822[_0x2882ec(0x295)],this['_isServer']=!0x0);}get[_0x24b686(0x165)](){const _0x17a642=_0x24b686;return this[_0x17a642(0x195)];}set['binaryType'](_0x405738){const _0x303e8e=_0x24b686;_0x20f886['includes'](_0x405738)&&(this[_0x303e8e(0x195)]=_0x405738,this[_0x303e8e(0x1b7)]&&(this[_0x303e8e(0x1b7)][_0x303e8e(0x195)]=_0x405738));}get[_0x24b686(0x25e)](){const _0xc10f77=_0x24b686;return this[_0xc10f77(0x1e7)]?this[_0xc10f77(0x1e7)]['_writableState']['length']+this[_0xc10f77(0x246)][_0xc10f77(0x205)]:this['_bufferedAmount'];}get[_0x24b686(0x185)](){const _0x507ece=_0x24b686;return Object[_0x507ece(0x1d9)](this[_0x507ece(0x1d1)])[_0x507ece(0x1ee)]();}get[_0x24b686(0x19b)](){const _0xc6fad4=_0x24b686;return this[_0xc6fad4(0x289)];}get[_0x24b686(0x22b)](){return null;}get[_0x24b686(0x24c)](){return null;}get[_0x24b686(0x29e)](){return null;}get[_0x24b686(0x192)](){return null;}get['protocol'](){return this['_protocol'];}get[_0x24b686(0x222)](){const _0x498104=_0x24b686;return this[_0x498104(0x1c0)];}get[_0x24b686(0x227)](){const _0x5436c7=_0x24b686;return this[_0x5436c7(0x193)];}[_0x24b686(0x118)](_0x52f04d,_0x3a18a3,_0x4bdafd){const _0x236cd4=_0x24b686,_0x58fb2b=new _0x5926dc({'allowSynchronousEvents':_0x4bdafd[_0x236cd4(0x123)],'binaryType':this[_0x236cd4(0x165)],'extensions':this[_0x236cd4(0x1d1)],'isServer':this[_0x236cd4(0x186)],'maxPayload':_0x4bdafd[_0x236cd4(0x174)],'skipUTF8Validation':_0x4bdafd[_0x236cd4(0x13b)]}),_0x3dc61d=new _0x18cb3b(_0x52f04d,this[_0x236cd4(0x1d1)],_0x4bdafd[_0x236cd4(0x1cd)]);this[_0x236cd4(0x1b7)]=_0x58fb2b,this[_0x236cd4(0x246)]=_0x3dc61d,this[_0x236cd4(0x1e7)]=_0x52f04d,_0x58fb2b[_0x2aa666]=this,_0x3dc61d[_0x2aa666]=this,_0x52f04d[_0x2aa666]=this,_0x58fb2b['on'](_0x236cd4(0x12f),_0x358bd6),_0x58fb2b['on']('drain',_0x3ae4d1),_0x58fb2b['on']('error',_0x42ed90),_0x58fb2b['on'](_0x236cd4(0x1ce),_0x1f4ee2),_0x58fb2b['on'](_0x236cd4(0x19e),_0x7ed972),_0x58fb2b['on'](_0x236cd4(0x12a),_0x151c85),_0x3dc61d['onerror']=_0x5582f2,_0x52f04d[_0x236cd4(0x24a)]&&_0x52f04d['setTimeout'](0x0),_0x52f04d[_0x236cd4(0x19d)]&&_0x52f04d['setNoDelay'](),_0x3a18a3['length']>0x0&&_0x52f04d['unshift'](_0x3a18a3),_0x52f04d['on']('close',_0x594fe3),_0x52f04d['on']('data',_0x391bb5),_0x52f04d['on']('end',_0x22df76),_0x52f04d['on'](_0x236cd4(0x282),_0x14108a),this[_0x236cd4(0x1c0)]=_0x1caf84['OPEN'],this[_0x236cd4(0x21f)](_0x236cd4(0x1ae));}[_0x24b686(0x1e3)](){const _0xe1b0aa=_0x24b686;if(!this[_0xe1b0aa(0x1e7)]){this[_0xe1b0aa(0x1c0)]=_0x1caf84[_0xe1b0aa(0x27d)],this['emit'](_0xe1b0aa(0x176),this[_0xe1b0aa(0x1e2)],this[_0xe1b0aa(0x277)]);return;}this[_0xe1b0aa(0x1d1)][_0x589ca8[_0xe1b0aa(0x26a)]]&&this[_0xe1b0aa(0x1d1)][_0x589ca8[_0xe1b0aa(0x26a)]]['cleanup'](),this[_0xe1b0aa(0x1b7)]['removeAllListeners'](),this['_readyState']=_0x1caf84[_0xe1b0aa(0x27d)],this[_0xe1b0aa(0x21f)]('close',this[_0xe1b0aa(0x1e2)],this[_0xe1b0aa(0x277)]);}[_0x24b686(0x176)](_0x4c5a9a,_0x460012){const _0x712a6e=_0x24b686;if(this[_0x712a6e(0x222)]!==_0x1caf84['CLOSED']){if(this[_0x712a6e(0x222)]===_0x1caf84[_0x712a6e(0x276)]){_0x394afc(this,this[_0x712a6e(0x12e)],_0x712a6e(0x184));return;}if(this[_0x712a6e(0x222)]===_0x1caf84[_0x712a6e(0x28e)]){this[_0x712a6e(0x242)]&&(this[_0x712a6e(0x162)]||this[_0x712a6e(0x1b7)]['_writableState'][_0x712a6e(0x150)])&&this[_0x712a6e(0x1e7)][_0x712a6e(0x1d7)]();return;}this[_0x712a6e(0x1c0)]=_0x1caf84[_0x712a6e(0x28e)],this['_sender'][_0x712a6e(0x176)](_0x4c5a9a,_0x460012,!this[_0x712a6e(0x186)],_0x2e3429=>{const _0x5d9b79=_0x712a6e;_0x2e3429||(this[_0x5d9b79(0x242)]=!0x0,(this[_0x5d9b79(0x162)]||this[_0x5d9b79(0x1b7)][_0x5d9b79(0x1de)][_0x5d9b79(0x150)])&&this[_0x5d9b79(0x1e7)]['end']());}),_0x31a484(this);}}['pause'](){const _0x550387=_0x24b686;this[_0x550387(0x222)]===_0x1caf84[_0x550387(0x276)]||this[_0x550387(0x222)]===_0x1caf84[_0x550387(0x27d)]||(this['_paused']=!0x0,this[_0x550387(0x1e7)][_0x550387(0x226)]());}[_0x24b686(0x19e)](_0x15288a,_0x48bb03,_0x1cf54b){const _0x5d7dde=_0x24b686;if(this[_0x5d7dde(0x222)]===_0x1caf84['CONNECTING'])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x15288a==_0x5d7dde(0x1fe)?(_0x1cf54b=_0x15288a,_0x15288a=_0x48bb03=void 0x0):typeof _0x48bb03=='function'&&(_0x1cf54b=_0x48bb03,_0x48bb03=void 0x0),typeof _0x15288a=='number'&&(_0x15288a=_0x15288a[_0x5d7dde(0x10e)]()),this[_0x5d7dde(0x222)]!==_0x1caf84[_0x5d7dde(0x23b)]){_0x5910dc(this,_0x15288a,_0x1cf54b);return;}_0x48bb03===void 0x0&&(_0x48bb03=!this[_0x5d7dde(0x186)]),this[_0x5d7dde(0x246)][_0x5d7dde(0x19e)](_0x15288a||_0x28e343,_0x48bb03,_0x1cf54b);}[_0x24b686(0x12a)](_0x6d296e,_0x5df0c2,_0x13e8f9){const _0x33eaf0=_0x24b686;if(this[_0x33eaf0(0x222)]===_0x1caf84[_0x33eaf0(0x276)])throw new Error(_0x33eaf0(0x196));if(typeof _0x6d296e=='function'?(_0x13e8f9=_0x6d296e,_0x6d296e=_0x5df0c2=void 0x0):typeof _0x5df0c2==_0x33eaf0(0x1fe)&&(_0x13e8f9=_0x5df0c2,_0x5df0c2=void 0x0),typeof _0x6d296e=='number'&&(_0x6d296e=_0x6d296e[_0x33eaf0(0x10e)]()),this[_0x33eaf0(0x222)]!==_0x1caf84[_0x33eaf0(0x23b)]){_0x5910dc(this,_0x6d296e,_0x13e8f9);return;}_0x5df0c2===void 0x0&&(_0x5df0c2=!this[_0x33eaf0(0x186)]),this[_0x33eaf0(0x246)][_0x33eaf0(0x12a)](_0x6d296e||_0x28e343,_0x5df0c2,_0x13e8f9);}[_0x24b686(0x1d8)](){const _0x280d45=_0x24b686;this[_0x280d45(0x222)]===_0x1caf84[_0x280d45(0x276)]||this['readyState']===_0x1caf84[_0x280d45(0x27d)]||(this[_0x280d45(0x289)]=!0x1,this[_0x280d45(0x1b7)]['_writableState'][_0x280d45(0x2a3)]||this[_0x280d45(0x1e7)][_0x280d45(0x1d8)]());}['send'](_0xafd553,_0x4b46f5,_0x481655){const _0x45def9=_0x24b686;if(this[_0x45def9(0x222)]===_0x1caf84['CONNECTING'])throw new Error(_0x45def9(0x196));if(typeof _0x4b46f5=='function'&&(_0x481655=_0x4b46f5,_0x4b46f5={}),typeof _0xafd553==_0x45def9(0x237)&&(_0xafd553=_0xafd553[_0x45def9(0x10e)]()),this['readyState']!==_0x1caf84[_0x45def9(0x23b)]){_0x5910dc(this,_0xafd553,_0x481655);return;}const _0x59d557={'binary':typeof _0xafd553!='string','mask':!this['_isServer'],'compress':!0x0,'fin':!0x0,..._0x4b46f5};this['_extensions'][_0x589ca8['extensionName']]||(_0x59d557['compress']=!0x1),this['_sender'][_0x45def9(0x147)](_0xafd553||_0x28e343,_0x59d557,_0x481655);}[_0x24b686(0x1e1)](){const _0x592aa9=_0x24b686;if(this[_0x592aa9(0x222)]!==_0x1caf84[_0x592aa9(0x27d)]){if(this[_0x592aa9(0x222)]===_0x1caf84[_0x592aa9(0x276)]){_0x394afc(this,this[_0x592aa9(0x12e)],_0x592aa9(0x184));return;}this[_0x592aa9(0x1e7)]&&(this[_0x592aa9(0x1c0)]=_0x1caf84[_0x592aa9(0x28e)],this[_0x592aa9(0x1e7)][_0x592aa9(0x251)]());}}}Object['defineProperty'](_0x1caf84,_0x24b686(0x276),{'enumerable':!0x0,'value':_0x6bc0f6['indexOf'](_0x24b686(0x276))}),Object[_0x24b686(0x23d)](_0x1caf84['prototype'],_0x24b686(0x276),{'enumerable':!0x0,'value':_0x6bc0f6['indexOf'](_0x24b686(0x276))}),Object[_0x24b686(0x23d)](_0x1caf84,_0x24b686(0x23b),{'enumerable':!0x0,'value':_0x6bc0f6[_0x24b686(0x288)](_0x24b686(0x23b))}),Object['defineProperty'](_0x1caf84[_0x24b686(0x248)],_0x24b686(0x23b),{'enumerable':!0x0,'value':_0x6bc0f6['indexOf']('OPEN')}),Object['defineProperty'](_0x1caf84,_0x24b686(0x28e),{'enumerable':!0x0,'value':_0x6bc0f6['indexOf'](_0x24b686(0x28e))}),Object[_0x24b686(0x23d)](_0x1caf84[_0x24b686(0x248)],'CLOSING',{'enumerable':!0x0,'value':_0x6bc0f6[_0x24b686(0x288)]('CLOSING')}),Object[_0x24b686(0x23d)](_0x1caf84,'CLOSED',{'enumerable':!0x0,'value':_0x6bc0f6['indexOf']('CLOSED')}),Object['defineProperty'](_0x1caf84[_0x24b686(0x248)],_0x24b686(0x27d),{'enumerable':!0x0,'value':_0x6bc0f6['indexOf'](_0x24b686(0x27d))}),['binaryType',_0x24b686(0x25e),_0x24b686(0x185),_0x24b686(0x19b),_0x24b686(0x1bf),_0x24b686(0x222),_0x24b686(0x227)]['forEach'](_0x52e8a2=>{const _0x2f1c50=_0x24b686;Object[_0x2f1c50(0x23d)](_0x1caf84[_0x2f1c50(0x248)],_0x52e8a2,{'enumerable':!0x0});}),[_0x24b686(0x1ae),_0x24b686(0x282),_0x24b686(0x176),_0x24b686(0x1ce)][_0x24b686(0x189)](_0x424df1=>{const _0x1a2ba5=_0x24b686;Object[_0x1a2ba5(0x23d)](_0x1caf84[_0x1a2ba5(0x248)],'on'+_0x424df1,{'enumerable':!0x0,'get'(){const _0x25627b=_0x1a2ba5;for(const _0x274b7f of this[_0x25627b(0x261)](_0x424df1))if(_0x274b7f[_0x1a80da])return _0x274b7f[_0x3748c8];return null;},'set'(_0x86b71d){const _0x1099f8=_0x1a2ba5;for(const _0x79b250 of this[_0x1099f8(0x261)](_0x424df1))if(_0x79b250[_0x1a80da]){this['removeListener'](_0x424df1,_0x79b250);break;}typeof _0x86b71d==_0x1099f8(0x1fe)&&this[_0x1099f8(0x231)](_0x424df1,_0x86b71d,{[_0x1a80da]:!0x0});}});}),_0x1caf84[_0x24b686(0x248)][_0x24b686(0x231)]=_0x20123a,_0x1caf84[_0x24b686(0x248)]['removeEventListener']=_0x3108d8,we=_0x1caf84;function _0x2c3deb(_0x23376d,_0x41a4ae,_0x18c76c,_0x4b83d3){const _0x565cdb=_0x24b686,_0x31f33a={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x4b1571[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x4b83d3,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x565cdb(0x27f),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x23376d[_0x565cdb(0x15f)]=_0x31f33a[_0x565cdb(0x295)],!_0x4b1571[_0x565cdb(0x1e9)](_0x31f33a['protocolVersion']))throw new RangeError(_0x565cdb(0x177)+_0x31f33a['protocolVersion']+_0x565cdb(0x1b6)+_0x4b1571[_0x565cdb(0x1ee)](',\x20')+')');let _0x166a69;if(_0x41a4ae instanceof _0x1f0807)_0x166a69=_0x41a4ae;else try{_0x166a69=new _0x1f0807(_0x41a4ae);}catch{throw new SyntaxError(_0x565cdb(0x2af)+_0x41a4ae);}_0x166a69[_0x565cdb(0x1bf)]===_0x565cdb(0x181)?_0x166a69[_0x565cdb(0x1bf)]=_0x565cdb(0x13d):_0x166a69[_0x565cdb(0x1bf)]===_0x565cdb(0x247)&&(_0x166a69[_0x565cdb(0x1bf)]=_0x565cdb(0x131)),_0x23376d[_0x565cdb(0x193)]=_0x166a69[_0x565cdb(0x2ae)];const _0x39dcc1=_0x166a69[_0x565cdb(0x1bf)]===_0x565cdb(0x131),_0x4fe3df=_0x166a69['protocol']===_0x565cdb(0x245);let _0x232a30;if(_0x166a69[_0x565cdb(0x1bf)]!==_0x565cdb(0x13d)&&!_0x39dcc1&&!_0x4fe3df?_0x232a30=_0x565cdb(0x2ba):_0x4fe3df&&!_0x166a69[_0x565cdb(0x2a5)]?_0x232a30=_0x565cdb(0x270):_0x166a69[_0x565cdb(0x17b)]&&(_0x232a30=_0x565cdb(0x134)),_0x232a30){const _0x4ccd8f=new SyntaxError(_0x232a30);if(_0x23376d[_0x565cdb(0x1ef)]===0x0)throw _0x4ccd8f;_0x450ae2(_0x23376d,_0x4ccd8f);return;}const _0x386ec=_0x39dcc1?0x1bb:0x50,_0x1913fc=_0x34e0e3(0x10)[_0x565cdb(0x10e)](_0x565cdb(0x143)),_0x56df0c=_0x39dcc1?_0x41d087[_0x565cdb(0x229)]:_0x549121[_0x565cdb(0x229)],_0x2590b5=new Set();let _0x1779bb;if(_0x31f33a[_0x565cdb(0x16f)]=_0x31f33a[_0x565cdb(0x16f)]||(_0x39dcc1?_0x5c8cf8:_0x35b535),_0x31f33a['defaultPort']=_0x31f33a[_0x565cdb(0x1ca)]||_0x386ec,_0x31f33a[_0x565cdb(0x2a1)]=_0x166a69[_0x565cdb(0x2a1)]||_0x386ec,_0x31f33a[_0x565cdb(0x141)]=_0x166a69[_0x565cdb(0x14b)][_0x565cdb(0x1ed)]('[')?_0x166a69[_0x565cdb(0x14b)][_0x565cdb(0x142)](0x1,-0x1):_0x166a69[_0x565cdb(0x14b)],_0x31f33a[_0x565cdb(0x144)]={..._0x31f33a[_0x565cdb(0x144)],'Sec-WebSocket-Version':_0x31f33a[_0x565cdb(0x11f)],'Sec-WebSocket-Key':_0x1913fc,'Connection':'Upgrade','Upgrade':_0x565cdb(0x16a)},_0x31f33a[_0x565cdb(0x267)]=_0x166a69[_0x565cdb(0x2a5)]+_0x166a69['search'],_0x31f33a['timeout']=_0x31f33a[_0x565cdb(0x298)],_0x31f33a['perMessageDeflate']&&(_0x1779bb=new _0x589ca8(_0x31f33a[_0x565cdb(0x212)]!==!0x0?_0x31f33a['perMessageDeflate']:{},!0x1,_0x31f33a[_0x565cdb(0x174)]),_0x31f33a['headers'][_0x565cdb(0x16e)]=_0x3c43db({[_0x589ca8[_0x565cdb(0x26a)]]:_0x1779bb[_0x565cdb(0x224)]()})),_0x18c76c[_0x565cdb(0x1c8)]){for(const _0x2c5a8c of _0x18c76c){if(typeof _0x2c5a8c!=_0x565cdb(0x275)||!_0x2130aa['test'](_0x2c5a8c)||_0x2590b5['has'](_0x2c5a8c))throw new SyntaxError(_0x565cdb(0x238));_0x2590b5[_0x565cdb(0x201)](_0x2c5a8c);}_0x31f33a[_0x565cdb(0x144)]['Sec-WebSocket-Protocol']=_0x18c76c[_0x565cdb(0x1ee)](',');}if(_0x31f33a[_0x565cdb(0x15b)]&&(_0x31f33a[_0x565cdb(0x11f)]<0xd?_0x31f33a[_0x565cdb(0x144)][_0x565cdb(0x240)]=_0x31f33a[_0x565cdb(0x15b)]:_0x31f33a[_0x565cdb(0x144)][_0x565cdb(0x278)]=_0x31f33a['origin']),(_0x166a69['username']||_0x166a69[_0x565cdb(0x20c)])&&(_0x31f33a[_0x565cdb(0x15d)]=_0x166a69[_0x565cdb(0x274)]+':'+_0x166a69[_0x565cdb(0x20c)]),_0x4fe3df){const _0x36da7f=_0x31f33a[_0x565cdb(0x267)][_0x565cdb(0x19f)](':');_0x31f33a[_0x565cdb(0x255)]=_0x36da7f[0x0],_0x31f33a[_0x565cdb(0x267)]=_0x36da7f[0x1];}let _0x5f158e;if(_0x31f33a[_0x565cdb(0x1c1)]){if(_0x23376d[_0x565cdb(0x1ef)]===0x0){_0x23376d[_0x565cdb(0x1ea)]=_0x4fe3df,_0x23376d[_0x565cdb(0x179)]=_0x39dcc1,_0x23376d[_0x565cdb(0x15c)]=_0x4fe3df?_0x31f33a[_0x565cdb(0x255)]:_0x166a69[_0x565cdb(0x141)];const _0x189faf=_0x4b83d3&&_0x4b83d3[_0x565cdb(0x144)];if(_0x4b83d3={..._0x4b83d3,'headers':{}},_0x189faf){for(const [_0x54dea9,_0x1d13d0]of Object[_0x565cdb(0x1f2)](_0x189faf))_0x4b83d3['headers'][_0x54dea9[_0x565cdb(0x296)]()]=_0x1d13d0;}}else{if(_0x23376d[_0x565cdb(0x13a)](_0x565cdb(0x210))===0x0){const _0x492099=_0x4fe3df?_0x23376d[_0x565cdb(0x1ea)]?_0x31f33a[_0x565cdb(0x255)]===_0x23376d[_0x565cdb(0x15c)]:!0x1:_0x23376d['_originalIpc']?!0x1:_0x166a69[_0x565cdb(0x141)]===_0x23376d[_0x565cdb(0x15c)];(!_0x492099||_0x23376d[_0x565cdb(0x179)]&&!_0x39dcc1)&&(delete _0x31f33a[_0x565cdb(0x144)][_0x565cdb(0x1da)],delete _0x31f33a['headers'][_0x565cdb(0x236)],_0x492099||delete _0x31f33a[_0x565cdb(0x144)][_0x565cdb(0x141)],_0x31f33a[_0x565cdb(0x15d)]=void 0x0);}}_0x31f33a[_0x565cdb(0x15d)]&&!_0x4b83d3[_0x565cdb(0x144)]['authorization']&&(_0x4b83d3[_0x565cdb(0x144)][_0x565cdb(0x1da)]=_0x565cdb(0x203)+Buffer[_0x565cdb(0x223)](_0x31f33a[_0x565cdb(0x15d)])[_0x565cdb(0x10e)](_0x565cdb(0x143))),_0x5f158e=_0x23376d[_0x565cdb(0x12e)]=_0x56df0c(_0x31f33a),_0x23376d[_0x565cdb(0x1ef)]&&_0x23376d[_0x565cdb(0x21f)](_0x565cdb(0x210),_0x23376d[_0x565cdb(0x227)],_0x5f158e);}else _0x5f158e=_0x23376d[_0x565cdb(0x12e)]=_0x56df0c(_0x31f33a);_0x31f33a[_0x565cdb(0x126)]&&_0x5f158e['on'](_0x565cdb(0x126),()=>{const _0x11bffd=_0x565cdb;_0x394afc(_0x23376d,_0x5f158e,_0x11bffd(0x11d));}),_0x5f158e['on'](_0x565cdb(0x282),_0xe94ee9=>{const _0x1c682a=_0x565cdb;_0x5f158e===null||_0x5f158e[_0x31c5ef]||(_0x5f158e=_0x23376d[_0x1c682a(0x12e)]=null,_0x450ae2(_0x23376d,_0xe94ee9));}),_0x5f158e['on']('response',_0x29042e=>{const _0xa31467=_0x565cdb,_0x5ba8a4=_0x29042e['headers'][_0xa31467(0x125)],_0x4c0643=_0x29042e[_0xa31467(0x164)];if(_0x5ba8a4&&_0x31f33a['followRedirects']&&_0x4c0643>=0x12c&&_0x4c0643<0x190){if(++_0x23376d[_0xa31467(0x1ef)]>_0x31f33a[_0xa31467(0x1ad)]){_0x394afc(_0x23376d,_0x5f158e,_0xa31467(0x279));return;}_0x5f158e[_0xa31467(0x1f0)]();let _0x3b22e6;try{_0x3b22e6=new _0x1f0807(_0x5ba8a4,_0x41a4ae);}catch{const _0x200abb=new SyntaxError('Invalid\x20URL:\x20'+_0x5ba8a4);_0x450ae2(_0x23376d,_0x200abb);return;}_0x2c3deb(_0x23376d,_0x3b22e6,_0x18c76c,_0x4b83d3);}else _0x23376d[_0xa31467(0x21f)]('unexpected-response',_0x5f158e,_0x29042e)||_0x394afc(_0x23376d,_0x5f158e,_0xa31467(0x113)+_0x29042e[_0xa31467(0x164)]);}),_0x5f158e['on'](_0x565cdb(0x249),(_0x21aa87,_0x4ca557,_0x339c21)=>{const _0x3e78fc=_0x565cdb;if(_0x23376d[_0x3e78fc(0x21f)](_0x3e78fc(0x249),_0x21aa87),_0x23376d[_0x3e78fc(0x222)]!==_0x1caf84['CONNECTING'])return;_0x5f158e=_0x23376d[_0x3e78fc(0x12e)]=null;const _0x1883fd=_0x21aa87[_0x3e78fc(0x144)]['upgrade'];if(_0x1883fd===void 0x0||_0x1883fd[_0x3e78fc(0x296)]()!=='websocket'){_0x394afc(_0x23376d,_0x4ca557,_0x3e78fc(0x20f));return;}const _0x258a5e=_0x4086d3(_0x3e78fc(0x23e))[_0x3e78fc(0x1d5)](_0x1913fc+_0x30d1df)['digest'](_0x3e78fc(0x143));if(_0x21aa87[_0x3e78fc(0x144)][_0x3e78fc(0x1b1)]!==_0x258a5e){_0x394afc(_0x23376d,_0x4ca557,_0x3e78fc(0x1e6));return;}const _0x263aa1=_0x21aa87['headers']['sec-websocket-protocol'];let _0x191b1f;if(_0x263aa1!==void 0x0?_0x2590b5['size']?_0x2590b5['has'](_0x263aa1)||(_0x191b1f=_0x3e78fc(0x1be)):_0x191b1f=_0x3e78fc(0x233):_0x2590b5['size']&&(_0x191b1f='Server\x20sent\x20no\x20subprotocol'),_0x191b1f){_0x394afc(_0x23376d,_0x4ca557,_0x191b1f);return;}_0x263aa1&&(_0x23376d[_0x3e78fc(0x269)]=_0x263aa1);const _0x126a7b=_0x21aa87['headers']['sec-websocket-extensions'];if(_0x126a7b!==void 0x0){if(!_0x1779bb){_0x394afc(_0x23376d,_0x4ca557,_0x3e78fc(0x19c));return;}let _0xc110ca;try{_0xc110ca=_0x3d4445(_0x126a7b);}catch{_0x394afc(_0x23376d,_0x4ca557,_0x3e78fc(0x10f));return;}const _0x30888e=Object[_0x3e78fc(0x1d9)](_0xc110ca);if(_0x30888e[_0x3e78fc(0x1c8)]!==0x1||_0x30888e[0x0]!==_0x589ca8[_0x3e78fc(0x26a)]){_0x394afc(_0x23376d,_0x4ca557,_0x3e78fc(0x1fc));return;}try{_0x1779bb[_0x3e78fc(0x1c6)](_0xc110ca[_0x589ca8[_0x3e78fc(0x26a)]]);}catch{_0x394afc(_0x23376d,_0x4ca557,_0x3e78fc(0x10f));return;}_0x23376d[_0x3e78fc(0x1d1)][_0x589ca8['extensionName']]=_0x1779bb;}_0x23376d[_0x3e78fc(0x118)](_0x4ca557,_0x339c21,{'allowSynchronousEvents':_0x31f33a[_0x3e78fc(0x123)],'generateMask':_0x31f33a['generateMask'],'maxPayload':_0x31f33a[_0x3e78fc(0x174)],'skipUTF8Validation':_0x31f33a['skipUTF8Validation']});}),_0x31f33a[_0x565cdb(0x23a)]?_0x31f33a[_0x565cdb(0x23a)](_0x5f158e,_0x23376d):_0x5f158e[_0x565cdb(0x1d7)]();}function _0x450ae2(_0x405be6,_0x57f269){const _0x1401b5=_0x24b686;_0x405be6[_0x1401b5(0x1c0)]=_0x1caf84[_0x1401b5(0x28e)],_0x405be6[_0x1401b5(0x20b)]=!0x0,_0x405be6[_0x1401b5(0x21f)](_0x1401b5(0x282),_0x57f269),_0x405be6['emitClose']();}function _0x35b535(_0x2af31c){const _0xa8605d=_0x24b686;return _0x2af31c[_0xa8605d(0x267)]=_0x2af31c[_0xa8605d(0x255)],_0x5536e6[_0xa8605d(0x24d)](_0x2af31c);}function _0x5c8cf8(_0x1b7bab){const _0xe9124=_0x24b686;return _0x1b7bab[_0xe9124(0x267)]=void 0x0,!_0x1b7bab['servername']&&_0x1b7bab[_0xe9124(0x1a3)]!==''&&(_0x1b7bab['servername']=_0x5536e6[_0xe9124(0x137)](_0x1b7bab[_0xe9124(0x141)])?'':_0x1b7bab['host']),_0x24866c[_0xe9124(0x24d)](_0x1b7bab);}function _0x394afc(_0x945d07,_0x23fbe3,_0x4773fe){const _0x47a796=_0x24b686;_0x945d07['_readyState']=_0x1caf84[_0x47a796(0x28e)];const _0x102a2f=new Error(_0x4773fe);Error['captureStackTrace'](_0x102a2f,_0x394afc),_0x23fbe3['setHeader']?(_0x23fbe3[_0x31c5ef]=!0x0,_0x23fbe3[_0x47a796(0x1f0)](),_0x23fbe3[_0x47a796(0x241)]&&!_0x23fbe3['socket']['destroyed']&&_0x23fbe3['socket'][_0x47a796(0x251)](),process[_0x47a796(0x257)](_0x450ae2,_0x945d07,_0x102a2f)):(_0x23fbe3[_0x47a796(0x251)](_0x102a2f),_0x23fbe3[_0x47a796(0x20e)](_0x47a796(0x282),_0x945d07[_0x47a796(0x21f)][_0x47a796(0x2b4)](_0x945d07,_0x47a796(0x282))),_0x23fbe3[_0x47a796(0x20e)](_0x47a796(0x176),_0x945d07[_0x47a796(0x1e3)][_0x47a796(0x2b4)](_0x945d07)));}function _0x5910dc(_0x363ab5,_0x2e677c,_0x308bb8){const _0x10d538=_0x24b686;if(_0x2e677c){const _0x26a099=_0x5653b8(_0x2e677c)?_0x2e677c[_0x10d538(0x178)]:_0x1eb969(_0x2e677c)[_0x10d538(0x1c8)];_0x363ab5[_0x10d538(0x1e7)]?_0x363ab5[_0x10d538(0x246)][_0x10d538(0x205)]+=_0x26a099:_0x363ab5[_0x10d538(0x127)]+=_0x26a099;}if(_0x308bb8){const _0x1a88a6=new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x20'+_0x363ab5[_0x10d538(0x222)]+'\x20('+_0x6bc0f6[_0x363ab5[_0x10d538(0x222)]]+')');process['nextTick'](_0x308bb8,_0x1a88a6);}}function _0x358bd6(_0x51dd02,_0x381f08){const _0x9a33b9=_0x24b686,_0x575074=this[_0x2aa666];_0x575074[_0x9a33b9(0x162)]=!0x0,_0x575074[_0x9a33b9(0x277)]=_0x381f08,_0x575074[_0x9a33b9(0x1e2)]=_0x51dd02,_0x575074[_0x9a33b9(0x1e7)][_0x2aa666]!==void 0x0&&(_0x575074[_0x9a33b9(0x1e7)][_0x9a33b9(0x256)]('data',_0x391bb5),process[_0x9a33b9(0x257)](_0x3a986c,_0x575074[_0x9a33b9(0x1e7)]),_0x51dd02===0x3ed?_0x575074['close']():_0x575074[_0x9a33b9(0x176)](_0x51dd02,_0x381f08));}function _0x3ae4d1(){const _0x2653bb=_0x24b686,_0xb85732=this[_0x2aa666];_0xb85732[_0x2653bb(0x19b)]||_0xb85732[_0x2653bb(0x1e7)][_0x2653bb(0x1d8)]();}function _0x42ed90(_0x4a4e15){const _0x233f59=_0x24b686,_0xf991de=this[_0x2aa666];_0xf991de[_0x233f59(0x1e7)][_0x2aa666]!==void 0x0&&(_0xf991de[_0x233f59(0x1e7)][_0x233f59(0x256)]('data',_0x391bb5),process[_0x233f59(0x257)](_0x3a986c,_0xf991de['_socket']),_0xf991de[_0x233f59(0x176)](_0x4a4e15[_0x535e86])),_0xf991de[_0x233f59(0x20b)]||(_0xf991de[_0x233f59(0x20b)]=!0x0,_0xf991de['emit'](_0x233f59(0x282),_0x4a4e15));}function _0x57f5e7(){const _0x17501d=_0x24b686;this[_0x2aa666][_0x17501d(0x1e3)]();}function _0x1f4ee2(_0x114201,_0x32a041){const _0xf399f8=_0x24b686;this[_0x2aa666][_0xf399f8(0x21f)](_0xf399f8(0x1ce),_0x114201,_0x32a041);}function _0x7ed972(_0x4613f8){const _0x1e75f2=_0x24b686,_0x558135=this[_0x2aa666];_0x558135['_autoPong']&&_0x558135[_0x1e75f2(0x12a)](_0x4613f8,!this[_0x1e75f2(0x186)],_0x485da5),_0x558135[_0x1e75f2(0x21f)](_0x1e75f2(0x19e),_0x4613f8);}function _0x151c85(_0x3de11b){const _0x21b10a=_0x24b686;this[_0x2aa666]['emit'](_0x21b10a(0x12a),_0x3de11b);}function _0x3a986c(_0xb68ccc){_0xb68ccc['resume']();}function _0x5582f2(_0x39743b){const _0x297ca9=_0x24b686,_0x2c5bde=this[_0x2aa666];_0x2c5bde['readyState']!==_0x1caf84['CLOSED']&&(_0x2c5bde[_0x297ca9(0x222)]===_0x1caf84[_0x297ca9(0x23b)]&&(_0x2c5bde[_0x297ca9(0x1c0)]=_0x1caf84[_0x297ca9(0x28e)],_0x31a484(_0x2c5bde)),this[_0x297ca9(0x1e7)][_0x297ca9(0x1d7)](),_0x2c5bde[_0x297ca9(0x20b)]||(_0x2c5bde[_0x297ca9(0x20b)]=!0x0,_0x2c5bde['emit'](_0x297ca9(0x282),_0x39743b)));}function _0x31a484(_0x2fc2bc){const _0x1dbbec=_0x24b686;_0x2fc2bc[_0x1dbbec(0x145)]=setTimeout(_0x2fc2bc[_0x1dbbec(0x1e7)][_0x1dbbec(0x251)]['bind'](_0x2fc2bc[_0x1dbbec(0x1e7)]),_0x2ef66a);}function _0x594fe3(){const _0x2f1ad2=_0x24b686,_0x1c2abe=this[_0x2aa666];this[_0x2f1ad2(0x256)]('close',_0x594fe3),this[_0x2f1ad2(0x256)](_0x2f1ad2(0x16b),_0x391bb5),this[_0x2f1ad2(0x256)](_0x2f1ad2(0x1d7),_0x22df76),_0x1c2abe[_0x2f1ad2(0x1c0)]=_0x1caf84[_0x2f1ad2(0x28e)];let _0x38c4c2;!this[_0x2f1ad2(0x120)][_0x2f1ad2(0x213)]&&!_0x1c2abe[_0x2f1ad2(0x162)]&&!_0x1c2abe['_receiver'][_0x2f1ad2(0x1de)][_0x2f1ad2(0x150)]&&(_0x38c4c2=_0x1c2abe[_0x2f1ad2(0x1e7)]['read']())!==null&&_0x1c2abe[_0x2f1ad2(0x1b7)]['write'](_0x38c4c2),_0x1c2abe[_0x2f1ad2(0x1b7)][_0x2f1ad2(0x1d7)](),this[_0x2aa666]=void 0x0,clearTimeout(_0x1c2abe[_0x2f1ad2(0x145)]),_0x1c2abe[_0x2f1ad2(0x1b7)][_0x2f1ad2(0x1de)][_0x2f1ad2(0x27c)]||_0x1c2abe[_0x2f1ad2(0x1b7)][_0x2f1ad2(0x1de)][_0x2f1ad2(0x150)]?_0x1c2abe[_0x2f1ad2(0x1e3)]():(_0x1c2abe['_receiver']['on'](_0x2f1ad2(0x282),_0x57f5e7),_0x1c2abe[_0x2f1ad2(0x1b7)]['on'](_0x2f1ad2(0x2b2),_0x57f5e7));}function _0x391bb5(_0x2c530e){const _0x3cd90=_0x24b686;this[_0x2aa666][_0x3cd90(0x1b7)][_0x3cd90(0x2a7)](_0x2c530e)||this[_0x3cd90(0x226)]();}function _0x22df76(){const _0x5150d8=_0x24b686,_0x1ec86a=this[_0x2aa666];_0x1ec86a['_readyState']=_0x1caf84[_0x5150d8(0x28e)],_0x1ec86a[_0x5150d8(0x1b7)][_0x5150d8(0x1d7)](),this[_0x5150d8(0x1d7)]();}function _0x14108a(){const _0x1bd2f4=_0x24b686,_0x12f98e=this[_0x2aa666];this[_0x1bd2f4(0x256)](_0x1bd2f4(0x282),_0x14108a),this['on']('error',_0x485da5),_0x12f98e&&(_0x12f98e[_0x1bd2f4(0x1c0)]=_0x1caf84[_0x1bd2f4(0x28e)],this[_0x1bd2f4(0x251)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x570a4e}=_0x47d3e0;function _0xcdf5ab(_0x1eef1a){const _0x5e1d76=_0x5e6a;_0x1eef1a[_0x5e1d76(0x21f)](_0x5e1d76(0x176));}function _0x3d620a(){const _0x1de920=_0x5e6a;!this[_0x1de920(0x20d)]&&this[_0x1de920(0x1de)][_0x1de920(0x27c)]&&this[_0x1de920(0x251)]();}function _0x3a7f8b(_0x598713){const _0x5ac9f5=_0x5e6a;this['removeListener'](_0x5ac9f5(0x282),_0x3a7f8b),this[_0x5ac9f5(0x251)](),this['listenerCount']('error')===0x0&&this[_0x5ac9f5(0x21f)](_0x5ac9f5(0x282),_0x598713);}function _0x19c8d8(_0x57ffff,_0x453464){const _0xeaa86=_0x5e6a;let _0x165a23=!0x0;const _0x564fda=new _0x570a4e({..._0x453464,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x57ffff['on'](_0xeaa86(0x1ce),function(_0x9f5614,_0x3e4118){const _0x5c1c55=_0xeaa86,_0x60e409=!_0x3e4118&&_0x564fda[_0x5c1c55(0x120)]['objectMode']?_0x9f5614[_0x5c1c55(0x10e)]():_0x9f5614;_0x564fda[_0x5c1c55(0x1e8)](_0x60e409)||_0x57ffff['pause']();}),_0x57ffff[_0xeaa86(0x20e)]('error',function(_0x1eabe6){const _0x4d1b2b=_0xeaa86;_0x564fda[_0x4d1b2b(0x20d)]||(_0x165a23=!0x1,_0x564fda[_0x4d1b2b(0x251)](_0x1eabe6));}),_0x57ffff[_0xeaa86(0x20e)](_0xeaa86(0x176),function(){const _0x96789b=_0xeaa86;_0x564fda[_0x96789b(0x20d)]||_0x564fda['push'](null);}),_0x564fda['_destroy']=function(_0x2f343e,_0x495087){const _0x3eda80=_0xeaa86;if(_0x57ffff['readyState']===_0x57ffff[_0x3eda80(0x27d)]){_0x495087(_0x2f343e),process['nextTick'](_0xcdf5ab,_0x564fda);return;}let _0x1b6eed=!0x1;_0x57ffff[_0x3eda80(0x20e)](_0x3eda80(0x282),function(_0x45f285){_0x1b6eed=!0x0,_0x495087(_0x45f285);}),_0x57ffff[_0x3eda80(0x20e)](_0x3eda80(0x176),function(){const _0x12f201=_0x3eda80;_0x1b6eed||_0x495087(_0x2f343e),process[_0x12f201(0x257)](_0xcdf5ab,_0x564fda);}),_0x165a23&&_0x57ffff[_0x3eda80(0x1e1)]();},_0x564fda[_0xeaa86(0x1b9)]=function(_0x56b645){const _0x559f93=_0xeaa86;if(_0x57ffff[_0x559f93(0x222)]===_0x57ffff['CONNECTING']){_0x57ffff[_0x559f93(0x20e)]('open',function(){const _0x1e47c6=_0x559f93;_0x564fda[_0x1e47c6(0x1b9)](_0x56b645);});return;}_0x57ffff[_0x559f93(0x1e7)]!==null&&(_0x57ffff[_0x559f93(0x1e7)]['_writableState'][_0x559f93(0x27c)]?(_0x56b645(),_0x564fda[_0x559f93(0x120)]['endEmitted']&&_0x564fda[_0x559f93(0x251)]()):(_0x57ffff[_0x559f93(0x1e7)][_0x559f93(0x20e)]('finish',function(){_0x56b645();}),_0x57ffff[_0x559f93(0x176)]()));},_0x564fda[_0xeaa86(0x294)]=function(){const _0x56e71a=_0xeaa86;_0x57ffff[_0x56e71a(0x19b)]&&_0x57ffff[_0x56e71a(0x1d8)]();},_0x564fda[_0xeaa86(0x234)]=function(_0x9b4879,_0xcb4a84,_0x52b739){const _0x4cd5a4=_0xeaa86;if(_0x57ffff['readyState']===_0x57ffff[_0x4cd5a4(0x276)]){_0x57ffff[_0x4cd5a4(0x20e)](_0x4cd5a4(0x1ae),function(){const _0x43411e=_0x4cd5a4;_0x564fda[_0x43411e(0x234)](_0x9b4879,_0xcb4a84,_0x52b739);});return;}_0x57ffff[_0x4cd5a4(0x147)](_0x9b4879,_0x52b739);},_0x564fda['on']('end',_0x3d620a),_0x564fda['on']('error',_0x3a7f8b),_0x564fda;}return Oe=_0x19c8d8,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=Wt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x5f2289}=ne();function _0x46bfa5(_0x41f648){const _0x3a55e3=_0x5e6a,_0x21bff5=new Set();let _0xfb1872=-0x1,_0x2c9f7d=-0x1,_0x1f5c87=0x0;for(_0x1f5c87;_0x1f5c87<_0x41f648['length'];_0x1f5c87++){const _0x3c6258=_0x41f648[_0x3a55e3(0x266)](_0x1f5c87);if(_0x2c9f7d===-0x1&&_0x5f2289[_0x3c6258]===0x1)_0xfb1872===-0x1&&(_0xfb1872=_0x1f5c87);else{if(_0x1f5c87!==0x0&&(_0x3c6258===0x20||_0x3c6258===0x9))_0x2c9f7d===-0x1&&_0xfb1872!==-0x1&&(_0x2c9f7d=_0x1f5c87);else{if(_0x3c6258===0x2c){if(_0xfb1872===-0x1)throw new SyntaxError(_0x3a55e3(0x225)+_0x1f5c87);_0x2c9f7d===-0x1&&(_0x2c9f7d=_0x1f5c87);const _0x1dcb59=_0x41f648[_0x3a55e3(0x142)](_0xfb1872,_0x2c9f7d);if(_0x21bff5[_0x3a55e3(0x287)](_0x1dcb59))throw new SyntaxError(_0x3a55e3(0x250)+_0x1dcb59+_0x3a55e3(0x2b3));_0x21bff5[_0x3a55e3(0x201)](_0x1dcb59),_0xfb1872=_0x2c9f7d=-0x1;}else throw new SyntaxError(_0x3a55e3(0x225)+_0x1f5c87);}}}if(_0xfb1872===-0x1||_0x2c9f7d!==-0x1)throw new SyntaxError('Unexpected\x20end\x20of\x20input');const _0x74f50=_0x41f648[_0x3a55e3(0x142)](_0xfb1872,_0x1f5c87);if(_0x21bff5['has'](_0x74f50))throw new SyntaxError(_0x3a55e3(0x250)+_0x74f50+_0x3a55e3(0x2b3));return _0x21bff5[_0x3a55e3(0x201)](_0x74f50),_0x21bff5;}return Ce={'parse':_0x46bfa5},Ce;}var Te,ot;function er(){const _0x48ed77=_0x30ac41;if(ot)return Te;ot=0x1;const _0x45e4fc=_0x959d9,_0x39d5d9=_0x257990,{Duplex:_0x4988cf}=_0x47d3e0,{createHash:_0x1aeda}=_0x3bbfd4,_0x587e4f=pt(),_0xaabd67=he(),_0x2a48bd=Jt(),_0x37dff1=Ie(),{GUID:_0x28ddc5,kWebSocket:_0x585f05}=V(),_0x27945c=/^[+/0-9A-Za-z]{22}==$/,_0x20a668=0x0,_0x49cc56=0x1,_0x68217b=0x2;class _0x54c028 extends _0x45e4fc{constructor(_0x4308b2,_0xe797de){const _0x6343eb=_0x5e6a;if(super(),_0x4308b2={'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':_0x37dff1,..._0x4308b2},_0x4308b2[_0x6343eb(0x2a1)]==null&&!_0x4308b2[_0x6343eb(0x1c4)]&&!_0x4308b2[_0x6343eb(0x18c)]||_0x4308b2[_0x6343eb(0x2a1)]!=null&&(_0x4308b2[_0x6343eb(0x1c4)]||_0x4308b2[_0x6343eb(0x18c)])||_0x4308b2['server']&&_0x4308b2[_0x6343eb(0x18c)])throw new TypeError('One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified');if(_0x4308b2['port']!=null?(this[_0x6343eb(0x1d0)]=_0x39d5d9['createServer']((_0x4477f5,_0x2781da)=>{const _0x4aaa45=_0x6343eb,_0x2192d4=_0x39d5d9['STATUS_CODES'][0x1aa];_0x2781da[_0x4aaa45(0x283)](0x1aa,{'Content-Length':_0x2192d4[_0x4aaa45(0x1c8)],'Content-Type':_0x4aaa45(0x21a)}),_0x2781da[_0x4aaa45(0x1d7)](_0x2192d4);}),this[_0x6343eb(0x1d0)][_0x6343eb(0x263)](_0x4308b2[_0x6343eb(0x2a1)],_0x4308b2[_0x6343eb(0x141)],_0x4308b2[_0x6343eb(0x187)],_0xe797de)):_0x4308b2[_0x6343eb(0x1c4)]&&(this['_server']=_0x4308b2['server']),this[_0x6343eb(0x1d0)]){const _0x24c7fe=this[_0x6343eb(0x21f)][_0x6343eb(0x2b4)](this,_0x6343eb(0x209));this[_0x6343eb(0x1bd)]=_0x2657f7(this['_server'],{'listening':this[_0x6343eb(0x21f)][_0x6343eb(0x2b4)](this,_0x6343eb(0x151)),'error':this[_0x6343eb(0x21f)]['bind'](this,_0x6343eb(0x282)),'upgrade':(_0x595eb3,_0x354491,_0x5ea2ad)=>{const _0x31d293=_0x6343eb;this[_0x31d293(0x17a)](_0x595eb3,_0x354491,_0x5ea2ad,_0x24c7fe);}});}_0x4308b2[_0x6343eb(0x212)]===!0x0&&(_0x4308b2[_0x6343eb(0x212)]={}),_0x4308b2[_0x6343eb(0x211)]&&(this[_0x6343eb(0x136)]=new Set(),this['_shouldEmitClose']=!0x1),this[_0x6343eb(0x140)]=_0x4308b2,this[_0x6343eb(0x130)]=_0x20a668;}[_0x48ed77(0x22a)](){const _0x18f798=_0x48ed77;if(this[_0x18f798(0x140)]['noServer'])throw new Error('The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode');return this['_server']?this['_server']['address']():null;}[_0x48ed77(0x176)](_0x572454){const _0xafc832=_0x48ed77;if(this['_state']===_0x68217b){_0x572454&&this['once'](_0xafc832(0x176),()=>{const _0x106631=_0xafc832;_0x572454(new Error(_0x106631(0x122)));}),process['nextTick'](_0x4d3fd3,this);return;}if(_0x572454&&this['once']('close',_0x572454),this['_state']!==_0x49cc56){if(this[_0xafc832(0x130)]=_0x49cc56,this[_0xafc832(0x140)][_0xafc832(0x18c)]||this['options']['server'])this[_0xafc832(0x1d0)]&&(this[_0xafc832(0x1bd)](),this[_0xafc832(0x1bd)]=this[_0xafc832(0x1d0)]=null),this[_0xafc832(0x136)]?this['clients']['size']?this[_0xafc832(0x202)]=!0x0:process[_0xafc832(0x257)](_0x4d3fd3,this):process[_0xafc832(0x257)](_0x4d3fd3,this);else{const _0x13a24b=this[_0xafc832(0x1d0)];this[_0xafc832(0x1bd)](),this[_0xafc832(0x1bd)]=this['_server']=null,_0x13a24b['close'](()=>{_0x4d3fd3(this);});}}}['shouldHandle'](_0x4ab561){const _0x1a2b6f=_0x48ed77;if(this[_0x1a2b6f(0x140)]['path']){const _0x5d5491=_0x4ab561[_0x1a2b6f(0x227)]['indexOf']('?');if((_0x5d5491!==-0x1?_0x4ab561[_0x1a2b6f(0x227)][_0x1a2b6f(0x142)](0x0,_0x5d5491):_0x4ab561[_0x1a2b6f(0x227)])!==this[_0x1a2b6f(0x140)][_0x1a2b6f(0x267)])return!0x1;}return!0x0;}['handleUpgrade'](_0x2b532e,_0x545a8a,_0x11b185,_0x15758f){const _0x31bf11=_0x48ed77;_0x545a8a['on']('error',_0x1c4282);const _0x207ab3=_0x2b532e[_0x31bf11(0x144)][_0x31bf11(0x25d)],_0x3e4414=_0x2b532e[_0x31bf11(0x144)][_0x31bf11(0x249)],_0x2790b6=+_0x2b532e['headers']['sec-websocket-version'];if(_0x2b532e[_0x31bf11(0x285)]!==_0x31bf11(0x27f)){_0x22eae0(this,_0x2b532e,_0x545a8a,0x195,_0x31bf11(0x138));return;}if(_0x3e4414===void 0x0||_0x3e4414[_0x31bf11(0x296)]()!==_0x31bf11(0x16a)){_0x22eae0(this,_0x2b532e,_0x545a8a,0x190,_0x31bf11(0x20f));return;}if(_0x207ab3===void 0x0||!_0x27945c[_0x31bf11(0x1db)](_0x207ab3)){_0x22eae0(this,_0x2b532e,_0x545a8a,0x190,_0x31bf11(0x2a6));return;}if(_0x2790b6!==0xd&&_0x2790b6!==0x8){_0x22eae0(this,_0x2b532e,_0x545a8a,0x190,_0x31bf11(0x114),{'Sec-WebSocket-Version':'13,\x208'});return;}if(!this[_0x31bf11(0x272)](_0x2b532e)){_0xf7a8ce(_0x545a8a,0x190);return;}const _0x1bf1fa=_0x2b532e[_0x31bf11(0x144)][_0x31bf11(0x152)];let _0x462ca8=new Set();if(_0x1bf1fa!==void 0x0)try{_0x462ca8=_0x2a48bd[_0x31bf11(0x218)](_0x1bf1fa);}catch{_0x22eae0(this,_0x2b532e,_0x545a8a,0x190,'Invalid\x20Sec-WebSocket-Protocol\x20header');return;}const _0x2fb5ea=_0x2b532e[_0x31bf11(0x144)][_0x31bf11(0x13e)],_0x452168={};if(this[_0x31bf11(0x140)][_0x31bf11(0x212)]&&_0x2fb5ea!==void 0x0){const _0x24657f=new _0xaabd67(this[_0x31bf11(0x140)][_0x31bf11(0x212)],!0x0,this[_0x31bf11(0x140)]['maxPayload']);try{const _0xef2056=_0x587e4f['parse'](_0x2fb5ea);_0xef2056[_0xaabd67['extensionName']]&&(_0x24657f[_0x31bf11(0x1c6)](_0xef2056[_0xaabd67['extensionName']]),_0x452168[_0xaabd67['extensionName']]=_0x24657f);}catch{_0x22eae0(this,_0x2b532e,_0x545a8a,0x190,'Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header');return;}}if(this[_0x31bf11(0x140)][_0x31bf11(0x1fd)]){const _0x415a59={'origin':_0x2b532e[_0x31bf11(0x144)][''+(_0x2790b6===0x8?_0x31bf11(0x1ff):'origin')],'secure':!!(_0x2b532e[_0x31bf11(0x241)][_0x31bf11(0x259)]||_0x2b532e[_0x31bf11(0x241)][_0x31bf11(0x2b7)]),'req':_0x2b532e};if(this[_0x31bf11(0x140)][_0x31bf11(0x1fd)][_0x31bf11(0x1c8)]===0x2){this[_0x31bf11(0x140)]['verifyClient'](_0x415a59,(_0x3272e2,_0x17533f,_0x376031,_0x550212)=>{const _0x3c8e20=_0x31bf11;if(!_0x3272e2)return _0xf7a8ce(_0x545a8a,_0x17533f||0x191,_0x376031,_0x550212);this[_0x3c8e20(0x258)](_0x452168,_0x207ab3,_0x462ca8,_0x2b532e,_0x545a8a,_0x11b185,_0x15758f);});return;}if(!this[_0x31bf11(0x140)][_0x31bf11(0x1fd)](_0x415a59))return _0xf7a8ce(_0x545a8a,0x191);}this['completeUpgrade'](_0x452168,_0x207ab3,_0x462ca8,_0x2b532e,_0x545a8a,_0x11b185,_0x15758f);}[_0x48ed77(0x258)](_0x1367f3,_0x4d8341,_0x533c07,_0x6f80d0,_0x1fa2ae,_0x3bc3f4,_0x320220){const _0x54aa97=_0x48ed77;if(!_0x1fa2ae[_0x54aa97(0x2ab)]||!_0x1fa2ae['writable'])return _0x1fa2ae['destroy']();if(_0x1fa2ae[_0x585f05])throw new Error(_0x54aa97(0x200));if(this[_0x54aa97(0x130)]>_0x20a668)return _0xf7a8ce(_0x1fa2ae,0x1f7);const _0x455b3c=[_0x54aa97(0x28c),_0x54aa97(0x157),_0x54aa97(0x25c),_0x54aa97(0x175)+_0x1aeda(_0x54aa97(0x23e))['update'](_0x4d8341+_0x28ddc5)['digest'](_0x54aa97(0x143))],_0x1bdafa=new this[(_0x54aa97(0x140))][(_0x54aa97(0x297))](null,void 0x0,this[_0x54aa97(0x140)]);if(_0x533c07[_0x54aa97(0x178)]){const _0x4e25fe=this['options'][_0x54aa97(0x28f)]?this[_0x54aa97(0x140)][_0x54aa97(0x28f)](_0x533c07,_0x6f80d0):_0x533c07[_0x54aa97(0x293)]()[_0x54aa97(0x129)]()[_0x54aa97(0x1f4)];_0x4e25fe&&(_0x455b3c[_0x54aa97(0x1e8)](_0x54aa97(0x21e)+_0x4e25fe),_0x1bdafa[_0x54aa97(0x269)]=_0x4e25fe);}if(_0x1367f3[_0xaabd67['extensionName']]){const _0x229c88=_0x1367f3[_0xaabd67['extensionName']]['params'],_0x50c655=_0x587e4f['format']({[_0xaabd67[_0x54aa97(0x26a)]]:[_0x229c88]});_0x455b3c[_0x54aa97(0x1e8)](_0x54aa97(0x214)+_0x50c655),_0x1bdafa[_0x54aa97(0x1d1)]=_0x1367f3;}this[_0x54aa97(0x21f)]('headers',_0x455b3c,_0x6f80d0),_0x1fa2ae[_0x54aa97(0x2a7)](_0x455b3c[_0x54aa97(0x23c)]('\x0d\x0a')[_0x54aa97(0x1ee)]('\x0d\x0a')),_0x1fa2ae[_0x54aa97(0x256)](_0x54aa97(0x282),_0x1c4282),_0x1bdafa[_0x54aa97(0x118)](_0x1fa2ae,_0x3bc3f4,{'allowSynchronousEvents':this[_0x54aa97(0x140)]['allowSynchronousEvents'],'maxPayload':this[_0x54aa97(0x140)][_0x54aa97(0x174)],'skipUTF8Validation':this['options'][_0x54aa97(0x13b)]}),this[_0x54aa97(0x136)]&&(this[_0x54aa97(0x136)][_0x54aa97(0x201)](_0x1bdafa),_0x1bdafa['on'](_0x54aa97(0x176),()=>{const _0x417263=_0x54aa97;this[_0x417263(0x136)][_0x417263(0x265)](_0x1bdafa),this['_shouldEmitClose']&&!this['clients'][_0x417263(0x178)]&&process[_0x417263(0x257)](_0x4d3fd3,this);})),_0x320220(_0x1bdafa,_0x6f80d0);}}Te=_0x54c028;function _0x2657f7(_0x28f34b,_0x34337c){const _0x1eae4a=_0x48ed77;for(const _0x176b3a of Object[_0x1eae4a(0x1d9)](_0x34337c))_0x28f34b['on'](_0x176b3a,_0x34337c[_0x176b3a]);return function(){for(const _0x3c79ec of Object['keys'](_0x34337c))_0x28f34b['removeListener'](_0x3c79ec,_0x34337c[_0x3c79ec]);};}function _0x4d3fd3(_0x1fdf77){const _0x4cebd5=_0x48ed77;_0x1fdf77[_0x4cebd5(0x130)]=_0x68217b,_0x1fdf77[_0x4cebd5(0x21f)](_0x4cebd5(0x176));}function _0x1c4282(){this['destroy']();}function _0xf7a8ce(_0x188e23,_0x2457bf,_0x412962,_0x1b31ac){const _0x367ef6=_0x48ed77;_0x412962=_0x412962||_0x39d5d9['STATUS_CODES'][_0x2457bf],_0x1b31ac={'Connection':_0x367ef6(0x176),'Content-Type':_0x367ef6(0x21c),'Content-Length':Buffer[_0x367ef6(0x146)](_0x412962),..._0x1b31ac},_0x188e23[_0x367ef6(0x20e)](_0x367ef6(0x2b2),_0x188e23['destroy']),_0x188e23[_0x367ef6(0x1d7)](_0x367ef6(0x14c)+_0x2457bf+'\x20'+_0x39d5d9[_0x367ef6(0x11a)][_0x2457bf]+'\x0d\x0a'+Object[_0x367ef6(0x1d9)](_0x1b31ac)[_0x367ef6(0x208)](_0x92b2b1=>_0x92b2b1+':\x20'+_0x1b31ac[_0x92b2b1])[_0x367ef6(0x1ee)]('\x0d\x0a')+_0x367ef6(0x14f)+_0x412962);}function _0x22eae0(_0x1b98c2,_0x4d96c5,_0x63d034,_0x378750,_0x39cf06,_0x2e5c74){const _0x7ad6b5=_0x48ed77;if(_0x1b98c2['listenerCount'](_0x7ad6b5(0x2b0))){const _0xf5dfde=new Error(_0x39cf06);Error['captureStackTrace'](_0xf5dfde,_0x22eae0),_0x1b98c2[_0x7ad6b5(0x21f)](_0x7ad6b5(0x2b0),_0xf5dfde,_0x63d034,_0x4d96c5);}else _0xf7a8ce(_0x63d034,_0x378750,_0x39cf06,_0x2e5c74);}return Te;}er();var tr=Object[_0x30ac41(0x1aa)],rr=(_0x1bfdc9,_0x12e284,_0x28abbe,_0x1d3f78)=>{for(var _0x523499=_0x1d3f78>0x1?void 0x0:_0x1d3f78?tr(_0x12e284,_0x28abbe):_0x12e284,_0x10665b=_0x1bfdc9['length']-0x1,_0x2b3e4f;_0x10665b>=0x0;_0x10665b--)(_0x2b3e4f=_0x1bfdc9[_0x10665b])&&(_0x523499=_0x2b3e4f(_0x523499)||_0x523499);return _0x523499;},sr=(_0x34d92c,_0x4b28ff)=>(_0x1d9a91,_0x166187)=>_0x4b28ff(_0x1d9a91,_0x166187,_0x34d92c);let Ne=class extends _0x435266{constructor(_0x26e6bc){const _0x5bc487=_0x30ac41;super(),this[_0x5bc487(0x124)]=_0x26e6bc;}[_0x30ac41(0x1af)](_0x3094f0){const _0x36b329=_0x30ac41;var _0x179f5d;const _0x4fe496=(_0x179f5d=this['_configService']['getConfig'](Be))==null?void 0x0:_0x179f5d[_0x36b329(0x268)];try{const _0x2202f9=new Qt(_0x3094f0,{'headers':{..._0x4fe496}}),_0x4e6c10=new _0x3a07f7();return{'URL':_0x3094f0,'close':(_0x4622fe,_0x4017ce)=>{const _0x58d522=_0x36b329;_0x2202f9['close'](_0x4622fe,_0x4017ce),_0x4e6c10[_0x58d522(0x1bc)]();},'send':_0x18b325=>{const _0x58e6b3=_0x36b329;_0x2202f9[_0x58e6b3(0x147)](_0x18b325);},'open$':new _0x132193(_0x7c3dd6=>{const _0x49bbe7=_0x36b329,_0x4854b3=_0x123784=>_0x7c3dd6['next'](_0x123784);_0x2202f9[_0x49bbe7(0x231)](_0x49bbe7(0x1ae),_0x4854b3),_0x4e6c10[_0x49bbe7(0x201)](_0x3f9c9f(()=>_0x2202f9[_0x49bbe7(0x13c)](_0x49bbe7(0x1ae),_0x4854b3)));})['pipe'](_0x191fc5()),'close$':new _0x132193(_0x1ac30e=>{const _0x5f08a2=_0x36b329,_0x26a7a4=_0x4764e0=>_0x1ac30e[_0x5f08a2(0x129)](_0x4764e0);_0x2202f9[_0x5f08a2(0x231)](_0x5f08a2(0x176),_0x26a7a4),_0x4e6c10['add'](_0x3f9c9f(()=>_0x2202f9['removeEventListener'](_0x5f08a2(0x176),_0x26a7a4)));})['pipe'](_0x191fc5()),'error$':new _0x132193(_0xa904ab=>{const _0x7069e7=_0x36b329,_0x39d696=_0x3cecaa=>_0xa904ab[_0x7069e7(0x129)](_0x3cecaa);_0x2202f9[_0x7069e7(0x231)]('error',_0x39d696),_0x4e6c10[_0x7069e7(0x201)](_0x3f9c9f(()=>_0x2202f9['removeEventListener'](_0x7069e7(0x282),_0x39d696)));})['pipe'](_0x191fc5()),'message$':new _0x132193(_0x30a86d=>{const _0x590ac8=_0x36b329,_0x3b40b8=_0x31f703=>_0x30a86d[_0x590ac8(0x129)](_0x31f703);_0x2202f9[_0x590ac8(0x231)](_0x590ac8(0x1ce),_0x3b40b8),_0x4e6c10[_0x590ac8(0x201)](_0x3f9c9f(()=>_0x2202f9[_0x590ac8(0x13c)](_0x590ac8(0x1ce),_0x3b40b8)));})['pipe'](_0x191fc5())};}catch(_0x2ab971){return console[_0x36b329(0x282)](_0x2ab971),null;}}};function _0x5e6a(_0x4ce974,_0x459868){const _0x40f2c5=_0x40f2();return _0x5e6a=function(_0x5e6a3d,_0x3bf5ce){_0x5e6a3d=_0x5e6a3d-0x10e;let _0x210857=_0x40f2c5[_0x5e6a3d];return _0x210857;},_0x5e6a(_0x4ce974,_0x459868);}Ne=rr([sr(0x0,_0x16af89)],Ne);function _0x40f2(){const _0x2c2a57=['_doCreateSocket','GET','invalid\x20opcode\x20','sendFrame','error','writeHead','_masked','method','_fin','has','indexOf','_paused','invalid\x20status\x20code\x20','3281328uhZoVA','HTTP/1.1\x20101\x20Switching\x20Protocols','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','CLOSING','handleProtocols','kType','getPayloadLength64','pluginName','values','_read','autoPong','toLowerCase','WebSocket','handshakeTimeout','Module','set','nodebuffer','clientNoContextTakeover','maskBuffer','onopen','FIN\x20must\x20be\x20set','alloc','port','create','needDrain','_registerDependencies','pathname','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','write','object','isView','kTarget','readable','_maxPayload','_buffers','href','Invalid\x20URL:\x20','wsClientError','then','finish','\x22\x20subprotocol\x20is\x20duplicated','bind','\x22\x20must\x20have\x20only\x20a\x20single\x20value','Max\x20payload\x20size\x20exceeded','encrypted','WS_NO_UTF_8_VALIDATE','callback','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','fin','toString','Invalid\x20Sec-WebSocket-Extensions\x20header','fragments','startLoop','cork','Unexpected\x20server\x20response:\x20','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','_firstFragment','_totalPayloadLength','pow','setSocket','Invalid\x20WebSocket\x20frame:\x20','STATUS_CODES','_allowSynchronousEvents','consume','Opening\x20handshake\x20has\x20timed\x20out','dispatch','protocolVersion','_readableState','invalid\x20UTF-8\x20sequence','The\x20server\x20is\x20not\x20running','allowSynchronousEvents','_configService','location','timeout','_bufferedAmount','clientMaxWindowBits','next','pong','client_no_context_takeover','_decompress','decompress','_req','conclude','_state','wss:','_no_context_takeover','20653398qlDbWa','The\x20URL\x20contains\x20a\x20fragment\x20identifier','_httpService','clients','isIP','Invalid\x20HTTP\x20method','_messageLength','listenerCount','skipUTF8Validation','removeEventListener','ws:','sec-websocket-extensions','WS_ERR_EXPECTED_MASK','options','host','slice','base64','headers','_closeTimer','byteLength','send','flush','stream','status-code','hostname','HTTP/1.1\x20','Z_DEFAULT_WINDOWBITS','WS_NO_BUFFER_UTIL','\x0d\x0a\x0d\x0a','errorEmitted','listening','sec-websocket-protocol','freeze','shift','pending','RSV1\x20must\x20be\x20clear','Upgrade:\x20websocket','_compress','readUInt16BE','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','origin','_originalHostOrSocketPath','auth','invalid\x20payload\x20length\x20','_autoPong','uncork','hasOwnProperty','_closeFrameReceived','_fragments','statusCode','binaryType','default','exports','onStarting','byteOffset','websocket','data','params','6841660EHcJxq','Sec-WebSocket-Extensions','createConnection','_skipUTF8Validation','kByteLength','threshold','_fragmented','maxPayload','Sec-WebSocket-Accept:\x20','close','Unsupported\x20protocol\x20version:\x20','size','_originalSecure','handleUpgrade','hash','frame','warn','handleEvent','allocUnsafe','WS_ERR_UNEXPECTED_RSV_2_3','http:','serverMaxWindowBits','getBlobData','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','extensions','_isServer','backlog','writeUInt16BE','forEach','readUInt32BE','readOnly','noServer','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','_compressed','server_no_context_takeover','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','jobs','onmessage','_url','MASK\x20must\x20be\x20set','_binaryType','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','enqueue','_generateMask','kData','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','isPaused','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','setNoDelay','ping','split','construct','total-length','client_max_window_bits','servername','kMessage','opcode','permessage-deflate','kError','server_max_window_bits','_maskBuffer','getOwnPropertyDescriptor','\x22:\x20','kListener','maxRedirects','open','createSocket','catch','sec-websocket-accept','buffer','10oSAJJr','getInfo','get','\x20(supported\x20versions:\x20','_receiver','species','_final','356368PUkRVG','Parameter\x20\x22','dispose','_removeListeners','Server\x20sent\x20an\x20invalid\x20subprotocol','protocol','_readyState','followRedirects','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','haveLength','server','getData','accept','WS_ERR_UNEXPECTED_RSV_1','length','wasClean','defaultPort','_deflate','4025056WdhJaZ','generateMask','message','serverNoContextTakeover','_server','_extensions','WS_ERR_INVALID_OPCODE','writeUIntBE','zlibInflateOptions','update','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','end','resume','keys','authorization','test','acceptAsServer','Unexpected\x20end\x20of\x20input','_writableState','isArray','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','terminate','_closeCode','emitClose','acceptAsClient','kRun','Invalid\x20Sec-WebSocket-Accept\x20header','_socket','push','includes','_originalIpc','_queue','blob','startsWith','join','_redirects','abort','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','entries','_threshold','value','isBuffer','createError','reset','client','dequeue','_inflate','_payloadLength','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','verifyClient','function','sec-websocket-origin','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','add','_shouldEmitClose','Basic\x20','kAborted','_bufferedBytes','apply','normalizeParams','map','connection','target','_errorEmitted','password','destroyed','once','Invalid\x20Upgrade\x20header','redirect','clientTracking','perMessageDeflate','endEmitted','Sec-WebSocket-Extensions:\x20','kWasClean','__esModule','_errored','parse','WS_ERR_INVALID_UTF8','text/plain','WS_ERR_EXPECTED_FIN','text/html','71515PmmWDc','Sec-WebSocket-Protocol:\x20','emit','_mask','_opcode','readyState','from','offer','Unexpected\x20character\x20at\x20index\x20','pause','url','toStringTag','request','address','onclose','cleanup','isValidUTF8','isInteger','replace','kReason','addEventListener','Unknown\x20parameter\x20\x22','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','_write','mask','cookie','number','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','Invalid\x20value\x20for\x20parameter\x20\x22','finishRequest','OPEN','concat','defineProperty','sha1','_options','Sec-WebSocket-Origin','socket','_closeFrameSent','8226442FnXDcz','unmask','ws+unix:','_sender','https:','prototype','upgrade','setTimeout','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','onerror','connect','reason','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','The\x20\x22','destroy','arrayBuffer','registerHTTPInterceptor','Z_SYNC_FLUSH','socketPath','removeListener','nextTick','completeUpgrade','authorized','setConfig','_loop','Connection:\x20Upgrade','sec-websocket-key','bufferedAmount','getPayloadLength16','call','listeners','compress','listen','concurrency','delete','charCodeAt','path','customHeaders','_protocol','extensionName','kIsForOnEventAttribute','code','arraybuffer','env','type','The\x20URL\x27s\x20pathname\x20is\x20empty','dataMessage','shouldHandle','6rSrWmr','username','string','CONNECTING','_closeMessage','Origin','Maximum\x20redirects\x20exceeded','invalid\x20opcode\x200','_max_window_bits','finished','CLOSED'];_0x40f2=function(){return _0x2c2a57;};return _0x40f2();}var ir=Object[_0x30ac41(0x23d)],nr=Object[_0x30ac41(0x1aa)],or=(_0x42623a,_0x1a3642,_0x1a6e9b)=>_0x1a3642 in _0x42623a?ir(_0x42623a,_0x1a3642,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1a6e9b}):_0x42623a[_0x1a3642]=_0x1a6e9b,ar=(_0x138483,_0xaee5f2,_0x17dec4,_0x507862)=>{const _0x2196fd=_0x30ac41;for(var _0x3ea677=_0x507862>0x1?void 0x0:_0x507862?nr(_0xaee5f2,_0x17dec4):_0xaee5f2,_0x5c2912=_0x138483[_0x2196fd(0x1c8)]-0x1,_0x4088cf;_0x5c2912>=0x0;_0x5c2912--)(_0x4088cf=_0x138483[_0x5c2912])&&(_0x3ea677=_0x4088cf(_0x3ea677)||_0x3ea677);return _0x3ea677;},ke=(_0x68183b,_0x1389e4)=>(_0x146655,_0x74be5c)=>_0x1389e4(_0x146655,_0x74be5c,_0x68183b),lr=(_0x5fc87b,_0x29e970,_0xe623cd)=>or(_0x5fc87b,_0x29e970+'',_0xe623cd);let Pe=class extends _0x1b0df8{constructor(_0x1b8294=Ft,_0x3a5df2,_0x11a669,_0x45ae96){const _0x478644=_0x30ac41;_0x1b8294['customHeaders']||_0x3a5df2[_0x478644(0x17d)](_0x478644(0x1e0)),super(),this[_0x478644(0x124)]=_0x11a669,this['_injector']=_0x45ae96,this[_0x478644(0x124)][_0x478644(0x25a)](Be,_0x1b8294);}[_0x30ac41(0x168)](){const _0x2d414f=_0x30ac41;this[_0x2d414f(0x2a4)]();}[_0x30ac41(0x2a4)](){_0x16f5d4(this['_injector'],[[_0x55092e,{'useClass':Ne}]]);}};lr(Pe,_0x30ac41(0x292),_0x30ac41(0x1d6)),Pe=ar([_0x25a47d(_0x1e6b59),ke(0x1,_0x58f3f8),ke(0x2,_0x16af89),ke(0x3,_0x339055(_0xd1cfba))],Pe);var fr=Object[_0x30ac41(0x1aa)],cr=(_0x1003d8,_0x2671b9,_0x1a8fde,_0x538901)=>{const _0x59c044=_0x30ac41;for(var _0x385d8f=_0x538901>0x1?void 0x0:_0x538901?fr(_0x2671b9,_0x1a8fde):_0x2671b9,_0x3f43d5=_0x1003d8[_0x59c044(0x1c8)]-0x1,_0x2a0845;_0x3f43d5>=0x0;_0x3f43d5--)(_0x2a0845=_0x1003d8[_0x3f43d5])&&(_0x385d8f=_0x2a0845(_0x385d8f)||_0x385d8f);return _0x385d8f;},se=(_0x2f94ba,_0x44489f)=>(_0x4560eb,_0x4dc969)=>_0x44489f(_0x4560eb,_0x4dc969,_0x2f94ba);let at=class extends _0xe5bb53{constructor(_0x225209,_0x47508f,_0x4c72cb,_0x1d6e92,_0x4c86b0){const _0x5ea045=_0x30ac41;super(_0x225209,_0x47508f,_0x4c72cb,_0x1d6e92,_0x4c86b0);const _0x2cbed1=this[_0x5ea045(0x124)]['getConfig'](Be);this[_0x5ea045(0x135)][_0x5ea045(0x253)]({'interceptor':(_0x544525,_0x1c7b21)=>{const _0x4384ed=_0x5ea045;var _0x2c3815;const _0x49aa1b=_0x544525[_0x4384ed(0x144)];return(_0x2c3815=_0x2cbed1==null?void 0x0:_0x2cbed1[_0x4384ed(0x268)])!=null&&_0x2c3815[_0x4384ed(0x236)]&&_0x49aa1b[_0x4384ed(0x29a)]('Cookie',_0x2cbed1[_0x4384ed(0x268)][_0x4384ed(0x236)]),_0x1c7b21(_0x544525);}});}async[_0x30ac41(0x1af)](_0x3e1d8b){const _0x5b0af4=_0x30ac41;return this[_0x5b0af4(0x27e)](_0x3e1d8b);}};at=cr([se(0x0,_0x339055(_0xd1cfba)),se(0x1,_0x339055(_0x19fc8d)),se(0x2,_0x16af89),se(0x3,_0x58f3f8),se(0x4,_0x11282b)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
1
+ const _0x354711=_0x508b;(function(_0x196927,_0x466d38){const _0x88aa7c=_0x508b,_0x319cd8=_0x196927();while(!![]){try{const _0x53b818=parseInt(_0x88aa7c(0x1a1))/0x1*(parseInt(_0x88aa7c(0x1a4))/0x2)+-parseInt(_0x88aa7c(0x2ae))/0x3*(parseInt(_0x88aa7c(0x1fc))/0x4)+-parseInt(_0x88aa7c(0x228))/0x5+-parseInt(_0x88aa7c(0x1ca))/0x6*(-parseInt(_0x88aa7c(0x322))/0x7)+parseInt(_0x88aa7c(0x2dc))/0x8*(parseInt(_0x88aa7c(0x2fd))/0x9)+parseInt(_0x88aa7c(0x1d5))/0xa+-parseInt(_0x88aa7c(0x208))/0xb;if(_0x53b818===_0x466d38)break;else _0x319cd8['push'](_0x319cd8['shift']());}catch(_0x20b532){_0x319cd8['push'](_0x319cd8['shift']());}}}(_0x3a4c,0xbfae7));import{UniverCollaborationClientPlugin as _0x11f551,CollaborationSocketService as _0x1152c3}from'@univerjs-pro/collaboration-client';import{Disposable as _0x5b22e9,DisposableCollection as _0x180089,toDisposable as _0x35541a,IConfigService as _0xfe82ca,DependentOn as _0x32f0b5,ILogService as _0x334909,Inject as _0x2ce7ba,Injector as _0x72b2eb,Plugin as _0x41de3f,registerDependencies as _0x116285}from'@univerjs/core';import{ISocketService as _0x503ed7,HTTPService as _0x595241}from'@univerjs/network';import{Observable as _0x285b15,share as _0x2ef6e4}from'rxjs';import _0x2d9a8c from'events';import _0xde752b from'https';import _0x48a5e1 from'http';import _0x6b9aea from'net';import _0x2f8d45 from'tls';import _0x997d7e from'crypto';import _0x201f56 from'stream';function _0x3a4c(){const _0x2a15c2=['blob','_socket','server_max_window_bits','href','pathname','Maximum\x20redirects\x20exceeded','acceptAsClient','writeHead','wss:','FIN\x20must\x20be\x20set','handleProtocols','autoPong','getBlobData','58396ehmfNT','_no_context_takeover','_server','has','Opening\x20handshake\x20has\x20timed\x20out','createServer','getMask','handleEvent','object','kTarget','WS_ERR_EXPECTED_FIN','isArray','12500796vorKZU','hasOwnProperty','add','Unsupported\x20protocol\x20version:\x20','server','nextTick','end','warn','_deflate','_sender','getPayloadLength16','emitClose','pause','setTimeout','arrayBuffer','push','_buffers','_injector','readyState','isServer','connection','createSocket','pong','getConfig','write','OPEN','slice','origin','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','statusCode','sec-websocket-protocol','once','7537565YtPdNY','getInfo','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','username','Cookie','_fin','ws:','construct','host','_compress','RSV1\x20must\x20be\x20clear','_closeFrameReceived','_write','invalid\x20opcode\x20','fragments','_closeTimer','bind','timeout','_fragments','_maxPayload','get','allocUnsafe','_masked','dispose','indexOf','zlibInflateOptions','kWasClean','_isServer','create','servername','createConnection','pluginName','setNoDelay','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','toStringTag','extensions','hash','type','arraybuffer','pow','setSocket','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','serverNoContextTakeover','_readyState','values','The\x20\x22','_max_window_bits','close','_state','params','wsClientError','isValidUTF8','read','_originalHostOrSocketPath','text/plain','port','authorized','controlMessage','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','MASK\x20must\x20be\x20set','backlog','startLoop','removeEventListener','_queue','hostname','number','\x20(supported\x20versions:\x20','string','13,\x208','then','haveLength','reason','_mask','resume','_fragmented','nodebuffer','cleanup','createDeflateRaw','Upgrade','mask','maxRedirects','HTTP/1.1\x20','setConfig','emit','server_no_context_takeover','_final','Server\x20sent\x20no\x20subprotocol','options','_allowSynchronousEvents','password','data','zlibDeflateOptions','send','client','Sec-WebSocket-Origin','perMessageDeflate','_decompress','keys','_configService','next','decompress','Sec-WebSocket-Protocol:\x20','_autoPong','WS_ERR_UNEXPECTED_MASK','dequeue','_maskBuffer','dataMessage','set','ping','onerror','client_max_window_bits','_messageLength','kIsForOnEventAttribute','byteLength','CLOSED','_payloadLength','WS_NO_UTF_8_VALIDATE','sec-websocket-key','authorization','needDrain','onclose','concat','Max\x20payload\x20size\x20exceeded','kAborted','File','buffer','status-code','threshold','_opcode','unexpected-response','getOwnPropertyDescriptor','_originalSecure','_registerDependencies','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','312ELkiAT','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','Module','completeUpgrade','socket','_binaryType','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','offer','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','removeAllListeners','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','handleUpgrade','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','_inflate','extensionName','__esModule','Z_DEFAULT_WINDOWBITS','auth','prototype','join','Invalid\x20Sec-WebSocket-Accept\x20header','shift','value','STATUS_CODES','WS_ERR_EXPECTED_MASK','getPayloadLength64','\x22\x20subprotocol\x20is\x20duplicated','url','species','cookie','method','pipe','update','http:','The\x20URL\x27s\x20pathname\x20is\x20empty','client_no_context_takeover','skipUTF8Validation','replace','_errorEmitted','location','_removeListeners','_protocol','writeUInt16BE','path','base64','verifyClient','24yBmreY','redirect','Unknown\x20parameter\x20\x22','Invalid\x20HTTP\x20method','permessage-deflate','clientNoContextTakeover','normalizeParams','_writableState','captureStackTrace','CLOSING','customHeaders','handshakeTimeout','noServer','invalid\x20UTF-8\x20sequence','_loop','GET','Invalid\x20value\x20for\x20parameter\x20\x22','defaultPort','from','function','length','maxPayload','concurrency','removeListener','code','map','_shouldEmitClose','readOnly','flush','toString','_paused','finish','message','3699117OuzpXq','_originalIpc','addEventListener','kCode','listening','generateMask','_generateMask','MASK\x20must\x20be\x20clear','maskBuffer','consume','protocolVersion','Upgrade:\x20websocket','protocol','dispatch','_closeFrameSent','finishRequest','kRun','byteOffset','_threshold','catch','destroy','onopen','Unexpected\x20server\x20response:\x20','listen','constructor','_closeCode','listeners','clients','uncork','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','readUInt32BE','Origin','abort','_closeMessage','invalid\x20payload\x20length\x20','forEach','Sec-WebSocket-Extensions:\x20','1616769NCCmyC','listenerCount','conclude','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','setHeader','call','binaryType','upgrade','target','_options','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','toLowerCase','WS_NO_BUFFER_UTIL','alloc','Invalid\x20Upgrade\x20header','WS_ERR_INVALID_OPCODE','includes','_readableState','endEmitted','_bufferedAmount','drain','_url','sha1','clientMaxWindowBits','getData','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','createError','WS_ERR_INVALID_UTF8','size','accept','_skipUTF8Validation','sec-websocket-version','env','followRedirects','default','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','isPaused','apply','87rLInfM','socketPath','enqueue','28922luzWSp','CONNECTING','_compressed','_extensions','opcode','frame','Unexpected\x20end\x20of\x20input','\x0d\x0a\x0d\x0a','connect','HTTP/1.1\x20101\x20Switching\x20Protocols','isInteger','errorEmitted','headers','jobs','exports','_errored','kReason','onmessage','_bufferedBytes','buffers','collaboration-client-node.config','\x22:\x20','kMessage','delete','bufferedAmount','reset','wasClean','The\x20server\x20is\x20not\x20running','Invalid\x20URL:\x20','open','_req','serverMaxWindowBits','Invalid\x20Sec-WebSocket-Extensions\x20header','destroyed','request','freeze','address','concurrencyLimit','30PISzIs','charCodeAt','isIP','WS_ERR_UNEXPECTED_RSV_1','_doCreateSocket','error','Z_SYNC_FLUSH','shouldHandle','websocket','kType','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','13013910gIvhPO','_firstFragment','Sec-WebSocket-Accept:\x20','allowSynchronousEvents','parse','Unexpected\x20character\x20at\x20index\x20','_totalPayloadLength','fin','compress','WS_ERR_INVALID_CLOSE_CODE','_receiver','defineProperty','search','https:','_redirects','sec-websocket-extensions','Connection:\x20Upgrade','createInflateRaw','format','finished','test','terminate','readUInt16BE','pending','sendFrame','writeUIntBE'];_0x3a4c=function(){return _0x2a15c2;};return _0x3a4c();}import _0x29ec2d from'url';import _0x3865d4 from'zlib';import _0x49e4c6 from'buffer';import{ISnapshotServerService as _0x2fa27a}from'@univerjs-pro/collaboration';const Be=_0x354711(0x1b8),Ft={'customHeaders':{}};function Wt(_0x2f4c6f){const _0x2467eb=_0x354711;return _0x2f4c6f&&_0x2f4c6f[_0x2467eb(0x2bd)]&&Object[_0x2467eb(0x2c0)]['hasOwnProperty'][_0x2467eb(0x327)](_0x2f4c6f,_0x2467eb(0x19d))?_0x2f4c6f['default']:_0x2f4c6f;}function ut(_0x5aebeb){const _0x1e1732=_0x354711;if(Object[_0x1e1732(0x2c0)][_0x1e1732(0x209)][_0x1e1732(0x327)](_0x5aebeb,_0x1e1732(0x2bd)))return _0x5aebeb;var _0x1592e8=_0x5aebeb[_0x1e1732(0x19d)];if(typeof _0x1592e8==_0x1e1732(0x2ef)){var _0x231d2b=function _0x72e78f(){const _0x4200d7=_0x1e1732;var _0x44d542=!0x1;try{_0x44d542=this instanceof _0x72e78f;}catch{}return _0x44d542?Reflect[_0x4200d7(0x22f)](_0x1592e8,arguments,this[_0x4200d7(0x315)]):_0x1592e8['apply'](this,arguments);};_0x231d2b[_0x1e1732(0x2c0)]=_0x1592e8['prototype'];}else _0x231d2b={};return Object[_0x1e1732(0x1e0)](_0x231d2b,_0x1e1732(0x2bd),{'value':!0x0}),Object[_0x1e1732(0x289)](_0x5aebeb)[_0x1e1732(0x320)](function(_0x1f918c){const _0x49db72=_0x1e1732;var _0x4d758b=Object[_0x49db72(0x2aa)](_0x5aebeb,_0x1f918c);Object[_0x49db72(0x1e0)](_0x231d2b,_0x1f918c,_0x4d758b[_0x49db72(0x23c)]?_0x4d758b:{'enumerable':!0x0,'get':function(){return _0x5aebeb[_0x1f918c];}});}),_0x231d2b;}var te={'exports':{}},ge,Ye;function V(){const _0x54aab8=_0x354711;if(Ye)return ge;Ye=0x1;const _0x3f87f3=[_0x54aab8(0x273),'arraybuffer',_0x54aab8(0x236)],_0x1b424f=typeof Blob<'u';return _0x1b424f&&_0x3f87f3[_0x54aab8(0x217)](_0x54aab8(0x1ef)),ge={'BINARY_TYPES':_0x3f87f3,'EMPTY_BUFFER':Buffer[_0x54aab8(0x32f)](0x0),'GUID':_0x54aab8(0x224),'hasBlob':_0x1b424f,'kForOnEventAttribute':Symbol(_0x54aab8(0x298)),'kListener':Symbol('kListener'),'kStatusCode':Symbol(_0x54aab8(0x2a6)),'kWebSocket':Symbol(_0x54aab8(0x1d2)),'NOOP':()=>{}},ge;}const jt={},Gt=Object[_0x354711(0x1c7)](Object['defineProperty']({'__proto__':null,'default':jt},Symbol[_0x354711(0x24a)],{'value':'Module'})),Vt=ut(Gt);var Ke;function ce(){const _0x389983=_0x354711;if(Ke)return te[_0x389983(0x1b2)];Ke=0x1;const {EMPTY_BUFFER:_0x407984}=V(),_0x457a7c=Buffer[Symbol['species']];function _0x570ce3(_0xe95848,_0x23f8ea){const _0x53a997=_0x389983;if(_0xe95848[_0x53a997(0x2f0)]===0x0)return _0x407984;if(_0xe95848[_0x53a997(0x2f0)]===0x1)return _0xe95848[0x0];const _0x3e3a39=Buffer[_0x53a997(0x23d)](_0x23f8ea);let _0x45aa1c=0x0;for(let _0x5d8d49=0x0;_0x5d8d49<_0xe95848['length'];_0x5d8d49++){const _0x48bef1=_0xe95848[_0x5d8d49];_0x3e3a39[_0x53a997(0x293)](_0x48bef1,_0x45aa1c),_0x45aa1c+=_0x48bef1[_0x53a997(0x2f0)];}return _0x45aa1c<_0x23f8ea?new _0x457a7c(_0x3e3a39['buffer'],_0x3e3a39[_0x53a997(0x30e)],_0x45aa1c):_0x3e3a39;}function _0x4437f4(_0x3a0ce1,_0x40ca51,_0xf56392,_0x206d86,_0xf5c299){for(let _0xc4794b=0x0;_0xc4794b<_0xf5c299;_0xc4794b++)_0xf56392[_0x206d86+_0xc4794b]=_0x3a0ce1[_0xc4794b]^_0x40ca51[_0xc4794b&0x3];}function _0x478fdb(_0x33e8f9,_0x1e7d47){const _0x526547=_0x389983;for(let _0x8b3a0a=0x0;_0x8b3a0a<_0x33e8f9[_0x526547(0x2f0)];_0x8b3a0a++)_0x33e8f9[_0x8b3a0a]^=_0x1e7d47[_0x8b3a0a&0x3];}function _0x4f6d6f(_0x1e15b2){const _0xd9822=_0x389983;return _0x1e15b2[_0xd9822(0x2f0)]===_0x1e15b2[_0xd9822(0x2a5)]['byteLength']?_0x1e15b2[_0xd9822(0x2a5)]:_0x1e15b2[_0xd9822(0x2a5)][_0xd9822(0x222)](_0x1e15b2[_0xd9822(0x30e)],_0x1e15b2[_0xd9822(0x30e)]+_0x1e15b2['length']);}function _0x4c8b49(_0x4bf5cf){const _0x4ddf3b=_0x389983;if(_0x4c8b49[_0x4ddf3b(0x2f7)]=!0x0,Buffer['isBuffer'](_0x4bf5cf))return _0x4bf5cf;let _0x54a15a;return _0x4bf5cf instanceof ArrayBuffer?_0x54a15a=new _0x457a7c(_0x4bf5cf):ArrayBuffer['isView'](_0x4bf5cf)?_0x54a15a=new _0x457a7c(_0x4bf5cf[_0x4ddf3b(0x2a5)],_0x4bf5cf[_0x4ddf3b(0x30e)],_0x4bf5cf[_0x4ddf3b(0x299)]):(_0x54a15a=Buffer[_0x4ddf3b(0x2ee)](_0x4bf5cf),_0x4c8b49[_0x4ddf3b(0x2f7)]=!0x1),_0x54a15a;}if(te[_0x389983(0x1b2)]={'concat':_0x570ce3,'mask':_0x4437f4,'toArrayBuffer':_0x4f6d6f,'toBuffer':_0x4c8b49,'unmask':_0x478fdb},!process[_0x389983(0x19b)][_0x389983(0x32e)])try{const _0x4901ee=Vt;te[_0x389983(0x1b2)][_0x389983(0x277)]=function(_0x1bfd2b,_0x5f1af4,_0xa7a375,_0x4f27da,_0x1aaa70){const _0x3fc5d0=_0x389983;_0x1aaa70<0x30?_0x4437f4(_0x1bfd2b,_0x5f1af4,_0xa7a375,_0x4f27da,_0x1aaa70):_0x4901ee[_0x3fc5d0(0x277)](_0x1bfd2b,_0x5f1af4,_0xa7a375,_0x4f27da,_0x1aaa70);},te['exports']['unmask']=function(_0x51c101,_0xda0505){const _0x4eb604=_0x389983;_0x51c101[_0x4eb604(0x2f0)]<0x20?_0x478fdb(_0x51c101,_0xda0505):_0x4901ee['unmask'](_0x51c101,_0xda0505);};}catch{}return te['exports'];}var ye,Xe;function qt(){const _0xcf75c4=_0x354711;if(Xe)return ye;Xe=0x1;const _0x4ca563=Symbol('kDone'),_0x5975b3=Symbol(_0xcf75c4(0x30d));class _0x5e65ef{constructor(_0x500452){const _0x5e9132=_0xcf75c4;this[_0x4ca563]=()=>{this['pending']--,this[_0x5975b3]();},this[_0x5e9132(0x2f2)]=_0x500452||0x1/0x0,this[_0x5e9132(0x1b1)]=[],this[_0x5e9132(0x1ec)]=0x0;}[_0xcf75c4(0x20a)](_0x2ade49){this['jobs']['push'](_0x2ade49),this[_0x5975b3]();}[_0x5975b3](){const _0x11fbd0=_0xcf75c4;if(this['pending']!==this['concurrency']&&this[_0x11fbd0(0x1b1)][_0x11fbd0(0x2f0)]){const _0x3c817e=this[_0x11fbd0(0x1b1)]['shift']();this[_0x11fbd0(0x1ec)]++,_0x3c817e(this[_0x4ca563]);}}}return ye=_0x5e65ef,ye;}var ve,Ze;function he(){const _0x3de608=_0x354711;if(Ze)return ve;Ze=0x1;const _0x3ab7a8=_0x3865d4,_0x32b085=ce(),_0x491919=qt(),{kStatusCode:_0x4b48c2}=V(),_0x5a04f2=Buffer[Symbol['species']],_0x1bdf50=Buffer[_0x3de608(0x2ee)]([0x0,0x0,0xff,0xff]),_0x853cf7=Symbol(_0x3de608(0x2e0)),_0x49c281=Symbol('total-length'),_0x156d18=Symbol('callback'),_0x30c130=Symbol(_0x3de608(0x1b7)),_0x1ff4b0=Symbol(_0x3de608(0x1cf));let _0x1ebf8d;class _0x53c8e1{constructor(_0x56a48d,_0xda2e2b,_0x20721c){const _0x34c793=_0x3de608;if(this[_0x34c793(0x23b)]=_0x20721c|0x0,this['_options']=_0x56a48d||{},this[_0x34c793(0x30f)]=this[_0x34c793(0x32b)]['threshold']!==void 0x0?this['_options'][_0x34c793(0x2a7)]:0x400,this[_0x34c793(0x243)]=!!_0xda2e2b,this['_deflate']=null,this[_0x34c793(0x2bb)]=null,this[_0x34c793(0x259)]=null,!_0x1ebf8d){const _0x47b57d=this[_0x34c793(0x32b)]['concurrencyLimit']!==void 0x0?this[_0x34c793(0x32b)][_0x34c793(0x1c9)]:0xa;_0x1ebf8d=new _0x491919(_0x47b57d);}}static get[_0x3de608(0x2bc)](){return'permessage-deflate';}[_0x3de608(0x2b5)](){const _0x524566=_0x3de608,_0x5220d9={};return this[_0x524566(0x32b)][_0x524566(0x252)]&&(_0x5220d9[_0x524566(0x27c)]=!0x0),this['_options'][_0x524566(0x2e1)]&&(_0x5220d9[_0x524566(0x2d1)]=!0x0),this[_0x524566(0x32b)]['serverMaxWindowBits']&&(_0x5220d9[_0x524566(0x1f1)]=this['_options']['serverMaxWindowBits']),this[_0x524566(0x32b)][_0x524566(0x339)]?_0x5220d9[_0x524566(0x296)]=this[_0x524566(0x32b)][_0x524566(0x339)]:this[_0x524566(0x32b)][_0x524566(0x339)]==null&&(_0x5220d9[_0x524566(0x296)]=!0x0),_0x5220d9;}[_0x3de608(0x33f)](_0x10a591){const _0x52968c=_0x3de608;return _0x10a591=this[_0x52968c(0x2e2)](_0x10a591),this['params']=this[_0x52968c(0x243)]?this['acceptAsServer'](_0x10a591):this[_0x52968c(0x1f5)](_0x10a591),this[_0x52968c(0x259)];}[_0x3de608(0x274)](){const _0x48e009=_0x3de608;if(this[_0x48e009(0x2bb)]&&(this[_0x48e009(0x2bb)][_0x48e009(0x257)](),this[_0x48e009(0x2bb)]=null),this[_0x48e009(0x210)]){const _0xb33edf=this[_0x48e009(0x210)][_0x156d18];this['_deflate'][_0x48e009(0x257)](),this[_0x48e009(0x210)]=null,_0xb33edf&&_0xb33edf(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}['acceptAsServer'](_0x4bdb9e){const _0x4eabe2=_0x3de608,_0x4d41d6=this[_0x4eabe2(0x32b)],_0x2d6fe4=_0x4bdb9e['find'](_0x5d3ba1=>!(_0x4d41d6[_0x4eabe2(0x252)]===!0x1&&_0x5d3ba1[_0x4eabe2(0x27c)]||_0x5d3ba1[_0x4eabe2(0x1f1)]&&(_0x4d41d6['serverMaxWindowBits']===!0x1||typeof _0x4d41d6[_0x4eabe2(0x1c3)]==_0x4eabe2(0x269)&&_0x4d41d6[_0x4eabe2(0x1c3)]>_0x5d3ba1['server_max_window_bits'])||typeof _0x4d41d6[_0x4eabe2(0x339)]==_0x4eabe2(0x269)&&!_0x5d3ba1[_0x4eabe2(0x296)]));if(!_0x2d6fe4)throw new Error(_0x4eabe2(0x325));return _0x4d41d6['serverNoContextTakeover']&&(_0x2d6fe4['server_no_context_takeover']=!0x0),_0x4d41d6[_0x4eabe2(0x2e1)]&&(_0x2d6fe4[_0x4eabe2(0x2d1)]=!0x0),typeof _0x4d41d6[_0x4eabe2(0x1c3)]==_0x4eabe2(0x269)&&(_0x2d6fe4['server_max_window_bits']=_0x4d41d6[_0x4eabe2(0x1c3)]),typeof _0x4d41d6[_0x4eabe2(0x339)]==_0x4eabe2(0x269)?_0x2d6fe4[_0x4eabe2(0x296)]=_0x4d41d6[_0x4eabe2(0x339)]:(_0x2d6fe4[_0x4eabe2(0x296)]===!0x0||_0x4d41d6[_0x4eabe2(0x339)]===!0x1)&&delete _0x2d6fe4[_0x4eabe2(0x296)],_0x2d6fe4;}[_0x3de608(0x1f5)](_0x5cd9ec){const _0xebdbe9=_0x3de608,_0x5a0a15=_0x5cd9ec[0x0];if(this[_0xebdbe9(0x32b)][_0xebdbe9(0x2e1)]===!0x1&&_0x5a0a15[_0xebdbe9(0x2d1)])throw new Error(_0xebdbe9(0x2b8));if(!_0x5a0a15['client_max_window_bits'])typeof this[_0xebdbe9(0x32b)]['clientMaxWindowBits']=='number'&&(_0x5a0a15[_0xebdbe9(0x296)]=this[_0xebdbe9(0x32b)][_0xebdbe9(0x339)]);else{if(this['_options'][_0xebdbe9(0x339)]===!0x1||typeof this[_0xebdbe9(0x32b)][_0xebdbe9(0x339)]==_0xebdbe9(0x269)&&_0x5a0a15[_0xebdbe9(0x296)]>this[_0xebdbe9(0x32b)]['clientMaxWindowBits'])throw new Error(_0xebdbe9(0x262));}return _0x5a0a15;}[_0x3de608(0x2e2)](_0x1cd7c3){return _0x1cd7c3['forEach'](_0x1edd1e=>{const _0xd226d1=_0x508b;Object[_0xd226d1(0x289)](_0x1edd1e)['forEach'](_0x13ae72=>{const _0x5278c7=_0xd226d1;let _0x3f124a=_0x1edd1e[_0x13ae72];if(_0x3f124a[_0x5278c7(0x2f0)]>0x1)throw new Error('Parameter\x20\x22'+_0x13ae72+'\x22\x20must\x20have\x20only\x20a\x20single\x20value');if(_0x3f124a=_0x3f124a[0x0],_0x13ae72===_0x5278c7(0x296)){if(_0x3f124a!==!0x0){const _0x1a5264=+_0x3f124a;if(!Number[_0x5278c7(0x1ae)](_0x1a5264)||_0x1a5264<0x8||_0x1a5264>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x13ae72+'\x22:\x20'+_0x3f124a);_0x3f124a=_0x1a5264;}else{if(!this[_0x5278c7(0x243)])throw new TypeError(_0x5278c7(0x2ec)+_0x13ae72+_0x5278c7(0x1b9)+_0x3f124a);}}else{if(_0x13ae72===_0x5278c7(0x1f1)){const _0x3e4266=+_0x3f124a;if(!Number[_0x5278c7(0x1ae)](_0x3e4266)||_0x3e4266<0x8||_0x3e4266>0xf)throw new TypeError(_0x5278c7(0x2ec)+_0x13ae72+'\x22:\x20'+_0x3f124a);_0x3f124a=_0x3e4266;}else{if(_0x13ae72===_0x5278c7(0x2d1)||_0x13ae72===_0x5278c7(0x27c)){if(_0x3f124a!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x13ae72+'\x22:\x20'+_0x3f124a);}else throw new Error(_0x5278c7(0x2de)+_0x13ae72+'\x22');}}_0x1edd1e[_0x13ae72]=_0x3f124a;});}),_0x1cd7c3;}['decompress'](_0x4be00d,_0x586607,_0x38a842){const _0x565fd5=_0x3de608;_0x1ebf8d[_0x565fd5(0x20a)](_0x3dbab4=>{const _0x24cf6e=_0x565fd5;this[_0x24cf6e(0x288)](_0x4be00d,_0x586607,(_0x10335a,_0x2eefe6)=>{_0x3dbab4(),_0x38a842(_0x10335a,_0x2eefe6);});});}[_0x3de608(0x1dd)](_0x3124ba,_0x1ea5c6,_0x238243){_0x1ebf8d['add'](_0xd2cd30=>{const _0x11b8a8=_0x508b;this[_0x11b8a8(0x231)](_0x3124ba,_0x1ea5c6,(_0x2ebb49,_0x434a00)=>{_0xd2cd30(),_0x238243(_0x2ebb49,_0x434a00);});});}[_0x3de608(0x288)](_0x2767c7,_0x43ea10,_0x14ecdb){const _0x34287d=_0x3de608,_0x23dcf2=this[_0x34287d(0x243)]?'client':_0x34287d(0x20c);if(!this[_0x34287d(0x2bb)]){const _0x4f8a51=_0x23dcf2+_0x34287d(0x256),_0x4eb179=typeof this[_0x34287d(0x259)][_0x4f8a51]!=_0x34287d(0x269)?_0x3ab7a8[_0x34287d(0x2be)]:this[_0x34287d(0x259)][_0x4f8a51];this[_0x34287d(0x2bb)]=_0x3ab7a8[_0x34287d(0x1e6)]({...this[_0x34287d(0x32b)][_0x34287d(0x241)],'windowBits':_0x4eb179}),this[_0x34287d(0x2bb)][_0x853cf7]=this,this[_0x34287d(0x2bb)][_0x49c281]=0x0,this[_0x34287d(0x2bb)][_0x30c130]=[],this[_0x34287d(0x2bb)]['on']('error',_0x5a221a),this['_inflate']['on'](_0x34287d(0x282),_0x23cd6f);}this['_inflate'][_0x156d18]=_0x14ecdb,this['_inflate'][_0x34287d(0x220)](_0x2767c7),_0x43ea10&&this['_inflate'][_0x34287d(0x220)](_0x1bdf50),this['_inflate']['flush'](()=>{const _0x58c04f=_0x34287d,_0x4e90e3=this[_0x58c04f(0x2bb)][_0x1ff4b0];if(_0x4e90e3){this['_inflate']['close'](),this[_0x58c04f(0x2bb)]=null,_0x14ecdb(_0x4e90e3);return;}const _0x103b19=_0x32b085[_0x58c04f(0x2a1)](this[_0x58c04f(0x2bb)][_0x30c130],this[_0x58c04f(0x2bb)][_0x49c281]);this[_0x58c04f(0x2bb)][_0x58c04f(0x333)]['endEmitted']?(this[_0x58c04f(0x2bb)][_0x58c04f(0x257)](),this['_inflate']=null):(this['_inflate'][_0x49c281]=0x0,this[_0x58c04f(0x2bb)][_0x30c130]=[],_0x43ea10&&this['params'][_0x23dcf2+_0x58c04f(0x1fd)]&&this['_inflate'][_0x58c04f(0x1bd)]()),_0x14ecdb(null,_0x103b19);});}[_0x3de608(0x231)](_0x1b4b43,_0x2e9610,_0x4159eb){const _0x2452c2=_0x3de608,_0x47c7b7=this[_0x2452c2(0x243)]?_0x2452c2(0x20c):_0x2452c2(0x285);if(!this[_0x2452c2(0x210)]){const _0x559177=_0x47c7b7+_0x2452c2(0x256),_0x31544c=typeof this[_0x2452c2(0x259)][_0x559177]!=_0x2452c2(0x269)?_0x3ab7a8[_0x2452c2(0x2be)]:this[_0x2452c2(0x259)][_0x559177];this['_deflate']=_0x3ab7a8[_0x2452c2(0x275)]({...this[_0x2452c2(0x32b)][_0x2452c2(0x283)],'windowBits':_0x31544c}),this[_0x2452c2(0x210)][_0x49c281]=0x0,this['_deflate'][_0x30c130]=[],this[_0x2452c2(0x210)]['on'](_0x2452c2(0x282),_0x196b42);}this[_0x2452c2(0x210)][_0x156d18]=_0x4159eb,this['_deflate']['write'](_0x1b4b43),this[_0x2452c2(0x210)][_0x2452c2(0x2f8)](_0x3ab7a8[_0x2452c2(0x1d0)],()=>{const _0x5c9e75=_0x2452c2;if(!this[_0x5c9e75(0x210)])return;let _0x3f1bd3=_0x32b085[_0x5c9e75(0x2a1)](this[_0x5c9e75(0x210)][_0x30c130],this[_0x5c9e75(0x210)][_0x49c281]);_0x2e9610&&(_0x3f1bd3=new _0x5a04f2(_0x3f1bd3[_0x5c9e75(0x2a5)],_0x3f1bd3[_0x5c9e75(0x30e)],_0x3f1bd3[_0x5c9e75(0x2f0)]-0x4)),this[_0x5c9e75(0x210)][_0x156d18]=null,this['_deflate'][_0x49c281]=0x0,this[_0x5c9e75(0x210)][_0x30c130]=[],_0x2e9610&&this[_0x5c9e75(0x259)][_0x47c7b7+_0x5c9e75(0x1fd)]&&this[_0x5c9e75(0x210)][_0x5c9e75(0x1bd)](),_0x4159eb(null,_0x3f1bd3);});}}ve=_0x53c8e1;function _0x196b42(_0x460465){const _0x1e9641=_0x3de608;this[_0x30c130][_0x1e9641(0x217)](_0x460465),this[_0x49c281]+=_0x460465[_0x1e9641(0x2f0)];}function _0x23cd6f(_0x3c203e){const _0x282e69=_0x3de608;if(this[_0x49c281]+=_0x3c203e['length'],this[_0x853cf7][_0x282e69(0x23b)]<0x1||this[_0x49c281]<=this[_0x853cf7]['_maxPayload']){this[_0x30c130][_0x282e69(0x217)](_0x3c203e);return;}this[_0x1ff4b0]=new RangeError(_0x282e69(0x2a2)),this[_0x1ff4b0]['code']=_0x282e69(0x1d4),this[_0x1ff4b0][_0x4b48c2]=0x3f1,this[_0x282e69(0x2f3)]('data',_0x23cd6f),this[_0x282e69(0x1bd)]();}function _0x5a221a(_0x4d30c4){const _0x5705f0=_0x3de608;if(this[_0x853cf7][_0x5705f0(0x2bb)]=null,this[_0x1ff4b0]){this[_0x156d18](this[_0x1ff4b0]);return;}_0x4d30c4[_0x4b48c2]=0x3ef,this[_0x156d18](_0x4d30c4);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x354711(0x1c7)](Object[_0x354711(0x1e0)]({'__proto__':null,'default':Ht},Symbol[_0x354711(0x24a)],{'value':_0x354711(0x2b0)})),Yt=ut(zt);var Qe;function ne(){const _0x52e564=_0x354711;if(Qe)return re['exports'];Qe=0x1;const {isUtf8:_0x41dbe3}=_0x49e4c6,{hasBlob:_0x2fad7d}=V(),_0x4ef1dd=[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 _0x5d648f(_0x13625b){return _0x13625b>=0x3e8&&_0x13625b<=0x3f6&&_0x13625b!==0x3ec&&_0x13625b!==0x3ed&&_0x13625b!==0x3ee||_0x13625b>=0xbb8&&_0x13625b<=0x1387;}function _0x184a90(_0x38857b){const _0x433e7a=_0x508b,_0x3de53a=_0x38857b[_0x433e7a(0x2f0)];let _0x89c069=0x0;for(;_0x89c069<_0x3de53a;)if((_0x38857b[_0x89c069]&0x80)===0x0)_0x89c069++;else{if((_0x38857b[_0x89c069]&0xe0)===0xc0){if(_0x89c069+0x1===_0x3de53a||(_0x38857b[_0x89c069+0x1]&0xc0)!==0x80||(_0x38857b[_0x89c069]&0xfe)===0xc0)return!0x1;_0x89c069+=0x2;}else{if((_0x38857b[_0x89c069]&0xf0)===0xe0){if(_0x89c069+0x2>=_0x3de53a||(_0x38857b[_0x89c069+0x1]&0xc0)!==0x80||(_0x38857b[_0x89c069+0x2]&0xc0)!==0x80||_0x38857b[_0x89c069]===0xe0&&(_0x38857b[_0x89c069+0x1]&0xe0)===0x80||_0x38857b[_0x89c069]===0xed&&(_0x38857b[_0x89c069+0x1]&0xe0)===0xa0)return!0x1;_0x89c069+=0x3;}else{if((_0x38857b[_0x89c069]&0xf8)===0xf0){if(_0x89c069+0x3>=_0x3de53a||(_0x38857b[_0x89c069+0x1]&0xc0)!==0x80||(_0x38857b[_0x89c069+0x2]&0xc0)!==0x80||(_0x38857b[_0x89c069+0x3]&0xc0)!==0x80||_0x38857b[_0x89c069]===0xf0&&(_0x38857b[_0x89c069+0x1]&0xf0)===0x80||_0x38857b[_0x89c069]===0xf4&&_0x38857b[_0x89c069+0x1]>0x8f||_0x38857b[_0x89c069]>0xf4)return!0x1;_0x89c069+=0x4;}else return!0x1;}}}return!0x0;}function _0x3511ae(_0x5812d1){const _0x23ede7=_0x508b;return _0x2fad7d&&typeof _0x5812d1==_0x23ede7(0x204)&&typeof _0x5812d1[_0x23ede7(0x216)]=='function'&&typeof _0x5812d1[_0x23ede7(0x24d)]==_0x23ede7(0x26b)&&typeof _0x5812d1['stream']==_0x23ede7(0x2ef)&&(_0x5812d1[Symbol['toStringTag']]==='Blob'||_0x5812d1[Symbol[_0x23ede7(0x24a)]]===_0x23ede7(0x2a4));}if(re[_0x52e564(0x1b2)]={'isBlob':_0x3511ae,'isValidStatusCode':_0x5d648f,'isValidUTF8':_0x184a90,'tokenChars':_0x4ef1dd},_0x41dbe3)re[_0x52e564(0x1b2)][_0x52e564(0x25b)]=function(_0x575b86){const _0x4215da=_0x52e564;return _0x575b86[_0x4215da(0x2f0)]<0x18?_0x184a90(_0x575b86):_0x41dbe3(_0x575b86);};else{if(!process[_0x52e564(0x19b)][_0x52e564(0x29c)])try{const _0x7b0c85=Yt;re[_0x52e564(0x1b2)][_0x52e564(0x25b)]=function(_0x2d6dac){const _0x6d7cd=_0x52e564;return _0x2d6dac[_0x6d7cd(0x2f0)]<0x20?_0x184a90(_0x2d6dac):_0x7b0c85(_0x2d6dac);};}catch{}}return re['exports'];}var Se,Je;function dt(){const _0x90c35e=_0x354711;if(Je)return Se;Je=0x1;const {Writable:_0xf516e1}=_0x201f56,_0x162be5=he(),{BINARY_TYPES:_0x5032a4,EMPTY_BUFFER:_0x4a7901,kStatusCode:_0x2e6b77,kWebSocket:_0x1513a2}=V(),{concat:_0x58ab61,toArrayBuffer:_0x3886be,unmask:_0xcba1ce}=ce(),{isValidStatusCode:_0x39df0a,isValidUTF8:_0x2be463}=ne(),_0x40e25d=Buffer[Symbol[_0x90c35e(0x2ca)]],_0x104259=0x0,_0x2e1ff7=0x1,_0x23ef42=0x2,_0x57812b=0x3,_0x450bc1=0x4,_0x502641=0x5,_0x2e651b=0x6;class _0x24b7c1 extends _0xf516e1{constructor(_0x166e54={}){const _0x482fbb=_0x90c35e;super(),this[_0x482fbb(0x280)]=_0x166e54[_0x482fbb(0x1d8)]!==void 0x0?_0x166e54[_0x482fbb(0x1d8)]:!0x0,this[_0x482fbb(0x2b3)]=_0x166e54[_0x482fbb(0x328)]||_0x5032a4[0x0],this[_0x482fbb(0x1a7)]=_0x166e54[_0x482fbb(0x24b)]||{},this[_0x482fbb(0x243)]=!!_0x166e54[_0x482fbb(0x21b)],this[_0x482fbb(0x23b)]=_0x166e54[_0x482fbb(0x2f1)]|0x0,this['_skipUTF8Validation']=!!_0x166e54[_0x482fbb(0x2d2)],this[_0x1513a2]=void 0x0,this[_0x482fbb(0x1b6)]=0x0,this['_buffers']=[],this[_0x482fbb(0x1a6)]=!0x1,this[_0x482fbb(0x29b)]=0x0,this['_mask']=void 0x0,this['_fragmented']=0x0,this[_0x482fbb(0x23e)]=!0x1,this['_fin']=!0x1,this['_opcode']=0x0,this[_0x482fbb(0x1db)]=0x0,this[_0x482fbb(0x297)]=0x0,this[_0x482fbb(0x23a)]=[],this[_0x482fbb(0x1b3)]=!0x1,this[_0x482fbb(0x2ea)]=!0x1,this[_0x482fbb(0x258)]=_0x104259;}[_0x90c35e(0x234)](_0x327cb3,_0x39da99,_0x51431d){const _0x3056d6=_0x90c35e;if(this[_0x3056d6(0x2a8)]===0x8&&this['_state']==_0x104259)return _0x51431d();this[_0x3056d6(0x1b6)]+=_0x327cb3[_0x3056d6(0x2f0)],this[_0x3056d6(0x218)][_0x3056d6(0x217)](_0x327cb3),this[_0x3056d6(0x265)](_0x51431d);}[_0x90c35e(0x306)](_0xaebd96){const _0x1cdcac=_0x90c35e;if(this[_0x1cdcac(0x1b6)]-=_0xaebd96,_0xaebd96===this[_0x1cdcac(0x218)][0x0][_0x1cdcac(0x2f0)])return this[_0x1cdcac(0x218)][_0x1cdcac(0x2c3)]();if(_0xaebd96<this[_0x1cdcac(0x218)][0x0]['length']){const _0x38d4a9=this['_buffers'][0x0];return this[_0x1cdcac(0x218)][0x0]=new _0x40e25d(_0x38d4a9[_0x1cdcac(0x2a5)],_0x38d4a9['byteOffset']+_0xaebd96,_0x38d4a9[_0x1cdcac(0x2f0)]-_0xaebd96),new _0x40e25d(_0x38d4a9[_0x1cdcac(0x2a5)],_0x38d4a9[_0x1cdcac(0x30e)],_0xaebd96);}const _0x2bb857=Buffer[_0x1cdcac(0x23d)](_0xaebd96);do{const _0x1d84c3=this['_buffers'][0x0],_0x94989d=_0x2bb857[_0x1cdcac(0x2f0)]-_0xaebd96;_0xaebd96>=_0x1d84c3['length']?_0x2bb857[_0x1cdcac(0x293)](this[_0x1cdcac(0x218)][_0x1cdcac(0x2c3)](),_0x94989d):(_0x2bb857[_0x1cdcac(0x293)](new Uint8Array(_0x1d84c3[_0x1cdcac(0x2a5)],_0x1d84c3[_0x1cdcac(0x30e)],_0xaebd96),_0x94989d),this[_0x1cdcac(0x218)][0x0]=new _0x40e25d(_0x1d84c3[_0x1cdcac(0x2a5)],_0x1d84c3[_0x1cdcac(0x30e)]+_0xaebd96,_0x1d84c3[_0x1cdcac(0x2f0)]-_0xaebd96)),_0xaebd96-=_0x1d84c3[_0x1cdcac(0x2f0)];}while(_0xaebd96>0x0);return _0x2bb857;}[_0x90c35e(0x265)](_0x9fc9cc){const _0x3c81e9=_0x90c35e;this['_loop']=!0x0;do switch(this['_state']){case _0x104259:this['getInfo'](_0x9fc9cc);break;case _0x2e1ff7:this[_0x3c81e9(0x212)](_0x9fc9cc);break;case _0x23ef42:this[_0x3c81e9(0x2c7)](_0x9fc9cc);break;case _0x57812b:this[_0x3c81e9(0x202)]();break;case _0x450bc1:this[_0x3c81e9(0x33a)](_0x9fc9cc);break;case _0x502641:case _0x2e651b:this[_0x3c81e9(0x2ea)]=!0x1;return;}while(this[_0x3c81e9(0x2ea)]);this[_0x3c81e9(0x1b3)]||_0x9fc9cc();}[_0x90c35e(0x229)](_0x3af2c3){const _0x14fa4b=_0x90c35e;if(this['_bufferedBytes']<0x2){this[_0x14fa4b(0x2ea)]=!0x1;return;}const _0x594b10=this[_0x14fa4b(0x306)](0x2);if((_0x594b10[0x0]&0x30)!==0x0){const _0x3087d4=this[_0x14fa4b(0x33c)](RangeError,_0x14fa4b(0x31a),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0x3af2c3(_0x3087d4);return;}const _0x56a9bd=(_0x594b10[0x0]&0x40)===0x40;if(_0x56a9bd&&!this[_0x14fa4b(0x1a7)][_0x162be5[_0x14fa4b(0x2bc)]]){const _0x193853=this[_0x14fa4b(0x33c)](RangeError,_0x14fa4b(0x232),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x3af2c3(_0x193853);return;}if(this[_0x14fa4b(0x22d)]=(_0x594b10[0x0]&0x80)===0x80,this[_0x14fa4b(0x2a8)]=_0x594b10[0x0]&0xf,this[_0x14fa4b(0x29b)]=_0x594b10[0x1]&0x7f,this[_0x14fa4b(0x2a8)]===0x0){if(_0x56a9bd){const _0x1a9a2a=this[_0x14fa4b(0x33c)](RangeError,_0x14fa4b(0x232),!0x0,0x3ea,_0x14fa4b(0x1cd));_0x3af2c3(_0x1a9a2a);return;}if(!this[_0x14fa4b(0x272)]){const _0x2e0605=this[_0x14fa4b(0x33c)](RangeError,'invalid\x20opcode\x200',!0x0,0x3ea,_0x14fa4b(0x331));_0x3af2c3(_0x2e0605);return;}this[_0x14fa4b(0x2a8)]=this[_0x14fa4b(0x272)];}else{if(this[_0x14fa4b(0x2a8)]===0x1||this[_0x14fa4b(0x2a8)]===0x2){if(this[_0x14fa4b(0x272)]){const _0x56801d=this[_0x14fa4b(0x33c)](RangeError,'invalid\x20opcode\x20'+this['_opcode'],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x3af2c3(_0x56801d);return;}this[_0x14fa4b(0x1a6)]=_0x56a9bd;}else{if(this[_0x14fa4b(0x2a8)]>0x7&&this[_0x14fa4b(0x2a8)]<0xb){if(!this[_0x14fa4b(0x22d)]){const _0x35902a=this[_0x14fa4b(0x33c)](RangeError,_0x14fa4b(0x1f8),!0x0,0x3ea,_0x14fa4b(0x206));_0x3af2c3(_0x35902a);return;}if(_0x56a9bd){const _0x2df20d=this['createError'](RangeError,_0x14fa4b(0x232),!0x0,0x3ea,_0x14fa4b(0x1cd));_0x3af2c3(_0x2df20d);return;}if(this[_0x14fa4b(0x29b)]>0x7d||this[_0x14fa4b(0x2a8)]===0x8&&this['_payloadLength']===0x1){const _0x25380d=this[_0x14fa4b(0x33c)](RangeError,_0x14fa4b(0x31f)+this[_0x14fa4b(0x29b)],!0x0,0x3ea,_0x14fa4b(0x22a));_0x3af2c3(_0x25380d);return;}}else{const _0x31a24f=this[_0x14fa4b(0x33c)](RangeError,_0x14fa4b(0x235)+this['_opcode'],!0x0,0x3ea,_0x14fa4b(0x331));_0x3af2c3(_0x31a24f);return;}}}if(!this[_0x14fa4b(0x22d)]&&!this[_0x14fa4b(0x272)]&&(this[_0x14fa4b(0x272)]=this[_0x14fa4b(0x2a8)]),this[_0x14fa4b(0x23e)]=(_0x594b10[0x1]&0x80)===0x80,this[_0x14fa4b(0x243)]){if(!this['_masked']){const _0x90bfe2=this['createError'](RangeError,_0x14fa4b(0x263),!0x0,0x3ea,_0x14fa4b(0x2c6));_0x3af2c3(_0x90bfe2);return;}}else{if(this[_0x14fa4b(0x23e)]){const _0x290eef=this[_0x14fa4b(0x33c)](RangeError,_0x14fa4b(0x304),!0x0,0x3ea,_0x14fa4b(0x28f));_0x3af2c3(_0x290eef);return;}}this[_0x14fa4b(0x29b)]===0x7e?this[_0x14fa4b(0x258)]=_0x2e1ff7:this['_payloadLength']===0x7f?this[_0x14fa4b(0x258)]=_0x23ef42:this[_0x14fa4b(0x26e)](_0x3af2c3);}[_0x90c35e(0x212)](_0x5c2484){const _0x41a00e=_0x90c35e;if(this[_0x41a00e(0x1b6)]<0x2){this[_0x41a00e(0x2ea)]=!0x1;return;}this[_0x41a00e(0x29b)]=this[_0x41a00e(0x306)](0x2)['readUInt16BE'](0x0),this[_0x41a00e(0x26e)](_0x5c2484);}['getPayloadLength64'](_0x12e248){const _0x468d80=_0x90c35e;if(this[_0x468d80(0x1b6)]<0x8){this['_loop']=!0x1;return;}const _0x1a2e93=this[_0x468d80(0x306)](0x8),_0x11e99c=_0x1a2e93[_0x468d80(0x31b)](0x0);if(_0x11e99c>Math[_0x468d80(0x24f)](0x2,0x15)-0x1){const _0x13b6d9=this[_0x468d80(0x33c)](RangeError,_0x468d80(0x249),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH');_0x12e248(_0x13b6d9);return;}this[_0x468d80(0x29b)]=_0x11e99c*Math[_0x468d80(0x24f)](0x2,0x20)+_0x1a2e93[_0x468d80(0x31b)](0x4),this['haveLength'](_0x12e248);}[_0x90c35e(0x26e)](_0x49e2cc){const _0x476ccc=_0x90c35e;if(this['_payloadLength']&&this[_0x476ccc(0x2a8)]<0x8&&(this[_0x476ccc(0x1db)]+=this['_payloadLength'],this[_0x476ccc(0x1db)]>this[_0x476ccc(0x23b)]&&this[_0x476ccc(0x23b)]>0x0)){const _0xee1a0b=this[_0x476ccc(0x33c)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x476ccc(0x1d4));_0x49e2cc(_0xee1a0b);return;}this[_0x476ccc(0x23e)]?this['_state']=_0x57812b:this[_0x476ccc(0x258)]=_0x450bc1;}[_0x90c35e(0x202)](){const _0x44302f=_0x90c35e;if(this[_0x44302f(0x1b6)]<0x4){this[_0x44302f(0x2ea)]=!0x1;return;}this[_0x44302f(0x270)]=this[_0x44302f(0x306)](0x4),this[_0x44302f(0x258)]=_0x450bc1;}[_0x90c35e(0x33a)](_0x1697c7){const _0x15aa98=_0x90c35e;let _0x413bdd=_0x4a7901;if(this[_0x15aa98(0x29b)]){if(this[_0x15aa98(0x1b6)]<this[_0x15aa98(0x29b)]){this[_0x15aa98(0x2ea)]=!0x1;return;}_0x413bdd=this[_0x15aa98(0x306)](this['_payloadLength']),this['_masked']&&(this[_0x15aa98(0x270)][0x0]|this[_0x15aa98(0x270)][0x1]|this['_mask'][0x2]|this[_0x15aa98(0x270)][0x3])!==0x0&&_0xcba1ce(_0x413bdd,this[_0x15aa98(0x270)]);}if(this[_0x15aa98(0x2a8)]>0x7){this[_0x15aa98(0x261)](_0x413bdd,_0x1697c7);return;}if(this[_0x15aa98(0x1a6)]){this[_0x15aa98(0x258)]=_0x502641,this[_0x15aa98(0x28c)](_0x413bdd,_0x1697c7);return;}_0x413bdd[_0x15aa98(0x2f0)]&&(this[_0x15aa98(0x297)]=this[_0x15aa98(0x1db)],this[_0x15aa98(0x23a)][_0x15aa98(0x217)](_0x413bdd)),this[_0x15aa98(0x292)](_0x1697c7);}[_0x90c35e(0x28c)](_0x4adf79,_0x1d6071){const _0x1c382d=_0x90c35e;this[_0x1c382d(0x1a7)][_0x162be5['extensionName']][_0x1c382d(0x28c)](_0x4adf79,this[_0x1c382d(0x22d)],(_0x491d89,_0x73cd26)=>{const _0x2b1c0a=_0x1c382d;if(_0x491d89)return _0x1d6071(_0x491d89);if(_0x73cd26['length']){if(this[_0x2b1c0a(0x297)]+=_0x73cd26[_0x2b1c0a(0x2f0)],this[_0x2b1c0a(0x297)]>this[_0x2b1c0a(0x23b)]&&this[_0x2b1c0a(0x23b)]>0x0){const _0x562f2a=this['createError'](RangeError,_0x2b1c0a(0x2a2),!0x1,0x3f1,_0x2b1c0a(0x1d4));_0x1d6071(_0x562f2a);return;}this[_0x2b1c0a(0x23a)][_0x2b1c0a(0x217)](_0x73cd26);}this[_0x2b1c0a(0x292)](_0x1d6071),this[_0x2b1c0a(0x258)]===_0x104259&&this[_0x2b1c0a(0x265)](_0x1d6071);});}[_0x90c35e(0x292)](_0x2c6fc8){const _0x4576af=_0x90c35e;if(!this[_0x4576af(0x22d)]){this['_state']=_0x104259;return;}const _0x1da864=this[_0x4576af(0x297)],_0x5acc6c=this[_0x4576af(0x23a)];if(this[_0x4576af(0x1db)]=0x0,this[_0x4576af(0x297)]=0x0,this['_fragmented']=0x0,this[_0x4576af(0x23a)]=[],this[_0x4576af(0x2a8)]===0x2){let _0x1e5941;this['_binaryType']==='nodebuffer'?_0x1e5941=_0x58ab61(_0x5acc6c,_0x1da864):this[_0x4576af(0x2b3)]===_0x4576af(0x24e)?_0x1e5941=_0x3886be(_0x58ab61(_0x5acc6c,_0x1da864)):this[_0x4576af(0x2b3)]==='blob'?_0x1e5941=new Blob(_0x5acc6c):_0x1e5941=_0x5acc6c,this[_0x4576af(0x280)]?(this[_0x4576af(0x27b)](_0x4576af(0x2fc),_0x1e5941,!0x0),this['_state']=_0x104259):(this[_0x4576af(0x258)]=_0x2e651b,setImmediate(()=>{const _0x41691d=_0x4576af;this['emit']('message',_0x1e5941,!0x0),this[_0x41691d(0x258)]=_0x104259,this['startLoop'](_0x2c6fc8);}));}else{const _0x4312ee=_0x58ab61(_0x5acc6c,_0x1da864);if(!this[_0x4576af(0x340)]&&!_0x2be463(_0x4312ee)){const _0x106508=this['createError'](Error,_0x4576af(0x2e9),!0x0,0x3ef,_0x4576af(0x33d));_0x2c6fc8(_0x106508);return;}this[_0x4576af(0x258)]===_0x502641||this[_0x4576af(0x280)]?(this[_0x4576af(0x27b)](_0x4576af(0x2fc),_0x4312ee,!0x1),this[_0x4576af(0x258)]=_0x104259):(this['_state']=_0x2e651b,setImmediate(()=>{const _0x1a8fc7=_0x4576af;this[_0x1a8fc7(0x27b)]('message',_0x4312ee,!0x1),this[_0x1a8fc7(0x258)]=_0x104259,this[_0x1a8fc7(0x265)](_0x2c6fc8);}));}}[_0x90c35e(0x261)](_0x212be4,_0x238756){const _0x2c3397=_0x90c35e;if(this['_opcode']===0x8){if(_0x212be4[_0x2c3397(0x2f0)]===0x0)this[_0x2c3397(0x2ea)]=!0x1,this[_0x2c3397(0x27b)](_0x2c3397(0x324),0x3ed,_0x4a7901),this[_0x2c3397(0x20e)]();else{const _0x586a43=_0x212be4[_0x2c3397(0x1eb)](0x0);if(!_0x39df0a(_0x586a43)){const _0x371716=this['createError'](RangeError,'invalid\x20status\x20code\x20'+_0x586a43,!0x0,0x3ea,_0x2c3397(0x1de));_0x238756(_0x371716);return;}const _0x15f5d3=new _0x40e25d(_0x212be4['buffer'],_0x212be4['byteOffset']+0x2,_0x212be4[_0x2c3397(0x2f0)]-0x2);if(!this[_0x2c3397(0x340)]&&!_0x2be463(_0x15f5d3)){const _0x44eee8=this['createError'](Error,_0x2c3397(0x2e9),!0x0,0x3ef,_0x2c3397(0x33d));_0x238756(_0x44eee8);return;}this[_0x2c3397(0x2ea)]=!0x1,this['emit']('conclude',_0x586a43,_0x15f5d3),this[_0x2c3397(0x20e)]();}this[_0x2c3397(0x258)]=_0x104259;return;}this[_0x2c3397(0x280)]?(this[_0x2c3397(0x27b)](this['_opcode']===0x9?_0x2c3397(0x294):_0x2c3397(0x21e),_0x212be4),this[_0x2c3397(0x258)]=_0x104259):(this['_state']=_0x2e651b,setImmediate(()=>{const _0x4d7d7c=_0x2c3397;this[_0x4d7d7c(0x27b)](this['_opcode']===0x9?_0x4d7d7c(0x294):_0x4d7d7c(0x21e),_0x212be4),this[_0x4d7d7c(0x258)]=_0x104259,this[_0x4d7d7c(0x265)](_0x238756);}));}[_0x90c35e(0x33c)](_0x28f1c5,_0xd0039b,_0x33355b,_0x2ab1f4,_0x43dd05){const _0x322429=_0x90c35e;this[_0x322429(0x2ea)]=!0x1,this[_0x322429(0x1b3)]=!0x0;const _0x2fbf06=new _0x28f1c5(_0x33355b?'Invalid\x20WebSocket\x20frame:\x20'+_0xd0039b:_0xd0039b);return Error['captureStackTrace'](_0x2fbf06,this[_0x322429(0x33c)]),_0x2fbf06['code']=_0x43dd05,_0x2fbf06[_0x2e6b77]=_0x2ab1f4,_0x2fbf06;}}return Se=_0x24b7c1,Se;}var Ee,et;function _t(){const _0x1fcb8a=_0x354711;if(et)return Ee;et=0x1;const {Duplex:_0x3fdf9d}=_0x201f56,{randomFillSync:_0x166e90}=_0x997d7e,_0xcc5e93=he(),{EMPTY_BUFFER:_0x43ec8d,kWebSocket:_0x4b0c11,NOOP:_0x5836cd}=V(),{isBlob:_0x43de2c,isValidStatusCode:_0x5a3dc9}=ne(),{mask:_0x43b85d,toBuffer:_0x157966}=ce(),_0x1b1d26=Symbol('kByteLength'),_0x2b8dc0=Buffer[_0x1fcb8a(0x32f)](0x4),_0x1d1340=0x8*0x400;let _0x1f9111,_0x1e5526=_0x1d1340;const _0x45f603=0x0,_0x55b6b3=0x1,_0x4fd8eb=0x2;class _0x5cd041{constructor(_0x1cfa6b,_0x549938,_0x9134c7){const _0x164307=_0x1fcb8a;this[_0x164307(0x1a7)]=_0x549938||{},_0x9134c7&&(this[_0x164307(0x303)]=_0x9134c7,this[_0x164307(0x291)]=Buffer[_0x164307(0x32f)](0x4)),this[_0x164307(0x1f0)]=_0x1cfa6b,this['_firstFragment']=!0x0,this[_0x164307(0x231)]=!0x1,this[_0x164307(0x1b6)]=0x0,this[_0x164307(0x267)]=[],this[_0x164307(0x258)]=_0x45f603,this[_0x164307(0x295)]=_0x5836cd,this[_0x4b0c11]=void 0x0;}static['frame'](_0x38d78d,_0x43c083){const _0x33b42a=_0x1fcb8a;let _0x243589,_0x43f775=!0x1,_0x137337=0x2,_0xdf79=!0x1;_0x43c083[_0x33b42a(0x277)]&&(_0x243589=_0x43c083[_0x33b42a(0x305)]||_0x2b8dc0,_0x43c083[_0x33b42a(0x302)]?_0x43c083[_0x33b42a(0x302)](_0x243589):(_0x1e5526===_0x1d1340&&(_0x1f9111===void 0x0&&(_0x1f9111=Buffer['alloc'](_0x1d1340)),_0x166e90(_0x1f9111,0x0,_0x1d1340),_0x1e5526=0x0),_0x243589[0x0]=_0x1f9111[_0x1e5526++],_0x243589[0x1]=_0x1f9111[_0x1e5526++],_0x243589[0x2]=_0x1f9111[_0x1e5526++],_0x243589[0x3]=_0x1f9111[_0x1e5526++]),_0xdf79=(_0x243589[0x0]|_0x243589[0x1]|_0x243589[0x2]|_0x243589[0x3])===0x0,_0x137337=0x6);let _0xab01bc;typeof _0x38d78d==_0x33b42a(0x26b)?(!_0x43c083['mask']||_0xdf79)&&_0x43c083[_0x1b1d26]!==void 0x0?_0xab01bc=_0x43c083[_0x1b1d26]:(_0x38d78d=Buffer['from'](_0x38d78d),_0xab01bc=_0x38d78d[_0x33b42a(0x2f0)]):(_0xab01bc=_0x38d78d[_0x33b42a(0x2f0)],_0x43f775=_0x43c083[_0x33b42a(0x277)]&&_0x43c083['readOnly']&&!_0xdf79);let _0x254a5e=_0xab01bc;_0xab01bc>=0x10000?(_0x137337+=0x8,_0x254a5e=0x7f):_0xab01bc>0x7d&&(_0x137337+=0x2,_0x254a5e=0x7e);const _0x29fd1b=Buffer['allocUnsafe'](_0x43f775?_0xab01bc+_0x137337:_0x137337);return _0x29fd1b[0x0]=_0x43c083[_0x33b42a(0x1dc)]?_0x43c083[_0x33b42a(0x1a8)]|0x80:_0x43c083['opcode'],_0x43c083['rsv1']&&(_0x29fd1b[0x0]|=0x40),_0x29fd1b[0x1]=_0x254a5e,_0x254a5e===0x7e?_0x29fd1b[_0x33b42a(0x2d8)](_0xab01bc,0x2):_0x254a5e===0x7f&&(_0x29fd1b[0x2]=_0x29fd1b[0x3]=0x0,_0x29fd1b[_0x33b42a(0x1ee)](_0xab01bc,0x4,0x6)),_0x43c083[_0x33b42a(0x277)]?(_0x29fd1b[0x1]|=0x80,_0x29fd1b[_0x137337-0x4]=_0x243589[0x0],_0x29fd1b[_0x137337-0x3]=_0x243589[0x1],_0x29fd1b[_0x137337-0x2]=_0x243589[0x2],_0x29fd1b[_0x137337-0x1]=_0x243589[0x3],_0xdf79?[_0x29fd1b,_0x38d78d]:_0x43f775?(_0x43b85d(_0x38d78d,_0x243589,_0x29fd1b,_0x137337,_0xab01bc),[_0x29fd1b]):(_0x43b85d(_0x38d78d,_0x243589,_0x38d78d,0x0,_0xab01bc),[_0x29fd1b,_0x38d78d])):[_0x29fd1b,_0x38d78d];}[_0x1fcb8a(0x257)](_0x3659bd,_0x4b4df4,_0x34a52a,_0x25bdb9){const _0x2f0b9a=_0x1fcb8a;let _0x4e5576;if(_0x3659bd===void 0x0)_0x4e5576=_0x43ec8d;else{if(typeof _0x3659bd!=_0x2f0b9a(0x269)||!_0x5a3dc9(_0x3659bd))throw new TypeError(_0x2f0b9a(0x251));if(_0x4b4df4===void 0x0||!_0x4b4df4[_0x2f0b9a(0x2f0)])_0x4e5576=Buffer['allocUnsafe'](0x2),_0x4e5576[_0x2f0b9a(0x2d8)](_0x3659bd,0x0);else{const _0x31771a=Buffer[_0x2f0b9a(0x299)](_0x4b4df4);if(_0x31771a>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x4e5576=Buffer[_0x2f0b9a(0x23d)](0x2+_0x31771a),_0x4e5576[_0x2f0b9a(0x2d8)](_0x3659bd,0x0),typeof _0x4b4df4==_0x2f0b9a(0x26b)?_0x4e5576[_0x2f0b9a(0x220)](_0x4b4df4,0x2):_0x4e5576[_0x2f0b9a(0x293)](_0x4b4df4,0x2);}}const _0x256d1e={[_0x1b1d26]:_0x4e5576['length'],'fin':!0x0,'generateMask':this[_0x2f0b9a(0x303)],'mask':_0x34a52a,'maskBuffer':this[_0x2f0b9a(0x291)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x2f0b9a(0x258)]!==_0x45f603?this[_0x2f0b9a(0x1a3)]([this[_0x2f0b9a(0x30a)],_0x4e5576,!0x1,_0x256d1e,_0x25bdb9]):this[_0x2f0b9a(0x1ed)](_0x5cd041[_0x2f0b9a(0x1a9)](_0x4e5576,_0x256d1e),_0x25bdb9);}[_0x1fcb8a(0x294)](_0x3dfa8f,_0x4c1ae3,_0x21090e){const _0x1c0dc6=_0x1fcb8a;let _0x566d7d,_0x3f32ee;if(typeof _0x3dfa8f==_0x1c0dc6(0x26b)?(_0x566d7d=Buffer[_0x1c0dc6(0x299)](_0x3dfa8f),_0x3f32ee=!0x1):_0x43de2c(_0x3dfa8f)?(_0x566d7d=_0x3dfa8f[_0x1c0dc6(0x33e)],_0x3f32ee=!0x1):(_0x3dfa8f=_0x157966(_0x3dfa8f),_0x566d7d=_0x3dfa8f[_0x1c0dc6(0x2f0)],_0x3f32ee=_0x157966[_0x1c0dc6(0x2f7)]),_0x566d7d>0x7d)throw new RangeError(_0x1c0dc6(0x19e));const _0x266eac={[_0x1b1d26]:_0x566d7d,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x4c1ae3,'maskBuffer':this[_0x1c0dc6(0x291)],'opcode':0x9,'readOnly':_0x3f32ee,'rsv1':!0x1};_0x43de2c(_0x3dfa8f)?this[_0x1c0dc6(0x258)]!==_0x45f603?this[_0x1c0dc6(0x1a3)]([this[_0x1c0dc6(0x1fb)],_0x3dfa8f,!0x1,_0x266eac,_0x21090e]):this[_0x1c0dc6(0x1fb)](_0x3dfa8f,!0x1,_0x266eac,_0x21090e):this[_0x1c0dc6(0x258)]!==_0x45f603?this[_0x1c0dc6(0x1a3)]([this['dispatch'],_0x3dfa8f,!0x1,_0x266eac,_0x21090e]):this[_0x1c0dc6(0x1ed)](_0x5cd041[_0x1c0dc6(0x1a9)](_0x3dfa8f,_0x266eac),_0x21090e);}[_0x1fcb8a(0x21e)](_0x191c2d,_0x52837e,_0x4e622e){const _0x3def80=_0x1fcb8a;let _0x226a3e,_0x5d681c;if(typeof _0x191c2d==_0x3def80(0x26b)?(_0x226a3e=Buffer[_0x3def80(0x299)](_0x191c2d),_0x5d681c=!0x1):_0x43de2c(_0x191c2d)?(_0x226a3e=_0x191c2d[_0x3def80(0x33e)],_0x5d681c=!0x1):(_0x191c2d=_0x157966(_0x191c2d),_0x226a3e=_0x191c2d['length'],_0x5d681c=_0x157966[_0x3def80(0x2f7)]),_0x226a3e>0x7d)throw new RangeError(_0x3def80(0x19e));const _0x53b984={[_0x1b1d26]:_0x226a3e,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x52837e,'maskBuffer':this[_0x3def80(0x291)],'opcode':0xa,'readOnly':_0x5d681c,'rsv1':!0x1};_0x43de2c(_0x191c2d)?this[_0x3def80(0x258)]!==_0x45f603?this[_0x3def80(0x1a3)]([this[_0x3def80(0x1fb)],_0x191c2d,!0x1,_0x53b984,_0x4e622e]):this[_0x3def80(0x1fb)](_0x191c2d,!0x1,_0x53b984,_0x4e622e):this['_state']!==_0x45f603?this[_0x3def80(0x1a3)]([this[_0x3def80(0x30a)],_0x191c2d,!0x1,_0x53b984,_0x4e622e]):this['sendFrame'](_0x5cd041['frame'](_0x191c2d,_0x53b984),_0x4e622e);}[_0x1fcb8a(0x284)](_0x3d8e84,_0x4ffd4a,_0x3f9299){const _0x3fae10=_0x1fcb8a,_0x5d3f08=this['_extensions'][_0xcc5e93[_0x3fae10(0x2bc)]];let _0x4b1ae9=_0x4ffd4a['binary']?0x2:0x1,_0x2089ac=_0x4ffd4a[_0x3fae10(0x1dd)],_0xa9026e,_0x4eb9c2;typeof _0x3d8e84==_0x3fae10(0x26b)?(_0xa9026e=Buffer[_0x3fae10(0x299)](_0x3d8e84),_0x4eb9c2=!0x1):_0x43de2c(_0x3d8e84)?(_0xa9026e=_0x3d8e84[_0x3fae10(0x33e)],_0x4eb9c2=!0x1):(_0x3d8e84=_0x157966(_0x3d8e84),_0xa9026e=_0x3d8e84[_0x3fae10(0x2f0)],_0x4eb9c2=_0x157966[_0x3fae10(0x2f7)]),this['_firstFragment']?(this[_0x3fae10(0x1d6)]=!0x1,_0x2089ac&&_0x5d3f08&&_0x5d3f08[_0x3fae10(0x259)][_0x5d3f08[_0x3fae10(0x243)]?_0x3fae10(0x27c):_0x3fae10(0x2d1)]&&(_0x2089ac=_0xa9026e>=_0x5d3f08[_0x3fae10(0x30f)]),this['_compress']=_0x2089ac):(_0x2089ac=!0x1,_0x4b1ae9=0x0),_0x4ffd4a[_0x3fae10(0x1dc)]&&(this['_firstFragment']=!0x0);const _0xee870e={[_0x1b1d26]:_0xa9026e,'fin':_0x4ffd4a[_0x3fae10(0x1dc)],'generateMask':this[_0x3fae10(0x303)],'mask':_0x4ffd4a[_0x3fae10(0x277)],'maskBuffer':this[_0x3fae10(0x291)],'opcode':_0x4b1ae9,'readOnly':_0x4eb9c2,'rsv1':_0x2089ac};_0x43de2c(_0x3d8e84)?this[_0x3fae10(0x258)]!==_0x45f603?this[_0x3fae10(0x1a3)]([this['getBlobData'],_0x3d8e84,this[_0x3fae10(0x231)],_0xee870e,_0x3f9299]):this[_0x3fae10(0x1fb)](_0x3d8e84,this['_compress'],_0xee870e,_0x3f9299):this[_0x3fae10(0x258)]!==_0x45f603?this[_0x3fae10(0x1a3)]([this[_0x3fae10(0x30a)],_0x3d8e84,this[_0x3fae10(0x231)],_0xee870e,_0x3f9299]):this['dispatch'](_0x3d8e84,this[_0x3fae10(0x231)],_0xee870e,_0x3f9299);}[_0x1fcb8a(0x1fb)](_0x5e3bed,_0x5c8be4,_0x158644,_0x1d0d49){const _0x4e306f=_0x1fcb8a;this[_0x4e306f(0x1b6)]+=_0x158644[_0x1b1d26],this[_0x4e306f(0x258)]=_0x4fd8eb,_0x5e3bed['arrayBuffer']()[_0x4e306f(0x26d)](_0xec31f3=>{const _0x301b21=_0x4e306f;if(this['_socket'][_0x301b21(0x1c5)]){const _0x17000e=new Error(_0x301b21(0x33b));process[_0x301b21(0x20d)](_0x12ae6d,this,_0x17000e,_0x1d0d49);return;}this[_0x301b21(0x1b6)]-=_0x158644[_0x1b1d26];const _0x3cd0d9=_0x157966(_0xec31f3);_0x5c8be4?this[_0x301b21(0x30a)](_0x3cd0d9,_0x5c8be4,_0x158644,_0x1d0d49):(this['_state']=_0x45f603,this[_0x301b21(0x1ed)](_0x5cd041[_0x301b21(0x1a9)](_0x3cd0d9,_0x158644),_0x1d0d49),this[_0x301b21(0x290)]());})[_0x4e306f(0x310)](_0x41cb98=>{process['nextTick'](_0x2d0aac,this,_0x41cb98,_0x1d0d49);});}['dispatch'](_0x3cf7d9,_0x47cfa4,_0x3497e4,_0x5ea0f4){const _0x56e981=_0x1fcb8a;if(!_0x47cfa4){this['sendFrame'](_0x5cd041[_0x56e981(0x1a9)](_0x3cf7d9,_0x3497e4),_0x5ea0f4);return;}const _0x4dc940=this[_0x56e981(0x1a7)][_0xcc5e93[_0x56e981(0x2bc)]];this[_0x56e981(0x1b6)]+=_0x3497e4[_0x1b1d26],this[_0x56e981(0x258)]=_0x55b6b3,_0x4dc940[_0x56e981(0x1dd)](_0x3cf7d9,_0x3497e4[_0x56e981(0x1dc)],(_0x17efb3,_0x479d94)=>{const _0x1022a1=_0x56e981;if(this[_0x1022a1(0x1f0)]['destroyed']){const _0x41db8c=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x12ae6d(this,_0x41db8c,_0x5ea0f4);return;}this[_0x1022a1(0x1b6)]-=_0x3497e4[_0x1b1d26],this[_0x1022a1(0x258)]=_0x45f603,_0x3497e4[_0x1022a1(0x2f7)]=!0x1,this[_0x1022a1(0x1ed)](_0x5cd041[_0x1022a1(0x1a9)](_0x479d94,_0x3497e4),_0x5ea0f4),this[_0x1022a1(0x290)]();});}[_0x1fcb8a(0x290)](){const _0x356dbb=_0x1fcb8a;for(;this[_0x356dbb(0x258)]===_0x45f603&&this[_0x356dbb(0x267)][_0x356dbb(0x2f0)];){const _0x16915a=this[_0x356dbb(0x267)]['shift']();this[_0x356dbb(0x1b6)]-=_0x16915a[0x3][_0x1b1d26],Reflect[_0x356dbb(0x1a0)](_0x16915a[0x0],this,_0x16915a[_0x356dbb(0x222)](0x1));}}['enqueue'](_0x3f08af){const _0x301808=_0x1fcb8a;this[_0x301808(0x1b6)]+=_0x3f08af[0x3][_0x1b1d26],this[_0x301808(0x267)][_0x301808(0x217)](_0x3f08af);}[_0x1fcb8a(0x1ed)](_0x36a6a6,_0x17974e){const _0x26e111=_0x1fcb8a;_0x36a6a6[_0x26e111(0x2f0)]===0x2?(this[_0x26e111(0x1f0)]['cork'](),this['_socket'][_0x26e111(0x220)](_0x36a6a6[0x0]),this[_0x26e111(0x1f0)][_0x26e111(0x220)](_0x36a6a6[0x1],_0x17974e),this[_0x26e111(0x1f0)][_0x26e111(0x319)]()):this[_0x26e111(0x1f0)][_0x26e111(0x220)](_0x36a6a6[0x0],_0x17974e);}}Ee=_0x5cd041;function _0x12ae6d(_0x143fc3,_0x5ee98a,_0x128717){const _0x17698b=_0x1fcb8a;typeof _0x128717==_0x17698b(0x2ef)&&_0x128717(_0x5ee98a);for(let _0x1ddd3e=0x0;_0x1ddd3e<_0x143fc3[_0x17698b(0x267)][_0x17698b(0x2f0)];_0x1ddd3e++){const _0x379811=_0x143fc3['_queue'][_0x1ddd3e],_0x528dc8=_0x379811[_0x379811[_0x17698b(0x2f0)]-0x1];typeof _0x528dc8==_0x17698b(0x2ef)&&_0x528dc8(_0x5ee98a);}}function _0x2d0aac(_0xb2caa9,_0x3e77a7,_0x23cd4c){_0x12ae6d(_0xb2caa9,_0x3e77a7,_0x23cd4c),_0xb2caa9['onerror'](_0x3e77a7);}return Ee;}var xe,tt;function Kt(){const _0x3bee93=_0x354711;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0xba3472,kListener:_0x1f6208}=V(),_0x35bf92=Symbol(_0x3bee93(0x300)),_0x47fe98=Symbol('kData'),_0x212e6e=Symbol('kError'),_0x45a493=Symbol(_0x3bee93(0x1ba)),_0x17cad9=Symbol(_0x3bee93(0x1b4)),_0x49dfcd=Symbol(_0x3bee93(0x205)),_0x183f47=Symbol(_0x3bee93(0x1d3)),_0x327626=Symbol(_0x3bee93(0x242));class _0x2c29c1{constructor(_0x2d5183){this[_0x49dfcd]=null,this[_0x183f47]=_0x2d5183;}get['target'](){return this[_0x49dfcd];}get[_0x3bee93(0x24d)](){return this[_0x183f47];}}Object['defineProperty'](_0x2c29c1['prototype'],_0x3bee93(0x32a),{'enumerable':!0x0}),Object[_0x3bee93(0x1e0)](_0x2c29c1[_0x3bee93(0x2c0)],_0x3bee93(0x24d),{'enumerable':!0x0});class _0xd3f6a8 extends _0x2c29c1{constructor(_0x4f6ae2,_0x406878={}){const _0x15ea37=_0x3bee93;super(_0x4f6ae2),this[_0x35bf92]=_0x406878[_0x15ea37(0x2f4)]===void 0x0?0x0:_0x406878['code'],this[_0x17cad9]=_0x406878[_0x15ea37(0x26f)]===void 0x0?'':_0x406878[_0x15ea37(0x26f)],this[_0x327626]=_0x406878['wasClean']===void 0x0?!0x1:_0x406878['wasClean'];}get[_0x3bee93(0x2f4)](){return this[_0x35bf92];}get['reason'](){return this[_0x17cad9];}get['wasClean'](){return this[_0x327626];}}Object['defineProperty'](_0xd3f6a8[_0x3bee93(0x2c0)],_0x3bee93(0x2f4),{'enumerable':!0x0}),Object['defineProperty'](_0xd3f6a8[_0x3bee93(0x2c0)],'reason',{'enumerable':!0x0}),Object[_0x3bee93(0x1e0)](_0xd3f6a8[_0x3bee93(0x2c0)],_0x3bee93(0x1be),{'enumerable':!0x0});class _0x49ba58 extends _0x2c29c1{constructor(_0x3a63a6,_0x2395b9={}){const _0x234d21=_0x3bee93;super(_0x3a63a6),this[_0x212e6e]=_0x2395b9['error']===void 0x0?null:_0x2395b9['error'],this[_0x45a493]=_0x2395b9[_0x234d21(0x2fc)]===void 0x0?'':_0x2395b9[_0x234d21(0x2fc)];}get[_0x3bee93(0x1cf)](){return this[_0x212e6e];}get['message'](){return this[_0x45a493];}}Object['defineProperty'](_0x49ba58[_0x3bee93(0x2c0)],_0x3bee93(0x1cf),{'enumerable':!0x0}),Object['defineProperty'](_0x49ba58[_0x3bee93(0x2c0)],_0x3bee93(0x2fc),{'enumerable':!0x0});class _0x52b20c extends _0x2c29c1{constructor(_0x584892,_0x47072b={}){const _0x98cb4a=_0x3bee93;super(_0x584892),this[_0x47fe98]=_0x47072b[_0x98cb4a(0x282)]===void 0x0?null:_0x47072b[_0x98cb4a(0x282)];}get[_0x3bee93(0x282)](){return this[_0x47fe98];}}Object[_0x3bee93(0x1e0)](_0x52b20c[_0x3bee93(0x2c0)],_0x3bee93(0x282),{'enumerable':!0x0}),xe={'CloseEvent':_0xd3f6a8,'ErrorEvent':_0x49ba58,'Event':_0x2c29c1,'EventTarget':{'addEventListener'(_0x5d2e55,_0x540b1d,_0x51f34b={}){const _0x43bbb4=_0x3bee93;for(const _0xdb293e of this[_0x43bbb4(0x317)](_0x5d2e55))if(!_0x51f34b[_0xba3472]&&_0xdb293e[_0x1f6208]===_0x540b1d&&!_0xdb293e[_0xba3472])return;let _0x4bb542;if(_0x5d2e55==='message')_0x4bb542=function(_0x1cd661,_0x499906){const _0x8c4378=_0x43bbb4,_0x49fc90=new _0x52b20c(_0x8c4378(0x2fc),{'data':_0x499906?_0x1cd661:_0x1cd661[_0x8c4378(0x2f9)]()});_0x49fc90[_0x49dfcd]=this,_0x590b38(_0x540b1d,this,_0x49fc90);};else{if(_0x5d2e55===_0x43bbb4(0x257))_0x4bb542=function(_0x26ff25,_0x19b331){const _0x3c890c=_0x43bbb4,_0x4dd8e2=new _0xd3f6a8(_0x3c890c(0x257),{'code':_0x26ff25,'reason':_0x19b331[_0x3c890c(0x2f9)](),'wasClean':this[_0x3c890c(0x233)]&&this[_0x3c890c(0x30b)]});_0x4dd8e2[_0x49dfcd]=this,_0x590b38(_0x540b1d,this,_0x4dd8e2);};else{if(_0x5d2e55===_0x43bbb4(0x1cf))_0x4bb542=function(_0x5758ee){const _0x2fae5e=_0x43bbb4,_0x28aa27=new _0x49ba58(_0x2fae5e(0x1cf),{'error':_0x5758ee,'message':_0x5758ee[_0x2fae5e(0x2fc)]});_0x28aa27[_0x49dfcd]=this,_0x590b38(_0x540b1d,this,_0x28aa27);};else{if(_0x5d2e55===_0x43bbb4(0x1c1))_0x4bb542=function(){const _0x4ed288=_0x43bbb4,_0xf79df8=new _0x2c29c1(_0x4ed288(0x1c1));_0xf79df8[_0x49dfcd]=this,_0x590b38(_0x540b1d,this,_0xf79df8);};else return;}}}_0x4bb542[_0xba3472]=!!_0x51f34b[_0xba3472],_0x4bb542[_0x1f6208]=_0x540b1d,_0x51f34b[_0x43bbb4(0x227)]?this['once'](_0x5d2e55,_0x4bb542):this['on'](_0x5d2e55,_0x4bb542);},'removeEventListener'(_0x1e56df,_0x1bdbd4){const _0x25cec0=_0x3bee93;for(const _0x5d0d9a of this[_0x25cec0(0x317)](_0x1e56df))if(_0x5d0d9a[_0x1f6208]===_0x1bdbd4&&!_0x5d0d9a[_0xba3472]){this[_0x25cec0(0x2f3)](_0x1e56df,_0x5d0d9a);break;}}},'MessageEvent':_0x52b20c};function _0x590b38(_0x3a72c0,_0x1e7ca3,_0x4de526){const _0x30afdf=_0x3bee93;typeof _0x3a72c0==_0x30afdf(0x204)&&_0x3a72c0['handleEvent']?_0x3a72c0[_0x30afdf(0x203)][_0x30afdf(0x327)](_0x3a72c0,_0x4de526):_0x3a72c0['call'](_0x1e7ca3,_0x4de526);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x5d74d6}=ne();function _0x422ffd(_0x541942,_0x3c9de9,_0x4978c7){_0x541942[_0x3c9de9]===void 0x0?_0x541942[_0x3c9de9]=[_0x4978c7]:_0x541942[_0x3c9de9]['push'](_0x4978c7);}function _0x46b87f(_0x291367){const _0x148e78=_0x508b,_0x334c6f=Object['create'](null);let _0x4bad6c=Object[_0x148e78(0x244)](null),_0x1d39f0=!0x1,_0x25418b=!0x1,_0x5ad94d=!0x1,_0x1dcc4a,_0x5cc906,_0x493b19=-0x1,_0x8b70f4=-0x1,_0x139b19=-0x1,_0x203bc1=0x0;for(;_0x203bc1<_0x291367[_0x148e78(0x2f0)];_0x203bc1++)if(_0x8b70f4=_0x291367['charCodeAt'](_0x203bc1),_0x1dcc4a===void 0x0){if(_0x139b19===-0x1&&_0x5d74d6[_0x8b70f4]===0x1)_0x493b19===-0x1&&(_0x493b19=_0x203bc1);else{if(_0x203bc1!==0x0&&(_0x8b70f4===0x20||_0x8b70f4===0x9))_0x139b19===-0x1&&_0x493b19!==-0x1&&(_0x139b19=_0x203bc1);else{if(_0x8b70f4===0x3b||_0x8b70f4===0x2c){if(_0x493b19===-0x1)throw new SyntaxError(_0x148e78(0x1da)+_0x203bc1);_0x139b19===-0x1&&(_0x139b19=_0x203bc1);const _0x3ada09=_0x291367[_0x148e78(0x222)](_0x493b19,_0x139b19);_0x8b70f4===0x2c?(_0x422ffd(_0x334c6f,_0x3ada09,_0x4bad6c),_0x4bad6c=Object['create'](null)):_0x1dcc4a=_0x3ada09,_0x493b19=_0x139b19=-0x1;}else throw new SyntaxError(_0x148e78(0x1da)+_0x203bc1);}}}else{if(_0x5cc906===void 0x0){if(_0x139b19===-0x1&&_0x5d74d6[_0x8b70f4]===0x1)_0x493b19===-0x1&&(_0x493b19=_0x203bc1);else{if(_0x8b70f4===0x20||_0x8b70f4===0x9)_0x139b19===-0x1&&_0x493b19!==-0x1&&(_0x139b19=_0x203bc1);else{if(_0x8b70f4===0x3b||_0x8b70f4===0x2c){if(_0x493b19===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x203bc1);_0x139b19===-0x1&&(_0x139b19=_0x203bc1),_0x422ffd(_0x4bad6c,_0x291367['slice'](_0x493b19,_0x139b19),!0x0),_0x8b70f4===0x2c&&(_0x422ffd(_0x334c6f,_0x1dcc4a,_0x4bad6c),_0x4bad6c=Object['create'](null),_0x1dcc4a=void 0x0),_0x493b19=_0x139b19=-0x1;}else{if(_0x8b70f4===0x3d&&_0x493b19!==-0x1&&_0x139b19===-0x1)_0x5cc906=_0x291367[_0x148e78(0x222)](_0x493b19,_0x203bc1),_0x493b19=_0x139b19=-0x1;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x203bc1);}}}}else{if(_0x25418b){if(_0x5d74d6[_0x8b70f4]!==0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x203bc1);_0x493b19===-0x1?_0x493b19=_0x203bc1:_0x1d39f0||(_0x1d39f0=!0x0),_0x25418b=!0x1;}else{if(_0x5ad94d){if(_0x5d74d6[_0x8b70f4]===0x1)_0x493b19===-0x1&&(_0x493b19=_0x203bc1);else{if(_0x8b70f4===0x22&&_0x493b19!==-0x1)_0x5ad94d=!0x1,_0x139b19=_0x203bc1;else{if(_0x8b70f4===0x5c)_0x25418b=!0x0;else throw new SyntaxError(_0x148e78(0x1da)+_0x203bc1);}}}else{if(_0x8b70f4===0x22&&_0x291367['charCodeAt'](_0x203bc1-0x1)===0x3d)_0x5ad94d=!0x0;else{if(_0x139b19===-0x1&&_0x5d74d6[_0x8b70f4]===0x1)_0x493b19===-0x1&&(_0x493b19=_0x203bc1);else{if(_0x493b19!==-0x1&&(_0x8b70f4===0x20||_0x8b70f4===0x9))_0x139b19===-0x1&&(_0x139b19=_0x203bc1);else{if(_0x8b70f4===0x3b||_0x8b70f4===0x2c){if(_0x493b19===-0x1)throw new SyntaxError(_0x148e78(0x1da)+_0x203bc1);_0x139b19===-0x1&&(_0x139b19=_0x203bc1);let _0x21cd94=_0x291367[_0x148e78(0x222)](_0x493b19,_0x139b19);_0x1d39f0&&(_0x21cd94=_0x21cd94['replace'](/\\/g,''),_0x1d39f0=!0x1),_0x422ffd(_0x4bad6c,_0x5cc906,_0x21cd94),_0x8b70f4===0x2c&&(_0x422ffd(_0x334c6f,_0x1dcc4a,_0x4bad6c),_0x4bad6c=Object[_0x148e78(0x244)](null),_0x1dcc4a=void 0x0),_0x5cc906=void 0x0,_0x493b19=_0x139b19=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x203bc1);}}}}}}}if(_0x493b19===-0x1||_0x5ad94d||_0x8b70f4===0x20||_0x8b70f4===0x9)throw new SyntaxError(_0x148e78(0x1aa));_0x139b19===-0x1&&(_0x139b19=_0x203bc1);const _0x44e159=_0x291367[_0x148e78(0x222)](_0x493b19,_0x139b19);return _0x1dcc4a===void 0x0?_0x422ffd(_0x334c6f,_0x44e159,_0x4bad6c):(_0x5cc906===void 0x0?_0x422ffd(_0x4bad6c,_0x44e159,!0x0):_0x1d39f0?_0x422ffd(_0x4bad6c,_0x5cc906,_0x44e159[_0x148e78(0x2d3)](/\\/g,'')):_0x422ffd(_0x4bad6c,_0x5cc906,_0x44e159),_0x422ffd(_0x334c6f,_0x1dcc4a,_0x4bad6c)),_0x334c6f;}function _0x4c6da7(_0x5034bc){const _0x3dfbe4=_0x508b;return Object[_0x3dfbe4(0x289)](_0x5034bc)[_0x3dfbe4(0x2f5)](_0x1d9895=>{const _0x2c2356=_0x3dfbe4;let _0x1694ee=_0x5034bc[_0x1d9895];return Array[_0x2c2356(0x207)](_0x1694ee)||(_0x1694ee=[_0x1694ee]),_0x1694ee[_0x2c2356(0x2f5)](_0x27173e=>[_0x1d9895][_0x2c2356(0x2a1)](Object['keys'](_0x27173e)['map'](_0x3d0057=>{const _0x15612e=_0x2c2356;let _0x494dd8=_0x27173e[_0x3d0057];return Array[_0x15612e(0x207)](_0x494dd8)||(_0x494dd8=[_0x494dd8]),_0x494dd8[_0x15612e(0x2f5)](_0x52d0d=>_0x52d0d===!0x0?_0x3d0057:_0x3d0057+'='+_0x52d0d)['join'](';\x20');}))[_0x2c2356(0x2c1)](';\x20'))[_0x2c2356(0x2c1)](',\x20');})['join'](',\x20');}return be={'format':_0x4c6da7,'parse':_0x46b87f},be;}var we,st;function Ie(){const _0x4873ff=_0x354711;if(st)return we;st=0x1;const _0x45540e=_0x2d9a8c,_0x3778ee=_0xde752b,_0x4c8d8c=_0x48a5e1,_0x174219=_0x6b9aea,_0x42c864=_0x2f8d45,{randomBytes:_0x41b2f8,createHash:_0x1e0b0b}=_0x997d7e,{Duplex:_0x362f68,Readable:_0x2c88cb}=_0x201f56,{URL:_0x203710}=_0x29ec2d,_0x4521b6=he(),_0x3572df=dt(),_0x1cb6dc=_t(),{isBlob:_0x15b9f2}=ne(),{BINARY_TYPES:_0x48e513,EMPTY_BUFFER:_0x1bd947,GUID:_0x4976de,kForOnEventAttribute:_0x40df70,kListener:_0x4b34e4,kStatusCode:_0x10437f,kWebSocket:_0x3e7bf4,NOOP:_0x5df861}=V(),{EventTarget:{addEventListener:_0x433ea7,removeEventListener:_0x555ee7}}=Kt(),{format:_0x31f0ed,parse:_0x19521c}=pt(),{toBuffer:_0x2bd97e}=ce(),_0x2bfa67=0x1e*0x3e8,_0x348067=Symbol(_0x4873ff(0x2a3)),_0x397c0b=[0x8,0xd],_0x1851c1=['CONNECTING',_0x4873ff(0x221),_0x4873ff(0x2e5),_0x4873ff(0x29a)],_0x42534c=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0xe0db9f extends _0x45540e{constructor(_0x4986c1,_0x1445c1,_0x17c71a){const _0x4d0703=_0x4873ff;super(),this[_0x4d0703(0x2b3)]=_0x48e513[0x0],this[_0x4d0703(0x316)]=0x3ee,this['_closeFrameReceived']=!0x1,this['_closeFrameSent']=!0x1,this['_closeMessage']=_0x1bd947,this['_closeTimer']=null,this['_errorEmitted']=!0x1,this[_0x4d0703(0x1a7)]={},this['_paused']=!0x1,this['_protocol']='',this[_0x4d0703(0x253)]=_0xe0db9f[_0x4d0703(0x1a5)],this[_0x4d0703(0x1df)]=null,this[_0x4d0703(0x211)]=null,this[_0x4d0703(0x1f0)]=null,_0x4986c1!==null?(this[_0x4d0703(0x335)]=0x0,this[_0x4d0703(0x243)]=!0x1,this['_redirects']=0x0,_0x1445c1===void 0x0?_0x1445c1=[]:Array[_0x4d0703(0x207)](_0x1445c1)||(typeof _0x1445c1=='object'&&_0x1445c1!==null?(_0x17c71a=_0x1445c1,_0x1445c1=[]):_0x1445c1=[_0x1445c1]),_0x2969a2(this,_0x4986c1,_0x1445c1,_0x17c71a)):(this[_0x4d0703(0x28e)]=_0x17c71a['autoPong'],this[_0x4d0703(0x243)]=!0x0);}get[_0x4873ff(0x328)](){return this['_binaryType'];}set[_0x4873ff(0x328)](_0x207e85){const _0xd5df4=_0x4873ff;_0x48e513[_0xd5df4(0x332)](_0x207e85)&&(this[_0xd5df4(0x2b3)]=_0x207e85,this['_receiver']&&(this[_0xd5df4(0x1df)][_0xd5df4(0x2b3)]=_0x207e85));}get[_0x4873ff(0x1bc)](){const _0x3c421b=_0x4873ff;return this['_socket']?this[_0x3c421b(0x1f0)][_0x3c421b(0x2e3)]['length']+this[_0x3c421b(0x211)][_0x3c421b(0x1b6)]:this['_bufferedAmount'];}get['extensions'](){const _0x4563b7=_0x4873ff;return Object[_0x4563b7(0x289)](this[_0x4563b7(0x1a7)])['join']();}get[_0x4873ff(0x19f)](){const _0x4fe816=_0x4873ff;return this[_0x4fe816(0x2fa)];}get[_0x4873ff(0x2a0)](){return null;}get[_0x4873ff(0x295)](){return null;}get[_0x4873ff(0x312)](){return null;}get[_0x4873ff(0x1b5)](){return null;}get[_0x4873ff(0x309)](){const _0x505afe=_0x4873ff;return this[_0x505afe(0x2d7)];}get[_0x4873ff(0x21a)](){const _0x508e5f=_0x4873ff;return this[_0x508e5f(0x253)];}get[_0x4873ff(0x2c9)](){const _0x12c40d=_0x4873ff;return this[_0x12c40d(0x337)];}[_0x4873ff(0x250)](_0x308168,_0x24e1d5,_0x19418d){const _0xc87582=_0x4873ff,_0x2af575=new _0x3572df({'allowSynchronousEvents':_0x19418d[_0xc87582(0x1d8)],'binaryType':this[_0xc87582(0x328)],'extensions':this['_extensions'],'isServer':this[_0xc87582(0x243)],'maxPayload':_0x19418d['maxPayload'],'skipUTF8Validation':_0x19418d['skipUTF8Validation']}),_0x5c8e9e=new _0x1cb6dc(_0x308168,this['_extensions'],_0x19418d[_0xc87582(0x302)]);this['_receiver']=_0x2af575,this['_sender']=_0x5c8e9e,this[_0xc87582(0x1f0)]=_0x308168,_0x2af575[_0x3e7bf4]=this,_0x5c8e9e[_0x3e7bf4]=this,_0x308168[_0x3e7bf4]=this,_0x2af575['on'](_0xc87582(0x324),_0x2d9598),_0x2af575['on'](_0xc87582(0x336),_0x271ecd),_0x2af575['on'](_0xc87582(0x1cf),_0x22d55e),_0x2af575['on'](_0xc87582(0x2fc),_0x95ae32),_0x2af575['on'](_0xc87582(0x294),_0xc3e90d),_0x2af575['on'](_0xc87582(0x21e),_0x42e5aa),_0x5c8e9e[_0xc87582(0x295)]=_0x4f689f,_0x308168[_0xc87582(0x215)]&&_0x308168['setTimeout'](0x0),_0x308168[_0xc87582(0x248)]&&_0x308168[_0xc87582(0x248)](),_0x24e1d5[_0xc87582(0x2f0)]>0x0&&_0x308168['unshift'](_0x24e1d5),_0x308168['on'](_0xc87582(0x257),_0x38e05a),_0x308168['on']('data',_0x3b8b84),_0x308168['on'](_0xc87582(0x20e),_0x491f0b),_0x308168['on'](_0xc87582(0x1cf),_0x873df7),this[_0xc87582(0x253)]=_0xe0db9f[_0xc87582(0x221)],this['emit'](_0xc87582(0x1c1));}['emitClose'](){const _0x368f23=_0x4873ff;if(!this[_0x368f23(0x1f0)]){this['_readyState']=_0xe0db9f[_0x368f23(0x29a)],this['emit'](_0x368f23(0x257),this[_0x368f23(0x316)],this[_0x368f23(0x31e)]);return;}this[_0x368f23(0x1a7)][_0x4521b6['extensionName']]&&this[_0x368f23(0x1a7)][_0x4521b6['extensionName']][_0x368f23(0x274)](),this[_0x368f23(0x1df)][_0x368f23(0x2b7)](),this[_0x368f23(0x253)]=_0xe0db9f[_0x368f23(0x29a)],this[_0x368f23(0x27b)]('close',this[_0x368f23(0x316)],this[_0x368f23(0x31e)]);}[_0x4873ff(0x257)](_0x1f00f0,_0x1d8471){const _0x1cb1dd=_0x4873ff;if(this[_0x1cb1dd(0x21a)]!==_0xe0db9f[_0x1cb1dd(0x29a)]){if(this[_0x1cb1dd(0x21a)]===_0xe0db9f['CONNECTING']){_0x474ecf(this,this[_0x1cb1dd(0x1c2)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}if(this['readyState']===_0xe0db9f['CLOSING']){this[_0x1cb1dd(0x30b)]&&(this[_0x1cb1dd(0x233)]||this['_receiver'][_0x1cb1dd(0x2e3)][_0x1cb1dd(0x1af)])&&this[_0x1cb1dd(0x1f0)][_0x1cb1dd(0x20e)]();return;}this[_0x1cb1dd(0x253)]=_0xe0db9f[_0x1cb1dd(0x2e5)],this[_0x1cb1dd(0x211)][_0x1cb1dd(0x257)](_0x1f00f0,_0x1d8471,!this[_0x1cb1dd(0x243)],_0x295c51=>{const _0x325f7e=_0x1cb1dd;_0x295c51||(this[_0x325f7e(0x30b)]=!0x0,(this['_closeFrameReceived']||this[_0x325f7e(0x1df)][_0x325f7e(0x2e3)][_0x325f7e(0x1af)])&&this[_0x325f7e(0x1f0)][_0x325f7e(0x20e)]());}),_0xd23ea2(this);}}['pause'](){const _0x534995=_0x4873ff;this[_0x534995(0x21a)]===_0xe0db9f[_0x534995(0x1a5)]||this['readyState']===_0xe0db9f['CLOSED']||(this['_paused']=!0x0,this[_0x534995(0x1f0)]['pause']());}[_0x4873ff(0x294)](_0x70e85b,_0x530a24,_0x39fc36){const _0x3ca181=_0x4873ff;if(this[_0x3ca181(0x21a)]===_0xe0db9f[_0x3ca181(0x1a5)])throw new Error(_0x3ca181(0x2b6));if(typeof _0x70e85b==_0x3ca181(0x2ef)?(_0x39fc36=_0x70e85b,_0x70e85b=_0x530a24=void 0x0):typeof _0x530a24=='function'&&(_0x39fc36=_0x530a24,_0x530a24=void 0x0),typeof _0x70e85b==_0x3ca181(0x269)&&(_0x70e85b=_0x70e85b[_0x3ca181(0x2f9)]()),this['readyState']!==_0xe0db9f[_0x3ca181(0x221)]){_0x16a3b8(this,_0x70e85b,_0x39fc36);return;}_0x530a24===void 0x0&&(_0x530a24=!this['_isServer']),this[_0x3ca181(0x211)][_0x3ca181(0x294)](_0x70e85b||_0x1bd947,_0x530a24,_0x39fc36);}['pong'](_0x3ce9c9,_0x48d64d,_0x59b74c){const _0x1f9b10=_0x4873ff;if(this[_0x1f9b10(0x21a)]===_0xe0db9f[_0x1f9b10(0x1a5)])throw new Error(_0x1f9b10(0x2b6));if(typeof _0x3ce9c9==_0x1f9b10(0x2ef)?(_0x59b74c=_0x3ce9c9,_0x3ce9c9=_0x48d64d=void 0x0):typeof _0x48d64d=='function'&&(_0x59b74c=_0x48d64d,_0x48d64d=void 0x0),typeof _0x3ce9c9=='number'&&(_0x3ce9c9=_0x3ce9c9['toString']()),this[_0x1f9b10(0x21a)]!==_0xe0db9f[_0x1f9b10(0x221)]){_0x16a3b8(this,_0x3ce9c9,_0x59b74c);return;}_0x48d64d===void 0x0&&(_0x48d64d=!this[_0x1f9b10(0x243)]),this[_0x1f9b10(0x211)][_0x1f9b10(0x21e)](_0x3ce9c9||_0x1bd947,_0x48d64d,_0x59b74c);}[_0x4873ff(0x271)](){const _0x8c812f=_0x4873ff;this[_0x8c812f(0x21a)]===_0xe0db9f[_0x8c812f(0x1a5)]||this['readyState']===_0xe0db9f[_0x8c812f(0x29a)]||(this[_0x8c812f(0x2fa)]=!0x1,this[_0x8c812f(0x1df)]['_writableState'][_0x8c812f(0x29f)]||this['_socket'][_0x8c812f(0x271)]());}[_0x4873ff(0x284)](_0xfde8f7,_0x5482e1,_0xdc3e11){const _0x3be455=_0x4873ff;if(this['readyState']===_0xe0db9f[_0x3be455(0x1a5)])throw new Error(_0x3be455(0x2b6));if(typeof _0x5482e1==_0x3be455(0x2ef)&&(_0xdc3e11=_0x5482e1,_0x5482e1={}),typeof _0xfde8f7==_0x3be455(0x269)&&(_0xfde8f7=_0xfde8f7[_0x3be455(0x2f9)]()),this[_0x3be455(0x21a)]!==_0xe0db9f[_0x3be455(0x221)]){_0x16a3b8(this,_0xfde8f7,_0xdc3e11);return;}const _0x268dd3={'binary':typeof _0xfde8f7!=_0x3be455(0x26b),'mask':!this[_0x3be455(0x243)],'compress':!0x0,'fin':!0x0,..._0x5482e1};this[_0x3be455(0x1a7)][_0x4521b6['extensionName']]||(_0x268dd3[_0x3be455(0x1dd)]=!0x1),this['_sender'][_0x3be455(0x284)](_0xfde8f7||_0x1bd947,_0x268dd3,_0xdc3e11);}[_0x4873ff(0x1ea)](){const _0x7f8c58=_0x4873ff;if(this[_0x7f8c58(0x21a)]!==_0xe0db9f[_0x7f8c58(0x29a)]){if(this[_0x7f8c58(0x21a)]===_0xe0db9f[_0x7f8c58(0x1a5)]){_0x474ecf(this,this[_0x7f8c58(0x1c2)],_0x7f8c58(0x2ba));return;}this[_0x7f8c58(0x1f0)]&&(this['_readyState']=_0xe0db9f['CLOSING'],this[_0x7f8c58(0x1f0)]['destroy']());}}}Object[_0x4873ff(0x1e0)](_0xe0db9f,_0x4873ff(0x1a5),{'enumerable':!0x0,'value':_0x1851c1[_0x4873ff(0x240)](_0x4873ff(0x1a5))}),Object[_0x4873ff(0x1e0)](_0xe0db9f[_0x4873ff(0x2c0)],_0x4873ff(0x1a5),{'enumerable':!0x0,'value':_0x1851c1[_0x4873ff(0x240)](_0x4873ff(0x1a5))}),Object[_0x4873ff(0x1e0)](_0xe0db9f,_0x4873ff(0x221),{'enumerable':!0x0,'value':_0x1851c1[_0x4873ff(0x240)](_0x4873ff(0x221))}),Object[_0x4873ff(0x1e0)](_0xe0db9f[_0x4873ff(0x2c0)],_0x4873ff(0x221),{'enumerable':!0x0,'value':_0x1851c1[_0x4873ff(0x240)](_0x4873ff(0x221))}),Object[_0x4873ff(0x1e0)](_0xe0db9f,_0x4873ff(0x2e5),{'enumerable':!0x0,'value':_0x1851c1[_0x4873ff(0x240)]('CLOSING')}),Object['defineProperty'](_0xe0db9f[_0x4873ff(0x2c0)],'CLOSING',{'enumerable':!0x0,'value':_0x1851c1[_0x4873ff(0x240)](_0x4873ff(0x2e5))}),Object[_0x4873ff(0x1e0)](_0xe0db9f,_0x4873ff(0x29a),{'enumerable':!0x0,'value':_0x1851c1[_0x4873ff(0x240)](_0x4873ff(0x29a))}),Object['defineProperty'](_0xe0db9f['prototype'],'CLOSED',{'enumerable':!0x0,'value':_0x1851c1[_0x4873ff(0x240)]('CLOSED')}),[_0x4873ff(0x328),'bufferedAmount',_0x4873ff(0x24b),'isPaused',_0x4873ff(0x309),_0x4873ff(0x21a),'url'][_0x4873ff(0x320)](_0x5a1136=>{const _0x1e04ae=_0x4873ff;Object[_0x1e04ae(0x1e0)](_0xe0db9f[_0x1e04ae(0x2c0)],_0x5a1136,{'enumerable':!0x0});}),['open',_0x4873ff(0x1cf),'close',_0x4873ff(0x2fc)]['forEach'](_0x288118=>{const _0x16044b=_0x4873ff;Object[_0x16044b(0x1e0)](_0xe0db9f[_0x16044b(0x2c0)],'on'+_0x288118,{'enumerable':!0x0,'get'(){const _0x3e1039=_0x16044b;for(const _0x33c7d2 of this[_0x3e1039(0x317)](_0x288118))if(_0x33c7d2[_0x40df70])return _0x33c7d2[_0x4b34e4];return null;},'set'(_0x550490){const _0xb4d30=_0x16044b;for(const _0x2544ea of this['listeners'](_0x288118))if(_0x2544ea[_0x40df70]){this[_0xb4d30(0x2f3)](_0x288118,_0x2544ea);break;}typeof _0x550490==_0xb4d30(0x2ef)&&this['addEventListener'](_0x288118,_0x550490,{[_0x40df70]:!0x0});}});}),_0xe0db9f[_0x4873ff(0x2c0)][_0x4873ff(0x2ff)]=_0x433ea7,_0xe0db9f[_0x4873ff(0x2c0)][_0x4873ff(0x266)]=_0x555ee7,we=_0xe0db9f;function _0x2969a2(_0x57df93,_0x3cf8dc,_0x33aea1,_0x489b8b){const _0x52c8ab=_0x4873ff,_0x329593={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x397c0b[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x489b8b,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x57df93[_0x52c8ab(0x28e)]=_0x329593[_0x52c8ab(0x1fa)],!_0x397c0b[_0x52c8ab(0x332)](_0x329593['protocolVersion']))throw new RangeError(_0x52c8ab(0x20b)+_0x329593[_0x52c8ab(0x307)]+_0x52c8ab(0x26a)+_0x397c0b['join'](',\x20')+')');let _0x36c8d7;if(_0x3cf8dc instanceof _0x203710)_0x36c8d7=_0x3cf8dc;else try{_0x36c8d7=new _0x203710(_0x3cf8dc);}catch{throw new SyntaxError(_0x52c8ab(0x1c0)+_0x3cf8dc);}_0x36c8d7[_0x52c8ab(0x309)]===_0x52c8ab(0x2cf)?_0x36c8d7[_0x52c8ab(0x309)]=_0x52c8ab(0x22e):_0x36c8d7[_0x52c8ab(0x309)]===_0x52c8ab(0x1e2)&&(_0x36c8d7[_0x52c8ab(0x309)]=_0x52c8ab(0x1f7)),_0x57df93['_url']=_0x36c8d7[_0x52c8ab(0x1f2)];const _0x4de5d5=_0x36c8d7[_0x52c8ab(0x309)]===_0x52c8ab(0x1f7),_0x2ebfe1=_0x36c8d7[_0x52c8ab(0x309)]==='ws+unix:';let _0x51f0d9;if(_0x36c8d7['protocol']!==_0x52c8ab(0x22e)&&!_0x4de5d5&&!_0x2ebfe1?_0x51f0d9=_0x52c8ab(0x2ad):_0x2ebfe1&&!_0x36c8d7[_0x52c8ab(0x1f3)]?_0x51f0d9=_0x52c8ab(0x2d0):_0x36c8d7[_0x52c8ab(0x24c)]&&(_0x51f0d9='The\x20URL\x20contains\x20a\x20fragment\x20identifier'),_0x51f0d9){const _0x210310=new SyntaxError(_0x51f0d9);if(_0x57df93[_0x52c8ab(0x1e3)]===0x0)throw _0x210310;_0x3a11b1(_0x57df93,_0x210310);return;}const _0x97aeb3=_0x4de5d5?0x1bb:0x50,_0x49068a=_0x41b2f8(0x10)['toString']('base64'),_0x387e06=_0x4de5d5?_0x3778ee[_0x52c8ab(0x1c6)]:_0x4c8d8c[_0x52c8ab(0x1c6)],_0x3f0fa8=new Set();let _0x552dd9;if(_0x329593['createConnection']=_0x329593[_0x52c8ab(0x246)]||(_0x4de5d5?_0x566b7b:_0x2f4f8f),_0x329593[_0x52c8ab(0x2ed)]=_0x329593[_0x52c8ab(0x2ed)]||_0x97aeb3,_0x329593[_0x52c8ab(0x25f)]=_0x36c8d7[_0x52c8ab(0x25f)]||_0x97aeb3,_0x329593[_0x52c8ab(0x230)]=_0x36c8d7['hostname']['startsWith']('[')?_0x36c8d7[_0x52c8ab(0x268)]['slice'](0x1,-0x1):_0x36c8d7[_0x52c8ab(0x268)],_0x329593[_0x52c8ab(0x1b0)]={..._0x329593[_0x52c8ab(0x1b0)],'Sec-WebSocket-Version':_0x329593[_0x52c8ab(0x307)],'Sec-WebSocket-Key':_0x49068a,'Connection':_0x52c8ab(0x276),'Upgrade':_0x52c8ab(0x1d2)},_0x329593[_0x52c8ab(0x2d9)]=_0x36c8d7[_0x52c8ab(0x1f3)]+_0x36c8d7[_0x52c8ab(0x1e1)],_0x329593[_0x52c8ab(0x239)]=_0x329593[_0x52c8ab(0x2e7)],_0x329593[_0x52c8ab(0x287)]&&(_0x552dd9=new _0x4521b6(_0x329593[_0x52c8ab(0x287)]!==!0x0?_0x329593[_0x52c8ab(0x287)]:{},!0x1,_0x329593[_0x52c8ab(0x2f1)]),_0x329593[_0x52c8ab(0x1b0)]['Sec-WebSocket-Extensions']=_0x31f0ed({[_0x4521b6['extensionName']]:_0x552dd9[_0x52c8ab(0x2b5)]()})),_0x33aea1[_0x52c8ab(0x2f0)]){for(const _0x115f36 of _0x33aea1){if(typeof _0x115f36!=_0x52c8ab(0x26b)||!_0x42534c[_0x52c8ab(0x1e9)](_0x115f36)||_0x3f0fa8['has'](_0x115f36))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x3f0fa8[_0x52c8ab(0x20a)](_0x115f36);}_0x329593[_0x52c8ab(0x1b0)]['Sec-WebSocket-Protocol']=_0x33aea1['join'](',');}if(_0x329593['origin']&&(_0x329593['protocolVersion']<0xd?_0x329593[_0x52c8ab(0x1b0)][_0x52c8ab(0x286)]=_0x329593[_0x52c8ab(0x223)]:_0x329593[_0x52c8ab(0x1b0)][_0x52c8ab(0x31c)]=_0x329593[_0x52c8ab(0x223)]),(_0x36c8d7['username']||_0x36c8d7[_0x52c8ab(0x281)])&&(_0x329593[_0x52c8ab(0x2bf)]=_0x36c8d7[_0x52c8ab(0x22b)]+':'+_0x36c8d7[_0x52c8ab(0x281)]),_0x2ebfe1){const _0x5479bc=_0x329593[_0x52c8ab(0x2d9)]['split'](':');_0x329593['socketPath']=_0x5479bc[0x0],_0x329593[_0x52c8ab(0x2d9)]=_0x5479bc[0x1];}let _0x342ede;if(_0x329593['followRedirects']){if(_0x57df93[_0x52c8ab(0x1e3)]===0x0){_0x57df93[_0x52c8ab(0x2fe)]=_0x2ebfe1,_0x57df93[_0x52c8ab(0x2ab)]=_0x4de5d5,_0x57df93['_originalHostOrSocketPath']=_0x2ebfe1?_0x329593[_0x52c8ab(0x1a2)]:_0x36c8d7[_0x52c8ab(0x230)];const _0x452e55=_0x489b8b&&_0x489b8b[_0x52c8ab(0x1b0)];if(_0x489b8b={..._0x489b8b,'headers':{}},_0x452e55){for(const [_0x1aba9c,_0x8ce6e5]of Object['entries'](_0x452e55))_0x489b8b['headers'][_0x1aba9c[_0x52c8ab(0x32d)]()]=_0x8ce6e5;}}else{if(_0x57df93[_0x52c8ab(0x323)](_0x52c8ab(0x2dd))===0x0){const _0x27e6fc=_0x2ebfe1?_0x57df93[_0x52c8ab(0x2fe)]?_0x329593['socketPath']===_0x57df93[_0x52c8ab(0x25d)]:!0x1:_0x57df93[_0x52c8ab(0x2fe)]?!0x1:_0x36c8d7[_0x52c8ab(0x230)]===_0x57df93[_0x52c8ab(0x25d)];(!_0x27e6fc||_0x57df93[_0x52c8ab(0x2ab)]&&!_0x4de5d5)&&(delete _0x329593[_0x52c8ab(0x1b0)]['authorization'],delete _0x329593[_0x52c8ab(0x1b0)][_0x52c8ab(0x2cb)],_0x27e6fc||delete _0x329593['headers'][_0x52c8ab(0x230)],_0x329593[_0x52c8ab(0x2bf)]=void 0x0);}}_0x329593[_0x52c8ab(0x2bf)]&&!_0x489b8b[_0x52c8ab(0x1b0)]['authorization']&&(_0x489b8b['headers'][_0x52c8ab(0x29e)]='Basic\x20'+Buffer[_0x52c8ab(0x2ee)](_0x329593[_0x52c8ab(0x2bf)])[_0x52c8ab(0x2f9)]('base64')),_0x342ede=_0x57df93['_req']=_0x387e06(_0x329593),_0x57df93['_redirects']&&_0x57df93[_0x52c8ab(0x27b)](_0x52c8ab(0x2dd),_0x57df93[_0x52c8ab(0x2c9)],_0x342ede);}else _0x342ede=_0x57df93[_0x52c8ab(0x1c2)]=_0x387e06(_0x329593);_0x329593[_0x52c8ab(0x239)]&&_0x342ede['on'](_0x52c8ab(0x239),()=>{const _0x10418a=_0x52c8ab;_0x474ecf(_0x57df93,_0x342ede,_0x10418a(0x200));}),_0x342ede['on']('error',_0x31f826=>{_0x342ede===null||_0x342ede[_0x348067]||(_0x342ede=_0x57df93['_req']=null,_0x3a11b1(_0x57df93,_0x31f826));}),_0x342ede['on']('response',_0x1571d0=>{const _0x13c148=_0x52c8ab,_0x2f9f59=_0x1571d0[_0x13c148(0x1b0)][_0x13c148(0x2d5)],_0x17cee8=_0x1571d0[_0x13c148(0x225)];if(_0x2f9f59&&_0x329593[_0x13c148(0x19c)]&&_0x17cee8>=0x12c&&_0x17cee8<0x190){if(++_0x57df93[_0x13c148(0x1e3)]>_0x329593[_0x13c148(0x278)]){_0x474ecf(_0x57df93,_0x342ede,_0x13c148(0x1f4));return;}_0x342ede['abort']();let _0x4a7a26;try{_0x4a7a26=new _0x203710(_0x2f9f59,_0x3cf8dc);}catch{const _0x322378=new SyntaxError(_0x13c148(0x1c0)+_0x2f9f59);_0x3a11b1(_0x57df93,_0x322378);return;}_0x2969a2(_0x57df93,_0x4a7a26,_0x33aea1,_0x489b8b);}else _0x57df93[_0x13c148(0x27b)](_0x13c148(0x2a9),_0x342ede,_0x1571d0)||_0x474ecf(_0x57df93,_0x342ede,_0x13c148(0x313)+_0x1571d0[_0x13c148(0x225)]);}),_0x342ede['on'](_0x52c8ab(0x329),(_0x27622a,_0xc49f77,_0xa500c0)=>{const _0x399d4c=_0x52c8ab;if(_0x57df93[_0x399d4c(0x27b)](_0x399d4c(0x329),_0x27622a),_0x57df93['readyState']!==_0xe0db9f['CONNECTING'])return;_0x342ede=_0x57df93['_req']=null;const _0x406db7=_0x27622a[_0x399d4c(0x1b0)][_0x399d4c(0x329)];if(_0x406db7===void 0x0||_0x406db7[_0x399d4c(0x32d)]()!=='websocket'){_0x474ecf(_0x57df93,_0xc49f77,_0x399d4c(0x330));return;}const _0x30bce9=_0x1e0b0b(_0x399d4c(0x338))['update'](_0x49068a+_0x4976de)['digest'](_0x399d4c(0x2da));if(_0x27622a['headers']['sec-websocket-accept']!==_0x30bce9){_0x474ecf(_0x57df93,_0xc49f77,_0x399d4c(0x2c2));return;}const _0x5948bd=_0x27622a['headers']['sec-websocket-protocol'];let _0x54f456;if(_0x5948bd!==void 0x0?_0x3f0fa8[_0x399d4c(0x33e)]?_0x3f0fa8[_0x399d4c(0x1ff)](_0x5948bd)||(_0x54f456='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0x54f456='Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested':_0x3f0fa8['size']&&(_0x54f456=_0x399d4c(0x27e)),_0x54f456){_0x474ecf(_0x57df93,_0xc49f77,_0x54f456);return;}_0x5948bd&&(_0x57df93[_0x399d4c(0x2d7)]=_0x5948bd);const _0x6dccdf=_0x27622a['headers'][_0x399d4c(0x1e4)];if(_0x6dccdf!==void 0x0){if(!_0x552dd9){_0x474ecf(_0x57df93,_0xc49f77,'Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested');return;}let _0x3561ed;try{_0x3561ed=_0x19521c(_0x6dccdf);}catch{_0x474ecf(_0x57df93,_0xc49f77,_0x399d4c(0x1c4));return;}const _0x3b5692=Object[_0x399d4c(0x289)](_0x3561ed);if(_0x3b5692[_0x399d4c(0x2f0)]!==0x1||_0x3b5692[0x0]!==_0x4521b6[_0x399d4c(0x2bc)]){_0x474ecf(_0x57df93,_0xc49f77,_0x399d4c(0x32c));return;}try{_0x552dd9[_0x399d4c(0x33f)](_0x3561ed[_0x4521b6[_0x399d4c(0x2bc)]]);}catch{_0x474ecf(_0x57df93,_0xc49f77,_0x399d4c(0x1c4));return;}_0x57df93[_0x399d4c(0x1a7)][_0x4521b6[_0x399d4c(0x2bc)]]=_0x552dd9;}_0x57df93[_0x399d4c(0x250)](_0xc49f77,_0xa500c0,{'allowSynchronousEvents':_0x329593[_0x399d4c(0x1d8)],'generateMask':_0x329593[_0x399d4c(0x302)],'maxPayload':_0x329593[_0x399d4c(0x2f1)],'skipUTF8Validation':_0x329593[_0x399d4c(0x2d2)]});}),_0x329593[_0x52c8ab(0x30c)]?_0x329593['finishRequest'](_0x342ede,_0x57df93):_0x342ede[_0x52c8ab(0x20e)]();}function _0x3a11b1(_0x4beec8,_0x1e1164){const _0x1cb809=_0x4873ff;_0x4beec8[_0x1cb809(0x253)]=_0xe0db9f[_0x1cb809(0x2e5)],_0x4beec8[_0x1cb809(0x2d4)]=!0x0,_0x4beec8['emit'](_0x1cb809(0x1cf),_0x1e1164),_0x4beec8[_0x1cb809(0x213)]();}function _0x2f4f8f(_0x4bb1eb){const _0x4b0764=_0x4873ff;return _0x4bb1eb[_0x4b0764(0x2d9)]=_0x4bb1eb[_0x4b0764(0x1a2)],_0x174219[_0x4b0764(0x1ac)](_0x4bb1eb);}function _0x566b7b(_0x5e0083){const _0x4638b6=_0x4873ff;return _0x5e0083[_0x4638b6(0x2d9)]=void 0x0,!_0x5e0083[_0x4638b6(0x245)]&&_0x5e0083[_0x4638b6(0x245)]!==''&&(_0x5e0083[_0x4638b6(0x245)]=_0x174219[_0x4638b6(0x1cc)](_0x5e0083[_0x4638b6(0x230)])?'':_0x5e0083[_0x4638b6(0x230)]),_0x42c864[_0x4638b6(0x1ac)](_0x5e0083);}function _0x474ecf(_0x4372f7,_0x1abcad,_0x406c74){const _0x28d207=_0x4873ff;_0x4372f7[_0x28d207(0x253)]=_0xe0db9f[_0x28d207(0x2e5)];const _0x23196e=new Error(_0x406c74);Error[_0x28d207(0x2e4)](_0x23196e,_0x474ecf),_0x1abcad[_0x28d207(0x326)]?(_0x1abcad[_0x348067]=!0x0,_0x1abcad[_0x28d207(0x31d)](),_0x1abcad[_0x28d207(0x2b2)]&&!_0x1abcad[_0x28d207(0x2b2)][_0x28d207(0x1c5)]&&_0x1abcad[_0x28d207(0x2b2)][_0x28d207(0x311)](),process['nextTick'](_0x3a11b1,_0x4372f7,_0x23196e)):(_0x1abcad[_0x28d207(0x311)](_0x23196e),_0x1abcad[_0x28d207(0x227)]('error',_0x4372f7[_0x28d207(0x27b)][_0x28d207(0x238)](_0x4372f7,_0x28d207(0x1cf))),_0x1abcad[_0x28d207(0x227)](_0x28d207(0x257),_0x4372f7['emitClose'][_0x28d207(0x238)](_0x4372f7)));}function _0x16a3b8(_0x1266e9,_0x27c8a8,_0x2a0920){const _0x2f7acd=_0x4873ff;if(_0x27c8a8){const _0x44af24=_0x15b9f2(_0x27c8a8)?_0x27c8a8[_0x2f7acd(0x33e)]:_0x2bd97e(_0x27c8a8)[_0x2f7acd(0x2f0)];_0x1266e9['_socket']?_0x1266e9[_0x2f7acd(0x211)][_0x2f7acd(0x1b6)]+=_0x44af24:_0x1266e9[_0x2f7acd(0x335)]+=_0x44af24;}if(_0x2a0920){const _0x3d6bdd=new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x20'+_0x1266e9['readyState']+'\x20('+_0x1851c1[_0x1266e9['readyState']]+')');process[_0x2f7acd(0x20d)](_0x2a0920,_0x3d6bdd);}}function _0x2d9598(_0x439ad2,_0x570368){const _0x29a6d8=_0x4873ff,_0x36c099=this[_0x3e7bf4];_0x36c099[_0x29a6d8(0x233)]=!0x0,_0x36c099[_0x29a6d8(0x31e)]=_0x570368,_0x36c099[_0x29a6d8(0x316)]=_0x439ad2,_0x36c099[_0x29a6d8(0x1f0)][_0x3e7bf4]!==void 0x0&&(_0x36c099[_0x29a6d8(0x1f0)][_0x29a6d8(0x2f3)](_0x29a6d8(0x282),_0x3b8b84),process['nextTick'](_0x35c2f4,_0x36c099[_0x29a6d8(0x1f0)]),_0x439ad2===0x3ed?_0x36c099[_0x29a6d8(0x257)]():_0x36c099[_0x29a6d8(0x257)](_0x439ad2,_0x570368));}function _0x271ecd(){const _0x3106bf=_0x4873ff,_0x4cd0e7=this[_0x3e7bf4];_0x4cd0e7['isPaused']||_0x4cd0e7['_socket'][_0x3106bf(0x271)]();}function _0x22d55e(_0x128128){const _0x15cdf1=_0x4873ff,_0x323174=this[_0x3e7bf4];_0x323174[_0x15cdf1(0x1f0)][_0x3e7bf4]!==void 0x0&&(_0x323174[_0x15cdf1(0x1f0)][_0x15cdf1(0x2f3)](_0x15cdf1(0x282),_0x3b8b84),process[_0x15cdf1(0x20d)](_0x35c2f4,_0x323174[_0x15cdf1(0x1f0)]),_0x323174[_0x15cdf1(0x257)](_0x128128[_0x10437f])),_0x323174[_0x15cdf1(0x2d4)]||(_0x323174[_0x15cdf1(0x2d4)]=!0x0,_0x323174['emit'](_0x15cdf1(0x1cf),_0x128128));}function _0x239b0e(){const _0x57cada=_0x4873ff;this[_0x3e7bf4][_0x57cada(0x213)]();}function _0x95ae32(_0x547b55,_0x558d29){const _0x402e41=_0x4873ff;this[_0x3e7bf4][_0x402e41(0x27b)](_0x402e41(0x2fc),_0x547b55,_0x558d29);}function _0xc3e90d(_0x57ccf7){const _0x1d9dd8=_0x4873ff,_0xb11bf1=this[_0x3e7bf4];_0xb11bf1[_0x1d9dd8(0x28e)]&&_0xb11bf1['pong'](_0x57ccf7,!this['_isServer'],_0x5df861),_0xb11bf1[_0x1d9dd8(0x27b)](_0x1d9dd8(0x294),_0x57ccf7);}function _0x42e5aa(_0x42b27f){const _0x3f105f=_0x4873ff;this[_0x3e7bf4]['emit'](_0x3f105f(0x21e),_0x42b27f);}function _0x35c2f4(_0x3daed3){const _0xa0a43=_0x4873ff;_0x3daed3[_0xa0a43(0x271)]();}function _0x4f689f(_0x2d6270){const _0x58188d=_0x4873ff,_0x4a0ee9=this[_0x3e7bf4];_0x4a0ee9[_0x58188d(0x21a)]!==_0xe0db9f['CLOSED']&&(_0x4a0ee9[_0x58188d(0x21a)]===_0xe0db9f[_0x58188d(0x221)]&&(_0x4a0ee9['_readyState']=_0xe0db9f[_0x58188d(0x2e5)],_0xd23ea2(_0x4a0ee9)),this[_0x58188d(0x1f0)]['end'](),_0x4a0ee9[_0x58188d(0x2d4)]||(_0x4a0ee9[_0x58188d(0x2d4)]=!0x0,_0x4a0ee9[_0x58188d(0x27b)](_0x58188d(0x1cf),_0x2d6270)));}function _0xd23ea2(_0x5600ec){const _0x2f2283=_0x4873ff;_0x5600ec[_0x2f2283(0x237)]=setTimeout(_0x5600ec[_0x2f2283(0x1f0)][_0x2f2283(0x311)]['bind'](_0x5600ec[_0x2f2283(0x1f0)]),_0x2bfa67);}function _0x38e05a(){const _0x455b47=_0x4873ff,_0x531705=this[_0x3e7bf4];this['removeListener'](_0x455b47(0x257),_0x38e05a),this['removeListener'](_0x455b47(0x282),_0x3b8b84),this[_0x455b47(0x2f3)](_0x455b47(0x20e),_0x491f0b),_0x531705[_0x455b47(0x253)]=_0xe0db9f[_0x455b47(0x2e5)];let _0x52ca08;!this['_readableState']['endEmitted']&&!_0x531705[_0x455b47(0x233)]&&!_0x531705[_0x455b47(0x1df)][_0x455b47(0x2e3)][_0x455b47(0x1af)]&&(_0x52ca08=_0x531705['_socket'][_0x455b47(0x25c)]())!==null&&_0x531705[_0x455b47(0x1df)][_0x455b47(0x220)](_0x52ca08),_0x531705[_0x455b47(0x1df)][_0x455b47(0x20e)](),this[_0x3e7bf4]=void 0x0,clearTimeout(_0x531705['_closeTimer']),_0x531705[_0x455b47(0x1df)][_0x455b47(0x2e3)]['finished']||_0x531705[_0x455b47(0x1df)]['_writableState'][_0x455b47(0x1af)]?_0x531705[_0x455b47(0x213)]():(_0x531705[_0x455b47(0x1df)]['on'](_0x455b47(0x1cf),_0x239b0e),_0x531705['_receiver']['on'](_0x455b47(0x2fb),_0x239b0e));}function _0x3b8b84(_0x562435){const _0x6bd73b=_0x4873ff;this[_0x3e7bf4][_0x6bd73b(0x1df)][_0x6bd73b(0x220)](_0x562435)||this[_0x6bd73b(0x214)]();}function _0x491f0b(){const _0x3af8d1=_0x4873ff,_0x1f3016=this[_0x3e7bf4];_0x1f3016['_readyState']=_0xe0db9f[_0x3af8d1(0x2e5)],_0x1f3016[_0x3af8d1(0x1df)][_0x3af8d1(0x20e)](),this[_0x3af8d1(0x20e)]();}function _0x873df7(){const _0x19fab6=_0x4873ff,_0x3db7c=this[_0x3e7bf4];this[_0x19fab6(0x2f3)](_0x19fab6(0x1cf),_0x873df7),this['on']('error',_0x5df861),_0x3db7c&&(_0x3db7c[_0x19fab6(0x253)]=_0xe0db9f['CLOSING'],this[_0x19fab6(0x311)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x2f9d23}=_0x201f56;function _0x354027(_0x25185d){const _0x10b2fc=_0x508b;_0x25185d[_0x10b2fc(0x27b)]('close');}function _0x54bac7(){const _0x113d4a=_0x508b;!this[_0x113d4a(0x1c5)]&&this[_0x113d4a(0x2e3)][_0x113d4a(0x1e8)]&&this[_0x113d4a(0x311)]();}function _0x22da56(_0x57465f){const _0x3ab537=_0x508b;this[_0x3ab537(0x2f3)](_0x3ab537(0x1cf),_0x22da56),this[_0x3ab537(0x311)](),this['listenerCount'](_0x3ab537(0x1cf))===0x0&&this[_0x3ab537(0x27b)]('error',_0x57465f);}function _0x387033(_0xa72beb,_0xd198f7){const _0xfed883=_0x508b;let _0x1c8bcf=!0x0;const _0x5986e4=new _0x2f9d23({..._0xd198f7,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0xa72beb['on'](_0xfed883(0x2fc),function(_0x410efc,_0x31027d){const _0x430e6a=_0xfed883,_0x23bc03=!_0x31027d&&_0x5986e4[_0x430e6a(0x333)]['objectMode']?_0x410efc[_0x430e6a(0x2f9)]():_0x410efc;_0x5986e4[_0x430e6a(0x217)](_0x23bc03)||_0xa72beb[_0x430e6a(0x214)]();}),_0xa72beb[_0xfed883(0x227)]('error',function(_0x3ebac3){const _0x26292d=_0xfed883;_0x5986e4[_0x26292d(0x1c5)]||(_0x1c8bcf=!0x1,_0x5986e4['destroy'](_0x3ebac3));}),_0xa72beb[_0xfed883(0x227)](_0xfed883(0x257),function(){const _0x4756b5=_0xfed883;_0x5986e4[_0x4756b5(0x1c5)]||_0x5986e4[_0x4756b5(0x217)](null);}),_0x5986e4['_destroy']=function(_0x463efc,_0x7bbee8){const _0x4d47c4=_0xfed883;if(_0xa72beb[_0x4d47c4(0x21a)]===_0xa72beb[_0x4d47c4(0x29a)]){_0x7bbee8(_0x463efc),process[_0x4d47c4(0x20d)](_0x354027,_0x5986e4);return;}let _0xb831f1=!0x1;_0xa72beb['once']('error',function(_0x1cd10a){_0xb831f1=!0x0,_0x7bbee8(_0x1cd10a);}),_0xa72beb[_0x4d47c4(0x227)](_0x4d47c4(0x257),function(){_0xb831f1||_0x7bbee8(_0x463efc),process['nextTick'](_0x354027,_0x5986e4);}),_0x1c8bcf&&_0xa72beb['terminate']();},_0x5986e4[_0xfed883(0x27d)]=function(_0x3b30d8){const _0xc4226=_0xfed883;if(_0xa72beb[_0xc4226(0x21a)]===_0xa72beb[_0xc4226(0x1a5)]){_0xa72beb[_0xc4226(0x227)](_0xc4226(0x1c1),function(){_0x5986e4['_final'](_0x3b30d8);});return;}_0xa72beb[_0xc4226(0x1f0)]!==null&&(_0xa72beb[_0xc4226(0x1f0)]['_writableState']['finished']?(_0x3b30d8(),_0x5986e4[_0xc4226(0x333)][_0xc4226(0x334)]&&_0x5986e4[_0xc4226(0x311)]()):(_0xa72beb[_0xc4226(0x1f0)][_0xc4226(0x227)]('finish',function(){_0x3b30d8();}),_0xa72beb[_0xc4226(0x257)]()));},_0x5986e4['_read']=function(){const _0x598877=_0xfed883;_0xa72beb['isPaused']&&_0xa72beb[_0x598877(0x271)]();},_0x5986e4[_0xfed883(0x234)]=function(_0x75ae7c,_0x22a676,_0x91aabe){const _0x329743=_0xfed883;if(_0xa72beb[_0x329743(0x21a)]===_0xa72beb[_0x329743(0x1a5)]){_0xa72beb[_0x329743(0x227)](_0x329743(0x1c1),function(){const _0x4576c5=_0x329743;_0x5986e4[_0x4576c5(0x234)](_0x75ae7c,_0x22a676,_0x91aabe);});return;}_0xa72beb[_0x329743(0x284)](_0x75ae7c,_0x91aabe);},_0x5986e4['on'](_0xfed883(0x20e),_0x54bac7),_0x5986e4['on'](_0xfed883(0x1cf),_0x22da56),_0x5986e4;}return Oe=_0x387033,Oe;}function _0x508b(_0x1f61cc,_0x422df1){const _0x3a4c29=_0x3a4c();return _0x508b=function(_0x508bfb,_0x4edf2b){_0x508bfb=_0x508bfb-0x19a;let _0x2f1c7a=_0x3a4c29[_0x508bfb];return _0x2f1c7a;},_0x508b(_0x1f61cc,_0x422df1);}Xt(),dt(),_t();var Zt=Ie();const Qt=Wt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x23d527}=ne();function _0x4d0385(_0x3f2ca6){const _0x569340=_0x508b,_0x36092d=new Set();let _0x11fcdd=-0x1,_0x1c4a86=-0x1,_0x20fda7=0x0;for(_0x20fda7;_0x20fda7<_0x3f2ca6[_0x569340(0x2f0)];_0x20fda7++){const _0x2594be=_0x3f2ca6[_0x569340(0x1cb)](_0x20fda7);if(_0x1c4a86===-0x1&&_0x23d527[_0x2594be]===0x1)_0x11fcdd===-0x1&&(_0x11fcdd=_0x20fda7);else{if(_0x20fda7!==0x0&&(_0x2594be===0x20||_0x2594be===0x9))_0x1c4a86===-0x1&&_0x11fcdd!==-0x1&&(_0x1c4a86=_0x20fda7);else{if(_0x2594be===0x2c){if(_0x11fcdd===-0x1)throw new SyntaxError(_0x569340(0x1da)+_0x20fda7);_0x1c4a86===-0x1&&(_0x1c4a86=_0x20fda7);const _0x27e97a=_0x3f2ca6['slice'](_0x11fcdd,_0x1c4a86);if(_0x36092d[_0x569340(0x1ff)](_0x27e97a))throw new SyntaxError('The\x20\x22'+_0x27e97a+_0x569340(0x2c8));_0x36092d[_0x569340(0x20a)](_0x27e97a),_0x11fcdd=_0x1c4a86=-0x1;}else throw new SyntaxError(_0x569340(0x1da)+_0x20fda7);}}}if(_0x11fcdd===-0x1||_0x1c4a86!==-0x1)throw new SyntaxError(_0x569340(0x1aa));const _0x5644db=_0x3f2ca6[_0x569340(0x222)](_0x11fcdd,_0x20fda7);if(_0x36092d[_0x569340(0x1ff)](_0x5644db))throw new SyntaxError(_0x569340(0x255)+_0x5644db+'\x22\x20subprotocol\x20is\x20duplicated');return _0x36092d['add'](_0x5644db),_0x36092d;}return Ce={'parse':_0x4d0385},Ce;}var Te,ot;function er(){const _0x586654=_0x354711;if(ot)return Te;ot=0x1;const _0x16b886=_0x2d9a8c,_0x3063f0=_0x48a5e1,{Duplex:_0x22552e}=_0x201f56,{createHash:_0x4089c1}=_0x997d7e,_0x5d4bd8=pt(),_0xa74369=he(),_0x4006b6=Jt(),_0x1a2457=Ie(),{GUID:_0x384b49,kWebSocket:_0x135bec}=V(),_0x232494=/^[+/0-9A-Za-z]{22}==$/,_0x174779=0x0,_0x5b8f80=0x1,_0x2cf7e1=0x2;class _0x46b6db extends _0x16b886{constructor(_0x23e2bc,_0x1fd942){const _0x2a3e0f=_0x508b;if(super(),_0x23e2bc={'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':_0x1a2457,..._0x23e2bc},_0x23e2bc[_0x2a3e0f(0x25f)]==null&&!_0x23e2bc[_0x2a3e0f(0x20c)]&&!_0x23e2bc['noServer']||_0x23e2bc[_0x2a3e0f(0x25f)]!=null&&(_0x23e2bc['server']||_0x23e2bc['noServer'])||_0x23e2bc[_0x2a3e0f(0x20c)]&&_0x23e2bc[_0x2a3e0f(0x2e8)])throw new TypeError('One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified');if(_0x23e2bc[_0x2a3e0f(0x25f)]!=null?(this[_0x2a3e0f(0x1fe)]=_0x3063f0[_0x2a3e0f(0x201)]((_0x43a672,_0x60743e)=>{const _0x1d7744=_0x2a3e0f,_0x4e34ac=_0x3063f0[_0x1d7744(0x2c5)][0x1aa];_0x60743e[_0x1d7744(0x1f6)](0x1aa,{'Content-Length':_0x4e34ac[_0x1d7744(0x2f0)],'Content-Type':_0x1d7744(0x25e)}),_0x60743e[_0x1d7744(0x20e)](_0x4e34ac);}),this['_server'][_0x2a3e0f(0x314)](_0x23e2bc[_0x2a3e0f(0x25f)],_0x23e2bc[_0x2a3e0f(0x230)],_0x23e2bc[_0x2a3e0f(0x264)],_0x1fd942)):_0x23e2bc['server']&&(this[_0x2a3e0f(0x1fe)]=_0x23e2bc[_0x2a3e0f(0x20c)]),this[_0x2a3e0f(0x1fe)]){const _0x18fc2a=this['emit'][_0x2a3e0f(0x238)](this,_0x2a3e0f(0x21c));this[_0x2a3e0f(0x2d6)]=_0x3eb266(this[_0x2a3e0f(0x1fe)],{'listening':this[_0x2a3e0f(0x27b)][_0x2a3e0f(0x238)](this,_0x2a3e0f(0x301)),'error':this[_0x2a3e0f(0x27b)][_0x2a3e0f(0x238)](this,_0x2a3e0f(0x1cf)),'upgrade':(_0x6d3ec5,_0x28e8a0,_0x352713)=>{this['handleUpgrade'](_0x6d3ec5,_0x28e8a0,_0x352713,_0x18fc2a);}});}_0x23e2bc[_0x2a3e0f(0x287)]===!0x0&&(_0x23e2bc[_0x2a3e0f(0x287)]={}),_0x23e2bc['clientTracking']&&(this['clients']=new Set(),this[_0x2a3e0f(0x2f6)]=!0x1),this[_0x2a3e0f(0x27f)]=_0x23e2bc,this[_0x2a3e0f(0x258)]=_0x174779;}[_0x586654(0x1c8)](){const _0x2343a7=_0x586654;if(this[_0x2343a7(0x27f)][_0x2343a7(0x2e8)])throw new Error('The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode');return this[_0x2343a7(0x1fe)]?this['_server'][_0x2343a7(0x1c8)]():null;}[_0x586654(0x257)](_0x537363){const _0x2b1d07=_0x586654;if(this['_state']===_0x2cf7e1){_0x537363&&this[_0x2b1d07(0x227)](_0x2b1d07(0x257),()=>{const _0x5d3d1e=_0x2b1d07;_0x537363(new Error(_0x5d3d1e(0x1bf)));}),process[_0x2b1d07(0x20d)](_0x1eea22,this);return;}if(_0x537363&&this[_0x2b1d07(0x227)](_0x2b1d07(0x257),_0x537363),this[_0x2b1d07(0x258)]!==_0x5b8f80){if(this[_0x2b1d07(0x258)]=_0x5b8f80,this[_0x2b1d07(0x27f)][_0x2b1d07(0x2e8)]||this['options'][_0x2b1d07(0x20c)])this[_0x2b1d07(0x1fe)]&&(this[_0x2b1d07(0x2d6)](),this[_0x2b1d07(0x2d6)]=this[_0x2b1d07(0x1fe)]=null),this[_0x2b1d07(0x318)]?this[_0x2b1d07(0x318)][_0x2b1d07(0x33e)]?this['_shouldEmitClose']=!0x0:process[_0x2b1d07(0x20d)](_0x1eea22,this):process['nextTick'](_0x1eea22,this);else{const _0x1f165d=this[_0x2b1d07(0x1fe)];this['_removeListeners'](),this['_removeListeners']=this[_0x2b1d07(0x1fe)]=null,_0x1f165d['close'](()=>{_0x1eea22(this);});}}}[_0x586654(0x1d1)](_0x3ae813){const _0xcc8d3e=_0x586654;if(this[_0xcc8d3e(0x27f)][_0xcc8d3e(0x2d9)]){const _0x5e44c6=_0x3ae813[_0xcc8d3e(0x2c9)][_0xcc8d3e(0x240)]('?');if((_0x5e44c6!==-0x1?_0x3ae813[_0xcc8d3e(0x2c9)][_0xcc8d3e(0x222)](0x0,_0x5e44c6):_0x3ae813[_0xcc8d3e(0x2c9)])!==this['options'][_0xcc8d3e(0x2d9)])return!0x1;}return!0x0;}[_0x586654(0x2b9)](_0x44c686,_0x41b93b,_0x22a126,_0x4e7bad){const _0x44d7e6=_0x586654;_0x41b93b['on'](_0x44d7e6(0x1cf),_0x3ad7ee);const _0x523172=_0x44c686[_0x44d7e6(0x1b0)][_0x44d7e6(0x29d)],_0x3c5037=_0x44c686[_0x44d7e6(0x1b0)][_0x44d7e6(0x329)],_0x26db04=+_0x44c686['headers'][_0x44d7e6(0x19a)];if(_0x44c686[_0x44d7e6(0x2cc)]!==_0x44d7e6(0x2eb)){_0x17680c(this,_0x44c686,_0x41b93b,0x195,_0x44d7e6(0x2df));return;}if(_0x3c5037===void 0x0||_0x3c5037[_0x44d7e6(0x32d)]()!==_0x44d7e6(0x1d2)){_0x17680c(this,_0x44c686,_0x41b93b,0x190,_0x44d7e6(0x330));return;}if(_0x523172===void 0x0||!_0x232494['test'](_0x523172)){_0x17680c(this,_0x44c686,_0x41b93b,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header');return;}if(_0x26db04!==0xd&&_0x26db04!==0x8){_0x17680c(this,_0x44c686,_0x41b93b,0x190,_0x44d7e6(0x2af),{'Sec-WebSocket-Version':_0x44d7e6(0x26c)});return;}if(!this[_0x44d7e6(0x1d1)](_0x44c686)){_0x28901f(_0x41b93b,0x190);return;}const _0x480527=_0x44c686[_0x44d7e6(0x1b0)][_0x44d7e6(0x226)];let _0x214525=new Set();if(_0x480527!==void 0x0)try{_0x214525=_0x4006b6[_0x44d7e6(0x1d9)](_0x480527);}catch{_0x17680c(this,_0x44c686,_0x41b93b,0x190,'Invalid\x20Sec-WebSocket-Protocol\x20header');return;}const _0x16cd4e=_0x44c686[_0x44d7e6(0x1b0)]['sec-websocket-extensions'],_0x186662={};if(this[_0x44d7e6(0x27f)]['perMessageDeflate']&&_0x16cd4e!==void 0x0){const _0x5eeb78=new _0xa74369(this[_0x44d7e6(0x27f)][_0x44d7e6(0x287)],!0x0,this[_0x44d7e6(0x27f)][_0x44d7e6(0x2f1)]);try{const _0x53d605=_0x5d4bd8[_0x44d7e6(0x1d9)](_0x16cd4e);_0x53d605[_0xa74369[_0x44d7e6(0x2bc)]]&&(_0x5eeb78[_0x44d7e6(0x33f)](_0x53d605[_0xa74369['extensionName']]),_0x186662[_0xa74369[_0x44d7e6(0x2bc)]]=_0x5eeb78);}catch{_0x17680c(this,_0x44c686,_0x41b93b,0x190,'Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header');return;}}if(this[_0x44d7e6(0x27f)][_0x44d7e6(0x2db)]){const _0x54bcff={'origin':_0x44c686['headers'][''+(_0x26db04===0x8?'sec-websocket-origin':_0x44d7e6(0x223))],'secure':!!(_0x44c686[_0x44d7e6(0x2b2)][_0x44d7e6(0x260)]||_0x44c686['socket']['encrypted']),'req':_0x44c686};if(this[_0x44d7e6(0x27f)]['verifyClient']['length']===0x2){this[_0x44d7e6(0x27f)][_0x44d7e6(0x2db)](_0x54bcff,(_0x54e9cb,_0x121023,_0x3e2fc4,_0x56756b)=>{const _0x379b81=_0x44d7e6;if(!_0x54e9cb)return _0x28901f(_0x41b93b,_0x121023||0x191,_0x3e2fc4,_0x56756b);this[_0x379b81(0x2b1)](_0x186662,_0x523172,_0x214525,_0x44c686,_0x41b93b,_0x22a126,_0x4e7bad);});return;}if(!this[_0x44d7e6(0x27f)][_0x44d7e6(0x2db)](_0x54bcff))return _0x28901f(_0x41b93b,0x191);}this[_0x44d7e6(0x2b1)](_0x186662,_0x523172,_0x214525,_0x44c686,_0x41b93b,_0x22a126,_0x4e7bad);}['completeUpgrade'](_0x4e38ce,_0x4581fb,_0x51dcde,_0xb4e7bd,_0x438521,_0x3bf468,_0x184232){const _0x25e233=_0x586654;if(!_0x438521['readable']||!_0x438521['writable'])return _0x438521[_0x25e233(0x311)]();if(_0x438521[_0x135bec])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this[_0x25e233(0x258)]>_0x174779)return _0x28901f(_0x438521,0x1f7);const _0x5b7142=[_0x25e233(0x1ad),_0x25e233(0x308),_0x25e233(0x1e5),_0x25e233(0x1d7)+_0x4089c1('sha1')[_0x25e233(0x2ce)](_0x4581fb+_0x384b49)['digest'](_0x25e233(0x2da))],_0x46bbce=new this[(_0x25e233(0x27f))]['WebSocket'](null,void 0x0,this[_0x25e233(0x27f)]);if(_0x51dcde[_0x25e233(0x33e)]){const _0x2f1db6=this[_0x25e233(0x27f)]['handleProtocols']?this[_0x25e233(0x27f)][_0x25e233(0x1f9)](_0x51dcde,_0xb4e7bd):_0x51dcde[_0x25e233(0x254)]()[_0x25e233(0x28b)]()[_0x25e233(0x2c4)];_0x2f1db6&&(_0x5b7142[_0x25e233(0x217)](_0x25e233(0x28d)+_0x2f1db6),_0x46bbce[_0x25e233(0x2d7)]=_0x2f1db6);}if(_0x4e38ce[_0xa74369[_0x25e233(0x2bc)]]){const _0x3df17e=_0x4e38ce[_0xa74369[_0x25e233(0x2bc)]][_0x25e233(0x259)],_0x34a15e=_0x5d4bd8[_0x25e233(0x1e7)]({[_0xa74369[_0x25e233(0x2bc)]]:[_0x3df17e]});_0x5b7142[_0x25e233(0x217)](_0x25e233(0x321)+_0x34a15e),_0x46bbce[_0x25e233(0x1a7)]=_0x4e38ce;}this[_0x25e233(0x27b)](_0x25e233(0x1b0),_0x5b7142,_0xb4e7bd),_0x438521[_0x25e233(0x220)](_0x5b7142[_0x25e233(0x2a1)]('\x0d\x0a')['join']('\x0d\x0a')),_0x438521[_0x25e233(0x2f3)]('error',_0x3ad7ee),_0x46bbce[_0x25e233(0x250)](_0x438521,_0x3bf468,{'allowSynchronousEvents':this['options'][_0x25e233(0x1d8)],'maxPayload':this[_0x25e233(0x27f)][_0x25e233(0x2f1)],'skipUTF8Validation':this[_0x25e233(0x27f)]['skipUTF8Validation']}),this[_0x25e233(0x318)]&&(this[_0x25e233(0x318)][_0x25e233(0x20a)](_0x46bbce),_0x46bbce['on']('close',()=>{const _0x4169c7=_0x25e233;this['clients'][_0x4169c7(0x1bb)](_0x46bbce),this[_0x4169c7(0x2f6)]&&!this[_0x4169c7(0x318)][_0x4169c7(0x33e)]&&process[_0x4169c7(0x20d)](_0x1eea22,this);})),_0x184232(_0x46bbce,_0xb4e7bd);}}Te=_0x46b6db;function _0x3eb266(_0x3cf9d5,_0x4da127){const _0x4554d0=_0x586654;for(const _0x4ac80f of Object[_0x4554d0(0x289)](_0x4da127))_0x3cf9d5['on'](_0x4ac80f,_0x4da127[_0x4ac80f]);return function(){const _0x213507=_0x4554d0;for(const _0x371b9f of Object[_0x213507(0x289)](_0x4da127))_0x3cf9d5['removeListener'](_0x371b9f,_0x4da127[_0x371b9f]);};}function _0x1eea22(_0x535114){const _0x52d234=_0x586654;_0x535114[_0x52d234(0x258)]=_0x2cf7e1,_0x535114[_0x52d234(0x27b)](_0x52d234(0x257));}function _0x3ad7ee(){this['destroy']();}function _0x28901f(_0x4de6f4,_0x14c89b,_0x3e88ec,_0x50607b){const _0x3be110=_0x586654;_0x3e88ec=_0x3e88ec||_0x3063f0[_0x3be110(0x2c5)][_0x14c89b],_0x50607b={'Connection':_0x3be110(0x257),'Content-Type':'text/html','Content-Length':Buffer['byteLength'](_0x3e88ec),..._0x50607b},_0x4de6f4['once'](_0x3be110(0x2fb),_0x4de6f4[_0x3be110(0x311)]),_0x4de6f4['end'](_0x3be110(0x279)+_0x14c89b+'\x20'+_0x3063f0[_0x3be110(0x2c5)][_0x14c89b]+'\x0d\x0a'+Object['keys'](_0x50607b)['map'](_0x49b1f6=>_0x49b1f6+':\x20'+_0x50607b[_0x49b1f6])['join']('\x0d\x0a')+_0x3be110(0x1ab)+_0x3e88ec);}function _0x17680c(_0x127fc6,_0x54165b,_0x35d7c1,_0x5abcca,_0x5d34c7,_0x239503){const _0x56b58c=_0x586654;if(_0x127fc6[_0x56b58c(0x323)](_0x56b58c(0x25a))){const _0x4a8266=new Error(_0x5d34c7);Error[_0x56b58c(0x2e4)](_0x4a8266,_0x17680c),_0x127fc6[_0x56b58c(0x27b)](_0x56b58c(0x25a),_0x4a8266,_0x35d7c1,_0x54165b);}else _0x28901f(_0x35d7c1,_0x5abcca,_0x5d34c7,_0x239503);}return Te;}er();var tr=Object[_0x354711(0x2aa)],rr=(_0x538860,_0x491cb6,_0xe231dc,_0x373de9)=>{const _0x1bc99e=_0x354711;for(var _0x1da765=_0x373de9>0x1?void 0x0:_0x373de9?tr(_0x491cb6,_0xe231dc):_0x491cb6,_0x1639e3=_0x538860[_0x1bc99e(0x2f0)]-0x1,_0x5711fb;_0x1639e3>=0x0;_0x1639e3--)(_0x5711fb=_0x538860[_0x1639e3])&&(_0x1da765=_0x5711fb(_0x1da765)||_0x1da765);return _0x1da765;},sr=(_0x2ea314,_0x438fb4)=>(_0x162f52,_0x2d945b)=>_0x438fb4(_0x162f52,_0x2d945b,_0x2ea314);let Ne=class extends _0x5b22e9{constructor(_0x3c28b5){super(),this['_configService']=_0x3c28b5;}[_0x354711(0x21d)](_0x124236){const _0x3f9109=_0x354711;var _0x1efbdd;const _0x1a717b=(_0x1efbdd=this[_0x3f9109(0x28a)][_0x3f9109(0x21f)](Be))==null?void 0x0:_0x1efbdd[_0x3f9109(0x2e6)];try{const _0x17d542=new Qt(_0x124236,{'headers':{..._0x1a717b}}),_0x54fe00=new _0x180089();return{'URL':_0x124236,'close':(_0x24814c,_0x3271af)=>{const _0x3d41cc=_0x3f9109;_0x17d542[_0x3d41cc(0x257)](_0x24814c,_0x3271af),_0x54fe00[_0x3d41cc(0x23f)]();},'send':_0x7a5c8d=>{const _0x16e482=_0x3f9109;_0x17d542[_0x16e482(0x284)](_0x7a5c8d);},'open$':new _0x285b15(_0x5d7cc8=>{const _0x5731b9=_0x3f9109,_0x6805ef=_0x5e669e=>_0x5d7cc8[_0x5731b9(0x28b)](_0x5e669e);_0x17d542[_0x5731b9(0x2ff)]('open',_0x6805ef),_0x54fe00[_0x5731b9(0x20a)](_0x35541a(()=>_0x17d542['removeEventListener'](_0x5731b9(0x1c1),_0x6805ef)));})[_0x3f9109(0x2cd)](_0x2ef6e4()),'close$':new _0x285b15(_0x1b4459=>{const _0x5acb02=_0x3f9109,_0x2bccf2=_0x14e2a7=>_0x1b4459[_0x5acb02(0x28b)](_0x14e2a7);_0x17d542[_0x5acb02(0x2ff)]('close',_0x2bccf2),_0x54fe00[_0x5acb02(0x20a)](_0x35541a(()=>_0x17d542['removeEventListener'](_0x5acb02(0x257),_0x2bccf2)));})[_0x3f9109(0x2cd)](_0x2ef6e4()),'error$':new _0x285b15(_0x2725db=>{const _0x1a8d4c=_0x3f9109,_0x5a54a5=_0x56a6a7=>_0x2725db[_0x1a8d4c(0x28b)](_0x56a6a7);_0x17d542[_0x1a8d4c(0x2ff)](_0x1a8d4c(0x1cf),_0x5a54a5),_0x54fe00['add'](_0x35541a(()=>_0x17d542[_0x1a8d4c(0x266)](_0x1a8d4c(0x1cf),_0x5a54a5)));})[_0x3f9109(0x2cd)](_0x2ef6e4()),'message$':new _0x285b15(_0x3df1e1=>{const _0x117c73=_0x3f9109,_0x4bfde2=_0x348e7c=>_0x3df1e1[_0x117c73(0x28b)](_0x348e7c);_0x17d542['addEventListener'](_0x117c73(0x2fc),_0x4bfde2),_0x54fe00[_0x117c73(0x20a)](_0x35541a(()=>_0x17d542[_0x117c73(0x266)]('message',_0x4bfde2)));})['pipe'](_0x2ef6e4())};}catch(_0x5b1e2c){return console[_0x3f9109(0x1cf)](_0x5b1e2c),null;}}};Ne=rr([sr(0x0,_0xfe82ca)],Ne);var ir=Object[_0x354711(0x1e0)],nr=Object['getOwnPropertyDescriptor'],or=(_0x43da83,_0x51ffdd,_0x2267a1)=>_0x51ffdd in _0x43da83?ir(_0x43da83,_0x51ffdd,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2267a1}):_0x43da83[_0x51ffdd]=_0x2267a1,ar=(_0x9100f1,_0x26e681,_0x219d68,_0x565e98)=>{for(var _0x48cd87=_0x565e98>0x1?void 0x0:_0x565e98?nr(_0x26e681,_0x219d68):_0x26e681,_0x24b326=_0x9100f1['length']-0x1,_0x54583b;_0x24b326>=0x0;_0x24b326--)(_0x54583b=_0x9100f1[_0x24b326])&&(_0x48cd87=_0x54583b(_0x48cd87)||_0x48cd87);return _0x48cd87;},ke=(_0x1f2280,_0x3149c2)=>(_0xbfd1e5,_0x19cde8)=>_0x3149c2(_0xbfd1e5,_0x19cde8,_0x1f2280),lr=(_0x43bf44,_0x1ae6e0,_0x5abff4)=>or(_0x43bf44,_0x1ae6e0+'',_0x5abff4);let Pe=class extends _0x41de3f{constructor(_0x9b4a6=Ft,_0x1c46e3,_0x5d3d16,_0x540b78){const _0x5ca7c2=_0x354711;_0x9b4a6['customHeaders']||_0x1c46e3[_0x5ca7c2(0x20f)]('[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.'),super(),this['_configService']=_0x5d3d16,this[_0x5ca7c2(0x219)]=_0x540b78,this[_0x5ca7c2(0x28a)][_0x5ca7c2(0x27a)](Be,_0x9b4a6);}['onStarting'](){const _0x33a318=_0x354711;this[_0x33a318(0x2ac)]();}[_0x354711(0x2ac)](){_0x116285(this['_injector'],[[_0x503ed7,{'useClass':Ne}]]);}};lr(Pe,_0x354711(0x247),_0x354711(0x2b4)),Pe=ar([_0x32f0b5(_0x11f551),ke(0x1,_0x334909),ke(0x2,_0xfe82ca),ke(0x3,_0x2ce7ba(_0x72b2eb))],Pe);var fr=Object[_0x354711(0x2aa)],cr=(_0x31e8c4,_0x190384,_0x5d4125,_0x4dce57)=>{const _0x299097=_0x354711;for(var _0x39aaf6=_0x4dce57>0x1?void 0x0:_0x4dce57?fr(_0x190384,_0x5d4125):_0x190384,_0x1b27a9=_0x31e8c4[_0x299097(0x2f0)]-0x1,_0x4dc4a6;_0x1b27a9>=0x0;_0x1b27a9--)(_0x4dc4a6=_0x31e8c4[_0x1b27a9])&&(_0x39aaf6=_0x4dc4a6(_0x39aaf6)||_0x39aaf6);return _0x39aaf6;},se=(_0x515b66,_0x11cf3d)=>(_0x4a0084,_0x3077fc)=>_0x11cf3d(_0x4a0084,_0x3077fc,_0x515b66);let at=class extends _0x1152c3{constructor(_0x1850d5,_0x1e6252,_0x15b0b0,_0x590392,_0x55c32a){const _0x4b564a=_0x354711;super(_0x1850d5,_0x1e6252,_0x15b0b0,_0x590392,_0x55c32a);const _0x5d9e64=this[_0x4b564a(0x28a)][_0x4b564a(0x21f)](Be);this['_httpService']['registerHTTPInterceptor']({'interceptor':(_0x3fde31,_0x41465c)=>{const _0x39ea24=_0x4b564a;var _0x288799;const _0x95ecb6=_0x3fde31[_0x39ea24(0x1b0)];return(_0x288799=_0x5d9e64==null?void 0x0:_0x5d9e64[_0x39ea24(0x2e6)])!=null&&_0x288799['cookie']&&_0x95ecb6['set'](_0x39ea24(0x22c),_0x5d9e64[_0x39ea24(0x2e6)][_0x39ea24(0x2cb)]),_0x41465c(_0x3fde31);}});}async['createSocket'](_0x69d7b6){const _0x5d4747=_0x354711;return this[_0x5d4747(0x1ce)](_0x69d7b6);}};at=cr([se(0x0,_0x2ce7ba(_0x72b2eb)),se(0x1,_0x2ce7ba(_0x595241)),se(0x2,_0xfe82ca),se(0x3,_0x334909),se(0x4,_0x2fa27a)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};