@univerjs-pro/collaboration-client-node 0.15.4 → 0.15.5-insiders.20260212-8882dcc

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0x26743a=_0xfd7d;(function(_0x206c2f,_0x49c346){const _0x52320e=_0xfd7d,_0x19a82e=_0x206c2f();while(!![]){try{const _0x35f27b=parseInt(_0x52320e(0x246))/0x1+parseInt(_0x52320e(0x2d6))/0x2+parseInt(_0x52320e(0x225))/0x3+parseInt(_0x52320e(0x1dc))/0x4+parseInt(_0x52320e(0x263))/0x5+parseInt(_0x52320e(0x280))/0x6+-parseInt(_0x52320e(0x1d2))/0x7;if(_0x35f27b===_0x49c346)break;else _0x19a82e['push'](_0x19a82e['shift']());}catch(_0x431ca0){_0x19a82e['push'](_0x19a82e['shift']());}}}(_0x5cdc,0xc7edd));import{COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x2550df,UniverCollaborationClientPlugin as _0x2d98bb,CollaborationSocketService as _0x162069}from'@univerjs-pro/collaboration-client';import{Disposable as _0x59042d,DisposableCollection as _0x5d8316,toDisposable as _0x2ce8d8,IConfigService as _0x4caa1b,DependentOn as _0x38f840,Inject as _0x480ddf,Injector as _0x39106a,Plugin as _0xfc2ad3,registerDependencies as _0x4f3273,ILogService as _0x28a020}from'@univerjs/core';import{ISocketService as _0x2735b8,HTTPService as _0x13f9d6}from'@univerjs/network';import{Observable as _0x3be2cc,share as _0x4eb6ef}from'rxjs';import _0x4e030c from'events';import _0x5c07e0 from'https';import _0xc8ef0c from'http';import _0x5b4c1b from'net';import _0x434142 from'tls';import _0xdfaedd from'crypto';import _0x3f440c from'stream';import _0xbc54cf from'url';import _0xf73e5b from'zlib';import _0x1fbf6a from'buffer';import{ISnapshotServerService as _0x5d6d8f}from'@univerjs-pro/collaboration';const $t=_0x26743a(0x227),Ft={};function Wt(_0x21d1dd){const _0x49e352=_0x26743a;return _0x21d1dd&&_0x21d1dd['__esModule']&&Object['prototype'][_0x49e352(0x20f)][_0x49e352(0x229)](_0x21d1dd,'default')?_0x21d1dd[_0x49e352(0x1f2)]:_0x21d1dd;}function jt(_0x1c83ec){const _0x28fa2f=_0x26743a;if(Object[_0x28fa2f(0x219)][_0x28fa2f(0x20f)][_0x28fa2f(0x229)](_0x1c83ec,_0x28fa2f(0x2fd)))return _0x1c83ec;var _0x1c6616=_0x1c83ec[_0x28fa2f(0x1f2)];if(typeof _0x1c6616==_0x28fa2f(0x201)){var _0x56193f=function _0x2f2c90(){const _0x13f753=_0x28fa2f;var _0x2c4441=!0x1;try{_0x2c4441=this instanceof _0x2f2c90;}catch{}return _0x2c4441?Reflect['construct'](_0x1c6616,arguments,this['constructor']):_0x1c6616[_0x13f753(0x1fc)](this,arguments);};_0x56193f['prototype']=_0x1c6616[_0x28fa2f(0x219)];}else _0x56193f={};return Object['defineProperty'](_0x56193f,_0x28fa2f(0x2fd),{'value':!0x0}),Object[_0x28fa2f(0x2ad)](_0x1c83ec)[_0x28fa2f(0x203)](function(_0x376510){const _0x518166=_0x28fa2f;var _0x3dc8e6=Object['getOwnPropertyDescriptor'](_0x1c83ec,_0x376510);Object[_0x518166(0x1d7)](_0x56193f,_0x376510,_0x3dc8e6['get']?_0x3dc8e6:{'enumerable':!0x0,'get':function(){return _0x1c83ec[_0x376510];}});}),_0x56193f;}var me,He;function V(){const _0x4d12f4=_0x26743a;if(He)return me;He=0x1;const _0x4ad21c=[_0x4d12f4(0x295),_0x4d12f4(0x222),'fragments'],_0x382746=typeof Blob<'u';return _0x382746&&_0x4ad21c['push'](_0x4d12f4(0x2b7)),me={'BINARY_TYPES':_0x4ad21c,'EMPTY_BUFFER':Buffer[_0x4d12f4(0x179)](0x0),'GUID':_0x4d12f4(0x206),'hasBlob':_0x382746,'kForOnEventAttribute':Symbol(_0x4d12f4(0x1de)),'kListener':Symbol('kListener'),'kStatusCode':Symbol(_0x4d12f4(0x269)),'kWebSocket':Symbol(_0x4d12f4(0x21c)),'NOOP':()=>{}},me;}var ge,ze;function fe(){const _0x4113c2=_0x26743a;if(ze)return ge;ze=0x1;const {EMPTY_BUFFER:_0x2d7a97}=V(),_0x37a386=Buffer[Symbol[_0x4113c2(0x1ee)]];function _0x152e19(_0x789cef,_0x14de82){const _0x3a1ac6=_0x4113c2;if(_0x789cef[_0x3a1ac6(0x23f)]===0x0)return _0x2d7a97;if(_0x789cef[_0x3a1ac6(0x23f)]===0x1)return _0x789cef[0x0];const _0x2bd777=Buffer[_0x3a1ac6(0x254)](_0x14de82);let _0x3fa9a7=0x0;for(let _0x5459ac=0x0;_0x5459ac<_0x789cef[_0x3a1ac6(0x23f)];_0x5459ac++){const _0x4f85a3=_0x789cef[_0x5459ac];_0x2bd777['set'](_0x4f85a3,_0x3fa9a7),_0x3fa9a7+=_0x4f85a3[_0x3a1ac6(0x23f)];}return _0x3fa9a7<_0x14de82?new _0x37a386(_0x2bd777[_0x3a1ac6(0x2a8)],_0x2bd777['byteOffset'],_0x3fa9a7):_0x2bd777;}function _0x2e4603(_0x523012,_0x586b74,_0x4f7b95,_0x54e475,_0x12c83e){for(let _0x248b01=0x0;_0x248b01<_0x12c83e;_0x248b01++)_0x4f7b95[_0x54e475+_0x248b01]=_0x523012[_0x248b01]^_0x586b74[_0x248b01&0x3];}function _0x499070(_0x241ff3,_0x101673){const _0x27f4fa=_0x4113c2;for(let _0x2bd23f=0x0;_0x2bd23f<_0x241ff3[_0x27f4fa(0x23f)];_0x2bd23f++)_0x241ff3[_0x2bd23f]^=_0x101673[_0x2bd23f&0x3];}function _0x3d82ee(_0x9828cb){const _0x1c558b=_0x4113c2;return _0x9828cb[_0x1c558b(0x23f)]===_0x9828cb[_0x1c558b(0x2a8)][_0x1c558b(0x1b1)]?_0x9828cb[_0x1c558b(0x2a8)]:_0x9828cb[_0x1c558b(0x2a8)]['slice'](_0x9828cb[_0x1c558b(0x20c)],_0x9828cb[_0x1c558b(0x20c)]+_0x9828cb[_0x1c558b(0x23f)]);}function _0x5e4d84(_0x1d0b23){const _0x585242=_0x4113c2;if(_0x5e4d84['readOnly']=!0x0,Buffer[_0x585242(0x2f6)](_0x1d0b23))return _0x1d0b23;let _0x2666e5;return _0x1d0b23 instanceof ArrayBuffer?_0x2666e5=new _0x37a386(_0x1d0b23):ArrayBuffer[_0x585242(0x24a)](_0x1d0b23)?_0x2666e5=new _0x37a386(_0x1d0b23[_0x585242(0x2a8)],_0x1d0b23[_0x585242(0x20c)],_0x1d0b23['byteLength']):(_0x2666e5=Buffer['from'](_0x1d0b23),_0x5e4d84[_0x585242(0x2ec)]=!0x1),_0x2666e5;}return ge={'concat':_0x152e19,'mask':_0x2e4603,'toArrayBuffer':_0x3d82ee,'toBuffer':_0x5e4d84,'unmask':_0x499070},ge;}var ye,Ye;function Gt(){const _0x2df34e=_0x26743a;if(Ye)return ye;Ye=0x1;const _0x459bb7=Symbol(_0x2df34e(0x2ef)),_0x2b315a=Symbol(_0x2df34e(0x199));class _0x2cbc45{constructor(_0x436be1){const _0x3d817a=_0x2df34e;this[_0x459bb7]=()=>{const _0x19a8af=_0xfd7d;this[_0x19a8af(0x1e9)]--,this[_0x2b315a]();},this[_0x3d817a(0x1af)]=_0x436be1||0x1/0x0,this['jobs']=[],this[_0x3d817a(0x1e9)]=0x0;}[_0x2df34e(0x2cc)](_0x53501f){const _0x344fb8=_0x2df34e;this[_0x344fb8(0x2eb)]['push'](_0x53501f),this[_0x2b315a]();}[_0x2b315a](){const _0x2d6f81=_0x2df34e;if(this['pending']!==this[_0x2d6f81(0x1af)]&&this[_0x2d6f81(0x2eb)]['length']){const _0x52e971=this[_0x2d6f81(0x2eb)]['shift']();this['pending']++,_0x52e971(this[_0x459bb7]);}}}return ye=_0x2cbc45,ye;}var ve,Ke;function ce(){const _0x685665=_0x26743a;if(Ke)return ve;Ke=0x1;const _0x416234=_0xf73e5b,_0x2c7f93=fe(),_0x47b24b=Gt(),{kStatusCode:_0xb49c26}=V(),_0x4f1732=Buffer[Symbol[_0x685665(0x1ee)]],_0x271896=Buffer[_0x685665(0x244)]([0x0,0x0,0xff,0xff]),_0x262f5e=Symbol(_0x685665(0x2c4)),_0x498856=Symbol(_0x685665(0x249)),_0x3983a1=Symbol(_0x685665(0x2c0)),_0x512c1b=Symbol('buffers'),_0x4d61cc=Symbol(_0x685665(0x253));let _0x2d1383;class _0x417b1c{constructor(_0x21f13a,_0x470532,_0x36747b){const _0x36a0db=_0x685665;if(this[_0x36a0db(0x1f1)]=_0x36747b|0x0,this[_0x36a0db(0x258)]=_0x21f13a||{},this['_threshold']=this[_0x36a0db(0x258)][_0x36a0db(0x1a1)]!==void 0x0?this[_0x36a0db(0x258)][_0x36a0db(0x1a1)]:0x400,this[_0x36a0db(0x27d)]=!!_0x470532,this[_0x36a0db(0x1e1)]=null,this[_0x36a0db(0x1c4)]=null,this[_0x36a0db(0x2c1)]=null,!_0x2d1383){const _0x7a0d40=this[_0x36a0db(0x258)][_0x36a0db(0x1e3)]!==void 0x0?this[_0x36a0db(0x258)][_0x36a0db(0x1e3)]:0xa;_0x2d1383=new _0x47b24b(_0x7a0d40);}}static get[_0x685665(0x1f7)](){const _0x15f304=_0x685665;return _0x15f304(0x2c4);}[_0x685665(0x2ba)](){const _0x4dd3cb=_0x685665,_0xfcdef2={};return this[_0x4dd3cb(0x258)][_0x4dd3cb(0x281)]&&(_0xfcdef2[_0x4dd3cb(0x230)]=!0x0),this[_0x4dd3cb(0x258)][_0x4dd3cb(0x1c7)]&&(_0xfcdef2[_0x4dd3cb(0x2af)]=!0x0),this['_options'][_0x4dd3cb(0x1a0)]&&(_0xfcdef2[_0x4dd3cb(0x25e)]=this[_0x4dd3cb(0x258)][_0x4dd3cb(0x1a0)]),this[_0x4dd3cb(0x258)]['clientMaxWindowBits']?_0xfcdef2[_0x4dd3cb(0x293)]=this[_0x4dd3cb(0x258)][_0x4dd3cb(0x1fe)]:this['_options'][_0x4dd3cb(0x1fe)]==null&&(_0xfcdef2['client_max_window_bits']=!0x0),_0xfcdef2;}['accept'](_0x168ddf){const _0x553152=_0x685665;return _0x168ddf=this['normalizeParams'](_0x168ddf),this[_0x553152(0x2c1)]=this[_0x553152(0x27d)]?this[_0x553152(0x313)](_0x168ddf):this[_0x553152(0x208)](_0x168ddf),this[_0x553152(0x2c1)];}[_0x685665(0x259)](){const _0x41d081=_0x685665;if(this['_inflate']&&(this[_0x41d081(0x1c4)][_0x41d081(0x197)](),this[_0x41d081(0x1c4)]=null),this[_0x41d081(0x1e1)]){const _0x22a2be=this['_deflate'][_0x3983a1];this[_0x41d081(0x1e1)]['close'](),this[_0x41d081(0x1e1)]=null,_0x22a2be&&_0x22a2be(new Error(_0x41d081(0x1c9)));}}[_0x685665(0x313)](_0x258440){const _0x268074=_0x685665,_0x1720a6=this[_0x268074(0x258)],_0x3c1a06=_0x258440[_0x268074(0x30f)](_0x181bc1=>!(_0x1720a6['serverNoContextTakeover']===!0x1&&_0x181bc1[_0x268074(0x230)]||_0x181bc1['server_max_window_bits']&&(_0x1720a6[_0x268074(0x1a0)]===!0x1||typeof _0x1720a6[_0x268074(0x1a0)]==_0x268074(0x1a4)&&_0x1720a6[_0x268074(0x1a0)]>_0x181bc1[_0x268074(0x25e)])||typeof _0x1720a6[_0x268074(0x1fe)]=='number'&&!_0x181bc1['client_max_window_bits']));if(!_0x3c1a06)throw new Error(_0x268074(0x2df));return _0x1720a6[_0x268074(0x281)]&&(_0x3c1a06[_0x268074(0x230)]=!0x0),_0x1720a6['clientNoContextTakeover']&&(_0x3c1a06[_0x268074(0x2af)]=!0x0),typeof _0x1720a6[_0x268074(0x1a0)]==_0x268074(0x1a4)&&(_0x3c1a06['server_max_window_bits']=_0x1720a6[_0x268074(0x1a0)]),typeof _0x1720a6['clientMaxWindowBits']==_0x268074(0x1a4)?_0x3c1a06['client_max_window_bits']=_0x1720a6['clientMaxWindowBits']:(_0x3c1a06['client_max_window_bits']===!0x0||_0x1720a6[_0x268074(0x1fe)]===!0x1)&&delete _0x3c1a06[_0x268074(0x293)],_0x3c1a06;}[_0x685665(0x208)](_0x3ebe77){const _0x2e7137=_0x685665,_0x3d4175=_0x3ebe77[0x0];if(this[_0x2e7137(0x258)][_0x2e7137(0x1c7)]===!0x1&&_0x3d4175['client_no_context_takeover'])throw new Error(_0x2e7137(0x2dd));if(!_0x3d4175[_0x2e7137(0x293)])typeof this['_options'][_0x2e7137(0x1fe)]==_0x2e7137(0x1a4)&&(_0x3d4175[_0x2e7137(0x293)]=this[_0x2e7137(0x258)]['clientMaxWindowBits']);else{if(this[_0x2e7137(0x258)][_0x2e7137(0x1fe)]===!0x1||typeof this[_0x2e7137(0x258)]['clientMaxWindowBits']==_0x2e7137(0x1a4)&&_0x3d4175[_0x2e7137(0x293)]>this[_0x2e7137(0x258)][_0x2e7137(0x1fe)])throw new Error('Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22');}return _0x3d4175;}[_0x685665(0x270)](_0x9248fb){return _0x9248fb['forEach'](_0x6549cf=>{const _0x55ab25=_0xfd7d;Object['keys'](_0x6549cf)[_0x55ab25(0x203)](_0x245408=>{const _0x21683a=_0x55ab25;let _0x408d09=_0x6549cf[_0x245408];if(_0x408d09[_0x21683a(0x23f)]>0x1)throw new Error('Parameter\x20\x22'+_0x245408+_0x21683a(0x1ec));if(_0x408d09=_0x408d09[0x0],_0x245408===_0x21683a(0x293)){if(_0x408d09!==!0x0){const _0x153dfa=+_0x408d09;if(!Number[_0x21683a(0x190)](_0x153dfa)||_0x153dfa<0x8||_0x153dfa>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x245408+_0x21683a(0x19a)+_0x408d09);_0x408d09=_0x153dfa;}else{if(!this['_isServer'])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x245408+_0x21683a(0x19a)+_0x408d09);}}else{if(_0x245408===_0x21683a(0x25e)){const _0xd050d2=+_0x408d09;if(!Number['isInteger'](_0xd050d2)||_0xd050d2<0x8||_0xd050d2>0xf)throw new TypeError(_0x21683a(0x186)+_0x245408+'\x22:\x20'+_0x408d09);_0x408d09=_0xd050d2;}else{if(_0x245408===_0x21683a(0x2af)||_0x245408===_0x21683a(0x230)){if(_0x408d09!==!0x0)throw new TypeError(_0x21683a(0x186)+_0x245408+_0x21683a(0x19a)+_0x408d09);}else throw new Error(_0x21683a(0x25d)+_0x245408+'\x22');}}_0x6549cf[_0x245408]=_0x408d09;});}),_0x9248fb;}[_0x685665(0x2ee)](_0x8e6d93,_0x33bf80,_0x45bb30){const _0x3907a3=_0x685665;_0x2d1383[_0x3907a3(0x2cc)](_0x5ec661=>{const _0x21dce7=_0x3907a3;this[_0x21dce7(0x2a9)](_0x8e6d93,_0x33bf80,(_0x5e38d1,_0x5a8c72)=>{_0x5ec661(),_0x45bb30(_0x5e38d1,_0x5a8c72);});});}['compress'](_0x24ec99,_0x14d07b,_0x5d4f93){const _0x2eedb1=_0x685665;_0x2d1383[_0x2eedb1(0x2cc)](_0xbb2b37=>{this['_compress'](_0x24ec99,_0x14d07b,(_0x426603,_0x4a6070)=>{_0xbb2b37(),_0x5d4f93(_0x426603,_0x4a6070);});});}[_0x685665(0x2a9)](_0x23061f,_0x2d8c7a,_0xea5a66){const _0x2d1aac=_0x685665,_0x30e117=this['_isServer']?_0x2d1aac(0x2d8):_0x2d1aac(0x2fe);if(!this[_0x2d1aac(0x1c4)]){const _0x66ad14=_0x30e117+'_max_window_bits',_0xc51232=typeof this[_0x2d1aac(0x2c1)][_0x66ad14]!=_0x2d1aac(0x1a4)?_0x416234[_0x2d1aac(0x1c0)]:this[_0x2d1aac(0x2c1)][_0x66ad14];this['_inflate']=_0x416234[_0x2d1aac(0x27f)]({...this[_0x2d1aac(0x258)]['zlibInflateOptions'],'windowBits':_0xc51232}),this[_0x2d1aac(0x1c4)][_0x262f5e]=this,this[_0x2d1aac(0x1c4)][_0x498856]=0x0,this[_0x2d1aac(0x1c4)][_0x512c1b]=[],this[_0x2d1aac(0x1c4)]['on'](_0x2d1aac(0x253),_0x29edd0),this[_0x2d1aac(0x1c4)]['on'](_0x2d1aac(0x20b),_0x4a4e8c);}this[_0x2d1aac(0x1c4)][_0x3983a1]=_0xea5a66,this[_0x2d1aac(0x1c4)]['write'](_0x23061f),_0x2d8c7a&&this['_inflate'][_0x2d1aac(0x1c6)](_0x271896),this[_0x2d1aac(0x1c4)][_0x2d1aac(0x26b)](()=>{const _0x124403=_0x2d1aac,_0x3e3861=this[_0x124403(0x1c4)][_0x4d61cc];if(_0x3e3861){this['_inflate'][_0x124403(0x197)](),this[_0x124403(0x1c4)]=null,_0xea5a66(_0x3e3861);return;}const _0x52a4f6=_0x2c7f93[_0x124403(0x300)](this[_0x124403(0x1c4)][_0x512c1b],this[_0x124403(0x1c4)][_0x498856]);this[_0x124403(0x1c4)]['_readableState'][_0x124403(0x17f)]?(this[_0x124403(0x1c4)][_0x124403(0x197)](),this[_0x124403(0x1c4)]=null):(this[_0x124403(0x1c4)][_0x498856]=0x0,this['_inflate'][_0x512c1b]=[],_0x2d8c7a&&this[_0x124403(0x2c1)][_0x30e117+_0x124403(0x1a6)]&&this[_0x124403(0x1c4)][_0x124403(0x2c3)]()),_0xea5a66(null,_0x52a4f6);});}[_0x685665(0x308)](_0x37841b,_0x5e15aa,_0x3446a2){const _0x136974=_0x685665,_0x5e6de9=this[_0x136974(0x27d)]?_0x136974(0x2fe):_0x136974(0x2d8);if(!this[_0x136974(0x1e1)]){const _0x311374=_0x5e6de9+_0x136974(0x21e),_0x3777c4=typeof this[_0x136974(0x2c1)][_0x311374]!=_0x136974(0x1a4)?_0x416234[_0x136974(0x1c0)]:this[_0x136974(0x2c1)][_0x311374];this[_0x136974(0x1e1)]=_0x416234['createDeflateRaw']({...this[_0x136974(0x258)][_0x136974(0x2e8)],'windowBits':_0x3777c4}),this['_deflate'][_0x498856]=0x0,this['_deflate'][_0x512c1b]=[],this[_0x136974(0x1e1)]['on'](_0x136974(0x20b),_0x55dbb2);}this[_0x136974(0x1e1)][_0x3983a1]=_0x3446a2,this[_0x136974(0x1e1)]['write'](_0x37841b),this[_0x136974(0x1e1)][_0x136974(0x26b)](_0x416234['Z_SYNC_FLUSH'],()=>{const _0x5d18ff=_0x136974;if(!this[_0x5d18ff(0x1e1)])return;let _0x78d56d=_0x2c7f93[_0x5d18ff(0x300)](this[_0x5d18ff(0x1e1)][_0x512c1b],this['_deflate'][_0x498856]);_0x5e15aa&&(_0x78d56d=new _0x4f1732(_0x78d56d[_0x5d18ff(0x2a8)],_0x78d56d[_0x5d18ff(0x20c)],_0x78d56d[_0x5d18ff(0x23f)]-0x4)),this[_0x5d18ff(0x1e1)][_0x3983a1]=null,this[_0x5d18ff(0x1e1)][_0x498856]=0x0,this[_0x5d18ff(0x1e1)][_0x512c1b]=[],_0x5e15aa&&this[_0x5d18ff(0x2c1)][_0x5e6de9+'_no_context_takeover']&&this['_deflate'][_0x5d18ff(0x2c3)](),_0x3446a2(null,_0x78d56d);});}}ve=_0x417b1c;function _0x55dbb2(_0x4d8917){const _0x2f73da=_0x685665;this[_0x512c1b]['push'](_0x4d8917),this[_0x498856]+=_0x4d8917[_0x2f73da(0x23f)];}function _0x4a4e8c(_0x2f37a7){const _0x2f671b=_0x685665;if(this[_0x498856]+=_0x2f37a7[_0x2f671b(0x23f)],this[_0x262f5e][_0x2f671b(0x1f1)]<0x1||this[_0x498856]<=this[_0x262f5e][_0x2f671b(0x1f1)]){this[_0x512c1b][_0x2f671b(0x2ea)](_0x2f37a7);return;}this[_0x4d61cc]=new RangeError(_0x2f671b(0x292)),this[_0x4d61cc]['code']='WS_ERR_UNSUPPORTED_MESSAGE_LENGTH',this[_0x4d61cc][_0xb49c26]=0x3f1,this['removeListener']('data',_0x4a4e8c),this[_0x2f671b(0x2c3)]();}function _0x29edd0(_0x443d30){const _0x2f8dec=_0x685665;if(this[_0x262f5e][_0x2f8dec(0x1c4)]=null,this[_0x4d61cc]){this[_0x3983a1](this[_0x4d61cc]);return;}_0x443d30[_0xb49c26]=0x3ef,this[_0x3983a1](_0x443d30);}return ve;}var te={'exports':{}};const Vt={},qt=Object[_0x26743a(0x210)](Object[_0x26743a(0x1d7)]({'__proto__':null,'default':Vt},Symbol[_0x26743a(0x2f7)],{'value':'Module'})),Ht=jt(qt);var Xe;function ie(){const _0x3cc86b=_0x26743a;if(Xe)return te[_0x3cc86b(0x237)];Xe=0x1;const {isUtf8:_0x1d86fd}=_0x1fbf6a,{hasBlob:_0x112ed9}=V(),_0x273a32=[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 _0x145251(_0x1f1f5f){return _0x1f1f5f>=0x3e8&&_0x1f1f5f<=0x3f6&&_0x1f1f5f!==0x3ec&&_0x1f1f5f!==0x3ed&&_0x1f1f5f!==0x3ee||_0x1f1f5f>=0xbb8&&_0x1f1f5f<=0x1387;}function _0x409b3b(_0x529170){const _0x1d9ef6=_0x3cc86b,_0x31c466=_0x529170[_0x1d9ef6(0x23f)];let _0xdadea2=0x0;for(;_0xdadea2<_0x31c466;)if((_0x529170[_0xdadea2]&0x80)===0x0)_0xdadea2++;else{if((_0x529170[_0xdadea2]&0xe0)===0xc0){if(_0xdadea2+0x1===_0x31c466||(_0x529170[_0xdadea2+0x1]&0xc0)!==0x80||(_0x529170[_0xdadea2]&0xfe)===0xc0)return!0x1;_0xdadea2+=0x2;}else{if((_0x529170[_0xdadea2]&0xf0)===0xe0){if(_0xdadea2+0x2>=_0x31c466||(_0x529170[_0xdadea2+0x1]&0xc0)!==0x80||(_0x529170[_0xdadea2+0x2]&0xc0)!==0x80||_0x529170[_0xdadea2]===0xe0&&(_0x529170[_0xdadea2+0x1]&0xe0)===0x80||_0x529170[_0xdadea2]===0xed&&(_0x529170[_0xdadea2+0x1]&0xe0)===0xa0)return!0x1;_0xdadea2+=0x3;}else{if((_0x529170[_0xdadea2]&0xf8)===0xf0){if(_0xdadea2+0x3>=_0x31c466||(_0x529170[_0xdadea2+0x1]&0xc0)!==0x80||(_0x529170[_0xdadea2+0x2]&0xc0)!==0x80||(_0x529170[_0xdadea2+0x3]&0xc0)!==0x80||_0x529170[_0xdadea2]===0xf0&&(_0x529170[_0xdadea2+0x1]&0xf0)===0x80||_0x529170[_0xdadea2]===0xf4&&_0x529170[_0xdadea2+0x1]>0x8f||_0x529170[_0xdadea2]>0xf4)return!0x1;_0xdadea2+=0x4;}else return!0x1;}}}return!0x0;}function _0x91a4c1(_0x524217){const _0x32a8f0=_0x3cc86b;return _0x112ed9&&typeof _0x524217==_0x32a8f0(0x2a4)&&typeof _0x524217[_0x32a8f0(0x1df)]=='function'&&typeof _0x524217[_0x32a8f0(0x17b)]=='string'&&typeof _0x524217['stream']==_0x32a8f0(0x201)&&(_0x524217[Symbol[_0x32a8f0(0x2f7)]]==='Blob'||_0x524217[Symbol[_0x32a8f0(0x2f7)]]===_0x32a8f0(0x2a3));}if(te[_0x3cc86b(0x237)]={'isBlob':_0x91a4c1,'isValidStatusCode':_0x145251,'isValidUTF8':_0x409b3b,'tokenChars':_0x273a32},_0x1d86fd)te['exports'][_0x3cc86b(0x2a2)]=function(_0x4b12f6){const _0x1d1492=_0x3cc86b;return _0x4b12f6[_0x1d1492(0x23f)]<0x18?_0x409b3b(_0x4b12f6):_0x1d86fd(_0x4b12f6);};else{if(!process.env.WS_NO_UTF_8_VALIDATE)try{const _0xb76214=Ht;te[_0x3cc86b(0x237)][_0x3cc86b(0x2a2)]=function(_0x4708d4){return _0x4708d4['length']<0x20?_0x409b3b(_0x4708d4):_0xb76214(_0x4708d4);};}catch{}}return te[_0x3cc86b(0x237)];}var Se,Ze;function ht(){const _0x25c7ca=_0x26743a;if(Ze)return Se;Ze=0x1;const {Writable:_0x54a541}=_0x3f440c,_0x25c311=ce(),{BINARY_TYPES:_0x6659f0,EMPTY_BUFFER:_0x40be2f,kStatusCode:_0xa5f5cd,kWebSocket:_0x259152}=V(),{concat:_0x5b1d46,toArrayBuffer:_0x1435dc,unmask:_0xf51196}=fe(),{isValidStatusCode:_0x1c398c,isValidUTF8:_0x136100}=ie(),_0x286e4d=Buffer[Symbol[_0x25c7ca(0x1ee)]],_0x4e1e04=0x0,_0x431440=0x1,_0x4e0c01=0x2,_0x2b9a16=0x3,_0x5c8fdd=0x4,_0x57922d=0x5,_0x48b3af=0x6;class _0x343325 extends _0x54a541{constructor(_0x3e80d7={}){const _0x42f092=_0x25c7ca;super(),this['_allowSynchronousEvents']=_0x3e80d7[_0x42f092(0x1f6)]!==void 0x0?_0x3e80d7[_0x42f092(0x1f6)]:!0x0,this[_0x42f092(0x1d5)]=_0x3e80d7['binaryType']||_0x6659f0[0x0],this[_0x42f092(0x1fa)]=_0x3e80d7[_0x42f092(0x1b8)]||{},this[_0x42f092(0x27d)]=!!_0x3e80d7[_0x42f092(0x30b)],this['_maxPayload']=_0x3e80d7['maxPayload']|0x0,this[_0x42f092(0x2cd)]=!!_0x3e80d7[_0x42f092(0x2cf)],this[_0x259152]=void 0x0,this[_0x42f092(0x1c1)]=0x0,this[_0x42f092(0x2a5)]=[],this[_0x42f092(0x30d)]=!0x1,this[_0x42f092(0x204)]=0x0,this[_0x42f092(0x25f)]=void 0x0,this[_0x42f092(0x26c)]=0x0,this[_0x42f092(0x2de)]=!0x1,this['_fin']=!0x1,this[_0x42f092(0x24c)]=0x0,this['_totalPayloadLength']=0x0,this[_0x42f092(0x212)]=0x0,this['_fragments']=[],this[_0x42f092(0x30a)]=!0x1,this[_0x42f092(0x200)]=!0x1,this['_state']=_0x4e1e04;}[_0x25c7ca(0x2ed)](_0x533616,_0x266c2d,_0x1f16c9){const _0x28a8f2=_0x25c7ca;if(this['_opcode']===0x8&&this[_0x28a8f2(0x236)]==_0x4e1e04)return _0x1f16c9();this[_0x28a8f2(0x1c1)]+=_0x533616[_0x28a8f2(0x23f)],this['_buffers'][_0x28a8f2(0x2ea)](_0x533616),this['startLoop'](_0x1f16c9);}[_0x25c7ca(0x1d8)](_0x2a0bbf){const _0x15d30c=_0x25c7ca;if(this[_0x15d30c(0x1c1)]-=_0x2a0bbf,_0x2a0bbf===this[_0x15d30c(0x2a5)][0x0][_0x15d30c(0x23f)])return this['_buffers'][_0x15d30c(0x315)]();if(_0x2a0bbf<this['_buffers'][0x0][_0x15d30c(0x23f)]){const _0x4fc3ba=this[_0x15d30c(0x2a5)][0x0];return this[_0x15d30c(0x2a5)][0x0]=new _0x286e4d(_0x4fc3ba[_0x15d30c(0x2a8)],_0x4fc3ba[_0x15d30c(0x20c)]+_0x2a0bbf,_0x4fc3ba[_0x15d30c(0x23f)]-_0x2a0bbf),new _0x286e4d(_0x4fc3ba[_0x15d30c(0x2a8)],_0x4fc3ba['byteOffset'],_0x2a0bbf);}const _0x1cb777=Buffer[_0x15d30c(0x254)](_0x2a0bbf);do{const _0x5dbbe7=this[_0x15d30c(0x2a5)][0x0],_0x370e09=_0x1cb777[_0x15d30c(0x23f)]-_0x2a0bbf;_0x2a0bbf>=_0x5dbbe7[_0x15d30c(0x23f)]?_0x1cb777['set'](this[_0x15d30c(0x2a5)][_0x15d30c(0x315)](),_0x370e09):(_0x1cb777['set'](new Uint8Array(_0x5dbbe7[_0x15d30c(0x2a8)],_0x5dbbe7[_0x15d30c(0x20c)],_0x2a0bbf),_0x370e09),this[_0x15d30c(0x2a5)][0x0]=new _0x286e4d(_0x5dbbe7[_0x15d30c(0x2a8)],_0x5dbbe7[_0x15d30c(0x20c)]+_0x2a0bbf,_0x5dbbe7['length']-_0x2a0bbf)),_0x2a0bbf-=_0x5dbbe7[_0x15d30c(0x23f)];}while(_0x2a0bbf>0x0);return _0x1cb777;}['startLoop'](_0x2e86f3){const _0x339a26=_0x25c7ca;this[_0x339a26(0x200)]=!0x0;do switch(this[_0x339a26(0x236)]){case _0x4e1e04:this['getInfo'](_0x2e86f3);break;case _0x431440:this[_0x339a26(0x1ca)](_0x2e86f3);break;case _0x4e0c01:this['getPayloadLength64'](_0x2e86f3);break;case _0x2b9a16:this[_0x339a26(0x17e)]();break;case _0x5c8fdd:this['getData'](_0x2e86f3);break;case _0x57922d:case _0x48b3af:this[_0x339a26(0x200)]=!0x1;return;}while(this['_loop']);this[_0x339a26(0x30a)]||_0x2e86f3();}[_0x25c7ca(0x242)](_0x986751){const _0x54a67b=_0x25c7ca;if(this[_0x54a67b(0x1c1)]<0x2){this[_0x54a67b(0x200)]=!0x1;return;}const _0xc891f2=this[_0x54a67b(0x1d8)](0x2);if((_0xc891f2[0x0]&0x30)!==0x0){const _0x50bd81=this['createError'](RangeError,_0x54a67b(0x312),!0x0,0x3ea,_0x54a67b(0x19c));_0x986751(_0x50bd81);return;}const _0x4ed6d4=(_0xc891f2[0x0]&0x40)===0x40;if(_0x4ed6d4&&!this['_extensions'][_0x25c311[_0x54a67b(0x1f7)]]){const _0x3733d6=this[_0x54a67b(0x291)](RangeError,_0x54a67b(0x264),!0x0,0x3ea,_0x54a67b(0x2d9));_0x986751(_0x3733d6);return;}if(this[_0x54a67b(0x1f8)]=(_0xc891f2[0x0]&0x80)===0x80,this[_0x54a67b(0x24c)]=_0xc891f2[0x0]&0xf,this['_payloadLength']=_0xc891f2[0x1]&0x7f,this['_opcode']===0x0){if(_0x4ed6d4){const _0x43164b=this[_0x54a67b(0x291)](RangeError,_0x54a67b(0x264),!0x0,0x3ea,_0x54a67b(0x2d9));_0x986751(_0x43164b);return;}if(!this[_0x54a67b(0x26c)]){const _0x51c4fc=this[_0x54a67b(0x291)](RangeError,_0x54a67b(0x265),!0x0,0x3ea,_0x54a67b(0x2c6));_0x986751(_0x51c4fc);return;}this[_0x54a67b(0x24c)]=this[_0x54a67b(0x26c)];}else{if(this[_0x54a67b(0x24c)]===0x1||this[_0x54a67b(0x24c)]===0x2){if(this[_0x54a67b(0x26c)]){const _0x1bac73=this[_0x54a67b(0x291)](RangeError,'invalid\x20opcode\x20'+this[_0x54a67b(0x24c)],!0x0,0x3ea,_0x54a67b(0x2c6));_0x986751(_0x1bac73);return;}this[_0x54a67b(0x30d)]=_0x4ed6d4;}else{if(this['_opcode']>0x7&&this[_0x54a67b(0x24c)]<0xb){if(!this[_0x54a67b(0x1f8)]){const _0x2d8848=this[_0x54a67b(0x291)](RangeError,'FIN\x20must\x20be\x20set',!0x0,0x3ea,_0x54a67b(0x2a7));_0x986751(_0x2d8848);return;}if(_0x4ed6d4){const _0x144217=this['createError'](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x986751(_0x144217);return;}if(this[_0x54a67b(0x204)]>0x7d||this[_0x54a67b(0x24c)]===0x8&&this['_payloadLength']===0x1){const _0x2d8d93=this['createError'](RangeError,_0x54a67b(0x240)+this['_payloadLength'],!0x0,0x3ea,_0x54a67b(0x296));_0x986751(_0x2d8d93);return;}}else{const _0x1b7cca=this[_0x54a67b(0x291)](RangeError,_0x54a67b(0x2b8)+this[_0x54a67b(0x24c)],!0x0,0x3ea,_0x54a67b(0x2c6));_0x986751(_0x1b7cca);return;}}}if(!this[_0x54a67b(0x1f8)]&&!this[_0x54a67b(0x26c)]&&(this['_fragmented']=this[_0x54a67b(0x24c)]),this[_0x54a67b(0x2de)]=(_0xc891f2[0x1]&0x80)===0x80,this[_0x54a67b(0x27d)]){if(!this[_0x54a67b(0x2de)]){const _0x5f54b2=this[_0x54a67b(0x291)](RangeError,_0x54a67b(0x2f2),!0x0,0x3ea,'WS_ERR_EXPECTED_MASK');_0x986751(_0x5f54b2);return;}}else{if(this['_masked']){const _0x26b0af=this[_0x54a67b(0x291)](RangeError,_0x54a67b(0x2d3),!0x0,0x3ea,_0x54a67b(0x299));_0x986751(_0x26b0af);return;}}this[_0x54a67b(0x204)]===0x7e?this[_0x54a67b(0x236)]=_0x431440:this[_0x54a67b(0x204)]===0x7f?this[_0x54a67b(0x236)]=_0x4e0c01:this['haveLength'](_0x986751);}[_0x25c7ca(0x1ca)](_0x56ed50){const _0xe253b1=_0x25c7ca;if(this[_0xe253b1(0x1c1)]<0x2){this[_0xe253b1(0x200)]=!0x1;return;}this[_0xe253b1(0x204)]=this[_0xe253b1(0x1d8)](0x2)[_0xe253b1(0x298)](0x0),this[_0xe253b1(0x245)](_0x56ed50);}[_0x25c7ca(0x233)](_0x406416){const _0x4a897b=_0x25c7ca;if(this['_bufferedBytes']<0x8){this[_0x4a897b(0x200)]=!0x1;return;}const _0x187f6e=this[_0x4a897b(0x1d8)](0x8),_0x1afa23=_0x187f6e[_0x4a897b(0x26a)](0x0);if(_0x1afa23>Math[_0x4a897b(0x1d6)](0x2,0x15)-0x1){const _0xf84b79=this[_0x4a897b(0x291)](RangeError,_0x4a897b(0x2c5),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH');_0x406416(_0xf84b79);return;}this[_0x4a897b(0x204)]=_0x1afa23*Math[_0x4a897b(0x1d6)](0x2,0x20)+_0x187f6e[_0x4a897b(0x26a)](0x4),this[_0x4a897b(0x245)](_0x406416);}[_0x25c7ca(0x245)](_0xcda737){const _0x422aaa=_0x25c7ca;if(this[_0x422aaa(0x204)]&&this['_opcode']<0x8&&(this[_0x422aaa(0x27b)]+=this[_0x422aaa(0x204)],this[_0x422aaa(0x27b)]>this[_0x422aaa(0x1f1)]&&this['_maxPayload']>0x0)){const _0x41c1aa=this['createError'](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x422aaa(0x18b));_0xcda737(_0x41c1aa);return;}this[_0x422aaa(0x2de)]?this[_0x422aaa(0x236)]=_0x2b9a16:this['_state']=_0x5c8fdd;}[_0x25c7ca(0x17e)](){const _0x3eb65e=_0x25c7ca;if(this['_bufferedBytes']<0x4){this[_0x3eb65e(0x200)]=!0x1;return;}this[_0x3eb65e(0x25f)]=this[_0x3eb65e(0x1d8)](0x4),this[_0x3eb65e(0x236)]=_0x5c8fdd;}[_0x25c7ca(0x2d0)](_0x148c83){const _0x34a7df=_0x25c7ca;let _0x251843=_0x40be2f;if(this[_0x34a7df(0x204)]){if(this[_0x34a7df(0x1c1)]<this[_0x34a7df(0x204)]){this['_loop']=!0x1;return;}_0x251843=this[_0x34a7df(0x1d8)](this[_0x34a7df(0x204)]),this[_0x34a7df(0x2de)]&&(this[_0x34a7df(0x25f)][0x0]|this['_mask'][0x1]|this[_0x34a7df(0x25f)][0x2]|this[_0x34a7df(0x25f)][0x3])!==0x0&&_0xf51196(_0x251843,this[_0x34a7df(0x25f)]);}if(this[_0x34a7df(0x24c)]>0x7){this[_0x34a7df(0x1a5)](_0x251843,_0x148c83);return;}if(this[_0x34a7df(0x30d)]){this[_0x34a7df(0x236)]=_0x57922d,this['decompress'](_0x251843,_0x148c83);return;}_0x251843[_0x34a7df(0x23f)]&&(this[_0x34a7df(0x212)]=this[_0x34a7df(0x27b)],this[_0x34a7df(0x252)][_0x34a7df(0x2ea)](_0x251843)),this[_0x34a7df(0x18c)](_0x148c83);}['decompress'](_0x5c423d,_0x2049c3){const _0x386774=_0x25c7ca;this[_0x386774(0x1fa)][_0x25c311['extensionName']][_0x386774(0x2ee)](_0x5c423d,this[_0x386774(0x1f8)],(_0x111aac,_0x27a500)=>{const _0x514d06=_0x386774;if(_0x111aac)return _0x2049c3(_0x111aac);if(_0x27a500[_0x514d06(0x23f)]){if(this[_0x514d06(0x212)]+=_0x27a500[_0x514d06(0x23f)],this['_messageLength']>this['_maxPayload']&&this[_0x514d06(0x1f1)]>0x0){const _0x6d1cd0=this[_0x514d06(0x291)](RangeError,_0x514d06(0x292),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x2049c3(_0x6d1cd0);return;}this[_0x514d06(0x252)][_0x514d06(0x2ea)](_0x27a500);}this[_0x514d06(0x18c)](_0x2049c3),this[_0x514d06(0x236)]===_0x4e1e04&&this[_0x514d06(0x22f)](_0x2049c3);});}[_0x25c7ca(0x18c)](_0x2cd06d){const _0x1773f0=_0x25c7ca;if(!this[_0x1773f0(0x1f8)]){this[_0x1773f0(0x236)]=_0x4e1e04;return;}const _0x4aaa5a=this[_0x1773f0(0x212)],_0x326620=this[_0x1773f0(0x252)];if(this[_0x1773f0(0x27b)]=0x0,this[_0x1773f0(0x212)]=0x0,this[_0x1773f0(0x26c)]=0x0,this[_0x1773f0(0x252)]=[],this[_0x1773f0(0x24c)]===0x2){let _0x56520c;this[_0x1773f0(0x1d5)]===_0x1773f0(0x295)?_0x56520c=_0x5b1d46(_0x326620,_0x4aaa5a):this[_0x1773f0(0x1d5)]==='arraybuffer'?_0x56520c=_0x1435dc(_0x5b1d46(_0x326620,_0x4aaa5a)):this[_0x1773f0(0x1d5)]===_0x1773f0(0x2b7)?_0x56520c=new Blob(_0x326620):_0x56520c=_0x326620,this[_0x1773f0(0x29a)]?(this[_0x1773f0(0x1e2)](_0x1773f0(0x17a),_0x56520c,!0x0),this[_0x1773f0(0x236)]=_0x4e1e04):(this['_state']=_0x48b3af,setImmediate(()=>{const _0xb143bf=_0x1773f0;this[_0xb143bf(0x1e2)]('message',_0x56520c,!0x0),this[_0xb143bf(0x236)]=_0x4e1e04,this[_0xb143bf(0x22f)](_0x2cd06d);}));}else{const _0x1a6c99=_0x5b1d46(_0x326620,_0x4aaa5a);if(!this[_0x1773f0(0x2cd)]&&!_0x136100(_0x1a6c99)){const _0x5dee09=this['createError'](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x1773f0(0x2b2));_0x2cd06d(_0x5dee09);return;}this['_state']===_0x57922d||this[_0x1773f0(0x29a)]?(this[_0x1773f0(0x1e2)]('message',_0x1a6c99,!0x1),this['_state']=_0x4e1e04):(this[_0x1773f0(0x236)]=_0x48b3af,setImmediate(()=>{const _0x3f30e8=_0x1773f0;this[_0x3f30e8(0x1e2)](_0x3f30e8(0x17a),_0x1a6c99,!0x1),this['_state']=_0x4e1e04,this[_0x3f30e8(0x22f)](_0x2cd06d);}));}}[_0x25c7ca(0x1a5)](_0xcdaee1,_0x1f62cf){const _0x36ccda=_0x25c7ca;if(this['_opcode']===0x8){if(_0xcdaee1[_0x36ccda(0x23f)]===0x0)this[_0x36ccda(0x200)]=!0x1,this[_0x36ccda(0x1e2)](_0x36ccda(0x22b),0x3ed,_0x40be2f),this[_0x36ccda(0x194)]();else{const _0x311a50=_0xcdaee1[_0x36ccda(0x298)](0x0);if(!_0x1c398c(_0x311a50)){const _0x55c924=this[_0x36ccda(0x291)](RangeError,_0x36ccda(0x2bd)+_0x311a50,!0x0,0x3ea,_0x36ccda(0x243));_0x1f62cf(_0x55c924);return;}const _0x33cfbd=new _0x286e4d(_0xcdaee1[_0x36ccda(0x2a8)],_0xcdaee1['byteOffset']+0x2,_0xcdaee1['length']-0x2);if(!this[_0x36ccda(0x2cd)]&&!_0x136100(_0x33cfbd)){const _0x553dcc=this[_0x36ccda(0x291)](Error,_0x36ccda(0x277),!0x0,0x3ef,_0x36ccda(0x2b2));_0x1f62cf(_0x553dcc);return;}this[_0x36ccda(0x200)]=!0x1,this['emit'](_0x36ccda(0x22b),_0x311a50,_0x33cfbd),this['end']();}this[_0x36ccda(0x236)]=_0x4e1e04;return;}this[_0x36ccda(0x29a)]?(this[_0x36ccda(0x1e2)](this[_0x36ccda(0x24c)]===0x9?_0x36ccda(0x184):_0x36ccda(0x226),_0xcdaee1),this[_0x36ccda(0x236)]=_0x4e1e04):(this[_0x36ccda(0x236)]=_0x48b3af,setImmediate(()=>{const _0x3ceb54=_0x36ccda;this[_0x3ceb54(0x1e2)](this['_opcode']===0x9?_0x3ceb54(0x184):'pong',_0xcdaee1),this[_0x3ceb54(0x236)]=_0x4e1e04,this['startLoop'](_0x1f62cf);}));}[_0x25c7ca(0x291)](_0x20157d,_0x24e75b,_0x33b1a8,_0x16a4e1,_0x1c8dd6){const _0x1d0dbf=_0x25c7ca;this[_0x1d0dbf(0x200)]=!0x1,this['_errored']=!0x0;const _0x38b35f=new _0x20157d(_0x33b1a8?_0x1d0dbf(0x1da)+_0x24e75b:_0x24e75b);return Error[_0x1d0dbf(0x2fc)](_0x38b35f,this['createError']),_0x38b35f[_0x1d0dbf(0x238)]=_0x1c8dd6,_0x38b35f[_0xa5f5cd]=_0x16a4e1,_0x38b35f;}}return Se=_0x343325,Se;}var Ee,Qe;function ut(){const _0x52595c=_0x26743a;if(Qe)return Ee;Qe=0x1;const {Duplex:_0x11dacc}=_0x3f440c,{randomFillSync:_0x5aef2a}=_0xdfaedd,_0x1e2ce3=ce(),{EMPTY_BUFFER:_0x206cec,kWebSocket:_0x2f86c9,NOOP:_0x37dfb7}=V(),{isBlob:_0x1111a6,isValidStatusCode:_0x564f15}=ie(),{mask:_0x156bea,toBuffer:_0x37580e}=fe(),_0x13ab2f=Symbol(_0x52595c(0x24e)),_0x46f535=Buffer[_0x52595c(0x179)](0x4),_0x35c797=0x8*0x400;let _0x38a9f3,_0x1160ae=_0x35c797;const _0xdd8244=0x0,_0x29f7d9=0x1,_0x55e3e9=0x2;class _0x14bdb8{constructor(_0x5035e5,_0x505c61,_0x1a78b3){const _0x29cf28=_0x52595c;this[_0x29cf28(0x1fa)]=_0x505c61||{},_0x1a78b3&&(this['_generateMask']=_0x1a78b3,this['_maskBuffer']=Buffer[_0x29cf28(0x179)](0x4)),this['_socket']=_0x5035e5,this[_0x29cf28(0x1ce)]=!0x0,this[_0x29cf28(0x308)]=!0x1,this[_0x29cf28(0x1c1)]=0x0,this[_0x29cf28(0x302)]=[],this[_0x29cf28(0x236)]=_0xdd8244,this[_0x29cf28(0x2e1)]=_0x37dfb7,this[_0x2f86c9]=void 0x0;}static['frame'](_0x5b206b,_0x25a5b7){const _0x57065d=_0x52595c;let _0x4c363d,_0x2ea110=!0x1,_0x347733=0x2,_0xc6e9c1=!0x1;_0x25a5b7[_0x57065d(0x2b5)]&&(_0x4c363d=_0x25a5b7[_0x57065d(0x274)]||_0x46f535,_0x25a5b7[_0x57065d(0x1eb)]?_0x25a5b7['generateMask'](_0x4c363d):(_0x1160ae===_0x35c797&&(_0x38a9f3===void 0x0&&(_0x38a9f3=Buffer['alloc'](_0x35c797)),_0x5aef2a(_0x38a9f3,0x0,_0x35c797),_0x1160ae=0x0),_0x4c363d[0x0]=_0x38a9f3[_0x1160ae++],_0x4c363d[0x1]=_0x38a9f3[_0x1160ae++],_0x4c363d[0x2]=_0x38a9f3[_0x1160ae++],_0x4c363d[0x3]=_0x38a9f3[_0x1160ae++]),_0xc6e9c1=(_0x4c363d[0x0]|_0x4c363d[0x1]|_0x4c363d[0x2]|_0x4c363d[0x3])===0x0,_0x347733=0x6);let _0x266de5;typeof _0x5b206b=='string'?(!_0x25a5b7[_0x57065d(0x2b5)]||_0xc6e9c1)&&_0x25a5b7[_0x13ab2f]!==void 0x0?_0x266de5=_0x25a5b7[_0x13ab2f]:(_0x5b206b=Buffer[_0x57065d(0x244)](_0x5b206b),_0x266de5=_0x5b206b['length']):(_0x266de5=_0x5b206b[_0x57065d(0x23f)],_0x2ea110=_0x25a5b7['mask']&&_0x25a5b7[_0x57065d(0x2ec)]&&!_0xc6e9c1);let _0x4ec779=_0x266de5;_0x266de5>=0x10000?(_0x347733+=0x8,_0x4ec779=0x7f):_0x266de5>0x7d&&(_0x347733+=0x2,_0x4ec779=0x7e);const _0x42d9f8=Buffer[_0x57065d(0x254)](_0x2ea110?_0x266de5+_0x347733:_0x347733);return _0x42d9f8[0x0]=_0x25a5b7[_0x57065d(0x1a9)]?_0x25a5b7['opcode']|0x80:_0x25a5b7[_0x57065d(0x2f1)],_0x25a5b7['rsv1']&&(_0x42d9f8[0x0]|=0x40),_0x42d9f8[0x1]=_0x4ec779,_0x4ec779===0x7e?_0x42d9f8[_0x57065d(0x282)](_0x266de5,0x2):_0x4ec779===0x7f&&(_0x42d9f8[0x2]=_0x42d9f8[0x3]=0x0,_0x42d9f8[_0x57065d(0x205)](_0x266de5,0x4,0x6)),_0x25a5b7[_0x57065d(0x2b5)]?(_0x42d9f8[0x1]|=0x80,_0x42d9f8[_0x347733-0x4]=_0x4c363d[0x0],_0x42d9f8[_0x347733-0x3]=_0x4c363d[0x1],_0x42d9f8[_0x347733-0x2]=_0x4c363d[0x2],_0x42d9f8[_0x347733-0x1]=_0x4c363d[0x3],_0xc6e9c1?[_0x42d9f8,_0x5b206b]:_0x2ea110?(_0x156bea(_0x5b206b,_0x4c363d,_0x42d9f8,_0x347733,_0x266de5),[_0x42d9f8]):(_0x156bea(_0x5b206b,_0x4c363d,_0x5b206b,0x0,_0x266de5),[_0x42d9f8,_0x5b206b])):[_0x42d9f8,_0x5b206b];}[_0x52595c(0x197)](_0x55c3ed,_0x27d67e,_0x59bea0,_0x193b96){const _0x2741f2=_0x52595c;let _0x498fc9;if(_0x55c3ed===void 0x0)_0x498fc9=_0x206cec;else{if(typeof _0x55c3ed!=_0x2741f2(0x1a4)||!_0x564f15(_0x55c3ed))throw new TypeError(_0x2741f2(0x1ed));if(_0x27d67e===void 0x0||!_0x27d67e[_0x2741f2(0x23f)])_0x498fc9=Buffer[_0x2741f2(0x254)](0x2),_0x498fc9[_0x2741f2(0x282)](_0x55c3ed,0x0);else{const _0x598319=Buffer[_0x2741f2(0x1b1)](_0x27d67e);if(_0x598319>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x498fc9=Buffer[_0x2741f2(0x254)](0x2+_0x598319),_0x498fc9['writeUInt16BE'](_0x55c3ed,0x0),typeof _0x27d67e=='string'?_0x498fc9[_0x2741f2(0x1c6)](_0x27d67e,0x2):_0x498fc9[_0x2741f2(0x2c7)](_0x27d67e,0x2);}}const _0x482cc1={[_0x13ab2f]:_0x498fc9[_0x2741f2(0x23f)],'fin':!0x0,'generateMask':this[_0x2741f2(0x257)],'mask':_0x59bea0,'maskBuffer':this[_0x2741f2(0x2e6)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x2741f2(0x236)]!==_0xdd8244?this[_0x2741f2(0x193)]([this[_0x2741f2(0x21f)],_0x498fc9,!0x1,_0x482cc1,_0x193b96]):this[_0x2741f2(0x23b)](_0x14bdb8['frame'](_0x498fc9,_0x482cc1),_0x193b96);}[_0x52595c(0x184)](_0x5ad200,_0x2638c3,_0x53ac00){const _0x555e6c=_0x52595c;let _0x3c0e7f,_0x1be4e2;if(typeof _0x5ad200==_0x555e6c(0x211)?(_0x3c0e7f=Buffer[_0x555e6c(0x1b1)](_0x5ad200),_0x1be4e2=!0x1):_0x1111a6(_0x5ad200)?(_0x3c0e7f=_0x5ad200[_0x555e6c(0x251)],_0x1be4e2=!0x1):(_0x5ad200=_0x37580e(_0x5ad200),_0x3c0e7f=_0x5ad200['length'],_0x1be4e2=_0x37580e[_0x555e6c(0x2ec)]),_0x3c0e7f>0x7d)throw new RangeError(_0x555e6c(0x2e0));const _0x56ba48={[_0x13ab2f]:_0x3c0e7f,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x2638c3,'maskBuffer':this[_0x555e6c(0x2e6)],'opcode':0x9,'readOnly':_0x1be4e2,'rsv1':!0x1};_0x1111a6(_0x5ad200)?this[_0x555e6c(0x236)]!==_0xdd8244?this['enqueue']([this[_0x555e6c(0x20e)],_0x5ad200,!0x1,_0x56ba48,_0x53ac00]):this[_0x555e6c(0x20e)](_0x5ad200,!0x1,_0x56ba48,_0x53ac00):this['_state']!==_0xdd8244?this['enqueue']([this[_0x555e6c(0x21f)],_0x5ad200,!0x1,_0x56ba48,_0x53ac00]):this[_0x555e6c(0x23b)](_0x14bdb8[_0x555e6c(0x2d1)](_0x5ad200,_0x56ba48),_0x53ac00);}[_0x52595c(0x226)](_0xee0c72,_0x7524e4,_0x587389){const _0x31b4e7=_0x52595c;let _0x465055,_0x362bf7;if(typeof _0xee0c72==_0x31b4e7(0x211)?(_0x465055=Buffer[_0x31b4e7(0x1b1)](_0xee0c72),_0x362bf7=!0x1):_0x1111a6(_0xee0c72)?(_0x465055=_0xee0c72[_0x31b4e7(0x251)],_0x362bf7=!0x1):(_0xee0c72=_0x37580e(_0xee0c72),_0x465055=_0xee0c72[_0x31b4e7(0x23f)],_0x362bf7=_0x37580e['readOnly']),_0x465055>0x7d)throw new RangeError(_0x31b4e7(0x2e0));const _0x5a1522={[_0x13ab2f]:_0x465055,'fin':!0x0,'generateMask':this[_0x31b4e7(0x257)],'mask':_0x7524e4,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x362bf7,'rsv1':!0x1};_0x1111a6(_0xee0c72)?this[_0x31b4e7(0x236)]!==_0xdd8244?this[_0x31b4e7(0x193)]([this[_0x31b4e7(0x20e)],_0xee0c72,!0x1,_0x5a1522,_0x587389]):this[_0x31b4e7(0x20e)](_0xee0c72,!0x1,_0x5a1522,_0x587389):this[_0x31b4e7(0x236)]!==_0xdd8244?this['enqueue']([this[_0x31b4e7(0x21f)],_0xee0c72,!0x1,_0x5a1522,_0x587389]):this[_0x31b4e7(0x23b)](_0x14bdb8[_0x31b4e7(0x2d1)](_0xee0c72,_0x5a1522),_0x587389);}['send'](_0x2fcb42,_0x2c73ff,_0x26053b){const _0x4ab435=_0x52595c,_0x242253=this['_extensions'][_0x1e2ce3['extensionName']];let _0x524948=_0x2c73ff['binary']?0x2:0x1,_0x27f8f9=_0x2c73ff[_0x4ab435(0x2fa)],_0x52d721,_0x23141f;typeof _0x2fcb42==_0x4ab435(0x211)?(_0x52d721=Buffer[_0x4ab435(0x1b1)](_0x2fcb42),_0x23141f=!0x1):_0x1111a6(_0x2fcb42)?(_0x52d721=_0x2fcb42[_0x4ab435(0x251)],_0x23141f=!0x1):(_0x2fcb42=_0x37580e(_0x2fcb42),_0x52d721=_0x2fcb42['length'],_0x23141f=_0x37580e[_0x4ab435(0x2ec)]),this[_0x4ab435(0x1ce)]?(this[_0x4ab435(0x1ce)]=!0x1,_0x27f8f9&&_0x242253&&_0x242253[_0x4ab435(0x2c1)][_0x242253[_0x4ab435(0x27d)]?_0x4ab435(0x230):_0x4ab435(0x2af)]&&(_0x27f8f9=_0x52d721>=_0x242253[_0x4ab435(0x261)]),this['_compress']=_0x27f8f9):(_0x27f8f9=!0x1,_0x524948=0x0),_0x2c73ff[_0x4ab435(0x1a9)]&&(this[_0x4ab435(0x1ce)]=!0x0);const _0x3cda17={[_0x13ab2f]:_0x52d721,'fin':_0x2c73ff['fin'],'generateMask':this[_0x4ab435(0x257)],'mask':_0x2c73ff[_0x4ab435(0x2b5)],'maskBuffer':this['_maskBuffer'],'opcode':_0x524948,'readOnly':_0x23141f,'rsv1':_0x27f8f9};_0x1111a6(_0x2fcb42)?this['_state']!==_0xdd8244?this[_0x4ab435(0x193)]([this['getBlobData'],_0x2fcb42,this['_compress'],_0x3cda17,_0x26053b]):this[_0x4ab435(0x20e)](_0x2fcb42,this[_0x4ab435(0x308)],_0x3cda17,_0x26053b):this['_state']!==_0xdd8244?this[_0x4ab435(0x193)]([this['dispatch'],_0x2fcb42,this[_0x4ab435(0x308)],_0x3cda17,_0x26053b]):this['dispatch'](_0x2fcb42,this['_compress'],_0x3cda17,_0x26053b);}['getBlobData'](_0x3a1581,_0x290946,_0x6fac02,_0x2c2ca5){const _0x213095=_0x52595c;this[_0x213095(0x1c1)]+=_0x6fac02[_0x13ab2f],this[_0x213095(0x236)]=_0x55e3e9,_0x3a1581[_0x213095(0x1df)]()['then'](_0x5dce26=>{const _0x295069=_0x213095;if(this['_socket'][_0x295069(0x29c)]){const _0x169a90=new Error('The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read');process[_0x295069(0x1ab)](_0x29d6a7,this,_0x169a90,_0x2c2ca5);return;}this[_0x295069(0x1c1)]-=_0x6fac02[_0x13ab2f];const _0x2ca52b=_0x37580e(_0x5dce26);_0x290946?this[_0x295069(0x21f)](_0x2ca52b,_0x290946,_0x6fac02,_0x2c2ca5):(this[_0x295069(0x236)]=_0xdd8244,this[_0x295069(0x23b)](_0x14bdb8['frame'](_0x2ca52b,_0x6fac02),_0x2c2ca5),this[_0x295069(0x27c)]());})['catch'](_0x1acccc=>{const _0x427148=_0x213095;process[_0x427148(0x1ab)](_0x24df36,this,_0x1acccc,_0x2c2ca5);});}['dispatch'](_0x20ef24,_0x48a9aa,_0x5acae5,_0xd29b3d){const _0x4bbe09=_0x52595c;if(!_0x48a9aa){this[_0x4bbe09(0x23b)](_0x14bdb8['frame'](_0x20ef24,_0x5acae5),_0xd29b3d);return;}const _0x225328=this[_0x4bbe09(0x1fa)][_0x1e2ce3[_0x4bbe09(0x1f7)]];this['_bufferedBytes']+=_0x5acae5[_0x13ab2f],this[_0x4bbe09(0x236)]=_0x29f7d9,_0x225328[_0x4bbe09(0x2fa)](_0x20ef24,_0x5acae5[_0x4bbe09(0x1a9)],(_0x1bb705,_0x114bf2)=>{const _0x58c6c8=_0x4bbe09;if(this[_0x58c6c8(0x317)][_0x58c6c8(0x29c)]){const _0x2104a5=new Error(_0x58c6c8(0x2ac));_0x29d6a7(this,_0x2104a5,_0xd29b3d);return;}this[_0x58c6c8(0x1c1)]-=_0x5acae5[_0x13ab2f],this[_0x58c6c8(0x236)]=_0xdd8244,_0x5acae5['readOnly']=!0x1,this[_0x58c6c8(0x23b)](_0x14bdb8[_0x58c6c8(0x2d1)](_0x114bf2,_0x5acae5),_0xd29b3d),this[_0x58c6c8(0x27c)]();});}[_0x52595c(0x27c)](){const _0x3f2ae7=_0x52595c;for(;this['_state']===_0xdd8244&&this['_queue'][_0x3f2ae7(0x23f)];){const _0x26b512=this[_0x3f2ae7(0x302)][_0x3f2ae7(0x315)]();this['_bufferedBytes']-=_0x26b512[0x3][_0x13ab2f],Reflect[_0x3f2ae7(0x1fc)](_0x26b512[0x0],this,_0x26b512[_0x3f2ae7(0x1e0)](0x1));}}['enqueue'](_0x479dc2){const _0x39022d=_0x52595c;this[_0x39022d(0x1c1)]+=_0x479dc2[0x3][_0x13ab2f],this[_0x39022d(0x302)][_0x39022d(0x2ea)](_0x479dc2);}['sendFrame'](_0x12420d,_0x180326){const _0x4dc809=_0x52595c;_0x12420d[_0x4dc809(0x23f)]===0x2?(this[_0x4dc809(0x317)]['cork'](),this[_0x4dc809(0x317)]['write'](_0x12420d[0x0]),this['_socket'][_0x4dc809(0x1c6)](_0x12420d[0x1],_0x180326),this[_0x4dc809(0x317)][_0x4dc809(0x319)]()):this['_socket'][_0x4dc809(0x1c6)](_0x12420d[0x0],_0x180326);}}Ee=_0x14bdb8;function _0x29d6a7(_0x3820a0,_0xe3d244,_0x13a757){const _0x44da7f=_0x52595c;typeof _0x13a757=='function'&&_0x13a757(_0xe3d244);for(let _0x293429=0x0;_0x293429<_0x3820a0['_queue'][_0x44da7f(0x23f)];_0x293429++){const _0x2bc105=_0x3820a0[_0x44da7f(0x302)][_0x293429],_0x26ba28=_0x2bc105[_0x2bc105[_0x44da7f(0x23f)]-0x1];typeof _0x26ba28=='function'&&_0x26ba28(_0xe3d244);}}function _0x24df36(_0x1cee69,_0x147366,_0x32830a){const _0x5b7fd3=_0x52595c;_0x29d6a7(_0x1cee69,_0x147366,_0x32830a),_0x1cee69[_0x5b7fd3(0x2e1)](_0x147366);}return Ee;}var xe,Je;function _0xfd7d(_0x38f28b,_0x5d1433){_0x38f28b=_0x38f28b-0x175;const _0x5cdc07=_0x5cdc();let _0xfd7d9f=_0x5cdc07[_0x38f28b];return _0xfd7d9f;}function zt(){const _0xb247ec=_0x26743a;if(Je)return xe;Je=0x1;const {kForOnEventAttribute:_0x5caa9f,kListener:_0x2911c0}=V(),_0x4abd27=Symbol(_0xb247ec(0x23c)),_0x35c381=Symbol(_0xb247ec(0x1e7)),_0x529d48=Symbol('kError'),_0x5b62c0=Symbol(_0xb247ec(0x2b4)),_0x32eedc=Symbol('kReason'),_0x5e46c8=Symbol(_0xb247ec(0x2a0)),_0x256594=Symbol(_0xb247ec(0x24f)),_0x4cc009=Symbol(_0xb247ec(0x316));class _0x316e2d{constructor(_0x423d9d){this[_0x5e46c8]=null,this[_0x256594]=_0x423d9d;}get[_0xb247ec(0x196)](){return this[_0x5e46c8];}get[_0xb247ec(0x17b)](){return this[_0x256594];}}Object[_0xb247ec(0x1d7)](_0x316e2d[_0xb247ec(0x219)],_0xb247ec(0x196),{'enumerable':!0x0}),Object[_0xb247ec(0x1d7)](_0x316e2d[_0xb247ec(0x219)],_0xb247ec(0x17b),{'enumerable':!0x0});class _0x1a13ef extends _0x316e2d{constructor(_0x34e475,_0x5ae532={}){const _0x383279=_0xb247ec;super(_0x34e475),this[_0x4abd27]=_0x5ae532['code']===void 0x0?0x0:_0x5ae532[_0x383279(0x238)],this[_0x32eedc]=_0x5ae532[_0x383279(0x1b5)]===void 0x0?'':_0x5ae532[_0x383279(0x1b5)],this[_0x4cc009]=_0x5ae532[_0x383279(0x224)]===void 0x0?!0x1:_0x5ae532[_0x383279(0x224)];}get[_0xb247ec(0x238)](){return this[_0x4abd27];}get[_0xb247ec(0x1b5)](){return this[_0x32eedc];}get['wasClean'](){return this[_0x4cc009];}}Object[_0xb247ec(0x1d7)](_0x1a13ef[_0xb247ec(0x219)],_0xb247ec(0x238),{'enumerable':!0x0}),Object['defineProperty'](_0x1a13ef[_0xb247ec(0x219)],_0xb247ec(0x1b5),{'enumerable':!0x0}),Object[_0xb247ec(0x1d7)](_0x1a13ef['prototype'],_0xb247ec(0x224),{'enumerable':!0x0});class _0x55bf41 extends _0x316e2d{constructor(_0x8cc1dc,_0x2aaed7={}){const _0x234c9d=_0xb247ec;super(_0x8cc1dc),this[_0x529d48]=_0x2aaed7['error']===void 0x0?null:_0x2aaed7[_0x234c9d(0x253)],this[_0x5b62c0]=_0x2aaed7[_0x234c9d(0x17a)]===void 0x0?'':_0x2aaed7[_0x234c9d(0x17a)];}get[_0xb247ec(0x253)](){return this[_0x529d48];}get[_0xb247ec(0x17a)](){return this[_0x5b62c0];}}Object[_0xb247ec(0x1d7)](_0x55bf41[_0xb247ec(0x219)],_0xb247ec(0x253),{'enumerable':!0x0}),Object['defineProperty'](_0x55bf41[_0xb247ec(0x219)],_0xb247ec(0x17a),{'enumerable':!0x0});class _0x8ce207 extends _0x316e2d{constructor(_0x52db52,_0x39a594={}){const _0x115b01=_0xb247ec;super(_0x52db52),this[_0x35c381]=_0x39a594['data']===void 0x0?null:_0x39a594[_0x115b01(0x20b)];}get[_0xb247ec(0x20b)](){return this[_0x35c381];}}Object['defineProperty'](_0x8ce207['prototype'],_0xb247ec(0x20b),{'enumerable':!0x0}),xe={'CloseEvent':_0x1a13ef,'ErrorEvent':_0x55bf41,'Event':_0x316e2d,'EventTarget':{'addEventListener'(_0x1f8e25,_0x284181,_0x3fdc08={}){const _0x4216e1=_0xb247ec;for(const _0x497343 of this[_0x4216e1(0x223)](_0x1f8e25))if(!_0x3fdc08[_0x5caa9f]&&_0x497343[_0x2911c0]===_0x284181&&!_0x497343[_0x5caa9f])return;let _0x58451e;if(_0x1f8e25===_0x4216e1(0x17a))_0x58451e=function(_0x15e489,_0x557041){const _0x5e61f2=_0x4216e1,_0x8810d8=new _0x8ce207(_0x5e61f2(0x17a),{'data':_0x557041?_0x15e489:_0x15e489[_0x5e61f2(0x18d)]()});_0x8810d8[_0x5e46c8]=this,_0x56fa26(_0x284181,this,_0x8810d8);};else{if(_0x1f8e25===_0x4216e1(0x197))_0x58451e=function(_0x2c82f8,_0x31640f){const _0x36f595=_0x4216e1,_0x97ef34=new _0x1a13ef(_0x36f595(0x197),{'code':_0x2c82f8,'reason':_0x31640f[_0x36f595(0x18d)](),'wasClean':this['_closeFrameReceived']&&this[_0x36f595(0x1b4)]});_0x97ef34[_0x5e46c8]=this,_0x56fa26(_0x284181,this,_0x97ef34);};else{if(_0x1f8e25===_0x4216e1(0x253))_0x58451e=function(_0x4b6fdb){const _0x51b2f4=_0x4216e1,_0x1d69fc=new _0x55bf41(_0x51b2f4(0x253),{'error':_0x4b6fdb,'message':_0x4b6fdb[_0x51b2f4(0x17a)]});_0x1d69fc[_0x5e46c8]=this,_0x56fa26(_0x284181,this,_0x1d69fc);};else{if(_0x1f8e25===_0x4216e1(0x309))_0x58451e=function(){const _0xa130aa=new _0x316e2d('open');_0xa130aa[_0x5e46c8]=this,_0x56fa26(_0x284181,this,_0xa130aa);};else return;}}}_0x58451e[_0x5caa9f]=!!_0x3fdc08[_0x5caa9f],_0x58451e[_0x2911c0]=_0x284181,_0x3fdc08[_0x4216e1(0x1ea)]?this[_0x4216e1(0x1ea)](_0x1f8e25,_0x58451e):this['on'](_0x1f8e25,_0x58451e);},'removeEventListener'(_0x575011,_0x5dcc1c){const _0x5a49ae=_0xb247ec;for(const _0x3b3767 of this[_0x5a49ae(0x223)](_0x575011))if(_0x3b3767[_0x2911c0]===_0x5dcc1c&&!_0x3b3767[_0x5caa9f]){this[_0x5a49ae(0x1c8)](_0x575011,_0x3b3767);break;}}},'MessageEvent':_0x8ce207};function _0x56fa26(_0x2db98f,_0x41563e,_0x14ec9c){const _0x3ea969=_0xb247ec;typeof _0x2db98f==_0x3ea969(0x2a4)&&_0x2db98f['handleEvent']?_0x2db98f['handleEvent'][_0x3ea969(0x229)](_0x2db98f,_0x14ec9c):_0x2db98f[_0x3ea969(0x229)](_0x41563e,_0x14ec9c);}return xe;}var be,et;function dt(){if(et)return be;et=0x1;const {tokenChars:_0x67177c}=ie();function _0x594e19(_0xfbd0eb,_0xfea55e,_0x28d6bc){const _0x1820fd=_0xfd7d;_0xfbd0eb[_0xfea55e]===void 0x0?_0xfbd0eb[_0xfea55e]=[_0x28d6bc]:_0xfbd0eb[_0xfea55e][_0x1820fd(0x2ea)](_0x28d6bc);}function _0x1b7a03(_0x4f9ef8){const _0x1f7e07=_0xfd7d,_0x14817f=Object[_0x1f7e07(0x2e5)](null);let _0x1bc24c=Object[_0x1f7e07(0x2e5)](null),_0x14b2cc=!0x1,_0x1a36c9=!0x1,_0x35d06b=!0x1,_0x2724a1,_0x45733f,_0x108331=-0x1,_0x1f173c=-0x1,_0x514187=-0x1,_0x1ec373=0x0;for(;_0x1ec373<_0x4f9ef8['length'];_0x1ec373++)if(_0x1f173c=_0x4f9ef8[_0x1f7e07(0x2f0)](_0x1ec373),_0x2724a1===void 0x0){if(_0x514187===-0x1&&_0x67177c[_0x1f173c]===0x1)_0x108331===-0x1&&(_0x108331=_0x1ec373);else{if(_0x1ec373!==0x0&&(_0x1f173c===0x20||_0x1f173c===0x9))_0x514187===-0x1&&_0x108331!==-0x1&&(_0x514187=_0x1ec373);else{if(_0x1f173c===0x3b||_0x1f173c===0x2c){if(_0x108331===-0x1)throw new SyntaxError(_0x1f7e07(0x2f8)+_0x1ec373);_0x514187===-0x1&&(_0x514187=_0x1ec373);const _0x4332cb=_0x4f9ef8[_0x1f7e07(0x1e0)](_0x108331,_0x514187);_0x1f173c===0x2c?(_0x594e19(_0x14817f,_0x4332cb,_0x1bc24c),_0x1bc24c=Object[_0x1f7e07(0x2e5)](null)):_0x2724a1=_0x4332cb,_0x108331=_0x514187=-0x1;}else throw new SyntaxError(_0x1f7e07(0x2f8)+_0x1ec373);}}}else{if(_0x45733f===void 0x0){if(_0x514187===-0x1&&_0x67177c[_0x1f173c]===0x1)_0x108331===-0x1&&(_0x108331=_0x1ec373);else{if(_0x1f173c===0x20||_0x1f173c===0x9)_0x514187===-0x1&&_0x108331!==-0x1&&(_0x514187=_0x1ec373);else{if(_0x1f173c===0x3b||_0x1f173c===0x2c){if(_0x108331===-0x1)throw new SyntaxError(_0x1f7e07(0x2f8)+_0x1ec373);_0x514187===-0x1&&(_0x514187=_0x1ec373),_0x594e19(_0x1bc24c,_0x4f9ef8[_0x1f7e07(0x1e0)](_0x108331,_0x514187),!0x0),_0x1f173c===0x2c&&(_0x594e19(_0x14817f,_0x2724a1,_0x1bc24c),_0x1bc24c=Object['create'](null),_0x2724a1=void 0x0),_0x108331=_0x514187=-0x1;}else{if(_0x1f173c===0x3d&&_0x108331!==-0x1&&_0x514187===-0x1)_0x45733f=_0x4f9ef8[_0x1f7e07(0x1e0)](_0x108331,_0x1ec373),_0x108331=_0x514187=-0x1;else throw new SyntaxError(_0x1f7e07(0x2f8)+_0x1ec373);}}}}else{if(_0x1a36c9){if(_0x67177c[_0x1f173c]!==0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x1ec373);_0x108331===-0x1?_0x108331=_0x1ec373:_0x14b2cc||(_0x14b2cc=!0x0),_0x1a36c9=!0x1;}else{if(_0x35d06b){if(_0x67177c[_0x1f173c]===0x1)_0x108331===-0x1&&(_0x108331=_0x1ec373);else{if(_0x1f173c===0x22&&_0x108331!==-0x1)_0x35d06b=!0x1,_0x514187=_0x1ec373;else{if(_0x1f173c===0x5c)_0x1a36c9=!0x0;else throw new SyntaxError(_0x1f7e07(0x2f8)+_0x1ec373);}}}else{if(_0x1f173c===0x22&&_0x4f9ef8[_0x1f7e07(0x2f0)](_0x1ec373-0x1)===0x3d)_0x35d06b=!0x0;else{if(_0x514187===-0x1&&_0x67177c[_0x1f173c]===0x1)_0x108331===-0x1&&(_0x108331=_0x1ec373);else{if(_0x108331!==-0x1&&(_0x1f173c===0x20||_0x1f173c===0x9))_0x514187===-0x1&&(_0x514187=_0x1ec373);else{if(_0x1f173c===0x3b||_0x1f173c===0x2c){if(_0x108331===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x1ec373);_0x514187===-0x1&&(_0x514187=_0x1ec373);let _0x3082f8=_0x4f9ef8[_0x1f7e07(0x1e0)](_0x108331,_0x514187);_0x14b2cc&&(_0x3082f8=_0x3082f8[_0x1f7e07(0x2a1)](/\\/g,''),_0x14b2cc=!0x1),_0x594e19(_0x1bc24c,_0x45733f,_0x3082f8),_0x1f173c===0x2c&&(_0x594e19(_0x14817f,_0x2724a1,_0x1bc24c),_0x1bc24c=Object['create'](null),_0x2724a1=void 0x0),_0x45733f=void 0x0,_0x108331=_0x514187=-0x1;}else throw new SyntaxError(_0x1f7e07(0x2f8)+_0x1ec373);}}}}}}}if(_0x108331===-0x1||_0x35d06b||_0x1f173c===0x20||_0x1f173c===0x9)throw new SyntaxError(_0x1f7e07(0x304));_0x514187===-0x1&&(_0x514187=_0x1ec373);const _0x4c407a=_0x4f9ef8[_0x1f7e07(0x1e0)](_0x108331,_0x514187);return _0x2724a1===void 0x0?_0x594e19(_0x14817f,_0x4c407a,_0x1bc24c):(_0x45733f===void 0x0?_0x594e19(_0x1bc24c,_0x4c407a,!0x0):_0x14b2cc?_0x594e19(_0x1bc24c,_0x45733f,_0x4c407a['replace'](/\\/g,'')):_0x594e19(_0x1bc24c,_0x45733f,_0x4c407a),_0x594e19(_0x14817f,_0x2724a1,_0x1bc24c)),_0x14817f;}function _0x595582(_0x411edc){const _0x333d70=_0xfd7d;return Object['keys'](_0x411edc)[_0x333d70(0x2d4)](_0x325819=>{const _0x4fb96a=_0x333d70;let _0x1cb6ce=_0x411edc[_0x325819];return Array[_0x4fb96a(0x241)](_0x1cb6ce)||(_0x1cb6ce=[_0x1cb6ce]),_0x1cb6ce[_0x4fb96a(0x2d4)](_0x26be0f=>[_0x325819][_0x4fb96a(0x300)](Object[_0x4fb96a(0x2ad)](_0x26be0f)[_0x4fb96a(0x2d4)](_0x15a2c4=>{const _0x530a8c=_0x4fb96a;let _0x5ed925=_0x26be0f[_0x15a2c4];return Array[_0x530a8c(0x241)](_0x5ed925)||(_0x5ed925=[_0x5ed925]),_0x5ed925[_0x530a8c(0x2d4)](_0x43269c=>_0x43269c===!0x0?_0x15a2c4:_0x15a2c4+'='+_0x43269c)[_0x530a8c(0x268)](';\x20');}))[_0x4fb96a(0x268)](';\x20'))[_0x4fb96a(0x268)](',\x20');})[_0x333d70(0x268)](',\x20');}return be={'format':_0x595582,'parse':_0x1b7a03},be;}var we,tt;function Be(){const _0x4ef6f3=_0x26743a;if(tt)return we;tt=0x1;const _0x4024fb=_0x4e030c,_0x5b5509=_0x5c07e0,_0x5f5d4e=_0xc8ef0c,_0x5973d1=_0x5b4c1b,_0x25caa6=_0x434142,{randomBytes:_0x412853,createHash:_0x45632d}=_0xdfaedd,{Duplex:_0x13573e,Readable:_0x4f3ac1}=_0x3f440c,{URL:_0x4b50d0}=_0xbc54cf,_0x166de5=ce(),_0x3136f3=ht(),_0x2bfcf7=ut(),{isBlob:_0x2696cc}=ie(),{BINARY_TYPES:_0x99d46c,EMPTY_BUFFER:_0x13552d,GUID:_0x5495e7,kForOnEventAttribute:_0x41f21c,kListener:_0x44d986,kStatusCode:_0xbdd374,kWebSocket:_0x11d8b4,NOOP:_0x36f602}=V(),{EventTarget:{addEventListener:_0x41aaf1,removeEventListener:_0x17f871}}=zt(),{format:_0x146ded,parse:_0x17ac00}=dt(),{toBuffer:_0x266357}=fe(),_0xf9a780=0x1e*0x3e8,_0x4095ff=Symbol(_0x4ef6f3(0x29b)),_0x504421=[0x8,0xd],_0x38ddbd=[_0x4ef6f3(0x1cf),_0x4ef6f3(0x21b),_0x4ef6f3(0x1ac),_0x4ef6f3(0x1a8)],_0x10b1aa=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x28429e extends _0x4024fb{constructor(_0x204bcc,_0x3a2704,_0x324b3c){const _0x40a4d9=_0x4ef6f3;super(),this[_0x40a4d9(0x1d5)]=_0x99d46c[0x0],this['_closeCode']=0x3ee,this['_closeFrameReceived']=!0x1,this[_0x40a4d9(0x1b4)]=!0x1,this[_0x40a4d9(0x209)]=_0x13552d,this[_0x40a4d9(0x232)]=null,this[_0x40a4d9(0x27e)]=!0x1,this[_0x40a4d9(0x1fa)]={},this[_0x40a4d9(0x272)]=!0x1,this[_0x40a4d9(0x23a)]='',this[_0x40a4d9(0x2b3)]=_0x28429e['CONNECTING'],this[_0x40a4d9(0x255)]=null,this[_0x40a4d9(0x182)]=null,this[_0x40a4d9(0x317)]=null,_0x204bcc!==null?(this['_bufferedAmount']=0x0,this[_0x40a4d9(0x27d)]=!0x1,this[_0x40a4d9(0x1e4)]=0x0,_0x3a2704===void 0x0?_0x3a2704=[]:Array[_0x40a4d9(0x241)](_0x3a2704)||(typeof _0x3a2704==_0x40a4d9(0x2a4)&&_0x3a2704!==null?(_0x324b3c=_0x3a2704,_0x3a2704=[]):_0x3a2704=[_0x3a2704]),_0x1e9dde(this,_0x204bcc,_0x3a2704,_0x324b3c)):(this['_autoPong']=_0x324b3c[_0x40a4d9(0x2e9)],this[_0x40a4d9(0x27d)]=!0x0);}get[_0x4ef6f3(0x288)](){const _0x283b66=_0x4ef6f3;return this[_0x283b66(0x1d5)];}set['binaryType'](_0x54eda7){const _0x2ea820=_0x4ef6f3;_0x99d46c[_0x2ea820(0x267)](_0x54eda7)&&(this['_binaryType']=_0x54eda7,this['_receiver']&&(this['_receiver'][_0x2ea820(0x1d5)]=_0x54eda7));}get[_0x4ef6f3(0x2be)](){const _0x8b05a2=_0x4ef6f3;return this[_0x8b05a2(0x317)]?this[_0x8b05a2(0x317)][_0x8b05a2(0x2bf)]['length']+this['_sender'][_0x8b05a2(0x1c1)]:this[_0x8b05a2(0x287)];}get[_0x4ef6f3(0x1b8)](){const _0x5af117=_0x4ef6f3;return Object[_0x5af117(0x2ad)](this[_0x5af117(0x1fa)])[_0x5af117(0x268)]();}get[_0x4ef6f3(0x24d)](){const _0x57d505=_0x4ef6f3;return this[_0x57d505(0x272)];}get['onclose'](){return null;}get['onerror'](){return null;}get['onopen'](){return null;}get[_0x4ef6f3(0x2fb)](){return null;}get[_0x4ef6f3(0x2b9)](){const _0x2fb2bc=_0x4ef6f3;return this[_0x2fb2bc(0x23a)];}get[_0x4ef6f3(0x2ae)](){const _0x2c1bbc=_0x4ef6f3;return this[_0x2c1bbc(0x2b3)];}get['url'](){return this['_url'];}[_0x4ef6f3(0x234)](_0x3cc6e6,_0x5f13e1,_0x59cd6a){const _0x3ad635=_0x4ef6f3,_0x29e22d=new _0x3136f3({'allowSynchronousEvents':_0x59cd6a['allowSynchronousEvents'],'binaryType':this['binaryType'],'extensions':this['_extensions'],'isServer':this[_0x3ad635(0x27d)],'maxPayload':_0x59cd6a[_0x3ad635(0x2c9)],'skipUTF8Validation':_0x59cd6a['skipUTF8Validation']}),_0x2e7850=new _0x2bfcf7(_0x3cc6e6,this[_0x3ad635(0x1fa)],_0x59cd6a[_0x3ad635(0x1eb)]);this['_receiver']=_0x29e22d,this[_0x3ad635(0x182)]=_0x2e7850,this[_0x3ad635(0x317)]=_0x3cc6e6,_0x29e22d[_0x11d8b4]=this,_0x2e7850[_0x11d8b4]=this,_0x3cc6e6[_0x11d8b4]=this,_0x29e22d['on'](_0x3ad635(0x22b),_0x2a82a8),_0x29e22d['on'](_0x3ad635(0x314),_0x62348),_0x29e22d['on'](_0x3ad635(0x253),_0x436e76),_0x29e22d['on'](_0x3ad635(0x17a),_0x23def0),_0x29e22d['on'](_0x3ad635(0x184),_0x68bcdc),_0x29e22d['on']('pong',_0x2d68cf),_0x2e7850[_0x3ad635(0x2e1)]=_0x963885,_0x3cc6e6['setTimeout']&&_0x3cc6e6[_0x3ad635(0x26d)](0x0),_0x3cc6e6[_0x3ad635(0x262)]&&_0x3cc6e6[_0x3ad635(0x262)](),_0x5f13e1[_0x3ad635(0x23f)]>0x0&&_0x3cc6e6[_0x3ad635(0x1d1)](_0x5f13e1),_0x3cc6e6['on'](_0x3ad635(0x197),_0x389c3b),_0x3cc6e6['on']('data',_0x4dd839),_0x3cc6e6['on']('end',_0x41e6ed),_0x3cc6e6['on'](_0x3ad635(0x253),_0x488eab),this[_0x3ad635(0x2b3)]=_0x28429e[_0x3ad635(0x21b)],this['emit'](_0x3ad635(0x309));}[_0x4ef6f3(0x2b6)](){const _0x4b6f16=_0x4ef6f3;if(!this[_0x4b6f16(0x317)]){this['_readyState']=_0x28429e[_0x4b6f16(0x1a8)],this['emit'](_0x4b6f16(0x197),this[_0x4b6f16(0x2ab)],this[_0x4b6f16(0x209)]);return;}this[_0x4b6f16(0x1fa)][_0x166de5[_0x4b6f16(0x1f7)]]&&this[_0x4b6f16(0x1fa)][_0x166de5[_0x4b6f16(0x1f7)]]['cleanup'](),this[_0x4b6f16(0x255)]['removeAllListeners'](),this['_readyState']=_0x28429e[_0x4b6f16(0x1a8)],this[_0x4b6f16(0x1e2)](_0x4b6f16(0x197),this[_0x4b6f16(0x2ab)],this[_0x4b6f16(0x209)]);}[_0x4ef6f3(0x197)](_0x3bf19e,_0x11b83b){const _0x23f529=_0x4ef6f3;if(this['readyState']!==_0x28429e[_0x23f529(0x1a8)]){if(this[_0x23f529(0x2ae)]===_0x28429e['CONNECTING']){_0x31b2cc(this,this[_0x23f529(0x192)],_0x23f529(0x198));return;}if(this[_0x23f529(0x2ae)]===_0x28429e[_0x23f529(0x1ac)]){this[_0x23f529(0x1b4)]&&(this[_0x23f529(0x2d5)]||this['_receiver'][_0x23f529(0x2bf)]['errorEmitted'])&&this['_socket'][_0x23f529(0x194)]();return;}this['_readyState']=_0x28429e[_0x23f529(0x1ac)],this[_0x23f529(0x182)][_0x23f529(0x197)](_0x3bf19e,_0x11b83b,!this[_0x23f529(0x27d)],_0x120821=>{const _0xe06ae6=_0x23f529;_0x120821||(this[_0xe06ae6(0x1b4)]=!0x0,(this[_0xe06ae6(0x2d5)]||this[_0xe06ae6(0x255)]['_writableState'][_0xe06ae6(0x20d)])&&this[_0xe06ae6(0x317)][_0xe06ae6(0x194)]());}),_0x50eb1a(this);}}[_0x4ef6f3(0x2db)](){const _0x3a9054=_0x4ef6f3;this[_0x3a9054(0x2ae)]===_0x28429e[_0x3a9054(0x1cf)]||this[_0x3a9054(0x2ae)]===_0x28429e['CLOSED']||(this['_paused']=!0x0,this[_0x3a9054(0x317)][_0x3a9054(0x2db)]());}['ping'](_0xead33,_0x3cea53,_0x3e5a1f){const _0x57bc2f=_0x4ef6f3;if(this[_0x57bc2f(0x2ae)]===_0x28429e[_0x57bc2f(0x1cf)])throw new Error(_0x57bc2f(0x1aa));if(typeof _0xead33==_0x57bc2f(0x201)?(_0x3e5a1f=_0xead33,_0xead33=_0x3cea53=void 0x0):typeof _0x3cea53==_0x57bc2f(0x201)&&(_0x3e5a1f=_0x3cea53,_0x3cea53=void 0x0),typeof _0xead33=='number'&&(_0xead33=_0xead33[_0x57bc2f(0x18d)]()),this[_0x57bc2f(0x2ae)]!==_0x28429e[_0x57bc2f(0x21b)]){_0x3f05b7(this,_0xead33,_0x3e5a1f);return;}_0x3cea53===void 0x0&&(_0x3cea53=!this[_0x57bc2f(0x27d)]),this['_sender'][_0x57bc2f(0x184)](_0xead33||_0x13552d,_0x3cea53,_0x3e5a1f);}[_0x4ef6f3(0x226)](_0x1b8b2e,_0x38804a,_0x1bf883){const _0x1c1d49=_0x4ef6f3;if(this[_0x1c1d49(0x2ae)]===_0x28429e['CONNECTING'])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x1b8b2e==_0x1c1d49(0x201)?(_0x1bf883=_0x1b8b2e,_0x1b8b2e=_0x38804a=void 0x0):typeof _0x38804a=='function'&&(_0x1bf883=_0x38804a,_0x38804a=void 0x0),typeof _0x1b8b2e==_0x1c1d49(0x1a4)&&(_0x1b8b2e=_0x1b8b2e[_0x1c1d49(0x18d)]()),this[_0x1c1d49(0x2ae)]!==_0x28429e[_0x1c1d49(0x21b)]){_0x3f05b7(this,_0x1b8b2e,_0x1bf883);return;}_0x38804a===void 0x0&&(_0x38804a=!this[_0x1c1d49(0x27d)]),this['_sender'][_0x1c1d49(0x226)](_0x1b8b2e||_0x13552d,_0x38804a,_0x1bf883);}['resume'](){const _0x5c872f=_0x4ef6f3;this[_0x5c872f(0x2ae)]===_0x28429e[_0x5c872f(0x1cf)]||this[_0x5c872f(0x2ae)]===_0x28429e[_0x5c872f(0x1a8)]||(this[_0x5c872f(0x272)]=!0x1,this[_0x5c872f(0x255)][_0x5c872f(0x2bf)][_0x5c872f(0x1bf)]||this['_socket'][_0x5c872f(0x1f9)]());}[_0x4ef6f3(0x19b)](_0x237e37,_0x5c4d3b,_0x402ee0){const _0x155cae=_0x4ef6f3;if(this[_0x155cae(0x2ae)]===_0x28429e[_0x155cae(0x1cf)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x5c4d3b=='function'&&(_0x402ee0=_0x5c4d3b,_0x5c4d3b={}),typeof _0x237e37==_0x155cae(0x1a4)&&(_0x237e37=_0x237e37['toString']()),this['readyState']!==_0x28429e[_0x155cae(0x21b)]){_0x3f05b7(this,_0x237e37,_0x402ee0);return;}const _0x16c973={'binary':typeof _0x237e37!='string','mask':!this[_0x155cae(0x27d)],'compress':!0x0,'fin':!0x0,..._0x5c4d3b};this['_extensions'][_0x166de5['extensionName']]||(_0x16c973[_0x155cae(0x2fa)]=!0x1),this['_sender']['send'](_0x237e37||_0x13552d,_0x16c973,_0x402ee0);}[_0x4ef6f3(0x260)](){const _0x40c2b2=_0x4ef6f3;if(this[_0x40c2b2(0x2ae)]!==_0x28429e[_0x40c2b2(0x1a8)]){if(this['readyState']===_0x28429e[_0x40c2b2(0x1cf)]){_0x31b2cc(this,this[_0x40c2b2(0x192)],_0x40c2b2(0x198));return;}this[_0x40c2b2(0x317)]&&(this[_0x40c2b2(0x2b3)]=_0x28429e['CLOSING'],this[_0x40c2b2(0x317)]['destroy']());}}}Object[_0x4ef6f3(0x1d7)](_0x28429e,_0x4ef6f3(0x1cf),{'enumerable':!0x0,'value':_0x38ddbd[_0x4ef6f3(0x25c)](_0x4ef6f3(0x1cf))}),Object[_0x4ef6f3(0x1d7)](_0x28429e[_0x4ef6f3(0x219)],_0x4ef6f3(0x1cf),{'enumerable':!0x0,'value':_0x38ddbd[_0x4ef6f3(0x25c)]('CONNECTING')}),Object[_0x4ef6f3(0x1d7)](_0x28429e,_0x4ef6f3(0x21b),{'enumerable':!0x0,'value':_0x38ddbd['indexOf'](_0x4ef6f3(0x21b))}),Object[_0x4ef6f3(0x1d7)](_0x28429e[_0x4ef6f3(0x219)],_0x4ef6f3(0x21b),{'enumerable':!0x0,'value':_0x38ddbd[_0x4ef6f3(0x25c)](_0x4ef6f3(0x21b))}),Object[_0x4ef6f3(0x1d7)](_0x28429e,_0x4ef6f3(0x1ac),{'enumerable':!0x0,'value':_0x38ddbd[_0x4ef6f3(0x25c)](_0x4ef6f3(0x1ac))}),Object[_0x4ef6f3(0x1d7)](_0x28429e['prototype'],_0x4ef6f3(0x1ac),{'enumerable':!0x0,'value':_0x38ddbd['indexOf'](_0x4ef6f3(0x1ac))}),Object[_0x4ef6f3(0x1d7)](_0x28429e,'CLOSED',{'enumerable':!0x0,'value':_0x38ddbd[_0x4ef6f3(0x25c)]('CLOSED')}),Object[_0x4ef6f3(0x1d7)](_0x28429e[_0x4ef6f3(0x219)],_0x4ef6f3(0x1a8),{'enumerable':!0x0,'value':_0x38ddbd[_0x4ef6f3(0x25c)]('CLOSED')}),[_0x4ef6f3(0x288),_0x4ef6f3(0x2be),_0x4ef6f3(0x1b8),'isPaused','protocol',_0x4ef6f3(0x2ae),_0x4ef6f3(0x29d)][_0x4ef6f3(0x203)](_0x10ebb1=>{const _0x460f77=_0x4ef6f3;Object['defineProperty'](_0x28429e[_0x460f77(0x219)],_0x10ebb1,{'enumerable':!0x0});}),[_0x4ef6f3(0x309),_0x4ef6f3(0x253),'close',_0x4ef6f3(0x17a)][_0x4ef6f3(0x203)](_0x257b1d=>{Object['defineProperty'](_0x28429e['prototype'],'on'+_0x257b1d,{'enumerable':!0x0,'get'(){const _0x5b3990=_0xfd7d;for(const _0x54d964 of this[_0x5b3990(0x223)](_0x257b1d))if(_0x54d964[_0x41f21c])return _0x54d964[_0x44d986];return null;},'set'(_0x5c7f8b){const _0x583f3c=_0xfd7d;for(const _0x38dd41 of this[_0x583f3c(0x223)](_0x257b1d))if(_0x38dd41[_0x41f21c]){this['removeListener'](_0x257b1d,_0x38dd41);break;}typeof _0x5c7f8b==_0x583f3c(0x201)&&this['addEventListener'](_0x257b1d,_0x5c7f8b,{[_0x41f21c]:!0x0});}});}),_0x28429e[_0x4ef6f3(0x219)][_0x4ef6f3(0x311)]=_0x41aaf1,_0x28429e[_0x4ef6f3(0x219)][_0x4ef6f3(0x1cd)]=_0x17f871,we=_0x28429e;function _0x1e9dde(_0x3f5fcd,_0x7aab9a,_0x57d917,_0x1aa893){const _0x11e051=_0x4ef6f3,_0x377b92={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x504421[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x1aa893,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x11e051(0x228),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x3f5fcd[_0x11e051(0x30e)]=_0x377b92[_0x11e051(0x2e9)],!_0x504421[_0x11e051(0x267)](_0x377b92['protocolVersion']))throw new RangeError(_0x11e051(0x1cb)+_0x377b92[_0x11e051(0x1fb)]+_0x11e051(0x176)+_0x504421[_0x11e051(0x268)](',\x20')+')');let _0x3448d9;if(_0x7aab9a instanceof _0x4b50d0)_0x3448d9=_0x7aab9a;else try{_0x3448d9=new _0x4b50d0(_0x7aab9a);}catch{throw new SyntaxError(_0x11e051(0x2c2)+_0x7aab9a);}_0x3448d9[_0x11e051(0x2b9)]===_0x11e051(0x305)?_0x3448d9[_0x11e051(0x2b9)]=_0x11e051(0x1b2):_0x3448d9[_0x11e051(0x2b9)]==='https:'&&(_0x3448d9[_0x11e051(0x2b9)]=_0x11e051(0x2f5)),_0x3f5fcd[_0x11e051(0x1a2)]=_0x3448d9[_0x11e051(0x215)];const _0x42dde=_0x3448d9[_0x11e051(0x2b9)]===_0x11e051(0x2f5),_0x50f506=_0x3448d9['protocol']==='ws+unix:';let _0x49130a;if(_0x3448d9[_0x11e051(0x2b9)]!==_0x11e051(0x1b2)&&!_0x42dde&&!_0x50f506?_0x49130a='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':_0x50f506&&!_0x3448d9[_0x11e051(0x1c5)]?_0x49130a=_0x11e051(0x256):_0x3448d9[_0x11e051(0x24b)]&&(_0x49130a=_0x11e051(0x2e4)),_0x49130a){const _0x5ad7aa=new SyntaxError(_0x49130a);if(_0x3f5fcd[_0x11e051(0x1e4)]===0x0)throw _0x5ad7aa;_0x4c0d14(_0x3f5fcd,_0x5ad7aa);return;}const _0x32bc9f=_0x42dde?0x1bb:0x50,_0x20f6a5=_0x412853(0x10)[_0x11e051(0x18d)]('base64'),_0xe8fd6b=_0x42dde?_0x5b5509[_0x11e051(0x247)]:_0x5f5d4e[_0x11e051(0x247)],_0x45844f=new Set();let _0x354e6;if(_0x377b92[_0x11e051(0x28d)]=_0x377b92[_0x11e051(0x28d)]||(_0x42dde?_0x40bb78:_0x1aaa4e),_0x377b92[_0x11e051(0x29f)]=_0x377b92[_0x11e051(0x29f)]||_0x32bc9f,_0x377b92['port']=_0x3448d9[_0x11e051(0x188)]||_0x32bc9f,_0x377b92[_0x11e051(0x181)]=_0x3448d9['hostname'][_0x11e051(0x221)]('[')?_0x3448d9[_0x11e051(0x191)][_0x11e051(0x1e0)](0x1,-0x1):_0x3448d9[_0x11e051(0x191)],_0x377b92[_0x11e051(0x202)]={..._0x377b92[_0x11e051(0x202)],'Sec-WebSocket-Version':_0x377b92['protocolVersion'],'Sec-WebSocket-Key':_0x20f6a5,'Connection':_0x11e051(0x239),'Upgrade':_0x11e051(0x21c)},_0x377b92[_0x11e051(0x2e2)]=_0x3448d9['pathname']+_0x3448d9['search'],_0x377b92[_0x11e051(0x28b)]=_0x377b92[_0x11e051(0x1b3)],_0x377b92[_0x11e051(0x294)]&&(_0x354e6=new _0x166de5(_0x377b92[_0x11e051(0x294)]!==!0x0?_0x377b92[_0x11e051(0x294)]:{},!0x1,_0x377b92[_0x11e051(0x2c9)]),_0x377b92['headers'][_0x11e051(0x1bd)]=_0x146ded({[_0x166de5[_0x11e051(0x1f7)]]:_0x354e6[_0x11e051(0x2ba)]()})),_0x57d917[_0x11e051(0x23f)]){for(const _0x217d89 of _0x57d917){if(typeof _0x217d89!=_0x11e051(0x211)||!_0x10b1aa['test'](_0x217d89)||_0x45844f[_0x11e051(0x301)](_0x217d89))throw new SyntaxError(_0x11e051(0x1ef));_0x45844f[_0x11e051(0x2cc)](_0x217d89);}_0x377b92[_0x11e051(0x202)][_0x11e051(0x18a)]=_0x57d917[_0x11e051(0x268)](',');}if(_0x377b92[_0x11e051(0x2b1)]&&(_0x377b92[_0x11e051(0x1fb)]<0xd?_0x377b92[_0x11e051(0x202)]['Sec-WebSocket-Origin']=_0x377b92[_0x11e051(0x2b1)]:_0x377b92[_0x11e051(0x202)]['Origin']=_0x377b92[_0x11e051(0x2b1)]),(_0x3448d9['username']||_0x3448d9['password'])&&(_0x377b92[_0x11e051(0x2d2)]=_0x3448d9[_0x11e051(0x278)]+':'+_0x3448d9[_0x11e051(0x1fd)]),_0x50f506){const _0x178d43=_0x377b92[_0x11e051(0x2e2)][_0x11e051(0x2f4)](':');_0x377b92[_0x11e051(0x30c)]=_0x178d43[0x0],_0x377b92[_0x11e051(0x2e2)]=_0x178d43[0x1];}let _0xf8681;if(_0x377b92[_0x11e051(0x220)]){if(_0x3f5fcd['_redirects']===0x0){_0x3f5fcd[_0x11e051(0x318)]=_0x50f506,_0x3f5fcd[_0x11e051(0x216)]=_0x42dde,_0x3f5fcd[_0x11e051(0x218)]=_0x50f506?_0x377b92[_0x11e051(0x30c)]:_0x3448d9[_0x11e051(0x181)];const _0x49d4bd=_0x1aa893&&_0x1aa893['headers'];if(_0x1aa893={..._0x1aa893,'headers':{}},_0x49d4bd){for(const [_0x8d600c,_0x2fbe03]of Object[_0x11e051(0x248)](_0x49d4bd))_0x1aa893[_0x11e051(0x202)][_0x8d600c[_0x11e051(0x29e)]()]=_0x2fbe03;}}else{if(_0x3f5fcd[_0x11e051(0x1d0)](_0x11e051(0x1f0))===0x0){const _0x41927c=_0x50f506?_0x3f5fcd[_0x11e051(0x318)]?_0x377b92['socketPath']===_0x3f5fcd[_0x11e051(0x218)]:!0x1:_0x3f5fcd['_originalIpc']?!0x1:_0x3448d9[_0x11e051(0x181)]===_0x3f5fcd[_0x11e051(0x218)];(!_0x41927c||_0x3f5fcd['_originalSecure']&&!_0x42dde)&&(delete _0x377b92[_0x11e051(0x202)]['authorization'],delete _0x377b92[_0x11e051(0x202)][_0x11e051(0x2aa)],_0x41927c||delete _0x377b92[_0x11e051(0x202)][_0x11e051(0x181)],_0x377b92[_0x11e051(0x2d2)]=void 0x0);}}_0x377b92[_0x11e051(0x2d2)]&&!_0x1aa893['headers']['authorization']&&(_0x1aa893[_0x11e051(0x202)][_0x11e051(0x185)]=_0x11e051(0x17d)+Buffer[_0x11e051(0x244)](_0x377b92[_0x11e051(0x2d2)])[_0x11e051(0x18d)]('base64')),_0xf8681=_0x3f5fcd[_0x11e051(0x192)]=_0xe8fd6b(_0x377b92),_0x3f5fcd[_0x11e051(0x1e4)]&&_0x3f5fcd[_0x11e051(0x1e2)]('redirect',_0x3f5fcd[_0x11e051(0x29d)],_0xf8681);}else _0xf8681=_0x3f5fcd['_req']=_0xe8fd6b(_0x377b92);_0x377b92[_0x11e051(0x28b)]&&_0xf8681['on'](_0x11e051(0x28b),()=>{const _0x1212a6=_0x11e051;_0x31b2cc(_0x3f5fcd,_0xf8681,_0x1212a6(0x2bc));}),_0xf8681['on'](_0x11e051(0x253),_0x2995c8=>{const _0x46293e=_0x11e051;_0xf8681===null||_0xf8681[_0x4095ff]||(_0xf8681=_0x3f5fcd[_0x46293e(0x192)]=null,_0x4c0d14(_0x3f5fcd,_0x2995c8));}),_0xf8681['on'](_0x11e051(0x183),_0x597bca=>{const _0x14236d=_0x11e051,_0x14f981=_0x597bca[_0x14236d(0x202)][_0x14236d(0x23e)],_0x29ff50=_0x597bca['statusCode'];if(_0x14f981&&_0x377b92[_0x14236d(0x220)]&&_0x29ff50>=0x12c&&_0x29ff50<0x190){if(++_0x3f5fcd['_redirects']>_0x377b92['maxRedirects']){_0x31b2cc(_0x3f5fcd,_0xf8681,_0x14236d(0x290));return;}_0xf8681[_0x14236d(0x22e)]();let _0x25717a;try{_0x25717a=new _0x4b50d0(_0x14f981,_0x7aab9a);}catch{const _0x1f2090=new SyntaxError(_0x14236d(0x2c2)+_0x14f981);_0x4c0d14(_0x3f5fcd,_0x1f2090);return;}_0x1e9dde(_0x3f5fcd,_0x25717a,_0x57d917,_0x1aa893);}else _0x3f5fcd[_0x14236d(0x1e2)](_0x14236d(0x276),_0xf8681,_0x597bca)||_0x31b2cc(_0x3f5fcd,_0xf8681,_0x14236d(0x1b7)+_0x597bca[_0x14236d(0x2f9)]);}),_0xf8681['on'](_0x11e051(0x307),(_0x36418d,_0x3fc6f1,_0x26fb73)=>{const _0x8b59f0=_0x11e051;if(_0x3f5fcd['emit'](_0x8b59f0(0x307),_0x36418d),_0x3f5fcd[_0x8b59f0(0x2ae)]!==_0x28429e['CONNECTING'])return;_0xf8681=_0x3f5fcd[_0x8b59f0(0x192)]=null;const _0x5a9040=_0x36418d[_0x8b59f0(0x202)]['upgrade'];if(_0x5a9040===void 0x0||_0x5a9040[_0x8b59f0(0x29e)]()!=='websocket'){_0x31b2cc(_0x3f5fcd,_0x3fc6f1,'Invalid\x20Upgrade\x20header');return;}const _0x2c4a35=_0x45632d('sha1')[_0x8b59f0(0x1ad)](_0x20f6a5+_0x5495e7)[_0x8b59f0(0x175)](_0x8b59f0(0x289));if(_0x36418d[_0x8b59f0(0x202)][_0x8b59f0(0x1d3)]!==_0x2c4a35){_0x31b2cc(_0x3f5fcd,_0x3fc6f1,_0x8b59f0(0x2a6));return;}const _0x548cf4=_0x36418d[_0x8b59f0(0x202)][_0x8b59f0(0x187)];let _0x286143;if(_0x548cf4!==void 0x0?_0x45844f[_0x8b59f0(0x251)]?_0x45844f[_0x8b59f0(0x301)](_0x548cf4)||(_0x286143=_0x8b59f0(0x306)):_0x286143=_0x8b59f0(0x178):_0x45844f[_0x8b59f0(0x251)]&&(_0x286143='Server\x20sent\x20no\x20subprotocol'),_0x286143){_0x31b2cc(_0x3f5fcd,_0x3fc6f1,_0x286143);return;}_0x548cf4&&(_0x3f5fcd[_0x8b59f0(0x23a)]=_0x548cf4);const _0x8c6669=_0x36418d[_0x8b59f0(0x202)][_0x8b59f0(0x28c)];if(_0x8c6669!==void 0x0){if(!_0x354e6){_0x31b2cc(_0x3f5fcd,_0x3fc6f1,_0x8b59f0(0x1c2));return;}let _0x30b894;try{_0x30b894=_0x17ac00(_0x8c6669);}catch{_0x31b2cc(_0x3f5fcd,_0x3fc6f1,_0x8b59f0(0x275));return;}const _0x48293c=Object['keys'](_0x30b894);if(_0x48293c[_0x8b59f0(0x23f)]!==0x1||_0x48293c[0x0]!==_0x166de5['extensionName']){_0x31b2cc(_0x3f5fcd,_0x3fc6f1,_0x8b59f0(0x25b));return;}try{_0x354e6[_0x8b59f0(0x1dd)](_0x30b894[_0x166de5['extensionName']]);}catch{_0x31b2cc(_0x3f5fcd,_0x3fc6f1,_0x8b59f0(0x275));return;}_0x3f5fcd[_0x8b59f0(0x1fa)][_0x166de5[_0x8b59f0(0x1f7)]]=_0x354e6;}_0x3f5fcd['setSocket'](_0x3fc6f1,_0x26fb73,{'allowSynchronousEvents':_0x377b92[_0x8b59f0(0x1f6)],'generateMask':_0x377b92[_0x8b59f0(0x1eb)],'maxPayload':_0x377b92[_0x8b59f0(0x2c9)],'skipUTF8Validation':_0x377b92[_0x8b59f0(0x2cf)]});}),_0x377b92[_0x11e051(0x2b0)]?_0x377b92[_0x11e051(0x2b0)](_0xf8681,_0x3f5fcd):_0xf8681[_0x11e051(0x194)]();}function _0x4c0d14(_0x440f81,_0x5d52da){const _0xf9451a=_0x4ef6f3;_0x440f81[_0xf9451a(0x2b3)]=_0x28429e[_0xf9451a(0x1ac)],_0x440f81['_errorEmitted']=!0x0,_0x440f81[_0xf9451a(0x1e2)]('error',_0x5d52da),_0x440f81[_0xf9451a(0x2b6)]();}function _0x1aaa4e(_0x249874){const _0x460f15=_0x4ef6f3;return _0x249874[_0x460f15(0x2e2)]=_0x249874[_0x460f15(0x30c)],_0x5973d1['connect'](_0x249874);}function _0x40bb78(_0x15a662){const _0x5801fa=_0x4ef6f3;return _0x15a662[_0x5801fa(0x2e2)]=void 0x0,!_0x15a662['servername']&&_0x15a662[_0x5801fa(0x1a3)]!==''&&(_0x15a662[_0x5801fa(0x1a3)]=_0x5973d1[_0x5801fa(0x273)](_0x15a662[_0x5801fa(0x181)])?'':_0x15a662[_0x5801fa(0x181)]),_0x25caa6[_0x5801fa(0x18f)](_0x15a662);}function _0x31b2cc(_0x4fb5dc,_0x500fbd,_0x456184){const _0x578b41=_0x4ef6f3;_0x4fb5dc[_0x578b41(0x2b3)]=_0x28429e[_0x578b41(0x1ac)];const _0x6e236=new Error(_0x456184);Error[_0x578b41(0x2fc)](_0x6e236,_0x31b2cc),_0x500fbd[_0x578b41(0x189)]?(_0x500fbd[_0x4095ff]=!0x0,_0x500fbd[_0x578b41(0x22e)](),_0x500fbd[_0x578b41(0x217)]&&!_0x500fbd[_0x578b41(0x217)][_0x578b41(0x29c)]&&_0x500fbd[_0x578b41(0x217)][_0x578b41(0x310)](),process['nextTick'](_0x4c0d14,_0x4fb5dc,_0x6e236)):(_0x500fbd[_0x578b41(0x310)](_0x6e236),_0x500fbd[_0x578b41(0x1ea)](_0x578b41(0x253),_0x4fb5dc['emit'][_0x578b41(0x1bb)](_0x4fb5dc,'error')),_0x500fbd[_0x578b41(0x1ea)](_0x578b41(0x197),_0x4fb5dc[_0x578b41(0x2b6)][_0x578b41(0x1bb)](_0x4fb5dc)));}function _0x3f05b7(_0x4ffc8f,_0x3d1982,_0x27b3a0){const _0x437edf=_0x4ef6f3;if(_0x3d1982){const _0x3e2b88=_0x2696cc(_0x3d1982)?_0x3d1982[_0x437edf(0x251)]:_0x266357(_0x3d1982)[_0x437edf(0x23f)];_0x4ffc8f[_0x437edf(0x317)]?_0x4ffc8f[_0x437edf(0x182)][_0x437edf(0x1c1)]+=_0x3e2b88:_0x4ffc8f[_0x437edf(0x287)]+=_0x3e2b88;}if(_0x27b3a0){const _0x2eb731=new Error(_0x437edf(0x177)+_0x4ffc8f[_0x437edf(0x2ae)]+'\x20('+_0x38ddbd[_0x4ffc8f[_0x437edf(0x2ae)]]+')');process[_0x437edf(0x1ab)](_0x27b3a0,_0x2eb731);}}function _0x2a82a8(_0x590c63,_0x29866c){const _0x1dd0a7=_0x4ef6f3,_0x475a70=this[_0x11d8b4];_0x475a70[_0x1dd0a7(0x2d5)]=!0x0,_0x475a70[_0x1dd0a7(0x209)]=_0x29866c,_0x475a70[_0x1dd0a7(0x2ab)]=_0x590c63,_0x475a70[_0x1dd0a7(0x317)][_0x11d8b4]!==void 0x0&&(_0x475a70['_socket'][_0x1dd0a7(0x1c8)]('data',_0x4dd839),process[_0x1dd0a7(0x1ab)](_0x56fec3,_0x475a70['_socket']),_0x590c63===0x3ed?_0x475a70[_0x1dd0a7(0x197)]():_0x475a70[_0x1dd0a7(0x197)](_0x590c63,_0x29866c));}function _0x62348(){const _0x4f7bf9=_0x4ef6f3,_0x358b21=this[_0x11d8b4];_0x358b21[_0x4f7bf9(0x24d)]||_0x358b21[_0x4f7bf9(0x317)]['resume']();}function _0x436e76(_0x30f7d3){const _0x341a95=_0x4ef6f3,_0x4c62a7=this[_0x11d8b4];_0x4c62a7[_0x341a95(0x317)][_0x11d8b4]!==void 0x0&&(_0x4c62a7[_0x341a95(0x317)][_0x341a95(0x1c8)]('data',_0x4dd839),process[_0x341a95(0x1ab)](_0x56fec3,_0x4c62a7[_0x341a95(0x317)]),_0x4c62a7[_0x341a95(0x197)](_0x30f7d3[_0xbdd374])),_0x4c62a7['_errorEmitted']||(_0x4c62a7[_0x341a95(0x27e)]=!0x0,_0x4c62a7[_0x341a95(0x1e2)](_0x341a95(0x253),_0x30f7d3));}function _0x32c880(){const _0x3ff8ba=_0x4ef6f3;this[_0x11d8b4][_0x3ff8ba(0x2b6)]();}function _0x23def0(_0x1abb8c,_0xc75d13){const _0x10490b=_0x4ef6f3;this[_0x11d8b4][_0x10490b(0x1e2)](_0x10490b(0x17a),_0x1abb8c,_0xc75d13);}function _0x68bcdc(_0x3716b8){const _0x2932fb=_0x4ef6f3,_0x2d2385=this[_0x11d8b4];_0x2d2385['_autoPong']&&_0x2d2385[_0x2932fb(0x226)](_0x3716b8,!this[_0x2932fb(0x27d)],_0x36f602),_0x2d2385['emit']('ping',_0x3716b8);}function _0x2d68cf(_0x22e50c){const _0x584182=_0x4ef6f3;this[_0x11d8b4][_0x584182(0x1e2)]('pong',_0x22e50c);}function _0x56fec3(_0x5564e3){const _0x5979e0=_0x4ef6f3;_0x5564e3[_0x5979e0(0x1f9)]();}function _0x963885(_0x32c706){const _0x39c295=_0x4ef6f3,_0x31bfba=this[_0x11d8b4];_0x31bfba[_0x39c295(0x2ae)]!==_0x28429e['CLOSED']&&(_0x31bfba['readyState']===_0x28429e[_0x39c295(0x21b)]&&(_0x31bfba[_0x39c295(0x2b3)]=_0x28429e[_0x39c295(0x1ac)],_0x50eb1a(_0x31bfba)),this[_0x39c295(0x317)][_0x39c295(0x194)](),_0x31bfba[_0x39c295(0x27e)]||(_0x31bfba[_0x39c295(0x27e)]=!0x0,_0x31bfba[_0x39c295(0x1e2)](_0x39c295(0x253),_0x32c706)));}function _0x50eb1a(_0x47836d){const _0x77ec6f=_0x4ef6f3;_0x47836d[_0x77ec6f(0x232)]=setTimeout(_0x47836d[_0x77ec6f(0x317)][_0x77ec6f(0x310)]['bind'](_0x47836d['_socket']),_0xf9a780);}function _0x389c3b(){const _0x3400c4=_0x4ef6f3,_0x45e20b=this[_0x11d8b4];this[_0x3400c4(0x1c8)](_0x3400c4(0x197),_0x389c3b),this[_0x3400c4(0x1c8)]('data',_0x4dd839),this[_0x3400c4(0x1c8)](_0x3400c4(0x194),_0x41e6ed),_0x45e20b['_readyState']=_0x28429e[_0x3400c4(0x1ac)];let _0x53daa8;!this['_readableState'][_0x3400c4(0x17f)]&&!_0x45e20b[_0x3400c4(0x2d5)]&&!_0x45e20b['_receiver'][_0x3400c4(0x2bf)]['errorEmitted']&&(_0x53daa8=_0x45e20b[_0x3400c4(0x317)]['read']())!==null&&_0x45e20b[_0x3400c4(0x255)][_0x3400c4(0x1c6)](_0x53daa8),_0x45e20b[_0x3400c4(0x255)][_0x3400c4(0x194)](),this[_0x11d8b4]=void 0x0,clearTimeout(_0x45e20b[_0x3400c4(0x232)]),_0x45e20b['_receiver'][_0x3400c4(0x2bf)][_0x3400c4(0x286)]||_0x45e20b[_0x3400c4(0x255)][_0x3400c4(0x2bf)][_0x3400c4(0x20d)]?_0x45e20b[_0x3400c4(0x2b6)]():(_0x45e20b[_0x3400c4(0x255)]['on'](_0x3400c4(0x253),_0x32c880),_0x45e20b[_0x3400c4(0x255)]['on'](_0x3400c4(0x22a),_0x32c880));}function _0x4dd839(_0x125f24){const _0x6592e4=_0x4ef6f3;this[_0x11d8b4][_0x6592e4(0x255)][_0x6592e4(0x1c6)](_0x125f24)||this[_0x6592e4(0x2db)]();}function _0x41e6ed(){const _0x53cf3a=_0x4ef6f3,_0x122a8f=this[_0x11d8b4];_0x122a8f[_0x53cf3a(0x2b3)]=_0x28429e[_0x53cf3a(0x1ac)],_0x122a8f[_0x53cf3a(0x255)][_0x53cf3a(0x194)](),this[_0x53cf3a(0x194)]();}function _0x488eab(){const _0x129d7f=_0x4ef6f3,_0x205d84=this[_0x11d8b4];this['removeListener'](_0x129d7f(0x253),_0x488eab),this['on']('error',_0x36f602),_0x205d84&&(_0x205d84[_0x129d7f(0x2b3)]=_0x28429e['CLOSING'],this[_0x129d7f(0x310)]());}return we;}var Oe,rt;function Yt(){if(rt)return Oe;rt=0x1,Be();const {Duplex:_0x58cfe8}=_0x3f440c;function _0x3b0064(_0x116998){const _0x236829=_0xfd7d;_0x116998[_0x236829(0x1e2)]('close');}function _0x2b9840(){const _0x3ca559=_0xfd7d;!this[_0x3ca559(0x29c)]&&this['_writableState'][_0x3ca559(0x286)]&&this[_0x3ca559(0x310)]();}function _0x1d8510(_0x3adce6){const _0x13621c=_0xfd7d;this[_0x13621c(0x1c8)]('error',_0x1d8510),this[_0x13621c(0x310)](),this[_0x13621c(0x1d0)](_0x13621c(0x253))===0x0&&this[_0x13621c(0x1e2)]('error',_0x3adce6);}function _0x401f4f(_0x4a2972,_0x1c5f0a){const _0x563eac=_0xfd7d;let _0x233c0f=!0x0;const _0x4d05f4=new _0x58cfe8({..._0x1c5f0a,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x4a2972['on'](_0x563eac(0x17a),function(_0x4d9c58,_0x180e0e){const _0xf11db2=_0x563eac,_0x40f0cc=!_0x180e0e&&_0x4d05f4[_0xf11db2(0x2ce)][_0xf11db2(0x2dc)]?_0x4d9c58[_0xf11db2(0x18d)]():_0x4d9c58;_0x4d05f4['push'](_0x40f0cc)||_0x4a2972['pause']();}),_0x4a2972[_0x563eac(0x1ea)](_0x563eac(0x253),function(_0x5bfaba){const _0x27a27a=_0x563eac;_0x4d05f4[_0x27a27a(0x29c)]||(_0x233c0f=!0x1,_0x4d05f4[_0x27a27a(0x310)](_0x5bfaba));}),_0x4a2972[_0x563eac(0x1ea)]('close',function(){const _0x3d083b=_0x563eac;_0x4d05f4['destroyed']||_0x4d05f4[_0x3d083b(0x2ea)](null);}),_0x4d05f4[_0x563eac(0x21a)]=function(_0x3d3aad,_0x365bc0){const _0x5e7d69=_0x563eac;if(_0x4a2972[_0x5e7d69(0x2ae)]===_0x4a2972[_0x5e7d69(0x1a8)]){_0x365bc0(_0x3d3aad),process[_0x5e7d69(0x1ab)](_0x3b0064,_0x4d05f4);return;}let _0x36b186=!0x1;_0x4a2972['once'](_0x5e7d69(0x253),function(_0x5d757f){_0x36b186=!0x0,_0x365bc0(_0x5d757f);}),_0x4a2972[_0x5e7d69(0x1ea)](_0x5e7d69(0x197),function(){const _0x24b737=_0x5e7d69;_0x36b186||_0x365bc0(_0x3d3aad),process[_0x24b737(0x1ab)](_0x3b0064,_0x4d05f4);}),_0x233c0f&&_0x4a2972[_0x5e7d69(0x260)]();},_0x4d05f4[_0x563eac(0x1f3)]=function(_0x35f849){const _0x12e567=_0x563eac;if(_0x4a2972[_0x12e567(0x2ae)]===_0x4a2972['CONNECTING']){_0x4a2972[_0x12e567(0x1ea)](_0x12e567(0x309),function(){const _0x536730=_0x12e567;_0x4d05f4[_0x536730(0x1f3)](_0x35f849);});return;}_0x4a2972[_0x12e567(0x317)]!==null&&(_0x4a2972[_0x12e567(0x317)][_0x12e567(0x2bf)][_0x12e567(0x286)]?(_0x35f849(),_0x4d05f4[_0x12e567(0x2ce)][_0x12e567(0x17f)]&&_0x4d05f4[_0x12e567(0x310)]()):(_0x4a2972[_0x12e567(0x317)]['once']('finish',function(){_0x35f849();}),_0x4a2972[_0x12e567(0x197)]()));},_0x4d05f4[_0x563eac(0x2f3)]=function(){const _0x44a308=_0x563eac;_0x4a2972[_0x44a308(0x24d)]&&_0x4a2972[_0x44a308(0x1f9)]();},_0x4d05f4[_0x563eac(0x2ed)]=function(_0x346ffb,_0x282766,_0x533c2d){const _0x3bbf9d=_0x563eac;if(_0x4a2972['readyState']===_0x4a2972['CONNECTING']){_0x4a2972[_0x3bbf9d(0x1ea)](_0x3bbf9d(0x309),function(){const _0x4580ad=_0x3bbf9d;_0x4d05f4[_0x4580ad(0x2ed)](_0x346ffb,_0x282766,_0x533c2d);});return;}_0x4a2972[_0x3bbf9d(0x19b)](_0x346ffb,_0x533c2d);},_0x4d05f4['on']('end',_0x2b9840),_0x4d05f4['on'](_0x563eac(0x253),_0x1d8510),_0x4d05f4;}return Oe=_0x401f4f,Oe;}Yt(),ht(),ut();var Kt=Be();const Xt=Wt(Kt);var Ce,st;function Zt(){if(st)return Ce;st=0x1;const {tokenChars:_0x4eff45}=ie();function _0x5a8977(_0x590973){const _0x56a4fd=_0xfd7d,_0x11f20d=new Set();let _0x513098=-0x1,_0x32d4bd=-0x1,_0x37adb5=0x0;for(_0x37adb5;_0x37adb5<_0x590973[_0x56a4fd(0x23f)];_0x37adb5++){const _0x262511=_0x590973['charCodeAt'](_0x37adb5);if(_0x32d4bd===-0x1&&_0x4eff45[_0x262511]===0x1)_0x513098===-0x1&&(_0x513098=_0x37adb5);else{if(_0x37adb5!==0x0&&(_0x262511===0x20||_0x262511===0x9))_0x32d4bd===-0x1&&_0x513098!==-0x1&&(_0x32d4bd=_0x37adb5);else{if(_0x262511===0x2c){if(_0x513098===-0x1)throw new SyntaxError(_0x56a4fd(0x2f8)+_0x37adb5);_0x32d4bd===-0x1&&(_0x32d4bd=_0x37adb5);const _0x2f3e4f=_0x590973[_0x56a4fd(0x1e0)](_0x513098,_0x32d4bd);if(_0x11f20d[_0x56a4fd(0x301)](_0x2f3e4f))throw new SyntaxError(_0x56a4fd(0x23d)+_0x2f3e4f+_0x56a4fd(0x18e));_0x11f20d['add'](_0x2f3e4f),_0x513098=_0x32d4bd=-0x1;}else throw new SyntaxError(_0x56a4fd(0x2f8)+_0x37adb5);}}}if(_0x513098===-0x1||_0x32d4bd!==-0x1)throw new SyntaxError('Unexpected\x20end\x20of\x20input');const _0x18ea17=_0x590973[_0x56a4fd(0x1e0)](_0x513098,_0x37adb5);if(_0x11f20d[_0x56a4fd(0x301)](_0x18ea17))throw new SyntaxError('The\x20\x22'+_0x18ea17+_0x56a4fd(0x18e));return _0x11f20d['add'](_0x18ea17),_0x11f20d;}return Ce={'parse':_0x5a8977},Ce;}var Te,it;function Qt(){const _0x319ab7=_0x26743a;if(it)return Te;it=0x1;const _0xff1f9e=_0x4e030c,_0x4c31a7=_0xc8ef0c,{Duplex:_0x7dd7e0}=_0x3f440c,{createHash:_0x1f253a}=_0xdfaedd,_0x32fe94=dt(),_0x4099df=ce(),_0x32a2d2=Zt(),_0x1854f4=Be(),{GUID:_0xe9519,kWebSocket:_0x40190a}=V(),_0x2701dc=/^[+/0-9A-Za-z]{22}==$/,_0x5842d8=0x0,_0x133ff2=0x1,_0x1595e8=0x2;class _0x1606de extends _0xff1f9e{constructor(_0x53891d,_0x34536e){const _0x4c0a7e=_0xfd7d;if(super(),_0x53891d={'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':_0x1854f4,..._0x53891d},_0x53891d[_0x4c0a7e(0x188)]==null&&!_0x53891d[_0x4c0a7e(0x2fe)]&&!_0x53891d[_0x4c0a7e(0x1ba)]||_0x53891d[_0x4c0a7e(0x188)]!=null&&(_0x53891d[_0x4c0a7e(0x2fe)]||_0x53891d['noServer'])||_0x53891d[_0x4c0a7e(0x2fe)]&&_0x53891d[_0x4c0a7e(0x1ba)])throw new TypeError(_0x4c0a7e(0x28f));if(_0x53891d[_0x4c0a7e(0x188)]!=null?(this[_0x4c0a7e(0x1d9)]=_0x4c31a7[_0x4c0a7e(0x22c)]((_0x3f4318,_0x1a1f24)=>{const _0x6811d5=_0x4c0a7e,_0x1a0d99=_0x4c31a7[_0x6811d5(0x1e5)][0x1aa];_0x1a1f24[_0x6811d5(0x1be)](0x1aa,{'Content-Length':_0x1a0d99['length'],'Content-Type':'text/plain'}),_0x1a1f24['end'](_0x1a0d99);}),this['_server'][_0x4c0a7e(0x1bc)](_0x53891d[_0x4c0a7e(0x188)],_0x53891d['host'],_0x53891d['backlog'],_0x34536e)):_0x53891d[_0x4c0a7e(0x2fe)]&&(this[_0x4c0a7e(0x1d9)]=_0x53891d[_0x4c0a7e(0x2fe)]),this[_0x4c0a7e(0x1d9)]){const _0x3f2cc6=this[_0x4c0a7e(0x1e2)]['bind'](this,_0x4c0a7e(0x1db));this[_0x4c0a7e(0x26e)]=_0x117a03(this[_0x4c0a7e(0x1d9)],{'listening':this[_0x4c0a7e(0x1e2)][_0x4c0a7e(0x1bb)](this,'listening'),'error':this[_0x4c0a7e(0x1e2)][_0x4c0a7e(0x1bb)](this,_0x4c0a7e(0x253)),'upgrade':(_0x4d75de,_0x2c8921,_0x2156c0)=>{const _0x1630a9=_0x4c0a7e;this[_0x1630a9(0x2e7)](_0x4d75de,_0x2c8921,_0x2156c0,_0x3f2cc6);}});}_0x53891d[_0x4c0a7e(0x294)]===!0x0&&(_0x53891d[_0x4c0a7e(0x294)]={}),_0x53891d[_0x4c0a7e(0x1a7)]&&(this[_0x4c0a7e(0x19d)]=new Set(),this['_shouldEmitClose']=!0x1),this[_0x4c0a7e(0x283)]=_0x53891d,this[_0x4c0a7e(0x236)]=_0x5842d8;}[_0x319ab7(0x2ca)](){const _0x377b9f=_0x319ab7;if(this[_0x377b9f(0x283)][_0x377b9f(0x1ba)])throw new Error('The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode');return this['_server']?this[_0x377b9f(0x1d9)][_0x377b9f(0x2ca)]():null;}[_0x319ab7(0x197)](_0x2e615b){const _0x1cab2d=_0x319ab7;if(this[_0x1cab2d(0x236)]===_0x1595e8){_0x2e615b&&this[_0x1cab2d(0x1ea)](_0x1cab2d(0x197),()=>{const _0x46289c=_0x1cab2d;_0x2e615b(new Error(_0x46289c(0x21d)));}),process[_0x1cab2d(0x1ab)](_0xbd1357,this);return;}if(_0x2e615b&&this[_0x1cab2d(0x1ea)](_0x1cab2d(0x197),_0x2e615b),this[_0x1cab2d(0x236)]!==_0x133ff2){if(this[_0x1cab2d(0x236)]=_0x133ff2,this[_0x1cab2d(0x283)]['noServer']||this[_0x1cab2d(0x283)]['server'])this[_0x1cab2d(0x1d9)]&&(this[_0x1cab2d(0x26e)](),this[_0x1cab2d(0x26e)]=this[_0x1cab2d(0x1d9)]=null),this[_0x1cab2d(0x19d)]?this[_0x1cab2d(0x19d)][_0x1cab2d(0x251)]?this['_shouldEmitClose']=!0x0:process[_0x1cab2d(0x1ab)](_0xbd1357,this):process[_0x1cab2d(0x1ab)](_0xbd1357,this);else{const _0x17bc77=this['_server'];this[_0x1cab2d(0x26e)](),this[_0x1cab2d(0x26e)]=this[_0x1cab2d(0x1d9)]=null,_0x17bc77[_0x1cab2d(0x197)](()=>{_0xbd1357(this);});}}}['shouldHandle'](_0x59b5e7){const _0x418a9c=_0x319ab7;if(this[_0x418a9c(0x283)][_0x418a9c(0x2e2)]){const _0x3fa9ce=_0x59b5e7[_0x418a9c(0x29d)][_0x418a9c(0x25c)]('?');if((_0x3fa9ce!==-0x1?_0x59b5e7[_0x418a9c(0x29d)][_0x418a9c(0x1e0)](0x0,_0x3fa9ce):_0x59b5e7[_0x418a9c(0x29d)])!==this[_0x418a9c(0x283)][_0x418a9c(0x2e2)])return!0x1;}return!0x0;}['handleUpgrade'](_0x398c6f,_0x23690e,_0x888425,_0x42f79e){const _0x5545ba=_0x319ab7;_0x23690e['on'](_0x5545ba(0x253),_0x2d42ae);const _0x36a02f=_0x398c6f[_0x5545ba(0x202)][_0x5545ba(0x214)],_0x4209df=_0x398c6f[_0x5545ba(0x202)]['upgrade'],_0x4eb04c=+_0x398c6f[_0x5545ba(0x202)]['sec-websocket-version'];if(_0x398c6f['method']!==_0x5545ba(0x228)){_0x42a69d(this,_0x398c6f,_0x23690e,0x195,'Invalid\x20HTTP\x20method');return;}if(_0x4209df===void 0x0||_0x4209df[_0x5545ba(0x29e)]()!==_0x5545ba(0x21c)){_0x42a69d(this,_0x398c6f,_0x23690e,0x190,_0x5545ba(0x1b0));return;}if(_0x36a02f===void 0x0||!_0x2701dc[_0x5545ba(0x279)](_0x36a02f)){_0x42a69d(this,_0x398c6f,_0x23690e,0x190,_0x5545ba(0x28a));return;}if(_0x4eb04c!==0xd&&_0x4eb04c!==0x8){_0x42a69d(this,_0x398c6f,_0x23690e,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header',{'Sec-WebSocket-Version':'13,\x208'});return;}if(!this[_0x5545ba(0x180)](_0x398c6f)){_0x47a492(_0x23690e,0x190);return;}const _0xdf340=_0x398c6f[_0x5545ba(0x202)][_0x5545ba(0x187)];let _0x4b54cc=new Set();if(_0xdf340!==void 0x0)try{_0x4b54cc=_0x32a2d2['parse'](_0xdf340);}catch{_0x42a69d(this,_0x398c6f,_0x23690e,0x190,'Invalid\x20Sec-WebSocket-Protocol\x20header');return;}const _0x965c3=_0x398c6f[_0x5545ba(0x202)]['sec-websocket-extensions'],_0x4dc2c6={};if(this[_0x5545ba(0x283)][_0x5545ba(0x294)]&&_0x965c3!==void 0x0){const _0x5c51b2=new _0x4099df(this[_0x5545ba(0x283)][_0x5545ba(0x294)],!0x0,this[_0x5545ba(0x283)][_0x5545ba(0x2c9)]);try{const _0x134943=_0x32fe94['parse'](_0x965c3);_0x134943[_0x4099df[_0x5545ba(0x1f7)]]&&(_0x5c51b2[_0x5545ba(0x1dd)](_0x134943[_0x4099df[_0x5545ba(0x1f7)]]),_0x4dc2c6[_0x4099df[_0x5545ba(0x1f7)]]=_0x5c51b2);}catch{_0x42a69d(this,_0x398c6f,_0x23690e,0x190,_0x5545ba(0x1f5));return;}}if(this[_0x5545ba(0x283)]['verifyClient']){const _0x1b2d2e={'origin':_0x398c6f[_0x5545ba(0x202)][''+(_0x4eb04c===0x8?_0x5545ba(0x213):'origin')],'secure':!!(_0x398c6f[_0x5545ba(0x217)][_0x5545ba(0x22d)]||_0x398c6f['socket'][_0x5545ba(0x2ff)]),'req':_0x398c6f};if(this[_0x5545ba(0x283)][_0x5545ba(0x25a)]['length']===0x2){this[_0x5545ba(0x283)]['verifyClient'](_0x1b2d2e,(_0x472393,_0x499e62,_0x388459,_0x57d572)=>{const _0x33d23a=_0x5545ba;if(!_0x472393)return _0x47a492(_0x23690e,_0x499e62||0x191,_0x388459,_0x57d572);this[_0x33d23a(0x207)](_0x4dc2c6,_0x36a02f,_0x4b54cc,_0x398c6f,_0x23690e,_0x888425,_0x42f79e);});return;}if(!this[_0x5545ba(0x283)][_0x5545ba(0x25a)](_0x1b2d2e))return _0x47a492(_0x23690e,0x191);}this[_0x5545ba(0x207)](_0x4dc2c6,_0x36a02f,_0x4b54cc,_0x398c6f,_0x23690e,_0x888425,_0x42f79e);}[_0x319ab7(0x207)](_0x385cd1,_0x34cad0,_0x4e2cc5,_0x52bbf7,_0x211bca,_0x3b0c6a,_0x4051e1){const _0x3c6195=_0x319ab7;if(!_0x211bca['readable']||!_0x211bca[_0x3c6195(0x2d7)])return _0x211bca['destroy']();if(_0x211bca[_0x40190a])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this['_state']>_0x5842d8)return _0x47a492(_0x211bca,0x1f7);const _0x4124ed=[_0x3c6195(0x1ff),_0x3c6195(0x2cb),_0x3c6195(0x27a),_0x3c6195(0x303)+_0x1f253a(_0x3c6195(0x1f4))[_0x3c6195(0x1ad)](_0x34cad0+_0xe9519)['digest'](_0x3c6195(0x289))],_0x20f680=new this[(_0x3c6195(0x283))]['WebSocket'](null,void 0x0,this[_0x3c6195(0x283)]);if(_0x4e2cc5[_0x3c6195(0x251)]){const _0x2615be=this[_0x3c6195(0x283)][_0x3c6195(0x2c8)]?this[_0x3c6195(0x283)][_0x3c6195(0x2c8)](_0x4e2cc5,_0x52bbf7):_0x4e2cc5[_0x3c6195(0x1e6)]()[_0x3c6195(0x28e)]()['value'];_0x2615be&&(_0x4124ed['push'](_0x3c6195(0x2da)+_0x2615be),_0x20f680[_0x3c6195(0x23a)]=_0x2615be);}if(_0x385cd1[_0x4099df[_0x3c6195(0x1f7)]]){const _0x123270=_0x385cd1[_0x4099df[_0x3c6195(0x1f7)]][_0x3c6195(0x2c1)],_0x2ea346=_0x32fe94[_0x3c6195(0x297)]({[_0x4099df['extensionName']]:[_0x123270]});_0x4124ed['push'](_0x3c6195(0x1c3)+_0x2ea346),_0x20f680[_0x3c6195(0x1fa)]=_0x385cd1;}this[_0x3c6195(0x1e2)](_0x3c6195(0x202),_0x4124ed,_0x52bbf7),_0x211bca['write'](_0x4124ed[_0x3c6195(0x300)]('\x0d\x0a')[_0x3c6195(0x268)]('\x0d\x0a')),_0x211bca[_0x3c6195(0x1c8)](_0x3c6195(0x253),_0x2d42ae),_0x20f680[_0x3c6195(0x234)](_0x211bca,_0x3b0c6a,{'allowSynchronousEvents':this['options'][_0x3c6195(0x1f6)],'maxPayload':this[_0x3c6195(0x283)][_0x3c6195(0x2c9)],'skipUTF8Validation':this[_0x3c6195(0x283)][_0x3c6195(0x2cf)]}),this[_0x3c6195(0x19d)]&&(this[_0x3c6195(0x19d)]['add'](_0x20f680),_0x20f680['on'](_0x3c6195(0x197),()=>{const _0x1cb52f=_0x3c6195;this[_0x1cb52f(0x19d)][_0x1cb52f(0x17c)](_0x20f680),this[_0x1cb52f(0x19e)]&&!this[_0x1cb52f(0x19d)][_0x1cb52f(0x251)]&&process[_0x1cb52f(0x1ab)](_0xbd1357,this);})),_0x4051e1(_0x20f680,_0x52bbf7);}}Te=_0x1606de;function _0x117a03(_0x3e0c2e,_0x2df2ea){const _0x4c0969=_0x319ab7;for(const _0x26b4a2 of Object[_0x4c0969(0x2ad)](_0x2df2ea))_0x3e0c2e['on'](_0x26b4a2,_0x2df2ea[_0x26b4a2]);return function(){const _0x8a75e=_0x4c0969;for(const _0xcb123d of Object[_0x8a75e(0x2ad)](_0x2df2ea))_0x3e0c2e[_0x8a75e(0x1c8)](_0xcb123d,_0x2df2ea[_0xcb123d]);};}function _0xbd1357(_0x5840b2){const _0x3762d0=_0x319ab7;_0x5840b2[_0x3762d0(0x236)]=_0x1595e8,_0x5840b2[_0x3762d0(0x1e2)](_0x3762d0(0x197));}function _0x2d42ae(){this['destroy']();}function _0x47a492(_0x55d5cc,_0x225867,_0x2bfcc7,_0x367ca8){const _0xd5ec8c=_0x319ab7;_0x2bfcc7=_0x2bfcc7||_0x4c31a7['STATUS_CODES'][_0x225867],_0x367ca8={'Connection':_0xd5ec8c(0x197),'Content-Type':'text/html','Content-Length':Buffer[_0xd5ec8c(0x1b1)](_0x2bfcc7),..._0x367ca8},_0x55d5cc['once'](_0xd5ec8c(0x22a),_0x55d5cc[_0xd5ec8c(0x310)]),_0x55d5cc['end'](_0xd5ec8c(0x231)+_0x225867+'\x20'+_0x4c31a7[_0xd5ec8c(0x1e5)][_0x225867]+'\x0d\x0a'+Object['keys'](_0x367ca8)['map'](_0x429367=>_0x429367+':\x20'+_0x367ca8[_0x429367])['join']('\x0d\x0a')+_0xd5ec8c(0x26f)+_0x2bfcc7);}function _0x42a69d(_0x2dccf3,_0x1bc6ab,_0x4a358b,_0x5f05d1,_0x8cabe0,_0x47d15a){const _0x871e87=_0x319ab7;if(_0x2dccf3[_0x871e87(0x1d0)]('wsClientError')){const _0xd2922d=new Error(_0x8cabe0);Error[_0x871e87(0x2fc)](_0xd2922d,_0x42a69d),_0x2dccf3['emit'](_0x871e87(0x266),_0xd2922d,_0x4a358b,_0x1bc6ab);}else _0x47a492(_0x4a358b,_0x5f05d1,_0x8cabe0,_0x47d15a);}return Te;}Qt();function _0x5cdc(){const _0x795795=['_httpService','serverMaxWindowBits','threshold','_url','servername','number','controlMessage','_no_context_takeover','clientTracking','CLOSED','fin','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','nextTick','CLOSING','update','getOwnPropertyDescriptor','concurrency','Invalid\x20Upgrade\x20header','byteLength','ws:','handshakeTimeout','_closeFrameSent','reason','Cookie','Unexpected\x20server\x20response:\x20','extensions','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','noServer','bind','listen','Sec-WebSocket-Extensions','writeHead','needDrain','Z_DEFAULT_WINDOWBITS','_bufferedBytes','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','Sec-WebSocket-Extensions:\x20','_inflate','pathname','write','clientNoContextTakeover','removeListener','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','getPayloadLength16','Unsupported\x20protocol\x20version:\x20','_configService','removeEventListener','_firstFragment','CONNECTING','listenerCount','unshift','22724842qMWlCA','sec-websocket-accept','setConfig','_binaryType','pow','defineProperty','consume','_server','Invalid\x20WebSocket\x20frame:\x20','connection','4229616zEHRqw','accept','kIsForOnEventAttribute','arrayBuffer','slice','_deflate','emit','concurrencyLimit','_redirects','STATUS_CODES','values','kData','pipe','pending','once','generateMask','\x22\x20must\x20have\x20only\x20a\x20single\x20value','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','species','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','redirect','_maxPayload','default','_final','sha1','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','allowSynchronousEvents','extensionName','_fin','resume','_extensions','protocolVersion','apply','password','clientMaxWindowBits','HTTP/1.1\x20101\x20Switching\x20Protocols','_loop','function','headers','forEach','_payloadLength','writeUIntBE','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','completeUpgrade','acceptAsClient','_closeMessage','_doCreateSocket','data','byteOffset','errorEmitted','getBlobData','hasOwnProperty','freeze','string','_messageLength','sec-websocket-origin','sec-websocket-key','href','_originalSecure','socket','_originalHostOrSocketPath','prototype','_destroy','OPEN','websocket','The\x20server\x20is\x20not\x20running','_max_window_bits','dispatch','followRedirects','startsWith','arraybuffer','listeners','wasClean','4202013XkbkKE','pong','collaboration-client-node.config','GET','call','finish','conclude','createServer','authorized','abort','startLoop','server_no_context_takeover','HTTP/1.1\x20','_closeTimer','getPayloadLength64','setSocket','pluginName','_state','exports','code','Upgrade','_protocol','sendFrame','kCode','The\x20\x22','location','length','invalid\x20payload\x20length\x20','isArray','getInfo','WS_ERR_INVALID_CLOSE_CODE','from','haveLength','218202ntxPvd','request','entries','total-length','isView','hash','_opcode','isPaused','kByteLength','kType','_injector','size','_fragments','error','allocUnsafe','_receiver','The\x20URL\x27s\x20pathname\x20is\x20empty','_generateMask','_options','cleanup','verifyClient','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','indexOf','Unknown\x20parameter\x20\x22','server_max_window_bits','_mask','terminate','_threshold','setNoDelay','195335UlLKhb','RSV1\x20must\x20be\x20clear','invalid\x20opcode\x200','wsClientError','includes','join','status-code','readUInt32BE','flush','_fragmented','setTimeout','_removeListeners','\x0d\x0a\x0d\x0a','normalizeParams','dispose','_paused','isIP','maskBuffer','Invalid\x20Sec-WebSocket-Extensions\x20header','unexpected-response','invalid\x20UTF-8\x20sequence','username','test','Connection:\x20Upgrade','_totalPayloadLength','dequeue','_isServer','_errorEmitted','createInflateRaw','4235178rwVFgj','serverNoContextTakeover','writeUInt16BE','options','customHeaders','getConfig','finished','_bufferedAmount','binaryType','base64','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','timeout','sec-websocket-extensions','createConnection','next','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','Maximum\x20redirects\x20exceeded','createError','Max\x20payload\x20size\x20exceeded','client_max_window_bits','perMessageDeflate','nodebuffer','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','format','readUInt16BE','WS_ERR_UNEXPECTED_MASK','_allowSynchronousEvents','kAborted','destroyed','url','toLowerCase','defaultPort','kTarget','replace','isValidUTF8','File','object','_buffers','Invalid\x20Sec-WebSocket-Accept\x20header','WS_ERR_EXPECTED_FIN','buffer','_decompress','cookie','_closeCode','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','keys','readyState','client_no_context_takeover','finishRequest','origin','WS_ERR_INVALID_UTF8','_readyState','kMessage','mask','emitClose','blob','invalid\x20opcode\x20','protocol','offer','registerHTTPInterceptor','Opening\x20handshake\x20has\x20timed\x20out','invalid\x20status\x20code\x20','bufferedAmount','_writableState','callback','params','Invalid\x20URL:\x20','reset','permessage-deflate','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','WS_ERR_INVALID_OPCODE','set','handleProtocols','maxPayload','address','Upgrade:\x20websocket','add','_skipUTF8Validation','_readableState','skipUTF8Validation','getData','frame','auth','MASK\x20must\x20be\x20clear','map','_closeFrameReceived','1288216DwVGyq','writable','client','WS_ERR_UNEXPECTED_RSV_1','Sec-WebSocket-Protocol:\x20','pause','objectMode','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','_masked','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','onerror','path','createSocket','The\x20URL\x20contains\x20a\x20fragment\x20identifier','create','_maskBuffer','handleUpgrade','zlibDeflateOptions','autoPong','push','jobs','readOnly','_write','decompress','kDone','charCodeAt','opcode','MASK\x20must\x20be\x20set','_read','split','wss:','isBuffer','toStringTag','Unexpected\x20character\x20at\x20index\x20','statusCode','compress','onmessage','captureStackTrace','__esModule','server','encrypted','concat','has','_queue','Sec-WebSocket-Accept:\x20','Unexpected\x20end\x20of\x20input','http:','Server\x20sent\x20an\x20invalid\x20subprotocol','upgrade','_compress','open','_errored','isServer','socketPath','_compressed','_autoPong','find','destroy','addEventListener','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','acceptAsServer','drain','shift','kWasClean','_socket','_originalIpc','uncork','digest','\x20(supported\x20versions:\x20','WebSocket\x20is\x20not\x20open:\x20readyState\x20','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','alloc','message','type','delete','Basic\x20','getMask','endEmitted','shouldHandle','host','_sender','response','ping','authorization','Invalid\x20value\x20for\x20parameter\x20\x22','sec-websocket-protocol','port','setHeader','Sec-WebSocket-Protocol','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','dataMessage','toString','\x22\x20subprotocol\x20is\x20duplicated','connect','isInteger','hostname','_req','enqueue','end','onStarting','target','close','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','kRun','\x22:\x20','send','WS_ERR_UNEXPECTED_RSV_2_3','clients','_shouldEmitClose'];_0x5cdc=function(){return _0x795795;};return _0x5cdc();}var Jt=Object[_0x26743a(0x1ae)],er=(_0xde092c,_0x606df0,_0x33155b,_0x43cf04)=>{const _0x24e64a=_0x26743a;for(var _0x50872b=_0x43cf04>0x1?void 0x0:_0x43cf04?Jt(_0x606df0,_0x33155b):_0x606df0,_0x4a9f05=_0xde092c[_0x24e64a(0x23f)]-0x1,_0xbfa7b0;_0x4a9f05>=0x0;_0x4a9f05--)(_0xbfa7b0=_0xde092c[_0x4a9f05])&&(_0x50872b=_0xbfa7b0(_0x50872b)||_0x50872b);return _0x50872b;},tr=(_0x183e2f,_0x41db15)=>(_0xc6a682,_0x4a5af0)=>_0x41db15(_0xc6a682,_0x4a5af0,_0x183e2f);let ke=class extends _0x59042d{constructor(_0x52598b){const _0x29ba31=_0x26743a;super(),this[_0x29ba31(0x1cc)]=_0x52598b;}['createSocket'](_0xebe4fc){const _0x359a3d=_0x26743a;var _0x19261f;const _0x247574=((_0x19261f=this['_configService']['getConfig'](_0x2550df))==null?void 0x0:_0x19261f[_0x359a3d(0x284)])||{};try{const _0x261a8a=new Xt(_0xebe4fc,{'headers':{..._0x247574}}),_0x39f88c=new _0x5d8316();return{'URL':_0xebe4fc,'close':(_0x3add59,_0xe15324)=>{const _0x40ae7b=_0x359a3d;_0x261a8a[_0x40ae7b(0x197)](_0x3add59,_0xe15324),_0x39f88c[_0x40ae7b(0x271)]();},'send':_0x195fa5=>{_0x261a8a['send'](_0x195fa5);},'open$':new _0x3be2cc(_0xbba4c5=>{const _0x183184=_0x359a3d,_0x33ccb8=_0x4b033e=>_0xbba4c5[_0x183184(0x28e)](_0x4b033e);_0x261a8a[_0x183184(0x311)](_0x183184(0x309),_0x33ccb8),_0x39f88c[_0x183184(0x2cc)](_0x2ce8d8(()=>_0x261a8a[_0x183184(0x1cd)]('open',_0x33ccb8)));})['pipe'](_0x4eb6ef()),'close$':new _0x3be2cc(_0x46399d=>{const _0x3ca867=_0x359a3d,_0x5f57b2=_0x12addc=>_0x46399d[_0x3ca867(0x28e)](_0x12addc);_0x261a8a['addEventListener'](_0x3ca867(0x197),_0x5f57b2),_0x39f88c[_0x3ca867(0x2cc)](_0x2ce8d8(()=>_0x261a8a[_0x3ca867(0x1cd)](_0x3ca867(0x197),_0x5f57b2)));})[_0x359a3d(0x1e8)](_0x4eb6ef()),'error$':new _0x3be2cc(_0x77dc3=>{const _0x28000b=_0x359a3d,_0x389254=_0x356e40=>_0x77dc3[_0x28000b(0x28e)](_0x356e40);_0x261a8a[_0x28000b(0x311)](_0x28000b(0x253),_0x389254),_0x39f88c['add'](_0x2ce8d8(()=>_0x261a8a['removeEventListener'](_0x28000b(0x253),_0x389254)));})[_0x359a3d(0x1e8)](_0x4eb6ef()),'message$':new _0x3be2cc(_0x40928=>{const _0x32d19a=_0x359a3d,_0x525ffd=_0x415092=>_0x40928[_0x32d19a(0x28e)](_0x415092);_0x261a8a[_0x32d19a(0x311)](_0x32d19a(0x17a),_0x525ffd),_0x39f88c[_0x32d19a(0x2cc)](_0x2ce8d8(()=>_0x261a8a[_0x32d19a(0x1cd)]('message',_0x525ffd)));})[_0x359a3d(0x1e8)](_0x4eb6ef())};}catch(_0x46219f){return console['error'](_0x46219f),null;}}};ke=er([tr(0x0,_0x4caa1b)],ke);var rr=Object[_0x26743a(0x1d7)],sr=Object['getOwnPropertyDescriptor'],ir=(_0x45adff,_0x116fe1,_0x370147)=>_0x116fe1 in _0x45adff?rr(_0x45adff,_0x116fe1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x370147}):_0x45adff[_0x116fe1]=_0x370147,nr=(_0x26722f,_0x3dfb5e,_0x35c034,_0x2ba3e3)=>{const _0x30756b=_0x26743a;for(var _0x589b71=_0x2ba3e3>0x1?void 0x0:_0x2ba3e3?sr(_0x3dfb5e,_0x35c034):_0x3dfb5e,_0x4118e9=_0x26722f[_0x30756b(0x23f)]-0x1,_0x60f256;_0x4118e9>=0x0;_0x4118e9--)(_0x60f256=_0x26722f[_0x4118e9])&&(_0x589b71=_0x60f256(_0x589b71)||_0x589b71);return _0x589b71;},nt=(_0x36f7bc,_0x140f1a)=>(_0x401ccb,_0x1871ff)=>_0x140f1a(_0x401ccb,_0x1871ff,_0x36f7bc),or=(_0x1fdd0a,_0x1d85b4,_0x1de526)=>ir(_0x1fdd0a,_0x1d85b4+'',_0x1de526);let Ne=class extends _0xfc2ad3{constructor(_0x1fb612=Ft,_0x26a91d,_0x401391){const _0x3e35f5=_0x26743a;super(),this['_configService']=_0x26a91d,this[_0x3e35f5(0x250)]=_0x401391,this['_configService'][_0x3e35f5(0x1d4)]($t,_0x1fb612);}[_0x26743a(0x195)](){this['_registerDependencies']();}['_registerDependencies'](){const _0x31915c=_0x26743a;_0x4f3273(this[_0x31915c(0x250)],[[_0x2735b8,{'useClass':ke}]]);}};or(Ne,_0x26743a(0x235),_0x26743a(0x1b9)),Ne=nr([_0x38f840(_0x2d98bb),nt(0x1,_0x4caa1b),nt(0x2,_0x480ddf(_0x39106a))],Ne);var ar=Object[_0x26743a(0x1ae)],lr=(_0x5bd417,_0x4596ec,_0x43e495,_0xd81d16)=>{const _0x5b047b=_0x26743a;for(var _0x19747d=_0xd81d16>0x1?void 0x0:_0xd81d16?ar(_0x4596ec,_0x43e495):_0x4596ec,_0x2f9fae=_0x5bd417[_0x5b047b(0x23f)]-0x1,_0xf754a3;_0x2f9fae>=0x0;_0x2f9fae--)(_0xf754a3=_0x5bd417[_0x2f9fae])&&(_0x19747d=_0xf754a3(_0x19747d)||_0x19747d);return _0x19747d;},re=(_0x5d0adc,_0x4485d4)=>(_0x51ed6b,_0x5371e0)=>_0x4485d4(_0x51ed6b,_0x5371e0,_0x5d0adc);let ot=class extends _0x162069{constructor(_0x3153be,_0x1b42ee,_0x2ffbde,_0x1f85a1,_0x4eb202){const _0x5db4e3=_0x26743a;super(_0x3153be,_0x1b42ee,_0x2ffbde,_0x1f85a1,_0x4eb202);const _0x4e44b8=this[_0x5db4e3(0x1cc)][_0x5db4e3(0x285)](_0x2550df);this[_0x5db4e3(0x19f)][_0x5db4e3(0x2bb)]({'interceptor':(_0x7fa198,_0xa08702)=>{const _0x5bb61d=_0x5db4e3;var _0x4c3607;const _0x1d90a8=_0x7fa198['headers'];return(_0x4c3607=_0x4e44b8==null?void 0x0:_0x4e44b8['customHeaders'])!=null&&_0x4c3607[_0x5bb61d(0x2aa)]&&_0x1d90a8[_0x5bb61d(0x2c7)](_0x5bb61d(0x1b6),_0x4e44b8['customHeaders'][_0x5bb61d(0x2aa)]),_0xa08702(_0x7fa198);}});}async[_0x26743a(0x2e3)](_0x3ba674){const _0x429caf=_0x26743a;return this[_0x429caf(0x20a)](_0x3ba674);}};ot=lr([re(0x0,_0x480ddf(_0x39106a)),re(0x1,_0x480ddf(_0x13f9d6)),re(0x2,_0x4caa1b),re(0x3,_0x28a020),re(0x4,_0x5d6d8f)],ot);export{$t as COLLABORATION_CLIENT_NODE_CONFIG_KEY,ot as NodeCollaborationSocketService,Ne as UniverCollaborationClientNodePlugin};
1
+ const _0x1b6002=_0x612f;(function(_0x376508,_0x48abc8){const _0xfaee86=_0x612f,_0x1a7beb=_0x376508();while(!![]){try{const _0x52b049=-parseInt(_0xfaee86(0x12e))/0x1+-parseInt(_0xfaee86(0x1f3))/0x2+-parseInt(_0xfaee86(0x118))/0x3+-parseInt(_0xfaee86(0x1e0))/0x4*(parseInt(_0xfaee86(0xd8))/0x5)+parseInt(_0xfaee86(0x202))/0x6+parseInt(_0xfaee86(0x124))/0x7+parseInt(_0xfaee86(0x1d1))/0x8*(parseInt(_0xfaee86(0x10d))/0x9);if(_0x52b049===_0x48abc8)break;else _0x1a7beb['push'](_0x1a7beb['shift']());}catch(_0x2bfb8e){_0x1a7beb['push'](_0x1a7beb['shift']());}}}(_0xd37f,0x477c5));import{COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x313a53,UniverCollaborationClientPlugin as _0x2bfe89,CollaborationSocketService as _0x41c983}from'@univerjs-pro/collaboration-client';import{Disposable as _0x3c450a,DisposableCollection as _0x39cfce,toDisposable as _0x19d108,IConfigService as _0x331e7e,DependentOn as _0x3f6d16,Inject as _0x2d13ea,Injector as _0x4989d8,Plugin as _0x24bd00,registerDependencies as _0x3a1cab,ILogService as _0x29a30c}from'@univerjs/core';import{ISocketService as _0x3dba02,HTTPService as _0x12e606}from'@univerjs/network';import{Observable as _0x70ea54,share as _0x2734df}from'rxjs';import _0x15b586 from'events';import _0x1c5e73 from'https';import _0x203745 from'http';import _0x269c5e from'net';import _0x38f8fc from'tls';import _0x343471 from'crypto';import _0x5c4d5d from'stream';import _0xbd839d from'url';import _0xd0c075 from'zlib';import _0x1f490f from'buffer';import{ISnapshotServerService as _0x1c014f}from'@univerjs-pro/collaboration';const $t=_0x1b6002(0x125),Ft={};function Wt(_0x2f3686){const _0x122b38=_0x1b6002;return _0x2f3686&&_0x2f3686[_0x122b38(0x15b)]&&Object[_0x122b38(0x143)][_0x122b38(0x17f)][_0x122b38(0x1a4)](_0x2f3686,_0x122b38(0x23d))?_0x2f3686[_0x122b38(0x23d)]:_0x2f3686;}function jt(_0x559f64){const _0x5f0bf2=_0x1b6002;if(Object[_0x5f0bf2(0x143)][_0x5f0bf2(0x17f)]['call'](_0x559f64,_0x5f0bf2(0x15b)))return _0x559f64;var _0x25ac2d=_0x559f64[_0x5f0bf2(0x23d)];if(typeof _0x25ac2d==_0x5f0bf2(0xfb)){var _0x1638b7=function _0x46adf1(){const _0x3dfe40=_0x5f0bf2;var _0x38386a=!0x1;try{_0x38386a=this instanceof _0x46adf1;}catch{}return _0x38386a?Reflect['construct'](_0x25ac2d,arguments,this[_0x3dfe40(0x106)]):_0x25ac2d[_0x3dfe40(0x144)](this,arguments);};_0x1638b7[_0x5f0bf2(0x143)]=_0x25ac2d[_0x5f0bf2(0x143)];}else _0x1638b7={};return Object[_0x5f0bf2(0x242)](_0x1638b7,_0x5f0bf2(0x15b),{'value':!0x0}),Object[_0x5f0bf2(0x1b7)](_0x559f64)[_0x5f0bf2(0x1d8)](function(_0x41d1d5){const _0x45eff7=_0x5f0bf2;var _0x34c2ea=Object['getOwnPropertyDescriptor'](_0x559f64,_0x41d1d5);Object[_0x45eff7(0x242)](_0x1638b7,_0x41d1d5,_0x34c2ea[_0x45eff7(0x14f)]?_0x34c2ea:{'enumerable':!0x0,'get':function(){return _0x559f64[_0x41d1d5];}});}),_0x1638b7;}var me,He;function V(){const _0x1338fc=_0x1b6002;if(He)return me;He=0x1;const _0x26ca2d=[_0x1338fc(0x19a),_0x1338fc(0x178),'fragments'],_0x388f1b=typeof Blob<'u';return _0x388f1b&&_0x26ca2d[_0x1338fc(0xe0)](_0x1338fc(0x276)),me={'BINARY_TYPES':_0x26ca2d,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':_0x1338fc(0x104),'hasBlob':_0x388f1b,'kForOnEventAttribute':Symbol(_0x1338fc(0x1a0)),'kListener':Symbol('kListener'),'kStatusCode':Symbol(_0x1338fc(0x269)),'kWebSocket':Symbol(_0x1338fc(0x275)),'NOOP':()=>{}},me;}function _0x612f(_0x3372d8,_0x454142){_0x3372d8=_0x3372d8-0xc7;const _0xd37fed=_0xd37f();let _0x612f0c=_0xd37fed[_0x3372d8];return _0x612f0c;}var ge,ze;function fe(){const _0x5aeed8=_0x1b6002;if(ze)return ge;ze=0x1;const {EMPTY_BUFFER:_0xdfeca2}=V(),_0x31c0a4=Buffer[Symbol[_0x5aeed8(0x1e5)]];function _0x33fbec(_0x44a4f1,_0x855242){const _0x48e982=_0x5aeed8;if(_0x44a4f1[_0x48e982(0x12d)]===0x0)return _0xdfeca2;if(_0x44a4f1[_0x48e982(0x12d)]===0x1)return _0x44a4f1[0x0];const _0x1c41c2=Buffer[_0x48e982(0x119)](_0x855242);let _0x1e39a8=0x0;for(let _0xdb597b=0x0;_0xdb597b<_0x44a4f1[_0x48e982(0x12d)];_0xdb597b++){const _0x492d48=_0x44a4f1[_0xdb597b];_0x1c41c2[_0x48e982(0x221)](_0x492d48,_0x1e39a8),_0x1e39a8+=_0x492d48[_0x48e982(0x12d)];}return _0x1e39a8<_0x855242?new _0x31c0a4(_0x1c41c2[_0x48e982(0x128)],_0x1c41c2[_0x48e982(0x203)],_0x1e39a8):_0x1c41c2;}function _0x55289c(_0x132a88,_0x3d08c1,_0x48ecba,_0x385cbe,_0x1c2135){for(let _0x33b191=0x0;_0x33b191<_0x1c2135;_0x33b191++)_0x48ecba[_0x385cbe+_0x33b191]=_0x132a88[_0x33b191]^_0x3d08c1[_0x33b191&0x3];}function _0x2ea853(_0x3041b9,_0x3ebfb4){for(let _0x310594=0x0;_0x310594<_0x3041b9['length'];_0x310594++)_0x3041b9[_0x310594]^=_0x3ebfb4[_0x310594&0x3];}function _0x50976b(_0xf6836a){const _0x4fc1cb=_0x5aeed8;return _0xf6836a[_0x4fc1cb(0x12d)]===_0xf6836a[_0x4fc1cb(0x128)][_0x4fc1cb(0x238)]?_0xf6836a['buffer']:_0xf6836a['buffer'][_0x4fc1cb(0xd2)](_0xf6836a['byteOffset'],_0xf6836a[_0x4fc1cb(0x203)]+_0xf6836a[_0x4fc1cb(0x12d)]);}function _0x36c1ac(_0x30db25){const _0x52ab9c=_0x5aeed8;if(_0x36c1ac[_0x52ab9c(0x254)]=!0x0,Buffer[_0x52ab9c(0x205)](_0x30db25))return _0x30db25;let _0xb0ed1f;return _0x30db25 instanceof ArrayBuffer?_0xb0ed1f=new _0x31c0a4(_0x30db25):ArrayBuffer[_0x52ab9c(0x122)](_0x30db25)?_0xb0ed1f=new _0x31c0a4(_0x30db25['buffer'],_0x30db25[_0x52ab9c(0x203)],_0x30db25[_0x52ab9c(0x238)]):(_0xb0ed1f=Buffer[_0x52ab9c(0xf9)](_0x30db25),_0x36c1ac[_0x52ab9c(0x254)]=!0x1),_0xb0ed1f;}return ge={'concat':_0x33fbec,'mask':_0x55289c,'toArrayBuffer':_0x50976b,'toBuffer':_0x36c1ac,'unmask':_0x2ea853},ge;}var ye,Ye;function Gt(){const _0x34dbd5=_0x1b6002;if(Ye)return ye;Ye=0x1;const _0x410070=Symbol(_0x34dbd5(0x132)),_0x3f533c=Symbol(_0x34dbd5(0x154));class _0x1bc32c{constructor(_0x1458a1){const _0xc9b641=_0x34dbd5;this[_0x410070]=()=>{const _0x5168e1=_0x612f;this[_0x5168e1(0x248)]--,this[_0x3f533c]();},this['concurrency']=_0x1458a1||0x1/0x0,this[_0xc9b641(0xd1)]=[],this['pending']=0x0;}[_0x34dbd5(0x1e4)](_0x426241){const _0xc78008=_0x34dbd5;this[_0xc78008(0xd1)][_0xc78008(0xe0)](_0x426241),this[_0x3f533c]();}[_0x3f533c](){const _0x3f7392=_0x34dbd5;if(this[_0x3f7392(0x248)]!==this[_0x3f7392(0x13a)]&&this[_0x3f7392(0xd1)][_0x3f7392(0x12d)]){const _0x14458b=this[_0x3f7392(0xd1)]['shift']();this[_0x3f7392(0x248)]++,_0x14458b(this[_0x410070]);}}}return ye=_0x1bc32c,ye;}var ve,Ke;function ce(){const _0x1efcbe=_0x1b6002;if(Ke)return ve;Ke=0x1;const _0x197134=_0xd0c075,_0x439435=fe(),_0x1aeb70=Gt(),{kStatusCode:_0x483175}=V(),_0x3e3eaa=Buffer[Symbol[_0x1efcbe(0x1e5)]],_0x21fc6f=Buffer[_0x1efcbe(0xf9)]([0x0,0x0,0xff,0xff]),_0x4885de=Symbol(_0x1efcbe(0x156)),_0x7a5a8f=Symbol('total-length'),_0x58ce58=Symbol(_0x1efcbe(0x1f4)),_0x41faf4=Symbol(_0x1efcbe(0x212)),_0x319631=Symbol(_0x1efcbe(0x148));let _0xe8ac3b;class _0x4980e3{constructor(_0xe73d66,_0x245ec4,_0x109404){const _0x7c4bf=_0x1efcbe;if(this[_0x7c4bf(0x250)]=_0x109404|0x0,this[_0x7c4bf(0x1ac)]=_0xe73d66||{},this[_0x7c4bf(0x112)]=this['_options']['threshold']!==void 0x0?this[_0x7c4bf(0x1ac)][_0x7c4bf(0x211)]:0x400,this['_isServer']=!!_0x245ec4,this[_0x7c4bf(0x1aa)]=null,this[_0x7c4bf(0x1d3)]=null,this[_0x7c4bf(0x1bb)]=null,!_0xe8ac3b){const _0x2bf789=this[_0x7c4bf(0x1ac)][_0x7c4bf(0x165)]!==void 0x0?this['_options']['concurrencyLimit']:0xa;_0xe8ac3b=new _0x1aeb70(_0x2bf789);}}static get[_0x1efcbe(0x151)](){const _0x1aca83=_0x1efcbe;return _0x1aca83(0x156);}[_0x1efcbe(0x1be)](){const _0x2159ef=_0x1efcbe,_0x248ede={};return this[_0x2159ef(0x1ac)][_0x2159ef(0x21d)]&&(_0x248ede['server_no_context_takeover']=!0x0),this[_0x2159ef(0x1ac)][_0x2159ef(0x1e9)]&&(_0x248ede['client_no_context_takeover']=!0x0),this[_0x2159ef(0x1ac)][_0x2159ef(0x210)]&&(_0x248ede[_0x2159ef(0x13d)]=this[_0x2159ef(0x1ac)][_0x2159ef(0x210)]),this['_options'][_0x2159ef(0x223)]?_0x248ede[_0x2159ef(0x184)]=this['_options'][_0x2159ef(0x223)]:this[_0x2159ef(0x1ac)][_0x2159ef(0x223)]==null&&(_0x248ede[_0x2159ef(0x184)]=!0x0),_0x248ede;}['accept'](_0x420293){const _0x20cfe6=_0x1efcbe;return _0x420293=this['normalizeParams'](_0x420293),this[_0x20cfe6(0x1bb)]=this[_0x20cfe6(0x26e)]?this[_0x20cfe6(0x21a)](_0x420293):this[_0x20cfe6(0x15a)](_0x420293),this[_0x20cfe6(0x1bb)];}[_0x1efcbe(0x208)](){const _0x392d79=_0x1efcbe;if(this[_0x392d79(0x1d3)]&&(this[_0x392d79(0x1d3)]['close'](),this[_0x392d79(0x1d3)]=null),this[_0x392d79(0x1aa)]){const _0x127905=this[_0x392d79(0x1aa)][_0x58ce58];this['_deflate'][_0x392d79(0x277)](),this[_0x392d79(0x1aa)]=null,_0x127905&&_0x127905(new Error(_0x392d79(0x20d)));}}[_0x1efcbe(0x21a)](_0x31ab5b){const _0x134044=_0x1efcbe,_0x263df8=this['_options'],_0x3a0030=_0x31ab5b[_0x134044(0x13e)](_0x41c65d=>!(_0x263df8['serverNoContextTakeover']===!0x1&&_0x41c65d[_0x134044(0x19f)]||_0x41c65d[_0x134044(0x13d)]&&(_0x263df8[_0x134044(0x210)]===!0x1||typeof _0x263df8['serverMaxWindowBits']=='number'&&_0x263df8[_0x134044(0x210)]>_0x41c65d['server_max_window_bits'])||typeof _0x263df8[_0x134044(0x223)]==_0x134044(0x19e)&&!_0x41c65d[_0x134044(0x184)]));if(!_0x3a0030)throw new Error(_0x134044(0x100));return _0x263df8[_0x134044(0x21d)]&&(_0x3a0030['server_no_context_takeover']=!0x0),_0x263df8[_0x134044(0x1e9)]&&(_0x3a0030[_0x134044(0x246)]=!0x0),typeof _0x263df8[_0x134044(0x210)]==_0x134044(0x19e)&&(_0x3a0030[_0x134044(0x13d)]=_0x263df8[_0x134044(0x210)]),typeof _0x263df8['clientMaxWindowBits']==_0x134044(0x19e)?_0x3a0030[_0x134044(0x184)]=_0x263df8[_0x134044(0x223)]:(_0x3a0030['client_max_window_bits']===!0x0||_0x263df8['clientMaxWindowBits']===!0x1)&&delete _0x3a0030[_0x134044(0x184)],_0x3a0030;}[_0x1efcbe(0x15a)](_0x478ebb){const _0x263566=_0x1efcbe,_0x5d528a=_0x478ebb[0x0];if(this[_0x263566(0x1ac)][_0x263566(0x1e9)]===!0x1&&_0x5d528a[_0x263566(0x246)])throw new Error(_0x263566(0x172));if(!_0x5d528a[_0x263566(0x184)])typeof this['_options'][_0x263566(0x223)]==_0x263566(0x19e)&&(_0x5d528a[_0x263566(0x184)]=this['_options'][_0x263566(0x223)]);else{if(this[_0x263566(0x1ac)][_0x263566(0x223)]===!0x1||typeof this[_0x263566(0x1ac)][_0x263566(0x223)]==_0x263566(0x19e)&&_0x5d528a[_0x263566(0x184)]>this['_options'][_0x263566(0x223)])throw new Error(_0x263566(0x139));}return _0x5d528a;}[_0x1efcbe(0x16e)](_0x3cca39){const _0x561edb=_0x1efcbe;return _0x3cca39[_0x561edb(0x1d8)](_0x533136=>{const _0x9ad330=_0x561edb;Object[_0x9ad330(0x1b7)](_0x533136)[_0x9ad330(0x1d8)](_0x2cd447=>{const _0x22368b=_0x9ad330;let _0x46a278=_0x533136[_0x2cd447];if(_0x46a278['length']>0x1)throw new Error(_0x22368b(0x16f)+_0x2cd447+'\x22\x20must\x20have\x20only\x20a\x20single\x20value');if(_0x46a278=_0x46a278[0x0],_0x2cd447===_0x22368b(0x184)){if(_0x46a278!==!0x0){const _0x135da7=+_0x46a278;if(!Number[_0x22368b(0x266)](_0x135da7)||_0x135da7<0x8||_0x135da7>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x2cd447+_0x22368b(0x1fd)+_0x46a278);_0x46a278=_0x135da7;}else{if(!this[_0x22368b(0x26e)])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x2cd447+_0x22368b(0x1fd)+_0x46a278);}}else{if(_0x2cd447==='server_max_window_bits'){const _0x5d50f3=+_0x46a278;if(!Number[_0x22368b(0x266)](_0x5d50f3)||_0x5d50f3<0x8||_0x5d50f3>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x2cd447+_0x22368b(0x1fd)+_0x46a278);_0x46a278=_0x5d50f3;}else{if(_0x2cd447===_0x22368b(0x246)||_0x2cd447===_0x22368b(0x19f)){if(_0x46a278!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x2cd447+_0x22368b(0x1fd)+_0x46a278);}else throw new Error(_0x22368b(0x1d2)+_0x2cd447+'\x22');}}_0x533136[_0x2cd447]=_0x46a278;});}),_0x3cca39;}[_0x1efcbe(0x260)](_0x201041,_0x15aba8,_0x393402){const _0xa819d7=_0x1efcbe;_0xe8ac3b[_0xa819d7(0x1e4)](_0x50368e=>{const _0x11bdbd=_0xa819d7;this[_0x11bdbd(0xcf)](_0x201041,_0x15aba8,(_0x54aed7,_0x2638a7)=>{_0x50368e(),_0x393402(_0x54aed7,_0x2638a7);});});}[_0x1efcbe(0x180)](_0x26192a,_0x1f9615,_0xaccad){_0xe8ac3b['add'](_0x1f1d29=>{const _0x317123=_0x612f;this[_0x317123(0x1d4)](_0x26192a,_0x1f9615,(_0x146ca2,_0x1ebbcf)=>{_0x1f1d29(),_0xaccad(_0x146ca2,_0x1ebbcf);});});}[_0x1efcbe(0xcf)](_0x5dd90c,_0x4ee7e4,_0x91128){const _0x144c9f=_0x1efcbe,_0x1b2ac5=this['_isServer']?_0x144c9f(0x1cf):_0x144c9f(0x1ec);if(!this['_inflate']){const _0x2c9255=_0x1b2ac5+_0x144c9f(0x268),_0x1a1628=typeof this['params'][_0x2c9255]!=_0x144c9f(0x19e)?_0x197134[_0x144c9f(0x232)]:this[_0x144c9f(0x1bb)][_0x2c9255];this[_0x144c9f(0x1d3)]=_0x197134['createInflateRaw']({...this['_options']['zlibInflateOptions'],'windowBits':_0x1a1628}),this[_0x144c9f(0x1d3)][_0x4885de]=this,this[_0x144c9f(0x1d3)][_0x7a5a8f]=0x0,this[_0x144c9f(0x1d3)][_0x41faf4]=[],this['_inflate']['on'](_0x144c9f(0x148),_0x598cf1),this[_0x144c9f(0x1d3)]['on'](_0x144c9f(0x182),_0x310b5b);}this[_0x144c9f(0x1d3)][_0x58ce58]=_0x91128,this['_inflate'][_0x144c9f(0xcd)](_0x5dd90c),_0x4ee7e4&&this['_inflate']['write'](_0x21fc6f),this[_0x144c9f(0x1d3)][_0x144c9f(0xc7)](()=>{const _0xc1a43e=_0x144c9f,_0x24e1ae=this[_0xc1a43e(0x1d3)][_0x319631];if(_0x24e1ae){this[_0xc1a43e(0x1d3)][_0xc1a43e(0x277)](),this[_0xc1a43e(0x1d3)]=null,_0x91128(_0x24e1ae);return;}const _0x5343ae=_0x439435[_0xc1a43e(0xfe)](this[_0xc1a43e(0x1d3)][_0x41faf4],this[_0xc1a43e(0x1d3)][_0x7a5a8f]);this[_0xc1a43e(0x1d3)][_0xc1a43e(0x19c)]['endEmitted']?(this['_inflate'][_0xc1a43e(0x277)](),this[_0xc1a43e(0x1d3)]=null):(this[_0xc1a43e(0x1d3)][_0x7a5a8f]=0x0,this[_0xc1a43e(0x1d3)][_0x41faf4]=[],_0x4ee7e4&&this['params'][_0x1b2ac5+_0xc1a43e(0x1d9)]&&this['_inflate'][_0xc1a43e(0x1e1)]()),_0x91128(null,_0x5343ae);});}[_0x1efcbe(0x1d4)](_0x316b12,_0x3532f4,_0x46458d){const _0x1c35c4=_0x1efcbe,_0x39279c=this['_isServer']?_0x1c35c4(0x1ec):_0x1c35c4(0x1cf);if(!this[_0x1c35c4(0x1aa)]){const _0x65091d=_0x39279c+'_max_window_bits',_0x3ea13e=typeof this[_0x1c35c4(0x1bb)][_0x65091d]!=_0x1c35c4(0x19e)?_0x197134['Z_DEFAULT_WINDOWBITS']:this[_0x1c35c4(0x1bb)][_0x65091d];this[_0x1c35c4(0x1aa)]=_0x197134[_0x1c35c4(0x243)]({...this['_options'][_0x1c35c4(0x181)],'windowBits':_0x3ea13e}),this['_deflate'][_0x7a5a8f]=0x0,this['_deflate'][_0x41faf4]=[],this[_0x1c35c4(0x1aa)]['on']('data',_0x4ab040);}this[_0x1c35c4(0x1aa)][_0x58ce58]=_0x46458d,this[_0x1c35c4(0x1aa)][_0x1c35c4(0xcd)](_0x316b12),this[_0x1c35c4(0x1aa)][_0x1c35c4(0xc7)](_0x197134[_0x1c35c4(0x21c)],()=>{const _0x7c4b11=_0x1c35c4;if(!this['_deflate'])return;let _0x432c9d=_0x439435['concat'](this[_0x7c4b11(0x1aa)][_0x41faf4],this[_0x7c4b11(0x1aa)][_0x7a5a8f]);_0x3532f4&&(_0x432c9d=new _0x3e3eaa(_0x432c9d['buffer'],_0x432c9d['byteOffset'],_0x432c9d[_0x7c4b11(0x12d)]-0x4)),this[_0x7c4b11(0x1aa)][_0x58ce58]=null,this[_0x7c4b11(0x1aa)][_0x7a5a8f]=0x0,this[_0x7c4b11(0x1aa)][_0x41faf4]=[],_0x3532f4&&this[_0x7c4b11(0x1bb)][_0x39279c+_0x7c4b11(0x1d9)]&&this[_0x7c4b11(0x1aa)]['reset'](),_0x46458d(null,_0x432c9d);});}}ve=_0x4980e3;function _0x4ab040(_0x10672d){const _0xfb66dd=_0x1efcbe;this[_0x41faf4][_0xfb66dd(0xe0)](_0x10672d),this[_0x7a5a8f]+=_0x10672d[_0xfb66dd(0x12d)];}function _0x310b5b(_0x51e1df){const _0x3c755a=_0x1efcbe;if(this[_0x7a5a8f]+=_0x51e1df['length'],this[_0x4885de][_0x3c755a(0x250)]<0x1||this[_0x7a5a8f]<=this[_0x4885de][_0x3c755a(0x250)]){this[_0x41faf4][_0x3c755a(0xe0)](_0x51e1df);return;}this[_0x319631]=new RangeError('Max\x20payload\x20size\x20exceeded'),this[_0x319631][_0x3c755a(0x103)]=_0x3c755a(0x1b0),this[_0x319631][_0x483175]=0x3f1,this[_0x3c755a(0x1a3)](_0x3c755a(0x182),_0x310b5b),this['reset']();}function _0x598cf1(_0x51ab97){if(this[_0x4885de]['_inflate']=null,this[_0x319631]){this[_0x58ce58](this[_0x319631]);return;}_0x51ab97[_0x483175]=0x3ef,this[_0x58ce58](_0x51ab97);}return ve;}var te={'exports':{}};const Vt={},qt=Object[_0x1b6002(0xe6)](Object[_0x1b6002(0x242)]({'__proto__':null,'default':Vt},Symbol[_0x1b6002(0x14c)],{'value':_0x1b6002(0x149)})),Ht=jt(qt);var Xe;function _0xd37f(){const _0x5d37bf=['isInteger','_injector','_max_window_bits','status-code','\x0d\x0a\x0d\x0a','response','skipUTF8Validation','WS_ERR_INVALID_OPCODE','_isServer','_totalPayloadLength','mask','captureStackTrace','\x22\x20subprotocol\x20is\x20duplicated','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','getMask','websocket','blob','close','flush','RSV1\x20must\x20be\x20clear','location','isValidUTF8','port','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','write','kAborted','_decompress','handshakeTimeout','jobs','slice','_destroy','Sec-WebSocket-Accept:\x20','startLoop','_protocol','noServer','50ebrLnT','_doCreateSocket','read','pause','writeHead','hostname','ping','format','push','MASK\x20must\x20be\x20set','_buffers','The\x20URL\x20contains\x20a\x20fragment\x20identifier','haveLength','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','freeze','startsWith','isArray','authorization','CONNECTING','_generateMask','request','The\x20\x22','listen','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','backlog','text/html','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','Invalid\x20Sec-WebSocket-Extensions\x20header','completeUpgrade','MASK\x20must\x20be\x20clear','options','ws:','from','emitClose','function','getInfo','includes','concat','catch','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','stream','_errorEmitted','code','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','getPayloadLength16','constructor','statusCode','addEventListener','create','string','maxPayload','bind','1706319OLPYFG','_fin','_socket','invalid\x20status\x20code\x20','protocolVersion','_threshold','wss:','_paused','fin','Sec-WebSocket-Origin','_fragments','1399329kHRxvA','allocUnsafe','encrypted','_skipUTF8Validation','WS_ERR_UNEXPECTED_RSV_2_3','http:','invalid\x20payload\x20length\x20','_extensions','_closeMessage','handleEvent','isView','onopen','3800104ZEgowJ','collaboration-client-node.config','Invalid\x20URL:\x20','Invalid\x20Sec-WebSocket-Accept\x20header','buffer','Connection:\x20Upgrade','Upgrade','WS_ERR_UNEXPECTED_MASK','finished','length','523940MadjyN','isPaused','enqueue','sec-websocket-protocol','kDone','next','getPayloadLength64','ws+unix:','_writableState','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','The\x20URL\x27s\x20pathname\x20is\x20empty','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','concurrency','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','message','server_max_window_bits','find','Basic\x20','Invalid\x20Upgrade\x20header','kByteLength','_url','prototype','apply','method','_originalSecure','WebSocket','error','Module','authorized','_closeFrameSent','toStringTag','toString','HTTP/1.1\x20101\x20Switching\x20Protocols','get','url','extensionName','isIP','shift','kRun','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','permessage-deflate','createConnection','kCode','wasClean','acceptAsClient','__esModule','listening','writeUInt16BE','_originalHostOrSocketPath','CLOSING','values','end','13,\x208','_redirects','test','concurrencyLimit','getOwnPropertyDescriptor','join','createSocket','conclude','charCodeAt','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','verifyClient','writable','normalizeParams','Parameter\x20\x22','Unsupported\x20protocol\x20version:\x20','has','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','WS_ERR_EXPECTED_FIN','sec-websocket-extensions','pathname','kData','setNoDelay','arraybuffer','dequeue','_removeListeners','dispatch','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','sha1','kReason','hasOwnProperty','compress','zlibDeflateOptions','data','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','client_max_window_bits','CLOSED','consume','setHeader','_bufferedBytes','emit','invalid\x20UTF-8\x20sequence','Maximum\x20redirects\x20exceeded','abort','reason','Sec-WebSocket-Protocol','_autoPong','unexpected-response','_messageLength','password','replace','maxRedirects','handleUpgrade','_registerDependencies','WS_ERR_UNEXPECTED_RSV_1','sendFrame','nextTick','nodebuffer','digest','_readableState','onerror','number','server_no_context_takeover','kIsForOnEventAttribute','Origin','_errored','removeListener','call','_receiver','unshift','auth','_readyState','maskBuffer','_deflate','bufferedAmount','_options','open','connection','type','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','_loop','_closeCode','Sec-WebSocket-Protocol:\x20','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','perMessageDeflate','keys','wsClientError','HTTP/1.1\x20','entries','params','readUInt16BE','allowSynchronousEvents','offer','removeEventListener','needDrain','_fragmented','timeout','OPEN','finish','upgrade','Server\x20sent\x20an\x20invalid\x20subprotocol','defaultPort','servername','WS_ERR_EXPECTED_MASK','headers','WebSocket\x20is\x20not\x20open:\x20readyState\x20','opcode','destroy','sec-websocket-accept','client','kWasClean','56JfZjTc','Unknown\x20parameter\x20\x22','_inflate','_compress','readyState','readUInt32BE','_shouldEmitClose','forEach','_no_context_takeover','text/plain','_configService','_closeTimer','socket','parse','clientTracking','170020HpvlKz','reset','once','exports','add','species','arrayBuffer','split','binaryType','clientNoContextTakeover','rsv1','Max\x20payload\x20size\x20exceeded','server','shouldHandle','path','_server','finishRequest','_opcode','origin','457452xdZLDr','callback','_binaryType','indexOf','extensions','username','_masked','redirect','pluginName','invalid\x20opcode\x20','\x22:\x20','pipe','toLowerCase','protocol','endEmitted','401730ySrfeF','byteOffset','WS_ERR_INVALID_UTF8','isBuffer','_closeFrameReceived','kType','cleanup','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','_queue','setSocket','_mask','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','_firstFragment','serverMaxWindowBits','threshold','buffers','base64','_sender','File','Invalid\x20WebSocket\x20frame:\x20','createError','_state','host','acceptAsServer','autoPong','Z_SYNC_FLUSH','serverNoContextTakeover','listenerCount','destroyed','errorEmitted','set','Server\x20sent\x20no\x20subprotocol','clientMaxWindowBits','terminate','map','generateMask','pow','registerHTTPInterceptor','kTarget','pong','object','customHeaders','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','address','_bufferedAmount','dispose','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','Z_DEFAULT_WINDOWBITS','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','createServer','connect','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','dataMessage','byteLength','send','_req','followRedirects','accept','default','update','Unexpected\x20end\x20of\x20input','objectMode','socketPath','defineProperty','createDeflateRaw','_read','_payloadLength','client_no_context_takeover','Blob','pending','_maskBuffer','size','_write','frame','GET','https:','Unexpected\x20character\x20at\x20index\x20','_maxPayload','resume','binary','_compressed','readOnly','FIN\x20must\x20be\x20set','controlMessage','getBlobData','_originalIpc','uncork','invalid\x20opcode\x200','STATUS_CODES','getConfig','alloc','hash','_final','decompress','setTimeout','removeAllListeners','_allowSynchronousEvents','clients','target'];_0xd37f=function(){return _0x5d37bf;};return _0xd37f();}function ie(){const _0x2813b4=_0x1b6002;if(Xe)return te[_0x2813b4(0x1e3)];Xe=0x1;const {isUtf8:_0xa895e}=_0x1f490f,{hasBlob:_0x1861af}=V(),_0x4661b3=[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 _0x2955fb(_0x4d7d6e){return _0x4d7d6e>=0x3e8&&_0x4d7d6e<=0x3f6&&_0x4d7d6e!==0x3ec&&_0x4d7d6e!==0x3ed&&_0x4d7d6e!==0x3ee||_0x4d7d6e>=0xbb8&&_0x4d7d6e<=0x1387;}function _0x491444(_0x14ec4d){const _0x57b93e=_0x14ec4d['length'];let _0x187f63=0x0;for(;_0x187f63<_0x57b93e;)if((_0x14ec4d[_0x187f63]&0x80)===0x0)_0x187f63++;else{if((_0x14ec4d[_0x187f63]&0xe0)===0xc0){if(_0x187f63+0x1===_0x57b93e||(_0x14ec4d[_0x187f63+0x1]&0xc0)!==0x80||(_0x14ec4d[_0x187f63]&0xfe)===0xc0)return!0x1;_0x187f63+=0x2;}else{if((_0x14ec4d[_0x187f63]&0xf0)===0xe0){if(_0x187f63+0x2>=_0x57b93e||(_0x14ec4d[_0x187f63+0x1]&0xc0)!==0x80||(_0x14ec4d[_0x187f63+0x2]&0xc0)!==0x80||_0x14ec4d[_0x187f63]===0xe0&&(_0x14ec4d[_0x187f63+0x1]&0xe0)===0x80||_0x14ec4d[_0x187f63]===0xed&&(_0x14ec4d[_0x187f63+0x1]&0xe0)===0xa0)return!0x1;_0x187f63+=0x3;}else{if((_0x14ec4d[_0x187f63]&0xf8)===0xf0){if(_0x187f63+0x3>=_0x57b93e||(_0x14ec4d[_0x187f63+0x1]&0xc0)!==0x80||(_0x14ec4d[_0x187f63+0x2]&0xc0)!==0x80||(_0x14ec4d[_0x187f63+0x3]&0xc0)!==0x80||_0x14ec4d[_0x187f63]===0xf0&&(_0x14ec4d[_0x187f63+0x1]&0xf0)===0x80||_0x14ec4d[_0x187f63]===0xf4&&_0x14ec4d[_0x187f63+0x1]>0x8f||_0x14ec4d[_0x187f63]>0xf4)return!0x1;_0x187f63+=0x4;}else return!0x1;}}}return!0x0;}function _0x447ba3(_0x501b23){const _0x2a6401=_0x2813b4;return _0x1861af&&typeof _0x501b23==_0x2a6401(0x22b)&&typeof _0x501b23[_0x2a6401(0x1e6)]==_0x2a6401(0xfb)&&typeof _0x501b23[_0x2a6401(0x1af)]=='string'&&typeof _0x501b23[_0x2a6401(0x101)]=='function'&&(_0x501b23[Symbol[_0x2a6401(0x14c)]]===_0x2a6401(0x247)||_0x501b23[Symbol[_0x2a6401(0x14c)]]===_0x2a6401(0x215));}if(te[_0x2813b4(0x1e3)]={'isBlob':_0x447ba3,'isValidStatusCode':_0x2955fb,'isValidUTF8':_0x491444,'tokenChars':_0x4661b3},_0xa895e)te[_0x2813b4(0x1e3)]['isValidUTF8']=function(_0x336ba8){return _0x336ba8['length']<0x18?_0x491444(_0x336ba8):_0xa895e(_0x336ba8);};else{if(!process.env.WS_NO_UTF_8_VALIDATE)try{const _0x808e14=Ht;te[_0x2813b4(0x1e3)][_0x2813b4(0xca)]=function(_0x165888){const _0x18399e=_0x2813b4;return _0x165888[_0x18399e(0x12d)]<0x20?_0x491444(_0x165888):_0x808e14(_0x165888);};}catch{}}return te[_0x2813b4(0x1e3)];}var Se,Ze;function ht(){const _0x961666=_0x1b6002;if(Ze)return Se;Ze=0x1;const {Writable:_0x403dca}=_0x5c4d5d,_0x4da53e=ce(),{BINARY_TYPES:_0x2f2c7c,EMPTY_BUFFER:_0x2d7ce0,kStatusCode:_0x419a2c,kWebSocket:_0xb438f1}=V(),{concat:_0x5d7810,toArrayBuffer:_0xb7b4f3,unmask:_0x7a83e6}=fe(),{isValidStatusCode:_0x57d81,isValidUTF8:_0x1539ad}=ie(),_0x3d04c0=Buffer[Symbol[_0x961666(0x1e5)]],_0x5b0728=0x0,_0x47b20f=0x1,_0x4ae7db=0x2,_0x53e41a=0x3,_0x39ead8=0x4,_0x55e2da=0x5,_0x41aee3=0x6;class _0x43c8fe extends _0x403dca{constructor(_0x29964b={}){const _0x51b8a8=_0x961666;super(),this[_0x51b8a8(0x263)]=_0x29964b[_0x51b8a8(0x1bd)]!==void 0x0?_0x29964b['allowSynchronousEvents']:!0x0,this['_binaryType']=_0x29964b[_0x51b8a8(0x1e8)]||_0x2f2c7c[0x0],this[_0x51b8a8(0x11f)]=_0x29964b[_0x51b8a8(0x1f7)]||{},this[_0x51b8a8(0x26e)]=!!_0x29964b['isServer'],this[_0x51b8a8(0x250)]=_0x29964b[_0x51b8a8(0x10b)]|0x0,this[_0x51b8a8(0x11b)]=!!_0x29964b[_0x51b8a8(0x26c)],this[_0xb438f1]=void 0x0,this[_0x51b8a8(0x188)]=0x0,this[_0x51b8a8(0xe2)]=[],this[_0x51b8a8(0x253)]=!0x1,this[_0x51b8a8(0x245)]=0x0,this[_0x51b8a8(0x20c)]=void 0x0,this[_0x51b8a8(0x1c1)]=0x0,this['_masked']=!0x1,this['_fin']=!0x1,this[_0x51b8a8(0x1f1)]=0x0,this[_0x51b8a8(0x26f)]=0x0,this['_messageLength']=0x0,this[_0x51b8a8(0x117)]=[],this[_0x51b8a8(0x1a2)]=!0x1,this[_0x51b8a8(0x1b1)]=!0x1,this[_0x51b8a8(0x218)]=_0x5b0728;}['_write'](_0x4ff7ce,_0x4f8372,_0x1ae6e7){const _0x4c5052=_0x961666;if(this[_0x4c5052(0x1f1)]===0x8&&this[_0x4c5052(0x218)]==_0x5b0728)return _0x1ae6e7();this['_bufferedBytes']+=_0x4ff7ce[_0x4c5052(0x12d)],this[_0x4c5052(0xe2)][_0x4c5052(0xe0)](_0x4ff7ce),this[_0x4c5052(0xd5)](_0x1ae6e7);}[_0x961666(0x186)](_0x118e4f){const _0x3517f8=_0x961666;if(this[_0x3517f8(0x188)]-=_0x118e4f,_0x118e4f===this[_0x3517f8(0xe2)][0x0]['length'])return this[_0x3517f8(0xe2)][_0x3517f8(0x153)]();if(_0x118e4f<this[_0x3517f8(0xe2)][0x0][_0x3517f8(0x12d)]){const _0x1eaa74=this[_0x3517f8(0xe2)][0x0];return this[_0x3517f8(0xe2)][0x0]=new _0x3d04c0(_0x1eaa74[_0x3517f8(0x128)],_0x1eaa74[_0x3517f8(0x203)]+_0x118e4f,_0x1eaa74[_0x3517f8(0x12d)]-_0x118e4f),new _0x3d04c0(_0x1eaa74[_0x3517f8(0x128)],_0x1eaa74[_0x3517f8(0x203)],_0x118e4f);}const _0x31e63e=Buffer[_0x3517f8(0x119)](_0x118e4f);do{const _0x173121=this['_buffers'][0x0],_0x48b32c=_0x31e63e[_0x3517f8(0x12d)]-_0x118e4f;_0x118e4f>=_0x173121[_0x3517f8(0x12d)]?_0x31e63e[_0x3517f8(0x221)](this[_0x3517f8(0xe2)][_0x3517f8(0x153)](),_0x48b32c):(_0x31e63e[_0x3517f8(0x221)](new Uint8Array(_0x173121[_0x3517f8(0x128)],_0x173121[_0x3517f8(0x203)],_0x118e4f),_0x48b32c),this[_0x3517f8(0xe2)][0x0]=new _0x3d04c0(_0x173121[_0x3517f8(0x128)],_0x173121[_0x3517f8(0x203)]+_0x118e4f,_0x173121['length']-_0x118e4f)),_0x118e4f-=_0x173121[_0x3517f8(0x12d)];}while(_0x118e4f>0x0);return _0x31e63e;}[_0x961666(0xd5)](_0x3503ba){const _0x7c2acb=_0x961666;this[_0x7c2acb(0x1b1)]=!0x0;do switch(this[_0x7c2acb(0x218)]){case _0x5b0728:this[_0x7c2acb(0xfc)](_0x3503ba);break;case _0x47b20f:this[_0x7c2acb(0x105)](_0x3503ba);break;case _0x4ae7db:this[_0x7c2acb(0x134)](_0x3503ba);break;case _0x53e41a:this['getMask']();break;case _0x39ead8:this['getData'](_0x3503ba);break;case _0x55e2da:case _0x41aee3:this[_0x7c2acb(0x1b1)]=!0x1;return;}while(this[_0x7c2acb(0x1b1)]);this[_0x7c2acb(0x1a2)]||_0x3503ba();}[_0x961666(0xfc)](_0x1378a3){const _0x17f318=_0x961666;if(this[_0x17f318(0x188)]<0x2){this[_0x17f318(0x1b1)]=!0x1;return;}const _0x37f0ae=this[_0x17f318(0x186)](0x2);if((_0x37f0ae[0x0]&0x30)!==0x0){const _0x55776a=this[_0x17f318(0x217)](RangeError,_0x17f318(0x16b),!0x0,0x3ea,_0x17f318(0x11c));_0x1378a3(_0x55776a);return;}const _0x1e1c40=(_0x37f0ae[0x0]&0x40)===0x40;if(_0x1e1c40&&!this[_0x17f318(0x11f)][_0x4da53e[_0x17f318(0x151)]]){const _0x52a99f=this[_0x17f318(0x217)](RangeError,_0x17f318(0xc8),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x1378a3(_0x52a99f);return;}if(this[_0x17f318(0x10e)]=(_0x37f0ae[0x0]&0x80)===0x80,this[_0x17f318(0x1f1)]=_0x37f0ae[0x0]&0xf,this['_payloadLength']=_0x37f0ae[0x1]&0x7f,this[_0x17f318(0x1f1)]===0x0){if(_0x1e1c40){const _0x431df8=this[_0x17f318(0x217)](RangeError,_0x17f318(0xc8),!0x0,0x3ea,_0x17f318(0x197));_0x1378a3(_0x431df8);return;}if(!this[_0x17f318(0x1c1)]){const _0x4f80c8=this[_0x17f318(0x217)](RangeError,_0x17f318(0x25a),!0x0,0x3ea,_0x17f318(0x26d));_0x1378a3(_0x4f80c8);return;}this['_opcode']=this[_0x17f318(0x1c1)];}else{if(this[_0x17f318(0x1f1)]===0x1||this[_0x17f318(0x1f1)]===0x2){if(this[_0x17f318(0x1c1)]){const _0x2f3914=this['createError'](RangeError,'invalid\x20opcode\x20'+this['_opcode'],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x1378a3(_0x2f3914);return;}this[_0x17f318(0x253)]=_0x1e1c40;}else{if(this[_0x17f318(0x1f1)]>0x7&&this[_0x17f318(0x1f1)]<0xb){if(!this['_fin']){const _0x13a612=this[_0x17f318(0x217)](RangeError,_0x17f318(0x255),!0x0,0x3ea,_0x17f318(0x173));_0x1378a3(_0x13a612);return;}if(_0x1e1c40){const _0x47588c=this['createError'](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x1378a3(_0x47588c);return;}if(this['_payloadLength']>0x7d||this['_opcode']===0x8&&this[_0x17f318(0x245)]===0x1){const _0x59769a=this[_0x17f318(0x217)](RangeError,_0x17f318(0x11e)+this[_0x17f318(0x245)],!0x0,0x3ea,_0x17f318(0x22d));_0x1378a3(_0x59769a);return;}}else{const _0x13d7b3=this[_0x17f318(0x217)](RangeError,_0x17f318(0x1fc)+this[_0x17f318(0x1f1)],!0x0,0x3ea,_0x17f318(0x26d));_0x1378a3(_0x13d7b3);return;}}}if(!this[_0x17f318(0x10e)]&&!this[_0x17f318(0x1c1)]&&(this['_fragmented']=this[_0x17f318(0x1f1)]),this[_0x17f318(0x1f9)]=(_0x37f0ae[0x1]&0x80)===0x80,this[_0x17f318(0x26e)]){if(!this[_0x17f318(0x1f9)]){const _0x250422=this[_0x17f318(0x217)](RangeError,_0x17f318(0xe1),!0x0,0x3ea,_0x17f318(0x1c9));_0x1378a3(_0x250422);return;}}else{if(this[_0x17f318(0x1f9)]){const _0x3b3015=this[_0x17f318(0x217)](RangeError,_0x17f318(0xf6),!0x0,0x3ea,_0x17f318(0x12b));_0x1378a3(_0x3b3015);return;}}this[_0x17f318(0x245)]===0x7e?this[_0x17f318(0x218)]=_0x47b20f:this['_payloadLength']===0x7f?this[_0x17f318(0x218)]=_0x4ae7db:this['haveLength'](_0x1378a3);}[_0x961666(0x105)](_0x33e8f3){const _0xb6b678=_0x961666;if(this[_0xb6b678(0x188)]<0x2){this[_0xb6b678(0x1b1)]=!0x1;return;}this['_payloadLength']=this[_0xb6b678(0x186)](0x2)[_0xb6b678(0x1bc)](0x0),this[_0xb6b678(0xe4)](_0x33e8f3);}[_0x961666(0x134)](_0x17f005){const _0x1bcb9d=_0x961666;if(this['_bufferedBytes']<0x8){this[_0x1bcb9d(0x1b1)]=!0x1;return;}const _0x416612=this[_0x1bcb9d(0x186)](0x8),_0x1902c4=_0x416612[_0x1bcb9d(0x1d6)](0x0);if(_0x1902c4>Math[_0x1bcb9d(0x227)](0x2,0x15)-0x1){const _0x47e772=this[_0x1bcb9d(0x217)](RangeError,_0x1bcb9d(0xef),!0x1,0x3f1,_0x1bcb9d(0x231));_0x17f005(_0x47e772);return;}this[_0x1bcb9d(0x245)]=_0x1902c4*Math[_0x1bcb9d(0x227)](0x2,0x20)+_0x416612[_0x1bcb9d(0x1d6)](0x4),this[_0x1bcb9d(0xe4)](_0x17f005);}[_0x961666(0xe4)](_0x26afda){const _0x17bce7=_0x961666;if(this[_0x17bce7(0x245)]&&this['_opcode']<0x8&&(this[_0x17bce7(0x26f)]+=this[_0x17bce7(0x245)],this[_0x17bce7(0x26f)]>this[_0x17bce7(0x250)]&&this[_0x17bce7(0x250)]>0x0)){const _0x584bc2=this[_0x17bce7(0x217)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x17bce7(0x1b0));_0x26afda(_0x584bc2);return;}this[_0x17bce7(0x1f9)]?this['_state']=_0x53e41a:this[_0x17bce7(0x218)]=_0x39ead8;}[_0x961666(0x274)](){const _0x1fc97d=_0x961666;if(this[_0x1fc97d(0x188)]<0x4){this[_0x1fc97d(0x1b1)]=!0x1;return;}this['_mask']=this['consume'](0x4),this[_0x1fc97d(0x218)]=_0x39ead8;}['getData'](_0x4b07f6){const _0x518bb6=_0x961666;let _0x210dcb=_0x2d7ce0;if(this[_0x518bb6(0x245)]){if(this[_0x518bb6(0x188)]<this['_payloadLength']){this['_loop']=!0x1;return;}_0x210dcb=this[_0x518bb6(0x186)](this[_0x518bb6(0x245)]),this['_masked']&&(this[_0x518bb6(0x20c)][0x0]|this[_0x518bb6(0x20c)][0x1]|this[_0x518bb6(0x20c)][0x2]|this[_0x518bb6(0x20c)][0x3])!==0x0&&_0x7a83e6(_0x210dcb,this[_0x518bb6(0x20c)]);}if(this[_0x518bb6(0x1f1)]>0x7){this[_0x518bb6(0x256)](_0x210dcb,_0x4b07f6);return;}if(this['_compressed']){this[_0x518bb6(0x218)]=_0x55e2da,this[_0x518bb6(0x260)](_0x210dcb,_0x4b07f6);return;}_0x210dcb[_0x518bb6(0x12d)]&&(this[_0x518bb6(0x191)]=this['_totalPayloadLength'],this['_fragments'][_0x518bb6(0xe0)](_0x210dcb)),this['dataMessage'](_0x4b07f6);}['decompress'](_0x510632,_0x57a3de){const _0x5c44ab=_0x961666;this[_0x5c44ab(0x11f)][_0x4da53e[_0x5c44ab(0x151)]][_0x5c44ab(0x260)](_0x510632,this[_0x5c44ab(0x10e)],(_0x245749,_0x116b64)=>{const _0x4596c6=_0x5c44ab;if(_0x245749)return _0x57a3de(_0x245749);if(_0x116b64['length']){if(this[_0x4596c6(0x191)]+=_0x116b64[_0x4596c6(0x12d)],this[_0x4596c6(0x191)]>this['_maxPayload']&&this['_maxPayload']>0x0){const _0x59f23c=this[_0x4596c6(0x217)](RangeError,_0x4596c6(0x1eb),!0x1,0x3f1,_0x4596c6(0x1b0));_0x57a3de(_0x59f23c);return;}this[_0x4596c6(0x117)][_0x4596c6(0xe0)](_0x116b64);}this[_0x4596c6(0x237)](_0x57a3de),this[_0x4596c6(0x218)]===_0x5b0728&&this[_0x4596c6(0xd5)](_0x57a3de);});}['dataMessage'](_0x684c19){const _0x3cd5a7=_0x961666;if(!this[_0x3cd5a7(0x10e)]){this[_0x3cd5a7(0x218)]=_0x5b0728;return;}const _0x501918=this['_messageLength'],_0x1a936c=this[_0x3cd5a7(0x117)];if(this[_0x3cd5a7(0x26f)]=0x0,this[_0x3cd5a7(0x191)]=0x0,this[_0x3cd5a7(0x1c1)]=0x0,this[_0x3cd5a7(0x117)]=[],this['_opcode']===0x2){let _0x1b8713;this[_0x3cd5a7(0x1f5)]===_0x3cd5a7(0x19a)?_0x1b8713=_0x5d7810(_0x1a936c,_0x501918):this['_binaryType']===_0x3cd5a7(0x178)?_0x1b8713=_0xb7b4f3(_0x5d7810(_0x1a936c,_0x501918)):this[_0x3cd5a7(0x1f5)]===_0x3cd5a7(0x276)?_0x1b8713=new Blob(_0x1a936c):_0x1b8713=_0x1a936c,this[_0x3cd5a7(0x263)]?(this[_0x3cd5a7(0x189)](_0x3cd5a7(0x13c),_0x1b8713,!0x0),this[_0x3cd5a7(0x218)]=_0x5b0728):(this[_0x3cd5a7(0x218)]=_0x41aee3,setImmediate(()=>{const _0x26bcb4=_0x3cd5a7;this[_0x26bcb4(0x189)](_0x26bcb4(0x13c),_0x1b8713,!0x0),this['_state']=_0x5b0728,this['startLoop'](_0x684c19);}));}else{const _0x5f20a1=_0x5d7810(_0x1a936c,_0x501918);if(!this[_0x3cd5a7(0x11b)]&&!_0x1539ad(_0x5f20a1)){const _0x4e0705=this['createError'](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x684c19(_0x4e0705);return;}this[_0x3cd5a7(0x218)]===_0x55e2da||this[_0x3cd5a7(0x263)]?(this[_0x3cd5a7(0x189)](_0x3cd5a7(0x13c),_0x5f20a1,!0x1),this[_0x3cd5a7(0x218)]=_0x5b0728):(this[_0x3cd5a7(0x218)]=_0x41aee3,setImmediate(()=>{const _0x2793f3=_0x3cd5a7;this[_0x2793f3(0x189)]('message',_0x5f20a1,!0x1),this[_0x2793f3(0x218)]=_0x5b0728,this['startLoop'](_0x684c19);}));}}[_0x961666(0x256)](_0x566a41,_0x17303b){const _0x56e8c1=_0x961666;if(this['_opcode']===0x8){if(_0x566a41['length']===0x0)this[_0x56e8c1(0x1b1)]=!0x1,this[_0x56e8c1(0x189)](_0x56e8c1(0x169),0x3ed,_0x2d7ce0),this['end']();else{const _0x3eb0eb=_0x566a41['readUInt16BE'](0x0);if(!_0x57d81(_0x3eb0eb)){const _0x250eba=this[_0x56e8c1(0x217)](RangeError,_0x56e8c1(0x110)+_0x3eb0eb,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0x17303b(_0x250eba);return;}const _0x4a74b0=new _0x3d04c0(_0x566a41[_0x56e8c1(0x128)],_0x566a41[_0x56e8c1(0x203)]+0x2,_0x566a41[_0x56e8c1(0x12d)]-0x2);if(!this[_0x56e8c1(0x11b)]&&!_0x1539ad(_0x4a74b0)){const _0x13b891=this[_0x56e8c1(0x217)](Error,_0x56e8c1(0x18a),!0x0,0x3ef,_0x56e8c1(0x204));_0x17303b(_0x13b891);return;}this['_loop']=!0x1,this[_0x56e8c1(0x189)]('conclude',_0x3eb0eb,_0x4a74b0),this[_0x56e8c1(0x161)]();}this[_0x56e8c1(0x218)]=_0x5b0728;return;}this[_0x56e8c1(0x263)]?(this[_0x56e8c1(0x189)](this[_0x56e8c1(0x1f1)]===0x9?'ping':_0x56e8c1(0x22a),_0x566a41),this[_0x56e8c1(0x218)]=_0x5b0728):(this[_0x56e8c1(0x218)]=_0x41aee3,setImmediate(()=>{const _0x1f211c=_0x56e8c1;this[_0x1f211c(0x189)](this[_0x1f211c(0x1f1)]===0x9?_0x1f211c(0xde):'pong',_0x566a41),this[_0x1f211c(0x218)]=_0x5b0728,this[_0x1f211c(0xd5)](_0x17303b);}));}['createError'](_0x50cb5e,_0x558ad7,_0x308008,_0x5ef06e,_0x15e609){const _0x27d5aa=_0x961666;this[_0x27d5aa(0x1b1)]=!0x1,this[_0x27d5aa(0x1a2)]=!0x0;const _0x491b45=new _0x50cb5e(_0x308008?_0x27d5aa(0x216)+_0x558ad7:_0x558ad7);return Error[_0x27d5aa(0x271)](_0x491b45,this[_0x27d5aa(0x217)]),_0x491b45[_0x27d5aa(0x103)]=_0x15e609,_0x491b45[_0x419a2c]=_0x5ef06e,_0x491b45;}}return Se=_0x43c8fe,Se;}var Ee,Qe;function ut(){const _0x26cc88=_0x1b6002;if(Qe)return Ee;Qe=0x1;const {Duplex:_0x403c7b}=_0x5c4d5d,{randomFillSync:_0x219692}=_0x343471,_0x2d2af5=ce(),{EMPTY_BUFFER:_0x4ea07d,kWebSocket:_0x4cea26,NOOP:_0x2e9177}=V(),{isBlob:_0x395f17,isValidStatusCode:_0x395f55}=ie(),{mask:_0x37243c,toBuffer:_0x4ed327}=fe(),_0x7cc9cb=Symbol(_0x26cc88(0x141)),_0x1e638e=Buffer['alloc'](0x4),_0x5a9f7c=0x8*0x400;let _0x295a1e,_0x59a7e5=_0x5a9f7c;const _0x3b6773=0x0,_0x32b78f=0x1,_0x2b00c5=0x2;class _0x7d8cdd{constructor(_0x2d0813,_0x37e545,_0x59f677){const _0x3ab36d=_0x26cc88;this['_extensions']=_0x37e545||{},_0x59f677&&(this['_generateMask']=_0x59f677,this['_maskBuffer']=Buffer[_0x3ab36d(0x25d)](0x4)),this['_socket']=_0x2d0813,this[_0x3ab36d(0x20f)]=!0x0,this[_0x3ab36d(0x1d4)]=!0x1,this[_0x3ab36d(0x188)]=0x0,this[_0x3ab36d(0x20a)]=[],this[_0x3ab36d(0x218)]=_0x3b6773,this[_0x3ab36d(0x19d)]=_0x2e9177,this[_0x4cea26]=void 0x0;}static[_0x26cc88(0x24c)](_0x59e5ac,_0xf5cb27){const _0x15e701=_0x26cc88;let _0x384da8,_0x4bc61b=!0x1,_0x107f5e=0x2,_0x41dba4=!0x1;_0xf5cb27[_0x15e701(0x270)]&&(_0x384da8=_0xf5cb27[_0x15e701(0x1a9)]||_0x1e638e,_0xf5cb27[_0x15e701(0x226)]?_0xf5cb27[_0x15e701(0x226)](_0x384da8):(_0x59a7e5===_0x5a9f7c&&(_0x295a1e===void 0x0&&(_0x295a1e=Buffer[_0x15e701(0x25d)](_0x5a9f7c)),_0x219692(_0x295a1e,0x0,_0x5a9f7c),_0x59a7e5=0x0),_0x384da8[0x0]=_0x295a1e[_0x59a7e5++],_0x384da8[0x1]=_0x295a1e[_0x59a7e5++],_0x384da8[0x2]=_0x295a1e[_0x59a7e5++],_0x384da8[0x3]=_0x295a1e[_0x59a7e5++]),_0x41dba4=(_0x384da8[0x0]|_0x384da8[0x1]|_0x384da8[0x2]|_0x384da8[0x3])===0x0,_0x107f5e=0x6);let _0x16058e;typeof _0x59e5ac=='string'?(!_0xf5cb27['mask']||_0x41dba4)&&_0xf5cb27[_0x7cc9cb]!==void 0x0?_0x16058e=_0xf5cb27[_0x7cc9cb]:(_0x59e5ac=Buffer[_0x15e701(0xf9)](_0x59e5ac),_0x16058e=_0x59e5ac[_0x15e701(0x12d)]):(_0x16058e=_0x59e5ac[_0x15e701(0x12d)],_0x4bc61b=_0xf5cb27['mask']&&_0xf5cb27['readOnly']&&!_0x41dba4);let _0x580311=_0x16058e;_0x16058e>=0x10000?(_0x107f5e+=0x8,_0x580311=0x7f):_0x16058e>0x7d&&(_0x107f5e+=0x2,_0x580311=0x7e);const _0x106905=Buffer[_0x15e701(0x119)](_0x4bc61b?_0x16058e+_0x107f5e:_0x107f5e);return _0x106905[0x0]=_0xf5cb27[_0x15e701(0x115)]?_0xf5cb27[_0x15e701(0x1cc)]|0x80:_0xf5cb27[_0x15e701(0x1cc)],_0xf5cb27[_0x15e701(0x1ea)]&&(_0x106905[0x0]|=0x40),_0x106905[0x1]=_0x580311,_0x580311===0x7e?_0x106905['writeUInt16BE'](_0x16058e,0x2):_0x580311===0x7f&&(_0x106905[0x2]=_0x106905[0x3]=0x0,_0x106905['writeUIntBE'](_0x16058e,0x4,0x6)),_0xf5cb27['mask']?(_0x106905[0x1]|=0x80,_0x106905[_0x107f5e-0x4]=_0x384da8[0x0],_0x106905[_0x107f5e-0x3]=_0x384da8[0x1],_0x106905[_0x107f5e-0x2]=_0x384da8[0x2],_0x106905[_0x107f5e-0x1]=_0x384da8[0x3],_0x41dba4?[_0x106905,_0x59e5ac]:_0x4bc61b?(_0x37243c(_0x59e5ac,_0x384da8,_0x106905,_0x107f5e,_0x16058e),[_0x106905]):(_0x37243c(_0x59e5ac,_0x384da8,_0x59e5ac,0x0,_0x16058e),[_0x106905,_0x59e5ac])):[_0x106905,_0x59e5ac];}[_0x26cc88(0x277)](_0x151943,_0x2746b9,_0x5b1790,_0x39d738){const _0x2cd341=_0x26cc88;let _0x4937cc;if(_0x151943===void 0x0)_0x4937cc=_0x4ea07d;else{if(typeof _0x151943!='number'||!_0x395f55(_0x151943))throw new TypeError('First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number');if(_0x2746b9===void 0x0||!_0x2746b9['length'])_0x4937cc=Buffer[_0x2cd341(0x119)](0x2),_0x4937cc[_0x2cd341(0x15d)](_0x151943,0x0);else{const _0x5bbdd9=Buffer[_0x2cd341(0x238)](_0x2746b9);if(_0x5bbdd9>0x7b)throw new RangeError(_0x2cd341(0x233));_0x4937cc=Buffer[_0x2cd341(0x119)](0x2+_0x5bbdd9),_0x4937cc[_0x2cd341(0x15d)](_0x151943,0x0),typeof _0x2746b9==_0x2cd341(0x10a)?_0x4937cc[_0x2cd341(0xcd)](_0x2746b9,0x2):_0x4937cc[_0x2cd341(0x221)](_0x2746b9,0x2);}}const _0x2a3bd3={[_0x7cc9cb]:_0x4937cc[_0x2cd341(0x12d)],'fin':!0x0,'generateMask':this[_0x2cd341(0xeb)],'mask':_0x5b1790,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this['_state']!==_0x3b6773?this['enqueue']([this[_0x2cd341(0x17b)],_0x4937cc,!0x1,_0x2a3bd3,_0x39d738]):this['sendFrame'](_0x7d8cdd[_0x2cd341(0x24c)](_0x4937cc,_0x2a3bd3),_0x39d738);}[_0x26cc88(0xde)](_0x7cb7f5,_0x205351,_0x59d64b){const _0xcb151=_0x26cc88;let _0x169d67,_0x56a246;if(typeof _0x7cb7f5==_0xcb151(0x10a)?(_0x169d67=Buffer['byteLength'](_0x7cb7f5),_0x56a246=!0x1):_0x395f17(_0x7cb7f5)?(_0x169d67=_0x7cb7f5[_0xcb151(0x24a)],_0x56a246=!0x1):(_0x7cb7f5=_0x4ed327(_0x7cb7f5),_0x169d67=_0x7cb7f5['length'],_0x56a246=_0x4ed327['readOnly']),_0x169d67>0x7d)throw new RangeError(_0xcb151(0xcc));const _0x575972={[_0x7cc9cb]:_0x169d67,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x205351,'maskBuffer':this[_0xcb151(0x249)],'opcode':0x9,'readOnly':_0x56a246,'rsv1':!0x1};_0x395f17(_0x7cb7f5)?this[_0xcb151(0x218)]!==_0x3b6773?this[_0xcb151(0x130)]([this[_0xcb151(0x257)],_0x7cb7f5,!0x1,_0x575972,_0x59d64b]):this[_0xcb151(0x257)](_0x7cb7f5,!0x1,_0x575972,_0x59d64b):this['_state']!==_0x3b6773?this[_0xcb151(0x130)]([this[_0xcb151(0x17b)],_0x7cb7f5,!0x1,_0x575972,_0x59d64b]):this[_0xcb151(0x198)](_0x7d8cdd[_0xcb151(0x24c)](_0x7cb7f5,_0x575972),_0x59d64b);}[_0x26cc88(0x22a)](_0x497ddf,_0x1af5f9,_0x21dada){const _0x2915fe=_0x26cc88;let _0xbdb962,_0x2429b1;if(typeof _0x497ddf==_0x2915fe(0x10a)?(_0xbdb962=Buffer['byteLength'](_0x497ddf),_0x2429b1=!0x1):_0x395f17(_0x497ddf)?(_0xbdb962=_0x497ddf[_0x2915fe(0x24a)],_0x2429b1=!0x1):(_0x497ddf=_0x4ed327(_0x497ddf),_0xbdb962=_0x497ddf['length'],_0x2429b1=_0x4ed327['readOnly']),_0xbdb962>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0xa87c26={[_0x7cc9cb]:_0xbdb962,'fin':!0x0,'generateMask':this[_0x2915fe(0xeb)],'mask':_0x1af5f9,'maskBuffer':this[_0x2915fe(0x249)],'opcode':0xa,'readOnly':_0x2429b1,'rsv1':!0x1};_0x395f17(_0x497ddf)?this[_0x2915fe(0x218)]!==_0x3b6773?this['enqueue']([this[_0x2915fe(0x257)],_0x497ddf,!0x1,_0xa87c26,_0x21dada]):this['getBlobData'](_0x497ddf,!0x1,_0xa87c26,_0x21dada):this[_0x2915fe(0x218)]!==_0x3b6773?this['enqueue']([this[_0x2915fe(0x17b)],_0x497ddf,!0x1,_0xa87c26,_0x21dada]):this['sendFrame'](_0x7d8cdd[_0x2915fe(0x24c)](_0x497ddf,_0xa87c26),_0x21dada);}['send'](_0xf46ba4,_0x2f8c8d,_0x524edc){const _0x20476c=_0x26cc88,_0x36f68c=this[_0x20476c(0x11f)][_0x2d2af5[_0x20476c(0x151)]];let _0x2fe206=_0x2f8c8d[_0x20476c(0x252)]?0x2:0x1,_0x21a86d=_0x2f8c8d[_0x20476c(0x180)],_0x4ea791,_0x53b787;typeof _0xf46ba4=='string'?(_0x4ea791=Buffer['byteLength'](_0xf46ba4),_0x53b787=!0x1):_0x395f17(_0xf46ba4)?(_0x4ea791=_0xf46ba4[_0x20476c(0x24a)],_0x53b787=!0x1):(_0xf46ba4=_0x4ed327(_0xf46ba4),_0x4ea791=_0xf46ba4[_0x20476c(0x12d)],_0x53b787=_0x4ed327[_0x20476c(0x254)]),this[_0x20476c(0x20f)]?(this[_0x20476c(0x20f)]=!0x1,_0x21a86d&&_0x36f68c&&_0x36f68c[_0x20476c(0x1bb)][_0x36f68c[_0x20476c(0x26e)]?_0x20476c(0x19f):_0x20476c(0x246)]&&(_0x21a86d=_0x4ea791>=_0x36f68c[_0x20476c(0x112)]),this[_0x20476c(0x1d4)]=_0x21a86d):(_0x21a86d=!0x1,_0x2fe206=0x0),_0x2f8c8d['fin']&&(this['_firstFragment']=!0x0);const _0x3c1ecd={[_0x7cc9cb]:_0x4ea791,'fin':_0x2f8c8d['fin'],'generateMask':this['_generateMask'],'mask':_0x2f8c8d[_0x20476c(0x270)],'maskBuffer':this[_0x20476c(0x249)],'opcode':_0x2fe206,'readOnly':_0x53b787,'rsv1':_0x21a86d};_0x395f17(_0xf46ba4)?this[_0x20476c(0x218)]!==_0x3b6773?this['enqueue']([this[_0x20476c(0x257)],_0xf46ba4,this['_compress'],_0x3c1ecd,_0x524edc]):this['getBlobData'](_0xf46ba4,this[_0x20476c(0x1d4)],_0x3c1ecd,_0x524edc):this[_0x20476c(0x218)]!==_0x3b6773?this['enqueue']([this[_0x20476c(0x17b)],_0xf46ba4,this[_0x20476c(0x1d4)],_0x3c1ecd,_0x524edc]):this['dispatch'](_0xf46ba4,this[_0x20476c(0x1d4)],_0x3c1ecd,_0x524edc);}[_0x26cc88(0x257)](_0x3005dd,_0x4c3462,_0x141c82,_0xcf9ad8){const _0xa2de47=_0x26cc88;this['_bufferedBytes']+=_0x141c82[_0x7cc9cb],this[_0xa2de47(0x218)]=_0x2b00c5,_0x3005dd['arrayBuffer']()['then'](_0x12fb26=>{const _0x5ed351=_0xa2de47;if(this['_socket'][_0x5ed351(0x21f)]){const _0x49a40d=new Error('The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read');process['nextTick'](_0x113fcd,this,_0x49a40d,_0xcf9ad8);return;}this[_0x5ed351(0x188)]-=_0x141c82[_0x7cc9cb];const _0x5b3fba=_0x4ed327(_0x12fb26);_0x4c3462?this[_0x5ed351(0x17b)](_0x5b3fba,_0x4c3462,_0x141c82,_0xcf9ad8):(this[_0x5ed351(0x218)]=_0x3b6773,this[_0x5ed351(0x198)](_0x7d8cdd[_0x5ed351(0x24c)](_0x5b3fba,_0x141c82),_0xcf9ad8),this[_0x5ed351(0x179)]());})[_0xa2de47(0xff)](_0x5373d1=>{const _0x5cce70=_0xa2de47;process[_0x5cce70(0x199)](_0x349c8,this,_0x5373d1,_0xcf9ad8);});}[_0x26cc88(0x17b)](_0x25c10c,_0x44b822,_0x3edea3,_0x569058){const _0x29f738=_0x26cc88;if(!_0x44b822){this['sendFrame'](_0x7d8cdd[_0x29f738(0x24c)](_0x25c10c,_0x3edea3),_0x569058);return;}const _0x8a3864=this[_0x29f738(0x11f)][_0x2d2af5[_0x29f738(0x151)]];this[_0x29f738(0x188)]+=_0x3edea3[_0x7cc9cb],this[_0x29f738(0x218)]=_0x32b78f,_0x8a3864['compress'](_0x25c10c,_0x3edea3[_0x29f738(0x115)],(_0xd0125c,_0xd5877a)=>{const _0x24db4a=_0x29f738;if(this[_0x24db4a(0x10f)]['destroyed']){const _0x75fc81=new Error(_0x24db4a(0x1b5));_0x113fcd(this,_0x75fc81,_0x569058);return;}this[_0x24db4a(0x188)]-=_0x3edea3[_0x7cc9cb],this[_0x24db4a(0x218)]=_0x3b6773,_0x3edea3[_0x24db4a(0x254)]=!0x1,this[_0x24db4a(0x198)](_0x7d8cdd[_0x24db4a(0x24c)](_0xd5877a,_0x3edea3),_0x569058),this['dequeue']();});}[_0x26cc88(0x179)](){const _0x5458a7=_0x26cc88;for(;this['_state']===_0x3b6773&&this[_0x5458a7(0x20a)][_0x5458a7(0x12d)];){const _0x42e9ae=this[_0x5458a7(0x20a)][_0x5458a7(0x153)]();this[_0x5458a7(0x188)]-=_0x42e9ae[0x3][_0x7cc9cb],Reflect['apply'](_0x42e9ae[0x0],this,_0x42e9ae[_0x5458a7(0xd2)](0x1));}}['enqueue'](_0x5794a7){const _0x4cfcec=_0x26cc88;this[_0x4cfcec(0x188)]+=_0x5794a7[0x3][_0x7cc9cb],this[_0x4cfcec(0x20a)]['push'](_0x5794a7);}[_0x26cc88(0x198)](_0x471314,_0x1a74dc){const _0x5ad551=_0x26cc88;_0x471314[_0x5ad551(0x12d)]===0x2?(this[_0x5ad551(0x10f)]['cork'](),this[_0x5ad551(0x10f)][_0x5ad551(0xcd)](_0x471314[0x0]),this[_0x5ad551(0x10f)][_0x5ad551(0xcd)](_0x471314[0x1],_0x1a74dc),this[_0x5ad551(0x10f)][_0x5ad551(0x259)]()):this[_0x5ad551(0x10f)][_0x5ad551(0xcd)](_0x471314[0x0],_0x1a74dc);}}Ee=_0x7d8cdd;function _0x113fcd(_0x488bfd,_0x2da3c0,_0x1993d4){const _0x26d732=_0x26cc88;typeof _0x1993d4==_0x26d732(0xfb)&&_0x1993d4(_0x2da3c0);for(let _0x4008f0=0x0;_0x4008f0<_0x488bfd[_0x26d732(0x20a)][_0x26d732(0x12d)];_0x4008f0++){const _0x5a632e=_0x488bfd[_0x26d732(0x20a)][_0x4008f0],_0x3017a2=_0x5a632e[_0x5a632e[_0x26d732(0x12d)]-0x1];typeof _0x3017a2==_0x26d732(0xfb)&&_0x3017a2(_0x2da3c0);}}function _0x349c8(_0x1a0bea,_0x595303,_0x34a7e7){const _0xf3f26c=_0x26cc88;_0x113fcd(_0x1a0bea,_0x595303,_0x34a7e7),_0x1a0bea[_0xf3f26c(0x19d)](_0x595303);}return Ee;}var xe,Je;function zt(){const _0x3c9df9=_0x1b6002;if(Je)return xe;Je=0x1;const {kForOnEventAttribute:_0x115099,kListener:_0x53afb8}=V(),_0x2bf192=Symbol(_0x3c9df9(0x158)),_0x3f819c=Symbol(_0x3c9df9(0x176)),_0x16ad70=Symbol('kError'),_0x405e3e=Symbol('kMessage'),_0x2861c3=Symbol(_0x3c9df9(0x17e)),_0x2a1195=Symbol(_0x3c9df9(0x229)),_0x4ddf79=Symbol(_0x3c9df9(0x207)),_0x33a9c3=Symbol(_0x3c9df9(0x1d0));class _0xaf9b7{constructor(_0x10f6cd){this[_0x2a1195]=null,this[_0x4ddf79]=_0x10f6cd;}get[_0x3c9df9(0x265)](){return this[_0x2a1195];}get[_0x3c9df9(0x1af)](){return this[_0x4ddf79];}}Object['defineProperty'](_0xaf9b7[_0x3c9df9(0x143)],_0x3c9df9(0x265),{'enumerable':!0x0}),Object['defineProperty'](_0xaf9b7[_0x3c9df9(0x143)],_0x3c9df9(0x1af),{'enumerable':!0x0});class _0x158dd4 extends _0xaf9b7{constructor(_0x212a7b,_0x299c28={}){const _0x31e31b=_0x3c9df9;super(_0x212a7b),this[_0x2bf192]=_0x299c28[_0x31e31b(0x103)]===void 0x0?0x0:_0x299c28[_0x31e31b(0x103)],this[_0x2861c3]=_0x299c28[_0x31e31b(0x18d)]===void 0x0?'':_0x299c28[_0x31e31b(0x18d)],this[_0x33a9c3]=_0x299c28[_0x31e31b(0x159)]===void 0x0?!0x1:_0x299c28[_0x31e31b(0x159)];}get[_0x3c9df9(0x103)](){return this[_0x2bf192];}get[_0x3c9df9(0x18d)](){return this[_0x2861c3];}get[_0x3c9df9(0x159)](){return this[_0x33a9c3];}}Object[_0x3c9df9(0x242)](_0x158dd4['prototype'],_0x3c9df9(0x103),{'enumerable':!0x0}),Object[_0x3c9df9(0x242)](_0x158dd4[_0x3c9df9(0x143)],'reason',{'enumerable':!0x0}),Object[_0x3c9df9(0x242)](_0x158dd4[_0x3c9df9(0x143)],_0x3c9df9(0x159),{'enumerable':!0x0});class _0x31114b extends _0xaf9b7{constructor(_0x16b6c8,_0x5c8e00={}){const _0x599503=_0x3c9df9;super(_0x16b6c8),this[_0x16ad70]=_0x5c8e00[_0x599503(0x148)]===void 0x0?null:_0x5c8e00[_0x599503(0x148)],this[_0x405e3e]=_0x5c8e00[_0x599503(0x13c)]===void 0x0?'':_0x5c8e00[_0x599503(0x13c)];}get[_0x3c9df9(0x148)](){return this[_0x16ad70];}get['message'](){return this[_0x405e3e];}}Object[_0x3c9df9(0x242)](_0x31114b[_0x3c9df9(0x143)],'error',{'enumerable':!0x0}),Object[_0x3c9df9(0x242)](_0x31114b['prototype'],_0x3c9df9(0x13c),{'enumerable':!0x0});class _0x2fb608 extends _0xaf9b7{constructor(_0x43dac7,_0x17c4d1={}){const _0x48156a=_0x3c9df9;super(_0x43dac7),this[_0x3f819c]=_0x17c4d1['data']===void 0x0?null:_0x17c4d1[_0x48156a(0x182)];}get[_0x3c9df9(0x182)](){return this[_0x3f819c];}}Object['defineProperty'](_0x2fb608[_0x3c9df9(0x143)],_0x3c9df9(0x182),{'enumerable':!0x0}),xe={'CloseEvent':_0x158dd4,'ErrorEvent':_0x31114b,'Event':_0xaf9b7,'EventTarget':{'addEventListener'(_0x3adc3f,_0x46bcae,_0x11cd74={}){const _0x89bf40=_0x3c9df9;for(const _0x140906 of this['listeners'](_0x3adc3f))if(!_0x11cd74[_0x115099]&&_0x140906[_0x53afb8]===_0x46bcae&&!_0x140906[_0x115099])return;let _0x359e6c;if(_0x3adc3f===_0x89bf40(0x13c))_0x359e6c=function(_0x3d0feb,_0x353484){const _0x3a544f=_0x89bf40,_0x187eae=new _0x2fb608(_0x3a544f(0x13c),{'data':_0x353484?_0x3d0feb:_0x3d0feb['toString']()});_0x187eae[_0x2a1195]=this,_0x28e773(_0x46bcae,this,_0x187eae);};else{if(_0x3adc3f==='close')_0x359e6c=function(_0x4775e3,_0x59897a){const _0x5c1505=_0x89bf40,_0x33d51c=new _0x158dd4('close',{'code':_0x4775e3,'reason':_0x59897a[_0x5c1505(0x14d)](),'wasClean':this[_0x5c1505(0x206)]&&this[_0x5c1505(0x14b)]});_0x33d51c[_0x2a1195]=this,_0x28e773(_0x46bcae,this,_0x33d51c);};else{if(_0x3adc3f===_0x89bf40(0x148))_0x359e6c=function(_0x4b1cd1){const _0x3091a2=_0x89bf40,_0x515947=new _0x31114b('error',{'error':_0x4b1cd1,'message':_0x4b1cd1[_0x3091a2(0x13c)]});_0x515947[_0x2a1195]=this,_0x28e773(_0x46bcae,this,_0x515947);};else{if(_0x3adc3f==='open')_0x359e6c=function(){const _0x4fb094=_0x89bf40,_0x3ede70=new _0xaf9b7(_0x4fb094(0x1ad));_0x3ede70[_0x2a1195]=this,_0x28e773(_0x46bcae,this,_0x3ede70);};else return;}}}_0x359e6c[_0x115099]=!!_0x11cd74[_0x115099],_0x359e6c[_0x53afb8]=_0x46bcae,_0x11cd74[_0x89bf40(0x1e2)]?this[_0x89bf40(0x1e2)](_0x3adc3f,_0x359e6c):this['on'](_0x3adc3f,_0x359e6c);},'removeEventListener'(_0x4acd3f,_0x5173f0){const _0x33c707=_0x3c9df9;for(const _0x395612 of this['listeners'](_0x4acd3f))if(_0x395612[_0x53afb8]===_0x5173f0&&!_0x395612[_0x115099]){this[_0x33c707(0x1a3)](_0x4acd3f,_0x395612);break;}}},'MessageEvent':_0x2fb608};function _0x28e773(_0x1b93d7,_0x4a9db6,_0x1032cb){const _0x59713e=_0x3c9df9;typeof _0x1b93d7==_0x59713e(0x22b)&&_0x1b93d7['handleEvent']?_0x1b93d7[_0x59713e(0x121)][_0x59713e(0x1a4)](_0x1b93d7,_0x1032cb):_0x1b93d7['call'](_0x4a9db6,_0x1032cb);}return xe;}var be,et;function dt(){if(et)return be;et=0x1;const {tokenChars:_0x3077fd}=ie();function _0x263344(_0x26710e,_0x2a3dcd,_0x5b4470){_0x26710e[_0x2a3dcd]===void 0x0?_0x26710e[_0x2a3dcd]=[_0x5b4470]:_0x26710e[_0x2a3dcd]['push'](_0x5b4470);}function _0x4d3921(_0x1349c3){const _0x2f76a9=_0x612f,_0x5a5379=Object['create'](null);let _0x5e5a96=Object[_0x2f76a9(0x109)](null),_0x330e7f=!0x1,_0x5ebdb5=!0x1,_0x146996=!0x1,_0x26db78,_0x10cc66,_0x1ea8e6=-0x1,_0x343555=-0x1,_0x236003=-0x1,_0x232db6=0x0;for(;_0x232db6<_0x1349c3[_0x2f76a9(0x12d)];_0x232db6++)if(_0x343555=_0x1349c3[_0x2f76a9(0x16a)](_0x232db6),_0x26db78===void 0x0){if(_0x236003===-0x1&&_0x3077fd[_0x343555]===0x1)_0x1ea8e6===-0x1&&(_0x1ea8e6=_0x232db6);else{if(_0x232db6!==0x0&&(_0x343555===0x20||_0x343555===0x9))_0x236003===-0x1&&_0x1ea8e6!==-0x1&&(_0x236003=_0x232db6);else{if(_0x343555===0x3b||_0x343555===0x2c){if(_0x1ea8e6===-0x1)throw new SyntaxError(_0x2f76a9(0x24f)+_0x232db6);_0x236003===-0x1&&(_0x236003=_0x232db6);const _0x4398e6=_0x1349c3[_0x2f76a9(0xd2)](_0x1ea8e6,_0x236003);_0x343555===0x2c?(_0x263344(_0x5a5379,_0x4398e6,_0x5e5a96),_0x5e5a96=Object[_0x2f76a9(0x109)](null)):_0x26db78=_0x4398e6,_0x1ea8e6=_0x236003=-0x1;}else throw new SyntaxError(_0x2f76a9(0x24f)+_0x232db6);}}}else{if(_0x10cc66===void 0x0){if(_0x236003===-0x1&&_0x3077fd[_0x343555]===0x1)_0x1ea8e6===-0x1&&(_0x1ea8e6=_0x232db6);else{if(_0x343555===0x20||_0x343555===0x9)_0x236003===-0x1&&_0x1ea8e6!==-0x1&&(_0x236003=_0x232db6);else{if(_0x343555===0x3b||_0x343555===0x2c){if(_0x1ea8e6===-0x1)throw new SyntaxError(_0x2f76a9(0x24f)+_0x232db6);_0x236003===-0x1&&(_0x236003=_0x232db6),_0x263344(_0x5e5a96,_0x1349c3[_0x2f76a9(0xd2)](_0x1ea8e6,_0x236003),!0x0),_0x343555===0x2c&&(_0x263344(_0x5a5379,_0x26db78,_0x5e5a96),_0x5e5a96=Object['create'](null),_0x26db78=void 0x0),_0x1ea8e6=_0x236003=-0x1;}else{if(_0x343555===0x3d&&_0x1ea8e6!==-0x1&&_0x236003===-0x1)_0x10cc66=_0x1349c3[_0x2f76a9(0xd2)](_0x1ea8e6,_0x232db6),_0x1ea8e6=_0x236003=-0x1;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x232db6);}}}}else{if(_0x5ebdb5){if(_0x3077fd[_0x343555]!==0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x232db6);_0x1ea8e6===-0x1?_0x1ea8e6=_0x232db6:_0x330e7f||(_0x330e7f=!0x0),_0x5ebdb5=!0x1;}else{if(_0x146996){if(_0x3077fd[_0x343555]===0x1)_0x1ea8e6===-0x1&&(_0x1ea8e6=_0x232db6);else{if(_0x343555===0x22&&_0x1ea8e6!==-0x1)_0x146996=!0x1,_0x236003=_0x232db6;else{if(_0x343555===0x5c)_0x5ebdb5=!0x0;else throw new SyntaxError(_0x2f76a9(0x24f)+_0x232db6);}}}else{if(_0x343555===0x22&&_0x1349c3['charCodeAt'](_0x232db6-0x1)===0x3d)_0x146996=!0x0;else{if(_0x236003===-0x1&&_0x3077fd[_0x343555]===0x1)_0x1ea8e6===-0x1&&(_0x1ea8e6=_0x232db6);else{if(_0x1ea8e6!==-0x1&&(_0x343555===0x20||_0x343555===0x9))_0x236003===-0x1&&(_0x236003=_0x232db6);else{if(_0x343555===0x3b||_0x343555===0x2c){if(_0x1ea8e6===-0x1)throw new SyntaxError(_0x2f76a9(0x24f)+_0x232db6);_0x236003===-0x1&&(_0x236003=_0x232db6);let _0x1ce564=_0x1349c3[_0x2f76a9(0xd2)](_0x1ea8e6,_0x236003);_0x330e7f&&(_0x1ce564=_0x1ce564[_0x2f76a9(0x193)](/\\/g,''),_0x330e7f=!0x1),_0x263344(_0x5e5a96,_0x10cc66,_0x1ce564),_0x343555===0x2c&&(_0x263344(_0x5a5379,_0x26db78,_0x5e5a96),_0x5e5a96=Object[_0x2f76a9(0x109)](null),_0x26db78=void 0x0),_0x10cc66=void 0x0,_0x1ea8e6=_0x236003=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x232db6);}}}}}}}if(_0x1ea8e6===-0x1||_0x146996||_0x343555===0x20||_0x343555===0x9)throw new SyntaxError(_0x2f76a9(0x23f));_0x236003===-0x1&&(_0x236003=_0x232db6);const _0x59a143=_0x1349c3['slice'](_0x1ea8e6,_0x236003);return _0x26db78===void 0x0?_0x263344(_0x5a5379,_0x59a143,_0x5e5a96):(_0x10cc66===void 0x0?_0x263344(_0x5e5a96,_0x59a143,!0x0):_0x330e7f?_0x263344(_0x5e5a96,_0x10cc66,_0x59a143[_0x2f76a9(0x193)](/\\/g,'')):_0x263344(_0x5e5a96,_0x10cc66,_0x59a143),_0x263344(_0x5a5379,_0x26db78,_0x5e5a96)),_0x5a5379;}function _0x468c4b(_0x831022){const _0x1b0685=_0x612f;return Object[_0x1b0685(0x1b7)](_0x831022)['map'](_0x4abe50=>{const _0xc26104=_0x1b0685;let _0x40f884=_0x831022[_0x4abe50];return Array[_0xc26104(0xe8)](_0x40f884)||(_0x40f884=[_0x40f884]),_0x40f884[_0xc26104(0x225)](_0x4a86cf=>[_0x4abe50][_0xc26104(0xfe)](Object['keys'](_0x4a86cf)[_0xc26104(0x225)](_0x5633f2=>{const _0xa6fff1=_0xc26104;let _0x383e4d=_0x4a86cf[_0x5633f2];return Array[_0xa6fff1(0xe8)](_0x383e4d)||(_0x383e4d=[_0x383e4d]),_0x383e4d[_0xa6fff1(0x225)](_0x385af5=>_0x385af5===!0x0?_0x5633f2:_0x5633f2+'='+_0x385af5)[_0xa6fff1(0x167)](';\x20');}))[_0xc26104(0x167)](';\x20'))[_0xc26104(0x167)](',\x20');})[_0x1b0685(0x167)](',\x20');}return be={'format':_0x468c4b,'parse':_0x4d3921},be;}var we,tt;function Be(){const _0x12bd70=_0x1b6002;if(tt)return we;tt=0x1;const _0x457d9b=_0x15b586,_0x560c7b=_0x1c5e73,_0x531381=_0x203745,_0x123ee0=_0x269c5e,_0x550fe0=_0x38f8fc,{randomBytes:_0xa774cf,createHash:_0x2e28c9}=_0x343471,{Duplex:_0xc8a143,Readable:_0x31173d}=_0x5c4d5d,{URL:_0xb1b6b1}=_0xbd839d,_0x7bc2d7=ce(),_0x3f7c9a=ht(),_0x839b95=ut(),{isBlob:_0x33c061}=ie(),{BINARY_TYPES:_0x593511,EMPTY_BUFFER:_0x37b665,GUID:_0x5784eb,kForOnEventAttribute:_0x54ac2e,kListener:_0x9e4fe,kStatusCode:_0x379789,kWebSocket:_0x4ab494,NOOP:_0x506fb3}=V(),{EventTarget:{addEventListener:_0x2462d6,removeEventListener:_0x3f9209}}=zt(),{format:_0x24943b,parse:_0x1e0a88}=dt(),{toBuffer:_0x491d51}=fe(),_0x2e36dc=0x1e*0x3e8,_0x47ec2a=Symbol(_0x12bd70(0xce)),_0x2dfcae=[0x8,0xd],_0x2b48bc=['CONNECTING','OPEN',_0x12bd70(0x15f),_0x12bd70(0x185)],_0x25c2d2=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x29ce39 extends _0x457d9b{constructor(_0x251a8c,_0x432b71,_0x20f576){const _0x948108=_0x12bd70;super(),this[_0x948108(0x1f5)]=_0x593511[0x0],this['_closeCode']=0x3ee,this[_0x948108(0x206)]=!0x1,this[_0x948108(0x14b)]=!0x1,this[_0x948108(0x120)]=_0x37b665,this[_0x948108(0x1dc)]=null,this[_0x948108(0x102)]=!0x1,this[_0x948108(0x11f)]={},this[_0x948108(0x114)]=!0x1,this['_protocol']='',this[_0x948108(0x1a8)]=_0x29ce39[_0x948108(0xea)],this[_0x948108(0x1a5)]=null,this['_sender']=null,this[_0x948108(0x10f)]=null,_0x251a8c!==null?(this[_0x948108(0x22f)]=0x0,this[_0x948108(0x26e)]=!0x1,this[_0x948108(0x163)]=0x0,_0x432b71===void 0x0?_0x432b71=[]:Array[_0x948108(0xe8)](_0x432b71)||(typeof _0x432b71=='object'&&_0x432b71!==null?(_0x20f576=_0x432b71,_0x432b71=[]):_0x432b71=[_0x432b71]),_0x1d9b6a(this,_0x251a8c,_0x432b71,_0x20f576)):(this[_0x948108(0x18f)]=_0x20f576[_0x948108(0x21b)],this[_0x948108(0x26e)]=!0x0);}get['binaryType'](){return this['_binaryType'];}set[_0x12bd70(0x1e8)](_0x4aed99){const _0x3784a0=_0x12bd70;_0x593511[_0x3784a0(0xfd)](_0x4aed99)&&(this['_binaryType']=_0x4aed99,this[_0x3784a0(0x1a5)]&&(this[_0x3784a0(0x1a5)]['_binaryType']=_0x4aed99));}get[_0x12bd70(0x1ab)](){const _0x54e0ff=_0x12bd70;return this[_0x54e0ff(0x10f)]?this['_socket'][_0x54e0ff(0x136)]['length']+this[_0x54e0ff(0x214)][_0x54e0ff(0x188)]:this[_0x54e0ff(0x22f)];}get[_0x12bd70(0x1f7)](){const _0x492733=_0x12bd70;return Object[_0x492733(0x1b7)](this[_0x492733(0x11f)])[_0x492733(0x167)]();}get[_0x12bd70(0x12f)](){const _0x42d386=_0x12bd70;return this[_0x42d386(0x114)];}get['onclose'](){return null;}get[_0x12bd70(0x19d)](){return null;}get[_0x12bd70(0x123)](){return null;}get['onmessage'](){return null;}get['protocol'](){return this['_protocol'];}get[_0x12bd70(0x1d5)](){const _0x4cfae3=_0x12bd70;return this[_0x4cfae3(0x1a8)];}get[_0x12bd70(0x150)](){const _0x5c83c4=_0x12bd70;return this[_0x5c83c4(0x142)];}[_0x12bd70(0x20b)](_0x3cdf2f,_0x1d9878,_0x9992e4){const _0x117d32=_0x12bd70,_0xdff313=new _0x3f7c9a({'allowSynchronousEvents':_0x9992e4[_0x117d32(0x1bd)],'binaryType':this[_0x117d32(0x1e8)],'extensions':this[_0x117d32(0x11f)],'isServer':this[_0x117d32(0x26e)],'maxPayload':_0x9992e4[_0x117d32(0x10b)],'skipUTF8Validation':_0x9992e4[_0x117d32(0x26c)]}),_0x1bde81=new _0x839b95(_0x3cdf2f,this['_extensions'],_0x9992e4[_0x117d32(0x226)]);this['_receiver']=_0xdff313,this[_0x117d32(0x214)]=_0x1bde81,this[_0x117d32(0x10f)]=_0x3cdf2f,_0xdff313[_0x4ab494]=this,_0x1bde81[_0x4ab494]=this,_0x3cdf2f[_0x4ab494]=this,_0xdff313['on'](_0x117d32(0x169),_0x57e0b2),_0xdff313['on']('drain',_0x57fa01),_0xdff313['on'](_0x117d32(0x148),_0x3fbc5c),_0xdff313['on'](_0x117d32(0x13c),_0x5c235b),_0xdff313['on'](_0x117d32(0xde),_0x241c1a),_0xdff313['on'](_0x117d32(0x22a),_0x43902c),_0x1bde81[_0x117d32(0x19d)]=_0x22845d,_0x3cdf2f[_0x117d32(0x261)]&&_0x3cdf2f[_0x117d32(0x261)](0x0),_0x3cdf2f[_0x117d32(0x177)]&&_0x3cdf2f[_0x117d32(0x177)](),_0x1d9878['length']>0x0&&_0x3cdf2f[_0x117d32(0x1a6)](_0x1d9878),_0x3cdf2f['on'](_0x117d32(0x277),_0x4e4a94),_0x3cdf2f['on']('data',_0x2df524),_0x3cdf2f['on'](_0x117d32(0x161),_0x58a650),_0x3cdf2f['on']('error',_0x253d57),this['_readyState']=_0x29ce39[_0x117d32(0x1c3)],this[_0x117d32(0x189)](_0x117d32(0x1ad));}[_0x12bd70(0xfa)](){const _0x103a21=_0x12bd70;if(!this[_0x103a21(0x10f)]){this[_0x103a21(0x1a8)]=_0x29ce39[_0x103a21(0x185)],this[_0x103a21(0x189)](_0x103a21(0x277),this[_0x103a21(0x1b2)],this[_0x103a21(0x120)]);return;}this[_0x103a21(0x11f)][_0x7bc2d7[_0x103a21(0x151)]]&&this[_0x103a21(0x11f)][_0x7bc2d7[_0x103a21(0x151)]][_0x103a21(0x208)](),this['_receiver'][_0x103a21(0x262)](),this['_readyState']=_0x29ce39['CLOSED'],this['emit']('close',this[_0x103a21(0x1b2)],this[_0x103a21(0x120)]);}[_0x12bd70(0x277)](_0x22ef53,_0x25228f){const _0x8b69a2=_0x12bd70;if(this[_0x8b69a2(0x1d5)]!==_0x29ce39[_0x8b69a2(0x185)]){if(this[_0x8b69a2(0x1d5)]===_0x29ce39['CONNECTING']){_0x5b9b27(this,this[_0x8b69a2(0x23a)],_0x8b69a2(0x209));return;}if(this[_0x8b69a2(0x1d5)]===_0x29ce39[_0x8b69a2(0x15f)]){this[_0x8b69a2(0x14b)]&&(this[_0x8b69a2(0x206)]||this['_receiver'][_0x8b69a2(0x136)]['errorEmitted'])&&this[_0x8b69a2(0x10f)]['end']();return;}this[_0x8b69a2(0x1a8)]=_0x29ce39[_0x8b69a2(0x15f)],this[_0x8b69a2(0x214)]['close'](_0x22ef53,_0x25228f,!this[_0x8b69a2(0x26e)],_0xb2c543=>{const _0x572088=_0x8b69a2;_0xb2c543||(this[_0x572088(0x14b)]=!0x0,(this[_0x572088(0x206)]||this['_receiver'][_0x572088(0x136)][_0x572088(0x220)])&&this['_socket']['end']());}),_0x44d3bd(this);}}['pause'](){const _0xc920a9=_0x12bd70;this[_0xc920a9(0x1d5)]===_0x29ce39[_0xc920a9(0xea)]||this[_0xc920a9(0x1d5)]===_0x29ce39['CLOSED']||(this[_0xc920a9(0x114)]=!0x0,this[_0xc920a9(0x10f)][_0xc920a9(0xdb)]());}['ping'](_0xe75db5,_0x156be7,_0x1a029b){const _0x17e985=_0x12bd70;if(this[_0x17e985(0x1d5)]===_0x29ce39[_0x17e985(0xea)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0xe75db5==_0x17e985(0xfb)?(_0x1a029b=_0xe75db5,_0xe75db5=_0x156be7=void 0x0):typeof _0x156be7=='function'&&(_0x1a029b=_0x156be7,_0x156be7=void 0x0),typeof _0xe75db5==_0x17e985(0x19e)&&(_0xe75db5=_0xe75db5[_0x17e985(0x14d)]()),this[_0x17e985(0x1d5)]!==_0x29ce39[_0x17e985(0x1c3)]){_0x35a378(this,_0xe75db5,_0x1a029b);return;}_0x156be7===void 0x0&&(_0x156be7=!this[_0x17e985(0x26e)]),this['_sender'][_0x17e985(0xde)](_0xe75db5||_0x37b665,_0x156be7,_0x1a029b);}[_0x12bd70(0x22a)](_0xcdb681,_0x3dafdf,_0x2fae26){const _0x585195=_0x12bd70;if(this[_0x585195(0x1d5)]===_0x29ce39[_0x585195(0xea)])throw new Error(_0x585195(0x236));if(typeof _0xcdb681==_0x585195(0xfb)?(_0x2fae26=_0xcdb681,_0xcdb681=_0x3dafdf=void 0x0):typeof _0x3dafdf=='function'&&(_0x2fae26=_0x3dafdf,_0x3dafdf=void 0x0),typeof _0xcdb681==_0x585195(0x19e)&&(_0xcdb681=_0xcdb681['toString']()),this[_0x585195(0x1d5)]!==_0x29ce39[_0x585195(0x1c3)]){_0x35a378(this,_0xcdb681,_0x2fae26);return;}_0x3dafdf===void 0x0&&(_0x3dafdf=!this[_0x585195(0x26e)]),this[_0x585195(0x214)][_0x585195(0x22a)](_0xcdb681||_0x37b665,_0x3dafdf,_0x2fae26);}[_0x12bd70(0x251)](){const _0x385533=_0x12bd70;this[_0x385533(0x1d5)]===_0x29ce39['CONNECTING']||this[_0x385533(0x1d5)]===_0x29ce39['CLOSED']||(this[_0x385533(0x114)]=!0x1,this['_receiver'][_0x385533(0x136)][_0x385533(0x1c0)]||this[_0x385533(0x10f)][_0x385533(0x251)]());}[_0x12bd70(0x239)](_0x337aa2,_0x2feafb,_0xc3bee5){const _0x2eda0f=_0x12bd70;if(this[_0x2eda0f(0x1d5)]===_0x29ce39[_0x2eda0f(0xea)])throw new Error(_0x2eda0f(0x236));if(typeof _0x2feafb=='function'&&(_0xc3bee5=_0x2feafb,_0x2feafb={}),typeof _0x337aa2==_0x2eda0f(0x19e)&&(_0x337aa2=_0x337aa2['toString']()),this['readyState']!==_0x29ce39[_0x2eda0f(0x1c3)]){_0x35a378(this,_0x337aa2,_0xc3bee5);return;}const _0x3ee3a9={'binary':typeof _0x337aa2!=_0x2eda0f(0x10a),'mask':!this[_0x2eda0f(0x26e)],'compress':!0x0,'fin':!0x0,..._0x2feafb};this[_0x2eda0f(0x11f)][_0x7bc2d7[_0x2eda0f(0x151)]]||(_0x3ee3a9[_0x2eda0f(0x180)]=!0x1),this[_0x2eda0f(0x214)]['send'](_0x337aa2||_0x37b665,_0x3ee3a9,_0xc3bee5);}[_0x12bd70(0x224)](){const _0x56f8ff=_0x12bd70;if(this[_0x56f8ff(0x1d5)]!==_0x29ce39[_0x56f8ff(0x185)]){if(this[_0x56f8ff(0x1d5)]===_0x29ce39[_0x56f8ff(0xea)]){_0x5b9b27(this,this['_req'],_0x56f8ff(0x209));return;}this[_0x56f8ff(0x10f)]&&(this[_0x56f8ff(0x1a8)]=_0x29ce39['CLOSING'],this[_0x56f8ff(0x10f)][_0x56f8ff(0x1cd)]());}}}Object[_0x12bd70(0x242)](_0x29ce39,_0x12bd70(0xea),{'enumerable':!0x0,'value':_0x2b48bc['indexOf']('CONNECTING')}),Object[_0x12bd70(0x242)](_0x29ce39['prototype'],'CONNECTING',{'enumerable':!0x0,'value':_0x2b48bc[_0x12bd70(0x1f6)](_0x12bd70(0xea))}),Object[_0x12bd70(0x242)](_0x29ce39,_0x12bd70(0x1c3),{'enumerable':!0x0,'value':_0x2b48bc[_0x12bd70(0x1f6)]('OPEN')}),Object['defineProperty'](_0x29ce39[_0x12bd70(0x143)],_0x12bd70(0x1c3),{'enumerable':!0x0,'value':_0x2b48bc[_0x12bd70(0x1f6)](_0x12bd70(0x1c3))}),Object[_0x12bd70(0x242)](_0x29ce39,_0x12bd70(0x15f),{'enumerable':!0x0,'value':_0x2b48bc[_0x12bd70(0x1f6)](_0x12bd70(0x15f))}),Object['defineProperty'](_0x29ce39['prototype'],_0x12bd70(0x15f),{'enumerable':!0x0,'value':_0x2b48bc[_0x12bd70(0x1f6)]('CLOSING')}),Object[_0x12bd70(0x242)](_0x29ce39,'CLOSED',{'enumerable':!0x0,'value':_0x2b48bc['indexOf'](_0x12bd70(0x185))}),Object[_0x12bd70(0x242)](_0x29ce39['prototype'],_0x12bd70(0x185),{'enumerable':!0x0,'value':_0x2b48bc[_0x12bd70(0x1f6)]('CLOSED')}),['binaryType',_0x12bd70(0x1ab),_0x12bd70(0x1f7),_0x12bd70(0x12f),_0x12bd70(0x200),_0x12bd70(0x1d5),_0x12bd70(0x150)][_0x12bd70(0x1d8)](_0x1b53e5=>{const _0x2e64c6=_0x12bd70;Object[_0x2e64c6(0x242)](_0x29ce39[_0x2e64c6(0x143)],_0x1b53e5,{'enumerable':!0x0});}),['open',_0x12bd70(0x148),_0x12bd70(0x277),_0x12bd70(0x13c)][_0x12bd70(0x1d8)](_0x4f3bc1=>{const _0x591f70=_0x12bd70;Object[_0x591f70(0x242)](_0x29ce39[_0x591f70(0x143)],'on'+_0x4f3bc1,{'enumerable':!0x0,'get'(){for(const _0x17e907 of this['listeners'](_0x4f3bc1))if(_0x17e907[_0x54ac2e])return _0x17e907[_0x9e4fe];return null;},'set'(_0x1dac8d){const _0x2c4c9a=_0x591f70;for(const _0x17e36d of this['listeners'](_0x4f3bc1))if(_0x17e36d[_0x54ac2e]){this[_0x2c4c9a(0x1a3)](_0x4f3bc1,_0x17e36d);break;}typeof _0x1dac8d==_0x2c4c9a(0xfb)&&this['addEventListener'](_0x4f3bc1,_0x1dac8d,{[_0x54ac2e]:!0x0});}});}),_0x29ce39['prototype'][_0x12bd70(0x108)]=_0x2462d6,_0x29ce39[_0x12bd70(0x143)][_0x12bd70(0x1bf)]=_0x3f9209,we=_0x29ce39;function _0x1d9b6a(_0x179934,_0x26c148,_0x5d4af2,_0x1104b8){const _0x38111c=_0x12bd70,_0xe4efe5={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x2dfcae[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x1104b8,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x38111c(0x24d),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x179934['_autoPong']=_0xe4efe5[_0x38111c(0x21b)],!_0x2dfcae[_0x38111c(0xfd)](_0xe4efe5[_0x38111c(0x111)]))throw new RangeError(_0x38111c(0x170)+_0xe4efe5['protocolVersion']+'\x20(supported\x20versions:\x20'+_0x2dfcae[_0x38111c(0x167)](',\x20')+')');let _0x205c39;if(_0x26c148 instanceof _0xb1b6b1)_0x205c39=_0x26c148;else try{_0x205c39=new _0xb1b6b1(_0x26c148);}catch{throw new SyntaxError(_0x38111c(0x126)+_0x26c148);}_0x205c39['protocol']===_0x38111c(0x11d)?_0x205c39['protocol']='ws:':_0x205c39[_0x38111c(0x200)]===_0x38111c(0x24e)&&(_0x205c39[_0x38111c(0x200)]=_0x38111c(0x113)),_0x179934['_url']=_0x205c39['href'];const _0x31af78=_0x205c39[_0x38111c(0x200)]===_0x38111c(0x113),_0x3483fb=_0x205c39[_0x38111c(0x200)]===_0x38111c(0x135);let _0x5196c2;if(_0x205c39[_0x38111c(0x200)]!==_0x38111c(0xf8)&&!_0x31af78&&!_0x3483fb?_0x5196c2=_0x38111c(0x183):_0x3483fb&&!_0x205c39[_0x38111c(0x175)]?_0x5196c2=_0x38111c(0x138):_0x205c39[_0x38111c(0x25e)]&&(_0x5196c2=_0x38111c(0xe3)),_0x5196c2){const _0x4e3e62=new SyntaxError(_0x5196c2);if(_0x179934[_0x38111c(0x163)]===0x0)throw _0x4e3e62;_0x57810b(_0x179934,_0x4e3e62);return;}const _0x47f7c7=_0x31af78?0x1bb:0x50,_0x4e2086=_0xa774cf(0x10)[_0x38111c(0x14d)](_0x38111c(0x213)),_0x5e6c55=_0x31af78?_0x560c7b[_0x38111c(0xec)]:_0x531381[_0x38111c(0xec)],_0x16b2c3=new Set();let _0x58170e;if(_0xe4efe5[_0x38111c(0x157)]=_0xe4efe5[_0x38111c(0x157)]||(_0x31af78?_0xf6f664:_0x1d4ecb),_0xe4efe5['defaultPort']=_0xe4efe5[_0x38111c(0x1c7)]||_0x47f7c7,_0xe4efe5[_0x38111c(0xcb)]=_0x205c39[_0x38111c(0xcb)]||_0x47f7c7,_0xe4efe5['host']=_0x205c39[_0x38111c(0xdd)][_0x38111c(0xe7)]('[')?_0x205c39[_0x38111c(0xdd)]['slice'](0x1,-0x1):_0x205c39[_0x38111c(0xdd)],_0xe4efe5[_0x38111c(0x1ca)]={..._0xe4efe5[_0x38111c(0x1ca)],'Sec-WebSocket-Version':_0xe4efe5[_0x38111c(0x111)],'Sec-WebSocket-Key':_0x4e2086,'Connection':_0x38111c(0x12a),'Upgrade':_0x38111c(0x275)},_0xe4efe5[_0x38111c(0x1ee)]=_0x205c39['pathname']+_0x205c39['search'],_0xe4efe5[_0x38111c(0x1c2)]=_0xe4efe5[_0x38111c(0xd0)],_0xe4efe5[_0x38111c(0x1b6)]&&(_0x58170e=new _0x7bc2d7(_0xe4efe5[_0x38111c(0x1b6)]!==!0x0?_0xe4efe5[_0x38111c(0x1b6)]:{},!0x1,_0xe4efe5[_0x38111c(0x10b)]),_0xe4efe5[_0x38111c(0x1ca)]['Sec-WebSocket-Extensions']=_0x24943b({[_0x7bc2d7[_0x38111c(0x151)]]:_0x58170e[_0x38111c(0x1be)]()})),_0x5d4af2[_0x38111c(0x12d)]){for(const _0x1c3b36 of _0x5d4af2){if(typeof _0x1c3b36!=_0x38111c(0x10a)||!_0x25c2d2[_0x38111c(0x164)](_0x1c3b36)||_0x16b2c3[_0x38111c(0x171)](_0x1c3b36))throw new SyntaxError(_0x38111c(0x13b));_0x16b2c3['add'](_0x1c3b36);}_0xe4efe5[_0x38111c(0x1ca)][_0x38111c(0x18e)]=_0x5d4af2[_0x38111c(0x167)](',');}if(_0xe4efe5['origin']&&(_0xe4efe5[_0x38111c(0x111)]<0xd?_0xe4efe5[_0x38111c(0x1ca)][_0x38111c(0x116)]=_0xe4efe5[_0x38111c(0x1f2)]:_0xe4efe5[_0x38111c(0x1ca)][_0x38111c(0x1a1)]=_0xe4efe5[_0x38111c(0x1f2)]),(_0x205c39[_0x38111c(0x1f8)]||_0x205c39[_0x38111c(0x192)])&&(_0xe4efe5[_0x38111c(0x1a7)]=_0x205c39[_0x38111c(0x1f8)]+':'+_0x205c39[_0x38111c(0x192)]),_0x3483fb){const _0xe53253=_0xe4efe5[_0x38111c(0x1ee)][_0x38111c(0x1e7)](':');_0xe4efe5['socketPath']=_0xe53253[0x0],_0xe4efe5[_0x38111c(0x1ee)]=_0xe53253[0x1];}let _0x20a331;if(_0xe4efe5['followRedirects']){if(_0x179934[_0x38111c(0x163)]===0x0){_0x179934[_0x38111c(0x258)]=_0x3483fb,_0x179934[_0x38111c(0x146)]=_0x31af78,_0x179934[_0x38111c(0x15e)]=_0x3483fb?_0xe4efe5['socketPath']:_0x205c39[_0x38111c(0x219)];const _0x19224a=_0x1104b8&&_0x1104b8[_0x38111c(0x1ca)];if(_0x1104b8={..._0x1104b8,'headers':{}},_0x19224a){for(const [_0x1ff22e,_0x5e45ed]of Object[_0x38111c(0x1ba)](_0x19224a))_0x1104b8[_0x38111c(0x1ca)][_0x1ff22e[_0x38111c(0x1ff)]()]=_0x5e45ed;}}else{if(_0x179934['listenerCount'](_0x38111c(0x1fa))===0x0){const _0x36b72a=_0x3483fb?_0x179934[_0x38111c(0x258)]?_0xe4efe5['socketPath']===_0x179934['_originalHostOrSocketPath']:!0x1:_0x179934[_0x38111c(0x258)]?!0x1:_0x205c39[_0x38111c(0x219)]===_0x179934[_0x38111c(0x15e)];(!_0x36b72a||_0x179934[_0x38111c(0x146)]&&!_0x31af78)&&(delete _0xe4efe5[_0x38111c(0x1ca)]['authorization'],delete _0xe4efe5[_0x38111c(0x1ca)]['cookie'],_0x36b72a||delete _0xe4efe5['headers'][_0x38111c(0x219)],_0xe4efe5[_0x38111c(0x1a7)]=void 0x0);}}_0xe4efe5[_0x38111c(0x1a7)]&&!_0x1104b8['headers']['authorization']&&(_0x1104b8[_0x38111c(0x1ca)][_0x38111c(0xe9)]=_0x38111c(0x13f)+Buffer[_0x38111c(0xf9)](_0xe4efe5[_0x38111c(0x1a7)])[_0x38111c(0x14d)](_0x38111c(0x213))),_0x20a331=_0x179934[_0x38111c(0x23a)]=_0x5e6c55(_0xe4efe5),_0x179934['_redirects']&&_0x179934[_0x38111c(0x189)](_0x38111c(0x1fa),_0x179934[_0x38111c(0x150)],_0x20a331);}else _0x20a331=_0x179934[_0x38111c(0x23a)]=_0x5e6c55(_0xe4efe5);_0xe4efe5[_0x38111c(0x1c2)]&&_0x20a331['on'](_0x38111c(0x1c2),()=>{_0x5b9b27(_0x179934,_0x20a331,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x20a331['on'](_0x38111c(0x148),_0x220a78=>{const _0x40f4a4=_0x38111c;_0x20a331===null||_0x20a331[_0x47ec2a]||(_0x20a331=_0x179934[_0x40f4a4(0x23a)]=null,_0x57810b(_0x179934,_0x220a78));}),_0x20a331['on'](_0x38111c(0x26b),_0x4391b6=>{const _0x53ec6e=_0x38111c,_0x416e2a=_0x4391b6[_0x53ec6e(0x1ca)][_0x53ec6e(0xc9)],_0x29d8ba=_0x4391b6[_0x53ec6e(0x107)];if(_0x416e2a&&_0xe4efe5[_0x53ec6e(0x23b)]&&_0x29d8ba>=0x12c&&_0x29d8ba<0x190){if(++_0x179934[_0x53ec6e(0x163)]>_0xe4efe5[_0x53ec6e(0x194)]){_0x5b9b27(_0x179934,_0x20a331,_0x53ec6e(0x18b));return;}_0x20a331[_0x53ec6e(0x18c)]();let _0x1d882d;try{_0x1d882d=new _0xb1b6b1(_0x416e2a,_0x26c148);}catch{const _0x590654=new SyntaxError(_0x53ec6e(0x126)+_0x416e2a);_0x57810b(_0x179934,_0x590654);return;}_0x1d9b6a(_0x179934,_0x1d882d,_0x5d4af2,_0x1104b8);}else _0x179934[_0x53ec6e(0x189)](_0x53ec6e(0x190),_0x20a331,_0x4391b6)||_0x5b9b27(_0x179934,_0x20a331,'Unexpected\x20server\x20response:\x20'+_0x4391b6[_0x53ec6e(0x107)]);}),_0x20a331['on'](_0x38111c(0x1c5),(_0x1a1c58,_0x74be7b,_0x1b03bf)=>{const _0x35a438=_0x38111c;if(_0x179934[_0x35a438(0x189)]('upgrade',_0x1a1c58),_0x179934['readyState']!==_0x29ce39[_0x35a438(0xea)])return;_0x20a331=_0x179934['_req']=null;const _0x518c29=_0x1a1c58['headers']['upgrade'];if(_0x518c29===void 0x0||_0x518c29[_0x35a438(0x1ff)]()!==_0x35a438(0x275)){_0x5b9b27(_0x179934,_0x74be7b,_0x35a438(0x140));return;}const _0x3b7d1f=_0x2e28c9(_0x35a438(0x17d))[_0x35a438(0x23e)](_0x4e2086+_0x5784eb)['digest']('base64');if(_0x1a1c58[_0x35a438(0x1ca)][_0x35a438(0x1ce)]!==_0x3b7d1f){_0x5b9b27(_0x179934,_0x74be7b,_0x35a438(0x127));return;}const _0x179eb5=_0x1a1c58[_0x35a438(0x1ca)][_0x35a438(0x131)];let _0x53a752;if(_0x179eb5!==void 0x0?_0x16b2c3[_0x35a438(0x24a)]?_0x16b2c3['has'](_0x179eb5)||(_0x53a752=_0x35a438(0x1c6)):_0x53a752=_0x35a438(0x1b4):_0x16b2c3[_0x35a438(0x24a)]&&(_0x53a752=_0x35a438(0x222)),_0x53a752){_0x5b9b27(_0x179934,_0x74be7b,_0x53a752);return;}_0x179eb5&&(_0x179934[_0x35a438(0xd6)]=_0x179eb5);const _0x5d5335=_0x1a1c58[_0x35a438(0x1ca)]['sec-websocket-extensions'];if(_0x5d5335!==void 0x0){if(!_0x58170e){_0x5b9b27(_0x179934,_0x74be7b,_0x35a438(0x20e));return;}let _0x17dbd0;try{_0x17dbd0=_0x1e0a88(_0x5d5335);}catch{_0x5b9b27(_0x179934,_0x74be7b,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0x209369=Object[_0x35a438(0x1b7)](_0x17dbd0);if(_0x209369[_0x35a438(0x12d)]!==0x1||_0x209369[0x0]!==_0x7bc2d7[_0x35a438(0x151)]){_0x5b9b27(_0x179934,_0x74be7b,_0x35a438(0x273));return;}try{_0x58170e[_0x35a438(0x23c)](_0x17dbd0[_0x7bc2d7[_0x35a438(0x151)]]);}catch{_0x5b9b27(_0x179934,_0x74be7b,_0x35a438(0xf4));return;}_0x179934[_0x35a438(0x11f)][_0x7bc2d7[_0x35a438(0x151)]]=_0x58170e;}_0x179934['setSocket'](_0x74be7b,_0x1b03bf,{'allowSynchronousEvents':_0xe4efe5[_0x35a438(0x1bd)],'generateMask':_0xe4efe5[_0x35a438(0x226)],'maxPayload':_0xe4efe5[_0x35a438(0x10b)],'skipUTF8Validation':_0xe4efe5[_0x35a438(0x26c)]});}),_0xe4efe5[_0x38111c(0x1f0)]?_0xe4efe5['finishRequest'](_0x20a331,_0x179934):_0x20a331['end']();}function _0x57810b(_0x5365ad,_0x466447){const _0xdbad9e=_0x12bd70;_0x5365ad[_0xdbad9e(0x1a8)]=_0x29ce39[_0xdbad9e(0x15f)],_0x5365ad[_0xdbad9e(0x102)]=!0x0,_0x5365ad[_0xdbad9e(0x189)](_0xdbad9e(0x148),_0x466447),_0x5365ad['emitClose']();}function _0x1d4ecb(_0x25d80c){const _0x36b5ec=_0x12bd70;return _0x25d80c[_0x36b5ec(0x1ee)]=_0x25d80c[_0x36b5ec(0x241)],_0x123ee0[_0x36b5ec(0x235)](_0x25d80c);}function _0xf6f664(_0x1906e5){const _0x44909f=_0x12bd70;return _0x1906e5['path']=void 0x0,!_0x1906e5[_0x44909f(0x1c8)]&&_0x1906e5['servername']!==''&&(_0x1906e5['servername']=_0x123ee0[_0x44909f(0x152)](_0x1906e5[_0x44909f(0x219)])?'':_0x1906e5[_0x44909f(0x219)]),_0x550fe0[_0x44909f(0x235)](_0x1906e5);}function _0x5b9b27(_0x2d4eca,_0x116507,_0x5e2835){const _0x284701=_0x12bd70;_0x2d4eca[_0x284701(0x1a8)]=_0x29ce39['CLOSING'];const _0x1f45b1=new Error(_0x5e2835);Error[_0x284701(0x271)](_0x1f45b1,_0x5b9b27),_0x116507[_0x284701(0x187)]?(_0x116507[_0x47ec2a]=!0x0,_0x116507[_0x284701(0x18c)](),_0x116507['socket']&&!_0x116507['socket'][_0x284701(0x21f)]&&_0x116507[_0x284701(0x1dd)][_0x284701(0x1cd)](),process['nextTick'](_0x57810b,_0x2d4eca,_0x1f45b1)):(_0x116507['destroy'](_0x1f45b1),_0x116507['once']('error',_0x2d4eca[_0x284701(0x189)][_0x284701(0x10c)](_0x2d4eca,_0x284701(0x148))),_0x116507[_0x284701(0x1e2)](_0x284701(0x277),_0x2d4eca[_0x284701(0xfa)][_0x284701(0x10c)](_0x2d4eca)));}function _0x35a378(_0x3e6315,_0x4ff728,_0x421b76){const _0x5d9676=_0x12bd70;if(_0x4ff728){const _0x24c142=_0x33c061(_0x4ff728)?_0x4ff728[_0x5d9676(0x24a)]:_0x491d51(_0x4ff728)[_0x5d9676(0x12d)];_0x3e6315['_socket']?_0x3e6315[_0x5d9676(0x214)][_0x5d9676(0x188)]+=_0x24c142:_0x3e6315[_0x5d9676(0x22f)]+=_0x24c142;}if(_0x421b76){const _0x5055ba=new Error(_0x5d9676(0x1cb)+_0x3e6315[_0x5d9676(0x1d5)]+'\x20('+_0x2b48bc[_0x3e6315[_0x5d9676(0x1d5)]]+')');process[_0x5d9676(0x199)](_0x421b76,_0x5055ba);}}function _0x57e0b2(_0xe27cc9,_0x55d116){const _0x55d998=_0x12bd70,_0x31a569=this[_0x4ab494];_0x31a569[_0x55d998(0x206)]=!0x0,_0x31a569[_0x55d998(0x120)]=_0x55d116,_0x31a569[_0x55d998(0x1b2)]=_0xe27cc9,_0x31a569['_socket'][_0x4ab494]!==void 0x0&&(_0x31a569[_0x55d998(0x10f)][_0x55d998(0x1a3)](_0x55d998(0x182),_0x2df524),process[_0x55d998(0x199)](_0x33ef15,_0x31a569[_0x55d998(0x10f)]),_0xe27cc9===0x3ed?_0x31a569[_0x55d998(0x277)]():_0x31a569[_0x55d998(0x277)](_0xe27cc9,_0x55d116));}function _0x57fa01(){const _0x7835e4=_0x12bd70,_0x3f4897=this[_0x4ab494];_0x3f4897[_0x7835e4(0x12f)]||_0x3f4897[_0x7835e4(0x10f)][_0x7835e4(0x251)]();}function _0x3fbc5c(_0x37e5d8){const _0x55af56=_0x12bd70,_0x4f4e9a=this[_0x4ab494];_0x4f4e9a['_socket'][_0x4ab494]!==void 0x0&&(_0x4f4e9a['_socket'][_0x55af56(0x1a3)](_0x55af56(0x182),_0x2df524),process['nextTick'](_0x33ef15,_0x4f4e9a[_0x55af56(0x10f)]),_0x4f4e9a[_0x55af56(0x277)](_0x37e5d8[_0x379789])),_0x4f4e9a[_0x55af56(0x102)]||(_0x4f4e9a['_errorEmitted']=!0x0,_0x4f4e9a[_0x55af56(0x189)]('error',_0x37e5d8));}function _0x258804(){this[_0x4ab494]['emitClose']();}function _0x5c235b(_0x3c8aef,_0x550251){const _0x3a1c46=_0x12bd70;this[_0x4ab494][_0x3a1c46(0x189)](_0x3a1c46(0x13c),_0x3c8aef,_0x550251);}function _0x241c1a(_0x498f8b){const _0xff825e=_0x12bd70,_0x1bce28=this[_0x4ab494];_0x1bce28[_0xff825e(0x18f)]&&_0x1bce28[_0xff825e(0x22a)](_0x498f8b,!this[_0xff825e(0x26e)],_0x506fb3),_0x1bce28[_0xff825e(0x189)](_0xff825e(0xde),_0x498f8b);}function _0x43902c(_0x2cc25f){const _0x2decac=_0x12bd70;this[_0x4ab494][_0x2decac(0x189)](_0x2decac(0x22a),_0x2cc25f);}function _0x33ef15(_0x580a3){const _0x35108a=_0x12bd70;_0x580a3[_0x35108a(0x251)]();}function _0x22845d(_0x47e16f){const _0x4ae04f=_0x12bd70,_0x10e07f=this[_0x4ab494];_0x10e07f['readyState']!==_0x29ce39[_0x4ae04f(0x185)]&&(_0x10e07f[_0x4ae04f(0x1d5)]===_0x29ce39[_0x4ae04f(0x1c3)]&&(_0x10e07f[_0x4ae04f(0x1a8)]=_0x29ce39[_0x4ae04f(0x15f)],_0x44d3bd(_0x10e07f)),this['_socket'][_0x4ae04f(0x161)](),_0x10e07f[_0x4ae04f(0x102)]||(_0x10e07f[_0x4ae04f(0x102)]=!0x0,_0x10e07f[_0x4ae04f(0x189)](_0x4ae04f(0x148),_0x47e16f)));}function _0x44d3bd(_0x40fdb1){const _0x4c0973=_0x12bd70;_0x40fdb1[_0x4c0973(0x1dc)]=setTimeout(_0x40fdb1['_socket'][_0x4c0973(0x1cd)][_0x4c0973(0x10c)](_0x40fdb1[_0x4c0973(0x10f)]),_0x2e36dc);}function _0x4e4a94(){const _0x461684=_0x12bd70,_0x300d6d=this[_0x4ab494];this[_0x461684(0x1a3)](_0x461684(0x277),_0x4e4a94),this[_0x461684(0x1a3)](_0x461684(0x182),_0x2df524),this['removeListener']('end',_0x58a650),_0x300d6d[_0x461684(0x1a8)]=_0x29ce39[_0x461684(0x15f)];let _0x29d2e4;!this[_0x461684(0x19c)][_0x461684(0x201)]&&!_0x300d6d[_0x461684(0x206)]&&!_0x300d6d[_0x461684(0x1a5)][_0x461684(0x136)][_0x461684(0x220)]&&(_0x29d2e4=_0x300d6d['_socket'][_0x461684(0xda)]())!==null&&_0x300d6d[_0x461684(0x1a5)]['write'](_0x29d2e4),_0x300d6d[_0x461684(0x1a5)][_0x461684(0x161)](),this[_0x4ab494]=void 0x0,clearTimeout(_0x300d6d[_0x461684(0x1dc)]),_0x300d6d['_receiver'][_0x461684(0x136)][_0x461684(0x12c)]||_0x300d6d[_0x461684(0x1a5)][_0x461684(0x136)][_0x461684(0x220)]?_0x300d6d[_0x461684(0xfa)]():(_0x300d6d['_receiver']['on'](_0x461684(0x148),_0x258804),_0x300d6d[_0x461684(0x1a5)]['on'](_0x461684(0x1c4),_0x258804));}function _0x2df524(_0x3e353b){const _0x557bae=_0x12bd70;this[_0x4ab494][_0x557bae(0x1a5)]['write'](_0x3e353b)||this['pause']();}function _0x58a650(){const _0x5be15c=_0x12bd70,_0x5ddac0=this[_0x4ab494];_0x5ddac0[_0x5be15c(0x1a8)]=_0x29ce39[_0x5be15c(0x15f)],_0x5ddac0[_0x5be15c(0x1a5)]['end'](),this[_0x5be15c(0x161)]();}function _0x253d57(){const _0x426757=_0x12bd70,_0x6133d6=this[_0x4ab494];this['removeListener'](_0x426757(0x148),_0x253d57),this['on']('error',_0x506fb3),_0x6133d6&&(_0x6133d6[_0x426757(0x1a8)]=_0x29ce39[_0x426757(0x15f)],this['destroy']());}return we;}var Oe,rt;function Yt(){if(rt)return Oe;rt=0x1,Be();const {Duplex:_0x3c920b}=_0x5c4d5d;function _0x96f173(_0x3d037a){const _0x30e1e6=_0x612f;_0x3d037a[_0x30e1e6(0x189)](_0x30e1e6(0x277));}function _0x20d9c1(){const _0x22f25d=_0x612f;!this['destroyed']&&this[_0x22f25d(0x136)][_0x22f25d(0x12c)]&&this[_0x22f25d(0x1cd)]();}function _0x1c7dc3(_0x4d9721){const _0x49a9cf=_0x612f;this[_0x49a9cf(0x1a3)]('error',_0x1c7dc3),this[_0x49a9cf(0x1cd)](),this[_0x49a9cf(0x21e)](_0x49a9cf(0x148))===0x0&&this[_0x49a9cf(0x189)](_0x49a9cf(0x148),_0x4d9721);}function _0x37f8a1(_0x4f7392,_0x429e1c){const _0x56db93=_0x612f;let _0xc79b10=!0x0;const _0x5f7fe8=new _0x3c920b({..._0x429e1c,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x4f7392['on'](_0x56db93(0x13c),function(_0x4fe44a,_0x18dfc2){const _0xf7dc16=_0x56db93,_0x28798c=!_0x18dfc2&&_0x5f7fe8[_0xf7dc16(0x19c)][_0xf7dc16(0x240)]?_0x4fe44a['toString']():_0x4fe44a;_0x5f7fe8[_0xf7dc16(0xe0)](_0x28798c)||_0x4f7392[_0xf7dc16(0xdb)]();}),_0x4f7392['once'](_0x56db93(0x148),function(_0x4856a8){const _0x2bb50c=_0x56db93;_0x5f7fe8['destroyed']||(_0xc79b10=!0x1,_0x5f7fe8[_0x2bb50c(0x1cd)](_0x4856a8));}),_0x4f7392[_0x56db93(0x1e2)]('close',function(){const _0x54907a=_0x56db93;_0x5f7fe8[_0x54907a(0x21f)]||_0x5f7fe8['push'](null);}),_0x5f7fe8[_0x56db93(0xd3)]=function(_0x366acd,_0x5e0ecb){const _0x504e3e=_0x56db93;if(_0x4f7392[_0x504e3e(0x1d5)]===_0x4f7392['CLOSED']){_0x5e0ecb(_0x366acd),process[_0x504e3e(0x199)](_0x96f173,_0x5f7fe8);return;}let _0x5b600b=!0x1;_0x4f7392[_0x504e3e(0x1e2)]('error',function(_0x3be1ce){_0x5b600b=!0x0,_0x5e0ecb(_0x3be1ce);}),_0x4f7392['once']('close',function(){const _0x18956e=_0x504e3e;_0x5b600b||_0x5e0ecb(_0x366acd),process[_0x18956e(0x199)](_0x96f173,_0x5f7fe8);}),_0xc79b10&&_0x4f7392[_0x504e3e(0x224)]();},_0x5f7fe8[_0x56db93(0x25f)]=function(_0x3b7a92){const _0x3e590b=_0x56db93;if(_0x4f7392[_0x3e590b(0x1d5)]===_0x4f7392['CONNECTING']){_0x4f7392[_0x3e590b(0x1e2)](_0x3e590b(0x1ad),function(){const _0x1c58cb=_0x3e590b;_0x5f7fe8[_0x1c58cb(0x25f)](_0x3b7a92);});return;}_0x4f7392[_0x3e590b(0x10f)]!==null&&(_0x4f7392[_0x3e590b(0x10f)][_0x3e590b(0x136)][_0x3e590b(0x12c)]?(_0x3b7a92(),_0x5f7fe8[_0x3e590b(0x19c)][_0x3e590b(0x201)]&&_0x5f7fe8[_0x3e590b(0x1cd)]()):(_0x4f7392[_0x3e590b(0x10f)][_0x3e590b(0x1e2)](_0x3e590b(0x1c4),function(){_0x3b7a92();}),_0x4f7392['close']()));},_0x5f7fe8[_0x56db93(0x244)]=function(){const _0x17fb42=_0x56db93;_0x4f7392[_0x17fb42(0x12f)]&&_0x4f7392['resume']();},_0x5f7fe8[_0x56db93(0x24b)]=function(_0x4f27e5,_0x542fba,_0x3c722c){const _0xac03e4=_0x56db93;if(_0x4f7392[_0xac03e4(0x1d5)]===_0x4f7392[_0xac03e4(0xea)]){_0x4f7392['once'](_0xac03e4(0x1ad),function(){const _0x31a920=_0xac03e4;_0x5f7fe8[_0x31a920(0x24b)](_0x4f27e5,_0x542fba,_0x3c722c);});return;}_0x4f7392['send'](_0x4f27e5,_0x3c722c);},_0x5f7fe8['on'](_0x56db93(0x161),_0x20d9c1),_0x5f7fe8['on'](_0x56db93(0x148),_0x1c7dc3),_0x5f7fe8;}return Oe=_0x37f8a1,Oe;}Yt(),ht(),ut();var Kt=Be();const Xt=Wt(Kt);var Ce,st;function Zt(){if(st)return Ce;st=0x1;const {tokenChars:_0x4e7a21}=ie();function _0x45346d(_0x357ef7){const _0x2a6eb3=_0x612f,_0x23d084=new Set();let _0x10994b=-0x1,_0x524e7f=-0x1,_0x45f552=0x0;for(_0x45f552;_0x45f552<_0x357ef7[_0x2a6eb3(0x12d)];_0x45f552++){const _0x3f546f=_0x357ef7[_0x2a6eb3(0x16a)](_0x45f552);if(_0x524e7f===-0x1&&_0x4e7a21[_0x3f546f]===0x1)_0x10994b===-0x1&&(_0x10994b=_0x45f552);else{if(_0x45f552!==0x0&&(_0x3f546f===0x20||_0x3f546f===0x9))_0x524e7f===-0x1&&_0x10994b!==-0x1&&(_0x524e7f=_0x45f552);else{if(_0x3f546f===0x2c){if(_0x10994b===-0x1)throw new SyntaxError(_0x2a6eb3(0x24f)+_0x45f552);_0x524e7f===-0x1&&(_0x524e7f=_0x45f552);const _0x3b50bb=_0x357ef7['slice'](_0x10994b,_0x524e7f);if(_0x23d084[_0x2a6eb3(0x171)](_0x3b50bb))throw new SyntaxError('The\x20\x22'+_0x3b50bb+'\x22\x20subprotocol\x20is\x20duplicated');_0x23d084[_0x2a6eb3(0x1e4)](_0x3b50bb),_0x10994b=_0x524e7f=-0x1;}else throw new SyntaxError(_0x2a6eb3(0x24f)+_0x45f552);}}}if(_0x10994b===-0x1||_0x524e7f!==-0x1)throw new SyntaxError(_0x2a6eb3(0x23f));const _0x476699=_0x357ef7['slice'](_0x10994b,_0x45f552);if(_0x23d084[_0x2a6eb3(0x171)](_0x476699))throw new SyntaxError(_0x2a6eb3(0xed)+_0x476699+_0x2a6eb3(0x272));return _0x23d084[_0x2a6eb3(0x1e4)](_0x476699),_0x23d084;}return Ce={'parse':_0x45346d},Ce;}var Te,it;function Qt(){const _0x36c4da=_0x1b6002;if(it)return Te;it=0x1;const _0xa6adc2=_0x15b586,_0x256fe5=_0x203745,{Duplex:_0x3731bf}=_0x5c4d5d,{createHash:_0x4b1967}=_0x343471,_0x2aef7c=dt(),_0xa4a645=ce(),_0x247c33=Zt(),_0x28a801=Be(),{GUID:_0x29c8f5,kWebSocket:_0x4e1a28}=V(),_0x444b74=/^[+/0-9A-Za-z]{22}==$/,_0x509cab=0x0,_0x1ef5d3=0x1,_0x1bddc4=0x2;class _0x32dc22 extends _0xa6adc2{constructor(_0x3dc9d3,_0xaaf084){const _0x3a5f92=_0x612f;if(super(),_0x3dc9d3={'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':_0x28a801,..._0x3dc9d3},_0x3dc9d3[_0x3a5f92(0xcb)]==null&&!_0x3dc9d3[_0x3a5f92(0x1ec)]&&!_0x3dc9d3[_0x3a5f92(0xd7)]||_0x3dc9d3[_0x3a5f92(0xcb)]!=null&&(_0x3dc9d3['server']||_0x3dc9d3[_0x3a5f92(0xd7)])||_0x3dc9d3[_0x3a5f92(0x1ec)]&&_0x3dc9d3[_0x3a5f92(0xd7)])throw new TypeError(_0x3a5f92(0x17c));if(_0x3dc9d3[_0x3a5f92(0xcb)]!=null?(this[_0x3a5f92(0x1ef)]=_0x256fe5[_0x3a5f92(0x234)]((_0x1c7f22,_0x41208a)=>{const _0x1a3e81=_0x3a5f92,_0x28f1c4=_0x256fe5['STATUS_CODES'][0x1aa];_0x41208a[_0x1a3e81(0xdc)](0x1aa,{'Content-Length':_0x28f1c4[_0x1a3e81(0x12d)],'Content-Type':_0x1a3e81(0x1da)}),_0x41208a['end'](_0x28f1c4);}),this['_server'][_0x3a5f92(0xee)](_0x3dc9d3[_0x3a5f92(0xcb)],_0x3dc9d3[_0x3a5f92(0x219)],_0x3dc9d3[_0x3a5f92(0xf0)],_0xaaf084)):_0x3dc9d3[_0x3a5f92(0x1ec)]&&(this[_0x3a5f92(0x1ef)]=_0x3dc9d3[_0x3a5f92(0x1ec)]),this[_0x3a5f92(0x1ef)]){const _0x573f42=this[_0x3a5f92(0x189)][_0x3a5f92(0x10c)](this,_0x3a5f92(0x1ae));this[_0x3a5f92(0x17a)]=_0x586cba(this[_0x3a5f92(0x1ef)],{'listening':this[_0x3a5f92(0x189)]['bind'](this,_0x3a5f92(0x15c)),'error':this[_0x3a5f92(0x189)][_0x3a5f92(0x10c)](this,_0x3a5f92(0x148)),'upgrade':(_0x5d4cf1,_0x116a03,_0x46c0eb)=>{this['handleUpgrade'](_0x5d4cf1,_0x116a03,_0x46c0eb,_0x573f42);}});}_0x3dc9d3['perMessageDeflate']===!0x0&&(_0x3dc9d3['perMessageDeflate']={}),_0x3dc9d3[_0x3a5f92(0x1df)]&&(this[_0x3a5f92(0x264)]=new Set(),this['_shouldEmitClose']=!0x1),this['options']=_0x3dc9d3,this[_0x3a5f92(0x218)]=_0x509cab;}['address'](){const _0x254eba=_0x612f;if(this[_0x254eba(0xf7)][_0x254eba(0xd7)])throw new Error(_0x254eba(0xf2));return this['_server']?this[_0x254eba(0x1ef)][_0x254eba(0x22e)]():null;}[_0x36c4da(0x277)](_0x1bf0be){const _0x2a48ed=_0x36c4da;if(this[_0x2a48ed(0x218)]===_0x1bddc4){_0x1bf0be&&this[_0x2a48ed(0x1e2)](_0x2a48ed(0x277),()=>{_0x1bf0be(new Error('The\x20server\x20is\x20not\x20running'));}),process[_0x2a48ed(0x199)](_0x3d3042,this);return;}if(_0x1bf0be&&this[_0x2a48ed(0x1e2)](_0x2a48ed(0x277),_0x1bf0be),this[_0x2a48ed(0x218)]!==_0x1ef5d3){if(this[_0x2a48ed(0x218)]=_0x1ef5d3,this[_0x2a48ed(0xf7)][_0x2a48ed(0xd7)]||this[_0x2a48ed(0xf7)][_0x2a48ed(0x1ec)])this[_0x2a48ed(0x1ef)]&&(this[_0x2a48ed(0x17a)](),this[_0x2a48ed(0x17a)]=this[_0x2a48ed(0x1ef)]=null),this['clients']?this[_0x2a48ed(0x264)][_0x2a48ed(0x24a)]?this[_0x2a48ed(0x1d7)]=!0x0:process[_0x2a48ed(0x199)](_0x3d3042,this):process[_0x2a48ed(0x199)](_0x3d3042,this);else{const _0xcaeb8e=this[_0x2a48ed(0x1ef)];this[_0x2a48ed(0x17a)](),this[_0x2a48ed(0x17a)]=this[_0x2a48ed(0x1ef)]=null,_0xcaeb8e[_0x2a48ed(0x277)](()=>{_0x3d3042(this);});}}}[_0x36c4da(0x1ed)](_0x5b2a35){const _0x4a631c=_0x36c4da;if(this[_0x4a631c(0xf7)]['path']){const _0x45ad9f=_0x5b2a35[_0x4a631c(0x150)][_0x4a631c(0x1f6)]('?');if((_0x45ad9f!==-0x1?_0x5b2a35['url'][_0x4a631c(0xd2)](0x0,_0x45ad9f):_0x5b2a35[_0x4a631c(0x150)])!==this[_0x4a631c(0xf7)][_0x4a631c(0x1ee)])return!0x1;}return!0x0;}[_0x36c4da(0x195)](_0x5a516b,_0x4963c8,_0x40f116,_0x50a7ce){const _0x23efdb=_0x36c4da;_0x4963c8['on'](_0x23efdb(0x148),_0xa70ae3);const _0x37be1d=_0x5a516b[_0x23efdb(0x1ca)]['sec-websocket-key'],_0x1f43c2=_0x5a516b[_0x23efdb(0x1ca)]['upgrade'],_0x48cdd0=+_0x5a516b[_0x23efdb(0x1ca)]['sec-websocket-version'];if(_0x5a516b[_0x23efdb(0x145)]!==_0x23efdb(0x24d)){_0x591b32(this,_0x5a516b,_0x4963c8,0x195,'Invalid\x20HTTP\x20method');return;}if(_0x1f43c2===void 0x0||_0x1f43c2[_0x23efdb(0x1ff)]()!=='websocket'){_0x591b32(this,_0x5a516b,_0x4963c8,0x190,_0x23efdb(0x140));return;}if(_0x37be1d===void 0x0||!_0x444b74['test'](_0x37be1d)){_0x591b32(this,_0x5a516b,_0x4963c8,0x190,_0x23efdb(0x137));return;}if(_0x48cdd0!==0xd&&_0x48cdd0!==0x8){_0x591b32(this,_0x5a516b,_0x4963c8,0x190,_0x23efdb(0x155),{'Sec-WebSocket-Version':_0x23efdb(0x162)});return;}if(!this['shouldHandle'](_0x5a516b)){_0x5c88cc(_0x4963c8,0x190);return;}const _0x3cba73=_0x5a516b[_0x23efdb(0x1ca)][_0x23efdb(0x131)];let _0x1cb20c=new Set();if(_0x3cba73!==void 0x0)try{_0x1cb20c=_0x247c33[_0x23efdb(0x1de)](_0x3cba73);}catch{_0x591b32(this,_0x5a516b,_0x4963c8,0x190,'Invalid\x20Sec-WebSocket-Protocol\x20header');return;}const _0x3c050f=_0x5a516b[_0x23efdb(0x1ca)][_0x23efdb(0x174)],_0x1e1483={};if(this[_0x23efdb(0xf7)][_0x23efdb(0x1b6)]&&_0x3c050f!==void 0x0){const _0x1e6a01=new _0xa4a645(this['options'][_0x23efdb(0x1b6)],!0x0,this[_0x23efdb(0xf7)]['maxPayload']);try{const _0x258e44=_0x2aef7c[_0x23efdb(0x1de)](_0x3c050f);_0x258e44[_0xa4a645['extensionName']]&&(_0x1e6a01[_0x23efdb(0x23c)](_0x258e44[_0xa4a645[_0x23efdb(0x151)]]),_0x1e1483[_0xa4a645['extensionName']]=_0x1e6a01);}catch{_0x591b32(this,_0x5a516b,_0x4963c8,0x190,'Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header');return;}}if(this[_0x23efdb(0xf7)]['verifyClient']){const _0x59b49d={'origin':_0x5a516b['headers'][''+(_0x48cdd0===0x8?'sec-websocket-origin':_0x23efdb(0x1f2))],'secure':!!(_0x5a516b[_0x23efdb(0x1dd)][_0x23efdb(0x14a)]||_0x5a516b['socket'][_0x23efdb(0x11a)]),'req':_0x5a516b};if(this[_0x23efdb(0xf7)][_0x23efdb(0x16c)][_0x23efdb(0x12d)]===0x2){this[_0x23efdb(0xf7)][_0x23efdb(0x16c)](_0x59b49d,(_0x37182e,_0x1b7ab2,_0x5ce9ed,_0x594ce8)=>{const _0x206427=_0x23efdb;if(!_0x37182e)return _0x5c88cc(_0x4963c8,_0x1b7ab2||0x191,_0x5ce9ed,_0x594ce8);this[_0x206427(0xf5)](_0x1e1483,_0x37be1d,_0x1cb20c,_0x5a516b,_0x4963c8,_0x40f116,_0x50a7ce);});return;}if(!this['options'][_0x23efdb(0x16c)](_0x59b49d))return _0x5c88cc(_0x4963c8,0x191);}this['completeUpgrade'](_0x1e1483,_0x37be1d,_0x1cb20c,_0x5a516b,_0x4963c8,_0x40f116,_0x50a7ce);}[_0x36c4da(0xf5)](_0x465845,_0x559cb3,_0x4e91f7,_0x3354cc,_0x3f5731,_0x147a42,_0x3b7d70){const _0x2ae01d=_0x36c4da;if(!_0x3f5731['readable']||!_0x3f5731[_0x2ae01d(0x16d)])return _0x3f5731[_0x2ae01d(0x1cd)]();if(_0x3f5731[_0x4e1a28])throw new Error(_0x2ae01d(0xe5));if(this[_0x2ae01d(0x218)]>_0x509cab)return _0x5c88cc(_0x3f5731,0x1f7);const _0x3f3c51=[_0x2ae01d(0x14e),'Upgrade:\x20websocket',_0x2ae01d(0x129),_0x2ae01d(0xd4)+_0x4b1967('sha1')[_0x2ae01d(0x23e)](_0x559cb3+_0x29c8f5)[_0x2ae01d(0x19b)]('base64')],_0x3f6862=new this[(_0x2ae01d(0xf7))][(_0x2ae01d(0x147))](null,void 0x0,this['options']);if(_0x4e91f7['size']){const _0x35ab1c=this[_0x2ae01d(0xf7)]['handleProtocols']?this[_0x2ae01d(0xf7)]['handleProtocols'](_0x4e91f7,_0x3354cc):_0x4e91f7[_0x2ae01d(0x160)]()[_0x2ae01d(0x133)]()['value'];_0x35ab1c&&(_0x3f3c51[_0x2ae01d(0xe0)](_0x2ae01d(0x1b3)+_0x35ab1c),_0x3f6862[_0x2ae01d(0xd6)]=_0x35ab1c);}if(_0x465845[_0xa4a645[_0x2ae01d(0x151)]]){const _0x1c4b63=_0x465845[_0xa4a645[_0x2ae01d(0x151)]]['params'],_0x59aef0=_0x2aef7c[_0x2ae01d(0xdf)]({[_0xa4a645[_0x2ae01d(0x151)]]:[_0x1c4b63]});_0x3f3c51['push']('Sec-WebSocket-Extensions:\x20'+_0x59aef0),_0x3f6862[_0x2ae01d(0x11f)]=_0x465845;}this['emit'](_0x2ae01d(0x1ca),_0x3f3c51,_0x3354cc),_0x3f5731[_0x2ae01d(0xcd)](_0x3f3c51['concat']('\x0d\x0a')['join']('\x0d\x0a')),_0x3f5731[_0x2ae01d(0x1a3)]('error',_0xa70ae3),_0x3f6862[_0x2ae01d(0x20b)](_0x3f5731,_0x147a42,{'allowSynchronousEvents':this['options'][_0x2ae01d(0x1bd)],'maxPayload':this['options'][_0x2ae01d(0x10b)],'skipUTF8Validation':this['options'][_0x2ae01d(0x26c)]}),this[_0x2ae01d(0x264)]&&(this[_0x2ae01d(0x264)][_0x2ae01d(0x1e4)](_0x3f6862),_0x3f6862['on'](_0x2ae01d(0x277),()=>{const _0x316711=_0x2ae01d;this[_0x316711(0x264)]['delete'](_0x3f6862),this[_0x316711(0x1d7)]&&!this['clients'][_0x316711(0x24a)]&&process[_0x316711(0x199)](_0x3d3042,this);})),_0x3b7d70(_0x3f6862,_0x3354cc);}}Te=_0x32dc22;function _0x586cba(_0x18502c,_0x6ffc89){const _0x2a6fbe=_0x36c4da;for(const _0x596b07 of Object[_0x2a6fbe(0x1b7)](_0x6ffc89))_0x18502c['on'](_0x596b07,_0x6ffc89[_0x596b07]);return function(){const _0x519811=_0x2a6fbe;for(const _0x1d0517 of Object['keys'](_0x6ffc89))_0x18502c[_0x519811(0x1a3)](_0x1d0517,_0x6ffc89[_0x1d0517]);};}function _0x3d3042(_0x270fd6){const _0x4323a9=_0x36c4da;_0x270fd6['_state']=_0x1bddc4,_0x270fd6[_0x4323a9(0x189)]('close');}function _0xa70ae3(){const _0x58f3cf=_0x36c4da;this[_0x58f3cf(0x1cd)]();}function _0x5c88cc(_0x3b5365,_0x43c53e,_0x4c9955,_0x1409f0){const _0x4f31c8=_0x36c4da;_0x4c9955=_0x4c9955||_0x256fe5[_0x4f31c8(0x25b)][_0x43c53e],_0x1409f0={'Connection':_0x4f31c8(0x277),'Content-Type':_0x4f31c8(0xf1),'Content-Length':Buffer[_0x4f31c8(0x238)](_0x4c9955),..._0x1409f0},_0x3b5365['once']('finish',_0x3b5365[_0x4f31c8(0x1cd)]),_0x3b5365[_0x4f31c8(0x161)](_0x4f31c8(0x1b9)+_0x43c53e+'\x20'+_0x256fe5[_0x4f31c8(0x25b)][_0x43c53e]+'\x0d\x0a'+Object['keys'](_0x1409f0)['map'](_0x3d7497=>_0x3d7497+':\x20'+_0x1409f0[_0x3d7497])['join']('\x0d\x0a')+_0x4f31c8(0x26a)+_0x4c9955);}function _0x591b32(_0x27fc3d,_0x168564,_0x296e5c,_0x429d30,_0x32028d,_0x29d6db){const _0x2106ee=_0x36c4da;if(_0x27fc3d[_0x2106ee(0x21e)]('wsClientError')){const _0x76b3c8=new Error(_0x32028d);Error['captureStackTrace'](_0x76b3c8,_0x591b32),_0x27fc3d[_0x2106ee(0x189)](_0x2106ee(0x1b8),_0x76b3c8,_0x296e5c,_0x168564);}else _0x5c88cc(_0x296e5c,_0x429d30,_0x32028d,_0x29d6db);}return Te;}Qt();var Jt=Object[_0x1b6002(0x166)],er=(_0x17235b,_0x1cd052,_0x286dcf,_0x55589a)=>{const _0x2e7c07=_0x1b6002;for(var _0x154278=_0x55589a>0x1?void 0x0:_0x55589a?Jt(_0x1cd052,_0x286dcf):_0x1cd052,_0x5b631f=_0x17235b[_0x2e7c07(0x12d)]-0x1,_0x113b09;_0x5b631f>=0x0;_0x5b631f--)(_0x113b09=_0x17235b[_0x5b631f])&&(_0x154278=_0x113b09(_0x154278)||_0x154278);return _0x154278;},tr=(_0x20360c,_0x5605d8)=>(_0x31f000,_0x4c9d9f)=>_0x5605d8(_0x31f000,_0x4c9d9f,_0x20360c);let ke=class extends _0x3c450a{constructor(_0x4f6218){const _0x32bccc=_0x1b6002;super(),this[_0x32bccc(0x1db)]=_0x4f6218;}[_0x1b6002(0x168)](_0x3a764f){const _0x15d5b8=_0x1b6002;var _0x11c962;const _0x3e6217=((_0x11c962=this[_0x15d5b8(0x1db)][_0x15d5b8(0x25c)](_0x313a53))==null?void 0x0:_0x11c962[_0x15d5b8(0x22c)])||{};try{const _0x45372e=new Xt(_0x3a764f,{'headers':{..._0x3e6217}}),_0x5e7bf8=new _0x39cfce();return{'URL':_0x3a764f,'close':(_0x157f06,_0x3c68bb)=>{const _0x624ce6=_0x15d5b8;_0x45372e[_0x624ce6(0x277)](_0x157f06,_0x3c68bb),_0x5e7bf8[_0x624ce6(0x230)]();},'send':_0x48f5dc=>{const _0x33e34b=_0x15d5b8;_0x45372e[_0x33e34b(0x239)](_0x48f5dc);},'open$':new _0x70ea54(_0x3217a6=>{const _0x1511e2=_0x15d5b8,_0x1659a2=_0x142715=>_0x3217a6[_0x1511e2(0x133)](_0x142715);_0x45372e[_0x1511e2(0x108)](_0x1511e2(0x1ad),_0x1659a2),_0x5e7bf8[_0x1511e2(0x1e4)](_0x19d108(()=>_0x45372e[_0x1511e2(0x1bf)](_0x1511e2(0x1ad),_0x1659a2)));})[_0x15d5b8(0x1fe)](_0x2734df()),'close$':new _0x70ea54(_0x49e307=>{const _0x3daeb2=_0x15d5b8,_0x36eb9b=_0xcfa64f=>_0x49e307['next'](_0xcfa64f);_0x45372e[_0x3daeb2(0x108)](_0x3daeb2(0x277),_0x36eb9b),_0x5e7bf8['add'](_0x19d108(()=>_0x45372e[_0x3daeb2(0x1bf)](_0x3daeb2(0x277),_0x36eb9b)));})['pipe'](_0x2734df()),'error$':new _0x70ea54(_0x469dca=>{const _0x17ff17=_0x15d5b8,_0x2935ca=_0x4393e9=>_0x469dca[_0x17ff17(0x133)](_0x4393e9);_0x45372e[_0x17ff17(0x108)](_0x17ff17(0x148),_0x2935ca),_0x5e7bf8['add'](_0x19d108(()=>_0x45372e[_0x17ff17(0x1bf)](_0x17ff17(0x148),_0x2935ca)));})['pipe'](_0x2734df()),'message$':new _0x70ea54(_0x3a59bd=>{const _0x5c7fc5=_0x15d5b8,_0x464273=_0xd86cc4=>_0x3a59bd['next'](_0xd86cc4);_0x45372e[_0x5c7fc5(0x108)]('message',_0x464273),_0x5e7bf8[_0x5c7fc5(0x1e4)](_0x19d108(()=>_0x45372e[_0x5c7fc5(0x1bf)](_0x5c7fc5(0x13c),_0x464273)));})[_0x15d5b8(0x1fe)](_0x2734df())};}catch(_0x632040){return console[_0x15d5b8(0x148)](_0x632040),null;}}};ke=er([tr(0x0,_0x331e7e)],ke);var rr=Object[_0x1b6002(0x242)],sr=Object[_0x1b6002(0x166)],ir=(_0x22016d,_0x4344c9,_0x5af231)=>_0x4344c9 in _0x22016d?rr(_0x22016d,_0x4344c9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5af231}):_0x22016d[_0x4344c9]=_0x5af231,nr=(_0x455c14,_0x36a190,_0x2d8349,_0x2234c6)=>{const _0x17b969=_0x1b6002;for(var _0x1d5b39=_0x2234c6>0x1?void 0x0:_0x2234c6?sr(_0x36a190,_0x2d8349):_0x36a190,_0x25635c=_0x455c14[_0x17b969(0x12d)]-0x1,_0x37936b;_0x25635c>=0x0;_0x25635c--)(_0x37936b=_0x455c14[_0x25635c])&&(_0x1d5b39=_0x37936b(_0x1d5b39)||_0x1d5b39);return _0x1d5b39;},nt=(_0x1d5282,_0x58cc46)=>(_0x37d5e4,_0x50958c)=>_0x58cc46(_0x37d5e4,_0x50958c,_0x1d5282),or=(_0x1ab6f8,_0x3d0713,_0x1b0f37)=>ir(_0x1ab6f8,_0x3d0713+'',_0x1b0f37);let Ne=class extends _0x24bd00{constructor(_0x3ef38f=Ft,_0x309207,_0x2e7477){const _0x3cda92=_0x1b6002;super(),this['_configService']=_0x309207,this[_0x3cda92(0x267)]=_0x2e7477,this[_0x3cda92(0x1db)]['setConfig']($t,_0x3ef38f);}['onStarting'](){const _0x57e682=_0x1b6002;this[_0x57e682(0x196)]();}[_0x1b6002(0x196)](){const _0x343e69=_0x1b6002;_0x3a1cab(this[_0x343e69(0x267)],[[_0x3dba02,{'useClass':ke}]]);}};or(Ne,_0x1b6002(0x1fb),_0x1b6002(0xf3)),Ne=nr([_0x3f6d16(_0x2bfe89),nt(0x1,_0x331e7e),nt(0x2,_0x2d13ea(_0x4989d8))],Ne);var ar=Object[_0x1b6002(0x166)],lr=(_0x41bdab,_0x21fe3d,_0x3d48b4,_0x252bff)=>{for(var _0x205450=_0x252bff>0x1?void 0x0:_0x252bff?ar(_0x21fe3d,_0x3d48b4):_0x21fe3d,_0xe8bf0e=_0x41bdab['length']-0x1,_0x57659c;_0xe8bf0e>=0x0;_0xe8bf0e--)(_0x57659c=_0x41bdab[_0xe8bf0e])&&(_0x205450=_0x57659c(_0x205450)||_0x205450);return _0x205450;},re=(_0x3cda46,_0x2a3420)=>(_0x438d95,_0x1db58a)=>_0x2a3420(_0x438d95,_0x1db58a,_0x3cda46);let ot=class extends _0x41c983{constructor(_0x288845,_0x378a2d,_0x294d57,_0x511144,_0x540bc0){const _0x5875e9=_0x1b6002;super(_0x288845,_0x378a2d,_0x294d57,_0x511144,_0x540bc0);const _0xc8e6be=this['_configService'][_0x5875e9(0x25c)](_0x313a53);this['_httpService'][_0x5875e9(0x228)]({'interceptor':(_0x7ca1e2,_0x4ae6b9)=>{const _0x36017c=_0x5875e9;var _0x3ab79d;const _0x34f773=_0x7ca1e2[_0x36017c(0x1ca)];return(_0x3ab79d=_0xc8e6be==null?void 0x0:_0xc8e6be['customHeaders'])!=null&&_0x3ab79d['cookie']&&_0x34f773[_0x36017c(0x221)]('Cookie',_0xc8e6be[_0x36017c(0x22c)]['cookie']),_0x4ae6b9(_0x7ca1e2);}});}async['createSocket'](_0x43d2e7){const _0x536091=_0x1b6002;return this[_0x536091(0xd9)](_0x43d2e7);}};ot=lr([re(0x0,_0x2d13ea(_0x4989d8)),re(0x1,_0x2d13ea(_0x12e606)),re(0x2,_0x331e7e),re(0x3,_0x29a30c),re(0x4,_0x1c014f)],ot);export{$t as COLLABORATION_CLIENT_NODE_CONFIG_KEY,ot as NodeCollaborationSocketService,Ne as UniverCollaborationClientNodePlugin};