@univerjs-pro/collaboration-client-node 0.8.0-beta.0 → 0.8.0-nightly.202505271607

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x472b46=_0x3516;(function(_0x36c534,_0x1bbbb8){const _0x21647a=_0x3516,_0xf29ff4=_0x36c534();while(!![]){try{const _0x545070=-parseInt(_0x21647a(0x175))/0x1*(-parseInt(_0x21647a(0x1d4))/0x2)+parseInt(_0x21647a(0xab))/0x3+-parseInt(_0x21647a(0x162))/0x4*(-parseInt(_0x21647a(0x105))/0x5)+-parseInt(_0x21647a(0x25c))/0x6*(parseInt(_0x21647a(0x1a4))/0x7)+-parseInt(_0x21647a(0x1fd))/0x8+-parseInt(_0x21647a(0x16d))/0x9+-parseInt(_0x21647a(0x144))/0xa*(parseInt(_0x21647a(0x185))/0xb);if(_0x545070===_0x1bbbb8)break;else _0xf29ff4['push'](_0xf29ff4['shift']());}catch(_0x54c6f7){_0xf29ff4['push'](_0xf29ff4['shift']());}}}(_0xf01f,0x98ecb));Object[_0x472b46(0x220)](exports,Symbol[_0x472b46(0x268)],{'value':_0x472b46(0x110)});const st=require(_0x472b46(0x26d)),A=require('@univerjs/core'),it=require('@univerjs/network'),V=require(_0x472b46(0xbe)),nt=require(_0x472b46(0xc0)),vt=require(_0x472b46(0xe3)),ot=require(_0x472b46(0x17c)),St=require(_0x472b46(0x222)),Et=require(_0x472b46(0x172)),Le=require(_0x472b46(0x264)),oe=require(_0x472b46(0x16a)),xt=require(_0x472b46(0x1f5)),bt=require('zlib'),wt=require(_0x472b46(0x243)),Ot=require(_0x472b46(0x1c2)),fe=_0x472b46(0x141),Ct={'customHeaders':{}};function Tt(_0x49a280){const _0x13afec=_0x472b46;return _0x49a280&&_0x49a280[_0x13afec(0x1b8)]&&Object[_0x13afec(0xe6)]['hasOwnProperty'][_0x13afec(0x25e)](_0x49a280,_0x13afec(0x23e))?_0x49a280['default']:_0x49a280;}function at(_0x1a2784){const _0x4ede60=_0x472b46;if(Object[_0x4ede60(0xe6)][_0x4ede60(0x1d2)][_0x4ede60(0x25e)](_0x1a2784,_0x4ede60(0x1b8)))return _0x1a2784;var _0x29e11f=_0x1a2784['default'];if(typeof _0x29e11f==_0x4ede60(0x129)){var _0x35e42e=function _0x466179(){const _0x71d0b5=_0x4ede60;return this instanceof _0x466179?Reflect[_0x71d0b5(0x16f)](_0x29e11f,arguments,this[_0x71d0b5(0xf5)]):_0x29e11f['apply'](this,arguments);};_0x35e42e[_0x4ede60(0xe6)]=_0x29e11f[_0x4ede60(0xe6)];}else _0x35e42e={};return Object[_0x4ede60(0x220)](_0x35e42e,_0x4ede60(0x1b8),{'value':!0x0}),Object[_0x4ede60(0x22b)](_0x1a2784)[_0x4ede60(0x221)](function(_0x2d13eb){const _0x326010=_0x4ede60;var _0x241574=Object['getOwnPropertyDescriptor'](_0x1a2784,_0x2d13eb);Object['defineProperty'](_0x35e42e,_0x2d13eb,_0x241574[_0x326010(0xc6)]?_0x241574:{'enumerable':!0x0,'get':function(){return _0x1a2784[_0x2d13eb];}});}),_0x35e42e;}var se={'exports':{}},ge,Ge;function H(){const _0x5acee2=_0x472b46;if(Ge)return ge;Ge=0x1;const _0x22aefb=[_0x5acee2(0x19f),'arraybuffer',_0x5acee2(0x148)],_0x1d79df=typeof Blob<'u';return _0x1d79df&&_0x22aefb['push']('blob'),ge={'BINARY_TYPES':_0x22aefb,'EMPTY_BUFFER':Buffer[_0x5acee2(0x24d)](0x0),'GUID':_0x5acee2(0xcc),'hasBlob':_0x1d79df,'kForOnEventAttribute':Symbol(_0x5acee2(0x159)),'kListener':Symbol(_0x5acee2(0x102)),'kStatusCode':Symbol(_0x5acee2(0x118)),'kWebSocket':Symbol('websocket'),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x472b46(0x163)](Object['defineProperty']({'__proto__':null,'default':Nt},Symbol['toStringTag'],{'value':_0x472b46(0x110)})),Lt=at(kt);var Ve;function ce(){const _0x115487=_0x472b46;if(Ve)return se[_0x115487(0x1c9)];Ve=0x1;const {EMPTY_BUFFER:_0x466107}=H(),_0x38eebd=Buffer[Symbol[_0x115487(0xcb)]];function _0x2c3de4(_0x3fd073,_0x30d00c){const _0x506a42=_0x115487;if(_0x3fd073['length']===0x0)return _0x466107;if(_0x3fd073[_0x506a42(0x1bc)]===0x1)return _0x3fd073[0x0];const _0x1a9956=Buffer[_0x506a42(0xca)](_0x30d00c);let _0x5c13ba=0x0;for(let _0x1842e7=0x0;_0x1842e7<_0x3fd073[_0x506a42(0x1bc)];_0x1842e7++){const _0x38c2d2=_0x3fd073[_0x1842e7];_0x1a9956[_0x506a42(0x10e)](_0x38c2d2,_0x5c13ba),_0x5c13ba+=_0x38c2d2[_0x506a42(0x1bc)];}return _0x5c13ba<_0x30d00c?new _0x38eebd(_0x1a9956[_0x506a42(0x243)],_0x1a9956['byteOffset'],_0x5c13ba):_0x1a9956;}function _0x504c4e(_0x3ad1f2,_0x19d744,_0x5811d8,_0x12bc6d,_0xe10e05){for(let _0x30d372=0x0;_0x30d372<_0xe10e05;_0x30d372++)_0x5811d8[_0x12bc6d+_0x30d372]=_0x3ad1f2[_0x30d372]^_0x19d744[_0x30d372&0x3];}function _0x4a9040(_0xcf4b94,_0x39a2ff){const _0x1f64d6=_0x115487;for(let _0x4ac771=0x0;_0x4ac771<_0xcf4b94[_0x1f64d6(0x1bc)];_0x4ac771++)_0xcf4b94[_0x4ac771]^=_0x39a2ff[_0x4ac771&0x3];}function _0x2729c2(_0x38628b){const _0x4f33bb=_0x115487;return _0x38628b[_0x4f33bb(0x1bc)]===_0x38628b[_0x4f33bb(0x243)][_0x4f33bb(0xed)]?_0x38628b[_0x4f33bb(0x243)]:_0x38628b[_0x4f33bb(0x243)][_0x4f33bb(0x13b)](_0x38628b[_0x4f33bb(0x1ee)],_0x38628b[_0x4f33bb(0x1ee)]+_0x38628b[_0x4f33bb(0x1bc)]);}function _0x32321e(_0x460283){const _0x5a6eb3=_0x115487;if(_0x32321e['readOnly']=!0x0,Buffer[_0x5a6eb3(0x1b5)](_0x460283))return _0x460283;let _0x22a55c;return _0x460283 instanceof ArrayBuffer?_0x22a55c=new _0x38eebd(_0x460283):ArrayBuffer[_0x5a6eb3(0x18a)](_0x460283)?_0x22a55c=new _0x38eebd(_0x460283[_0x5a6eb3(0x243)],_0x460283[_0x5a6eb3(0x1ee)],_0x460283['byteLength']):(_0x22a55c=Buffer[_0x5a6eb3(0x20e)](_0x460283),_0x32321e[_0x5a6eb3(0x192)]=!0x1),_0x22a55c;}if(se[_0x115487(0x1c9)]={'concat':_0x2c3de4,'mask':_0x504c4e,'toArrayBuffer':_0x2729c2,'toBuffer':_0x32321e,'unmask':_0x4a9040},!process[_0x115487(0x224)][_0x115487(0x1ba)])try{const _0xd8a2dd=Lt;se['exports'][_0x115487(0xcf)]=function(_0x996696,_0x485778,_0x1e11aa,_0x30d24b,_0x17532a){const _0xd63096=_0x115487;_0x17532a<0x30?_0x504c4e(_0x996696,_0x485778,_0x1e11aa,_0x30d24b,_0x17532a):_0xd8a2dd[_0xd63096(0xcf)](_0x996696,_0x485778,_0x1e11aa,_0x30d24b,_0x17532a);},se[_0x115487(0x1c9)][_0x115487(0x1d7)]=function(_0x54ee5c,_0x404b3c){const _0x139293=_0x115487;_0x54ee5c[_0x139293(0x1bc)]<0x20?_0x4a9040(_0x54ee5c,_0x404b3c):_0xd8a2dd['unmask'](_0x54ee5c,_0x404b3c);};}catch{}return se[_0x115487(0x1c9)];}var ye,He;function Pt(){const _0x252213=_0x472b46;if(He)return ye;He=0x1;const _0x1e12a7=Symbol(_0x252213(0x12f)),_0x1cc682=Symbol('kRun');class _0x340e08{constructor(_0x18da38){const _0x272a0f=_0x252213;this[_0x1e12a7]=()=>{const _0x533053=_0x3516;this[_0x533053(0x278)]--,this[_0x1cc682]();},this[_0x272a0f(0x209)]=_0x18da38||0x1/0x0,this[_0x272a0f(0x20d)]=[],this[_0x272a0f(0x278)]=0x0;}[_0x252213(0x16e)](_0x383511){const _0x539068=_0x252213;this[_0x539068(0x20d)]['push'](_0x383511),this[_0x1cc682]();}[_0x1cc682](){const _0x30903c=_0x252213;if(this[_0x30903c(0x278)]!==this['concurrency']&&this[_0x30903c(0x20d)][_0x30903c(0x1bc)]){const _0x33e71f=this[_0x30903c(0x20d)][_0x30903c(0x1cb)]();this[_0x30903c(0x278)]++,_0x33e71f(this[_0x1e12a7]);}}}return ye=_0x340e08,ye;}var ve,ze;function he(){const _0x41fb8f=_0x472b46;if(ze)return ve;ze=0x1;const _0x581a6e=bt,_0x59e9fa=ce(),_0x2b443b=Pt(),{kStatusCode:_0x531d3b}=H(),_0x2e7d02=Buffer[Symbol['species']],_0x436623=Buffer[_0x41fb8f(0x20e)]([0x0,0x0,0xff,0xff]),_0x169e03=Symbol('permessage-deflate'),_0x55a225=Symbol(_0x41fb8f(0x261)),_0x9f0878=Symbol(_0x41fb8f(0x14a)),_0x50947d=Symbol(_0x41fb8f(0x114)),_0x4f89da=Symbol('error');let _0x3e9e27;class _0x1dfae0{constructor(_0xf6ae70,_0x5c2ff2,_0x5e23c7){const _0x3d0735=_0x41fb8f;if(this[_0x3d0735(0x150)]=_0x5e23c7|0x0,this[_0x3d0735(0x170)]=_0xf6ae70||{},this[_0x3d0735(0xbc)]=this[_0x3d0735(0x170)][_0x3d0735(0xd0)]!==void 0x0?this[_0x3d0735(0x170)]['threshold']:0x400,this[_0x3d0735(0x259)]=!!_0x5c2ff2,this[_0x3d0735(0xb6)]=null,this[_0x3d0735(0x193)]=null,this[_0x3d0735(0x23d)]=null,!_0x3e9e27){const _0x14639f=this[_0x3d0735(0x170)][_0x3d0735(0xd7)]!==void 0x0?this[_0x3d0735(0x170)]['concurrencyLimit']:0xa;_0x3e9e27=new _0x2b443b(_0x14639f);}}static get['extensionName'](){const _0x38840a=_0x41fb8f;return _0x38840a(0x13a);}[_0x41fb8f(0x1c7)](){const _0x48cb33=_0x41fb8f,_0xc80a13={};return this['_options'][_0x48cb33(0x234)]&&(_0xc80a13['server_no_context_takeover']=!0x0),this[_0x48cb33(0x170)][_0x48cb33(0xe1)]&&(_0xc80a13['client_no_context_takeover']=!0x0),this[_0x48cb33(0x170)][_0x48cb33(0x230)]&&(_0xc80a13[_0x48cb33(0x23c)]=this[_0x48cb33(0x170)][_0x48cb33(0x230)]),this['_options'][_0x48cb33(0xb7)]?_0xc80a13[_0x48cb33(0x127)]=this[_0x48cb33(0x170)][_0x48cb33(0xb7)]:this['_options'][_0x48cb33(0xb7)]==null&&(_0xc80a13[_0x48cb33(0x127)]=!0x0),_0xc80a13;}[_0x41fb8f(0x1fe)](_0x1e9f4e){const _0x4563d1=_0x41fb8f;return _0x1e9f4e=this[_0x4563d1(0x174)](_0x1e9f4e),this[_0x4563d1(0x23d)]=this[_0x4563d1(0x259)]?this[_0x4563d1(0xba)](_0x1e9f4e):this[_0x4563d1(0xf9)](_0x1e9f4e),this['params'];}[_0x41fb8f(0x197)](){const _0x30ef6a=_0x41fb8f;if(this[_0x30ef6a(0x193)]&&(this[_0x30ef6a(0x193)][_0x30ef6a(0xb2)](),this[_0x30ef6a(0x193)]=null),this[_0x30ef6a(0xb6)]){const _0x599f82=this[_0x30ef6a(0xb6)][_0x9f0878];this[_0x30ef6a(0xb6)][_0x30ef6a(0xb2)](),this[_0x30ef6a(0xb6)]=null,_0x599f82&&_0x599f82(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}[_0x41fb8f(0xba)](_0x4fa51c){const _0x21bb1e=_0x41fb8f,_0x5835f4=this[_0x21bb1e(0x170)],_0xbb0ea8=_0x4fa51c[_0x21bb1e(0x1be)](_0x37eebe=>!(_0x5835f4[_0x21bb1e(0x234)]===!0x1&&_0x37eebe[_0x21bb1e(0x273)]||_0x37eebe[_0x21bb1e(0x23c)]&&(_0x5835f4[_0x21bb1e(0x230)]===!0x1||typeof _0x5835f4[_0x21bb1e(0x230)]==_0x21bb1e(0xe2)&&_0x5835f4['serverMaxWindowBits']>_0x37eebe[_0x21bb1e(0x23c)])||typeof _0x5835f4[_0x21bb1e(0xb7)]==_0x21bb1e(0xe2)&&!_0x37eebe[_0x21bb1e(0x127)]));if(!_0xbb0ea8)throw new Error(_0x21bb1e(0x255));return _0x5835f4['serverNoContextTakeover']&&(_0xbb0ea8[_0x21bb1e(0x273)]=!0x0),_0x5835f4['clientNoContextTakeover']&&(_0xbb0ea8['client_no_context_takeover']=!0x0),typeof _0x5835f4['serverMaxWindowBits']==_0x21bb1e(0xe2)&&(_0xbb0ea8[_0x21bb1e(0x23c)]=_0x5835f4[_0x21bb1e(0x230)]),typeof _0x5835f4[_0x21bb1e(0xb7)]==_0x21bb1e(0xe2)?_0xbb0ea8['client_max_window_bits']=_0x5835f4[_0x21bb1e(0xb7)]:(_0xbb0ea8[_0x21bb1e(0x127)]===!0x0||_0x5835f4[_0x21bb1e(0xb7)]===!0x1)&&delete _0xbb0ea8[_0x21bb1e(0x127)],_0xbb0ea8;}[_0x41fb8f(0xf9)](_0x5dc34a){const _0x4b11b7=_0x41fb8f,_0x3b8e9a=_0x5dc34a[0x0];if(this[_0x4b11b7(0x170)]['clientNoContextTakeover']===!0x1&&_0x3b8e9a[_0x4b11b7(0x12d)])throw new Error('Unexpected\x20parameter\x20\x22client_no_context_takeover\x22');if(!_0x3b8e9a[_0x4b11b7(0x127)])typeof this[_0x4b11b7(0x170)][_0x4b11b7(0xb7)]==_0x4b11b7(0xe2)&&(_0x3b8e9a['client_max_window_bits']=this[_0x4b11b7(0x170)][_0x4b11b7(0xb7)]);else{if(this[_0x4b11b7(0x170)][_0x4b11b7(0xb7)]===!0x1||typeof this[_0x4b11b7(0x170)][_0x4b11b7(0xb7)]==_0x4b11b7(0xe2)&&_0x3b8e9a['client_max_window_bits']>this[_0x4b11b7(0x170)][_0x4b11b7(0xb7)])throw new Error(_0x4b11b7(0x1ac));}return _0x3b8e9a;}[_0x41fb8f(0x174)](_0x148345){return _0x148345['forEach'](_0x237b9e=>{const _0x13d405=_0x3516;Object['keys'](_0x237b9e)[_0x13d405(0x221)](_0x1061c4=>{const _0x663d06=_0x13d405;let _0x3fd173=_0x237b9e[_0x1061c4];if(_0x3fd173[_0x663d06(0x1bc)]>0x1)throw new Error(_0x663d06(0x183)+_0x1061c4+_0x663d06(0x107));if(_0x3fd173=_0x3fd173[0x0],_0x1061c4===_0x663d06(0x127)){if(_0x3fd173!==!0x0){const _0x25ee76=+_0x3fd173;if(!Number[_0x663d06(0x257)](_0x25ee76)||_0x25ee76<0x8||_0x25ee76>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x1061c4+_0x663d06(0x1df)+_0x3fd173);_0x3fd173=_0x25ee76;}else{if(!this[_0x663d06(0x259)])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x1061c4+_0x663d06(0x1df)+_0x3fd173);}}else{if(_0x1061c4===_0x663d06(0x23c)){const _0x56fc40=+_0x3fd173;if(!Number[_0x663d06(0x257)](_0x56fc40)||_0x56fc40<0x8||_0x56fc40>0xf)throw new TypeError(_0x663d06(0x10a)+_0x1061c4+_0x663d06(0x1df)+_0x3fd173);_0x3fd173=_0x56fc40;}else{if(_0x1061c4===_0x663d06(0x12d)||_0x1061c4===_0x663d06(0x273)){if(_0x3fd173!==!0x0)throw new TypeError(_0x663d06(0x10a)+_0x1061c4+'\x22:\x20'+_0x3fd173);}else throw new Error(_0x663d06(0x1ae)+_0x1061c4+'\x22');}}_0x237b9e[_0x1061c4]=_0x3fd173;});}),_0x148345;}['decompress'](_0xddcebc,_0x1be874,_0x59608c){_0x3e9e27['add'](_0x142487=>{const _0x415f47=_0x3516;this[_0x415f47(0x217)](_0xddcebc,_0x1be874,(_0x31ca71,_0x310fd1)=>{_0x142487(),_0x59608c(_0x31ca71,_0x310fd1);});});}[_0x41fb8f(0x1e8)](_0x303d35,_0x3413fc,_0x2759ff){const _0xb6eb2a=_0x41fb8f;_0x3e9e27[_0xb6eb2a(0x16e)](_0x5f3706=>{const _0xa64cd0=_0xb6eb2a;this[_0xa64cd0(0x165)](_0x303d35,_0x3413fc,(_0x48ce88,_0x4149e9)=>{_0x5f3706(),_0x2759ff(_0x48ce88,_0x4149e9);});});}[_0x41fb8f(0x217)](_0x206d99,_0x5cc483,_0x1a4e67){const _0x220108=_0x41fb8f,_0x367161=this[_0x220108(0x259)]?_0x220108(0x24a):_0x220108(0x1d0);if(!this[_0x220108(0x193)]){const _0x565675=_0x367161+'_max_window_bits',_0x333353=typeof this[_0x220108(0x23d)][_0x565675]!=_0x220108(0xe2)?_0x581a6e[_0x220108(0x140)]:this[_0x220108(0x23d)][_0x565675];this['_inflate']=_0x581a6e['createInflateRaw']({...this['_options'][_0x220108(0xd2)],'windowBits':_0x333353}),this[_0x220108(0x193)][_0x169e03]=this,this[_0x220108(0x193)][_0x55a225]=0x0,this[_0x220108(0x193)][_0x50947d]=[],this[_0x220108(0x193)]['on'](_0x220108(0x149),_0x2b65ba),this[_0x220108(0x193)]['on'](_0x220108(0xf6),_0x1c4568);}this[_0x220108(0x193)][_0x9f0878]=_0x1a4e67,this[_0x220108(0x193)]['write'](_0x206d99),_0x5cc483&&this[_0x220108(0x193)][_0x220108(0xf3)](_0x436623),this['_inflate'][_0x220108(0x1c5)](()=>{const _0x4e0d0d=_0x220108,_0xc8ec0=this[_0x4e0d0d(0x193)][_0x4f89da];if(_0xc8ec0){this[_0x4e0d0d(0x193)][_0x4e0d0d(0xb2)](),this[_0x4e0d0d(0x193)]=null,_0x1a4e67(_0xc8ec0);return;}const _0x5ed51c=_0x59e9fa[_0x4e0d0d(0x21f)](this['_inflate'][_0x50947d],this[_0x4e0d0d(0x193)][_0x55a225]);this[_0x4e0d0d(0x193)][_0x4e0d0d(0xe7)][_0x4e0d0d(0x14e)]?(this[_0x4e0d0d(0x193)][_0x4e0d0d(0xb2)](),this[_0x4e0d0d(0x193)]=null):(this['_inflate'][_0x55a225]=0x0,this['_inflate'][_0x50947d]=[],_0x5cc483&&this['params'][_0x367161+_0x4e0d0d(0x233)]&&this[_0x4e0d0d(0x193)][_0x4e0d0d(0x1cf)]()),_0x1a4e67(null,_0x5ed51c);});}[_0x41fb8f(0x165)](_0x3ae841,_0x551ff0,_0x36331e){const _0x3d80d8=_0x41fb8f,_0xdb5833=this[_0x3d80d8(0x259)]?_0x3d80d8(0x1d0):'client';if(!this[_0x3d80d8(0xb6)]){const _0x24f5ce=_0xdb5833+'_max_window_bits',_0x5d0108=typeof this['params'][_0x24f5ce]!='number'?_0x581a6e[_0x3d80d8(0x140)]:this['params'][_0x24f5ce];this[_0x3d80d8(0xb6)]=_0x581a6e[_0x3d80d8(0x210)]({...this[_0x3d80d8(0x170)][_0x3d80d8(0xdd)],'windowBits':_0x5d0108}),this['_deflate'][_0x55a225]=0x0,this['_deflate'][_0x50947d]=[],this['_deflate']['on'](_0x3d80d8(0xf6),_0x3f037);}this[_0x3d80d8(0xb6)][_0x9f0878]=_0x36331e,this['_deflate'][_0x3d80d8(0xf3)](_0x3ae841),this[_0x3d80d8(0xb6)]['flush'](_0x581a6e['Z_SYNC_FLUSH'],()=>{const _0x338b01=_0x3d80d8;if(!this[_0x338b01(0xb6)])return;let _0x11dc17=_0x59e9fa[_0x338b01(0x21f)](this['_deflate'][_0x50947d],this[_0x338b01(0xb6)][_0x55a225]);_0x551ff0&&(_0x11dc17=new _0x2e7d02(_0x11dc17[_0x338b01(0x243)],_0x11dc17['byteOffset'],_0x11dc17['length']-0x4)),this['_deflate'][_0x9f0878]=null,this[_0x338b01(0xb6)][_0x55a225]=0x0,this[_0x338b01(0xb6)][_0x50947d]=[],_0x551ff0&&this[_0x338b01(0x23d)][_0xdb5833+'_no_context_takeover']&&this[_0x338b01(0xb6)][_0x338b01(0x1cf)](),_0x36331e(null,_0x11dc17);});}}ve=_0x1dfae0;function _0x3f037(_0x24b8a6){const _0x18f827=_0x41fb8f;this[_0x50947d][_0x18f827(0xac)](_0x24b8a6),this[_0x55a225]+=_0x24b8a6[_0x18f827(0x1bc)];}function _0x1c4568(_0x1ba7de){const _0x4cf4ec=_0x41fb8f;if(this[_0x55a225]+=_0x1ba7de[_0x4cf4ec(0x1bc)],this[_0x169e03]['_maxPayload']<0x1||this[_0x55a225]<=this[_0x169e03][_0x4cf4ec(0x150)]){this[_0x50947d][_0x4cf4ec(0xac)](_0x1ba7de);return;}this[_0x4f89da]=new RangeError(_0x4cf4ec(0x11b)),this[_0x4f89da][_0x4cf4ec(0x112)]=_0x4cf4ec(0x207),this[_0x4f89da][_0x531d3b]=0x3f1,this['removeListener'](_0x4cf4ec(0xf6),_0x1c4568),this[_0x4cf4ec(0x1cf)]();}function _0x2b65ba(_0x263aba){const _0xa0ba3d=_0x41fb8f;if(this[_0x169e03][_0xa0ba3d(0x193)]=null,this[_0x4f89da]){this[_0x9f0878](this[_0x4f89da]);return;}_0x263aba[_0x531d3b]=0x3ef,this[_0x9f0878](_0x263aba);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x472b46(0x163)](Object[_0x472b46(0x220)]({'__proto__':null,'default':Dt},Symbol[_0x472b46(0x268)],{'value':_0x472b46(0x110)})),Bt=at(Rt);var Ye;function _0x3516(_0x614f80,_0x4388da){const _0xf01f4e=_0xf01f();return _0x3516=function(_0x35168d,_0x270551){_0x35168d=_0x35168d-0xab;let _0x27f849=_0xf01f4e[_0x35168d];return _0x27f849;},_0x3516(_0x614f80,_0x4388da);}function ae(){const _0x4f737f=_0x472b46;if(Ye)return ie['exports'];Ye=0x1;const {isUtf8:_0xb37909}=wt,{hasBlob:_0x3f4d9b}=H(),_0xc68470=[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 _0x54a93c(_0xd253df){return _0xd253df>=0x3e8&&_0xd253df<=0x3f6&&_0xd253df!==0x3ec&&_0xd253df!==0x3ed&&_0xd253df!==0x3ee||_0xd253df>=0xbb8&&_0xd253df<=0x1387;}function _0x1fe156(_0x2691a1){const _0x1b656b=_0x3516,_0x3511ab=_0x2691a1[_0x1b656b(0x1bc)];let _0x3f2f82=0x0;for(;_0x3f2f82<_0x3511ab;)if((_0x2691a1[_0x3f2f82]&0x80)===0x0)_0x3f2f82++;else{if((_0x2691a1[_0x3f2f82]&0xe0)===0xc0){if(_0x3f2f82+0x1===_0x3511ab||(_0x2691a1[_0x3f2f82+0x1]&0xc0)!==0x80||(_0x2691a1[_0x3f2f82]&0xfe)===0xc0)return!0x1;_0x3f2f82+=0x2;}else{if((_0x2691a1[_0x3f2f82]&0xf0)===0xe0){if(_0x3f2f82+0x2>=_0x3511ab||(_0x2691a1[_0x3f2f82+0x1]&0xc0)!==0x80||(_0x2691a1[_0x3f2f82+0x2]&0xc0)!==0x80||_0x2691a1[_0x3f2f82]===0xe0&&(_0x2691a1[_0x3f2f82+0x1]&0xe0)===0x80||_0x2691a1[_0x3f2f82]===0xed&&(_0x2691a1[_0x3f2f82+0x1]&0xe0)===0xa0)return!0x1;_0x3f2f82+=0x3;}else{if((_0x2691a1[_0x3f2f82]&0xf8)===0xf0){if(_0x3f2f82+0x3>=_0x3511ab||(_0x2691a1[_0x3f2f82+0x1]&0xc0)!==0x80||(_0x2691a1[_0x3f2f82+0x2]&0xc0)!==0x80||(_0x2691a1[_0x3f2f82+0x3]&0xc0)!==0x80||_0x2691a1[_0x3f2f82]===0xf0&&(_0x2691a1[_0x3f2f82+0x1]&0xf0)===0x80||_0x2691a1[_0x3f2f82]===0xf4&&_0x2691a1[_0x3f2f82+0x1]>0x8f||_0x2691a1[_0x3f2f82]>0xf4)return!0x1;_0x3f2f82+=0x4;}else return!0x1;}}}return!0x0;}function _0x50ac70(_0x583db1){const _0x4972d3=_0x3516;return _0x3f4d9b&&typeof _0x583db1==_0x4972d3(0x124)&&typeof _0x583db1[_0x4972d3(0xd1)]==_0x4972d3(0x129)&&typeof _0x583db1['type']==_0x4972d3(0x24c)&&typeof _0x583db1[_0x4972d3(0x16a)]==_0x4972d3(0x129)&&(_0x583db1[Symbol[_0x4972d3(0x268)]]===_0x4972d3(0x1f4)||_0x583db1[Symbol[_0x4972d3(0x268)]]===_0x4972d3(0x17b));}if(ie[_0x4f737f(0x1c9)]={'isBlob':_0x50ac70,'isValidStatusCode':_0x54a93c,'isValidUTF8':_0x1fe156,'tokenChars':_0xc68470},_0xb37909)ie[_0x4f737f(0x1c9)][_0x4f737f(0x1a0)]=function(_0x114072){const _0x569bc8=_0x4f737f;return _0x114072[_0x569bc8(0x1bc)]<0x18?_0x1fe156(_0x114072):_0xb37909(_0x114072);};else{if(!process[_0x4f737f(0x224)][_0x4f737f(0x169)])try{const _0x2b529d=Bt;ie['exports'][_0x4f737f(0x1a0)]=function(_0xb4822d){return _0xb4822d['length']<0x20?_0x1fe156(_0xb4822d):_0x2b529d(_0xb4822d);};}catch{}}return ie[_0x4f737f(0x1c9)];}var Se,Ke;function lt(){const _0x212b40=_0x472b46;if(Ke)return Se;Ke=0x1;const {Writable:_0x5b3287}=oe,_0x2add8d=he(),{BINARY_TYPES:_0x63e770,EMPTY_BUFFER:_0x1f7369,kStatusCode:_0x3c9d56,kWebSocket:_0x5f31e3}=H(),{concat:_0x580977,toArrayBuffer:_0x3930a8,unmask:_0xe77241}=ce(),{isValidStatusCode:_0x3779be,isValidUTF8:_0x6e984b}=ae(),_0x244e1d=Buffer[Symbol[_0x212b40(0xcb)]],_0x361508=0x0,_0x5f349e=0x1,_0x22bf6a=0x2,_0x11a05d=0x3,_0x55be0a=0x4,_0x4acf9e=0x5,_0x53044b=0x6;class _0x2e94a8 extends _0x5b3287{constructor(_0x828b0c={}){const _0x31dd68=_0x212b40;super(),this[_0x31dd68(0x1d3)]=_0x828b0c[_0x31dd68(0xb3)]!==void 0x0?_0x828b0c[_0x31dd68(0xb3)]:!0x0,this['_binaryType']=_0x828b0c[_0x31dd68(0x14c)]||_0x63e770[0x0],this[_0x31dd68(0x21b)]=_0x828b0c[_0x31dd68(0x178)]||{},this[_0x31dd68(0x259)]=!!_0x828b0c['isServer'],this['_maxPayload']=_0x828b0c[_0x31dd68(0xb0)]|0x0,this['_skipUTF8Validation']=!!_0x828b0c[_0x31dd68(0x27a)],this[_0x5f31e3]=void 0x0,this[_0x31dd68(0x276)]=0x0,this[_0x31dd68(0x1ce)]=[],this[_0x31dd68(0x1bd)]=!0x1,this[_0x31dd68(0x176)]=0x0,this[_0x31dd68(0xfe)]=void 0x0,this['_fragmented']=0x0,this[_0x31dd68(0x20a)]=!0x1,this[_0x31dd68(0x215)]=!0x1,this[_0x31dd68(0x11e)]=0x0,this[_0x31dd68(0x23f)]=0x0,this[_0x31dd68(0x161)]=0x0,this[_0x31dd68(0x1ad)]=[],this[_0x31dd68(0xf2)]=!0x1,this[_0x31dd68(0x130)]=!0x1,this['_state']=_0x361508;}[_0x212b40(0x12b)](_0x3e748c,_0x31d4d4,_0x2fcd0a){const _0x51fab4=_0x212b40;if(this[_0x51fab4(0x11e)]===0x8&&this[_0x51fab4(0xbd)]==_0x361508)return _0x2fcd0a();this[_0x51fab4(0x276)]+=_0x3e748c[_0x51fab4(0x1bc)],this[_0x51fab4(0x1ce)][_0x51fab4(0xac)](_0x3e748c),this[_0x51fab4(0x106)](_0x2fcd0a);}[_0x212b40(0x235)](_0x21aad6){const _0x13dce5=_0x212b40;if(this[_0x13dce5(0x276)]-=_0x21aad6,_0x21aad6===this[_0x13dce5(0x1ce)][0x0][_0x13dce5(0x1bc)])return this[_0x13dce5(0x1ce)][_0x13dce5(0x1cb)]();if(_0x21aad6<this['_buffers'][0x0][_0x13dce5(0x1bc)]){const _0x303134=this[_0x13dce5(0x1ce)][0x0];return this[_0x13dce5(0x1ce)][0x0]=new _0x244e1d(_0x303134['buffer'],_0x303134['byteOffset']+_0x21aad6,_0x303134[_0x13dce5(0x1bc)]-_0x21aad6),new _0x244e1d(_0x303134[_0x13dce5(0x243)],_0x303134[_0x13dce5(0x1ee)],_0x21aad6);}const _0x18cadb=Buffer[_0x13dce5(0xca)](_0x21aad6);do{const _0x47b419=this['_buffers'][0x0],_0x1e7bb5=_0x18cadb[_0x13dce5(0x1bc)]-_0x21aad6;_0x21aad6>=_0x47b419[_0x13dce5(0x1bc)]?_0x18cadb[_0x13dce5(0x10e)](this[_0x13dce5(0x1ce)]['shift'](),_0x1e7bb5):(_0x18cadb['set'](new Uint8Array(_0x47b419[_0x13dce5(0x243)],_0x47b419[_0x13dce5(0x1ee)],_0x21aad6),_0x1e7bb5),this[_0x13dce5(0x1ce)][0x0]=new _0x244e1d(_0x47b419['buffer'],_0x47b419[_0x13dce5(0x1ee)]+_0x21aad6,_0x47b419['length']-_0x21aad6)),_0x21aad6-=_0x47b419['length'];}while(_0x21aad6>0x0);return _0x18cadb;}[_0x212b40(0x106)](_0xd858eb){const _0x1937f1=_0x212b40;this[_0x1937f1(0x130)]=!0x0;do switch(this[_0x1937f1(0xbd)]){case _0x361508:this[_0x1937f1(0x179)](_0xd858eb);break;case _0x5f349e:this[_0x1937f1(0x1e9)](_0xd858eb);break;case _0x22bf6a:this[_0x1937f1(0x1f8)](_0xd858eb);break;case _0x11a05d:this[_0x1937f1(0x1b9)]();break;case _0x55be0a:this['getData'](_0xd858eb);break;case _0x4acf9e:case _0x53044b:this[_0x1937f1(0x130)]=!0x1;return;}while(this[_0x1937f1(0x130)]);this[_0x1937f1(0xf2)]||_0xd858eb();}[_0x212b40(0x179)](_0x59d2d5){const _0x268027=_0x212b40;if(this['_bufferedBytes']<0x2){this[_0x268027(0x130)]=!0x1;return;}const _0xf747ce=this[_0x268027(0x235)](0x2);if((_0xf747ce[0x0]&0x30)!==0x0){const _0x1834a9=this[_0x268027(0x19e)](RangeError,'RSV2\x20and\x20RSV3\x20must\x20be\x20clear',!0x0,0x3ea,_0x268027(0xb9));_0x59d2d5(_0x1834a9);return;}const _0x18b2aa=(_0xf747ce[0x0]&0x40)===0x40;if(_0x18b2aa&&!this['_extensions'][_0x2add8d[_0x268027(0x1ec)]]){const _0x1563b9=this[_0x268027(0x19e)](RangeError,_0x268027(0x1fc),!0x0,0x3ea,_0x268027(0xf8));_0x59d2d5(_0x1563b9);return;}if(this[_0x268027(0x215)]=(_0xf747ce[0x0]&0x80)===0x80,this[_0x268027(0x11e)]=_0xf747ce[0x0]&0xf,this[_0x268027(0x176)]=_0xf747ce[0x1]&0x7f,this[_0x268027(0x11e)]===0x0){if(_0x18b2aa){const _0x516748=this[_0x268027(0x19e)](RangeError,_0x268027(0x1fc),!0x0,0x3ea,_0x268027(0xf8));_0x59d2d5(_0x516748);return;}if(!this['_fragmented']){const _0x3ac19e=this[_0x268027(0x19e)](RangeError,_0x268027(0x25b),!0x0,0x3ea,_0x268027(0x1ca));_0x59d2d5(_0x3ac19e);return;}this[_0x268027(0x11e)]=this['_fragmented'];}else{if(this['_opcode']===0x1||this[_0x268027(0x11e)]===0x2){if(this['_fragmented']){const _0x38f62a=this[_0x268027(0x19e)](RangeError,_0x268027(0x1e5)+this[_0x268027(0x11e)],!0x0,0x3ea,_0x268027(0x1ca));_0x59d2d5(_0x38f62a);return;}this['_compressed']=_0x18b2aa;}else{if(this[_0x268027(0x11e)]>0x7&&this[_0x268027(0x11e)]<0xb){if(!this['_fin']){const _0x4d5771=this[_0x268027(0x19e)](RangeError,_0x268027(0x216),!0x0,0x3ea,_0x268027(0x26e));_0x59d2d5(_0x4d5771);return;}if(_0x18b2aa){const _0x4f8846=this[_0x268027(0x19e)](RangeError,_0x268027(0x1fc),!0x0,0x3ea,_0x268027(0xf8));_0x59d2d5(_0x4f8846);return;}if(this['_payloadLength']>0x7d||this['_opcode']===0x8&&this[_0x268027(0x176)]===0x1){const _0x37a40f=this[_0x268027(0x19e)](RangeError,_0x268027(0x251)+this[_0x268027(0x176)],!0x0,0x3ea,_0x268027(0x12e));_0x59d2d5(_0x37a40f);return;}}else{const _0x13f30f=this[_0x268027(0x19e)](RangeError,_0x268027(0x1e5)+this['_opcode'],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x59d2d5(_0x13f30f);return;}}}if(!this[_0x268027(0x215)]&&!this[_0x268027(0x24e)]&&(this['_fragmented']=this[_0x268027(0x11e)]),this[_0x268027(0x20a)]=(_0xf747ce[0x1]&0x80)===0x80,this[_0x268027(0x259)]){if(!this[_0x268027(0x20a)]){const _0x2a7cf9=this[_0x268027(0x19e)](RangeError,'MASK\x20must\x20be\x20set',!0x0,0x3ea,_0x268027(0x1eb));_0x59d2d5(_0x2a7cf9);return;}}else{if(this[_0x268027(0x20a)]){const _0x434a91=this[_0x268027(0x19e)](RangeError,'MASK\x20must\x20be\x20clear',!0x0,0x3ea,_0x268027(0x13d));_0x59d2d5(_0x434a91);return;}}this[_0x268027(0x176)]===0x7e?this[_0x268027(0xbd)]=_0x5f349e:this['_payloadLength']===0x7f?this[_0x268027(0xbd)]=_0x22bf6a:this[_0x268027(0x167)](_0x59d2d5);}['getPayloadLength16'](_0x4d15e7){const _0x194936=_0x212b40;if(this['_bufferedBytes']<0x2){this[_0x194936(0x130)]=!0x1;return;}this[_0x194936(0x176)]=this[_0x194936(0x235)](0x2)['readUInt16BE'](0x0),this[_0x194936(0x167)](_0x4d15e7);}[_0x212b40(0x1f8)](_0x3bc7aa){const _0x2bc728=_0x212b40;if(this[_0x2bc728(0x276)]<0x8){this[_0x2bc728(0x130)]=!0x1;return;}const _0x199bd5=this[_0x2bc728(0x235)](0x8),_0x538add=_0x199bd5[_0x2bc728(0x1cd)](0x0);if(_0x538add>Math['pow'](0x2,0x15)-0x1){const _0x1933e9=this[_0x2bc728(0x19e)](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,_0x2bc728(0x208));_0x3bc7aa(_0x1933e9);return;}this[_0x2bc728(0x176)]=_0x538add*Math['pow'](0x2,0x20)+_0x199bd5['readUInt32BE'](0x4),this[_0x2bc728(0x167)](_0x3bc7aa);}[_0x212b40(0x167)](_0x37e229){const _0x4210bf=_0x212b40;if(this[_0x4210bf(0x176)]&&this[_0x4210bf(0x11e)]<0x8&&(this[_0x4210bf(0x23f)]+=this[_0x4210bf(0x176)],this[_0x4210bf(0x23f)]>this[_0x4210bf(0x150)]&&this[_0x4210bf(0x150)]>0x0)){const _0x429368=this[_0x4210bf(0x19e)](RangeError,_0x4210bf(0x11b),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x37e229(_0x429368);return;}this[_0x4210bf(0x20a)]?this['_state']=_0x11a05d:this[_0x4210bf(0xbd)]=_0x55be0a;}[_0x212b40(0x1b9)](){const _0x366bd2=_0x212b40;if(this['_bufferedBytes']<0x4){this['_loop']=!0x1;return;}this[_0x366bd2(0xfe)]=this['consume'](0x4),this['_state']=_0x55be0a;}[_0x212b40(0x1d1)](_0x899b34){const _0x5bb5f4=_0x212b40;let _0x5e8ae6=_0x1f7369;if(this[_0x5bb5f4(0x176)]){if(this[_0x5bb5f4(0x276)]<this['_payloadLength']){this['_loop']=!0x1;return;}_0x5e8ae6=this[_0x5bb5f4(0x235)](this[_0x5bb5f4(0x176)]),this[_0x5bb5f4(0x20a)]&&(this[_0x5bb5f4(0xfe)][0x0]|this[_0x5bb5f4(0xfe)][0x1]|this[_0x5bb5f4(0xfe)][0x2]|this[_0x5bb5f4(0xfe)][0x3])!==0x0&&_0xe77241(_0x5e8ae6,this[_0x5bb5f4(0xfe)]);}if(this[_0x5bb5f4(0x11e)]>0x7){this[_0x5bb5f4(0xc3)](_0x5e8ae6,_0x899b34);return;}if(this[_0x5bb5f4(0x1bd)]){this[_0x5bb5f4(0xbd)]=_0x4acf9e,this[_0x5bb5f4(0xd3)](_0x5e8ae6,_0x899b34);return;}_0x5e8ae6[_0x5bb5f4(0x1bc)]&&(this[_0x5bb5f4(0x161)]=this[_0x5bb5f4(0x23f)],this[_0x5bb5f4(0x1ad)]['push'](_0x5e8ae6)),this['dataMessage'](_0x899b34);}[_0x212b40(0xd3)](_0xd5d459,_0x4e4e4c){const _0x51d5f4=_0x212b40;this['_extensions'][_0x2add8d[_0x51d5f4(0x1ec)]][_0x51d5f4(0xd3)](_0xd5d459,this[_0x51d5f4(0x215)],(_0x3960a2,_0x5d600c)=>{const _0x84d9b3=_0x51d5f4;if(_0x3960a2)return _0x4e4e4c(_0x3960a2);if(_0x5d600c[_0x84d9b3(0x1bc)]){if(this[_0x84d9b3(0x161)]+=_0x5d600c['length'],this['_messageLength']>this[_0x84d9b3(0x150)]&&this[_0x84d9b3(0x150)]>0x0){const _0x37866d=this[_0x84d9b3(0x19e)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x4e4e4c(_0x37866d);return;}this[_0x84d9b3(0x1ad)][_0x84d9b3(0xac)](_0x5d600c);}this[_0x84d9b3(0x26c)](_0x4e4e4c),this[_0x84d9b3(0xbd)]===_0x361508&&this[_0x84d9b3(0x106)](_0x4e4e4c);});}[_0x212b40(0x26c)](_0x85685a){const _0x3f183e=_0x212b40;if(!this[_0x3f183e(0x215)]){this[_0x3f183e(0xbd)]=_0x361508;return;}const _0x3c947c=this[_0x3f183e(0x161)],_0x386d9d=this[_0x3f183e(0x1ad)];if(this[_0x3f183e(0x23f)]=0x0,this['_messageLength']=0x0,this[_0x3f183e(0x24e)]=0x0,this[_0x3f183e(0x1ad)]=[],this[_0x3f183e(0x11e)]===0x2){let _0x383486;this[_0x3f183e(0xb5)]===_0x3f183e(0x19f)?_0x383486=_0x580977(_0x386d9d,_0x3c947c):this[_0x3f183e(0xb5)]===_0x3f183e(0x1b3)?_0x383486=_0x3930a8(_0x580977(_0x386d9d,_0x3c947c)):this[_0x3f183e(0xb5)]===_0x3f183e(0x1a7)?_0x383486=new Blob(_0x386d9d):_0x383486=_0x386d9d,this['_allowSynchronousEvents']?(this[_0x3f183e(0x171)](_0x3f183e(0xe0),_0x383486,!0x0),this[_0x3f183e(0xbd)]=_0x361508):(this[_0x3f183e(0xbd)]=_0x53044b,setImmediate(()=>{const _0x401278=_0x3f183e;this[_0x401278(0x171)](_0x401278(0xe0),_0x383486,!0x0),this[_0x401278(0xbd)]=_0x361508,this[_0x401278(0x106)](_0x85685a);}));}else{const _0x16c690=_0x580977(_0x386d9d,_0x3c947c);if(!this[_0x3f183e(0x22a)]&&!_0x6e984b(_0x16c690)){const _0x3bb5fd=this['createError'](Error,_0x3f183e(0xb4),!0x0,0x3ef,_0x3f183e(0x15c));_0x85685a(_0x3bb5fd);return;}this[_0x3f183e(0xbd)]===_0x4acf9e||this['_allowSynchronousEvents']?(this[_0x3f183e(0x171)]('message',_0x16c690,!0x1),this[_0x3f183e(0xbd)]=_0x361508):(this[_0x3f183e(0xbd)]=_0x53044b,setImmediate(()=>{const _0x4d2bf5=_0x3f183e;this['emit'](_0x4d2bf5(0xe0),_0x16c690,!0x1),this[_0x4d2bf5(0xbd)]=_0x361508,this['startLoop'](_0x85685a);}));}}[_0x212b40(0xc3)](_0x25578a,_0x444514){const _0x4b75bd=_0x212b40;if(this[_0x4b75bd(0x11e)]===0x8){if(_0x25578a[_0x4b75bd(0x1bc)]===0x0)this[_0x4b75bd(0x130)]=!0x1,this['emit'](_0x4b75bd(0x1c8),0x3ed,_0x1f7369),this[_0x4b75bd(0x18f)]();else{const _0xbcd169=_0x25578a['readUInt16BE'](0x0);if(!_0x3779be(_0xbcd169)){const _0xa4735b=this[_0x4b75bd(0x19e)](RangeError,_0x4b75bd(0xfd)+_0xbcd169,!0x0,0x3ea,_0x4b75bd(0x21a));_0x444514(_0xa4735b);return;}const _0x18f7a5=new _0x244e1d(_0x25578a[_0x4b75bd(0x243)],_0x25578a[_0x4b75bd(0x1ee)]+0x2,_0x25578a[_0x4b75bd(0x1bc)]-0x2);if(!this['_skipUTF8Validation']&&!_0x6e984b(_0x18f7a5)){const _0xb8eeab=this[_0x4b75bd(0x19e)](Error,_0x4b75bd(0xb4),!0x0,0x3ef,_0x4b75bd(0x15c));_0x444514(_0xb8eeab);return;}this[_0x4b75bd(0x130)]=!0x1,this[_0x4b75bd(0x171)](_0x4b75bd(0x1c8),_0xbcd169,_0x18f7a5),this[_0x4b75bd(0x18f)]();}this[_0x4b75bd(0xbd)]=_0x361508;return;}this['_allowSynchronousEvents']?(this['emit'](this['_opcode']===0x9?_0x4b75bd(0x260):_0x4b75bd(0x24b),_0x25578a),this[_0x4b75bd(0xbd)]=_0x361508):(this['_state']=_0x53044b,setImmediate(()=>{const _0x47454a=_0x4b75bd;this['emit'](this[_0x47454a(0x11e)]===0x9?_0x47454a(0x260):_0x47454a(0x24b),_0x25578a),this['_state']=_0x361508,this[_0x47454a(0x106)](_0x444514);}));}['createError'](_0x46c105,_0x343a66,_0x22c209,_0x2d5d93,_0x6261d9){const _0x16d73a=_0x212b40;this[_0x16d73a(0x130)]=!0x1,this[_0x16d73a(0xf2)]=!0x0;const _0x54a7f7=new _0x46c105(_0x22c209?_0x16d73a(0x194)+_0x343a66:_0x343a66);return Error[_0x16d73a(0x18d)](_0x54a7f7,this[_0x16d73a(0x19e)]),_0x54a7f7[_0x16d73a(0x112)]=_0x6261d9,_0x54a7f7[_0x3c9d56]=_0x2d5d93,_0x54a7f7;}}return Se=_0x2e94a8,Se;}var Ee,Xe;function ft(){const _0x47d387=_0x472b46;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x1c81d8}=oe,{randomFillSync:_0x44f937}=Le,_0x196d9e=he(),{EMPTY_BUFFER:_0x2c54d8,kWebSocket:_0x54525a,NOOP:_0x519e26}=H(),{isBlob:_0x4fe201,isValidStatusCode:_0x1c0779}=ae(),{mask:_0x37f570,toBuffer:_0x46b44c}=ce(),_0x11482b=Symbol(_0x47d387(0x13e)),_0x5eff3e=Buffer[_0x47d387(0x24d)](0x4),_0x3194c5=0x8*0x400;let _0x50ecda,_0x2fd737=_0x3194c5;const _0x3c9474=0x0,_0x13f006=0x1,_0x54736e=0x2;class _0x44ef18{constructor(_0xfd9654,_0xaca847,_0x58ccf4){const _0x4fe857=_0x47d387;this[_0x4fe857(0x21b)]=_0xaca847||{},_0x58ccf4&&(this[_0x4fe857(0x279)]=_0x58ccf4,this[_0x4fe857(0x270)]=Buffer[_0x4fe857(0x24d)](0x4)),this[_0x4fe857(0x245)]=_0xfd9654,this[_0x4fe857(0x16c)]=!0x0,this[_0x4fe857(0x165)]=!0x1,this[_0x4fe857(0x276)]=0x0,this[_0x4fe857(0x239)]=[],this[_0x4fe857(0xbd)]=_0x3c9474,this['onerror']=_0x519e26,this[_0x54525a]=void 0x0;}static['frame'](_0x73d404,_0x10a818){const _0x28f565=_0x47d387;let _0x408c1d,_0x3ed8c5=!0x1,_0xa9ac6e=0x2,_0x7c9e0c=!0x1;_0x10a818['mask']&&(_0x408c1d=_0x10a818['maskBuffer']||_0x5eff3e,_0x10a818['generateMask']?_0x10a818['generateMask'](_0x408c1d):(_0x2fd737===_0x3194c5&&(_0x50ecda===void 0x0&&(_0x50ecda=Buffer[_0x28f565(0x24d)](_0x3194c5)),_0x44f937(_0x50ecda,0x0,_0x3194c5),_0x2fd737=0x0),_0x408c1d[0x0]=_0x50ecda[_0x2fd737++],_0x408c1d[0x1]=_0x50ecda[_0x2fd737++],_0x408c1d[0x2]=_0x50ecda[_0x2fd737++],_0x408c1d[0x3]=_0x50ecda[_0x2fd737++]),_0x7c9e0c=(_0x408c1d[0x0]|_0x408c1d[0x1]|_0x408c1d[0x2]|_0x408c1d[0x3])===0x0,_0xa9ac6e=0x6);let _0x321681;typeof _0x73d404=='string'?(!_0x10a818['mask']||_0x7c9e0c)&&_0x10a818[_0x11482b]!==void 0x0?_0x321681=_0x10a818[_0x11482b]:(_0x73d404=Buffer[_0x28f565(0x20e)](_0x73d404),_0x321681=_0x73d404[_0x28f565(0x1bc)]):(_0x321681=_0x73d404[_0x28f565(0x1bc)],_0x3ed8c5=_0x10a818[_0x28f565(0xcf)]&&_0x10a818['readOnly']&&!_0x7c9e0c);let _0x3c84e7=_0x321681;_0x321681>=0x10000?(_0xa9ac6e+=0x8,_0x3c84e7=0x7f):_0x321681>0x7d&&(_0xa9ac6e+=0x2,_0x3c84e7=0x7e);const _0x2bcffb=Buffer['allocUnsafe'](_0x3ed8c5?_0x321681+_0xa9ac6e:_0xa9ac6e);return _0x2bcffb[0x0]=_0x10a818[_0x28f565(0xd8)]?_0x10a818['opcode']|0x80:_0x10a818[_0x28f565(0xdf)],_0x10a818[_0x28f565(0xf1)]&&(_0x2bcffb[0x0]|=0x40),_0x2bcffb[0x1]=_0x3c84e7,_0x3c84e7===0x7e?_0x2bcffb['writeUInt16BE'](_0x321681,0x2):_0x3c84e7===0x7f&&(_0x2bcffb[0x2]=_0x2bcffb[0x3]=0x0,_0x2bcffb['writeUIntBE'](_0x321681,0x4,0x6)),_0x10a818['mask']?(_0x2bcffb[0x1]|=0x80,_0x2bcffb[_0xa9ac6e-0x4]=_0x408c1d[0x0],_0x2bcffb[_0xa9ac6e-0x3]=_0x408c1d[0x1],_0x2bcffb[_0xa9ac6e-0x2]=_0x408c1d[0x2],_0x2bcffb[_0xa9ac6e-0x1]=_0x408c1d[0x3],_0x7c9e0c?[_0x2bcffb,_0x73d404]:_0x3ed8c5?(_0x37f570(_0x73d404,_0x408c1d,_0x2bcffb,_0xa9ac6e,_0x321681),[_0x2bcffb]):(_0x37f570(_0x73d404,_0x408c1d,_0x73d404,0x0,_0x321681),[_0x2bcffb,_0x73d404])):[_0x2bcffb,_0x73d404];}[_0x47d387(0xb2)](_0x2aed1c,_0x3f7222,_0x5d921e,_0x17e102){const _0x1565d8=_0x47d387;let _0x3e0fa2;if(_0x2aed1c===void 0x0)_0x3e0fa2=_0x2c54d8;else{if(typeof _0x2aed1c!=_0x1565d8(0xe2)||!_0x1c0779(_0x2aed1c))throw new TypeError(_0x1565d8(0xda));if(_0x3f7222===void 0x0||!_0x3f7222[_0x1565d8(0x1bc)])_0x3e0fa2=Buffer[_0x1565d8(0xca)](0x2),_0x3e0fa2[_0x1565d8(0x21d)](_0x2aed1c,0x0);else{const _0x4fb351=Buffer[_0x1565d8(0xed)](_0x3f7222);if(_0x4fb351>0x7b)throw new RangeError(_0x1565d8(0x250));_0x3e0fa2=Buffer[_0x1565d8(0xca)](0x2+_0x4fb351),_0x3e0fa2['writeUInt16BE'](_0x2aed1c,0x0),typeof _0x3f7222==_0x1565d8(0x24c)?_0x3e0fa2[_0x1565d8(0xf3)](_0x3f7222,0x2):_0x3e0fa2[_0x1565d8(0x10e)](_0x3f7222,0x2);}}const _0x470340={[_0x11482b]:_0x3e0fa2['length'],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x5d921e,'maskBuffer':this[_0x1565d8(0x270)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this['_state']!==_0x3c9474?this[_0x1565d8(0x126)]([this[_0x1565d8(0x1f2)],_0x3e0fa2,!0x1,_0x470340,_0x17e102]):this[_0x1565d8(0x14b)](_0x44ef18['frame'](_0x3e0fa2,_0x470340),_0x17e102);}[_0x47d387(0x260)](_0x4cde0f,_0x3579fc,_0x4e4e19){const _0x1f2481=_0x47d387;let _0x6d1fe5,_0x16609c;if(typeof _0x4cde0f==_0x1f2481(0x24c)?(_0x6d1fe5=Buffer[_0x1f2481(0xed)](_0x4cde0f),_0x16609c=!0x1):_0x4fe201(_0x4cde0f)?(_0x6d1fe5=_0x4cde0f[_0x1f2481(0x229)],_0x16609c=!0x1):(_0x4cde0f=_0x46b44c(_0x4cde0f),_0x6d1fe5=_0x4cde0f[_0x1f2481(0x1bc)],_0x16609c=_0x46b44c[_0x1f2481(0x192)]),_0x6d1fe5>0x7d)throw new RangeError(_0x1f2481(0x142));const _0x12fc7e={[_0x11482b]:_0x6d1fe5,'fin':!0x0,'generateMask':this[_0x1f2481(0x279)],'mask':_0x3579fc,'maskBuffer':this[_0x1f2481(0x270)],'opcode':0x9,'readOnly':_0x16609c,'rsv1':!0x1};_0x4fe201(_0x4cde0f)?this[_0x1f2481(0xbd)]!==_0x3c9474?this['enqueue']([this[_0x1f2481(0xf4)],_0x4cde0f,!0x1,_0x12fc7e,_0x4e4e19]):this['getBlobData'](_0x4cde0f,!0x1,_0x12fc7e,_0x4e4e19):this[_0x1f2481(0xbd)]!==_0x3c9474?this[_0x1f2481(0x126)]([this[_0x1f2481(0x1f2)],_0x4cde0f,!0x1,_0x12fc7e,_0x4e4e19]):this['sendFrame'](_0x44ef18[_0x1f2481(0x247)](_0x4cde0f,_0x12fc7e),_0x4e4e19);}[_0x47d387(0x24b)](_0x205af9,_0x3cc620,_0x3b5b74){const _0x1426f9=_0x47d387;let _0x8da902,_0x586bd1;if(typeof _0x205af9=='string'?(_0x8da902=Buffer[_0x1426f9(0xed)](_0x205af9),_0x586bd1=!0x1):_0x4fe201(_0x205af9)?(_0x8da902=_0x205af9[_0x1426f9(0x229)],_0x586bd1=!0x1):(_0x205af9=_0x46b44c(_0x205af9),_0x8da902=_0x205af9['length'],_0x586bd1=_0x46b44c['readOnly']),_0x8da902>0x7d)throw new RangeError(_0x1426f9(0x142));const _0x40981d={[_0x11482b]:_0x8da902,'fin':!0x0,'generateMask':this[_0x1426f9(0x279)],'mask':_0x3cc620,'maskBuffer':this[_0x1426f9(0x270)],'opcode':0xa,'readOnly':_0x586bd1,'rsv1':!0x1};_0x4fe201(_0x205af9)?this['_state']!==_0x3c9474?this['enqueue']([this[_0x1426f9(0xf4)],_0x205af9,!0x1,_0x40981d,_0x3b5b74]):this[_0x1426f9(0xf4)](_0x205af9,!0x1,_0x40981d,_0x3b5b74):this[_0x1426f9(0xbd)]!==_0x3c9474?this[_0x1426f9(0x126)]([this['dispatch'],_0x205af9,!0x1,_0x40981d,_0x3b5b74]):this[_0x1426f9(0x14b)](_0x44ef18[_0x1426f9(0x247)](_0x205af9,_0x40981d),_0x3b5b74);}['send'](_0x271ed8,_0x265c1a,_0x314982){const _0x2b34ca=_0x47d387,_0x528172=this[_0x2b34ca(0x21b)][_0x196d9e[_0x2b34ca(0x1ec)]];let _0x5cc72e=_0x265c1a[_0x2b34ca(0x258)]?0x2:0x1,_0x182f28=_0x265c1a[_0x2b34ca(0x1e8)],_0x1b800d,_0xa5e45c;typeof _0x271ed8=='string'?(_0x1b800d=Buffer[_0x2b34ca(0xed)](_0x271ed8),_0xa5e45c=!0x1):_0x4fe201(_0x271ed8)?(_0x1b800d=_0x271ed8['size'],_0xa5e45c=!0x1):(_0x271ed8=_0x46b44c(_0x271ed8),_0x1b800d=_0x271ed8['length'],_0xa5e45c=_0x46b44c['readOnly']),this[_0x2b34ca(0x16c)]?(this[_0x2b34ca(0x16c)]=!0x1,_0x182f28&&_0x528172&&_0x528172[_0x2b34ca(0x23d)][_0x528172['_isServer']?_0x2b34ca(0x273):_0x2b34ca(0x12d)]&&(_0x182f28=_0x1b800d>=_0x528172[_0x2b34ca(0xbc)]),this[_0x2b34ca(0x165)]=_0x182f28):(_0x182f28=!0x1,_0x5cc72e=0x0),_0x265c1a['fin']&&(this['_firstFragment']=!0x0);const _0x4384cb={[_0x11482b]:_0x1b800d,'fin':_0x265c1a[_0x2b34ca(0xd8)],'generateMask':this['_generateMask'],'mask':_0x265c1a[_0x2b34ca(0xcf)],'maskBuffer':this[_0x2b34ca(0x270)],'opcode':_0x5cc72e,'readOnly':_0xa5e45c,'rsv1':_0x182f28};_0x4fe201(_0x271ed8)?this[_0x2b34ca(0xbd)]!==_0x3c9474?this[_0x2b34ca(0x126)]([this['getBlobData'],_0x271ed8,this['_compress'],_0x4384cb,_0x314982]):this[_0x2b34ca(0xf4)](_0x271ed8,this['_compress'],_0x4384cb,_0x314982):this[_0x2b34ca(0xbd)]!==_0x3c9474?this['enqueue']([this[_0x2b34ca(0x1f2)],_0x271ed8,this[_0x2b34ca(0x165)],_0x4384cb,_0x314982]):this[_0x2b34ca(0x1f2)](_0x271ed8,this['_compress'],_0x4384cb,_0x314982);}[_0x47d387(0xf4)](_0x577116,_0x105d2b,_0x13ae77,_0x52b6bf){const _0x4a1315=_0x47d387;this['_bufferedBytes']+=_0x13ae77[_0x11482b],this['_state']=_0x54736e,_0x577116[_0x4a1315(0xd1)]()[_0x4a1315(0x128)](_0x87434a=>{const _0x594d78=_0x4a1315;if(this['_socket'][_0x594d78(0x1cc)]){const _0xe24a83=new Error(_0x594d78(0x15e));process[_0x594d78(0x101)](_0x333cd4,this,_0xe24a83,_0x52b6bf);return;}this['_bufferedBytes']-=_0x13ae77[_0x11482b];const _0x4fc84d=_0x46b44c(_0x87434a);_0x105d2b?this[_0x594d78(0x1f2)](_0x4fc84d,_0x105d2b,_0x13ae77,_0x52b6bf):(this[_0x594d78(0xbd)]=_0x3c9474,this[_0x594d78(0x14b)](_0x44ef18[_0x594d78(0x247)](_0x4fc84d,_0x13ae77),_0x52b6bf),this['dequeue']());})['catch'](_0x5ccc87=>{const _0x10d532=_0x4a1315;process[_0x10d532(0x101)](_0xbce9da,this,_0x5ccc87,_0x52b6bf);});}[_0x47d387(0x1f2)](_0x263156,_0x590bac,_0x2be859,_0x588ccb){const _0x2d809d=_0x47d387;if(!_0x590bac){this['sendFrame'](_0x44ef18[_0x2d809d(0x247)](_0x263156,_0x2be859),_0x588ccb);return;}const _0x411894=this[_0x2d809d(0x21b)][_0x196d9e[_0x2d809d(0x1ec)]];this[_0x2d809d(0x276)]+=_0x2be859[_0x11482b],this[_0x2d809d(0xbd)]=_0x13f006,_0x411894[_0x2d809d(0x1e8)](_0x263156,_0x2be859['fin'],(_0x493700,_0x2e7414)=>{const _0x2d9774=_0x2d809d;if(this[_0x2d9774(0x245)][_0x2d9774(0x1cc)]){const _0x377c39=new Error(_0x2d9774(0x195));_0x333cd4(this,_0x377c39,_0x588ccb);return;}this['_bufferedBytes']-=_0x2be859[_0x11482b],this[_0x2d9774(0xbd)]=_0x3c9474,_0x2be859[_0x2d9774(0x192)]=!0x1,this[_0x2d9774(0x14b)](_0x44ef18[_0x2d9774(0x247)](_0x2e7414,_0x2be859),_0x588ccb),this['dequeue']();});}['dequeue'](){const _0x4a7a82=_0x47d387;for(;this[_0x4a7a82(0xbd)]===_0x3c9474&&this['_queue'][_0x4a7a82(0x1bc)];){const _0x455755=this['_queue']['shift']();this[_0x4a7a82(0x276)]-=_0x455755[0x3][_0x11482b],Reflect['apply'](_0x455755[0x0],this,_0x455755[_0x4a7a82(0x13b)](0x1));}}['enqueue'](_0x387d48){const _0x14f39a=_0x47d387;this[_0x14f39a(0x276)]+=_0x387d48[0x3][_0x11482b],this['_queue'][_0x14f39a(0xac)](_0x387d48);}[_0x47d387(0x14b)](_0x4c131b,_0x3d834d){const _0x4aec78=_0x47d387;_0x4c131b['length']===0x2?(this[_0x4aec78(0x245)][_0x4aec78(0x18b)](),this[_0x4aec78(0x245)][_0x4aec78(0xf3)](_0x4c131b[0x0]),this[_0x4aec78(0x245)][_0x4aec78(0xf3)](_0x4c131b[0x1],_0x3d834d),this[_0x4aec78(0x245)][_0x4aec78(0x184)]()):this['_socket'][_0x4aec78(0xf3)](_0x4c131b[0x0],_0x3d834d);}}Ee=_0x44ef18;function _0x333cd4(_0x109476,_0x6fb98a,_0x4938e0){const _0x5ecadc=_0x47d387;typeof _0x4938e0==_0x5ecadc(0x129)&&_0x4938e0(_0x6fb98a);for(let _0x2f96a4=0x0;_0x2f96a4<_0x109476[_0x5ecadc(0x239)]['length'];_0x2f96a4++){const _0x2bf1ac=_0x109476['_queue'][_0x2f96a4],_0x1e6f2a=_0x2bf1ac[_0x2bf1ac[_0x5ecadc(0x1bc)]-0x1];typeof _0x1e6f2a=='function'&&_0x1e6f2a(_0x6fb98a);}}function _0xbce9da(_0x50425c,_0x529890,_0x1f81e9){const _0x22ce6a=_0x47d387;_0x333cd4(_0x50425c,_0x529890,_0x1f81e9),_0x50425c[_0x22ce6a(0x1aa)](_0x529890);}return Ee;}var xe,Ze;function It(){const _0x3da942=_0x472b46;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x52f195,kListener:_0x3381ee}=H(),_0x3ba716=Symbol(_0x3da942(0x10b)),_0x5a9709=Symbol(_0x3da942(0x1d6)),_0x47d207=Symbol(_0x3da942(0xae)),_0x34d146=Symbol('kMessage'),_0x4320dd=Symbol('kReason'),_0xa8f7ea=Symbol(_0x3da942(0x1fb)),_0x467cf6=Symbol(_0x3da942(0x125)),_0x4ac3b5=Symbol(_0x3da942(0x254));class _0x4c08ce{constructor(_0x3c9e21){this[_0xa8f7ea]=null,this[_0x467cf6]=_0x3c9e21;}get[_0x3da942(0x22e)](){return this[_0xa8f7ea];}get['type'](){return this[_0x467cf6];}}Object[_0x3da942(0x220)](_0x4c08ce[_0x3da942(0xe6)],_0x3da942(0x22e),{'enumerable':!0x0}),Object[_0x3da942(0x220)](_0x4c08ce[_0x3da942(0xe6)],_0x3da942(0x117),{'enumerable':!0x0});class _0x24a885 extends _0x4c08ce{constructor(_0x374224,_0x5ced48={}){const _0x379777=_0x3da942;super(_0x374224),this[_0x3ba716]=_0x5ced48[_0x379777(0x112)]===void 0x0?0x0:_0x5ced48[_0x379777(0x112)],this[_0x4320dd]=_0x5ced48['reason']===void 0x0?'':_0x5ced48[_0x379777(0x1c4)],this[_0x4ac3b5]=_0x5ced48[_0x379777(0xb8)]===void 0x0?!0x1:_0x5ced48[_0x379777(0xb8)];}get[_0x3da942(0x112)](){return this[_0x3ba716];}get['reason'](){return this[_0x4320dd];}get[_0x3da942(0xb8)](){return this[_0x4ac3b5];}}Object['defineProperty'](_0x24a885['prototype'],_0x3da942(0x112),{'enumerable':!0x0}),Object[_0x3da942(0x220)](_0x24a885[_0x3da942(0xe6)],_0x3da942(0x1c4),{'enumerable':!0x0}),Object[_0x3da942(0x220)](_0x24a885[_0x3da942(0xe6)],_0x3da942(0xb8),{'enumerable':!0x0});class _0x506fc2 extends _0x4c08ce{constructor(_0x132d7f,_0x3378d2={}){const _0x2c8694=_0x3da942;super(_0x132d7f),this[_0x47d207]=_0x3378d2[_0x2c8694(0x149)]===void 0x0?null:_0x3378d2[_0x2c8694(0x149)],this[_0x34d146]=_0x3378d2[_0x2c8694(0xe0)]===void 0x0?'':_0x3378d2[_0x2c8694(0xe0)];}get['error'](){return this[_0x47d207];}get[_0x3da942(0xe0)](){return this[_0x34d146];}}Object[_0x3da942(0x220)](_0x506fc2['prototype'],_0x3da942(0x149),{'enumerable':!0x0}),Object['defineProperty'](_0x506fc2[_0x3da942(0xe6)],'message',{'enumerable':!0x0});class _0x20029d extends _0x4c08ce{constructor(_0x1bae07,_0x100615={}){const _0x95eb7c=_0x3da942;super(_0x1bae07),this[_0x5a9709]=_0x100615['data']===void 0x0?null:_0x100615[_0x95eb7c(0xf6)];}get[_0x3da942(0xf6)](){return this[_0x5a9709];}}Object[_0x3da942(0x220)](_0x20029d[_0x3da942(0xe6)],_0x3da942(0xf6),{'enumerable':!0x0}),xe={'CloseEvent':_0x24a885,'ErrorEvent':_0x506fc2,'Event':_0x4c08ce,'EventTarget':{'addEventListener'(_0xecfb15,_0x2b44d9,_0x6b2099={}){const _0x1aa612=_0x3da942;for(const _0x3ac204 of this[_0x1aa612(0x180)](_0xecfb15))if(!_0x6b2099[_0x52f195]&&_0x3ac204[_0x3381ee]===_0x2b44d9&&!_0x3ac204[_0x52f195])return;let _0x3cda08;if(_0xecfb15===_0x1aa612(0xe0))_0x3cda08=function(_0x1b9a85,_0x1421d6){const _0x5c5820=_0x1aa612,_0x2171d7=new _0x20029d('message',{'data':_0x1421d6?_0x1b9a85:_0x1b9a85[_0x5c5820(0x121)]()});_0x2171d7[_0xa8f7ea]=this,_0x32e53b(_0x2b44d9,this,_0x2171d7);};else{if(_0xecfb15===_0x1aa612(0xb2))_0x3cda08=function(_0x54e84d,_0x567d75){const _0x354903=_0x1aa612,_0x5b94ba=new _0x24a885('close',{'code':_0x54e84d,'reason':_0x567d75['toString'](),'wasClean':this['_closeFrameReceived']&&this[_0x354903(0x18e)]});_0x5b94ba[_0xa8f7ea]=this,_0x32e53b(_0x2b44d9,this,_0x5b94ba);};else{if(_0xecfb15==='error')_0x3cda08=function(_0x58a011){const _0x239456=_0x1aa612,_0x380f3f=new _0x506fc2(_0x239456(0x149),{'error':_0x58a011,'message':_0x58a011[_0x239456(0xe0)]});_0x380f3f[_0xa8f7ea]=this,_0x32e53b(_0x2b44d9,this,_0x380f3f);};else{if(_0xecfb15==='open')_0x3cda08=function(){const _0x59d6ac=_0x1aa612,_0x41e752=new _0x4c08ce(_0x59d6ac(0x153));_0x41e752[_0xa8f7ea]=this,_0x32e53b(_0x2b44d9,this,_0x41e752);};else return;}}}_0x3cda08[_0x52f195]=!!_0x6b2099[_0x52f195],_0x3cda08[_0x3381ee]=_0x2b44d9,_0x6b2099[_0x1aa612(0x1dc)]?this[_0x1aa612(0x1dc)](_0xecfb15,_0x3cda08):this['on'](_0xecfb15,_0x3cda08);},'removeEventListener'(_0x59c4a7,_0x534e49){const _0x4a4521=_0x3da942;for(const _0x3eacd8 of this[_0x4a4521(0x180)](_0x59c4a7))if(_0x3eacd8[_0x3381ee]===_0x534e49&&!_0x3eacd8[_0x52f195]){this[_0x4a4521(0xc8)](_0x59c4a7,_0x3eacd8);break;}}},'MessageEvent':_0x20029d};function _0x32e53b(_0x2969fb,_0x424c30,_0x22dd37){const _0x3220e1=_0x3da942;typeof _0x2969fb==_0x3220e1(0x124)&&_0x2969fb[_0x3220e1(0x190)]?_0x2969fb[_0x3220e1(0x190)][_0x3220e1(0x25e)](_0x2969fb,_0x22dd37):_0x2969fb['call'](_0x424c30,_0x22dd37);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x43f8ee}=ae();function _0x28a4a9(_0xb5e466,_0x47817d,_0x39296b){const _0x2b0158=_0x3516;_0xb5e466[_0x47817d]===void 0x0?_0xb5e466[_0x47817d]=[_0x39296b]:_0xb5e466[_0x47817d][_0x2b0158(0xac)](_0x39296b);}function _0x803e47(_0x27360b){const _0x52e8bb=_0x3516,_0x40d9c3=Object['create'](null);let _0x4f5b20=Object[_0x52e8bb(0x225)](null),_0x3573f1=!0x1,_0x1af1b6=!0x1,_0x2be1af=!0x1,_0x579de7,_0xd6a8f0,_0x37c63c=-0x1,_0x2211f6=-0x1,_0xa123d8=-0x1,_0xa10431=0x0;for(;_0xa10431<_0x27360b[_0x52e8bb(0x1bc)];_0xa10431++)if(_0x2211f6=_0x27360b[_0x52e8bb(0x1e1)](_0xa10431),_0x579de7===void 0x0){if(_0xa123d8===-0x1&&_0x43f8ee[_0x2211f6]===0x1)_0x37c63c===-0x1&&(_0x37c63c=_0xa10431);else{if(_0xa10431!==0x0&&(_0x2211f6===0x20||_0x2211f6===0x9))_0xa123d8===-0x1&&_0x37c63c!==-0x1&&(_0xa123d8=_0xa10431);else{if(_0x2211f6===0x3b||_0x2211f6===0x2c){if(_0x37c63c===-0x1)throw new SyntaxError(_0x52e8bb(0x196)+_0xa10431);_0xa123d8===-0x1&&(_0xa123d8=_0xa10431);const _0x1a5c7b=_0x27360b[_0x52e8bb(0x13b)](_0x37c63c,_0xa123d8);_0x2211f6===0x2c?(_0x28a4a9(_0x40d9c3,_0x1a5c7b,_0x4f5b20),_0x4f5b20=Object[_0x52e8bb(0x225)](null)):_0x579de7=_0x1a5c7b,_0x37c63c=_0xa123d8=-0x1;}else throw new SyntaxError(_0x52e8bb(0x196)+_0xa10431);}}}else{if(_0xd6a8f0===void 0x0){if(_0xa123d8===-0x1&&_0x43f8ee[_0x2211f6]===0x1)_0x37c63c===-0x1&&(_0x37c63c=_0xa10431);else{if(_0x2211f6===0x20||_0x2211f6===0x9)_0xa123d8===-0x1&&_0x37c63c!==-0x1&&(_0xa123d8=_0xa10431);else{if(_0x2211f6===0x3b||_0x2211f6===0x2c){if(_0x37c63c===-0x1)throw new SyntaxError(_0x52e8bb(0x196)+_0xa10431);_0xa123d8===-0x1&&(_0xa123d8=_0xa10431),_0x28a4a9(_0x4f5b20,_0x27360b[_0x52e8bb(0x13b)](_0x37c63c,_0xa123d8),!0x0),_0x2211f6===0x2c&&(_0x28a4a9(_0x40d9c3,_0x579de7,_0x4f5b20),_0x4f5b20=Object[_0x52e8bb(0x225)](null),_0x579de7=void 0x0),_0x37c63c=_0xa123d8=-0x1;}else{if(_0x2211f6===0x3d&&_0x37c63c!==-0x1&&_0xa123d8===-0x1)_0xd6a8f0=_0x27360b[_0x52e8bb(0x13b)](_0x37c63c,_0xa10431),_0x37c63c=_0xa123d8=-0x1;else throw new SyntaxError(_0x52e8bb(0x196)+_0xa10431);}}}}else{if(_0x1af1b6){if(_0x43f8ee[_0x2211f6]!==0x1)throw new SyntaxError(_0x52e8bb(0x196)+_0xa10431);_0x37c63c===-0x1?_0x37c63c=_0xa10431:_0x3573f1||(_0x3573f1=!0x0),_0x1af1b6=!0x1;}else{if(_0x2be1af){if(_0x43f8ee[_0x2211f6]===0x1)_0x37c63c===-0x1&&(_0x37c63c=_0xa10431);else{if(_0x2211f6===0x22&&_0x37c63c!==-0x1)_0x2be1af=!0x1,_0xa123d8=_0xa10431;else{if(_0x2211f6===0x5c)_0x1af1b6=!0x0;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0xa10431);}}}else{if(_0x2211f6===0x22&&_0x27360b[_0x52e8bb(0x1e1)](_0xa10431-0x1)===0x3d)_0x2be1af=!0x0;else{if(_0xa123d8===-0x1&&_0x43f8ee[_0x2211f6]===0x1)_0x37c63c===-0x1&&(_0x37c63c=_0xa10431);else{if(_0x37c63c!==-0x1&&(_0x2211f6===0x20||_0x2211f6===0x9))_0xa123d8===-0x1&&(_0xa123d8=_0xa10431);else{if(_0x2211f6===0x3b||_0x2211f6===0x2c){if(_0x37c63c===-0x1)throw new SyntaxError(_0x52e8bb(0x196)+_0xa10431);_0xa123d8===-0x1&&(_0xa123d8=_0xa10431);let _0x31350f=_0x27360b[_0x52e8bb(0x13b)](_0x37c63c,_0xa123d8);_0x3573f1&&(_0x31350f=_0x31350f[_0x52e8bb(0x271)](/\\/g,''),_0x3573f1=!0x1),_0x28a4a9(_0x4f5b20,_0xd6a8f0,_0x31350f),_0x2211f6===0x2c&&(_0x28a4a9(_0x40d9c3,_0x579de7,_0x4f5b20),_0x4f5b20=Object[_0x52e8bb(0x225)](null),_0x579de7=void 0x0),_0xd6a8f0=void 0x0,_0x37c63c=_0xa123d8=-0x1;}else throw new SyntaxError(_0x52e8bb(0x196)+_0xa10431);}}}}}}}if(_0x37c63c===-0x1||_0x2be1af||_0x2211f6===0x20||_0x2211f6===0x9)throw new SyntaxError(_0x52e8bb(0x22d));_0xa123d8===-0x1&&(_0xa123d8=_0xa10431);const _0x3a8a73=_0x27360b[_0x52e8bb(0x13b)](_0x37c63c,_0xa123d8);return _0x579de7===void 0x0?_0x28a4a9(_0x40d9c3,_0x3a8a73,_0x4f5b20):(_0xd6a8f0===void 0x0?_0x28a4a9(_0x4f5b20,_0x3a8a73,!0x0):_0x3573f1?_0x28a4a9(_0x4f5b20,_0xd6a8f0,_0x3a8a73['replace'](/\\/g,'')):_0x28a4a9(_0x4f5b20,_0xd6a8f0,_0x3a8a73),_0x28a4a9(_0x40d9c3,_0x579de7,_0x4f5b20)),_0x40d9c3;}function _0x28ac26(_0xbfe869){const _0xa999d9=_0x3516;return Object[_0xa999d9(0x22b)](_0xbfe869)[_0xa999d9(0x164)](_0x2881e=>{const _0x39483b=_0xa999d9;let _0x2bda3e=_0xbfe869[_0x2881e];return Array[_0x39483b(0x1ab)](_0x2bda3e)||(_0x2bda3e=[_0x2bda3e]),_0x2bda3e[_0x39483b(0x164)](_0x55e594=>[_0x2881e]['concat'](Object[_0x39483b(0x22b)](_0x55e594)[_0x39483b(0x164)](_0x575fb7=>{const _0x21995b=_0x39483b;let _0x446e40=_0x55e594[_0x575fb7];return Array['isArray'](_0x446e40)||(_0x446e40=[_0x446e40]),_0x446e40[_0x21995b(0x164)](_0x245ff3=>_0x245ff3===!0x0?_0x575fb7:_0x575fb7+'='+_0x245ff3)[_0x21995b(0xeb)](';\x20');}))[_0x39483b(0xeb)](';\x20'))[_0x39483b(0xeb)](',\x20');})[_0xa999d9(0xeb)](',\x20');}return be={'format':_0x28ac26,'parse':_0x803e47},be;}var we,Je;function Pe(){const _0x4a90ec=_0x472b46;if(Je)return we;Je=0x1;const _0x15581d=nt,_0xd138f5=vt,_0x23bb17=ot,_0x454256=St,_0x4cc677=Et,{randomBytes:_0x57f436,createHash:_0xb06517}=Le,{Duplex:_0x419ef5,Readable:_0x7ddb68}=oe,{URL:_0x58e9ef}=xt,_0x170677=he(),_0x59c427=lt(),_0x4bdfd4=ft(),{isBlob:_0x2404cd}=ae(),{BINARY_TYPES:_0x10f0fe,EMPTY_BUFFER:_0x193985,GUID:_0x52d6f6,kForOnEventAttribute:_0x3b053c,kListener:_0x24a09d,kStatusCode:_0x1fa10a,kWebSocket:_0x3b313b,NOOP:_0x5d2c5d}=H(),{EventTarget:{addEventListener:_0x2305a4,removeEventListener:_0x281dc1}}=It(),{format:_0x322428,parse:_0x35a92c}=ct(),{toBuffer:_0x30130d}=ce(),_0xeffbfe=0x1e*0x3e8,_0x30171b=Symbol(_0x4a90ec(0x269)),_0x126ad8=[0x8,0xd],_0x2ae398=[_0x4a90ec(0x132),_0x4a90ec(0xad),_0x4a90ec(0x212),_0x4a90ec(0x158)],_0x4b1981=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x2dd280 extends _0x15581d{constructor(_0x566c4d,_0x484d4f,_0x44a7a8){const _0x42aab6=_0x4a90ec;super(),this[_0x42aab6(0xb5)]=_0x10f0fe[0x0],this[_0x42aab6(0x1ff)]=0x3ee,this[_0x42aab6(0x182)]=!0x1,this[_0x42aab6(0x18e)]=!0x1,this[_0x42aab6(0xd4)]=_0x193985,this[_0x42aab6(0xc2)]=null,this[_0x42aab6(0x1b2)]=!0x1,this[_0x42aab6(0x21b)]={},this['_paused']=!0x1,this[_0x42aab6(0x11f)]='',this[_0x42aab6(0x1db)]=_0x2dd280[_0x42aab6(0x132)],this['_receiver']=null,this[_0x42aab6(0x1a8)]=null,this[_0x42aab6(0x245)]=null,_0x566c4d!==null?(this[_0x42aab6(0xcd)]=0x0,this[_0x42aab6(0x259)]=!0x1,this[_0x42aab6(0xc5)]=0x0,_0x484d4f===void 0x0?_0x484d4f=[]:Array[_0x42aab6(0x1ab)](_0x484d4f)||(typeof _0x484d4f=='object'&&_0x484d4f!==null?(_0x44a7a8=_0x484d4f,_0x484d4f=[]):_0x484d4f=[_0x484d4f]),_0x1ebb36(this,_0x566c4d,_0x484d4f,_0x44a7a8)):(this[_0x42aab6(0x22f)]=_0x44a7a8[_0x42aab6(0x1c6)],this['_isServer']=!0x0);}get['binaryType'](){const _0x3b06e6=_0x4a90ec;return this[_0x3b06e6(0xb5)];}set[_0x4a90ec(0x14c)](_0x3bf7b1){const _0x133cc8=_0x4a90ec;_0x10f0fe[_0x133cc8(0x1de)](_0x3bf7b1)&&(this[_0x133cc8(0xb5)]=_0x3bf7b1,this[_0x133cc8(0x11d)]&&(this[_0x133cc8(0x11d)][_0x133cc8(0xb5)]=_0x3bf7b1));}get[_0x4a90ec(0x10f)](){const _0x3ed224=_0x4a90ec;return this['_socket']?this['_socket']['_writableState']['length']+this[_0x3ed224(0x1a8)]['_bufferedBytes']:this[_0x3ed224(0xcd)];}get[_0x4a90ec(0x178)](){const _0x48e2dd=_0x4a90ec;return Object['keys'](this[_0x48e2dd(0x21b)])[_0x48e2dd(0xeb)]();}get[_0x4a90ec(0x104)](){const _0x161437=_0x4a90ec;return this[_0x161437(0x248)];}get[_0x4a90ec(0x1b1)](){return null;}get[_0x4a90ec(0x1aa)](){return null;}get[_0x4a90ec(0x157)](){return null;}get[_0x4a90ec(0x1e4)](){return null;}get[_0x4a90ec(0x1a3)](){return this['_protocol'];}get[_0x4a90ec(0x1e7)](){const _0x480a35=_0x4a90ec;return this[_0x480a35(0x1db)];}get[_0x4a90ec(0x1f5)](){return this['_url'];}[_0x4a90ec(0x173)](_0x5ec0e3,_0x15ee6e,_0x508edc){const _0x568f28=_0x4a90ec,_0x155e3c=new _0x59c427({'allowSynchronousEvents':_0x508edc[_0x568f28(0xb3)],'binaryType':this[_0x568f28(0x14c)],'extensions':this[_0x568f28(0x21b)],'isServer':this[_0x568f28(0x259)],'maxPayload':_0x508edc['maxPayload'],'skipUTF8Validation':_0x508edc['skipUTF8Validation']}),_0x1c8c58=new _0x4bdfd4(_0x5ec0e3,this[_0x568f28(0x21b)],_0x508edc[_0x568f28(0xfb)]);this['_receiver']=_0x155e3c,this[_0x568f28(0x1a8)]=_0x1c8c58,this[_0x568f28(0x245)]=_0x5ec0e3,_0x155e3c[_0x3b313b]=this,_0x1c8c58[_0x3b313b]=this,_0x5ec0e3[_0x3b313b]=this,_0x155e3c['on'](_0x568f28(0x1c8),_0x48aba7),_0x155e3c['on'](_0x568f28(0x146),_0x1b2c68),_0x155e3c['on'](_0x568f28(0x149),_0x46b518),_0x155e3c['on'](_0x568f28(0xe0),_0xc4325a),_0x155e3c['on'](_0x568f28(0x260),_0x1a6d33),_0x155e3c['on'](_0x568f28(0x24b),_0x4b336d),_0x1c8c58[_0x568f28(0x1aa)]=_0x584acb,_0x5ec0e3[_0x568f28(0x203)]&&_0x5ec0e3[_0x568f28(0x203)](0x0),_0x5ec0e3[_0x568f28(0x1a5)]&&_0x5ec0e3['setNoDelay'](),_0x15ee6e[_0x568f28(0x1bc)]>0x0&&_0x5ec0e3['unshift'](_0x15ee6e),_0x5ec0e3['on']('close',_0x106da8),_0x5ec0e3['on']('data',_0x15c11b),_0x5ec0e3['on']('end',_0x55daf1),_0x5ec0e3['on'](_0x568f28(0x149),_0x1d2c9d),this[_0x568f28(0x1db)]=_0x2dd280['OPEN'],this[_0x568f28(0x171)](_0x568f28(0x153));}['emitClose'](){const _0x29e5e6=_0x4a90ec;if(!this['_socket']){this[_0x29e5e6(0x1db)]=_0x2dd280[_0x29e5e6(0x158)],this['emit']('close',this[_0x29e5e6(0x1ff)],this[_0x29e5e6(0xd4)]);return;}this['_extensions'][_0x170677[_0x29e5e6(0x1ec)]]&&this[_0x29e5e6(0x21b)][_0x170677['extensionName']]['cleanup'](),this[_0x29e5e6(0x11d)][_0x29e5e6(0xec)](),this[_0x29e5e6(0x1db)]=_0x2dd280[_0x29e5e6(0x158)],this[_0x29e5e6(0x171)](_0x29e5e6(0xb2),this[_0x29e5e6(0x1ff)],this[_0x29e5e6(0xd4)]);}[_0x4a90ec(0xb2)](_0xdac6c,_0x2c8a02){const _0x3b65c6=_0x4a90ec;if(this[_0x3b65c6(0x1e7)]!==_0x2dd280[_0x3b65c6(0x158)]){if(this[_0x3b65c6(0x1e7)]===_0x2dd280[_0x3b65c6(0x132)]){_0x2938ed(this,this['_req'],_0x3b65c6(0x10d));return;}if(this[_0x3b65c6(0x1e7)]===_0x2dd280[_0x3b65c6(0x212)]){this[_0x3b65c6(0x18e)]&&(this['_closeFrameReceived']||this['_receiver'][_0x3b65c6(0x1d5)][_0x3b65c6(0x191)])&&this[_0x3b65c6(0x245)][_0x3b65c6(0x18f)]();return;}this[_0x3b65c6(0x1db)]=_0x2dd280[_0x3b65c6(0x212)],this[_0x3b65c6(0x1a8)][_0x3b65c6(0xb2)](_0xdac6c,_0x2c8a02,!this['_isServer'],_0x3589af=>{const _0x23af15=_0x3b65c6;_0x3589af||(this[_0x23af15(0x18e)]=!0x0,(this[_0x23af15(0x182)]||this['_receiver']['_writableState'][_0x23af15(0x191)])&&this[_0x23af15(0x245)][_0x23af15(0x18f)]());}),_0x13f899(this);}}[_0x4a90ec(0x186)](){const _0x5c68cd=_0x4a90ec;this[_0x5c68cd(0x1e7)]===_0x2dd280[_0x5c68cd(0x132)]||this['readyState']===_0x2dd280[_0x5c68cd(0x158)]||(this[_0x5c68cd(0x248)]=!0x0,this[_0x5c68cd(0x245)][_0x5c68cd(0x186)]());}[_0x4a90ec(0x260)](_0x43cf96,_0x17ef37,_0x1d1094){const _0x6272bd=_0x4a90ec;if(this[_0x6272bd(0x1e7)]===_0x2dd280[_0x6272bd(0x132)])throw new Error(_0x6272bd(0x11c));if(typeof _0x43cf96==_0x6272bd(0x129)?(_0x1d1094=_0x43cf96,_0x43cf96=_0x17ef37=void 0x0):typeof _0x17ef37=='function'&&(_0x1d1094=_0x17ef37,_0x17ef37=void 0x0),typeof _0x43cf96==_0x6272bd(0xe2)&&(_0x43cf96=_0x43cf96['toString']()),this[_0x6272bd(0x1e7)]!==_0x2dd280['OPEN']){_0x16e0b0(this,_0x43cf96,_0x1d1094);return;}_0x17ef37===void 0x0&&(_0x17ef37=!this[_0x6272bd(0x259)]),this[_0x6272bd(0x1a8)][_0x6272bd(0x260)](_0x43cf96||_0x193985,_0x17ef37,_0x1d1094);}['pong'](_0x4c396b,_0x2bd89e,_0x598444){const _0x4b9bf4=_0x4a90ec;if(this[_0x4b9bf4(0x1e7)]===_0x2dd280[_0x4b9bf4(0x132)])throw new Error(_0x4b9bf4(0x11c));if(typeof _0x4c396b=='function'?(_0x598444=_0x4c396b,_0x4c396b=_0x2bd89e=void 0x0):typeof _0x2bd89e==_0x4b9bf4(0x129)&&(_0x598444=_0x2bd89e,_0x2bd89e=void 0x0),typeof _0x4c396b==_0x4b9bf4(0xe2)&&(_0x4c396b=_0x4c396b[_0x4b9bf4(0x121)]()),this[_0x4b9bf4(0x1e7)]!==_0x2dd280[_0x4b9bf4(0xad)]){_0x16e0b0(this,_0x4c396b,_0x598444);return;}_0x2bd89e===void 0x0&&(_0x2bd89e=!this[_0x4b9bf4(0x259)]),this[_0x4b9bf4(0x1a8)][_0x4b9bf4(0x24b)](_0x4c396b||_0x193985,_0x2bd89e,_0x598444);}[_0x4a90ec(0x1d9)](){const _0x45447d=_0x4a90ec;this[_0x45447d(0x1e7)]===_0x2dd280[_0x45447d(0x132)]||this[_0x45447d(0x1e7)]===_0x2dd280['CLOSED']||(this['_paused']=!0x1,this['_receiver'][_0x45447d(0x1d5)][_0x45447d(0x20f)]||this[_0x45447d(0x245)][_0x45447d(0x1d9)]());}[_0x4a90ec(0xc9)](_0x47188c,_0x4f1dc5,_0x30dc7d){const _0x493a3a=_0x4a90ec;if(this[_0x493a3a(0x1e7)]===_0x2dd280[_0x493a3a(0x132)])throw new Error(_0x493a3a(0x11c));if(typeof _0x4f1dc5=='function'&&(_0x30dc7d=_0x4f1dc5,_0x4f1dc5={}),typeof _0x47188c==_0x493a3a(0xe2)&&(_0x47188c=_0x47188c[_0x493a3a(0x121)]()),this['readyState']!==_0x2dd280[_0x493a3a(0xad)]){_0x16e0b0(this,_0x47188c,_0x30dc7d);return;}const _0x23fec1={'binary':typeof _0x47188c!=_0x493a3a(0x24c),'mask':!this[_0x493a3a(0x259)],'compress':!0x0,'fin':!0x0,..._0x4f1dc5};this[_0x493a3a(0x21b)][_0x170677[_0x493a3a(0x1ec)]]||(_0x23fec1[_0x493a3a(0x1e8)]=!0x1),this[_0x493a3a(0x1a8)][_0x493a3a(0xc9)](_0x47188c||_0x193985,_0x23fec1,_0x30dc7d);}[_0x4a90ec(0x15d)](){const _0x3ede7d=_0x4a90ec;if(this['readyState']!==_0x2dd280[_0x3ede7d(0x158)]){if(this[_0x3ede7d(0x1e7)]===_0x2dd280[_0x3ede7d(0x132)]){_0x2938ed(this,this['_req'],_0x3ede7d(0x10d));return;}this[_0x3ede7d(0x245)]&&(this[_0x3ede7d(0x1db)]=_0x2dd280[_0x3ede7d(0x212)],this[_0x3ede7d(0x245)][_0x3ede7d(0x218)]());}}}Object['defineProperty'](_0x2dd280,_0x4a90ec(0x132),{'enumerable':!0x0,'value':_0x2ae398[_0x4a90ec(0x206)](_0x4a90ec(0x132))}),Object[_0x4a90ec(0x220)](_0x2dd280[_0x4a90ec(0xe6)],_0x4a90ec(0x132),{'enumerable':!0x0,'value':_0x2ae398[_0x4a90ec(0x206)](_0x4a90ec(0x132))}),Object[_0x4a90ec(0x220)](_0x2dd280,_0x4a90ec(0xad),{'enumerable':!0x0,'value':_0x2ae398[_0x4a90ec(0x206)]('OPEN')}),Object[_0x4a90ec(0x220)](_0x2dd280[_0x4a90ec(0xe6)],_0x4a90ec(0xad),{'enumerable':!0x0,'value':_0x2ae398[_0x4a90ec(0x206)]('OPEN')}),Object[_0x4a90ec(0x220)](_0x2dd280,'CLOSING',{'enumerable':!0x0,'value':_0x2ae398['indexOf']('CLOSING')}),Object['defineProperty'](_0x2dd280[_0x4a90ec(0xe6)],_0x4a90ec(0x212),{'enumerable':!0x0,'value':_0x2ae398[_0x4a90ec(0x206)]('CLOSING')}),Object[_0x4a90ec(0x220)](_0x2dd280,_0x4a90ec(0x158),{'enumerable':!0x0,'value':_0x2ae398['indexOf'](_0x4a90ec(0x158))}),Object[_0x4a90ec(0x220)](_0x2dd280['prototype'],_0x4a90ec(0x158),{'enumerable':!0x0,'value':_0x2ae398[_0x4a90ec(0x206)](_0x4a90ec(0x158))}),['binaryType','bufferedAmount',_0x4a90ec(0x178),_0x4a90ec(0x104),'protocol','readyState',_0x4a90ec(0x1f5)][_0x4a90ec(0x221)](_0x3478e7=>{const _0x12dcdd=_0x4a90ec;Object['defineProperty'](_0x2dd280[_0x12dcdd(0xe6)],_0x3478e7,{'enumerable':!0x0});}),[_0x4a90ec(0x153),_0x4a90ec(0x149),_0x4a90ec(0xb2),_0x4a90ec(0xe0)][_0x4a90ec(0x221)](_0xfd6267=>{const _0x30e96a=_0x4a90ec;Object[_0x30e96a(0x220)](_0x2dd280[_0x30e96a(0xe6)],'on'+_0xfd6267,{'enumerable':!0x0,'get'(){const _0x4f1968=_0x30e96a;for(const _0x1f1152 of this[_0x4f1968(0x180)](_0xfd6267))if(_0x1f1152[_0x3b053c])return _0x1f1152[_0x24a09d];return null;},'set'(_0x4470c9){const _0x53fa84=_0x30e96a;for(const _0x62651c of this[_0x53fa84(0x180)](_0xfd6267))if(_0x62651c[_0x3b053c]){this[_0x53fa84(0xc8)](_0xfd6267,_0x62651c);break;}typeof _0x4470c9==_0x53fa84(0x129)&&this[_0x53fa84(0x1a9)](_0xfd6267,_0x4470c9,{[_0x3b053c]:!0x0});}});}),_0x2dd280['prototype'][_0x4a90ec(0x1a9)]=_0x2305a4,_0x2dd280['prototype']['removeEventListener']=_0x281dc1,we=_0x2dd280;function _0x1ebb36(_0x2deeab,_0x170d0b,_0x1c93ba,_0x3b145b){const _0x55e603=_0x4a90ec,_0x27f031={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x126ad8[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x3b145b,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x55e603(0x238),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x2deeab[_0x55e603(0x22f)]=_0x27f031[_0x55e603(0x1c6)],!_0x126ad8[_0x55e603(0x1de)](_0x27f031[_0x55e603(0x1c0)]))throw new RangeError(_0x55e603(0x168)+_0x27f031[_0x55e603(0x1c0)]+_0x55e603(0x1a2)+_0x126ad8[_0x55e603(0xeb)](',\x20')+')');let _0x1a3667;if(_0x170d0b instanceof _0x58e9ef)_0x1a3667=_0x170d0b;else try{_0x1a3667=new _0x58e9ef(_0x170d0b);}catch{throw new SyntaxError(_0x55e603(0x219)+_0x170d0b);}_0x1a3667[_0x55e603(0x1a3)]===_0x55e603(0x240)?_0x1a3667[_0x55e603(0x1a3)]=_0x55e603(0x249):_0x1a3667['protocol']===_0x55e603(0xff)&&(_0x1a3667[_0x55e603(0x1a3)]=_0x55e603(0x256)),_0x2deeab[_0x55e603(0xb1)]=_0x1a3667[_0x55e603(0xe4)];const _0x4216a3=_0x1a3667[_0x55e603(0x1a3)]===_0x55e603(0x256),_0x21800a=_0x1a3667[_0x55e603(0x1a3)]===_0x55e603(0xe8);let _0x3c9e0e;if(_0x1a3667[_0x55e603(0x1a3)]!==_0x55e603(0x249)&&!_0x4216a3&&!_0x21800a?_0x3c9e0e=_0x55e603(0x267):_0x21800a&&!_0x1a3667[_0x55e603(0x143)]?_0x3c9e0e=_0x55e603(0x1a6):_0x1a3667[_0x55e603(0x166)]&&(_0x3c9e0e=_0x55e603(0x1d8)),_0x3c9e0e){const _0x2d419a=new SyntaxError(_0x3c9e0e);if(_0x2deeab[_0x55e603(0xc5)]===0x0)throw _0x2d419a;_0x434f8a(_0x2deeab,_0x2d419a);return;}const _0x1e3b29=_0x4216a3?0x1bb:0x50,_0x31163f=_0x57f436(0x10)['toString'](_0x55e603(0x19b)),_0x5c9e59=_0x4216a3?_0xd138f5['request']:_0x23bb17[_0x55e603(0x21c)],_0x578c08=new Set();let _0x5c8863;if(_0x27f031[_0x55e603(0x15b)]=_0x27f031[_0x55e603(0x15b)]||(_0x4216a3?_0x2812c4:_0x39a638),_0x27f031[_0x55e603(0x21e)]=_0x27f031[_0x55e603(0x21e)]||_0x1e3b29,_0x27f031[_0x55e603(0x1bf)]=_0x1a3667[_0x55e603(0x1bf)]||_0x1e3b29,_0x27f031[_0x55e603(0xee)]=_0x1a3667[_0x55e603(0xfa)][_0x55e603(0x123)]('[')?_0x1a3667['hostname'][_0x55e603(0x13b)](0x1,-0x1):_0x1a3667['hostname'],_0x27f031['headers']={..._0x27f031[_0x55e603(0x108)],'Sec-WebSocket-Version':_0x27f031[_0x55e603(0x1c0)],'Sec-WebSocket-Key':_0x31163f,'Connection':_0x55e603(0x277),'Upgrade':_0x55e603(0x156)},_0x27f031[_0x55e603(0x155)]=_0x1a3667[_0x55e603(0x143)]+_0x1a3667[_0x55e603(0x223)],_0x27f031[_0x55e603(0x23b)]=_0x27f031['handshakeTimeout'],_0x27f031[_0x55e603(0xe5)]&&(_0x5c8863=new _0x170677(_0x27f031[_0x55e603(0xe5)]!==!0x0?_0x27f031['perMessageDeflate']:{},!0x1,_0x27f031[_0x55e603(0xb0)]),_0x27f031['headers']['Sec-WebSocket-Extensions']=_0x322428({[_0x170677[_0x55e603(0x1ec)]]:_0x5c8863[_0x55e603(0x1c7)]()})),_0x1c93ba[_0x55e603(0x1bc)]){for(const _0x370d67 of _0x1c93ba){if(typeof _0x370d67!=_0x55e603(0x24c)||!_0x4b1981['test'](_0x370d67)||_0x578c08[_0x55e603(0x1e2)](_0x370d67))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x578c08[_0x55e603(0x16e)](_0x370d67);}_0x27f031[_0x55e603(0x108)]['Sec-WebSocket-Protocol']=_0x1c93ba['join'](',');}if(_0x27f031[_0x55e603(0x160)]&&(_0x27f031['protocolVersion']<0xd?_0x27f031['headers']['Sec-WebSocket-Origin']=_0x27f031[_0x55e603(0x160)]:_0x27f031[_0x55e603(0x108)]['Origin']=_0x27f031[_0x55e603(0x160)]),(_0x1a3667['username']||_0x1a3667[_0x55e603(0x205)])&&(_0x27f031['auth']=_0x1a3667[_0x55e603(0x26a)]+':'+_0x1a3667[_0x55e603(0x205)]),_0x21800a){const _0x5c737f=_0x27f031['path'][_0x55e603(0xd9)](':');_0x27f031[_0x55e603(0xbb)]=_0x5c737f[0x0],_0x27f031[_0x55e603(0x155)]=_0x5c737f[0x1];}let _0x10295f;if(_0x27f031[_0x55e603(0x1b4)]){if(_0x2deeab[_0x55e603(0xc5)]===0x0){_0x2deeab[_0x55e603(0x13c)]=_0x21800a,_0x2deeab[_0x55e603(0xbf)]=_0x4216a3,_0x2deeab['_originalHostOrSocketPath']=_0x21800a?_0x27f031[_0x55e603(0xbb)]:_0x1a3667[_0x55e603(0xee)];const _0x401e8c=_0x3b145b&&_0x3b145b[_0x55e603(0x108)];if(_0x3b145b={..._0x3b145b,'headers':{}},_0x401e8c){for(const [_0x147207,_0x38fa1a]of Object['entries'](_0x401e8c))_0x3b145b[_0x55e603(0x108)][_0x147207[_0x55e603(0x12a)]()]=_0x38fa1a;}}else{if(_0x2deeab[_0x55e603(0x244)](_0x55e603(0x20c))===0x0){const _0x1fd98a=_0x21800a?_0x2deeab['_originalIpc']?_0x27f031['socketPath']===_0x2deeab[_0x55e603(0x204)]:!0x1:_0x2deeab[_0x55e603(0x13c)]?!0x1:_0x1a3667[_0x55e603(0xee)]===_0x2deeab[_0x55e603(0x204)];(!_0x1fd98a||_0x2deeab[_0x55e603(0xbf)]&&!_0x4216a3)&&(delete _0x27f031[_0x55e603(0x108)]['authorization'],delete _0x27f031[_0x55e603(0x108)]['cookie'],_0x1fd98a||delete _0x27f031['headers'][_0x55e603(0xee)],_0x27f031[_0x55e603(0xc1)]=void 0x0);}}_0x27f031['auth']&&!_0x3b145b[_0x55e603(0x108)][_0x55e603(0x26b)]&&(_0x3b145b['headers'][_0x55e603(0x26b)]=_0x55e603(0xd5)+Buffer['from'](_0x27f031[_0x55e603(0xc1)])[_0x55e603(0x121)](_0x55e603(0x19b))),_0x10295f=_0x2deeab['_req']=_0x5c9e59(_0x27f031),_0x2deeab['_redirects']&&_0x2deeab[_0x55e603(0x171)](_0x55e603(0x20c),_0x2deeab['url'],_0x10295f);}else _0x10295f=_0x2deeab[_0x55e603(0x134)]=_0x5c9e59(_0x27f031);_0x27f031[_0x55e603(0x23b)]&&_0x10295f['on'](_0x55e603(0x23b),()=>{_0x2938ed(_0x2deeab,_0x10295f,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x10295f['on']('error',_0x213f89=>{const _0x3caa5b=_0x55e603;_0x10295f===null||_0x10295f[_0x30171b]||(_0x10295f=_0x2deeab[_0x3caa5b(0x134)]=null,_0x434f8a(_0x2deeab,_0x213f89));}),_0x10295f['on'](_0x55e603(0xc4),_0x167b49=>{const _0x593ade=_0x55e603,_0x35413d=_0x167b49['headers']['location'],_0x4a262f=_0x167b49['statusCode'];if(_0x35413d&&_0x27f031[_0x593ade(0x1b4)]&&_0x4a262f>=0x12c&&_0x4a262f<0x190){if(++_0x2deeab[_0x593ade(0xc5)]>_0x27f031[_0x593ade(0x1f3)]){_0x2938ed(_0x2deeab,_0x10295f,_0x593ade(0x11a));return;}_0x10295f['abort']();let _0xc85f6;try{_0xc85f6=new _0x58e9ef(_0x35413d,_0x170d0b);}catch{const _0x1b2fdd=new SyntaxError(_0x593ade(0x219)+_0x35413d);_0x434f8a(_0x2deeab,_0x1b2fdd);return;}_0x1ebb36(_0x2deeab,_0xc85f6,_0x1c93ba,_0x3b145b);}else _0x2deeab['emit']('unexpected-response',_0x10295f,_0x167b49)||_0x2938ed(_0x2deeab,_0x10295f,_0x593ade(0x12c)+_0x167b49['statusCode']);}),_0x10295f['on'](_0x55e603(0x1c1),(_0x5ec0ee,_0x4a167d,_0x5380cd)=>{const _0x3f58fb=_0x55e603;if(_0x2deeab[_0x3f58fb(0x171)](_0x3f58fb(0x1c1),_0x5ec0ee),_0x2deeab[_0x3f58fb(0x1e7)]!==_0x2dd280[_0x3f58fb(0x132)])return;_0x10295f=_0x2deeab[_0x3f58fb(0x134)]=null;const _0x5d8426=_0x5ec0ee[_0x3f58fb(0x108)][_0x3f58fb(0x1c1)];if(_0x5d8426===void 0x0||_0x5d8426['toLowerCase']()!==_0x3f58fb(0x156)){_0x2938ed(_0x2deeab,_0x4a167d,'Invalid\x20Upgrade\x20header');return;}const _0x554cb8=_0xb06517(_0x3f58fb(0xef))[_0x3f58fb(0x1da)](_0x31163f+_0x52d6f6)[_0x3f58fb(0x1a1)]('base64');if(_0x5ec0ee[_0x3f58fb(0x108)][_0x3f58fb(0xce)]!==_0x554cb8){_0x2938ed(_0x2deeab,_0x4a167d,_0x3f58fb(0x188));return;}const _0xe2da2d=_0x5ec0ee[_0x3f58fb(0x108)][_0x3f58fb(0xea)];let _0x36eef5;if(_0xe2da2d!==void 0x0?_0x578c08[_0x3f58fb(0x229)]?_0x578c08[_0x3f58fb(0x1e2)](_0xe2da2d)||(_0x36eef5='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0x36eef5='Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested':_0x578c08[_0x3f58fb(0x229)]&&(_0x36eef5=_0x3f58fb(0x211)),_0x36eef5){_0x2938ed(_0x2deeab,_0x4a167d,_0x36eef5);return;}_0xe2da2d&&(_0x2deeab[_0x3f58fb(0x11f)]=_0xe2da2d);const _0x374a97=_0x5ec0ee['headers']['sec-websocket-extensions'];if(_0x374a97!==void 0x0){if(!_0x5c8863){_0x2938ed(_0x2deeab,_0x4a167d,'Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested');return;}let _0x385f91;try{_0x385f91=_0x35a92c(_0x374a97);}catch{_0x2938ed(_0x2deeab,_0x4a167d,_0x3f58fb(0x19a));return;}const _0x30d504=Object['keys'](_0x385f91);if(_0x30d504[_0x3f58fb(0x1bc)]!==0x1||_0x30d504[0x0]!==_0x170677[_0x3f58fb(0x1ec)]){_0x2938ed(_0x2deeab,_0x4a167d,'Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested');return;}try{_0x5c8863[_0x3f58fb(0x1fe)](_0x385f91[_0x170677[_0x3f58fb(0x1ec)]]);}catch{_0x2938ed(_0x2deeab,_0x4a167d,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}_0x2deeab[_0x3f58fb(0x21b)][_0x170677['extensionName']]=_0x5c8863;}_0x2deeab[_0x3f58fb(0x173)](_0x4a167d,_0x5380cd,{'allowSynchronousEvents':_0x27f031[_0x3f58fb(0xb3)],'generateMask':_0x27f031['generateMask'],'maxPayload':_0x27f031['maxPayload'],'skipUTF8Validation':_0x27f031[_0x3f58fb(0x27a)]});}),_0x27f031[_0x55e603(0x22c)]?_0x27f031[_0x55e603(0x22c)](_0x10295f,_0x2deeab):_0x10295f['end']();}function _0x434f8a(_0x221efc,_0x10fbea){const _0x4208c4=_0x4a90ec;_0x221efc[_0x4208c4(0x1db)]=_0x2dd280[_0x4208c4(0x212)],_0x221efc[_0x4208c4(0x1b2)]=!0x0,_0x221efc[_0x4208c4(0x171)](_0x4208c4(0x149),_0x10fbea),_0x221efc[_0x4208c4(0x111)]();}function _0x39a638(_0x5d3ee7){const _0x97384a=_0x4a90ec;return _0x5d3ee7[_0x97384a(0x155)]=_0x5d3ee7[_0x97384a(0xbb)],_0x454256['connect'](_0x5d3ee7);}function _0x2812c4(_0x2b1a83){const _0x884205=_0x4a90ec;return _0x2b1a83['path']=void 0x0,!_0x2b1a83[_0x884205(0x109)]&&_0x2b1a83[_0x884205(0x109)]!==''&&(_0x2b1a83['servername']=_0x454256[_0x884205(0x227)](_0x2b1a83['host'])?'':_0x2b1a83[_0x884205(0xee)]),_0x4cc677[_0x884205(0x139)](_0x2b1a83);}function _0x2938ed(_0x1f2177,_0x33b496,_0x2cf20a){const _0x591700=_0x4a90ec;_0x1f2177[_0x591700(0x1db)]=_0x2dd280[_0x591700(0x212)];const _0xfd6ea3=new Error(_0x2cf20a);Error[_0x591700(0x18d)](_0xfd6ea3,_0x2938ed),_0x33b496[_0x591700(0x242)]?(_0x33b496[_0x30171b]=!0x0,_0x33b496[_0x591700(0x226)](),_0x33b496[_0x591700(0x138)]&&!_0x33b496[_0x591700(0x138)]['destroyed']&&_0x33b496['socket'][_0x591700(0x218)](),process[_0x591700(0x101)](_0x434f8a,_0x1f2177,_0xfd6ea3)):(_0x33b496[_0x591700(0x218)](_0xfd6ea3),_0x33b496[_0x591700(0x1dc)](_0x591700(0x149),_0x1f2177['emit'][_0x591700(0x181)](_0x1f2177,_0x591700(0x149))),_0x33b496[_0x591700(0x1dc)](_0x591700(0xb2),_0x1f2177[_0x591700(0x111)][_0x591700(0x181)](_0x1f2177)));}function _0x16e0b0(_0x3695a5,_0xfc94a2,_0x4e627a){const _0x2d63c9=_0x4a90ec;if(_0xfc94a2){const _0x466b57=_0x2404cd(_0xfc94a2)?_0xfc94a2[_0x2d63c9(0x229)]:_0x30130d(_0xfc94a2)[_0x2d63c9(0x1bc)];_0x3695a5['_socket']?_0x3695a5['_sender'][_0x2d63c9(0x276)]+=_0x466b57:_0x3695a5[_0x2d63c9(0xcd)]+=_0x466b57;}if(_0x4e627a){const _0x41fdf6=new Error(_0x2d63c9(0xdc)+_0x3695a5[_0x2d63c9(0x1e7)]+'\x20('+_0x2ae398[_0x3695a5[_0x2d63c9(0x1e7)]]+')');process['nextTick'](_0x4e627a,_0x41fdf6);}}function _0x48aba7(_0x40c74d,_0x4b4538){const _0x3b7682=_0x4a90ec,_0x5ce541=this[_0x3b313b];_0x5ce541[_0x3b7682(0x182)]=!0x0,_0x5ce541['_closeMessage']=_0x4b4538,_0x5ce541[_0x3b7682(0x1ff)]=_0x40c74d,_0x5ce541[_0x3b7682(0x245)][_0x3b313b]!==void 0x0&&(_0x5ce541[_0x3b7682(0x245)][_0x3b7682(0xc8)]('data',_0x15c11b),process['nextTick'](_0x1af897,_0x5ce541[_0x3b7682(0x245)]),_0x40c74d===0x3ed?_0x5ce541['close']():_0x5ce541['close'](_0x40c74d,_0x4b4538));}function _0x1b2c68(){const _0x2bc19b=_0x4a90ec,_0x5b77b7=this[_0x3b313b];_0x5b77b7[_0x2bc19b(0x104)]||_0x5b77b7[_0x2bc19b(0x245)][_0x2bc19b(0x1d9)]();}function _0x46b518(_0x7da14e){const _0x331605=_0x4a90ec,_0x3d5d1f=this[_0x3b313b];_0x3d5d1f[_0x331605(0x245)][_0x3b313b]!==void 0x0&&(_0x3d5d1f[_0x331605(0x245)][_0x331605(0xc8)]('data',_0x15c11b),process[_0x331605(0x101)](_0x1af897,_0x3d5d1f['_socket']),_0x3d5d1f[_0x331605(0xb2)](_0x7da14e[_0x1fa10a])),_0x3d5d1f[_0x331605(0x1b2)]||(_0x3d5d1f[_0x331605(0x1b2)]=!0x0,_0x3d5d1f[_0x331605(0x171)](_0x331605(0x149),_0x7da14e));}function _0x379205(){this[_0x3b313b]['emitClose']();}function _0xc4325a(_0x5656d0,_0x4f6597){const _0x530632=_0x4a90ec;this[_0x3b313b][_0x530632(0x171)](_0x530632(0xe0),_0x5656d0,_0x4f6597);}function _0x1a6d33(_0xeec749){const _0x1ae530=_0x4a90ec,_0x3fdae8=this[_0x3b313b];_0x3fdae8['_autoPong']&&_0x3fdae8[_0x1ae530(0x24b)](_0xeec749,!this[_0x1ae530(0x259)],_0x5d2c5d),_0x3fdae8[_0x1ae530(0x171)]('ping',_0xeec749);}function _0x4b336d(_0x2b6e21){const _0x3f0fe0=_0x4a90ec;this[_0x3b313b][_0x3f0fe0(0x171)](_0x3f0fe0(0x24b),_0x2b6e21);}function _0x1af897(_0x9d4494){_0x9d4494['resume']();}function _0x584acb(_0x1cc819){const _0x286678=_0x4a90ec,_0x47542=this[_0x3b313b];_0x47542[_0x286678(0x1e7)]!==_0x2dd280['CLOSED']&&(_0x47542[_0x286678(0x1e7)]===_0x2dd280['OPEN']&&(_0x47542[_0x286678(0x1db)]=_0x2dd280[_0x286678(0x212)],_0x13f899(_0x47542)),this[_0x286678(0x245)][_0x286678(0x18f)](),_0x47542[_0x286678(0x1b2)]||(_0x47542[_0x286678(0x1b2)]=!0x0,_0x47542[_0x286678(0x171)]('error',_0x1cc819)));}function _0x13f899(_0x58baeb){const _0x47843f=_0x4a90ec;_0x58baeb[_0x47843f(0xc2)]=setTimeout(_0x58baeb[_0x47843f(0x245)][_0x47843f(0x218)][_0x47843f(0x181)](_0x58baeb[_0x47843f(0x245)]),_0xeffbfe);}function _0x106da8(){const _0x20c80a=_0x4a90ec,_0x2f481c=this[_0x3b313b];this[_0x20c80a(0xc8)](_0x20c80a(0xb2),_0x106da8),this[_0x20c80a(0xc8)]('data',_0x15c11b),this[_0x20c80a(0xc8)]('end',_0x55daf1),_0x2f481c[_0x20c80a(0x1db)]=_0x2dd280[_0x20c80a(0x212)];let _0x41c190;!this[_0x20c80a(0xe7)][_0x20c80a(0x14e)]&&!_0x2f481c['_closeFrameReceived']&&!_0x2f481c[_0x20c80a(0x11d)]['_writableState'][_0x20c80a(0x191)]&&(_0x41c190=_0x2f481c[_0x20c80a(0x245)][_0x20c80a(0x20b)]())!==null&&_0x2f481c['_receiver'][_0x20c80a(0xf3)](_0x41c190),_0x2f481c[_0x20c80a(0x11d)]['end'](),this[_0x3b313b]=void 0x0,clearTimeout(_0x2f481c[_0x20c80a(0xc2)]),_0x2f481c[_0x20c80a(0x11d)][_0x20c80a(0x1d5)]['finished']||_0x2f481c['_receiver']['_writableState'][_0x20c80a(0x191)]?_0x2f481c[_0x20c80a(0x111)]():(_0x2f481c[_0x20c80a(0x11d)]['on'](_0x20c80a(0x149),_0x379205),_0x2f481c['_receiver']['on'](_0x20c80a(0x154),_0x379205));}function _0x15c11b(_0x1b25e7){const _0x39aa0a=_0x4a90ec;this[_0x3b313b][_0x39aa0a(0x11d)][_0x39aa0a(0xf3)](_0x1b25e7)||this[_0x39aa0a(0x186)]();}function _0x55daf1(){const _0x1ef5dd=_0x4a90ec,_0x1f68b8=this[_0x3b313b];_0x1f68b8['_readyState']=_0x2dd280['CLOSING'],_0x1f68b8[_0x1ef5dd(0x11d)]['end'](),this[_0x1ef5dd(0x18f)]();}function _0x1d2c9d(){const _0x3d9a1a=_0x4a90ec,_0x2bae4a=this[_0x3b313b];this[_0x3d9a1a(0xc8)]('error',_0x1d2c9d),this['on']('error',_0x5d2c5d),_0x2bae4a&&(_0x2bae4a[_0x3d9a1a(0x1db)]=_0x2dd280['CLOSING'],this[_0x3d9a1a(0x218)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x11ec99}=oe;function _0x568cb8(_0x12eb50){const _0x585074=_0x3516;_0x12eb50[_0x585074(0x171)](_0x585074(0xb2));}function _0x24cd70(){const _0x1fbd66=_0x3516;!this[_0x1fbd66(0x1cc)]&&this['_writableState'][_0x1fbd66(0x237)]&&this[_0x1fbd66(0x218)]();}function _0x45bf92(_0x1eb8b3){const _0x4e6b8c=_0x3516;this[_0x4e6b8c(0xc8)]('error',_0x45bf92),this['destroy'](),this[_0x4e6b8c(0x244)](_0x4e6b8c(0x149))===0x0&&this[_0x4e6b8c(0x171)]('error',_0x1eb8b3);}function _0x5e5492(_0x374886,_0x2d5dea){const _0x3cba9f=_0x3516;let _0x21d157=!0x0;const _0x1367c7=new _0x11ec99({..._0x2d5dea,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x374886['on'](_0x3cba9f(0xe0),function(_0x93408,_0x64195d){const _0x29a71d=_0x3cba9f,_0x3c199f=!_0x64195d&&_0x1367c7['_readableState'][_0x29a71d(0x1e3)]?_0x93408[_0x29a71d(0x121)]():_0x93408;_0x1367c7[_0x29a71d(0xac)](_0x3c199f)||_0x374886['pause']();}),_0x374886[_0x3cba9f(0x1dc)](_0x3cba9f(0x149),function(_0x33d409){const _0x18acd4=_0x3cba9f;_0x1367c7[_0x18acd4(0x1cc)]||(_0x21d157=!0x1,_0x1367c7[_0x18acd4(0x218)](_0x33d409));}),_0x374886['once'](_0x3cba9f(0xb2),function(){const _0x3c3af5=_0x3cba9f;_0x1367c7[_0x3c3af5(0x1cc)]||_0x1367c7['push'](null);}),_0x1367c7[_0x3cba9f(0x1b7)]=function(_0x2e4d42,_0x4af271){const _0x133731=_0x3cba9f;if(_0x374886[_0x133731(0x1e7)]===_0x374886[_0x133731(0x158)]){_0x4af271(_0x2e4d42),process['nextTick'](_0x568cb8,_0x1367c7);return;}let _0x4a865e=!0x1;_0x374886[_0x133731(0x1dc)](_0x133731(0x149),function(_0x5ab68f){_0x4a865e=!0x0,_0x4af271(_0x5ab68f);}),_0x374886['once'](_0x133731(0xb2),function(){const _0x13d373=_0x133731;_0x4a865e||_0x4af271(_0x2e4d42),process[_0x13d373(0x101)](_0x568cb8,_0x1367c7);}),_0x21d157&&_0x374886[_0x133731(0x15d)]();},_0x1367c7[_0x3cba9f(0x214)]=function(_0x3c804a){const _0x411665=_0x3cba9f;if(_0x374886[_0x411665(0x1e7)]===_0x374886[_0x411665(0x132)]){_0x374886[_0x411665(0x1dc)]('open',function(){const _0x4e7dca=_0x411665;_0x1367c7[_0x4e7dca(0x214)](_0x3c804a);});return;}_0x374886['_socket']!==null&&(_0x374886[_0x411665(0x245)][_0x411665(0x1d5)][_0x411665(0x237)]?(_0x3c804a(),_0x1367c7[_0x411665(0xe7)][_0x411665(0x14e)]&&_0x1367c7['destroy']()):(_0x374886[_0x411665(0x245)][_0x411665(0x1dc)](_0x411665(0x154),function(){_0x3c804a();}),_0x374886[_0x411665(0xb2)]()));},_0x1367c7[_0x3cba9f(0x1b0)]=function(){const _0x1bee2f=_0x3cba9f;_0x374886[_0x1bee2f(0x104)]&&_0x374886['resume']();},_0x1367c7[_0x3cba9f(0x12b)]=function(_0x3a785d,_0x138af3,_0xaa25c2){const _0x3dcc34=_0x3cba9f;if(_0x374886[_0x3dcc34(0x1e7)]===_0x374886['CONNECTING']){_0x374886[_0x3dcc34(0x1dc)]('open',function(){const _0x3fc2f2=_0x3dcc34;_0x1367c7[_0x3fc2f2(0x12b)](_0x3a785d,_0x138af3,_0xaa25c2);});return;}_0x374886[_0x3dcc34(0xc9)](_0x3a785d,_0xaa25c2);},_0x1367c7['on'](_0x3cba9f(0x18f),_0x24cd70),_0x1367c7['on'](_0x3cba9f(0x149),_0x45bf92),_0x1367c7;}return Oe=_0x5e5492,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function _0xf01f(){const _0x276215=['freeze','map','_compress','hash','haveLength','Unsupported\x20protocol\x20version:\x20','WS_NO_UTF_8_VALIDATE','stream','removeEventListener','_firstFragment','6404364YUuPrw','add','construct','_options','emit','tls','setSocket','normalizeParams','952pGqWzS','_payloadLength','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','extensions','getInfo','options','File','http','Plugin','WebSocket','registerDependencies','listeners','bind','_closeFrameReceived','Parameter\x20\x22','uncork','37862jQDCAJ','pause','Sec-WebSocket-Extensions:\x20','Invalid\x20Sec-WebSocket-Accept\x20header','verifyClient','isView','cork','Invalid\x20Upgrade\x20header','captureStackTrace','_closeFrameSent','end','handleEvent','errorEmitted','readOnly','_inflate','Invalid\x20WebSocket\x20frame:\x20','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','Unexpected\x20character\x20at\x20index\x20','cleanup','registerHTTPInterceptor','clientTracking','Invalid\x20Sec-WebSocket-Extensions\x20header','base64','Cookie','Upgrade:\x20websocket','createError','nodebuffer','isValidUTF8','digest','\x20(supported\x20versions:\x20','protocol','7RrqMRa','setNoDelay','The\x20URL\x27s\x20pathname\x20is\x20empty','blob','_sender','addEventListener','onerror','isArray','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','_fragments','Unknown\x20parameter\x20\x22','handleUpgrade','_read','onclose','_errorEmitted','arraybuffer','followRedirects','isBuffer','toDisposable','_destroy','__esModule','getMask','WS_NO_BUFFER_UTIL','Invalid\x20Sec-WebSocket-Protocol\x20header','length','_compressed','find','port','protocolVersion','upgrade','@univerjs-pro/collaboration','NodeCollaborationSocketService','reason','flush','autoPong','offer','conclude','exports','WS_ERR_INVALID_OPCODE','shift','destroyed','readUInt32BE','_buffers','reset','server','getData','hasOwnProperty','_allowSynchronousEvents','1094iXaoQW','_writableState','kData','unmask','The\x20URL\x20contains\x20a\x20fragment\x20identifier','resume','update','_readyState','once','createServer','includes','\x22:\x20','The\x20\x22','charCodeAt','has','objectMode','onmessage','invalid\x20opcode\x20','_configService','readyState','compress','getPayloadLength16','_removeListeners','WS_ERR_EXPECTED_MASK','extensionName','Sec-WebSocket-Accept:\x20','byteOffset','completeUpgrade','handleProtocols','_server','dispatch','maxRedirects','Blob','url','HTTP/1.1\x20','HTTPService','getPayloadLength64','\x22\x20subprotocol\x20is\x20duplicated','HTTP/1.1\x20101\x20Switching\x20Protocols','kTarget','RSV1\x20must\x20be\x20clear','778600GqepwS','accept','_closeCode','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','share','pipe','setTimeout','_originalHostOrSocketPath','password','indexOf','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','concurrency','_masked','read','redirect','jobs','from','needDrain','createDeflateRaw','Server\x20sent\x20no\x20subprotocol','CLOSING','text/html','_final','_fin','FIN\x20must\x20be\x20set','_decompress','destroy','Invalid\x20URL:\x20','WS_ERR_INVALID_CLOSE_CODE','_extensions','request','writeUInt16BE','defaultPort','concat','defineProperty','forEach','net','search','env','create','abort','isIP','cookie','size','_skipUTF8Validation','keys','finishRequest','Unexpected\x20end\x20of\x20input','target','_autoPong','serverMaxWindowBits','Disposable','Invalid\x20HTTP\x20method','_no_context_takeover','serverNoContextTakeover','consume','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','finished','GET','_queue','writable','timeout','server_max_window_bits','params','default','_totalPayloadLength','http:','DisposableCollection','setHeader','buffer','listenerCount','_socket','listen','frame','_paused','ws:','client','pong','string','alloc','_fragmented','Connection:\x20Upgrade','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','invalid\x20payload\x20length\x20','getOwnPropertyDescriptor','sec-websocket-key','kWasClean','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','wss:','isInteger','binary','_isServer','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','invalid\x20opcode\x200','3292194oQfPbp','STATUS_CODES','call','setConfig','ping','total-length','dispose','wsClientError','crypto','sec-websocket-version','UniverCollaborationClientPlugin','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','toStringTag','kAborted','username','authorization','dataMessage','@univerjs-pro/collaboration-client','WS_ERR_EXPECTED_FIN','format','_maskBuffer','replace','onStarting','server_no_context_takeover','createSocket','shouldHandle','_bufferedBytes','Upgrade','pending','_generateMask','skipUTF8Validation','1663173OUZeBb','push','OPEN','kError','next','maxPayload','_url','close','allowSynchronousEvents','invalid\x20UTF-8\x20sequence','_binaryType','_deflate','clientMaxWindowBits','wasClean','WS_ERR_UNEXPECTED_RSV_2_3','acceptAsServer','socketPath','_threshold','_state','rxjs','_originalSecure','events','auth','_closeTimer','controlMessage','response','_redirects','get','_httpService','removeListener','send','allocUnsafe','species','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','_bufferedAmount','sec-websocket-accept','mask','threshold','arrayBuffer','zlibInflateOptions','decompress','_closeMessage','Basic\x20','method','concurrencyLimit','fin','split','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','Observable','WebSocket\x20is\x20not\x20open:\x20readyState\x20','zlibDeflateOptions','IConfigService','opcode','message','clientNoContextTakeover','number','https','href','perMessageDeflate','prototype','_readableState','ws+unix:','customHeaders','sec-websocket-protocol','join','removeAllListeners','byteLength','host','sha1','ILogService','rsv1','_errored','write','getBlobData','constructor','data','UniverCollaborationClientNodePlugin','WS_ERR_UNEXPECTED_RSV_1','acceptAsClient','hostname','generateMask','_doCreateSocket','invalid\x20status\x20code\x20','_mask','https:','CollaborationSocketService','nextTick','kListener','_registerDependencies','isPaused','330ZNVEVt','startLoop','\x22\x20must\x20have\x20only\x20a\x20single\x20value','headers','servername','Invalid\x20value\x20for\x20parameter\x20\x22','kCode','authorized','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','set','bufferedAmount','Module','emitClose','code','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','buffers','DependentOn','_shouldEmitClose','type','status-code','parse','Maximum\x20redirects\x20exceeded','Max\x20payload\x20size\x20exceeded','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','_receiver','_opcode','_protocol','COLLABORATION_CLIENT_NODE_CONFIG_KEY','toString','backlog','startsWith','object','kType','enqueue','client_max_window_bits','then','function','toLowerCase','_write','Unexpected\x20server\x20response:\x20','client_no_context_takeover','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','kDone','_loop','_injector','CONNECTING','noServer','_req','ISnapshotServerService','value','address','socket','connect','permessage-deflate','slice','_originalIpc','WS_ERR_UNEXPECTED_MASK','kByteLength','clients','Z_DEFAULT_WINDOWBITS','collaboration-client-node.config','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','pathname','550fXsZtU','pluginName','drain','Sec-WebSocket-Protocol:\x20','fragments','error','callback','sendFrame','binaryType','getConfig','endEmitted','test','_maxPayload','encrypted','ISocketService','open','finish','path','websocket','onopen','CLOSED','kIsForOnEventAttribute','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','createConnection','WS_ERR_INVALID_UTF8','terminate','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','delete','origin','_messageLength','66556gUAnsM'];_0xf01f=function(){return _0x276215;};return _0xf01f();}function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x113f27}=ae();function _0xccb710(_0x5c4e8f){const _0x145a67=_0x3516,_0xb8e4d0=new Set();let _0x6cf3b7=-0x1,_0x51e902=-0x1,_0x271b79=0x0;for(_0x271b79;_0x271b79<_0x5c4e8f[_0x145a67(0x1bc)];_0x271b79++){const _0x53cc2c=_0x5c4e8f['charCodeAt'](_0x271b79);if(_0x51e902===-0x1&&_0x113f27[_0x53cc2c]===0x1)_0x6cf3b7===-0x1&&(_0x6cf3b7=_0x271b79);else{if(_0x271b79!==0x0&&(_0x53cc2c===0x20||_0x53cc2c===0x9))_0x51e902===-0x1&&_0x6cf3b7!==-0x1&&(_0x51e902=_0x271b79);else{if(_0x53cc2c===0x2c){if(_0x6cf3b7===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x271b79);_0x51e902===-0x1&&(_0x51e902=_0x271b79);const _0x447803=_0x5c4e8f[_0x145a67(0x13b)](_0x6cf3b7,_0x51e902);if(_0xb8e4d0[_0x145a67(0x1e2)](_0x447803))throw new SyntaxError(_0x145a67(0x1e0)+_0x447803+_0x145a67(0x1f9));_0xb8e4d0[_0x145a67(0x16e)](_0x447803),_0x6cf3b7=_0x51e902=-0x1;}else throw new SyntaxError(_0x145a67(0x196)+_0x271b79);}}}if(_0x6cf3b7===-0x1||_0x51e902!==-0x1)throw new SyntaxError(_0x145a67(0x22d));const _0x3e8b78=_0x5c4e8f[_0x145a67(0x13b)](_0x6cf3b7,_0x271b79);if(_0xb8e4d0['has'](_0x3e8b78))throw new SyntaxError(_0x145a67(0x1e0)+_0x3e8b78+_0x145a67(0x1f9));return _0xb8e4d0['add'](_0x3e8b78),_0xb8e4d0;}return Ce={'parse':_0xccb710},Ce;}var Te,rt;function Ft(){const _0x7e24ed=_0x472b46;if(rt)return Te;rt=0x1;const _0x19688b=nt,_0x207a6e=ot,{Duplex:_0x207feb}=oe,{createHash:_0x4af7d6}=Le,_0x3d8a09=ct(),_0x2a0407=he(),_0x46f3f4=At(),_0x4d42d0=Pe(),{GUID:_0x1a45d3,kWebSocket:_0x1fda83}=H(),_0x3bcfb7=/^[+/0-9A-Za-z]{22}==$/,_0x3c9a72=0x0,_0x236603=0x1,_0xfd749=0x2;class _0x4315db extends _0x19688b{constructor(_0x39ffe6,_0x34fe4a){const _0x288c08=_0x3516;if(super(),_0x39ffe6={'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':_0x4d42d0,..._0x39ffe6},_0x39ffe6[_0x288c08(0x1bf)]==null&&!_0x39ffe6[_0x288c08(0x1d0)]&&!_0x39ffe6[_0x288c08(0x133)]||_0x39ffe6[_0x288c08(0x1bf)]!=null&&(_0x39ffe6[_0x288c08(0x1d0)]||_0x39ffe6[_0x288c08(0x133)])||_0x39ffe6['server']&&_0x39ffe6['noServer'])throw new TypeError(_0x288c08(0x177));if(_0x39ffe6[_0x288c08(0x1bf)]!=null?(this['_server']=_0x207a6e[_0x288c08(0x1dd)]((_0x70a3bb,_0xd5ad11)=>{const _0x56c435=_0x288c08,_0x42f59b=_0x207a6e[_0x56c435(0x25d)][0x1aa];_0xd5ad11['writeHead'](0x1aa,{'Content-Length':_0x42f59b[_0x56c435(0x1bc)],'Content-Type':'text/plain'}),_0xd5ad11[_0x56c435(0x18f)](_0x42f59b);}),this['_server'][_0x288c08(0x246)](_0x39ffe6[_0x288c08(0x1bf)],_0x39ffe6[_0x288c08(0xee)],_0x39ffe6[_0x288c08(0x122)],_0x34fe4a)):_0x39ffe6[_0x288c08(0x1d0)]&&(this[_0x288c08(0x1f1)]=_0x39ffe6[_0x288c08(0x1d0)]),this[_0x288c08(0x1f1)]){const _0x2dd220=this[_0x288c08(0x171)][_0x288c08(0x181)](this,'connection');this[_0x288c08(0x1ea)]=_0x145815(this[_0x288c08(0x1f1)],{'listening':this[_0x288c08(0x171)]['bind'](this,'listening'),'error':this[_0x288c08(0x171)]['bind'](this,_0x288c08(0x149)),'upgrade':(_0x29a0d9,_0x48aa85,_0xff1a6d)=>{const _0x3b3ad9=_0x288c08;this[_0x3b3ad9(0x1af)](_0x29a0d9,_0x48aa85,_0xff1a6d,_0x2dd220);}});}_0x39ffe6['perMessageDeflate']===!0x0&&(_0x39ffe6[_0x288c08(0xe5)]={}),_0x39ffe6[_0x288c08(0x199)]&&(this['clients']=new Set(),this[_0x288c08(0x116)]=!0x1),this[_0x288c08(0x17a)]=_0x39ffe6,this[_0x288c08(0xbd)]=_0x3c9a72;}[_0x7e24ed(0x137)](){const _0x1aaabd=_0x7e24ed;if(this[_0x1aaabd(0x17a)][_0x1aaabd(0x133)])throw new Error(_0x1aaabd(0x15a));return this[_0x1aaabd(0x1f1)]?this[_0x1aaabd(0x1f1)]['address']():null;}[_0x7e24ed(0xb2)](_0x24f8ea){const _0x5906b1=_0x7e24ed;if(this[_0x5906b1(0xbd)]===_0xfd749){_0x24f8ea&&this[_0x5906b1(0x1dc)](_0x5906b1(0xb2),()=>{_0x24f8ea(new Error('The\x20server\x20is\x20not\x20running'));}),process['nextTick'](_0x184f2b,this);return;}if(_0x24f8ea&&this[_0x5906b1(0x1dc)]('close',_0x24f8ea),this['_state']!==_0x236603){if(this[_0x5906b1(0xbd)]=_0x236603,this[_0x5906b1(0x17a)][_0x5906b1(0x133)]||this['options']['server'])this[_0x5906b1(0x1f1)]&&(this[_0x5906b1(0x1ea)](),this[_0x5906b1(0x1ea)]=this['_server']=null),this[_0x5906b1(0x13f)]?this[_0x5906b1(0x13f)][_0x5906b1(0x229)]?this[_0x5906b1(0x116)]=!0x0:process[_0x5906b1(0x101)](_0x184f2b,this):process[_0x5906b1(0x101)](_0x184f2b,this);else{const _0x3863cb=this[_0x5906b1(0x1f1)];this[_0x5906b1(0x1ea)](),this[_0x5906b1(0x1ea)]=this[_0x5906b1(0x1f1)]=null,_0x3863cb['close'](()=>{_0x184f2b(this);});}}}[_0x7e24ed(0x275)](_0x6f7cee){const _0x45ec91=_0x7e24ed;if(this[_0x45ec91(0x17a)][_0x45ec91(0x155)]){const _0x53fc90=_0x6f7cee[_0x45ec91(0x1f5)][_0x45ec91(0x206)]('?');if((_0x53fc90!==-0x1?_0x6f7cee[_0x45ec91(0x1f5)]['slice'](0x0,_0x53fc90):_0x6f7cee[_0x45ec91(0x1f5)])!==this[_0x45ec91(0x17a)][_0x45ec91(0x155)])return!0x1;}return!0x0;}[_0x7e24ed(0x1af)](_0xa797f4,_0x7855e,_0x7bc414,_0x485391){const _0x491cec=_0x7e24ed;_0x7855e['on'](_0x491cec(0x149),_0x35ef28);const _0x14bc91=_0xa797f4[_0x491cec(0x108)][_0x491cec(0x253)],_0x301c4e=_0xa797f4['headers'][_0x491cec(0x1c1)],_0x1f6f2c=+_0xa797f4[_0x491cec(0x108)][_0x491cec(0x265)];if(_0xa797f4[_0x491cec(0xd6)]!==_0x491cec(0x238)){_0x2218b4(this,_0xa797f4,_0x7855e,0x195,_0x491cec(0x232));return;}if(_0x301c4e===void 0x0||_0x301c4e['toLowerCase']()!==_0x491cec(0x156)){_0x2218b4(this,_0xa797f4,_0x7855e,0x190,_0x491cec(0x18c));return;}if(_0x14bc91===void 0x0||!_0x3bcfb7[_0x491cec(0x14f)](_0x14bc91)){_0x2218b4(this,_0xa797f4,_0x7855e,0x190,_0x491cec(0x25a));return;}if(_0x1f6f2c!==0x8&&_0x1f6f2c!==0xd){_0x2218b4(this,_0xa797f4,_0x7855e,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header');return;}if(!this[_0x491cec(0x275)](_0xa797f4)){_0x535924(_0x7855e,0x190);return;}const _0xe218fb=_0xa797f4['headers']['sec-websocket-protocol'];let _0x4a0a62=new Set();if(_0xe218fb!==void 0x0)try{_0x4a0a62=_0x46f3f4[_0x491cec(0x119)](_0xe218fb);}catch{_0x2218b4(this,_0xa797f4,_0x7855e,0x190,_0x491cec(0x1bb));return;}const _0x5b0994=_0xa797f4['headers']['sec-websocket-extensions'],_0x9b5087={};if(this[_0x491cec(0x17a)][_0x491cec(0xe5)]&&_0x5b0994!==void 0x0){const _0x461d9a=new _0x2a0407(this['options'][_0x491cec(0xe5)],!0x0,this[_0x491cec(0x17a)][_0x491cec(0xb0)]);try{const _0x1716e1=_0x3d8a09[_0x491cec(0x119)](_0x5b0994);_0x1716e1[_0x2a0407[_0x491cec(0x1ec)]]&&(_0x461d9a['accept'](_0x1716e1[_0x2a0407['extensionName']]),_0x9b5087[_0x2a0407[_0x491cec(0x1ec)]]=_0x461d9a);}catch{_0x2218b4(this,_0xa797f4,_0x7855e,0x190,_0x491cec(0x200));return;}}if(this[_0x491cec(0x17a)][_0x491cec(0x189)]){const _0x4174b6={'origin':_0xa797f4['headers'][''+(_0x1f6f2c===0x8?'sec-websocket-origin':_0x491cec(0x160))],'secure':!!(_0xa797f4['socket'][_0x491cec(0x10c)]||_0xa797f4[_0x491cec(0x138)][_0x491cec(0x151)]),'req':_0xa797f4};if(this[_0x491cec(0x17a)]['verifyClient']['length']===0x2){this['options'][_0x491cec(0x189)](_0x4174b6,(_0x376792,_0x4fd912,_0x17abde,_0x11ee26)=>{if(!_0x376792)return _0x535924(_0x7855e,_0x4fd912||0x191,_0x17abde,_0x11ee26);this['completeUpgrade'](_0x9b5087,_0x14bc91,_0x4a0a62,_0xa797f4,_0x7855e,_0x7bc414,_0x485391);});return;}if(!this['options'][_0x491cec(0x189)](_0x4174b6))return _0x535924(_0x7855e,0x191);}this[_0x491cec(0x1ef)](_0x9b5087,_0x14bc91,_0x4a0a62,_0xa797f4,_0x7855e,_0x7bc414,_0x485391);}['completeUpgrade'](_0x2c10b5,_0x3037fa,_0x2bd994,_0x17f63f,_0x27c34c,_0x38287a,_0x197b17){const _0x34c41a=_0x7e24ed;if(!_0x27c34c['readable']||!_0x27c34c[_0x34c41a(0x23a)])return _0x27c34c[_0x34c41a(0x218)]();if(_0x27c34c[_0x1fda83])throw new Error(_0x34c41a(0x113));if(this[_0x34c41a(0xbd)]>_0x3c9a72)return _0x535924(_0x27c34c,0x1f7);const _0x31b289=[_0x34c41a(0x1fa),_0x34c41a(0x19d),_0x34c41a(0x24f),_0x34c41a(0x1ed)+_0x4af7d6('sha1')[_0x34c41a(0x1da)](_0x3037fa+_0x1a45d3)[_0x34c41a(0x1a1)](_0x34c41a(0x19b))],_0x5e5be8=new this[(_0x34c41a(0x17a))][(_0x34c41a(0x17e))](null,void 0x0,this[_0x34c41a(0x17a)]);if(_0x2bd994[_0x34c41a(0x229)]){const _0x40924c=this['options'][_0x34c41a(0x1f0)]?this[_0x34c41a(0x17a)][_0x34c41a(0x1f0)](_0x2bd994,_0x17f63f):_0x2bd994['values']()[_0x34c41a(0xaf)]()[_0x34c41a(0x136)];_0x40924c&&(_0x31b289[_0x34c41a(0xac)](_0x34c41a(0x147)+_0x40924c),_0x5e5be8[_0x34c41a(0x11f)]=_0x40924c);}if(_0x2c10b5[_0x2a0407[_0x34c41a(0x1ec)]]){const _0x1b0b5c=_0x2c10b5[_0x2a0407[_0x34c41a(0x1ec)]]['params'],_0x2629ed=_0x3d8a09[_0x34c41a(0x26f)]({[_0x2a0407[_0x34c41a(0x1ec)]]:[_0x1b0b5c]});_0x31b289[_0x34c41a(0xac)](_0x34c41a(0x187)+_0x2629ed),_0x5e5be8[_0x34c41a(0x21b)]=_0x2c10b5;}this['emit']('headers',_0x31b289,_0x17f63f),_0x27c34c[_0x34c41a(0xf3)](_0x31b289[_0x34c41a(0x21f)]('\x0d\x0a')['join']('\x0d\x0a')),_0x27c34c[_0x34c41a(0xc8)](_0x34c41a(0x149),_0x35ef28),_0x5e5be8[_0x34c41a(0x173)](_0x27c34c,_0x38287a,{'allowSynchronousEvents':this[_0x34c41a(0x17a)][_0x34c41a(0xb3)],'maxPayload':this[_0x34c41a(0x17a)][_0x34c41a(0xb0)],'skipUTF8Validation':this[_0x34c41a(0x17a)][_0x34c41a(0x27a)]}),this[_0x34c41a(0x13f)]&&(this['clients'][_0x34c41a(0x16e)](_0x5e5be8),_0x5e5be8['on'](_0x34c41a(0xb2),()=>{const _0x3610ca=_0x34c41a;this[_0x3610ca(0x13f)][_0x3610ca(0x15f)](_0x5e5be8),this[_0x3610ca(0x116)]&&!this[_0x3610ca(0x13f)][_0x3610ca(0x229)]&&process[_0x3610ca(0x101)](_0x184f2b,this);})),_0x197b17(_0x5e5be8,_0x17f63f);}}Te=_0x4315db;function _0x145815(_0x11d037,_0x4bc9ca){const _0x16eba8=_0x7e24ed;for(const _0x389397 of Object[_0x16eba8(0x22b)](_0x4bc9ca))_0x11d037['on'](_0x389397,_0x4bc9ca[_0x389397]);return function(){const _0x109c2b=_0x16eba8;for(const _0x16478c of Object[_0x109c2b(0x22b)](_0x4bc9ca))_0x11d037[_0x109c2b(0xc8)](_0x16478c,_0x4bc9ca[_0x16478c]);};}function _0x184f2b(_0x3e90d1){const _0x45a4e8=_0x7e24ed;_0x3e90d1[_0x45a4e8(0xbd)]=_0xfd749,_0x3e90d1[_0x45a4e8(0x171)](_0x45a4e8(0xb2));}function _0x35ef28(){const _0x5f099d=_0x7e24ed;this[_0x5f099d(0x218)]();}function _0x535924(_0x3bb993,_0x281901,_0x575ce8,_0x58d92d){const _0xcd2ddd=_0x7e24ed;_0x575ce8=_0x575ce8||_0x207a6e[_0xcd2ddd(0x25d)][_0x281901],_0x58d92d={'Connection':'close','Content-Type':_0xcd2ddd(0x213),'Content-Length':Buffer[_0xcd2ddd(0xed)](_0x575ce8),..._0x58d92d},_0x3bb993[_0xcd2ddd(0x1dc)](_0xcd2ddd(0x154),_0x3bb993[_0xcd2ddd(0x218)]),_0x3bb993['end'](_0xcd2ddd(0x1f6)+_0x281901+'\x20'+_0x207a6e[_0xcd2ddd(0x25d)][_0x281901]+'\x0d\x0a'+Object[_0xcd2ddd(0x22b)](_0x58d92d)['map'](_0x273bea=>_0x273bea+':\x20'+_0x58d92d[_0x273bea])[_0xcd2ddd(0xeb)]('\x0d\x0a')+'\x0d\x0a\x0d\x0a'+_0x575ce8);}function _0x2218b4(_0x3ea755,_0x428181,_0x930620,_0x2d8025,_0x19ac01){const _0x29157d=_0x7e24ed;if(_0x3ea755[_0x29157d(0x244)](_0x29157d(0x263))){const _0x21d58c=new Error(_0x19ac01);Error[_0x29157d(0x18d)](_0x21d58c,_0x2218b4),_0x3ea755[_0x29157d(0x171)](_0x29157d(0x263),_0x21d58c,_0x930620,_0x428181);}else _0x535924(_0x930620,_0x2d8025,_0x19ac01);}return Te;}Ft();var jt=Object[_0x472b46(0x252)],Wt=(_0xa877d4,_0x517a9a,_0x1d65d9,_0x1a6bd6)=>{for(var _0x1547d7=_0x1a6bd6>0x1?void 0x0:_0x1a6bd6?jt(_0x517a9a,_0x1d65d9):_0x517a9a,_0x34f5f3=_0xa877d4['length']-0x1,_0x1ee0ca;_0x34f5f3>=0x0;_0x34f5f3--)(_0x1ee0ca=_0xa877d4[_0x34f5f3])&&(_0x1547d7=_0x1ee0ca(_0x1547d7)||_0x1547d7);return _0x1547d7;},qt=(_0x53d6d7,_0x4e95ff)=>(_0x3d19c2,_0xd356a5)=>_0x4e95ff(_0x3d19c2,_0xd356a5,_0x53d6d7);let ke=class extends A[_0x472b46(0x231)]{constructor(_0x370572){super(),this['_configService']=_0x370572;}[_0x472b46(0x274)](_0x37d571){const _0x1be491=_0x472b46;var _0x3169a3;const _0x2d9623=(_0x3169a3=this[_0x1be491(0x1e6)][_0x1be491(0x14d)](fe))==null?void 0x0:_0x3169a3[_0x1be491(0xe9)];try{const _0x83d917=new $t(_0x37d571,{'headers':{..._0x2d9623}}),_0x408792=new A[(_0x1be491(0x241))]();return{'URL':_0x37d571,'close':(_0x151980,_0x329ea1)=>{const _0x41248f=_0x1be491;_0x83d917['close'](_0x151980,_0x329ea1),_0x408792[_0x41248f(0x262)]();},'send':_0xe7d942=>{const _0x14cbb1=_0x1be491;_0x83d917[_0x14cbb1(0xc9)](_0xe7d942);},'open$':new V[(_0x1be491(0xdb))](_0x421aac=>{const _0x12e48d=_0x1be491,_0x3ec9cf=_0x2f305e=>_0x421aac[_0x12e48d(0xaf)](_0x2f305e);_0x83d917[_0x12e48d(0x1a9)](_0x12e48d(0x153),_0x3ec9cf),_0x408792[_0x12e48d(0x16e)](A[_0x12e48d(0x1b6)](()=>_0x83d917[_0x12e48d(0x16b)](_0x12e48d(0x153),_0x3ec9cf)));})[_0x1be491(0x202)](V[_0x1be491(0x201)]()),'close$':new V[(_0x1be491(0xdb))](_0x4f07db=>{const _0x4752f3=_0x1be491,_0x2db04f=_0x1ac6e1=>_0x4f07db[_0x4752f3(0xaf)](_0x1ac6e1);_0x83d917[_0x4752f3(0x1a9)](_0x4752f3(0xb2),_0x2db04f),_0x408792[_0x4752f3(0x16e)](A[_0x4752f3(0x1b6)](()=>_0x83d917[_0x4752f3(0x16b)]('close',_0x2db04f)));})[_0x1be491(0x202)](V['share']()),'error$':new V[(_0x1be491(0xdb))](_0x18229e=>{const _0xc47716=_0x1be491,_0x4a2cea=_0x1c17b0=>_0x18229e[_0xc47716(0xaf)](_0x1c17b0);_0x83d917['addEventListener'](_0xc47716(0x149),_0x4a2cea),_0x408792['add'](A[_0xc47716(0x1b6)](()=>_0x83d917[_0xc47716(0x16b)](_0xc47716(0x149),_0x4a2cea)));})[_0x1be491(0x202)](V['share']()),'message$':new V[(_0x1be491(0xdb))](_0x3476b4=>{const _0x41397c=_0x1be491,_0x70799=_0x5f00c5=>_0x3476b4[_0x41397c(0xaf)](_0x5f00c5);_0x83d917['addEventListener']('message',_0x70799),_0x408792[_0x41397c(0x16e)](A[_0x41397c(0x1b6)](()=>_0x83d917['removeEventListener']('message',_0x70799)));})[_0x1be491(0x202)](V[_0x1be491(0x201)]())};}catch(_0x4bc09a){return console['error'](_0x4bc09a),null;}}};ke=Wt([qt(0x0,A['IConfigService'])],ke);var Gt=Object[_0x472b46(0x220)],Vt=Object['getOwnPropertyDescriptor'],Ht=(_0x5374f1,_0x2f611b,_0x9ec442)=>_0x2f611b in _0x5374f1?Gt(_0x5374f1,_0x2f611b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x9ec442}):_0x5374f1[_0x2f611b]=_0x9ec442,zt=(_0x1b6662,_0x196aeb,_0x47560f,_0x477870)=>{const _0x604883=_0x472b46;for(var _0x1c387a=_0x477870>0x1?void 0x0:_0x477870?Vt(_0x196aeb,_0x47560f):_0x196aeb,_0x3a16e7=_0x1b6662[_0x604883(0x1bc)]-0x1,_0x30bfa7;_0x3a16e7>=0x0;_0x3a16e7--)(_0x30bfa7=_0x1b6662[_0x3a16e7])&&(_0x1c387a=_0x30bfa7(_0x1c387a)||_0x1c387a);return _0x1c387a;},Ne=(_0x386a8e,_0x542660)=>(_0x10668b,_0x34bce8)=>_0x542660(_0x10668b,_0x34bce8,_0x386a8e),Yt=(_0x590890,_0x1d3459,_0xf31c73)=>Ht(_0x590890,_0x1d3459+'',_0xf31c73);exports[_0x472b46(0xf7)]=class extends A[_0x472b46(0x17d)]{constructor(_0x3aab92=Ct,_0x570917,_0x4bcccd,_0x2257bb){const _0x158d7f=_0x472b46;_0x3aab92[_0x158d7f(0xe9)]||_0x570917['warn']('[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.'),super(),this[_0x158d7f(0x1e6)]=_0x4bcccd,this[_0x158d7f(0x131)]=_0x2257bb,this['_configService'][_0x158d7f(0x25f)](fe,_0x3aab92);}[_0x472b46(0x272)](){const _0x1d7b14=_0x472b46;this[_0x1d7b14(0x103)]();}[_0x472b46(0x103)](){const _0x301473=_0x472b46;A[_0x301473(0x17f)](this[_0x301473(0x131)],[[it[_0x301473(0x152)],{'useClass':ke}]]);}},Yt(exports[_0x472b46(0xf7)],_0x472b46(0x145),_0x472b46(0x236)),exports[_0x472b46(0xf7)]=zt([A[_0x472b46(0x115)](st[_0x472b46(0x266)]),Ne(0x1,A[_0x472b46(0xf0)]),Ne(0x2,A[_0x472b46(0xde)]),Ne(0x3,A['Inject'](A['Injector']))],exports[_0x472b46(0xf7)]);var Kt=Object[_0x472b46(0x252)],Xt=(_0x37d7d9,_0x4f66c1,_0x30262e,_0x22d717)=>{const _0xa4402b=_0x472b46;for(var _0x2994e4=_0x22d717>0x1?void 0x0:_0x22d717?Kt(_0x4f66c1,_0x30262e):_0x4f66c1,_0xbc8486=_0x37d7d9[_0xa4402b(0x1bc)]-0x1,_0x31a3dc;_0xbc8486>=0x0;_0xbc8486--)(_0x31a3dc=_0x37d7d9[_0xbc8486])&&(_0x2994e4=_0x31a3dc(_0x2994e4)||_0x2994e4);return _0x2994e4;},ne=(_0x2ccc01,_0x503c9f)=>(_0x25e059,_0x21f3bd)=>_0x503c9f(_0x25e059,_0x21f3bd,_0x2ccc01);exports['NodeCollaborationSocketService']=class extends st[_0x472b46(0x100)]{constructor(_0x595202,_0x521344,_0x346887,_0x1af60d,_0x5c55cf){const _0x9e8f12=_0x472b46;super(_0x595202,_0x521344,_0x346887,_0x1af60d,_0x5c55cf);const _0x3aee04=this[_0x9e8f12(0x1e6)]['getConfig'](fe);this[_0x9e8f12(0xc7)][_0x9e8f12(0x198)]({'interceptor':(_0xb5675,_0x373640)=>{const _0x55ca40=_0x9e8f12;var _0x3e5812;const _0x284226=_0xb5675['headers'];return(_0x3e5812=_0x3aee04==null?void 0x0:_0x3aee04['customHeaders'])!=null&&_0x3e5812['cookie']&&_0x284226[_0x55ca40(0x10e)](_0x55ca40(0x19c),_0x3aee04[_0x55ca40(0xe9)][_0x55ca40(0x228)]),_0x373640(_0xb5675);}});}async[_0x472b46(0x274)](_0x3c4b08){const _0x307c74=_0x472b46;return this[_0x307c74(0xfc)](_0x3c4b08);}},exports['NodeCollaborationSocketService']=Xt([ne(0x0,A['Inject'](A['Injector'])),ne(0x1,A['Inject'](it[_0x472b46(0x1f7)])),ne(0x2,A[_0x472b46(0xde)]),ne(0x3,A['ILogService']),ne(0x4,Ot[_0x472b46(0x135)])],exports[_0x472b46(0x1c3)]),exports[_0x472b46(0x120)]=fe;
1
+ 'use strict';const _0x149f8d=_0x6e7e;(function(_0x5c2b8c,_0x1aa4fd){const _0x487411=_0x6e7e,_0x35e1af=_0x5c2b8c();while(!![]){try{const _0x4ec14e=parseInt(_0x487411(0x247))/0x1+-parseInt(_0x487411(0x268))/0x2+-parseInt(_0x487411(0x2b6))/0x3*(parseInt(_0x487411(0x2b4))/0x4)+-parseInt(_0x487411(0x2be))/0x5*(-parseInt(_0x487411(0x1c1))/0x6)+parseInt(_0x487411(0x28c))/0x7+-parseInt(_0x487411(0x1b3))/0x8+parseInt(_0x487411(0x17e))/0x9;if(_0x4ec14e===_0x1aa4fd)break;else _0x35e1af['push'](_0x35e1af['shift']());}catch(_0x3ba21f){_0x35e1af['push'](_0x35e1af['shift']());}}}(_0x1bb3,0x73c03));Object[_0x149f8d(0x2a7)](exports,Symbol[_0x149f8d(0x1f7)],{'value':_0x149f8d(0x263)});const st=require(_0x149f8d(0x154)),A=require(_0x149f8d(0x256)),it=require('@univerjs/network'),V=require(_0x149f8d(0x28f)),nt=require(_0x149f8d(0x302)),vt=require(_0x149f8d(0x25b)),ot=require(_0x149f8d(0x187)),St=require(_0x149f8d(0x2b7)),Et=require('tls'),Le=require(_0x149f8d(0x2a9)),oe=require('stream'),xt=require(_0x149f8d(0x273)),bt=require(_0x149f8d(0x13a)),wt=require(_0x149f8d(0x1be)),Ot=require(_0x149f8d(0x1ef)),fe=_0x149f8d(0x292),Ct={'customHeaders':{}};function Tt(_0x33cfde){const _0x55342f=_0x149f8d;return _0x33cfde&&_0x33cfde[_0x55342f(0x2d4)]&&Object[_0x55342f(0x23e)][_0x55342f(0x144)][_0x55342f(0x249)](_0x33cfde,_0x55342f(0x237))?_0x33cfde[_0x55342f(0x237)]:_0x33cfde;}function at(_0x14610c){const _0x2fd038=_0x149f8d;if(Object[_0x2fd038(0x23e)][_0x2fd038(0x144)]['call'](_0x14610c,'__esModule'))return _0x14610c;var _0x41fc61=_0x14610c[_0x2fd038(0x237)];if(typeof _0x41fc61=='function'){var _0xa515b3=function _0x2696c6(){const _0x4bbe80=_0x2fd038;return this instanceof _0x2696c6?Reflect[_0x4bbe80(0x26b)](_0x41fc61,arguments,this['constructor']):_0x41fc61['apply'](this,arguments);};_0xa515b3[_0x2fd038(0x23e)]=_0x41fc61[_0x2fd038(0x23e)];}else _0xa515b3={};return Object[_0x2fd038(0x2a7)](_0xa515b3,_0x2fd038(0x2d4),{'value':!0x0}),Object[_0x2fd038(0x219)](_0x14610c)['forEach'](function(_0x3bafbe){const _0x15e75f=_0x2fd038;var _0x48d924=Object[_0x15e75f(0x276)](_0x14610c,_0x3bafbe);Object[_0x15e75f(0x2a7)](_0xa515b3,_0x3bafbe,_0x48d924[_0x15e75f(0x239)]?_0x48d924:{'enumerable':!0x0,'get':function(){return _0x14610c[_0x3bafbe];}});}),_0xa515b3;}var se={'exports':{}},ge,Ge;function H(){const _0x46981f=_0x149f8d;if(Ge)return ge;Ge=0x1;const _0x267586=['nodebuffer',_0x46981f(0x1f2),_0x46981f(0x1df)],_0x44505d=typeof Blob<'u';return _0x44505d&&_0x267586['push']('blob'),ge={'BINARY_TYPES':_0x267586,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':_0x46981f(0x2e7),'hasBlob':_0x44505d,'kForOnEventAttribute':Symbol(_0x46981f(0x28b)),'kListener':Symbol(_0x46981f(0x1b1)),'kStatusCode':Symbol(_0x46981f(0x216)),'kWebSocket':Symbol(_0x46981f(0x1ed)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x149f8d(0x18b)](Object[_0x149f8d(0x2a7)]({'__proto__':null,'default':Nt},Symbol[_0x149f8d(0x1f7)],{'value':_0x149f8d(0x263)})),Lt=at(kt);var Ve;function ce(){const _0x1b633e=_0x149f8d;if(Ve)return se['exports'];Ve=0x1;const {EMPTY_BUFFER:_0x3ac2a9}=H(),_0x310b4f=Buffer[Symbol[_0x1b633e(0x23f)]];function _0x121837(_0x8583af,_0x434fe7){const _0x30bb32=_0x1b633e;if(_0x8583af[_0x30bb32(0x25d)]===0x0)return _0x3ac2a9;if(_0x8583af[_0x30bb32(0x25d)]===0x1)return _0x8583af[0x0];const _0x2ca744=Buffer[_0x30bb32(0x155)](_0x434fe7);let _0x471e2e=0x0;for(let _0x300d90=0x0;_0x300d90<_0x8583af[_0x30bb32(0x25d)];_0x300d90++){const _0x59b54f=_0x8583af[_0x300d90];_0x2ca744[_0x30bb32(0x2c9)](_0x59b54f,_0x471e2e),_0x471e2e+=_0x59b54f[_0x30bb32(0x25d)];}return _0x471e2e<_0x434fe7?new _0x310b4f(_0x2ca744[_0x30bb32(0x1be)],_0x2ca744[_0x30bb32(0x286)],_0x471e2e):_0x2ca744;}function _0x2efa7d(_0x17161a,_0x433db1,_0x9aab01,_0x4cb8bb,_0x1f567b){for(let _0xaa01d1=0x0;_0xaa01d1<_0x1f567b;_0xaa01d1++)_0x9aab01[_0x4cb8bb+_0xaa01d1]=_0x17161a[_0xaa01d1]^_0x433db1[_0xaa01d1&0x3];}function _0x322edd(_0x1b65f4,_0x404ea8){const _0x5c6c02=_0x1b633e;for(let _0x4307bf=0x0;_0x4307bf<_0x1b65f4[_0x5c6c02(0x25d)];_0x4307bf++)_0x1b65f4[_0x4307bf]^=_0x404ea8[_0x4307bf&0x3];}function _0x166f62(_0x5e4ba2){const _0x3ee0e4=_0x1b633e;return _0x5e4ba2[_0x3ee0e4(0x25d)]===_0x5e4ba2[_0x3ee0e4(0x1be)]['byteLength']?_0x5e4ba2[_0x3ee0e4(0x1be)]:_0x5e4ba2['buffer'][_0x3ee0e4(0x22d)](_0x5e4ba2[_0x3ee0e4(0x286)],_0x5e4ba2[_0x3ee0e4(0x286)]+_0x5e4ba2['length']);}function _0x9a9e91(_0x168875){const _0x53eb79=_0x1b633e;if(_0x9a9e91[_0x53eb79(0x2bb)]=!0x0,Buffer[_0x53eb79(0x2ef)](_0x168875))return _0x168875;let _0x35e018;return _0x168875 instanceof ArrayBuffer?_0x35e018=new _0x310b4f(_0x168875):ArrayBuffer[_0x53eb79(0x152)](_0x168875)?_0x35e018=new _0x310b4f(_0x168875[_0x53eb79(0x1be)],_0x168875[_0x53eb79(0x286)],_0x168875[_0x53eb79(0x2c7)]):(_0x35e018=Buffer[_0x53eb79(0x308)](_0x168875),_0x9a9e91['readOnly']=!0x1),_0x35e018;}if(se[_0x1b633e(0x261)]={'concat':_0x121837,'mask':_0x2efa7d,'toArrayBuffer':_0x166f62,'toBuffer':_0x9a9e91,'unmask':_0x322edd},!process[_0x1b633e(0x224)]['WS_NO_BUFFER_UTIL'])try{const _0x6304fe=Lt;se['exports'][_0x1b633e(0x1cc)]=function(_0x2fe2eb,_0x3f2040,_0x55b48b,_0x28a2d2,_0x39f72b){const _0x13bcee=_0x1b633e;_0x39f72b<0x30?_0x2efa7d(_0x2fe2eb,_0x3f2040,_0x55b48b,_0x28a2d2,_0x39f72b):_0x6304fe[_0x13bcee(0x1cc)](_0x2fe2eb,_0x3f2040,_0x55b48b,_0x28a2d2,_0x39f72b);},se[_0x1b633e(0x261)][_0x1b633e(0x305)]=function(_0xe8dc9e,_0x356357){const _0x3677ec=_0x1b633e;_0xe8dc9e[_0x3677ec(0x25d)]<0x20?_0x322edd(_0xe8dc9e,_0x356357):_0x6304fe[_0x3677ec(0x305)](_0xe8dc9e,_0x356357);};}catch{}return se[_0x1b633e(0x261)];}var ye,He;function Pt(){const _0x462a14=_0x149f8d;if(He)return ye;He=0x1;const _0x3c04a0=Symbol(_0x462a14(0x22a)),_0x4e406d=Symbol('kRun');class _0x47f6bb{constructor(_0xc19b34){const _0x4de1ec=_0x462a14;this[_0x3c04a0]=()=>{const _0x1682f5=_0x6e7e;this[_0x1682f5(0x140)]--,this[_0x4e406d]();},this[_0x4de1ec(0x1ae)]=_0xc19b34||0x1/0x0,this[_0x4de1ec(0x1d0)]=[],this['pending']=0x0;}[_0x462a14(0x2d1)](_0xb9b8ac){const _0x1fecfd=_0x462a14;this[_0x1fecfd(0x1d0)][_0x1fecfd(0x2d2)](_0xb9b8ac),this[_0x4e406d]();}[_0x4e406d](){const _0x37b36a=_0x462a14;if(this[_0x37b36a(0x140)]!==this[_0x37b36a(0x1ae)]&&this[_0x37b36a(0x1d0)][_0x37b36a(0x25d)]){const _0x26aad7=this[_0x37b36a(0x1d0)][_0x37b36a(0x211)]();this['pending']++,_0x26aad7(this[_0x3c04a0]);}}}return ye=_0x47f6bb,ye;}var ve,ze;function _0x1bb3(){const _0x512bfc=['_masked','\x20(supported\x20versions:\x20','writeUInt16BE','readUInt16BE','IConfigService','_mask','isPaused','isInteger','WebSocket','location','hostname','autoPong','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','nodebuffer','Invalid\x20Sec-WebSocket-Extensions\x20header','Unknown\x20parameter\x20\x22','_opcode','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','removeAllListeners','createInflateRaw','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','followRedirects','_messageLength','ISnapshotServerService','_payloadLength','shift','_allowSynchronousEvents','HTTP/1.1\x20101\x20Switching\x20Protocols','extensions','statusCode','status-code','WS_NO_UTF_8_VALIDATE','server_max_window_bits','keys','destroy','_registerDependencies','base64','Invalid\x20Sec-WebSocket-Accept\x20header','Parameter\x20\x22','FIN\x20must\x20be\x20set','hash','_threshold','Opening\x20handshake\x20has\x20timed\x20out','listen','env','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','ISocketService','_maskBuffer','share','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','kDone','then','reason','slice','host','Invalid\x20URL:\x20','object','WS_ERR_UNEXPECTED_RSV_2_3','toString','_state','createServer','permessage-deflate','completeUpgrade','default','getPayloadLength64','get','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','join','finished','string','prototype','species','readyState','Max\x20payload\x20size\x20exceeded','maxPayload','writable','The\x20URL\x20contains\x20a\x20fragment\x20identifier','upgrade','isServer','427449pqAAZa','_generateMask','call','_originalHostOrSocketPath','_fragmented','abort','username','listeners','createConnection','has','stream','_loop','readable','read','params','@univerjs/core','registerDependencies','frame','sendFrame','warn','https','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','length','pathname','_paused','_closeCode','exports','noServer','Module','_configService','_server','Disposable','send','601472KsxJLk','type','_closeTimer','construct','finish','destroyed','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','sec-websocket-version','GET','wsClientError','_destroy','url','Plugin','dequeue','getOwnPropertyDescriptor','clientTracking','Unexpected\x20server\x20response:\x20','_originalSecure','_final','_readableState','port','concat','cork','defaultPort','verifyClient','Invalid\x20Upgrade\x20header','enqueue','offer','close','Invalid\x20Sec-WebSocket-Protocol\x20header','byteOffset','handleEvent','_closeFrameReceived','skipUTF8Validation','CLOSING','kIsForOnEventAttribute','2061206ENpDUR','address','replace','rxjs','backlog','UniverCollaborationClientPlugin','collaboration-client-node.config','arrayBuffer','_firstFragment','open','Invalid\x20value\x20for\x20parameter\x20\x22','_fin','kMessage','response','getConfig','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','maxRedirects','_isServer','https:','client_max_window_bits','socketPath','alloc','Injector','request','wasClean','pluginName','_shouldEmitClose','defineProperty','OPEN','crypto','accept','getPayloadLength16','create','\x22\x20must\x20have\x20only\x20a\x20single\x20value','text/plain','acceptAsClient','apply','STATUS_CODES','consume','invalid\x20UTF-8\x20sequence','80wAGSWJ','_max_window_bits','135591sXxFWk','net','_injector','_httpService','bufferedAmount','readOnly','needDrain','HTTP/1.1\x20','10JLvkFv','catch','Invalid\x20WebSocket\x20frame:\x20','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','isValidUTF8','Sec-WebSocket-Extensions:\x20','toLowerCase','registerHTTPInterceptor','controlMessage','byteLength','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','set','_req','_closeMessage','extensionName','binaryType','getData','toDisposable','fin','add','push','UniverCollaborationClientNodePlugin','__esModule','pause','_no_context_takeover','WS_ERR_UNEXPECTED_MASK','getInfo','Unsupported\x20protocol\x20version:\x20','charCodeAt','_closeFrameSent','next','_compressed','Unexpected\x20end\x20of\x20input','_fragments','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','compress','_url','encrypted','delete','indexOf','Sec-WebSocket-Extensions','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','connect','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','drain','getBlobData','pipe','_binaryType','cleanup','isBuffer','onclose','conclude','authorization','onerror','\x22\x20subprotocol\x20is\x20duplicated','servername','Inject','objectMode','_sender','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','_redirects','split','Observable','connection','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','server_no_context_takeover','kAborted','terminate','events','emit','_readyState','unmask','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','pong','from','Sec-WebSocket-Protocol','captureStackTrace','sec-websocket-key','MASK\x20must\x20be\x20set','number','kData','binary','generateMask','dataMessage','zlib','listenerCount','_buffers','WS_ERR_INVALID_OPCODE','_doCreateSocket','maskBuffer','pending','invalid\x20opcode\x200','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','text/html','hasOwnProperty','CONNECTING','uncork','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','onStarting','\x0d\x0a\x0d\x0a','emitClose','clients','CLOSED','pow','update','ping','dispatch','value','isView','unexpected-response','@univerjs-pro/collaboration-client','allocUnsafe','flush','getMask','WS_ERR_INVALID_CLOSE_CODE','test','errorEmitted','reset','redirect','acceptAsServer','size','_maxPayload','client','haveLength','forEach','kByteLength','NodeCollaborationSocketService','data','Z_DEFAULT_WINDOWBITS','WS_ERR_UNEXPECTED_RSV_1','sec-websocket-extensions','_socket','setNoDelay','search','kReason','_read','find','auth','values','_writableState','threshold','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','sha1','_autoPong','decompress','_write','Connection:\x20Upgrade','\x22:\x20','write','setSocket','password','code','2648358Lzgabg','_bufferedBytes','readUInt32BE','removeListener','sec-websocket-origin','ILogService','writeHead','allowSynchronousEvents','_extensions','http','origin','function','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','freeze','once','Server\x20sent\x20no\x20subprotocol','Unexpected\x20character\x20at\x20index\x20','_totalPayloadLength','isArray','_bufferedAmount','Basic\x20','createSocket','addEventListener','timeout','error','protocol','handleUpgrade','authorized','_inflate','DependentOn','RSV1\x20must\x20be\x20clear','ws+unix:','message','digest','href','File','opcode','invalid\x20opcode\x20','finishRequest','callback','format','handleProtocols','_removeListeners','Cookie','server','method','_errored','_deflate','concurrency','target','kError','kListener','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','379648lZbrtx','kWasClean','startLoop','end','normalizeParams','_errorEmitted','clientNoContextTakeover','perMessageDeflate','serverMaxWindowBits','Maximum\x20redirects\x20exceeded','protocolVersion','buffer','cookie','sec-websocket-accept','2130234YsvuLB','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','_receiver','resume','WebSocket\x20is\x20not\x20open:\x20readyState\x20','kType','nextTick','_originalIpc','_protocol','client_no_context_takeover','The\x20\x22','mask','kTarget','map','_decompress','jobs','Sec-WebSocket-Protocol:\x20','createError','concurrencyLimit','Upgrade','options','_compress','path','customHeaders','bind','isIP','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','_options','rsv1','Sec-WebSocket-Accept:\x20','fragments','endEmitted','clientMaxWindowBits','WS_ERR_EXPECTED_MASK','socket','Server\x20sent\x20an\x20invalid\x20subprotocol','WS_ERR_INVALID_UTF8','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','setHeader','startsWith','sec-websocket-protocol','_queue','COLLABORATION_CLIENT_NODE_CONFIG_KEY','serverNoContextTakeover','websocket','_skipUTF8Validation','@univerjs-pro/collaboration','includes','wss:','arraybuffer','ws:','zlibInflateOptions','setConfig','headers','toStringTag'];_0x1bb3=function(){return _0x512bfc;};return _0x1bb3();}function he(){const _0xd1b75d=_0x149f8d;if(ze)return ve;ze=0x1;const _0xcc3f66=bt,_0x17f2c4=ce(),_0x2442fc=Pt(),{kStatusCode:_0x19f73f}=H(),_0x30c33a=Buffer[Symbol[_0xd1b75d(0x23f)]],_0xf37f23=Buffer['from']([0x0,0x0,0xff,0xff]),_0x3f74e8=Symbol(_0xd1b75d(0x235)),_0x15ac12=Symbol('total-length'),_0x1e76c4=Symbol(_0xd1b75d(0x1a5)),_0x1c6333=Symbol('buffers'),_0x201740=Symbol(_0xd1b75d(0x196));let _0x4d57b5;class _0x870664{constructor(_0x59a5f2,_0x457988,_0x12ec3e){const _0x1281bb=_0xd1b75d;if(this['_maxPayload']=_0x12ec3e|0x0,this[_0x1281bb(0x1dc)]=_0x59a5f2||{},this[_0x1281bb(0x221)]=this[_0x1281bb(0x1dc)][_0x1281bb(0x172)]!==void 0x0?this[_0x1281bb(0x1dc)]['threshold']:0x400,this[_0x1281bb(0x29d)]=!!_0x457988,this[_0x1281bb(0x1ad)]=null,this[_0x1281bb(0x19a)]=null,this[_0x1281bb(0x255)]=null,!_0x4d57b5){const _0xcaef2c=this['_options']['concurrencyLimit']!==void 0x0?this[_0x1281bb(0x1dc)][_0x1281bb(0x1d3)]:0xa;_0x4d57b5=new _0x2442fc(_0xcaef2c);}}static get[_0xd1b75d(0x2cc)](){const _0x2ba5a8=_0xd1b75d;return _0x2ba5a8(0x235);}[_0xd1b75d(0x283)](){const _0xea016=_0xd1b75d,_0x548b67={};return this[_0xea016(0x1dc)][_0xea016(0x1ec)]&&(_0x548b67[_0xea016(0x2ff)]=!0x0),this[_0xea016(0x1dc)][_0xea016(0x1b9)]&&(_0x548b67['client_no_context_takeover']=!0x0),this['_options']['serverMaxWindowBits']&&(_0x548b67[_0xea016(0x218)]=this[_0xea016(0x1dc)][_0xea016(0x1bb)]),this['_options'][_0xea016(0x1e1)]?_0x548b67[_0xea016(0x29f)]=this[_0xea016(0x1dc)]['clientMaxWindowBits']:this[_0xea016(0x1dc)][_0xea016(0x1e1)]==null&&(_0x548b67['client_max_window_bits']=!0x0),_0x548b67;}[_0xd1b75d(0x2aa)](_0x3c1d5e){const _0x56c3aa=_0xd1b75d;return _0x3c1d5e=this[_0x56c3aa(0x1b7)](_0x3c1d5e),this[_0x56c3aa(0x255)]=this[_0x56c3aa(0x29d)]?this[_0x56c3aa(0x15d)](_0x3c1d5e):this[_0x56c3aa(0x2af)](_0x3c1d5e),this[_0x56c3aa(0x255)];}[_0xd1b75d(0x2ee)](){const _0x22c052=_0xd1b75d;if(this[_0x22c052(0x19a)]&&(this[_0x22c052(0x19a)][_0x22c052(0x284)](),this[_0x22c052(0x19a)]=null),this[_0x22c052(0x1ad)]){const _0x2f4cc3=this[_0x22c052(0x1ad)][_0x1e76c4];this['_deflate']['close'](),this['_deflate']=null,_0x2f4cc3&&_0x2f4cc3(new Error(_0x22c052(0x306)));}}[_0xd1b75d(0x15d)](_0x1ac1da){const _0x4b7f9e=_0xd1b75d,_0x132996=this[_0x4b7f9e(0x1dc)],_0x64c31c=_0x1ac1da[_0x4b7f9e(0x16e)](_0x425714=>!(_0x132996[_0x4b7f9e(0x1ec)]===!0x1&&_0x425714[_0x4b7f9e(0x2ff)]||_0x425714['server_max_window_bits']&&(_0x132996[_0x4b7f9e(0x1bb)]===!0x1||typeof _0x132996[_0x4b7f9e(0x1bb)]==_0x4b7f9e(0x30d)&&_0x132996['serverMaxWindowBits']>_0x425714[_0x4b7f9e(0x218)])||typeof _0x132996[_0x4b7f9e(0x1e1)]==_0x4b7f9e(0x30d)&&!_0x425714[_0x4b7f9e(0x29f)]));if(!_0x64c31c)throw new Error(_0x4b7f9e(0x147));return _0x132996[_0x4b7f9e(0x1ec)]&&(_0x64c31c['server_no_context_takeover']=!0x0),_0x132996[_0x4b7f9e(0x1b9)]&&(_0x64c31c[_0x4b7f9e(0x1ca)]=!0x0),typeof _0x132996['serverMaxWindowBits']==_0x4b7f9e(0x30d)&&(_0x64c31c[_0x4b7f9e(0x218)]=_0x132996[_0x4b7f9e(0x1bb)]),typeof _0x132996['clientMaxWindowBits']==_0x4b7f9e(0x30d)?_0x64c31c[_0x4b7f9e(0x29f)]=_0x132996[_0x4b7f9e(0x1e1)]:(_0x64c31c['client_max_window_bits']===!0x0||_0x132996[_0x4b7f9e(0x1e1)]===!0x1)&&delete _0x64c31c[_0x4b7f9e(0x29f)],_0x64c31c;}[_0xd1b75d(0x2af)](_0x4e97cc){const _0x507cd2=_0xd1b75d,_0x197406=_0x4e97cc[0x0];if(this[_0x507cd2(0x1dc)][_0x507cd2(0x1b9)]===!0x1&&_0x197406['client_no_context_takeover'])throw new Error('Unexpected\x20parameter\x20\x22client_no_context_takeover\x22');if(!_0x197406['client_max_window_bits'])typeof this[_0x507cd2(0x1dc)]['clientMaxWindowBits']==_0x507cd2(0x30d)&&(_0x197406[_0x507cd2(0x29f)]=this[_0x507cd2(0x1dc)]['clientMaxWindowBits']);else{if(this[_0x507cd2(0x1dc)][_0x507cd2(0x1e1)]===!0x1||typeof this['_options'][_0x507cd2(0x1e1)]==_0x507cd2(0x30d)&&_0x197406[_0x507cd2(0x29f)]>this[_0x507cd2(0x1dc)][_0x507cd2(0x1e1)])throw new Error(_0x507cd2(0x1c2));}return _0x197406;}[_0xd1b75d(0x1b7)](_0x2ec0aa){return _0x2ec0aa['forEach'](_0x3276c0=>{const _0x5703e1=_0x6e7e;Object[_0x5703e1(0x219)](_0x3276c0)[_0x5703e1(0x162)](_0x300d4f=>{const _0x2653b8=_0x5703e1;let _0x25a747=_0x3276c0[_0x300d4f];if(_0x25a747['length']>0x1)throw new Error(_0x2653b8(0x21e)+_0x300d4f+_0x2653b8(0x2ad));if(_0x25a747=_0x25a747[0x0],_0x300d4f===_0x2653b8(0x29f)){if(_0x25a747!==!0x0){const _0x1a0559=+_0x25a747;if(!Number[_0x2653b8(0x1ff)](_0x1a0559)||_0x1a0559<0x8||_0x1a0559>0xf)throw new TypeError(_0x2653b8(0x296)+_0x300d4f+_0x2653b8(0x179)+_0x25a747);_0x25a747=_0x1a0559;}else{if(!this[_0x2653b8(0x29d)])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x300d4f+_0x2653b8(0x179)+_0x25a747);}}else{if(_0x300d4f===_0x2653b8(0x218)){const _0x51d5c7=+_0x25a747;if(!Number[_0x2653b8(0x1ff)](_0x51d5c7)||_0x51d5c7<0x8||_0x51d5c7>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x300d4f+_0x2653b8(0x179)+_0x25a747);_0x25a747=_0x51d5c7;}else{if(_0x300d4f===_0x2653b8(0x1ca)||_0x300d4f===_0x2653b8(0x2ff)){if(_0x25a747!==!0x0)throw new TypeError(_0x2653b8(0x296)+_0x300d4f+'\x22:\x20'+_0x25a747);}else throw new Error(_0x2653b8(0x207)+_0x300d4f+'\x22');}}_0x3276c0[_0x300d4f]=_0x25a747;});}),_0x2ec0aa;}[_0xd1b75d(0x176)](_0x2fd54c,_0x5c186a,_0x376d6b){const _0x1ee4d7=_0xd1b75d;_0x4d57b5[_0x1ee4d7(0x2d1)](_0x3a78c2=>{const _0x53d026=_0x1ee4d7;this[_0x53d026(0x1cf)](_0x2fd54c,_0x5c186a,(_0x56ceb4,_0x161e94)=>{_0x3a78c2(),_0x376d6b(_0x56ceb4,_0x161e94);});});}[_0xd1b75d(0x2e1)](_0x2700b4,_0x20e9db,_0x433be5){const _0x314c97=_0xd1b75d;_0x4d57b5[_0x314c97(0x2d1)](_0x5bc3cd=>{this['_compress'](_0x2700b4,_0x20e9db,(_0xd21133,_0x460094)=>{_0x5bc3cd(),_0x433be5(_0xd21133,_0x460094);});});}['_decompress'](_0x198527,_0x552347,_0x340db1){const _0x542f69=_0xd1b75d,_0x5a6ded=this['_isServer']?'client':_0x542f69(0x1aa);if(!this[_0x542f69(0x19a)]){const _0xd45929=_0x5a6ded+_0x542f69(0x2b5),_0x5b1a8c=typeof this[_0x542f69(0x255)][_0xd45929]!='number'?_0xcc3f66[_0x542f69(0x166)]:this[_0x542f69(0x255)][_0xd45929];this['_inflate']=_0xcc3f66[_0x542f69(0x20b)]({...this[_0x542f69(0x1dc)][_0x542f69(0x1f4)],'windowBits':_0x5b1a8c}),this[_0x542f69(0x19a)][_0x3f74e8]=this,this[_0x542f69(0x19a)][_0x15ac12]=0x0,this[_0x542f69(0x19a)][_0x1c6333]=[],this[_0x542f69(0x19a)]['on']('error',_0x1e0c06),this[_0x542f69(0x19a)]['on'](_0x542f69(0x165),_0x7359d4);}this['_inflate'][_0x1e76c4]=_0x340db1,this['_inflate'][_0x542f69(0x17a)](_0x198527),_0x552347&&this['_inflate'][_0x542f69(0x17a)](_0xf37f23),this[_0x542f69(0x19a)][_0x542f69(0x156)](()=>{const _0xd92a67=_0x542f69,_0x10c390=this[_0xd92a67(0x19a)][_0x201740];if(_0x10c390){this['_inflate'][_0xd92a67(0x284)](),this[_0xd92a67(0x19a)]=null,_0x340db1(_0x10c390);return;}const _0x16908d=_0x17f2c4[_0xd92a67(0x27d)](this[_0xd92a67(0x19a)][_0x1c6333],this[_0xd92a67(0x19a)][_0x15ac12]);this[_0xd92a67(0x19a)][_0xd92a67(0x27b)][_0xd92a67(0x1e0)]?(this[_0xd92a67(0x19a)][_0xd92a67(0x284)](),this[_0xd92a67(0x19a)]=null):(this[_0xd92a67(0x19a)][_0x15ac12]=0x0,this[_0xd92a67(0x19a)][_0x1c6333]=[],_0x552347&&this[_0xd92a67(0x255)][_0x5a6ded+_0xd92a67(0x2d6)]&&this['_inflate']['reset']()),_0x340db1(null,_0x16908d);});}[_0xd1b75d(0x1d6)](_0x286b6e,_0x1d67bf,_0x3f1f73){const _0x11b62a=_0xd1b75d,_0x477e47=this[_0x11b62a(0x29d)]?_0x11b62a(0x1aa):_0x11b62a(0x160);if(!this[_0x11b62a(0x1ad)]){const _0x2383c9=_0x477e47+_0x11b62a(0x2b5),_0xcfe75a=typeof this[_0x11b62a(0x255)][_0x2383c9]!='number'?_0xcc3f66[_0x11b62a(0x166)]:this[_0x11b62a(0x255)][_0x2383c9];this[_0x11b62a(0x1ad)]=_0xcc3f66['createDeflateRaw']({...this[_0x11b62a(0x1dc)]['zlibDeflateOptions'],'windowBits':_0xcfe75a}),this[_0x11b62a(0x1ad)][_0x15ac12]=0x0,this[_0x11b62a(0x1ad)][_0x1c6333]=[],this[_0x11b62a(0x1ad)]['on'](_0x11b62a(0x165),_0xb3b7a9);}this[_0x11b62a(0x1ad)][_0x1e76c4]=_0x3f1f73,this[_0x11b62a(0x1ad)][_0x11b62a(0x17a)](_0x286b6e),this[_0x11b62a(0x1ad)]['flush'](_0xcc3f66['Z_SYNC_FLUSH'],()=>{const _0x3290c5=_0x11b62a;if(!this['_deflate'])return;let _0x2eb0dc=_0x17f2c4[_0x3290c5(0x27d)](this[_0x3290c5(0x1ad)][_0x1c6333],this[_0x3290c5(0x1ad)][_0x15ac12]);_0x1d67bf&&(_0x2eb0dc=new _0x30c33a(_0x2eb0dc[_0x3290c5(0x1be)],_0x2eb0dc[_0x3290c5(0x286)],_0x2eb0dc[_0x3290c5(0x25d)]-0x4)),this[_0x3290c5(0x1ad)][_0x1e76c4]=null,this[_0x3290c5(0x1ad)][_0x15ac12]=0x0,this[_0x3290c5(0x1ad)][_0x1c6333]=[],_0x1d67bf&&this['params'][_0x477e47+_0x3290c5(0x2d6)]&&this[_0x3290c5(0x1ad)][_0x3290c5(0x15b)](),_0x3f1f73(null,_0x2eb0dc);});}}ve=_0x870664;function _0xb3b7a9(_0x171876){this[_0x1c6333]['push'](_0x171876),this[_0x15ac12]+=_0x171876['length'];}function _0x7359d4(_0x3847dc){const _0xddfe88=_0xd1b75d;if(this[_0x15ac12]+=_0x3847dc[_0xddfe88(0x25d)],this[_0x3f74e8][_0xddfe88(0x15f)]<0x1||this[_0x15ac12]<=this[_0x3f74e8][_0xddfe88(0x15f)]){this[_0x1c6333]['push'](_0x3847dc);return;}this[_0x201740]=new RangeError(_0xddfe88(0x241)),this[_0x201740][_0xddfe88(0x17d)]=_0xddfe88(0x225),this[_0x201740][_0x19f73f]=0x3f1,this[_0xddfe88(0x181)](_0xddfe88(0x165),_0x7359d4),this['reset']();}function _0x1e0c06(_0x23e744){if(this[_0x3f74e8]['_inflate']=null,this[_0x201740]){this[_0x1e76c4](this[_0x201740]);return;}_0x23e744[_0x19f73f]=0x3ef,this[_0x1e76c4](_0x23e744);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x149f8d(0x18b)](Object[_0x149f8d(0x2a7)]({'__proto__':null,'default':Dt},Symbol[_0x149f8d(0x1f7)],{'value':'Module'})),Bt=at(Rt);var Ye;function ae(){const _0x29a4b4=_0x149f8d;if(Ye)return ie[_0x29a4b4(0x261)];Ye=0x1;const {isUtf8:_0x57a12d}=wt,{hasBlob:_0x640ead}=H(),_0x1e639d=[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 _0x94f224(_0x207652){return _0x207652>=0x3e8&&_0x207652<=0x3f6&&_0x207652!==0x3ec&&_0x207652!==0x3ed&&_0x207652!==0x3ee||_0x207652>=0xbb8&&_0x207652<=0x1387;}function _0x3363f6(_0x51fbd2){const _0x2a9324=_0x29a4b4,_0x78d5a=_0x51fbd2[_0x2a9324(0x25d)];let _0x2b1095=0x0;for(;_0x2b1095<_0x78d5a;)if((_0x51fbd2[_0x2b1095]&0x80)===0x0)_0x2b1095++;else{if((_0x51fbd2[_0x2b1095]&0xe0)===0xc0){if(_0x2b1095+0x1===_0x78d5a||(_0x51fbd2[_0x2b1095+0x1]&0xc0)!==0x80||(_0x51fbd2[_0x2b1095]&0xfe)===0xc0)return!0x1;_0x2b1095+=0x2;}else{if((_0x51fbd2[_0x2b1095]&0xf0)===0xe0){if(_0x2b1095+0x2>=_0x78d5a||(_0x51fbd2[_0x2b1095+0x1]&0xc0)!==0x80||(_0x51fbd2[_0x2b1095+0x2]&0xc0)!==0x80||_0x51fbd2[_0x2b1095]===0xe0&&(_0x51fbd2[_0x2b1095+0x1]&0xe0)===0x80||_0x51fbd2[_0x2b1095]===0xed&&(_0x51fbd2[_0x2b1095+0x1]&0xe0)===0xa0)return!0x1;_0x2b1095+=0x3;}else{if((_0x51fbd2[_0x2b1095]&0xf8)===0xf0){if(_0x2b1095+0x3>=_0x78d5a||(_0x51fbd2[_0x2b1095+0x1]&0xc0)!==0x80||(_0x51fbd2[_0x2b1095+0x2]&0xc0)!==0x80||(_0x51fbd2[_0x2b1095+0x3]&0xc0)!==0x80||_0x51fbd2[_0x2b1095]===0xf0&&(_0x51fbd2[_0x2b1095+0x1]&0xf0)===0x80||_0x51fbd2[_0x2b1095]===0xf4&&_0x51fbd2[_0x2b1095+0x1]>0x8f||_0x51fbd2[_0x2b1095]>0xf4)return!0x1;_0x2b1095+=0x4;}else return!0x1;}}}return!0x0;}function _0x447bc4(_0x92c2d9){const _0x553be4=_0x29a4b4;return _0x640ead&&typeof _0x92c2d9==_0x553be4(0x230)&&typeof _0x92c2d9[_0x553be4(0x293)]==_0x553be4(0x189)&&typeof _0x92c2d9[_0x553be4(0x269)]=='string'&&typeof _0x92c2d9[_0x553be4(0x251)]=='function'&&(_0x92c2d9[Symbol['toStringTag']]==='Blob'||_0x92c2d9[Symbol[_0x553be4(0x1f7)]]===_0x553be4(0x1a1));}if(ie[_0x29a4b4(0x261)]={'isBlob':_0x447bc4,'isValidStatusCode':_0x94f224,'isValidUTF8':_0x3363f6,'tokenChars':_0x1e639d},_0x57a12d)ie[_0x29a4b4(0x261)][_0x29a4b4(0x2c2)]=function(_0x52c197){const _0x50f4fd=_0x29a4b4;return _0x52c197[_0x50f4fd(0x25d)]<0x18?_0x3363f6(_0x52c197):_0x57a12d(_0x52c197);};else{if(!process['env'][_0x29a4b4(0x217)])try{const _0x289529=Bt;ie['exports'][_0x29a4b4(0x2c2)]=function(_0x196131){const _0xe821b3=_0x29a4b4;return _0x196131[_0xe821b3(0x25d)]<0x20?_0x3363f6(_0x196131):_0x289529(_0x196131);};}catch{}}return ie['exports'];}var Se,Ke;function lt(){const _0x43818c=_0x149f8d;if(Ke)return Se;Ke=0x1;const {Writable:_0x35241c}=oe,_0x472037=he(),{BINARY_TYPES:_0x5c2e30,EMPTY_BUFFER:_0x1da133,kStatusCode:_0x5c2f30,kWebSocket:_0x25e66b}=H(),{concat:_0x2b592f,toArrayBuffer:_0x36f033,unmask:_0x15ee20}=ce(),{isValidStatusCode:_0x5c5743,isValidUTF8:_0x63fb0f}=ae(),_0x2a331a=Buffer[Symbol[_0x43818c(0x23f)]],_0x1f72e6=0x0,_0x1f6349=0x1,_0x263ede=0x2,_0x35a206=0x3,_0x58f589=0x4,_0x10ee81=0x5,_0x2bcee7=0x6;class _0x1b3a73 extends _0x35241c{constructor(_0x20ca06={}){const _0x56ca0b=_0x43818c;super(),this[_0x56ca0b(0x212)]=_0x20ca06[_0x56ca0b(0x185)]!==void 0x0?_0x20ca06[_0x56ca0b(0x185)]:!0x0,this['_binaryType']=_0x20ca06[_0x56ca0b(0x2cd)]||_0x5c2e30[0x0],this['_extensions']=_0x20ca06[_0x56ca0b(0x214)]||{},this[_0x56ca0b(0x29d)]=!!_0x20ca06[_0x56ca0b(0x246)],this[_0x56ca0b(0x15f)]=_0x20ca06[_0x56ca0b(0x242)]|0x0,this[_0x56ca0b(0x1ee)]=!!_0x20ca06[_0x56ca0b(0x289)],this[_0x25e66b]=void 0x0,this[_0x56ca0b(0x17f)]=0x0,this['_buffers']=[],this['_compressed']=!0x1,this['_payloadLength']=0x0,this[_0x56ca0b(0x1fd)]=void 0x0,this[_0x56ca0b(0x24b)]=0x0,this[_0x56ca0b(0x1f8)]=!0x1,this[_0x56ca0b(0x297)]=!0x1,this[_0x56ca0b(0x208)]=0x0,this['_totalPayloadLength']=0x0,this[_0x56ca0b(0x20e)]=0x0,this[_0x56ca0b(0x2df)]=[],this[_0x56ca0b(0x1ac)]=!0x1,this['_loop']=!0x1,this[_0x56ca0b(0x233)]=_0x1f72e6;}['_write'](_0x278979,_0x3bcbb9,_0xce8c59){const _0x56d2d3=_0x43818c;if(this[_0x56d2d3(0x208)]===0x8&&this[_0x56d2d3(0x233)]==_0x1f72e6)return _0xce8c59();this[_0x56d2d3(0x17f)]+=_0x278979['length'],this['_buffers'][_0x56d2d3(0x2d2)](_0x278979),this[_0x56d2d3(0x1b5)](_0xce8c59);}[_0x43818c(0x2b2)](_0xca30b6){const _0x409b51=_0x43818c;if(this[_0x409b51(0x17f)]-=_0xca30b6,_0xca30b6===this[_0x409b51(0x13c)][0x0]['length'])return this['_buffers'][_0x409b51(0x211)]();if(_0xca30b6<this[_0x409b51(0x13c)][0x0][_0x409b51(0x25d)]){const _0x23e6fc=this[_0x409b51(0x13c)][0x0];return this[_0x409b51(0x13c)][0x0]=new _0x2a331a(_0x23e6fc['buffer'],_0x23e6fc['byteOffset']+_0xca30b6,_0x23e6fc['length']-_0xca30b6),new _0x2a331a(_0x23e6fc[_0x409b51(0x1be)],_0x23e6fc[_0x409b51(0x286)],_0xca30b6);}const _0x41aa0c=Buffer[_0x409b51(0x155)](_0xca30b6);do{const _0x55a77a=this['_buffers'][0x0],_0x25301c=_0x41aa0c[_0x409b51(0x25d)]-_0xca30b6;_0xca30b6>=_0x55a77a['length']?_0x41aa0c[_0x409b51(0x2c9)](this[_0x409b51(0x13c)][_0x409b51(0x211)](),_0x25301c):(_0x41aa0c['set'](new Uint8Array(_0x55a77a['buffer'],_0x55a77a[_0x409b51(0x286)],_0xca30b6),_0x25301c),this[_0x409b51(0x13c)][0x0]=new _0x2a331a(_0x55a77a[_0x409b51(0x1be)],_0x55a77a['byteOffset']+_0xca30b6,_0x55a77a['length']-_0xca30b6)),_0xca30b6-=_0x55a77a[_0x409b51(0x25d)];}while(_0xca30b6>0x0);return _0x41aa0c;}[_0x43818c(0x1b5)](_0x48bcf9){const _0x5c2ff4=_0x43818c;this[_0x5c2ff4(0x252)]=!0x0;do switch(this[_0x5c2ff4(0x233)]){case _0x1f72e6:this[_0x5c2ff4(0x2d8)](_0x48bcf9);break;case _0x1f6349:this[_0x5c2ff4(0x2ab)](_0x48bcf9);break;case _0x263ede:this[_0x5c2ff4(0x238)](_0x48bcf9);break;case _0x35a206:this[_0x5c2ff4(0x157)]();break;case _0x58f589:this[_0x5c2ff4(0x2ce)](_0x48bcf9);break;case _0x10ee81:case _0x2bcee7:this['_loop']=!0x1;return;}while(this['_loop']);this[_0x5c2ff4(0x1ac)]||_0x48bcf9();}[_0x43818c(0x2d8)](_0x5a17eb){const _0x4740d=_0x43818c;if(this[_0x4740d(0x17f)]<0x2){this[_0x4740d(0x252)]=!0x1;return;}const _0x278992=this[_0x4740d(0x2b2)](0x2);if((_0x278992[0x0]&0x30)!==0x0){const _0x1053f0=this[_0x4740d(0x1d2)](RangeError,_0x4740d(0x2f9),!0x0,0x3ea,_0x4740d(0x231));_0x5a17eb(_0x1053f0);return;}const _0x3ea3da=(_0x278992[0x0]&0x40)===0x40;if(_0x3ea3da&&!this[_0x4740d(0x186)][_0x472037[_0x4740d(0x2cc)]]){const _0x5f521a=this[_0x4740d(0x1d2)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x4740d(0x167));_0x5a17eb(_0x5f521a);return;}if(this[_0x4740d(0x297)]=(_0x278992[0x0]&0x80)===0x80,this[_0x4740d(0x208)]=_0x278992[0x0]&0xf,this[_0x4740d(0x210)]=_0x278992[0x1]&0x7f,this[_0x4740d(0x208)]===0x0){if(_0x3ea3da){const _0x47558b=this[_0x4740d(0x1d2)](RangeError,_0x4740d(0x19c),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x5a17eb(_0x47558b);return;}if(!this['_fragmented']){const _0x27cca3=this[_0x4740d(0x1d2)](RangeError,_0x4740d(0x141),!0x0,0x3ea,_0x4740d(0x13d));_0x5a17eb(_0x27cca3);return;}this['_opcode']=this['_fragmented'];}else{if(this['_opcode']===0x1||this['_opcode']===0x2){if(this[_0x4740d(0x24b)]){const _0x1f1fc6=this[_0x4740d(0x1d2)](RangeError,'invalid\x20opcode\x20'+this[_0x4740d(0x208)],!0x0,0x3ea,_0x4740d(0x13d));_0x5a17eb(_0x1f1fc6);return;}this[_0x4740d(0x2dd)]=_0x3ea3da;}else{if(this[_0x4740d(0x208)]>0x7&&this[_0x4740d(0x208)]<0xb){if(!this[_0x4740d(0x297)]){const _0x5abfad=this[_0x4740d(0x1d2)](RangeError,_0x4740d(0x21f),!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0x5a17eb(_0x5abfad);return;}if(_0x3ea3da){const _0x476696=this[_0x4740d(0x1d2)](RangeError,_0x4740d(0x19c),!0x0,0x3ea,_0x4740d(0x167));_0x5a17eb(_0x476696);return;}if(this[_0x4740d(0x210)]>0x7d||this[_0x4740d(0x208)]===0x8&&this['_payloadLength']===0x1){const _0x2a25f3=this['createError'](RangeError,'invalid\x20payload\x20length\x20'+this[_0x4740d(0x210)],!0x0,0x3ea,_0x4740d(0x29b));_0x5a17eb(_0x2a25f3);return;}}else{const _0x2a41d4=this[_0x4740d(0x1d2)](RangeError,_0x4740d(0x1a3)+this['_opcode'],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x5a17eb(_0x2a41d4);return;}}}if(!this[_0x4740d(0x297)]&&!this['_fragmented']&&(this[_0x4740d(0x24b)]=this['_opcode']),this[_0x4740d(0x1f8)]=(_0x278992[0x1]&0x80)===0x80,this[_0x4740d(0x29d)]){if(!this['_masked']){const _0x4207b6=this[_0x4740d(0x1d2)](RangeError,_0x4740d(0x30c),!0x0,0x3ea,_0x4740d(0x1e2));_0x5a17eb(_0x4207b6);return;}}else{if(this[_0x4740d(0x1f8)]){const _0x30e80d=this['createError'](RangeError,'MASK\x20must\x20be\x20clear',!0x0,0x3ea,_0x4740d(0x2d7));_0x5a17eb(_0x30e80d);return;}}this[_0x4740d(0x210)]===0x7e?this[_0x4740d(0x233)]=_0x1f6349:this[_0x4740d(0x210)]===0x7f?this[_0x4740d(0x233)]=_0x263ede:this['haveLength'](_0x5a17eb);}['getPayloadLength16'](_0x2af0e1){const _0x2be48e=_0x43818c;if(this['_bufferedBytes']<0x2){this[_0x2be48e(0x252)]=!0x1;return;}this['_payloadLength']=this[_0x2be48e(0x2b2)](0x2)[_0x2be48e(0x1fb)](0x0),this[_0x2be48e(0x161)](_0x2af0e1);}[_0x43818c(0x238)](_0x54c502){const _0xad223e=_0x43818c;if(this[_0xad223e(0x17f)]<0x8){this['_loop']=!0x1;return;}const _0x581fa5=this['consume'](0x8),_0x45c855=_0x581fa5[_0xad223e(0x180)](0x0);if(_0x45c855>Math['pow'](0x2,0x15)-0x1){const _0x35221a=this[_0xad223e(0x1d2)](RangeError,_0xad223e(0x173),!0x1,0x3f1,_0xad223e(0x2e9));_0x54c502(_0x35221a);return;}this['_payloadLength']=_0x45c855*Math[_0xad223e(0x14d)](0x2,0x20)+_0x581fa5[_0xad223e(0x180)](0x4),this[_0xad223e(0x161)](_0x54c502);}[_0x43818c(0x161)](_0x1cfd90){const _0xf9e2f8=_0x43818c;if(this[_0xf9e2f8(0x210)]&&this['_opcode']<0x8&&(this[_0xf9e2f8(0x18f)]+=this['_payloadLength'],this['_totalPayloadLength']>this[_0xf9e2f8(0x15f)]&&this['_maxPayload']>0x0)){const _0x488d12=this['createError'](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x1cfd90(_0x488d12);return;}this[_0xf9e2f8(0x1f8)]?this[_0xf9e2f8(0x233)]=_0x35a206:this[_0xf9e2f8(0x233)]=_0x58f589;}[_0x43818c(0x157)](){const _0x31efe7=_0x43818c;if(this[_0x31efe7(0x17f)]<0x4){this[_0x31efe7(0x252)]=!0x1;return;}this['_mask']=this[_0x31efe7(0x2b2)](0x4),this[_0x31efe7(0x233)]=_0x58f589;}['getData'](_0x3c6e44){const _0x3a2c89=_0x43818c;let _0x2b7ef9=_0x1da133;if(this[_0x3a2c89(0x210)]){if(this[_0x3a2c89(0x17f)]<this[_0x3a2c89(0x210)]){this[_0x3a2c89(0x252)]=!0x1;return;}_0x2b7ef9=this[_0x3a2c89(0x2b2)](this[_0x3a2c89(0x210)]),this[_0x3a2c89(0x1f8)]&&(this[_0x3a2c89(0x1fd)][0x0]|this[_0x3a2c89(0x1fd)][0x1]|this[_0x3a2c89(0x1fd)][0x2]|this[_0x3a2c89(0x1fd)][0x3])!==0x0&&_0x15ee20(_0x2b7ef9,this[_0x3a2c89(0x1fd)]);}if(this[_0x3a2c89(0x208)]>0x7){this[_0x3a2c89(0x2c6)](_0x2b7ef9,_0x3c6e44);return;}if(this['_compressed']){this[_0x3a2c89(0x233)]=_0x10ee81,this[_0x3a2c89(0x176)](_0x2b7ef9,_0x3c6e44);return;}_0x2b7ef9['length']&&(this[_0x3a2c89(0x20e)]=this[_0x3a2c89(0x18f)],this[_0x3a2c89(0x2df)][_0x3a2c89(0x2d2)](_0x2b7ef9)),this['dataMessage'](_0x3c6e44);}[_0x43818c(0x176)](_0x54211b,_0x4c9886){const _0x38379f=_0x43818c;this[_0x38379f(0x186)][_0x472037['extensionName']][_0x38379f(0x176)](_0x54211b,this[_0x38379f(0x297)],(_0x10e639,_0xe51b23)=>{const _0x15f85d=_0x38379f;if(_0x10e639)return _0x4c9886(_0x10e639);if(_0xe51b23[_0x15f85d(0x25d)]){if(this['_messageLength']+=_0xe51b23[_0x15f85d(0x25d)],this[_0x15f85d(0x20e)]>this['_maxPayload']&&this[_0x15f85d(0x15f)]>0x0){const _0x37c787=this[_0x15f85d(0x1d2)](RangeError,_0x15f85d(0x241),!0x1,0x3f1,_0x15f85d(0x225));_0x4c9886(_0x37c787);return;}this[_0x15f85d(0x2df)][_0x15f85d(0x2d2)](_0xe51b23);}this[_0x15f85d(0x139)](_0x4c9886),this[_0x15f85d(0x233)]===_0x1f72e6&&this[_0x15f85d(0x1b5)](_0x4c9886);});}[_0x43818c(0x139)](_0x58ec67){const _0x57c28b=_0x43818c;if(!this['_fin']){this[_0x57c28b(0x233)]=_0x1f72e6;return;}const _0x278db2=this['_messageLength'],_0x4df9c7=this[_0x57c28b(0x2df)];if(this[_0x57c28b(0x18f)]=0x0,this[_0x57c28b(0x20e)]=0x0,this[_0x57c28b(0x24b)]=0x0,this[_0x57c28b(0x2df)]=[],this[_0x57c28b(0x208)]===0x2){let _0x184167;this['_binaryType']===_0x57c28b(0x205)?_0x184167=_0x2b592f(_0x4df9c7,_0x278db2):this[_0x57c28b(0x2ed)]===_0x57c28b(0x1f2)?_0x184167=_0x36f033(_0x2b592f(_0x4df9c7,_0x278db2)):this[_0x57c28b(0x2ed)]==='blob'?_0x184167=new Blob(_0x4df9c7):_0x184167=_0x4df9c7,this['_allowSynchronousEvents']?(this[_0x57c28b(0x303)](_0x57c28b(0x19e),_0x184167,!0x0),this['_state']=_0x1f72e6):(this[_0x57c28b(0x233)]=_0x2bcee7,setImmediate(()=>{const _0x4806fa=_0x57c28b;this['emit'](_0x4806fa(0x19e),_0x184167,!0x0),this[_0x4806fa(0x233)]=_0x1f72e6,this['startLoop'](_0x58ec67);}));}else{const _0x353ac1=_0x2b592f(_0x4df9c7,_0x278db2);if(!this['_skipUTF8Validation']&&!_0x63fb0f(_0x353ac1)){const _0x6ea231=this[_0x57c28b(0x1d2)](Error,_0x57c28b(0x2b3),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x58ec67(_0x6ea231);return;}this[_0x57c28b(0x233)]===_0x10ee81||this[_0x57c28b(0x212)]?(this['emit'](_0x57c28b(0x19e),_0x353ac1,!0x1),this['_state']=_0x1f72e6):(this[_0x57c28b(0x233)]=_0x2bcee7,setImmediate(()=>{const _0x5dda3b=_0x57c28b;this[_0x5dda3b(0x303)](_0x5dda3b(0x19e),_0x353ac1,!0x1),this[_0x5dda3b(0x233)]=_0x1f72e6,this['startLoop'](_0x58ec67);}));}}[_0x43818c(0x2c6)](_0x131b81,_0x1d72ce){const _0x5266f6=_0x43818c;if(this[_0x5266f6(0x208)]===0x8){if(_0x131b81['length']===0x0)this[_0x5266f6(0x252)]=!0x1,this[_0x5266f6(0x303)](_0x5266f6(0x2f1),0x3ed,_0x1da133),this[_0x5266f6(0x1b6)]();else{const _0x36e599=_0x131b81[_0x5266f6(0x1fb)](0x0);if(!_0x5c5743(_0x36e599)){const _0xdb9954=this['createError'](RangeError,'invalid\x20status\x20code\x20'+_0x36e599,!0x0,0x3ea,_0x5266f6(0x158));_0x1d72ce(_0xdb9954);return;}const _0x4e2146=new _0x2a331a(_0x131b81[_0x5266f6(0x1be)],_0x131b81[_0x5266f6(0x286)]+0x2,_0x131b81['length']-0x2);if(!this[_0x5266f6(0x1ee)]&&!_0x63fb0f(_0x4e2146)){const _0x16ab2c=this[_0x5266f6(0x1d2)](Error,_0x5266f6(0x2b3),!0x0,0x3ef,_0x5266f6(0x1e5));_0x1d72ce(_0x16ab2c);return;}this[_0x5266f6(0x252)]=!0x1,this[_0x5266f6(0x303)](_0x5266f6(0x2f1),_0x36e599,_0x4e2146),this[_0x5266f6(0x1b6)]();}this['_state']=_0x1f72e6;return;}this[_0x5266f6(0x212)]?(this[_0x5266f6(0x303)](this[_0x5266f6(0x208)]===0x9?'ping':_0x5266f6(0x307),_0x131b81),this['_state']=_0x1f72e6):(this[_0x5266f6(0x233)]=_0x2bcee7,setImmediate(()=>{const _0x350b6b=_0x5266f6;this['emit'](this[_0x350b6b(0x208)]===0x9?_0x350b6b(0x14f):'pong',_0x131b81),this[_0x350b6b(0x233)]=_0x1f72e6,this[_0x350b6b(0x1b5)](_0x1d72ce);}));}['createError'](_0x2fc08a,_0x395a49,_0x3e4c83,_0x32f188,_0x17f72e){const _0x5b24c6=_0x43818c;this['_loop']=!0x1,this[_0x5b24c6(0x1ac)]=!0x0;const _0xfc77d=new _0x2fc08a(_0x3e4c83?_0x5b24c6(0x2c0)+_0x395a49:_0x395a49);return Error[_0x5b24c6(0x30a)](_0xfc77d,this[_0x5b24c6(0x1d2)]),_0xfc77d[_0x5b24c6(0x17d)]=_0x17f72e,_0xfc77d[_0x5c2f30]=_0x32f188,_0xfc77d;}}return Se=_0x1b3a73,Se;}var Ee,Xe;function ft(){const _0x21f9eb=_0x149f8d;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x26cdff}=oe,{randomFillSync:_0x28853b}=Le,_0x49be55=he(),{EMPTY_BUFFER:_0x135717,kWebSocket:_0x4f9eab,NOOP:_0x295506}=H(),{isBlob:_0x4bb53d,isValidStatusCode:_0x2ebed0}=ae(),{mask:_0x2e2c53,toBuffer:_0x2f8618}=ce(),_0x5ab5f2=Symbol(_0x21f9eb(0x163)),_0x39641e=Buffer[_0x21f9eb(0x2a1)](0x4),_0x181c73=0x8*0x400;let _0x34f27a,_0x30e6c1=_0x181c73;const _0x5ca27c=0x0,_0x259ff5=0x1,_0x255806=0x2;class _0x5eeba2{constructor(_0x22bd52,_0x52284b,_0x4a6b4d){const _0x7d24c6=_0x21f9eb;this[_0x7d24c6(0x186)]=_0x52284b||{},_0x4a6b4d&&(this['_generateMask']=_0x4a6b4d,this[_0x7d24c6(0x227)]=Buffer[_0x7d24c6(0x2a1)](0x4)),this[_0x7d24c6(0x169)]=_0x22bd52,this[_0x7d24c6(0x294)]=!0x0,this[_0x7d24c6(0x1d6)]=!0x1,this['_bufferedBytes']=0x0,this[_0x7d24c6(0x1ea)]=[],this[_0x7d24c6(0x233)]=_0x5ca27c,this[_0x7d24c6(0x2f3)]=_0x295506,this[_0x4f9eab]=void 0x0;}static[_0x21f9eb(0x258)](_0x1cf760,_0x1c0539){const _0x47c0a9=_0x21f9eb;let _0x274282,_0x184a08=!0x1,_0x495756=0x2,_0x3d89a6=!0x1;_0x1c0539[_0x47c0a9(0x1cc)]&&(_0x274282=_0x1c0539[_0x47c0a9(0x13f)]||_0x39641e,_0x1c0539[_0x47c0a9(0x138)]?_0x1c0539[_0x47c0a9(0x138)](_0x274282):(_0x30e6c1===_0x181c73&&(_0x34f27a===void 0x0&&(_0x34f27a=Buffer[_0x47c0a9(0x2a1)](_0x181c73)),_0x28853b(_0x34f27a,0x0,_0x181c73),_0x30e6c1=0x0),_0x274282[0x0]=_0x34f27a[_0x30e6c1++],_0x274282[0x1]=_0x34f27a[_0x30e6c1++],_0x274282[0x2]=_0x34f27a[_0x30e6c1++],_0x274282[0x3]=_0x34f27a[_0x30e6c1++]),_0x3d89a6=(_0x274282[0x0]|_0x274282[0x1]|_0x274282[0x2]|_0x274282[0x3])===0x0,_0x495756=0x6);let _0x354079;typeof _0x1cf760=='string'?(!_0x1c0539['mask']||_0x3d89a6)&&_0x1c0539[_0x5ab5f2]!==void 0x0?_0x354079=_0x1c0539[_0x5ab5f2]:(_0x1cf760=Buffer[_0x47c0a9(0x308)](_0x1cf760),_0x354079=_0x1cf760['length']):(_0x354079=_0x1cf760[_0x47c0a9(0x25d)],_0x184a08=_0x1c0539['mask']&&_0x1c0539[_0x47c0a9(0x2bb)]&&!_0x3d89a6);let _0x5f053d=_0x354079;_0x354079>=0x10000?(_0x495756+=0x8,_0x5f053d=0x7f):_0x354079>0x7d&&(_0x495756+=0x2,_0x5f053d=0x7e);const _0x55e49d=Buffer[_0x47c0a9(0x155)](_0x184a08?_0x354079+_0x495756:_0x495756);return _0x55e49d[0x0]=_0x1c0539[_0x47c0a9(0x2d0)]?_0x1c0539['opcode']|0x80:_0x1c0539[_0x47c0a9(0x1a2)],_0x1c0539[_0x47c0a9(0x1dd)]&&(_0x55e49d[0x0]|=0x40),_0x55e49d[0x1]=_0x5f053d,_0x5f053d===0x7e?_0x55e49d[_0x47c0a9(0x1fa)](_0x354079,0x2):_0x5f053d===0x7f&&(_0x55e49d[0x2]=_0x55e49d[0x3]=0x0,_0x55e49d['writeUIntBE'](_0x354079,0x4,0x6)),_0x1c0539[_0x47c0a9(0x1cc)]?(_0x55e49d[0x1]|=0x80,_0x55e49d[_0x495756-0x4]=_0x274282[0x0],_0x55e49d[_0x495756-0x3]=_0x274282[0x1],_0x55e49d[_0x495756-0x2]=_0x274282[0x2],_0x55e49d[_0x495756-0x1]=_0x274282[0x3],_0x3d89a6?[_0x55e49d,_0x1cf760]:_0x184a08?(_0x2e2c53(_0x1cf760,_0x274282,_0x55e49d,_0x495756,_0x354079),[_0x55e49d]):(_0x2e2c53(_0x1cf760,_0x274282,_0x1cf760,0x0,_0x354079),[_0x55e49d,_0x1cf760])):[_0x55e49d,_0x1cf760];}[_0x21f9eb(0x284)](_0x195024,_0x18c26e,_0x3cdb61,_0x1c6890){const _0x18e33b=_0x21f9eb;let _0x4318ea;if(_0x195024===void 0x0)_0x4318ea=_0x135717;else{if(typeof _0x195024!=_0x18e33b(0x30d)||!_0x2ebed0(_0x195024))throw new TypeError(_0x18e33b(0x1e6));if(_0x18c26e===void 0x0||!_0x18c26e[_0x18e33b(0x25d)])_0x4318ea=Buffer[_0x18e33b(0x155)](0x2),_0x4318ea[_0x18e33b(0x1fa)](_0x195024,0x0);else{const _0x479a10=Buffer[_0x18e33b(0x2c7)](_0x18c26e);if(_0x479a10>0x7b)throw new RangeError(_0x18e33b(0x25c));_0x4318ea=Buffer['allocUnsafe'](0x2+_0x479a10),_0x4318ea['writeUInt16BE'](_0x195024,0x0),typeof _0x18c26e==_0x18e33b(0x23d)?_0x4318ea['write'](_0x18c26e,0x2):_0x4318ea['set'](_0x18c26e,0x2);}}const _0x10faf8={[_0x5ab5f2]:_0x4318ea[_0x18e33b(0x25d)],'fin':!0x0,'generateMask':this[_0x18e33b(0x248)],'mask':_0x3cdb61,'maskBuffer':this[_0x18e33b(0x227)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x18e33b(0x233)]!==_0x5ca27c?this['enqueue']([this[_0x18e33b(0x150)],_0x4318ea,!0x1,_0x10faf8,_0x1c6890]):this['sendFrame'](_0x5eeba2[_0x18e33b(0x258)](_0x4318ea,_0x10faf8),_0x1c6890);}[_0x21f9eb(0x14f)](_0x2f6b03,_0x5b5a1f,_0x15a10d){const _0x43b2e5=_0x21f9eb;let _0x3a18c3,_0x1acc75;if(typeof _0x2f6b03=='string'?(_0x3a18c3=Buffer[_0x43b2e5(0x2c7)](_0x2f6b03),_0x1acc75=!0x1):_0x4bb53d(_0x2f6b03)?(_0x3a18c3=_0x2f6b03[_0x43b2e5(0x15e)],_0x1acc75=!0x1):(_0x2f6b03=_0x2f8618(_0x2f6b03),_0x3a18c3=_0x2f6b03[_0x43b2e5(0x25d)],_0x1acc75=_0x2f8618['readOnly']),_0x3a18c3>0x7d)throw new RangeError(_0x43b2e5(0x2e0));const _0x545b57={[_0x5ab5f2]:_0x3a18c3,'fin':!0x0,'generateMask':this[_0x43b2e5(0x248)],'mask':_0x5b5a1f,'maskBuffer':this['_maskBuffer'],'opcode':0x9,'readOnly':_0x1acc75,'rsv1':!0x1};_0x4bb53d(_0x2f6b03)?this[_0x43b2e5(0x233)]!==_0x5ca27c?this[_0x43b2e5(0x282)]([this[_0x43b2e5(0x2eb)],_0x2f6b03,!0x1,_0x545b57,_0x15a10d]):this['getBlobData'](_0x2f6b03,!0x1,_0x545b57,_0x15a10d):this[_0x43b2e5(0x233)]!==_0x5ca27c?this[_0x43b2e5(0x282)]([this[_0x43b2e5(0x150)],_0x2f6b03,!0x1,_0x545b57,_0x15a10d]):this[_0x43b2e5(0x259)](_0x5eeba2[_0x43b2e5(0x258)](_0x2f6b03,_0x545b57),_0x15a10d);}[_0x21f9eb(0x307)](_0x26fca6,_0x5f5d1d,_0x3dcb1a){const _0x400c88=_0x21f9eb;let _0x3c7eca,_0x12b89c;if(typeof _0x26fca6==_0x400c88(0x23d)?(_0x3c7eca=Buffer[_0x400c88(0x2c7)](_0x26fca6),_0x12b89c=!0x1):_0x4bb53d(_0x26fca6)?(_0x3c7eca=_0x26fca6[_0x400c88(0x15e)],_0x12b89c=!0x1):(_0x26fca6=_0x2f8618(_0x26fca6),_0x3c7eca=_0x26fca6[_0x400c88(0x25d)],_0x12b89c=_0x2f8618['readOnly']),_0x3c7eca>0x7d)throw new RangeError(_0x400c88(0x2e0));const _0x27e994={[_0x5ab5f2]:_0x3c7eca,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x5f5d1d,'maskBuffer':this[_0x400c88(0x227)],'opcode':0xa,'readOnly':_0x12b89c,'rsv1':!0x1};_0x4bb53d(_0x26fca6)?this['_state']!==_0x5ca27c?this['enqueue']([this['getBlobData'],_0x26fca6,!0x1,_0x27e994,_0x3dcb1a]):this['getBlobData'](_0x26fca6,!0x1,_0x27e994,_0x3dcb1a):this[_0x400c88(0x233)]!==_0x5ca27c?this[_0x400c88(0x282)]([this[_0x400c88(0x150)],_0x26fca6,!0x1,_0x27e994,_0x3dcb1a]):this[_0x400c88(0x259)](_0x5eeba2['frame'](_0x26fca6,_0x27e994),_0x3dcb1a);}[_0x21f9eb(0x267)](_0x47cb7e,_0x3d27f6,_0x2e5ef5){const _0x526834=_0x21f9eb,_0x5ef937=this[_0x526834(0x186)][_0x49be55['extensionName']];let _0x1e6b36=_0x3d27f6[_0x526834(0x137)]?0x2:0x1,_0x3ea778=_0x3d27f6[_0x526834(0x2e1)],_0x59013f,_0x131464;typeof _0x47cb7e=='string'?(_0x59013f=Buffer[_0x526834(0x2c7)](_0x47cb7e),_0x131464=!0x1):_0x4bb53d(_0x47cb7e)?(_0x59013f=_0x47cb7e['size'],_0x131464=!0x1):(_0x47cb7e=_0x2f8618(_0x47cb7e),_0x59013f=_0x47cb7e[_0x526834(0x25d)],_0x131464=_0x2f8618[_0x526834(0x2bb)]),this[_0x526834(0x294)]?(this[_0x526834(0x294)]=!0x1,_0x3ea778&&_0x5ef937&&_0x5ef937[_0x526834(0x255)][_0x5ef937[_0x526834(0x29d)]?_0x526834(0x2ff):'client_no_context_takeover']&&(_0x3ea778=_0x59013f>=_0x5ef937['_threshold']),this[_0x526834(0x1d6)]=_0x3ea778):(_0x3ea778=!0x1,_0x1e6b36=0x0),_0x3d27f6['fin']&&(this[_0x526834(0x294)]=!0x0);const _0x48f8d6={[_0x5ab5f2]:_0x59013f,'fin':_0x3d27f6[_0x526834(0x2d0)],'generateMask':this[_0x526834(0x248)],'mask':_0x3d27f6['mask'],'maskBuffer':this['_maskBuffer'],'opcode':_0x1e6b36,'readOnly':_0x131464,'rsv1':_0x3ea778};_0x4bb53d(_0x47cb7e)?this['_state']!==_0x5ca27c?this[_0x526834(0x282)]([this[_0x526834(0x2eb)],_0x47cb7e,this['_compress'],_0x48f8d6,_0x2e5ef5]):this['getBlobData'](_0x47cb7e,this[_0x526834(0x1d6)],_0x48f8d6,_0x2e5ef5):this[_0x526834(0x233)]!==_0x5ca27c?this[_0x526834(0x282)]([this[_0x526834(0x150)],_0x47cb7e,this[_0x526834(0x1d6)],_0x48f8d6,_0x2e5ef5]):this[_0x526834(0x150)](_0x47cb7e,this['_compress'],_0x48f8d6,_0x2e5ef5);}[_0x21f9eb(0x2eb)](_0x41c659,_0x10e79a,_0x1c3fc8,_0x4daf89){const _0x603864=_0x21f9eb;this[_0x603864(0x17f)]+=_0x1c3fc8[_0x5ab5f2],this[_0x603864(0x233)]=_0x255806,_0x41c659[_0x603864(0x293)]()[_0x603864(0x22b)](_0xd550ba=>{const _0x2f0048=_0x603864;if(this[_0x2f0048(0x169)][_0x2f0048(0x26d)]){const _0x31f286=new Error('The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read');process[_0x2f0048(0x1c7)](_0x20dff6,this,_0x31f286,_0x4daf89);return;}this[_0x2f0048(0x17f)]-=_0x1c3fc8[_0x5ab5f2];const _0x5d36e4=_0x2f8618(_0xd550ba);_0x10e79a?this[_0x2f0048(0x150)](_0x5d36e4,_0x10e79a,_0x1c3fc8,_0x4daf89):(this['_state']=_0x5ca27c,this[_0x2f0048(0x259)](_0x5eeba2[_0x2f0048(0x258)](_0x5d36e4,_0x1c3fc8),_0x4daf89),this['dequeue']());})[_0x603864(0x2bf)](_0x15aba2=>{process['nextTick'](_0x2e34cf,this,_0x15aba2,_0x4daf89);});}[_0x21f9eb(0x150)](_0x165666,_0x8c7c53,_0x4543cf,_0x4f74f9){const _0x34c5ab=_0x21f9eb;if(!_0x8c7c53){this[_0x34c5ab(0x259)](_0x5eeba2[_0x34c5ab(0x258)](_0x165666,_0x4543cf),_0x4f74f9);return;}const _0x31d982=this[_0x34c5ab(0x186)][_0x49be55[_0x34c5ab(0x2cc)]];this[_0x34c5ab(0x17f)]+=_0x4543cf[_0x5ab5f2],this['_state']=_0x259ff5,_0x31d982[_0x34c5ab(0x2e1)](_0x165666,_0x4543cf[_0x34c5ab(0x2d0)],(_0x2cfab8,_0x28e25e)=>{const _0x1f7f4f=_0x34c5ab;if(this[_0x1f7f4f(0x169)][_0x1f7f4f(0x26d)]){const _0x503cef=new Error(_0x1f7f4f(0x2c1));_0x20dff6(this,_0x503cef,_0x4f74f9);return;}this[_0x1f7f4f(0x17f)]-=_0x4543cf[_0x5ab5f2],this[_0x1f7f4f(0x233)]=_0x5ca27c,_0x4543cf[_0x1f7f4f(0x2bb)]=!0x1,this[_0x1f7f4f(0x259)](_0x5eeba2[_0x1f7f4f(0x258)](_0x28e25e,_0x4543cf),_0x4f74f9),this[_0x1f7f4f(0x275)]();});}[_0x21f9eb(0x275)](){const _0x4d0d36=_0x21f9eb;for(;this[_0x4d0d36(0x233)]===_0x5ca27c&&this[_0x4d0d36(0x1ea)][_0x4d0d36(0x25d)];){const _0xcb6083=this[_0x4d0d36(0x1ea)][_0x4d0d36(0x211)]();this[_0x4d0d36(0x17f)]-=_0xcb6083[0x3][_0x5ab5f2],Reflect[_0x4d0d36(0x2b0)](_0xcb6083[0x0],this,_0xcb6083[_0x4d0d36(0x22d)](0x1));}}[_0x21f9eb(0x282)](_0x4d2e66){const _0x302876=_0x21f9eb;this['_bufferedBytes']+=_0x4d2e66[0x3][_0x5ab5f2],this['_queue'][_0x302876(0x2d2)](_0x4d2e66);}['sendFrame'](_0xdacf47,_0x5ee4d7){const _0x35c581=_0x21f9eb;_0xdacf47[_0x35c581(0x25d)]===0x2?(this['_socket'][_0x35c581(0x27e)](),this[_0x35c581(0x169)][_0x35c581(0x17a)](_0xdacf47[0x0]),this[_0x35c581(0x169)][_0x35c581(0x17a)](_0xdacf47[0x1],_0x5ee4d7),this[_0x35c581(0x169)][_0x35c581(0x146)]()):this['_socket'][_0x35c581(0x17a)](_0xdacf47[0x0],_0x5ee4d7);}}Ee=_0x5eeba2;function _0x20dff6(_0x5782fa,_0x21396f,_0x119edd){const _0x16be47=_0x21f9eb;typeof _0x119edd==_0x16be47(0x189)&&_0x119edd(_0x21396f);for(let _0xf0d23a=0x0;_0xf0d23a<_0x5782fa[_0x16be47(0x1ea)][_0x16be47(0x25d)];_0xf0d23a++){const _0x4f01b0=_0x5782fa['_queue'][_0xf0d23a],_0x210082=_0x4f01b0[_0x4f01b0[_0x16be47(0x25d)]-0x1];typeof _0x210082==_0x16be47(0x189)&&_0x210082(_0x21396f);}}function _0x2e34cf(_0x1ce4e8,_0x4c8290,_0x3ad53e){const _0x12c94f=_0x21f9eb;_0x20dff6(_0x1ce4e8,_0x4c8290,_0x3ad53e),_0x1ce4e8[_0x12c94f(0x2f3)](_0x4c8290);}return Ee;}var xe,Ze;function It(){const _0x35afd2=_0x149f8d;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x589d2f,kListener:_0x5768ca}=H(),_0x37f291=Symbol('kCode'),_0x507eb2=Symbol(_0x35afd2(0x30e)),_0x425621=Symbol(_0x35afd2(0x1b0)),_0x4d510c=Symbol(_0x35afd2(0x298)),_0x2b4f83=Symbol(_0x35afd2(0x16c)),_0x5c428c=Symbol(_0x35afd2(0x1cd)),_0x117a71=Symbol(_0x35afd2(0x1c6)),_0x4d394e=Symbol(_0x35afd2(0x1b4));class _0x3b9e0a{constructor(_0x20498e){this[_0x5c428c]=null,this[_0x117a71]=_0x20498e;}get[_0x35afd2(0x1af)](){return this[_0x5c428c];}get['type'](){return this[_0x117a71];}}Object[_0x35afd2(0x2a7)](_0x3b9e0a[_0x35afd2(0x23e)],_0x35afd2(0x1af),{'enumerable':!0x0}),Object[_0x35afd2(0x2a7)](_0x3b9e0a[_0x35afd2(0x23e)],'type',{'enumerable':!0x0});class _0x343e93 extends _0x3b9e0a{constructor(_0x44f3f6,_0x26177={}){const _0x56602d=_0x35afd2;super(_0x44f3f6),this[_0x37f291]=_0x26177['code']===void 0x0?0x0:_0x26177[_0x56602d(0x17d)],this[_0x2b4f83]=_0x26177['reason']===void 0x0?'':_0x26177[_0x56602d(0x22c)],this[_0x4d394e]=_0x26177[_0x56602d(0x2a4)]===void 0x0?!0x1:_0x26177[_0x56602d(0x2a4)];}get['code'](){return this[_0x37f291];}get['reason'](){return this[_0x2b4f83];}get[_0x35afd2(0x2a4)](){return this[_0x4d394e];}}Object[_0x35afd2(0x2a7)](_0x343e93['prototype'],_0x35afd2(0x17d),{'enumerable':!0x0}),Object[_0x35afd2(0x2a7)](_0x343e93[_0x35afd2(0x23e)],_0x35afd2(0x22c),{'enumerable':!0x0}),Object[_0x35afd2(0x2a7)](_0x343e93[_0x35afd2(0x23e)],_0x35afd2(0x2a4),{'enumerable':!0x0});class _0x4feaa5 extends _0x3b9e0a{constructor(_0x15c59c,_0x5cfb7b={}){const _0x3b2edb=_0x35afd2;super(_0x15c59c),this[_0x425621]=_0x5cfb7b[_0x3b2edb(0x196)]===void 0x0?null:_0x5cfb7b['error'],this[_0x4d510c]=_0x5cfb7b[_0x3b2edb(0x19e)]===void 0x0?'':_0x5cfb7b[_0x3b2edb(0x19e)];}get[_0x35afd2(0x196)](){return this[_0x425621];}get[_0x35afd2(0x19e)](){return this[_0x4d510c];}}Object[_0x35afd2(0x2a7)](_0x4feaa5[_0x35afd2(0x23e)],_0x35afd2(0x196),{'enumerable':!0x0}),Object[_0x35afd2(0x2a7)](_0x4feaa5[_0x35afd2(0x23e)],_0x35afd2(0x19e),{'enumerable':!0x0});class _0x1c1c96 extends _0x3b9e0a{constructor(_0x305591,_0xd6c220={}){const _0x21a160=_0x35afd2;super(_0x305591),this[_0x507eb2]=_0xd6c220[_0x21a160(0x165)]===void 0x0?null:_0xd6c220[_0x21a160(0x165)];}get['data'](){return this[_0x507eb2];}}Object[_0x35afd2(0x2a7)](_0x1c1c96[_0x35afd2(0x23e)],_0x35afd2(0x165),{'enumerable':!0x0}),xe={'CloseEvent':_0x343e93,'ErrorEvent':_0x4feaa5,'Event':_0x3b9e0a,'EventTarget':{'addEventListener'(_0x54536c,_0x1c5bbf,_0x43f690={}){const _0x54ebdf=_0x35afd2;for(const _0x28227f of this['listeners'](_0x54536c))if(!_0x43f690[_0x589d2f]&&_0x28227f[_0x5768ca]===_0x1c5bbf&&!_0x28227f[_0x589d2f])return;let _0x2fe4fc;if(_0x54536c==='message')_0x2fe4fc=function(_0x2029a8,_0x5ad51a){const _0x5a653f=_0x6e7e,_0x54a2f9=new _0x1c1c96(_0x5a653f(0x19e),{'data':_0x5ad51a?_0x2029a8:_0x2029a8['toString']()});_0x54a2f9[_0x5c428c]=this,_0x1737a5(_0x1c5bbf,this,_0x54a2f9);};else{if(_0x54536c===_0x54ebdf(0x284))_0x2fe4fc=function(_0x3c6de7,_0xd9208a){const _0x8c0611=_0x54ebdf,_0x4abdcd=new _0x343e93(_0x8c0611(0x284),{'code':_0x3c6de7,'reason':_0xd9208a[_0x8c0611(0x232)](),'wasClean':this['_closeFrameReceived']&&this[_0x8c0611(0x2db)]});_0x4abdcd[_0x5c428c]=this,_0x1737a5(_0x1c5bbf,this,_0x4abdcd);};else{if(_0x54536c===_0x54ebdf(0x196))_0x2fe4fc=function(_0x116515){const _0xa3bb0b=_0x54ebdf,_0x497fa8=new _0x4feaa5(_0xa3bb0b(0x196),{'error':_0x116515,'message':_0x116515[_0xa3bb0b(0x19e)]});_0x497fa8[_0x5c428c]=this,_0x1737a5(_0x1c5bbf,this,_0x497fa8);};else{if(_0x54536c===_0x54ebdf(0x295))_0x2fe4fc=function(){const _0x50cf44=_0x54ebdf,_0x3a9352=new _0x3b9e0a(_0x50cf44(0x295));_0x3a9352[_0x5c428c]=this,_0x1737a5(_0x1c5bbf,this,_0x3a9352);};else return;}}}_0x2fe4fc[_0x589d2f]=!!_0x43f690[_0x589d2f],_0x2fe4fc[_0x5768ca]=_0x1c5bbf,_0x43f690[_0x54ebdf(0x18c)]?this[_0x54ebdf(0x18c)](_0x54536c,_0x2fe4fc):this['on'](_0x54536c,_0x2fe4fc);},'removeEventListener'(_0x162d6c,_0x378fe0){const _0x5c7436=_0x35afd2;for(const _0x7d653f of this[_0x5c7436(0x24e)](_0x162d6c))if(_0x7d653f[_0x5768ca]===_0x378fe0&&!_0x7d653f[_0x589d2f]){this[_0x5c7436(0x181)](_0x162d6c,_0x7d653f);break;}}},'MessageEvent':_0x1c1c96};function _0x1737a5(_0x2248bc,_0x2d5f95,_0x40cfd2){const _0x336a19=_0x35afd2;typeof _0x2248bc==_0x336a19(0x230)&&_0x2248bc['handleEvent']?_0x2248bc[_0x336a19(0x287)]['call'](_0x2248bc,_0x40cfd2):_0x2248bc['call'](_0x2d5f95,_0x40cfd2);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x461a96}=ae();function _0xa1f929(_0x5b8b5e,_0x5708e5,_0x1ac376){const _0x1af97b=_0x6e7e;_0x5b8b5e[_0x5708e5]===void 0x0?_0x5b8b5e[_0x5708e5]=[_0x1ac376]:_0x5b8b5e[_0x5708e5][_0x1af97b(0x2d2)](_0x1ac376);}function _0x4a3878(_0x8b8456){const _0x53ba97=_0x6e7e,_0x417e55=Object['create'](null);let _0x3efd5f=Object[_0x53ba97(0x2ac)](null),_0x21935b=!0x1,_0x345132=!0x1,_0x2326cf=!0x1,_0x2d7b71,_0x3ec3b2,_0x6bf775=-0x1,_0x45c6c4=-0x1,_0x5536c6=-0x1,_0x556b57=0x0;for(;_0x556b57<_0x8b8456[_0x53ba97(0x25d)];_0x556b57++)if(_0x45c6c4=_0x8b8456[_0x53ba97(0x2da)](_0x556b57),_0x2d7b71===void 0x0){if(_0x5536c6===-0x1&&_0x461a96[_0x45c6c4]===0x1)_0x6bf775===-0x1&&(_0x6bf775=_0x556b57);else{if(_0x556b57!==0x0&&(_0x45c6c4===0x20||_0x45c6c4===0x9))_0x5536c6===-0x1&&_0x6bf775!==-0x1&&(_0x5536c6=_0x556b57);else{if(_0x45c6c4===0x3b||_0x45c6c4===0x2c){if(_0x6bf775===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x556b57);_0x5536c6===-0x1&&(_0x5536c6=_0x556b57);const _0x31f92e=_0x8b8456[_0x53ba97(0x22d)](_0x6bf775,_0x5536c6);_0x45c6c4===0x2c?(_0xa1f929(_0x417e55,_0x31f92e,_0x3efd5f),_0x3efd5f=Object[_0x53ba97(0x2ac)](null)):_0x2d7b71=_0x31f92e,_0x6bf775=_0x5536c6=-0x1;}else throw new SyntaxError(_0x53ba97(0x18e)+_0x556b57);}}}else{if(_0x3ec3b2===void 0x0){if(_0x5536c6===-0x1&&_0x461a96[_0x45c6c4]===0x1)_0x6bf775===-0x1&&(_0x6bf775=_0x556b57);else{if(_0x45c6c4===0x20||_0x45c6c4===0x9)_0x5536c6===-0x1&&_0x6bf775!==-0x1&&(_0x5536c6=_0x556b57);else{if(_0x45c6c4===0x3b||_0x45c6c4===0x2c){if(_0x6bf775===-0x1)throw new SyntaxError(_0x53ba97(0x18e)+_0x556b57);_0x5536c6===-0x1&&(_0x5536c6=_0x556b57),_0xa1f929(_0x3efd5f,_0x8b8456['slice'](_0x6bf775,_0x5536c6),!0x0),_0x45c6c4===0x2c&&(_0xa1f929(_0x417e55,_0x2d7b71,_0x3efd5f),_0x3efd5f=Object[_0x53ba97(0x2ac)](null),_0x2d7b71=void 0x0),_0x6bf775=_0x5536c6=-0x1;}else{if(_0x45c6c4===0x3d&&_0x6bf775!==-0x1&&_0x5536c6===-0x1)_0x3ec3b2=_0x8b8456[_0x53ba97(0x22d)](_0x6bf775,_0x556b57),_0x6bf775=_0x5536c6=-0x1;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x556b57);}}}}else{if(_0x345132){if(_0x461a96[_0x45c6c4]!==0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x556b57);_0x6bf775===-0x1?_0x6bf775=_0x556b57:_0x21935b||(_0x21935b=!0x0),_0x345132=!0x1;}else{if(_0x2326cf){if(_0x461a96[_0x45c6c4]===0x1)_0x6bf775===-0x1&&(_0x6bf775=_0x556b57);else{if(_0x45c6c4===0x22&&_0x6bf775!==-0x1)_0x2326cf=!0x1,_0x5536c6=_0x556b57;else{if(_0x45c6c4===0x5c)_0x345132=!0x0;else throw new SyntaxError(_0x53ba97(0x18e)+_0x556b57);}}}else{if(_0x45c6c4===0x22&&_0x8b8456['charCodeAt'](_0x556b57-0x1)===0x3d)_0x2326cf=!0x0;else{if(_0x5536c6===-0x1&&_0x461a96[_0x45c6c4]===0x1)_0x6bf775===-0x1&&(_0x6bf775=_0x556b57);else{if(_0x6bf775!==-0x1&&(_0x45c6c4===0x20||_0x45c6c4===0x9))_0x5536c6===-0x1&&(_0x5536c6=_0x556b57);else{if(_0x45c6c4===0x3b||_0x45c6c4===0x2c){if(_0x6bf775===-0x1)throw new SyntaxError(_0x53ba97(0x18e)+_0x556b57);_0x5536c6===-0x1&&(_0x5536c6=_0x556b57);let _0x2e2f92=_0x8b8456[_0x53ba97(0x22d)](_0x6bf775,_0x5536c6);_0x21935b&&(_0x2e2f92=_0x2e2f92[_0x53ba97(0x28e)](/\\/g,''),_0x21935b=!0x1),_0xa1f929(_0x3efd5f,_0x3ec3b2,_0x2e2f92),_0x45c6c4===0x2c&&(_0xa1f929(_0x417e55,_0x2d7b71,_0x3efd5f),_0x3efd5f=Object[_0x53ba97(0x2ac)](null),_0x2d7b71=void 0x0),_0x3ec3b2=void 0x0,_0x6bf775=_0x5536c6=-0x1;}else throw new SyntaxError(_0x53ba97(0x18e)+_0x556b57);}}}}}}}if(_0x6bf775===-0x1||_0x2326cf||_0x45c6c4===0x20||_0x45c6c4===0x9)throw new SyntaxError(_0x53ba97(0x2de));_0x5536c6===-0x1&&(_0x5536c6=_0x556b57);const _0x5aeaf9=_0x8b8456[_0x53ba97(0x22d)](_0x6bf775,_0x5536c6);return _0x2d7b71===void 0x0?_0xa1f929(_0x417e55,_0x5aeaf9,_0x3efd5f):(_0x3ec3b2===void 0x0?_0xa1f929(_0x3efd5f,_0x5aeaf9,!0x0):_0x21935b?_0xa1f929(_0x3efd5f,_0x3ec3b2,_0x5aeaf9['replace'](/\\/g,'')):_0xa1f929(_0x3efd5f,_0x3ec3b2,_0x5aeaf9),_0xa1f929(_0x417e55,_0x2d7b71,_0x3efd5f)),_0x417e55;}function _0xa2fd88(_0x2e1ff4){const _0x64d25b=_0x6e7e;return Object[_0x64d25b(0x219)](_0x2e1ff4)['map'](_0x3b16fd=>{const _0x542d3f=_0x64d25b;let _0x5736a0=_0x2e1ff4[_0x3b16fd];return Array['isArray'](_0x5736a0)||(_0x5736a0=[_0x5736a0]),_0x5736a0[_0x542d3f(0x1ce)](_0x35e80c=>[_0x3b16fd][_0x542d3f(0x27d)](Object[_0x542d3f(0x219)](_0x35e80c)[_0x542d3f(0x1ce)](_0x2dcf60=>{const _0x37db09=_0x542d3f;let _0x57c2fd=_0x35e80c[_0x2dcf60];return Array[_0x37db09(0x190)](_0x57c2fd)||(_0x57c2fd=[_0x57c2fd]),_0x57c2fd[_0x37db09(0x1ce)](_0xd2462e=>_0xd2462e===!0x0?_0x2dcf60:_0x2dcf60+'='+_0xd2462e)[_0x37db09(0x23b)](';\x20');}))[_0x542d3f(0x23b)](';\x20'))[_0x542d3f(0x23b)](',\x20');})[_0x64d25b(0x23b)](',\x20');}return be={'format':_0xa2fd88,'parse':_0x4a3878},be;}var we,Je;function Pe(){const _0x53af94=_0x149f8d;if(Je)return we;Je=0x1;const _0x418b90=nt,_0x50cf1c=vt,_0x355c8c=ot,_0x5cf05c=St,_0x3b8dd8=Et,{randomBytes:_0x4afabf,createHash:_0x2a2baa}=Le,{Duplex:_0x3298be,Readable:_0x399622}=oe,{URL:_0x5236a9}=xt,_0x209050=he(),_0x5bf8d8=lt(),_0x5f09aa=ft(),{isBlob:_0x2f64be}=ae(),{BINARY_TYPES:_0x249518,EMPTY_BUFFER:_0xa27fe7,GUID:_0x3cf451,kForOnEventAttribute:_0x1f6bd0,kListener:_0x53e86e,kStatusCode:_0x462f13,kWebSocket:_0x8257a2,NOOP:_0x3be1dd}=H(),{EventTarget:{addEventListener:_0x4a5b3e,removeEventListener:_0x18d463}}=It(),{format:_0xe67174,parse:_0x1f30c5}=ct(),{toBuffer:_0x2fc117}=ce(),_0x470503=0x1e*0x3e8,_0x214088=Symbol(_0x53af94(0x300)),_0x4de067=[0x8,0xd],_0x5297c6=[_0x53af94(0x145),_0x53af94(0x2a8),_0x53af94(0x28a),_0x53af94(0x14c)],_0x2ca75c=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x53678f extends _0x418b90{constructor(_0x50ecff,_0x29920b,_0x2b619c){const _0x26b7e8=_0x53af94;super(),this['_binaryType']=_0x249518[0x0],this[_0x26b7e8(0x260)]=0x3ee,this[_0x26b7e8(0x288)]=!0x1,this['_closeFrameSent']=!0x1,this[_0x26b7e8(0x2cb)]=_0xa27fe7,this[_0x26b7e8(0x26a)]=null,this['_errorEmitted']=!0x1,this[_0x26b7e8(0x186)]={},this['_paused']=!0x1,this[_0x26b7e8(0x1c9)]='',this[_0x26b7e8(0x304)]=_0x53678f[_0x26b7e8(0x145)],this[_0x26b7e8(0x1c3)]=null,this[_0x26b7e8(0x2f8)]=null,this[_0x26b7e8(0x169)]=null,_0x50ecff!==null?(this['_bufferedAmount']=0x0,this[_0x26b7e8(0x29d)]=!0x1,this[_0x26b7e8(0x2fa)]=0x0,_0x29920b===void 0x0?_0x29920b=[]:Array['isArray'](_0x29920b)||(typeof _0x29920b=='object'&&_0x29920b!==null?(_0x2b619c=_0x29920b,_0x29920b=[]):_0x29920b=[_0x29920b]),_0x4c4512(this,_0x50ecff,_0x29920b,_0x2b619c)):(this['_autoPong']=_0x2b619c[_0x26b7e8(0x203)],this[_0x26b7e8(0x29d)]=!0x0);}get[_0x53af94(0x2cd)](){const _0x155486=_0x53af94;return this[_0x155486(0x2ed)];}set[_0x53af94(0x2cd)](_0x3be6b6){const _0xb2f868=_0x53af94;_0x249518[_0xb2f868(0x1f0)](_0x3be6b6)&&(this[_0xb2f868(0x2ed)]=_0x3be6b6,this[_0xb2f868(0x1c3)]&&(this[_0xb2f868(0x1c3)][_0xb2f868(0x2ed)]=_0x3be6b6));}get[_0x53af94(0x2ba)](){const _0x4df436=_0x53af94;return this[_0x4df436(0x169)]?this['_socket']['_writableState'][_0x4df436(0x25d)]+this['_sender'][_0x4df436(0x17f)]:this[_0x4df436(0x191)];}get[_0x53af94(0x214)](){const _0xcabd06=_0x53af94;return Object[_0xcabd06(0x219)](this[_0xcabd06(0x186)])[_0xcabd06(0x23b)]();}get[_0x53af94(0x1fe)](){const _0x59ae90=_0x53af94;return this[_0x59ae90(0x25f)];}get[_0x53af94(0x2f0)](){return null;}get[_0x53af94(0x2f3)](){return null;}get['onopen'](){return null;}get['onmessage'](){return null;}get['protocol'](){const _0x513dba=_0x53af94;return this[_0x513dba(0x1c9)];}get[_0x53af94(0x240)](){return this['_readyState'];}get[_0x53af94(0x273)](){return this['_url'];}[_0x53af94(0x17b)](_0x3c8078,_0x27fc8b,_0x1d5402){const _0x3e6e5e=_0x53af94,_0x15999a=new _0x5bf8d8({'allowSynchronousEvents':_0x1d5402[_0x3e6e5e(0x185)],'binaryType':this[_0x3e6e5e(0x2cd)],'extensions':this[_0x3e6e5e(0x186)],'isServer':this[_0x3e6e5e(0x29d)],'maxPayload':_0x1d5402['maxPayload'],'skipUTF8Validation':_0x1d5402[_0x3e6e5e(0x289)]}),_0x6fb6fc=new _0x5f09aa(_0x3c8078,this[_0x3e6e5e(0x186)],_0x1d5402[_0x3e6e5e(0x138)]);this[_0x3e6e5e(0x1c3)]=_0x15999a,this[_0x3e6e5e(0x2f8)]=_0x6fb6fc,this[_0x3e6e5e(0x169)]=_0x3c8078,_0x15999a[_0x8257a2]=this,_0x6fb6fc[_0x8257a2]=this,_0x3c8078[_0x8257a2]=this,_0x15999a['on'](_0x3e6e5e(0x2f1),_0x4b9d77),_0x15999a['on'](_0x3e6e5e(0x2ea),_0x429ec0),_0x15999a['on']('error',_0x128352),_0x15999a['on'](_0x3e6e5e(0x19e),_0x6a4de),_0x15999a['on'](_0x3e6e5e(0x14f),_0x854f36),_0x15999a['on'](_0x3e6e5e(0x307),_0x3b3ee7),_0x6fb6fc[_0x3e6e5e(0x2f3)]=_0x13c8f5,_0x3c8078['setTimeout']&&_0x3c8078['setTimeout'](0x0),_0x3c8078[_0x3e6e5e(0x16a)]&&_0x3c8078[_0x3e6e5e(0x16a)](),_0x27fc8b['length']>0x0&&_0x3c8078['unshift'](_0x27fc8b),_0x3c8078['on'](_0x3e6e5e(0x284),_0x3f1043),_0x3c8078['on'](_0x3e6e5e(0x165),_0x4ee0cb),_0x3c8078['on'](_0x3e6e5e(0x1b6),_0xe84a4e),_0x3c8078['on'](_0x3e6e5e(0x196),_0x21e7c6),this[_0x3e6e5e(0x304)]=_0x53678f[_0x3e6e5e(0x2a8)],this[_0x3e6e5e(0x303)](_0x3e6e5e(0x295));}[_0x53af94(0x14a)](){const _0x3c44bc=_0x53af94;if(!this[_0x3c44bc(0x169)]){this['_readyState']=_0x53678f[_0x3c44bc(0x14c)],this['emit'](_0x3c44bc(0x284),this['_closeCode'],this[_0x3c44bc(0x2cb)]);return;}this[_0x3c44bc(0x186)][_0x209050[_0x3c44bc(0x2cc)]]&&this[_0x3c44bc(0x186)][_0x209050[_0x3c44bc(0x2cc)]][_0x3c44bc(0x2ee)](),this[_0x3c44bc(0x1c3)][_0x3c44bc(0x20a)](),this[_0x3c44bc(0x304)]=_0x53678f[_0x3c44bc(0x14c)],this[_0x3c44bc(0x303)]('close',this[_0x3c44bc(0x260)],this[_0x3c44bc(0x2cb)]);}[_0x53af94(0x284)](_0x1622df,_0x6722a0){const _0x3ed45a=_0x53af94;if(this[_0x3ed45a(0x240)]!==_0x53678f[_0x3ed45a(0x14c)]){if(this[_0x3ed45a(0x240)]===_0x53678f[_0x3ed45a(0x145)]){_0x4dd4d1(this,this[_0x3ed45a(0x2ca)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}if(this[_0x3ed45a(0x240)]===_0x53678f[_0x3ed45a(0x28a)]){this['_closeFrameSent']&&(this[_0x3ed45a(0x288)]||this[_0x3ed45a(0x1c3)][_0x3ed45a(0x171)][_0x3ed45a(0x15a)])&&this[_0x3ed45a(0x169)][_0x3ed45a(0x1b6)]();return;}this[_0x3ed45a(0x304)]=_0x53678f[_0x3ed45a(0x28a)],this[_0x3ed45a(0x2f8)][_0x3ed45a(0x284)](_0x1622df,_0x6722a0,!this[_0x3ed45a(0x29d)],_0xc8a8e3=>{const _0x4af6ad=_0x3ed45a;_0xc8a8e3||(this['_closeFrameSent']=!0x0,(this[_0x4af6ad(0x288)]||this[_0x4af6ad(0x1c3)][_0x4af6ad(0x171)][_0x4af6ad(0x15a)])&&this[_0x4af6ad(0x169)][_0x4af6ad(0x1b6)]());}),_0x53854d(this);}}[_0x53af94(0x2d5)](){const _0x178455=_0x53af94;this['readyState']===_0x53678f[_0x178455(0x145)]||this[_0x178455(0x240)]===_0x53678f[_0x178455(0x14c)]||(this[_0x178455(0x25f)]=!0x0,this['_socket'][_0x178455(0x2d5)]());}[_0x53af94(0x14f)](_0x4b09a5,_0x4acc62,_0x3c37fd){const _0x1ef695=_0x53af94;if(this[_0x1ef695(0x240)]===_0x53678f[_0x1ef695(0x145)])throw new Error(_0x1ef695(0x26e));if(typeof _0x4b09a5==_0x1ef695(0x189)?(_0x3c37fd=_0x4b09a5,_0x4b09a5=_0x4acc62=void 0x0):typeof _0x4acc62=='function'&&(_0x3c37fd=_0x4acc62,_0x4acc62=void 0x0),typeof _0x4b09a5==_0x1ef695(0x30d)&&(_0x4b09a5=_0x4b09a5[_0x1ef695(0x232)]()),this['readyState']!==_0x53678f[_0x1ef695(0x2a8)]){_0x203b6f(this,_0x4b09a5,_0x3c37fd);return;}_0x4acc62===void 0x0&&(_0x4acc62=!this[_0x1ef695(0x29d)]),this[_0x1ef695(0x2f8)][_0x1ef695(0x14f)](_0x4b09a5||_0xa27fe7,_0x4acc62,_0x3c37fd);}[_0x53af94(0x307)](_0x4dc37e,_0x3783e7,_0x3812fc){const _0x4e3583=_0x53af94;if(this[_0x4e3583(0x240)]===_0x53678f[_0x4e3583(0x145)])throw new Error(_0x4e3583(0x26e));if(typeof _0x4dc37e==_0x4e3583(0x189)?(_0x3812fc=_0x4dc37e,_0x4dc37e=_0x3783e7=void 0x0):typeof _0x3783e7==_0x4e3583(0x189)&&(_0x3812fc=_0x3783e7,_0x3783e7=void 0x0),typeof _0x4dc37e=='number'&&(_0x4dc37e=_0x4dc37e[_0x4e3583(0x232)]()),this[_0x4e3583(0x240)]!==_0x53678f[_0x4e3583(0x2a8)]){_0x203b6f(this,_0x4dc37e,_0x3812fc);return;}_0x3783e7===void 0x0&&(_0x3783e7=!this[_0x4e3583(0x29d)]),this[_0x4e3583(0x2f8)]['pong'](_0x4dc37e||_0xa27fe7,_0x3783e7,_0x3812fc);}[_0x53af94(0x1c4)](){const _0x26dfe3=_0x53af94;this[_0x26dfe3(0x240)]===_0x53678f[_0x26dfe3(0x145)]||this['readyState']===_0x53678f['CLOSED']||(this['_paused']=!0x1,this[_0x26dfe3(0x1c3)]['_writableState'][_0x26dfe3(0x2bc)]||this[_0x26dfe3(0x169)][_0x26dfe3(0x1c4)]());}[_0x53af94(0x267)](_0xba7a33,_0x5247ce,_0x4cb710){const _0x309aed=_0x53af94;if(this[_0x309aed(0x240)]===_0x53678f[_0x309aed(0x145)])throw new Error(_0x309aed(0x26e));if(typeof _0x5247ce=='function'&&(_0x4cb710=_0x5247ce,_0x5247ce={}),typeof _0xba7a33==_0x309aed(0x30d)&&(_0xba7a33=_0xba7a33['toString']()),this[_0x309aed(0x240)]!==_0x53678f['OPEN']){_0x203b6f(this,_0xba7a33,_0x4cb710);return;}const _0x2e8e9b={'binary':typeof _0xba7a33!=_0x309aed(0x23d),'mask':!this[_0x309aed(0x29d)],'compress':!0x0,'fin':!0x0,..._0x5247ce};this[_0x309aed(0x186)][_0x209050[_0x309aed(0x2cc)]]||(_0x2e8e9b[_0x309aed(0x2e1)]=!0x1),this[_0x309aed(0x2f8)][_0x309aed(0x267)](_0xba7a33||_0xa27fe7,_0x2e8e9b,_0x4cb710);}[_0x53af94(0x301)](){const _0x54f7c0=_0x53af94;if(this[_0x54f7c0(0x240)]!==_0x53678f[_0x54f7c0(0x14c)]){if(this[_0x54f7c0(0x240)]===_0x53678f[_0x54f7c0(0x145)]){_0x4dd4d1(this,this[_0x54f7c0(0x2ca)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}this[_0x54f7c0(0x169)]&&(this['_readyState']=_0x53678f[_0x54f7c0(0x28a)],this[_0x54f7c0(0x169)][_0x54f7c0(0x21a)]());}}}Object[_0x53af94(0x2a7)](_0x53678f,_0x53af94(0x145),{'enumerable':!0x0,'value':_0x5297c6[_0x53af94(0x2e5)]('CONNECTING')}),Object[_0x53af94(0x2a7)](_0x53678f['prototype'],_0x53af94(0x145),{'enumerable':!0x0,'value':_0x5297c6[_0x53af94(0x2e5)](_0x53af94(0x145))}),Object[_0x53af94(0x2a7)](_0x53678f,_0x53af94(0x2a8),{'enumerable':!0x0,'value':_0x5297c6[_0x53af94(0x2e5)](_0x53af94(0x2a8))}),Object['defineProperty'](_0x53678f['prototype'],_0x53af94(0x2a8),{'enumerable':!0x0,'value':_0x5297c6[_0x53af94(0x2e5)](_0x53af94(0x2a8))}),Object[_0x53af94(0x2a7)](_0x53678f,_0x53af94(0x28a),{'enumerable':!0x0,'value':_0x5297c6['indexOf'](_0x53af94(0x28a))}),Object[_0x53af94(0x2a7)](_0x53678f[_0x53af94(0x23e)],_0x53af94(0x28a),{'enumerable':!0x0,'value':_0x5297c6[_0x53af94(0x2e5)](_0x53af94(0x28a))}),Object[_0x53af94(0x2a7)](_0x53678f,_0x53af94(0x14c),{'enumerable':!0x0,'value':_0x5297c6['indexOf'](_0x53af94(0x14c))}),Object[_0x53af94(0x2a7)](_0x53678f[_0x53af94(0x23e)],_0x53af94(0x14c),{'enumerable':!0x0,'value':_0x5297c6[_0x53af94(0x2e5)](_0x53af94(0x14c))}),[_0x53af94(0x2cd),_0x53af94(0x2ba),_0x53af94(0x214),_0x53af94(0x1fe),_0x53af94(0x197),_0x53af94(0x240),_0x53af94(0x273)][_0x53af94(0x162)](_0x20b53d=>{const _0x3208e0=_0x53af94;Object[_0x3208e0(0x2a7)](_0x53678f[_0x3208e0(0x23e)],_0x20b53d,{'enumerable':!0x0});}),[_0x53af94(0x295),_0x53af94(0x196),_0x53af94(0x284),_0x53af94(0x19e)][_0x53af94(0x162)](_0x449d24=>{const _0x1eaab0=_0x53af94;Object['defineProperty'](_0x53678f[_0x1eaab0(0x23e)],'on'+_0x449d24,{'enumerable':!0x0,'get'(){const _0x170363=_0x1eaab0;for(const _0x1dac4e of this[_0x170363(0x24e)](_0x449d24))if(_0x1dac4e[_0x1f6bd0])return _0x1dac4e[_0x53e86e];return null;},'set'(_0x5a2c90){const _0x2df8e5=_0x1eaab0;for(const _0x434e53 of this[_0x2df8e5(0x24e)](_0x449d24))if(_0x434e53[_0x1f6bd0]){this[_0x2df8e5(0x181)](_0x449d24,_0x434e53);break;}typeof _0x5a2c90==_0x2df8e5(0x189)&&this['addEventListener'](_0x449d24,_0x5a2c90,{[_0x1f6bd0]:!0x0});}});}),_0x53678f[_0x53af94(0x23e)][_0x53af94(0x194)]=_0x4a5b3e,_0x53678f[_0x53af94(0x23e)]['removeEventListener']=_0x18d463,we=_0x53678f;function _0x4c4512(_0x37d90d,_0x40fb37,_0x1265f7,_0x2ba3b2){const _0x2b1e3d=_0x53af94,_0x8efc94={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x4de067[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x2ba3b2,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x2b1e3d(0x270),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x37d90d[_0x2b1e3d(0x175)]=_0x8efc94['autoPong'],!_0x4de067['includes'](_0x8efc94[_0x2b1e3d(0x1bd)]))throw new RangeError(_0x2b1e3d(0x2d9)+_0x8efc94[_0x2b1e3d(0x1bd)]+_0x2b1e3d(0x1f9)+_0x4de067[_0x2b1e3d(0x23b)](',\x20')+')');let _0x557a28;if(_0x40fb37 instanceof _0x5236a9)_0x557a28=_0x40fb37;else try{_0x557a28=new _0x5236a9(_0x40fb37);}catch{throw new SyntaxError(_0x2b1e3d(0x22f)+_0x40fb37);}_0x557a28[_0x2b1e3d(0x197)]==='http:'?_0x557a28[_0x2b1e3d(0x197)]=_0x2b1e3d(0x1f3):_0x557a28[_0x2b1e3d(0x197)]===_0x2b1e3d(0x29e)&&(_0x557a28[_0x2b1e3d(0x197)]=_0x2b1e3d(0x1f1)),_0x37d90d[_0x2b1e3d(0x2e2)]=_0x557a28[_0x2b1e3d(0x1a0)];const _0xa29b0=_0x557a28[_0x2b1e3d(0x197)]===_0x2b1e3d(0x1f1),_0x2ff719=_0x557a28[_0x2b1e3d(0x197)]===_0x2b1e3d(0x19d);let _0xf3e2d6;if(_0x557a28['protocol']!==_0x2b1e3d(0x1f3)&&!_0xa29b0&&!_0x2ff719?_0xf3e2d6=_0x2b1e3d(0x229):_0x2ff719&&!_0x557a28[_0x2b1e3d(0x25e)]?_0xf3e2d6='The\x20URL\x27s\x20pathname\x20is\x20empty':_0x557a28[_0x2b1e3d(0x220)]&&(_0xf3e2d6=_0x2b1e3d(0x244)),_0xf3e2d6){const _0x34a17d=new SyntaxError(_0xf3e2d6);if(_0x37d90d['_redirects']===0x0)throw _0x34a17d;_0x381d56(_0x37d90d,_0x34a17d);return;}const _0x5738fb=_0xa29b0?0x1bb:0x50,_0x87d4fb=_0x4afabf(0x10)[_0x2b1e3d(0x232)](_0x2b1e3d(0x21c)),_0x2fbd48=_0xa29b0?_0x50cf1c[_0x2b1e3d(0x2a3)]:_0x355c8c['request'],_0x474705=new Set();let _0x1d5a9b;if(_0x8efc94[_0x2b1e3d(0x24f)]=_0x8efc94[_0x2b1e3d(0x24f)]||(_0xa29b0?_0x4658a2:_0x5a8411),_0x8efc94[_0x2b1e3d(0x27f)]=_0x8efc94[_0x2b1e3d(0x27f)]||_0x5738fb,_0x8efc94[_0x2b1e3d(0x27c)]=_0x557a28[_0x2b1e3d(0x27c)]||_0x5738fb,_0x8efc94[_0x2b1e3d(0x22e)]=_0x557a28[_0x2b1e3d(0x202)][_0x2b1e3d(0x1e8)]('[')?_0x557a28[_0x2b1e3d(0x202)][_0x2b1e3d(0x22d)](0x1,-0x1):_0x557a28['hostname'],_0x8efc94[_0x2b1e3d(0x1f6)]={..._0x8efc94['headers'],'Sec-WebSocket-Version':_0x8efc94['protocolVersion'],'Sec-WebSocket-Key':_0x87d4fb,'Connection':_0x2b1e3d(0x1d4),'Upgrade':_0x2b1e3d(0x1ed)},_0x8efc94['path']=_0x557a28[_0x2b1e3d(0x25e)]+_0x557a28[_0x2b1e3d(0x16b)],_0x8efc94[_0x2b1e3d(0x195)]=_0x8efc94['handshakeTimeout'],_0x8efc94['perMessageDeflate']&&(_0x1d5a9b=new _0x209050(_0x8efc94['perMessageDeflate']!==!0x0?_0x8efc94[_0x2b1e3d(0x1ba)]:{},!0x1,_0x8efc94[_0x2b1e3d(0x242)]),_0x8efc94[_0x2b1e3d(0x1f6)][_0x2b1e3d(0x2e6)]=_0xe67174({[_0x209050[_0x2b1e3d(0x2cc)]]:_0x1d5a9b['offer']()})),_0x1265f7['length']){for(const _0x4aeeed of _0x1265f7){if(typeof _0x4aeeed!=_0x2b1e3d(0x23d)||!_0x2ca75c[_0x2b1e3d(0x159)](_0x4aeeed)||_0x474705['has'](_0x4aeeed))throw new SyntaxError(_0x2b1e3d(0x2fe));_0x474705[_0x2b1e3d(0x2d1)](_0x4aeeed);}_0x8efc94[_0x2b1e3d(0x1f6)][_0x2b1e3d(0x309)]=_0x1265f7[_0x2b1e3d(0x23b)](',');}if(_0x8efc94['origin']&&(_0x8efc94[_0x2b1e3d(0x1bd)]<0xd?_0x8efc94[_0x2b1e3d(0x1f6)]['Sec-WebSocket-Origin']=_0x8efc94[_0x2b1e3d(0x188)]:_0x8efc94['headers']['Origin']=_0x8efc94[_0x2b1e3d(0x188)]),(_0x557a28[_0x2b1e3d(0x24d)]||_0x557a28[_0x2b1e3d(0x17c)])&&(_0x8efc94[_0x2b1e3d(0x16f)]=_0x557a28[_0x2b1e3d(0x24d)]+':'+_0x557a28[_0x2b1e3d(0x17c)]),_0x2ff719){const _0x2c6186=_0x8efc94[_0x2b1e3d(0x1d7)][_0x2b1e3d(0x2fb)](':');_0x8efc94['socketPath']=_0x2c6186[0x0],_0x8efc94[_0x2b1e3d(0x1d7)]=_0x2c6186[0x1];}let _0x203f4a;if(_0x8efc94[_0x2b1e3d(0x20d)]){if(_0x37d90d[_0x2b1e3d(0x2fa)]===0x0){_0x37d90d[_0x2b1e3d(0x1c8)]=_0x2ff719,_0x37d90d[_0x2b1e3d(0x279)]=_0xa29b0,_0x37d90d['_originalHostOrSocketPath']=_0x2ff719?_0x8efc94['socketPath']:_0x557a28[_0x2b1e3d(0x22e)];const _0x237228=_0x2ba3b2&&_0x2ba3b2['headers'];if(_0x2ba3b2={..._0x2ba3b2,'headers':{}},_0x237228){for(const [_0x5a6b6b,_0x15ce92]of Object['entries'](_0x237228))_0x2ba3b2[_0x2b1e3d(0x1f6)][_0x5a6b6b[_0x2b1e3d(0x2c4)]()]=_0x15ce92;}}else{if(_0x37d90d[_0x2b1e3d(0x13b)](_0x2b1e3d(0x15c))===0x0){const _0x32cc4c=_0x2ff719?_0x37d90d[_0x2b1e3d(0x1c8)]?_0x8efc94[_0x2b1e3d(0x2a0)]===_0x37d90d[_0x2b1e3d(0x24a)]:!0x1:_0x37d90d[_0x2b1e3d(0x1c8)]?!0x1:_0x557a28[_0x2b1e3d(0x22e)]===_0x37d90d[_0x2b1e3d(0x24a)];(!_0x32cc4c||_0x37d90d['_originalSecure']&&!_0xa29b0)&&(delete _0x8efc94[_0x2b1e3d(0x1f6)]['authorization'],delete _0x8efc94[_0x2b1e3d(0x1f6)][_0x2b1e3d(0x1bf)],_0x32cc4c||delete _0x8efc94['headers']['host'],_0x8efc94['auth']=void 0x0);}}_0x8efc94[_0x2b1e3d(0x16f)]&&!_0x2ba3b2[_0x2b1e3d(0x1f6)][_0x2b1e3d(0x2f2)]&&(_0x2ba3b2[_0x2b1e3d(0x1f6)]['authorization']=_0x2b1e3d(0x192)+Buffer[_0x2b1e3d(0x308)](_0x8efc94['auth'])[_0x2b1e3d(0x232)](_0x2b1e3d(0x21c))),_0x203f4a=_0x37d90d[_0x2b1e3d(0x2ca)]=_0x2fbd48(_0x8efc94),_0x37d90d[_0x2b1e3d(0x2fa)]&&_0x37d90d['emit'](_0x2b1e3d(0x15c),_0x37d90d[_0x2b1e3d(0x273)],_0x203f4a);}else _0x203f4a=_0x37d90d[_0x2b1e3d(0x2ca)]=_0x2fbd48(_0x8efc94);_0x8efc94[_0x2b1e3d(0x195)]&&_0x203f4a['on'](_0x2b1e3d(0x195),()=>{const _0x48f07a=_0x2b1e3d;_0x4dd4d1(_0x37d90d,_0x203f4a,_0x48f07a(0x222));}),_0x203f4a['on'](_0x2b1e3d(0x196),_0x3c5b5b=>{_0x203f4a===null||_0x203f4a[_0x214088]||(_0x203f4a=_0x37d90d['_req']=null,_0x381d56(_0x37d90d,_0x3c5b5b));}),_0x203f4a['on'](_0x2b1e3d(0x299),_0x2a604e=>{const _0x3ed0ca=_0x2b1e3d,_0x6db246=_0x2a604e[_0x3ed0ca(0x1f6)][_0x3ed0ca(0x201)],_0x16bf33=_0x2a604e[_0x3ed0ca(0x215)];if(_0x6db246&&_0x8efc94[_0x3ed0ca(0x20d)]&&_0x16bf33>=0x12c&&_0x16bf33<0x190){if(++_0x37d90d[_0x3ed0ca(0x2fa)]>_0x8efc94[_0x3ed0ca(0x29c)]){_0x4dd4d1(_0x37d90d,_0x203f4a,_0x3ed0ca(0x1bc));return;}_0x203f4a['abort']();let _0x18f0db;try{_0x18f0db=new _0x5236a9(_0x6db246,_0x40fb37);}catch{const _0x45351d=new SyntaxError(_0x3ed0ca(0x22f)+_0x6db246);_0x381d56(_0x37d90d,_0x45351d);return;}_0x4c4512(_0x37d90d,_0x18f0db,_0x1265f7,_0x2ba3b2);}else _0x37d90d[_0x3ed0ca(0x303)](_0x3ed0ca(0x153),_0x203f4a,_0x2a604e)||_0x4dd4d1(_0x37d90d,_0x203f4a,_0x3ed0ca(0x278)+_0x2a604e['statusCode']);}),_0x203f4a['on'](_0x2b1e3d(0x245),(_0x3e8d59,_0x30be2c,_0x27113a)=>{const _0x15f52f=_0x2b1e3d;if(_0x37d90d[_0x15f52f(0x303)](_0x15f52f(0x245),_0x3e8d59),_0x37d90d['readyState']!==_0x53678f[_0x15f52f(0x145)])return;_0x203f4a=_0x37d90d[_0x15f52f(0x2ca)]=null;const _0x383180=_0x3e8d59[_0x15f52f(0x1f6)][_0x15f52f(0x245)];if(_0x383180===void 0x0||_0x383180[_0x15f52f(0x2c4)]()!==_0x15f52f(0x1ed)){_0x4dd4d1(_0x37d90d,_0x30be2c,'Invalid\x20Upgrade\x20header');return;}const _0x33f8ea=_0x2a2baa(_0x15f52f(0x174))['update'](_0x87d4fb+_0x3cf451)['digest'](_0x15f52f(0x21c));if(_0x3e8d59['headers'][_0x15f52f(0x1c0)]!==_0x33f8ea){_0x4dd4d1(_0x37d90d,_0x30be2c,_0x15f52f(0x21d));return;}const _0x298f49=_0x3e8d59[_0x15f52f(0x1f6)][_0x15f52f(0x1e9)];let _0x3825ba;if(_0x298f49!==void 0x0?_0x474705[_0x15f52f(0x15e)]?_0x474705[_0x15f52f(0x250)](_0x298f49)||(_0x3825ba=_0x15f52f(0x1e4)):_0x3825ba=_0x15f52f(0x142):_0x474705['size']&&(_0x3825ba=_0x15f52f(0x18d)),_0x3825ba){_0x4dd4d1(_0x37d90d,_0x30be2c,_0x3825ba);return;}_0x298f49&&(_0x37d90d[_0x15f52f(0x1c9)]=_0x298f49);const _0x9c34a6=_0x3e8d59[_0x15f52f(0x1f6)][_0x15f52f(0x168)];if(_0x9c34a6!==void 0x0){if(!_0x1d5a9b){_0x4dd4d1(_0x37d90d,_0x30be2c,'Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested');return;}let _0x58dc8e;try{_0x58dc8e=_0x1f30c5(_0x9c34a6);}catch{_0x4dd4d1(_0x37d90d,_0x30be2c,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0x1025bb=Object[_0x15f52f(0x219)](_0x58dc8e);if(_0x1025bb['length']!==0x1||_0x1025bb[0x0]!==_0x209050['extensionName']){_0x4dd4d1(_0x37d90d,_0x30be2c,'Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested');return;}try{_0x1d5a9b['accept'](_0x58dc8e[_0x209050[_0x15f52f(0x2cc)]]);}catch{_0x4dd4d1(_0x37d90d,_0x30be2c,_0x15f52f(0x206));return;}_0x37d90d['_extensions'][_0x209050[_0x15f52f(0x2cc)]]=_0x1d5a9b;}_0x37d90d['setSocket'](_0x30be2c,_0x27113a,{'allowSynchronousEvents':_0x8efc94[_0x15f52f(0x185)],'generateMask':_0x8efc94[_0x15f52f(0x138)],'maxPayload':_0x8efc94[_0x15f52f(0x242)],'skipUTF8Validation':_0x8efc94[_0x15f52f(0x289)]});}),_0x8efc94[_0x2b1e3d(0x1a4)]?_0x8efc94[_0x2b1e3d(0x1a4)](_0x203f4a,_0x37d90d):_0x203f4a[_0x2b1e3d(0x1b6)]();}function _0x381d56(_0x179d2e,_0x429792){const _0x584e35=_0x53af94;_0x179d2e[_0x584e35(0x304)]=_0x53678f[_0x584e35(0x28a)],_0x179d2e[_0x584e35(0x1b8)]=!0x0,_0x179d2e[_0x584e35(0x303)](_0x584e35(0x196),_0x429792),_0x179d2e['emitClose']();}function _0x5a8411(_0x1e4207){const _0xdc76b7=_0x53af94;return _0x1e4207[_0xdc76b7(0x1d7)]=_0x1e4207[_0xdc76b7(0x2a0)],_0x5cf05c[_0xdc76b7(0x2e8)](_0x1e4207);}function _0x4658a2(_0x5f2f60){const _0x1a076e=_0x53af94;return _0x5f2f60[_0x1a076e(0x1d7)]=void 0x0,!_0x5f2f60[_0x1a076e(0x2f5)]&&_0x5f2f60['servername']!==''&&(_0x5f2f60[_0x1a076e(0x2f5)]=_0x5cf05c[_0x1a076e(0x1da)](_0x5f2f60[_0x1a076e(0x22e)])?'':_0x5f2f60[_0x1a076e(0x22e)]),_0x3b8dd8[_0x1a076e(0x2e8)](_0x5f2f60);}function _0x4dd4d1(_0x4fdbf1,_0x3f7194,_0x8ff7c4){const _0x278562=_0x53af94;_0x4fdbf1[_0x278562(0x304)]=_0x53678f[_0x278562(0x28a)];const _0x1969b8=new Error(_0x8ff7c4);Error[_0x278562(0x30a)](_0x1969b8,_0x4dd4d1),_0x3f7194[_0x278562(0x1e7)]?(_0x3f7194[_0x214088]=!0x0,_0x3f7194[_0x278562(0x24c)](),_0x3f7194[_0x278562(0x1e3)]&&!_0x3f7194[_0x278562(0x1e3)][_0x278562(0x26d)]&&_0x3f7194['socket'][_0x278562(0x21a)](),process[_0x278562(0x1c7)](_0x381d56,_0x4fdbf1,_0x1969b8)):(_0x3f7194[_0x278562(0x21a)](_0x1969b8),_0x3f7194[_0x278562(0x18c)](_0x278562(0x196),_0x4fdbf1[_0x278562(0x303)]['bind'](_0x4fdbf1,_0x278562(0x196))),_0x3f7194[_0x278562(0x18c)]('close',_0x4fdbf1['emitClose'][_0x278562(0x1d9)](_0x4fdbf1)));}function _0x203b6f(_0x224cf3,_0x56fc39,_0x3e67dd){const _0x3dd033=_0x53af94;if(_0x56fc39){const _0x164cbd=_0x2f64be(_0x56fc39)?_0x56fc39['size']:_0x2fc117(_0x56fc39)[_0x3dd033(0x25d)];_0x224cf3[_0x3dd033(0x169)]?_0x224cf3[_0x3dd033(0x2f8)][_0x3dd033(0x17f)]+=_0x164cbd:_0x224cf3[_0x3dd033(0x191)]+=_0x164cbd;}if(_0x3e67dd){const _0x1ad69f=new Error(_0x3dd033(0x1c5)+_0x224cf3[_0x3dd033(0x240)]+'\x20('+_0x5297c6[_0x224cf3[_0x3dd033(0x240)]]+')');process[_0x3dd033(0x1c7)](_0x3e67dd,_0x1ad69f);}}function _0x4b9d77(_0x4216e6,_0x3fc9c0){const _0x1791fe=_0x53af94,_0x2bab82=this[_0x8257a2];_0x2bab82[_0x1791fe(0x288)]=!0x0,_0x2bab82[_0x1791fe(0x2cb)]=_0x3fc9c0,_0x2bab82[_0x1791fe(0x260)]=_0x4216e6,_0x2bab82[_0x1791fe(0x169)][_0x8257a2]!==void 0x0&&(_0x2bab82[_0x1791fe(0x169)][_0x1791fe(0x181)](_0x1791fe(0x165),_0x4ee0cb),process[_0x1791fe(0x1c7)](_0x2a4141,_0x2bab82['_socket']),_0x4216e6===0x3ed?_0x2bab82[_0x1791fe(0x284)]():_0x2bab82[_0x1791fe(0x284)](_0x4216e6,_0x3fc9c0));}function _0x429ec0(){const _0x29512d=_0x53af94,_0x509662=this[_0x8257a2];_0x509662[_0x29512d(0x1fe)]||_0x509662['_socket']['resume']();}function _0x128352(_0x3baca5){const _0x34da5a=_0x53af94,_0x6ec71f=this[_0x8257a2];_0x6ec71f[_0x34da5a(0x169)][_0x8257a2]!==void 0x0&&(_0x6ec71f[_0x34da5a(0x169)]['removeListener'](_0x34da5a(0x165),_0x4ee0cb),process['nextTick'](_0x2a4141,_0x6ec71f[_0x34da5a(0x169)]),_0x6ec71f[_0x34da5a(0x284)](_0x3baca5[_0x462f13])),_0x6ec71f[_0x34da5a(0x1b8)]||(_0x6ec71f[_0x34da5a(0x1b8)]=!0x0,_0x6ec71f[_0x34da5a(0x303)](_0x34da5a(0x196),_0x3baca5));}function _0x3526ff(){const _0x116962=_0x53af94;this[_0x8257a2][_0x116962(0x14a)]();}function _0x6a4de(_0x437507,_0x54a182){const _0x670279=_0x53af94;this[_0x8257a2][_0x670279(0x303)](_0x670279(0x19e),_0x437507,_0x54a182);}function _0x854f36(_0x2174ac){const _0x1906b8=_0x53af94,_0x5994cd=this[_0x8257a2];_0x5994cd[_0x1906b8(0x175)]&&_0x5994cd[_0x1906b8(0x307)](_0x2174ac,!this[_0x1906b8(0x29d)],_0x3be1dd),_0x5994cd[_0x1906b8(0x303)](_0x1906b8(0x14f),_0x2174ac);}function _0x3b3ee7(_0x3e0f68){const _0x19bd21=_0x53af94;this[_0x8257a2][_0x19bd21(0x303)](_0x19bd21(0x307),_0x3e0f68);}function _0x2a4141(_0x18a496){const _0x3de77e=_0x53af94;_0x18a496[_0x3de77e(0x1c4)]();}function _0x13c8f5(_0x1f1789){const _0x2af37c=_0x53af94,_0x6a7729=this[_0x8257a2];_0x6a7729[_0x2af37c(0x240)]!==_0x53678f[_0x2af37c(0x14c)]&&(_0x6a7729[_0x2af37c(0x240)]===_0x53678f['OPEN']&&(_0x6a7729[_0x2af37c(0x304)]=_0x53678f[_0x2af37c(0x28a)],_0x53854d(_0x6a7729)),this[_0x2af37c(0x169)]['end'](),_0x6a7729['_errorEmitted']||(_0x6a7729[_0x2af37c(0x1b8)]=!0x0,_0x6a7729[_0x2af37c(0x303)](_0x2af37c(0x196),_0x1f1789)));}function _0x53854d(_0x1e9ddb){const _0x4d246c=_0x53af94;_0x1e9ddb['_closeTimer']=setTimeout(_0x1e9ddb[_0x4d246c(0x169)][_0x4d246c(0x21a)][_0x4d246c(0x1d9)](_0x1e9ddb['_socket']),_0x470503);}function _0x3f1043(){const _0x3778ba=_0x53af94,_0x30db7e=this[_0x8257a2];this[_0x3778ba(0x181)](_0x3778ba(0x284),_0x3f1043),this['removeListener'](_0x3778ba(0x165),_0x4ee0cb),this[_0x3778ba(0x181)]('end',_0xe84a4e),_0x30db7e[_0x3778ba(0x304)]=_0x53678f[_0x3778ba(0x28a)];let _0xdc2839;!this['_readableState'][_0x3778ba(0x1e0)]&&!_0x30db7e[_0x3778ba(0x288)]&&!_0x30db7e[_0x3778ba(0x1c3)][_0x3778ba(0x171)][_0x3778ba(0x15a)]&&(_0xdc2839=_0x30db7e['_socket'][_0x3778ba(0x254)]())!==null&&_0x30db7e[_0x3778ba(0x1c3)][_0x3778ba(0x17a)](_0xdc2839),_0x30db7e['_receiver'][_0x3778ba(0x1b6)](),this[_0x8257a2]=void 0x0,clearTimeout(_0x30db7e[_0x3778ba(0x26a)]),_0x30db7e['_receiver'][_0x3778ba(0x171)][_0x3778ba(0x23c)]||_0x30db7e[_0x3778ba(0x1c3)][_0x3778ba(0x171)][_0x3778ba(0x15a)]?_0x30db7e['emitClose']():(_0x30db7e[_0x3778ba(0x1c3)]['on'](_0x3778ba(0x196),_0x3526ff),_0x30db7e[_0x3778ba(0x1c3)]['on'](_0x3778ba(0x26c),_0x3526ff));}function _0x4ee0cb(_0x467568){const _0x2218b8=_0x53af94;this[_0x8257a2]['_receiver'][_0x2218b8(0x17a)](_0x467568)||this['pause']();}function _0xe84a4e(){const _0xb6859b=_0x53af94,_0xe87408=this[_0x8257a2];_0xe87408[_0xb6859b(0x304)]=_0x53678f[_0xb6859b(0x28a)],_0xe87408[_0xb6859b(0x1c3)][_0xb6859b(0x1b6)](),this[_0xb6859b(0x1b6)]();}function _0x21e7c6(){const _0x193f91=_0x53af94,_0x1a9c87=this[_0x8257a2];this[_0x193f91(0x181)]('error',_0x21e7c6),this['on'](_0x193f91(0x196),_0x3be1dd),_0x1a9c87&&(_0x1a9c87[_0x193f91(0x304)]=_0x53678f[_0x193f91(0x28a)],this[_0x193f91(0x21a)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x2cadcd}=oe;function _0x529973(_0x17ae02){const _0x431a4a=_0x6e7e;_0x17ae02[_0x431a4a(0x303)](_0x431a4a(0x284));}function _0x420e4d(){const _0xbc2bba=_0x6e7e;!this['destroyed']&&this[_0xbc2bba(0x171)][_0xbc2bba(0x23c)]&&this['destroy']();}function _0x163485(_0x9790ba){const _0x183135=_0x6e7e;this[_0x183135(0x181)]('error',_0x163485),this[_0x183135(0x21a)](),this[_0x183135(0x13b)](_0x183135(0x196))===0x0&&this[_0x183135(0x303)](_0x183135(0x196),_0x9790ba);}function _0x4a7103(_0x3e0b74,_0x4c3b9a){const _0x65d0f3=_0x6e7e;let _0x531fdb=!0x0;const _0x2933de=new _0x2cadcd({..._0x4c3b9a,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x3e0b74['on'](_0x65d0f3(0x19e),function(_0x1fe638,_0x443fc5){const _0x3bff6b=_0x65d0f3,_0x39ae70=!_0x443fc5&&_0x2933de[_0x3bff6b(0x27b)][_0x3bff6b(0x2f7)]?_0x1fe638[_0x3bff6b(0x232)]():_0x1fe638;_0x2933de[_0x3bff6b(0x2d2)](_0x39ae70)||_0x3e0b74[_0x3bff6b(0x2d5)]();}),_0x3e0b74['once'](_0x65d0f3(0x196),function(_0x4b8b50){const _0x39ebd9=_0x65d0f3;_0x2933de[_0x39ebd9(0x26d)]||(_0x531fdb=!0x1,_0x2933de[_0x39ebd9(0x21a)](_0x4b8b50));}),_0x3e0b74['once'](_0x65d0f3(0x284),function(){const _0x27efeb=_0x65d0f3;_0x2933de[_0x27efeb(0x26d)]||_0x2933de[_0x27efeb(0x2d2)](null);}),_0x2933de[_0x65d0f3(0x272)]=function(_0x515d4e,_0x2cb1fc){const _0x1b3dd0=_0x65d0f3;if(_0x3e0b74[_0x1b3dd0(0x240)]===_0x3e0b74['CLOSED']){_0x2cb1fc(_0x515d4e),process[_0x1b3dd0(0x1c7)](_0x529973,_0x2933de);return;}let _0x3ecdd0=!0x1;_0x3e0b74[_0x1b3dd0(0x18c)](_0x1b3dd0(0x196),function(_0x2f976f){_0x3ecdd0=!0x0,_0x2cb1fc(_0x2f976f);}),_0x3e0b74[_0x1b3dd0(0x18c)](_0x1b3dd0(0x284),function(){const _0x56f729=_0x1b3dd0;_0x3ecdd0||_0x2cb1fc(_0x515d4e),process[_0x56f729(0x1c7)](_0x529973,_0x2933de);}),_0x531fdb&&_0x3e0b74['terminate']();},_0x2933de[_0x65d0f3(0x27a)]=function(_0x25cb68){const _0x7fcfe5=_0x65d0f3;if(_0x3e0b74[_0x7fcfe5(0x240)]===_0x3e0b74[_0x7fcfe5(0x145)]){_0x3e0b74[_0x7fcfe5(0x18c)](_0x7fcfe5(0x295),function(){const _0x2dd8f6=_0x7fcfe5;_0x2933de[_0x2dd8f6(0x27a)](_0x25cb68);});return;}_0x3e0b74[_0x7fcfe5(0x169)]!==null&&(_0x3e0b74[_0x7fcfe5(0x169)][_0x7fcfe5(0x171)][_0x7fcfe5(0x23c)]?(_0x25cb68(),_0x2933de[_0x7fcfe5(0x27b)][_0x7fcfe5(0x1e0)]&&_0x2933de[_0x7fcfe5(0x21a)]()):(_0x3e0b74[_0x7fcfe5(0x169)][_0x7fcfe5(0x18c)](_0x7fcfe5(0x26c),function(){_0x25cb68();}),_0x3e0b74['close']()));},_0x2933de[_0x65d0f3(0x16d)]=function(){const _0x51927a=_0x65d0f3;_0x3e0b74[_0x51927a(0x1fe)]&&_0x3e0b74[_0x51927a(0x1c4)]();},_0x2933de['_write']=function(_0x2cee28,_0x18b993,_0x331837){const _0x1621be=_0x65d0f3;if(_0x3e0b74[_0x1621be(0x240)]===_0x3e0b74[_0x1621be(0x145)]){_0x3e0b74[_0x1621be(0x18c)]('open',function(){const _0xa4b4fb=_0x1621be;_0x2933de[_0xa4b4fb(0x177)](_0x2cee28,_0x18b993,_0x331837);});return;}_0x3e0b74[_0x1621be(0x267)](_0x2cee28,_0x331837);},_0x2933de['on'](_0x65d0f3(0x1b6),_0x420e4d),_0x2933de['on']('error',_0x163485),_0x2933de;}return Oe=_0x4a7103,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x8033b6}=ae();function _0x4430c2(_0x1ba9a8){const _0x164afc=_0x6e7e,_0x4668f6=new Set();let _0x4a7434=-0x1,_0x38d37a=-0x1,_0x51a429=0x0;for(_0x51a429;_0x51a429<_0x1ba9a8['length'];_0x51a429++){const _0x35cba6=_0x1ba9a8['charCodeAt'](_0x51a429);if(_0x38d37a===-0x1&&_0x8033b6[_0x35cba6]===0x1)_0x4a7434===-0x1&&(_0x4a7434=_0x51a429);else{if(_0x51a429!==0x0&&(_0x35cba6===0x20||_0x35cba6===0x9))_0x38d37a===-0x1&&_0x4a7434!==-0x1&&(_0x38d37a=_0x51a429);else{if(_0x35cba6===0x2c){if(_0x4a7434===-0x1)throw new SyntaxError(_0x164afc(0x18e)+_0x51a429);_0x38d37a===-0x1&&(_0x38d37a=_0x51a429);const _0x3b915a=_0x1ba9a8['slice'](_0x4a7434,_0x38d37a);if(_0x4668f6[_0x164afc(0x250)](_0x3b915a))throw new SyntaxError('The\x20\x22'+_0x3b915a+_0x164afc(0x2f4));_0x4668f6[_0x164afc(0x2d1)](_0x3b915a),_0x4a7434=_0x38d37a=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x51a429);}}}if(_0x4a7434===-0x1||_0x38d37a!==-0x1)throw new SyntaxError('Unexpected\x20end\x20of\x20input');const _0x3fcf0b=_0x1ba9a8['slice'](_0x4a7434,_0x51a429);if(_0x4668f6[_0x164afc(0x250)](_0x3fcf0b))throw new SyntaxError(_0x164afc(0x1cb)+_0x3fcf0b+_0x164afc(0x2f4));return _0x4668f6[_0x164afc(0x2d1)](_0x3fcf0b),_0x4668f6;}return Ce={'parse':_0x4430c2},Ce;}var Te,rt;function Ft(){const _0xad0f3=_0x149f8d;if(rt)return Te;rt=0x1;const _0x1f558c=nt,_0x9684e6=ot,{Duplex:_0x1ceb8f}=oe,{createHash:_0x3198f1}=Le,_0x32dae3=ct(),_0x4c4495=he(),_0xf7f1bb=At(),_0x9b9449=Pe(),{GUID:_0x3cda85,kWebSocket:_0x1a0277}=H(),_0x19d61d=/^[+/0-9A-Za-z]{22}==$/,_0x2dce09=0x0,_0x1dd85d=0x1,_0x45a453=0x2;class _0x38cff0 extends _0x1f558c{constructor(_0x50c94b,_0x4dd765){const _0x48e482=_0x6e7e;if(super(),_0x50c94b={'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':_0x9b9449,..._0x50c94b},_0x50c94b[_0x48e482(0x27c)]==null&&!_0x50c94b[_0x48e482(0x1aa)]&&!_0x50c94b[_0x48e482(0x262)]||_0x50c94b[_0x48e482(0x27c)]!=null&&(_0x50c94b[_0x48e482(0x1aa)]||_0x50c94b[_0x48e482(0x262)])||_0x50c94b[_0x48e482(0x1aa)]&&_0x50c94b['noServer'])throw new TypeError(_0x48e482(0x2c8));if(_0x50c94b[_0x48e482(0x27c)]!=null?(this['_server']=_0x9684e6[_0x48e482(0x234)]((_0x1e03c2,_0x2fd35d)=>{const _0x42df33=_0x48e482,_0x229760=_0x9684e6[_0x42df33(0x2b1)][0x1aa];_0x2fd35d[_0x42df33(0x184)](0x1aa,{'Content-Length':_0x229760['length'],'Content-Type':_0x42df33(0x2ae)}),_0x2fd35d['end'](_0x229760);}),this['_server'][_0x48e482(0x223)](_0x50c94b[_0x48e482(0x27c)],_0x50c94b[_0x48e482(0x22e)],_0x50c94b[_0x48e482(0x290)],_0x4dd765)):_0x50c94b['server']&&(this[_0x48e482(0x265)]=_0x50c94b['server']),this[_0x48e482(0x265)]){const _0x4fb264=this[_0x48e482(0x303)]['bind'](this,_0x48e482(0x2fd));this[_0x48e482(0x1a8)]=_0x516ac2(this['_server'],{'listening':this[_0x48e482(0x303)][_0x48e482(0x1d9)](this,'listening'),'error':this[_0x48e482(0x303)]['bind'](this,'error'),'upgrade':(_0x13c8b2,_0x39682b,_0xaeedd6)=>{const _0xd08a08=_0x48e482;this[_0xd08a08(0x198)](_0x13c8b2,_0x39682b,_0xaeedd6,_0x4fb264);}});}_0x50c94b[_0x48e482(0x1ba)]===!0x0&&(_0x50c94b[_0x48e482(0x1ba)]={}),_0x50c94b[_0x48e482(0x277)]&&(this[_0x48e482(0x14b)]=new Set(),this[_0x48e482(0x2a6)]=!0x1),this[_0x48e482(0x1d5)]=_0x50c94b,this[_0x48e482(0x233)]=_0x2dce09;}[_0xad0f3(0x28d)](){const _0x58876d=_0xad0f3;if(this[_0x58876d(0x1d5)][_0x58876d(0x262)])throw new Error(_0x58876d(0x23a));return this[_0x58876d(0x265)]?this[_0x58876d(0x265)][_0x58876d(0x28d)]():null;}['close'](_0x38d1a7){const _0x2ae2e3=_0xad0f3;if(this[_0x2ae2e3(0x233)]===_0x45a453){_0x38d1a7&&this[_0x2ae2e3(0x18c)](_0x2ae2e3(0x284),()=>{_0x38d1a7(new Error('The\x20server\x20is\x20not\x20running'));}),process[_0x2ae2e3(0x1c7)](_0x1e336e,this);return;}if(_0x38d1a7&&this[_0x2ae2e3(0x18c)](_0x2ae2e3(0x284),_0x38d1a7),this[_0x2ae2e3(0x233)]!==_0x1dd85d){if(this['_state']=_0x1dd85d,this[_0x2ae2e3(0x1d5)][_0x2ae2e3(0x262)]||this[_0x2ae2e3(0x1d5)]['server'])this['_server']&&(this['_removeListeners'](),this[_0x2ae2e3(0x1a8)]=this['_server']=null),this[_0x2ae2e3(0x14b)]?this[_0x2ae2e3(0x14b)][_0x2ae2e3(0x15e)]?this['_shouldEmitClose']=!0x0:process[_0x2ae2e3(0x1c7)](_0x1e336e,this):process[_0x2ae2e3(0x1c7)](_0x1e336e,this);else{const _0xb1682c=this[_0x2ae2e3(0x265)];this[_0x2ae2e3(0x1a8)](),this[_0x2ae2e3(0x1a8)]=this[_0x2ae2e3(0x265)]=null,_0xb1682c[_0x2ae2e3(0x284)](()=>{_0x1e336e(this);});}}}['shouldHandle'](_0x44a644){const _0x16fc17=_0xad0f3;if(this[_0x16fc17(0x1d5)][_0x16fc17(0x1d7)]){const _0x1d009a=_0x44a644[_0x16fc17(0x273)][_0x16fc17(0x2e5)]('?');if((_0x1d009a!==-0x1?_0x44a644[_0x16fc17(0x273)][_0x16fc17(0x22d)](0x0,_0x1d009a):_0x44a644[_0x16fc17(0x273)])!==this['options'][_0x16fc17(0x1d7)])return!0x1;}return!0x0;}[_0xad0f3(0x198)](_0x516ae9,_0x57d834,_0x19afca,_0x35f85b){const _0x4cfb1e=_0xad0f3;_0x57d834['on'](_0x4cfb1e(0x196),_0xa803f8);const _0x377b86=_0x516ae9['headers'][_0x4cfb1e(0x30b)],_0x55429d=_0x516ae9['headers']['upgrade'],_0x2b4385=+_0x516ae9[_0x4cfb1e(0x1f6)][_0x4cfb1e(0x26f)];if(_0x516ae9[_0x4cfb1e(0x1ab)]!=='GET'){_0x3d3ba1(this,_0x516ae9,_0x57d834,0x195,'Invalid\x20HTTP\x20method');return;}if(_0x55429d===void 0x0||_0x55429d[_0x4cfb1e(0x2c4)]()!==_0x4cfb1e(0x1ed)){_0x3d3ba1(this,_0x516ae9,_0x57d834,0x190,_0x4cfb1e(0x281));return;}if(_0x377b86===void 0x0||!_0x19d61d['test'](_0x377b86)){_0x3d3ba1(this,_0x516ae9,_0x57d834,0x190,_0x4cfb1e(0x20c));return;}if(_0x2b4385!==0x8&&_0x2b4385!==0xd){_0x3d3ba1(this,_0x516ae9,_0x57d834,0x190,_0x4cfb1e(0x204));return;}if(!this['shouldHandle'](_0x516ae9)){_0x533539(_0x57d834,0x190);return;}const _0xb0562c=_0x516ae9[_0x4cfb1e(0x1f6)][_0x4cfb1e(0x1e9)];let _0x2d841e=new Set();if(_0xb0562c!==void 0x0)try{_0x2d841e=_0xf7f1bb['parse'](_0xb0562c);}catch{_0x3d3ba1(this,_0x516ae9,_0x57d834,0x190,_0x4cfb1e(0x285));return;}const _0x18f691=_0x516ae9['headers'][_0x4cfb1e(0x168)],_0x4bd9be={};if(this['options'][_0x4cfb1e(0x1ba)]&&_0x18f691!==void 0x0){const _0x3a1596=new _0x4c4495(this[_0x4cfb1e(0x1d5)][_0x4cfb1e(0x1ba)],!0x0,this[_0x4cfb1e(0x1d5)][_0x4cfb1e(0x242)]);try{const _0x354a1=_0x32dae3['parse'](_0x18f691);_0x354a1[_0x4c4495[_0x4cfb1e(0x2cc)]]&&(_0x3a1596[_0x4cfb1e(0x2aa)](_0x354a1[_0x4c4495[_0x4cfb1e(0x2cc)]]),_0x4bd9be[_0x4c4495['extensionName']]=_0x3a1596);}catch{_0x3d3ba1(this,_0x516ae9,_0x57d834,0x190,_0x4cfb1e(0x1b2));return;}}if(this['options'][_0x4cfb1e(0x280)]){const _0x27b8c9={'origin':_0x516ae9['headers'][''+(_0x2b4385===0x8?_0x4cfb1e(0x182):_0x4cfb1e(0x188))],'secure':!!(_0x516ae9[_0x4cfb1e(0x1e3)][_0x4cfb1e(0x199)]||_0x516ae9[_0x4cfb1e(0x1e3)][_0x4cfb1e(0x2e3)]),'req':_0x516ae9};if(this['options'][_0x4cfb1e(0x280)][_0x4cfb1e(0x25d)]===0x2){this['options'][_0x4cfb1e(0x280)](_0x27b8c9,(_0x19e3dc,_0x1c45b1,_0x4392ba,_0x46393d)=>{const _0x44479e=_0x4cfb1e;if(!_0x19e3dc)return _0x533539(_0x57d834,_0x1c45b1||0x191,_0x4392ba,_0x46393d);this[_0x44479e(0x236)](_0x4bd9be,_0x377b86,_0x2d841e,_0x516ae9,_0x57d834,_0x19afca,_0x35f85b);});return;}if(!this['options'][_0x4cfb1e(0x280)](_0x27b8c9))return _0x533539(_0x57d834,0x191);}this['completeUpgrade'](_0x4bd9be,_0x377b86,_0x2d841e,_0x516ae9,_0x57d834,_0x19afca,_0x35f85b);}[_0xad0f3(0x236)](_0x3dc3cc,_0x431441,_0x540ec8,_0x133397,_0x451a13,_0x284b48,_0x3aa3e2){const _0x3d452a=_0xad0f3;if(!_0x451a13[_0x3d452a(0x253)]||!_0x451a13[_0x3d452a(0x243)])return _0x451a13[_0x3d452a(0x21a)]();if(_0x451a13[_0x1a0277])throw new Error(_0x3d452a(0x1db));if(this[_0x3d452a(0x233)]>_0x2dce09)return _0x533539(_0x451a13,0x1f7);const _0x23e0ed=[_0x3d452a(0x213),'Upgrade:\x20websocket',_0x3d452a(0x178),_0x3d452a(0x1de)+_0x3198f1(_0x3d452a(0x174))[_0x3d452a(0x14e)](_0x431441+_0x3cda85)[_0x3d452a(0x19f)](_0x3d452a(0x21c))],_0xeb365a=new this[(_0x3d452a(0x1d5))][(_0x3d452a(0x200))](null,void 0x0,this['options']);if(_0x540ec8[_0x3d452a(0x15e)]){const _0x376c95=this[_0x3d452a(0x1d5)][_0x3d452a(0x1a7)]?this[_0x3d452a(0x1d5)][_0x3d452a(0x1a7)](_0x540ec8,_0x133397):_0x540ec8[_0x3d452a(0x170)]()[_0x3d452a(0x2dc)]()[_0x3d452a(0x151)];_0x376c95&&(_0x23e0ed['push'](_0x3d452a(0x1d1)+_0x376c95),_0xeb365a['_protocol']=_0x376c95);}if(_0x3dc3cc[_0x4c4495[_0x3d452a(0x2cc)]]){const _0x177d98=_0x3dc3cc[_0x4c4495[_0x3d452a(0x2cc)]][_0x3d452a(0x255)],_0x1ce034=_0x32dae3[_0x3d452a(0x1a6)]({[_0x4c4495[_0x3d452a(0x2cc)]]:[_0x177d98]});_0x23e0ed['push'](_0x3d452a(0x2c3)+_0x1ce034),_0xeb365a[_0x3d452a(0x186)]=_0x3dc3cc;}this[_0x3d452a(0x303)](_0x3d452a(0x1f6),_0x23e0ed,_0x133397),_0x451a13[_0x3d452a(0x17a)](_0x23e0ed[_0x3d452a(0x27d)]('\x0d\x0a')[_0x3d452a(0x23b)]('\x0d\x0a')),_0x451a13[_0x3d452a(0x181)](_0x3d452a(0x196),_0xa803f8),_0xeb365a[_0x3d452a(0x17b)](_0x451a13,_0x284b48,{'allowSynchronousEvents':this['options']['allowSynchronousEvents'],'maxPayload':this[_0x3d452a(0x1d5)][_0x3d452a(0x242)],'skipUTF8Validation':this['options'][_0x3d452a(0x289)]}),this['clients']&&(this[_0x3d452a(0x14b)][_0x3d452a(0x2d1)](_0xeb365a),_0xeb365a['on'](_0x3d452a(0x284),()=>{const _0x4ddad2=_0x3d452a;this[_0x4ddad2(0x14b)][_0x4ddad2(0x2e4)](_0xeb365a),this[_0x4ddad2(0x2a6)]&&!this[_0x4ddad2(0x14b)][_0x4ddad2(0x15e)]&&process['nextTick'](_0x1e336e,this);})),_0x3aa3e2(_0xeb365a,_0x133397);}}Te=_0x38cff0;function _0x516ac2(_0x5d6c84,_0x3aba00){const _0x3c2ad9=_0xad0f3;for(const _0x350362 of Object[_0x3c2ad9(0x219)](_0x3aba00))_0x5d6c84['on'](_0x350362,_0x3aba00[_0x350362]);return function(){const _0x1bbcc0=_0x3c2ad9;for(const _0x4a8ec5 of Object['keys'](_0x3aba00))_0x5d6c84[_0x1bbcc0(0x181)](_0x4a8ec5,_0x3aba00[_0x4a8ec5]);};}function _0x1e336e(_0x501bef){const _0x31ba2d=_0xad0f3;_0x501bef[_0x31ba2d(0x233)]=_0x45a453,_0x501bef[_0x31ba2d(0x303)](_0x31ba2d(0x284));}function _0xa803f8(){this['destroy']();}function _0x533539(_0x910839,_0x33ea9b,_0x1c46e8,_0x118804){const _0xb303d3=_0xad0f3;_0x1c46e8=_0x1c46e8||_0x9684e6[_0xb303d3(0x2b1)][_0x33ea9b],_0x118804={'Connection':_0xb303d3(0x284),'Content-Type':_0xb303d3(0x143),'Content-Length':Buffer[_0xb303d3(0x2c7)](_0x1c46e8),..._0x118804},_0x910839[_0xb303d3(0x18c)](_0xb303d3(0x26c),_0x910839[_0xb303d3(0x21a)]),_0x910839['end'](_0xb303d3(0x2bd)+_0x33ea9b+'\x20'+_0x9684e6[_0xb303d3(0x2b1)][_0x33ea9b]+'\x0d\x0a'+Object[_0xb303d3(0x219)](_0x118804)[_0xb303d3(0x1ce)](_0x5d110e=>_0x5d110e+':\x20'+_0x118804[_0x5d110e])[_0xb303d3(0x23b)]('\x0d\x0a')+_0xb303d3(0x149)+_0x1c46e8);}function _0x3d3ba1(_0x5957db,_0x2dba86,_0x4dc830,_0x49f7bf,_0x355e06){const _0x313bb0=_0xad0f3;if(_0x5957db['listenerCount'](_0x313bb0(0x271))){const _0x151fbd=new Error(_0x355e06);Error['captureStackTrace'](_0x151fbd,_0x3d3ba1),_0x5957db[_0x313bb0(0x303)](_0x313bb0(0x271),_0x151fbd,_0x4dc830,_0x2dba86);}else _0x533539(_0x4dc830,_0x49f7bf,_0x355e06);}return Te;}Ft();function _0x6e7e(_0x425038,_0x5a84a4){const _0x1bb364=_0x1bb3();return _0x6e7e=function(_0x6e7e2,_0x2e3cb8){_0x6e7e2=_0x6e7e2-0x137;let _0x5cf960=_0x1bb364[_0x6e7e2];return _0x5cf960;},_0x6e7e(_0x425038,_0x5a84a4);}var jt=Object['getOwnPropertyDescriptor'],Wt=(_0x10fd83,_0x2b6a78,_0x4aed5d,_0x4e8635)=>{for(var _0x3c45d3=_0x4e8635>0x1?void 0x0:_0x4e8635?jt(_0x2b6a78,_0x4aed5d):_0x2b6a78,_0x98f75e=_0x10fd83['length']-0x1,_0x47fbe9;_0x98f75e>=0x0;_0x98f75e--)(_0x47fbe9=_0x10fd83[_0x98f75e])&&(_0x3c45d3=_0x47fbe9(_0x3c45d3)||_0x3c45d3);return _0x3c45d3;},qt=(_0x420ae1,_0x3cc535)=>(_0x435514,_0x2aa68e)=>_0x3cc535(_0x435514,_0x2aa68e,_0x420ae1);let ke=class extends A[_0x149f8d(0x266)]{constructor(_0x7b2cb9){super(),this['_configService']=_0x7b2cb9;}[_0x149f8d(0x193)](_0xbe177){const _0x290f68=_0x149f8d;var _0x2886c3;const _0x504606=(_0x2886c3=this[_0x290f68(0x264)][_0x290f68(0x29a)](fe))==null?void 0x0:_0x2886c3[_0x290f68(0x1d8)];try{const _0x494c0c=new $t(_0xbe177,{'headers':{..._0x504606}}),_0x4cf410=new A['DisposableCollection']();return{'URL':_0xbe177,'close':(_0x6019aa,_0x5c727a)=>{const _0x452d0a=_0x290f68;_0x494c0c[_0x452d0a(0x284)](_0x6019aa,_0x5c727a),_0x4cf410['dispose']();},'send':_0x2aa9dd=>{const _0x2af9ff=_0x290f68;_0x494c0c[_0x2af9ff(0x267)](_0x2aa9dd);},'open$':new V[(_0x290f68(0x2fc))](_0x37be0f=>{const _0x290670=_0x290f68,_0x46227c=_0x2eb119=>_0x37be0f['next'](_0x2eb119);_0x494c0c['addEventListener']('open',_0x46227c),_0x4cf410[_0x290670(0x2d1)](A[_0x290670(0x2cf)](()=>_0x494c0c['removeEventListener']('open',_0x46227c)));})[_0x290f68(0x2ec)](V[_0x290f68(0x228)]()),'close$':new V[(_0x290f68(0x2fc))](_0x12c08f=>{const _0x13d2da=_0x290f68,_0x32647b=_0x36651f=>_0x12c08f[_0x13d2da(0x2dc)](_0x36651f);_0x494c0c[_0x13d2da(0x194)]('close',_0x32647b),_0x4cf410['add'](A[_0x13d2da(0x2cf)](()=>_0x494c0c['removeEventListener']('close',_0x32647b)));})['pipe'](V[_0x290f68(0x228)]()),'error$':new V[(_0x290f68(0x2fc))](_0x5c8c39=>{const _0x3dcf2c=_0x290f68,_0x22fa85=_0x40e81f=>_0x5c8c39[_0x3dcf2c(0x2dc)](_0x40e81f);_0x494c0c[_0x3dcf2c(0x194)](_0x3dcf2c(0x196),_0x22fa85),_0x4cf410['add'](A[_0x3dcf2c(0x2cf)](()=>_0x494c0c['removeEventListener']('error',_0x22fa85)));})[_0x290f68(0x2ec)](V[_0x290f68(0x228)]()),'message$':new V[(_0x290f68(0x2fc))](_0x2120ec=>{const _0x449ac8=_0x290f68,_0x48f8e0=_0x348989=>_0x2120ec[_0x449ac8(0x2dc)](_0x348989);_0x494c0c[_0x449ac8(0x194)](_0x449ac8(0x19e),_0x48f8e0),_0x4cf410['add'](A['toDisposable'](()=>_0x494c0c['removeEventListener'](_0x449ac8(0x19e),_0x48f8e0)));})[_0x290f68(0x2ec)](V['share']())};}catch(_0x570c0d){return console[_0x290f68(0x196)](_0x570c0d),null;}}};ke=Wt([qt(0x0,A[_0x149f8d(0x1fc)])],ke);var Gt=Object[_0x149f8d(0x2a7)],Vt=Object[_0x149f8d(0x276)],Ht=(_0x16464e,_0x5da665,_0x12a295)=>_0x5da665 in _0x16464e?Gt(_0x16464e,_0x5da665,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x12a295}):_0x16464e[_0x5da665]=_0x12a295,zt=(_0x2b2e03,_0x53bff1,_0x3dd371,_0x40f0b7)=>{const _0x5bca6e=_0x149f8d;for(var _0x1aa627=_0x40f0b7>0x1?void 0x0:_0x40f0b7?Vt(_0x53bff1,_0x3dd371):_0x53bff1,_0x45123b=_0x2b2e03[_0x5bca6e(0x25d)]-0x1,_0x13a836;_0x45123b>=0x0;_0x45123b--)(_0x13a836=_0x2b2e03[_0x45123b])&&(_0x1aa627=_0x13a836(_0x1aa627)||_0x1aa627);return _0x1aa627;},Ne=(_0x41eb6a,_0x1b2c96)=>(_0x24ef19,_0x1de06b)=>_0x1b2c96(_0x24ef19,_0x1de06b,_0x41eb6a),Yt=(_0x17deb5,_0x411607,_0x288f11)=>Ht(_0x17deb5,_0x411607+'',_0x288f11);exports[_0x149f8d(0x2d3)]=class extends A[_0x149f8d(0x274)]{constructor(_0x5c620c=Ct,_0x21b5b0,_0x35d2ad,_0x3bdf56){const _0x21cdb4=_0x149f8d;_0x5c620c['customHeaders']||_0x21b5b0[_0x21cdb4(0x25a)](_0x21cdb4(0x18a)),super(),this[_0x21cdb4(0x264)]=_0x35d2ad,this[_0x21cdb4(0x2b8)]=_0x3bdf56,this[_0x21cdb4(0x264)][_0x21cdb4(0x1f5)](fe,_0x5c620c);}[_0x149f8d(0x148)](){const _0x3635e0=_0x149f8d;this[_0x3635e0(0x21b)]();}[_0x149f8d(0x21b)](){const _0x404996=_0x149f8d;A[_0x404996(0x257)](this['_injector'],[[it[_0x404996(0x226)],{'useClass':ke}]]);}},Yt(exports['UniverCollaborationClientNodePlugin'],_0x149f8d(0x2a5),_0x149f8d(0x209)),exports['UniverCollaborationClientNodePlugin']=zt([A[_0x149f8d(0x19b)](st[_0x149f8d(0x291)]),Ne(0x1,A[_0x149f8d(0x183)]),Ne(0x2,A[_0x149f8d(0x1fc)]),Ne(0x3,A['Inject'](A[_0x149f8d(0x2a2)]))],exports[_0x149f8d(0x2d3)]);var Kt=Object[_0x149f8d(0x276)],Xt=(_0x3e4d56,_0x5c2d4b,_0x6e9648,_0x5a8fc4)=>{const _0xf69554=_0x149f8d;for(var _0x4445c2=_0x5a8fc4>0x1?void 0x0:_0x5a8fc4?Kt(_0x5c2d4b,_0x6e9648):_0x5c2d4b,_0x50add0=_0x3e4d56[_0xf69554(0x25d)]-0x1,_0xbd2c35;_0x50add0>=0x0;_0x50add0--)(_0xbd2c35=_0x3e4d56[_0x50add0])&&(_0x4445c2=_0xbd2c35(_0x4445c2)||_0x4445c2);return _0x4445c2;},ne=(_0x3f76ff,_0x6b9574)=>(_0x142689,_0x149cb3)=>_0x6b9574(_0x142689,_0x149cb3,_0x3f76ff);exports[_0x149f8d(0x164)]=class extends st['CollaborationSocketService']{constructor(_0x162526,_0x13bb98,_0x3acd21,_0x44ebdd,_0x44536a){const _0x35efee=_0x149f8d;super(_0x162526,_0x13bb98,_0x3acd21,_0x44ebdd,_0x44536a);const _0x4989fa=this[_0x35efee(0x264)]['getConfig'](fe);this[_0x35efee(0x2b9)][_0x35efee(0x2c5)]({'interceptor':(_0x1ab26d,_0xaee07)=>{const _0x33a425=_0x35efee;var _0x4f1622;const _0x56532f=_0x1ab26d[_0x33a425(0x1f6)];return(_0x4f1622=_0x4989fa==null?void 0x0:_0x4989fa['customHeaders'])!=null&&_0x4f1622[_0x33a425(0x1bf)]&&_0x56532f[_0x33a425(0x2c9)](_0x33a425(0x1a9),_0x4989fa[_0x33a425(0x1d8)][_0x33a425(0x1bf)]),_0xaee07(_0x1ab26d);}});}async[_0x149f8d(0x193)](_0x11f34f){const _0x5d8f3c=_0x149f8d;return this[_0x5d8f3c(0x13e)](_0x11f34f);}},exports['NodeCollaborationSocketService']=Xt([ne(0x0,A[_0x149f8d(0x2f6)](A[_0x149f8d(0x2a2)])),ne(0x1,A['Inject'](it['HTTPService'])),ne(0x2,A['IConfigService']),ne(0x3,A[_0x149f8d(0x183)]),ne(0x4,Ot[_0x149f8d(0x20f)])],exports[_0x149f8d(0x164)]),exports[_0x149f8d(0x1eb)]=fe;