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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/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 _0x409d2e=_0x2d24;(function(_0x466de5,_0x3e9661){const _0x222ac0=_0x2d24,_0x41e42a=_0x466de5();while(!![]){try{const _0x39c031=-parseInt(_0x222ac0(0x2fb))/0x1*(-parseInt(_0x222ac0(0x339))/0x2)+-parseInt(_0x222ac0(0x38b))/0x3+-parseInt(_0x222ac0(0x272))/0x4*(-parseInt(_0x222ac0(0x23c))/0x5)+parseInt(_0x222ac0(0x2db))/0x6+parseInt(_0x222ac0(0x1f8))/0x7*(-parseInt(_0x222ac0(0x27c))/0x8)+-parseInt(_0x222ac0(0x1e8))/0x9+-parseInt(_0x222ac0(0x338))/0xa*(-parseInt(_0x222ac0(0x1f4))/0xb);if(_0x39c031===_0x3e9661)break;else _0x41e42a['push'](_0x41e42a['shift']());}catch(_0xdbdce3){_0x41e42a['push'](_0x41e42a['shift']());}}}(_0x3d58,0x1ec35));Object[_0x409d2e(0x2a3)](exports,Symbol['toStringTag'],{'value':_0x409d2e(0x1fc)});const st=require(_0x409d2e(0x1d5)),A=require(_0x409d2e(0x226)),it=require(_0x409d2e(0x22c)),V=require(_0x409d2e(0x214)),nt=require(_0x409d2e(0x2e0)),vt=require('https'),ot=require(_0x409d2e(0x26d)),St=require(_0x409d2e(0x230)),Et=require(_0x409d2e(0x2f2)),Le=require(_0x409d2e(0x342)),oe=require(_0x409d2e(0x345)),xt=require(_0x409d2e(0x38f)),bt=require('zlib'),wt=require(_0x409d2e(0x353)),Ot=require('@univerjs-pro/collaboration'),fe=_0x409d2e(0x322),Ct={'customHeaders':{}};function Tt(_0x460383){const _0x391f61=_0x409d2e;return _0x460383&&_0x460383[_0x391f61(0x310)]&&Object['prototype'][_0x391f61(0x2ef)][_0x391f61(0x1e6)](_0x460383,_0x391f61(0x343))?_0x460383[_0x391f61(0x343)]:_0x460383;}function at(_0x3034ee){const _0x3e185b=_0x409d2e;if(Object[_0x3e185b(0x355)][_0x3e185b(0x2ef)][_0x3e185b(0x1e6)](_0x3034ee,'__esModule'))return _0x3034ee;var _0x937b95=_0x3034ee[_0x3e185b(0x343)];if(typeof _0x937b95==_0x3e185b(0x2be)){var _0x599e38=function _0x45251d(){const _0x136cff=_0x3e185b;return this instanceof _0x45251d?Reflect['construct'](_0x937b95,arguments,this[_0x136cff(0x256)]):_0x937b95[_0x136cff(0x33b)](this,arguments);};_0x599e38[_0x3e185b(0x355)]=_0x937b95[_0x3e185b(0x355)];}else _0x599e38={};return Object[_0x3e185b(0x2a3)](_0x599e38,_0x3e185b(0x310),{'value':!0x0}),Object['keys'](_0x3034ee)['forEach'](function(_0x1b6238){const _0x42b137=_0x3e185b;var _0x309461=Object[_0x42b137(0x39e)](_0x3034ee,_0x1b6238);Object[_0x42b137(0x2a3)](_0x599e38,_0x1b6238,_0x309461[_0x42b137(0x1ff)]?_0x309461:{'enumerable':!0x0,'get':function(){return _0x3034ee[_0x1b6238];}});}),_0x599e38;}var se={'exports':{}},ge,Ge;function H(){const _0x2af3fa=_0x409d2e;if(Ge)return ge;Ge=0x1;const _0x5c25e9=['nodebuffer',_0x2af3fa(0x2e5),_0x2af3fa(0x288)],_0x19d29c=typeof Blob<'u';return _0x19d29c&&_0x5c25e9[_0x2af3fa(0x273)](_0x2af3fa(0x258)),ge={'BINARY_TYPES':_0x5c25e9,'EMPTY_BUFFER':Buffer[_0x2af3fa(0x203)](0x0),'GUID':'258EAFA5-E914-47DA-95CA-C5AB0DC85B11','hasBlob':_0x19d29c,'kForOnEventAttribute':Symbol(_0x2af3fa(0x2f1)),'kListener':Symbol(_0x2af3fa(0x24a)),'kStatusCode':Symbol('status-code'),'kWebSocket':Symbol(_0x2af3fa(0x291)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x409d2e(0x330)](Object[_0x409d2e(0x2a3)]({'__proto__':null,'default':Nt},Symbol[_0x409d2e(0x366)],{'value':'Module'})),Lt=at(kt);var Ve;function ce(){const _0x567c81=_0x409d2e;if(Ve)return se[_0x567c81(0x29d)];Ve=0x1;const {EMPTY_BUFFER:_0x565176}=H(),_0x23915b=Buffer[Symbol[_0x567c81(0x2c7)]];function _0x5e3de6(_0x269b90,_0x181e4a){const _0x545812=_0x567c81;if(_0x269b90[_0x545812(0x2a4)]===0x0)return _0x565176;if(_0x269b90[_0x545812(0x2a4)]===0x1)return _0x269b90[0x0];const _0x43b646=Buffer[_0x545812(0x2e9)](_0x181e4a);let _0x3c03fd=0x0;for(let _0xf006ce=0x0;_0xf006ce<_0x269b90[_0x545812(0x2a4)];_0xf006ce++){const _0x2a36e9=_0x269b90[_0xf006ce];_0x43b646['set'](_0x2a36e9,_0x3c03fd),_0x3c03fd+=_0x2a36e9[_0x545812(0x2a4)];}return _0x3c03fd<_0x181e4a?new _0x23915b(_0x43b646[_0x545812(0x353)],_0x43b646[_0x545812(0x22f)],_0x3c03fd):_0x43b646;}function _0x4cecb2(_0x1e16a5,_0x29e74a,_0x15d561,_0x1649d2,_0x5d1590){for(let _0x294a25=0x0;_0x294a25<_0x5d1590;_0x294a25++)_0x15d561[_0x1649d2+_0x294a25]=_0x1e16a5[_0x294a25]^_0x29e74a[_0x294a25&0x3];}function _0x2a98dd(_0x1bd3ad,_0xb735af){const _0x5ebec6=_0x567c81;for(let _0x324206=0x0;_0x324206<_0x1bd3ad[_0x5ebec6(0x2a4)];_0x324206++)_0x1bd3ad[_0x324206]^=_0xb735af[_0x324206&0x3];}function _0x16d980(_0x55f348){const _0x158e3a=_0x567c81;return _0x55f348[_0x158e3a(0x2a4)]===_0x55f348[_0x158e3a(0x353)][_0x158e3a(0x308)]?_0x55f348[_0x158e3a(0x353)]:_0x55f348[_0x158e3a(0x353)][_0x158e3a(0x211)](_0x55f348[_0x158e3a(0x22f)],_0x55f348[_0x158e3a(0x22f)]+_0x55f348[_0x158e3a(0x2a4)]);}function _0x26f8a9(_0x36876f){const _0x446f82=_0x567c81;if(_0x26f8a9[_0x446f82(0x20b)]=!0x0,Buffer[_0x446f82(0x254)](_0x36876f))return _0x36876f;let _0x5f58ce;return _0x36876f instanceof ArrayBuffer?_0x5f58ce=new _0x23915b(_0x36876f):ArrayBuffer[_0x446f82(0x209)](_0x36876f)?_0x5f58ce=new _0x23915b(_0x36876f['buffer'],_0x36876f[_0x446f82(0x22f)],_0x36876f[_0x446f82(0x308)]):(_0x5f58ce=Buffer['from'](_0x36876f),_0x26f8a9[_0x446f82(0x20b)]=!0x1),_0x5f58ce;}if(se[_0x567c81(0x29d)]={'concat':_0x5e3de6,'mask':_0x4cecb2,'toArrayBuffer':_0x16d980,'toBuffer':_0x26f8a9,'unmask':_0x2a98dd},!process['env'][_0x567c81(0x294)])try{const _0x10488d=Lt;se[_0x567c81(0x29d)][_0x567c81(0x21a)]=function(_0x557e51,_0x2ab221,_0xd3a3a4,_0x53c5bd,_0x3f833d){const _0x12660f=_0x567c81;_0x3f833d<0x30?_0x4cecb2(_0x557e51,_0x2ab221,_0xd3a3a4,_0x53c5bd,_0x3f833d):_0x10488d[_0x12660f(0x21a)](_0x557e51,_0x2ab221,_0xd3a3a4,_0x53c5bd,_0x3f833d);},se[_0x567c81(0x29d)][_0x567c81(0x2d3)]=function(_0x59e7dc,_0x5d9fac){const _0x34fa7d=_0x567c81;_0x59e7dc[_0x34fa7d(0x2a4)]<0x20?_0x2a98dd(_0x59e7dc,_0x5d9fac):_0x10488d['unmask'](_0x59e7dc,_0x5d9fac);};}catch{}return se[_0x567c81(0x29d)];}var ye,He;function Pt(){const _0x39d01d=_0x409d2e;if(He)return ye;He=0x1;const _0x1b876b=Symbol('kDone'),_0x85a1ed=Symbol(_0x39d01d(0x2bc));class _0x408cfd{constructor(_0x2de3f3){const _0x4470b3=_0x39d01d;this[_0x1b876b]=()=>{const _0x2b89f0=_0x2d24;this[_0x2b89f0(0x323)]--,this[_0x85a1ed]();},this[_0x4470b3(0x2ae)]=_0x2de3f3||0x1/0x0,this[_0x4470b3(0x2e3)]=[],this[_0x4470b3(0x323)]=0x0;}['add'](_0x4743d7){const _0x209125=_0x39d01d;this[_0x209125(0x2e3)][_0x209125(0x273)](_0x4743d7),this[_0x85a1ed]();}[_0x85a1ed](){const _0x292293=_0x39d01d;if(this['pending']!==this[_0x292293(0x2ae)]&&this[_0x292293(0x2e3)]['length']){const _0x568354=this[_0x292293(0x2e3)][_0x292293(0x31e)]();this['pending']++,_0x568354(this[_0x1b876b]);}}}return ye=_0x408cfd,ye;}var ve,ze;function he(){const _0x3a62a4=_0x409d2e;if(ze)return ve;ze=0x1;const _0x5bfaf4=bt,_0x56a5cd=ce(),_0x2b2110=Pt(),{kStatusCode:_0x25ea41}=H(),_0x46b03d=Buffer[Symbol[_0x3a62a4(0x2c7)]],_0x338038=Buffer[_0x3a62a4(0x2d1)]([0x0,0x0,0xff,0xff]),_0x31e868=Symbol('permessage-deflate'),_0x2ef64c=Symbol(_0x3a62a4(0x2b6)),_0x419067=Symbol(_0x3a62a4(0x21b)),_0x481649=Symbol(_0x3a62a4(0x300)),_0x56f120=Symbol('error');let _0x58278f;class _0x2f61c2{constructor(_0x420c98,_0x465e1b,_0x52cfe6){const _0x2d67a8=_0x3a62a4;if(this[_0x2d67a8(0x22b)]=_0x52cfe6|0x0,this[_0x2d67a8(0x37f)]=_0x420c98||{},this[_0x2d67a8(0x30d)]=this[_0x2d67a8(0x37f)][_0x2d67a8(0x224)]!==void 0x0?this[_0x2d67a8(0x37f)][_0x2d67a8(0x224)]:0x400,this[_0x2d67a8(0x1e0)]=!!_0x465e1b,this[_0x2d67a8(0x205)]=null,this[_0x2d67a8(0x326)]=null,this[_0x2d67a8(0x395)]=null,!_0x58278f){const _0x1d3c65=this['_options'][_0x2d67a8(0x1fa)]!==void 0x0?this[_0x2d67a8(0x37f)][_0x2d67a8(0x1fa)]:0xa;_0x58278f=new _0x2b2110(_0x1d3c65);}}static get[_0x3a62a4(0x38d)](){const _0x5736f5=_0x3a62a4;return _0x5736f5(0x220);}['offer'](){const _0x287265=_0x3a62a4,_0x1d5fca={};return this['_options']['serverNoContextTakeover']&&(_0x1d5fca['server_no_context_takeover']=!0x0),this[_0x287265(0x37f)][_0x287265(0x2c6)]&&(_0x1d5fca[_0x287265(0x2f5)]=!0x0),this[_0x287265(0x37f)][_0x287265(0x397)]&&(_0x1d5fca['server_max_window_bits']=this[_0x287265(0x37f)][_0x287265(0x397)]),this[_0x287265(0x37f)][_0x287265(0x21f)]?_0x1d5fca['client_max_window_bits']=this[_0x287265(0x37f)][_0x287265(0x21f)]:this[_0x287265(0x37f)][_0x287265(0x21f)]==null&&(_0x1d5fca['client_max_window_bits']=!0x0),_0x1d5fca;}[_0x3a62a4(0x28a)](_0x1dcfac){const _0x2a72c0=_0x3a62a4;return _0x1dcfac=this[_0x2a72c0(0x242)](_0x1dcfac),this[_0x2a72c0(0x395)]=this['_isServer']?this[_0x2a72c0(0x332)](_0x1dcfac):this[_0x2a72c0(0x28e)](_0x1dcfac),this[_0x2a72c0(0x395)];}[_0x3a62a4(0x27d)](){const _0x20df6d=_0x3a62a4;if(this[_0x20df6d(0x326)]&&(this['_inflate'][_0x20df6d(0x32f)](),this['_inflate']=null),this[_0x20df6d(0x205)]){const _0x56903b=this[_0x20df6d(0x205)][_0x419067];this[_0x20df6d(0x205)][_0x20df6d(0x32f)](),this[_0x20df6d(0x205)]=null,_0x56903b&&_0x56903b(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}['acceptAsServer'](_0x170e46){const _0x36fe33=_0x3a62a4,_0x1dca58=this['_options'],_0x444067=_0x170e46[_0x36fe33(0x26c)](_0x2c477b=>!(_0x1dca58[_0x36fe33(0x31d)]===!0x1&&_0x2c477b[_0x36fe33(0x22d)]||_0x2c477b[_0x36fe33(0x35a)]&&(_0x1dca58[_0x36fe33(0x397)]===!0x1||typeof _0x1dca58[_0x36fe33(0x397)]==_0x36fe33(0x382)&&_0x1dca58['serverMaxWindowBits']>_0x2c477b[_0x36fe33(0x35a)])||typeof _0x1dca58['clientMaxWindowBits']==_0x36fe33(0x382)&&!_0x2c477b['client_max_window_bits']));if(!_0x444067)throw new Error('None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted');return _0x1dca58['serverNoContextTakeover']&&(_0x444067[_0x36fe33(0x22d)]=!0x0),_0x1dca58[_0x36fe33(0x2c6)]&&(_0x444067['client_no_context_takeover']=!0x0),typeof _0x1dca58[_0x36fe33(0x397)]==_0x36fe33(0x382)&&(_0x444067['server_max_window_bits']=_0x1dca58['serverMaxWindowBits']),typeof _0x1dca58[_0x36fe33(0x21f)]=='number'?_0x444067[_0x36fe33(0x1f3)]=_0x1dca58[_0x36fe33(0x21f)]:(_0x444067[_0x36fe33(0x1f3)]===!0x0||_0x1dca58['clientMaxWindowBits']===!0x1)&&delete _0x444067[_0x36fe33(0x1f3)],_0x444067;}[_0x3a62a4(0x28e)](_0x3f21e8){const _0x27d29e=_0x3a62a4,_0x472586=_0x3f21e8[0x0];if(this['_options'][_0x27d29e(0x2c6)]===!0x1&&_0x472586['client_no_context_takeover'])throw new Error(_0x27d29e(0x36b));if(!_0x472586[_0x27d29e(0x1f3)])typeof this[_0x27d29e(0x37f)][_0x27d29e(0x21f)]==_0x27d29e(0x382)&&(_0x472586['client_max_window_bits']=this[_0x27d29e(0x37f)][_0x27d29e(0x21f)]);else{if(this[_0x27d29e(0x37f)]['clientMaxWindowBits']===!0x1||typeof this[_0x27d29e(0x37f)][_0x27d29e(0x21f)]=='number'&&_0x472586['client_max_window_bits']>this[_0x27d29e(0x37f)][_0x27d29e(0x21f)])throw new Error('Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22');}return _0x472586;}[_0x3a62a4(0x242)](_0x5edced){return _0x5edced['forEach'](_0x36b969=>{const _0x5d383b=_0x2d24;Object[_0x5d383b(0x20d)](_0x36b969)['forEach'](_0x528e26=>{const _0x1505c4=_0x5d383b;let _0x5d6314=_0x36b969[_0x528e26];if(_0x5d6314[_0x1505c4(0x2a4)]>0x1)throw new Error(_0x1505c4(0x307)+_0x528e26+_0x1505c4(0x1f1));if(_0x5d6314=_0x5d6314[0x0],_0x528e26===_0x1505c4(0x1f3)){if(_0x5d6314!==!0x0){const _0x2d7db9=+_0x5d6314;if(!Number['isInteger'](_0x2d7db9)||_0x2d7db9<0x8||_0x2d7db9>0xf)throw new TypeError(_0x1505c4(0x340)+_0x528e26+_0x1505c4(0x354)+_0x5d6314);_0x5d6314=_0x2d7db9;}else{if(!this[_0x1505c4(0x1e0)])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x528e26+_0x1505c4(0x354)+_0x5d6314);}}else{if(_0x528e26===_0x1505c4(0x35a)){const _0x17e23b=+_0x5d6314;if(!Number[_0x1505c4(0x35b)](_0x17e23b)||_0x17e23b<0x8||_0x17e23b>0xf)throw new TypeError(_0x1505c4(0x340)+_0x528e26+_0x1505c4(0x354)+_0x5d6314);_0x5d6314=_0x17e23b;}else{if(_0x528e26===_0x1505c4(0x2f5)||_0x528e26===_0x1505c4(0x22d)){if(_0x5d6314!==!0x0)throw new TypeError(_0x1505c4(0x340)+_0x528e26+_0x1505c4(0x354)+_0x5d6314);}else throw new Error(_0x1505c4(0x352)+_0x528e26+'\x22');}}_0x36b969[_0x528e26]=_0x5d6314;});}),_0x5edced;}[_0x3a62a4(0x331)](_0x660fe5,_0x5b6124,_0x49f174){const _0x40d32a=_0x3a62a4;_0x58278f[_0x40d32a(0x29b)](_0x576fae=>{const _0x57cd41=_0x40d32a;this[_0x57cd41(0x208)](_0x660fe5,_0x5b6124,(_0x3792b3,_0x559bf5)=>{_0x576fae(),_0x49f174(_0x3792b3,_0x559bf5);});});}['compress'](_0x3c5965,_0x95a4,_0x685cb4){const _0x769db5=_0x3a62a4;_0x58278f[_0x769db5(0x29b)](_0x3537e9=>{const _0x35f670=_0x769db5;this[_0x35f670(0x33e)](_0x3c5965,_0x95a4,(_0x5a7fa8,_0x16a4de)=>{_0x3537e9(),_0x685cb4(_0x5a7fa8,_0x16a4de);});});}[_0x3a62a4(0x208)](_0x379a55,_0x4e9e73,_0x5bf5ca){const _0x596795=_0x3a62a4,_0x7dbf70=this['_isServer']?_0x596795(0x32b):_0x596795(0x221);if(!this[_0x596795(0x326)]){const _0x39aa15=_0x7dbf70+'_max_window_bits',_0x457f32=typeof this[_0x596795(0x395)][_0x39aa15]!='number'?_0x5bfaf4[_0x596795(0x2f0)]:this[_0x596795(0x395)][_0x39aa15];this[_0x596795(0x326)]=_0x5bfaf4[_0x596795(0x289)]({...this['_options'][_0x596795(0x2f3)],'windowBits':_0x457f32}),this[_0x596795(0x326)][_0x31e868]=this,this[_0x596795(0x326)][_0x2ef64c]=0x0,this[_0x596795(0x326)][_0x481649]=[],this[_0x596795(0x326)]['on'](_0x596795(0x346),_0x307d4c),this[_0x596795(0x326)]['on'](_0x596795(0x2d6),_0x55a096);}this['_inflate'][_0x419067]=_0x5bf5ca,this[_0x596795(0x326)][_0x596795(0x1e3)](_0x379a55),_0x4e9e73&&this['_inflate'][_0x596795(0x1e3)](_0x338038),this[_0x596795(0x326)][_0x596795(0x344)](()=>{const _0x21c41d=_0x596795,_0x1532c9=this[_0x21c41d(0x326)][_0x56f120];if(_0x1532c9){this['_inflate'][_0x21c41d(0x32f)](),this[_0x21c41d(0x326)]=null,_0x5bf5ca(_0x1532c9);return;}const _0x259370=_0x56a5cd[_0x21c41d(0x218)](this[_0x21c41d(0x326)][_0x481649],this['_inflate'][_0x2ef64c]);this['_inflate'][_0x21c41d(0x23d)][_0x21c41d(0x2cb)]?(this[_0x21c41d(0x326)][_0x21c41d(0x32f)](),this['_inflate']=null):(this[_0x21c41d(0x326)][_0x2ef64c]=0x0,this[_0x21c41d(0x326)][_0x481649]=[],_0x4e9e73&&this[_0x21c41d(0x395)][_0x7dbf70+_0x21c41d(0x306)]&&this[_0x21c41d(0x326)][_0x21c41d(0x1f6)]()),_0x5bf5ca(null,_0x259370);});}[_0x3a62a4(0x33e)](_0x1441ff,_0x23e977,_0x404a9b){const _0x54f2d4=_0x3a62a4,_0x303bf4=this[_0x54f2d4(0x1e0)]?'server':_0x54f2d4(0x32b);if(!this[_0x54f2d4(0x205)]){const _0xa59f10=_0x303bf4+'_max_window_bits',_0x164c37=typeof this['params'][_0xa59f10]!=_0x54f2d4(0x382)?_0x5bfaf4['Z_DEFAULT_WINDOWBITS']:this[_0x54f2d4(0x395)][_0xa59f10];this[_0x54f2d4(0x205)]=_0x5bfaf4['createDeflateRaw']({...this[_0x54f2d4(0x37f)][_0x54f2d4(0x212)],'windowBits':_0x164c37}),this[_0x54f2d4(0x205)][_0x2ef64c]=0x0,this[_0x54f2d4(0x205)][_0x481649]=[],this[_0x54f2d4(0x205)]['on'](_0x54f2d4(0x2d6),_0x3a10eb);}this[_0x54f2d4(0x205)][_0x419067]=_0x404a9b,this['_deflate'][_0x54f2d4(0x1e3)](_0x1441ff),this[_0x54f2d4(0x205)][_0x54f2d4(0x344)](_0x5bfaf4[_0x54f2d4(0x2e7)],()=>{const _0x4f54a3=_0x54f2d4;if(!this[_0x4f54a3(0x205)])return;let _0xd9e37c=_0x56a5cd[_0x4f54a3(0x218)](this[_0x4f54a3(0x205)][_0x481649],this[_0x4f54a3(0x205)][_0x2ef64c]);_0x23e977&&(_0xd9e37c=new _0x46b03d(_0xd9e37c[_0x4f54a3(0x353)],_0xd9e37c[_0x4f54a3(0x22f)],_0xd9e37c[_0x4f54a3(0x2a4)]-0x4)),this['_deflate'][_0x419067]=null,this[_0x4f54a3(0x205)][_0x2ef64c]=0x0,this[_0x4f54a3(0x205)][_0x481649]=[],_0x23e977&&this['params'][_0x303bf4+'_no_context_takeover']&&this[_0x4f54a3(0x205)]['reset'](),_0x404a9b(null,_0xd9e37c);});}}ve=_0x2f61c2;function _0x3a10eb(_0x16d52d){const _0x45c8ca=_0x3a62a4;this[_0x481649][_0x45c8ca(0x273)](_0x16d52d),this[_0x2ef64c]+=_0x16d52d[_0x45c8ca(0x2a4)];}function _0x55a096(_0x54f5ab){const _0x523825=_0x3a62a4;if(this[_0x2ef64c]+=_0x54f5ab[_0x523825(0x2a4)],this[_0x31e868][_0x523825(0x22b)]<0x1||this[_0x2ef64c]<=this[_0x31e868][_0x523825(0x22b)]){this[_0x481649][_0x523825(0x273)](_0x54f5ab);return;}this[_0x56f120]=new RangeError(_0x523825(0x1da)),this[_0x56f120]['code']=_0x523825(0x1d8),this[_0x56f120][_0x25ea41]=0x3f1,this[_0x523825(0x25e)]('data',_0x55a096),this[_0x523825(0x1f6)]();}function _0x307d4c(_0x34abbf){const _0x15fb3c=_0x3a62a4;if(this[_0x31e868][_0x15fb3c(0x326)]=null,this[_0x56f120]){this[_0x419067](this[_0x56f120]);return;}_0x34abbf[_0x25ea41]=0x3ef,this[_0x419067](_0x34abbf);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x409d2e(0x330)](Object[_0x409d2e(0x2a3)]({'__proto__':null,'default':Dt},Symbol[_0x409d2e(0x366)],{'value':_0x409d2e(0x1fc)})),Bt=at(Rt);var Ye;function ae(){const _0x31272e=_0x409d2e;if(Ye)return ie[_0x31272e(0x29d)];Ye=0x1;const {isUtf8:_0x2649f7}=wt,{hasBlob:_0x4c2cf0}=H(),_0x3669fd=[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 _0x555e20(_0x2c5c43){return _0x2c5c43>=0x3e8&&_0x2c5c43<=0x3f6&&_0x2c5c43!==0x3ec&&_0x2c5c43!==0x3ed&&_0x2c5c43!==0x3ee||_0x2c5c43>=0xbb8&&_0x2c5c43<=0x1387;}function _0x5108f2(_0xa738ff){const _0x4884bc=_0x31272e,_0x4e0064=_0xa738ff[_0x4884bc(0x2a4)];let _0x295184=0x0;for(;_0x295184<_0x4e0064;)if((_0xa738ff[_0x295184]&0x80)===0x0)_0x295184++;else{if((_0xa738ff[_0x295184]&0xe0)===0xc0){if(_0x295184+0x1===_0x4e0064||(_0xa738ff[_0x295184+0x1]&0xc0)!==0x80||(_0xa738ff[_0x295184]&0xfe)===0xc0)return!0x1;_0x295184+=0x2;}else{if((_0xa738ff[_0x295184]&0xf0)===0xe0){if(_0x295184+0x2>=_0x4e0064||(_0xa738ff[_0x295184+0x1]&0xc0)!==0x80||(_0xa738ff[_0x295184+0x2]&0xc0)!==0x80||_0xa738ff[_0x295184]===0xe0&&(_0xa738ff[_0x295184+0x1]&0xe0)===0x80||_0xa738ff[_0x295184]===0xed&&(_0xa738ff[_0x295184+0x1]&0xe0)===0xa0)return!0x1;_0x295184+=0x3;}else{if((_0xa738ff[_0x295184]&0xf8)===0xf0){if(_0x295184+0x3>=_0x4e0064||(_0xa738ff[_0x295184+0x1]&0xc0)!==0x80||(_0xa738ff[_0x295184+0x2]&0xc0)!==0x80||(_0xa738ff[_0x295184+0x3]&0xc0)!==0x80||_0xa738ff[_0x295184]===0xf0&&(_0xa738ff[_0x295184+0x1]&0xf0)===0x80||_0xa738ff[_0x295184]===0xf4&&_0xa738ff[_0x295184+0x1]>0x8f||_0xa738ff[_0x295184]>0xf4)return!0x1;_0x295184+=0x4;}else return!0x1;}}}return!0x0;}function _0x232ae0(_0x3a2d27){const _0x5aad51=_0x31272e;return _0x4c2cf0&&typeof _0x3a2d27==_0x5aad51(0x36f)&&typeof _0x3a2d27['arrayBuffer']==_0x5aad51(0x2be)&&typeof _0x3a2d27[_0x5aad51(0x2cc)]=='string'&&typeof _0x3a2d27[_0x5aad51(0x345)]==_0x5aad51(0x2be)&&(_0x3a2d27[Symbol[_0x5aad51(0x366)]]===_0x5aad51(0x27b)||_0x3a2d27[Symbol[_0x5aad51(0x366)]]===_0x5aad51(0x2ee));}if(ie['exports']={'isBlob':_0x232ae0,'isValidStatusCode':_0x555e20,'isValidUTF8':_0x5108f2,'tokenChars':_0x3669fd},_0x2649f7)ie[_0x31272e(0x29d)][_0x31272e(0x31c)]=function(_0x5c0dfb){const _0x50377d=_0x31272e;return _0x5c0dfb[_0x50377d(0x2a4)]<0x18?_0x5108f2(_0x5c0dfb):_0x2649f7(_0x5c0dfb);};else{if(!process['env'][_0x31272e(0x2aa)])try{const _0x3d99e1=Bt;ie['exports'][_0x31272e(0x31c)]=function(_0x217a04){return _0x217a04['length']<0x20?_0x5108f2(_0x217a04):_0x3d99e1(_0x217a04);};}catch{}}return ie[_0x31272e(0x29d)];}var Se,Ke;function _0x2d24(_0x470b94,_0x2f1f50){const _0x3d580a=_0x3d58();return _0x2d24=function(_0x2d247d,_0x258977){_0x2d247d=_0x2d247d-0x1cc;let _0x51a4a1=_0x3d580a[_0x2d247d];return _0x51a4a1;},_0x2d24(_0x470b94,_0x2f1f50);}function lt(){const _0x48e5fc=_0x409d2e;if(Ke)return Se;Ke=0x1;const {Writable:_0x3fb0d1}=oe,_0x3ae9b3=he(),{BINARY_TYPES:_0x20248a,EMPTY_BUFFER:_0x5ac7d5,kStatusCode:_0x1017f0,kWebSocket:_0x4158f8}=H(),{concat:_0x102d86,toArrayBuffer:_0x2165d5,unmask:_0x2d04dd}=ce(),{isValidStatusCode:_0x1a014a,isValidUTF8:_0xc6d995}=ae(),_0x3f6513=Buffer[Symbol[_0x48e5fc(0x2c7)]],_0x43d90a=0x0,_0x1c10d7=0x1,_0x469a6c=0x2,_0x25d1fc=0x3,_0x5af39e=0x4,_0x1297c3=0x5,_0x4f095e=0x6;class _0x355768 extends _0x3fb0d1{constructor(_0x4cabc9={}){const _0x577b66=_0x48e5fc;super(),this[_0x577b66(0x22a)]=_0x4cabc9[_0x577b66(0x362)]!==void 0x0?_0x4cabc9[_0x577b66(0x362)]:!0x0,this[_0x577b66(0x253)]=_0x4cabc9[_0x577b66(0x358)]||_0x20248a[0x0],this[_0x577b66(0x33a)]=_0x4cabc9[_0x577b66(0x1ee)]||{},this[_0x577b66(0x1e0)]=!!_0x4cabc9[_0x577b66(0x296)],this[_0x577b66(0x22b)]=_0x4cabc9[_0x577b66(0x1d7)]|0x0,this[_0x577b66(0x25a)]=!!_0x4cabc9[_0x577b66(0x302)],this[_0x4158f8]=void 0x0,this[_0x577b66(0x219)]=0x0,this[_0x577b66(0x369)]=[],this['_compressed']=!0x1,this['_payloadLength']=0x0,this[_0x577b66(0x384)]=void 0x0,this['_fragmented']=0x0,this[_0x577b66(0x23a)]=!0x1,this[_0x577b66(0x2ff)]=!0x1,this[_0x577b66(0x287)]=0x0,this[_0x577b66(0x2ba)]=0x0,this[_0x577b66(0x31a)]=0x0,this['_fragments']=[],this[_0x577b66(0x304)]=!0x1,this[_0x577b66(0x320)]=!0x1,this[_0x577b66(0x315)]=_0x43d90a;}['_write'](_0x115a22,_0x5b4b5e,_0x2fd813){const _0x5acc92=_0x48e5fc;if(this[_0x5acc92(0x287)]===0x8&&this['_state']==_0x43d90a)return _0x2fd813();this[_0x5acc92(0x219)]+=_0x115a22[_0x5acc92(0x2a4)],this[_0x5acc92(0x369)][_0x5acc92(0x273)](_0x115a22),this[_0x5acc92(0x373)](_0x2fd813);}['consume'](_0x13b713){const _0x499ed8=_0x48e5fc;if(this[_0x499ed8(0x219)]-=_0x13b713,_0x13b713===this[_0x499ed8(0x369)][0x0]['length'])return this[_0x499ed8(0x369)][_0x499ed8(0x31e)]();if(_0x13b713<this[_0x499ed8(0x369)][0x0][_0x499ed8(0x2a4)]){const _0xf524f1=this[_0x499ed8(0x369)][0x0];return this['_buffers'][0x0]=new _0x3f6513(_0xf524f1[_0x499ed8(0x353)],_0xf524f1['byteOffset']+_0x13b713,_0xf524f1[_0x499ed8(0x2a4)]-_0x13b713),new _0x3f6513(_0xf524f1[_0x499ed8(0x353)],_0xf524f1['byteOffset'],_0x13b713);}const _0x26f93e=Buffer['allocUnsafe'](_0x13b713);do{const _0x9864cc=this[_0x499ed8(0x369)][0x0],_0x41954e=_0x26f93e[_0x499ed8(0x2a4)]-_0x13b713;_0x13b713>=_0x9864cc[_0x499ed8(0x2a4)]?_0x26f93e[_0x499ed8(0x276)](this[_0x499ed8(0x369)][_0x499ed8(0x31e)](),_0x41954e):(_0x26f93e[_0x499ed8(0x276)](new Uint8Array(_0x9864cc[_0x499ed8(0x353)],_0x9864cc['byteOffset'],_0x13b713),_0x41954e),this[_0x499ed8(0x369)][0x0]=new _0x3f6513(_0x9864cc[_0x499ed8(0x353)],_0x9864cc['byteOffset']+_0x13b713,_0x9864cc['length']-_0x13b713)),_0x13b713-=_0x9864cc[_0x499ed8(0x2a4)];}while(_0x13b713>0x0);return _0x26f93e;}[_0x48e5fc(0x373)](_0x17a32c){const _0x3929dd=_0x48e5fc;this[_0x3929dd(0x320)]=!0x0;do switch(this[_0x3929dd(0x315)]){case _0x43d90a:this[_0x3929dd(0x252)](_0x17a32c);break;case _0x1c10d7:this[_0x3929dd(0x298)](_0x17a32c);break;case _0x469a6c:this['getPayloadLength64'](_0x17a32c);break;case _0x25d1fc:this[_0x3929dd(0x317)]();break;case _0x5af39e:this['getData'](_0x17a32c);break;case _0x1297c3:case _0x4f095e:this['_loop']=!0x1;return;}while(this[_0x3929dd(0x320)]);this[_0x3929dd(0x304)]||_0x17a32c();}[_0x48e5fc(0x252)](_0x41b032){const _0x232ff3=_0x48e5fc;if(this[_0x232ff3(0x219)]<0x2){this[_0x232ff3(0x320)]=!0x1;return;}const _0x1c67aa=this[_0x232ff3(0x1e9)](0x2);if((_0x1c67aa[0x0]&0x30)!==0x0){const _0x25ef75=this[_0x232ff3(0x2cf)](RangeError,'RSV2\x20and\x20RSV3\x20must\x20be\x20clear',!0x0,0x3ea,_0x232ff3(0x2ea));_0x41b032(_0x25ef75);return;}const _0x49e63b=(_0x1c67aa[0x0]&0x40)===0x40;if(_0x49e63b&&!this[_0x232ff3(0x33a)][_0x3ae9b3['extensionName']]){const _0x446c7d=this[_0x232ff3(0x2cf)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x232ff3(0x1e1));_0x41b032(_0x446c7d);return;}if(this['_fin']=(_0x1c67aa[0x0]&0x80)===0x80,this[_0x232ff3(0x287)]=_0x1c67aa[0x0]&0xf,this['_payloadLength']=_0x1c67aa[0x1]&0x7f,this['_opcode']===0x0){if(_0x49e63b){const _0x44f3d0=this['createError'](RangeError,_0x232ff3(0x2d7),!0x0,0x3ea,_0x232ff3(0x1e1));_0x41b032(_0x44f3d0);return;}if(!this[_0x232ff3(0x365)]){const _0x5e2665=this[_0x232ff3(0x2cf)](RangeError,_0x232ff3(0x2a2),!0x0,0x3ea,_0x232ff3(0x2ec));_0x41b032(_0x5e2665);return;}this[_0x232ff3(0x287)]=this[_0x232ff3(0x365)];}else{if(this[_0x232ff3(0x287)]===0x1||this['_opcode']===0x2){if(this[_0x232ff3(0x365)]){const _0x4a0516=this[_0x232ff3(0x2cf)](RangeError,'invalid\x20opcode\x20'+this['_opcode'],!0x0,0x3ea,_0x232ff3(0x2ec));_0x41b032(_0x4a0516);return;}this['_compressed']=_0x49e63b;}else{if(this[_0x232ff3(0x287)]>0x7&&this[_0x232ff3(0x287)]<0xb){if(!this[_0x232ff3(0x2ff)]){const _0x361eb8=this[_0x232ff3(0x2cf)](RangeError,'FIN\x20must\x20be\x20set',!0x0,0x3ea,_0x232ff3(0x1fb));_0x41b032(_0x361eb8);return;}if(_0x49e63b){const _0x4262c7=this[_0x232ff3(0x2cf)](RangeError,_0x232ff3(0x2d7),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x41b032(_0x4262c7);return;}if(this['_payloadLength']>0x7d||this[_0x232ff3(0x287)]===0x8&&this[_0x232ff3(0x377)]===0x1){const _0x4cfca1=this[_0x232ff3(0x2cf)](RangeError,'invalid\x20payload\x20length\x20'+this[_0x232ff3(0x377)],!0x0,0x3ea,_0x232ff3(0x2bd));_0x41b032(_0x4cfca1);return;}}else{const _0x4d9825=this[_0x232ff3(0x2cf)](RangeError,_0x232ff3(0x275)+this[_0x232ff3(0x287)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x41b032(_0x4d9825);return;}}}if(!this['_fin']&&!this[_0x232ff3(0x365)]&&(this[_0x232ff3(0x365)]=this[_0x232ff3(0x287)]),this['_masked']=(_0x1c67aa[0x1]&0x80)===0x80,this[_0x232ff3(0x1e0)]){if(!this[_0x232ff3(0x23a)]){const _0xaebb3=this[_0x232ff3(0x2cf)](RangeError,_0x232ff3(0x2a6),!0x0,0x3ea,_0x232ff3(0x33c));_0x41b032(_0xaebb3);return;}}else{if(this[_0x232ff3(0x23a)]){const _0x3c2a0a=this[_0x232ff3(0x2cf)](RangeError,_0x232ff3(0x1d6),!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0x41b032(_0x3c2a0a);return;}}this[_0x232ff3(0x377)]===0x7e?this[_0x232ff3(0x315)]=_0x1c10d7:this[_0x232ff3(0x377)]===0x7f?this[_0x232ff3(0x315)]=_0x469a6c:this['haveLength'](_0x41b032);}[_0x48e5fc(0x298)](_0x5458be){const _0x5430c9=_0x48e5fc;if(this[_0x5430c9(0x219)]<0x2){this[_0x5430c9(0x320)]=!0x1;return;}this[_0x5430c9(0x377)]=this['consume'](0x2)[_0x5430c9(0x2dc)](0x0),this[_0x5430c9(0x286)](_0x5458be);}[_0x48e5fc(0x223)](_0x143f0b){const _0x544a9a=_0x48e5fc;if(this['_bufferedBytes']<0x8){this[_0x544a9a(0x320)]=!0x1;return;}const _0x5f3658=this[_0x544a9a(0x1e9)](0x8),_0x4c39a3=_0x5f3658[_0x544a9a(0x390)](0x0);if(_0x4c39a3>Math[_0x544a9a(0x2fc)](0x2,0x15)-0x1){const _0x59f95b=this['createError'](RangeError,_0x544a9a(0x357),!0x1,0x3f1,_0x544a9a(0x277));_0x143f0b(_0x59f95b);return;}this[_0x544a9a(0x377)]=_0x4c39a3*Math[_0x544a9a(0x2fc)](0x2,0x20)+_0x5f3658[_0x544a9a(0x390)](0x4),this[_0x544a9a(0x286)](_0x143f0b);}[_0x48e5fc(0x286)](_0x49f08e){const _0x183e83=_0x48e5fc;if(this[_0x183e83(0x377)]&&this[_0x183e83(0x287)]<0x8&&(this[_0x183e83(0x2ba)]+=this['_payloadLength'],this[_0x183e83(0x2ba)]>this[_0x183e83(0x22b)]&&this[_0x183e83(0x22b)]>0x0)){const _0x50c560=this[_0x183e83(0x2cf)](RangeError,_0x183e83(0x1da),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x49f08e(_0x50c560);return;}this[_0x183e83(0x23a)]?this[_0x183e83(0x315)]=_0x25d1fc:this[_0x183e83(0x315)]=_0x5af39e;}[_0x48e5fc(0x317)](){const _0x14e9a9=_0x48e5fc;if(this['_bufferedBytes']<0x4){this[_0x14e9a9(0x320)]=!0x1;return;}this['_mask']=this[_0x14e9a9(0x1e9)](0x4),this[_0x14e9a9(0x315)]=_0x5af39e;}[_0x48e5fc(0x36c)](_0x4be20b){const _0x570a43=_0x48e5fc;let _0x3971aa=_0x5ac7d5;if(this[_0x570a43(0x377)]){if(this[_0x570a43(0x219)]<this[_0x570a43(0x377)]){this[_0x570a43(0x320)]=!0x1;return;}_0x3971aa=this[_0x570a43(0x1e9)](this[_0x570a43(0x377)]),this['_masked']&&(this[_0x570a43(0x384)][0x0]|this[_0x570a43(0x384)][0x1]|this[_0x570a43(0x384)][0x2]|this[_0x570a43(0x384)][0x3])!==0x0&&_0x2d04dd(_0x3971aa,this['_mask']);}if(this[_0x570a43(0x287)]>0x7){this[_0x570a43(0x265)](_0x3971aa,_0x4be20b);return;}if(this[_0x570a43(0x243)]){this[_0x570a43(0x315)]=_0x1297c3,this['decompress'](_0x3971aa,_0x4be20b);return;}_0x3971aa[_0x570a43(0x2a4)]&&(this['_messageLength']=this[_0x570a43(0x2ba)],this[_0x570a43(0x216)]['push'](_0x3971aa)),this[_0x570a43(0x1d4)](_0x4be20b);}['decompress'](_0xcc28c5,_0x53dda3){const _0x37f5fe=_0x48e5fc;this[_0x37f5fe(0x33a)][_0x3ae9b3[_0x37f5fe(0x38d)]][_0x37f5fe(0x331)](_0xcc28c5,this[_0x37f5fe(0x2ff)],(_0x3c63be,_0x187119)=>{const _0x40475e=_0x37f5fe;if(_0x3c63be)return _0x53dda3(_0x3c63be);if(_0x187119[_0x40475e(0x2a4)]){if(this[_0x40475e(0x31a)]+=_0x187119[_0x40475e(0x2a4)],this[_0x40475e(0x31a)]>this[_0x40475e(0x22b)]&&this[_0x40475e(0x22b)]>0x0){const _0x39596f=this[_0x40475e(0x2cf)](RangeError,_0x40475e(0x1da),!0x1,0x3f1,_0x40475e(0x1d8));_0x53dda3(_0x39596f);return;}this[_0x40475e(0x216)][_0x40475e(0x273)](_0x187119);}this[_0x40475e(0x1d4)](_0x53dda3),this[_0x40475e(0x315)]===_0x43d90a&&this[_0x40475e(0x373)](_0x53dda3);});}[_0x48e5fc(0x1d4)](_0x3200ae){const _0x4a29b4=_0x48e5fc;if(!this[_0x4a29b4(0x2ff)]){this[_0x4a29b4(0x315)]=_0x43d90a;return;}const _0x1ab667=this['_messageLength'],_0x42ebe2=this[_0x4a29b4(0x216)];if(this[_0x4a29b4(0x2ba)]=0x0,this[_0x4a29b4(0x31a)]=0x0,this[_0x4a29b4(0x365)]=0x0,this['_fragments']=[],this[_0x4a29b4(0x287)]===0x2){let _0x5930d5;this[_0x4a29b4(0x253)]===_0x4a29b4(0x202)?_0x5930d5=_0x102d86(_0x42ebe2,_0x1ab667):this[_0x4a29b4(0x253)]===_0x4a29b4(0x2e5)?_0x5930d5=_0x2165d5(_0x102d86(_0x42ebe2,_0x1ab667)):this[_0x4a29b4(0x253)]===_0x4a29b4(0x258)?_0x5930d5=new Blob(_0x42ebe2):_0x5930d5=_0x42ebe2,this[_0x4a29b4(0x22a)]?(this[_0x4a29b4(0x37b)](_0x4a29b4(0x1dc),_0x5930d5,!0x0),this[_0x4a29b4(0x315)]=_0x43d90a):(this[_0x4a29b4(0x315)]=_0x4f095e,setImmediate(()=>{const _0x4b9ecc=_0x4a29b4;this['emit']('message',_0x5930d5,!0x0),this[_0x4b9ecc(0x315)]=_0x43d90a,this[_0x4b9ecc(0x373)](_0x3200ae);}));}else{const _0x42a10c=_0x102d86(_0x42ebe2,_0x1ab667);if(!this[_0x4a29b4(0x25a)]&&!_0xc6d995(_0x42a10c)){const _0x4d00f9=this[_0x4a29b4(0x2cf)](Error,_0x4a29b4(0x1cd),!0x0,0x3ef,_0x4a29b4(0x34b));_0x3200ae(_0x4d00f9);return;}this[_0x4a29b4(0x315)]===_0x1297c3||this[_0x4a29b4(0x22a)]?(this[_0x4a29b4(0x37b)](_0x4a29b4(0x1dc),_0x42a10c,!0x1),this['_state']=_0x43d90a):(this['_state']=_0x4f095e,setImmediate(()=>{const _0x35e004=_0x4a29b4;this[_0x35e004(0x37b)](_0x35e004(0x1dc),_0x42a10c,!0x1),this['_state']=_0x43d90a,this['startLoop'](_0x3200ae);}));}}[_0x48e5fc(0x265)](_0x17eefb,_0x457d88){const _0x5e0d08=_0x48e5fc;if(this[_0x5e0d08(0x287)]===0x8){if(_0x17eefb['length']===0x0)this[_0x5e0d08(0x320)]=!0x1,this[_0x5e0d08(0x37b)]('conclude',0x3ed,_0x5ac7d5),this[_0x5e0d08(0x2de)]();else{const _0x21b556=_0x17eefb['readUInt16BE'](0x0);if(!_0x1a014a(_0x21b556)){const _0x52f091=this[_0x5e0d08(0x2cf)](RangeError,'invalid\x20status\x20code\x20'+_0x21b556,!0x0,0x3ea,_0x5e0d08(0x26f));_0x457d88(_0x52f091);return;}const _0x2a71c3=new _0x3f6513(_0x17eefb['buffer'],_0x17eefb[_0x5e0d08(0x22f)]+0x2,_0x17eefb[_0x5e0d08(0x2a4)]-0x2);if(!this['_skipUTF8Validation']&&!_0xc6d995(_0x2a71c3)){const _0x1acdfd=this['createError'](Error,_0x5e0d08(0x1cd),!0x0,0x3ef,_0x5e0d08(0x34b));_0x457d88(_0x1acdfd);return;}this['_loop']=!0x1,this[_0x5e0d08(0x37b)](_0x5e0d08(0x351),_0x21b556,_0x2a71c3),this['end']();}this['_state']=_0x43d90a;return;}this[_0x5e0d08(0x22a)]?(this[_0x5e0d08(0x37b)](this[_0x5e0d08(0x287)]===0x9?_0x5e0d08(0x1d0):_0x5e0d08(0x34f),_0x17eefb),this['_state']=_0x43d90a):(this['_state']=_0x4f095e,setImmediate(()=>{const _0xb9a835=_0x5e0d08;this[_0xb9a835(0x37b)](this['_opcode']===0x9?_0xb9a835(0x1d0):_0xb9a835(0x34f),_0x17eefb),this['_state']=_0x43d90a,this['startLoop'](_0x457d88);}));}[_0x48e5fc(0x2cf)](_0x1d7074,_0x924f14,_0xc4ccab,_0x870df,_0x29da83){const _0x21c559=_0x48e5fc;this['_loop']=!0x1,this['_errored']=!0x0;const _0x3d53a3=new _0x1d7074(_0xc4ccab?'Invalid\x20WebSocket\x20frame:\x20'+_0x924f14:_0x924f14);return Error[_0x21c559(0x394)](_0x3d53a3,this['createError']),_0x3d53a3['code']=_0x29da83,_0x3d53a3[_0x1017f0]=_0x870df,_0x3d53a3;}}return Se=_0x355768,Se;}var Ee,Xe;function ft(){const _0x2f70ee=_0x409d2e;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x3ea1d3}=oe,{randomFillSync:_0x225c7a}=Le,_0x633789=he(),{EMPTY_BUFFER:_0xeea3b7,kWebSocket:_0x47e0c8,NOOP:_0x43f53a}=H(),{isBlob:_0x17b4fb,isValidStatusCode:_0x465456}=ae(),{mask:_0x44bff4,toBuffer:_0x3a8a56}=ce(),_0x4191ee=Symbol(_0x2f70ee(0x285)),_0x343a9b=Buffer[_0x2f70ee(0x203)](0x4),_0x5b9f61=0x8*0x400;let _0x19c0a5,_0x28b7b2=_0x5b9f61;const _0x5d75f6=0x0,_0x169d6a=0x1,_0x57a967=0x2;class _0x2e6561{constructor(_0x1cd284,_0x53ee5e,_0x4f736d){const _0xa88b46=_0x2f70ee;this[_0xa88b46(0x33a)]=_0x53ee5e||{},_0x4f736d&&(this['_generateMask']=_0x4f736d,this[_0xa88b46(0x1fe)]=Buffer[_0xa88b46(0x203)](0x4)),this[_0xa88b46(0x2af)]=_0x1cd284,this[_0xa88b46(0x2dd)]=!0x0,this[_0xa88b46(0x33e)]=!0x1,this[_0xa88b46(0x219)]=0x0,this[_0xa88b46(0x283)]=[],this[_0xa88b46(0x315)]=_0x5d75f6,this[_0xa88b46(0x34a)]=_0x43f53a,this[_0x47e0c8]=void 0x0;}static[_0x2f70ee(0x268)](_0x1a33a1,_0x12a0b4){const _0xf2282a=_0x2f70ee;let _0x8eb2de,_0x299cd3=!0x1,_0x2d8d9e=0x2,_0x12255d=!0x1;_0x12a0b4[_0xf2282a(0x21a)]&&(_0x8eb2de=_0x12a0b4[_0xf2282a(0x2e8)]||_0x343a9b,_0x12a0b4['generateMask']?_0x12a0b4['generateMask'](_0x8eb2de):(_0x28b7b2===_0x5b9f61&&(_0x19c0a5===void 0x0&&(_0x19c0a5=Buffer[_0xf2282a(0x203)](_0x5b9f61)),_0x225c7a(_0x19c0a5,0x0,_0x5b9f61),_0x28b7b2=0x0),_0x8eb2de[0x0]=_0x19c0a5[_0x28b7b2++],_0x8eb2de[0x1]=_0x19c0a5[_0x28b7b2++],_0x8eb2de[0x2]=_0x19c0a5[_0x28b7b2++],_0x8eb2de[0x3]=_0x19c0a5[_0x28b7b2++]),_0x12255d=(_0x8eb2de[0x0]|_0x8eb2de[0x1]|_0x8eb2de[0x2]|_0x8eb2de[0x3])===0x0,_0x2d8d9e=0x6);let _0x1233f4;typeof _0x1a33a1==_0xf2282a(0x37d)?(!_0x12a0b4['mask']||_0x12255d)&&_0x12a0b4[_0x4191ee]!==void 0x0?_0x1233f4=_0x12a0b4[_0x4191ee]:(_0x1a33a1=Buffer[_0xf2282a(0x2d1)](_0x1a33a1),_0x1233f4=_0x1a33a1[_0xf2282a(0x2a4)]):(_0x1233f4=_0x1a33a1[_0xf2282a(0x2a4)],_0x299cd3=_0x12a0b4['mask']&&_0x12a0b4[_0xf2282a(0x20b)]&&!_0x12255d);let _0x31492f=_0x1233f4;_0x1233f4>=0x10000?(_0x2d8d9e+=0x8,_0x31492f=0x7f):_0x1233f4>0x7d&&(_0x2d8d9e+=0x2,_0x31492f=0x7e);const _0x2fb629=Buffer[_0xf2282a(0x2e9)](_0x299cd3?_0x1233f4+_0x2d8d9e:_0x2d8d9e);return _0x2fb629[0x0]=_0x12a0b4[_0xf2282a(0x318)]?_0x12a0b4[_0xf2282a(0x290)]|0x80:_0x12a0b4[_0xf2282a(0x290)],_0x12a0b4[_0xf2282a(0x29c)]&&(_0x2fb629[0x0]|=0x40),_0x2fb629[0x1]=_0x31492f,_0x31492f===0x7e?_0x2fb629['writeUInt16BE'](_0x1233f4,0x2):_0x31492f===0x7f&&(_0x2fb629[0x2]=_0x2fb629[0x3]=0x0,_0x2fb629[_0xf2282a(0x21e)](_0x1233f4,0x4,0x6)),_0x12a0b4[_0xf2282a(0x21a)]?(_0x2fb629[0x1]|=0x80,_0x2fb629[_0x2d8d9e-0x4]=_0x8eb2de[0x0],_0x2fb629[_0x2d8d9e-0x3]=_0x8eb2de[0x1],_0x2fb629[_0x2d8d9e-0x2]=_0x8eb2de[0x2],_0x2fb629[_0x2d8d9e-0x1]=_0x8eb2de[0x3],_0x12255d?[_0x2fb629,_0x1a33a1]:_0x299cd3?(_0x44bff4(_0x1a33a1,_0x8eb2de,_0x2fb629,_0x2d8d9e,_0x1233f4),[_0x2fb629]):(_0x44bff4(_0x1a33a1,_0x8eb2de,_0x1a33a1,0x0,_0x1233f4),[_0x2fb629,_0x1a33a1])):[_0x2fb629,_0x1a33a1];}[_0x2f70ee(0x32f)](_0x5daf18,_0x31f589,_0x24e197,_0x161287){const _0x51394=_0x2f70ee;let _0x24de62;if(_0x5daf18===void 0x0)_0x24de62=_0xeea3b7;else{if(typeof _0x5daf18!=_0x51394(0x382)||!_0x465456(_0x5daf18))throw new TypeError(_0x51394(0x262));if(_0x31f589===void 0x0||!_0x31f589['length'])_0x24de62=Buffer['allocUnsafe'](0x2),_0x24de62['writeUInt16BE'](_0x5daf18,0x0);else{const _0xb52944=Buffer[_0x51394(0x308)](_0x31f589);if(_0xb52944>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x24de62=Buffer['allocUnsafe'](0x2+_0xb52944),_0x24de62[_0x51394(0x30f)](_0x5daf18,0x0),typeof _0x31f589==_0x51394(0x37d)?_0x24de62[_0x51394(0x1e3)](_0x31f589,0x2):_0x24de62[_0x51394(0x276)](_0x31f589,0x2);}}const _0x4ba2d8={[_0x4191ee]:_0x24de62['length'],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x24e197,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x51394(0x315)]!==_0x5d75f6?this['enqueue']([this[_0x51394(0x29e)],_0x24de62,!0x1,_0x4ba2d8,_0x161287]):this['sendFrame'](_0x2e6561[_0x51394(0x268)](_0x24de62,_0x4ba2d8),_0x161287);}[_0x2f70ee(0x1d0)](_0x119f4b,_0x5de8b2,_0x534146){const _0x5c07f8=_0x2f70ee;let _0x3c43cf,_0x5879a1;if(typeof _0x119f4b=='string'?(_0x3c43cf=Buffer[_0x5c07f8(0x308)](_0x119f4b),_0x5879a1=!0x1):_0x17b4fb(_0x119f4b)?(_0x3c43cf=_0x119f4b[_0x5c07f8(0x213)],_0x5879a1=!0x1):(_0x119f4b=_0x3a8a56(_0x119f4b),_0x3c43cf=_0x119f4b[_0x5c07f8(0x2a4)],_0x5879a1=_0x3a8a56[_0x5c07f8(0x20b)]),_0x3c43cf>0x7d)throw new RangeError(_0x5c07f8(0x255));const _0x1ab031={[_0x4191ee]:_0x3c43cf,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x5de8b2,'maskBuffer':this[_0x5c07f8(0x1fe)],'opcode':0x9,'readOnly':_0x5879a1,'rsv1':!0x1};_0x17b4fb(_0x119f4b)?this[_0x5c07f8(0x315)]!==_0x5d75f6?this['enqueue']([this[_0x5c07f8(0x22e)],_0x119f4b,!0x1,_0x1ab031,_0x534146]):this[_0x5c07f8(0x22e)](_0x119f4b,!0x1,_0x1ab031,_0x534146):this[_0x5c07f8(0x315)]!==_0x5d75f6?this[_0x5c07f8(0x371)]([this['dispatch'],_0x119f4b,!0x1,_0x1ab031,_0x534146]):this[_0x5c07f8(0x324)](_0x2e6561['frame'](_0x119f4b,_0x1ab031),_0x534146);}[_0x2f70ee(0x34f)](_0x10ba4f,_0x49510f,_0x67d12c){const _0x34b371=_0x2f70ee;let _0x57eb62,_0x133ec9;if(typeof _0x10ba4f=='string'?(_0x57eb62=Buffer[_0x34b371(0x308)](_0x10ba4f),_0x133ec9=!0x1):_0x17b4fb(_0x10ba4f)?(_0x57eb62=_0x10ba4f[_0x34b371(0x213)],_0x133ec9=!0x1):(_0x10ba4f=_0x3a8a56(_0x10ba4f),_0x57eb62=_0x10ba4f['length'],_0x133ec9=_0x3a8a56[_0x34b371(0x20b)]),_0x57eb62>0x7d)throw new RangeError(_0x34b371(0x255));const _0x5a5977={[_0x4191ee]:_0x57eb62,'fin':!0x0,'generateMask':this[_0x34b371(0x228)],'mask':_0x49510f,'maskBuffer':this[_0x34b371(0x1fe)],'opcode':0xa,'readOnly':_0x133ec9,'rsv1':!0x1};_0x17b4fb(_0x10ba4f)?this[_0x34b371(0x315)]!==_0x5d75f6?this[_0x34b371(0x371)]([this[_0x34b371(0x22e)],_0x10ba4f,!0x1,_0x5a5977,_0x67d12c]):this[_0x34b371(0x22e)](_0x10ba4f,!0x1,_0x5a5977,_0x67d12c):this[_0x34b371(0x315)]!==_0x5d75f6?this[_0x34b371(0x371)]([this[_0x34b371(0x29e)],_0x10ba4f,!0x1,_0x5a5977,_0x67d12c]):this[_0x34b371(0x324)](_0x2e6561[_0x34b371(0x268)](_0x10ba4f,_0x5a5977),_0x67d12c);}[_0x2f70ee(0x240)](_0x57157f,_0x36ecfe,_0x554c1d){const _0x5a1273=_0x2f70ee,_0x11b239=this[_0x5a1273(0x33a)][_0x633789['extensionName']];let _0x1be9ec=_0x36ecfe[_0x5a1273(0x28f)]?0x2:0x1,_0x1718f1=_0x36ecfe[_0x5a1273(0x1d2)],_0x2e4873,_0x50f42b;typeof _0x57157f=='string'?(_0x2e4873=Buffer[_0x5a1273(0x308)](_0x57157f),_0x50f42b=!0x1):_0x17b4fb(_0x57157f)?(_0x2e4873=_0x57157f[_0x5a1273(0x213)],_0x50f42b=!0x1):(_0x57157f=_0x3a8a56(_0x57157f),_0x2e4873=_0x57157f[_0x5a1273(0x2a4)],_0x50f42b=_0x3a8a56[_0x5a1273(0x20b)]),this[_0x5a1273(0x2dd)]?(this[_0x5a1273(0x2dd)]=!0x1,_0x1718f1&&_0x11b239&&_0x11b239[_0x5a1273(0x395)][_0x11b239['_isServer']?'server_no_context_takeover':_0x5a1273(0x2f5)]&&(_0x1718f1=_0x2e4873>=_0x11b239[_0x5a1273(0x30d)]),this[_0x5a1273(0x33e)]=_0x1718f1):(_0x1718f1=!0x1,_0x1be9ec=0x0),_0x36ecfe[_0x5a1273(0x318)]&&(this[_0x5a1273(0x2dd)]=!0x0);const _0x43fc7c={[_0x4191ee]:_0x2e4873,'fin':_0x36ecfe['fin'],'generateMask':this[_0x5a1273(0x228)],'mask':_0x36ecfe[_0x5a1273(0x21a)],'maskBuffer':this[_0x5a1273(0x1fe)],'opcode':_0x1be9ec,'readOnly':_0x50f42b,'rsv1':_0x1718f1};_0x17b4fb(_0x57157f)?this[_0x5a1273(0x315)]!==_0x5d75f6?this[_0x5a1273(0x371)]([this[_0x5a1273(0x22e)],_0x57157f,this[_0x5a1273(0x33e)],_0x43fc7c,_0x554c1d]):this['getBlobData'](_0x57157f,this[_0x5a1273(0x33e)],_0x43fc7c,_0x554c1d):this[_0x5a1273(0x315)]!==_0x5d75f6?this[_0x5a1273(0x371)]([this[_0x5a1273(0x29e)],_0x57157f,this['_compress'],_0x43fc7c,_0x554c1d]):this[_0x5a1273(0x29e)](_0x57157f,this[_0x5a1273(0x33e)],_0x43fc7c,_0x554c1d);}[_0x2f70ee(0x22e)](_0xfa7595,_0x2cf15f,_0x206709,_0x1ade7d){const _0x477070=_0x2f70ee;this[_0x477070(0x219)]+=_0x206709[_0x4191ee],this[_0x477070(0x315)]=_0x57a967,_0xfa7595[_0x477070(0x20e)]()[_0x477070(0x350)](_0x189efb=>{const _0x37872a=_0x477070;if(this[_0x37872a(0x2af)][_0x37872a(0x2fd)]){const _0x666463=new Error('The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read');process[_0x37872a(0x1de)](_0x77831b,this,_0x666463,_0x1ade7d);return;}this[_0x37872a(0x219)]-=_0x206709[_0x4191ee];const _0x4b3217=_0x3a8a56(_0x189efb);_0x2cf15f?this[_0x37872a(0x29e)](_0x4b3217,_0x2cf15f,_0x206709,_0x1ade7d):(this[_0x37872a(0x315)]=_0x5d75f6,this[_0x37872a(0x324)](_0x2e6561[_0x37872a(0x268)](_0x4b3217,_0x206709),_0x1ade7d),this[_0x37872a(0x2e1)]());})[_0x477070(0x2c3)](_0x5a199d=>{process['nextTick'](_0x22483d,this,_0x5a199d,_0x1ade7d);});}[_0x2f70ee(0x29e)](_0x320a23,_0x2df016,_0x5ce2e6,_0x1edb64){const _0x4ac644=_0x2f70ee;if(!_0x2df016){this['sendFrame'](_0x2e6561[_0x4ac644(0x268)](_0x320a23,_0x5ce2e6),_0x1edb64);return;}const _0x2888db=this[_0x4ac644(0x33a)][_0x633789[_0x4ac644(0x38d)]];this[_0x4ac644(0x219)]+=_0x5ce2e6[_0x4191ee],this['_state']=_0x169d6a,_0x2888db[_0x4ac644(0x1d2)](_0x320a23,_0x5ce2e6[_0x4ac644(0x318)],(_0x101d80,_0xa2a0df)=>{const _0x4e99b8=_0x4ac644;if(this[_0x4e99b8(0x2af)]['destroyed']){const _0x5802be=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x77831b(this,_0x5802be,_0x1edb64);return;}this[_0x4e99b8(0x219)]-=_0x5ce2e6[_0x4191ee],this[_0x4e99b8(0x315)]=_0x5d75f6,_0x5ce2e6[_0x4e99b8(0x20b)]=!0x1,this[_0x4e99b8(0x324)](_0x2e6561[_0x4e99b8(0x268)](_0xa2a0df,_0x5ce2e6),_0x1edb64),this[_0x4e99b8(0x2e1)]();});}[_0x2f70ee(0x2e1)](){const _0x5c3b02=_0x2f70ee;for(;this[_0x5c3b02(0x315)]===_0x5d75f6&&this[_0x5c3b02(0x283)]['length'];){const _0x1a5f97=this['_queue'][_0x5c3b02(0x31e)]();this[_0x5c3b02(0x219)]-=_0x1a5f97[0x3][_0x4191ee],Reflect[_0x5c3b02(0x33b)](_0x1a5f97[0x0],this,_0x1a5f97[_0x5c3b02(0x211)](0x1));}}[_0x2f70ee(0x371)](_0x1bad24){const _0x2912f7=_0x2f70ee;this[_0x2912f7(0x219)]+=_0x1bad24[0x3][_0x4191ee],this[_0x2912f7(0x283)][_0x2912f7(0x273)](_0x1bad24);}['sendFrame'](_0x2cd190,_0x296408){const _0x35d055=_0x2f70ee;_0x2cd190['length']===0x2?(this[_0x35d055(0x2af)][_0x35d055(0x314)](),this[_0x35d055(0x2af)]['write'](_0x2cd190[0x0]),this['_socket'][_0x35d055(0x1e3)](_0x2cd190[0x1],_0x296408),this[_0x35d055(0x2af)][_0x35d055(0x2a7)]()):this[_0x35d055(0x2af)]['write'](_0x2cd190[0x0],_0x296408);}}Ee=_0x2e6561;function _0x77831b(_0x48decf,_0x2ee8b8,_0x3dddbf){const _0x766a9c=_0x2f70ee;typeof _0x3dddbf==_0x766a9c(0x2be)&&_0x3dddbf(_0x2ee8b8);for(let _0x1e4b9a=0x0;_0x1e4b9a<_0x48decf[_0x766a9c(0x283)][_0x766a9c(0x2a4)];_0x1e4b9a++){const _0x1992a4=_0x48decf[_0x766a9c(0x283)][_0x1e4b9a],_0xf4cb5=_0x1992a4[_0x1992a4[_0x766a9c(0x2a4)]-0x1];typeof _0xf4cb5=='function'&&_0xf4cb5(_0x2ee8b8);}}function _0x22483d(_0x785123,_0x9be723,_0x4e88b4){const _0x3565f3=_0x2f70ee;_0x77831b(_0x785123,_0x9be723,_0x4e88b4),_0x785123[_0x3565f3(0x34a)](_0x9be723);}return Ee;}var xe,Ze;function It(){const _0x3d132e=_0x409d2e;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x522a9b,kListener:_0x2e38c0}=H(),_0xf7b522=Symbol(_0x3d132e(0x26e)),_0x1f32cb=Symbol('kData'),_0x49f59b=Symbol(_0x3d132e(0x2c8)),_0x242356=Symbol(_0x3d132e(0x1cf)),_0x3a2005=Symbol(_0x3d132e(0x32a)),_0x24a6c4=Symbol(_0x3d132e(0x1df)),_0x2897c8=Symbol(_0x3d132e(0x1eb)),_0xa7a584=Symbol(_0x3d132e(0x398));class _0x5c513c{constructor(_0x44bb5b){this[_0x24a6c4]=null,this[_0x2897c8]=_0x44bb5b;}get['target'](){return this[_0x24a6c4];}get[_0x3d132e(0x2cc)](){return this[_0x2897c8];}}Object[_0x3d132e(0x2a3)](_0x5c513c[_0x3d132e(0x355)],_0x3d132e(0x271),{'enumerable':!0x0}),Object[_0x3d132e(0x2a3)](_0x5c513c[_0x3d132e(0x355)],_0x3d132e(0x2cc),{'enumerable':!0x0});class _0x107171 extends _0x5c513c{constructor(_0x2222b,_0x205d50={}){const _0x232db0=_0x3d132e;super(_0x2222b),this[_0xf7b522]=_0x205d50[_0x232db0(0x372)]===void 0x0?0x0:_0x205d50[_0x232db0(0x372)],this[_0x3a2005]=_0x205d50[_0x232db0(0x334)]===void 0x0?'':_0x205d50[_0x232db0(0x334)],this[_0xa7a584]=_0x205d50[_0x232db0(0x2f4)]===void 0x0?!0x1:_0x205d50[_0x232db0(0x2f4)];}get[_0x3d132e(0x372)](){return this[_0xf7b522];}get[_0x3d132e(0x334)](){return this[_0x3a2005];}get[_0x3d132e(0x2f4)](){return this[_0xa7a584];}}Object[_0x3d132e(0x2a3)](_0x107171[_0x3d132e(0x355)],_0x3d132e(0x372),{'enumerable':!0x0}),Object[_0x3d132e(0x2a3)](_0x107171[_0x3d132e(0x355)],_0x3d132e(0x334),{'enumerable':!0x0}),Object[_0x3d132e(0x2a3)](_0x107171[_0x3d132e(0x355)],_0x3d132e(0x2f4),{'enumerable':!0x0});class _0x540fbd extends _0x5c513c{constructor(_0x3bacfb,_0xfc5c23={}){const _0x37c943=_0x3d132e;super(_0x3bacfb),this[_0x49f59b]=_0xfc5c23['error']===void 0x0?null:_0xfc5c23[_0x37c943(0x346)],this[_0x242356]=_0xfc5c23['message']===void 0x0?'':_0xfc5c23[_0x37c943(0x1dc)];}get['error'](){return this[_0x49f59b];}get[_0x3d132e(0x1dc)](){return this[_0x242356];}}Object[_0x3d132e(0x2a3)](_0x540fbd[_0x3d132e(0x355)],_0x3d132e(0x346),{'enumerable':!0x0}),Object[_0x3d132e(0x2a3)](_0x540fbd[_0x3d132e(0x355)],_0x3d132e(0x1dc),{'enumerable':!0x0});class _0x28eb6c extends _0x5c513c{constructor(_0x166b1a,_0x499f0f={}){const _0x562883=_0x3d132e;super(_0x166b1a),this[_0x1f32cb]=_0x499f0f[_0x562883(0x2d6)]===void 0x0?null:_0x499f0f['data'];}get[_0x3d132e(0x2d6)](){return this[_0x1f32cb];}}Object[_0x3d132e(0x2a3)](_0x28eb6c[_0x3d132e(0x355)],_0x3d132e(0x2d6),{'enumerable':!0x0}),xe={'CloseEvent':_0x107171,'ErrorEvent':_0x540fbd,'Event':_0x5c513c,'EventTarget':{'addEventListener'(_0x137cb3,_0x1f0eb5,_0x3c44df={}){const _0x5a5ab9=_0x3d132e;for(const _0x545bb5 of this[_0x5a5ab9(0x26b)](_0x137cb3))if(!_0x3c44df[_0x522a9b]&&_0x545bb5[_0x2e38c0]===_0x1f0eb5&&!_0x545bb5[_0x522a9b])return;let _0x3f01a8;if(_0x137cb3==='message')_0x3f01a8=function(_0x140776,_0x5bdba9){const _0xcddec3=_0x5a5ab9,_0xadfc56=new _0x28eb6c(_0xcddec3(0x1dc),{'data':_0x5bdba9?_0x140776:_0x140776['toString']()});_0xadfc56[_0x24a6c4]=this,_0x461d2a(_0x1f0eb5,this,_0xadfc56);};else{if(_0x137cb3===_0x5a5ab9(0x32f))_0x3f01a8=function(_0x27c449,_0x3134e1){const _0x578ef2=_0x5a5ab9,_0x3b5765=new _0x107171(_0x578ef2(0x32f),{'code':_0x27c449,'reason':_0x3134e1['toString'](),'wasClean':this[_0x578ef2(0x37a)]&&this[_0x578ef2(0x2e4)]});_0x3b5765[_0x24a6c4]=this,_0x461d2a(_0x1f0eb5,this,_0x3b5765);};else{if(_0x137cb3===_0x5a5ab9(0x346))_0x3f01a8=function(_0x4657d0){const _0x3abbef=_0x5a5ab9,_0x3d54f6=new _0x540fbd(_0x3abbef(0x346),{'error':_0x4657d0,'message':_0x4657d0[_0x3abbef(0x1dc)]});_0x3d54f6[_0x24a6c4]=this,_0x461d2a(_0x1f0eb5,this,_0x3d54f6);};else{if(_0x137cb3===_0x5a5ab9(0x229))_0x3f01a8=function(){const _0x3f9875=_0x5a5ab9,_0x51686c=new _0x5c513c(_0x3f9875(0x229));_0x51686c[_0x24a6c4]=this,_0x461d2a(_0x1f0eb5,this,_0x51686c);};else return;}}}_0x3f01a8[_0x522a9b]=!!_0x3c44df[_0x522a9b],_0x3f01a8[_0x2e38c0]=_0x1f0eb5,_0x3c44df['once']?this[_0x5a5ab9(0x37c)](_0x137cb3,_0x3f01a8):this['on'](_0x137cb3,_0x3f01a8);},'removeEventListener'(_0xe70ff8,_0x578cca){const _0x434ef3=_0x3d132e;for(const _0x1d0e1b of this[_0x434ef3(0x26b)](_0xe70ff8))if(_0x1d0e1b[_0x2e38c0]===_0x578cca&&!_0x1d0e1b[_0x522a9b]){this[_0x434ef3(0x25e)](_0xe70ff8,_0x1d0e1b);break;}}},'MessageEvent':_0x28eb6c};function _0x461d2a(_0x371242,_0x370004,_0x20ec86){const _0x55b808=_0x3d132e;typeof _0x371242==_0x55b808(0x36f)&&_0x371242['handleEvent']?_0x371242[_0x55b808(0x329)][_0x55b808(0x1e6)](_0x371242,_0x20ec86):_0x371242[_0x55b808(0x1e6)](_0x370004,_0x20ec86);}return xe;}function _0x3d58(){const _0x5ebd61=['isArray','writeUInt16BE','__esModule','Invalid\x20HTTP\x20method','needDrain','clients','cork','_state','dispose','getMask','fin','CLOSING','_messageLength','Sec-WebSocket-Protocol','isValidUTF8','serverNoContextTakeover','shift','upgrade','_loop','servername','collaboration-client-node.config','pending','sendFrame','_originalHostOrSocketPath','_inflate','share','createConnection','handleEvent','kReason','client','Sec-WebSocket-Extensions','text/html','removeAllListeners','close','freeze','decompress','acceptAsServer','Invalid\x20URL:\x20','reason','errorEmitted','hostname','_url','10dJfzfb','16jXhthJ','_extensions','apply','WS_ERR_EXPECTED_MASK','update','_compress','_sender','Invalid\x20value\x20for\x20parameter\x20\x22','protocol','crypto','default','flush','stream','error','request','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','setHeader','onerror','WS_ERR_INVALID_UTF8','NodeCollaborationSocketService','_autoPong','Observable','pong','then','conclude','Unknown\x20parameter\x20\x22','buffer','\x22:\x20','prototype','createSocket','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','binaryType','listening','server_max_window_bits','isInteger','Unsupported\x20protocol\x20version:\x20','_writableState','_closeCode','protocolVersion','setNoDelay','completeUpgrade','allowSynchronousEvents','destroy','Disposable','_fragmented','toStringTag','Server\x20sent\x20an\x20invalid\x20subprotocol','Origin','_buffers','Invalid\x20Sec-WebSocket-Accept\x20header','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','getData','Invalid\x20Upgrade\x20header','_originalSecure','object','connect','enqueue','code','startLoop','_paused','ws+unix:','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','_payloadLength','cookie','_removeListeners','_closeFrameReceived','emit','once','string','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','_options','terminate','The\x20\x22','number','Invalid\x20Sec-WebSocket-Extensions\x20header','_mask','map','getConfig','Sec-WebSocket-Protocol:\x20','_errorEmitted','\x0d\x0a\x0d\x0a','origin','282777bCogdu','_httpService','extensionName','pipe','url','readUInt32BE','shouldHandle','emitClose','_bufferedAmount','captureStackTrace','params','auth','serverMaxWindowBits','kWasClean','finishRequest','_redirects','onmessage','kAborted','\x22\x20subprotocol\x20is\x20duplicated','getOwnPropertyDescriptor','entries','invalid\x20UTF-8\x20sequence','Inject','kMessage','ping','wsClientError','compress','_write','dataMessage','@univerjs-pro/collaboration-client','MASK\x20must\x20be\x20clear','maxPayload','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','addEventListener','Max\x20payload\x20size\x20exceeded','IConfigService','message','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','nextTick','kTarget','_isServer','WS_ERR_UNEXPECTED_RSV_1','Cookie','write','customHeaders','pluginName','call','toString','1989486BJICKf','consume','ws:','kType','sha1','sec-websocket-accept','extensions','sec-websocket-key','replace','\x22\x20must\x20have\x20only\x20a\x20single\x20value','timeout','client_max_window_bits','4128091dnkQcU','\x20(supported\x20versions:\x20','reset','HTTP/1.1\x20101\x20Switching\x20Protocols','1495921PUJujb','listenerCount','concurrencyLimit','WS_ERR_EXPECTED_FIN','Module','Unexpected\x20character\x20at\x20index\x20','_maskBuffer','get','bufferedAmount','_originalIpc','nodebuffer','alloc','Upgrade','_deflate','_protocol','base64','_decompress','isView','Sec-WebSocket-Extensions:\x20','readOnly','autoPong','keys','arrayBuffer','charCodeAt','Sec-WebSocket-Accept:\x20','slice','zlibDeflateOptions','size','rxjs','Maximum\x20redirects\x20exceeded','_fragments','_destroy','concat','_bufferedBytes','mask','callback','pathname','onopen','writeUIntBE','clientMaxWindowBits','permessage-deflate','server','_receiver','getPayloadLength64','threshold','password','@univerjs/core','https:','_generateMask','open','_allowSynchronousEvents','_maxPayload','@univerjs/network','server_no_context_takeover','getBlobData','byteOffset','net','parse','The\x20server\x20is\x20not\x20running','defaultPort','setConfig','Unexpected\x20end\x20of\x20input','DependentOn','_read','socketPath','The\x20URL\x27s\x20pathname\x20is\x20empty','_masked','sec-websocket-origin','20QRuRpa','_readableState','_configService','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','send','next','normalizeParams','_compressed','includes','format','hash','handleUpgrade','connection','handleProtocols','kListener','ISnapshotServerService','createServer','options','headers','port','startsWith','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','getInfo','_binaryType','isBuffer','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','constructor','unexpected-response','blob','maxRedirects','_skipUTF8Validation','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','href','ILogService','removeListener','host','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','handshakeTimeout','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','address','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','controlMessage','authorization','perMessageDeflate','frame','Unexpected\x20server\x20response:\x20','forEach','listeners','find','http','kCode','WS_ERR_INVALID_CLOSE_CODE','username','target','190432hMZbcB','push','Upgrade:\x20websocket','invalid\x20opcode\x20','set','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','delete','The\x20URL\x20contains\x20a\x20fragment\x20identifier','_injector','Blob','8lgnVjQ','cleanup','CLOSED','_registerDependencies','join','_final','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','_queue','value','kByteLength','haveLength','_opcode','fragments','createInflateRaw','accept','writeHead','sec-websocket-extensions','CONNECTING','acceptAsClient','binary','opcode','websocket','authorized','_server','WS_NO_BUFFER_UTIL','_readyState','isServer','indexOf','getPayloadLength16','DisposableCollection','split','add','rsv1','exports','dispatch','objectMode','encrypted','UniverCollaborationClientNodePlugin','invalid\x20opcode\x200','defineProperty','length','has','MASK\x20must\x20be\x20set','uncork','verifyClient','OPEN','WS_NO_UTF_8_VALIDATE','listen','_shouldEmitClose','isPaused','concurrency','_socket','_req','_closeTimer','noServer','toDisposable','test','bind','total-length','digest','CollaborationSocketService','offer','_totalPayloadLength','registerDependencies','kRun','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','function','Invalid\x20Sec-WebSocket-Protocol\x20header','search','HTTP/1.1\x20','removeEventListener','catch','ISocketService','sec-websocket-version','clientNoContextTakeover','species','kError','generateMask','HTTPService','endEmitted','type','Server\x20sent\x20no\x20subprotocol','Plugin','createError','readable','from','resume','unmask','create','setSocket','data','RSV1\x20must\x20be\x20clear','warn','STATUS_CODES','registerHTTPInterceptor','513672ReTVZw','readUInt16BE','_firstFragment','end','backlog','events','dequeue','finished','jobs','_closeFrameSent','arraybuffer','statusCode','Z_SYNC_FLUSH','maskBuffer','allocUnsafe','WS_ERR_UNEXPECTED_RSV_2_3','abort','WS_ERR_INVALID_OPCODE','read','File','hasOwnProperty','Z_DEFAULT_WINDOWBITS','kIsForOnEventAttribute','tls','zlibInflateOptions','wasClean','client_no_context_takeover','WebSocket','path','drain','COLLABORATION_CLIENT_NODE_CONFIG_KEY','redirect','462oqMKWr','pow','destroyed','finish','_fin','buffers','pause','skipUTF8Validation','response','_errored','_closeMessage','_no_context_takeover','Parameter\x20\x22','byteLength','socket','wss:','readyState','Connection:\x20Upgrade','_threshold'];_0x3d58=function(){return _0x5ebd61;};return _0x3d58();}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x5b5f4a}=ae();function _0x34676b(_0x3cc38f,_0x141bb2,_0x5f28f3){const _0x5bf839=_0x2d24;_0x3cc38f[_0x141bb2]===void 0x0?_0x3cc38f[_0x141bb2]=[_0x5f28f3]:_0x3cc38f[_0x141bb2][_0x5bf839(0x273)](_0x5f28f3);}function _0x18a469(_0x35826b){const _0x26abbe=_0x2d24,_0x38350f=Object['create'](null);let _0x4558a9=Object[_0x26abbe(0x2d4)](null),_0x4d6810=!0x1,_0x5f2373=!0x1,_0x26dc57=!0x1,_0x2b72d2,_0x5a35d4,_0x20ed7b=-0x1,_0xf05f61=-0x1,_0x121110=-0x1,_0x4e5206=0x0;for(;_0x4e5206<_0x35826b['length'];_0x4e5206++)if(_0xf05f61=_0x35826b['charCodeAt'](_0x4e5206),_0x2b72d2===void 0x0){if(_0x121110===-0x1&&_0x5b5f4a[_0xf05f61]===0x1)_0x20ed7b===-0x1&&(_0x20ed7b=_0x4e5206);else{if(_0x4e5206!==0x0&&(_0xf05f61===0x20||_0xf05f61===0x9))_0x121110===-0x1&&_0x20ed7b!==-0x1&&(_0x121110=_0x4e5206);else{if(_0xf05f61===0x3b||_0xf05f61===0x2c){if(_0x20ed7b===-0x1)throw new SyntaxError(_0x26abbe(0x1fd)+_0x4e5206);_0x121110===-0x1&&(_0x121110=_0x4e5206);const _0x48cd52=_0x35826b[_0x26abbe(0x211)](_0x20ed7b,_0x121110);_0xf05f61===0x2c?(_0x34676b(_0x38350f,_0x48cd52,_0x4558a9),_0x4558a9=Object['create'](null)):_0x2b72d2=_0x48cd52,_0x20ed7b=_0x121110=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x4e5206);}}}else{if(_0x5a35d4===void 0x0){if(_0x121110===-0x1&&_0x5b5f4a[_0xf05f61]===0x1)_0x20ed7b===-0x1&&(_0x20ed7b=_0x4e5206);else{if(_0xf05f61===0x20||_0xf05f61===0x9)_0x121110===-0x1&&_0x20ed7b!==-0x1&&(_0x121110=_0x4e5206);else{if(_0xf05f61===0x3b||_0xf05f61===0x2c){if(_0x20ed7b===-0x1)throw new SyntaxError(_0x26abbe(0x1fd)+_0x4e5206);_0x121110===-0x1&&(_0x121110=_0x4e5206),_0x34676b(_0x4558a9,_0x35826b[_0x26abbe(0x211)](_0x20ed7b,_0x121110),!0x0),_0xf05f61===0x2c&&(_0x34676b(_0x38350f,_0x2b72d2,_0x4558a9),_0x4558a9=Object[_0x26abbe(0x2d4)](null),_0x2b72d2=void 0x0),_0x20ed7b=_0x121110=-0x1;}else{if(_0xf05f61===0x3d&&_0x20ed7b!==-0x1&&_0x121110===-0x1)_0x5a35d4=_0x35826b[_0x26abbe(0x211)](_0x20ed7b,_0x4e5206),_0x20ed7b=_0x121110=-0x1;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x4e5206);}}}}else{if(_0x5f2373){if(_0x5b5f4a[_0xf05f61]!==0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x4e5206);_0x20ed7b===-0x1?_0x20ed7b=_0x4e5206:_0x4d6810||(_0x4d6810=!0x0),_0x5f2373=!0x1;}else{if(_0x26dc57){if(_0x5b5f4a[_0xf05f61]===0x1)_0x20ed7b===-0x1&&(_0x20ed7b=_0x4e5206);else{if(_0xf05f61===0x22&&_0x20ed7b!==-0x1)_0x26dc57=!0x1,_0x121110=_0x4e5206;else{if(_0xf05f61===0x5c)_0x5f2373=!0x0;else throw new SyntaxError(_0x26abbe(0x1fd)+_0x4e5206);}}}else{if(_0xf05f61===0x22&&_0x35826b[_0x26abbe(0x20f)](_0x4e5206-0x1)===0x3d)_0x26dc57=!0x0;else{if(_0x121110===-0x1&&_0x5b5f4a[_0xf05f61]===0x1)_0x20ed7b===-0x1&&(_0x20ed7b=_0x4e5206);else{if(_0x20ed7b!==-0x1&&(_0xf05f61===0x20||_0xf05f61===0x9))_0x121110===-0x1&&(_0x121110=_0x4e5206);else{if(_0xf05f61===0x3b||_0xf05f61===0x2c){if(_0x20ed7b===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x4e5206);_0x121110===-0x1&&(_0x121110=_0x4e5206);let _0x6a0e1=_0x35826b[_0x26abbe(0x211)](_0x20ed7b,_0x121110);_0x4d6810&&(_0x6a0e1=_0x6a0e1['replace'](/\\/g,''),_0x4d6810=!0x1),_0x34676b(_0x4558a9,_0x5a35d4,_0x6a0e1),_0xf05f61===0x2c&&(_0x34676b(_0x38350f,_0x2b72d2,_0x4558a9),_0x4558a9=Object['create'](null),_0x2b72d2=void 0x0),_0x5a35d4=void 0x0,_0x20ed7b=_0x121110=-0x1;}else throw new SyntaxError(_0x26abbe(0x1fd)+_0x4e5206);}}}}}}}if(_0x20ed7b===-0x1||_0x26dc57||_0xf05f61===0x20||_0xf05f61===0x9)throw new SyntaxError(_0x26abbe(0x235));_0x121110===-0x1&&(_0x121110=_0x4e5206);const _0x1c1b9a=_0x35826b['slice'](_0x20ed7b,_0x121110);return _0x2b72d2===void 0x0?_0x34676b(_0x38350f,_0x1c1b9a,_0x4558a9):(_0x5a35d4===void 0x0?_0x34676b(_0x4558a9,_0x1c1b9a,!0x0):_0x4d6810?_0x34676b(_0x4558a9,_0x5a35d4,_0x1c1b9a[_0x26abbe(0x1f0)](/\\/g,'')):_0x34676b(_0x4558a9,_0x5a35d4,_0x1c1b9a),_0x34676b(_0x38350f,_0x2b72d2,_0x4558a9)),_0x38350f;}function _0x12a0d1(_0x44db77){const _0xd1c4c5=_0x2d24;return Object[_0xd1c4c5(0x20d)](_0x44db77)[_0xd1c4c5(0x385)](_0x39f4e7=>{const _0x38f47c=_0xd1c4c5;let _0x46bad4=_0x44db77[_0x39f4e7];return Array['isArray'](_0x46bad4)||(_0x46bad4=[_0x46bad4]),_0x46bad4[_0x38f47c(0x385)](_0x4e7ddb=>[_0x39f4e7][_0x38f47c(0x218)](Object['keys'](_0x4e7ddb)['map'](_0x3a5f9d=>{const _0x43c344=_0x38f47c;let _0x47b8a4=_0x4e7ddb[_0x3a5f9d];return Array[_0x43c344(0x30e)](_0x47b8a4)||(_0x47b8a4=[_0x47b8a4]),_0x47b8a4[_0x43c344(0x385)](_0x46bd99=>_0x46bd99===!0x0?_0x3a5f9d:_0x3a5f9d+'='+_0x46bd99)[_0x43c344(0x280)](';\x20');}))[_0x38f47c(0x280)](';\x20'))[_0x38f47c(0x280)](',\x20');})[_0xd1c4c5(0x280)](',\x20');}return be={'format':_0x12a0d1,'parse':_0x18a469},be;}var we,Je;function Pe(){const _0x43b439=_0x409d2e;if(Je)return we;Je=0x1;const _0x1ac806=nt,_0x3f00cf=vt,_0x1a91e6=ot,_0x5d88b8=St,_0x4bdc6c=Et,{randomBytes:_0x50bbb5,createHash:_0x314572}=Le,{Duplex:_0x23e359,Readable:_0x5c6f5d}=oe,{URL:_0x4a9417}=xt,_0x445ac8=he(),_0x4da8fa=lt(),_0x299c30=ft(),{isBlob:_0x4a26ba}=ae(),{BINARY_TYPES:_0x494700,EMPTY_BUFFER:_0x259bcf,GUID:_0x4a1b25,kForOnEventAttribute:_0x3b6ff2,kListener:_0x1278a2,kStatusCode:_0x2821ca,kWebSocket:_0x13b08c,NOOP:_0x49f313}=H(),{EventTarget:{addEventListener:_0x7d2a7a,removeEventListener:_0x8dd19f}}=It(),{format:_0x4e9616,parse:_0xe6b417}=ct(),{toBuffer:_0x20c2fe}=ce(),_0x39b568=0x1e*0x3e8,_0x251491=Symbol(_0x43b439(0x39c)),_0xcc1aa7=[0x8,0xd],_0x50258b=['CONNECTING',_0x43b439(0x2a9),_0x43b439(0x319),'CLOSED'],_0x14e3ad=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x1cb665 extends _0x1ac806{constructor(_0x185642,_0x1fffc1,_0x3214ed){const _0x469b18=_0x43b439;super(),this[_0x469b18(0x253)]=_0x494700[0x0],this['_closeCode']=0x3ee,this['_closeFrameReceived']=!0x1,this[_0x469b18(0x2e4)]=!0x1,this[_0x469b18(0x305)]=_0x259bcf,this['_closeTimer']=null,this[_0x469b18(0x388)]=!0x1,this[_0x469b18(0x33a)]={},this[_0x469b18(0x374)]=!0x1,this['_protocol']='',this[_0x469b18(0x295)]=_0x1cb665['CONNECTING'],this[_0x469b18(0x222)]=null,this[_0x469b18(0x33f)]=null,this[_0x469b18(0x2af)]=null,_0x185642!==null?(this[_0x469b18(0x393)]=0x0,this[_0x469b18(0x1e0)]=!0x1,this['_redirects']=0x0,_0x1fffc1===void 0x0?_0x1fffc1=[]:Array[_0x469b18(0x30e)](_0x1fffc1)||(typeof _0x1fffc1==_0x469b18(0x36f)&&_0x1fffc1!==null?(_0x3214ed=_0x1fffc1,_0x1fffc1=[]):_0x1fffc1=[_0x1fffc1]),_0x15a510(this,_0x185642,_0x1fffc1,_0x3214ed)):(this['_autoPong']=_0x3214ed[_0x469b18(0x20c)],this['_isServer']=!0x0);}get['binaryType'](){const _0x2812fc=_0x43b439;return this[_0x2812fc(0x253)];}set[_0x43b439(0x358)](_0x56679f){const _0x58244f=_0x43b439;_0x494700[_0x58244f(0x244)](_0x56679f)&&(this['_binaryType']=_0x56679f,this[_0x58244f(0x222)]&&(this[_0x58244f(0x222)][_0x58244f(0x253)]=_0x56679f));}get[_0x43b439(0x200)](){const _0x164b35=_0x43b439;return this[_0x164b35(0x2af)]?this[_0x164b35(0x2af)][_0x164b35(0x35d)][_0x164b35(0x2a4)]+this[_0x164b35(0x33f)]['_bufferedBytes']:this[_0x164b35(0x393)];}get[_0x43b439(0x1ee)](){const _0x52bc0f=_0x43b439;return Object['keys'](this[_0x52bc0f(0x33a)])[_0x52bc0f(0x280)]();}get['isPaused'](){return this['_paused'];}get['onclose'](){return null;}get[_0x43b439(0x34a)](){return null;}get[_0x43b439(0x21d)](){return null;}get[_0x43b439(0x39b)](){return null;}get[_0x43b439(0x341)](){const _0x29172f=_0x43b439;return this[_0x29172f(0x206)];}get['readyState'](){const _0x28b0f4=_0x43b439;return this[_0x28b0f4(0x295)];}get['url'](){const _0x30ee2e=_0x43b439;return this[_0x30ee2e(0x337)];}[_0x43b439(0x2d5)](_0x5a943d,_0xc287f3,_0x3d8f74){const _0x4d4139=_0x43b439,_0x43f267=new _0x4da8fa({'allowSynchronousEvents':_0x3d8f74[_0x4d4139(0x362)],'binaryType':this[_0x4d4139(0x358)],'extensions':this[_0x4d4139(0x33a)],'isServer':this[_0x4d4139(0x1e0)],'maxPayload':_0x3d8f74[_0x4d4139(0x1d7)],'skipUTF8Validation':_0x3d8f74[_0x4d4139(0x302)]}),_0x3ee714=new _0x299c30(_0x5a943d,this[_0x4d4139(0x33a)],_0x3d8f74[_0x4d4139(0x2c9)]);this[_0x4d4139(0x222)]=_0x43f267,this[_0x4d4139(0x33f)]=_0x3ee714,this['_socket']=_0x5a943d,_0x43f267[_0x13b08c]=this,_0x3ee714[_0x13b08c]=this,_0x5a943d[_0x13b08c]=this,_0x43f267['on'](_0x4d4139(0x351),_0xdabcd7),_0x43f267['on'](_0x4d4139(0x2f8),_0x5e8d34),_0x43f267['on'](_0x4d4139(0x346),_0x4ad346),_0x43f267['on'](_0x4d4139(0x1dc),_0x6a0aa5),_0x43f267['on']('ping',_0x2d0542),_0x43f267['on']('pong',_0x4b80b2),_0x3ee714[_0x4d4139(0x34a)]=_0xab85c1,_0x5a943d['setTimeout']&&_0x5a943d['setTimeout'](0x0),_0x5a943d['setNoDelay']&&_0x5a943d[_0x4d4139(0x360)](),_0xc287f3[_0x4d4139(0x2a4)]>0x0&&_0x5a943d['unshift'](_0xc287f3),_0x5a943d['on']('close',_0x359350),_0x5a943d['on']('data',_0x3d021c),_0x5a943d['on'](_0x4d4139(0x2de),_0x41429e),_0x5a943d['on'](_0x4d4139(0x346),_0x1b4fa0),this[_0x4d4139(0x295)]=_0x1cb665['OPEN'],this[_0x4d4139(0x37b)](_0x4d4139(0x229));}[_0x43b439(0x392)](){const _0x2a4aab=_0x43b439;if(!this[_0x2a4aab(0x2af)]){this[_0x2a4aab(0x295)]=_0x1cb665['CLOSED'],this[_0x2a4aab(0x37b)](_0x2a4aab(0x32f),this[_0x2a4aab(0x35e)],this['_closeMessage']);return;}this['_extensions'][_0x445ac8[_0x2a4aab(0x38d)]]&&this[_0x2a4aab(0x33a)][_0x445ac8[_0x2a4aab(0x38d)]][_0x2a4aab(0x27d)](),this[_0x2a4aab(0x222)][_0x2a4aab(0x32e)](),this[_0x2a4aab(0x295)]=_0x1cb665[_0x2a4aab(0x27e)],this[_0x2a4aab(0x37b)](_0x2a4aab(0x32f),this[_0x2a4aab(0x35e)],this[_0x2a4aab(0x305)]);}['close'](_0x5f58bc,_0x3f1cc3){const _0x325384=_0x43b439;if(this['readyState']!==_0x1cb665[_0x325384(0x27e)]){if(this[_0x325384(0x30b)]===_0x1cb665[_0x325384(0x28d)]){_0x2c1ebc(this,this['_req'],_0x325384(0x264));return;}if(this[_0x325384(0x30b)]===_0x1cb665[_0x325384(0x319)]){this[_0x325384(0x2e4)]&&(this[_0x325384(0x37a)]||this['_receiver'][_0x325384(0x35d)][_0x325384(0x335)])&&this[_0x325384(0x2af)][_0x325384(0x2de)]();return;}this[_0x325384(0x295)]=_0x1cb665[_0x325384(0x319)],this[_0x325384(0x33f)][_0x325384(0x32f)](_0x5f58bc,_0x3f1cc3,!this[_0x325384(0x1e0)],_0x17bbdd=>{const _0x4164c2=_0x325384;_0x17bbdd||(this['_closeFrameSent']=!0x0,(this[_0x4164c2(0x37a)]||this['_receiver'][_0x4164c2(0x35d)][_0x4164c2(0x335)])&&this[_0x4164c2(0x2af)][_0x4164c2(0x2de)]());}),_0x3fe6ee(this);}}[_0x43b439(0x301)](){const _0x4dfe51=_0x43b439;this[_0x4dfe51(0x30b)]===_0x1cb665['CONNECTING']||this[_0x4dfe51(0x30b)]===_0x1cb665[_0x4dfe51(0x27e)]||(this['_paused']=!0x0,this['_socket'][_0x4dfe51(0x301)]());}['ping'](_0x35e7bf,_0x13556e,_0x35cb59){const _0x5b02fa=_0x43b439;if(this['readyState']===_0x1cb665[_0x5b02fa(0x28d)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x35e7bf==_0x5b02fa(0x2be)?(_0x35cb59=_0x35e7bf,_0x35e7bf=_0x13556e=void 0x0):typeof _0x13556e==_0x5b02fa(0x2be)&&(_0x35cb59=_0x13556e,_0x13556e=void 0x0),typeof _0x35e7bf=='number'&&(_0x35e7bf=_0x35e7bf[_0x5b02fa(0x1e7)]()),this[_0x5b02fa(0x30b)]!==_0x1cb665[_0x5b02fa(0x2a9)]){_0x244878(this,_0x35e7bf,_0x35cb59);return;}_0x13556e===void 0x0&&(_0x13556e=!this[_0x5b02fa(0x1e0)]),this[_0x5b02fa(0x33f)]['ping'](_0x35e7bf||_0x259bcf,_0x13556e,_0x35cb59);}['pong'](_0x2ed4ae,_0x5a7183,_0x352c20){const _0x11f17e=_0x43b439;if(this[_0x11f17e(0x30b)]===_0x1cb665[_0x11f17e(0x28d)])throw new Error(_0x11f17e(0x1dd));if(typeof _0x2ed4ae=='function'?(_0x352c20=_0x2ed4ae,_0x2ed4ae=_0x5a7183=void 0x0):typeof _0x5a7183==_0x11f17e(0x2be)&&(_0x352c20=_0x5a7183,_0x5a7183=void 0x0),typeof _0x2ed4ae==_0x11f17e(0x382)&&(_0x2ed4ae=_0x2ed4ae[_0x11f17e(0x1e7)]()),this[_0x11f17e(0x30b)]!==_0x1cb665[_0x11f17e(0x2a9)]){_0x244878(this,_0x2ed4ae,_0x352c20);return;}_0x5a7183===void 0x0&&(_0x5a7183=!this[_0x11f17e(0x1e0)]),this['_sender'][_0x11f17e(0x34f)](_0x2ed4ae||_0x259bcf,_0x5a7183,_0x352c20);}[_0x43b439(0x2d2)](){const _0x503d4c=_0x43b439;this[_0x503d4c(0x30b)]===_0x1cb665[_0x503d4c(0x28d)]||this[_0x503d4c(0x30b)]===_0x1cb665[_0x503d4c(0x27e)]||(this[_0x503d4c(0x374)]=!0x1,this[_0x503d4c(0x222)][_0x503d4c(0x35d)][_0x503d4c(0x312)]||this[_0x503d4c(0x2af)][_0x503d4c(0x2d2)]());}[_0x43b439(0x240)](_0x262ecb,_0x58e37f,_0x446f41){const _0x31129e=_0x43b439;if(this[_0x31129e(0x30b)]===_0x1cb665[_0x31129e(0x28d)])throw new Error(_0x31129e(0x1dd));if(typeof _0x58e37f==_0x31129e(0x2be)&&(_0x446f41=_0x58e37f,_0x58e37f={}),typeof _0x262ecb==_0x31129e(0x382)&&(_0x262ecb=_0x262ecb[_0x31129e(0x1e7)]()),this['readyState']!==_0x1cb665[_0x31129e(0x2a9)]){_0x244878(this,_0x262ecb,_0x446f41);return;}const _0x422bbf={'binary':typeof _0x262ecb!=_0x31129e(0x37d),'mask':!this[_0x31129e(0x1e0)],'compress':!0x0,'fin':!0x0,..._0x58e37f};this[_0x31129e(0x33a)][_0x445ac8[_0x31129e(0x38d)]]||(_0x422bbf[_0x31129e(0x1d2)]=!0x1),this[_0x31129e(0x33f)][_0x31129e(0x240)](_0x262ecb||_0x259bcf,_0x422bbf,_0x446f41);}[_0x43b439(0x380)](){const _0x8d26c3=_0x43b439;if(this['readyState']!==_0x1cb665[_0x8d26c3(0x27e)]){if(this[_0x8d26c3(0x30b)]===_0x1cb665[_0x8d26c3(0x28d)]){_0x2c1ebc(this,this['_req'],_0x8d26c3(0x264));return;}this[_0x8d26c3(0x2af)]&&(this[_0x8d26c3(0x295)]=_0x1cb665[_0x8d26c3(0x319)],this[_0x8d26c3(0x2af)][_0x8d26c3(0x363)]());}}}Object[_0x43b439(0x2a3)](_0x1cb665,'CONNECTING',{'enumerable':!0x0,'value':_0x50258b[_0x43b439(0x297)](_0x43b439(0x28d))}),Object[_0x43b439(0x2a3)](_0x1cb665[_0x43b439(0x355)],'CONNECTING',{'enumerable':!0x0,'value':_0x50258b[_0x43b439(0x297)](_0x43b439(0x28d))}),Object[_0x43b439(0x2a3)](_0x1cb665,'OPEN',{'enumerable':!0x0,'value':_0x50258b[_0x43b439(0x297)]('OPEN')}),Object[_0x43b439(0x2a3)](_0x1cb665[_0x43b439(0x355)],_0x43b439(0x2a9),{'enumerable':!0x0,'value':_0x50258b[_0x43b439(0x297)](_0x43b439(0x2a9))}),Object['defineProperty'](_0x1cb665,'CLOSING',{'enumerable':!0x0,'value':_0x50258b['indexOf'](_0x43b439(0x319))}),Object[_0x43b439(0x2a3)](_0x1cb665['prototype'],_0x43b439(0x319),{'enumerable':!0x0,'value':_0x50258b[_0x43b439(0x297)]('CLOSING')}),Object[_0x43b439(0x2a3)](_0x1cb665,_0x43b439(0x27e),{'enumerable':!0x0,'value':_0x50258b['indexOf'](_0x43b439(0x27e))}),Object['defineProperty'](_0x1cb665[_0x43b439(0x355)],'CLOSED',{'enumerable':!0x0,'value':_0x50258b[_0x43b439(0x297)]('CLOSED')}),[_0x43b439(0x358),'bufferedAmount',_0x43b439(0x1ee),'isPaused',_0x43b439(0x341),_0x43b439(0x30b),_0x43b439(0x38f)][_0x43b439(0x26a)](_0x2d0ec8=>{const _0x11ce47=_0x43b439;Object[_0x11ce47(0x2a3)](_0x1cb665['prototype'],_0x2d0ec8,{'enumerable':!0x0});}),[_0x43b439(0x229),_0x43b439(0x346),_0x43b439(0x32f),_0x43b439(0x1dc)][_0x43b439(0x26a)](_0x559f06=>{const _0x542df9=_0x43b439;Object[_0x542df9(0x2a3)](_0x1cb665[_0x542df9(0x355)],'on'+_0x559f06,{'enumerable':!0x0,'get'(){const _0x3fce8f=_0x542df9;for(const _0x1adc73 of this[_0x3fce8f(0x26b)](_0x559f06))if(_0x1adc73[_0x3b6ff2])return _0x1adc73[_0x1278a2];return null;},'set'(_0x124d8b){const _0x4d65d9=_0x542df9;for(const _0x10581d of this[_0x4d65d9(0x26b)](_0x559f06))if(_0x10581d[_0x3b6ff2]){this['removeListener'](_0x559f06,_0x10581d);break;}typeof _0x124d8b==_0x4d65d9(0x2be)&&this['addEventListener'](_0x559f06,_0x124d8b,{[_0x3b6ff2]:!0x0});}});}),_0x1cb665[_0x43b439(0x355)][_0x43b439(0x1d9)]=_0x7d2a7a,_0x1cb665['prototype'][_0x43b439(0x2c2)]=_0x8dd19f,we=_0x1cb665;function _0x15a510(_0x69990b,_0x35b107,_0x54c296,_0x21fe4e){const _0x20f650=_0x43b439,_0x3a7b0d={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0xcc1aa7[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x21fe4e,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x69990b[_0x20f650(0x34d)]=_0x3a7b0d[_0x20f650(0x20c)],!_0xcc1aa7[_0x20f650(0x244)](_0x3a7b0d['protocolVersion']))throw new RangeError(_0x20f650(0x35c)+_0x3a7b0d['protocolVersion']+_0x20f650(0x1f5)+_0xcc1aa7[_0x20f650(0x280)](',\x20')+')');let _0x2f3214;if(_0x35b107 instanceof _0x4a9417)_0x2f3214=_0x35b107;else try{_0x2f3214=new _0x4a9417(_0x35b107);}catch{throw new SyntaxError('Invalid\x20URL:\x20'+_0x35b107);}_0x2f3214[_0x20f650(0x341)]==='http:'?_0x2f3214[_0x20f650(0x341)]=_0x20f650(0x1ea):_0x2f3214[_0x20f650(0x341)]===_0x20f650(0x227)&&(_0x2f3214[_0x20f650(0x341)]=_0x20f650(0x30a)),_0x69990b[_0x20f650(0x337)]=_0x2f3214[_0x20f650(0x25c)];const _0x4808a4=_0x2f3214[_0x20f650(0x341)]==='wss:',_0x4b6ccc=_0x2f3214['protocol']===_0x20f650(0x375);let _0x53c5c6;if(_0x2f3214[_0x20f650(0x341)]!=='ws:'&&!_0x4808a4&&!_0x4b6ccc?_0x53c5c6=_0x20f650(0x282):_0x4b6ccc&&!_0x2f3214[_0x20f650(0x21c)]?_0x53c5c6=_0x20f650(0x239):_0x2f3214[_0x20f650(0x246)]&&(_0x53c5c6=_0x20f650(0x279)),_0x53c5c6){const _0x4375ad=new SyntaxError(_0x53c5c6);if(_0x69990b[_0x20f650(0x39a)]===0x0)throw _0x4375ad;_0x2edca1(_0x69990b,_0x4375ad);return;}const _0x518129=_0x4808a4?0x1bb:0x50,_0x14626e=_0x50bbb5(0x10)[_0x20f650(0x1e7)]('base64'),_0xf5516e=_0x4808a4?_0x3f00cf[_0x20f650(0x347)]:_0x1a91e6[_0x20f650(0x347)],_0x1251ac=new Set();let _0x5c8daa;if(_0x3a7b0d[_0x20f650(0x328)]=_0x3a7b0d[_0x20f650(0x328)]||(_0x4808a4?_0x1e1460:_0x181590),_0x3a7b0d[_0x20f650(0x233)]=_0x3a7b0d[_0x20f650(0x233)]||_0x518129,_0x3a7b0d[_0x20f650(0x24f)]=_0x2f3214['port']||_0x518129,_0x3a7b0d[_0x20f650(0x25f)]=_0x2f3214[_0x20f650(0x336)][_0x20f650(0x250)]('[')?_0x2f3214[_0x20f650(0x336)][_0x20f650(0x211)](0x1,-0x1):_0x2f3214[_0x20f650(0x336)],_0x3a7b0d['headers']={..._0x3a7b0d['headers'],'Sec-WebSocket-Version':_0x3a7b0d[_0x20f650(0x35f)],'Sec-WebSocket-Key':_0x14626e,'Connection':_0x20f650(0x204),'Upgrade':'websocket'},_0x3a7b0d[_0x20f650(0x2f7)]=_0x2f3214[_0x20f650(0x21c)]+_0x2f3214[_0x20f650(0x2c0)],_0x3a7b0d[_0x20f650(0x1f2)]=_0x3a7b0d[_0x20f650(0x261)],_0x3a7b0d[_0x20f650(0x267)]&&(_0x5c8daa=new _0x445ac8(_0x3a7b0d['perMessageDeflate']!==!0x0?_0x3a7b0d['perMessageDeflate']:{},!0x1,_0x3a7b0d['maxPayload']),_0x3a7b0d['headers'][_0x20f650(0x32c)]=_0x4e9616({[_0x445ac8[_0x20f650(0x38d)]]:_0x5c8daa[_0x20f650(0x2b9)]()})),_0x54c296[_0x20f650(0x2a4)]){for(const _0x13ce79 of _0x54c296){if(typeof _0x13ce79!=_0x20f650(0x37d)||!_0x14e3ad[_0x20f650(0x2b4)](_0x13ce79)||_0x1251ac[_0x20f650(0x2a5)](_0x13ce79))throw new SyntaxError(_0x20f650(0x37e));_0x1251ac['add'](_0x13ce79);}_0x3a7b0d[_0x20f650(0x24e)][_0x20f650(0x31b)]=_0x54c296[_0x20f650(0x280)](',');}if(_0x3a7b0d[_0x20f650(0x38a)]&&(_0x3a7b0d[_0x20f650(0x35f)]<0xd?_0x3a7b0d[_0x20f650(0x24e)]['Sec-WebSocket-Origin']=_0x3a7b0d[_0x20f650(0x38a)]:_0x3a7b0d[_0x20f650(0x24e)][_0x20f650(0x368)]=_0x3a7b0d['origin']),(_0x2f3214[_0x20f650(0x270)]||_0x2f3214[_0x20f650(0x225)])&&(_0x3a7b0d['auth']=_0x2f3214[_0x20f650(0x270)]+':'+_0x2f3214[_0x20f650(0x225)]),_0x4b6ccc){const _0x19e751=_0x3a7b0d[_0x20f650(0x2f7)][_0x20f650(0x29a)](':');_0x3a7b0d['socketPath']=_0x19e751[0x0],_0x3a7b0d['path']=_0x19e751[0x1];}let _0x35c85d;if(_0x3a7b0d['followRedirects']){if(_0x69990b[_0x20f650(0x39a)]===0x0){_0x69990b[_0x20f650(0x201)]=_0x4b6ccc,_0x69990b[_0x20f650(0x36e)]=_0x4808a4,_0x69990b[_0x20f650(0x325)]=_0x4b6ccc?_0x3a7b0d[_0x20f650(0x238)]:_0x2f3214['host'];const _0x1a5320=_0x21fe4e&&_0x21fe4e['headers'];if(_0x21fe4e={..._0x21fe4e,'headers':{}},_0x1a5320){for(const [_0x2653c0,_0x2e5e0c]of Object[_0x20f650(0x1cc)](_0x1a5320))_0x21fe4e[_0x20f650(0x24e)][_0x2653c0['toLowerCase']()]=_0x2e5e0c;}}else{if(_0x69990b['listenerCount'](_0x20f650(0x2fa))===0x0){const _0x5a133c=_0x4b6ccc?_0x69990b['_originalIpc']?_0x3a7b0d[_0x20f650(0x238)]===_0x69990b['_originalHostOrSocketPath']:!0x1:_0x69990b[_0x20f650(0x201)]?!0x1:_0x2f3214[_0x20f650(0x25f)]===_0x69990b[_0x20f650(0x325)];(!_0x5a133c||_0x69990b[_0x20f650(0x36e)]&&!_0x4808a4)&&(delete _0x3a7b0d[_0x20f650(0x24e)][_0x20f650(0x266)],delete _0x3a7b0d[_0x20f650(0x24e)]['cookie'],_0x5a133c||delete _0x3a7b0d[_0x20f650(0x24e)][_0x20f650(0x25f)],_0x3a7b0d[_0x20f650(0x396)]=void 0x0);}}_0x3a7b0d[_0x20f650(0x396)]&&!_0x21fe4e[_0x20f650(0x24e)]['authorization']&&(_0x21fe4e['headers'][_0x20f650(0x266)]='Basic\x20'+Buffer[_0x20f650(0x2d1)](_0x3a7b0d[_0x20f650(0x396)])[_0x20f650(0x1e7)](_0x20f650(0x207))),_0x35c85d=_0x69990b[_0x20f650(0x2b0)]=_0xf5516e(_0x3a7b0d),_0x69990b[_0x20f650(0x39a)]&&_0x69990b[_0x20f650(0x37b)](_0x20f650(0x2fa),_0x69990b[_0x20f650(0x38f)],_0x35c85d);}else _0x35c85d=_0x69990b[_0x20f650(0x2b0)]=_0xf5516e(_0x3a7b0d);_0x3a7b0d[_0x20f650(0x1f2)]&&_0x35c85d['on'](_0x20f650(0x1f2),()=>{_0x2c1ebc(_0x69990b,_0x35c85d,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x35c85d['on'](_0x20f650(0x346),_0x3982d6=>{const _0x5b107e=_0x20f650;_0x35c85d===null||_0x35c85d[_0x251491]||(_0x35c85d=_0x69990b[_0x5b107e(0x2b0)]=null,_0x2edca1(_0x69990b,_0x3982d6));}),_0x35c85d['on'](_0x20f650(0x303),_0x3333ae=>{const _0x39d5cc=_0x20f650,_0x50589d=_0x3333ae[_0x39d5cc(0x24e)]['location'],_0x56e6b4=_0x3333ae[_0x39d5cc(0x2e6)];if(_0x50589d&&_0x3a7b0d['followRedirects']&&_0x56e6b4>=0x12c&&_0x56e6b4<0x190){if(++_0x69990b[_0x39d5cc(0x39a)]>_0x3a7b0d[_0x39d5cc(0x259)]){_0x2c1ebc(_0x69990b,_0x35c85d,_0x39d5cc(0x215));return;}_0x35c85d[_0x39d5cc(0x2eb)]();let _0x26de5e;try{_0x26de5e=new _0x4a9417(_0x50589d,_0x35b107);}catch{const _0x159805=new SyntaxError(_0x39d5cc(0x333)+_0x50589d);_0x2edca1(_0x69990b,_0x159805);return;}_0x15a510(_0x69990b,_0x26de5e,_0x54c296,_0x21fe4e);}else _0x69990b[_0x39d5cc(0x37b)](_0x39d5cc(0x257),_0x35c85d,_0x3333ae)||_0x2c1ebc(_0x69990b,_0x35c85d,_0x39d5cc(0x269)+_0x3333ae[_0x39d5cc(0x2e6)]);}),_0x35c85d['on'](_0x20f650(0x31f),(_0x1aa9b4,_0xb71d77,_0x357335)=>{const _0x4631a4=_0x20f650;if(_0x69990b['emit'](_0x4631a4(0x31f),_0x1aa9b4),_0x69990b['readyState']!==_0x1cb665['CONNECTING'])return;_0x35c85d=_0x69990b['_req']=null;const _0x2266fe=_0x1aa9b4[_0x4631a4(0x24e)]['upgrade'];if(_0x2266fe===void 0x0||_0x2266fe['toLowerCase']()!==_0x4631a4(0x291)){_0x2c1ebc(_0x69990b,_0xb71d77,_0x4631a4(0x36d));return;}const _0x14e72a=_0x314572(_0x4631a4(0x1ec))[_0x4631a4(0x33d)](_0x14626e+_0x4a1b25)[_0x4631a4(0x2b7)](_0x4631a4(0x207));if(_0x1aa9b4[_0x4631a4(0x24e)][_0x4631a4(0x1ed)]!==_0x14e72a){_0x2c1ebc(_0x69990b,_0xb71d77,_0x4631a4(0x36a));return;}const _0x19def1=_0x1aa9b4[_0x4631a4(0x24e)]['sec-websocket-protocol'];let _0x530547;if(_0x19def1!==void 0x0?_0x1251ac[_0x4631a4(0x213)]?_0x1251ac[_0x4631a4(0x2a5)](_0x19def1)||(_0x530547=_0x4631a4(0x367)):_0x530547='Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested':_0x1251ac[_0x4631a4(0x213)]&&(_0x530547=_0x4631a4(0x2cd)),_0x530547){_0x2c1ebc(_0x69990b,_0xb71d77,_0x530547);return;}_0x19def1&&(_0x69990b[_0x4631a4(0x206)]=_0x19def1);const _0x25e68c=_0x1aa9b4[_0x4631a4(0x24e)]['sec-websocket-extensions'];if(_0x25e68c!==void 0x0){if(!_0x5c8daa){_0x2c1ebc(_0x69990b,_0xb71d77,'Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested');return;}let _0x18b608;try{_0x18b608=_0xe6b417(_0x25e68c);}catch{_0x2c1ebc(_0x69990b,_0xb71d77,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0x4d7e55=Object[_0x4631a4(0x20d)](_0x18b608);if(_0x4d7e55[_0x4631a4(0x2a4)]!==0x1||_0x4d7e55[0x0]!==_0x445ac8['extensionName']){_0x2c1ebc(_0x69990b,_0xb71d77,'Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested');return;}try{_0x5c8daa['accept'](_0x18b608[_0x445ac8['extensionName']]);}catch{_0x2c1ebc(_0x69990b,_0xb71d77,_0x4631a4(0x383));return;}_0x69990b['_extensions'][_0x445ac8['extensionName']]=_0x5c8daa;}_0x69990b[_0x4631a4(0x2d5)](_0xb71d77,_0x357335,{'allowSynchronousEvents':_0x3a7b0d[_0x4631a4(0x362)],'generateMask':_0x3a7b0d[_0x4631a4(0x2c9)],'maxPayload':_0x3a7b0d['maxPayload'],'skipUTF8Validation':_0x3a7b0d['skipUTF8Validation']});}),_0x3a7b0d[_0x20f650(0x399)]?_0x3a7b0d[_0x20f650(0x399)](_0x35c85d,_0x69990b):_0x35c85d[_0x20f650(0x2de)]();}function _0x2edca1(_0x1c401b,_0x25d9df){const _0x11a326=_0x43b439;_0x1c401b[_0x11a326(0x295)]=_0x1cb665[_0x11a326(0x319)],_0x1c401b[_0x11a326(0x388)]=!0x0,_0x1c401b[_0x11a326(0x37b)](_0x11a326(0x346),_0x25d9df),_0x1c401b['emitClose']();}function _0x181590(_0x52714c){const _0x57f85d=_0x43b439;return _0x52714c['path']=_0x52714c[_0x57f85d(0x238)],_0x5d88b8[_0x57f85d(0x370)](_0x52714c);}function _0x1e1460(_0x208148){const _0x33b4a0=_0x43b439;return _0x208148[_0x33b4a0(0x2f7)]=void 0x0,!_0x208148[_0x33b4a0(0x321)]&&_0x208148[_0x33b4a0(0x321)]!==''&&(_0x208148[_0x33b4a0(0x321)]=_0x5d88b8['isIP'](_0x208148[_0x33b4a0(0x25f)])?'':_0x208148[_0x33b4a0(0x25f)]),_0x4bdc6c[_0x33b4a0(0x370)](_0x208148);}function _0x2c1ebc(_0x57e8b3,_0x2d6aad,_0x153ae3){const _0x512066=_0x43b439;_0x57e8b3[_0x512066(0x295)]=_0x1cb665[_0x512066(0x319)];const _0x102f87=new Error(_0x153ae3);Error[_0x512066(0x394)](_0x102f87,_0x2c1ebc),_0x2d6aad[_0x512066(0x349)]?(_0x2d6aad[_0x251491]=!0x0,_0x2d6aad[_0x512066(0x2eb)](),_0x2d6aad[_0x512066(0x309)]&&!_0x2d6aad[_0x512066(0x309)][_0x512066(0x2fd)]&&_0x2d6aad[_0x512066(0x309)][_0x512066(0x363)](),process[_0x512066(0x1de)](_0x2edca1,_0x57e8b3,_0x102f87)):(_0x2d6aad[_0x512066(0x363)](_0x102f87),_0x2d6aad[_0x512066(0x37c)](_0x512066(0x346),_0x57e8b3[_0x512066(0x37b)]['bind'](_0x57e8b3,_0x512066(0x346))),_0x2d6aad['once'](_0x512066(0x32f),_0x57e8b3[_0x512066(0x392)][_0x512066(0x2b5)](_0x57e8b3)));}function _0x244878(_0x58a915,_0x6c8591,_0x3d6e30){const _0x1c7ade=_0x43b439;if(_0x6c8591){const _0x2c5f4e=_0x4a26ba(_0x6c8591)?_0x6c8591[_0x1c7ade(0x213)]:_0x20c2fe(_0x6c8591)[_0x1c7ade(0x2a4)];_0x58a915[_0x1c7ade(0x2af)]?_0x58a915[_0x1c7ade(0x33f)][_0x1c7ade(0x219)]+=_0x2c5f4e:_0x58a915[_0x1c7ade(0x393)]+=_0x2c5f4e;}if(_0x3d6e30){const _0x5d0ca5=new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x20'+_0x58a915['readyState']+'\x20('+_0x50258b[_0x58a915[_0x1c7ade(0x30b)]]+')');process[_0x1c7ade(0x1de)](_0x3d6e30,_0x5d0ca5);}}function _0xdabcd7(_0x242e1e,_0xbf2f01){const _0x4e5f5f=_0x43b439,_0x50cfd0=this[_0x13b08c];_0x50cfd0['_closeFrameReceived']=!0x0,_0x50cfd0['_closeMessage']=_0xbf2f01,_0x50cfd0[_0x4e5f5f(0x35e)]=_0x242e1e,_0x50cfd0['_socket'][_0x13b08c]!==void 0x0&&(_0x50cfd0[_0x4e5f5f(0x2af)][_0x4e5f5f(0x25e)](_0x4e5f5f(0x2d6),_0x3d021c),process[_0x4e5f5f(0x1de)](_0x9d197d,_0x50cfd0[_0x4e5f5f(0x2af)]),_0x242e1e===0x3ed?_0x50cfd0[_0x4e5f5f(0x32f)]():_0x50cfd0[_0x4e5f5f(0x32f)](_0x242e1e,_0xbf2f01));}function _0x5e8d34(){const _0x525d04=_0x43b439,_0x38a363=this[_0x13b08c];_0x38a363[_0x525d04(0x2ad)]||_0x38a363[_0x525d04(0x2af)][_0x525d04(0x2d2)]();}function _0x4ad346(_0x20d226){const _0x4d6a67=_0x43b439,_0x29655d=this[_0x13b08c];_0x29655d[_0x4d6a67(0x2af)][_0x13b08c]!==void 0x0&&(_0x29655d[_0x4d6a67(0x2af)][_0x4d6a67(0x25e)](_0x4d6a67(0x2d6),_0x3d021c),process[_0x4d6a67(0x1de)](_0x9d197d,_0x29655d[_0x4d6a67(0x2af)]),_0x29655d[_0x4d6a67(0x32f)](_0x20d226[_0x2821ca])),_0x29655d['_errorEmitted']||(_0x29655d[_0x4d6a67(0x388)]=!0x0,_0x29655d[_0x4d6a67(0x37b)]('error',_0x20d226));}function _0x5dcaf2(){const _0x36177b=_0x43b439;this[_0x13b08c][_0x36177b(0x392)]();}function _0x6a0aa5(_0x3f72a0,_0x3d407a){const _0x1bf353=_0x43b439;this[_0x13b08c][_0x1bf353(0x37b)](_0x1bf353(0x1dc),_0x3f72a0,_0x3d407a);}function _0x2d0542(_0x980e73){const _0x4e8bcc=_0x43b439,_0x10c60d=this[_0x13b08c];_0x10c60d[_0x4e8bcc(0x34d)]&&_0x10c60d[_0x4e8bcc(0x34f)](_0x980e73,!this['_isServer'],_0x49f313),_0x10c60d[_0x4e8bcc(0x37b)](_0x4e8bcc(0x1d0),_0x980e73);}function _0x4b80b2(_0x3c8738){const _0xd8eef2=_0x43b439;this[_0x13b08c][_0xd8eef2(0x37b)](_0xd8eef2(0x34f),_0x3c8738);}function _0x9d197d(_0x5e7a23){_0x5e7a23['resume']();}function _0xab85c1(_0x3090f9){const _0x3f3012=_0x43b439,_0x4072d2=this[_0x13b08c];_0x4072d2['readyState']!==_0x1cb665[_0x3f3012(0x27e)]&&(_0x4072d2[_0x3f3012(0x30b)]===_0x1cb665['OPEN']&&(_0x4072d2[_0x3f3012(0x295)]=_0x1cb665['CLOSING'],_0x3fe6ee(_0x4072d2)),this[_0x3f3012(0x2af)][_0x3f3012(0x2de)](),_0x4072d2[_0x3f3012(0x388)]||(_0x4072d2[_0x3f3012(0x388)]=!0x0,_0x4072d2[_0x3f3012(0x37b)](_0x3f3012(0x346),_0x3090f9)));}function _0x3fe6ee(_0x35550b){const _0xda8da4=_0x43b439;_0x35550b[_0xda8da4(0x2b1)]=setTimeout(_0x35550b[_0xda8da4(0x2af)]['destroy'][_0xda8da4(0x2b5)](_0x35550b[_0xda8da4(0x2af)]),_0x39b568);}function _0x359350(){const _0x27f6a6=_0x43b439,_0x5e6b66=this[_0x13b08c];this[_0x27f6a6(0x25e)](_0x27f6a6(0x32f),_0x359350),this[_0x27f6a6(0x25e)](_0x27f6a6(0x2d6),_0x3d021c),this[_0x27f6a6(0x25e)](_0x27f6a6(0x2de),_0x41429e),_0x5e6b66[_0x27f6a6(0x295)]=_0x1cb665['CLOSING'];let _0xc53543;!this[_0x27f6a6(0x23d)]['endEmitted']&&!_0x5e6b66['_closeFrameReceived']&&!_0x5e6b66[_0x27f6a6(0x222)][_0x27f6a6(0x35d)]['errorEmitted']&&(_0xc53543=_0x5e6b66[_0x27f6a6(0x2af)][_0x27f6a6(0x2ed)]())!==null&&_0x5e6b66[_0x27f6a6(0x222)]['write'](_0xc53543),_0x5e6b66[_0x27f6a6(0x222)][_0x27f6a6(0x2de)](),this[_0x13b08c]=void 0x0,clearTimeout(_0x5e6b66[_0x27f6a6(0x2b1)]),_0x5e6b66['_receiver'][_0x27f6a6(0x35d)][_0x27f6a6(0x2e2)]||_0x5e6b66[_0x27f6a6(0x222)][_0x27f6a6(0x35d)][_0x27f6a6(0x335)]?_0x5e6b66[_0x27f6a6(0x392)]():(_0x5e6b66['_receiver']['on'](_0x27f6a6(0x346),_0x5dcaf2),_0x5e6b66['_receiver']['on']('finish',_0x5dcaf2));}function _0x3d021c(_0x1fde61){const _0x39995c=_0x43b439;this[_0x13b08c][_0x39995c(0x222)][_0x39995c(0x1e3)](_0x1fde61)||this[_0x39995c(0x301)]();}function _0x41429e(){const _0x45b387=_0x43b439,_0x1aaf0a=this[_0x13b08c];_0x1aaf0a[_0x45b387(0x295)]=_0x1cb665[_0x45b387(0x319)],_0x1aaf0a['_receiver'][_0x45b387(0x2de)](),this[_0x45b387(0x2de)]();}function _0x1b4fa0(){const _0x3de6a6=_0x43b439,_0x4313d5=this[_0x13b08c];this['removeListener']('error',_0x1b4fa0),this['on'](_0x3de6a6(0x346),_0x49f313),_0x4313d5&&(_0x4313d5[_0x3de6a6(0x295)]=_0x1cb665[_0x3de6a6(0x319)],this['destroy']());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x420d9}=oe;function _0x302598(_0x200250){const _0x224d51=_0x2d24;_0x200250['emit'](_0x224d51(0x32f));}function _0x2dbbd8(){const _0x169e76=_0x2d24;!this['destroyed']&&this[_0x169e76(0x35d)][_0x169e76(0x2e2)]&&this[_0x169e76(0x363)]();}function _0x232c42(_0x2513dc){const _0x21bebe=_0x2d24;this[_0x21bebe(0x25e)](_0x21bebe(0x346),_0x232c42),this[_0x21bebe(0x363)](),this[_0x21bebe(0x1f9)](_0x21bebe(0x346))===0x0&&this[_0x21bebe(0x37b)](_0x21bebe(0x346),_0x2513dc);}function _0x53665e(_0x1009dd,_0x4f851){const _0x1317db=_0x2d24;let _0x4a336d=!0x0;const _0x3df0b4=new _0x420d9({..._0x4f851,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x1009dd['on'](_0x1317db(0x1dc),function(_0x294909,_0x398307){const _0x229b7b=_0x1317db,_0x295535=!_0x398307&&_0x3df0b4[_0x229b7b(0x23d)][_0x229b7b(0x29f)]?_0x294909[_0x229b7b(0x1e7)]():_0x294909;_0x3df0b4[_0x229b7b(0x273)](_0x295535)||_0x1009dd['pause']();}),_0x1009dd[_0x1317db(0x37c)](_0x1317db(0x346),function(_0xa0755c){const _0x324572=_0x1317db;_0x3df0b4[_0x324572(0x2fd)]||(_0x4a336d=!0x1,_0x3df0b4[_0x324572(0x363)](_0xa0755c));}),_0x1009dd[_0x1317db(0x37c)](_0x1317db(0x32f),function(){const _0x578b50=_0x1317db;_0x3df0b4[_0x578b50(0x2fd)]||_0x3df0b4[_0x578b50(0x273)](null);}),_0x3df0b4[_0x1317db(0x217)]=function(_0x440003,_0x23fbe6){const _0x2e4ccd=_0x1317db;if(_0x1009dd[_0x2e4ccd(0x30b)]===_0x1009dd[_0x2e4ccd(0x27e)]){_0x23fbe6(_0x440003),process['nextTick'](_0x302598,_0x3df0b4);return;}let _0x501667=!0x1;_0x1009dd[_0x2e4ccd(0x37c)]('error',function(_0x3a068f){_0x501667=!0x0,_0x23fbe6(_0x3a068f);}),_0x1009dd[_0x2e4ccd(0x37c)](_0x2e4ccd(0x32f),function(){_0x501667||_0x23fbe6(_0x440003),process['nextTick'](_0x302598,_0x3df0b4);}),_0x4a336d&&_0x1009dd[_0x2e4ccd(0x380)]();},_0x3df0b4[_0x1317db(0x281)]=function(_0x410f03){const _0x110be9=_0x1317db;if(_0x1009dd[_0x110be9(0x30b)]===_0x1009dd[_0x110be9(0x28d)]){_0x1009dd[_0x110be9(0x37c)]('open',function(){_0x3df0b4['_final'](_0x410f03);});return;}_0x1009dd[_0x110be9(0x2af)]!==null&&(_0x1009dd[_0x110be9(0x2af)][_0x110be9(0x35d)][_0x110be9(0x2e2)]?(_0x410f03(),_0x3df0b4[_0x110be9(0x23d)][_0x110be9(0x2cb)]&&_0x3df0b4[_0x110be9(0x363)]()):(_0x1009dd[_0x110be9(0x2af)][_0x110be9(0x37c)]('finish',function(){_0x410f03();}),_0x1009dd[_0x110be9(0x32f)]()));},_0x3df0b4[_0x1317db(0x237)]=function(){const _0x219f9d=_0x1317db;_0x1009dd[_0x219f9d(0x2ad)]&&_0x1009dd['resume']();},_0x3df0b4[_0x1317db(0x1d3)]=function(_0x56eeb4,_0x1304be,_0x35e286){const _0x582164=_0x1317db;if(_0x1009dd[_0x582164(0x30b)]===_0x1009dd[_0x582164(0x28d)]){_0x1009dd[_0x582164(0x37c)]('open',function(){_0x3df0b4['_write'](_0x56eeb4,_0x1304be,_0x35e286);});return;}_0x1009dd['send'](_0x56eeb4,_0x35e286);},_0x3df0b4['on'](_0x1317db(0x2de),_0x2dbbd8),_0x3df0b4['on']('error',_0x232c42),_0x3df0b4;}return Oe=_0x53665e,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x311639}=ae();function _0x3530e1(_0x5d50cf){const _0x51a7f5=_0x2d24,_0x27cb88=new Set();let _0x13c92a=-0x1,_0x2e5ecf=-0x1,_0x36c9f5=0x0;for(_0x36c9f5;_0x36c9f5<_0x5d50cf[_0x51a7f5(0x2a4)];_0x36c9f5++){const _0x302e82=_0x5d50cf[_0x51a7f5(0x20f)](_0x36c9f5);if(_0x2e5ecf===-0x1&&_0x311639[_0x302e82]===0x1)_0x13c92a===-0x1&&(_0x13c92a=_0x36c9f5);else{if(_0x36c9f5!==0x0&&(_0x302e82===0x20||_0x302e82===0x9))_0x2e5ecf===-0x1&&_0x13c92a!==-0x1&&(_0x2e5ecf=_0x36c9f5);else{if(_0x302e82===0x2c){if(_0x13c92a===-0x1)throw new SyntaxError(_0x51a7f5(0x1fd)+_0x36c9f5);_0x2e5ecf===-0x1&&(_0x2e5ecf=_0x36c9f5);const _0x568b62=_0x5d50cf[_0x51a7f5(0x211)](_0x13c92a,_0x2e5ecf);if(_0x27cb88[_0x51a7f5(0x2a5)](_0x568b62))throw new SyntaxError(_0x51a7f5(0x381)+_0x568b62+'\x22\x20subprotocol\x20is\x20duplicated');_0x27cb88[_0x51a7f5(0x29b)](_0x568b62),_0x13c92a=_0x2e5ecf=-0x1;}else throw new SyntaxError(_0x51a7f5(0x1fd)+_0x36c9f5);}}}if(_0x13c92a===-0x1||_0x2e5ecf!==-0x1)throw new SyntaxError('Unexpected\x20end\x20of\x20input');const _0x30d7a4=_0x5d50cf[_0x51a7f5(0x211)](_0x13c92a,_0x36c9f5);if(_0x27cb88[_0x51a7f5(0x2a5)](_0x30d7a4))throw new SyntaxError(_0x51a7f5(0x381)+_0x30d7a4+_0x51a7f5(0x39d));return _0x27cb88[_0x51a7f5(0x29b)](_0x30d7a4),_0x27cb88;}return Ce={'parse':_0x3530e1},Ce;}var Te,rt;function Ft(){const _0x3b4630=_0x409d2e;if(rt)return Te;rt=0x1;const _0x2b92cb=nt,_0xa6096b=ot,{Duplex:_0x24017a}=oe,{createHash:_0x615ea6}=Le,_0x574378=ct(),_0x18e892=he(),_0x107137=At(),_0x64818d=Pe(),{GUID:_0x3da50c,kWebSocket:_0x28d161}=H(),_0x4001f3=/^[+/0-9A-Za-z]{22}==$/,_0x2facde=0x0,_0x1507c9=0x1,_0x3f1a4c=0x2;class _0x32a988 extends _0x2b92cb{constructor(_0xaa477c,_0x238550){const _0x8907d5=_0x2d24;if(super(),_0xaa477c={'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':_0x64818d,..._0xaa477c},_0xaa477c['port']==null&&!_0xaa477c[_0x8907d5(0x221)]&&!_0xaa477c[_0x8907d5(0x2b2)]||_0xaa477c[_0x8907d5(0x24f)]!=null&&(_0xaa477c['server']||_0xaa477c[_0x8907d5(0x2b2)])||_0xaa477c['server']&&_0xaa477c[_0x8907d5(0x2b2)])throw new TypeError(_0x8907d5(0x23f));if(_0xaa477c['port']!=null?(this[_0x8907d5(0x293)]=_0xa6096b[_0x8907d5(0x24c)]((_0x52ca72,_0x507c76)=>{const _0x227b1c=_0x8907d5,_0x3da0e7=_0xa6096b[_0x227b1c(0x2d9)][0x1aa];_0x507c76[_0x227b1c(0x28b)](0x1aa,{'Content-Length':_0x3da0e7['length'],'Content-Type':'text/plain'}),_0x507c76[_0x227b1c(0x2de)](_0x3da0e7);}),this[_0x8907d5(0x293)][_0x8907d5(0x2ab)](_0xaa477c[_0x8907d5(0x24f)],_0xaa477c['host'],_0xaa477c[_0x8907d5(0x2df)],_0x238550)):_0xaa477c[_0x8907d5(0x221)]&&(this[_0x8907d5(0x293)]=_0xaa477c[_0x8907d5(0x221)]),this[_0x8907d5(0x293)]){const _0x69f392=this[_0x8907d5(0x37b)][_0x8907d5(0x2b5)](this,_0x8907d5(0x248));this[_0x8907d5(0x379)]=_0x3a64a1(this['_server'],{'listening':this[_0x8907d5(0x37b)]['bind'](this,_0x8907d5(0x359)),'error':this[_0x8907d5(0x37b)]['bind'](this,_0x8907d5(0x346)),'upgrade':(_0x4ebf47,_0x5d9250,_0x275cf8)=>{const _0xa4fa99=_0x8907d5;this[_0xa4fa99(0x247)](_0x4ebf47,_0x5d9250,_0x275cf8,_0x69f392);}});}_0xaa477c[_0x8907d5(0x267)]===!0x0&&(_0xaa477c[_0x8907d5(0x267)]={}),_0xaa477c['clientTracking']&&(this[_0x8907d5(0x313)]=new Set(),this[_0x8907d5(0x2ac)]=!0x1),this[_0x8907d5(0x24d)]=_0xaa477c,this[_0x8907d5(0x315)]=_0x2facde;}['address'](){const _0x69431e=_0x2d24;if(this[_0x69431e(0x24d)][_0x69431e(0x2b2)])throw new Error(_0x69431e(0x376));return this[_0x69431e(0x293)]?this[_0x69431e(0x293)][_0x69431e(0x263)]():null;}[_0x3b4630(0x32f)](_0x4f8cf6){const _0xfab332=_0x3b4630;if(this[_0xfab332(0x315)]===_0x3f1a4c){_0x4f8cf6&&this[_0xfab332(0x37c)]('close',()=>{const _0x5bbe5a=_0xfab332;_0x4f8cf6(new Error(_0x5bbe5a(0x232)));}),process['nextTick'](_0x5ca268,this);return;}if(_0x4f8cf6&&this[_0xfab332(0x37c)](_0xfab332(0x32f),_0x4f8cf6),this[_0xfab332(0x315)]!==_0x1507c9){if(this[_0xfab332(0x315)]=_0x1507c9,this[_0xfab332(0x24d)][_0xfab332(0x2b2)]||this[_0xfab332(0x24d)]['server'])this['_server']&&(this['_removeListeners'](),this[_0xfab332(0x379)]=this[_0xfab332(0x293)]=null),this['clients']?this[_0xfab332(0x313)][_0xfab332(0x213)]?this[_0xfab332(0x2ac)]=!0x0:process[_0xfab332(0x1de)](_0x5ca268,this):process['nextTick'](_0x5ca268,this);else{const _0x48ec4a=this[_0xfab332(0x293)];this[_0xfab332(0x379)](),this[_0xfab332(0x379)]=this['_server']=null,_0x48ec4a[_0xfab332(0x32f)](()=>{_0x5ca268(this);});}}}[_0x3b4630(0x391)](_0x4baaf2){const _0x555fc2=_0x3b4630;if(this['options']['path']){const _0x4e2816=_0x4baaf2['url'][_0x555fc2(0x297)]('?');if((_0x4e2816!==-0x1?_0x4baaf2[_0x555fc2(0x38f)][_0x555fc2(0x211)](0x0,_0x4e2816):_0x4baaf2[_0x555fc2(0x38f)])!==this['options'][_0x555fc2(0x2f7)])return!0x1;}return!0x0;}[_0x3b4630(0x247)](_0x149dfe,_0x3aae67,_0x90ee92,_0x1dab83){const _0x52b87c=_0x3b4630;_0x3aae67['on'](_0x52b87c(0x346),_0x1a566b);const _0x3dd30a=_0x149dfe[_0x52b87c(0x24e)][_0x52b87c(0x1ef)],_0x3ac2be=_0x149dfe[_0x52b87c(0x24e)][_0x52b87c(0x31f)],_0x1c9a7b=+_0x149dfe[_0x52b87c(0x24e)][_0x52b87c(0x2c5)];if(_0x149dfe['method']!=='GET'){_0x3089bb(this,_0x149dfe,_0x3aae67,0x195,_0x52b87c(0x311));return;}if(_0x3ac2be===void 0x0||_0x3ac2be['toLowerCase']()!=='websocket'){_0x3089bb(this,_0x149dfe,_0x3aae67,0x190,_0x52b87c(0x36d));return;}if(_0x3dd30a===void 0x0||!_0x4001f3[_0x52b87c(0x2b4)](_0x3dd30a)){_0x3089bb(this,_0x149dfe,_0x3aae67,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header');return;}if(_0x1c9a7b!==0x8&&_0x1c9a7b!==0xd){_0x3089bb(this,_0x149dfe,_0x3aae67,0x190,_0x52b87c(0x25b));return;}if(!this[_0x52b87c(0x391)](_0x149dfe)){_0x180c6e(_0x3aae67,0x190);return;}const _0x2976ed=_0x149dfe[_0x52b87c(0x24e)]['sec-websocket-protocol'];let _0x106921=new Set();if(_0x2976ed!==void 0x0)try{_0x106921=_0x107137['parse'](_0x2976ed);}catch{_0x3089bb(this,_0x149dfe,_0x3aae67,0x190,_0x52b87c(0x2bf));return;}const _0x5abce0=_0x149dfe[_0x52b87c(0x24e)][_0x52b87c(0x28c)],_0x320618={};if(this['options'][_0x52b87c(0x267)]&&_0x5abce0!==void 0x0){const _0x18dabf=new _0x18e892(this[_0x52b87c(0x24d)]['perMessageDeflate'],!0x0,this['options'][_0x52b87c(0x1d7)]);try{const _0x2d4226=_0x574378[_0x52b87c(0x231)](_0x5abce0);_0x2d4226[_0x18e892[_0x52b87c(0x38d)]]&&(_0x18dabf[_0x52b87c(0x28a)](_0x2d4226[_0x18e892[_0x52b87c(0x38d)]]),_0x320618[_0x18e892[_0x52b87c(0x38d)]]=_0x18dabf);}catch{_0x3089bb(this,_0x149dfe,_0x3aae67,0x190,_0x52b87c(0x251));return;}}if(this[_0x52b87c(0x24d)][_0x52b87c(0x2a8)]){const _0x3ebe8c={'origin':_0x149dfe[_0x52b87c(0x24e)][''+(_0x1c9a7b===0x8?_0x52b87c(0x23b):_0x52b87c(0x38a))],'secure':!!(_0x149dfe[_0x52b87c(0x309)][_0x52b87c(0x292)]||_0x149dfe[_0x52b87c(0x309)][_0x52b87c(0x2a0)]),'req':_0x149dfe};if(this[_0x52b87c(0x24d)][_0x52b87c(0x2a8)][_0x52b87c(0x2a4)]===0x2){this['options']['verifyClient'](_0x3ebe8c,(_0x49037a,_0x57ad36,_0x543efc,_0xfdc908)=>{const _0xd4a5f1=_0x52b87c;if(!_0x49037a)return _0x180c6e(_0x3aae67,_0x57ad36||0x191,_0x543efc,_0xfdc908);this[_0xd4a5f1(0x361)](_0x320618,_0x3dd30a,_0x106921,_0x149dfe,_0x3aae67,_0x90ee92,_0x1dab83);});return;}if(!this[_0x52b87c(0x24d)][_0x52b87c(0x2a8)](_0x3ebe8c))return _0x180c6e(_0x3aae67,0x191);}this[_0x52b87c(0x361)](_0x320618,_0x3dd30a,_0x106921,_0x149dfe,_0x3aae67,_0x90ee92,_0x1dab83);}[_0x3b4630(0x361)](_0x59cdf0,_0xd9b77f,_0x3f6c1a,_0x5986f9,_0x30ca70,_0x3dde4f,_0x190e0d){const _0xeea11c=_0x3b4630;if(!_0x30ca70[_0xeea11c(0x2d0)]||!_0x30ca70['writable'])return _0x30ca70[_0xeea11c(0x363)]();if(_0x30ca70[_0x28d161])throw new Error(_0xeea11c(0x348));if(this[_0xeea11c(0x315)]>_0x2facde)return _0x180c6e(_0x30ca70,0x1f7);const _0x446f6a=[_0xeea11c(0x1f7),_0xeea11c(0x274),_0xeea11c(0x30c),_0xeea11c(0x210)+_0x615ea6(_0xeea11c(0x1ec))[_0xeea11c(0x33d)](_0xd9b77f+_0x3da50c)[_0xeea11c(0x2b7)]('base64')],_0x41dbb2=new this['options'][(_0xeea11c(0x2f6))](null,void 0x0,this[_0xeea11c(0x24d)]);if(_0x3f6c1a['size']){const _0x258417=this[_0xeea11c(0x24d)][_0xeea11c(0x249)]?this['options'][_0xeea11c(0x249)](_0x3f6c1a,_0x5986f9):_0x3f6c1a['values']()[_0xeea11c(0x241)]()[_0xeea11c(0x284)];_0x258417&&(_0x446f6a[_0xeea11c(0x273)](_0xeea11c(0x387)+_0x258417),_0x41dbb2[_0xeea11c(0x206)]=_0x258417);}if(_0x59cdf0[_0x18e892['extensionName']]){const _0x22dab7=_0x59cdf0[_0x18e892[_0xeea11c(0x38d)]][_0xeea11c(0x395)],_0x228bc5=_0x574378[_0xeea11c(0x245)]({[_0x18e892[_0xeea11c(0x38d)]]:[_0x22dab7]});_0x446f6a[_0xeea11c(0x273)](_0xeea11c(0x20a)+_0x228bc5),_0x41dbb2[_0xeea11c(0x33a)]=_0x59cdf0;}this[_0xeea11c(0x37b)]('headers',_0x446f6a,_0x5986f9),_0x30ca70[_0xeea11c(0x1e3)](_0x446f6a[_0xeea11c(0x218)]('\x0d\x0a')[_0xeea11c(0x280)]('\x0d\x0a')),_0x30ca70[_0xeea11c(0x25e)]('error',_0x1a566b),_0x41dbb2[_0xeea11c(0x2d5)](_0x30ca70,_0x3dde4f,{'allowSynchronousEvents':this[_0xeea11c(0x24d)][_0xeea11c(0x362)],'maxPayload':this['options']['maxPayload'],'skipUTF8Validation':this[_0xeea11c(0x24d)][_0xeea11c(0x302)]}),this[_0xeea11c(0x313)]&&(this[_0xeea11c(0x313)]['add'](_0x41dbb2),_0x41dbb2['on'](_0xeea11c(0x32f),()=>{const _0x522026=_0xeea11c;this[_0x522026(0x313)][_0x522026(0x278)](_0x41dbb2),this[_0x522026(0x2ac)]&&!this[_0x522026(0x313)][_0x522026(0x213)]&&process['nextTick'](_0x5ca268,this);})),_0x190e0d(_0x41dbb2,_0x5986f9);}}Te=_0x32a988;function _0x3a64a1(_0x56835b,_0x146293){const _0x2de994=_0x3b4630;for(const _0x241dad of Object[_0x2de994(0x20d)](_0x146293))_0x56835b['on'](_0x241dad,_0x146293[_0x241dad]);return function(){const _0x37adc9=_0x2de994;for(const _0xfc1a68 of Object[_0x37adc9(0x20d)](_0x146293))_0x56835b[_0x37adc9(0x25e)](_0xfc1a68,_0x146293[_0xfc1a68]);};}function _0x5ca268(_0xa22ac5){const _0x16d9ee=_0x3b4630;_0xa22ac5[_0x16d9ee(0x315)]=_0x3f1a4c,_0xa22ac5[_0x16d9ee(0x37b)](_0x16d9ee(0x32f));}function _0x1a566b(){const _0x5daaa9=_0x3b4630;this[_0x5daaa9(0x363)]();}function _0x180c6e(_0x2f9e7b,_0x4a5695,_0x55ca05,_0x2d8ef3){const _0x34e3f0=_0x3b4630;_0x55ca05=_0x55ca05||_0xa6096b['STATUS_CODES'][_0x4a5695],_0x2d8ef3={'Connection':_0x34e3f0(0x32f),'Content-Type':_0x34e3f0(0x32d),'Content-Length':Buffer['byteLength'](_0x55ca05),..._0x2d8ef3},_0x2f9e7b['once'](_0x34e3f0(0x2fe),_0x2f9e7b[_0x34e3f0(0x363)]),_0x2f9e7b[_0x34e3f0(0x2de)](_0x34e3f0(0x2c1)+_0x4a5695+'\x20'+_0xa6096b[_0x34e3f0(0x2d9)][_0x4a5695]+'\x0d\x0a'+Object['keys'](_0x2d8ef3)[_0x34e3f0(0x385)](_0x466989=>_0x466989+':\x20'+_0x2d8ef3[_0x466989])[_0x34e3f0(0x280)]('\x0d\x0a')+_0x34e3f0(0x389)+_0x55ca05);}function _0x3089bb(_0x45fded,_0x3a88bf,_0x5eac9f,_0x4c41db,_0xda140e){const _0x50b724=_0x3b4630;if(_0x45fded[_0x50b724(0x1f9)](_0x50b724(0x1d1))){const _0x51438e=new Error(_0xda140e);Error[_0x50b724(0x394)](_0x51438e,_0x3089bb),_0x45fded['emit'](_0x50b724(0x1d1),_0x51438e,_0x5eac9f,_0x3a88bf);}else _0x180c6e(_0x5eac9f,_0x4c41db,_0xda140e);}return Te;}Ft();var jt=Object[_0x409d2e(0x39e)],Wt=(_0x2fdcc5,_0x47b142,_0x1f5f33,_0x4741a8)=>{const _0x5503fc=_0x409d2e;for(var _0x588a36=_0x4741a8>0x1?void 0x0:_0x4741a8?jt(_0x47b142,_0x1f5f33):_0x47b142,_0xa0f755=_0x2fdcc5[_0x5503fc(0x2a4)]-0x1,_0x343b2e;_0xa0f755>=0x0;_0xa0f755--)(_0x343b2e=_0x2fdcc5[_0xa0f755])&&(_0x588a36=_0x343b2e(_0x588a36)||_0x588a36);return _0x588a36;},qt=(_0x28e5c2,_0x3fb412)=>(_0x485acd,_0x16b288)=>_0x3fb412(_0x485acd,_0x16b288,_0x28e5c2);let ke=class extends A[_0x409d2e(0x364)]{constructor(_0x26b340){const _0x321daa=_0x409d2e;super(),this[_0x321daa(0x23e)]=_0x26b340;}['createSocket'](_0x978c5d){const _0x5581c0=_0x409d2e;var _0x1ba7ac;const _0x4db3c9=(_0x1ba7ac=this[_0x5581c0(0x23e)][_0x5581c0(0x386)](fe))==null?void 0x0:_0x1ba7ac[_0x5581c0(0x1e4)];try{const _0x318f46=new $t(_0x978c5d,{'headers':{..._0x4db3c9}}),_0x204ed5=new A[(_0x5581c0(0x299))]();return{'URL':_0x978c5d,'close':(_0x3a8edf,_0x1a4e95)=>{const _0x4a5f40=_0x5581c0;_0x318f46[_0x4a5f40(0x32f)](_0x3a8edf,_0x1a4e95),_0x204ed5[_0x4a5f40(0x316)]();},'send':_0x63e06=>{const _0x2a62de=_0x5581c0;_0x318f46[_0x2a62de(0x240)](_0x63e06);},'open$':new V[(_0x5581c0(0x34e))](_0xe336a3=>{const _0x361158=_0x5581c0,_0x6eb864=_0x3d3915=>_0xe336a3[_0x361158(0x241)](_0x3d3915);_0x318f46[_0x361158(0x1d9)]('open',_0x6eb864),_0x204ed5['add'](A['toDisposable'](()=>_0x318f46[_0x361158(0x2c2)](_0x361158(0x229),_0x6eb864)));})[_0x5581c0(0x38e)](V['share']()),'close$':new V[(_0x5581c0(0x34e))](_0x30b59d=>{const _0x5334f9=_0x5581c0,_0x307386=_0x490b40=>_0x30b59d[_0x5334f9(0x241)](_0x490b40);_0x318f46[_0x5334f9(0x1d9)](_0x5334f9(0x32f),_0x307386),_0x204ed5[_0x5334f9(0x29b)](A[_0x5334f9(0x2b3)](()=>_0x318f46['removeEventListener'](_0x5334f9(0x32f),_0x307386)));})[_0x5581c0(0x38e)](V[_0x5581c0(0x327)]()),'error$':new V[(_0x5581c0(0x34e))](_0x18b080=>{const _0x1be561=_0x5581c0,_0x486ed8=_0x3c6529=>_0x18b080[_0x1be561(0x241)](_0x3c6529);_0x318f46[_0x1be561(0x1d9)](_0x1be561(0x346),_0x486ed8),_0x204ed5[_0x1be561(0x29b)](A[_0x1be561(0x2b3)](()=>_0x318f46['removeEventListener'](_0x1be561(0x346),_0x486ed8)));})[_0x5581c0(0x38e)](V[_0x5581c0(0x327)]()),'message$':new V[(_0x5581c0(0x34e))](_0x3203ee=>{const _0x5dc099=_0x5581c0,_0x2111c8=_0x2a88f0=>_0x3203ee[_0x5dc099(0x241)](_0x2a88f0);_0x318f46[_0x5dc099(0x1d9)](_0x5dc099(0x1dc),_0x2111c8),_0x204ed5[_0x5dc099(0x29b)](A[_0x5dc099(0x2b3)](()=>_0x318f46[_0x5dc099(0x2c2)]('message',_0x2111c8)));})[_0x5581c0(0x38e)](V[_0x5581c0(0x327)]())};}catch(_0x41edb1){return console[_0x5581c0(0x346)](_0x41edb1),null;}}};ke=Wt([qt(0x0,A['IConfigService'])],ke);var Gt=Object[_0x409d2e(0x2a3)],Vt=Object[_0x409d2e(0x39e)],Ht=(_0x18f4de,_0x451ba8,_0x248578)=>_0x451ba8 in _0x18f4de?Gt(_0x18f4de,_0x451ba8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x248578}):_0x18f4de[_0x451ba8]=_0x248578,zt=(_0x5973ca,_0x518173,_0x2801bb,_0x4a7a47)=>{const _0x588242=_0x409d2e;for(var _0x37c77d=_0x4a7a47>0x1?void 0x0:_0x4a7a47?Vt(_0x518173,_0x2801bb):_0x518173,_0x3d4082=_0x5973ca[_0x588242(0x2a4)]-0x1,_0x3de64c;_0x3d4082>=0x0;_0x3d4082--)(_0x3de64c=_0x5973ca[_0x3d4082])&&(_0x37c77d=_0x3de64c(_0x37c77d)||_0x37c77d);return _0x37c77d;},Ne=(_0x12ed67,_0x42e312)=>(_0x201305,_0x3f2db5)=>_0x42e312(_0x201305,_0x3f2db5,_0x12ed67),Yt=(_0x4fda3b,_0x15ec74,_0x1c9c34)=>Ht(_0x4fda3b,_0x15ec74+'',_0x1c9c34);exports[_0x409d2e(0x2a1)]=class extends A[_0x409d2e(0x2ce)]{constructor(_0xf43086=Ct,_0x300c06,_0x50746a,_0x46c2e5){const _0x92df1e=_0x409d2e;_0xf43086[_0x92df1e(0x1e4)]||_0x300c06[_0x92df1e(0x2d8)]('[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.'),super(),this[_0x92df1e(0x23e)]=_0x50746a,this[_0x92df1e(0x27a)]=_0x46c2e5,this[_0x92df1e(0x23e)][_0x92df1e(0x234)](fe,_0xf43086);}['onStarting'](){const _0x334ad5=_0x409d2e;this[_0x334ad5(0x27f)]();}['_registerDependencies'](){const _0x86413f=_0x409d2e;A[_0x86413f(0x2bb)](this['_injector'],[[it[_0x86413f(0x2c4)],{'useClass':ke}]]);}},Yt(exports[_0x409d2e(0x2a1)],_0x409d2e(0x1e5),_0x409d2e(0x260)),exports[_0x409d2e(0x2a1)]=zt([A[_0x409d2e(0x236)](st['UniverCollaborationClientPlugin']),Ne(0x1,A[_0x409d2e(0x25d)]),Ne(0x2,A[_0x409d2e(0x1db)]),Ne(0x3,A[_0x409d2e(0x1ce)](A['Injector']))],exports[_0x409d2e(0x2a1)]);var Kt=Object['getOwnPropertyDescriptor'],Xt=(_0x34aab2,_0x1e966d,_0x304b1d,_0x59a45d)=>{const _0xa35a00=_0x409d2e;for(var _0x64ca4e=_0x59a45d>0x1?void 0x0:_0x59a45d?Kt(_0x1e966d,_0x304b1d):_0x1e966d,_0x4dbbf5=_0x34aab2[_0xa35a00(0x2a4)]-0x1,_0x30806f;_0x4dbbf5>=0x0;_0x4dbbf5--)(_0x30806f=_0x34aab2[_0x4dbbf5])&&(_0x64ca4e=_0x30806f(_0x64ca4e)||_0x64ca4e);return _0x64ca4e;},ne=(_0x5cf7b4,_0x3f2c69)=>(_0x1dc561,_0x544192)=>_0x3f2c69(_0x1dc561,_0x544192,_0x5cf7b4);exports['NodeCollaborationSocketService']=class extends st[_0x409d2e(0x2b8)]{constructor(_0x3e4e98,_0x269b6e,_0x42e531,_0x5005f4,_0x27cd71){const _0x3a77a4=_0x409d2e;super(_0x3e4e98,_0x269b6e,_0x42e531,_0x5005f4,_0x27cd71);const _0x592ec3=this[_0x3a77a4(0x23e)]['getConfig'](fe);this[_0x3a77a4(0x38c)][_0x3a77a4(0x2da)]({'interceptor':(_0x1333fe,_0xf2833c)=>{const _0xd085bb=_0x3a77a4;var _0x410697;const _0x5c655e=_0x1333fe[_0xd085bb(0x24e)];return(_0x410697=_0x592ec3==null?void 0x0:_0x592ec3[_0xd085bb(0x1e4)])!=null&&_0x410697[_0xd085bb(0x378)]&&_0x5c655e[_0xd085bb(0x276)](_0xd085bb(0x1e2),_0x592ec3[_0xd085bb(0x1e4)]['cookie']),_0xf2833c(_0x1333fe);}});}async[_0x409d2e(0x356)](_0x59e4ec){return this['_doCreateSocket'](_0x59e4ec);}},exports[_0x409d2e(0x34c)]=Xt([ne(0x0,A[_0x409d2e(0x1ce)](A['Injector'])),ne(0x1,A[_0x409d2e(0x1ce)](it[_0x409d2e(0x2ca)])),ne(0x2,A[_0x409d2e(0x1db)]),ne(0x3,A[_0x409d2e(0x25d)]),ne(0x4,Ot[_0x409d2e(0x24b)])],exports[_0x409d2e(0x34c)]),exports[_0x409d2e(0x2f9)]=fe;