@p697/clawket 0.3.5 → 0.3.8

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- (function(_0x57eedd,_0x2fd0fe){const _0x513ca6={_0x24605c:0x247,_0x389630:0x39f,_0x8e1b3d:0x50b,_0x480249:0x1be,_0x44d2bc:0x2,_0x95f910:0x3f5,_0x3cc8bf:0x3ca,_0x241989:0xbb,_0x3fe217:0x18d,_0x5a294e:0x545,_0xc626db:0x68a,_0x2fefc5:0x441,_0x1453cd:0x649,_0x462a0b:0x2d3,_0x5a4729:0x2f1,_0x53ea16:0x24e},_0x3d9005={_0x315b79:0x29d},_0x591b54={_0x52f0a2:0x1d},_0x2d746b=_0x57eedd();function _0xde1370(_0x3c1dd7,_0x43ee32){return _0x483f(_0x43ee32-_0x591b54._0x52f0a2,_0x3c1dd7);}function _0x4de675(_0x1b0672,_0x4ade94){return _0x483f(_0x1b0672- -_0x3d9005._0x315b79,_0x4ade94);}while(!![]){try{const _0x4e38f2=-parseInt(_0x4de675(_0x513ca6._0x24605c,0x77))/0x1*(parseInt(_0x4de675(0x35a,0x2a7))/0x2)+parseInt(_0x4de675(_0x513ca6._0x389630,_0x513ca6._0x8e1b3d))/0x3*(parseInt(_0x4de675(_0x513ca6._0x480249,0xc0))/0x4)+-parseInt(_0x4de675(_0x513ca6._0x44d2bc,0x255))/0x5*(-parseInt(_0x4de675(_0x513ca6._0x95f910,_0x513ca6._0x3cc8bf))/0x6)+parseInt(_0xde1370(0x582,0x637))/0x7*(-parseInt(_0x4de675(-_0x513ca6._0x241989,-_0x513ca6._0x3fe217))/0x8)+parseInt(_0xde1370(_0x513ca6._0x5a294e,0x5a0))/0x9*(-parseInt(_0xde1370(_0x513ca6._0xc626db,0x605))/0xa)+-parseInt(_0xde1370(_0x513ca6._0x2fefc5,_0x513ca6._0x1453cd))/0xb+-parseInt(_0xde1370(_0x513ca6._0x462a0b,_0x513ca6._0x5a4729))/0xc*(-parseInt(_0x4de675(_0x513ca6._0x53ea16,0xa1))/0xd);if(_0x4e38f2===_0x2fd0fe)break;else _0x2d746b['push'](_0x2d746b['shift']());}catch(_0x27470a){_0x2d746b['push'](_0x2d746b['shift']());}}}(_0x2fe6,0x473ba));const _0x5be685=(function(){let _0xd9fa6c=!![];return function(_0x3d2335,_0x4e14bb){const _0x386453={_0x2f59e0:0x111},_0x1595cd=_0xd9fa6c?function(){function _0x235dbe(_0x188e26,_0x5a930a){return _0x483f(_0x188e26- -0x1e9,_0x5a930a);}if(_0x4e14bb){const _0x5e851f=_0x4e14bb[_0x235dbe(0x144,_0x386453._0x2f59e0)](_0x3d2335,arguments);return _0x4e14bb=null,_0x5e851f;}}:function(){};return _0xd9fa6c=![],_0x1595cd;};}()),_0x5a0693=_0x5be685(this,function(){const _0x59ef41={_0x158d96:0x534,_0x389ed9:0x73d,_0x54a19a:0x72c,_0x477c2c:0x4fd,_0x544571:0x9ce,_0x50a878:0x9d0,_0x421f93:0x5ef,_0x340e54:0x928,_0x1da22e:0x944,_0x40dff4:0x540,_0xe162af:0x484,_0x31d24a:0xac4},_0x31480a={_0x56fafe:0x32f},_0x42933f={};function _0x1691ce(_0x2ebc60,_0x4a4a59){return _0x483f(_0x4a4a59-0x1ff,_0x2ebc60);}function _0x64eda6(_0x14e0db,_0x3f6fd9){return _0x483f(_0x14e0db-_0x31480a._0x56fafe,_0x3f6fd9);}_0x42933f['CSCeA']=_0x1691ce(_0x59ef41._0x158d96,_0x59ef41._0x389ed9)+_0x64eda6(0x8f4,0x6ce);const _0x5d2582=_0x42933f;return _0x5a0693[_0x64eda6(_0x59ef41._0x54a19a,_0x59ef41._0x477c2c)]()[_0x64eda6(_0x59ef41._0x544571,_0x59ef41._0x50a878)](_0x5d2582[_0x64eda6(_0x59ef41._0x421f93,0x5b2)])[_0x1691ce(0x41f,0x5fc)]()[_0x64eda6(_0x59ef41._0x340e54,_0x59ef41._0x1da22e)+_0x1691ce(_0x59ef41._0x40dff4,_0x59ef41._0xe162af)](_0x5a0693)[_0x1691ce(_0x59ef41._0x31d24a,0x89e)](_0x5d2582[_0x1691ce(0x59e,0x4bf)]);});_0x5a0693();import _0x15072f from'qrcode-terminal';import{readFileSync as _0x33b6c6}from'fs';import{Socket}from'net';import{homedir as _0x5d5628}from'os';import{existsSync,mkdirSync,readFileSync,rmSync,writeFileSync}from'fs';import{randomUUID}from'crypto';import{homedir,hostname,userInfo}from'os';import{join}from'path';var CONFIG_DIR=join(homedir(),_0x2420cb(0x8a2,0x879)),CONFIG_PATH=join(CONFIG_DIR,_0x410a57(0x158,0x8a)+_0x2420cb(0x64e,0x41e));function getPairingConfigPath(){return CONFIG_PATH;}function readPairingConfig(){const _0x529c21={_0x431ff5:0x209,_0x4c6167:0xfd,_0x2288cc:0x659,_0x3f23c5:0x1a2,_0x3da5fa:0x486,_0x493028:0x45b,_0x5ab27b:0x5a1,_0x33300c:0x58c,_0xb1d557:0x4e4,_0x3dfdb4:0x1de,_0x5b3248:0xb4,_0x441b3f:0x286,_0x414177:0x48f,_0x238175:0x315,_0x318884:0x32d,_0x52964c:0x3a4,_0x55b99f:0x321,_0x54b3c4:0x579,_0x2f1c57:0x42f,_0x43fde5:0x37c,_0x40181e:0xa9,_0x597f0a:0x104},_0x29d1da={};function _0x19ae42(_0x17d6f1,_0x51a669){return _0x410a57(_0x51a669,_0x17d6f1-0x35d);}_0x29d1da[_0x19ae42(_0x529c21._0x431ff5,_0x529c21._0x4c6167)]='utf8',_0x29d1da['JXqqs']=function(_0x5bf2fa,_0x1286ce){return _0x5bf2fa!==_0x1286ce;};const _0x2f659f=_0x29d1da;function _0x208f19(_0x24f5cf,_0x5aa299){return _0x410a57(_0x24f5cf,_0x5aa299-0x1ce);}if(!existsSync(CONFIG_PATH))return null;try{const _0x52b221=JSON[_0x208f19(_0x529c21._0x2288cc,0x461)](readFileSync(CONFIG_PATH,_0x2f659f[_0x208f19(-_0x529c21._0x3f23c5,0x7a)]));if(!_0x52b221[_0x19ae42(0x45b,0x3bd)+'l']||!_0x52b221[_0x19ae42(0x40e,0x60f)+'d']||!_0x52b221[_0x19ae42(0x5c4,0x392)+_0x208f19(_0x529c21._0x3da5fa,0x3fd)]||!_0x52b221[_0x19ae42(0x1de,0x384)])return null;const _0x6c3e24={'serverUrl':_0x52b221[_0x19ae42(_0x529c21._0x493028,_0x529c21._0x5ab27b)+'l'],'gatewayId':_0x52b221[_0x208f19(0xc0,0x27f)+'d'],'relaySecret':_0x52b221[_0x19ae42(0x5c4,0x5ca)+_0x19ae42(_0x529c21._0x33300c,_0x529c21._0xb1d557)],'relayUrl':_0x52b221[_0x19ae42(_0x529c21._0x3dfdb4,_0x529c21._0x5b3248)],'instanceId':_0x52b221['instance'+'Id']?.['trim']()||createInstanceId(),'displayName':_0x52b221[_0x208f19(_0x529c21._0x441b3f,0x4dd)+_0x19ae42(_0x529c21._0x414177,_0x529c21._0x238175)]??null,'createdAt':_0x52b221[_0x208f19(_0x529c21._0x318884,_0x529c21._0x52964c)+'t']??new Date()[_0x19ae42(_0x529c21._0x55b99f,0x1ab)+_0x208f19(0x3ef,0x2a0)](),'updatedAt':_0x52b221[_0x19ae42(0x310,0x37c)+'t']??new Date()[_0x19ae42(_0x529c21._0x55b99f,_0x529c21._0x54b3c4)+_0x19ae42(_0x529c21._0x2f1c57,_0x529c21._0x43fde5)]()};return _0x2f659f[_0x208f19(_0x529c21._0x40181e,0x2cd)](_0x52b221[_0x208f19(-0x11f,_0x529c21._0x597f0a)+'Id'],_0x6c3e24[_0x19ae42(0x293,0x136)+'Id'])&&writePairingConfig(_0x6c3e24),_0x6c3e24;}catch{return null;}}function writePairingConfig(_0x24775d){const _0x3353df={_0x259421:0x2a7,_0x50b172:0x358,_0x4f2dd4:0x25d},_0x2fc177={_0x3c2640:0x584},_0xb29baf={'GygqV':function(_0x475c45,_0x15ed80,_0x1e0623,_0x4f9047){return _0x475c45(_0x15ed80,_0x1e0623,_0x4f9047);}},_0x310293={};function _0x51f9b9(_0x31afea,_0x32ce71){return _0x2420cb(_0x32ce71- -0x4b7,_0x31afea);}_0x310293['recursiv'+'e']=!![],mkdirSync(CONFIG_DIR,_0x310293);function _0x480bd1(_0x26cc4d,_0x23568e){return _0x2420cb(_0x23568e- -_0x2fc177._0x3c2640,_0x26cc4d);}_0xb29baf[_0x480bd1(0x4f3,_0x3353df._0x259421)](writeFileSync,CONFIG_PATH,JSON[_0x480bd1(_0x3353df._0x50b172,_0x3353df._0x4f2dd4)+'y'](_0x24775d,null,0x2)+'\x0a','utf8');}function deletePairingConfig(){if(!existsSync(CONFIG_PATH))return;const _0x5c4328={};_0x5c4328['force']=!![],rmSync(CONFIG_PATH,_0x5c4328);}function getDefaultBridgeDisplayName(){const _0x5d84e9={_0x38f04f:0x84,_0x45d21e:0x2b1,_0x26bab4:0x1fd},_0x1dab24={_0x339aa1:0x14a},_0x517d36={_0x2a60ee:0x677},_0xa95d98={'WbKpC':function(_0x3fa3d5){return _0x3fa3d5();},'chcKM':function(_0x2a3b85){return _0x2a3b85();}},_0x430c1b=_0xa95d98['WbKpC'](readOpenClawDefaultAgentName);function _0x57d607(_0x151e4,_0x13335f){return _0x410a57(_0x151e4,_0x13335f-_0x517d36._0x2a60ee);}if(_0x430c1b)return _0x430c1b;try{const _0x524c70=_0xa95d98[_0x4ae0e2(_0x5d84e9._0x38f04f,_0x5d84e9._0x45d21e)](userInfo)['username']['trim']();if(_0x524c70)return _0x524c70;}catch{}function _0x4ae0e2(_0x15af23,_0x2fb17b){return _0x410a57(_0x15af23,_0x2fb17b-_0x1dab24._0x339aa1);}const _0x3a013c=(process.env.LOGNAME??process.env.USER??process.env.USERNAME??'')[_0x4ae0e2(-_0x5d84e9._0x26bab4,0x23)]();if(_0x3a013c)return _0x3a013c;return hostname()['trim']()||'Clawket\x20'+_0x57d607(0x956,0x821);}function pickOpenClawDefaultAgentName(_0x566e27){const _0xb69469={_0x3468c9:0x199,_0x34b875:0xc1,_0x38ad66:0x233,_0x2faf0f:0xa2,_0x301cf4:0x167,_0x39fec7:0x368,_0x10d0f9:0x1cb,_0x1c51ff:0x145,_0x2f4803:0x35f},_0x4ab4b5={_0x3ae504:0x665},_0x3a220a={};_0x3a220a[_0x2401e8(-_0xb69469._0x3468c9,-_0xb69469._0x34b875)]=_0x2401e8(0x130,_0xb69469._0x38ad66);const _0x23af20=_0x3a220a;if(!_0x566e27||typeof _0x566e27!==_0x23af20[_0x569061(-0x1f0,-_0xb69469._0x2faf0f)])return null;const _0x4d8fc9=_0x566e27[_0x569061(0xff,_0xb69469._0x301cf4)];function _0x569061(_0x1cc86b,_0x3a3121){return _0x2420cb(_0x3a3121- -_0x4ab4b5._0x3ae504,_0x1cc86b);}const _0x1f17be=Array[_0x2401e8(-_0xb69469._0x39fec7,-0x16b)](_0x4d8fc9?.[_0x2401e8(0x1af,_0xb69469._0x10d0f9)])?_0x4d8fc9[_0x2401e8(_0xb69469._0x1c51ff,_0xb69469._0x10d0f9)]:[],_0x51106f=_0x1f17be['find'](_0x46f1b5=>isDefaultAgent(_0x46f1b5))??_0x1f17be[_0x569061(0x425,_0xb69469._0x2f4803)](_0x34cf55=>hasAgentId(_0x34cf55,'main'))??_0x1f17be[0x0];function _0x2401e8(_0x3431f7,_0x32df95){return _0x2420cb(_0x32df95- -0x684,_0x3431f7);}return readAgentName(_0x51106f);}function createInstanceId(){const _0xdc0773={_0x959e9:0x5e0,_0x548ccc:0x62f,_0x185df7:0x1f0,_0x524dfd:0x70b,_0x38b671:0x4dc},_0x3a4e06={_0x125ed6:0x34f},_0x33aa69={_0x38e52a:0xa1};function _0x1ec0d1(_0x4b615b,_0x4829e6){return _0x2420cb(_0x4b615b-_0x33aa69._0x38e52a,_0x4829e6);}const _0x4f65e9={};function _0x4dbdb2(_0x19ae7c,_0x5f54e5){return _0x2420cb(_0x5f54e5- -_0x3a4e06._0x125ed6,_0x19ae7c);}_0x4f65e9[_0x1ec0d1(_0xdc0773._0x959e9,0x48f)]=_0x1ec0d1(_0xdc0773._0x548ccc,0x773);const _0x5b45ef=_0x4f65e9,_0x210295=sanitizeId(hostname()||_0x5b45ef[_0x4dbdb2(0x2a1,_0xdc0773._0x185df7)]);return _0x1ec0d1(0x78f,_0xdc0773._0x524dfd)+_0x210295+'-'+randomUUID()[_0x4dbdb2(_0xdc0773._0x38b671,0x62f)](0x0,0xa);}function sanitizeId(_0x7d79a4){const _0x3be22e={_0x2b523f:0x8e5,_0x5555c7:0x78a,_0x50a7d6:0x7d8,_0x4265c0:0x58f,_0x5e9e95:0x3f3},_0x1f7edf={_0x2f9b6b:0x1};function _0x43826b(_0x1325b2,_0x3f3288){return _0x2420cb(_0x1325b2-_0x1f7edf._0x2f9b6b,_0x3f3288);}function _0x20c767(_0x4fb3af,_0x4b755a){return _0x2420cb(_0x4b755a- -0x44,_0x4fb3af);}return _0x7d79a4['trim']()[_0x20c767(0x80d,0x7bc)+_0x20c767(_0x3be22e._0x2b523f,0x6be)]()[_0x20c767(0x70b,0x745)](/[^a-z0-9._-]+/g,'-')[_0x43826b(_0x3be22e._0x5555c7,_0x3be22e._0x50a7d6)](/^-+|-+$/g,'')||_0x43826b(_0x3be22e._0x4265c0,_0x3be22e._0x5e9e95);}function readOpenClawDefaultAgentName(){const _0x448c87={_0x125685:0x26};function _0x21c1de(_0x32784a,_0x17813d){return _0x2420cb(_0x17813d- -_0x448c87._0x125685,_0x32784a);}const _0x5274e3=resolveOpenClawConfigPath();if(!_0x5274e3||!existsSync(_0x5274e3))return null;try{const _0x582769=JSON[_0x21c1de(0xbbb,0x93d)](readFileSync(_0x5274e3,'utf8'));return pickOpenClawDefaultAgentName(_0x582769);}catch{return null;}}function resolveOpenClawConfigPath(){const _0x40d69e={_0x46d8ef:0x6d,_0x3c3e16:0x7d2,_0x4eb73b:0x6c3,_0x261f3d:0x5c2},_0x5f40a3={_0x4e7e91:0x5f8},_0x2479f0={_0x361330:0x6aa};function _0x3c7d0e(_0x2294a6,_0x44a0cf){return _0x2420cb(_0x2294a6-0x1e,_0x44a0cf);}function _0x4181a6(_0x49fc76,_0x14415e){return _0x2420cb(_0x49fc76- -0x6e8,_0x14415e);}const _0x297ec2={'qdbBd':'/root','WorrT':function(_0x32e187,_0x45dfa9){return _0x32e187(_0x45dfa9);},'xSDVc':_0x4181a6(-0x144,-0x3a)+'.json'},_0x5e77b7=new Set(),_0x1ce2bc=[homedir(),_0x297ec2['qdbBd']][_0x4181a6(-0xce,-_0x40d69e._0x46d8ef)](_0x4eea9f=>_0x4eea9f['trim']())[_0x3c7d0e(0x6f8,_0x40d69e._0x3c3e16)](Boolean)[_0x3c7d0e(0x6f8,_0x40d69e._0x4eb73b)](_0x329262=>{function _0x196b47(_0x33b2b8,_0x1e0c5e){return _0x4181a6(_0x33b2b8-_0x2479f0._0x361330,_0x1e0c5e);}if(_0x5e77b7['has'](_0x329262))return![];return _0x5e77b7[_0x196b47(0x591,_0x5f40a3._0x4e7e91)](_0x329262),!![];});for(const _0x50d627 of _0x1ce2bc){const _0x3fedee=join(_0x50d627,_0x4181a6(-0x17d,-0x2e)+'w',_0x3c7d0e(_0x40d69e._0x261f3d,0x6dc)+'.json');if(_0x297ec2['WorrT'](existsSync,_0x3fedee))return _0x3fedee;}return _0x1ce2bc[0x0]?join(_0x1ce2bc[0x0],'.opencla'+'w',_0x297ec2[_0x4181a6(0x258,0x24e)]):null;}function isDefaultAgent(_0x327871){return Boolean(_0x327871&&typeof _0x327871==='object'&&_0x327871['default']===!![]);}function hasAgentId(_0x5501ff,_0xa9cd7c){const _0x1e4c14={_0x2ba00a:0x649,_0x2ff75d:0x499,_0x48583a:0x3f9,_0x384244:0x354,_0x544d2b:0x3d7,_0x4bc492:0x485},_0xe34d6b={_0x184d0e:0x54f},_0x139bb5={};function _0x18031d(_0x30b94b,_0x244fe4){return _0x2420cb(_0x244fe4- -0x563,_0x30b94b);}function _0x7288d6(_0x54e7d9,_0x460d24){return _0x2420cb(_0x460d24- -_0xe34d6b._0x184d0e,_0x54e7d9);}_0x139bb5[_0x7288d6(_0x1e4c14._0x2ba00a,_0x1e4c14._0x2ff75d)]=function(_0x2b479b,_0x15434f){return _0x2b479b===_0x15434f;};const _0x1bd407=_0x139bb5;return Boolean(_0x5501ff&&typeof _0x5501ff===_0x18031d(_0x1e4c14._0x48583a,_0x1e4c14._0x384244)&&_0x1bd407[_0x18031d(_0x1e4c14._0x544d2b,_0x1e4c14._0x4bc492)](typeof _0x5501ff['id'],_0x18031d(0x31d,0x49f))&&_0x5501ff['id'][_0x7288d6(0x170,0x5a)]()===_0xa9cd7c);}function readAgentName(_0x14ad13){const _0x26b9fc={_0x5d2cbc:0x28c,_0x28c580:0x45a,_0x1dfc5d:0x6d7,_0x31afb3:0x481,_0x51ecdd:0x581},_0x15d703={_0xb291e6:0x5a8},_0x2df5fa={_0x54f868:0xb7},_0x1e95fb={};function _0x2c33b9(_0x52322c,_0x2bf047){return _0x410a57(_0x2bf047,_0x52322c-_0x2df5fa._0x54f868);}function _0x52353b(_0x3eafc7,_0x3f51a6){return _0x410a57(_0x3f51a6,_0x3eafc7-_0x15d703._0xb291e6);}_0x1e95fb['JCANe']=function(_0x2e2789,_0x317835){return _0x2e2789===_0x317835;},_0x1e95fb['VTAJP']=_0x2c33b9(0x3e9,0x4c3);const _0x47d877=_0x1e95fb;if(!_0x14ad13||typeof _0x14ad13!=='object')return null;const _0x4eca02=_0x14ad13,_0xdd2572=_0x47d877['JCANe'](typeof _0x4eca02[_0x2c33b9(_0x26b9fc._0x5d2cbc,0x9b)]?.[_0x52353b(0x45a,0x39a)],_0x2c33b9(0x3e9,0x45b))?_0x4eca02['identity'][_0x52353b(_0x26b9fc._0x28c580,0x557)]['trim']():'';if(_0xdd2572)return _0xdd2572;const _0x2be7b5=typeof _0x4eca02['name']===_0x47d877[_0x52353b(_0x26b9fc._0x1dfc5d,0x4e0)]?_0x4eca02[_0x52353b(0x45a,0x4d5)][_0x52353b(_0x26b9fc._0x31afb3,_0x26b9fc._0x51ecdd)]():'';return _0x2be7b5||null;}function buildPairingQrPayload(_0xb06894){const _0x1d709d={_0x55d2b8:0x8b9,_0x532249:0x7c3,_0x37ea83:0x391,_0x124c90:0x4c5,_0x2ac09d:0x424,_0x1c1dda:0x3aa,_0x45ef3b:0x7b4,_0xdeb5ea:0x5dd,_0x18a461:0x4dc,_0x16b227:0x41b,_0x26ff94:0x946},_0x4b9dd6={};_0x4b9dd6['v']=0x2,_0x4b9dd6['k']='cp',_0x4b9dd6['s']=_0xb06894['server'],_0x4b9dd6['g']=_0xb06894[_0x3fa52e(0x826,_0x1d709d._0x55d2b8)+'d'],_0x4b9dd6['a']=_0xb06894['accessCo'+'de'];function _0x4d4b89(_0x1fce7b,_0xd0c950){return _0x2420cb(_0x1fce7b- -0xe4,_0xd0c950);}const _0x16c460=_0x4b9dd6;_0xb06894['displayN'+_0x4d4b89(0x71e,_0x1d709d._0x532249)]?.[_0x4d4b89(0x4c5,_0x1d709d._0x37ea83)]()&&(_0x16c460['n']=_0xb06894[_0x3fa52e(0xa84,0x8e0)+'ame'][_0x4d4b89(_0x1d709d._0x124c90,0x372)]());function _0x3fa52e(_0x1228fb,_0x179429){return _0x2420cb(_0x1228fb-0xa5,_0x179429);}return _0xb06894[_0x4d4b89(_0x1d709d._0x2ac09d,_0x1d709d._0x1c1dda)]?.['trim']()&&(_0x16c460['t']=_0xb06894[_0x3fa52e(0x5ad,_0x1d709d._0x45ef3b)][_0x4d4b89(_0x1d709d._0x124c90,_0x1d709d._0xdeb5ea)]()),_0xb06894[_0x4d4b89(0x734,_0x1d709d._0x18a461)]?.[_0x4d4b89(0x4c5,_0x1d709d._0x16b227)]()&&(_0x16c460['p']=_0xb06894[_0x3fa52e(0x8bd,_0x1d709d._0x26ff94)][_0x4d4b89(0x4c5,0x306)]()),JSON['stringif'+'y'](_0x16c460);}function buildGatewayQrPayload(_0x4a5a33){const _0x4fe61b={_0x35b12d:0x30c,_0x137f68:0x2a8,_0x143c81:0x416,_0x541604:0xa6,_0x52ba28:0x290,_0x435f7b:0x42d,_0x2cba3e:0x30b,_0x17b306:0x30f,_0x19bb55:0x134,_0x50b7f7:0x14,_0x28fe46:0x26a,_0x48579b:0x422,_0x56a2ca:0x1d5,_0x22963b:0x751,_0x5795ee:0x171,_0x462c2e:0x7b3,_0x1fbe11:0x543};function _0x4e908a(_0xebebaa,_0x596bcd){return _0x410a57(_0xebebaa,_0x596bcd-0x2fc);}function _0x577ceb(_0x2fc94c,_0x4e3c12){return _0x410a57(_0x2fc94c,_0x4e3c12-0x432);}const _0xf9390f=normalizeGatewayQrUrl(_0x4a5a33['gatewayU'+'rl']),_0x4ffe24={'url':_0xf9390f[_0x4e908a(_0x4fe61b._0x35b12d,_0x4fe61b._0x137f68)],'host':_0xf9390f[_0x4e908a(_0x4fe61b._0x143c81,0x1ba)],'port':_0xf9390f[_0x577ceb(0x4c4,0x5a7)],'tls':_0xf9390f[_0x4e908a(_0x4fe61b._0x541604,0x217)],'mode':'gateway','expiresAt':_0x4a5a33['expiresA'+'t']??Date[_0x4e908a(0xd9,_0x4fe61b._0x52ba28)]()+0xa*0x3c*0x3e8,'qrVersion':0x2};return _0x4a5a33[_0x577ceb(0xc2,0x26a)]?.[_0x577ceb(_0x4fe61b._0x435f7b,_0x4fe61b._0x2cba3e)]()&&(_0x4ffe24[_0x4e908a(_0x4fe61b._0x17b306,_0x4fe61b._0x19bb55)]=_0x4a5a33[_0x577ceb(_0x4fe61b._0x50b7f7,_0x4fe61b._0x28fe46)][_0x4e908a(_0x4fe61b._0x48579b,_0x4fe61b._0x56a2ca)]()),_0x4a5a33['password']?.[_0x4e908a(0x334,0x1d5)]()&&(_0x4ffe24[_0x577ceb(0x653,0x57a)]=_0x4a5a33[_0x577ceb(_0x4fe61b._0x22963b,0x57a)][_0x577ceb(_0x4fe61b._0x5795ee,_0x4fe61b._0x2cba3e)]()),JSON[_0x577ceb(_0x4fe61b._0x462c2e,_0x4fe61b._0x1fbe11)+'y'](_0x4ffe24);}function normalizeGatewayQrUrl(_0x33827d){const _0x356d05={_0x54c46b:0x2cf,_0x17902d:0x520,_0x22b4d7:0x69,_0x2b3503:0xdd,_0x43b23b:0x6fd,_0x3af684:0x66e,_0x4e4d3d:0x769,_0x116cfb:0x520,_0x278927:0x111,_0x3fd293:0x2bb,_0x14ed8a:0x1b0,_0x2d39ee:0x24d},_0x17c36={_0x5bf3fa:0x75a},_0x417191={};_0x417191[_0x4333c5(_0x356d05._0x54c46b,_0x356d05._0x17902d)]=function(_0x4d6293,_0x459460){return _0x4d6293===_0x459460;};const _0x52ba5d=_0x417191,_0x108e1a=new URL(_0x33827d[_0x4333c5(-_0x356d05._0x22b4d7,_0x356d05._0x2b3503)]()),_0x41df42=_0x52ba5d[_0x3b77f4(0x81d,0xa76)](_0x108e1a['protocol'],'wss:')||_0x108e1a[_0x3b77f4(0x565,0x571)]===_0x4333c5(0x2d4,0x226),_0x5cc9e1=_0x41df42?'wss:':_0x3b77f4(_0x356d05._0x43b23b,_0x356d05._0x3af684),_0x4c30ad=_0x108e1a['hostname'],_0x2713a0=_0x108e1a['port']?Number(_0x108e1a[_0x4333c5(0x13d,0x379)]):_0x41df42?0x1bb:0x50;function _0x3b77f4(_0x4cecd9,_0x19656d){return _0x410a57(_0x4cecd9,_0x19656d-_0x17c36._0x5bf3fa);}const _0xb16cbd=!_0x108e1a['pathname']||_0x52ba5d[_0x4333c5(_0x356d05._0x4e4d3d,_0x356d05._0x116cfb)](_0x108e1a['pathname'],'')?'/':_0x108e1a[_0x4333c5(0x147,_0x356d05._0x278927)];function _0x4333c5(_0x4b0191,_0x360edb){return _0x410a57(_0x4b0191,_0x360edb-0x204);}const _0x2b2975={};return _0x2b2975[_0x4333c5(_0x356d05._0x3fd293,_0x356d05._0x14ed8a)]=_0x5cc9e1+'//'+_0x4c30ad+':'+_0x2713a0+_0xb16cbd,_0x2b2975['host']=_0x4c30ad,_0x2b2975[_0x4333c5(_0x356d05._0x2d39ee,0x379)]=_0x2713a0,_0x2b2975[_0x3b77f4(0xb54,0xa1c)]=_0xb16cbd,_0x2b2975['tls']=_0x41df42,_0x2b2975;}var DEFAULT_REGISTRY_BASE=_0x410a57(0xde,-0x158)+_0x410a57(-0x2d0,-0x66)+'.clawket'+_0x410a57(-0xa9,0x97),DEFAULT_REGISTRY_FALLBACK_BASE=_0x410a57(-0x16,-0x158)+_0x2420cb(0x62c,0x3a5)+_0x410a57(0x145,-0x66)+_0x2420cb(0x8a2,0xabb)+_0x410a57(-0x28a,0xb)+_0x2420cb(0x501,0x677);async function pairGateway(_0x2096a3){const _0xa1d67f={_0xcea210:0xb6,_0x551927:0x96,_0x2a2fa9:0x276,_0x457f61:0x300,_0x1fbc7f:0x128,_0x1bd1ee:0x440,_0x5a16d5:0x203,_0x75e5da:0x926,_0x2f84a4:0x6e,_0x11cdcc:0x2e,_0x51b979:0x9c,_0x362636:0x363,_0x512cef:0x32c,_0x31c572:0x4aa,_0x52be61:0x843,_0x4e4636:0x45f,_0xbd4371:0x417,_0x4ef851:0x2fd,_0x2da039:0x257,_0x8d6894:0x8f0,_0x3bf173:0x8ab,_0x181c5e:0x279,_0x3da5c1:0x38c,_0x2d2641:0x8cf,_0x19e4a4:0x1cf,_0x5beb4b:0x7ff,_0x4b0d7c:0x4d4,_0x436b11:0x40d,_0x1bcb80:0x311,_0xcd751d:0x319,_0x2b6638:0x481,_0x58059e:0x5ee,_0x2d1805:0x1e2,_0x2e883b:0x47c,_0xfd061d:0x3e0,_0x2f3581:0x4d7,_0x535c9e:0x8b,_0x29c5fe:0x1e3,_0x46d70a:0x9,_0x43fb97:0x260,_0x25be55:0x9,_0xe3c254:0xe5,_0x49cf71:0x95,_0x3446a5:0x1a7,_0x41cc3f:0x1a3,_0x3b373e:0x8af,_0x27a192:0x6c8,_0x8ff598:0x338,_0x5f8d6e:0x679,_0x34c5bc:0x846,_0x404da7:0x345,_0x4c2395:0xef,_0x19c632:0x831,_0xf4a136:0x926,_0x5a41c0:0x4b6,_0x34cc56:0x3e1,_0x535dc3:0x608,_0x25610e:0x1f5,_0x43fe71:0x657,_0x26687d:0x7cd,_0x2507f3:0x12d,_0x4dcba0:0x114,_0x1e8a23:0x4f0,_0x30158f:0x9f,_0x1b63f3:0x10e},_0xc9aee8={_0x412a11:0xb9},_0x1249c8={_0xbeb528:0x5ff};function _0x4ab676(_0x399c8a,_0x951a69){return _0x2420cb(_0x951a69- -_0x1249c8._0xbeb528,_0x399c8a);}const _0x434d38={};_0x434d38['bCNQa']=function(_0x2b93ef,_0x4e5845){return _0x2b93ef===_0x4e5845;},_0x434d38['FxYtA']=_0x4ab676(-0x1d9,_0xa1d67f._0xcea210);const _0x3d8d56=_0x434d38,_0x3dfe83=normalizeHttpBase(_0x2096a3[_0x4ab676(0x312,0x1cf)+'l']),_0x34d003=readPairingConfig();function _0x5b96b5(_0xeb56eb,_0x61f263){return _0x2420cb(_0x61f263- -_0xc9aee8._0x412a11,_0xeb56eb);}const _0x58cf42=assessPairingCompatibility(_0x34d003,_0x3dfe83);if(_0x58cf42===_0x4ab676(0x1f9,_0xa1d67f._0x551927)+_0x4ab676(_0xa1d67f._0x2a2fa9,0x39)&&_0x34d003){const _0x360c5d={};return _0x360c5d['serverUr'+'l']=_0x34d003[_0x4ab676(-0x98,0x1cf)+'l'],_0x360c5d[_0x4ab676(0xbf,0x182)+'d']=_0x34d003[_0x5b96b5(0x866,0x6c8)+'d'],_0x360c5d[_0x4ab676(0x107,0x338)+_0x4ab676(0x292,_0xa1d67f._0x457f61)]=_0x34d003[_0x4ab676(_0xa1d67f._0x1fbc7f,0x338)+_0x5b96b5(0x670,0x846)],_0x360c5d[_0x4ab676(0x41d,0x3e0)+_0x4ab676(_0xa1d67f._0x1bd1ee,_0xa1d67f._0x5a16d5)]=_0x2096a3[_0x5b96b5(0x8aa,_0xa1d67f._0x75e5da)+'ame'],_0x360c5d[_0x4ab676(_0xa1d67f._0x2f84a4,-0x114)+_0x4ab676(-_0xa1d67f._0x11cdcc,-_0xa1d67f._0x51b979)]=_0x2096a3[_0x5b96b5(_0xa1d67f._0x362636,0x432)+_0x5b96b5(_0xa1d67f._0x512cef,_0xa1d67f._0x31c572)],_0x360c5d[_0x5b96b5(0x805,_0xa1d67f._0x52be61)+_0x5b96b5(_0xa1d67f._0x4e4636,0x4a7)]=_0x2096a3[_0x4ab676(_0xa1d67f._0xbd4371,_0xa1d67f._0x4ef851)+'assword'],refreshAccessCode(_0x360c5d);}if(_0x3d8d56[_0x4ab676(_0xa1d67f._0x2da039,0x377)](_0x58cf42,_0x5b96b5(0x9a3,_0xa1d67f._0x8d6894)+_0x5b96b5(0x852,0x698)))throw new Error('This\x20bri'+'dge\x20is\x20a'+_0x5b96b5(_0xa1d67f._0x3bf173,0x71c)+_0x4ab676(_0xa1d67f._0x181c5e,_0xa1d67f._0x3da5c1)+_0x5b96b5(0x6e1,_0xa1d67f._0x2d2641)+_0x34d003?.[_0x4ab676(0x3dd,_0xa1d67f._0x19e4a4)+'l']+(_0x5b96b5(_0xa1d67f._0x5beb4b,0x8c2)+'lawket\x20r'+_0x5b96b5(0x643,0x800)+'fore\x20pai'+'ring\x20wit'+_0x5b96b5(0x447,0x4d2)+_0x5b96b5(_0xa1d67f._0x4b0d7c,0x475)+'rver.'));const _0xc5657={};_0xc5657[_0x4ab676(_0xa1d67f._0x436b11,0x2c0)+_0x5b96b5(0x7da,0x92a)]='applicat'+_0x5b96b5(0x379,0x60d),_0xc5657['accept']=_0x4ab676(_0xa1d67f._0x1bcb80,0xf1)+_0x5b96b5(0x6c8,0x60d);const _0x2d531a=await postJsonWithCloudflareFallback(_0x3dfe83+(_0x5b96b5(_0xa1d67f._0xcd751d,_0xa1d67f._0x2b6638)+'/registe'+'r'),{'method':_0x3d8d56[_0x5b96b5(0x504,_0xa1d67f._0x58059e)],'headers':_0xc5657,'body':JSON[_0x4ab676(-0x2c,_0xa1d67f._0x2d1805)+'y']({'displayName':_0x2096a3[_0x4ab676(_0xa1d67f._0x2e883b,_0xa1d67f._0xfd061d)+_0x5b96b5(_0xa1d67f._0x2f3581,0x749)]?.[_0x4ab676(-_0xa1d67f._0x535c9e,-0x56)]()||null})});if(!_0x2d531a[_0x4ab676(_0xa1d67f._0x29c5fe,-_0xa1d67f._0x46d70a)]['ok'])throw await buildPairingRequestError('Pair\x20reg'+_0x4ab676(_0xa1d67f._0x43fb97,0x224),_0x2d531a);const _0x2e3488=await _0x2d531a[_0x4ab676(-0xbc,-_0xa1d67f._0x25be55)][_0x5b96b5(0x7b6,0x66d)](),_0x13f77c=new Date()[_0x4ab676(_0xa1d67f._0xe3c254,_0xa1d67f._0x49cf71)+_0x4ab676(_0xa1d67f._0x3446a5,_0xa1d67f._0x41cc3f)](),_0x3b0c70={'serverUrl':_0x3dfe83,'gatewayId':_0x2e3488[_0x5b96b5(_0xa1d67f._0x3b373e,_0xa1d67f._0x27a192)+'d'],'relaySecret':_0x2e3488[_0x4ab676(0x4bf,_0xa1d67f._0x8ff598)+_0x5b96b5(_0xa1d67f._0x5f8d6e,_0xa1d67f._0x34c5bc)],'relayUrl':_0x2e3488['relayUrl'],'instanceId':_0x34d003?.[_0x5b96b5(_0xa1d67f._0x404da7,0x54d)+'Id']??_0x4ab676(0x22d,_0xa1d67f._0x4c2395)+_0x2e3488[_0x5b96b5(_0xa1d67f._0x19c632,0x6c8)+'d']['slice'](-0xa),'displayName':_0x2e3488[_0x5b96b5(0x703,_0xa1d67f._0xf4a136)+_0x5b96b5(0x6d4,0x749)],'createdAt':_0x13f77c,'updatedAt':_0x13f77c};return writePairingConfig(_0x3b0c70),{'config':_0x3b0c70,'accessCode':_0x2e3488[_0x5b96b5(0x36a,_0xa1d67f._0x5a41c0)+'de'],'accessCodeExpiresAt':_0x2e3488[_0x5b96b5(_0xa1d67f._0x34cc56,0x4b6)+'deExpire'+_0x5b96b5(0x55e,_0xa1d67f._0x535dc3)],'action':_0x4ab676(_0xa1d67f._0x25610e,0xc6)+'ed','qrPayload':buildPairingQrPayload({'server':_0x3dfe83,'gatewayId':_0x2e3488[_0x5b96b5(_0xa1d67f._0x43fe71,0x6c8)+'d'],'accessCode':_0x2e3488['accessCo'+'de'],'displayName':_0x2e3488['displayN'+_0x5b96b5(_0xa1d67f._0x26687d,0x749)],'token':_0x2096a3[_0x4ab676(-_0xa1d67f._0x2507f3,-_0xa1d67f._0x4dcba0)+_0x4ab676(-0x1d1,-_0xa1d67f._0x51b979)]?.[_0x5b96b5(0x6f1,_0xa1d67f._0x1e8a23)]()||null,'password':_0x2096a3['gatewayP'+_0x4ab676(-0x12e,-_0xa1d67f._0x30158f)]?.[_0x4ab676(-_0xa1d67f._0x1b63f3,-0x56)]()||null})};}async function refreshAccessCode(_0x410a0b){const _0x5b9b78={_0x4ad184:0x5d0,_0x375faa:0x3b4,_0x25aa60:0x297,_0x4a3edc:0x19d,_0x61d1bc:0x57c,_0x14c8a2:0x31f,_0x3b284c:0x3d8,_0x398ff7:0x416,_0x562c40:0x6ad,_0x45e1b7:0x636,_0x84177d:0x61f,_0x18b368:0x1f6,_0xe12fc1:0x454,_0x41fe67:0x43c,_0xfa86cd:0x33d,_0xe001c5:0x2ea,_0x69d7df:0x4c9,_0x472a32:0x5ed,_0xcd4a3c:0x1a3,_0xa49f80:0x32b,_0x172837:0x2d0,_0x3140f6:0x104,_0x1f3889:0x7a6,_0x13cd99:0x5c4,_0xf4735a:0x6ed,_0x2c38e1:0x80,_0x189e8e:0x1b3,_0x2ddc83:0x200,_0x18a14b:0xe8,_0x37145a:0x798,_0x3ec819:0x2fe,_0xc6e47a:0x46f,_0x46f721:0x4d4,_0x15b30c:0x35a,_0x163ada:0x7d,_0x5e35c5:0x2f8,_0x2e3261:0x5c7,_0x5a1dbe:0x72c,_0x2ef687:0x868,_0x1702a1:0x86a,_0x123a3a:0x3ac,_0x3fd78b:0x550,_0x3a8d88:0x35e,_0x25f3bd:0x3bd,_0x37e955:0x31d,_0x4e2747:0x429,_0x1ec7d0:0x755,_0x447c5d:0x9a7,_0x131386:0x250,_0x4bd302:0x82d,_0x5abf41:0x25c,_0x5ca55b:0x179,_0x349dcb:0x84a,_0x5270e7:0x5e9,_0x15c938:0x5b0,_0x472153:0x311,_0x21894f:0x780,_0x14cbea:0x30e,_0x3d5f3f:0x2c0},_0x24abbd={};_0x24abbd[_0x4e35b9(_0x5b9b78._0x4ad184,_0x5b9b78._0x375faa)]=_0x3e1eea(_0x5b9b78._0x25aa60,0x2fa)+_0x4e35b9(0x474,0x419),_0x24abbd[_0x3e1eea(0x70d,0x60b)]=_0x3e1eea(_0x5b9b78._0x4a3edc,0x10e)+'d';const _0x172097=_0x24abbd,_0xf7d14a=readPairingConfig();function _0x4e35b9(_0x147185,_0x47655a){return _0x410a57(_0x47655a,_0x147185-0x47e);}const _0xf0a469=normalizeHttpBase(_0x410a0b?.[_0x4e35b9(_0x5b9b78._0x61d1bc,_0x5b9b78._0x14c8a2)+'l']??_0xf7d14a?.[_0x3e1eea(0x348,_0x5b9b78._0x3b284c)+'l']??''),_0x2b67df=_0x410a0b?.[_0x3e1eea(_0x5b9b78._0x398ff7,0x38b)+'d']??_0xf7d14a?.[_0x4e35b9(0x52f,0x48f)+'d']??'',_0x2e5d82=_0x410a0b?.[_0x3e1eea(0x65b,0x541)+'ret']??_0xf7d14a?.['relaySec'+_0x4e35b9(_0x5b9b78._0x562c40,_0x5b9b78._0x45e1b7)]??'';if(!_0xf0a469||!_0x2b67df||!_0x2e5d82)throw new Error(_0x4e35b9(0x5da,_0x5b9b78._0x84177d)+_0x3e1eea(_0x5b9b78._0x18b368,0x121)+_0x4e35b9(0x563,0x769)+_0x3e1eea(_0x5b9b78._0xe12fc1,_0x5b9b78._0x41fe67)+_0x3e1eea(_0x5b9b78._0xfa86cd,_0x5b9b78._0xe001c5)+'.');const _0xa1015={};_0xa1015[_0x3e1eea(0x53d,_0x5b9b78._0x69d7df)+_0x3e1eea(0x375,_0x5b9b78._0x472a32)]=_0x172097[_0x3e1eea(_0x5b9b78._0xcd4a3c,0x42c)],_0xa1015[_0x3e1eea(0x4e5,0x568)]=_0x3e1eea(_0x5b9b78._0xa49f80,0x2fa)+_0x3e1eea(0x527,_0x5b9b78._0x172837);const _0x4c39cd=await postJsonWithCloudflareFallback(_0xf0a469+(_0x4e35b9(0x2e8,_0x5b9b78._0x3140f6)+_0x4e35b9(0x56e,_0x5b9b78._0x1f3889)+_0x4e35b9(_0x5b9b78._0x13cd99,0x332)),{'method':'POST','headers':_0xa1015,'body':JSON['stringif'+'y']({'gatewayId':_0x2b67df,'relaySecret':_0x2e5d82,'displayName':_0x410a0b?.[_0x3e1eea(_0x5b9b78._0xf4735a,0x5e9)+'ame']?.[_0x3e1eea(_0x5b9b78._0x2c38e1,_0x5b9b78._0x189e8e)]()||void 0x0})});if(!_0x4c39cd[_0x3e1eea(0x37e,_0x5b9b78._0x2ddc83)]['ok'])throw await buildPairingRequestError(_0x3e1eea(0x1a,_0x5b9b78._0x18a14b)+_0x4e35b9(_0x5b9b78._0x37145a,0x886)+_0x3e1eea(_0x5b9b78._0x3ec819,0x1e0),_0x4c39cd);const _0x43ffd7=await _0x4c39cd[_0x3e1eea(_0x5b9b78._0xc6e47a,0x200)][_0x4e35b9(_0x5b9b78._0x46f721,0x481)](),_0x1076e6={'serverUrl':_0xf0a469,'gatewayId':_0x43ffd7[_0x3e1eea(_0x5b9b78._0x15b30c,0x38b)+'d'],'relaySecret':_0x2e5d82,'relayUrl':_0x43ffd7[_0x4e35b9(0x2ff,0x4bd)],'instanceId':_0xf7d14a?.[_0x4e35b9(_0x5b9b78._0x375faa,0x598)+'Id']??_0x3e1eea(_0x5b9b78._0x163ada,_0x5b9b78._0x5e35c5)+_0x43ffd7[_0x3e1eea(_0x5b9b78._0x2e3261,0x38b)+'d'][_0x4e35b9(_0x5b9b78._0x5a1dbe,_0x5b9b78._0x2ef687)](-0xa),'displayName':_0x43ffd7[_0x3e1eea(_0x5b9b78._0x1702a1,0x5e9)+_0x4e35b9(0x5b0,0x333)],'createdAt':_0xf7d14a?.[_0x3e1eea(0x470,0x4b0)+'t']??new Date()['toISOStr'+_0x3e1eea(0x623,_0x5b9b78._0x123a3a)](),'updatedAt':new Date()[_0x3e1eea(0x534,0x29e)+_0x4e35b9(_0x5b9b78._0x3fd78b,_0x5b9b78._0x3a8d88)]()};writePairingConfig(_0x1076e6);function _0x3e1eea(_0x17dd93,_0xdc0f5a){return _0x410a57(_0x17dd93,_0xdc0f5a-0x2da);}return{'config':_0x1076e6,'accessCode':_0x43ffd7[_0x4e35b9(0x31d,_0x5b9b78._0x25f3bd)+'de'],'accessCodeExpiresAt':_0x43ffd7[_0x4e35b9(_0x5b9b78._0x37e955,_0x5b9b78._0x4e2747)+_0x4e35b9(_0x5b9b78._0x1ec7d0,_0x5b9b78._0x447c5d)+_0x4e35b9(0x46f,_0x5b9b78._0x131386)],'action':_0x172097[_0x4e35b9(0x7af,_0x5b9b78._0x4bd302)],'qrPayload':buildPairingQrPayload({'server':_0xf0a469,'gatewayId':_0x43ffd7['gatewayI'+'d'],'accessCode':_0x43ffd7[_0x3e1eea(_0x5b9b78._0x5abf41,_0x5b9b78._0x5ca55b)+'de'],'displayName':_0x43ffd7[_0x3e1eea(_0x5b9b78._0x349dcb,_0x5b9b78._0x5270e7)+_0x4e35b9(_0x5b9b78._0x15c938,0x4d6)],'token':_0x410a0b?.['gatewayT'+_0x4e35b9(_0x5b9b78._0x472153,0x24c)]?.['trim']()||null,'password':_0x410a0b?.[_0x4e35b9(0x6aa,_0x5b9b78._0x21894f)+_0x4e35b9(_0x5b9b78._0x14cbea,_0x5b9b78._0x3d5f3f)]?.['trim']()||null})};}function normalizeHttpBase(_0x3e66bf){const _0x1a4ec5={_0x1e2db2:0x9a0,_0x5f1a8d:0xae8,_0x23bb7d:0x69a,_0x4c4f0:0x2f,_0x2b25ea:0x233,_0x2c28d4:0x386,_0x3e08a9:0x13,_0x5b48c2:0x176,_0x4f01fc:0x453,_0x5a99fa:0x387,_0x5b8692:0x51b,_0xba2a9b:0x88a,_0xde7dba:0x57c,_0x528ce7:0x6b8,_0x3019cf:0x67b,_0x3bec17:0x5fb,_0x1b25ac:0x452,_0x197da5:0x65d,_0x44e758:0x3c,_0x24eaf1:0x176,_0x3521f0:0x80c,_0x4d601e:0x903},_0x20b53c={_0x52e2de:0x2ce},_0x189786={};_0x189786[_0x393998(_0x1a4ec5._0x1e2db2,_0x1a4ec5._0x5f1a8d)]=_0x393998(0x71f,_0x1a4ec5._0x23bb7d);const _0x58e81f=_0x189786,_0x3abe51=_0x3e66bf[_0x1d28f1(_0x1a4ec5._0x4c4f0,0x1a7)]();if(!_0x3abe51)return'';function _0x393998(_0x32048d,_0x187a94){return _0x410a57(_0x187a94,_0x32048d-0x753);}if(_0x3abe51[_0x1d28f1(0x269,_0x1a4ec5._0x2b25ea)+'th'](_0x1d28f1(0x1ea,_0x1a4ec5._0x2c28d4))||_0x3abe51['startsWi'+'th'](_0x1d28f1(_0x1a4ec5._0x3e08a9,_0x1a4ec5._0x5b48c2)))return _0x3abe51[_0x1d28f1(_0x1a4ec5._0x4f01fc,_0x1a4ec5._0x5a99fa)](/\/+$/,'');if(_0x3abe51[_0x1d28f1(0x320,0x233)+'th'](_0x58e81f[_0x1d28f1(0x365,_0x1a4ec5._0x5b8692)]))return(_0x393998(0x80b,_0x1a4ec5._0xba2a9b)+_0x3abe51[_0x1d28f1(0x3ac,_0x1a4ec5._0xde7dba)]('ws://'['length']))[_0x393998(0x80c,0x958)](/\/+$/,'');function _0x1d28f1(_0x2f47ea,_0x4c728e){return _0x410a57(_0x2f47ea,_0x4c728e-_0x20b53c._0x52e2de);}if(_0x3abe51[_0x393998(_0x1a4ec5._0x528ce7,_0x1a4ec5._0x3019cf)+'th']('wss://'))return(_0x393998(_0x1a4ec5._0x3bec17,_0x1a4ec5._0x1b25ac)+_0x3abe51[_0x1d28f1(0x51d,0x57c)]('wss://'[_0x393998(0x678,_0x1a4ec5._0x197da5)]))['replace'](/\/+$/,'');return(_0x1d28f1(-_0x1a4ec5._0x44e758,_0x1a4ec5._0x24eaf1)+_0x3abe51)[_0x393998(_0x1a4ec5._0x3521f0,_0x1a4ec5._0x4d601e)](/\/+$/,'');}function assessPairingCompatibility(_0x400afd,_0x5d97ae){const _0x189c41={_0x2dc8c3:0x32c,_0x36538d:0x107,_0x27d63c:0x863,_0x3265e8:0x8c6,_0x41d4f4:0x8c2,_0x412716:0x81a,_0x27947f:0x4a2,_0x23f5d3:0x6eb,_0xccb9c1:0x7d7,_0x4014dc:0x3d0},_0x3a4fbb={_0x2451df:0x58e};function _0x23d2f8(_0x150678,_0x35b3f8){return _0x2420cb(_0x35b3f8- -0xe3,_0x150678);}const _0x3f12af={};_0x3f12af[_0x1be8f3(0x5ab,_0x189c41._0x2dc8c3)]=_0x1be8f3(-0x85,_0x189c41._0x36538d)+'existing',_0x3f12af['YkqBi']=_0x23d2f8(_0x189c41._0x27d63c,_0x189c41._0x3265e8)+_0x23d2f8(0x85e,0x66e);const _0x1a7918=_0x3f12af;if(!_0x400afd)return'register'+_0x23d2f8(_0x189c41._0x41d4f4,_0x189c41._0x412716);function _0x1be8f3(_0x500835,_0x4953b5){return _0x2420cb(_0x4953b5- -_0x3a4fbb._0x2451df,_0x500835);}if(_0x400afd[_0x23d2f8(_0x189c41._0x27947f,_0x189c41._0x23f5d3)+'l']===_0x5d97ae)return _0x1a7918[_0x23d2f8(0x6fb,_0x189c41._0xccb9c1)];return _0x1a7918[_0x1be8f3(_0x189c41._0x4014dc,0x2cf)];}async function postJsonWithCloudflareFallback(_0x149f83,_0x5c3f22){const _0x32eb3c={_0x360984:0x3fa,_0x4cc6ea:0x398},_0x3d657c=await fetch(_0x149f83,_0x5c3f22);function _0x574bc(_0x9b62a9,_0x1fb88b){return _0x2420cb(_0x9b62a9- -0x4f6,_0x1fb88b);}const _0x533fae=resolveCloudflareChallengeFallbackUrl(_0x149f83,_0x3d657c);if(!_0x533fae){const _0x496499={};return _0x496499['response']=_0x3d657c,_0x496499['attempte'+'dUrl']=_0x149f83,_0x496499[_0x574bc(_0x32eb3c._0x360984,_0x32eb3c._0x4cc6ea)+'Url']=null,_0x496499;}return{'response':await fetch(_0x533fae,_0x5c3f22),'attemptedUrl':_0x149f83,'fallbackUrl':_0x533fae};}async function buildPairingRequestError(_0x9be00c,_0x4c74e0){const _0x19d571={_0x40a7cb:0x2cc,_0x47a73c:0xfd,_0x43cdb7:0xe5,_0x13bf1a:0x2e3,_0x18550e:0x3e8,_0x4d1604:0x3f7,_0x43215d:0x44,_0x3f913d:0x25c,_0x2f4aec:0x5c0,_0xa9d4a5:0x32b,_0x2dbc71:0x4ac,_0x5c922a:0x72e,_0x1c727b:0x5af,_0x305efa:0x31a,_0x491b8b:0xfd,_0x5ce16a:0x274,_0x2c669d:0x2ec,_0x395157:0x375,_0xf73d93:0x66,_0x336f7f:0x3a9,_0xf491cd:0x11a,_0x450812:0xfe,_0x5ad94a:0x11e,_0x32d485:0x410,_0x248221:0x72f,_0x4c5f82:0x28d,_0x52295b:0x672,_0x2f20fe:0x3d3,_0x3c9f76:0x296},_0x3abd60={_0x57e08a:0x2b3};if(isCloudflareChallengeResponse(_0x4c74e0[_0x35190c(_0x19d571._0x40a7cb,_0x19d571._0x47a73c)])){const _0x3a0a4f=new URL(_0x4c74e0['fallback'+_0x35190c(0xba,_0x19d571._0x43cdb7)]??_0x4c74e0[_0x50b81f(0x45f,0x648)+_0x35190c(_0x19d571._0x13bf1a,_0x19d571._0x18550e)])['origin'],_0x58e1b2=_0x4c74e0[_0x35190c(0x397,_0x19d571._0x4d1604)+_0x35190c(-_0x19d571._0x43215d,0xe5)]?_0x35190c(_0x19d571._0x3f913d,0x2c8)+'ic\x20fallb'+_0x50b81f(_0x19d571._0x2f4aec,0x33f)+_0x4c74e0['fallback'+_0x50b81f(_0x19d571._0xa9d4a5,0x497)]+(_0x35190c(0x239,0x3a1)+'t\x20a\x20Clou'+_0x50b81f(_0x19d571._0x2dbc71,_0x19d571._0x5c922a)+_0x50b81f(0x327,_0x19d571._0x1c727b)+'.'):'';return new Error(_0x9be00c+(_0x50b81f(0x3c8,0x287)+'(')+_0x4c74e0[_0x35190c(_0x19d571._0x305efa,_0x19d571._0x491b8b)]['status']+(_0x35190c(0x49,_0x19d571._0x5ce16a)+'flare\x20ch'+_0x35190c(_0x19d571._0x2c669d,_0x19d571._0x395157)+_0x35190c(0x2c6,_0x19d571._0xf73d93)+_0x50b81f(_0x19d571._0x336f7f,0x340)+_0x35190c(-_0x19d571._0xf491cd,_0x19d571._0x450812)+'\x20at\x20')+_0x3a0a4f+'.'+_0x58e1b2+(_0x35190c(_0x19d571._0x5ad94a,-0x16)+_0x50b81f(_0x19d571._0x32d485,0x411)+_0x35190c(0x2f9,0x449)+_0x35190c(0x171,0x36d)+_0x50b81f(_0x19d571._0x248221,0x95c)+'\x20registr'+'y\x20endpoi'+'nt\x20that\x20'+_0x50b81f(0x3e3,_0x19d571._0x4c5f82)+_0x50b81f(_0x19d571._0x52295b,0x6c1)+'\x20browser'+_0x35190c(0x373,_0x19d571._0x2f20fe)+'ation.'));}function _0x35190c(_0x55a189,_0x53102c){return _0x2420cb(_0x53102c- -0x4f9,_0x55a189);}function _0x50b81f(_0x12fa26,_0x4998df){return _0x2420cb(_0x12fa26- -_0x3abd60._0x57e08a,_0x4998df);}return new Error(_0x9be00c+('\x20failed\x20'+'(')+_0x4c74e0[_0x50b81f(0x343,_0x19d571._0x3c9f76)]['status']+'):\x20'+summarizeFailedResponse(await _0x4c74e0[_0x50b81f(0x343,0x445)][_0x50b81f(0x3ee,0x636)]()));}function isCloudflareChallengeResponse(_0x1c7beb){const _0x4621f6={_0x1b7b20:0x550,_0x40e92a:0x4d4,_0x415dba:0x8b8,_0x4e4e76:0x72e,_0x5750b5:0x760,_0x2ca517:0x399},_0x446f18={};_0x446f18['gIJBE']=function(_0x475cc1,_0x488660){return _0x475cc1===_0x488660;};function _0x5d5463(_0x29fe22,_0x5b96ac){return _0x410a57(_0x5b96ac,_0x29fe22-0x736);}const _0xaf3b55=_0x446f18;function _0x45d71a(_0x1251c2,_0x2ae08f){return _0x410a57(_0x1251c2,_0x2ae08f-0x6ad);}return _0xaf3b55[_0x5d5463(_0x4621f6._0x1b7b20,_0x4621f6._0x40e92a)](_0x1c7beb[_0x5d5463(0x9e2,_0x4621f6._0x415dba)],0x193)&&_0x1c7beb[_0x5d5463(0x92b,0x8bf)]['get'](_0x5d5463(0x9f6,0x81a)+_0x5d5463(_0x4621f6._0x4e4e76,0x520))?.[_0x5d5463(0x60f,_0x4621f6._0x5750b5)]()['toLowerC'+_0x5d5463(0x768,0x760)]()===_0x5d5463(0x576,_0x4621f6._0x2ca517)+'e';}function resolveCloudflareChallengeFallbackUrl(_0x8fc573,_0x10e700){const _0x38e83a={_0xc6f21e:0x7d9,_0x36bd26:0x7ca,_0x10b5a1:0x6c7,_0xb82a5:0x575,_0xe29e6c:0x61a,_0x5bfdf0:0x640,_0x4f5456:0x9fd,_0x1f2b2e:0x868},_0x33fe78={_0x359ef3:0x58c},_0x271fb7={_0x1cf4c1:0x696};function _0x2e61d6(_0x1917b3,_0x18a4d8){return _0x410a57(_0x18a4d8,_0x1917b3-_0x271fb7._0x1cf4c1);}const _0x96c81e={'fPDOC':function(_0x30d6cb,_0x457182){return _0x30d6cb(_0x457182);},'arMqR':function(_0x19c165,_0x35af38){return _0x19c165!==_0x35af38;}};if(!_0x96c81e[_0x5a8f7b(_0x38e83a._0xc6f21e,_0x38e83a._0x36bd26)](isCloudflareChallengeResponse,_0x10e700))return null;const _0x2bc27f=new URL(_0x8fc573);if(_0x96c81e[_0x2e61d6(_0x38e83a._0x10b5a1,_0x38e83a._0xb82a5)](_0x2bc27f[_0x2e61d6(_0x38e83a._0xe29e6c,_0x38e83a._0x5bfdf0)],DEFAULT_REGISTRY_BASE))return null;function _0x5a8f7b(_0x131f54,_0x40b8ab){return _0x410a57(_0x131f54,_0x40b8ab-_0x33fe78._0x359ef3);}return''+DEFAULT_REGISTRY_FALLBACK_BASE+_0x2bc27f['pathname']+_0x2bc27f[_0x5a8f7b(_0x38e83a._0x4f5456,_0x38e83a._0x1f2b2e)];}function summarizeFailedResponse(_0x48e0ef){const _0x2ff052={_0x1469a4:0x680,_0x30096d:0x4a5,_0x2f2a06:0x5b8,_0x455b3d:0x3b0,_0x101c3d:0x542,_0x39cad3:0x680,_0x4c4d85:0x367,_0x4fc1d4:0x917},_0x5b877a={_0x53a710:0x34c},_0x125b40={};function _0x13c5bc(_0x194ee5,_0x259083){return _0x410a57(_0x194ee5,_0x259083-0x669);}_0x125b40[_0x576af9(_0x2ff052._0x1469a4,0x429)]='Empty\x20re'+_0x576af9(_0x2ff052._0x30096d,0x6d3)+'ody';const _0x813790=_0x125b40,_0x39ce27=_0x48e0ef[_0x13c5bc(_0x2ff052._0x2f2a06,0x722)](/\s+/g,'\x20')[_0x13c5bc(_0x2ff052._0x455b3d,_0x2ff052._0x101c3d)]();if(!_0x39ce27)return _0x813790[_0x576af9(_0x2ff052._0x39cad3,0x883)];if(_0x39ce27[_0x576af9(0x271,_0x2ff052._0x4c4d85)]<=0xf0)return _0x39ce27;function _0x576af9(_0x11dd3c,_0x283947){return _0x410a57(_0x283947,_0x11dd3c-_0x5b877a._0x53a710);}return _0x39ce27[_0x13c5bc(0xabb,_0x2ff052._0x4fc1d4)](0x0,0xed)+'...';}import{execFileSync,spawn}from'child_process';import{chmodSync,closeSync,existsSync as _0x94be63,mkdirSync as _0x3a5594,openSync,readFileSync as _0x3296c9,realpathSync,rmSync as _0x333acf,writeFileSync as _0x4dedea}from'fs';import{homedir as _0x1ac4d5}from'os';import{dirname,join as _0x33a140}from'path';import{setTimeout as _0x50c01a}from'timers/promises';var SERVICE_LABEL='ai.clawk'+'et.bridg'+_0x2420cb(0x4f5,0x302),SYSTEMD_UNIT_NAME=SERVICE_LABEL+_0x410a57(0x464,0x2fc),WINDOWS_RUN_KEY=_0x410a57(0x19a,0x316)+_0x2420cb(0x521,0x426),SERVICE_DIR=_0x33a140(_0x1ac4d5(),_0x2420cb(0x8a2,0x8a7)),LOG_DIR=_0x33a140(SERVICE_DIR,'logs'),SERVICE_STATE_PATH=_0x33a140(SERVICE_DIR,'bridge-s'+'ervice.j'+'son'),RUNTIME_REGISTRY_PATH=_0x33a140(SERVICE_DIR,'bridge-r'+_0x2420cb(0x568,0x428)+_0x2420cb(0x856,0x6f0)+_0x410a57(0x4a2,0x2c1)),SERVICE_LAUNCHER_PATH=_0x33a140(SERVICE_DIR,_0x410a57(0xd,0xf8)+_0x2420cb(0x851,0x7d9)+_0x2420cb(0x5b4,0x427)+'sh'),LINUX_CRON_RECORD_PATH=_0x33a140(SERVICE_DIR,_0x2420cb(0x7c8,0x82a)+'ervice.c'+_0x2420cb(0x7f7,0x679)),SERVICE_LOG_PATH=_0x33a140(LOG_DIR,'bridge-c'+_0x410a57(-0x18a,-0x86)),SERVICE_ERROR_LOG_PATH=_0x33a140(LOG_DIR,_0x2420cb(0x75a,0x6ce)+_0x2420cb(0x6e9,0x5a9)+_0x2420cb(0x729,0x98d)),MACOS_PLIST_PATH=_0x33a140(_0x1ac4d5(),'Library','LaunchAg'+_0x2420cb(0x77b,0x50c),SERVICE_LABEL+_0x2420cb(0x93b,0x77b)),LINUX_SERVICE_PATH=_0x33a140(_0x1ac4d5(),'.config',_0x2420cb(0x903,0x9cb),_0x410a57(-0xbd,-0x10),SYSTEMD_UNIT_NAME),LINUX_CRON_MARKER=_0x410a57(0x173,-0x1a)+'t-bridge'+_0x2420cb(0x8a7,0xab1);function getServiceProgramArgs(_0x3b5567={},_0x292917=process[_0x2420cb(0x5f9,0x671)]){const _0x304a25={_0x2d3fac:0x412,_0x183102:0x162,_0x511b25:0x1c5,_0x1423f8:0x20f,_0x15a5bd:0x27e,_0x2ee303:0x7b,_0x92dc4c:0x2fa,_0x32505a:0x3f9,_0x1e21fa:0x11,_0x1df202:0x28b,_0x2cb5ac:0x448,_0x488952:0x7b8,_0x262d5d:0x5ac,_0x282089:0x65a,_0x51f701:0x4de},_0x24f04f={'ktplk':function(_0x15c952,_0x47c637){return _0x15c952!==_0x47c637;},'GtLXF':function(_0xfe27cd,_0x56db8e){return _0xfe27cd(_0x56db8e);}};function _0x966e31(_0x213ae1,_0x36420d){return _0x410a57(_0x213ae1,_0x36420d-0x539);}const _0x306155=_0x3b5567[_0x5b9fd3(0x152,0x151)]?.[_0x966e31(0x38b,_0x304a25._0x2d3fac)]()||process['execPath'],_0x344467=resolveScriptPath(_0x3b5567[_0x5b9fd3(-0x12b,_0x304a25._0x183102)+'th']);if(!_0x344467)throw new Error(_0x5b9fd3(0x1d,-_0x304a25._0x511b25)+_0x5b9fd3(_0x304a25._0x1423f8,_0x304a25._0x15a5bd)+_0x5b9fd3(0x297,_0x304a25._0x2ee303)+'ript\x20pat'+_0x5b9fd3(0xb8,_0x304a25._0x92dc4c)+_0x966e31(_0x304a25._0x32505a,0x624)+'stallati'+_0x966e31(0x55a,0x3bd));function _0x5b9fd3(_0x4f4b8f,_0x19f12a){return _0x410a57(_0x19f12a,_0x4f4b8f-0xa6);}if(_0x24f04f['ktplk'](_0x292917,_0x5b9fd3(_0x304a25._0x1e21fa,_0x304a25._0x1df202))){const _0x4b600e={};_0x4b600e[_0x966e31(0x4ed,0x5e5)]=_0x306155,_0x4b600e[_0x966e31(_0x304a25._0x2cb5ac,0x368)+'th']=_0x344467,_0x4b600e[_0x966e31(0x785,_0x304a25._0x488952)]=process.env.PATH??'';const _0x1ebbc6=_0x24f04f['GtLXF'](writeServiceLauncher,_0x4b600e);return ensureLaunchScriptExecutable(_0x1ebbc6,_0x292917),[_0x1ebbc6];}return[_0x306155,_0x344467,_0x966e31(0x5d1,_0x304a25._0x262d5d),_0x966e31(_0x304a25._0x282089,_0x304a25._0x51f701)+'e'];}function getServiceStatus(){const _0x265ffc={_0xdd1a0e:0x43a,_0x4873a5:0x698,_0x50a652:0x62c,_0x18630d:0x425,_0x4f1230:0x406,_0xd5e5d0:0x570,_0x59d2ac:0x535,_0x246225:0x2bd,_0x2432b5:0x510,_0x23d2ac:0x5bd,_0xea52a7:0x6a2,_0x119e64:0x4f3,_0x21b855:0x76d,_0x2a5d66:0x215,_0x322ac7:0x540,_0x1eafe5:0x63e,_0x3ff7fc:0x5cf,_0x2cb5a9:0x570,_0x278630:0x70e,_0x437356:0x4de,_0x25bd5b:0x6a2,_0x52c589:0x36b,_0x53d50e:0x394,_0x54cfec:0x68,_0x5e6c38:0x551,_0x3d15a9:0x4b3,_0x310fcf:0x504,_0x3820de:0x44f,_0x4db5d6:0x323},_0x376263={_0x2eed10:0x355},_0x376a41={'BsSlX':function(_0x32f2bf,_0x12d473){return _0x32f2bf(_0x12d473);},'Qvein':function(_0x2bef57,_0x569672){return _0x2bef57(_0x569672);},'rnXQM':function(_0x5b3e52,_0x3d2788,_0x3c293d){return _0x5b3e52(_0x3d2788,_0x3c293d);}};ensureServiceDirs();function _0x3cd0da(_0x2477b1,_0x5a6c9c){return _0x2420cb(_0x5a6c9c- -_0x376263._0x2eed10,_0x2477b1);}const _0x4eb5d1=readServiceState()?.[_0x49c855(0x677,0x567)]??null,_0x2848b1=detectServiceMethod(),_0x1aa95a={'installed':![],'running':_0x4eb5d1!=null&&_0x376a41[_0x49c855(0x206,0x2ed)](isPidRunning,_0x4eb5d1),'method':_0x2848b1,'servicePath':getServicePath(_0x2848b1),'logPath':SERVICE_LOG_PATH,'errorLogPath':SERVICE_ERROR_LOG_PATH,'pid':_0x4eb5d1};_0x1aa95a[_0x3cd0da(_0x265ffc._0xdd1a0e,0x537)]!=null&&!_0x1aa95a[_0x49c855(0x798,0x6a2)]&&(clearServiceState(_0x1aa95a[_0x49c855(_0x265ffc._0x4873a5,0x567)]),_0x1aa95a[_0x3cd0da(0x388,0x537)]=null);function _0x49c855(_0x187bb9,_0x553b4c){return _0x2420cb(_0x553b4c- -0x325,_0x187bb9);}switch(_0x1aa95a[_0x3cd0da(0x317,0x211)]){case _0x49c855(0x851,_0x265ffc._0x50a652)+_0x49c855(0x467,_0x265ffc._0x18630d):_0x1aa95a[_0x49c855(_0x265ffc._0x4f1230,_0x265ffc._0xd5e5d0)+'d']=_0x376a41[_0x3cd0da(_0x265ffc._0x59d2ac,_0x265ffc._0x246225)](_0x94be63,MACOS_PLIST_PATH);_0x1aa95a[_0x49c855(_0x265ffc._0x2432b5,_0x265ffc._0xd5e5d0)+'d']&&(_0x1aa95a[_0x49c855(_0x265ffc._0x23d2ac,_0x265ffc._0xea52a7)]=commandSucceeds(_0x3cd0da(_0x265ffc._0x119e64,0x438)+'l',['list',SERVICE_LABEL])||_0x1aa95a[_0x49c855(_0x265ffc._0x21b855,0x6a2)]);return _0x1aa95a;case _0x3cd0da(0x169,_0x265ffc._0x2a5d66)+'user':_0x1aa95a[_0x3cd0da(0x586,_0x265ffc._0x322ac7)+'d']=_0x376a41[_0x3cd0da(_0x265ffc._0x1eafe5,0x648)](_0x94be63,LINUX_SERVICE_PATH);_0x1aa95a[_0x49c855(_0x265ffc._0x3ff7fc,_0x265ffc._0x2cb5a9)+'d']&&(_0x1aa95a[_0x49c855(0x497,0x6a2)]=commandSucceeds(_0x49c855(_0x265ffc._0x278630,0x5d5)+'l',['--user',_0x3cd0da(0x5aa,_0x265ffc._0x437356)+'e',_0x49c855(0x557,0x32e),SYSTEMD_UNIT_NAME])||_0x1aa95a[_0x49c855(0x6a2,_0x265ffc._0x25bd5b)]);return _0x1aa95a;case _0x3cd0da(_0x265ffc._0x52c589,0x5d9)+_0x49c855(0x14a,0x2f0):_0x1aa95a[_0x49c855(_0x265ffc._0x53d50e,0x570)+'d']=hasLinuxCronRegistration();return _0x1aa95a;case _0x49c855(_0x265ffc._0x54cfec,0x1bb)+_0x3cd0da(0x53e,0x64e)+_0x49c855(_0x265ffc._0x5e6c38,0x554):_0x1aa95a[_0x49c855(0x306,0x570)+'d']=_0x376a41['rnXQM'](commandSucceeds,_0x3cd0da(_0x265ffc._0x3d15a9,_0x265ffc._0x310fcf),['query',_0x3cd0da(0x6c9,0x4b1)+'tware\x5cMi'+_0x3cd0da(0x106,0x259)+_0x49c855(_0x265ffc._0x3820de,0x214)+_0x49c855(0x5ef,0x6d4)+_0x3cd0da(0x2c4,_0x265ffc._0x4db5d6)+'un','/v',WINDOWS_RUN_KEY]);return _0x1aa95a;default:return _0x1aa95a;}}function installService(_0xdccfb1={}){const _0x1cd82f={_0x386ad8:0x3ec,_0x429844:0x110,_0x4d422b:0x65,_0x513e6a:0x55,_0x4ecf45:0x5b8,_0x79d69b:0x444,_0x15c87c:0x12f,_0x58ab3a:0x36e,_0x4a4c38:0x1b8,_0x2c49a0:0x10a,_0x39bcfd:0x244,_0x257ff0:0x4c,_0x51fa1e:0x6f4,_0x388c09:0x34c,_0x2539a5:0xbd,_0x44d71e:0x25d,_0xab39de:0x2e5,_0x2b6ab6:0xf7,_0x2074af:0x2f1,_0xda4eef:0x660},_0x2a8c0c={_0xeef47d:0x28f};function _0x327d14(_0x5697af,_0x502ed2){return _0x410a57(_0x502ed2,_0x5697af-0x187);}const _0x5883c8={'qFsRh':function(_0x3d685e,_0x2914a0){return _0x3d685e(_0x2914a0);},'OVsKk':function(_0x4d8590,_0x2c5cc2,_0x4019c3,_0x56af07){return _0x4d8590(_0x2c5cc2,_0x4019c3,_0x56af07);},'adWrJ':_0x316be9(_0x1cd82f._0x386ad8,0x2cd),'PMlbZ':'reg','OuaXH':_0x327d14(0x86,-_0x1cd82f._0x429844),'iwxAd':'HKCU\x5cSof'+_0x316be9(0x19a,0x34e)+_0x327d14(_0x1cd82f._0x4d422b,-0x19c)+_0x316be9(0xf8,-_0x1cd82f._0x513e6a)+_0x316be9(_0x1cd82f._0x4ecf45,_0x1cd82f._0x79d69b)+_0x327d14(_0x1cd82f._0x15c87c,_0x1cd82f._0x58ab3a)+'un','HYylq':'REG_SZ'};ensureServiceDirs();const _0x1429ff=_0x5883c8['qFsRh'](getServiceProgramArgs,_0xdccfb1);switch(process[_0x316be9(_0x1cd82f._0x4a4c38,0x23e)]){case'darwin':_0x4dedea(MACOS_PLIST_PATH,buildMacosPlist(_0x1429ff,SERVICE_LOG_PATH,SERVICE_ERROR_LOG_PATH),_0x316be9(_0x1cd82f._0x2c49a0,-0x6d)),execIgnoreFailure(_0x327d14(_0x1cd82f._0x39bcfd,_0x1cd82f._0x257ff0)+'l',[_0x316be9(0x4f3,_0x1cd82f._0x51fa1e),'-w',MACOS_PLIST_PATH]),_0x5883c8['OVsKk'](execFileSync,_0x316be9(_0x1cd82f._0x388c09,0x397)+'l',[_0x316be9(0x4ef,0x5fa),'-w',MACOS_PLIST_PATH],{'stdio':_0x5883c8['adWrJ']});break;case _0x316be9(0x1c2,0x39):installLinuxService(_0x1429ff);break;case _0x327d14(0xf2,0x26d):stopRunningProcess();const _0x124fb7={};_0x124fb7[_0x316be9(0x3a8,0x42e)]=_0x316be9(0x3ec,0x341),execFileSync(_0x5883c8['PMlbZ'],[_0x5883c8['OuaXH'],_0x5883c8[_0x327d14(-0xd,_0x1cd82f._0x2539a5)],'/v',WINDOWS_RUN_KEY,'/t',_0x5883c8[_0x316be9(_0x1cd82f._0x44d71e,_0x1cd82f._0xab39de)],'/d',buildWindowsRunCommand(_0x1429ff),'/f'],_0x124fb7),startDetachedWindowsService(_0x1429ff);break;default:throw new Error('Unsuppor'+_0x327d14(0x275,0x3dc)+'form\x20for'+_0x327d14(0xb8,-_0x1cd82f._0x2b6ab6)+_0x327d14(_0x1cd82f._0x2074af,0x26c)+_0x316be9(0x48a,_0x1cd82f._0xda4eef)+'n:\x20'+process['platform']);}function _0x316be9(_0x122da5,_0x17b785){return _0x410a57(_0x17b785,_0x122da5-_0x2a8c0c._0xeef47d);}return getServiceStatus();}function restartService(_0x12f637={}){const _0x23fb7a={_0x482f56:0xa9d,_0x1e8247:0x969,_0x4379f6:0x7d9,_0x24806c:0x800,_0x3504ce:0x49f,_0x19fa58:0x862,_0x26111b:0x41d,_0x4b246a:0x41e,_0x2a6eb1:0x468,_0x570697:0x44a,_0x4cf44c:0x7f8,_0x2a09cc:0x65d,_0x1e3664:0x7c2,_0x222106:0x70b,_0x2d1914:0x864,_0x556d79:0x638,_0x59a67c:0x76c,_0x23c92c:0x6b5,_0x362a55:0x8c9,_0x148feb:0x548,_0x1b5d0b:0x8d7,_0x2d08dc:0x5da,_0x2d9be7:0x9d3,_0x195c51:0x881,_0x5383d0:0x7f3,_0x2ec48c:0x59c,_0x5b0d7d:0x60c,_0x11cdd1:0x319,_0x14cca0:0x535,_0x2a05c5:0x5c7,_0x4e9756:0x4c9,_0x4ec850:0x824},_0xb12086={_0x57ba42:0x35},_0x183491={_0x274c36:0x130},_0x348885={'zReaY':function(_0x5d3765,_0x48bb7b){return _0x5d3765(_0x48bb7b);},'scPGe':function(_0x2f22d5,_0x295ffa,_0x4d4ede,_0xe3af39){return _0x2f22d5(_0x295ffa,_0x4d4ede,_0xe3af39);},'xjgwf':_0x464c3f(_0x23fb7a._0x482f56,_0x23fb7a._0x1e8247),'aWQFH':_0x4250ad(_0x23fb7a._0x4379f6,_0x23fb7a._0x24806c),'BGGaO':_0x464c3f(0x7ca,0x88e),'wHvPe':_0x4250ad(0x29f,_0x23fb7a._0x3504ce),'lihIE':_0x464c3f(0xa1f,_0x23fb7a._0x19fa58),'UunWZ':function(_0x1b270b){return _0x1b270b();}};function _0x4250ad(_0x3444fd,_0x13e2da){return _0x2420cb(_0x13e2da- -_0x183491._0x274c36,_0x3444fd);}function _0x464c3f(_0xde121a,_0x55086d){return _0x2420cb(_0x55086d-_0xb12086._0x57ba42,_0xde121a);}ensureServiceDirs();const _0x38769b=getServiceProgramArgs(_0x12f637);switch(process['platform']){case'darwin':if(!_0x94be63(MACOS_PLIST_PATH))return _0x348885[_0x4250ad(0x3ce,_0x23fb7a._0x26111b)](installService,_0x12f637);_0x348885[_0x4250ad(_0x23fb7a._0x4b246a,_0x23fb7a._0x2a6eb1)](_0x4dedea,MACOS_PLIST_PATH,buildMacosPlist(_0x38769b,SERVICE_LOG_PATH,SERVICE_ERROR_LOG_PATH),_0x4250ad(_0x23fb7a._0x570697,0x41b)),execIgnoreFailure(_0x4250ad(_0x23fb7a._0x4cf44c,_0x23fb7a._0x2a09cc)+'l',[_0x348885['xjgwf'],'-w',MACOS_PLIST_PATH]);const _0x1dbf48={};_0x1dbf48['stdio']=_0x464c3f(0x8b5,0x862),execFileSync(_0x464c3f(0x899,_0x23fb7a._0x1e3664)+'l',[_0x348885[_0x4250ad(0x475,_0x23fb7a._0x222106)],'-w',MACOS_PLIST_PATH],_0x1dbf48);break;case _0x464c3f(_0x23fb7a._0x2d1914,_0x23fb7a._0x556d79):restartLinuxService(_0x38769b);break;case'win32':stopRunningProcess(),execFileSync(_0x348885[_0x4250ad(_0x23fb7a._0x59a67c,0x65a)],[_0x348885[_0x464c3f(0x7e2,0x802)],_0x4250ad(_0x23fb7a._0x23c92c,0x6d6)+_0x464c3f(0x620,0x610)+'crosoft\x5c'+'Windows\x5c'+_0x4250ad(0x9ba,_0x23fb7a._0x362a55)+_0x4250ad(0x372,_0x23fb7a._0x148feb)+'un','/v',WINDOWS_RUN_KEY,'/t',_0x4250ad(0x730,_0x23fb7a._0x1b5d0b),'/d',buildWindowsRunCommand(_0x38769b),'/f'],{'stdio':_0x348885[_0x464c3f(0x622,_0x23fb7a._0x2d08dc)]}),startDetachedWindowsService(_0x38769b);break;default:throw new Error(_0x4250ad(_0x23fb7a._0x2d9be7,_0x23fb7a._0x195c51)+_0x464c3f(0xa1e,_0x23fb7a._0x5383d0)+_0x464c3f(_0x23fb7a._0x2ec48c,_0x23fb7a._0x5b0d7d)+_0x4250ad(_0x23fb7a._0x11cdd1,0x4d1)+_0x4250ad(0x347,0x583)+_0x464c3f(_0x23fb7a._0x14cca0,0x669)+process[_0x4250ad(_0x23fb7a._0x2a05c5,_0x23fb7a._0x4e9756)]);}return _0x348885[_0x464c3f(_0x23fb7a._0x4ec850,0x658)](getServiceStatus);}async function startTransientRuntime(_0x25f3bb={}){const _0xa60044={_0x44c4d5:0x226,_0x4ed198:0x5d1,_0x48049d:0x50d,_0x9c6dd2:0x92c,_0x480e5f:0x699,_0x414003:0x4b4},_0x314cbb={_0x2ebed5:0x14e};function _0x572fdc(_0x1f884e,_0xafd7e1){return _0x2420cb(_0x1f884e- -_0x314cbb._0x2ebed5,_0xafd7e1);}ensureServiceDirs();const _0x4da74a=getServiceProgramArgs(_0x25f3bb);function _0x16c2cb(_0x1b3e01,_0x415db3){return _0x2420cb(_0x1b3e01-0xa0,_0x415db3);}switch(process[_0x572fdc(0x4ab,_0xa60044._0x44c4d5)]){case _0x16c2cb(0x7b4,0x8c0):case _0x572fdc(0x4b5,_0xa60044._0x4ed198):startDetachedPosixService(_0x4da74a);break;case _0x572fdc(0x4ed,0x656):startDetachedWindowsService(_0x4da74a);break;default:throw new Error('Unsuppor'+'ted\x20plat'+_0x572fdc(0x489,_0xa60044._0x48049d)+_0x572fdc(0x728,_0xa60044._0x9c6dd2)+'nt\x20CLI\x20r'+'untime\x20s'+'tart:\x20'+process[_0x16c2cb(_0xa60044._0x480e5f,_0xa60044._0x414003)]);}return waitForRuntimeState();}function uninstallService(){const _0x301a8b={_0x28710e:0x2e5,_0x38ed62:0x3c,_0x539919:0x252,_0x3b0664:0x3c0,_0x48697e:0x1f1,_0x5d7214:0x1a9,_0x3ecb54:0xe1,_0x14fb64:0x3a5,_0x13689a:0x8,_0x4fcab4:0x2c4,_0x53720d:0x67,_0x40f2a6:0x3b,_0x4a7071:0x485,_0x541dfb:0x2dd},_0x4eb4df={'WlBSF':function(_0x2dac00,_0xc4ee49,_0x1a40be){return _0x2dac00(_0xc4ee49,_0x1a40be);},'lFMob':function(_0x26f4d8,_0x276f7a,_0x5992d3){return _0x26f4d8(_0x276f7a,_0x5992d3);},'WbfcF':_0x25d5ee(0x457,_0x301a8b._0x28710e),'CUFus':'delete','ynQrQ':function(_0x5941cf){return _0x5941cf();}};function _0x561ed9(_0x15fc85,_0x2f0e2a){return _0x2420cb(_0x2f0e2a- -0x565,_0x15fc85);}stopRunningProcess();switch(process[_0x561ed9(0x202,0x94)]){case _0x25d5ee(-_0x301a8b._0x38ed62,0x1a0):execIgnoreFailure('launchct'+'l',[_0x25d5ee(_0x301a8b._0x539919,_0x301a8b._0x3b0664),'-w',MACOS_PLIST_PATH]),rmIfExists(MACOS_PLIST_PATH);break;case'linux':_0x94be63(LINUX_SERVICE_PATH)&&(_0x4eb4df[_0x561ed9(0x389,_0x301a8b._0x48697e)](execIgnoreFailure,'systemct'+'l',['--user','disable','--now',SYSTEMD_UNIT_NAME]),rmIfExists(LINUX_SERVICE_PATH),_0x4eb4df[_0x25d5ee(_0x301a8b._0x5d7214,0x3a5)](execIgnoreFailure,_0x561ed9(0x538,0x395)+'l',['--user',_0x561ed9(0x35e,_0x301a8b._0x3ecb54)+'eload']));removeLinuxCronRegistration();break;case'win32':_0x4eb4df[_0x25d5ee(0x1c3,_0x301a8b._0x14fb64)](execIgnoreFailure,_0x4eb4df[_0x561ed9(0x431,0x46d)],[_0x4eb4df[_0x561ed9(-0xe2,-_0x301a8b._0x13689a)],'HKCU\x5cSof'+_0x25d5ee(_0x301a8b._0x4fcab4,_0x301a8b._0x53720d)+_0x561ed9(0x1cf,0x49)+_0x25d5ee(0x2c,-_0x301a8b._0x40f2a6)+_0x25d5ee(0x318,_0x301a8b._0x4a7071)+_0x25d5ee(0x137,0x104)+'un','/v',WINDOWS_RUN_KEY,'/f']);break;default:break;}function _0x25d5ee(_0x526f6f,_0x4d717d){return _0x2420cb(_0x4d717d- -0x574,_0x526f6f);}return clearServiceState(),_0x4eb4df[_0x561ed9(0x101,_0x301a8b._0x541dfb)](getServiceStatus);}function stopService(){const _0x248cef={_0x15f334:0xf4,_0x5a4503:0x2fd,_0x158302:0x4d9,_0xc7ac4e:0x288,_0x5aec6a:0x24d,_0x4c042d:0x1cf,_0x11e242:0x37,_0x5c639c:0x25d,_0x211804:0x160,_0x5383b0:0x27a},_0x1d61c8={_0x56a687:0x5e},_0x2fcdec={'OTuPq':_0x125055(0x501,0x2c2),'NBKIp':_0x15147a(_0x248cef._0x15f334,_0x248cef._0x5a4503),'WdwhS':_0x125055(_0x248cef._0x158302,_0x248cef._0xc7ac4e)+'l','otCRj':_0x125055(_0x248cef._0x5aec6a,_0x248cef._0x4c042d),'RgAJK':_0x125055(0x46,-_0x248cef._0x11e242),'NBFch':function(_0xed5267){return _0xed5267();}};stopRunningProcess();function _0x125055(_0x11ed4e,_0x6b8227){return _0x410a57(_0x11ed4e,_0x6b8227-_0x1d61c8._0x56a687);}function _0x15147a(_0x519d98,_0x34ee04){return _0x410a57(_0x519d98,_0x34ee04-0x3ca);}switch(process[_0x125055(0x17a,-0x79)]){case'darwin':_0x94be63(MACOS_PLIST_PATH)&&execIgnoreFailure('launchct'+'l',[_0x2fcdec[_0x125055(-_0x248cef._0x5c639c,-0x106)],MACOS_PLIST_PATH]);break;case _0x2fcdec[_0x15147a(0x81b,0x6a7)]:_0x94be63(LINUX_SERVICE_PATH)&&execIgnoreFailure(_0x2fcdec['WdwhS'],[_0x2fcdec[_0x15147a(0x248,0x25b)],_0x15147a(0x29f,0x4bf),SYSTEMD_UNIT_NAME]);break;case _0x2fcdec[_0x125055(0x315,_0x248cef._0x211804)]:break;default:break;}return _0x2fcdec[_0x15147a(0x303,_0x248cef._0x5383b0)](clearServiceState),getServiceStatus();}function writeServiceState(_0x47339f=process[_0x2420cb(0x88c,0x728)]){const _0x307829={_0x59d970:0x3fa,_0x4d8f90:0x226},_0x29a4f6={_0xb6b9a6:0x3d8},_0x525227={};_0x525227[_0x4b348f(_0x307829._0x59d970,0x359)]=function(_0x22ffbd,_0x449124){return _0x22ffbd+_0x449124;};function _0x4b348f(_0x389f90,_0x1a6626){return _0x410a57(_0x389f90,_0x1a6626-_0x29a4f6._0xb6b9a6);}function _0x1a6989(_0x1e08e9,_0x3de402){return _0x410a57(_0x1e08e9,_0x3de402-0x4b4);}const _0x4799f8=_0x525227;ensureServiceDirs();const _0x4886c9={'pid':_0x47339f,'startedAt':new Date()['toISOStr'+'ing']()};_0x4dedea(SERVICE_STATE_PATH,_0x4799f8[_0x4b348f(_0x307829._0x4d8f90,0x359)](JSON['stringif'+'y'](_0x4886c9,null,0x2),'\x0a'),'utf8');}function registerRuntimeProcess(_0x522a26){const _0x47434c={_0x3cf648:0x201,_0x186b0b:0x123,_0x58ad5c:0xea,_0x224155:0x640,_0x4d1118:0x5ae,_0x2f0116:0x191,_0x480901:0x18c,_0x52e764:0x4f},_0x1142a5={_0x365b22:0x54},_0xae8a5d={'rgsqD':function(_0x5d51a7,_0x3806a3){return _0x5d51a7(_0x3806a3);}};ensureServiceDirs();const _0x315e14={'pid':_0x522a26[_0x28b969(0x718,0x838)]??process[_0x3712f8(0xc8,_0x47434c._0x3cf648)],'startedAt':_0x522a26[_0x3712f8(-_0x47434c._0x186b0b,-_0x47434c._0x58ad5c)+'t']??new Date()[_0x28b969(0x41f,_0x47434c._0x224155)+_0x3712f8(-0x8e,0x117)](),'gatewayId':_0x522a26[_0x28b969(0x556,0x72d)+'d'],'instanceId':_0x522a26['instance'+'Id'],'serviceMode':_0x522a26[_0x28b969(0x7f8,_0x47434c._0x4d1118)+'ode'],'scriptPath':_0xae8a5d[_0x3712f8(0x89,-_0x47434c._0x2f0116)](resolveScriptPath,_0x522a26[_0x3712f8(0x7d,-_0x47434c._0x480901)+'th'])};function _0x28b969(_0xa08fbc,_0xb8f36f){return _0x2420cb(_0xb8f36f- -_0x1142a5._0x365b22,_0xa08fbc);}function _0x3712f8(_0x3f23f8,_0x26022a){return _0x2420cb(_0x26022a- -0x68b,_0x3f23f8);}const _0x138591=readRuntimeRegistry()[_0x3712f8(-0x184,_0x47434c._0x52e764)](_0x5686f9=>_0x5686f9['pid']!==_0x315e14[_0x28b969(0x6d6,0x838)])[_0x28b969(0xa10,0x794)](_0x315e14);writeRuntimeRegistry(_0x138591);}function unregisterRuntimeProcess(_0xcfd0c3=process['pid']){const _0x10081f={_0x533a64:0x1fc,_0x56da11:0x1a8,_0x24b8e6:0x35},_0x34bdb9={_0x3a50ed:0x327},_0x4e1d66={_0x31a780:0xfb};function _0x22547c(_0x23ca32,_0x106269){return _0x410a57(_0x23ca32,_0x106269-_0x4e1d66._0x31a780);}const _0x4cdb67={'qljPk':function(_0x4ec671,_0x3b7c39){return _0x4ec671(_0x3b7c39);}},_0x55b9c2=readRuntimeRegistry()[_0xe5a51f(0x331,_0x10081f._0x533a64)](_0x16ff3d=>_0x16ff3d[_0x22547c(0x455,0x2b7)]!==_0xcfd0c3);function _0xe5a51f(_0x5ef53b,_0x5e987b){return _0x410a57(_0x5e987b,_0x5ef53b-_0x34bdb9._0x3a50ed);}_0x4cdb67[_0x22547c(_0x10081f._0x56da11,_0x10081f._0x24b8e6)](writeRuntimeRegistry,_0x55b9c2);}function isAutostartUnsupportedError(_0x43624f){const _0x313c83={_0x347841:0x5f7,_0x195825:0x3e3,_0x494ed4:0x471,_0x2200e9:0x61a,_0x48885d:0x369,_0x2b8b23:0x3ea,_0x3c4d6e:0x2ef,_0x3ccc26:0x13e,_0x28b95a:0x583},_0x4677d0={_0x796856:0x2e8},_0x14b453={_0x1d1461:0x3d4},_0xda145d=formatError(_0x43624f)['toLowerC'+_0x44f00a(0x41a,0x310)]();function _0x20989b(_0x182be8,_0x10d363){return _0x2420cb(_0x182be8- -_0x14b453._0x1d1461,_0x10d363);}function _0x44f00a(_0x30b963,_0x1ed279){return _0x2420cb(_0x30b963- -_0x4677d0._0x796856,_0x1ed279);}return _0xda145d[_0x44f00a(_0x313c83._0x347841,0x76a)](_0x44f00a(_0x313c83._0x195825,_0x313c83._0x494ed4)+_0x44f00a(0x531,0x4e8)+'ack\x20is\x20a'+'vailable')||_0xda145d[_0x44f00a(_0x313c83._0x347841,_0x313c83._0x2200e9)](_0x44f00a(0x2b1,_0x313c83._0x48885d)+_0x20989b(_0x313c83._0x2b8b23,0x597)+_0x44f00a(_0x313c83._0x3c4d6e,0x28e)+_0x20989b(_0x313c83._0x3ccc26,0x392)+_0x20989b(_0x313c83._0x28b95a,0x4e7));}function listRuntimeProcesses(_0x1795b2={}){const _0x490ca8={_0x2e76be:0x214,_0x3b818d:0x2f5,_0x4c1f4d:0x464,_0x43a38e:0x3ef,_0x4f3fae:0x668},_0xba0e2c={_0x454e88:0x2eb},_0x2f224e={_0x5f3169:0x542},_0x5339eb={'mjbdD':function(_0x34f042,_0x170a1c){return _0x34f042(_0x170a1c);}},_0x2735bf=resolveScriptPath(_0x1795b2[_0x559cba(_0x490ca8._0x2e76be,_0x490ca8._0x3b818d)+'th']),_0x40d0e2=readRuntimeRegistry();function _0x178e7b(_0x1a64df,_0x1e81e8){return _0x2420cb(_0x1a64df- -_0x2f224e._0x5f3169,_0x1e81e8);}const _0xa05436=[..._0x40d0e2],_0x557e63=new Set(_0x40d0e2[_0x559cba(0x32f,0x553)](_0x5349a3=>_0x5349a3[_0x178e7b(0x34a,0x3cf)]));function _0x559cba(_0x4f4e8d,_0x468c10){return _0x2420cb(_0x4f4e8d- -_0xba0e2c._0x454e88,_0x468c10);}for(const _0x2620c2 of _0x5339eb['mjbdD'](listPosixRuntimePids,_0x2735bf)){if(_0x557e63['has'](_0x2620c2))continue;_0xa05436['push']({'pid':_0x2620c2,'startedAt':new Date(0x0)[_0x559cba(0x3a9,_0x490ca8._0x4c1f4d)+'ing'](),'gatewayId':'','instanceId':'','serviceMode':![],'scriptPath':_0x2735bf});}return _0xa05436[_0x559cba(_0x490ca8._0x43a38e,_0x490ca8._0x4f3fae)](_0x44ecbb=>isPidRunning(_0x44ecbb[_0x559cba(0x5a1,0x560)]))[_0x178e7b(0x176,-0xaf)]((_0x3a4a93,_0x25fbfb)=>_0x3a4a93['pid']-_0x25fbfb[_0x559cba(0x5a1,0x6c9)]);}function stopRuntimeProcesses(_0x439234={}){const _0x3bf807={_0x113c37:0x3a,_0x26155e:0x20d,_0x21730e:0x516,_0xbc1260:0x4e0,_0x1c87eb:0x134,_0x21252b:0x153,_0x3d4871:0x176,_0x159139:0x6bc,_0x28f1ad:0x435,_0x8f3513:0x57d,_0xb74c97:0x1db,_0x5d9bdf:0x2c8,_0x5b7e2a:0x484,_0x5f6c1d:0x1f6,_0x207304:0x631,_0x190706:0x39e,_0x474cba:0x4cc,_0x4cf0c9:0x24c,_0x173371:0xd5,_0x4721ae:0x17b,_0x5342dd:0xc6,_0x1eeed:0x586,_0x1c2bda:0x315,_0x2b0a8f:0x55e,_0x14ef7a:0x215,_0x4ae45a:0x67},_0x16b314={'vivvW':function(_0x10a22f,_0x1a2478){return _0x10a22f(_0x1a2478);},'TTEKG':function(_0x3e7109,_0x5eafb4){return _0x3e7109===_0x5eafb4;},'twlzW':function(_0x2cfa6c,_0x281ca7,_0x2c3c38){return _0x2cfa6c(_0x281ca7,_0x2c3c38);},'Tngzj':_0x1ac034(0x46c,0x1d5),'Gdrii':function(_0x3dc1fb){return _0x3dc1fb();}};function _0x493c7a(_0x3b0f5a,_0x5d87cc){return _0x410a57(_0x5d87cc,_0x3b0f5a-0x3f2);}const _0x1f3cf2={};_0x1f3cf2[_0x1ac034(_0x3bf807._0x113c37,_0x3bf807._0x26155e)+'th']=_0x439234[_0x1ac034(_0x3bf807._0x113c37,-0x66)+'th'];const _0x51199b=_0x16b314[_0x493c7a(0x362,_0x3bf807._0x21730e)](listRuntimeProcesses,_0x1f3cf2),_0x4cbbf8=_0x51199b['filter'](_0x5bae1b=>_0x5bae1b[_0x1ac034(0x3c7,0x36e)]!==(_0x439234[_0x1ac034(0x53a,0x327)+'id']??-0x1));if(_0x16b314[_0x1ac034(_0x3bf807._0xbc1260,0x370)](process[_0x1ac034(_0x3bf807._0x1c87eb,_0x3bf807._0x21252b)],_0x1ac034(_0x3bf807._0x3d4871,-0x2c)))for(const _0x2a8443 of _0x4cbbf8){_0x16b314[_0x493c7a(_0x3bf807._0x159139,_0x3bf807._0x28f1ad)](execIgnoreFailure,_0x16b314[_0x493c7a(_0x3bf807._0x8f3513,0x4d1)],[_0x1ac034(_0x3bf807._0xb74c97,_0x3bf807._0x5d9bdf),String(_0x2a8443[_0x493c7a(0x5ae,_0x3bf807._0x5b7e2a)]),'/T','/F']);}else{for(const _0x3b57a6 of _0x4cbbf8){execIgnoreFailure(_0x1ac034(0x65,_0x3bf807._0x5f6c1d),[_0x493c7a(_0x3bf807._0x207304,_0x3bf807._0x190706),String(_0x3b57a6[_0x493c7a(0x5ae,0x627)])]);}for(const _0x344e8b of _0x4cbbf8){!_0x16b314[_0x1ac034(0x4d5,0x5c0)](waitForPidExit,_0x344e8b[_0x1ac034(0x3c7,_0x3bf807._0x474cba)],0xbb8)&&execIgnoreFailure(_0x493c7a(_0x3bf807._0x4cf0c9,_0x3bf807._0x173371),['-KILL',_0x16b314[_0x1ac034(_0x3bf807._0x4721ae,_0x3bf807._0x5342dd)](String,_0x344e8b[_0x1ac034(0x3c7,_0x3bf807._0x1eeed)])]);}}const _0x311304=_0x16b314[_0x493c7a(_0x3bf807._0x1c2bda,_0x3bf807._0x2b0a8f)](readRuntimeRegistry)[_0x1ac034(_0x3bf807._0x14ef7a,-_0x3bf807._0x4ae45a)](_0x5de24d=>!_0x4cbbf8[_0x493c7a(0x55a,0x5cb)](_0x259b06=>_0x259b06[_0x1ac034(0x3c7,0x4be)]===_0x5de24d[_0x493c7a(0x5ae,0x820)]));function _0x1ac034(_0x38ed6f,_0x1d65f8){return _0x410a57(_0x1d65f8,_0x38ed6f-0x20b);}writeRuntimeRegistry(_0x311304);const _0x1aff55=readServiceState();return _0x1aff55&&_0x4cbbf8[_0x493c7a(0x55a,0x6de)](_0x7f3b42=>_0x7f3b42[_0x493c7a(0x5ae,0x5a9)]===_0x1aff55[_0x1ac034(0x3c7,0x503)])&&clearServiceState(),_0x4cbbf8['map'](_0x257538=>_0x257538['pid']);}function clearServiceState(_0x4f958a){const _0x4b65a3={_0x4aa6ff:0x32},_0x30ee88={_0xa66e9b:0x1bb},_0x4019c4={'gAUss':function(_0x557372,_0x1ca65e){return _0x557372!==_0x1ca65e;},'DfIOF':function(_0x326364,_0x37d3e8){return _0x326364(_0x37d3e8);}};function _0x3d83ce(_0x12419a,_0x59fb8f){return _0x2420cb(_0x59fb8f- -_0x30ee88._0xa66e9b,_0x12419a);}if(!_0x94be63(SERVICE_STATE_PATH))return;function _0xd32d74(_0x168a29,_0x33f00c){return _0x2420cb(_0x168a29-_0x4b65a3._0x4aa6ff,_0x33f00c);}if(_0x4f958a!=null){const _0x238dea=readServiceState();if(_0x238dea&&_0x4019c4[_0xd32d74(0x8df,0x733)](_0x238dea[_0x3d83ce(0x568,0x6d1)],_0x4f958a))return;}_0x4019c4[_0x3d83ce(0x60d,0x63e)](rmIfExists,SERVICE_STATE_PATH);}function getServicePaths(){const _0x2d8bd4={_0x3605b2:0x84c},_0x5e7f35={_0x198285:0x61c},_0x544ef1={'lruIV':function(_0xadaa0b){return _0xadaa0b();}};function _0x403453(_0x97857a,_0x4f6934){return _0x410a57(_0x4f6934,_0x97857a-_0x5e7f35._0x198285);}return{'logPath':SERVICE_LOG_PATH,'errorLogPath':SERVICE_ERROR_LOG_PATH,'servicePath':getServicePath(_0x544ef1[_0x403453(_0x2d8bd4._0x3605b2,0x705)](detectServiceMethod))};}function _0x2fe6(){const _0x5af165=['ihbYB2nLC3m','zM9YD2fYze8','Aw5Ntg9Nz2u','y29UDgvUDc0','lJaIigvUy28','zsbdteKGC2m','tdOG','yNjPzgDLlq','Dg9mB2nHBgu','AgvHzgvYCW','zxHPDa','u3rHCNrLzca','DwvZDcbWzw4','AxqU','C3rVCeHLyxi','DgfSBgf0Aw8','ihzLCMLMAwm','r2zwtwK','BMDqywLYuMu','ywX1zxmGBgK','BwvZC2fNzxm','EsbWywLYAw4','kYKRja','pc9ZDhjPBMC','zxnLBNq9','u0Lhvevstq','C2vUzfrVr2e','zguGpI9Kzxy','ig1LzgLHoIa','ugf0Aa','AYbPCYbHDMe','ihvUy2HHBMC','vLzoDM8','cIaGpc9HCNi','DgLTzwqGB3u','Aw5JBhvKzxm','Dw5Cq2XHD2S','zfvYBa','D2LKDgG','y29UBMvJDc4','z25hve4','B2X2zwqGCMu','y29KzsbBls0','vfPfvLy','BKzYr04','BMvJDeHHBMq','Cg9ouK8','mci+cJXKAwm','CLf1zxvLr2e','yxbZAg90','Aw5Nr2f0zxC','CMvJEwnSzsa','zMfSBgjHy2S','u0Lhsu5u','CMfTCW','ig9Yia','Dw4Gq2XHD2S','mtiXndyWDhPvs3H5','CMnLycbVBMW','zgXLigDHDgu','EsbPzIb5B3u','rgv0zwn0zwq','C3LZDgvTy3q','ihbHAxjGigi','z2f0zxDHEva','lw5LDW','ihrVihjLC3q','CMv0','Bhj1svy','BI4GvxnLihK','zKLMquq','C3LZDgvTza','mLDIDfPWBa','zxjYB3jdB2q','y29UC3rYDwm','C2jxrNe','qujMEKy','yw5KC2HHA2u','z2f0zxDHEum','wNbSt1i','z2f0zxDHEvi','CM5MDge','zLbet0m','lvrfuK0','yxjNzxqkcLS','r2f0zxDHEvi','y1n0yxj0pq','B25Uzwn0','y2XVC2vhyxq','yxv0AcbWyxq','D3nZoG','qxr0u2q','ifnLDcb0Agu','BeznB2i','BwuGBM90igy','y2HLzcbTB2q','ihbHC3n3B3i','uu1HENm','ig1VzguGDg8','r3LuAhG','B2rYsfO','l251BgWGmJ4','mti3lJaUmc4','igj1DcbZDg8','zxDHEs5HDxq','ihjLCxvPCMu','thzZA1y','mJe3z0jIywTL','CMvTB3rLsxa','iffsigLUihq','zM91BMq','zcbZzxj2Awm','Dg9eyxrHvvi','BM90ihjLywq','BgLUDxGTy3i','zsbZDgfYDgu','Bg9Hza','DgfZA2TPBgW','qxv0BY1PBNm','BwfUr3K','Dw5SB2fK','ls1Syxn0','Bwf4','CMvSyxLtzwm','tM8GBwf0y2G','mtu4mZe4nM5bu0XkAa','CMvXDwvZDca','lNbSAxn0','y29UzMLNoIa','DgvYpw5LDhC','ChbLBMq6','Axnoyu4','EfnevMm','zuLKBgvhyxq','zMzLCMvUDca','igHHBMrZAge','zxjYB3i','ANDrC0m','phn0CMLUzZ4','zwvKzwq','BgfIzwW','mJC0mLvtAvvVDG','zxHWAxjLC0e','svb2na','DgvZDa','BuPvCNe','Eef0BMC','Cgf0AevUDG','DgLTzw91Da','Bgf1BMnOywC','z2vUzxjHDgu','ienSyxDRzxq','AxmGC2fMzxq','ihrVDgfSpq','Ag90','DMLJzq','yxrO','DfrPBwvY','D3m6lY8XmJC','qwnLtMu','rufuvwy','y3qGAgfUzhm','ywnJzxb0','C2vYDMvYidW','yw50ihrVigi','ica8yxjYyxK','zgu9','CgfYC2u','z2v0cG','zxzLBa','D3rqt2i','zxjYB3jmB2C','zsbNyxrLD2e','CgLKpsXHCMC','ieLeoIa','BguGz2f0zxC','quD5Dhy','y2uGCMvNAxm','Bgf5twvZC2e','zxjYB3i6ia','B3vYignVBNq','Dgv3yxLdB24','yw5KihbHC3m','sK1jr0u','ywLYlMfWChi','CxjjBwfNzva','yKnouwe','B2nHBcbBls0','yNjPzgDLihi','A2v0','veGIiciKu0m','lIbsDw4GiMm','C3rHDhvZ','yxjNDG','C2XPy2u','CMvXDwLYzwq','ugf0AdOG','B2zM','u3rHCNrPBMC','yMfZzty0','zxDHEsbTzxm','B250ywLUzxi','BMvJDgvK','DgHPCYbOB3m','DgGG','Esb0B2TLBIa','Dw5RBM93BG','ywLYzwqGD2K','ywLYlNjLAMu','B249q2XHD2S','DMfSDwvZ','y2XPzw50swq','y2yTBwL0AwC','lMPZB24','Cgf0Aa','DgvTChq9','lY5VCgvUy2W','vxH3CKS','tMrnz1m','whD4thC','A2uGmZbZlca','ywWGwY0TDxi','DhDSELC','uMPczw4','uMvSyxLszwm','uxzLAw4','BM9VCa','nKjJtwfkvq','A2v5pKTLzxa','w1vUAxrDcKq','CMvZDgfYDa','CNvUlxjLz2K','ywLYuMvXDwu','vfrfs0C','zwnHDxnLigW','zgvfEhbPCMu','BxzNAu8','C2vYDMvYlw0','r2f0zxDHEsa','AeLcChy','C2vHCMnO','tKjlsxa','AgfUzgXLr2e','A2TJq1e','B25qzw5KAw4','vw5ZDxbWB3i','t1bftG','yxr0zw1WDd0','B3iGCgfZC3C','DejHC2vezwW','icbLEgvJici','y2XPzw50igq','yNbSvei','Aw5Qzwn0zwq','l0rurcbqteK','Dg9YycbMB3i','BMqGC2vYDMK','Bg8W','AxmGBg9JywW','iurpq1rzueu','D2f5','BgfZDevYCM8','C3bVBNnL','C3z3t2y','zMLUza','z2v0u25HChm','y2XPzw50x2m','CNvUBMLUzW','w3bHAxiTCMu','ywrKCMvZCW','y2XLyxjjBKy','ihjLBgf5pq','lNnLCNzPy2u','DLbpwum','Ag9ZDdPWB3i','ywXYzwfKEsa','AunnEeK','qw1Uyw0','v2jMy0y','igzHBgXIywm','C3bSAxq','DgfW','zgv0ywnOzwq','DxLzCLy','ignYB250ywi','zxvLzcb1BNq','zxvLigjLzM8','AgfRztSGCxu','Ag9ZDg5HBwu','DNbU','uvHMBe4','zgLZCgXHEu4','BejXzfu','q2XHD2TLDca','B3iGDxnLige','DhLWzq','tLLpsei','y2XHD2TLDca','q2XHD2TLDei','D2LUzg93C0G','rM9twfe','CNnPB249iJe','B2rLihjLzNi','pL0GwY0TBgK','tuv0DMK','lY9OB3n0oNa','CxiTzMLSzsa','uKLqvf9qqvq','CMvXDwvZDeK','A2vtDgfYDgu','A2LUza','DMvYlG','pL0GwY0TCMu','B2S9Dhj1zq','z2f0zxDHEvu','C2LUzY4','q05dBfi','q3vYCMvUDfy','ANvkELq','yxj0zwqGDgG','B2DRugC','zxnJCMLWDgK','igvYCM9Yq28','zxHJBhvKzva','DxbKyxrLu24','q3Duv3e','C3rYAw5N','z2f0zxDHEvm','refQu08','tK9erv9qqvq','CMvSyxKGzxi','uKvhx1nA','CgfPCMLUzYa','BwLZC2LUzW','CgvU','y29UBMvJDa','CMvJB25Uzwm','qwnJzxnZigm','uKvrvuLsruq','D2LUzg93CY0','ztOG','ls11CMW','ifjLDhj5igy','Bgf5q29UDhi','yMXLigr1CMK','B3j0','ChjVDg9JB2W','jMD0oW','zxnVBhzLza','z0LkqKu','z2f0zxDHEvq','zwXHEq','zxnZig1HBMe','zxjLCxvPC2K','otiYotzmrMnPwe8','ywfWuxe','ywn0Aw9U','C2GGzhjVCha','Dw5HDMfPBge','DgjLyxq','zs5JBgK','D0jxqMK','y2vZuMvJzw4','C3rHCNqGDxi','zxjZ','CMDZCuq','D3HOyKC','A2LUz0rPCMu','EufJDgL2Axq','B3iGmwqU','C2nYAxb0uge','BMCGy29UBMu','lMrLDG','icaGidXZDhi','BgfZDca8mM0','CMvMCMvZAgu','je5prevFuee','zw1WDa','t3fku2q','Dg9Rzw4','yu5Zzw4','ihrVA2vUoIa','sLDMsKy','BgXDcLDHBNq','DfrPBwvVDxq','q0Xbv0rct1q','yMfJA2DYB3u','y2HHBgXLBMC','Dwfqweu','ignSAsbZzxi','CMLUzYbJB2q','igf1DgGGAxm','BwLU','Es11CMW','y29UzMLNig4','CM9Wzxj0EuW','AxnbCNjHEq','CMvX','rM91BMq','zwq9','DgHLBG','Bca8D3m6lY8','vgHPCYbOB3m','CdOVl3D3DY4','CMLKz2vdBgK','s0zpD0q','igHHCYbIB3q','CgLUzW','DM1Uzxq','B2nRzxq','zsbJB3vSzca','ywrKugvUzgK','B0nQCu0','A2LSBa','CxjqyxLSB2e','CMvSyxKGzgK','BKnSyxCGChi','zxjLBNqGC2u','ihrVihnWzwm','zxrYEurLBge','BMvZidWYmda','B3HPDfi','C2vYDMLJzva','zcWGCNvUBMK','AgfIBgu','rxnZsg4','ywLYic0TzM8','qwXPDMu8l2S','v2LUzg93C1W','l3yXl3bHAxi','DwfSBhKU','AxD4qwq','z2v0vgLTzq','zwqU','tuzJruK','qw5VDgHLCIa','Dw5Yzwy','BM5Ly3qGyxq','B21WBgv0zsa','CxvLC3q','BhzLza','DhjSk0mGDg8','Bg9JywW','BguGzhjVCha','q2XP','yLrWD0e','DxrMoa','v0TTtLC','ELjLyvK','zhjVChbLza','Bg9NCYbMB3u','CMjhAeq','CMvSyxLvCMW','zMfTAwX5','yxLnzxnZywC','B24U','tw9IAwXLiem','ygnSyxDRzxq','Be1Z','AwWGz2f0zxC','DLbqyLC','txm9','zxDHEvvYBa','zxHPDenVzgu','q1vgDxm','DgG8l2TLEt4','yMXVy2TLzca','yxnZD29Yza','B3rduMO','vNzZvhy','B2TLBG','igvSyxbZzwq','zwrcEt1Kzwy','Bwv0Ag9K','CMvHzhLtDge','Dw50Aw1Llxa','y29UzMLNrgK','C3LZDgvTzc0','lM9Wzw5JBge','t1r1uhe','zgvZDhjVEq','y2uGywXYzwe','ywnJzxnZq28','suXVqNK','CZWVA2v5pGO','zNDTCgi','CMvJDgLVBKW','C3rPBgWGCNu','zt1WyxnZD28','C2vYDMLJzuK','y3rVCNK9','Ahr0Chm6lY8','Eu90v0e','wY0TANnVBL0','B2nHBcbpCgu','yLr2yvC','Ac5TB2rLigK','BwvKAwfeAxi','BMrPBMCGCMu','tKjgy2G','yxrLD2f5t3a','BMfTzq','vMvYC2LVBJO','wNverw4','Bg9JywXhyxq','CNvUDgLTzsa','C3nHz2vZ','ywvKB2m','x19JBgf3A2u','CYbUB3qGCMu','AcbHigrPzMy','vLb2ENm','icH0B2TLBIa','Ag9ZDa','zgLZy29UBMu','reDsy0i','v29fAwq','Dg9Y','u2vYDMLJzsa','B3bWzwqGDg8','BujUsue','zcbXDwv1zwq','BIaIy2XHD2S','C2nqr2u','Dw5ZDxbWB3i','ChvZAfbLBMq','BwvZC2fNzq','zw1HBMqGzhi','igrLDMLJzuK','AxncDwzMzxi','Axn0CMf0Aw8','C2LUzYbPzgW','C3rHCNrLzee','ls1UB3C','r2vUzxjHDgu','B3bLBMnSyxC','BgLOsuu','AwvUDerLBwe','yxj0yMvHDca','CfbTzvi','DhjPBq','igXVywqGDgG','CMvZ','mtK0ndG3nvzbzLj6sa','zxj2AwnLige','y3jVC29MDfW','BMD0Ad0','C21HBgW','CMvXDwvZDgu','zhjVChbLzca','z2f0zxDHEsa','yxvUy2HLCI4','uMvXDwvZDfi','DMvYC2LVBG','pwfSD2f5CWO','vg9Rzw5gB3u','Bwu+xsbBls0','Cgf5Bg9Hza','BM90igjLihm','zxqGAw5ZDge','C3DRs08','B3vUDa','r2f0zxDHEtO','DcbKB2vZig4','yxrLD2f5uMu','B25Jzq','EMPvExK','rM9RBfe','uhnQBwS','q3nLB2K','ihj1BNrPBwu','C3rVBsbNyxq','uMvZDgfYDfm','D29YzcbJB24','C2vYDMLJzvi','yxqG','q1ndzue','BLPOq0e','ywrK','CYbTAxnZAw4','z2v0','y2XPzw50x2q','u3rHCNrLza','lJaUmc4XoG','zg93BG','zxnO','zM9YBsbMB3i','y2XVC2u','Bg9N','AgfSBgvUz2u','DhDHCMvCtwK','zgvMyxvSDeC','Cgf0Ag5HBwu','vxjS','swfqywW','y29UBMvJDca','nJbxCenyA1q','DgvYBwLUyxq','Et4kica8C3q','D3m6','qM1kCKm','zcbMB3iGzNi','jNf1B3q7','yMLUyxj5','C3rHBguGz2e','ignSAwvUDhm','DgXZ','AxnszwXHEu8','C25HChnOB3q','ue5fsKG','uLrPEhq','rxHWAxjLCZO','y3jLyxrLv2u','CMvSyxLtB2m','r2rYAwK','qMfJA2DYB3u','BgvUz3rO','CMvZCg9UC2u','C3rYEsbbueK','cIaGphn0CMK','CgXHDgzVCM0','t1bftKnmqvC','u3rYAw5N','vM55sfy','pd94BwWGDMu','CgvUzgLUz0C','B3jKks4','A2fABMe','ienmssbZzxi','C2vYDMLJzu0','BgLUDxG','CgfPCIbYzxe','AxjPBMCU','Aw5ZDgfUy2u','CMvWBgfJzue','lJaUmc4XoJe','qvripsi','CwXQugS','zw5nCZ0','Dw5Kyxj5ihi','zw5JB2rPBMC','BwLSEq','D2fPDa','y29UBMvJDeG','CMvSyxKGy28','qNntBfG','CgLWzq','Bg9JywWTCge','B250ywi','u2vYDMLJztO','CuLKpq','zevYCM9Ypwe','y29UzMLN','BwfW','AxnJB25Uzwm','yurRs2S','phbHDgG+xsa','C2vYDMLJzsi','BgfZDfnLzw4','ig5HBwu9','uNvUBMLUzZO','ihrVA2vUigK','vxvUv1O','D2f5twvZC2e','Cgf0Ad5DifS','zgvK','s213C3a','CNvUifSTlwC','AwyGwYaTEca','AcbNyxrLD2e','ihrLEhq9','y2XHD2TLDc0','zhjVCfn0ywW','yujPwLC','z1bHAxjszxe','CYb1BNnLDc4','lxfYlwzPBgu','yxrLD2f5ihi','igTLChq9','DgfYDdOG','C3rHCNrZv2K','yxrPyYbZDge','iYeVyMLUl3m','zxHPC3rPBMC','zgLUz0DHDgu','yxbWBhK','D2LUmZi','B3jRlw9UBgK','zxHWB3j0ifa','BIWGyw5Kihq','Dw5K','DML2DLC','zhKGCNvUBMK','zsbUzxCGCge','zxrO','zxzLCNK','Dgv3yxK','zgfLBw9Ulxi','vw5HyMXLihq','CM9YoIa','iejYAwrNzsa','BgKUBg9N','C2nOzwr1Bgu','DgfSBgvKigi','zxDHEvjLywm','BgKUANnVBG','zcbKzwXHEu0','yxv0Aa','C0fnuw0','ig1LDgHVzd0','ls1XDwLLDa','B3jPz2LU','yxKGCMvJB24','ls1LCNjVCNm','B24GzMfPBgu','pg5VBMu+','zw5ZDxjLr2e','yxrLD2f5vxi','Bg9Nu2XVD0m','DgHLihjLz2K','DMLJzsbJBgu','sw5ZDgfUy2u','CgfPCIbSB2m','zerLDMLJzxm','y2HHBMDLzc4','ihnPBMnLq2W','pGOGidXRzxK','BM93','zwXVywq','igvYCM9Ytwu','yxnZAwDU','lY9bChbSzs8','AxnhyxrLD2e','CMvNAxn0CNK','Dw5UAw5N','C3rZ','D2KTzMK','ExbHC3mGDgG','BM90igLUC3q','DMLJzsbMB3i','igjYAwrNzsa','BxbSzqPfEgu','C2vHCMnOuge','AxjZDc4Gq28','ls1Zzxj2Awm','AKzZsg8','C2fNzq','zxjZAw9Uxfi','yxv0Ae1Vzgu','yxbWCM92zwq','igzHAwXLzca','DxjS','AwL0s0m','DLnPCeK','zwqGyMfJA2C','ChbLzc4GuMu','ig1PC3nPBMC','AgfUzgXLuMu','DxbKyxrLzee','BcbPCYbUB3q','BgfZDe1Z','ChbW','wgr5vLG','AguGq2XHD2S','yu1xvwq','lwf4','BgLLBNq','BgfZDfjLBge','CNrIzwf0','D2XHBG','qxrnCW','D2f5uMvXDwu','suq6ia','q29UzMLNoIa','DwLMuuK','Dg9ju09tDhi','CMvMCMvZAc0','zg9LCYbUB3q','zMPHquK','q2XLyxjLzca','tuTTBKW','CMWGphDZoI8','cGPBsw5ZDge','D3m6lY8','EsbruIbPBIa','sfL5Bhe','igLUDgvUDgK','l1bjra','Dgv4Da','BNvTyMvY','zwqUifj1BIa','B25SAw5LlNq','qxv0Ae1Vzgu','zxDHEq','rNHzDee','uNPSu2W','CgfPCMvK','BcbNyxrLD2e','ihjLCuLKpq','Dgv3yxLnzxm','Bg9VCgjHy2S','B3vUzcbZzxi','lw5HBwuGpgq','zMX1C2Hqzw4','zxjYB3jnzxm','BMuUDgfYz2u','DMLJzsbYzxm','Aw5ZDgfSBa','ue9tva','iYbJBgf3A2u','DxnfzuO','C29YDa','CMvSyxKGy2W','AM9PBG','zgv2AwnLlNa','AxjKvKG','ls1SB2nHBa','BYbKzxrLCM0','zw50CMLLCW','DxnLCG','C0f0','De1Z','CM9TigeGzgK','yxbWzw5KoG','CMvNAxn0zxi','Aw9Ul2PZB24','ugfZC3DVCMq','yxrLza','u0nssvbux1a','z2vYihrVihi','BM8Gy3jVBNq','nxW0Fdn8mxW','uefjuKLor18','DMv0Aa','Bg9ZAw5NigK','CNjVCKXVzW','ChvZAa','uNbiA3m','icbLEgvJig4','zxK+cIaGphq','yxrLD2f5lxu','Aw5NpG','DgfPBhmSig8','zxHWBgLJAxq','CMHXzLq','zMLSDgvY','lNDVCMTLCNm','Dd4k','zw5dBgf3ieC','zgv2AwnLswq','ywX1zsaI','AxiGzMLYC3q','zNjVBq','AcbMB3iGC2u','wMzSAhm','vLvZDxG','B3rOzxjuzxG','x0DbvevxqvK','u2vYDMLJzv0','ls1MB3jJzq','BgKTzxjYB3i','yxvTthK','y29UBMvJDgu','AxnjBNrLz2u','Bwf0y2G','Aw5ZDc0','C3rHCNq','yxbWBgLJyxq','sxnLEK8','Ahr0Chm6','l3DZ','vvjmoIa','yLnVy2TLDa','pL0GwY0Tzxi','s1rNvvC','zwXHChnLzfm','Dw5PBNn0ywW','zcbHBMqGBM8','w2nSyxDRzxq','DhjPBuvUza','BgWIig9Yici','y2XPzw50q28','DwvZDcbYzxm','y29UzMLNrM8','yxjnCvi','yxnL','CIbWyxnZD28','CMvZzxq','zxf1zxn0CW','zgLUzYbYzxe','y2XLyxi','CxvLC3rjzd0','BMvJDhm','Dg9tDhjPBMC','zsbWywLYAw4','C2nVCMu','CMf3','B21SEvi','phvUA25VD24','yw5Ktxm9','w3n0yxr1C10','yxr0zw1WDgu','BM90ihbHAxi','zgfYD2LU','pLbYB2DYyw0','y2XLyxjuAw0','zxDHEsa','ignVBMzPzYa','ugf0AdWVA2u','CMvQzwn0uge','zw5HyMXL','zgvUDgL0Esa','sw52ywXPzca','Bg9ZzujVDw4','cLr5Cgu9C2K','B3j0pL0GwY0','B2jZzxj2zum','svreEvm','vgLiwNy','C2v0vgLTzw8','iMnSyxDRzxq','ANnVBG','CNqGyxv0B20','jJe7ihrOzw4','lMXVzW','r0TmqKi','ruHPwhC','AKnnswm','AgvHCNrIzwe','CgvUzgLUz1a','Eu9Wzw4','zxDHEvf1zxu','zxqGyxbWoGO','ls1XCI1MAwW','C3rHCNrPBMC','r1DuCgS','zM91BMqGDw4','Aw5Jzq','q2nptfu','tvnstKW','C3rKzxjY','igrPCJOG','ywLYzwqUifi','DgLUzYbMB3i','DhvU','sxzODMK','zcWGyNv0ihm','Dw50','yxj0','zsbYDw50Aw0','CNvU','Bs9everZl1a','y291BNq','Bg9NCW','pLn0yw5Kyxi','yxK+cIaGpgS','q29UzMLNrgK','zw50','zsbdBgf3A2u','AxmGy3vZDg8','y2XPzw50rgu','odC4oq','ywiGzM9Y','uviGAw1Hz2u','AxnTyxrJAa','z2vZ','uvzZvxm','y2XPzw50tMe','ihrVA2vUig8','v2Xcu0y','q29UzMLNrM8','CMvJDxjZAxy','y2XVC2vKoIa','yNjPzgDLlwm','l3jVB3q','A2v0igfWCdO','tg9NihbHDgG','AdOG','zgzSyxjLigm','zcbHigXVy2e','B2jMs3u','yxv0AezPzwW','C2vUzeDHDgu','Bw9Kzq','zgfYEvbLBMq','sfrSDeS','lMfP','mta5nNbfzgTUEq','tunxwxC','C2HHA2vZ','CNn0lcbVCIa','CgfYyw1Z','ktOGq2XVDwq','C2vUDa','Bg9Nugf0Aa','DxjSidX3CZO','BgX3','u1zjAMG','v2TiCeO','B25mB2C','BM5Ly3rLzca','DxjSpL0GwY0','u2vYDMvYifu','uNvUigbJBge','B25tDgf0Dxm','yxj0ienSyxC','zw50CW','BM9KzvbHDgG','Aw5LigeGtee','wvv6tgi','m3WWFdr8mxW','ig5VBMnLuhi','z2f0zxDHEuK','zxnOignSAwu','Dgv3yxKGCxu','B25Uzwn0u3q','BgLUzxm','yNiT','AgfZ','Ahr0CdOVlW','CMvWBgfJzq','qKDhyu8','CLLtAvG','uujXwg4','Bgf1BMnOy3q','AwXHyMXLoIa','DgvK','D2LMAq','qxjNDw1LBNq','zg9JA2vY','sM1nB0y','rxveswq','svntrK4','zcWGC3rVCha','Aw5JBhvKzuu','rMLJCe0','wevAwvO','zMnoEhm','BM9Uy2vqCMu','BwuSigj1Dca','zvrhDvC','zxqGqNjPzgC','y29TBwfUzca','refOvgi','ihjLyxnVBJ0','Aw5N','A2v5CW','vujmsumGiI0','u3rVChbLzca','sKnOz1G','uMvTB3zLzca','Ehrzy3K','zevYCM9Yuge','DeLUDgvYDMe','ls1Zzxj2zxi','ihPLCM87igC','CMqGyMvMB3i','yxrLD2f5twu','CgfPCG','BgrZpq','idXWyxrOpL0','id4+ia','C2vUza','BMzPzYbWyxq','B3qGzM91BMq','C2fNzxmGyMu','AxbZzwm','CNvUiIbTyw4','tMLgEKC','B2rL','CNzPy2uGAw4','CMvJzw50','zgvYia','DgvKihbSyxq','ig1VCMuGzgu','l2fJy2vZCY0','ief1Dg9Tyxq','Bgf3A2v0iha','ze91Dhb1Dd0','EwvZ','C3rVCa','zgvJAxnPB24','zxzLBNq','yNjPzgDLlxm','s3nZr2m','C3rHBgXHDgK','zwjVB3qU','ywDLBNrZ','D0H2ugu','C2vYDMvYvxi','sLHXCxm','yxLnCW','B3zL','uMDbsKS','CNvLlZ4kica','Cw5iCgm','BhjLywr5iha','mc4WlJaUma','q29UBMvJDeG','CejYwLK','zwqGy29Kzt0','zguGCNvUDgK','s3H2u0e','CMvSyxLbDhq','ihPLCM87igm','D2HLCMu','igjPBMfYEt0','rxjYB3iGtg8','C3rYAw5NAwy','BwfYA1bHAxi','zxrOB2q','DxrVBwf0Awm','vuHqAKe','vwXACee','zgv2AwnLrMe','y29Uy2f0','C3rKAw8','Dd5DifSTlxe','C3rVChbLza','rMfPBgvKihq','lZeYnY4WlJa','ig1HBMfNzxi','CIb1C2uGygm','C2v0','ndeXnti3y1vhCK9A','BwfYA0rLDMK','r3voq00','zgv0ywLSCW','CYbHBhjLywq','zwm9mGPxB3i','CM9U','mtGXnZu2oxHvBuDwqW','rgzjt0y','EsbYDw5UAw4','C3rHCNrizwe','uMvSyxKGvvi','uMjNwvO','tNHky3C','vLrbsLa','Dg9mB3DLCKm','jYiNiIC','yw1L','AxngAw5PDgu','swq9','Dg90ywW','seTdvvXtB2y','sciGCNvUic0','CMvSyxLdB24','Et5mywjLBdW','Aw5Nienmssa','zhLuyKO','ihnLCNzPy2u','BwfUzfn0yxi','B25Uzwn0sge','Cgf0AdOG','yxKGCxvLDwu','CNvVtw8','lwPZB25D','C3vJy2vLzgu','C3rPBgWGCgu','C3rVCciGzMK','y29Kzq','DgvKqxrnCW','CgfZC3DVCMq','ywiGzMfSBgi','t0nwsuO','v0Tstue','y29UBMvJDfi','ifSTlwPZB24','cLn0yw5Kyxi','CxvLC3rDihi','igr1CgXPy2e','zuPuuNe','zffiseW','Axn0zxi','y29UzMLNuge','C2vYDMLJzq','zgf0yq','zw1HBMq','zg9JDg9Y','C3bVBNnLigi','Dw50Aw1LigK','r3LNCvy','ugfPCMLUzYa','AwDUB3jL','AxnWBgf5tMe','CgvUzgLUzW','wgDgEwK','Awz5igeGy3u','lIbsDw4GCge','AxmTywn0Axy','C3rHBguGAwq','rfLnsg0','DaPxyw50CZ0','y2HJs00','C29Tzq','BYbYzxnVBhy','DMLJzsbPBNm','yvDrrKG','rI04iJ8+cJW','shLcA1m','igDHDgv3yxK','CNDut0y','B3vUzcbMB3i','ls11C2vY','Ew5rCLe','CMPKq2e','zsbdteKkqwy','Cg9YDa','t3bLBKnSyxC','y29UDhjVBf8','wg5Urhy','DgfPBhnJywW','y2LbtfO','kcGOlISPkYK','B2jZzxj2zuC','zsbIywnRz3i','DMjVEa','BgLZDa','AwrL','zxj2AwnLlwW','C2LVBJ0Ims4','tIbjucbHzgq','CMvSyxKGCMu','igvYCM9Ypq','CM9JzxnZzxm','ww91ignHBIa','ls1Uyw1L','CMvN','CMvQzwn0zwq','vg5NEMO','ufH4wLq','wwTXqMK','zM9YD2fYzgu','igj1DcbNyxq','C2XVD1DHCM4','z2f0zxDHEq','rhHSvw4','Cg9UzW','CuDmrhK','CNr1CcbYzwC','BMv0D29YAYa','B2TLC0i','x1bbu1nxt1i','zxjYB3jdB3i','x1rps0vo','BMvJDgLUzW','Axjszxf1zxm','DvrfBxq','ywXSzw5Nzsa','Aw5gBgLNAhq','v2Hnq0e','igXV','DgvKoYbNyxq','ywnRihrVia','Aw1Hz2uVCg4','sd0I','ihrYyw5ZAwu','lI4VCgfJA2e','zMLNDxjLzcW','C3rYEq','qNjPzgDL','y3jVBNrHyG','rxjYB3iGBg8','BNn0ywXSzwq','B25Uzwn0Aw4','ywnOywjSzsa','D2TLDcbKB2m','B3bLBG','BMv0D29YAY0','CgzAqxm','uKW6ia','B2S9zMfSC2u','ihn0B3aU','yxrLD2f5igK','qhjLyM9VDca','ywXSzwq','verUDuS','zg9JDg9YifS','CgLK','zYbruI4','ugfPCMvKoIa','z2f0zxDHEuG','otLLEKzHrhm','Et4kica8Dhi','BgLZDcb2zxi','CNvUDgLTzs4','B3qGC3vWCg8','Aw5ZDgfSBgu','ihvYBd0','zxrYEvrPBwu','vMzkBgC','tg9HzdWVA2u','igfSC28GAgK','ELngvwS','qMPIr3u','CMuGCMvJEwm','DhLZEKK','B3b0Aw9UCW','BIbMywLSzwq','tK9ux1bbsvi','lMnSyxDRzxq','y2f0y2G','ls1SAw5LCW','AwrLBNrPDhK','y3jLyxrLzee','lwnSAq','DNnfyKC','AK5uCfe','BMrZAgfRzxm','D2LYzwD1yxi','Eu1Z','z0fvC3m','y3rLzcbJB2q','Dg1oqum','ignVBM5Ly3q','ls1Syxn0ihy','ru4IicjODhq','igf2ywLSywi','DLPrq0q','CI1MAwXLidW','zYbWyxrOoIa','B2jQzwn0','BsbNyxrLD2e','zxnLDciGyMu','y2nVzfy','B25Uzwn0zwq'];_0x2fe6=function(){return _0x5af165;};return _0x2fe6();}function buildMacosPlist(_0x55f890,_0x13956e,_0x8ce87e){const _0x23484e={_0x2ea2a8:0x109,_0x5e69cb:0x334,_0x23be6d:0x32b,_0x387fbd:0x85f,_0xa83760:0x42a,_0x7af8e4:0x15c,_0x2874ca:0x4a9,_0x5bf117:0x421,_0x38a0c1:0x52c,_0x4cb2ca:0x654,_0x339102:0x303,_0x1a9df2:0x4f1,_0x303902:0x483,_0x2dd68f:0x435,_0x5d9775:0x5b0,_0x5a56fe:0x54d,_0x2449cd:0x2dd,_0x1683d9:0x1e5,_0x4be4f3:0x6b7,_0x2afb1b:0x3cc,_0x4de581:0x513,_0x25d3d1:0x380,_0x2f625c:0x48f,_0x331457:0x6f3,_0x1912ed:0x27,_0x5b1a5d:0x8c,_0x224d62:0x152,_0x2d2ef4:0x264,_0x3a1c1a:0x236,_0x4d72ab:0x96,_0x3d8107:0x33d,_0x6f2e2a:0x3d0},_0x11a061={_0x37e854:0x1bf},_0xa89909={_0x160dfd:0x34a};function _0x33cefe(_0x428368,_0x11e84f){return _0x410a57(_0x428368,_0x11e84f-_0xa89909._0x160dfd);}const _0x127dff=_0x55f890[_0x29a915(_0x23484e._0x2ea2a8,0x35c)](_0x450791=>_0x29a915(-0xf,-0x1ad)+_0x33cefe(0x407,0x350)+escapeXml(_0x450791)+(_0x29a915(0x3c2,0x25c)+'>'))[_0x33cefe(0x273,_0x23484e._0x5e69cb)]('\x0a');function _0x29a915(_0x29ac67,_0x4a25e0){return _0x410a57(_0x4a25e0,_0x29ac67-_0x11a061._0x37e854);}return _0x33cefe(0x392,0x277)+_0x33cefe(0x650,0x663)+_0x33cefe(0x789,0x53a)+'ding=\x22UT'+_0x29a915(_0x23484e._0x23be6d,0x11a)+_0x33cefe(_0x23484e._0x387fbd,0x639)+'\x20plist\x20P'+_0x29a915(0x293,_0x23484e._0xa83760)+_0x29a915(0x157,_0x23484e._0x7af8e4)+_0x29a915(_0x23484e._0x2874ca,0x675)+'ST\x201.0//'+_0x33cefe(_0x23484e._0x5bf117,_0x23484e._0x38a0c1)+_0x33cefe(0x163,0x19a)+'apple.co'+_0x29a915(0x233,0x44b)+_0x33cefe(0x356,0x192)+'ist-1.0.'+'dtd\x22>\x0a<p'+_0x33cefe(_0x23484e._0x4cb2ca,0x50c)+_0x29a915(0x341,_0x23484e._0x339102)+_0x29a915(0x3da,_0x23484e._0x1a9df2)+'t>\x0a\x20\x20<ke'+_0x33cefe(0x2c6,_0x23484e._0x303902)+'/key>\x0a\x20\x20'+_0x29a915(_0x23484e._0x2dd68f,0x565)+SERVICE_LABEL+(_0x33cefe(_0x23484e._0x5d9775,_0x23484e._0x5a56fe)+_0x33cefe(0x3c2,_0x23484e._0x2449cd)+_0x33cefe(0x4e5,0x38f)+_0x29a915(0x280,0x443)+_0x29a915(0x60,_0x23484e._0x1683d9)+_0x29a915(0x450,_0x23484e._0x4be4f3)+'>\x0a')+_0x127dff+(_0x29a915(_0x23484e._0x2afb1b,0x3ee)+_0x29a915(0x237,0x6f)+'ey>RunAt'+_0x33cefe(0x527,_0x23484e._0x4de581)+_0x29a915(_0x23484e._0x25d3d1,0x58c)+'ue/>\x0a\x20\x20<'+_0x29a915(_0x23484e._0x2f625c,_0x23484e._0x331457)+_0x29a915(_0x23484e._0x1912ed,-0x54)+_0x29a915(0x1c3,-_0x23484e._0x5b1a5d)+_0x29a915(0x2c2,0x152)+'<key>Sta'+'ndardOut'+_0x29a915(0x208,0x4e)+_0x33cefe(0x482,0x25d)+'ring>')+escapeXml(_0x13956e)+(_0x29a915(0x3c2,0x2d3)+_0x29a915(_0x23484e._0x224d62,_0x23484e._0x2d2ef4)+_0x29a915(_0x23484e._0x3a1c1a,0x3bb)+_0x33cefe(0x68f,0x423)+_0x29a915(0x4d,_0x23484e._0x4d72ab)+_0x29a915(0xe7,_0x23484e._0x3d8107)+'ng>')+escapeXml(_0x8ce87e)+('</string'+'>\x0a</dict'+'>\x0a</plis'+_0x29a915(0x1cb,_0x23484e._0x6f2e2a));}function buildLinuxSystemdUnit(_0x5bb238,_0x2ed40b,_0x20275c){const _0x17a7a5={_0x13229e:0x6d8,_0x5a6480:0x4e3,_0x56554a:0x9d6,_0x45b0e9:0xabb,_0x4b7f2f:0x4e2,_0x36cf30:0x96e,_0x44f781:0x610,_0xd9d92d:0x6fa,_0x25c224:0x3f6,_0x13694f:0x500,_0x4642a4:0x775,_0x20e716:0x5c6,_0x3fae48:0x3e8,_0x14235c:0x4f7,_0xc54a01:0x3f2,_0x5bd949:0x7a0,_0x2e70f3:0x3b6,_0x35348c:0x9d0,_0xba7a5e:0x582,_0x1b98c1:0x675,_0x468944:0x687,_0x428135:0x9a6,_0x4391b9:0x8dc,_0x165140:0x96a,_0x5c7787:0x881,_0x225129:0x782,_0x194733:0x682,_0x2426d4:0x621,_0x138dfc:0x250,_0x4cade6:0x262,_0x36e50c:0x2a9,_0x587c9e:0x8a,_0x58c1dd:0x89c},_0x3be6b0={_0x54c753:0x414};function _0x547d76(_0x4b4ee9,_0x309721){return _0x410a57(_0x309721,_0x4b4ee9-_0x3be6b0._0x54c753);}function _0x40c12b(_0x295b15,_0x432021){return _0x410a57(_0x295b15,_0x432021-0x78e);}const _0x50000a=_0x5bb238[_0x40c12b(0x4e3,_0x17a7a5._0x13229e)](escapeSystemdArg)['join']('\x20');return _0x547d76(0x6e5,_0x17a7a5._0x5a6480)+_0x40c12b(_0x17a7a5._0x56554a,_0x17a7a5._0x45b0e9)+_0x547d76(0x6d1,0x941)+_0x547d76(_0x17a7a5._0x4b7f2f,0x5c3)+_0x40c12b(_0x17a7a5._0x36cf30,0x902)+_0x547d76(0x681,0x823)+_0x40c12b(_0x17a7a5._0x44f781,_0x17a7a5._0xd9d92d)+_0x547d76(_0x17a7a5._0x25c224,_0x17a7a5._0x13694f)+_0x547d76(0x57a,_0x17a7a5._0x4642a4)+_0x547d76(_0x17a7a5._0x20e716,0x6b1)+_0x547d76(_0x17a7a5._0x3fae48,_0x17a7a5._0x14235c)+_0x547d76(0x654,0x4c9)+_0x547d76(0x42b,_0x17a7a5._0xc54a01)+_0x40c12b(_0x17a7a5._0x5bd949,0x7dd)+_0x547d76(_0x17a7a5._0x2e70f3,0x48d)+_0x40c12b(0xb2f,_0x17a7a5._0x35348c)+_0x50000a+('\x0aRestart'+_0x40c12b(_0x17a7a5._0xba7a5e,_0x17a7a5._0x1b98c1)+_0x40c12b(0x5b3,_0x17a7a5._0x468944)+_0x40c12b(0x62e,0x8b4)+_0x40c12b(0x395,0x5ba)+_0x40c12b(0x61c,0x635))+escapeSystemdArg(SERVICE_DIR)+(_0x40c12b(_0x17a7a5._0x428135,_0x17a7a5._0x4391b9)+_0x40c12b(_0x17a7a5._0x165140,_0x17a7a5._0x5c7787)+_0x40c12b(0x89a,_0x17a7a5._0x225129))+_0x2ed40b+(_0x40c12b(0x9e8,_0x17a7a5._0x4391b9)+_0x40c12b(0x7b4,0x6d6)+_0x547d76(_0x17a7a5._0x194733,_0x17a7a5._0x2426d4))+_0x20275c+(_0x547d76(0x3df,0x54b)+_0x547d76(_0x17a7a5._0x138dfc,_0x17a7a5._0x4cade6)+_0x547d76(_0x17a7a5._0x36e50c,_0x17a7a5._0x587c9e)+'ault.tar'+_0x547d76(0x6a8,_0x17a7a5._0x58c1dd));}function buildLinuxCronEntry(_0x38210f,_0x56841e,_0xa7753b){const _0xff0522={_0x57dc60:0x15c,_0x6312c6:0x471,_0x2d644d:0x454},_0x1b6d18={_0x277842:0x497},_0x1c19f3={'VfJlg':function(_0x20a896,_0x4c9fc0){return _0x20a896(_0x4c9fc0);}};function _0x38ecf3(_0x4eb206,_0x109ab7){return _0x2420cb(_0x109ab7- -_0x1b6d18._0x277842,_0x4eb206);}function _0x2a49ed(_0x1022b0,_0x33600a){return _0x2420cb(_0x33600a- -0x341,_0x1022b0);}const _0x4ec1f9=_0x38210f[_0x2a49ed(_0xff0522._0x57dc60,0x2d9)](escapeShellWord)[_0x2a49ed(0x576,0x379)]('\x20');return _0x2a49ed(0x758,0x547)+_0x4ec1f9+_0x2a49ed(0x4cb,_0xff0522._0x6312c6)+escapeShellWord(_0x56841e)+'\x202>>\x20'+_0x1c19f3[_0x38ecf3(_0xff0522._0x2d644d,0x401)](escapeShellWord,_0xa7753b)+'\x20'+LINUX_CRON_MARKER;}function getServicePath(_0x3714ab){const _0x4ec91c={_0x59ceef:0x42c,_0x1c9b28:0x12c,_0x2b7a63:0x42e,_0x26dffc:0x497,_0x135e13:0x66c,_0x1a8c59:0x137,_0x5217bd:0x148,_0x47e2c4:0x65,_0x5bc859:0x104,_0x236027:0x654,_0x31d9c4:0x52c,_0x5ba24e:0x70b,_0x522099:0x525,_0x4df64d:0x374,_0x3e84bd:0x4e2},_0x46d839={};_0x46d839[_0x2e0134(0x35d,0x41f)]=_0x2e0134(0x466,_0x4ec91c._0x59ceef);function _0x557f56(_0x250650,_0x103488){return _0x2420cb(_0x103488- -0x4cd,_0x250650);}const _0x2ec0e8=_0x46d839;function _0x2e0134(_0x59dacd,_0x21f0d4){return _0x2420cb(_0x59dacd- -0x1d5,_0x21f0d4);}switch(process[_0x557f56(0x160,_0x4ec91c._0x1c9b28)]){case'darwin':return MACOS_PLIST_PATH;case _0x2e0134(_0x4ec91c._0x2b7a63,_0x4ec91c._0x26dffc):return _0x3714ab===_0x557f56(_0x4ec91c._0x135e13,0x461)+_0x557f56(_0x4ec91c._0x1a8c59,_0x4ec91c._0x5217bd)?LINUX_CRON_RECORD_PATH:LINUX_SERVICE_PATH;case _0x2ec0e8[_0x557f56(0x180,_0x4ec91c._0x47e2c4)]:return _0x2e0134(0x631,0x661)+_0x557f56(-_0x4ec91c._0x5bc859,0x10e)+'crosoft\x5c'+_0x2e0134(0x364,0x28a)+_0x557f56(_0x4ec91c._0x236027,_0x4ec91c._0x31d9c4)+_0x557f56(0x49,0x1ab)+_0x2e0134(_0x4ec91c._0x5ba24e,_0x4ec91c._0x522099)+'etBridge'+_0x2e0134(_0x4ec91c._0x4df64d,_0x4ec91c._0x3e84bd);default:return'';}}function detectServiceMethod(){const _0x14f27d={_0x5c2bf9:0x649,_0x1126b4:0x565,_0x520723:0x3f4,_0x5b57a4:0x4f5,_0x26840f:0x3d4,_0x55ec3c:0x944,_0x25968e:0x3d9,_0x481588:0x5ad,_0x13bc11:0x41f,_0x56f5c8:0x6eb,_0x56d8fd:0x26c,_0x3ba956:0x617,_0x39b354:0x6ce,_0x2cd8ce:0x519,_0x5cdb8e:0x619,_0x287c05:0x662,_0x468e8e:0x53a,_0x2500b2:0x6cc,_0x29dc3c:0x46c},_0x4acd94={_0x2ce28c:0x2cc},_0x159bb4={'ILoBy':_0x26a07b(_0x14f27d._0x5c2bf9,0x448),'jFsHo':'systemd-'+_0x26a07b(_0x14f27d._0x1126b4,_0x14f27d._0x520723),'MIihm':function(_0x596ec0,_0x3a1d66){return _0x596ec0(_0x3a1d66);},'VUsux':_0x26a07b(_0x14f27d._0x5b57a4,0x62e)+'l','gnGTN':_0x1677cb(0x81c,0x838),'FbIsL':_0x26a07b(0x4eb,0x36f),'MSRNL':_0x26a07b(_0x14f27d._0x26840f,0x214)+_0x1677cb(_0x14f27d._0x55ec3c,0x90a)+_0x26a07b(_0x14f27d._0x25968e,_0x14f27d._0x481588)};function _0x1677cb(_0x40a6c6,_0xe0d54){return _0x2420cb(_0x40a6c6- -0x5f,_0xe0d54);}function _0x26a07b(_0x208a67,_0xe8a2e9){return _0x2420cb(_0xe8a2e9- -_0x4acd94._0x2ce28c,_0x208a67);}switch(process[_0x1677cb(0x59a,0x3c0)]){case _0x159bb4[_0x26a07b(_0x14f27d._0x13bc11,0x2a4)]:return'launchag'+_0x1677cb(_0x14f27d._0x56f5c8,0x526);case'linux':if(_0x94be63(LINUX_SERVICE_PATH))return _0x159bb4['jFsHo'];if(hasLinuxCronRegistration())return'linux-cr'+_0x26a07b(_0x14f27d._0x56d8fd,0x349);if(_0x159bb4['MIihm'](commandExists,_0x159bb4[_0x26a07b(0x197,0x418)]))return _0x159bb4[_0x1677cb(_0x14f27d._0x3ba956,_0x14f27d._0x39b354)];if(commandExists(_0x159bb4[_0x26a07b(_0x14f27d._0x2cd8ce,0x618)]))return _0x26a07b(_0x14f27d._0x5cdb8e,_0x14f27d._0x287c05)+'ontab';return _0x1677cb(_0x14f27d._0x468e8e,0x5f9)+_0x1677cb(0x730,0x6d7);case _0x159bb4['FbIsL']:return _0x159bb4[_0x26a07b(_0x14f27d._0x2500b2,_0x14f27d._0x29dc3c)];default:return'unsuppor'+_0x26a07b(0x445,0x4c3);}}function readServiceState(){const _0x111f81={_0x211a84:0x731,_0x587418:0x713,_0x1ef962:0x32f,_0x39a3b1:0x670,_0xb5b0fc:0x51a,_0x41cef6:0x1c6,_0x4cc04c:0x462,_0x3efdc1:0x4cc,_0x21c7d4:0x586,_0x317524:0x464},_0x4eaa68={_0x12eea2:0x49e},_0x30a1f3={_0x2c76a5:0x4b4};function _0x1a37a8(_0x5c5b11,_0x3afcab){return _0x410a57(_0x3afcab,_0x5c5b11-_0x30a1f3._0x2c76a5);}if(!_0x94be63(SERVICE_STATE_PATH))return null;function _0x252832(_0x1bb27f,_0x4fe032){return _0x410a57(_0x4fe032,_0x1bb27f-_0x4eaa68._0x12eea2);}try{const _0x29183a=JSON[_0x252832(_0x111f81._0x211a84,_0x111f81._0x587418)](_0x3296c9(SERVICE_STATE_PATH,_0x1a37a8(_0x111f81._0x1ef962,0x26a)));if(!_0x29183a[_0x1a37a8(_0x111f81._0x39a3b1,_0x111f81._0xb5b0fc)]||typeof _0x29183a[_0x1a37a8(0x670,0x72a)]!==_0x1a37a8(0x486,0x563))return null;return{'pid':_0x29183a['pid'],'startedAt':_0x29183a[_0x252832(0x36f,_0x111f81._0x41cef6)+'t']??new Date(0x0)[_0x252832(_0x111f81._0x4cc04c,_0x111f81._0x3efdc1)+_0x1a37a8(_0x111f81._0x21c7d4,_0x111f81._0x317524)]()};}catch{return null;}}function readRuntimeRegistry(){const _0x1d1cf4={_0x33fcbc:0xc5,_0xf8b6f2:0x54b,_0x5591c0:0x3d4,_0x338d11:0x488},_0x4db313={_0x5c9464:0x4c8},_0x3034e7={'eTGuW':function(_0x358d9d,_0x5cadee){return _0x358d9d(_0x5cadee);},'jXcjS':_0x311504(0x83,-_0x1d1cf4._0x33fcbc)};function _0x43c8f5(_0x7df1de,_0x20e68f){return _0x2420cb(_0x20e68f- -0x252,_0x7df1de);}if(!_0x3034e7[_0x43c8f5(0x2f5,_0x1d1cf4._0xf8b6f2)](_0x94be63,RUNTIME_REGISTRY_PATH))return[];function _0x311504(_0x5a00e0,_0x34b562){return _0x2420cb(_0x5a00e0- -_0x4db313._0x5c9464,_0x34b562);}try{const _0x22413b=JSON['parse'](_0x3296c9(RUNTIME_REGISTRY_PATH,_0x3034e7['jXcjS']));if(!Array[_0x311504(0x51,-0x98)](_0x22413b))return[];const _0x53ed48=_0x22413b[_0x311504(0x152,0x15)](_0x385eee=>normalizeRuntimeProcessRecord(_0x385eee))[_0x43c8f5(_0x1d1cf4._0x5591c0,_0x1d1cf4._0x338d11)](_0x57e3b7=>_0x57e3b7!=null&&isPidRunning(_0x57e3b7[_0x311504(0x3c4,0x485)]));return writeRuntimeRegistry(_0x53ed48),_0x53ed48;}catch{return[];}}function writeRuntimeRegistry(_0x295cea){const _0x2bea81={_0x424a40:0x5e8,_0x214d63:0x525,_0x4e0e24:0x36d,_0x3c84ec:0x39b},_0x2e1379={_0xe5c966:0x6b},_0x2a5413={_0x2cdbad:0x2bc},_0xafe624={};_0xafe624[_0x93fa9f(0x6da,0x4e1)]=function(_0x356d1f,_0x306a64){return _0x356d1f===_0x306a64;};function _0x93fa9f(_0x5e7af1,_0x15848f){return _0x2420cb(_0x5e7af1- -_0x2a5413._0x2cdbad,_0x15848f);}const _0x438a42=_0xafe624;if(_0x438a42[_0x93fa9f(0x6da,_0x2bea81._0x424a40)](_0x295cea[_0x93fa9f(0x339,0x2ad)],0x0)){rmIfExists(RUNTIME_REGISTRY_PATH);return;}function _0x1d9813(_0x3c734d,_0xca19b6){return _0x2420cb(_0x3c734d- -_0x2e1379._0xe5c966,_0xca19b6);}ensureServiceDirs(),_0x4dedea(RUNTIME_REGISTRY_PATH,JSON[_0x93fa9f(_0x2bea81._0x214d63,_0x2bea81._0x4e0e24)+'y'](_0x295cea,null,0x2)+'\x0a',_0x1d9813(0x4e0,_0x2bea81._0x3c84ec));}function normalizeRuntimeProcessRecord(_0x5d4dab){const _0x53e6d2={_0x3e80bf:0x47e,_0x2a2c3c:0x6d8,_0xbb8361:0x905,_0x1d2cde:0x562,_0x43bdef:0x633,_0x7d39f:0x47e,_0x4f79c9:0x30c,_0x2d7b57:0x92e,_0x36ac64:0x6d8,_0x2d4bb8:0x36a,_0x18a519:0x3d1,_0x34bd1e:0x73c,_0x33ab5b:0x823,_0x526581:0x4be,_0xe03c4c:0x1e9,_0x51b345:0x7ec,_0x4e5f75:0x6a8,_0x16e72d:0x302,_0x28a79b:0x85c},_0x3bf6c7={_0x362b26:0x3a6},_0xf14e72={_0xda5045:0x772},_0x44906a={};_0x44906a[_0x4ce723(_0x53e6d2._0x3e80bf,0x533)]=_0x4ce723(0x378,0x464);function _0x439e30(_0xf59abb,_0x1fc852){return _0x410a57(_0xf59abb,_0x1fc852-_0xf14e72._0xda5045);}_0x44906a[_0x439e30(0x7fa,0xa0e)]=_0x4ce723(_0x53e6d2._0x2a2c3c,0x5d1),_0x44906a[_0x439e30(0xab6,0x89f)]=function(_0x34d29b,_0x4de4fa){return _0x34d29b===_0x4de4fa;};const _0x3e72ee=_0x44906a;if(!_0x5d4dab||typeof _0x5d4dab!==_0x439e30(_0x53e6d2._0xbb8361,0x959))return null;const _0x5a4231=_0x5d4dab;if(!_0x5a4231[_0x4ce723(_0x53e6d2._0x1d2cde,0x307)]||typeof _0x5a4231[_0x4ce723(0x562,_0x53e6d2._0x43bdef)]!==_0x3e72ee[_0x4ce723(_0x53e6d2._0x7d39f,0x6b4)])return null;const _0x1b1eb4=typeof _0x5a4231['scriptPa'+'th']===_0x3e72ee['AGytv']?resolveScriptPath(_0x5a4231[_0x439e30(_0x53e6d2._0x4f79c9,0x5a1)+'th']):'';if(!_0x1b1eb4)return null;function _0x4ce723(_0x533048,_0x3db511){return _0x410a57(_0x3db511,_0x533048-_0x3bf6c7._0x362b26);}return{'pid':_0x5a4231[_0x439e30(0x8b4,_0x53e6d2._0x2d7b57)],'startedAt':_0x3e72ee['RbgYZ'](typeof _0x5a4231['startedA'+'t'],_0x4ce723(_0x53e6d2._0x36ac64,0x5a6))?_0x5a4231[_0x4ce723(0x277,0x215)+'t']:new Date(0x0)[_0x4ce723(_0x53e6d2._0x2d4bb8,_0x53e6d2._0x18a519)+_0x439e30(_0x53e6d2._0x34bd1e,0x844)](),'gatewayId':typeof _0x5a4231[_0x439e30(0x86f,_0x53e6d2._0x33ab5b)+'d']===_0x4ce723(0x6d8,_0x53e6d2._0x526581)?_0x5a4231[_0x4ce723(0x457,0x67d)+'d']:'','instanceId':typeof _0x5a4231[_0x4ce723(0x2dc,_0x53e6d2._0xe03c4c)+'Id']===_0x439e30(0xc84,0xaa4)?_0x5a4231[_0x439e30(_0x53e6d2._0x51b345,_0x53e6d2._0x4e5f75)+'Id']:'','serviceMode':_0x5a4231[_0x4ce723(0x2d8,_0x53e6d2._0x16e72d)+_0x439e30(0x6b6,_0x53e6d2._0x28a79b)]===!![],'scriptPath':_0x1b1eb4};}function stopRunningProcess(){const _0x3f14e0={_0x28609f:0x227,_0x40ed1e:0x6a6,_0x40e570:0x587,_0x12f61b:0x3f8,_0x547a0e:0x509,_0x109269:0x74a,_0x33bf5b:0x1a4,_0x57185f:0x129,_0x50db1e:0x1e4,_0x37f128:0x75a,_0x2f5f5d:0x52f,_0x533526:0xb0},_0x2e5048={'pBrZY':function(_0xa6e5d9){return _0xa6e5d9();},'KBkGT':function(_0x26ac30,_0x24994a){return _0x26ac30===_0x24994a;},'ruoMo':_0x43915a(_0x3f14e0._0x28609f,0x105)},_0x3f400b=_0x2e5048[_0x31cc85(_0x3f14e0._0x40ed1e,_0x3f14e0._0x40e570)](readServiceState);if(!_0x3f400b)return;function _0x31cc85(_0x5a367b,_0x1e2b2d){return _0x2420cb(_0x5a367b- -0x132,_0x1e2b2d);}function _0x43915a(_0x3288b5,_0x544d92){return _0x2420cb(_0x3288b5- -0x6e8,_0x544d92);}execIgnoreFailure(process['platform']===_0x31cc85(0x509,0x2ca)?_0x31cc85(0x7ff,0x68d):_0x31cc85(_0x3f14e0._0x12f61b,0x2bc),_0x2e5048['KBkGT'](process[_0x43915a(-0xef,0x93)],_0x31cc85(_0x3f14e0._0x547a0e,_0x3f14e0._0x109269))?[_0x31cc85(0x56e,0x625),String(_0x3f400b[_0x43915a(_0x3f14e0._0x33bf5b,-0xf2)]),'/T','/F']:[_0x2e5048[_0x43915a(_0x3f14e0._0x57185f,_0x3f14e0._0x50db1e)],String(_0x3f400b[_0x31cc85(_0x3f14e0._0x37f128,_0x3f14e0._0x2f5f5d)])]),clearServiceState(_0x3f400b[_0x43915a(_0x3f14e0._0x33bf5b,_0x3f14e0._0x533526)]);}function listPosixRuntimePids(_0x45bf88){const _0x5f55c6={_0xe2f5d1:0x5e3,_0x4e24c8:0x42d,_0xfbc3af:0x4fd,_0x1d7a35:0x3fb,_0x2707e2:0x5ff,_0x323a56:0x97e,_0x3482bb:0x700,_0x3bfcf1:0x36a,_0x51764b:0x650,_0x166a4c:0xfa,_0x5614a1:0x2bc,_0x2d4a84:0x7aa,_0x2c130c:0x6ef,_0x2575af:0x7ca},_0x224cdb={_0x422a9b:0x122,_0x1e8e92:0x171,_0x116dcd:0x369,_0x343c17:0x5f7,_0x5defd3:0x381},_0x2f100d={_0xd21aad:0x28f},_0x492c2d={};function _0x2fe33e(_0x4a94d4,_0x5915b3){return _0x2420cb(_0x4a94d4-0x15,_0x5915b3);}_0x492c2d[_0x2fe33e(_0x5f55c6._0xe2f5d1,0x70f)]=function(_0x1b7a17,_0x34419f){return _0x1b7a17===_0x34419f;},_0x492c2d[_0xbb6999(_0x5f55c6._0x4e24c8,_0x5f55c6._0xfbc3af)]=_0xbb6999(0x3e3,_0x5f55c6._0x1d7a35),_0x492c2d[_0xbb6999(_0x5f55c6._0x2707e2,0x506)]=_0x2fe33e(_0x5f55c6._0x323a56,_0x5f55c6._0x3482bb)+'s=';const _0x39e24f=_0x492c2d;function _0xbb6999(_0x18cd41,_0x59a7b0){return _0x2420cb(_0x59a7b0- -_0x2f100d._0xd21aad,_0x18cd41);}if(!_0x45bf88||process[_0xbb6999(0xeb,_0x5f55c6._0x3bfcf1)]===_0x2fe33e(_0x5f55c6._0x51764b,0x5d5))return[];try{const _0x4a6399={};_0x4a6399[_0xbb6999(0x111,0x37e)]=_0xbb6999(_0x5f55c6._0x166a4c,_0x5f55c6._0x5614a1);const _0x5e5013=execFileSync('ps',[_0x39e24f[_0xbb6999(0x277,0x4fd)],'-o',_0x39e24f[_0x2fe33e(_0x5f55c6._0x2d4a84,0x9f2)]],_0x4a6399);return _0x5e5013['split']('\x0a')['map'](_0x44df6d=>_0x44df6d[_0xbb6999(0x10b,0x31a)]())[_0x2fe33e(_0x5f55c6._0x2c130c,_0x5f55c6._0x2575af)](Boolean)['flatMap'](_0x5e830b=>{const _0xe229d6=_0x5e830b[_0xa94e20(_0x224cdb._0x422a9b,0x68)](/^(\d+)\s+(.*)$/);function _0xa94e20(_0x24411c,_0x598415){return _0x2fe33e(_0x24411c- -0x5e0,_0x598415);}if(!_0xe229d6)return[];const _0x32457d=Number(_0xe229d6[0x1]),_0xb3ad58=_0xe229d6[0x2];function _0x31a6a3(_0x5484e7,_0x5c6c96){return _0x2fe33e(_0x5c6c96- -0x2fd,_0x5484e7);}if(!Number[_0x31a6a3(0x5f5,0x404)+'r'](_0x32457d)||_0x32457d<=0x0||_0x39e24f[_0xa94e20(0x3,-0xc3)](_0x32457d,process[_0xa94e20(0x2c1,_0x224cdb._0x1e8e92)]))return[];if(!_0xb3ad58[_0x31a6a3(_0x224cdb._0x116dcd,_0x224cdb._0x343c17)](_0x45bf88))return[];if(!/\brun\b/[_0xa94e20(_0x224cdb._0x5defd3,0x171)](_0xb3ad58))return[];return[_0x32457d];});}catch{return[];}}function isPidRunning(_0x122f22){try{return process['kill'](_0x122f22,0x0),!![];}catch{return![];}}function waitForPidExit(_0x593a44,_0x3613ed){const _0x326f98={_0x13dbdf:0x2eb,_0x113ed3:0x1c5},_0x4c4084={_0x1ce67b:0x316},_0xfd2a32={};_0xfd2a32['RjBen']=function(_0xaaf0b5,_0x2f5b6d){return _0xaaf0b5+_0x2f5b6d;};const _0x3fdb12=_0xfd2a32;function _0xdf91d8(_0x5c7ef2,_0x4b55ef){return _0x410a57(_0x4b55ef,_0x5c7ef2-_0x4c4084._0x1ce67b);}const _0x5d0d94=_0x3fdb12[_0xdf91d8(0x5e1,0x3e2)](Date[_0xdf91d8(0x2aa,0x4dc)](),_0x3613ed),_0x35f3bd=new Int32Array(new SharedArrayBuffer(0x4));function _0x3762ce(_0x114090,_0x208692){return _0x410a57(_0x114090,_0x208692-0x286);}while(isPidRunning(_0x593a44)){if(Date['now']()>=_0x5d0d94)return![];Atomics[_0x3762ce(_0x326f98._0x13dbdf,_0x326f98._0x113ed3)](_0x35f3bd,0x0,0x0,0x32);}return!![];}function startDetachedWindowsService(_0x508964){const _0x1329db={_0x1ba380:0x827,_0x4d49cb:0x6bd,_0x41d52a:0x5},_0x56c3f1={_0xf23c02:0x66a};function _0x4d87e7(_0x30e1cb,_0x36da1b){return _0x410a57(_0x30e1cb,_0x36da1b-_0x56c3f1._0xf23c02);}function _0x3d0202(_0x48f417,_0x3de0c1){return _0x410a57(_0x48f417,_0x3de0c1-0x3a6);}const _0xaac93c={'hnZID':function(_0x38c847,_0x537281,_0x43457b){return _0x38c847(_0x537281,_0x43457b);},'GfVMi':function(_0x10a3f2,_0x43972d){return _0x10a3f2(_0x43972d);}},_0x3ec979=_0xaac93c['hnZID'](openSync,SERVICE_LOG_PATH,'a'),_0x5a889f=openSync(SERVICE_ERROR_LOG_PATH,'a');try{const [_0x2c3f44,..._0x5ea2e9]=_0x508964,_0x304a65={};_0x304a65['detached']=!![],_0x304a65[_0x4d87e7(_0x1329db._0x1ba380,0x783)]=['ignore',_0x3ec979,_0x5a889f],_0x304a65[_0x3d0202(0x7ed,_0x1329db._0x4d49cb)+_0x4d87e7(0x735,0x7ea)]=!![];const _0x46a921=spawn(_0x2c3f44,_0x5ea2e9,_0x304a65);_0x46a921[_0x3d0202(-_0x1329db._0x41d52a,0x217)]();}finally{_0xaac93c[_0x4d87e7(0x816,0x867)](closeSync,_0x3ec979),closeSync(_0x5a889f);}}function startDetachedPosixService(_0x9c1d0){const _0x3d0b92={_0x4c9aed:0x198,_0x4a152e:0x1d5,_0x515db6:0x312,_0x2c154a:0x125,_0x359349:0x5db,_0x5841f9:0x183};function _0x2e8d51(_0x285f64,_0xbcd9e7){return _0x410a57(_0xbcd9e7,_0x285f64-0xc);}const _0xa46058={'PXxZT':function(_0x3fd3f8,_0x577b84,_0x385392){return _0x3fd3f8(_0x577b84,_0x385392);},'ABfzF':function(_0x6aa6c9,_0x55870a,_0x5ac131){return _0x6aa6c9(_0x55870a,_0x5ac131);}};function _0x55d206(_0x361d19,_0x19f0fe){return _0x410a57(_0x19f0fe,_0x361d19-0x47e);}const _0x33726e=_0xa46058[_0x2e8d51(_0x3d0b92._0x4c9aed,_0x3d0b92._0x4a152e)](openSync,SERVICE_LOG_PATH,'a'),_0x23ca77=_0xa46058[_0x2e8d51(0x244,0x9b)](openSync,SERVICE_ERROR_LOG_PATH,'a');try{const [_0xae42e4,..._0x4a1e13]=_0x9c1d0,_0x23199c={};_0x23199c[_0x2e8d51(_0x3d0b92._0x515db6,0x303)]=!![],_0x23199c[_0x2e8d51(_0x3d0b92._0x2c154a,0x2a7)]=[_0x55d206(_0x3d0b92._0x359349,0x474),_0x33726e,_0x23ca77];const _0x509065=spawn(_0xae42e4,_0x4a1e13,_0x23199c);_0x509065[_0x2e8d51(-_0x3d0b92._0x5841f9,-0x38f)]();}finally{closeSync(_0x33726e),closeSync(_0x23ca77);}}async function waitForRuntimeState(_0x197619=0x5dc,_0x2c0af5=0x32){const _0x114cf9={_0x52a288:0x2e,_0x3c1e5e:0x6ae},_0x5201fb={_0x1c6ff4:0x1c8},_0x11761c={_0x28394f:0x2dd},_0x55b1e5=Date[_0x420a83(0x271,0x4be)]()+_0x197619;function _0x420a83(_0x6cfd79,_0x408417){return _0x410a57(_0x408417,_0x6cfd79-_0x11761c._0x28394f);}let _0x5a1fa3=getServiceStatus();function _0x3b53f7(_0x3c9ec9,_0xc1a28c){return _0x410a57(_0xc1a28c,_0x3c9ec9-_0x5201fb._0x1c6ff4);}while(Date[_0x3b53f7(0x15c,-_0x114cf9._0x52a288)]()<_0x55b1e5){if(_0x5a1fa3[_0x420a83(0x5d4,_0x114cf9._0x3c1e5e)])return _0x5a1fa3;await _0x50c01a(_0x2c0af5),_0x5a1fa3=getServiceStatus();}return _0x5a1fa3;}function installLinuxService(_0x5bc0a0){const _0x15e292={_0x3b929b:0x2dd},_0x552c92={_0x3d8cbf:0x26f},_0x33f6bd={'WKmNW':function(_0x28b186,_0x42184a,_0x4ba639){return _0x28b186(_0x42184a,_0x4ba639);}};function _0x3ffd17(_0x3b8eb7,_0x13a0b9){return _0x2420cb(_0x13a0b9- -_0x552c92._0x3d8cbf,_0x3b8eb7);}try{installLinuxSystemdService(_0x5bc0a0),removeLinuxCronRegistration();return;}catch(_0x131692){_0x33f6bd[_0x3ffd17(0x36e,_0x15e292._0x3b929b)](installLinuxCronService,_0x5bc0a0,_0x131692);}}function restartLinuxService(_0x1777f4){const _0x5237fc={_0x3a883b:0x6c4},_0xfcf82c={'Amnam':function(_0x3046b2,_0x53c95c){return _0x3046b2(_0x53c95c);},'VRBFw':function(_0x21fc8e){return _0x21fc8e();}};function _0xaf4113(_0x1ba3c,_0x48b179){return _0x410a57(_0x1ba3c,_0x48b179-_0x5237fc._0x3a883b);}try{_0xfcf82c[_0xaf4113(0x9a3,0x9c5)](restartLinuxSystemdService,_0x1777f4),_0xfcf82c['VRBFw'](removeLinuxCronRegistration);return;}catch(_0xac9f0){installLinuxCronService(_0x1777f4,_0xac9f0);}}function installLinuxSystemdService(_0x1dbefe){const _0x13cb23={_0x366a36:0x2e4,_0x17c185:0x568,_0x37ff52:0x2c8,_0x2206c2:0x257,_0x183ad8:0x6e,_0x6a365f:0x2f1,_0x3821d2:0x396,_0x1a202c:0x3b7,_0x3b8d59:0x217,_0x4b8c50:0xa1,_0x17e7a8:0x20c,_0x104a38:0x0,_0x2febd7:0x1f3,_0xdc94a9:0x212,_0x377942:0x16d,_0xf66f73:0x3ee,_0x32d4c8:0x34f,_0xff923b:0x3ea,_0x276ce5:0x1bb},_0x1b34b9={_0xd6ec1a:0x616},_0x32b8e7={'usEeJ':function(_0x253247,_0x22d10b,_0x2e12ad,_0x3634e3){return _0x253247(_0x22d10b,_0x2e12ad,_0x3634e3);},'SkcTg':_0x1fbf2c(_0x13cb23._0x366a36,_0x13cb23._0x17c185)+'l','HyBkS':_0x596ed3(_0x13cb23._0x37ff52,0x452),'uWGOl':'ignore'};if(!commandExists(_0x1fbf2c(_0x13cb23._0x366a36,0x124)+'l'))throw new Error(_0x1fbf2c(_0x13cb23._0x366a36,_0x13cb23._0x2206c2)+_0x1fbf2c(_0x13cb23._0x183ad8,_0x13cb23._0x6a365f)+_0x1fbf2c(0x29d,0x153)+'le');const _0x5f1bdd={};function _0x596ed3(_0x17dad1,_0x49b53a){return _0x2420cb(_0x17dad1- -0x453,_0x49b53a);}function _0x1fbf2c(_0x594d40,_0x10de05){return _0x2420cb(_0x594d40- -_0x1b34b9._0xd6ec1a,_0x10de05);}_0x5f1bdd['recursiv'+'e']=!![],_0x3a5594(dirname(LINUX_SERVICE_PATH),_0x5f1bdd),_0x4dedea(LINUX_SERVICE_PATH,buildLinuxSystemdUnit(_0x1dbefe,SERVICE_LOG_PATH,SERVICE_ERROR_LOG_PATH),'utf8');const _0x5b20e7={};_0x5b20e7[_0x596ed3(_0x13cb23._0x3821d2,_0x13cb23._0x1a202c)]=_0x1fbf2c(_0x13cb23._0x3b8d59,0x84),_0x32b8e7[_0x1fbf2c(_0x13cb23._0x4b8c50,_0x13cb23._0x17e7a8)](execFileSync,'systemct'+'l',[_0x1fbf2c(0x22b,_0x13cb23._0x104a38),_0x596ed3(_0x13cb23._0x2febd7,0x311)+_0x596ed3(_0x13cb23._0xdc94a9,_0x13cb23._0x377942)],_0x5b20e7),execFileSync(_0x32b8e7['SkcTg'],[_0x596ed3(_0x13cb23._0xf66f73,_0x13cb23._0x32d4c8),_0x32b8e7[_0x596ed3(_0x13cb23._0xff923b,0x49b)],_0x1fbf2c(-0x74,_0x13cb23._0x276ce5),SYSTEMD_UNIT_NAME],{'stdio':_0x32b8e7['uWGOl']});}function restartLinuxSystemdService(_0x3dd808){const _0x1aa11f={_0x1d57d6:0x351,_0x1a778e:0x613,_0x4cd927:0x3c8,_0x1922ac:0x6e0,_0x3b3531:0x4be,_0x3e2061:0x6e0,_0x4157e0:0x5dd,_0x21a0a6:0x52d,_0x1558f4:0x757,_0x124573:0x692,_0x1a69c9:0x414,_0x556c29:0x402,_0x20a88b:0x42c,_0x4638de:0x44b,_0x503c72:0x229,_0xaa2983:0x5cf,_0x3b2acd:0x501,_0x45550f:0x6d6,_0x341136:0x6fa},_0x226dae={_0x30fea8:0x4b6},_0xc3b6c5={_0x30302b:0x579},_0x3ce745={};_0x3ce745[_0x4d10af(_0x1aa11f._0x1d57d6,0x402)]=_0xc38f0a(_0x1aa11f._0x1a778e,_0x1aa11f._0x4cd927);const _0x429146=_0x3ce745;if(!commandExists(_0xc38f0a(_0x1aa11f._0x1922ac,_0x1aa11f._0x3b3531)+'l'))throw new Error(_0xc38f0a(_0x1aa11f._0x3e2061,_0x1aa11f._0x4157e0)+_0x4d10af(0x34f,_0x1aa11f._0x21a0a6)+_0xc38f0a(0x699,0x6b2)+'le');if(!_0x94be63(LINUX_SERVICE_PATH)){installLinuxSystemdService(_0x3dd808);return;}_0x4dedea(LINUX_SERVICE_PATH,buildLinuxSystemdUnit(_0x3dd808,SERVICE_LOG_PATH,SERVICE_ERROR_LOG_PATH),'utf8');function _0x4d10af(_0x178415,_0x52ed31){return _0x410a57(_0x178415,_0x52ed31-_0xc3b6c5._0x30302b);}const _0x4c27b9={};_0x4c27b9[_0x4d10af(_0x1aa11f._0x1558f4,_0x1aa11f._0x124573)]=_0x429146[_0x4d10af(_0x1aa11f._0x1a69c9,_0x1aa11f._0x556c29)],execFileSync(_0xc38f0a(_0x1aa11f._0x1922ac,0x971)+'l',['--user',_0xc38f0a(_0x1aa11f._0x20a88b,0x4aa)+_0xc38f0a(_0x1aa11f._0x4638de,_0x1aa11f._0x503c72)],_0x4c27b9);const _0x2039bf={};function _0xc38f0a(_0x16f1cc,_0x3b2e7b){return _0x410a57(_0x3b2e7b,_0x16f1cc-_0x226dae._0x30fea8);}_0x2039bf[_0xc38f0a(_0x1aa11f._0xaa2983,0x748)]=_0x4d10af(_0x1aa11f._0x3b2acd,_0x1aa11f._0x45550f),execFileSync(_0x4d10af(0x60f,0x7a3)+'l',[_0x4d10af(_0x1aa11f._0x341136,0x6ea),'restart',SYSTEMD_UNIT_NAME],_0x2039bf);}function installLinuxCronService(_0x23340e,_0x418478){const _0x14c477={_0xbab72:0x29a,_0x212db7:0x24,_0x41ae5a:0x104,_0x461dcb:0x119,_0x428329:0x371,_0x4b0173:0x301,_0x5b3911:0x606,_0x4f3d9c:0x2f9,_0x1e6eac:0x2ec,_0xf3a0ee:0x240,_0x1bd62b:0x212,_0x385967:0x21f},_0x331989={_0x5b1cdd:0xef},_0xf9feed={'GuNCM':function(_0x2001a8,_0x660631){return _0x2001a8(_0x660631);},'uaPXE':function(_0xc4760,_0x5b89cb){return _0xc4760+_0x5b89cb;}};if(!commandExists(_0x366ddc(_0x14c477._0xbab72,0x339)))throw new Error('Linux\x20se'+_0x366ddc(0x1da,_0x14c477._0x212db7)+_0x366ddc(0x1e9,0xd1)+_0x3e21d7(-_0x14c477._0x41ae5a,0x109)+_0x366ddc(_0x14c477._0x461dcb,_0x14c477._0x428329)+_0x3e21d7(_0x14c477._0x4b0173,0x48a)+_0x366ddc(0x3f2,_0x14c477._0x5b3911)+_0x366ddc(_0x14c477._0x4f3d9c,0xab)+_0x3e21d7(_0x14c477._0x1e6eac,_0x14c477._0xf3a0ee)+formatError(_0x418478));function _0x366ddc(_0x53f936,_0x338d7b){return _0x410a57(_0x338d7b,_0x53f936-_0x331989._0x5b1cdd);}rmIfExists(LINUX_SERVICE_PATH);function _0x3e21d7(_0x14e91b,_0x1cc11c){return _0x410a57(_0x14e91b,_0x1cc11c-0x182);}const _0x599464=buildLinuxCronEntry(_0x23340e,SERVICE_LOG_PATH,SERVICE_ERROR_LOG_PATH);_0xf9feed[_0x366ddc(_0x14c477._0x1bd62b,-_0x14c477._0x212db7)](writeLinuxCrontabEntry,_0x599464),_0x4dedea(LINUX_CRON_RECORD_PATH,_0xf9feed[_0x366ddc(-0xd0,0x7f)](_0x599464,'\x0a'),_0x3e21d7(_0x14c477._0x385967,-0x3)),stopRunningProcess(),startDetachedPosixService(_0x23340e);}function hasLinuxCronRegistration(){const _0x1abd2a={_0x23710f:0x435},_0x33998b={};function _0x3cb8d6(_0x3a7894,_0x132ea6){return _0x410a57(_0x3a7894,_0x132ea6-_0x1abd2a._0x23710f);}_0x33998b['kkcCQ']=function(_0x156320,_0x59867d){return _0x156320!==_0x59867d;};const _0x48a81c=_0x33998b;function _0x45f207(_0x4a1981,_0x476d21){return _0x410a57(_0x476d21,_0x4a1981-0x45c);}if(_0x48a81c[_0x3cb8d6(0x747,0x714)](process['platform'],'linux'))return![];return readLinuxCrontab()['some'](_0x3f7d0d=>_0x3f7d0d[_0x45f207(0x66b,0x82a)](LINUX_CRON_MARKER));}function removeLinuxCronRegistration(){const _0x23e7fa={_0x54dd8c:0x11f},_0x5d5518={_0x433393:0x241},_0x487d8f={_0x264d76:0x4a7};function _0x55eacb(_0x3f98a7,_0x468a3b){return _0x410a57(_0x3f98a7,_0x468a3b-_0x487d8f._0x264d76);}const _0x17375d={'vQstT':_0x39a5f5(-_0x23e7fa._0x54dd8c,0x174),'biBUX':'crontab','tgaeK':function(_0x5a41e9,_0x2f77f1){return _0x5a41e9(_0x2f77f1);}};if(process['platform']!==_0x17375d['vQstT'])return;function _0x39a5f5(_0xff006d,_0x1cab38){return _0x410a57(_0xff006d,_0x1cab38-_0x5d5518._0x433393);}if(commandExists(_0x17375d['biBUX'])){const _0x2121ad=readLinuxCrontab()[_0x39a5f5(0x83,0x24b)](_0x3f22d5=>!_0x3f22d5[_0x55eacb(0x8f7,0x6b6)](LINUX_CRON_MARKER));writeLinuxCrontab(_0x2121ad);}_0x17375d['tgaeK'](rmIfExists,LINUX_CRON_RECORD_PATH);}function writeLinuxCrontabEntry(_0x1d2a16){const _0x1d639d={_0x165e82:0xcf,_0x1b73a0:0xd3,_0x2beb49:0xc6,_0x25ce5d:0x2b5},_0x289d3f=readLinuxCrontab()[_0xfe0512(_0x1d639d._0x165e82,-_0x1d639d._0x1b73a0)](_0x8da952=>!_0x8da952[_0xfe0512(0x2d4,0x43e)](LINUX_CRON_MARKER));_0x289d3f[_0xfe0512(_0x1d639d._0x2beb49,_0x1d639d._0x25ce5d)](_0x1d2a16);function _0x18805f(_0x194913,_0x32afd3){return _0x2420cb(_0x194913- -0x1d7,_0x32afd3);}function _0xfe0512(_0xc48b96,_0x508104){return _0x2420cb(_0xc48b96- -0x60b,_0x508104);}writeLinuxCrontab(_0x289d3f);}function readLinuxCrontab(){const _0x364377={_0x5d49fb:0x6a,_0x2e31a0:0x821,_0x263f4e:0x177,_0x180d38:0x21a,_0x34dc59:0x6d2,_0x10d867:0xaa1,_0x295cba:0x9a2,_0x5cb61f:0x312},_0x3a1fda={};_0x3a1fda[_0x1c6116(0x286,_0x364377._0x5d49fb)]=_0x10b8f5(0x5ee,_0x364377._0x2e31a0);function _0x10b8f5(_0x21a6f6,_0x4226f5){return _0x2420cb(_0x4226f5- -0x5a,_0x21a6f6);}_0x3a1fda['ogkPg']=_0x1c6116(-0xfc,-_0x364377._0x263f4e);const _0x39a465=_0x3a1fda;function _0x1c6116(_0x5df3bf,_0x580a7c){return _0x2420cb(_0x580a7c- -0x6c2,_0x5df3bf);}if(!commandExists(_0x39a465[_0x1c6116(-_0x364377._0x180d38,0x6a)]))return[];try{const _0x23501d=execFileSync(_0x39a465[_0x10b8f5(0x7b1,_0x364377._0x34dc59)],['-l'],{'encoding':_0x39a465[_0x10b8f5(_0x364377._0x10d867,_0x364377._0x295cba)]});return _0x23501d[_0x1c6116(0x3d1,_0x364377._0x5cb61f)]('\x0a')['map'](_0x4c8d0d=>_0x4c8d0d[_0x1c6116(0x23e,0x3a)]())['filter'](_0x1cf943=>_0x1cf943[_0x1c6116(-0x19c,-0xcd)]>0x0);}catch(_0x112354){if(isMissingCrontabError(_0x112354))return[];throw _0x112354;}}function writeLinuxCrontab(_0x56d696){const _0x363fee={_0xe83a55:0x7bc,_0x1246d8:0x61a,_0xfa080a:0x762,_0xe80660:0x683,_0x4541dc:0x296,_0x49e9f1:0x353,_0x5d6b32:0x6af,_0x48fc95:0x710,_0x2a1b36:0x5cc},_0x339b73={'DYMHm':function(_0x30c546,_0x3dd08d){return _0x30c546(_0x3dd08d);}};if(!_0x339b73[_0x2aaa33(0x650,0x63d)](commandExists,_0x4b85d7(_0x363fee._0xe83a55,_0x363fee._0x1246d8)))return;if(_0x56d696['length']===0x0){execIgnoreFailure('crontab',['-r']);return;}function _0x2aaa33(_0x5c75b5,_0xc1b76f){return _0x410a57(_0x5c75b5,_0xc1b76f-0x4d8);}function _0x4b85d7(_0x19a8bb,_0x37f86d){return _0x410a57(_0x19a8bb,_0x37f86d-0x46f);}execFileSync(_0x2aaa33(_0x363fee._0xfa080a,_0x363fee._0xe80660),['-'],{'input':_0x56d696[_0x2aaa33(_0x363fee._0x4541dc,0x4c2)]('\x0a')+'\x0a','encoding':_0x2aaa33(0x4f1,_0x363fee._0x49e9f1),'stdio':[_0x4b85d7(0x3d2,0x3b2),_0x4b85d7(_0x363fee._0x5d6b32,0x5cc),_0x4b85d7(_0x363fee._0x48fc95,_0x363fee._0x2a1b36)]});}function resolveScriptPath(_0x22fec1){const _0x2f1566={_0xbdba4e:0x90e,_0x328f3f:0x197,_0x46017a:0x80};function _0x2f31f7(_0x1c5243,_0x3b1871){return _0x410a57(_0x3b1871,_0x1c5243-0x496);}const _0x500ab0=_0x22fec1?.['trim']()||process[_0x2f31f7(0x743,_0x2f1566._0xbdba4e)][0x1]?.[_0x1b0c37(_0x2f1566._0x328f3f,-_0x2f1566._0x46017a)]()||'';function _0x1b0c37(_0x160a6c,_0x46b2cc){return _0x410a57(_0x46b2cc,_0x160a6c-0x2be);}if(!_0x500ab0)return'';try{return realpathSync(_0x500ab0);}catch{return _0x500ab0;}}function ensureLaunchScriptExecutable(_0x5c179c,_0x4269bd){const _0x586557={_0x43e385:0x2bc,_0x599383:0x18d},_0x84a327={_0x2810e9:0x30d},_0xec2b9f={'rbGhD':function(_0x11be6f,_0x370e82,_0x59755b){return _0x11be6f(_0x370e82,_0x59755b);}};if(_0x4269bd===_0x2ac67b(_0x586557._0x43e385,0x278)||!_0x94be63(_0x5c179c))return;function _0x2ac67b(_0x484c87,_0x49addb){return _0x410a57(_0x484c87,_0x49addb-_0x84a327._0x2810e9);}function _0x497ab7(_0xc74df1,_0x2e3d60){return _0x410a57(_0xc74df1,_0x2e3d60-0x368);}try{_0xec2b9f[_0x2ac67b(0x2b,_0x586557._0x599383)](chmodSync,_0x5c179c,0x1ed);}catch{}}function writeServiceLauncher(_0x465dbb){const _0x22d042={_0x14b4f4:0x4cb,_0x458a9f:0x4a8,_0x5835e7:0x52b,_0x12f23e:0x61e,_0x520849:0x47a,_0x54df27:0x9c9,_0x1cd729:0x855,_0x24ee13:0x75c,_0x398922:0x6a9,_0x154ee3:0x58c,_0x2b66e9:0x318,_0x5a7352:0x4e5,_0x37dd72:0x867,_0x28d394:0x95a,_0x579abb:0x820,_0x575592:0x843,_0x110453:0x873,_0xb40d9d:0x69a,_0x562b97:0x7f6,_0x47c270:0x6b3,_0x411d25:0x860,_0x25ed08:0x722,_0x54defc:0x523,_0x126fb1:0x64b,_0x22a3b6:0x59d,_0x484609:0x598},_0x1a4f68={_0x508590:0x20},_0x5b8522={_0x213504:0x18f},_0x9b8a42={'FicpM':function(_0x32f862){return _0x32f862();},'Oigux':function(_0x3400f5,_0x579025){return _0x3400f5(_0x579025);},'tyszI':function(_0x392bd7,_0x24554d,_0x516acd,_0x62ab1){return _0x392bd7(_0x24554d,_0x516acd,_0x62ab1);},'urOAs':_0x4006e4(0x488,0x3bc)};function _0x4006e4(_0x1df386,_0xc84cf3){return _0x2420cb(_0xc84cf3- -_0x5b8522._0x213504,_0x1df386);}_0x9b8a42[_0x51b78a(0x6cd,0x778)](ensureServiceDirs);const _0xee4fc3=[_0x4006e4(_0x22d042._0x14b4f4,_0x22d042._0x458a9f)+'h',_0x4006e4(_0x22d042._0x5835e7,0x4ae)+_0x4006e4(_0x22d042._0x12f23e,_0x22d042._0x520849)+escapeShellDoubleQuoted(_0x465dbb['pathEnv'])+'\x22',_0x51b78a(_0x22d042._0x54df27,0x9e5)+_0x51b78a(0x7e5,_0x22d042._0x1cd729)+escapeShellDoubleQuoted(_0x465dbb[_0x51b78a(0x6c7,_0x22d042._0x24ee13)])+'\x22',_0x51b78a(0x64d,_0x22d042._0x398922)+_0x4006e4(_0x22d042._0x154ee3,0x47a)+_0x9b8a42['Oigux'](escapeShellDoubleQuoted,_0x465dbb['scriptPa'+'th'])+'\x22',_0x4006e4(0x70c,0x49a)+'\x22$NODE_P'+'ATH\x22\x20];\x20'+_0x51b78a(_0x22d042._0x2b66e9,0x4fd),_0x51b78a(0x857,0x996)+_0x51b78a(0x6c1,_0x22d042._0x5a7352)+_0x51b78a(_0x22d042._0x37dd72,_0x22d042._0x28d394)+_0x4006e4(_0x22d042._0x579abb,0x860)+_0x4006e4(_0x22d042._0x575592,0x678)+'-service','fi','if\x20comma'+'nd\x20-v\x20no'+_0x4006e4(_0x22d042._0x110453,0x748)+_0x51b78a(0x865,0x901)+_0x4006e4(_0x22d042._0xb40d9d,0x599),_0x51b78a(_0x22d042._0x562b97,_0x22d042._0x47c270)+'ode\x20\x22$SC'+_0x4006e4(0x60f,_0x22d042._0x411d25)+_0x51b78a(_0x22d042._0x25ed08,0x7e7)+'-service','fi','echo\x20\x22no'+_0x4006e4(_0x22d042._0x54defc,_0x22d042._0x126fb1)+_0x4006e4(0x523,0x78b)+_0x51b78a(0x784,_0x22d042._0x579abb)+'\x20Clawket'+_0x51b78a(_0x22d042._0x22a3b6,0x629)+_0x51b78a(0x65c,0x5fe)+'\x20>&2','exit\x20127',''];function _0x51b78a(_0x40622e,_0x52a545){return _0x2420cb(_0x52a545- -_0x1a4f68._0x508590,_0x40622e);}return _0x9b8a42[_0x4006e4(_0x22d042._0x484609,0x70f)](_0x4dedea,SERVICE_LAUNCHER_PATH,_0xee4fc3['join']('\x0a'),_0x9b8a42['urOAs']),SERVICE_LAUNCHER_PATH;}function escapeShellDoubleQuoted(_0x1f9d41){const _0x459d20={_0xbbb9c7:0x1b9,_0x32c266:0x426,_0x12eb42:0x276,_0x48d3de:0x426};function _0x492ab8(_0x257745,_0x4ec70a){return _0x410a57(_0x257745,_0x4ec70a-0x4ef);}function _0x2ee313(_0x4deb53,_0x45669c){return _0x410a57(_0x4deb53,_0x45669c-0x70);}return _0x1f9d41[_0x492ab8(_0x459d20._0xbbb9c7,_0x459d20._0x32c266)+'ll']('\x5c','\x5c\x5c')['replaceA'+'ll']('\x22','\x5c\x22')[_0x492ab8(0x206,0x426)+'ll']('$','\x5c$')[_0x492ab8(_0x459d20._0x12eb42,_0x459d20._0x48d3de)+'ll']('`','\x5c`');}function escapeShellWord(_0x40a236){const _0x4f7dc6={_0x311126:0x1d4},_0x43a0d7={_0x2df18d:0x40c};if(_0x40a236['length']===0x0)return'\x27\x27';function _0x319bdd(_0x53484b,_0x24c061){return _0x410a57(_0x53484b,_0x24c061- -0x14);}function _0x2a0c0a(_0x4ced8c,_0x4dc49c){return _0x410a57(_0x4ced8c,_0x4dc49c-_0x43a0d7._0x2df18d);}return'\x27'+_0x40a236[_0x319bdd(-_0x4f7dc6._0x311126,-0xdd)+'ll']('\x27',_0x319bdd(-0xe3,0x11d))+'\x27';}function buildWindowsRunCommand(_0x2a2e34){const _0x5eac8b={_0x9962aa:0x461,_0x4aea62:0x5a7},_0x4d5cf0={_0x36c476:0x259};function _0x306a98(_0x5152f0,_0x25333d){return _0x2420cb(_0x5152f0- -_0x4d5cf0._0x36c476,_0x25333d);}return _0x2a2e34['map'](escapeWindowsArg)[_0x306a98(_0x5eac8b._0x9962aa,_0x5eac8b._0x4aea62)]('\x20');}function ensureServiceDirs(){const _0x5af074={_0x51535d:0x3f1},_0x181f9d={_0x335ff0:0x369},_0x25fee8={};_0x25fee8['recursiv'+'e']=!![],_0x3a5594(SERVICE_DIR,_0x25fee8);const _0x5e79b2={};_0x5e79b2[_0x2583ec(_0x5af074._0x51535d,0x1a9)+'e']=!![];function _0x2583ec(_0x241355,_0x1c03f0){return _0x410a57(_0x1c03f0,_0x241355-_0x181f9d._0x335ff0);}_0x3a5594(LOG_DIR,_0x5e79b2);}function escapeXml(_0x275f53){const _0x121fea={_0x5d3b7e:0x217,_0x20beb9:0x360,_0x1082d5:0xf8,_0xe0b81a:0x89,_0x5ab353:0x360,_0x26f444:0x1b2,_0x25b19f:0x340,_0xe598bd:0x323};function _0x18f331(_0xd69baf,_0x3e71fa){return _0x410a57(_0x3e71fa,_0xd69baf-0x2e0);}function _0x38177f(_0x43b744,_0x458aa1){return _0x410a57(_0x458aa1,_0x43b744-0x429);}return _0x275f53[_0x18f331(_0x121fea._0x5d3b7e,0x415)+'ll']('&','&amp;')[_0x38177f(_0x121fea._0x20beb9,0x20d)+'ll']('<','&lt;')['replaceA'+'ll']('>',_0x18f331(_0x121fea._0x1082d5,-_0x121fea._0xe0b81a))[_0x38177f(_0x121fea._0x5ab353,_0x121fea._0x26f444)+'ll']('\x22',_0x38177f(_0x121fea._0x25b19f,0x324))[_0x18f331(_0x121fea._0x5d3b7e,_0x121fea._0xe598bd)+'ll']('\x27','&apos;');}function escapeSystemdArg(_0x312001){const _0x102a82={_0x56fba8:0x13d,_0x4e6f1e:0xee,_0x26302f:0x564},_0x1bab4b={_0x827a86:0x25},_0x9def26={_0x23c546:0x62d};function _0x33d00d(_0x56e22c,_0x19115e){return _0x410a57(_0x56e22c,_0x19115e-_0x9def26._0x23c546);}function _0x49d098(_0x2b853a,_0x52909d){return _0x410a57(_0x2b853a,_0x52909d- -_0x1bab4b._0x827a86);}return'\x22'+_0x312001[_0x49d098(_0x102a82._0x56fba8,-_0x102a82._0x4e6f1e)+'ll']('\x5c','\x5c\x5c')[_0x33d00d(0x723,_0x102a82._0x26302f)+'ll']('\x22','\x5c\x22')+'\x22';}function _0x2420cb(_0x201ead,_0x3ccb74){const _0x5b4d15={_0x4a43b1:0x30d};return _0x483f(_0x201ead-_0x5b4d15._0x4a43b1,_0x3ccb74);}function escapeWindowsArg(_0x12c90c){const _0x2afa48={_0x231815:0x611};function _0x5db118(_0x1d13d3,_0x5d74f0){return _0x410a57(_0x1d13d3,_0x5d74f0-0x6da);}return'\x22'+_0x12c90c[_0x5db118(0x3c3,_0x2afa48._0x231815)+'ll']('\x22','\x5c\x22')+'\x22';}function commandSucceeds(_0x56cb8f,_0x42fa76){const _0x52474a={_0x2e9001:0x2c0},_0x1ca5f5={_0x3548bb:0x163};function _0x571f0(_0x3a245b,_0x26b0af){return _0x410a57(_0x26b0af,_0x3a245b-_0x1ca5f5._0x3548bb);}try{const _0x541304={};return _0x541304['stdio']=_0x571f0(_0x52474a._0x2e9001,0x1a5),execFileSync(_0x56cb8f,_0x42fa76,_0x541304),!![];}catch{return![];}}function commandExists(_0xec841e){const _0x5e2759={_0x3d277a:0x210,_0x2f5760:0x5f9,_0x23085f:0x492,_0x49db5e:0x2db},_0x55d2b1={'jwQsC':'win32','vSipI':function(_0x40ee53,_0x4c5c3a){return _0x40ee53(_0x4c5c3a);}};function _0x4112b1(_0x39349c,_0x399a3f){return _0x410a57(_0x399a3f,_0x39349c-0x3cb);}if(process[_0x4112b1(0x2f4,_0x5e2759._0x3d277a)]===_0x55d2b1[_0x410a3d(0x7b8,_0x5e2759._0x2f5760)])return commandSucceeds(_0x410a3d(0x421,_0x5e2759._0x23085f),[_0xec841e]);function _0x410a3d(_0x5c7d9b,_0xad6baa){return _0x410a57(_0x5c7d9b,_0xad6baa-0x384);}return commandSucceeds('sh',['-c',_0x4112b1(0x49a,_0x5e2759._0x49db5e)+'-v\x20'+_0x55d2b1[_0x4112b1(0x379,0x2c8)](escapeShellWord,_0xec841e)]);}function execIgnoreFailure(_0x13d6e7,_0x5d28b2){const _0x2ac98f={_0x596413:0x31a,_0x205aaf:0x386};function _0x5851d6(_0x221d2b,_0x49ebf6){return _0x2420cb(_0x221d2b- -0x4cf,_0x49ebf6);}const _0xc29d85={'tijsS':function(_0x4f6648,_0x1c89ca,_0x16a4ff,_0x572320){return _0x4f6648(_0x1c89ca,_0x16a4ff,_0x572320);}};function _0x3de0c2(_0x5ac158,_0xc36007){return _0x2420cb(_0x5ac158- -0x54f,_0xc36007);}try{const _0x15302c={};_0x15302c[_0x5851d6(_0x2ac98f._0x596413,_0x2ac98f._0x205aaf)]=_0x5851d6(0x35e,0x37d),_0xc29d85['tijsS'](execFileSync,_0x13d6e7,_0x5d28b2,_0x15302c);}catch{}}function rmIfExists(_0x76ec43){if(!_0x94be63(_0x76ec43))return;const _0x3f3f9d={};_0x3f3f9d['force']=!![],_0x333acf(_0x76ec43,_0x3f3f9d);}function isMissingCrontabError(_0x33295e){const _0x3a213c={_0x50fed0:0x8dc,_0x29219c:0x76b,_0x5413c6:0x8ff,_0x50f757:0x7b7,_0x2a3dc8:0x98e,_0x340eb7:0x944,_0x33c9ac:0x6d3,_0x30c337:0x4e7,_0x3c759f:0x584,_0x45e678:0x652,_0x1c4a07:0x71e,_0x861bf0:0x52e,_0x43a557:0x896,_0x2908b1:0x985,_0x1a9628:0x7bc,_0x166784:0x747},_0x5308a3={_0x22d483:0x687},_0x4f7393={_0x4dbc66:0x6ec},_0x496e02={};function _0x1ff1ac(_0x402871,_0x909c17){return _0x410a57(_0x909c17,_0x402871-_0x4f7393._0x4dbc66);}_0x496e02[_0x1ff1ac(0x7bc,_0x3a213c._0x50fed0)]=_0x2bb5bb(0x682,0x4a5)+_0x1ff1ac(_0x3a213c._0x29219c,_0x3a213c._0x5413c6);const _0x3c457d=_0x496e02;if(!(_0x33295e instanceof Error))return![];const _0x1f0805=_0x33295e['message'][_0x2bb5bb(_0x3a213c._0x50f757,0x558)+'ase'](),_0x368b7e=_0x33295e[_0x1ff1ac(0x755,_0x3a213c._0x2a3dc8)];function _0x2bb5bb(_0x22c232,_0x372770){return _0x410a57(_0x372770,_0x22c232-_0x5308a3._0x22d483);}const _0x479cbf=typeof _0x368b7e===_0x1ff1ac(0xa1e,0xa25)?_0x368b7e[_0x1ff1ac(0x81c,_0x3a213c._0x340eb7)+_0x1ff1ac(0x71e,_0x3a213c._0x33c9ac)]():Buffer[_0x2bb5bb(0x555,0x517)](_0x368b7e)?_0x368b7e[_0x2bb5bb(0x6c1,_0x3a213c._0x30c337)](_0x1ff1ac(0x567,_0x3a213c._0x3c759f))[_0x1ff1ac(0x81c,_0x3a213c._0x45e678)+_0x1ff1ac(_0x3a213c._0x1c4a07,_0x3a213c._0x861bf0)]():'';return _0x1f0805[_0x2bb5bb(0x896,0x74b)]('no\x20cront'+_0x2bb5bb(0x706,0x7ac))||_0x479cbf[_0x2bb5bb(_0x3a213c._0x43a557,_0x3a213c._0x2908b1)](_0x3c457d[_0x1ff1ac(_0x3a213c._0x1a9628,_0x3a213c._0x166784)]);}function formatError(_0x197882){const _0x27f9f5={_0x4b329c:0x39a,_0xbbd877:0x2f6};function _0x35d34d(_0x47ff9e,_0x173d94){return _0x410a57(_0x47ff9e,_0x173d94-0x42b);}if(_0x197882 instanceof Error&&_0x197882['message'])return _0x197882[_0x35d34d(_0x27f9f5._0x4b329c,_0x27f9f5._0xbbd877)];return String(_0x197882);}import{existsSync as _0x28026c,readFileSync as _0xd8772e}from'fs';import{homedir as _0x317656}from'os';import{join as _0x205609}from'path';var DEFAULT_GATEWAY_URL=_0x410a57(0x6a,0x28a)+_0x2420cb(0x608,0x69f)+_0x2420cb(0x74e,0x7e4);function resolveGatewayUrl(_0x6f3e4e){const _0x713512={_0x28153d:0x507,_0x459600:0x441,_0x1c5f26:0xbb,_0x237ad2:0x85a,_0x3cdcd5:0x88a},_0x3f8e66=_0x6f3e4e?.[_0x41f739(_0x713512._0x28153d,0x65c)]();if(_0x3f8e66)return _0x3f8e66;const _0x263f05=readOpenClawInfo();if(typeof _0x263f05['gatewayP'+_0x55cf3d(-0x33,-0x1c0)]==='number')return _0x55cf3d(_0x713512._0x459600,0x261)+_0x55cf3d(_0x713512._0x1c5f26,0x314)+_0x263f05[_0x41f739(_0x713512._0x237ad2,_0x713512._0x3cdcd5)+'ort'];function _0x41f739(_0x87a947,_0x15408b){return _0x410a57(_0x15408b,_0x87a947-0x62e);}function _0x55cf3d(_0x2acf04,_0x2c97b0){return _0x410a57(_0x2c97b0,_0x2acf04-0x1b7);}return DEFAULT_GATEWAY_URL;}function readOpenClawInfo(){const _0x1fb79c={_0x33cbe8:0x733,_0x37162d:0x835,_0x5e5e8c:0x748,_0x963ad9:0x5a9,_0x42aff2:0x720,_0x41ccb7:0x4e5,_0x4351b6:0x5e8,_0x280211:0x549,_0x479a42:0x2ed,_0x40a748:0x46f,_0x5b07b9:0x43b,_0x5e3c29:0x549,_0x1673eb:0x5fd,_0xd6daab:0x342,_0x4b9a22:0x435,_0x98e7bb:0x660,_0xb0844b:0x6d5,_0x14ef5a:0x2ed,_0x383414:0x62d,_0x2cc450:0x5fd,_0x363e5e:0x7f8,_0x4cfac1:0x2cb,_0x506737:0x485,_0x2f7a5c:0x45e,_0x298d58:0x470},_0x461572={_0x15f283:0x4b5},_0x1060b5={_0x44a410:0x5cc};function _0x181c41(_0x117985,_0x2cd813){return _0x410a57(_0x117985,_0x2cd813-_0x1060b5._0x44a410);}function _0xb3dcfd(_0x3e87d6,_0x4fcd9e){return _0x410a57(_0x3e87d6,_0x4fcd9e-_0x461572._0x15f283);}const _0x11c058={'xAtng':function(_0x30fc90,_0x516295){return _0x30fc90(_0x516295);},'pjNjc':function(_0x19b058){return _0x19b058();},'VJuNs':function(_0x361554,_0x35e2b8){return _0x361554(_0x35e2b8);}},_0x2f2754=resolveOpenClawPaths();if(!_0x11c058[_0xb3dcfd(0x4a0,_0x1fb79c._0x33cbe8)](_0x28026c,_0x2f2754[_0x181c41(_0x1fb79c._0x37162d,0x720)+'th']))return{'configFound':![],'gatewayPort':null,'authMode':null,'token':readGatewayTokenEnv(),'password':_0x11c058['pjNjc'](readGatewayPasswordEnv)};try{const _0xc2513a=JSON[_0xb3dcfd(0x82e,_0x1fb79c._0x5e5e8c)](_0xd8772e(_0x2f2754[_0x181c41(_0x1fb79c._0x963ad9,_0x1fb79c._0x42aff2)+'th'],_0x181c41(0x520,0x447))),_0x28480f=_0xc2513a[_0x181c41(_0x1fb79c._0x41ccb7,0x75d)]?.['port'],_0xca5990=typeof _0x28480f===_0x181c41(0x739,0x59e)&&Number[_0x181c41(0x68f,_0x1fb79c._0x4351b6)+'r'](_0x28480f)?_0x28480f:null,_0x400b74=_0xc2513a['gateway']?.['auth']?.[_0xb3dcfd(0x7ab,_0x1fb79c._0x280211)]===_0xb3dcfd(0xca,_0x1fb79c._0x479a42)||_0xc2513a[_0xb3dcfd(_0x1fb79c._0x40a748,0x646)]?.['auth']?.[_0xb3dcfd(_0x1fb79c._0x5b07b9,_0x1fb79c._0x5e3c29)]===_0xb3dcfd(0x390,_0x1fb79c._0x1673eb)?_0xc2513a['gateway'][_0xb3dcfd(_0x1fb79c._0xd6daab,_0x1fb79c._0x4b9a22)][_0x181c41(0x3ef,_0x1fb79c._0x98e7bb)]:null,_0x2b5816=_0x11c058['VJuNs'](readConfiguredSecret,_0xc2513a['gateway']?.[_0x181c41(_0x1fb79c._0xb0844b,0x54c)]?.[_0xb3dcfd(0x57,_0x1fb79c._0x14ef5a)])??readGatewayTokenEnv(),_0x5e4fe0=readConfiguredSecret(_0xc2513a[_0xb3dcfd(_0x1fb79c._0x383414,0x646)]?.['auth']?.[_0xb3dcfd(0x72b,_0x1fb79c._0x2cc450)])??readGatewayPasswordEnv(),_0x588f13={};return _0x588f13['configFo'+_0xb3dcfd(0x667,0x424)]=!![],_0x588f13[_0x181c41(0x8a7,_0x1fb79c._0x363e5e)+_0xb3dcfd(0x2c7,_0x1fb79c._0x4cfac1)]=_0xca5990,_0x588f13[_0xb3dcfd(_0x1fb79c._0x506737,_0x1fb79c._0x2f7a5c)]=_0x400b74,_0x588f13[_0x181c41(0x179,0x404)]=_0x2b5816,_0x588f13[_0xb3dcfd(_0x1fb79c._0x298d58,_0x1fb79c._0x1673eb)]=_0x5e4fe0,_0x588f13;}catch{return{'configFound':!![],'gatewayPort':null,'authMode':null,'token':readGatewayTokenEnv(),'password':readGatewayPasswordEnv()};}}function resolveGatewayAuth(){const _0x1d6101={_0x4f8e42:0x66c,_0xb08bba:0x78c,_0x3fd30b:0x414,_0x1a8e68:0x1e8,_0x178170:0x6cb,_0x4e1823:0x8f7,_0x37eeb8:0x6f9,_0x1358ba:0x37c,_0x1564fe:0x4dd,_0x1577e8:0x83c,_0x5c6834:0x65b,_0x2f76d7:0x804,_0x512897:0x8e6,_0x48068d:0x47d,_0x4a38e2:0x375,_0x2e53cf:0x825,_0x38f8a0:0x9cd,_0x3cb3e4:0x7d3,_0x7da46e:0x9af,_0x43cf36:0x65c,_0x16893c:0x4f1,_0x17bbd3:0x5a4,_0x385ff2:0x7d1,_0x49cf25:0x608,_0x11ee25:0x5b6,_0x284326:0x570,_0x1d5cad:0x73a,_0x1a9b98:0x721,_0x117861:0x67f,_0x1a2299:0x6b4,_0x16334c:0x47c,_0x1f4016:0x458,_0x1562c4:0x3bb,_0xcabe74:0x607,_0xa12e61:0x4c6,_0x1f06c3:0x8d2,_0x5472ce:0x8bc,_0x46d118:0x3bb,_0x5ddddb:0x562,_0x1229ae:0x7fb,_0x3d5a24:0xa44,_0x583988:0x5d1},_0x1fd63f={_0x2d942a:0x8c},_0x376630={_0x49a7f8:0x14d},_0x4dd9a8={};_0x4dd9a8[_0x3faece(0x437,0x34e)]='password',_0x4dd9a8[_0x3faece(_0x1d6101._0x4f8e42,0x454)]=function(_0x86ff83,_0x25ca25){return _0x86ff83===_0x25ca25;};const _0x8a802e=_0x4dd9a8,_0x1cac42=readOpenClawInfo(),_0x2a7119=_0x1cac42['token'];function _0x3faece(_0x15a3cf,_0xea1429){return _0x2420cb(_0x15a3cf- -_0x376630._0x49a7f8,_0xea1429);}const _0x847e1d=_0x1cac42[_0x5c7717(0x5d6,_0x1d6101._0xb08bba)];if(_0x2a7119&&_0x847e1d&&_0x1cac42[_0x5c7717(_0x1d6101._0x3fd30b,0x5ed)]==null){const _0x1a663d={};return _0x1a663d[_0x5c7717(_0x1d6101._0x1a8e68,0x47c)]=_0x2a7119,_0x1a663d[_0x3faece(_0x1d6101._0x178170,_0x1d6101._0x4e1823)]=_0x847e1d,_0x1a663d['label']='token',_0x1a663d[_0x5c7717(0x8f3,0x8b8)]=_0x3faece(_0x1d6101._0x37eeb8,0x6ed)+_0x3faece(0x3d6,_0x1d6101._0x1358ba)+_0x3faece(_0x1d6101._0x1564fe,0x46d)+_0x3faece(_0x1d6101._0x1577e8,_0x1d6101._0x5c6834)+_0x5c7717(_0x1d6101._0x2f76d7,_0x1d6101._0x512897)+_0x3faece(_0x1d6101._0x48068d,_0x1d6101._0x4a38e2)+_0x3faece(0x72b,_0x1d6101._0x2e53cf)+_0x5c7717(_0x1d6101._0x38f8a0,_0x1d6101._0x3cb3e4)+_0x5c7717(_0x1d6101._0x7da46e,0x898)+_0x5c7717(_0x1d6101._0x43cf36,_0x1d6101._0x16893c)+_0x5c7717(0x824,_0x1d6101._0x17bbd3)+_0x3faece(0x7cb,0x8c8)+_0x3faece(_0x1d6101._0x385ff2,0x8e3)+_0x3faece(_0x1d6101._0x49cf25,0x3de)+_0x3faece(_0x1d6101._0x11ee25,_0x1d6101._0x284326)+_0x5c7717(_0x1d6101._0x1d5cad,_0x1d6101._0x1a9b98)+_0x5c7717(0x4c8,_0x1d6101._0x117861)+'g.',_0x1a663d;}if(_0x1cac42[_0x3faece(0x52c,_0x1d6101._0x1a2299)]===_0x8a802e['ZuDEn']){const _0x3ac662={};return _0x3ac662[_0x5c7717(0x60b,_0x1d6101._0x16334c)]=null,_0x3ac662[_0x5c7717(0x984,0x78c)]=null,_0x3ac662['label']=null,_0x847e1d?{'token':null,'password':_0x847e1d,'label':_0x8a802e[_0x5c7717(0x3e8,0x4f8)]}:_0x3ac662;}function _0x5c7717(_0xfed888,_0x415ed3){return _0x2420cb(_0x415ed3- -_0x1fd63f._0x2d942a,_0xfed888);}if(_0x8a802e[_0x3faece(_0x1d6101._0x4f8e42,0x6b4)](_0x1cac42['authMode'],_0x5c7717(_0x1d6101._0x1f4016,_0x1d6101._0x16334c))){const _0x1222d1={};return _0x1222d1[_0x3faece(0x3bb,0x130)]=null,_0x1222d1['password']=null,_0x1222d1['label']=null,_0x2a7119?{'token':_0x2a7119,'password':null,'label':_0x3faece(_0x1d6101._0x1562c4,_0x1d6101._0xcabe74)}:_0x1222d1;}if(_0x2a7119){const _0x4f7d6d={};return _0x4f7d6d[_0x3faece(0x3bb,_0x1d6101._0xa12e61)]=_0x2a7119,_0x4f7d6d[_0x3faece(0x6cb,_0x1d6101._0x1f06c3)]=null,_0x4f7d6d[_0x5c7717(0x8f4,_0x1d6101._0x5472ce)]=_0x3faece(_0x1d6101._0x46d118,0x3d3),_0x4f7d6d;}if(_0x847e1d){const _0x53d26a={};return _0x53d26a[_0x3faece(0x3bb,0x129)]=null,_0x53d26a[_0x5c7717(_0x1d6101._0x5ddddb,_0x1d6101._0xb08bba)]=_0x847e1d,_0x53d26a[_0x3faece(_0x1d6101._0x1229ae,_0x1d6101._0x3d5a24)]='password',_0x53d26a;}const _0x4504b6={};return _0x4504b6['token']=null,_0x4504b6[_0x3faece(0x6cb,0x60d)]=null,_0x4504b6[_0x3faece(0x7fb,_0x1d6101._0x583988)]=null,_0x4504b6;}function getOpenClawConfigDir(){const _0x2b80d8={_0x3ed217:0x232,_0x541608:0x47e},_0x30b5ab={_0x1aa3c2:0x5e5};function _0x4a396f(_0x3b1584,_0x1cc87d){return _0x410a57(_0x3b1584,_0x1cc87d-_0x30b5ab._0x1aa3c2);}return resolveOpenClawPaths()[_0x4a396f(_0x2b80d8._0x3ed217,_0x2b80d8._0x541608)+'r'];}function getOpenClawMediaDir(){const _0x5a04cf={_0x167c95:0x591};function _0x27ac9a(_0x13c13f,_0x4294c3){return _0x410a57(_0x13c13f,_0x4294c3-0x6e3);}return resolveOpenClawPaths()[_0x27ac9a(0x30f,_0x5a04cf._0x167c95)];}function readConfiguredSecret(_0x421cd0){const _0x5b89cd={_0x2ef07f:0x617,_0x2d76e0:0x5fd,_0x372e78:0x445,_0x2397b3:0x334,_0x5bd119:0x36,_0xa93030:0x1be},_0x203642={};_0x203642['XgFyi']=_0x560834(_0x5b89cd._0x2ef07f,_0x5b89cd._0x2d76e0);function _0x6211f0(_0x195b94,_0x3af526){return _0x410a57(_0x195b94,_0x3af526-0x1c7);}function _0x560834(_0x143940,_0x6487ef){return _0x410a57(_0x6487ef,_0x143940-0x2e5);}const _0x54e16e=_0x203642;return typeof _0x421cd0===_0x54e16e[_0x560834(_0x5b89cd._0x372e78,_0x5b89cd._0x2397b3)]&&_0x421cd0[_0x560834(0x1be,_0x5b89cd._0x5bd119)]()?_0x421cd0[_0x560834(_0x5b89cd._0xa93030,0x15c)]():null;}function readGatewayTokenEnv(){const _0x365545={_0x440b74:0x1f2,_0x4dde16:0x337},_0x22812b={_0x99156b:0x658},_0xdb880a={_0x14bb7b:0x3ac};function _0xbbd74b(_0x214fc4,_0x5cff3f){return _0x410a57(_0x5cff3f,_0x214fc4-_0xdb880a._0x14bb7b);}function _0x42a33d(_0x280e55,_0x509cd8){return _0x410a57(_0x280e55,_0x509cd8-_0x22812b._0x99156b);}const _0x54f16f={'pfSKQ':function(_0x5b412b,_0x518072,_0x45fb51){return _0x5b412b(_0x518072,_0x45fb51);}};return _0x54f16f['pfSKQ'](readEnvValue,_0xbbd74b(0x2d6,_0x365545._0x440b74)+_0xbbd74b(0x3c2,0x231)+_0xbbd74b(0x546,0x403),'CLAWDBOT'+_0x42a33d(0x84f,0x66e)+_0xbbd74b(0x546,_0x365545._0x4dde16));}function readGatewayPasswordEnv(){const _0x4cfda1={_0x3a7984:0x6ac,_0xb1a3ac:0x6ba,_0x1b9eca:0x82e,_0xe77562:0x5ce},_0xc9927f={_0x12c438:0x696},_0x5077f3={_0x354679:0x56d};function _0xc6fd99(_0x5f3c8e,_0x51c9a0){return _0x410a57(_0x51c9a0,_0x5f3c8e-_0x5077f3._0x354679);}function _0x532553(_0x1eec0b,_0x3335d2){return _0x410a57(_0x3335d2,_0x1eec0b-_0xc9927f._0x12c438);}return readEnvValue('OPENCLAW'+_0xc6fd99(0x583,0x6ab)+'_PASSWOR'+'D',_0xc6fd99(0x3ab,0x2fe)+_0x532553(_0x4cfda1._0x3a7984,_0x4cfda1._0xb1a3ac)+_0x532553(_0x4cfda1._0x1b9eca,_0x4cfda1._0xe77562)+'D');}function readEnvValue(_0x40b675,_0x557ba4){const _0x2ef358={_0x53d43d:0xc5},_0x10cdfd={_0x4ff08c:0x62},_0xe72314=process.env[_0x40b675]?.['trim']();if(_0xe72314)return _0xe72314;function _0x1560ba(_0x554631,_0x289654){return _0x410a57(_0x554631,_0x289654-_0x10cdfd._0x4ff08c);}const _0x28affe=process.env[_0x557ba4]?.[_0x1560ba(0xed,-_0x2ef358._0x53d43d)]();return _0x28affe||null;}function resolveOpenClawPaths(){const _0x5c28e2={_0x58995b:0x485},_0x267d86=buildOpenClawCandidates();function _0x132e41(_0x532fdf,_0x32cab4){return _0x2420cb(_0x532fdf- -0x60f,_0x32cab4);}return _0x267d86[_0x132e41(0x3b5,_0x5c28e2._0x58995b)](_0x3fbff7=>_0x28026c(_0x3fbff7['configPa'+'th']))??_0x267d86[0x0];}function buildOpenClawCandidates(){const _0x205846={_0x28e326:0x73,_0x83b0:0x138,_0x2a8814:0x9,_0x13e112:0xb7},_0x5dd390={_0x578ec2:0x7be,_0x356cab:0x777},_0x1fd3f9={_0x3fa72b:0x33f,_0x2b7e8d:0x389,_0x59ebe2:0x2cd},_0x5cfbd2={_0x266426:0x254},_0x49ceca={_0x5814ad:0x30a},_0x5761d8={'sbWFq':function(_0x3966f4,_0x167b72,_0x3ecc42){return _0x3966f4(_0x167b72,_0x3ecc42);},'JmMoF':'media'};function _0x5a0830(_0x3b32c9,_0x414f26){return _0x2420cb(_0x414f26- -0x623,_0x3b32c9);}const _0x13b58e=new Set();function _0x4d24d8(_0x436170,_0x270f6e){return _0x2420cb(_0x436170- -_0x49ceca._0x5814ad,_0x270f6e);}const _0x3c7391=[_0x317656(),_0x5a0830(-_0x205846._0x28e326,_0x205846._0x83b0)][_0x5a0830(0x1df,-_0x205846._0x2a8814)](_0x49b4df=>_0x49b4df[_0x5a0830(0x5f,-0x7a)]())[_0x5a0830(0x319,_0x205846._0x13e112)](Boolean)[_0x5a0830(0x340,0xb7)](_0x4dd67b=>{if(_0x13b58e[_0x2969a7(_0x1fd3f9._0x3fa72b,_0x1fd3f9._0x2b7e8d)](_0x4dd67b))return![];_0x13b58e[_0x2969a7(_0x1fd3f9._0x59ebe2,0x1d1)](_0x4dd67b);function _0x2969a7(_0x55320b,_0x2df211){return _0x4d24d8(_0x2df211- -0xf4,_0x55320b);}function _0xfc03d3(_0x4dd09f,_0x1e9d63){return _0x4d24d8(_0x4dd09f- -_0x5cfbd2._0x266426,_0x1e9d63);}return!![];});return _0x3c7391[_0x5a0830(0xd8,-0x9)](_0x3739af=>{const _0x1e6090={_0x4d6eb4:0x2f3},_0x5bd974={_0x482feb:0x607},_0x5e50e1=_0x5761d8[_0x2d48da(0x8eb,_0x5dd390._0x578ec2)](_0x205609,_0x3739af,'.opencla'+'w');function _0x2d48da(_0x169b74,_0x1702f1){return _0x5a0830(_0x1702f1,_0x169b74-_0x5bd974._0x482feb);}function _0x4934ad(_0x37d716,_0x2212e2){return _0x5a0830(_0x37d716,_0x2212e2-_0x1e6090._0x4d6eb4);}return{'configDir':_0x5e50e1,'configPath':_0x205609(_0x5e50e1,'openclaw'+'.json'),'mediaDir':_0x205609(_0x5e50e1,_0x5761d8[_0x2d48da(_0x5dd390._0x356cab,0x91a)])};});}var CONTROL_PREFIX=_0x410a57(-0x116,-0x147)+'t_relay_'+_0x2420cb(0x847,0x5d4)+'_:';function parseControl(_0x171741){const _0x581426={_0x37ebbb:0x578,_0x5efa5e:0x542,_0x3aabc1:0x60c,_0x41bee7:0x162,_0x1bf803:0x2dc,_0x53c793:0x5cc,_0x25bf6c:0x830,_0x4fbb77:0x360,_0x5abb27:0x4f0,_0x15391a:0x125,_0x4eb144:0x1f9,_0x4b32db:0x580,_0x39df0c:0x537,_0x4eabea:0x71c,_0x2e8fc7:0x82,_0x1b349e:0xa3,_0x479ba6:0xe6},_0x1631f6={_0x4759a0:0x29},_0x2bfb88={_0x502219:0x6a2},_0x5f5748={};function _0x3fdccd(_0x41a9e7,_0x2ff310){return _0x2420cb(_0x41a9e7- -_0x2bfb88._0x502219,_0x2ff310);}function _0x4f11b3(_0x39132a,_0x5e49ed){return _0x2420cb(_0x5e49ed- -_0x1631f6._0x4759a0,_0x39132a);}_0x5f5748['MCWYw']=function(_0x272230,_0x734414){return _0x272230!==_0x734414;},_0x5f5748[_0x4f11b3(0x2e1,0x568)]=_0x4f11b3(_0x581426._0x37ebbb,0x679);const _0x2d5ea0=_0x5f5748;if(!_0x171741[_0x4f11b3(_0x581426._0x5efa5e,_0x581426._0x3aabc1)+'th'](CONTROL_PREFIX))return null;try{const _0x254718=JSON[_0x3fdccd(0x2c1,_0x581426._0x41bee7)](_0x171741[_0x3fdccd(_0x581426._0x1bf803,0x298)](CONTROL_PREFIX[_0x4f11b3(0x479,_0x581426._0x53c793)]));if(_0x2d5ea0[_0x4f11b3(_0x581426._0x25bf6c,0x740)](typeof _0x254718['event'],_0x3fdccd(_0x581426._0x4fbb77,0x2c1))||!_0x254718[_0x4f11b3(0x7e9,0x79e)][_0x4f11b3(_0x581426._0x5abb27,0x580)]())return null;return{'event':_0x254718[_0x3fdccd(_0x581426._0x15391a,_0x581426._0x4eb144)][_0x4f11b3(0x77f,_0x581426._0x4b32db)](),'count':typeof _0x254718[_0x4f11b3(_0x581426._0x39df0c,_0x581426._0x4eabea)]===_0x2d5ea0[_0x3fdccd(-0x111,_0x581426._0x2e8fc7)]&&Number[_0x4f11b3(0x640,0x7da)](_0x254718[_0x3fdccd(_0x581426._0x1b349e,-_0x581426._0x479ba6)])?_0x254718['count']:void 0x0};}catch{return null;}}function parseConnectStartIdentity(_0x87d8d4){const _0xfd6887={_0x989254:0x352,_0x67d07d:0x1c2,_0x2c0bd1:0x758,_0x29361a:0x16f,_0x5ba51f:0x149,_0x460a26:0x1b4,_0x17b860:0x13,_0x446797:0x739,_0x38d0e1:0x4d2,_0x4782cb:0x270,_0x28ded5:0x70d,_0xf8099f:0x1b7,_0x3de17f:0x468,_0x332e3c:0x639,_0x2d191e:0x436,_0x10dc7b:0x445,_0x2b8826:0x4f7,_0x44c495:0x6d4,_0x22c033:0x32d,_0x44bbd3:0x33b,_0x39195a:0x258,_0x3fd34c:0x32c,_0x434031:0x5e3},_0x5a48e5={_0x6ff34:0x2aa};function _0x4330a8(_0x171eec,_0x5056c2){return _0x2420cb(_0x5056c2- -0x69e,_0x171eec);}function _0x2b094c(_0x4e41dc,_0x45885b){return _0x2420cb(_0x45885b- -_0x5a48e5._0x6ff34,_0x4e41dc);}const _0xc85c3c={'UlZpA':_0x4330a8(-_0xfd6887._0x989254,-_0xfd6887._0x67d07d),'ITDyS':_0x2b094c(0x5dc,_0xfd6887._0x2c0bd1),'BmJrC':function(_0x4c06e6,_0x132c11,_0x1c7baf,_0x5a1180,_0x5ce7e0){return _0x4c06e6(_0x132c11,_0x1c7baf,_0x5a1180,_0x5ce7e0);},'qGLDy':_0x4330a8(-_0xfd6887._0x29361a,-_0xfd6887._0x5ba51f)+_0x4330a8(_0xfd6887._0x460a26,-_0xfd6887._0x17b860)};try{const _0x44e5f7=JSON['parse'](_0x87d8d4);if(_0x44e5f7[_0x2b094c(0x5be,_0xfd6887._0x446797)]!==_0x2b094c(_0xfd6887._0x38d0e1,_0xfd6887._0x4782cb))return null;if(_0x44e5f7['method']!==_0xc85c3c[_0x2b094c(_0xfd6887._0x28ded5,0x53c)]&&_0x44e5f7[_0x2b094c(_0xfd6887._0xf8099f,0x2bc)]!==_0x2b094c(_0xfd6887._0x3de17f,_0xfd6887._0x332e3c)+_0x2b094c(_0xfd6887._0x2d191e,_0xfd6887._0x10dc7b))return null;const _0x279187=_0x44e5f7[_0x2b094c(0x3b8,0x4c2)]??{},_0x4aba17=typeof _0x44e5f7['id']===_0xc85c3c[_0x2b094c(0x692,0x478)]&&_0x44e5f7['id'][_0x2b094c(_0xfd6887._0x2b8826,0x2ff)]()?_0x44e5f7['id'][_0x2b094c(0x416,0x2ff)]():'req-'+Math['random']()['toString'](0x24)[_0x2b094c(0x76c,_0xfd6887._0x44c495)](0x2,0xc),_0x10096c=_0xc85c3c[_0x2b094c(_0xfd6887._0x22c033,_0xfd6887._0x44bbd3)](firstString,_0x279187['deviceNa'+'me'],_0x279187[_0x4330a8(_0xfd6887._0x39195a,0xb6)+'me'],_0x279187['deviceId'],_0xc85c3c[_0x4330a8(_0xfd6887._0x3fd34c,0x1c6)]),_0x3337d0={};return _0x3337d0['id']=_0x4aba17,_0x3337d0[_0x2b094c(_0xfd6887._0x434031,0x69e)]=_0x10096c,_0x3337d0;}catch{return null;}}function isConnectHandshakeRequest(_0x3aa7eb){const _0x3c1445={_0x2711d9:0x3c0,_0x396462:0x38c,_0x37d0ce:0x6f,_0x4d76a0:0x2f6,_0x346c65:0x38c,_0x44f6a0:0x1a1,_0x276298:0xa5,_0x2b2291:0x30c,_0x247f28:0x4b4,_0x18a3ef:0x229,_0x41913f:0xe4},_0x50be5c={_0x1a1f31:0x5d7},_0x352003={_0x54c969:0x60b};function _0x1cc67f(_0x31a108,_0x199e5f){return _0x2420cb(_0x199e5f- -_0x352003._0x54c969,_0x31a108);}const _0x59af35={};_0x59af35[_0x27673d(_0x3c1445._0x2711d9,0x3f2)]=function(_0x28c61e,_0x1cd6da){return _0x28c61e===_0x1cd6da;};const _0x1d338e=_0x59af35;function _0x27673d(_0x38f664,_0x5f0c7b){return _0x2420cb(_0x38f664- -_0x50be5c._0x1a1f31,_0x5f0c7b);}try{const _0xcf4e9a=JSON[_0x27673d(_0x3c1445._0x396462,0x607)](_0x3aa7eb);return _0xcf4e9a['type']===_0x27673d(-0xbd,_0x3c1445._0x37d0ce)&&(_0x1d338e[_0x1cc67f(_0x3c1445._0x4d76a0,_0x3c1445._0x346c65)](_0xcf4e9a[_0x1cc67f(_0x3c1445._0x44f6a0,-_0x3c1445._0x276298)],_0x1cc67f(0x1d,-0x12f))||_0xcf4e9a['method']===_0x27673d(_0x3c1445._0x2b2291,_0x3c1445._0x247f28)+_0x1cc67f(_0x3c1445._0x18a3ef,_0x3c1445._0x41913f));}catch{return![];}}function parseConnectHandshakeMeta(_0x2735c0){const _0x3389c7={_0x15df46:0x442,_0x22f836:0x669,_0x1db4f5:0x7f,_0xc92be2:0x34c,_0x4055cc:0xb1,_0x3548c1:0x1cd,_0x49f31e:0x54a,_0x5cae58:0x155,_0xaa6383:0x6e,_0x112017:0x21c,_0x538bbd:0x31d,_0x3a3ada:0x54d,_0x5e4d4d:0xa1,_0x523e40:0x1ea};function _0x2d0835(_0x3bb9b8,_0x469c24){return _0x2420cb(_0x3bb9b8- -0x617,_0x469c24);}const _0x182a68={};_0x182a68[_0x43f238(_0x3389c7._0x15df46,0x505)]=function(_0x47dd3f,_0x5620e5){return _0x47dd3f!==_0x5620e5;},_0x182a68[_0x43f238(0x340,0xec)]=_0x43f238(_0x3389c7._0x22f836,0x68e),_0x182a68['iOtpG']=function(_0x554547,_0x163621){return _0x554547===_0x163621;},_0x182a68[_0x43f238(0x1e0,-_0x3389c7._0x1db4f5)]=function(_0x35322a,_0x139ad2){return _0x35322a>_0x139ad2;};function _0x43f238(_0x76e5a8,_0x54c274){return _0x2420cb(_0x76e5a8- -0x399,_0x54c274);}const _0x25c422=_0x182a68;try{const _0xada686=JSON[_0x2d0835(_0x3389c7._0xc92be2,0x39a)](_0x2735c0);if(_0xada686[_0x43f238(0x64a,0x5cb)]!=='req')return null;if(_0x25c422['KxvSA'](_0xada686[_0x2d0835(-_0x3389c7._0x4055cc,0x173)],'connect')&&_0xada686[_0x43f238(_0x3389c7._0x3548c1,0x5a)]!==_0x43f238(_0x3389c7._0x49f31e,0x641)+'start')return null;const _0x1cb12d=_0xada686[_0x2d0835(_0x3389c7._0x5cae58,-0x1b)]?.['device']?.['nonce'],_0x23cb5a=_0xada686[_0x2d0835(0x155,0x1d2)]?.['auth'];return{'id':typeof _0xada686['id']===_0x25c422['rhqfT']&&_0xada686['id'][_0x2d0835(-_0x3389c7._0xaa6383,-_0x3389c7._0x112017)]()?_0xada686['id']['trim']():null,'method':_0xada686[_0x2d0835(-_0x3389c7._0x4055cc,-_0x3389c7._0x538bbd)],'noncePresent':_0x25c422['iOtpG'](typeof _0x1cb12d,_0x2d0835(0x3eb,_0x3389c7._0x3a3ada))&&_0x25c422['yOtWA'](_0x1cb12d['length'],0x0),'nonceLength':typeof _0x1cb12d==='string'?_0x1cb12d[_0x43f238(0x25c,0x267)]:null,'authFields':_0x23cb5a&&typeof _0x23cb5a==='object'?Object[_0x2d0835(0x18c,0x380)](_0x23cb5a)[_0x2d0835(_0x3389c7._0x5e4d4d,_0x3389c7._0x523e40)]():[]};}catch{return null;}}function parsePairingRequestFromError(_0x197bc3,_0x2da108=Date[_0x2420cb(0x664,0x8c4)]()){const _0x470180={_0x18b448:0x2cb,_0x5808c5:0x5f8,_0x5a8a2f:0x4ad,_0x3b5b03:0x33f,_0x2cea18:0x37f,_0x152a19:0x3c7,_0x9bcdfe:0x56b,_0x358553:0x2fc,_0x46d76c:0xf5,_0x4eef1c:0x448,_0x46737c:0x40a,_0x108496:0x57b,_0x4ee9d6:0x144,_0x14bfc5:0x712,_0x53d719:0x545,_0x52f10d:0x514,_0x5bc0a6:0x38f,_0x1eec97:0x38d,_0x45cdd7:0x559,_0x3db4c4:0x6fc,_0x286a2c:0x61a,_0x423521:0x2c8,_0x7338b6:0x58a,_0x1fbadb:0x177,_0x4e1c23:0x474,_0x1a15ce:0x5e8,_0x4ee572:0x617},_0x2664e6={_0x32b888:0x2e0};function _0x445c6a(_0x20f72a,_0x309364){return _0x2420cb(_0x309364- -_0x2664e6._0x32b888,_0x20f72a);}function _0x31cdd0(_0x4e32ed,_0x495893){return _0x2420cb(_0x4e32ed- -0x497,_0x495893);}const _0x35f7ca={'EfzXi':function(_0x490d9a,_0x587434){return _0x490d9a!==_0x587434;},'ZplOR':function(_0x4a4e73,_0xb32481){return _0x4a4e73(_0xb32481);},'pPmeR':function(_0x1994e1,_0x27b054,_0xa6d17e){return _0x1994e1(_0x27b054,_0xa6d17e);},'gsJYk':_0x31cdd0(0x398,0x4bd)};try{const _0x3bff75=JSON[_0x31cdd0(0x4cc,0x3ce)](_0x197bc3);if(_0x35f7ca['EfzXi'](_0x3bff75[_0x445c6a(0x7aa,0x703)],_0x445c6a(0x3ba,_0x470180._0x18b448))||_0x3bff75['ok']!==![]||!_0x3bff75[_0x445c6a(_0x470180._0x5808c5,0x664)])return null;const _0x1e3f66=typeof _0x3bff75[_0x31cdd0(_0x470180._0x5a8a2f,_0x470180._0x3b5b03)][_0x31cdd0(_0x470180._0x2cea18,_0x470180._0x152a19)]===_0x31cdd0(_0x470180._0x9bcdfe,_0x470180._0x358553)?_0x3bff75['error'][_0x31cdd0(0x37f,0x335)]:'',_0x5f3024=typeof _0x3bff75['error']['message']==='string'?_0x3bff75['error'][_0x445c6a(_0x470180._0x46d76c,0x2bb)]:'';if(!_0x1e3f66[_0x31cdd0(_0x470180._0x4eef1c,0x1e4)](_0x31cdd0(_0x470180._0x46737c,_0x470180._0x108496)+'ED')&&!_0x1e3f66['includes'](_0x445c6a(0x3ba,0x3ed)+_0x445c6a(_0x470180._0x4ee9d6,0x1ff))&&!_0x5f3024[_0x445c6a(0x53a,0x5ff)]('NOT_PAIR'+'ED')&&!_0x5f3024['includes'](_0x31cdd0(0x571,_0x470180._0x14bfc5)+_0x445c6a(_0x470180._0x53d719,0x69f)))return null;const _0x15dec1=_0x3bff75[_0x445c6a(0x703,0x664)][_0x445c6a(0x42a,_0x470180._0x52f10d)]??_0x3bff75['error'][_0x31cdd0(_0x470180._0x5bc0a6,_0x470180._0x1eec97)]??{},_0x2391c5=firstString(_0x15dec1[_0x31cdd0(_0x470180._0x45cdd7,_0x470180._0x3db4c4)+'d'],_0x35f7ca[_0x445c6a(_0x470180._0x286a2c,0x62b)](extractRequestIdFromMessage,_0x5f3024),'unknown');return{'requestId':_0x2391c5,'deviceId':_0x35f7ca[_0x445c6a(0x237,_0x470180._0x423521)](firstString,_0x15dec1[_0x31cdd0(0x247,0x3ae)],''),'displayName':firstNullableString(_0x15dec1['displayN'+'ame']),'platform':firstNullableString(_0x15dec1[_0x31cdd0(0x162,0x7d)]),'deviceFamily':firstNullableString(_0x15dec1[_0x31cdd0(0x350,_0x470180._0x7338b6)+_0x31cdd0(_0x470180._0x1fbadb,-0xc3)]),'role':firstNullableString(_0x15dec1['role']),'remoteIp':_0x35f7ca[_0x31cdd0(_0x470180._0x4e1c23,_0x470180._0x1a15ce)](firstNullableString,_0x15dec1[_0x445c6a(_0x470180._0x4ee572,0x648)]),'receivedAtMs':_0x2da108,'status':_0x35f7ca['gsJYk']};}catch{return null;}}function parsePairResolvedEvent(_0x1b54bb){const _0x7b7e57={_0x762421:0x230,_0x1daed0:0x411,_0x4ac0ad:0x5fc,_0x203f71:0x44b,_0x4faf27:0x2b7,_0x555ba2:0x769,_0x14aeed:0x88e,_0x233d3d:0x6be,_0x51e3e0:0x744,_0x307e01:0x1f7,_0x228c72:0x83b,_0x1aa17c:0x7e7,_0x1baae6:0x215,_0x18bf9b:0x9a1,_0xc9ec26:0x969,_0x394c93:0x55a,_0x405d2d:0x4bc,_0x236029:0x9b3,_0x20613f:0x236,_0x43b1f3:0x45e,_0x15c9bf:0x3ec,_0x4c2201:0x777},_0x39edb6={_0x30f4dc:0x4f},_0x3d2470={};function _0x47a34a(_0x2a77ab,_0x38742e){return _0x2420cb(_0x2a77ab- -_0x39edb6._0x30f4dc,_0x38742e);}function _0x311a5c(_0x186149,_0x3adaef){return _0x2420cb(_0x3adaef- -0x3c3,_0x186149);}_0x3d2470[_0x311a5c(_0x7b7e57._0x762421,0x2d4)]=_0x311a5c(0x233,0x404),_0x3d2470[_0x47a34a(0x969,0x857)]=function(_0x46ad0f,_0x2465f8){return _0x46ad0f===_0x2465f8;},_0x3d2470[_0x311a5c(0x3af,_0x7b7e57._0x1daed0)]=_0x311a5c(_0x7b7e57._0x4ac0ad,0x63f),_0x3d2470['eJTRq']=_0x311a5c(_0x7b7e57._0x203f71,_0x7b7e57._0x4faf27),_0x3d2470['aBiZW']=_0x47a34a(0x93b,0x6fd);const _0x5e3563=_0x3d2470;try{const _0x39d5c9=JSON[_0x311a5c(_0x7b7e57._0x555ba2,0x5a0)](_0x1b54bb);if(_0x39d5c9[_0x311a5c(_0x7b7e57._0x14aeed,0x620)]!==_0x5e3563[_0x47a34a(0x648,_0x7b7e57._0x233d3d)]||_0x39d5c9['event']!=='device.p'+'air.reso'+_0x47a34a(0x4f6,_0x7b7e57._0x51e3e0)||!_0x39d5c9[_0x311a5c(0x326,_0x7b7e57._0x307e01)])return null;const _0x3b8ac8=_0x5e3563[_0x47a34a(0x969,_0x7b7e57._0x228c72)](typeof _0x39d5c9['payload']['requestI'+'d'],_0x5e3563[_0x47a34a(0x785,_0x7b7e57._0x1aa17c)])?_0x39d5c9[_0x311a5c(_0x7b7e57._0x1baae6,0x1f7)][_0x47a34a(_0x7b7e57._0x18bf9b,_0x7b7e57._0xc9ec26)+'d'][_0x47a34a(_0x7b7e57._0x394c93,_0x7b7e57._0x405d2d)]():'';if(!_0x3b8ac8)return null;const _0x6c595=_0x5e3563[_0x47a34a(_0x7b7e57._0xc9ec26,0x867)](typeof _0x39d5c9['payload']['decision'],_0x47a34a(_0x7b7e57._0x236029,0x8fe))?_0x39d5c9[_0x311a5c(_0x7b7e57._0x20613f,0x1f7)]['decision']:'unknown',_0x5cb4e1=_0x6c595===_0x5e3563[_0x311a5c(0x438,_0x7b7e57._0x43b1f3)]||_0x6c595===_0x311a5c(_0x7b7e57._0x15c9bf,0x497)?_0x6c595:_0x5e3563[_0x47a34a(0x5df,0x814)],_0x337f5e={};return _0x337f5e[_0x311a5c(0x740,0x62d)+'d']=_0x3b8ac8,_0x337f5e[_0x47a34a(_0x7b7e57._0x4c2201,0x99c)]=_0x5cb4e1,_0x337f5e;}catch{return null;}}function parseResponseEnvelopeMeta(_0x5323ac){const _0x253989={_0x57d8e6:0x40c,_0x2f4eff:0x37,_0x5790a5:0x4e5,_0x88a8e9:0x141,_0x28e405:0x339,_0x59ee1a:0x67e,_0xdccc88:0x714,_0x3f3e5c:0x51f,_0x1078a3:0x2bb,_0x328651:0x80,_0x302b1e:0x65e,_0x2240e5:0x4f7,_0x20075c:0x3b7,_0xcd6858:0x574,_0x205270:0x656,_0x280eb4:0x12a,_0x34ec37:0x154,_0x1c3c37:0x37,_0xc801cd:0x34e,_0x373dbd:0x1c3,_0x29b464:0x2ad,_0x41ac74:0x5b2},_0x5ab4f3={_0x1a62f0:0x6ec},_0x10d80c={_0x562dca:0x2ee},_0x16d05a={};_0x16d05a[_0x21a441(_0x253989._0x57d8e6,0x484)]=function(_0x25a78a,_0x441343){return _0x25a78a!==_0x441343;};function _0x21a441(_0x35a46c,_0x3c3bf9){return _0x2420cb(_0x3c3bf9- -_0x10d80c._0x562dca,_0x35a46c);}_0x16d05a['UHPjA']=function(_0x3b0140,_0x1436fe){return _0x3b0140===_0x1436fe;},_0x16d05a[_0x210ad8(_0x253989._0x2f4eff,0xcf)]=function(_0xb2d251,_0x162168){return _0xb2d251===_0x162168;};function _0x210ad8(_0x45d285,_0x31d3da){return _0x2420cb(_0x45d285- -_0x5ab4f3._0x1a62f0,_0x31d3da);}const _0x1cf52f=_0x16d05a;try{const _0x5ce3e5=JSON[_0x21a441(0x75d,0x675)](_0x5323ac);if(_0x1cf52f[_0x21a441(_0x253989._0x5790a5,0x484)](_0x5ce3e5['type'],_0x210ad8(-_0x253989._0x88a8e9,-_0x253989._0x28e405)))return null;if(typeof _0x5ce3e5['id']!==_0x21a441(_0x253989._0x59ee1a,_0x253989._0xdccc88)||!_0x5ce3e5['id'][_0x21a441(_0x253989._0x3f3e5c,_0x253989._0x1078a3)]())return null;return{'id':_0x5ce3e5['id'][_0x21a441(_0x253989._0x328651,0x2bb)](),'ok':_0x1cf52f[_0x21a441(_0x253989._0x302b1e,_0x253989._0x2240e5)](_0x5ce3e5['ok'],!![]),'errorCode':typeof _0x5ce3e5[_0x210ad8(0x258,_0x253989._0x20075c)]?.[_0x210ad8(0x12a,0x12b)]===_0x210ad8(0x316,0x28e)&&_0x5ce3e5[_0x21a441(_0x253989._0xcd6858,_0x253989._0x205270)][_0x210ad8(0x12a,0x134)][_0x21a441(0x3a9,0x2bb)]()?_0x5ce3e5['error'][_0x210ad8(_0x253989._0x280eb4,0x84)][_0x21a441(_0x253989._0x34ec37,0x2bb)]():null,'errorMessage':_0x1cf52f[_0x210ad8(_0x253989._0x1c3c37,0x40)](typeof _0x5ce3e5['error']?.[_0x210ad8(-0x151,-_0x253989._0xc801cd)],_0x21a441(0x716,0x714))&&_0x5ce3e5['error'][_0x21a441(_0x253989._0x373dbd,_0x253989._0x29b464)]['trim']()?_0x5ce3e5[_0x21a441(_0x253989._0x41ac74,_0x253989._0x205270)]['message']['trim']():null};}catch{return null;}}function _0x410a57(_0x38be3a,_0x397965){return _0x483f(_0x397965- -0x3c3,_0x38be3a);}function firstString(..._0x5c767f){const _0x51c829={_0x16fc7c:0x857,_0x21d3e5:0x62f,_0x3594cd:0x518,_0x201479:0x62f,_0x145de6:0x255,_0xc04689:0xd9},_0x25ab76={_0x28f30c:0x40},_0x1ff97c={};_0x1ff97c[_0x2f5d4f(_0x51c829._0x16fc7c,_0x51c829._0x21d3e5)]=_0x2f5d4f(0xc11,0xa42);const _0x32d8ea=_0x1ff97c;function _0x454f0f(_0x59d3b9,_0x2bc786){return _0x2420cb(_0x2bc786- -0x682,_0x59d3b9);}for(const _0x579b78 of _0x5c767f){if(typeof _0x579b78===_0x32d8ea[_0x2f5d4f(_0x51c829._0x3594cd,_0x51c829._0x201479)]&&_0x579b78['trim']())return _0x579b78[_0x454f0f(-_0x51c829._0x145de6,-_0x51c829._0xc04689)]();}function _0x2f5d4f(_0x2a290f,_0x1e0b31){return _0x2420cb(_0x1e0b31-_0x25ab76._0x28f30c,_0x2a290f);}return'';}function firstNullableString(_0x3ae0e3){const _0x18f3e5={_0x2bf537:0x9f,_0x9bbace:0x1f5},_0x128b29={_0x3e3c5a:0x1ac};function _0x2dac48(_0x5d3f89,_0x47613e){return _0x2420cb(_0x5d3f89- -0x3b4,_0x47613e);}function _0xd041f8(_0x190948,_0x3c3236){return _0x2420cb(_0x190948- -_0x128b29._0x3e3c5a,_0x3c3236);}return typeof _0x3ae0e3===_0xd041f8(0x856,0x7bf)&&_0x3ae0e3[_0x2dac48(0x1f5,-_0x18f3e5._0x2bf537)]()?_0x3ae0e3[_0x2dac48(_0x18f3e5._0x9bbace,0x2c8)]():null;}function extractRequestIdFromMessage(_0x564602){const _0x49900b={_0x94cc90:0x54c},_0x9a2f64=_0x564602[_0x12440e(0x436,0x569)](/requestId[:\s]*([a-f0-9-]+)/i);function _0x12440e(_0x13ae45,_0x50502a){return _0x410a57(_0x13ae45,_0x50502a-_0x49900b._0x94cc90);}return _0x9a2f64?.[0x1]??null;}import{randomUUID as _0x213d64}from'crypto';import{setTimeout as _0x123d85}from'timers/promises';import _0x4221f7 from'ws';var HEARTBEAT_INTERVAL_MS=0x2710,HEARTBEAT_TIMEOUT_MS=0x88b8,GATEWAY_RETRY_DELAY_MS=0x4b0,RECONNECT_BASE_DELAY_MS=0x3e8,RECONNECT_MAX_DELAY_MS=0x3a98,CONNECT_HANDSHAKE_WARN_DELAY_MS=0x1f40,MAX_PENDING_GATEWAY_MESSAGES=0x100,MAX_DEVICE_DETAILS=0x20,MAX_PENDING_PAIR_REQUESTS=0x10,BridgeRuntime=class{[_0x2420cb(0x89f,0x84c)];[_0x2420cb(0x5f2,0x5a2)+_0x410a57(0x23d,0x2a9)]=null;[_0x410a57(0x405,0x333)+_0x410a57(-0x21d,-0x1aa)]=null;['relayCon'+_0x2420cb(0x86b,0x820)]=![];[_0x410a57(0x374,0x23a)+'onnectin'+'g']=![];[_0x410a57(0x270,0x11b)]=!![];[_0x2420cb(0x7dc,0x548)+_0x2420cb(0x506,0x6d5)]=0x0;[_0x410a57(-0x159,-0x44)+_0x410a57(-0x453,-0x1d3)+_0x2420cb(0x8ac,0x811)]=0x0;[_0x410a57(0x1f,-0x1f3)+_0x410a57(0x78,0x289)]=null;[_0x2420cb(0x90c,0xafb)+_0x410a57(-0x77,0x1c7)+'r']=null;[_0x2420cb(0x72d,0x7c2)+_0x410a57(0x197,0x289)]=null;[_0x410a57(-0x237,-0xd2)+_0x410a57(-0xdb,0xde)+_0x410a57(0xcb,-0x149)]=[];[_0x2420cb(0x88f,0xa43)+_0x410a57(0x268,0x239)+_0x410a57(-0x35e,-0xfd)]=![];[_0x2420cb(0x90a,0xa30)+_0x2420cb(0x71e,0x4e3)+'daryPend'+_0x410a57(0x330,0xd2)]=![];['clientDe'+_0x410a57(-0xbf,0x13d)+_0x410a57(0x14c,0x147)]=null;[_0x2420cb(0x90a,0xa50)+_0x410a57(0x3e,0x1eb)+'AtMs']=null;['inFlight'+_0x2420cb(0x7d7,0x92c)+_0x410a57(-0x3f,0x239)+'s']=new Map();['snapshot'];constructor(_0x967089){const _0x508725={_0x31d202:0x149,_0x3bde93:0x2d3,_0x210c94:0x6fc,_0x499c89:0x85d,_0x3bbe89:0x670},_0x413eb2={_0x42bd80:0x631};function _0x5e85e0(_0x2a40cc,_0xc23d4f){return _0x2420cb(_0xc23d4f-0x57,_0x2a40cc);}function _0x158796(_0x396c25,_0x212de3){return _0x2420cb(_0x212de3- -_0x413eb2._0x42bd80,_0x396c25);}this['options']=_0x967089,this[_0x158796(-_0x508725._0x31d202,-0x44)]={'running':![],'relayConnected':![],'gatewayConnected':![],'gatewayId':_0x967089['config'][_0x158796(_0x508725._0x3bde93,0x150)+'d'],'instanceId':_0x967089[_0x5e85e0(_0x508725._0x210c94,0x670)]['instance'+'Id'],'relayUrl':_0x967089[_0x5e85e0(_0x508725._0x499c89,_0x508725._0x3bbe89)][_0x5e85e0(0x4db,0x5a8)],'gatewayUrl':_0x967089[_0x5e85e0(0xa71,0xa4d)+'rl'],'clientCount':0x0,'connectedDevices':[],'pendingPairRequests':[],'lastError':null,'lastUpdatedMs':Date[_0x158796(0x3,0x33)]()};}[_0x410a57(0x135,0x1f)](){const _0x4e740b={_0x38ad15:0x508,_0x598a5d:0x520,_0x39eb2c:0x664,_0x176685:0x45,_0x2ac57a:0x5c9,_0x347bd3:0x4a4,_0x20fcbc:0x5e5,_0x47661c:0x833,_0x2cd59f:0x722,_0x540157:0x537,_0x58528a:0x508,_0x359805:0x914,_0x5c4f40:0x538,_0x4a82bb:0x709,_0x4c4a00:0x91e,_0x265fe4:0x77d,_0x550a6a:0x80b,_0x5c46f3:0x439},_0x2ca4af={_0x2683e2:0x4b4},_0x3d2a91={};_0x3d2a91['aapQq']='2|3|4|1|'+'0';const _0x7a2127=_0x3d2a91,_0x1d23ce=_0x7a2127[_0x11689b(-0x237,0x3c)][_0x11689b(_0x4e740b._0x38ad15,_0x4e740b._0x598a5d)]('|');let _0x2b122e=0x0;function _0x11689b(_0x4dde7c,_0x14eb57){return _0x2420cb(_0x14eb57- -_0x2ca4af._0x2683e2,_0x4dde7c);}function _0x197da3(_0x4699c5,_0x22611b){return _0x2420cb(_0x22611b- -0xe2,_0x4699c5);}while(!![]){switch(_0x1d23ce[_0x2b122e++]){case'0':void this[_0x197da3(_0x4e740b._0x39eb2c,0x73a)+_0x11689b(-_0x4e740b._0x176685,0x38)]();continue;case'1':this['log'](_0x197da3(_0x4e740b._0x2ac57a,_0x4e740b._0x347bd3)+_0x197da3(_0x4e740b._0x20fcbc,0x651)+_0x197da3(0x849,0x75c)+_0x197da3(_0x4e740b._0x47661c,_0x4e740b._0x2cd59f)+this[_0x11689b(0x62a,0x3eb)][_0x197da3(0x4e0,_0x4e740b._0x540157)][_0x197da3(_0x4e740b._0x58528a,0x69f)+'d']+('\x20gateway'+'Url=')+this[_0x11689b(0x600,0x3eb)][_0x197da3(0x95c,_0x4e740b._0x359805)+'rl']);continue;case'2':if(!this[_0x197da3(_0x4e740b._0x5c4f40,_0x4e740b._0x4a82bb)])return;continue;case'3':this['stopped']=![];continue;case'4':this[_0x197da3(0x968,_0x4e740b._0x4c4a00)+_0x197da3(_0x4e740b._0x265fe4,_0x4e740b._0x550a6a)]({'running':!![],'gatewayUrl':this[_0x11689b(_0x4e740b._0x5c46f3,0x3eb)][_0x11689b(0x5b5,0x542)+'rl']});continue;}break;}}async['stop'](){const _0x599ee7={_0x48743a:0x3e6,_0x2b87c0:0x565,_0x2818bc:0x521,_0x528d71:0x2dd,_0x36858c:0x490,_0x4f0190:0xc,_0xbea378:0x273,_0x149968:0x36c,_0x11c2e0:0x62d,_0x5011d9:0x352,_0xa9d65a:0x77d,_0x321f0b:0xd5,_0x182aca:0x481,_0x4517e5:0x6af,_0x4f9aca:0x739,_0x3a43b9:0x29,_0x46b270:0x25c,_0x42bc60:0x301,_0x51bf4b:0x63f,_0x367d9b:0x640,_0x779258:0x58d,_0x6fb904:0x4df,_0x19b8f1:0x4c7,_0x32c0f2:0x582,_0x50e79e:0x587,_0x5454b2:0x54d,_0x280794:0x754,_0xf03ba6:0x640,_0x4d46c2:0x86c,_0xee9deb:0x3c5,_0x345dd0:0x5e9,_0x461d6d:0x551,_0xe8ff84:0x50b,_0x3995e5:0x58e,_0x5ad008:0x46a,_0x4d9eb2:0x5a1,_0x3b0b47:0x420,_0x3c7ce0:0x5f8,_0x20d917:0x48f,_0x4be470:0x80f,_0x34700f:0x77a,_0x597553:0x300,_0x3b14f7:0x3a3,_0x3a2278:0x3d3},_0x44cfcb={'JChgX':function(_0x49be91,_0x4557fa){return _0x49be91(_0x4557fa);}};if(this[_0x164235(_0x599ee7._0x48743a,_0x599ee7._0x2b87c0)])return;function _0x164235(_0x235f99,_0x7eb0e){return _0x2420cb(_0x7eb0e- -0x286,_0x235f99);}this[_0x14c883(0x2be,_0x599ee7._0x2818bc)]=!![],this[_0x164235(_0x599ee7._0x528d71,_0x599ee7._0x36858c)+_0x164235(_0x599ee7._0x4f0190,_0x599ee7._0xbea378)](),this[_0x164235(0x4ba,_0x599ee7._0x149968)+_0x14c883(_0x599ee7._0x11c2e0,0x6af)]?.[_0x164235(0xda,_0x599ee7._0x5011d9)](),this[_0x164235(0x6b8,_0x599ee7._0xa9d65a)+'ocket']?.[_0x164235(_0x599ee7._0x321f0b,_0x599ee7._0x5011d9)](),this[_0x164235(0x135,0x36c)+_0x14c883(_0x599ee7._0x182aca,_0x599ee7._0x4517e5)]=null,this[_0x14c883(0x964,_0x599ee7._0x4f9aca)+_0x14c883(-_0x599ee7._0x3a43b9,_0x599ee7._0x46b270)]=null,this['pendingG'+_0x164235(0x308,0x528)+_0x164235(0x52f,_0x599ee7._0x42bc60)]=[],this[_0x14c883(0x4f3,0x5c5)+_0x14c883(0x6ac,_0x599ee7._0x51bf4b)+_0x14c883(0x3d3,0x309)]=![],this[_0x14c883(0x4dc,_0x599ee7._0x367d9b)+_0x14c883(_0x599ee7._0x779258,0x454)+_0x164235(0x510,_0x599ee7._0x6fb904)+'ing']=![],this[_0x164235(0x680,_0x599ee7._0x19b8f1)+_0x164235(_0x599ee7._0x32c0f2,_0x599ee7._0x50e79e)+_0x14c883(0x5e9,_0x599ee7._0x5454b2)]=null,this[_0x14c883(_0x599ee7._0x280794,_0x599ee7._0xf03ba6)+_0x14c883(_0x599ee7._0x4d46c2,0x5f1)+_0x14c883(0x383,_0x599ee7._0xee9deb)]=null;function _0x14c883(_0x255ae5,_0x53e943){return _0x2420cb(_0x53e943- -0x2ca,_0x255ae5);}this[_0x164235(0x421,_0x599ee7._0x345dd0)+_0x164235(0x572,_0x599ee7._0x461d6d)+_0x14c883(0x4b7,_0x599ee7._0x51bf4b)+'s'][_0x14c883(_0x599ee7._0xe8ff84,0x43d)](),this[_0x164235(_0x599ee7._0x3995e5,0x582)+_0x14c883(_0x599ee7._0x5ad008,_0x599ee7._0x4d9eb2)]=![],this['gatewayC'+_0x164235(_0x599ee7._0x3b0b47,_0x599ee7._0x3c7ce0)+'g']=![];const _0x3e7aa7={};_0x3e7aa7[_0x14c883(0x8f1,0x6fd)]=![],_0x3e7aa7[_0x164235(0x654,0x582)+_0x164235(0x58c,0x700)]=![],_0x3e7aa7[_0x14c883(_0x599ee7._0x20d917,_0x599ee7._0xf03ba6)+_0x14c883(0x7fa,0x5f1)]=![],_0x3e7aa7[_0x14c883(0x2f8,0x434)+'unt']=0x0,_0x3e7aa7['lastErro'+'r']=null,this[_0x164235(_0x599ee7._0x4be470,_0x599ee7._0x34700f)+'apshot'](_0x3e7aa7),this[_0x14c883(0x292,0x30f)](_0x164235(0x2fc,_0x599ee7._0x597553)+_0x14c883(_0x599ee7._0x3b14f7,0x521)),await _0x44cfcb[_0x14c883(_0x599ee7._0x3a2278,0x4dc)](_0x123d85,0x19);}async['approveP'+_0x2420cb(0x9a4,0x971)+'st'](_0x44fd6a){const _0x6728f4={_0x1261a1:0x5e2,_0x508755:0x560,_0x2f64b0:0x396,_0x15eb71:0x11b,_0x322355:0x687,_0x37706e:0x101,_0x2c390f:0x3c,_0x1bfbc6:0x232},_0x16b14e={_0x21bc4c:0x15b},_0x3fea7e={_0x54ce38:0x6b6};function _0xb93c84(_0x14e7e4,_0x55ab7b){return _0x2420cb(_0x14e7e4- -_0x3fea7e._0x54ce38,_0x55ab7b);}const _0x2dd56a={};_0x2dd56a[_0xb93c84(0x33a,0x2e4)+'d']=_0x44fd6a,this['sendGate'+_0xb93c84(-0x26,0x1b3)+'st'](_0x24ea3a(_0x6728f4._0x1261a1,_0x6728f4._0x508755)+_0xb93c84(0x2be,_0x6728f4._0x2f64b0)+_0xb93c84(_0x6728f4._0x15eb71,0x350),_0x2dd56a);function _0x24ea3a(_0x3221b9,_0x420a57){return _0x2420cb(_0x420a57- -_0x16b14e._0x21bc4c,_0x3221b9);}this[_0x24ea3a(0x74d,_0x6728f4._0x322355)+_0xb93c84(-_0x6728f4._0x37706e,-0x16)+'esolved'](_0x44fd6a,_0xb93c84(-_0x6728f4._0x2c390f,-_0x6728f4._0x1bfbc6));}async[_0x410a57(0x20c,0x4a)+_0x410a57(0x214,0x19c)+'t'](_0x5bd257){const _0x30b3bc={_0x499902:0x688,_0x53c0b3:0x4d9,_0x24e929:0x68e,_0x46689f:0x5c0,_0x2e515c:0x865},_0x2abda6={_0x30023c:0x3c7},_0x124227={};function _0x561cc2(_0x373e3b,_0x41133f){return _0x410a57(_0x373e3b,_0x41133f-0x6db);}function _0xf81cb2(_0x4a9be2,_0x2a68a2){return _0x410a57(_0x4a9be2,_0x2a68a2-_0x2abda6._0x30023c);}_0x124227['requestI'+'d']=_0x5bd257,this[_0xf81cb2(0x62d,0x45a)+'wayReque'+'st'](_0xf81cb2(0x282,0x3b2)+_0x561cc2(0xb8d,0x997)+'ct',_0x124227),this[_0xf81cb2(_0x30b3bc._0x499902,_0x30b3bc._0x53c0b3)+_0x561cc2(_0x30b3bc._0x24e929,_0x30b3bc._0x46689f)+_0xf81cb2(-0x8c,0x1e0)](_0x5bd257,_0x561cc2(0x89f,_0x30b3bc._0x2e515c));}[_0x410a57(0x539,0x2f5)+_0x410a57(0x2dc,0x286)](){const _0x1d458c={_0x58168f:0x3bc,_0x2c9fbc:0x3d7,_0x33f5e9:0x250,_0x5781b0:0x31d,_0x397b12:0x5aa,_0x3257b9:0x7f4,_0x3ae415:0x29e,_0x3d7e9f:0x607,_0x3cd208:0x4fa,_0x1a3c73:0x2cf},_0x397e4f={_0x290ee3:0x302},_0x5616b5={_0x31f4dc:0x333},_0x580751={...this['snapshot']};_0x580751[_0x4d8438(_0x1d458c._0x58168f,0x34e)+'dDevices']=[...this[_0x4d8438(_0x1d458c._0x2c9fbc,_0x1d458c._0x33f5e9)][_0x11000f(_0x1d458c._0x5781b0,_0x1d458c._0x397b12)+'dDevices']],_0x580751[_0x11000f(0x360,0x4ba)+_0x11000f(0x5d6,_0x1d458c._0x3257b9)+_0x11000f(_0x1d458c._0x3ae415,0x2dc)]=[...this['snapshot'][_0x4d8438(0x449,0x391)+_0x4d8438(0x428,_0x1d458c._0x3d7e9f)+_0x4d8438(_0x1d458c._0x3cd208,_0x1d458c._0x1a3c73)]];function _0x4d8438(_0x2ae9ac,_0x33c76d){return _0x410a57(_0x2ae9ac,_0x33c76d-_0x5616b5._0x31f4dc);}function _0x11000f(_0x2ca4b0,_0x5d156f){return _0x410a57(_0x5d156f,_0x2ca4b0-_0x397e4f._0x290ee3);}return _0x580751;}async[_0x410a57(0x1b3,0x14c)+_0x2420cb(0x4ec,0x4b4)](){const _0x4cf5a7={_0x330194:0x4a5,_0x330bde:0x5a8,_0x1157e9:0x44a,_0x22150b:0x21f,_0x91595e:0x22e,_0x29e5ef:0x62b,_0x56e817:0x665,_0x1a2112:0x7a8,_0x2357de:0x3de,_0x895e32:0x4e1,_0x2561ba:0x1c2,_0x2f76e9:0x40f,_0x196d74:0x860,_0x38fa8d:0xadb,_0x157389:0x4d8,_0x5c5e59:0x5c2,_0x33fa8f:0x581,_0x161394:0x39,_0x3a7bc1:0x234,_0x4f0c8a:0x319,_0x258acd:0x29b,_0x338157:0x468,_0x1dea3d:0x405,_0x398e9a:0x21e,_0x274065:0x553,_0x391707:0x14b},_0x5e05bb={_0x55874c:0x76c,_0x349d92:0x195,_0x384cad:0x244,_0x209abe:0x717,_0x3b83f8:0x98c,_0x2c05de:0x848,_0x57b381:0x118,_0x4e3317:0x39f,_0x370dc6:0x45f,_0x4fd97e:0x1d2,_0x2cb55b:0x2e1,_0xa94f6d:0x79e,_0x3490cc:0x9ec,_0x3fc99b:0x60c,_0x2974e4:0x53f,_0x51eb10:0x54c,_0x18a5da:0x35c,_0x1bb513:0x7c,_0x220e6e:0x48a,_0x1c7b32:0x4a8,_0x1c6394:0x527,_0x28724d:0x474,_0x21297b:0x9c,_0x16a82e:0x29d,_0x4646c5:0x6b1,_0x3d469c:0x5d4},_0x163f8c={_0x4c0fa9:0x5ba,_0x1ae591:0x7bf},_0x3f6d02={_0x2c2bd2:0x1d7},_0x43e721={_0x537f03:0x3c1},_0x3a4ae5={_0x48d002:0x430},_0x2c4e44={_0x599497:0x11f},_0x1b3a9d={_0x1b1c01:0x80c,_0x3e6ef6:0x449,_0x6bb119:0x836,_0x411146:0xaf4,_0x42de61:0xad8,_0x4c8e0a:0x7be,_0x24afb3:0x7e1,_0x3b9a27:0x516,_0x3a23e9:0x72a,_0x468ec5:0x7fd,_0x2ff867:0x49c,_0x1477ee:0x506,_0x1135af:0x623,_0x188237:0x547,_0x2def71:0x7b1,_0x5f529d:0x68b,_0x327e26:0x43c,_0x5fc972:0x79a,_0x2005df:0x53d,_0x42dd2e:0x887,_0x3c3e17:0x7a9,_0x3315c1:0x6ba,_0x51904d:0x882},_0x20d1e3={_0x4d9e6c:0x1d1},_0x478f39={_0x1b8992:0x95},_0x148b7c={'UWDiX':function(_0x196322,_0x1f7f28){return _0x196322(_0x1f7f28);},'CcOLU':_0x2e32eb(0x811,0x819),'aNsen':_0x2e32eb(_0x4cf5a7._0x330194,0x35f)};if(this[_0x2e32eb(0x6b8,_0x4cf5a7._0x330bde)]||this[_0x3d059d(0x345,_0x4cf5a7._0x1157e9)+_0x2e32eb(0x738,0x725)]||this[_0x3d059d(_0x4cf5a7._0x22150b,_0x4cf5a7._0x91595e)+'pen']())return;this[_0x2e32eb(0x6d5,_0x4cf5a7._0x29e5ef)+_0x2e32eb(0x738,_0x4cf5a7._0x56e817)]=!![],this[_0x3d059d(0x608,0x41e)+'empt']+=0x1;function _0x2e32eb(_0x287780,_0x18b6df){return _0x2420cb(_0x287780- -0x133,_0x18b6df);}const _0x1e7e8e=this[_0x2e32eb(0x6a9,_0x4cf5a7._0x1a2112)+'empt'],_0x4add48=buildRelayWsUrl(this[_0x3d059d(_0x4cf5a7._0x2357de,_0x4cf5a7._0x895e32)][_0x3d059d(_0x4cf5a7._0x2561ba,0x25b)]);this['log']('relay\x20co'+_0x2e32eb(_0x4cf5a7._0x2f76e9,0x314)+_0x2e32eb(_0x4cf5a7._0x196d74,_0x4cf5a7._0x38fa8d)+_0x1e7e8e+_0x3d059d(0x5b3,_0x4cf5a7._0x157389)+redactRelayWsUrl(_0x4add48));const _0x37c863=this['createWe'+_0x2e32eb(_0x4cf5a7._0x5c5e59,_0x4cf5a7._0x33fa8f)](_0x4add48);this[_0x3d059d(-_0x4cf5a7._0x161394,_0x4cf5a7._0x3a7bc1)+'ket']=_0x37c863,_0x37c863[_0x2e32eb(0x48f,_0x4cf5a7._0x4f0c8a)](_0x3d059d(_0x4cf5a7._0x258acd,0x4c3),()=>{function _0x5c31e5(_0x4af98d,_0x92734){return _0x2e32eb(_0x4af98d- -_0x478f39._0x1b8992,_0x92734);}function _0x40d6aa(_0x231500,_0x59dc6f){return _0x2e32eb(_0x231500-_0x20d1e3._0x4d9e6c,_0x59dc6f);}const _0x50bd50=(_0x40d6aa(0x76a,0x8bd)+'0|2|6')[_0x5c31e5(_0x1b3a9d._0x1b1c01,0x69a)]('|');let _0x1ca164=0x0;while(!![]){switch(_0x50bd50[_0x1ca164++]){case'0':this[_0x40d6aa(0x677,0x89e)](_0x5c31e5(_0x1b3a9d._0x3e6ef6,0x6c1)+_0x40d6aa(0x813,_0x1b3a9d._0x6bb119)+_0x40d6aa(0xa51,_0x1b3a9d._0x411146)+_0x1e7e8e);continue;case'1':const _0x238241={};_0x238241[_0x40d6aa(0x8a6,_0x1b3a9d._0x42de61)+_0x5c31e5(_0x1b3a9d._0x4c8e0a,0x5e7)]=!![],_0x238241[_0x40d6aa(0xa5f,_0x1b3a9d._0x24afb3)+'r']=null,this[_0x40d6aa(0xa9e,0xa61)+'apshot'](_0x238241);continue;case'2':this[_0x5c31e5(0x633,_0x1b3a9d._0x3b9a27)+_0x40d6aa(0x72b,0x87d)]();continue;case'3':this[_0x40d6aa(_0x1b3a9d._0x3a23e9,_0x1b3a9d._0x468ec5)+'yActivit'+_0x40d6aa(0x94a,0xa97)]=Date[_0x5c31e5(_0x1b3a9d._0x2ff867,_0x1b3a9d._0x1477ee)]();continue;case'4':this['relayCon'+_0x40d6aa(0x909,0x688)]=![];continue;case'5':if(this[_0x5c31e5(_0x1b3a9d._0x1135af,_0x1b3a9d._0x188237)]||this[_0x40d6aa(0x690,0x87b)+_0x5c31e5(_0x1b3a9d._0x2def71,0x53b)]!==_0x37c863){_0x37c863['close']();return;}continue;case'6':shouldKeepGatewayConnected(this[_0x40d6aa(_0x1b3a9d._0x5f529d,_0x1b3a9d._0x327e26)]['clientCo'+'unt'],summarizePendingGatewayMessages(this[_0x5c31e5(0x436,0x2ba)+_0x5c31e5(0x5e6,_0x1b3a9d._0x5fc972)+_0x5c31e5(0x3bf,0x321)])['connectR'+_0x5c31e5(_0x1b3a9d._0x2005df,0x6ee)])&&this[_0x40d6aa(0x6f7,_0x1b3a9d._0x42dd2e)+_0x5c31e5(_0x1b3a9d._0x3c3e17,_0x1b3a9d._0x3315c1)+_0x5c31e5(0x7be,_0x1b3a9d._0x51904d)]();continue;}break;}}),_0x37c863['on'](_0x2e32eb(_0x4cf5a7._0x338157,_0x4cf5a7._0x1dea3d),(_0x3b0976,_0x547726)=>{function _0xacfa7e(_0x279585,_0xe9ecf7){return _0x2e32eb(_0x279585- -_0x2c4e44._0x599497,_0xe9ecf7);}void this[_0xacfa7e(_0x3a4ae5._0x48d002,0x388)+'layMessa'+'ge'](_0x3b0976,_0x547726);}),_0x37c863['on'](_0x2e32eb(0x730,0x8d1),()=>{function _0x2e1ec3(_0x5ace9f,_0x30c06b){return _0x3d059d(_0x5ace9f,_0x30c06b- -0x317);}function _0x39bfc0(_0x151993,_0x179bda){return _0x3d059d(_0x179bda,_0x151993-_0x43e721._0x537f03);}this[_0x39bfc0(0x68f,0x522)+_0x39bfc0(0x500,0x2e5)+_0x2e1ec3(0x2e7,_0x3f6d02._0x2c2bd2)]=Date['now']();}),_0x37c863[_0x2e32eb(0x48f,_0x4cf5a7._0x398e9a)](_0x148b7c[_0x2e32eb(0x604,_0x4cf5a7._0x274065)],_0x2cdcee=>{const _0x50199b={_0x18dd26:0x20e};function _0x337b36(_0x3c8bd2,_0x2a6352){return _0x2e32eb(_0x2a6352- -0x114,_0x3c8bd2);}function _0x488ea4(_0x3b46ba,_0x5827eb){return _0x2e32eb(_0x5827eb- -_0x50199b._0x18dd26,_0x3b46ba);}this[_0x488ea4(0x51a,0x298)](_0x337b36(_0x163f8c._0x4c0fa9,_0x163f8c._0x1ae591)+_0x337b36(0x2e6,0x401)+_0x148b7c['UWDiX'](String,_0x2cdcee));});function _0x3d059d(_0xf300e7,_0x28277e){return _0x2420cb(_0x28277e- -0x3be,_0xf300e7);}_0x37c863[_0x2e32eb(0x48f,0x42a)](_0x148b7c[_0x3d059d(0x3e0,_0x4cf5a7._0x391707)],(_0x32b656,_0x563b5a)=>{const _0x2a5e1a={_0x20a5d2:0x10};this[_0xbea07e(0x390,0x57f)+_0xbea07e(0x717,_0x5e05bb._0x55874c)]===_0x37c863&&(this[_0x93a7(_0x5e05bb._0x349d92,_0x5e05bb._0x384cad)+_0xbea07e(_0x5e05bb._0x209abe,_0x5e05bb._0x3b83f8)]=null);this[_0xbea07e(0x5a6,0x3f7)+'necting']=![];function _0x93a7(_0x320436,_0x2c4b83){return _0x3d059d(_0x320436,_0x2c4b83-_0x2a5e1a._0x20a5d2);}this[_0xbea07e(0x668,_0x5e05bb._0x2c05de)+_0x93a7(0x219,0x146)](),this[_0x93a7(_0x5e05bb._0x57b381,_0x5e05bb._0x4e3317)+_0x93a7(0x6ea,_0x5e05bb._0x370dc6)+'tedAtMs']=null,this[_0xbea07e(0x6a8,0x5cc)+_0x93a7(0x3fb,0x50d)+_0x93a7(_0x5e05bb._0x4fd97e,_0x5e05bb._0x2cb55b)]=null,this[_0xbea07e(_0x5e05bb._0xa94f6d,_0x5e05bb._0x3490cc)+_0x93a7(_0x5e05bb._0x3fc99b,_0x5e05bb._0x2974e4)]({'relayConnected':![],'gatewayConnected':![],'clientCount':0x0,'lastError':_0x32b656===0x3e8?null:_0x93a7(0xfc,0x30b)+'osed:\x20'+(_0x563b5a[_0x93a7(_0x5e05bb._0x51eb10,_0x5e05bb._0x18a5da)]()||_0x32b656)}),this[_0xbea07e(0x377,0x42d)](_0xbea07e(0x2ca,_0x5e05bb._0x1bb513)+'sconnect'+_0xbea07e(0x577,_0x5e05bb._0x220e6e)+_0x32b656+_0x93a7(0x4de,0x3f3)+(_0x563b5a[_0xbea07e(_0x5e05bb._0x1c7b32,0x464)]()||_0xbea07e(0x3f6,_0x5e05bb._0x1c6394)));function _0xbea07e(_0x330ae9,_0x15ad8b){return _0x3d059d(_0x15ad8b,_0x330ae9-0x15c);}this[_0xbea07e(0x6b2,_0x5e05bb._0x28724d)+_0x93a7(_0x5e05bb._0x21297b,0x2f8)](),this[_0x93a7(0x222,_0x5e05bb._0x16a82e)+'RelayRec'+_0xbea07e(_0x5e05bb._0x4646c5,_0x5e05bb._0x3d469c)]();});}async[_0x410a57(-0x1b,-0x4e)+_0x2420cb(0x96e,0xa58)+'ge'](_0x5a5670,_0xf1ef64){const _0xeff989={_0x23483a:0x1aa,_0x25278e:0x157,_0x32d6bf:0x5a8,_0x57307f:0x7a1,_0x317409:0x149,_0x32d7e5:0x47f,_0x66e65e:0x3e6,_0x273230:0x26e,_0x544dd1:0xaf,_0x5e4f27:0x373,_0xa1906c:0x30e,_0x19a8f1:0x2f6,_0xc685c:0x430,_0x2f4504:0x37e,_0x1b45b0:0x1e0,_0x1a99d5:0x46,_0x34dc64:0x41d,_0x35b882:0x2ad,_0x38c8f3:0x346,_0x3d89ec:0x30c,_0x42d91c:0x50a,_0x5d66b6:0x336},_0x5b2774={_0x80f798:0x304},_0x25c526={'bTpwA':_0x37d74a(_0xeff989._0x23483a,-0x49),'GWTpk':function(_0x5ab731,_0x12c88f){return _0x5ab731(_0x12c88f);}};this['lastRela'+_0x37d74a(0xbf,-_0xeff989._0x25278e)+_0x31173c(_0xeff989._0x32d6bf,_0xeff989._0x57307f)]=Date[_0x37d74a(0x226,_0xeff989._0x317409)]();if(_0xf1ef64){this[_0x37d74a(_0xeff989._0x32d7e5,_0xeff989._0x66e65e)+_0x31173c(0x5e8,0x7c9)+_0x37d74a(_0xeff989._0x273230,_0xeff989._0x544dd1)+_0x31173c(_0xeff989._0x5e4f27,0x2a2)]({'kind':_0x25c526[_0x37d74a(0x10c,_0xeff989._0xa1906c)],'data':_0x25c526[_0x37d74a(_0xeff989._0x19a8f1,0x18e)](normalizeBinary,_0x5a5670)});return;}const _0x26bdf6=normalizeText(_0x5a5670);function _0x31173c(_0xa76541,_0x5bbeec){return _0x2420cb(_0xa76541- -_0x5b2774._0x80f798,_0x5bbeec);}if(_0x26bdf6==null)return;const _0x16fdd7=_0x25c526[_0x31173c(_0xeff989._0xc685c,0x547)](parseControl,_0x26bdf6);if(_0x16fdd7){this[_0x31173c(_0xeff989._0x2f4504,0x3d9)+_0x31173c(_0xeff989._0x1b45b0,-_0xeff989._0x1a99d5)+'ol'](_0x16fdd7[_0x31173c(0x4c3,0x3ae)],_0x16fdd7['count']);return;}const _0x587690=parseConnectStartIdentity(_0x26bdf6);function _0x37d74a(_0x1aa025,_0x45f111){return _0x2420cb(_0x1aa025- -0x43e,_0x45f111);}_0x587690&&this[_0x31173c(_0xeff989._0x34dc64,_0xeff989._0x35b882)+_0x37d74a(_0xeff989._0x38c8f3,0x345)+_0x37d74a(0x303,_0xeff989._0x3d89ec)](_0x587690['id'],_0x587690[_0x37d74a(_0xeff989._0x42d91c,_0xeff989._0x5d66b6)]);const _0x236eec={};_0x236eec['kind']='text',_0x236eec[_0x37d74a(0x263,0x10a)]=_0x26bdf6,this[_0x37d74a(0x47f,0x5d4)+_0x31173c(0x5e8,0x66d)+'tewayMes'+'sage'](_0x236eec);}[_0x2420cb(0x682,0x84b)+_0x410a57(-0x2bf,-0x1ec)+'ol'](_0x431167,_0x24c458){const _0x55d1cf={_0x503562:0x4a9,_0x30f194:0x3f1,_0x19cb18:0x62a,_0x3be269:0x4fb,_0x506502:0x123,_0x12d434:0x1be,_0x16f03:0x40,_0x53db9e:0x276,_0x50b353:0x46b,_0x2b595e:0x123,_0x38fc52:0x303,_0x283b7d:0x4b5,_0x2c1ab3:0x233,_0x571d42:0xd3,_0x3f561e:0x131,_0x4db1ec:0x283,_0x4af46e:0x2e6,_0x251012:0x343,_0x3fd5f6:0x238,_0x126d73:0x34d,_0x3e573c:0x40f,_0x18ac89:0x234,_0x28bb54:0x535,_0x2e5fa3:0x422,_0x28a5ae:0x43f,_0x2f3e8a:0x57b,_0x49471d:0x162,_0x2eb635:0x477,_0x5ecac7:0x23a,_0xe7ddd3:0x1ef,_0x8a3f6:0x134,_0x3baaa3:0x39a,_0x5c9385:0x29f,_0x5e8ee3:0x265,_0x69c9b8:0x95,_0x206298:0xc3,_0x282e11:0x57f,_0x3a9cb7:0x4ec,_0xb86889:0x18a,_0x1a7381:0x312,_0x5e86c2:0x205,_0x33c8d9:0x42d,_0x573edd:0x673,_0xea0e53:0x29d,_0x360a95:0x449,_0x4a0045:0x4ed,_0x44df49:0x29f,_0x229cf8:0xd1,_0x2a4b86:0xc9,_0xb8c0f1:0x207,_0x28124c:0x2e1,_0x224a4d:0x47d,_0x51cb8b:0x6c2,_0x1c7ad3:0x141,_0x1b08da:0x32f,_0x1fdfdb:0x53,_0x2d1f48:0xbd,_0x174d1c:0x10f,_0x70b1b7:0xd2,_0xc42a20:0xa0,_0x497f9c:0xe8,_0x4596a3:0x584,_0x2ce42f:0xe7,_0x308d6c:0x11c,_0x5af1ad:0x2b8,_0x11f870:0xfa,_0x2acea4:0x33b,_0x1f8d8b:0x253,_0x349356:0x3e6,_0x540b06:0x505,_0x2a6a80:0x351,_0x59ef79:0x21b,_0x5a4da4:0x4,_0x2e7a1c:0x479,_0x4d3419:0x2ea,_0x1761b3:0x3c5,_0x317a15:0x29a,_0x244213:0x43f,_0x33413c:0x38a,_0x398f21:0x109,_0x68163d:0x14e,_0x4fe310:0x20f,_0x244d23:0x83,_0x48aea5:0x134,_0x492bbe:0x85,_0x353ae8:0x2e3,_0x257ef9:0x406,_0x3983b5:0x428,_0x38454c:0xe8,_0x311fc1:0x11f,_0x4cce77:0x4b6,_0x579927:0x6ab,_0x573177:0x50f,_0x375ae5:0x5c8,_0x5273d4:0x1,_0x3ad73f:0x52,_0x59698a:0x95,_0x1e945b:0x168,_0x48647d:0x594,_0x336410:0x29f,_0x222137:0x1db,_0x5c9f92:0x19f,_0x6c0f72:0x64,_0x5c4c9b:0x44a,_0x477958:0x528,_0x98105b:0x4f6,_0x239590:0x7c5,_0x167645:0x535,_0x308506:0xdc,_0xae4670:0x220,_0x109cb9:0xd0,_0x550f68:0x3c4,_0xece83e:0x1c9,_0x480fd3:0x41,_0xbfa60:0x2fe,_0x3026ad:0x108,_0x1fcdda:0x344,_0x5f2268:0x1e4,_0x349b34:0x792,_0x2d826c:0x535,_0x466a8f:0x633,_0x21bb75:0x422,_0x52e1b7:0x2ef,_0x3c82e8:0x21f,_0x516591:0x162,_0x37d8ab:0x45f,_0x538a10:0x1c,_0x403425:0x196,_0x3becd2:0x10e,_0x2cb8aa:0x631,_0x1f2535:0x49d,_0xf41f98:0x1b1,_0x59a8ab:0x1dc,_0x45f676:0x176,_0x32a0dd:0x6f6,_0xb5d38:0x4ec,_0x3c5658:0x150,_0x4d311a:0x3a7,_0x569f76:0x6d,_0x113ca8:0x4bb},_0x1130c2={_0x228daa:0x4cb},_0x28bc0c={'BjbGu':function(_0x58014a,_0x4b53e0){return _0x58014a===_0x4b53e0;},'VnyHV':function(_0x19dedc,_0xdd2d29){return _0x19dedc>_0xdd2d29;},'Cseoi':function(_0x564a72,_0x114b8d,_0x13963f,_0x15b4f6,_0x2be012){return _0x564a72(_0x114b8d,_0x13963f,_0x15b4f6,_0x2be012);}};function _0x22cb53(_0x3bae72,_0x4b41b3){return _0x2420cb(_0x3bae72- -0x4ca,_0x4b41b3);}if(_0x28bc0c[_0x57d571(0x1b6,0x3d1)](_0x431167,_0x57d571(_0x55d1cf._0x503562,0x4fb)+_0x22cb53(_0x55d1cf._0x30f194,_0x55d1cf._0x19cb18))||_0x431167===_0x57d571(0x68b,_0x55d1cf._0x3be269)+_0x22cb53(0xf4,0x28b)){const _0x37c395=this[_0x22cb53(_0x55d1cf._0x506502,_0x55d1cf._0x12d434)][_0x57d571(_0x55d1cf._0x16f03,0x233)+_0x22cb53(_0x55d1cf._0x53db9e,0x1e1)],_0xa07e61=_0x24c458??Math[_0x57d571(0x6ac,_0x55d1cf._0x50b353)](0x1,this[_0x22cb53(_0x55d1cf._0x2b595e,_0x55d1cf._0x38fc52)][_0x57d571(_0x55d1cf._0x283b7d,_0x55d1cf._0x2c1ab3)+'unt']);_0x28bc0c[_0x57d571(_0x55d1cf._0x571d42,_0x55d1cf._0x3f561e)](_0xa07e61,0x0)&&this[_0x22cb53(_0x55d1cf._0x4db1ec,0xcc)+_0x57d571(_0x55d1cf._0x4af46e,0x342)+'tedAtMs']==null&&(this['clientDe'+_0x22cb53(_0x55d1cf._0x251012,_0x55d1cf._0x3fd5f6)+_0x22cb53(_0x55d1cf._0x126d73,_0x55d1cf._0x3e573c)]=Date['now']());const _0x34e3d5={};_0x34e3d5[_0x22cb53(_0x55d1cf._0x18ac89,0xa7)+_0x22cb53(0x276,0x39b)]=_0xa07e61,this[_0x57d571(0x2b9,_0x55d1cf._0x28bb54)+_0x57d571(0x401,_0x55d1cf._0x2e5fa3)](_0x34e3d5);if(_0xa07e61===0x0){this[_0x22cb53(0x3c5,0x334)+_0x22cb53(_0x55d1cf._0x28a5ae,_0x55d1cf._0x2f3e8a)+_0x57d571(0x323,0x108)]=![],this['markDevi'+'cesRecen'+'t'](),this[_0x57d571(-0x3e,_0x55d1cf._0x49471d)+_0x22cb53(_0x55d1cf._0x2eb635,_0x55d1cf._0x5ecac7)+_0x57d571(_0x55d1cf._0xe7ddd3,0x265)+'e']();const _0x22c7de=summarizePendingGatewayMessages(this[_0x22cb53(_0x55d1cf._0x8a3f6,0x26e)+_0x22cb53(0x2e4,_0x55d1cf._0x3baaa3)+'ssages'])[_0x22cb53(0x352,_0x55d1cf._0x5c9385)+'equests'];shouldScheduleGatewayIdleClose(_0xa07e61,_0x22c7de,this['isGatewa'+_0x22cb53(_0x55d1cf._0x5e8ee3,_0x55d1cf._0x69c9b8)]())?(this[_0x22cb53(0x10f,-_0x55d1cf._0x206298)](_0x57d571(_0x55d1cf._0x282e11,_0x55d1cf._0x3a9cb7)+'emand\x20dr'+_0x57d571(-_0x55d1cf._0xb86889,0xc9)+_0x57d571(0x4db,_0x55d1cf._0x1a7381)+_0x22cb53(_0x55d1cf._0x5e86c2,0x2e4)+_0x22cb53(_0x55d1cf._0x33c8d9,_0x55d1cf._0x573edd)+_0x57d571(0x419,0x4f5)),this[_0x57d571(_0x55d1cf._0xea0e53,_0x55d1cf._0x360a95)+'eway']()):this['log'](_0x22cb53(_0x55d1cf._0x4a0045,_0x55d1cf._0x44df49)+_0x57d571(0x27d,_0x55d1cf._0x229cf8)+_0x57d571(0x202,_0x55d1cf._0x2a4b86)+_0x57d571(_0x55d1cf._0xb8c0f1,_0x55d1cf._0x28124c)+_0x57d571(0x39e,0x167)+'emains\x20n'+_0x22cb53(_0x55d1cf._0x224a4d,_0x55d1cf._0x51cb8b));}else{if(_0x28bc0c[_0x22cb53(0xfc,-_0x55d1cf._0x1c7ad3)](shouldRecycleGatewayForFreshClient,_0x37c395,_0xa07e61,this[_0x22cb53(0x19f,0x424)+'yOpen'](),![])){const _0x5ae4ca=summarizePendingGatewayMessages(this[_0x57d571(_0x55d1cf._0x1b08da,0x133)+_0x57d571(_0x55d1cf._0x1fdfdb,0x2e3)+_0x22cb53(_0x55d1cf._0x2d1f48,0x1a6)]);this[_0x22cb53(_0x55d1cf._0x174d1c,_0x55d1cf._0x70b1b7)](_0x57d571(_0x55d1cf._0xc42a20,_0x55d1cf._0x497f9c)+_0x22cb53(0x425,_0x55d1cf._0x4596a3)+_0x22cb53(_0x55d1cf._0x2ce42f,-0xaf)+_0x22cb53(_0x55d1cf._0x308d6c,0x3b)+_0x22cb53(_0x55d1cf._0x5af1ad,_0x55d1cf._0x11f870)+'nt\x20deman'+_0x22cb53(0xcc,0x123)+'='+_0x5ae4ca[_0x22cb53(_0x55d1cf._0x2acea4,_0x55d1cf._0x1f8d8b)]+(_0x22cb53(_0x55d1cf._0x349356,0x20b)+'=')+_0x5ae4ca[_0x57d571(_0x55d1cf._0x540b06,_0x55d1cf._0x2a6a80)+_0x57d571(0x33b,_0x55d1cf._0x5ecac7)]+'\x20text='+_0x5ae4ca[_0x22cb53(_0x55d1cf._0x59ef79,-_0x55d1cf._0x5a4da4)+'t']+_0x57d571(0xbe,0x314)+_0x5ae4ca[_0x57d571(0x23,0x11d)]+(_0x22cb53(_0x55d1cf._0x2e7a1c,_0x55d1cf._0x4d3419)+_0x57d571(0x744,0x526)+'d=')+this[_0x22cb53(_0x55d1cf._0x1761b3,_0x55d1cf._0x317a15)+_0x22cb53(_0x55d1cf._0x244213,_0x55d1cf._0x33413c)+_0x22cb53(_0x55d1cf._0x398f21,0x37c)]);const _0x2cbacf=prunePendingGatewayMessagesForFreshDemand(this[_0x22cb53(_0x55d1cf._0x8a3f6,-_0x55d1cf._0x68163d)+_0x57d571(_0x55d1cf._0x4fe310,0x2e3)+'ssages']);_0x28bc0c[_0x22cb53(0x132,0x101)](_0x2cbacf[_0x57d571(0x229,_0x55d1cf._0x244d23)],0x0)&&(this[_0x22cb53(_0x55d1cf._0x48aea5,-_0x55d1cf._0x492bbe)+_0x57d571(0x57b,_0x55d1cf._0x353ae8)+'ssages']=_0x2cbacf[_0x22cb53(_0x55d1cf._0x257ef9,_0x55d1cf._0x3983b5)],this[_0x22cb53(_0x55d1cf._0x174d1c,-0x17)](_0x22cb53(_0x55d1cf._0x38454c,0x370)+_0x22cb53(_0x55d1cf._0x311fc1,-0x22)+_0x22cb53(0x2b9,_0x55d1cf._0x4cce77)+_0x57d571(_0x55d1cf._0x579927,_0x55d1cf._0x573177)+_0x22cb53(0x3d3,_0x55d1cf._0x375ae5)+_0x57d571(-_0x55d1cf._0x5273d4,0x7d)+_0x22cb53(_0x55d1cf._0x3ad73f,-0x215)+_0x2cbacf[_0x22cb53(0x84,-0x168)]+_0x57d571(-_0x55d1cf._0x59698a,_0x55d1cf._0x1e945b)+_0x2cbacf[_0x22cb53(_0x55d1cf._0x257ef9,_0x55d1cf._0x48647d)]['length'])),this[_0x57d571(0x41d,0x449)+_0x57d571(_0x55d1cf._0x336410,_0x55d1cf._0x222137)](!![]);}if(this[_0x22cb53(_0x55d1cf._0x5c9f92,0xe)+_0x57d571(_0x55d1cf._0x6c0f72,0x264)]()&&!this[_0x57d571(0x66b,0x43f)+_0x57d571(_0x55d1cf._0x5c4c9b,0x253)+'daryPend'+'ing']){const _0x49260f={};_0x49260f['gatewayC'+_0x22cb53(0x3f1,_0x55d1cf._0x477958)]=!![],_0x49260f[_0x57d571(0x351,_0x55d1cf._0x98105b)+'r']=null,this[_0x57d571(_0x55d1cf._0x239590,_0x55d1cf._0x167645)+'apshot'](_0x49260f),this[_0x57d571(-_0x55d1cf._0x308506,0x10e)](_0x22cb53(0xe9,-0x2f)+_0x57d571(0x2f8,0x504)+_0x57d571(0x46a,_0x55d1cf._0xae4670)+'d\x20sinceG'+_0x57d571(-0x139,0xb6)+_0x57d571(_0x55d1cf._0x109cb9,0x140)+this[_0x57d571(0x38e,0x22d)+'ince'](this['gatewayC'+_0x22cb53(0x3f1,0x274)+_0x22cb53(0x1c5,-0x8e)])+('\x20handsha'+'keStarte'+'d=')+this[_0x57d571(0x2c3,_0x55d1cf._0x550f68)+_0x22cb53(0x43f,_0x55d1cf._0xece83e)+_0x57d571(_0x55d1cf._0x480fd3,0x108)]);}}this[_0x57d571(_0x55d1cf._0xbfa60,0x18e)+'tewayCon'+'nected']();return;}function _0x57d571(_0x2f2f3c,_0x3788e1){return _0x2420cb(_0x3788e1- -_0x1130c2._0x228daa,_0x2f2f3c);}if(_0x431167===_0x22cb53(_0x55d1cf._0x3026ad,0x3a0)+'isconnec'+'ted'){this[_0x57d571(0x1c9,0x3c4)+_0x22cb53(0x43f,_0x55d1cf._0x1fcdda)+'Started']=![];const _0x4e9a0d={};_0x4e9a0d[_0x22cb53(0x234,_0x55d1cf._0x5f2268)+'unt']=0x0,this[_0x57d571(_0x55d1cf._0x349b34,_0x55d1cf._0x2d826c)+_0x57d571(_0x55d1cf._0x466a8f,_0x55d1cf._0x21bb75)](_0x4e9a0d),this[_0x57d571(_0x55d1cf._0x52e1b7,0x327)+_0x22cb53(0x2d,_0x55d1cf._0x3c82e8)+'t'](),this[_0x57d571(-0x85,_0x55d1cf._0x516591)+_0x22cb53(_0x55d1cf._0x2eb635,0x220)+_0x22cb53(0x266,_0x55d1cf._0x37d8ab)+'e']();const _0x2febaa=summarizePendingGatewayMessages(this[_0x22cb53(0x134,0x2a2)+_0x57d571(0x332,0x2e3)+_0x22cb53(0xbd,_0x55d1cf._0x538a10)])[_0x57d571(0x4cd,_0x55d1cf._0x2a6a80)+_0x22cb53(0x23b,_0x55d1cf._0x37d8ab)];shouldScheduleGatewayIdleClose(0x0,_0x2febaa,this['isGatewa'+_0x22cb53(_0x55d1cf._0x5e8ee3,0x480)]())?(this[_0x57d571(_0x55d1cf._0x403425,_0x55d1cf._0x3becd2)]('client\x20d'+_0x57d571(-0x6d,0x150)+'ted;\x20clo'+_0x57d571(0x2d4,0xd5)+_0x57d571(_0x55d1cf._0x2cb8aa,_0x55d1cf._0x1f2535)+'y'),this[_0x57d571(_0x55d1cf._0xf41f98,0x449)+_0x22cb53(_0x55d1cf._0x59a8ab,0x34f)]()):(this[_0x22cb53(_0x55d1cf._0x174d1c,-_0x55d1cf._0x45f676)](_0x57d571(_0x55d1cf._0x32a0dd,_0x55d1cf._0xb5d38)+_0x57d571(-0x53,_0x55d1cf._0x3c5658)+_0x57d571(0x272,_0x55d1cf._0x4d311a)+'eway\x20rem'+'ains\x20nee'+_0x57d571(0x2a8,0x15b)),this[_0x57d571(_0x55d1cf._0x569f76,0x18e)+'tewayCon'+_0x57d571(0x73a,_0x55d1cf._0x113ca8)]());return;}}[_0x410a57(0x399,0x1ed)+_0x410a57(0x331,0x21c)+_0x410a57(0x92,-0x24)+_0x2420cb(0x677,0x3ed)](_0x2cb040){const _0x2565ad={_0x18efc5:0xb3,_0x48b9ba:0x184,_0x4bda0b:0x2f8,_0x30b0d5:0xe3,_0xaad9b1:0x78,_0x4b3c22:0xf1,_0x2daf73:0xd1,_0x5ae7f5:0x114,_0x41edc8:0x226,_0x4364fb:0x3c8,_0x29d037:0x133,_0x227eb9:0x267,_0x189c29:0x274,_0x28fa6b:0x664,_0x2b4d59:0x160,_0x282816:0x446,_0x289a96:0xb7,_0x11b0e6:0x336,_0x42d3f8:0x3c6,_0x308f66:0x190,_0x400108:0x1cc,_0x52a287:0x16b,_0x47756e:0x3f8,_0x5e3f34:0x1da,_0x3f040a:0x3a7,_0x59ee62:0x138,_0xcadd3:0x2d6,_0x8903d7:0x2ca,_0x2ca745:0x3c,_0x3af081:0xc6,_0x68b56f:0x318,_0x3cc4d2:0xd6,_0x562e71:0x3ed,_0x35a99d:0x7c,_0x94b6b6:0x1a4,_0x285f8c:0x16b,_0x7c4052:0x17d,_0x548ad0:0x1dd,_0x205b2c:0x83,_0xc003fe:0x2b9,_0x1f36ae:0x697,_0x3830f7:0x3dd,_0x1306b7:0x4e1,_0x1a2f4c:0x447,_0x242f76:0x359,_0x34e39e:0x40,_0x5f2455:0x1c6,_0xa37d92:0x1dc,_0x3b5a78:0x4a7,_0x3b6f51:0x6f},_0x2fdafe={_0x20819f:0xfa};function _0x26dad0(_0x2bbe10,_0x43d195){return _0x410a57(_0x2bbe10,_0x43d195-_0x2fdafe._0x20819f);}const _0x41b469={'ciALZ':function(_0x25d65e,_0x46f766){return _0x25d65e===_0x46f766;},'RpHks':_0x26dad0(-_0x2565ad._0x18efc5,0xcb),'UxwrK':function(_0x5c5940,_0x190419){return _0x5c5940(_0x190419);},'CSVJd':_0x3091b6(_0x2565ad._0x48b9ba,_0x2565ad._0x4bda0b)+_0x26dad0(0x66,-_0x2565ad._0x30b0d5)+_0x26dad0(-_0x2565ad._0xaad9b1,-_0x2565ad._0x4b3c22)+_0x3091b6(_0x2565ad._0x2daf73,-_0x2565ad._0x5ae7f5)+'ct\x20hands'+_0x3091b6(0x5ac,0x57d)+_0x3091b6(0x5aa,0x595)+'il\x20gatew'+_0x3091b6(_0x2565ad._0x41edc8,_0x2565ad._0x4364fb)+_0x26dad0(0x14f,_0x2565ad._0x29d037),'NxJcw':function(_0x2dddc0,_0xecc56f){return _0x2dddc0!==_0xecc56f;}};function _0x3091b6(_0x498b4d,_0x4478f7){return _0x410a57(_0x4478f7,_0x498b4d-0x2a1);}const _0xd5d6aa=_0x41b469[_0x26dad0(_0x2565ad._0x227eb9,_0x2565ad._0x189c29)](_0x2cb040[_0x3091b6(0x5c3,_0x2565ad._0x28fa6b)],_0x41b469[_0x3091b6(0x2a3,_0x2565ad._0x2b4d59)])&&_0x41b469[_0x26dad0(_0x2565ad._0x282816,0x3bf)](isConnectHandshakeRequest,_0x2cb040[_0x26dad0(_0x2565ad._0x289a96,0xcb)]);if(this[_0x26dad0(0x221,0x334)+_0x26dad0(0x45,0x148)+_0x3091b6(_0x2565ad._0x11b0e6,_0x2565ad._0x42d3f8)+_0x26dad0(_0x2565ad._0x308f66,_0x2565ad._0x400108)]){this[_0x3091b6(_0x2565ad._0x52a287,_0x2565ad._0x47756e)+_0x3091b6(0x4bf,0x23a)+'ayMessag'+'e'](_0x2cb040);_0xd5d6aa&&this[_0x3091b6(0x1aa,_0x2565ad._0x5e3f34)](_0x41b469['CSVJd']);return;}const _0x2b2e8a=this['gatewayS'+'ocket'];if(!_0x2b2e8a||_0x41b469[_0x3091b6(0x3cf,_0x2565ad._0x3f040a)](_0x2b2e8a[_0x3091b6(_0x2565ad._0x59ee62,-0x148)+'te'],_0x4221f7[_0x26dad0(_0x2565ad._0xcadd3,0x3dc)])){this[_0x3091b6(0x22a,_0x2565ad._0x8903d7)+'tewayCon'+'nected'](),this[_0x26dad0(0x26,-_0x2565ad._0x2ca745)+_0x26dad0(_0x2565ad._0x3af081,_0x2565ad._0x68b56f)+'ayMessag'+'e'](_0x2cb040);_0xd5d6aa&&this['log']('gateway\x20'+'unavaila'+_0x3091b6(0xb6,0x253)+_0x26dad0(0x13a,-_0x2565ad._0x3cc4d2)+_0x26dad0(0x59a,0x387)+'hake;\x20qu'+_0x26dad0(_0x2565ad._0x562e71,0x403)+_0x26dad0(-0x22a,-0x7e)+_0x3091b6(0x226,0x484)+_0x26dad0(0xde,0x133));return;}if(!this[_0x26dad0(_0x2565ad._0x35a99d,0x2b9)+'andshake'+_0x3091b6(_0x2565ad._0x94b6b6,0x268)]){if(!_0xd5d6aa){this[_0x3091b6(_0x2565ad._0x285f8c,_0x2565ad._0x7c4052)+_0x26dad0(_0x2565ad._0x548ad0,0x318)+_0x3091b6(0x124,-_0x2565ad._0x205b2c)+'e'](_0x2cb040);return;}this[_0x26dad0(0x315,_0x2565ad._0xc003fe)+_0x3091b6(0x4da,_0x2565ad._0x1f36ae)+_0x3091b6(0x1a4,_0x2565ad._0x3830f7)]=!![];const _0x103ca3=parseConnectHandshakeMeta(_0x2cb040[_0x3091b6(0x272,_0x2565ad._0x1306b7)]);this['log'](_0x26dad0(0x173,-0x23)+'handshak'+_0x26dad0(_0x2565ad._0x1a2f4c,_0x2565ad._0x242f76)+_0x26dad0(0x233,-_0x2565ad._0x34e39e)+'='+this['pendingG'+_0x3091b6(0x37f,0x60f)+_0x3091b6(0x158,0x21d)][_0x3091b6(_0x2565ad._0x5f2455,_0x2565ad._0xa37d92)]+formatConnectHandshakeMetaForLog(_0x103ca3));}this[_0x3091b6(_0x2565ad._0x3b5a78,0x40f)+_0x26dad0(0x288,_0x2565ad._0x3b6f51)](_0x2cb040);}[_0x2420cb(0x659,0x8c9)+_0x2420cb(0x971,0x874)+'nected'](){const _0x10e142={_0x505b34:0x716,_0x33c0a4:0x57d,_0xe80d09:0x3b5,_0x177214:0x7cd,_0x489162:0x992,_0x9b9a42:0x4bd,_0x1a5904:0x9e5,_0x243e51:0xb8f,_0x35ad70:0x860,_0x2a5c68:0x64a,_0x3bb450:0x5e2,_0x5363d2:0x9e5,_0x388be2:0xb30,_0x170d69:0x784,_0x41ff45:0x6b4,_0x18c29e:0x68e,_0x5b40ec:0x8be,_0x47fe1b:0x4da,_0x26f721:0x3f9,_0x535dd8:0xb44,_0x5ac21c:0x5d3,_0x1b44c2:0x39d,_0x215a2e:0xa87,_0x4d0b8e:0x601,_0x5ed56f:0x70c,_0x14db7f:0x806,_0x1ea82b:0x7ca,_0x6bffa6:0x720,_0x42bb0d:0x926,_0x1bf574:0xa0f,_0x196b15:0x7b3,_0x2bed3f:0x6b3},_0x4bf5d6={_0x466ea8:0x507,_0x266258:0x3f0,_0xae8f04:0x3ab,_0x430fa2:0x48d,_0x424753:0x3e0,_0x3beee8:0x3aa,_0x1cc080:0x42b,_0x5140b0:0x295,_0x2acab0:0x690,_0x3576be:0x70,_0x20c572:0x597,_0x5d0080:0x57a,_0x3f85e3:0x5ae,_0x4c2114:0x38f,_0x5c5683:0x206,_0x582c6e:0x42f,_0xa65fae:0x5a6,_0x2be512:0x7ab,_0x138a31:0x165,_0x32f24a:0x31c,_0x46a647:0x576,_0x4ba6cb:0x4d5,_0x3c9fbd:0x145,_0x2121a6:0x599,_0x203ceb:0x5d8,_0x548ec8:0x4fb,_0xe6b7f5:0x6ac,_0x38640e:0x444,_0x38f588:0x60b,_0x11506b:0x21c,_0x307086:0x397,_0x1cce6c:0x649,_0x2cc046:0x2ef,_0x3d86c9:0x291,_0xf7b776:0x385,_0x4bc27f:0x547,_0x2d016b:0x223,_0xdbd39b:0x299,_0xe2f6e7:0xab,_0x3f4a78:0x427,_0x3c87e0:0x612,_0xd1fffc:0x4b4,_0x2844e3:0x128,_0x9892e9:0x2d8},_0x1e1b13={_0x329c35:0x355},_0x56b58c={_0x1b4123:0x14,_0x3f522d:0x514},_0x51f2b7={_0x149774:0x6c8},_0x236f5b={_0x458e04:0x45e,_0x269fd2:0x6ad,_0x4b01c3:0x204,_0x1ef3db:0x1c2},_0x30b4bd={_0x18346c:0xda},_0x21f36e={_0x51b78d:0x6af,_0x3bf1d2:0x7ae,_0x2bfce1:0x8c7,_0xb44d43:0x78f,_0x3e5f91:0xc6,_0x82ced6:0xa6,_0x281294:0x31d,_0x390486:0x497,_0x5689c8:0x349,_0x1c3955:0x666,_0x402f16:0x535,_0x5e2600:0x78,_0x579732:0x885,_0x2944bf:0x9a5,_0x2d7d58:0x50e,_0x5159eb:0x7b1,_0x119d60:0x647,_0x2dca90:0x15,_0x50eb9a:0x477,_0x217bb8:0xff,_0x24ec84:0x25a,_0x5f0282:0x82,_0x556182:0x611,_0x4fee33:0x3f8,_0x53d9a7:0xc4,_0x2444a6:0x4d,_0xd348cb:0x5d},_0x1c9a3d={};_0x1c9a3d['tmNAC']=_0x3491cc(0x733,0x61e),_0x1c9a3d[_0x2cf41a(0x93e,_0x10e142._0x505b34)]=_0x2cf41a(_0x10e142._0x33c0a4,_0x10e142._0xe80d09);const _0x440043=_0x1c9a3d;if(this[_0x2cf41a(_0x10e142._0x177214,_0x10e142._0x489162)]||!this['isRelayO'+_0x2cf41a(_0x10e142._0x9b9a42,0x306)]()||this[_0x3491cc(_0x10e142._0x1a5904,_0x10e142._0x243e51)+_0x2cf41a(_0x10e142._0x35ad70,_0x10e142._0x2a5c68)+'g']||this[_0x3491cc(0x744,_0x10e142._0x3bb450)+_0x2cf41a(0x711,0x776)]()||this[_0x3491cc(_0x10e142._0x5363d2,_0x10e142._0x388be2)+'loseBoun'+'daryPend'+_0x2cf41a(_0x10e142._0x170d69,0x5c7)])return;this[_0x3491cc(_0x10e142._0x1a5904,0xb63)+'onnectin'+'g']=!![],this[_0x3491cc(_0x10e142._0x41ff45,0x63d)](_0x3491cc(_0x10e142._0x18c29e,_0x10e142._0x5b40ec)+'connect\x20'+_0x2cf41a(_0x10e142._0x47fe1b,_0x10e142._0x26f721)+'l='+this[_0x3491cc(0x97a,0x908)][_0x3491cc(0xad1,_0x10e142._0x535dd8)+'rl']);const _0x40d5ec=this[_0x2cf41a(_0x10e142._0x5ac21c,_0x10e142._0x1b44c2)+_0x2cf41a(0x6d7,0x907)](this[_0x2cf41a(0x881,0x82b)][_0x3491cc(0xad1,0xd65)+'rl']);this[_0x3491cc(0xade,_0x10e142._0x215a2e)+_0x3491cc(_0x10e142._0x4d0b8e,_0x10e142._0x5ed56f)]=_0x40d5ec,_0x40d5ec[_0x3491cc(0x69d,_0x10e142._0x14db7f)](_0x2cf41a(0x863,0x649),()=>{if(this[_0xdc3e94(_0x21f36e._0x51b78d,_0x21f36e._0x3bf1d2)]||this[_0xdc3e94(_0x21f36e._0x2bfce1,_0x21f36e._0xb44d43)+_0x33971c(-_0x21f36e._0x3e5f91,_0x21f36e._0x82ced6)]!==_0x40d5ec){_0x40d5ec['close']();return;}function _0x33971c(_0x36c272,_0xad8ebd){return _0x2cf41a(_0x36c272- -0x5ce,_0xad8ebd);}this['gatewayC'+'onnectin'+'g']=![],this['gatewayH'+_0x33971c(_0x21f36e._0x281294,0x3a1)+_0xdc3e94(_0x21f36e._0x390486,0x689)]=![],this['gatewayC'+'loseBoun'+_0x33971c(0x179,_0x21f36e._0x5689c8)+_0xdc3e94(_0x21f36e._0x1c3955,0x72d)]=![],this['gatewayC'+_0x33971c(0x2cf,_0x21f36e._0x402f16)+_0xdc3e94(0x553,0x433)]=Date[_0x33971c(_0x21f36e._0x5e2600,-0x13)]();const _0x15b55c={};_0x15b55c['gatewayC'+'onnected']=!![],_0x15b55c[_0xdc3e94(_0x21f36e._0x579732,_0x21f36e._0x2944bf)+'r']=null,this[_0x33971c(0x414,_0x21f36e._0x2d7d58)+_0xdc3e94(_0x21f36e._0x5159eb,_0x21f36e._0x119d60)](_0x15b55c);function _0xdc3e94(_0x5122f1,_0x8ed542){return _0x2cf41a(_0x5122f1- -0x11e,_0x8ed542);}this[_0x33971c(-0x13,-_0x21f36e._0x2dca90)](_0xdc3e94(_0x21f36e._0x50eb9a,0x549)+_0x33971c(_0x21f36e._0x217bb8,_0x21f36e._0x24ec84)+'d\x20sinceC'+'lientDem'+_0x33971c(0x124,0x2e6)+this['elapsedS'+_0x33971c(0x14a,-_0x21f36e._0x5f0282)](this[_0xdc3e94(_0x21f36e._0x556182,0x3b2)+_0xdc3e94(0x6d1,0x589)+_0x33971c(0x22b,_0x21f36e._0x4fee33)])),this[_0x33971c(_0x21f36e._0x53d9a7,-0x90)+_0x33971c(_0x21f36e._0x2444a6,0x0)+_0x33971c(0x38,-_0x21f36e._0xd348cb)+'ges']();}),_0x40d5ec['on'](_0x440043[_0x2cf41a(0x93e,_0x10e142._0x1ea82b)],(_0x253e9a,_0x2c8135)=>{function _0x4b5505(_0x4d8b48,_0x5a4462){return _0x3491cc(_0x4d8b48- -0x54e,_0x5a4462);}function _0x444011(_0x273909,_0x182512){return _0x3491cc(_0x182512- -_0x30b4bd._0x18346c,_0x273909);}this[_0x444011(0x87d,0x9af)+_0x444011(_0x236f5b._0x458e04,_0x236f5b._0x269fd2)+_0x4b5505(_0x236f5b._0x4b01c3,_0x236f5b._0x1ef3db)](_0x253e9a,_0x2c8135);});function _0x2cf41a(_0x3b2254,_0x1b818b){return _0x410a57(_0x1b818b,_0x3b2254-0x6b2);}_0x40d5ec[_0x2cf41a(0x5a4,_0x10e142._0x6bffa6)](_0x2cf41a(_0x10e142._0x42bb0d,_0x10e142._0x1bf574),_0x598040=>{function _0x417ab7(_0x7b5bda,_0x177844){return _0x3491cc(_0x7b5bda- -_0x51f2b7._0x149774,_0x177844);}function _0x4d6d5d(_0x2e441b,_0x2b2abf){return _0x3491cc(_0x2b2abf- -0x27b,_0x2e441b);}this[_0x417ab7(-_0x56b58c._0x1b4123,-0x1c2)]('gateway\x20'+_0x417ab7(0x382,_0x56b58c._0x3f522d)+String(_0x598040));});function _0x3491cc(_0x54a22c,_0x38ec2a){return _0x410a57(_0x38ec2a,_0x54a22c-0x7ab);}_0x40d5ec[_0x2cf41a(0x5a4,_0x10e142._0x196b15)](_0x3491cc(_0x10e142._0x2bed3f,0x847),(_0x1d719c,_0x323ebb)=>{const _0x3300e9={_0x2f9a9c:0x2f7},_0x5352da=summarizePendingGatewayMessages(this[_0x21c007(0x2e9,0x168)+'atewayMe'+'ssages'])[_0x21c007(_0x4bf5d6._0x466ea8,0x614)+_0x21c007(_0x4bf5d6._0x266258,0x2f7)];function _0x5cbef5(_0x40e5b7,_0x5c227f){return _0x2cf41a(_0x5c227f- -_0x1e1b13._0x329c35,_0x40e5b7);}function _0x21c007(_0x35e8fc,_0x57e2df){return _0x2cf41a(_0x35e8fc- -_0x3300e9._0x2f9a9c,_0x57e2df);}const _0xa9de1e=this['gatewayC'+_0x5cbef5(0x445,_0x4bf5d6._0xae8f04)+'daryPend'+_0x21c007(_0x4bf5d6._0x430fa2,_0x4bf5d6._0x424753)]&&shouldKeepGatewayConnected(this[_0x21c007(0x2d8,_0x4bf5d6._0x3beee8)][_0x21c007(0x3e9,0x4da)+_0x21c007(_0x4bf5d6._0x1cc080,_0x4bf5d6._0x5140b0)],_0x5352da);this['gatewayS'+'ocket']===_0x40d5ec&&(this[_0x5cbef5(0x57d,_0x4bf5d6._0x2acab0)+_0x21c007(0x211,_0x4bf5d6._0x3576be)]=null);this[_0x5cbef5(0x4e0,_0x4bf5d6._0x20c572)+_0x5cbef5(0x640,0x50b)+'g']=![],this[_0x21c007(_0x4bf5d6._0x5d0080,0x4b4)+_0x21c007(0x5f4,_0x4bf5d6._0x3f85e3)+_0x5cbef5(0x48e,0x260)]=![],this[_0x21c007(0x5f5,_0x4bf5d6._0x4c2114)+_0x5cbef5(_0x4bf5d6._0x5c5683,0x3ab)+_0x21c007(0x450,0x631)+_0x5cbef5(0x357,_0x4bf5d6._0x582c6e)]=![],this['gatewayC'+_0x21c007(_0x4bf5d6._0xa65fae,_0x4bf5d6._0x2be512)+_0x5cbef5(_0x4bf5d6._0x138a31,_0x4bf5d6._0x32f24a)]=null,this['clearInF'+'lightCon'+_0x5cbef5(0x52b,_0x4bf5d6._0x46a647)+_0x21c007(0x455,_0x4bf5d6._0x4ba6cb)](_0x5cbef5(_0x4bf5d6._0x3c9fbd,0x240)+_0x21c007(0x27a,0x30a)+_0x21c007(_0x4bf5d6._0x2121a6,0x5a2)+'e='+_0x1d719c),this[_0x5cbef5(0x5c1,0x68d)+_0x21c007(_0x4bf5d6._0x203ceb,_0x4bf5d6._0x548ec8)]({'gatewayConnected':![],'lastError':_0x1d719c===0x3e8||_0xa9de1e?this[_0x21c007(0x2d8,0x154)][_0x21c007(_0x4bf5d6._0xe6b7f5,0x62d)+'r']:'gateway\x20'+_0x21c007(_0x4bf5d6._0x38640e,_0x4bf5d6._0x38f588)+(_0x323ebb['toString']()||_0x1d719c)}),this['log']('gateway\x20'+_0x5cbef5(0x22f,_0x4bf5d6._0x11506b)+_0x21c007(0x599,0x650)+'e='+_0x1d719c+_0x5cbef5(0x334,0x42e)+(_0x323ebb[_0x5cbef5(0x56c,_0x4bf5d6._0x307086)]()||_0x440043[_0x21c007(0x59a,_0x4bf5d6._0x1cce6c)])+(_0x5cbef5(0x4ec,_0x4bf5d6._0x2cc046)+_0x21c007(_0x4bf5d6._0x3d86c9,0x1c9)+'ndMs=')+this[_0x5cbef5(0x2d2,_0x4bf5d6._0xf7b776)+'ince'](this['clientDe'+'mandStar'+_0x5cbef5(_0x4bf5d6._0x4bc27f,0x4a4)]));if(_0xa9de1e){this[_0x5cbef5(_0x4bf5d6._0x2d016b,0x266)]('gateway\x20'+'close\x20bo'+_0x5cbef5(0x125,_0x4bf5d6._0xdbd39b)+'eached;\x20'+_0x5cbef5(-_0x4bf5d6._0xe2f6e7,0x16a)+_0x21c007(_0x4bf5d6._0x3f4a78,0x446)+'\x20fresh\x20d'+_0x5cbef5(_0x4bf5d6._0x3c87e0,_0x4bf5d6._0xd1fffc)),this[_0x5cbef5(0xd7,0x2e6)+'tewayCon'+'nected']();return;}this[_0x5cbef5(_0x4bf5d6._0x2844e3,_0x4bf5d6._0x9892e9)+'GatewayR'+'econnect']();});}[_0x2420cb(0x9ae,0xbb9)+_0x410a57(-0x169,-0x24)+_0x2420cb(0x677,0x434)](_0x55a0ed,_0x346a22){const _0x5eeb92={_0x3b9f7d:0x776,_0x4de9bf:0xe1,_0x1aff47:0xae,_0x238d33:0x286,_0x8ebc37:0x7e1,_0x2f1f72:0x5df,_0x6dcdce:0x72d,_0x115173:0x7ed,_0x298476:0x5a2,_0x26faa9:0x5c3,_0x5c35b9:0x649,_0xc336cd:0x87,_0x1d98e9:0x37a},_0x4f8bea={'NYOHB':function(_0x4aae59,_0x2c040e){return _0x4aae59(_0x2c040e);}},_0x175708=this['relaySoc'+_0x47bc59(0x70b,_0x5eeb92._0x3b9f7d)];if(!_0x175708||_0x175708[_0x4c21e9(-0xe0,-_0x5eeb92._0x4de9bf)+'te']!==_0x4221f7['OPEN'])return;if(_0x346a22){_0x175708[_0x4c21e9(0x27c,0x16b)](normalizeBinary(_0x55a0ed));return;}const _0x58bdb9=_0x4f8bea['NYOHB'](normalizeText,_0x55a0ed);if(_0x58bdb9==null)return;function _0x4c21e9(_0x92171a,_0x4505bf){return _0x410a57(_0x92171a,_0x4505bf-0x88);}function _0x47bc59(_0xda48ab,_0x1ac3af){return _0x410a57(_0xda48ab,_0x1ac3af-0x4cd);}const _0x3ca5c4=parsePairingRequestFromError(_0x58bdb9);_0x3ca5c4&&this[_0x4c21e9(-_0x5eeb92._0x1aff47,-0x120)+_0x4c21e9(0x4dd,_0x5eeb92._0x238d33)+'quest'](_0x3ca5c4);const _0x136420=_0x4f8bea[_0x47bc59(0x81c,_0x5eeb92._0x8ebc37)](parsePairResolvedEvent,_0x58bdb9);_0x136420&&this[_0x47bc59(0x5c4,_0x5eeb92._0x2f1f72)+'RequestR'+_0x4c21e9(0x1b,-0x15f)](_0x136420[_0x47bc59(_0x5eeb92._0x6dcdce,_0x5eeb92._0x115173)+'d'],_0x136420[_0x47bc59(_0x5eeb92._0x298476,_0x5eeb92._0x26faa9)]);const _0x4c44a3=parseResponseEnvelopeMeta(_0x58bdb9);_0x4c44a3&&this[_0x47bc59(0x57d,_0x5eeb92._0x5c35b9)+_0x4c21e9(0x198,-_0x5eeb92._0xc336cd)+_0x4c21e9(0x12d,_0x5eeb92._0x1d98e9)](_0x4c44a3),_0x175708['send'](_0x58bdb9);}[_0x2420cb(0x6b0,0x67a)+_0x410a57(0x140,-0x97)+_0x2420cb(0x624,0x437)+_0x2420cb(0x752,0x5ad)](){const _0x13bcc9={_0xa2d02b:0x5fa,_0x148dcf:0x25f,_0x531369:0x20b,_0x49cfc1:0xa9,_0x3a15f8:0x80,_0x5466a6:0x187,_0x4eed05:0x49b,_0x96e21b:0x2be,_0xf3c3b0:0xa0,_0x3c16d1:0x63,_0x3a758f:0x638,_0x131e14:0x669,_0x4ed60a:0x1a1,_0x961bde:0x278,_0x1e3be1:0x1d7,_0x3695f5:0x201,_0x4add9:0x233,_0x56d073:0x493,_0x21e56f:0x18a,_0x175b43:0x8e,_0x5036d0:0x6cb,_0x641a08:0x5b5,_0x883c54:0x574,_0x22e879:0x5ee,_0x405e32:0x32f,_0xb855ce:0x2b8,_0x2ee77b:0x3b6,_0x4bdd50:0x53b,_0xd3df24:0x574,_0x3359f7:0x4c1,_0x236284:0x5ee,_0x59838e:0x496,_0x3f9914:0x199,_0x1c5095:0x4df,_0x6ef2da:0x26c},_0x13c5f1={_0x521b68:0xbb},_0x322040={'mBnIA':function(_0x3ba5ca,_0x5939b9){return _0x3ba5ca!==_0x5939b9;},'VDgCQ':function(_0x523d41,_0x303091){return _0x523d41(_0x303091);},'xODSw':function(_0x1db431,_0x7fe47e){return _0x1db431(_0x7fe47e);}};function _0x439645(_0x368ad7,_0x4bd29a){return _0x410a57(_0x368ad7,_0x4bd29a-0x3b5);}const _0x4755fc=this[_0x439645(_0x13bcc9._0xa2d02b,0x6e8)+_0x439645(_0x13bcc9._0x148dcf,_0x13bcc9._0x531369)];if(!_0x4755fc||_0x322040[_0x15e134(-_0x13bcc9._0x49cfc1,-_0x13bcc9._0x3a15f8)](_0x4755fc['readySta'+'te'],_0x4221f7[_0x15e134(0x393,0x39d)]))return;const _0x5bc566=[],_0x164c7e=_0x322040['VDgCQ'](dedupePendingGatewayMessages,this['pendingG'+_0x15e134(0x40c,0x199)+_0x15e134(_0x13bcc9._0x5466a6,-0x8e)]);_0x164c7e[_0x439645(_0x13bcc9._0x4eed05,0x233)]>0x0&&this[_0x439645(0x33b,_0x13bcc9._0x96e21b)](_0x15e134(-_0x13bcc9._0xf3c3b0,-_0x13bcc9._0x3c16d1)+'stale\x20qu'+'eued\x20gat'+_0x439645(_0x13bcc9._0x3a758f,_0x13bcc9._0x131e14)+_0x15e134(0x10c,_0x13bcc9._0x4ed60a)+'fore\x20flu'+_0x439645(_0x13bcc9._0x961bde,_0x13bcc9._0x1e3be1)+_0x439645(0x187,_0x13bcc9._0x3695f5)+_0x164c7e[_0x439645(0x1ad,_0x13bcc9._0x4add9)]+'\x20kept='+_0x164c7e['messages']['length']);function _0x15e134(_0x3d2e9a,_0x28378f){return _0x410a57(_0x3d2e9a,_0x28378f-_0x13c5f1._0x521b68);}this[_0x439645(0x51b,0x2e3)+_0x439645(0x6af,_0x13bcc9._0x56d073)+_0x15e134(_0x13bcc9._0x21e56f,-_0x13bcc9._0x175b43)]=[];for(const _0x337392 of _0x164c7e[_0x439645(_0x13bcc9._0x5036d0,_0x13bcc9._0x641a08)]){if(!this[_0x439645(0x335,_0x13bcc9._0x883c54)+_0x439645(0x85e,_0x13bcc9._0x22e879)+_0x439645(_0x13bcc9._0x405e32,_0x13bcc9._0xb855ce)]){if(_0x337392['kind']!=='text'||!_0x322040['xODSw'](isConnectHandshakeRequest,_0x337392['text'])){_0x5bc566[_0x439645(0x407,_0x13bcc9._0x2ee77b)](_0x337392);continue;}this[_0x439645(_0x13bcc9._0x4bdd50,_0x13bcc9._0xd3df24)+_0x439645(_0x13bcc9._0x3359f7,_0x13bcc9._0x236284)+'Started']=!![];}this['sendToGa'+'teway'](_0x337392);}this[_0x439645(_0x13bcc9._0x59838e,0x2e3)+_0x15e134(0x400,_0x13bcc9._0x3f9914)+_0x439645(_0x13bcc9._0x1c5095,_0x13bcc9._0x6ef2da)]=_0x5bc566;}[_0x410a57(0xec,0x206)+_0x410a57(-0x15f,-0x8b)](_0x2557de){const _0x4c5d8e={_0x3c3843:0x375,_0x19b00e:0x474,_0x59c3bb:0x127,_0x12576b:0x32c,_0x4fbc2c:0x763,_0x55923a:0x304,_0x49c72d:0x2cc,_0xa769ad:0x452,_0x35fe6d:0x620,_0x59950e:0x4cd,_0x49d617:0x588,_0x24d42f:0x354,_0x4f8a4d:0xb5,_0x28d880:0x165,_0x2106a7:0xae,_0x2864f0:0x2ac,_0x1a319d:0x466,_0x4a3ac2:0x4db,_0x7963d0:0x93b,_0x1b2804:0x76a,_0x4fe9c8:0xdb,_0x12aab5:0x174,_0x3ac2ba:0x6c6,_0x42fb4a:0x28d,_0x5ae2a2:0x326,_0x33d0a3:0x125,_0x102708:0x160,_0x447f62:0x1c8,_0x1d79e5:0x564,_0x39c851:0x13e},_0x451420={_0x5b64c5:0x481},_0x880bef={'PNEJH':function(_0x2078ff,_0xeff5b4){return _0x2078ff!==_0xeff5b4;},'pBhgb':function(_0xa45a32,_0x3c872e){return _0xa45a32===_0x3c872e;},'PNMtM':function(_0x5aeb97,_0x2ef064,_0x596013){return _0x5aeb97(_0x2ef064,_0x596013);},'GKLBB':function(_0x209603,_0x23f1ca){return _0x209603(_0x23f1ca);}},_0x30a7aa=this[_0x187bd8(_0x4c5d8e._0x3c3843,0x3fe)+_0x47cf7f(_0x4c5d8e._0x19b00e,0x2d7)];if(!_0x30a7aa||_0x880bef[_0x47cf7f(0x3bc,0x39f)](_0x30a7aa[_0x187bd8(-_0x4c5d8e._0x59c3bb,-_0x4c5d8e._0x12576b)+'te'],_0x4221f7[_0x47cf7f(0x761,_0x4c5d8e._0x4fbc2c)])){this['pushPend'+'ingGatew'+_0x47cf7f(0x3f1,_0x4c5d8e._0x55923a)+'e'](_0x2557de);return;}if(_0x880bef['pBhgb'](_0x2557de['kind'],_0x47cf7f(0x20a,0x452))){const _0x2b51f6=_0x880bef['PNMtM'](patchConnectRequestGatewayAuth,_0x2557de[_0x47cf7f(0x6b5,0x452)],readOpenClawInfo()),_0x1c39ba=_0x880bef[_0x47cf7f(0x5e8,0x4db)](parseConnectHandshakeMeta,_0x2b51f6[_0x47cf7f(_0x4c5d8e._0x49c72d,0x452)]);_0x1c39ba&&(_0x1c39ba['id']&&this[_0x47cf7f(_0x4c5d8e._0xa769ad,_0x4c5d8e._0x35fe6d)+_0x47cf7f(_0x4c5d8e._0x59950e,_0x4c5d8e._0x49d617)+_0x47cf7f(0x74b,0x6ba)+'s']['set'](_0x1c39ba['id'],{'method':_0x1c39ba[_0x47cf7f(_0x4c5d8e._0x24d42f,0x317)],'startedAtMs':Date[_0x187bd8(-0x2a,-0x17b)](),'slowWarningLogged':![]}),this[_0x187bd8(-_0x4c5d8e._0x4f8a4d,-_0x4c5d8e._0x28d880)]('gateway\x20'+_0x187bd8(-_0x4c5d8e._0x2106a7,0x13e)+_0x187bd8(_0x4c5d8e._0x2864f0,_0x4c5d8e._0x1a319d)+_0x187bd8(0x1d0,0x40c)+'d'+_0x880bef[_0x47cf7f(0x44d,_0x4c5d8e._0x4a3ac2)](formatConnectHandshakeMetaForLog,_0x1c39ba)));_0x2b51f6[_0x47cf7f(_0x4c5d8e._0x7963d0,_0x4c5d8e._0x1b2804)]&&this[_0x187bd8(-0xb5,-0x22)](_0x187bd8(-_0x4c5d8e._0x4fe9c8,_0x4c5d8e._0x12aab5)+'connect\x20'+_0x47cf7f(0x6d7,_0x4c5d8e._0x3ac2ba)+_0x187bd8(_0x4c5d8e._0x42fb4a,0x1e8)+_0x47cf7f(0x173,_0x4c5d8e._0x5ae2a2)+'rd');_0x30a7aa[_0x187bd8(_0x4c5d8e._0x33d0a3,-_0x4c5d8e._0x102708)](_0x2b51f6[_0x187bd8(0x13,-_0x4c5d8e._0x447f62)]);return;}function _0x47cf7f(_0x3dbba4,_0x426775){return _0x410a57(_0x3dbba4,_0x426775-_0x451420._0x5b64c5);}function _0x187bd8(_0x57c2e7,_0x1daa87){return _0x410a57(_0x1daa87,_0x57c2e7-0x42);}_0x30a7aa[_0x47cf7f(0x63d,_0x4c5d8e._0x1d79e5)](_0x2557de[_0x187bd8(0x198,_0x4c5d8e._0x39c851)]);}['sendGate'+_0x2420cb(0x690,0x855)+'st'](_0x29b17a,_0x5a5144){const _0x4fd88c={_0x1a254f:0x76a,_0x3f1d20:0x6dc,_0x5002f3:0x771,_0x5a2130:0xb81,_0x35135f:0x9d3,_0x21e68e:0x87a,_0x1b5a9f:0x77f,_0x115f0a:0x5a7,_0x5a6cc7:0x4d7,_0x12f564:0x658};function _0xfb4c90(_0x43d8ad,_0xd15ff9){return _0x2420cb(_0xd15ff9- -0x1f,_0x43d8ad);}const _0x1d690d={'dyTbJ':function(_0x4ff82a){return _0x4ff82a();},'XEZYZ':_0x29c385(_0x4fd88c._0x1a254f,0x59c)},_0xc8781c=JSON[_0x29c385(0x79a,_0x4fd88c._0x3f1d20)+'y']({'type':_0xfb4c90(0x71f,0x4fb),'id':_0xfb4c90(0x60d,0x8a4)+_0x1d690d[_0x29c385(_0x4fd88c._0x5002f3,0x706)](_0x213d64),'method':_0x29b17a,'params':_0x5a5144}),_0x5d1c80={};function _0x29c385(_0xc086a1,_0xeede8b){return _0x2420cb(_0xeede8b- -0x105,_0xc086a1);}_0x5d1c80[_0xfb4c90(_0x4fd88c._0x5a2130,_0x4fd88c._0x35135f)]=_0x1d690d[_0xfb4c90(_0x4fd88c._0x21e68e,0x77a)],_0x5d1c80['text']=_0xc8781c,this[_0x29c385(0x527,0x7b8)+_0x29c385(0xa50,0x7e7)+_0x29c385(_0x4fd88c._0x1b5a9f,_0x4fd88c._0x115f0a)+_0xfb4c90(_0x4fd88c._0x5a6cc7,_0x4fd88c._0x12f564)](_0x5d1c80);}[_0x410a57(0x45d,0x244)+'eway'](_0x317c2b=![]){const _0xdcf67c={_0x53c764:0x244,_0x33229a:0x24f,_0x5ebf47:0x3c0,_0x56ac08:0x4c9,_0x12031d:0x6b2,_0x249ce8:0x454,_0x4ff9ab:0x297,_0x399bd2:0xe4,_0x513046:0xdc,_0x251252:0x1c1,_0x222851:0x350,_0x1c2cfe:0x1b9,_0x2c1109:0xa0,_0x324763:0x104,_0x120495:0x5c0,_0x2ab668:0x533,_0x1f7c5e:0x209,_0x409671:0x44c,_0x450f2a:0x6e2,_0xa1b116:0xd8,_0x158b9f:0x2ff,_0x59f4ed:0x3be,_0x57e9e0:0x13d,_0x517ecb:0x219,_0x5049ce:0x14f,_0x1e3c75:0x43b,_0xd61cb7:0x1f9,_0x45c7ad:0x51,_0x41621d:0x3e4,_0xfa77e0:0x2db,_0x21e8b7:0x2cb,_0x66de65:0x4c7,_0x254f3a:0x4d3,_0xbe4acb:0x268,_0x500c0c:0x3f2,_0x3930f7:0x425,_0x3b7a12:0x2d8,_0x209b84:0x35f,_0x47a7f7:0x4af},_0x3a6c4c={};_0x3a6c4c[_0x10c8c8(_0xdcf67c._0x53c764,0x3f9)]=function(_0x377e1f,_0x5efdcc){return _0x377e1f===_0x5efdcc;};const _0x512a26=_0x3a6c4c;function _0x407258(_0x59c96b,_0x3e4bb2){return _0x410a57(_0x59c96b,_0x3e4bb2-0x184);}this['gatewayR'+_0x407258(0x416,0x34b)+'r']&&(clearTimeout(this[_0x407258(_0xdcf67c._0x33229a,_0xdcf67c._0x5ebf47)+_0x407258(0x474,0x34b)+'r']),this[_0x10c8c8(_0xdcf67c._0x56ac08,_0xdcf67c._0x12031d)+_0x10c8c8(_0xdcf67c._0x249ce8,_0xdcf67c._0x4ff9ab)+'r']=null);const _0x37108e=summarizePendingGatewayMessages(this[_0x407258(_0xdcf67c._0x399bd2,0xb2)+_0x10c8c8(0x36b,_0xdcf67c._0x513046)+_0x10c8c8(0x144,_0xdcf67c._0x251252)])[_0x10c8c8(0x3d9,_0xdcf67c._0x222851)+_0x407258(0x306,_0xdcf67c._0x1c2cfe)],_0x34c91=_0x317c2b&&this[_0x407258(-0x1e9,_0xdcf67c._0x2c1109)+_0x10c8c8(0x98,0x13b)]()&&shouldKeepGatewayConnected(this['snapshot'][_0x407258(_0xdcf67c._0x324763,0x1b2)+_0x10c8c8(0x2fd,0x38f)],_0x37108e);function _0x10c8c8(_0x4c05bd,_0x405d8b){return _0x410a57(_0x405d8b,_0x4c05bd-0x28d);}const _0xe69926=this[_0x10c8c8(_0xdcf67c._0x120495,_0xdcf67c._0x2ab668)+_0x407258(-_0xdcf67c._0x1f7c5e,-0x26)];this[_0x10c8c8(_0xdcf67c._0x409671,_0xdcf67c._0x450f2a)+'andshake'+_0x10c8c8(0x190,0x404)]=![],this['gatewayC'+_0x10c8c8(0x478,0x43d)+_0x407258(-_0xdcf67c._0xa1b116,0x143)]=null;if(!_0xe69926){this[_0x407258(_0xdcf67c._0x158b9f,_0xdcf67c._0x59f4ed)+_0x407258(0x171,0x1d2)+_0x407258(_0xdcf67c._0x57e9e0,_0xdcf67c._0x517ecb)+_0x407258(_0xdcf67c._0x5049ce,0x256)]=![],this['gatewayC'+_0x10c8c8(_0xdcf67c._0x1e3c75,_0xdcf67c._0xd61cb7)+'g']=![];_0x34c91&&this[_0x407258(0x264,0x10d)+_0x10c8c8(0x52e,0x573)+'nected']();return;}if(_0xe69926['readySta'+'te']===_0x4221f7['CLOSING']){this['gatewayC'+'loseBoun'+_0x407258(0x311,0x219)+'ing']=_0x34c91;return;}if(_0xe69926[_0x10c8c8(0x124,-_0xdcf67c._0x45c7ad)+'te']===_0x4221f7['CLOSED']){_0x512a26['XdyVX'](this[_0x10c8c8(0x5c0,_0xdcf67c._0x41621d)+'ocket'],_0xe69926)&&(this[_0x10c8c8(0x5c0,0x32d)+_0x407258(-0x2af,-0x26)]=null);this['gatewayC'+_0x10c8c8(_0xdcf67c._0xfa77e0,0x4c3)+_0x10c8c8(0x322,0x114)+_0x407258(_0xdcf67c._0x21e8b7,0x256)]=![],this[_0x10c8c8(_0xdcf67c._0x66de65,_0xdcf67c._0x254f3a)+_0x10c8c8(_0xdcf67c._0x1e3c75,_0xdcf67c._0xbe4acb)+'g']=![];_0x34c91&&this['ensureGa'+_0x407258(_0xdcf67c._0x500c0c,_0xdcf67c._0x3930f7)+'nected']();return;}this[_0x10c8c8(0x4c7,_0xdcf67c._0x3b7a12)+_0x10c8c8(0x2db,0x544)+'daryPend'+_0x10c8c8(_0xdcf67c._0x209b84,_0xdcf67c._0x47a7f7)]=_0x34c91,_0xe69926['close']();}['createWe'+_0x410a57(-0x256,0x25)](_0x2b7063){const _0x2c9947={_0x2449c6:0x38b,_0xb7aa63:0x61a,_0x2771f4:0x691,_0x47782e:0x420,_0x146924:0x201},_0xe957ec={_0x14cf92:0x1b4},_0xd7b50={_0x8a8a00:0xdb},_0x20bab7={};function _0x8210ca(_0x131eff,_0x259ff4){return _0x2420cb(_0x131eff- -_0xd7b50._0x8a8a00,_0x259ff4);}function _0x3ec6f7(_0x3516b4,_0x4bfeac){return _0x2420cb(_0x4bfeac- -_0xe957ec._0x14cf92,_0x3516b4);}_0x20bab7[_0x3ec6f7(0x273,0x347)]=function(_0x4b4ba6,_0x1153aa){return _0x4b4ba6*_0x1153aa;};const _0x21e0dc=_0x20bab7;if(this[_0x3ec6f7(0x6b7,0x6eb)][_0x8210ca(0x516,_0x2c9947._0x2449c6)+_0x8210ca(_0x2c9947._0xb7aa63,_0x2c9947._0x2771f4)])return this['options'][_0x8210ca(0x516,0x55e)+_0x8210ca(_0x2c9947._0xb7aa63,0x5d7)](_0x2b7063);return new _0x4221f7(_0x2b7063,{'maxPayload':_0x21e0dc[_0x8210ca(_0x2c9947._0x47782e,_0x2c9947._0x146924)](0x19*0x400,0x400)});}[_0x410a57(0x1aa,0x17c)+_0x2420cb(0x5c1,0x3f7)+_0x2420cb(0x9c2,0x93a)](_0x8b5766){const _0x1801c7={_0x4fa75d:0x53e,_0xe402e:0x582,_0x2be82e:0x4fb,_0xaa735e:0x799,_0x2c7da8:0x5c9,_0x51aa72:0x91f,_0x33ccc3:0x765,_0xa26bf1:0x88c,_0x1fa84d:0x66c,_0x5ec860:0x4ad,_0x1c8763:0x418,_0x931061:0x752,_0x2613b8:0xd3,_0x360c43:0x74b,_0x4c3016:0x35d,_0x101d65:0x3cd,_0x58045f:0x7ba,_0x226eae:0x5d5,_0x7836ce:0x2a4,_0x47c871:0x4cb},_0x2f2fb3=this['inFlight'+_0x7326a9(_0x1801c7._0x4fa75d,_0x1801c7._0xe402e)+'andshake'+'s'][_0x5e9c08(0x6ea,_0x1801c7._0x2be82e)](_0x8b5766['id']);if(!_0x2f2fb3)return;this[_0x5e9c08(0x6e7,_0x1801c7._0xaa735e)+'ConnectH'+_0x5e9c08(_0x1801c7._0x2c7da8,0x833)+'s']['delete'](_0x8b5766['id']);function _0x7326a9(_0x5edca4,_0xdcdd0){return _0x410a57(_0xdcdd0,_0x5edca4-0x437);}const _0xca2361=_0x8b5766['ok']?_0x5e9c08(0x839,_0x1801c7._0x51aa72):_0x7326a9(0x5ec,0x4e4)+_0x7326a9(_0x1801c7._0x33ccc3,0x905)+_0x5e9c08(0xa4c,_0x1801c7._0xa26bf1)+(_0x8b5766[_0x7326a9(_0x1801c7._0x1fa84d,_0x1801c7._0x5ec860)+'e']??'<none>')+(_0x7326a9(0x3cd,0x658)+'ssage=')+(_0x8b5766[_0x7326a9(_0x1801c7._0x1c8763,0x1ad)+_0x7326a9(0x3de,0x5ce)]??_0x5e9c08(_0x1801c7._0x931061,0x582));function _0x5e9c08(_0x59cdd7,_0x5d75a9){return _0x410a57(_0x59cdd7,_0x5d75a9-0x5fa);}this[_0x7326a9(0x340,_0x1801c7._0x2613b8)](_0x5e9c08(_0x1801c7._0x360c43,0x4dd)+_0x7326a9(0x347,0x57b)+_0x7326a9(_0x1801c7._0x4c3016,_0x1801c7._0x101d65)+_0x5e9c08(_0x1801c7._0x58045f,_0x1801c7._0x226eae)+_0x8b5766['id']+_0x7326a9(0x3b9,0x1bc)+_0x2f2fb3[_0x5e9c08(_0x1801c7._0x7836ce,0x490)]+('\x20elapsed'+'Ms=')+(Date[_0x5e9c08(0x39c,0x58e)]()-_0x2f2fb3[_0x5e9c08(0x3ab,_0x1801c7._0x47c871)+'tMs'])+'\x20'+_0xca2361);}[_0x2420cb(0x9ca,0xab2)+'lightCon'+_0x410a57(0x22e,0x219)+_0x410a57(0x186,0x9a)](_0x33d393){const _0x1e706d={_0x431761:0x6c5,_0x3a3f25:0x892,_0x59debe:0x61e,_0x369e79:0x730,_0x12bc0f:0x515,_0x228b7:0x42f,_0x27b260:0x3c1,_0x5b7c8d:0x409,_0x2d9cff:0x436,_0x10e80d:0x4c8,_0x2d5771:0x474,_0xf2d173:0x499,_0x24c063:0x3bc,_0x962f6d:0x35f,_0x31b76c:0x4ab,_0x5eb5ad:0x161,_0x49a352:0x3e8,_0x2cad8b:0x509,_0x38d59a:0x4e8,_0x1c0369:0x62d,_0x4cf5bd:0x453,_0x2455d2:0x4d4};if(this[_0x3ca474(_0x1e706d._0x431761,_0x1e706d._0x3a3f25)+_0xb7a46e(0x441,_0x1e706d._0x59debe)+_0xb7a46e(0x93e,0x750)+'s']['size']===0x0)return;for(const [_0x38dad0,_0x523e70]of this[_0x3ca474(_0x1e706d._0x431761,_0x1e706d._0x369e79)+'ConnectH'+'andshake'+'s'][_0x3ca474(_0x1e706d._0x12bc0f,0x4fa)]()){this[_0x3ca474(_0x1e706d._0x228b7,_0x1e706d._0x27b260)](_0x3ca474(_0x1e706d._0x5b7c8d,0x679)+_0x3ca474(_0x1e706d._0x2d9cff,0x364)+_0x3ca474(0x44c,0x613)+_0xb7a46e(0x592,_0x1e706d._0x10e80d)+'\x20reqId='+_0x38dad0+_0xb7a46e(_0x1e706d._0x2d5771,_0x1e706d._0xf2d173)+_0x523e70[_0x3ca474(_0x1e706d._0x24c063,0x4b6)]+(_0x3ca474(0x3ba,0x2a3)+_0x3ca474(0x3b0,0x59b))+(Date[_0xb7a46e(_0x1e706d._0x962f6d,_0x1e706d._0x31b76c)]()-_0x523e70[_0xb7a46e(_0x1e706d._0x5eb5ad,_0x1e706d._0x49a352)+_0xb7a46e(0x4fc,_0x1e706d._0x2cad8b)])+_0xb7a46e(0x3a3,0x5e8)+_0x33d393);}function _0x3ca474(_0x4d0f7d,_0x3f88fd){return _0x410a57(_0x3f88fd,_0x4d0f7d-0x526);}function _0xb7a46e(_0x386fdd,_0x438931){return _0x410a57(_0x386fdd,_0x438931-0x517);}this[_0x3ca474(_0x1e706d._0x431761,_0x1e706d._0x38d59a)+_0x3ca474(_0x1e706d._0x1c0369,_0x1e706d._0x4cf5bd)+_0x3ca474(0x75f,0x703)+'s'][_0xb7a46e(_0x1e706d._0x2455d2,0x54e)]();}[_0x410a57(-0xf8,-0x85)+_0x410a57(0x2ef,0x2cc)+'onnect'](){const _0x40c768={_0x551659:0x89f,_0x2e7aca:0x256,_0x463df0:0x8a5,_0x497271:0x4e3,_0x454b56:0x7cb,_0x560361:0x7d6,_0x4ab4a7:0x4e3,_0x227c9c:0x6a8,_0x1a1ad8:0x5d5,_0x3ecbb9:0x85a,_0x3e1ce1:0x10a,_0x28cc7d:0x13a,_0x2134de:0x38,_0x5551ca:0x444,_0x343430:0x234},_0x16d466={_0x11cf63:0x5e9,_0x2c2b5a:0x41f,_0x43856d:0x387},_0x30ce3f={};_0x30ce3f[_0xc4d820(0x4ae,0x2cb)]=function(_0x7f897a,_0xf12bb4){return _0x7f897a*_0xf12bb4;};const _0xc718c2=_0x30ce3f;if(this[_0x479d8b(_0x40c768._0x551659,0x7f1)]||this[_0xc4d820(-0x38,-_0x40c768._0x2e7aca)+_0xc4d820(0x444,0x1b4)])return;function _0x479d8b(_0x5d17f1,_0x24d43c){return _0x2420cb(_0x24d43c-0x6,_0x5d17f1);}const _0x25e6fd=this[_0x479d8b(0xa36,_0x40c768._0x463df0)][_0x479d8b(0x715,_0x40c768._0x497271)+_0x479d8b(0x897,0x9bb)+_0x479d8b(_0x40c768._0x454b56,_0x40c768._0x560361)]??RECONNECT_BASE_DELAY_MS,_0x2ec404=this['options'][_0x479d8b(0x755,_0x40c768._0x4ab4a7)+'tMaxDela'+'yMs']??RECONNECT_MAX_DELAY_MS;function _0xc4d820(_0xcd517d,_0x2819bb){return _0x2420cb(_0xcd517d- -0x515,_0x2819bb);}const _0x5c5c30=Math['min'](_0x2ec404,_0xc718c2['svwOf'](_0x25e6fd,Math[_0xc4d820(0x421,_0x40c768._0x227c9c)](0x1,this[_0x479d8b(_0x40c768._0x1a1ad8,0x7e2)+_0xc4d820(-0xf,-0x252)])));this[_0xc4d820(0xc4,0x80)](_0x479d8b(0x71c,_0x40c768._0x3ecbb9)+'connect\x20'+_0xc4d820(0x136,_0x40c768._0x3e1ce1)+_0xc4d820(_0x40c768._0x28cc7d,0xf4)+'s='+_0x5c5c30),this[_0xc4d820(-_0x40c768._0x2134de,0x10c)+_0xc4d820(_0x40c768._0x5551ca,_0x40c768._0x343430)]=setTimeout(()=>{const _0x1fa963={_0x256cc9:0x16b};function _0x2299a8(_0x48d042,_0xd227ba){return _0x479d8b(_0x48d042,_0xd227ba- -_0x1fa963._0x256cc9);}this[_0x11921f(0x3bb,0x17c)+_0x2299a8(_0x16d466._0x11cf63,0x7f4)]=null;function _0x11921f(_0x463f9a,_0x330809){return _0x479d8b(_0x463f9a,_0x330809- -0x367);}void this[_0x2299a8(0x7dd,0x6b7)+_0x2299a8(_0x16d466._0x2c2b5a,_0x16d466._0x43856d)]();},_0x5c5c30);}[_0x410a57(-0x1a4,-0x85)+_0x2420cb(0x911,0x7db)+'econnect'](){const _0x11b8b2={_0x4243fc:0xac,_0x4429af:0x181,_0x88aa48:0xa78,_0x172ab6:0xe9,_0x5b480c:0x1c8,_0x1f529b:0x29,_0x578aa8:0x2e9,_0x119b4b:0x55,_0x349cb6:0x1fc,_0x3e553c:0x37,_0x584153:0x48,_0x1aa42c:0x7cb,_0x4081a1:0x53b,_0x50cb2e:0x75e,_0x50a22b:0x11d,_0x4781b5:0xf3,_0x11a72f:0x289,_0x5c769e:0xc4,_0x488928:0x274,_0x45e8c4:0x4f8},_0x47a2b2={_0x21750b:0x606},_0x1cc70e={_0x5a3d6a:0x70f},_0x2edd58={_0x149728:0x730},_0x2c4331={_0xdcac60:0xad};function _0xb11355(_0x449c9d,_0x2aeab5){return _0x410a57(_0x2aeab5,_0x449c9d-_0x2c4331._0xdcac60);}const _0x4f3a20={'WEaGJ':function(_0x3372de,_0x4e60e3,_0x24acb1){return _0x3372de(_0x4e60e3,_0x24acb1);}},_0x3554a5=summarizePendingGatewayMessages(this[_0xb11355(-0x25,_0x11b8b2._0x4243fc)+_0xb11355(0x18b,0x175)+_0xb11355(-0x9c,-_0x11b8b2._0x4429af)])[_0x5e20d7(_0x11b8b2._0x88aa48,0x87c)+_0xb11355(0xe2,_0x11b8b2._0x172ab6)];if(this[_0xb11355(_0x11b8b2._0x5b480c,-_0x11b8b2._0x1f529b)]||this[_0xb11355(_0x11b8b2._0x578aa8,_0x11b8b2._0x119b4b)+_0xb11355(0x274,_0x11b8b2._0x349cb6)+'r']||!this[_0xb11355(-_0x11b8b2._0x3e553c,-_0x11b8b2._0x584153)+_0x5e20d7(_0x11b8b2._0x1aa42c,_0x11b8b2._0x4081a1)]()||!_0x4f3a20['WEaGJ'](shouldKeepGatewayConnected,this['snapshot'][_0x5e20d7(0x88f,_0x11b8b2._0x50cb2e)+_0xb11355(_0x11b8b2._0x50a22b,0x3b4)],_0x3554a5))return;const _0xc48224=this['options'][_0xb11355(0x2e9,0x8c)+_0xb11355(-_0x11b8b2._0x4781b5,0x99)+_0xb11355(_0x11b8b2._0x11a72f,_0x11b8b2._0x5c769e)]??GATEWAY_RETRY_DELAY_MS;function _0x5e20d7(_0x149aa8,_0x307bf0){return _0x410a57(_0x149aa8,_0x307bf0-_0x2edd58._0x149728);}this[_0xb11355(0x2e9,_0x11b8b2._0x349cb6)+_0xb11355(_0x11b8b2._0x488928,_0x11b8b2._0x45e8c4)+'r']=setTimeout(()=>{const _0x35fb2f={_0x31e2d8:0x3e0};function _0x256d8c(_0x715e83,_0x3aa8ac){return _0x5e20d7(_0x715e83,_0x3aa8ac- -_0x35fb2f._0x31e2d8);}function _0x2781a4(_0x5daaf1,_0x5b2fbf){return _0x5e20d7(_0x5b2fbf,_0x5daaf1- -_0x1cc70e._0x5a3d6a);}this[_0x256d8c(0x64d,0x58c)+'etryTime'+'r']=null,this[_0x2781a4(-0x56,0x26)+'tewayCon'+_0x256d8c(0x410,_0x47a2b2._0x21750b)]();},_0xc48224);}['startHea'+'rtbeat'](){const _0x1b1d27={_0xa67a33:0x545,_0xb79595:0x50a,_0x2a2282:0x5e8,_0x1d97f3:0x3e8,_0x45e091:0x12a,_0x29d47c:0x67c,_0x154fa0:0xd,_0x8ce3eb:0x239},_0x2094c6={_0x5756b0:0x72c,_0x32bd23:0x4e1,_0x198ddb:0x92c,_0x58e548:0x590,_0x8d4695:0x40e,_0x3f951c:0x788,_0x54accd:0x824,_0x43f169:0x8ad,_0x532ba1:0x4e0,_0x4a828c:0x487,_0x1af58d:0x477,_0x4e063c:0x826,_0x139cd1:0x870,_0x4856ad:0x553,_0x3ebccf:0x542,_0x3195a6:0x521,_0x28a50c:0x781,_0x5a8bc7:0x2ed,_0x7bc057:0x395,_0x5c2abc:0x2d7},_0x2b8bbc={_0x1c4102:0x4ad},_0x4de6c5={'irdVH':function(_0x45d380,_0x37f6bc,_0x1702ae){return _0x45d380(_0x37f6bc,_0x1702ae);}};function _0x18ada6(_0x1d7154,_0x339a41){return _0x410a57(_0x1d7154,_0x339a41-_0x2b8bbc._0x1c4102);}this[_0x18ada6(0x90c,0x6a7)+'tbeat']();function _0x39732d(_0x29eb0e,_0x5eb48a){return _0x410a57(_0x29eb0e,_0x5eb48a-0x15f);}this[_0x18ada6(_0x1b1d27._0xa67a33,_0x1b1d27._0xb79595)+_0x39732d(_0x1b1d27._0x2a2282,_0x1b1d27._0x1d97f3)]=_0x4de6c5[_0x39732d(_0x1b1d27._0x45e091,0x14b)](setInterval,()=>{const _0x3c2206={_0x439efd:0x2a},_0x17b5d8=this[_0x47ce7b(0x56c,0x454)+_0x3be7cb(0x571,_0x2094c6._0x5756b0)];function _0x47ce7b(_0x585843,_0x1e5ada){return _0x18ada6(_0x1e5ada,_0x585843-0x19d);}if(!_0x17b5d8||_0x17b5d8[_0x47ce7b(_0x2094c6._0x32bd23,0x5bd)+'te']!==_0x4221f7[_0x47ce7b(_0x2094c6._0x198ddb,0x83a)])return;this[_0x3be7cb(_0x2094c6._0x58e548,_0x2094c6._0x8d4695)+_0x47ce7b(_0x2094c6._0x3f951c,0x88f)+_0x47ce7b(_0x2094c6._0x54accd,_0x2094c6._0x43f169)]();const _0x3e208a=this['options'][_0x3be7cb(0x68a,_0x2094c6._0x532ba1)+_0x47ce7b(_0x2094c6._0x4a828c,0x612)+'Ms']??HEARTBEAT_TIMEOUT_MS;if(Date['now']()-this['lastRela'+_0x47ce7b(_0x2094c6._0x1af58d,0x4a1)+_0x47ce7b(_0x2094c6._0x4e063c,_0x2094c6._0x139cd1)]>_0x3e208a){this[_0x47ce7b(_0x2094c6._0x4856ad,_0x2094c6._0x3ebccf)]('relay\x20he'+_0x47ce7b(_0x2094c6._0x3195a6,0x785)+_0x47ce7b(0x858,_0x2094c6._0x28a50c)+'t'),_0x17b5d8[_0x3be7cb(_0x2094c6._0x5a8bc7,_0x2094c6._0x7bc057)+'e']();return;}function _0x3be7cb(_0x452b2a,_0x47a1fc){return _0x18ada6(_0x452b2a,_0x47a1fc- -_0x3c2206._0x439efd);}_0x17b5d8[_0x3be7cb(0x8d,_0x2094c6._0x5c2abc)]();},this[_0x18ada6(0x748,_0x1b1d27._0x29d47c)][_0x39732d(-_0x1b1d27._0x154fa0,0x1bc)+_0x39732d(0x358,_0x1b1d27._0x8ce3eb)+_0x39732d(-0x253,-0x1a)]??HEARTBEAT_INTERVAL_MS);}[_0x410a57(0x134,0x1fa)+_0x410a57(-0x240,-0x1dc)](){const _0x21802a={_0x1f44d0:0x1a0,_0x2be40e:0x68,_0x4847d7:0x1a0,_0x2bd36b:0x378,_0x2b742c:0x6ed,_0x4a5657:0xa9};function _0x59ad99(_0x4279d9,_0x26604d){return _0x410a57(_0x4279d9,_0x26604d-0x464);}function _0x7c0afe(_0x1b6277,_0x40b256){return _0x410a57(_0x40b256,_0x1b6277-0x143);}this[_0x7c0afe(_0x21802a._0x1f44d0,_0x21802a._0x2be40e)+'tTimer']&&(clearInterval(this[_0x7c0afe(_0x21802a._0x4847d7,_0x21802a._0x2bd36b)+_0x59ad99(0x4c1,_0x21802a._0x2b742c)]),this[_0x7c0afe(_0x21802a._0x1f44d0,_0x21802a._0x4a5657)+_0x7c0afe(0x3cc,0x343)]=null);}[_0x2420cb(0x65b,0x8b1)+_0x2420cb(0x80e,0x59a)+_0x410a57(0x401,0x1da)](){const _0xc36713={_0x1d45b8:0x375,_0x76a9f2:0x777,_0x29467e:0x71a,_0x4b2ddc:0x751,_0x397d7b:0x645,_0x3c29a2:0x777,_0x2c0e2e:0x7a7,_0x4a6105:0x6ce,_0x56ffc3:0x3e2,_0x2a0fac:0x6ce,_0x2cb949:0x5ea,_0x6f2818:0x629,_0x52aa9e:0x2f0,_0x321d0a:0x421,_0x270666:0x30c,_0xe0b883:0x211,_0x50cf46:0x24a,_0xabdb4:0x485,_0x363dc6:0x312,_0x574e72:0x3d2,_0x453e03:0x4a1},_0x526ba6={_0x244bbb:0x2d4},_0x190f9e={};_0x190f9e[_0xba2abf(_0xc36713._0x1d45b8,0x5be)]=function(_0x4046a1,_0x583cee){return _0x4046a1<_0x583cee;};const _0x45269e=_0x190f9e;if(this['inFlight'+'ConnectH'+_0xba2abf(_0xc36713._0x76a9f2,0x4fa)+'s']['size']===0x0)return;function _0xba2abf(_0x37448d,_0x5c86e4){return _0x2420cb(_0x37448d- -0x192,_0x5c86e4);}const _0x285e08=this['options'][_0x266cae(0x33c,0x18b)+'andshake'+'WarnDela'+_0xba2abf(_0xc36713._0x29467e,0x69c)]??CONNECT_HANDSHAKE_WARN_DELAY_MS,_0x37dcf6=Date[_0xba2abf(0x4d2,_0xc36713._0x4b2ddc)]();function _0x266cae(_0x15a082,_0x5b0f39){return _0x2420cb(_0x15a082- -_0x526ba6._0x244bbb,_0x5b0f39);}for(const [_0xb8be47,_0x1dcbfc]of this['inFlight'+_0xba2abf(_0xc36713._0x397d7b,0x648)+_0xba2abf(_0xc36713._0x3c29a2,0x952)+'s'][_0xba2abf(0x52d,_0xc36713._0x2c0e2e)]()){const _0x3b05fa=_0x37dcf6-_0x1dcbfc['startedA'+_0x266cae(0x3ee,0x17a)];if(_0x1dcbfc[_0xba2abf(_0xc36713._0x4a6105,0x7c3)+_0x266cae(0x5ea,0x82b)+'d']||_0x45269e[_0xba2abf(0x375,_0xc36713._0x56ffc3)](_0x3b05fa,_0x285e08))continue;_0x1dcbfc[_0xba2abf(_0xc36713._0x2a0fac,0x822)+_0x266cae(_0xc36713._0x2cb949,_0xc36713._0x6f2818)+'d']=!![],this[_0xba2abf(0x447,_0xc36713._0x52aa9e)](_0xba2abf(_0xc36713._0x321d0a,0x5d4)+_0x266cae(_0xc36713._0x270666,_0xc36713._0xe0b883)+_0xba2abf(0x682,0x6d0)+_0xba2abf(0x3ed,_0xc36713._0x50cf46)+_0xba2abf(_0xc36713._0xabdb4,_0xc36713._0x363dc6)+_0xb8be47+_0x266cae(0x37e,0x47b)+_0x1dcbfc[_0x266cae(0x292,0x13c)]+(_0xba2abf(_0xc36713._0x574e72,_0xc36713._0x453e03)+_0x266cae(0x286,0x27f))+_0x3b05fa);}}['pushPend'+_0x410a57(-0x6e,0x21e)+_0x410a57(-0x47,-0x17d)+'e'](_0x291b1b){const _0x16f6b0={_0x2b1d8e:0x462,_0x2f6f07:0x612,_0x18d33a:0x50f,_0x469967:0x173,_0x47600b:0xd2,_0x149d7d:0x155,_0x4e36ed:0x672,_0x2a87f0:0x4ea,_0x514344:0x3eb,_0x1ad2ae:0x535},_0x4544d6={_0x608b7e:0x19c},_0x5c5c11={_0x33edbc:0x659};function _0x36a37f(_0x1497e4,_0x36673e){return _0x2420cb(_0x36673e- -_0x5c5c11._0x33edbc,_0x1497e4);}function _0x4d988e(_0x2ab2a9,_0xfad590){return _0x2420cb(_0x2ab2a9- -_0x4544d6._0x608b7e,_0xfad590);}this[_0x4d988e(_0x16f6b0._0x2b1d8e,0x67b)+_0x4d988e(_0x16f6b0._0x2f6f07,_0x16f6b0._0x18d33a)+_0x36a37f(-_0x16f6b0._0x469967,-_0x16f6b0._0x47600b)]['length']>=MAX_PENDING_GATEWAY_MESSAGES&&this['pendingG'+_0x36a37f(0x117,_0x16f6b0._0x149d7d)+_0x4d988e(0x3eb,_0x16f6b0._0x4e36ed)]['shift'](),this[_0x4d988e(_0x16f6b0._0x2b1d8e,0x2db)+_0x4d988e(0x612,_0x16f6b0._0x2a87f0)+_0x4d988e(_0x16f6b0._0x514344,0x1c0)][_0x4d988e(_0x16f6b0._0x1ad2ae,0x795)](_0x291b1b);}[_0x410a57(0x1ad,-0xa3)+_0x2420cb(0x941,0xa5d)+_0x410a57(0x4e,0x60)+'e'](){const _0x245d77={_0x274167:0x395,_0xda7e67:0x5a3,_0x23a59a:0x1a8,_0x3bfc6e:0x215,_0x5ab7cb:0x7f0,_0x24b674:0x1de,_0x537edd:0x557,_0x5d6376:0x7d9,_0x30361a:0x5c2,_0x39abab:0xa38,_0x26e1f8:0x7b5,_0x1adada:0x527,_0x402411:0x5ac,_0x296675:0x8b4,_0x57baba:0x420},_0x3174ce={_0x23b5ae:0x675},_0x36572b={_0x5ea398:0x327},_0x6b5e47={'Ivhvi':function(_0x570da4,_0x447ca1){return _0x570da4(_0x447ca1);},'MKmnL':function(_0x26b7eb,_0x21185d){return _0x26b7eb===_0x21185d;}};function _0x26aa83(_0x2f939a,_0x9dc89){return _0x410a57(_0x2f939a,_0x9dc89-_0x36572b._0x5ea398);}const _0xe4a7e1=_0x6b5e47[_0x26aa83(0x2e0,_0x245d77._0x274167)](summarizePendingGatewayMessages,this[_0x5230e8(0x5a5,_0x245d77._0xda7e67)+_0x26aa83(_0x245d77._0x23a59a,0x405)+'ssages']);if(_0x6b5e47[_0x26aa83(0x1f7,0x2f0)](_0xe4a7e1[_0x5230e8(0x79c,0x7aa)],0x0)||_0xe4a7e1[_0x26aa83(_0x245d77._0x3bfc6e,0x473)+'equests']>0x0)return;function _0x5230e8(_0xcb6b5e,_0x3fbecb){return _0x410a57(_0xcb6b5e,_0x3fbecb-_0x3174ce._0x23b5ae);}this['pendingG'+_0x5230e8(_0x245d77._0x5ab7cb,0x753)+_0x26aa83(0x383,_0x245d77._0x24b674)]=[],this['log'](_0x5230e8(0x41a,_0x245d77._0x537edd)+_0x5230e8(0x939,_0x245d77._0x5d6376)+_0x26aa83(0x4cd,_0x245d77._0x30361a)+_0x5230e8(_0x245d77._0x39abab,_0x245d77._0x26e1f8)+_0x26aa83(_0x245d77._0x1adada,_0x245d77._0x402411)+_0xe4a7e1[_0x5230e8(_0x245d77._0x296675,0x7aa)]+_0x5230e8(0x352,0x5d0)+_0xe4a7e1[_0x26aa83(_0x245d77._0x57baba,0x33c)+'t']+'\x20binary='+_0xe4a7e1['binary']);}[_0x2420cb(0x721,0x7b6)+_0x410a57(0x2ce,0xb4)+_0x410a57(0x164,0x71)](_0x521d49,_0x3df5d1){const _0x10aea7={_0x1cfb99:0x317,_0x47d9fa:0x80,_0x1b0225:0x7,_0x40d05e:0x308,_0x340e66:0x1ca,_0x1a49aa:0x99,_0x4983bc:0x189,_0x401083:0xbf,_0x529269:0xc5,_0x15dcbe:0x267,_0x2fe881:0x180,_0x56baac:0x46b,_0x5759b9:0x29a,_0x146066:0x128,_0x32a372:0x4c8,_0xd5a0eb:0x3dd},_0x985140=Date[_0x3aa360(-_0x10aea7._0x1cfb99,-_0x10aea7._0x47d9fa)](),_0x2a388e=new Map(this[_0x32a04e(0xb5,0x202)][_0x3aa360(0x1b7,_0x10aea7._0x1b0225)+_0x32a04e(0x128,_0x10aea7._0x40d05e)][_0x3aa360(-_0x10aea7._0x340e66,-0xca)](_0x3cdc22=>[_0x3cdc22['id'],{..._0x3cdc22}])),_0x30e74a=_0x2a388e[_0x32a04e(_0x10aea7._0x1a49aa,-_0x10aea7._0x4983bc)](_0x521d49)??{'id':_0x521d49,'label':_0x3df5d1,'state':'connecte'+'d','lastSeenMs':_0x985140};_0x30e74a['label']=_0x3df5d1,_0x30e74a['state']=_0x3aa360(-0xad,_0x10aea7._0x1b0225)+'d';function _0x3aa360(_0x2af7ad,_0x42430a){return _0x410a57(_0x2af7ad,_0x42430a- -0x14);}_0x30e74a[_0x3aa360(_0x10aea7._0x401083,-_0x10aea7._0x529269)+'Ms']=_0x985140;function _0x32a04e(_0x13dec0,_0x403daa){return _0x410a57(_0x403daa,_0x13dec0-0x198);}_0x2a388e[_0x3aa360(0xa8,0x10c)](_0x521d49,_0x30e74a);const _0x178e9b=[..._0x2a388e[_0x3aa360(_0x10aea7._0x15dcbe,0x2aa)]()][_0x32a04e(_0x10aea7._0x2fe881,0xd2)]((_0xc5c1d5,_0x35554f)=>_0x35554f['lastSeen'+'Ms']-_0xc5c1d5[_0x32a04e(0xe7,0x306)+'Ms'])[_0x3aa360(_0x10aea7._0x56baac,_0x10aea7._0x5759b9)](0x0,MAX_DEVICE_DETAILS),_0x555cac={};_0x555cac['connecte'+_0x32a04e(_0x10aea7._0x146066,-0xa9)]=_0x178e9b,this[_0x32a04e(_0x10aea7._0x32a372,_0x10aea7._0xd5a0eb)+'apshot'](_0x555cac);}[_0x2420cb(0x7f2,0xa5a)+'cesRecen'+'t'](){const _0x41e878={_0x4090df:0x239,_0x1ebb86:0x147,_0x5907c9:0x213,_0x16a151:0x6f,_0x251801:0x6c},_0x45a7ea={_0x288a0c:0x6da},_0xae0587={_0x47d192:0x65c};function _0x5bb4bc(_0x133141,_0x2301fe){return _0x2420cb(_0x133141- -_0xae0587._0x47d192,_0x2301fe);}function _0x22d10d(_0x32ef54,_0x1507a5){return _0x2420cb(_0x1507a5- -_0x45a7ea._0x288a0c,_0x32ef54);}this[_0x22d10d(_0x41e878._0x4090df,0x326)+_0x22d10d(_0x41e878._0x1ebb86,_0x41e878._0x5907c9)]({'connectedDevices':this[_0x5bb4bc(-_0x41e878._0x16a151,0x12)][_0x22d10d(_0x41e878._0x251801,0x11)+'dDevices']['map'](_0x298e94=>({..._0x298e94,'state':_0x22d10d(-0x95,0xe2)}))});}[_0x410a57(-0x3e8,-0x1a8)+'ngPairRe'+_0x2420cb(0x544,0x50f)](_0x2071ab){const _0x256b8a={_0x190613:0x15b,_0x373542:0x13d,_0x17d8ea:0x4e0,_0x42cb2a:0x4f4,_0x217f09:0x1ad,_0x254dfe:0x672,_0x5d7a05:0x887,_0x3e01fd:0x984,_0x206512:0xbb,_0x25296e:0x27e,_0x176a9a:0x9cc,_0xd83087:0x8a5,_0x2ed1de:0x370,_0x40e6b6:0x3d9,_0x2799f9:0x1fe,_0x9eb072:0x129,_0x4fdfec:0xa5,_0x4aa4af:0x870},_0xf24ad={_0x59e506:0x4b0};if(this[_0x556c3c(_0x256b8a._0x190613,_0x256b8a._0x373542)]['pendingP'+_0x556c3c(_0x256b8a._0x17d8ea,_0x256b8a._0x42cb2a)+_0x556c3c(0xd5,0x1bc)][_0x556c3c(0x44c,0x388)](_0x19da19=>_0x19da19[_0x556c3c(0x59c,0x540)+'d']===_0x2071ab[_0x16263c(0xc87,0x9f6)+'d']))return;const _0x298d1a=[...this['snapshot'][_0x556c3c(_0x256b8a._0x217f09,0x27e)+_0x556c3c(0x6aa,0x4f4)+_0x16263c(0x7b1,_0x256b8a._0x254dfe)],_0x2071ab][_0x16263c(_0x256b8a._0x5d7a05,_0x256b8a._0x3e01fd)](-MAX_PENDING_PAIR_REQUESTS),_0x8ef2ec={};_0x8ef2ec[_0x556c3c(_0x256b8a._0x206512,_0x256b8a._0x25296e)+'airReque'+'sts']=_0x298d1a,this['updateSn'+'apshot'](_0x8ef2ec);function _0x16263c(_0x59105f,_0x5d29c3){return _0x2420cb(_0x5d29c3-0x6,_0x59105f);}function _0x556c3c(_0x32a132,_0x127d61){return _0x2420cb(_0x127d61- -_0xf24ad._0x59e506,_0x32a132);}this[_0x16263c(_0x256b8a._0x176a9a,_0x256b8a._0xd83087)][_0x556c3c(_0x256b8a._0x2ed1de,0x500)+_0x16263c(_0x256b8a._0x40e6b6,0x635)+'uest']?.(_0x2071ab),this[_0x556c3c(_0x256b8a._0x2799f9,_0x256b8a._0x9eb072)](_0x556c3c(-_0x256b8a._0x4fdfec,0x154)+_0x556c3c(0x2cc,0x418)+_0x556c3c(-0x1b,0x256)+'uestId='+_0x2071ab[_0x16263c(_0x256b8a._0x4aa4af,0x9f6)+'d']+('\x20deviceI'+'d=')+(_0x2071ab[_0x556c3c(0x4bd,0x22e)]||'<unknown'+'>'));}[_0x410a57(0x64,0x112)+_0x410a57(-0x306,-0x11b)+_0x410a57(-0x22f,-0x1e7)](_0x1e8016,_0x1a5822){const _0x115d7b={_0x5bbeee:0x602,_0x129dda:0x4c6,_0x23c00e:0x530,_0x35a2dc:0x521,_0x554378:0x7f5,_0x2519b9:0x802,_0x493742:0x118,_0x205c21:0x112,_0x3a9188:0x189,_0x27b584:0x14,_0x4e8cb1:0x465,_0x7a3c0a:0x6e7,_0x44242b:0x1d},_0x4d5c20={_0x256530:0x4d2},_0x3ce419={_0x3714a8:0x1b},_0x440d0f=this[_0x46e63d(_0x115d7b._0x5bbeee,0x3ef)][_0x46e63d(_0x115d7b._0x129dda,_0x115d7b._0x23c00e)+_0x46e63d(0x90c,0x7a6)+_0x46e63d(_0x115d7b._0x35a2dc,0x46e)]['map'](_0x2acca4=>_0x2acca4[_0x3cf0a5(0xfd,0x305)+'d']===_0x1e8016?{..._0x2acca4,'status':_0x1a5822===_0x46e63d(0x6c0,0x47c)||_0x1a5822===_0x46e63d(0x70d,0x65c)?_0x1a5822:_0x2acca4[_0x3cf0a5(0x5,0x291)]}:_0x2acca4),_0x3f064e={};_0x3f064e['pendingP'+'airReque'+_0x46e63d(0x222,0x46e)]=_0x440d0f;function _0x3cf0a5(_0x3416bc,_0x240551){return _0x410a57(_0x3416bc,_0x240551- -_0x3ce419._0x3714a8);}function _0x46e63d(_0xdd895,_0x33147b){return _0x410a57(_0xdd895,_0x33147b-_0x4d5c20._0x256530);}this[_0x46e63d(_0x115d7b._0x554378,_0x115d7b._0x2519b9)+'apshot'](_0x3f064e),this[_0x3cf0a5(_0x115d7b._0x493742,-_0x115d7b._0x205c21)]('pair\x20req'+_0x3cf0a5(-_0x115d7b._0x3a9188,_0x115d7b._0x27b584)+_0x46e63d(_0x115d7b._0x4e8cb1,_0x115d7b._0x7a3c0a)+_0x3cf0a5(0xb2,_0x115d7b._0x44242b)+_0x1e8016+('\x20decisio'+'n=')+_0x1a5822);}['updateSn'+_0x2420cb(0x8ed,0x9c9)](_0x939156){const _0x5d2291={_0x203ec5:0x396,_0x26656e:0x4ed,_0x1d1415:0x4f7,_0x1ff6d7:0x68d},_0xa5b46d={_0x2cd805:0xec};Object[_0xfdae01(_0x5d2291._0x203ec5,_0x5d2291._0x26656e)](this[_0x582cf6(0x6f8,0x501)],_0x939156,{'lastUpdatedMs':Date['now']()});function _0x582cf6(_0x3a319b,_0x9fc096){return _0x2420cb(_0x9fc096- -_0xa5b46d._0x2cd805,_0x3a319b);}function _0xfdae01(_0x115850,_0x48b160){return _0x2420cb(_0x48b160- -0x17a,_0x115850);}this['options'][_0x582cf6(_0x5d2291._0x1d1415,_0x5d2291._0x1ff6d7)]?.(this['getSnaps'+_0x582cf6(0x65d,0x86a)]());}['log'](_0x5780dc){function _0x8d3b12(_0x2a0a40,_0x1d9620){return _0x2420cb(_0x1d9620- -0x568,_0x2a0a40);}function _0xeee821(_0x54d05a,_0x1fb965){return _0x2420cb(_0x1fb965- -0x70,_0x54d05a);}this[_0xeee821(0x5db,0x82f)][_0xeee821(0x522,0x704)]?.(_0x5780dc);}[_0x410a57(-0xf1,-0xe4)+_0x410a57(-0x411,-0x1f5)](){const _0x1f4640={_0x3b9426:0x1f6,_0x183427:0x365},_0x39b789={_0x545fa5:0x6b8},_0x109917={_0x54744c:0x65},_0x32130b={};function _0x4b3c24(_0x3aca40,_0x491d73){return _0x2420cb(_0x491d73- -_0x109917._0x54744c,_0x3aca40);}function _0x5e3d4a(_0xc0a08f,_0x60dcb5){return _0x2420cb(_0xc0a08f- -_0x39b789._0x545fa5,_0x60dcb5);}_0x32130b['manGy']=function(_0x44c2a8,_0x28a269){return _0x44c2a8===_0x28a269;};const _0x162882=_0x32130b;return _0x162882[_0x4b3c24(0x987,0x8ce)](this[_0x5e3d4a(-0xc6,-_0x1f4640._0x3b9426)+_0x5e3d4a(0x2c1,_0x1f4640._0x183427)]?.['readySta'+'te'],_0x4221f7['OPEN']);}['isGatewa'+_0x2420cb(0x72f,0x7da)](){const _0x581d79={_0x226d65:0x8ee,_0x1d0bb4:0xdc,_0x3b257a:0x710,_0x3d3158:0x66b};function _0x455923(_0x5025f6,_0x76b098){return _0x410a57(_0x76b098,_0x5025f6-0x23d);}function _0x304242(_0x1ced7b,_0x176998){return _0x410a57(_0x176998,_0x1ced7b-0x42e);}return this[_0x304242(0x761,_0x581d79._0x226d65)+_0x455923(0x93,_0x581d79._0x1d0bb4)]?.[_0x304242(0x2c5,0x400)+'te']===_0x4221f7[_0x304242(_0x581d79._0x3b257a,_0x581d79._0x3d3158)];}[_0x2420cb(0x716,0x7c6)+'ers'](){const _0x1e44ec={_0x1d6628:0x2ab,_0x453118:0x89,_0x51e656:0x384,_0x3757c4:0x152,_0x571228:0x124,_0x10d579:0x384,_0x15b6ff:0x5c1,_0x3338c7:0x268,_0x4c1863:0x1c1,_0xc55c32:0x3af,_0x40d2d5:0x2c2,_0x248ef1:0x306,_0xb9177a:0x45a,_0x471276:0x359},_0xb3c1bf={'QXflN':function(_0x2c2660,_0x2ba1fa){return _0x2c2660(_0x2ba1fa);}};function _0x33d0b2(_0x3731df,_0x4481b4){return _0x410a57(_0x4481b4,_0x3731df-0xfb);}this['stopHear'+_0x4730d6(-0x13b,-_0x1e44ec._0x1d6628)]();function _0x4730d6(_0x399cfa,_0x1c6620){return _0x410a57(_0x1c6620,_0x399cfa-0xa1);}this[_0x4730d6(-0x152,-_0x1e44ec._0x453118)+_0x33d0b2(_0x1e44ec._0x51e656,0x4e9)]&&(clearTimeout(this[_0x4730d6(-_0x1e44ec._0x3757c4,-_0x1e44ec._0x571228)+_0x33d0b2(_0x1e44ec._0x10d579,0x13f)]),this['reconnec'+_0x33d0b2(0x384,_0x1e44ec._0x15b6ff)]=null),this['gatewayR'+_0x4730d6(_0x1e44ec._0x3338c7,_0x1e44ec._0x4c1863)+'r']&&(_0xb3c1bf[_0x4730d6(_0x1e44ec._0xc55c32,0x469)](clearTimeout,this[_0x33d0b2(0x337,0x446)+_0x33d0b2(_0x1e44ec._0x40d2d5,_0x1e44ec._0x248ef1)+'r']),this[_0x33d0b2(0x337,_0x1e44ec._0xb9177a)+_0x33d0b2(0x2c2,_0x1e44ec._0x471276)+'r']=null);}[_0x410a57(-0x75,0x28)+_0x410a57(0x23d,0x66)](_0x19f6c0){const _0x4ca30f={_0x53366a:0x89,_0x1fc692:0x1c,_0x2b5af6:0x17},_0x3516f8={_0x577d94:0x190},_0x20bb6c={};_0x20bb6c[_0x24fe17(-_0x4ca30f._0x53366a,-0x17)]=function(_0x3fb16f,_0x580b9c){return _0x3fb16f==_0x580b9c;};const _0x7bfcae=_0x20bb6c;function _0x24fe17(_0x4c3cd2,_0x2f8952){return _0x410a57(_0x4c3cd2,_0x2f8952-_0x3516f8._0x577d94);}function _0x249f3c(_0x3b60a3,_0x18345d){return _0x410a57(_0x3b60a3,_0x18345d-0x66);}return _0x7bfcae[_0x24fe17(_0x4ca30f._0x1fc692,-_0x4ca30f._0x2b5af6)](_0x19f6c0,null)?null:Math['max'](0x0,Date[_0x249f3c(-0x263,-0x6)]()-_0x19f6c0);}};function shouldKeepGatewayConnected(_0x5ed828,_0x308e72){const _0x150cd1={_0x293bed:0x483,_0x19dd19:0x483,_0x3bba3f:0x494},_0x9f0082={_0x1a5e86:0x22d},_0xc0594c={};_0xc0594c[_0x28ff5e(_0x150cd1._0x293bed,0x5d0)]=function(_0x3f7e0e,_0xc75cd9){return _0x3f7e0e>_0xc75cd9;};const _0xcf226f=_0xc0594c;function _0x7cfac6(_0x58e53d,_0x900dbf){return _0x410a57(_0x58e53d,_0x900dbf- -0x3);}function _0x28ff5e(_0x34a3a2,_0x175cbb){return _0x410a57(_0x175cbb,_0x34a3a2-_0x9f0082._0x1a5e86);}return _0xcf226f[_0x7cfac6(0x48f,0x253)](_0x5ed828,0x0)||_0xcf226f[_0x28ff5e(_0x150cd1._0x19dd19,_0x150cd1._0x3bba3f)](_0x308e72,0x0);}function shouldScheduleGatewayIdleClose(_0x2d85d1,_0x489716,_0x54fdba){const _0x125b56={_0x1f549e:0x587};function _0x304312(_0x2d8b1d,_0x55b3d3){return _0x410a57(_0x55b3d3,_0x2d8b1d-_0x125b56._0x1f549e);}const _0x58d8b1={'IsezO':function(_0xc12123,_0x2b0e8e,_0x273d49){return _0xc12123(_0x2b0e8e,_0x273d49);}};return _0x54fdba&&!_0x58d8b1[_0x304312(0x5a8,0x46b)](shouldKeepGatewayConnected,_0x2d85d1,_0x489716);}function shouldRecycleGatewayForFreshClient(_0x299c3e,_0x1b02ca,_0x419758,_0x8d582){return _0x419758&&_0x1b02ca>0x0&&(_0x299c3e===0x0||_0x8d582);}function summarizePendingGatewayMessages(_0x22aa90){const _0x2346f9={_0x5b4535:0x245,_0x32b2e3:0x9b0,_0x3b3143:0x260,_0x24ab2e:0x21b,_0x2da0b9:0x1dc,_0x1732f4:0x2d4,_0x3caf41:0x50c,_0x3e6d18:0x318},_0x225b78={_0x1fa607:0x3cd};function _0x5108b8(_0x43863c,_0x438f53){return _0x2420cb(_0x438f53-0x72,_0x43863c);}function _0x432a55(_0x1276e1,_0x2c5617){return _0x2420cb(_0x2c5617- -_0x225b78._0x1fa607,_0x1276e1);}const _0x1343c9={};_0x1343c9[_0x5108b8(0xa04,0x877)]=_0x22aa90[_0x432a55(_0x2346f9._0x5b4535,0x228)],_0x1343c9[_0x5108b8(0xa81,0x88e)+'equests']=0x0,_0x1343c9[_0x5108b8(_0x2346f9._0x32b2e3,0x757)+'t']=0x0,_0x1343c9['binary']=0x0;const _0x49463e=_0x1343c9;for(const _0x3a698f of _0x22aa90){if(_0x3a698f[_0x5108b8(0xb59,0xa64)]===_0x5108b8(0x7f0,0x65a)){_0x49463e[_0x432a55(_0x2346f9._0x3b3143,_0x2346f9._0x24ab2e)]+=0x1;continue;}if(isConnectHandshakeRequest(_0x3a698f[_0x432a55(_0x2346f9._0x2da0b9,_0x2346f9._0x1732f4)])){_0x49463e[_0x5108b8(0x648,0x88e)+_0x432a55(_0x2346f9._0x3caf41,0x338)]+=0x1;continue;}_0x49463e[_0x432a55(0x411,_0x2346f9._0x3e6d18)+'t']+=0x1;}return _0x49463e;}function dedupePendingGatewayMessages(_0x3982cb){const _0x43441e={_0x2d2277:0x1c3,_0x21abd5:0x3ac,_0x113ae5:0x5ab,_0x3f1cdf:0x259,_0x590377:0x3ab,_0x2fdb17:0x61d,_0x4009b9:0x395},_0x49f1d0={_0x42926b:0x470},_0x486ffb={};_0x486ffb[_0x35f4a9(0x2d0,0x566)]=function(_0x3e2f39,_0x11de4d){return _0x3e2f39===_0x11de4d;};function _0x117a61(_0x43e33c,_0x50dfb5){return _0x410a57(_0x43e33c,_0x50dfb5-_0x49f1d0._0x42926b);}const _0x1953b8=_0x486ffb;let _0x493f03=-0x1;for(let _0x393e31=_0x3982cb[_0x35f4a9(0x300,_0x43441e._0x2d2277)]-0x1;_0x393e31>=0x0;_0x393e31-=0x1){const _0x3b1bd0=_0x3982cb[_0x393e31];if(_0x1953b8['Psjmk'](_0x3b1bd0?.[_0x117a61(0x795,0x792)],_0x35f4a9(_0x43441e._0x21abd5,0x3bb))&&isConnectHandshakeRequest(_0x3b1bd0['text'])){_0x493f03=_0x393e31;break;}}function _0x35f4a9(_0x7b0b56,_0x3f5ee3){return _0x410a57(_0x3f5ee3,_0x7b0b56-0x3db);}if(_0x493f03<=0x0){const _0x453207={};return _0x453207['messages']=[..._0x3982cb],_0x453207[_0x35f4a9(0x259,0x2a6)]=0x0,_0x453207;}const _0x13a91b=_0x3982cb[_0x117a61(_0x43441e._0x113ae5,0x47a)]((_0x1deab5,_0x4ec42f)=>_0x4ec42f>=_0x493f03||(_0x1deab5[_0x35f4a9(0x6fd,0x7b9)]!==_0x35f4a9(0x3ac,0x63d)||!isConnectHandshakeRequest(_0x1deab5[_0x35f4a9(0x3ac,0x37a)]))),_0x5906ff={};return _0x5906ff[_0x117a61(0x607,0x670)]=_0x13a91b,_0x5906ff[_0x35f4a9(_0x43441e._0x3f1cdf,_0x43441e._0x590377)]=_0x3982cb[_0x117a61(_0x43441e._0x2fdb17,0x395)]-_0x13a91b[_0x117a61(0x411,_0x43441e._0x4009b9)],_0x5906ff;}function prunePendingGatewayMessagesForFreshDemand(_0x1ed947){const _0x261b2f={_0x32ef18:0x424,_0x10a4be:0x480,_0x3f6c53:0xa3c,_0x5056f8:0x175,_0x186526:0x7a7,_0x5350b5:0x40},_0x522ba6={_0x4bc517:0x27},_0x577b80={'AttSd':function(_0x326d68,_0x16782c){return _0x326d68>=_0x16782c;},'DxlUn':'text','EuDId':function(_0x38b790,_0x5c34de){return _0x38b790(_0x5c34de);}};if(_0x1ed947['length']===0x0){const _0x3f4062={};return _0x3f4062[_0x12601c(0x67c,0x8a9)]=[],_0x3f4062[_0x12601c(_0x261b2f._0x32ef18,0x527)]=0x0,_0x3f4062;}let _0x4175a5=-0x1;for(let _0x45c806=_0x1ed947[_0x12601c(0x573,0x5ce)]-0x1;_0x577b80[_0x537453(0x22a,_0x261b2f._0x10a4be)](_0x45c806,0x0);_0x45c806-=0x1){const _0x376770=_0x1ed947[_0x45c806];if(_0x376770?.[_0x12601c(_0x261b2f._0x3f6c53,0x9cb)]===_0x577b80[_0x537453(_0x261b2f._0x5056f8,0xc)]&&_0x577b80[_0x12601c(0x882,0x76d)](isConnectHandshakeRequest,_0x376770['text'])){_0x4175a5=_0x45c806;break;}}function _0x537453(_0x4a354f,_0x2b750a){return _0x2420cb(_0x4a354f- -0x6ed,_0x2b750a);}if(_0x4175a5===-0x1){const _0x1d25cc={};return _0x1d25cc['messages']=[],_0x1d25cc[_0x12601c(0x768,0x527)]=_0x1ed947['length'],_0x1d25cc;}const _0xf86246=_0x1ed947[_0x537453(0x291,0x1ea)](_0x4175a5);function _0x12601c(_0x5530a6,_0x404c81){return _0x2420cb(_0x404c81- -_0x522ba6._0x4bc517,_0x5530a6);}const _0x3925e5={};return _0x3925e5[_0x12601c(_0x261b2f._0x186526,0x8a9)]=_0xf86246,_0x3925e5[_0x537453(-0x19f,_0x261b2f._0x5350b5)]=_0x1ed947[_0x12601c(0x4d8,0x5ce)]-_0xf86246[_0x12601c(0x585,0x5ce)],_0x3925e5;}function patchConnectRequestGatewayAuth(_0x350c82,_0x297cc5){const _0x1f95eb={_0x31d415:0x547,_0x1c3922:0x185,_0x3e1e38:0x517,_0x49cb8c:0x478,_0x11356c:0x519,_0x237109:0x619,_0x53d6b9:0x5c3,_0x548c83:0x643,_0x2f3f00:0x1c6,_0x2c432b:0x4e3,_0x55dd49:0x144,_0x41ef91:0x543,_0x5e0225:0x487,_0xac882d:0x3b3,_0x579f1a:0x365,_0x2b44c0:0x67d,_0x41d444:0x2a2,_0x2d841d:0x64f,_0x1811c1:0x56d,_0x34a4c3:0x430,_0x52fbfc:0x53c,_0x232816:0x27e,_0x28494c:0x6fb,_0xe95529:0x209,_0x52fb7e:0x2b5,_0x52c586:0x301,_0x4b7dcc:0x2eb,_0x82209c:0x4dc,_0x7b905a:0x40a,_0x3ac85a:0x2b0,_0x44462b:0x3cc,_0x52e3bd:0x4c7},_0x26ac78={_0x403887:0x33c},_0x555c11={_0x102f4e:0x3a0},_0x3d8ec0={};_0x3d8ec0[_0x3e00f3(_0x1f95eb._0x31d415,0x5e6)]=_0x3e00f3(0x1a0,_0x1f95eb._0x1c3922),_0x3d8ec0['QhdlX']=function(_0x4fd67e,_0x5ad17c){return _0x4fd67e===_0x5ad17c;};function _0x20e118(_0x40ef06,_0x5462b8){return _0x2420cb(_0x40ef06- -_0x555c11._0x102f4e,_0x5462b8);}function _0x3e00f3(_0x17282f,_0x13df66){return _0x2420cb(_0x17282f- -_0x26ac78._0x403887,_0x13df66);}_0x3d8ec0[_0x20e118(0x56d,0x76e)]=_0x20e118(_0x1f95eb._0x3e1e38,0x45e);const _0x31030a=_0x3d8ec0;if(_0x297cc5['authMode']!=='password'||!_0x297cc5[_0x20e118(_0x1f95eb._0x49cb8c,0x3da)]){const _0x5560e6={};return _0x5560e6[_0x20e118(0x301,_0x1f95eb._0x11356c)]=_0x350c82,_0x5560e6[_0x20e118(_0x1f95eb._0x237109,0x7f4)]=![],_0x5560e6;}try{const _0x5df6f7=JSON[_0x20e118(_0x1f95eb._0x53d6b9,0x581)](_0x350c82);if(_0x5df6f7[_0x20e118(_0x1f95eb._0x548c83,0x4a2)]!==_0x3e00f3(0x1de,-0xa0)||_0x5df6f7[_0x20e118(_0x1f95eb._0x2f3f00,0xe6)]!==_0x31030a[_0x20e118(_0x1f95eb._0x2c432b,0x3a4)]&&_0x5df6f7[_0x20e118(0x1c6,_0x1f95eb._0x55dd49)]!==_0x20e118(_0x1f95eb._0x41ef91,_0x1f95eb._0x5e0225)+_0x3e00f3(_0x1f95eb._0xac882d,0x2c7)){const _0x3d5c37={};return _0x3d5c37[_0x3e00f3(_0x1f95eb._0x579f1a,0x506)]=_0x350c82,_0x3d5c37[_0x3e00f3(_0x1f95eb._0x2b44c0,0x433)]=![],_0x3d5c37;}const _0x2edbe1=_0x5df6f7[_0x3e00f3(0x430,_0x1f95eb._0x41d444)]&&_0x31030a['QhdlX'](typeof _0x5df6f7[_0x3e00f3(0x430,_0x1f95eb._0x2d841d)],_0x31030a[_0x20e118(_0x1f95eb._0x1811c1,0x411)])?{..._0x5df6f7[_0x3e00f3(_0x1f95eb._0x34a4c3,0x4be)]}:{},_0x5f4823=_0x2edbe1['auth']&&typeof _0x2edbe1[_0x3e00f3(0x314,_0x1f95eb._0x52fbfc)]===_0x3e00f3(0x57b,0x46a)?{..._0x2edbe1[_0x3e00f3(0x314,0x2d4)]}:{},_0x286796=typeof _0x5f4823[_0x20e118(0x478,_0x1f95eb._0x232816)]===_0x3e00f3(0x6c6,0x720)?_0x5f4823[_0x3e00f3(0x4dc,_0x1f95eb._0x28494c)][_0x20e118(_0x1f95eb._0xe95529,_0x1f95eb._0x52fb7e)]():'';if(_0x286796){const _0x29b2e4={};return _0x29b2e4[_0x20e118(_0x1f95eb._0x52c586,_0x1f95eb._0x4b7dcc)]=_0x350c82,_0x29b2e4['injected']=![],_0x29b2e4;}_0x5f4823[_0x20e118(0x478,0x34c)]=_0x297cc5[_0x3e00f3(_0x1f95eb._0x82209c,_0x1f95eb._0x7b905a)],_0x2edbe1[_0x20e118(_0x1f95eb._0x3ac85a,0x178)]=_0x5f4823;const _0x56e18c={..._0x5df6f7};return _0x56e18c[_0x20e118(_0x1f95eb._0x44462b,_0x1f95eb._0x52e3bd)]=_0x2edbe1,{'text':JSON['stringif'+'y'](_0x56e18c),'injected':!![]};}catch{const _0x58ba94={};return _0x58ba94['text']=_0x350c82,_0x58ba94[_0x3e00f3(_0x1f95eb._0x2b44c0,0x5b4)]=![],_0x58ba94;}}function formatConnectHandshakeMetaForLog(_0x432356){const _0x378fb0={_0x1a6317:0x2ee,_0x3c354f:0x223,_0x3d5f96:0x43,_0x37e750:0x21d,_0x2f2c67:0x639,_0x5be5d4:0x887,_0x94c2e5:0x375,_0x2cc389:0x34b,_0x32ab97:0x68e,_0x4fa0d2:0x49f,_0x2b4fac:0x86e,_0x3e7fb4:0x28e,_0x33d396:0x6a6,_0x475eb7:0x605,_0x2d76f2:0x32d,_0x18e474:0x6a5,_0x25fdda:0x835,_0x1533aa:0x78d},_0x5615f4={_0x20d55b:0x435};function _0x3ffc09(_0x5392f4,_0x2e4e12){return _0x2420cb(_0x2e4e12- -_0x5615f4._0x20d55b,_0x5392f4);}const _0x4e9863={};_0x4e9863['hMQqt']=_0x3ffc09(_0x378fb0._0x1a6317,_0x378fb0._0x3c354f);const _0x1e0cf3=_0x4e9863;if(!_0x432356)return'';function _0x4f3de8(_0x4ed90f,_0x5916b1){return _0x2420cb(_0x5916b1-0xd3,_0x4ed90f);}return _0x3ffc09(-_0x378fb0._0x3d5f96,_0x378fb0._0x37e750)+_0x432356[_0x4f3de8(0x8bd,_0x378fb0._0x2f2c67)]+_0x4f3de8(_0x378fb0._0x5be5d4,0x77e)+(_0x432356['id']??'<none>')+(_0x3ffc09(_0x378fb0._0x94c2e5,_0x378fb0._0x2cc389)+_0x3ffc09(_0x378fb0._0x32ab97,_0x378fb0._0x4fa0d2))+_0x432356[_0x4f3de8(0x8f9,_0x378fb0._0x2b4fac)+_0x3ffc09(_0x378fb0._0x3e7fb4,0x339)]+('\x20nonceLe'+_0x4f3de8(_0x378fb0._0x33d396,0x682))+(_0x432356['nonceLen'+'gth']??0x0)+('\x20authFie'+_0x4f3de8(_0x378fb0._0x475eb7,0x883))+(_0x432356[_0x3ffc09(0x27a,_0x378fb0._0x2d76f2)+'ds']['length']>0x0?_0x432356[_0x4f3de8(_0x378fb0._0x18e474,_0x378fb0._0x25fdda)+'ds'][_0x4f3de8(0x815,_0x378fb0._0x1533aa)](','):_0x1e0cf3['hMQqt']);}function buildRelayWsUrl(_0x221a67){const _0x3552e2={_0x1d6328:0x17c,_0x14d66a:0x17c,_0x274bc5:0x2e7,_0x74c921:0x320,_0x317c6a:0x57b,_0xeece7b:0x3a4,_0x233916:0x623,_0x16bb8c:0x52e,_0x20237e:0x7ad,_0x1ed727:0x3ce,_0x40b524:0x44,_0x4aa40a:0x521,_0x5c2484:0x59b,_0x29d63e:0x668,_0x4b714f:0x665,_0x382672:0x630,_0x3c690d:0x8ab},_0x4bb862={_0x185d8e:0x2cf},_0x7d5b2c={_0x5e0a3d:0x461},_0x325cfc=new URL(_0x221a67['relayUrl']);(!_0x325cfc[_0x5ea51d(_0x3552e2._0x1d6328,0x59)]||_0x325cfc[_0x5ea51d(0x17c,0x17d)]==='/')&&(_0x325cfc[_0x5ea51d(_0x3552e2._0x14d66a,_0x3552e2._0x274bc5)]=_0x5ea51d(0x292,0x2c7));_0x325cfc['searchPa'+'rams']['set'](_0x5ea51d(_0x3552e2._0x74c921,_0x3552e2._0x317c6a)+'d',_0x221a67[_0xb398d4(0x4b2,0x302)+'d']),_0x325cfc[_0xb398d4(_0x3552e2._0xeece7b,0x55d)+_0xb398d4(_0x3552e2._0x233916,0x552)]['set']('role',_0x5ea51d(0x400,0x2b8));function _0x5ea51d(_0x5b58de,_0x52d7a5){return _0x2420cb(_0x5b58de- -_0x7d5b2c._0x5e0a3d,_0x52d7a5);}_0x325cfc[_0xb398d4(_0x3552e2._0xeece7b,0x543)+_0x5ea51d(0x491,0x285)]['set'](_0x5ea51d(_0x3552e2._0x16bb8c,_0x3552e2._0x20237e),_0x221a67[_0xb398d4(0x337,_0x3552e2._0x1ed727)+'Id']);function _0xb398d4(_0x28caf7,_0x2cb7ec){return _0x2420cb(_0x28caf7- -_0x4bb862._0x185d8e,_0x2cb7ec);}return _0x325cfc[_0x5ea51d(0x212,_0x3552e2._0x40b524)+'rams'][_0xb398d4(_0x3552e2._0x4aa40a,_0x3552e2._0x5c2484)](_0x5ea51d(0xa7,0x156),_0x221a67[_0xb398d4(_0x3552e2._0x29d63e,_0x3552e2._0x4b714f)+_0xb398d4(_0x3552e2._0x382672,_0x3552e2._0x3c690d)]),_0x325cfc[_0x5ea51d(0x2a9,0x9f)]();}function redactRelayWsUrl(_0x5d0bf8){const _0x3a5743={_0x340d94:0x36d,_0x83bd71:0x195,_0x512de6:0x322,_0x1ca358:0x574};function _0x2837b6(_0x1344af,_0x23ef95){return _0x2420cb(_0x1344af- -0x373,_0x23ef95);}const _0x4feab6=new URL(_0x5d0bf8);_0x4feab6[_0x5784a5(0x28b,0x356)+'rams'][_0x2837b6(0x414,_0x3a5743._0x340d94)](_0x5784a5(0x120,0x34d))&&_0x4feab6[_0x5784a5(0x28b,0x40f)+'rams']['set'](_0x2837b6(_0x3a5743._0x83bd71,0x15d),'<redacte'+'d>');function _0x5784a5(_0x5bd1f0,_0x5cf6ad){return _0x2420cb(_0x5bd1f0- -0x3e8,_0x5cf6ad);}return _0x4feab6[_0x5784a5(_0x3a5743._0x512de6,_0x3a5743._0x1ca358)]();}function normalizeText(_0x3799d2){const _0x32f613={_0x272f01:0x926,_0xa267f1:0x543,_0x3f405f:0x573,_0x40c2ea:0x1c3,_0x497e1d:0x2c0,_0xaf5098:0x336,_0x235702:0x147,_0x302564:0x249,_0x2a71b5:0x2e7,_0x3a3b32:0x2c0,_0x3c6d83:0x6c4,_0x2760e6:0x736,_0x4efd66:0x217,_0x2a27e5:0x27b},_0xcfcc34={_0x14a65b:0x55};function _0x4acf15(_0x142aa4,_0x5e219a){return _0x2420cb(_0x5e219a- -0x2d0,_0x142aa4);}const _0x2bc822={};_0x2bc822[_0x4cff09(_0x32f613._0x272f01,0x6fd)]=_0x4acf15(_0x32f613._0xa267f1,0x732);function _0x4cff09(_0x439066,_0x419b55){return _0x2420cb(_0x419b55-_0xcfcc34._0x14a65b,_0x439066);}_0x2bc822[_0x4acf15(0x528,_0x32f613._0x3f405f)]=_0x4acf15(_0x32f613._0x40c2ea,0x27b),_0x2bc822[_0x4acf15(0x3b8,_0x32f613._0x497e1d)]=function(_0x28786a,_0x3d3048){return _0x28786a instanceof _0x3d3048;};const _0x2c1a2d=_0x2bc822;if(typeof _0x3799d2===_0x2c1a2d[_0x4acf15(_0x32f613._0xaf5098,0x3d8)])return _0x3799d2;if(Buffer['isBuffer'](_0x3799d2))return _0x3799d2[_0x4cff09(0x75a,0x75f)](_0x2c1a2d['rjdCa']);if(Array[_0x4acf15(_0x32f613._0x235702,_0x32f613._0x302564)](_0x3799d2))return Buffer['concat'](_0x3799d2)['toString']('utf8');if(_0x2c1a2d[_0x4acf15(_0x32f613._0x2a71b5,_0x32f613._0x3a3b32)](_0x3799d2,ArrayBuffer))return Buffer[_0x4cff09(_0x32f613._0x3c6d83,_0x32f613._0x2760e6)](_0x3799d2)[_0x4acf15(0x4e7,0x43a)](_0x4acf15(_0x32f613._0x4efd66,_0x32f613._0x2a27e5));return null;}function normalizeBinary(_0x2de56d){const _0xdde902={_0x4c7163:0x1ba,_0x29f016:0x2e2,_0x434a35:0xe6,_0x4d0b00:0x19,_0x1bd597:0x14d,_0x20c8a3:0x621},_0x4cf791={};function _0x56da26(_0x1b5e9d,_0x5f1eac){return _0x410a57(_0x1b5e9d,_0x5f1eac-0x414);}_0x4cf791[_0x5d8d96(-0x89,-_0xdde902._0x4c7163)]=_0x56da26(0x782,0x746);function _0x5d8d96(_0x333e91,_0x4b712b){return _0x410a57(_0x4b712b,_0x333e91-0xd5);}const _0x17b2a4=_0x4cf791;if(Buffer[_0x56da26(0x7b,_0xdde902._0x29f016)](_0x2de56d))return _0x2de56d;if(typeof _0x2de56d===_0x17b2a4[_0x5d8d96(-0x89,-0x268)])return Buffer[_0x5d8d96(_0xdde902._0x434a35,-_0xdde902._0x4d0b00)](_0x2de56d,'utf8');if(Array[_0x56da26(_0xdde902._0x1bd597,0x25d)](_0x2de56d))return Buffer[_0x56da26(_0xdde902._0x20c8a3,0x52c)](_0x2de56d);return Buffer[_0x56da26(0x618,0x425)](_0x2de56d);}function readRecentCliLogs(_0xcf3e24){const _0x551477={_0x1254ce:0x32d,_0x18a4df:0x6e4,_0x99d112:0x446,_0x12031b:0x248,_0x35f5cf:0x3d1,_0x238fbf:0x4b3,_0xa33c99:0x3fc},_0x5967e4={_0x1e2ddb:0x378},_0x41b0a4={};_0x41b0a4[_0x1c124f(0x7d2,0x6e4)]=function(_0x1b5461,_0x10bf75){return _0x1b5461!=_0x10bf75;};function _0x1c124f(_0x20e215,_0x4ce115){return _0x410a57(_0x20e215,_0x4ce115-0x4b2);}const _0x5ba73d=_0x41b0a4;function _0x33d55f(_0x2291c5,_0x1c5b78){return _0x410a57(_0x2291c5,_0x1c5b78-_0x5967e4._0x1e2ddb);}const {logPath:_0x35de48,errorLogPath:_0xeab01a}=getServicePaths(),_0x5c9ca1=clampLines(_0xcf3e24?.['lines']??0xc8),_0x118c92=_0xcf3e24?.[_0x33d55f(0x3a3,_0x551477._0x1254ce)]??null,_0x88b16c=_0x5ba73d[_0x1c124f(0x4d5,_0x551477._0x18a4df)](_0x118c92,null)?Date[_0x1c124f(0x2cd,_0x551477._0x99d112)]()-_0x118c92:null,_0xf8dfcb=[_0x35de48];_0xcf3e24?.[_0x1c124f(0x68b,0x579)+_0x33d55f(_0x551477._0x12031b,0x378)]&&_0xf8dfcb[_0x1c124f(_0x551477._0x35f5cf,_0x551477._0x238fbf)](_0xeab01a);const _0x2ef274=_0xf8dfcb['flatMap'](_0x1d63e4=>readLogFile(_0x1d63e4)),_0x3b3c5a=_0x88b16c==null?_0x2ef274:_0x2ef274[_0x1c124f(0x40c,0x4bc)](_0x5bf00b=>_0x5bf00b['ts']!=null&&_0x5bf00b['ts']>=_0x88b16c);return _0x3b3c5a['slice'](-_0x5c9ca1)[_0x1c124f(0x333,_0x551477._0xa33c99)](_0x20248c=>_0x20248c[_0x1c124f(0x58e,0x4ef)]);}async function buildDoctorReport(){const _0x1ef7f={_0x4320c2:0x22b,_0x5d8f8c:0x52c,_0x13594b:0x230,_0xb26823:0x30f,_0x42b40c:0x703,_0x292f41:0x3e0,_0x27bcc2:0x420,_0x2ed126:0x4ab,_0xdfb89a:0x6b5,_0x55e2b8:0x3ea,_0x18c3b1:0x14b,_0x3814be:0x25,_0x5c7132:0x335,_0x6516af:0x3ec},_0x57e778={'omlyR':function(_0x110543){return _0x110543();},'lnQwa':function(_0x100ab3,_0x579543){return _0x100ab3(_0x579543);}},_0x4036ff=_0x57e778[_0x46f84b(_0x1ef7f._0x4320c2,0x2d)](readPairingConfig);function _0x2eecc5(_0x53720e,_0x7f29b7){return _0x410a57(_0x7f29b7,_0x53720e-0x47b);}function _0x46f84b(_0x4f7169,_0x2e1ab7){return _0x410a57(_0x2e1ab7,_0x4f7169-0x1ed);}const _0x59a1ff=getServiceStatus(),_0x410ef4=readOpenClawInfo(),_0x64fe6b=resolveGatewayUrl(),_0x4d8f76=await checkGatewayReachable(_0x64fe6b);return{'paired':Boolean(_0x4036ff),'gatewayId':_0x4036ff?.[_0x2eecc5(_0x1ef7f._0x5d8f8c,0x6f0)+'d']??null,'serverUrl':_0x4036ff?.[_0x46f84b(0x2eb,_0x1ef7f._0x13594b)+'l']??null,'relayUrl':_0x4036ff?.[_0x2eecc5(0x2fc,_0x1ef7f._0xb26823)]??null,'instanceId':_0x4036ff?.[_0x2eecc5(0x3b1,0x400)+'Id']??null,'serviceInstalled':_0x59a1ff['installe'+'d'],'serviceRunning':_0x59a1ff[_0x2eecc5(0x772,0x6a2)],'serviceMethod':_0x59a1ff[_0x2eecc5(0x311,0x48f)],'servicePath':_0x59a1ff[_0x46f84b(0x50,0x287)+_0x2eecc5(_0x1ef7f._0x42b40c,0x83f)],'logPath':_0x59a1ff[_0x2eecc5(0x51a,_0x1ef7f._0x292f41)],'errorLogPath':_0x59a1ff['errorLog'+_0x2eecc5(0x684,_0x1ef7f._0x27bcc2)],'openclawConfigDir':getOpenClawConfigDir(),'openclawMediaDir':getOpenClawMediaDir(),'openclawConfigFound':_0x410ef4[_0x2eecc5(_0x1ef7f._0x2ed126,_0x1ef7f._0xdfb89a)+_0x2eecc5(_0x1ef7f._0x55e2b8,0x1fb)],'openclawAuthMode':_0x410ef4[_0x46f84b(0x196,_0x1ef7f._0x18c3b1)],'openclawTokenFound':_0x57e778['lnQwa'](Boolean,_0x410ef4[_0x46f84b(_0x1ef7f._0x3814be,0x150)]),'openclawPasswordFound':Boolean(_0x410ef4[_0x46f84b(_0x1ef7f._0x5c7132,_0x1ef7f._0x6516af)]),'localGatewayUrl':_0x64fe6b,'localGatewayReachable':_0x4d8f76};}function _0x483f(_0x1c06e9,_0xf2b321){_0x1c06e9=_0x1c06e9-0x1ce;const _0x33c156=_0x2fe6();let _0x5a0693=_0x33c156[_0x1c06e9];if(_0x483f['IpVHKz']===undefined){var _0x5be685=function(_0x399934){const _0x28781c='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x8f59ac='',_0xff9939='',_0x184a00=_0x8f59ac+_0x5be685;for(let _0x59a421=0x0,_0x296103,_0x41604a,_0x56ad23=0x0;_0x41604a=_0x399934['charAt'](_0x56ad23++);~_0x41604a&&(_0x296103=_0x59a421%0x4?_0x296103*0x40+_0x41604a:_0x41604a,_0x59a421++%0x4)?_0x8f59ac+=_0x184a00['charCodeAt'](_0x56ad23+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x296103>>(-0x2*_0x59a421&0x6)):_0x59a421:0x0){_0x41604a=_0x28781c['indexOf'](_0x41604a);}for(let _0x157cb7=0x0,_0x39c8e6=_0x8f59ac['length'];_0x157cb7<_0x39c8e6;_0x157cb7++){_0xff9939+='%'+('00'+_0x8f59ac['charCodeAt'](_0x157cb7)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0xff9939);};_0x483f['pYUjJJ']=_0x5be685,_0x483f['yQRKdi']={},_0x483f['IpVHKz']=!![];}const _0x2fe6d4=_0x33c156[0x0],_0x483f9d=_0x1c06e9+_0x2fe6d4,_0x4645d3=_0x483f['yQRKdi'][_0x483f9d];if(!_0x4645d3){const _0x15a617=function(_0x144bba){this['OtpiKu']=_0x144bba,this['HeDiZw']=[0x1,0x0,0x0],this['pzqZHl']=function(){return'newState';},this['nyOcZD']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['uTNYmd']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x15a617['prototype']['hSnNBv']=function(){const _0x9a721c=new RegExp(this['nyOcZD']+this['uTNYmd']),_0x5b57a3=_0x9a721c['test'](this['pzqZHl']['toString']())?--this['HeDiZw'][0x1]:--this['HeDiZw'][0x0];return this['KIYRUm'](_0x5b57a3);},_0x15a617['prototype']['KIYRUm']=function(_0x4a1ce4){if(!Boolean(~_0x4a1ce4))return _0x4a1ce4;return this['vkizQn'](this['OtpiKu']);},_0x15a617['prototype']['vkizQn']=function(_0x350454){for(let _0x5d6686=0x0,_0x5aad5f=this['HeDiZw']['length'];_0x5d6686<_0x5aad5f;_0x5d6686++){this['HeDiZw']['push'](Math['round'](Math['random']())),_0x5aad5f=this['HeDiZw']['length'];}return _0x350454(this['HeDiZw'][0x0]);},new _0x15a617(_0x483f)['hSnNBv'](),_0x5a0693=_0x483f['pYUjJJ'](_0x5a0693),_0x483f['yQRKdi'][_0x483f9d]=_0x5a0693;}else _0x5a0693=_0x4645d3;return _0x5a0693;}async function ensurePairPrerequisites(){const _0x31d5ff={_0x1e4279:0x1b7,_0x43670a:0x363,_0x45a939:0x4fa,_0x219a4c:0x71b,_0x3b324e:0x298,_0x3dd687:0x51f,_0x1dbc87:0x34d,_0x24cbc8:0x3a6,_0x5983a3:0x8d1,_0x5da1de:0x598,_0x3a39cc:0x7e0,_0x47d921:0x95f,_0x3dda23:0x778,_0x417c59:0x5df,_0x584add:0x51b,_0x3bd1fe:0x60f,_0x543dbe:0x680,_0x204b2a:0x466,_0x58fbf2:0x357,_0x44bebf:0x89a,_0x135529:0x718,_0x29e2a7:0x6aa,_0x197227:0x5d4,_0x59fc67:0x780,_0x1062da:0x8f8,_0x1c9a40:0x5fd,_0x51806d:0x65e},_0x1e9cb7={_0x43a356:0x4f0},_0x2cef26=await buildDoctorReport(),_0x1e8ebb=listPairPrerequisiteFailures(_0x2cef26);function _0x106efd(_0x48be0a,_0x148149){return _0x410a57(_0x48be0a,_0x148149-_0x1e9cb7._0x43a356);}if(_0x1e8ebb[_0x106efd(0x56a,0x415)]>0x0)throw new Error(['Cannot\x20c'+_0x106efd(_0x31d5ff._0x1e4279,_0x31d5ff._0x43670a)+_0x5cf881(0x51a,_0x31d5ff._0x45a939)+_0x106efd(0x79a,_0x31d5ff._0x219a4c)+_0x106efd(0x8e4,0x7c6)+_0x5cf881(_0x31d5ff._0x3b324e,_0x31d5ff._0x3dd687)+_0x106efd(0x471,_0x31d5ff._0x1dbc87)+_0x5cf881(_0x31d5ff._0x24cbc8,0x492)+'tes\x20are\x20'+_0x5cf881(0x814,_0x31d5ff._0x5983a3)+'y.',..._0x1e8ebb['map'](_0x5c36a9=>'-\x20'+_0x5c36a9),_0x106efd(0x5a6,_0x31d5ff._0x5da1de)+_0x5cf881(_0x31d5ff._0x3a39cc,0x824)+_0x5cf881(0xb5f,_0x31d5ff._0x47d921)+_0x106efd(_0x31d5ff._0x3dda23,_0x31d5ff._0x417c59)+_0x106efd(0x748,0x4f7)+_0x106efd(_0x31d5ff._0x584add,_0x31d5ff._0x3bd1fe)+_0x5cf881(_0x31d5ff._0x543dbe,0x766)+_0x106efd(_0x31d5ff._0x204b2a,_0x31d5ff._0x58fbf2)+_0x5cf881(0xaba,_0x31d5ff._0x44bebf)+_0x106efd(0x7b3,_0x31d5ff._0x135529)+_0x5cf881(_0x31d5ff._0x29e2a7,0x643)+'onally\x20w'+_0x106efd(_0x31d5ff._0x197227,_0x31d5ff._0x59fc67)+_0x106efd(0x45c,0x48e)+_0x5cf881(0x7e3,_0x31d5ff._0x1062da)+'y\x20check.'][_0x5cf881(_0x31d5ff._0x1c9a40,_0x31d5ff._0x51806d)]('\x0a'));function _0x5cf881(_0x5efaeb,_0x3610b4){return _0x410a57(_0x5efaeb,_0x3610b4-0x674);}return _0x2cef26;}function listPairPrerequisiteFailures(_0x358e79){const _0x481737={_0x211b2e:0x712,_0x318040:0x74a,_0x22d9ea:0x290,_0x1a27ef:0x44f,_0x17a6f9:0x839,_0x27a791:0x528,_0x1a0ea7:0x8d8,_0x44816c:0x6c7,_0x34e8dd:0x5cd,_0x197c19:0x1cc,_0x3291ce:0x5ab,_0x3f7502:0x6be,_0x3d5495:0x32b,_0x1b7ebe:0x57b,_0x19078d:0x8ad,_0x544e3b:0x7ea,_0x22414e:0x97c,_0x41f4b5:0x56d,_0x34107e:0x668,_0x1ee76d:0x66f,_0x1b5dfc:0x917,_0x233e09:0x7c1,_0x2ac02d:0x31a,_0x406351:0x38d,_0x419abd:0x623,_0x5e47eb:0x597,_0x56f9a4:0x4f4,_0x22a7f7:0x6ba,_0x508957:0x5a7,_0x33f202:0x50e,_0x43a9ed:0x824,_0x37337d:0x856,_0x2a66a5:0x698,_0x2fab29:0x508,_0x106398:0x1a2,_0x237c2c:0x966,_0x1b433d:0x834,_0x3831bc:0x5c3,_0x579660:0x682,_0x221841:0x303,_0x2a6c81:0x4b5,_0x4fff2f:0x555,_0x2076fe:0x6a7,_0x2ddcfd:0x6c4,_0x5cc618:0x872,_0x2b7ef5:0x72c,_0x3873f4:0x578,_0x467c16:0x6d3,_0xbe0036:0x640,_0x29d551:0x65a,_0x1d0a3e:0x4da,_0x44624b:0x4e1,_0x36be82:0x420,_0x5b6458:0x697,_0xf72ab7:0x57d,_0x25967b:0x3dc},_0xa2becf={_0x3fe510:0x1f0},_0x9bda78={_0x573cb4:0xd},_0x1d85f7={};_0x1d85f7[_0x46af80(0x57b,_0x481737._0x211b2e)]=function(_0x8fbcdb,_0x3300e7){return _0x8fbcdb==_0x3300e7;};const _0x3722e2=_0x1d85f7,_0x54d291=[];function _0x46af80(_0x8bce46,_0xd545b5){return _0x2420cb(_0x8bce46- -_0x9bda78._0x573cb4,_0xd545b5);}!_0x358e79['openclaw'+_0x46af80(_0x481737._0x318040,0x6e0)+_0x52aa34(_0x481737._0x22d9ea,_0x481737._0x1a27ef)]&&_0x54d291['push'](_0x46af80(_0x481737._0x17a6f9,0x8f8)+_0x52aa34(0x773,_0x481737._0x27a791)+'was\x20not\x20'+_0x46af80(0x728,_0x481737._0x1a0ea7)+_0x52aa34(_0x481737._0x44816c,_0x481737._0x34e8dd)+formatOpenClawConfigLocations()+'.');_0x358e79[_0x52aa34(_0x481737._0x197c19,0x3b4)+_0x46af80(_0x481737._0x3291ce,0x48c)+'nd']&&_0x358e79[_0x46af80(0x597,_0x481737._0x3f7502)+_0x52aa34(0x5d1,0x4d7)+_0x52aa34(0x2e7,_0x481737._0x3d5495)]&&_0x3722e2[_0x46af80(_0x481737._0x1b7ebe,0x6f8)](_0x358e79['openclaw'+'AuthMode'],null)&&_0x54d291[_0x46af80(0x6c4,0x4da)](_0x46af80(0x839,_0x481737._0x19078d)+'\x20has\x20bot'+_0x46af80(0x61d,_0x481737._0x544e3b)+_0x46af80(_0x481737._0x22414e,0x9b9)+_0x52aa34(_0x481737._0x41f4b5,0x782)+_0x46af80(0x5bd,0x382)+'figured,'+_0x52aa34(_0x481737._0x34107e,_0x481737._0x1ee76d)+_0x46af80(_0x481737._0x1b5dfc,_0x481737._0x233e09)+_0x52aa34(_0x481737._0x2ac02d,_0x481737._0x406351)+_0x46af80(_0x481737._0x419abd,0x7e4));!_0x358e79[_0x46af80(_0x481737._0x5e47eb,_0x481737._0x56f9a4)+'TokenFou'+'nd']&&!_0x358e79['openclaw'+_0x46af80(_0x481737._0x22a7f7,_0x481737._0x508957)+_0x46af80(_0x481737._0x33f202,0x656)]&&_0x54d291[_0x52aa34(0x4be,0x4e1)](_0x46af80(0x839,_0x481737._0x43a9ed)+_0x52aa34(0x667,0x64e)+'\x20auth\x20is'+_0x52aa34(0x333,0x491)+'\x20(token\x20'+_0x46af80(0x9a7,0x8d8)+_0x46af80(0x5f2,_0x481737._0x37337d));_0x358e79[_0x46af80(_0x481737._0x5e47eb,0x35f)+_0x46af80(_0x481737._0x2a66a5,_0x481737._0x2fab29)]===_0x46af80(0x4fb,0x5fa)&&!_0x358e79['openclaw'+_0x52aa34(_0x481737._0x106398,0x3c8)+'nd']&&_0x54d291['push'](_0x46af80(_0x481737._0x17a6f9,_0x481737._0x237c2c)+_0x46af80(0x831,_0x481737._0x1b433d)+_0x52aa34(0x55a,0x432)+_0x46af80(_0x481737._0x3831bc,_0x481737._0x579660)+'g.');function _0x52aa34(_0x2b6624,_0x2146df){return _0x2420cb(_0x2146df- -_0xa2becf._0x3fe510,_0x2b6624);}return _0x358e79[_0x46af80(0x597,_0x481737._0x221841)+_0x52aa34(0x5b9,_0x481737._0x2a6c81)]===_0x52aa34(_0x481737._0x4fff2f,0x628)&&!_0x358e79[_0x52aa34(0x428,0x3b4)+_0x46af80(0x6ba,_0x481737._0x2076fe)+_0x52aa34(0x112,_0x481737._0x3d5495)]&&_0x54d291[_0x46af80(_0x481737._0x2ddcfd,_0x481737._0x2a66a5)](_0x46af80(0x839,0x76f)+_0x46af80(0x831,0x8c1)+_0x52aa34(_0x481737._0x5cc618,_0x481737._0x2b7ef5)+'d\x20is\x20mis'+_0x52aa34(0x63b,0x807)),!_0x358e79[_0x46af80(_0x481737._0x3873f4,_0x481737._0x467c16)+_0x46af80(_0x481737._0xbe0036,0x768)+_0x46af80(_0x481737._0x27a791,_0x481737._0x29d551)]&&_0x54d291[_0x52aa34(_0x481737._0x1d0a3e,_0x481737._0x44624b)]('Local\x20Op'+_0x46af80(0x6d0,0x52f)+_0x52aa34(_0x481737._0x36be82,_0x481737._0x5b6458)+_0x46af80(_0x481737._0xf72ab7,0x7b9)+_0x46af80(_0x481737._0x5cc618,0xa17)+_0x52aa34(0x1c3,_0x481737._0x25967b)+_0x358e79['localGat'+_0x52aa34(0x2d9,0x36b)]+'.'),_0x54d291;}function formatOpenClawConfigLocations(){const _0x5b6b6b={_0x9efefd:0x7fb,_0x2b9ef0:0x6c0,_0x37a31b:0x73c,_0x38193d:0x917},_0x43e33b={_0x56a2f7:0x1f},_0x472fe3={};_0x472fe3[_0x484d68(_0x5b6b6b._0x9efefd,0x8bd)]=_0x484d68(_0x5b6b6b._0x2b9ef0,_0x5b6b6b._0x37a31b);function _0xc65754(_0x213fcc,_0x404481){return _0x2420cb(_0x404481-0x24,_0x213fcc);}function _0x484d68(_0x36ee81,_0x3ece7c){return _0x2420cb(_0x3ece7c- -_0x43e33b._0x56a2f7,_0x36ee81);}const _0x38a946=_0x472fe3,_0x142300=new Set();return[_0x5d5628(),_0x38a946['VVNvo']]['map'](_0x4aa0a5=>_0x4aa0a5[_0x484d68(0x73c,0x58a)]()+(_0xc65754(0x896,0x9b8)+'aw'))[_0xc65754(0x5e0,0x6fe)](_0x11b98a=>_0x11b98a!=='/.opencl'+'aw')['filter'](_0x54439c=>{if(_0x142300['has'](_0x54439c))return![];return _0x142300['add'](_0x54439c),!![];})['join'](_0xc65754(0x9dd,_0x5b6b6b._0x38193d));}function readLogFile(_0x56a56e){const _0x4dbbe9={_0xe9389d:0x861,_0x1afc3f:0x9b5},_0x295b53={_0x4414bd:0x6b1};function _0x2cd702(_0x5543e7,_0x42c7ab){return _0x410a57(_0x42c7ab,_0x5543e7-0x6ae);}function _0x30baa0(_0x425094,_0x345d1d){return _0x410a57(_0x425094,_0x345d1d-_0x295b53._0x4414bd);}const _0x207d8b={'VvsTv':function(_0x1ca756,_0x394faa,_0x4266b7){return _0x1ca756(_0x394faa,_0x4266b7);}};try{const _0xb8f1c9=_0x207d8b[_0x30baa0(0x6e3,0x543)](_0x33b6c6,_0x56a56e,'utf8');return _0xb8f1c9[_0x30baa0(_0x4dbbe9._0xe9389d,_0x4dbbe9._0x1afc3f)](/\r?\n/)['filter'](Boolean)[_0x2cd702(0x5f8,0x527)](_0x55bab9=>({'raw':_0x55bab9,'ts':parseTimestamp(_0x55bab9)}));}catch{return[];}}function parseTimestamp(_0x1ca158){const _0xd1d165=_0x1ca158['match'](/^\[(\d{13})\]\s/);if(!_0xd1d165)return null;const _0x274526=Number(_0xd1d165[0x1]);return Number['isFinite'](_0x274526)?_0x274526:null;}function clampLines(_0x581e79){const _0x1bb8b9={_0x50af0c:0x1e8,_0x1f7c3e:0x41b},_0x141a17={_0x27cf33:0x61b};if(!Number[_0x1ddd81(_0x1bb8b9._0x50af0c,_0x1bb8b9._0x1f7c3e)](_0x581e79))return 0xc8;function _0x1ddd81(_0x8e0762,_0x138032){return _0x2420cb(_0x8e0762- -_0x141a17._0x27cf33,_0x138032);}function _0x4f59a9(_0x3ccc93,_0x36318c){return _0x2420cb(_0x3ccc93- -0x5c8,_0x36318c);}return Math[_0x1ddd81(0x31b,0x340)](0x1,Math[_0x1ddd81(-0x106,-0x386)](0x7d0,Math['floor'](_0x581e79)));}async function checkGatewayReachable(_0x242664){const _0xfaf1f={_0x112bc8:0x8f8,_0x9068d9:0x787,_0x4fcb72:0x57c,_0x2ec2fd:0x495,_0x4155ab:0x654,_0x2ec50c:0x563,_0x1a5734:0x49d},_0x5d72a9={_0x592247:0x26c,_0x5852cc:0x4e7,_0xf8207a:0x10a,_0x115f95:0x709,_0x2731bd:0x425,_0x2a623d:0x635,_0x2cb904:0x9b7,_0x1dfffc:0x499},_0x44b944={_0x341804:0x2ab},_0x55c16c={_0x9048fc:0x485},_0x2af821={_0x3e7c66:0x1ae,_0x1e1f38:0xdd},_0x22fc3b={_0x27a13d:0x255};function _0x2f39d3(_0x458ac2,_0x103591){return _0x2420cb(_0x458ac2- -0x3b3,_0x103591);}function _0x229423(_0x170f47,_0x7c766e){return _0x2420cb(_0x7c766e- -_0x22fc3b._0x27a13d,_0x170f47);}const _0x53b631={'TZEVV':_0x229423(0x7d0,0x6cd)+'1','jNTpQ':function(_0x458b78,_0x24e530){return _0x458b78(_0x24e530);}};try{const _0x760b11=new URL(_0x242664),_0xd6ae1e=_0x760b11[_0x229423(_0xfaf1f._0x112bc8,_0xfaf1f._0x9068d9)]||_0x53b631[_0x229423(_0xfaf1f._0x4fcb72,0x692)],_0x242535=_0x760b11[_0x2f39d3(0x492,_0xfaf1f._0x2ec2fd)]?_0x53b631[_0x229423(0x7b3,_0xfaf1f._0x4155ab)](Number,_0x760b11['port']):_0x760b11['protocol']===_0x2f39d3(_0xfaf1f._0x2ec50c,_0xfaf1f._0x1a5734)?0x1bb:0x50;return await new Promise((_0x3ca9e6,_0xc3c3d2)=>{const _0x282973={_0x24da21:0x426},_0xf7841e={_0x39bed7:0x105},_0xf868b2={};_0xf868b2['kaZna']='timeout';function _0x11af16(_0x43ea76,_0x5f4167){return _0x2f39d3(_0x5f4167- -_0xf7841e._0x39bed7,_0x43ea76);}const _0x4cb333=_0xf868b2,_0x46c3bc=new Socket();_0x46c3bc[_0x11af16(0x213,_0x5d72a9._0x592247)+'ut'](0x384),_0x46c3bc[_0x1fdeba(_0x5d72a9._0x5852cc,0x635)]('connect',()=>{const _0x5398a3={_0x591dc9:0x503};_0x46c3bc[_0x201095(_0x2af821._0x3e7c66,_0x2af821._0x1e1f38)]();function _0x201095(_0x5355c6,_0xbf0bdc){return _0x1fdeba(_0x5355c6,_0xbf0bdc- -_0x5398a3._0x591dc9);}_0x3ca9e6();}),_0x46c3bc[_0x11af16(0x215,_0x5d72a9._0xf8207a)](_0x11af16(_0x5d72a9._0x115f95,0x498),()=>{_0x46c3bc['destroy']();function _0x169d19(_0x49a651,_0x118701){return _0x11af16(_0x118701,_0x49a651-0x260);}_0xc3c3d2(new Error(_0x4cb333[_0x169d19(0x3a8,_0x55c16c._0x9048fc)]));});function _0x1fdeba(_0x8a394,_0x5e8734){return _0x2f39d3(_0x5e8734-_0x282973._0x24da21,_0x8a394);}_0x46c3bc[_0x1fdeba(_0x5d72a9._0x2731bd,_0x5d72a9._0x2a623d)](_0x1fdeba(0x75b,_0x5d72a9._0x2cb904),_0x1a0ff0=>{const _0x41c8fc={_0x1fba35:0x138};_0x46c3bc[_0x4bf37b(-0x83,-_0x44b944._0x341804)]();function _0x4bf37b(_0x3ed8a9,_0x2e4f58){return _0x11af16(_0x2e4f58,_0x3ed8a9- -_0x41c8fc._0x1fba35);}_0xc3c3d2(_0x1a0ff0);}),_0x46c3bc[_0x1fdeba(_0x5d72a9._0x1dfffc,0x54f)](_0x242535,_0xd6ae1e);}),!![];}catch{return![];}}function parseLookbackToMs(_0x39238a){const _0x1216cd={_0x316c38:0x73f,_0x8db3aa:0x10,_0x51023d:0x3c,_0x431d74:0x8f1,_0xea7b5b:0x3d3,_0x6ef9c8:0x98f,_0x3a1c85:0x97d,_0x2e6920:0xa83},_0xe5847={'AceNe':function(_0x4f28d8,_0xeaea97){return _0x4f28d8(_0xeaea97);},'HrFAq':function(_0x5e6e29,_0x490939){return _0x5e6e29===_0x490939;}},_0x428ce7=_0x39238a?.['trim']();if(!_0x428ce7)return null;const _0x59d998=_0x428ce7[_0x412e49(0x82f,0x70f)](/^(\d+)(ms|s|m|h|d)$/i);if(!_0x59d998)throw new Error(_0x412e49(0x865,_0x1216cd._0x316c38)+_0x16dc64(0x1c2,0x1de)+_0x16dc64(-_0x1216cd._0x8db3aa,_0x1216cd._0x51023d)+_0x428ce7+('\x22.\x20Use\x20v'+_0x412e49(0x6aa,_0x1216cd._0x431d74)+_0x412e49(0x853,0x9ba)+'2m,\x201h,\x20'+_0x16dc64(-0x1f1,-_0x1216cd._0xea7b5b)));function _0x16dc64(_0x1baa54,_0x1ea1db){return _0x410a57(_0x1ea1db,_0x1baa54- -0x1f);}const _0x122bfa=_0xe5847[_0x412e49(_0x1216cd._0x6ef9c8,_0x1216cd._0x3a1c85)](Number,_0x59d998[0x1]);function _0x412e49(_0x17ae89,_0x4fbaf5){return _0x410a57(_0x17ae89,_0x4fbaf5-0x6f2);}const _0x2d71d3=_0x59d998[0x2][_0x412e49(_0x1216cd._0x2e6920,0x822)+'ase'](),_0x39449e=_0xe5847['HrFAq'](_0x2d71d3,'ms')?0x1:_0xe5847['HrFAq'](_0x2d71d3,'s')?0x3e8:_0x2d71d3==='m'?0xea60:_0x2d71d3==='h'?0x36ee80:0x5265c00;return _0x122bfa*_0x39449e;}import{networkInterfaces}from'os';var BLOCKED_INTERFACE_TOKENS=['utun',_0x410a57(0x286,0x6d),_0x410a57(0x127,0x305),_0x2420cb(0x849,0x6d7)+'e',_0x2420cb(0x8ab,0x76b)+'d','wg',_0x2420cb(0x9dd,0xa0c),_0x410a57(-0x103,0xe7),_0x410a57(0x340,0xc2),_0x2420cb(0x6ce,0x901),_0x2420cb(0x525,0x44d),_0x410a57(0x38b,0x17e),_0x2420cb(0x6ad,0x8d0),_0x410a57(0x150,0x1a1),_0x2420cb(0x9bd,0xa64),'awdl',_0x2420cb(0x771,0x517),'bridge',_0x2420cb(0x786,0x835),_0x410a57(-0x198,-0x4a)];function buildLocalPairingInfo(_0x28f078){const _0x13bacb={_0xf91c0f:0x4ed,_0x5dd579:0x24e,_0x3fc811:0x58d,_0x23e630:0x31b,_0x22ec4b:0x491,_0x54cb00:0x24c,_0x129007:0x60b,_0x5d703b:0x8fb,_0x43dbf7:0x964,_0x39c7d0:0x2d4,_0x3edbfa:0x286,_0x1a9a72:0x488},_0x393f58={_0x66ca75:0x390},_0xbcf12a={_0x29eb19:0x4f},_0x48861d=resolveLocalPairAuth(_0x28f078),_0x38eda5={};_0x38eda5[_0x2b0a18(0x689,_0x13bacb._0xf91c0f)+_0x255626(_0x13bacb._0x5dd579,0x389)]=_0x28f078[_0x2b0a18(0x689,0x600)+_0x2b0a18(0x58f,0x4c4)];function _0x2b0a18(_0x179d4,_0x258ad8){return _0x2420cb(_0x179d4- -_0xbcf12a._0x29eb19,_0x258ad8);}_0x38eda5[_0x2b0a18(_0x13bacb._0x3fc811,_0x13bacb._0x23e630)+_0x255626(0x2ca,_0x13bacb._0x22ec4b)+'l']=_0x28f078[_0x255626(_0x13bacb._0x54cb00,0x1e1)+_0x2b0a18(_0x13bacb._0x129007,0x7b2)+'l'];function _0x255626(_0x490338,_0x4410f4){return _0x2420cb(_0x490338- -_0x393f58._0x66ca75,_0x4410f4);}const _0x2aadaa=resolveLocalPairGatewayUrl(_0x38eda5),_0x438013=_0x28f078[_0x2b0a18(_0x13bacb._0x5d703b,_0x13bacb._0x43dbf7)+'t']??Date[_0x255626(_0x13bacb._0x39c7d0,_0x13bacb._0x3edbfa)]()+0xa*0x3c*0x3e8;return{'gatewayUrl':_0x2aadaa,'expiresAt':_0x438013,'authMode':_0x48861d[_0x2b0a18(0x715,0x716)],'qrPayload':buildGatewayQrPayload({'gatewayUrl':_0x2aadaa,'token':_0x48861d['token'],'password':_0x48861d[_0x255626(_0x13bacb._0x1a9a72,0x68a)],'expiresAt':_0x438013})};}function resolveLocalPairGatewayUrl(_0x6b60f6){const _0x14c943={_0x581164:0x6f8,_0x2e896e:0x6de,_0x40c219:0x3bc,_0xca2b4f:0x633,_0x50cddf:0x40c,_0x10b0d0:0x8e2,_0x96fa9b:0x46f,_0x277cf7:0x4fa,_0x5c2f0e:0x708,_0x1c7e53:0x657,_0x5685c0:0x6e4},_0x35c7f9={_0x3f7d7f:0xf4};function _0x1c34ad(_0x416368,_0x26fc1d){return _0x2420cb(_0x26fc1d- -_0x35c7f9._0x3f7d7f,_0x416368);}const _0x19a1b3={'Zflhs':function(_0x1dc2ce,_0x1da293){return _0x1dc2ce(_0x1da293);},'aDkKk':_0x1c34ad(0x4bb,_0x14c943._0x581164)+_0x17f040(0x5db,0x76c)+_0x17f040(0x9b6,0x82b)+_0x1c34ad(_0x14c943._0x2e896e,0x75f)+'ress.\x20Pa'+'ss\x20--url'+_0x17f040(_0x14c943._0x40c219,0x5dd)+_0x17f040(0x9d7,0x8df)+_0x1c34ad(0x437,0x4d4)+'eway\x20URL'+'.'},_0x2bb799=_0x6b60f6?.[_0x17f040(_0x14c943._0xca2b4f,0x786)+_0x1c34ad(_0x14c943._0x50cddf,0x4ea)]?.[_0x1c34ad(0x264,0x4b5)]();if(_0x2bb799)return _0x19a1b3[_0x17f040(_0x14c943._0x10b0d0,0x791)](normalizeExplicitGatewayUrl,_0x2bb799);function _0x17f040(_0x250f26,_0x5af7e5){return _0x2420cb(_0x5af7e5-0xae,_0x250f26);}const _0x1350c9=_0x6b60f6?.[_0x1c34ad(_0x14c943._0x96fa9b,0x4e8)+_0x17f040(_0x14c943._0x277cf7,_0x14c943._0x5c2f0e)+'l']?.[_0x17f040(0x534,_0x14c943._0x1c7e53)]()||resolveGatewayUrl(),_0x3bb948=detectLanIp();if(!_0x3bb948)throw new Error(_0x19a1b3[_0x1c34ad(_0x14c943._0x5685c0,0x528)]);return rewriteGatewayHost(_0x1350c9,_0x3bb948);}function normalizeExplicitGatewayUrl(_0x1119ca){const _0x11a766={_0xa12aa:0x5f,_0x2d8fb0:0x140,_0x290513:0xad},_0x40bd6a={'EiACS':function(_0x10a9e2,_0xe5db51){return _0x10a9e2(_0xe5db51);}};function _0xba1f88(_0x5ce8de,_0x49bbb2){return _0x2420cb(_0x5ce8de- -0x55f,_0x49bbb2);}const _0x5e675b=_0x1119ca['trim'](),_0x5b3b82=/^[a-z]+:\/\//i[_0xba1f88(0x3ed,0x485)](_0x5e675b)?_0x5e675b:_0xba1f88(0x13d,_0x11a766._0xa12aa)+_0x5e675b;function _0x44cbd7(_0x5b5af5,_0x1baf52){return _0x2420cb(_0x5b5af5- -0x53c,_0x1baf52);}return _0x40bd6a['EiACS'](normalizeGatewayQrUrl,_0x5b3b82)[_0x44cbd7(_0x11a766._0x2d8fb0,-_0x11a766._0x290513)];}function rewriteGatewayHost(_0x495592,_0x3f9554){const _0x1638aa={_0x3b9cf5:0x382,_0x2ce01c:0x48d},_0x1fb050={'zImLE':function(_0x16c044,_0x521408){return _0x16c044(_0x521408);}};function _0x3e3911(_0x4fa717,_0x35ceda){return _0x410a57(_0x35ceda,_0x4fa717-0x76);}const _0x57c9ae=_0x495592['trim'](),_0x562bd5=/^[a-z]+:\/\//i['test'](_0x57c9ae)?_0x57c9ae:'ws://'+_0x57c9ae,_0x245e96=new URL(_0x562bd5);function _0xbe3d72(_0x2a821e,_0x373580){return _0x410a57(_0x2a821e,_0x373580-0x3d9);}return _0x245e96[_0x3e3911(_0x1638aa._0x3b9cf5,0x25d)]=_0x3f9554,_0x1fb050['zImLE'](normalizeGatewayQrUrl,_0x245e96['toString']())[_0xbe3d72(_0x1638aa._0x2ce01c,0x385)];}function detectLanIp(){const _0x31d609={_0x2d4ef2:0x78c,_0x275915:0x502,_0x2b6d38:0x7dc,_0x92abc9:0x594,_0x37f20d:0x5c0,_0x2c6a53:0x78c,_0x288261:0x7ca,_0x4d7dfb:0x663,_0x5b4765:0x594,_0x4f1b11:0x71a,_0x4c4238:0x8f4,_0x4f67ea:0x43f,_0x4a60bd:0x7dc,_0x567e77:0x8ca},_0x1d5f5d={};_0x1d5f5d[_0x129541(_0x31d609._0x2d4ef2,_0x31d609._0x275915)]=function(_0x1e3309,_0x5119a2){return _0x1e3309!==_0x5119a2;},_0x1d5f5d[_0x31b44a(_0x31d609._0x2b6d38,_0x31d609._0x92abc9)]=function(_0x37850b,_0x4a7c27){return _0x37850b===_0x4a7c27;};const _0x444b66=_0x1d5f5d,_0x2e0b63=networkInterfaces();function _0x129541(_0x37602d,_0x195fad){return _0x410a57(_0x195fad,_0x37602d-0x6de);}function _0x31b44a(_0x386900,_0x23f7ce){return _0x410a57(_0x386900,_0x23f7ce-0x5d1);}let _0x4d30d3=null;for(const [_0x4a2010,_0x3b7951]of Object[_0x31b44a(0x36c,_0x31d609._0x37f20d)](_0x2e0b63)){for(const _0x3dc1ff of _0x3b7951??[]){if(_0x444b66[_0x129541(_0x31d609._0x2c6a53,_0x31d609._0x288261)](_0x3dc1ff[_0x129541(0x560,_0x31d609._0x4d7dfb)],_0x129541(0x959,0x896)))continue;const _0x11b415=scoreLanCandidate(_0x4a2010,_0x3dc1ff['address']);if(_0x444b66[_0x31b44a(0x3b3,_0x31d609._0x5b4765)](_0x11b415,0x0))continue;if(!_0x4d30d3||_0x11b415>_0x4d30d3[_0x129541(_0x31d609._0x4f1b11,_0x31d609._0x4c4238)]){const _0x408cfc={};_0x408cfc[_0x31b44a(_0x31d609._0x4f67ea,0x60d)]=_0x11b415,_0x408cfc['ip']=_0x3dc1ff[_0x31b44a(_0x31d609._0x4a60bd,_0x31d609._0x567e77)],_0x4d30d3=_0x408cfc;}}}return _0x4d30d3?.['ip']??null;}function scoreLanCandidate(_0x3ab1c9,_0x408207){const _0x2e9983={_0x240c94:0x6d2,_0x577863:0x549,_0x3cac3e:0x60a,_0x3a29fe:0x131,_0xca1745:0x90,_0x35a2b0:0x7f3,_0x14dab3:0x4ac,_0x2e8c76:0x581},_0x5958c4={_0x4fdd81:0x5e4},_0x5674c9={'JaZrv':function(_0x2a4073,_0x4b8458){return _0x2a4073(_0x4b8458);}};if(!isLanIpv4(_0x408207))return 0x0;const _0x144fe3=_0x3ab1c9[_0x40f3e4(0x25b,0x38c)+_0x43415c(0x7de,0x616)]();function _0x43415c(_0x2f4fa2,_0x4dadde){return _0x410a57(_0x2f4fa2,_0x4dadde-_0x5958c4._0x4fdd81);}if(BLOCKED_INTERFACE_TOKENS['some'](_0x1cfdfc=>_0x144fe3[_0x43415c(0x9f8,0x7f3)](_0x1cfdfc)))return 0x0;function _0x40f3e4(_0x5a2786,_0x431a0c){return _0x410a57(_0x431a0c,_0x5a2786-0x12b);}let _0x36dcde=isRfc1918(_0x408207)?0x78:_0x5674c9['JaZrv'](isCgnat,_0x408207)?0x5a:0x28;return(_0x144fe3[_0x43415c(_0x2e9983._0x240c94,_0x2e9983._0x577863)+'th']('en')||_0x144fe3[_0x43415c(_0x2e9983._0x3cac3e,0x549)+'th'](_0x40f3e4(0x9e,-_0x2e9983._0x3a29fe))||_0x144fe3[_0x40f3e4(_0x2e9983._0xca1745,0x37)+'th'](_0x40f3e4(0xe9,0x343))||_0x144fe3[_0x43415c(0x413,0x549)+'th']('wl')||_0x144fe3[_0x43415c(0x5b5,_0x2e9983._0x35a2b0)](_0x43415c(_0x2e9983._0x14dab3,0x6a4))||_0x144fe3[_0x43415c(0x7d9,0x7f3)](_0x43415c(0x68a,_0x2e9983._0x2e8c76)))&&(_0x36dcde+=0x14),_0x36dcde;}function resolveLocalPairAuth(_0x2fc1d0){const _0x5558ef={_0x544548:0xa0c,_0x46c614:0x8d1,_0x72f45f:0x7a0,_0x2fd973:0x5ba,_0x586fb6:0x4c5,_0x55ee7c:0x68a,_0x370ac4:0x518,_0xc620dd:0x315,_0x1f2811:0x49b,_0x354780:0x634,_0x35d1bf:0x53f,_0x59baae:0x440,_0x5a23c5:0xa4e,_0x50fd5f:0x498,_0x526540:0x7d2,_0x868b9e:0x5eb,_0x5dd485:0x481},_0x1722c7={_0x4cdc2f:0x8b};function _0x5d7f05(_0x2f7577,_0x245b66){return _0x2420cb(_0x245b66-_0x1722c7._0x4cdc2f,_0x2f7577);}const _0x215b79={};function _0x45661e(_0x22f1e2,_0xec9bfe){return _0x2420cb(_0xec9bfe- -0xc8,_0x22f1e2);}_0x215b79['fcNxs']=_0x5d7f05(_0x5558ef._0x544548,_0x5558ef._0x46c614)+_0x45661e(_0x5558ef._0x72f45f,0x776)+_0x5d7f05(_0x5558ef._0x2fd973,0x59f)+'\x20missing'+_0x45661e(0x292,_0x5558ef._0x586fb6)+'or\x20passw'+_0x5d7f05(0x829,_0x5558ef._0x55ee7c);const _0x25d4c3=_0x215b79;if(_0x2fc1d0[_0x5d7f05(_0x5558ef._0x370ac4,0x576)+_0x45661e(_0x5558ef._0xc620dd,_0x5558ef._0x1f2811)]?.[_0x5d7f05(0x74f,_0x5558ef._0x354780)]())return{'mode':_0x45661e(_0x5558ef._0x35d1bf,_0x5558ef._0x59baae),'token':_0x2fc1d0['gatewayT'+'oken']['trim'](),'password':null};if(_0x2fc1d0[_0x45661e(_0x5558ef._0x5a23c5,0x834)+_0x45661e(0x61b,_0x5558ef._0x50fd5f)]?.['trim']())return{'mode':'password','token':null,'password':_0x2fc1d0[_0x45661e(0x884,0x834)+_0x5d7f05(_0x5558ef._0x526540,_0x5558ef._0x868b9e)][_0x5d7f05(_0x5558ef._0x5dd485,0x634)]()};throw new Error(_0x25d4c3[_0x5d7f05(0x781,0x825)]);}function isLanIpv4(_0x2e35e4){const _0x5e5d73={_0x303ed0:0x4d2,_0x4d18b4:0x984,_0x249179:0xbb7,_0x29b873:0x1ec},_0x2c8820={_0x298c2c:0x680};function _0x1654ee(_0x3da66e,_0x3371e0){return _0x410a57(_0x3da66e,_0x3371e0-0x1e1);}const _0x487b93={};function _0x481cd8(_0x2c2d03,_0x50d700){return _0x410a57(_0x50d700,_0x2c2d03-_0x2c8820._0x298c2c);}_0x487b93['KFOwD']=function(_0x3e74b4,_0x4485ba){return _0x3e74b4===_0x4485ba;},_0x487b93['vsEbG']=function(_0xba2ba5,_0x545451){return _0xba2ba5===_0x545451;};const _0x5a15fa=_0x487b93;if(!isValidIpv4(_0x2e35e4))return![];if(_0x5a15fa[_0x481cd8(_0x5e5d73._0x303ed0,0x42d)](_0x2e35e4,_0x1654ee(0x42e,0x2e7)))return![];const [_0x22cccf,_0x4ba4bb,_0x10fb16,_0x2ce1e7]=_0x2e35e4[_0x481cd8(_0x5e5d73._0x4d18b4,_0x5e5d73._0x249179)]('.')[_0x1654ee(_0x5e5d73._0x29b873,0x12b)](Number);if(_0x22cccf===0x7f)return![];if(_0x22cccf===0xa9&&_0x5a15fa['KFOwD'](_0x4ba4bb,0xfe))return![];if(_0x22cccf>=0xe0&&_0x22cccf<=0xef)return![];if(_0x5a15fa[_0x1654ee(0x50e,0x3b9)](_0x22cccf,0xff)&&_0x4ba4bb===0xff&&_0x10fb16===0xff&&_0x2ce1e7===0xff)return![];if(_0x5a15fa[_0x481cd8(0x4d2,0x6a0)](_0x22cccf,0xc6)&&(_0x4ba4bb===0x12||_0x4ba4bb===0x13))return![];return isRfc1918(_0x2e35e4)||isCgnat(_0x2e35e4);}function isRfc1918(_0x2cc1fc){const _0x17a319={_0x1bfbd6:0x8d5,_0x5638a8:0x8d2,_0x1a2cbf:0x21c,_0x4914a1:0x19d,_0x268a03:0x7a7,_0x3f4b82:0x8d5},_0x475e54={_0x5163a8:0x102};function _0x3980e4(_0x31a970,_0x3585c0){return _0x2420cb(_0x3585c0- -_0x475e54._0x5163a8,_0x31a970);}function _0x5e8c75(_0x2e1a83,_0x5243c4){return _0x2420cb(_0x5243c4- -0x5ee,_0x2e1a83);}const _0x3dce63={};_0x3dce63['rYSiX']=function(_0x41d8c4,_0x2f09ce){return _0x41d8c4>=_0x2f09ce;},_0x3dce63['VQSgk']=function(_0x116794,_0x1ad82a){return _0x116794<=_0x1ad82a;},_0x3dce63[_0x3980e4(0x6f9,_0x17a319._0x1bfbd6)]=function(_0x56fae9,_0xdcc15f){return _0x56fae9===_0xdcc15f;};const _0x1935c7=_0x3dce63,[_0x1d2391,_0x31d326]=_0x2cc1fc[_0x3980e4(0xa39,_0x17a319._0x5638a8)]('.')['map'](Number);return _0x1d2391===0xa||_0x1d2391===0xac&&_0x1935c7[_0x5e8c75(_0x17a319._0x1a2cbf,_0x17a319._0x4914a1)](_0x31d326,0x10)&&_0x1935c7['VQSgk'](_0x31d326,0x1f)||_0x1d2391===0xc0&&_0x1935c7[_0x3980e4(_0x17a319._0x268a03,_0x17a319._0x3f4b82)](_0x31d326,0xa8);}function isCgnat(_0x2bcd11){const _0x258860={_0x538dd7:0x7be,_0x1ff749:0x835},_0x5f5ad6={_0x5a974b:0x19f};function _0x122a4a(_0x2a7b6f,_0x2b1f5d){return _0x2420cb(_0x2b1f5d- -_0x5f5ad6._0x5a974b,_0x2a7b6f);}const [_0x234514,_0x5b426b]=_0x2bcd11[_0x122a4a(_0x258860._0x538dd7,_0x258860._0x1ff749)]('.')['map'](Number);return _0x234514===0x64&&_0x5b426b>=0x40&&_0x5b426b<=0x7f;}function isValidIpv4(_0x43dbd4){const _0x1eeebc={_0x3e2f84:0x59e,_0x1e68e6:0x9a,_0xf39985:0xad},_0x45762f={_0x214d85:0x8ed,_0x52b2fe:0x9e6},_0xf2c2d4={_0x27827a:0x3c2},_0x53126f=_0x43dbd4[_0x101942(_0x1eeebc._0x3e2f84,0x6c6)]('.');function _0x101942(_0x1db3b6,_0x51716b){return _0x410a57(_0x1db3b6,_0x51716b-_0xf2c2d4._0x27827a);}function _0x1a9172(_0x3cb6f0,_0x360a59){return _0x410a57(_0x360a59,_0x3cb6f0- -0xe);}return _0x53126f['length']===0x4&&_0x53126f[_0x1a9172(-_0x1eeebc._0x1e68e6,-_0x1eeebc._0xf39985)](_0x868229=>{function _0x25da92(_0x1944b9,_0x5e7e03){return _0x1a9172(_0x5e7e03-0x778,_0x1944b9);}if(!/^\d+$/[_0x25da92(_0x45762f._0x214d85,_0x45762f._0x52b2fe)](_0x868229))return![];const _0x52a57d=Number(_0x868229);return _0x52a57d>=0x0&&_0x52a57d<=0xff;});}import{readFileSync as _0x5758ee}from'fs';import{dirname as _0x5ef10a,resolve}from'path';import{fileURLToPath}from'url';function readCliVersion(){const _0xb92405={_0x461215:0x132,_0x2478bc:0x1d4,_0x14b381:0x224,_0x4f6f23:0xcb,_0x518107:0x4e9,_0x4f6a8d:0x310,_0x3d038f:0x251,_0x571c37:0x242,_0x27bf96:0x337},_0x35652d={_0x316f65:0x653},_0x2ed3db={_0x4c8150:0xaf};function _0x1842c6(_0x175a51,_0x1e2f72){return _0x2420cb(_0x175a51- -_0x2ed3db._0x4c8150,_0x1e2f72);}const _0x2acf8c={};_0x2acf8c['zSFUk']=_0x41bea7(_0xb92405._0x461215,-0x108);const _0x25dde6=_0x2acf8c;function _0x41bea7(_0x5b48b9,_0x59f730){return _0x2420cb(_0x59f730- -_0x35652d._0x316f65,_0x5b48b9);}const _0x10cde7=_0x5ef10a(fileURLToPath(import.meta.url)),_0x516372=resolve(_0x10cde7,_0x41bea7(_0xb92405._0x2478bc,_0xb92405._0x14b381)+'ge.json'),_0x50ead4=_0x5758ee(_0x516372,_0x25dde6[_0x41bea7(_0xb92405._0x4f6f23,0x248)]),_0x444d5c=JSON[_0x41bea7(_0xb92405._0x518107,_0xb92405._0x4f6a8d)](_0x50ead4);return _0x444d5c[_0x41bea7(-_0xb92405._0x3d038f,-0x9d)]??_0x41bea7(_0xb92405._0x571c37,_0xb92405._0x27bf96);}function buildPairingJson(_0x437151,_0x415279,_0x3f3ad6,_0x1956bc){const _0x5be8e0={_0x5d7e91:0x6f8,_0x1a354a:0x51d,_0x59b563:0x7fe,_0x4e0253:0x45c,_0xb84c4c:0x5d0,_0x22fe2a:0x78f,_0x2dcef7:0x793,_0x367ec4:0x5a6,_0x17aca2:0x79e,_0x10eb64:0x57c,_0x4b10fd:0x710,_0x34ad93:0x47e,_0x1fce8a:0x565,_0x33c2ad:0x6c3,_0x4b27ff:0x328,_0x2a7259:0x328,_0x1b442b:0x4b2,_0x164df3:0x257,_0x385b96:0x34a,_0x355299:0x388,_0x13093d:0x4ff,_0x114c31:0x34a,_0x8e8352:0x1da,_0xed5614:0x807,_0x6ffd96:0x605,_0xd9c3a1:0x515,_0xa9ce79:0x43d,_0x358f66:0x45c,_0x318c03:0x570,_0x2d98d1:0x4f8,_0x4b6986:0x3a6,_0x2697cf:0x6d8,_0x3f7d87:0x3f2,_0x255ef0:0x471,_0x9eee9a:0x2a0,_0x1523ed:0x6d8,_0x5bb9a3:0x527},_0x44e5d2={_0x5ab96e:0x401},_0x2a96dd={};_0x2a96dd['installe'+'d']=_0x3f3ad6['installe'+'d'],_0x2a96dd[_0x3eb016(_0x5be8e0._0x5d7e91,_0x5be8e0._0x1a354a)]=_0x3f3ad6[_0x56366a(0x812,_0x5be8e0._0x59b563)],_0x2a96dd['method']=_0x3f3ad6[_0x3eb016(0x297,0x35d)],_0x2a96dd['serviceP'+'ath']=_0x3f3ad6[_0x3eb016(0x264,_0x5be8e0._0x4e0253)+_0x56366a(_0x5be8e0._0xb84c4c,_0x5be8e0._0x22fe2a)],_0x2a96dd[_0x3eb016(0x4a0,0x6ef)]=_0x3f3ad6[_0x56366a(_0x5be8e0._0x2dcef7,_0x5be8e0._0x367ec4)],_0x2a96dd[_0x56366a(0x8af,_0x5be8e0._0x17aca2)+_0x56366a(_0x5be8e0._0x10eb64,_0x5be8e0._0x4b10fd)]=_0x3f3ad6[_0x56366a(0x754,_0x5be8e0._0x17aca2)+_0x56366a(_0x5be8e0._0x34ad93,0x710)],_0x2a96dd[_0x56366a(0x67f,0x6c3)]=_0x3f3ad6[_0x56366a(_0x5be8e0._0x1fce8a,_0x5be8e0._0x33c2ad)];const _0x52b762={};_0x52b762['ok']=!![],_0x52b762[_0x56366a(0x3bb,_0x5be8e0._0x4b27ff)]=_0x437151[_0x56366a(0x11c,_0x5be8e0._0x2a7259)],_0x52b762[_0x56366a(0x2ee,0x3d2)]=_0x1956bc;function _0x3eb016(_0xd5a3e8,_0xd2e547){return _0x410a57(_0xd2e547,_0xd5a3e8-_0x44e5d2._0x5ab96e);}_0x52b762[_0x3eb016(_0x5be8e0._0x1b442b,_0x5be8e0._0x164df3)+'d']=_0x437151[_0x3eb016(_0x5be8e0._0x385b96,0x1a7)][_0x56366a(0x620,0x5b8)+'d'],_0x52b762[_0x56366a(0x26a,_0x5be8e0._0x355299)]=_0x437151[_0x56366a(0x5af,0x450)][_0x3eb016(0x282,0x28a)],_0x52b762[_0x3eb016(_0x5be8e0._0x13093d,0x267)+'l']=_0x437151[_0x3eb016(_0x5be8e0._0x114c31,_0x5be8e0._0x8e8352)][_0x56366a(_0x5be8e0._0xed5614,_0x5be8e0._0x6ffd96)+'l'],_0x52b762[_0x56366a(_0x5be8e0._0xd9c3a1,_0x5be8e0._0xa9ce79)+'Id']=_0x437151['config'][_0x3eb016(0x337,_0x5be8e0._0x358f66)+'Id'],_0x52b762[_0x56366a(0x5f8,0x3a6)+'de']=_0x437151[_0x56366a(_0x5be8e0._0x318c03,0x3a6)+'de'];function _0x56366a(_0x80ad5a,_0x2cd6e0){return _0x410a57(_0x80ad5a,_0x2cd6e0-0x507);}return _0x52b762[_0x56366a(_0x5be8e0._0x2d98d1,_0x5be8e0._0x4b6986)+_0x3eb016(_0x5be8e0._0x2697cf,0x8fb)+_0x3eb016(_0x5be8e0._0x3f7d87,_0x5be8e0._0x255ef0)]=_0x437151[_0x3eb016(_0x5be8e0._0x9eee9a,0x455)+_0x3eb016(_0x5be8e0._0x1523ed,0x548)+_0x56366a(_0x5be8e0._0x5bb9a3,0x4f8)],_0x52b762['qrImageP'+_0x56366a(0x822,0x78f)]=_0x415279,_0x52b762[_0x3eb016(0x556,0x522)]=_0x2a96dd,_0x52b762;}function buildLocalPairingJson(_0x2506ef){const _0x37025e={_0x309493:0x10b,_0x2d33d1:0xc3,_0x1dacea:0x227,_0x4337a2:0x37,_0xf09748:0x51,_0x10ca78:0x611,_0x123a5f:0x4e6,_0x2cb88e:0x169,_0x3bf068:0x21c,_0x36be50:0x1b4,_0x2f66ed:0x396,_0x1532a8:0x3a4,_0x345d04:0x367,_0x3b0851:0x465,_0x2a2e8a:0x448},_0x41eec0={};_0x41eec0['ok']=!![];function _0x417e3d(_0xc1a7f1,_0x5b719e){return _0x2420cb(_0x5b719e- -0x5b4,_0xc1a7f1);}_0x41eec0[_0x417e3d(-_0x37025e._0x309493,-_0x37025e._0x2d33d1)]=_0x53c214(-_0x37025e._0x1dacea,_0x37025e._0x4337a2),_0x41eec0['message']=_0x2506ef[_0x53c214(_0x37025e._0xf09748,0x8b)],_0x41eec0['gatewayU'+'rl']=_0x2506ef[_0x53c214(_0x37025e._0x10ca78,_0x37025e._0x123a5f)+'rl'];function _0x53c214(_0x238224,_0x2792f9){return _0x2420cb(_0x2792f9- -0x510,_0x238224);}return _0x41eec0[_0x53c214(0x3a8,_0x37025e._0x2cb88e)]=_0x2506ef['authMode'],_0x41eec0[_0x417e3d(_0x37025e._0x3bf068,0x396)+'t']=_0x2506ef[_0x53c214(_0x37025e._0x36be50,0x43a)+'t'],_0x41eec0[_0x53c214(0x690,0x465)+_0x417e3d(_0x37025e._0x2f66ed,_0x37025e._0x1532a8)]=_0x2506ef[_0x53c214(_0x37025e._0x345d04,_0x37025e._0x3b0851)+_0x53c214(0x6cd,_0x37025e._0x2a2e8a)],_0x41eec0;}import{mkdirSync as _0x28d373,writeFileSync as _0x31c728}from'fs';import{dirname as _0x1bc34c,isAbsolute,join as _0x47ed62,resolve as _0x174b58}from'path';import _0x1665d0 from'qrcode';var DEFAULT_QR_DIR=getOpenClawMediaDir();async function writePairingQrPng(_0x3be5d8,_0x1bc5dc){const _0x5eb892={_0x3b228e:0x72e,_0xcc31eb:0xa4,_0x183673:0x58c,_0x5022a2:0x185,_0xb054bb:0x261},_0x51b604={_0x1676a5:0x687},_0x29a99c={_0x17e299:0x2ca},_0x36111a={'CNClR':function(_0x258890,_0x191cc7,_0x469ffa){return _0x258890(_0x191cc7,_0x469ffa);}};function _0x5f2bad(_0x30d3c5,_0x3c6aad){return _0x2420cb(_0x3c6aad- -_0x29a99c._0x17e299,_0x30d3c5);}const _0x1e9ef5=_0x36111a[_0x5f2bad(0x583,_0x5eb892._0x3b228e)](resolveQrOutputPath,_0x3be5d8[_0x42eef7(-0x6e,_0x5eb892._0xcc31eb)][_0x5f2bad(_0x5eb892._0x183673,0x4b7)+'d'],_0x1bc5dc);function _0x42eef7(_0x53fec1,_0x3128cf){return _0x2420cb(_0x53fec1- -_0x51b604._0x1676a5,_0x3128cf);}return writeQrPng(_0x3be5d8[_0x5f2bad(_0x5eb892._0x5022a2,_0x5eb892._0xb054bb)+'d'],_0x1e9ef5);}async function writeRawQrPng(_0x3b2aa0,_0x37eee8,_0x50a43c){const _0xb87642=resolveQrOutputPath(_0x37eee8,_0x50a43c);return writeQrPng(_0x3b2aa0,_0xb87642);}async function writeQrPng(_0x166dc5,_0x12717b){const _0x1fc018={_0x1acac4:0xa0,_0xd370b4:0x115,_0x9e4c9c:0x19e,_0x1da4ee:0xa7,_0x32202e:0x332,_0x41ba5e:0x4c4,_0xa50500:0x1b8,_0x4bc388:0xea,_0x1abe08:0x10b,_0x1dfeb3:0x308,_0x430b92:0x285,_0x46d1b6:0x472,_0x52e420:0x2d2,_0x21017c:0x278,_0x2f43f2:0x4ab},_0x5c7801={_0x528e18:0x73},_0x435408={_0x2afca1:0x1f},_0x5e529c={};_0x5e529c[_0x400daa(-_0x1fc018._0x1acac4,_0x1fc018._0xd370b4)]=_0x400daa(0x217,_0x1fc018._0x9e4c9c)+'g';const _0x45ade4=_0x5e529c;function _0x4797ae(_0xa703a3,_0x4f467d){return _0x410a57(_0x4f467d,_0xa703a3-_0x435408._0x2afca1);}const _0x10844b={};_0x10844b[_0x4797ae(_0x1fc018._0x1da4ee,0x270)+'e']=!![],_0x28d373(_0x1bc34c(_0x12717b),_0x10844b);const _0x474c06={};_0x474c06[_0x4797ae(_0x1fc018._0x32202e,_0x1fc018._0x41ba5e)]=_0x45ade4['swkKO'],_0x474c06[_0x4797ae(_0x1fc018._0xa50500,0x30)+_0x400daa(-_0x1fc018._0x4bc388,-_0x1fc018._0x1abe08)+_0x400daa(_0x1fc018._0x1dfeb3,0x130)]='M',_0x474c06['margin']=0x1,_0x474c06[_0x400daa(_0x1fc018._0x430b92,_0x1fc018._0x46d1b6)]=0x2d0;const _0x37fe65=await _0x1665d0[_0x4797ae(0x27b,_0x1fc018._0x52e420)+'L'](_0x166dc5,_0x474c06);function _0x400daa(_0x1def42,_0x174372){return _0x410a57(_0x174372,_0x1def42-_0x5c7801._0x528e18);}const _0xd49752=_0x37fe65[_0x400daa(0x12c,_0x1fc018._0x21017c)](/^data:image\/png;base64,/,'');return _0x31c728(_0x12717b,Buffer['from'](_0xd49752,_0x4797ae(0x2d2,_0x1fc018._0x2f43f2))),_0x12717b;}function resolveQrOutputPath(_0x338d83,_0x145033){const _0x3edc98=_0x145033?.['trim']();if(_0x3edc98)return isAbsolute(_0x3edc98)?_0x3edc98:_0x174b58(_0x3edc98);return _0x47ed62(DEFAULT_QR_DIR,_0x338d83+'.png');}function decidePairServiceAction(_0x135e55,_0x4d7e1b){const _0x128966={_0x40517b:0x396,_0x31b665:0x9e,_0x3f5050:0x3b1,_0x171eb3:0x2e5,_0x10c2d1:0x1f6,_0x288b17:0x231,_0x5aded7:0x388},_0x1ccb23={_0x27cb7a:0xba};function _0x393204(_0x333257,_0x351ec8){return _0x410a57(_0x333257,_0x351ec8-_0x1ccb23._0x27cb7a);}function _0x299532(_0x496e7e,_0xbfa52f){return _0x410a57(_0xbfa52f,_0x496e7e-0x2f0);}if(!_0x4d7e1b[_0x393204(_0x128966._0x40517b,0x27f)+'d'])return _0x393204(0x329,_0x128966._0x31b665);if(!_0x4d7e1b[_0x393204(0x4cc,_0x128966._0x3f5050)])return _0x299532(0x5c2,0x458);if(_0x135e55['action']===_0x299532(_0x128966._0x171eb3,0x1e8)+'ed')return _0x393204(_0x128966._0x10c2d1,0x38c);return _0x393204(_0x128966._0x288b17,_0x128966._0x5aded7);}async function main(){const _0x2deef7={_0x315262:0x5e1,_0x572656:0x614,_0x22006e:0x340,_0x258b23:0x4b2,_0x1fa6ca:0x5c1,_0x21b90e:0x5b9,_0x3b4e96:0x54b,_0x273e5b:0x32f,_0x50ec38:0x2cb,_0x3ca931:0x533,_0x1a2ce0:0x391,_0x50b009:0x6c1,_0x3df9ae:0x60b,_0x20a396:0x2a4,_0x17425d:0x13f,_0x505cd0:0x89b,_0x164d02:0x167,_0xea2df5:0x33d,_0x10feff:0x3ff,_0x545558:0x9f,_0x5c954c:0x68a,_0x12c768:0x8c4,_0x451694:0x4cb,_0x33189e:0x313,_0x2cc7c8:0x660,_0x4f2123:0xaf8,_0x1db537:0x8a4,_0x113670:0x74e,_0x3d2af2:0x34d,_0x135012:0x6cf,_0x2bfb45:0x59c,_0x1a4957:0x331,_0x36933c:0x7b5,_0x34db53:0x583,_0x142488:0x26c,_0x464235:0x703,_0x51bb7e:0x94d,_0x368d8b:0x965,_0x4c5060:0x94d,_0x572264:0x2d1,_0x528f3e:0x4ef,_0x91ebaa:0xf9,_0x44cfc5:0x5a2,_0x58168b:0x801,_0x1a2f6f:0x8af,_0x40ffbb:0x13d,_0x373a3a:0x1fc,_0xe6d577:0x312,_0x1e129f:0x601,_0x3ec5ec:0x529,_0x3d3657:0x7e4,_0x3f3884:0x935,_0x10b341:0x5b5,_0x28cdef:0x44d,_0x13add6:0x64e,_0x50b985:0x5d0,_0x553409:0x1ac,_0x30ad24:0x428,_0x42d593:0xaf2,_0x177926:0x5d2,_0x5f0342:0x958,_0x344499:0x8ca,_0x10dff7:0x4b0,_0xbd7291:0x4f3,_0x5a9feb:0x6c2,_0x15d362:0x936,_0x1f7afa:0x515,_0x4b0959:0x505,_0x51e703:0x4ba,_0x9382b7:0x37,_0x2cca8e:0x853,_0x525097:0x23f,_0x5d032c:0x282,_0x5c205b:0x421,_0x47dc4a:0x62f,_0x408cb1:0x971,_0x229af6:0x7c4,_0x1f9749:0x777,_0x581b5a:0x39a,_0x36a5fc:0x281,_0x2da7d9:0x947,_0x1a9778:0x7a4,_0xce1c1b:0x514,_0x52f382:0x79b,_0x5cebc8:0xba6,_0x51a622:0x475,_0x58de5d:0x18e,_0x38f653:0xc7,_0xfebe8:0x79f,_0x29d68f:0x30c,_0x371714:0x468,_0x5a9612:0x536,_0x2d3497:0x50c,_0x8b3637:0x4a0,_0xb84a68:0x149,_0x5beb49:0x1bd,_0x212b9b:0x31d,_0x2113fb:0x13b,_0x4c8565:0x5b8,_0x5d909d:0x4ea,_0x38db71:0x501,_0x5676f2:0x599,_0x391af6:0x25d,_0x23ac2a:0x8d,_0x38a9ec:0x614,_0x4f2623:0x4d5,_0xebbc03:0x87a,_0x51370c:0x66d,_0x5a5190:0xf4,_0x4601b5:0x712,_0x300ef8:0xa86,_0x59824d:0x924,_0x6f3fe:0x4b1,_0x12f895:0x64f,_0x42dd87:0x76a,_0x14515e:0x397,_0x4b99be:0x3f2,_0x465116:0x846,_0x1f2dec:0x7ae,_0x39e8e9:0x1cc,_0x379c47:0x104,_0x3b995c:0x1ef,_0x2ca96c:0x3c6,_0x213acf:0x442,_0x1152ac:0x355,_0x3915b4:0x2bb,_0x2352f5:0x63d,_0x4ce74d:0x43b,_0x1d6fb9:0x70f,_0x335080:0x312,_0x3227c9:0x492,_0x540fd0:0x689,_0x3d6984:0x4ba,_0x55e65b:0x160,_0x53f096:0x396,_0x4e3ce4:0xae5,_0x296866:0x853,_0x311dd5:0x625,_0x180e84:0x647,_0x3e6d81:0x4a0,_0x499c69:0x347,_0x3154d0:0x662,_0x1916f9:0x6c0,_0x1b1e7d:0x3d9,_0x5cc752:0x518,_0x3fa5d3:0x682,_0x580dbe:0x8f9,_0x35bde0:0x231,_0x55e8e9:0x4a1,_0xf33ef:0x605,_0x8d6fcb:0x2c8,_0x5c0cf2:0x344,_0x1c4fcd:0x578,_0x474579:0x56a,_0x2b1634:0x5ef,_0x18320c:0x9d2,_0x30a063:0x95f,_0x3fd5d8:0x893,_0x4755ae:0x163,_0x16d76f:0x52,_0x1f73b4:0x7fb,_0x321dbb:0x6dc,_0x20c97f:0x8ff,_0x3a15a2:0x6b2,_0x5bbb82:0x88f,_0x16d4f3:0x462,_0x19b589:0x4a6,_0x4d5d90:0x530,_0x2ff7c6:0x8b0,_0x130fb9:0x77f,_0x4665b0:0x69a,_0x288f77:0x5d4,_0x278288:0x96,_0x55df49:0x2f8,_0x1923ff:0x497,_0x46e43f:0x639,_0x2eb2aa:0x8cf,_0x509b4c:0x781,_0x40afc6:0x5c3,_0x533c59:0x84d,_0x402acb:0x751,_0x10d802:0x230,_0x2e7cdd:0xb33,_0x86f781:0x46d,_0x39fd93:0x51e,_0x33aff6:0x16e,_0x583eb4:0x5a7,_0x189bce:0x602,_0x24f8b2:0x776,_0x34d648:0x231,_0x3cf7ad:0x1c,_0x81ba34:0x79e,_0x324793:0x55d,_0x183103:0x231,_0x1adbd3:0x32a,_0x438f0f:0x1ff,_0x38c9ad:0x8d9,_0x273366:0x84d,_0x4e82be:0x5c8,_0x773a63:0x4eb,_0x26301a:0x47e,_0x16aa64:0x8aa,_0x5ad979:0x58c,_0x1f0dc6:0x763,_0x4f18bf:0x3d9,_0x3ecf2e:0x3c2,_0x1d26f3:0x409,_0x35a58d:0x6d8,_0x56a2d7:0x3d9,_0xaeabb1:0x25e,_0x2e864c:0x261,_0x5b840d:0x591,_0x12d816:0x7a5,_0x5a12ef:0x82c},_0x4f556a={_0x2d9a08:0x3c5,_0x1fc60e:0x4bc,_0x3409de:0x68a,_0x2c9a32:0x42c,_0x2886d9:0x662,_0x48b09b:0x4bc,_0x11b0a0:0x38c,_0x3ce759:0x300,_0x54de6a:0x52e,_0x52bc04:0x401},_0x28f7fa={_0x7253c3:0x4fa,_0x1e2c7e:0x45f,_0x54dee2:0x582,_0x57e9d8:0x47c,_0x55dbb4:0x2d3,_0x3f0a6b:0x12e,_0x273934:0xd3,_0x42a6b8:0x2a7,_0x254521:0x493,_0x5dc00b:0x1e5,_0x4ca767:0x39e},_0x21aae2={_0x4fc97f:0x994,_0x33f8c2:0x1be,_0x266318:0x223,_0x5e8cf4:0x47e,_0x2941a0:0x59e,_0xa43a1e:0x1f4,_0x29d45f:0x26,_0x5d9675:0x90,_0x53b1c4:0x69a,_0x174964:0x8b1,_0x2b04a9:0x38d,_0x384f6e:0x5b3,_0x2de23a:0x47c,_0x25db80:0x709,_0x9362c2:0x5ee,_0x35dd09:0x81e,_0x68c4ea:0x1a8,_0x462100:0x381,_0x42f002:0x561,_0x3670dd:0x75,_0x25a64e:0x807,_0x4bd5fc:0x271,_0x4e5bcd:0x17b,_0x9beca:0x1e6},_0x3a71f1={_0x420303:0x6a1,_0x7e0755:0x510},_0x207d5c={_0x331783:0x627},_0x47b573={'hIBpv':function(_0x1ac491,_0x5240af){return _0x1ac491(_0x5240af);},'nFrGN':'down','poNRO':_0x509008(0x680,0x666)+'>','FoklQ':function(_0x5e9b4f,_0x1d420d){return _0x5e9b4f(_0x1d420d);},'mJUrq':function(_0x417707,_0x3daefa,_0x4005f5){return _0x417707(_0x3daefa,_0x4005f5);},'okesB':'--json','wtPOb':_0x509008(_0x2deef7._0x315262,_0x2deef7._0x572656),'uTEmt':function(_0xa9fd2b){return _0xa9fd2b();},'vPOYC':function(_0x258e01,_0x49fdcd){return _0x258e01(_0x49fdcd);},'wBWBi':function(_0x3901b,_0x39f77f,_0x213467,_0x35c88a,_0x48e8a,_0x8c87d1,_0x1b72ad){return _0x3901b(_0x39f77f,_0x213467,_0x35c88a,_0x48e8a,_0x8c87d1,_0x1b72ad);},'obfKu':_0x3b5d72(_0x2deef7._0x22006e,0x441),'WkHpJ':function(_0x44a75e){return _0x44a75e();},'JMIGE':function(_0xf80c83,_0x31cf41,_0x4afa6c){return _0xf80c83(_0x31cf41,_0x4afa6c);},'KmNgs':'https://'+_0x509008(_0x2deef7._0x258b23,_0x2deef7._0x1fa6ca)+'.clawket'+_0x509008(0x59b,0x6be),'WHzuV':function(_0x5a5b44){return _0x5a5b44();},'HTltK':function(_0x48277e,_0x5ab83b,_0x34bb21){return _0x48277e(_0x5ab83b,_0x34bb21);},'KssGc':function(_0x5e67fe){return _0x5e67fe();},'rwTOF':function(_0x15b733,_0x5eaa4d,_0x12727,_0x102de6,_0x21ec10){return _0x15b733(_0x5eaa4d,_0x12727,_0x102de6,_0x21ec10);},'EssHn':_0x509008(_0x2deef7._0x21b90e,_0x2deef7._0x3b4e96)+_0x3b5d72(0x614,0x541)+_0x509008(_0x2deef7._0x273e5b,0x4c5)+_0x3b5d72(0x299,_0x2deef7._0x50ec38)+'ng.\x20Left'+_0x3b5d72(_0x2deef7._0x3ca931,_0x2deef7._0x1a2ce0)+'ed.','XnnDv':function(_0x21c9b9,_0x5ae317){return _0x21c9b9===_0x5ae317;},'iitKC':function(_0x1bb480){return _0x1bb480();},'IaPal':_0x509008(_0x2deef7._0x50b009,_0x2deef7._0x3df9ae),'vZQCD':_0x509008(0x7d6,0x889)+_0x3b5d72(_0x2deef7._0x20a396,_0x2deef7._0x17425d)+'ackgroun'+_0x3b5d72(0x583,0x4d1)+'e.','EHiXw':function(_0x10606c,_0x54c7b0,_0x4b2016){return _0x10606c(_0x54c7b0,_0x4b2016);},'KTgUW':function(_0x4e5bf1,_0x2f8612){return _0x4e5bf1(_0x2f8612);},'juJzT':function(_0x3505d5,_0x59adef){return _0x3505d5(_0x59adef);},'aMWUd':_0x509008(0x60a,_0x2deef7._0x505cd0),'mvgiO':function(_0x1e0dfa,_0x123a42){return _0x1e0dfa(_0x123a42);},'QVsUs':function(_0x17645b,_0x4a5eae,_0x15ccc1){return _0x17645b(_0x4a5eae,_0x15ccc1);},'iCMxI':function(_0x3dbc06){return _0x3dbc06();},'odrHZ':_0x509008(0x4fc,0x6fc)+_0x3b5d72(_0x2deef7._0x164d02,_0x2deef7._0xea2df5)+_0x509008(0x9b6,0x913)+'ce.','hbQyn':_0x3b5d72(_0x2deef7._0x10feff,0x1ec)+_0x3b5d72(0x167,_0x2deef7._0x545558)+_0x509008(0x6d9,0x913)+_0x509008(_0x2deef7._0x5c954c,_0x2deef7._0x12c768)+'tration.','JWfJF':_0x3b5d72(0x5d4,_0x2deef7._0x451694),'bXnbt':_0x3b5d72(0x39e,0x4d8),'uuhsQ':_0x3b5d72(0x58d,_0x2deef7._0x33189e),'WhMCA':function(_0x196dc1){return _0x196dc1();}},[,,_0x32fd1d='help',..._0x138631]=process['argv'],_0x1e8849=hasFlag(_0x138631,_0x509008(_0x2deef7._0x2cc7c8,0x5cc)+'e'),_0x30b095=_0x47b573[_0x509008(_0x2deef7._0x4f2123,_0x2deef7._0x1db537)](hasFlag,_0x138631,_0x47b573[_0x3b5d72(0x4bf,_0x2deef7._0x113670)]);if(_0x32fd1d===_0x3b5d72(0x407,_0x2deef7._0x3d2af2)){const _0x4037a2=readPairSubcommand(_0x138631),_0x39dff7=_0x4037a2===_0x509008(_0x2deef7._0x135012,0x49e)||hasFlag(_0x138631,_0x47b573[_0x509008(0x93d,0x8bd)]);if(_0x39dff7){const _0x20770d=_0x47b573['uTEmt'](resolveGatewayAuth);if(_0x3b5d72(_0x2deef7._0x2bfb45,0x466)in _0x20770d)throw new Error(_0x20770d[_0x509008(0xa54,0x89b)]);const _0x3a0132=readFlag(_0x138631,'--qr-fil'+'e'),_0x52a700=_0x47b573[_0x3b5d72(0x625,0x891)](buildLocalPairingInfo,{'explicitUrl':readFlag(_0x138631,_0x3b5d72(0x13a,0x109)),'gatewayToken':_0x20770d[_0x3b5d72(0x160,_0x2deef7._0x1a4957)],'gatewayPassword':_0x20770d[_0x509008(_0x2deef7._0x36933c,0x76f)]}),_0x46dd7f=await writeRawQrPng(_0x52a700[_0x509008(0x64d,0x482)+'d'],_0x509008(0x426,_0x2deef7._0x34db53)+_0x3b5d72(_0x2deef7._0x142488,0x34a)+'ir',_0x3a0132);if(_0x30b095){const _0x3dadf0={};_0x3dadf0[_0x509008(_0x2deef7._0x464235,_0x2deef7._0x51bb7e)+'rl']=_0x52a700[_0x509008(_0x2deef7._0x368d8b,_0x2deef7._0x4c5060)+'rl'],_0x3dadf0[_0x3b5d72(_0x2deef7._0x572264,_0x2deef7._0x528f3e)]=_0x52a700[_0x3b5d72(_0x2deef7._0x572264,_0x2deef7._0x91ebaa)],_0x3dadf0[_0x3b5d72(0x5a2,0x3d2)+'t']=_0x52a700[_0x3b5d72(_0x2deef7._0x44cfc5,_0x2deef7._0x58168b)+'t'],_0x3dadf0['qrImageP'+_0x509008(0x75c,_0x2deef7._0x1a2f6f)]=_0x46dd7f,_0x3dadf0[_0x3b5d72(0x1f3,_0x2deef7._0x40ffbb)]=_0x3b5d72(0x1fb,_0x2deef7._0x373a3a)+_0x3b5d72(0x3b8,_0x2deef7._0xe6d577)+_0x509008(0x874,_0x2deef7._0x1e129f)+_0x3b5d72(_0x2deef7._0x3ec5ec,0x5a6)+_0x509008(0x6ae,_0x2deef7._0x3d3657),_0x47b573[_0x509008(_0x2deef7._0x3f3884,0x924)](printJson,buildLocalPairingJson(_0x3dadf0));}else _0x47b573[_0x509008(_0x2deef7._0x10b341,_0x2deef7._0x28cdef)](printLocalPairingInfo,_0x52a700[_0x3b5d72(_0x2deef7._0x13add6,0x744)+'rl'],_0x52a700[_0x509008(0x6be,_0x2deef7._0x50b985)],_0x52a700[_0x3b5d72(0x5a2,0x742)+'t'],_0x52a700[_0x509008(0x211,0x482)+'d'],_0x46dd7f,readFlag(_0x138631,'--url'));return;}const _0x1d488f=hasFlag(_0x138631,_0x47b573[_0x3b5d72(0x3b9,0x5d8)]);!_0x1d488f&&await ensurePairPrerequisites();const _0x2e62ea=_0x47b573[_0x3b5d72(0x3cb,_0x2deef7._0x553409)](resolveGatewayAuth);if(_0x3b5d72(0x59c,_0x2deef7._0x30ad24)in _0x2e62ea)throw new Error(_0x2e62ea[_0x509008(0x927,0x89b)]);const _0x4f5eb8=_0x47b573[_0x509008(_0x2deef7._0x42d593,0x8a4)](readFlag,_0x138631,_0x3b5d72(0x403,_0x2deef7._0x177926))??_0x47b573[_0x509008(_0x2deef7._0x5f0342,_0x2deef7._0x344499)](readFlag,_0x138631,'-s')??_0x47b573['KmNgs'],_0x3bf63a=readFlag(_0x138631,_0x3b5d72(_0x2deef7._0x10dff7,_0x2deef7._0xbd7291))??_0x47b573['JMIGE'](readFlag,_0x138631,'-n')??_0x47b573['WHzuV'](getDefaultBridgeDisplayName),_0x309aff=readFlag(_0x138631,_0x509008(0x79e,0x689)+'e'),_0x4c8d3e={};_0x4c8d3e[_0x3b5d72(0x426,0x399)+'l']=_0x4f5eb8,_0x4c8d3e[_0x509008(_0x2deef7._0x5a9feb,_0x2deef7._0x15d362)+_0x3b5d72(0x45a,_0x2deef7._0x1f7afa)]=_0x3bf63a,_0x4c8d3e[_0x509008(_0x2deef7._0x4b0959,0x442)+_0x509008(0x229,_0x2deef7._0x51e703)]=_0x2e62ea[_0x3b5d72(0x160,-_0x2deef7._0x9382b7)],_0x4c8d3e[_0x509008(0x7e0,_0x2deef7._0x2cca8e)+_0x3b5d72(0x1b8,0xa9)]=_0x2e62ea[_0x3b5d72(0x470,_0x2deef7._0x525097)];const _0x2f31a7=await pairGateway(_0x4c8d3e),_0x1f2fdf=await _0x47b573[_0x509008(0x4df,0x6bd)](writePairingQrPng,_0x2f31a7,_0x309aff),_0x48ca89=getServiceStatus(),_0x8c7184=decidePairServiceAction(_0x2f31a7,_0x48ca89);if(_0x8c7184==='noop'){const _0x139175=listRuntimeProcesses();if(_0x139175[_0x3b5d72(0x24d,_0x2deef7._0x5d032c)]>0x1){_0x47b573[_0x3b5d72(_0x2deef7._0x5c205b,_0x2deef7._0x47dc4a)](stopRuntimeProcesses);const _0x39a635=_0x47b573[_0x509008(_0x2deef7._0x408cb1,_0x2deef7._0x229af6)](restartService),_0x1e32dd=_0x3b5d72(0x551,0x35f)+_0x509008(0x9f5,_0x2deef7._0x1f9749)+'te\x20bridg'+_0x3b5d72(_0x2deef7._0x581b5a,_0x2deef7._0x36a5fc)+'es.\x20Rest'+_0x509008(0xa16,0x952)+_0x509008(_0x2deef7._0x2da7d9,_0x2deef7._0x1a9778)+_0x3b5d72(0x306,0x344)+_0x509008(0x622,0x5b4)+'anly.';_0x30b095?printJson(_0x47b573['rwTOF'](buildPairingJson,_0x2f31a7,_0x1f2fdf,_0x39a635,_0x1e32dd)):(printPairingInfo(_0x2f31a7,_0x1f2fdf),printServiceResult(_0x1e32dd,_0x39a635));return;}_0x30b095?printJson(_0x47b573[_0x3b5d72(0x497,_0x2deef7._0xce1c1b)](buildPairingJson,_0x2f31a7,_0x1f2fdf,_0x48ca89,_0x509008(_0x2deef7._0x52f382,0x54b)+_0x509008(_0x2deef7._0x5cebc8,0x913)+'ce\x20alrea'+'dy\x20runni'+'ng.\x20Left'+_0x3b5d72(0x533,_0x2deef7._0x51a622)+_0x3b5d72(0x196,0x3af))):(printPairingInfo(_0x2f31a7,_0x1f2fdf),console[_0x3b5d72(0x231,0x21d)](_0x47b573[_0x3b5d72(_0x2deef7._0x58de5d,_0x2deef7._0x38f653)]),printServiceResult(null,_0x48ca89));return;}try{stopRuntimeProcesses();const _0x3c9a45=_0x47b573[_0x509008(0x5e5,_0x2deef7._0xfebe8)](_0x8c7184,_0x3b5d72(_0x2deef7._0x29d68f,_0x2deef7._0x371714))?_0x47b573['iitKC'](installService):restartService(),_0x294619=_0x8c7184===_0x47b573[_0x509008(0x535,_0x2deef7._0x5a9612)]?_0x47b573[_0x3b5d72(_0x2deef7._0x2d3497,0x40a)]:_0x47b573[_0x3b5d72(_0x2deef7._0x8b3637,0x40c)](_0x2f31a7[_0x3b5d72(_0x2deef7._0xb84a68,_0x2deef7._0x5beb49)],_0x3b5d72(_0x2deef7._0x212b9b,_0x2deef7._0x2113fb)+'ed')?'Bridge\x20i'+_0x509008(0x5de,0x673)+_0x509008(0x598,_0x2deef7._0x4c8565)+'\x20Restart'+_0x3b5d72(0x2d7,0x40c)+'round\x20se'+'rvice\x20to'+_0x509008(_0x2deef7._0x5d909d,_0x2deef7._0x38db71)+_0x509008(0x331,_0x2deef7._0x5676f2)+_0x3b5d72(_0x2deef7._0x391af6,0x4ee):_0x3b5d72(0x24c,_0x2deef7._0x23ac2a)+_0x3b5d72(_0x2deef7._0x38a9ec,0x3c9)+'ce\x20was\x20i'+_0x3b5d72(_0x2deef7._0x4f2623,0x71f)+_0x509008(0x86a,_0x2deef7._0xebbc03)+_0x509008(0x744,0x5d7)+'started\x20'+_0x3b5d72(0x521,_0x2deef7._0x51370c);_0x30b095?printJson(buildPairingJson(_0x2f31a7,_0x1f2fdf,_0x3c9a45,_0x294619)):(printPairingInfo(_0x2f31a7,_0x1f2fdf),_0x47b573[_0x3b5d72(0x383,_0x2deef7._0x5a5190)](printServiceResult,_0x294619,_0x3c9a45));}catch(_0x566b9c){if(_0x47b573[_0x509008(_0x2deef7._0x4601b5,0x64e)](isAutostartUnsupportedError,_0x566b9c)){const _0x56ec0b=await startTransientRuntime(),_0xb62470=_0x47b573[_0x509008(_0x2deef7._0x300ef8,_0x2deef7._0x59824d)](buildUnsupportedAutostartMessage,_0x56ec0b);_0x30b095?_0x47b573[_0x3b5d72(0x652,0x4e1)](printJson,_0x47b573['rwTOF'](buildPairingJson,_0x2f31a7,_0x1f2fdf,_0x56ec0b,_0xb62470)):(_0x47b573['EHiXw'](printPairingInfo,_0x2f31a7,_0x1f2fdf),printServiceResult(_0xb62470,_0x56ec0b));return;}console[_0x3b5d72(0x59c,_0x2deef7._0x6f3fe)](_0x3b5d72(0x484,_0x2deef7._0x12f895)+_0x509008(0x8f9,_0x2deef7._0x42dd87)+_0x3b5d72(_0x2deef7._0x14515e,_0x2deef7._0x4b99be)+_0x509008(0x590,0x504)+'ctivatio'+_0x509008(0x7e3,0x7f7)+':\x20'+formatError2(_0x566b9c)),console['error'](_0x509008(_0x2deef7._0x465116,_0x2deef7._0x1f2dec)+_0x3b5d72(_0x2deef7._0x39e8e9,_0x2deef7._0x379c47)+_0x3b5d72(_0x2deef7._0x3b995c,_0x2deef7._0x2ca96c)+_0x509008(_0x2deef7._0x213acf,0x513)+_0x3b5d72(_0x2deef7._0x1152ac,_0x2deef7._0x3915b4)+_0x3b5d72(_0x2deef7._0x2352f5,_0x2deef7._0x4ce74d)+_0x509008(0x980,_0x2deef7._0x1d6fb9)+_0x509008(_0x2deef7._0x335080,_0x2deef7._0x3227c9)),process[_0x3b5d72(0x1b4,0x251)]=0x1;}return;}if(_0x47b573[_0x3b5d72(_0x2deef7._0x8b3637,0x316)](_0x32fd1d,'refresh-'+_0x509008(0x972,0x76d))){const _0xd87bc=_0x47b573['HTltK'](readFlag,_0x138631,_0x509008(0x5f3,_0x2deef7._0x540fd0)+'e'),_0x104447=resolveGatewayAuth();if(_0x47b573[_0x509008(0x84f,0x5e0)]in _0x104447)throw new Error(_0x104447[_0x3b5d72(_0x2deef7._0x2bfb45,0x589)]);const _0x2e4b47={};_0x2e4b47['gatewayT'+_0x509008(_0x2deef7._0x2d3497,_0x2deef7._0x3d6984)]=_0x104447[_0x3b5d72(_0x2deef7._0x55e65b,_0x2deef7._0x53f096)],_0x2e4b47[_0x509008(_0x2deef7._0x4e3ce4,_0x2deef7._0x296866)+'assword']=_0x104447['password'];const _0x31cc33=await _0x47b573[_0x3b5d72(_0x2deef7._0x311dd5,0x6a2)](refreshAccessCode,_0x2e4b47),_0x1c8768=await writePairingQrPng(_0x31cc33,_0xd87bc);_0x30b095?_0x47b573[_0x3b5d72(0x600,0x770)](printJson,buildPairingJson(_0x31cc33,_0x1c8768,getServiceStatus(),_0x3b5d72(0x484,_0x2deef7._0x180e84)+'code\x20ref'+'reshed.')):_0x47b573[_0x509008(0x6e7,0x6aa)](printPairingInfo,_0x31cc33,_0x1c8768);return;}if(_0x47b573[_0x3b5d72(_0x2deef7._0x3e6d81,0x69d)](_0x32fd1d,_0x47b573['IaPal'])||_0x32fd1d===_0x3b5d72(_0x2deef7._0x499c69,0x434)){const _0x4fc53c=requirePairingConfig();_0x47b573[_0x3b5d72(0x2d5,0x4a3)](stopRuntimeProcesses);const _0x2cb416=installService();console[_0x509008(0x33d,0x530)]('Installe'+'d\x20backgr'+_0x509008(_0x2deef7._0x3154d0,0x605)+_0x3b5d72(0x2c8,0xb4)+_0x509008(_0x2deef7._0x1916f9,0x795)+'\x20'+_0x4fc53c[_0x3b5d72(_0x2deef7._0x1b1e7d,_0x2deef7._0x5cc752)+'d']+'.'),printServiceResult(null,_0x2cb416);return;}function _0x509008(_0x7ed11a,_0x1f34ec){return _0x410a57(_0x7ed11a,_0x1f34ec-_0x207d5c._0x331783);}if(_0x32fd1d===_0x509008(_0x2deef7._0x3fa5d3,_0x2deef7._0x580dbe)){const _0x539bcd=requirePairingConfig();stopRuntimeProcesses();const _0x14044d=restartService();console[_0x3b5d72(_0x2deef7._0x35bde0,_0x2deef7._0x55e8e9)]('Restarte'+'d\x20backgr'+_0x509008(0x847,_0x2deef7._0xf33ef)+_0x3b5d72(_0x2deef7._0x8d6fcb,_0x2deef7._0x5c0cf2)+_0x3b5d72(0x496,0x260)+'\x20'+_0x539bcd['gatewayI'+'d']+'.'),printServiceResult(null,_0x14044d);return;}if(_0x32fd1d==='stop'){const _0x4b7f48=_0x47b573['iCMxI'](stopService);stopRuntimeProcesses(),console['log'](_0x47b573[_0x3b5d72(_0x2deef7._0x1c4fcd,_0x2deef7._0x474579)]),printServiceResult(null,_0x4b7f48);return;}if(_0x47b573[_0x509008(0x97e,_0x2deef7._0xfebe8)](_0x32fd1d,_0x3b5d72(0x351,0x155)+'l')){const _0x300c31=uninstallService();stopRuntimeProcesses(),console[_0x3b5d72(0x231,0x1a7)](_0x47b573['hbQyn']),printServiceResult(null,_0x300c31);return;}if(_0x32fd1d===_0x509008(0x60b,0x65b)){stopRuntimeProcesses(),stopService(),deletePairingConfig(),console['log'](_0x509008(0x56d,_0x2deef7._0x2b1634)+_0x509008(_0x2deef7._0x18320c,_0x2deef7._0x30a063)+_0x509008(0x976,_0x2deef7._0x3fd5d8)+getPairingConfigPath());return;}if(_0x32fd1d===_0x47b573[_0x3b5d72(_0x2deef7._0x4755ae,-_0x2deef7._0x16d76f)]){printStatus();return;}if(_0x32fd1d===_0x47b573['bXnbt']){const _0x3ed748=Number(readFlag(_0x138631,_0x509008(0xa75,_0x2deef7._0x1f73b4))??'200'),_0x21042b=parseLookbackToMs(readFlag(_0x138631,_0x47b573['uuhsQ'])??_0x47b573['JMIGE'](readFlag,_0x138631,'-l')),_0x3a4bd7=_0x47b573['hIBpv'](readRecentCliLogs,{'lines':_0x3ed748,'lastMs':_0x21042b,'includeErrorLog':hasFlag(_0x138631,_0x3b5d72(0x2ae,0x5c))});if(_0x30b095){const _0x2f330c={};_0x2f330c['ok']=!![],_0x2f330c[_0x509008(0x754,_0x2deef7._0x321dbb)]=_0x3a4bd7,_0x47b573[_0x509008(0xa25,_0x2deef7._0x20c97f)](printJson,_0x2f330c);}else _0x3a4bd7[_0x509008(0x404,0x54c)]===0x0?console[_0x3b5d72(0x231,0x2de)](_0x509008(_0x2deef7._0x3a15a2,_0x2deef7._0x5bbb82)+_0x3b5d72(_0x2deef7._0x16d4f3,0x645)+_0x509008(0x4fc,_0x2deef7._0x19b589)+'nd.'):console[_0x509008(0x513,_0x2deef7._0x4d5d90)](_0x3a4bd7[_0x509008(0x7f5,0x611)]('\x0a'));return;}if(_0x32fd1d===_0x509008(_0x2deef7._0x2ff7c6,_0x2deef7._0x130fb9)){const _0x2f266a=await buildDoctorReport();_0x30b095?printJson(_0x2f266a):printDoctorReport(_0x2f266a);return;}function _0x3b5d72(_0x303b10,_0x8216e4){return _0x410a57(_0x8216e4,_0x303b10-0x328);}if(_0x32fd1d===_0x509008(0x42d,_0x2deef7._0x4665b0)){const _0x439778=_0x47b573[_0x509008(0x56d,_0x2deef7._0x288f77)](requirePairingConfig),_0x2e7d48=hasFlag(_0x138631,'--replac'+'e'),_0xef9519=_0x47b573[_0x3b5d72(0x4c8,0x6c5)](listRuntimeProcesses)['map'](_0x40cf0b=>_0x40cf0b[_0x509008(0x601,0x7e3)]);_0xef9519[_0x3b5d72(0x24d,_0x2deef7._0x278288)]>0x0&&(!_0x2e7d48&&(console[_0x3b5d72(0x59c,0x375)](_0x509008(_0x2deef7._0x55df49,_0x2deef7._0x1923ff)+_0x3b5d72(_0x2deef7._0x46e43f,0x53a)+_0x509008(0x98b,_0x2deef7._0x2eb2aa)+_0x509008(0x80a,_0x2deef7._0x509b4c)+_0x3b5d72(0x44d,_0x2deef7._0x40afc6)+_0x509008(_0x2deef7._0x533c59,_0x2deef7._0x402acb)+'g\x20(pid'+(_0xef9519[_0x3b5d72(0x24d,_0x2deef7._0x10d802)]>0x1?'s':'')+':\x20'+_0xef9519['join'](',\x20')+(').\x20Run\x20\x22'+_0x509008(_0x2deef7._0x2e7cdd,0x93c)+_0x3b5d72(_0x2deef7._0x86f781,0x2bd)+_0x509008(0x4fe,0x6c2)+'rerun\x20wi'+'th\x20\x22--re'+'place\x22\x20t'+'o\x20take\x20o'+_0x509008(0xb61,0x94a))),process[_0x3b5d72(_0x2deef7._0x39fd93,0x62a)](0x1)),stopRuntimeProcesses());const _0xd9c864=resolveGatewayUrl(readFlag(_0x138631,'--gatewa'+_0x3b5d72(_0x2deef7._0x33aff6,0x2cb))??readFlag(_0x138631,'-g')),_0x2479d3=_0x5d82fa=>{console['log']('['+Date['now']()+']\x20'+_0x5d82fa);};!_0x1e8849?(console[_0x509008(_0x2deef7._0x583eb4,_0x2deef7._0x4d5d90)](_0x3b5d72(_0x2deef7._0x189bce,0x5c5)+_0x509008(0x638,0x5e8)+_0x439778[_0x509008(_0x2deef7._0x24f8b2,0x6d8)+'d']),console[_0x3b5d72(_0x2deef7._0x34d648,_0x2deef7._0x3cf7ad)](_0x509008(0x3a0,0x5b5)+_0x509008(_0x2deef7._0x81ba34,0x8c1)+_0x439778[_0x509008(0x5c1,_0x2deef7._0x324793)+'Id']),console[_0x509008(0x4a2,0x530)](_0x509008(0xb6a,0x901)+'URL:\x20'+_0xd9c864),console[_0x3b5d72(_0x2deef7._0x183103,_0x2deef7._0x1adbd3)](''),console[_0x3b5d72(0x231,_0x2deef7._0x438f0f)](_0x509008(0x9e7,_0x2deef7._0x38c9ad)+_0x509008(_0x2deef7._0x273366,_0x2deef7._0x4e82be)+_0x3b5d72(_0x2deef7._0x773a63,0x388)+'\x20Press\x20C'+_0x509008(_0x2deef7._0x26301a,0x49d)+_0x3b5d72(0x4de,0x772)),console['log']('')):_0x2479d3('Starting'+_0x509008(0x860,_0x2deef7._0x16aa64)+_0x509008(_0x2deef7._0x5ad979,_0x2deef7._0x1f0dc6)+_0x3b5d72(0x21f,0x96)+'\x20for\x20gat'+_0x3b5d72(0x36f,0x2e7)+_0x439778[_0x3b5d72(_0x2deef7._0x4f18bf,_0x2deef7._0x3ecf2e)+'d']);_0x1e8849&&writeServiceState();const _0x3668c4=new BridgeRuntime({'config':_0x439778,'gatewayUrl':_0xd9c864,'onLog':_0x323d7c=>{const _0x35baab={_0x18b33f:0x16d};function _0x56abc5(_0x2d1bd3,_0x13d606){return _0x509008(_0x2d1bd3,_0x13d606-_0x35baab._0x18b33f);}function _0x41e57a(_0x4f84c2,_0x2a02fa){return _0x509008(_0x2a02fa,_0x4f84c2-0x4f);}_0x47b573[_0x56abc5(0xc15,0xa6f)](_0x2479d3,_0x41e57a(_0x3a71f1._0x420303,_0x3a71f1._0x7e0755)+']\x20'+_0x323d7c);},'onStatus':_0x13a1af=>{const _0x53448e={_0x136f2b:0x371};if(_0x13a1af['lastErro'+'r']){_0x2479d3('[status]'+_0x451fe9(0xa1e,_0x21aae2._0x4fc97f)+(_0x13a1af[_0x273201(_0x21aae2._0x33f8c2,0x87)+_0x273201(0x33c,_0x21aae2._0x266318)]?'up':_0x451fe9(_0x21aae2._0x5e8cf4,_0x21aae2._0x2941a0))+(_0x273201(_0x21aae2._0xa43a1e,_0x21aae2._0x29d45f)+'=')+(_0x13a1af[_0x273201(0x2c0,_0x21aae2._0x5d9675)+_0x451fe9(_0x21aae2._0x53b1c4,0x884)]?'up':_0x47b573[_0x451fe9(0x789,_0x21aae2._0x174964)])+(_0x451fe9(_0x21aae2._0x2b04a9,_0x21aae2._0x384f6e)+'=')+_0x13a1af[_0x273201(0xb4,0x18b)+_0x451fe9(_0x21aae2._0x2de23a,_0x21aae2._0x25db80)]+_0x451fe9(_0x21aae2._0x9362c2,_0x21aae2._0x35dd09)+_0x13a1af['lastErro'+'r']);return;}function _0x273201(_0x3f32ed,_0x1bba7c){return _0x3b5d72(_0x3f32ed- -0x2a2,_0x1bba7c);}function _0x451fe9(_0x51fc93,_0x4a3326){return _0x3b5d72(_0x4a3326-_0x53448e._0x136f2b,_0x51fc93);}_0x2479d3(_0x273201(0xc7,-_0x21aae2._0x68c4ea)+_0x273201(_0x21aae2._0x462100,_0x21aae2._0x42f002)+(_0x13a1af['relayCon'+_0x451fe9(0x97d,0x94f)]?'up':_0x273201(-_0x21aae2._0x3670dd,-0x17b))+(_0x451fe9(0x99e,_0x21aae2._0x25a64e)+'=')+(_0x13a1af['gatewayC'+_0x273201(_0x21aae2._0x4bd5fc,0x4c6)]?'up':'down')+(_0x273201(-0x60,-_0x21aae2._0x4e5bcd)+'=')+_0x13a1af[_0x273201(0xb4,_0x21aae2._0x9beca)+_0x451fe9(0x63f,0x709)]);},'onPendingPairRequest':_0x480609=>{const _0x3335ce={_0x240e6a:0x216};function _0x4a0839(_0x151b39,_0x49d54e){return _0x3b5d72(_0x49d54e- -_0x3335ce._0x240e6a,_0x151b39);}function _0x5417a6(_0x56ada6,_0xf71a4){return _0x3b5d72(_0xf71a4- -0x1a4,_0x56ada6);}_0x47b573[_0x5417a6(_0x28f7fa._0x7253c3,_0x28f7fa._0x1e2c7e)](_0x2479d3,_0x5417a6(_0x28f7fa._0x54dee2,_0x28f7fa._0x57e9d8)+_0x5417a6(0x1bc,_0x28f7fa._0x55dbb4)+'equestId'+'='+_0x480609[_0x4a0839(0x6bb,0x432)+'d']+(_0x5417a6(0x186,0x51)+'d=')+(_0x480609[_0x4a0839(_0x28f7fa._0x3f0a6b,0x120)]||'<unknown'+'>')+_0x5417a6(-_0x28f7fa._0x273934,0xd4)+(_0x480609[_0x5417a6(_0x28f7fa._0x42a6b8,_0x28f7fa._0x254521)+'ame']??_0x47b573[_0x5417a6(_0x28f7fa._0x5dc00b,_0x28f7fa._0x4ca767)]));}});_0x3668c4[_0x3b5d72(0x347,_0x2deef7._0x1d26f3)]();const _0x3557cb={};_0x3557cb[_0x509008(0x958,_0x2deef7._0x35a58d)+'d']=_0x439778[_0x3b5d72(_0x2deef7._0x56a2d7,0x454)+'d'],_0x3557cb[_0x3b5d72(_0x2deef7._0xaeabb1,_0x2deef7._0x2e864c)+'Id']=_0x439778['instance'+'Id'],_0x3557cb['serviceM'+_0x3b5d72(0x412,0x49d)]=_0x1e8849,registerRuntimeProcess(_0x3557cb);const _0x26f1e2=async()=>{function _0x21eb59(_0x2df661,_0xa9a6f5){return _0x3b5d72(_0xa9a6f5- -0x11d,_0x2df661);}process[_0x21eb59(_0x4f556a._0x2d9a08,_0x4f556a._0x1fc60e)](_0x21eb59(_0x4f556a._0x3409de,_0x4f556a._0x2c9a32),_0x26f1e2),process[_0x21eb59(_0x4f556a._0x2886d9,_0x4f556a._0x48b09b)](_0x21eb59(0x394,0x410),_0x26f1e2),await _0x3668c4[_0x21eb59(_0x4f556a._0x11b0a0,_0x4f556a._0x3ce759)](),unregisterRuntimeProcess(process[_0x21eb59(0x473,0x3c7)]);_0x1e8849&&_0x47b573[_0x5b9eb1(0x2e4,_0x4f556a._0x54de6a)](clearServiceState,process[_0x21eb59(0x35a,0x3c7)]);function _0x5b9eb1(_0x54d492,_0x598ba4){return _0x3b5d72(_0x598ba4-0x312,_0x54d492);}process[_0x21eb59(0x492,_0x4f556a._0x52bc04)](0x0);};process['on'](_0x3b5d72(0x549,_0x2deef7._0x5b840d),_0x26f1e2),process['on'](_0x509008(_0x2deef7._0x12d816,_0x2deef7._0x5a12ef),_0x26f1e2),await new Promise(()=>{});}_0x47b573[_0x509008(0xa98,0x927)](printHelp);}function printPairingInfo(_0x364ed1,_0x4b592e){const _0x5cd6b5={_0x417b99:0x3a7,_0x3f8de8:0x4df,_0x45adce:0x7bf,_0xfc8be:0x76c,_0x2ebd4b:0x64c,_0x18d6ed:0x2cc,_0x252e5c:0x4ea,_0x3bb099:0xa44,_0x1c6ae9:0x860,_0x3092a1:0x547,_0x4ebbce:0x4cf,_0x4c8f51:0x774,_0x4f57e5:0x601,_0x306f9d:0x623,_0x44c73a:0x43c,_0x34a282:0x48f,_0x42e996:0xa8d,_0x1f39f5:0x8b8,_0x130543:0x50a,_0x31967a:0x334,_0x44fcc4:0x4ea,_0x32abce:0x606};_0x364ed1[_0x152687(0x45b,_0x5cd6b5._0x417b99)]===_0x152687(0x370,0x3ba)+'d'&&console[_0x22dacc(_0x5cd6b5._0x3f8de8,0x4ea)]('Bridge\x20a'+_0x152687(_0x5cd6b5._0x45adce,0x68b)+_0x22dacc(_0x5cd6b5._0xfc8be,_0x5cd6b5._0x2ebd4b)+'efreshed'+'\x20the\x20pai'+_0x152687(_0x5cd6b5._0x18d6ed,0x3c9)+'e.');function _0x22dacc(_0xfbe788,_0x19a198){return _0x2420cb(_0x19a198- -0xef,_0xfbe788);}console[_0x22dacc(0x49c,_0x5cd6b5._0x252e5c)](_0x152687(_0x5cd6b5._0x3bb099,_0x5cd6b5._0x1c6ae9)+_0x152687(0x510,_0x5cd6b5._0x3092a1)+_0x364ed1[_0x152687(0x4c9,_0x5cd6b5._0x4ebbce)][_0x22dacc(0x74c,0x692)+'d']);function _0x152687(_0x487ee7,_0x4d0914){return _0x2420cb(_0x4d0914- -0x14a,_0x487ee7);}console[_0x22dacc(0x2f8,_0x5cd6b5._0x252e5c)]('\x0aScan\x20th'+'is\x20QR\x20co'+'de\x20in\x20th'+_0x152687(_0x5cd6b5._0x4c8f51,_0x5cd6b5._0x4f57e5)+'t\x20app:\x0a');const _0x1b243f={};_0x1b243f[_0x152687(0x4d6,0x466)]=!![],_0x15072f['generate'](_0x364ed1[_0x22dacc(_0x5cd6b5._0x306f9d,_0x5cd6b5._0x44c73a)+'d'],_0x1b243f),console[_0x152687(0x210,_0x5cd6b5._0x34a282)](_0x152687(0x211,0x4a6)+'\x20'+formatLocalTime(_0x364ed1['accessCo'+_0x22dacc(_0x5cd6b5._0x42e996,_0x5cd6b5._0x1f39f5)+_0x22dacc(_0x5cd6b5._0x130543,0x5d2)])),console[_0x22dacc(_0x5cd6b5._0x31967a,_0x5cd6b5._0x44fcc4)](_0x152687(0x669,_0x5cd6b5._0x32abce)+':\x20'+_0x4b592e);}function printLocalPairingInfo(_0x9286aa,_0x17de9b,_0x580e84,_0x18ab54,_0x3a8a2b,_0x1e5e04){const _0x1077c7={_0x472f63:0x12a,_0x195c6d:0x3d2,_0x34b283:0x10d,_0x1b314d:0x32,_0x1f49ba:0x24f,_0x4164ee:0x3c2,_0x3332f2:0x409,_0x36549:0x426,_0x41b0e2:0x3a0,_0x3a845e:0x50f,_0x2f4091:0x11f,_0x20f53f:0x4ca,_0x185b5e:0x7f,_0x49b6a3:0x282,_0x2082d4:0x4a3,_0x36d8b2:0x5d8,_0x2dbfec:0x67,_0x117dde:0x94,_0x93ad16:0x415,_0x58237c:0x2a1,_0x439d6f:0x387},_0x8aa94e={_0x2aee4e:0x38a},_0xb0c2ba={_0x36176c:0x4af};function _0x4444ab(_0x307183,_0x51a82f){return _0x2420cb(_0x307183- -_0xb0c2ba._0x36176c,_0x51a82f);}console[_0x4444ab(_0x1077c7._0x472f63,0xbf)]('Gateway\x20'+_0x4083f0(_0x1077c7._0x195c6d,0x36a)+_0x9286aa),console[_0x4444ab(0x12a,-_0x1077c7._0x34b283)]('Auth\x20mod'+_0x4444ab(_0x1077c7._0x1b314d,-0x1fd)+_0x17de9b),console[_0x4083f0(0x25d,_0x1077c7._0x1f49ba)](_0x1e5e04?'\x0aScan\x20th'+_0x4083f0(0x1fc,_0x1077c7._0x4164ee)+_0x4444ab(_0x1077c7._0x3332f2,_0x1077c7._0x36549)+_0x4444ab(0x1ee,0x426)+'the\x20Claw'+_0x4444ab(0x2ad,_0x1077c7._0x41b0e2)+'\x0a':'\x0aScan\x20th'+_0x4444ab(_0x1077c7._0x3a845e,0x295)+_0x4444ab(0x38f,_0x1077c7._0x2f4091)+_0x4444ab(0x47a,_0x1077c7._0x20f53f)+_0x4444ab(0x1d9,-_0x1077c7._0x185b5e)+_0x4444ab(_0x1077c7._0x49b6a3,0x134));const _0x49d230={};_0x49d230[_0x4083f0(0x4d,0x226)]=!![],_0x15072f[_0x4444ab(_0x1077c7._0x2082d4,_0x1077c7._0x36d8b2)](_0x18ab54,_0x49d230),console[_0x4444ab(0x12a,-_0x1077c7._0x2dbfec)](_0x4444ab(0x141,-_0x1077c7._0x117dde)+'\x20'+new Date(_0x580e84)[_0x4444ab(_0x1077c7._0x93ad16,0x600)+_0x4083f0(0xc4,0x271)]());function _0x4083f0(_0x432eb0,_0x4aed6d){return _0x2420cb(_0x4aed6d- -_0x8aa94e._0x2aee4e,_0x432eb0);}console[_0x4083f0(0x3f6,0x24f)](_0x4444ab(_0x1077c7._0x58237c,_0x1077c7._0x439d6f)+':\x20'+_0x3a8a2b);}function printStatus(){const _0x4d3048={_0x218fe8:0x6ce,_0x2c1766:0x2fa,_0x4546c3:0x253,_0x45e0fb:0x445,_0x5b0ef0:0x4d2,_0xced31:0x3e8,_0x68481d:0x528,_0x464fd4:0x691,_0x498756:0x9,_0x51755d:0x178,_0x443a3a:0x1d,_0x47193b:0x3e,_0xf60845:0x8f9,_0x571443:0x96,_0x791bf6:0xf6,_0xdf7866:0x1dc,_0x4172f4:0x1a1,_0x5b9a8d:0x2e9,_0xa837fc:0x9a,_0x531092:0x3e,_0x26e147:0x5e1,_0x5af744:0x17c,_0x341922:0x229,_0x223f79:0x12e,_0x53b34d:0x7b,_0x4f94bc:0x662,_0x53d302:0x7e4,_0x421ea5:0x985,_0x21e166:0x258,_0x4cc525:0x35,_0x4bbba3:0x46c,_0x13209f:0xa61,_0x2c05c5:0x916,_0x254286:0x410,_0x2cace0:0x8eb,_0x275846:0x12b,_0x149b00:0x68,_0x47d752:0x511,_0x4a35df:0x3bd,_0x460f43:0xdf},_0x38cbcd={_0x5bc647:0x59b},_0x44471b={_0x559b8c:0xb1},_0x2d5ace={'lBqdU':function(_0x57b91e){return _0x57b91e();},'JXVIG':_0x49daf6(0x59e,_0x4d3048._0x218fe8)+'2','TDnuK':_0x20359e(0x117,_0x4d3048._0x2c1766)+'d'},_0x4a5d40=readPairingConfig(),_0x558885=getServiceStatus(),{logPath:_0x490ee0,errorLogPath:_0x263332}=getServicePaths(),_0x25eb94=_0x2d5ace[_0x20359e(_0x4d3048._0x4546c3,_0x4d3048._0x45e0fb)](readCliVersion);console['log'](_0x49daf6(0x23b,_0x4d3048._0x5b0ef0)+'\x20'+_0x25eb94);if(!_0x4a5d40)console[_0x49daf6(_0x4d3048._0xced31,_0x4d3048._0x68481d)](_0x49daf6(_0x4d3048._0x464fd4,0x5e1)+_0x20359e(-_0x4d3048._0x498756,_0x4d3048._0x51755d)+'ed\x20('+getPairingConfigPath()+')');else{const _0x389c14=_0x2d5ace['JXVIG']['split']('|');let _0x3c6dcd=0x0;while(!![]){switch(_0x389c14[_0x3c6dcd++]){case'0':console[_0x20359e(-_0x4d3048._0x443a3a,_0x4d3048._0x47193b)](_0x49daf6(0x8df,_0x4d3048._0xf60845)+_0x20359e(-_0x4d3048._0x571443,_0x4d3048._0x791bf6)+_0x4a5d40['gatewayI'+'d']);continue;case'1':console[_0x20359e(0x1b7,_0x4d3048._0x47193b)](_0x20359e(0x1c2,_0x4d3048._0xdf7866)+_0x20359e(_0x4d3048._0x4172f4,_0x4d3048._0x5b9a8d)+_0x4a5d40[_0x20359e(0xfb,0x233)+'l']);continue;case'2':console[_0x20359e(-_0x4d3048._0xa837fc,_0x4d3048._0x531092)]('Name:\x20'+(_0x4a5d40[_0x49daf6(0xb49,0x92e)+'ame']??'-'));continue;case'3':console['log'](_0x49daf6(0x560,_0x4d3048._0x26e147)+'paired');continue;case'4':console[_0x20359e(_0x4d3048._0x5af744,0x3e)]('Instance'+':\x20'+_0x4a5d40['instance'+'Id']);continue;}break;}}console[_0x49daf6(0x442,0x528)](_0x49daf6(0x785,0x50e)+'\x20'+resolveGatewayUrl()),console[_0x20359e(-_0x4d3048._0x341922,0x3e)](_0x20359e(_0x4d3048._0x223f79,_0x4d3048._0x53b34d)+'\x20'+(_0x558885[_0x49daf6(_0x4d3048._0x4f94bc,_0x4d3048._0x53d302)+'d']?_0x2d5ace[_0x49daf6(_0x4d3048._0x421ea5,0x7d9)]:_0x49daf6(0x7be,0x5be)+'alled')+'\x20('+_0x558885[_0x20359e(_0x4d3048._0x21e166,-_0x4d3048._0x4cc525)]+')'),console['log'](_0x49daf6(_0x4d3048._0x4bbba3,0x570)+'\x20'+(_0x558885[_0x49daf6(_0x4d3048._0x13209f,_0x4d3048._0x2c05c5)]?_0x20359e(_0x4d3048._0x254286,_0x4d3048._0x341922):'no')),console[_0x20359e(-0x112,0x3e)](_0x49daf6(_0x4d3048._0x2cace0,0x8cf)+(_0x558885[_0x20359e(_0x4d3048._0x275846,-_0x4d3048._0x149b00)+_0x20359e(_0x4d3048._0x47d752,_0x4d3048._0x4a35df)]||'-'));function _0x49daf6(_0x106642,_0x682cc1){return _0x2420cb(_0x682cc1- -_0x44471b._0x559b8c,_0x106642);}console[_0x20359e(-_0x4d3048._0x460f43,0x3e)]('Log:\x20'+_0x490ee0);function _0x20359e(_0x3bfa94,_0x29f8c5){return _0x2420cb(_0x29f8c5- -_0x38cbcd._0x5bc647,_0x3bfa94);}console[_0x20359e(-0xbf,0x3e)](_0x49daf6(0x83a,0x72f)+'g:\x20'+_0x263332),!_0x4a5d40&&(process['exitCode']=0x1);}function printServiceResult(_0x15b97c,_0x22c614){const _0x282bfd={_0x2d34f5:0x6e,_0x4ce8c8:0x227,_0x28ac41:0x257,_0x20bb3c:0x46d,_0x91fde9:0x512,_0x490203:0x6bc,_0x3ed8fe:0x90,_0xc8cc46:0x116,_0x64cf9b:0x153,_0x205a2f:0x7ce,_0x19a6a8:0x655,_0x3830aa:0x504,_0xbe470:0x623,_0x271b44:0x3d2,_0x10c633:0x6cf,_0x47b104:0x4cc,_0x36c1bb:0x55d,_0xa3a8cc:0x70},_0x379cd0={_0x1b6caf:0x4c3},_0x28f6ff={_0x39c73a:0xc7};function _0x1d4cdc(_0x45c2c2,_0x5e9d7b){return _0x2420cb(_0x45c2c2- -_0x28f6ff._0x39c73a,_0x5e9d7b);}function _0x1d392a(_0x2006e1,_0x146498){return _0x2420cb(_0x146498- -_0x379cd0._0x1b6caf,_0x2006e1);}const _0x52268e={};_0x52268e[_0x1d392a(_0x282bfd._0x2d34f5,_0x282bfd._0x4ce8c8)]=_0x1d392a(_0x282bfd._0x28ac41,0x3d2)+_0x1d4cdc(_0x282bfd._0x20bb3c,0x1ed)+'ng';const _0x11f121=_0x52268e;_0x15b97c&&console[_0x1d4cdc(_0x282bfd._0x91fde9,_0x282bfd._0x490203)](_0x15b97c),console[_0x1d392a(-_0x282bfd._0x3ed8fe,_0x282bfd._0xc8cc46)](_0x1d392a(0x29d,_0x282bfd._0x64cf9b)+'\x20'+(_0x22c614[_0x1d4cdc(_0x282bfd._0x205a2f,0x8e5)+'d']?_0x22c614[_0x1d392a(_0x282bfd._0x19a6a8,_0x282bfd._0x3830aa)]?_0x11f121[_0x1d4cdc(_0x282bfd._0xbe470,0x4fd)]:_0x1d392a(0x14b,_0x282bfd._0x271b44)+_0x1d4cdc(_0x282bfd._0x10c633,0x8f9)+'ed':'not\x20inst'+_0x1d392a(0x1fe,0x3c6))),console['log'](_0x1d4cdc(_0x282bfd._0x47b104,_0x282bfd._0x36c1bb)+'path:\x20'+(_0x22c614[_0x1d392a(0x3,_0x282bfd._0xa3a8cc)+'ath']||'-'));}function printDoctorReport(_0x231eab){const _0x47c819={_0x4557a6:0x44,_0x37e5c7:0x35f,_0x2b3843:0x1ec,_0x18796b:0x5f,_0x59f815:0x1aa,_0x4a985c:0x132,_0x1c2a93:0xe0,_0xa8f070:0xae,_0x5a5835:0x236,_0xbc243b:0x159,_0x1934ca:0x3a1,_0x359bb0:0x1a0,_0x4f75bf:0x147,_0x24ca47:0x2d,_0x175f1a:0x36,_0x547aed:0x2df,_0x2312e6:0x2ae,_0x5be404:0x373,_0x2a5481:0x193,_0x2b14fe:0x7b,_0x23e0b1:0x1b1,_0xb1366:0x3d7,_0x3e8d57:0xbd,_0x5472ee:0x33c,_0x3628a9:0x367,_0x2a5679:0x200,_0x64e446:0x265,_0x5c37ad:0x1e1,_0x541f27:0x31e,_0x31ee9d:0x75,_0x46a09f:0x2b4,_0x57d1bf:0x12b,_0x2e182f:0x1b1,_0x5d9815:0x10b,_0x5c084b:0x18c,_0x5dc309:0x1d3,_0x4ff441:0x198,_0xef3597:0x2d3,_0x4dcf87:0x283,_0x5edcf0:0x205,_0x2de7d6:0x140,_0x2b79ea:0x66,_0x39cd0e:0x65,_0x57a5cf:0xa,_0x199b59:0x2dc,_0x1aa080:0x133,_0x5f1e42:0x263,_0x48b8ec:0x340,_0x2d8679:0x40,_0x2c0a4f:0x73,_0xbe4ac4:0x4,_0x570617:0xe3,_0x356223:0x1da,_0x5a670f:0xf8,_0x5c1a56:0x12c,_0x28875f:0x325,_0x5d2d6e:0x88,_0x243d9a:0x97,_0x1c82cd:0x257},_0x537dba={_0x4e8524:0x6e4},_0x10d8e2={};_0x10d8e2[_0x18b33e(_0x47c819._0x4557a6,0x106)]=_0x3c704a(_0x47c819._0x37e5c7,0x1b1)+'d',_0x10d8e2[_0x18b33e(0x33c,0x3b5)]=_0x18b33e(0x8c,0x1b0)+'alled';const _0x527e16=_0x10d8e2;console[_0x18b33e(-0xa,_0x47c819._0x2b3843)](_0x3c704a(_0x47c819._0x18796b,_0x47c819._0x59f815)+(_0x231eab[_0x18b33e(0xc6,_0x47c819._0x4a985c)]?_0x3c704a(-0x104,_0x47c819._0x1c2a93):'no')),console['log'](_0x18b33e(0x3c7,0x1c7)+_0x18b33e(_0x47c819._0xa8f070,0x1dd)+(_0x231eab[_0x18b33e(0x19e,_0x47c819._0x5a5835)+'d']??'-')),console[_0x3c704a(-_0x47c819._0xbc243b,-0x10b)](_0x18b33e(0x194,0x374)+_0x3c704a(_0x47c819._0x1934ca,_0x47c819._0x359bb0)+(_0x231eab[_0x18b33e(0x1eb,_0x47c819._0x4f75bf)+'l']??'-')),console[_0x3c704a(-_0x47c819._0x24ca47,-0x10b)](_0x18b33e(0x219,-_0x47c819._0x175f1a)+_0x18b33e(_0x47c819._0x547aed,_0x47c819._0x2312e6)+(_0x231eab[_0x3c704a(-_0x47c819._0x5be404,-_0x47c819._0x2a5481)]??'-')),console['log'](_0x18b33e(_0x47c819._0x2b14fe,0xc7)+_0x3c704a(0x1c3,0x286)+(_0x231eab['instance'+'Id']??'-')),console[_0x18b33e(-0xa,-0x293)](_0x18b33e(0x33,-_0x47c819._0x23e0b1)+'\x20'+(_0x231eab[_0x3c704a(-_0x47c819._0xb1366,-0x16e)+_0x3c704a(0x315,0x199)]?_0x527e16[_0x3c704a(0x166,-_0x47c819._0x3e8d57)]:_0x527e16[_0x18b33e(_0x47c819._0x5472ee,_0x47c819._0x3628a9)])+'\x20('+_0x231eab['serviceM'+_0x18b33e(_0x47c819._0x2a5679,0x9a)]+')'),console['log'](_0x3c704a(-0x38c,-0x151)+'running:'+'\x20'+(_0x231eab[_0x18b33e(-0x18,-_0x47c819._0x64e446)+_0x3c704a(0x1d,-0x79)]?_0x18b33e(_0x47c819._0x5c37ad,0x449):'no')),console[_0x3c704a(-_0x47c819._0x541f27,-0x10b)](_0x3c704a(-_0x47c819._0x31ee9d,-0x151)+_0x3c704a(_0x47c819._0x46a09f,_0x47c819._0x57d1bf)+(_0x231eab[_0x3c704a(-0x269,-_0x47c819._0x2e182f)+'ath']||'-')),console[_0x3c704a(-0x16,-_0x47c819._0x5d9815)](_0x3c704a(-0x1d,0x79)+':\x20'+_0x231eab[_0x18b33e(_0x47c819._0x5c084b,0x2d6)]),console[_0x18b33e(-0xa,-_0x47c819._0x5dc309)](_0x3c704a(0x64,_0x47c819._0x4ff441)+_0x18b33e(_0x47c819._0xef3597,0x3c1)+_0x231eab[_0x3c704a(0x425,_0x47c819._0x4dcf87)+'Path']),console[_0x3c704a(-0x65,-0x10b)]('OpenClaw'+_0x3c704a(-_0x47c819._0x5edcf0,0x56)+_0x231eab[_0x3c704a(0x33,-_0x47c819._0x2de7d6)+_0x3c704a(_0x47c819._0x2b79ea,_0x47c819._0x39cd0e)+'r']),console[_0x18b33e(-_0x47c819._0x57a5cf,0x24a)](_0x18b33e(0x263,0x291)+_0x3c704a(_0x47c819._0x199b59,0x1f4)+_0x231eab[_0x3c704a(0xfa,-_0x47c819._0x2de7d6)+'MediaDir']),console[_0x3c704a(-_0x47c819._0x1aa080,-_0x47c819._0x5d9815)](_0x18b33e(_0x47c819._0x5f1e42,_0x47c819._0x48b8ec)+'\x20config:'+'\x20'+(_0x231eab[_0x18b33e(-0x3f,0x116)+_0x3c704a(_0x47c819._0x2d8679,_0x47c819._0x2c0a4f)+_0x18b33e(0x5c,0x164)]?_0x3c704a(-_0x47c819._0xbe4ac4,0x246):'missing'));function _0x3c704a(_0x2519f2,_0x3e01a9){return _0x2420cb(_0x3e01a9- -_0x537dba._0x4e8524,_0x2519f2);}console[_0x3c704a(-0x284,-0x10b)](_0x3c704a(0x2b8,0x162)+_0x3c704a(-_0x47c819._0x570617,-_0x47c819._0x356223)+(_0x231eab[_0x3c704a(-_0x47c819._0x5a670f,-0x140)+_0x3c704a(0x15e,-_0x47c819._0x5c1a56)+'nd']?_0x18b33e(0x347,0x4e3):_0x3c704a(0x463,_0x47c819._0x28875f)));function _0x18b33e(_0x133caa,_0x545e50){return _0x2420cb(_0x133caa- -0x5e3,_0x545e50);}console[_0x18b33e(-0xa,0x1fb)](_0x18b33e(0x3c7,0x14d)+_0x18b33e(0x111,0xb4)+_0x231eab['localGat'+_0x18b33e(-_0x47c819._0x5d2d6e,-0x1e)]),console[_0x18b33e(-_0x47c819._0x57a5cf,-0x14e)]('Gateway\x20'+'reachabl'+'e:\x20'+(_0x231eab['localGat'+_0x3c704a(-0x247,-_0x47c819._0x243d9a)+_0x18b33e(-0xae,-0x13)]?_0x3c704a(_0x47c819._0x1c82cd,0xe0):'no'));}function requirePairingConfig(){const _0x138605={_0x9ab64f:0x6d0,_0x108b50:0x649,_0x5b207a:0x400,_0x354718:0x88f,_0x4b2cfb:0x60c,_0x38fbda:0x839,_0x2632ad:0x7e9,_0x1521ea:0x9a1,_0x178f88:0xaa4},_0x3b7663={_0xb1b75c:0x274};function _0x4fb29d(_0xb8a179,_0x1c3964){return _0x2420cb(_0x1c3964- -_0x3b7663._0xb1b75c,_0xb8a179);}const _0x43a815=readPairingConfig();function _0x32e58c(_0x48847c,_0x2258a9){return _0x2420cb(_0x48847c-0xdb,_0x2258a9);}return!_0x43a815&&(console[_0x4fb29d(0x8fa,_0x138605._0x9ab64f)]('Not\x20pair'+_0x32e58c(0x77e,0x7de)+_0x32e58c(0x800,_0x138605._0x108b50)+'\x20pair\x22\x20f'+_0x4fb29d(0x35d,_0x138605._0x5b207a)+_0x32e58c(_0x138605._0x354718,_0x138605._0x4b2cfb)+_0x32e58c(_0x138605._0x38fbda,_0x138605._0x2632ad)+getPairingConfigPath()),process[_0x32e58c(_0x138605._0x1521ea,_0x138605._0x178f88)](0x1)),_0x43a815;}function readFlag(_0x3f6d70,_0x44b0bd){const _0x28e278={_0xc90e45:0x11,_0x24eca8:0x1fd,_0x547702:0x104},_0x162330=_0x3f6d70['indexOf'](_0x44b0bd);function _0x675aec(_0x2eb6dd,_0x408639){return _0x410a57(_0x2eb6dd,_0x408639-0x23);}if(_0x162330<0x0)return null;function _0x5793dd(_0x32c621,_0x352062){return _0x410a57(_0x352062,_0x32c621-0x138);}const _0x129088=_0x3f6d70[_0x162330+0x1];return _0x129088?.[_0x5793dd(_0x28e278._0xc90e45,_0x28e278._0x24eca8)]()?_0x129088[_0x675aec(-0x353,-_0x28e278._0x547702)]():null;}function hasFlag(_0x334d8f,_0x3ccbcc){const _0x3dd141={_0x3c1244:0x977};function _0x2fe5d7(_0x263f2c,_0x45847f){return _0x2420cb(_0x263f2c-0x98,_0x45847f);}return _0x334d8f[_0x2fe5d7(_0x3dd141._0x3c1244,0x9a4)](_0x3ccbcc);}function readPairSubcommand(_0x4f47df){const _0x22502f={_0x270391:0x4e3,_0x425ebd:0x553,_0x3fd0d0:0x503},_0xafbcbf={_0xabf691:0x57e};for(const _0x120cba of _0x4f47df){if(!_0x120cba[_0x473a0d(_0x22502f._0x270391,_0x22502f._0x425ebd)+'th']('-'))return _0x120cba[_0x473a0d(0x457,_0x22502f._0x3fd0d0)]()||null;}function _0x473a0d(_0x3d4e06,_0x1c5708){return _0x410a57(_0x1c5708,_0x3d4e06-_0xafbcbf._0xabf691);}function _0x524855(_0x2c3387,_0xdf4fdb){return _0x410a57(_0xdf4fdb,_0x2c3387- -0x1c);}return null;}function printHelp(){const _0x42270e={_0x2feedd:0x909,_0x4f9af5:0x71f,_0x54848f:0x6f6,_0x421650:0x4b0,_0x48e224:0xbcc,_0x5789ee:0x9ec,_0x345084:0x522,_0x4f9f03:0x5e0,_0x2810de:0x839,_0x3fafe5:0x966,_0x25dffa:0x69a,_0x150381:0x4f2,_0x4293c6:0x6cc,_0x56d109:0x835,_0x2c9233:0x4dd,_0x36f26b:0xad1,_0x5ed742:0x9f5,_0x12fb5e:0x59d,_0x3097a9:0x581,_0x22a8e9:0x3f3,_0x147aba:0xa5f,_0x39dc89:0x43b,_0x145846:0x525,_0x45dd73:0x8f2,_0x3699bd:0x668,_0x4011b2:0x7d9,_0x563f48:0xa5a,_0x270d4e:0x97e,_0x1da773:0x512,_0x1fd5c4:0x911,_0x220f7f:0x985,_0x20c272:0x644,_0x2e2d81:0x742,_0x5d9db6:0x555,_0x17ae1d:0x741,_0x5aeb0e:0x7ac,_0x2a293d:0x80a,_0x4a1dc1:0x45e,_0x141fb8:0x613,_0x520d96:0x9a9,_0x5bb543:0x4b0,_0x11315a:0x6a1,_0x106791:0x909,_0x1bb086:0x849,_0x5b5dd4:0x8af,_0x55f3b5:0x765,_0x22d849:0xad4,_0x3487dc:0x909,_0x16814c:0xb51,_0x42ab2f:0x819,_0x16585b:0x769,_0x1057e0:0x892,_0x365798:0x5f9,_0x34f786:0x687,_0x508e8f:0x5de,_0x48401e:0x6a6},_0x7da4e0={_0x5bfaf9:0x7},_0x252738={_0x1df9aa:0xdc},_0x4f5daa={};_0x4f5daa[_0x32fc00(0x9b2,0x821)]=_0x5a15ac(_0x42270e._0x2feedd,_0x42270e._0x4f9af5)+_0x32fc00(_0x42270e._0x54848f,0x6bb),_0x4f5daa[_0x5a15ac(_0x42270e._0x421650,0x734)]=_0x32fc00(_0x42270e._0x48e224,_0x42270e._0x5789ee)+'stop',_0x4f5daa[_0x5a15ac(0x73f,0x9d0)]='clawket\x20'+_0x5a15ac(0x628,0x499);function _0x5a15ac(_0x41b614,_0x57be1e){return _0x2420cb(_0x41b614- -_0x252738._0x1df9aa,_0x57be1e);}const _0x175d74=_0x4f5daa;function _0x32fc00(_0x5e7295,_0x56ede2){return _0x2420cb(_0x56ede2-_0x7da4e0._0x5bfaf9,_0x5e7295);}console[_0x32fc00(_0x42270e._0x345084,_0x42270e._0x4f9f03)](['clawket\x20'+'pair\x20[--'+_0x32fc00(_0x42270e._0x2810de,_0x42270e._0x3fafe5)+_0x5a15ac(_0x42270e._0x25dffa,_0x42270e._0x150381)+_0x32fc00(0x5ce,0x6b6)+_0x32fc00(_0x42270e._0x4293c6,_0x42270e._0x56d109)+_0x5a15ac(_0x42270e._0x2c9233,0x606)+_0x32fc00(_0x42270e._0x36f26b,_0x42270e._0x5ed742)+'<path>]\x20'+_0x32fc00(_0x42270e._0x12fb5e,_0x42270e._0x3097a9)+'\x20[--forc'+'e]','clawket\x20'+_0x32fc00(_0x42270e._0x22a8e9,0x666)+_0x5a15ac(0x8bd,_0x42270e._0x147aba)+_0x32fc00(_0x42270e._0x39dc89,_0x42270e._0x145846)+_0x5a15ac(_0x42270e._0x45dd73,0x99e)+_0x5a15ac(0x70e,_0x42270e._0x3699bd)+_0x5a15ac(_0x42270e._0x4011b2,0x8b7)+_0x32fc00(0x717,0x62c)+'--json]',_0x5a15ac(0x909,_0x42270e._0x563f48)+'pair\x20--l'+_0x32fc00(0x9f8,_0x42270e._0x270d4e)+_0x5a15ac(0x694,_0x42270e._0x1da773)+_0x5a15ac(_0x42270e._0x1fd5c4,_0x42270e._0x220f7f)+_0x5a15ac(_0x42270e._0x20c272,_0x42270e._0x2e2d81)+_0x5a15ac(_0x42270e._0x5d9db6,0x3d0)+_0x5a15ac(0x6d5,0x4dd)+_0x5a15ac(_0x42270e._0x17ae1d,0x71f)+']',_0x5a15ac(_0x42270e._0x2feedd,_0x42270e._0x5aeb0e)+_0x5a15ac(0x5b9,0x4bb)+_0x5a15ac(_0x42270e._0x2a293d,0x62f)+'qr-file\x20'+_0x32fc00(_0x42270e._0x4a1dc1,0x624)+_0x5a15ac(0x49e,0x424),_0x5a15ac(0x909,0xb64)+_0x5a15ac(_0x42270e._0x141fb8,0x5d3),_0x175d74[_0x32fc00(0xa58,0x821)],'clawket\x20'+_0x32fc00(0x83a,_0x42270e._0x520d96),_0x175d74[_0x5a15ac(_0x42270e._0x5bb543,_0x42270e._0x11315a)],_0x5a15ac(_0x42270e._0x106791,_0x42270e._0x1bb086)+_0x5a15ac(0x61d,_0x42270e._0x5b5dd4)+'l',_0x175d74[_0x32fc00(0x801,0x822)],_0x5a15ac(_0x42270e._0x106791,_0x42270e._0x55f3b5)+_0x32fc00(_0x42270e._0x22d849,0x983),_0x5a15ac(_0x42270e._0x3487dc,_0x42270e._0x16814c)+'logs\x20[--'+_0x5a15ac(0x427,0x282)+_0x5a15ac(0x90f,0x7de)+_0x32fc00(0x471,0x538)+_0x5a15ac(0x61a,0x4fb)+'rors]\x20[-'+_0x32fc00(0x6e4,_0x42270e._0x42ab2f),_0x32fc00(0xa01,0x9ec)+_0x32fc00(_0x42270e._0x16585b,_0x42270e._0x1057e0)+'--json]',_0x5a15ac(0x909,0x891)+_0x32fc00(0x4c2,0x62f)+_0x5a15ac(_0x42270e._0x365798,_0x42270e._0x34f786)+_0x5a15ac(0x5be,0x575)+_0x5a15ac(0x711,_0x42270e._0x2810de)+'.1:18789'+_0x5a15ac(0x918,0x993)+'place]'][_0x5a15ac(_0x42270e._0x508e8f,_0x42270e._0x48401e)]('\x0a'));}function buildUnsupportedAutostartMessage(_0x535fd2){const _0x96bd5e={_0x6dbfb6:0x8a0,_0x2542f2:0x632,_0x25f0f9:0x860,_0xc26d1:0x7da,_0x3fe40f:0x2b9,_0x1cf563:0x711,_0x4edacf:0x478,_0xa8182e:0x615,_0x547a00:0x502,_0x55a0ad:0x795,_0x150f4e:0x542,_0x425aea:0x3b4,_0x3373cf:0x30c,_0x171705:0x35d,_0x2c50d4:0x347,_0x847947:0x426,_0x4bfe16:0x1b8,_0x5b98f7:0x3f7,_0x8226f3:0xbd,_0x46c914:0x131,_0x1e0d90:0x61b,_0x24f2a6:0x324,_0x29026d:0x14d,_0xd8f9fe:0x7f1,_0x43380b:0x85e,_0x4b99ee:0x730},_0x5e1788={_0x21064b:0x46e};function _0xbc1ad(_0x21b106,_0x1b1b33){return _0x2420cb(_0x21b106- -0x127,_0x1b1b33);}function _0x34e4cd(_0x57c874,_0x5c96fd){return _0x2420cb(_0x5c96fd- -_0x5e1788._0x21064b,_0x57c874);}if(_0x535fd2[_0xbc1ad(_0x96bd5e._0x6dbfb6,0x8eb)])return _0xbc1ad(0x7a0,_0x96bd5e._0x2542f2)+'the\x20brid'+'ge\x20runti'+_0x34e4cd(0x35e,0x32e)+_0xbc1ad(_0x96bd5e._0x25f0f9,_0x96bd5e._0xc26d1)+'t\x20does\x20n'+'ot\x20suppo'+_0x34e4cd(0x186,_0x96bd5e._0x3fe40f)+_0xbc1ad(0x50f,_0x96bd5e._0x1cf563)+'rtup\x20reg'+_0xbc1ad(_0x96bd5e._0x4edacf,0x49b)+_0xbc1ad(_0x96bd5e._0xc26d1,0x614)+_0x34e4cd(_0x96bd5e._0xa8182e,_0x96bd5e._0x547a00)+'ainer\x20or'+_0xbc1ad(_0x96bd5e._0x55a0ad,0x9e5)+_0xbc1ad(0x6c7,0x5ad)+_0x34e4cd(_0x96bd5e._0x150f4e,0x490)+_0x34e4cd(_0x96bd5e._0x425aea,_0x96bd5e._0x3373cf)+'ket\x20on\x20r'+_0x34e4cd(0x374,_0x96bd5e._0x171705);return _0x34e4cd(-0x31,0xb1)+_0xbc1ad(0x499,_0x96bd5e._0x2c50d4)+_0x34e4cd(0x6b6,_0x96bd5e._0x847947)+_0xbc1ad(0x600,0x42b)+'atic\x20sta'+_0x34e4cd(_0x96bd5e._0x4bfe16,_0x96bd5e._0x5b98f7)+_0x34e4cd(-_0x96bd5e._0x8226f3,_0x96bd5e._0x46c914)+_0xbc1ad(0x517,0x6d4)+'he\x20bridg'+_0xbc1ad(_0x96bd5e._0x1e0d90,0x548)+_0x34e4cd(_0x96bd5e._0x24f2a6,0xb9)+_0x34e4cd(0x2a9,_0x96bd5e._0x29026d)+'tarted\x20a'+_0xbc1ad(0x6bd,_0x96bd5e._0xd8f9fe)+'ally.\x20Us'+'e\x20your\x20c'+_0xbc1ad(_0x96bd5e._0x43380b,_0x96bd5e._0x4b99ee)+'\x20or\x20proc'+_0xbc1ad(0x3c6,0x213)+_0xbc1ad(0x5a3,0x425)+_0xbc1ad(0x7cd,0x6a2)+'et.';}function formatLocalTime(_0x1d6c08){const _0x270a73={_0x1cc8a6:0x31a,_0x241cf9:0x328,_0x3d08fb:0xe8,_0x1ee105:0x29c,_0x236c8b:0xe0},_0x3d7bb2={_0x2321d2:0x1b5},_0x514e29={_0x50f443:0xab},_0x2946f4=new Date(_0x1d6c08);if(Number[_0x4dac3b(0x179,_0x270a73._0x1cc8a6)](_0x2946f4[_0x4dac3b(-_0x270a73._0x241cf9,-_0x270a73._0x3d08fb)]()))return _0x1d6c08;function _0x4dac3b(_0x2fccf4,_0x333463){return _0x410a57(_0x2fccf4,_0x333463-_0x514e29._0x50f443);}function _0x3d3446(_0xf46b43,_0x187702){return _0x410a57(_0xf46b43,_0x187702-_0x3d7bb2._0x2321d2);}return _0x2946f4[_0x4dac3b(0x152,0x29f)+_0x3d3446(_0x270a73._0x1ee105,_0x270a73._0x236c8b)]();}function formatError2(_0x3d6a1b){const _0x39593d={_0x3097c2:0x9,_0x50909c:0x1ff};function _0x4b7c0f(_0x1966a5,_0x1685f3){return _0x410a57(_0x1685f3,_0x1966a5-0x12c);}return _0x3d6a1b instanceof Error?_0x3d6a1b[_0x4b7c0f(-_0x39593d._0x3097c2,_0x39593d._0x50909c)]:String(_0x3d6a1b);}function printJson(_0x13540d){const _0x4c366d={_0x3b9a3e:0x4ff,_0x21c0a3:0x26a};function _0x29aeb0(_0x28405d,_0x191a95){return _0x2420cb(_0x191a95- -0xda,_0x28405d);}function _0x2f2b55(_0x508bba,_0x4620e8){return _0x2420cb(_0x508bba- -0x577,_0x4620e8);}console[_0x29aeb0(0x636,_0x4c366d._0x3b9a3e)](JSON[_0x2f2b55(_0x4c366d._0x21c0a3,0x365)+'y'](_0x13540d,null,0x2));}main()[_0x2420cb(0x8a3,0x647)](_0x346ccb=>{const _0x48c78e={_0x60e3b2:0x20d,_0xee586a:0x477},_0x50a6eb={_0x592a1b:0x203},_0x336192={_0x1ced2d:0x287};function _0x2a6f14(_0x3b9177,_0x19fb89){return _0x410a57(_0x19fb89,_0x3b9177-_0x336192._0x1ced2d);}function _0x445bc3(_0xdee9c4,_0x4a15b8){return _0x410a57(_0xdee9c4,_0x4a15b8-_0x50a6eb._0x592a1b);}console[_0x445bc3(_0x48c78e._0x60e3b2,_0x48c78e._0xee586a)](formatError2(_0x346ccb)),process[_0x445bc3(0x5fb,0x3f9)](0x1);});
2
+ (function(_0x17eee7,_0x2ea827){const _0x553e2c={_0x40425e:0x481,_0x402280:0x222,_0x597061:0x346,_0x16c5a0:0x237,_0x52ccf2:0x4e7,_0xf7f9be:0x25c,_0x386b84:0x409,_0x340229:0x49d,_0x553dcf:0x2af,_0x6fbd99:0x155,_0x97a6b9:0x12f},_0x13c889={_0x6a897d:0x18b};function _0x1d95c2(_0x38a942,_0x4f6ad6){return _0x346a(_0x4f6ad6- -_0x13c889._0x6a897d,_0x38a942);}const _0x3e2e11=_0x17eee7();function _0x43464d(_0xc100a0,_0x394aec){return _0x346a(_0xc100a0- -0xb7,_0x394aec);}while(!![]){try{const _0x2d89b8=-parseInt(_0x43464d(_0x553e2c._0x40425e,0x68c))/0x1+-parseInt(_0x43464d(_0x553e2c._0x402280,_0x553e2c._0x597061))/0x2*(parseInt(_0x1d95c2(_0x553e2c._0x16c5a0,0x419))/0x3)+-parseInt(_0x43464d(0x557,0x6cd))/0x4*(-parseInt(_0x1d95c2(_0x553e2c._0x52ccf2,0x42e))/0x5)+parseInt(_0x1d95c2(-_0x553e2c._0xf7f9be,0x34))/0x6*(-parseInt(_0x1d95c2(0x4ec,_0x553e2c._0x386b84))/0x7)+parseInt(_0x43464d(0x486,0x34c))/0x8*(-parseInt(_0x43464d(_0x553e2c._0x340229,_0x553e2c._0x553dcf))/0x9)+parseInt(_0x1d95c2(0x120,_0x553e2c._0x6fbd99))/0xa+parseInt(_0x1d95c2(-_0x553e2c._0x97a6b9,-0x39))/0xb;if(_0x2d89b8===_0x2ea827)break;else _0x3e2e11['push'](_0x3e2e11['shift']());}catch(_0x164fb1){_0x3e2e11['push'](_0x3e2e11['shift']());}}}(_0x2cc1,0x22d1e));const _0x162df0=(function(){const _0x7b6072={_0x212d85:0x9e6};let _0x4c6d19=!![];return function(_0x25ea03,_0x13b89f){const _0x2d2faf={_0x2eaf1f:0x3b7},_0x458764=_0x4c6d19?function(){function _0xe6daf0(_0x75cffb,_0x19ab19){return _0x346a(_0x75cffb-_0x2d2faf._0x2eaf1f,_0x19ab19);}if(_0x13b89f){const _0x318936=_0x13b89f[_0xe6daf0(0x9c8,_0x7b6072._0x212d85)](_0x25ea03,arguments);return _0x13b89f=null,_0x318936;}}:function(){};return _0x4c6d19=![],_0x458764;};}()),_0x47f9c5=_0x162df0(this,function(){const _0x37afb1={_0x3d5f28:0x605,_0xb114f2:0x6d0,_0x1f0633:0x4a9,_0x8e4b8f:0x7b9,_0x2f070f:0x6a6,_0x457f52:0x605,_0x3507d6:0x4c5},_0x4796c9={_0x18f31e:0x6b},_0x50cc5c={};function _0x2858e4(_0x28391c,_0xbaa2c8){return _0x346a(_0xbaa2c8- -_0x4796c9._0x18f31e,_0x28391c);}function _0x2d4273(_0x1d312c,_0x466c6b){return _0x346a(_0x1d312c-0x1bc,_0x466c6b);}_0x50cc5c[_0x2d4273(0x2ca,0x3b4)]='(((.+)+)'+_0x2d4273(_0x37afb1._0x3d5f28,0x678);const _0x3c4e1f=_0x50cc5c;return _0x47f9c5[_0x2d4273(_0x37afb1._0xb114f2,0x7f7)]()['search'](_0x3c4e1f['XYlJQ'])[_0x2858e4(0x5ab,_0x37afb1._0x1f0633)]()[_0x2d4273(0x3b3,0x54f)+_0x2d4273(0x784,0x686)](_0x47f9c5)[_0x2858e4(_0x37afb1._0x8e4b8f,0x533)](_0x2d4273(_0x37afb1._0x2f070f,0x8a5)+_0x2d4273(_0x37afb1._0x457f52,_0x37afb1._0x3507d6));});_0x47f9c5();import _0x46de63 from'qrcode-terminal';import{readFileSync as _0xe89164}from'fs';import{Socket}from'net';import{homedir as _0x582f99}from'os';function _0x3a90bd(_0x430214,_0x27b48e){const _0x4fafd0={_0x2e7dc3:0x374};return _0x346a(_0x27b48e- -_0x4fafd0._0x2e7dc3,_0x430214);}import{existsSync,mkdirSync,readFileSync,rmSync,writeFileSync}from'fs';import{randomUUID}from'crypto';import{homedir,hostname,userInfo}from'os';import{join}from'path';var CONFIG_DIR=join(homedir(),_0xb2a5b9(-0x2a8,-0x78)),CONFIG_PATH=join(CONFIG_DIR,'bridge-c'+_0x3a90bd(0x266,0x273));function getPairingConfigPath(){return CONFIG_PATH;}function readPairingConfig(){const _0x15d84b={_0xfdade2:0x4fe,_0x598d97:0x10e,_0x5969c1:0x1ad,_0x368bd1:0x39,_0x3df94f:0x5bc,_0x2dbefe:0x3cb,_0x497e63:0x14b,_0x336663:0x5c7,_0x1a9c1f:0x230,_0x52fb84:0x2f8,_0x20e6d8:0x396,_0x58d085:0x12f,_0x126fe0:0x17f,_0xbe4d0e:0x4ca,_0x1590ff:0x34a,_0x57dee6:0x282,_0x240be5:0x2a,_0xe87583:0x2a,_0x4da7ee:0x5f},_0x2dc1d3={_0x3af6e7:0x214},_0x5e4f45={'XrJxB':function(_0x3d1ba2){return _0x3d1ba2();},'OuIyV':function(_0x28feff,_0x314b1d){return _0x28feff!==_0x314b1d;}};if(!existsSync(CONFIG_PATH))return null;function _0x187b72(_0x57183b,_0x57440f){return _0x3a90bd(_0x57440f,_0x57183b-0x264);}function _0x2a3849(_0x41d9c9,_0x1bc589){return _0x3a90bd(_0x41d9c9,_0x1bc589-_0x2dc1d3._0x3af6e7);}try{const _0x3d29a6=JSON[_0x2a3849(0x565,_0x15d84b._0xfdade2)](readFileSync(CONFIG_PATH,_0x2a3849(0x1f,_0x15d84b._0x598d97)));if(!_0x3d29a6[_0x2a3849(0x351,_0x15d84b._0x5969c1)+'l']||!_0x3d29a6[_0x187b72(0x4c,_0x15d84b._0x368bd1)+'d']||!_0x3d29a6[_0x2a3849(_0x15d84b._0x3df94f,_0x15d84b._0x2dbefe)+_0x2a3849(-_0x15d84b._0x497e63,0x14b)]||!_0x3d29a6[_0x187b72(0x399,_0x15d84b._0x336663)])return null;const _0x550849={'serverUrl':_0x3d29a6['serverUr'+'l'],'gatewayId':_0x3d29a6[_0x187b72(0x4c,-0x1c3)+'d'],'relaySecret':_0x3d29a6[_0x2a3849(_0x15d84b._0x1a9c1f,0x3cb)+_0x2a3849(_0x15d84b._0x52fb84,0x14b)],'relayUrl':_0x3d29a6[_0x187b72(0x399,0x451)],'instanceId':_0x3d29a6['instance'+'Id']?.[_0x187b72(0x4f6,_0x15d84b._0x20e6d8)]()||_0x5e4f45[_0x2a3849(0x1b2,0x129)](createInstanceId),'displayName':_0x3d29a6['displayN'+_0x2a3849(-_0x15d84b._0x58d085,-0x53)]??null,'createdAt':_0x3d29a6[_0x187b72(_0x15d84b._0x126fe0,0x24b)+'t']??new Date()['toISOStr'+_0x187b72(0xa8,-0x2f)](),'updatedAt':_0x3d29a6[_0x187b72(0x378,_0x15d84b._0xbe4d0e)+'t']??new Date()[_0x2a3849(_0x15d84b._0x1590ff,0x3ce)+_0x2a3849(_0x15d84b._0x57dee6,0x58)]()};return _0x5e4f45['OuIyV'](_0x3d29a6[_0x187b72(_0x15d84b._0x240be5,-0x121)+'Id'],_0x550849[_0x187b72(_0x15d84b._0xe87583,-_0x15d84b._0x4da7ee)+'Id'])&&writePairingConfig(_0x550849),_0x550849;}catch{return null;}}function writePairingConfig(_0x254cea){const _0x2742d5={_0x177592:0x7a5,_0x34f31c:0x8f8,_0xae676a:0xb3,_0x52e8d4:0xca},_0x54f9bc={_0x5b6d58:0x674},_0x4b3949={'hYlzJ':function(_0x2e9766,_0xa7a18,_0xb1ffb0){return _0x2e9766(_0xa7a18,_0xb1ffb0);}},_0x1a46d3={};function _0x4da6af(_0x1a39bc,_0x4a5045){return _0xb2a5b9(_0x1a39bc,_0x4a5045-0x1c9);}function _0x3addde(_0x574fde,_0x3b944f){return _0xb2a5b9(_0x574fde,_0x3b944f-_0x54f9bc._0x5b6d58);}_0x1a46d3[_0x4da6af(0x274,0x82)+'e']=!![],_0x4b3949['hYlzJ'](mkdirSync,CONFIG_DIR,_0x1a46d3),writeFileSync(CONFIG_PATH,JSON[_0x3addde(_0x2742d5._0x177592,_0x2742d5._0x34f31c)+'y'](_0x254cea,null,0x2)+'\x0a',_0x4da6af(-_0x2742d5._0xae676a,_0x2742d5._0x52e8d4));}function deletePairingConfig(){const _0x10c96e={_0x5cd820:0x33a,_0x19a9db:0x2b2},_0x1e496e={_0x480ced:0xf3},_0x3527b5={_0x3d4488:0x496},_0x5883e3={'FAPOo':function(_0x2125b9,_0x5bf69f){return _0x2125b9(_0x5bf69f);}};if(!_0x5883e3[_0x5a0bcc(0x57f,_0x10c96e._0x5cd820)](existsSync,CONFIG_PATH))return;const _0x4bea62={};_0x4bea62[_0x596cd1(_0x10c96e._0x19a9db,0x2c2)]=!![];function _0x5a0bcc(_0xf7e1fa,_0x3034f5){return _0x3a90bd(_0xf7e1fa,_0x3034f5-_0x3527b5._0x3d4488);}function _0x596cd1(_0x7158e3,_0x3f5e4b){return _0x3a90bd(_0x3f5e4b,_0x7158e3-_0x1e496e._0x480ced);}rmSync(CONFIG_PATH,_0x4bea62);}function getDefaultBridgeDisplayName(){const _0x29130f={_0x484957:0x46f,_0x5f54b0:0x5e,_0x2499fe:0x1c3,_0x271ced:0xdd,_0x47d4bc:0x14d},_0x32b9ad={_0x285d33:0x1dd},_0x1c95c1={'LMSZX':function(_0x2e5b8c){return _0x2e5b8c();}},_0x166cf5=readOpenClawDefaultAgentName();function _0x510384(_0x4b7220,_0x4419cf){return _0x3a90bd(_0x4419cf,_0x4b7220-_0x32b9ad._0x285d33);}if(_0x166cf5)return _0x166cf5;try{const _0x3c79ac=_0x1c95c1[_0x5007bd(-0x22,-0xf9)](userInfo)[_0x510384(0x150,0x72)][_0x510384(_0x29130f._0x484957,0x602)]();if(_0x3c79ac)return _0x3c79ac;}catch{}const _0x5eefbb=(process.env.LOGNAME??process.env.USER??process.env.USERNAME??'')[_0x510384(0x46f,0x4a7)]();if(_0x5eefbb)return _0x5eefbb;function _0x5007bd(_0x5a9b96,_0x123896){return _0x3a90bd(_0x123896,_0x5a9b96-0x9c);}return hostname()[_0x5007bd(0x32e,0x1fd)]()||_0x510384(_0x29130f._0x5f54b0,_0x29130f._0x2499fe)+_0x510384(_0x29130f._0x271ced,_0x29130f._0x47d4bc);}function pickOpenClawDefaultAgentName(_0x1c3335){const _0x38aeb3={_0x46e0dc:0x138,_0x1d7934:0x3b,_0x3b051a:0xff,_0x100398:0x179,_0xb3c499:0x4a7,_0x297b6d:0x27b},_0x1202f4={_0x1b09ab:0x2a1},_0x4a7f35={_0x1f4fe0:0xf7},_0x535ddd={'JTZkT':function(_0x2688ca,_0x502c20){return _0x2688ca(_0x502c20);}};function _0x2b89fa(_0x591586,_0xfc9f42){return _0xb2a5b9(_0xfc9f42,_0x591586-_0x4a7f35._0x1f4fe0);}if(!_0x1c3335||typeof _0x1c3335!=='object')return null;const _0x33d05d=_0x1c3335[_0x165d48(0x13a,_0x38aeb3._0x46e0dc)],_0x4afa40=Array[_0x2b89fa(-0xa1,-0x5f)](_0x33d05d?.[_0x2b89fa(-0xff,-_0x38aeb3._0x1d7934)])?_0x33d05d[_0x2b89fa(-_0x38aeb3._0x3b051a,_0x38aeb3._0x100398)]:[];function _0x165d48(_0x210fb5,_0x2185a4){return _0xb2a5b9(_0x2185a4,_0x210fb5-_0x1202f4._0x1b09ab);}const _0x14012b=_0x4afa40[_0x165d48(0x4a7,0x2d7)](_0x1bad53=>isDefaultAgent(_0x1bad53))??_0x4afa40[_0x165d48(_0x38aeb3._0xb3c499,_0x38aeb3._0x297b6d)](_0x5d6b6e=>hasAgentId(_0x5d6b6e,_0x2b89fa(0xac,0x25b)))??_0x4afa40[0x0];return _0x535ddd[_0x165d48(0x3c3,0x526)](readAgentName,_0x14012b);}function createInstanceId(){const _0xea275a={_0x57767d:0x2d6,_0x456dd2:0x377,_0x1db497:0x671,_0x2d2185:0x236,_0x462f7b:0x7ad},_0x55347f={_0x2571b0:0x1fc},_0x29c787={'HeIGy':function(_0x300ad4){return _0x300ad4();}},_0xaa1916=sanitizeId(hostname()||_0x1b8d62(_0xea275a._0x57767d,_0xea275a._0x456dd2));function _0x1b8d62(_0x923e2,_0x1700cf){return _0xb2a5b9(_0x1700cf,_0x923e2-_0x55347f._0x2571b0);}function _0x3b5792(_0x3be2af,_0x1f12cc){return _0xb2a5b9(_0x1f12cc,_0x3be2af-0x519);}return _0x1b8d62(0x434,_0xea275a._0x1db497)+_0xaa1916+'-'+_0x29c787[_0x3b5792(0x4c3,_0xea275a._0x2d2185)](randomUUID)[_0x3b5792(_0xea275a._0x462f7b,0x68f)](0x0,0xa);}function sanitizeId(_0x3b36f4){const _0x276538={_0x2a5562:0x5b5,_0x164ce3:0x3fe,_0x499e2c:0x181},_0x2eb75d={_0x28d164:0xa7};function _0x3f5295(_0x20ccd0,_0x57e1f0){return _0x3a90bd(_0x20ccd0,_0x57e1f0-0x16c);}function _0x2a84aa(_0x576289,_0x4ff9a7){return _0x3a90bd(_0x576289,_0x4ff9a7-_0x2eb75d._0x28d164);}return _0x3b36f4[_0x3f5295(_0x276538._0x2a5562,_0x276538._0x164ce3)]()['toLowerC'+_0x2a84aa(-0x1,-0x4d)]()[_0x3f5295(-_0x276538._0x499e2c,-0x43)](/[^a-z0-9._-]+/g,'-')['replace'](/^-+|-+$/g,'')||'host';}function readOpenClawDefaultAgentName(){const _0x5de6cf={_0x134ef8:0x166,_0x25480e:0x10a},_0x4d0deb={_0x327def:0x221};function _0x1218a2(_0x43c311,_0x176888){return _0xb2a5b9(_0x176888,_0x43c311-0x5ad);}const _0x2d5940={'jiodb':'utf8','HSFWE':function(_0x5ed8e9,_0x1e8316){return _0x5ed8e9(_0x1e8316);}},_0x2148e7=resolveOpenClawConfigPath();function _0x1df565(_0x1ec1ec,_0x2a713){return _0xb2a5b9(_0x1ec1ec,_0x2a713-_0x4d0deb._0x327def);}if(!_0x2148e7||!existsSync(_0x2148e7))return null;try{const _0x432060=JSON['parse'](readFileSync(_0x2148e7,_0x2d5940[_0x1df565(0x26,_0x5de6cf._0x134ef8)]));return _0x2d5940[_0x1df565(-_0x5de6cf._0x25480e,0xd7)](pickOpenClawDefaultAgentName,_0x432060);}catch{return null;}}function resolveOpenClawConfigPath(){const _0x4603a9={_0x5f4e78:0x3ea,_0x3dc04d:0x183,_0x5e9a53:0x4f6,_0x1d0418:0x1fa,_0x1b2420:0x2ac,_0x893115:0x311,_0x2af9c3:0x1af,_0x3d9223:0x5f6,_0x39a01a:0x28a,_0x16a1d0:0x2ce,_0x474b33:0x2ee,_0x586f21:0x442,_0x321f1f:0x322,_0xcf4e9e:0x1ab},_0xb317e5={_0xc4d2a1:0x24f},_0x1b07c6={_0x368fec:0x18f},_0x47e3c0={'wggNj':_0x5eb64c(_0x4603a9._0x5f4e78,_0x4603a9._0x3dc04d),'DjeKf':'.opencla'+'w','VpHwW':'openclaw'+_0x5eb64c(0x2f5,_0x4603a9._0x5e9a53),'ZIGDJ':function(_0x21ce6b,_0x42bbf1,_0x2a19c4,_0x2cdd97){return _0x21ce6b(_0x42bbf1,_0x2a19c4,_0x2cdd97);}},_0x3673d8=new Set();function _0x3eb3a4(_0xa1be22,_0x143aec){return _0x3a90bd(_0x143aec,_0xa1be22-0x45);}function _0x5eb64c(_0x4efb8d,_0x5206e2){return _0x3a90bd(_0x5206e2,_0x4efb8d-_0x1b07c6._0x368fec);}const _0x201ce9=[homedir(),_0x47e3c0[_0x3eb3a4(_0x4603a9._0x1d0418,_0x4603a9._0x1b2420)]][_0x5eb64c(_0x4603a9._0x893115,0x453)](_0x2ed560=>_0x2ed560[_0x3eb3a4(0x2d7,0x37c)]())[_0x3eb3a4(0x25a,0x34b)](Boolean)[_0x5eb64c(0x3a4,0x2aa)](_0x360ddc=>{const _0x836766={_0x2e25d8:0x1b0};if(_0x3673d8[_0x4486ec(0x269,_0xb317e5._0xc4d2a1)](_0x360ddc))return![];_0x3673d8['add'](_0x360ddc);function _0x4486ec(_0x330f65,_0x285da2){return _0x5eb64c(_0x330f65- -_0x836766._0x2e25d8,_0x285da2);}return!![];});for(const _0xeee9d0 of _0x201ce9){const _0x3b2995=join(_0xeee9d0,_0x47e3c0[_0x3eb3a4(_0x4603a9._0x2af9c3,0x2a0)],_0x47e3c0[_0x5eb64c(0x377,_0x4603a9._0x3d9223)]);if(existsSync(_0x3b2995))return _0x3b2995;}return _0x201ce9[0x0]?_0x47e3c0[_0x3eb3a4(0x165,_0x4603a9._0x39a01a)](join,_0x201ce9[0x0],_0x5eb64c(_0x4603a9._0x16a1d0,_0x4603a9._0x474b33)+'w',_0x5eb64c(_0x4603a9._0x586f21,_0x4603a9._0x321f1f)+_0x3eb3a4(_0x4603a9._0xcf4e9e,-0x9)):null;}function isDefaultAgent(_0x43e0f8){const _0x16f963={_0x16b59d:0x6b1,_0x1521c6:0x584,_0x300283:0x639,_0x495047:0x1db},_0x9fa1d1={_0x32f81b:0x380},_0x4ee218={_0x2d4eb2:0x294};function _0x24cbca(_0x4145a4,_0x2bf2d3){return _0xb2a5b9(_0x4145a4,_0x2bf2d3-_0x4ee218._0x2d4eb2);}function _0x39b407(_0x397672,_0x21dda1){return _0xb2a5b9(_0x21dda1,_0x397672-_0x9fa1d1._0x32f81b);}const _0x8f425d={};_0x8f425d[_0x39b407(0x584,_0x16f963._0x16b59d)]='object';const _0x3af7b1=_0x8f425d;return Boolean(_0x43e0f8&&typeof _0x43e0f8===_0x3af7b1[_0x39b407(_0x16f963._0x1521c6,_0x16f963._0x300283)]&&_0x43e0f8[_0x24cbca(_0x16f963._0x495047,0x27c)]===!![]);}function hasAgentId(_0x24881d,_0x3f3c97){const _0x5af889={_0x8a9fe:0x452,_0x443834:0x6ae,_0x34ceb3:0x8c4},_0x238874={_0x3b5abd:0x65f},_0x46a3b5={_0x19b89b:0x353},_0x4a697c={'zWpOI':function(_0x3374a1,_0xa9ff1f){return _0x3374a1(_0xa9ff1f);},'YNLLA':function(_0x6083bc,_0x47d130){return _0x6083bc===_0x47d130;},'bwkMm':_0x5e74d8(0x218,_0x5af889._0x8a9fe)};function _0x5e74d8(_0x16f86d,_0x252271){return _0x3a90bd(_0x252271,_0x16f86d-_0x46a3b5._0x19b89b);}function _0x5e5dac(_0x3c979d,_0x5daec7){return _0x3a90bd(_0x3c979d,_0x5daec7-_0x238874._0x3b5abd);}return _0x4a697c['zWpOI'](Boolean,_0x24881d&&typeof _0x24881d===_0x5e5dac(_0x5af889._0x443834,_0x5af889._0x34ceb3)&&_0x4a697c['YNLLA'](typeof _0x24881d['id'],_0x4a697c['bwkMm'])&&_0x24881d['id'][_0x5e74d8(0x5e5,0x506)]()===_0x3f3c97);}function readAgentName(_0x17b631){const _0x3ff1a9={_0x5a952d:0x4,_0x463051:0x10f,_0x2aef9c:0x198,_0x50c539:0x115,_0x2fbb5d:0x15a,_0x4de13e:0x49,_0x1a8ddf:0x0,_0x733fd2:0x1ff,_0x53932f:0x527,_0x3fc14f:0x498},_0xcaf3fb={_0x416cae:0x137},_0x27dcef={};_0x27dcef['eTNKx']=_0x52bfd0(0x291,-_0x3ff1a9._0x5a952d);function _0x52bfd0(_0x582460,_0x20af3f){return _0x3a90bd(_0x582460,_0x20af3f-_0xcaf3fb._0x416cae);}const _0x1d60e=_0x27dcef;if(!_0x17b631||typeof _0x17b631!==_0x52bfd0(_0x3ff1a9._0x463051,0x39c))return null;const _0x3f3335=_0x17b631,_0x5c2efa=typeof _0x3f3335['identity']?.[_0x1f43d7(_0x3ff1a9._0x2aef9c,_0x3ff1a9._0x50c539)]===_0x1f43d7(_0x3ff1a9._0x2fbb5d,0xff)?_0x3f3335[_0x1f43d7(0x1ef,-_0x3ff1a9._0x4de13e)]['name']['trim']():'';function _0x1f43d7(_0x4f1467,_0x3ef05f){return _0x3a90bd(_0x3ef05f,_0x4f1467-0x295);}if(_0x5c2efa)return _0x5c2efa;const _0x21a3ee=typeof _0x3f3335['name']===_0x1d60e[_0x52bfd0(_0x3ff1a9._0x1a8ddf,_0x3ff1a9._0x733fd2)]?_0x3f3335[_0x1f43d7(0x198,-0x12)][_0x1f43d7(_0x3ff1a9._0x53932f,_0x3ff1a9._0x3fc14f)]():'';return _0x21a3ee||null;}function buildPairingQrPayload(_0x26dae6){const _0x171e56={_0x208ba0:0x313,_0x57ae3c:0x121,_0x38ba0c:0x82,_0x2769b0:0x9e,_0x54a8a0:0x2fe,_0x50e0da:0x4bf,_0x758d15:0x45f,_0x2a9359:0xc9,_0x3de547:0x57b,_0x3df7a2:0x84f,_0x46f9af:0x5a1,_0x2d36a:0x319,_0x2fbd81:0x566},_0xed66ef={};function _0x493c1f(_0x44496a,_0x350bc0){return _0xb2a5b9(_0x350bc0,_0x44496a-0x65);}_0xed66ef['v']=0x2,_0xed66ef['k']='cp',_0xed66ef['s']=_0x26dae6['server'],_0xed66ef['g']=_0x26dae6[_0x3003bb(0x19d,0xd1)+'d'],_0xed66ef['a']=_0x26dae6['accessCo'+'de'];function _0x3003bb(_0x225d93,_0x43e205){return _0xb2a5b9(_0x225d93,_0x43e205-0x2e2);}const _0x280246=_0xed66ef;return _0x26dae6[_0x493c1f(_0x171e56._0x208ba0,_0x171e56._0x57ae3c)+_0x3003bb(0x1e1,_0x171e56._0x38ba0c)]?.['trim']()&&(_0x280246['n']=_0x26dae6[_0x493c1f(0x313,0x3fc)+_0x3003bb(-_0x171e56._0x2769b0,0x82)][_0x493c1f(_0x171e56._0x54a8a0,_0x171e56._0x50e0da)]()),_0x26dae6['token']?.[_0x493c1f(_0x171e56._0x54a8a0,_0x171e56._0x758d15)]()&&(_0x280246['t']=_0x26dae6[_0x3003bb(_0x171e56._0x2a9359,0x341)][_0x3003bb(0x644,_0x171e56._0x3de547)]()),_0x26dae6[_0x493c1f(0x324,0x227)]?.['trim']()&&(_0x280246['p']=_0x26dae6[_0x3003bb(_0x171e56._0x3df7a2,_0x171e56._0x46f9af)][_0x3003bb(_0x171e56._0x2d36a,_0x171e56._0x3de547)]()),JSON[_0x3003bb(0x663,_0x171e56._0x2fbd81)+'y'](_0x280246);}function buildGatewayQrPayload(_0x1dba7a){const _0x5bb816={_0x2dce9c:0x825,_0xcb532a:0x2b,_0x15f2c7:0x6f8,_0x5751ec:0x867,_0xf20ae1:0x2af,_0x4b81db:0x432,_0x5465aa:0x628,_0x379efc:0x1f8,_0x4eac26:0x170,_0x179bee:0x96c,_0x28d39d:0x8b7,_0x134dbf:0x8dd,_0x2fcc34:0x1e2,_0x13d2d6:0xad3,_0x58c170:0x1a9},_0x4ff049={};function _0x2ee08e(_0x54cd94,_0x1c0761){return _0x3a90bd(_0x54cd94,_0x1c0761-0x625);}_0x4ff049[_0x2ee08e(_0x5bb816._0x2dce9c,0x89d)]=function(_0x3796bb,_0x5b4a79){return _0x3796bb+_0x5b4a79;},_0x4ff049[_0x4dee6d(-_0x5bb816._0xcb532a,0xb1)]=function(_0x166bda,_0xc559ed){return _0x166bda*_0xc559ed;};const _0x3c00d8=_0x4ff049,_0xea5198=normalizeGatewayQrUrl(_0x1dba7a['gatewayU'+'rl']),_0x269e11={'url':_0xea5198[_0x4dee6d(0x18d,0xec)],'host':_0xea5198[_0x2ee08e(0x520,_0x5bb816._0x15f2c7)],'port':_0xea5198['port'],'tls':_0xea5198[_0x2ee08e(0xad8,_0x5bb816._0x5751ec)],'mode':_0x4dee6d(0x3b9,_0x5bb816._0xf20ae1),'expiresAt':_0x1dba7a['expiresA'+'t']??_0x3c00d8[_0x2ee08e(0x840,0x89d)](Date['now'](),_0x3c00d8['AvQYR'](0xa*0x3c,0x3e8)),'qrVersion':0x2};_0x1dba7a['token']?.[_0x4dee6d(_0x5bb816._0x4b81db,_0x5bb816._0x5465aa)]()&&(_0x269e11['token']=_0x1dba7a[_0x4dee6d(_0x5bb816._0x379efc,_0x5bb816._0x4eac26)][_0x2ee08e(_0x5bb816._0x179bee,_0x5bb816._0x28d39d)]());_0x1dba7a['password']?.['trim']()&&(_0x269e11[_0x2ee08e(0xa5c,_0x5bb816._0x134dbf)]=_0x1dba7a[_0x4dee6d(0x458,_0x5bb816._0x2fcc34)][_0x2ee08e(_0x5bb816._0x13d2d6,0x8b7)]());function _0x4dee6d(_0x5776f0,_0x474bb7){return _0x3a90bd(_0x474bb7,_0x5776f0-0x1a0);}return JSON[_0x4dee6d(0x41d,_0x5bb816._0x58c170)+'y'](_0x269e11);}function normalizeGatewayQrUrl(_0x1cf94e){const _0x488f1c={_0x3c3d0f:0x73f,_0x3c25db:0x3be,_0x2b62de:0x4fd,_0x44ac3a:0x3b4,_0x19d06e:0x431,_0x2b2b80:0x668,_0x583900:0x7c7,_0xc5b1f4:0x787,_0x8700b0:0x367,_0xdf3cd:0x2f,_0x5a2241:0x2ba,_0x47afd7:0x2a5,_0x3b6d28:0x4a5,_0xc55e1a:0x4db,_0x5769d2:0x634,_0x29b2d9:0x348,_0x2f70c1:0x3d4,_0x172009:0x613,_0x4806bd:0x4cd,_0x5599fa:0x6ba,_0x182d20:0x200,_0x47fa08:0x208,_0x5c5d8b:0x15f,_0x3f3ffe:0x372,_0x3f1a1e:0x7e7},_0x24bcc0={_0x5ad038:0x15f},_0x50517f={};_0x50517f[_0x4f6790(0x5d5,_0x488f1c._0x3c3d0f)]=function(_0x39ea09,_0xd5fc20){return _0x39ea09===_0xd5fc20;},_0x50517f[_0x4f6790(0x5c8,_0x488f1c._0x3c25db)]=function(_0x256658,_0x2d3750){return _0x256658===_0x2d3750;};function _0x4f6790(_0x4c32d1,_0x532bf6){return _0x3a90bd(_0x532bf6,_0x4c32d1-0x572);}_0x50517f[_0x30f15a(0x3d5,_0x488f1c._0x2b62de)]=_0x30f15a(_0x488f1c._0x44ac3a,_0x488f1c._0x19d06e);const _0xb524c1=_0x50517f,_0x3dbbdb=new URL(_0x1cf94e[_0x30f15a(0x3f1,0x4f6)]()),_0x3adf0d=_0xb524c1[_0x4f6790(0x5d5,_0x488f1c._0x2b2b80)](_0x3dbbdb['protocol'],_0x4f6790(_0x488f1c._0x583900,_0x488f1c._0xc5b1f4))||_0xb524c1[_0x4f6790(0x5c8,_0x488f1c._0x8700b0)](_0x3dbbdb[_0x30f15a(-_0x488f1c._0xdf3cd,-_0x488f1c._0x5a2241)],_0x30f15a(_0x488f1c._0x47afd7,0x1b0)),_0x4d550d=_0x3adf0d?_0xb524c1[_0x30f15a(0x3d5,0x359)]:_0x4f6790(_0x488f1c._0x3b6d28,_0x488f1c._0xc55e1a),_0x6618bb=_0x3dbbdb[_0x4f6790(0x3fc,_0x488f1c._0x5769d2)],_0x19b34d=_0x3dbbdb[_0x30f15a(0x3d4,_0x488f1c._0x29b2d9)]?Number(_0x3dbbdb[_0x30f15a(_0x488f1c._0x2f70c1,0x4f7)]):_0x3adf0d?0x1bb:0x50,_0x58b3c5=!_0x3dbbdb[_0x4f6790(_0x488f1c._0x172009,_0x488f1c._0x4806bd)]||_0x3dbbdb[_0x4f6790(0x613,_0x488f1c._0x5599fa)]===''?'/':_0x3dbbdb[_0x30f15a(_0x488f1c._0x182d20,_0x488f1c._0x47fa08)],_0x4bc75a={};_0x4bc75a[_0x30f15a(0x14c,-_0x488f1c._0x5c5d8b)]=_0x4d550d+'//'+_0x6618bb+':'+_0x19b34d+_0x58b3c5,_0x4bc75a[_0x30f15a(0x232,_0x488f1c._0x3f3ffe)]=_0x6618bb,_0x4bc75a[_0x4f6790(_0x488f1c._0x3f1a1e,0x80b)]=_0x19b34d,_0x4bc75a['path']=_0x58b3c5;function _0x30f15a(_0x35b691,_0x1b645c){return _0x3a90bd(_0x1b645c,_0x35b691-_0x24bcc0._0x5ad038);}return _0x4bc75a['tls']=_0x3adf0d,_0x4bc75a;}var DEFAULT_REGISTRY_BASE=_0xb2a5b9(-0x288,-0xe)+_0x3a90bd(0x21c,0x1a)+_0xb2a5b9(0x16d,-0x78)+_0xb2a5b9(0x114,0x287),DEFAULT_REGISTRY_FALLBACK_BASE=_0x3a90bd(0x1a4,-0x15)+_0xb2a5b9(0x65,-0x36)+'registry'+_0xb2a5b9(0x32,-0x78)+'.workers'+_0x3a90bd(0x20,0x2b);async function pairGateway(_0x5d35b8){const _0x345fa5={_0x24cdf9:0x7d6,_0x283350:0x3d3,_0x5926eb:0x5dc,_0x5d7f8e:0x969,_0x2a070b:0x931,_0x5467c4:0x3d1,_0x38d13f:0x623,_0x1466e4:0x905,_0x387371:0x74e,_0x41ceb6:0x4e7,_0x27ca4b:0x391,_0x25c4be:0x4e7,_0x38b19b:0x65c,_0x5af23f:0x8dc,_0xd18e50:0x85f,_0x5f0e3e:0x6fa,_0x58d216:0x92e,_0x5df4cf:0x4e1,_0x470763:0x628,_0x292a92:0x900,_0x509abe:0x4f0,_0x193653:0x307,_0x491343:0x947,_0x1835ac:0x880,_0x1cbc49:0x78b,_0x25f5c9:0x448,_0x11851b:0x19b,_0x323299:0x896,_0x5e6ca0:0x2f5,_0x287048:0x5cc,_0x5bc78e:0x4a1,_0x5ef042:0x4e4,_0x3bfe3b:0xa2f,_0x1875bb:0x836,_0x4d96d5:0x8ab,_0x38aa91:0x866,_0x3906dd:0x79f,_0x338626:0x890,_0xd0c015:0x8cf,_0x3f42dc:0x9e0,_0x51bbcb:0x54d,_0x27d4aa:0x987,_0x17d245:0x592,_0x53d1d7:0x410,_0x2252b9:0x711,_0x166a46:0x883,_0x3d6dec:0x7b2,_0x533eca:0x97f,_0x4c023f:0xadf,_0x5c586b:0x9db,_0x3cded1:0x79b,_0x4658ee:0x8f4,_0x58a937:0x7a8,_0x3c1318:0x3eb,_0x11af6f:0x3e1,_0x452dc3:0x1c3,_0x3e96b9:0x3ef,_0x1b24f4:0xb5f,_0x311ec2:0x85f,_0x4a8d20:0x8bd,_0x1c5d55:0x87b},_0x1e72fa={'miFwF':function(_0x2f6c43,_0x4d2e57){return _0x2f6c43(_0x4d2e57);},'BqfDf':function(_0x49b81f,_0x3807fc){return _0x49b81f(_0x3807fc);},'nWpQQ':function(_0x21b5b7,_0x42bec4){return _0x21b5b7===_0x42bec4;},'TvnoQ':function(_0x34e184,_0x388867,_0x2c5935){return _0x34e184(_0x388867,_0x2c5935);},'rnpWV':_0x227e35(_0x345fa5._0x24cdf9,0x7d5),'NSdKe':_0x227e35(_0x345fa5._0x283350,0x19d)+_0x13632f(0x836,_0x345fa5._0x5926eb)},_0x3cd12e=_0x1e72fa['miFwF'](normalizeHttpBase,_0x5d35b8[_0x13632f(0x6e7,_0x345fa5._0x5d7f8e)+'l']),_0x2207fe=readPairingConfig(),_0x5f256c=assessPairingCompatibility(_0x2207fe,_0x3cd12e);if(_0x5f256c===_0x13632f(0x7d0,_0x345fa5._0x2a070b)+_0x227e35(0x8ac,0x93b)&&_0x2207fe){const _0x3d8e56={};return _0x3d8e56['serverUr'+'l']=_0x2207fe[_0x227e35(0x582,0x653)+'l'],_0x3d8e56['gatewayI'+'d']=_0x2207fe[_0x227e35(_0x345fa5._0x5467c4,0x418)+'d'],_0x3d8e56['relaySec'+_0x227e35(0x520,_0x345fa5._0x38d13f)]=_0x2207fe[_0x13632f(_0x345fa5._0x1466e4,_0x345fa5._0x387371)+'ret'],_0x3d8e56['displayN'+_0x13632f(_0x345fa5._0x41ceb6,_0x345fa5._0x27ca4b)]=_0x5d35b8['displayN'+_0x13632f(_0x345fa5._0x25c4be,0x511)],_0x3d8e56[_0x13632f(0x6a5,_0x345fa5._0x38b19b)+_0x227e35(_0x345fa5._0x5af23f,0x748)]=_0x5d35b8[_0x227e35(0x540,0x71d)+'oken'],_0x3d8e56[_0x13632f(_0x345fa5._0xd18e50,0x900)+_0x227e35(0x53a,0x6cd)]=_0x5d35b8[_0x227e35(_0x345fa5._0x5f0e3e,0x4ba)+'assword'],_0x1e72fa[_0x13632f(0x935,_0x345fa5._0x58d216)](refreshAccessCode,_0x3d8e56);}if(_0x1e72fa[_0x227e35(_0x345fa5._0x5df4cf,_0x345fa5._0x470763)](_0x5f256c,_0x13632f(_0x345fa5._0x292a92,0x6fa)+_0x227e35(_0x345fa5._0x509abe,0x315)))throw new Error(_0x227e35(0x405,_0x345fa5._0x193653)+_0x13632f(0x8ea,_0x345fa5._0x491343)+_0x13632f(_0x345fa5._0x1835ac,_0x345fa5._0x1cbc49)+_0x227e35(_0x345fa5._0x25f5c9,0x3b3)+'th\x20'+_0x2207fe?.[_0x227e35(0x582,0x5eb)+'l']+(_0x13632f(0x797,0x738)+'lawket\x20r'+_0x227e35(0x41c,_0x345fa5._0x11851b)+'fore\x20pai'+_0x13632f(_0x345fa5._0x323299,0x655)+'h\x20a\x20diff'+_0x13632f(0x500,_0x345fa5._0x5e6ca0)+_0x13632f(0x9b8,0x794)));function _0x227e35(_0x2b6b07,_0x48be46){return _0x3a90bd(_0x48be46,_0x2b6b07-0x5e9);}const _0x30e159=await _0x1e72fa[_0x227e35(_0x345fa5._0x287048,_0x345fa5._0x5bc78e)](postJsonWithCloudflareFallback,_0x3cd12e+(_0x227e35(0x41b,_0x345fa5._0x5ef042)+'/registe'+'r'),{'method':_0x1e72fa[_0x13632f(_0x345fa5._0x3bfe3b,0x7ee)],'headers':{'content-type':'applicat'+_0x13632f(_0x345fa5._0x1875bb,_0x345fa5._0x4d96d5),'accept':_0x1e72fa['NSdKe']},'body':JSON[_0x227e35(_0x345fa5._0x38aa91,_0x345fa5._0x3906dd)+'y']({'displayName':_0x5d35b8[_0x227e35(_0x345fa5._0x338626,_0x345fa5._0xd0c015)+_0x13632f(0x4e7,0x51a)]?.[_0x13632f(_0x345fa5._0x3f42dc,0x916)]()||null})});function _0x13632f(_0x20642e,_0x1b1370){return _0x3a90bd(_0x1b1370,_0x20642e-0x74e);}if(!_0x30e159[_0x227e35(0x800,0xa82)]['ok'])throw await buildPairingRequestError(_0x13632f(0x518,0x74a)+_0x13632f(0x7c3,_0x345fa5._0x51bbcb),_0x30e159);const _0x174dd2=await _0x30e159[_0x227e35(0x800,_0x345fa5._0x27d4aa)]['json'](),_0xe13584=new Date()['toISOStr'+_0x13632f(_0x345fa5._0x17d245,0x353)](),_0x351c79={'serverUrl':_0x3cd12e,'gatewayId':_0x174dd2[_0x227e35(0x3d1,_0x345fa5._0x53d1d7)+'d'],'relaySecret':_0x174dd2[_0x13632f(0x905,_0x345fa5._0x2252b9)+_0x227e35(0x520,0x5df)],'relayUrl':_0x174dd2[_0x13632f(_0x345fa5._0x166a46,_0x345fa5._0x3d6dec)],'instanceId':_0x2207fe?.['instance'+'Id']??_0x13632f(_0x345fa5._0x533eca,_0x345fa5._0x4c023f)+_0x174dd2['gatewayI'+'d'][_0x13632f(_0x345fa5._0x5c586b,0xa63)](-0xa),'displayName':_0x174dd2[_0x227e35(_0x345fa5._0x338626,0x8cf)+'ame'],'createdAt':_0xe13584,'updatedAt':_0xe13584};return writePairingConfig(_0x351c79),{'config':_0x351c79,'accessCode':_0x174dd2['accessCo'+'de'],'accessCodeExpiresAt':_0x174dd2[_0x13632f(_0x345fa5._0x3cded1,_0x345fa5._0x4658ee)+_0x13632f(_0x345fa5._0x58a937,0x7b0)+_0x227e35(0x60c,_0x345fa5._0x3c1318)],'action':_0x227e35(_0x345fa5._0x11af6f,_0x345fa5._0x452dc3)+'ed','qrPayload':_0x1e72fa[_0x13632f(0x935,0xa10)](buildPairingQrPayload,{'server':_0x3cd12e,'gatewayId':_0x174dd2['gatewayI'+'d'],'accessCode':_0x174dd2[_0x227e35(0x636,_0x345fa5._0x3e96b9)+'de'],'displayName':_0x174dd2['displayN'+'ame'],'token':_0x5d35b8[_0x13632f(0x6a5,0x6c7)+_0x13632f(0xa41,_0x345fa5._0x1b24f4)]?.['trim']()||null,'password':_0x5d35b8[_0x13632f(_0x345fa5._0x311ec2,_0x345fa5._0x4a8d20)+'assword']?.[_0x227e35(_0x345fa5._0x1c5d55,0x6b8)]()||null})};}async function refreshAccessCode(_0x2f7fb0){const _0x36516c={_0x1e900d:0x2fd,_0x1d5c0b:0x190,_0x122ac2:0x419,_0x37a417:0xf0,_0x556c38:0xe3,_0xa59423:0xc1,_0x5a3ac3:0xcc,_0x445f2c:0x6c,_0x1dde29:0x89,_0x5e3f62:0x2a0,_0x3e969b:0x84,_0x51ba3a:0x22f,_0x5d5f66:0x2f7,_0x20df0b:0x17d,_0x164410:0x1b,_0x3a195b:0x138,_0x51871e:0x230,_0x137635:0x147,_0x24ed36:0x23f,_0x43f979:0x77,_0x5f5644:0x58,_0x12fdee:0x29e,_0x1250a4:0x115,_0x3f1721:0x344,_0x1bc20f:0x26a,_0x114a5e:0x191,_0x1264f4:0x2ba,_0x2e4084:0x43,_0x3c9fd8:0xf3,_0x4bca9c:0xe7,_0x337013:0xd5,_0x4f7b5a:0x36e,_0x433f3f:0xc1,_0x3fb217:0x28c,_0x38499e:0x113,_0xe94029:0x104,_0xff52a:0xe3,_0x4f247a:0x3e4,_0x502755:0x41d,_0x1703de:0x3fe,_0x3cd4c5:0x55a,_0x27b646:0x110,_0x128fc6:0x14c,_0x1cf906:0x72,_0x1390c8:0x252,_0xe536e5:0x311,_0x2f7192:0x51b,_0x34aa8f:0x233,_0x1e8ae6:0x17b,_0x35742c:0x18f,_0x18aca5:0x17a,_0x98cdee:0x35,_0x518859:0x272,_0x2d1453:0x20c,_0x1bb2a8:0x182,_0xa23cbf:0x602,_0xa94513:0x29,_0x46bf60:0x132,_0x2c2b9c:0xae,_0x4532e4:0x1d2,_0x168cff:0x65c,_0x38f0c4:0x4f0,_0xf5ee0b:0x3c7,_0x3229fa:0x3e9},_0x58644e={_0x516c78:0x12e},_0x1484c5={};_0x1484c5[_0x4d469d(_0x36516c._0x1e900d,0xf6)]=_0x4a8169(-_0x36516c._0x1d5c0b,-0xe1)+_0x4d469d(0x23f,0xe7),_0x1484c5[_0x4a8169(0x13c,-0xd0)]=_0x4a8169(0x1c1,_0x36516c._0x122ac2)+'d';const _0x1bb3e2=_0x1484c5,_0x43d54e=readPairingConfig(),_0x45f898=normalizeHttpBase(_0x2f7fb0?.['serverUr'+'l']??_0x43d54e?.[_0x4d469d(_0x36516c._0x37a417,0x37d)+'l']??''),_0xce5c88=_0x2f7fb0?.[_0x4a8169(0xff,-_0x36516c._0x556c38)+'d']??_0x43d54e?.[_0x4d469d(-_0x36516c._0xa59423,_0x36516c._0x5a3ac3)+'d']??'',_0xb552e8=_0x2f7fb0?.[_0x4a8169(0x553,0x2ec)+_0x4a8169(0xfe,_0x36516c._0x445f2c)]??_0x43d54e?.[_0x4d469d(0x30e,_0x36516c._0x1dde29)+_0x4a8169(_0x36516c._0x5e3f62,_0x36516c._0x445f2c)]??'';if(!_0x45f898||!_0xce5c88||!_0xb552e8)throw new Error(_0x4d469d(0xb2,_0x36516c._0x3e969b)+_0x4a8169(_0x36516c._0x51ba3a,_0x36516c._0x5d5f66)+_0x4a8169(_0x36516c._0x20df0b,0x384)+_0x4d469d(-_0x36516c._0x164410,_0x36516c._0x3a195b)+_0x4d469d(0x16,0x2bc)+'.');const _0x47c176={};_0x47c176['content-'+_0x4a8169(0x294,_0x36516c._0x51871e)]=_0x1bb3e2['WjeQu'],_0x47c176[_0x4d469d(0x28a,_0x36516c._0x137635)]=_0x4d469d(-0xbf,-0x277)+_0x4d469d(_0x36516c._0x24ed36,0x4b1);const _0xd6a998=await postJsonWithCloudflareFallback(_0x45f898+(_0x4d469d(-_0x36516c._0x43f979,0x100)+_0x4d469d(-0x7a,-_0x36516c._0x5f5644)+_0x4a8169(_0x36516c._0x12fdee,_0x36516c._0x1250a4)),{'method':_0x4d469d(_0x36516c._0x3f1721,_0x36516c._0x1bc20f),'headers':_0x47c176,'body':JSON[_0x4a8169(_0x36516c._0x114a5e,0x3b2)+'y']({'gatewayId':_0xce5c88,'relaySecret':_0xb552e8,'displayName':_0x2f7fb0?.[_0x4d469d(0x3fe,0x5f9)+_0x4a8169(-0x19a,-0x132)]?.[_0x4d469d(0x3e9,_0x36516c._0x1264f4)]()||void 0x0})});if(!_0xd6a998[_0x4a8169(0x49d,0x34c)]['ok'])throw await buildPairingRequestError(_0x4d469d(-0x6b,-_0x36516c._0x2e4084)+_0x4d469d(-_0x36516c._0x3c9fd8,_0x36516c._0x4bca9c)+_0x4a8169(_0x36516c._0x337013,-0xec),_0xd6a998);const _0x2a7d04=await _0xd6a998[_0x4d469d(_0x36516c._0x4f7b5a,0x5f6)][_0x4d469d(0x2fa,0x1fb)]();function _0x4d469d(_0x4eeb6e,_0x2a3cc8){return _0xb2a5b9(_0x2a3cc8,_0x4eeb6e-0x150);}const _0x303d89={'serverUrl':_0x45f898,'gatewayId':_0x2a7d04[_0x4d469d(-_0x36516c._0x433f3f,-0x2f5)+'d'],'relaySecret':_0xb552e8,'relayUrl':_0x2a7d04[_0x4d469d(_0x36516c._0x3fb217,_0x36516c._0x38499e)],'instanceId':_0x43d54e?.['instance'+'Id']??_0x4a8169(_0x36516c._0x1e900d,0x366)+_0x2a7d04[_0x4a8169(_0x36516c._0xe94029,-_0x36516c._0xff52a)+'d'][_0x4d469d(_0x36516c._0x4f247a,_0x36516c._0x502755)](-0xa),'displayName':_0x2a7d04[_0x4d469d(_0x36516c._0x1703de,_0x36516c._0x3cd4c5)+_0x4d469d(-_0x36516c._0x27b646,_0x36516c._0x128fc6)],'createdAt':_0x43d54e?.[_0x4d469d(_0x36516c._0x1cf906,_0x36516c._0x1390c8)+'t']??new Date()[_0x4d469d(0x311,0xd4)+'ing'](),'updatedAt':new Date()[_0x4d469d(_0x36516c._0xe536e5,_0x36516c._0x2f7192)+'ing']()};function _0x4a8169(_0x37e319,_0x5ba6eb){return _0xb2a5b9(_0x37e319,_0x5ba6eb-_0x58644e._0x516c78);}return writePairingConfig(_0x303d89),{'config':_0x303d89,'accessCode':_0x2a7d04['accessCo'+'de'],'accessCodeExpiresAt':_0x2a7d04[_0x4a8169(_0x36516c._0x34aa8f,0x182)+_0x4a8169(_0x36516c._0x1e8ae6,_0x36516c._0x35742c)+_0x4d469d(_0x36516c._0x18aca5,-_0x36516c._0x98cdee)],'action':_0x1bb3e2['SJqSM'],'qrPayload':buildPairingQrPayload({'server':_0x45f898,'gatewayId':_0x2a7d04[_0x4a8169(-_0x36516c._0x518859,-0xe3)+'d'],'accessCode':_0x2a7d04[_0x4a8169(_0x36516c._0x2d1453,_0x36516c._0x1bb2a8)+'de'],'displayName':_0x2a7d04[_0x4d469d(0x3fe,_0x36516c._0xa23cbf)+_0x4a8169(_0x36516c._0xa94513,-_0x36516c._0x46bf60)],'token':_0x2f7fb0?.[_0x4d469d(_0x36516c._0x2c2b9c,-_0x36516c._0x4532e4)+_0x4a8169(_0x36516c._0x168cff,0x428)]?.[_0x4a8169(_0x36516c._0x38f0c4,_0x36516c._0xf5ee0b)]()||null,'password':_0x2f7fb0?.['gatewayP'+'assword']?.[_0x4d469d(_0x36516c._0x3229fa,0x67e)]()||null})};}function normalizeHttpBase(_0x50b278){const _0x371679={_0x593b48:0x727,_0x1a6faf:0xf5,_0x51bfc1:0x220,_0x363079:0x90e,_0x2d3e08:0x476,_0x313e43:0xf6,_0x4319dc:0xb7,_0x37b337:0x16d,_0x2aef88:0x720,_0x4ec167:0x5bd,_0x3d6b85:0x346,_0x2f694d:0x124,_0xdb49d8:0x140,_0x4e0a4f:0x4cd,_0x230eb6:0x724,_0x2e7a66:0x667,_0x3d2e04:0xb3,_0x19bd9b:0x30,_0x46700e:0x418,_0x2db514:0xf6,_0x12cfb0:0x233},_0x1b8f02={_0xc9f42d:0xb9},_0x476ecb={};_0x476ecb[_0x108751(_0x371679._0x593b48,0x7d8)]=_0x5f4ad7(_0x371679._0x1a6faf,-0xe0);function _0x108751(_0x2c7328,_0x1a05ca){return _0x3a90bd(_0x2c7328,_0x1a05ca-0x67c);}_0x476ecb[_0x5f4ad7(0x30,-_0x371679._0x51bfc1)]=_0x5f4ad7(0x2cb,0x19e);const _0x3de4f5=_0x476ecb,_0x3eeafa=_0x50b278[_0x108751(0x8f4,_0x371679._0x363079)]();if(!_0x3eeafa)return'';if(_0x3eeafa['startsWi'+'th'](_0x3de4f5['QDdwv'])||_0x3eeafa[_0x108751(_0x371679._0x2d3e08,0x456)+'th']('https://'))return _0x3eeafa[_0x5f4ad7(-_0x371679._0x313e43,-_0x371679._0x4319dc)](/\/+$/,'');function _0x5f4ad7(_0x3cb39c,_0x21d6e6){return _0x3a90bd(_0x21d6e6,_0x3cb39c-_0x1b8f02._0xc9f42d);}if(_0x3eeafa[_0x5f4ad7(-_0x371679._0x37b337,-0x40d)+'th'](_0x108751(_0x371679._0x2aef88,0x73b)))return(_0x108751(_0x371679._0x4ec167,0x6b8)+_0x3eeafa[_0x5f4ad7(_0x371679._0x3d6b85,0xef)](_0x5f4ad7(0x178,_0x371679._0x2f694d)[_0x5f4ad7(_0x371679._0xdb49d8,0x78)]))[_0x108751(0x262,_0x371679._0x4e0a4f)](/\/+$/,'');if(_0x3eeafa[_0x5f4ad7(-_0x371679._0x37b337,-0x310)+'th'](_0x5f4ad7(0x2cb,0x3e3)))return(_0x108751(_0x371679._0x230eb6,_0x371679._0x2e7a66)+_0x3eeafa[_0x5f4ad7(_0x371679._0x3d6b85,_0x371679._0x3d2e04)](_0x3de4f5[_0x5f4ad7(_0x371679._0x19bd9b,0x204)]['length']))['replace'](/\/+$/,'');return(_0x108751(_0x371679._0x46700e,_0x371679._0x2e7a66)+_0x3eeafa)[_0x5f4ad7(-_0x371679._0x2db514,-_0x371679._0x12cfb0)](/\/+$/,'');}function assessPairingCompatibility(_0x57f7c9,_0x177e82){const _0xdc301c={_0x5041e1:0x57,_0x1d027c:0x3ae,_0x48fa93:0x1f3,_0x310f5f:0x68f,_0x4a3c03:0x541,_0x2ebb11:0x436,_0x41c3b0:0x18b},_0x5d114e={_0x7ed17f:0x27e};function _0x2e4f3b(_0x65b234,_0x4c38e8){return _0x3a90bd(_0x4c38e8,_0x65b234-0x284);}function _0xc37458(_0x5ef94a,_0x15058a){return _0x3a90bd(_0x5ef94a,_0x15058a-_0x5d114e._0x7ed17f);}if(!_0x57f7c9)return _0xc37458(-_0xdc301c._0x5041e1,0x76)+'-new';if(_0x57f7c9[_0x2e4f3b(0x21d,_0xdc301c._0x1d027c)+'l']===_0x177e82)return _0x2e4f3b(0x306,_0xdc301c._0x48fa93)+_0xc37458(_0xdc301c._0x310f5f,_0xdc301c._0x4a3c03);return _0x2e4f3b(_0xdc301c._0x2ebb11,0x4ef)+_0x2e4f3b(_0xdc301c._0x41c3b0,0x413);}async function postJsonWithCloudflareFallback(_0x302550,_0x21eafe){const _0x23ca80={_0x3e9dbe:0xb46,_0xccafb1:0x89c,_0x54dd6b:0x7f3,_0x36f71f:0x82c,_0x41f4fa:0x598,_0x3bcb00:0x1e4,_0x2fe341:0x723},_0x43eec8={_0x283063:0x102},_0x33ee87={'zOZVs':function(_0x389094,_0x36be3d,_0x17f2a6){return _0x389094(_0x36be3d,_0x17f2a6);},'hxQBT':function(_0x2e3fba,_0x6febdd,_0x43dba6){return _0x2e3fba(_0x6febdd,_0x43dba6);}};function _0x10fef4(_0x1e4b4b,_0x29b3ae){return _0xb2a5b9(_0x29b3ae,_0x1e4b4b-_0x43eec8._0x283063);}const _0x272ba2=await _0x33ee87[_0x4669a1(_0x23ca80._0x3e9dbe,_0x23ca80._0xccafb1)](fetch,_0x302550,_0x21eafe),_0x4633d5=resolveCloudflareChallengeFallbackUrl(_0x302550,_0x272ba2);function _0x4669a1(_0x14746b,_0x456fef){return _0xb2a5b9(_0x14746b,_0x456fef-0x60e);}if(!_0x4633d5){const _0x20b737={};return _0x20b737[_0x4669a1(_0x23ca80._0x54dd6b,_0x23ca80._0x36f71f)]=_0x272ba2,_0x20b737[_0x4669a1(_0x23ca80._0x41f4fa,0x79d)+_0x10fef4(0x112,0xd0)]=_0x302550,_0x20b737[_0x4669a1(0x574,0x7ce)+_0x10fef4(0x5f,_0x23ca80._0x3bcb00)]=null,_0x20b737;}return{'response':await _0x33ee87[_0x4669a1(_0x23ca80._0x2fe341,0x5de)](fetch,_0x4633d5,_0x21eafe),'attemptedUrl':_0x302550,'fallbackUrl':_0x4633d5};}async function buildPairingRequestError(_0x4eaf0b,_0x673bd9){const _0x45c244={_0x32bf65:0x8cd,_0x32955b:0x8b4,_0x3c69a6:0x37,_0x222356:0x1ff,_0xbe8bce:0x825,_0x27133b:0x6a6,_0x3e1d85:0x4b,_0x1318a0:0x29a,_0xec1b70:0x4e2,_0x5970e8:0x161,_0x220b2e:0x7e3,_0x577cc1:0x7ee,_0x47d60d:0x10d,_0x524efe:0x7d8,_0x2b78b9:0x37,_0x41cc58:0x275,_0x27fd20:0x58,_0x1cb7d6:0xbc,_0x3460ff:0x4bc,_0x1bfe5f:0xd2,_0x4b1a1c:0xcd,_0x554c34:0x4dc,_0x38763:0x17e,_0x42534e:0x8b6,_0x2093fc:0x974,_0x1c894a:0x78,_0x30dfd2:0x761,_0x38526a:0x286,_0xb573a1:0x30,_0x5b1dff:0x213,_0x380df4:0xf6,_0x26a542:0x39b,_0x1c16cf:0x499,_0x52f481:0x4ea,_0x360ce7:0x2f8,_0xf39048:0x66,_0x57d9f0:0x8b4,_0x2e5e2c:0x887,_0x224d83:0x69e};function _0x2fc255(_0x264298,_0x2c6f7c){return _0x3a90bd(_0x264298,_0x2c6f7c-0x69d);}if(isCloudflareChallengeResponse(_0x673bd9[_0x2fc255(_0x45c244._0x32bf65,_0x45c244._0x32955b)])){const _0x40eefc=new URL(_0x673bd9[_0x2fc255(0x8dc,0x856)+_0x30fb57(_0x45c244._0x3c69a6,_0x45c244._0x222356)]??_0x673bd9[_0x2fc255(0xa66,_0x45c244._0xbe8bce)+_0x2fc255(0x7c5,_0x45c244._0x27133b)])[_0x30fb57(0x40,-_0x45c244._0x3e1d85)],_0x39d163=_0x673bd9[_0x30fb57(_0x45c244._0x1318a0,_0x45c244._0xec1b70)+_0x30fb57(_0x45c244._0x3c69a6,-0x107)]?_0x30fb57(0x3b0,_0x45c244._0x5970e8)+_0x2fc255(_0x45c244._0x220b2e,_0x45c244._0x577cc1)+_0x30fb57(-0x10d,_0x45c244._0x47d60d)+_0x673bd9[_0x2fc255(_0x45c244._0x524efe,0x856)+_0x30fb57(_0x45c244._0x2b78b9,-_0x45c244._0x41cc58)]+(_0x30fb57(-_0x45c244._0x27fd20,0xa4)+_0x30fb57(-0x3c,-0x32)+_0x30fb57(0xeb,_0x45c244._0x1cb7d6)+_0x2fc255(0x401,_0x45c244._0x3460ff)+'.'):'';return new Error(_0x4eaf0b+(_0x30fb57(-_0x45c244._0x1bfe5f,-_0x45c244._0x4b1a1c)+'(')+_0x673bd9['response'][_0x2fc255(0x3e8,_0x45c244._0x554c34)]+(_0x30fb57(-0x14a,-0x17e)+'flare\x20ch'+_0x30fb57(_0x45c244._0x38763,0x386)+_0x2fc255(_0x45c244._0x42534e,_0x45c244._0x2093fc)+'the\x20regi'+_0x2fc255(0xaa2,0x922)+_0x30fb57(_0x45c244._0x1c894a,0x324))+_0x40eefc+'.'+_0x39d163+(_0x2fc255(0x5e0,_0x45c244._0x30dfd2)+_0x30fb57(0x128,_0x45c244._0x38526a)+_0x30fb57(0x3f,-0x213)+'network\x20'+'or\x20use\x20a'+_0x30fb57(_0x45c244._0xb573a1,_0x45c244._0x5b1dff)+_0x30fb57(0x32d,0x297)+_0x30fb57(0x9d,_0x45c244._0x38526a)+_0x2fc255(0x944,0x8d7)+_0x30fb57(0x236,-0x75)+_0x30fb57(0x2e,-_0x45c244._0x380df4)+'\x20verific'+_0x2fc255(_0x45c244._0x26a542,_0x45c244._0x1c16cf)));}function _0x30fb57(_0x1c5001,_0x404b7b){return _0x3a90bd(_0x404b7b,_0x1c5001-0xe1);}return new Error(_0x4eaf0b+(_0x2fc255(0x2d6,_0x45c244._0x52f481)+'(')+_0x673bd9[_0x30fb57(_0x45c244._0x360ce7,0x278)]['status']+_0x30fb57(-0xb7,_0x45c244._0xf39048)+summarizeFailedResponse(await _0x673bd9[_0x2fc255(0x746,_0x45c244._0x57d9f0)][_0x2fc255(_0x45c244._0x2e5e2c,_0x45c244._0x224d83)]()));}function isCloudflareChallengeResponse(_0x593a5d){const _0x2de8f1={_0x27555a:0x5ee,_0x5cbb07:0x707,_0x1f4c06:0x6bb,_0x5305ca:0x139,_0x485714:0x6a3,_0x23b76b:0x46a,_0xb084ee:0x481,_0x39a4f2:0x6d8,_0x13ab46:0x297,_0xcad9c7:0x63f},_0x3d742e={_0x37c4fb:0x28c};function _0x53d7b2(_0x455c69,_0x5965b9){return _0x3a90bd(_0x455c69,_0x5965b9-0x5c7);}const _0x131893={};function _0x45c966(_0x25b99b,_0x547a40){return _0x3a90bd(_0x25b99b,_0x547a40-_0x3d742e._0x37c4fb);}_0x131893[_0x53d7b2(_0x2de8f1._0x27555a,_0x2de8f1._0x5cbb07)]=_0x45c966(-0x203,0x57)+_0x53d7b2(_0x2de8f1._0x1f4c06,0x5b1);const _0x8140e1=_0x131893;return _0x593a5d[_0x45c966(_0x2de8f1._0x5305ca,0xcb)]===0x193&&_0x593a5d[_0x45c966(_0x2de8f1._0x485714,_0x2de8f1._0x23b76b)][_0x53d7b2(_0x2de8f1._0xb084ee,0x4b5)](_0x8140e1[_0x53d7b2(0x8fe,_0x2de8f1._0x5cbb07)])?.[_0x53d7b2(_0x2de8f1._0x39a4f2,0x859)]()[_0x53d7b2(0x568,0x741)+_0x53d7b2(_0x2de8f1._0x13ab46,0x4d3)]()===_0x53d7b2(0x8c2,_0x2de8f1._0xcad9c7)+'e';}function resolveCloudflareChallengeFallbackUrl(_0x1527f1,_0x86cd5d){const _0xbbbbee={_0xe57584:0x793};if(!isCloudflareChallengeResponse(_0x86cd5d))return null;const _0x4ff5fe=new URL(_0x1527f1);function _0x4dd01c(_0x4285f1,_0x8540b3){return _0xb2a5b9(_0x4285f1,_0x8540b3-0x444);}function _0x390212(_0x1eefad,_0x286239){return _0xb2a5b9(_0x286239,_0x1eefad-0x682);}if(_0x4ff5fe[_0x390212(0x5e8,0x44b)]!==DEFAULT_REGISTRY_BASE)return null;return''+DEFAULT_REGISTRY_FALLBACK_BASE+_0x4ff5fe['pathname']+_0x4ff5fe[_0x4dd01c(_0xbbbbee._0xe57584,0x675)];}function summarizeFailedResponse(_0x4e7926){const _0x2a2a2f={_0x4f3494:0x7d3,_0x500684:0x5d8,_0x2dd308:0x683,_0x520bc8:0x8c1,_0x3a05f6:0x512,_0x475be5:0x5be},_0x393b23={_0x59701d:0x5a8};function _0x453924(_0xdf22b0,_0x5d4336){return _0x3a90bd(_0x5d4336,_0xdf22b0-_0x393b23._0x59701d);}const _0x51a87c=_0x4e7926['replace'](/\s+/g,'\x20')[_0x3645f0(0x922,_0x2a2a2f._0x4f3494)]();if(!_0x51a87c)return _0x3645f0(0x539,_0x2a2a2f._0x500684)+_0x453924(_0x2a2a2f._0x2dd308,_0x2a2a2f._0x520bc8)+'ody';function _0x3645f0(_0x2d9f24,_0x541221){return _0x3a90bd(_0x2d9f24,_0x541221-0x541);}if(_0x51a87c[_0x3645f0(_0x2a2a2f._0x3a05f6,0x5c8)]<=0xf0)return _0x51a87c;return _0x51a87c[_0x3645f0(0x5f4,0x7ce)](0x0,0xed)+_0x453924(0x838,_0x2a2a2f._0x475be5);}import{execFileSync,spawn}from'child_process';import{chmodSync,closeSync,existsSync as _0x3ffaef,mkdirSync as _0x19193e,openSync,readFileSync as _0x491827,realpathSync,rmSync as _0x2dd211,writeFileSync as _0x52ea0b}from'fs';import{homedir as _0x3efe4c}from'os';import{dirname,join as _0x27334e}from'path';import{setTimeout as _0x3a6e11}from'timers/promises';var SERVICE_LABEL='ai.clawk'+'et.bridg'+_0xb2a5b9(0x41,-0x168),SYSTEMD_UNIT_NAME=SERVICE_LABEL+_0x3a90bd(0x2ae,0x218),WINDOWS_RUN_KEY='ClawketB'+'ridgeCli',SERVICE_DIR=_0x27334e(_0x3efe4c(),_0xb2a5b9(-0x24c,-0x78)),LOG_DIR=_0x27334e(SERVICE_DIR,_0x3a90bd(0x24d,0x206)),SERVICE_STATE_PATH=_0x27334e(SERVICE_DIR,_0x3a90bd(-0x37d,-0x268)+_0xb2a5b9(-0x28e,0x20)+_0x3a90bd(-0xb2,0x26)),RUNTIME_REGISTRY_PATH=_0x27334e(SERVICE_DIR,'bridge-r'+_0x3a90bd(0x1b4,0x29f)+_0xb2a5b9(-0x27e,-0x1b)+'.json'),SERVICE_LAUNCHER_PATH=_0x27334e(SERVICE_DIR,_0xb2a5b9(-0x242,-0x36)+'launcher'+_0x3a90bd(0x43e,0x271)),LINUX_CRON_RECORD_PATH=_0x27334e(SERVICE_DIR,'bridge-s'+_0xb2a5b9(0x12d,0x23a)+_0xb2a5b9(0x344,0xb7)),SERVICE_LOG_PATH=_0x27334e(LOG_DIR,_0x3a90bd(-0x19b,-0xc0)+_0x3a90bd(0xce,0x156)),SERVICE_ERROR_LOG_PATH=_0x27334e(LOG_DIR,'bridge-c'+_0xb2a5b9(-0xf7,0x16c)+_0x3a90bd(-0x3ea,-0x15e)),MACOS_PLIST_PATH=_0x27334e(_0x3efe4c(),_0xb2a5b9(0x1,0x7d),'LaunchAg'+_0x3a90bd(0x6b,0xa8),SERVICE_LABEL+_0xb2a5b9(0x2ed,0x6c)),LINUX_SERVICE_PATH=_0x27334e(_0x3efe4c(),'.config',_0x3a90bd(0x33c,0x19f),_0xb2a5b9(0x4b1,0x2ed),SYSTEMD_UNIT_NAME),LINUX_CRON_MARKER=_0x3a90bd(-0x3f,-0x19b)+_0x3a90bd(-0x392,-0x1a7)+_0xb2a5b9(-0x155,-0x143);function getServiceProgramArgs(_0x385a83={},_0xd51236=process[_0x3a90bd(0xe8,0xda)]){const _0x32b551={_0x2e98d6:0x393,_0x26ace2:0x324,_0x2decd6:0x1d,_0x472c2b:0x46b,_0x134d96:0xf2,_0x15dc6b:0x743,_0x19c601:0x204,_0x4e3b21:0x410,_0x416430:0x2aa,_0x39d2ab:0x4af,_0x52577b:0x5a},_0x57d72c={_0x3bc093:0x92},_0x2578dd={_0x50368d:0x383},_0x5742b6={'ejhdO':_0x356a51(0x3be,_0x32b551._0x2e98d6),'TeGBA':function(_0x5b8837,_0x16d81d){return _0x5b8837(_0x16d81d);},'KzpQx':'run','ffScM':'--servic'+'e'},_0x4fe189=_0x385a83[_0xcb2e5a(-0x15a,-0x129)]?.[_0xcb2e5a(_0x32b551._0x26ace2,0x4b5)]()||process[_0xcb2e5a(_0x32b551._0x2decd6,0x2a2)],_0x27bc9c=resolveScriptPath(_0x385a83[_0x356a51(-0xce,0x146)+'th']);function _0x356a51(_0x2a2437,_0x1ab593){return _0x3a90bd(_0x2a2437,_0x1ab593-_0x2578dd._0x50368d);}if(!_0x27bc9c)throw new Error('Unable\x20t'+_0x356a51(0x411,0x4db)+_0x356a51(_0x32b551._0x472c2b,0x671)+_0xcb2e5a(0xa8,-_0x32b551._0x134d96)+_0x356a51(_0x32b551._0x15dc6b,0x515)+'rvice\x20in'+_0x356a51(0x126,0x247)+'on.');function _0xcb2e5a(_0x277f2e,_0x55a5ef){return _0x3a90bd(_0x55a5ef,_0x277f2e-_0x57d72c._0x3bc093);}if(_0xd51236!==_0x5742b6[_0x356a51(0x2d2,0x42e)]){const _0xb938a7={};_0xb938a7[_0x356a51(0x208,0x197)]=_0x4fe189,_0xb938a7['scriptPa'+'th']=_0x27bc9c,_0xb938a7[_0xcb2e5a(_0x32b551._0x19c601,_0x32b551._0x4e3b21)]=process.env.PATH??'';const _0x88c7ab=_0x5742b6[_0xcb2e5a(0x2a2,_0x32b551._0x416430)](writeServiceLauncher,_0xb938a7);return ensureLaunchScriptExecutable(_0x88c7ab,_0xd51236),[_0x88c7ab];}return[_0x4fe189,_0x27bc9c,_0x5742b6[_0x356a51(0x671,_0x32b551._0x39d2ab)],_0x5742b6[_0xcb2e5a(_0x32b551._0x52577b,0xf1)]];}function getServiceStatus(){const _0x3d9e79={_0x390000:0x2e8,_0x483d77:0x462,_0x364400:0x366,_0x1ba146:0x85,_0x1612f8:0x194,_0x1b8db3:0x3bd,_0x51d4f0:0x4ff,_0x46ac23:0x634,_0x5cbb7c:0x526,_0x56858d:0x492,_0x5e4e14:0x63c,_0x5c004a:0x3d6,_0x1e14b8:0x474,_0x51fe05:0x4d0,_0x4d5b5c:0x4fc,_0x4bf296:0x315,_0xd084eb:0xf,_0xeed560:0x500,_0xc27a30:0x3b9,_0x3edf4e:0x25d,_0x46b44:0x1c5,_0x30ad0a:0x131,_0x5618dc:0x2c,_0x1c6159:0x44b,_0x2f5f0c:0x2c9,_0xf948f:0x46b,_0x40c9c4:0x3,_0x21a5ec:0x4d8,_0x2f6549:0x4a7,_0x349dc5:0x3a4},_0x1a5480={_0x5846f5:0x246},_0x1709c4={'THjry':function(_0x1c12c0,_0x1a43bc){return _0x1c12c0!=_0x1a43bc;},'jQxgg':function(_0x439ecd,_0x58c9c3){return _0x439ecd(_0x58c9c3);},'VaMZX':function(_0x2f4ed4,_0x31a035){return _0x2f4ed4(_0x31a035);},'vAEyE':_0x1a168d(0x2b2,_0x3d9e79._0x390000)+'l','hhMoZ':_0x225397(0x264,0x279),'BTqYv':_0x1a168d(_0x3d9e79._0x483d77,_0x3d9e79._0x364400)+_0x225397(0x573,0x34e)+'crosoft\x5c'+_0x225397(_0x3d9e79._0x1ba146,_0x3d9e79._0x1612f8)+'CurrentV'+_0x225397(0x2a7,_0x3d9e79._0x1b8db3)+'un'};function _0x1a168d(_0x4bdff7,_0x589f1d){return _0xb2a5b9(_0x4bdff7,_0x589f1d-0x2e4);}ensureServiceDirs();const _0x1029fc=readServiceState()?.['pid']??null,_0x2f59d0=detectServiceMethod(),_0x5e66b4={'installed':![],'running':_0x1709c4[_0x225397(0x2b8,_0x3d9e79._0x51d4f0)](_0x1029fc,null)&&_0x1709c4['jQxgg'](isPidRunning,_0x1029fc),'method':_0x2f59d0,'servicePath':_0x1709c4[_0x225397(_0x3d9e79._0x46ac23,_0x3d9e79._0x5cbb7c)](getServicePath,_0x2f59d0),'logPath':SERVICE_LOG_PATH,'errorLogPath':SERVICE_ERROR_LOG_PATH,'pid':_0x1029fc};function _0x225397(_0x25cf81,_0x57b2a7){return _0xb2a5b9(_0x25cf81,_0x57b2a7-_0x1a5480._0x5846f5);}_0x5e66b4[_0x225397(0x29d,0x3d6)]!=null&&!_0x5e66b4['running']&&(_0x1709c4[_0x225397(_0x3d9e79._0x56858d,0x526)](clearServiceState,_0x5e66b4[_0x225397(_0x3d9e79._0x5e4e14,_0x3d9e79._0x5c004a)]),_0x5e66b4[_0x1a168d(0x2c8,_0x3d9e79._0x1e14b8)]=null);switch(_0x5e66b4[_0x1a168d(_0x3d9e79._0x51fe05,_0x3d9e79._0x4d5b5c)]){case _0x225397(_0x3d9e79._0x4bf296,0x178)+_0x1a168d(-_0x3d9e79._0xd084eb,0x93):_0x5e66b4[_0x1a168d(_0x3d9e79._0xeed560,0x25d)+'d']=_0x3ffaef(MACOS_PLIST_PATH);_0x5e66b4[_0x1a168d(_0x3d9e79._0xc27a30,_0x3d9e79._0x3edf4e)+'d']&&(_0x5e66b4[_0x1a168d(0x30b,0x44b)]=commandSucceeds(_0x1709c4[_0x225397(0x83,_0x3d9e79._0x46b44)],['list',SERVICE_LABEL])||_0x5e66b4[_0x225397(0x4da,0x3ad)]);return _0x5e66b4;case _0x1a168d(-0x4d,_0x3d9e79._0x30ad0a)+'user':_0x5e66b4[_0x1a168d(_0x3d9e79._0x5618dc,0x25d)+'d']=_0x3ffaef(LINUX_SERVICE_PATH);_0x5e66b4['installe'+'d']&&(_0x5e66b4[_0x1a168d(0x1c2,_0x3d9e79._0x1c6159)]=commandSucceeds('systemct'+'l',[_0x225397(_0x3d9e79._0x2f5f0c,0x321),_0x1a168d(0x2e4,_0x3d9e79._0xf948f)+'e','--quiet',SYSTEMD_UNIT_NAME])||_0x5e66b4[_0x1a168d(0x2dc,0x44b)]);return _0x5e66b4;case'linux-cr'+'ontab':_0x5e66b4[_0x1a168d(-_0x3d9e79._0x40c9c4,_0x3d9e79._0x3edf4e)+'d']=hasLinuxCronRegistration();return _0x5e66b4;case'windows-'+_0x1a168d(_0x3d9e79._0x21a5ec,_0x3d9e79._0x2f6549)+'stry':_0x5e66b4[_0x225397(0x17e,0x1bf)+'d']=commandSucceeds(_0x1709c4['hhMoZ'],[_0x1a168d(_0x3d9e79._0x349dc5,0x230),_0x1709c4[_0x225397(0x353,0x4c1)],'/v',WINDOWS_RUN_KEY]);return _0x5e66b4;default:return _0x5e66b4;}}function installService(_0x168fa8={}){const _0x21a8fc={_0x51d0df:0x4dc,_0x4766e9:0x5e0,_0x438270:0x112,_0x54eda3:0x775,_0x5d3fa2:0x5b9,_0x32e5b9:0x1dc,_0x4f4a3c:0x2ff,_0x622daa:0x52a,_0x279a42:0x345,_0x2c6405:0xe2,_0x75deaa:0x6d6,_0x3aa34c:0x4ef,_0x130451:0x116,_0x17d5db:0x3be,_0x38063e:0x50b,_0x2c0c27:0x532,_0xd0c5c:0x35e,_0x2d6617:0x525,_0x4a8046:0x21d,_0x2659f4:0x429,_0x4f756a:0x6e,_0x3ace88:0x51a,_0x3b2c32:0x5e,_0x2a0818:0x1f5},_0x8037ac={_0x28371c:0x4d8},_0x57d1a1={_0x358d79:0xde},_0xe9e273={'csIvC':_0x481fff(0x418,_0x21a8fc._0x51d0df)+'l','VRmeA':'unload','GNcxy':function(_0x49bf0,_0xfbc01d,_0x3979e7,_0x398828){return _0x49bf0(_0xfbc01d,_0x3979e7,_0x398828);},'xcDSk':function(_0x5e6e76){return _0x5e6e76();},'caLrz':_0x40d4c5(0x160,-0x2d)+_0x481fff(0x4b0,_0x21a8fc._0x4766e9)+_0x481fff(0x690,0x780)+_0x481fff(0x3b5,0x426)+_0x481fff(_0x21a8fc._0x438270,0x2c5)+_0x40d4c5(0x255,0x250)+'un'};function _0x40d4c5(_0xb916b1,_0x3cfbc7){return _0xb2a5b9(_0x3cfbc7,_0xb916b1-_0x57d1a1._0x358d79);}ensureServiceDirs();const _0x69d1e4=getServiceProgramArgs(_0x168fa8);switch(process[_0x481fff(_0x21a8fc._0x54eda3,_0x21a8fc._0x5d3fa2)]){case _0x481fff(0x5f0,0x53a):_0x52ea0b(MACOS_PLIST_PATH,buildMacosPlist(_0x69d1e4,SERVICE_LOG_PATH,SERVICE_ERROR_LOG_PATH),_0x481fff(0x3b0,0x3d9)),execIgnoreFailure(_0xe9e273['csIvC'],[_0xe9e273[_0x40d4c5(0xa7,_0x21a8fc._0x32e5b9)],'-w',MACOS_PLIST_PATH]);const _0x4ab3fa={};_0x4ab3fa[_0x481fff(0x10b,_0x21a8fc._0x4f4a3c)]=_0x481fff(0x379,_0x21a8fc._0x622daa),_0xe9e273[_0x481fff(0x276,_0x21a8fc._0x279a42)](execFileSync,_0x40d4c5(_0x21a8fc._0x2c6405,-0x12)+'l',['load','-w',MACOS_PLIST_PATH],_0x4ab3fa);break;case _0x481fff(0x6fa,_0x21a8fc._0x75deaa):installLinuxService(_0x69d1e4);break;case _0x481fff(0x6fa,_0x21a8fc._0x3aa34c):_0xe9e273[_0x481fff(_0x21a8fc._0x130451,_0x21a8fc._0x17d5db)](stopRunningProcess);const _0x494eef={};_0x494eef[_0x40d4c5(-0xfb,-0x241)]=_0x481fff(0x7d5,0x52a),execFileSync(_0x481fff(0x2bf,_0x21a8fc._0x38063e),['add',_0xe9e273[_0x481fff(0x444,_0x21a8fc._0x2c0c27)],'/v',WINDOWS_RUN_KEY,'/t',_0x481fff(_0x21a8fc._0xd0c5c,_0x21a8fc._0x2d6617),'/d',buildWindowsRunCommand(_0x69d1e4),'/f'],_0x494eef),startDetachedWindowsService(_0x69d1e4);break;default:throw new Error(_0x40d4c5(_0x21a8fc._0x4a8046,0x29d)+_0x481fff(_0x21a8fc._0x2659f4,0x49d)+_0x40d4c5(-_0x21a8fc._0x4f756a,0x69)+_0x481fff(_0x21a8fc._0x3ace88,0x4ff)+_0x40d4c5(-0x15c,0x73)+_0x40d4c5(_0x21a8fc._0x3b2c32,_0x21a8fc._0x2a0818)+'n:\x20'+process['platform']);}function _0x481fff(_0x2a784f,_0x4c520b){return _0xb2a5b9(_0x2a784f,_0x4c520b-_0x8037ac._0x28371c);}return getServiceStatus();}function restartService(_0xa9637={}){const _0x3fa49b={_0x4ab06a:0x45,_0x4aa99a:0xd,_0x491558:0x288,_0x399da6:0x2a4,_0x720b35:0x1e4,_0x9190fe:0x253,_0x41263d:0x262,_0x37aa5a:0x40,_0x2ed6a5:0x222,_0xe32a7d:0x173,_0x50c400:0x9,_0x2fc714:0x3fc,_0x517c8b:0x16c,_0x5606f9:0x233,_0x1e2ce8:0x33,_0x335112:0x2ba,_0xbbc633:0x39,_0x1efa35:0x34a,_0x17c05d:0xa,_0x2c7750:0x1b0,_0x3e4979:0x159,_0x2226a0:0x4f8,_0x84be9:0xf6,_0x2c352f:0x260,_0xb2c10a:0x328,_0x13cb7a:0x98};function _0x56028e(_0x59321c,_0x2c97f1){return _0x3a90bd(_0x59321c,_0x2c97f1- -0x42);}function _0x55524c(_0x1d88c5,_0xf00abb){return _0x3a90bd(_0x1d88c5,_0xf00abb-0x249);}const _0x240144={'IAtBs':_0x56028e(-0x16c,-_0x3fa49b._0x4ab06a)+'l','LXlss':_0x55524c(0x3fc,0x4ff),'UfBNV':_0x56028e(0x2b4,0x1b5),'neCni':_0x55524c(0x169,0x259),'prZhr':function(_0x588a1a){return _0x588a1a();},'dOzKG':function(_0x4baa43,_0x109807,_0x284d01,_0x41af2d){return _0x4baa43(_0x109807,_0x284d01,_0x41af2d);},'sowvo':_0x55524c(-_0x3fa49b._0x4aa99a,0x275),'oDxYI':function(_0x406e1e,_0x234aa6){return _0x406e1e(_0x234aa6);}};ensureServiceDirs();const _0x1514ba=getServiceProgramArgs(_0xa9637);switch(process['platform']){case _0x55524c(_0x3fa49b._0x491558,_0x3fa49b._0x399da6):if(!_0x3ffaef(MACOS_PLIST_PATH))return installService(_0xa9637);_0x52ea0b(MACOS_PLIST_PATH,buildMacosPlist(_0x1514ba,SERVICE_LOG_PATH,SERVICE_ERROR_LOG_PATH),_0x55524c(0x82,0x143)),execIgnoreFailure(_0x56028e(_0x3fa49b._0x720b35,-0x45)+'l',[_0x56028e(-_0x3fa49b._0x9190fe,-0xf6),'-w',MACOS_PLIST_PATH]);const _0x1c6287={};_0x1c6287['stdio']='ignore',execFileSync(_0x240144['IAtBs'],[_0x240144[_0x56028e(-0x4a8,-_0x3fa49b._0x41263d)],'-w',MACOS_PLIST_PATH],_0x1c6287);break;case _0x240144[_0x56028e(-_0x3fa49b._0x37aa5a,0x52)]:restartLinuxService(_0x1514ba);break;case _0x240144[_0x55524c(-0xea,0x22)]:_0x240144['prZhr'](stopRunningProcess);const _0x2a1034={};_0x2a1034[_0x56028e(-0x284,-_0x3fa49b._0x2ed6a5)]=_0x56028e(_0x3fa49b._0xe32a7d,_0x3fa49b._0x50c400),_0x240144[_0x55524c(-0xc7,0x1d7)](execFileSync,_0x240144[_0x55524c(_0x3fa49b._0x2fc714,_0x3fa49b._0x517c8b)],[_0x56028e(_0x3fa49b._0x5606f9,-_0x3fa49b._0x1e2ce8),_0x56028e(_0x3fa49b._0x335112,_0x3fa49b._0xbbc633)+_0x55524c(0x1b3,_0x3fa49b._0x1efa35)+_0x56028e(0x483,0x25f)+_0x55524c(0x2d,0x190)+_0x55524c(_0x3fa49b._0x17c05d,0x2f)+_0x56028e(_0x3fa49b._0x2c7750,0x12e)+'un','/v',WINDOWS_RUN_KEY,'/t',_0x55524c(_0x3fa49b._0x3e4979,0x28f),'/d',_0x240144[_0x55524c(0x293,_0x3fa49b._0x2226a0)](buildWindowsRunCommand,_0x1514ba),'/f'],_0x2a1034),startDetachedWindowsService(_0x1514ba);break;default:throw new Error(_0x56028e(0x20d,_0x3fa49b._0x84be9)+_0x55524c(0x298,0x207)+'form\x20for'+'\x20CLI\x20ser'+'vice\x20res'+_0x56028e(_0x3fa49b._0x2c352f,0x158)+process[_0x56028e(_0x3fa49b._0xb2c10a,_0x3fa49b._0x13cb7a)]);}return getServiceStatus();}async function startTransientRuntime(_0x183bcd={}){const _0x57423d={_0x3fc9f2:0x6e8,_0x504475:0x48a,_0x2ce2b1:0x746,_0x150e7c:0x438,_0xa7bca5:0x675,_0x222094:0x265,_0xe85cd4:0x79b,_0x413117:0x797},_0x38d724={_0x322dcf:0x607};ensureServiceDirs();function _0x47b906(_0xe6cba8,_0x4dd5db){return _0xb2a5b9(_0x4dd5db,_0xe6cba8-0x473);}const _0x318f04=getServiceProgramArgs(_0x183bcd);function _0x2c8408(_0x1a7ece,_0x409d0f){return _0xb2a5b9(_0x1a7ece,_0x409d0f-_0x38d724._0x322dcf);}switch(process[_0x2c8408(0x7a0,_0x57423d._0x3fc9f2)]){case'darwin':case _0x47b906(0x671,0x3c6):startDetachedPosixService(_0x318f04);break;case _0x47b906(_0x57423d._0x504475,0x71d):startDetachedWindowsService(_0x318f04);break;default:throw new Error(_0x2c8408(0x582,_0x57423d._0x2ce2b1)+_0x47b906(_0x57423d._0x150e7c,_0x57423d._0xa7bca5)+_0x47b906(0x327,_0x57423d._0x222094)+'\x20transie'+_0x47b906(0x510,0x668)+'untime\x20s'+_0x2c8408(_0x57423d._0xe85cd4,0x7a8)+process[_0x2c8408(_0x57423d._0x413117,_0x57423d._0x3fc9f2)]);}return waitForRuntimeState();}function uninstallService(){const _0x19cab8={_0x19c980:0x83b,_0x1050d7:0x759,_0x8859a2:0x516,_0x497ddc:0x34f,_0x547883:0x1fb,_0x5d88dd:0x585,_0x508949:0x650,_0x44091c:0x2ba,_0x4c8ff5:0x7b8,_0x21be0e:0x50d,_0x5ae40c:0x739,_0x58259e:0x508,_0x578118:0x4b7,_0x581fef:0x59e,_0x500d7d:0x75f,_0x302d62:0x326,_0x4b4dfc:0x14c,_0xb24d15:0x2b4,_0x1b41bd:0x79a,_0x22c1da:0x7b2,_0x57976a:0x672,_0x4ce951:0x16a,_0x3dacac:0x6c5},_0x4f11c9={_0x4e351:0x40e};function _0x5cb68f(_0x2fd734,_0x16e7bd){return _0xb2a5b9(_0x16e7bd,_0x2fd734-_0x4f11c9._0x4e351);}const _0x44cd3e={'EaWUV':function(_0x49c4b8){return _0x49c4b8();},'joVOZ':function(_0x25b0bd,_0x4ca643,_0x20c105){return _0x25b0bd(_0x4ca643,_0x20c105);},'KpzmX':'unload','FIjvX':_0x22f4bb(0x653,0x4f1),'OAMOu':_0x22f4bb(_0x19cab8._0x19c980,_0x19cab8._0x1050d7)+_0x5cb68f(_0x19cab8._0x8859a2,_0x19cab8._0x497ddc)+'crosoft\x5c'+'Windows\x5c'+_0x5cb68f(_0x19cab8._0x547883,0xb6)+_0x5cb68f(_0x19cab8._0x5d88dd,_0x19cab8._0x508949)+'un'};function _0x22f4bb(_0x45d965,_0x13f7fe){return _0xb2a5b9(_0x45d965,_0x13f7fe-0x6d7);}_0x44cd3e[_0x5cb68f(0x504,_0x19cab8._0x44091c)](stopRunningProcess);switch(process[_0x22f4bb(0x9a6,_0x19cab8._0x4c8ff5)]){case _0x22f4bb(_0x19cab8._0x21be0e,_0x19cab8._0x5ae40c):_0x44cd3e[_0x5cb68f(_0x19cab8._0x58259e,_0x19cab8._0x578118)](execIgnoreFailure,'launchct'+'l',[_0x44cd3e[_0x22f4bb(_0x19cab8._0x581fef,0x514)],'-w',MACOS_PLIST_PATH]),rmIfExists(MACOS_PLIST_PATH);break;case _0x22f4bb(0xa2d,0x8d5):_0x3ffaef(LINUX_SERVICE_PATH)&&(_0x44cd3e['joVOZ'](execIgnoreFailure,_0x22f4bb(_0x19cab8._0x500d7d,0x57d)+'l',[_0x22f4bb(0x929,0x7b2),_0x44cd3e[_0x5cb68f(_0x19cab8._0x302d62,_0x19cab8._0x4b4dfc)],_0x5cb68f(0x5e5,0x55f),SYSTEMD_UNIT_NAME]),rmIfExists(LINUX_SERVICE_PATH),execIgnoreFailure(_0x5cb68f(_0x19cab8._0xb24d15,0x28f)+'l',[_0x22f4bb(_0x19cab8._0x1b41bd,_0x19cab8._0x22c1da),_0x22f4bb(_0x19cab8._0x57976a,0x697)+_0x5cb68f(0x3e3,_0x19cab8._0x4ce951)]));removeLinuxCronRegistration();break;case _0x5cb68f(0x425,0x28d):execIgnoreFailure('reg',['delete',_0x44cd3e[_0x22f4bb(0x7d2,_0x19cab8._0x3dacac)],'/v',WINDOWS_RUN_KEY,'/f']);break;default:break;}return clearServiceState(),getServiceStatus();}function stopService(){const _0x7e707={_0x5ec793:0x48e,_0xae8dd4:0x472,_0x106cd7:0x21a,_0x2d5b09:0x1a7,_0x3b2d09:0x19b,_0x2f2255:0x337,_0x1aedc9:0x5f,_0x1cac27:0x23e,_0x2f08c7:0x3ef,_0x5cadd6:0x545},_0x2ed8a8={_0x523d5a:0x139},_0x1b32f9={'MJSjs':function(_0x51f277){return _0x51f277();},'sdnXn':_0x37bfd7(_0x7e707._0x5ec793,_0x7e707._0xae8dd4),'aiBtF':'win32'};function _0xfc75c9(_0x1f18cc,_0x367f90){return _0xb2a5b9(_0x367f90,_0x1f18cc-_0x2ed8a8._0x523d5a);}function _0x37bfd7(_0xe5cf2a,_0x218325){return _0xb2a5b9(_0xe5cf2a,_0x218325-0x2e6);}_0x1b32f9['MJSjs'](stopRunningProcess);switch(process[_0xfc75c9(_0x7e707._0x106cd7,_0x7e707._0x2d5b09)]){case _0xfc75c9(_0x7e707._0x3b2d09,0xf6):_0x3ffaef(MACOS_PLIST_PATH)&&execIgnoreFailure('launchct'+'l',['unload',MACOS_PLIST_PATH]);break;case _0xfc75c9(_0x7e707._0x2f2255,0x138):_0x3ffaef(LINUX_SERVICE_PATH)&&execIgnoreFailure('systemct'+'l',[_0xfc75c9(0x214,-_0x7e707._0x1aedc9),_0x1b32f9[_0xfc75c9(_0x7e707._0x1cac27,_0x7e707._0x2f08c7)],SYSTEMD_UNIT_NAME]);break;case _0x1b32f9[_0x37bfd7(0x687,0x462)]:break;default:break;}return clearServiceState(),_0x1b32f9[_0x37bfd7(_0x7e707._0x5cadd6,_0x7e707._0x2f08c7)](getServiceStatus);}function writeServiceState(_0x591d3c=process[_0x3a90bd(-0x112,0x189)]){const _0x27a6e4={_0x5b5337:0x270,_0x233a36:0x2b1,_0x585efa:0x1ba,_0x42011f:0x7a1,_0x32d287:0x84c,_0x3bf94e:0x5d9},_0x376f7b={_0x3f017f:0x524},_0x596562={_0x4bd436:0x376},_0x533672={};function _0x37cd53(_0x5b06c6,_0x44ab09){return _0x3a90bd(_0x5b06c6,_0x44ab09-_0x596562._0x4bd436);}_0x533672['JNyud']=function(_0x2e2028,_0x1b57f0){return _0x2e2028+_0x1b57f0;},_0x533672[_0xa46937(0x696,0x5d9)]=_0x37cd53(0x405,_0x27a6e4._0x5b5337);function _0xa46937(_0x19a862,_0x3482e7){return _0x3a90bd(_0x19a862,_0x3482e7-_0x376f7b._0x3f017f);}const _0x5a2eb4=_0x533672;ensureServiceDirs();const _0x124c97={'pid':_0x591d3c,'startedAt':new Date()['toISOStr'+_0x37cd53(_0x27a6e4._0x233a36,_0x27a6e4._0x585efa)]()};_0x52ea0b(SERVICE_STATE_PATH,_0x5a2eb4[_0xa46937(0x28f,0x414)](JSON[_0xa46937(0x965,_0x27a6e4._0x42011f)+'y'](_0x124c97,null,0x2),'\x0a'),_0x5a2eb4[_0xa46937(_0x27a6e4._0x32d287,_0x27a6e4._0x3bf94e)]);}function registerRuntimeProcess(_0x367c90){const _0x2d5027={_0x4f8f9e:0x293,_0x22284f:0x2c,_0x3d4dff:0x1e6,_0x17513c:0x1d,_0x395b5a:0x18a,_0x46a800:0x2fd,_0x4c29d7:0xd6,_0x3e76f1:0x2a1,_0x222cea:0x382,_0x439f29:0x31f},_0x4dbd37={_0x239904:0x103},_0x52c98f={_0x411069:0x39b};ensureServiceDirs();function _0x2188cd(_0x2bcde1,_0x487782){return _0xb2a5b9(_0x2bcde1,_0x487782-_0x52c98f._0x411069);}function _0x2107f1(_0x409992,_0x90f81b){return _0xb2a5b9(_0x90f81b,_0x409992-_0x4dbd37._0x239904);}const _0x3606b7={'pid':_0x367c90[_0x2107f1(0x293,0x3fd)]??process[_0x2107f1(_0x2d5027._0x4f8f9e,_0x2d5027._0x22284f)],'startedAt':_0x367c90[_0x2107f1(0x221,0x49)+'t']??new Date()[_0x2107f1(0x2c4,0x396)+_0x2188cd(0x2f2,_0x2d5027._0x3d4dff)](),'gatewayId':_0x367c90[_0x2188cd(_0x2d5027._0x17513c,_0x2d5027._0x395b5a)+'d'],'instanceId':_0x367c90[_0x2107f1(-0x130,-_0x2d5027._0x46a800)+'Id'],'serviceMode':_0x367c90[_0x2107f1(-0xce,_0x2d5027._0x4c29d7)+_0x2107f1(_0x2d5027._0x3e76f1,_0x2d5027._0x222cea)],'scriptPath':resolveScriptPath(_0x367c90['scriptPa'+'th'])},_0x54e476=readRuntimeRegistry()[_0x2107f1(_0x2d5027._0x439f29,0x421)](_0x4a372a=>_0x4a372a[_0x2188cd(0x290,0x52b)]!==_0x3606b7['pid'])['concat'](_0x3606b7);writeRuntimeRegistry(_0x54e476);}function unregisterRuntimeProcess(_0x49ab2e=process['pid']){function _0x4f9c83(_0x43a097,_0x139ebc){return _0x3a90bd(_0x43a097,_0x139ebc-0x73e);}const _0x2e87b8=readRuntimeRegistry()[_0x4f9c83(0xa03,0x953)](_0x329474=>_0x329474['pid']!==_0x49ab2e);writeRuntimeRegistry(_0x2e87b8);}function _0x346a(_0x1c0468,_0x3a3f44){_0x1c0468=_0x1c0468-0x10c;const _0x2946d1=_0x2cc1();let _0x47f9c5=_0x2946d1[_0x1c0468];if(_0x346a['rRdZSR']===undefined){var _0x162df0=function(_0x1040a2){const _0x2ab523='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x43eed9='',_0x43c05a='',_0x1d21cf=_0x43eed9+_0x162df0;for(let _0xc8cb34=0x0,_0x18afcb,_0x5c4fe0,_0x59f33c=0x0;_0x5c4fe0=_0x1040a2['charAt'](_0x59f33c++);~_0x5c4fe0&&(_0x18afcb=_0xc8cb34%0x4?_0x18afcb*0x40+_0x5c4fe0:_0x5c4fe0,_0xc8cb34++%0x4)?_0x43eed9+=_0x1d21cf['charCodeAt'](_0x59f33c+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x18afcb>>(-0x2*_0xc8cb34&0x6)):_0xc8cb34:0x0){_0x5c4fe0=_0x2ab523['indexOf'](_0x5c4fe0);}for(let _0x25e71b=0x0,_0x4adff1=_0x43eed9['length'];_0x25e71b<_0x4adff1;_0x25e71b++){_0x43c05a+='%'+('00'+_0x43eed9['charCodeAt'](_0x25e71b)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x43c05a);};_0x346a['CTPaeT']=_0x162df0,_0x346a['YUnObc']={},_0x346a['rRdZSR']=!![];}const _0x2cc1d5=_0x2946d1[0x0],_0x346adc=_0x1c0468+_0x2cc1d5,_0x2dd8a7=_0x346a['YUnObc'][_0x346adc];if(!_0x2dd8a7){const _0x2dae48=function(_0x411e17){this['YSXjmF']=_0x411e17,this['EIFfNX']=[0x1,0x0,0x0],this['NQKbkZ']=function(){return'newState';},this['PRHhkl']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['YppsZB']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x2dae48['prototype']['cXVfhM']=function(){const _0x54df31=new RegExp(this['PRHhkl']+this['YppsZB']),_0xd95ea7=_0x54df31['test'](this['NQKbkZ']['toString']())?--this['EIFfNX'][0x1]:--this['EIFfNX'][0x0];return this['oTUKYk'](_0xd95ea7);},_0x2dae48['prototype']['oTUKYk']=function(_0x3bec63){if(!Boolean(~_0x3bec63))return _0x3bec63;return this['zJpPqE'](this['YSXjmF']);},_0x2dae48['prototype']['zJpPqE']=function(_0x1a7dc5){for(let _0xc6eb71=0x0,_0xf1e5c2=this['EIFfNX']['length'];_0xc6eb71<_0xf1e5c2;_0xc6eb71++){this['EIFfNX']['push'](Math['round'](Math['random']())),_0xf1e5c2=this['EIFfNX']['length'];}return _0x1a7dc5(this['EIFfNX'][0x0]);},new _0x2dae48(_0x346a)['cXVfhM'](),_0x47f9c5=_0x346a['CTPaeT'](_0x47f9c5),_0x346a['YUnObc'][_0x346adc]=_0x47f9c5;}else _0x47f9c5=_0x2dd8a7;return _0x47f9c5;}function isAutostartUnsupportedError(_0x2170a3){const _0xad15e7={_0x2cfd34:0x46,_0x393839:0x255,_0xf6c203:0x1f8,_0xcec324:0x177,_0x53144e:0x329,_0x19a4b7:0x319,_0xb47a2c:0xbc,_0x3072a9:0x63},_0x29d27e={_0x39cae3:0x6f};function _0x5e3f58(_0x58c4d3,_0x4ef756){return _0xb2a5b9(_0x58c4d3,_0x4ef756-0x3fd);}const _0x5736e2=formatError(_0x2170a3)['toLowerC'+_0x3ed6d4(_0xad15e7._0x2cfd34,-0x15c)]();function _0x3ed6d4(_0x51d1dd,_0x19e437){return _0xb2a5b9(_0x51d1dd,_0x19e437- -_0x29d27e._0x39cae3);}return _0x5736e2['includes']('no\x20cront'+_0x3ed6d4(_0xad15e7._0x393839,_0xad15e7._0xf6c203)+'ack\x20is\x20a'+_0x5e3f58(0x7d7,0x6f3))||_0x5736e2[_0x5e3f58(0x57c,0x301)](_0x3ed6d4(_0xad15e7._0xcec324,0x94)+_0x5e3f58(_0xad15e7._0x53144e,0x3c2)+_0x3ed6d4(-0x1da,-0x1bb)+_0x3ed6d4(_0xad15e7._0x19a4b7,0x12e)+_0x3ed6d4(_0xad15e7._0xb47a2c,-_0xad15e7._0x3072a9));}function listRuntimeProcesses(_0x26b58a={}){const _0x8ba21a={_0x326806:0x52c,_0x3ba76e:0x2bd,_0xc2e4bf:0x86d,_0x388708:0x779,_0x3d3db5:0x6b4,_0x32a80f:0x900,_0x5f547e:0x71d},_0x3493dc={_0x216afd:0x6e4},_0x365c64=resolveScriptPath(_0x26b58a[_0x4b9516(_0x8ba21a._0x326806,_0x8ba21a._0x3ba76e)+'th']);function _0x159e22(_0x4f911f,_0x4d147a){return _0xb2a5b9(_0x4d147a,_0x4f911f-_0x3493dc._0x216afd);}const _0x2b3ea9=readRuntimeRegistry(),_0x1f940b=[..._0x2b3ea9],_0x573d17=new Set(_0x2b3ea9[_0x159e22(_0x8ba21a._0xc2e4bf,0x842)](_0x1bda0e=>_0x1bda0e[_0x159e22(0x874,0xa4f)]));function _0x4b9516(_0x318774,_0x3e6e60){return _0xb2a5b9(_0x318774,_0x3e6e60-0x4f3);}for(const _0x239c16 of listPosixRuntimePids(_0x365c64)){if(_0x573d17['has'](_0x239c16))continue;_0x1f940b[_0x4b9516(_0x8ba21a._0x388708,0x506)]({'pid':_0x239c16,'startedAt':new Date(0x0)[_0x4b9516(0x6aa,_0x8ba21a._0x3d3db5)+_0x159e22(0x52f,0x6fd)](),'gatewayId':'','instanceId':'','serviceMode':![],'scriptPath':_0x365c64});}return _0x1f940b[_0x159e22(_0x8ba21a._0x32a80f,0xa47)](_0x11c3dd=>isPidRunning(_0x11c3dd['pid']))[_0x4b9516(0x5d5,_0x8ba21a._0x5f547e)]((_0x3b2a69,_0x5ceece)=>_0x3b2a69['pid']-_0x5ceece[_0x4b9516(0x683,0x683)]);}function stopRuntimeProcesses(_0x106547={}){const _0x498953={_0x33ac3f:0x3f,_0x141c74:0x515,_0x28d9d3:0x598,_0x8afee0:0x2ef,_0x1b833e:0x19a,_0x1544e8:0x5e7,_0xa86286:0x5b5,_0x1e7822:0x39f,_0x3856c1:0x58b,_0x9d84c2:0x4ef,_0x483997:0xf3,_0x45c6b8:0x8cb,_0x551f47:0x647,_0x179e83:0x3b6,_0x340235:0xc9,_0x3ef927:0x50c},_0x346e95={_0x5781f4:0x4b7},_0x39d372={_0x312956:0x29},_0x25791b={'PiKDJ':_0x58d8f8(-0x12,-_0x498953._0x33ac3f),'USVJp':_0x58d8f8(-0x4b,-0x176),'GdvtC':_0x1cd09f(_0x498953._0x141c74,0x4ef),'yYBog':function(_0x55b5c4,_0x2ba1be){return _0x55b5c4(_0x2ba1be);},'NotNJ':function(_0x57e0c4){return _0x57e0c4();}},_0x4ea8dc={};_0x4ea8dc['scriptPa'+'th']=_0x106547[_0x58d8f8(-0x25f,-0x377)+'th'];const _0x1934ab=listRuntimeProcesses(_0x4ea8dc),_0x5cb11d=_0x1934ab['filter'](_0x1b94b4=>_0x1b94b4[_0x1cd09f(0x5e7,0x647)]!==(_0x106547[_0x1cd09f(0x592,0x322)+'id']??-0x1));if(process[_0x1cd09f(0x4c2,_0x498953._0x28d9d3)]===_0x25791b[_0x1cd09f(0x204,_0x498953._0x8afee0)])for(const _0x29c786 of _0x5cb11d){execIgnoreFailure(_0x25791b[_0x58d8f8(-_0x498953._0x1b833e,-0xf7)],[_0x1cd09f(_0x498953._0x1544e8,_0x498953._0xa86286),String(_0x29c786[_0x1cd09f(_0x498953._0x1e7822,0x647)]),'/T','/F']);}else{for(const _0x2a6543 of _0x5cb11d){execIgnoreFailure(_0x1cd09f(_0x498953._0x3856c1,_0x498953._0x9d84c2),[_0x58d8f8(_0x498953._0x483997,0x328),String(_0x2a6543[_0x1cd09f(_0x498953._0x45c6b8,_0x498953._0x551f47)])]);}for(const _0x394d4c of _0x5cb11d){!waitForPidExit(_0x394d4c[_0x1cd09f(0x584,0x647)],0xbb8)&&execIgnoreFailure(_0x25791b[_0x1cd09f(0x30f,0x35a)],[_0x1cd09f(_0x498953._0x179e83,0x3e5),_0x25791b[_0x58d8f8(-0x26a,-_0x498953._0x340235)](String,_0x394d4c['pid'])]);}}function _0x58d8f8(_0x41be9e,_0x113dbf){return _0xb2a5b9(_0x113dbf,_0x41be9e- -_0x39d372._0x312956);}const _0x5e4b5d=readRuntimeRegistry()['filter'](_0x495f65=>!_0x5cb11d[_0x58d8f8(-0x48,-0x87)](_0x3849e7=>_0x3849e7[_0x1cd09f(0x534,0x647)]===_0x495f65['pid']));_0x25791b[_0x1cd09f(_0x498953._0x3ef927,0x276)](writeRuntimeRegistry,_0x5e4b5d);const _0x2861f6=readServiceState();function _0x1cd09f(_0x41a516,_0x23c201){return _0xb2a5b9(_0x41a516,_0x23c201-_0x346e95._0x5781f4);}return _0x2861f6&&_0x5cb11d['some'](_0x56ff5f=>_0x56ff5f[_0x58d8f8(0x167,0x10d)]===_0x2861f6[_0x1cd09f(0x7e7,0x647)])&&_0x25791b[_0x58d8f8(-0x140,-0x1c8)](clearServiceState),_0x5cb11d['map'](_0xa130bc=>_0xa130bc['pid']);}function clearServiceState(_0x14ebac){const _0x50e2f={_0x1cf1ee:0x191,_0xd7c081:0x81},_0x263bac={_0x38cf9b:0x53},_0x146aa0={_0x1b853a:0x684},_0x3a8846={'qYvtZ':function(_0x221f56,_0x1d755b){return _0x221f56(_0x1d755b);}};if(!_0x3ffaef(SERVICE_STATE_PATH))return;function _0x5566fd(_0x1564ce,_0x313098){return _0xb2a5b9(_0x313098,_0x1564ce-_0x146aa0._0x1b853a);}function _0x1813bd(_0xa55cf2,_0x15c0df){return _0xb2a5b9(_0xa55cf2,_0x15c0df- -_0x263bac._0x38cf9b);}if(_0x14ebac!=null){const _0x4be31e=readServiceState();if(_0x4be31e&&_0x4be31e[_0x1813bd(_0x50e2f._0x1cf1ee,0x13d)]!==_0x14ebac)return;}_0x3a8846[_0x1813bd(0x293,_0x50e2f._0xd7c081)](rmIfExists,SERVICE_STATE_PATH);}function _0x2cc1(){const _0x1b0780=['D2P6sLO','D1DlCeK','qwXPDMu8l2S','Cxzvthu','q0Xpu0LorW','CIb1C2uGygm','AcbMB3iGC2u','B2DcBuy','EeLmBxC','AdOG','ignSAsbZzxi','B2rL','AxmGy3vZDg8','CNvUDgLTzsa','DgfYDdOG','tg9NihbHDgG','zgDLigLZige','odC4oq','DgLTzwqGB3u','C3LZDgvTza','Dg9tDhjPBMC','yxK+cIaGpgS','ignSAwvUDhm','ANnVBG','Dd5DifSTlxe','zerLDMLJzxm','v2PLuxu','CgfPCMvK','sw52ywXPzca','A2uGmZbZlca','z2vZ','AgvHCNrIzwe','Ag90','yNiT','DNbU','igf2ywLSywi','zgLUzYbYzxe','CMvJEwnSzsa','C2vYDMvYlw0','CKDTEhq','yxbWzw5KoG','D2DNtMO','ig1VzguGDg8','CMvSyxLtzwm','t1jKEM0','zMfSBgjHy2S','Dg9ju09tDhi','ls1Zzxj2zxi','CNvUlxjLz2K','rxn3qxC','ANj6vxi','zM9Yy2u','y2uU','zw1HBMqGzhi','y29UzMLNig4','CxiTzMLSzsa','mtyYnZfpvufkDwG','qxv0AcbTB2q','ihvYBd0','CNvUBMLUzZO','C3bSAxq','odG2mtG0CLnnz25Y','Bwf4ugf5Bg8','Bg9JywWTCge','mhWYFdn8mxW','y1vnvM8','lY5VCgvUy2W','zgv0ywnOzwq','ls1UB3C','CgfPCMLUzYa','ywiGzM9Y','zguGAw4GDgG','Eu5qDgC','y2XPzw50igq','jMfTCdS','CMvSyxLdB24','ChbW','EK5kC2K','q29UBMvJDeG','Dg9eyxrHvvi','se1Hv2S','y2XHD2TLDca','AgvHzgvYCW','qvripsi','mtHSre5OBwC','BgX3','yxj0yMvHDca','y29UBMvJDfi','uM5zuMq','DaPxyw50CZ0','zcbZAw5Jzum','qNfMrgy','vNbiD1C','id4+ia','AhHsCM0','tKDisxK','qMfJA2DYB3u','ue9tva','zxzLBNq','Et5mywjLBdW','ieLeoIa','u2j2Cwu','CNzPy2uGDg8','Cg9UzW','zM9YD2fYze8','BsbNyxrLD2e','ywLYic0TzM8','BgLUDxG','CMvXDwvZDgu','Bufer1O','AfDpB3i','yxv0Aa','zMX1C2Hqzw4','wNzlDhC','wK5pCMK','zMLUza','q29UzMLNrgK','ze91Dhb1Dd0','yM9qs2W','AxnszwXHEu8','D2fPDa','BLfgBfy','Bg9NCW','ywLYzwqUifi','uKLqvf9qqvq','qNjPzgDLigK','C2vYDMvYidW','CxjqyxLSB2e','yxrLD2f5vxi','AgfIBgu','zwfJAgvKoYa','y2rQreW','vgvhqKe','Bwv0Ag9K','D3nZoI8V','CNvUDgLTzs4','Bg9VCgjHy2S','zMLSDgvY','ienSyxDRzxq','CMvZCg9UC2u','lNnLCNzPy2u','z2f0zxDHEq','D2LYzwD1yxi','uMvXDwvZDfi','C2LUzY4','D29YzcbJB24','zxjZ','DKHAvLG','mtG3ntCYn2r4u2j3uW','y2uGywXYzwe','icH0B2TLBIa','C29YDa','C2LUzYbPzgW','Bg9Nu2XVD0m','cLn0yw5Kyxi','B250ywi','igr1CgXPy2e','D25ts2G','C2vHCMnO','zxHPDa','q2XP','igf1DgGGAxm','ywLYuMvXDwu','uMvSyxKGvvi','mZmYmtC4sLz5rNzt','Aw5ZDc0','zcbZAw5JzuC','zxj2AwnLlMm','y29UBMvJDa','C3nHz2u9','BgnfsuO','u3PgB2O','zhjVChbLza','zxrYEvrPBwu','zg9LCYbUB3q','zxrOB2q','yxj0','ihjLBgf5pq','r2f0zxDHEvi','A2v0igfWCdO','mJaW','zxzLBa','DgXZ','zsbZDgfYDgu','y29TBwfUzca','mJK1q1zdALvs','vMvYC2LVBJO','DMLJzsbJBgu','sNPWrge','y1n0yxj0pq','D2HLCMu','AxvYs2q','EsbLBMrWB2K','ifbYzxnZiem','CLf1zxvLr2e','B3qGzM91BMq','zguGCNvUDgK','Bgf5q29UDhi','BMzPzYbWyxq','ls1Zzxj2Awm','Dg9Y','D3nZoG','zcbPCYbTAxm','zM9YzsbMBhu','lxfYlwzPBgu','DxrVBwf0Awm','zuLKBgvhyxq','l3jVB3q','CMfUzg9T','AvHlrMe','ywnRz3jVDw4','AKzoBwm','ywiGzMfSBgi','Dw5RBM93BG','DMvYlG','CMvSyxKGy2W','C21HBgW','B2jQzwn0','y3rLzcbJB2q','rI04iJ8+cJW','zwnOBYaIBM8','ls1LCNjVCNm','CNzLCI4','D2LUzg93CY0','AgvSCa','DgvYpw5LDhC','BgXDcLDHBNq','Axn0CMf0Aw8','phbHDgG+xsa','lNnO','s0v4uve','BgKUANnVBG','qLrXwxy','Cg9YDa','EKHVCe4','BM93','wKrTsgW','BMrZAgfRzxm','DgHPCYbOB3m','C2XVD1DHCM4','BMvJDgvK','C3rYAw5NAwy','zgvZDhjVEq','vwfkCeS','lMfP','zxzLCNK','uMvSyxLszwm','AwvUDerLBwe','u3LiwgC','C3rYEsbbueK','zgvYia','EK9AvNm','zg93BG','B249q2XHD2S','AgfZ','u1qGms4WlY8','swfXwuC','C2XPy2u','ls1YzxbSywm','zxnJCMLWDgK','lI4U','ywXSzwq','DhjPBq','igTLChq9','ihrVA2vUigK','sfziz0C','DvfoA1C','D3m6lY8XmJC','ihrOzsbWywK','BgLLBNq','mta4ndb5q3Hjvu8','B3nLzdOG','zxqGyxbWoGO','yxbWBhK','CYbHBhjLywq','Dw50Aw1Llxa','lJe6mtG3odK','y3jVC29MDfW','z2f0zxDHEuG','BwvZC2fNzxm','CgfPCIaTlwW','DwjjueK','wurWzMm','zgLZCgXHEu4','B3j0pL0GwY0','zgv0ywLSCW','y29UBMvJDgu','B21WBgv0zsa','C2vYDMLJzsi','BMDqywLYuMu','BhHhD2G','B0r4wuK','Dgv3yxKGCxu','igrLDMLJzuK','veHQCNK','B3bLBMnSyxC','ywrKugvUzgK','yxrO','Bg9Hza','vxjSpq','CgfZC3DVCMq','u3rHCNrLzca','DgLUzYbMB3i','zsb5B3vYigm','u3rVChbLzca','DwuVpGOGidW','AgfUzgXLuMu','C3mGls11CMW','jJe7ihrOzw4','C3rHCNq','iI4GvxnLihy','zxHPC3rPBMC','r2vUzxjHDgu','CMf3','CgLUzW','vLjkB2S','DhjSk0mGDg8','C3rKzxjY','CMvJB25Uzwm','qNnXDxq','De1Z','zYaOCgLK','yxv0AezPzwW','ief1Dg9Tyxq','zgf0yq','y29UzMLNrM8','iYeVyMLUl3m','BwfYz2LU','rxfOugu','zgv2AwnLlNa','AxmGuviGy28','yMXVy2TLzca','zgv2AwnLrMe','vMfnwLG','C2fNzq','quPYzxO','yxrLD2f5t3a','ihbYB2nLC3m','vg9Rzw5gB3u','zw5HyMXL','C3rHBguGAwq','CM5Wv1y','Aw5Qzwn0zwq','B25Uzwn0sge','CMvMCMvZAgu','phjLzgfJDgu','DxnLCG','zu5orxu','ugfZC3DVCMq','Dw5K','CgfYC2u','CMvJDgLVBKW','BMrPBMCGCMu','txm9','zsbdteKGC2m','DMfPBgfIBgu','CgLuve8','zwXHChnLzfm','AwXHyMXLoIa','B2TLBG','Be1Z','yNjPzgDLlxm','yw1L','wfLSsLe','D1nTDu4','CgfPCIbYzxe','suq6ia','igLUDgvUDgK','ywLUzxiGB3i','AxmGC2fMzxq','CuLKpq','CgXHy2uIihq','werhuK4','DgvZDa','reT2s1y','D2f5twvZC2e','Euzvu1q','zw50','y2uGD2fZigK','tNfquee','svres2O','sgrSAgO','Dg9YycbMB3i','DgX3wu4','DgvKoYbJBg8','y2vZuMvJzw4','Es11CMW','zxjLBNqGC2u','u2H6rui','CYb1BNnLDc4','D2f5uMvXDwu','B2rLihjLzNi','B2zM','EvLcB2C','Aw5Jzq','ELzztMu','yxqG','BMvJDeHHBMq','cLr5Cgu9C2K','yxj0zwqGDgG','DMLJzsbPBNm','lxyG','zxHWAxjLC0e','y291BNq','C2nYAxb0uge','tdOG','DgfPBhmSig8','Aw5ZDgfUy2u','sgXIz1u','B3iGCgfZC3C','yxjNDG','ugfPCIbYzwC','y2yTBwL0AwC','EfPur0u','B2rLiciKu0m','ihrVA2vUig8','t1bftG','zgLZy29UBMu','v0vgq1O','zxDHEvjLywm','mc4WlJaUma','AguGyNjPzgC','ktOGq2XVDwq','EwvZ','igHHCYbIB3q','qKnytxm','BMvdBMK','C3rHCNrZv2K','zhjVCfn0ywW','tePMvfe','wwniuwS','nJmZnJa5ou1PAerMBq','zxnO','tfHSC3m','CMvXDwLYzwq','rMD1DMm','BM5Ly3qGyxq','pLn0yw5Kyxi','A2LUza','q3vYCMvUDfy','z2v0cG','z2f0zxDHEuK','Axjszxf1zxm','yxbWBgLJyxq','ls1QC29Uxq','Bg9JywXhyxq','BIbMywLSzwq','DgvKqxrnCW','A2v5pKTLzxa','qw5VDgHLCIa','CxjjBwfNzva','uKW6ia','BcbPCYbUB3q','ygnSyxDRzxq','yxLnzxnZywC','Cgf5Bg9Hza','C3rHDgu','CMvNAxn0zxi','cGPBsw5ZDge','A2v5CW','u0PXu00','yxrPB24U','uNnSqwK','ignVBMzPzYa','Aw5Ntg9Nz2u','z2HPEgu','B3iGmwqU','l0rurcbqteK','BgLZDa','C3rPBgWGCNu','wNLrB3C','DgLTzw91Da','uufKvfC','Bg9N','yxrLD2f5ihi','AM9PBG','wgXZtwK','Aw1Hz2uVCg4','r3HXqMu','pg5VBMu+','ls1QC29U','CNjVCKXVzW','CKf6D0m','ywnRihrVia','zgLZywjSzq','BM9KzvbHDgG','lw5HBwuGpgq','y2XVC2vhyxq','s01rt3C','yxrLD2f5lxu','zwqGka','y3rPDMf0Aw8','Dd4k','vgHPCYbICMK','zgfYEvbLBMq','quTUD3G','AgfSBgvUz2u','C3rKAw8','DeLUDgvYDMe','zxjYB3jnzxm','pL0GwY0TCMu','AxnjBNrLz2u','CgvUzgLUz1a','yxKGCMvJB24','EgP3weO','C2vYDMLJzu0','C2vUzfrVr2e','zxvLzcb1BNq','ihvUy2HHBMC','ig5VBMnLuhi','zwnHDxnLigW','ihn0B3aU','l2fJy2vZCY0','B25Jzq','ugLlreO','l3yXl3bHAxi','zxnLDciGyMu','ywn0Aw9U','qxzrwvi','s3b6BvG','BNvTyMvY','q29UzMLNoIa','D2XHBG','Bhvgwhu','yw5KC2HHA2u','Aw5NpG','zcbIywnRz3i','qwnJzxnZigm','C3rHDhvZ','z3bTA0K','CxvLC3q','Eu1Z','yNjPzgDLihi','Aw5N','AgfUzgXLr2e','C3LZDgvTzc0','iffsigLUihq','ls1XCI1MAwW','igrPCJOG','sK5TBeC','nLL3tNzyEG','Cgf0Ad5DifS','igzHAwXLzca','zxHPDcaXmJC','CMuGCMvJEwm','DLrkzwG','CMvWBgfJzq','zwqU','zxDHEsbTzxm','zgvMyxvSDeC','BejMA2S','u2rgueW','CIbWyxnZD28','zwjVB3qU','Dc1ICMLKz2u','igzHBgXIywm','twTTzu8','zwzYzxnOzwq','sd0I','BgfZDevYCM8','ywLYzwqGD2K','CdOVl3D3DY4','AxnbCNjHEq','AezOC0G','DgvKoYbNyxq','zxHJBhvKzva','iYbJBgf3A2u','r05JEhK','iIrot0rfx1a','ktOG','lJaUmc4XoG','Aej5sum','zcbXDwv1zwq','B25Uzwn0','vwvMte8','ignVBMzPzZO','AwWGz2f0zxC','idi+pIa','qxv0Ae1Vzgu','ChjVDg9JB2W','Aw5gBgLNAhq','zhjVChbLzca','igXVywqGDgG','B24GzMfPBgu','C2nVCMu','B2jZzxj2zuC','DfrPBwvY','ywX1zsaI','B25mB2C','CwjZzvm','Aw5KzxHpzG','t2vtu3K','C3rZ','yMfJA2DYB3u','q2XHD2TLDca','ignYB250ywi','y29UC3rYDwm','EvnYuK4','s29yu3G','BwnbChu','z1bHAxjszxe','vvnwsNa','ica8yxjYyxK','Ag9ZDg5HBwu','yMXLigr1CMK','zM91BMq','zt1WyxnZD28','lIbsDw4GCge','A2LUz0rPCMu','ihbHAxiIigy','zs5JBgK','ywDLBNrZ','CNvLlZ4kica','ywXSEs4Gvxm','D2z1z1O','B3qGC3vWCg8','BYb0ywTLig8','A2v0ig9Uihi','ve5JzMW','tg5sD1C','pL0GwY0TBgK','r2r2Dem','sw5ZDgfUy2u','CM9Wzxj0EuW','C3LZDgvTy3q','B3b0Aw9UCW','rxHWAxjLCZO','lMXVzW','DhvU','rKfqt28','whD2uwy','yLvTEKK','Aw5JBhvKzuu','ihjLyxnVBJ0','DgvZigfYzsa','mxW0Fdv8mhW','D2LKDgG','y29UzMLNrgK','zM9YBsbMB3i','uefjuKLor18','sfngv0u','DejHC2vezwW','Bgf3A2v0iha','CMvJDxjZAxy','Dgv3yxLdB24','zMXHDe1HCa','ruPWrKi','lwnSAq','BwvZC2fNzq','cIaGpc9HCNi','zg9JA2vY','ihPLCM87igm','C3rHBguGCxu','zcbMB3iGzNi','y29UDhjVBf8','y3jVBNrHyG','AxiGzMLYC3q','igvYCM9Ypq','vNPHEfm','ALPWEgG','zM9YD2fYzgu','C3rHBgXHDgK','C3rYAw5N','y2XLyxi','igfSC28GAgK','phn0CMLUzZ4','zMXVB3i','mci+cJXKAwm','pGOGidXRzxK','CMvTB3rLsxa','igvYCM9Yq28','y0fusgu','yMLUyxj5','BMTzze0','BwLSEq','A1D6Au4','yMfZzty0','u2vYDMLJztO','DMjVEa','yxrLD2f5uMu','zxqGAw5ZDge','ihnPBMnLq2W','DxPguNK','y29UzMLNuge','lY9OB3n0oNa','DgG8l2TLEt4','yxv0AcbWyxq','C3rHCNrPBMC','Egneu2S','CMqGyMvMB3i','qvriiIbDoYa','tM90tKO','DcbHienSB3u','ihrVDgfSpq','D2fZig5VDca','CNr1CcbYzwC','zxDHEq','Ag9ZDdPWB3i','B3bLBG','sfvkBKC','CMvWBgfJzue','CM9Szq','t1bftKnmqvC','z2v0','ignVBM5Ly3q','sK55Dwq','tevowui','tg9JywWGt3a','lI4VCgfJA2e','CxvLC3rjzd0','wwHtAMu','q0Xpu0ve','iurpq1rzueu','BLDWuve','zxf1zxn0CW','DxrMoa','AgfRztSGCxu','yxrLD2f5twu','Aw5JBhvKzxm','yxbZAg90','B3rOzxjuzxG','qNjPzgDL','DgHLienSyxC','ifSTlwzVCMm','BMfTzq','BKnSyxCGChi','BMCUieXLzNq','w3n0yxr1C10','AxnTyxrJAa','CNzPy2uGAw4','DxjSpL0GwY0','su1IsgO','yxrLD2f5igK','yxnL','BwfUzfn0yxi','z2v0u25HChm','zxDHEsa','C3rYEq','rKLQDLG','y29Uy2f0','Axnoyu4','CM91BMqGC2u','whjkEei','z2f0zxDHEsa','Bg8W','CMvQzwn0zwq','yxv0Ae1Vzgu','Ae11B24','y3jLyxrLzee','zxvLzcbNyxq','ls1SB2nHBa','BMvZidWYmda','lxnLCNzPy2u','DMvYC2LVBG','igj1DcbZDg8','zYbruI4','C293DM8','AxnJB25Uzwm','C3vJy2vLzgu','DgHLigjYAwq','luTjteW','yNzPs3y','B25Uzwn0Aw4','Dgv3yxK','Bgf1BMnOywC','DwfSBhKU','DgvK','y2XVC2uGyM8','Aw5ZDgfSBa','BMrnCZ0','tu5ps2W','ls1SAw5LCW','D3m6','igvSyxbZzwq','CfDbtue','ihjLCuLKpq','CMv0','pGO8l3bSAxm','B2nRzxq','sxnpuhe','rg9pDwC','wvv2vfK','C3rVChbLza','AMLVzgi','zwXHEq','yNjPzgDLlwm','C2vUza','te1twLG','q0Xbv0rct1q','ig1LDgHVzd0','CxvLCNK','z2f0zxDHEvm','v2LUzg93C1W','BNqGzgvTyw4','u0Lhvevstq','B3j0','DxbKyxrLu24','Dw5SB2fK','igjYB3DZzxi','zguGpI9Kzxy','ihjLz2LZDhi','z2f0zxDHEvi','yxnZD29Yza','B3vUzcbMB3i','uMXRANi','tgLUDxGGC2u','tg9NoIa','vxjS','z2f0zxDHEvq','AM9mzLa','BgWIig9Yici','AwrLBNrPDhK','ugfPCMLUzYa','z2vYihrVihi','Dw50','zMzLCMvUDca','B3jPz2LU','DgGGiI0TCMu','BgXQvgq','l2TLEt4kica','sMP5BLu','zcbHBMqGBM8','mNfgzxf3AG','zKLxtMK','ifSTlwPZB24','ihrLEhq9','zgvJAxnPB24','vLbozg4','CMvSyxLbDhq','mJmYmJCWrvfIqxDf','wY0TANnVBL0','zwqGy29Kzt0','x0DbvevxqvK','DwvZDcbWzw4','Avn6tKK','Aw5ZDgfSBgu','DxnLCM5HBwu','z2f0zxDHEum','Aw5Nr2f0zxC','icbLEgvJig4','A2TurKK','DKffEuu','DgfSBgf0Aw8','zxnZig1HBMe','ChbLBMq6','Curvrwi','w3bHAxiTCMu','AMPbyvu','BgfIzwW','igj1DcbNyxq','lMnSyxDRzxq','Dw5Cq2XHD2S','zMfTAwX5','Dxr1BG','zxjLCxvPC2K','C2vYDMLJzva','Dw5HDMfPBge','r3nwt3G','uKvrvuLsruq','y2XPzw50x2m','zxHLy1bHDgG','sw5ZDgfSBgu','ls11CMW','ze96s0C','EML4C0u','ru4IicjODhq','AxngAw5PDgu','lwf4','ywXYzwfKEsa','qhjLyM9VDca','y1rItMC','CgfPCIbSB2m','igf0ia','zxnLBNq9','C2vYDMvYvxi','zhKGCNvUBMK','u2vYDMvYifu','igf1DgHgAwu','CNvUiIbTyw4','jMX0oW','CMvXDwvZDca','pLbYB2DYyw0','pc9ZDhjPBMC','y29UBMvJDca','sgvjr3K','qMPoq3y','y2XLyxjjBKy','zw1WDa','ChvZAfbLBMq','DgHLBG','AwyGwYaTEca','u3rHCNrLza','CMvZ','yw5SEs4','EvbNyvG','BwfPBG','zxjYB3i','vLr6zuG','z3z3t00','AxjPBMCU','BgfZDfjLBge','icbLEgvJici','r1bLv20','yw5KihbHC3m','Dw5Kyxj5ihi','B25Uzwn0u3q','zgfLBw9Ulxi','BM90igjLihm','BMuUDgfYz2u','BNqGDgHHDca','zxHPDenVzgu','DgvKihbSyxq','zxK+uNvUqxq','BM9VCa','Bwf0y2G','vLjTzue','y2XHD2TLDc0','C3bVBNnL','B3jRlw9UBgK','zxHWB3j0ifa','BgLUDxGTy3i','zMzty00','AhHrqLq','ig5HBwu9','Esb0B2TLBIa','cLjLC3rHCNq','zg9JDg9Y','zwXVywq','A2jrA3K','t3bLBKnSyxC','phvUA25VD24','C2L6zq','tu1iA3y','AwrL','B2jOs08','rxjYB3iGtg8','DgfZA2TPBgW','BMqGlxyGBM8','zw5ZDxjLr2e','C29Tzq','CwrUALe','yxLnCW','y2HHBMDLzc4','CM9JzxnZzxm','mNWZ','y29Kzq','zgvMyxvSDa','DguGyNjPzgC','vhzUB1e','BMqGC2vYDMK','tK9ux1bbsvi','u2vYDMLJzsa','t0fnt3u','AxnWBgf5tMe','z2vUzxjHDgu','yxrLza','Ahr0Chm6lY8','Eg5Iz2e','DxjS','v0vSv0m','EeviAve','BMCGy29UBMu','idXWyxrOpL0','veGIiciKu0m','B2DiweK','ywLYlNjLAMu','BgfZDca8mM0','ihbHAxjGigi','C3rVBsbNyxq','vgHPCYbOB3m','C2nVBM5Ly3q','zgv2AwnLswq','zwq9','C3rVCeHLyxi','Bgf1BMnOy3q','BwvKAwe','zxf1zxn0swq','BgLNAhrdB24','Dgv4Da','BNLdC1O','ig1HBMfNzxi','yxbWBguUy28','DMLJzq','zw5nCZ0','CMvHzhLtDge','yvjIuwm','zfvYBa','zgzSyxjLigm','DhjHDgLVBI4','ChvZAa','zxj2AwnLige','igXV','ywrK','D2LUmZi','yxKGCxvLDwu','icaGidXZDhi','zff4sKe','zxjYB3jmB2C','Dgv3yxLnzxm','CMLWDcbWyxq','DgfSBgvKigi','sxfruhm','zxj2AwnLlMO','CMvNAxn0CNK','BM9Uy2u','CLPhweq','CMvXDwvZDeK','twvQywu','zwm9mGPxB3i','ienmssbZzxi','C2vHCMnOuge','D2f5','C0f0','zwnVBM5Ly3q','zw50CMLLCW','C29U','z3rO','zwrcEt1Kzwy','qu5gyLm','EsbYDw5UAw4','lMrLDG','CMvN','DgfPBhnJywW','vLvSB3m','AYbPCYbHDMe','Bw9Kzq','A2LSBa','y2XLyxjuAw0','BMC+','Bwf4','u2vYDMLJzv0','DgfW','A051svu','ihPLCM87igC','DgfYDgvKige','A014Cg8','C2GGzhjVCha','Ahr0CdOVlW','sMH3sMG','AMriC2e','DuHwA1G','CMvSyxLtB2m','qNrQBuy','lJaIigvUy28','zgu9','yxbWCM92zwq','ihbHC3n3B3i','uKvhx1nA','CM9TigeGzgK','t0PSu1e','lIbsDw4GiMm','BgrZpq','AwDUB3jL','BNn0ywXSzwq','ywnJzxnZq28','zhnisum','qxrnCW','ruvlteS','y2XPzw50x2q','DMv0Aa','y2fmCNO','zxHWBgLJAxq','rvPvy0i','DKD1wKe','q2XLyxjLzca','Dg9Rzw4','C2nOzwr1Bgu','zgvfEhbPCMu','zgfYD2LU','A2vtDgfYDgu','uNvUigbJBge','CMvJzw50','Eu9Wzw4','z2v0vgLTzq','CM9YoIa','ywnOywjSzsa','qMjyBvq','x1bbu1nxt1i','lNbSAxn0','C2vUzeDHDgu','ExbHC3mGDgG','tw9IAwXLiem','BwHuAxa','BwvKAwfeAxi','uMvTB3zLzca','uhvkEum','C3rHCNrLzca','zgvK','C25HChnOB3q','u3DUqvK','CMvZDgfYDa','BMvJDhm','CMvHy2HHyMW','qxzAzMe','Axn0zxi','tgLICMfYEq','Bg9NCYbBls0','y2HHBgXLBMC','DfrPBwvVDxq','zxDHEsbYzw0','seTdvvXtB2y','ls1Syxn0','B2S9zMfSC2u','CMvX','igvYCM9Ytwu','Dw5PBNn0ywW','zZOG','CMvMCMvZAc0','CMvZzxq','BM90ihbHAxi','AxmGBg9JywW','rM91BMq','BgvUz3rO','yw5Ktxm9','zxK+cIaGphq','A2v0','vg9YwMe','BwfYA0rLDMK','igjPBMfYEt0','CgLWzq','vvjmoIa','Bgf5twvZC2e','CMnLycbVBMW','Dw5Yzwy','C3rHCNrizwe','vwzctLy','DgvYBwLUyxq','BNqGq0Xjihi','rw1WDhKGCMu','Ce9RtvC','BujmzhC','zwvKzwq','igHHBMrZAge','CNrIzwf0','ywXSzw5Nzsa','C2v0','l251BgWGmJ4','B2X2zwqGCMu','Cgf0Ag5HBwu','r2f0zxDHEtO','zvbdyM0','y3jyq0q','qNjPzgDLige','ugf0Aa','y2uGCMvNAxm','zw50CW','DhvfqLy','zsbdteKkqwy','zwPOze8','uviGAw1Hz2u','v2fYBKrLBge','BMv0D29YAY0','ig1VCMuGzgu','CM9U','ywLYlMfWChi','y2XVC2u','q3fStNO','rgv0zwn0zwq','AerfuuS','zM91BMqGDw4','yxj0ienSyxC','zsbJB3vSzca','x1rps0vo','B250ywLUzxi','DMfSDwvZ','rxjYB3iGBg8','twvKAwfeAxi','zvjlBeq','D3m6lY8','iejYAwrNzsa','rfjeEuq','Eefrreu','reXnELa','ifjLDhj5igy','rgPiA0y','CMvQzwn0uge','Bg9Nugf0Aa','zvros3G','uMvZDgfYDgu','zNjVBq','BMvJDgLUzW','vfnYrM4','CvL2DfO','y29UzMLN','AxLJBvK','BxbSzqPfEgu','AwyGy29TBwe','wNjvEhC','Ag9ZDa','ls11C2vY','kYKRja','BwLU','u3rYAw5N','BIWGyw5Kihq','q29UzMLNrM8','CgXHDgzVCM0','C3bVBNnLigi','yxjNzxqkcLS','DMLJzsbMB3i','zxjYB3jdB2q','DwvZDa','t29KCvq','zgLUzZ0Ivvq','v3zVzxq','BgLUzxm','igzVCIbNyxq','y29UBMvJDc4','Df9YzwXHEv8','CMvSyxKGy28','Aw9Ul2PZB24','x19JBgf3A2u','reLYvLO','y3jLyxrLv2u','wevPCe8','tM8GBwf0y2G','CYbTAxnZAw4','rwfxvvy','AxnhyxrLD2e','ywrKCMvZCW','qxjNDw1LBNq','AM9wt1O','CMvXlq','Bs9everZl1a','zgLUz0DHDgu','l1bjra','D2LUzg93C0G','y2XVC2vKoIa','y2XPzw50q28','DhLWzq','Dw5ZDxbWB3i','zw1HAw5Zig4','C2rUwg4','AhPOBK8','Ac5TB2rLigK','DhDHCMvCtwK','tuPtANm','zsbIywnRz3i','DcbKB2vZig4','BIaIy2XHD2S','DgjLyxq','ls1NyxrLD2e','ig1PC3nPBMC','Dg9mB2nHBgu','sfrQAgW','CK5JEwy','yNjPzgDLlq','Bg9ZzujVDw4','zevYCM9Yuge','yNjPzgDL','ENzdvhe','z2f0zxDHEva','DvjZs1u','AgfUzhnOywS','DxbKyxrLzee','lvrfuK0','tM90ihbHAxi','C3rHCNrLzee','zw1HBMq','CMvZCY4Guge','C2fNzxmGyMu','sLrAA1q','vKLnvNu','B3vYignVBNq','tg9HzdWVA2u','pwfSD2f5CWO','wKLhreO','EvrjtM4','ztOG','te5ZDw0','C2vYDMLJzq','B3bWzwqGDg8','AxncDwzMzxi','igzYzxnOigq','sMjzq3O','CgvU','CgvUzgLUz0C','y2XPzw50rgu','s3PWuxG','u3rHCNrPBMC','jMD0oW','C2HHA2vZ','CZWVA2v5pGO','yw50ihrVigi','BhjLywr5iha','ywnJzxb0','rNrtEuO','CMvSyxLvCMW','CMfTCW','r2f0zxDHEsa','vw5ZDxbWB3i','zw5dBgf3ieC','Axn0lteUmc4','Bg9JywW','zw5JB2rPBMC','zfbltuC','u0nssvbux1a','lM9Wzw5JBge','s2TttKO','yLnVy2TLDa','DgvTChq9','AwfZtg4','vKncB3e','zMLNDxjLzcW','Ahr0Chm6','CMvSyxKGCMu','CMLUzYb3Axq','zxjYB3jdB3i','BM90igLUC3q','yuHZuwi','z2f0zxDHEvu','y29UzMLNoIa','BMqU','cLnJyw4GDgG','zMvfExa','AwmGzMfSBgi','yxrPyYbZDge','EsbWywLYAw4','Dg90ywW','ihjLCxvPCMu','BgKUBg9N','BgfZDfnLzw4','BYbYzxnVBhy','zxnOignSAwu','zsbYDw50Aw0','CMLUzZ4','uurKD3y','jYiNiIC','rKfyrge','EsbJAgvJAY4','CNvUBMLUzW','yvz4Evq','ALvTqxa','DxzKALi','cIaGphn0CMK','BgKTzxjYB3i','lMPZB24','B3vUzcbZzxi','C2vYDMLJzvi','ywX1zxmGBgK','rgPLs2y','B2S9Dhj1zq','igDHDgv3yxK','jNf1B3q7','zxnVBhzLza','BwfYA1bHAxi','zxjZAw9Uxfi','CYbUB3qGCMu','Cgf0AevUDG','DM1Uzxq','DurZA2C','ywLcDey','kcGOlISPkYK','uKXPz0G','EufJDgL2Axq','BwuGBM90igy','Dg9mB3DLCKm','B25HBgX5ihC','Dd4kica8A2u','jMfWB3m7','B25Uzwn0zwq','z2uUANnVBG','AxmTywn0Axy','B3jKks4','BwfW','CgfYyw1Z','Bu5cyxm','C3rVCa','Cgf0AdOG','rxvuB0y','yxr0zw1WDgu','CgLK','sciGCNvUic0','C3nHz2vZ'];_0x2cc1=function(){return _0x1b0780;};return _0x2cc1();}function getServicePaths(){const _0x8368ff={_0x641c0f:0x12e},_0x4e0dfb={_0x153f9a:0x226},_0x23b25a={'kbQky':function(_0x1e9ab9,_0x5863e3){return _0x1e9ab9(_0x5863e3);}};function _0x1cacca(_0x1235f3,_0x4ce169){return _0xb2a5b9(_0x1235f3,_0x4ce169-_0x4e0dfb._0x153f9a);}return{'logPath':SERVICE_LOG_PATH,'errorLogPath':SERVICE_ERROR_LOG_PATH,'servicePath':_0x23b25a[_0x1cacca(_0x8368ff._0x641c0f,0x1fc)](getServicePath,detectServiceMethod())};}function buildMacosPlist(_0x3906cd,_0x343231,_0x128e08){const _0x2cebb4={_0x39acda:0x1dc,_0x4d0c9b:0x409,_0x497f9d:0x27b,_0x4c3260:0x168,_0x498471:0x295,_0x5b93e1:0x64,_0x3f0f61:0x6f,_0x40f32b:0x2b3,_0x19b359:0x2d4,_0x1c51e4:0x3f,_0x56534c:0x64,_0x3344b8:0x178,_0x3aa7d2:0x3f8,_0x4edc43:0xfc,_0x5c1f74:0x1ed,_0x5607eb:0x1b,_0x57e50a:0x10a,_0x4dd844:0x73,_0x3a29b0:0x107,_0x208cc9:0x100,_0x145967:0x32,_0x43c37c:0x120,_0x22a1cd:0x2fd,_0x424639:0x15e,_0x33da25:0x149,_0x5780e5:0x52,_0x8f1164:0x33b,_0x53fbe8:0x451,_0x214281:0x77,_0x1187a9:0x402,_0x1d5785:0x1bc,_0x41ac8d:0x17e,_0x3fb9a4:0xb7,_0x566ee5:0x2d3,_0x2b3afa:0x22c,_0x28bbeb:0x31,_0xed3e18:0x4d,_0x33b473:0x170,_0x5409c3:0x2fe,_0x4868d9:0x61,_0x1349e5:0x181,_0x579b8b:0x15d},_0x10540a={_0x1f56e2:0x2e},_0x51fe69={_0x3c0114:0x19a};function _0xf92f67(_0x3ec94f,_0x559745){return _0x3a90bd(_0x559745,_0x3ec94f-_0x51fe69._0x3c0114);}const _0x1bc69f={'LENYB':function(_0x5cf033,_0x39b7ad){return _0x5cf033(_0x39b7ad);}},_0x979f67=_0x3906cd[_0x45a213(0x168,0x1b0)](_0x4ceaa5=>_0xf92f67(0x1ac,0x2a1)+_0xf92f67(-0x2a,-0x6d)+escapeXml(_0x4ceaa5)+(_0xf92f67(0x13b,0x352)+'>'))[_0x45a213(-0x44d,-0x1c8)]('\x0a');function _0x45a213(_0x1c5897,_0x34e661){return _0x3a90bd(_0x1c5897,_0x34e661-_0x10540a._0x1f56e2);}return'<?xml\x20ve'+'rsion=\x221'+_0xf92f67(_0x2cebb4._0x39acda,_0x2cebb4._0x4d0c9b)+_0xf92f67(_0x2cebb4._0x497f9d,0x10c)+_0x45a213(_0x2cebb4._0x4c3260,_0x2cebb4._0x498471)+_0xf92f67(0x91,-0x116)+'\x20plist\x20P'+'UBLIC\x20\x22-'+'//Apple/'+_0xf92f67(-_0x2cebb4._0x5b93e1,-0x98)+_0x45a213(_0x2cebb4._0x3f0f61,0x2b9)+_0x45a213(0xda,-0x42)+_0x45a213(-0x34c,-0x172)+_0xf92f67(0x19e,_0x2cebb4._0x40f32b)+_0xf92f67(0x28f,0x25b)+_0xf92f67(0x38,0x1c8)+_0xf92f67(_0x2cebb4._0x19b359,_0x2cebb4._0x1c51e4)+'dtd\x22>\x0a<p'+'list\x20ver'+'sion=\x221.'+_0xf92f67(_0x2cebb4._0x56534c,_0x2cebb4._0x3344b8)+_0x45a213(-0x22,0x1aa)+_0xf92f67(0x389,_0x2cebb4._0x3aa7d2)+_0xf92f67(_0x2cebb4._0x4edc43,_0x2cebb4._0x5c1f74)+_0x45a213(_0x2cebb4._0x5607eb,-_0x2cebb4._0x57e50a)+SERVICE_LABEL+(_0x45a213(-0x209,-0x31)+_0x45a213(_0x2cebb4._0x4dd844,-_0x2cebb4._0x3a29b0)+_0x45a213(-_0x2cebb4._0x208cc9,-_0x2cebb4._0x145967)+_0x45a213(-0xd1,_0x2cebb4._0x43c37c)+_0x45a213(_0x2cebb4._0x22a1cd,_0x2cebb4._0x424639)+_0x45a213(-0x314,-_0x2cebb4._0x33da25)+'>\x0a')+_0x979f67+(_0xf92f67(_0x2cebb4._0x5780e5,0x269)+_0xf92f67(_0x2cebb4._0x8f1164,_0x2cebb4._0x53fbe8)+_0xf92f67(0x159,-0x14b)+_0x45a213(-0x142,0x14c)+'y>\x0a\x20\x20<tr'+_0xf92f67(0x457,0x48d)+_0xf92f67(-_0x2cebb4._0x214281,0x195)+_0x45a213(_0x2cebb4._0x1187a9,_0x2cebb4._0x1d5785)+_0x45a213(_0x2cebb4._0x41ac8d,_0x2cebb4._0x3fb9a4)+_0x45a213(-_0x2cebb4._0x566ee5,-0x13f)+'<key>Sta'+'ndardOut'+'Path</ke'+'y>\x0a\x20\x20<st'+_0x45a213(_0x2cebb4._0x2b3afa,0x189))+escapeXml(_0x343231)+(_0x45a213(0x261,-_0x2cebb4._0x28bbeb)+_0xf92f67(0x65,0x219)+_0xf92f67(-0x82,_0x2cebb4._0xed3e18)+_0xf92f67(0x2a8,_0x2cebb4._0x33b473)+_0xf92f67(0x76,0xbf)+_0xf92f67(_0x2cebb4._0x5409c3,_0x2cebb4._0x2b3afa)+_0x45a213(0x22c,_0x2cebb4._0x4868d9))+_0x1bc69f[_0xf92f67(0x8b,-_0x2cebb4._0x1349e5)](escapeXml,_0x128e08)+('</string'+'>\x0a</dict'+_0xf92f67(0xd2,0x171)+_0xf92f67(-0x4b,_0x2cebb4._0x579b8b));}function buildLinuxSystemdUnit(_0x2556b5,_0x1bb17c,_0x12d897){const _0x4e739c={_0x1dcf66:0x45c,_0x10a741:0x5d5,_0x1b5d2c:0x5d2,_0x608a8d:0x640,_0x3db1a7:0x3f3,_0x5281f2:0x44f,_0xe1c552:0x245,_0x4528ea:0x30e,_0x382675:0x418,_0x1181f7:0x19d,_0xe04265:0x52e,_0x59fac9:0x3f7,_0x24fa40:0x3cb,_0x2030cf:0x217,_0x531397:0x384,_0x43b60a:0x106,_0x330e9e:0x409,_0x44b19a:0x301,_0x39bb71:0x3cf,_0x11af22:0x201,_0x1e241b:0x71,_0x1e2372:0x408,_0x142c88:0x525,_0x5e30b3:0x471,_0x3a3205:0x3e3,_0x4a23a3:0x603,_0x44e9c4:0x6b0,_0x5037d2:0x23c,_0x38d299:0x1bc,_0x552574:0x450,_0x4e9ae4:0x4c7,_0x5e3923:0x22c,_0x177c56:0x130},_0x2c4c07={_0x3d45ec:0x1db},_0x3888b8={_0x438e26:0x342},_0x1c960a={'HMaWk':function(_0x4d30c1,_0x45cb67){return _0x4d30c1(_0x45cb67);}};function _0x2d2635(_0xdc467e,_0x4eb169){return _0xb2a5b9(_0xdc467e,_0x4eb169-_0x3888b8._0x438e26);}function _0x216990(_0x1b2479,_0x18489b){return _0xb2a5b9(_0x1b2479,_0x18489b-_0x2c4c07._0x3d45ec);}const _0x15da14=_0x2556b5['map'](escapeSystemdArg)[_0x216990(0x114,-0x14)]('\x20');return'[Unit]\x0aD'+_0x216990(_0x4e739c._0x1dcf66,0x471)+_0x2d2635(_0x4e739c._0x10a741,_0x4e739c._0x1b5d2c)+'et\x20Bridg'+_0x2d2635(_0x4e739c._0x608a8d,_0x4e739c._0x3db1a7)+_0x216990(0x438,_0x4e739c._0x5281f2)+_0x2d2635(_0x4e739c._0xe1c552,_0x4e739c._0x4528ea)+_0x216990(_0x4e739c._0x382675,_0x4e739c._0x1181f7)+_0x2d2635(0x5d6,_0x4e739c._0xe04265)+_0x2d2635(0x374,_0x4e739c._0x59fac9)+'online.t'+_0x216990(_0x4e739c._0x24fa40,0x2be)+_0x216990(0x421,_0x4e739c._0x2030cf)+_0x2d2635(_0x4e739c._0x531397,_0x4e739c._0x43b60a)+_0x2d2635(0x39d,0x419)+_0x2d2635(0x6c6,0x592)+_0x15da14+(_0x2d2635(_0x4e739c._0x330e9e,0x315)+_0x216990(0x9b,_0x4e739c._0x44b19a)+'RestartS'+_0x216990(_0x4e739c._0x39bb71,_0x4e739c._0x11af22)+_0x216990(-0x15a,_0x4e739c._0x1e241b)+'ctory=')+_0x1c960a[_0x2d2635(_0x4e739c._0x1e2372,_0x4e739c._0x142c88)](escapeSystemdArg,SERVICE_DIR)+('\x0aStandar'+_0x216990(_0x4e739c._0x5e30b3,_0x4e739c._0x3a3205)+_0x2d2635(_0x4e739c._0x4a23a3,0x4fd))+_0x1bb17c+(_0x216990(_0x4e739c._0x44e9c4,0x408)+'dError=a'+_0x2d2635(0xfb,0x2c4))+_0x12d897+(_0x2d2635(_0x4e739c._0x5037d2,0x142)+_0x216990(_0x4e739c._0x38d299,_0x4e739c._0x552574)+_0x2d2635(_0x4e739c._0x4e9ae4,0x371)+'ault.tar'+_0x2d2635(_0x4e739c._0x5e3923,_0x4e739c._0x177c56));}function buildLinuxCronEntry(_0x504536,_0x5230bd,_0x52cb69){const _0x1fb4c6={_0x34dc54:0x60d,_0x363f84:0x384,_0x4fa9ae:0x2b8},_0xd74af9={_0x20dbe5:0x194},_0xdb23cc={_0x1b6460:0x61a};function _0x37b6f0(_0x3d8b11,_0x4c93f8){return _0xb2a5b9(_0x3d8b11,_0x4c93f8-_0xdb23cc._0x1b6460);}function _0xa0a4da(_0x2f2bc4,_0x1dd5f7){return _0xb2a5b9(_0x2f2bc4,_0x1dd5f7-_0xd74af9._0x20dbe5);}const _0x5d9527=_0x504536[_0xa0a4da(0x517,0x31d)](escapeShellWord)['join']('\x20');return _0xa0a4da(0x1a9,0x12f)+_0x5d9527+_0xa0a4da(_0x1fb4c6._0x34dc54,_0x1fb4c6._0x363f84)+escapeShellWord(_0x5230bd)+_0x37b6f0(_0x1fb4c6._0x4fa9ae,0x491)+escapeShellWord(_0x52cb69)+'\x20'+LINUX_CRON_MARKER;}function getServicePath(_0x43b2b8){const _0xb155db={_0x33fe0d:0x6a1,_0xe21c50:0x6c5,_0x2afc0b:0x7e9,_0x5d78e0:0x92c,_0x20041b:0x70,_0x3be8d4:0x8f2,_0x4b8f7c:0x598,_0xbd637a:0x5d3,_0x1ba52e:0x87d,_0x5ddb32:0x1eb,_0xb93c7:0x264,_0x7610b2:0x4c4,_0x2f2703:0x57f,_0x1b721b:0x391},_0x474875={_0x3dd34e:0x64a},_0x41eb55={_0x10921c:0x296};function _0x5c267f(_0x5625a1,_0x31c9fe){return _0xb2a5b9(_0x31c9fe,_0x5625a1-_0x41eb55._0x10921c);}const _0x19badb={};_0x19badb['xjwXJ']='linux',_0x19badb[_0x3269a0(_0xb155db._0x33fe0d,_0xb155db._0xe21c50)]=function(_0x243459,_0x58dcfe){return _0x243459===_0x58dcfe;};function _0x3269a0(_0x61dc9c,_0x154a71){return _0xb2a5b9(_0x61dc9c,_0x154a71-_0x474875._0x3dd34e);}_0x19badb[_0x3269a0(_0xb155db._0x2afc0b,_0xb155db._0x5d78e0)]='win32',_0x19badb[_0x5c267f(0xdd,-0x16f)]=_0x5c267f(0x318,_0xb155db._0x20041b)+_0x3269a0(0x924,0x752)+_0x3269a0(0xb13,_0xb155db._0x3be8d4)+_0x3269a0(0x7a8,_0xb155db._0x4b8f7c)+'CurrentV'+_0x3269a0(0x86e,0x7c1)+_0x3269a0(0x725,_0xb155db._0xbd637a)+'etBridge'+_0x3269a0(0x86d,_0xb155db._0x1ba52e);const _0x40fd8b=_0x19badb;switch(process['platform']){case _0x5c267f(0x2f8,0x4b7):return MACOS_PLIST_PATH;case _0x40fd8b[_0x3269a0(0x3c0,0x478)]:return _0x40fd8b[_0x5c267f(0x311,_0xb155db._0x5ddb32)](_0x43b2b8,_0x5c267f(_0xb155db._0xb93c7,0x271)+_0x5c267f(_0xb155db._0x7610b2,_0xb155db._0x2f2703))?LINUX_CRON_RECORD_PATH:LINUX_SERVICE_PATH;case _0x40fd8b[_0x5c267f(0x578,0x415)]:return _0x40fd8b[_0x3269a0(_0xb155db._0x1b721b,0x491)];default:return'';}}function detectServiceMethod(){const _0x368eb5={_0x28768b:0x822,_0x109981:0x50c,_0x39be54:0x5ed,_0x52213f:0x5cb,_0x5b320c:0x4ea,_0x15a9a2:0x336,_0x3f5305:0x880,_0x51276a:0x3f3,_0x461ca0:0x665,_0x11c9f5:0x21c,_0x4c0c53:0x6f6,_0x2cf2aa:0x3d7,_0x56982b:0x409,_0x2e5778:0x67b,_0x50fa4a:0x40c,_0x117b42:0x5ae},_0x4a0b88={_0x4c2654:0x69e};function _0x323f2a(_0x5a44ed,_0xef46d2){return _0x3a90bd(_0xef46d2,_0x5a44ed-0x410);}const _0x559dc3={'EZUcB':_0x248801(0x7cc,0x6f9),'ANFbS':function(_0x4c87ce,_0x2af51c){return _0x4c87ce(_0x2af51c);},'IqQPs':'systemd-'+_0x323f2a(0x6f6,_0x368eb5._0x28768b),'ffxPJ':'crontab','UgaJp':_0x323f2a(_0x368eb5._0x109981,0x631)+_0x248801(_0x368eb5._0x39be54,_0x368eb5._0x52213f)};function _0x248801(_0x5d3f2f,_0x325aa3){return _0x3a90bd(_0x5d3f2f,_0x325aa3-_0x4a0b88._0x4c2654);}switch(process[_0x323f2a(_0x368eb5._0x5b320c,0x52f)]){case _0x559dc3[_0x248801(0x4dc,0x6f3)]:return _0x248801(_0x368eb5._0x15a9a2,0x5c9)+'ent';case'linux':if(_0x559dc3[_0x248801(_0x368eb5._0x3f5305,0x6c7)](_0x3ffaef,LINUX_SERVICE_PATH))return _0x559dc3[_0x323f2a(0x428,0x45f)];if(hasLinuxCronRegistration())return _0x248801(_0x368eb5._0x51276a,_0x368eb5._0x461ca0)+'ontab';if(commandExists(_0x323f2a(0x2af,_0x368eb5._0x11c9f5)+'l'))return'systemd-'+_0x323f2a(_0x368eb5._0x4c0c53,0x50e);if(commandExists(_0x559dc3['ffxPJ']))return _0x323f2a(_0x368eb5._0x2cf2aa,_0x368eb5._0x56982b)+'ontab';return _0x248801(0x6b3,0x79a)+_0x248801(0x3d4,0x5cb);case _0x248801(0x6d3,0x6ae):return _0x323f2a(_0x368eb5._0x2e5778,0x914)+_0x248801(0x9a3,0x85a)+_0x248801(_0x368eb5._0x50fa4a,_0x368eb5._0x117b42);default:return _0x559dc3['UgaJp'];}}function readServiceState(){const _0x2c5eca={_0x45f6b4:0x625,_0xfb632e:0x988,_0x470a10:0x9cf,_0x191244:0x625,_0x5c6af3:0x781,_0x562549:0x6e2,_0x382a0f:0x390,_0x3f0eb9:0x7c8,_0x1c0346:0x6a3,_0x86e030:0x39d},_0x5f239a={_0x245d78:0x697},_0x49ed34={};_0x49ed34[_0x3ebe90(_0x2c5eca._0x45f6b4,0x808)]='utf8',_0x49ed34[_0x30f3e8(0x888,0x887)]=function(_0x4648ff,_0x22f30c){return _0x4648ff!==_0x22f30c;};const _0x357e4c=_0x49ed34;function _0x3ebe90(_0x150705,_0xd61687){return _0xb2a5b9(_0xd61687,_0x150705-0x552);}function _0x30f3e8(_0x3d498b,_0x3f932c){return _0xb2a5b9(_0x3f932c,_0x3d498b-_0x5f239a._0x245d78);}if(!_0x3ffaef(SERVICE_STATE_PATH))return null;try{const _0x5cd35b=JSON[_0x30f3e8(_0x2c5eca._0xfb632e,_0x2c5eca._0x470a10)](_0x491827(SERVICE_STATE_PATH,_0x357e4c[_0x3ebe90(_0x2c5eca._0x191244,_0x2c5eca._0x5c6af3)]));if(!_0x5cd35b[_0x3ebe90(0x6e2,0x923)]||_0x357e4c['hxRrm'](typeof _0x5cd35b[_0x3ebe90(_0x2c5eca._0x562549,0x80f)],_0x3ebe90(_0x2c5eca._0x382a0f,0x5d5)))return null;return{'pid':_0x5cd35b[_0x30f3e8(0x827,_0x2c5eca._0x3f0eb9)],'startedAt':_0x5cd35b[_0x3ebe90(0x670,_0x2c5eca._0x1c0346)+'t']??new Date(0x0)['toISOStr'+_0x3ebe90(_0x2c5eca._0x86e030,0x3f4)]()};}catch{return null;}}function readRuntimeRegistry(){const _0x5e8fc9={_0x446880:0x25e,_0xd2cdda:0x1a0,_0x3fdc98:0x17e,_0x33e195:0x1e3,_0x4da2bf:0x276},_0x326c4a={_0x13910c:0x5a};function _0x2cd40b(_0x4041cd,_0x32c74e){return _0xb2a5b9(_0x4041cd,_0x32c74e-0xd3);}const _0x4689c0={};_0x4689c0[_0x2cd40b(-0x24d,-0x65)]='utf8';const _0x32c329=_0x4689c0;function _0x178420(_0xf0be30,_0x47b650){return _0xb2a5b9(_0xf0be30,_0x47b650-_0x326c4a._0x13910c);}if(!_0x3ffaef(RUNTIME_REGISTRY_PATH))return[];try{const _0x2764f4=JSON[_0x178420(_0x5e8fc9._0x446880,0x34b)](_0x491827(RUNTIME_REGISTRY_PATH,_0x32c329[_0x178420(_0x5e8fc9._0xd2cdda,-0xde)]));if(!Array[_0x2cd40b(_0x5e8fc9._0x3fdc98,-0xc5)](_0x2764f4))return[];const _0x3781a2=_0x2764f4[_0x178420(0x311,_0x5e8fc9._0x33e195)](_0x182c7c=>normalizeRuntimeProcessRecord(_0x182c7c))[_0x178420(0x1b1,_0x5e8fc9._0x4da2bf)](_0x5582df=>_0x5582df!=null&&isPidRunning(_0x5582df['pid']));return writeRuntimeRegistry(_0x3781a2),_0x3781a2;}catch{return[];}}function writeRuntimeRegistry(_0xfad87){const _0x4998b0={_0x394e9d:0x326,_0x537f05:0x1d6,_0x507d7b:0x30},_0x2a3f4a={_0xf88955:0x29f};if(_0xfad87[_0x1351a4(_0x4998b0._0x394e9d,_0x4998b0._0x537f05)]===0x0){rmIfExists(RUNTIME_REGISTRY_PATH);return;}function _0x3a3511(_0x3f377a,_0x98406d){return _0x3a90bd(_0x3f377a,_0x98406d-0x288);}ensureServiceDirs();function _0x1351a4(_0x29ec15,_0x9fde98){return _0x3a90bd(_0x9fde98,_0x29ec15-_0x2a3f4a._0xf88955);}_0x52ea0b(RUNTIME_REGISTRY_PATH,JSON['stringif'+'y'](_0xfad87,null,0x2)+'\x0a',_0x3a3511(_0x4998b0._0x507d7b,0x182));}function normalizeRuntimeProcessRecord(_0x1b4eeb){const _0x1bf664={_0x52d883:0x28a,_0x36ecb1:0x19,_0xac602e:0x2c,_0x2e86e4:0x221,_0x494a33:0x39a,_0x5cccae:0x655,_0x2b762a:0x4e9,_0x1ee924:0x503,_0x4d84a7:0x8af,_0x10b4fd:0x38c,_0x315873:0x2f9,_0x47b1cb:0x4e3,_0x194fd8:0x253,_0x46318f:0x26,_0x3c9ba3:0x50e,_0x590a78:0x570,_0x2d3752:0x6d3,_0x30a62c:0x871,_0x4adab3:0x4ec,_0x2164e8:0x2fc,_0x501dba:0x118,_0x5a9b04:0x20b,_0x4d42f8:0x58,_0x231cda:0x54e},_0x500068={_0x4e3bcb:0x1e2},_0x2bbfb9={'JNmlG':function(_0x4249ba,_0x2580d9){return _0x4249ba!==_0x2580d9;},'ORdzm':_0xf60669(_0x1bf664._0x52d883,_0x1bf664._0x36ecb1),'kMxpo':function(_0x243761,_0x591921){return _0x243761(_0x591921);},'aHsQb':function(_0x4582e3,_0x1aa5c7){return _0x4582e3===_0x1aa5c7;}};if(!_0x1b4eeb||_0x2bbfb9[_0xf60669(0xc5,_0x1bf664._0xac602e)](typeof _0x1b4eeb,'object'))return null;const _0x46d539=_0x1b4eeb;function _0x43631f(_0x32cb59,_0x2f0e59){return _0x3a90bd(_0x2f0e59,_0x32cb59-0x726);}if(!_0x46d539[_0x43631f(0x8af,0x97e)]||typeof _0x46d539[_0xf60669(_0x1bf664._0x2e86e4,0x36b)]!==_0x2bbfb9[_0xf60669(0x4f7,_0x1bf664._0x494a33)])return null;function _0xf60669(_0x3da073,_0x53ca44){return _0x3a90bd(_0x3da073,_0x53ca44-_0x500068._0x4e3bcb);}const _0x231091=typeof _0x46d539[_0x43631f(0x4e9,0x29e)+'th']===_0x43631f(0x5eb,0x408)?_0x2bbfb9[_0x43631f(0x760,_0x1bf664._0x5cccae)](resolveScriptPath,_0x46d539[_0x43631f(_0x1bf664._0x2b762a,_0x1bf664._0x1ee924)+'th']):'';if(!_0x231091)return null;return{'pid':_0x46d539[_0x43631f(_0x1bf664._0x4d84a7,0xa5e)],'startedAt':typeof _0x46d539['startedA'+'t']==='string'?_0x46d539[_0xf60669(_0x1bf664._0x10b4fd,_0x1bf664._0x315873)+'t']:new Date(0x0)[_0xf60669(_0x1bf664._0x47b1cb,0x39c)+_0xf60669(-_0x1bf664._0x194fd8,_0x1bf664._0x46318f)](),'gatewayId':typeof _0x46d539[_0x43631f(_0x1bf664._0x3c9ba3,_0x1bf664._0x590a78)+'d']===_0x43631f(0x5eb,_0x1bf664._0x2d3752)?_0x46d539['gatewayI'+'d']:'','instanceId':_0x2bbfb9[_0x43631f(_0x1bf664._0x30a62c,0x603)](typeof _0x46d539[_0x43631f(_0x1bf664._0x4adab3,_0x1bf664._0x2164e8)+'Id'],_0xf60669(_0x1bf664._0x501dba,0xa7))?_0x46d539[_0xf60669(_0x1bf664._0x5a9b04,-_0x1bf664._0x4d42f8)+'Id']:'','serviceMode':_0x46d539[_0x43631f(_0x1bf664._0x231cda,0x4c3)+'ode']===!![],'scriptPath':_0x231091};}function stopRunningProcess(){const _0x5e1d7b={_0xaddc4a:0x2b3,_0x8e60c6:0x7f1,_0x5bf7b3:0xa96,_0x33137a:0x401,_0x3f96f0:0x36e,_0x597a40:0x675,_0x41ba36:0x278,_0x19d89d:0x32d,_0x19ed93:0x7ee,_0x240441:0x8ff,_0x3fbebe:0x384,_0x3cc4a0:0x1d1,_0x2cfc94:0xb9,_0x442b29:0x2cb},_0x4f88c5={'wjzJZ':function(_0x5f368c,_0x450bcf,_0x936993){return _0x5f368c(_0x450bcf,_0x936993);},'FqRgJ':function(_0x31bfb8,_0x935535){return _0x31bfb8(_0x935535);},'dPKMG':_0x2bd2b6(0x296,_0x5e1d7b._0xaddc4a),'EEKLK':function(_0x364b23,_0x400c1f){return _0x364b23(_0x400c1f);}},_0x3d04c9=readServiceState();if(!_0x3d04c9)return;_0x4f88c5[_0x12c45e(_0x5e1d7b._0x8e60c6,_0x5e1d7b._0x5bf7b3)](execIgnoreFailure,process['platform']==='win32'?_0x12c45e(0x63c,_0x5e1d7b._0x33137a):_0x12c45e(0x696,0x836),process[_0x2bd2b6(0x25b,_0x5e1d7b._0x3f96f0)]===_0x12c45e(_0x5e1d7b._0x597a40,0x77f)?[_0x2bd2b6(_0x5e1d7b._0x41ba36,_0x5e1d7b._0x19d89d),_0x4f88c5['FqRgJ'](String,_0x3d04c9[_0x12c45e(_0x5e1d7b._0x19ed93,_0x5e1d7b._0x240441)]),'/T','/F']:[_0x4f88c5[_0x12c45e(0x7a2,0x6ba)],String(_0x3d04c9[_0x2bd2b6(0x30a,_0x5e1d7b._0x3fbebe)])]);function _0x12c45e(_0xa05b2c,_0xe6c2e7){return _0xb2a5b9(_0xe6c2e7,_0xa05b2c-0x65e);}function _0x2bd2b6(_0x1149d8,_0x4950f9){return _0xb2a5b9(_0x4950f9,_0x1149d8-0x17a);}_0x4f88c5[_0x2bd2b6(_0x5e1d7b._0x3cc4a0,_0x5e1d7b._0x2cfc94)](clearServiceState,_0x3d04c9[_0x2bd2b6(0x30a,_0x5e1d7b._0x442b29)]);}function listPosixRuntimePids(_0x21e265){const _0x52b9c6={_0x1a4897:0xea,_0x2380aa:0xb9,_0x5e802e:0x4ff,_0xda7ba2:0x37e,_0x1522fe:0x617,_0x22d637:0x717,_0x397bd2:0x7a3,_0x249e6b:0x75d,_0x4c9341:0x7f0,_0x18fab0:0x701,_0x2bc5d5:0x72},_0x4e8f97={_0x1ff13b:0x3c4,_0xbdc773:0x251,_0x554124:0x8e,_0x5f32dc:0x32a,_0x362f99:0x3dc,_0x49befd:0x502},_0x104781={_0x3adf84:0x55e},_0x23f52e={_0x1a9ba6:0xd3},_0x2a37dd={_0x4fc427:0x5d4};function _0xa74687(_0x2ce6f9,_0x1f5587){return _0xb2a5b9(_0x1f5587,_0x2ce6f9-_0x2a37dd._0x4fc427);}const _0x28df48={};_0x28df48['XDGRN']=_0x5c9ee7(_0x52b9c6._0x1a4897,0x313),_0x28df48[_0x5c9ee7(-_0x52b9c6._0x2380aa,0xed)]=_0xa74687(0x56d,_0x52b9c6._0x5e802e);const _0x267677=_0x28df48;function _0x5c9ee7(_0x364672,_0x49f759){return _0xb2a5b9(_0x49f759,_0x364672-_0x23f52e._0x1a9ba6);}if(!_0x21e265||process['platform']===_0x267677[_0xa74687(_0x52b9c6._0xda7ba2,_0x52b9c6._0x1522fe)])return[];try{const _0x5da8f5={};_0x5da8f5[_0xa74687(_0x52b9c6._0x22d637,0x649)]=_0xa74687(0x4d5,0x36f);const _0x16d8bd=execFileSync('ps',[_0x267677['UefLO'],'-o','pid=,arg'+'s='],_0x5da8f5);return _0x16d8bd[_0xa74687(_0x52b9c6._0x397bd2,0x913)]('\x0a')[_0xa74687(_0x52b9c6._0x249e6b,0x543)](_0x3a6ac7=>_0x3a6ac7[_0x5c9ee7(0x36c,0x282)]())[_0xa74687(_0x52b9c6._0x4c9341,_0x52b9c6._0x18fab0)](Boolean)[_0x5c9ee7(-_0x52b9c6._0x2bc5d5,-0x151)](_0x2166b2=>{const _0x12cf8c={_0x3ffa72:0x353},_0x74e7b0=_0x2166b2[_0x55f902(0x5f9,0x3ce)](/^(\d+)\s+(.*)$/);if(!_0x74e7b0)return[];const _0x1d3014=Number(_0x74e7b0[0x1]),_0x1b250a=_0x74e7b0[0x2];if(!Number[_0x4b7924(_0x4e8f97._0x1ff13b,_0x4e8f97._0xbdc773)+'r'](_0x1d3014)||_0x1d3014<=0x0||_0x1d3014===process['pid'])return[];if(!_0x1b250a[_0x4b7924(_0x4e8f97._0x554124,_0x4e8f97._0x5f32dc)](_0x21e265))return[];if(!/\brun\b/[_0x55f902(_0x4e8f97._0x362f99,_0x4e8f97._0x49befd)](_0x1b250a))return[];function _0x55f902(_0x5753f3,_0x29fb64){return _0x5c9ee7(_0x5753f3-_0x104781._0x3adf84,_0x29fb64);}function _0x4b7924(_0x5c4926,_0x1c7a74){return _0x5c9ee7(_0x1c7a74-_0x12cf8c._0x3ffa72,_0x5c4926);}return[_0x1d3014];});}catch{return[];}}function isPidRunning(_0x3ffef4){const _0x4dedf1={_0x38522c:0xba};function _0x1999cd(_0x2401a8,_0x43b30c){return _0x3a90bd(_0x43b30c,_0x2401a8-0x89);}try{return process[_0x1999cd(_0x4dedf1._0x38522c,0x2e2)](_0x3ffef4,0x0),!![];}catch{return![];}}function waitForPidExit(_0x33b21e,_0x486eba){const _0x12fc74={_0x3199a0:0x3b8,_0xb6313c:0x47c,_0x3f9e7a:0x190,_0x357082:0x18c};function _0x2c63a4(_0xd51b6d,_0x107061){return _0xb2a5b9(_0x107061,_0xd51b6d- -0x7b);}const _0x556602=Date[_0x14bb87(_0x12fc74._0x3199a0,_0x12fc74._0xb6313c)]()+_0x486eba,_0x442413=new Int32Array(new SharedArrayBuffer(0x4));function _0x14bb87(_0x5e43cf,_0x37fce6){return _0xb2a5b9(_0x5e43cf,_0x37fce6-0x1fe);}while(isPidRunning(_0x33b21e)){if(Date['now']()>=_0x556602)return![];Atomics[_0x2c63a4(_0x12fc74._0x3f9e7a,_0x12fc74._0x357082)](_0x442413,0x0,0x0,0x32);}return!![];}function startDetachedWindowsService(_0x5c3eaf){const _0x6cdf04={_0x3902c6:0x8a8,_0x234945:0x99d,_0x4036f4:0x89e,_0x31abe2:0x76c,_0x35c781:0x10c,_0x4cc4d2:0x7c7,_0xde977e:0x790,_0x592b2b:0x167},_0x2919c1={_0x1cabda:0x6c8},_0x5a375c={'zNJsi':function(_0x19ee38,_0x501fe4,_0x3486e8){return _0x19ee38(_0x501fe4,_0x3486e8);}};function _0x1beaa5(_0x4dddc5,_0x117098){return _0xb2a5b9(_0x117098,_0x4dddc5-0x35c);}const _0x504038=openSync(SERVICE_LOG_PATH,'a'),_0x489fbf=_0x5a375c[_0x3f0fba(_0x6cdf04._0x3902c6,_0x6cdf04._0x234945)](openSync,SERVICE_ERROR_LOG_PATH,'a');function _0x3f0fba(_0x286e55,_0x4a2fd9){return _0xb2a5b9(_0x4a2fd9,_0x286e55-_0x2919c1._0x1cabda);}try{const [_0xe4a031,..._0x54d408]=_0x5c3eaf,_0x2b2085={};_0x2b2085[_0x3f0fba(_0x6cdf04._0x4036f4,_0x6cdf04._0x31abe2)]=!![],_0x2b2085[_0x1beaa5(0x183,-_0x6cdf04._0x35c781)]=['ignore',_0x504038,_0x489fbf],_0x2b2085[_0x3f0fba(_0x6cdf04._0x4cc4d2,_0x6cdf04._0xde977e)+_0x1beaa5(0x337,_0x6cdf04._0x592b2b)]=!![];const _0x478a78=spawn(_0xe4a031,_0x54d408,_0x2b2085);_0x478a78[_0x3f0fba(0x761,0x524)]();}finally{closeSync(_0x504038),closeSync(_0x489fbf);}}function startDetachedPosixService(_0x1eb592){const _0x22ea1a={_0x272d81:0x59b,_0x238aef:0x83e,_0x3415fc:0x182,_0x495088:0x2ad,_0x1b3f7e:0x306},_0x3fe57d={_0x1f2a11:0x137};function _0x235b8b(_0x153319,_0x3724b0){return _0x3a90bd(_0x3724b0,_0x153319-_0x3fe57d._0x1f2a11);}function _0x2557d5(_0x2bbf8a,_0x31de7f){return _0x3a90bd(_0x31de7f,_0x2bbf8a-0x4d9);}const _0x4659bf={};_0x4659bf[_0x2557d5(_0x22ea1a._0x272d81,_0x22ea1a._0x238aef)]=_0x235b8b(_0x22ea1a._0x3415fc,_0x22ea1a._0x495088);const _0x301384=_0x4659bf,_0x271331=openSync(SERVICE_LOG_PATH,'a'),_0x242289=openSync(SERVICE_ERROR_LOG_PATH,'a');try{const [_0x2451b1,..._0x4609c0]=_0x1eb592,_0x515859={};_0x515859[_0x235b8b(_0x22ea1a._0x1b3f7e,0x572)]=!![],_0x515859['stdio']=[_0x301384[_0x2557d5(_0x22ea1a._0x272d81,0x59e)],_0x271331,_0x242289];const _0x4a0ea7=spawn(_0x2451b1,_0x4609c0,_0x515859);_0x4a0ea7[_0x235b8b(0x1c9,0x1fa)]();}finally{closeSync(_0x271331),closeSync(_0x242289);}}async function waitForRuntimeState(_0x45dec7=0x5dc,_0x3f8f08=0x32){const _0x45e6b8={_0x28d5a7:0x66f,_0x1a49fa:0x6d8,_0x4199ae:0x4a1,_0x16dfb1:0x607,_0x237b5b:0x545,_0x57170b:0x4f0},_0x21ed1e={_0x3b9f12:0x3f8},_0x20da73={'EuToF':function(_0x17c404){return _0x17c404();},'nQFlV':function(_0x5bb196,_0x1fb4de){return _0x5bb196(_0x1fb4de);}},_0x4ddaf1=Date[_0x149172(_0x45e6b8._0x28d5a7,_0x45e6b8._0x1a49fa)]()+_0x45dec7;function _0x51671f(_0x549468,_0x5b7685){return _0x3a90bd(_0x549468,_0x5b7685-0x390);}let _0x1b6f04=_0x20da73[_0x149172(0x57f,0x309)](getServiceStatus);while(Date[_0x51671f(_0x45e6b8._0x4199ae,_0x45e6b8._0x16dfb1)]()<_0x4ddaf1){if(_0x1b6f04[_0x51671f(_0x45e6b8._0x237b5b,_0x45e6b8._0x57170b)])return _0x1b6f04;await _0x20da73[_0x149172(0x5fd,0x35f)](_0x3a6e11,_0x3f8f08),_0x1b6f04=getServiceStatus();}function _0x149172(_0x2fd908,_0xabcce3){return _0x3a90bd(_0xabcce3,_0x2fd908-_0x21ed1e._0x3b9f12);}return _0x1b6f04;}function installLinuxService(_0x467710){const _0x4b6c83={_0x32e139:0x4c9},_0x34cf09={'qbseS':function(_0x496652,_0x4b8439){return _0x496652(_0x4b8439);}};function _0x4503d9(_0x57015b,_0x17d33e){return _0xb2a5b9(_0x17d33e,_0x57015b-_0x4b6c83._0x32e139);}try{_0x34cf09[_0x4503d9(0x34c,0x1d7)](installLinuxSystemdService,_0x467710),removeLinuxCronRegistration();return;}catch(_0x47f942){installLinuxCronService(_0x467710,_0x47f942);}}function restartLinuxService(_0x45a042){const _0x55bad6={'GdlhX':function(_0x382755,_0x2f6885,_0x586de9){return _0x382755(_0x2f6885,_0x586de9);}};try{restartLinuxSystemdService(_0x45a042),removeLinuxCronRegistration();return;}catch(_0x316ac4){_0x55bad6['GdlhX'](installLinuxCronService,_0x45a042,_0x316ac4);}}function installLinuxSystemdService(_0x246d38){const _0x4d2693={_0x3707f1:0x114,_0x23c70e:0xbf,_0x25ed4e:0x49f,_0x557a1a:0x8f6,_0x2fd737:0x50e,_0x5c23f5:0x6d7,_0xb27100:0x5dc,_0x2f004a:0x6fb,_0x3a48da:0x641,_0x3acb1d:0x66f,_0x186e83:0x825,_0x2287fa:0x1bf,_0x6e80b3:0x701,_0x258eb5:0x193,_0x2725b2:0x1c4,_0x4d7c3d:0x810,_0x1ab1c9:0x5dd,_0x4916e1:0x5e6,_0x5dc0b6:0x87a,_0x46113f:0x917};function _0x354176(_0x5ea2e2,_0x93967b){return _0x3a90bd(_0x5ea2e2,_0x93967b-0x747);}const _0x208628={'HlbgU':_0x3e80be(-_0x4d2693._0x3707f1,_0x4d2693._0x23c70e)+'l','lljTd':_0x354176(_0x4d2693._0x25ed4e,0x5e6)+_0x354176(0x3e8,0x53a)+_0x354176(0xa74,_0x4d2693._0x557a1a)+'le','wfugZ':function(_0x275673,_0x41066a){return _0x275673(_0x41066a);},'iXKFa':function(_0x11a3ae,_0x1313eb,_0x160946,_0x158efd){return _0x11a3ae(_0x1313eb,_0x160946,_0x158efd);},'coPEa':_0x354176(0x918,0x81b),'wnSKh':_0x3e80be(0x32c,0x4c9)};if(!commandExists(_0x208628[_0x354176(0x3e4,_0x4d2693._0x2fd737)]))throw new Error(_0x208628[_0x354176(_0x4d2693._0x5c23f5,0x6a8)]);const _0x56ead4={};_0x56ead4[_0x354176(0x629,0x5f9)+'e']=!![],_0x19193e(_0x208628[_0x354176(0x45c,_0x4d2693._0xb27100)](dirname,LINUX_SERVICE_PATH),_0x56ead4),_0x52ea0b(LINUX_SERVICE_PATH,buildLinuxSystemdUnit(_0x246d38,SERVICE_LOG_PATH,SERVICE_ERROR_LOG_PATH),_0x354176(_0x4d2693._0x2f004a,_0x4d2693._0x3a48da));const _0x41f344={};_0x41f344[_0x354176(_0x4d2693._0x3acb1d,0x567)]=_0x354176(_0x4d2693._0x186e83,0x792);function _0x3e80be(_0x111fcd,_0x15d50e){return _0x3a90bd(_0x15d50e,_0x111fcd-0x4d);}_0x208628[_0x354176(0xb81,0x9a4)](execFileSync,_0x208628['HlbgU'],[_0x3e80be(0x121,_0x4d2693._0x2287fa),_0x3e80be(0x6,-0x1ee)+_0x354176(_0x4d2693._0x6e80b3,0x715)],_0x41f344);const _0x55c790={};_0x55c790[_0x3e80be(-_0x4d2693._0x258eb5,-_0x4d2693._0x2725b2)]=_0x354176(_0x4d2693._0x4d7c3d,0x792),execFileSync(_0x354176(_0x4d2693._0x1ab1c9,_0x4d2693._0x4916e1)+'l',[_0x208628['coPEa'],_0x208628[_0x354176(_0x4d2693._0x5dc0b6,0x970)],_0x354176(0x943,_0x4d2693._0x46113f),SYSTEMD_UNIT_NAME],_0x55c790);}function restartLinuxSystemdService(_0x28d10b){const _0x26bc90={_0x453a1b:0x5fe,_0x2a3639:0x37e,_0x138d2c:0x4ce,_0x34fa1c:0x460,_0x5f04c3:0x1a6,_0x457655:0x3b9,_0x37fca4:0x32,_0x143c04:0x187,_0x5892e3:0xc5,_0x25e8d4:0x125,_0x2f1c22:0x6a,_0x1bddbc:0x144},_0x4cac61={_0x786d88:0x9c},_0x1ebe00={};_0x1ebe00['VUlos']='systemct'+'l';function _0x16f760(_0x16d535,_0x358d27){return _0x3a90bd(_0x358d27,_0x16d535-0x432);}_0x1ebe00['YcHQk']='ignore';function _0x5eb576(_0x5373bd,_0x4bc8d8){return _0x3a90bd(_0x5373bd,_0x4bc8d8-_0x4cac61._0x786d88);}const _0x13999e=_0x1ebe00,_0x30d662=(_0x16f760(_0x26bc90._0x453a1b,_0x26bc90._0x2a3639)+'4')[_0x16f760(0x5fa,_0x26bc90._0x138d2c)]('|');let _0x1093fe=0x0;while(!![]){switch(_0x30d662[_0x1093fe++]){case'0':if(!commandExists(_0x13999e[_0x16f760(_0x26bc90._0x34fa1c,0x495)]))throw new Error(_0x16f760(0x2d1,_0x26bc90._0x5f04c3)+_0x16f760(0x225,_0x26bc90._0x457655)+_0x16f760(0x5e1,0x7a1)+'le');continue;case'1':const _0x2aaf20={};_0x2aaf20['stdio']=_0x13999e[_0x5eb576(_0x26bc90._0x37fca4,-_0x26bc90._0x143c04)],execFileSync(_0x5eb576(-0x298,-_0x26bc90._0x5892e3)+'l',['--user',_0x5eb576(_0x26bc90._0x25e8d4,0x55)+_0x5eb576(0x1b3,_0x26bc90._0x2f1c22)],_0x2aaf20);continue;case'2':if(!_0x3ffaef(LINUX_SERVICE_PATH)){installLinuxSystemdService(_0x28d10b);return;}continue;case'3':_0x52ea0b(LINUX_SERVICE_PATH,buildLinuxSystemdUnit(_0x28d10b,SERVICE_LOG_PATH,SERVICE_ERROR_LOG_PATH),_0x16f760(0x32c,0x376));continue;case'4':const _0x221b51={};_0x221b51[_0x5eb576(-0x2aa,-_0x26bc90._0x1bddbc)]=_0x13999e['YcHQk'],execFileSync('systemct'+'l',['--user',_0x5eb576(0x30,0x10d),SYSTEMD_UNIT_NAME],_0x221b51);continue;}break;}}function installLinuxCronService(_0x204a2d,_0x1a396a){const _0x5de0a4={_0x43e96d:0x213,_0x506b32:0x164,_0x1eb202:0x300,_0x34fd21:0x4d4,_0x4437a3:0xf8,_0xb40952:0x14d,_0x2b6dda:0x39,_0x171abf:0x206,_0x29af95:0x3b2,_0x3cb121:0x3db,_0x460ff2:0x35a,_0x39733c:0x3f7,_0x5b3d81:0xe3},_0x5630be={'YIPVJ':function(_0x2faf6e,_0x3ecf3e){return _0x2faf6e(_0x3ecf3e);},'tlwYN':_0x1b9c93(0x26a,_0x5de0a4._0x43e96d),'joLfP':function(_0x4f8f0c,_0x4e2fa5,_0x5b354c,_0x3f7c32){return _0x4f8f0c(_0x4e2fa5,_0x5b354c,_0x3f7c32);},'BCXMs':function(_0x5c2f6c,_0x54c212){return _0x5c2f6c+_0x54c212;}};if(!_0x5630be['YIPVJ'](commandExists,_0x5630be[_0x55f79f(_0x5de0a4._0x506b32,-0x10d)]))throw new Error(_0x1b9c93(_0x5de0a4._0x1eb202,_0x5de0a4._0x34fd21)+_0x55f79f(0x133,0x4d)+'stallati'+_0x55f79f(_0x5de0a4._0x4437a3,-0x45)+_0x55f79f(_0x5de0a4._0xb40952,0xa9)+_0x55f79f(-0x1c2,-_0x5de0a4._0x2b6dda)+_0x1b9c93(_0x5de0a4._0x171abf,_0x5de0a4._0x29af95)+_0x1b9c93(_0x5de0a4._0x3cb121,_0x5de0a4._0x460ff2)+_0x55f79f(_0x5de0a4._0x39733c,0x437)+formatError(_0x1a396a));_0x5630be['YIPVJ'](rmIfExists,LINUX_SERVICE_PATH);const _0x497fa4=buildLinuxCronEntry(_0x204a2d,SERVICE_LOG_PATH,SERVICE_ERROR_LOG_PATH);writeLinuxCrontabEntry(_0x497fa4);function _0x1b9c93(_0x60aca1,_0x377cd1){return _0x3a90bd(_0x377cd1,_0x60aca1-0x3ac);}function _0x55f79f(_0x487293,_0x2f5a65){return _0x3a90bd(_0x487293,_0x2f5a65-0x145);}_0x5630be[_0x55f79f(-0x81,0x9d)](_0x52ea0b,LINUX_CRON_RECORD_PATH,_0x5630be[_0x55f79f(-0x208,-_0x5de0a4._0x5b3d81)](_0x497fa4,'\x0a'),'utf8'),stopRunningProcess(),startDetachedPosixService(_0x204a2d);}function hasLinuxCronRegistration(){const _0x351e9f={_0x47fc03:0x7e4,_0x167b11:0x4a2,_0x5cea71:0x7e4,_0x58cb14:0x730,_0x7bd3b8:0x5b4,_0x51e85a:0x385,_0x3c2e18:0x47c,_0x3df9b4:0x537},_0x13d29c={};_0x13d29c[_0x3742bc(_0x351e9f._0x47fc03,0x988)]=function(_0x237b56,_0x1ccba0){return _0x237b56!==_0x1ccba0;};function _0x3742bc(_0x51f9b2,_0x4969f1){return _0xb2a5b9(_0x4969f1,_0x51f9b2-0x6de);}_0x13d29c['IaqYG']=_0x49ceb9(0x3e3,_0x351e9f._0x167b11);const _0x2f038b=_0x13d29c;if(_0x2f038b[_0x3742bc(_0x351e9f._0x5cea71,_0x351e9f._0x58cb14)](process[_0x49ceb9(_0x351e9f._0x7bd3b8,_0x351e9f._0x51e85a)],_0x2f038b[_0x49ceb9(_0x351e9f._0x3c2e18,_0x351e9f._0x3df9b4)]))return![];function _0x49ceb9(_0x522bbb,_0x5c525d){return _0xb2a5b9(_0x522bbb,_0x5c525d-0x2a4);}return readLinuxCrontab()['some'](_0x2d5eb5=>_0x2d5eb5['includes'](LINUX_CRON_MARKER));}function removeLinuxCronRegistration(){if(process['platform']!==_0x17db35(0x918,0x837))return;function _0x17db35(_0x46a6bc,_0xe3d973){return _0x3a90bd(_0xe3d973,_0x46a6bc-0x721);}function _0x2b826f(_0x2e9c6e,_0x427cbd){return _0x3a90bd(_0x2e9c6e,_0x427cbd-0x44f);}if(commandExists(_0x2b826f(0x467,0x30d))){const _0x26a9ec=readLinuxCrontab()['filter'](_0x4261a4=>!_0x4261a4['includes'](LINUX_CRON_MARKER));writeLinuxCrontab(_0x26a9ec);}rmIfExists(LINUX_CRON_RECORD_PATH);}function writeLinuxCrontabEntry(_0x113380){const _0x55ce76={_0x483739:0x1e8},_0x947ec6={_0x264fea:0x27e};function _0x19aaf3(_0x10a4d3,_0x6e00c3){return _0xb2a5b9(_0x6e00c3,_0x10a4d3-0x14f);}function _0x53003c(_0xa4fb5,_0x317af7){return _0xb2a5b9(_0x317af7,_0xa4fb5-_0x947ec6._0x264fea);}const _0x1c40da={'YKwkM':function(_0x530d83){return _0x530d83();}},_0x3eaeab=_0x1c40da['YKwkM'](readLinuxCrontab)['filter'](_0x2326e3=>!_0x2326e3[_0x53003c(0x182,0x249)](LINUX_CRON_MARKER));_0x3eaeab[_0x53003c(0x291,_0x55ce76._0x483739)](_0x113380),writeLinuxCrontab(_0x3eaeab);}function readLinuxCrontab(){const _0x55324f={_0x138875:0x2f8,_0x2ac1c9:0x776,_0x3dfb90:0x23a},_0x257cfe={_0x3406aa:0x687};function _0x58e63a(_0x43b559,_0x2f4b39){return _0xb2a5b9(_0x43b559,_0x2f4b39-0x1b5);}const _0x202566={'Rtwwt':function(_0xa512d7,_0x3df82c){return _0xa512d7(_0x3df82c);}};function _0x54c39c(_0x4474ea,_0x548d3d){return _0xb2a5b9(_0x4474ea,_0x548d3d-_0x257cfe._0x3406aa);}if(!_0x202566['Rtwwt'](commandExists,'crontab'))return[];try{const _0x1d283e={};_0x1d283e[_0x58e63a(0x365,_0x55324f._0x138875)]=_0x54c39c(_0x55324f._0x2ac1c9,0x588);const _0x3731e3=execFileSync(_0x58e63a(_0x55324f._0x3dfb90,0x7a),['-l'],_0x1d283e);return _0x3731e3[_0x54c39c(0xab6,0x856)]('\x0a')['map'](_0x5f301e=>_0x5f301e['trimEnd']())['filter'](_0x3362fc=>_0x3362fc['length']>0x0);}catch(_0x2fce15){if(isMissingCrontabError(_0x2fce15))return[];throw _0x2fce15;}}function writeLinuxCrontab(_0x4eb839){const _0x3b8d4d={_0x29b46c:0x4fa,_0x26f099:0x55b,_0x4ae27a:0x6ec,_0x254f47:0x8b8,_0x132d91:0x909,_0xd2d947:0x549,_0x392118:0x151,_0x3c126f:0x40a,_0x1e60f1:0x264,_0x213582:0xc2,_0x115e58:0xdd,_0x544f66:0x2e1,_0x488fb5:0x3c,_0x1dc8a1:0x19c},_0x5f1d20={};_0x5f1d20['RLigH']=function(_0x4f0f45,_0x461d7a){return _0x4f0f45===_0x461d7a;},_0x5f1d20['ITDKj']=_0x8aeb42(_0x3b8d4d._0x29b46c,_0x3b8d4d._0x26f099);function _0x8aeb42(_0x48210e,_0x2e73e2){return _0x3a90bd(_0x2e73e2,_0x48210e-0x600);}_0x5f1d20[_0x8aeb42(_0x3b8d4d._0x4ae27a,_0x3b8d4d._0x254f47)]=_0x8aeb42(0x68e,_0x3b8d4d._0x132d91),_0x5f1d20['wWKpI']='ignore';const _0x16c48c=_0x5f1d20;if(!commandExists(_0x8aeb42(0x4be,_0x3b8d4d._0xd2d947)))return;function _0x58fa01(_0x7d87b7,_0xe9b817){return _0x3a90bd(_0xe9b817,_0x7d87b7- -0xf);}if(_0x16c48c[_0x8aeb42(0x777,0x69e)](_0x4eb839['length'],0x0)){execIgnoreFailure(_0x8aeb42(0x4be,0x37c),['-r']);return;}execFileSync(_0x58fa01(-_0x3b8d4d._0x392118,-0xf6),['-'],{'input':_0x4eb839[_0x8aeb42(_0x3b8d4d._0x3c126f,0x5c2)]('\x0a')+'\x0a','encoding':_0x16c48c[_0x58fa01(-_0x3b8d4d._0x1e60f1,-_0x3b8d4d._0x213582)],'stdio':[_0x16c48c[_0x58fa01(_0x3b8d4d._0x115e58,-0x11b)],_0x16c48c[_0x58fa01(0x17e,_0x3b8d4d._0x544f66)],_0x58fa01(_0x3b8d4d._0x488fb5,_0x3b8d4d._0x1dc8a1)]});}function resolveScriptPath(_0x6a5c4f){const _0xb39da9={_0x210f6b:0x6e1,_0x33b48b:0x266,_0x9be113:0x72f},_0x33b86={_0x3bb65b:0x496},_0x2b4856=_0x6a5c4f?.[_0x3fd277(_0xb39da9._0x210f6b,0x549)]()||process[_0x5aa94c(_0xb39da9._0x33b48b,0x438)][0x1]?.[_0x5aa94c(_0xb39da9._0x9be113,0x646)]()||'';function _0x3fd277(_0x235ea8,_0x500a1e){return _0xb2a5b9(_0x235ea8,_0x500a1e-0x2b0);}if(!_0x2b4856)return'';function _0x5aa94c(_0x21c12f,_0x1de9ed){return _0xb2a5b9(_0x1de9ed,_0x21c12f-_0x33b86._0x3bb65b);}try{return realpathSync(_0x2b4856);}catch{return _0x2b4856;}}function ensureLaunchScriptExecutable(_0x3fa26e,_0x5ab42e){const _0x1cf65c={_0x37db58:0x20d,_0x278137:0x1b5},_0x177876={_0x248c90:0x5dc};function _0x1fb8ee(_0x14b4b3,_0x2fcf7b){return _0xb2a5b9(_0x14b4b3,_0x2fcf7b-_0x177876._0x248c90);}const _0x114327={'wSmuN':function(_0x63d409,_0xd35a55,_0x92aee5){return _0x63d409(_0xd35a55,_0x92aee5);}};function _0xa5c730(_0x4b6453,_0x5d34fa){return _0xb2a5b9(_0x5d34fa,_0x4b6453-0x1f6);}if(_0x5ab42e===_0xa5c730(_0x1cf65c._0x37db58,0x13f)||!_0x3ffaef(_0x3fa26e))return;try{_0x114327[_0x1fb8ee(_0x1cf65c._0x278137,0x37e)](chmodSync,_0x3fa26e,0x1ed);}catch{}}function writeServiceLauncher(_0x5d9afa){const _0x407a4b={_0x3df0b0:0x541,_0x432bdb:0x53b,_0x2fcaf5:0x4c1,_0x243a59:0x5b3,_0x566767:0x715,_0x550eba:0x6da,_0x21c34a:0x446,_0x1a8d69:0x613,_0x429560:0x483,_0x581ebe:0x2da,_0x1e37d4:0x74b,_0x49a578:0x574,_0x3ba5c7:0x57f,_0x1c2e50:0x5b1,_0x3db281:0x353,_0xcaaf57:0x495,_0x1856f9:0x47c,_0x55cc9b:0x99f,_0x42f20a:0x41e,_0x3f95fc:0x6ff,_0x4958bd:0x461,_0x54b131:0x6ec,_0x9164ba:0x384,_0x35d753:0x56a,_0x2fa686:0x3e9,_0x4da742:0x428,_0x39db8a:0x1fc,_0x282192:0x50e,_0x2b3ae5:0x3ee,_0x4bd902:0x27e,_0x21c606:0x4b5,_0x1efe88:0x692,_0x38cd3a:0x50f,_0x647512:0x4de,_0x50c504:0x660,_0xfa9423:0x8fe,_0x1e4b8f:0x6ab,_0x57fcbb:0x7cd,_0xc2e13e:0x518,_0x86a5b3:0x392,_0x58f8be:0x829,_0x2b6850:0x609,_0x1a3192:0x686,_0x2da8f4:0x513,_0x47bdc7:0x681,_0xd5a4d4:0x6b9,_0x2d4530:0x3cb,_0x5e5265:0x4f4,_0xaa0132:0x407},_0x1d7d82={_0x53d514:0x506},_0x2840cd={};_0x2840cd[_0x425868(_0x407a4b._0x3df0b0,0x62e)]=_0x425868(_0x407a4b._0x432bdb,_0x407a4b._0x2fcaf5)+'$NODE_PA'+_0x1a759b(_0x407a4b._0x243a59,0x35b)+_0x425868(0x93e,_0x407a4b._0x566767)+_0x1a759b(0x74b,_0x407a4b._0x550eba)+'-service';function _0x1a759b(_0x509e29,_0x5a30d){return _0xb2a5b9(_0x5a30d,_0x509e29-0x5ba);}_0x2840cd[_0x1a759b(_0x407a4b._0x21c34a,_0x407a4b._0x1a8d69)]=_0x425868(0x4c7,_0x407a4b._0x429560)+_0x425868(0x2dc,_0x407a4b._0x581ebe)+'RIPT_PAT'+_0x1a759b(_0x407a4b._0x1e37d4,_0x407a4b._0x49a578)+_0x1a759b(0x4e0,_0x407a4b._0x3ba5c7),_0x2840cd[_0x1a759b(0x416,_0x407a4b._0x1c2e50)]=_0x425868(_0x407a4b._0x3db281,0x35b);const _0x8bc97c=_0x2840cd;ensureServiceDirs();function _0x425868(_0x33bd1b,_0x1aa48d){return _0xb2a5b9(_0x33bd1b,_0x1aa48d-_0x1d7d82._0x53d514);}const _0x2004fa=[_0x425868(0xa46,0x7df)+'h',_0x425868(_0x407a4b._0xcaaf57,0x4d3)+_0x425868(_0x407a4b._0x1856f9,0x6ec)+escapeShellDoubleQuoted(_0x5d9afa[_0x1a759b(0x733,_0x407a4b._0x55cc9b)])+'\x22','NODE_PAT'+_0x1a759b(_0x407a4b._0x42f20a,0x3c9)+escapeShellDoubleQuoted(_0x5d9afa['nodePath'])+'\x22',_0x1a759b(_0x407a4b._0x3f95fc,0x984)+_0x425868(_0x407a4b._0x4958bd,_0x407a4b._0x54b131)+escapeShellDoubleQuoted(_0x5d9afa[_0x1a759b(_0x407a4b._0x9164ba,0x355)+'th'])+'\x22',_0x1a759b(_0x407a4b._0x35d753,_0x407a4b._0x2fa686)+_0x1a759b(_0x407a4b._0x4da742,_0x407a4b._0x39db8a)+_0x425868(_0x407a4b._0x282192,_0x407a4b._0x2b3ae5)+_0x425868(_0x407a4b._0x4bd902,_0x407a4b._0x21c606),_0x8bc97c['yTINn'],'fi',_0x1a759b(_0x407a4b._0x1efe88,0x8a6)+_0x425868(0x23a,0x4e5)+_0x1a759b(_0x407a4b._0x38cd3a,_0x407a4b._0x647512)+_0x1a759b(_0x407a4b._0x50c504,_0x407a4b._0xfa9423)+_0x425868(_0x407a4b._0x1e4b8f,_0x407a4b._0x57fcbb),_0x8bc97c[_0x425868(_0x407a4b._0xc2e13e,_0x407a4b._0x86a5b3)],'fi',_0x1a759b(_0x407a4b._0x58f8be,0x5be)+_0x425868(_0x407a4b._0x2b6850,0x75d)+_0x425868(0x817,_0x407a4b._0x1a3192)+_0x1a759b(_0x407a4b._0x2da8f4,0x4ee)+'\x20Clawket'+_0x1a759b(_0x407a4b._0x47bdc7,0x505)+_0x1a759b(0x86d,_0x407a4b._0xd5a4d4)+'\x20>&2',_0x8bc97c['lBfkk'],''];return _0x52ea0b(SERVICE_LAUNCHER_PATH,_0x2004fa[_0x1a759b(_0x407a4b._0x2d4530,_0x407a4b._0x5e5265)]('\x0a'),_0x425868(0x486,_0x407a4b._0xaa0132)),SERVICE_LAUNCHER_PATH;}function escapeShellDoubleQuoted(_0x3df454){const _0x48fa71={_0x53286f:0x312},_0x4ab6cf={_0x2fb8a4:0x5e0};function _0x450f12(_0x43c2fe,_0x3c2100){return _0x3a90bd(_0x43c2fe,_0x3c2100- -0x73);}function _0x1f85c8(_0x21c168,_0x372ae1){return _0x3a90bd(_0x21c168,_0x372ae1-_0x4ab6cf._0x2fb8a4);}return _0x3df454[_0x1f85c8(0x58e,0x4cb)+'ll']('\x5c','\x5c\x5c')[_0x450f12(-0x33d,-0x188)+'ll']('\x22','\x5c\x22')[_0x450f12(-0x1db,-0x188)+'ll']('$','\x5c$')[_0x1f85c8(_0x48fa71._0x53286f,0x4cb)+'ll']('`','\x5c`');}function escapeShellWord(_0x11e018){const _0x5d3159={_0x5a86a8:0x3ac},_0x3564dc={_0x29933c:0x32d};function _0x41581f(_0x5b90ef,_0x5ced25){return _0x3a90bd(_0x5b90ef,_0x5ced25-_0x3564dc._0x29933c);}function _0x379f37(_0x141c4e,_0x9f30bf){return _0x3a90bd(_0x9f30bf,_0x141c4e-_0x5d3159._0x5a86a8);}if(_0x11e018['length']===0x0)return'\x27\x27';return'\x27'+_0x11e018[_0x379f37(0x297,0x252)+'ll']('\x27',_0x41581f(0x5cf,0x48a))+'\x27';}function buildWindowsRunCommand(_0x15e827){const _0x1ad1ac={_0x10638e:0x40a,_0x3821e8:0x2bd},_0x1dacd4={_0x35dacf:0x4b3},_0x12f5a0={_0x311d17:0x288};function _0x13dcde(_0x403bdc,_0x121216){return _0x3a90bd(_0x403bdc,_0x121216-_0x12f5a0._0x311d17);}function _0x568fdb(_0x14dca8,_0x59eaab){return _0x3a90bd(_0x59eaab,_0x14dca8-_0x1dacd4._0x35dacf);}return _0x15e827[_0x13dcde(0x3cb,_0x1ad1ac._0x10638e)](escapeWindowsArg)[_0x568fdb(_0x1ad1ac._0x3821e8,0x52a)]('\x20');}function ensureServiceDirs(){const _0xa5659f={_0xf65a6b:0x717,_0xf551cd:0x49d,_0x14d9a7:0x49d},_0x3f6b75={_0x426c1a:0x5eb},_0x523a73={_0x526c7b:0x18a},_0x544182={};_0x544182[_0x4ea401(_0xa5659f._0xf65a6b,_0xa5659f._0xf551cd)+'e']=!![];function _0x3fe0ba(_0x239f8a,_0x3f5122){return _0x3a90bd(_0x3f5122,_0x239f8a-_0x523a73._0x526c7b);}_0x19193e(SERVICE_DIR,_0x544182);const _0x369f70={};_0x369f70[_0x4ea401(0x3bb,_0xa5659f._0x14d9a7)+'e']=!![];function _0x4ea401(_0x192fb3,_0x301923){return _0x3a90bd(_0x192fb3,_0x301923-_0x3f6b75._0x426c1a);}_0x19193e(LOG_DIR,_0x369f70);}function escapeXml(_0x49d513){const _0x5be5c2={_0x3e838c:0x1d3,_0x4645ca:0x579,_0x1b2ff4:0x4be,_0x417491:0x395,_0x725754:0x57b,_0x573715:0x55c,_0x1d0b52:0x4ae,_0x448970:0x30f,_0x2d62c2:0x1d3,_0x103901:0x560},_0x38a3d5={_0xafcb63:0x690};function _0x42e4de(_0x1938d1,_0x14344b){return _0x3a90bd(_0x1938d1,_0x14344b-0x2e8);}const _0x2fda2d={};function _0x35a2bc(_0x287167,_0x225956){return _0x3a90bd(_0x287167,_0x225956-_0x38a3d5._0xafcb63);}_0x2fda2d['AKnwx']=_0x42e4de(0x57a,0x455);const _0x285381=_0x2fda2d;return _0x49d513[_0x42e4de(0x158,_0x5be5c2._0x3e838c)+'ll']('&',_0x42e4de(_0x5be5c2._0x4645ca,_0x5be5c2._0x1b2ff4))['replaceA'+'ll']('<',_0x35a2bc(0x41b,0x62e))[_0x35a2bc(_0x5be5c2._0x417491,0x57b)+'ll']('>',_0x42e4de(0x574,0x416))[_0x35a2bc(0x4f4,_0x5be5c2._0x725754)+'ll']('\x22',_0x285381[_0x35a2bc(_0x5be5c2._0x573715,_0x5be5c2._0x1d0b52)])[_0x42e4de(_0x5be5c2._0x448970,_0x5be5c2._0x2d62c2)+'ll']('\x27',_0x35a2bc(_0x5be5c2._0x103901,0x80d));}function escapeSystemdArg(_0x5982a0){const _0x10463d={_0x49bb1a:0x241,_0x229732:0x38d};function _0x303eea(_0x4a5371,_0x3f9c0d){return _0x3a90bd(_0x3f9c0d,_0x4a5371-0x356);}return'\x22'+_0x5982a0['replaceA'+'ll']('\x5c','\x5c\x5c')[_0x303eea(_0x10463d._0x49bb1a,_0x10463d._0x229732)+'ll']('\x22','\x5c\x22')+'\x22';}function escapeWindowsArg(_0x153ff8){const _0x1c6e96={_0x4e921d:0x176},_0x4abc2a={_0x10aefd:0x25};function _0x4c1684(_0x43b888,_0x4ea23c){return _0x3a90bd(_0x4ea23c,_0x43b888-_0x4abc2a._0x10aefd);}return'\x22'+_0x153ff8[_0x4c1684(-0xf0,-_0x1c6e96._0x4e921d)+'ll']('\x22','\x5c\x22')+'\x22';}function commandSucceeds(_0xce965c,_0x51f091){const _0xdeb35f={_0x3593b2:0x1f4,_0x46d168:0x31e,_0x474120:0x3ce},_0x5613dd={_0x488bef:0x260},_0xeac1e3={_0x449484:0x2cc};function _0x346bad(_0x3b4fcd,_0xf1b551){return _0xb2a5b9(_0x3b4fcd,_0xf1b551-_0xeac1e3._0x449484);}function _0x1da94b(_0x3d3746,_0x3f63a7){return _0xb2a5b9(_0x3d3746,_0x3f63a7-_0x5613dd._0x488bef);}const _0x428464={'rZGXD':function(_0xc0e794,_0x57b456,_0x44fe78,_0x1d42e2){return _0xc0e794(_0x57b456,_0x44fe78,_0x1d42e2);}};try{const _0x5790bd={};return _0x5790bd[_0x346bad(0x1c4,0xf3)]=_0x346bad(_0xdeb35f._0x3593b2,_0xdeb35f._0x46d168),_0x428464[_0x1da94b(_0xdeb35f._0x474120,0x283)](execFileSync,_0xce965c,_0x51f091,_0x5790bd),!![];}catch{return![];}}function commandExists(_0x5b1ce3){const _0xdba8fa={_0x3f2735:0x16a,_0x3dab0f:0x443,_0x24d9da:0x67d,_0x1603ae:0x1f2},_0x5a9ade={_0x2c093c:0x433},_0x4b45f1={_0x4fd0f0:0x4e};function _0x1749a8(_0x467073,_0xbe0c3b){return _0x3a90bd(_0xbe0c3b,_0x467073-_0x4b45f1._0x4fd0f0);}function _0x50b035(_0x1f4080,_0x37e006){return _0x3a90bd(_0x1f4080,_0x37e006-_0x5a9ade._0x2c093c);}const _0x4a08dc={'EJpFB':function(_0x358c7f,_0x5055f0,_0x5a5071){return _0x358c7f(_0x5055f0,_0x5a5071);},'GPeWm':function(_0x19d510,_0x1f5fa6){return _0x19d510(_0x1f5fa6);}};if(process[_0x1749a8(0x128,_0xdba8fa._0x3f2735)]===_0x50b035(0x3ca,_0xdba8fa._0x3dab0f))return _0x4a08dc[_0x1749a8(-0xfd,-0x1d5)](commandSucceeds,_0x50b035(0x671,_0xdba8fa._0x24d9da),[_0x5b1ce3]);return commandSucceeds('sh',['-c',_0x50b035(0x786,0x677)+_0x1749a8(-_0xdba8fa._0x1603ae,-0x350)+_0x4a08dc[_0x50b035(0x659,0x3e8)](escapeShellWord,_0x5b1ce3)]);}function execIgnoreFailure(_0x5419bc,_0x38a2bf){const _0x513f24={_0xcd1c52:0x468,_0x1b3dc6:0x6d0},_0x3bbf4f={_0x19c1d6:0x457},_0x500967={_0x4f2593:0x563};function _0x17cd32(_0x21e0a6,_0x284f40){return _0xb2a5b9(_0x284f40,_0x21e0a6-_0x500967._0x4f2593);}const _0x21c94e={};_0x21c94e['KExQQ']=_0x1548d4(0x597,0x4a9);function _0x1548d4(_0x2ad4d9,_0x56b131){return _0xb2a5b9(_0x2ad4d9,_0x56b131-_0x3bbf4f._0x19c1d6);}const _0x59fee6=_0x21c94e;try{const _0x2e3b2e={};_0x2e3b2e['stdio']=_0x59fee6[_0x1548d4(_0x513f24._0xcd1c52,_0x513f24._0x1b3dc6)],execFileSync(_0x5419bc,_0x38a2bf,_0x2e3b2e);}catch{}}function rmIfExists(_0x1f22ed){const _0x38b9f8={_0x3be776:0x797,_0x1c2899:0x824},_0x36d143={_0x2fd424:0x25b},_0x2e2906={'rAzwC':function(_0x1a30bb,_0x589998,_0x6a7a5){return _0x1a30bb(_0x589998,_0x6a7a5);}};if(!_0x3ffaef(_0x1f22ed))return;function _0x4c9992(_0x30010c,_0x5d3fbb){return _0xb2a5b9(_0x5d3fbb,_0x30010c-0x5d1);}function _0x5c0465(_0x2763b6,_0x3e47dd){return _0xb2a5b9(_0x2763b6,_0x3e47dd-_0x36d143._0x2fd424);}const _0x1aab3a={};_0x1aab3a[_0x4c9992(_0x38b9f8._0x3be776,_0x38b9f8._0x1c2899)]=!![],_0x2e2906[_0x5c0465(0xa9,0x73)](_0x2dd211,_0x1f22ed,_0x1aab3a);}function isMissingCrontabError(_0xbf5bcd){const _0x2334bf={_0x4fa271:0x8b6,_0x11963c:0x89a,_0x37f07a:0x704,_0x23e077:0x47d,_0x34b201:0x76c,_0x4b0a22:0x8a,_0x471a51:0x5b7,_0x1a7f31:0x6f0,_0x5c5a4c:0x603,_0x3143de:0x1fa,_0x4e9f9e:0x1fc,_0x3aa017:0x1e8,_0x5849e0:0x468,_0x574b33:0x1eb,_0x5d2529:0x798},_0x5e490f={_0x54548d:0x2ee},_0x2fdf1a={};_0x2fdf1a[_0x5f36db(0x32b,0x28f)]=function(_0x3a22c5,_0x51bc47){return _0x3a22c5===_0x51bc47;};function _0x383944(_0x4f4c8c,_0x439966){return _0x3a90bd(_0x4f4c8c,_0x439966-0x5c6);}_0x2fdf1a[_0x383944(_0x2334bf._0x4fa271,_0x2334bf._0x11963c)]='no\x20cront'+'ab\x20for';const _0x42d4f7=_0x2fdf1a;if(!(_0xbf5bcd instanceof Error))return![];const _0x52053b=_0xbf5bcd[_0x383944(_0x2334bf._0x37f07a,_0x2334bf._0x23e077)][_0x383944(_0x2334bf._0x34b201,0x740)+_0x5f36db(0x1fa,_0x2334bf._0x4b0a22)](),_0x2d8417=_0xbf5bcd[_0x5f36db(_0x2334bf._0x471a51,0x791)],_0x408c3a=_0x42d4f7[_0x383944(_0x2334bf._0x1a7f31,_0x2334bf._0x5c5a4c)](typeof _0x2d8417,_0x5f36db(0x1b3,0x44b))?_0x2d8417['toLowerC'+_0x5f36db(_0x2334bf._0x3143de,_0x2334bf._0x4e9f9e)]():Buffer[_0x5f36db(0x414,0x3aa)](_0x2d8417)?_0x2d8417[_0x383944(0x9d6,0x766)](_0x5f36db(_0x2334bf._0x3aa017,0x36))[_0x5f36db(_0x2334bf._0x5849e0,0x5d8)+'ase']():'';function _0x5f36db(_0x298ba5,_0x37ce15){return _0x3a90bd(_0x37ce15,_0x298ba5-_0x5e490f._0x54548d);}return _0x52053b[_0x5f36db(_0x2334bf._0x574b33,0x3e1)]('no\x20cront'+_0x383944(0xa1f,_0x2334bf._0x5d2529))||_0x408c3a['includes'](_0x42d4f7[_0x383944(0x9ab,0x89a)]);}function formatError(_0x5dd327){const _0x327403={_0x2cdcea:0x426},_0x44a502={_0x24da77:0x568},_0x3931e7={_0x517559:0xc3};if(_0x5dd327 instanceof Error&&_0x5dd327[_0x10d093(0x512,_0x327403._0x2cdcea)])return _0x5dd327[_0x10d093(0x3bb,0x426)];function _0x505257(_0x32291d,_0x491247){return _0xb2a5b9(_0x491247,_0x32291d-_0x3931e7._0x517559);}function _0x10d093(_0x47d24f,_0x4bc8e5){return _0xb2a5b9(_0x47d24f,_0x4bc8e5-_0x44a502._0x24da77);}return String(_0x5dd327);}import{existsSync as _0x16eaa1,readFileSync as _0x36e0c1}from'fs';import{homedir as _0x6b362f}from'os';import{join as _0x1e6b31}from'path';var DEFAULT_GATEWAY_URL='ws://127'+'.0.0.1:1'+_0x3a90bd(0x431,0x19d);function resolveGatewayUrl(_0x1a0416){const _0x12d1ff={_0x3d6c46:0x3ea,_0x2029a6:0x306,_0x27f479:0x7f0,_0x330fdc:0x75e,_0x59e3f5:0x4dc,_0x25d404:0x66f,_0x1dbe74:0x8bf,_0x49a152:0x571,_0x9141f2:0x76a,_0x29ccbe:0x7f5,_0x1cf9c5:0xa32,_0xfa21f:0x4d2,_0xbf9448:0x4da,_0x3d4c1e:0x4a8},_0x8169a6={_0x5e1881:0x371},_0x474087={_0x35465c:0x557},_0xdeb62b={};function _0x137da8(_0x1f1699,_0x3387fb){return _0xb2a5b9(_0x3387fb,_0x1f1699-_0x474087._0x35465c);}_0xdeb62b[_0x137da8(0x4dc,0x642)]=function(_0x474725,_0x3f6304){return _0x474725===_0x3f6304;},_0xdeb62b[_0x137da8(0x571,_0x12d1ff._0x3d6c46)]=_0x137da8(0x395,_0x12d1ff._0x2029a6);function _0x43605f(_0xd6decf,_0x5124ba){return _0xb2a5b9(_0x5124ba,_0xd6decf-_0x8169a6._0x5e1881);}const _0x5cf7c9=_0xdeb62b,_0x4b02d8=_0x1a0416?.[_0x137da8(_0x12d1ff._0x27f479,_0x12d1ff._0x330fdc)]();if(_0x4b02d8)return _0x4b02d8;const _0x17cb79=readOpenClawInfo();if(_0x5cf7c9[_0x137da8(_0x12d1ff._0x59e3f5,0x3eb)](typeof _0x17cb79[_0x137da8(_0x12d1ff._0x25d404,_0x12d1ff._0x1dbe74)+_0x43605f(0x2c2,0x322)],_0x5cf7c9[_0x137da8(_0x12d1ff._0x49a152,_0x12d1ff._0x9141f2)]))return _0x137da8(_0x12d1ff._0x29ccbe,_0x12d1ff._0x1cf9c5)+_0x137da8(0x3c7,_0x12d1ff._0xfa21f)+_0x17cb79[_0x137da8(_0x12d1ff._0x25d404,_0x12d1ff._0xbf9448)+_0x137da8(_0x12d1ff._0x3d4c1e,0x4e1)];return DEFAULT_GATEWAY_URL;}function readOpenClawInfo(){const _0x420399={_0x2cff1d:0x331,_0x327081:0x464,_0x289b61:0x465,_0x3a9f4f:0x4fa,_0xcf845:0xea,_0x2a5b7a:0x674,_0x47231b:0x559,_0xce2498:0x635,_0x580803:0x43,_0x41a83d:0x47,_0x192209:0x198,_0x10937f:0x34,_0x32dec6:0x46d,_0x149f74:0x656,_0x6c7c64:0x638,_0x5d67c9:0x643,_0x29dd19:0x38c,_0x435f3f:0x40b,_0x4fac6b:0x656,_0x20f561:0x5f0,_0x5de305:0x779,_0x4f1048:0x656,_0x43ec55:0x662,_0x21ec34:0x32d,_0x23c49f:0x6f5},_0x3beb85={_0x159123:0x43d},_0x599e4a={'MqyOz':function(_0x1ac410){return _0x1ac410();},'SzFoj':_0x57a5c1(_0x420399._0x2cff1d,0x10a),'VIMVu':function(_0x14bc89,_0x1b1db1){return _0x14bc89===_0x1b1db1;},'lMDCY':_0x57a5c1(_0x420399._0x327081,0x4c8),'rGmxt':function(_0xfbf665){return _0xfbf665();}};function _0x283ece(_0x2bbf03,_0x4b27d9){return _0x3a90bd(_0x4b27d9,_0x2bbf03-_0x3beb85._0x159123);}function _0x57a5c1(_0x5e708f,_0x7eaa77){return _0x3a90bd(_0x5e708f,_0x7eaa77-0x210);}const _0x1d9115=_0x599e4a['MqyOz'](resolveOpenClawPaths);if(!_0x16eaa1(_0x1d9115['configPa'+'th']))return{'configFound':![],'gatewayPort':null,'authMode':null,'token':readGatewayTokenEnv(),'password':readGatewayPasswordEnv()};try{const _0x5896b0=JSON[_0x57a5c1(_0x420399._0x289b61,_0x420399._0x3a9f4f)](_0x36e0c1(_0x1d9115[_0x57a5c1(0x2dd,_0x420399._0xcf845)+'th'],_0x599e4a[_0x283ece(_0x420399._0x2a5b7a,0x675)])),_0x12ef24=_0x5896b0['gateway']?.['port'],_0x201b22=_0x599e4a[_0x283ece(_0x420399._0x47231b,_0x420399._0xce2498)](typeof _0x12ef24,_0x57a5c1(_0x420399._0x580803,_0x420399._0x41a83d))&&Number[_0x57a5c1(_0x420399._0x192209,_0x420399._0x10937f)+'r'](_0x12ef24)?_0x12ef24:null,_0x21befc=_0x599e4a[_0x283ece(0x559,0x507)](_0x5896b0['gateway']?.['auth']?.[_0x283ece(_0x420399._0x32dec6,0x532)],'token')||_0x5896b0[_0x283ece(_0x420399._0x149f74,0x3b5)]?.[_0x283ece(_0x420399._0x6c7c64,_0x420399._0x5d67c9)]?.['mode']===_0x599e4a['lMDCY']?_0x5896b0[_0x57a5c1(_0x420399._0x29dd19,0x429)][_0x57a5c1(0x628,_0x420399._0x435f3f)]['mode']:null,_0x4620b0=readConfiguredSecret(_0x5896b0[_0x283ece(_0x420399._0x4fac6b,0x5e9)]?.['auth']?.['token'])??_0x599e4a[_0x283ece(_0x420399._0x20f561,_0x420399._0x5de305)](readGatewayTokenEnv),_0x147846=readConfiguredSecret(_0x5896b0[_0x283ece(_0x420399._0x4f1048,0x3e0)]?.[_0x57a5c1(_0x420399._0x43ec55,0x40b)]?.[_0x57a5c1(0x630,0x4c8)])??readGatewayPasswordEnv(),_0x4d48e6={};return _0x4d48e6[_0x57a5c1(_0x420399._0x21ec34,0x4e1)+_0x283ece(0x726,0x498)]=!![],_0x4d48e6[_0x57a5c1(0x11d,0x321)+_0x283ece(0x387,0x115)]=_0x201b22,_0x4d48e6[_0x57a5c1(0x295,0x129)]=_0x21befc,_0x4d48e6[_0x283ece(0x495,0x671)]=_0x4620b0,_0x4d48e6[_0x283ece(_0x420399._0x23c49f,0x99e)]=_0x147846,_0x4d48e6;}catch{return{'configFound':!![],'gatewayPort':null,'authMode':null,'token':readGatewayTokenEnv(),'password':_0x599e4a['MqyOz'](readGatewayPasswordEnv)};}}function resolveGatewayAuth(){const _0xf2c21d={_0x4d34d6:0x1f1,_0x2a05be:0x26e,_0x45876b:0x4f4,_0x5ed0b4:0x3b5,_0x4251ad:0x1c0,_0xcecc70:0x39e,_0x40a60d:0x138,_0x4bf0da:0x175,_0x330fe9:0xb,_0x2ec0b8:0x11e,_0x33feec:0x24b,_0x28b493:0x31e,_0x7ba09a:0xb9,_0x80b767:0x26a,_0x367e74:0x37c,_0x56a83a:0x5a7,_0x136f0b:0x4f4,_0xa7c5c9:0x754,_0x512c82:0x52d,_0x289e50:0x42d,_0x204e57:0x75d,_0x36a6e1:0x586,_0x1faf59:0x52f,_0x282253:0x33d,_0x2808b1:0x420,_0x36f3a2:0x2b4,_0x5ed559:0x41b,_0x28489b:0x73f,_0xcc1de:0x4f4,_0x16f8ab:0xe,_0xb5cae:0x68a,_0x4696a5:0x754,_0x23da4f:0x98,_0x285648:0x1b5},_0x282c00={_0x30d6da:0x49c},_0xa3c350={_0x52a3ea:0x168},_0x61e7cc={};_0x61e7cc[_0x2d8b6f(-0xf3,-_0xf2c21d._0x4d34d6)]=function(_0x10fd96,_0x2dfb6f){return _0x10fd96===_0x2dfb6f;};const _0x1f3e01=_0x61e7cc,_0x406a3f=readOpenClawInfo(),_0x32b2ef=_0x406a3f[_0x5749cf(_0xf2c21d._0x2a05be,_0xf2c21d._0x45876b)],_0x31e4a6=_0x406a3f[_0x2d8b6f(0x420,0x29a)];if(_0x32b2ef&&_0x31e4a6&&_0x406a3f[_0x5749cf(0x1de,_0xf2c21d._0x5ed0b4)]==null){const _0x44a67a={};return _0x44a67a[_0x2d8b6f(_0xf2c21d._0x4251ad,0x77)]=_0x32b2ef,_0x44a67a['password']=_0x31e4a6,_0x44a67a['label']=_0x5749cf(_0xf2c21d._0xcecc70,0x4f4),_0x44a67a['error']=_0x2d8b6f(_0xf2c21d._0x40a60d,_0xf2c21d._0x4bf0da)+_0x5749cf(0x10e,0x273)+'h\x20gatewa'+_0x2d8b6f(0x133,-_0xf2c21d._0x330fe9)+_0x2d8b6f(_0xf2c21d._0x2ec0b8,0x169)+_0x2d8b6f(0x385,_0xf2c21d._0x33feec)+_0x5749cf(0x793,0x5e1)+'\x20but\x20gat'+'eway.aut'+'h.mode\x20i'+_0x2d8b6f(-0xe4,-0x2ab)+'\x20Set\x20the'+_0x2d8b6f(_0xf2c21d._0x28b493,0x25a)+_0x5749cf(_0xf2c21d._0x7ba09a,_0xf2c21d._0x80b767)+_0x5749cf(0x4e5,0x2f3)+_0x5749cf(0x12a,_0xf2c21d._0x367e74)+'e\x20pairin'+'g.',_0x44a67a;}if(_0x406a3f[_0x2d8b6f(0x81,0x1cd)]===_0x5749cf(0x784,0x754)){const _0x1a749e={};return _0x1a749e[_0x5749cf(_0xf2c21d._0x56a83a,_0xf2c21d._0x136f0b)]=null,_0x1a749e[_0x5749cf(0x9ff,_0xf2c21d._0xa7c5c9)]=null,_0x1a749e[_0x5749cf(0x476,0x41b)]=null,_0x31e4a6?{'token':null,'password':_0x31e4a6,'label':_0x5749cf(_0xf2c21d._0x512c82,0x754)}:_0x1a749e;}if(_0x1f3e01[_0x5749cf(_0xf2c21d._0x289e50,0x241)](_0x406a3f[_0x2d8b6f(0x81,0x5b)],_0x5749cf(_0xf2c21d._0x204e57,0x4f4))){const _0xff7627={};return _0xff7627[_0x5749cf(_0xf2c21d._0x36a6e1,0x4f4)]=null,_0xff7627[_0x2d8b6f(0x420,_0xf2c21d._0x1faf59)]=null,_0xff7627['label']=null,_0x32b2ef?{'token':_0x32b2ef,'password':null,'label':_0x2d8b6f(_0xf2c21d._0x4251ad,_0xf2c21d._0x282253)}:_0xff7627;}function _0x2d8b6f(_0x101782,_0x4428aa){return _0x3a90bd(_0x4428aa,_0x101782-_0xa3c350._0x52a3ea);}if(_0x32b2ef){const _0xb9cfba={};return _0xb9cfba['token']=_0x32b2ef,_0xb9cfba[_0x2d8b6f(_0xf2c21d._0x2808b1,_0xf2c21d._0x36f3a2)]=null,_0xb9cfba[_0x5749cf(0x66d,_0xf2c21d._0x5ed559)]=_0x5749cf(_0xf2c21d._0x28489b,_0xf2c21d._0xcc1de),_0xb9cfba;}if(_0x31e4a6){const _0x13913b={};return _0x13913b[_0x2d8b6f(0x1c0,_0xf2c21d._0x16f8ab)]=null,_0x13913b[_0x5749cf(_0xf2c21d._0xb5cae,_0xf2c21d._0x4696a5)]=_0x31e4a6,_0x13913b[_0x2d8b6f(0xe7,-_0xf2c21d._0x23da4f)]='password',_0x13913b;}const _0x1f5c88={};_0x1f5c88[_0x2d8b6f(_0xf2c21d._0x4251ad,0x76)]=null,_0x1f5c88['password']=null;function _0x5749cf(_0x5c7cc8,_0x9a04ef){return _0x3a90bd(_0x5c7cc8,_0x9a04ef-_0x282c00._0x30d6da);}return _0x1f5c88[_0x2d8b6f(0xe7,-_0xf2c21d._0x285648)]=null,_0x1f5c88;}function getOpenClawConfigDir(){const _0x2eb473={_0x1a4dd3:0x4e3},_0x4c2c8e={_0xf58086:0x50c};function _0x5ba23b(_0x39ccc1,_0x4cef31){return _0x3a90bd(_0x39ccc1,_0x4cef31-_0x4c2c8e._0xf58086);}return resolveOpenClawPaths()[_0x5ba23b(_0x2eb473._0x1a4dd3,0x3b8)+'r'];}function getOpenClawMediaDir(){const _0x1106d4={_0x7ebb4:0x11a},_0x249004={_0x2ce841:0x2a};function _0x5f58a5(_0x138265,_0x3c6aa0){return _0xb2a5b9(_0x138265,_0x3c6aa0-_0x249004._0x2ce841);}return resolveOpenClawPaths()[_0x5f58a5(-_0x1106d4._0x7ebb4,0x9b)];}function readConfiguredSecret(_0x487a3a){const _0x24cd0a={_0x578fc9:0x58c,_0x440004:0x861},_0x4a2b20={};function _0x2267a0(_0x21a706,_0x209723){return _0xb2a5b9(_0x21a706,_0x209723-0x4c2);}_0x4a2b20[_0x1fbdb3(_0x24cd0a._0x578fc9,0x525)]=function(_0x48dd3b,_0x3ae585){return _0x48dd3b===_0x3ae585;};function _0x1fbdb3(_0x339d88,_0x383216){return _0xb2a5b9(_0x383216,_0x339d88-0x295);}const _0x1ab819=_0x4a2b20;return _0x1ab819['piTTO'](typeof _0x487a3a,_0x1fbdb3(0x161,0xb6))&&_0x487a3a[_0x2267a0(_0x24cd0a._0x440004,0x75b)]()?_0x487a3a['trim']():null;}function readGatewayTokenEnv(){const _0x45c6a3={_0x4fd062:0x535,_0x91c8c3:0x440,_0x452daf:0x104,_0x3253b7:0x33,_0x2b1b4e:0x633,_0x210f16:0x6c8,_0x523ad6:0x4a5,_0x524532:0x812,_0x2a69d0:0x790};function _0x54b152(_0x3d7b68,_0x448d4e){return _0xb2a5b9(_0x448d4e,_0x3d7b68-0x752);}function _0x1f4710(_0x2ea070,_0x1abcce){return _0xb2a5b9(_0x1abcce,_0x2ea070- -0x7a);}const _0x5c2c5c={};_0x5c2c5c[_0x54b152(_0x45c6a3._0x4fd062,_0x45c6a3._0x91c8c3)]=_0x54b152(0x646,0x4f2)+_0x1f4710(-_0x45c6a3._0x452daf,_0x45c6a3._0x3253b7)+_0x1f4710(0x46,-0xe7),_0x5c2c5c['qvULu']=_0x54b152(0x69c,_0x45c6a3._0x2b1b4e)+_0x54b152(_0x45c6a3._0x210f16,_0x45c6a3._0x523ad6)+_0x54b152(_0x45c6a3._0x524532,_0x45c6a3._0x2a69d0);const _0x312d19=_0x5c2c5c;return readEnvValue(_0x312d19[_0x1f4710(-0x297,-0x4df)],_0x312d19[_0x1f4710(0x11c,-0x10c)]);}function readGatewayPasswordEnv(){const _0x5139e4={_0x21789f:0x170,_0x23ac86:0x221,_0x40a926:0x4e,_0x3dd309:0x229};function _0x4aa0f4(_0x6627b9,_0x31235c){return _0xb2a5b9(_0x6627b9,_0x31235c-0x1be);}const _0x3591d8={'uvdjR':function(_0x246a9c,_0x462bb6,_0x4bd512){return _0x246a9c(_0x462bb6,_0x4bd512);},'lnjzg':_0x4aa0f4(-_0x5139e4._0x21789f,0x108)+_0x1ffe10(_0x5139e4._0x23ac86,0x196)+_0x4aa0f4(-_0x5139e4._0x40a926,_0x5139e4._0x3dd309)+'D'};function _0x1ffe10(_0x49cf31,_0x36b9b2){return _0xb2a5b9(_0x49cf31,_0x36b9b2-0x220);}return _0x3591d8[_0x1ffe10(0x27d,0x38a)](readEnvValue,'OPENCLAW'+'_GATEWAY'+_0x1ffe10(0x32d,0x28b)+'D',_0x3591d8['lnjzg']);}function readEnvValue(_0x400574,_0x41db68){const _0x48e2e3={_0x46d123:0x51e,_0x18e28e:0xc3},_0x26b202={_0x3bf53:0x1b2},_0xb37f18={};_0xb37f18[_0x1b66fd(0x31f,0x412)]=function(_0x3cc72d,_0x5793e0){return _0x3cc72d||_0x5793e0;};function _0x1b66fd(_0x2dd9e3,_0x30af2b){return _0xb2a5b9(_0x2dd9e3,_0x30af2b-0x501);}const _0x3ef853=_0xb37f18,_0xbf2d81=process.env[_0x400574]?.[_0x608344(_0x48e2e3._0x46d123,0x44b)]();if(_0xbf2d81)return _0xbf2d81;const _0x9fc7f9=process.env[_0x41db68]?.['trim']();function _0x608344(_0x35f74a,_0x2fdd6a){return _0xb2a5b9(_0x35f74a,_0x2fdd6a-_0x26b202._0x3bf53);}return _0x3ef853[_0x608344(0x323,_0x48e2e3._0x18e28e)](_0x9fc7f9,null);}function resolveOpenClawPaths(){const _0x55ea26={_0x4aaa3e:0x446},_0x59745e={_0x2ad938:0x2c6},_0x5de36d=buildOpenClawCandidates();function _0x309ebe(_0x45b811,_0x5ccda7){return _0x3a90bd(_0x45b811,_0x5ccda7-_0x59745e._0x2ad938);}return _0x5de36d[_0x309ebe(_0x55ea26._0x4aaa3e,0x4c5)](_0x382503=>_0x16eaa1(_0x382503['configPa'+'th']))??_0x5de36d[0x0];}function buildOpenClawCandidates(){const _0x5771c9={_0x450c37:0x3c4,_0x474826:0x4e7,_0x1faa69:0x62e,_0x264ea6:0x720,_0x285d57:0x337,_0x31299d:0x2f4,_0x439567:0x477,_0x2285fe:0x5c7},_0x3fa01c={_0x3ca31a:0x226,_0x1fb0ce:0x222,_0x44c53e:0x395,_0x233435:0x372,_0x10d80f:0x74f},_0x4625ed={_0x468dc0:0x2f1},_0x4f2d71={_0x5e75e6:0xd8},_0x3c89b1={'vHZVX':function(_0x52e0f8,_0x371f8a,_0x4a67cd){return _0x52e0f8(_0x371f8a,_0x4a67cd);},'iycmY':function(_0xa5ef81){return _0xa5ef81();}},_0x4c9d35=new Set();function _0x59bb48(_0xe05f87,_0x25df28){return _0xb2a5b9(_0x25df28,_0xe05f87-0x2ee);}function _0x2294ce(_0x57ab8b,_0x1a8baf){return _0xb2a5b9(_0x57ab8b,_0x1a8baf-_0x4f2d71._0x5e75e6);}const _0x3f9a24=[_0x3c89b1[_0x59bb48(_0x5771c9._0x450c37,_0x5771c9._0x474826)](_0x6b362f),_0x2294ce(0xab,0x33a)][_0x59bb48(0x477,_0x5771c9._0x1faa69)](_0x1ada0c=>_0x1ada0c['trim']())[_0x59bb48(0x50a,_0x5771c9._0x264ea6)](Boolean)[_0x2294ce(_0x5771c9._0x285d57,_0x5771c9._0x31299d)](_0x5094c1=>{const _0x4cbd15={_0x27eaef:0x11c};if(_0x4c9d35['has'](_0x5094c1))return![];function _0x159487(_0x232fa1,_0x3bd05d){return _0x2294ce(_0x232fa1,_0x3bd05d- -_0x4cbd15._0x27eaef);}return _0x4c9d35[_0x159487(0x1df,-0x2e)](_0x5094c1),!![];});return _0x3f9a24[_0x59bb48(_0x5771c9._0x439567,_0x5771c9._0x2285fe)](_0x2c2ba3=>{const _0x3d2064={_0x22d7a4:0x17f},_0x4e746d=_0x1e6b31(_0x2c2ba3,_0x1548b4(0x2b5,_0x3fa01c._0x3ca31a)+'w');function _0x6206ca(_0x419689,_0x16ebbc){return _0x59bb48(_0x419689-_0x4625ed._0x468dc0,_0x16ebbc);}function _0x1548b4(_0x1c74fb,_0x739565){return _0x59bb48(_0x1c74fb- -_0x3d2064._0x22d7a4,_0x739565);}return{'configDir':_0x4e746d,'configPath':_0x1e6b31(_0x4e746d,_0x1548b4(0x429,_0x3fa01c._0x1fb0ce)+_0x1548b4(0x2dc,0x57a)),'mediaDir':_0x3c89b1[_0x1548b4(_0x3fa01c._0x44c53e,_0x3fa01c._0x233435)](_0x1e6b31,_0x4e746d,_0x6206ca(0x5e4,_0x3fa01c._0x10d80f))};});}var CONTROL_PREFIX=_0xb2a5b9(0x356,0xf0)+_0xb2a5b9(0x2b3,0xed)+_0x3a90bd(-0x249,-0x143)+'_:';function parseControl(_0x570d08){const _0x362160={_0xab0399:0x49c,_0x479335:0x7c,_0x3a7fe3:0x801,_0x5b679d:0x762,_0x47305f:0xce,_0x20c732:0x4a2,_0x21e7dd:0x8c7,_0x58054c:0x806,_0x463789:0x361,_0x1a4727:0x35,_0xdc55f5:0x247,_0x3a908d:0x35},_0x47f977={_0x138db7:0x209},_0x350a07={};function _0x160c39(_0x95910c,_0x1828fe){return _0x3a90bd(_0x95910c,_0x1828fe-_0x47f977._0x138db7);}_0x350a07[_0x303a00(0x22b,_0x362160._0xab0399)]=function(_0x5d4891,_0x1d06ba){return _0x5d4891===_0x1d06ba;};const _0x385d6f=_0x350a07;if(!_0x570d08[_0x160c39(_0x362160._0x479335,-0x1d)+'th'](CONTROL_PREFIX))return null;function _0x303a00(_0x3f0e75,_0x2c3877){return _0x3a90bd(_0x3f0e75,_0x2c3877-0x574);}try{const _0x138938=JSON['parse'](_0x570d08[_0x303a00(0x7b2,_0x362160._0x3a7fe3)](CONTROL_PREFIX[_0x303a00(0x589,0x5fb)]));if(typeof _0x138938[_0x303a00(0x8ba,_0x362160._0x5b679d)]!==_0x160c39(-0x100,_0x362160._0x47305f)||!_0x138938['event'][_0x160c39(_0x362160._0x20c732,0x49b)]())return null;return{'event':_0x138938[_0x160c39(0x4c3,0x3f7)][_0x303a00(_0x362160._0x21e7dd,_0x362160._0x58054c)](),'count':_0x385d6f[_0x160c39(-0x3,0x131)](typeof _0x138938[_0x303a00(0x1be,0x336)],_0x303a00(0x2f2,0x3ab))&&Number[_0x303a00(_0x362160._0x463789,0x505)](_0x138938[_0x160c39(0xa,-_0x362160._0x1a4727)])?_0x138938[_0x160c39(_0x362160._0xdc55f5,-_0x362160._0x3a908d)]:void 0x0};}catch{return null;}}function parseConnectStartIdentity(_0x2eda82){const _0x510c46={_0x132361:0x20,_0x4f4667:0x27f,_0x1b0eb5:0x923,_0x3aad70:0x6f4,_0x14858b:0xce,_0x5f16e4:0xac,_0x457b4f:0x3f5,_0xd955ec:0x4ec,_0x595ee9:0x8ec,_0x5b07e1:0x8e4,_0x2fc5b8:0x67,_0x3f90d3:0x62,_0x1fb5fd:0x4f6,_0x2f8288:0x682,_0x438268:0x197,_0x2cf7d8:0x93d,_0x184d1b:0x8e1,_0x4584ca:0x660,_0x1523a8:0x16c,_0x4a5c6e:0x34,_0x4415a8:0x15a,_0x1d5172:0x7c5,_0x211c2f:0x27b,_0x47c7f4:0xdd,_0x4d16df:0x245,_0x55f3c5:0x416,_0x1c9df3:0x7eb,_0x3724a1:0x1d,_0x1b3b07:0x124,_0xdff71c:0x75e,_0x1b6b24:0x5ca},_0x5b53a6={};_0x5b53a6[_0x325b94(_0x510c46._0x132361,0xbe)]=function(_0xc16092,_0x464e7d){return _0xc16092!==_0x464e7d;},_0x5b53a6[_0x325b94(_0x510c46._0x4f4667,0xa)]=_0x325b94(0x21d,-0x74),_0x5b53a6[_0x393478(_0x510c46._0x1b0eb5,_0x510c46._0x3aad70)]=_0x325b94(_0x510c46._0x14858b,_0x510c46._0x5f16e4)+'start',_0x5b53a6[_0x393478(0x39a,_0x510c46._0x457b4f)]=_0x393478(_0x510c46._0xd955ec,0x6b3)+_0x393478(_0x510c46._0x595ee9,_0x510c46._0x5b07e1);function _0x325b94(_0x2dd578,_0x51dc93){return _0x3a90bd(_0x51dc93,_0x2dd578- -0x17);}function _0x393478(_0x44a189,_0x15484b){return _0x3a90bd(_0x44a189,_0x15484b-0x64b);}const _0x152c9a=_0x5b53a6;try{const _0x297087=JSON['parse'](_0x2eda82);if(_0x152c9a['kNuIU'](_0x297087['type'],_0x325b94(_0x510c46._0x2fc5b8,-_0x510c46._0x3f90d3)))return null;if(_0x152c9a[_0x393478(_0x510c46._0x1fb5fd,_0x510c46._0x2f8288)](_0x297087[_0x325b94(0x1fa,_0x510c46._0x438268)],_0x152c9a[_0x393478(_0x510c46._0x2cf7d8,_0x510c46._0x184d1b)])&&_0x297087[_0x393478(_0x510c46._0x4584ca,0x85c)]!==_0x152c9a[_0x325b94(0x92,0x1ab)])return null;const _0x16ac58=_0x297087[_0x325b94(_0x510c46._0x1523a8,-_0x510c46._0x4a5c6e)]??{},_0x496315=typeof _0x297087['id']===_0x325b94(-0x152,_0x510c46._0x4415a8)&&_0x297087['id'][_0x393478(_0x510c46._0x1d5172,0x8dd)]()?_0x297087['id'][_0x325b94(_0x510c46._0x211c2f,0x344)]():_0x325b94(_0x510c46._0x47c7f4,0x2c3)+Math[_0x325b94(_0x510c46._0x4d16df,_0x510c46._0x55f3c5)]()[_0x393478(0x96e,_0x510c46._0x1c9df3)](0x24)['slice'](0x2,0xc),_0x5f1aa1=firstString(_0x16ac58['deviceNa'+'me'],_0x16ac58['clientNa'+'me'],_0x16ac58[_0x325b94(-_0x510c46._0x3724a1,_0x510c46._0x1b3b07)],_0x152c9a[_0x325b94(-0x26d,-0x39e)]),_0x38a806={};return _0x38a806['id']=_0x496315,_0x38a806[_0x393478(_0x510c46._0xdff71c,_0x510c46._0x1b6b24)]=_0x5f1aa1,_0x38a806;}catch{return null;}}function isConnectHandshakeRequest(_0x393cbd){const _0xca2ade={_0x1e5df8:0x598,_0x36eab5:0x2f3,_0xdd26a2:0x2b1,_0x1c1e46:0x348,_0x20a16c:0x524,_0x289591:0x6fd,_0x1bf79c:0x7d1,_0x41786b:0x115,_0x1faea5:0x491,_0x55ae03:0x275,_0x5e9b19:0x624,_0x3ada08:0x8c0},_0x443ba6={_0x4f31d1:0x40c},_0x12acd6={};_0x12acd6[_0x7188c6(0x649,0x6f7)]=_0x159ab1(_0xca2ade._0x1e5df8,0x497);function _0x7188c6(_0x278d69,_0x3af889){return _0xb2a5b9(_0x3af889,_0x278d69-_0x443ba6._0x4f31d1);}function _0x159ab1(_0x570566,_0x3a35a1){return _0xb2a5b9(_0x570566,_0x3a35a1-0x25c);}_0x12acd6[_0x159ab1(_0xca2ade._0x36eab5,_0xca2ade._0xdd26a2)]=_0x159ab1(0x5cd,_0xca2ade._0x1c1e46)+_0x159ab1(0x45e,_0xca2ade._0x20a16c);const _0x2b822f=_0x12acd6;try{const _0x4e4737=JSON[_0x7188c6(_0xca2ade._0x289591,_0xca2ade._0x1bf79c)](_0x393cbd);return _0x4e4737[_0x159ab1(_0xca2ade._0x41786b,0x35e)]===_0x7188c6(_0xca2ade._0x1faea5,_0xca2ade._0x55ae03)&&(_0x4e4737[_0x7188c6(_0xca2ade._0x5e9b19,_0xca2ade._0x3ada08)]===_0x2b822f[_0x7188c6(0x649,0x487)]||_0x4e4737[_0x7188c6(0x624,0x838)]===_0x2b822f[_0x159ab1(0x4fa,0x2b1)]);}catch{return![];}}function parseConnectHandshakeMeta(_0xbbb4ca){const _0x130e3a={_0xe4bbd:0x345,_0x241f5d:0x7c1,_0x558c32:0x7dc,_0x3b3eab:0x92e,_0x3222a5:0xa0f,_0x4703d5:0x802,_0x146d33:0x996,_0x4caeaa:0x50a,_0x5c7549:0x8a0,_0x88a195:0x738,_0x179676:0x3c0,_0xc95aec:0x19,_0x2091bd:0x1cb,_0x265b25:0x5e2,_0x3e36fa:0x696,_0x1aab52:0xb,_0x35f0a4:0x792,_0x5bc9a8:0x56b,_0x384a1f:0x350,_0x1c8d54:0x100},_0x4a45ed={_0x355aef:0x2ff},_0x1489de={};function _0x2c3413(_0x663ac2,_0x2bf59b){return _0xb2a5b9(_0x2bf59b,_0x663ac2-0x716);}_0x1489de[_0x26a604(0x326,_0x130e3a._0xe4bbd)]='string',_0x1489de[_0x2c3413(_0x130e3a._0x241f5d,0x5ee)]=function(_0x2fb323,_0x2e1328){return _0x2fb323>_0x2e1328;};function _0x26a604(_0x380cb6,_0xbfb601){return _0xb2a5b9(_0x380cb6,_0xbfb601-_0x4a45ed._0x355aef);}_0x1489de[_0x26a604(0x1e9,0x1d6)]=function(_0x58be76,_0x46688f){return _0x58be76===_0x46688f;};const _0x43787a=_0x1489de;try{const _0x4a30fb=JSON['parse'](_0xbbb4ca);if(_0x4a30fb['type']!==_0x26a604(0x4a4,0x384))return null;if(_0x4a30fb[_0x2c3413(0x92e,0x6e3)]!==_0x26a604(_0x130e3a._0x558c32,0x53a)&&_0x4a30fb[_0x2c3413(_0x130e3a._0x3b3eab,_0x130e3a._0x3222a5)]!==_0x2c3413(_0x130e3a._0x4703d5,_0x130e3a._0x146d33)+_0x26a604(_0x130e3a._0x4caeaa,0x5c7))return null;const _0x2be984=_0x4a30fb[_0x2c3413(_0x130e3a._0x5c7549,0x85f)]?.['device']?.[_0x2c3413(_0x130e3a._0x88a195,0x5f8)],_0x76a1fd=_0x4a30fb['params']?.['auth'];return{'id':typeof _0x4a30fb['id']===_0x43787a[_0x26a604(_0x130e3a._0x179676,_0x130e3a._0xe4bbd)]&&_0x4a30fb['id'][_0x26a604(0x7f1,0x598)]()?_0x4a30fb['id']['trim']():null,'method':_0x4a30fb['method'],'noncePresent':typeof _0x2be984===_0x26a604(-_0x130e3a._0xc95aec,_0x130e3a._0x2091bd)&&_0x43787a[_0x2c3413(0x7c1,0x96f)](_0x2be984['length'],0x0),'nonceLength':_0x43787a['nkYdM'](typeof _0x2be984,_0x2c3413(_0x130e3a._0x265b25,_0x130e3a._0x3e36fa))?_0x2be984['length']:null,'authFields':_0x76a1fd&&_0x43787a[_0x26a604(-_0x130e3a._0x1aab52,0x1d6)](typeof _0x76a1fd,_0x26a604(_0x130e3a._0x35f0a4,_0x130e3a._0x5bc9a8))?Object[_0x26a604(_0x130e3a._0x384a1f,_0x130e3a._0x1c8d54)](_0x76a1fd)[_0x2c3413(0x940,0xafb)]():[]};}catch{return null;}}function parsePairingRequestFromError(_0x555156,_0x4455ca=Date[_0xb2a5b9(0x4a1,0x27e)]()){const _0x17e0f0={_0x3ef957:0x447,_0x5e98d9:0x796,_0x42cbf4:0x90b,_0x1d32e8:0x81f,_0x1e18b4:0x29f,_0x2ba2d7:0x4e4,_0xd967d2:0x658,_0xd4b61f:0x515,_0x41a76b:0x222,_0x2f6926:0x791,_0x1a19cf:0x27c,_0x54dc67:0x342,_0x3dccdc:0x3a5,_0x5c7f88:0x67e,_0x22c340:0x13e,_0x19e2fb:0x599,_0x191377:0x7de,_0x237430:0x62d,_0x58c21c:0x884,_0x315f63:0x522,_0x1fa71a:0x36d,_0x470bc5:0x3da,_0x3cae1b:0x3ce,_0x12b4fe:0xa6,_0x21abb9:0x635,_0x644a8c:0x662,_0xb21536:0x672},_0x227641={_0x50644c:0x35d};function _0x149f88(_0x575c39,_0x37ed39){return _0x3a90bd(_0x575c39,_0x37ed39-0x535);}function _0xc1b169(_0x52e29c,_0x475505){return _0x3a90bd(_0x475505,_0x52e29c-_0x227641._0x50644c);}const _0x360ed0={'rqGGb':function(_0x55825f,_0x53a1ea){return _0x55825f!==_0x53a1ea;},'cTbNg':function(_0x31d7df,_0x5525a2){return _0x31d7df===_0x5525a2;},'LNsum':_0x149f88(_0x17e0f0._0x3ef957,0x3fa),'OJlSQ':_0xc1b169(0x342,0x4fd)+'ED','XwvQf':_0x149f88(0x63b,_0x17e0f0._0x5e98d9),'TNcfl':function(_0x4aed54,_0x433734,_0x1af839){return _0x4aed54(_0x433734,_0x1af839);},'eNNEu':function(_0x389d1c,_0x3abbda){return _0x389d1c(_0x3abbda);}};try{const _0x4138cd=JSON[_0x149f88(_0x17e0f0._0x42cbf4,_0x17e0f0._0x1d32e8)](_0x555156);if(_0x360ed0['rqGGb'](_0x4138cd['type'],'res')||_0x360ed0['rqGGb'](_0x4138cd['ok'],![])||!_0x4138cd[_0x149f88(_0x17e0f0._0x1e18b4,_0x17e0f0._0x2ba2d7)])return null;const _0x242b6b=_0x360ed0[_0xc1b169(0x2f2,0xf5)](typeof _0x4138cd[_0xc1b169(0x30c,0x1f5)][_0xc1b169(0x33d,0x2fe)],_0x360ed0[_0x149f88(0x619,_0x17e0f0._0xd967d2)])?_0x4138cd['error'][_0x149f88(0x27a,_0x17e0f0._0xd4b61f)]:'',_0x438741=typeof _0x4138cd['error'][_0xc1b169(0x214,0x3a7)]===_0xc1b169(_0x17e0f0._0x41a76b,0x101)?_0x4138cd[_0x149f88(_0x17e0f0._0x2f6926,0x4e4)]['message']:'';if(!_0x242b6b[_0xc1b169(0x25a,_0x17e0f0._0x1a19cf)](_0xc1b169(_0x17e0f0._0x54dc67,0x3e2)+'ED')&&!_0x242b6b['includes'](_0x149f88(0x647,0x3e3)+_0xc1b169(0x2e6,_0x17e0f0._0x2ba2d7))&&!_0x438741[_0xc1b169(0x25a,0xd6)](_0x360ed0[_0xc1b169(_0x17e0f0._0x3dccdc,0x139)])&&!_0x438741['includes'](_0x149f88(_0x17e0f0._0x5c7f88,0x706)+_0xc1b169(_0x17e0f0._0x22c340,0x233)))return null;const _0x5c948d=_0x4138cd[_0xc1b169(0x30c,_0x17e0f0._0x19e2fb)][_0x149f88(0xa31,_0x17e0f0._0x191377)]??_0x4138cd['error'][_0xc1b169(_0x17e0f0._0x237430,_0x17e0f0._0x58c21c)]??{},_0x4fa8c6=firstString(_0x5c948d[_0x149f88(_0x17e0f0._0x315f63,0x552)+'d'],extractRequestIdFromMessage(_0x438741),_0x360ed0[_0x149f88(_0x17e0f0._0x1fa71a,_0x17e0f0._0x470bc5)]);return{'requestId':_0x4fa8c6,'deviceId':_0x360ed0[_0x149f88(0x469,_0x17e0f0._0x3cae1b)](firstString,_0x5c948d[_0x149f88(0x5e9,0x52f)],''),'displayName':firstNullableString(_0x5c948d['displayN'+_0xc1b169(0xf6,-_0x17e0f0._0x12b4fe)]),'platform':firstNullableString(_0x5c948d[_0x149f88(0x4f7,0x60f)]),'deviceFamily':firstNullableString(_0x5c948d[_0xc1b169(_0x17e0f0._0x21abb9,0x791)+_0x149f88(_0x17e0f0._0x644a8c,0x406)]),'role':firstNullableString(_0x5c948d['role']),'remoteIp':_0x360ed0[_0x149f88(0x7ba,0x81c)](firstNullableString,_0x5c948d[_0x149f88(_0x17e0f0._0xb21536,0x401)]),'receivedAtMs':_0x4455ca,'status':'pending'};}catch{return null;}}function parsePairResolvedEvent(_0x57ff65){const _0x4899da={_0x13ff69:0x15b,_0x1a13d2:0x171,_0x30fc68:0x4,_0x3513dc:0x302,_0x4e9d33:0x11c,_0xb0aed5:0x6c8,_0x5b359a:0x2d1,_0x8af763:0x3b8,_0x17326b:0xcb,_0x56f05d:0x42b,_0x1ea0a9:0x1e7,_0x3b26cf:0x196,_0x54d7e4:0x1cf,_0x5aea4d:0x15e,_0x1b78f0:0xa8,_0x12c99b:0x580,_0x3bb4de:0x329,_0x46f01c:0x30c,_0x164205:0x424},_0x266715={_0x6ec97:0x13f},_0x9ebbf9={};_0x9ebbf9[_0x3d42da(-_0x4899da._0x13ff69,0x50)]=function(_0xede395,_0x2a8559){return _0xede395===_0x2a8559;},_0x9ebbf9[_0x3d42da(_0x4899da._0x1a13d2,0x19d)]=_0x454bdb(-0x1d7,_0x4899da._0x30fc68),_0x9ebbf9[_0x3d42da(_0x4899da._0x3513dc,0x397)]=_0x3d42da(_0x4899da._0x4e9d33,0xe2);function _0x3d42da(_0x2e2a31,_0xe6bbb2){return _0x3a90bd(_0x2e2a31,_0xe6bbb2-0x1ca);}const _0x3b9d5a=_0x9ebbf9;function _0x454bdb(_0x3e1533,_0x2261cf){return _0x3a90bd(_0x3e1533,_0x2261cf-_0x266715._0x6ec97);}try{const _0x15c3ca=JSON[_0x454bdb(_0x4899da._0xb0aed5,0x429)](_0x57ff65);if(_0x15c3ca['type']!==_0x454bdb(_0x4899da._0x5b359a,0x32d)||_0x15c3ca[_0x3d42da(0x18f,_0x4899da._0x8af763)]!=='device.p'+'air.reso'+'lved'||!_0x15c3ca[_0x454bdb(-0x76,-_0x4899da._0x17326b)])return null;const _0x1caeec=_0x3b9d5a[_0x454bdb(0x3e,-0x3b)](typeof _0x15c3ca['payload'][_0x3d42da(_0x4899da._0x56f05d,_0x4899da._0x1ea0a9)+'d'],_0x3b9d5a[_0x454bdb(0x1ff,0x112)])?_0x15c3ca['payload']['requestI'+'d']['trim']():'';if(!_0x1caeec)return null;const _0x510506=typeof _0x15c3ca[_0x454bdb(_0x4899da._0x3b26cf,-0xcb)]['decision']===_0x454bdb(-_0x4899da._0x54d7e4,0x4)?_0x15c3ca[_0x3d42da(0xe1,-0x40)][_0x454bdb(-_0x4899da._0x5aea4d,_0x4899da._0x1b78f0)]:_0x454bdb(_0x4899da._0x12c99b,0x3a0),_0x5e0d8e=_0x510506==='approved'||_0x510506===_0x3b9d5a[_0x454bdb(_0x4899da._0x3bb4de,_0x4899da._0x46f01c)]?_0x510506:'unknown',_0x1d5e6c={};return _0x1d5e6c[_0x3d42da(_0x4899da._0x164205,0x1e7)+'d']=_0x1caeec,_0x1d5e6c['decision']=_0x5e0d8e,_0x1d5e6c;}catch{return null;}}function parseResponseEnvelopeMeta(_0x2fee62){const _0x40d34f={_0xb49a1b:0x52d,_0x5597e5:0x335,_0x1415b6:0x676,_0x16a433:0x61c,_0x2bb98c:0x339,_0x890b03:0x1a4,_0x4192ab:0x5ce,_0x4638bd:0x5f4,_0x3926b8:0x61c,_0xfe51ff:0x339,_0x4e1621:0x3c4,_0x579000:0x378,_0x18f814:0x24f,_0x1967fb:0x339,_0x2c84f5:0x1d7,_0x2ad568:0x241};function _0x597668(_0x3df90f,_0x1aa798){return _0xb2a5b9(_0x3df90f,_0x1aa798-0x3dd);}const _0x2a9f35={};_0x2a9f35[_0x17d502(0x4be,0x422)]=_0x597668(0x1fb,0x2a9);const _0x6b167f=_0x2a9f35;function _0x17d502(_0x4eced7,_0x3c189f){return _0xb2a5b9(_0x3c189f,_0x4eced7-0x383);}try{const _0x2c0137=JSON['parse'](_0x2fee62);if(_0x2c0137[_0x17d502(0x485,_0x40d34f._0xb49a1b)]!==_0x17d502(_0x40d34f._0x5597e5,0x141))return null;if(typeof _0x2c0137['id']!=='string'||!_0x2c0137['id'][_0x597668(0x510,_0x40d34f._0x1415b6)]())return null;return{'id':_0x2c0137['id'][_0x17d502(_0x40d34f._0x16a433,0x460)](),'ok':_0x2c0137['ok']===!![],'errorCode':typeof _0x2c0137[_0x17d502(_0x40d34f._0x2bb98c,_0x40d34f._0x890b03)]?.['code']===_0x6b167f['FtSyJ']&&_0x2c0137[_0x17d502(_0x40d34f._0x2bb98c,_0x40d34f._0x4192ab)][_0x17d502(0x36a,_0x40d34f._0x4638bd)][_0x17d502(_0x40d34f._0x3926b8,0x884)]()?_0x2c0137[_0x17d502(_0x40d34f._0xfe51ff,0x510)][_0x597668(0x58f,_0x40d34f._0x4e1621)][_0x597668(0x63f,0x676)]():null,'errorMessage':typeof _0x2c0137['error']?.[_0x597668(_0x40d34f._0x579000,0x29b)]===_0x17d502(_0x40d34f._0x18f814,0x181)&&_0x2c0137[_0x17d502(_0x40d34f._0x1967fb,_0x40d34f._0x2c84f5)][_0x17d502(_0x40d34f._0x2ad568,0x287)]['trim']()?_0x2c0137[_0x17d502(_0x40d34f._0x1967fb,0x136)]['message'][_0x17d502(_0x40d34f._0x3926b8,0x7b8)]():null};}catch{return null;}}function firstString(..._0x3f9b73){const _0x3bc257={_0x5cbd3a:0x232,_0x103249:0x245,_0x32b37c:0x593,_0x1f8613:0x2ad},_0x51cad5={_0x1e86d9:0x1b},_0x1458af={_0x4c4a7a:0x6ce};function _0x2fced5(_0x1e7aec,_0x4b3471){return _0x3a90bd(_0x1e7aec,_0x4b3471-_0x1458af._0x4c4a7a);}const _0x54bad7={};function _0x4b57a7(_0x251b70,_0x512beb){return _0x3a90bd(_0x512beb,_0x251b70-_0x51cad5._0x1e86d9);}_0x54bad7[_0x4b57a7(-_0x3bc257._0x5cbd3a,-_0x3bc257._0x103249)]=function(_0x2cf255,_0x50dcd3){return _0x2cf255===_0x50dcd3;};const _0x3c0ff9=_0x54bad7;for(const _0xb2e5ac of _0x3f9b73){if(_0x3c0ff9[_0x4b57a7(-0x232,-0x4d1)](typeof _0xb2e5ac,_0x2fced5(0x67b,_0x3bc257._0x32b37c))&&_0xb2e5ac['trim']())return _0xb2e5ac[_0x4b57a7(_0x3bc257._0x1f8613,0x2c)]();}return'';}function firstNullableString(_0x247420){const _0x4535f5={_0xf7e08b:0x1b5,_0x5dc6ff:0x3d4,_0x357142:0x449,_0x50a983:0x5ca,_0x2f13a9:0x344,_0x2b5a1a:0x4f4},_0x454b0a={};_0x454b0a['CqlNz']=_0x48bb2a(-_0x4535f5._0xf7e08b,-0x89);function _0x102f59(_0xfb4d0d,_0x51047b){return _0xb2a5b9(_0xfb4d0d,_0x51047b-0x38f);}const _0xf384b1=_0x454b0a;function _0x48bb2a(_0x191d8f,_0x4cf89f){return _0xb2a5b9(_0x191d8f,_0x4cf89f-0xab);}return typeof _0x247420===_0xf384b1[_0x102f59(_0x4535f5._0x5dc6ff,_0x4535f5._0x357142)]&&_0x247420[_0x48bb2a(_0x4535f5._0x50a983,_0x4535f5._0x2f13a9)]()?_0x247420[_0x48bb2a(_0x4535f5._0x2b5a1a,0x344)]():null;}function extractRequestIdFromMessage(_0x1a4212){const _0x529b37=_0x1a4212['match'](/requestId[:\s]*([a-f0-9-]+)/i);return _0x529b37?.[0x1]??null;}import{randomUUID as _0x35cff6}from'crypto';import{setTimeout as _0x51cfb4}from'timers/promises';import _0x387a60 from'ws';var HEARTBEAT_INTERVAL_MS=0x2710,HEARTBEAT_TIMEOUT_MS=0x88b8,GATEWAY_RETRY_DELAY_MS=0x4b0,RECONNECT_BASE_DELAY_MS=0x3e8,RECONNECT_MAX_DELAY_MS=0x3a98,CONNECT_HANDSHAKE_WARN_DELAY_MS=0x1f40,MAX_PENDING_GATEWAY_MESSAGES=0x100,MAX_DEVICE_DETAILS=0x20,MAX_PENDING_PAIR_REQUESTS=0x10,BridgeRuntime=class{[_0xb2a5b9(-0x15a,-0x159)];['relaySoc'+'ket']=null;[_0x3a90bd(-0x358,-0xba)+_0xb2a5b9(-0x1c8,-0xc0)]=null;[_0xb2a5b9(0x246,0x1de)+_0x3a90bd(0x1dc,0xcb)]=![];[_0x3a90bd(-0x2d2,-0x8c)+_0x3a90bd(-0x337,-0xd7)+'g']=![];[_0x3a90bd(-0x31e,-0xc3)]=!![];[_0x3a90bd(-0x9c,-0x95)+_0xb2a5b9(0x18,-0x53)]=0x0;['lastRela'+_0xb2a5b9(0x421,0x17f)+_0xb2a5b9(-0x263,-0x1b7)]=0x0;[_0xb2a5b9(0x2ca,0x2d1)+_0x3a90bd(-0x88,-0x187)]=null;[_0x3a90bd(-0x2c6,-0xb0)+'etryTime'+'r']=null;[_0x3a90bd(0x246,0x1ab)+_0xb2a5b9(-0x1af,-0x180)]=null;[_0x3a90bd(-0x67,0x12a)+_0xb2a5b9(-0x139,-0xfd)+_0xb2a5b9(0x3ea,0x192)]=[];['gatewayH'+'andshake'+_0xb2a5b9(-0x16b,-0x4f)]=![];[_0x3a90bd(-0x255,-0x8c)+_0x3a90bd(0x145,0x10d)+_0xb2a5b9(-0x3d1,-0x1dc)+_0x3a90bd(-0x3eb,-0x1bc)]=![];[_0x3a90bd(0x256,0x12b)+_0xb2a5b9(-0x1e9,-0xec)+_0x3a90bd(-0x3ff,-0x212)]=null;[_0x3a90bd(-0x292,-0x8c)+'onnected'+_0xb2a5b9(0x2f6,0x56)]=null;[_0x3a90bd(-0x35d,-0x18d)+_0xb2a5b9(0x331,0x1e1)+_0x3a90bd(-0xf4,-0x1c5)+'s']=new Map();[_0x3a90bd(0x22,0x6f)];constructor(_0x3f552e){const _0x533a63={_0x18a75d:0x159,_0x604191:0x2e5,_0x37f65e:0x4a1,_0x1892e2:0x45a,_0x1b544d:0x50d,_0x574b0b:0x41a,_0x57e5bb:0x4c1,_0x878bcc:0x312,_0x44b03c:0x4d8,_0x417685:0x530,_0x28d7f4:0x597},_0x37c3ed={_0x2309fa:0x2b2},_0x22e9d5={_0x36150c:0x385};function _0x22ae5a(_0x2dc4ff,_0x276006){return _0xb2a5b9(_0x2dc4ff,_0x276006-_0x22e9d5._0x36150c);}this[_0x39bdd7(_0x533a63._0x18a75d,-0x111)]=_0x3f552e;function _0x39bdd7(_0x23bd31,_0x4c9b46){return _0xb2a5b9(_0x4c9b46,_0x23bd31-_0x37c3ed._0x2309fa);}this[_0x22ae5a(_0x533a63._0x604191,0x3fb)]={'running':![],'relayConnected':![],'gatewayConnected':![],'gatewayId':_0x3f552e[_0x22ae5a(_0x533a63._0x37f65e,_0x533a63._0x1892e2)]['gatewayI'+'d'],'instanceId':_0x3f552e[_0x39bdd7(0x387,_0x533a63._0x1b544d)]['instance'+'Id'],'relayUrl':_0x3f552e[_0x39bdd7(0x387,0x23e)][_0x22ae5a(_0x533a63._0x574b0b,_0x533a63._0x57e5bb)],'gatewayUrl':_0x3f552e[_0x22ae5a(_0x533a63._0x878bcc,_0x533a63._0x44b03c)+'rl'],'clientCount':0x0,'connectedDevices':[],'pendingPairRequests':[],'lastError':null,'lastUpdatedMs':Date[_0x39bdd7(_0x533a63._0x417685,_0x533a63._0x28d7f4)]()};}[_0xb2a5b9(0x570,0x2c8)](){const _0x1d8868={_0x3a011b:0x4a,_0x3cdd8a:0xa5,_0x37cf97:0x1,_0x634def:0x14b,_0x449931:0x2b,_0x26d017:0xee,_0x15843e:0x1f,_0xc33ee:0x80,_0x31dbb3:0x114,_0x4b939b:0x59,_0x2a6f54:0x2e6,_0x239023:0x42};function _0x55c301(_0x4813a2,_0x5e48cb){return _0x3a90bd(_0x4813a2,_0x5e48cb-0x103);}if(!this[_0x55c301(-_0x1d8868._0x3a011b,0x40)])return;this[_0x55c301(-0x89,0x40)]=![];function _0x2f99f7(_0x3ee41f,_0x87b2cc){return _0x3a90bd(_0x87b2cc,_0x3ee41f- -0x4e);}this[_0x55c301(-0x1f,0x4e)+_0x55c301(_0x1d8868._0x3cdd8a,_0x1d8868._0x37cf97)]({'running':!![],'gatewayUrl':this[_0x2f99f7(-0x1ae,-0x2f3)][_0x55c301(0x265,0x24f)+'rl']}),this[_0x55c301(0x8c,-0xf5)](_0x2f99f7(_0x1d8868._0x634def,_0x1d8868._0x449931)+_0x55c301(-_0x1d8868._0x26d017,-_0x1d8868._0x15843e)+_0x55c301(0xa3,0x26f)+'Id='+this['options'][_0x2f99f7(_0x1d8868._0xc33ee,0xee)][_0x55c301(_0x1d8868._0x634def,-0x115)+'d']+('\x20gateway'+_0x55c301(0x2df,0x3ba))+this[_0x2f99f7(-0x1ae,-_0x1d8868._0x31dbb3)]['gatewayU'+'rl']),void this[_0x55c301(_0x1d8868._0x4b939b,_0x1d8868._0x2a6f54)+_0x55c301(0x1b,_0x1d8868._0x239023)]();}async[_0x3a90bd(0x257,0x185)](){const _0x5064e0={_0x4d556f:0x1f6,_0x5c8a11:0x348,_0x1882c1:0x367,_0x53ba2e:0x2e1,_0x318806:0x14d,_0x3a9188:0x1ff,_0x2e2df9:0x36b,_0x5cbe62:0x35f,_0x144bd3:0x103,_0x479bc7:0x352,_0x56e958:0x1b5,_0x3d2df6:0x55b,_0xda8cc2:0x630,_0x17eee0:0x102,_0x2987b7:0x22d,_0x33c3a7:0xd6,_0x3cc282:0xcb,_0x215beb:0x5c,_0x368e18:0x241,_0x2f598e:0x33,_0x384d61:0x29d,_0x45da13:0x48a,_0x53659b:0xf4,_0x34769f:0xc5,_0x3a2b56:0x3d,_0x41d8f4:0x223,_0x411aa4:0x0,_0x3dd49c:0x29a,_0x1c9469:0x535,_0x23a0d0:0x3f,_0xc4c6da:0x23b,_0x3a0b54:0x452,_0x57bca3:0x254};if(this[_0x408e7a(_0x5064e0._0x4d556f,_0x5064e0._0x5c8a11)])return;this[_0x408e7a(0x1f6,0x10a)]=!![];function _0x408e7a(_0x340a24,_0x433b83){return _0x3a90bd(_0x433b83,_0x340a24-0x2b9);}this[_0x408e7a(0x2eb,_0x5064e0._0x1882c1)+_0x17ff3f(_0x5064e0._0x53ba2e,0x589)](),this['relaySoc'+_0x17ff3f(_0x5064e0._0x318806,0x3e2)]?.[_0x408e7a(0x36b,0x3cb)](),this[_0x408e7a(_0x5064e0._0x3a9188,0x67)+_0x408e7a(0x1f2,0x25a)]?.[_0x408e7a(_0x5064e0._0x2e2df9,_0x5064e0._0x5cbe62)](),this[_0x17ff3f(_0x5064e0._0x144bd3,-0xa1)+'ket']=null,this['gatewayS'+'ocket']=null,this[_0x17ff3f(0x1ed,_0x5064e0._0x479bc7)+_0x408e7a(_0x5064e0._0x56e958,0x8e)+'ssages']=[];function _0x17ff3f(_0x2061f2,_0x47842b){return _0x3a90bd(_0x47842b,_0x2061f2-0xc3);}this[_0x408e7a(_0x5064e0._0x3d2df6,_0x5064e0._0xda8cc2)+_0x17ff3f(-_0x5064e0._0x17eee0,-0x1a6)+_0x408e7a(0x263,-0x18)]=![],this[_0x408e7a(_0x5064e0._0x2987b7,0x340)+'loseBoun'+_0x408e7a(_0x5064e0._0x33c3a7,0x363)+_0x408e7a(0xfd,-_0x5064e0._0x3cc282)]=![],this['clientDe'+'mandStar'+_0x408e7a(0xa7,_0x5064e0._0x215beb)]=null,this[_0x408e7a(0x22d,0xd8)+_0x17ff3f(_0x5064e0._0x368e18,0xab)+_0x408e7a(0x308,0x31a)]=null,this[_0x17ff3f(-0xca,-_0x5064e0._0x2f598e)+_0x17ff3f(_0x5064e0._0x384d61,_0x5064e0._0x45da13)+_0x408e7a(_0x5064e0._0x53659b,_0x5064e0._0x34769f)+'s'][_0x408e7a(0x17f,-_0x5064e0._0x3a2b56)](),this['relayCon'+'necting']=![],this['gatewayC'+'onnectin'+'g']=![];const _0x1b2363={};_0x1b2363[_0x17ff3f(_0x5064e0._0x41d8f4,_0x5064e0._0x411aa4)]=![],_0x1b2363[_0x17ff3f(_0x5064e0._0x3dd49c,0x1b3)+_0x408e7a(_0x5064e0._0x1c9469,0x320)]=![],_0x1b2363['gatewayC'+_0x17ff3f(0x241,0x497)]=![],_0x1b2363[_0x17ff3f(0x1bd,0x80)+'unt']=0x0,_0x1b2363['lastErro'+'r']=null,this[_0x17ff3f(0xe,0x170)+_0x17ff3f(-_0x5064e0._0x23a0d0,_0x5064e0._0xc4c6da)](_0x1b2363),this['log'](_0x408e7a(_0x5064e0._0x3a0b54,_0x5064e0._0x57bca3)+_0x17ff3f(0x0,-0xfc)),await _0x51cfb4(0x19);}async['approveP'+_0xb2a5b9(0x193,0x235)+'st'](_0x396a3b){const _0x30b72e={_0x7a65cd:0x33c,_0x4fa160:0x9d5,_0x1864b4:0x7b1,_0x40fcbb:0x71d,_0x28ff6e:0x7ee,_0x56858b:0x387,_0xae1b8c:0x4b5,_0x30f03b:0x3c9,_0x240414:0x48d},_0x5696d2={_0x589fd5:0x3b4};function _0x2d5569(_0x4860ee,_0x36ae71){return _0x3a90bd(_0x4860ee,_0x36ae71-_0x5696d2._0x589fd5);}const _0x1977fe={};function _0x36d845(_0x4b93ec,_0x3b69e2){return _0x3a90bd(_0x4b93ec,_0x3b69e2-0x700);}_0x1977fe[_0x2d5569(0x399,_0x30b72e._0x7a65cd)]=_0x36d845(0xc47,_0x30b72e._0x4fa160)+_0x36d845(0x59f,_0x30b72e._0x1864b4)+'ove';const _0x3736ed=_0x1977fe,_0x4ebb8e={};_0x4ebb8e[_0x36d845(0x988,_0x30b72e._0x40fcbb)+'d']=_0x396a3b,this[_0x36d845(_0x30b72e._0x28ff6e,0x766)+_0x36d845(_0x30b72e._0x56858b,_0x30b72e._0xae1b8c)+'st'](_0x3736ed[_0x2d5569(_0x30b72e._0x30f03b,0x33c)],_0x4ebb8e),this[_0x36d845(0x8e2,0x86f)+_0x2d5569(0x785,0x5cf)+_0x2d5569(_0x30b72e._0x240414,0x522)](_0x396a3b,'approved');}async[_0x3a90bd(0x1ca,0xc6)+_0xb2a5b9(-0x5a,-0x210)+'t'](_0x119097){const _0x3c7a18={_0x427d4c:0x62e,_0x4fbb08:0x391,_0x4e4780:0x37d,_0x37a0a8:0x852,_0x49d5f1:0x89d,_0x306320:0x31d,_0x3b6824:0x690,_0x583393:0x498,_0x1e2a6c:0x195,_0x4c2065:0x45},_0x12f63a={_0x55868b:0x27d},_0xf7005a={_0x58ee20:0x5c8};function _0x5901e0(_0x20eed4,_0x4c9011){return _0x3a90bd(_0x20eed4,_0x4c9011-_0xf7005a._0x58ee20);}const _0x57ad94={};function _0x392b89(_0x43e8ae,_0x333aae){return _0x3a90bd(_0x333aae,_0x43e8ae-_0x12f63a._0x55868b);}_0x57ad94[_0x5901e0(0x739,0x5e5)+'d']=_0x119097,this[_0x5901e0(0x54d,_0x3c7a18._0x427d4c)+_0x5901e0(_0x3c7a18._0x4fbb08,_0x3c7a18._0x4e4780)+'st'](_0x5901e0(_0x3c7a18._0x37a0a8,_0x3c7a18._0x49d5f1)+_0x392b89(0x271,_0x3c7a18._0x306320)+'ct',_0x57ad94),this[_0x392b89(0x3ec,_0x3c7a18._0x3b6824)+_0x392b89(_0x3c7a18._0x583393,0x351)+'esolved'](_0x119097,_0x392b89(_0x3c7a18._0x1e2a6c,_0x3c7a18._0x4c2065));}[_0x3a90bd(-0xe6,-0xf2)+_0x3a90bd(0x4d,0x1ac)](){const _0x262f4c={_0x43469c:0x2f3,_0x4163e0:0x18b,_0x4efef9:0xbb9,_0x10d622:0x513,_0x466a5d:0x718,_0x596ac6:0x38b,_0x5e21ba:0x6c2,_0x131f8d:0x4b2},_0x5ab95c={_0x122720:0x6e7},_0x35dcc3={_0x52b07f:0x27d},_0x4e35bb={...this[_0x3ece54(_0x262f4c._0x43469c,0x33e)]};_0x4e35bb['connecte'+_0x3ece54(0x429,_0x262f4c._0x4163e0)]=[...this['snapshot'][_0x2dc64c(0x998,_0x262f4c._0x4efef9)+'dDevices']],_0x4e35bb[_0x2dc64c(_0x262f4c._0x10d622,_0x262f4c._0x466a5d)+_0x3ece54(0x4b2,_0x262f4c._0x596ac6)+'sts']=[...this['snapshot'][_0x2dc64c(_0x262f4c._0x10d622,_0x262f4c._0x5e21ba)+_0x3ece54(_0x262f4c._0x131f8d,0x632)+'sts']];function _0x3ece54(_0x406d7c,_0x580da0){return _0xb2a5b9(_0x580da0,_0x406d7c-_0x35dcc3._0x52b07f);}function _0x2dc64c(_0x20f24a,_0x4b8651){return _0xb2a5b9(_0x4b8651,_0x20f24a-_0x5ab95c._0x122720);}return _0x4e35bb;}async[_0xb2a5b9(0x372,0x1ea)+'elay'](){const _0x3c12fa={_0x4b4c23:0x83c,_0x567c79:0x8b1,_0x9e1b02:0x74b,_0x16130d:0x7d5,_0x18d25b:0x792,_0x78973d:0x71e,_0x34dc42:0x487,_0x2e5440:0x737,_0x175d1e:0x552,_0x164b34:0x45a,_0x170199:0x5c6,_0x595d07:0x62e,_0x14d12c:0x6da,_0x129233:0x819,_0x2eedd5:0x480,_0x144a7f:0x480,_0x4c1dd5:0x65d,_0x1511f3:0x1dc},_0x56fa0e={_0x19e750:0x27e,_0x34bddc:0x2c6,_0x438799:0x4b1,_0x2a2775:0x238,_0x557a6d:0x2a,_0x5b7325:0x168,_0x493198:0xf7,_0x147c8c:0x243,_0xabcd10:0x2ea,_0x2ac7c4:0x187,_0x56e977:0x235,_0x2e605d:0x13a,_0x5a2c50:0x112,_0x34e74:0x457,_0x454b62:0x48f,_0x2d4b97:0x235,_0x48dcd4:0x7,_0x25bb90:0x2,_0x47512e:0xa,_0x3d9103:0x123,_0x4e14c1:0x24d,_0x12aaaa:0x1af,_0x1589e4:0x476,_0x25c6dd:0x484},_0x1eba6b={_0x21c1fd:0x45c},_0x504c12={_0x3f2ee3:0x113,_0x4dfa34:0x584,_0x543d7f:0x648},_0x2e21bb={_0x154d43:0x18b},_0x4faae5={_0x314427:0x68e,_0x361ae6:0x804},_0x123067={_0x3e25c3:0x804,_0x201876:0x8e2,_0xc38131:0x400},_0x2e65d3={_0x1d5212:0x25d},_0x4f3d49={_0x1fe2d5:0x134,_0x4cd0d6:0x139,_0x162bbd:0x113,_0x2b3cbe:0x23c,_0x5d768a:0x245,_0x23312a:0x1c9,_0x52705c:0xaa,_0xe6f192:0x1af,_0x197978:0x432,_0x1ece40:0x1b5,_0x577530:0x147,_0x23be30:0x2a2,_0x54f30b:0x257,_0x359c96:0x19c,_0x55e0fd:0x228,_0x4dcd2b:0x2f6,_0x57fee2:0x326,_0x17a928:0xb7,_0x15ceec:0x346,_0x5e693a:0x38c,_0x5d5273:0x39e,_0x126846:0xb4,_0x2d34a6:0x9d,_0x34dbbe:0x266,_0x2801ef:0xab,_0x377b36:0xaf},_0x261248={_0x286cde:0x6a7},_0x2f2ca4={'kWziN':function(_0x3d30ae,_0x17e6da){return _0x3d30ae(_0x17e6da);},'Hdlhj':_0x518e7a(_0x3c12fa._0x4b4c23,0x760)};if(this['stopped']||this['relayCon'+_0x518e7a(0x7b8,0x779)]||this[_0x518e7a(0x8dd,_0x3c12fa._0x567c79)+'pen']())return;this['relayCon'+'necting']=!![];function _0x4ef057(_0x109ed7,_0x232baa){return _0xb2a5b9(_0x232baa,_0x109ed7-0x649);}this[_0x4ef057(0x5bb,_0x3c12fa._0x9e1b02)+'empt']+=0x1;const _0x22493b=this[_0x4ef057(0x5bb,0x7c8)+_0x518e7a(_0x3c12fa._0x16130d,0x654)],_0x435dad=_0x2f2ca4[_0x518e7a(_0x3c12fa._0x18d25b,0x580)](buildRelayWsUrl,this[_0x4ef057(0x4f0,0x3c5)][_0x4ef057(_0x3c12fa._0x78973d,_0x3c12fa._0x34dc42)]);this[_0x4ef057(0x458,0x50b)](_0x4ef057(_0x3c12fa._0x2e5440,_0x3c12fa._0x175d1e)+_0x518e7a(_0x3c12fa._0x164b34,0x491)+_0x518e7a(0x8ee,0x7f0)+_0x22493b+_0x518e7a(_0x3c12fa._0x170199,0x874)+redactRelayWsUrl(_0x435dad));function _0x518e7a(_0x45c728,_0x3abed5){return _0xb2a5b9(_0x45c728,_0x3abed5-_0x261248._0x286cde);}const _0x326118=this['createWe'+_0x4ef057(0x791,_0x3c12fa._0x595d07)](_0x435dad);this[_0x518e7a(0x92b,0x6ee)+_0x4ef057(_0x3c12fa._0x14d12c,_0x3c12fa._0x129233)]=_0x326118,_0x326118[_0x4ef057(_0x3c12fa._0x2eedd5,0x310)](_0x4ef057(0x539,0x645),()=>{if(this[_0x443234(-_0x4f3d49._0x1fe2d5,_0x4f3d49._0x4cd0d6)]||this[_0x443234(_0x4f3d49._0x162bbd,_0x4f3d49._0x2b3cbe)+_0x57c87c(_0x4f3d49._0x5d768a,_0x4f3d49._0x23312a)]!==_0x326118){_0x326118['close']();return;}this[_0x443234(0x4e2,0x3d3)+'necting']=![],this[_0x443234(-_0x4f3d49._0x52705c,_0x4f3d49._0xe6f192)+'yActivit'+_0x57c87c(-0x3,-0x2ad)]=Date[_0x57c87c(_0x4f3d49._0x197978,_0x4f3d49._0x1ece40)]();const _0x3f053c={};_0x3f053c['relayCon'+'nected']=!![];function _0x443234(_0x272d23,_0x2dab61){return _0x4ef057(_0x2dab61- -0x454,_0x272d23);}_0x3f053c[_0x57c87c(0x19,0x1e1)+'r']=null,this[_0x443234(-0x15d,_0x4f3d49._0x577530)+_0x443234(0x123,0xfa)](_0x3f053c),this['log'](_0x57c87c(_0x4f3d49._0x23be30,0x42f)+'nnected\x20'+'attempt='+_0x22493b),this[_0x443234(0x209,0x28f)+_0x57c87c(_0x4f3d49._0x54f30b,_0x4f3d49._0x359c96)]();function _0x57c87c(_0x54682b,_0x24588e){return _0x4ef057(_0x54682b- -0x495,_0x24588e);}shouldKeepGatewayConnected(this[_0x443234(0x1c3,0x26b)][_0x443234(_0x4f3d49._0x55e0fd,_0x4f3d49._0x4dcd2b)+_0x57c87c(0x118,0x212)],_0x2f2ca4['kWziN'](summarizePendingGatewayMessages,this[_0x443234(0xcb,_0x4f3d49._0x57fee2)+_0x57c87c(_0x4f3d49._0x17a928,0x96)+_0x57c87c(_0x4f3d49._0x15ceec,_0x4f3d49._0x5e693a)])[_0x57c87c(_0x4f3d49._0x5d5273,0x58c)+_0x57c87c(_0x4f3d49._0x126846,-_0x4f3d49._0x2d34a6)])&&this[_0x57c87c(0x194,_0x4f3d49._0x34dbbe)+_0x443234(-_0x4f3d49._0x2801ef,_0x4f3d49._0x377b36)+'nected']();}),_0x326118['on']('message',(_0x1daa4b,_0x3d1e6a)=>{function _0x1e5646(_0x291542,_0x3ecaeb){return _0x518e7a(_0x291542,_0x3ecaeb- -_0x2e65d3._0x1d5212);}function _0x72bc9c(_0x40d3c1,_0x27b6b5){return _0x518e7a(_0x27b6b5,_0x40d3c1- -0x168);}void this[_0x72bc9c(_0x123067._0x3e25c3,_0x123067._0x201876)+_0x72bc9c(0x5d6,_0x123067._0xc38131)+'ge'](_0x1daa4b,_0x3d1e6a);}),_0x326118['on'](_0x4ef057(0x843,0x974),()=>{function _0x2d7204(_0x30a176,_0x3c6d38){return _0x4ef057(_0x3c6d38- -0xc3,_0x30a176);}function _0x10ad47(_0x4c3735,_0x1355d6){return _0x4ef057(_0x1355d6- -0x3b4,_0x4c3735);}this['lastRela'+_0x2d7204(_0x4faae5._0x314427,0x705)+_0x2d7204(0x2a9,0x3cf)]=Date[_0x2d7204(0x64f,_0x4faae5._0x361ae6)]();}),_0x326118[_0x4ef057(_0x3c12fa._0x144a7f,0x259)](_0x518e7a(0x3de,_0x3c12fa._0x4c1dd5),_0x1e61c8=>{function _0x36445e(_0x4fee51,_0x12b5d8){return _0x518e7a(_0x12b5d8,_0x4fee51- -0x2a2);}function _0x26c224(_0x29e40e,_0x296589){return _0x518e7a(_0x296589,_0x29e40e- -_0x2e21bb._0x154d43);}this[_0x36445e(0x214,_0x504c12._0x3f2ee3)]('relay\x20er'+_0x26c224(_0x504c12._0x4dfa34,_0x504c12._0x543d7f)+String(_0x1e61c8));}),_0x326118['once'](_0x2f2ca4[_0x4ef057(0x3fc,_0x3c12fa._0x1511f3)],(_0x4dedfd,_0x1bbed7)=>{const _0x514db8={_0x1f053e:0x414};function _0x406a9e(_0x16348b,_0x140472){return _0x4ef057(_0x16348b- -_0x514db8._0x1f053e,_0x140472);}this[_0x1a43c2(0x234,_0x56fa0e._0x19e750)+_0x406a9e(0x2c6,0x130)]===_0x326118&&(this[_0x1a43c2(0x234,0x395)+_0x406a9e(_0x56fa0e._0x34bddc,_0x56fa0e._0x438799)]=null);this[_0x1a43c2(0x3cb,0x4df)+'necting']=![],this[_0x406a9e(_0x56fa0e._0x2a2775,0x192)+_0x1a43c2(0x2fa,0x257)](),this['clientDe'+_0x406a9e(0x149,0x389)+_0x406a9e(_0x56fa0e._0x557a6d,0xa3)]=null,this[_0x1a43c2(_0x56fa0e._0x5b7325,-_0x56fa0e._0x493198)+'onnected'+_0x1a43c2(_0x56fa0e._0x147c8c,_0x56fa0e._0xabcd10)]=null;function _0x1a43c2(_0x3c18ea,_0xbb7ad7){return _0x4ef057(_0x3c18ea- -_0x1eba6b._0x21c1fd,_0xbb7ad7);}this[_0x406a9e(_0x56fa0e._0x2ac7c4,_0x56fa0e._0x56e977)+_0x406a9e(_0x56fa0e._0x2e605d,-_0x56fa0e._0x5a2c50)]({'relayConnected':![],'gatewayConnected':![],'clientCount':0x0,'lastError':_0x4dedfd===0x3e8?null:_0x1a43c2(_0x56fa0e._0x34e74,0x673)+_0x1a43c2(_0x56fa0e._0x454b62,0x491)+(_0x1bbed7['toString']()||_0x4dedfd)}),this[_0x1a43c2(-0x4,-0x53)]('relay\x20di'+_0x406a9e(_0x56fa0e._0x2d4b97,0x4)+_0x406a9e(0x1aa,_0x56fa0e._0x48dcd4)+_0x4dedfd+'\x20reason='+(_0x1bbed7['toString']()||_0x1a43c2(_0x56fa0e._0x25bb90,0x1a9))),this[_0x1a43c2(_0x56fa0e._0x47512e,0x285)+_0x406a9e(_0x56fa0e._0x3d9103,0x3c5)](),this[_0x1a43c2(_0x56fa0e._0x4e14c1,_0x56fa0e._0x12aaaa)+_0x1a43c2(_0x56fa0e._0x1589e4,_0x56fa0e._0x25c6dd)+_0x406a9e(0xa8,-0xf0)]();});}async['handleRe'+_0x3a90bd(0x230,0x90)+'ge'](_0x2bf4f6,_0x2b5754){const _0x332ce5={_0x2e11c7:0x5b2,_0x195b4f:0x21f,_0x5428a5:0x25b,_0x207522:0x3d2,_0x4bbe12:0x63d,_0xdaba9a:0x4d1,_0x1d8cd0:0x95e,_0x3aa848:0x482,_0x503bb4:0x6f8,_0x48ec74:0x9e3,_0x325dbc:0x4d9,_0x3f0a0e:0x1b2,_0x1521f2:0x3ed,_0x65bb11:0x9a1,_0x1bd2f1:0xaff,_0x3530ff:0x8d1,_0x4fbb33:0x463,_0x3c92db:0x91f,_0x38629d:0x768,_0x3555f5:0x4c8,_0x5ea662:0xa36,_0x1f2e18:0x8c7,_0xac623f:0x733,_0x1d8b58:0x931,_0x5cd253:0x98e},_0x5926b8={_0x22bf04:0x253},_0x2c109e={_0x83446:0x6dc},_0x2d2bf8={'yNPtg':_0x4ffca2(0x384,_0x332ce5._0x2e11c7),'ogBmF':function(_0x5e85e7,_0x3ffd67){return _0x5e85e7(_0x3ffd67);},'RnYRd':_0x1d30ed(_0x332ce5._0x195b4f,_0x332ce5._0x5428a5)};this['lastRela'+_0x1d30ed(0x2bd,_0x332ce5._0x207522)+_0x1d30ed(-0x4f,0x9c)]=Date[_0x1d30ed(_0x332ce5._0x4bbe12,_0x332ce5._0xdaba9a)]();if(_0x2b5754){this['forwardO'+_0x4ffca2(_0x332ce5._0x1d8cd0,0x931)+_0x4ffca2(_0x332ce5._0x3aa848,_0x332ce5._0x503bb4)+_0x4ffca2(_0x332ce5._0x48ec74,0x9bd)]({'kind':_0x2d2bf8[_0x1d30ed(_0x332ce5._0x325dbc,0x42e)],'data':normalizeBinary(_0x2bf4f6)});return;}const _0x39eec2=normalizeText(_0x2bf4f6);function _0x4ffca2(_0x427a3f,_0x1781c3){return _0xb2a5b9(_0x427a3f,_0x1781c3-_0x2c109e._0x83446);}if(_0x39eec2==null)return;const _0x45b275=_0x2d2bf8[_0x1d30ed(_0x332ce5._0x3f0a0e,_0x332ce5._0x1521f2)](parseControl,_0x39eec2);if(_0x45b275){this[_0x4ffca2(0xb25,_0x332ce5._0x65bb11)+_0x1d30ed(0x313,0x4ab)+'ol'](_0x45b275[_0x4ffca2(_0x332ce5._0x1bd2f1,_0x332ce5._0x3530ff)],_0x45b275['count']);return;}const _0x2f92e9=parseConnectStartIdentity(_0x39eec2);_0x2f92e9&&this['observeC'+_0x4ffca2(_0x332ce5._0x4fbb33,0x69b)+_0x4ffca2(0xac4,_0x332ce5._0x3c92db)](_0x2f92e9['id'],_0x2f92e9[_0x4ffca2(_0x332ce5._0x38629d,0x662)]);const _0x45fdbe={};function _0x1d30ed(_0xff69b0,_0x34bc54){return _0xb2a5b9(_0xff69b0,_0x34bc54-_0x5926b8._0x22bf04);}_0x45fdbe[_0x4ffca2(0x696,_0x332ce5._0x3555f5)]=_0x2d2bf8[_0x4ffca2(_0x332ce5._0x5ea662,_0x332ce5._0x1f2e18)],_0x45fdbe['text']=_0x39eec2,this['forwardO'+_0x4ffca2(_0x332ce5._0xac623f,_0x332ce5._0x1d8b58)+_0x4ffca2(_0x332ce5._0x5cd253,0x6f8)+_0x4ffca2(0xb4b,0x9bd)](_0x45fdbe);}[_0xb2a5b9(0x46d,0x2c5)+_0x3a90bd(0x4d,0x251)+'ol'](_0x46b1c5,_0x1bd0c5){const _0x2cec18={_0x506b74:0x889,_0x705934:0x558,_0x55e4fc:0x19a,_0x369461:0x7c5,_0x3645fe:0x762,_0x5bc2b8:0x1e2,_0x57533d:0x57a,_0x147004:0x88,_0x175c2a:0x2c7,_0x12ba59:0x158,_0xd442d2:0x6fc,_0x3fd39a:0x7a3,_0x4aebdf:0x737,_0x143e1f:0x818,_0x6f3f78:0x625,_0x467f3c:0x7f3,_0x498531:0x50c,_0x2a1e26:0x4f2,_0x1a37a3:0x4b6,_0x480889:0x383,_0x17961a:0x165,_0x10861c:0x4cf,_0x547f7a:0x7c2,_0x3d8560:0x1a3,_0x3fd723:0xc,_0x2522d4:0x156,_0x5f20f4:0x878,_0x1e4fb9:0x672,_0x3edbe0:0x7ce,_0x133b84:0x754,_0x1f016b:0x4b2,_0x42e38f:0x4c5,_0x46fd7f:0x7f2,_0x33c477:0x154,_0x1a5617:0x853,_0x5d9e53:0x8ab,_0x12caa3:0x5b3,_0x911fd1:0x1b0,_0x20c25d:0x2b7,_0x35cf14:0xc0,_0x1e2111:0x31b,_0xdcca27:0x419,_0x268c86:0x2a5,_0x5a991c:0x7ed,_0x2d5659:0x582,_0x17b46c:0x27a,_0x3f091c:0x477,_0x5c7d0b:0xe4,_0x44d665:0x7b8,_0x94e25d:0x382,_0x1e3a2e:0x95,_0x3c898f:0x85d,_0x2765b6:0x879,_0x163eeb:0x450,_0x2d9145:0x5ad,_0x417698:0x584,_0x5dc14f:0x3b1,_0x4d7dc0:0x1a0,_0x423d36:0x59,_0x2e5b3c:0x458,_0x4b1c3e:0x3ac,_0x5b79d7:0x147,_0x4d7a5f:0xe9,_0x34fcb4:0x448,_0x464466:0x9a1,_0x4c785e:0x2b4,_0x14dd68:0x23e,_0x506e3b:0x4fa,_0x37472a:0x765,_0x3df2a2:0x4b1,_0x1c99ed:0x626,_0x3f82da:0x226,_0x5e7d90:0xab1,_0x1c70e2:0x129,_0x1ed06d:0x4d5,_0xcaec45:0xbfa,_0x3688bd:0x80,_0x1a79e4:0x1b5,_0x26e8e1:0x6c3,_0x3a0621:0xb4c,_0x1356b6:0x96b,_0x3f95a6:0x23e,_0x195c4e:0x348,_0x47b094:0x2b7,_0x32b53c:0x1cc,_0x595dbc:0x50,_0x31b069:0x635,_0x2dbc1a:0x846,_0x45f906:0x613,_0x2c91d6:0x19b,_0x24cbdc:0x59b,_0x31a7c0:0x5de,_0x14162a:0x7ea,_0x4d3515:0x6fd,_0x1ada2a:0xae5,_0xdf5c10:0x9a4,_0xa3edf:0x6fe,_0x3e09e6:0x355,_0x247ee9:0x2f3,_0x507202:0x4d4,_0x2125f9:0x88a,_0x1f7b42:0x560,_0x35d156:0x40c,_0x498019:0x8d4,_0x126e38:0x92c,_0x189daf:0x2d1,_0xe0737b:0x1a3,_0x396235:0x2d7,_0x2d43c0:0x2e4,_0x4dcd58:0x8,_0x5c2c9f:0x273,_0x46c627:0x33,_0xdeaae2:0x15f,_0x3c46a4:0x922,_0x241f51:0xd2,_0x21dffc:0x387,_0x5eeacd:0x727,_0xb038a6:0x25f,_0x22322d:0x548,_0xf6d74b:0x71c,_0x4167f4:0x4d0,_0x2147f8:0x42d,_0x537127:0xbb,_0x21bdc6:0x1f2,_0x4dfe20:0x2d2,_0x490eba:0xb00,_0x2fb5d7:0x944},_0x4f7b4a={_0x2dfa1c:0x258};function _0x406507(_0x3032a3,_0x3b3f06){return _0x3a90bd(_0x3b3f06,_0x3032a3-_0x4f7b4a._0x2dfa1c);}const _0x1f51a5={'MkmeO':function(_0x1554ed,_0x8ba084){return _0x1554ed(_0x8ba084);},'zvCTq':_0x1b5fbc(0x8b8,0x89d)+_0x1b5fbc(0x9bd,_0x2cec18._0x506b74)+_0x1b5fbc(_0x2cec18._0x705934,0x7ed)+_0x406507(0x290,_0x2cec18._0x55e4fc)+_0x1b5fbc(0x3d0,0x4d1)+_0x1b5fbc(0x745,_0x2cec18._0x369461)+_0x1b5fbc(0x4b8,_0x2cec18._0x3645fe),'xnbga':function(_0x4be4f6,_0x413e4a){return _0x4be4f6>_0x413e4a;}};function _0x1b5fbc(_0x4fb924,_0x10495c){return _0x3a90bd(_0x4fb924,_0x10495c-0x6c8);}if(_0x46b1c5===_0x406507(_0x2cec18._0x5bc2b8,0x29a)+_0x406507(0x3d6,_0x2cec18._0x57533d)||_0x46b1c5===_0x406507(_0x2cec18._0x5bc2b8,-_0x2cec18._0x147004)+'ount'){const _0x3216d6=this[_0x406507(_0x2cec18._0x175c2a,0x4c8)][_0x406507(0x352,_0x2cec18._0x12ba59)+'unt'],_0x198d6b=_0x1bd0c5??Math[_0x1b5fbc(0x701,_0x2cec18._0xd442d2)](0x1,this[_0x1b5fbc(_0x2cec18._0x3fd39a,_0x2cec18._0x4aebdf)]['clientCo'+_0x1b5fbc(_0x2cec18._0x143e1f,_0x2cec18._0x6f3f78)]);_0x198d6b>0x0&&this[_0x1b5fbc(0x5cf,_0x2cec18._0x467f3c)+_0x1b5fbc(_0x2cec18._0x498531,0x5d5)+_0x1b5fbc(_0x2cec18._0x2a1e26,_0x2cec18._0x1a37a3)]==null&&(this[_0x406507(_0x2cec18._0x480889,0x221)+_0x406507(_0x2cec18._0x17961a,0x136)+'tedAtMs']=Date[_0x406507(_0x2cec18._0x10861c,0x4ce)]());const _0x598521={};_0x598521[_0x1b5fbc(0x522,_0x2cec18._0x547f7a)+'unt']=_0x198d6b,this[_0x406507(_0x2cec18._0x3d8560,_0x2cec18._0x3fd723)+_0x406507(_0x2cec18._0x2522d4,0x155)](_0x598521);if(_0x198d6b===0x0){this[_0x1b5fbc(_0x2cec18._0x5f20f4,0x96a)+'andshake'+_0x1b5fbc(0x7f9,_0x2cec18._0x1e4fb9)]=![],this[_0x1b5fbc(_0x2cec18._0x3edbe0,_0x2cec18._0x133b84)+'cesRecen'+'t'](),this[_0x1b5fbc(0x338,0x4a3)+_0x406507(_0x2cec18._0x1f016b,_0x2cec18._0x42e38f)+'ewayQueu'+'e']();const _0x506f56=_0x1f51a5['MkmeO'](summarizePendingGatewayMessages,this[_0x1b5fbc(0x997,_0x2cec18._0x46fd7f)+_0x406507(_0x2cec18._0x33c477,0x25a)+_0x1b5fbc(0xacd,_0x2cec18._0x1a5617)])[_0x1b5fbc(0x99d,_0x2cec18._0x5d9e53)+_0x1b5fbc(_0x2cec18._0x12caa3,0x5c1)];shouldScheduleGatewayIdleClose(_0x198d6b,_0x506f56,this[_0x406507(0x348,_0x2cec18._0x911fd1)+_0x406507(_0x2cec18._0x20c25d,_0x2cec18._0x35cf14)]())?(this[_0x1b5fbc(_0x2cec18._0x1e2111,0x4d0)]('client\x20d'+_0x406507(_0x2cec18._0xdcca27,_0x2cec18._0x268c86)+_0x1b5fbc(0x799,_0x2cec18._0x5a991c)+_0x1b5fbc(0x5da,_0x2cec18._0x2d5659)+'losing\x20i'+'dle\x20gate'+_0x406507(_0x2cec18._0x17b46c,0x441)),this['closeGat'+'eway']()):this[_0x1b5fbc(_0x2cec18._0x3f091c,0x4d0)](_0x1f51a5[_0x406507(0x368,_0x2cec18._0x5c7d0b)]);}else{if(shouldRecycleGatewayForFreshClient(_0x3216d6,_0x198d6b,this[_0x1b5fbc(0x515,_0x2cec18._0x44d665)+'yOpen'](),![])){const _0x3f5227=summarizePendingGatewayMessages(this[_0x406507(_0x2cec18._0x94e25d,_0x2cec18._0x175c2a)+_0x406507(_0x2cec18._0x33c477,-_0x2cec18._0x1e3a2e)+_0x1b5fbc(_0x2cec18._0x3c898f,0x853)]);this['log'](_0x1b5fbc(0x517,0x5de)+_0x1b5fbc(0x6df,_0x2cec18._0x2765b6)+_0x406507(_0x2cec18._0x163eeb,_0x2cec18._0x2d9145)+_0x1b5fbc(0x4ee,_0x2cec18._0x417698)+_0x406507(_0x2cec18._0x5dc14f,0x610)+_0x406507(_0x2cec18._0x4d7dc0,-_0x2cec18._0x423d36)+_0x1b5fbc(_0x2cec18._0x2e5b3c,0x533)+'='+_0x3f5227[_0x406507(_0x2cec18._0x4b1c3e,0x461)]+(_0x406507(_0x2cec18._0x5b79d7,_0x2cec18._0x4d7a5f)+'=')+_0x3f5227[_0x406507(0x43b,0x229)+_0x406507(0x151,0x1c0)]+'\x20text='+_0x3f5227[_0x406507(0x157,0x4e)+'t']+_0x406507(0x2e5,_0x2cec18._0x34fcb4)+_0x3f5227['binary']+(_0x1b5fbc(_0x2cec18._0x464466,0x763)+_0x406507(_0x2cec18._0x4c785e,_0x2cec18._0x14dd68)+'d=')+this[_0x406507(_0x2cec18._0x506e3b,_0x2cec18._0x37472a)+'andshake'+_0x1b5fbc(_0x2cec18._0x3df2a2,0x672)]);const _0x446cd2=_0x1f51a5[_0x1b5fbc(0x333,0x523)](prunePendingGatewayMessagesForFreshDemand,this[_0x1b5fbc(0x55f,0x7f2)+_0x1b5fbc(_0x2cec18._0x1c99ed,0x5c4)+_0x1b5fbc(0xab1,0x853)]);_0x1f51a5[_0x406507(0x244,_0x2cec18._0x3f82da)](_0x446cd2[_0x1b5fbc(_0x2cec18._0x5e7d90,0x900)],0x0)&&(this['pendingG'+_0x406507(_0x2cec18._0x33c477,_0x2cec18._0x1c70e2)+_0x406507(0x3e3,_0x2cec18._0x1ed06d)]=_0x446cd2[_0x1b5fbc(_0x2cec18._0xcaec45,0x96b)],this['log'](_0x406507(0xcc,-_0x2cec18._0x3688bd)+'stale\x20ga'+_0x406507(0x508,0x58a)+'eue\x20befo'+_0x406507(0xa7,_0x2cec18._0x1a79e4)+'le\x20dropp'+_0x1b5fbc(0x4d1,_0x2cec18._0x26e8e1)+_0x446cd2['dropped']+'\x20kept='+_0x446cd2[_0x1b5fbc(_0x2cec18._0x3a0621,_0x2cec18._0x1356b6)]['length'])),this[_0x406507(0x6e,_0x2cec18._0x3f95a6)+_0x406507(0x13f,0x13d)](!![]);}if(this[_0x406507(_0x2cec18._0x195c4e,0x18b)+_0x406507(_0x2cec18._0x47b094,0x4e4)]()&&!this[_0x406507(_0x2cec18._0x32b53c,-_0x2cec18._0x595dbc)+'loseBoun'+'daryPend'+_0x1b5fbc(0x65f,0x50c)]){const _0x193b6b={};_0x193b6b[_0x1b5fbc(0x440,0x63c)+_0x1b5fbc(_0x2cec18._0x31b069,_0x2cec18._0x2dbc1a)]=!![],_0x193b6b[_0x406507(0xb6,-_0x2cec18._0x55e4fc)+'r']=null,this[_0x1b5fbc(0x446,_0x2cec18._0x45f906)+_0x406507(0x156,_0x2cec18._0x2c91d6)](_0x193b6b),this['log'](_0x1b5fbc(_0x2cec18._0x24cbdc,_0x2cec18._0x31a7c0)+_0x1b5fbc(_0x2cec18._0x14162a,0x65b)+'connecte'+_0x1b5fbc(_0x2cec18._0x4d3515,0x8fa)+_0x1b5fbc(_0x2cec18._0x1ada2a,_0x2cec18._0xdf5c10)+_0x1b5fbc(_0x2cec18._0xa3edf,0x6ce)+this['elapsedS'+_0x1b5fbc(0x222,0x481)](this[_0x406507(0x1cc,0x36)+_0x406507(0x3d6,_0x2cec18._0x3e09e6)+'AtMs'])+(_0x406507(_0x2cec18._0x247ee9,0x2bf)+_0x1b5fbc(0x85f,0x724)+'d=')+this[_0x406507(_0x2cec18._0x506e3b,0x4fb)+'andshake'+_0x406507(0x202,-0xa6)]);}}this['ensureGa'+_0x406507(0x10b,-0xbb)+_0x406507(_0x2cec18._0x507202,0x56a)]();return;}if(_0x46b1c5===_0x1b5fbc(_0x2cec18._0x2125f9,0x719)+_0x1b5fbc(_0x2cec18._0x1f7b42,0x5ec)+_0x406507(0x185,_0x2cec18._0x35d156)){this[_0x1b5fbc(_0x2cec18._0x498019,0x96a)+_0x1b5fbc(0x54a,0x503)+'Started']=![];const _0x2baa6c={};_0x2baa6c[_0x1b5fbc(_0x2cec18._0x126e38,0x7c2)+_0x406507(0x1b5,_0x2cec18._0x189daf)]=0x0,this[_0x406507(_0x2cec18._0xe0737b,0x15c)+_0x406507(0x156,_0x2cec18._0x396235)](_0x2baa6c),this[_0x406507(_0x2cec18._0x2d43c0,0x259)+_0x406507(_0x2cec18._0x4dcd58,_0x2cec18._0x5c2c9f)+'t'](),this[_0x406507(_0x2cec18._0x46c627,_0x2cec18._0xdeaae2)+_0x1b5fbc(0x727,_0x2cec18._0x3c46a4)+'ewayQueu'+'e']();const _0x2dee41=summarizePendingGatewayMessages(this[_0x1b5fbc(_0x2cec18._0x57533d,_0x2cec18._0x46fd7f)+_0x406507(0x154,-_0x2cec18._0x241f51)+_0x406507(0x3e3,0x5bb)])['connectR'+_0x406507(0x151,_0x2cec18._0x21dffc)];shouldScheduleGatewayIdleClose(0x0,_0x2dee41,this[_0x406507(0x348,0x427)+_0x1b5fbc(0x62e,_0x2cec18._0x5eeacd)]())?(this['log'](_0x1b5fbc(0x773,0x89d)+'isconnec'+_0x406507(0x7,-_0x2cec18._0xb038a6)+_0x406507(0x47c,_0x2cec18._0x22322d)+'e\x20gatewa'+'y'),this[_0x1b5fbc(_0x2cec18._0xf6d74b,0x4de)+_0x406507(0x13f,0x207)]()):(this[_0x1b5fbc(0x28d,_0x2cec18._0x4167f4)](_0x406507(_0x2cec18._0x2147f8,0x639)+'isconnec'+_0x406507(_0x2cec18._0x537127,-_0x2cec18._0x21bdc6)+_0x406507(_0x2cec18._0x4dfe20,0x319)+'ains\x20nee'+_0x1b5fbc(0x52c,0x736)),this['ensureGa'+'tewayCon'+_0x1b5fbc(_0x2cec18._0x490eba,_0x2cec18._0x2fb5d7)]());return;}}[_0x3a90bd(0x436,0x1f4)+_0xb2a5b9(0x10f,0x255)+_0xb2a5b9(-0x12c,0x1c)+'sage'](_0x4d468a){const _0x6d5997={_0x22bf28:0xab,_0x60cd84:0xed,_0x59489b:0x42,_0xfef97d:0x71,_0x4cc0a0:0x1a1,_0x3acf38:0x1bf,_0x315a2e:0x391,_0x5ede9e:0x204,_0x10b05f:0x20c,_0x15c19d:0x256,_0x50a1da:0xb6,_0x4a55ae:0x396,_0x3f18ac:0x170,_0x2385c6:0x58e,_0x491220:0x271,_0x302841:0xdb,_0x541cbb:0x1ee,_0x311da7:0xea,_0x144476:0x9c,_0x1bc953:0xf1,_0x19ad42:0x19d,_0x43be6f:0xe1,_0x488d42:0x35,_0x285e0d:0xf9,_0x2da1b9:0x24b,_0x10ed1a:0x59,_0x1b5ad7:0x24a,_0x5efd09:0xcc,_0x3239d0:0x307,_0x599c99:0x26a,_0x49f984:0x39e,_0x59c357:0x23d,_0x438151:0x2aa,_0x1a37d1:0x270,_0x1830d1:0x3fc,_0x4c70e8:0x1f7,_0x1eaa3a:0x40a,_0x49c107:0x88,_0x150665:0xc6,_0x56c4d1:0x495,_0x598794:0x5d8,_0x336ce0:0x1c7,_0x1193fb:0x47a,_0x65792a:0x291,_0x2e154e:0x3e1,_0x22c5a9:0x209,_0x322eb2:0x3a2,_0x47ef24:0x97},_0x4c36df={_0x1c7a12:0x38e},_0x3fce37={'mADGZ':function(_0x216ae3,_0x2fa824){return _0x216ae3(_0x2fa824);},'fIWNi':_0x591343(0x2ab,0x221)+_0x12f668(-_0x6d5997._0x22bf28,0xdc)+_0x12f668(-0x1a7,_0x6d5997._0x60cd84)+_0x12f668(-_0x6d5997._0x59489b,-_0x6d5997._0xfef97d)+'ct\x20hands'+_0x591343(0x290,_0x6d5997._0x4cc0a0)+_0x591343(_0x6d5997._0x3acf38,_0x6d5997._0x315a2e)+_0x591343(_0x6d5997._0x5ede9e,0x8f)+_0x12f668(-_0x6d5997._0x10b05f,-_0x6d5997._0x15c19d)+_0x591343(0x407,0x187),'ZrUxw':function(_0x46b18a,_0x1bd569){return _0x46b18a+_0x1bd569;}},_0x540f68=_0x4d468a[_0x591343(0x17a,_0x6d5997._0x50a1da)]===_0x591343(_0x6d5997._0x4a55ae,_0x6d5997._0x3f18ac)&&_0x3fce37[_0x591343(_0x6d5997._0x2385c6,0x326)](isConnectHandshakeRequest,_0x4d468a[_0x12f668(-0x31,_0x6d5997._0x491220)]);function _0x591343(_0x541225,_0x524304){return _0xb2a5b9(_0x524304,_0x541225-_0x4c36df._0x1c7a12);}if(this['gatewayC'+_0x12f668(_0x6d5997._0x302841,0x301)+'daryPend'+_0x12f668(-_0x6d5997._0x541cbb,0x29)]){this[_0x591343(0x33c,_0x6d5997._0x311da7)+_0x12f668(-0xbd,_0x6d5997._0x144476)+_0x12f668(-0x23d,-_0x6d5997._0x1bc953)+'e'](_0x4d468a);_0x540f68&&this[_0x591343(_0x6d5997._0x19ad42,-_0x6d5997._0x43be6f)](_0x3fce37[_0x12f668(-0xcc,_0x6d5997._0x488d42)]);return;}const _0x878d17=this[_0x12f668(-0xec,0x87)+_0x12f668(-_0x6d5997._0x285e0d,-_0x6d5997._0x2da1b9)];if(!_0x878d17||_0x878d17['readySta'+'te']!==_0x387a60[_0x591343(0x164,-0xa9)]){this[_0x12f668(-_0x6d5997._0x10ed1a,-0xdf)+'tewayCon'+_0x12f668(_0x6d5997._0x1b5ad7,0x3d7)](),this[_0x591343(0x33c,0x285)+'ingGatew'+'ayMessag'+'e'](_0x4d468a);_0x540f68&&this['log'](_0x3fce37[_0x12f668(-_0x6d5997._0x5efd09,-_0x6d5997._0x3239d0)]);return;}function _0x12f668(_0x18446b,_0x460b65){return _0xb2a5b9(_0x460b65,_0x18446b- -0x39);}if(!this[_0x12f668(0x270,_0x6d5997._0x599c99)+_0x591343(0x1d0,_0x6d5997._0x49f984)+'Started']){if(!_0x540f68){this[_0x591343(0x33c,0x3c7)+'ingGatew'+_0x12f668(-_0x6d5997._0x59c357,-_0x6d5997._0x438151)+'e'](_0x4d468a);return;}this[_0x12f668(_0x6d5997._0x1a37d1,_0x6d5997._0x1830d1)+_0x12f668(-_0x6d5997._0x4c70e8,-_0x6d5997._0x1eaa3a)+_0x12f668(-_0x6d5997._0x49c107,-0x15d)]=!![];const _0x236fd2=parseConnectHandshakeMeta(_0x4d468a[_0x12f668(-0x31,0x267)]);this[_0x591343(_0x6d5997._0x19ad42,-_0x6d5997._0x150665)](_0x3fce37[_0x591343(0x467,0x31b)](_0x591343(0x2ab,_0x6d5997._0x56c4d1)+_0x12f668(_0x6d5997._0x43be6f,0x17d)+_0x591343(_0x6d5997._0x598794,0x781)+_0x12f668(-_0x6d5997._0x336ce0,-0x19c)+'='+this[_0x591343(0x4bf,_0x6d5997._0x1193fb)+_0x591343(_0x6d5997._0x65792a,_0x6d5997._0x2e154e)+_0x12f668(0x159,0x34b)][_0x591343(0x41c,0x373)],formatConnectHandshakeMetaForLog(_0x236fd2)));}this[_0x12f668(-_0x6d5997._0x22c5a9,-_0x6d5997._0x322eb2)+_0x12f668(-0x108,_0x6d5997._0x47ef24)](_0x4d468a);}[_0xb2a5b9(-0x152,-0x20)+_0x3a90bd(0x52,-0x14d)+_0xb2a5b9(0x3c4,0x283)](){const _0x101f13={_0x423525:0x206,_0x3ccd44:0x185,_0x459a3a:0x4,_0x9e5638:0x4fe,_0x244492:0x496,_0x4a088a:0x5aa,_0x5121ed:0x417,_0x5b15a3:0x408,_0x29ea20:0x408,_0x58b5b8:0x1a6,_0x451531:0x92,_0x45d7b1:0x29,_0x272bb6:0x135,_0x32e8de:0x152,_0x178eeb:0x348,_0x83369f:0x177,_0x516f4a:0x206,_0x187992:0x376,_0x11d1f0:0x19,_0x473d16:0x191,_0x5e24ea:0x227,_0x112bdd:0x75,_0x472299:0x229,_0x3ef666:0x120,_0x327a2f:0x34b,_0x4f7c4d:0xd2,_0x44e8e8:0x104,_0x4b22a9:0x46,_0x59a45a:0x120,_0x3afa8e:0x2f1},_0x5cfa3d={_0x44ee2f:0x248,_0xc90d36:0x331,_0x259225:0xa2,_0x57f50d:0x17,_0x4ae153:0x11a,_0x239462:0x16,_0x40fc29:0x251,_0x3d9c71:0x1fe,_0xa31dcb:0x2c9,_0x48d6d3:0xe7,_0x29a541:0x64,_0x4fb844:0x57,_0x2222ac:0xec,_0x2e074b:0x9,_0x1f0143:0x92,_0x531a59:0xf4,_0x299d57:0x9b,_0x25c951:0x2b3,_0x124f63:0x332,_0xf35524:0xce,_0x2de773:0xc3,_0x4244b8:0x1a6,_0xc5cadf:0x48d,_0x74e90a:0x34,_0x808933:0x40c,_0x55fa40:0x259,_0x66e237:0xf1,_0x11f212:0x244,_0xd97bd:0xfe,_0x26c17d:0x1c,_0x488f7a:0x18d,_0xb15280:0x315,_0x9210d0:0x29f,_0x1a0482:0x4c4,_0x1a4f64:0x396,_0x62143d:0xf2,_0x443ff5:0x136,_0x1c1b54:0x8a,_0x414365:0x4e,_0x317f8e:0x170,_0x275579:0x2be,_0x2a5368:0xd4,_0x1d8cb7:0x22b,_0x3a6b29:0x29d,_0x3d6e69:0x4e,_0x458170:0x1d3,_0x2cc08f:0x3ee,_0x8a3f06:0x5ff,_0x490086:0x59,_0x3ac768:0x12d,_0x2868ce:0x35c},_0x4865b2={_0x37fdf1:0x161},_0x1766e1={_0x58b230:0x166},_0x100c89={_0x4bad75:0x1f1,_0x12f8c7:0x845},_0x205d33={_0x185c09:0x326},_0x430cac={_0x5409dd:0x1d0,_0x883be8:0x58b,_0x174ad4:0x1cc,_0x8d9f49:0x345,_0x3cc06e:0x15c,_0x319ae5:0x55c,_0x378989:0x5e3,_0x1527f8:0x64e,_0x1af6ee:0x53e,_0x402596:0xd7,_0x594111:0x33e,_0x2dfdfc:0x2d9,_0x33781a:0x695,_0x59e54a:0x625,_0x347415:0x61f,_0x5c31b9:0x420,_0x56be99:0x48a,_0x5bf113:0x64c,_0x58d30e:0x9cb,_0x576a12:0xb38,_0x5084dc:0x479,_0x22ca05:0x7a9,_0x47c195:0x9bb,_0x388898:0x4da,_0x476de8:0x660,_0x40bcfe:0x35d,_0x42d78c:0x62e,_0x5646d3:0x434,_0x16a166:0x189,_0x2eb78e:0x56e},_0x41e5cc={_0x20a20a:0x45},_0x4f6364={'hByIC':function(_0x420e0c,_0x56f253){return _0x420e0c!==_0x56f253;},'OodqT':function(_0x5101df,_0xcd9090,_0x1ed546){return _0x5101df(_0xcd9090,_0x1ed546);},'JzpDa':_0x359793(_0x101f13._0x423525,0x4b2)+_0x5c069a(0x14f,-0x8d)+_0x5c069a(-_0x101f13._0x3ccd44,-_0x101f13._0x459a3a)+_0x359793(_0x101f13._0x9e5638,0x530)+_0x5c069a(_0x101f13._0x244492,0x30f)+_0x359793(_0x101f13._0x4a088a,0x366)+_0x359793(_0x101f13._0x5121ed,0x423)+_0x359793(_0x101f13._0x5b15a3,0x414),'rnAzB':_0x359793(0x3a2,0x573)};if(this[_0x359793(0x22d,0x37d)]||!this[_0x359793(0x4f3,0x5a4)+'pen']()||this[_0x359793(0x264,_0x101f13._0x29ea20)+_0x5c069a(-_0x101f13._0x58b5b8,-_0x101f13._0x451531)+'g']||this[_0x5c069a(-_0x101f13._0x45d7b1,_0x101f13._0x272bb6)+'yOpen']()||this['gatewayC'+_0x5c069a(-0xe4,_0x101f13._0x32e8de)+'daryPend'+_0x5c069a(-_0x101f13._0x178eeb,-_0x101f13._0x83369f)])return;function _0x5c069a(_0x5cd015,_0x42814f){return _0x3a90bd(_0x5cd015,_0x42814f-_0x41e5cc._0x20a20a);}this['gatewayC'+_0x359793(0x219,0x210)+'g']=!![],this[_0x5c069a(-0xd8,-0x1b3)](_0x359793(_0x101f13._0x516f4a,_0x101f13._0x187992)+_0x5c069a(-0x1b7,-_0x101f13._0x11d1f0)+'start\x20ur'+'l='+this[_0x359793(0x190,0x226)]['gatewayU'+'rl']);const _0x1b7bbc=this[_0x5c069a(0x2cb,0x130)+'bSocket'](this['options'][_0x5c069a(0x6e,_0x101f13._0x473d16)+'rl']);this[_0x5c069a(-_0x101f13._0x5e24ea,-_0x101f13._0x112bdd)+_0x359793(_0x101f13._0x472299,0x349)]=_0x1b7bbc,_0x1b7bbc[_0x359793(_0x101f13._0x3ef666,-_0x101f13._0x11d1f0)](_0x5c069a(-_0x101f13._0x327a2f,-_0x101f13._0x4f7c4d),()=>{const _0x3e0a0f={_0x4f40bb:0x24e};if(this[_0x22ca17(_0x430cac._0x5409dd,-0x32)]||_0x4f6364[_0xd7d2fe(_0x430cac._0x883be8,0x69f)](this['gatewayS'+_0x22ca17(_0x430cac._0x174ad4,-0x75)],_0x1b7bbc)){_0x1b7bbc[_0x22ca17(_0x430cac._0x8d9f49,_0x430cac._0x3cc06e)]();return;}this[_0x22ca17(0x207,0x8)+_0xd7d2fe(0x64a,0x53f)+'g']=![],this[_0x22ca17(0x535,0x374)+_0xd7d2fe(_0x430cac._0x319ae5,_0x430cac._0x378989)+_0x22ca17(0x23d,0x320)]=![],this[_0xd7d2fe(0x695,0x6d7)+_0x22ca17(0x3a0,_0x430cac._0x1527f8)+_0xd7d2fe(_0x430cac._0x1af6ee,0x6fe)+_0x22ca17(_0x430cac._0x402596,_0x430cac._0x594111)]=![],this[_0x22ca17(0x207,0x2e9)+'onnected'+_0xd7d2fe(0x770,0x63c)]=Date[_0x22ca17(0x50a,_0x430cac._0x2dfdfc)]();function _0x22ca17(_0x2aadbd,_0x4826ad){return _0x5c069a(_0x4826ad,_0x2aadbd-_0x3e0a0f._0x4f40bb);}function _0xd7d2fe(_0x584bff,_0x4a5103){return _0x5c069a(_0x4a5103,_0x584bff-0x6dc);}const _0x4adb99={};_0x4adb99[_0xd7d2fe(_0x430cac._0x33781a,_0x430cac._0x59e54a)+'onnected']=!![],_0x4adb99[_0xd7d2fe(0x57f,0x6ab)+'r']=null,this['updateSn'+_0xd7d2fe(_0x430cac._0x347415,_0x430cac._0x5c31b9)](_0x4adb99),this[_0xd7d2fe(0x529,_0x430cac._0x56be99)](_0xd7d2fe(0x637,_0x430cac._0x5bf113)+_0xd7d2fe(_0x430cac._0x58d30e,_0x430cac._0x576a12)+_0x22ca17(_0x430cac._0x5084dc,0x2d7)+'lientDem'+_0xd7d2fe(_0x430cac._0x22ca05,_0x430cac._0x47c195)+this['elapsedS'+_0xd7d2fe(_0x430cac._0x388898,_0x430cac._0x476de8)](this[_0x22ca17(0x3be,_0x430cac._0x40bcfe)+_0xd7d2fe(_0x430cac._0x42d78c,_0x430cac._0x5646d3)+_0x22ca17(0x81,_0x430cac._0x16a166)])),this['flushPen'+_0x22ca17(0x389,0x573)+'wayMessa'+_0x22ca17(0x43d,_0x430cac._0x2eb78e)]();});function _0x359793(_0x831c08,_0x49b8ab){return _0x3a90bd(_0x49b8ab,_0x831c08-0x2f0);}_0x1b7bbc['on'](_0x5c069a(-0x254,-_0x101f13._0x44e8e8),(_0x31a143,_0x1d2a97)=>{const _0x57715d={_0x57b05b:0x204};function _0x5cddff(_0x13c292,_0x467b5c){return _0x359793(_0x467b5c- -_0x205d33._0x185c09,_0x13c292);}function _0x23a582(_0x40d0db,_0x126fb5){return _0x359793(_0x126fb5-_0x57715d._0x57b05b,_0x40d0db);}this[_0x5cddff(-0x3dc,-_0x100c89._0x4bad75)+'tewayMes'+_0x23a582(_0x100c89._0x12f8c7,0x7ce)](_0x31a143,_0x1d2a97);}),_0x1b7bbc[_0x359793(0x120,-_0x101f13._0x4b22a9)](_0x359793(0x29f,0x390),_0x35d332=>{function _0x5daca7(_0x2f8a50,_0x4ac60a){return _0x5c069a(_0x2f8a50,_0x4ac60a-0xad);}function _0x1f02d1(_0x1fd311,_0x1ab7b6){return _0x5c069a(_0x1fd311,_0x1ab7b6-0x5a5);}this[_0x5daca7(-_0x1766e1._0x58b230,-0x106)](_0x1f02d1(0x36c,0x500)+'error:\x20'+String(_0x35d332));}),_0x1b7bbc[_0x359793(_0x101f13._0x59a45a,_0x101f13._0x3afa8e)](_0x4f6364['rnAzB'],(_0x593b12,_0x2495c4)=>{const _0x421fac=summarizePendingGatewayMessages(this[_0x26db2d(0xf0,_0x5cfa3d._0x44ee2f)+_0x26db2d(0x170,0x1a)+_0x305567(_0x5cfa3d._0xc90d36,_0x5cfa3d._0x259225)])[_0x305567(0x389,0x175)+_0x26db2d(-0x49,_0x5cfa3d._0x57f50d)];function _0x26db2d(_0x137edd,_0x479d66){return _0x5c069a(_0x137edd,_0x479d66-0xd9);}const _0x384b2b=this[_0x305567(_0x5cfa3d._0x4ae153,0xfa)+_0x305567(0x2b3,0x141)+'daryPend'+_0x305567(-_0x5cfa3d._0x239462,_0x5cfa3d._0x40fc29)]&&_0x4f6364[_0x26db2d(0x1de,_0x5cfa3d._0x3d9c71)](shouldKeepGatewayConnected,this['snapshot'][_0x305567(0x2a0,_0x5cfa3d._0xa31dcb)+_0x305567(0x103,0x3c)],_0x421fac);this[_0x26db2d(-_0x5cfa3d._0x48d6d3,_0x5cfa3d._0x29a541)+_0x26db2d(-0x4d,_0x5cfa3d._0x4fb844)]===_0x1b7bbc&&(this[_0x305567(_0x5cfa3d._0x2222ac,-_0x5cfa3d._0x2e074b)+'ocket']=null);function _0x305567(_0x381a50,_0x4030d8){return _0x5c069a(_0x4030d8,_0x381a50-_0x4865b2._0x37fdf1);}this[_0x26db2d(-0x82,_0x5cfa3d._0x1f0143)+_0x26db2d(_0x5cfa3d._0x531a59,0x47)+'g']=![],this['gatewayH'+_0x26db2d(-0x33,-0xa7)+_0x26db2d(_0x5cfa3d._0x299d57,0xc8)]=![],this[_0x305567(0x11a,-0x126)+_0x305567(_0x5cfa3d._0x25c951,0x7e)+'daryPend'+'ing']=![],this['gatewayC'+_0x305567(0x324,0x1a1)+_0x26db2d(_0x5cfa3d._0x124f63,0x16d)]=null,this[_0x26db2d(_0x5cfa3d._0xf35524,_0x5cfa3d._0x2de773)+_0x305567(_0x5cfa3d._0x4244b8,0x347)+_0x26db2d(-0x1f4,-0x126)+_0x26db2d(_0x5cfa3d._0xc5cadf,0x24d)](_0x26db2d(-0x124,_0x5cfa3d._0x74e90a)+'disconne'+_0x305567(_0x5cfa3d._0x808933,_0x5cfa3d._0x55fa40)+'e='+_0x593b12),this[_0x305567(_0x5cfa3d._0x66e237,_0x5cfa3d._0x11f212)+_0x26db2d(_0x5cfa3d._0xd97bd,_0x5cfa3d._0x26c17d)]({'gatewayConnected':![],'lastError':_0x593b12===0x3e8||_0x384b2b?this[_0x26db2d(0x18f,_0x5cfa3d._0x488f7a)][_0x26db2d(-_0x5cfa3d._0xb15280,-0x84)+'r']:'gateway\x20'+_0x305567(_0x5cfa3d._0x9210d0,_0x5cfa3d._0x1a0482)+(_0x2495c4[_0x26db2d(_0x5cfa3d._0x1a4f64,0x2be)]()||_0x593b12)}),this[_0x305567(-0x52,_0x5cfa3d._0x62143d)](_0x26db2d(-_0x5cfa3d._0x443ff5,0x34)+_0x305567(-_0x5cfa3d._0x1c1b54,-0x307)+_0x305567(0x40c,0x502)+'e='+_0x593b12+_0x305567(_0x5cfa3d._0x414365,_0x5cfa3d._0x317f8e)+(_0x2495c4[_0x26db2d(0x405,_0x5cfa3d._0x275579)]()||_0x26db2d(-0x6c,-_0x5cfa3d._0x2a5368))+(_0x305567(0x7e,_0x5cfa3d._0x1d8cb7)+_0x26db2d(0x61f,0x3a1)+_0x26db2d(_0x5cfa3d._0x3a6b29,_0x5cfa3d._0x3d6e69))+this[_0x305567(0x497,0x613)+_0x305567(-0xa1,0xbe)](this['clientDe'+_0x26db2d(-_0x5cfa3d._0x458170,0x2b)+_0x305567(-0x6c,0x106)]));if(_0x384b2b){this['log'](_0x4f6364[_0x305567(_0x5cfa3d._0x2cc08f,_0x5cfa3d._0x8a3f06)]),this[_0x26db2d(0x28b,0xf7)+_0x305567(_0x5cfa3d._0x490086,_0x5cfa3d._0x3ac768)+_0x26db2d(0x257,0x39a)]();return;}this[_0x26db2d(0x3e9,0x177)+_0x26db2d(0x5da,_0x5cfa3d._0x2868ce)+_0x26db2d(0x230,0x142)]();});}[_0x3a90bd(0x5b,-0x1bb)+_0x3a90bd(-0x220,0x15)+'sage'](_0x1d5742,_0x1631c5){const _0x3111f={_0x120842:0x74f,_0x527d4b:0x799,_0x4ba121:0x832,_0x1814c5:0x82d,_0x16d5db:0x1bd,_0x24d3a1:0x550,_0x1717b5:0x38d,_0x1b2f27:0x263,_0xcc5fd8:0x23b,_0x9d1c39:0x1c7,_0x25c1c0:0x1db,_0x15aef9:0x2dc,_0x5a5926:0x4d5},_0x5cd41e={_0x363049:0x21e},_0x46f6e5={_0x24ef39:0x70f};function _0x385989(_0x3cd2ff,_0x48697f){return _0x3a90bd(_0x48697f,_0x3cd2ff-_0x46f6e5._0x24ef39);}const _0x49dd4a={'xZTGE':function(_0x788cd8,_0x5b9272){return _0x788cd8(_0x5b9272);},'eRKlD':function(_0x396e4b,_0x22386e){return _0x396e4b(_0x22386e);}},_0x57b1f0=this[_0x385989(_0x3111f._0x120842,0x7be)+_0x385989(_0x3111f._0x527d4b,_0x3111f._0x4ba121)];if(!_0x57b1f0||_0x57b1f0[_0x385989(0x716,_0x3111f._0x1814c5)+'te']!==_0x387a60[_0x50162c(-0x41,-0x13)])return;if(_0x1631c5){_0x57b1f0['send'](normalizeBinary(_0x1d5742));return;}const _0x37ecd6=_0x49dd4a[_0x50162c(-_0x3111f._0x16d5db,-0x16)](normalizeText,_0x1d5742);function _0x50162c(_0x2f453f,_0x93993e){return _0x3a90bd(_0x2f453f,_0x93993e-_0x5cd41e._0x363049);}if(_0x37ecd6==null)return;const _0x39b637=parsePairingRequestFromError(_0x37ecd6);_0x39b637&&this['addPendi'+_0x385989(0x9bc,0xbc8)+_0x385989(_0x3111f._0x24d3a1,0x42f)](_0x39b637);const _0x29c6ed=parsePairResolvedEvent(_0x37ecd6);_0x29c6ed&&this[_0x50162c(0x252,_0x3111f._0x1717b5)+'RequestR'+'esolved'](_0x29c6ed[_0x50162c(_0x3111f._0x1b2f27,_0x3111f._0xcc5fd8)+'d'],_0x29c6ed[_0x50162c(_0x3111f._0x9d1c39,0x187)]);const _0x267d1d=_0x49dd4a[_0x50162c(_0x3111f._0x25c1c0,_0x3111f._0x15aef9)](parseResponseEnvelopeMeta,_0x37ecd6);_0x267d1d&&this['observeG'+_0x50162c(0x161,0xf4)+'sponse'](_0x267d1d),_0x57b1f0[_0x385989(0x650,_0x3111f._0x5a5926)](_0x37ecd6);}[_0xb2a5b9(0x324,0x203)+_0xb2a5b9(0x1d9,0xfd)+_0xb2a5b9(-0x1c0,-0x253)+_0xb2a5b9(0x2eb,0x1b1)](){const _0x2e4069={_0x25397c:0x191,_0x5b6c90:0x2ff,_0x483c32:0x307,_0x48ad54:0x40d,_0x557bce:0x1a,_0x5b9363:0x5c4,_0x16ebb4:0x80d,_0x59e0b1:0x43a,_0x5f556e:0x63e,_0x51f0c5:0x53,_0x84cae5:0x1d5,_0x1d1007:0x322,_0x664039:0x200,_0x30d172:0x520,_0xcd9509:0x417,_0x448c6c:0x251,_0x487054:0x483,_0x1d0052:0x3bd,_0x47ba13:0x65a,_0x44d1b8:0x2d2,_0x24688f:0x62d,_0x49892b:0x652,_0x447910:0x6a9,_0x590df3:0x526,_0x1e92e1:0x9e,_0x531172:0x45a,_0x1145ef:0x5ac,_0x418677:0x24c,_0x39fb70:0x5,_0x34df2a:0x86,_0x4b26cf:0x18c,_0x1e3bb2:0x359,_0x328747:0x487},_0x3f45d4={_0xce3de0:0x24b},_0x24c3a3={_0x294d79:0x406};function _0x585c20(_0x2a0473,_0x560232){return _0x3a90bd(_0x560232,_0x2a0473-_0x24c3a3._0x294d79);}const _0x3ce441={'jrzUr':function(_0x15ccfe,_0x10bf4c){return _0x15ccfe(_0x10bf4c);},'ohLQB':function(_0x536520,_0x1957c0){return _0x536520>_0x1957c0;},'cdjDL':function(_0x1c5d99,_0x573d5e){return _0x1c5d99!==_0x573d5e;}},_0x2aea1a=this[_0x44fcb4(_0x2e4069._0x25397c,_0x2e4069._0x5b6c90)+_0x585c20(0x33f,_0x2e4069._0x483c32)];if(!_0x2aea1a||_0x2aea1a[_0x585c20(_0x2e4069._0x48ad54,0x50f)+'te']!==_0x387a60[_0x44fcb4(_0x2e4069._0x557bce,0x294)])return;const _0x23345d=[],_0x4ae479=_0x3ce441[_0x585c20(_0x2e4069._0x5b9363,_0x2e4069._0x16ebb4)](dedupePendingGatewayMessages,this[_0x44fcb4(0x375,_0x2e4069._0x59e0b1)+'atewayMe'+'ssages']);_0x3ce441['ohLQB'](_0x4ae479[_0x585c20(_0x2e4069._0x5f556e,0x5a7)],0x0)&&this[_0x44fcb4(_0x2e4069._0x51f0c5,_0x2e4069._0x84cae5)]('dropped\x20'+_0x585c20(0x2c1,0xab)+_0x585c20(_0x2e4069._0x1d1007,0x14d)+_0x44fcb4(0x9e,_0x2e4069._0x664039)+_0x585c20(_0x2e4069._0x30d172,_0x2e4069._0xcd9509)+_0x44fcb4(0x4a2,0x4ac)+_0x44fcb4(0x286,_0x2e4069._0x448c6c)+_0x44fcb4(0x246,0x69)+_0x4ae479[_0x44fcb4(_0x2e4069._0x487054,_0x2e4069._0x1d0052)]+_0x585c20(0x699,_0x2e4069._0x47ba13)+_0x4ae479['messages'][_0x44fcb4(_0x2e4069._0x44d1b8,0x481)]);this[_0x585c20(0x530,_0x2e4069._0x24688f)+'atewayMe'+_0x585c20(0x591,_0x2e4069._0x49892b)]=[];for(const _0x1b7da6 of _0x4ae479[_0x585c20(_0x2e4069._0x447910,_0x2e4069._0x590df3)]){if(!this['gatewayH'+_0x585c20(0x241,_0x2e4069._0x1e92e1)+_0x585c20(0x3b0,0x628)]){if(_0x3ce441[_0x44fcb4(_0x2e4069._0x531172,_0x2e4069._0x1145ef)](_0x1b7da6[_0x44fcb4(0x30,0x2c9)],_0x44fcb4(_0x2e4069._0x418677,_0x2e4069._0x39fb70))||!isConnectHandshakeRequest(_0x1b7da6['text'])){_0x23345d['push'](_0x1b7da6);continue;}this[_0x44fcb4(0x4ed,0x6e7)+_0x44fcb4(_0x2e4069._0x34df2a,_0x2e4069._0x4b26cf)+_0x585c20(0x3b0,_0x2e4069._0x1e3bb2)]=!![];}this[_0x44fcb4(0x74,0x287)+_0x585c20(0x330,0x1ed)](_0x1b7da6);}function _0x44fcb4(_0x2bfb94,_0xdea1c1){return _0x3a90bd(_0xdea1c1,_0x2bfb94-_0x3f45d4._0xce3de0);}this[_0x44fcb4(0x375,_0x2e4069._0x328747)+'atewayMe'+'ssages']=_0x23345d;}[_0xb2a5b9(-0x35d,-0x1d0)+_0x3a90bd(-0x185,-0xd6)](_0x5e2c57){const _0x4eaa43={_0x1b8a76:0xfc,_0x4ba722:0x109,_0x12f8d1:0x62b,_0xd5763b:0x2d8,_0x4c204c:0x4ad,_0x5411a0:0x559,_0x5dcf48:0x25d,_0x4428c9:0x6bd,_0x5d6674:0x91,_0x331d80:0x198,_0x49c56a:0xfa,_0xdd6b79:0x1cf,_0x1fc6de:0x13e,_0x16dc18:0x42c,_0x4363c0:0x6eb,_0x1612a8:0x376,_0x2b6c7f:0x5a0,_0xd2cd50:0x110,_0xdb5325:0x59d,_0x31a088:0x4b1,_0xe0deb0:0xdc,_0x2bbc0d:0xb3,_0x9dbc74:0x8e7};function _0xd01c64(_0x2cfe31,_0x3c060d){return _0xb2a5b9(_0x3c060d,_0x2cfe31- -0x49);}const _0x575ce1={'UaJpK':function(_0x4acf99,_0x54f283){return _0x4acf99!==_0x54f283;},'pWAMA':function(_0x34a7b7,_0x72b303){return _0x34a7b7===_0x72b303;},'mBLdw':function(_0x12a658,_0x496ec1,_0x507f18){return _0x12a658(_0x496ec1,_0x507f18);},'aJqbu':function(_0x106128,_0x577b28){return _0x106128(_0x577b28);}},_0xf5e3e5=this[_0xd01c64(-_0x4eaa43._0x1b8a76,0xca)+_0xd01c64(-_0x4eaa43._0x4ba722,0x146)];if(!_0xf5e3e5||_0x575ce1[_0x2e6b79(0x8a3,0x92e)](_0xf5e3e5[_0x2e6b79(_0x4eaa43._0x12f8d1,0x43a)+'te'],_0x387a60[_0xd01c64(-0x273,-_0x4eaa43._0xd5763b)])){this[_0x2e6b79(0x5cb,_0x4eaa43._0x4c204c)+_0xd01c64(-0xcd,-0x2d4)+'ayMessag'+'e'](_0x5e2c57);return;}function _0x2e6b79(_0x10ae73,_0x191072){return _0xb2a5b9(_0x191072,_0x10ae73-0x61d);}if(_0x575ce1[_0x2e6b79(_0x4eaa43._0x5411a0,0x43c)](_0x5e2c57[_0xd01c64(-_0x4eaa43._0x5dcf48,-0x1a7)],_0xd01c64(-0x41,0x1c5))){const _0x555c94=_0x575ce1[_0x2e6b79(_0x4eaa43._0x4428c9,0x62a)](patchConnectRequestGatewayAuth,_0x5e2c57['text'],readOpenClawInfo()),_0x341ea3=_0x575ce1['aJqbu'](parseConnectHandshakeMeta,_0x555c94[_0x2e6b79(0x625,0x836)]);_0x341ea3&&(_0x341ea3['id']&&this[_0xd01c64(-0x1cf,-_0x4eaa43._0x5d6674)+_0xd01c64(_0x4eaa43._0x331d80,_0x4eaa43._0x49c56a)+'andshake'+'s']['set'](_0x341ea3['id'],{'method':_0x341ea3[_0xd01c64(_0x4eaa43._0xdd6b79,_0x4eaa43._0x1fc6de)],'startedAtMs':Date['now'](),'slowWarningLogged':![]}),this[_0x2e6b79(_0x4eaa43._0x16dc18,0x36c)](_0x2e6b79(0x53a,_0x4eaa43._0x4363c0)+_0x2e6b79(0x5c6,_0x4eaa43._0x1612a8)+_0x2e6b79(0x5c3,_0x4eaa43._0x2b6c7f)+_0xd01c64(-0x17f,-0x273)+'d'+formatConnectHandshakeMetaForLog(_0x341ea3)));_0x555c94[_0x2e6b79(0x906,0x9fe)]&&this[_0xd01c64(-0x23a,-0x461)](_0xd01c64(-0x12c,-_0x4eaa43._0xd2cd50)+'connect\x20'+_0x2e6b79(0x501,_0x4eaa43._0xdb5325)+'ched\x20mod'+_0x2e6b79(_0x4eaa43._0x31a088,0x33f)+'rd');_0xf5e3e5['send'](_0x555c94[_0xd01c64(-0x41,_0x4eaa43._0xe0deb0)]);return;}_0xf5e3e5[_0xd01c64(-0x101,-_0x4eaa43._0x2bbc0d)](_0x5e2c57[_0x2e6b79(0x8f4,_0x4eaa43._0x9dbc74)]);}[_0xb2a5b9(-0x97,0x6d)+'wayReque'+'st'](_0x4fe164,_0x1b9821){const _0x193638={_0x3b59dc:0x229,_0x59bc1f:0x17e,_0x86a3a6:0x4fd,_0x2d3bf1:0x289,_0x3d37ee:0x9e,_0x5259e7:0x3f1,_0x27d91a:0x624,_0x369cc7:0x192},_0x2aed0c={'ubIPI':function(_0xd3020c){return _0xd3020c();},'dPQBD':_0x4f9b2f(_0x193638._0x3b59dc,_0x193638._0x59bc1f)};function _0x4f9b2f(_0x453f49,_0xa0d751){return _0x3a90bd(_0x453f49,_0xa0d751-0x17d);}const _0x10e9a8=JSON[_0x4f9b2f(_0x193638._0x86a3a6,0x3fa)+'y']({'type':_0x4f9b2f(0x1b1,0x1fb),'id':_0x4f9b2f(0x64,_0x193638._0x2d3bf1)+_0x2aed0c[_0x4f9b2f(0x2b2,0x422)](_0x35cff6),'method':_0x4fe164,'params':_0x1b9821}),_0xe76781={};_0xe76781[_0x4f9b2f(0xc4,-_0x193638._0x3d37ee)]=_0x2aed0c['dPQBD'];function _0x24fd38(_0x268dc0,_0x5c3935){return _0x3a90bd(_0x268dc0,_0x5c3935-0x3d6);}_0xe76781[_0x24fd38(_0x193638._0x5259e7,0x3d7)]=_0x10e9a8,this[_0x4f9b2f(0x132,0x371)+_0x24fd38(0x60c,_0x193638._0x27d91a)+_0x4f9b2f(0x6c,_0x193638._0x369cc7)+'sage'](_0xe76781);}[_0x3a90bd(-0x2b0,-0x1ea)+_0x3a90bd(-0x2be,-0x119)](_0xa330e0=![]){const _0x2093e1={_0x417e88:0x2d7,_0x2a91e7:0x561,_0x367e26:0x50a,_0x2d187c:0x437,_0x4147fa:0x565,_0x42a9c0:0x46c,_0x32c12e:0x69e,_0x36ab28:0x235,_0x56e3eb:0x343,_0x80df6a:0x1fe,_0xde2cb6:0x4b6,_0x5d5464:0x361,_0x40ad01:0x348,_0x54e378:0x7a,_0x30ee4d:0x4a3,_0x1c43b7:0x4d0,_0x5b4051:0x549,_0x4aa0c9:0x16f,_0x504260:0x251,_0x3875f8:0x361,_0x306bda:0x71,_0x17fb41:0x25b,_0x4b921d:0x1e1,_0x30730e:0x14a,_0x48fbe5:0x488,_0x393d9f:0x2f,_0x1f4630:0x64f,_0x2e1682:0x206,_0x4dd2a0:0x35f,_0x1f6f37:0x194,_0x703e86:0x98,_0x1c7286:0x6a0,_0x4c39dd:0x46b,_0x3bff14:0x107,_0x3a8459:0x464,_0x2eb64d:0x4d0,_0x4c1e78:0x2b5},_0x608c59={_0x195e14:0x254},_0x3397d9={_0xa0f1d0:0x542};this[_0x442945(0x537,0x492)+_0x102341(0x4a2,0x48d)+'r']&&(clearTimeout(this[_0x102341(_0x2093e1._0x417e88,0x1a4)+_0x102341(_0x2093e1._0x2a91e7,0x48d)+'r']),this[_0x442945(0x2ae,0x492)+_0x102341(0x2a3,0x48d)+'r']=null);const _0x237723=summarizePendingGatewayMessages(this['pendingG'+_0x442945(0x668,0x43e)+'ssages'])[_0x102341(_0x2093e1._0x367e26,_0x2093e1._0x2d187c)+'equests'],_0x1623e1=_0xa330e0&&this['isRelayO'+_0x102341(_0x2093e1._0x4147fa,0x37d)]()&&shouldKeepGatewayConnected(this[_0x102341(_0x2093e1._0x42a9c0,0x2c3)][_0x442945(_0x2093e1._0x32c12e,0x63c)+_0x442945(_0x2093e1._0x36ab28,0x49f)],_0x237723),_0x259354=this[_0x442945(0x654,0x488)+'ocket'];this[_0x442945(0x9b4,0x7e4)+_0x442945(0x189,0x37d)+_0x102341(_0x2093e1._0x56e3eb,_0x2093e1._0x80df6a)]=![],this['gatewayC'+_0x442945(0x757,0x6c0)+'AtMs']=null;function _0x442945(_0x30a3a3,_0x3e7052){return _0x3a90bd(_0x30a3a3,_0x3e7052-_0x3397d9._0xa0f1d0);}function _0x102341(_0x161d1d,_0xeada30){return _0x3a90bd(_0x161d1d,_0xeada30-_0x608c59._0x195e14);}if(!_0x259354){this[_0x442945(0x602,_0x2093e1._0xde2cb6)+_0x102341(0x4c5,_0x2093e1._0x5d5464)+'daryPend'+'ing']=![],this['gatewayC'+_0x442945(_0x2093e1._0x40ad01,0x46b)+'g']=![];_0x1623e1&&this['ensureGa'+_0x102341(-_0x2093e1._0x54e378,0x107)+_0x102341(_0x2093e1._0x30ee4d,_0x2093e1._0x1c43b7)]();return;}if(_0x259354[_0x442945(_0x2093e1._0x5b4051,0x549)+'te']===_0x387a60[_0x102341(_0x2093e1._0x4aa0c9,0x3e4)]){this[_0x102341(_0x2093e1._0x504260,0x1c8)+_0x102341(0x217,_0x2093e1._0x3875f8)+_0x102341(0xb8,_0x2093e1._0x306bda)+_0x102341(0x100,0x98)]=_0x1623e1;return;}if(_0x259354[_0x102341(0x1dc,_0x2093e1._0x17fb41)+'te']===_0x387a60[_0x102341(_0x2093e1._0x4b921d,_0x2093e1._0x30730e)]){this[_0x442945(0x5fe,_0x2093e1._0x48fbe5)+'ocket']===_0x259354&&(this['gatewayS'+_0x102341(-0x17,0x18d)]=null);this[_0x102341(_0x2093e1._0x393d9f,0x1c8)+_0x442945(0x579,_0x2093e1._0x1f4630)+_0x442945(_0x2093e1._0x2e1682,_0x2093e1._0x4dd2a0)+_0x102341(_0x2093e1._0x1f6f37,_0x2093e1._0x703e86)]=![],this[_0x442945(_0x2093e1._0x1c7286,_0x2093e1._0xde2cb6)+_0x442945(0x54e,_0x2093e1._0x4c39dd)+'g']=![];_0x1623e1&&this['ensureGa'+_0x102341(0xea,_0x2093e1._0x3bff14)+_0x102341(_0x2093e1._0x3a8459,_0x2093e1._0x2eb64d)]();return;}this[_0x442945(0x36b,_0x2093e1._0xde2cb6)+'loseBoun'+'daryPend'+_0x442945(_0x2093e1._0x4c1e78,0x386)]=_0x1623e1,_0x259354['close']();}['createWe'+_0xb2a5b9(0x1f9,0x148)](_0x27cb65){const _0x12aaf3={_0x1dc105:0x28b,_0x227809:0x41b,_0x2af68a:0x254,_0xbef70a:0x5f4,_0x58e761:0x4a4},_0x13f721={_0x2b01ee:0x169};if(this[_0x332bb0(0x9,-0x145)][_0x22aced(0x3c5,_0x12aaf3._0x1dc105)+_0x22aced(_0x12aaf3._0x227809,0x337)])return this['options'][_0x332bb0(_0x12aaf3._0x2af68a,-0x45)+_0x22aced(0x41b,_0x12aaf3._0xbef70a)](_0x27cb65);function _0x332bb0(_0x140997,_0x5bb615){return _0x3a90bd(_0x5bb615,_0x140997-_0x13f721._0x2b01ee);}const _0x3c3a80={};function _0x22aced(_0x521e51,_0x588acd){return _0x3a90bd(_0x588acd,_0x521e51-0x2da);}return _0x3c3a80[_0x22aced(_0x12aaf3._0x58e761,0x6c8)+'ad']=0x19*0x400*0x400,new _0x387a60(_0x27cb65,_0x3c3a80);}[_0x3a90bd(-0x22b,-0x188)+'atewayRe'+_0xb2a5b9(-0xa4,-0x35)](_0xabf846){const _0x2db686={_0x1c3427:0xd8,_0x2d03f2:0x456,_0x145b0d:0x17e,_0x576aaa:0x366,_0x5a83ce:0x32e,_0x9d6890:0x745,_0x1248de:0x588,_0x3940f1:0x4b7,_0x113a71:0x50d,_0xb06e98:0x4f7,_0x5914c1:0x65e,_0x50d576:0x717,_0x3cc993:0x596,_0x11af7e:0x567,_0x3d0b88:0x437,_0x46ab63:0x5d1,_0x4e9ef8:0x301,_0x5b7aa3:0x572,_0x4394f9:0x761,_0xd77e01:0x4bc,_0x22482d:0x557,_0xa8ee5c:0x1e2,_0x2a5d88:0x2ef,_0x353f3c:0x495,_0x100305:0x791,_0x375ae8:0x70a,_0x4ce589:0x54b,_0x3b31bd:0x6f7,_0x351d77:0x8ab,_0x533d2c:0x528,_0x4491ab:0x739,_0xf7e2cf:0x5fd},_0x2ca247={};function _0x40bf02(_0x1a7021,_0xec4c91){return _0x3a90bd(_0x1a7021,_0xec4c91-0x4f3);}_0x2ca247['nUsaa']=_0x40bf02(_0x2db686._0x1c3427,0x301),_0x2ca247[_0x40bf02(0x57a,_0x2db686._0x2d03f2)]=function(_0x25b71a,_0x2edb5c){return _0x25b71a-_0x2edb5c;};const _0xed770e=_0x2ca247,_0x18d073=this[_0x40bf02(_0x2db686._0x145b0d,_0x2db686._0x576aaa)+'ConnectH'+_0x40bf02(0x38a,_0x2db686._0x5a83ce)+'s'][_0xa1179(_0x2db686._0x9d6890,_0x2db686._0x1248de)](_0xabf846['id']);function _0xa1179(_0x4989fc,_0x13e409){return _0x3a90bd(_0x4989fc,_0x13e409-0x69a);}if(!_0x18d073)return;this[_0xa1179(_0x2db686._0x3940f1,_0x2db686._0x113a71)+_0xa1179(0x606,0x874)+'andshake'+'s']['delete'](_0xabf846['id']);const _0x52b768=_0xabf846['ok']?_0x40bf02(_0x2db686._0xb06e98,_0x2db686._0x5914c1):_0xa1179(0x5c4,_0x2db686._0x50d576)+_0xa1179(_0x2db686._0x3cc993,_0x2db686._0x11af7e)+_0x40bf02(_0x2db686._0x3d0b88,0x536)+(_0xabf846[_0x40bf02(0x65a,_0x2db686._0x46ab63)+'e']??_0x40bf02(0x18f,_0x2db686._0x4e9ef8))+(_0x40bf02(0x438,_0x2db686._0x5b7aa3)+_0xa1179(0x7aa,0x8cf))+(_0xabf846[_0xa1179(_0x2db686._0x4394f9,_0x2db686._0xd77e01)+_0x40bf02(_0x2db686._0x22482d,0x7cd)]??_0xed770e['nUsaa']);this[_0x40bf02(_0x2db686._0xa8ee5c,0x2fb)](_0xa1179(0x420,0x5b0)+_0x40bf02(_0x2db686._0x2a5d88,_0x2db686._0x353f3c)+_0x40bf02(_0x2db686._0x100305,_0x2db686._0x375ae8)+_0xa1179(0x515,0x5d0)+_0xabf846['id']+_0x40bf02(_0x2db686._0x4ce589,0x437)+_0x18d073[_0xa1179(_0x2db686._0x3b31bd,_0x2db686._0x351d77)]+(_0x40bf02(_0x2db686._0x533d2c,0x427)+'Ms=')+_0xed770e[_0xa1179(_0x2db686._0x4491ab,_0x2db686._0xf7e2cf)](Date[_0x40bf02(0x8f0,0x76a)](),_0x18d073[_0x40bf02(0x679,0x60a)+'tMs'])+'\x20'+_0x52b768);}[_0xb2a5b9(-0x153,-0x54)+_0xb2a5b9(-0x1b3,0x7)+'nectHand'+_0xb2a5b9(0x366,0x136)](_0x239dad){const _0x5bb56e={_0x5d2050:0xe1,_0xa9665:0x187,_0x3252f1:0x278,_0xcfedf1:0x642,_0x27a7db:0xfc,_0x40a5b8:0x248,_0x52e995:0x3bb,_0x219f4d:0x78c,_0x212789:0x1b8,_0x25a621:0x4b7,_0xceb492:0x593,_0x73aefd:0x51d,_0x5aed7b:0x11a,_0x52266a:0x41d,_0x9fb750:0x119,_0x5488e2:0x30c,_0x17dc1e:0x4db},_0xd14cc8={_0x365c4e:0x29f},_0xb60d34={};_0xb60d34[_0x25ecf9(0x407,0x525)]=function(_0x1ba781,_0x596027){return _0x1ba781===_0x596027;};function _0xffe81d(_0xabd8eb,_0x3d2133){return _0xb2a5b9(_0x3d2133,_0xabd8eb-_0xd14cc8._0x365c4e);}const _0x503a34=_0xb60d34;if(_0x503a34[_0xffe81d(0x256,0x4b7)](this[_0xffe81d(0x119,0x18e)+_0xffe81d(0x480,0x413)+_0xffe81d(_0x5bb56e._0x5d2050,_0x5bb56e._0xa9665)+'s'][_0xffe81d(_0x5bb56e._0x3252f1,0x30b)],0x0))return;for(const [_0x14dcdb,_0x2090a5]of this[_0x25ecf9(0x4f4,0x3e8)+'ConnectH'+_0x25ecf9(_0x5bb56e._0xcfedf1,0x3b0)+'s'][_0xffe81d(0x2cb,0x20e)]()){this[_0x25ecf9(_0x5bb56e._0x27a7db,0x37d)]('gateway\x20'+_0xffe81d(_0x5bb56e._0x40a5b8,_0x5bb56e._0x52e995)+_0x25ecf9(0x5db,_0x5bb56e._0x219f4d)+_0xffe81d(0x3ae,_0x5bb56e._0x212789)+_0x25ecf9(0x64b,0x4ab)+_0x14dcdb+_0xffe81d(0x1ea,-0x3)+_0x2090a5[_0xffe81d(_0x5bb56e._0x25a621,0x365)]+('\x20elapsed'+_0xffe81d(_0x5bb56e._0xceb492,0x726))+(Date[_0xffe81d(_0x5bb56e._0x73aefd,0x36e)]()-_0x2090a5[_0xffe81d(0x3bd,_0x5bb56e._0x5aed7b)+_0x25ecf9(0x8bb,0x841)])+_0x25ecf9(0x3e7,_0x5bb56e._0x52266a)+_0x239dad);}function _0x25ecf9(_0x2a21f4,_0x3caa7e){return _0xb2a5b9(_0x2a21f4,_0x3caa7e-0x56e);}this[_0xffe81d(_0x5bb56e._0x9fb750,_0x5bb56e._0x5488e2)+_0x25ecf9(_0x5bb56e._0x17dc1e,0x74f)+'andshake'+'s']['clear']();}[_0xb2a5b9(-0x99,0x60)+_0xb2a5b9(0x10,0x289)+_0x3a90bd(-0x7d,-0x194)](){const _0x22c62c={_0x189fb9:0x41c,_0x25cce9:0x394,_0xa55c5:0x485,_0x285acb:0x21b,_0x3538fe:0xe,_0x57ce6d:0x276,_0x292fb9:0x6c,_0x5e9326:0x1b7,_0x862c42:0xd7,_0xf03e7a:0x24c,_0x43d248:0x19e,_0x5b659e:0xf3,_0x55332c:0xf5,_0x5554d6:0x1ab},_0x4dada3={_0x108f65:0x72e,_0x5e4a7e:0x349},_0x3a1c43={_0x49cee6:0x3e},_0xe6ce1={_0x1c881c:0x14b};function _0x3f6ca8(_0x3695a0,_0x2beb35){return _0xb2a5b9(_0x3695a0,_0x2beb35-_0xe6ce1._0x1c881c);}if(this[_0x3f6ca8(-0x140,0x8f)]||this[_0x3f6ca8(0x260,_0x22c62c._0x189fb9)+_0x5aab4c(-_0x22c62c._0x25cce9,-0x1db)])return;const _0x3ca806=this['options'][_0x3f6ca8(_0x22c62c._0xa55c5,0x41c)+_0x5aab4c(-0x19f,-0x1a4)+_0x5aab4c(-0x119,-0x78)]??RECONNECT_BASE_DELAY_MS,_0xd2a01c=this[_0x3f6ca8(_0x22c62c._0x285acb,-_0x22c62c._0x3538fe)][_0x5aab4c(0x45e,_0x22c62c._0x57ce6d)+'tMaxDela'+_0x3f6ca8(0xa,-_0x22c62c._0x292fb9)]??RECONNECT_MAX_DELAY_MS;function _0x5aab4c(_0xc07d30,_0xd8c0c1){return _0xb2a5b9(_0xc07d30,_0xd8c0c1- -0x5b);}const _0x4b13cc=Math[_0x5aab4c(_0x22c62c._0x5e9326,0x82)](_0xd2a01c,_0x3ca806*Math[_0x5aab4c(-_0x22c62c._0x862c42,-0x20)](0x1,this[_0x3f6ca8(0x1c2,0xbd)+'empt']));this[_0x5aab4c(-0x2f1,-_0x22c62c._0xf03e7a)](_0x5aab4c(-_0x22c62c._0x43d248,_0x22c62c._0x5b659e)+_0x5aab4c(-0x32,-0xb2)+_0x3f6ca8(-_0x22c62c._0x55332c,_0x22c62c._0x5554d6)+'d\x20delayM'+'s='+_0x4b13cc),this[_0x5aab4c(0x48e,_0x22c62c._0x57ce6d)+'tTimer']=setTimeout(()=>{const _0x23e54c={_0x51940d:0x37e};function _0x13d61d(_0x290d75,_0x5c6c9d){return _0x3f6ca8(_0x290d75,_0x5c6c9d-_0x23e54c._0x51940d);}function _0x54ecbf(_0x154c4c,_0x544c92){return _0x3f6ca8(_0x154c4c,_0x544c92-_0x3a1c43._0x49cee6);}this[_0x13d61d(_0x4dada3._0x108f65,0x79a)+_0x13d61d(0x415,_0x4dada3._0x5e4a7e)]=null,void this[_0x54ecbf(0x105,0x373)+'elay']();},_0x4b13cc);}[_0xb2a5b9(0x38,0x60)+_0xb2a5b9(-0x25,0x245)+_0xb2a5b9(0x2ca,0x2b)](){const _0x256ae4={_0x442f2f:0x381,_0x2776a2:0x568,_0x1a173e:0x7a,_0x234828:0x570,_0x17cfc6:0x158,_0x5a6b9e:0x3ca,_0x292b60:0x47e,_0x2f5e92:0x351,_0x344df3:0x38e,_0x40ed75:0x5d7},_0x43b887={_0x4121c9:0x433,_0x450aa0:0x6a6,_0x232333:0xc1,_0x5450e3:0x4bc},_0x1c0d46={_0x5203d0:0x29a},_0x34b098={'VRJok':function(_0x396087,_0x5afdf1){return _0x396087(_0x5afdf1);}};function _0x31a96a(_0x55d793,_0x336749){return _0xb2a5b9(_0x55d793,_0x336749-_0x1c0d46._0x5203d0);}const _0xb349c7=_0x34b098[_0x31a96a(_0x256ae4._0x442f2f,_0x256ae4._0x2776a2)](summarizePendingGatewayMessages,this['pendingG'+_0x31a96a(-0x107,0x19d)+'ssages'])['connectR'+'equests'];if(this[_0x31a96a(_0x256ae4._0x1a173e,0x1de)]||this['gatewayR'+_0x31a96a(0x414,0x4da)+'r']||!this[_0x219313(0x70b,_0x256ae4._0x234828)+_0x31a96a(_0x256ae4._0x17cfc6,_0x256ae4._0x5a6b9e)]()||!shouldKeepGatewayConnected(this[_0x31a96a(0x534,0x310)]['clientCo'+_0x219313(_0x256ae4._0x292b60,0x2ca)],_0xb349c7))return;const _0x37a021=this['options']['gatewayR'+'etryDela'+_0x219313(_0x256ae4._0x2f5e92,0x1af)]??GATEWAY_RETRY_DELAY_MS;function _0x219313(_0x44d546,_0xe18e6f){return _0xb2a5b9(_0x44d546,_0xe18e6f-0x366);}this[_0x31a96a(_0x256ae4._0x344df3,0x1f1)+_0x31a96a(_0x256ae4._0x40ed75,0x4da)+'r']=setTimeout(()=>{function _0x10c0fc(_0x1c0e11,_0x279cbd){return _0x219313(_0x279cbd,_0x1c0e11- -0x3a2);}this[_0x148d27(_0x43b887._0x4121c9,_0x43b887._0x450aa0)+_0x10c0fc(0x204,_0x43b887._0x232333)+'r']=null;function _0x148d27(_0x405d53,_0x23cd27){return _0x219313(_0x23cd27,_0x405d53-0x176);}this[_0x148d27(_0x43b887._0x5450e3,0x268)+'tewayCon'+'nected']();},_0x37a021);}[_0xb2a5b9(-0x8b,0x9a)+'rtbeat'](){const _0x4b651c={_0x3730ab:0x53c,_0x2b3a3a:0x5ed,_0x2b1d5d:0x916,_0x5b585a:0x6c0,_0x39568b:0x1c3,_0x5533e7:0x17f,_0x3f1c55:0x329,_0x12c83f:0xe7,_0x173b77:0x5ca,_0x421501:0x594,_0x477e77:0x395,_0x226a5f:0x1fe,_0x296a41:0xaf5},_0x2b45aa={_0x2f6ed1:0x601,_0x3a42c8:0x64b,_0x4e8774:0x4f5,_0xc91b6d:0x5d,_0x259048:0x4f6,_0x282390:0x1bc,_0x551b61:0x175,_0x19ab8b:0x8a,_0x34f2f3:0x631,_0x37f746:0x29,_0x5a10ca:0x68b,_0x1b879b:0x16e,_0x131b9c:0x403,_0x1b8101:0x1e7,_0x2d69b2:0x238},_0x112bbe={_0x4c3630:0x5e0},_0xe34fb3={_0x3becfb:0x1f},_0x3bd4ca={};_0x3bd4ca[_0x13b339(_0x4b651c._0x3730ab,_0x4b651c._0x2b3a3a)]=function(_0x538a9e,_0xede7d4){return _0x538a9e>_0xede7d4;},_0x3bd4ca[_0x13b339(_0x4b651c._0x2b1d5d,_0x4b651c._0x5b585a)]='relay\x20he'+_0x1bafe6(0xe7,_0x4b651c._0x39568b)+_0x1bafe6(0x3c1,_0x4b651c._0x5533e7)+'t';function _0x1bafe6(_0x5270f3,_0x23aa2e){return _0x3a90bd(_0x5270f3,_0x23aa2e- -_0xe34fb3._0x3becfb);}const _0x495500=_0x3bd4ca;this['stopHear'+_0x1bafe6(_0x4b651c._0x3f1c55,_0x4b651c._0x12c83f)]();function _0x13b339(_0x301630,_0x58922f){return _0x3a90bd(_0x301630,_0x58922f-0x57d);}this[_0x1bafe6(0x66,0x18c)+_0x13b339(0x64b,0x3f6)]=setInterval(()=>{const _0x5b385a={_0x3774d9:0x30},_0x7f71db=this[_0x35af5a(0x51d,_0x2b45aa._0x2f6ed1)+_0x35af5a(0x70a,_0x2b45aa._0x3a42c8)];if(!_0x7f71db||_0x7f71db[_0x35af5a(_0x2b45aa._0x4e8774,0x5c8)+'te']!==_0x387a60['OPEN'])return;function _0x35af5a(_0x3fba03,_0x23d6fc){return _0x1bafe6(_0x3fba03,_0x23d6fc-_0x112bbe._0x4c3630);}this[_0x5b27c0(0x236,_0x2b45aa._0xc91b6d)+_0x5b27c0(0x2f4,_0x2b45aa._0x259048)+'ndshakes']();const _0x118929=this['options'][_0x5b27c0(_0x2b45aa._0x282390,_0x2b45aa._0x551b61)+_0x5b27c0(_0x2b45aa._0x19ab8b,0x15f)+'Ms']??HEARTBEAT_TIMEOUT_MS;if(_0x495500[_0x35af5a(0x67a,_0x2b45aa._0x34f2f3)](Date[_0x5b27c0(0x288,_0x2b45aa._0x37f746)]()-this[_0x35af5a(_0x2b45aa._0x5a10ca,0x574)+_0x5b27c0(0x189,_0x2b45aa._0x1b879b)+_0x35af5a(0x472,_0x2b45aa._0x131b9c)],_0x118929)){this[_0x5b27c0(-_0x2b45aa._0x1b8101,-_0x2b45aa._0x2d69b2)](_0x495500['iasLn']),_0x7f71db[_0x5b27c0(0xa6,0xa4)+'e']();return;}function _0x5b27c0(_0x29a084,_0x36db2d){return _0x1bafe6(_0x36db2d,_0x29a084-_0x5b385a._0x3774d9);}_0x7f71db[_0x35af5a(0x9f9,0x887)]();},this[_0x13b339(_0x4b651c._0x173b77,0x41d)][_0x13b339(_0x4b651c._0x421501,0x728)+_0x1bafe6(-_0x4b651c._0x477e77,-_0x4b651c._0x226a5f)+_0x13b339(_0x4b651c._0x296a41,0x871)]??HEARTBEAT_INTERVAL_MS);}[_0xb2a5b9(-0x8b,0x3)+_0x3a90bd(0x30e,0x106)](){const _0x31de61={_0x5ee242:0x266,_0x58b6a4:0x18d,_0x2fee0f:0x126,_0x17d909:0x53},_0x5ea3e2={_0x2eabd3:0xbb};function _0x3a4584(_0x13c018,_0x5e2b18){return _0x3a90bd(_0x5e2b18,_0x13c018-_0x5ea3e2._0x2eabd3);}function _0x7dd328(_0x289f8d,_0x2a926b){return _0x3a90bd(_0x289f8d,_0x2a926b-0x134);}this['heartbea'+'tTimer']&&(clearInterval(this['heartbea'+'tTimer']),this[_0x3a4584(_0x31de61._0x5ee242,_0x31de61._0x58b6a4)+_0x7dd328(-_0x31de61._0x2fee0f,-_0x31de61._0x17d909)]=null);}[_0xb2a5b9(0x1e8,0x22c)+_0x3a90bd(0x220,0x2e3)+_0x3a90bd(0x306,0x279)](){const _0x241896={_0x267c4a:0x441,_0x2edbd6:0x90,_0x377386:0x266,_0x2080f7:0x174,_0x5a656a:0x15f,_0x154e8c:0x12a,_0x21f5a5:0x307,_0x492e1f:0x1db,_0x23d957:0x81,_0x5f9380:0x7b,_0x5dbfde:0xb5,_0x5708e2:0x521,_0x43e301:0x4d0,_0x3b5dd9:0x54,_0x219e05:0x220,_0x158175:0xf0,_0x317dc7:0x1f6,_0x3de30d:0x541,_0x300312:0x71a,_0x5cc1b1:0x46b,_0x1d1d67:0x1cf,_0x198828:0x2c,_0x348586:0x1d,_0x4ea50c:0x3c};if(this['inFlight'+_0x4aca47(0x42f,_0x241896._0x267c4a)+_0x4aca47(_0x241896._0x2edbd6,_0x241896._0x377386)+'s']['size']===0x0)return;const _0x23ba22=this[_0x4aca47(0xf5,_0x241896._0x2080f7)]['connectH'+_0x4aca47(0x90,0x309)+_0x1654f6(-_0x241896._0x5a656a,0x13d)+'yMs']??CONNECT_HANDSHAKE_WARN_DELAY_MS;function _0x1654f6(_0x4d78fc,_0x29df70){return _0xb2a5b9(_0x4d78fc,_0x29df70-0x89);}function _0x4aca47(_0x41ed13,_0xfabc8d){return _0xb2a5b9(_0xfabc8d,_0x41ed13-0x24e);}const _0x55a203=Date[_0x1654f6(_0x241896._0x154e8c,_0x241896._0x21f5a5)]();for(const [_0x3f878a,_0x212fc4]of this[_0x4aca47(0xc8,-_0x241896._0x492e1f)+_0x1654f6(_0x241896._0x23d957,0x26a)+'andshake'+'s'][_0x1654f6(_0x241896._0x5f9380,_0x241896._0x5dbfde)]()){const _0x486936=_0x55a203-_0x212fc4['startedA'+_0x4aca47(_0x241896._0x5708e2,0x51a)];if(_0x212fc4[_0x4aca47(_0x241896._0x43e301,0x33a)+_0x4aca47(_0x241896._0x3b5dd9,-_0x241896._0x219e05)+'d']||_0x486936<_0x23ba22)continue;_0x212fc4[_0x1654f6(0xb9,0x30b)+'ingLogge'+'d']=!![],this[_0x4aca47(0x5d,-_0x241896._0x158175)](_0x4aca47(0x16b,-0x29)+_0x4aca47(0x1f7,_0x241896._0x317dc7)+'still\x20pe'+_0x4aca47(_0x241896._0x3de30d,_0x241896._0x300312)+_0x1654f6(-_0x241896._0x5cc1b1,-_0x241896._0x1d1d67)+_0x3f878a+_0x1654f6(0x65,-_0x241896._0x198828)+_0x212fc4[_0x1654f6(0x43d,0x2a1)]+(_0x1654f6(_0x241896._0x348586,-_0x241896._0x4ea50c)+'Ms=')+_0x486936);}}[_0x3a90bd(-0x1c1,-0x59)+_0xb2a5b9(-0xde,-0x84)+_0xb2a5b9(-0x8f,-0x204)+'e'](_0x596a8c){const _0x45aef4={_0x5f11ba:0x299,_0x5f336f:0x424,_0x382fad:0x155,_0x2c35eb:0x289,_0x3c28ce:0x267,_0x2ce3ca:0x4a7,_0x22138d:0x299},_0x208fe7={_0x408fd7:0x24};function _0x205f51(_0x5bb1bc,_0x97d954){return _0xb2a5b9(_0x5bb1bc,_0x97d954-0x396);}this[_0x2ca7bf(0xbc,0x155)+_0x205f51(0x2de,_0x45aef4._0x5f11ba)+'ssages'][_0x205f51(0x5b3,_0x45aef4._0x5f336f)]>=MAX_PENDING_GATEWAY_MESSAGES&&this[_0x2ca7bf(0x1c1,_0x45aef4._0x382fad)+_0x2ca7bf(-0x33f,-0xd9)+_0x205f51(_0x45aef4._0x2c35eb,0x528)]['shift']();function _0x2ca7bf(_0x17b4cd,_0x1126e2){return _0xb2a5b9(_0x17b4cd,_0x1126e2-_0x208fe7._0x408fd7);}this[_0x2ca7bf(_0x45aef4._0x3c28ce,_0x45aef4._0x382fad)+_0x205f51(_0x45aef4._0x2ce3ca,_0x45aef4._0x22138d)+'ssages']['push'](_0x596a8c);}['dropStal'+_0xb2a5b9(0x114,0x261)+'ewayQueu'+'e'](){const _0x39a12d={_0x5ed96d:0x789,_0x57db30:0x85c,_0x5b125f:0x917,_0x561e25:0x16d,_0x452cfd:0xad,_0x873888:0x24e,_0x16991d:0xaa3,_0x53f3b8:0x47,_0x36fcbb:0x215,_0x439bc1:0x54e,_0x1bb814:0x55d,_0x5de3c8:0x3a9,_0x56ae83:0x7cd,_0x2951e3:0x5e1,_0x4bf33c:0x712,_0x48021c:0xb0,_0x33ea38:0x30,_0x110352:0x706,_0x3fc301:0x579,_0xb12c84:0x548,_0x365e44:0x72d},_0x464775={_0xef8d3f:0x1aa},_0x2ad5e1=summarizePendingGatewayMessages(this[_0x2ca1e2(0x7a3,_0x39a12d._0x5ed96d)+_0x19299a(0xad,0xe6)+'ssages']);function _0x2ca1e2(_0x1adea7,_0x52496b){return _0xb2a5b9(_0x52496b,_0x1adea7-0x672);}if(_0x2ad5e1['total']===0x0||_0x2ad5e1[_0x2ca1e2(_0x39a12d._0x57db30,_0x39a12d._0x5b125f)+_0x19299a(0xaa,_0x39a12d._0x561e25)]>0x0)return;function _0x19299a(_0x4e824d,_0x96f618){return _0xb2a5b9(_0x96f618,_0x4e824d-_0x464775._0xef8d3f);}this['pendingG'+_0x19299a(_0x39a12d._0x452cfd,_0x39a12d._0x873888)+_0x2ca1e2(0x804,_0x39a12d._0x16991d)]=[],this[_0x19299a(-_0x39a12d._0x53f3b8,_0x39a12d._0x36fcbb)]('dropped\x20'+_0x19299a(0x491,_0x39a12d._0x439bc1)+'le\x20gatew'+_0x19299a(0x1c2,0x423)+_0x2ca1e2(_0x39a12d._0x1bb814,_0x39a12d._0x5de3c8)+_0x2ad5e1[_0x2ca1e2(_0x39a12d._0x56ae83,0x72f)]+_0x2ca1e2(_0x39a12d._0x2951e3,_0x39a12d._0x4bf33c)+_0x2ad5e1[_0x19299a(_0x39a12d._0x48021c,_0x39a12d._0x33ea38)+'t']+_0x2ca1e2(_0x39a12d._0x110352,_0x39a12d._0x3fc301)+_0x2ad5e1[_0x2ca1e2(_0x39a12d._0xb12c84,_0x39a12d._0x365e44)]);}['observeC'+_0x3a90bd(0xed,-0x48)+_0xb2a5b9(0x3ec,0x243)](_0x48f963,_0x5befd9){const _0x1b5ed8={_0x52ed17:0x244,_0x2f6bc0:0x66,_0x4403dd:0x14f,_0x6a748d:0x398,_0x5a34a7:0x5cf,_0x57ac45:0x754,_0x319110:0x333,_0x367a7d:0x20,_0x58ee21:0x6af,_0x4fff8d:0x77,_0x5dc5a9:0x88,_0x18b214:0x25a,_0x1bd1b7:0x1c,_0x536784:0xe8},_0x5ed741={_0xfdd5d0:0x4aa},_0x13a11f={_0x4c5356:0x33},_0x5fffc5=Date[_0xae210c(0x240,_0x1b5ed8._0x52ed17)](),_0x1ded67=new Map(this[_0x25c5d3(0x519,0x773)][_0x25c5d3(0x754,0x525)+'dDevices'][_0xae210c(_0x1b5ed8._0x2f6bc0,_0x1b5ed8._0x4403dd)](_0x4df30f=>[_0x4df30f['id'],{..._0x4df30f}])),_0xedcf48=_0x1ded67[_0x25c5d3(_0x1b5ed8._0x6a748d,_0x1b5ed8._0x5a34a7)](_0x48f963)??{'id':_0x48f963,'label':_0x5befd9,'state':_0x25c5d3(_0x1b5ed8._0x57ac45,0x5bc)+'d','lastSeenMs':_0x5fffc5};_0xedcf48[_0xae210c(-_0x1b5ed8._0x319110,-0xb4)]=_0x5befd9,_0xedcf48[_0x25c5d3(0x2a1,_0x1b5ed8._0x367a7d)]=_0x25c5d3(0x754,_0x1b5ed8._0x58ee21)+'d',_0xedcf48[_0xae210c(0x313,0x124)+'Ms']=_0x5fffc5,_0x1ded67['set'](_0x48f963,_0xedcf48);function _0xae210c(_0x38146b,_0x511285){return _0x3a90bd(_0x38146b,_0x511285- -_0x13a11f._0x4c5356);}function _0x25c5d3(_0x1abb00,_0x4da57d){return _0x3a90bd(_0x4da57d,_0x1abb00-_0x5ed741._0xfdd5d0);}const _0x2a96cd=[..._0x1ded67[_0xae210c(_0x1b5ed8._0x4fff8d,_0x1b5ed8._0x5dc5a9)]()]['sort']((_0x2af607,_0x3b8fab)=>_0x3b8fab[_0xae210c(0x2c9,0x124)+'Ms']-_0x2af607[_0x25c5d3(0x601,0x829)+'Ms'])[_0xae210c(0x1a9,_0x1b5ed8._0x18b214)](0x0,MAX_DEVICE_DETAILS),_0x243794={};_0x243794[_0x25c5d3(0x754,0x862)+_0xae210c(-_0x1b5ed8._0x1bd1b7,0x172)]=_0x2a96cd,this[_0xae210c(0x13c,-_0x1b5ed8._0x536784)+_0x25c5d3(0x3a8,0x346)](_0x243794);}[_0xb2a5b9(-0x9c,0x93)+'cesRecen'+'t'](){const _0x58dfb5={_0x27405c:0x6e5,_0x3f73c6:0x6b2,_0x491bd5:0x385,_0x3a29d4:0x3f0},_0x4be663={_0x201aeb:0x539};function _0x2b618e(_0x526166,_0x1d29db){return _0xb2a5b9(_0x526166,_0x1d29db-0x267);}function _0x369094(_0x2d528c,_0x418502){return _0xb2a5b9(_0x418502,_0x2d528c-_0x4be663._0x201aeb);}this['updateSn'+_0x2b618e(0x397,0x16c)]({'connectedDevices':this['snapshot'][_0x369094(0x7ea,0x639)+_0x369094(_0x58dfb5._0x27405c,_0x58dfb5._0x3f73c6)][_0x2b618e(_0x58dfb5._0x491bd5,_0x58dfb5._0x3a29d4)](_0x457928=>({..._0x457928,'state':_0x369094(0x59e,0x380)}))});}[_0x3a90bd(0x487,0x2b4)+_0x3a90bd(0x1db,0x2ad)+_0x3a90bd(0xbb,-0x1bf)](_0x42edd9){const _0x1094bc={_0x162f47:0x185,_0x51068e:0x403,_0x144544:0x927,_0x31aea8:0xa41,_0x224365:0x16b,_0x1217da:0x6a,_0x42035d:0xf0,_0xbe308c:0x121,_0x2f4cd5:0x578,_0xdfb173:0x6d1,_0x2b5ef7:0x578,_0x536646:0x3d0,_0xe0a796:0x644,_0x2c7f41:0x7b6,_0xb295bf:0x5f7,_0x19b7b8:0x738,_0x146ffb:0x4a,_0x49b067:0x224,_0x123f7e:0x7d8,_0x20540a:0x14e,_0x41c10f:0xa10,_0x54a59d:0x29d,_0x19908e:0x6f3,_0x55e5a9:0xe7};function _0x1e4d0b(_0x1f51fb,_0x1da883){return _0xb2a5b9(_0x1f51fb,_0x1da883-0x10f);}if(this[_0x1e4d0b(0x2fe,_0x1094bc._0x162f47)][_0x170a13(0x51e,_0x1094bc._0x51068e)+_0x170a13(_0x1094bc._0x144544,_0x1094bc._0x31aea8)+_0x1e4d0b(_0x1094bc._0x224365,-0x6b)][_0x1e4d0b(-_0x1094bc._0x1217da,_0x1094bc._0x42035d)](_0x9c57fb=>_0x9c57fb[_0x1e4d0b(0x290,0x133)+'d']===_0x42edd9[_0x170a13(0x716,0x83f)+'d']))return;const _0x5d7921=[...this[_0x1e4d0b(_0x1094bc._0xbe308c,0x185)]['pendingP'+'airReque'+_0x170a13(_0x1094bc._0x2f4cd5,_0x1094bc._0xdfb173)],_0x42edd9][_0x1e4d0b(0x5b8,0x3a3)](-MAX_PENDING_PAIR_REQUESTS),_0x57a201={};_0x57a201['pendingP'+'airReque'+_0x170a13(_0x1094bc._0x2b5ef7,_0x1094bc._0x536646)]=_0x5d7921,this[_0x170a13(_0x1094bc._0xe0a796,_0x1094bc._0x2c7f41)+_0x170a13(_0x1094bc._0xb295bf,_0x1094bc._0x19b7b8)](_0x57a201),this[_0x1e4d0b(0x1fe,-_0x1094bc._0x146ffb)]['onPendin'+_0x1e4d0b(_0x1094bc._0x49b067,-0x63)+_0x170a13(_0x1094bc._0x123f7e,0x798)]?.(_0x42edd9);function _0x170a13(_0x2293bd,_0x142a4f){return _0xb2a5b9(_0x142a4f,_0x2293bd-0x6f2);}this['log'](_0x1e4d0b(0xf2,-_0x1094bc._0x20540a)+_0x1e4d0b(-0x16,0x86)+_0x170a13(0x8a9,_0x1094bc._0x41c10f)+'uestId='+_0x42edd9[_0x1e4d0b(0x10f,0x133)+'d']+(_0x1e4d0b(_0x1094bc._0x54a59d,0x3c7)+'d=')+(_0x42edd9[_0x170a13(_0x1094bc._0x19908e,0x988)]||_0x1e4d0b(0x237,_0x1094bc._0x55e5a9)+'>'));}[_0x3a90bd(0x1bc,0x16f)+'RequestR'+_0xb2a5b9(-0x87,0x175)](_0x238e5f,_0x38f682){const _0x406d0e={_0x30af76:0xa3,_0x4e3478:0xc4,_0x5e6b73:0x1c4,_0x121d3e:0x3b0,_0x1c5b96:0x1e4,_0x277ad3:0x3a4,_0x755ae5:0x29d,_0x3423d8:0x13b,_0xd850b3:0x293},_0xa5b512={_0x394961:0x39f};function _0x133e64(_0x19480e,_0x470e14){return _0x3a90bd(_0x470e14,_0x19480e-0x1a3);}function _0x6a1b6c(_0x202523,_0x4073d4){return _0x3a90bd(_0x202523,_0x4073d4-_0xa5b512._0x394961);}const _0xf7b7a0=this[_0x133e64(0x212,_0x406d0e._0x30af76)][_0x6a1b6c(_0x406d0e._0x4e3478,_0x406d0e._0x5e6b73)+_0x133e64(0x3d1,_0x406d0e._0x121d3e)+'sts'][_0x133e64(0x325,0x42d)](_0x163c40=>_0x163c40['requestI'+'d']===_0x238e5f?{..._0x163c40,'status':_0x38f682===_0x133e64(0x1e7,0x346)||_0x38f682===_0x6a1b6c(0x114,0x2b7)?_0x38f682:_0x163c40[_0x6a1b6c(-0x27,0x1de)]}:_0x163c40),_0x44c798={};_0x44c798[_0x133e64(-0x38,0x92)+_0x133e64(0x3d1,_0x406d0e._0x1c5b96)+'sts']=_0xf7b7a0,this['updateSn'+_0x6a1b6c(_0x406d0e._0x277ad3,_0x406d0e._0x755ae5)](_0x44c798),this[_0x6a1b6c(0x28a,0x1a7)](_0x6a1b6c(-0x67,_0x406d0e._0x3423d8)+'uest\x20res'+_0x133e64(0x243,0x40a)+_0x6a1b6c(0x208,_0x406d0e._0xd850b3)+_0x238e5f+('\x20decisio'+'n=')+_0x38f682);}['updateSn'+_0xb2a5b9(-0xde,-0xfb)](_0x2b5712){const _0x48b940={_0x2380f9:0x4f5,_0x36da6c:0x680,_0x42cd0c:0x55a},_0x3cccaa={_0x518219:0x47f};function _0x4ff9d7(_0x5f0c22,_0x2e5e10){return _0xb2a5b9(_0x5f0c22,_0x2e5e10-0x653);}Object['assign'](this[_0xc5a0a5(_0x48b940._0x2380f9,0x773)],_0x2b5712,{'lastUpdatedMs':Date[_0xc5a0a5(0x6fd,_0x48b940._0x36da6c)]()});function _0xc5a0a5(_0x21b62d,_0x35c3a3){return _0xb2a5b9(_0x35c3a3,_0x21b62d-_0x3cccaa._0x518219);}this[_0x4ff9d7(0x78f,0x4fa)]['onStatus']?.(this[_0x4ff9d7(_0x48b940._0x42cd0c,0x568)+'hot']());}[_0x3a90bd(-0x255,-0x1f8)](_0x3c1b8d){const _0x2e878f={_0x4f4225:0x539};function _0x17b16f(_0x9b975e,_0x453aa1){return _0x3a90bd(_0x453aa1,_0x9b975e-_0x2e878f._0x4f4225);}function _0x262747(_0xbddeba,_0x5aba32){return _0x3a90bd(_0xbddeba,_0x5aba32-0x226);}this[_0x262747(-0x55,0xc6)][_0x262747(-0xdb,0xa1)]?.(_0x3c1b8d);}[_0xb2a5b9(0x2aa,0x20a)+_0xb2a5b9(0x181,0x130)](){const _0x434346={_0x15bb9d:0x7ff,_0x33fbf2:0x491,_0xa14948:0x7be,_0x587376:0x4bc};function _0xad2f5f(_0x3d2ceb,_0x4c2177){return _0xb2a5b9(_0x4c2177,_0x3d2ceb-0x3a7);}const _0x81448c={};_0x81448c[_0x4d61d2(_0x434346._0x15bb9d,0x67d)]=function(_0x2730b1,_0x2d00c5){return _0x2730b1===_0x2d00c5;};function _0x4d61d2(_0x487e85,_0x498cfa){return _0xb2a5b9(_0x498cfa,_0x487e85-0x6e6);}const _0x78a17e=_0x81448c;return _0x78a17e['uRsKU'](this[_0xad2f5f(0x3ee,_0x434346._0x33fbf2)+_0x4d61d2(0x777,_0x434346._0xa14948)]?.[_0x4d61d2(0x6f4,0x7f2)+'te'],_0x387a60[_0x4d61d2(_0x434346._0x587376,0x245)]);}[_0xb2a5b9(0x198,0xf7)+'yOpen'](){function _0x1d2290(_0x34e787,_0x41c487){return _0x3a90bd(_0x34e787,_0x41c487- -0x69);}function _0x19dfc0(_0x3266e6,_0x221ce0){return _0x3a90bd(_0x221ce0,_0x3266e6-0xbf);}return this[_0x1d2290(0x26,-0x123)+_0x19dfc0(-0x8,0xfb)]?.['readySta'+'te']===_0x387a60[_0x19dfc0(-0x172,-0x114)];}['clearTim'+_0xb2a5b9(0x309,0x225)](){const _0x40fddf={_0x51891e:0xbe2,_0x114e3f:0x5a4,_0x860a39:0x9c9,_0x3c365f:0x72d,_0x288e8f:0x2dc,_0x37e435:0x10a,_0x5c0615:0x64f,_0x5cc177:0x69c,_0x336445:0x4b4,_0x2cfcd9:0x54f,_0xee5747:0x52d},_0x55b291={_0x31653b:0x45c},_0x26915d={'yPgaX':function(_0x4af374,_0x3cecc9){return _0x4af374(_0x3cecc9);},'vTJeh':function(_0x53cf45,_0x410699){return _0x53cf45(_0x410699);}};this['stopHear'+_0x8c6d10(0x569,0x326)]();this[_0x15d22c(0x9c9,_0x40fddf._0x51891e)+'tTimer']&&(_0x26915d[_0x15d22c(0x6ac,_0x40fddf._0x114e3f)](clearTimeout,this[_0x15d22c(_0x40fddf._0x860a39,0x8b3)+'tTimer']),this[_0x8c6d10(_0x40fddf._0x3c365f,0x5ef)+_0x8c6d10(_0x40fddf._0x288e8f,_0x40fddf._0x37e435)]=null);function _0x8c6d10(_0x2efa76,_0x5171c1){return _0xb2a5b9(_0x5171c1,_0x2efa76-_0x55b291._0x31653b);}function _0x15d22c(_0x237663,_0x1f029c){return _0xb2a5b9(_0x1f029c,_0x237663-0x6f8);}this[_0x15d22c(_0x40fddf._0x5c0615,0x896)+_0x8c6d10(_0x40fddf._0x5cc177,_0x40fddf._0x336445)+'r']&&(_0x26915d[_0x15d22c(_0x40fddf._0x2cfcd9,0x7d2)](clearTimeout,this['gatewayR'+_0x8c6d10(0x69c,_0x40fddf._0xee5747)+'r']),this[_0x8c6d10(0x3b3,0x3f8)+_0x8c6d10(0x69c,0x5bd)+'r']=null);}[_0xb2a5b9(0x199,0x2f8)+_0x3a90bd(-0x99,-0x247)](_0x1f473c){const _0x21cb58={_0x2ebe76:0x159,_0x1d8fdc:0x17c,_0x1d00a9:0x7ef},_0x2bf505={_0x546d06:0x4a1},_0x4d9c55={_0x568607:0x125};function _0x4f14e0(_0x10ef30,_0xbfa8a0){return _0x3a90bd(_0xbfa8a0,_0x10ef30-_0x4d9c55._0x568607);}function _0x55ddee(_0x2296a2,_0x119591){return _0x3a90bd(_0x2296a2,_0x119591-_0x2bf505._0x546d06);}return _0x1f473c==null?null:Math[_0x4f14e0(_0x21cb58._0x2ebe76,_0x21cb58._0x1d8fdc)](0x0,Date[_0x55ddee(_0x21cb58._0x1d00a9,0x718)]()-_0x1f473c);}};function shouldKeepGatewayConnected(_0xf9ca93,_0xabaaf5){const _0x35a1b6={_0x2df9ac:0x272,_0x77ad44:0x47e},_0x155bff={_0x2457ed:0x283};function _0xbfe8c6(_0x3dc5c3,_0x5d1019){return _0x3a90bd(_0x5d1019,_0x3dc5c3-_0x155bff._0x2457ed);}const _0x3f7537={};_0x3f7537[_0xbfe8c6(_0x35a1b6._0x2df9ac,_0x35a1b6._0x77ad44)]=function(_0x5c9b21,_0x4e07cb){return _0x5c9b21>_0x4e07cb;};const _0x4ff97e=_0x3f7537;return _0x4ff97e['xEHiQ'](_0xf9ca93,0x0)||_0xabaaf5>0x0;}function shouldScheduleGatewayIdleClose(_0x3c4d64,_0x2b65ab,_0x27d679){const _0x5cc397={_0x17c482:0x42b,_0x31ff62:0x26f},_0x1f73ce={'Bsqut':function(_0x3c9dde,_0x3cb5ff,_0x3ccb79){return _0x3c9dde(_0x3cb5ff,_0x3ccb79);}};function _0x26cc20(_0x1e48bc,_0x3a8bdf){return _0xb2a5b9(_0x3a8bdf,_0x1e48bc-0x159);}return _0x27d679&&!_0x1f73ce[_0x26cc20(_0x5cc397._0x17c482,_0x5cc397._0x31ff62)](shouldKeepGatewayConnected,_0x3c4d64,_0x2b65ab);}function shouldRecycleGatewayForFreshClient(_0x378ce0,_0x44e287,_0x3e1968,_0xb0db16){return _0x3e1968&&_0x44e287>0x0&&(_0x378ce0===0x0||_0xb0db16);}function summarizePendingGatewayMessages(_0x344a79){const _0x31d000={_0x21a699:0x42e,_0x3929de:0x59e,_0x5c994e:0x596,_0x1111c5:0x752,_0x35eaa1:0x133,_0xf146d:0x56c,_0x5aa0ee:0x2db,_0x15123e:0x4bd,_0x492e28:0x419,_0x494e4c:0x7ee};function _0x2ca2f3(_0x38130d,_0x2be261){return _0xb2a5b9(_0x2be261,_0x38130d-0x2d3);}const _0x3958dc={};_0x3958dc[_0x2ca2f3(_0x31d000._0x21a699,0x60c)]=_0x344a79['length'],_0x3958dc[_0x2ca2f3(0x4bd,_0x31d000._0x3929de)+_0xa16e31(_0x31d000._0x5c994e,_0x31d000._0x1111c5)]=0x0,_0x3958dc['otherTex'+'t']=0x0;function _0xa16e31(_0x13e5b8,_0xd36705){return _0xb2a5b9(_0xd36705,_0x13e5b8-0x696);}_0x3958dc[_0xa16e31(0x56c,0x473)]=0x0;const _0x54a116=_0x3958dc;for(const _0xc1a4fa of _0x344a79){if(_0xc1a4fa[_0x2ca2f3(0xbf,_0x31d000._0x35eaa1)]==='binary'){_0x54a116[_0xa16e31(_0x31d000._0xf146d,0x666)]+=0x1;continue;}if(isConnectHandshakeRequest(_0xc1a4fa[_0x2ca2f3(_0x31d000._0x5aa0ee,0x49e)])){_0x54a116[_0x2ca2f3(_0x31d000._0x15123e,_0x31d000._0x492e28)+_0xa16e31(0x596,_0x31d000._0x494e4c)]+=0x1;continue;}_0x54a116['otherTex'+'t']+=0x1;}return _0x54a116;}function dedupePendingGatewayMessages(_0x3791c6){const _0x3040df={_0x49a180:0x794,_0x9a2bd2:0x4d2,_0x5943f8:0x25e,_0x49ff47:0x54c,_0x553285:0x658,_0x249bb3:0x6e6,_0x3b610e:0x5d9,_0xc4c611:0x774,_0x570be4:0x92a,_0x380bfd:0x5d8,_0x20edca:0x6f7,_0x1cc440:0x5d8};let _0x3045d5=-0x1;for(let _0x257517=_0x3791c6[_0x250a3d(0x558,_0x3040df._0x49a180)]-0x1;_0x257517>=0x0;_0x257517-=0x1){const _0x4a4de4=_0x3791c6[_0x257517];if(_0x4a4de4?.[_0x2c8a58(0x491,0x336)]===_0x250a3d(_0x3040df._0x9a2bd2,_0x3040df._0x5943f8)&&isConnectHandshakeRequest(_0x4a4de4['text'])){_0x3045d5=_0x257517;break;}}if(_0x3045d5<=0x0){const _0x36a3e6={};return _0x36a3e6[_0x250a3d(0x774,_0x3040df._0x49ff47)]=[..._0x3791c6],_0x36a3e6[_0x250a3d(0x709,_0x3040df._0x553285)]=0x0,_0x36a3e6;}const _0x2eba53=_0x3791c6[_0x250a3d(_0x3040df._0x249bb3,_0x3040df._0x3b610e)]((_0x1e9630,_0x47d063)=>_0x47d063>=_0x3045d5||(_0x1e9630[_0x250a3d(0x2b6,0x3f2)]!==_0x2c8a58(0x7cb,0x552)||!isConnectHandshakeRequest(_0x1e9630[_0x2c8a58(0x588,0x552)]))),_0x215f11={};_0x215f11[_0x250a3d(_0x3040df._0xc4c611,0x945)]=_0x2eba53;function _0x2c8a58(_0x157810,_0x1ec5b7){return _0x3a90bd(_0x157810,_0x1ec5b7-0x551);}function _0x250a3d(_0x4b6808,_0x32aacc){return _0x3a90bd(_0x32aacc,_0x4b6808-0x4d1);}return _0x215f11[_0x2c8a58(_0x3040df._0x570be4,0x789)]=_0x3791c6[_0x2c8a58(0x57f,_0x3040df._0x380bfd)]-_0x2eba53[_0x2c8a58(_0x3040df._0x20edca,_0x3040df._0x1cc440)],_0x215f11;}function prunePendingGatewayMessagesForFreshDemand(_0x223ac0){const _0x244757={_0x26be02:0x15f,_0x4ba8ac:0x39c,_0x1e685b:0x653,_0x35f67c:0x49e,_0x16398c:0x223,_0x51d722:0x72,_0x2b5b7e:0x589,_0x45cae1:0x6ec,_0x5a34af:0x82b,_0x2dd36c:0xa96,_0xe02157:0x72,_0x5f048d:0x6af,_0x3dc75c:0x3c8},_0xa081da={};_0xa081da[_0x18d38b(0xf6,_0x244757._0x26be02)]=function(_0x5560f0,_0x3c2022){return _0x5560f0-_0x3c2022;};function _0x358555(_0x15fb15,_0x1ebde5){return _0x3a90bd(_0x1ebde5,_0x15fb15-0x588);}_0xa081da[_0x18d38b(_0x244757._0x4ba8ac,0x14d)]=function(_0x1fdb1d,_0x28e603){return _0x1fdb1d>=_0x28e603;};const _0x193ea0=_0xa081da;if(_0x223ac0[_0x358555(0x60f,_0x244757._0x1e685b)]===0x0){const _0x770e9d={};return _0x770e9d[_0x18d38b(_0x244757._0x35f67c,0x28e)]=[],_0x770e9d[_0x18d38b(0xa3,_0x244757._0x16398c)]=0x0,_0x770e9d;}let _0xb9884d=-0x1;for(let _0x2be694=_0x193ea0[_0x18d38b(-0x121,_0x244757._0x26be02)](_0x223ac0[_0x18d38b(-0x195,_0x244757._0x51d722)],0x1);_0x193ea0[_0x358555(0x6ea,0x76b)](_0x2be694,0x0);_0x2be694-=0x1){const _0x1c785b=_0x223ac0[_0x2be694];if(_0x1c785b?.[_0x18d38b(-0x29b,-0x230)]==='text'&&isConnectHandshakeRequest(_0x1c785b[_0x358555(_0x244757._0x2b5b7e,_0x244757._0x45cae1)])){_0xb9884d=_0x2be694;break;}}if(_0xb9884d===-0x1){const _0x335813={};return _0x335813[_0x358555(_0x244757._0x5a34af,_0x244757._0x2dd36c)]=[],_0x335813[_0x18d38b(0x132,0x223)]=_0x223ac0[_0x18d38b(-0x200,_0x244757._0xe02157)],_0x335813;}const _0x2ece52=_0x223ac0[_0x358555(0x815,_0x244757._0x5f048d)](_0xb9884d),_0xa0b32a={};_0xa0b32a[_0x18d38b(0x324,0x28e)]=_0x2ece52,_0xa0b32a[_0x18d38b(_0x244757._0x3dc75c,_0x244757._0x16398c)]=_0x223ac0['length']-_0x2ece52[_0x18d38b(0x2ad,_0x244757._0xe02157)];function _0x18d38b(_0x3b45ce,_0x139b74){return _0x3a90bd(_0x3b45ce,_0x139b74- -0x15);}return _0xa0b32a;}function patchConnectRequestGatewayAuth(_0x437c3a,_0x5f4402){const _0x53161f={_0x5d4a3c:0x79,_0x5d4cdc:0x558,_0x37a037:0x351,_0x39b889:0x31a,_0xec0d68:0x52d,_0xd75a4:0x444,_0x19562b:0x3ba,_0x1c4302:0x4d1,_0x4d2bb0:0x4cf,_0x1e407e:0x2ea,_0x2934f7:0x60b,_0xde1c25:0x8f4,_0x258928:0x705,_0x1887c6:0x969,_0x579c44:0x81b,_0x2b16e3:0x480,_0x548faf:0x81b,_0x3b05dd:0x1d3,_0x56d618:0x26d,_0x321c76:0x52b,_0x469350:0x54e,_0x35613b:0x21b,_0x39d427:0x3ef,_0x548a4c:0x72b,_0x3f2a98:0x5d0,_0x2b8775:0x5d3,_0x357e90:0x9fe,_0x24bb0b:0xa4d,_0x2e8a0b:0x89c,_0x25b8e8:0x774,_0x94577d:0x524,_0x98f33a:0x346},_0x1a8ced={_0x351969:0x265},_0x406d91={};_0x406d91[_0x1a5080(-0xb3,_0x53161f._0x5d4a3c)]=function(_0x2a1366,_0x584217){return _0x2a1366!==_0x584217;},_0x406d91['DoOug']=_0x1a5080(_0x53161f._0x5d4cdc,_0x53161f._0x37a037)+_0x1a5080(_0x53161f._0x39b889,_0x53161f._0xec0d68);function _0x3deb8c(_0x3a3b62,_0x1691f3){return _0xb2a5b9(_0x1691f3,_0x3a3b62-0x603);}function _0x1a5080(_0x4806a7,_0xa7d638){return _0xb2a5b9(_0x4806a7,_0xa7d638-_0x1a8ced._0x351969);}_0x406d91[_0x3deb8c(_0x53161f._0xd75a4,0x375)]=_0x1a5080(_0x53161f._0x19562b,_0x53161f._0x1c4302),_0x406d91['iurKd']=_0x3deb8c(_0x53161f._0x4d2bb0,0x61a);const _0x12aa45=_0x406d91;if(_0x12aa45[_0x3deb8c(0x417,_0x53161f._0x1e407e)](_0x5f4402[_0x3deb8c(0x523,0x687)],'password')||!_0x5f4402['password']){const _0x33446c={};return _0x33446c[_0x3deb8c(_0x53161f._0x2934f7,0x6d7)]=_0x437c3a,_0x33446c[_0x1a5080(0x5a5,0x54e)]=![],_0x33446c;}try{const _0x46ba3d=JSON[_0x3deb8c(_0x53161f._0xde1c25,0xa6a)](_0x437c3a);if(_0x46ba3d[_0x3deb8c(_0x53161f._0x258928,_0x53161f._0x1887c6)]!=='req'||_0x46ba3d[_0x3deb8c(_0x53161f._0x579c44,0x996)]!==_0x1a5080(_0x53161f._0x2b16e3,0x4a0)&&_0x46ba3d[_0x3deb8c(_0x53161f._0x548faf,0x813)]!==_0x12aa45[_0x1a5080(0x401,0x1a7)]){const _0x3eab55={};return _0x3eab55[_0x1a5080(_0x53161f._0x3b05dd,_0x53161f._0x56d618)]=_0x437c3a,_0x3eab55[_0x1a5080(_0x53161f._0x321c76,_0x53161f._0x469350)]=![],_0x3eab55;}const _0x49ab4f=_0x46ba3d[_0x1a5080(_0x53161f._0x35613b,_0x53161f._0x39d427)]&&typeof _0x46ba3d['params']===_0x3deb8c(0x86f,_0x53161f._0x548a4c)?{..._0x46ba3d['params']}:{},_0x96fac3=_0x49ab4f[_0x3deb8c(0x805,_0x53161f._0x3f2a98)]&&typeof _0x49ab4f['auth']===_0x12aa45[_0x3deb8c(_0x53161f._0xd75a4,_0x53161f._0x2b8775)]?{..._0x49ab4f[_0x1a5080(0x41e,0x467)]}:{},_0x353ca4=typeof _0x96fac3[_0x3deb8c(0x8c2,_0x53161f._0x357e90)]===_0x12aa45[_0x3deb8c(0x855,_0x53161f._0x24bb0b)]?_0x96fac3[_0x1a5080(0x587,0x524)][_0x3deb8c(_0x53161f._0x2e8a0b,0xa07)]():'';if(_0x353ca4){const _0x2f4b30={};return _0x2f4b30['text']=_0x437c3a,_0x2f4b30[_0x1a5080(_0x53161f._0x25b8e8,0x54e)]=![],_0x2f4b30;}_0x96fac3[_0x1a5080(0x467,_0x53161f._0x94577d)]=_0x5f4402['password'],_0x49ab4f[_0x1a5080(_0x53161f._0x98f33a,0x467)]=_0x96fac3;const _0x348878={..._0x46ba3d};return _0x348878['params']=_0x49ab4f,{'text':JSON['stringif'+'y'](_0x348878),'injected':!![]};}catch{const _0x31da1f={};return _0x31da1f['text']=_0x437c3a,_0x31da1f[_0x1a5080(0x4ad,_0x53161f._0x469350)]=![],_0x31da1f;}}function formatConnectHandshakeMetaForLog(_0xd15dca){const _0x5191b7={_0x23ae18:0x5e1,_0x4578a8:0x2e0,_0x21e427:0x164,_0x27f85a:0x3f0,_0x2688a5:0x782,_0x2ae07d:0x875,_0x51e113:0x457,_0x27a1f7:0x971,_0x78ea05:0x1da},_0x5ee33b={_0x332dc1:0x3c9},_0x2b6d54={_0x426b82:0x4ad},_0x133cac={};function _0x43998f(_0x354fbe,_0x1266d1){return _0xb2a5b9(_0x1266d1,_0x354fbe-_0x2b6d54._0x426b82);}_0x133cac['hFhsH']='<none>';const _0xa756aa=_0x133cac;function _0x397ee3(_0x445432,_0x9c580d){return _0xb2a5b9(_0x9c580d,_0x445432-_0x5ee33b._0x332dc1);}if(!_0xd15dca)return'';return _0x397ee3(0x314,0x2e0)+_0xd15dca[_0x397ee3(_0x5191b7._0x23ae18,0x5c8)]+'\x20reqId='+(_0xd15dca['id']??_0xa756aa[_0x397ee3(0x232,0x70)])+(_0x43998f(_0x5191b7._0x4578a8,0xf8)+_0x43998f(0x44c,0x53b))+_0xd15dca['noncePre'+'sent']+('\x20nonceLe'+'ngth=')+(_0xd15dca['nonceLen'+_0x397ee3(0x3f7,_0x5191b7._0x21e427)]??0x0)+(_0x397ee3(0x36c,_0x5191b7._0x27f85a)+_0x397ee3(0x41a,0x475))+(_0xd15dca[_0x43998f(_0x5191b7._0x2688a5,_0x5191b7._0x2ae07d)+'ds'][_0x397ee3(_0x5191b7._0x51e113,0x3ab)]>0x0?_0xd15dca[_0x43998f(0x782,_0x5191b7._0x27a1f7)+'ds'][_0x397ee3(_0x5191b7._0x78ea05,0x28)](','):_0x43998f(0x2c2,0x512));}function buildRelayWsUrl(_0xa9369f){const _0x3f085c={_0x16a43e:0x57a,_0x3916fa:0x604,_0x36191f:0x6aa,_0x434991:0x640,_0x25394c:0x640,_0x1843ba:0x34d,_0x1f59c3:0x57b,_0x32ed2c:0x38f,_0x322fca:0x63d,_0x226a92:0x483,_0x4163fa:0x22d,_0x5bf9a5:0x466,_0x34fa72:0x3b6,_0x4a5389:0x488,_0x10ce85:0x48b,_0x47dd73:0x65e,_0x74ab31:0x57b,_0x1af222:0x4f2,_0x478c8b:0x9b3,_0x18d1de:0x756,_0x10389d:0x37c,_0x28f34b:0x345,_0x282186:0x802},_0x286452={};function _0x3776d7(_0x5d216e,_0x4b4ef5){return _0xb2a5b9(_0x4b4ef5,_0x5d216e-0x43e);}_0x286452[_0x3776d7(0x483,0x226)]='gatewayI'+'d';const _0x53ad5e=_0x286452,_0x1e8b3c=new URL(_0xa9369f[_0x3776d7(_0x3f085c._0x16a43e,_0x3f085c._0x3916fa)]);(!_0x1e8b3c[_0x55c5a6(_0x3f085c._0x36191f,0x640)]||_0x1e8b3c[_0x55c5a6(0x4f0,_0x3f085c._0x434991)]==='/')&&(_0x1e8b3c[_0x55c5a6(0x49b,_0x3f085c._0x25394c)]='/ws');_0x1e8b3c[_0x3776d7(0x466,_0x3f085c._0x1843ba)+_0x3776d7(_0x3f085c._0x1f59c3,_0x3f085c._0x32ed2c)][_0x55c5a6(0x6bd,_0x3f085c._0x322fca)](_0x53ad5e[_0x3776d7(_0x3f085c._0x226a92,0x317)],_0xa9369f[_0x3776d7(_0x3f085c._0x4163fa,0x2c6)+'d']),_0x1e8b3c[_0x3776d7(_0x3f085c._0x5bf9a5,_0x3f085c._0x34fa72)+_0x55c5a6(0x700,0x6d5)]['set'](_0x55c5a6(_0x3f085c._0x4a5389,_0x3f085c._0x10ce85),_0x3776d7(_0x3f085c._0x47dd73,0x506));function _0x55c5a6(_0x4b50b1,_0x1f8de7){return _0xb2a5b9(_0x4b50b1,_0x1f8de7-0x598);}return _0x1e8b3c['searchPa'+_0x3776d7(_0x3f085c._0x74ab31,0x585)]['set']('clientId',_0xa9369f[_0x55c5a6(0x206,0x365)+'Id']),_0x1e8b3c['searchPa'+_0x3776d7(0x57b,_0x3f085c._0x1af222)]['set']('token',_0xa9369f[_0x55c5a6(_0x3f085c._0x478c8b,_0x3f085c._0x18d1de)+_0x3776d7(_0x3f085c._0x10389d,_0x3f085c._0x28f34b)]),_0x1e8b3c[_0x3776d7(0x5e5,_0x3f085c._0x282186)]();}function redactRelayWsUrl(_0x514ec8){const _0x4ef972={_0x48cfdd:0xdd,_0x56b7a4:0x7,_0xed3e60:0x56c,_0x22330a:0x2bd},_0x359eb2={_0x3737b1:0x582},_0x2d215f={_0x177c0d:0x2f};function _0x5b7864(_0x557ab1,_0x540ad3){return _0xb2a5b9(_0x540ad3,_0x557ab1- -_0x2d215f._0x177c0d);}const _0x3ea0d6=new URL(_0x514ec8);function _0x1744bf(_0x50cd6e,_0x4b55c0){return _0xb2a5b9(_0x50cd6e,_0x4b55c0-_0x359eb2._0x3737b1);}return _0x3ea0d6[_0x1744bf(0x7b7,0x5aa)+'rams'][_0x5b7864(0x262,_0x4ef972._0x48cfdd)]('token')&&_0x3ea0d6[_0x5b7864(-_0x4ef972._0x56b7a4,-0x42)+'rams']['set'](_0x1744bf(_0x4ef972._0xed3e60,0x5e1),_0x5b7864(_0x4ef972._0x22330a,0x42d)+'d>'),_0x3ea0d6['toString']();}function normalizeText(_0x39a2d0){const _0xc3fa2f={_0x533c4a:0x22c,_0x25668d:0x1,_0x45650a:0x452,_0x29ff79:0x504,_0x522d04:0x2a7,_0x541110:0x7cf,_0x15114b:0x6bc,_0x2609a1:0x792,_0x514c01:0x1e1},_0xe2b675={_0x43e93c:0x100};function _0x1c7bf3(_0x2476b1,_0xe858a2){return _0xb2a5b9(_0x2476b1,_0xe858a2-0x5eb);}if(typeof _0x39a2d0===_0x1c7bf3(_0xc3fa2f._0x533c4a,0x4b7))return _0x39a2d0;if(Buffer['isBuffer'](_0x39a2d0))return _0x39a2d0[_0x1c7bf3(0x53d,0x792)](_0x529c35(_0xc3fa2f._0x25668d,0x14));function _0x529c35(_0x25b2c1,_0x352713){return _0xb2a5b9(_0x352713,_0x25b2c1-_0xe2b675._0x43e93c);}if(Array['isArray'](_0x39a2d0))return Buffer[_0x1c7bf3(_0xc3fa2f._0x45650a,_0xc3fa2f._0x29ff79)](_0x39a2d0)[_0x529c35(_0xc3fa2f._0x522d04,0x2bb)](_0x1c7bf3(0x3f0,0x4ec));if(_0x39a2d0 instanceof ArrayBuffer)return Buffer[_0x1c7bf3(_0xc3fa2f._0x541110,_0xc3fa2f._0x15114b)](_0x39a2d0)[_0x1c7bf3(0x73e,_0xc3fa2f._0x2609a1)](_0x529c35(0x1,-_0xc3fa2f._0x514c01));return null;}function normalizeBinary(_0x20d7ee){const _0x519091={_0x170697:0x8ed,_0x162c0d:0x7c5,_0x2ebb2:0x7ae,_0x48206e:0x564,_0x3330a4:0x4df,_0x28b667:0x827,_0x1fe539:0x769},_0x44f96d={_0x3bed03:0x58},_0x3a3c85={};_0x3a3c85[_0x301d80(_0x519091._0x170697,0x7ef)]=_0x5a9826(-0x15a,-0x15e);function _0x5a9826(_0x3543ee,_0x32537f){return _0x3a90bd(_0x3543ee,_0x32537f- -_0x44f96d._0x3bed03);}function _0x301d80(_0x17a503,_0x4e401f){return _0x3a90bd(_0x17a503,_0x4e401f-0x69f);}const _0x725f83=_0x3a3c85;if(Buffer[_0x301d80(0x942,_0x519091._0x162c0d)](_0x20d7ee))return _0x20d7ee;if(typeof _0x20d7ee===_0x301d80(_0x519091._0x2ebb2,_0x519091._0x48206e))return Buffer[_0x301d80(_0x519091._0x3330a4,0x769)](_0x20d7ee,_0x725f83[_0x301d80(0xa30,0x7ef)]);if(Array['isArray'](_0x20d7ee))return Buffer['concat'](_0x20d7ee);return Buffer[_0x301d80(_0x519091._0x28b667,_0x519091._0x1fe539)](_0x20d7ee);}function readRecentCliLogs(_0x28fd69){const _0x7cb7e={_0x3f5889:0x321,_0x453287:0x424,_0x2ac8f7:0x2ea,_0x306a2d:0x1db,_0x23dddd:0x56,_0x4cc1e2:0x3ce,_0x211ef2:0x33b,_0x4ed23d:0x3a7},_0x45a545={_0x376edd:0x1b2},_0x557846={};_0x557846['mzuAp']=function(_0x3a238e,_0x16b683){return _0x3a238e!=_0x16b683;};const _0x37f408=_0x557846,{logPath:_0xbb7fb1,errorLogPath:_0x99a1b1}=getServicePaths(),_0x5d67ca=clampLines(_0x28fd69?.[_0x2d8947(0x29c,_0x7cb7e._0x3f5889)]??0xc8);function _0x5af4d7(_0x1a409a,_0x93377c){return _0xb2a5b9(_0x1a409a,_0x93377c-0x6c);}const _0x51ad97=_0x28fd69?.['lastMs']??null;function _0x2d8947(_0x34a189,_0x2299f0){return _0xb2a5b9(_0x2299f0,_0x34a189-_0x45a545._0x376edd);}const _0x7d9669=_0x37f408['mzuAp'](_0x51ad97,null)?Date[_0x5af4d7(_0x7cb7e._0x453287,_0x7cb7e._0x2ac8f7)]()-_0x51ad97:null,_0x515561=[_0xbb7fb1];_0x28fd69?.[_0x2d8947(0x60,-_0x7cb7e._0x306a2d)+_0x5af4d7(0x1c,-0x17d)]&&_0x515561['push'](_0x99a1b1);const _0x3cad9f=_0x515561[_0x2d8947(0x6d,_0x7cb7e._0x23dddd)](_0x150e4=>readLogFile(_0x150e4)),_0x5588b7=_0x7d9669==null?_0x3cad9f:_0x3cad9f[_0x2d8947(_0x7cb7e._0x4cc1e2,0x51d)](_0x10f242=>_0x10f242['ts']!=null&&_0x10f242['ts']>=_0x7d9669);return _0x5588b7['slice'](-_0x5d67ca)[_0x2d8947(_0x7cb7e._0x211ef2,_0x7cb7e._0x4ed23d)](_0x1215a6=>_0x1215a6[_0x5af4d7(0x300,0x338)]);}async function buildDoctorReport(){const _0xb94c33={_0x49c3db:0x627,_0x157336:0x96d,_0xf54dc8:0x757,_0x46261f:0xac,_0x1b92c2:0x123,_0x2c257f:0x318,_0x144eff:0x594,_0x264a14:0x5b7,_0x22d79f:0x786,_0x161283:0x833,_0x368cf8:0x114,_0xfe3b8d:0x95,_0x45ced4:0xa14,_0x214e68:0x85a,_0x2c7694:0x636,_0x25bee8:0x1c1,_0xce8c85:0x45f,_0x35339d:0x297,_0x1d511c:0x681,_0x3a02e9:0x59e},_0x498c9a={_0x229373:0x18e},_0x581291={_0x26fd2d:0x622};function _0x4db910(_0xbb055e,_0x104381){return _0x3a90bd(_0xbb055e,_0x104381-_0x581291._0x26fd2d);}const _0x59adb5={'obhKO':function(_0x135c5a){return _0x135c5a();},'qDUEb':function(_0x5d8e17,_0x40a86a){return _0x5d8e17(_0x40a86a);},'HzvQa':function(_0x7cfcfb){return _0x7cfcfb();}},_0x575de1=readPairingConfig(),_0x1aba86=getServiceStatus(),_0x3c8e03=_0x59adb5[_0x4db910(_0xb94c33._0x49c3db,0x5f7)](readOpenClawInfo),_0x40cf65=resolveGatewayUrl();function _0x3379ad(_0x136586,_0x240b2e){return _0x3a90bd(_0x240b2e,_0x136586-_0x498c9a._0x229373);}const _0x26bba1=await _0x59adb5['qDUEb'](checkGatewayReachable,_0x40cf65);return{'paired':Boolean(_0x575de1),'gatewayId':_0x575de1?.[_0x3379ad(-0x8a,-0x1e9)+'d']??null,'serverUrl':_0x575de1?.[_0x3379ad(0x127,-0xe1)+'l']??null,'relayUrl':_0x575de1?.[_0x4db910(_0xb94c33._0x157336,_0xb94c33._0xf54dc8)]??null,'instanceId':_0x575de1?.[_0x3379ad(-_0xb94c33._0x46261f,_0xb94c33._0x1b92c2)+'Id']??null,'serviceInstalled':_0x1aba86[_0x4db910(_0xb94c33._0x2c257f,_0xb94c33._0x144eff)+'d'],'serviceRunning':_0x1aba86[_0x4db910(_0xb94c33._0x264a14,0x782)],'serviceMethod':_0x1aba86[_0x4db910(_0xb94c33._0x22d79f,_0xb94c33._0x161283)],'servicePath':_0x1aba86[_0x3379ad(_0xb94c33._0x368cf8,_0xb94c33._0xfe3b8d)+_0x4db910(_0xb94c33._0x45ced4,0x8d7)],'logPath':_0x1aba86[_0x4db910(0x831,0x6e9)],'errorLogPath':_0x1aba86[_0x4db910(_0xb94c33._0x214e68,_0xb94c33._0x2c7694)+_0x3379ad(0x234,_0xb94c33._0x25bee8)],'openclawConfigDir':getOpenClawConfigDir(),'openclawMediaDir':_0x59adb5['HzvQa'](getOpenClawMediaDir),'openclawConfigFound':_0x3c8e03[_0x3379ad(_0xb94c33._0xce8c85,_0xb94c33._0x35339d)+'und'],'openclawAuthMode':_0x3c8e03[_0x4db910(0x6b2,0x53b)],'openclawTokenFound':Boolean(_0x3c8e03['token']),'openclawPasswordFound':_0x59adb5[_0x4db910(_0xb94c33._0x1d511c,_0xb94c33._0x3a02e9)](Boolean,_0x3c8e03['password']),'localGatewayUrl':_0x40cf65,'localGatewayReachable':_0x26bba1};}async function ensurePairPrerequisites(){const _0x435c9a={_0x632abd:0x5c1,_0x393d20:0x6bc,_0x2a510a:0x93f,_0x1b274e:0x8e0,_0x1f9c8a:0x5ff,_0x216c97:0x429,_0xa43254:0x62b,_0x52beb0:0x462,_0x13bc75:0x4b8,_0x10f745:0x395,_0x521ff5:0x5ba,_0x1713e3:0x29a,_0x4fa237:0x6f9,_0x4f82f3:0x692,_0x52a0e6:0x53c,_0x37a1d0:0x287,_0x8b9a4b:0x2ba,_0x473d7e:0x523,_0xce2ed3:0x686,_0x1496d9:0x5ca,_0x5cb96c:0x6eb,_0x39c144:0x470,_0x16fb9d:0x8b7,_0x556713:0x3d5,_0x4db446:0x9f6,_0x4687b7:0x43f};function _0x16a48e(_0x4bb5e4,_0x2df295){return _0xb2a5b9(_0x4bb5e4,_0x2df295-0x4ee);}const _0x173a17=await buildDoctorReport(),_0x764c34=listPairPrerequisiteFailures(_0x173a17);if(_0x764c34[_0x367335(_0x435c9a._0x632abd,_0x435c9a._0x393d20)]>0x0)throw new Error(['Cannot\x20c'+_0x367335(_0x435c9a._0x2a510a,_0x435c9a._0x1b274e)+_0x367335(_0x435c9a._0x1f9c8a,_0x435c9a._0x216c97)+_0x367335(0x58a,_0x435c9a._0xa43254)+_0x367335(0x367,_0x435c9a._0x52beb0)+'ocal\x20Ope'+_0x367335(_0x435c9a._0x13bc75,0x539)+_0x367335(_0x435c9a._0x10f745,_0x435c9a._0x521ff5)+_0x16a48e(_0x435c9a._0x1713e3,0x39e)+'not\x20read'+'y.',..._0x764c34[_0x367335(0x605,0x7b7)](_0x3440a2=>'-\x20'+_0x3440a2),_0x367335(_0x435c9a._0x4fa237,_0x435c9a._0x4f82f3)+'wket\x20doc'+_0x367335(0x14a,0x3e2)+_0x367335(_0x435c9a._0x52a0e6,0x6e4)+_0x16a48e(_0x435c9a._0x37a1d0,_0x435c9a._0x8b9a4b)+_0x16a48e(_0x435c9a._0x473d7e,_0x435c9a._0xce2ed3)+_0x367335(0x5ce,0x4e6)+_0x16a48e(_0x435c9a._0x1496d9,_0x435c9a._0x5cb96c)+_0x16a48e(0x4e2,0x586)+'y\x20if\x20you'+_0x16a48e(0x23b,0x293)+_0x16a48e(0x766,0x670)+_0x16a48e(_0x435c9a._0x39c144,0x626)+_0x367335(_0x435c9a._0x16fb9d,0x69c)+_0x367335(0x27f,_0x435c9a._0x556713)+_0x367335(_0x435c9a._0x4db446,0x794)][_0x367335(0x626,_0x435c9a._0x4687b7)]('\x0a'));function _0x367335(_0x2c37d1,_0x3d68b2){return _0xb2a5b9(_0x2c37d1,_0x3d68b2-0x62e);}return _0x173a17;}function listPairPrerequisiteFailures(_0x6e90b){const _0x4459aa={_0x11c172:0x700,_0x369bdc:0x7b6,_0x110983:0x715,_0x30c084:0x5e1,_0x766a1f:0x13e,_0xbd279f:0x239,_0xc78ba9:0x682,_0x4a6d5c:0x3e5,_0x5ceea9:0x1e9,_0x230466:0x5d9,_0x13e9ef:0x556,_0xe5f7fd:0x66d,_0xd3f33e:0x87d,_0x1f5bc7:0x71,_0xc46a8:0x14f,_0x2122a1:0x847,_0x4f2f98:0xa94,_0x322ca6:0x285,_0x4d0af6:0x8f,_0x344d61:0x58,_0x5621d2:0xef,_0x5bbca0:0xa16,_0x21d01f:0x3bb,_0x27512d:0x36b,_0x4419f4:0x43b,_0x530908:0x55f,_0x20135e:0x801,_0x4f4f2a:0x95d,_0x51888a:0x514,_0x44f733:0x74b,_0x1d77b3:0x694,_0x3ae72e:0x42c,_0x565a31:0x27a,_0x1da951:0x4d,_0x3857b2:0x21,_0x221dad:0x872,_0x31261f:0x67a,_0x1c1d14:0x285,_0x5434f6:0xfb,_0x3eaf8c:0x5b2,_0x433b04:0x4f0,_0xd2170d:0x405,_0x2a97ef:0x1b4,_0x4b96d4:0x2a,_0x4ecf2a:0x180,_0x20cadd:0x9e7,_0xf6938f:0x5a0,_0x2e9388:0x4f3,_0xf23a18:0x547,_0x53d87d:0x1cd,_0x259128:0x28a,_0x580196:0x190,_0x32e312:0x57f,_0xc5aaa2:0x72a,_0x46695b:0x242,_0x3bc438:0x146,_0x3cd630:0x3c1,_0x35d7c6:0x5e3,_0x5dce58:0x6cd,_0x19a36b:0x79c,_0x450672:0x41d,_0x3a1f2f:0x34,_0x4c4d60:0x380},_0x499397={_0x58f630:0x594},_0x5020ef={_0x1fb5c6:0x2e},_0x31a834={};_0x31a834['Mejae']=_0x269e08(0x564,0x6ea)+_0x269e08(_0x4459aa._0x11c172,0x8f2)+'\x20auth\x20is'+'\x20missing'+_0x269e08(_0x4459aa._0x369bdc,0x601)+'or\x20passw'+_0x269e08(_0x4459aa._0x110983,0x953),_0x31a834[_0x269e08(0x523,_0x4459aa._0x30c084)]='OpenClaw'+_0x4d8872(_0x4459aa._0x766a1f,_0x4459aa._0xbd279f)+_0x4d8872(0x266,0x4b2)+_0x269e08(_0x4459aa._0xc78ba9,_0x4459aa._0x4a6d5c)+'g.',_0x31a834['YUvTY']=_0x4d8872(-0x5e,-_0x4459aa._0x5ceea9)+_0x4d8872(0x13e,0x2a7)+_0x269e08(_0x4459aa._0x230466,0x537)+_0x269e08(0x7ea,_0x4459aa._0x13e9ef)+_0x4d8872(0x1ee,0xc6);const _0x135d81=_0x31a834,_0x36ca87=[];function _0x4d8872(_0x47c419,_0x11429a){return _0x3a90bd(_0x11429a,_0x47c419- -_0x5020ef._0x1fb5c6);}!_0x6e90b['openclaw'+_0x269e08(_0x4459aa._0xe5f7fd,0x708)+_0x269e08(_0x4459aa._0xd3f33e,0x817)]&&_0x36ca87['push'](_0x4d8872(-0x5e,0x68)+_0x4d8872(-0x230,-_0x4459aa._0x1f5bc7)+_0x4d8872(-0x149,-0x142)+_0x4d8872(0x88,-_0x4459aa._0xc46a8)+_0x4d8872(0x258,0x341)+formatOpenClawConfigLocations()+'.');function _0x269e08(_0x1a1b64,_0x4c275f){return _0x3a90bd(_0x4c275f,_0x1a1b64-_0x499397._0x58f630);}return _0x6e90b[_0x269e08(_0x4459aa._0x2122a1,_0x4459aa._0x4f2f98)+'TokenFou'+'nd']&&_0x6e90b[_0x4d8872(_0x4459aa._0x322ca6,0x31b)+_0x4d8872(0x2ba,_0x4459aa._0x4d0af6)+_0x4d8872(_0x4459aa._0x344d61,_0x4459aa._0x5621d2)]&&_0x6e90b[_0x269e08(_0x4459aa._0x2122a1,_0x4459aa._0x5bbca0)+_0x269e08(0x405,_0x4459aa._0x21d01f)]==null&&_0x36ca87[_0x4d8872(-0x22,-0x25c)](_0x269e08(0x564,0x385)+_0x269e08(_0x4459aa._0x27512d,_0x4459aa._0x4419f4)+'h\x20gatewa'+_0x269e08(_0x4459aa._0x530908,_0x4459aa._0x20135e)+_0x269e08(0x54a,0x5af)+_0x269e08(0x7b1,_0x4459aa._0x4f4f2a)+'figured,'+_0x269e08(_0x4459aa._0x51888a,_0x4459aa._0x44f733)+'eway.aut'+_0x269e08(_0x4459aa._0x1d77b3,_0x4459aa._0x3ae72e)+_0x4d8872(-_0x4459aa._0x565a31,-_0x4459aa._0x1da951)),!_0x6e90b[_0x4d8872(0x285,_0x4459aa._0x3857b2)+_0x269e08(_0x4459aa._0x221dad,_0x4459aa._0x31261f)+'nd']&&!_0x6e90b[_0x4d8872(_0x4459aa._0x1c1d14,_0x4459aa._0x5434f6)+'Password'+_0x4d8872(_0x4459aa._0x344d61,0x23a)]&&_0x36ca87[_0x269e08(0x5a0,0x4e0)](_0x135d81[_0x269e08(_0x4459aa._0x3eaf8c,_0x4459aa._0x433b04)]),_0x6e90b['openclaw'+_0x269e08(_0x4459aa._0xd2170d,_0x4459aa._0x2a97ef)]===_0x4d8872(_0x4459aa._0x4b96d4,-_0x4459aa._0x4ecf2a)&&!_0x6e90b['openclaw'+_0x269e08(0x872,_0x4459aa._0x20cadd)+'nd']&&_0x36ca87[_0x269e08(_0x4459aa._0xf6938f,_0x4459aa._0x2e9388)](_0x135d81[_0x269e08(0x523,_0x4459aa._0xf23a18)]),_0x6e90b['openclaw'+_0x269e08(0x405,_0x4459aa._0x53d87d)]===_0x4d8872(_0x4459aa._0x259128,0x36)&&!_0x6e90b[_0x4d8872(0x285,_0x4459aa._0x580196)+_0x269e08(0x87c,0xae3)+_0x269e08(0x61a,_0x4459aa._0x32e312)]&&_0x36ca87[_0x269e08(0x5a0,_0x4459aa._0xc5aaa2)](_0x135d81[_0x269e08(0x4d0,0x398)]),!_0x6e90b[_0x4d8872(-_0x4459aa._0x46695b,-_0x4459aa._0x3bc438)+'ewayReac'+'hable']&&_0x36ca87[_0x269e08(0x5a0,_0x4459aa._0x3cd630)](_0x269e08(0x486,_0x4459aa._0x35d7c6)+_0x269e08(_0x4459aa._0x5dce58,_0x4459aa._0x19a36b)+_0x269e08(0x49f,_0x4459aa._0x450672)+_0x4d8872(0x143,0x330)+_0x4d8872(_0x4459aa._0x3a1f2f,-0x133)+_0x4d8872(-0x273,0x3)+_0x6e90b[_0x269e08(_0x4459aa._0x4c4d60,0x59a)+'ewayUrl']+'.'),_0x36ca87;}function formatOpenClawConfigLocations(){const _0x6cd91f={_0x480cc1:0x791,_0x35896b:0x944,_0x4ed044:0x539},_0x331047={_0x1fd7fa:0x54e},_0x396dde={_0x146dad:0x260},_0x37d916={_0x36272d:0x72f};function _0x58e0ac(_0x53459c,_0xac1b69){return _0x3a90bd(_0x53459c,_0xac1b69-0x17d);}function _0x1e774c(_0x506318,_0x5e05b6){return _0x3a90bd(_0x5e05b6,_0x506318-_0x37d916._0x36272d);}const _0x345b96=new Set();return[_0x582f99(),_0x1e774c(0x98a,_0x6cd91f._0x480cc1)]['map'](_0x31a298=>_0x31a298[_0x58e0ac(0x37e,0x40f)]()+(_0x58e0ac(0x54c,0x34b)+'aw'))[_0x1e774c(_0x6cd91f._0x35896b,0x6dd)](_0x337c71=>_0x337c71!==_0x1e774c(0x8fd,0x902)+'aw')[_0x1e774c(0x944,0xa29)](_0x3fa51e=>{if(_0x345b96[_0x30fb77(0x667,0x59b)](_0x3fa51e))return![];function _0x30fb77(_0x3e9836,_0x349565){return _0x58e0ac(_0x349565,_0x3e9836-_0x396dde._0x146dad);}_0x345b96[_0x30fb77(0x3ec,_0x331047._0x1fd7fa)](_0x3fa51e);function _0x574893(_0x45a3f9,_0x4456cd){return _0x58e0ac(_0x4456cd,_0x45a3f9- -0x142);}return!![];})[_0x1e774c(_0x6cd91f._0x4ed044,0x613)]('\x20or\x20');}function readLogFile(_0x38c4e7){const _0x3a67a2={_0x1f6a2d:0x679,_0x42077c:0x497},_0x4b3fae={_0x4d81b2:0x596},_0x52ff2f={};_0x52ff2f['ghixe']=_0x1e5be0(_0x3a67a2._0x1f6a2d,_0x3a67a2._0x42077c);function _0xdfbd69(_0x1b206b,_0x5327b5){return _0xb2a5b9(_0x1b206b,_0x5327b5-0x421);}const _0x1d08e9=_0x52ff2f;function _0x1e5be0(_0x14f093,_0x571b7c){return _0xb2a5b9(_0x14f093,_0x571b7c-_0x4b3fae._0x4d81b2);}try{const _0x1f141c=_0xe89164(_0x38c4e7,_0x1d08e9[_0x1e5be0(0x45b,0x39d)]);return _0x1f141c[_0x1e5be0(0x6aa,0x765)](/\r?\n/)[_0xdfbd69(0x6a0,0x63d)](Boolean)[_0x1e5be0(0x728,0x71f)](_0xcfa45c=>({'raw':_0xcfa45c,'ts':parseTimestamp(_0xcfa45c)}));}catch{return[];}}function parseTimestamp(_0x420128){const _0x283fc5={_0xc19b95:0x45c},_0x4127cf={_0x3724bf:0x4cb},_0x102dec=_0x420128['match'](/^\[(\d{13})\]\s/);if(!_0x102dec)return null;function _0x45b0ef(_0x39254a,_0x1ce1b5){return _0x3a90bd(_0x39254a,_0x1ce1b5-_0x4127cf._0x3724bf);}const _0x5bb7bc=Number(_0x102dec[0x1]);return Number[_0x45b0ef(0x6a0,_0x283fc5._0xc19b95)](_0x5bb7bc)?_0x5bb7bc:null;}function clampLines(_0x5698fb){const _0x1fae28={_0x11651c:0x2a0,_0x203465:0x1df,_0x3c2978:0x135,_0x54e16c:0x8e},_0x5d4aaa={_0x2aaad6:0x4ea};if(!Number['isFinite'](_0x5698fb))return 0xc8;function _0x565cf1(_0x5b3f7a,_0x3052a5){return _0x3a90bd(_0x3052a5,_0x5b3f7a-0x26c);}function _0x189c0f(_0x5b1f9a,_0x43d161){return _0x3a90bd(_0x5b1f9a,_0x43d161-_0x5d4aaa._0x2aaad6);}return Math[_0x565cf1(_0x1fae28._0x11651c,_0x1fae28._0x203465)](0x1,Math['min'](0x7d0,Math[_0x565cf1(_0x1fae28._0x3c2978,_0x1fae28._0x54e16c)](_0x5698fb)));}async function checkGatewayReachable(_0x41de03){const _0x330a3d={_0x52648d:0x480,_0x368da0:0x337,_0x423fd6:0x63d,_0x3e22e1:0x44b,_0x4fa749:0x5f9,_0x40dc59:0x65d,_0xd80291:0x5e0,_0x3eefd4:0x4ae},_0x26365e={_0x5859fa:0xc1,_0x29dd09:0x253,_0x39b96a:0x882,_0x59230d:0x957},_0x1fe204={_0xebb96e:0x7fb,_0x1606ad:0xc},_0x544436={_0x3d2b75:0x3e1},_0x14430a={};function _0x43d4fa(_0x334335,_0x12164c){return _0xb2a5b9(_0x12164c,_0x334335-_0x544436._0x3d2b75);}_0x14430a[_0x43d4fa(_0x330a3d._0x52648d,0x499)]=_0x43d4fa(0x61c,0x3ff),_0x14430a[_0x331790(_0x330a3d._0x368da0,0x101)]=_0x43d4fa(_0x330a3d._0x423fd6,0x842);const _0x49b43f=_0x14430a;function _0x331790(_0x35545e,_0x5a2978){return _0xb2a5b9(_0x5a2978,_0x35545e-0x1cf);}try{const _0x37f820=new URL(_0x41de03),_0x3e2786=_0x37f820['hostname']||'127.0.0.'+'1',_0x5011a5=_0x37f820[_0x331790(_0x330a3d._0x3e22e1,_0x330a3d._0x4fa749)]?Number(_0x37f820[_0x43d4fa(_0x330a3d._0x40dc59,_0x330a3d._0xd80291)]):_0x37f820[_0x43d4fa(0x25a,_0x330a3d._0x3eefd4)]===_0x49b43f[_0x331790(_0x330a3d._0x368da0,0x3e6)]?0x1bb:0x50;return await new Promise((_0x5a63ab,_0x1c9e42)=>{const _0x3353e8={_0x15f22a:0x617,_0x18d3cf:0x7e5},_0x4a2f7c=new Socket();_0x4a2f7c['setTimeo'+'ut'](0x384);function _0x246b16(_0x1b39d2,_0x166335){return _0x43d4fa(_0x166335- -0xc8,_0x1b39d2);}_0x4a2f7c['once'](_0x49b43f['pOkMW'],()=>{_0x4a2f7c[_0x5fd0b4(_0x3353e8._0x15f22a,_0x3353e8._0x18d3cf)]();function _0x5fd0b4(_0x30563e,_0x3b3440){return _0x346a(_0x30563e-0x25,_0x3b3440);}_0x5a63ab();}),_0x4a2f7c[_0x246b16(_0x26365e._0x5859fa,0x150)]('timeout',()=>{const _0x5d651b={_0x51499b:0x2c5},_0x1f9aff={_0x107608:0x132};function _0x53b60c(_0xfaea52,_0x493384){return _0x246b16(_0x493384,_0xfaea52- -_0x1f9aff._0x107608);}_0x4a2f7c[_0x100844(0x863,_0x1fe204._0xebb96e)]();function _0x100844(_0x13f27b,_0x1b9abb){return _0x246b16(_0x1b9abb,_0x13f27b-_0x5d651b._0x51499b);}_0x1c9e42(new Error(_0x53b60c(-_0x1fe204._0x1606ad,0x1a7)));}),_0x4a2f7c[_0x246b16(_0x26365e._0x29dd09,0x150)](_0x5cac96(0x8ed,0x6d2),_0x56b499=>{_0x4a2f7c['destroy'](),_0x1c9e42(_0x56b499);});function _0x5cac96(_0x93d333,_0x1101cc){return _0x43d4fa(_0x1101cc-0x33b,_0x93d333);}_0x4a2f7c[_0x5cac96(_0x26365e._0x39b96a,_0x26365e._0x59230d)](_0x5011a5,_0x3e2786);}),!![];}catch{return![];}}function parseLookbackToMs(_0x4b2f88){const _0x2cde19={_0xf3dce4:0x737,_0x1399a7:0xb2,_0x47dacf:0x2d0,_0x49ba12:0x8c6,_0x3cf313:0x471,_0x3e4159:0x30a,_0x38cbfc:0x2f8},_0x4e98a0={_0x1b880a:0x17e},_0xb2ad0c={};_0xb2ad0c[_0x4e8f74(_0x2cde19._0xf3dce4,0x798)]=function(_0x59ace0,_0x5a2f72){return _0x59ace0===_0x5a2f72;},_0xb2ad0c[_0x6ecd8(-_0x2cde19._0x1399a7,-0xc8)]=function(_0x56316c,_0x3743ca){return _0x56316c*_0x3743ca;};const _0x23297a=_0xb2ad0c,_0x3b3681=_0x4b2f88?.[_0x6ecd8(_0x2cde19._0x47dacf,0x410)]();if(!_0x3b3681)return null;const _0x174c43=_0x3b3681[_0x4e8f74(_0x2cde19._0x49ba12,0x631)](/^(\d+)(ms|s|m|h|d)$/i);function _0x6ecd8(_0x4f2f92,_0x1c7fd3){return _0x3a90bd(_0x4f2f92,_0x1c7fd3-_0x4e98a0._0x1b880a);}if(!_0x174c43)throw new Error(_0x6ecd8(0x1f0,0x326)+'--last\x20v'+_0x4e8f74(0x598,0x4ea)+_0x3b3681+(_0x6ecd8(0x399,0x440)+_0x4e8f74(0x5f0,0x7d9)+_0x4e8f74(0xa57,0x819)+'2m,\x201h,\x20'+_0x4e8f74(0x29b,_0x2cde19._0x3cf313)));const _0x1de2d6=Number(_0x174c43[0x1]),_0x4a7626=_0x174c43[0x2][_0x6ecd8(_0x2cde19._0x3e4159,_0x2cde19._0x38cbfc)+'ase']();function _0x4e8f74(_0x5b29c9,_0x3aca3a){return _0x3a90bd(_0x5b29c9,_0x3aca3a-0x670);}const _0x114ad3=_0x23297a[_0x4e8f74(0x650,0x798)](_0x4a7626,'ms')?0x1:_0x4a7626==='s'?0x3e8:_0x4a7626==='m'?0xea60:_0x4a7626==='h'?0x36ee80:0x5265c00;return _0x23297a['zVYNe'](_0x1de2d6,_0x114ad3);}import{networkInterfaces}from'os';var BLOCKED_INTERFACE_TOKENS=[_0xb2a5b9(-0x21e,-0x75),_0xb2a5b9(-0x3c3,-0x156),_0x3a90bd(0x1c4,0x36),_0x3a90bd(-0x185,0x2d)+'e',_0xb2a5b9(0x41f,0x221)+'d','wg',_0xb2a5b9(0x173,0x1b5),'ipsec',_0x3a90bd(-0x135,-0x147),_0xb2a5b9(-0xef,0x59),_0xb2a5b9(0x23a,0x17a),_0x3a90bd(-0x14d,-0x12b),_0x3a90bd(0x11a,0x214),_0xb2a5b9(0x206,0x15),_0xb2a5b9(0xf9,-0xe2),'awdl',_0x3a90bd(0x332,0x1e1),_0xb2a5b9(0x117,0x116),_0x3a90bd(0x2ce,0x1ad),_0xb2a5b9(0x358,0x1df)];function buildLocalPairingInfo(_0x1fab27){const _0x238ff0={_0x31a4d3:0x459,_0x3718f5:0x3a6,_0x2dff31:0x21b,_0x54e1d4:0x2ac,_0x59a2ae:0x119,_0x24cb01:0x690,_0xa43a58:0x70f,_0x518c73:0xf1,_0x39b5e9:0x2f5,_0x1b35a2:0xf9},_0x220869={_0x94011b:0x4fc},_0x1c147a={_0x54d6e5:0x2be},_0x22bf9d=resolveLocalPairAuth(_0x1fab27),_0x5906d3={};_0x5906d3['explicit'+_0x1e03e3(0x228,_0x238ff0._0x31a4d3)]=_0x1fab27[_0x1e03e3(_0x238ff0._0x3718f5,0x557)+_0x3aa735(_0x238ff0._0x2dff31,_0x238ff0._0x54e1d4)],_0x5906d3[_0x3aa735(_0x238ff0._0x59a2ae,0x157)+_0x1e03e3(_0x238ff0._0x24cb01,_0x238ff0._0xa43a58)+'l']=_0x1fab27[_0x3aa735(0x119,_0x238ff0._0x518c73)+'atewayUr'+'l'];const _0x3e0ab0=resolveLocalPairGatewayUrl(_0x5906d3);function _0x3aa735(_0x2b6fde,_0x5dc4dc){return _0xb2a5b9(_0x5dc4dc,_0x2b6fde-_0x1c147a._0x54d6e5);}const _0x13b03a=_0x1fab27['expiresA'+'t']??Date['now']()+0xa*0x3c*0x3e8;function _0x1e03e3(_0x88ee1,_0x5661b7){return _0xb2a5b9(_0x88ee1,_0x5661b7-_0x220869._0x94011b);}return{'gatewayUrl':_0x3e0ab0,'expiresAt':_0x13b03a,'authMode':_0x22bf9d[_0x3aa735(_0x238ff0._0x39b5e9,_0x238ff0._0x1b35a2)],'qrPayload':buildGatewayQrPayload({'gatewayUrl':_0x3e0ab0,'token':_0x22bf9d['token'],'password':_0x22bf9d[_0x3aa735(0x57d,0x417)],'expiresAt':_0x13b03a})};}function resolveLocalPairGatewayUrl(_0x179f45){const _0x276586={_0xb17165:0x84e,_0x597e88:0x59e,_0x9cc178:0x555,_0xebc5a3:0xa62,_0x577f9e:0x863,_0x9c5bf2:0x582,_0x3daa62:0x448},_0xcab20c={_0x120979:0x2c3};function _0x1cc927(_0x111e11,_0x4ab5f6){return _0x3a90bd(_0x111e11,_0x4ab5f6-0x74a);}const _0x4ca0c7=_0x179f45?.[_0x1cc927(_0x276586._0xb17165,0x79e)+'Url']?.[_0x1a85fe(0x555,0x526)]();function _0x1a85fe(_0xe0014,_0x184390){return _0x3a90bd(_0x184390,_0xe0014-_0xcab20c._0x120979);}if(_0x4ca0c7)return normalizeExplicitGatewayUrl(_0x4ca0c7);const _0x26527f=_0x179f45?.[_0x1cc927(0x638,_0x276586._0x597e88)+_0x1a85fe(0x4cf,0x258)+'l']?.[_0x1a85fe(_0x276586._0x9cc178,0x378)]()||resolveGatewayUrl(),_0x2804e1=detectLanIp();if(!_0x2804e1)throw new Error('Failed\x20t'+'o\x20determ'+'ine\x20a\x20LA'+'N\x20IP\x20add'+_0x1cc927(_0x276586._0xebc5a3,_0x276586._0x577f9e)+_0x1a85fe(_0x276586._0x9c5bf2,0x616)+'\x20to\x20spec'+'ify\x20a\x20cu'+_0x1a85fe(0x2ba,_0x276586._0x3daa62)+'eway\x20URL'+'.');return rewriteGatewayHost(_0x26527f,_0x2804e1);}function normalizeExplicitGatewayUrl(_0x1544b4){const _0x3316b2={_0x313a37:0x14},_0x64427b={_0x4412e8:0x2e},_0x12e17f={_0x2b0163:0x8},_0x1a134b={'nKNUW':function(_0x10c087,_0x13b6d7){return _0x10c087(_0x13b6d7);}},_0x17cdf3=_0x1544b4['trim'](),_0x158967=/^[a-z]+:\/\//i[_0x3ab3d4(-0x50,-0x283)](_0x17cdf3)?_0x17cdf3:'ws://'+_0x17cdf3;function _0xa98ec2(_0x2487c3,_0x31307b){return _0xb2a5b9(_0x31307b,_0x2487c3- -_0x12e17f._0x2b0163);}function _0x3ab3d4(_0x1499c6,_0x5a9ed3){return _0xb2a5b9(_0x1499c6,_0x5a9ed3- -_0x64427b._0x4412e8);}return _0x1a134b['nKNUW'](normalizeGatewayQrUrl,_0x158967)[_0xa98ec2(-_0x3316b2._0x313a37,-0x1fb)];}function rewriteGatewayHost(_0x75c221,_0x6bd45c){const _0x2bc7a4={_0x45fbf9:0x64e,_0x3c489c:0x271,_0x5a0488:0x317,_0x45f8f8:0x2b6,_0x3388a6:0x22f,_0x58a09d:0x95},_0x1c3553={_0x341c51:0xa8};function _0x3aa327(_0x220f75,_0xf7e35d){return _0x3a90bd(_0xf7e35d,_0x220f75-0x258);}const _0x36e2ec=_0x75c221[_0x3aa327(0x4ea,_0x2bc7a4._0x45fbf9)](),_0x362055=/^[a-z]+:\/\//i[_0x3aa327(-0x4,_0x2bc7a4._0x3c489c)](_0x36e2ec)?_0x36e2ec:_0x3aa327(_0x2bc7a4._0x5a0488,_0x2bc7a4._0x45f8f8)+_0x36e2ec;function _0x4103e6(_0x380604,_0x28b2bb){return _0x3a90bd(_0x28b2bb,_0x380604-_0x1c3553._0x341c51);}const _0x58095f=new URL(_0x362055);return _0x58095f['hostname']=_0x6bd45c,normalizeGatewayQrUrl(_0x58095f[_0x4103e6(0x248,_0x2bc7a4._0x3388a6)]())[_0x4103e6(_0x2bc7a4._0x58a09d,-0x6)];}function detectLanIp(){const _0xfc5af5={_0x156d24:0x538},_0x2ba3ed={_0x46d2a0:0x6ba},_0x3823e9={};function _0x3d4bb8(_0x54a5d1,_0x11cf14){return _0xb2a5b9(_0x54a5d1,_0x11cf14-_0x2ba3ed._0x46d2a0);}_0x3823e9['bUmzI']=function(_0x4a2647,_0x48ec87){return _0x4a2647===_0x48ec87;};const _0x5f4d6d=_0x3823e9,_0x3a240b=networkInterfaces();let _0x23c621=null;function _0x4956e6(_0xa51121,_0x3bb3bc){return _0xb2a5b9(_0xa51121,_0x3bb3bc-0x40e);}for(const [_0x5878bf,_0x2454b0]of Object['entries'](_0x3a240b)){for(const _0x19f317 of _0x2454b0??[]){if(_0x19f317[_0x4956e6(0x5be,0x398)]!=='IPv4')continue;const _0x5712ad=scoreLanCandidate(_0x5878bf,_0x19f317['address']);if(_0x5f4d6d[_0x3d4bb8(0x335,0x567)](_0x5712ad,0x0))continue;if(!_0x23c621||_0x5712ad>_0x23c621['score']){const _0x30848c={};_0x30848c[_0x3d4bb8(0x69b,_0xfc5af5._0x156d24)]=_0x5712ad,_0x30848c['ip']=_0x19f317[_0x3d4bb8(0x755,0x7b2)],_0x23c621=_0x30848c;}}}return _0x23c621?.['ip']??null;}function scoreLanCandidate(_0x497545,_0x172658){const _0xc114f={_0x236dcc:0x322,_0x171eee:0x15d,_0x1cf4f7:0xd2,_0x39e050:0x336,_0x57ec7b:0x282,_0x191990:0x204,_0x2789e1:0xec,_0x1a05b8:0x1a5,_0x23f74c:0x7e},_0x3b12f1={_0x1bcc35:0x1a8},_0x277d13={_0x5b0066:0x22};function _0x10ff54(_0x405035,_0x2e9b1f){return _0x3a90bd(_0x2e9b1f,_0x405035-_0x277d13._0x5b0066);}const _0x542469={'cATHe':function(_0xa3ada4,_0xdb1314){return _0xa3ada4(_0xdb1314);},'WojFw':'wifi'};if(!isLanIpv4(_0x172658))return 0x0;function _0x5925a6(_0x5bc87d,_0x215438){return _0x3a90bd(_0x215438,_0x5bc87d-_0x3b12f1._0x1bcc35);}const _0x47983a=_0x497545[_0x5925a6(_0xc114f._0x236dcc,_0xc114f._0x171eee)+_0x10ff54(-_0xc114f._0x1cf4f7,-_0xc114f._0x39e050)]();if(BLOCKED_INTERFACE_TOKENS[_0x10ff54(-0x4,-_0xc114f._0x57ec7b)](_0x54d907=>_0x47983a['includes'](_0x54d907)))return 0x0;let _0xc578e=_0x542469[_0x5925a6(0x76,-0x80)](isRfc1918,_0x172658)?0x78:isCgnat(_0x172658)?0x5a:0x28;return(_0x47983a[_0x10ff54(-0x204,-0x2de)+'th']('en')||_0x47983a[_0x10ff54(-_0xc114f._0x191990,-_0xc114f._0x2789e1)+'th']('eth')||_0x47983a['startsWi'+'th'](_0x10ff54(-_0xc114f._0x1a05b8,-0x236))||_0x47983a[_0x5925a6(-_0xc114f._0x23f74c,0xcd)+'th']('wl')||_0x47983a['includes'](_0x542469['WojFw'])||_0x47983a[_0x5925a6(0xa5,0xb4)]('wi-fi'))&&(_0xc578e+=0x14),_0xc578e;}function resolveLocalPairAuth(_0x1f1e52){const _0x21c23b={_0x1cac93:0x3fd,_0x1ce9d1:0x2bc,_0x5405df:0x698,_0x18b00e:0x456,_0x1a83e9:0x637,_0x3d0014:0x4b6,_0x1f20a1:0x59f,_0x1c9ee4:0x284,_0x1f9dea:0x485,_0x326a0b:0x511,_0x5d4b53:0x420,_0x1be4a2:0x1e1,_0x5a55e0:0x415,_0x1c526d:0x16d,_0x49c2c2:0x310,_0x2b81da:0x374},_0x82ce6d={_0x53294f:0x1ec};function _0x10138b(_0xaf6490,_0x49642e){return _0xb2a5b9(_0x49642e,_0xaf6490-0x39e);}function _0x31527c(_0x460f07,_0x273e65){return _0xb2a5b9(_0x460f07,_0x273e65-_0x82ce6d._0x53294f);}if(_0x1f1e52['gatewayT'+'oken']?.['trim']())return{'mode':_0x10138b(_0x21c23b._0x1cac93,_0x21c23b._0x1ce9d1),'token':_0x1f1e52['gatewayT'+_0x10138b(_0x21c23b._0x5405df,_0x21c23b._0x18b00e)][_0x10138b(_0x21c23b._0x1a83e9,0x76d)](),'password':null};if(_0x1f1e52[_0x10138b(_0x21c23b._0x3d0014,_0x21c23b._0x1f20a1)+_0x10138b(0x2f6,0x2f4)]?.['trim']())return{'mode':_0x31527c(0x4f0,0x4ab),'token':null,'password':_0x1f1e52[_0x31527c(0x2e1,0x304)+_0x10138b(0x2f6,0x3d6)][_0x31527c(_0x21c23b._0x1c9ee4,_0x21c23b._0x1f9dea)]()};throw new Error(_0x10138b(0x375,0x225)+_0x31527c(0x439,0x35f)+_0x31527c(_0x21c23b._0x326a0b,_0x21c23b._0x5d4b53)+'\x20missing'+_0x31527c(_0x21c23b._0x1be4a2,_0x21c23b._0x5a55e0)+_0x10138b(_0x21c23b._0x1c526d,0x53)+_0x31527c(_0x21c23b._0x49c2c2,_0x21c23b._0x2b81da));}function isLanIpv4(_0x525106){const _0x24c2bb={_0x189836:0x5dd,_0x1bdd91:0x5d4,_0x190f9a:0x4f9,_0xd52fa9:0xb5,_0x3e1684:0x263,_0x224f0a:0x945,_0x249a8b:0x590,_0x5b6cfe:0x606,_0x13f37b:0x50c,_0x9383bb:0x4d7,_0x55217a:0x723,_0x4ce128:0x6cf},_0x1a8ddc={_0x3d6303:0x596},_0x1bf301={};_0x1bf301['ogHXI']=function(_0x3fb622,_0x5ada81){return _0x3fb622<=_0x5ada81;};function _0x93a19f(_0x3a83e2,_0x7ec13){return _0xb2a5b9(_0x7ec13,_0x3a83e2-_0x1a8ddc._0x3d6303);}_0x1bf301[_0x41cc9e(_0x24c2bb._0x189836,_0x24c2bb._0x1bdd91)]=function(_0x360bcf,_0x520983){return _0x360bcf===_0x520983;},_0x1bf301[_0x93a19f(0x4d7,0x452)]=function(_0x319c04,_0x3376a2){return _0x319c04===_0x3376a2;},_0x1bf301[_0x41cc9e(0x269,_0x24c2bb._0x190f9a)]=function(_0x7f7a0d,_0x8752fd){return _0x7f7a0d===_0x8752fd;};const _0x435a22=_0x1bf301;if(!isValidIpv4(_0x525106))return![];if(_0x525106===_0x41cc9e(_0x24c2bb._0xd52fa9,_0x24c2bb._0x3e1684))return![];function _0x41cc9e(_0x17c6a9,_0xaa04f9){return _0xb2a5b9(_0x17c6a9,_0xaa04f9-0x489);}const [_0x5ce264,_0x300e40,_0x23372e,_0x58d5b3]=_0x525106['split']('.')[_0x93a19f(0x71f,_0x24c2bb._0x224f0a)](Number);if(_0x5ce264===0x7f)return![];if(_0x5ce264===0xa9&&_0x300e40===0xfe)return![];if(_0x5ce264>=0xe0&&_0x435a22[_0x93a19f(_0x24c2bb._0x249a8b,_0x24c2bb._0x5b6cfe)](_0x5ce264,0xef))return![];if(_0x435a22[_0x41cc9e(_0x24c2bb._0x13f37b,0x5d4)](_0x5ce264,0xff)&&_0x435a22['VCBoq'](_0x300e40,0xff)&&_0x435a22['VCBoq'](_0x23372e,0xff)&&_0x58d5b3===0xff)return![];if(_0x435a22[_0x93a19f(_0x24c2bb._0x9383bb,_0x24c2bb._0x55217a)](_0x5ce264,0xc6)&&(_0x300e40===0x12||_0x435a22[_0x41cc9e(_0x24c2bb._0x4ce128,0x4f9)](_0x300e40,0x13)))return![];return isRfc1918(_0x525106)||isCgnat(_0x525106);}function isRfc1918(_0x308077){const _0x19ecd5={_0x20948a:0x420,_0x2b9ea5:0x256,_0xbdac32:0x621},_0x2ffe5a={_0x4961ad:0x452},_0x42a046={_0x467ae8:0x5f2},_0x332514={};function _0x2943fb(_0x3a31fa,_0x5a57aa){return _0xb2a5b9(_0x3a31fa,_0x5a57aa-_0x42a046._0x467ae8);}_0x332514[_0x2ee3ca(_0x19ecd5._0x20948a,_0x19ecd5._0x2b9ea5)]=function(_0x1729b9,_0x4f509d){return _0x1729b9>=_0x4f509d;};const _0xfae635=_0x332514;function _0x2ee3ca(_0x46956a,_0x40f79b){return _0xb2a5b9(_0x46956a,_0x40f79b-_0x2ffe5a._0x4961ad);}const [_0x41b4fa,_0x4c43ca]=_0x308077[_0x2ee3ca(0x6ed,_0x19ecd5._0xbdac32)]('.')['map'](Number);return _0x41b4fa===0xa||_0x41b4fa===0xac&&_0xfae635['RslAi'](_0x4c43ca,0x10)&&_0x4c43ca<=0x1f||_0x41b4fa===0xc0&&_0x4c43ca===0xa8;}function isCgnat(_0x534db3){const _0x6f24c8={_0x16d54f:0x742};function _0x565f06(_0x1299da,_0x19e233){return _0x3a90bd(_0x19e233,_0x1299da-_0x6f24c8._0x16d54f);}const _0x3b7b26={};_0x3b7b26[_0x565f06(0x805,0x5dc)]=function(_0x985814,_0x1c81b5){return _0x985814<=_0x1c81b5;};function _0x29df76(_0x146841,_0x36b780){return _0x3a90bd(_0x146841,_0x36b780-0x75);}const _0x1354b3=_0x3b7b26,[_0x5ad106,_0x47fa0e]=_0x534db3[_0x29df76(-0xb,0x23d)]('.')['map'](Number);return _0x5ad106===0x64&&_0x47fa0e>=0x40&&_0x1354b3[_0x29df76(0x270,0x138)](_0x47fa0e,0x7f);}function isValidIpv4(_0x1b1de5){const _0x509741={_0x3655e6:0x506,_0x4853d6:0x2ea},_0x11f78b={_0x42ce2c:0x14};function _0x243801(_0x482801,_0x367cb7){return _0x3a90bd(_0x367cb7,_0x482801-0x47f);}function _0x25130f(_0xd80897,_0x2ece80){return _0x3a90bd(_0xd80897,_0x2ece80-_0x11f78b._0x42ce2c);}const _0x588e17=_0x1b1de5['split']('.');return _0x588e17[_0x243801(_0x509741._0x3655e6,0x3d7)]===0x4&&_0x588e17[_0x25130f(_0x509741._0x4853d6,0x295)](_0x252a49=>{if(!/^\d+$/['test'](_0x252a49))return![];const _0x127318=Number(_0x252a49);return _0x127318>=0x0&&_0x127318<=0xff;});}import{readFileSync as _0x1e414f}from'fs';import{dirname as _0x4c7487,resolve}from'path';import{fileURLToPath}from'url';function readCliVersion(){const _0x744fc4={_0x5afe90:0x394,_0x48af8c:0x61b,_0x310a5c:0x3bf,_0x2a861b:0x19c},_0x38eddf={};_0x38eddf[_0x1b082d(_0x744fc4._0x5afe90,_0x744fc4._0x48af8c)]='unknown';const _0x1a439d=_0x38eddf,_0x3a28fc=_0x4c7487(fileURLToPath(import.meta.url)),_0x358562=resolve(_0x3a28fc,_0x8bce1c(0x49a,0x29c)+_0x1b082d(0x61e,0x398)),_0x282115=_0x1e414f(_0x358562,'utf8');function _0x1b082d(_0x378812,_0x22a644){return _0xb2a5b9(_0x22a644,_0x378812-0x498);}const _0x1cd0fb=JSON[_0x1b082d(0x789,0x4eb)](_0x282115);function _0x8bce1c(_0xd0e3bd,_0x40acc4){return _0xb2a5b9(_0x40acc4,_0xd0e3bd-0x5a0);}return _0x1cd0fb[_0x1b082d(_0x744fc4._0x310a5c,_0x744fc4._0x2a861b)]??_0x1a439d[_0x8bce1c(0x49c,0x20b)];}function buildPairingJson(_0x1bde21,_0x1f3aa8,_0x2fb131,_0x5b4930){const _0xe73f8c={_0x3be797:0x278,_0x18b1ee:0x69d,_0x127646:0x517,_0x4cf3eb:0x6a4,_0xc67504:0x5db,_0xf38bef:0x848,_0x22faa2:0x58e,_0x43132b:0x3ac,_0x86ea83:0x4cd,_0x48e6d1:0x3ba,_0x345c9f:0x349,_0x3d01cc:0x3c7,_0x37b069:0x605,_0x1cb5b4:0x3d4,_0x56b72e:0x620,_0xd0dbe3:0x4a6,_0x325642:0x730,_0x5810f2:0x212,_0x323890:0x1d4,_0x1b8b5a:0x3aa,_0x38e859:0x5e0,_0x530bb1:0x47d,_0x389682:0x33a,_0x4d2432:0x5ed,_0x3b9f93:0x5b6,_0x43eebe:0x5f4,_0x4acb51:0x384,_0x635e73:0x848,_0x258365:0x42a},_0xfdb89={_0x42dc0a:0x2ff},_0x3c76e6={};_0x3c76e6['installe'+'d']=_0x2fb131[_0x4db218(_0xe73f8c._0x3be797,0x27a)+'d'],_0x3c76e6[_0x423d3d(_0xe73f8c._0x18b1ee,0x6f3)]=_0x2fb131[_0x4db218(0x466,0x66c)];function _0x423d3d(_0x1913d5,_0x19bd0c){return _0xb2a5b9(_0x1913d5,_0x19bd0c-0x58c);}_0x3c76e6[_0x4db218(_0xe73f8c._0x127646,_0xe73f8c._0x4cf3eb)]=_0x2fb131[_0x423d3d(0x7bf,0x7a4)],_0x3c76e6[_0x4db218(0x28c,0x4bc)+_0x423d3d(_0xe73f8c._0xc67504,_0xe73f8c._0xf38bef)]=_0x2fb131['serviceP'+_0x4db218(0x5bb,0x4e2)],_0x3c76e6[_0x423d3d(0x845,0x65a)]=_0x2fb131[_0x423d3d(0x4fc,0x65a)],_0x3c76e6[_0x4db218(0x31a,_0xe73f8c._0x22faa2)+_0x4db218(_0xe73f8c._0x43132b,_0xe73f8c._0x86ea83)]=_0x2fb131['errorLog'+_0x4db218(0x3ac,_0xe73f8c._0x48e6d1)],_0x3c76e6[_0x4db218(0x48f,0x403)]=_0x2fb131['pid'];const _0x99b113={};_0x99b113['ok']=!![],_0x99b113['action']=_0x1bde21[_0x423d3d(_0xe73f8c._0x345c9f,_0xe73f8c._0x3d01cc)],_0x99b113['message']=_0x5b4930,_0x99b113[_0x423d3d(_0xe73f8c._0x37b069,0x37b)+'d']=_0x1bde21[_0x423d3d(0x3d6,0x661)][_0x4db218(0xee,-0x12b)+'d'],_0x99b113[_0x4db218(0x43b,0x4d9)]=_0x1bde21[_0x4db218(_0xe73f8c._0x1cb5b4,_0xe73f8c._0x56b72e)][_0x4db218(0x43b,0x587)],_0x99b113[_0x423d3d(0x5b5,0x52c)+'l']=_0x1bde21[_0x4db218(0x3d4,_0xe73f8c._0xd0dbe3)][_0x423d3d(_0xe73f8c._0x325642,0x52c)+'l'],_0x99b113[_0x423d3d(_0xe73f8c._0x5810f2,0x359)+'Id']=_0x1bde21['config'][_0x423d3d(_0xe73f8c._0x323890,0x359)+'Id'];function _0x4db218(_0x16ae07,_0x27b426){return _0xb2a5b9(_0x27b426,_0x16ae07-_0xfdb89._0x42dc0a);}return _0x99b113['accessCo'+'de']=_0x1bde21[_0x423d3d(_0xe73f8c._0x1b8b5a,_0xe73f8c._0x38e859)+'de'],_0x99b113[_0x4db218(0x353,0x2db)+'deExpire'+_0x4db218(0x329,_0xe73f8c._0x530bb1)]=_0x1bde21[_0x423d3d(_0xe73f8c._0x389682,_0xe73f8c._0x38e859)+_0x423d3d(0x733,_0xe73f8c._0x4d2432)+_0x423d3d(0x371,_0xe73f8c._0x3b9f93)],_0x99b113[_0x423d3d(_0xe73f8c._0x43eebe,_0xe73f8c._0x4acb51)+_0x423d3d(0xaef,_0xe73f8c._0x635e73)]=_0x1f3aa8,_0x99b113[_0x4db218(_0xe73f8c._0x258365,0x3f8)]=_0x3c76e6,_0x99b113;}function buildLocalPairingJson(_0x5be4aa){const _0x2716a1={_0x55c225:0x2ce,_0x364b89:0x4e0,_0xa02912:0xff,_0x2ae852:0x18c,_0xbdd6ff:0x304,_0x121bd3:0x1c7,_0x13e1f9:0x256,_0x4ad7d2:0x1ff,_0x111051:0x198,_0x1078b5:0x135,_0x19c76b:0xdf,_0x5baab6:0x249,_0x91d5fb:0xda,_0x530c29:0x59b},_0x2685e5={_0xd9c997:0x103};function _0x4a6e10(_0x21fe11,_0x4f7308){return _0xb2a5b9(_0x21fe11,_0x4f7308-0x2df);}const _0x43cda0={};_0x43cda0[_0x4a6e10(_0x2716a1._0x55c225,_0x2716a1._0x364b89)]='local';function _0x159b22(_0x20f3b4,_0x1145c3){return _0xb2a5b9(_0x20f3b4,_0x1145c3-_0x2685e5._0xd9c997);}const _0x5c2b65=_0x43cda0,_0x5ca4d1={};return _0x5ca4d1['ok']=!![],_0x5ca4d1[_0x4a6e10(_0x2716a1._0xa02912,0x11a)]=_0x5c2b65[_0x159b22(_0x2716a1._0x2ae852,_0x2716a1._0xbdd6ff)],_0x5ca4d1['message']=_0x5be4aa[_0x159b22(-_0x2716a1._0x121bd3,-0x3f)],_0x5ca4d1[_0x159b22(0x1a5,_0x2716a1._0x13e1f9)+'rl']=_0x5be4aa[_0x4a6e10(0x486,0x432)+'rl'],_0x5ca4d1[_0x4a6e10(0x20f,_0x2716a1._0x4ad7d2)]=_0x5be4aa[_0x4a6e10(0x1a2,0x1ff)],_0x5ca4d1[_0x159b22(-_0x2716a1._0x111051,-_0x2716a1._0x1078b5)+'t']=_0x5be4aa[_0x4a6e10(-_0x2716a1._0x19c76b,0xa7)+'t'],_0x5ca4d1[_0x4a6e10(0x62,0xd7)+_0x159b22(_0x2716a1._0x5baab6,0x3bf)]=_0x5be4aa[_0x159b22(-_0x2716a1._0x91d5fb,-0x105)+_0x4a6e10(0x429,_0x2716a1._0x530c29)],_0x5ca4d1;}function _0xb2a5b9(_0x1d6524,_0x3bef85){return _0x346a(_0x3bef85- -0x36d,_0x1d6524);}import{mkdirSync as _0x203a4f,writeFileSync as _0x3c593}from'fs';import{dirname as _0x6ca6ae,isAbsolute,join as _0xbf861c,resolve as _0x19bcfa}from'path';import _0xf4f66e from'qrcode';var DEFAULT_QR_DIR=getOpenClawMediaDir();async function writePairingQrPng(_0x4c63df,_0x34f9a9){const _0x27a6fb={_0x41725f:0x73b,_0x2a0b23:0x8c2,_0x3edc6f:0xa46,_0x1b76ff:0x86e},_0x1aee6d={_0x1001b7:0x663},_0xa00b5a={_0x480d72:0x1c3},_0x4cceba={'jFNmc':function(_0x8d6062,_0x1a8543,_0xe63ce3){return _0x8d6062(_0x1a8543,_0xe63ce3);}},_0x6ea2c7=resolveQrOutputPath(_0x4c63df[_0x27c08b(0x291,0x27d)][_0x27c08b(-0x55,0x8b)+'d'],_0x34f9a9);function _0x27c08b(_0x3792ff,_0x41c9a6){return _0x3a90bd(_0x41c9a6,_0x3792ff-_0xa00b5a._0x480d72);}function _0x2a1c27(_0x4994b0,_0x22c091){return _0x3a90bd(_0x4994b0,_0x22c091-_0x1aee6d._0x1001b7);}return _0x4cceba[_0x2a1c27(_0x27a6fb._0x41725f,_0x27a6fb._0x2a0b23)](writeQrPng,_0x4c63df[_0x2a1c27(_0x27a6fb._0x3edc6f,_0x27a6fb._0x1b76ff)+'d'],_0x6ea2c7);}async function writeRawQrPng(_0x233560,_0x7b1fd,_0x58ddb9){const _0xaaf6be={_0x537de6:0x2ea,_0x28c581:0x1c8},_0x22fe0f={_0x1e1010:0x103},_0x3a6d02={'DjHkF':function(_0x3ed640,_0x38f56e,_0x56c21d){return _0x3ed640(_0x38f56e,_0x56c21d);}};function _0x9bfe2e(_0xf60aab,_0x47adc9){return _0x3a90bd(_0xf60aab,_0x47adc9-_0x22fe0f._0x1e1010);}const _0x438d5a=resolveQrOutputPath(_0x7b1fd,_0x58ddb9);return _0x3a6d02[_0x9bfe2e(_0xaaf6be._0x537de6,_0xaaf6be._0x28c581)](writeQrPng,_0x233560,_0x438d5a);}async function writeQrPng(_0x4fa99e,_0x479ac4){const _0x3fa8b3={_0x917c16:0x5a2,_0x5aeabe:0x749,_0x3062db:0x43e,_0x4f1ebd:0x584,_0x1ddef3:0x7eb,_0x212ca1:0x95c,_0x43248d:0x8e0,_0x51d112:0xb1c,_0x2d0e00:0x437,_0x52c7d4:0xa98,_0x505b1e:0x84c,_0x5b7924:0x5fe},_0x8f5801={_0x6d8717:0x66a},_0x24a0fa={};_0x24a0fa[_0x3b47fd(0x6fc,_0x3fa8b3._0x917c16)]=_0x4df671(0x398,0x522)+'g',_0x24a0fa[_0x4df671(_0x3fa8b3._0x5aeabe,0x9a9)]=_0x4df671(0x45f,0x421);function _0x3b47fd(_0x92f6cf,_0xe171c5){return _0xb2a5b9(_0x92f6cf,_0xe171c5-_0x8f5801._0x6d8717);}const _0x52a76a=_0x24a0fa,_0x3719da={};function _0x4df671(_0x63df6d,_0x28fe9d){return _0xb2a5b9(_0x28fe9d,_0x63df6d-0x585);}_0x3719da[_0x4df671(_0x3fa8b3._0x3062db,0x4a7)+'e']=!![],_0x203a4f(_0x6ca6ae(_0x479ac4),_0x3719da);const _0x1857f3={};_0x1857f3[_0x3b47fd(_0x3fa8b3._0x4f1ebd,0x76c)]=_0x52a76a[_0x3b47fd(0x325,0x5a2)],_0x1857f3[_0x4df671(0x6d5,_0x3fa8b3._0x1ddef3)+_0x3b47fd(0xb43,_0x3fa8b3._0x212ca1)+_0x3b47fd(_0x3fa8b3._0x43248d,0x8b2)]='M',_0x1857f3[_0x3b47fd(_0x3fa8b3._0x51d112,0x944)]=0x1,_0x1857f3[_0x4df671(_0x3fa8b3._0x2d0e00,0x699)]=0x2d0;const _0x488f44=await _0xf4f66e[_0x3b47fd(_0x3fa8b3._0x52c7d4,_0x3fa8b3._0x505b1e)+'L'](_0x4fa99e,_0x1857f3),_0x2dc3f7=_0x488f44['replace'](/^data:image\/png;base64,/,'');return _0x3c593(_0x479ac4,Buffer[_0x4df671(0x656,0x893)](_0x2dc3f7,_0x52a76a[_0x3b47fd(_0x3fa8b3._0x5b7924,0x82e)])),_0x479ac4;}function resolveQrOutputPath(_0x15acba,_0x11c7ea){const _0x8fee8e={_0x4acf05:0x6cc},_0x1090e3={'kpQYd':function(_0x968363,_0x4e7a0b,_0x2703cc){return _0x968363(_0x4e7a0b,_0x2703cc);}},_0x345d20=_0x11c7ea?.[_0x4b490b(0x85d,_0x8fee8e._0x4acf05)]();if(_0x345d20)return isAbsolute(_0x345d20)?_0x345d20:_0x19bcfa(_0x345d20);function _0x4b490b(_0x4150e7,_0x3cbe73){return _0x3a90bd(_0x3cbe73,_0x4150e7-0x5cb);}return _0x1090e3['kpQYd'](_0xbf861c,DEFAULT_QR_DIR,_0x15acba+'.png');}function decidePairServiceAction(_0x46d40f,_0x472c19){const _0x25d34e={_0xd4b4b:0x801,_0x1140e1:0x6a,_0x1a72ab:0x51b,_0x3f2897:0x5e4,_0x1ad719:0x4cd,_0x206e21:0x688,_0x23a52b:0xc7,_0x16369f:0x15b},_0x8d5f9={_0xd43ac4:0x554},_0x10421f={_0x5e5df0:0x4a},_0x20a29c={};_0x20a29c[_0x3e1aa4(_0x25d34e._0xd4b4b,0x5d2)]='register'+'ed';function _0xaf40ec(_0x25d3db,_0x2cf3ff){return _0xb2a5b9(_0x2cf3ff,_0x25d3db- -_0x10421f._0x5e5df0);}function _0x3e1aa4(_0xece0c5,_0x5971d9){return _0xb2a5b9(_0x5971d9,_0xece0c5-_0x8d5f9._0xd43ac4);}_0x20a29c[_0xaf40ec(0xa7,-_0x25d34e._0x1140e1)]=_0x3e1aa4(_0x25d34e._0x1a72ab,_0x25d34e._0x3f2897);const _0x423976=_0x20a29c;if(!_0x472c19[_0x3e1aa4(_0x25d34e._0x1ad719,_0x25d34e._0x206e21)+'d'])return'install';if(!_0x472c19[_0xaf40ec(0x11d,-_0x25d34e._0x23a52b)])return'restart';if(_0x46d40f[_0x3e1aa4(0x38f,0x432)]===_0x423976['YDpfc'])return'restart';return _0x423976[_0xaf40ec(0xa7,-_0x25d34e._0x16369f)];}async function main(){const _0x9755ff={_0x4382c0:0x396,_0x2f524c:0x184,_0xe81ace:0xf2,_0x2edee1:0x5cc,_0x47a349:0x750,_0x20ac9b:0x34c,_0x5f5543:0x26e,_0x10983a:0x622,_0x56389f:0x24d,_0x578d02:0x306,_0x22f6ed:0x190,_0x2b4913:0x358,_0x14fde2:0x3,_0x3f58cf:0x72,_0x4ee8d2:0x3ec,_0x2ec5da:0x3ff,_0xaf669:0x157,_0x2d507f:0x127,_0x21abbb:0x3cb,_0x49b9c6:0x1fa,_0xcd8494:0x213,_0x288a07:0x14e,_0x5c5dad:0x2d2,_0x127741:0x7e,_0x2d68ce:0x7fc,_0x2b41ea:0x5f2,_0x186739:0x625,_0xbbd43b:0xae,_0x4f6e23:0xf4,_0x2183e0:0x210,_0xfc4718:0x409,_0xb15445:0x232,_0x14dcc7:0x585,_0x3f7a56:0x465,_0x339634:0x249,_0x546f7f:0x1b3,_0x5d176b:0x19b,_0x4f50c7:0x60c,_0x4dfbbd:0x5e5,_0x47bd27:0x29b,_0x113233:0x54d,_0x1f96c2:0x4cd,_0x20979d:0x31a,_0x5626f0:0x70,_0x527c41:0x1c2,_0x205e8c:0xb0,_0x1a03df:0x1f2,_0x49f829:0x2e7,_0x49f275:0x6b6,_0x36dcd5:0x4f6,_0x18dbdd:0x6c5,_0x43ddec:0x78a,_0x420aec:0x296,_0xa6842c:0x44,_0x108ab4:0x367,_0x4251d0:0x1af,_0x54ffee:0x2d7,_0x59b76f:0x95,_0x1aecc3:0x5c,_0x4f127b:0xfc,_0x3cc5d1:0x4c4,_0x5ac94a:0x1b5,_0x5b5cef:0x1e6,_0x218442:0x38f,_0x14920e:0xe7,_0x266525:0x124,_0x37beaf:0x628,_0x407c3c:0x48c,_0x12964f:0x492,_0x1b1416:0x18a,_0x34860c:0xd2,_0x3f9f33:0x103,_0x329194:0x11e,_0xbdb769:0x2b6,_0x1bf62c:0x206,_0x101d73:0x134,_0x157e01:0x125,_0x12bf92:0x426,_0xe8641c:0x29d,_0x443257:0xff,_0x33e245:0x246,_0x10993a:0x648,_0x52ddbe:0x3ad,_0x190582:0x209,_0x5ae5c4:0x38b,_0x31a46c:0x5ed,_0x44d1d6:0x792,_0x5a591c:0x3e5,_0x494ede:0x22c,_0x33dd03:0x1eb,_0xb602e7:0x36b,_0x151ca6:0x579,_0x35cb7a:0x3bf,_0x5585dc:0x3a1,_0x442601:0x235,_0x125498:0x60a,_0x5f15e6:0x5f3,_0x4cdcb1:0x223,_0x45e5e0:0x1aa,_0x6ce754:0x2a6,_0xb1ca3e:0x44d,_0x48c585:0x697,_0x29c5f4:0x163,_0x48181e:0x3b0,_0x462bb7:0x4ce,_0x8522c6:0x35c,_0x5bf6e0:0x246,_0x43344b:0x68,_0x3c7415:0x4c,_0x21d91b:0x1ee,_0x1caaac:0x355,_0x1d88e2:0x32d,_0x1c0d61:0x248,_0x444ea1:0x2d8,_0x3a7fa1:0x333,_0xa901fc:0x49c,_0x1de491:0xae,_0x1ca163:0x6f,_0x230732:0x3be,_0x5af5f9:0x185,_0x2153bf:0x1c5,_0x214a43:0x15,_0x417b66:0x435,_0x280fb9:0xc1,_0x1ad6b7:0x225,_0x10b816:0x48,_0x54e8a:0x436,_0x2149f3:0x1fd,_0x3d7488:0x94,_0x505f3c:0x31b,_0x257b0c:0x6d,_0x36b610:0x1b3,_0x5b6343:0x6b1,_0x555a83:0x404,_0x570fe3:0x131,_0xd57d10:0x17b,_0x1e50f0:0xd,_0x5c2120:0xcf,_0xf945f:0xd5,_0x3b323f:0x36c,_0x26e6a2:0x209,_0x3b4e7:0x65f,_0xc8e83b:0x2aa,_0x1660a6:0xd,_0x229c2a:0x220,_0x3e3591:0x4ae,_0x39bc0f:0x2af,_0x13af48:0xb5,_0x12d4b5:0x20d,_0x56d85c:0xb5,_0x2fb68d:0x36d,_0x5b5950:0xdb,_0x298e3e:0x458,_0x403876:0x6a2,_0x501e36:0x624,_0x3e5cda:0x24e,_0x3a2eaa:0x27f,_0x3ba8b1:0x5ff,_0x1a7584:0x367,_0x3221b3:0x1af,_0x192210:0x47d,_0x4b203f:0x77a,_0x448cdc:0x5bc,_0x496e13:0x345,_0x1f2acc:0x230,_0x2c7a0b:0x16c,_0x526bdb:0x10e,_0x46c9f5:0xb3,_0x1fe06d:0x39,_0xfaf3be:0xad,_0x29ee8:0x3d3,_0x49facb:0x3d1,_0x3bfb8c:0x444,_0xbdf4e8:0x488,_0x4deb95:0x6ab,_0x2c86db:0x16d,_0x44aa7e:0x6ce,_0x403511:0x85e,_0x53e75e:0x361,_0x3c6c10:0x3e,_0x15fd9f:0x11b,_0x4eaae3:0x3fc,_0x8e924d:0x62c,_0x290ceb:0x1f4,_0x3f8a8c:0x18e,_0x9ca022:0x5f1,_0x187088:0x1d,_0x7e753f:0x4b0,_0x16ae8f:0x270,_0x342d55:0x406,_0x35ffa0:0x390,_0x673369:0xf0,_0x1b4fa9:0x8f,_0x27c530:0x209,_0x1a8d8e:0x46d,_0x594fbf:0x356,_0x444c85:0x617,_0x592e8c:0x41e,_0x42e5ff:0x29a,_0x532fa6:0x6c2,_0x56d90d:0x1e9,_0x2e2dca:0x1c7,_0x289c38:0x83,_0x344212:0x2ea,_0x7e1a03:0x2da,_0x498a04:0x9c,_0x4b92b1:0x34a},_0x13c611={_0x593a12:0x1e3,_0x39c304:0xc9,_0x4115b1:0x1e3,_0x5359e3:0x34c,_0x3a6eee:0x223,_0x53fd94:0xd2,_0xe70e74:0x1aa,_0xc34a97:0x6c},_0x14ab2d={_0x18a694:0x20a,_0x4978e1:0xb8,_0x158ce7:0x37c,_0x5a4345:0x41c,_0x4c0d82:0x8ba,_0x14ed48:0xdc},_0x1f1f40={_0x406d60:0x1f4,_0x4e03e8:0x53,_0x350c5e:0x21c,_0x5c8637:0x330,_0x599c9f:0x5a1,_0x1b2f15:0x33e,_0xf9baf:0xd,_0x4b71c2:0x1ff,_0x29da2c:0x556,_0x12aa07:0x706,_0x40a763:0x4a7,_0x32b500:0x3d5,_0x4756f7:0x5f6,_0x1cc13f:0x485,_0x1a8ba0:0x2ef,_0xa01b46:0x456},_0x30120a={_0x580be8:0x4bf},_0x26a2e9={_0x40e847:0x401},_0x51c9ba={'FBVpi':_0x1b5ab4(0x1c6,0x3cb),'KMQOw':function(_0x430efb,_0x121d0c){return _0x430efb(_0x121d0c);},'XlsMi':'<unknown'+'>','PuJyC':function(_0x1599f0,_0x8a1634){return _0x1599f0(_0x8a1634);},'Sbvqe':_0x1b5ab4(0x50f,0x3af),'lxGwh':function(_0x485aaf,_0x2f6a07,_0x2cbefb){return _0x485aaf(_0x2f6a07,_0x2cbefb);},'QAdTW':_0x1b5ab4(0x3f3,_0x9755ff._0x4382c0)+'e','aRbQc':function(_0x6e6fc3,_0x323450){return _0x6e6fc3===_0x323450;},'GtVWF':function(_0x13a3ff,_0x58edca){return _0x13a3ff===_0x58edca;},'SdFPL':function(_0x34effa){return _0x34effa();},'mNBas':_0x1b5ab4(_0x9755ff._0x2f524c,_0x9755ff._0xe81ace),'qCqKR':function(_0x209e9,_0x16ea4e,_0x53b962,_0x290ad9){return _0x209e9(_0x16ea4e,_0x53b962,_0x290ad9);},'LnRwW':_0x2a8e41(0x3c4,0x57c)+_0x2a8e41(_0x9755ff._0x2edee1,_0x9755ff._0x47a349)+'ir','xILmw':function(_0xc930c1,_0x1e96a2,_0x361f57,_0x109d19,_0x1733e2,_0x35ed19,_0x544e56){return _0xc930c1(_0x1e96a2,_0x361f57,_0x109d19,_0x1733e2,_0x35ed19,_0x544e56);},'iSzNI':function(_0xe25623,_0x169cf8,_0x21c2d5){return _0xe25623(_0x169cf8,_0x21c2d5);},'QXzUJ':function(_0x854faa,_0x28179f){return _0x854faa in _0x28179f;},'HUJnG':'--name','gvwOM':_0x2a8e41(0x249,_0x9755ff._0x20ac9b)+'e','TorZa':function(_0x56214d,_0x226ac9,_0x2e244d){return _0x56214d(_0x226ac9,_0x2e244d);},'cFnDD':_0x1b5ab4(0x1f3,0x32f)+_0x2a8e41(0x3e5,_0x9755ff._0x5f5543)+_0x2a8e41(_0x9755ff._0x10983a,0x547)+_0x2a8e41(0x39b,_0x9755ff._0x56389f)+_0x2a8e41(_0x9755ff._0x578d02,_0x9755ff._0x22f6ed)+_0x2a8e41(0x22c,_0x9755ff._0x2b4913)+_0x1b5ab4(_0x9755ff._0x14fde2,-0x6b),'VPNdn':function(_0x5876e6,_0x17a72c){return _0x5876e6===_0x17a72c;},'HVHgG':_0x1b5ab4(-0x219,_0x9755ff._0x3f58cf),'FAXDa':function(_0x34cc09,_0x2366ac,_0x2cd59b){return _0x34cc09(_0x2366ac,_0x2cd59b);},'WElWC':function(_0x49454b){return _0x49454b();},'Wvoet':function(_0x580f62,_0x53d03f){return _0x580f62 in _0x53d03f;},'hMuon':function(_0xe449c2){return _0xe449c2();},'BjNCv':function(_0x353895){return _0x353895();},'qdnjQ':_0x1b5ab4(_0x9755ff._0x4ee8d2,0x1b4),'uzFRy':_0x1b5ab4(0x616,_0x9755ff._0x2ec5da)+'backgrou'+_0x1b5ab4(_0x9755ff._0xaf669,_0x9755ff._0x2d507f)+_0x1b5ab4(_0x9755ff._0x21abbb,0x303),'BtjmF':'uninstal'+'l','Fguvc':_0x2a8e41(0x46c,_0x9755ff._0x49b9c6)+_0x1b5ab4(0x141,-0x3d)+_0x1b5ab4(_0x9755ff._0xcd8494,0x127)+_0x2a8e41(0x4a8,0x2e9)+_0x1b5ab4(0x300,_0x9755ff._0x288a07),'xQPCg':_0x1b5ab4(0x2b7,0x1c6),'rNcyf':_0x1b5ab4(-_0x9755ff._0x5c5dad,-_0x9755ff._0x127741),'OeSSy':_0x1b5ab4(0x294,0x349),'ZNOri':_0x2a8e41(0x641,_0x9755ff._0x2d68ce),'pndFx':function(_0x1dbfdf,_0x1c796d,_0x5772e2){return _0x1dbfdf(_0x1c796d,_0x5772e2);},'boPKl':function(_0x24a004,_0x5a2a2e){return _0x24a004(_0x5a2a2e);},'ySrRN':function(_0x26db55,_0x1a5105){return _0x26db55===_0x1a5105;},'tRLOO':function(_0x842e30,_0x107108){return _0x842e30>_0x107108;},'ePCbm':'SIGINT'},[,,_0x2c20bd=_0x51c9ba[_0x2a8e41(_0x9755ff._0x2b41ea,_0x9755ff._0x186739)],..._0x45fc5b]=process[_0x1b5ab4(_0x9755ff._0xbbd43b,-_0x9755ff._0x4f6e23)];function _0x2a8e41(_0x57447a,_0x2fecd){return _0x3a90bd(_0x2fecd,_0x57447a-_0x26a2e9._0x40e847);}const _0x3f5ec6=_0x51c9ba[_0x2a8e41(0x6af,0x5f5)](hasFlag,_0x45fc5b,_0x51c9ba[_0x2a8e41(0x208,0x3ee)]),_0x42f4cf=hasFlag(_0x45fc5b,_0x2a8e41(_0x9755ff._0x2183e0,0xbc));if(_0x51c9ba[_0x2a8e41(_0x9755ff._0xfc4718,0x243)](_0x2c20bd,'pair')){const _0x503ad5=readPairSubcommand(_0x45fc5b),_0x542680=_0x51c9ba['GtVWF'](_0x503ad5,_0x2a8e41(0x53c,0x4c6))||hasFlag(_0x45fc5b,_0x1b5ab4(-_0x9755ff._0xb15445,0x60));if(_0x542680){const _0x7c3127=_0x51c9ba['SdFPL'](resolveGatewayAuth);if(_0x51c9ba[_0x2a8e41(_0x9755ff._0x14dcc7,_0x9755ff._0x3f7a56)]in _0x7c3127)throw new Error(_0x7c3127['error']);const _0x57b452=readFlag(_0x45fc5b,_0x2a8e41(_0x9755ff._0x339634,0x2ea)+'e'),_0x3d3922=buildLocalPairingInfo({'explicitUrl':readFlag(_0x45fc5b,_0x2a8e41(0x38e,0x591)),'gatewayToken':_0x7c3127[_0x1b5ab4(_0x9755ff._0x546f7f,_0x9755ff._0x5d176b)],'gatewayPassword':_0x7c3127[_0x2a8e41(0x6b9,0x697)]}),_0x12c94d=await _0x51c9ba['qCqKR'](writeRawQrPng,_0x3d3922[_0x2a8e41(_0x9755ff._0x4f50c7,_0x9755ff._0x4dfbbd)+'d'],_0x51c9ba[_0x2a8e41(_0x9755ff._0x47bd27,0xb6)],_0x57b452);if(_0x42f4cf){const _0x3dce3b={};_0x3dce3b[_0x2a8e41(_0x9755ff._0x113233,0x736)+'rl']=_0x3d3922[_0x2a8e41(0x54d,_0x9755ff._0x1f96c2)+'rl'],_0x3dce3b[_0x2a8e41(_0x9755ff._0x20979d,0x12d)]=_0x3d3922[_0x2a8e41(0x31a,_0x9755ff._0x5626f0)],_0x3dce3b[_0x2a8e41(_0x9755ff._0x527c41,_0x9755ff._0x205e8c)+'t']=_0x3d3922['expiresA'+'t'],_0x3dce3b[_0x2a8e41(_0x9755ff._0x1a03df,_0x9755ff._0x49f829)+_0x2a8e41(_0x9755ff._0x49f275,_0x9755ff._0x36dcd5)]=_0x12c94d,_0x3dce3b['message']=_0x2a8e41(_0x9755ff._0x18dbdd,_0x9755ff._0x43ddec)+'d\x20a\x20loca'+'l\x20gatewa'+_0x1b5ab4(0x19,_0x9755ff._0x420aec)+_0x1b5ab4(_0x9755ff._0xa6842c,0x65),printJson(_0x51c9ba[_0x1b5ab4(_0x9755ff._0x108ab4,_0x9755ff._0x4251d0)](buildLocalPairingJson,_0x3dce3b));}else _0x51c9ba[_0x1b5ab4(0x3b2,_0x9755ff._0x54ffee)](printLocalPairingInfo,_0x3d3922['gatewayU'+'rl'],_0x3d3922[_0x1b5ab4(_0x9755ff._0x59b76f,_0x9755ff._0x1aecc3)],_0x3d3922[_0x1b5ab4(-0x309,-_0x9755ff._0x4f127b)+'t'],_0x3d3922[_0x1b5ab4(_0x9755ff._0x3cc5d1,0x34e)+'d'],_0x12c94d,_0x51c9ba[_0x1b5ab4(-_0x9755ff._0x5ac94a,0xb4)](readFlag,_0x45fc5b,_0x2a8e41(0x38e,0x49a)));return;}const _0x48224f=hasFlag(_0x45fc5b,'--force');!_0x48224f&&await ensurePairPrerequisites();const _0x2a9fce=resolveGatewayAuth();if(_0x51c9ba['QXzUJ'](_0x51c9ba['mNBas'],_0x2a9fce))throw new Error(_0x2a9fce['error']);const _0x3ce2d0=readFlag(_0x45fc5b,_0x1b5ab4(_0x9755ff._0x5b5cef,0x2fe))??readFlag(_0x45fc5b,'-s')??_0x1b5ab4(_0x9755ff._0x218442,0x12e)+'registry'+'.clawket'+'.ai',_0x37e445=readFlag(_0x45fc5b,_0x51c9ba[_0x1b5ab4(-0x66,0x2d)])??readFlag(_0x45fc5b,'-n')??getDefaultBridgeDisplayName(),_0x3d6814=readFlag(_0x45fc5b,_0x51c9ba[_0x1b5ab4(-_0x9755ff._0x14920e,_0x9755ff._0x4f6e23)]),_0x3f3394={};_0x3f3394['serverUr'+'l']=_0x3ce2d0,_0x3f3394['displayN'+_0x1b5ab4(-0x1b4,-_0x9755ff._0x266525)]=_0x37e445,_0x3f3394[_0x2a8e41(_0x9755ff._0x2b4913,0x2de)+_0x2a8e41(0x6f4,_0x9755ff._0x37beaf)]=_0x2a9fce[_0x1b5ab4(-0x4c,0x19b)],_0x3f3394['gatewayP'+'assword']=_0x2a9fce[_0x1b5ab4(0x51e,0x3fb)];const _0x3c02e5=await pairGateway(_0x3f3394),_0x215b1d=await _0x51c9ba[_0x2a8e41(_0x9755ff._0x407c3c,_0x9755ff._0x12964f)](writePairingQrPng,_0x3c02e5,_0x3d6814),_0x2a026e=_0x51c9ba[_0x2a8e41(0x257,_0x9755ff._0x1b1416)](getServiceStatus),_0x264190=decidePairServiceAction(_0x3c02e5,_0x2a026e);if(_0x264190===_0x1b5ab4(_0x9755ff._0x34860c,_0x9755ff._0x3f9f33)){const _0x30365b=_0x51c9ba[_0x1b5ab4(_0x9755ff._0x329194,-0x67)](listRuntimeProcesses);if(_0x30365b[_0x1b5ab4(_0x9755ff._0xbdb769,0x1ca)]>0x1){stopRuntimeProcesses();const _0x3928a9=restartService(),_0x51b010=_0x2a8e41(0x4b5,0x56b)+_0x1b5ab4(_0x9755ff._0x1bf62c,0x36b)+_0x1b5ab4(-_0x9755ff._0x101d73,_0x9755ff._0x157e01)+_0x1b5ab4(_0x9755ff._0x12bf92,_0x9755ff._0xe8641c)+'es.\x20Rest'+_0x1b5ab4(-0x1b9,-_0x9755ff._0x443257)+_0x1b5ab4(-0x5b,_0x9755ff._0x33e245)+_0x1b5ab4(0x3ee,0x2aa)+_0x2a8e41(_0x9755ff._0x10993a,0x4f2)+_0x2a8e41(_0x9755ff._0x52ddbe,_0x9755ff._0xcd8494);_0x42f4cf?printJson(buildPairingJson(_0x3c02e5,_0x215b1d,_0x3928a9,_0x51b010)):(printPairingInfo(_0x3c02e5,_0x215b1d),printServiceResult(_0x51b010,_0x3928a9));return;}_0x42f4cf?printJson(buildPairingJson(_0x3c02e5,_0x215b1d,_0x2a026e,_0x51c9ba['cFnDD'])):(printPairingInfo(_0x3c02e5,_0x215b1d),console[_0x2a8e41(_0x9755ff._0x190582,_0x9755ff._0x5ae5c4)](_0x2a8e41(_0x9755ff._0x31a46c,_0x9755ff._0x44d1d6)+_0x2a8e41(_0x9755ff._0x5a591c,0x5be)+'ce\x20alrea'+_0x2a8e41(0x39b,0x33e)+'ng.\x20Left'+_0x2a8e41(_0x9755ff._0x494ede,-0x23)+'ed.'),_0x51c9ba[_0x1b5ab4(_0x9755ff._0x33dd03,0x1ce)](printServiceResult,null,_0x2a026e));return;}try{stopRuntimeProcesses();const _0x591324=_0x264190==='install'?installService():restartService(),_0x3996a1=_0x51c9ba[_0x2a8e41(_0x9755ff._0xb602e7,0x426)](_0x264190,_0x51c9ba[_0x1b5ab4(_0x9755ff._0x151ca6,0x3d8)])?'Auto-ins'+_0x2a8e41(0x418,0x1b6)+_0x1b5ab4(_0x9755ff._0x35cb7a,_0x9755ff._0x5585dc)+'d\x20servic'+'e.':_0x3c02e5[_0x2a8e41(_0x9755ff._0x442601,0x2fd)]===_0x2a8e41(0x1f9,0x321)+'ed'?_0x2a8e41(_0x9755ff._0x125498,0x369)+'dentity\x20'+_0x1b5ab4(0x3f,0x120)+'\x20Restart'+'ed\x20backg'+_0x1b5ab4(-0x1fa,0x57)+_0x2a8e41(_0x9755ff._0x5f15e6,0x5c9)+_0x2a8e41(0x276,0x15b)+'e\x20new\x20pa'+_0x1b5ab4(_0x9755ff._0x4cdcb1,0xf5):'Backgrou'+_0x2a8e41(_0x9755ff._0x5a591c,0x1f6)+_0x2a8e41(_0x9755ff._0x45e5e0,_0x9755ff._0x6ce754)+_0x2a8e41(_0x9755ff._0xb1ca3e,_0x9755ff._0x48c585)+_0x2a8e41(0x322,_0x9755ff._0x29c5f4)+'pped.\x20Re'+_0x1b5ab4(-0x48,0x1b0)+'it.';_0x42f4cf?printJson(buildPairingJson(_0x3c02e5,_0x215b1d,_0x591324,_0x3996a1)):(_0x51c9ba['lxGwh'](printPairingInfo,_0x3c02e5,_0x215b1d),printServiceResult(_0x3996a1,_0x591324));}catch(_0x13fba9){if(isAutostartUnsupportedError(_0x13fba9)){const _0x5260d2=await startTransientRuntime(),_0x2a1881=buildUnsupportedAutostartMessage(_0x5260d2);_0x42f4cf?printJson(buildPairingJson(_0x3c02e5,_0x215b1d,_0x5260d2,_0x2a1881)):(printPairingInfo(_0x3c02e5,_0x215b1d),_0x51c9ba[_0x2a8e41(0x55f,0x6a3)](printServiceResult,_0x2a1881,_0x5260d2));return;}console[_0x2a8e41(_0x9755ff._0x48181e,_0x9755ff._0x462bb7)](_0x2a8e41(_0x9755ff._0x8522c6,_0x9755ff._0x5bf6e0)+_0x1b5ab4(0x2d9,_0x9755ff._0x43344b)+'d,\x20but\x20s'+_0x2a8e41(0x40e,0x205)+_0x1b5ab4(-_0x9755ff._0x3c7415,-0xa3)+_0x2a8e41(_0x9755ff._0x21d91b,_0x9755ff._0x1caaac)+':\x20'+formatError2(_0x13fba9)),console['error']('You\x20can\x20'+_0x1b5ab4(-0x327,-0xb9)+_0x1b5ab4(_0x9755ff._0x1d88e2,_0x9755ff._0x1c0d61)+_0x2a8e41(_0x9755ff._0x444ea1,_0x9755ff._0x3a7fa1)+_0x2a8e41(0x35a,_0x9755ff._0xa901fc)+_0x2a8e41(0x5de,0x5c4)+_0x2a8e41(0x39e,_0x9755ff._0x56389f)+_0x1b5ab4(_0x9755ff._0x1de491,_0x9755ff._0x1ca163)),process[_0x2a8e41(_0x9755ff._0x230732,0x4c3)]=0x1;}return;}if(_0x2c20bd===_0x1b5ab4(_0x9755ff._0x5af5f9,_0x9755ff._0x2153bf)+_0x1b5ab4(-_0x9755ff._0x214a43,0x123)){const _0x599ca7=readFlag(_0x45fc5b,_0x2a8e41(0x249,_0x9755ff._0x417b66)+'e'),_0x3ae017=_0x51c9ba['WElWC'](resolveGatewayAuth);if(_0x51c9ba[_0x1b5ab4(_0x9755ff._0x280fb9,_0x9755ff._0x1ad6b7)](_0x1b5ab4(-_0x9755ff._0x10b816,0xf2),_0x3ae017))throw new Error(_0x3ae017['error']);const _0x6174ac={};_0x6174ac['gatewayT'+_0x1b5ab4(0x490,_0x9755ff._0x54e8a)]=_0x3ae017[_0x1b5ab4(0x1b9,0x19b)],_0x6174ac['gatewayP'+_0x1b5ab4(_0x9755ff._0x2149f3,_0x9755ff._0x3d7488)]=_0x3ae017[_0x2a8e41(0x6b9,0x5c4)];const _0x1b7d56=await refreshAccessCode(_0x6174ac),_0x1ed354=await writePairingQrPng(_0x1b7d56,_0x599ca7);_0x42f4cf?printJson(buildPairingJson(_0x1b7d56,_0x1ed354,_0x51c9ba[_0x2a8e41(_0x9755ff._0x505f3c,_0x9755ff._0x257b0c)](getServiceStatus),'Pairing\x20'+'code\x20ref'+'reshed.')):printPairingInfo(_0x1b7d56,_0x1ed354);return;}if(_0x2c20bd===_0x2a8e41(0x330,_0x9755ff._0x36b610)||_0x2c20bd===_0x1b5ab4(_0x9755ff._0x5b6343,_0x9755ff._0x555a83)){const _0x209f8d=_0x51c9ba[_0x1b5ab4(0x29e,0xe7)](requirePairingConfig);stopRuntimeProcesses();const _0x259cef=_0x51c9ba[_0x1b5ab4(0x2ed,_0x9755ff._0x570fe3)](installService);console[_0x2a8e41(_0x9755ff._0x190582,_0x9755ff._0xd57d10)](_0x1b5ab4(-_0x9755ff._0x1e50f0,_0x9755ff._0x5c2120)+'d\x20backgr'+'ound\x20ser'+_0x1b5ab4(0x11f,0x220)+'\x20gateway'+'\x20'+_0x209f8d[_0x1b5ab4(-0x118,-_0x9755ff._0xf945f)+'d']+'.'),printServiceResult(null,_0x259cef);return;}if(_0x2c20bd===_0x51c9ba[_0x1b5ab4(_0x9755ff._0x3b323f,0x11e)]){const _0x32a238=requirePairingConfig();stopRuntimeProcesses();const _0x537151=restartService();console[_0x2a8e41(_0x9755ff._0x26e6a2,0x2dd)](_0x2a8e41(0x4ca,_0x9755ff._0x3b4e7)+_0x1b5ab4(0x90,-0x80)+_0x1b5ab4(0x472,_0x9755ff._0xc8e83b)+_0x1b5ab4(_0x9755ff._0x1660a6,_0x9755ff._0x229c2a)+_0x1b5ab4(_0x9755ff._0x3e3591,_0x9755ff._0x39bc0f)+'\x20'+_0x32a238[_0x1b5ab4(-0xdd,-0xd5)+'d']+'.'),printServiceResult(null,_0x537151);return;}function _0x1b5ab4(_0x35be45,_0x336112){return _0x3a90bd(_0x35be45,_0x336112-0x143);}if(_0x2c20bd==='stop'){const _0x13fa1e=stopService();_0x51c9ba[_0x1b5ab4(0x2a1,0x5d)](stopRuntimeProcesses),console[_0x1b5ab4(0x73,-_0x9755ff._0x13af48)](_0x51c9ba[_0x2a8e41(0x2da,_0x9755ff._0x12d4b5)]),printServiceResult(null,_0x13fa1e);return;}if(_0x2c20bd===_0x51c9ba[_0x1b5ab4(0x9a,_0x9755ff._0x2f524c)]){const _0x2eb07d=uninstallService();stopRuntimeProcesses(),console[_0x1b5ab4(0x154,-_0x9755ff._0x56d85c)](_0x51c9ba[_0x1b5ab4(-_0x9755ff._0x2fb68d,-_0x9755ff._0x5b5950)]),printServiceResult(null,_0x2eb07d);return;}if(_0x2c20bd===_0x51c9ba['xQPCg']){stopRuntimeProcesses(),stopService(),deletePairingConfig(),console[_0x2a8e41(0x209,0x3eb)](_0x2a8e41(_0x9755ff._0x298e3e,_0x9755ff._0x403876)+'pairing\x20'+_0x2a8e41(0x54e,_0x9755ff._0x501e36)+getPairingConfigPath());return;}if(_0x2c20bd===_0x51c9ba[_0x1b5ab4(0x3d8,_0x9755ff._0x3e5cda)]){printStatus();return;}if(_0x2c20bd===_0x51c9ba[_0x2a8e41(_0x9755ff._0x3a2eaa,0x1ef)]){const _0x3bdceb=Number(readFlag(_0x45fc5b,_0x1b5ab4(0x122,0x75))??_0x51c9ba[_0x2a8e41(_0x9755ff._0x3ba8b1,_0x9755ff._0x1a7584)]),_0x4c56bf=_0x51c9ba[_0x1b5ab4(0x131,_0x9755ff._0x3221b3)](parseLookbackToMs,_0x51c9ba['pndFx'](readFlag,_0x45fc5b,_0x2a8e41(_0x9755ff._0x192210,0x51a))??readFlag(_0x45fc5b,'-l')),_0x25e648=readRecentCliLogs({'lines':_0x3bdceb,'lastMs':_0x4c56bf,'includeErrorLog':hasFlag(_0x45fc5b,_0x2a8e41(0x66a,_0x9755ff._0x4b203f))});if(_0x42f4cf){const _0x4e2269={};_0x4e2269['ok']=!![],_0x4e2269[_0x2a8e41(0x4e4,_0x9755ff._0x448cdc)]=_0x25e648,_0x51c9ba[_0x1b5ab4(0x50b,_0x9755ff._0x496e13)](printJson,_0x4e2269);}else _0x25e648['length']===0x0?console['log'](_0x1b5ab4(0x1f3,_0x9755ff._0x1f2acc)+'ing\x20CLI\x20'+'logs\x20fou'+_0x2a8e41(0x54f,0x6da)):console[_0x2a8e41(_0x9755ff._0x26e6a2,_0x9755ff._0x2c7a0b)](_0x25e648[_0x1b5ab4(_0x9755ff._0x526bdb,-_0x9755ff._0x46c9f5)]('\x0a'));return;}if(_0x51c9ba[_0x1b5ab4(-0x1e,-_0x9755ff._0x1fe06d)](_0x2c20bd,_0x2a8e41(0x3ce,0x293))){const _0x44d7fd=await buildDoctorReport();_0x42f4cf?printJson(_0x44d7fd):printDoctorReport(_0x44d7fd);return;}if(_0x51c9ba[_0x1b5ab4(_0x9755ff._0x4f127b,_0x9755ff._0xfaf3be)](_0x2c20bd,'run')){const _0x49bbf9=requirePairingConfig(),_0x46b033=hasFlag(_0x45fc5b,_0x1b5ab4(_0x9755ff._0x29ee8,_0x9755ff._0x49facb)+'e'),_0x3f6060=listRuntimeProcesses()[_0x2a8e41(0x583,_0x9755ff._0x3bfb8c)](_0x5a4910=>_0x5a4910[_0x2a8e41(0x58a,0x7e0)]);_0x3f6060[_0x2a8e41(_0x9755ff._0xbdf4e8,_0x9755ff._0x4deb95)]>0x0&&(!_0x46b033&&(console['error'](_0x1b5ab4(0x90,-0xcd)+_0x1b5ab4(-0x15b,-0x3c)+_0x1b5ab4(0xf9,-0x7a)+'untime\x20i'+_0x1b5ab4(0x220,0x3e1)+_0x1b5ab4(0x2fe,_0x9755ff._0x2c86db)+_0x2a8e41(_0x9755ff._0x44aa7e,0x5e2)+(_0x51c9ba['tRLOO'](_0x3f6060['length'],0x1)?'s':'')+':\x20'+_0x3f6060['join'](',\x20')+(').\x20Run\x20\x22'+_0x2a8e41(0x5de,_0x9755ff._0x403511)+'stop\x22\x20fi'+'rst,\x20or\x20'+'rerun\x20wi'+_0x2a8e41(_0x9755ff._0x53e75e,0x3d5)+_0x1b5ab4(_0x9755ff._0x3c6c10,-_0x9755ff._0x15fd9f)+_0x2a8e41(0x298,0x3b3)+_0x2a8e41(0x663,_0x9755ff._0x4eaae3))),process[_0x2a8e41(_0x9755ff._0x8e924d,0x747)](0x1)),stopRuntimeProcesses());const _0x44cd0b=resolveGatewayUrl(readFlag(_0x45fc5b,_0x1b5ab4(0x3e4,0x24a)+_0x2a8e41(0x1b2,_0x9755ff._0x290ceb))??readFlag(_0x45fc5b,'-g')),_0x258e37=_0xaecd12=>{function _0xab0ab4(_0x1ee7ee,_0x2be681){return _0x1b5ab4(_0x1ee7ee,_0x2be681-0x231);}console['log']('['+Date[_0xab0ab4(_0x30120a._0x580be8,0x5eb)]()+']\x20'+_0xaecd12);};!_0x3f5ec6?(console['log']('Gateway\x20'+_0x2a8e41(0x19e,_0x9755ff._0x3f8a8c)+_0x49bbf9[_0x1b5ab4(-0x2dc,-0xd5)+'d']),console['log'](_0x2a8e41(0x29e,0x416)+_0x2a8e41(_0x9755ff._0x9ca022,0x4d2)+_0x49bbf9[_0x2a8e41(0x1c7,0x423)+'Id']),console[_0x2a8e41(_0x9755ff._0x190582,0x1a4)]('Gateway\x20'+_0x2a8e41(0x490,0x5a5)+_0x44cd0b),console[_0x1b5ab4(_0x9755ff._0x187088,-0xb5)](''),console[_0x1b5ab4(0x15,-_0x9755ff._0x13af48)](_0x1b5ab4(_0x9755ff._0x7e753f,_0x9755ff._0x16ae8f)+'\x20bridge\x20'+_0x2a8e41(0x614,_0x9755ff._0x342d55)+_0x1b5ab4(0x512,_0x9755ff._0x35ffa0)+_0x2a8e41(0x6c9,0x954)+_0x1b5ab4(-_0x9755ff._0x673369,-_0x9755ff._0x1b4fa9)),console[_0x2a8e41(_0x9755ff._0x27c530,0x395)]('')):_0x51c9ba[_0x2a8e41(_0x9755ff._0x1a8d8e,_0x9755ff._0x594fbf)](_0x258e37,'Starting'+_0x2a8e41(_0x9755ff._0x444c85,_0x9755ff._0x592e8c)+'\x20service'+'\x20runtime'+_0x2a8e41(0x4e5,_0x9755ff._0x42e5ff)+_0x2a8e41(0x310,0x575)+_0x49bbf9['gatewayI'+'d']);_0x3f5ec6&&writeServiceState();const _0x9fd2c8=new BridgeRuntime({'config':_0x49bbf9,'gatewayUrl':_0x44cd0b,'onLog':_0x76847a=>{_0x258e37('[clawket'+']\x20'+_0x76847a);},'onStatus':_0x2e0f59=>{function _0x55a50d(_0x3c7a69,_0x3f6be7){return _0x1b5ab4(_0x3f6be7,_0x3c7a69-0xa);}if(_0x2e0f59[_0x55a50d(-0x55,_0x1f1f40._0x406d60)+'r']){_0x258e37(_0x55a50d(_0x1f1f40._0x4e03e8,_0x1f1f40._0x350c5e)+'\x20relay='+(_0x2e0f59[_0x55a50d(0x324,0x54b)+_0x55a50d(0x3c9,_0x1f1f40._0x5c8637)]?'up':_0x127da7(_0x1f1f40._0x599c9f,0x6e5))+(_0x55a50d(0x2b9,0x32e)+'=')+(_0x2e0f59['gatewayC'+_0x55a50d(0x2cb,_0x1f1f40._0x1b2f15)]?'up':'down')+('\x20clients'+'=')+_0x2e0f59['clientCo'+_0x127da7(0x276,0x141)]+_0x55a50d(_0x1f1f40._0xf9baf,_0x1f1f40._0x4b71c2)+_0x2e0f59[_0x55a50d(-0x55,-0xe0)+'r']);return;}function _0x127da7(_0x2ebd44,_0xfa9c57){return _0x1b5ab4(_0xfa9c57,_0x2ebd44-0x1d6);}_0x258e37(_0x55a50d(_0x1f1f40._0x4e03e8,0x1d4)+_0x127da7(_0x1f1f40._0x29da2c,_0x1f1f40._0x12aa07)+(_0x2e0f59[_0x55a50d(0x324,_0x1f1f40._0x40a763)+'nected']?'up':_0x55a50d(_0x1f1f40._0x32b500,_0x1f1f40._0x4756f7))+(_0x127da7(_0x1f1f40._0x1cc13f,0x638)+'=')+(_0x2e0f59[_0x127da7(0x28d,0xf1)+_0x55a50d(0x2cb,0x3ce)]?'up':_0x51c9ba['FBVpi'])+(_0x55a50d(_0x1f1f40._0x1a8ba0,_0x1f1f40._0xa01b46)+'=')+_0x2e0f59['clientCo'+_0x127da7(0x276,0x1ca)]);},'onPendingPairRequest':_0x3ced1f=>{function _0x11d85d(_0x57ad9b,_0x1141fa){return _0x1b5ab4(_0x57ad9b,_0x1141fa-0x15e);}function _0x263ef9(_0xc227d4,_0x591d46){return _0x1b5ab4(_0x591d46,_0xc227d4-0x2bc);}_0x51c9ba[_0x11d85d(_0x14ab2d._0x18a694,_0x14ab2d._0x4978e1)](_0x258e37,_0x263ef9(_0x14ab2d._0x158ce7,0x47c)+'quest]\x20r'+_0x11d85d(0x173,0x2a0)+'='+_0x3ced1f[_0x263ef9(_0x14ab2d._0x5a4345,0x218)+'d']+(_0x263ef9(0x6b0,_0x14ab2d._0x4c0d82)+'d=')+(_0x3ced1f[_0x263ef9(0x3f9,0x446)]||_0x51c9ba[_0x263ef9(0x20a,0x265)])+_0x11d85d(_0x14ab2d._0x14ed48,0x26b)+(_0x3ced1f['displayN'+'ame']??_0x11d85d(0x30a,0x272)+'>'));}});_0x9fd2c8[_0x2a8e41(_0x9755ff._0x532fa6,0x526)]();const _0x50f745={};_0x50f745[_0x1b5ab4(0x54,-0xd5)+'d']=_0x49bbf9[_0x2a8e41(_0x9755ff._0x56d90d,0x2ad)+'d'],_0x50f745[_0x2a8e41(0x1c7,0x34d)+'Id']=_0x49bbf9[_0x2a8e41(_0x9755ff._0x2e2dca,-_0x9755ff._0x289c38)+'Id'],_0x50f745[_0x2a8e41(0x229,_0x9755ff._0x344212)+_0x1b5ab4(0x575,_0x9755ff._0x7e1a03)]=_0x3f5ec6,registerRuntimeProcess(_0x50f745);const _0x45616e=async()=>{process[_0x1cb526(-_0x13c611._0x593a12,_0x13c611._0x39c304)]('SIGINT',_0x45616e),process[_0x1cb526(-_0x13c611._0x4115b1,-_0x13c611._0x5359e3)](_0x4afa11(0x3fa,_0x13c611._0x3a6eee),_0x45616e),await _0x9fd2c8['stop']();function _0x4afa11(_0x5e3040,_0x3804ee){return _0x2a8e41(_0x5e3040-0xb0,_0x3804ee);}_0x51c9ba[_0x1cb526(_0x13c611._0x53fd94,_0x13c611._0xe70e74)](unregisterRuntimeProcess,process['pid']);_0x3f5ec6&&clearServiceState(process[_0x4afa11(0x63a,0x607)]);function _0x1cb526(_0x217bf9,_0x35591d){return _0x2a8e41(_0x217bf9- -0x39b,_0x35591d);}process[_0x1cb526(0x291,_0x13c611._0xc34a97)](0x0);};process['on'](_0x51c9ba[_0x1b5ab4(-_0x9755ff._0x498a04,0x1e6)],_0x45616e),process['on'](_0x2a8e41(_0x9755ff._0x4b92b1,0x452),_0x45616e),await new Promise(()=>{});}printHelp();}function printPairingInfo(_0x1b650d,_0x4d89af){const _0x2e5d83={_0x52c8a3:0x2a1,_0x4bf74e:0x601,_0x2d601f:0x88e,_0x46d477:0x344,_0x451a39:0x18c,_0x50007c:0x3d1,_0x33952a:0x524,_0x48ccb4:0x728,_0x2f82b2:0x179,_0x287b9c:0x433,_0x42a8b4:0x454,_0x1a0dbb:0x1c5,_0x3f149f:0x36d,_0x4e56ea:0x125,_0x40b7e1:0xc9,_0x5822f5:0x3ee,_0x35f7d6:0x432,_0x19fb96:0x288,_0x51d299:0x615,_0x4a6161:0x4aa,_0x5f55de:0x315,_0x1ddef0:0xa7,_0x33894b:0x377,_0x47f8fd:0x56c,_0x1e224f:0x3c9,_0x40e145:0x630},_0x1c64e3={_0xe9a957:0x31d};_0x1b650d[_0x5950d5(_0x2e5d83._0x52c8a3,0xd3)]===_0x2cebee(_0x2e5d83._0x4bf74e,_0x2e5d83._0x2d601f)+'d'&&console[_0x2cebee(0x125,-0x119)](_0x5950d5(0x492,_0x2e5d83._0x46d477)+_0x5950d5(_0x2e5d83._0x451a39,_0x2e5d83._0x50007c)+_0x2cebee(_0x2e5d83._0x33952a,_0x2e5d83._0x48ccb4)+_0x2cebee(_0x2e5d83._0x2f82b2,0x274)+_0x2cebee(0x5b5,_0x2e5d83._0x287b9c)+'ring\x20cod'+'e.');console[_0x5950d5(0x2b3,0xa7)](_0x2cebee(_0x2e5d83._0x42a8b4,0x6ff)+_0x2cebee(0xba,-0x199)+_0x1b650d[_0x5950d5(_0x2e5d83._0x1a0dbb,_0x2e5d83._0x3f149f)]['gatewayI'+'d']),console[_0x2cebee(_0x2e5d83._0x4e56ea,-_0x2e5d83._0x40b7e1)](_0x5950d5(0x515,_0x2e5d83._0x5822f5)+_0x2cebee(0x5f3,0x660)+_0x2cebee(0x4f0,_0x2e5d83._0x35f7d6)+'e\x20Clawke'+'t\x20app:\x0a');const _0x425630={};_0x425630['small']=!![];function _0x2cebee(_0x40755c,_0x2bf24a){return _0x3a90bd(_0x2bf24a,_0x40755c-_0x1c64e3._0xe9a957);}function _0x5950d5(_0xe85b73,_0x5d0c08){return _0x3a90bd(_0xe85b73,_0x5d0c08-0x29f);}_0x46de63[_0x5950d5(0x166,_0x2e5d83._0x19fb96)](_0x1b650d[_0x5950d5(_0x2e5d83._0x51d299,_0x2e5d83._0x4a6161)+'d'],_0x425630),console[_0x5950d5(_0x2e5d83._0x5f55de,_0x2e5d83._0x1ddef0)](_0x5950d5(0x3df,0x140)+'\x20'+formatLocalTime(_0x1b650d[_0x5950d5(0x51d,0x2ec)+_0x2cebee(_0x2e5d83._0x33894b,_0x2e5d83._0x47f8fd)+'sAt'])),console[_0x2cebee(_0x2e5d83._0x4e56ea,0x2ae)](_0x2cebee(_0x2e5d83._0x1e224f,_0x2e5d83._0x40e145)+':\x20'+_0x4d89af);}function printLocalPairingInfo(_0x6bbe5f,_0x3d221c,_0x3b4ef2,_0x2374c9,_0xd90c22,_0x1a6ae7){const _0x185164={_0x3e7208:0x386,_0x391750:0xb6,_0x33d7ea:0x1a4,_0x54f93b:0x6a,_0x4111b6:0x639,_0x12880c:0x7d,_0x2fd5d7:0x164,_0x458925:0x11c,_0x434da0:0x390,_0x378aa9:0xd,_0x473ecf:0x118,_0x29ef5a:0x33,_0x7c7a23:0x27a,_0x1f8be3:0x33,_0x2d8a4f:0x113,_0x122847:0x38a,_0x581490:0x1b6,_0xf763e4:0x1e3,_0x147599:0x44e,_0x1b6678:0x35d,_0x4fdcd8:0x289,_0x45b9ac:0x2ea,_0x3ca645:0xc6,_0x1ac514:0x404,_0x28ccf8:0x220,_0x4a80a6:0x461,_0x3ad082:0x2a9},_0x10dc7b={_0xc467f1:0x8d},_0x302a07={};function _0x14740e(_0x451314,_0x3ead8c){return _0xb2a5b9(_0x3ead8c,_0x451314-0x1be);}function _0x326046(_0x1672e3,_0x1f40ce){return _0xb2a5b9(_0x1f40ce,_0x1672e3-_0x10dc7b._0xc467f1);}_0x302a07[_0x326046(-0x19b,-_0x185164._0x3e7208)]=_0x14740e(0x6f,-_0x185164._0x391750)+_0x14740e(_0x185164._0x33d7ea,-0xdc);const _0x3405c6=_0x302a07,_0xa10fe=_0x3405c6[_0x14740e(-_0x185164._0x54f93b,-0x1c9)]['split']('|');let _0x3fb6d5=0x0;while(!![]){switch(_0xa10fe[_0x3fb6d5++]){case'0':const _0x307712={};_0x307712[_0x14740e(0x429,_0x185164._0x4111b6)]=!![],_0x46de63[_0x326046(_0x185164._0x12880c,0x1f8)](_0x2374c9,_0x307712);continue;case'1':console[_0x326046(-_0x185164._0x2fd5d7,-0x212)](_0x326046(0x1cb,_0x185164._0x458925)+_0x14740e(0x254,_0x185164._0x434da0)+_0x6bbe5f);continue;case'2':console[_0x326046(-0x164,-0xbe)](_0x326046(-0xcb,_0x185164._0x378aa9)+'\x20'+new Date(_0x3b4ef2)[_0x14740e(0x2ce,_0x185164._0x473ecf)+_0x326046(0x16b,0x29b)]());continue;case'3':console[_0x14740e(-_0x185164._0x29ef5a,-_0x185164._0x7c7a23)]('QR\x20image'+':\x20'+_0xd90c22);continue;case'4':console[_0x14740e(-_0x185164._0x1f8be3,-_0x185164._0x2d8a4f)](_0x14740e(_0x185164._0x122847,0x1aa)+_0x326046(_0x185164._0x581490,0x386)+_0x3d221c);continue;case'5':console['log'](_0x1a6ae7?_0x326046(_0x185164._0xf763e4,_0x185164._0x147599)+_0x14740e(_0x185164._0x1b6678,0x606)+_0x326046(_0x185164._0x4fdcd8,_0x185164._0x45b9ac)+'y\x20QR\x20in\x20'+_0x14740e(_0x185164._0x3ca645,-0x17e)+_0x14740e(_0x185164._0x1ac514,0x2d7)+'\x0a':_0x14740e(0x314,0x48c)+_0x14740e(0x24a,0x31)+'\x20gateway'+_0x326046(-0x125,-_0x185164._0x28ccf8)+'he\x20Clawk'+_0x14740e(_0x185164._0x4a80a6,_0x185164._0x3ad082));continue;}break;}}function printStatus(){const _0x50ded7={_0xd2a992:0x268,_0xd9ec83:0xb3,_0x34518f:0x3ed,_0x2f7f8d:0x2e5,_0x8f41d9:0x2b0,_0x153901:0x781,_0x12b085:0xa12,_0x18225b:0x40,_0x1417a8:0x535,_0x4c032d:0x5ab,_0x5a6ef5:0x34e,_0x25ef68:0x4ba,_0x37baf6:0x2de,_0x4b974d:0xbc,_0x153491:0x4e5,_0x435c7b:0x413,_0x17fdfe:0x505,_0x33b6ec:0x1bb,_0x483bc6:0x93,_0x487954:0x698,_0x19e922:0x181,_0x81383f:0x140,_0x5197d9:0x3a2,_0x864838:0x6b6,_0x115304:0x44e,_0xd443ca:0x20f,_0x1b99aa:0xc0,_0x4b74f3:0x5aa,_0x92c546:0x79f,_0x298698:0x1a7,_0x4ec0a8:0x11c,_0x69abbe:0x97d,_0x950e70:0x5bf,_0x1b5559:0x118,_0x7adce2:0x51,_0x3e126b:0x251,_0x3ea493:0x12d,_0xded834:0xc3,_0x5267ff:0x5af,_0x14de7f:0x21d,_0x1a3b1a:0x51,_0x47c18b:0xe7,_0x3e0cc8:0x17d,_0x5d8b7c:0x641},_0x1d0feb={_0x46e5d1:0x6fd},_0x33752a={'DRDyD':function(_0x17d3e7){return _0x17d3e7();},'jZpxh':_0x41c4bd(0x4d3,0x6d8)},_0x1604f7=readPairingConfig(),_0x2f91cb=getServiceStatus();function _0x4d3daf(_0x15da5b,_0x1f0d61){return _0x3a90bd(_0x15da5b,_0x1f0d61-0x1a7);}const {logPath:_0x2cd810,errorLogPath:_0x379489}=getServicePaths(),_0x9b23b0=_0x33752a[_0x4d3daf(0x2b7,_0x50ded7._0xd2a992)](readCliVersion);function _0x41c4bd(_0xae3e02,_0xa5289c){return _0x3a90bd(_0xa5289c,_0xae3e02-_0x1d0feb._0x46e5d1);}console[_0x4d3daf(-_0x50ded7._0xd9ec83,-0x51)](_0x4d3daf(0x33d,_0x50ded7._0x34518f)+'\x20'+_0x9b23b0),!_0x1604f7?console[_0x4d3daf(-_0x50ded7._0x2f7f8d,-0x51)](_0x41c4bd(0x535,_0x50ded7._0x8f41d9)+_0x41c4bd(_0x50ded7._0x153901,_0x50ded7._0x12b085)+_0x4d3daf(0x12f,-_0x50ded7._0x18225b)+getPairingConfigPath()+')'):(console[_0x4d3daf(-0x12a,-0x51)](_0x41c4bd(_0x50ded7._0x1417a8,0x391)+_0x4d3daf(_0x50ded7._0x4c032d,_0x50ded7._0x5a6ef5)),console[_0x41c4bd(0x505,_0x50ded7._0x25ef68)](_0x4d3daf(0x14c,_0x50ded7._0x37baf6)+_0x4d3daf(0xa3,-_0x50ded7._0x4b974d)+_0x1604f7[_0x41c4bd(_0x50ded7._0x153491,_0x50ded7._0x435c7b)+'d']),console[_0x41c4bd(_0x50ded7._0x17fdfe,0x3ab)]('Instance'+':\x20'+_0x1604f7[_0x4d3daf(-_0x50ded7._0x33b6ec,-_0x50ded7._0x483bc6)+'Id']),console['log'](_0x41c4bd(_0x50ded7._0x487954,0x7eb)+_0x4d3daf(-_0x50ded7._0x19e922,-0x67)+_0x1604f7[_0x4d3daf(0x8f,_0x50ded7._0x81383f)+'l']),console[_0x41c4bd(_0x50ded7._0x17fdfe,_0x50ded7._0x5197d9)]('Name:\x20'+(_0x1604f7[_0x4d3daf(_0x50ded7._0x864838,_0x50ded7._0x115304)+_0x4d3daf(-_0x50ded7._0xd443ca,-_0x50ded7._0x1b99aa)]??'-'))),console[_0x41c4bd(0x505,_0x50ded7._0x4b74f3)](_0x41c4bd(_0x50ded7._0x92c546,0x79c)+'\x20'+resolveGatewayUrl()),console[_0x4d3daf(_0x50ded7._0x298698,-0x51)](_0x4d3daf(-_0x50ded7._0x4ec0a8,0x7b)+'\x20'+(_0x2f91cb['installe'+'d']?'installe'+'d':_0x4d3daf(0x3e3,0x2f1)+_0x41c4bd(0x98e,_0x50ded7._0x69abbe))+'\x20('+_0x2f91cb['method']+')'),console['log']('Running:'+'\x20'+(_0x2f91cb[_0x4d3daf(0x38c,0x307)]?_0x33752a[_0x41c4bd(_0x50ded7._0x950e70,0x7c6)]:'no')),console[_0x4d3daf(_0x50ded7._0x1b5559,-_0x50ded7._0x7adce2)]('Path:\x20'+(_0x2f91cb[_0x4d3daf(_0x50ded7._0x3e126b,_0x50ded7._0x3ea493)+_0x41c4bd(0x9b2,0xa9b)]||'-')),console[_0x4d3daf(_0x50ded7._0xded834,-0x51)](_0x41c4bd(0x652,_0x50ded7._0x5267ff)+_0x2cd810),console[_0x4d3daf(_0x50ded7._0x14de7f,-_0x50ded7._0x1a3b1a)](_0x4d3daf(_0x50ded7._0x47c18b,_0x50ded7._0x3e0cc8)+_0x41c4bd(0x77e,_0x50ded7._0x5d8b7c)+_0x379489),!_0x1604f7&&(process['exitCode']=0x1);}function printServiceResult(_0x474ba7,_0x50e8d0){const _0x4c3a3b={_0x5ad111:0x1b8,_0x5b1681:0x1dc,_0x289f91:0x4bf,_0x27d764:0x33f,_0x5f533d:0x33a,_0x5bb860:0x76,_0x4546c4:0x206,_0x5a5aab:0x432,_0x24e66e:0x827,_0x58ab11:0x2c8,_0x52b7f2:0x3fe,_0x10acb8:0x1d,_0x1db5e8:0x1d9};function _0x573877(_0x5819f3,_0x419478){return _0x3a90bd(_0x419478,_0x5819f3-0x4c0);}const _0x1a2127={};_0x1a2127[_0x1d3281(_0x4c3a3b._0x5ad111,_0x4c3a3b._0x5b1681)]=_0x573877(0x60a,_0x4c3a3b._0x289f91)+_0x1d3281(_0x4c3a3b._0x27d764,_0x4c3a3b._0x5f533d);const _0x17258c=_0x1a2127;_0x474ba7&&console['log'](_0x474ba7);function _0x1d3281(_0x4c29be,_0x42c3d5){return _0x3a90bd(_0x42c3d5,_0x4c29be-0xae);}console['log'](_0x1d3281(-0x7e,_0x4c3a3b._0x5bb860)+'\x20'+(_0x50e8d0['installe'+'d']?_0x50e8d0[_0x1d3281(0x20e,0x47f)]?_0x1d3281(0x20,_0x4c3a3b._0x4546c4)+'d,\x20runni'+'ng':_0x573877(_0x4c3a3b._0x5a5aab,0x257)+'d,\x20stopp'+'ed':_0x17258c[_0x573877(0x5ca,_0x4c3a3b._0x24e66e)])),console[_0x573877(_0x4c3a3b._0x58ab11,0x13b)](_0x1d3281(0x94,0x1f3)+_0x573877(0x646,_0x4c3a3b._0x52b7f2)+(_0x50e8d0[_0x1d3281(0x34,-_0x4c3a3b._0x10acb8)+_0x1d3281(0x363,_0x4c3a3b._0x1db5e8)]||'-'));}function printDoctorReport(_0xf84ae8){const _0x593261={_0x4fc68f:0x301,_0x4f8fb9:0x2ae,_0x1cb6be:0x4c0,_0x7734f:0x47c,_0x1cf1e2:0x590,_0x1d6929:0x1c4,_0x24b1da:0x20d,_0xa1d4ba:0x2dc,_0x563859:0x411,_0x416ead:0x34e,_0x16ec85:0x45,_0x3045c8:0x167,_0x3bc37b:0x60d,_0x81da31:0x1db,_0x34a38a:0x3d7,_0x223429:0x40d,_0x39ac84:0x1c6,_0x3fdcfd:0x87,_0x2789c7:0x27f,_0x58523c:0x864,_0x4bff35:0x915,_0x2124b9:0x43a,_0x4d41e5:0x228,_0x25e0de:0x5e6,_0x372b6a:0x208,_0x1bdcb3:0x65a,_0x1b65c6:0x8d3,_0x3926fc:0x185,_0x5bb59c:0x390,_0x160f10:0x47c,_0x474e85:0x3,_0x4a288f:0x298,_0x105306:0x7fa,_0xbbe655:0x64e,_0x128ba7:0x84,_0x43d06c:0x80f,_0x4b8a8a:0x96b,_0x182ff0:0x59,_0x5eb14f:0x1db,_0x325dc5:0xd9,_0x42c44d:0x2bc,_0x1f5a5c:0x3d8,_0x436b1a:0xe,_0x4780d0:0x70c,_0x24c1b0:0x207,_0x45f999:0x73e,_0x3b1bd5:0x927,_0x43548e:0x74d,_0x71765b:0x4a2,_0x12a223:0x306,_0x76d9a7:0x13,_0x43e9eb:0x94,_0x3f608:0x927,_0x457c34:0x2fb,_0x52a62f:0x157,_0x4f126b:0x15,_0xf2efda:0x451,_0x5d4def:0xac,_0x5e18c1:0xed,_0x2a286:0x47c,_0x515158:0x7ab,_0x5f2e77:0x53f,_0xebda91:0x20d,_0x11be0d:0x149},_0x294bab={_0x36a790:0x674},_0x28efd4={};_0x28efd4['NGHIy']=_0x1116f6(0x167,_0x593261._0x4fc68f)+_0x1116f6(_0x593261._0x4f8fb9,_0x593261._0x1cb6be),_0x28efd4[_0x3bb55c(0x41b,0x4b2)]='missing';const _0x5235a0=_0x28efd4;console[_0x3bb55c(_0x593261._0x7734f,_0x593261._0x1cf1e2)]('Paired:\x20'+(_0xf84ae8[_0x1116f6(_0x593261._0x1d6929,0xb8)]?_0x1116f6(-_0x593261._0x24b1da,-0x30d):'no')),console[_0x1116f6(-0x1db,-_0x593261._0xa1d4ba)]('Gateway\x20'+_0x3bb55c(_0x593261._0x563859,0x199)+(_0xf84ae8[_0x3bb55c(0x45c,_0x593261._0x416ead)+'d']??'-')),console['log'](_0x1116f6(-0x48,_0x593261._0x16ec85)+_0x1116f6(-0x1f1,-_0x593261._0x3045c8)+(_0xf84ae8[_0x3bb55c(_0x593261._0x3bc37b,0x40b)+'l']??'-')),console[_0x1116f6(-_0x593261._0x81da31,-_0x593261._0x34a38a)](_0x1116f6(0x24c,_0x593261._0x223429)+_0x1116f6(-0x21f,-_0x593261._0x39ac84)+(_0xf84ae8[_0x1116f6(0x152,-_0x593261._0x3fdcfd)]??'-')),console[_0x3bb55c(0x47c,0x6a9)](_0x3bb55c(0x511,_0x593261._0x2789c7)+_0x3bb55c(_0x593261._0x58523c,_0x593261._0x4bff35)+(_0xf84ae8[_0x3bb55c(_0x593261._0x2124b9,0x4ff)+'Id']??'-'));function _0x3bb55c(_0x2400b8,_0x2792fa){return _0x3a90bd(_0x2792fa,_0x2400b8-_0x294bab._0x36a790);}console[_0x1116f6(-0x1db,-_0x593261._0x4d41e5)]('Service:'+'\x20'+(_0xf84ae8['serviceI'+'nstalled']?_0x3bb55c(_0x593261._0x25e0de,0x85c)+'d':_0x5235a0[_0x1116f6(_0x593261._0x372b6a,0x427)])+'\x20('+_0xf84ae8['serviceM'+_0x1116f6(0x258,-0xd)]+')');function _0x1116f6(_0x2c89af,_0x5614b0){return _0x3a90bd(_0x5614b0,_0x2c89af-0x1d);}console[_0x3bb55c(_0x593261._0x7734f,0x383)](_0x3bb55c(_0x593261._0x1bdcb3,_0x593261._0x1b65c6)+_0x1116f6(0x1e4,0x257)+'\x20'+(_0xf84ae8[_0x1116f6(_0x593261._0x3926fc,_0x593261._0x5bb59c)+'unning']?_0x1116f6(-0x20d,-0x2ff):'no')),console[_0x3bb55c(_0x593261._0x160f10,0x554)](_0x1116f6(_0x593261._0x474e85,_0x593261._0x4a288f)+_0x3bb55c(_0x593261._0x105306,_0x593261._0xbbe655)+(_0xf84ae8[_0x1116f6(-0x5d,0x1dc)+_0x3bb55c(0x929,0xade)]||'-')),console[_0x1116f6(-0x1db,-_0x593261._0x128ba7)](_0x3bb55c(_0x593261._0x43d06c,_0x593261._0x4b8a8a)+':\x20'+_0xf84ae8[_0x1116f6(0xe4,_0x593261._0x182ff0)]),console[_0x1116f6(-_0x593261._0x5eb14f,-0x1dc)](_0x1116f6(_0x593261._0x325dc5,-0x1ca)+'g\x20path:\x20'+_0xf84ae8[_0x1116f6(0x31,_0x593261._0x42c44d)+_0x1116f6(0xc3,0x202)]),console[_0x3bb55c(0x47c,_0x593261._0x1f5a5c)]('OpenClaw'+_0x1116f6(-0x19a,_0x593261._0x436b1a)+_0xf84ae8[_0x1116f6(0x2d0,0x3b2)+_0x3bb55c(0x874,0x7e1)+'r']),console[_0x3bb55c(0x47c,_0x593261._0x4780d0)]('OpenClaw'+'\x20media:\x20'+_0xf84ae8[_0x3bb55c(0x927,0x9cd)+_0x1116f6(0xda,_0x593261._0x24c1b0)]),console[_0x1116f6(-0x1db,-0x40f)]('OpenClaw'+_0x3bb55c(0x4e2,_0x593261._0x45f999)+'\x20'+(_0xf84ae8[_0x3bb55c(_0x593261._0x3b1bd5,0x7ec)+_0x3bb55c(_0x593261._0x43548e,_0x593261._0x71765b)+_0x1116f6(_0x593261._0x12a223,0x33e)]?'found':_0x5235a0[_0x3bb55c(0x41b,0x4b8)])),console[_0x1116f6(-0x1db,-0x30f)](_0x1116f6(-_0x593261._0x76d9a7,_0x593261._0x43e9eb)+'\x20token:\x20'+(_0xf84ae8[_0x3bb55c(_0x593261._0x3f608,0x87a)+_0x1116f6(_0x593261._0x457c34,0xaa)+'nd']?_0x1116f6(-_0x593261._0x52a62f,_0x593261._0x4f126b):_0x5235a0['yFUST'])),console[_0x3bb55c(0x47c,_0x593261._0xf2efda)](_0x1116f6(0x154,-0x12)+_0x1116f6(_0x593261._0x5d4def,_0x593261._0x5e18c1)+_0xf84ae8['localGat'+'ewayUrl']),console[_0x3bb55c(_0x593261._0x2a286,0x2bf)](_0x3bb55c(_0x593261._0x515158,_0x593261._0x5f2e77)+_0x1116f6(0x90,-0x211)+_0x1116f6(0x13f,-0x55)+(_0xf84ae8[_0x3bb55c(0x460,0x52b)+_0x3bb55c(0x446,0x399)+_0x1116f6(0x22a,0x1fd)]?_0x1116f6(-_0x593261._0xebda91,-_0x593261._0x11be0d):'no'));}function requirePairingConfig(){const _0x1be4be={_0x1cc132:0x839,_0xe896f3:0x675,_0x56a545:0x113,_0x506b86:0x975,_0x215f80:0x47a};function _0x4acdb0(_0x58bf35,_0x34bfba){return _0xb2a5b9(_0x34bfba,_0x58bf35-0x71c);}const _0x3fb2ae=readPairingConfig();function _0xb42e75(_0x2b5e8c,_0x37e54f){return _0xb2a5b9(_0x2b5e8c,_0x37e54f-0x27c);}return!_0x3fb2ae&&(console['error'](_0x4acdb0(_0x1be4be._0x1cc132,_0x1be4be._0xe896f3)+'ed.\x20Run\x20'+'\x22clawket'+_0xb42e75(-0x79,_0x1be4be._0x56a545)+'irst.\x20Co'+_0x4acdb0(_0x1be4be._0x506b86,0xaa2)+_0xb42e75(_0x1be4be._0x215f80,0x418)+getPairingConfigPath()),process['exit'](0x1)),_0x3fb2ae;}function readFlag(_0x592f97,_0x19663d){const _0x986ce0={_0x4eaf40:0x40a,_0x1291e0:0x512},_0x5ccfad={_0x560e39:0x6c};function _0x496f35(_0x3020cc,_0x5b14db){return _0x3a90bd(_0x3020cc,_0x5b14db-0x302);}const _0x46eef6=_0x592f97[_0x496f35(_0x986ce0._0x4eaf40,0x17f)](_0x19663d);function _0x5f5230(_0x3ba691,_0x33ef62){return _0x3a90bd(_0x3ba691,_0x33ef62- -_0x5ccfad._0x560e39);}if(_0x46eef6<0x0)return null;const _0x5cba3f=_0x592f97[_0x46eef6+0x1];return _0x5cba3f?.[_0x496f35(_0x986ce0._0x1291e0,0x594)]()?_0x5cba3f['trim']():null;}function hasFlag(_0x33cd7e,_0x533c48){return _0x33cd7e['includes'](_0x533c48);}function readPairSubcommand(_0x223437){const _0x393da6={_0x58be71:0xc3,_0x11e1dc:0x239},_0x14f3d5={_0xf3e7a4:0x45f};function _0x114289(_0x13f772,_0xa2786f){return _0x3a90bd(_0x13f772,_0xa2786f-_0x14f3d5._0xf3e7a4);}for(const _0x32aaf8 of _0x223437){if(!_0x32aaf8[_0x114289(_0x393da6._0x58be71,_0x393da6._0x11e1dc)+'th']('-'))return _0x32aaf8['trim']()||null;}return null;}function printHelp(){const _0xfa8966={_0x214f7c:0x47,_0x520f83:0x1b5,_0x314c4d:0x297,_0x198db2:0x189,_0x11de31:0x184,_0x171f1d:0x174,_0x379626:0x373,_0xb186c0:0x278,_0x5be1df:0x29b,_0x2f7191:0x220,_0x88ce0f:0x1e2,_0x2cc6a8:0x11f,_0x31b3c9:0x394,_0x5e2e8e:0x213,_0x4bfb24:0x5cc,_0x1c0833:0xa8,_0x306bf6:0x126,_0x3db97f:0x514,_0x30bbae:0x2f2,_0x111b0d:0x3dd,_0x3b91eb:0x684,_0x22457d:0x500,_0x41864e:0x98,_0x319b64:0x1dc,_0x1d41f9:0x292,_0x13eade:0x27c,_0x5a80ca:0x4b7,_0x40d9f4:0x1cd,_0x1a90b3:0x230,_0x55c25e:0x96,_0x29286b:0x64,_0x1441f9:0xc1,_0x220978:0x402,_0x4ec77a:0x5a,_0x5e7dd1:0x1e,_0xe059ca:0x5b,_0x562f60:0x893,_0x3a5f6c:0x61d,_0x4e423f:0x539,_0x5517bc:0x323,_0x3fc71a:0x295,_0x4ed9e4:0x1c9,_0x12bc35:0xc5,_0x11bf44:0x68,_0x5b1ff3:0x1d0,_0x21ec4b:0x3d3,_0x49909e:0x189,_0xf0fee6:0x1f7,_0x1dc6ee:0x325,_0x1c590f:0x442,_0x32f000:0x38c,_0x532272:0x3c5,_0x583251:0x106},_0x4f393e={_0x16e5de:0x355},_0x5b2312={};_0x5b2312['nyCsZ']=_0x4cf980(_0xfa8966._0x214f7c,_0xfa8966._0x520f83)+_0x4cf980(_0xfa8966._0x314c4d,0x58)+'l',_0x5b2312['Rlkjr']=_0x4cf980(_0xfa8966._0x198db2,0x1b5)+_0x4cf980(_0xfa8966._0x11de31,0x5b);function _0x51a8fa(_0x3e780d,_0x493d78){return _0xb2a5b9(_0x3e780d,_0x493d78-_0x4f393e._0x16e5de);}function _0x4cf980(_0x2b80a7,_0x25fa0a){return _0xb2a5b9(_0x2b80a7,_0x25fa0a- -0x2f);}_0x5b2312[_0x4cf980(-0x11b,-0x223)]='clawket\x20'+'run\x20[--g'+_0x51a8fa(0x27,_0xfa8966._0x171f1d)+'rl\x20<ws:/'+'/127.0.0'+_0x4cf980(_0xfa8966._0x379626,_0xfa8966._0xb186c0)+_0x51a8fa(0x176,0x17f)+'place]';const _0x35a730=_0x5b2312;console[_0x4cf980(-_0xfa8966._0x5be1df,-_0xfa8966._0x2f7191)](['clawket\x20'+'pair\x20[--'+_0x4cf980(0x143,_0xfa8966._0x88ce0f)+_0x4cf980(-0x26e,-_0xfa8966._0x2cc6a8)+_0x4cf980(-_0xfa8966._0x31b3c9,-_0xfa8966._0x5e2e8e)+_0x51a8fa(0x203,0x344)+'me>]\x20[--'+'qr-file\x20'+_0x51a8fa(0x46a,_0xfa8966._0x4bfb24)+_0x4cf980(-_0xfa8966._0x1c0833,-0xbb)+_0x4cf980(0x174,-_0xfa8966._0x306bf6)+'e]',_0x51a8fa(_0xfa8966._0x3db97f,0x539)+_0x51a8fa(0x137,_0xfa8966._0x30bbae)+'al\x20[--ur'+'l\x20<ws://'+_0x51a8fa(_0xfa8966._0x111b0d,0x244)+_0x51a8fa(_0xfa8966._0x3b91eb,_0xfa8966._0x22457d)+'r-file\x20<'+_0x4cf980(-_0xfa8966._0x41864e,-_0xfa8966._0x319b64)+_0x4cf980(-0xea,-0x23d),'clawket\x20'+_0x4cf980(_0xfa8966._0x1d41f9,_0xfa8966._0x13eade)+'ocal\x20[--'+'url\x20<ws:'+_0x51a8fa(0x5e,0x237)+_0x51a8fa(_0xfa8966._0x5a80ca,0x604)+_0x4cf980(_0xfa8966._0x40d9f4,_0xfa8966._0x1a90b3)+_0x4cf980(_0xfa8966._0x55c25e,-0x37)+_0x4cf980(-_0xfa8966._0x29286b,-_0xfa8966._0x1441f9)+']',_0x4cf980(_0xfa8966._0x220978,0x1b5)+_0x4cf980(0x1d4,_0xfa8966._0x4ec77a)+'code\x20[--'+_0x4cf980(_0xfa8966._0x5e7dd1,0x19b)+_0x4cf980(0x4b1,0x248)+_0x51a8fa(_0xfa8966._0xe059ca,0x2c9),_0x4cf980(0x3ba,0x1b5)+_0x51a8fa(_0xfa8966._0x562f60,_0xfa8966._0x3a5f6c),_0x4cf980(0xe0,0x1b5)+_0x51a8fa(0x480,0x28b),_0x51a8fa(0x2cc,_0xfa8966._0x4e423f)+_0x51a8fa(_0xfa8966._0x5517bc,0x3cd),_0x51a8fa(_0xfa8966._0x3fc71a,_0xfa8966._0x4e423f)+'stop',_0x35a730[_0x4cf980(0x22,-0x26)],_0x35a730[_0x4cf980(-_0xfa8966._0x4ed9e4,-0xd5)],_0x4cf980(_0xfa8966._0x12bc35,_0xfa8966._0x520f83)+_0x51a8fa(_0xfa8966._0x11bf44,0x19b),_0x4cf980(_0xfa8966._0x5b1ff3,_0xfa8966._0x520f83)+_0x51a8fa(0x5d2,_0xfa8966._0x21ec4b)+_0x4cf980(-_0xfa8966._0x49909e,-0x33)+_0x51a8fa(0x39c,_0xfa8966._0xf0fee6)+_0x51a8fa(_0xfa8966._0x1dc6ee,0x27a)+'>]\x20[--er'+'rors]\x20[-'+'-json]',_0x4cf980(_0xfa8966._0x1c590f,0x1b5)+'doctor\x20['+_0x4cf980(-_0xfa8966._0x32f000,-0x23d),_0x35a730[_0x51a8fa(_0xfa8966._0x532272,0x161)]][_0x51a8fa(_0xfa8966._0x583251,0x166)]('\x0a'));}function buildUnsupportedAutostartMessage(_0x1bafa0){const _0x3825ab={_0x2b1dda:0xd9,_0x52f2f8:0x4d8,_0x325c4e:0x1bc,_0x297873:0x3b0,_0x56d472:0x144,_0x3cf3a1:0x2c4,_0x546713:0x4cd,_0x4bcb74:0xf4,_0x5bd8a5:0x3,_0x2c12c0:0x5f0,_0x32c74f:0x395,_0x2c3386:0x220,_0x140a1e:0xf0,_0x47d333:0x3be,_0x133f19:0x2a4,_0x1ebe15:0x60,_0x26c327:0x253,_0x487c02:0x75d,_0x484a36:0x339,_0x50381e:0x190,_0xd087f5:0x2d8,_0x2aa14f:0x8e,_0x5ea7c4:0x212,_0x1fd90e:0x170,_0x3a88ad:0x1d3,_0x553f46:0x1ff,_0x4bf9d7:0xf1,_0x3d79f6:0x469,_0x5b98ea:0x311,_0x250ec2:0xf2,_0xa83ff:0x725,_0x136e0b:0x34,_0x3f0798:0x172,_0x37c728:0x32,_0x118311:0x29b,_0x418db6:0x14},_0x412af7={};_0x412af7['SyHXg']=_0x16ff91(0x3b2,0x517)+_0xbecda6(_0x3825ab._0x2b1dda,-0x22)+'ge\x20runti'+'me,\x20but\x20'+_0x16ff91(0x6c0,_0x3825ab._0x52f2f8)+_0xbecda6(0x17f,_0x3825ab._0x325c4e)+'ot\x20suppo'+'rt\x20autom'+_0x16ff91(0x19c,_0x3825ab._0x297873)+_0x16ff91(0x339,_0x3825ab._0x56d472)+_0x16ff91(_0x3825ab._0x3cf3a1,_0x3825ab._0x546713)+'n.\x20Use\x20y'+_0xbecda6(_0x3825ab._0x4bcb74,0x1d5)+_0x16ff91(-0x54,-_0x3825ab._0x5bd8a5)+_0xbecda6(_0x3825ab._0x2c12c0,_0x3825ab._0x32c74f)+_0x16ff91(0x2c,0x261)+'\x20to\x20rest'+_0xbecda6(0x1d5,0x16f)+_0x16ff91(0x26e,0xf6)+_0xbecda6(-_0x3825ab._0x2c3386,-_0x3825ab._0x140a1e);function _0x16ff91(_0x23c6a6,_0x21711d){return _0x3a90bd(_0x23c6a6,_0x21711d-0x25e);}const _0x1d3a2e=_0x412af7;if(_0x1bafa0[_0x16ff91(0x2cc,_0x3825ab._0x47d333)])return _0x1d3a2e[_0x16ff91(0x5b5,0x4e2)];function _0xbecda6(_0x327cb6,_0x14022e){return _0x3a90bd(_0x327cb6,_0x14022e-0xb8);}return _0x16ff91(_0x3825ab._0x133f19,0x256)+_0xbecda6(0x341,_0x3825ab._0x325c4e)+_0x16ff91(-0x19d,_0x3825ab._0x4bcb74)+'rt\x20autom'+_0xbecda6(_0x3825ab._0x1ebe15,0x20a)+_0xbecda6(-_0x3825ab._0x26c327,-0x62)+_0x16ff91(_0x3825ab._0x487c02,0x4cd)+_0xbecda6(_0x3825ab._0x484a36,_0x3825ab._0x50381e)+_0x16ff91(_0x3825ab._0xd087f5,0x32)+_0xbecda6(_0x3825ab._0x2aa14f,_0x3825ab._0x5ea7c4)+_0xbecda6(0x231,_0x3825ab._0x1fd90e)+_0xbecda6(_0x3825ab._0x3a88ad,0x72)+_0xbecda6(_0x3825ab._0x553f46,_0x3825ab._0x4bf9d7)+_0xbecda6(_0x3825ab._0x3d79f6,_0x3825ab._0x5b98ea)+_0x16ff91(0x1e1,_0x3825ab._0x250ec2)+_0x16ff91(_0x3825ab._0xa83ff,0x519)+_0xbecda6(-_0x3825ab._0x136e0b,_0x3825ab._0x3f0798)+'\x20or\x20proc'+_0xbecda6(-0x16,_0x3825ab._0x37c728)+_0xbecda6(_0x3825ab._0x118311,_0x3825ab._0x418db6)+'un\x20Clawk'+'et.';}function formatLocalTime(_0x299e79){const _0x286f84={_0xf1db8f:0x1ff,_0x6cca0f:0x75f,_0x36d66a:0x4ba},_0x2b75a8={_0xcf72c8:0x2e5},_0xa50266=new Date(_0x299e79);function _0x3b7ab7(_0x525a0b,_0x4ad76e){return _0xb2a5b9(_0x4ad76e,_0x525a0b-_0x2b75a8._0xcf72c8);}if(Number[_0x3b7ab7(_0x286f84._0xf1db8f,0x412)](_0xa50266[_0x2831ef(_0x286f84._0x6cca0f,_0x286f84._0x36d66a)]()))return _0x299e79;function _0x2831ef(_0x34b434,_0xc80f6d){return _0xb2a5b9(_0xc80f6d,_0x34b434-0x6f8);}return _0xa50266['toLocale'+'String']();}function formatError2(_0x287470){const _0x3adf4c={_0x3838d4:0x138},_0x31c952={_0x262ef8:0x524};function _0x2ef1da(_0x48f42b,_0x28cbf3){return _0xb2a5b9(_0x28cbf3,_0x48f42b-_0x31c952._0x262ef8);}return _0x287470 instanceof Error?_0x287470[_0x2ef1da(0x3e2,_0x3adf4c._0x3838d4)]:String(_0x287470);}function printJson(_0x249b41){function _0x2bb1dc(_0x3785c2,_0x20c052){return _0x3a90bd(_0x20c052,_0x3785c2- -0x4d);}function _0x3cbc7b(_0x6a32fa,_0x593f12){return _0x3a90bd(_0x6a32fa,_0x593f12-0x687);}console[_0x2bb1dc(-0x245,-0x17e)](JSON[_0x2bb1dc(0x230,0x8)+'y'](_0x249b41,null,0x2));}main()['catch'](_0x1247ab=>{const _0x55d959={_0x558fea:0x188,_0x2c25e9:0x1e9,_0x2f6a12:0x21a},_0x1d9de6={_0x45e7a6:0x1d9};function _0x2c7d8e(_0x237c0d,_0x409507){return _0x3a90bd(_0x409507,_0x237c0d-_0x1d9de6._0x45e7a6);}console[_0x2c7d8e(_0x55d959._0x558fea,0x38b)](formatError2(_0x1247ab));function _0x4dfe8c(_0x4959ab,_0x47a57c){return _0x3a90bd(_0x47a57c,_0x4959ab- -0x42);}process[_0x4dfe8c(_0x55d959._0x2c25e9,_0x55d959._0x2f6a12)](0x1);});