@univerjs-pro/collaboration-client-node 0.8.0-nightly.202505301607 → 0.8.0-nightly.202505311606

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 _0x5ab958=_0x147c;(function(_0x2859e1,_0x2b5652){const _0x8983d2=_0x147c,_0x4d5e94=_0x2859e1();while(!![]){try{const _0x385b3e=parseInt(_0x8983d2(0x1ad))/0x1*(-parseInt(_0x8983d2(0x1de))/0x2)+parseInt(_0x8983d2(0x215))/0x3+-parseInt(_0x8983d2(0x143))/0x4+parseInt(_0x8983d2(0x13e))/0x5+parseInt(_0x8983d2(0x225))/0x6+-parseInt(_0x8983d2(0x11c))/0x7+parseInt(_0x8983d2(0xd0))/0x8*(-parseInt(_0x8983d2(0x11a))/0x9);if(_0x385b3e===_0x2b5652)break;else _0x4d5e94['push'](_0x4d5e94['shift']());}catch(_0xfeb9e5){_0x4d5e94['push'](_0x4d5e94['shift']());}}}(_0x581b,0x24b7f));Object[_0x5ab958(0x85)](exports,Symbol[_0x5ab958(0xdb)],{'value':_0x5ab958(0x1cc)});const st=require(_0x5ab958(0x206)),A=require(_0x5ab958(0x17e)),it=require(_0x5ab958(0x22b)),V=require('rxjs'),nt=require(_0x5ab958(0x112)),vt=require(_0x5ab958(0x157)),ot=require(_0x5ab958(0x105)),St=require(_0x5ab958(0x1c9)),Et=require(_0x5ab958(0x20a)),Le=require(_0x5ab958(0x11e)),oe=require(_0x5ab958(0x8c)),xt=require(_0x5ab958(0x1d9)),bt=require(_0x5ab958(0x224)),wt=require(_0x5ab958(0x1a3)),Ot=require(_0x5ab958(0x15a)),fe='collaboration-client-node.config',Ct={'customHeaders':{}};function Tt(_0x5a1cc9){const _0x468b0b=_0x5ab958;return _0x5a1cc9&&_0x5a1cc9[_0x468b0b(0x127)]&&Object[_0x468b0b(0x232)]['hasOwnProperty'][_0x468b0b(0xcd)](_0x5a1cc9,'default')?_0x5a1cc9[_0x468b0b(0xf2)]:_0x5a1cc9;}function at(_0x2a4976){const _0x26eb33=_0x5ab958;if(Object[_0x26eb33(0x232)]['hasOwnProperty'][_0x26eb33(0xcd)](_0x2a4976,_0x26eb33(0x127)))return _0x2a4976;var _0x51ad20=_0x2a4976['default'];if(typeof _0x51ad20==_0x26eb33(0x193)){var _0x54f781=function _0x4f5624(){const _0x5da1f5=_0x26eb33;return this instanceof _0x4f5624?Reflect['construct'](_0x51ad20,arguments,this[_0x5da1f5(0x1ac)]):_0x51ad20['apply'](this,arguments);};_0x54f781[_0x26eb33(0x232)]=_0x51ad20[_0x26eb33(0x232)];}else _0x54f781={};return Object['defineProperty'](_0x54f781,_0x26eb33(0x127),{'value':!0x0}),Object[_0x26eb33(0x14f)](_0x2a4976)[_0x26eb33(0x1f5)](function(_0x2fb370){const _0x46988f=_0x26eb33;var _0x2ada93=Object['getOwnPropertyDescriptor'](_0x2a4976,_0x2fb370);Object[_0x46988f(0x85)](_0x54f781,_0x2fb370,_0x2ada93[_0x46988f(0xaf)]?_0x2ada93:{'enumerable':!0x0,'get':function(){return _0x2a4976[_0x2fb370];}});}),_0x54f781;}var se={'exports':{}},ge,Ge;function H(){const _0x22f1e7=_0x5ab958;if(Ge)return ge;Ge=0x1;const _0x38c96a=[_0x22f1e7(0x10e),'arraybuffer','fragments'],_0x582d7b=typeof Blob<'u';return _0x582d7b&&_0x38c96a[_0x22f1e7(0x70)]('blob'),ge={'BINARY_TYPES':_0x38c96a,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':_0x22f1e7(0x181),'hasBlob':_0x582d7b,'kForOnEventAttribute':Symbol(_0x22f1e7(0x1ca)),'kListener':Symbol(_0x22f1e7(0xca)),'kStatusCode':Symbol(_0x22f1e7(0x110)),'kWebSocket':Symbol(_0x22f1e7(0xd4)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x5ab958(0x1a0)](Object[_0x5ab958(0x85)]({'__proto__':null,'default':Nt},Symbol['toStringTag'],{'value':'Module'})),Lt=at(kt);var Ve;function ce(){const _0xbda2fc=_0x5ab958;if(Ve)return se[_0xbda2fc(0xe7)];Ve=0x1;const {EMPTY_BUFFER:_0x21508a}=H(),_0x2eea88=Buffer[Symbol[_0xbda2fc(0x1e8)]];function _0x3d9ab9(_0x3916cd,_0x4f8a99){const _0x23df9f=_0xbda2fc;if(_0x3916cd[_0x23df9f(0x1d3)]===0x0)return _0x21508a;if(_0x3916cd['length']===0x1)return _0x3916cd[0x0];const _0xc8bdb7=Buffer[_0x23df9f(0x84)](_0x4f8a99);let _0x3093b9=0x0;for(let _0x61cbb7=0x0;_0x61cbb7<_0x3916cd[_0x23df9f(0x1d3)];_0x61cbb7++){const _0x1b420f=_0x3916cd[_0x61cbb7];_0xc8bdb7['set'](_0x1b420f,_0x3093b9),_0x3093b9+=_0x1b420f[_0x23df9f(0x1d3)];}return _0x3093b9<_0x4f8a99?new _0x2eea88(_0xc8bdb7[_0x23df9f(0x1a3)],_0xc8bdb7[_0x23df9f(0x106)],_0x3093b9):_0xc8bdb7;}function _0xab2242(_0x26c83f,_0x529c23,_0xa85c32,_0x3b1be7,_0x3c5059){for(let _0x179d68=0x0;_0x179d68<_0x3c5059;_0x179d68++)_0xa85c32[_0x3b1be7+_0x179d68]=_0x26c83f[_0x179d68]^_0x529c23[_0x179d68&0x3];}function _0x2f5123(_0x231243,_0x32e47e){const _0x5d73c9=_0xbda2fc;for(let _0x57e7a1=0x0;_0x57e7a1<_0x231243[_0x5d73c9(0x1d3)];_0x57e7a1++)_0x231243[_0x57e7a1]^=_0x32e47e[_0x57e7a1&0x3];}function _0x589f2b(_0x398af8){const _0x1287cb=_0xbda2fc;return _0x398af8[_0x1287cb(0x1d3)]===_0x398af8[_0x1287cb(0x1a3)][_0x1287cb(0x95)]?_0x398af8[_0x1287cb(0x1a3)]:_0x398af8[_0x1287cb(0x1a3)][_0x1287cb(0x115)](_0x398af8[_0x1287cb(0x106)],_0x398af8[_0x1287cb(0x106)]+_0x398af8['length']);}function _0x14ed52(_0x5653c2){const _0xed490=_0xbda2fc;if(_0x14ed52[_0xed490(0x180)]=!0x0,Buffer[_0xed490(0x6b)](_0x5653c2))return _0x5653c2;let _0x742203;return _0x5653c2 instanceof ArrayBuffer?_0x742203=new _0x2eea88(_0x5653c2):ArrayBuffer[_0xed490(0x1fb)](_0x5653c2)?_0x742203=new _0x2eea88(_0x5653c2[_0xed490(0x1a3)],_0x5653c2[_0xed490(0x106)],_0x5653c2[_0xed490(0x95)]):(_0x742203=Buffer[_0xed490(0xb0)](_0x5653c2),_0x14ed52['readOnly']=!0x1),_0x742203;}if(se['exports']={'concat':_0x3d9ab9,'mask':_0xab2242,'toArrayBuffer':_0x589f2b,'toBuffer':_0x14ed52,'unmask':_0x2f5123},!process[_0xbda2fc(0x205)]['WS_NO_BUFFER_UTIL'])try{const _0x3f563d=Lt;se[_0xbda2fc(0xe7)][_0xbda2fc(0x1ba)]=function(_0x562e58,_0x26dd07,_0x2ead61,_0x46c6b4,_0x373a92){_0x373a92<0x30?_0xab2242(_0x562e58,_0x26dd07,_0x2ead61,_0x46c6b4,_0x373a92):_0x3f563d['mask'](_0x562e58,_0x26dd07,_0x2ead61,_0x46c6b4,_0x373a92);},se[_0xbda2fc(0xe7)][_0xbda2fc(0x12e)]=function(_0x324297,_0x13c565){const _0x3d03ba=_0xbda2fc;_0x324297[_0x3d03ba(0x1d3)]<0x20?_0x2f5123(_0x324297,_0x13c565):_0x3f563d[_0x3d03ba(0x12e)](_0x324297,_0x13c565);};}catch{}return se[_0xbda2fc(0xe7)];}var ye,He;function Pt(){const _0xde969f=_0x5ab958;if(He)return ye;He=0x1;const _0x29d89f=Symbol(_0xde969f(0x22c)),_0x279963=Symbol(_0xde969f(0x208));class _0x5972c6{constructor(_0x237fa9){const _0x2acd69=_0xde969f;this[_0x29d89f]=()=>{const _0x39228c=_0x147c;this[_0x39228c(0x97)]--,this[_0x279963]();},this[_0x2acd69(0x13d)]=_0x237fa9||0x1/0x0,this[_0x2acd69(0xda)]=[],this['pending']=0x0;}[_0xde969f(0xb2)](_0x455649){const _0x16e469=_0xde969f;this[_0x16e469(0xda)][_0x16e469(0x70)](_0x455649),this[_0x279963]();}[_0x279963](){const _0x728882=_0xde969f;if(this[_0x728882(0x97)]!==this[_0x728882(0x13d)]&&this[_0x728882(0xda)][_0x728882(0x1d3)]){const _0x95ce4a=this['jobs']['shift']();this['pending']++,_0x95ce4a(this[_0x29d89f]);}}}return ye=_0x5972c6,ye;}function _0x147c(_0x5d4c85,_0x1bd718){const _0x581be2=_0x581b();return _0x147c=function(_0x147c8a,_0x1a915a){_0x147c8a=_0x147c8a-0x6a;let _0x49017c=_0x581be2[_0x147c8a];return _0x49017c;},_0x147c(_0x5d4c85,_0x1bd718);}var ve,ze;function he(){const _0x498c44=_0x5ab958;if(ze)return ve;ze=0x1;const _0x57d724=bt,_0x485f1d=ce(),_0x452b59=Pt(),{kStatusCode:_0x56df91}=H(),_0x144cd0=Buffer[Symbol['species']],_0x57d9c9=Buffer[_0x498c44(0xb0)]([0x0,0x0,0xff,0xff]),_0xf8278c=Symbol(_0x498c44(0xdd)),_0x4a3861=Symbol(_0x498c44(0x195)),_0x208e84=Symbol('callback'),_0x5129f1=Symbol('buffers'),_0x431219=Symbol('error');let _0x480ec8;class _0x4eee68{constructor(_0xe8d10d,_0x1be930,_0x2270b0){const _0x52666c=_0x498c44;if(this[_0x52666c(0xc9)]=_0x2270b0|0x0,this['_options']=_0xe8d10d||{},this['_threshold']=this[_0x52666c(0x14a)][_0x52666c(0x18f)]!==void 0x0?this[_0x52666c(0x14a)][_0x52666c(0x18f)]:0x400,this[_0x52666c(0x122)]=!!_0x1be930,this[_0x52666c(0x91)]=null,this[_0x52666c(0x6a)]=null,this['params']=null,!_0x480ec8){const _0x4ba160=this[_0x52666c(0x14a)][_0x52666c(0x94)]!==void 0x0?this[_0x52666c(0x14a)][_0x52666c(0x94)]:0xa;_0x480ec8=new _0x452b59(_0x4ba160);}}static get[_0x498c44(0x79)](){return'permessage-deflate';}[_0x498c44(0x118)](){const _0xb47a25=_0x498c44,_0x4c7e4e={};return this['_options']['serverNoContextTakeover']&&(_0x4c7e4e[_0xb47a25(0x184)]=!0x0),this['_options'][_0xb47a25(0x1af)]&&(_0x4c7e4e[_0xb47a25(0x145)]=!0x0),this['_options'][_0xb47a25(0x213)]&&(_0x4c7e4e[_0xb47a25(0x22a)]=this[_0xb47a25(0x14a)][_0xb47a25(0x213)]),this['_options']['clientMaxWindowBits']?_0x4c7e4e['client_max_window_bits']=this[_0xb47a25(0x14a)][_0xb47a25(0x1d0)]:this[_0xb47a25(0x14a)][_0xb47a25(0x1d0)]==null&&(_0x4c7e4e[_0xb47a25(0xcf)]=!0x0),_0x4c7e4e;}[_0x498c44(0xfc)](_0x92a130){const _0x2d939c=_0x498c44;return _0x92a130=this[_0x2d939c(0x1e9)](_0x92a130),this[_0x2d939c(0x204)]=this[_0x2d939c(0x122)]?this[_0x2d939c(0x6d)](_0x92a130):this['acceptAsClient'](_0x92a130),this[_0x2d939c(0x204)];}[_0x498c44(0x182)](){const _0x318b96=_0x498c44;if(this[_0x318b96(0x6a)]&&(this[_0x318b96(0x6a)][_0x318b96(0x227)](),this[_0x318b96(0x6a)]=null),this[_0x318b96(0x91)]){const _0xf9ff7c=this[_0x318b96(0x91)][_0x208e84];this[_0x318b96(0x91)][_0x318b96(0x227)](),this[_0x318b96(0x91)]=null,_0xf9ff7c&&_0xf9ff7c(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}['acceptAsServer'](_0x50ca4a){const _0x30d583=_0x498c44,_0x1a3095=this[_0x30d583(0x14a)],_0x2676ce=_0x50ca4a[_0x30d583(0x207)](_0x4ad676=>!(_0x1a3095[_0x30d583(0x114)]===!0x1&&_0x4ad676[_0x30d583(0x184)]||_0x4ad676[_0x30d583(0x22a)]&&(_0x1a3095[_0x30d583(0x213)]===!0x1||typeof _0x1a3095[_0x30d583(0x213)]==_0x30d583(0x15b)&&_0x1a3095[_0x30d583(0x213)]>_0x4ad676[_0x30d583(0x22a)])||typeof _0x1a3095[_0x30d583(0x1d0)]=='number'&&!_0x4ad676[_0x30d583(0xcf)]));if(!_0x2676ce)throw new Error(_0x30d583(0xc7));return _0x1a3095['serverNoContextTakeover']&&(_0x2676ce[_0x30d583(0x184)]=!0x0),_0x1a3095[_0x30d583(0x1af)]&&(_0x2676ce[_0x30d583(0x145)]=!0x0),typeof _0x1a3095['serverMaxWindowBits']=='number'&&(_0x2676ce[_0x30d583(0x22a)]=_0x1a3095[_0x30d583(0x213)]),typeof _0x1a3095[_0x30d583(0x1d0)]=='number'?_0x2676ce[_0x30d583(0xcf)]=_0x1a3095['clientMaxWindowBits']:(_0x2676ce['client_max_window_bits']===!0x0||_0x1a3095[_0x30d583(0x1d0)]===!0x1)&&delete _0x2676ce[_0x30d583(0xcf)],_0x2676ce;}[_0x498c44(0x76)](_0x14b36d){const _0x1d7b37=_0x498c44,_0x3388a8=_0x14b36d[0x0];if(this[_0x1d7b37(0x14a)]['clientNoContextTakeover']===!0x1&&_0x3388a8['client_no_context_takeover'])throw new Error(_0x1d7b37(0x20f));if(!_0x3388a8[_0x1d7b37(0xcf)])typeof this[_0x1d7b37(0x14a)][_0x1d7b37(0x1d0)]==_0x1d7b37(0x15b)&&(_0x3388a8[_0x1d7b37(0xcf)]=this[_0x1d7b37(0x14a)][_0x1d7b37(0x1d0)]);else{if(this[_0x1d7b37(0x14a)][_0x1d7b37(0x1d0)]===!0x1||typeof this['_options'][_0x1d7b37(0x1d0)]=='number'&&_0x3388a8[_0x1d7b37(0xcf)]>this[_0x1d7b37(0x14a)][_0x1d7b37(0x1d0)])throw new Error(_0x1d7b37(0x99));}return _0x3388a8;}[_0x498c44(0x1e9)](_0x3ebb26){const _0x383132=_0x498c44;return _0x3ebb26[_0x383132(0x1f5)](_0x5dc440=>{const _0x4a8e1c=_0x383132;Object[_0x4a8e1c(0x14f)](_0x5dc440)[_0x4a8e1c(0x1f5)](_0x5487d7=>{const _0x51fa66=_0x4a8e1c;let _0x5e73f6=_0x5dc440[_0x5487d7];if(_0x5e73f6[_0x51fa66(0x1d3)]>0x1)throw new Error(_0x51fa66(0x229)+_0x5487d7+_0x51fa66(0x132));if(_0x5e73f6=_0x5e73f6[0x0],_0x5487d7==='client_max_window_bits'){if(_0x5e73f6!==!0x0){const _0x1de721=+_0x5e73f6;if(!Number[_0x51fa66(0x162)](_0x1de721)||_0x1de721<0x8||_0x1de721>0xf)throw new TypeError(_0x51fa66(0x141)+_0x5487d7+_0x51fa66(0x21a)+_0x5e73f6);_0x5e73f6=_0x1de721;}else{if(!this['_isServer'])throw new TypeError(_0x51fa66(0x141)+_0x5487d7+_0x51fa66(0x21a)+_0x5e73f6);}}else{if(_0x5487d7===_0x51fa66(0x22a)){const _0x4ebd59=+_0x5e73f6;if(!Number[_0x51fa66(0x162)](_0x4ebd59)||_0x4ebd59<0x8||_0x4ebd59>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x5487d7+_0x51fa66(0x21a)+_0x5e73f6);_0x5e73f6=_0x4ebd59;}else{if(_0x5487d7===_0x51fa66(0x145)||_0x5487d7===_0x51fa66(0x184)){if(_0x5e73f6!==!0x0)throw new TypeError(_0x51fa66(0x141)+_0x5487d7+_0x51fa66(0x21a)+_0x5e73f6);}else throw new Error(_0x51fa66(0x230)+_0x5487d7+'\x22');}}_0x5dc440[_0x5487d7]=_0x5e73f6;});}),_0x3ebb26;}['decompress'](_0x384789,_0x125d8b,_0x2d888f){_0x480ec8['add'](_0xb56377=>{const _0xdb1588=_0x147c;this[_0xdb1588(0xf4)](_0x384789,_0x125d8b,(_0xc14b12,_0xfdc226)=>{_0xb56377(),_0x2d888f(_0xc14b12,_0xfdc226);});});}[_0x498c44(0xa4)](_0x3332df,_0x52746c,_0x3883c1){const _0x5380d2=_0x498c44;_0x480ec8[_0x5380d2(0xb2)](_0x49d2c9=>{const _0x5d82cc=_0x5380d2;this[_0x5d82cc(0x11b)](_0x3332df,_0x52746c,(_0x27fc7c,_0x5956b8)=>{_0x49d2c9(),_0x3883c1(_0x27fc7c,_0x5956b8);});});}[_0x498c44(0xf4)](_0x1dfaab,_0x3a1c75,_0x81a83c){const _0x51d964=_0x498c44,_0x4fa697=this['_isServer']?'client':_0x51d964(0x1c8);if(!this[_0x51d964(0x6a)]){const _0x35863c=_0x4fa697+_0x51d964(0xa8),_0x4f3ad3=typeof this[_0x51d964(0x204)][_0x35863c]!=_0x51d964(0x15b)?_0x57d724['Z_DEFAULT_WINDOWBITS']:this['params'][_0x35863c];this['_inflate']=_0x57d724[_0x51d964(0x212)]({...this[_0x51d964(0x14a)]['zlibInflateOptions'],'windowBits':_0x4f3ad3}),this[_0x51d964(0x6a)][_0xf8278c]=this,this[_0x51d964(0x6a)][_0x4a3861]=0x0,this[_0x51d964(0x6a)][_0x5129f1]=[],this['_inflate']['on'](_0x51d964(0xe0),_0x442459),this[_0x51d964(0x6a)]['on']('data',_0x321561);}this[_0x51d964(0x6a)][_0x208e84]=_0x81a83c,this[_0x51d964(0x6a)][_0x51d964(0x189)](_0x1dfaab),_0x3a1c75&&this[_0x51d964(0x6a)][_0x51d964(0x189)](_0x57d9c9),this[_0x51d964(0x6a)][_0x51d964(0x17f)](()=>{const _0x5a5df2=_0x51d964,_0x198f04=this['_inflate'][_0x431219];if(_0x198f04){this[_0x5a5df2(0x6a)][_0x5a5df2(0x227)](),this[_0x5a5df2(0x6a)]=null,_0x81a83c(_0x198f04);return;}const _0x1ac21=_0x485f1d['concat'](this[_0x5a5df2(0x6a)][_0x5129f1],this[_0x5a5df2(0x6a)][_0x4a3861]);this[_0x5a5df2(0x6a)][_0x5a5df2(0x6f)][_0x5a5df2(0x82)]?(this[_0x5a5df2(0x6a)][_0x5a5df2(0x227)](),this[_0x5a5df2(0x6a)]=null):(this[_0x5a5df2(0x6a)][_0x4a3861]=0x0,this['_inflate'][_0x5129f1]=[],_0x3a1c75&&this[_0x5a5df2(0x204)][_0x4fa697+_0x5a5df2(0x1fc)]&&this['_inflate'][_0x5a5df2(0xaa)]()),_0x81a83c(null,_0x1ac21);});}[_0x498c44(0x11b)](_0x1c1a20,_0x5e931b,_0x440ab9){const _0x1c96ee=_0x498c44,_0x57aa84=this[_0x1c96ee(0x122)]?_0x1c96ee(0x1c8):_0x1c96ee(0x1e5);if(!this[_0x1c96ee(0x91)]){const _0x5442c4=_0x57aa84+_0x1c96ee(0xa8),_0x55710d=typeof this[_0x1c96ee(0x204)][_0x5442c4]!=_0x1c96ee(0x15b)?_0x57d724[_0x1c96ee(0x12a)]:this[_0x1c96ee(0x204)][_0x5442c4];this[_0x1c96ee(0x91)]=_0x57d724[_0x1c96ee(0x19c)]({...this[_0x1c96ee(0x14a)]['zlibDeflateOptions'],'windowBits':_0x55710d}),this['_deflate'][_0x4a3861]=0x0,this[_0x1c96ee(0x91)][_0x5129f1]=[],this['_deflate']['on'](_0x1c96ee(0x19d),_0x1276a2);}this[_0x1c96ee(0x91)][_0x208e84]=_0x440ab9,this[_0x1c96ee(0x91)]['write'](_0x1c1a20),this['_deflate'][_0x1c96ee(0x17f)](_0x57d724[_0x1c96ee(0x1d6)],()=>{const _0x193e0f=_0x1c96ee;if(!this[_0x193e0f(0x91)])return;let _0x446fda=_0x485f1d[_0x193e0f(0xab)](this[_0x193e0f(0x91)][_0x5129f1],this[_0x193e0f(0x91)][_0x4a3861]);_0x5e931b&&(_0x446fda=new _0x144cd0(_0x446fda[_0x193e0f(0x1a3)],_0x446fda['byteOffset'],_0x446fda[_0x193e0f(0x1d3)]-0x4)),this[_0x193e0f(0x91)][_0x208e84]=null,this[_0x193e0f(0x91)][_0x4a3861]=0x0,this['_deflate'][_0x5129f1]=[],_0x5e931b&&this[_0x193e0f(0x204)][_0x57aa84+_0x193e0f(0x1fc)]&&this[_0x193e0f(0x91)][_0x193e0f(0xaa)](),_0x440ab9(null,_0x446fda);});}}ve=_0x4eee68;function _0x1276a2(_0x5c9b31){const _0x2cf4ba=_0x498c44;this[_0x5129f1][_0x2cf4ba(0x70)](_0x5c9b31),this[_0x4a3861]+=_0x5c9b31[_0x2cf4ba(0x1d3)];}function _0x321561(_0x3a7119){const _0x564b34=_0x498c44;if(this[_0x4a3861]+=_0x3a7119[_0x564b34(0x1d3)],this[_0xf8278c]['_maxPayload']<0x1||this[_0x4a3861]<=this[_0xf8278c][_0x564b34(0xc9)]){this[_0x5129f1][_0x564b34(0x70)](_0x3a7119);return;}this[_0x431219]=new RangeError(_0x564b34(0x9b)),this[_0x431219]['code']='WS_ERR_UNSUPPORTED_MESSAGE_LENGTH',this[_0x431219][_0x56df91]=0x3f1,this['removeListener'](_0x564b34(0x19d),_0x321561),this[_0x564b34(0xaa)]();}function _0x442459(_0x2e4f72){const _0x54a8e8=_0x498c44;if(this[_0xf8278c][_0x54a8e8(0x6a)]=null,this[_0x431219]){this[_0x208e84](this[_0x431219]);return;}_0x2e4f72[_0x56df91]=0x3ef,this[_0x208e84](_0x2e4f72);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object['freeze'](Object[_0x5ab958(0x85)]({'__proto__':null,'default':Dt},Symbol[_0x5ab958(0xdb)],{'value':'Module'})),Bt=at(Rt);var Ye;function ae(){const _0x427aa8=_0x5ab958;if(Ye)return ie[_0x427aa8(0xe7)];Ye=0x1;const {isUtf8:_0x25dca5}=wt,{hasBlob:_0x22de04}=H(),_0x1d93e6=[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 _0x1c8138(_0x350cd3){return _0x350cd3>=0x3e8&&_0x350cd3<=0x3f6&&_0x350cd3!==0x3ec&&_0x350cd3!==0x3ed&&_0x350cd3!==0x3ee||_0x350cd3>=0xbb8&&_0x350cd3<=0x1387;}function _0x26c17a(_0x3a902f){const _0x14ad35=_0x427aa8,_0x142f16=_0x3a902f[_0x14ad35(0x1d3)];let _0x5031f8=0x0;for(;_0x5031f8<_0x142f16;)if((_0x3a902f[_0x5031f8]&0x80)===0x0)_0x5031f8++;else{if((_0x3a902f[_0x5031f8]&0xe0)===0xc0){if(_0x5031f8+0x1===_0x142f16||(_0x3a902f[_0x5031f8+0x1]&0xc0)!==0x80||(_0x3a902f[_0x5031f8]&0xfe)===0xc0)return!0x1;_0x5031f8+=0x2;}else{if((_0x3a902f[_0x5031f8]&0xf0)===0xe0){if(_0x5031f8+0x2>=_0x142f16||(_0x3a902f[_0x5031f8+0x1]&0xc0)!==0x80||(_0x3a902f[_0x5031f8+0x2]&0xc0)!==0x80||_0x3a902f[_0x5031f8]===0xe0&&(_0x3a902f[_0x5031f8+0x1]&0xe0)===0x80||_0x3a902f[_0x5031f8]===0xed&&(_0x3a902f[_0x5031f8+0x1]&0xe0)===0xa0)return!0x1;_0x5031f8+=0x3;}else{if((_0x3a902f[_0x5031f8]&0xf8)===0xf0){if(_0x5031f8+0x3>=_0x142f16||(_0x3a902f[_0x5031f8+0x1]&0xc0)!==0x80||(_0x3a902f[_0x5031f8+0x2]&0xc0)!==0x80||(_0x3a902f[_0x5031f8+0x3]&0xc0)!==0x80||_0x3a902f[_0x5031f8]===0xf0&&(_0x3a902f[_0x5031f8+0x1]&0xf0)===0x80||_0x3a902f[_0x5031f8]===0xf4&&_0x3a902f[_0x5031f8+0x1]>0x8f||_0x3a902f[_0x5031f8]>0xf4)return!0x1;_0x5031f8+=0x4;}else return!0x1;}}}return!0x0;}function _0x1a0822(_0x30b93a){const _0x38999a=_0x427aa8;return _0x22de04&&typeof _0x30b93a==_0x38999a(0x20b)&&typeof _0x30b93a[_0x38999a(0xf0)]=='function'&&typeof _0x30b93a[_0x38999a(0x9c)]==_0x38999a(0x219)&&typeof _0x30b93a[_0x38999a(0x8c)]==_0x38999a(0x193)&&(_0x30b93a[Symbol[_0x38999a(0xdb)]]===_0x38999a(0x125)||_0x30b93a[Symbol[_0x38999a(0xdb)]]===_0x38999a(0xf1));}if(ie[_0x427aa8(0xe7)]={'isBlob':_0x1a0822,'isValidStatusCode':_0x1c8138,'isValidUTF8':_0x26c17a,'tokenChars':_0x1d93e6},_0x25dca5)ie[_0x427aa8(0xe7)][_0x427aa8(0x92)]=function(_0x94e483){const _0x412de6=_0x427aa8;return _0x94e483[_0x412de6(0x1d3)]<0x18?_0x26c17a(_0x94e483):_0x25dca5(_0x94e483);};else{if(!process[_0x427aa8(0x205)]['WS_NO_UTF_8_VALIDATE'])try{const _0x5a36cd=Bt;ie['exports']['isValidUTF8']=function(_0x14d85a){return _0x14d85a['length']<0x20?_0x26c17a(_0x14d85a):_0x5a36cd(_0x14d85a);};}catch{}}return ie['exports'];}var Se,Ke;function lt(){const _0x46edc9=_0x5ab958;if(Ke)return Se;Ke=0x1;const {Writable:_0xfaa0a}=oe,_0x1cff71=he(),{BINARY_TYPES:_0x110a68,EMPTY_BUFFER:_0x9da1b3,kStatusCode:_0x494b33,kWebSocket:_0x983838}=H(),{concat:_0x2997f8,toArrayBuffer:_0x27f761,unmask:_0x1f60f7}=ce(),{isValidStatusCode:_0x117b36,isValidUTF8:_0x31e1e2}=ae(),_0x454404=Buffer[Symbol[_0x46edc9(0x1e8)]],_0x4f7e69=0x0,_0x41d632=0x1,_0x2f57ed=0x2,_0x44ea4c=0x3,_0x33f818=0x4,_0x5e329d=0x5,_0x6ff211=0x6;class _0x29431d extends _0xfaa0a{constructor(_0x598347={}){const _0x56b44e=_0x46edc9;super(),this[_0x56b44e(0xb9)]=_0x598347[_0x56b44e(0x221)]!==void 0x0?_0x598347['allowSynchronousEvents']:!0x0,this[_0x56b44e(0x144)]=_0x598347['binaryType']||_0x110a68[0x0],this['_extensions']=_0x598347[_0x56b44e(0xe8)]||{},this[_0x56b44e(0x122)]=!!_0x598347[_0x56b44e(0xec)],this[_0x56b44e(0xc9)]=_0x598347['maxPayload']|0x0,this['_skipUTF8Validation']=!!_0x598347[_0x56b44e(0x22d)],this[_0x983838]=void 0x0,this[_0x56b44e(0xeb)]=0x0,this[_0x56b44e(0x74)]=[],this[_0x56b44e(0xf9)]=!0x1,this[_0x56b44e(0x18e)]=0x0,this['_mask']=void 0x0,this['_fragmented']=0x0,this[_0x56b44e(0xae)]=!0x1,this[_0x56b44e(0x1cb)]=!0x1,this['_opcode']=0x0,this[_0x56b44e(0x1df)]=0x0,this[_0x56b44e(0x1aa)]=0x0,this[_0x56b44e(0x10c)]=[],this['_errored']=!0x1,this['_loop']=!0x1,this[_0x56b44e(0x1cf)]=_0x4f7e69;}[_0x46edc9(0x1f9)](_0x1cefb4,_0xa25ca2,_0xce786b){const _0x2ae9f6=_0x46edc9;if(this[_0x2ae9f6(0x164)]===0x8&&this[_0x2ae9f6(0x1cf)]==_0x4f7e69)return _0xce786b();this['_bufferedBytes']+=_0x1cefb4[_0x2ae9f6(0x1d3)],this[_0x2ae9f6(0x74)]['push'](_0x1cefb4),this[_0x2ae9f6(0xe9)](_0xce786b);}['consume'](_0x40e5d2){const _0x512d42=_0x46edc9;if(this[_0x512d42(0xeb)]-=_0x40e5d2,_0x40e5d2===this[_0x512d42(0x74)][0x0][_0x512d42(0x1d3)])return this['_buffers']['shift']();if(_0x40e5d2<this[_0x512d42(0x74)][0x0][_0x512d42(0x1d3)]){const _0x3cfee5=this[_0x512d42(0x74)][0x0];return this['_buffers'][0x0]=new _0x454404(_0x3cfee5[_0x512d42(0x1a3)],_0x3cfee5[_0x512d42(0x106)]+_0x40e5d2,_0x3cfee5[_0x512d42(0x1d3)]-_0x40e5d2),new _0x454404(_0x3cfee5[_0x512d42(0x1a3)],_0x3cfee5['byteOffset'],_0x40e5d2);}const _0x27f4f4=Buffer[_0x512d42(0x84)](_0x40e5d2);do{const _0x3c5360=this[_0x512d42(0x74)][0x0],_0x5df277=_0x27f4f4['length']-_0x40e5d2;_0x40e5d2>=_0x3c5360[_0x512d42(0x1d3)]?_0x27f4f4[_0x512d42(0x13f)](this[_0x512d42(0x74)]['shift'](),_0x5df277):(_0x27f4f4[_0x512d42(0x13f)](new Uint8Array(_0x3c5360[_0x512d42(0x1a3)],_0x3c5360[_0x512d42(0x106)],_0x40e5d2),_0x5df277),this[_0x512d42(0x74)][0x0]=new _0x454404(_0x3c5360['buffer'],_0x3c5360[_0x512d42(0x106)]+_0x40e5d2,_0x3c5360['length']-_0x40e5d2)),_0x40e5d2-=_0x3c5360[_0x512d42(0x1d3)];}while(_0x40e5d2>0x0);return _0x27f4f4;}[_0x46edc9(0xe9)](_0x236867){const _0x5bbf4d=_0x46edc9;this[_0x5bbf4d(0x8e)]=!0x0;do switch(this[_0x5bbf4d(0x1cf)]){case _0x4f7e69:this['getInfo'](_0x236867);break;case _0x41d632:this[_0x5bbf4d(0x8a)](_0x236867);break;case _0x2f57ed:this[_0x5bbf4d(0x9d)](_0x236867);break;case _0x44ea4c:this[_0x5bbf4d(0x21c)]();break;case _0x33f818:this['getData'](_0x236867);break;case _0x5e329d:case _0x6ff211:this[_0x5bbf4d(0x8e)]=!0x1;return;}while(this['_loop']);this['_errored']||_0x236867();}['getInfo'](_0x3d5e08){const _0x56057f=_0x46edc9;if(this[_0x56057f(0xeb)]<0x2){this[_0x56057f(0x8e)]=!0x1;return;}const _0x18bb85=this[_0x56057f(0xa2)](0x2);if((_0x18bb85[0x0]&0x30)!==0x0){const _0x13c462=this['createError'](RangeError,_0x56057f(0x1e0),!0x0,0x3ea,_0x56057f(0x120));_0x3d5e08(_0x13c462);return;}const _0x3eadec=(_0x18bb85[0x0]&0x40)===0x40;if(_0x3eadec&&!this[_0x56057f(0xe2)][_0x1cff71[_0x56057f(0x79)]]){const _0x56001f=this['createError'](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x56057f(0xed));_0x3d5e08(_0x56001f);return;}if(this['_fin']=(_0x18bb85[0x0]&0x80)===0x80,this[_0x56057f(0x164)]=_0x18bb85[0x0]&0xf,this[_0x56057f(0x18e)]=_0x18bb85[0x1]&0x7f,this[_0x56057f(0x164)]===0x0){if(_0x3eadec){const _0x15785f=this[_0x56057f(0xc2)](RangeError,_0x56057f(0x211),!0x0,0x3ea,_0x56057f(0xed));_0x3d5e08(_0x15785f);return;}if(!this[_0x56057f(0x156)]){const _0x303f4b=this[_0x56057f(0xc2)](RangeError,_0x56057f(0x220),!0x0,0x3ea,_0x56057f(0x196));_0x3d5e08(_0x303f4b);return;}this[_0x56057f(0x164)]=this[_0x56057f(0x156)];}else{if(this[_0x56057f(0x164)]===0x1||this['_opcode']===0x2){if(this[_0x56057f(0x156)]){const _0x23a9cf=this[_0x56057f(0xc2)](RangeError,_0x56057f(0x15c)+this[_0x56057f(0x164)],!0x0,0x3ea,_0x56057f(0x196));_0x3d5e08(_0x23a9cf);return;}this['_compressed']=_0x3eadec;}else{if(this['_opcode']>0x7&&this[_0x56057f(0x164)]<0xb){if(!this[_0x56057f(0x1cb)]){const _0x59f66b=this[_0x56057f(0xc2)](RangeError,_0x56057f(0x10f),!0x0,0x3ea,_0x56057f(0xd2));_0x3d5e08(_0x59f66b);return;}if(_0x3eadec){const _0xa05692=this['createError'](RangeError,_0x56057f(0x211),!0x0,0x3ea,_0x56057f(0xed));_0x3d5e08(_0xa05692);return;}if(this['_payloadLength']>0x7d||this['_opcode']===0x8&&this['_payloadLength']===0x1){const _0x409576=this[_0x56057f(0xc2)](RangeError,_0x56057f(0x1fe)+this[_0x56057f(0x18e)],!0x0,0x3ea,_0x56057f(0x177));_0x3d5e08(_0x409576);return;}}else{const _0x5d0f75=this[_0x56057f(0xc2)](RangeError,'invalid\x20opcode\x20'+this[_0x56057f(0x164)],!0x0,0x3ea,_0x56057f(0x196));_0x3d5e08(_0x5d0f75);return;}}}if(!this[_0x56057f(0x1cb)]&&!this[_0x56057f(0x156)]&&(this[_0x56057f(0x156)]=this[_0x56057f(0x164)]),this[_0x56057f(0xae)]=(_0x18bb85[0x1]&0x80)===0x80,this[_0x56057f(0x122)]){if(!this[_0x56057f(0xae)]){const _0xd5da57=this[_0x56057f(0xc2)](RangeError,_0x56057f(0x209),!0x0,0x3ea,'WS_ERR_EXPECTED_MASK');_0x3d5e08(_0xd5da57);return;}}else{if(this['_masked']){const _0x281798=this['createError'](RangeError,'MASK\x20must\x20be\x20clear',!0x0,0x3ea,_0x56057f(0xad));_0x3d5e08(_0x281798);return;}}this[_0x56057f(0x18e)]===0x7e?this[_0x56057f(0x1cf)]=_0x41d632:this['_payloadLength']===0x7f?this[_0x56057f(0x1cf)]=_0x2f57ed:this['haveLength'](_0x3d5e08);}[_0x46edc9(0x8a)](_0xcd689d){const _0x1288b0=_0x46edc9;if(this[_0x1288b0(0xeb)]<0x2){this[_0x1288b0(0x8e)]=!0x1;return;}this['_payloadLength']=this[_0x1288b0(0xa2)](0x2)['readUInt16BE'](0x0),this[_0x1288b0(0xc4)](_0xcd689d);}['getPayloadLength64'](_0x22c035){const _0x4053be=_0x46edc9;if(this[_0x4053be(0xeb)]<0x8){this[_0x4053be(0x8e)]=!0x1;return;}const _0x268ffa=this[_0x4053be(0xa2)](0x8),_0x4b8156=_0x268ffa[_0x4053be(0x1bc)](0x0);if(_0x4b8156>Math[_0x4053be(0x1f1)](0x2,0x15)-0x1){const _0x48fdff=this['createError'](RangeError,_0x4053be(0x1c3),!0x1,0x3f1,_0x4053be(0x15f));_0x22c035(_0x48fdff);return;}this[_0x4053be(0x18e)]=_0x4b8156*Math[_0x4053be(0x1f1)](0x2,0x20)+_0x268ffa['readUInt32BE'](0x4),this[_0x4053be(0xc4)](_0x22c035);}[_0x46edc9(0xc4)](_0x5dd1f2){const _0x824e53=_0x46edc9;if(this[_0x824e53(0x18e)]&&this[_0x824e53(0x164)]<0x8&&(this[_0x824e53(0x1df)]+=this['_payloadLength'],this[_0x824e53(0x1df)]>this[_0x824e53(0xc9)]&&this[_0x824e53(0xc9)]>0x0)){const _0x8572cc=this[_0x824e53(0xc2)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x824e53(0x1f4));_0x5dd1f2(_0x8572cc);return;}this['_masked']?this['_state']=_0x44ea4c:this[_0x824e53(0x1cf)]=_0x33f818;}[_0x46edc9(0x21c)](){const _0x1b3cf9=_0x46edc9;if(this['_bufferedBytes']<0x4){this[_0x1b3cf9(0x8e)]=!0x1;return;}this[_0x1b3cf9(0xbd)]=this[_0x1b3cf9(0xa2)](0x4),this[_0x1b3cf9(0x1cf)]=_0x33f818;}[_0x46edc9(0x222)](_0x169888){const _0x455723=_0x46edc9;let _0x53fb09=_0x9da1b3;if(this[_0x455723(0x18e)]){if(this[_0x455723(0xeb)]<this[_0x455723(0x18e)]){this['_loop']=!0x1;return;}_0x53fb09=this[_0x455723(0xa2)](this[_0x455723(0x18e)]),this[_0x455723(0xae)]&&(this['_mask'][0x0]|this[_0x455723(0xbd)][0x1]|this[_0x455723(0xbd)][0x2]|this[_0x455723(0xbd)][0x3])!==0x0&&_0x1f60f7(_0x53fb09,this[_0x455723(0xbd)]);}if(this[_0x455723(0x164)]>0x7){this[_0x455723(0x202)](_0x53fb09,_0x169888);return;}if(this[_0x455723(0xf9)]){this[_0x455723(0x1cf)]=_0x5e329d,this['decompress'](_0x53fb09,_0x169888);return;}_0x53fb09[_0x455723(0x1d3)]&&(this[_0x455723(0x1aa)]=this[_0x455723(0x1df)],this['_fragments'][_0x455723(0x70)](_0x53fb09)),this[_0x455723(0x1a9)](_0x169888);}[_0x46edc9(0x198)](_0x2ff388,_0x23274e){const _0x3e3f85=_0x46edc9;this[_0x3e3f85(0xe2)][_0x1cff71[_0x3e3f85(0x79)]][_0x3e3f85(0x198)](_0x2ff388,this[_0x3e3f85(0x1cb)],(_0x23b85e,_0x4892d5)=>{const _0x40a978=_0x3e3f85;if(_0x23b85e)return _0x23274e(_0x23b85e);if(_0x4892d5[_0x40a978(0x1d3)]){if(this[_0x40a978(0x1aa)]+=_0x4892d5['length'],this[_0x40a978(0x1aa)]>this[_0x40a978(0xc9)]&&this[_0x40a978(0xc9)]>0x0){const _0x535605=this[_0x40a978(0xc2)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x40a978(0x1f4));_0x23274e(_0x535605);return;}this[_0x40a978(0x10c)]['push'](_0x4892d5);}this[_0x40a978(0x1a9)](_0x23274e),this[_0x40a978(0x1cf)]===_0x4f7e69&&this['startLoop'](_0x23274e);});}['dataMessage'](_0x4ad949){const _0x271e79=_0x46edc9;if(!this[_0x271e79(0x1cb)]){this[_0x271e79(0x1cf)]=_0x4f7e69;return;}const _0x46829d=this[_0x271e79(0x1aa)],_0x1a1277=this[_0x271e79(0x10c)];if(this[_0x271e79(0x1df)]=0x0,this[_0x271e79(0x1aa)]=0x0,this[_0x271e79(0x156)]=0x0,this[_0x271e79(0x10c)]=[],this[_0x271e79(0x164)]===0x2){let _0x392620;this['_binaryType']==='nodebuffer'?_0x392620=_0x2997f8(_0x1a1277,_0x46829d):this[_0x271e79(0x144)]===_0x271e79(0xbf)?_0x392620=_0x27f761(_0x2997f8(_0x1a1277,_0x46829d)):this[_0x271e79(0x144)]===_0x271e79(0xb6)?_0x392620=new Blob(_0x1a1277):_0x392620=_0x1a1277,this['_allowSynchronousEvents']?(this[_0x271e79(0x146)](_0x271e79(0x133),_0x392620,!0x0),this[_0x271e79(0x1cf)]=_0x4f7e69):(this[_0x271e79(0x1cf)]=_0x6ff211,setImmediate(()=>{const _0x31977d=_0x271e79;this[_0x31977d(0x146)](_0x31977d(0x133),_0x392620,!0x0),this[_0x31977d(0x1cf)]=_0x4f7e69,this[_0x31977d(0xe9)](_0x4ad949);}));}else{const _0x1b4e22=_0x2997f8(_0x1a1277,_0x46829d);if(!this[_0x271e79(0x231)]&&!_0x31e1e2(_0x1b4e22)){const _0x521476=this[_0x271e79(0xc2)](Error,_0x271e79(0x1a6),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x4ad949(_0x521476);return;}this[_0x271e79(0x1cf)]===_0x5e329d||this[_0x271e79(0xb9)]?(this[_0x271e79(0x146)](_0x271e79(0x133),_0x1b4e22,!0x1),this[_0x271e79(0x1cf)]=_0x4f7e69):(this['_state']=_0x6ff211,setImmediate(()=>{const _0x37935a=_0x271e79;this[_0x37935a(0x146)](_0x37935a(0x133),_0x1b4e22,!0x1),this[_0x37935a(0x1cf)]=_0x4f7e69,this[_0x37935a(0xe9)](_0x4ad949);}));}}[_0x46edc9(0x202)](_0x463280,_0x2f6c57){const _0x1cc039=_0x46edc9;if(this[_0x1cc039(0x164)]===0x8){if(_0x463280[_0x1cc039(0x1d3)]===0x0)this[_0x1cc039(0x8e)]=!0x1,this[_0x1cc039(0x146)]('conclude',0x3ed,_0x9da1b3),this[_0x1cc039(0x214)]();else{const _0x166d69=_0x463280[_0x1cc039(0x1ed)](0x0);if(!_0x117b36(_0x166d69)){const _0x4f3d80=this[_0x1cc039(0xc2)](RangeError,_0x1cc039(0xd8)+_0x166d69,!0x0,0x3ea,_0x1cc039(0x22e));_0x2f6c57(_0x4f3d80);return;}const _0x3b761a=new _0x454404(_0x463280['buffer'],_0x463280[_0x1cc039(0x106)]+0x2,_0x463280[_0x1cc039(0x1d3)]-0x2);if(!this[_0x1cc039(0x231)]&&!_0x31e1e2(_0x3b761a)){const _0x2ed85e=this[_0x1cc039(0xc2)](Error,_0x1cc039(0x1a6),!0x0,0x3ef,_0x1cc039(0x1be));_0x2f6c57(_0x2ed85e);return;}this[_0x1cc039(0x8e)]=!0x1,this[_0x1cc039(0x146)](_0x1cc039(0xfd),_0x166d69,_0x3b761a),this[_0x1cc039(0x214)]();}this[_0x1cc039(0x1cf)]=_0x4f7e69;return;}this[_0x1cc039(0xb9)]?(this['emit'](this['_opcode']===0x9?_0x1cc039(0x17c):_0x1cc039(0x174),_0x463280),this['_state']=_0x4f7e69):(this['_state']=_0x6ff211,setImmediate(()=>{const _0x4612fa=_0x1cc039;this[_0x4612fa(0x146)](this['_opcode']===0x9?_0x4612fa(0x17c):'pong',_0x463280),this[_0x4612fa(0x1cf)]=_0x4f7e69,this[_0x4612fa(0xe9)](_0x2f6c57);}));}[_0x46edc9(0xc2)](_0x5b4550,_0x242655,_0x335112,_0xd023c1,_0x5b6061){const _0x3122c6=_0x46edc9;this[_0x3122c6(0x8e)]=!0x1,this[_0x3122c6(0x8b)]=!0x0;const _0xc41e3d=new _0x5b4550(_0x335112?'Invalid\x20WebSocket\x20frame:\x20'+_0x242655:_0x242655);return Error[_0x3122c6(0x21e)](_0xc41e3d,this['createError']),_0xc41e3d['code']=_0x5b6061,_0xc41e3d[_0x494b33]=_0xd023c1,_0xc41e3d;}}return Se=_0x29431d,Se;}var Ee,Xe;function ft(){const _0x213274=_0x5ab958;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x306ded}=oe,{randomFillSync:_0x48646d}=Le,_0x184c2d=he(),{EMPTY_BUFFER:_0x544724,kWebSocket:_0xff3196,NOOP:_0x1d51ac}=H(),{isBlob:_0x164794,isValidStatusCode:_0x5bb13e}=ae(),{mask:_0x2412d8,toBuffer:_0x4b08a2}=ce(),_0x141e03=Symbol(_0x213274(0xe3)),_0x136a7c=Buffer[_0x213274(0x6c)](0x4),_0x348bf=0x8*0x400;let _0x2a6b36,_0x53ea0d=_0x348bf;const _0x185c2c=0x0,_0x5049a9=0x1,_0x2b8735=0x2;class _0x35ad89{constructor(_0x485439,_0xbcec38,_0x558dc5){const _0x23e0fb=_0x213274;this[_0x23e0fb(0xe2)]=_0xbcec38||{},_0x558dc5&&(this['_generateMask']=_0x558dc5,this[_0x23e0fb(0x1ff)]=Buffer[_0x23e0fb(0x6c)](0x4)),this['_socket']=_0x485439,this['_firstFragment']=!0x0,this['_compress']=!0x1,this['_bufferedBytes']=0x0,this[_0x23e0fb(0xc8)]=[],this[_0x23e0fb(0x1cf)]=_0x185c2c,this[_0x23e0fb(0xa6)]=_0x1d51ac,this[_0xff3196]=void 0x0;}static[_0x213274(0xcb)](_0x2cdd08,_0x5ba5ab){const _0x58e928=_0x213274;let _0x199943,_0x46e70b=!0x1,_0x3ec069=0x2,_0x1ea7fd=!0x1;_0x5ba5ab['mask']&&(_0x199943=_0x5ba5ab[_0x58e928(0x6e)]||_0x136a7c,_0x5ba5ab[_0x58e928(0x21d)]?_0x5ba5ab['generateMask'](_0x199943):(_0x53ea0d===_0x348bf&&(_0x2a6b36===void 0x0&&(_0x2a6b36=Buffer['alloc'](_0x348bf)),_0x48646d(_0x2a6b36,0x0,_0x348bf),_0x53ea0d=0x0),_0x199943[0x0]=_0x2a6b36[_0x53ea0d++],_0x199943[0x1]=_0x2a6b36[_0x53ea0d++],_0x199943[0x2]=_0x2a6b36[_0x53ea0d++],_0x199943[0x3]=_0x2a6b36[_0x53ea0d++]),_0x1ea7fd=(_0x199943[0x0]|_0x199943[0x1]|_0x199943[0x2]|_0x199943[0x3])===0x0,_0x3ec069=0x6);let _0x2e7fd2;typeof _0x2cdd08=='string'?(!_0x5ba5ab['mask']||_0x1ea7fd)&&_0x5ba5ab[_0x141e03]!==void 0x0?_0x2e7fd2=_0x5ba5ab[_0x141e03]:(_0x2cdd08=Buffer[_0x58e928(0xb0)](_0x2cdd08),_0x2e7fd2=_0x2cdd08[_0x58e928(0x1d3)]):(_0x2e7fd2=_0x2cdd08[_0x58e928(0x1d3)],_0x46e70b=_0x5ba5ab[_0x58e928(0x1ba)]&&_0x5ba5ab[_0x58e928(0x180)]&&!_0x1ea7fd);let _0x349fe9=_0x2e7fd2;_0x2e7fd2>=0x10000?(_0x3ec069+=0x8,_0x349fe9=0x7f):_0x2e7fd2>0x7d&&(_0x3ec069+=0x2,_0x349fe9=0x7e);const _0xbe0c3a=Buffer[_0x58e928(0x84)](_0x46e70b?_0x2e7fd2+_0x3ec069:_0x3ec069);return _0xbe0c3a[0x0]=_0x5ba5ab[_0x58e928(0xde)]?_0x5ba5ab[_0x58e928(0xb8)]|0x80:_0x5ba5ab['opcode'],_0x5ba5ab[_0x58e928(0x160)]&&(_0xbe0c3a[0x0]|=0x40),_0xbe0c3a[0x1]=_0x349fe9,_0x349fe9===0x7e?_0xbe0c3a[_0x58e928(0x187)](_0x2e7fd2,0x2):_0x349fe9===0x7f&&(_0xbe0c3a[0x2]=_0xbe0c3a[0x3]=0x0,_0xbe0c3a[_0x58e928(0x8d)](_0x2e7fd2,0x4,0x6)),_0x5ba5ab['mask']?(_0xbe0c3a[0x1]|=0x80,_0xbe0c3a[_0x3ec069-0x4]=_0x199943[0x0],_0xbe0c3a[_0x3ec069-0x3]=_0x199943[0x1],_0xbe0c3a[_0x3ec069-0x2]=_0x199943[0x2],_0xbe0c3a[_0x3ec069-0x1]=_0x199943[0x3],_0x1ea7fd?[_0xbe0c3a,_0x2cdd08]:_0x46e70b?(_0x2412d8(_0x2cdd08,_0x199943,_0xbe0c3a,_0x3ec069,_0x2e7fd2),[_0xbe0c3a]):(_0x2412d8(_0x2cdd08,_0x199943,_0x2cdd08,0x0,_0x2e7fd2),[_0xbe0c3a,_0x2cdd08])):[_0xbe0c3a,_0x2cdd08];}[_0x213274(0x227)](_0x520c12,_0x417e82,_0x296252,_0x4d435a){const _0x47166b=_0x213274;let _0x37ec77;if(_0x520c12===void 0x0)_0x37ec77=_0x544724;else{if(typeof _0x520c12!=_0x47166b(0x15b)||!_0x5bb13e(_0x520c12))throw new TypeError(_0x47166b(0x15d));if(_0x417e82===void 0x0||!_0x417e82[_0x47166b(0x1d3)])_0x37ec77=Buffer[_0x47166b(0x84)](0x2),_0x37ec77[_0x47166b(0x187)](_0x520c12,0x0);else{const _0x514341=Buffer['byteLength'](_0x417e82);if(_0x514341>0x7b)throw new RangeError(_0x47166b(0x11d));_0x37ec77=Buffer[_0x47166b(0x84)](0x2+_0x514341),_0x37ec77['writeUInt16BE'](_0x520c12,0x0),typeof _0x417e82=='string'?_0x37ec77[_0x47166b(0x189)](_0x417e82,0x2):_0x37ec77[_0x47166b(0x13f)](_0x417e82,0x2);}}const _0x1295af={[_0x141e03]:_0x37ec77['length'],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x296252,'maskBuffer':this[_0x47166b(0x1ff)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x47166b(0x1cf)]!==_0x185c2c?this[_0x47166b(0x1bd)]([this[_0x47166b(0x20c)],_0x37ec77,!0x1,_0x1295af,_0x4d435a]):this[_0x47166b(0x20d)](_0x35ad89[_0x47166b(0xcb)](_0x37ec77,_0x1295af),_0x4d435a);}[_0x213274(0x17c)](_0x154499,_0x3fcf6f,_0x504629){const _0x15bc54=_0x213274;let _0x1fb7c5,_0x4de470;if(typeof _0x154499=='string'?(_0x1fb7c5=Buffer[_0x15bc54(0x95)](_0x154499),_0x4de470=!0x1):_0x164794(_0x154499)?(_0x1fb7c5=_0x154499[_0x15bc54(0x1c0)],_0x4de470=!0x1):(_0x154499=_0x4b08a2(_0x154499),_0x1fb7c5=_0x154499[_0x15bc54(0x1d3)],_0x4de470=_0x4b08a2['readOnly']),_0x1fb7c5>0x7d)throw new RangeError(_0x15bc54(0xd5));const _0x88456b={[_0x141e03]:_0x1fb7c5,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x3fcf6f,'maskBuffer':this[_0x15bc54(0x1ff)],'opcode':0x9,'readOnly':_0x4de470,'rsv1':!0x1};_0x164794(_0x154499)?this[_0x15bc54(0x1cf)]!==_0x185c2c?this[_0x15bc54(0x1bd)]([this[_0x15bc54(0xbe)],_0x154499,!0x1,_0x88456b,_0x504629]):this[_0x15bc54(0xbe)](_0x154499,!0x1,_0x88456b,_0x504629):this['_state']!==_0x185c2c?this[_0x15bc54(0x1bd)]([this[_0x15bc54(0x20c)],_0x154499,!0x1,_0x88456b,_0x504629]):this[_0x15bc54(0x20d)](_0x35ad89[_0x15bc54(0xcb)](_0x154499,_0x88456b),_0x504629);}[_0x213274(0x174)](_0x357d8b,_0x542b83,_0x56ab19){const _0x3dad5e=_0x213274;let _0x4d9f7b,_0x2398d5;if(typeof _0x357d8b==_0x3dad5e(0x219)?(_0x4d9f7b=Buffer[_0x3dad5e(0x95)](_0x357d8b),_0x2398d5=!0x1):_0x164794(_0x357d8b)?(_0x4d9f7b=_0x357d8b['size'],_0x2398d5=!0x1):(_0x357d8b=_0x4b08a2(_0x357d8b),_0x4d9f7b=_0x357d8b[_0x3dad5e(0x1d3)],_0x2398d5=_0x4b08a2[_0x3dad5e(0x180)]),_0x4d9f7b>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x3c74e0={[_0x141e03]:_0x4d9f7b,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x542b83,'maskBuffer':this[_0x3dad5e(0x1ff)],'opcode':0xa,'readOnly':_0x2398d5,'rsv1':!0x1};_0x164794(_0x357d8b)?this['_state']!==_0x185c2c?this[_0x3dad5e(0x1bd)]([this['getBlobData'],_0x357d8b,!0x1,_0x3c74e0,_0x56ab19]):this[_0x3dad5e(0xbe)](_0x357d8b,!0x1,_0x3c74e0,_0x56ab19):this[_0x3dad5e(0x1cf)]!==_0x185c2c?this[_0x3dad5e(0x1bd)]([this[_0x3dad5e(0x20c)],_0x357d8b,!0x1,_0x3c74e0,_0x56ab19]):this['sendFrame'](_0x35ad89[_0x3dad5e(0xcb)](_0x357d8b,_0x3c74e0),_0x56ab19);}[_0x213274(0xdf)](_0x2d27ee,_0x2c4157,_0x5634f4){const _0x4087fd=_0x213274,_0x44e846=this['_extensions'][_0x184c2d['extensionName']];let _0x2abb17=_0x2c4157['binary']?0x2:0x1,_0x120d65=_0x2c4157[_0x4087fd(0xa4)],_0x2736a8,_0x1033ae;typeof _0x2d27ee=='string'?(_0x2736a8=Buffer['byteLength'](_0x2d27ee),_0x1033ae=!0x1):_0x164794(_0x2d27ee)?(_0x2736a8=_0x2d27ee[_0x4087fd(0x1c0)],_0x1033ae=!0x1):(_0x2d27ee=_0x4b08a2(_0x2d27ee),_0x2736a8=_0x2d27ee[_0x4087fd(0x1d3)],_0x1033ae=_0x4b08a2[_0x4087fd(0x180)]),this[_0x4087fd(0x93)]?(this[_0x4087fd(0x93)]=!0x1,_0x120d65&&_0x44e846&&_0x44e846[_0x4087fd(0x204)][_0x44e846['_isServer']?'server_no_context_takeover':'client_no_context_takeover']&&(_0x120d65=_0x2736a8>=_0x44e846[_0x4087fd(0x1e2)]),this['_compress']=_0x120d65):(_0x120d65=!0x1,_0x2abb17=0x0),_0x2c4157[_0x4087fd(0xde)]&&(this['_firstFragment']=!0x0);const _0x5e5335={[_0x141e03]:_0x2736a8,'fin':_0x2c4157[_0x4087fd(0xde)],'generateMask':this['_generateMask'],'mask':_0x2c4157['mask'],'maskBuffer':this['_maskBuffer'],'opcode':_0x2abb17,'readOnly':_0x1033ae,'rsv1':_0x120d65};_0x164794(_0x2d27ee)?this['_state']!==_0x185c2c?this[_0x4087fd(0x1bd)]([this['getBlobData'],_0x2d27ee,this[_0x4087fd(0x11b)],_0x5e5335,_0x5634f4]):this[_0x4087fd(0xbe)](_0x2d27ee,this[_0x4087fd(0x11b)],_0x5e5335,_0x5634f4):this[_0x4087fd(0x1cf)]!==_0x185c2c?this[_0x4087fd(0x1bd)]([this['dispatch'],_0x2d27ee,this[_0x4087fd(0x11b)],_0x5e5335,_0x5634f4]):this['dispatch'](_0x2d27ee,this[_0x4087fd(0x11b)],_0x5e5335,_0x5634f4);}[_0x213274(0xbe)](_0x578266,_0xb3b65c,_0x5a31ac,_0x13ded6){const _0x1af3cb=_0x213274;this[_0x1af3cb(0xeb)]+=_0x5a31ac[_0x141e03],this[_0x1af3cb(0x1cf)]=_0x2b8735,_0x578266[_0x1af3cb(0xf0)]()[_0x1af3cb(0x1eb)](_0xc69599=>{const _0x513cee=_0x1af3cb;if(this[_0x513cee(0x89)][_0x513cee(0x138)]){const _0x127e3c=new Error('The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read');process[_0x513cee(0x14c)](_0x1c5d7a,this,_0x127e3c,_0x13ded6);return;}this['_bufferedBytes']-=_0x5a31ac[_0x141e03];const _0x4be95b=_0x4b08a2(_0xc69599);_0xb3b65c?this[_0x513cee(0x20c)](_0x4be95b,_0xb3b65c,_0x5a31ac,_0x13ded6):(this[_0x513cee(0x1cf)]=_0x185c2c,this['sendFrame'](_0x35ad89[_0x513cee(0xcb)](_0x4be95b,_0x5a31ac),_0x13ded6),this['dequeue']());})[_0x1af3cb(0x1b0)](_0x2e4c11=>{const _0x19f609=_0x1af3cb;process[_0x19f609(0x14c)](_0x294087,this,_0x2e4c11,_0x13ded6);});}[_0x213274(0x20c)](_0x7159de,_0x59ec3a,_0x34a07f,_0x4a4b6b){const _0x33aac6=_0x213274;if(!_0x59ec3a){this[_0x33aac6(0x20d)](_0x35ad89[_0x33aac6(0xcb)](_0x7159de,_0x34a07f),_0x4a4b6b);return;}const _0x23fc83=this[_0x33aac6(0xe2)][_0x184c2d['extensionName']];this['_bufferedBytes']+=_0x34a07f[_0x141e03],this[_0x33aac6(0x1cf)]=_0x5049a9,_0x23fc83[_0x33aac6(0xa4)](_0x7159de,_0x34a07f['fin'],(_0x337f5f,_0x2efa1e)=>{const _0x456b63=_0x33aac6;if(this[_0x456b63(0x89)][_0x456b63(0x138)]){const _0x3b6e94=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x1c5d7a(this,_0x3b6e94,_0x4a4b6b);return;}this[_0x456b63(0xeb)]-=_0x34a07f[_0x141e03],this['_state']=_0x185c2c,_0x34a07f[_0x456b63(0x180)]=!0x1,this[_0x456b63(0x20d)](_0x35ad89[_0x456b63(0xcb)](_0x2efa1e,_0x34a07f),_0x4a4b6b),this[_0x456b63(0x1ae)]();});}[_0x213274(0x1ae)](){const _0x4b2d9c=_0x213274;for(;this[_0x4b2d9c(0x1cf)]===_0x185c2c&&this['_queue']['length'];){const _0x10d36=this[_0x4b2d9c(0xc8)][_0x4b2d9c(0x1b7)]();this[_0x4b2d9c(0xeb)]-=_0x10d36[0x3][_0x141e03],Reflect[_0x4b2d9c(0xc6)](_0x10d36[0x0],this,_0x10d36[_0x4b2d9c(0x115)](0x1));}}[_0x213274(0x1bd)](_0x363219){const _0x1a288d=_0x213274;this['_bufferedBytes']+=_0x363219[0x3][_0x141e03],this[_0x1a288d(0xc8)][_0x1a288d(0x70)](_0x363219);}[_0x213274(0x20d)](_0x2e1b63,_0x1a9009){const _0x380e83=_0x213274;_0x2e1b63[_0x380e83(0x1d3)]===0x2?(this[_0x380e83(0x89)][_0x380e83(0x1a8)](),this[_0x380e83(0x89)]['write'](_0x2e1b63[0x0]),this[_0x380e83(0x89)][_0x380e83(0x189)](_0x2e1b63[0x1],_0x1a9009),this[_0x380e83(0x89)]['uncork']()):this[_0x380e83(0x89)][_0x380e83(0x189)](_0x2e1b63[0x0],_0x1a9009);}}Ee=_0x35ad89;function _0x1c5d7a(_0xc2140a,_0x2152cf,_0x27cf3c){const _0x4fdeb8=_0x213274;typeof _0x27cf3c==_0x4fdeb8(0x193)&&_0x27cf3c(_0x2152cf);for(let _0x5c68c9=0x0;_0x5c68c9<_0xc2140a['_queue'][_0x4fdeb8(0x1d3)];_0x5c68c9++){const _0x3acecb=_0xc2140a[_0x4fdeb8(0xc8)][_0x5c68c9],_0x5d5621=_0x3acecb[_0x3acecb[_0x4fdeb8(0x1d3)]-0x1];typeof _0x5d5621==_0x4fdeb8(0x193)&&_0x5d5621(_0x2152cf);}}function _0x294087(_0x30783d,_0x5220bc,_0x10f2c3){const _0x2eae47=_0x213274;_0x1c5d7a(_0x30783d,_0x5220bc,_0x10f2c3),_0x30783d[_0x2eae47(0xa6)](_0x5220bc);}return Ee;}var xe,Ze;function It(){const _0x3c51fb=_0x5ab958;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x55c98f,kListener:_0x4e3069}=H(),_0x3d20ec=Symbol(_0x3c51fb(0x13b)),_0x3d59d4=Symbol(_0x3c51fb(0x1da)),_0x29b893=Symbol('kError'),_0x5074c9=Symbol(_0x3c51fb(0xfb)),_0x19b477=Symbol(_0x3c51fb(0x16d)),_0x418a3b=Symbol('kTarget'),_0x28433b=Symbol('kType'),_0x21df90=Symbol('kWasClean');class _0x22f1eb{constructor(_0x40089c){this[_0x418a3b]=null,this[_0x28433b]=_0x40089c;}get[_0x3c51fb(0x128)](){return this[_0x418a3b];}get[_0x3c51fb(0x9c)](){return this[_0x28433b];}}Object[_0x3c51fb(0x85)](_0x22f1eb[_0x3c51fb(0x232)],_0x3c51fb(0x128),{'enumerable':!0x0}),Object[_0x3c51fb(0x85)](_0x22f1eb[_0x3c51fb(0x232)],_0x3c51fb(0x9c),{'enumerable':!0x0});class _0x2e358c extends _0x22f1eb{constructor(_0x3fa54a,_0x196a41={}){const _0x13790a=_0x3c51fb;super(_0x3fa54a),this[_0x3d20ec]=_0x196a41['code']===void 0x0?0x0:_0x196a41[_0x13790a(0x169)],this[_0x19b477]=_0x196a41[_0x13790a(0xf7)]===void 0x0?'':_0x196a41[_0x13790a(0xf7)],this[_0x21df90]=_0x196a41[_0x13790a(0x166)]===void 0x0?!0x1:_0x196a41[_0x13790a(0x166)];}get[_0x3c51fb(0x169)](){return this[_0x3d20ec];}get[_0x3c51fb(0xf7)](){return this[_0x19b477];}get['wasClean'](){return this[_0x21df90];}}Object[_0x3c51fb(0x85)](_0x2e358c[_0x3c51fb(0x232)],'code',{'enumerable':!0x0}),Object[_0x3c51fb(0x85)](_0x2e358c[_0x3c51fb(0x232)],_0x3c51fb(0xf7),{'enumerable':!0x0}),Object[_0x3c51fb(0x85)](_0x2e358c[_0x3c51fb(0x232)],_0x3c51fb(0x166),{'enumerable':!0x0});class _0x4887ed extends _0x22f1eb{constructor(_0x10b0ee,_0x4fe361={}){const _0x404a58=_0x3c51fb;super(_0x10b0ee),this[_0x29b893]=_0x4fe361['error']===void 0x0?null:_0x4fe361[_0x404a58(0xe0)],this[_0x5074c9]=_0x4fe361[_0x404a58(0x133)]===void 0x0?'':_0x4fe361[_0x404a58(0x133)];}get[_0x3c51fb(0xe0)](){return this[_0x29b893];}get[_0x3c51fb(0x133)](){return this[_0x5074c9];}}Object[_0x3c51fb(0x85)](_0x4887ed[_0x3c51fb(0x232)],'error',{'enumerable':!0x0}),Object[_0x3c51fb(0x85)](_0x4887ed[_0x3c51fb(0x232)],_0x3c51fb(0x133),{'enumerable':!0x0});class _0x20b009 extends _0x22f1eb{constructor(_0x377bd6,_0x5773e6={}){const _0x37d245=_0x3c51fb;super(_0x377bd6),this[_0x3d59d4]=_0x5773e6[_0x37d245(0x19d)]===void 0x0?null:_0x5773e6['data'];}get[_0x3c51fb(0x19d)](){return this[_0x3d59d4];}}Object['defineProperty'](_0x20b009[_0x3c51fb(0x232)],_0x3c51fb(0x19d),{'enumerable':!0x0}),xe={'CloseEvent':_0x2e358c,'ErrorEvent':_0x4887ed,'Event':_0x22f1eb,'EventTarget':{'addEventListener'(_0x464c6d,_0x8cdbaf,_0x578304={}){const _0x1799a6=_0x3c51fb;for(const _0x59c9dc of this[_0x1799a6(0x1f2)](_0x464c6d))if(!_0x578304[_0x55c98f]&&_0x59c9dc[_0x4e3069]===_0x8cdbaf&&!_0x59c9dc[_0x55c98f])return;let _0x728c76;if(_0x464c6d===_0x1799a6(0x133))_0x728c76=function(_0x932f1e,_0x4b33e5){const _0x1d94ca=_0x1799a6,_0x4e6a5a=new _0x20b009(_0x1d94ca(0x133),{'data':_0x4b33e5?_0x932f1e:_0x932f1e[_0x1d94ca(0x119)]()});_0x4e6a5a[_0x418a3b]=this,_0x9e305(_0x8cdbaf,this,_0x4e6a5a);};else{if(_0x464c6d===_0x1799a6(0x227))_0x728c76=function(_0x9883a1,_0x4cb1f1){const _0x573e7e=_0x1799a6,_0x2232d7=new _0x2e358c(_0x573e7e(0x227),{'code':_0x9883a1,'reason':_0x4cb1f1[_0x573e7e(0x119)](),'wasClean':this[_0x573e7e(0x12f)]&&this[_0x573e7e(0xd9)]});_0x2232d7[_0x418a3b]=this,_0x9e305(_0x8cdbaf,this,_0x2232d7);};else{if(_0x464c6d===_0x1799a6(0xe0))_0x728c76=function(_0x249ef2){const _0xa2786d=_0x1799a6,_0x17eddf=new _0x4887ed(_0xa2786d(0xe0),{'error':_0x249ef2,'message':_0x249ef2['message']});_0x17eddf[_0x418a3b]=this,_0x9e305(_0x8cdbaf,this,_0x17eddf);};else{if(_0x464c6d==='open')_0x728c76=function(){const _0x882d70=_0x1799a6,_0x34e87f=new _0x22f1eb(_0x882d70(0x186));_0x34e87f[_0x418a3b]=this,_0x9e305(_0x8cdbaf,this,_0x34e87f);};else return;}}}_0x728c76[_0x55c98f]=!!_0x578304[_0x55c98f],_0x728c76[_0x4e3069]=_0x8cdbaf,_0x578304[_0x1799a6(0x1a1)]?this['once'](_0x464c6d,_0x728c76):this['on'](_0x464c6d,_0x728c76);},'removeEventListener'(_0x411488,_0x11f095){const _0x2a2bf4=_0x3c51fb;for(const _0x57e24a of this[_0x2a2bf4(0x1f2)](_0x411488))if(_0x57e24a[_0x4e3069]===_0x11f095&&!_0x57e24a[_0x55c98f]){this[_0x2a2bf4(0x233)](_0x411488,_0x57e24a);break;}}},'MessageEvent':_0x20b009};function _0x9e305(_0x1a5734,_0x25dca9,_0x5f45c3){const _0x4d2744=_0x3c51fb;typeof _0x1a5734==_0x4d2744(0x20b)&&_0x1a5734[_0x4d2744(0x107)]?_0x1a5734[_0x4d2744(0x107)][_0x4d2744(0xcd)](_0x1a5734,_0x5f45c3):_0x1a5734[_0x4d2744(0xcd)](_0x25dca9,_0x5f45c3);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x108be7}=ae();function _0x359d0d(_0x249605,_0x4196ff,_0x297b86){const _0xae565e=_0x147c;_0x249605[_0x4196ff]===void 0x0?_0x249605[_0x4196ff]=[_0x297b86]:_0x249605[_0x4196ff][_0xae565e(0x70)](_0x297b86);}function _0x3e6788(_0x2c5386){const _0x17c66e=_0x147c,_0x46b89d=Object['create'](null);let _0x178ae0=Object['create'](null),_0x3d8c77=!0x1,_0x341b88=!0x1,_0x3c5c2a=!0x1,_0x6c2818,_0x4e7975,_0x5b15ef=-0x1,_0x5741c0=-0x1,_0x53f246=-0x1,_0x4277e6=0x0;for(;_0x4277e6<_0x2c5386[_0x17c66e(0x1d3)];_0x4277e6++)if(_0x5741c0=_0x2c5386[_0x17c66e(0x104)](_0x4277e6),_0x6c2818===void 0x0){if(_0x53f246===-0x1&&_0x108be7[_0x5741c0]===0x1)_0x5b15ef===-0x1&&(_0x5b15ef=_0x4277e6);else{if(_0x4277e6!==0x0&&(_0x5741c0===0x20||_0x5741c0===0x9))_0x53f246===-0x1&&_0x5b15ef!==-0x1&&(_0x53f246=_0x4277e6);else{if(_0x5741c0===0x3b||_0x5741c0===0x2c){if(_0x5b15ef===-0x1)throw new SyntaxError(_0x17c66e(0x1c1)+_0x4277e6);_0x53f246===-0x1&&(_0x53f246=_0x4277e6);const _0x2c89f2=_0x2c5386[_0x17c66e(0x115)](_0x5b15ef,_0x53f246);_0x5741c0===0x2c?(_0x359d0d(_0x46b89d,_0x2c89f2,_0x178ae0),_0x178ae0=Object[_0x17c66e(0x16f)](null)):_0x6c2818=_0x2c89f2,_0x5b15ef=_0x53f246=-0x1;}else throw new SyntaxError(_0x17c66e(0x1c1)+_0x4277e6);}}}else{if(_0x4e7975===void 0x0){if(_0x53f246===-0x1&&_0x108be7[_0x5741c0]===0x1)_0x5b15ef===-0x1&&(_0x5b15ef=_0x4277e6);else{if(_0x5741c0===0x20||_0x5741c0===0x9)_0x53f246===-0x1&&_0x5b15ef!==-0x1&&(_0x53f246=_0x4277e6);else{if(_0x5741c0===0x3b||_0x5741c0===0x2c){if(_0x5b15ef===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x4277e6);_0x53f246===-0x1&&(_0x53f246=_0x4277e6),_0x359d0d(_0x178ae0,_0x2c5386[_0x17c66e(0x115)](_0x5b15ef,_0x53f246),!0x0),_0x5741c0===0x2c&&(_0x359d0d(_0x46b89d,_0x6c2818,_0x178ae0),_0x178ae0=Object[_0x17c66e(0x16f)](null),_0x6c2818=void 0x0),_0x5b15ef=_0x53f246=-0x1;}else{if(_0x5741c0===0x3d&&_0x5b15ef!==-0x1&&_0x53f246===-0x1)_0x4e7975=_0x2c5386['slice'](_0x5b15ef,_0x4277e6),_0x5b15ef=_0x53f246=-0x1;else throw new SyntaxError(_0x17c66e(0x1c1)+_0x4277e6);}}}}else{if(_0x341b88){if(_0x108be7[_0x5741c0]!==0x1)throw new SyntaxError(_0x17c66e(0x1c1)+_0x4277e6);_0x5b15ef===-0x1?_0x5b15ef=_0x4277e6:_0x3d8c77||(_0x3d8c77=!0x0),_0x341b88=!0x1;}else{if(_0x3c5c2a){if(_0x108be7[_0x5741c0]===0x1)_0x5b15ef===-0x1&&(_0x5b15ef=_0x4277e6);else{if(_0x5741c0===0x22&&_0x5b15ef!==-0x1)_0x3c5c2a=!0x1,_0x53f246=_0x4277e6;else{if(_0x5741c0===0x5c)_0x341b88=!0x0;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x4277e6);}}}else{if(_0x5741c0===0x22&&_0x2c5386[_0x17c66e(0x104)](_0x4277e6-0x1)===0x3d)_0x3c5c2a=!0x0;else{if(_0x53f246===-0x1&&_0x108be7[_0x5741c0]===0x1)_0x5b15ef===-0x1&&(_0x5b15ef=_0x4277e6);else{if(_0x5b15ef!==-0x1&&(_0x5741c0===0x20||_0x5741c0===0x9))_0x53f246===-0x1&&(_0x53f246=_0x4277e6);else{if(_0x5741c0===0x3b||_0x5741c0===0x2c){if(_0x5b15ef===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x4277e6);_0x53f246===-0x1&&(_0x53f246=_0x4277e6);let _0x1cc12a=_0x2c5386[_0x17c66e(0x115)](_0x5b15ef,_0x53f246);_0x3d8c77&&(_0x1cc12a=_0x1cc12a[_0x17c66e(0x16b)](/\\/g,''),_0x3d8c77=!0x1),_0x359d0d(_0x178ae0,_0x4e7975,_0x1cc12a),_0x5741c0===0x2c&&(_0x359d0d(_0x46b89d,_0x6c2818,_0x178ae0),_0x178ae0=Object[_0x17c66e(0x16f)](null),_0x6c2818=void 0x0),_0x4e7975=void 0x0,_0x5b15ef=_0x53f246=-0x1;}else throw new SyntaxError(_0x17c66e(0x1c1)+_0x4277e6);}}}}}}}if(_0x5b15ef===-0x1||_0x3c5c2a||_0x5741c0===0x20||_0x5741c0===0x9)throw new SyntaxError(_0x17c66e(0xfa));_0x53f246===-0x1&&(_0x53f246=_0x4277e6);const _0x37ed53=_0x2c5386[_0x17c66e(0x115)](_0x5b15ef,_0x53f246);return _0x6c2818===void 0x0?_0x359d0d(_0x46b89d,_0x37ed53,_0x178ae0):(_0x4e7975===void 0x0?_0x359d0d(_0x178ae0,_0x37ed53,!0x0):_0x3d8c77?_0x359d0d(_0x178ae0,_0x4e7975,_0x37ed53[_0x17c66e(0x16b)](/\\/g,'')):_0x359d0d(_0x178ae0,_0x4e7975,_0x37ed53),_0x359d0d(_0x46b89d,_0x6c2818,_0x178ae0)),_0x46b89d;}function _0x282a91(_0x955df){const _0x275f2a=_0x147c;return Object[_0x275f2a(0x14f)](_0x955df)[_0x275f2a(0x10d)](_0x13e668=>{const _0x473ea2=_0x275f2a;let _0x52ff99=_0x955df[_0x13e668];return Array[_0x473ea2(0x199)](_0x52ff99)||(_0x52ff99=[_0x52ff99]),_0x52ff99[_0x473ea2(0x10d)](_0x550575=>[_0x13e668][_0x473ea2(0xab)](Object[_0x473ea2(0x14f)](_0x550575)[_0x473ea2(0x10d)](_0xc4941c=>{const _0x5c757f=_0x473ea2;let _0x10a20a=_0x550575[_0xc4941c];return Array[_0x5c757f(0x199)](_0x10a20a)||(_0x10a20a=[_0x10a20a]),_0x10a20a['map'](_0x310ec6=>_0x310ec6===!0x0?_0xc4941c:_0xc4941c+'='+_0x310ec6)['join'](';\x20');}))[_0x473ea2(0x179)](';\x20'))[_0x473ea2(0x179)](',\x20');})[_0x275f2a(0x179)](',\x20');}return be={'format':_0x282a91,'parse':_0x3e6788},be;}var we,Je;function Pe(){const _0x5f0703=_0x5ab958;if(Je)return we;Je=0x1;const _0x4bcc1d=nt,_0x4c9d36=vt,_0x61266=ot,_0x5c5698=St,_0x267226=Et,{randomBytes:_0x4af36d,createHash:_0x65f8d0}=Le,{Duplex:_0x1d14ee,Readable:_0x24c8cc}=oe,{URL:_0x15e51d}=xt,_0x1d04f4=he(),_0x4610f8=lt(),_0x77c9eb=ft(),{isBlob:_0x51a780}=ae(),{BINARY_TYPES:_0x4f3f6a,EMPTY_BUFFER:_0x5b2712,GUID:_0x8886ff,kForOnEventAttribute:_0x46b9c4,kListener:_0x24420c,kStatusCode:_0x3bbbde,kWebSocket:_0x30edc0,NOOP:_0x411443}=H(),{EventTarget:{addEventListener:_0x36bef9,removeEventListener:_0x471ab7}}=It(),{format:_0x3fabbf,parse:_0xd1055a}=ct(),{toBuffer:_0x5df66b}=ce(),_0x3bc751=0x1e*0x3e8,_0x1eb90f=Symbol(_0x5f0703(0x197)),_0x2ce93f=[0x8,0xd],_0x543224=['CONNECTING',_0x5f0703(0x170),'CLOSING',_0x5f0703(0xb7)],_0x21485f=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x2c68dd extends _0x4bcc1d{constructor(_0x2c762d,_0x30892f,_0x15b1e1){const _0xd030e4=_0x5f0703;super(),this[_0xd030e4(0x144)]=_0x4f3f6a[0x0],this[_0xd030e4(0x19a)]=0x3ee,this[_0xd030e4(0x12f)]=!0x1,this[_0xd030e4(0xd9)]=!0x1,this[_0xd030e4(0x210)]=_0x5b2712,this[_0xd030e4(0x121)]=null,this[_0xd030e4(0x223)]=!0x1,this['_extensions']={},this['_paused']=!0x1,this[_0xd030e4(0x17d)]='',this[_0xd030e4(0x18d)]=_0x2c68dd[_0xd030e4(0x150)],this[_0xd030e4(0xf3)]=null,this['_sender']=null,this[_0xd030e4(0x89)]=null,_0x2c762d!==null?(this[_0xd030e4(0x7b)]=0x0,this[_0xd030e4(0x122)]=!0x1,this[_0xd030e4(0x139)]=0x0,_0x30892f===void 0x0?_0x30892f=[]:Array['isArray'](_0x30892f)||(typeof _0x30892f==_0xd030e4(0x20b)&&_0x30892f!==null?(_0x15b1e1=_0x30892f,_0x30892f=[]):_0x30892f=[_0x30892f]),_0x3b2333(this,_0x2c762d,_0x30892f,_0x15b1e1)):(this[_0xd030e4(0xd1)]=_0x15b1e1[_0xd030e4(0x7d)],this[_0xd030e4(0x122)]=!0x0);}get['binaryType'](){const _0x499da2=_0x5f0703;return this[_0x499da2(0x144)];}set[_0x5f0703(0x21b)](_0x3f571a){const _0x522207=_0x5f0703;_0x4f3f6a[_0x522207(0xce)](_0x3f571a)&&(this[_0x522207(0x144)]=_0x3f571a,this[_0x522207(0xf3)]&&(this[_0x522207(0xf3)][_0x522207(0x144)]=_0x3f571a));}get[_0x5f0703(0x14e)](){const _0x11d6ac=_0x5f0703;return this['_socket']?this[_0x11d6ac(0x89)][_0x11d6ac(0xf8)][_0x11d6ac(0x1d3)]+this['_sender'][_0x11d6ac(0xeb)]:this[_0x11d6ac(0x7b)];}get['extensions'](){const _0x2a7970=_0x5f0703;return Object[_0x2a7970(0x14f)](this['_extensions'])[_0x2a7970(0x179)]();}get[_0x5f0703(0x19f)](){const _0xcd2590=_0x5f0703;return this[_0xcd2590(0x90)];}get[_0x5f0703(0x103)](){return null;}get[_0x5f0703(0xa6)](){return null;}get[_0x5f0703(0xc5)](){return null;}get[_0x5f0703(0x1f8)](){return null;}get[_0x5f0703(0x135)](){const _0x4527b8=_0x5f0703;return this[_0x4527b8(0x17d)];}get[_0x5f0703(0xc3)](){const _0x1526a9=_0x5f0703;return this[_0x1526a9(0x18d)];}get['url'](){const _0x230e45=_0x5f0703;return this[_0x230e45(0x1a2)];}['setSocket'](_0x2e9cdb,_0x47e012,_0x52024d){const _0x585dad=_0x5f0703,_0x565100=new _0x4610f8({'allowSynchronousEvents':_0x52024d[_0x585dad(0x221)],'binaryType':this['binaryType'],'extensions':this[_0x585dad(0xe2)],'isServer':this[_0x585dad(0x122)],'maxPayload':_0x52024d[_0x585dad(0xf6)],'skipUTF8Validation':_0x52024d['skipUTF8Validation']}),_0x5d0cf0=new _0x77c9eb(_0x2e9cdb,this[_0x585dad(0xe2)],_0x52024d[_0x585dad(0x21d)]);this[_0x585dad(0xf3)]=_0x565100,this['_sender']=_0x5d0cf0,this['_socket']=_0x2e9cdb,_0x565100[_0x30edc0]=this,_0x5d0cf0[_0x30edc0]=this,_0x2e9cdb[_0x30edc0]=this,_0x565100['on'](_0x585dad(0xfd),_0x1a171e),_0x565100['on']('drain',_0x1cf629),_0x565100['on']('error',_0x19339a),_0x565100['on']('message',_0x2b94e1),_0x565100['on'](_0x585dad(0x17c),_0xb83f7d),_0x565100['on'](_0x585dad(0x174),_0x3f3538),_0x5d0cf0['onerror']=_0xb831e5,_0x2e9cdb[_0x585dad(0x18b)]&&_0x2e9cdb['setTimeout'](0x0),_0x2e9cdb[_0x585dad(0x88)]&&_0x2e9cdb[_0x585dad(0x88)](),_0x47e012[_0x585dad(0x1d3)]>0x0&&_0x2e9cdb[_0x585dad(0x1d7)](_0x47e012),_0x2e9cdb['on'](_0x585dad(0x227),_0x594d78),_0x2e9cdb['on'](_0x585dad(0x19d),_0x214132),_0x2e9cdb['on'](_0x585dad(0x214),_0x38d164),_0x2e9cdb['on'](_0x585dad(0xe0),_0x4d71f8),this[_0x585dad(0x18d)]=_0x2c68dd[_0x585dad(0x170)],this['emit']('open');}[_0x5f0703(0xf5)](){const _0x43046=_0x5f0703;if(!this[_0x43046(0x89)]){this[_0x43046(0x18d)]=_0x2c68dd[_0x43046(0xb7)],this[_0x43046(0x146)](_0x43046(0x227),this[_0x43046(0x19a)],this[_0x43046(0x210)]);return;}this[_0x43046(0xe2)][_0x1d04f4[_0x43046(0x79)]]&&this[_0x43046(0xe2)][_0x1d04f4[_0x43046(0x79)]][_0x43046(0x182)](),this[_0x43046(0xf3)][_0x43046(0x1e6)](),this[_0x43046(0x18d)]=_0x2c68dd[_0x43046(0xb7)],this[_0x43046(0x146)](_0x43046(0x227),this[_0x43046(0x19a)],this['_closeMessage']);}[_0x5f0703(0x227)](_0x209f9a,_0x49e2c4){const _0x3c067e=_0x5f0703;if(this[_0x3c067e(0xc3)]!==_0x2c68dd[_0x3c067e(0xb7)]){if(this[_0x3c067e(0xc3)]===_0x2c68dd[_0x3c067e(0x150)]){_0x3bd4e8(this,this['_req'],_0x3c067e(0x1b2));return;}if(this[_0x3c067e(0xc3)]===_0x2c68dd[_0x3c067e(0x12d)]){this[_0x3c067e(0xd9)]&&(this['_closeFrameReceived']||this[_0x3c067e(0xf3)][_0x3c067e(0xf8)][_0x3c067e(0x185)])&&this[_0x3c067e(0x89)]['end']();return;}this['_readyState']=_0x2c68dd[_0x3c067e(0x12d)],this['_sender'][_0x3c067e(0x227)](_0x209f9a,_0x49e2c4,!this[_0x3c067e(0x122)],_0x2b6dd4=>{const _0x57dc8b=_0x3c067e;_0x2b6dd4||(this[_0x57dc8b(0xd9)]=!0x0,(this['_closeFrameReceived']||this['_receiver']['_writableState']['errorEmitted'])&&this['_socket'][_0x57dc8b(0x214)]());}),_0xf794c4(this);}}[_0x5f0703(0x17a)](){const _0x28ec24=_0x5f0703;this[_0x28ec24(0xc3)]===_0x2c68dd['CONNECTING']||this['readyState']===_0x2c68dd['CLOSED']||(this[_0x28ec24(0x90)]=!0x0,this[_0x28ec24(0x89)][_0x28ec24(0x17a)]());}['ping'](_0x13ad66,_0x1f0d48,_0xd6a5b6){const _0x19103b=_0x5f0703;if(this[_0x19103b(0xc3)]===_0x2c68dd[_0x19103b(0x150)])throw new Error(_0x19103b(0x226));if(typeof _0x13ad66=='function'?(_0xd6a5b6=_0x13ad66,_0x13ad66=_0x1f0d48=void 0x0):typeof _0x1f0d48==_0x19103b(0x193)&&(_0xd6a5b6=_0x1f0d48,_0x1f0d48=void 0x0),typeof _0x13ad66=='number'&&(_0x13ad66=_0x13ad66['toString']()),this[_0x19103b(0xc3)]!==_0x2c68dd['OPEN']){_0x3da7ff(this,_0x13ad66,_0xd6a5b6);return;}_0x1f0d48===void 0x0&&(_0x1f0d48=!this[_0x19103b(0x122)]),this[_0x19103b(0x1dc)][_0x19103b(0x17c)](_0x13ad66||_0x5b2712,_0x1f0d48,_0xd6a5b6);}[_0x5f0703(0x174)](_0x222be5,_0x437859,_0x59028a){const _0x1345d4=_0x5f0703;if(this[_0x1345d4(0xc3)]===_0x2c68dd[_0x1345d4(0x150)])throw new Error(_0x1345d4(0x226));if(typeof _0x222be5=='function'?(_0x59028a=_0x222be5,_0x222be5=_0x437859=void 0x0):typeof _0x437859=='function'&&(_0x59028a=_0x437859,_0x437859=void 0x0),typeof _0x222be5=='number'&&(_0x222be5=_0x222be5[_0x1345d4(0x119)]()),this[_0x1345d4(0xc3)]!==_0x2c68dd[_0x1345d4(0x170)]){_0x3da7ff(this,_0x222be5,_0x59028a);return;}_0x437859===void 0x0&&(_0x437859=!this[_0x1345d4(0x122)]),this[_0x1345d4(0x1dc)][_0x1345d4(0x174)](_0x222be5||_0x5b2712,_0x437859,_0x59028a);}[_0x5f0703(0x117)](){const _0x28b14a=_0x5f0703;this['readyState']===_0x2c68dd[_0x28b14a(0x150)]||this[_0x28b14a(0xc3)]===_0x2c68dd['CLOSED']||(this[_0x28b14a(0x90)]=!0x1,this['_receiver'][_0x28b14a(0xf8)][_0x28b14a(0x83)]||this[_0x28b14a(0x89)][_0x28b14a(0x117)]());}[_0x5f0703(0xdf)](_0x260b69,_0x3d1f5a,_0x121f6e){const _0x41c9af=_0x5f0703;if(this['readyState']===_0x2c68dd[_0x41c9af(0x150)])throw new Error(_0x41c9af(0x226));if(typeof _0x3d1f5a=='function'&&(_0x121f6e=_0x3d1f5a,_0x3d1f5a={}),typeof _0x260b69==_0x41c9af(0x15b)&&(_0x260b69=_0x260b69[_0x41c9af(0x119)]()),this[_0x41c9af(0xc3)]!==_0x2c68dd[_0x41c9af(0x170)]){_0x3da7ff(this,_0x260b69,_0x121f6e);return;}const _0x53011f={'binary':typeof _0x260b69!=_0x41c9af(0x219),'mask':!this[_0x41c9af(0x122)],'compress':!0x0,'fin':!0x0,..._0x3d1f5a};this[_0x41c9af(0xe2)][_0x1d04f4['extensionName']]||(_0x53011f[_0x41c9af(0xa4)]=!0x1),this['_sender'][_0x41c9af(0xdf)](_0x260b69||_0x5b2712,_0x53011f,_0x121f6e);}[_0x5f0703(0x80)](){const _0x24e7c7=_0x5f0703;if(this[_0x24e7c7(0xc3)]!==_0x2c68dd['CLOSED']){if(this[_0x24e7c7(0xc3)]===_0x2c68dd[_0x24e7c7(0x150)]){_0x3bd4e8(this,this[_0x24e7c7(0x75)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}this[_0x24e7c7(0x89)]&&(this[_0x24e7c7(0x18d)]=_0x2c68dd[_0x24e7c7(0x12d)],this[_0x24e7c7(0x89)][_0x24e7c7(0x71)]());}}}Object['defineProperty'](_0x2c68dd,'CONNECTING',{'enumerable':!0x0,'value':_0x543224['indexOf'](_0x5f0703(0x150))}),Object[_0x5f0703(0x85)](_0x2c68dd[_0x5f0703(0x232)],_0x5f0703(0x150),{'enumerable':!0x0,'value':_0x543224['indexOf']('CONNECTING')}),Object[_0x5f0703(0x85)](_0x2c68dd,_0x5f0703(0x170),{'enumerable':!0x0,'value':_0x543224['indexOf']('OPEN')}),Object[_0x5f0703(0x85)](_0x2c68dd[_0x5f0703(0x232)],'OPEN',{'enumerable':!0x0,'value':_0x543224[_0x5f0703(0x7f)](_0x5f0703(0x170))}),Object[_0x5f0703(0x85)](_0x2c68dd,'CLOSING',{'enumerable':!0x0,'value':_0x543224[_0x5f0703(0x7f)](_0x5f0703(0x12d))}),Object[_0x5f0703(0x85)](_0x2c68dd[_0x5f0703(0x232)],_0x5f0703(0x12d),{'enumerable':!0x0,'value':_0x543224[_0x5f0703(0x7f)](_0x5f0703(0x12d))}),Object[_0x5f0703(0x85)](_0x2c68dd,_0x5f0703(0xb7),{'enumerable':!0x0,'value':_0x543224[_0x5f0703(0x7f)](_0x5f0703(0xb7))}),Object[_0x5f0703(0x85)](_0x2c68dd[_0x5f0703(0x232)],_0x5f0703(0xb7),{'enumerable':!0x0,'value':_0x543224[_0x5f0703(0x7f)](_0x5f0703(0xb7))}),[_0x5f0703(0x21b),_0x5f0703(0x14e),_0x5f0703(0xe8),_0x5f0703(0x19f),'protocol','readyState',_0x5f0703(0x1d9)]['forEach'](_0x5d329f=>{const _0x50400d=_0x5f0703;Object[_0x50400d(0x85)](_0x2c68dd[_0x50400d(0x232)],_0x5d329f,{'enumerable':!0x0});}),[_0x5f0703(0x186),_0x5f0703(0xe0),_0x5f0703(0x227),_0x5f0703(0x133)][_0x5f0703(0x1f5)](_0x14e3be=>{const _0x550ef2=_0x5f0703;Object[_0x550ef2(0x85)](_0x2c68dd[_0x550ef2(0x232)],'on'+_0x14e3be,{'enumerable':!0x0,'get'(){for(const _0x8f2f80 of this['listeners'](_0x14e3be))if(_0x8f2f80[_0x46b9c4])return _0x8f2f80[_0x24420c];return null;},'set'(_0x1dbdf5){const _0x244796=_0x550ef2;for(const _0x40111d of this[_0x244796(0x1f2)](_0x14e3be))if(_0x40111d[_0x46b9c4]){this['removeListener'](_0x14e3be,_0x40111d);break;}typeof _0x1dbdf5==_0x244796(0x193)&&this['addEventListener'](_0x14e3be,_0x1dbdf5,{[_0x46b9c4]:!0x0});}});}),_0x2c68dd[_0x5f0703(0x232)][_0x5f0703(0x1a4)]=_0x36bef9,_0x2c68dd[_0x5f0703(0x232)][_0x5f0703(0x1bb)]=_0x471ab7,we=_0x2c68dd;function _0x3b2333(_0x51f70a,_0x43d02a,_0x4c1efd,_0x2f3994){const _0x11f742=_0x5f0703,_0x3d5a4a={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x2ce93f[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x2f3994,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x51f70a[_0x11f742(0xd1)]=_0x3d5a4a[_0x11f742(0x7d)],!_0x2ce93f[_0x11f742(0xce)](_0x3d5a4a[_0x11f742(0x172)]))throw new RangeError(_0x11f742(0x116)+_0x3d5a4a[_0x11f742(0x172)]+'\x20(supported\x20versions:\x20'+_0x2ce93f[_0x11f742(0x179)](',\x20')+')');let _0xb3c0fa;if(_0x43d02a instanceof _0x15e51d)_0xb3c0fa=_0x43d02a;else try{_0xb3c0fa=new _0x15e51d(_0x43d02a);}catch{throw new SyntaxError('Invalid\x20URL:\x20'+_0x43d02a);}_0xb3c0fa['protocol']===_0x11f742(0x194)?_0xb3c0fa[_0x11f742(0x135)]=_0x11f742(0x8f):_0xb3c0fa[_0x11f742(0x135)]==='https:'&&(_0xb3c0fa['protocol']=_0x11f742(0x171)),_0x51f70a[_0x11f742(0x1a2)]=_0xb3c0fa[_0x11f742(0x154)];const _0x185590=_0xb3c0fa[_0x11f742(0x135)]===_0x11f742(0x171),_0x52cc34=_0xb3c0fa[_0x11f742(0x135)]===_0x11f742(0xef);let _0x595712;if(_0xb3c0fa[_0x11f742(0x135)]!==_0x11f742(0x8f)&&!_0x185590&&!_0x52cc34?_0x595712=_0x11f742(0x159):_0x52cc34&&!_0xb3c0fa[_0x11f742(0x161)]?_0x595712=_0x11f742(0x1ea):_0xb3c0fa[_0x11f742(0x100)]&&(_0x595712=_0x11f742(0x87)),_0x595712){const _0x86a414=new SyntaxError(_0x595712);if(_0x51f70a[_0x11f742(0x139)]===0x0)throw _0x86a414;_0x493503(_0x51f70a,_0x86a414);return;}const _0x5012c8=_0x185590?0x1bb:0x50,_0x19b233=_0x4af36d(0x10)['toString']('base64'),_0x4138ad=_0x185590?_0x4c9d36['request']:_0x61266[_0x11f742(0x1b9)],_0x41406d=new Set();let _0x4b3ed0;if(_0x3d5a4a['createConnection']=_0x3d5a4a['createConnection']||(_0x185590?_0x22b990:_0x1fe482),_0x3d5a4a[_0x11f742(0x111)]=_0x3d5a4a[_0x11f742(0x111)]||_0x5012c8,_0x3d5a4a[_0x11f742(0x1ce)]=_0xb3c0fa['port']||_0x5012c8,_0x3d5a4a[_0x11f742(0x134)]=_0xb3c0fa[_0x11f742(0x77)][_0x11f742(0xd6)]('[')?_0xb3c0fa['hostname']['slice'](0x1,-0x1):_0xb3c0fa[_0x11f742(0x77)],_0x3d5a4a['headers']={..._0x3d5a4a['headers'],'Sec-WebSocket-Version':_0x3d5a4a[_0x11f742(0x172)],'Sec-WebSocket-Key':_0x19b233,'Connection':_0x11f742(0x13a),'Upgrade':_0x11f742(0xd4)},_0x3d5a4a[_0x11f742(0xe6)]=_0xb3c0fa[_0x11f742(0x161)]+_0xb3c0fa[_0x11f742(0x152)],_0x3d5a4a[_0x11f742(0x9e)]=_0x3d5a4a[_0x11f742(0x1e7)],_0x3d5a4a[_0x11f742(0x20e)]&&(_0x4b3ed0=new _0x1d04f4(_0x3d5a4a[_0x11f742(0x20e)]!==!0x0?_0x3d5a4a[_0x11f742(0x20e)]:{},!0x1,_0x3d5a4a[_0x11f742(0xf6)]),_0x3d5a4a[_0x11f742(0x1e4)][_0x11f742(0xa5)]=_0x3fabbf({[_0x1d04f4[_0x11f742(0x79)]]:_0x4b3ed0[_0x11f742(0x118)]()})),_0x4c1efd['length']){for(const _0x1174eb of _0x4c1efd){if(typeof _0x1174eb!=_0x11f742(0x219)||!_0x21485f[_0x11f742(0x178)](_0x1174eb)||_0x41406d[_0x11f742(0x131)](_0x1174eb))throw new SyntaxError(_0x11f742(0x18a));_0x41406d[_0x11f742(0xb2)](_0x1174eb);}_0x3d5a4a['headers'][_0x11f742(0xa1)]=_0x4c1efd['join'](',');}if(_0x3d5a4a['origin']&&(_0x3d5a4a['protocolVersion']<0xd?_0x3d5a4a['headers'][_0x11f742(0xcc)]=_0x3d5a4a[_0x11f742(0xe5)]:_0x3d5a4a['headers']['Origin']=_0x3d5a4a[_0x11f742(0xe5)]),(_0xb3c0fa[_0x11f742(0x191)]||_0xb3c0fa['password'])&&(_0x3d5a4a[_0x11f742(0x78)]=_0xb3c0fa[_0x11f742(0x191)]+':'+_0xb3c0fa[_0x11f742(0x11f)]),_0x52cc34){const _0x52ad71=_0x3d5a4a[_0x11f742(0xe6)][_0x11f742(0x101)](':');_0x3d5a4a[_0x11f742(0x149)]=_0x52ad71[0x0],_0x3d5a4a[_0x11f742(0xe6)]=_0x52ad71[0x1];}let _0x38265d;if(_0x3d5a4a[_0x11f742(0x1c7)]){if(_0x51f70a[_0x11f742(0x139)]===0x0){_0x51f70a[_0x11f742(0xa0)]=_0x52cc34,_0x51f70a[_0x11f742(0x1b6)]=_0x185590,_0x51f70a[_0x11f742(0xb3)]=_0x52cc34?_0x3d5a4a[_0x11f742(0x149)]:_0xb3c0fa[_0x11f742(0x134)];const _0x109e58=_0x2f3994&&_0x2f3994[_0x11f742(0x1e4)];if(_0x2f3994={..._0x2f3994,'headers':{}},_0x109e58){for(const [_0x3b053a,_0x5b4fa0]of Object[_0x11f742(0xc0)](_0x109e58))_0x2f3994['headers'][_0x3b053a[_0x11f742(0x1ee)]()]=_0x5b4fa0;}}else{if(_0x51f70a[_0x11f742(0x1b4)](_0x11f742(0x203))===0x0){const _0x5f1dea=_0x52cc34?_0x51f70a[_0x11f742(0xa0)]?_0x3d5a4a[_0x11f742(0x149)]===_0x51f70a[_0x11f742(0xb3)]:!0x1:_0x51f70a[_0x11f742(0xa0)]?!0x1:_0xb3c0fa['host']===_0x51f70a['_originalHostOrSocketPath'];(!_0x5f1dea||_0x51f70a[_0x11f742(0x1b6)]&&!_0x185590)&&(delete _0x3d5a4a[_0x11f742(0x1e4)][_0x11f742(0x1dd)],delete _0x3d5a4a[_0x11f742(0x1e4)][_0x11f742(0x1f7)],_0x5f1dea||delete _0x3d5a4a[_0x11f742(0x1e4)][_0x11f742(0x134)],_0x3d5a4a[_0x11f742(0x78)]=void 0x0);}}_0x3d5a4a[_0x11f742(0x78)]&&!_0x2f3994[_0x11f742(0x1e4)]['authorization']&&(_0x2f3994[_0x11f742(0x1e4)]['authorization']='Basic\x20'+Buffer['from'](_0x3d5a4a[_0x11f742(0x78)])[_0x11f742(0x119)](_0x11f742(0x1c4))),_0x38265d=_0x51f70a[_0x11f742(0x75)]=_0x4138ad(_0x3d5a4a),_0x51f70a[_0x11f742(0x139)]&&_0x51f70a['emit'](_0x11f742(0x203),_0x51f70a[_0x11f742(0x1d9)],_0x38265d);}else _0x38265d=_0x51f70a[_0x11f742(0x75)]=_0x4138ad(_0x3d5a4a);_0x3d5a4a[_0x11f742(0x9e)]&&_0x38265d['on'](_0x11f742(0x9e),()=>{_0x3bd4e8(_0x51f70a,_0x38265d,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x38265d['on'](_0x11f742(0xe0),_0x27da98=>{const _0x5747b3=_0x11f742;_0x38265d===null||_0x38265d[_0x1eb90f]||(_0x38265d=_0x51f70a[_0x5747b3(0x75)]=null,_0x493503(_0x51f70a,_0x27da98));}),_0x38265d['on']('response',_0x165031=>{const _0x35216f=_0x11f742,_0x4071a5=_0x165031[_0x35216f(0x1e4)][_0x35216f(0xc1)],_0x25a203=_0x165031[_0x35216f(0x1b5)];if(_0x4071a5&&_0x3d5a4a[_0x35216f(0x1c7)]&&_0x25a203>=0x12c&&_0x25a203<0x190){if(++_0x51f70a[_0x35216f(0x139)]>_0x3d5a4a[_0x35216f(0xbb)]){_0x3bd4e8(_0x51f70a,_0x38265d,_0x35216f(0x14b));return;}_0x38265d['abort']();let _0x368e36;try{_0x368e36=new _0x15e51d(_0x4071a5,_0x43d02a);}catch{const _0x99c200=new SyntaxError(_0x35216f(0xe4)+_0x4071a5);_0x493503(_0x51f70a,_0x99c200);return;}_0x3b2333(_0x51f70a,_0x368e36,_0x4c1efd,_0x2f3994);}else _0x51f70a[_0x35216f(0x146)](_0x35216f(0x17b),_0x38265d,_0x165031)||_0x3bd4e8(_0x51f70a,_0x38265d,_0x35216f(0x217)+_0x165031[_0x35216f(0x1b5)]);}),_0x38265d['on'](_0x11f742(0x163),(_0x446f9d,_0x32f6b9,_0x3f851f)=>{const _0x5c7142=_0x11f742;if(_0x51f70a[_0x5c7142(0x146)]('upgrade',_0x446f9d),_0x51f70a[_0x5c7142(0xc3)]!==_0x2c68dd['CONNECTING'])return;_0x38265d=_0x51f70a[_0x5c7142(0x75)]=null;const _0x2d7660=_0x446f9d['headers'][_0x5c7142(0x163)];if(_0x2d7660===void 0x0||_0x2d7660[_0x5c7142(0x1ee)]()!==_0x5c7142(0xd4)){_0x3bd4e8(_0x51f70a,_0x32f6b9,'Invalid\x20Upgrade\x20header');return;}const _0x428e74=_0x65f8d0('sha1')[_0x5c7142(0xb1)](_0x19b233+_0x8886ff)['digest'](_0x5c7142(0x1c4));if(_0x446f9d[_0x5c7142(0x1e4)][_0x5c7142(0x155)]!==_0x428e74){_0x3bd4e8(_0x51f70a,_0x32f6b9,_0x5c7142(0x1f6));return;}const _0x4b53b2=_0x446f9d[_0x5c7142(0x1e4)]['sec-websocket-protocol'];let _0xb2498d;if(_0x4b53b2!==void 0x0?_0x41406d[_0x5c7142(0x1c0)]?_0x41406d[_0x5c7142(0x131)](_0x4b53b2)||(_0xb2498d='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0xb2498d='Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested':_0x41406d[_0x5c7142(0x1c0)]&&(_0xb2498d=_0x5c7142(0x1c2)),_0xb2498d){_0x3bd4e8(_0x51f70a,_0x32f6b9,_0xb2498d);return;}_0x4b53b2&&(_0x51f70a[_0x5c7142(0x17d)]=_0x4b53b2);const _0x33aad8=_0x446f9d[_0x5c7142(0x1e4)]['sec-websocket-extensions'];if(_0x33aad8!==void 0x0){if(!_0x4b3ed0){_0x3bd4e8(_0x51f70a,_0x32f6b9,_0x5c7142(0x1ab));return;}let _0x5c058b;try{_0x5c058b=_0xd1055a(_0x33aad8);}catch{_0x3bd4e8(_0x51f70a,_0x32f6b9,_0x5c7142(0x81));return;}const _0x50c997=Object[_0x5c7142(0x14f)](_0x5c058b);if(_0x50c997[_0x5c7142(0x1d3)]!==0x1||_0x50c997[0x0]!==_0x1d04f4[_0x5c7142(0x79)]){_0x3bd4e8(_0x51f70a,_0x32f6b9,_0x5c7142(0x176));return;}try{_0x4b3ed0[_0x5c7142(0xfc)](_0x5c058b[_0x1d04f4[_0x5c7142(0x79)]]);}catch{_0x3bd4e8(_0x51f70a,_0x32f6b9,_0x5c7142(0x81));return;}_0x51f70a[_0x5c7142(0xe2)][_0x1d04f4[_0x5c7142(0x79)]]=_0x4b3ed0;}_0x51f70a[_0x5c7142(0x1ef)](_0x32f6b9,_0x3f851f,{'allowSynchronousEvents':_0x3d5a4a[_0x5c7142(0x221)],'generateMask':_0x3d5a4a[_0x5c7142(0x21d)],'maxPayload':_0x3d5a4a[_0x5c7142(0xf6)],'skipUTF8Validation':_0x3d5a4a[_0x5c7142(0x22d)]});}),_0x3d5a4a[_0x11f742(0xd7)]?_0x3d5a4a[_0x11f742(0xd7)](_0x38265d,_0x51f70a):_0x38265d[_0x11f742(0x214)]();}function _0x493503(_0x1bee49,_0x4e77a7){const _0x2c338c=_0x5f0703;_0x1bee49[_0x2c338c(0x18d)]=_0x2c68dd[_0x2c338c(0x12d)],_0x1bee49[_0x2c338c(0x223)]=!0x0,_0x1bee49['emit']('error',_0x4e77a7),_0x1bee49[_0x2c338c(0xf5)]();}function _0x1fe482(_0x48199b){const _0x4af558=_0x5f0703;return _0x48199b[_0x4af558(0xe6)]=_0x48199b[_0x4af558(0x149)],_0x5c5698[_0x4af558(0xac)](_0x48199b);}function _0x22b990(_0x5ba99b){const _0xf31b32=_0x5f0703;return _0x5ba99b[_0xf31b32(0xe6)]=void 0x0,!_0x5ba99b['servername']&&_0x5ba99b[_0xf31b32(0x158)]!==''&&(_0x5ba99b[_0xf31b32(0x158)]=_0x5c5698[_0xf31b32(0x147)](_0x5ba99b['host'])?'':_0x5ba99b[_0xf31b32(0x134)]),_0x267226['connect'](_0x5ba99b);}function _0x3bd4e8(_0x17e664,_0x294cbe,_0x3d8318){const _0x3040f7=_0x5f0703;_0x17e664['_readyState']=_0x2c68dd[_0x3040f7(0x12d)];const _0x515d88=new Error(_0x3d8318);Error['captureStackTrace'](_0x515d88,_0x3bd4e8),_0x294cbe[_0x3040f7(0x12b)]?(_0x294cbe[_0x1eb90f]=!0x0,_0x294cbe['abort'](),_0x294cbe[_0x3040f7(0x73)]&&!_0x294cbe[_0x3040f7(0x73)]['destroyed']&&_0x294cbe[_0x3040f7(0x73)]['destroy'](),process[_0x3040f7(0x14c)](_0x493503,_0x17e664,_0x515d88)):(_0x294cbe[_0x3040f7(0x71)](_0x515d88),_0x294cbe['once']('error',_0x17e664[_0x3040f7(0x146)][_0x3040f7(0x16c)](_0x17e664,'error')),_0x294cbe[_0x3040f7(0x1a1)](_0x3040f7(0x227),_0x17e664[_0x3040f7(0xf5)]['bind'](_0x17e664)));}function _0x3da7ff(_0x47da48,_0x347f7a,_0x1a1ff3){const _0x1fc2b0=_0x5f0703;if(_0x347f7a){const _0x2cfe27=_0x51a780(_0x347f7a)?_0x347f7a[_0x1fc2b0(0x1c0)]:_0x5df66b(_0x347f7a)[_0x1fc2b0(0x1d3)];_0x47da48[_0x1fc2b0(0x89)]?_0x47da48[_0x1fc2b0(0x1dc)][_0x1fc2b0(0xeb)]+=_0x2cfe27:_0x47da48[_0x1fc2b0(0x7b)]+=_0x2cfe27;}if(_0x1a1ff3){const _0x2be17b=new Error(_0x1fc2b0(0x1d4)+_0x47da48[_0x1fc2b0(0xc3)]+'\x20('+_0x543224[_0x47da48[_0x1fc2b0(0xc3)]]+')');process[_0x1fc2b0(0x14c)](_0x1a1ff3,_0x2be17b);}}function _0x1a171e(_0x1d0e53,_0x528d51){const _0x50705d=_0x5f0703,_0x50a28a=this[_0x30edc0];_0x50a28a['_closeFrameReceived']=!0x0,_0x50a28a['_closeMessage']=_0x528d51,_0x50a28a[_0x50705d(0x19a)]=_0x1d0e53,_0x50a28a['_socket'][_0x30edc0]!==void 0x0&&(_0x50a28a[_0x50705d(0x89)][_0x50705d(0x233)]('data',_0x214132),process[_0x50705d(0x14c)](_0x3d1662,_0x50a28a['_socket']),_0x1d0e53===0x3ed?_0x50a28a[_0x50705d(0x227)]():_0x50a28a[_0x50705d(0x227)](_0x1d0e53,_0x528d51));}function _0x1cf629(){const _0x89339e=_0x5f0703,_0x3dcb32=this[_0x30edc0];_0x3dcb32['isPaused']||_0x3dcb32[_0x89339e(0x89)][_0x89339e(0x117)]();}function _0x19339a(_0x53a15e){const _0x43de18=_0x5f0703,_0xc2427f=this[_0x30edc0];_0xc2427f[_0x43de18(0x89)][_0x30edc0]!==void 0x0&&(_0xc2427f[_0x43de18(0x89)][_0x43de18(0x233)]('data',_0x214132),process[_0x43de18(0x14c)](_0x3d1662,_0xc2427f[_0x43de18(0x89)]),_0xc2427f[_0x43de18(0x227)](_0x53a15e[_0x3bbbde])),_0xc2427f[_0x43de18(0x223)]||(_0xc2427f[_0x43de18(0x223)]=!0x0,_0xc2427f[_0x43de18(0x146)](_0x43de18(0xe0),_0x53a15e));}function _0x2ea999(){const _0x69fec6=_0x5f0703;this[_0x30edc0][_0x69fec6(0xf5)]();}function _0x2b94e1(_0x4fe559,_0x201765){const _0x365988=_0x5f0703;this[_0x30edc0]['emit'](_0x365988(0x133),_0x4fe559,_0x201765);}function _0xb83f7d(_0x17648e){const _0x1809bd=_0x5f0703,_0x4b3e55=this[_0x30edc0];_0x4b3e55[_0x1809bd(0xd1)]&&_0x4b3e55[_0x1809bd(0x174)](_0x17648e,!this[_0x1809bd(0x122)],_0x411443),_0x4b3e55[_0x1809bd(0x146)]('ping',_0x17648e);}function _0x3f3538(_0xcb52c1){const _0x32f113=_0x5f0703;this[_0x30edc0][_0x32f113(0x146)](_0x32f113(0x174),_0xcb52c1);}function _0x3d1662(_0x16b91f){const _0x25a19a=_0x5f0703;_0x16b91f[_0x25a19a(0x117)]();}function _0xb831e5(_0x1c898a){const _0xb6694e=_0x5f0703,_0x3433c6=this[_0x30edc0];_0x3433c6[_0xb6694e(0xc3)]!==_0x2c68dd[_0xb6694e(0xb7)]&&(_0x3433c6['readyState']===_0x2c68dd[_0xb6694e(0x170)]&&(_0x3433c6[_0xb6694e(0x18d)]=_0x2c68dd[_0xb6694e(0x12d)],_0xf794c4(_0x3433c6)),this[_0xb6694e(0x89)]['end'](),_0x3433c6[_0xb6694e(0x223)]||(_0x3433c6['_errorEmitted']=!0x0,_0x3433c6[_0xb6694e(0x146)]('error',_0x1c898a)));}function _0xf794c4(_0x1770f1){const _0x1c12a4=_0x5f0703;_0x1770f1[_0x1c12a4(0x121)]=setTimeout(_0x1770f1['_socket'][_0x1c12a4(0x71)][_0x1c12a4(0x16c)](_0x1770f1[_0x1c12a4(0x89)]),_0x3bc751);}function _0x594d78(){const _0x1d0f09=_0x5f0703,_0x2868b6=this[_0x30edc0];this['removeListener'](_0x1d0f09(0x227),_0x594d78),this[_0x1d0f09(0x233)]('data',_0x214132),this[_0x1d0f09(0x233)]('end',_0x38d164),_0x2868b6['_readyState']=_0x2c68dd[_0x1d0f09(0x12d)];let _0x1b1ed8;!this['_readableState'][_0x1d0f09(0x82)]&&!_0x2868b6[_0x1d0f09(0x12f)]&&!_0x2868b6[_0x1d0f09(0xf3)]['_writableState'][_0x1d0f09(0x185)]&&(_0x1b1ed8=_0x2868b6['_socket'][_0x1d0f09(0x167)]())!==null&&_0x2868b6[_0x1d0f09(0xf3)][_0x1d0f09(0x189)](_0x1b1ed8),_0x2868b6[_0x1d0f09(0xf3)][_0x1d0f09(0x214)](),this[_0x30edc0]=void 0x0,clearTimeout(_0x2868b6['_closeTimer']),_0x2868b6[_0x1d0f09(0xf3)][_0x1d0f09(0xf8)][_0x1d0f09(0x1d1)]||_0x2868b6[_0x1d0f09(0xf3)][_0x1d0f09(0xf8)][_0x1d0f09(0x185)]?_0x2868b6[_0x1d0f09(0xf5)]():(_0x2868b6[_0x1d0f09(0xf3)]['on'](_0x1d0f09(0xe0),_0x2ea999),_0x2868b6[_0x1d0f09(0xf3)]['on'](_0x1d0f09(0xe1),_0x2ea999));}function _0x214132(_0x343753){const _0x50bc54=_0x5f0703;this[_0x30edc0][_0x50bc54(0xf3)][_0x50bc54(0x189)](_0x343753)||this[_0x50bc54(0x17a)]();}function _0x38d164(){const _0x28f990=_0x5f0703,_0xeaf871=this[_0x30edc0];_0xeaf871[_0x28f990(0x18d)]=_0x2c68dd['CLOSING'],_0xeaf871[_0x28f990(0xf3)][_0x28f990(0x214)](),this[_0x28f990(0x214)]();}function _0x4d71f8(){const _0x341ca2=_0x5f0703,_0xf6b399=this[_0x30edc0];this[_0x341ca2(0x233)](_0x341ca2(0xe0),_0x4d71f8),this['on']('error',_0x411443),_0xf6b399&&(_0xf6b399[_0x341ca2(0x18d)]=_0x2c68dd[_0x341ca2(0x12d)],this[_0x341ca2(0x71)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x156d35}=oe;function _0x51061d(_0x45541c){const _0x3e1b93=_0x147c;_0x45541c[_0x3e1b93(0x146)](_0x3e1b93(0x227));}function _0x132261(){const _0x4b8a2d=_0x147c;!this[_0x4b8a2d(0x138)]&&this['_writableState'][_0x4b8a2d(0x1d1)]&&this['destroy']();}function _0x906df9(_0x2fdac3){const _0x1477ef=_0x147c;this['removeListener']('error',_0x906df9),this[_0x1477ef(0x71)](),this['listenerCount'](_0x1477ef(0xe0))===0x0&&this['emit'](_0x1477ef(0xe0),_0x2fdac3);}function _0x5468b3(_0x54615e,_0x535106){const _0x5d77b0=_0x147c;let _0x91fae7=!0x0;const _0x3b90c8=new _0x156d35({..._0x535106,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x54615e['on'](_0x5d77b0(0x133),function(_0x17437e,_0x45805b){const _0x5be8ed=_0x5d77b0,_0x5dc8da=!_0x45805b&&_0x3b90c8[_0x5be8ed(0x6f)][_0x5be8ed(0x21f)]?_0x17437e[_0x5be8ed(0x119)]():_0x17437e;_0x3b90c8['push'](_0x5dc8da)||_0x54615e[_0x5be8ed(0x17a)]();}),_0x54615e[_0x5d77b0(0x1a1)]('error',function(_0x3a2dbf){const _0x964f07=_0x5d77b0;_0x3b90c8['destroyed']||(_0x91fae7=!0x1,_0x3b90c8[_0x964f07(0x71)](_0x3a2dbf));}),_0x54615e['once'](_0x5d77b0(0x227),function(){const _0x1b2272=_0x5d77b0;_0x3b90c8[_0x1b2272(0x138)]||_0x3b90c8[_0x1b2272(0x70)](null);}),_0x3b90c8[_0x5d77b0(0x72)]=function(_0x567c17,_0x251243){const _0xda813b=_0x5d77b0;if(_0x54615e['readyState']===_0x54615e[_0xda813b(0xb7)]){_0x251243(_0x567c17),process['nextTick'](_0x51061d,_0x3b90c8);return;}let _0xbd56a3=!0x1;_0x54615e[_0xda813b(0x1a1)](_0xda813b(0xe0),function(_0x45bcb5){_0xbd56a3=!0x0,_0x251243(_0x45bcb5);}),_0x54615e[_0xda813b(0x1a1)](_0xda813b(0x227),function(){const _0x410d44=_0xda813b;_0xbd56a3||_0x251243(_0x567c17),process[_0x410d44(0x14c)](_0x51061d,_0x3b90c8);}),_0x91fae7&&_0x54615e['terminate']();},_0x3b90c8[_0x5d77b0(0x15e)]=function(_0x4ca639){const _0x4813e8=_0x5d77b0;if(_0x54615e[_0x4813e8(0xc3)]===_0x54615e[_0x4813e8(0x150)]){_0x54615e[_0x4813e8(0x1a1)](_0x4813e8(0x186),function(){const _0x493193=_0x4813e8;_0x3b90c8[_0x493193(0x15e)](_0x4ca639);});return;}_0x54615e['_socket']!==null&&(_0x54615e[_0x4813e8(0x89)][_0x4813e8(0xf8)][_0x4813e8(0x1d1)]?(_0x4ca639(),_0x3b90c8[_0x4813e8(0x6f)]['endEmitted']&&_0x3b90c8[_0x4813e8(0x71)]()):(_0x54615e[_0x4813e8(0x89)][_0x4813e8(0x1a1)](_0x4813e8(0xe1),function(){_0x4ca639();}),_0x54615e['close']()));},_0x3b90c8['_read']=function(){_0x54615e['isPaused']&&_0x54615e['resume']();},_0x3b90c8[_0x5d77b0(0x1f9)]=function(_0x73b671,_0x27ee67,_0x41170c){const _0x582462=_0x5d77b0;if(_0x54615e[_0x582462(0xc3)]===_0x54615e['CONNECTING']){_0x54615e[_0x582462(0x1a1)](_0x582462(0x186),function(){const _0x549361=_0x582462;_0x3b90c8[_0x549361(0x1f9)](_0x73b671,_0x27ee67,_0x41170c);});return;}_0x54615e[_0x582462(0xdf)](_0x73b671,_0x41170c);},_0x3b90c8['on'](_0x5d77b0(0x214),_0x132261),_0x3b90c8['on'](_0x5d77b0(0xe0),_0x906df9),_0x3b90c8;}return Oe=_0x5468b3,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x168207}=ae();function _0x3cb344(_0x2a0ead){const _0x36dc10=_0x147c,_0x332ff6=new Set();let _0x4dff6f=-0x1,_0x2d0c6e=-0x1,_0x2d70e8=0x0;for(_0x2d70e8;_0x2d70e8<_0x2a0ead[_0x36dc10(0x1d3)];_0x2d70e8++){const _0x193847=_0x2a0ead['charCodeAt'](_0x2d70e8);if(_0x2d0c6e===-0x1&&_0x168207[_0x193847]===0x1)_0x4dff6f===-0x1&&(_0x4dff6f=_0x2d70e8);else{if(_0x2d70e8!==0x0&&(_0x193847===0x20||_0x193847===0x9))_0x2d0c6e===-0x1&&_0x4dff6f!==-0x1&&(_0x2d0c6e=_0x2d70e8);else{if(_0x193847===0x2c){if(_0x4dff6f===-0x1)throw new SyntaxError(_0x36dc10(0x1c1)+_0x2d70e8);_0x2d0c6e===-0x1&&(_0x2d0c6e=_0x2d70e8);const _0x2fae07=_0x2a0ead['slice'](_0x4dff6f,_0x2d0c6e);if(_0x332ff6[_0x36dc10(0x131)](_0x2fae07))throw new SyntaxError(_0x36dc10(0x123)+_0x2fae07+'\x22\x20subprotocol\x20is\x20duplicated');_0x332ff6[_0x36dc10(0xb2)](_0x2fae07),_0x4dff6f=_0x2d0c6e=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x2d70e8);}}}if(_0x4dff6f===-0x1||_0x2d0c6e!==-0x1)throw new SyntaxError(_0x36dc10(0xfa));const _0x48d374=_0x2a0ead['slice'](_0x4dff6f,_0x2d70e8);if(_0x332ff6[_0x36dc10(0x131)](_0x48d374))throw new SyntaxError('The\x20\x22'+_0x48d374+'\x22\x20subprotocol\x20is\x20duplicated');return _0x332ff6[_0x36dc10(0xb2)](_0x48d374),_0x332ff6;}return Ce={'parse':_0x3cb344},Ce;}var Te,rt;function Ft(){const _0x159bb6=_0x5ab958;if(rt)return Te;rt=0x1;const _0x18bae0=nt,_0xb01677=ot,{Duplex:_0x2a9fc7}=oe,{createHash:_0xab5a8}=Le,_0x1f3047=ct(),_0x359d21=he(),_0x3fb4e2=At(),_0x54943c=Pe(),{GUID:_0x3b83e0,kWebSocket:_0x21da55}=H(),_0x5b23b1=/^[+/0-9A-Za-z]{22}==$/,_0x9419e9=0x0,_0x2c17e7=0x1,_0x5c037c=0x2;class _0x402c93 extends _0x18bae0{constructor(_0x1fdbb2,_0x5562eb){const _0x34600f=_0x147c;if(super(),_0x1fdbb2={'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':_0x54943c,..._0x1fdbb2},_0x1fdbb2[_0x34600f(0x1ce)]==null&&!_0x1fdbb2[_0x34600f(0x1c8)]&&!_0x1fdbb2[_0x34600f(0xbc)]||_0x1fdbb2['port']!=null&&(_0x1fdbb2['server']||_0x1fdbb2[_0x34600f(0xbc)])||_0x1fdbb2[_0x34600f(0x1c8)]&&_0x1fdbb2[_0x34600f(0xbc)])throw new TypeError(_0x34600f(0x218));if(_0x1fdbb2[_0x34600f(0x1ce)]!=null?(this['_server']=_0xb01677[_0x34600f(0x9a)]((_0x542986,_0xb82e6d)=>{const _0x51342c=_0x34600f,_0x272b2e=_0xb01677['STATUS_CODES'][0x1aa];_0xb82e6d['writeHead'](0x1aa,{'Content-Length':_0x272b2e[_0x51342c(0x1d3)],'Content-Type':_0x51342c(0xb5)}),_0xb82e6d[_0x51342c(0x214)](_0x272b2e);}),this['_server'][_0x34600f(0x1cd)](_0x1fdbb2['port'],_0x1fdbb2[_0x34600f(0x134)],_0x1fdbb2[_0x34600f(0x228)],_0x5562eb)):_0x1fdbb2[_0x34600f(0x1c8)]&&(this['_server']=_0x1fdbb2[_0x34600f(0x1c8)]),this['_server']){const _0x376e5c=this[_0x34600f(0x146)][_0x34600f(0x16c)](this,_0x34600f(0x165));this['_removeListeners']=_0x128a79(this[_0x34600f(0x1db)],{'listening':this[_0x34600f(0x146)]['bind'](this,'listening'),'error':this[_0x34600f(0x146)][_0x34600f(0x16c)](this,_0x34600f(0xe0)),'upgrade':(_0x3d2994,_0x550113,_0x473b58)=>{const _0x1ded15=_0x34600f;this[_0x1ded15(0x1d2)](_0x3d2994,_0x550113,_0x473b58,_0x376e5c);}});}_0x1fdbb2[_0x34600f(0x20e)]===!0x0&&(_0x1fdbb2['perMessageDeflate']={}),_0x1fdbb2[_0x34600f(0xa7)]&&(this['clients']=new Set(),this[_0x34600f(0x22f)]=!0x1),this[_0x34600f(0xff)]=_0x1fdbb2,this[_0x34600f(0x1cf)]=_0x9419e9;}[_0x159bb6(0x1ec)](){const _0x164e75=_0x159bb6;if(this['options']['noServer'])throw new Error(_0x164e75(0xa3));return this[_0x164e75(0x1db)]?this[_0x164e75(0x1db)][_0x164e75(0x1ec)]():null;}['close'](_0x3193a4){const _0xfb1283=_0x159bb6;if(this['_state']===_0x5c037c){_0x3193a4&&this[_0xfb1283(0x1a1)](_0xfb1283(0x227),()=>{const _0x280602=_0xfb1283;_0x3193a4(new Error(_0x280602(0x96)));}),process[_0xfb1283(0x14c)](_0x2e806d,this);return;}if(_0x3193a4&&this['once'](_0xfb1283(0x227),_0x3193a4),this[_0xfb1283(0x1cf)]!==_0x2c17e7){if(this[_0xfb1283(0x1cf)]=_0x2c17e7,this[_0xfb1283(0xff)]['noServer']||this[_0xfb1283(0xff)][_0xfb1283(0x1c8)])this[_0xfb1283(0x1db)]&&(this[_0xfb1283(0x102)](),this[_0xfb1283(0x102)]=this[_0xfb1283(0x1db)]=null),this[_0xfb1283(0xd3)]?this[_0xfb1283(0xd3)][_0xfb1283(0x1c0)]?this[_0xfb1283(0x22f)]=!0x0:process['nextTick'](_0x2e806d,this):process['nextTick'](_0x2e806d,this);else{const _0x5113c3=this['_server'];this[_0xfb1283(0x102)](),this['_removeListeners']=this[_0xfb1283(0x1db)]=null,_0x5113c3[_0xfb1283(0x227)](()=>{_0x2e806d(this);});}}}[_0x159bb6(0x14d)](_0xa8bfe7){const _0x2d28b8=_0x159bb6;if(this[_0x2d28b8(0xff)][_0x2d28b8(0xe6)]){const _0x1a224e=_0xa8bfe7['url']['indexOf']('?');if((_0x1a224e!==-0x1?_0xa8bfe7[_0x2d28b8(0x1d9)][_0x2d28b8(0x115)](0x0,_0x1a224e):_0xa8bfe7['url'])!==this['options'][_0x2d28b8(0xe6)])return!0x1;}return!0x0;}[_0x159bb6(0x1d2)](_0x1ccbff,_0x46f971,_0x239151,_0x3c781c){const _0x5735cc=_0x159bb6;_0x46f971['on'](_0x5735cc(0xe0),_0x70ae7e);const _0x29d5ea=_0x1ccbff[_0x5735cc(0x1e4)]['sec-websocket-key'],_0x14d32b=_0x1ccbff[_0x5735cc(0x1e4)][_0x5735cc(0x163)],_0x1dbb60=+_0x1ccbff['headers'][_0x5735cc(0x129)];if(_0x1ccbff[_0x5735cc(0x109)]!==_0x5735cc(0xa9)){_0x544e81(this,_0x1ccbff,_0x46f971,0x195,_0x5735cc(0x1d8));return;}if(_0x14d32b===void 0x0||_0x14d32b['toLowerCase']()!=='websocket'){_0x544e81(this,_0x1ccbff,_0x46f971,0x190,_0x5735cc(0x1a7));return;}if(_0x29d5ea===void 0x0||!_0x5b23b1[_0x5735cc(0x178)](_0x29d5ea)){_0x544e81(this,_0x1ccbff,_0x46f971,0x190,_0x5735cc(0x16a));return;}if(_0x1dbb60!==0x8&&_0x1dbb60!==0xd){_0x544e81(this,_0x1ccbff,_0x46f971,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header');return;}if(!this[_0x5735cc(0x14d)](_0x1ccbff)){_0x271e21(_0x46f971,0x190);return;}const _0x1b3846=_0x1ccbff[_0x5735cc(0x1e4)][_0x5735cc(0x1f3)];let _0x30ae8c=new Set();if(_0x1b3846!==void 0x0)try{_0x30ae8c=_0x3fb4e2['parse'](_0x1b3846);}catch{_0x544e81(this,_0x1ccbff,_0x46f971,0x190,_0x5735cc(0x200));return;}const _0x512030=_0x1ccbff[_0x5735cc(0x1e4)][_0x5735cc(0xee)],_0x594cb1={};if(this[_0x5735cc(0xff)][_0x5735cc(0x20e)]&&_0x512030!==void 0x0){const _0x34cc3e=new _0x359d21(this[_0x5735cc(0xff)]['perMessageDeflate'],!0x0,this[_0x5735cc(0xff)]['maxPayload']);try{const _0x14b96f=_0x1f3047['parse'](_0x512030);_0x14b96f[_0x359d21['extensionName']]&&(_0x34cc3e[_0x5735cc(0xfc)](_0x14b96f[_0x359d21[_0x5735cc(0x79)]]),_0x594cb1[_0x359d21[_0x5735cc(0x79)]]=_0x34cc3e);}catch{_0x544e81(this,_0x1ccbff,_0x46f971,0x190,_0x5735cc(0x7e));return;}}if(this[_0x5735cc(0xff)][_0x5735cc(0x168)]){const _0x16a676={'origin':_0x1ccbff[_0x5735cc(0x1e4)][''+(_0x1dbb60===0x8?_0x5735cc(0x19e):'origin')],'secure':!!(_0x1ccbff[_0x5735cc(0x73)][_0x5735cc(0x13c)]||_0x1ccbff[_0x5735cc(0x73)][_0x5735cc(0x130)]),'req':_0x1ccbff};if(this[_0x5735cc(0xff)][_0x5735cc(0x168)][_0x5735cc(0x1d3)]===0x2){this[_0x5735cc(0xff)]['verifyClient'](_0x16a676,(_0x3fafb4,_0x597c5f,_0xa8f76e,_0x3a86ab)=>{const _0x2fe117=_0x5735cc;if(!_0x3fafb4)return _0x271e21(_0x46f971,_0x597c5f||0x191,_0xa8f76e,_0x3a86ab);this[_0x2fe117(0x173)](_0x594cb1,_0x29d5ea,_0x30ae8c,_0x1ccbff,_0x46f971,_0x239151,_0x3c781c);});return;}if(!this[_0x5735cc(0xff)][_0x5735cc(0x168)](_0x16a676))return _0x271e21(_0x46f971,0x191);}this['completeUpgrade'](_0x594cb1,_0x29d5ea,_0x30ae8c,_0x1ccbff,_0x46f971,_0x239151,_0x3c781c);}['completeUpgrade'](_0x15eaec,_0x522e25,_0x98212,_0x72de03,_0x5391df,_0xbbed7e,_0x1c7dbf){const _0x1b3146=_0x159bb6;if(!_0x5391df['readable']||!_0x5391df['writable'])return _0x5391df[_0x1b3146(0x71)]();if(_0x5391df[_0x21da55])throw new Error(_0x1b3146(0xfe));if(this['_state']>_0x9419e9)return _0x271e21(_0x5391df,0x1f7);const _0x2bcfac=[_0x1b3146(0x151),'Upgrade:\x20websocket',_0x1b3146(0x10b),'Sec-WebSocket-Accept:\x20'+_0xab5a8('sha1')[_0x1b3146(0xb1)](_0x522e25+_0x3b83e0)['digest'](_0x1b3146(0x1c4))],_0x5396c2=new this[(_0x1b3146(0xff))][(_0x1b3146(0xea))](null,void 0x0,this[_0x1b3146(0xff)]);if(_0x98212[_0x1b3146(0x1c0)]){const _0x5867b7=this[_0x1b3146(0xff)][_0x1b3146(0x192)]?this[_0x1b3146(0xff)][_0x1b3146(0x192)](_0x98212,_0x72de03):_0x98212['values']()[_0x1b3146(0x1b3)]()['value'];_0x5867b7&&(_0x2bcfac[_0x1b3146(0x70)](_0x1b3146(0x148)+_0x5867b7),_0x5396c2[_0x1b3146(0x17d)]=_0x5867b7);}if(_0x15eaec[_0x359d21['extensionName']]){const _0x2e08af=_0x15eaec[_0x359d21['extensionName']][_0x1b3146(0x204)],_0x171e49=_0x1f3047['format']({[_0x359d21[_0x1b3146(0x79)]]:[_0x2e08af]});_0x2bcfac[_0x1b3146(0x70)](_0x1b3146(0xba)+_0x171e49),_0x5396c2[_0x1b3146(0xe2)]=_0x15eaec;}this[_0x1b3146(0x146)](_0x1b3146(0x1e4),_0x2bcfac,_0x72de03),_0x5391df['write'](_0x2bcfac[_0x1b3146(0xab)]('\x0d\x0a')[_0x1b3146(0x179)]('\x0d\x0a')),_0x5391df[_0x1b3146(0x233)](_0x1b3146(0xe0),_0x70ae7e),_0x5396c2[_0x1b3146(0x1ef)](_0x5391df,_0xbbed7e,{'allowSynchronousEvents':this['options'][_0x1b3146(0x221)],'maxPayload':this[_0x1b3146(0xff)][_0x1b3146(0xf6)],'skipUTF8Validation':this[_0x1b3146(0xff)]['skipUTF8Validation']}),this[_0x1b3146(0xd3)]&&(this[_0x1b3146(0xd3)][_0x1b3146(0xb2)](_0x5396c2),_0x5396c2['on'](_0x1b3146(0x227),()=>{const _0x3411e3=_0x1b3146;this[_0x3411e3(0xd3)][_0x3411e3(0x188)](_0x5396c2),this[_0x3411e3(0x22f)]&&!this[_0x3411e3(0xd3)][_0x3411e3(0x1c0)]&&process[_0x3411e3(0x14c)](_0x2e806d,this);})),_0x1c7dbf(_0x5396c2,_0x72de03);}}Te=_0x402c93;function _0x128a79(_0x1ea921,_0x1d752a){const _0x6e9e68=_0x159bb6;for(const _0x40dd53 of Object[_0x6e9e68(0x14f)](_0x1d752a))_0x1ea921['on'](_0x40dd53,_0x1d752a[_0x40dd53]);return function(){const _0xf92f34=_0x6e9e68;for(const _0x5afec7 of Object['keys'](_0x1d752a))_0x1ea921[_0xf92f34(0x233)](_0x5afec7,_0x1d752a[_0x5afec7]);};}function _0x2e806d(_0x5275eb){const _0x280496=_0x159bb6;_0x5275eb[_0x280496(0x1cf)]=_0x5c037c,_0x5275eb[_0x280496(0x146)](_0x280496(0x227));}function _0x70ae7e(){this['destroy']();}function _0x271e21(_0x46c67b,_0x4d37de,_0x81f37a,_0x1f41e9){const _0x4e60f9=_0x159bb6;_0x81f37a=_0x81f37a||_0xb01677[_0x4e60f9(0x113)][_0x4d37de],_0x1f41e9={'Connection':_0x4e60f9(0x227),'Content-Type':_0x4e60f9(0x183),'Content-Length':Buffer[_0x4e60f9(0x95)](_0x81f37a),..._0x1f41e9},_0x46c67b[_0x4e60f9(0x1a1)](_0x4e60f9(0xe1),_0x46c67b['destroy']),_0x46c67b['end'](_0x4e60f9(0x190)+_0x4d37de+'\x20'+_0xb01677[_0x4e60f9(0x113)][_0x4d37de]+'\x0d\x0a'+Object[_0x4e60f9(0x14f)](_0x1f41e9)[_0x4e60f9(0x10d)](_0xb59ffb=>_0xb59ffb+':\x20'+_0x1f41e9[_0xb59ffb])[_0x4e60f9(0x179)]('\x0d\x0a')+_0x4e60f9(0x1e3)+_0x81f37a);}function _0x544e81(_0x108c6d,_0x475c92,_0x22eca5,_0x4e5e05,_0x52e016){const _0x3cae8f=_0x159bb6;if(_0x108c6d[_0x3cae8f(0x1b4)]('wsClientError')){const _0x5639e8=new Error(_0x52e016);Error[_0x3cae8f(0x21e)](_0x5639e8,_0x544e81),_0x108c6d[_0x3cae8f(0x146)](_0x3cae8f(0x1f0),_0x5639e8,_0x22eca5,_0x475c92);}else _0x271e21(_0x22eca5,_0x4e5e05,_0x52e016);}return Te;}function _0x581b(){const _0x2d5fc8=['_isServer','The\x20\x22','_doCreateSocket','Blob','Injector','__esModule','target','sec-websocket-version','Z_DEFAULT_WINDOWBITS','setHeader','ILogService','CLOSING','unmask','_closeFrameReceived','encrypted','has','\x22\x20must\x20have\x20only\x20a\x20single\x20value','message','host','protocol','CollaborationSocketService','pluginName','destroyed','_redirects','Upgrade','kCode','authorized','concurrency','666420LeoioX','set','getConfig','Invalid\x20value\x20for\x20parameter\x20\x22','Disposable','318992gKAlHv','_binaryType','client_no_context_takeover','emit','isIP','Sec-WebSocket-Protocol:\x20','socketPath','_options','Maximum\x20redirects\x20exceeded','nextTick','shouldHandle','bufferedAmount','keys','CONNECTING','HTTP/1.1\x20101\x20Switching\x20Protocols','search','toDisposable','href','sec-websocket-accept','_fragmented','https','servername','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','@univerjs-pro/collaboration','number','invalid\x20opcode\x20','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','_final','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','rsv1','pathname','isInteger','upgrade','_opcode','connection','wasClean','read','verifyClient','code','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','replace','bind','kReason','IConfigService','create','OPEN','wss:','protocolVersion','completeUpgrade','pong','registerDependencies','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','test','join','pause','unexpected-response','ping','_protocol','@univerjs/core','flush','readOnly','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','cleanup','text/html','server_no_context_takeover','errorEmitted','open','writeUInt16BE','delete','write','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','setTimeout','_httpService','_readyState','_payloadLength','threshold','HTTP/1.1\x20','username','handleProtocols','function','http:','total-length','WS_ERR_INVALID_OPCODE','kAborted','decompress','isArray','_closeCode','dispose','createDeflateRaw','data','sec-websocket-origin','isPaused','freeze','once','_url','buffer','addEventListener','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','invalid\x20UTF-8\x20sequence','Invalid\x20Upgrade\x20header','cork','dataMessage','_messageLength','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','constructor','1IUzvsD','dequeue','clientNoContextTakeover','catch','warn','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','next','listenerCount','statusCode','_originalSecure','shift','Cookie','request','mask','removeEventListener','readUInt32BE','enqueue','WS_ERR_INVALID_UTF8','_configService','size','Unexpected\x20character\x20at\x20index\x20','Server\x20sent\x20no\x20subprotocol','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','base64','share','_registerDependencies','followRedirects','server','net','kIsForOnEventAttribute','_fin','Module','listen','port','_state','clientMaxWindowBits','finished','handleUpgrade','length','WebSocket\x20is\x20not\x20open:\x20readyState\x20','UniverCollaborationClientNodePlugin','Z_SYNC_FLUSH','unshift','Invalid\x20HTTP\x20method','url','kData','_server','_sender','authorization','190718TVtnor','_totalPayloadLength','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','getOwnPropertyDescriptor','_threshold','\x0d\x0a\x0d\x0a','headers','client','removeAllListeners','handshakeTimeout','species','normalizeParams','The\x20URL\x27s\x20pathname\x20is\x20empty','then','address','readUInt16BE','toLowerCase','setSocket','wsClientError','pow','listeners','sec-websocket-protocol','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','forEach','Invalid\x20Sec-WebSocket-Accept\x20header','cookie','onmessage','_write','DisposableCollection','isView','_no_context_takeover','Plugin','invalid\x20payload\x20length\x20','_maskBuffer','Invalid\x20Sec-WebSocket-Protocol\x20header','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','controlMessage','redirect','params','env','@univerjs-pro/collaboration-client','find','kRun','MASK\x20must\x20be\x20set','tls','object','dispatch','sendFrame','perMessageDeflate','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','_closeMessage','RSV1\x20must\x20be\x20clear','createInflateRaw','serverMaxWindowBits','end','466146FbxlBj','Inject','Unexpected\x20server\x20response:\x20','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','string','\x22:\x20','binaryType','getMask','generateMask','captureStackTrace','objectMode','invalid\x20opcode\x200','allowSynchronousEvents','getData','_errorEmitted','zlib','1466364nYDqHx','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','close','backlog','Parameter\x20\x22','server_max_window_bits','@univerjs/network','kDone','skipUTF8Validation','WS_ERR_INVALID_CLOSE_CODE','_shouldEmitClose','Unknown\x20parameter\x20\x22','_skipUTF8Validation','prototype','removeListener','_inflate','isBuffer','alloc','acceptAsServer','maskBuffer','_readableState','push','destroy','_destroy','socket','_buffers','_req','acceptAsClient','hostname','auth','extensionName','createSocket','_bufferedAmount','COLLABORATION_CLIENT_NODE_CONFIG_KEY','autoPong','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','indexOf','terminate','Invalid\x20Sec-WebSocket-Extensions\x20header','endEmitted','needDrain','allocUnsafe','defineProperty','pipe','The\x20URL\x20contains\x20a\x20fragment\x20identifier','setNoDelay','_socket','getPayloadLength16','_errored','stream','writeUIntBE','_loop','ws:','_paused','_deflate','isValidUTF8','_firstFragment','concurrencyLimit','byteLength','The\x20server\x20is\x20not\x20running','pending','customHeaders','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','createServer','Max\x20payload\x20size\x20exceeded','type','getPayloadLength64','timeout','onStarting','_originalIpc','Sec-WebSocket-Protocol','consume','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','compress','Sec-WebSocket-Extensions','onerror','clientTracking','_max_window_bits','GET','reset','concat','connect','WS_ERR_UNEXPECTED_MASK','_masked','get','from','update','add','_originalHostOrSocketPath','NodeCollaborationSocketService','text/plain','blob','CLOSED','opcode','_allowSynchronousEvents','Sec-WebSocket-Extensions:\x20','maxRedirects','noServer','_mask','getBlobData','arraybuffer','entries','location','createError','readyState','haveLength','onopen','apply','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','_queue','_maxPayload','kListener','frame','Sec-WebSocket-Origin','call','includes','client_max_window_bits','1626712uOlXrZ','_autoPong','WS_ERR_EXPECTED_FIN','clients','websocket','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','startsWith','finishRequest','invalid\x20status\x20code\x20','_closeFrameSent','jobs','toStringTag','Observable','permessage-deflate','fin','send','error','finish','_extensions','kByteLength','Invalid\x20URL:\x20','origin','path','exports','extensions','startLoop','WebSocket','_bufferedBytes','isServer','WS_ERR_UNEXPECTED_RSV_1','sec-websocket-extensions','ws+unix:','arrayBuffer','File','default','_receiver','_decompress','emitClose','maxPayload','reason','_writableState','_compressed','Unexpected\x20end\x20of\x20input','kMessage','accept','conclude','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','options','hash','split','_removeListeners','onclose','charCodeAt','http','byteOffset','handleEvent','HTTPService','method','UniverCollaborationClientPlugin','Connection:\x20Upgrade','_fragments','map','nodebuffer','FIN\x20must\x20be\x20set','status-code','defaultPort','events','STATUS_CODES','serverNoContextTakeover','slice','Unsupported\x20protocol\x20version:\x20','resume','offer','toString','9KHfIKd','_compress','29505TVfoyr','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','crypto','password','WS_ERR_UNEXPECTED_RSV_2_3','_closeTimer'];_0x581b=function(){return _0x2d5fc8;};return _0x581b();}Ft();var jt=Object[_0x5ab958(0x1e1)],Wt=(_0x3ab8e8,_0x22f10f,_0x21b241,_0x3bf0cd)=>{for(var _0x3b3618=_0x3bf0cd>0x1?void 0x0:_0x3bf0cd?jt(_0x22f10f,_0x21b241):_0x22f10f,_0x394988=_0x3ab8e8['length']-0x1,_0x1741ff;_0x394988>=0x0;_0x394988--)(_0x1741ff=_0x3ab8e8[_0x394988])&&(_0x3b3618=_0x1741ff(_0x3b3618)||_0x3b3618);return _0x3b3618;},qt=(_0x54c785,_0x33868a)=>(_0x49d2d6,_0x4e3b02)=>_0x33868a(_0x49d2d6,_0x4e3b02,_0x54c785);let ke=class extends A[_0x5ab958(0x142)]{constructor(_0x231118){const _0x15952f=_0x5ab958;super(),this[_0x15952f(0x1bf)]=_0x231118;}[_0x5ab958(0x7a)](_0x163ab3){const _0x5a72e8=_0x5ab958;var _0x14647;const _0x2bb103=(_0x14647=this[_0x5a72e8(0x1bf)][_0x5a72e8(0x140)](fe))==null?void 0x0:_0x14647['customHeaders'];try{const _0x823c24=new $t(_0x163ab3,{'headers':{..._0x2bb103}}),_0x4ad0a2=new A[(_0x5a72e8(0x1fa))]();return{'URL':_0x163ab3,'close':(_0x5e000c,_0x2dfc71)=>{const _0x1a3551=_0x5a72e8;_0x823c24[_0x1a3551(0x227)](_0x5e000c,_0x2dfc71),_0x4ad0a2[_0x1a3551(0x19b)]();},'send':_0xcbf607=>{const _0x1f1bda=_0x5a72e8;_0x823c24[_0x1f1bda(0xdf)](_0xcbf607);},'open$':new V[(_0x5a72e8(0xdc))](_0x2479c3=>{const _0x51e37f=_0x5a72e8,_0xbae64b=_0x537571=>_0x2479c3['next'](_0x537571);_0x823c24[_0x51e37f(0x1a4)](_0x51e37f(0x186),_0xbae64b),_0x4ad0a2[_0x51e37f(0xb2)](A['toDisposable'](()=>_0x823c24[_0x51e37f(0x1bb)](_0x51e37f(0x186),_0xbae64b)));})[_0x5a72e8(0x86)](V['share']()),'close$':new V[(_0x5a72e8(0xdc))](_0x476385=>{const _0x4d90bd=_0x5a72e8,_0x41f5b7=_0x3dd83a=>_0x476385['next'](_0x3dd83a);_0x823c24['addEventListener'](_0x4d90bd(0x227),_0x41f5b7),_0x4ad0a2[_0x4d90bd(0xb2)](A['toDisposable'](()=>_0x823c24[_0x4d90bd(0x1bb)](_0x4d90bd(0x227),_0x41f5b7)));})[_0x5a72e8(0x86)](V[_0x5a72e8(0x1c5)]()),'error$':new V[(_0x5a72e8(0xdc))](_0x470ff1=>{const _0x2040dc=_0x5a72e8,_0x1e84ba=_0x2b514b=>_0x470ff1[_0x2040dc(0x1b3)](_0x2b514b);_0x823c24[_0x2040dc(0x1a4)](_0x2040dc(0xe0),_0x1e84ba),_0x4ad0a2['add'](A[_0x2040dc(0x153)](()=>_0x823c24['removeEventListener']('error',_0x1e84ba)));})[_0x5a72e8(0x86)](V[_0x5a72e8(0x1c5)]()),'message$':new V[(_0x5a72e8(0xdc))](_0x24385d=>{const _0x1072f7=_0x5a72e8,_0x2f9a74=_0x39d4ca=>_0x24385d[_0x1072f7(0x1b3)](_0x39d4ca);_0x823c24[_0x1072f7(0x1a4)](_0x1072f7(0x133),_0x2f9a74),_0x4ad0a2[_0x1072f7(0xb2)](A[_0x1072f7(0x153)](()=>_0x823c24[_0x1072f7(0x1bb)](_0x1072f7(0x133),_0x2f9a74)));})[_0x5a72e8(0x86)](V[_0x5a72e8(0x1c5)]())};}catch(_0x22dd16){return console[_0x5a72e8(0xe0)](_0x22dd16),null;}}};ke=Wt([qt(0x0,A[_0x5ab958(0x16e)])],ke);var Gt=Object[_0x5ab958(0x85)],Vt=Object['getOwnPropertyDescriptor'],Ht=(_0x5edef4,_0x330029,_0x1a8942)=>_0x330029 in _0x5edef4?Gt(_0x5edef4,_0x330029,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1a8942}):_0x5edef4[_0x330029]=_0x1a8942,zt=(_0x10a466,_0x3b9bc5,_0x4313f2,_0x1be7e2)=>{const _0x3b644b=_0x5ab958;for(var _0x4575f4=_0x1be7e2>0x1?void 0x0:_0x1be7e2?Vt(_0x3b9bc5,_0x4313f2):_0x3b9bc5,_0x253e10=_0x10a466[_0x3b644b(0x1d3)]-0x1,_0x1f85ba;_0x253e10>=0x0;_0x253e10--)(_0x1f85ba=_0x10a466[_0x253e10])&&(_0x4575f4=_0x1f85ba(_0x4575f4)||_0x4575f4);return _0x4575f4;},Ne=(_0x5c47a1,_0xe4c0c6)=>(_0x4fec7d,_0x3b5fbd)=>_0xe4c0c6(_0x4fec7d,_0x3b5fbd,_0x5c47a1),Yt=(_0xb3f2d3,_0x4caf44,_0x3d258e)=>Ht(_0xb3f2d3,_0x4caf44+'',_0x3d258e);exports['UniverCollaborationClientNodePlugin']=class extends A[_0x5ab958(0x1fd)]{constructor(_0x25afae=Ct,_0x311082,_0x371d86,_0x1c2668){const _0x51c269=_0x5ab958;_0x25afae[_0x51c269(0x98)]||_0x311082[_0x51c269(0x1b1)](_0x51c269(0x201)),super(),this[_0x51c269(0x1bf)]=_0x371d86,this['_injector']=_0x1c2668,this[_0x51c269(0x1bf)]['setConfig'](fe,_0x25afae);}[_0x5ab958(0x9f)](){const _0x2940aa=_0x5ab958;this[_0x2940aa(0x1c6)]();}[_0x5ab958(0x1c6)](){const _0x353d60=_0x5ab958;A[_0x353d60(0x175)](this['_injector'],[[it['ISocketService'],{'useClass':ke}]]);}},Yt(exports[_0x5ab958(0x1d5)],_0x5ab958(0x137),_0x5ab958(0x1a5)),exports[_0x5ab958(0x1d5)]=zt([A['DependentOn'](st[_0x5ab958(0x10a)]),Ne(0x1,A[_0x5ab958(0x12c)]),Ne(0x2,A[_0x5ab958(0x16e)]),Ne(0x3,A[_0x5ab958(0x216)](A[_0x5ab958(0x126)]))],exports[_0x5ab958(0x1d5)]);var Kt=Object[_0x5ab958(0x1e1)],Xt=(_0x2ec433,_0x4eb6ed,_0x4a8266,_0x2ea48b)=>{const _0x256a83=_0x5ab958;for(var _0x340f16=_0x2ea48b>0x1?void 0x0:_0x2ea48b?Kt(_0x4eb6ed,_0x4a8266):_0x4eb6ed,_0x2e30f4=_0x2ec433[_0x256a83(0x1d3)]-0x1,_0x6fb0a9;_0x2e30f4>=0x0;_0x2e30f4--)(_0x6fb0a9=_0x2ec433[_0x2e30f4])&&(_0x340f16=_0x6fb0a9(_0x340f16)||_0x340f16);return _0x340f16;},ne=(_0x4f533e,_0x2294dc)=>(_0x52b226,_0x3828b0)=>_0x2294dc(_0x52b226,_0x3828b0,_0x4f533e);exports[_0x5ab958(0xb4)]=class extends st[_0x5ab958(0x136)]{constructor(_0x1c4992,_0x32d20d,_0x259084,_0x50997f,_0x219ccf){const _0x565f53=_0x5ab958;super(_0x1c4992,_0x32d20d,_0x259084,_0x50997f,_0x219ccf);const _0x19b66d=this[_0x565f53(0x1bf)][_0x565f53(0x140)](fe);this[_0x565f53(0x18c)]['registerHTTPInterceptor']({'interceptor':(_0x5333a3,_0x400edb)=>{const _0x2cebff=_0x565f53;var _0x40ad1f;const _0x2c1fc5=_0x5333a3[_0x2cebff(0x1e4)];return(_0x40ad1f=_0x19b66d==null?void 0x0:_0x19b66d[_0x2cebff(0x98)])!=null&&_0x40ad1f['cookie']&&_0x2c1fc5[_0x2cebff(0x13f)](_0x2cebff(0x1b8),_0x19b66d['customHeaders'][_0x2cebff(0x1f7)]),_0x400edb(_0x5333a3);}});}async[_0x5ab958(0x7a)](_0x236588){const _0x49f578=_0x5ab958;return this[_0x49f578(0x124)](_0x236588);}},exports[_0x5ab958(0xb4)]=Xt([ne(0x0,A['Inject'](A[_0x5ab958(0x126)])),ne(0x1,A['Inject'](it[_0x5ab958(0x108)])),ne(0x2,A[_0x5ab958(0x16e)]),ne(0x3,A[_0x5ab958(0x12c)]),ne(0x4,Ot['ISnapshotServerService'])],exports['NodeCollaborationSocketService']),exports[_0x5ab958(0x7c)]=fe;
1
+ 'use strict';const _0x399aed=_0x2a03;(function(_0x431760,_0x459d1b){const _0x191379=_0x2a03,_0x14d2e6=_0x431760();while(!![]){try{const _0x43cbfc=parseInt(_0x191379(0x20c))/0x1*(-parseInt(_0x191379(0x1ca))/0x2)+parseInt(_0x191379(0x234))/0x3*(-parseInt(_0x191379(0x19f))/0x4)+parseInt(_0x191379(0x185))/0x5+parseInt(_0x191379(0x230))/0x6*(parseInt(_0x191379(0x1e3))/0x7)+parseInt(_0x191379(0x243))/0x8+-parseInt(_0x191379(0x203))/0x9+parseInt(_0x191379(0x2a1))/0xa;if(_0x43cbfc===_0x459d1b)break;else _0x14d2e6['push'](_0x14d2e6['shift']());}catch(_0x329b5d){_0x14d2e6['push'](_0x14d2e6['shift']());}}}(_0x2fd3,0xb2650));Object[_0x399aed(0x2b8)](exports,Symbol[_0x399aed(0x27c)],{'value':_0x399aed(0x254)});const st=require(_0x399aed(0x2b7)),A=require('@univerjs/core'),it=require(_0x399aed(0x24e)),V=require(_0x399aed(0x1f4)),nt=require('events'),vt=require('https'),ot=require(_0x399aed(0x247)),St=require('net'),Et=require(_0x399aed(0x19d)),Le=require('crypto'),oe=require(_0x399aed(0x215)),xt=require(_0x399aed(0x279)),bt=require(_0x399aed(0x182)),wt=require(_0x399aed(0x141)),Ot=require(_0x399aed(0x24b)),fe=_0x399aed(0x28f),Ct={'customHeaders':{}};function Tt(_0x549df5){const _0x188b03=_0x399aed;return _0x549df5&&_0x549df5[_0x188b03(0x29e)]&&Object[_0x188b03(0x276)][_0x188b03(0x2f0)][_0x188b03(0x190)](_0x549df5,_0x188b03(0x2ec))?_0x549df5[_0x188b03(0x2ec)]:_0x549df5;}function at(_0x5b3269){const _0x3c7fb2=_0x399aed;if(Object[_0x3c7fb2(0x276)][_0x3c7fb2(0x2f0)][_0x3c7fb2(0x190)](_0x5b3269,_0x3c7fb2(0x29e)))return _0x5b3269;var _0x1f81e5=_0x5b3269[_0x3c7fb2(0x2ec)];if(typeof _0x1f81e5==_0x3c7fb2(0x25b)){var _0x55dba4=function _0x48ca41(){const _0x1218f3=_0x3c7fb2;return this instanceof _0x48ca41?Reflect[_0x1218f3(0x1c0)](_0x1f81e5,arguments,this[_0x1218f3(0x18e)]):_0x1f81e5['apply'](this,arguments);};_0x55dba4['prototype']=_0x1f81e5[_0x3c7fb2(0x276)];}else _0x55dba4={};return Object[_0x3c7fb2(0x2b8)](_0x55dba4,_0x3c7fb2(0x29e),{'value':!0x0}),Object[_0x3c7fb2(0x269)](_0x5b3269)[_0x3c7fb2(0x15d)](function(_0xdcbc14){const _0x2822b8=_0x3c7fb2;var _0x540d24=Object[_0x2822b8(0x202)](_0x5b3269,_0xdcbc14);Object[_0x2822b8(0x2b8)](_0x55dba4,_0xdcbc14,_0x540d24[_0x2822b8(0x1c2)]?_0x540d24:{'enumerable':!0x0,'get':function(){return _0x5b3269[_0xdcbc14];}});}),_0x55dba4;}var se={'exports':{}},ge,Ge;function H(){const _0x37ec8c=_0x399aed;if(Ge)return ge;Ge=0x1;const _0x453210=['nodebuffer',_0x37ec8c(0x1ea),_0x37ec8c(0x161)],_0x609a68=typeof Blob<'u';return _0x609a68&&_0x453210['push'](_0x37ec8c(0x14c)),ge={'BINARY_TYPES':_0x453210,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':_0x37ec8c(0x2b3),'hasBlob':_0x609a68,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol(_0x37ec8c(0x158)),'kStatusCode':Symbol(_0x37ec8c(0x144)),'kWebSocket':Symbol(_0x37ec8c(0x298)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x399aed(0x294)](Object[_0x399aed(0x2b8)]({'__proto__':null,'default':Nt},Symbol[_0x399aed(0x27c)],{'value':_0x399aed(0x254)})),Lt=at(kt);var Ve;function ce(){const _0xdf0a2a=_0x399aed;if(Ve)return se['exports'];Ve=0x1;const {EMPTY_BUFFER:_0x411913}=H(),_0x52bf96=Buffer[Symbol['species']];function _0x5d72c2(_0x4189ea,_0xd09e2d){const _0xcdda54=_0x2a03;if(_0x4189ea[_0xcdda54(0x238)]===0x0)return _0x411913;if(_0x4189ea['length']===0x1)return _0x4189ea[0x0];const _0x138b4b=Buffer[_0xcdda54(0x1bc)](_0xd09e2d);let _0xd0282d=0x0;for(let _0x249136=0x0;_0x249136<_0x4189ea['length'];_0x249136++){const _0x3bbd44=_0x4189ea[_0x249136];_0x138b4b['set'](_0x3bbd44,_0xd0282d),_0xd0282d+=_0x3bbd44[_0xcdda54(0x238)];}return _0xd0282d<_0xd09e2d?new _0x52bf96(_0x138b4b[_0xcdda54(0x141)],_0x138b4b['byteOffset'],_0xd0282d):_0x138b4b;}function _0x5a6b84(_0x25824f,_0x3cea6b,_0x4eba0f,_0x4f869b,_0x7045b5){for(let _0x1e62a4=0x0;_0x1e62a4<_0x7045b5;_0x1e62a4++)_0x4eba0f[_0x4f869b+_0x1e62a4]=_0x25824f[_0x1e62a4]^_0x3cea6b[_0x1e62a4&0x3];}function _0x120281(_0x1cdc9e,_0x467161){const _0x346af9=_0x2a03;for(let _0x50ac95=0x0;_0x50ac95<_0x1cdc9e[_0x346af9(0x238)];_0x50ac95++)_0x1cdc9e[_0x50ac95]^=_0x467161[_0x50ac95&0x3];}function _0x4810d8(_0x35fb3c){const _0x4e419e=_0x2a03;return _0x35fb3c[_0x4e419e(0x238)]===_0x35fb3c[_0x4e419e(0x141)][_0x4e419e(0x1c1)]?_0x35fb3c[_0x4e419e(0x141)]:_0x35fb3c[_0x4e419e(0x141)][_0x4e419e(0x24d)](_0x35fb3c[_0x4e419e(0x2e4)],_0x35fb3c[_0x4e419e(0x2e4)]+_0x35fb3c['length']);}function _0x5a18d4(_0x23887d){const _0x377008=_0x2a03;if(_0x5a18d4[_0x377008(0x1fc)]=!0x0,Buffer[_0x377008(0x1ab)](_0x23887d))return _0x23887d;let _0x277a0b;return _0x23887d instanceof ArrayBuffer?_0x277a0b=new _0x52bf96(_0x23887d):ArrayBuffer[_0x377008(0x1cf)](_0x23887d)?_0x277a0b=new _0x52bf96(_0x23887d['buffer'],_0x23887d[_0x377008(0x2e4)],_0x23887d[_0x377008(0x1c1)]):(_0x277a0b=Buffer[_0x377008(0x1c3)](_0x23887d),_0x5a18d4[_0x377008(0x1fc)]=!0x1),_0x277a0b;}if(se['exports']={'concat':_0x5d72c2,'mask':_0x5a6b84,'toArrayBuffer':_0x4810d8,'toBuffer':_0x5a18d4,'unmask':_0x120281},!process[_0xdf0a2a(0x2c1)][_0xdf0a2a(0x194)])try{const _0x912fd8=Lt;se['exports'][_0xdf0a2a(0x20a)]=function(_0x5e06b8,_0xe2670a,_0x256e64,_0x4a03db,_0x1cb3a5){const _0x1e60c1=_0xdf0a2a;_0x1cb3a5<0x30?_0x5a6b84(_0x5e06b8,_0xe2670a,_0x256e64,_0x4a03db,_0x1cb3a5):_0x912fd8[_0x1e60c1(0x20a)](_0x5e06b8,_0xe2670a,_0x256e64,_0x4a03db,_0x1cb3a5);},se['exports'][_0xdf0a2a(0x2ba)]=function(_0x123fda,_0x2ce786){const _0x55329c=_0xdf0a2a;_0x123fda[_0x55329c(0x238)]<0x20?_0x120281(_0x123fda,_0x2ce786):_0x912fd8['unmask'](_0x123fda,_0x2ce786);};}catch{}return se[_0xdf0a2a(0x18a)];}var ye,He;function Pt(){const _0x15dbed=_0x399aed;if(He)return ye;He=0x1;const _0x1a00cd=Symbol(_0x15dbed(0x17d)),_0x349eea=Symbol('kRun');class _0x566fc5{constructor(_0x3990a5){const _0x522887=_0x15dbed;this[_0x1a00cd]=()=>{const _0x36ef=_0x2a03;this[_0x36ef(0x208)]--,this[_0x349eea]();},this[_0x522887(0x17c)]=_0x3990a5||0x1/0x0,this[_0x522887(0x2d0)]=[],this[_0x522887(0x208)]=0x0;}[_0x15dbed(0x157)](_0x447fb5){const _0x39b1e4=_0x15dbed;this['jobs'][_0x39b1e4(0x199)](_0x447fb5),this[_0x349eea]();}[_0x349eea](){const _0x37e390=_0x15dbed;if(this[_0x37e390(0x208)]!==this['concurrency']&&this['jobs'][_0x37e390(0x238)]){const _0x2e51b5=this['jobs'][_0x37e390(0x17a)]();this[_0x37e390(0x208)]++,_0x2e51b5(this[_0x1a00cd]);}}}return ye=_0x566fc5,ye;}var ve,ze;function he(){const _0xd0110b=_0x399aed;if(ze)return ve;ze=0x1;const _0x5a9bbd=bt,_0x34d3b5=ce(),_0x50fd1a=Pt(),{kStatusCode:_0x41590e}=H(),_0x34c444=Buffer[Symbol[_0xd0110b(0x22a)]],_0x57c515=Buffer['from']([0x0,0x0,0xff,0xff]),_0x26ae6b=Symbol(_0xd0110b(0x2c0)),_0x368cf8=Symbol(_0xd0110b(0x2a4)),_0xbb4769=Symbol('callback'),_0x4aeb32=Symbol(_0xd0110b(0x20e)),_0x4a8565=Symbol(_0xd0110b(0x187));let _0x41f5ba;class _0x536b98{constructor(_0x286f29,_0x19c01c,_0x558e1c){const _0x185e7a=_0xd0110b;if(this['_maxPayload']=_0x558e1c|0x0,this[_0x185e7a(0x1f7)]=_0x286f29||{},this[_0x185e7a(0x22c)]=this[_0x185e7a(0x1f7)]['threshold']!==void 0x0?this[_0x185e7a(0x1f7)][_0x185e7a(0x1e8)]:0x400,this[_0x185e7a(0x1d0)]=!!_0x19c01c,this[_0x185e7a(0x200)]=null,this[_0x185e7a(0x16f)]=null,this[_0x185e7a(0x246)]=null,!_0x41f5ba){const _0x5b8df4=this[_0x185e7a(0x1f7)][_0x185e7a(0x21e)]!==void 0x0?this[_0x185e7a(0x1f7)][_0x185e7a(0x21e)]:0xa;_0x41f5ba=new _0x50fd1a(_0x5b8df4);}}static get[_0xd0110b(0x17f)](){return'permessage-deflate';}[_0xd0110b(0x1e2)](){const _0x452880=_0xd0110b,_0x4baf50={};return this[_0x452880(0x1f7)]['serverNoContextTakeover']&&(_0x4baf50[_0x452880(0x13d)]=!0x0),this[_0x452880(0x1f7)][_0x452880(0x2e9)]&&(_0x4baf50[_0x452880(0x1d9)]=!0x0),this[_0x452880(0x1f7)][_0x452880(0x2cd)]&&(_0x4baf50[_0x452880(0x1f2)]=this[_0x452880(0x1f7)][_0x452880(0x2cd)]),this[_0x452880(0x1f7)]['clientMaxWindowBits']?_0x4baf50[_0x452880(0x1b7)]=this[_0x452880(0x1f7)]['clientMaxWindowBits']:this[_0x452880(0x1f7)][_0x452880(0x1c5)]==null&&(_0x4baf50[_0x452880(0x1b7)]=!0x0),_0x4baf50;}[_0xd0110b(0x2ed)](_0x650f2a){const _0xd128bc=_0xd0110b;return _0x650f2a=this[_0xd128bc(0x286)](_0x650f2a),this[_0xd128bc(0x246)]=this[_0xd128bc(0x1d0)]?this['acceptAsServer'](_0x650f2a):this['acceptAsClient'](_0x650f2a),this[_0xd128bc(0x246)];}['cleanup'](){const _0x416b02=_0xd0110b;if(this[_0x416b02(0x16f)]&&(this['_inflate'][_0x416b02(0x2be)](),this[_0x416b02(0x16f)]=null),this[_0x416b02(0x200)]){const _0x2fa5fb=this[_0x416b02(0x200)][_0xbb4769];this['_deflate'][_0x416b02(0x2be)](),this[_0x416b02(0x200)]=null,_0x2fa5fb&&_0x2fa5fb(new Error(_0x416b02(0x22f)));}}['acceptAsServer'](_0x5dca56){const _0x317528=_0xd0110b,_0x5b8ada=this[_0x317528(0x1f7)],_0x26a266=_0x5dca56[_0x317528(0x22e)](_0x33a4ca=>!(_0x5b8ada[_0x317528(0x28e)]===!0x1&&_0x33a4ca[_0x317528(0x13d)]||_0x33a4ca[_0x317528(0x1f2)]&&(_0x5b8ada[_0x317528(0x2cd)]===!0x1||typeof _0x5b8ada[_0x317528(0x2cd)]==_0x317528(0x2a6)&&_0x5b8ada['serverMaxWindowBits']>_0x33a4ca['server_max_window_bits'])||typeof _0x5b8ada[_0x317528(0x1c5)]==_0x317528(0x2a6)&&!_0x33a4ca['client_max_window_bits']));if(!_0x26a266)throw new Error(_0x317528(0x163));return _0x5b8ada[_0x317528(0x28e)]&&(_0x26a266[_0x317528(0x13d)]=!0x0),_0x5b8ada[_0x317528(0x2e9)]&&(_0x26a266['client_no_context_takeover']=!0x0),typeof _0x5b8ada[_0x317528(0x2cd)]==_0x317528(0x2a6)&&(_0x26a266[_0x317528(0x1f2)]=_0x5b8ada['serverMaxWindowBits']),typeof _0x5b8ada[_0x317528(0x1c5)]==_0x317528(0x2a6)?_0x26a266['client_max_window_bits']=_0x5b8ada[_0x317528(0x1c5)]:(_0x26a266[_0x317528(0x1b7)]===!0x0||_0x5b8ada['clientMaxWindowBits']===!0x1)&&delete _0x26a266['client_max_window_bits'],_0x26a266;}[_0xd0110b(0x214)](_0x569ded){const _0x344eba=_0xd0110b,_0x30a5a8=_0x569ded[0x0];if(this[_0x344eba(0x1f7)][_0x344eba(0x2e9)]===!0x1&&_0x30a5a8[_0x344eba(0x1d9)])throw new Error(_0x344eba(0x21d));if(!_0x30a5a8[_0x344eba(0x1b7)])typeof this[_0x344eba(0x1f7)][_0x344eba(0x1c5)]=='number'&&(_0x30a5a8[_0x344eba(0x1b7)]=this[_0x344eba(0x1f7)][_0x344eba(0x1c5)]);else{if(this['_options'][_0x344eba(0x1c5)]===!0x1||typeof this['_options']['clientMaxWindowBits']==_0x344eba(0x2a6)&&_0x30a5a8['client_max_window_bits']>this[_0x344eba(0x1f7)][_0x344eba(0x1c5)])throw new Error(_0x344eba(0x17e));}return _0x30a5a8;}[_0xd0110b(0x286)](_0x2d478b){const _0x54b37d=_0xd0110b;return _0x2d478b[_0x54b37d(0x15d)](_0x15ffb5=>{const _0x4ce993=_0x54b37d;Object['keys'](_0x15ffb5)[_0x4ce993(0x15d)](_0x4bd76b=>{const _0x49337b=_0x4ce993;let _0xc05f2e=_0x15ffb5[_0x4bd76b];if(_0xc05f2e[_0x49337b(0x238)]>0x1)throw new Error('Parameter\x20\x22'+_0x4bd76b+_0x49337b(0x1f0));if(_0xc05f2e=_0xc05f2e[0x0],_0x4bd76b===_0x49337b(0x1b7)){if(_0xc05f2e!==!0x0){const _0x382e25=+_0xc05f2e;if(!Number['isInteger'](_0x382e25)||_0x382e25<0x8||_0x382e25>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x4bd76b+_0x49337b(0x186)+_0xc05f2e);_0xc05f2e=_0x382e25;}else{if(!this[_0x49337b(0x1d0)])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x4bd76b+_0x49337b(0x186)+_0xc05f2e);}}else{if(_0x4bd76b==='server_max_window_bits'){const _0x28adbb=+_0xc05f2e;if(!Number[_0x49337b(0x1d8)](_0x28adbb)||_0x28adbb<0x8||_0x28adbb>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x4bd76b+_0x49337b(0x186)+_0xc05f2e);_0xc05f2e=_0x28adbb;}else{if(_0x4bd76b===_0x49337b(0x1d9)||_0x4bd76b===_0x49337b(0x13d)){if(_0xc05f2e!==!0x0)throw new TypeError(_0x49337b(0x20d)+_0x4bd76b+_0x49337b(0x186)+_0xc05f2e);}else throw new Error(_0x49337b(0x2c2)+_0x4bd76b+'\x22');}}_0x15ffb5[_0x4bd76b]=_0xc05f2e;});}),_0x2d478b;}[_0xd0110b(0x2c5)](_0x9f717a,_0x4ce847,_0x5a8d8f){const _0x16f9bb=_0xd0110b;_0x41f5ba[_0x16f9bb(0x157)](_0x5bf17e=>{const _0x1d3763=_0x16f9bb;this[_0x1d3763(0x1bf)](_0x9f717a,_0x4ce847,(_0xe67f41,_0x4e574c)=>{_0x5bf17e(),_0x5a8d8f(_0xe67f41,_0x4e574c);});});}[_0xd0110b(0x1ef)](_0x3934bf,_0x4d03bc,_0x216f41){const _0x26915e=_0xd0110b;_0x41f5ba[_0x26915e(0x157)](_0x354dc2=>{const _0x329d32=_0x26915e;this[_0x329d32(0x14a)](_0x3934bf,_0x4d03bc,(_0x5d9d91,_0x240de7)=>{_0x354dc2(),_0x216f41(_0x5d9d91,_0x240de7);});});}[_0xd0110b(0x1bf)](_0xa4a60a,_0x113c5f,_0xd18b57){const _0x166a34=_0xd0110b,_0xdb6bd7=this[_0x166a34(0x1d0)]?_0x166a34(0x188):_0x166a34(0x241);if(!this['_inflate']){const _0x5675cc=_0xdb6bd7+'_max_window_bits',_0x7f03fb=typeof this[_0x166a34(0x246)][_0x5675cc]!=_0x166a34(0x2a6)?_0x5a9bbd['Z_DEFAULT_WINDOWBITS']:this[_0x166a34(0x246)][_0x5675cc];this[_0x166a34(0x16f)]=_0x5a9bbd[_0x166a34(0x1db)]({...this['_options'][_0x166a34(0x2af)],'windowBits':_0x7f03fb}),this[_0x166a34(0x16f)][_0x26ae6b]=this,this['_inflate'][_0x368cf8]=0x0,this[_0x166a34(0x16f)][_0x4aeb32]=[],this[_0x166a34(0x16f)]['on'](_0x166a34(0x187),_0x19ae3b),this[_0x166a34(0x16f)]['on'](_0x166a34(0x165),_0x453375);}this[_0x166a34(0x16f)][_0xbb4769]=_0xd18b57,this['_inflate']['write'](_0xa4a60a),_0x113c5f&&this[_0x166a34(0x16f)]['write'](_0x57c515),this[_0x166a34(0x16f)][_0x166a34(0x23b)](()=>{const _0xa6a384=_0x166a34,_0x1b1d1f=this[_0xa6a384(0x16f)][_0x4a8565];if(_0x1b1d1f){this['_inflate'][_0xa6a384(0x2be)](),this[_0xa6a384(0x16f)]=null,_0xd18b57(_0x1b1d1f);return;}const _0x52912d=_0x34d3b5[_0xa6a384(0x1d7)](this[_0xa6a384(0x16f)][_0x4aeb32],this[_0xa6a384(0x16f)][_0x368cf8]);this['_inflate'][_0xa6a384(0x25c)][_0xa6a384(0x2dd)]?(this[_0xa6a384(0x16f)][_0xa6a384(0x2be)](),this[_0xa6a384(0x16f)]=null):(this[_0xa6a384(0x16f)][_0x368cf8]=0x0,this[_0xa6a384(0x16f)][_0x4aeb32]=[],_0x113c5f&&this[_0xa6a384(0x246)][_0xdb6bd7+_0xa6a384(0x2c4)]&&this[_0xa6a384(0x16f)][_0xa6a384(0x258)]()),_0xd18b57(null,_0x52912d);});}[_0xd0110b(0x14a)](_0x349485,_0x314c1d,_0x16a032){const _0x1ce882=_0xd0110b,_0x6f6345=this[_0x1ce882(0x1d0)]?_0x1ce882(0x241):_0x1ce882(0x188);if(!this[_0x1ce882(0x200)]){const _0x4fa58b=_0x6f6345+'_max_window_bits',_0x294924=typeof this['params'][_0x4fa58b]!=_0x1ce882(0x2a6)?_0x5a9bbd['Z_DEFAULT_WINDOWBITS']:this[_0x1ce882(0x246)][_0x4fa58b];this[_0x1ce882(0x200)]=_0x5a9bbd[_0x1ce882(0x2aa)]({...this[_0x1ce882(0x1f7)][_0x1ce882(0x26f)],'windowBits':_0x294924}),this[_0x1ce882(0x200)][_0x368cf8]=0x0,this[_0x1ce882(0x200)][_0x4aeb32]=[],this['_deflate']['on'](_0x1ce882(0x165),_0x489764);}this[_0x1ce882(0x200)][_0xbb4769]=_0x16a032,this[_0x1ce882(0x200)][_0x1ce882(0x2f1)](_0x349485),this[_0x1ce882(0x200)][_0x1ce882(0x23b)](_0x5a9bbd[_0x1ce882(0x224)],()=>{const _0x3345ff=_0x1ce882;if(!this[_0x3345ff(0x200)])return;let _0x1f4e20=_0x34d3b5['concat'](this[_0x3345ff(0x200)][_0x4aeb32],this[_0x3345ff(0x200)][_0x368cf8]);_0x314c1d&&(_0x1f4e20=new _0x34c444(_0x1f4e20[_0x3345ff(0x141)],_0x1f4e20[_0x3345ff(0x2e4)],_0x1f4e20[_0x3345ff(0x238)]-0x4)),this[_0x3345ff(0x200)][_0xbb4769]=null,this[_0x3345ff(0x200)][_0x368cf8]=0x0,this[_0x3345ff(0x200)][_0x4aeb32]=[],_0x314c1d&&this[_0x3345ff(0x246)][_0x6f6345+_0x3345ff(0x2c4)]&&this[_0x3345ff(0x200)][_0x3345ff(0x258)](),_0x16a032(null,_0x1f4e20);});}}ve=_0x536b98;function _0x489764(_0x1759d0){const _0x4ac05e=_0xd0110b;this[_0x4aeb32][_0x4ac05e(0x199)](_0x1759d0),this[_0x368cf8]+=_0x1759d0['length'];}function _0x453375(_0x24030f){const _0x4b4fa4=_0xd0110b;if(this[_0x368cf8]+=_0x24030f['length'],this[_0x26ae6b]['_maxPayload']<0x1||this[_0x368cf8]<=this[_0x26ae6b][_0x4b4fa4(0x287)]){this[_0x4aeb32][_0x4b4fa4(0x199)](_0x24030f);return;}this[_0x4a8565]=new RangeError('Max\x20payload\x20size\x20exceeded'),this[_0x4a8565][_0x4b4fa4(0x25f)]=_0x4b4fa4(0x277),this[_0x4a8565][_0x41590e]=0x3f1,this[_0x4b4fa4(0x2de)](_0x4b4fa4(0x165),_0x453375),this[_0x4b4fa4(0x258)]();}function _0x19ae3b(_0x220a23){const _0x8242da=_0xd0110b;if(this[_0x26ae6b][_0x8242da(0x16f)]=null,this[_0x4a8565]){this[_0xbb4769](this[_0x4a8565]);return;}_0x220a23[_0x41590e]=0x3ef,this[_0xbb4769](_0x220a23);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object['freeze'](Object[_0x399aed(0x2b8)]({'__proto__':null,'default':Dt},Symbol[_0x399aed(0x27c)],{'value':_0x399aed(0x254)})),Bt=at(Rt);var Ye;function ae(){const _0x4e6c34=_0x399aed;if(Ye)return ie[_0x4e6c34(0x18a)];Ye=0x1;const {isUtf8:_0x1b88b2}=wt,{hasBlob:_0x5b63ba}=H(),_0x53bbcc=[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 _0x2251c8(_0x2d7e3f){return _0x2d7e3f>=0x3e8&&_0x2d7e3f<=0x3f6&&_0x2d7e3f!==0x3ec&&_0x2d7e3f!==0x3ed&&_0x2d7e3f!==0x3ee||_0x2d7e3f>=0xbb8&&_0x2d7e3f<=0x1387;}function _0xccfb1(_0x1ce397){const _0x50af35=_0x1ce397['length'];let _0x31eff7=0x0;for(;_0x31eff7<_0x50af35;)if((_0x1ce397[_0x31eff7]&0x80)===0x0)_0x31eff7++;else{if((_0x1ce397[_0x31eff7]&0xe0)===0xc0){if(_0x31eff7+0x1===_0x50af35||(_0x1ce397[_0x31eff7+0x1]&0xc0)!==0x80||(_0x1ce397[_0x31eff7]&0xfe)===0xc0)return!0x1;_0x31eff7+=0x2;}else{if((_0x1ce397[_0x31eff7]&0xf0)===0xe0){if(_0x31eff7+0x2>=_0x50af35||(_0x1ce397[_0x31eff7+0x1]&0xc0)!==0x80||(_0x1ce397[_0x31eff7+0x2]&0xc0)!==0x80||_0x1ce397[_0x31eff7]===0xe0&&(_0x1ce397[_0x31eff7+0x1]&0xe0)===0x80||_0x1ce397[_0x31eff7]===0xed&&(_0x1ce397[_0x31eff7+0x1]&0xe0)===0xa0)return!0x1;_0x31eff7+=0x3;}else{if((_0x1ce397[_0x31eff7]&0xf8)===0xf0){if(_0x31eff7+0x3>=_0x50af35||(_0x1ce397[_0x31eff7+0x1]&0xc0)!==0x80||(_0x1ce397[_0x31eff7+0x2]&0xc0)!==0x80||(_0x1ce397[_0x31eff7+0x3]&0xc0)!==0x80||_0x1ce397[_0x31eff7]===0xf0&&(_0x1ce397[_0x31eff7+0x1]&0xf0)===0x80||_0x1ce397[_0x31eff7]===0xf4&&_0x1ce397[_0x31eff7+0x1]>0x8f||_0x1ce397[_0x31eff7]>0xf4)return!0x1;_0x31eff7+=0x4;}else return!0x1;}}}return!0x0;}function _0x4e14d8(_0x5cbee0){const _0x16a800=_0x4e6c34;return _0x5b63ba&&typeof _0x5cbee0==_0x16a800(0x213)&&typeof _0x5cbee0[_0x16a800(0x1fe)]==_0x16a800(0x25b)&&typeof _0x5cbee0[_0x16a800(0x196)]==_0x16a800(0x1e1)&&typeof _0x5cbee0[_0x16a800(0x215)]=='function'&&(_0x5cbee0[Symbol[_0x16a800(0x27c)]]===_0x16a800(0x1ee)||_0x5cbee0[Symbol[_0x16a800(0x27c)]]==='File');}if(ie[_0x4e6c34(0x18a)]={'isBlob':_0x4e14d8,'isValidStatusCode':_0x2251c8,'isValidUTF8':_0xccfb1,'tokenChars':_0x53bbcc},_0x1b88b2)ie[_0x4e6c34(0x18a)][_0x4e6c34(0x140)]=function(_0x5e64e6){return _0x5e64e6['length']<0x18?_0xccfb1(_0x5e64e6):_0x1b88b2(_0x5e64e6);};else{if(!process[_0x4e6c34(0x2c1)]['WS_NO_UTF_8_VALIDATE'])try{const _0x5a1bb6=Bt;ie[_0x4e6c34(0x18a)][_0x4e6c34(0x140)]=function(_0x3bd4f8){const _0x4750f=_0x4e6c34;return _0x3bd4f8[_0x4750f(0x238)]<0x20?_0xccfb1(_0x3bd4f8):_0x5a1bb6(_0x3bd4f8);};}catch{}}return ie[_0x4e6c34(0x18a)];}var Se,Ke;function lt(){const _0x5c4d6d=_0x399aed;if(Ke)return Se;Ke=0x1;const {Writable:_0x5b428d}=oe,_0x2219cd=he(),{BINARY_TYPES:_0x487d4c,EMPTY_BUFFER:_0xc1b5bb,kStatusCode:_0x426cc9,kWebSocket:_0x3ffc8b}=H(),{concat:_0x9f29eb,toArrayBuffer:_0x2479ef,unmask:_0x2b836b}=ce(),{isValidStatusCode:_0x562627,isValidUTF8:_0x3b2c5f}=ae(),_0x2a0b76=Buffer[Symbol[_0x5c4d6d(0x22a)]],_0x39358f=0x0,_0x5117f6=0x1,_0x1fff07=0x2,_0x547f36=0x3,_0x765ea=0x4,_0x406024=0x5,_0x5a4a69=0x6;class _0x4035bf extends _0x5b428d{constructor(_0x17909a={}){const _0x1585da=_0x5c4d6d;super(),this['_allowSynchronousEvents']=_0x17909a[_0x1585da(0x1b5)]!==void 0x0?_0x17909a[_0x1585da(0x1b5)]:!0x0,this[_0x1585da(0x268)]=_0x17909a[_0x1585da(0x253)]||_0x487d4c[0x0],this['_extensions']=_0x17909a[_0x1585da(0x2a7)]||{},this['_isServer']=!!_0x17909a[_0x1585da(0x23a)],this[_0x1585da(0x287)]=_0x17909a['maxPayload']|0x0,this[_0x1585da(0x1b1)]=!!_0x17909a[_0x1585da(0x156)],this[_0x3ffc8b]=void 0x0,this[_0x1585da(0x143)]=0x0,this[_0x1585da(0x1c6)]=[],this['_compressed']=!0x1,this[_0x1585da(0x262)]=0x0,this['_mask']=void 0x0,this[_0x1585da(0x2b2)]=0x0,this['_masked']=!0x1,this[_0x1585da(0x2e5)]=!0x1,this[_0x1585da(0x149)]=0x0,this[_0x1585da(0x16a)]=0x0,this['_messageLength']=0x0,this[_0x1585da(0x159)]=[],this[_0x1585da(0x2f4)]=!0x1,this[_0x1585da(0x2f7)]=!0x1,this['_state']=_0x39358f;}['_write'](_0x4a06ae,_0x25a1dc,_0x30829b){const _0x10d37f=_0x5c4d6d;if(this[_0x10d37f(0x149)]===0x8&&this[_0x10d37f(0x1fa)]==_0x39358f)return _0x30829b();this[_0x10d37f(0x143)]+=_0x4a06ae[_0x10d37f(0x238)],this['_buffers']['push'](_0x4a06ae),this[_0x10d37f(0x1f3)](_0x30829b);}[_0x5c4d6d(0x2d1)](_0x16cd39){const _0x11bde0=_0x5c4d6d;if(this[_0x11bde0(0x143)]-=_0x16cd39,_0x16cd39===this[_0x11bde0(0x1c6)][0x0]['length'])return this[_0x11bde0(0x1c6)][_0x11bde0(0x17a)]();if(_0x16cd39<this['_buffers'][0x0][_0x11bde0(0x238)]){const _0x2649d0=this[_0x11bde0(0x1c6)][0x0];return this[_0x11bde0(0x1c6)][0x0]=new _0x2a0b76(_0x2649d0[_0x11bde0(0x141)],_0x2649d0[_0x11bde0(0x2e4)]+_0x16cd39,_0x2649d0[_0x11bde0(0x238)]-_0x16cd39),new _0x2a0b76(_0x2649d0[_0x11bde0(0x141)],_0x2649d0[_0x11bde0(0x2e4)],_0x16cd39);}const _0x466bfb=Buffer['allocUnsafe'](_0x16cd39);do{const _0x22a1e3=this[_0x11bde0(0x1c6)][0x0],_0x55f6d7=_0x466bfb[_0x11bde0(0x238)]-_0x16cd39;_0x16cd39>=_0x22a1e3['length']?_0x466bfb[_0x11bde0(0x236)](this[_0x11bde0(0x1c6)][_0x11bde0(0x17a)](),_0x55f6d7):(_0x466bfb[_0x11bde0(0x236)](new Uint8Array(_0x22a1e3[_0x11bde0(0x141)],_0x22a1e3[_0x11bde0(0x2e4)],_0x16cd39),_0x55f6d7),this[_0x11bde0(0x1c6)][0x0]=new _0x2a0b76(_0x22a1e3[_0x11bde0(0x141)],_0x22a1e3['byteOffset']+_0x16cd39,_0x22a1e3[_0x11bde0(0x238)]-_0x16cd39)),_0x16cd39-=_0x22a1e3[_0x11bde0(0x238)];}while(_0x16cd39>0x0);return _0x466bfb;}[_0x5c4d6d(0x1f3)](_0x4f34e4){const _0x4141f1=_0x5c4d6d;this[_0x4141f1(0x2f7)]=!0x0;do switch(this[_0x4141f1(0x1fa)]){case _0x39358f:this[_0x4141f1(0x189)](_0x4f34e4);break;case _0x5117f6:this[_0x4141f1(0x1dc)](_0x4f34e4);break;case _0x1fff07:this[_0x4141f1(0x181)](_0x4f34e4);break;case _0x547f36:this[_0x4141f1(0x2eb)]();break;case _0x765ea:this[_0x4141f1(0x271)](_0x4f34e4);break;case _0x406024:case _0x5a4a69:this[_0x4141f1(0x2f7)]=!0x1;return;}while(this[_0x4141f1(0x2f7)]);this['_errored']||_0x4f34e4();}[_0x5c4d6d(0x189)](_0x550e1d){const _0x3a1fe6=_0x5c4d6d;if(this['_bufferedBytes']<0x2){this[_0x3a1fe6(0x2f7)]=!0x1;return;}const _0x53cca1=this['consume'](0x2);if((_0x53cca1[0x0]&0x30)!==0x0){const _0xce562d=this[_0x3a1fe6(0x1ad)](RangeError,_0x3a1fe6(0x274),!0x0,0x3ea,_0x3a1fe6(0x229));_0x550e1d(_0xce562d);return;}const _0x13278f=(_0x53cca1[0x0]&0x40)===0x40;if(_0x13278f&&!this[_0x3a1fe6(0x282)][_0x2219cd[_0x3a1fe6(0x17f)]]){const _0x2f7713=this[_0x3a1fe6(0x1ad)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x550e1d(_0x2f7713);return;}if(this[_0x3a1fe6(0x2e5)]=(_0x53cca1[0x0]&0x80)===0x80,this[_0x3a1fe6(0x149)]=_0x53cca1[0x0]&0xf,this[_0x3a1fe6(0x262)]=_0x53cca1[0x1]&0x7f,this[_0x3a1fe6(0x149)]===0x0){if(_0x13278f){const _0x30c497=this[_0x3a1fe6(0x1ad)](RangeError,_0x3a1fe6(0x1c7),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x550e1d(_0x30c497);return;}if(!this['_fragmented']){const _0x5649af=this['createError'](RangeError,'invalid\x20opcode\x200',!0x0,0x3ea,_0x3a1fe6(0x266));_0x550e1d(_0x5649af);return;}this[_0x3a1fe6(0x149)]=this[_0x3a1fe6(0x2b2)];}else{if(this['_opcode']===0x1||this[_0x3a1fe6(0x149)]===0x2){if(this[_0x3a1fe6(0x2b2)]){const _0x4b0527=this[_0x3a1fe6(0x1ad)](RangeError,_0x3a1fe6(0x20f)+this[_0x3a1fe6(0x149)],!0x0,0x3ea,_0x3a1fe6(0x266));_0x550e1d(_0x4b0527);return;}this[_0x3a1fe6(0x195)]=_0x13278f;}else{if(this[_0x3a1fe6(0x149)]>0x7&&this[_0x3a1fe6(0x149)]<0xb){if(!this[_0x3a1fe6(0x2e5)]){const _0x2e250c=this[_0x3a1fe6(0x1ad)](RangeError,_0x3a1fe6(0x15b),!0x0,0x3ea,_0x3a1fe6(0x2e2));_0x550e1d(_0x2e250c);return;}if(_0x13278f){const _0x23ed72=this[_0x3a1fe6(0x1ad)](RangeError,_0x3a1fe6(0x1c7),!0x0,0x3ea,_0x3a1fe6(0x2bc));_0x550e1d(_0x23ed72);return;}if(this[_0x3a1fe6(0x262)]>0x7d||this[_0x3a1fe6(0x149)]===0x8&&this[_0x3a1fe6(0x262)]===0x1){const _0x13e377=this[_0x3a1fe6(0x1ad)](RangeError,'invalid\x20payload\x20length\x20'+this['_payloadLength'],!0x0,0x3ea,'WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH');_0x550e1d(_0x13e377);return;}}else{const _0x4659c9=this['createError'](RangeError,'invalid\x20opcode\x20'+this[_0x3a1fe6(0x149)],!0x0,0x3ea,_0x3a1fe6(0x266));_0x550e1d(_0x4659c9);return;}}}if(!this[_0x3a1fe6(0x2e5)]&&!this['_fragmented']&&(this[_0x3a1fe6(0x2b2)]=this[_0x3a1fe6(0x149)]),this[_0x3a1fe6(0x26e)]=(_0x53cca1[0x1]&0x80)===0x80,this[_0x3a1fe6(0x1d0)]){if(!this[_0x3a1fe6(0x26e)]){const _0x1379bc=this[_0x3a1fe6(0x1ad)](RangeError,_0x3a1fe6(0x233),!0x0,0x3ea,_0x3a1fe6(0x170));_0x550e1d(_0x1379bc);return;}}else{if(this[_0x3a1fe6(0x26e)]){const _0x1d391c=this[_0x3a1fe6(0x1ad)](RangeError,'MASK\x20must\x20be\x20clear',!0x0,0x3ea,_0x3a1fe6(0x211));_0x550e1d(_0x1d391c);return;}}this[_0x3a1fe6(0x262)]===0x7e?this[_0x3a1fe6(0x1fa)]=_0x5117f6:this[_0x3a1fe6(0x262)]===0x7f?this[_0x3a1fe6(0x1fa)]=_0x1fff07:this['haveLength'](_0x550e1d);}[_0x5c4d6d(0x1dc)](_0x409795){const _0x3e78ce=_0x5c4d6d;if(this[_0x3e78ce(0x143)]<0x2){this['_loop']=!0x1;return;}this[_0x3e78ce(0x262)]=this[_0x3e78ce(0x2d1)](0x2)[_0x3e78ce(0x197)](0x0),this['haveLength'](_0x409795);}[_0x5c4d6d(0x181)](_0x38174e){const _0x8b704a=_0x5c4d6d;if(this[_0x8b704a(0x143)]<0x8){this[_0x8b704a(0x2f7)]=!0x1;return;}const _0x5b6b4d=this['consume'](0x8),_0x1ac0c6=_0x5b6b4d[_0x8b704a(0x27f)](0x0);if(_0x1ac0c6>Math[_0x8b704a(0x232)](0x2,0x15)-0x1){const _0x9d2c2b=this[_0x8b704a(0x1ad)](RangeError,_0x8b704a(0x1e7),!0x1,0x3f1,_0x8b704a(0x177));_0x38174e(_0x9d2c2b);return;}this[_0x8b704a(0x262)]=_0x1ac0c6*Math['pow'](0x2,0x20)+_0x5b6b4d[_0x8b704a(0x27f)](0x4),this[_0x8b704a(0x14b)](_0x38174e);}[_0x5c4d6d(0x14b)](_0x22bb6b){const _0xf3561e=_0x5c4d6d;if(this[_0xf3561e(0x262)]&&this[_0xf3561e(0x149)]<0x8&&(this['_totalPayloadLength']+=this[_0xf3561e(0x262)],this[_0xf3561e(0x16a)]>this[_0xf3561e(0x287)]&&this[_0xf3561e(0x287)]>0x0)){const _0x5a89f8=this[_0xf3561e(0x1ad)](RangeError,_0xf3561e(0x23f),!0x1,0x3f1,_0xf3561e(0x277));_0x22bb6b(_0x5a89f8);return;}this[_0xf3561e(0x26e)]?this['_state']=_0x547f36:this['_state']=_0x765ea;}[_0x5c4d6d(0x2eb)](){const _0xc679c=_0x5c4d6d;if(this[_0xc679c(0x143)]<0x4){this[_0xc679c(0x2f7)]=!0x1;return;}this[_0xc679c(0x1ec)]=this[_0xc679c(0x2d1)](0x4),this[_0xc679c(0x1fa)]=_0x765ea;}['getData'](_0x54de4a){const _0x2b41a7=_0x5c4d6d;let _0x6f5497=_0xc1b5bb;if(this['_payloadLength']){if(this[_0x2b41a7(0x143)]<this[_0x2b41a7(0x262)]){this['_loop']=!0x1;return;}_0x6f5497=this[_0x2b41a7(0x2d1)](this[_0x2b41a7(0x262)]),this[_0x2b41a7(0x26e)]&&(this[_0x2b41a7(0x1ec)][0x0]|this[_0x2b41a7(0x1ec)][0x1]|this['_mask'][0x2]|this[_0x2b41a7(0x1ec)][0x3])!==0x0&&_0x2b836b(_0x6f5497,this[_0x2b41a7(0x1ec)]);}if(this[_0x2b41a7(0x149)]>0x7){this[_0x2b41a7(0x1d2)](_0x6f5497,_0x54de4a);return;}if(this['_compressed']){this[_0x2b41a7(0x1fa)]=_0x406024,this[_0x2b41a7(0x2c5)](_0x6f5497,_0x54de4a);return;}_0x6f5497['length']&&(this[_0x2b41a7(0x1ba)]=this[_0x2b41a7(0x16a)],this[_0x2b41a7(0x159)][_0x2b41a7(0x199)](_0x6f5497)),this[_0x2b41a7(0x255)](_0x54de4a);}[_0x5c4d6d(0x2c5)](_0x4df8cd,_0x378631){const _0x259be1=_0x5c4d6d;this['_extensions'][_0x2219cd[_0x259be1(0x17f)]][_0x259be1(0x2c5)](_0x4df8cd,this['_fin'],(_0x2aab93,_0x11f0cc)=>{const _0x38b352=_0x259be1;if(_0x2aab93)return _0x378631(_0x2aab93);if(_0x11f0cc[_0x38b352(0x238)]){if(this[_0x38b352(0x1ba)]+=_0x11f0cc[_0x38b352(0x238)],this[_0x38b352(0x1ba)]>this[_0x38b352(0x287)]&&this['_maxPayload']>0x0){const _0xf0e0de=this[_0x38b352(0x1ad)](RangeError,_0x38b352(0x23f),!0x1,0x3f1,_0x38b352(0x277));_0x378631(_0xf0e0de);return;}this['_fragments'][_0x38b352(0x199)](_0x11f0cc);}this[_0x38b352(0x255)](_0x378631),this[_0x38b352(0x1fa)]===_0x39358f&&this[_0x38b352(0x1f3)](_0x378631);});}[_0x5c4d6d(0x255)](_0x5d0562){const _0x364542=_0x5c4d6d;if(!this['_fin']){this[_0x364542(0x1fa)]=_0x39358f;return;}const _0x367cfa=this[_0x364542(0x1ba)],_0x191b7b=this[_0x364542(0x159)];if(this[_0x364542(0x16a)]=0x0,this['_messageLength']=0x0,this[_0x364542(0x2b2)]=0x0,this['_fragments']=[],this[_0x364542(0x149)]===0x2){let _0x5acf26;this['_binaryType']===_0x364542(0x20b)?_0x5acf26=_0x9f29eb(_0x191b7b,_0x367cfa):this[_0x364542(0x268)]===_0x364542(0x1ea)?_0x5acf26=_0x2479ef(_0x9f29eb(_0x191b7b,_0x367cfa)):this[_0x364542(0x268)]===_0x364542(0x14c)?_0x5acf26=new Blob(_0x191b7b):_0x5acf26=_0x191b7b,this[_0x364542(0x217)]?(this[_0x364542(0x2a0)]('message',_0x5acf26,!0x0),this['_state']=_0x39358f):(this['_state']=_0x5a4a69,setImmediate(()=>{const _0xad918=_0x364542;this[_0xad918(0x2a0)](_0xad918(0x242),_0x5acf26,!0x0),this[_0xad918(0x1fa)]=_0x39358f,this[_0xad918(0x1f3)](_0x5d0562);}));}else{const _0x4b644a=_0x9f29eb(_0x191b7b,_0x367cfa);if(!this[_0x364542(0x1b1)]&&!_0x3b2c5f(_0x4b644a)){const _0x49ac84=this['createError'](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x364542(0x2a8));_0x5d0562(_0x49ac84);return;}this[_0x364542(0x1fa)]===_0x406024||this['_allowSynchronousEvents']?(this[_0x364542(0x2a0)](_0x364542(0x242),_0x4b644a,!0x1),this[_0x364542(0x1fa)]=_0x39358f):(this[_0x364542(0x1fa)]=_0x5a4a69,setImmediate(()=>{const _0x24445a=_0x364542;this[_0x24445a(0x2a0)]('message',_0x4b644a,!0x1),this[_0x24445a(0x1fa)]=_0x39358f,this[_0x24445a(0x1f3)](_0x5d0562);}));}}[_0x5c4d6d(0x1d2)](_0x55fac2,_0x4e5240){const _0x1d5a50=_0x5c4d6d;if(this['_opcode']===0x8){if(_0x55fac2['length']===0x0)this[_0x1d5a50(0x2f7)]=!0x1,this[_0x1d5a50(0x2a0)](_0x1d5a50(0x1cc),0x3ed,_0xc1b5bb),this[_0x1d5a50(0x2a9)]();else{const _0x44b595=_0x55fac2[_0x1d5a50(0x197)](0x0);if(!_0x562627(_0x44b595)){const _0x2d4ffa=this[_0x1d5a50(0x1ad)](RangeError,_0x1d5a50(0x28c)+_0x44b595,!0x0,0x3ea,_0x1d5a50(0x169));_0x4e5240(_0x2d4ffa);return;}const _0x3b88c5=new _0x2a0b76(_0x55fac2[_0x1d5a50(0x141)],_0x55fac2['byteOffset']+0x2,_0x55fac2[_0x1d5a50(0x238)]-0x2);if(!this[_0x1d5a50(0x1b1)]&&!_0x3b2c5f(_0x3b88c5)){const _0x545dab=this[_0x1d5a50(0x1ad)](Error,_0x1d5a50(0x15c),!0x0,0x3ef,_0x1d5a50(0x2a8));_0x4e5240(_0x545dab);return;}this[_0x1d5a50(0x2f7)]=!0x1,this[_0x1d5a50(0x2a0)](_0x1d5a50(0x1cc),_0x44b595,_0x3b88c5),this['end']();}this[_0x1d5a50(0x1fa)]=_0x39358f;return;}this[_0x1d5a50(0x217)]?(this[_0x1d5a50(0x2a0)](this[_0x1d5a50(0x149)]===0x9?_0x1d5a50(0x261):_0x1d5a50(0x192),_0x55fac2),this[_0x1d5a50(0x1fa)]=_0x39358f):(this[_0x1d5a50(0x1fa)]=_0x5a4a69,setImmediate(()=>{const _0x4561ca=_0x1d5a50;this[_0x4561ca(0x2a0)](this[_0x4561ca(0x149)]===0x9?_0x4561ca(0x261):'pong',_0x55fac2),this['_state']=_0x39358f,this[_0x4561ca(0x1f3)](_0x4e5240);}));}[_0x5c4d6d(0x1ad)](_0x1d93e7,_0x4d4b9f,_0x2c8840,_0x3c8854,_0xf12e9e){const _0x30fd97=_0x5c4d6d;this['_loop']=!0x1,this[_0x30fd97(0x2f4)]=!0x0;const _0x2dd8d5=new _0x1d93e7(_0x2c8840?_0x30fd97(0x19c)+_0x4d4b9f:_0x4d4b9f);return Error['captureStackTrace'](_0x2dd8d5,this[_0x30fd97(0x1ad)]),_0x2dd8d5[_0x30fd97(0x25f)]=_0xf12e9e,_0x2dd8d5[_0x426cc9]=_0x3c8854,_0x2dd8d5;}}return Se=_0x4035bf,Se;}var Ee,Xe;function _0x2a03(_0x1b3ee5,_0x132f7f){const _0x2fd3b8=_0x2fd3();return _0x2a03=function(_0x2a03d5,_0x3785eb){_0x2a03d5=_0x2a03d5-0x13d;let _0x5d2192=_0x2fd3b8[_0x2a03d5];return _0x5d2192;},_0x2a03(_0x1b3ee5,_0x132f7f);}function ft(){const _0x139a9d=_0x399aed;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x7cd234}=oe,{randomFillSync:_0x2a0d52}=Le,_0x1304cc=he(),{EMPTY_BUFFER:_0x598332,kWebSocket:_0x50ee62,NOOP:_0x3e4644}=H(),{isBlob:_0x43c005,isValidStatusCode:_0x6534c5}=ae(),{mask:_0x248d62,toBuffer:_0x20595c}=ce(),_0x53def3=Symbol('kByteLength'),_0x2e593f=Buffer[_0x139a9d(0x1ce)](0x4),_0x2fca49=0x8*0x400;let _0x2bb719,_0x3286a0=_0x2fca49;const _0x198fb9=0x0,_0x78faf1=0x1,_0x44444e=0x2;class _0x502aaa{constructor(_0x5c3a6c,_0x485dd0,_0x34872a){const _0x9188a9=_0x139a9d;this[_0x9188a9(0x282)]=_0x485dd0||{},_0x34872a&&(this[_0x9188a9(0x300)]=_0x34872a,this[_0x9188a9(0x24f)]=Buffer[_0x9188a9(0x1ce)](0x4)),this['_socket']=_0x5c3a6c,this['_firstFragment']=!0x0,this['_compress']=!0x1,this['_bufferedBytes']=0x0,this['_queue']=[],this['_state']=_0x198fb9,this['onerror']=_0x3e4644,this[_0x50ee62]=void 0x0;}static[_0x139a9d(0x2ce)](_0x20c8cb,_0x285b8f){const _0x326d9a=_0x139a9d;let _0x450715,_0x140490=!0x1,_0x3b30cb=0x2,_0x479b46=!0x1;_0x285b8f['mask']&&(_0x450715=_0x285b8f[_0x326d9a(0x14e)]||_0x2e593f,_0x285b8f[_0x326d9a(0x25a)]?_0x285b8f[_0x326d9a(0x25a)](_0x450715):(_0x3286a0===_0x2fca49&&(_0x2bb719===void 0x0&&(_0x2bb719=Buffer[_0x326d9a(0x1ce)](_0x2fca49)),_0x2a0d52(_0x2bb719,0x0,_0x2fca49),_0x3286a0=0x0),_0x450715[0x0]=_0x2bb719[_0x3286a0++],_0x450715[0x1]=_0x2bb719[_0x3286a0++],_0x450715[0x2]=_0x2bb719[_0x3286a0++],_0x450715[0x3]=_0x2bb719[_0x3286a0++]),_0x479b46=(_0x450715[0x0]|_0x450715[0x1]|_0x450715[0x2]|_0x450715[0x3])===0x0,_0x3b30cb=0x6);let _0x46f619;typeof _0x20c8cb==_0x326d9a(0x1e1)?(!_0x285b8f[_0x326d9a(0x20a)]||_0x479b46)&&_0x285b8f[_0x53def3]!==void 0x0?_0x46f619=_0x285b8f[_0x53def3]:(_0x20c8cb=Buffer[_0x326d9a(0x1c3)](_0x20c8cb),_0x46f619=_0x20c8cb['length']):(_0x46f619=_0x20c8cb[_0x326d9a(0x238)],_0x140490=_0x285b8f['mask']&&_0x285b8f['readOnly']&&!_0x479b46);let _0x5e2329=_0x46f619;_0x46f619>=0x10000?(_0x3b30cb+=0x8,_0x5e2329=0x7f):_0x46f619>0x7d&&(_0x3b30cb+=0x2,_0x5e2329=0x7e);const _0x19d523=Buffer[_0x326d9a(0x1bc)](_0x140490?_0x46f619+_0x3b30cb:_0x3b30cb);return _0x19d523[0x0]=_0x285b8f[_0x326d9a(0x256)]?_0x285b8f[_0x326d9a(0x222)]|0x80:_0x285b8f[_0x326d9a(0x222)],_0x285b8f[_0x326d9a(0x201)]&&(_0x19d523[0x0]|=0x40),_0x19d523[0x1]=_0x5e2329,_0x5e2329===0x7e?_0x19d523[_0x326d9a(0x27a)](_0x46f619,0x2):_0x5e2329===0x7f&&(_0x19d523[0x2]=_0x19d523[0x3]=0x0,_0x19d523['writeUIntBE'](_0x46f619,0x4,0x6)),_0x285b8f[_0x326d9a(0x20a)]?(_0x19d523[0x1]|=0x80,_0x19d523[_0x3b30cb-0x4]=_0x450715[0x0],_0x19d523[_0x3b30cb-0x3]=_0x450715[0x1],_0x19d523[_0x3b30cb-0x2]=_0x450715[0x2],_0x19d523[_0x3b30cb-0x1]=_0x450715[0x3],_0x479b46?[_0x19d523,_0x20c8cb]:_0x140490?(_0x248d62(_0x20c8cb,_0x450715,_0x19d523,_0x3b30cb,_0x46f619),[_0x19d523]):(_0x248d62(_0x20c8cb,_0x450715,_0x20c8cb,0x0,_0x46f619),[_0x19d523,_0x20c8cb])):[_0x19d523,_0x20c8cb];}[_0x139a9d(0x2be)](_0x4fe1d2,_0x12753e,_0x249f92,_0x726a50){const _0x142819=_0x139a9d;let _0xf0e42f;if(_0x4fe1d2===void 0x0)_0xf0e42f=_0x598332;else{if(typeof _0x4fe1d2!=_0x142819(0x2a6)||!_0x6534c5(_0x4fe1d2))throw new TypeError(_0x142819(0x209));if(_0x12753e===void 0x0||!_0x12753e[_0x142819(0x238)])_0xf0e42f=Buffer[_0x142819(0x1bc)](0x2),_0xf0e42f['writeUInt16BE'](_0x4fe1d2,0x0);else{const _0x18cc89=Buffer[_0x142819(0x1c1)](_0x12753e);if(_0x18cc89>0x7b)throw new RangeError(_0x142819(0x1d3));_0xf0e42f=Buffer[_0x142819(0x1bc)](0x2+_0x18cc89),_0xf0e42f[_0x142819(0x27a)](_0x4fe1d2,0x0),typeof _0x12753e=='string'?_0xf0e42f[_0x142819(0x2f1)](_0x12753e,0x2):_0xf0e42f[_0x142819(0x236)](_0x12753e,0x2);}}const _0x5e4192={[_0x53def3]:_0xf0e42f['length'],'fin':!0x0,'generateMask':this[_0x142819(0x300)],'mask':_0x249f92,'maskBuffer':this[_0x142819(0x24f)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x142819(0x1fa)]!==_0x198fb9?this[_0x142819(0x299)]([this[_0x142819(0x301)],_0xf0e42f,!0x1,_0x5e4192,_0x726a50]):this[_0x142819(0x2b6)](_0x502aaa[_0x142819(0x2ce)](_0xf0e42f,_0x5e4192),_0x726a50);}[_0x139a9d(0x261)](_0x102b4a,_0x2bea16,_0x1c4390){const _0x5914a0=_0x139a9d;let _0x54a534,_0x35cf98;if(typeof _0x102b4a==_0x5914a0(0x1e1)?(_0x54a534=Buffer['byteLength'](_0x102b4a),_0x35cf98=!0x1):_0x43c005(_0x102b4a)?(_0x54a534=_0x102b4a[_0x5914a0(0x2e7)],_0x35cf98=!0x1):(_0x102b4a=_0x20595c(_0x102b4a),_0x54a534=_0x102b4a[_0x5914a0(0x238)],_0x35cf98=_0x20595c[_0x5914a0(0x1fc)]),_0x54a534>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x32b629={[_0x53def3]:_0x54a534,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x2bea16,'maskBuffer':this[_0x5914a0(0x24f)],'opcode':0x9,'readOnly':_0x35cf98,'rsv1':!0x1};_0x43c005(_0x102b4a)?this[_0x5914a0(0x1fa)]!==_0x198fb9?this[_0x5914a0(0x299)]([this[_0x5914a0(0x2c6)],_0x102b4a,!0x1,_0x32b629,_0x1c4390]):this[_0x5914a0(0x2c6)](_0x102b4a,!0x1,_0x32b629,_0x1c4390):this[_0x5914a0(0x1fa)]!==_0x198fb9?this['enqueue']([this[_0x5914a0(0x301)],_0x102b4a,!0x1,_0x32b629,_0x1c4390]):this[_0x5914a0(0x2b6)](_0x502aaa[_0x5914a0(0x2ce)](_0x102b4a,_0x32b629),_0x1c4390);}['pong'](_0x2cbfdd,_0x43ef03,_0x10402d){const _0xe065d4=_0x139a9d;let _0x51b355,_0x2170f0;if(typeof _0x2cbfdd==_0xe065d4(0x1e1)?(_0x51b355=Buffer['byteLength'](_0x2cbfdd),_0x2170f0=!0x1):_0x43c005(_0x2cbfdd)?(_0x51b355=_0x2cbfdd[_0xe065d4(0x2e7)],_0x2170f0=!0x1):(_0x2cbfdd=_0x20595c(_0x2cbfdd),_0x51b355=_0x2cbfdd[_0xe065d4(0x238)],_0x2170f0=_0x20595c[_0xe065d4(0x1fc)]),_0x51b355>0x7d)throw new RangeError(_0xe065d4(0x148));const _0x15fc21={[_0x53def3]:_0x51b355,'fin':!0x0,'generateMask':this[_0xe065d4(0x300)],'mask':_0x43ef03,'maskBuffer':this[_0xe065d4(0x24f)],'opcode':0xa,'readOnly':_0x2170f0,'rsv1':!0x1};_0x43c005(_0x2cbfdd)?this[_0xe065d4(0x1fa)]!==_0x198fb9?this['enqueue']([this[_0xe065d4(0x2c6)],_0x2cbfdd,!0x1,_0x15fc21,_0x10402d]):this[_0xe065d4(0x2c6)](_0x2cbfdd,!0x1,_0x15fc21,_0x10402d):this[_0xe065d4(0x1fa)]!==_0x198fb9?this[_0xe065d4(0x299)]([this['dispatch'],_0x2cbfdd,!0x1,_0x15fc21,_0x10402d]):this['sendFrame'](_0x502aaa['frame'](_0x2cbfdd,_0x15fc21),_0x10402d);}[_0x139a9d(0x2a2)](_0x1e6444,_0x21f6ee,_0x4b1660){const _0x190ce9=_0x139a9d,_0x27857d=this[_0x190ce9(0x282)][_0x1304cc[_0x190ce9(0x17f)]];let _0x473fba=_0x21f6ee[_0x190ce9(0x18f)]?0x2:0x1,_0x51fbee=_0x21f6ee[_0x190ce9(0x1ef)],_0x59b7ca,_0x2d4a88;typeof _0x1e6444=='string'?(_0x59b7ca=Buffer['byteLength'](_0x1e6444),_0x2d4a88=!0x1):_0x43c005(_0x1e6444)?(_0x59b7ca=_0x1e6444[_0x190ce9(0x2e7)],_0x2d4a88=!0x1):(_0x1e6444=_0x20595c(_0x1e6444),_0x59b7ca=_0x1e6444['length'],_0x2d4a88=_0x20595c[_0x190ce9(0x1fc)]),this[_0x190ce9(0x2f5)]?(this[_0x190ce9(0x2f5)]=!0x1,_0x51fbee&&_0x27857d&&_0x27857d['params'][_0x27857d[_0x190ce9(0x1d0)]?_0x190ce9(0x13d):'client_no_context_takeover']&&(_0x51fbee=_0x59b7ca>=_0x27857d[_0x190ce9(0x22c)]),this[_0x190ce9(0x14a)]=_0x51fbee):(_0x51fbee=!0x1,_0x473fba=0x0),_0x21f6ee[_0x190ce9(0x256)]&&(this['_firstFragment']=!0x0);const _0x25b1a8={[_0x53def3]:_0x59b7ca,'fin':_0x21f6ee[_0x190ce9(0x256)],'generateMask':this[_0x190ce9(0x300)],'mask':_0x21f6ee[_0x190ce9(0x20a)],'maskBuffer':this[_0x190ce9(0x24f)],'opcode':_0x473fba,'readOnly':_0x2d4a88,'rsv1':_0x51fbee};_0x43c005(_0x1e6444)?this['_state']!==_0x198fb9?this[_0x190ce9(0x299)]([this[_0x190ce9(0x2c6)],_0x1e6444,this[_0x190ce9(0x14a)],_0x25b1a8,_0x4b1660]):this[_0x190ce9(0x2c6)](_0x1e6444,this['_compress'],_0x25b1a8,_0x4b1660):this[_0x190ce9(0x1fa)]!==_0x198fb9?this[_0x190ce9(0x299)]([this[_0x190ce9(0x301)],_0x1e6444,this[_0x190ce9(0x14a)],_0x25b1a8,_0x4b1660]):this['dispatch'](_0x1e6444,this[_0x190ce9(0x14a)],_0x25b1a8,_0x4b1660);}[_0x139a9d(0x2c6)](_0x12f780,_0x57359d,_0x5442b1,_0xaf87d4){const _0x1eae9e=_0x139a9d;this[_0x1eae9e(0x143)]+=_0x5442b1[_0x53def3],this[_0x1eae9e(0x1fa)]=_0x44444e,_0x12f780[_0x1eae9e(0x1fe)]()[_0x1eae9e(0x2da)](_0x1f8afb=>{const _0x3703c2=_0x1eae9e;if(this[_0x3703c2(0x23e)][_0x3703c2(0x2fc)]){const _0x331510=new Error(_0x3703c2(0x16b));process[_0x3703c2(0x264)](_0x153634,this,_0x331510,_0xaf87d4);return;}this['_bufferedBytes']-=_0x5442b1[_0x53def3];const _0x30c44b=_0x20595c(_0x1f8afb);_0x57359d?this['dispatch'](_0x30c44b,_0x57359d,_0x5442b1,_0xaf87d4):(this[_0x3703c2(0x1fa)]=_0x198fb9,this[_0x3703c2(0x2b6)](_0x502aaa[_0x3703c2(0x2ce)](_0x30c44b,_0x5442b1),_0xaf87d4),this[_0x3703c2(0x2b9)]());})[_0x1eae9e(0x28a)](_0x5f4639=>{const _0x6d9f21=_0x1eae9e;process[_0x6d9f21(0x264)](_0x16ff9f,this,_0x5f4639,_0xaf87d4);});}['dispatch'](_0x46fe0a,_0x52a192,_0x419d8c,_0x2feb3e){const _0x423b4c=_0x139a9d;if(!_0x52a192){this[_0x423b4c(0x2b6)](_0x502aaa[_0x423b4c(0x2ce)](_0x46fe0a,_0x419d8c),_0x2feb3e);return;}const _0x422a30=this[_0x423b4c(0x282)][_0x1304cc[_0x423b4c(0x17f)]];this['_bufferedBytes']+=_0x419d8c[_0x53def3],this[_0x423b4c(0x1fa)]=_0x78faf1,_0x422a30[_0x423b4c(0x1ef)](_0x46fe0a,_0x419d8c[_0x423b4c(0x256)],(_0x2f11e2,_0x4e3381)=>{const _0x5378c7=_0x423b4c;if(this[_0x5378c7(0x23e)][_0x5378c7(0x2fc)]){const _0x4ce7d1=new Error(_0x5378c7(0x291));_0x153634(this,_0x4ce7d1,_0x2feb3e);return;}this[_0x5378c7(0x143)]-=_0x419d8c[_0x53def3],this[_0x5378c7(0x1fa)]=_0x198fb9,_0x419d8c[_0x5378c7(0x1fc)]=!0x1,this[_0x5378c7(0x2b6)](_0x502aaa[_0x5378c7(0x2ce)](_0x4e3381,_0x419d8c),_0x2feb3e),this[_0x5378c7(0x2b9)]();});}[_0x139a9d(0x2b9)](){const _0x1f3441=_0x139a9d;for(;this[_0x1f3441(0x1fa)]===_0x198fb9&&this['_queue'][_0x1f3441(0x238)];){const _0x46b455=this['_queue']['shift']();this[_0x1f3441(0x143)]-=_0x46b455[0x3][_0x53def3],Reflect['apply'](_0x46b455[0x0],this,_0x46b455[_0x1f3441(0x24d)](0x1));}}[_0x139a9d(0x299)](_0x2755b5){const _0x30e9da=_0x139a9d;this[_0x30e9da(0x143)]+=_0x2755b5[0x3][_0x53def3],this[_0x30e9da(0x1a8)][_0x30e9da(0x199)](_0x2755b5);}[_0x139a9d(0x2b6)](_0xcf2b0d,_0x3da349){const _0x3533f8=_0x139a9d;_0xcf2b0d[_0x3533f8(0x238)]===0x2?(this['_socket'][_0x3533f8(0x1aa)](),this[_0x3533f8(0x23e)]['write'](_0xcf2b0d[0x0]),this[_0x3533f8(0x23e)][_0x3533f8(0x2f1)](_0xcf2b0d[0x1],_0x3da349),this[_0x3533f8(0x23e)]['uncork']()):this['_socket'][_0x3533f8(0x2f1)](_0xcf2b0d[0x0],_0x3da349);}}Ee=_0x502aaa;function _0x153634(_0x1f3507,_0x7d312b,_0x5f3563){const _0x4891dc=_0x139a9d;typeof _0x5f3563=='function'&&_0x5f3563(_0x7d312b);for(let _0xe12493=0x0;_0xe12493<_0x1f3507[_0x4891dc(0x1a8)][_0x4891dc(0x238)];_0xe12493++){const _0xafc63b=_0x1f3507[_0x4891dc(0x1a8)][_0xe12493],_0x168314=_0xafc63b[_0xafc63b[_0x4891dc(0x238)]-0x1];typeof _0x168314==_0x4891dc(0x25b)&&_0x168314(_0x7d312b);}}function _0x16ff9f(_0x2fa2d9,_0x4d75bd,_0x4a7d0d){const _0x454713=_0x139a9d;_0x153634(_0x2fa2d9,_0x4d75bd,_0x4a7d0d),_0x2fa2d9[_0x454713(0x295)](_0x4d75bd);}return Ee;}var xe,Ze;function It(){const _0x53d7f3=_0x399aed;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0xfd61d1,kListener:_0x2e1b92}=H(),_0x5f4b4f=Symbol('kCode'),_0x19e32d=Symbol(_0x53d7f3(0x178)),_0x4e90fa=Symbol('kError'),_0x349ab5=Symbol('kMessage'),_0x52ea99=Symbol(_0x53d7f3(0x1d4)),_0x41e501=Symbol(_0x53d7f3(0x21b)),_0x545bf3=Symbol(_0x53d7f3(0x296)),_0x1bddc7=Symbol('kWasClean');class _0xe1088f{constructor(_0x36230a){this[_0x41e501]=null,this[_0x545bf3]=_0x36230a;}get[_0x53d7f3(0x2cb)](){return this[_0x41e501];}get[_0x53d7f3(0x196)](){return this[_0x545bf3];}}Object[_0x53d7f3(0x2b8)](_0xe1088f[_0x53d7f3(0x276)],_0x53d7f3(0x2cb),{'enumerable':!0x0}),Object[_0x53d7f3(0x2b8)](_0xe1088f[_0x53d7f3(0x276)],_0x53d7f3(0x196),{'enumerable':!0x0});class _0x2be0f2 extends _0xe1088f{constructor(_0x2edf6d,_0x370e49={}){const _0x3c459f=_0x53d7f3;super(_0x2edf6d),this[_0x5f4b4f]=_0x370e49['code']===void 0x0?0x0:_0x370e49[_0x3c459f(0x25f)],this[_0x52ea99]=_0x370e49[_0x3c459f(0x19e)]===void 0x0?'':_0x370e49[_0x3c459f(0x19e)],this[_0x1bddc7]=_0x370e49['wasClean']===void 0x0?!0x1:_0x370e49[_0x3c459f(0x288)];}get[_0x53d7f3(0x25f)](){return this[_0x5f4b4f];}get['reason'](){return this[_0x52ea99];}get['wasClean'](){return this[_0x1bddc7];}}Object[_0x53d7f3(0x2b8)](_0x2be0f2[_0x53d7f3(0x276)],_0x53d7f3(0x25f),{'enumerable':!0x0}),Object[_0x53d7f3(0x2b8)](_0x2be0f2[_0x53d7f3(0x276)],_0x53d7f3(0x19e),{'enumerable':!0x0}),Object['defineProperty'](_0x2be0f2[_0x53d7f3(0x276)],_0x53d7f3(0x288),{'enumerable':!0x0});class _0x375fe8 extends _0xe1088f{constructor(_0x227f5a,_0x38305f={}){const _0x2fa7f6=_0x53d7f3;super(_0x227f5a),this[_0x4e90fa]=_0x38305f[_0x2fa7f6(0x187)]===void 0x0?null:_0x38305f[_0x2fa7f6(0x187)],this[_0x349ab5]=_0x38305f[_0x2fa7f6(0x242)]===void 0x0?'':_0x38305f['message'];}get['error'](){return this[_0x4e90fa];}get[_0x53d7f3(0x242)](){return this[_0x349ab5];}}Object[_0x53d7f3(0x2b8)](_0x375fe8[_0x53d7f3(0x276)],_0x53d7f3(0x187),{'enumerable':!0x0}),Object[_0x53d7f3(0x2b8)](_0x375fe8['prototype'],_0x53d7f3(0x242),{'enumerable':!0x0});class _0x394bae extends _0xe1088f{constructor(_0x477a11,_0xedda2e={}){const _0x5357f4=_0x53d7f3;super(_0x477a11),this[_0x19e32d]=_0xedda2e[_0x5357f4(0x165)]===void 0x0?null:_0xedda2e[_0x5357f4(0x165)];}get[_0x53d7f3(0x165)](){return this[_0x19e32d];}}Object['defineProperty'](_0x394bae['prototype'],'data',{'enumerable':!0x0}),xe={'CloseEvent':_0x2be0f2,'ErrorEvent':_0x375fe8,'Event':_0xe1088f,'EventTarget':{'addEventListener'(_0x455312,_0x241fc9,_0x854bc6={}){const _0x21c410=_0x53d7f3;for(const _0x5afa6d of this['listeners'](_0x455312))if(!_0x854bc6[_0xfd61d1]&&_0x5afa6d[_0x2e1b92]===_0x241fc9&&!_0x5afa6d[_0xfd61d1])return;let _0x41cb87;if(_0x455312===_0x21c410(0x242))_0x41cb87=function(_0x5234c4,_0x359353){const _0xb1c557=_0x21c410,_0xee6a=new _0x394bae(_0xb1c557(0x242),{'data':_0x359353?_0x5234c4:_0x5234c4['toString']()});_0xee6a[_0x41e501]=this,_0x427a0e(_0x241fc9,this,_0xee6a);};else{if(_0x455312===_0x21c410(0x2be))_0x41cb87=function(_0x265b72,_0x2ee2b3){const _0x52861e=_0x21c410,_0x530116=new _0x2be0f2(_0x52861e(0x2be),{'code':_0x265b72,'reason':_0x2ee2b3[_0x52861e(0x145)](),'wasClean':this['_closeFrameReceived']&&this[_0x52861e(0x2b5)]});_0x530116[_0x41e501]=this,_0x427a0e(_0x241fc9,this,_0x530116);};else{if(_0x455312==='error')_0x41cb87=function(_0x5c3702){const _0x4baa38=_0x21c410,_0x574535=new _0x375fe8('error',{'error':_0x5c3702,'message':_0x5c3702[_0x4baa38(0x242)]});_0x574535[_0x41e501]=this,_0x427a0e(_0x241fc9,this,_0x574535);};else{if(_0x455312==='open')_0x41cb87=function(){const _0x48306c=_0x21c410,_0x138f07=new _0xe1088f(_0x48306c(0x14f));_0x138f07[_0x41e501]=this,_0x427a0e(_0x241fc9,this,_0x138f07);};else return;}}}_0x41cb87[_0xfd61d1]=!!_0x854bc6[_0xfd61d1],_0x41cb87[_0x2e1b92]=_0x241fc9,_0x854bc6[_0x21c410(0x2ee)]?this[_0x21c410(0x2ee)](_0x455312,_0x41cb87):this['on'](_0x455312,_0x41cb87);},'removeEventListener'(_0x18e8b0,_0x3b4688){const _0x56dfb9=_0x53d7f3;for(const _0x9d798 of this['listeners'](_0x18e8b0))if(_0x9d798[_0x2e1b92]===_0x3b4688&&!_0x9d798[_0xfd61d1]){this[_0x56dfb9(0x2de)](_0x18e8b0,_0x9d798);break;}}},'MessageEvent':_0x394bae};function _0x427a0e(_0x53d3ff,_0x547578,_0x15b27){const _0x4f863f=_0x53d7f3;typeof _0x53d3ff==_0x4f863f(0x213)&&_0x53d3ff[_0x4f863f(0x28b)]?_0x53d3ff[_0x4f863f(0x28b)][_0x4f863f(0x190)](_0x53d3ff,_0x15b27):_0x53d3ff[_0x4f863f(0x190)](_0x547578,_0x15b27);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x3ea852}=ae();function _0x306f03(_0x30481c,_0xb093b5,_0x44f788){const _0x18a2b3=_0x2a03;_0x30481c[_0xb093b5]===void 0x0?_0x30481c[_0xb093b5]=[_0x44f788]:_0x30481c[_0xb093b5][_0x18a2b3(0x199)](_0x44f788);}function _0x5bf464(_0x3b66b8){const _0x247295=_0x2a03,_0x1db4e3=Object[_0x247295(0x25e)](null);let _0x4ea17f=Object['create'](null),_0x1f1206=!0x1,_0x422733=!0x1,_0x7947e7=!0x1,_0x2de31a,_0x4ee432,_0x1cf5c1=-0x1,_0x388db6=-0x1,_0x94d250=-0x1,_0x4a1da8=0x0;for(;_0x4a1da8<_0x3b66b8[_0x247295(0x238)];_0x4a1da8++)if(_0x388db6=_0x3b66b8[_0x247295(0x16c)](_0x4a1da8),_0x2de31a===void 0x0){if(_0x94d250===-0x1&&_0x3ea852[_0x388db6]===0x1)_0x1cf5c1===-0x1&&(_0x1cf5c1=_0x4a1da8);else{if(_0x4a1da8!==0x0&&(_0x388db6===0x20||_0x388db6===0x9))_0x94d250===-0x1&&_0x1cf5c1!==-0x1&&(_0x94d250=_0x4a1da8);else{if(_0x388db6===0x3b||_0x388db6===0x2c){if(_0x1cf5c1===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x4a1da8);_0x94d250===-0x1&&(_0x94d250=_0x4a1da8);const _0x444484=_0x3b66b8[_0x247295(0x24d)](_0x1cf5c1,_0x94d250);_0x388db6===0x2c?(_0x306f03(_0x1db4e3,_0x444484,_0x4ea17f),_0x4ea17f=Object[_0x247295(0x25e)](null)):_0x2de31a=_0x444484,_0x1cf5c1=_0x94d250=-0x1;}else throw new SyntaxError(_0x247295(0x2ea)+_0x4a1da8);}}}else{if(_0x4ee432===void 0x0){if(_0x94d250===-0x1&&_0x3ea852[_0x388db6]===0x1)_0x1cf5c1===-0x1&&(_0x1cf5c1=_0x4a1da8);else{if(_0x388db6===0x20||_0x388db6===0x9)_0x94d250===-0x1&&_0x1cf5c1!==-0x1&&(_0x94d250=_0x4a1da8);else{if(_0x388db6===0x3b||_0x388db6===0x2c){if(_0x1cf5c1===-0x1)throw new SyntaxError(_0x247295(0x2ea)+_0x4a1da8);_0x94d250===-0x1&&(_0x94d250=_0x4a1da8),_0x306f03(_0x4ea17f,_0x3b66b8[_0x247295(0x24d)](_0x1cf5c1,_0x94d250),!0x0),_0x388db6===0x2c&&(_0x306f03(_0x1db4e3,_0x2de31a,_0x4ea17f),_0x4ea17f=Object['create'](null),_0x2de31a=void 0x0),_0x1cf5c1=_0x94d250=-0x1;}else{if(_0x388db6===0x3d&&_0x1cf5c1!==-0x1&&_0x94d250===-0x1)_0x4ee432=_0x3b66b8[_0x247295(0x24d)](_0x1cf5c1,_0x4a1da8),_0x1cf5c1=_0x94d250=-0x1;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x4a1da8);}}}}else{if(_0x422733){if(_0x3ea852[_0x388db6]!==0x1)throw new SyntaxError(_0x247295(0x2ea)+_0x4a1da8);_0x1cf5c1===-0x1?_0x1cf5c1=_0x4a1da8:_0x1f1206||(_0x1f1206=!0x0),_0x422733=!0x1;}else{if(_0x7947e7){if(_0x3ea852[_0x388db6]===0x1)_0x1cf5c1===-0x1&&(_0x1cf5c1=_0x4a1da8);else{if(_0x388db6===0x22&&_0x1cf5c1!==-0x1)_0x7947e7=!0x1,_0x94d250=_0x4a1da8;else{if(_0x388db6===0x5c)_0x422733=!0x0;else throw new SyntaxError(_0x247295(0x2ea)+_0x4a1da8);}}}else{if(_0x388db6===0x22&&_0x3b66b8['charCodeAt'](_0x4a1da8-0x1)===0x3d)_0x7947e7=!0x0;else{if(_0x94d250===-0x1&&_0x3ea852[_0x388db6]===0x1)_0x1cf5c1===-0x1&&(_0x1cf5c1=_0x4a1da8);else{if(_0x1cf5c1!==-0x1&&(_0x388db6===0x20||_0x388db6===0x9))_0x94d250===-0x1&&(_0x94d250=_0x4a1da8);else{if(_0x388db6===0x3b||_0x388db6===0x2c){if(_0x1cf5c1===-0x1)throw new SyntaxError(_0x247295(0x2ea)+_0x4a1da8);_0x94d250===-0x1&&(_0x94d250=_0x4a1da8);let _0x5912b4=_0x3b66b8['slice'](_0x1cf5c1,_0x94d250);_0x1f1206&&(_0x5912b4=_0x5912b4[_0x247295(0x14d)](/\\/g,''),_0x1f1206=!0x1),_0x306f03(_0x4ea17f,_0x4ee432,_0x5912b4),_0x388db6===0x2c&&(_0x306f03(_0x1db4e3,_0x2de31a,_0x4ea17f),_0x4ea17f=Object['create'](null),_0x2de31a=void 0x0),_0x4ee432=void 0x0,_0x1cf5c1=_0x94d250=-0x1;}else throw new SyntaxError(_0x247295(0x2ea)+_0x4a1da8);}}}}}}}if(_0x1cf5c1===-0x1||_0x7947e7||_0x388db6===0x20||_0x388db6===0x9)throw new SyntaxError(_0x247295(0x146));_0x94d250===-0x1&&(_0x94d250=_0x4a1da8);const _0x5bbeaf=_0x3b66b8[_0x247295(0x24d)](_0x1cf5c1,_0x94d250);return _0x2de31a===void 0x0?_0x306f03(_0x1db4e3,_0x5bbeaf,_0x4ea17f):(_0x4ee432===void 0x0?_0x306f03(_0x4ea17f,_0x5bbeaf,!0x0):_0x1f1206?_0x306f03(_0x4ea17f,_0x4ee432,_0x5bbeaf[_0x247295(0x14d)](/\\/g,'')):_0x306f03(_0x4ea17f,_0x4ee432,_0x5bbeaf),_0x306f03(_0x1db4e3,_0x2de31a,_0x4ea17f)),_0x1db4e3;}function _0x268817(_0x18e1f6){const _0x5672c2=_0x2a03;return Object[_0x5672c2(0x269)](_0x18e1f6)['map'](_0x1018f8=>{const _0x1dea28=_0x5672c2;let _0x1e0961=_0x18e1f6[_0x1018f8];return Array['isArray'](_0x1e0961)||(_0x1e0961=[_0x1e0961]),_0x1e0961[_0x1dea28(0x2d3)](_0x5c9a0b=>[_0x1018f8][_0x1dea28(0x1d7)](Object[_0x1dea28(0x269)](_0x5c9a0b)[_0x1dea28(0x2d3)](_0x388c91=>{const _0x3b6ed1=_0x1dea28;let _0x3d4547=_0x5c9a0b[_0x388c91];return Array['isArray'](_0x3d4547)||(_0x3d4547=[_0x3d4547]),_0x3d4547[_0x3b6ed1(0x2d3)](_0x1888e9=>_0x1888e9===!0x0?_0x388c91:_0x388c91+'='+_0x1888e9)[_0x3b6ed1(0x2e1)](';\x20');}))[_0x1dea28(0x2e1)](';\x20'))[_0x1dea28(0x2e1)](',\x20');})['join'](',\x20');}return be={'format':_0x268817,'parse':_0x5bf464},be;}var we,Je;function Pe(){const _0x148706=_0x399aed;if(Je)return we;Je=0x1;const _0xc275e3=nt,_0x4839e9=vt,_0x38d06a=ot,_0x31624e=St,_0x4c9597=Et,{randomBytes:_0x28f1e1,createHash:_0x33af1f}=Le,{Duplex:_0x4e8903,Readable:_0x1e0055}=oe,{URL:_0x53c35a}=xt,_0x549016=he(),_0x5d73af=lt(),_0x18d1f3=ft(),{isBlob:_0x95dd42}=ae(),{BINARY_TYPES:_0x12f6f7,EMPTY_BUFFER:_0x241763,GUID:_0x416b57,kForOnEventAttribute:_0x5e6647,kListener:_0x299bd6,kStatusCode:_0x329c01,kWebSocket:_0x33d43c,NOOP:_0xf6aade}=H(),{EventTarget:{addEventListener:_0xb757f,removeEventListener:_0x45a2b8}}=It(),{format:_0x1916c1,parse:_0x2fef64}=ct(),{toBuffer:_0xde3412}=ce(),_0x4bb529=0x1e*0x3e8,_0x6b4107=Symbol('kAborted'),_0x16fb39=[0x8,0xd],_0x1290d4=[_0x148706(0x29f),_0x148706(0x168),_0x148706(0x1bb),_0x148706(0x225)],_0x4da192=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x742603 extends _0xc275e3{constructor(_0x417e13,_0x4147d5,_0x2c4ed9){const _0x2e8c13=_0x148706;super(),this[_0x2e8c13(0x268)]=_0x12f6f7[0x0],this[_0x2e8c13(0x1fd)]=0x3ee,this[_0x2e8c13(0x183)]=!0x1,this[_0x2e8c13(0x2b5)]=!0x1,this[_0x2e8c13(0x184)]=_0x241763,this[_0x2e8c13(0x17b)]=null,this[_0x2e8c13(0x283)]=!0x1,this[_0x2e8c13(0x282)]={},this['_paused']=!0x1,this['_protocol']='',this[_0x2e8c13(0x2ff)]=_0x742603[_0x2e8c13(0x29f)],this['_receiver']=null,this[_0x2e8c13(0x285)]=null,this[_0x2e8c13(0x23e)]=null,_0x417e13!==null?(this[_0x2e8c13(0x2d6)]=0x0,this[_0x2e8c13(0x1d0)]=!0x1,this['_redirects']=0x0,_0x4147d5===void 0x0?_0x4147d5=[]:Array[_0x2e8c13(0x1cd)](_0x4147d5)||(typeof _0x4147d5==_0x2e8c13(0x213)&&_0x4147d5!==null?(_0x2c4ed9=_0x4147d5,_0x4147d5=[]):_0x4147d5=[_0x4147d5]),_0x56d9e9(this,_0x417e13,_0x4147d5,_0x2c4ed9)):(this[_0x2e8c13(0x29a)]=_0x2c4ed9[_0x2e8c13(0x171)],this['_isServer']=!0x0);}get['binaryType'](){const _0x4da0ec=_0x148706;return this[_0x4da0ec(0x268)];}set[_0x148706(0x253)](_0x569cd9){const _0x57b5e7=_0x148706;_0x12f6f7['includes'](_0x569cd9)&&(this[_0x57b5e7(0x268)]=_0x569cd9,this[_0x57b5e7(0x275)]&&(this[_0x57b5e7(0x275)]['_binaryType']=_0x569cd9));}get[_0x148706(0x1de)](){const _0xe7857d=_0x148706;return this[_0xe7857d(0x23e)]?this['_socket']['_writableState'][_0xe7857d(0x238)]+this[_0xe7857d(0x285)][_0xe7857d(0x143)]:this[_0xe7857d(0x2d6)];}get[_0x148706(0x2a7)](){const _0x953da5=_0x148706;return Object['keys'](this[_0x953da5(0x282)])[_0x953da5(0x2e1)]();}get[_0x148706(0x2d5)](){return this['_paused'];}get[_0x148706(0x2ad)](){return null;}get[_0x148706(0x295)](){return null;}get['onopen'](){return null;}get[_0x148706(0x1e5)](){return null;}get[_0x148706(0x218)](){return this['_protocol'];}get[_0x148706(0x1f6)](){const _0x270807=_0x148706;return this[_0x270807(0x2ff)];}get[_0x148706(0x279)](){const _0x3399d6=_0x148706;return this[_0x3399d6(0x210)];}[_0x148706(0x259)](_0x2f2a84,_0x1b5cff,_0x424701){const _0x11a9b4=_0x148706,_0x3aec2c=new _0x5d73af({'allowSynchronousEvents':_0x424701[_0x11a9b4(0x1b5)],'binaryType':this[_0x11a9b4(0x253)],'extensions':this['_extensions'],'isServer':this[_0x11a9b4(0x1d0)],'maxPayload':_0x424701[_0x11a9b4(0x251)],'skipUTF8Validation':_0x424701[_0x11a9b4(0x156)]}),_0x31056a=new _0x18d1f3(_0x2f2a84,this[_0x11a9b4(0x282)],_0x424701[_0x11a9b4(0x25a)]);this[_0x11a9b4(0x275)]=_0x3aec2c,this[_0x11a9b4(0x285)]=_0x31056a,this[_0x11a9b4(0x23e)]=_0x2f2a84,_0x3aec2c[_0x33d43c]=this,_0x31056a[_0x33d43c]=this,_0x2f2a84[_0x33d43c]=this,_0x3aec2c['on'](_0x11a9b4(0x1cc),_0x1c44a0),_0x3aec2c['on']('drain',_0x17739a),_0x3aec2c['on'](_0x11a9b4(0x187),_0x49793f),_0x3aec2c['on']('message',_0x283549),_0x3aec2c['on']('ping',_0x107a1a),_0x3aec2c['on'](_0x11a9b4(0x192),_0xbead42),_0x31056a['onerror']=_0x38a949,_0x2f2a84[_0x11a9b4(0x21a)]&&_0x2f2a84['setTimeout'](0x0),_0x2f2a84[_0x11a9b4(0x2d8)]&&_0x2f2a84[_0x11a9b4(0x2d8)](),_0x1b5cff['length']>0x0&&_0x2f2a84['unshift'](_0x1b5cff),_0x2f2a84['on']('close',_0x692a27),_0x2f2a84['on'](_0x11a9b4(0x165),_0x56ee1e),_0x2f2a84['on'](_0x11a9b4(0x2a9),_0x39de29),_0x2f2a84['on']('error',_0x456d38),this[_0x11a9b4(0x2ff)]=_0x742603['OPEN'],this['emit'](_0x11a9b4(0x14f));}['emitClose'](){const _0x521e1b=_0x148706;if(!this['_socket']){this[_0x521e1b(0x2ff)]=_0x742603[_0x521e1b(0x225)],this['emit'](_0x521e1b(0x2be),this[_0x521e1b(0x1fd)],this['_closeMessage']);return;}this[_0x521e1b(0x282)][_0x549016[_0x521e1b(0x17f)]]&&this[_0x521e1b(0x282)][_0x549016['extensionName']][_0x521e1b(0x2f3)](),this['_receiver'][_0x521e1b(0x191)](),this[_0x521e1b(0x2ff)]=_0x742603['CLOSED'],this['emit'](_0x521e1b(0x2be),this['_closeCode'],this[_0x521e1b(0x184)]);}[_0x148706(0x2be)](_0x266ad8,_0x4b0b90){const _0x3a10b7=_0x148706;if(this[_0x3a10b7(0x1f6)]!==_0x742603[_0x3a10b7(0x225)]){if(this[_0x3a10b7(0x1f6)]===_0x742603[_0x3a10b7(0x29f)]){_0xee60c5(this,this[_0x3a10b7(0x1da)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}if(this[_0x3a10b7(0x1f6)]===_0x742603[_0x3a10b7(0x1bb)]){this[_0x3a10b7(0x2b5)]&&(this[_0x3a10b7(0x183)]||this[_0x3a10b7(0x275)][_0x3a10b7(0x219)][_0x3a10b7(0x26c)])&&this['_socket'][_0x3a10b7(0x2a9)]();return;}this[_0x3a10b7(0x2ff)]=_0x742603['CLOSING'],this[_0x3a10b7(0x285)][_0x3a10b7(0x2be)](_0x266ad8,_0x4b0b90,!this[_0x3a10b7(0x1d0)],_0x3a3056=>{const _0x3ed96d=_0x3a10b7;_0x3a3056||(this[_0x3ed96d(0x2b5)]=!0x0,(this['_closeFrameReceived']||this[_0x3ed96d(0x275)][_0x3ed96d(0x219)][_0x3ed96d(0x26c)])&&this[_0x3ed96d(0x23e)][_0x3ed96d(0x2a9)]());}),_0x225e8d(this);}}[_0x148706(0x267)](){const _0x558c6b=_0x148706;this[_0x558c6b(0x1f6)]===_0x742603[_0x558c6b(0x29f)]||this['readyState']===_0x742603[_0x558c6b(0x225)]||(this[_0x558c6b(0x1c8)]=!0x0,this['_socket'][_0x558c6b(0x267)]());}[_0x148706(0x261)](_0xc8455,_0x248707,_0x11d194){const _0x54fddb=_0x148706;if(this['readyState']===_0x742603['CONNECTING'])throw new Error(_0x54fddb(0x235));if(typeof _0xc8455==_0x54fddb(0x25b)?(_0x11d194=_0xc8455,_0xc8455=_0x248707=void 0x0):typeof _0x248707==_0x54fddb(0x25b)&&(_0x11d194=_0x248707,_0x248707=void 0x0),typeof _0xc8455=='number'&&(_0xc8455=_0xc8455[_0x54fddb(0x145)]()),this[_0x54fddb(0x1f6)]!==_0x742603[_0x54fddb(0x168)]){_0x175fc4(this,_0xc8455,_0x11d194);return;}_0x248707===void 0x0&&(_0x248707=!this['_isServer']),this[_0x54fddb(0x285)][_0x54fddb(0x261)](_0xc8455||_0x241763,_0x248707,_0x11d194);}['pong'](_0x20da65,_0x3d7260,_0x338901){const _0x446194=_0x148706;if(this[_0x446194(0x1f6)]===_0x742603[_0x446194(0x29f)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x20da65==_0x446194(0x25b)?(_0x338901=_0x20da65,_0x20da65=_0x3d7260=void 0x0):typeof _0x3d7260==_0x446194(0x25b)&&(_0x338901=_0x3d7260,_0x3d7260=void 0x0),typeof _0x20da65==_0x446194(0x2a6)&&(_0x20da65=_0x20da65['toString']()),this[_0x446194(0x1f6)]!==_0x742603[_0x446194(0x168)]){_0x175fc4(this,_0x20da65,_0x338901);return;}_0x3d7260===void 0x0&&(_0x3d7260=!this[_0x446194(0x1d0)]),this['_sender'][_0x446194(0x192)](_0x20da65||_0x241763,_0x3d7260,_0x338901);}['resume'](){const _0x17926c=_0x148706;this['readyState']===_0x742603[_0x17926c(0x29f)]||this[_0x17926c(0x1f6)]===_0x742603[_0x17926c(0x225)]||(this[_0x17926c(0x1c8)]=!0x1,this[_0x17926c(0x275)][_0x17926c(0x219)]['needDrain']||this[_0x17926c(0x23e)]['resume']());}[_0x148706(0x2a2)](_0x41fd56,_0x3593b2,_0x2bbb7b){const _0x57f4b0=_0x148706;if(this[_0x57f4b0(0x1f6)]===_0x742603[_0x57f4b0(0x29f)])throw new Error(_0x57f4b0(0x235));if(typeof _0x3593b2=='function'&&(_0x2bbb7b=_0x3593b2,_0x3593b2={}),typeof _0x41fd56==_0x57f4b0(0x2a6)&&(_0x41fd56=_0x41fd56[_0x57f4b0(0x145)]()),this[_0x57f4b0(0x1f6)]!==_0x742603[_0x57f4b0(0x168)]){_0x175fc4(this,_0x41fd56,_0x2bbb7b);return;}const _0x4daed8={'binary':typeof _0x41fd56!='string','mask':!this[_0x57f4b0(0x1d0)],'compress':!0x0,'fin':!0x0,..._0x3593b2};this[_0x57f4b0(0x282)][_0x549016['extensionName']]||(_0x4daed8[_0x57f4b0(0x1ef)]=!0x1),this[_0x57f4b0(0x285)][_0x57f4b0(0x2a2)](_0x41fd56||_0x241763,_0x4daed8,_0x2bbb7b);}[_0x148706(0x147)](){const _0x3ad545=_0x148706;if(this[_0x3ad545(0x1f6)]!==_0x742603[_0x3ad545(0x225)]){if(this[_0x3ad545(0x1f6)]===_0x742603[_0x3ad545(0x29f)]){_0xee60c5(this,this[_0x3ad545(0x1da)],_0x3ad545(0x174));return;}this[_0x3ad545(0x23e)]&&(this[_0x3ad545(0x2ff)]=_0x742603[_0x3ad545(0x1bb)],this[_0x3ad545(0x23e)][_0x3ad545(0x23c)]());}}}Object[_0x148706(0x2b8)](_0x742603,_0x148706(0x29f),{'enumerable':!0x0,'value':_0x1290d4[_0x148706(0x2b0)]('CONNECTING')}),Object[_0x148706(0x2b8)](_0x742603['prototype'],_0x148706(0x29f),{'enumerable':!0x0,'value':_0x1290d4[_0x148706(0x2b0)](_0x148706(0x29f))}),Object[_0x148706(0x2b8)](_0x742603,_0x148706(0x168),{'enumerable':!0x0,'value':_0x1290d4[_0x148706(0x2b0)](_0x148706(0x168))}),Object[_0x148706(0x2b8)](_0x742603[_0x148706(0x276)],_0x148706(0x168),{'enumerable':!0x0,'value':_0x1290d4[_0x148706(0x2b0)](_0x148706(0x168))}),Object[_0x148706(0x2b8)](_0x742603,_0x148706(0x1bb),{'enumerable':!0x0,'value':_0x1290d4[_0x148706(0x2b0)](_0x148706(0x1bb))}),Object[_0x148706(0x2b8)](_0x742603[_0x148706(0x276)],_0x148706(0x1bb),{'enumerable':!0x0,'value':_0x1290d4['indexOf']('CLOSING')}),Object['defineProperty'](_0x742603,_0x148706(0x225),{'enumerable':!0x0,'value':_0x1290d4[_0x148706(0x2b0)](_0x148706(0x225))}),Object[_0x148706(0x2b8)](_0x742603[_0x148706(0x276)],_0x148706(0x225),{'enumerable':!0x0,'value':_0x1290d4['indexOf'](_0x148706(0x225))}),[_0x148706(0x253),_0x148706(0x1de),'extensions',_0x148706(0x2d5),_0x148706(0x218),_0x148706(0x1f6),_0x148706(0x279)][_0x148706(0x15d)](_0x2387cb=>{const _0x451aa6=_0x148706;Object[_0x451aa6(0x2b8)](_0x742603[_0x451aa6(0x276)],_0x2387cb,{'enumerable':!0x0});}),[_0x148706(0x14f),_0x148706(0x187),_0x148706(0x2be),_0x148706(0x242)][_0x148706(0x15d)](_0x2653e0=>{const _0x83a5d1=_0x148706;Object[_0x83a5d1(0x2b8)](_0x742603[_0x83a5d1(0x276)],'on'+_0x2653e0,{'enumerable':!0x0,'get'(){const _0x4b3822=_0x83a5d1;for(const _0x48df70 of this[_0x4b3822(0x27e)](_0x2653e0))if(_0x48df70[_0x5e6647])return _0x48df70[_0x299bd6];return null;},'set'(_0x6fed69){const _0x4deb2d=_0x83a5d1;for(const _0x384bd6 of this['listeners'](_0x2653e0))if(_0x384bd6[_0x5e6647]){this[_0x4deb2d(0x2de)](_0x2653e0,_0x384bd6);break;}typeof _0x6fed69==_0x4deb2d(0x25b)&&this[_0x4deb2d(0x250)](_0x2653e0,_0x6fed69,{[_0x5e6647]:!0x0});}});}),_0x742603[_0x148706(0x276)][_0x148706(0x250)]=_0xb757f,_0x742603['prototype'][_0x148706(0x154)]=_0x45a2b8,we=_0x742603;function _0x56d9e9(_0x4d3160,_0x23ae8c,_0xc7a341,_0x42941a){const _0x4cd965=_0x148706,_0x1ebb38={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x16fb39[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x42941a,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x4cd965(0x160),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x4d3160[_0x4cd965(0x29a)]=_0x1ebb38[_0x4cd965(0x171)],!_0x16fb39[_0x4cd965(0x26d)](_0x1ebb38['protocolVersion']))throw new RangeError(_0x4cd965(0x26b)+_0x1ebb38[_0x4cd965(0x18c)]+_0x4cd965(0x2c3)+_0x16fb39['join'](',\x20')+')');let _0x279e04;if(_0x23ae8c instanceof _0x53c35a)_0x279e04=_0x23ae8c;else try{_0x279e04=new _0x53c35a(_0x23ae8c);}catch{throw new SyntaxError(_0x4cd965(0x1ac)+_0x23ae8c);}_0x279e04['protocol']===_0x4cd965(0x2b4)?_0x279e04[_0x4cd965(0x218)]=_0x4cd965(0x270):_0x279e04[_0x4cd965(0x218)]===_0x4cd965(0x22d)&&(_0x279e04[_0x4cd965(0x218)]='wss:'),_0x4d3160[_0x4cd965(0x210)]=_0x279e04['href'];const _0x1b67e2=_0x279e04[_0x4cd965(0x218)]===_0x4cd965(0x2a5),_0x40fe89=_0x279e04['protocol']==='ws+unix:';let _0x233c22;if(_0x279e04['protocol']!==_0x4cd965(0x270)&&!_0x1b67e2&&!_0x40fe89?_0x233c22=_0x4cd965(0x1f1):_0x40fe89&&!_0x279e04[_0x4cd965(0x155)]?_0x233c22='The\x20URL\x27s\x20pathname\x20is\x20empty':_0x279e04[_0x4cd965(0x1df)]&&(_0x233c22=_0x4cd965(0x1b8)),_0x233c22){const _0x8d0ead=new SyntaxError(_0x233c22);if(_0x4d3160[_0x4cd965(0x179)]===0x0)throw _0x8d0ead;_0x2588df(_0x4d3160,_0x8d0ead);return;}const _0x413c59=_0x1b67e2?0x1bb:0x50,_0x598eb2=_0x28f1e1(0x10)[_0x4cd965(0x145)](_0x4cd965(0x1a7)),_0x52c21a=_0x1b67e2?_0x4839e9[_0x4cd965(0x1fb)]:_0x38d06a['request'],_0x4b367c=new Set();let _0x42f93e;if(_0x1ebb38[_0x4cd965(0x29d)]=_0x1ebb38[_0x4cd965(0x29d)]||(_0x1b67e2?_0xd140ec:_0x16d3de),_0x1ebb38[_0x4cd965(0x28d)]=_0x1ebb38['defaultPort']||_0x413c59,_0x1ebb38[_0x4cd965(0x1c9)]=_0x279e04[_0x4cd965(0x1c9)]||_0x413c59,_0x1ebb38[_0x4cd965(0x151)]=_0x279e04[_0x4cd965(0x220)]['startsWith']('[')?_0x279e04['hostname'][_0x4cd965(0x24d)](0x1,-0x1):_0x279e04[_0x4cd965(0x220)],_0x1ebb38[_0x4cd965(0x2c8)]={..._0x1ebb38[_0x4cd965(0x2c8)],'Sec-WebSocket-Version':_0x1ebb38['protocolVersion'],'Sec-WebSocket-Key':_0x598eb2,'Connection':_0x4cd965(0x2ae),'Upgrade':_0x4cd965(0x298)},_0x1ebb38[_0x4cd965(0x2ac)]=_0x279e04[_0x4cd965(0x155)]+_0x279e04[_0x4cd965(0x2fb)],_0x1ebb38['timeout']=_0x1ebb38['handshakeTimeout'],_0x1ebb38[_0x4cd965(0x2a3)]&&(_0x42f93e=new _0x549016(_0x1ebb38[_0x4cd965(0x2a3)]!==!0x0?_0x1ebb38[_0x4cd965(0x2a3)]:{},!0x1,_0x1ebb38['maxPayload']),_0x1ebb38[_0x4cd965(0x2c8)][_0x4cd965(0x1b3)]=_0x1916c1({[_0x549016[_0x4cd965(0x17f)]]:_0x42f93e[_0x4cd965(0x1e2)]()})),_0xc7a341[_0x4cd965(0x238)]){for(const _0x2bc80a of _0xc7a341){if(typeof _0x2bc80a!=_0x4cd965(0x1e1)||!_0x4da192[_0x4cd965(0x1a3)](_0x2bc80a)||_0x4b367c[_0x4cd965(0x2d2)](_0x2bc80a))throw new SyntaxError(_0x4cd965(0x1eb));_0x4b367c[_0x4cd965(0x157)](_0x2bc80a);}_0x1ebb38[_0x4cd965(0x2c8)][_0x4cd965(0x18b)]=_0xc7a341[_0x4cd965(0x2e1)](',');}if(_0x1ebb38['origin']&&(_0x1ebb38[_0x4cd965(0x18c)]<0xd?_0x1ebb38[_0x4cd965(0x2c8)][_0x4cd965(0x2fa)]=_0x1ebb38[_0x4cd965(0x302)]:_0x1ebb38[_0x4cd965(0x2c8)][_0x4cd965(0x272)]=_0x1ebb38['origin']),(_0x279e04[_0x4cd965(0x1bd)]||_0x279e04['password'])&&(_0x1ebb38[_0x4cd965(0x2f2)]=_0x279e04['username']+':'+_0x279e04[_0x4cd965(0x19a)]),_0x40fe89){const _0x59de30=_0x1ebb38[_0x4cd965(0x2ac)][_0x4cd965(0x21f)](':');_0x1ebb38['socketPath']=_0x59de30[0x0],_0x1ebb38[_0x4cd965(0x2ac)]=_0x59de30[0x1];}let _0x26fbdb;if(_0x1ebb38[_0x4cd965(0x150)]){if(_0x4d3160['_redirects']===0x0){_0x4d3160[_0x4cd965(0x2fd)]=_0x40fe89,_0x4d3160[_0x4cd965(0x2e0)]=_0x1b67e2,_0x4d3160[_0x4cd965(0x2e6)]=_0x40fe89?_0x1ebb38[_0x4cd965(0x252)]:_0x279e04[_0x4cd965(0x151)];const _0xc5b380=_0x42941a&&_0x42941a[_0x4cd965(0x2c8)];if(_0x42941a={..._0x42941a,'headers':{}},_0xc5b380){for(const [_0x34fb19,_0x46d583]of Object[_0x4cd965(0x245)](_0xc5b380))_0x42941a['headers'][_0x34fb19[_0x4cd965(0x1ae)]()]=_0x46d583;}}else{if(_0x4d3160['listenerCount']('redirect')===0x0){const _0x3d5075=_0x40fe89?_0x4d3160['_originalIpc']?_0x1ebb38[_0x4cd965(0x252)]===_0x4d3160[_0x4cd965(0x2e6)]:!0x1:_0x4d3160[_0x4cd965(0x2fd)]?!0x1:_0x279e04[_0x4cd965(0x151)]===_0x4d3160[_0x4cd965(0x2e6)];(!_0x3d5075||_0x4d3160['_originalSecure']&&!_0x1b67e2)&&(delete _0x1ebb38[_0x4cd965(0x2c8)][_0x4cd965(0x193)],delete _0x1ebb38[_0x4cd965(0x2c8)][_0x4cd965(0x289)],_0x3d5075||delete _0x1ebb38[_0x4cd965(0x2c8)][_0x4cd965(0x151)],_0x1ebb38[_0x4cd965(0x2f2)]=void 0x0);}}_0x1ebb38[_0x4cd965(0x2f2)]&&!_0x42941a[_0x4cd965(0x2c8)]['authorization']&&(_0x42941a[_0x4cd965(0x2c8)][_0x4cd965(0x193)]=_0x4cd965(0x221)+Buffer[_0x4cd965(0x1c3)](_0x1ebb38[_0x4cd965(0x2f2)])[_0x4cd965(0x145)](_0x4cd965(0x1a7))),_0x26fbdb=_0x4d3160[_0x4cd965(0x1da)]=_0x52c21a(_0x1ebb38),_0x4d3160['_redirects']&&_0x4d3160[_0x4cd965(0x2a0)]('redirect',_0x4d3160[_0x4cd965(0x279)],_0x26fbdb);}else _0x26fbdb=_0x4d3160['_req']=_0x52c21a(_0x1ebb38);_0x1ebb38[_0x4cd965(0x27b)]&&_0x26fbdb['on'](_0x4cd965(0x27b),()=>{const _0x12cc24=_0x4cd965;_0xee60c5(_0x4d3160,_0x26fbdb,_0x12cc24(0x24a));}),_0x26fbdb['on']('error',_0x3890be=>{_0x26fbdb===null||_0x26fbdb[_0x6b4107]||(_0x26fbdb=_0x4d3160['_req']=null,_0x2588df(_0x4d3160,_0x3890be));}),_0x26fbdb['on'](_0x4cd965(0x2bd),_0x426338=>{const _0x4f2c0d=_0x4cd965,_0x32e0a5=_0x426338[_0x4f2c0d(0x2c8)]['location'],_0x3e2ad7=_0x426338[_0x4f2c0d(0x1b9)];if(_0x32e0a5&&_0x1ebb38[_0x4f2c0d(0x150)]&&_0x3e2ad7>=0x12c&&_0x3e2ad7<0x190){if(++_0x4d3160[_0x4f2c0d(0x179)]>_0x1ebb38[_0x4f2c0d(0x2e8)]){_0xee60c5(_0x4d3160,_0x26fbdb,_0x4f2c0d(0x1f5));return;}_0x26fbdb['abort']();let _0x3210a6;try{_0x3210a6=new _0x53c35a(_0x32e0a5,_0x23ae8c);}catch{const _0x399afd=new SyntaxError(_0x4f2c0d(0x1ac)+_0x32e0a5);_0x2588df(_0x4d3160,_0x399afd);return;}_0x56d9e9(_0x4d3160,_0x3210a6,_0xc7a341,_0x42941a);}else _0x4d3160[_0x4f2c0d(0x2a0)]('unexpected-response',_0x26fbdb,_0x426338)||_0xee60c5(_0x4d3160,_0x26fbdb,_0x4f2c0d(0x260)+_0x426338[_0x4f2c0d(0x1b9)]);}),_0x26fbdb['on'](_0x4cd965(0x237),(_0x589dc0,_0x5b9f7b,_0x2504a7)=>{const _0x55a290=_0x4cd965;if(_0x4d3160[_0x55a290(0x2a0)](_0x55a290(0x237),_0x589dc0),_0x4d3160[_0x55a290(0x1f6)]!==_0x742603[_0x55a290(0x29f)])return;_0x26fbdb=_0x4d3160[_0x55a290(0x1da)]=null;const _0x2f4d97=_0x589dc0[_0x55a290(0x2c8)][_0x55a290(0x237)];if(_0x2f4d97===void 0x0||_0x2f4d97[_0x55a290(0x1ae)]()!==_0x55a290(0x298)){_0xee60c5(_0x4d3160,_0x5b9f7b,_0x55a290(0x21c));return;}const _0x1208e1=_0x33af1f(_0x55a290(0x1b0))['update'](_0x598eb2+_0x416b57)[_0x55a290(0x1a9)](_0x55a290(0x1a7));if(_0x589dc0[_0x55a290(0x2c8)][_0x55a290(0x207)]!==_0x1208e1){_0xee60c5(_0x4d3160,_0x5b9f7b,_0x55a290(0x1a1));return;}const _0x432eff=_0x589dc0['headers'][_0x55a290(0x1d6)];let _0x388e99;if(_0x432eff!==void 0x0?_0x4b367c[_0x55a290(0x2e7)]?_0x4b367c[_0x55a290(0x2d2)](_0x432eff)||(_0x388e99=_0x55a290(0x162)):_0x388e99='Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested':_0x4b367c['size']&&(_0x388e99=_0x55a290(0x231)),_0x388e99){_0xee60c5(_0x4d3160,_0x5b9f7b,_0x388e99);return;}_0x432eff&&(_0x4d3160['_protocol']=_0x432eff);const _0x5781db=_0x589dc0['headers'][_0x55a290(0x290)];if(_0x5781db!==void 0x0){if(!_0x42f93e){_0xee60c5(_0x4d3160,_0x5b9f7b,_0x55a290(0x2dc));return;}let _0x33af2d;try{_0x33af2d=_0x2fef64(_0x5781db);}catch{_0xee60c5(_0x4d3160,_0x5b9f7b,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0x2d04fc=Object['keys'](_0x33af2d);if(_0x2d04fc[_0x55a290(0x238)]!==0x1||_0x2d04fc[0x0]!==_0x549016[_0x55a290(0x17f)]){_0xee60c5(_0x4d3160,_0x5b9f7b,_0x55a290(0x1e6));return;}try{_0x42f93e[_0x55a290(0x2ed)](_0x33af2d[_0x549016[_0x55a290(0x17f)]]);}catch{_0xee60c5(_0x4d3160,_0x5b9f7b,_0x55a290(0x142));return;}_0x4d3160[_0x55a290(0x282)][_0x549016[_0x55a290(0x17f)]]=_0x42f93e;}_0x4d3160[_0x55a290(0x259)](_0x5b9f7b,_0x2504a7,{'allowSynchronousEvents':_0x1ebb38[_0x55a290(0x1b5)],'generateMask':_0x1ebb38[_0x55a290(0x25a)],'maxPayload':_0x1ebb38[_0x55a290(0x251)],'skipUTF8Validation':_0x1ebb38[_0x55a290(0x156)]});}),_0x1ebb38[_0x4cd965(0x1e9)]?_0x1ebb38[_0x4cd965(0x1e9)](_0x26fbdb,_0x4d3160):_0x26fbdb['end']();}function _0x2588df(_0x2d5f10,_0xdba366){const _0x3676a3=_0x148706;_0x2d5f10['_readyState']=_0x742603[_0x3676a3(0x1bb)],_0x2d5f10[_0x3676a3(0x283)]=!0x0,_0x2d5f10['emit'](_0x3676a3(0x187),_0xdba366),_0x2d5f10[_0x3676a3(0x227)]();}function _0x16d3de(_0x4b7e66){const _0x353c05=_0x148706;return _0x4b7e66['path']=_0x4b7e66[_0x353c05(0x252)],_0x31624e['connect'](_0x4b7e66);}function _0xd140ec(_0x43d9d7){const _0x350a5a=_0x148706;return _0x43d9d7['path']=void 0x0,!_0x43d9d7[_0x350a5a(0x216)]&&_0x43d9d7[_0x350a5a(0x216)]!==''&&(_0x43d9d7['servername']=_0x31624e[_0x350a5a(0x24c)](_0x43d9d7[_0x350a5a(0x151)])?'':_0x43d9d7['host']),_0x4c9597['connect'](_0x43d9d7);}function _0xee60c5(_0x15a57f,_0x48ddf7,_0x1c9b51){const _0x19bbdb=_0x148706;_0x15a57f[_0x19bbdb(0x2ff)]=_0x742603[_0x19bbdb(0x1bb)];const _0x3218e9=new Error(_0x1c9b51);Error[_0x19bbdb(0x265)](_0x3218e9,_0xee60c5),_0x48ddf7['setHeader']?(_0x48ddf7[_0x6b4107]=!0x0,_0x48ddf7['abort'](),_0x48ddf7[_0x19bbdb(0x172)]&&!_0x48ddf7['socket']['destroyed']&&_0x48ddf7[_0x19bbdb(0x172)][_0x19bbdb(0x23c)](),process[_0x19bbdb(0x264)](_0x2588df,_0x15a57f,_0x3218e9)):(_0x48ddf7['destroy'](_0x3218e9),_0x48ddf7[_0x19bbdb(0x2ee)](_0x19bbdb(0x187),_0x15a57f['emit'][_0x19bbdb(0x1c4)](_0x15a57f,'error')),_0x48ddf7['once'](_0x19bbdb(0x2be),_0x15a57f[_0x19bbdb(0x227)][_0x19bbdb(0x1c4)](_0x15a57f)));}function _0x175fc4(_0x3b5631,_0x1c665f,_0x50885d){const _0x586e1b=_0x148706;if(_0x1c665f){const _0xe8b786=_0x95dd42(_0x1c665f)?_0x1c665f[_0x586e1b(0x2e7)]:_0xde3412(_0x1c665f)[_0x586e1b(0x238)];_0x3b5631['_socket']?_0x3b5631[_0x586e1b(0x285)]['_bufferedBytes']+=_0xe8b786:_0x3b5631[_0x586e1b(0x2d6)]+=_0xe8b786;}if(_0x50885d){const _0x6cb1f5=new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x20'+_0x3b5631[_0x586e1b(0x1f6)]+'\x20('+_0x1290d4[_0x3b5631[_0x586e1b(0x1f6)]]+')');process[_0x586e1b(0x264)](_0x50885d,_0x6cb1f5);}}function _0x1c44a0(_0x2be0a8,_0x5d1952){const _0x3d9573=_0x148706,_0x39c53c=this[_0x33d43c];_0x39c53c['_closeFrameReceived']=!0x0,_0x39c53c['_closeMessage']=_0x5d1952,_0x39c53c[_0x3d9573(0x1fd)]=_0x2be0a8,_0x39c53c[_0x3d9573(0x23e)][_0x33d43c]!==void 0x0&&(_0x39c53c[_0x3d9573(0x23e)]['removeListener'](_0x3d9573(0x165),_0x56ee1e),process[_0x3d9573(0x264)](_0x44921b,_0x39c53c['_socket']),_0x2be0a8===0x3ed?_0x39c53c[_0x3d9573(0x2be)]():_0x39c53c[_0x3d9573(0x2be)](_0x2be0a8,_0x5d1952));}function _0x17739a(){const _0x532682=_0x148706,_0x54b3a2=this[_0x33d43c];_0x54b3a2[_0x532682(0x2d5)]||_0x54b3a2['_socket'][_0x532682(0x23d)]();}function _0x49793f(_0x14782e){const _0x3d1e97=_0x148706,_0x20b0ff=this[_0x33d43c];_0x20b0ff[_0x3d1e97(0x23e)][_0x33d43c]!==void 0x0&&(_0x20b0ff['_socket']['removeListener'](_0x3d1e97(0x165),_0x56ee1e),process[_0x3d1e97(0x264)](_0x44921b,_0x20b0ff[_0x3d1e97(0x23e)]),_0x20b0ff[_0x3d1e97(0x2be)](_0x14782e[_0x329c01])),_0x20b0ff['_errorEmitted']||(_0x20b0ff[_0x3d1e97(0x283)]=!0x0,_0x20b0ff['emit'](_0x3d1e97(0x187),_0x14782e));}function _0x2aa0ec(){const _0xedfae0=_0x148706;this[_0x33d43c][_0xedfae0(0x227)]();}function _0x283549(_0x14acb7,_0x5bf573){const _0x1e9341=_0x148706;this[_0x33d43c]['emit'](_0x1e9341(0x242),_0x14acb7,_0x5bf573);}function _0x107a1a(_0xcf47aa){const _0x123d34=_0x148706,_0x1176c9=this[_0x33d43c];_0x1176c9[_0x123d34(0x29a)]&&_0x1176c9[_0x123d34(0x192)](_0xcf47aa,!this['_isServer'],_0xf6aade),_0x1176c9[_0x123d34(0x2a0)](_0x123d34(0x261),_0xcf47aa);}function _0xbead42(_0x2de693){const _0x5b8975=_0x148706;this[_0x33d43c][_0x5b8975(0x2a0)](_0x5b8975(0x192),_0x2de693);}function _0x44921b(_0x2bf6ef){const _0x2bbd7f=_0x148706;_0x2bf6ef[_0x2bbd7f(0x23d)]();}function _0x38a949(_0x397027){const _0x3cbafa=_0x148706,_0x45e215=this[_0x33d43c];_0x45e215[_0x3cbafa(0x1f6)]!==_0x742603[_0x3cbafa(0x225)]&&(_0x45e215['readyState']===_0x742603[_0x3cbafa(0x168)]&&(_0x45e215[_0x3cbafa(0x2ff)]=_0x742603[_0x3cbafa(0x1bb)],_0x225e8d(_0x45e215)),this[_0x3cbafa(0x23e)]['end'](),_0x45e215[_0x3cbafa(0x283)]||(_0x45e215[_0x3cbafa(0x283)]=!0x0,_0x45e215[_0x3cbafa(0x2a0)]('error',_0x397027)));}function _0x225e8d(_0x4adc1d){const _0x1ba006=_0x148706;_0x4adc1d[_0x1ba006(0x17b)]=setTimeout(_0x4adc1d[_0x1ba006(0x23e)]['destroy'][_0x1ba006(0x1c4)](_0x4adc1d[_0x1ba006(0x23e)]),_0x4bb529);}function _0x692a27(){const _0x84e1ef=_0x148706,_0xe4287e=this[_0x33d43c];this[_0x84e1ef(0x2de)]('close',_0x692a27),this['removeListener'](_0x84e1ef(0x165),_0x56ee1e),this[_0x84e1ef(0x2de)](_0x84e1ef(0x2a9),_0x39de29),_0xe4287e[_0x84e1ef(0x2ff)]=_0x742603[_0x84e1ef(0x1bb)];let _0x203fbd;!this[_0x84e1ef(0x25c)][_0x84e1ef(0x2dd)]&&!_0xe4287e[_0x84e1ef(0x183)]&&!_0xe4287e[_0x84e1ef(0x275)][_0x84e1ef(0x219)][_0x84e1ef(0x26c)]&&(_0x203fbd=_0xe4287e['_socket'][_0x84e1ef(0x1cb)]())!==null&&_0xe4287e['_receiver'][_0x84e1ef(0x2f1)](_0x203fbd),_0xe4287e[_0x84e1ef(0x275)][_0x84e1ef(0x2a9)](),this[_0x33d43c]=void 0x0,clearTimeout(_0xe4287e[_0x84e1ef(0x17b)]),_0xe4287e[_0x84e1ef(0x275)][_0x84e1ef(0x219)][_0x84e1ef(0x18d)]||_0xe4287e[_0x84e1ef(0x275)][_0x84e1ef(0x219)][_0x84e1ef(0x26c)]?_0xe4287e[_0x84e1ef(0x227)]():(_0xe4287e[_0x84e1ef(0x275)]['on']('error',_0x2aa0ec),_0xe4287e['_receiver']['on'](_0x84e1ef(0x180),_0x2aa0ec));}function _0x56ee1e(_0x24f8e5){const _0x262594=_0x148706;this[_0x33d43c]['_receiver']['write'](_0x24f8e5)||this[_0x262594(0x267)]();}function _0x39de29(){const _0x554674=_0x148706,_0x49c9c2=this[_0x33d43c];_0x49c9c2[_0x554674(0x2ff)]=_0x742603[_0x554674(0x1bb)],_0x49c9c2[_0x554674(0x275)][_0x554674(0x2a9)](),this[_0x554674(0x2a9)]();}function _0x456d38(){const _0x5424fe=_0x148706,_0x5acf9d=this[_0x33d43c];this[_0x5424fe(0x2de)]('error',_0x456d38),this['on'](_0x5424fe(0x187),_0xf6aade),_0x5acf9d&&(_0x5acf9d[_0x5424fe(0x2ff)]=_0x742603[_0x5424fe(0x1bb)],this['destroy']());}return we;}function _0x2fd3(){const _0x3ce04b=['rxjs','Maximum\x20redirects\x20exceeded','readyState','_options','pipe','Sec-WebSocket-Accept:\x20','_state','request','readOnly','_closeCode','arrayBuffer','_write','_deflate','rsv1','getOwnPropertyDescriptor','8164413PYpYEe','_destroy','writeHead','noServer','sec-websocket-accept','pending','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','mask','nodebuffer','3LFCBeR','Invalid\x20value\x20for\x20parameter\x20\x22','buffers','invalid\x20opcode\x20','_url','WS_ERR_UNEXPECTED_MASK','_server','object','acceptAsClient','stream','servername','_allowSynchronousEvents','protocol','_writableState','setTimeout','kTarget','Invalid\x20Upgrade\x20header','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','concurrencyLimit','split','hostname','Basic\x20','opcode','HTTP/1.1\x20101\x20Switching\x20Protocols','Z_SYNC_FLUSH','CLOSED','listening','emitClose','_injector','WS_ERR_UNEXPECTED_RSV_2_3','species','Sec-WebSocket-Protocol:\x20','_threshold','https:','find','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','564qsWZSU','Server\x20sent\x20no\x20subprotocol','pow','MASK\x20must\x20be\x20set','380691eLvLmf','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','set','upgrade','length','registerHTTPInterceptor','isServer','flush','destroy','resume','_socket','Max\x20payload\x20size\x20exceeded','pluginName','server','message','2798024knqvAD','toDisposable','entries','params','http','shouldHandle','Observable','Opening\x20handshake\x20has\x20timed\x20out','@univerjs-pro/collaboration','isIP','slice','@univerjs/network','_maskBuffer','addEventListener','maxPayload','socketPath','binaryType','Module','dataMessage','fin','listenerCount','reset','setSocket','generateMask','function','_readableState','clientTracking','create','code','Unexpected\x20server\x20response:\x20','ping','_payloadLength','authorized','nextTick','captureStackTrace','WS_ERR_INVALID_OPCODE','pause','_binaryType','keys','UniverCollaborationClientPlugin','Unsupported\x20protocol\x20version:\x20','errorEmitted','includes','_masked','zlibDeflateOptions','ws:','getData','Origin','format','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','_receiver','prototype','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','createServer','url','writeUInt16BE','timeout','toStringTag','method','listeners','readUInt32BE','connection','verifyClient','_extensions','_errorEmitted','sec-websocket-version','_sender','normalizeParams','_maxPayload','wasClean','cookie','catch','handleEvent','invalid\x20status\x20code\x20','defaultPort','serverNoContextTakeover','collaboration-client-node.config','sec-websocket-extensions','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','address','_registerDependencies','freeze','onerror','kType','HTTPService','websocket','enqueue','_autoPong','COLLABORATION_CLIENT_NODE_CONFIG_KEY','Cookie','createConnection','__esModule','CONNECTING','emit','17092720olOsHf','send','perMessageDeflate','total-length','wss:','number','extensions','WS_ERR_INVALID_UTF8','end','createDeflateRaw','next','path','onclose','Upgrade','zlibInflateOptions','indexOf','_configService','_fragmented','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','http:','_closeFrameSent','sendFrame','@univerjs-pro/collaboration-client','defineProperty','dequeue','unmask','NodeCollaborationSocketService','WS_ERR_UNEXPECTED_RSV_1','response','close','The\x20\x22','permessage-deflate','env','Unknown\x20parameter\x20\x22','\x20(supported\x20versions:\x20','_no_context_takeover','decompress','getBlobData','onStarting','headers','encrypted','setConfig','target','WebSocket','serverMaxWindowBits','frame','Invalid\x20HTTP\x20method','jobs','consume','has','map','Injector','isPaused','_bufferedAmount','completeUpgrade','setNoDelay','_shouldEmitClose','then','clients','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','endEmitted','removeListener','listen','_originalSecure','join','WS_ERR_EXPECTED_FIN','ISocketService','byteOffset','_fin','_originalHostOrSocketPath','size','maxRedirects','clientNoContextTakeover','Unexpected\x20character\x20at\x20index\x20','getMask','default','accept','once','DisposableCollection','hasOwnProperty','write','auth','cleanup','_errored','_firstFragment','STATUS_CODES','_loop','_httpService','UniverCollaborationClientNodePlugin','Sec-WebSocket-Origin','search','destroyed','_originalIpc','customHeaders','_readyState','_generateMask','dispatch','origin','server_no_context_takeover','parse','update','isValidUTF8','buffer','Invalid\x20Sec-WebSocket-Extensions\x20header','_bufferedBytes','status-code','toString','Unexpected\x20end\x20of\x20input','terminate','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','_opcode','_compress','haveLength','blob','replace','maskBuffer','open','followRedirects','host','Plugin','text/plain','removeEventListener','pathname','skipUTF8Validation','add','kListener','_fragments','objectMode','FIN\x20must\x20be\x20set','invalid\x20UTF-8\x20sequence','forEach','readable','\x0d\x0a\x0d\x0a','GET','fragments','Server\x20sent\x20an\x20invalid\x20subprotocol','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','share','data','_removeListeners','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','OPEN','WS_ERR_INVALID_CLOSE_CODE','_totalPayloadLength','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','charCodeAt','IConfigService','Upgrade:\x20websocket','_inflate','WS_ERR_EXPECTED_MASK','autoPong','socket','_protocol','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','wsClientError','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','kData','_redirects','shift','_closeTimer','concurrency','kDone','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','extensionName','finish','getPayloadLength64','zlib','_closeFrameReceived','_closeMessage','2137115TkixbZ','\x22:\x20','error','client','getInfo','exports','Sec-WebSocket-Protocol','protocolVersion','finished','constructor','binary','call','removeAllListeners','pong','authorization','WS_NO_BUFFER_UTIL','_compressed','type','readUInt16BE','_doCreateSocket','push','password','Inject','Invalid\x20WebSocket\x20frame:\x20','tls','reason','32ioWWDd','ILogService','Invalid\x20Sec-WebSocket-Accept\x20header','options','test','Disposable','handleProtocols','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','base64','_queue','digest','cork','isBuffer','Invalid\x20URL:\x20','createError','toLowerCase','handleUpgrade','sha1','_skipUTF8Validation','dispose','Sec-WebSocket-Extensions','Invalid\x20Sec-WebSocket-Protocol\x20header','allowSynchronousEvents','_final','client_max_window_bits','The\x20URL\x20contains\x20a\x20fragment\x20identifier','statusCode','_messageLength','CLOSING','allocUnsafe','username','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','_decompress','construct','byteLength','get','from','bind','clientMaxWindowBits','_buffers','RSV1\x20must\x20be\x20clear','_paused','port','131210mllxNM','read','conclude','isArray','alloc','isView','_isServer','DependentOn','controlMessage','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','kReason','ISnapshotServerService','sec-websocket-protocol','concat','isInteger','client_no_context_takeover','_req','createInflateRaw','getPayloadLength16','The\x20server\x20is\x20not\x20running','bufferedAmount','hash','values','string','offer','27062ujxNQn','delete','onmessage','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','threshold','finishRequest','arraybuffer','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','_mask','getConfig','Blob','compress','\x22\x20must\x20have\x20only\x20a\x20single\x20value','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','server_max_window_bits','startLoop'];_0x2fd3=function(){return _0x3ce04b;};return _0x2fd3();}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x1390d6}=oe;function _0x443906(_0x10e0f7){_0x10e0f7['emit']('close');}function _0x5e3819(){const _0x179945=_0x2a03;!this[_0x179945(0x2fc)]&&this[_0x179945(0x219)][_0x179945(0x18d)]&&this[_0x179945(0x23c)]();}function _0x39c3b0(_0x433f65){const _0x50113c=_0x2a03;this[_0x50113c(0x2de)]('error',_0x39c3b0),this[_0x50113c(0x23c)](),this[_0x50113c(0x257)](_0x50113c(0x187))===0x0&&this[_0x50113c(0x2a0)](_0x50113c(0x187),_0x433f65);}function _0x11fa71(_0x191539,_0x15512d){const _0x205deb=_0x2a03;let _0x5a2d21=!0x0;const _0x26288a=new _0x1390d6({..._0x15512d,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x191539['on']('message',function(_0x48c65f,_0x577df8){const _0x1e5459=_0x2a03,_0x33f0d6=!_0x577df8&&_0x26288a[_0x1e5459(0x25c)][_0x1e5459(0x15a)]?_0x48c65f[_0x1e5459(0x145)]():_0x48c65f;_0x26288a[_0x1e5459(0x199)](_0x33f0d6)||_0x191539['pause']();}),_0x191539[_0x205deb(0x2ee)]('error',function(_0x4fe3ba){const _0x2e1343=_0x205deb;_0x26288a[_0x2e1343(0x2fc)]||(_0x5a2d21=!0x1,_0x26288a[_0x2e1343(0x23c)](_0x4fe3ba));}),_0x191539['once'](_0x205deb(0x2be),function(){const _0x1d44c2=_0x205deb;_0x26288a['destroyed']||_0x26288a[_0x1d44c2(0x199)](null);}),_0x26288a[_0x205deb(0x204)]=function(_0x3e3ec8,_0xee9a70){const _0x5cad66=_0x205deb;if(_0x191539[_0x5cad66(0x1f6)]===_0x191539[_0x5cad66(0x225)]){_0xee9a70(_0x3e3ec8),process['nextTick'](_0x443906,_0x26288a);return;}let _0x19b51d=!0x1;_0x191539[_0x5cad66(0x2ee)](_0x5cad66(0x187),function(_0x4b0238){_0x19b51d=!0x0,_0xee9a70(_0x4b0238);}),_0x191539[_0x5cad66(0x2ee)](_0x5cad66(0x2be),function(){const _0x420ab9=_0x5cad66;_0x19b51d||_0xee9a70(_0x3e3ec8),process[_0x420ab9(0x264)](_0x443906,_0x26288a);}),_0x5a2d21&&_0x191539[_0x5cad66(0x147)]();},_0x26288a[_0x205deb(0x1b6)]=function(_0x5f1d32){const _0x5aeba3=_0x205deb;if(_0x191539[_0x5aeba3(0x1f6)]===_0x191539['CONNECTING']){_0x191539[_0x5aeba3(0x2ee)]('open',function(){const _0x2ca2ce=_0x5aeba3;_0x26288a[_0x2ca2ce(0x1b6)](_0x5f1d32);});return;}_0x191539['_socket']!==null&&(_0x191539['_socket'][_0x5aeba3(0x219)][_0x5aeba3(0x18d)]?(_0x5f1d32(),_0x26288a[_0x5aeba3(0x25c)][_0x5aeba3(0x2dd)]&&_0x26288a[_0x5aeba3(0x23c)]()):(_0x191539[_0x5aeba3(0x23e)]['once'](_0x5aeba3(0x180),function(){_0x5f1d32();}),_0x191539[_0x5aeba3(0x2be)]()));},_0x26288a['_read']=function(){const _0x171152=_0x205deb;_0x191539[_0x171152(0x2d5)]&&_0x191539['resume']();},_0x26288a[_0x205deb(0x1ff)]=function(_0x54c9ce,_0xaf7af6,_0x24544a){const _0x545eeb=_0x205deb;if(_0x191539[_0x545eeb(0x1f6)]===_0x191539[_0x545eeb(0x29f)]){_0x191539[_0x545eeb(0x2ee)]('open',function(){const _0x5ce3c3=_0x545eeb;_0x26288a[_0x5ce3c3(0x1ff)](_0x54c9ce,_0xaf7af6,_0x24544a);});return;}_0x191539['send'](_0x54c9ce,_0x24544a);},_0x26288a['on']('end',_0x5e3819),_0x26288a['on'](_0x205deb(0x187),_0x39c3b0),_0x26288a;}return Oe=_0x11fa71,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x53b84d}=ae();function _0x4e5dc8(_0x33dc16){const _0x754acb=_0x2a03,_0x349f0c=new Set();let _0x53ddfb=-0x1,_0x206c0d=-0x1,_0x59d9d4=0x0;for(_0x59d9d4;_0x59d9d4<_0x33dc16[_0x754acb(0x238)];_0x59d9d4++){const _0x9b2a03=_0x33dc16['charCodeAt'](_0x59d9d4);if(_0x206c0d===-0x1&&_0x53b84d[_0x9b2a03]===0x1)_0x53ddfb===-0x1&&(_0x53ddfb=_0x59d9d4);else{if(_0x59d9d4!==0x0&&(_0x9b2a03===0x20||_0x9b2a03===0x9))_0x206c0d===-0x1&&_0x53ddfb!==-0x1&&(_0x206c0d=_0x59d9d4);else{if(_0x9b2a03===0x2c){if(_0x53ddfb===-0x1)throw new SyntaxError(_0x754acb(0x2ea)+_0x59d9d4);_0x206c0d===-0x1&&(_0x206c0d=_0x59d9d4);const _0x48a107=_0x33dc16[_0x754acb(0x24d)](_0x53ddfb,_0x206c0d);if(_0x349f0c[_0x754acb(0x2d2)](_0x48a107))throw new SyntaxError('The\x20\x22'+_0x48a107+'\x22\x20subprotocol\x20is\x20duplicated');_0x349f0c['add'](_0x48a107),_0x53ddfb=_0x206c0d=-0x1;}else throw new SyntaxError(_0x754acb(0x2ea)+_0x59d9d4);}}}if(_0x53ddfb===-0x1||_0x206c0d!==-0x1)throw new SyntaxError(_0x754acb(0x146));const _0x3d5f05=_0x33dc16[_0x754acb(0x24d)](_0x53ddfb,_0x59d9d4);if(_0x349f0c[_0x754acb(0x2d2)](_0x3d5f05))throw new SyntaxError(_0x754acb(0x2bf)+_0x3d5f05+'\x22\x20subprotocol\x20is\x20duplicated');return _0x349f0c[_0x754acb(0x157)](_0x3d5f05),_0x349f0c;}return Ce={'parse':_0x4e5dc8},Ce;}var Te,rt;function Ft(){const _0x17efc8=_0x399aed;if(rt)return Te;rt=0x1;const _0x2f505a=nt,_0xc39ee5=ot,{Duplex:_0x3dd2a3}=oe,{createHash:_0x1f3160}=Le,_0x4eee88=ct(),_0x15cc91=he(),_0x5d5c55=At(),_0xa718=Pe(),{GUID:_0x4fd2e0,kWebSocket:_0x5b5f4d}=H(),_0x310ed6=/^[+/0-9A-Za-z]{22}==$/,_0x5d97ce=0x0,_0x1260d6=0x1,_0x13999e=0x2;class _0x2b4669 extends _0x2f505a{constructor(_0x577dd2,_0x58713c){const _0x499b56=_0x2a03;if(super(),_0x577dd2={'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':_0xa718,..._0x577dd2},_0x577dd2['port']==null&&!_0x577dd2[_0x499b56(0x241)]&&!_0x577dd2[_0x499b56(0x206)]||_0x577dd2[_0x499b56(0x1c9)]!=null&&(_0x577dd2[_0x499b56(0x241)]||_0x577dd2[_0x499b56(0x206)])||_0x577dd2[_0x499b56(0x241)]&&_0x577dd2[_0x499b56(0x206)])throw new TypeError('One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified');if(_0x577dd2[_0x499b56(0x1c9)]!=null?(this[_0x499b56(0x212)]=_0xc39ee5[_0x499b56(0x278)]((_0x315b5e,_0x1e47dd)=>{const _0x31b0ed=_0x499b56,_0x57c53b=_0xc39ee5[_0x31b0ed(0x2f6)][0x1aa];_0x1e47dd[_0x31b0ed(0x205)](0x1aa,{'Content-Length':_0x57c53b['length'],'Content-Type':_0x31b0ed(0x153)}),_0x1e47dd[_0x31b0ed(0x2a9)](_0x57c53b);}),this['_server'][_0x499b56(0x2df)](_0x577dd2[_0x499b56(0x1c9)],_0x577dd2['host'],_0x577dd2['backlog'],_0x58713c)):_0x577dd2[_0x499b56(0x241)]&&(this['_server']=_0x577dd2[_0x499b56(0x241)]),this[_0x499b56(0x212)]){const _0x59e401=this['emit'][_0x499b56(0x1c4)](this,_0x499b56(0x280));this[_0x499b56(0x166)]=_0xdf372b(this[_0x499b56(0x212)],{'listening':this[_0x499b56(0x2a0)]['bind'](this,_0x499b56(0x226)),'error':this[_0x499b56(0x2a0)][_0x499b56(0x1c4)](this,_0x499b56(0x187)),'upgrade':(_0x58832d,_0x5a59a1,_0x1c15bf)=>{const _0x47a7f2=_0x499b56;this[_0x47a7f2(0x1af)](_0x58832d,_0x5a59a1,_0x1c15bf,_0x59e401);}});}_0x577dd2[_0x499b56(0x2a3)]===!0x0&&(_0x577dd2[_0x499b56(0x2a3)]={}),_0x577dd2[_0x499b56(0x25d)]&&(this[_0x499b56(0x2db)]=new Set(),this[_0x499b56(0x2d9)]=!0x1),this[_0x499b56(0x1a2)]=_0x577dd2,this[_0x499b56(0x1fa)]=_0x5d97ce;}[_0x17efc8(0x292)](){const _0x19188a=_0x17efc8;if(this[_0x19188a(0x1a2)][_0x19188a(0x206)])throw new Error(_0x19188a(0x176));return this[_0x19188a(0x212)]?this['_server'][_0x19188a(0x292)]():null;}[_0x17efc8(0x2be)](_0x5201a1){const _0x376f94=_0x17efc8;if(this['_state']===_0x13999e){_0x5201a1&&this[_0x376f94(0x2ee)](_0x376f94(0x2be),()=>{const _0x358533=_0x376f94;_0x5201a1(new Error(_0x358533(0x1dd)));}),process[_0x376f94(0x264)](_0x437739,this);return;}if(_0x5201a1&&this[_0x376f94(0x2ee)](_0x376f94(0x2be),_0x5201a1),this[_0x376f94(0x1fa)]!==_0x1260d6){if(this[_0x376f94(0x1fa)]=_0x1260d6,this[_0x376f94(0x1a2)][_0x376f94(0x206)]||this['options']['server'])this[_0x376f94(0x212)]&&(this[_0x376f94(0x166)](),this[_0x376f94(0x166)]=this['_server']=null),this[_0x376f94(0x2db)]?this[_0x376f94(0x2db)][_0x376f94(0x2e7)]?this[_0x376f94(0x2d9)]=!0x0:process[_0x376f94(0x264)](_0x437739,this):process[_0x376f94(0x264)](_0x437739,this);else{const _0x3f7214=this[_0x376f94(0x212)];this[_0x376f94(0x166)](),this[_0x376f94(0x166)]=this[_0x376f94(0x212)]=null,_0x3f7214['close'](()=>{_0x437739(this);});}}}[_0x17efc8(0x248)](_0x4b53ae){const _0xf0fb73=_0x17efc8;if(this['options']['path']){const _0x2c84b5=_0x4b53ae[_0xf0fb73(0x279)][_0xf0fb73(0x2b0)]('?');if((_0x2c84b5!==-0x1?_0x4b53ae['url'][_0xf0fb73(0x24d)](0x0,_0x2c84b5):_0x4b53ae[_0xf0fb73(0x279)])!==this[_0xf0fb73(0x1a2)][_0xf0fb73(0x2ac)])return!0x1;}return!0x0;}[_0x17efc8(0x1af)](_0x3ebd6e,_0x429c80,_0x30831f,_0x23bc4d){const _0x5adace=_0x17efc8;_0x429c80['on'](_0x5adace(0x187),_0x5e0b12);const _0x144d30=_0x3ebd6e[_0x5adace(0x2c8)]['sec-websocket-key'],_0x3fe96d=_0x3ebd6e[_0x5adace(0x2c8)]['upgrade'],_0x17feaf=+_0x3ebd6e[_0x5adace(0x2c8)][_0x5adace(0x284)];if(_0x3ebd6e[_0x5adace(0x27d)]!==_0x5adace(0x160)){_0x470bf2(this,_0x3ebd6e,_0x429c80,0x195,_0x5adace(0x2cf));return;}if(_0x3fe96d===void 0x0||_0x3fe96d[_0x5adace(0x1ae)]()!==_0x5adace(0x298)){_0x470bf2(this,_0x3ebd6e,_0x429c80,0x190,_0x5adace(0x21c));return;}if(_0x144d30===void 0x0||!_0x310ed6['test'](_0x144d30)){_0x470bf2(this,_0x3ebd6e,_0x429c80,0x190,_0x5adace(0x167));return;}if(_0x17feaf!==0x8&&_0x17feaf!==0xd){_0x470bf2(this,_0x3ebd6e,_0x429c80,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header');return;}if(!this[_0x5adace(0x248)](_0x3ebd6e)){_0x5e850c(_0x429c80,0x190);return;}const _0x1fb446=_0x3ebd6e['headers']['sec-websocket-protocol'];let _0x1155e8=new Set();if(_0x1fb446!==void 0x0)try{_0x1155e8=_0x5d5c55[_0x5adace(0x13e)](_0x1fb446);}catch{_0x470bf2(this,_0x3ebd6e,_0x429c80,0x190,_0x5adace(0x1b4));return;}const _0x404b80=_0x3ebd6e['headers'][_0x5adace(0x290)],_0x40344a={};if(this[_0x5adace(0x1a2)][_0x5adace(0x2a3)]&&_0x404b80!==void 0x0){const _0x50e0c1=new _0x15cc91(this['options']['perMessageDeflate'],!0x0,this[_0x5adace(0x1a2)][_0x5adace(0x251)]);try{const _0x5c09a6=_0x4eee88['parse'](_0x404b80);_0x5c09a6[_0x15cc91['extensionName']]&&(_0x50e0c1[_0x5adace(0x2ed)](_0x5c09a6[_0x15cc91[_0x5adace(0x17f)]]),_0x40344a[_0x15cc91['extensionName']]=_0x50e0c1);}catch{_0x470bf2(this,_0x3ebd6e,_0x429c80,0x190,_0x5adace(0x1a6));return;}}if(this[_0x5adace(0x1a2)]['verifyClient']){const _0x5b9a72={'origin':_0x3ebd6e['headers'][''+(_0x17feaf===0x8?'sec-websocket-origin':_0x5adace(0x302))],'secure':!!(_0x3ebd6e[_0x5adace(0x172)][_0x5adace(0x263)]||_0x3ebd6e['socket'][_0x5adace(0x2c9)]),'req':_0x3ebd6e};if(this[_0x5adace(0x1a2)]['verifyClient'][_0x5adace(0x238)]===0x2){this['options'][_0x5adace(0x281)](_0x5b9a72,(_0x34f101,_0x32576e,_0x15a12d,_0x332988)=>{const _0x1b16eb=_0x5adace;if(!_0x34f101)return _0x5e850c(_0x429c80,_0x32576e||0x191,_0x15a12d,_0x332988);this[_0x1b16eb(0x2d7)](_0x40344a,_0x144d30,_0x1155e8,_0x3ebd6e,_0x429c80,_0x30831f,_0x23bc4d);});return;}if(!this['options'][_0x5adace(0x281)](_0x5b9a72))return _0x5e850c(_0x429c80,0x191);}this[_0x5adace(0x2d7)](_0x40344a,_0x144d30,_0x1155e8,_0x3ebd6e,_0x429c80,_0x30831f,_0x23bc4d);}[_0x17efc8(0x2d7)](_0x318fd1,_0x3655db,_0x31b900,_0x30fdd7,_0x4052da,_0x50dc27,_0x1b03e0){const _0x17699a=_0x17efc8;if(!_0x4052da[_0x17699a(0x15e)]||!_0x4052da['writable'])return _0x4052da[_0x17699a(0x23c)]();if(_0x4052da[_0x5b5f4d])throw new Error(_0x17699a(0x1be));if(this['_state']>_0x5d97ce)return _0x5e850c(_0x4052da,0x1f7);const _0x43e23a=[_0x17699a(0x223),_0x17699a(0x16e),'Connection:\x20Upgrade',_0x17699a(0x1f9)+_0x1f3160(_0x17699a(0x1b0))[_0x17699a(0x13f)](_0x3655db+_0x4fd2e0)['digest'](_0x17699a(0x1a7))],_0x392fb1=new this[(_0x17699a(0x1a2))][(_0x17699a(0x2cc))](null,void 0x0,this[_0x17699a(0x1a2)]);if(_0x31b900[_0x17699a(0x2e7)]){const _0x1e2bc8=this['options'][_0x17699a(0x1a5)]?this[_0x17699a(0x1a2)][_0x17699a(0x1a5)](_0x31b900,_0x30fdd7):_0x31b900[_0x17699a(0x1e0)]()[_0x17699a(0x2ab)]()['value'];_0x1e2bc8&&(_0x43e23a[_0x17699a(0x199)](_0x17699a(0x22b)+_0x1e2bc8),_0x392fb1[_0x17699a(0x173)]=_0x1e2bc8);}if(_0x318fd1[_0x15cc91[_0x17699a(0x17f)]]){const _0x37ae01=_0x318fd1[_0x15cc91[_0x17699a(0x17f)]]['params'],_0x599448=_0x4eee88[_0x17699a(0x273)]({[_0x15cc91['extensionName']]:[_0x37ae01]});_0x43e23a[_0x17699a(0x199)]('Sec-WebSocket-Extensions:\x20'+_0x599448),_0x392fb1[_0x17699a(0x282)]=_0x318fd1;}this['emit'](_0x17699a(0x2c8),_0x43e23a,_0x30fdd7),_0x4052da[_0x17699a(0x2f1)](_0x43e23a[_0x17699a(0x1d7)]('\x0d\x0a')[_0x17699a(0x2e1)]('\x0d\x0a')),_0x4052da[_0x17699a(0x2de)](_0x17699a(0x187),_0x5e0b12),_0x392fb1[_0x17699a(0x259)](_0x4052da,_0x50dc27,{'allowSynchronousEvents':this[_0x17699a(0x1a2)][_0x17699a(0x1b5)],'maxPayload':this[_0x17699a(0x1a2)]['maxPayload'],'skipUTF8Validation':this['options'][_0x17699a(0x156)]}),this['clients']&&(this[_0x17699a(0x2db)][_0x17699a(0x157)](_0x392fb1),_0x392fb1['on'](_0x17699a(0x2be),()=>{const _0x4e464a=_0x17699a;this[_0x4e464a(0x2db)][_0x4e464a(0x1e4)](_0x392fb1),this[_0x4e464a(0x2d9)]&&!this[_0x4e464a(0x2db)][_0x4e464a(0x2e7)]&&process[_0x4e464a(0x264)](_0x437739,this);})),_0x1b03e0(_0x392fb1,_0x30fdd7);}}Te=_0x2b4669;function _0xdf372b(_0x4a12cb,_0x3996bb){const _0x2c63dd=_0x17efc8;for(const _0xfcddf0 of Object[_0x2c63dd(0x269)](_0x3996bb))_0x4a12cb['on'](_0xfcddf0,_0x3996bb[_0xfcddf0]);return function(){const _0x1ab477=_0x2c63dd;for(const _0x13cc37 of Object['keys'](_0x3996bb))_0x4a12cb[_0x1ab477(0x2de)](_0x13cc37,_0x3996bb[_0x13cc37]);};}function _0x437739(_0x56eb34){const _0x1544fd=_0x17efc8;_0x56eb34[_0x1544fd(0x1fa)]=_0x13999e,_0x56eb34[_0x1544fd(0x2a0)]('close');}function _0x5e0b12(){const _0x1818e3=_0x17efc8;this[_0x1818e3(0x23c)]();}function _0x5e850c(_0x3a7600,_0x3b99f6,_0x18b484,_0x14eb24){const _0x419afd=_0x17efc8;_0x18b484=_0x18b484||_0xc39ee5[_0x419afd(0x2f6)][_0x3b99f6],_0x14eb24={'Connection':_0x419afd(0x2be),'Content-Type':'text/html','Content-Length':Buffer[_0x419afd(0x1c1)](_0x18b484),..._0x14eb24},_0x3a7600[_0x419afd(0x2ee)](_0x419afd(0x180),_0x3a7600[_0x419afd(0x23c)]),_0x3a7600[_0x419afd(0x2a9)]('HTTP/1.1\x20'+_0x3b99f6+'\x20'+_0xc39ee5[_0x419afd(0x2f6)][_0x3b99f6]+'\x0d\x0a'+Object['keys'](_0x14eb24)[_0x419afd(0x2d3)](_0x1e70fa=>_0x1e70fa+':\x20'+_0x14eb24[_0x1e70fa])['join']('\x0d\x0a')+_0x419afd(0x15f)+_0x18b484);}function _0x470bf2(_0x20cab1,_0x4bb426,_0x2392d1,_0x44c1f5,_0x16e340){const _0x1db544=_0x17efc8;if(_0x20cab1[_0x1db544(0x257)](_0x1db544(0x175))){const _0x50ea17=new Error(_0x16e340);Error[_0x1db544(0x265)](_0x50ea17,_0x470bf2),_0x20cab1[_0x1db544(0x2a0)](_0x1db544(0x175),_0x50ea17,_0x2392d1,_0x4bb426);}else _0x5e850c(_0x2392d1,_0x44c1f5,_0x16e340);}return Te;}Ft();var jt=Object[_0x399aed(0x202)],Wt=(_0x1eb9a5,_0x1d487d,_0x2b6d7f,_0x1aeb32)=>{const _0x553329=_0x399aed;for(var _0x44039e=_0x1aeb32>0x1?void 0x0:_0x1aeb32?jt(_0x1d487d,_0x2b6d7f):_0x1d487d,_0x494316=_0x1eb9a5[_0x553329(0x238)]-0x1,_0x45bb17;_0x494316>=0x0;_0x494316--)(_0x45bb17=_0x1eb9a5[_0x494316])&&(_0x44039e=_0x45bb17(_0x44039e)||_0x44039e);return _0x44039e;},qt=(_0x43cba6,_0x5de09f)=>(_0x22fbe3,_0x13797f)=>_0x5de09f(_0x22fbe3,_0x13797f,_0x43cba6);let ke=class extends A[_0x399aed(0x1a4)]{constructor(_0x4e3195){const _0xf43b62=_0x399aed;super(),this[_0xf43b62(0x2b1)]=_0x4e3195;}['createSocket'](_0x3573a8){const _0xa21366=_0x399aed;var _0x32f5ae;const _0x485f6c=(_0x32f5ae=this[_0xa21366(0x2b1)][_0xa21366(0x1ed)](fe))==null?void 0x0:_0x32f5ae[_0xa21366(0x2fe)];try{const _0x272757=new $t(_0x3573a8,{'headers':{..._0x485f6c}}),_0x3e536f=new A[(_0xa21366(0x2ef))]();return{'URL':_0x3573a8,'close':(_0x37eb40,_0x3e5922)=>{const _0x1e79e7=_0xa21366;_0x272757['close'](_0x37eb40,_0x3e5922),_0x3e536f[_0x1e79e7(0x1b2)]();},'send':_0x178317=>{const _0x3ac89b=_0xa21366;_0x272757[_0x3ac89b(0x2a2)](_0x178317);},'open$':new V['Observable'](_0x191055=>{const _0x22be21=_0xa21366,_0x33679f=_0x4384f3=>_0x191055[_0x22be21(0x2ab)](_0x4384f3);_0x272757[_0x22be21(0x250)]('open',_0x33679f),_0x3e536f['add'](A['toDisposable'](()=>_0x272757[_0x22be21(0x154)](_0x22be21(0x14f),_0x33679f)));})[_0xa21366(0x1f8)](V[_0xa21366(0x164)]()),'close$':new V[(_0xa21366(0x249))](_0x55f56e=>{const _0x2c8ed3=_0xa21366,_0x2b1c2e=_0x57fead=>_0x55f56e[_0x2c8ed3(0x2ab)](_0x57fead);_0x272757[_0x2c8ed3(0x250)](_0x2c8ed3(0x2be),_0x2b1c2e),_0x3e536f[_0x2c8ed3(0x157)](A[_0x2c8ed3(0x244)](()=>_0x272757[_0x2c8ed3(0x154)](_0x2c8ed3(0x2be),_0x2b1c2e)));})[_0xa21366(0x1f8)](V['share']()),'error$':new V['Observable'](_0x2055c1=>{const _0x718077=_0xa21366,_0x4accd1=_0x3a928b=>_0x2055c1['next'](_0x3a928b);_0x272757[_0x718077(0x250)](_0x718077(0x187),_0x4accd1),_0x3e536f[_0x718077(0x157)](A[_0x718077(0x244)](()=>_0x272757['removeEventListener'](_0x718077(0x187),_0x4accd1)));})[_0xa21366(0x1f8)](V[_0xa21366(0x164)]()),'message$':new V[(_0xa21366(0x249))](_0x5e1eaf=>{const _0x391491=_0xa21366,_0x5e539a=_0x2c7f58=>_0x5e1eaf[_0x391491(0x2ab)](_0x2c7f58);_0x272757[_0x391491(0x250)](_0x391491(0x242),_0x5e539a),_0x3e536f[_0x391491(0x157)](A[_0x391491(0x244)](()=>_0x272757[_0x391491(0x154)](_0x391491(0x242),_0x5e539a)));})['pipe'](V[_0xa21366(0x164)]())};}catch(_0x3004a6){return console[_0xa21366(0x187)](_0x3004a6),null;}}};ke=Wt([qt(0x0,A[_0x399aed(0x16d)])],ke);var Gt=Object[_0x399aed(0x2b8)],Vt=Object[_0x399aed(0x202)],Ht=(_0x59a7ab,_0x4c3445,_0x450216)=>_0x4c3445 in _0x59a7ab?Gt(_0x59a7ab,_0x4c3445,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x450216}):_0x59a7ab[_0x4c3445]=_0x450216,zt=(_0x2678b2,_0x24549a,_0xe82975,_0xc1198)=>{for(var _0x3885bd=_0xc1198>0x1?void 0x0:_0xc1198?Vt(_0x24549a,_0xe82975):_0x24549a,_0x4d2905=_0x2678b2['length']-0x1,_0x5ef7c0;_0x4d2905>=0x0;_0x4d2905--)(_0x5ef7c0=_0x2678b2[_0x4d2905])&&(_0x3885bd=_0x5ef7c0(_0x3885bd)||_0x3885bd);return _0x3885bd;},Ne=(_0x49b5d3,_0x43db86)=>(_0x3200f4,_0xd027a2)=>_0x43db86(_0x3200f4,_0xd027a2,_0x49b5d3),Yt=(_0x3f3995,_0x58bb36,_0x293b96)=>Ht(_0x3f3995,_0x58bb36+'',_0x293b96);exports[_0x399aed(0x2f9)]=class extends A[_0x399aed(0x152)]{constructor(_0x463b52=Ct,_0x371219,_0x5894c4,_0x2a3c82){const _0xca2215=_0x399aed;_0x463b52[_0xca2215(0x2fe)]||_0x371219['warn']('[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.'),super(),this['_configService']=_0x5894c4,this[_0xca2215(0x228)]=_0x2a3c82,this[_0xca2215(0x2b1)][_0xca2215(0x2ca)](fe,_0x463b52);}[_0x399aed(0x2c7)](){const _0x37b566=_0x399aed;this[_0x37b566(0x293)]();}['_registerDependencies'](){const _0x1223c4=_0x399aed;A['registerDependencies'](this['_injector'],[[it[_0x1223c4(0x2e3)],{'useClass':ke}]]);}},Yt(exports[_0x399aed(0x2f9)],_0x399aed(0x240),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),exports[_0x399aed(0x2f9)]=zt([A[_0x399aed(0x1d1)](st[_0x399aed(0x26a)]),Ne(0x1,A[_0x399aed(0x1a0)]),Ne(0x2,A['IConfigService']),Ne(0x3,A[_0x399aed(0x19b)](A[_0x399aed(0x2d4)]))],exports[_0x399aed(0x2f9)]);var Kt=Object['getOwnPropertyDescriptor'],Xt=(_0x5dae5b,_0xa2d787,_0x33c97e,_0xa929b1)=>{for(var _0x534a6f=_0xa929b1>0x1?void 0x0:_0xa929b1?Kt(_0xa2d787,_0x33c97e):_0xa2d787,_0x2b0b86=_0x5dae5b['length']-0x1,_0x4f9e05;_0x2b0b86>=0x0;_0x2b0b86--)(_0x4f9e05=_0x5dae5b[_0x2b0b86])&&(_0x534a6f=_0x4f9e05(_0x534a6f)||_0x534a6f);return _0x534a6f;},ne=(_0xa622bf,_0x160b56)=>(_0x410112,_0x403f1a)=>_0x160b56(_0x410112,_0x403f1a,_0xa622bf);exports['NodeCollaborationSocketService']=class extends st['CollaborationSocketService']{constructor(_0x2dcaec,_0xe59d66,_0x195ede,_0x25e099,_0xcc8fa2){const _0x9ed0d2=_0x399aed;super(_0x2dcaec,_0xe59d66,_0x195ede,_0x25e099,_0xcc8fa2);const _0x42f164=this['_configService'][_0x9ed0d2(0x1ed)](fe);this[_0x9ed0d2(0x2f8)][_0x9ed0d2(0x239)]({'interceptor':(_0x57444c,_0x2bd9ed)=>{const _0x4b42f0=_0x9ed0d2;var _0xf4dffe;const _0x4a5a1c=_0x57444c[_0x4b42f0(0x2c8)];return(_0xf4dffe=_0x42f164==null?void 0x0:_0x42f164['customHeaders'])!=null&&_0xf4dffe[_0x4b42f0(0x289)]&&_0x4a5a1c[_0x4b42f0(0x236)](_0x4b42f0(0x29c),_0x42f164['customHeaders']['cookie']),_0x2bd9ed(_0x57444c);}});}async['createSocket'](_0x36a8d4){const _0x7282f4=_0x399aed;return this[_0x7282f4(0x198)](_0x36a8d4);}},exports['NodeCollaborationSocketService']=Xt([ne(0x0,A['Inject'](A[_0x399aed(0x2d4)])),ne(0x1,A['Inject'](it[_0x399aed(0x297)])),ne(0x2,A[_0x399aed(0x16d)]),ne(0x3,A[_0x399aed(0x1a0)]),ne(0x4,Ot[_0x399aed(0x1d5)])],exports[_0x399aed(0x2bb)]),exports[_0x399aed(0x29b)]=fe;