@p697/clawket 0.1.2 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
(function(_0x2a3d70,_0x4aaa41){const _0x5d14b9={_0x5ab9bd:0x3f0,_0x19cb6f:0x72a,_0x4a9e57:0x7d0,_0xe7f10b:0x486,_0x517e45:0x647,_0x39ce35:0x4bb,_0x4573df:0x279,_0x39a3b5:0xca,_0x58b7ad:0x89},_0x523139={_0x183d67:0x19a},_0x1fa7f6={_0x2db873:0x20b},_0x516dc9=_0x2a3d70();function _0x30538d(_0x3ca2a9,_0x180d77){return _0x3b87(_0x180d77- -_0x1fa7f6._0x2db873,_0x3ca2a9);}function _0x2204cb(_0x34db17,_0x221d68){return _0x3b87(_0x34db17-_0x523139._0x183d67,_0x221d68);}while(!![]){try{const _0x526f1b=-parseInt(_0x2204cb(0x5da,_0x5d14b9._0x5ab9bd))/0x1+parseInt(_0x2204cb(_0x5d14b9._0x19cb6f,_0x5d14b9._0x4a9e57))/0x2*(-parseInt(_0x2204cb(_0x5d14b9._0xe7f10b,0x5f5))/0x3)+parseInt(_0x2204cb(_0x5d14b9._0x517e45,_0x5d14b9._0x39ce35))/0x4+parseInt(_0x30538d(0xbd,_0x5d14b9._0x4573df))/0x5+parseInt(_0x30538d(0xf6,_0x5d14b9._0x39a3b5))/0x6+parseInt(_0x2204cb(0x539,0x69d))/0x7*(parseInt(_0x30538d(-0xcb,_0x5d14b9._0x58b7ad))/0x8)+-parseInt(_0x30538d(0x28b,0x2fe))/0x9;if(_0x526f1b===_0x4aaa41)break;else _0x516dc9['push'](_0x516dc9['shift']());}catch(_0x4704e4){_0x516dc9['push'](_0x516dc9['shift']());}}}(_0x5b61,0x85f81));const _0x41218c=(function(){const _0x248191={_0x14f899:0x433};let _0x3235ff=!![];return function(_0x200b98,_0x1ce42c){const _0x13db9a=_0x3235ff?function(){function _0x2cb19c(_0x29ccd2,_0x5886c1){return _0x3b87(_0x5886c1-0x1c2,_0x29ccd2);}if(_0x1ce42c){const _0x439a09=_0x1ce42c[_0x2cb19c(0x467,_0x248191._0x14f899)](_0x200b98,arguments);return _0x1ce42c=null,_0x439a09;}}:function(){};return _0x3235ff=![],_0x13db9a;};}()),_0x5a346e=_0x41218c(this,function(){const _0x5b33e4={_0x4fed9d:0x40b,_0x598ed4:0x2cf,_0x2ef1a6:0x402,_0x5aaf27:0x331};function _0x12d246(_0x123dd9,_0x1246d7){return _0x3b87(_0x1246d7- -0x211,_0x123dd9);}function _0x276f27(_0x14d8fa,_0x79954c){return _0x3b87(_0x14d8fa- -0x196,_0x79954c);}return _0x5a346e[_0x276f27(0x32d,_0x5b33e4._0x4fed9d)]()[_0x276f27(0x30d,0x151)](_0x12d246(0x101,_0x5b33e4._0x598ed4)+_0x276f27(_0x5b33e4._0x2ef1a6,0x453))['toString']()['construc'+'tor'](_0x5a346e)[_0x12d246(_0x5b33e4._0x5aaf27,0x292)]('(((.+)+)'+_0x276f27(0x402,0x49e));});_0x5a346e();import _0x1a3560 from'qrcode-terminal';import{readFileSync as _0x42b153}from'fs';import{Socket}from'net';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(),_0xfff276(0x275,0x114)),CONFIG_PATH=join(CONFIG_DIR,_0x5ae336(0x1db,0x2f9)+_0x5ae336(0x2a6,0x248)),OPENCLAW_CONFIG_PATH=join(homedir(),_0x5ae336(0x184,0x1ba)+'w',_0xfff276(0x2dc,0x348)+_0xfff276(0x3af,0x1e9));function getPairingConfigPath(){return CONFIG_PATH;}function readPairingConfig(){const _0x17c974={_0x551fc0:0x86c,_0x2ee419:0x5e4,_0x2b74c3:0x5c0,_0x2d00c5:0x733,_0x221f5f:0x8a5,_0x2e3c30:0x6d4,_0x238b62:0x5e1,_0xa780f9:0x498,_0x1cc3c6:0x89f,_0x245958:0xed,_0x511c18:0x8f,_0x624c99:0x558,_0x5460c2:0x431,_0x5e4dc3:0x5f,_0x7edfb3:0x75c,_0x22c485:0x115,_0x428faa:0x89f,_0x9dc2ad:0x65b},_0x12a95d={_0xb8c371:0x371},_0x3fe0c3={'YnjXG':function(_0x68eede){return _0x68eede();},'hSYmd':function(_0x490c0e,_0x5c460a){return _0x490c0e(_0x5c460a);}};function _0x5a80a8(_0x12d8b5,_0x160116){return _0xfff276(_0x12d8b5-_0x12a95d._0xb8c371,_0x160116);}if(!existsSync(CONFIG_PATH))return null;function _0x28aee1(_0x19207f,_0x24ee2a){return _0xfff276(_0x19207f- -0x318,_0x24ee2a);}try{const _0x307474=JSON[_0x5a80a8(0x883,0x89a)](readFileSync(CONFIG_PATH,_0x5a80a8(_0x17c974._0x551fc0,0x707)));if(!_0x307474['serverUr'+'l']||!_0x307474['gatewayI'+'d']||!_0x307474[_0x28aee1(0x21c,0xcf)+_0x5a80a8(0x5e1,_0x17c974._0x2ee419)]||!_0x307474[_0x5a80a8(_0x17c974._0x2b74c3,_0x17c974._0x2d00c5)])return null;const _0x50ea9a={'serverUrl':_0x307474['serverUr'+'l'],'gatewayId':_0x307474['gatewayI'+'d'],'relaySecret':_0x307474[_0x5a80a8(_0x17c974._0x221f5f,_0x17c974._0x2e3c30)+_0x5a80a8(_0x17c974._0x238b62,_0x17c974._0xa780f9)],'relayUrl':_0x307474[_0x5a80a8(0x5c0,0x679)],'instanceId':_0x307474[_0x5a80a8(_0x17c974._0x1cc3c6,0x910)+'Id']?.[_0x28aee1(_0x17c974._0x245958,-_0x17c974._0x511c18)]()||_0x3fe0c3[_0x28aee1(0x164,0x102)](createInstanceId),'displayName':_0x307474[_0x5a80a8(_0x17c974._0x624c99,_0x17c974._0x5460c2)+_0x5a80a8(0x842,0x83e)]??null,'createdAt':_0x307474['createdA'+'t']??new Date()[_0x5a80a8(0x5db,0x757)+_0x28aee1(0x58,_0x17c974._0x5e4dc3)](),'updatedAt':_0x307474[_0x5a80a8(0x875,_0x17c974._0x7edfb3)+'t']??new Date()['toISOStr'+_0x28aee1(0x58,_0x17c974._0x22c485)]()};return _0x307474[_0x5a80a8(_0x17c974._0x428faa,0x76f)+'Id']!==_0x50ea9a[_0x5a80a8(0x89f,0x80a)+'Id']&&_0x3fe0c3[_0x5a80a8(_0x17c974._0x9dc2ad,0x838)](writePairingConfig,_0x50ea9a),_0x50ea9a;}catch{return null;}}function writePairingConfig(_0x2767c1){const _0x343794={_0x54ae14:0x4e6,_0x2c8cf1:0x137,_0x5bd7b0:0x2ea},_0x3975f8={_0x301b34:0x6f};function _0x38b78b(_0x65ea15,_0x1120a0){return _0x5ae336(_0x1120a0- -0xea,_0x65ea15);}function _0x161e2a(_0x7b240b,_0x3f6a14){return _0x5ae336(_0x7b240b-_0x3975f8._0x301b34,_0x3f6a14);}const _0x53226a={};_0x53226a[_0x161e2a(0x314,_0x343794._0x54ae14)+'e']=!![],mkdirSync(CONFIG_DIR,_0x53226a),writeFileSync(CONFIG_PATH,JSON[_0x161e2a(_0x343794._0x2c8cf1,0x1ed)+'y'](_0x2767c1,null,0x2)+'\x0a',_0x38b78b(0x2fb,_0x343794._0x5bd7b0));}function deletePairingConfig(){const _0x20fd58={_0x57c4cd:0x62,_0x54fc14:0x66f},_0x38d994={_0x4daf4b:0x28f},_0x7d1692={'NiMnN':function(_0x32c22b,_0x59b59b){return _0x32c22b(_0x59b59b);},'wKZip':function(_0x424197,_0x3af713,_0x554d52){return _0x424197(_0x3af713,_0x554d52);}};function _0x4c60f1(_0x37db2e,_0x5042c3){return _0xfff276(_0x37db2e- -0x13f,_0x5042c3);}if(!_0x7d1692[_0x4c60f1(0x60,_0x20fd58._0x57c4cd)](existsSync,CONFIG_PATH))return;function _0xf4fc38(_0x11ed58,_0x271d03){return _0xfff276(_0x11ed58-_0x38d994._0x4daf4b,_0x271d03);}const _0x24d2f3={};_0x24d2f3[_0xf4fc38(0x4a4,_0x20fd58._0x54fc14)]=!![],_0x7d1692[_0x4c60f1(0x37,0x18f)](rmSync,CONFIG_PATH,_0x24d2f3);}function getDefaultBridgeDisplayName(){const _0x4ee14f={_0x364c2c:0x3c3,_0x3f9c03:0x405,_0x3e2701:0x4ed},_0x51554c={_0x10966a:0x0},_0x3c1a92=readOpenClawDefaultAgentName();function _0x157bd8(_0x5779df,_0x143979){return _0xfff276(_0x143979- -0x16e,_0x5779df);}function _0x3d2b37(_0x3b3268,_0x382d8d){return _0xfff276(_0x382d8d-_0x51554c._0x10966a,_0x3b3268);}if(_0x3c1a92)return _0x3c1a92;try{const _0x447ee4=userInfo()['username'][_0x3d2b37(_0x4ee14f._0x364c2c,_0x4ee14f._0x3f9c03)]();if(_0x447ee4)return _0x447ee4;}catch{}const _0x26fec5=(process.env.LOGNAME??process.env.USER??process.env.USERNAME??'')[_0x157bd8(0x429,0x297)]();if(_0x26fec5)return _0x26fec5;return hostname()[_0x157bd8(0x234,0x297)]()||'Clawket\x20'+_0x3d2b37(0x459,_0x4ee14f._0x3e2701);}function pickOpenClawDefaultAgentName(_0x2165cb){const _0xb2adb4={_0x36fc50:0x15e,_0x5ed145:0x53e,_0x23f98f:0x547,_0x364623:0x259,_0x434875:0x30f,_0x3ae4f9:0x3d2,_0x494933:0x132},_0x5c377f={_0x301dcc:0x4fd};function _0x3680e2(_0x61baca,_0x48115d){return _0x5ae336(_0x61baca- -0x196,_0x48115d);}const _0x17f518={};_0x17f518[_0x3680e2(-0x64,_0xb2adb4._0x36fc50)]=_0x30c967(_0xb2adb4._0x5ed145,_0xb2adb4._0x23f98f);const _0x5c1a2c=_0x17f518;if(!_0x2165cb||typeof _0x2165cb!==_0x5c1a2c['HtQwA'])return null;const _0x2a4cf9=_0x2165cb[_0x30c967(0x7f9,0x72a)];function _0x30c967(_0x4ad187,_0x47fec2){return _0x5ae336(_0x47fec2-_0x5c377f._0x301dcc,_0x4ad187);}const _0x164cca=Array[_0x3680e2(-0x128,-_0xb2adb4._0x364623)](_0x2a4cf9?.[_0x3680e2(0x1f5,_0xb2adb4._0x434875)])?_0x2a4cf9[_0x3680e2(0x1f5,_0xb2adb4._0x3ae4f9)]:[],_0x55f7df=_0x164cca[_0x3680e2(_0xb2adb4._0x494933,-0xa2)](_0x1219ec=>isDefaultAgent(_0x1219ec))??_0x164cca[_0x3680e2(0x132,0x89)](_0x28c94d=>hasAgentId(_0x28c94d,_0x3680e2(0x24f,0x2ca)))??_0x164cca[0x0];return readAgentName(_0x55f7df);}function createInstanceId(){function _0x27ea0e(_0x342064,_0x2d16b0){return _0x5ae336(_0x342064-0x360,_0x2d16b0);}const _0x510ef5={'YYXJj':function(_0x536bfb){return _0x536bfb();}},_0x1822ab=sanitizeId(_0x510ef5['YYXJj'](hostname)||_0x27ea0e(0x69e,0x6f7));return'inst-'+_0x1822ab+'-'+randomUUID()['slice'](0x0,0xa);}function sanitizeId(_0x502e97){const _0x3b5a5e={_0x110f8e:0x225,_0x1da3f5:0x2f1,_0x5c4df6:0x158,_0x1dd556:0x2d,_0x2bdb02:0xb9,_0x14c8f1:0x81,_0x4a5260:0xfb},_0x5e8eb4={_0xa8ce90:0x1e0};function _0x17fd18(_0x376c6b,_0x58157d){return _0xfff276(_0x376c6b- -_0x5e8eb4._0xa8ce90,_0x58157d);}function _0x1565a5(_0x455ddb,_0x3e768a){return _0xfff276(_0x455ddb- -0x322,_0x3e768a);}return _0x502e97[_0x17fd18(_0x3b5a5e._0x110f8e,_0x3b5a5e._0x1da3f5)]()[_0x1565a5(-0x8c,-_0x3b5a5e._0x5c4df6)+_0x1565a5(_0x3b5a5e._0x1dd556,-0x41)]()[_0x17fd18(0x36,-_0x3b5a5e._0x2bdb02)](/[^a-z0-9._-]+/g,'-')[_0x17fd18(0x36,-_0x3b5a5e._0x14c8f1)](/^-+|-+$/g,'')||_0x17fd18(0x285,_0x3b5a5e._0x4a5260);}function readOpenClawDefaultAgentName(){const _0x4de791={_0x38a3db:0x3ac};function _0x26c3a0(_0x23c7fa,_0x22180c){return _0xfff276(_0x23c7fa-0x2ae,_0x22180c);}function _0x2d42ea(_0x92f6b2,_0x59efe2){return _0xfff276(_0x59efe2- -0x39,_0x92f6b2);}const _0x1321b0={'TgtfE':function(_0x5ab1a5,_0x29f1e0,_0x45b0cd){return _0x5ab1a5(_0x29f1e0,_0x45b0cd);}};if(!existsSync(OPENCLAW_CONFIG_PATH))return null;try{const _0x1b3242=JSON[_0x2d42ea(_0x4de791._0x38a3db,0x4d9)](_0x1321b0[_0x26c3a0(0x69b,0x67d)](readFileSync,OPENCLAW_CONFIG_PATH,'utf8'));return pickOpenClawDefaultAgentName(_0x1b3242);}catch{return null;}}function isDefaultAgent(_0x1f0837){const _0x12ba43={_0x32dd2e:0x576,_0x520ebc:0x2b1,_0x34520c:0x59d,_0x5af9a7:0x6cf,_0x10e572:0x4e8,_0x34b814:0x518},_0x5c196d={_0x10e9bc:0x267},_0x2d593a={};function _0x5d08e7(_0x5d6448,_0x377678){return _0x5ae336(_0x5d6448-0x368,_0x377678);}_0x2d593a[_0x3f5479(_0x12ba43._0x32dd2e,0x49c)]=_0x3f5479(0x144,_0x12ba43._0x520ebc);function _0x3f5479(_0x2e346c,_0x5e8408){return _0x5ae336(_0x5e8408-_0x5c196d._0x10e9bc,_0x2e346c);}_0x2d593a[_0x3f5479(0x6ad,0x520)]=function(_0x406dde,_0x2b1653){return _0x406dde===_0x2b1653;};const _0x1063fe=_0x2d593a;return Boolean(_0x1f0837&&typeof _0x1f0837===_0x1063fe[_0x5d08e7(_0x12ba43._0x34520c,_0x12ba43._0x5af9a7)]&&_0x1063fe[_0x5d08e7(0x621,_0x12ba43._0x10e572)](_0x1f0837[_0x5d08e7(0x6b4,_0x12ba43._0x34b814)],!![]));}function hasAgentId(_0x167f44,_0x3d5449){const _0x76e4eb={_0x5cd3b9:0x58,_0x5aa6de:0x1ee,_0x15e201:0x2c3,_0x20c9ef:0x180,_0x447b3a:0x132,_0x1e9fb3:0x46b,_0x263106:0x4bd},_0x225a04={};_0x225a04[_0x5751a0(-_0x76e4eb._0x5cd3b9,0x132)]=_0x5751a0(-0xe8,-0x1df);function _0x5751a0(_0x2ecbbf,_0x1126da){return _0xfff276(_0x1126da- -0x350,_0x2ecbbf);}function _0x483fa9(_0x10a608,_0x36105f){return _0xfff276(_0x36105f-0xb8,_0x10a608);}_0x225a04[_0x5751a0(_0x76e4eb._0x5aa6de,0x14f)]=_0x483fa9(_0x76e4eb._0x15e201,0x39c);const _0xe9d526=_0x225a04;return Boolean(_0x167f44&&typeof _0x167f44===_0xe9d526[_0x5751a0(_0x76e4eb._0x20c9ef,_0x76e4eb._0x447b3a)]&&typeof _0x167f44['id']===_0xe9d526[_0x483fa9(_0x76e4eb._0x1e9fb3,0x557)]&&_0x167f44['id'][_0x483fa9(0x5e7,_0x76e4eb._0x263106)]()===_0x3d5449);}function readAgentName(_0x41a92b){const _0x464410={_0x37aff3:0x48a,_0x161554:0x409,_0x3c0648:0x595,_0x158030:0x3f6,_0xba4d09:0x704,_0x4ee1ef:0x749,_0x2242fc:0x3d0,_0xe3a150:0x4fe},_0x1db21c={_0x301a9e:0x341},_0xf34017={_0x9898b6:0x118};if(!_0x41a92b||typeof _0x41a92b!==_0x1b6567(_0x464410._0x37aff3,0x38b))return null;function _0x1554dc(_0x573a03,_0x3ce7a6){return _0x5ae336(_0x3ce7a6-_0xf34017._0x9898b6,_0x573a03);}function _0x1b6567(_0x4c619f,_0x302c1a){return _0x5ae336(_0x302c1a-_0x1db21c._0x301a9e,_0x4c619f);}const _0x2fa291=_0x41a92b,_0x3490c9=typeof _0x2fa291[_0x1b6567(_0x464410._0x161554,0x4e4)]?.[_0x1b6567(_0x464410._0x3c0648,0x749)]==='string'?_0x2fa291['identity'][_0x1554dc(0x423,0x520)][_0x1554dc(0x560,_0x464410._0x158030)]():'';if(_0x3490c9)return _0x3490c9;const _0x3c655d=typeof _0x2fa291[_0x1b6567(_0x464410._0xba4d09,_0x464410._0x4ee1ef)]===_0x1b6567(_0x464410._0x2242fc,_0x464410._0xe3a150)?_0x2fa291['name']['trim']():'';return _0x3c655d||null;}function buildPairingQrPayload(_0x42fc88){const _0x133a63={_0x530970:0x1c,_0x5079da:0x4db,_0x354d32:0x384,_0x48278a:0x7c5,_0x774bb6:0x506,_0x285bc6:0x16e},_0x3c3983={_0x13c431:0x41b},_0xe4841b={_0x5c5d02:0xa6};function _0x2a0117(_0x51862c,_0x44b769){return _0x5ae336(_0x44b769-_0xe4841b._0x5c5d02,_0x51862c);}const _0x52bbcf={};_0x52bbcf['v']=0x2;function _0x553589(_0x18cfd6,_0x1d6cc9){return _0x5ae336(_0x1d6cc9-_0x3c3983._0x13c431,_0x18cfd6);}_0x52bbcf['k']='cp',_0x52bbcf['s']=_0x42fc88[_0x2a0117(_0x133a63._0x530970,0x105)],_0x52bbcf['g']=_0x42fc88['gatewayI'+'d'],_0x52bbcf['a']=_0x42fc88['accessCo'+'de'];const _0x22f9cd=_0x52bbcf;return _0x42fc88[_0x553589(0x4c9,_0x133a63._0x5079da)+_0x2a0117(0x46f,0x450)]?.[_0x2a0117(0x412,_0x133a63._0x354d32)]()&&(_0x22f9cd['n']=_0x42fc88[_0x553589(0x52f,_0x133a63._0x5079da)+_0x553589(0x71b,_0x133a63._0x48278a)]['trim']()),_0x42fc88['token']?.[_0x2a0117(0x401,0x384)]()&&(_0x22f9cd['t']=_0x42fc88[_0x553589(0x569,_0x133a63._0x774bb6)]['trim']()),JSON[_0x2a0117(0x164,_0x133a63._0x285bc6)+'y'](_0x22f9cd);}async function pairGateway(_0x40d8bc){const _0x1c94b6={_0x5c4861:0x1f8,_0x410149:0x161,_0x3e59e6:0x168,_0x494cf8:0x2de,_0x3812c2:0x336,_0x52f3ee:0x378,_0x414ce3:0x5f,_0x158545:0x25b,_0x3bfb7c:0x2c5,_0xd83ebc:0x164,_0x25268d:0xdb,_0x50aaa8:0xc4,_0x31ffdc:0xc4,_0x59e2fc:0x9f,_0x38fbe0:0x1d0,_0x5e20ff:0x184,_0x101b95:0xcc,_0x4524d5:0x354,_0x2f13f1:0x5a,_0x213866:0x4a,_0x4a8796:0x26c,_0x12ba3e:0x2c7,_0x1ffd72:0x266,_0x478294:0x353,_0x114d74:0x314,_0x56ee09:0x4aa,_0x589b46:0x215,_0x424faa:0x46,_0x2ea539:0x22e,_0xe30a2c:0x379,_0x2e2c52:0x60,_0x164ec0:0x1e9,_0x428efc:0x3ae,_0x567f11:0x28,_0x32f1f6:0xe3,_0x5e41ef:0x2b5,_0x3e7fa6:0xdb,_0x17864e:0x1d9,_0x4b364e:0x2f9,_0xacb091:0x101,_0x1d9df4:0x26a,_0x35a8a1:0x11d,_0x5aafa6:0x3fc,_0x55abb8:0x6c,_0x49ad4e:0x264,_0x10ca59:0x3b6,_0x4fbcd8:0x140,_0x28f85a:0x430,_0x1b50a6:0x164,_0x32f041:0x30,_0x30112d:0x155,_0x4e9197:0x20,_0x57e745:0x422,_0x38c45e:0x4b4,_0x4dc799:0x193,_0x385434:0x44,_0x2d3c69:0xa6,_0x56a56e:0x23,_0x91603d:0x9d,_0x1ec68f:0x3c5,_0x1a6aea:0x2ac,_0x3fba6e:0x363,_0x127173:0x3f,_0x1e14d4:0x16a,_0x228728:0x1b1,_0x42a38b:0x385,_0x4fbb5f:0xf,_0x3e0be6:0xa4,_0xf48dae:0x3c5,_0x5aefdf:0x50e,_0x3f0f9e:0x1b7},_0x4856f9={_0x1e5aa7:0x26f},_0x22b111={_0xd0d50b:0x10c},_0x10ddcc={'EOpor':function(_0x19ca91,_0x8e4c59,_0x1ea159){return _0x19ca91(_0x8e4c59,_0x1ea159);},'GIOJt':function(_0x160b78,_0x2474e3){return _0x160b78===_0x2474e3;},'terCw':function(_0x3aa03e,_0x25e8ac){return _0x3aa03e(_0x25e8ac);},'Wqywg':function(_0x2d65bb,_0x3523ad){return _0x2d65bb(_0x3523ad);}},_0x429e67=normalizeHttpBase(_0x40d8bc[_0x46894a(0x168,0x1d3)+'l']),_0x3851a8=readPairingConfig(),_0x13f441=_0x10ddcc[_0x226da8(_0x1c94b6._0x5c4861,0x20c)](assessPairingCompatibility,_0x3851a8,_0x429e67);function _0x226da8(_0x3936de,_0x137f74){return _0xfff276(_0x3936de- -_0x22b111._0xd0d50b,_0x137f74);}if(_0x10ddcc[_0x46894a(0x98,0x6e)](_0x13f441,_0x46894a(-_0x1c94b6._0x410149,0x49)+_0x46894a(_0x1c94b6._0x3e59e6,_0x1c94b6._0x494cf8))&&_0x3851a8){const _0xbf94ee={};return _0xbf94ee[_0x226da8(_0x1c94b6._0x3812c2,_0x1c94b6._0x52f3ee)+'l']=_0x3851a8[_0x46894a(0xa,0x1d3)+'l'],_0xbf94ee[_0x46894a(-_0x1c94b6._0x414ce3,-0x23)+'d']=_0x3851a8['gatewayI'+'d'],_0xbf94ee[_0x46894a(_0x1c94b6._0x158545,_0x1c94b6._0x3bfb7c)+_0x46894a(-0xa5,0x1)]=_0x3851a8[_0x46894a(0x2fe,_0x1c94b6._0x3bfb7c)+_0x226da8(_0x1c94b6._0xd83ebc,0x2fa)],_0xbf94ee['displayN'+_0x226da8(0x3c5,0x3ee)]=_0x40d8bc[_0x226da8(_0x1c94b6._0x25268d,0x3c)+'ame'],_0xbf94ee[_0x46894a(-0xf9,-_0x1c94b6._0x50aaa8)+_0x226da8(0x184,_0x1c94b6._0x31ffdc)]=_0x40d8bc[_0x226da8(_0x1c94b6._0x59e2fc,_0x1c94b6._0x38fbe0)+_0x226da8(_0x1c94b6._0x5e20ff,_0x1c94b6._0x101b95)],refreshAccessCode(_0xbf94ee);}if(_0x13f441===_0x226da8(_0x1c94b6._0x4524d5,0x23c)+_0x46894a(-_0x1c94b6._0x2f13f1,_0x1c94b6._0x213866))throw new Error(_0x226da8(_0x1c94b6._0x4a8796,0x349)+_0x46894a(_0x1c94b6._0x12ba3e,0x255)+'lready\x20p'+_0x226da8(_0x1c94b6._0x1ffd72,_0x1c94b6._0x478294)+_0x226da8(_0x1c94b6._0x114d74,_0x1c94b6._0x56ee09)+_0x3851a8?.['serverUr'+'l']+(_0x46894a(0x2b7,_0x1c94b6._0x589b46)+_0x46894a(-0xe8,-0xa9)+'eset\x22\x20be'+'fore\x20pai'+'ring\x20wit'+_0x226da8(0x182,-_0x1c94b6._0x424faa)+_0x226da8(0x1e5,0x3d1)+'rver.'));const _0x55e25e={};function _0x46894a(_0x4502ac,_0x29f3bc){return _0xfff276(_0x29f3bc- -_0x4856f9._0x1e5aa7,_0x4502ac);}_0x55e25e[_0x226da8(0x22d,0x242)+_0x46894a(0x6a,_0x1c94b6._0x2ea539)]='applicat'+_0x46894a(_0x1c94b6._0xe30a2c,0x24b),_0x55e25e[_0x46894a(0xd9,_0x1c94b6._0x2e2c52)]=_0x226da8(0x155,_0x1c94b6._0x164ec0)+_0x226da8(_0x1c94b6._0x428efc,0x367);const _0x5c3754=await fetch(_0x429e67+(_0x46894a(0x14d,_0x1c94b6._0x567f11)+_0x46894a(0x3bb,0x2c3)+'r'),{'method':_0x46894a(-0x103,0x1b),'headers':_0x55e25e,'body':JSON[_0x226da8(_0x1c94b6._0x32f1f6,_0x1c94b6._0x5e41ef)+'y']({'displayName':_0x40d8bc[_0x226da8(_0x1c94b6._0x3e7fa6,_0x1c94b6._0x17864e)+'ame']?.[_0x226da8(_0x1c94b6._0x4b364e,0x112)]()||null})});if(!_0x5c3754['ok'])throw new Error('Pair\x20reg'+_0x46894a(-0x1d9,-_0x1c94b6._0xacb091)+_0x46894a(_0x1c94b6._0x1d9df4,_0x1c94b6._0x35a8a1)+_0x5c3754[_0x46894a(_0x1c94b6._0x5aafa6,0x23f)]+'):\x20'+await _0x5c3754[_0x46894a(0xb7,_0x1c94b6._0x55abb8)]());const _0x5d9db7=await _0x5c3754[_0x46894a(-0x190,-0x54)](),_0x3554ea=new Date()['toISOStr'+_0x226da8(_0x1c94b6._0x49ad4e,_0x1c94b6._0x10ca59)](),_0xbd7f14={'serverUrl':_0x429e67,'gatewayId':_0x5d9db7[_0x226da8(_0x1c94b6._0x4fbcd8,0x1b7)+'d'],'relaySecret':_0x5d9db7[_0x226da8(0x428,_0x1c94b6._0x28f85a)+_0x226da8(_0x1c94b6._0x1b50a6,_0x1c94b6._0x32f041)],'relayUrl':_0x5d9db7[_0x46894a(-_0x1c94b6._0x30112d,-_0x1c94b6._0x4e9197)],'instanceId':_0x3851a8?.[_0x226da8(_0x1c94b6._0x57e745,_0x1c94b6._0x38c45e)+'Id']??_0x46894a(-_0x1c94b6._0x4dc799,_0x1c94b6._0x385434)+_0x5d9db7[_0x46894a(_0x1c94b6._0x2d3c69,-_0x1c94b6._0x56a56e)+'d'][_0x46894a(0x7b,0x1a5)](-0xa),'displayName':_0x5d9db7[_0x226da8(_0x1c94b6._0x25268d,_0x1c94b6._0x91603d)+_0x226da8(_0x1c94b6._0x1ec68f,0x229)],'createdAt':_0x3554ea,'updatedAt':_0x3554ea};return _0x10ddcc[_0x226da8(_0x1c94b6._0x1a6aea,_0x1c94b6._0x3fba6e)](writePairingConfig,_0xbd7f14),{'config':_0xbd7f14,'accessCode':_0x5d9db7[_0x226da8(0xbf,-_0x1c94b6._0x127173)+'de'],'accessCodeExpiresAt':_0x5d9db7[_0x46894a(-_0x1c94b6._0x1e14d4,-0xa4)+_0x46894a(0xe0,-0xa8)+_0x46894a(_0x1c94b6._0x228728,0x293)],'action':'register'+'ed','qrPayload':_0x10ddcc[_0x226da8(_0x1c94b6._0x42a38b,0x30b)](buildPairingQrPayload,{'server':_0x429e67,'gatewayId':_0x5d9db7[_0x46894a(-_0x1c94b6._0x4fbb5f,-0x23)+'d'],'accessCode':_0x5d9db7[_0x46894a(0x7e,-_0x1c94b6._0x3e0be6)+'de'],'displayName':_0x5d9db7['displayN'+_0x226da8(_0x1c94b6._0xf48dae,_0x1c94b6._0x5aefdf)],'token':_0x40d8bc['gatewayT'+'oken']?.[_0x226da8(0x2f9,_0x1c94b6._0x3f0f9e)]()||null})};}async function refreshAccessCode(_0x5e0b30){const _0x1806f6={_0x359d9f:0x523,_0xd9c2c5:0x3d2,_0x3bd7b7:0x585,_0x2f710b:0x1dc,_0x598de0:0x4c4,_0x57b708:0x4ec,_0x5b0f32:0x3a3,_0x5534e2:0x499,_0x26aa47:0x38d,_0x48b3a0:0x3ca,_0x46d242:0x719,_0x52e222:0x3b0,_0x4f68a2:0x1f1,_0x119756:0xec,_0x17e16b:0x736,_0x178618:0x17f,_0x27c460:0x3a4,_0x48348d:0x495,_0x3fde26:0x3d9,_0x450c1f:0x12f,_0x28eed7:0x694,_0x31a9aa:0x706,_0x458d7f:0x36c,_0x16cfff:0x1df,_0x57ad78:0x177,_0x18f74f:0x661,_0x74b71:0x3e6,_0x65e877:0x542,_0x45ccf7:0x4ee,_0x2a2c39:0x461,_0x53e8ba:0x4a3,_0x28ad76:0x5f9,_0x2d494a:0x4a3,_0x592e99:0x303,_0x2065e7:0xfc,_0x1886a9:0x6c2,_0x4cf16a:0x37f,_0x55326b:0x3c3,_0x30d855:0x547},_0x52e567={'FPCCJ':_0x588b9f(0x21a,0x290),'EGttA':'applicat'+_0x1bd18f(0x5ed,_0x1806f6._0x359d9f),'eLbwo':function(_0x5c027a,_0x496350){return _0x5c027a(_0x496350);}},_0x366477=readPairingConfig(),_0x2547c4=normalizeHttpBase(_0x5e0b30?.[_0x588b9f(_0x1806f6._0xd9c2c5,_0x1806f6._0x3bd7b7)+'l']??_0x366477?.['serverUr'+'l']??''),_0x54af12=_0x5e0b30?.[_0x588b9f(_0x1806f6._0x2f710b,0x393)+'d']??_0x366477?.[_0x1bd18f(0x37f,0x3ab)+'d']??'',_0x165ec5=_0x5e0b30?.['relaySec'+_0x588b9f(0x200,0x297)]??_0x366477?.[_0x588b9f(_0x1806f6._0x598de0,_0x1806f6._0x57b708)+_0x1bd18f(_0x1806f6._0x5b0f32,0x2d2)]??'';function _0x588b9f(_0x32dc14,_0x2b3a1a){return _0x5ae336(_0x32dc14-0xb7,_0x2b3a1a);}if(!_0x2547c4||!_0x54af12||!_0x165ec5)throw new Error(_0x588b9f(0x2ff,_0x1806f6._0x5534e2)+_0x1bd18f(_0x1806f6._0x26aa47,0x302)+'ot\x20found'+_0x588b9f(0x2c6,0x48b)+'ir\x20first'+'.');const _0x2d8340=await fetch(_0x2547c4+(_0x1bd18f(_0x1806f6._0x48b3a0,0x3a7)+_0x1bd18f(0x4cc,0x605)+_0x1bd18f(0x670,_0x1806f6._0x46d242)),{'method':_0x52e567['FPCCJ'],'headers':{'content-type':_0x52e567[_0x1bd18f(_0x1806f6._0x52e222,0x3ed)],'accept':_0x588b9f(_0x1806f6._0x4f68a2,_0x1806f6._0x119756)+_0x1bd18f(0x5ed,_0x1806f6._0x17e16b)},'body':JSON[_0x588b9f(_0x1806f6._0x178618,0x272)+'y']({'gatewayId':_0x54af12,'relaySecret':_0x165ec5,'displayName':_0x5e0b30?.['displayN'+_0x588b9f(0x461,_0x1806f6._0x27c460)]?.['trim']()||void 0x0})});if(!_0x2d8340['ok'])throw new Error('Access\x20c'+_0x588b9f(_0x1806f6._0x48348d,_0x1806f6._0x3fde26)+'esh\x20fail'+_0x588b9f(0x189,_0x1806f6._0x450c1f)+_0x2d8340[_0x1bd18f(0x5e1,_0x1806f6._0x28eed7)]+_0x1bd18f(_0x1806f6._0x3bd7b7,_0x1806f6._0x31a9aa)+await _0x2d8340['text']());const _0x4f187e=await _0x2d8340[_0x588b9f(0x1ab,_0x1806f6._0x458d7f)](),_0x5afd65={'serverUrl':_0x2547c4,'gatewayId':_0x4f187e['gatewayI'+'d'],'relaySecret':_0x165ec5,'relayUrl':_0x4f187e[_0x588b9f(_0x1806f6._0x16cfff,_0x1806f6._0x57ad78)],'instanceId':_0x366477?.[_0x1bd18f(_0x1806f6._0x18f74f,0x55d)+'Id']??_0x1bd18f(_0x1806f6._0x74b71,0x534)+_0x4f187e['gatewayI'+'d'][_0x588b9f(0x3a4,_0x1806f6._0x65e877)](-0xa),'displayName':_0x4f187e[_0x1bd18f(0x31a,_0x1806f6._0x45ccf7)+_0x588b9f(_0x1806f6._0x2a2c39,0x30c)],'createdAt':_0x366477?.['createdA'+'t']??new Date()[_0x588b9f(0x1fa,0x1b)+_0x1bd18f(_0x1806f6._0x53e8ba,_0x1806f6._0x28ad76)](),'updatedAt':new Date()['toISOStr'+_0x1bd18f(_0x1806f6._0x2d494a,_0x1806f6._0x592e99)]()};writePairingConfig(_0x5afd65);function _0x1bd18f(_0x1f3da6,_0x62533e){return _0x5ae336(_0x1f3da6-0x25a,_0x62533e);}return{'config':_0x5afd65,'accessCode':_0x4f187e[_0x1bd18f(0x2fe,0x31a)+'de'],'accessCodeExpiresAt':_0x4f187e['accessCo'+_0x588b9f(0x157,_0x1806f6._0x2065e7)+_0x1bd18f(0x635,_0x1806f6._0x1886a9)],'action':_0x588b9f(0x2bd,0x354)+'d','qrPayload':_0x52e567['eLbwo'](buildPairingQrPayload,{'server':_0x2547c4,'gatewayId':_0x4f187e[_0x1bd18f(_0x1806f6._0x4cf16a,0x3de)+'d'],'accessCode':_0x4f187e['accessCo'+'de'],'displayName':_0x4f187e['displayN'+_0x588b9f(0x461,0x643)],'token':_0x5e0b30?.[_0x1bd18f(0x2de,0x3ed)+_0x1bd18f(_0x1806f6._0x55326b,_0x1806f6._0x30d855)]?.['trim']()||null})};}function normalizeHttpBase(_0x5c1b59){const _0x27cfc5={_0x463af1:0x707,_0x20933c:0x646,_0x5c4c4a:0x5ee,_0x2daab5:0x539,_0x406931:0x14b,_0x25f219:0x363,_0x18d513:0x3b0,_0x26be50:0x5df,_0xa17ad9:0x490,_0x3ab32c:0x646,_0x2dfcb1:0x73,_0x142aa4:0x109,_0x261870:0x22d,_0x2e8023:0x423,_0x31d927:0x49c,_0x5b731d:0x539,_0x3cbe61:0x7a,_0x5582f9:0x26a,_0x149d50:0x81,_0x93b4be:0x9,_0xef039b:0x3e1,_0xaa27e3:0x445,_0x3b197f:0x2f1,_0xa2fc93:0x3e1,_0x3605fc:0x4c9},_0x46e005={_0x569e06:0x1cb},_0x37bc57={_0x1bc471:0x10d};function _0x4cacbe(_0x2a246e,_0x4d0780){return _0xfff276(_0x2a246e- -_0x37bc57._0x1bc471,_0x4d0780);}const _0x3ef743={};_0x3ef743[_0x1d38e2(_0x27cfc5._0x463af1,0x884)]=_0x1d38e2(_0x27cfc5._0x20933c,_0x27cfc5._0x5c4c4a),_0x3ef743['okdhr']=_0x1d38e2(_0x27cfc5._0x2daab5,0x5d4);const _0x4bfc8b=_0x3ef743,_0x5b3951=_0x5c1b59['trim']();if(!_0x5b3951)return'';function _0x1d38e2(_0x5878e7,_0xdeb7fd){return _0xfff276(_0x5878e7-_0x46e005._0x569e06,_0xdeb7fd);}if(_0x5b3951[_0x1d38e2(0x423,0x2c5)+'th']('http://')||_0x5b3951['startsWi'+'th']('https://'))return _0x5b3951['replace'](/\/+$/,'');if(_0x5b3951[_0x4cacbe(_0x27cfc5._0x406931,0xea)+'th'](_0x4bfc8b[_0x1d38e2(0x707,0x53a)]))return(_0x4cacbe(_0x27cfc5._0x25f219,_0x27cfc5._0x18d513)+_0x5b3951[_0x1d38e2(_0x27cfc5._0x26be50,_0x27cfc5._0xa17ad9)](_0x1d38e2(_0x27cfc5._0x3ab32c,0x803)[_0x4cacbe(_0x27cfc5._0x2dfcb1,-0x32)]))[_0x4cacbe(_0x27cfc5._0x142aa4,_0x27cfc5._0x261870)](/\/+$/,'');if(_0x5b3951[_0x1d38e2(_0x27cfc5._0x2e8023,_0x27cfc5._0x31d927)+'th'](_0x1d38e2(_0x27cfc5._0x5b731d,0x4c9)))return(_0x4cacbe(0x10f,_0x27cfc5._0x3cbe61)+_0x5b3951[_0x4cacbe(0x307,_0x27cfc5._0x5582f9)](_0x4bfc8b[_0x4cacbe(_0x27cfc5._0x149d50,_0x27cfc5._0x93b4be)]['length']))[_0x1d38e2(_0x27cfc5._0xef039b,_0x27cfc5._0xaa27e3)](/\/+$/,'');return(_0x4cacbe(0x10f,_0x27cfc5._0x3b197f)+_0x5b3951)[_0x1d38e2(_0x27cfc5._0xa2fc93,_0x27cfc5._0x3605fc)](/\/+$/,'');}function assessPairingCompatibility(_0x3f1414,_0x3feaa2){const _0x3bcdce={_0x14e2a3:0x3ea,_0x5734c1:0x627,_0xe1b2d7:0x653,_0x1a549b:0x613,_0x4f1197:0x4a9,_0x504530:0x42e},_0x516c20={_0x28e0d4:0x119},_0x53a9e8={_0x664590:0x39b};function _0x39a87f(_0x49a35a,_0x2953d8){return _0xfff276(_0x2953d8-_0x53a9e8._0x664590,_0x49a35a);}const _0xac61d6={};_0xac61d6[_0x39a87f(0x55d,0x730)]=function(_0x4a9962,_0x5731e6){return _0x4a9962===_0x5731e6;},_0xac61d6[_0x33153a(_0x3bcdce._0x14e2a3,0x42e)]=_0x33153a(0x63d,0x579)+'ismatch';const _0x5e13ef=_0xac61d6;if(!_0x3f1414)return'register'+_0x39a87f(0x99f,0x8d4);if(_0x5e13ef[_0x33153a(0x2c4,0x4ae)](_0x3f1414['serverUr'+'l'],_0x3feaa2))return _0x39a87f(_0x3bcdce._0x5734c1,_0x3bcdce._0xe1b2d7)+_0x33153a(_0x3bcdce._0x1a549b,0x666);function _0x33153a(_0x223390,_0xd80563){return _0xfff276(_0xd80563-_0x516c20._0x28e0d4,_0x223390);}return _0x5e13ef[_0x33153a(_0x3bcdce._0x4f1197,_0x3bcdce._0x504530)];}import{execFileSync,spawn}from'child_process';import{chmodSync,closeSync,existsSync as _0x4535aa,mkdirSync as _0x3544cf,openSync,readFileSync as _0x3d1297,realpathSync,rmSync as _0x238e81,writeFileSync as _0x3c31fe}from'fs';import{homedir as _0x2e72d9}from'os';import{dirname,join as _0x33ad0e}from'path';var SERVICE_LABEL=_0xfff276(0x3a5,0x2f4)+_0x5ae336(0x39e,0x2ff)+_0x5ae336(0x392,0x3e4),SYSTEMD_UNIT_NAME=SERVICE_LABEL+_0xfff276(0x25d,0x7b),WINDOWS_RUN_KEY=_0x5ae336(0x1d0,0x340)+_0xfff276(0x247,0xa7),SERVICE_DIR=_0x33ad0e(_0x2e72d9(),_0xfff276(0x275,0x1f7));function _0x3b87(_0x569636,_0x26c9b8){_0x569636=_0x569636-0x1c7;const _0xb8b8dc=_0x5b61();let _0x5a346e=_0xb8b8dc[_0x569636];if(_0x3b87['xGqALc']===undefined){var _0x41218c=function(_0xcb27bc){const _0x3b978f='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x8fab1d='',_0x26058d='',_0x4541d9=_0x8fab1d+_0x41218c;for(let _0x1940ad=0x0,_0x2db321,_0xe0f548,_0xb78c85=0x0;_0xe0f548=_0xcb27bc['charAt'](_0xb78c85++);~_0xe0f548&&(_0x2db321=_0x1940ad%0x4?_0x2db321*0x40+_0xe0f548:_0xe0f548,_0x1940ad++%0x4)?_0x8fab1d+=_0x4541d9['charCodeAt'](_0xb78c85+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x2db321>>(-0x2*_0x1940ad&0x6)):_0x1940ad:0x0){_0xe0f548=_0x3b978f['indexOf'](_0xe0f548);}for(let _0x2c5da3=0x0,_0x2d6a7b=_0x8fab1d['length'];_0x2c5da3<_0x2d6a7b;_0x2c5da3++){_0x26058d+='%'+('00'+_0x8fab1d['charCodeAt'](_0x2c5da3)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x26058d);};_0x3b87['EkIJpE']=_0x41218c,_0x3b87['HNEZCb']={},_0x3b87['xGqALc']=!![];}const _0x5b61d7=_0xb8b8dc[0x0],_0x3b8745=_0x569636+_0x5b61d7,_0x3d1350=_0x3b87['HNEZCb'][_0x3b8745];if(!_0x3d1350){const _0x5b244f=function(_0x55b55f){this['SClLeW']=_0x55b55f,this['eKruqb']=[0x1,0x0,0x0],this['vylrYv']=function(){return'newState';},this['nABtea']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['lzYhpf']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x5b244f['prototype']['ipRyaa']=function(){const _0x339a02=new RegExp(this['nABtea']+this['lzYhpf']),_0x42ebe9=_0x339a02['test'](this['vylrYv']['toString']())?--this['eKruqb'][0x1]:--this['eKruqb'][0x0];return this['MWtbsg'](_0x42ebe9);},_0x5b244f['prototype']['MWtbsg']=function(_0x287e46){if(!Boolean(~_0x287e46))return _0x287e46;return this['hLWvVx'](this['SClLeW']);},_0x5b244f['prototype']['hLWvVx']=function(_0x38ea80){for(let _0x1be84b=0x0,_0x233a56=this['eKruqb']['length'];_0x1be84b<_0x233a56;_0x1be84b++){this['eKruqb']['push'](Math['round'](Math['random']())),_0x233a56=this['eKruqb']['length'];}return _0x38ea80(this['eKruqb'][0x0]);},new _0x5b244f(_0x3b87)['ipRyaa'](),_0x5a346e=_0x3b87['EkIJpE'](_0x5a346e),_0x3b87['HNEZCb'][_0x3b8745]=_0x5a346e;}else _0x5a346e=_0x3d1350;return _0x5a346e;}function _0xfff276(_0x1724c2,_0x413677){const _0x39e516={_0x1f4ddf:0x59};return _0x3b87(_0x1724c2- -_0x39e516._0x1f4ddf,_0x413677);}var LOG_DIR=_0x33ad0e(SERVICE_DIR,_0x5ae336(0xc2,0xa3)),SERVICE_STATE_PATH=_0x33ad0e(SERVICE_DIR,'bridge-s'+'ervice.j'+'son'),SERVICE_LAUNCHER_PATH=_0x33ad0e(SERVICE_DIR,_0xfff276(0x3ca,0x3f8)+_0xfff276(0x3b2,0x2fb)+_0x5ae336(0x210,0x331)+'sh'),SERVICE_LOG_PATH=_0x33ad0e(LOG_DIR,_0x5ae336(0x1db,0x1b1)+'li.log'),SERVICE_ERROR_LOG_PATH=_0x33ad0e(LOG_DIR,_0xfff276(0x302,0x302)+_0x5ae336(0x351,0x477)+_0x5ae336(0x3ba,0x282)),MACOS_PLIST_PATH=_0x33ad0e(_0x2e72d9(),_0x5ae336(0x3b7,0x4d9),_0x5ae336(0x218,0x4c)+_0x5ae336(0x3a0,0x46e),SERVICE_LABEL+_0x5ae336(0x41b,0x3a6)),LINUX_SERVICE_PATH=_0x33ad0e(_0x2e72d9(),_0x5ae336(0x10d,0x2d9),'systemd',_0x5ae336(0x15e,0x314),SYSTEMD_UNIT_NAME);function getServiceProgramArgs(_0x28aeaf={},_0x1aba97=process[_0xfff276(0x2b6,0x1eb)]){const _0xcb0aa7={_0xa2bf68:0x1fb,_0x5b7e8d:0x318,_0x52fe98:0x30b,_0x370dbc:0x3d0,_0x141931:0x22a,_0x53c786:0x54a,_0x323e2f:0x110,_0x23caae:0x355},_0xbb4caf={_0x5df3d6:0x1a9},_0x5a0a3a={};_0x5a0a3a[_0x29c37a(0x1d4,_0xcb0aa7._0xa2bf68)]=function(_0x2cb9f0,_0x261329){return _0x2cb9f0!==_0x261329;};const _0x4c1e3b=_0x5a0a3a,_0x114f09=_0x28aeaf[_0x29c37a(_0xcb0aa7._0x5b7e8d,0x148)]?.[_0x29c37a(_0xcb0aa7._0x52fe98,0x3d5)]()||process['execPath'],_0x37044a=resolveScriptPath(_0x28aeaf[_0x29c37a(0x35d,_0xcb0aa7._0x370dbc)+'th']);function _0x2519f7(_0x42dba2,_0x5039a1){return _0xfff276(_0x5039a1- -_0xbb4caf._0x5df3d6,_0x42dba2);}if(!_0x37044a)throw new Error(_0x29c37a(_0xcb0aa7._0x141931,0x345)+_0x29c37a(0x3f5,_0xcb0aa7._0x53c786)+'e\x20CLI\x20sc'+'ript\x20pat'+_0x29c37a(0x25d,0x2ca)+'rvice\x20in'+'stallati'+_0x29c37a(0x19b,0x2b9));if(_0x4c1e3b[_0x29c37a(0x1d4,0xd5)](_0x1aba97,'win32')){const _0x3b32d8={};_0x3b32d8['nodePath']=_0x114f09,_0x3b32d8['scriptPa'+'th']=_0x37044a,_0x3b32d8['pathEnv']=process.env.PATH??'';const _0xb4e969=writeServiceLauncher(_0x3b32d8);return ensureLaunchScriptExecutable(_0xb4e969,_0x1aba97),[_0xb4e969];}function _0x29c37a(_0x3303b1,_0x5a3a56){return _0xfff276(_0x3303b1- -0xfa,_0x5a3a56);}return[_0x114f09,_0x37044a,_0x29c37a(_0xcb0aa7._0x323e2f,0x255),_0x2519f7(0x3b5,_0xcb0aa7._0x23caae)+'e'];}function getServiceStatus(){const _0x30f5f9={_0x5ba83e:0x692,_0xd4de81:0x3ba,_0x276796:0x759,_0x1c898f:0x584,_0x27f7f1:0x50b,_0x1b92f1:0x239,_0x43a019:0x49e,_0x281672:0x3f8,_0x897a76:0x737,_0x41463a:0x7cc,_0x19fca8:0x9ae,_0x29df46:0x49e,_0x5e372c:0x42d,_0x1a2d73:0x2d9,_0x18faee:0x44f,_0x1cac12:0x289,_0x226e58:0x729,_0x5557ec:0x55a,_0x5f092c:0x737,_0x39fbc3:0x5be,_0x141aa9:0x67c,_0x5eb4f4:0x45a,_0x45528e:0x592,_0x3f84:0x5c1,_0x4cb2de:0x74a,_0x915af2:0x85d,_0x2818c1:0x3eb,_0x489798:0x429,_0x10c14f:0x41f,_0x485f97:0x81e,_0x4442ab:0x2a1,_0x342db2:0x1af,_0xcc12d9:0x5f0},_0x4c533d={_0x1cbfeb:0x3cb},_0x51d8b9={'CulKq':function(_0x438691){return _0x438691();},'aokTt':function(_0x25d9cf,_0x37433e){return _0x25d9cf(_0x37433e);},'QPFdX':function(_0x56a86b,_0x4780a0){return _0x56a86b(_0x4780a0);},'xuHwB':_0x2abedf(_0x30f5f9._0x5ba83e,0x868)+_0x5e2073(_0x30f5f9._0xd4de81,0x1f1),'ZXhVQ':'--user','pmXXs':_0x2abedf(_0x30f5f9._0x276796,0x77a),'xfKsF':'query'};function _0x2abedf(_0x3675eb,_0xe98430){return _0x5ae336(_0x3675eb-_0x4c533d._0x1cbfeb,_0xe98430);}_0x51d8b9[_0x2abedf(_0x30f5f9._0x1c898f,_0x30f5f9._0x27f7f1)](ensureServiceDirs);const _0x346695=readServiceState()?.[_0x5e2073(0x153,0x314)]??null,_0x38e604={'installed':![],'running':_0x346695!=null&&_0x51d8b9['aokTt'](isPidRunning,_0x346695),'method':detectServiceMethod(),'servicePath':_0x51d8b9[_0x5e2073(_0x30f5f9._0x1b92f1,0x28a)](getServicePath),'logPath':SERVICE_LOG_PATH,'errorLogPath':SERVICE_ERROR_LOG_PATH,'pid':_0x346695};function _0x5e2073(_0x317c42,_0x54870e){return _0x5ae336(_0x317c42-0x80,_0x54870e);}_0x38e604[_0x2abedf(_0x30f5f9._0x43a019,_0x30f5f9._0x281672)]!=null&&!_0x38e604[_0x2abedf(_0x30f5f9._0x897a76,0x854)]&&(_0x51d8b9[_0x2abedf(_0x30f5f9._0x41463a,_0x30f5f9._0x19fca8)](clearServiceState,_0x38e604[_0x2abedf(_0x30f5f9._0x29df46,0x538)]),_0x38e604['pid']=null);switch(_0x38e604['method']){case _0x51d8b9[_0x5e2073(_0x30f5f9._0x5e372c,_0x30f5f9._0x1a2d73)]:_0x38e604[_0x5e2073(0x3de,0x5b8)+'d']=_0x4535aa(MACOS_PLIST_PATH);_0x38e604['installe'+'d']&&(_0x38e604[_0x5e2073(0x3ec,0x57e)]=commandSucceeds('launchct'+'l',[_0x5e2073(0x40b,_0x30f5f9._0x18faee),SERVICE_LABEL])||_0x38e604['running']);return _0x38e604;case _0x5e2073(_0x30f5f9._0x1cac12,0x32d)+_0x5e2073(0x1de,0x3c5):_0x38e604['installe'+'d']=_0x4535aa(LINUX_SERVICE_PATH);_0x38e604[_0x2abedf(_0x30f5f9._0x226e58,_0x30f5f9._0x5557ec)+'d']&&(_0x38e604[_0x2abedf(_0x30f5f9._0x5f092c,_0x30f5f9._0x39fbc3)]=commandSucceeds(_0x2abedf(0x672,_0x30f5f9._0x141aa9)+'l',[_0x51d8b9[_0x2abedf(0x45a,_0x30f5f9._0x5eb4f4)],_0x2abedf(_0x30f5f9._0x45528e,0x4c3)+'e',_0x51d8b9['pmXXs'],SYSTEMD_UNIT_NAME])||_0x38e604['running']);return _0x38e604;case'windows-'+_0x5e2073(0x32b,0x365)+_0x2abedf(_0x30f5f9._0x3f84,0x441):_0x38e604['installe'+'d']=commandSucceeds(_0x2abedf(_0x30f5f9._0x4cb2de,_0x30f5f9._0x915af2),[_0x51d8b9[_0x2abedf(0x44a,_0x30f5f9._0x2818c1)],_0x5e2073(_0x30f5f9._0x489798,_0x30f5f9._0x10c14f)+_0x5e2073(0x2ff,0x40b)+_0x2abedf(0x75b,_0x30f5f9._0x485f97)+_0x5e2073(0x345,0x500)+_0x5e2073(_0x30f5f9._0x4442ab,_0x30f5f9._0x342db2)+_0x2abedf(_0x30f5f9._0xcc12d9,0x565)+'un','/v',WINDOWS_RUN_KEY]);return _0x38e604;default:return _0x38e604;}}function installService(_0x1d0438={}){const _0x420d92={_0x8253a4:0x94,_0x4ee646:0x136,_0x2c8ebb:0x158,_0x5829c7:0x134,_0x1b8e39:0xb3,_0x106df1:0x69a,_0x4a7141:0xb0,_0x27c935:0x12,_0x289599:0x447,_0x1084a1:0x196,_0x52ce04:0x137,_0x45abba:0x21,_0x445af6:0x3c6,_0x58d56d:0x3ae,_0x2e1b51:0x26e,_0x35d171:0x4b9,_0x3a785a:0x5db,_0x50057f:0x447,_0x4705f3:0x28b,_0x4f920e:0x332,_0x7168fc:0x2b0,_0x5a464a:0x29a,_0x52c0a6:0x1b0,_0x15b913:0x428,_0x4bb7fc:0x23a,_0x218e14:0x348,_0x3e9b2c:0x248,_0x209778:0x475,_0x55ed1:0x38c,_0x22efb8:0x3cc,_0x962cdd:0x1ea,_0x4d0998:0x37b,_0x204481:0x503,_0x299c1d:0x5be,_0x58dd64:0x522,_0x371c75:0x2b4,_0x17b9f4:0x22f,_0x3e3d23:0x13e,_0x3e0497:0x7a},_0x52a5c9={_0x310212:0x15e},_0x1fd1dc={_0x18fdad:0x90};function _0x53ea8e(_0x1094bc,_0x246719){return _0xfff276(_0x246719-_0x1fd1dc._0x18fdad,_0x1094bc);}function _0x184d2a(_0x551def,_0x4666aa){return _0xfff276(_0x4666aa- -_0x52a5c9._0x310212,_0x551def);}const _0x382e4e={'gPaVu':function(_0x2f2b5c){return _0x2f2b5c();},'NHhlr':function(_0x2506b5,_0x425ace){return _0x2506b5(_0x425ace);},'DOMiO':function(_0x16ef5b,_0x53f049,_0x58bfba,_0x2dbab4){return _0x16ef5b(_0x53f049,_0x58bfba,_0x2dbab4);},'XsOqt':_0x184d2a(0x2c6,0x39d),'gGmkc':'launchct'+'l','adzhE':_0x184d2a(0xe0,0x84),'EeiVQ':_0x184d2a(-0xdb,0xc8),'cIFDf':function(_0x912ad6,_0x128b9f,_0x20a508,_0x5acc67){return _0x912ad6(_0x128b9f,_0x20a508,_0x5acc67);},'FQJvE':_0x184d2a(-_0x420d92._0x8253a4,0xf8)+_0x184d2a(0x1f6,_0x420d92._0x4ee646),'wQrmY':function(_0x18d4ad,_0x23f564,_0x2d538a,_0x4528ba){return _0x18d4ad(_0x23f564,_0x2d538a,_0x4528ba);},'ocVFZ':'systemct'+'l','jBoQk':_0x53ea8e(0x3ba,0x488),'SWoom':'ignore','pdEQX':_0x184d2a(0x20c,0x24b)};_0x382e4e['gPaVu'](ensureServiceDirs);const _0x422007=_0x382e4e[_0x53ea8e(0x276,0x243)](getServiceProgramArgs,_0x1d0438);switch(process[_0x184d2a(0x30f,_0x420d92._0x2c8ebb)]){case _0x184d2a(_0x420d92._0x5829c7,_0x420d92._0x1b8e39):_0x382e4e['DOMiO'](_0x3c31fe,MACOS_PLIST_PATH,buildMacosPlist(_0x422007,SERVICE_LOG_PATH,SERVICE_ERROR_LOG_PATH),_0x382e4e[_0x184d2a(0x2c1,0x232)]),execIgnoreFailure(_0x382e4e[_0x53ea8e(_0x420d92._0x106df1,0x59a)],[_0x184d2a(_0x420d92._0x4a7141,_0x420d92._0x27c935),'-w',MACOS_PLIST_PATH]);const _0x581e46={};_0x581e46[_0x53ea8e(0x3e0,_0x420d92._0x289599)]='ignore',execFileSync(_0x184d2a(0x31d,_0x420d92._0x1084a1)+'l',[_0x382e4e[_0x184d2a(_0x420d92._0x52ce04,_0x420d92._0x45abba)],'-w',MACOS_PLIST_PATH],_0x581e46);break;case _0x382e4e[_0x53ea8e(_0x420d92._0x445af6,0x51e)]:const _0x330668={};_0x330668[_0x184d2a(_0x420d92._0x58d56d,_0x420d92._0x2e1b51)+'e']=!![],_0x3544cf(dirname(LINUX_SERVICE_PATH),_0x330668),_0x3c31fe(LINUX_SERVICE_PATH,buildLinuxSystemdUnit(_0x422007,SERVICE_LOG_PATH,SERVICE_ERROR_LOG_PATH),_0x53ea8e(_0x420d92._0x35d171,0x58b));const _0x4354e2={};_0x4354e2[_0x53ea8e(_0x420d92._0x3a785a,_0x420d92._0x50057f)]='ignore',_0x382e4e[_0x53ea8e(_0x420d92._0x4705f3,_0x420d92._0x4f920e)](execFileSync,'systemct'+'l',[_0x184d2a(_0x420d92._0x7168fc,_0x420d92._0x5a464a),_0x382e4e[_0x184d2a(0xc0,_0x420d92._0x52c0a6)]],_0x4354e2),_0x382e4e[_0x53ea8e(0x2d9,_0x420d92._0x15b913)](execFileSync,_0x382e4e['ocVFZ'],[_0x382e4e[_0x184d2a(0x1eb,0x2f1)],'enable',_0x184d2a(0x2fa,0x1b6),SYSTEMD_UNIT_NAME],{'stdio':_0x382e4e['SWoom']});break;case _0x382e4e['pdEQX']:_0x382e4e['gPaVu'](stopRunningProcess),_0x382e4e[_0x184d2a(0x274,_0x420d92._0x4bb7fc)](execFileSync,_0x184d2a(0x416,_0x420d92._0x218e14),[_0x184d2a(0x32e,0x2c0),'HKCU\x5cSof'+_0x184d2a(0xb4,_0x420d92._0x3e9b2c)+_0x184d2a(_0x420d92._0x209778,0x359)+_0x53ea8e(_0x420d92._0x55ed1,0x47c)+_0x184d2a(_0x420d92._0x22efb8,_0x420d92._0x962cdd)+_0x53ea8e(_0x420d92._0x4d0998,0x3dc)+'un','/v',WINDOWS_RUN_KEY,'/t',_0x53ea8e(0x13c,0x24c),'/d',buildWindowsRunCommand(_0x422007),'/f'],{'stdio':_0x382e4e['SWoom']}),startDetachedWindowsService(_0x422007);break;default:throw new Error(_0x184d2a(_0x420d92._0x204481,0x316)+_0x53ea8e(0x2e9,0x3d2)+'form\x20for'+_0x53ea8e(_0x420d92._0x299c1d,_0x420d92._0x58dd64)+_0x53ea8e(0x25b,_0x420d92._0x371c75)+'tallatio'+_0x184d2a(_0x420d92._0x17b9f4,_0x420d92._0x3e3d23)+process[_0x184d2a(-_0x420d92._0x3e0497,0x158)]);}return getServiceStatus();}function restartService(_0xddef6={}){const _0x1effff={_0x5c0359:0x38f,_0xaa67db:0x554,_0x461d20:0x3ad,_0x5b2301:0x2e3,_0x206cee:0x215,_0x4668a4:0x29b,_0xeae0f7:0x1a8,_0x39ddff:0xa0,_0x33d346:0x1b8,_0x36e26b:0x13d,_0x4c1c95:0x18e,_0x3071f5:0x2e5,_0x42f23b:0x156,_0x618169:0x4b4,_0x8595ef:0x98,_0x2fafac:0x8f,_0x54196d:0x315,_0x5df1fb:0x151,_0x409047:0x6f,_0xd7ae91:0x2bc,_0xf0575a:0x357,_0x477ae5:0x2e5,_0x81f9d8:0x438,_0x3f8987:0x2ea,_0x4753e6:0x12e,_0x363285:0x280,_0xf6940:0x72,_0x583720:0xd7,_0x443847:0x106,_0x51af7c:0x286,_0x1c93bd:0x2e8,_0x224d8f:0x308,_0x8214a9:0x1d6,_0x20d734:0x32a},_0x3372d0={_0x1f9bcd:0x15};function _0x1c00f8(_0x161bfd,_0x2a3b6e){return _0x5ae336(_0x161bfd- -0x45,_0x2a3b6e);}const _0x592808={'bqOZE':function(_0x4151a4){return _0x4151a4();},'neXWB':function(_0x528d17,_0xf6d979,_0x1fb168,_0x663acc){return _0x528d17(_0xf6d979,_0x1fb168,_0x663acc);},'XaHMk':function(_0xc92536,_0x5d95e,_0x4b1c6c){return _0xc92536(_0x5d95e,_0x4b1c6c);},'kmLXS':_0x45f2d3(0xa6,0x26),'yOOfy':function(_0x370f5e,_0x417771){return _0x370f5e(_0x417771);},'MmnIn':_0x1c00f8(_0x1effff._0x5c0359,_0x1effff._0xaa67db),'CGtGD':_0x45f2d3(0x292,_0x1effff._0x461d20)+'l','zdIVP':'daemon-r'+'eload','wXfLf':_0x1c00f8(0x2b2,0x3ce),'MfykE':_0x1c00f8(0x364,0x3a4)+_0x45f2d3(0x26a,_0x1effff._0x5b2301)+_0x1c00f8(0x34b,_0x1effff._0x206cee)+_0x45f2d3(0x2b0,_0x1effff._0x4668a4)+'CurrentV'+_0x45f2d3(0x210,_0x1effff._0xeae0f7)+'un','HVvPZ':'REG_SZ'};_0x592808['bqOZE'](ensureServiceDirs);function _0x45f2d3(_0x45742d,_0x5caa6e){return _0x5ae336(_0x45742d- -_0x3372d0._0x1f9bcd,_0x5caa6e);}const _0x4b6955=getServiceProgramArgs(_0xddef6);switch(process['platform']){case _0x1c00f8(0xa5,-0x10c):if(!_0x4535aa(MACOS_PLIST_PATH))return installService(_0xddef6);_0x3c31fe(MACOS_PLIST_PATH,_0x592808[_0x45f2d3(0x107,-_0x1effff._0x39ddff)](buildMacosPlist,_0x4b6955,SERVICE_LOG_PATH,SERVICE_ERROR_LOG_PATH),'utf8'),_0x592808[_0x45f2d3(0x136,0x2a4)](execIgnoreFailure,_0x45f2d3(_0x1effff._0x33d346,_0x1effff._0x36e26b)+'l',['unload','-w',MACOS_PLIST_PATH]);const _0xde880f={};_0xde880f[_0x1c00f8(0x24b,_0x1effff._0x4c1c95)]=_0x1c00f8(_0x1effff._0x3071f5,_0x1effff._0x42f23b),execFileSync('launchct'+'l',[_0x592808[_0x1c00f8(0x30a,_0x1effff._0x618169)],'-w',MACOS_PLIST_PATH],_0xde880f);break;case'linux':if(!_0x592808['yOOfy'](_0x4535aa,LINUX_SERVICE_PATH))return _0x592808['yOOfy'](installService,_0xddef6);const _0x4c0775={};_0x4c0775[_0x45f2d3(0x290,0x340)+'e']=!![],_0x592808[_0x1c00f8(0x106,-0xa5)](_0x3544cf,dirname(LINUX_SERVICE_PATH),_0x4c0775),_0x3c31fe(LINUX_SERVICE_PATH,buildLinuxSystemdUnit(_0x4b6955,SERVICE_LOG_PATH,SERVICE_ERROR_LOG_PATH),_0x592808[_0x45f2d3(0xcf,-_0x1effff._0x8595ef)]);const _0x133d1b={};_0x133d1b[_0x45f2d3(0x27b,_0x1effff._0x2fafac)]=_0x45f2d3(_0x1effff._0x54196d,_0x1effff._0x5df1fb),execFileSync(_0x592808[_0x1c00f8(0x4c,_0x1effff._0x409047)],[_0x45f2d3(_0x1effff._0xd7ae91,0x241),_0x592808[_0x1c00f8(0x197,_0x1effff._0xf0575a)]],_0x133d1b);const _0x20b65a={};_0x20b65a[_0x1c00f8(0x24b,0x28b)]=_0x1c00f8(_0x1effff._0x477ae5,_0x1effff._0x81f9d8),_0x592808[_0x45f2d3(0x107,_0x1effff._0x3f8987)](execFileSync,_0x1c00f8(0x262,_0x1effff._0x4753e6)+'l',[_0x1c00f8(0x28c,_0x1effff._0x363285),_0x45f2d3(_0x1effff._0xf6940,-0xf2),SYSTEMD_UNIT_NAME],_0x20b65a);break;case _0x45f2d3(0x26d,0x44b):stopRunningProcess();const _0x920973={};_0x920973['stdio']='ignore',_0x592808[_0x1c00f8(_0x1effff._0x583720,0x62)](execFileSync,'reg',[_0x592808[_0x45f2d3(0x310,0x31f)],_0x592808[_0x45f2d3(_0x1effff._0x443847,_0x1effff._0x51af7c)],'/v',WINDOWS_RUN_KEY,'/t',_0x592808[_0x1c00f8(0x17b,0x13c)],'/d',_0x592808[_0x1c00f8(0x335,_0x1effff._0x1c93bd)](buildWindowsRunCommand,_0x4b6955),'/f'],_0x920973),startDetachedWindowsService(_0x4b6955);break;default:throw new Error(_0x1c00f8(_0x1effff._0x224d8f,0x250)+_0x1c00f8(_0x1effff._0x8214a9,0x32b)+'form\x20for'+'\x20CLI\x20ser'+_0x1c00f8(_0x1effff._0x20d734,0x413)+_0x45f2d3(0x28f,0x445)+process['platform']);}return getServiceStatus();}function uninstallService(){const _0x8495dd={_0x2ff249:0x655,_0x1e7c76:0x5be,_0x57a276:0x4b2,_0x505664:0x426,_0x299f4f:0x385,_0x402891:0x171,_0x5ae07d:0x350,_0x39cd96:0x1ae,_0x3e9b95:0x1fa,_0x1ed6a0:0x714,_0x242fab:0x8dc,_0x47bc6d:0x4a9,_0x3abb92:0x4a4,_0x2d8716:0x6d0,_0x510388:0x3f1,_0x2c222f:0x33a,_0x2d313b:0xd5,_0x49cc2e:0x3b8,_0x3a36b7:0x2f1,_0x113551:0x109,_0x130d21:0x3b4,_0x4495d4:0x601,_0x23f40c:0x720,_0xc53d3e:0x3a7},_0x5b7342={_0x2f74aa:0x72},_0x22a871={_0x1e5ef4:0x33c};function _0x50aca7(_0x36e7c2,_0xd253af){return _0x5ae336(_0x36e7c2-_0x22a871._0x1e5ef4,_0xd253af);}const _0x542473={'fXPev':function(_0x56b338,_0x355e40){return _0x56b338(_0x355e40);},'ibwVt':_0x50aca7(0x60d,_0x8495dd._0x2ff249),'xhcoG':_0x50aca7(_0x8495dd._0x1e7c76,_0x8495dd._0x57a276),'xwzji':function(_0x15c7f6){return _0x15c7f6();}};stopRunningProcess();switch(process['platform']){case _0x50aca7(_0x8495dd._0x505664,0x53e):execIgnoreFailure('launchct'+'l',[_0x50aca7(_0x8495dd._0x299f4f,0x1e5),'-w',MACOS_PLIST_PATH]),rmIfExists(MACOS_PLIST_PATH);break;case _0x573e04(_0x8495dd._0x402891,_0x8495dd._0x5ae07d):_0x542473['fXPev'](_0x4535aa,LINUX_SERVICE_PATH)&&(execIgnoreFailure('systemct'+'l',[_0x542473[_0x573e04(_0x8495dd._0x39cd96,_0x8495dd._0x3e9b95)],_0x50aca7(_0x8495dd._0x1ed6a0,_0x8495dd._0x242fab),'--now',SYSTEMD_UNIT_NAME]),rmIfExists(LINUX_SERVICE_PATH),execIgnoreFailure('systemct'+'l',['--user',_0x50aca7(0x46b,0x2d6)+_0x50aca7(_0x8495dd._0x47bc6d,_0x8495dd._0x3abb92)]));break;case _0x542473[_0x50aca7(_0x8495dd._0x2d8716,0x5b2)]:execIgnoreFailure(_0x573e04(_0x8495dd._0x510388,_0x8495dd._0x2c222f),[_0x573e04(_0x8495dd._0x2d313b,0x25b),_0x573e04(0x41b,_0x8495dd._0x49cc2e)+_0x573e04(_0x8495dd._0x3a36b7,_0x8495dd._0x113551)+_0x573e04(0x402,_0x8495dd._0x130d21)+_0x50aca7(_0x8495dd._0x4495d4,_0x8495dd._0x23f40c)+'CurrentV'+_0x573e04(0x297,_0x8495dd._0xc53d3e)+'un','/v',WINDOWS_RUN_KEY,'/f']);break;default:break;}_0x542473['xwzji'](clearServiceState);function _0x573e04(_0x3b73ec,_0x3f5114){return _0x5ae336(_0x3b73ec-_0x5b7342._0x2f74aa,_0x3f5114);}return getServiceStatus();}function stopService(){const _0xc70df0={_0x2285d0:0x130,_0x9fdf51:0x1ce,_0x2962eb:0x6c,_0xc8748c:0x18,_0x4351b1:0x2df,_0x3a2100:0x89,_0x31d5c5:0x1a2,_0x2be07e:0x275,_0x5a799f:0x7a},_0x2e9cf4={_0x5d8138:0x2a0},_0x20b64a={'mqGzL':function(_0x9c553a,_0x4b1c4c,_0x59c951){return _0x9c553a(_0x4b1c4c,_0x59c951);},'Rszba':_0x4ceb4d(-_0xc70df0._0x2285d0,-_0xc70df0._0x9fdf51),'jLuda':function(_0x378c5f,_0x4512f1){return _0x378c5f(_0x4512f1);},'ERSAB':_0x4ceb4d(0x158,_0xc70df0._0x2962eb)};function _0x4ceb4d(_0x3db7fc,_0x178937){return _0xfff276(_0x3db7fc- -_0x2e9cf4._0x5d8138,_0x178937);}function _0x217d9e(_0x199188,_0x474bb1){return _0xfff276(_0x474bb1- -0x152,_0x199188);}stopRunningProcess();switch(process[_0x217d9e(_0xc70df0._0xc8748c,0x164)]){case _0x217d9e(0x158,0xbf):_0x4535aa(MACOS_PLIST_PATH)&&_0x20b64a[_0x217d9e(_0xc70df0._0x4351b1,0x190)](execIgnoreFailure,_0x217d9e(_0xc70df0._0x3a2100,_0xc70df0._0x31d5c5)+'l',[_0x20b64a[_0x217d9e(_0xc70df0._0x2be07e,0x180)],MACOS_PLIST_PATH]);break;case _0x4ceb4d(-_0xc70df0._0x5a799f,0xe7):_0x20b64a['jLuda'](_0x4535aa,LINUX_SERVICE_PATH)&&execIgnoreFailure('systemct'+'l',[_0x20b64a['ERSAB'],_0x4ceb4d(0x287,0x29c),SYSTEMD_UNIT_NAME]);break;case _0x4ceb4d(0x109,-0x16):break;default:break;}return clearServiceState(),getServiceStatus();}function writeServiceState(_0x371585=process[_0xfff276(0x1fa,0x1cc)]){const _0x4b35b3={_0x4199f6:0x4b7,_0x487c54:0x4ce,_0x3e3c7c:0x370},_0x467bd9={_0x127973:0x2e0},_0x51f0d0={'RnhNO':function(_0x401275){return _0x401275();},'fSHCN':function(_0x4e4a25,_0x31dc51,_0xd6b95c,_0x4c0c45){return _0x4e4a25(_0x31dc51,_0xd6b95c,_0x4c0c45);}};_0x51f0d0['RnhNO'](ensureServiceDirs);function _0x505dd5(_0x4d979e,_0x1b739d){return _0xfff276(_0x4d979e-_0x467bd9._0x127973,_0x1b739d);}const _0x1bb3cb={'pid':_0x371585,'startedAt':new Date()['toISOStr'+_0x505dd5(0x650,_0x4b35b3._0x4199f6)]()};function _0x274536(_0x251421,_0x561691){return _0xfff276(_0x561691- -0xc7,_0x251421);}_0x51f0d0[_0x274536(_0x4b35b3._0x487c54,0x415)](_0x3c31fe,SERVICE_STATE_PATH,JSON[_0x505dd5(0x4cf,_0x4b35b3._0x3e3c7c)+'y'](_0x1bb3cb,null,0x2)+'\x0a','utf8');}function clearServiceState(_0x53ae23){const _0x472d6f={_0x4b95aa:0x195};function _0x43ef18(_0x16b64d,_0x1cfa79){return _0x5ae336(_0x16b64d-0xc2,_0x1cfa79);}if(!_0x4535aa(SERVICE_STATE_PATH))return;if(_0x53ae23!=null){const _0x592a68=readServiceState();if(_0x592a68&&_0x592a68[_0x43ef18(_0x472d6f._0x4b95aa,0xfa)]!==_0x53ae23)return;}rmIfExists(SERVICE_STATE_PATH);}function getServicePaths(){const _0x5de35c={'DQiqv':function(_0x256b7d){return _0x256b7d();}};return{'logPath':SERVICE_LOG_PATH,'errorLogPath':SERVICE_ERROR_LOG_PATH,'servicePath':_0x5de35c['DQiqv'](getServicePath)};}function buildMacosPlist(_0x198350,_0x337550,_0x57be2e){const _0x5c035c={_0x18e614:0x57a,_0x198c3e:0x84d,_0x27a4df:0x8c1,_0x3d86e7:0x87d,_0x143411:0x85c,_0x155727:0x691,_0x30270e:0x996,_0x37fa23:0x7f5,_0x1b50eb:0x804,_0x1f2094:0x755,_0x2303ba:0x598,_0x1eb9aa:0x49d,_0x4cde33:0x926,_0xcacf8e:0x813,_0x5e061e:0x4af,_0x481ba9:0x666,_0x4ca457:0x706,_0x875c0f:0x75c,_0x22a23d:0x588,_0x561e94:0x661,_0x4741f8:0x33e,_0x10ce26:0x497,_0x1e1bd7:0x4d9,_0x3b760f:0x677,_0x516d89:0x64f,_0x37e835:0x7ec,_0x686ba3:0x6a7,_0xfe273a:0x6f1,_0x5a9781:0x686,_0x130928:0x336,_0x2ee374:0x3e2,_0x355233:0x572,_0x35d311:0x4fc,_0x1e953e:0x736,_0x4e9212:0x45c,_0x185b86:0x4df,_0x51dd8a:0x6e4,_0x55b8dd:0x4cd,_0x3e25bb:0x663,_0x5808e4:0x51d,_0x21f10f:0x3f3,_0xa3e6f6:0x73f,_0x3e9564:0x79c,_0xd4abd3:0x40c,_0x2a6820:0x42e,_0x596b73:0x4e4,_0x4cbe6a:0x561,_0x2b91c0:0x59f,_0x860974:0x6c4,_0x310267:0x7d3,_0x40a7e2:0x726,_0x11f8de:0x687,_0x4bd078:0x684},_0x339241={_0x95dbde:0x17d};function _0x4ee100(_0x4bfc38,_0xffd7eb){return _0xfff276(_0xffd7eb-_0x339241._0x95dbde,_0x4bfc38);}function _0x418902(_0x1264b2,_0x1455eb){return _0xfff276(_0x1455eb-0x360,_0x1264b2);}const _0x398377=_0x198350[_0x418902(0x6b6,0x71a)](_0x2415f5=>'\x20\x20\x20\x20<str'+_0x4ee100(0x707,0x60a)+escapeXml(_0x2415f5)+('</string'+'>'))[_0x418902(_0x5c035c._0x18e614,0x58e)]('\x0a');return _0x4ee100(0x5ed,0x600)+_0x4ee100(_0x5c035c._0x198c3e,0x66b)+_0x418902(_0x5c035c._0x27a4df,0x789)+'ding=\x22UT'+_0x418902(_0x5c035c._0x3d86e7,0x83f)+_0x418902(_0x5c035c._0x143411,_0x5c035c._0x155727)+_0x418902(_0x5c035c._0x30270e,0x828)+_0x418902(0x987,0x811)+_0x418902(_0x5c035c._0x37fa23,_0x5c035c._0x1b50eb)+_0x418902(0x609,0x656)+_0x4ee100(_0x5c035c._0x1f2094,_0x5c035c._0x2303ba)+_0x4ee100(0x51c,_0x5c035c._0x1eb9aa)+_0x418902(_0x5c035c._0x4cde33,_0x5c035c._0xcacf8e)+_0x4ee100(_0x5c035c._0x5e061e,_0x5c035c._0x481ba9)+'m/DTDs/P'+_0x418902(_0x5c035c._0x4ca457,_0x5c035c._0x875c0f)+_0x418902(_0x5c035c._0x22a23d,_0x5c035c._0x561e94)+_0x4ee100(0x448,_0x5c035c._0x4741f8)+_0x4ee100(0x4ce,0x35c)+'sion=\x221.'+_0x4ee100(_0x5c035c._0x10ce26,0x489)+'t>\x0a\x20\x20<ke'+'y>Label<'+'/key>\x0a\x20\x20'+_0x4ee100(_0x5c035c._0x1e1bd7,_0x5c035c._0x3b760f)+SERVICE_LABEL+(_0x4ee100(0x575,0x56f)+_0x4ee100(0x793,_0x5c035c._0x516d89)+_0x4ee100(_0x5c035c._0x37e835,0x68e)+_0x418902(_0x5c035c._0x686ba3,_0x5c035c._0xfe273a)+_0x4ee100(0x650,_0x5c035c._0x5a9781)+_0x4ee100(_0x5c035c._0x130928,_0x5c035c._0x2ee374)+'>\x0a')+_0x398377+(_0x418902(_0x5c035c._0x355233,0x6d3)+_0x418902(_0x5c035c._0x35d311,0x50a)+'ey>RunAt'+_0x418902(_0x5c035c._0x1e953e,0x573)+_0x4ee100(_0x5c035c._0x4e9212,_0x5c035c._0x185b86)+_0x4ee100(_0x5c035c._0x51dd8a,0x679)+_0x4ee100(0x61c,_0x5c035c._0x55b8dd)+_0x418902(_0x5c035c._0x3e25bb,_0x5c035c._0x5808e4)+'ey>\x0a\x20\x20<t'+_0x4ee100(0x52d,_0x5c035c._0x21f10f)+_0x418902(_0x5c035c._0xa3e6f6,0x59a)+_0x418902(0x949,_0x5c035c._0x3e9564)+_0x4ee100(0x5fa,_0x5c035c._0xd4abd3)+_0x418902(_0x5c035c._0x2a6820,_0x5c035c._0x596b73)+'ring>')+escapeXml(_0x337550)+(_0x418902(0x7dd,0x752)+_0x418902(0x939,0x832)+_0x4ee100(_0x5c035c._0x4cbe6a,_0x5c035c._0x2b91c0)+_0x418902(0x549,_0x5c035c._0x860974)+_0x418902(_0x5c035c._0x310267,0x6c8)+_0x418902(0x602,_0x5c035c._0x40a7e2)+_0x4ee100(0x5f6,0x61b))+escapeXml(_0x57be2e)+(_0x4ee100(_0x5c035c._0x11f8de,0x56f)+_0x4ee100(0x4b2,0x43b)+_0x418902(_0x5c035c._0x4bd078,0x741)+_0x4ee100(0x3fd,0x5d6));}function buildLinuxSystemdUnit(_0x8102bc,_0x5b6456,_0x53a5a2){const _0x5bfd5c={_0x2db1df:0xf3,_0x2fbc12:0xe8,_0x277f9e:0x15f,_0x120f93:0x23b,_0x5be737:0x25a,_0x38bd2f:0x30a,_0x97d55b:0x82,_0x1e0da9:0xb7,_0x47bdfe:0x22,_0xd0189d:0xab,_0x4cd25e:0x238,_0x3f997e:0x1fb,_0x499920:0x10b,_0xeb5575:0x39a,_0x50c10d:0x242,_0x550854:0xd4,_0x177d20:0x50,_0x358741:0x1ea};function _0x43f9ca(_0x261dfe,_0x10fa05){return _0x5ae336(_0x10fa05- -0x188,_0x261dfe);}function _0x2bfc4e(_0x186315,_0x418752){return _0x5ae336(_0x418752- -0x1f,_0x186315);}const _0x5a4275=_0x8102bc['map'](escapeSystemdArg)[_0x2bfc4e(_0x5bfd5c._0x2db1df,_0x5bfd5c._0x2fbc12)]('\x20');return _0x2bfc4e(0x334,0x289)+_0x43f9ca(-0x1a7,-0xc4)+'on=Clawk'+_0x2bfc4e(0x170,0xc3)+'e\x20CLI\x0aAf'+'ter=netw'+_0x2bfc4e(_0x5bfd5c._0x277f9e,_0x5bfd5c._0x120f93)+_0x43f9ca(0x265,0x20f)+_0x2bfc4e(_0x5bfd5c._0x5be737,0x190)+_0x2bfc4e(0x1ee,_0x5bfd5c._0x38bd2f)+_0x43f9ca(-0x1a8,-0xaf)+_0x2bfc4e(0x1d0,0x86)+_0x2bfc4e(-_0x5bfd5c._0x97d55b,0x31)+_0x43f9ca(0x1d6,_0x5bfd5c._0x1e0da9)+'mple\x0aExe'+'cStart='+_0x5a4275+(_0x43f9ca(_0x5bfd5c._0x47bdfe,-_0x5bfd5c._0xd0189d)+'=always\x0a'+_0x43f9ca(0x265,0x1ab)+_0x2bfc4e(0x138,0x2f9)+_0x2bfc4e(-0x12d,0xa6)+'ctory=')+escapeSystemdArg(SERVICE_DIR)+(_0x2bfc4e(_0x5bfd5c._0x4cd25e,0x2df)+'dOutput='+_0x43f9ca(-_0x5bfd5c._0x3f997e,-_0x5bfd5c._0x499920))+_0x5b6456+('\x0aStandar'+_0x43f9ca(-0xf1,-0x92)+_0x43f9ca(0x82,0x76))+_0x53a5a2+(_0x43f9ca(_0x5bfd5c._0xeb5575,0x1b8)+_0x2bfc4e(_0x5bfd5c._0x50c10d,0x2af)+_0x2bfc4e(_0x5bfd5c._0x550854,_0x5bfd5c._0x177d20)+_0x43f9ca(_0x5bfd5c._0x358741,0x183)+'get\x0a');}function getServicePath(){const _0x51a75e={_0x348fb0:0xee,_0xf246ef:0x14f,_0x435d46:0xb9,_0x7dde1d:0x29c,_0xd3ce45:0x2c9,_0x4b2a66:0x2a1,_0x57f7d3:0x26f,_0x434e36:0x208,_0x11ba35:0x3c8},_0xfc7fc5={_0x26b9df:0x1b1};function _0x3cfd2c(_0x4dd0c9,_0x1c15d1){return _0x5ae336(_0x1c15d1- -_0xfc7fc5._0x26b9df,_0x4dd0c9);}function _0x2b1ef6(_0x471cf1,_0x55e032){return _0x5ae336(_0x471cf1-0x4a,_0x55e032);}const _0x328226={};_0x328226[_0x3cfd2c(_0x51a75e._0x348fb0,-0xbf)]=_0x2b1ef6(0x134,-0xac);const _0x3f8ba7=_0x328226;switch(process[_0x3cfd2c(-_0x51a75e._0xf246ef,-0x22)]){case _0x3f8ba7[_0x3cfd2c(-0x24b,-0xbf)]:return MACOS_PLIST_PATH;case _0x3cfd2c(_0x51a75e._0x435d46,-0xb2):return LINUX_SERVICE_PATH;case'win32':return _0x2b1ef6(0x3f3,_0x51a75e._0x7dde1d)+_0x2b1ef6(_0x51a75e._0xd3ce45,_0x51a75e._0x4b2a66)+'crosoft\x5c'+_0x3cfd2c(0x14b,0x114)+'CurrentV'+_0x2b1ef6(_0x51a75e._0x57f7d3,0x25a)+'un\x5cClawk'+'etBridge'+_0x2b1ef6(_0x51a75e._0x434e36,_0x51a75e._0x11ba35);default:return'';}}function detectServiceMethod(){const _0xb1603e={_0x4d4bba:0x4c6,_0x23faaa:0x4e6,_0x51e621:0x3a9,_0x556d29:0x488,_0x2db65c:0x534,_0x21fb21:0x4cf,_0x1e2bbc:0x4f3,_0x2313af:0x525,_0xfce5ae:0x193},_0x428d07={_0x5719fe:0xd8};function _0x4370a7(_0x5ef3a4,_0x2774ff){return _0xfff276(_0x5ef3a4-0x1d6,_0x2774ff);}function _0x4b8ae2(_0x6af215,_0x101825){return _0xfff276(_0x101825-_0x428d07._0x5719fe,_0x6af215);}switch(process['platform']){case _0x4370a7(0x3e7,0x49b):return _0x4b8ae2(0x478,_0xb1603e._0x4d4bba)+'ent';case _0x4370a7(0x3fc,_0xb1603e._0x23faaa):return _0x4370a7(0x506,_0xb1603e._0x51e621)+_0x4b8ae2(_0xb1603e._0x556d29,0x35d);case _0x4370a7(0x57f,_0xb1603e._0x2db65c):return _0x4b8ae2(0x3e6,_0xb1603e._0x21fb21)+'run-regi'+_0x4370a7(_0xb1603e._0x1e2bbc,_0xb1603e._0x2313af);default:return'unsuppor'+_0x4b8ae2(_0xb1603e._0xfce5ae,0x31d);}}function readServiceState(){const _0x56b2e3={_0x1aa6b3:0xfc,_0x4f9878:0x1d3,_0x4eb801:0x816,_0x456589:0x445,_0x508b7a:0x515,_0x5bdf19:0x59b,_0x4102d5:0x4d5,_0x304faa:0x4ce},_0x2190ae={_0x65b13e:0x31b};function _0x295b2c(_0x1449d1,_0x2ae37a){return _0xfff276(_0x1449d1-_0x2190ae._0x65b13e,_0x2ae37a);}const _0x4e4cf4={'GLIBq':function(_0x3eafaf,_0x2b94c9){return _0x3eafaf(_0x2b94c9);}};if(!_0x4e4cf4[_0x15f229(_0x56b2e3._0x1aa6b3,_0x56b2e3._0x4f9878)](_0x4535aa,SERVICE_STATE_PATH))return null;function _0x15f229(_0x540587,_0x2f1849){return _0xfff276(_0x2f1849- -0x350,_0x540587);}try{const _0x6b3c3b=JSON['parse'](_0x3d1297(SERVICE_STATE_PATH,_0x295b2c(_0x56b2e3._0x4eb801,0x8ad)));if(!_0x6b3c3b[_0x295b2c(0x515,_0x56b2e3._0x456589)]||typeof _0x6b3c3b[_0x295b2c(_0x56b2e3._0x508b7a,0x493)]!==_0x295b2c(_0x56b2e3._0x5bdf19,_0x56b2e3._0x4102d5))return null;return{'pid':_0x6b3c3b[_0x295b2c(0x515,0x6c0)],'startedAt':_0x6b3c3b[_0x295b2c(0x53e,_0x56b2e3._0x304faa)+'t']??new Date(0x0)['toISOStr'+'ing']()};}catch{return null;}}function stopRunningProcess(){const _0x1649ec={_0xa6b40f:0x3f6,_0x5cbe2c:0x421,_0x2f6b79:0x184,_0x29dcd3:0x0,_0x5d2870:0x2c6,_0x17e384:0x122,_0x2c7340:0x1b7,_0x4887e7:0x6ba,_0x32d81a:0x51e,_0x56c5e7:0x66,_0x5d4d99:0x362,_0x29c145:0x3d1,_0x26e263:0xc8,_0x4847fe:0x3ec,_0x4a4b6b:0x36f},_0x4b175d={_0x44c524:0x175},_0x3ebb8f={'bMgFN':function(_0x13c0ec,_0x5b30b1){return _0x13c0ec===_0x5b30b1;},'omQJO':_0x58fe21(_0x1649ec._0xa6b40f,0x51e),'QTVID':'kill','udpPi':_0x58fe21(0x375,_0x1649ec._0x5cbe2c),'BHDyb':_0x18ca72(0x33a,_0x1649ec._0x2f6b79),'GwEFb':function(_0x438568,_0x174de0){return _0x438568(_0x174de0);}},_0x528fdb=readServiceState();function _0x58fe21(_0x29a784,_0x40b427){return _0xfff276(_0x40b427-_0x4b175d._0x44c524,_0x29a784);}function _0x18ca72(_0x459bf2,_0x2dfad7){return _0xfff276(_0x2dfad7- -0x194,_0x459bf2);}if(!_0x528fdb)return;execIgnoreFailure(_0x3ebb8f[_0x18ca72(-0x115,_0x1649ec._0x29dcd3)](process[_0x18ca72(_0x1649ec._0x5d2870,_0x1649ec._0x17e384)],_0x3ebb8f[_0x58fe21(0x33e,0x510)])?'taskkill':_0x3ebb8f[_0x18ca72(_0x1649ec._0x2c7340,0x197)],process[_0x18ca72(0x179,0x122)]===_0x58fe21(_0x1649ec._0x4887e7,_0x1649ec._0x32d81a)?[_0x3ebb8f[_0x58fe21(0x61d,0x594)],String(_0x528fdb[_0x18ca72(0x59,_0x1649ec._0x56c5e7)]),'/T','/F']:[_0x3ebb8f[_0x58fe21(0x4e2,_0x1649ec._0x5d4d99)],_0x3ebb8f[_0x58fe21(0x55a,_0x1649ec._0x29c145)](String,_0x528fdb[_0x58fe21(0x2b2,0x36f)])]),_0x3ebb8f[_0x18ca72(0x59,_0x1649ec._0x26e263)](clearServiceState,_0x528fdb[_0x58fe21(_0x1649ec._0x4847fe,_0x1649ec._0x4a4b6b)]);}function isPidRunning(_0x7368c8){const _0x41d448={_0x3b5947:0x1a6},_0x38fab5={_0x161d05:0x1ed};function _0x2b3181(_0xd742a6,_0x1805d3){return _0xfff276(_0x1805d3- -_0x38fab5._0x161d05,_0xd742a6);}try{return process[_0x2b3181(_0x41d448._0x3b5947,0x254)](_0x7368c8,0x0),!![];}catch{return![];}}function startDetachedWindowsService(_0x45050f){const _0x143724={_0x20a896:0x65c,_0x48cadc:0x5bf},_0xf58325={_0x57f924:0x392},_0x59238c={'cQqKN':function(_0x17bdf4,_0x36d45f,_0x4cd1ff,_0x514f71){return _0x17bdf4(_0x36d45f,_0x4cd1ff,_0x514f71);}};function _0x5b4084(_0x4365ef,_0xd2f831){return _0xfff276(_0x4365ef-0x243,_0xd2f831);}const _0x3fad32=openSync(SERVICE_LOG_PATH,'a');function _0x2f2dac(_0x3c255c,_0x40c44e){return _0xfff276(_0x3c255c-_0xf58325._0x57f924,_0x40c44e);}const _0x258b74=openSync(SERVICE_ERROR_LOG_PATH,'a');try{const [_0x2ca134,..._0x201d30]=_0x45050f,_0x4e6b79={};_0x4e6b79[_0x2f2dac(0x5b3,0x3c4)]=!![],_0x4e6b79[_0x5b4084(0x5fa,_0x143724._0x20a896)]=['ignore',_0x3fad32,_0x258b74],_0x4e6b79[_0x2f2dac(_0x143724._0x48cadc,0x507)+'ide']=!![];const _0x572e05=_0x59238c['cQqKN'](spawn,_0x2ca134,_0x201d30,_0x4e6b79);_0x572e05['unref']();}finally{closeSync(_0x3fad32),closeSync(_0x258b74);}}function resolveScriptPath(_0x2a870e){const _0x3d9436={_0x12665d:0x1b7,_0x567eaa:0x2db,_0x17d8f2:0x295,_0x2fb396:0x3dc},_0x52ba90=_0x2a870e?.[_0x3c871e(_0x3d9436._0x12665d,_0x3d9436._0x567eaa)]()||process[_0x3c871e(_0x3d9436._0x17d8f2,_0x3d9436._0x2fb396)][0x1]?.[_0x3c871e(0x1b7,0x357)]()||'';function _0x2479ac(_0xe3b29f,_0x27541c){return _0x5ae336(_0x27541c- -0x148,_0xe3b29f);}function _0x3c871e(_0x2be1d4,_0x37fd1e){return _0x5ae336(_0x2be1d4- -0x127,_0x37fd1e);}if(!_0x52ba90)return'';try{return realpathSync(_0x52ba90);}catch{return _0x52ba90;}}function ensureLaunchScriptExecutable(_0x2414d5,_0x298aa6){const _0x4c0cd7={_0x1e8353:0x457,_0x2a3171:0x1ee,_0x54b3f5:0x5d6},_0xe39624={_0x2aae8a:0x2d8},_0x34e0cc={};function _0x243bc8(_0x39bb2e,_0x2739f8){return _0x5ae336(_0x2739f8-0x354,_0x39bb2e);}function _0x15b967(_0x258621,_0x3982d4){return _0x5ae336(_0x258621-_0xe39624._0x2aae8a,_0x3982d4);}_0x34e0cc[_0x243bc8(0x347,_0x4c0cd7._0x1e8353)]=function(_0x6ede7c,_0x6dd371){return _0x6ede7c===_0x6dd371;};const _0x5799f8=_0x34e0cc;if(_0x5799f8[_0x15b967(0x3db,_0x4c0cd7._0x2a3171)](_0x298aa6,_0x243bc8(0x6bf,_0x4c0cd7._0x54b3f5))||!_0x4535aa(_0x2414d5))return;try{chmodSync(_0x2414d5,0x1ed);}catch{}}function writeServiceLauncher(_0x52716b){const _0x4880b8={_0x5129b0:0x577,_0x3704be:0x12d,_0x58a751:0x20a,_0x3d85fb:0x35b,_0x36b4b8:0x5d1,_0x1534a3:0x701,_0x2d654f:0x85c,_0x16ae02:0x33a,_0x39445a:0x1fe,_0xed17cf:0x76f,_0x3b6258:0x1a8,_0xeb5a34:0x292,_0x1fb71c:0x324,_0x26e9d2:0x493,_0x2c29ce:0x99,_0x40f9e7:0x175,_0x162ff0:0x265,_0x389959:0x72b,_0x5a7d66:0x7af,_0xece72b:0x27e,_0x213757:0x97,_0x1e2983:0x7a0,_0x542ea4:0x324,_0x3d2a11:0x3df,_0x134cf7:0x2c3,_0x3edc1d:0x473,_0x315037:0x54c,_0x483ee5:0x391,_0x4e6838:0x206,_0x5996f1:0x229,_0x4e380e:0x5a8,_0x2361c1:0x7b3,_0x3f4180:0x861,_0x1ad617:0x8d8,_0x755e0d:0x121,_0x3ba6f1:0x249,_0x5228ab:0x353,_0x2f8818:0x6e4,_0x45a355:0x1f4,_0x784e44:0x970,_0x5eabec:0x79b,_0x333d88:0xa1c,_0x3986e9:0x8c0};function _0x14cfeb(_0x4a59d1,_0x157636){return _0xfff276(_0x157636-0x3c5,_0x4a59d1);}const _0x54ff58={'aeoJN':'#!/bin/s'+'h','IVUjL':function(_0x540d2e,_0x4cb503){return _0x540d2e(_0x4cb503);},'FWfuN':function(_0x120fcb,_0x5cef70){return _0x120fcb(_0x5cef70);},'OqlHU':_0x53c233(0x15f,0x13)+_0x14cfeb(0x584,_0x4880b8._0x5129b0)+_0x14cfeb(0x773,0x723)+_0x53c233(0x41,-_0x4880b8._0x3704be),'stUvQ':'\x20\x20exec\x20\x22'+_0x53c233(_0x4880b8._0x58a751,_0x4880b8._0x3d85fb)+_0x53c233(0x390,0x452)+'RIPT_PAT'+'H\x22\x20run\x20-'+_0x14cfeb(_0x4880b8._0x36b4b8,_0x4880b8._0x1534a3),'hwJXv':_0x14cfeb(0x9c0,_0x4880b8._0x2d654f)+_0x53c233(_0x4880b8._0x16ae02,_0x4880b8._0x39445a)+_0x14cfeb(0x6e7,_0x4880b8._0xed17cf)+'H\x22\x20run\x20-'+_0x53c233(_0x4880b8._0x3b6258,0x8a),'AjgMo':function(_0x78fe38,_0x5392d0,_0x40101e,_0xf16b8d){return _0x78fe38(_0x5392d0,_0x40101e,_0xf16b8d);}};ensureServiceDirs();function _0x53c233(_0x4d8b7f,_0x4e72e6){return _0xfff276(_0x4d8b7f- -0x194,_0x4e72e6);}const _0x4308cf=[_0x54ff58['aeoJN'],_0x53c233(_0x4880b8._0xeb5a34,0x24d)+_0x53c233(_0x4880b8._0x1fb71c,_0x4880b8._0x26e9d2)+_0x54ff58[_0x53c233(0x132,_0x4880b8._0x2c29ce)](escapeShellDoubleQuoted,_0x52716b[_0x53c233(_0x4880b8._0x40f9e7,_0x4880b8._0x162ff0)])+'\x22',_0x14cfeb(_0x4880b8._0x389959,_0x4880b8._0x5a7d66)+_0x14cfeb(0x5ea,0x68d)+_0x54ff58['FWfuN'](escapeShellDoubleQuoted,_0x52716b[_0x53c233(_0x4880b8._0xece72b,_0x4880b8._0x213757)])+'\x22',_0x14cfeb(_0x4880b8._0x1e2983,0x882)+_0x53c233(_0x4880b8._0x542ea4,_0x4880b8._0x3d2a11)+escapeShellDoubleQuoted(_0x52716b[_0x53c233(_0x4880b8._0x134cf7,_0x4880b8._0x3edc1d)+'th'])+'\x22',_0x54ff58[_0x14cfeb(_0x4880b8._0x315037,0x6f9)],_0x54ff58[_0x53c233(_0x4880b8._0x483ee5,_0x4880b8._0x4e6838)],'fi',_0x53c233(0x177,0x5c)+_0x53c233(0x3a7,_0x4880b8._0x5996f1)+'de\x20>/dev'+_0x14cfeb(0x6f3,_0x4880b8._0x4e380e)+_0x14cfeb(_0x4880b8._0x2361c1,_0x4880b8._0x3f4180),_0x54ff58['hwJXv'],'fi',_0x14cfeb(0x500,0x5ee)+'de\x20runti'+_0x14cfeb(0xa25,_0x4880b8._0x1ad617)+_0x14cfeb(0x99d,0x7d6)+_0x53c233(_0x4880b8._0x755e0d,_0x4880b8._0x3ba6f1)+_0x53c233(_0x4880b8._0x5228ab,0x2cb)+_0x14cfeb(_0x4880b8._0x2f8818,0x64c)+_0x53c233(0x35f,_0x4880b8._0x45a355),_0x14cfeb(0x7a2,0x648),''];return _0x54ff58[_0x14cfeb(_0x4880b8._0x784e44,_0x4880b8._0x5eabec)](_0x3c31fe,SERVICE_LAUNCHER_PATH,_0x4308cf['join']('\x0a'),_0x14cfeb(_0x4880b8._0x333d88,_0x4880b8._0x3986e9)),SERVICE_LAUNCHER_PATH;}function escapeShellDoubleQuoted(_0x1aff91){const _0xd8a13a={_0x353ee9:0x50c,_0x44627a:0x625,_0x58fcb7:0x466,_0x2f45c0:0x541};function _0x45a156(_0x23aa09,_0x482147){return _0x5ae336(_0x482147-0x186,_0x23aa09);}function _0x28155c(_0x170881,_0x131a54){return _0x5ae336(_0x131a54-0x26a,_0x170881);}return _0x1aff91[_0x28155c(_0xd8a13a._0x353ee9,_0xd8a13a._0x44627a)+'ll']('\x5c','\x5c\x5c')[_0x45a156(_0xd8a13a._0x58fcb7,_0xd8a13a._0x2f45c0)+'ll']('\x22','\x5c\x22')['replaceA'+'ll']('$','\x5c$')['replaceA'+'ll']('`','\x5c`');}function buildWindowsRunCommand(_0x1b064f){const _0x53b809={_0x5d30ca:0x1a7,_0x127e27:0x35},_0x5a14d6={_0x263e71:0xec},_0x5770a8={_0x3776bc:0x203};function _0x1669c3(_0x27b3f7,_0x19170f){return _0x5ae336(_0x19170f-_0x5770a8._0x3776bc,_0x27b3f7);}function _0x5f1cf8(_0x869912,_0x36854b){return _0x5ae336(_0x869912- -_0x5a14d6._0x263e71,_0x36854b);}return _0x1b064f[_0x5f1cf8(_0x53b809._0x5d30ca,-_0x53b809._0x127e27)](escapeWindowsArg)[_0x5f1cf8(0x1b,0x183)]('\x20');}function ensureServiceDirs(){const _0x4ba783={_0x59007e:0x22f},_0x555aac={'bPaJe':function(_0x111baf,_0x52de3d,_0x32593e){return _0x111baf(_0x52de3d,_0x32593e);}},_0x588cbf={};_0x588cbf['recursiv'+'e']=!![];function _0x2c7c2c(_0x3c4078,_0x1ad0b2){return _0x5ae336(_0x3c4078-_0x4ba783._0x59007e,_0x1ad0b2);}_0x555aac['bPaJe'](_0x3544cf,SERVICE_DIR,_0x588cbf);const _0x17f12f={};_0x17f12f[_0x2c7c2c(0x4d4,0x529)+'e']=!![],_0x3544cf(LOG_DIR,_0x17f12f);}function escapeXml(_0x33e4d0){const _0x851e25={_0x27f9a3:0x108,_0xf0efaa:0xb7,_0xb765e:0x1cc,_0x2f4daf:0x3b,_0x3fa81b:0x15e,_0x6c9c11:0x6a5,_0x997a22:0x59d,_0x576d0e:0x228,_0x2bcb39:0x52d,_0x1912f9:0xfb,_0x3dc4e9:0x28f,_0x53d04e:0x3f9,_0x567fe8:0x1cc,_0x40eef9:0x100},_0x50988b={_0x52a04f:0x2ba},_0x192dc9={};_0x192dc9['YKEtV']=_0x407d8f(_0x851e25._0x27f9a3,_0x851e25._0xf0efaa),_0x192dc9[_0x407d8f(_0x851e25._0xb765e,0x106)]=_0x407d8f(-_0x851e25._0x2f4daf,_0x851e25._0x3fa81b);function _0x5583c2(_0x52acb6,_0x4455eb){return _0xfff276(_0x52acb6-0x1c3,_0x4455eb);}function _0x407d8f(_0x459347,_0x2737b6){return _0xfff276(_0x459347- -_0x50988b._0x52a04f,_0x2737b6);}const _0x3c02fb=_0x192dc9;return _0x33e4d0[_0x5583c2(_0x851e25._0x6c9c11,_0x851e25._0x997a22)+'ll']('&',_0x407d8f(0x19e,0x28d))[_0x407d8f(_0x851e25._0x576d0e,0x94)+'ll']('<',_0x5583c2(_0x851e25._0x2bcb39,0x41a))['replaceA'+'ll']('>',_0x407d8f(-_0x851e25._0x1912f9,-_0x851e25._0x3dc4e9))[_0x407d8f(0x228,0x166)+'ll']('\x22',_0x3c02fb['YKEtV'])[_0x407d8f(0x228,_0x851e25._0x53d04e)+'ll']('\x27',_0x3c02fb[_0x407d8f(_0x851e25._0x567fe8,_0x851e25._0x40eef9)]);}function escapeSystemdArg(_0x1e3d60){const _0x24aa20={_0x2f9b05:0x69f},_0x4a1f99={_0x238125:0x1bd},_0x32d22a={_0x5686a7:0x83};function _0x1cd5b5(_0x35677c,_0x583440){return _0xfff276(_0x583440- -_0x32d22a._0x5686a7,_0x35677c);}function _0x110f40(_0x3d2805,_0x5dc78e){return _0xfff276(_0x3d2805-_0x4a1f99._0x238125,_0x5dc78e);}return'\x22'+_0x1e3d60[_0x110f40(0x69f,0x63d)+'ll']('\x5c','\x5c\x5c')[_0x110f40(_0x24aa20._0x2f9b05,0x6c3)+'ll']('\x22','\x5c\x22')+'\x22';}function escapeWindowsArg(_0x528aad){const _0x4f3682={_0x4ea585:0x970},_0x221536={_0x17f0dc:0x29f};function _0x110442(_0x4a2b06,_0x22504b){return _0xfff276(_0x4a2b06-_0x221536._0x17f0dc,_0x22504b);}return'\x22'+_0x528aad[_0x110442(0x781,_0x4f3682._0x4ea585)+'ll']('\x22','\x5c\x22')+'\x22';}function commandSucceeds(_0x341eae,_0x16db8c){const _0x5de37f={_0x369762:0x316,_0x46dea9:0x4ed},_0x1942ab={_0x30ff9c:0x12e};function _0x4c3fa6(_0x1d163b,_0x4e6a44){return _0xfff276(_0x1d163b-_0x1942ab._0x30ff9c,_0x4e6a44);}function _0x5b1074(_0xf6de63,_0x50b9b4){return _0xfff276(_0xf6de63- -0x2da,_0x50b9b4);}const _0x2fc019={'CtEWh':function(_0x32096a,_0x45c489,_0x21040e,_0x3143c3){return _0x32096a(_0x45c489,_0x21040e,_0x3143c3);}};try{const _0x5f4cfc={};return _0x5f4cfc[_0x5b1074(0xdd,0x11)]='ignore',_0x2fc019[_0x4c3fa6(_0x5de37f._0x369762,_0x5de37f._0x46dea9)](execFileSync,_0x341eae,_0x16db8c,_0x5f4cfc),!![];}catch{return![];}}function execIgnoreFailure(_0x28aee6,_0x39843f){const _0x2ee851={_0x4f801c:0x3f5,_0x3db5a5:0x547,_0x26f544:0x48f},_0x202a8c={_0x2cc36f:0x165};function _0x3e4bb8(_0x4e711c,_0x24c946){return _0x5ae336(_0x24c946- -0x17d,_0x4e711c);}const _0xea8fa4={'uJDLm':function(_0x4a34ae,_0x5cb199,_0x38463c,_0x174a60){return _0x4a34ae(_0x5cb199,_0x38463c,_0x174a60);}};function _0x599e11(_0x216f5c,_0x31bb30){return _0x5ae336(_0x31bb30-_0x202a8c._0x2cc36f,_0x216f5c);}try{const _0xd2bc16={};_0xd2bc16[_0x599e11(0x3dc,_0x2ee851._0x4f801c)]=_0x599e11(_0x2ee851._0x3db5a5,_0x2ee851._0x26f544),_0xea8fa4['uJDLm'](execFileSync,_0x28aee6,_0x39843f,_0xd2bc16);}catch{}}function rmIfExists(_0x436604){const _0x21e9cb={_0x19ccbc:0x24b};if(!_0x4535aa(_0x436604))return;function _0x19a1af(_0x41bef3,_0x495149){return _0xfff276(_0x41bef3-_0x21e9cb._0x19ccbc,_0x495149);}const _0x41519a={};_0x41519a[_0x19a1af(0x460,0x4e1)]=!![],_0x238e81(_0x436604,_0x41519a);}import{existsSync as _0x2e595d,readFileSync as _0x542e76}from'fs';import{homedir as _0xb21a09}from'os';import{join as _0x330e9a}from'path';var DEFAULT_GATEWAY_URL=_0xfff276(0x338,0x457)+_0xfff276(0x2c1,0x182)+_0xfff276(0x544,0x37e),OPENCLAW_DIR=_0x330e9a(_0xb21a09(),'.opencla'+'w'),OPENCLAW_CONFIG_PATH2=_0x330e9a(OPENCLAW_DIR,_0x5ae336(0x1b5,0x353)+_0x5ae336(0x288,0x114)),OPENCLAW_MEDIA_DIR=_0x330e9a(OPENCLAW_DIR,'media');function resolveGatewayUrl(_0x327eff){const _0x186b99={_0x37b541:0x44d,_0x59adec:0x551,_0x51ad8d:0x298,_0x362660:0x1e2,_0x4598a8:0x665,_0x35c476:0x5cb,_0x135d4e:0x8a0,_0x118c84:0x7ae},_0x50e20b={};_0x50e20b[_0x9bc0d9(0x411,_0x186b99._0x37b541)]=_0x9bc0d9(0x1b8,0x13f);function _0x4fb0e5(_0x3910df,_0x4d0c27){return _0xfff276(_0x4d0c27-0x293,_0x3910df);}const _0x5d6be9=_0x50e20b,_0x43a9a8=_0x327eff?.[_0x4fb0e5(_0x186b99._0x59adec,0x698)]();function _0x9bc0d9(_0x27f2c7,_0x5d175b){return _0xfff276(_0x27f2c7- -0xc8,_0x5d175b);}if(_0x43a9a8)return _0x43a9a8;const _0x45dce2=readOpenClawInfo();if(typeof _0x45dce2[_0x9bc0d9(_0x186b99._0x51ad8d,0x3a9)+_0x9bc0d9(_0x186b99._0x362660,0x2f2)]===_0x5d6be9['dwLLw'])return _0x4fb0e5(_0x186b99._0x4598a8,_0x186b99._0x35c476)+_0x4fb0e5(_0x186b99._0x135d4e,_0x186b99._0x118c84)+_0x45dce2[_0x9bc0d9(_0x186b99._0x51ad8d,0x397)+'ort'];return DEFAULT_GATEWAY_URL;}function readOpenClawInfo(){const _0x2508da={_0x31596d:0xd1,_0x22b546:0x5b,_0x393a9d:0xd5,_0x6841b6:0x20d,_0x1a414f:0x397,_0x5d3324:0x1db,_0x3a969e:0x2c9,_0x5907a1:0x4a4,_0xfdcf14:0x19f,_0x343f3f:0xf3,_0x5cbac7:0x2ba,_0x5edacd:0xa6,_0x291821:0x25c,_0x2464ed:0x100,_0x37ddba:0x5,_0x1e5264:0x372,_0x9aad5b:0x3ef,_0x483ce4:0x3aa,_0x1e9b1b:0x554,_0x3e7b74:0x3ca,_0x154dff:0x5b,_0x12d275:0x282,_0x3e7109:0x3b},_0x576642={_0x4d15d4:0x191};function _0xccc6b5(_0xde83ee,_0x4ee1dc){return _0x5ae336(_0xde83ee- -0x1de,_0x4ee1dc);}function _0x4eaddd(_0x4f8b94,_0x1b8de7){return _0x5ae336(_0x1b8de7-_0x576642._0x4d15d4,_0x4f8b94);}if(!_0x2e595d(OPENCLAW_CONFIG_PATH2)){const _0x2d8653={};return _0x2d8653[_0x4eaddd(0x441,0x370)+_0xccc6b5(0x3b,-_0x2508da._0x31596d)]=![],_0x2d8653[_0xccc6b5(_0x2508da._0x22b546,-_0x2508da._0x393a9d)+'ort']=null,_0x2d8653[_0x4eaddd(0x2dc,0x27c)]=null,_0x2d8653;}try{const _0x34fa4f=JSON[_0xccc6b5(_0x2508da._0x6841b6,_0x2508da._0x1a414f)](_0x542e76(OPENCLAW_CONFIG_PATH2,_0xccc6b5(0x1f6,_0x2508da._0x5d3324))),_0x111c45=_0x34fa4f[_0x4eaddd(0x460,_0x2508da._0x3a969e)]?.[_0xccc6b5(0x11,-0x67)],_0x2f123f=typeof _0x111c45==='number'&&Number[_0x4eaddd(_0x2508da._0x5907a1,0x321)+'r'](_0x111c45)?_0x111c45:null,_0x53e724=typeof _0x34fa4f[_0x4eaddd(_0x2508da._0xfdcf14,0x2c9)]?.[_0xccc6b5(-0x99,-0x158)]?.[_0xccc6b5(-_0x2508da._0x343f3f,-_0x2508da._0x5cbac7)]==='string'&&_0x34fa4f[_0xccc6b5(-_0x2508da._0x5edacd,-_0x2508da._0x291821)]['auth']['token']['trim']()?_0x34fa4f[_0x4eaddd(0xea,0x2c9)][_0x4eaddd(0x214,0x2d6)]['token'][_0xccc6b5(_0x2508da._0x2464ed,_0x2508da._0x37ddba)]():null,_0x30329d={};return _0x30329d[_0x4eaddd(_0x2508da._0x1e5264,0x370)+_0x4eaddd(_0x2508da._0x9aad5b,_0x2508da._0x483ce4)]=!![],_0x30329d[_0x4eaddd(_0x2508da._0x1e9b1b,_0x2508da._0x3e7b74)+_0xccc6b5(-_0x2508da._0x154dff,-0x93)]=_0x2f123f,_0x30329d[_0xccc6b5(-0xf3,-_0x2508da._0x12d275)]=_0x53e724,_0x30329d;}catch{const _0x3e64b0={};return _0x3e64b0['configFo'+_0xccc6b5(_0x2508da._0x3e7109,0x19b)]=!![],_0x3e64b0[_0x4eaddd(0x48d,0x3ca)+_0x4eaddd(0x42b,0x314)]=null,_0x3e64b0['token']=null,_0x3e64b0;}}function resolveGatewayToken(){const _0x5a5873={_0x286280:0x406};function _0x4d648b(_0x3980f0,_0x20dd2e){return _0xfff276(_0x3980f0-0x1f4,_0x20dd2e);}return readOpenClawInfo()[_0x4d648b(_0x5a5873._0x286280,0x5bf)];}function getOpenClawConfigDir(){return OPENCLAW_DIR;}function getOpenClawMediaDir(){return OPENCLAW_MEDIA_DIR;}var CONTROL_PREFIX=_0xfff276(0x427,0x2d5)+_0x5ae336(0x105,-0x11)+_0x5ae336(0x7b,-0xa)+'_:';function parseControl(_0x22f713){const _0x34008d={_0x68bcd8:0x59,_0x1d38be:0x6b,_0x4da156:0x2f0,_0x23d8d0:0x24c,_0x2c8d33:0x1c5,_0x1d5043:0x50f,_0x2404d2:0x154,_0x3ed913:0x34c,_0x1f5a39:0x4f2,_0x4222d1:0x5d7};function _0x58e568(_0x425a3a,_0x170aa1){return _0xfff276(_0x425a3a- -0x2b1,_0x170aa1);}function _0x58f390(_0x2777cc,_0x16c768){return _0xfff276(_0x16c768-0xcc,_0x2777cc);}if(!_0x22f713[_0x58e568(-_0x34008d._0x68bcd8,-0x1aa)+'th'](CONTROL_PREFIX))return null;try{const _0x10055a=JSON[_0x58f390(0x4b9,0x5de)](_0x22f713[_0x58e568(0x163,-_0x34008d._0x1d38be)](CONTROL_PREFIX[_0x58f390(_0x34008d._0x4da156,_0x34008d._0x23d8d0)]));if(typeof _0x10055a[_0x58e568(0x12,_0x34008d._0x2c8d33)]!==_0x58f390(_0x34008d._0x1d5043,0x3b0)||!_0x10055a[_0x58e568(0x12,0x37)][_0x58e568(0x154,0x14)]())return null;return{'event':_0x10055a['event'][_0x58e568(_0x34008d._0x2404d2,0x21)](),'count':typeof _0x10055a[_0x58e568(0x25a,0x316)]===_0x58f390(0x311,_0x34008d._0x3ed913)&&Number['isFinite'](_0x10055a[_0x58f390(_0x34008d._0x1f5a39,_0x34008d._0x4222d1)])?_0x10055a['count']:void 0x0};}catch{return null;}}function parseConnectStartIdentity(_0x4f076f){const _0x5238a8={_0x3368e8:0x48e,_0x361a26:0x474,_0xba1f7:0x579,_0x47e58b:0x524,_0x41af28:0x581,_0x7e18f1:0x6cb,_0x57c3ee:0x594,_0x2b3be1:0x383,_0x3ea1e9:0x6b2,_0x24429e:0x53d,_0x233ce4:0x58a,_0x1747c9:0x6a4,_0x2d3e3e:0x6f7,_0x30ba1f:0x367,_0xec9696:0x339,_0x2f02d9:0x45e,_0x46e539:0x3b3,_0x147e88:0x5ea,_0x4d5c0f:0x40d,_0x373d4a:0x572,_0x49599c:0x511,_0x3789cc:0x531,_0x7e8439:0x2b7,_0x423e5c:0x578};function _0x172960(_0xd36eb3,_0x5d6b0b){return _0x5ae336(_0xd36eb3-0x16b,_0x5d6b0b);}const _0x1e80ef={};function _0xfa6eeb(_0x260924,_0x4b8441){return _0x5ae336(_0x260924-0x2e0,_0x4b8441);}_0x1e80ef[_0x172960(0x3e1,_0x5238a8._0x3368e8)]=function(_0x5853ff,_0x3d4c11){return _0x5853ff!==_0x3d4c11;},_0x1e80ef[_0x172960(_0x5238a8._0x361a26,0x4a7)]=function(_0x192ebb,_0xc5d654){return _0x192ebb===_0xc5d654;},_0x1e80ef[_0xfa6eeb(0x580,0x5c1)]=_0x172960(_0x5238a8._0xba1f7,_0x5238a8._0x47e58b)+_0xfa6eeb(_0x5238a8._0x41af28,0x528);const _0x5ce16a=_0x1e80ef;try{const _0x2ca5ef=JSON[_0xfa6eeb(_0x5238a8._0x7e18f1,0x89e)](_0x4f076f);if(_0x5ce16a['toYKH'](_0x2ca5ef[_0x172960(0x4e1,_0x5238a8._0x57c3ee)],_0x172960(0x262,_0x5238a8._0x2b3be1)))return null;if(_0x2ca5ef[_0xfa6eeb(_0x5238a8._0x3ea1e9,0x713)]!=='connect'&&_0x2ca5ef[_0x172960(_0x5238a8._0x24429e,0x3f3)]!==_0x172960(_0x5238a8._0x233ce4,_0x5238a8._0x1747c9)+_0xfa6eeb(_0x5238a8._0x2d3e3e,0x731))return null;const _0x4f2567=_0x2ca5ef[_0x172960(_0x5238a8._0x30ba1f,0x49d)]??{},_0x459790=_0x5ce16a[_0x172960(0x474,_0x5238a8._0xec9696)](typeof _0x2ca5ef['id'],_0xfa6eeb(0x49d,_0x5238a8._0x2f02d9))&&_0x2ca5ef['id'][_0xfa6eeb(0x5be,0x792)]()?_0x2ca5ef['id']['trim']():_0xfa6eeb(0x53f,_0x5238a8._0x46e539)+Math[_0xfa6eeb(_0x5238a8._0x147e88,_0x5238a8._0x4d5c0f)]()['toString'](0x24)[_0xfa6eeb(0x5cd,_0x5238a8._0x373d4a)](0x2,0xc),_0x495fbf=firstString(_0x4f2567[_0x172960(_0x5238a8._0x49599c,0x4a7)+'me'],_0x4f2567[_0xfa6eeb(0x52f,_0x5238a8._0x3789cc)+'me'],_0x4f2567[_0x172960(_0x5238a8._0x7e8439,0x2c1)],_0x5ce16a[_0xfa6eeb(0x580,0x6f9)]),_0x362b5b={};return _0x362b5b['id']=_0x459790,_0x362b5b[_0xfa6eeb(_0x5238a8._0x423e5c,0x61a)]=_0x495fbf,_0x362b5b;}catch{return null;}}function isConnectHandshakeRequest(_0x40ea33){const _0x5d4410={_0x5eea4d:0x455,_0x537cb9:0x253,_0x1ba6ab:0x711,_0x2408aa:0x571,_0x443cc7:0x686,_0x36fce7:0x3b0,_0x55dfe7:0x481,_0x3535af:0x45d},_0x4b19b1={_0x376473:0xbd},_0x2871c9={_0x5188ba:0x78};function _0x45f6e1(_0x46a591,_0x1ebe7f){return _0xfff276(_0x1ebe7f-_0x2871c9._0x5188ba,_0x46a591);}function _0x43e39d(_0x3120cc,_0x6015e3){return _0xfff276(_0x3120cc- -_0x4b19b1._0x376473,_0x6015e3);}try{const _0x521515=JSON[_0x43e39d(_0x5d4410._0x5eea4d,0x554)](_0x40ea33);return _0x521515['type']===_0x43e39d(0x161,_0x5d4410._0x537cb9)&&(_0x521515[_0x45f6e1(_0x5d4410._0x1ba6ab,_0x5d4410._0x2408aa)]===_0x45f6e1(_0x5d4410._0x443cc7,0x534)||_0x521515[_0x43e39d(0x43c,_0x5d4410._0x36fce7)]===_0x45f6e1(0x622,0x5be)+_0x43e39d(_0x5d4410._0x55dfe7,_0x5d4410._0x3535af));}catch{return![];}}function parsePairingRequestFromError(_0x13526e,_0x505000=Date[_0xfff276(0x38d,0x1f0)]()){const _0x19f812={_0xb16546:0x433,_0xf511f0:0x565,_0x53616b:0x666,_0xcaca10:0x371,_0x2a73bf:0x6c0,_0x26d12a:0x769,_0x26f153:0x387,_0x408a41:0x3cd,_0xe6cbd4:0x7b9,_0x492704:0x3e7,_0x286b35:0x587,_0x3b6240:0x3a6,_0x174fc7:0x59f,_0x125720:0x587,_0x1a8141:0x587,_0x3b9321:0x704,_0x1e5a78:0x4cd,_0x296e4e:0x32e,_0x4a0cd4:0x3d6,_0x4e5d68:0x4d5,_0x3c3e5d:0x6c4,_0x179f60:0x341,_0x4b5b8b:0x1c7,_0x4ed91c:0x1c9,_0x4d9a1c:0x359,_0x58cba6:0x752,_0x2e3e34:0x85b},_0x457d5e={_0x5bd0f0:0x1ca};function _0x43e3b3(_0x50ba9c,_0x1b9f2c){return _0x5ae336(_0x50ba9c-_0x457d5e._0x5bd0f0,_0x1b9f2c);}const _0x42da80={'sbthy':function(_0x76ebb6,_0xb095be){return _0x76ebb6!==_0xb095be;},'KYwiW':function(_0x529bcd,_0x415554){return _0x529bcd===_0x415554;},'RljwE':_0x2771fd(0x639,0x7e4)+'ED','hNzEL':_0x43e3b3(0x393,0x4bf)+_0x2771fd(_0x19f812._0xb16546,_0x19f812._0xf511f0),'liTrw':function(_0x236dee,_0x666f9b,_0x297ec4,_0x3ce9b9){return _0x236dee(_0x666f9b,_0x297ec4,_0x3ce9b9);},'sCjMV':function(_0xcaa624,_0x63d7a6){return _0xcaa624(_0x63d7a6);},'GaIaR':function(_0x4cfadd,_0x307db0){return _0x4cfadd(_0x307db0);}};function _0x2771fd(_0x499623,_0x15113d){return _0x5ae336(_0x499623-0x353,_0x15113d);}try{const _0x59f232=JSON[_0x2771fd(0x73e,0x6ac)](_0x13526e);if(_0x59f232[_0x2771fd(0x6c9,_0x19f812._0x53616b)]!=='res'||_0x42da80[_0x2771fd(0x468,_0x19f812._0xcaca10)](_0x59f232['ok'],![])||!_0x59f232[_0x2771fd(_0x19f812._0x2a73bf,0x89b)])return null;const _0x1ef1ea=_0x42da80[_0x43e3b3(0x2a9,0x2aa)](typeof _0x59f232['error'][_0x2771fd(_0x19f812._0x26d12a,0x779)],_0x43e3b3(_0x19f812._0x26f153,_0x19f812._0x408a41))?_0x59f232['error'][_0x2771fd(_0x19f812._0x26d12a,0x5f0)]:'',_0x48dd84=typeof _0x59f232[_0x2771fd(_0x19f812._0x2a73bf,_0x19f812._0xe6cbd4)]['message']==='string'?_0x59f232[_0x43e3b3(0x537,_0x19f812._0x492704)][_0x2771fd(0x3cf,0x447)]:'';if(!_0x1ef1ea[_0x2771fd(_0x19f812._0x286b35,_0x19f812._0x3b6240)]('NOT_PAIR'+'ED')&&!_0x1ef1ea[_0x43e3b3(0x3fe,_0x19f812._0x174fc7)]('PAIRING_'+'REQUIRED')&&!_0x48dd84[_0x2771fd(_0x19f812._0x125720,0x3e5)](_0x42da80[_0x2771fd(0x5e0,0x704)])&&!_0x48dd84[_0x2771fd(_0x19f812._0x1a8141,0x641)](_0x42da80['hNzEL']))return null;const _0x5128fe=_0x59f232[_0x2771fd(0x6c0,_0x19f812._0x3b9321)]['details']??_0x59f232['error'][_0x2771fd(0x5a3,0x78a)]??{},_0x17dcda=_0x42da80[_0x43e3b3(_0x19f812._0x1e5a78,_0x19f812._0x296e4e)](firstString,_0x5128fe[_0x43e3b3(_0x19f812._0x4a0cd4,0x46e)+'d'],extractRequestIdFromMessage(_0x48dd84),_0x2771fd(_0x19f812._0x4e5d68,0x38e));return{'requestId':_0x17dcda,'deviceId':firstString(_0x5128fe['deviceId'],''),'displayName':_0x42da80[_0x2771fd(_0x19f812._0x3c3e5d,0x58a)](firstNullableString,_0x5128fe['displayN'+_0x2771fd(0x6fd,0x8a7)]),'platform':firstNullableString(_0x5128fe[_0x43e3b3(0x359,0x3e9)]),'deviceFamily':_0x42da80[_0x43e3b3(_0x19f812._0x179f60,_0x19f812._0x4b5b8b)](firstNullableString,_0x5128fe['deviceFa'+_0x2771fd(0x65f,0x58e)]),'role':_0x42da80[_0x43e3b3(0x341,_0x19f812._0x4ed91c)](firstNullableString,_0x5128fe[_0x43e3b3(0x347,_0x19f812._0x4d9a1c)]),'remoteIp':firstNullableString(_0x5128fe[_0x2771fd(_0x19f812._0x58cba6,_0x19f812._0x2e3e34)]),'receivedAtMs':_0x505000,'status':_0x43e3b3(0x4c7,0x63c)};}catch{return null;}}function parsePairResolvedEvent(_0x11a535){const _0x447ea6={_0x39f69b:0x63a,_0x6a2e38:0x80c,_0x423e83:0x625,_0x1f4396:0x5d3,_0x267ae1:0x4b1,_0x400f7a:0x483,_0x192bd2:0x437,_0x127a2f:0x437,_0x72e8a8:0x711,_0x578e26:0x521,_0x3026c0:0x4a5,_0x570dca:0x5f8,_0x28d8cf:0x5ce,_0x573840:0x3e2,_0xfc73ed:0x5f5,_0x6f5058:0x437,_0x3d5359:0x7cd,_0x2c59c1:0x6be,_0x52b1ea:0x369},_0x3ced5c={_0x4223e8:0x1ee},_0x22f483={_0x152f0b:0x1f3},_0x23d5f3={};function _0xc797f9(_0x3cbac1,_0x349fad){return _0xfff276(_0x3cbac1-_0x22f483._0x152f0b,_0x349fad);}function _0x81dd9(_0x311663,_0x316671){return _0xfff276(_0x316671-_0x3ced5c._0x4223e8,_0x311663);}_0x23d5f3[_0xc797f9(0x545,_0x447ea6._0x39f69b)]=_0xc797f9(0x4d7,0x370);const _0x5d7315=_0x23d5f3;try{const _0x284a53=JSON[_0x81dd9(_0x447ea6._0x6a2e38,0x700)](_0x11a535);if(_0x284a53['type']!==_0x81dd9(_0x447ea6._0x423e83,0x4b1)||_0x284a53[_0x81dd9(_0x447ea6._0x1f4396,_0x447ea6._0x267ae1)]!=='device.p'+'air.reso'+_0x81dd9(0x1b0,0x385)||!_0x284a53[_0x81dd9(_0x447ea6._0x400f7a,_0x447ea6._0x192bd2)])return null;const _0x57fea4=typeof _0x284a53[_0x81dd9(0x4a7,_0x447ea6._0x127a2f)][_0x81dd9(_0x447ea6._0x72e8a8,_0x447ea6._0x578e26)+'d']===_0x81dd9(_0x447ea6._0x3026c0,0x4d2)?_0x284a53['payload']['requestI'+'d'][_0xc797f9(_0x447ea6._0x570dca,_0x447ea6._0x28d8cf)]():'';if(!_0x57fea4)return null;const _0x4e14dc=typeof _0x284a53[_0xc797f9(0x43c,_0x447ea6._0x573840)][_0xc797f9(0x51d,0x437)]===_0x5d7315['lwNng']?_0x284a53[_0x81dd9(_0x447ea6._0xfc73ed,_0x447ea6._0x6f5058)]['decision']:'unknown',_0xd453aa=_0x4e14dc===_0x81dd9(_0x447ea6._0x3d5359,0x6e5)||_0x4e14dc===_0xc797f9(_0x447ea6._0x2c59c1,0x6ab)?_0x4e14dc:_0xc797f9(0x49c,0x4ac),_0x538d29={};return _0x538d29['requestI'+'d']=_0x57fea4,_0x538d29[_0xc797f9(0x51d,_0x447ea6._0x52b1ea)]=_0xd453aa,_0x538d29;}catch{return null;}}function firstString(..._0x796371){const _0x1a14b9={_0x4936d8:0x72c,_0x26d57f:0x32d,_0x39df9b:0x22d,_0x2ab254:0x6e9,_0x4e3bf7:0x80a,_0x4eedbf:0x9c5},_0x20b2c6={};function _0x224795(_0x2a5710,_0x5533d3){return _0xfff276(_0x2a5710-0x6,_0x5533d3);}_0x20b2c6[_0x314e73(_0x1a14b9._0x4936d8,0x593)]=function(_0x29b43f,_0x14aa4b){return _0x29b43f===_0x14aa4b;};const _0x15d00f=_0x20b2c6;for(const _0x4ed729 of _0x796371){if(_0x15d00f[_0x224795(_0x1a14b9._0x26d57f,_0x1a14b9._0x39df9b)](typeof _0x4ed729,_0x314e73(_0x1a14b9._0x2ab254,0x55d))&&_0x4ed729[_0x314e73(_0x1a14b9._0x4e3bf7,_0x1a14b9._0x4eedbf)]())return _0x4ed729[_0x314e73(0x80a,0x61e)]();}function _0x314e73(_0x3faed8,_0x55c284){return _0xfff276(_0x3faed8-0x405,_0x55c284);}return'';}function firstNullableString(_0x8e395d){const _0x54fd75={_0x197a68:0x190,_0x53742e:0x8d},_0x4eb29c={_0x8b11e1:0x154};function _0x59a23d(_0x40404e,_0x44c567){return _0xfff276(_0x44c567-0x17b,_0x40404e);}function _0x13529d(_0x4041b6,_0x368d22){return _0xfff276(_0x4041b6- -_0x4eb29c._0x8b11e1,_0x368d22);}return typeof _0x8e395d===_0x13529d(_0x54fd75._0x197a68,_0x54fd75._0x53742e)&&_0x8e395d[_0x13529d(0x2b1,0x101)]()?_0x8e395d['trim']():null;}function extractRequestIdFromMessage(_0x4c469b){const _0x94aac6={_0x4b35a2:0x5c0},_0x3ca635={_0x38af92:0x42c};function _0x4f4985(_0x35343b,_0x573f84){return _0x5ae336(_0x573f84-_0x3ca635._0x38af92,_0x35343b);}const _0x5b55b2=_0x4c469b[_0x4f4985(0x421,_0x94aac6._0x4b35a2)](/requestId[:\s]*([a-f0-9-]+)/i);return _0x5b55b2?.[0x1]??null;}import{randomUUID as _0x376665}from'crypto';import{setTimeout as _0x3019df}from'timers/promises';import _0x6af040 from'ws';var HEARTBEAT_INTERVAL_MS=0x2710,HEARTBEAT_TIMEOUT_MS=0x88b8,GATEWAY_RETRY_DELAY_MS=0x4b0,GATEWAY_IDLE_DISCONNECT_DELAY_MS=0x7530,RECONNECT_BASE_DELAY_MS=0x3e8,RECONNECT_MAX_DELAY_MS=0x3a98,MAX_PENDING_GATEWAY_MESSAGES=0x100,MAX_DEVICE_DETAILS=0x20,MAX_PENDING_PAIR_REQUESTS=0x10,BridgeRuntime=class{[_0xfff276(0x3a0,0x403)];[_0xfff276(0x41c,0x48f)+'ket']=null;['gatewayS'+'ocket']=null;['relayCon'+_0xfff276(0x379,0x1a2)]=![];[_0xfff276(0x4f4,0x4e7)+_0xfff276(0x2af,0x267)+'g']=![];[_0xfff276(0x463,0x50d)]=!![];[_0x5ae336(0x3af,0x548)+_0x5ae336(0x15d,0x45)]=0x0;[_0x5ae336(0x202,0x33)+_0xfff276(0x406,0x473)+'yMs']=0x0;['reconnec'+'tTimer']=null;[_0xfff276(0x2c2,0x1df)+'etryTime'+'r']=null;[_0xfff276(0x24c,0x2b0)+'dleClose'+_0x5ae336(0x189,0x135)]=null;[_0xfff276(0x1b0,0x5e)+_0xfff276(0x51a,0x693)]=null;[_0xfff276(0x45f,0x410)+'atewayMe'+_0x5ae336(0x2fc,0x40c)]=[];['gatewayH'+_0x5ae336(0xd1,0xbe)+'Started']=![];[_0xfff276(0x4c0,0x302)+_0x5ae336(0x3a3,0x1d4)+_0xfff276(0x356,0x2b9)]=null;[_0xfff276(0x4f4,0x625)+'onnected'+_0x5ae336(0x346,0x394)]=null;[_0xfff276(0x428,0x5bd)];constructor(_0x3045d6){const _0x353b8f={_0xff68ac:0x7d6,_0x3d422b:0x6f9,_0x290018:0x682,_0x5c74f2:0x3f},_0x141e8d={_0x23eb90:0x436};function _0x2ffa90(_0x32dc31,_0x11fc30){return _0xfff276(_0x32dc31-_0x141e8d._0x23eb90,_0x11fc30);}function _0x467a2e(_0xd2b604,_0xe0be44){return _0xfff276(_0xe0be44- -0x204,_0xd2b604);}this[_0x2ffa90(_0x353b8f._0xff68ac,_0x353b8f._0x3d422b)]=_0x3045d6,this['snapshot']={'running':![],'relayConnected':![],'gatewayConnected':![],'gatewayId':_0x3045d6[_0x467a2e(0xe2,-0x3f)][_0x2ffa90(_0x353b8f._0x290018,0x7a3)+'d'],'instanceId':_0x3045d6[_0x467a2e(-0x164,-_0x353b8f._0x5c74f2)][_0x467a2e(0x48d,0x32a)+'Id'],'relayUrl':_0x3045d6[_0x467a2e(0x11f,-_0x353b8f._0x5c74f2)][_0x2ffa90(0x685,0x784)],'gatewayUrl':_0x3045d6['gatewayU'+'rl'],'clientCount':0x0,'connectedDevices':[],'pendingPairRequests':[],'lastError':null,'lastUpdatedMs':Date['now']()};}[_0xfff276(0x53e,0x5fc)](){const _0x2e1df3={_0x3e7654:0x177,_0x5a3223:0x19e,_0x325ca1:0x831,_0x268541:0x82d,_0x2c7409:0x206,_0x268297:0x256,_0x3ececa:0x6fc,_0x49e761:0x68e,_0x1a8490:0x813,_0x43711d:0x9c,_0x25fcd1:0xd6,_0x32d2af:0x7bb},_0x32e177={_0x4c677:0x43c},_0x335932={_0x57837f:0x2ec};if(!this[_0x21ce7d(_0x2e1df3._0x3e7654,_0x2e1df3._0x5a3223)])return;this['stopped']=![];function _0x21ce7d(_0x36b3bd,_0x31a5ab){return _0xfff276(_0x36b3bd- -_0x335932._0x57837f,_0x31a5ab);}this['updateSn'+'apshot']({'running':!![],'gatewayUrl':this[_0x3226bf(0x7dc,_0x2e1df3._0x325ca1)][_0x21ce7d(-0x9c,-0x1c3)+'rl']}),this[_0x3226bf(_0x2e1df3._0x268541,0x994)](_0x21ce7d(_0x2e1df3._0x2c7409,_0x2e1df3._0x268297)+_0x21ce7d(-0xb7,-0x7)+'\x20gateway'+_0x3226bf(_0x2e1df3._0x3ececa,_0x2e1df3._0x49e761)+this['options']['config']['gatewayI'+'d']+('\x20gateway'+'Url=')+this[_0x3226bf(0x7dc,_0x2e1df3._0x1a8490)][_0x21ce7d(-_0x2e1df3._0x43711d,_0x2e1df3._0x25fcd1)+'rl']);function _0x3226bf(_0xaac067,_0x3c22a2){return _0xfff276(_0xaac067-_0x32e177._0x4c677,_0x3c22a2);}void this[_0x21ce7d(0x215,0x1cc)+_0x3226bf(_0x2e1df3._0x32d2af,0x95a)]();}async[_0xfff276(0x527,0x41b)](){const _0x4f1ebd={_0x3ad1f2:0x5e9,_0x44058b:0x415,_0x55a0f2:0x4ad,_0x5f0e10:0x474,_0x2f7085:0x298,_0x230648:0x507,_0x1e2f91:0x46b,_0x23b2f0:0x76b,_0x6d8ae:0x52c,_0x5d701d:0x427,_0x6f1b73:0x370,_0x525da8:0x3c3,_0x3149b2:0x549,_0x487661:0x875,_0x23971f:0x4b3,_0x3e767d:0x13c,_0x4e0a47:0x730,_0x4d42b5:0x638,_0x4745aa:0x719,_0x3d49ee:0x2f6,_0x3de095:0x633,_0x5b5759:0x63b,_0x47b307:0x5c3,_0x4dd346:0x534,_0x29170e:0x465,_0x85270e:0x6a5,_0x4b1beb:0x4f4,_0x27963f:0x4f1,_0x5a7304:0x56c,_0x40ca39:0x5bb},_0x438780={_0x2d8726:0xd1},_0x19d3df=(_0x3aa7f9(_0x4f1ebd._0x3ad1f2,0x443)+_0x40a854(_0x4f1ebd._0x44058b,_0x4f1ebd._0x55a0f2)+_0x3aa7f9(_0x4f1ebd._0x5f0e10,_0x4f1ebd._0x2f7085)+_0x3aa7f9(_0x4f1ebd._0x230648,0x6b6)+'|10|8')[_0x40a854(0x483,_0x4f1ebd._0x1e2f91)]('|');function _0x40a854(_0x1a9bf4,_0x5c2cf3){return _0xfff276(_0x1a9bf4-0x242,_0x5c2cf3);}let _0x223811=0x0;function _0x3aa7f9(_0x39242e,_0x4f53f7){return _0xfff276(_0x39242e-_0x438780._0x2d8726,_0x4f53f7);}while(!![]){switch(_0x19d3df[_0x223811++]){case'0':this[_0x3aa7f9(0x4ed,0x48f)+'ket']?.[_0x3aa7f9(0x29b,0x1c0)]();continue;case'1':this[_0x40a854(0x5b7,_0x4f1ebd._0x23b2f0)+'ocket']=null;continue;case'2':this[_0x3aa7f9(0x4ed,_0x4f1ebd._0x6d8ae)+_0x40a854(_0x4f1ebd._0x5d701d,0x35b)]=null;continue;case'3':this[_0x3aa7f9(0x446,0x305)+_0x40a854(0x5cd,0x5ea)]?.['close']();continue;case'4':this['gatewayH'+_0x40a854(0x43a,_0x4f1ebd._0x6f1b73)+'Started']=![];continue;case'5':this[_0x40a854(0x736,0x5a6)+_0x3aa7f9(_0x4f1ebd._0x525da8,0x595)+_0x3aa7f9(0x53e,_0x4f1ebd._0x3149b2)]=null;continue;case'6':this[_0x40a854(0x702,0x624)+_0x40a854(0x70c,_0x4f1ebd._0x487661)+_0x3aa7f9(0x427,0x52a)]=null;continue;case'7':this[_0x3aa7f9(_0x4f1ebd._0x23971f,0x41b)+_0x3aa7f9(0x2cc,_0x4f1ebd._0x3e767d)]();continue;case'8':await _0x3019df(0x19);continue;case'9':const _0x55b03d={};_0x55b03d['running']=![],_0x55b03d[_0x40a854(0x68f,0x67e)+'nected']=![],_0x55b03d[_0x40a854(0x736,0x87b)+_0x3aa7f9(0x3c3,0x3cb)]=![],_0x55b03d['clientCo'+_0x3aa7f9(0x5fc,_0x4f1ebd._0x4e0a47)]=0x0,_0x55b03d[_0x40a854(_0x4f1ebd._0x4d42b5,0x6d0)+'r']=null,this[_0x40a854(0x549,_0x4f1ebd._0x4745aa)+_0x3aa7f9(_0x4f1ebd._0x3d49ee,0x40d)](_0x55b03d);continue;case'10':this[_0x40a854(_0x4f1ebd._0x3de095,_0x4f1ebd._0x5b5759)](_0x3aa7f9(_0x4f1ebd._0x47b307,0x6b8)+_0x3aa7f9(_0x4f1ebd._0x4dd346,0x628));continue;case'11':if(this[_0x3aa7f9(0x534,_0x4f1ebd._0x29170e)])return;continue;case'12':this[_0x40a854(_0x4f1ebd._0x85270e,0x735)]=!![];continue;case'13':this[_0x40a854(0x6a1,0x4c1)+'atewayMe'+_0x3aa7f9(_0x4f1ebd._0x4b1beb,0x33d)]=[];continue;case'14':this[_0x3aa7f9(0x5c5,0x4ea)+_0x40a854(_0x4f1ebd._0x27963f,_0x4f1ebd._0x5a7304)+'g']=![];continue;case'15':this[_0x3aa7f9(0x51e,0x6c8)+_0x40a854(_0x4f1ebd._0x40ca39,0x6a5)]=![];continue;}break;}}async['approveP'+_0xfff276(0x248,0x3ee)+'st'](_0x3bd6ab){const _0x188986={_0x49ec83:0x289,_0x3b2e0e:0x313},_0x3587f9={_0x4b59d5:0x3},_0x261dcd={_0x5e4a04:0x5c},_0x117c3e={};_0x117c3e['requestI'+'d']=_0x3bd6ab;function _0x39d027(_0x2a0853,_0x3e0515){return _0x5ae336(_0x3e0515-_0x261dcd._0x5e4a04,_0x2a0853);}this[_0x178f46(_0x188986._0x49ec83,0x308)+_0x39d027(0x25a,0xd0)+'st']('device.p'+_0x39d027(0x2e7,0x16d)+_0x39d027(0x5b7,0x466),_0x117c3e);function _0x178f46(_0x482f8f,_0x409498){return _0x5ae336(_0x482f8f-_0x3587f9._0x4b59d5,_0x409498);}this[_0x39d027(0x3e3,0x443)+'RequestR'+_0x39d027(_0x188986._0x3b2e0e,0x1b3)](_0x3bd6ab,'approved');}async[_0x5ae336(0x12c,0x24e)+_0x5ae336(0x15b,0x268)+'t'](_0x55ba0d){const _0x43bab1={_0x4fb45a:0x13b,_0x253e4c:0x6e2,_0x377594:0x6e6,_0x659bdc:0x510,_0x378c01:0x841,_0x204cba:0xcf},_0x577ddb={_0x590585:0x460},_0x17759c={};_0x17759c[_0x37e699(-_0x43bab1._0x4fb45a,0x20)+'d']=_0x55ba0d;function _0x37e699(_0x20997c,_0x3291bb){return _0x5ae336(_0x3291bb- -0x1ec,_0x20997c);}function _0x29059c(_0x33ebfd,_0xb9b268){return _0x5ae336(_0xb9b268-_0x577ddb._0x590585,_0x33ebfd);}this[_0x29059c(_0x43bab1._0x253e4c,_0x43bab1._0x377594)+'wayReque'+'st'](_0x37e699(-0x240,-0x116)+_0x29059c(_0x43bab1._0x659bdc,0x5a2)+'ct',_0x17759c),this[_0x29059c(0x946,0x847)+_0x29059c(0x6ab,_0x43bab1._0x378c01)+_0x37e699(-_0x43bab1._0x204cba,-0x95)](_0x55ba0d,'rejected');}['getSnaps'+_0xfff276(0x2e9,0x383)](){const _0xd83a10={_0x5f52b2:0x122,_0x18a85c:0x157,_0x272dee:0x2fb,_0x42f4f7:0x2e0,_0x36c6ed:0xa5,_0x37b258:0x11a,_0x103fd0:0x60b,_0x2b3132:0x1d5,_0x513985:0x436,_0x484c86:0x118,_0x3cf72f:0x555},_0x465361={_0x31b21d:0x313},_0x38b75c={_0x33a367:0x9},_0x507872={...this[_0x53b72b(0x450,0x2f8)]};function _0x53b72b(_0x1760ca,_0x25890a){return _0x5ae336(_0x25890a- -_0x38b75c._0x33a367,_0x1760ca);}_0x507872[_0x53b72b(0x2bd,_0xd83a10._0x5f52b2)+'dDevices']=[...this[_0x53b72b(0x3dc,0x2f8)][_0x53b72b(_0xd83a10._0x18a85c,0x122)+_0x53b72b(_0xd83a10._0x272dee,_0xd83a10._0x42f4f7)]],_0x507872[_0x53b72b(_0xd83a10._0x36c6ed,_0xd83a10._0x37b258)+_0x53b72b(0x17,0x118)+_0x5d537e(0x555,_0xd83a10._0x103fd0)]=[...this[_0x53b72b(_0xd83a10._0x2b3132,0x2f8)][_0x5d537e(_0xd83a10._0x513985,0x566)+_0x53b72b(0x250,_0xd83a10._0x484c86)+_0x5d537e(_0xd83a10._0x3cf72f,0x62a)]];function _0x5d537e(_0x11f843,_0xe7ee6c){return _0x5ae336(_0x11f843-_0x465361._0x31b21d,_0xe7ee6c);}return _0x507872;}async[_0x5ae336(0x3da,0x4ba)+_0xfff276(0x37f,0x1de)](){const _0xb28300={_0x11745a:0x223,_0x492dc0:0x2d2,_0x448fb0:0xd7,_0x2c07d:0x127,_0x29fead:0x4d2,_0x4e8fa2:0x39d,_0x1205d5:0x29d,_0x498f80:0x3b5,_0x3cefde:0x36c,_0x24fa41:0x356,_0x594b0e:0x294,_0x507ce0:0xbc,_0x1ccab7:0x1ca,_0x25e495:0x1f7,_0x501820:0xee,_0x39bc34:0x1ea,_0x1f9b3d:0x2d2,_0x4894c4:0xc0,_0x13d6cc:0xac,_0x1039b0:0x1b7,_0x9ed28c:0x36f,_0x14f773:0xbe,_0x4d02e0:0x1be,_0x590041:0x2ed,_0x278ea3:0xb1,_0x1cd59a:0x284,_0x5dfe54:0x3b8},_0x255401={_0x104e58:0x3dd,_0x2bce8f:0x2fc,_0x7a0146:0x5fd,_0x22ed11:0x524,_0x400534:0x37b,_0x39bcee:0x1c3,_0x551960:0x8e2,_0x32bea2:0x95f,_0x48dd71:0x35b,_0x3e018e:0x2d0,_0x1d40ff:0x3d4,_0x3195cd:0x157,_0x264525:0xc0,_0x5dd483:0x1e7,_0x536e53:0x592,_0x3d0245:0x41d,_0x20d2cf:0x2dd,_0x1ebd1a:0x361,_0x3a5ad1:0x27f,_0x802111:0x684,_0x417259:0x19f,_0x2ddbf4:0x26f,_0x267fc2:0x88,_0x3b2e30:0x1c0,_0x1fce0a:0x290,_0xaedbd5:0x882,_0x391255:0x712,_0x39c210:0x215,_0x3ee7a2:0x288,_0xb03d14:0x2a5},_0x5b1181={_0x3d9d0c:0xfd,_0x442ee6:0x1f1,_0x2b24fc:0x189,_0x393a97:0x49},_0x49cb84={_0x426041:0xfd},_0x1cef68={_0x5479d5:0x87},_0x587413={_0x4d29a9:0x11e},_0x1f5a53={_0x19bec3:0x56d,_0x249f21:0x29f,_0x4ae465:0x483,_0x4d11eb:0x3cb,_0x49d247:0x433,_0x4f29a2:0x331,_0x20f7a4:0x63d,_0x54bdcf:0x7f0,_0x37c48e:0x500,_0xc9a414:0x5c8,_0x7284ca:0x744,_0x200d90:0x794,_0x1c4e60:0x6ab,_0x2e889a:0x6a0,_0x2e4aa4:0x365,_0x517683:0x523},_0x41dcc5={};_0x41dcc5[_0x42b286(0x165,0x30)]=function(_0x3d5af8,_0x2a8fed){return _0x3d5af8===_0x2a8fed;},_0x41dcc5[_0x42b286(0x359,_0xb28300._0x11745a)]=function(_0x3d82ac,_0x4dce97){return _0x3d82ac*_0x4dce97;},_0x41dcc5[_0x28a3c5(0x17b,_0xb28300._0x492dc0)]=_0x28a3c5(-0x44,_0xb28300._0x448fb0),_0x41dcc5[_0x42b286(0x56,_0xb28300._0x2c07d)]=_0x28a3c5(_0xb28300._0x29fead,_0xb28300._0x4e8fa2),_0x41dcc5[_0x28a3c5(_0xb28300._0x1205d5,_0xb28300._0x498f80)]='close';const _0x142849=_0x41dcc5;if(this[_0x28a3c5(0x480,_0xb28300._0x3cefde)]||this[_0x28a3c5(0x3a6,0x356)+'necting']||this['isRelayO'+'pen']())return;this[_0x28a3c5(0x4fd,_0xb28300._0x24fa41)+_0x42b286(_0xb28300._0x594b0e,_0xb28300._0x507ce0)]=!![],this['relayAtt'+'empt']+=0x1;const _0x1ad1fd=this['relayAtt'+_0x42b286(0xd2,-0x39)],_0x24b3d1=buildRelayWsUrl(this['options']['config']);this['log']('relay\x20co'+_0x28a3c5(_0xb28300._0x1ccab7,0x375)+'tempt='+_0x1ad1fd+_0x42b286(0x115,0x18e)+redactRelayWsUrl(_0x24b3d1));const _0x5589fe=new _0x6af040(_0x24b3d1,{'maxPayload':_0x142849[_0x42b286(0x2bf,_0xb28300._0x11745a)](0x19*0x400,0x400)});this['relaySoc'+_0x28a3c5(_0xb28300._0x25e495,_0xb28300._0x501820)]=_0x5589fe,_0x5589fe['once'](_0x142849[_0x28a3c5(_0xb28300._0x39bc34,_0xb28300._0x1f9b3d)],()=>{if(this[_0x4e8345(0x63c,0x56d)]||this['relaySoc'+'ket']!==_0x5589fe){_0x5589fe[_0x44d37f(_0x1f5a53._0x19bec3,0x67c)]();return;}this['relayCon'+_0x4e8345(_0x1f5a53._0x249f21,_0x1f5a53._0x4ae465)]=![];function _0x44d37f(_0x58c72b,_0x23a622){return _0x42b286(_0x23a622,_0x58c72b-0x660);}this[_0x4e8345(_0x1f5a53._0x4d11eb,_0x1f5a53._0x49d247)+_0x4e8345(_0x1f5a53._0x4f29a2,0x510)+_0x4e8345(0x7ad,_0x1f5a53._0x20f7a4)]=Date['now']();const _0x250dfe={};_0x250dfe[_0x44d37f(_0x1f5a53._0x54bdcf,0x748)+'nected']=!![],_0x250dfe[_0x4e8345(0x4c7,_0x1f5a53._0x37c48e)+'r']=null;function _0x4e8345(_0x34c0ca,_0x44a5c9){return _0x42b286(_0x34c0ca,_0x44a5c9-0x3c7);}this[_0x4e8345(0x290,0x411)+_0x44d37f(_0x1f5a53._0xc9a414,_0x1f5a53._0x7284ca)](_0x250dfe),this[_0x44d37f(_0x1f5a53._0x200d90,0x771)](_0x44d37f(_0x1f5a53._0x1c4e60,0x661)+_0x44d37f(_0x1f5a53._0x2e889a,0x87f)+_0x4e8345(_0x1f5a53._0x2e4aa4,_0x1f5a53._0x517683)+_0x1ad1fd),this['startHea'+_0x4e8345(0x3fb,0x2e1)]();}),_0x5589fe['on'](_0x28a3c5(-_0xb28300._0x4894c4,_0xb28300._0x13d6cc),(_0x1cbb5a,_0x4e0a95)=>{function _0x5c2ae1(_0x297b5f,_0xa7c9a4){return _0x28a3c5(_0x297b5f,_0xa7c9a4-_0x587413._0x4d29a9);}void this[_0x5c2ae1(0x26c,0x215)+'layMessa'+'ge'](_0x1cbb5a,_0x4e0a95);}),_0x5589fe['on'](_0x28a3c5(_0xb28300._0x1039b0,_0xb28300._0x9ed28c),()=>{function _0x521186(_0xfd1666,_0x3590c2){return _0x28a3c5(_0xfd1666,_0x3590c2-0x22c);}function _0x334fb4(_0x3eea60,_0x12b48a){return _0x28a3c5(_0x3eea60,_0x12b48a- -0xe5);}this[_0x334fb4(_0x1cef68._0x5479d5,0x14d)+_0x521186(0x35e,0x53b)+_0x334fb4(0x352,0x357)]=Date['now']();}),_0x5589fe[_0x42b286(0x191,_0xb28300._0x14f773)](_0x142849[_0x28a3c5(_0xb28300._0x4d02e0,_0xb28300._0x590041)],_0x900039=>{function _0x3b2c22(_0x4fae23,_0x5efe58){return _0x28a3c5(_0x4fae23,_0x5efe58-_0x49cb84._0x426041);}function _0x28e15d(_0x5edcf8,_0x4693ed){return _0x28a3c5(_0x4693ed,_0x5edcf8- -0x1fd);}this[_0x28e15d(_0x5b1181._0x3d9d0c,_0x5b1181._0x442ee6)](_0x28e15d(0x86,0x80)+_0x28e15d(_0x5b1181._0x2b24fc,_0x5b1181._0x393a97)+String(_0x900039));});function _0x42b286(_0xaf9565,_0x53aee3){return _0xfff276(_0x53aee3- -0x2bd,_0xaf9565);}function _0x28a3c5(_0x4b2d7d,_0x5cade1){return _0xfff276(_0x5cade1- -0xf7,_0x4b2d7d);}_0x5589fe[_0x28a3c5(_0xb28300._0x278ea3,_0xb28300._0x1cd59a)](_0x142849[_0x28a3c5(_0xb28300._0x5dfe54,0x3b5)],(_0x57efb3,_0x5071fb)=>{const _0xc111b0={_0x370ba2:0x19d};this[_0x16a581(_0x255401._0x104e58,_0x255401._0x2bce8f)+'ket']===_0x5589fe&&(this[_0x16a581(0x405,0x2fc)+_0x3730a4(_0x255401._0x7a0146,_0x255401._0x22ed11)]=null);this[_0x3730a4(0x865,0x782)+'necting']=![];function _0x3730a4(_0x3b2bf3,_0x140411){return _0x42b286(_0x140411,_0x3b2bf3-0x6d5);}this[_0x16a581(_0x255401._0x400534,0x223)+_0x16a581(0x171,_0x255401._0x39bcee)](),this['clientDe'+_0x3730a4(_0x255401._0x551960,_0x255401._0x32bea2)+_0x16a581(_0x255401._0x48dd71,0x236)]=null;function _0x16a581(_0x36f2fc,_0x321b3a){return _0x42b286(_0x36f2fc,_0x321b3a-_0xc111b0._0x370ba2);}this[_0x16a581(_0x255401._0x3e018e,_0x255401._0x1d40ff)+_0x16a581(_0x255401._0x3195cd,0x1d2)+'AtMs']=null,this[_0x16a581(_0x255401._0x264525,_0x255401._0x5dd483)+_0x16a581(-0xc9,0x105)]({'relayConnected':![],'gatewayConnected':![],'clientCount':0x0,'lastError':_0x142849[_0x3730a4(0x705,_0x255401._0x536e53)](_0x57efb3,0x3e8)?null:_0x16a581(_0x255401._0x3d0245,_0x255401._0x20d2cf)+_0x16a581(_0x255401._0x1ebd1a,_0x255401._0x3a5ad1)+(_0x5071fb[_0x16a581(0x185,0x34a)]()||_0x57efb3)}),this[_0x3730a4(0x809,_0x255401._0x802111)](_0x16a581(-0x22,_0x255401._0x417259)+_0x16a581(_0x255401._0x2ddbf4,_0x255401._0x267fc2)+_0x16a581(_0x255401._0x3b2e30,_0x255401._0x1fce0a)+_0x57efb3+'\x20reason='+(_0x5071fb[_0x3730a4(_0x255401._0xaedbd5,_0x255401._0x391255)]()||_0x16a581(0x380,_0x255401._0x39c210))),this[_0x16a581(_0x255401._0x3ee7a2,0x2e4)+'eway'](),this[_0x3730a4(0x60b,0x584)+_0x16a581(0x1a6,0x2a1)+_0x16a581(0x29c,_0x255401._0xb03d14)]();});}async['handleRe'+_0xfff276(0x383,0x33a)+'ge'](_0x2fe388,_0x4c6c74){const _0x6f303d={_0x372cf3:0x58b,_0x106a09:0x65b,_0x23f3a6:0x72a,_0x440542:0x6b9,_0x5dc6a6:0x490,_0x31a5ce:0x1cd,_0x371273:0x513,_0x9fb075:0x9b,_0x5af777:0x11,_0x258665:0x6d5,_0x57da08:0x5bd,_0x5aad84:0x717,_0x469558:0x69e,_0x37a565:0x2a9,_0x4fa9f7:0x1dc,_0x502986:0x3f9},_0x30947b={_0x2d9e85:0x10c};this['lastRela'+'yActivit'+_0x2da700(0x731,0x725)]=Date[_0x2da700(_0x6f303d._0x372cf3,_0x6f303d._0x106a09)]();function _0x2da700(_0x32202a,_0x12ab7b){return _0xfff276(_0x32202a-0x1fe,_0x12ab7b);}if(_0x4c6c74){this[_0x2da700(0x5b3,0x6c9)+_0x2da700(_0x6f303d._0x23f3a6,_0x6f303d._0x440542)+_0x2da700(_0x6f303d._0x5dc6a6,0x2fc)+_0x2da700(0x4ca,0x2e4)]({'kind':'binary','data':normalizeBinary(_0x2fe388)});return;}const _0x1d49eb=normalizeText(_0x2fe388);if(_0x1d49eb==null)return;function _0x37da00(_0x5c2c03,_0x33eb08){return _0xfff276(_0x5c2c03- -_0x30947b._0x2d9e85,_0x33eb08);}const _0xc83689=parseControl(_0x1d49eb);if(_0xc83689){this['handleRe'+_0x37da00(_0x6f303d._0x31a5ce,0x127)+'ol'](_0xc83689['event'],_0xc83689['count']);return;}const _0x187cd3=parseConnectStartIdentity(_0x1d49eb);_0x187cd3&&this[_0x2da700(0x6a8,_0x6f303d._0x371273)+_0x37da00(_0x6f303d._0x9fb075,-_0x6f303d._0x5af777)+_0x2da700(_0x6f303d._0x258665,0x782)](_0x187cd3['id'],_0x187cd3[_0x2da700(_0x6f303d._0x57da08,_0x6f303d._0x5aad84)]);const _0x10f08f={};_0x10f08f[_0x2da700(_0x6f303d._0x469558,0x4fa)]=_0x37da00(0x1cf,0x2e3),_0x10f08f['text']=_0x1d49eb,this[_0x37da00(_0x6f303d._0x37a565,_0x6f303d._0x4fa9f7)+_0x2da700(_0x6f303d._0x23f3a6,0x53f)+_0x2da700(0x490,_0x6f303d._0x502986)+_0x2da700(0x4ca,0x44f)](_0x10f08f);}[_0x5ae336(0xc7,0x1c7)+'layContr'+'ol'](_0x4589fb,_0x4efaf7){const _0xb8ff87={_0x2b5df5:0x6ac,_0x1a136c:0x728,_0x3acd37:0x6ce,_0x4a4f7e:0x81d,_0x3b4cbe:0x736,_0x3f3bc4:0x553,_0x4a55d2:0x203,_0x4ae468:0x76,_0x36952b:0x41f,_0x3e695b:0x58b,_0x386b92:0x344,_0x1d9ef3:0x62f,_0x204557:0x148,_0x4b776c:0x727,_0x22ba99:0x7c4,_0x1e0e45:0x284,_0x39325c:0x25f,_0x505ce7:0x521,_0xf4db78:0xa8,_0x4114b3:0x247,_0x15b253:0x514,_0x5e9227:0x549,_0x560a73:0x1c9,_0x18c2e8:0x759,_0x51f8c6:0x326,_0x1230f3:0x4cd,_0x49f184:0x69c,_0x530519:0x626,_0x5e6527:0x7c4,_0x2cebd7:0x163,_0x508f13:0x4be,_0x7a54eb:0x53f,_0xd82198:0x55f,_0x3facbf:0x4d7,_0x6d4e80:0x4cb,_0x144612:0x712,_0x335b46:0x68a,_0xf19017:0x44a,_0x1fbc6c:0x325,_0x293cb5:0x19a,_0x38662f:0x952,_0x13f580:0x7c6,_0x2e6322:0x113,_0x26cce2:0xed,_0x46b288:0x21d,_0x36ac88:0x6b9,_0x5106ee:0x19e,_0x14022c:0x6d,_0x34d213:0x58e,_0xf44178:0x1ad,_0x3c4f43:0x336,_0x4b1d63:0x446,_0x658155:0x5b1,_0x252fd1:0x313,_0x5a2016:0x5a6,_0xd8013b:0x6d0,_0x3e37f5:0x54,_0x15298e:0x1a1,_0x2e5fef:0x3ad,_0x3f72f7:0x6a7,_0x1165bf:0x64f,_0x17d1bc:0x859,_0x301327:0x532,_0x306a4e:0x5a1,_0x2040e5:0x684,_0x505f58:0x414,_0x25b546:0x4ca,_0xa3a649:0x2d6,_0x4f052a:0x274,_0x267cbb:0x394,_0x337e99:0x807,_0x297084:0xc3,_0x486353:0x6f8,_0x22b8b6:0x6bc,_0x5c07eb:0x32f,_0x56b2b1:0x4bc,_0x82e068:0x15a,_0x1e9fa5:0x163,_0x3e6b2f:0x14,_0x5277f2:0xd7,_0x1b51ed:0x130,_0x37284f:0x141,_0x3ab25b:0x4,_0x293f3d:0xa1,_0x38831c:0x159,_0x1c3c99:0xf7,_0x94a4f2:0x456,_0x56bc4c:0x1bf,_0x2c54cf:0x586,_0x3dbb0e:0x759,_0x53e78a:0x5ef,_0x2fd8ac:0x3,_0x3cee4b:0x1f8,_0x175546:0x5a,_0x199ea5:0x217,_0x4294a4:0x706,_0x4c4219:0x4de,_0x145bad:0x684},_0xbf9bcd={'njxME':function(_0xb48d5a,_0xa07ee9){return _0xb48d5a===_0xa07ee9;},'jIpZp':function(_0xe543db,_0x27780b){return _0xe543db===_0x27780b;},'uJhGq':_0x549cb2(0x9a,0xa4)+_0x5e2596(0x551,0x424),'yUHwz':function(_0x34c8cb,_0x5e8e8e){return _0x34c8cb(_0x5e8e8e);},'lHXom':function(_0xa5d266,_0x3d06da){return _0xa5d266===_0x3d06da;},'tclse':_0x5e2596(_0xb8ff87._0x2b5df5,_0xb8ff87._0x1a136c)+'emand_re'+_0x5e2596(0x632,_0xb8ff87._0x3acd37),'XjfXF':function(_0x23017e,_0x1554dd,_0x5e9841,_0x4c52db,_0x46f83b){return _0x23017e(_0x1554dd,_0x5e9841,_0x4c52db,_0x46f83b);},'GEfdi':_0x5e2596(_0xb8ff87._0x4a4f7e,_0xb8ff87._0x1a136c)+_0x5e2596(_0xb8ff87._0x3b4cbe,_0xb8ff87._0x3f3bc4)+_0x5e2596(0x45f,0x4de)};if(_0xbf9bcd[_0x549cb2(_0xb8ff87._0x4a55d2,_0xb8ff87._0x4ae468)](_0x4589fb,_0x5e2596(_0xb8ff87._0x36952b,0x4d7)+_0x5e2596(0x541,_0xb8ff87._0x3e695b))||_0xbf9bcd[_0x549cb2(0x2c7,_0xb8ff87._0x386b92)](_0x4589fb,_0xbf9bcd[_0x5e2596(0x4c7,_0xb8ff87._0x1d9ef3)])){const _0x2c6968=this[_0x549cb2(0x284,_0xb8ff87._0x204557)]['clientCo'+_0x5e2596(_0xb8ff87._0x4b776c,_0xb8ff87._0x22ba99)],_0x5177c0=_0x4efaf7??Math['max'](0x1,this[_0x549cb2(_0xb8ff87._0x1e0e45,0x23d)]['clientCo'+_0x549cb2(0x387,_0xb8ff87._0x39325c)]),_0x13a1c3=_0xbf9bcd[_0x5e2596(0x567,_0xb8ff87._0x505ce7)](Boolean,this[_0x549cb2(_0xb8ff87._0xf4db78,_0xb8ff87._0x4114b3)+_0x5e2596(0x36b,_0xb8ff87._0x15b253)+_0x5e2596(0x423,_0xb8ff87._0x5e9227)]);_0x5177c0>0x0&&this[_0x5e2596(0x6e2,0x759)+_0x549cb2(0x326,_0xb8ff87._0x560a73)+_0x549cb2(0x1b2,0x2d3)]==null&&(this[_0x5e2596(0x652,_0xb8ff87._0x18c2e8)+_0x549cb2(_0xb8ff87._0x51f8c6,_0xb8ff87._0x1230f3)+'tedAtMs']=Date[_0x5e2596(_0xb8ff87._0x49f184,_0xb8ff87._0x530519)]());const _0x1597c7={};_0x1597c7['clientCo'+_0x5e2596(0x7c3,_0xb8ff87._0x5e6527)]=_0x5177c0,this[_0x549cb2(_0xb8ff87._0x2cebd7,0x2f1)+_0x5e2596(0x4fc,_0xb8ff87._0x508f13)](_0x1597c7);if(_0xbf9bcd[_0x5e2596(0x653,_0xb8ff87._0x7a54eb)](_0x5177c0,0x0))this[_0x549cb2(-0x2c,-0xbb)+_0x5e2596(_0xb8ff87._0xd82198,0x429)+'t'](),this[_0x5e2596(0x3bb,0x48c)+_0x549cb2(0x219,0x3f7)+_0x549cb2(0xd7,0x149)](_0x5e2596(0x312,_0xb8ff87._0x3facbf)+_0x549cb2(0x28a,0x3e6)+'o');else{this[_0x5e2596(0x3db,_0xb8ff87._0x6d4e80)+'tewayIdl'+'eClose'](_0xbf9bcd[_0x549cb2(0x1de,0x1ca)]);_0xbf9bcd['XjfXF'](shouldRecycleGatewayForFreshClient,_0x2c6968,_0x5177c0,this[_0x5e2596(0x7a3,_0xb8ff87._0x144612)+_0x5e2596(0x496,0x52a)](),_0x13a1c3)&&(this[_0x5e2596(0x58d,_0xb8ff87._0x335b46)](_0x5e2596(0x5f3,_0xb8ff87._0xf19017)+_0x5e2596(_0xb8ff87._0x1fbc6c,0x439)+_0x549cb2(_0xb8ff87._0x293cb5,0x2bb)+_0x5e2596(_0xb8ff87._0x38662f,0x7b5)+_0x5e2596(0x7e2,_0xb8ff87._0x13f580)+'nt\x20deman'+'d'),this['closeGat'+_0x549cb2(0x13,_0xb8ff87._0x2e6322)]());if(this[_0x5e2596(0x88c,0x712)+_0x549cb2(_0xb8ff87._0x26cce2,_0xb8ff87._0x46b288)]()){const _0x3a292b={};_0x3a292b[_0x549cb2(0x350,0x479)+_0x5e2596(_0xb8ff87._0x36ac88,0x58b)]=!![],_0x3a292b[_0x549cb2(0x252,_0xb8ff87._0x5106ee)+'r']=null,this[_0x549cb2(0x163,-_0xb8ff87._0x14022c)+'apshot'](_0x3a292b),this['log'](_0x5e2596(_0xb8ff87._0x34d213,0x44a)+_0x549cb2(0x8,-_0xb8ff87._0xf44178)+_0x5e2596(0x713,0x60a)+'GatewayO'+'penMs='+this[_0x5e2596(_0xb8ff87._0x3c4f43,_0xb8ff87._0x4b1d63)+_0x5e2596(_0xb8ff87._0x658155,0x654)](this['gatewayC'+'onnected'+_0x5e2596(0x821,0x706)])+(_0x549cb2(0x237,_0xb8ff87._0x252fd1)+_0x5e2596(_0xb8ff87._0x5a2016,_0xb8ff87._0xd8013b)+'d=')+this['gatewayH'+_0x549cb2(_0xb8ff87._0x3e37f5,0x165)+_0x549cb2(_0xb8ff87._0x15298e,0x2a9)]);}this[_0x5e2596(_0xb8ff87._0x2e5fef,0x4b9)+_0x5e2596(_0xb8ff87._0x3f72f7,_0xb8ff87._0x1165bf)+_0x5e2596(_0xb8ff87._0x17d1bc,0x6cd)]();}this[_0x5e2596(0x59e,0x68a)](_0x5e2596(_0xb8ff87._0x301327,_0xb8ff87._0x306a4e)+_0x5e2596(0x785,_0xb8ff87._0x2040e5)+'ent='+_0x4589fb+_0x5e2596(_0xb8ff87._0x505f58,_0xb8ff87._0x25b546)+_0x5177c0+(_0x549cb2(_0xb8ff87._0xa3a649,0x169)+_0x549cb2(_0xb8ff87._0x4f052a,0xaa)+_0x549cb2(0x38c,_0xb8ff87._0x267cbb))+this[_0x5e2596(0x354,_0xb8ff87._0x4b1d63)+_0x5e2596(_0xb8ff87._0x337e99,0x654)](this[_0x549cb2(0x31c,0x287)+'mandStar'+'tedAtMs'])+_0x549cb2(0x23a,_0xb8ff87._0x297084)+this[_0x5e2596(0x78e,_0xb8ff87._0x486353)+'atewayMe'+_0x5e2596(0x875,_0xb8ff87._0x22b8b6)][_0x549cb2(-0x24,0x11b)]);return;}if(_0x4589fb===_0xbf9bcd[_0x549cb2(_0xb8ff87._0x5c07eb,0x3f1)]){this['gatewayH'+_0x5e2596(_0xb8ff87._0x56b2b1,0x491)+_0x5e2596(0x45c,0x5de)]=![];const _0xd49e93={};_0xd49e93[_0x549cb2(_0xb8ff87._0x82e068,0x258)+_0x5e2596(0x887,_0xb8ff87._0x22ba99)]=0x0,this[_0x549cb2(_0xb8ff87._0x1e9fa5,0x281)+'apshot'](_0xd49e93),this[_0x549cb2(-0x2c,0x7d)+_0x549cb2(-_0xb8ff87._0x3e6b2f,-0x1fc)+'t'](),this[_0x549cb2(0x4f,0x2d)+_0x5e2596(0x559,0x656)+_0x549cb2(_0xb8ff87._0x5277f2,_0xb8ff87._0x1b51ed)](_0x549cb2(0x2eb,_0xb8ff87._0x37284f)+_0x549cb2(0x116,-_0xb8ff87._0x3ab25b)+_0x549cb2(_0xb8ff87._0x293f3d,0x40)),this['log']('relay\x20co'+'ntrol\x20ev'+_0x5e2596(0x48f,0x63b)+_0x549cb2(0x175,0x2e2)+_0x549cb2(_0xb8ff87._0x38831c,-0x62)+'sinceCli'+_0x549cb2(_0xb8ff87._0x1c3c99,0x28b)+_0x549cb2(0x2b1,_0xb8ff87._0x94a4f2)+this[_0x549cb2(0x9,-_0xb8ff87._0x56bc4c)+'ince'](this[_0x5e2596(_0xb8ff87._0x2c54cf,_0xb8ff87._0x3dbb0e)+'mandStar'+_0x5e2596(0x669,_0xb8ff87._0x53e78a)])+(_0x549cb2(0xb,-_0xb8ff87._0x2fd8ac)+_0x549cb2(_0xb8ff87._0x3cee4b,0xf3)+'nMs=')+this[_0x549cb2(0x9,-_0xb8ff87._0x175546)+_0x549cb2(_0xb8ff87._0x199ea5,0xeb)](this['gatewayC'+'onnected'+_0x5e2596(0x5b3,_0xb8ff87._0x4294a4)]));return;}function _0x549cb2(_0xfe7c3a,_0x313156){return _0x5ae336(_0xfe7c3a- -0x7d,_0x313156);}function _0x5e2596(_0x36895d,_0x2e69d4){return _0x5ae336(_0x2e69d4-0x3c0,_0x36895d);}this['log'](_0x549cb2(0x164,0x25a)+_0x5e2596(_0xb8ff87._0x4c4219,_0xb8ff87._0x145bad)+_0x5e2596(0x6f4,0x6dd)+_0x4589fb);}[_0x5ae336(0x28e,0x34f)+_0xfff276(0x52c,0x622)+_0xfff276(0x292,0x367)+'sage'](_0xe370bc){const _0x3d7978={_0x5b5a58:0x15,_0x5a8684:0xc2,_0x32a97f:0x607,_0x41c9ea:0x459,_0x428d1f:0x258,_0x4257a1:0x1d2,_0x3a7060:0x156,_0x520232:0x227,_0x3d1561:0x387,_0x5cd38a:0x5f,_0x2c4eae:0x568,_0x3e8698:0x6d9,_0xc5339:0x756,_0x34e3c1:0x170,_0x4aebdb:0x85,_0x25f238:0x68f,_0x1d26e1:0x1e3,_0x36621d:0xc6,_0x19342d:0x144,_0x2f08bf:0x2f1,_0x4f3287:0xe9,_0x1fc936:0x5f6,_0x4a7414:0x8d,_0x1449ed:0x5fd,_0x54cdab:0x7e1,_0xed334d:0x2e,_0x2b51b8:0x34,_0x322ad8:0x622,_0x4d5275:0x352,_0x3c4a66:0x21,_0xc2b7bf:0x6c1,_0x4c4493:0x1fb,_0x263e30:0xf8,_0x56ae22:0x6a7,_0x380e87:0x57d,_0x4214c0:0x467,_0x4e4d69:0x10f,_0x11210f:0x145,_0x4c77cb:0x195,_0x25ab01:0x3e,_0x2c40eb:0x1c1,_0x422518:0x2b,_0x143174:0x248},_0xb9d6e5={_0x59ca2c:0x2b6},_0x255eb0={'TiYwM':function(_0x1282b6,_0x3b9fc4){return _0x1282b6===_0x3b9fc4;},'onncV':_0x23cf4b(-_0x3d7978._0x5b5a58,_0x3d7978._0x5a8684),'VPcUp':function(_0x33aacf,_0x150186){return _0x33aacf(_0x150186);}},_0x1831b2=_0x255eb0[_0x85c1ae(_0x3d7978._0x32a97f,0x4d2)](_0xe370bc[_0x85c1ae(0x756,0x858)],_0x23cf4b(-0x15,-0x2b))&&isConnectHandshakeRequest(_0xe370bc[_0x23cf4b(-0x15,-0x9b)]);if(_0xe370bc['kind']===_0x255eb0['onncV']){const _0x27c68e=_0x255eb0[_0x85c1ae(0x58a,_0x3d7978._0x41c9ea)](summarizeJsonFrame,_0xe370bc[_0x23cf4b(-0x15,-0x67)]);_0x27c68e&&this[_0x85c1ae(0x6a7,0x6cc)]('relay\x20fr'+_0x23cf4b(_0x3d7978._0x428d1f,_0x3d7978._0x4257a1)+_0x27c68e+(_0x23cf4b(0xeb,0x15f)+_0x23cf4b(-0x89,-0x75))+_0x1831b2+(_0x23cf4b(-_0x3d7978._0x3a7060,-0x2a0)+_0x23cf4b(_0x3d7978._0x520232,_0x3d7978._0x3d1561))+this[_0x85c1ae(0x72f,0x696)+_0x23cf4b(-_0x3d7978._0x5cd38a,0x6)]()+_0x23cf4b(0xee,0x8c)+this['pendingG'+_0x85c1ae(_0x3d7978._0x2c4eae,0x4c6)+_0x85c1ae(_0x3d7978._0x3e8698,_0x3d7978._0xc5339)][_0x23cf4b(-_0x3d7978._0x34e3c1,-0x201)]);}const _0x1148e5=this[_0x23cf4b(_0x3d7978._0x4aebdb,0x5f)+_0x23cf4b(0x9b,0x226)];function _0x85c1ae(_0x5a48b7,_0x5e2920){return _0xfff276(_0x5a48b7-_0xb9d6e5._0x59ca2c,_0x5e2920);}if(!_0x1148e5||_0x1148e5['readySta'+'te']!==_0x6af040[_0x85c1ae(_0x3d7978._0x25f238,0x837)]){this[_0x23cf4b(-0xd0,-_0x3d7978._0x1d26e1)+_0x23cf4b(_0x3d7978._0x36621d,0x117)+_0x23cf4b(_0x3d7978._0x19342d,_0x3d7978._0x2f08bf)]();if(shouldDropStaleConnectAfterGatewayReopen(Boolean(_0x1148e5&&_0x1148e5['readySta'+'te']===_0x6af040[_0x23cf4b(_0x3d7978._0x4f3287,0x28e)]),_0x1831b2)){this[_0x85c1ae(0x6a7,_0x3d7978._0x1fc936)](_0x23cf4b(-0xbd,-0xb0)+_0x23cf4b(0x65,-_0x3d7978._0x4a7414)+'opped\x20af'+'ter\x20gate'+_0x85c1ae(_0x3d7978._0x1449ed,_0x3d7978._0x54cdab)+'en;\x20awai'+_0x23cf4b(_0x3d7978._0xed334d,0x1ba)+_0x23cf4b(-_0x3d7978._0x2b51b8,0x1e)+'enge');return;}this[_0x23cf4b(0x32,0x62)+_0x23cf4b(-0xdc,-0x66)+_0x85c1ae(0x6a9,_0x3d7978._0x322ad8)+'e'](_0xe370bc);return;}function _0x23cf4b(_0x21803b,_0x2aa3b2){return _0xfff276(_0x21803b- -0x2f0,_0x2aa3b2);}if(!this[_0x85c1ae(0x4bb,_0x3d7978._0x4d5275)+_0x23cf4b(-0xf8,-_0x3d7978._0x3c4a66)+_0x23cf4b(0x55,-0x177)]){if(!_0x1831b2){this[_0x85c1ae(0x5d8,_0x3d7978._0xc2b7bf)+'ingGatew'+_0x23cf4b(0x103,_0x3d7978._0x4c4493)+'e'](_0xe370bc);return;}this['gatewayH'+_0x23cf4b(-_0x3d7978._0x263e30,-0x1e0)+'Started']=!![],this[_0x85c1ae(_0x3d7978._0x56ae22,_0x3d7978._0x380e87)](_0x85c1ae(_0x3d7978._0x4214c0,0x55a)+_0x23cf4b(_0x3d7978._0x4e4d69,_0x3d7978._0x11210f)+'e\x20starte'+_0x85c1ae(0x4b4,0x40a)+'='+this[_0x23cf4b(0x16f,_0x3d7978._0x4c77cb)+_0x23cf4b(-_0x3d7978._0x25ab01,-_0x3d7978._0x2c40eb)+_0x85c1ae(0x6d9,0x873)][_0x23cf4b(-0x170,_0x3d7978._0x422518)]);}this['sendToGa'+_0x23cf4b(-0x137,-_0x3d7978._0x143174)](_0xe370bc);}[_0x5ae336(0xf9,0xd4)+_0xfff276(0x3b6,0x3a7)+_0xfff276(0x434,0x38e)](){const _0x56c5b3={_0x195d9a:0x5b8,_0x2d49d8:0x56c,_0x1d1bf6:0x1cd,_0x33975a:0x67d,_0x4626be:0x249,_0x178c5d:0x161,_0x32da89:0x166,_0x374e92:0x72,_0x5ceda4:0x8dc,_0x50c228:0x259,_0x21b82c:0x21d,_0x41ad6a:0x8dd,_0x2af4bd:0x18,_0x451b3b:0xb4,_0x16f772:0x12a,_0x464e28:0x600,_0x2fddf6:0x778,_0x3f158f:0x639,_0x5eb267:0x5d8,_0x1730cd:0x459,_0x319e6a:0x439},_0x293a0b={_0x55e196:0x486,_0x12f904:0x390,_0x10f126:0x470,_0x5ba352:0x52f,_0x1b76c1:0x143,_0x4d13d8:0x5fc,_0x57ab4f:0x414,_0x4060df:0x687,_0x1173ea:0x415,_0x44dd64:0x320,_0x1a6aae:0x390,_0x199d60:0x523,_0x45b5a2:0x5e4,_0x1231d3:0x4f1,_0x34bfdc:0x4b8,_0x4f6114:0x3c8,_0x1ad7ca:0x4ec,_0x382f53:0x2ac,_0x7a8ec:0x3f7,_0x3ebd5a:0x55b,_0xbd7782:0x5bb,_0xc6c404:0x5ba,_0x1666b4:0x718,_0x35b2ea:0x703,_0x3b5838:0x59a,_0x201092:0x513,_0x2856f7:0x519,_0x51e216:0x47c,_0x31ff62:0x5ff,_0x18fa15:0x4c0,_0x544f1c:0x599,_0xd871a5:0x2c2,_0x586614:0x467},_0x2972c1={_0x488d32:0x1bc},_0x5b6c7d={_0x31051b:0x178},_0x23c03d={_0x1f9c57:0xb2},_0x24f0ad={_0x9ef6ac:0x4b6,_0x499362:0x56f,_0x594dd1:0xc1,_0x1334a8:0x1ed},_0x79e546={_0x1e273c:0x24a},_0x1e0f54={_0x4304da:0x8c,_0x20c373:0x191,_0x1e6b36:0x317,_0x33bd93:0x1a4,_0x43fa80:0x283,_0x46b929:0x3a2,_0x56c966:0x158,_0x23b5d9:0x104,_0x51b241:0x2a1,_0x5ba93b:0x224,_0x473e4f:0x252,_0x2c512c:0x66,_0x30bdc9:0xc8,_0x3ffa98:0x1fc,_0x1001d7:0x58,_0x58b33d:0x4d,_0x5c1086:0x271,_0xf9b8bd:0xc7,_0x560a36:0x6b,_0x484516:0x17c,_0x1e615d:0x3c7,_0x3061bd:0x257,_0x5a6a67:0x187,_0x1a075c:0x82,_0x531f68:0x134,_0x5b4b0b:0x28,_0x3d66cd:0x3e,_0x1aea1d:0x1e1},_0x33acf6={};_0x33acf6[_0x25024d(_0x56c5b3._0x195d9a,_0x56c5b3._0x2d49d8)]=function(_0x52f908,_0x59f6ee){return _0x52f908!==_0x59f6ee;},_0x33acf6[_0x25024d(0x578,0x549)]=_0x54225c(_0x56c5b3._0x1d1bf6,0x4e);const _0xd6744a=_0x33acf6;if(this[_0x25024d(0x84c,_0x56c5b3._0x33975a)]||!this[_0x54225c(0x67,_0x56c5b3._0x4626be)+'pen']()||this[_0x25024d(0x8dd,0x71e)+'onnectin'+'g']||this[_0x54225c(0x1b2,_0x56c5b3._0x178c5d)+_0x54225c(-0x36,0x9d)]()||!this[_0x54225c(_0x56c5b3._0x32da89,-_0x56c5b3._0x374e92)+_0x25024d(0x8f8,_0x56c5b3._0x5ceda4)]())return;this[_0x54225c(-0x95,-_0x56c5b3._0x50c228)+'tewayIdl'+_0x25024d(0x8f9,0x81c)](_0x25024d(0x7cf,0x9be)+'reconnec'+_0x54225c(_0x56c5b3._0x21b82c,0x298)+_0x54225c(-0x82,0xb7)),this[_0x25024d(_0x56c5b3._0x41ad6a,0x8a1)+_0x54225c(-_0x56c5b3._0x2af4bd,-_0x56c5b3._0x451b3b)+'g']=!![],this[_0x54225c(_0x56c5b3._0x16f772,0x110)]('gateway\x20'+'connect\x20'+_0x25024d(0x860,0x674)+'l='+this[_0x25024d(0x789,_0x56c5b3._0x464e28)][_0x25024d(0x639,0x81e)+'rl']);function _0x54225c(_0x3b4d2e,_0x583644){return _0x5ae336(_0x3b4d2e- -0x1a0,_0x583644);}function _0x25024d(_0x52922e,_0x20db22){return _0x5ae336(_0x52922e-0x510,_0x20db22);}const _0x570069={};_0x570069[_0x25024d(_0x56c5b3._0x2fddf6,0x6ff)+'ad']=0x19*0x400*0x400;const _0x20f196=new _0x6af040(this[_0x25024d(0x789,0x8c9)][_0x25024d(_0x56c5b3._0x3f158f,_0x56c5b3._0x5eb267)+'rl'],_0x570069);this['gatewayS'+'ocket']=_0x20f196,_0x20f196[_0x54225c(0xb4,-0x74)](_0x25024d(0x5b7,_0x56c5b3._0x1730cd),()=>{const _0x75652f=('3|1|6|0|'+_0x5aff15(-_0x1e0f54._0x4304da,-_0x1e0f54._0x20c373))['split']('|');function _0x2a7e20(_0x26869c,_0x1114a1){return _0x54225c(_0x1114a1-0x163,_0x26869c);}let _0x239d4c=0x0;function _0x5aff15(_0x559dff,_0x6a33aa){return _0x54225c(_0x559dff- -0x62,_0x6a33aa);}while(!![]){switch(_0x75652f[_0x239d4c++]){case'0':this[_0x5aff15(0x1cb,_0x1e0f54._0x1e6b36)+_0x5aff15(-0x37,0x181)+'AtMs']=Date[_0x2a7e20(_0x1e0f54._0x33bd93,0x229)]();continue;case'1':this['gatewayC'+_0x5aff15(-0x7a,0xe)+'g']=![];continue;case'2':const _0x2dd8be={};_0x2dd8be[_0x2a7e20(_0x1e0f54._0x43fa80,0x390)+_0x2a7e20(0x119,0x18e)]=!![],_0x2dd8be[_0x2a7e20(_0x1e0f54._0x46b929,0x292)+'r']=null,this[_0x2a7e20(_0x1e0f54._0x56c966,0x1a3)+_0x5aff15(-_0x1e0f54._0x23b5d9,-0x25e)](_0x2dd8be);continue;case'3':if(this['stopped']||_0xd6744a[_0x2a7e20(0x252,0x6b)](this[_0x2a7e20(_0x1e0f54._0x51b241,0x211)+_0x5aff15(0x62,_0x1e0f54._0x5ba93b)],_0x20f196)){_0x20f196[_0x2a7e20(_0x1e0f54._0x473e4f,_0x1e0f54._0x2c512c)]();return;}continue;case'4':this[_0x5aff15(_0x1e0f54._0x30bdc9,_0x1e0f54._0x3ffa98)](_0x2a7e20(_0x1e0f54._0x1001d7,_0x1e0f54._0x58b33d)+_0x5aff15(-0xd7,0xac)+_0x5aff15(0xab,0x1c8)+_0x5aff15(0xe5,_0x1e0f54._0x5c1086)+_0x5aff15(-_0x1e0f54._0xf9b8bd,-_0x1e0f54._0x560a36)+this[_0x5aff15(-_0x1e0f54._0x484516,-0xe3)+_0x2a7e20(_0x1e0f54._0x1e615d,_0x1e0f54._0x3061bd)](this[_0x2a7e20(0x220,0x35c)+'mandStar'+'tedAtMs']));continue;case'5':this[_0x2a7e20(_0x1e0f54._0x5a6a67,0x34)+_0x5aff15(_0x1e0f54._0x1a075c,-_0x1e0f54._0x531f68)+_0x2a7e20(0x1ec,0x1f6)+'ges']();continue;case'6':this[_0x5aff15(-0x124,-0xba)+_0x5aff15(-0x131,-_0x1e0f54._0x5b4b0b)+_0x2a7e20(_0x1e0f54._0x3d66cd,_0x1e0f54._0x1aea1d)]=![];continue;}break;}}),_0x20f196['on']('message',(_0x1c29f6,_0x5d98c2)=>{const _0x11d33b={_0x1b5897:0x73c};function _0x17d586(_0x73a1e4,_0x1a8751){return _0x25024d(_0x73a1e4- -_0x79e546._0x1e273c,_0x1a8751);}function _0x28d7c6(_0x740709,_0x51d7a1){return _0x25024d(_0x740709- -_0x11d33b._0x1b5897,_0x51d7a1);}this[_0x17d586(_0x24f0ad._0x9ef6ac,_0x24f0ad._0x499362)+_0x28d7c6(-_0x24f0ad._0x594dd1,0xa9)+_0x28d7c6(-0x87,-_0x24f0ad._0x1334a8)](_0x1c29f6,_0x5d98c2);}),_0x20f196[_0x25024d(0x764,0x82e)](_0xd6744a['SVLhW'],_0x38e50e=>{function _0x218ca5(_0x1dfd0f,_0x3746db){return _0x54225c(_0x1dfd0f- -_0x23c03d._0x1f9c57,_0x3746db);}function _0x14b7f4(_0x3d6619,_0x2cfc29){return _0x54225c(_0x3d6619-_0x5b6c7d._0x31051b,_0x2cfc29);}this['log'](_0x14b7f4(0x62,_0x2972c1._0x488d32)+_0x14b7f4(0x38b,0x3b2)+String(_0x38e50e));}),_0x20f196['once'](_0x25024d(0x5b3,_0x56c5b3._0x319e6a),(_0x22b652,_0x2fa6d7)=>{const _0x53fa7a={_0x478762:0x31a};this[_0x5b7931(0x470,0x31e)+_0x5b7931(_0x293a0b._0x55e196,_0x293a0b._0x12f904)]===_0x20f196&&(this[_0x5b7931(_0x293a0b._0x10f126,0x47b)+'ocket']=null);this['gatewayC'+_0x430dcf(_0x293a0b._0x5ba352,0x37e)+'g']=![];function _0x5b7931(_0xe36a92,_0x256758){return _0x25024d(_0xe36a92- -0x2ee,_0x256758);}this['gatewayH'+_0x5b7931(0x2f3,_0x293a0b._0x1b76c1)+_0x430dcf(_0x293a0b._0x4d13d8,_0x293a0b._0x57ab4f)]=![];function _0x430dcf(_0x442a7d,_0xfdd8ae){return _0x25024d(_0xfdd8ae- -_0x53fa7a._0x478762,_0x442a7d);}this[_0x430dcf(_0x293a0b._0x4060df,0x5c3)+_0x430dcf(_0x293a0b._0x1173ea,0x3c1)+'AtMs']=null,this[_0x430dcf(0x33b,0x3d6)+_0x5b7931(_0x293a0b._0x44dd64,_0x293a0b._0x1a6aae)]({'gatewayConnected':![],'lastError':_0x22b652===0x3e8?this[_0x5b7931(_0x293a0b._0x199d60,_0x293a0b._0x45b5a2)][_0x5b7931(_0x293a0b._0x1231d3,0x694)+'r']:_0x5b7931(0x2ac,0x428)+_0x430dcf(_0x293a0b._0x34bfdc,_0x293a0b._0x4f6114)+(_0x2fa6d7['toString']()||_0x22b652)}),this[_0x5b7931(_0x293a0b._0x1ad7ca,0x32f)](_0x5b7931(_0x293a0b._0x382f53,_0x293a0b._0x7a8ec)+_0x430dcf(_0x293a0b._0x3ebd5a,_0x293a0b._0xbd7782)+_0x5b7931(_0x293a0b._0xc6c404,_0x293a0b._0x1666b4)+'e='+_0x22b652+'\x20reason='+(_0x2fa6d7[_0x430dcf(_0x293a0b._0x35b2ea,0x539)]()||'<none>')+(_0x5b7931(0x575,_0x293a0b._0x3b5838)+_0x5b7931(_0x293a0b._0x201092,_0x293a0b._0x2856f7)+_0x430dcf(_0x293a0b._0x51e216,_0x293a0b._0x31ff62))+this[_0x5b7931(0x2a8,0x2b4)+_0x430dcf(0x5fb,0x48a)](this['clientDe'+_0x430dcf(_0x293a0b._0x18fa15,_0x293a0b._0x544f1c)+_0x430dcf(0x3db,0x425)])),this[_0x430dcf(0x158,_0x293a0b._0xd871a5)+_0x5b7931(0x61b,_0x293a0b._0x586614)+'econnect']();});}[_0xfff276(0x317,0x4cc)+'tewayMes'+_0x5ae336(0x1a5,0xbb)](_0x725cf4,_0x5f3c3d){const _0xc2554d={_0x4a2b79:0x6b3,_0x2ad019:0x6f2,_0x4b3aed:0x6fb,_0x31a448:0x70a,_0x190e20:0x8be,_0x2cb6b0:0x649,_0x4a69a8:0x611,_0x4d2a7d:0x731,_0x2a6f65:0x4e4,_0x2928fe:0x6cf,_0x2c8e2e:0x45a,_0x2e17a5:0x72c,_0x240a01:0x758,_0x22dfa5:0x784,_0x5a26d9:0x60d,_0x2e6905:0x85d,_0x4edad1:0x77c,_0x2f849c:0x795,_0x1523d7:0x769,_0x18d67e:0x52c,_0x24e861:0x432,_0x16d551:0x7be,_0x17dc1c:0x754},_0x417b48={_0x23ebfe:0x498},_0x506e5c={_0x1f749e:0x3de},_0x383ca9={'bVMjW':function(_0x492c09,_0x2b5553){return _0x492c09(_0x2b5553);},'RVWDg':function(_0x2b1f61,_0x9b208b){return _0x2b1f61(_0x9b208b);},'kgzaZ':function(_0x480ef4,_0x18feb6){return _0x480ef4(_0x18feb6);}},_0x47831a=this[_0x3f4c19(0x78d,_0xc2554d._0x4a2b79)+'ket'];if(!_0x47831a||_0x47831a[_0x3f4c19(0x6c4,0x719)+'te']!==_0x6af040[_0x1ce116(_0xc2554d._0x2ad019,0x690)])return;if(_0x5f3c3d){_0x47831a[_0x1ce116(_0xc2554d._0x4b3aed,0x743)](normalizeBinary(_0x725cf4));return;}const _0x4f8e5a=normalizeText(_0x725cf4);if(_0x4f8e5a==null)return;const _0x1e4d95=_0x383ca9[_0x1ce116(_0xc2554d._0x31a448,0x7d5)](summarizeJsonFrame,_0x4f8e5a);_0x1e4d95&&this[_0x3f4c19(0x762,_0xc2554d._0x190e20)](_0x3f4c19(0x522,_0xc2554d._0x2cb6b0)+_0x1ce116(_0xc2554d._0x4a69a8,0x433)+_0x1e4d95+(_0x1ce116(0x6d8,_0xc2554d._0x4d2a7d)+_0x1ce116(_0xc2554d._0x2a6f65,_0xc2554d._0x2928fe)+_0x1ce116(0x91e,0x7e7))+this[_0x3f4c19(0x51e,_0xc2554d._0x2c8e2e)+_0x3f4c19(_0xc2554d._0x2e17a5,_0xc2554d._0x240a01)](this[_0x1ce116(_0xc2554d._0x22dfa5,0x777)+_0x1ce116(0x84e,0x781)+_0x1ce116(0x7a4,_0xc2554d._0x5a26d9)])+('\x20sinceGa'+_0x3f4c19(0x70d,_0xc2554d._0x2e6905)+_0x3f4c19(_0xc2554d._0x4edad1,0x71f))+this['elapsedS'+_0x1ce116(_0xc2554d._0x2f849c,0x672)](this['gatewayC'+_0x1ce116(0x5d4,0x5a9)+_0x1ce116(_0xc2554d._0x1523d7,0x724)]));const _0xc80f2d=_0x383ca9[_0x1ce116(_0xc2554d._0x18d67e,0x5df)](parsePairingRequestFromError,_0x4f8e5a);function _0x1ce116(_0x2718cb,_0xffa8f){return _0x5ae336(_0xffa8f-_0x506e5c._0x1f749e,_0x2718cb);}_0xc80f2d&&this['addPendi'+'ngPairRe'+_0x1ce116(0x462,_0xc2554d._0x24e861)](_0xc80f2d);const _0x53695e=_0x383ca9[_0x3f4c19(0x526,_0xc2554d._0x2cb6b0)](parsePairResolvedEvent,_0x4f8e5a);function _0x3f4c19(_0x43c99c,_0xd92ab5){return _0x5ae336(_0x43c99c-_0x417b48._0x23ebfe,_0xd92ab5);}_0x53695e&&this['markPair'+_0x1ce116(_0xc2554d._0x16d551,0x7bf)+_0x1ce116(0x70c,0x535)](_0x53695e['requestI'+'d'],_0x53695e[_0x1ce116(_0xc2554d._0x17dc1c,0x5e1)]),_0x47831a['send'](_0x4f8e5a);}[_0x5ae336(0x71,-0x7d)+_0xfff276(0x3ab,0x201)+_0x5ae336(0x233,0x21d)+_0xfff276(0x239,0x3e6)](){const _0x2f7d82={_0x357a6b:0x17c,_0x376d17:0x295,_0x19c9c8:0x15a,_0x4c7b62:0xb9,_0x55ebc9:0xb8,_0x1d762d:0x22a,_0x5b2963:0x22a,_0x4b13b4:0x134,_0x4d0550:0x344,_0x2728e7:0xc8,_0x56dee4:0x5e,_0x5d973a:0x60,_0x2b4d78:0x8e,_0x350737:0xb7,_0x335d8e:0xa,_0x55b876:0x22d,_0x4a3920:0x291,_0x36e2b9:0xcc,_0x593b54:0x24c,_0x56f60f:0x138,_0x4e058b:0x29f,_0x5df51b:0x136,_0x57c446:0x16,_0x237988:0x56,_0x207b0c:0x53},_0x176db5={_0x567dd5:0xe8},_0x526de3={_0xdf965:0xd2},_0x4f186b={};_0x4f186b[_0x479489(0x2d0,0x153)]=function(_0x1bb05c,_0x24675d){return _0x1bb05c!==_0x24675d;};const _0x2187a3=_0x4f186b,_0x56b83e=this[_0x479489(_0x2f7d82._0x357a6b,-0x26)+_0x4181c2(_0x2f7d82._0x376d17,_0x2f7d82._0x357a6b)];if(!_0x56b83e||_0x56b83e[_0x479489(_0x2f7d82._0x19c9c8,0x1c6)+'te']!==_0x6af040['OPEN'])return;const _0x5fa441=[],_0x498257=[...this['pendingG'+_0x479489(_0x2f7d82._0x4c7b62,_0x2f7d82._0x55ebc9)+_0x479489(_0x2f7d82._0x1d762d,0x5b)]];function _0x479489(_0x1554ae,_0x4a6dc1){return _0x5ae336(_0x1554ae- -_0x526de3._0xdf965,_0x4a6dc1);}this['pendingG'+_0x4181c2(0x0,0xa3)+_0x479489(_0x2f7d82._0x5b2963,_0x2f7d82._0x4b13b4)]=[];function _0x4181c2(_0x448a73,_0x48be63){return _0x5ae336(_0x48be63- -_0x176db5._0x567dd5,_0x448a73);}this[_0x479489(0x1f8,_0x2f7d82._0x4d0550)](_0x4181c2(_0x2f7d82._0x2728e7,-_0x2f7d82._0x56dee4)+_0x479489(0x1c5,_0x2f7d82._0x5d973a)+'eued='+_0x498257[_0x4181c2(-_0x2f7d82._0x2b4d78,-0x8f)]);for(const _0x276402 of _0x498257){if(!this[_0x4181c2(_0x2f7d82._0x350737,-_0x2f7d82._0x335d8e)+'andshake'+'Started']){if(_0x2187a3[_0x4181c2(0x480,0x2ba)](_0x276402[_0x4181c2(_0x2f7d82._0x55b876,_0x2f7d82._0x4a3920)],'text')||!isConnectHandshakeRequest(_0x276402[_0x4181c2(-0x3,_0x2f7d82._0x36e2b9)])){_0x5fa441[_0x4181c2(_0x2f7d82._0x593b54,0x33c)](_0x276402);continue;}this[_0x4181c2(-_0x2f7d82._0x56f60f,-_0x2f7d82._0x335d8e)+'andshake'+_0x4181c2(_0x2f7d82._0x4e058b,_0x2f7d82._0x5df51b)]=!![];}this[_0x479489(_0x2f7d82._0x57c446,0xf4)+_0x4181c2(0x14d,-_0x2f7d82._0x237988)](_0x276402);}this['pendingG'+_0x479489(0xb9,0x100)+_0x479489(0x22a,_0x2f7d82._0x207b0c)]=_0x5fa441;}['sendToGa'+_0xfff276(0x1b9,0x1d1)](_0x163756){const _0x2ab121={_0xa3de3c:0x59,_0x5906b8:0x256,_0x5bc3ad:0xf5,_0x2ff465:0x39,_0x21dbb0:0x215,_0x59599e:0x41,_0x5f0d37:0x27d,_0xbc3dd4:0x170,_0x17a755:0x18d,_0x3f4d7f:0x213},_0x6f83f={_0x58bf7f:0x1bd},_0x1799e1={};_0x1799e1['citPM']=function(_0xb71805,_0x35021a){return _0xb71805===_0x35021a;};const _0x5cfeff=_0x1799e1,_0x2e59fb=this[_0x4f0b09(0x19,_0x2ab121._0xa3de3c)+_0x4f0b09(0x9b,0x6f)];function _0x51b683(_0x55e3d8,_0x2054d1){return _0x5ae336(_0x55e3d8- -_0x6f83f._0x58bf7f,_0x2054d1);}if(!_0x2e59fb||_0x2e59fb[_0x51b683(0x6f,_0x2ab121._0x5906b8)+'te']!==_0x6af040[_0x51b683(_0x2ab121._0x5bc3ad,-_0x2ab121._0x2ff465)]){this['pushPend'+_0x51b683(-0xd0,-0x1ec)+_0x51b683(0x10f,_0x2ab121._0x21dbb0)+'e'](_0x163756);return;}function _0x4f0b09(_0x2a0d35,_0x56e23a){return _0x5ae336(_0x56e23a- -0x1f5,_0x2a0d35);}if(_0x5cfeff['citPM'](_0x163756[_0x4f0b09(0x147,0x184)],_0x4f0b09(0x9e,-_0x2ab121._0x59599e))){_0x2e59fb[_0x4f0b09(_0x2ab121._0x5f0d37,_0x2ab121._0xbc3dd4)](_0x163756[_0x4f0b09(-_0x2ab121._0x17a755,-0x41)]);return;}_0x2e59fb[_0x51b683(0x1a8,_0x2ab121._0x3f4d7f)](_0x163756[_0x51b683(0x93,0x1ac)]);}[_0x5ae336(0x286,0xcc)+_0x5ae336(0x74,-0xbd)+'st'](_0x53996a,_0x55e10b){const _0x5515c3={_0x423bcd:0x84,_0x33eb2c:0x114,_0x485b0d:0x232,_0x102d7e:0x28f,_0x1e7b19:0x23a,_0x50914f:0xca,_0x51a8e8:0xa5,_0xb9d611:0x31b,_0x5a9e92:0x81},_0x2873bd={_0x19be4c:0x310},_0x264a20={};_0x264a20[_0x53f03a(_0x5515c3._0x423bcd,0x6b)]='req';function _0x53f03a(_0x1338b6,_0x2493d4){return _0xfff276(_0x1338b6- -_0x2873bd._0x19be4c,_0x2493d4);}function _0x2bb0d8(_0x652ab4,_0x256cd2){return _0xfff276(_0x256cd2- -0x211,_0x652ab4);}const _0x56a3ae=_0x264a20,_0xe7fd01=JSON['stringif'+'y']({'type':_0x56a3ae['gxuWd'],'id':_0x53f03a(-_0x5515c3._0x33eb2c,-0x283)+_0x376665(),'method':_0x53996a,'params':_0x55e10b}),_0x39c44c={};_0x39c44c[_0x2bb0d8(_0x5515c3._0x485b0d,_0x5515c3._0x102d7e)]=_0x2bb0d8(_0x5515c3._0x1e7b19,_0x5515c3._0x50914f),_0x39c44c[_0x53f03a(-0x35,-0x168)]=_0xe7fd01,this[_0x53f03a(_0x5515c3._0x51a8e8,0x9)+_0x2bb0d8(0x192,_0x5515c3._0xb9d611)+_0x2bb0d8(-0xf7,_0x5515c3._0x5a9e92)+'sage'](_0x39c44c);}['closeGat'+_0x5ae336(0x90,0x139)](){const _0x311145={_0x47de85:0x4a7,_0x3c5fde:0x802,_0x37510f:0x19b,_0x4162ed:0x498,_0x2e1c4d:0x73f,_0x297037:0x6e6,_0x17f235:0x647,_0x525983:0x776,_0x4566f3:0x75a,_0xfcf81c:0x515,_0x60931a:0x60d,_0x450547:0x5f1};function _0x144572(_0x1aa3ce,_0x4577b5){return _0x5ae336(_0x1aa3ce- -0x40,_0x4577b5);}const _0x3ae6e0=('1|5|3|2|'+_0x144572(0x294,0x356))[_0x26c49a(0x45c,_0x311145._0x47de85)]('|');let _0x276b28=0x0;function _0x26c49a(_0x1ae923,_0x44b910){return _0x5ae336(_0x44b910-0x38d,_0x1ae923);}while(!![]){switch(_0x3ae6e0[_0x276b28++]){case'0':this[_0x26c49a(_0x311145._0x3c5fde,0x75a)+'onnected'+_0x144572(0x306,_0x311145._0x37510f)]=null;continue;case'1':this[_0x26c49a(0x401,_0x311145._0x4162ed)+_0x26c49a(_0x311145._0x2e1c4d,_0x311145._0x297037)+_0x26c49a(_0x311145._0x17f235,_0x311145._0x525983)]();continue;case'2':this[_0x26c49a(0x5f5,_0x311145._0x4566f3)+_0x26c49a(0x4f6,_0x311145._0xfcf81c)+'g']=![];continue;case'3':this[_0x26c49a(0x64c,0x5db)+_0x26c49a(_0x311145._0x60931a,_0x311145._0x450547)]=null;continue;case'4':this['gatewayH'+_0x26c49a(0x489,0x45e)+'Started']=![];continue;case'5':this['gatewayS'+_0x26c49a(0x50a,0x5f1)]?.[_0x144572(0x63,-0x1)]();continue;}break;}}[_0x5ae336(0xcc,0x59)+_0xfff276(0x3bd,0x50e)+'dleClose'](_0x2371fe){const _0x221e1b={_0x17c56c:0x206,_0x55f2ee:0x376,_0x2c26a9:0x59b,_0x5dc9c7:0x552,_0x4c2622:0x27c,_0x493552:0x44f,_0x2a97fb:0x513,_0x98156a:0x556,_0x271af8:0x59b,_0x36a140:0x536,_0x366d76:0x34b,_0x2735c2:0x3bb,_0xdd7e89:0x219,_0x38b48c:0x557,_0x2a8486:0x52d,_0xb9f316:0x5a8,_0x3dae91:0x4a5,_0x3be58b:0x438,_0x57dd73:0x5cf,_0x3e6e03:0x467,_0x4b28bb:0x163,_0x53234c:0x298,_0x57faf7:0x642,_0x31be71:0x438,_0x5d2527:0x300,_0xf8d08e:0x2b5,_0x3f8f1e:0x3f3,_0x642988:0x31c,_0x518cc0:0x4bc,_0x5c0ce2:0x246,_0x173056:0x534,_0x3816a8:0x703,_0x8b02cc:0x4ce,_0x24da46:0x22c,_0x2308ed:0x300,_0x19b3bc:0x1d8,_0x4633b4:0x4d5,_0x1a68fe:0x442,_0x314f79:0x44b,_0x573818:0x263,_0x564c14:0x450,_0x4e6144:0x3a8,_0x9e9dfb:0x533,_0x6f39dc:0x35b,_0x223174:0x36e,_0x3b5a51:0x32f,_0x48b972:0x4f5,_0x6c2b64:0x5d6},_0x51a204={_0x4e0bb5:0x143,_0x497ac5:0x292,_0x301135:0x114,_0x53563a:0xbe,_0x16e571:0x19f,_0xff36e7:0x8f,_0x58ee0d:0x2ee,_0x4e8dab:0x124,_0x13c031:0x70,_0xa843:0x2c4,_0x2cf4a3:0xdd,_0x50ccb7:0x19c,_0x7ed435:0x252,_0x491e2a:0xe6,_0x439787:0x131,_0x5db121:0xa2,_0x5a4a4f:0x135,_0x4d2008:0x2a8,_0x1dee01:0x16d,_0x118cf4:0x14b,_0x2da7ef:0x31d,_0xd3a9ee:0x138},_0x5a6dc4={_0x1532be:0x2d5},_0x2629b5={_0x1b61c6:0x29f},_0x59d8fe={'QJKed':'gateway\x20'+'idle\x20clo'+_0x5313ff(0x2c7,0x2df)+_0x5313ff(0x4b6,0x5c9)+_0x5822a1(0x56b,0x571)+_0x5822a1(0x618,0x4f4)+_0x5822a1(0x583,0x5a4)+'d','XHqVt':function(_0x85747b,_0x158f30){return _0x85747b(_0x158f30);},'uSmif':function(_0x14e02b,_0x318cf3,_0x352ee7){return _0x14e02b(_0x318cf3,_0x352ee7);}};this[_0x5313ff(_0x221e1b._0x17c56c,_0x221e1b._0x55f2ee)+'etryTime'+'r']&&(_0x59d8fe[_0x5822a1(_0x221e1b._0x2c26a9,_0x221e1b._0x5dc9c7)](clearTimeout,this[_0x5822a1(0x372,0x43a)+_0x5313ff(0x250,_0x221e1b._0x4c2622)+'r']),this[_0x5313ff(_0x221e1b._0x493552,0x376)+'etryTime'+'r']=null);function _0x5313ff(_0x6994c0,_0x3444b2){return _0x5ae336(_0x3444b2-0x1db,_0x6994c0);}function _0x5822a1(_0x4dfbc9,_0x57e59e){return _0x5ae336(_0x57e59e-_0x2629b5._0x1b61c6,_0x4dfbc9);}this[_0x5313ff(0x6f2,_0x221e1b._0x2a97fb)+'atewayMe'+_0x5822a1(_0x221e1b._0x98156a,_0x221e1b._0x271af8)]=[];const _0x6aca31={};_0x6aca31['clientCo'+_0x5313ff(_0x221e1b._0x36a140,0x5df)]=0x0,this[_0x5313ff(_0x221e1b._0x366d76,_0x221e1b._0x2735c2)+_0x5822a1(_0x221e1b._0xdd7e89,0x39d)](_0x6aca31);if(!this[_0x5313ff(_0x221e1b._0x38b48c,_0x221e1b._0x2a8486)+_0x5313ff(0x3f6,0x345)]()&&!this[_0x5313ff(0x793,_0x221e1b._0xb9f316)+'onnectin'+'g']){this[_0x5313ff(0x463,_0x221e1b._0x3dae91)](_0x5313ff(_0x221e1b._0x3be58b,0x265)+'idle\x20wit'+_0x5822a1(0x339,0x51c)+_0x5313ff(_0x221e1b._0x57dd73,_0x221e1b._0x3e6e03)+_0x5313ff(_0x221e1b._0x4b28bb,_0x221e1b._0x53234c)+'n='+_0x2371fe),this['clientDe'+_0x5822a1(0x679,_0x221e1b._0x57faf7)+'tedAtMs']=null;return;}if(this[_0x5313ff(_0x221e1b._0x31be71,_0x221e1b._0x5d2527)+_0x5822a1(_0x221e1b._0xf8d08e,_0x221e1b._0x3f8f1e)+'Timer']){this['log'](_0x5822a1(0x49c,0x329)+'idle\x20clo'+_0x5313ff(0x4ce,_0x221e1b._0x642988)+_0x5822a1(0x5c5,_0x221e1b._0x518cc0)+_0x5313ff(0x2ed,_0x221e1b._0x5c0ce2)+_0x5822a1(0x414,_0x221e1b._0x173056)+_0x2371fe);return;}const _0x3d761d=this[_0x5822a1(_0x221e1b._0x3816a8,0x518)][_0x5822a1(_0x221e1b._0x8b02cc,0x3c4)+_0x5313ff(_0x221e1b._0x24da46,0x232)+'nnectDel'+_0x5313ff(0x71e,0x5f5)]??GATEWAY_IDLE_DISCONNECT_DELAY_MS;this[_0x5313ff(_0x221e1b._0x2308ed,0x4a5)](_0x5313ff(_0x221e1b._0x19b3bc,0x265)+'idle\x20clo'+_0x5313ff(0x622,0x568)+'uled\x20del'+_0x5822a1(0x681,_0x221e1b._0x4633b4)+_0x3d761d+_0x5313ff(_0x221e1b._0x1a68fe,0x54d)+_0x2371fe+(_0x5313ff(_0x221e1b._0x314f79,_0x221e1b._0x573818)+_0x5313ff(0x472,_0x221e1b._0x564c14)+'nMs=')+this[_0x5822a1(0x343,0x325)+_0x5822a1(_0x221e1b._0x4e6144,_0x221e1b._0x9e9dfb)](this['gatewayC'+_0x5313ff(_0x221e1b._0x6f39dc,0x3a6)+'AtMs'])),this[_0x5822a1(_0x221e1b._0x223174,0x3c4)+_0x5313ff(0x1e4,_0x221e1b._0x3b5a51)+_0x5822a1(_0x221e1b._0x48b972,0x428)]=_0x59d8fe[_0x5822a1(0x5b5,_0x221e1b._0x6c2b64)](setTimeout,()=>{this[_0x5b776e(-_0x51a204._0x4e0bb5,-_0x51a204._0x497ac5)+_0x5b776e(-_0x51a204._0x301135,-_0x51a204._0x53563a)+_0x2b752c(_0x51a204._0x16e571,_0x51a204._0xff36e7)]=null;if(this[_0x5b776e(0x9e,-0x32)+_0x2b752c(0x30c,_0x51a204._0x58ee0d)]()){this['log'](_0x59d8fe[_0x5b776e(-_0x51a204._0x4e8dab,-_0x51a204._0x13c031)]);return;}this['closeGat'+'eway']();const _0x37fca5={};function _0x2b752c(_0x4ca9fc,_0x55f292){return _0x5313ff(_0x4ca9fc,_0x55f292- -_0x5a6dc4._0x1532be);}_0x37fca5['gatewayC'+'onnected']=![];function _0x5b776e(_0x2b4422,_0x12a0a8){return _0x5313ff(_0x12a0a8,_0x2b4422- -0x443);}_0x37fca5[_0x2b752c(_0x51a204._0xa843,_0x51a204._0x2cf4a3)+_0x5b776e(_0x51a204._0x50ccb7,_0x51a204._0x7ed435)]=0x0,this[_0x2b752c(0x178,_0x51a204._0x491e2a)+'apshot'](_0x37fca5),this[_0x5b776e(_0x51a204._0x439787,-0x79)+_0x5b776e(0x13b,-_0x51a204._0x5db121)+_0x2b752c(-0x22,_0x51a204._0x5a4a4f)]=null,this[_0x2b752c(_0x51a204._0x4d2008,0x1d0)](_0x5b776e(-0x1de,-0x389)+_0x5b776e(0x72,-_0x51a204._0x1dee01)+_0x5b776e(-_0x51a204._0x118cf4,-_0x51a204._0x2da7ef)+_0x5b776e(-_0x51a204._0xd3a9ee,-0xe8)+_0x2b752c(-0x1f7,-0x66)+_0x2371fe);},_0x3d761d);}['cancelGa'+'tewayIdl'+'eClose'](_0x5e4b1a){const _0x8d7ca5={_0x2f08b6:0x6bb,_0x405136:0x72,_0x4a6add:0x3d,_0x4b705a:0xa7,_0x313450:0x280,_0x316c04:0x72,_0x3b94ed:0x1aa,_0x5e4c50:0x58f,_0x59e928:0x185,_0x5f1dea:0x2d0,_0x1e7205:0x150,_0x564897:0x220};if(!this['gatewayI'+_0x3b6a10(0x659,_0x8d7ca5._0x2f08b6)+'Timer'])return;clearTimeout(this[_0x1356c3(0x43,0x21)+_0x1356c3(_0x8d7ca5._0x405136,_0x8d7ca5._0x4a6add)+_0x1356c3(_0x8d7ca5._0x4b705a,_0x8d7ca5._0x313450)]);function _0x1356c3(_0x51a55f,_0x4ac774){return _0x5ae336(_0x51a55f- -0xe2,_0x4ac774);}this['gatewayI'+_0x1356c3(_0x8d7ca5._0x316c04,_0x8d7ca5._0x3b94ed)+_0x3b6a10(0x68e,0x851)]=null;function _0x3b6a10(_0x2ab853,_0x3fe79f){return _0x5ae336(_0x2ab853-0x505,_0x3fe79f);}_0x5e4b1a&&this[_0x3b6a10(0x7cf,0x73d)](_0x3b6a10(_0x8d7ca5._0x5e4c50,0x651)+'idle\x20clo'+_0x1356c3(_0x8d7ca5._0x59e928,_0x8d7ca5._0x5f1dea)+_0x1356c3(_0x8d7ca5._0x1e7205,_0x8d7ca5._0x564897)+'on='+_0x5e4b1a);}['schedule'+_0x5ae336(0x29a,0x2c6)+_0xfff276(0x3c5,0x2de)](){const _0x3bab51={_0x53007c:0x7b4,_0x46ce6e:0x529,_0x52d68e:0x5af,_0x4534d5:0x86b,_0x25f037:0x6f1,_0x4fe94c:0x601,_0x105f04:0x5af,_0x4d52c9:0x358,_0x21efb1:0x7cc,_0x41cd33:0x628,_0x244286:0x514,_0x117a78:0x4e8,_0x241d83:0x829,_0x1b41ee:0x67b,_0x1a3f8e:0x544,_0x5d71e0:0x5eb,_0x46db15:0x758,_0x327c48:0x4c8,_0x44ae93:0x52c},_0xc845eb={_0x364bd4:0x733,_0x3be2da:0x54e},_0x5981ee={_0x5534e6:0x478};function _0x4c57ea(_0x31e7d1,_0x348913){return _0x5ae336(_0x348913-0x139,_0x31e7d1);}if(this[_0x5f042d(0x995,_0x3bab51._0x53007c)]||this[_0x5f042d(_0x3bab51._0x46ce6e,_0x3bab51._0x52d68e)+_0x5f042d(0x7bb,_0x3bab51._0x4534d5)])return;const _0x4d0259=this[_0x5f042d(0x596,_0x3bab51._0x25f037)][_0x5f042d(_0x3bab51._0x4fe94c,_0x3bab51._0x105f04)+'tBaseDel'+'ayMs']??RECONNECT_BASE_DELAY_MS;function _0x5f042d(_0xb311e0,_0x50221d){return _0x5ae336(_0x50221d-_0x5981ee._0x5534e6,_0xb311e0);}const _0x4e61e6=this['options'][_0x4c57ea(0x148,0x270)+_0x4c57ea(_0x3bab51._0x4d52c9,0x396)+'yMs']??RECONNECT_MAX_DELAY_MS,_0x5c5620=Math[_0x5f042d(_0x3bab51._0x21efb1,_0x3bab51._0x41cd33)](_0x4e61e6,_0x4d0259*Math[_0x5f042d(0x5d4,_0x3bab51._0x244286)](0x1,this[_0x4c57ea(0x534,_0x3bab51._0x117a78)+_0x4c57ea(0x133,0x296)]));this['log'](_0x5f042d(0x906,_0x3bab51._0x241d83)+_0x4c57ea(0x1ae,0x258)+_0x5f042d(_0x3bab51._0x1b41ee,_0x3bab51._0x1a3f8e)+_0x5f042d(_0x3bab51._0x5d71e0,_0x3bab51._0x46db15)+'s='+_0x5c5620),this[_0x5f042d(_0x3bab51._0x327c48,0x5af)+_0x4c57ea(0x498,_0x3bab51._0x44ae93)]=setTimeout(()=>{function _0x3104a3(_0x234d9c,_0x4efea4){return _0x4c57ea(_0x4efea4,_0x234d9c-0x1bd);}this[_0x116dc5(0x40b,0x3ff)+_0x3104a3(0x6e9,_0xc845eb._0x364bd4)]=null;function _0x116dc5(_0x52d7d8,_0x497d94){return _0x4c57ea(_0x52d7d8,_0x497d94-0x18f);}void this[_0x116dc5(0x616,0x6a2)+_0x3104a3(_0xc845eb._0x3be2da,0x71f)]();},_0x5c5620);}['schedule'+_0x5ae336(0x3f9,0x428)+'econnect'](){const _0x1df722={_0x43dfac:0xe,_0x1a5755:0x17a,_0x5478f5:0xc5,_0x22a759:0x7f,_0x5f3ca8:0xef,_0x461077:0x14e,_0x464b52:0x35,_0x47e69e:0x2a6},_0x5954f0={_0x2a18eb:0x3cc,_0xfab0be:0x4c0},_0x1ac1cf={_0xd9833e:0x589},_0x3e1e={_0x154364:0x252},_0x408e0b={_0xb389b3:0x21},_0x48821d={_0x526810:0x166};function _0xdbf4ae(_0x1ca822,_0x1d3409){return _0x5ae336(_0x1d3409- -_0x48821d._0x526810,_0x1ca822);}if(this[_0xdbf4ae(-_0x1df722._0x43dfac,0x1d6)]||this[_0x4de3de(_0x1df722._0x1a5755,0xab)+_0xdbf4ae(-0x155,-_0x1df722._0x5478f5)+'r']||!this['isRelayO'+_0xdbf4ae(-_0x1df722._0x22a759,-_0x1df722._0x5f3ca8)]()||!this[_0xdbf4ae(_0x1df722._0x461077,0x1a0)+_0x4de3de(0x3c7,0x269)]())return;const _0x3e2cb5=this[_0x4de3de(0x258,0x12d)][_0xdbf4ae(-0xca,_0x1df722._0x464b52)+'etryDela'+_0xdbf4ae(0x439,_0x1df722._0x47e69e)]??GATEWAY_RETRY_DELAY_MS;function _0x4de3de(_0x1fbc3e,_0x4f6ec0){return _0x5ae336(_0x1fbc3e- -_0x408e0b._0xb389b3,_0x4f6ec0);}this[_0x4de3de(0x17a,0xe4)+_0xdbf4ae(-0x1d1,-_0x1df722._0x5478f5)+'r']=setTimeout(()=>{this[_0x1cb8aa(0x565,_0x5954f0._0x2a18eb)+_0x418328(0x465,0x609)+'r']=null;function _0x1cb8aa(_0x332f00,_0x5c0c65){return _0x4de3de(_0x5c0c65-_0x3e1e._0x154364,_0x332f00);}function _0x418328(_0x53c5bd,_0x4cbcdf){return _0x4de3de(_0x4cbcdf-_0x1ac1cf._0xd9833e,_0x53c5bd);}this['ensureGa'+_0x1cb8aa(0x5f2,_0x5954f0._0xfab0be)+_0x1cb8aa(0x42e,0x53e)]();},_0x3e2cb5);}[_0x5ae336(0x147,0x16)+_0x5ae336(0xb0,0x1a)](){const _0x2a6be1={_0x5f28be:0x232,_0xedade1:0x1a5,_0x389e4d:0x235,_0x5abd5e:0x360,_0x1d01af:0x597,_0x322127:0x406},_0x47c50d={_0x41852a:0x1ff,_0x36c64e:0x26b,_0x5bcc25:0x32e,_0x316ca7:0x187,_0x179ad2:0x2d,_0xcf7ed0:0xf3,_0x12f2b9:0x170,_0x5292cf:0x4e1,_0x4171e5:0x1d1,_0x5f202f:0x5cd,_0x21c761:0x3de,_0x45352f:0x48b,_0x17e90e:0x61b,_0x2c0484:0x21b,_0x140894:0x32f,_0x27227d:0x43a,_0x5c0105:0x2bc,_0x74fe11:0x273},_0x593fe9={_0x756c3f:0x1a4},_0x3f4642={};function _0x3176c4(_0x3d4ac8,_0x2958a5){return _0x5ae336(_0x2958a5-_0x593fe9._0x756c3f,_0x3d4ac8);}_0x3f4642[_0x1d63c2(_0x2a6be1._0x5f28be,0xc3)]=function(_0x282756,_0x41e6e5){return _0x282756!==_0x41e6e5;};const _0x5b7b1f=_0x3f4642;this[_0x1d63c2(_0x2a6be1._0xedade1,_0x2a6be1._0x389e4d)+_0x3176c4(0x53a,_0x2a6be1._0x5abd5e)]();function _0x1d63c2(_0x5220d5,_0x5d32c1){return _0x5ae336(_0x5d32c1-0x19,_0x5220d5);}this[_0x1d63c2(-0x65,0xa2)+_0x3176c4(0x6d9,_0x2a6be1._0x1d01af)]=setInterval(()=>{const _0x305dfa=this[_0x3f948e(0x2cf,_0x47c50d._0x41852a)+'ket'];if(!_0x305dfa||_0x5b7b1f[_0x593920(_0x47c50d._0x36c64e,_0x47c50d._0x5bcc25)](_0x305dfa['readySta'+'te'],_0x6af040['OPEN']))return;function _0x593920(_0x4cd44f,_0x14834b){return _0x3176c4(_0x14834b,_0x4cd44f-0x1d);}function _0x3f948e(_0x13df22,_0x40be09){return _0x3176c4(_0x13df22,_0x40be09- -0x29a);}const _0x10b547=this[_0x3f948e(_0x47c50d._0x316ca7,0x183)][_0x3f948e(_0x47c50d._0x179ad2,-0x6d)+_0x3f948e(0xe1,_0x47c50d._0xcf7ed0)+'Ms']??HEARTBEAT_TIMEOUT_MS;if(Date[_0x3f948e(0x18d,_0x47c50d._0x12f2b9)]()-this[_0x593920(0x3c3,_0x47c50d._0x5292cf)+_0x3f948e(_0x47c50d._0x4171e5,0x1e9)+_0x593920(_0x47c50d._0x5f202f,_0x47c50d._0x21c761)]>_0x10b547){this[_0x593920(_0x47c50d._0x45352f,_0x47c50d._0x17e90e)](_0x3f948e(_0x47c50d._0x2c0484,_0x47c50d._0x140894)+_0x3f948e(_0x47c50d._0x27227d,0x26e)+_0x593920(_0x47c50d._0x5c0105,0x1de)+'t'),_0x305dfa[_0x593920(0x386,0x569)+'e']();return;}_0x305dfa[_0x3f948e(0x2f0,_0x47c50d._0x74fe11)]();},this['options'][_0x1d63c2(-0x14,0xa2)+'tInterva'+_0x3176c4(0x4f5,_0x2a6be1._0x322127)]??HEARTBEAT_INTERVAL_MS);}[_0x5ae336(0x21c,0x3ee)+_0xfff276(0x2e3,0x467)](){const _0x190f93={_0x50eb42:0x638,_0x3917e3:0x54c,_0xde035a:0x2ce},_0x2804fa={_0x58fdda:0xa},_0x2cbf0a={_0x2c7755:0x11e};function _0x16ac5c(_0x1d8093,_0x1d9d83){return _0xfff276(_0x1d8093-_0x2cbf0a._0x2c7755,_0x1d9d83);}function _0x56b1c1(_0xa4b390,_0x4f060a){return _0xfff276(_0x4f060a-_0x2804fa._0x58fdda,_0xa4b390);}this['heartbea'+'tTimer']&&(clearInterval(this[_0x16ac5c(0x2ce,0x250)+_0x16ac5c(_0x190f93._0x50eb42,_0x190f93._0x3917e3)]),this[_0x16ac5c(_0x190f93._0xde035a,0x452)+'tTimer']=null);}[_0xfff276(0x322,0x3ce)+_0x5ae336(0xed,0x69)+_0xfff276(0x3f3,0x297)+'e'](_0x2cd5bc){const _0x1056d4={_0x5373ac:0x3a,_0x49169c:0x287,_0x4b0ef4:0x8b,_0x436d15:0x9d,_0x20bf51:0x205,_0x1328fe:0x20e,_0x30e054:0x20c,_0x58c7b4:0x3e5,_0x4e7f5f:0x24a,_0x5dc9bc:0x309,_0xecd519:0x373,_0x21fd37:0x420,_0x5b90d8:0x221,_0x23be22:0x1dc,_0x1053d7:0x14b,_0x3c9925:0x12,_0x5f18ac:0x79},_0x32e0c7={_0x1bfc56:0x1d8};this[_0x289793(0x287,0x1e4)+_0x2d8823(0x8e,0x9d)+_0x2d8823(_0x1056d4._0x5373ac,0x20e)]['length']>=MAX_PENDING_GATEWAY_MESSAGES&&this[_0x289793(_0x1056d4._0x49169c,0x1d0)+_0x2d8823(_0x1056d4._0x4b0ef4,_0x1056d4._0x436d15)+_0x2d8823(_0x1056d4._0x20bf51,_0x1056d4._0x1328fe)][_0x2d8823(-_0x1056d4._0x30e054,-0xa1)]();function _0x289793(_0x2f328d,_0x2d6400){return _0xfff276(_0x2f328d- -_0x32e0c7._0x1bfc56,_0x2d6400);}this[_0x2d8823(_0x1056d4._0x58c7b4,_0x1056d4._0x4e7f5f)+'atewayMe'+_0x2d8823(_0x1056d4._0x5dc9bc,_0x1056d4._0x1328fe)][_0x289793(_0x1056d4._0xecd519,_0x1056d4._0x21fd37)](_0x2cd5bc);function _0x2d8823(_0x2f2631,_0x19c463){return _0xfff276(_0x19c463- -0x215,_0x2f2631);}this[_0x2d8823(_0x1056d4._0x5b90d8,_0x1056d4._0x23be22)](_0x2d8823(-_0x1056d4._0x1053d7,-0x64)+_0x289793(_0x1056d4._0x3c9925,-0x6c)+'sh\x20size='+this['pendingG'+_0x2d8823(_0x1056d4._0x5f18ac,0x9d)+'ssages'][_0x2d8823(0x9a,-0x95)]);}[_0xfff276(0x4aa,0x2cf)+_0x5ae336(0x80,0x127)+_0x5ae336(0x3b0,0x477)](_0x20f3fc,_0x3dea8c){const _0x1f41f2={_0x2830a4:0x5a,_0x2e37c0:0x160,_0x48ae58:0xe1,_0x3ebf6e:0x15d,_0x1558f8:0x1e3,_0x487415:0x41,_0x5af098:0xe1,_0x2f821c:0x8c,_0x4aa981:0x255,_0x38f53f:0x117,_0x39aeae:0x128,_0x5844fc:0x34,_0x4614a0:0x145,_0x188d8d:0x12b,_0x5255bf:0xe1,_0x543beb:0x9,_0x590ee5:0x127,_0x445df5:0x4b,_0x4b44f1:0x13e},_0x184621={_0x1b756a:0x333},_0x5980f8=Date[_0x43c745(_0x1f41f2._0x2830a4,_0x1f41f2._0x2e37c0)](),_0x52ee32=new Map(this['snapshot'][_0x43c745(-_0x1f41f2._0x48ae58,-_0x1f41f2._0x3ebf6e)+_0x43c745(0xdd,_0x1f41f2._0x1558f8)]['map'](_0x2da46b=>[_0x2da46b['id'],{..._0x2da46b}])),_0x549ddd=_0x52ee32[_0x43c745(0x1ea,_0x1f41f2._0x487415)](_0x20f3fc)??{'id':_0x20f3fc,'label':_0x3dea8c,'state':_0x43c745(-_0x1f41f2._0x5af098,-0x68)+'d','lastSeenMs':_0x5980f8};_0x549ddd[_0x43c745(_0x1f41f2._0x2f821c,_0x1f41f2._0x4aa981)]=_0x3dea8c;function _0x507328(_0x51f08b,_0x26a4de){return _0xfff276(_0x51f08b- -0x2e9,_0x26a4de);}_0x549ddd['state']='connecte'+'d',_0x549ddd['lastSeen'+'Ms']=_0x5980f8;function _0x43c745(_0x3a5615,_0x32251e){return _0xfff276(_0x3a5615- -_0x184621._0x1b756a,_0x32251e);}_0x52ee32[_0x507328(-_0x1f41f2._0x38f53f,-_0x1f41f2._0x39aeae)](_0x20f3fc,_0x549ddd);const _0x249180=[..._0x52ee32[_0x43c745(-_0x1f41f2._0x5844fc,-_0x1f41f2._0x4614a0)]()][_0x43c745(0x25,-0x6c)]((_0x39b967,_0x410c91)=>_0x410c91[_0x507328(0x84,-0x73)+'Ms']-_0x39b967[_0x507328(0x84,0x1cf)+'Ms'])[_0x507328(_0x1f41f2._0x188d8d,-0x35)](0x0,MAX_DEVICE_DETAILS),_0x5adda4={};_0x5adda4[_0x43c745(-_0x1f41f2._0x5255bf,-_0x1f41f2._0x543beb)+_0x507328(_0x1f41f2._0x590ee5,-_0x1f41f2._0x445df5)]=_0x249180,this[_0x507328(0x1e,_0x1f41f2._0x4b44f1)+'apshot'](_0x5adda4);}[_0x5ae336(0x51,0x88)+_0xfff276(0x190,0x240)+'t'](){const _0x2cd1dc={_0x190a0c:0x46f,_0x22bd5b:0x467,_0x1b155a:0x553},_0x4d6a94={_0x1262a2:0x3cf};function _0x407239(_0x711e6d,_0x5827e9){return _0x5ae336(_0x5827e9-0x208,_0x711e6d);}function _0x1ae70d(_0x20655d,_0x52548a){return _0x5ae336(_0x52548a-_0x4d6a94._0x1262a2,_0x20655d);}this[_0x407239(_0x2cd1dc._0x190a0c,0x3e8)+_0x1ae70d(_0x2cd1dc._0x22bd5b,0x4cd)]({'connectedDevices':this[_0x407239(_0x2cd1dc._0x1b155a,0x509)]['connecte'+'dDevices'][_0x407239(0x3bc,0x49b)](_0xa7ec95=>({..._0xa7ec95,'state':_0x1ae70d(0x4a8,0x586)}))});}[_0x5ae336(0x1f3,0x33f)+_0x5ae336(0x134,-0x79)+_0xfff276(0x17b,0xef)](_0x341d5a){const _0xd1c26e={_0x22e8a1:0x2cd,_0x1a7b0f:0x1a2,_0x2d77bb:0x16,_0x351c0a:0x215,_0xd63954:0x13e,_0x3251a0:0x175,_0x4e47bd:0x31c,_0x2e7542:0x180,_0xc788cb:0x262,_0x48165c:0x59,_0x5c39fb:0x335,_0x2e3352:0x11d,_0x51a238:0x4b6,_0x13ea41:0x13f,_0x28a718:0x230,_0x3938bc:0x1cd,_0x127587:0x4a4};function _0x45e964(_0x5085ea,_0x2ef15a){return _0x5ae336(_0x2ef15a- -0xcd,_0x5085ea);}if(this['snapshot']['pendingP'+_0x42b4bc(_0xd1c26e._0x22e8a1,_0xd1c26e._0x1a7b0f)+_0x45e964(-_0xd1c26e._0x2d77bb,0x175)][_0x45e964(-_0xd1c26e._0x351c0a,-0x3a)](_0x25ab91=>_0x25ab91[_0x42b4bc(0xe2,0x28d)+'d']===_0x341d5a[_0x42b4bc(0x37d,0x28d)+'d']))return;function _0x42b4bc(_0x458f19,_0x332779){return _0x5ae336(_0x332779-0x81,_0x458f19);}const _0x29e509=[...this['snapshot']['pendingP'+_0x42b4bc(0x2a3,0x1a2)+_0x45e964(_0xd1c26e._0xd63954,_0xd1c26e._0x3251a0)],_0x341d5a][_0x45e964(_0xd1c26e._0x4e47bd,0x220)](-MAX_PENDING_PAIR_REQUESTS),_0x195564={};_0x195564[_0x42b4bc(0x17c,0x1a4)+_0x45e964(_0xd1c26e._0x2e7542,0x54)+_0x45e964(_0xd1c26e._0xc788cb,0x175)]=_0x29e509,this['updateSn'+_0x42b4bc(-_0xd1c26e._0x48165c,0x17f)](_0x195564),this[_0x45e964(_0xd1c26e._0x5c39fb,0x1ac)][_0x42b4bc(0x183,0x174)+'gPairReq'+_0x45e964(0x2c6,0x1b4)]?.(_0x341d5a),this[_0x45e964(_0xd1c26e._0x2e3352,0x1fd)](_0x42b4bc(_0xd1c26e._0x51a238,0x3b7)+'uest\x20pen'+_0x45e964(0x2b9,0x27a)+'uestId='+_0x341d5a[_0x45e964(0x1dd,_0xd1c26e._0x13ea41)+'d']+(_0x45e964(0x248,0xa4)+'d=')+(_0x341d5a[_0x42b4bc(_0xd1c26e._0x28a718,_0xd1c26e._0x3938bc)]||_0x42b4bc(_0xd1c26e._0x127587,0x41b)+'>'));}['markPair'+'RequestR'+'esolved'](_0x287e0a,_0x40fe61){const _0x5ebdbc={_0x4d8934:0x991,_0x8e8f93:0x701,_0x566250:0x5ee,_0x387d89:0x74c,_0x5d53df:0x5b1,_0x1408c4:0x5da,_0x37e0dd:0x5e3,_0x13c99c:0x676,_0x2f4b78:0x775,_0x5de74f:0x732,_0x483a75:0x5f2,_0x568d6d:0x762,_0x1c80a3:0x5dd,_0x347d3c:0x633},_0xfced69={_0x2d4903:0x392},_0x2b9707={_0x3cec77:0x285},_0x1f6171=this[_0x2e842a(0x7ba,_0x5ebdbc._0x4d8934)]['pendingP'+'airReque'+_0x1bf90a(_0x5ebdbc._0x8e8f93,_0x5ebdbc._0x566250)][_0x2e842a(_0x5ebdbc._0x387d89,_0x5ebdbc._0x5d53df)](_0x1518ac=>_0x1518ac[_0x2e842a(0x6c5,0x56f)+'d']===_0x287e0a?{..._0x1518ac,'status':_0x40fe61===_0x2e842a(0x889,0x6fa)||_0x40fe61===_0x2e842a(0x85d,0x8d0)?_0x40fe61:_0x1518ac['status']}:_0x1518ac);function _0x1bf90a(_0x4a9fa2,_0x543500){return _0xfff276(_0x543500-_0x2b9707._0x3cec77,_0x4a9fa2);}const _0x44ee71={};function _0x2e842a(_0x41ce10,_0x4dbfe4){return _0xfff276(_0x41ce10-_0xfced69._0x2d4903,_0x4dbfe4);}_0x44ee71['pendingP'+_0x2e842a(_0x5ebdbc._0x1408c4,_0x5ebdbc._0x37e0dd)+_0x1bf90a(0x53d,0x5ee)]=_0x1f6171,this[_0x2e842a(0x699,0x5a5)+'apshot'](_0x44ee71),this[_0x1bf90a(0x530,_0x5ebdbc._0x13c99c)]('pair\x20req'+_0x1bf90a(_0x5ebdbc._0x2f4b78,_0x5ebdbc._0x5de74f)+_0x1bf90a(0x453,0x5b7)+_0x2e842a(_0x5ebdbc._0x483a75,_0x5ebdbc._0x568d6d)+_0x287e0a+(_0x2e842a(_0x5ebdbc._0x1c80a3,_0x5ebdbc._0x347d3c)+'n=')+_0x40fe61);}['updateSn'+'apshot'](_0x6f7b0c){const _0x34f6d6={_0x37515d:0x403,_0x277202:0x3b0,_0x417f05:0x328,_0x20c66f:0x1ba,_0x5248d5:0x575,_0x310f29:0x448,_0x144847:0x35c},_0x577782={_0x7f7dbe:0x1be};function _0x916619(_0x3c8a1a,_0x86da36){return _0x5ae336(_0x86da36-_0x577782._0x7f7dbe,_0x3c8a1a);}Object[_0x916619(0x3ac,_0x34f6d6._0x37515d)](this[_0x4f9ae0(_0x34f6d6._0x277202,0x50f)],_0x6f7b0c,{'lastUpdatedMs':Date[_0x4f9ae0(0x315,0x263)]()});function _0x4f9ae0(_0x40ba09,_0x48796f){return _0x5ae336(_0x40ba09-0xaf,_0x48796f);}this[_0x4f9ae0(_0x34f6d6._0x417f05,_0x34f6d6._0x20c66f)][_0x916619(_0x34f6d6._0x5248d5,_0x34f6d6._0x310f29)]?.(this['getSnaps'+_0x4f9ae0(0x271,_0x34f6d6._0x144847)]());}['log'](_0x434452){const _0x2ab64e={_0x52deaa:0x1ab,_0x56a17c:0x220},_0x1b97bb={_0x5d48b5:0x143};function _0x50c094(_0x4a9bc6,_0x4a515c){return _0x5ae336(_0x4a515c- -0xce,_0x4a9bc6);}function _0x4be1e8(_0x240561,_0x161d6e){return _0x5ae336(_0x161d6e-_0x1b97bb._0x5d48b5,_0x240561);}this[_0x50c094(0x1f9,_0x2ab64e._0x52deaa)][_0x50c094(0x409,_0x2ab64e._0x56a17c)]?.(_0x434452);}[_0xfff276(0x32e,0x4ca)+'pen'](){const _0x397b34={_0x4d2988:0x6f,_0x40ad6d:0x97,_0x4237cc:0x7a,_0x2557fb:0x1a0,_0x2a0000:0x4a5,_0x2465a6:0x52b,_0x49f6d7:0x5a3},_0xa9fce2={_0x58b04d:0x385};function _0x22dbf1(_0x12a1a0,_0x2cbeb8){return _0xfff276(_0x2cbeb8- -_0xa9fce2._0x58b04d,_0x12a1a0);}function _0x5d8eb6(_0x578443,_0x2f0e61){return _0xfff276(_0x578443-0x152,_0x2f0e61);}return this[_0x22dbf1(-_0x397b34._0x4d2988,_0x397b34._0x40ad6d)+_0x22dbf1(-_0x397b34._0x4237cc,-_0x397b34._0x2557fb)]?.[_0x5d8eb6(_0x397b34._0x2a0000,0x5c5)+'te']===_0x6af040[_0x5d8eb6(_0x397b34._0x2465a6,_0x397b34._0x49f6d7)];}['isGatewa'+'yOpen'](){const _0xf142c2={_0x2f31c2:0x6fb};function _0x358bf8(_0x491fb1,_0x294cc4){return _0xfff276(_0x491fb1-0x18,_0x294cc4);}function _0x56ac91(_0x53b8b5,_0x590566){return _0xfff276(_0x53b8b5-0x18c,_0x590566);}return this['gatewayS'+_0x56ac91(0x517,_0xf142c2._0x2f31c2)]?.[_0x56ac91(0x4df,0x5a6)+'te']===_0x6af040['OPEN'];}[_0x5ae336(0x306,0x2a7)+'ayDemand'](){const _0x490f20={_0x29832c:0x3f7,_0x59b0ea:0x35b,_0x324504:0xc8};function _0x4f2b0e(_0x1dfd99,_0x922d60){return _0x5ae336(_0x1dfd99-0x3cd,_0x922d60);}function _0x4eabea(_0x1569e4,_0x50eb0d){return _0x5ae336(_0x50eb0d-0x6f,_0x1569e4);}return this[_0x4f2b0e(0x6ce,0x62e)][_0x4eabea(_0x490f20._0x29832c,0x246)+'unt']>0x0||this[_0x4eabea(_0x490f20._0x59b0ea,0x3a7)+_0x4f2b0e(0x558,0x53b)+_0x4f2b0e(0x6c9,0x662)][_0x4eabea(0x1c3,_0x490f20._0x324504)]>0x0;}[_0x5ae336(0x2bb,0x411)+_0xfff276(0x1fb,0x36b)](){const _0x3a0637={_0x3f0fd6:0x5ca,_0x44bff2:0xe6,_0x4b392a:0x596,_0x5db823:0x545,_0x21c967:0x729,_0x496a1f:0x912,_0x4771fd:0x801,_0x1a058a:0xd6,_0x5c2077:0x67f,_0x52567f:0xcf};this['stopHear'+_0x3c8beb(0x7a0,_0x3a0637._0x3f0fd6)]();function _0x56372a(_0x2258a2,_0xb46d77){return _0xfff276(_0x2258a2- -0x344,_0xb46d77);}this[_0x56372a(-_0x3a0637._0x44bff2,-0x183)+'tTimer']&&(clearTimeout(this[_0x3c8beb(_0x3a0637._0x4b392a,_0x3a0637._0x5db823)+_0x3c8beb(_0x3a0637._0x21c967,0x801)]),this['reconnec'+_0x3c8beb(_0x3a0637._0x496a1f,_0x3a0637._0x4771fd)]=null);this[_0x3c8beb(0x56b,0x5a9)+'etryTime'+'r']&&(clearTimeout(this[_0x56372a(-0x82,0x43)+_0x56372a(-0x17c,-_0x3a0637._0x1a058a)+'r']),this['gatewayR'+_0x3c8beb(_0x3a0637._0x5c2077,0x4af)+'r']=null);function _0x3c8beb(_0x9e5d7a,_0x19e88f){return _0xfff276(_0x19e88f-0x2e7,_0x9e5d7a);}this['cancelGa'+_0x56372a(0x13c,0xcd)+_0x56372a(0x1cc,_0x3a0637._0x52567f)]();}['elapsedS'+'ince'](_0x527dc5){const _0x2c2a44={_0x1f1cd4:0x606,_0x594d25:0x472,_0x562c86:0x505,_0x162ca2:0x37f,_0x5c095c:0x4dd,_0x26b500:0x558};function _0x428f7d(_0x18e2c1,_0x1370a5){return _0xfff276(_0x1370a5-0x1cb,_0x18e2c1);}const _0x4b71e3={};function _0xe7f605(_0x40045d,_0x585e80){return _0xfff276(_0x585e80-0x1bc,_0x40045d);}_0x4b71e3[_0x428f7d(0x47a,_0x2c2a44._0x1f1cd4)]=function(_0x56ff97,_0x3e51ca){return _0x56ff97==_0x3e51ca;};const _0x224b70=_0x4b71e3;return _0x224b70[_0xe7f605(_0x2c2a44._0x594d25,0x5f7)](_0x527dc5,null)?null:Math[_0xe7f605(_0x2c2a44._0x562c86,_0x2c2a44._0x162ca2)](0x0,Date[_0x428f7d(_0x2c2a44._0x5c095c,_0x2c2a44._0x26b500)]()-_0x527dc5);}};function shouldRecycleGatewayForFreshClient(_0x53cfeb,_0x246a83,_0xcebbcf,_0x404bfe){const _0x1d959d={_0x20476d:0x17a,_0x4ebea9:0x348},_0x657e5b={_0x458215:0x176};function _0x16188d(_0x34093d,_0x32872e){return _0xfff276(_0x32872e-0x3e1,_0x34093d);}function _0x1bf9fc(_0x109c97,_0x5be704){return _0xfff276(_0x109c97- -_0x657e5b._0x458215,_0x5be704);}const _0x123c81={};_0x123c81[_0x1bf9fc(0x19c,0x60)]=function(_0x4e6ced,_0x4bb485){return _0x4e6ced>_0x4bb485;},_0x123c81[_0x1bf9fc(0xc7,_0x1d959d._0x20476d)]=function(_0x32c4ce,_0x532ca3){return _0x32c4ce===_0x532ca3;};const _0x2bc691=_0x123c81;return _0xcebbcf&&_0x2bc691[_0x1bf9fc(0x19c,_0x1d959d._0x4ebea9)](_0x246a83,0x0)&&(_0x2bc691[_0x1bf9fc(0xc7,0x1e6)](_0x53cfeb,0x0)||_0x404bfe);}function summarizeJsonFrame(_0x3b891b){const _0x466e3b={_0x120f80:0x240,_0x55d57c:0x223,_0x9ea213:0x1da,_0x5ef77a:0x33f,_0x58d070:0x14b,_0x8ac4c2:0x27d,_0x3165df:0xf2,_0x3ad002:0x275,_0x506d7a:0xc4,_0x35bb2e:0x276,_0xd8a426:0x231,_0x5e4a91:0x2b4,_0x1308de:0x165,_0x1ae4cf:0x1b7,_0x17639e:0x1fa,_0x12566d:0x346,_0x227527:0x27c,_0x15b0fb:0x175,_0x3e8205:0x37c,_0x24be63:0x7e,_0x55f473:0x83,_0x774b1a:0x9f,_0x4d133f:0x93,_0x55e161:0x20c,_0x158343:0xdc,_0x5585bb:0xd1,_0x13e008:0x27d,_0x8f4c1:0x26b,_0xf1989c:0x106,_0x4e8cde:0xc8,_0x3ae7c8:0x201,_0x3fe09e:0x105,_0xcb5978:0x2a1,_0x4af621:0x3c4,_0x5aa31b:0x274,_0x1f7fe9:0x31d,_0x13fe51:0x41a,_0x1fb756:0x11e,_0x29724c:0x2f8,_0xf54902:0x1ed,_0x54d5a9:0x115,_0x36075b:0xb2,_0x3cfc5d:0x169,_0x491ffc:0x318,_0x5be358:0x218};function _0x2aeb61(_0xc002ac,_0x25b8ab){return _0x5ae336(_0xc002ac- -0xf9,_0x25b8ab);}const _0x521394={};_0x521394['jVTmo']=function(_0x136eeb,_0xd9ee59){return _0x136eeb===_0xd9ee59;},_0x521394[_0x4ab4df(0x1d5,_0x466e3b._0x120f80)]=_0x2aeb61(0xc4,0x28),_0x521394[_0x4ab4df(_0x466e3b._0x55d57c,0x351)]='event';function _0x4ab4df(_0x5a179e,_0x55dd82){return _0x5ae336(_0x5a179e- -0x11e,_0x55dd82);}_0x521394[_0x2aeb61(_0x466e3b._0x9ea213,0x258)]=function(_0x25f283,_0xb0a393){return _0x25f283===_0xb0a393;},_0x521394[_0x2aeb61(0x1bd,_0x466e3b._0x5ef77a)]='true';const _0x5426f3=_0x521394;try{const _0x3f2027=JSON[_0x2aeb61(0x2f2,_0x466e3b._0x58d070)](_0x3b891b);if(_0x3f2027[_0x2aeb61(_0x466e3b._0x8ac4c2,_0x466e3b._0x3165df)]===_0x2aeb61(-0x2,-0x91)&&typeof _0x3f2027[_0x2aeb61(0x2d9,_0x466e3b._0x3ad002)]===_0x2aeb61(_0x466e3b._0x506d7a,_0x466e3b._0x35bb2e))return'req\x20meth'+_0x4ab4df(0x197,_0x466e3b._0xd8a426)+_0x3f2027[_0x4ab4df(_0x466e3b._0x5e4a91,_0x466e3b._0x1308de)]+_0x2aeb61(0x1c5,0xb3)+(_0x5426f3[_0x2aeb61(_0x466e3b._0x1ae4cf,-0xf)](typeof _0x3f2027['id'],_0x5426f3[_0x2aeb61(_0x466e3b._0x17639e,_0x466e3b._0x12566d)])?_0x3f2027['id']:_0x4ab4df(_0x466e3b._0x227527,0x22b)+'>');if(_0x3f2027[_0x4ab4df(0x258,_0x466e3b._0x15b0fb)]===_0x5426f3[_0x4ab4df(0x223,_0x466e3b._0x3e8205)]&&typeof _0x3f2027[_0x4ab4df(_0x466e3b._0x24be63,_0x466e3b._0x55f473)]===_0x4ab4df(_0x466e3b._0x774b1a,_0x466e3b._0x4d133f))return _0x2aeb61(-0x93,-_0x466e3b._0x55e161)+_0x2aeb61(_0x466e3b._0x158343,_0x466e3b._0x5585bb)+_0x3f2027['event'];if(_0x3f2027[_0x2aeb61(_0x466e3b._0x13e008,_0x466e3b._0x8f4c1)]===_0x2aeb61(_0x466e3b._0xf1989c,_0x466e3b._0x4e8cde)){const _0x2a00b9=_0x5426f3[_0x4ab4df(0x1b5,_0x466e3b._0x3ae7c8)](typeof _0x3f2027['id'],_0x2aeb61(_0x466e3b._0x506d7a,_0x466e3b._0x3fe09e))?_0x3f2027['id']:_0x2aeb61(_0x466e3b._0xcb5978,_0x466e3b._0x4af621)+'>',_0x26fe07=_0x3f2027['ok']===!![]?_0x5426f3[_0x2aeb61(0x1bd,0x2bc)]:'false',_0x305698=typeof _0x3f2027[_0x2aeb61(_0x466e3b._0x5aa31b,0x37e)]?.[_0x2aeb61(_0x466e3b._0x1f7fe9,_0x466e3b._0x13fe51)]===_0x5426f3[_0x4ab4df(0x1d5,_0x466e3b._0x1fb756)]?_0x3f2027[_0x2aeb61(0x274,0x422)][_0x4ab4df(_0x466e3b._0x29724c,_0x466e3b._0xf54902)]:_0x2aeb61(_0x466e3b._0x54d5a9,_0x466e3b._0x36075b);return _0x4ab4df(_0x466e3b._0x3cfc5d,_0x466e3b._0x491ffc)+_0x2a00b9+'\x20ok='+_0x26fe07+_0x2aeb61(_0x466e3b._0x5be358,0x72)+_0x305698;}return null;}catch{return null;}}function shouldDropStaleConnectAfterGatewayReopen(_0x129449,_0x11daad){return!_0x129449&&_0x11daad;}function buildRelayWsUrl(_0x3df57f){const _0x55d562={_0x3ab343:0x69b,_0x3cff3d:0x676,_0x1b4224:0x340,_0x5d1c6d:0x1c5,_0x52eeea:0x420,_0x3eb41f:0x5d6,_0x21f89d:0x546,_0x41472f:0x35d,_0x226883:0x72d,_0x488bf6:0x60b,_0x4cb953:0x544,_0x45a309:0x6f4,_0x1fee43:0x7a9,_0xd28750:0x83b,_0x4cc2a7:0x4b5,_0x4ad6ac:0x706,_0x319926:0x668,_0x5a1370:0x828,_0x1528dd:0x684,_0x3066c0:0x6af,_0x401e07:0x4cc,_0x23041f:0x493,_0xe65131:0x376,_0x250ebe:0x4be},_0x52e0a9={_0x185dd5:0x2fa},_0x525dee={_0x5a20be:0x164},_0x219590={};_0x219590['mPqkz']=_0x32e0d9(0x59e,_0x55d562._0x3ab343),_0x219590[_0x5e1917(_0x55d562._0x3cff3d,0x613)]=_0x5e1917(_0x55d562._0x1b4224,0x3c3);const _0x473b68=_0x219590,_0x548bc3=new URL(_0x3df57f[_0x5e1917(_0x55d562._0x5d1c6d,0x3b3)]);(!_0x548bc3['pathname']||_0x548bc3['pathname']==='/')&&(_0x548bc3[_0x5e1917(_0x55d562._0x52eeea,_0x55d562._0x3eb41f)]=_0x5e1917(0x2da,0x356));function _0x5e1917(_0x578a8c,_0x4d3cef){return _0xfff276(_0x4d3cef-_0x525dee._0x5a20be,_0x578a8c);}_0x548bc3['searchPa'+'rams']['set'](_0x32e0d9(0x546,0x384)+'d',_0x3df57f[_0x32e0d9(_0x55d562._0x21f89d,_0x55d562._0x41472f)+'d']);function _0x32e0d9(_0x1491d1,_0x58a149){return _0xfff276(_0x1491d1-_0x52e0a9._0x185dd5,_0x58a149);}return _0x548bc3[_0x5e1917(0x74f,0x585)+_0x5e1917(_0x55d562._0x226883,_0x55d562._0x488bf6)][_0x32e0d9(0x4cc,_0x55d562._0x4cb953)](_0x473b68[_0x32e0d9(0x740,_0x55d562._0x45a309)],_0x473b68[_0x32e0d9(_0x55d562._0x1fee43,0x5d6)]),_0x548bc3['searchPa'+_0x32e0d9(0x7a1,_0x55d562._0xd28750)][_0x32e0d9(0x4cc,_0x55d562._0x4cc2a7)](_0x32e0d9(_0x55d562._0x4ad6ac,_0x55d562._0x319926),_0x3df57f[_0x32e0d9(_0x55d562._0x5a1370,0x92b)+'Id']),_0x548bc3[_0x5e1917(_0x55d562._0x1528dd,0x585)+_0x32e0d9(0x7a1,_0x55d562._0x3066c0)][_0x32e0d9(_0x55d562._0x401e07,_0x55d562._0x23041f)](_0x5e1917(0x412,_0x55d562._0xe65131),_0x3df57f[_0x5e1917(_0x55d562._0x250ebe,0x698)+_0x5e1917(0x385,0x3d4)]),_0x548bc3['toString']();}function redactRelayWsUrl(_0x5d4fc2){const _0x4cec91={_0x48eb49:0x281,_0x47c1dd:0x3b1,_0x3ff7f9:0x28a,_0x18f6f8:0x3ff,_0x152262:0x564,_0x219944:0x7f9},_0x911e12={_0x502271:0x479};function _0x4a9ff1(_0x49bb8f,_0x24f256){return _0x5ae336(_0x24f256-_0x911e12._0x502271,_0x49bb8f);}function _0x29165c(_0x1786ea,_0x352361){return _0x5ae336(_0x352361-0x31,_0x1786ea);}const _0x5425b6=new URL(_0x5d4fc2);return _0x5425b6['searchPa'+_0x29165c(_0x4cec91._0x48eb49,_0x4cec91._0x47c1dd)][_0x29165c(0x3c3,_0x4cec91._0x3ff7f9)](_0x4a9ff1(_0x4cec91._0x18f6f8,_0x4cec91._0x152262))&&_0x5425b6[_0x4a9ff1(0x7e7,0x773)+_0x4a9ff1(0x73f,_0x4cec91._0x219944)]['set']('token','<redacte'+'d>'),_0x5425b6[_0x29165c(0x34d,0x374)]();}function normalizeText(_0xc5608a){const _0x54ccfb={_0xb0dc59:0x596,_0x27d1ab:0x426,_0x473301:0x6f8,_0x258340:0x76c,_0x312657:0x474,_0x184036:0x595,_0x390b48:0x3d6,_0x4d4237:0x2c0,_0x3bb458:0x7a9,_0x1b0b83:0x861,_0x38c46b:0x614,_0x1ed8e1:0x462,_0x1d47ad:0x4d9,_0x2fca16:0x595,_0x485fe3:0x861,_0x4402d6:0x3af},_0x358179={_0x3a1757:0x252},_0x5f12e6={};_0x5f12e6[_0x16d8db(_0x54ccfb._0xb0dc59,_0x54ccfb._0x27d1ab)]=_0x1f2bd9(0x5e1,0x626);function _0x1f2bd9(_0x287d61,_0x364a5c){return _0x5ae336(_0x364a5c-_0x358179._0x3a1757,_0x287d61);}function _0x16d8db(_0x1d192e,_0x58b90b){return _0x5ae336(_0x1d192e-0x48d,_0x58b90b);}_0x5f12e6['LyaEA']=_0x16d8db(0x64a,0x640);const _0x51a4da=_0x5f12e6,_0xad1f84=(_0x16d8db(_0x54ccfb._0x473301,0x745)+'2')[_0x16d8db(0x5a7,_0x54ccfb._0x258340)]('|');let _0x25ae8c=0x0;while(!![]){switch(_0xad1f84[_0x25ae8c++]){case'0':if(Buffer[_0x1f2bd9(0x449,_0x54ccfb._0x312657)](_0xc5608a))return _0xc5608a[_0x1f2bd9(0x658,_0x54ccfb._0x184036)](_0x51a4da['XpPPy']);continue;case'1':if(Array[_0x1f2bd9(_0x54ccfb._0x390b48,_0x54ccfb._0x4d4237)](_0xc5608a))return Buffer[_0x16d8db(_0x54ccfb._0x3bb458,0x8b6)](_0xc5608a)[_0x1f2bd9(0x4d3,_0x54ccfb._0x184036)](_0x16d8db(_0x54ccfb._0x1b0b83,0x963));continue;case'2':return null;case'3':if(_0xc5608a instanceof ArrayBuffer)return Buffer[_0x16d8db(_0x54ccfb._0x38c46b,_0x54ccfb._0x1ed8e1)](_0xc5608a)[_0x1f2bd9(_0x54ccfb._0x1d47ad,_0x54ccfb._0x2fca16)](_0x16d8db(_0x54ccfb._0x485fe3,0x8c7));continue;case'4':if(typeof _0xc5608a===_0x51a4da[_0x16d8db(0x55b,_0x54ccfb._0x4402d6)])return _0xc5608a;continue;}break;}}function normalizeBinary(_0x5d7e96){const _0x511657={_0x367bad:0xa,_0xd861be:0x1b3,_0x283239:0x29,_0x67d0b8:0x871,_0x2bc419:0x11,_0x302b14:0x139,_0x43ea04:0x24a,_0x349ca9:0x175,_0x3a925b:0x20},_0x307515={_0x528796:0x2ce},_0x125bc3={};function _0x45db1a(_0x4e4760,_0x5249b1){return _0xfff276(_0x5249b1-0x2d3,_0x4e4760);}_0x125bc3[_0x23d221(-0x11e,-_0x511657._0x367bad)]=function(_0x1013f2,_0x141310){return _0x1013f2===_0x141310;},_0x125bc3[_0x23d221(0x4,-0x43)]='string';const _0x3b3bda=_0x125bc3;if(Buffer[_0x23d221(_0x511657._0xd861be,0x7b)](_0x5d7e96))return _0x5d7e96;if(_0x3b3bda[_0x23d221(-0x151,-0xa)](typeof _0x5d7e96,_0x3b3bda[_0x23d221(_0x511657._0x283239,-0x43)]))return Buffer[_0x23d221(-0x2f,-0x20)](_0x5d7e96,_0x45db1a(_0x511657._0x67d0b8,0x7ce));function _0x23d221(_0x666208,_0x5e0aa1){return _0xfff276(_0x5e0aa1- -_0x307515._0x528796,_0x666208);}if(Array[_0x23d221(-_0x511657._0x2bc419,-_0x511657._0x302b14)](_0x5d7e96))return Buffer[_0x23d221(_0x511657._0x43ea04,_0x511657._0x349ca9)](_0x5d7e96);return Buffer[_0x23d221(0x19a,-_0x511657._0x3a925b)](_0x5d7e96);}function readRecentCliLogs(_0x217fa4){const _0x308cbc={_0x1640bf:0x68a,_0x3922f5:0x60e,_0xf73015:0x49a,_0x15ef45:0x4fd,_0x277155:0x404,_0x147d4b:0x4d9,_0x2b6f47:0x584,_0x3dc4e3:0x498},{logPath:_0x3b78bc,errorLogPath:_0x3ac4ff}=getServicePaths(),_0x2c5eac=clampLines(_0x217fa4?.[_0x18a35a(_0x308cbc._0x1640bf,0x62c)]??0xc8),_0x24329b=_0x217fa4?.[_0x296db5(_0x308cbc._0x3922f5,0x57f)]??null,_0x5069db=_0x24329b!=null?Date[_0x296db5(_0x308cbc._0xf73015,_0x308cbc._0x15ef45)]()-_0x24329b:null;function _0x18a35a(_0x4cb559,_0x1e8cdb){return _0xfff276(_0x1e8cdb-0x1ad,_0x4cb559);}function _0x296db5(_0x1d981b,_0x2571f0){return _0xfff276(_0x2571f0-0x170,_0x1d981b);}const _0x2d1305=[_0x3b78bc];_0x217fa4?.[_0x296db5(_0x308cbc._0x277155,0x319)+'rrorLog']&&_0x2d1305['push'](_0x3ac4ff);const _0x524690=_0x2d1305['flatMap'](_0x2d6546=>readLogFile(_0x2d6546)),_0x284542=_0x5069db==null?_0x524690:_0x524690['filter'](_0x458a75=>_0x458a75['ts']!=null&&_0x458a75['ts']>=_0x5069db);return _0x284542[_0x296db5(_0x308cbc._0x147d4b,_0x308cbc._0x2b6f47)](-_0x2c5eac)[_0x296db5(_0x308cbc._0x3dc4e3,0x52a)](_0xdfe54c=>_0xdfe54c[_0x296db5(0x3c1,0x2e9)]);}async function buildDoctorReport(){const _0x2aa4de={_0x140acd:0x714,_0x2ede7d:0x81e,_0x418782:0x5a6,_0x36d8ea:0x83d,_0x147abc:0x76e,_0x5b4b97:0x761,_0x3d25d9:0x87c,_0x55038c:0x91a,_0x27427c:0x61b,_0x422e1e:0x5a9,_0x17ff68:0x4e3},_0x2990b3={'nnHZQ':function(_0x4c9c1b){return _0x4c9c1b();}},_0x59029e=_0x2990b3[_0x1d123b(_0x2aa4de._0x140acd,_0x2aa4de._0x2ede7d)](readPairingConfig),_0x50bbbd=getServiceStatus(),_0x16cb9b=readOpenClawInfo(),_0x55c0ed=resolveGatewayUrl();function _0x1d123b(_0x9493d0,_0x1a7122){return _0x5ae336(_0x9493d0-0x46b,_0x1a7122);}const _0x38513f=await checkGatewayReachable(_0x55c0ed);function _0x119215(_0x491d76,_0x186477){return _0x5ae336(_0x186477-0x304,_0x491d76);}return{'paired':Boolean(_0x59029e),'gatewayId':_0x59029e?.[_0x1d123b(0x590,0x4a1)+'d']??null,'serverUrl':_0x59029e?.['serverUr'+'l']??null,'relayUrl':_0x59029e?.['relayUrl']??null,'instanceId':_0x59029e?.['instance'+'Id']??null,'serviceInstalled':_0x50bbbd['installe'+'d'],'serviceRunning':_0x50bbbd[_0x119215(_0x2aa4de._0x418782,0x670)],'serviceMethod':_0x50bbbd[_0x1d123b(_0x2aa4de._0x36d8ea,_0x2aa4de._0x147abc)],'servicePath':_0x50bbbd[_0x119215(_0x2aa4de._0x5b4b97,0x6ff)+_0x1d123b(_0x2aa4de._0x3d25d9,_0x2aa4de._0x55038c)],'logPath':_0x50bbbd['logPath'],'errorLogPath':_0x50bbbd[_0x119215(0x5b3,0x71d)+_0x119215(0x479,_0x2aa4de._0x27427c)],'openclawConfigDir':getOpenClawConfigDir(),'openclawMediaDir':getOpenClawMediaDir(),'openclawConfigFound':_0x16cb9b[_0x119215(_0x2aa4de._0x422e1e,_0x2aa4de._0x17ff68)+'und'],'openclawTokenFound':Boolean(_0x16cb9b[_0x119215(0x526,0x3ef)]),'localGatewayUrl':_0x55c0ed,'localGatewayReachable':_0x38513f};}function readLogFile(_0x495575){const _0x501ccb={_0x37c6b0:0x6d6,_0x1e4076:0x2d2};function _0x4df93a(_0x339562,_0x307669){return _0x5ae336(_0x339562-0x51,_0x307669);}function _0x4dee0c(_0x263819,_0x2e832e){return _0x5ae336(_0x2e832e-0x3c5,_0x263819);}try{const _0x1160a8=_0x42b153(_0x495575,_0x4dee0c(0x69e,0x799));return _0x1160a8['split'](/\r?\n/)[_0x4dee0c(_0x501ccb._0x37c6b0,0x77b)](Boolean)[_0x4df93a(0x2e4,_0x501ccb._0x1e4076)](_0x1a143a=>({'raw':_0x1a143a,'ts':parseTimestamp(_0x1a143a)}));}catch{return[];}}function parseTimestamp(_0x969456){const _0x42d6a7={_0xc5d4f1:0x66a,_0x49b49e:0x7ed},_0x42c7b2={_0x5f0e37:0x229};function _0x4d0c66(_0x12b799,_0x186a3c){return _0x5ae336(_0x12b799-0x2c5,_0x186a3c);}function _0xaf9838(_0x16db0b,_0x5f38a1){return _0x5ae336(_0x16db0b-_0x42c7b2._0x5f0e37,_0x5f38a1);}const _0x2964a1=_0x969456[_0xaf9838(0x3bd,0x41b)](/^\[(\d{13})\]\s/);if(!_0x2964a1)return null;const _0x2e9744=Number(_0x2964a1[0x1]);return Number[_0x4d0c66(_0x42d6a7._0xc5d4f1,_0x42d6a7._0x49b49e)](_0x2e9744)?_0x2e9744:null;}function clampLines(_0x8ec909){const _0x123028={_0x2430f6:0x24b,_0x159fa1:0x129,_0x48ef47:0x11b,_0xef5bcb:0x15},_0x4e9a73={_0x4aa126:0x6e};if(!Number[_0x2da1fd(_0x123028._0x2430f6,0x1e0)](_0x8ec909))return 0xc8;function _0x2da1fd(_0x26123f,_0x627e60){return _0x5ae336(_0x627e60- -0x1c5,_0x26123f);}function _0x2cbf32(_0x285b8d,_0x116e44){return _0x5ae336(_0x116e44- -_0x4e9a73._0x4aa126,_0x285b8d);}return Math[_0x2da1fd(0x48,-_0x123028._0x159fa1)](0x1,Math[_0x2da1fd(_0x123028._0x48ef47,-_0x123028._0xef5bcb)](0x7d0,Math['floor'](_0x8ec909)));}async function checkGatewayReachable(_0x5096d2){const _0x489f5e={_0x55fd42:0x1b,_0x3db0b1:0x9e,_0xe4aae7:0x55,_0x5a3ff9:0x238,_0x33f26d:0x2fa,_0x281ba4:0x7c},_0x5ed830={_0x4073cc:0x5bd,_0x30ad2d:0x75,_0x190c13:0x8d,_0x28ca43:0x13},_0x46317f={_0xdef7a4:0x4f0,_0x2b50b8:0x3da},_0x4f85cf={_0x517a05:0x619},_0x45a5ba={_0x44689f:0x383},_0x598645={};_0x598645[_0x5333a8(-_0x489f5e._0x55fd42,0x80)]=_0x5721f0(0x591,0x5b0);function _0x5333a8(_0x5650ea,_0x25f122){return _0xfff276(_0x25f122- -_0x45a5ba._0x44689f,_0x5650ea);}function _0x5721f0(_0x4bba35,_0x436acc){return _0xfff276(_0x436acc-0x11c,_0x4bba35);}const _0x484bbf=_0x598645;try{const _0x23415a=new URL(_0x5096d2),_0x3e1d8c=_0x23415a['hostname']||_0x5333a8(_0x489f5e._0x3db0b1,_0x489f5e._0xe4aae7)+'1',_0x3dbde6=_0x23415a['port']?Number(_0x23415a['port']):_0x23415a[_0x5721f0(_0x489f5e._0x5a3ff9,_0x489f5e._0x33f26d)]===_0x5333a8(-_0x489f5e._0x281ba4,-0x214)?0x1bb:0x50;return await new Promise((_0x50771d,_0x366e6f)=>{const _0x40b363={_0x39b007:0x302,_0xc76a8d:0x545},_0x1d5f2b={_0x592409:0x3bb},_0x4b10d3={_0x1bcb68:0x95};function _0x11b623(_0x27f92a,_0x145a51){return _0x5333a8(_0x145a51,_0x27f92a-_0x4f85cf._0x517a05);}function _0x4f5e83(_0x181a94,_0x5892ff){return _0x5333a8(_0x181a94,_0x5892ff-_0x4b10d3._0x1bcb68);}const _0x27dddf=new Socket();_0x27dddf[_0x11b623(0x454,_0x5ed830._0x4073cc)+'ut'](0x384),_0x27dddf[_0x4f5e83(_0x5ed830._0x30ad2d,_0x5ed830._0x190c13)](_0x4f5e83(0x9a,0x1ce),()=>{_0x27dddf['destroy'](),_0x50771d();}),_0x27dddf['once']('timeout',()=>{function _0x4ca758(_0x164514,_0x5e0698){return _0x4f5e83(_0x164514,_0x5e0698-_0x1d5f2b._0x592409);}function _0x31ab0d(_0x4a040f,_0x367541){return _0x4f5e83(_0x4a040f,_0x367541-0x40f);}_0x27dddf[_0x31ab0d(_0x40b363._0x39b007,0x2a9)](),_0x366e6f(new Error(_0x31ab0d(_0x40b363._0xc76a8d,0x66b)));}),_0x27dddf['once'](_0x484bbf[_0x4f5e83(-_0x5ed830._0x28ca43,0x115)],_0x3a3486=>{_0x27dddf[_0x52ca36(_0x46317f._0xdef7a4,_0x46317f._0x2b50b8)]();function _0x52ca36(_0x40899b,_0x4c3b64){return _0x4f5e83(_0x4c3b64,_0x40899b-0x656);}_0x366e6f(_0x3a3486);}),_0x27dddf[_0x4f5e83(0x1dc,0x1ce)](_0x3dbde6,_0x3e1d8c);}),!![];}catch{return![];}}function parseLookbackToMs(_0x2be224){const _0x2859de={_0x1b4363:0x408,_0x5449ef:0x242,_0xa228d1:0x1d8,_0xc9b89:0x1e7,_0x593a5c:0x591,_0x22acb8:0x285,_0x5451ce:0xbf,_0xa40479:0x476,_0x58b2af:0x439,_0x44f43f:0x2f4,_0x29808a:0x297,_0x11788d:0x17a},_0x4e4f45={};_0x4e4f45[_0x118fbf(0x2b2,0xc7)]=function(_0x37691b,_0x384523){return _0x37691b===_0x384523;},_0x4e4f45['FoKhE']=function(_0x1791b3,_0x5c1499){return _0x1791b3===_0x5c1499;};const _0x2c4d65=_0x4e4f45,_0x161511=_0x2be224?.[_0x118fbf(0x490,0x2f8)]();function _0x118fbf(_0x1d788a,_0x1f660f){return _0xfff276(_0x1d788a-0x8b,_0x1f660f);}if(!_0x161511)return null;const _0x4463f4=_0x161511['match'](/^(\d+)(ms|s|m|h|d)$/i);function _0x318d5d(_0x422c39,_0x39f4f9){return _0xfff276(_0x422c39- -0xb8,_0x39f4f9);}if(!_0x4463f4)throw new Error('Invalid\x20'+_0x118fbf(_0x2859de._0x1b4363,_0x2859de._0x5449ef)+_0x318d5d(0x30b,_0x2859de._0xa228d1)+_0x161511+(_0x318d5d(_0x2859de._0xc9b89,0x3b)+_0x118fbf(_0x2859de._0x593a5c,0x482)+_0x318d5d(_0x2859de._0x22acb8,_0x2859de._0x5451ce)+_0x118fbf(0x35e,_0x2859de._0xa40479)+_0x318d5d(_0x2859de._0x58b2af,0x4dc)));const _0x1fdfd0=Number(_0x4463f4[0x1]),_0x3791c8=_0x4463f4[0x2][_0x118fbf(0x321,_0x2859de._0x44f43f)+_0x318d5d(_0x2859de._0x29808a,_0x2859de._0x11788d)](),_0x8c7a7=_0x2c4d65['gJVdU'](_0x3791c8,'ms')?0x1:_0x3791c8==='s'?0x3e8:_0x2c4d65['FoKhE'](_0x3791c8,'m')?0xea60:_0x3791c8==='h'?0x36ee80:0x5265c00;return _0x1fdfd0*_0x8c7a7;}import{readFileSync as _0x353db4}from'fs';import{dirname as _0x156ba8,resolve}from'path';import{fileURLToPath}from'url';function readCliVersion(){const _0x50f261={_0x2d11dc:0xaf,_0x5e4f17:0x30};function _0xfe5623(_0x4d13bf,_0x2dfd11){return _0x5ae336(_0x2dfd11-0x3a9,_0x4d13bf);}const _0x256fef={'UshNq':function(_0x3c8f4e,_0x4c9326){return _0x3c8f4e(_0x4c9326);}},_0x312146=_0x256fef['UshNq'](_0x156ba8,fileURLToPath(import.meta.url)),_0x3bee97=resolve(_0x312146,_0x3eb7be(-0x7b,-0x110)+_0x3eb7be(_0x50f261._0x2d11dc,-_0x50f261._0x5e4f17));function _0x3eb7be(_0x2bf85e,_0xb30eaa){return _0x5ae336(_0x2bf85e- -0x233,_0xb30eaa);}const _0x55f9eb=_0x353db4(_0x3bee97,_0xfe5623(0x7d7,0x77d)),_0x420b95=JSON['parse'](_0x55f9eb);return _0x420b95[_0x3eb7be(-0x186,-0x282)]??_0xfe5623(0x65d,0x52b);}function buildPairingJson(_0x231c6b,_0x51a0e0,_0x41efae,_0x412a01){const _0x4f8442={_0x2fd16f:0x52f,_0x5ae5e0:0x3dd,_0x238530:0x695,_0x3b6309:0x4e2,_0x2c1bc3:0x433,_0x2a19de:0x559,_0x36d892:0x495,_0x699e90:0x286,_0x5f2169:0x1b8,_0x1e8331:0x502,_0x3b33c6:0x56c,_0x4d8d85:0x435,_0x3adc8f:0x5da,_0x16071c:0xfe,_0x3ebcbf:0x226,_0x18084d:0x51,_0x2c3f41:0x226,_0x3dd6bf:0x2a7,_0x3a75de:0x184,_0x1346d7:0x341,_0x930247:0x15d,_0x5426eb:0x4d1,_0x4bd25d:0x361,_0x44397e:0x4ee,_0x2c4a29:0x3eb,_0x3363b6:0x5de,_0x3edb44:0x1f1,_0x45786f:0x52c,_0x1f4ead:0x547,_0x13c755:0x4cb,_0xbfa3cb:0x589,_0x5c2682:0x69e,_0x1f8992:0x367,_0x4ebfad:0x52e,_0xe7b0a2:0x6cc,_0x564344:0x6d4,_0x217374:0x674},_0x7d4224={};function _0x1bbeb2(_0x32debe,_0x2df4ea){return _0x5ae336(_0x2df4ea-0x2c3,_0x32debe);}_0x7d4224[_0x1bbeb2(_0x4f8442._0x2fd16f,0x621)+'d']=_0x41efae[_0x1c3027(_0x4f8442._0x5ae5e0,0x4b1)+'d'],_0x7d4224['running']=_0x41efae['running'],_0x7d4224[_0x1bbeb2(0x57d,_0x4f8442._0x238530)]=_0x41efae[_0x1c3027(_0x4f8442._0x3b6309,0x525)],_0x7d4224[_0x1c3027(_0x4f8442._0x2c1bc3,0x54e)+'ath']=_0x41efae[_0x1bbeb2(_0x4f8442._0x2a19de,0x6be)+'ath'],_0x7d4224[_0x1bbeb2(_0x4f8442._0x36d892,0x328)]=_0x41efae[_0x1c3027(_0x4f8442._0x699e90,_0x4f8442._0x5f2169)],_0x7d4224[_0x1bbeb2(0x506,0x6dc)+'Path']=_0x41efae[_0x1c3027(_0x4f8442._0x1e8331,_0x4f8442._0x3b33c6)+_0x1bbeb2(_0x4f8442._0x4d8d85,_0x4f8442._0x3adc8f)],_0x7d4224[_0x1c3027(_0x4f8442._0x16071c,_0x4f8442._0x3ebcbf)]=_0x41efae[_0x1c3027(_0x4f8442._0x18084d,_0x4f8442._0x2c3f41)];const _0x4bfae1={};_0x4bfae1['ok']=!![],_0x4bfae1[_0x1c3027(_0x4f8442._0x3dd6bf,0x1d1)]=_0x231c6b[_0x1bbeb2(_0x4f8442._0x3a75de,_0x4f8442._0x1346d7)],_0x4bfae1[_0x1c3027(_0x4f8442._0x930247,0x1cf)]=_0x412a01,_0x4bfae1[_0x1bbeb2(_0x4f8442._0x5426eb,0x3e8)+'d']=_0x231c6b[_0x1bbeb2(0x22c,_0x4f8442._0x4bd25d)][_0x1c3027(0x40a,0x278)+'d'],_0x4bfae1[_0x1bbeb2(_0x4f8442._0x44397e,_0x4f8442._0x2c4a29)]=_0x231c6b['config'][_0x1c3027(0x407,0x27b)],_0x4bfae1[_0x1bbeb2(0x694,_0x4f8442._0x3363b6)+'l']=_0x231c6b[_0x1c3027(0x3a8,_0x4f8442._0x3edb44)][_0x1c3027(_0x4f8442._0x45786f,0x46e)+'l'],_0x4bfae1[_0x1bbeb2(0x5ca,0x6ca)+'Id']=_0x231c6b[_0x1bbeb2(0x3a0,_0x4f8442._0x4bd25d)][_0x1bbeb2(_0x4f8442._0x1f4ead,0x6ca)+'Id'];function _0x1c3027(_0x566fdd,_0x457515){return _0x5ae336(_0x457515-0x153,_0x566fdd);}return _0x4bfae1['accessCo'+'de']=_0x231c6b['accessCo'+'de'],_0x4bfae1['accessCo'+_0x1bbeb2(_0x4f8442._0x13c755,0x363)+_0x1bbeb2(_0x4f8442._0xbfa3cb,_0x4f8442._0x5c2682)]=_0x231c6b[_0x1bbeb2(0x22c,_0x4f8442._0x1f8992)+'deExpire'+_0x1c3027(0x4f3,_0x4f8442._0x4ebfad)],_0x4bfae1[_0x1bbeb2(0x7bb,0x671)+_0x1bbeb2(_0x4f8442._0xe7b0a2,_0x4f8442._0x564344)]=_0x51a0e0,_0x4bfae1[_0x1bbeb2(_0x4f8442._0x217374,0x5af)]=_0x7d4224,_0x4bfae1;}import{mkdirSync as _0xf58717,writeFileSync as _0x228ccc}from'fs';import{dirname as _0x2e8740,isAbsolute,join as _0x142fff,resolve as _0x2e75d6}from'path';import _0xe0ebba from'qrcode';var DEFAULT_QR_DIR=getOpenClawMediaDir();async function writePairingQrPng(_0x206bbe,_0x3dfadd){const _0x4ad1e8={_0x3ff3d4:0x3e,_0x4e65b5:0x13,_0x1f0155:0x2a9,_0x5abed3:0x465,_0x4b69ae:0x16a,_0x1a3969:0xba,_0x3b928a:0x1c5,_0x2ba1fa:0x163,_0xc7a33b:0x264},_0x1cf76d={'lOdNq':function(_0x5f0419,_0x348ac8,_0x1e041f){return _0x5f0419(_0x348ac8,_0x1e041f);},'UTDMF':function(_0x128b9b,_0x448313){return _0x128b9b(_0x448313);},'LJUbr':_0x19582b(-_0x4ad1e8._0x3ff3d4,-0x1a3)+'g','jRhpA':'base64'},_0x4ad736=_0x1cf76d[_0x19582b(_0x4ad1e8._0x4e65b5,-0x20)](resolveQrOutputPath,_0x206bbe,_0x3dfadd),_0x216a33={};_0x216a33[_0x309aea(_0x4ad1e8._0x1f0155,_0x4ad1e8._0x5abed3)+'e']=!![],_0x1cf76d[_0x19582b(0x13,0x10c)](_0xf58717,_0x1cf76d[_0x309aea(0x227,0x50)](_0x2e8740,_0x4ad736),_0x216a33);function _0x19582b(_0x1792d8,_0x9b3787){return _0xfff276(_0x1792d8- -0x2e5,_0x9b3787);}const _0x5209c0={};_0x5209c0['type']=_0x1cf76d['LJUbr'],_0x5209c0['errorCor'+'rectionL'+_0x309aea(0x20c,0x2d9)]='M',_0x5209c0[_0x19582b(0x123,0x293)]=0x1;function _0x309aea(_0x23661f,_0x45c7ee){return _0xfff276(_0x23661f- -0x123,_0x45c7ee);}_0x5209c0[_0x309aea(_0x4ad1e8._0x4b69ae,-0x71)]=0x2d0;const _0x3126b2=await _0xe0ebba[_0x309aea(_0x4ad1e8._0x1a3969,_0x4ad1e8._0x3b928a)+'L'](_0x206bbe[_0x19582b(_0x4ad1e8._0x2ba1fa,0x294)+'d'],_0x5209c0),_0x372fdf=_0x3126b2[_0x19582b(-0xcf,-_0x4ad1e8._0xc7a33b)](/^data:image\/png;base64,/,'');return _0x228ccc(_0x4ad736,Buffer['from'](_0x372fdf,_0x1cf76d[_0x19582b(0x66,-0xe)])),_0x4ad736;}function resolveQrOutputPath(_0x341476,_0x27c024){const _0x51fefd={_0x7da5ac:0x62,_0xf915c5:0xfb},_0x487eb0={_0x4ee688:0x540},_0x56340b={'CtQMC':function(_0x427aa3,_0x5af916){return _0x427aa3(_0x5af916);}};function _0x2c52d6(_0x1db2c0,_0x4bb8e2){return _0x5ae336(_0x4bb8e2- -0x1eb,_0x1db2c0);}const _0x45a645=_0x27c024?.['trim']();function _0x368e4c(_0x4b47f9,_0x5b93e5){return _0x5ae336(_0x4b47f9-_0x487eb0._0x4ee688,_0x5b93e5);}if(_0x45a645)return isAbsolute(_0x45a645)?_0x45a645:_0x56340b['CtQMC'](_0x2e75d6,_0x45a645);return _0x142fff(DEFAULT_QR_DIR,_0x341476[_0x368e4c(0x5de,0x58c)]['gatewayI'+'d']+_0x2c52d6(_0x51fefd._0x7da5ac,-_0x51fefd._0xf915c5));}function decidePairServiceAction(_0x2f9755,_0x3fd324){const _0x32ad6c={_0x297aac:0x402,_0x7e7cc7:0x8b6,_0x31837c:0x557,_0x562523:0x567,_0x1e044c:0x576,_0x25720a:0x62f,_0x2d702b:0x2b2,_0x2017bd:0x479,_0xa30fff:0x291,_0x3245ec:0x656,_0x449864:0x6f5,_0x47e57c:0x8dc},_0x1ff0f9={_0x126ecd:0x4fc},_0x133f7d={_0x4feaaf:0x218};function _0x3cbea4(_0x20b36a,_0x4e3675){return _0x5ae336(_0x20b36a-_0x133f7d._0x4feaaf,_0x4e3675);}const _0x4b2483={};_0x4b2483[_0x3cbea4(0x479,_0x32ad6c._0x297aac)]=function(_0xbc7f88,_0x258eda){return _0xbc7f88===_0x258eda;},_0x4b2483[_0x407cc9(0x8c5,_0x32ad6c._0x7e7cc7)]=_0x407cc9(0x5e1,0x777)+'ed',_0x4b2483[_0x3cbea4(0x5f8,0x7c9)]=_0x407cc9(_0x32ad6c._0x31837c,_0x32ad6c._0x562523);function _0x407cc9(_0x15da29,_0x167027){return _0x5ae336(_0x15da29-_0x1ff0f9._0x126ecd,_0x167027);}const _0x4500b6=_0x4b2483;if(!_0x3fd324[_0x3cbea4(_0x32ad6c._0x1e044c,_0x32ad6c._0x25720a)+'d'])return _0x3cbea4(0x4d9,0x385);if(!_0x3fd324['running'])return _0x3cbea4(0x29f,_0x32ad6c._0x2d702b);if(_0x4500b6[_0x3cbea4(_0x32ad6c._0x2017bd,_0x32ad6c._0xa30fff)](_0x2f9755[_0x407cc9(0x57a,_0x32ad6c._0x3245ec)],_0x4500b6['GWvPa']))return _0x407cc9(0x583,_0x32ad6c._0x449864);return _0x4500b6[_0x407cc9(_0x32ad6c._0x47e57c,0xab9)];}async function main(){const _0x5a0ac4={_0x86011a:0x54e,_0x89a0d2:0x81,_0x3361c3:0x2b2,_0x4b7788:0x4c4,_0x1c19c2:0x641,_0x5deb9e:0x5b8,_0x4acaca:0x567,_0x230b90:0x4e5,_0x777a54:0x2fd,_0x5a3b5d:0x61b,_0x5dcd64:0x68d,_0x519bb8:0xcb,_0x23fd95:0x28d,_0x5d0eaf:0x47b,_0xe05dd7:0x83b,_0x15b721:0xda,_0x27aaba:0x52d,_0x2b1ed1:0x4bd,_0x582af2:0x667,_0x5bce07:0x764,_0x6af4e1:0x69e,_0x306124:0x1b9,_0x2bc608:0x227,_0x3287a8:0x297,_0x2e3e95:0x515,_0x48326e:0x57a,_0x276300:0x819,_0x58916e:0x64,_0x38dceb:0x30,_0x5ece8f:0x154,_0x1d6f64:0x40,_0x2afa98:0x7d,_0x34f54e:0x54,_0x31abe3:0xcf,_0x55ae15:0x8e7,_0x474285:0x44f,_0x5e6dbf:0x287,_0x3d926d:0x5a7,_0x140c99:0x46a,_0x214212:0x4a6,_0x277cc4:0x595,_0x378551:0x8b8,_0xd83b39:0x85a,_0x40aae2:0x6be,_0x26fdc5:0x5c4,_0x456c58:0x68c,_0x592831:0x3dd,_0x47075d:0x2f7,_0x33af62:0x540,_0x5639f2:0x6b5,_0x718849:0x58b,_0x1faeca:0x634,_0x14679a:0x57c,_0x18f6db:0x5d7,_0x5949fb:0x73a,_0x6c5d56:0x5e0,_0x15433a:0xfc,_0x2dfd0a:0x7b,_0x32eaab:0x583,_0x58a329:0x496,_0x43e348:0x59c,_0x16d914:0x6cd,_0xc02e12:0x5a2,_0xe32640:0x94f,_0x2c7b84:0x7d0,_0x57747e:0x1f,_0x594a74:0xab,_0x1ed44d:0x8f,_0x517f1a:0x3e,_0x305130:0x5e7,_0x475f18:0x4a5,_0x5e4ba1:0x5b4,_0xa538d5:0x362,_0x8f1773:0x23c,_0x104c05:0x601,_0x3e8c13:0x469,_0x444da2:0x353,_0x2daa04:0x6c,_0x1bc3fe:0x3b5,_0x3f5db4:0x73b,_0xe8d6a6:0x63c,_0x325bb1:0x22b,_0x2d34a7:0x1d2,_0x12565a:0x19c,_0x2b7dcb:0x4ac,_0x26b5fb:0x4d5,_0x581aa4:0x3b8,_0x26e727:0x1ca,_0xfeb56b:0x5c3,_0xfc7af5:0x54,_0x5ec1cd:0x7c2,_0x54e635:0xd5,_0x34a78e:0xef,_0x51b7fa:0xd0,_0xb1dd0f:0x1a5,_0x565317:0x4e,_0x326408:0x775,_0x599eb5:0x1a5,_0x104eeb:0x4b,_0x1442c6:0x70a,_0x46eacd:0x7e4,_0x37b7cb:0x1bd,_0x4f3f46:0x1a5,_0x2bc610:0x429,_0x123ceb:0x5ab,_0x4ecefd:0x481,_0x3e070a:0x63,_0x2b5c61:0x544,_0x3eba60:0x2d,_0x3c204f:0x4d,_0x4829da:0xf5,_0x54ce21:0x201,_0x3aa57b:0x1f4,_0x3f0484:0x1a5,_0x583fb2:0x5f,_0x3d1dbd:0x1b2,_0xb3a1b:0x2b,_0x479ec5:0x75c,_0x2fface:0x6be,_0x5e3a76:0x19f,_0x11d32c:0x635,_0xf78c51:0x29e,_0x333e70:0x184,_0x202524:0x60d,_0x52a7e5:0x1d1,_0xf05517:0x6db,_0x18a2b5:0x20b,_0x111288:0x216,_0x2e8e8f:0x191,_0x432bb1:0x534,_0x31db2c:0x553,_0xc8fa63:0x20,_0x1af709:0x501,_0x5a5fe7:0x596,_0x1c3670:0x61d,_0x1ead6b:0x2ee,_0x2d9ef9:0x848,_0x1ba9c1:0x59,_0x100453:0xee,_0x4922ee:0x88,_0x4e7ed6:0x2ff,_0x14a3dd:0x7fb,_0x2e0382:0x561,_0x3cf701:0x76d,_0x413d8b:0x5cd,_0x3055e7:0x519,_0x9cb217:0x5bc,_0x485825:0x1d4,_0x5294a8:0x20f,_0x34f68e:0x90e,_0x3c8eef:0x76f,_0x4bf221:0x504,_0x50463b:0x1e6},_0x2f39ab={_0x54d201:0x832,_0x5b3315:0x2d,_0x37a299:0x44a,_0x20aa73:0x7fc,_0x5f3f7b:0x823},_0x2c8a7f={_0x30e553:0x448,_0x5106a9:0x451,_0x59244d:0x206,_0x2336c3:0x95,_0x21d753:0xbb,_0x19204c:0x224,_0x5551e2:0x196,_0x1b69cb:0x23a,_0x17636d:0x7f},_0x22d132={_0x21264c:0x936,_0x3042e9:0x81c,_0x248df1:0x90e,_0x2db0a2:0xa47,_0x59b001:0x85a,_0x16f475:0x68b,_0x5dcb96:0x745,_0x49bc8a:0x135,_0x380a4d:0xaa2,_0x3f8899:0x93c,_0x37660c:0x16c,_0x195cc3:0xf1,_0x46e913:0x972,_0x3f1b76:0x8cf,_0x431835:0x57c,_0x10b0f4:0x724,_0x42a8b7:0x426},_0x545a9c={_0x58bce4:0x5e0},_0x2c105a={_0x3264b5:0x3af,_0x5ce776:0x271},_0xcd7a64={_0x1f1cd7:0x2cd},_0x250ae4={'AUQHj':function(_0x24b419,_0x56a3eb){return _0x24b419(_0x56a3eb);},'vcCGD':'down','iGlvI':_0x5e45c0(0x630,_0x5a0ac4._0x86011a),'MFUja':_0x5d25d9(0x1d3,_0x5a0ac4._0x89a0d2),'MNIXR':function(_0xd48c12,_0x40ba61,_0xf4211f){return _0xd48c12(_0x40ba61,_0xf4211f);},'TMPeS':_0x5d25d9(0x365,_0x5a0ac4._0x3361c3)+'e','rzRWc':'--json','RWJxO':_0x5e45c0(0x509,_0x5a0ac4._0x4b7788),'LiWSR':_0x5e45c0(_0x5a0ac4._0x1c19c2,0x49a),'XQHtn':function(_0x38c0f4,_0xe687ca){return _0x38c0f4(_0xe687ca);},'gsAKW':function(_0x31c257){return _0x31c257();},'yZxKl':function(_0x5dc3b1,_0x28eae0,_0x3a6ebc,_0x33b271,_0x177424){return _0x5dc3b1(_0x28eae0,_0x3a6ebc,_0x33b271,_0x177424);},'PGlmO':function(_0x2ce2b9,_0x494e43,_0x20cb4e){return _0x2ce2b9(_0x494e43,_0x20cb4e);},'LbzCX':function(_0x27cfa5){return _0x27cfa5();},'HYHyS':_0x5e45c0(_0x5a0ac4._0x5deb9e,0x6b5),'ROYQN':_0x5e45c0(0x635,0x51a)+_0x5e45c0(0x5b5,_0x5a0ac4._0x4acaca)+_0x5d25d9(_0x5a0ac4._0x230b90,_0x5a0ac4._0x777a54)+_0x5e45c0(_0x5a0ac4._0x5a3b5d,_0x5a0ac4._0x5dcd64)+'\x20but\x20sto'+_0x5d25d9(0xce,-_0x5a0ac4._0x519bb8)+'started\x20'+'it.','NAgdy':function(_0x5e9fbe,_0x5096a4){return _0x5e9fbe(_0x5096a4);},'MgQwp':function(_0x4fc45a,_0x22edc4){return _0x4fc45a===_0x22edc4;},'nZCre':function(_0x171b19,_0xfceb0a,_0x2af62c){return _0x171b19(_0xfceb0a,_0x2af62c);},'fBbcB':function(_0x48c46f){return _0x48c46f();},'XffVD':_0x5e45c0(_0x5a0ac4._0x23fd95,_0x5a0ac4._0x5d0eaf),'fFOIi':_0x5e45c0(_0x5a0ac4._0xe05dd7,0x7f4),'seYDo':_0x5d25d9(-0x26e,-_0x5a0ac4._0x15b721)+_0x5e45c0(_0x5a0ac4._0x27aaba,_0x5a0ac4._0x2b1ed1)+_0x5e45c0(_0x5a0ac4._0x582af2,0x567)+'ce\x20regis'+'tration.','iKHsC':function(_0x487678,_0x400fb8){return _0x487678===_0x400fb8;},'XrwHm':function(_0x17c714){return _0x17c714();},'SnFfn':function(_0x31ed0c){return _0x31ed0c();},'SZxoe':_0x5e45c0(_0x5a0ac4._0x5bce07,_0x5a0ac4._0x6af4e1),'myHdV':function(_0x6af06e,_0x536abe,_0x147d25){return _0x6af06e(_0x536abe,_0x147d25);},'RrSvG':function(_0x1080a8,_0x5c4e21){return _0x1080a8(_0x5c4e21);},'OzNfR':_0x5e45c0(0x4bc,0x5da),'xshGq':function(_0x1330ac){return _0x1330ac();},'KfsqU':'run'},[,,_0x17d851=_0x5d25d9(_0x5a0ac4._0x306124,0x1be),..._0x9241f0]=process[_0x5d25d9(_0x5a0ac4._0x2bc608,_0x5a0ac4._0x3287a8)],_0x4eb355=_0x250ae4['MNIXR'](hasFlag,_0x9241f0,_0x250ae4[_0x5e45c0(0x4a7,0x5d2)]),_0x3547f6=hasFlag(_0x9241f0,_0x250ae4['rzRWc']);if(_0x17d851===_0x5e45c0(_0x5a0ac4._0x2e3e95,_0x5a0ac4._0x48326e)){const _0x539263=readFlag(_0x9241f0,_0x250ae4[_0x5e45c0(_0x5a0ac4._0x276300,0x7f7)])??readFlag(_0x9241f0,'-s')??_0x5d25d9(_0x5a0ac4._0x58916e,-_0x5a0ac4._0x38dceb)+_0x5d25d9(_0x5a0ac4._0x5ece8f,_0x5a0ac4._0x1d6f64)+_0x5d25d9(-_0x5a0ac4._0x2afa98,0x29)+_0x5d25d9(-0x84,0xa9),_0xa2cfcf=readFlag(_0x9241f0,_0x250ae4[_0x5d25d9(-0xf0,_0x5a0ac4._0x34f54e)])??readFlag(_0x9241f0,'-n')??getDefaultBridgeDisplayName(),_0x48dd7e=readFlag(_0x9241f0,_0x5e45c0(0x357,0x4b3)+'e'),_0x589fc9=await _0x250ae4[_0x5e45c0(0x30e,0x4da)](pairGateway,{'serverUrl':_0x539263,'displayName':_0xa2cfcf,'gatewayToken':resolveGatewayToken()}),_0x1a0494=await writePairingQrPng(_0x589fc9,_0x48dd7e),_0x46ad1c=_0x250ae4[_0x5d25d9(0x241,_0x5a0ac4._0x31abe3)](getServiceStatus),_0x594136=_0x250ae4[_0x5e45c0(_0x5a0ac4._0x55ae15,0x7da)](decidePairServiceAction,_0x589fc9,_0x46ad1c);if(_0x594136===_0x5e45c0(0x335,_0x5a0ac4._0x474285)){_0x3547f6?_0x250ae4['AUQHj'](printJson,_0x250ae4[_0x5d25d9(_0x5a0ac4._0x5e6dbf,0x2b4)](buildPairingJson,_0x589fc9,_0x1a0494,_0x46ad1c,_0x5d25d9(-0x2d,0x1)+'nd\x20servi'+_0x5e45c0(_0x5a0ac4._0x3d926d,_0x5a0ac4._0x140c99)+_0x5e45c0(0x30f,_0x5a0ac4._0x214212)+_0x5e45c0(0x682,0x810)+_0x5e45c0(_0x5a0ac4._0x277cc4,0x6ac)+_0x5d25d9(0x28b,0x119))):(_0x250ae4[_0x5e45c0(_0x5a0ac4._0x378551,0x712)](printPairingInfo,_0x589fc9,_0x1a0494),console[_0x5e45c0(_0x5a0ac4._0xd83b39,_0x5a0ac4._0x40aae2)](_0x5e45c0(_0x5a0ac4._0x26fdc5,0x51a)+_0x5e45c0(_0x5a0ac4._0x456c58,0x567)+'ce\x20alrea'+'dy\x20runni'+_0x5d25d9(_0x5a0ac4._0x592831,_0x5a0ac4._0x47075d)+_0x5e45c0(_0x5a0ac4._0x33af62,0x6ac)+_0x5e45c0(0x726,0x632)),printServiceResult(null,_0x46ad1c));return;}try{const _0x31a9c4=_0x594136===_0x5e45c0(0x7ba,_0x5a0ac4._0x5639f2)?_0x250ae4[_0x5e45c0(_0x5a0ac4._0x718849,_0x5a0ac4._0x1faeca)](installService):restartService(),_0x171b1e=_0x594136===_0x250ae4[_0x5e45c0(_0x5a0ac4._0x14679a,_0x5a0ac4._0x18f6db)]?'Auto-ins'+_0x5e45c0(_0x5a0ac4._0x5949fb,_0x5a0ac4._0x6c5d56)+_0x5d25d9(_0x5a0ac4._0x15433a,_0x5a0ac4._0x2dfd0a)+_0x5d25d9(0x134,0x2ac)+'e.':_0x589fc9['action']===_0x5d25d9(-0x102,-0x40)+'ed'?'Bridge\x20i'+_0x5e45c0(_0x5a0ac4._0x32eaab,_0x5a0ac4._0x58a329)+'changed.'+_0x5e45c0(0x656,0x56e)+'ed\x20backg'+'round\x20se'+_0x5d25d9(0xe2,0x16d)+_0x5e45c0(0x6c6,0x4f5)+'e\x20new\x20pa'+_0x5d25d9(0xe6,-0x58):_0x250ae4[_0x5e45c0(_0x5a0ac4._0x43e348,_0x5a0ac4._0x16d914)];_0x3547f6?_0x250ae4[_0x5e45c0(_0x5a0ac4._0xc02e12,0x4a7)](printJson,buildPairingJson(_0x589fc9,_0x1a0494,_0x31a9c4,_0x171b1e)):(printPairingInfo(_0x589fc9,_0x1a0494),printServiceResult(_0x171b1e,_0x31a9c4));}catch(_0x2be687){console[_0x5e45c0(0x895,0x761)]('Pairing\x20'+_0x5e45c0(_0x5a0ac4._0xe32640,_0x5a0ac4._0x2c7b84)+_0x5d25d9(_0x5a0ac4._0x57747e,-_0x5a0ac4._0x594a74)+_0x5d25d9(_0x5a0ac4._0x1ed44d,-_0x5a0ac4._0x517f1a)+_0x5d25d9(0x2d5,0x277)+_0x5e45c0(_0x5a0ac4._0x305130,0x73c)+':\x20'+formatError(_0x2be687)),console['error'](_0x5e45c0(0x638,_0x5a0ac4._0x475f18)+'still\x20ru'+'n\x20\x22clawk'+_0x5e45c0(_0x5a0ac4._0x5e4ba1,0x5a5)+_0x5e45c0(0x8ab,0x7a8)+_0x5d25d9(_0x5a0ac4._0xa538d5,_0x5a0ac4._0x8f1773)+_0x5e45c0(_0x5a0ac4._0x104c05,_0x5a0ac4._0x3e8c13)+_0x5d25d9(_0x5a0ac4._0x444da2,0x197)),process['exitCode']=0x1;}return;}if(_0x250ae4['MgQwp'](_0x17d851,_0x5d25d9(-0x133,_0x5a0ac4._0x2daa04)+_0x5d25d9(_0x5a0ac4._0x1bc3fe,0x2f1))){const _0x21dd33=_0x250ae4['PGlmO'](readFlag,_0x9241f0,_0x5d25d9(-0xfa,-0x66)+'e'),_0xd76c98=await refreshAccessCode({'gatewayToken':resolveGatewayToken()}),_0x4e834c=await _0x250ae4['nZCre'](writePairingQrPng,_0xd76c98,_0x21dd33);_0x3547f6?printJson(buildPairingJson(_0xd76c98,_0x4e834c,getServiceStatus(),_0x5e45c0(_0x5a0ac4._0x3f5db4,_0x5a0ac4._0xe8d6a6)+'code\x20ref'+_0x5d25d9(_0x5a0ac4._0x325bb1,0x4d))):printPairingInfo(_0xd76c98,_0x4e834c);return;}function _0x5e45c0(_0x579fcc,_0x2bac6c){return _0xfff276(_0x2bac6c-_0xcd7a64._0x1f1cd7,_0x579fcc);}if(_0x17d851===_0x5d25d9(_0x5a0ac4._0x2d34a7,_0x5a0ac4._0x12565a)){const _0x35284c=_0x250ae4[_0x5e45c0(0x342,0x4ad)](requirePairingConfig),_0x132717=installService();console[_0x5d25d9(0x29d,0x1a5)](_0x5e45c0(_0x5a0ac4._0x2b7dcb,_0x5a0ac4._0x26b5fb)+_0x5d25d9(0x1c,0xd5)+_0x5d25d9(_0x5a0ac4._0x581aa4,_0x5a0ac4._0x26e727)+_0x5e45c0(_0x5a0ac4._0xfeb56b,0x608)+_0x5e45c0(0x64c,0x467)+'\x20'+_0x35284c['gatewayI'+'d']+'.'),printServiceResult(null,_0x132717);return;}if(_0x17d851===_0x250ae4[_0x5d25d9(-_0x5a0ac4._0xfc7af5,0x128)]){const _0x27d3b9=requirePairingConfig(),_0x31f48b=restartService();console['log'](_0x5e45c0(0x8ca,_0x5a0ac4._0x5ec1cd)+_0x5d25d9(0x29e,_0x5a0ac4._0x54e635)+_0x5e45c0(0x8aa,0x6e3)+_0x5d25d9(-0x5a,_0x5a0ac4._0x34a78e)+_0x5d25d9(0xce,-0xb2)+'\x20'+_0x27d3b9[_0x5d25d9(_0x5a0ac4._0x51b7fa,0x0)+'d']+'.'),printServiceResult(null,_0x31f48b);return;}if(_0x17d851===_0x250ae4[_0x5d25d9(0x27,0xee)]){const _0x1cb97a=stopService();console[_0x5d25d9(0x2b5,_0x5a0ac4._0xb1dd0f)](_0x5d25d9(0x328,0x160)+_0x5d25d9(0x11d,-0x5c)+_0x5d25d9(-0xcf,_0x5a0ac4._0x565317)+_0x5d25d9(0x2e9,0x29a)),printServiceResult(null,_0x1cb97a);return;}if(_0x17d851===_0x5e45c0(0x7db,_0x5a0ac4._0x326408)+'l'){const _0x574e79=uninstallService();console[_0x5d25d9(0x1d,_0x5a0ac4._0x599eb5)](_0x250ae4[_0x5d25d9(0x84,-_0x5a0ac4._0x104eeb)]),printServiceResult(null,_0x574e79);return;}if(_0x250ae4['iKHsC'](_0x17d851,_0x5e45c0(0x69b,_0x5a0ac4._0x1442c6))){stopService(),_0x250ae4[_0x5e45c0(_0x5a0ac4._0x46eacd,0x64b)](deletePairingConfig),console[_0x5d25d9(_0x5a0ac4._0x37b7cb,_0x5a0ac4._0x4f3f46)](_0x5d25d9(_0x5a0ac4._0x2bc610,0x2f9)+_0x5e45c0(0x4f9,0x5bd)+'config:\x20'+getPairingConfigPath());return;}if(_0x17d851===_0x5d25d9(0xa3,0x262)){_0x250ae4[_0x5e45c0(_0x5a0ac4._0x123ceb,_0x5a0ac4._0x4ecefd)](printStatus);return;}if(_0x17d851===_0x5d25d9(0x84,-_0x5a0ac4._0x3e070a)){const _0x35af61=Number(readFlag(_0x9241f0,_0x5e45c0(0x774,0x71b))??_0x5e45c0(_0x5a0ac4._0x2b5c61,0x714)),_0x2e7362=parseLookbackToMs(readFlag(_0x9241f0,_0x250ae4[_0x5d25d9(_0x5a0ac4._0x3eba60,-_0x5a0ac4._0x3c204f)])??_0x250ae4[_0x5d25d9(0x2d5,_0x5a0ac4._0x4829da)](readFlag,_0x9241f0,'-l')),_0x166aa6=_0x250ae4['RrSvG'](readRecentCliLogs,{'lines':_0x35af61,'lastMs':_0x2e7362,'includeErrorLog':hasFlag(_0x9241f0,_0x250ae4[_0x5d25d9(_0x5a0ac4._0x54ce21,_0x5a0ac4._0x3aa57b)])});if(_0x3547f6){const _0x59df31={};_0x59df31['ok']=!![],_0x59df31['lines']=_0x166aa6,_0x250ae4[_0x5e45c0(0x499,0x4da)](printJson,_0x59df31);}else _0x166aa6['length']===0x0?console[_0x5d25d9(0x6f,_0x5a0ac4._0x3f0484)](_0x5d25d9(-_0x5a0ac4._0x583fb2,-0xb9)+_0x5d25d9(_0x5a0ac4._0x2d34a7,_0x5a0ac4._0x3d1dbd)+'logs\x20fou'+_0x5d25d9(-0x23,_0x5a0ac4._0xb3a1b)):console[_0x5e45c0(_0x5a0ac4._0x479ec5,_0x5a0ac4._0x2fface)](_0x166aa6[_0x5d25d9(-_0x5a0ac4._0x5e3a76,-0x1e)]('\x0a'));return;}if(_0x17d851===_0x5e45c0(_0x5a0ac4._0x11d32c,0x4ec)){const _0x501ca7=await _0x250ae4[_0x5d25d9(0x16e,_0x5a0ac4._0xf78c51)](buildDoctorReport);_0x3547f6?printJson(_0x501ca7):printDoctorReport(_0x501ca7);return;}if(_0x17d851===_0x250ae4[_0x5d25d9(_0x5a0ac4._0x333e70,0x155)]){const _0x2460ab=requirePairingConfig(),_0x1f5d20=_0x250ae4[_0x5e45c0(_0x5a0ac4._0x202524,0x4da)](resolveGatewayUrl,readFlag(_0x9241f0,_0x5d25d9(0x3bb,_0x5a0ac4._0x52a7e5)+_0x5e45c0(_0x5a0ac4._0xf05517,0x503))??readFlag(_0x9241f0,'-g')),_0x1ea360=_0x4b700c=>{function _0x18f475(_0x3ea512,_0x520fa3){return _0x5e45c0(_0x3ea512,_0x520fa3- -0x44d);}console[_0x18f475(_0x2c105a._0x3264b5,_0x2c105a._0x5ce776)]('['+Date['now']()+']\x20'+_0x4b700c);};if(!_0x4eb355){const _0x122622=(_0x5d25d9(_0x5a0ac4._0x18a2b5,0x9c)+_0x5d25d9(0x121,_0x5a0ac4._0x111288))['split']('|');let _0x153424=0x0;while(!![]){switch(_0x122622[_0x153424++]){case'0':console[_0x5d25d9(_0x5a0ac4._0x2e8e8f,_0x5a0ac4._0xb1dd0f)](_0x5e45c0(_0x5a0ac4._0x432bb1,_0x5a0ac4._0x31db2c)+_0x5d25d9(0x18b,0x1e3)+_0x2460ab['relayUrl']);continue;case'1':console[_0x5d25d9(_0x5a0ac4._0xc8fa63,_0x5a0ac4._0xb1dd0f)]('Gateway\x20'+_0x5e45c0(_0x5a0ac4._0x1af709,_0x5a0ac4._0x5a5fe7)+_0x1f5d20);continue;case'2':console['log']('');continue;case'3':console[_0x5e45c0(_0x5a0ac4._0x1c3670,0x6be)]('');continue;case'4':console[_0x5e45c0(_0x5a0ac4._0x432bb1,0x6be)]('Starting'+_0x5d25d9(0x1d0,_0x5a0ac4._0x1ead6b)+_0x5e45c0(_0x5a0ac4._0x2d9ef9,0x772)+_0x5d25d9(0xba,_0x5a0ac4._0x1ba9c1)+_0x5d25d9(_0x5a0ac4._0x100453,-_0x5a0ac4._0x4922ee)+_0x5d25d9(0xa,0x7f));continue;case'5':console[_0x5e45c0(0x7b4,0x6be)]('Instance'+_0x5d25d9(_0x5a0ac4._0x4e7ed6,0x21d)+_0x2460ab[_0x5e45c0(0x9c7,_0x5a0ac4._0x14a3dd)+'Id']);continue;case'6':console['log'](_0x5e45c0(_0x5a0ac4._0x2e0382,0x62c)+_0x5e45c0(_0x5a0ac4._0x3cf701,_0x5a0ac4._0x413d8b)+_0x2460ab[_0x5e45c0(0x49c,_0x5a0ac4._0x3055e7)+'d']);continue;}break;}}else _0x1ea360('Starting'+'\x20Clawket'+_0x5e45c0(0x4ab,_0x5a0ac4._0x9cb217)+_0x5d25d9(_0x5a0ac4._0x485825,_0x5a0ac4._0x5294a8)+_0x5e45c0(_0x5a0ac4._0x34f68e,_0x5a0ac4._0x3c8eef)+_0x5e45c0(0x42d,_0x5a0ac4._0x4bf221)+_0x2460ab[_0x5d25d9(-_0x5a0ac4._0x50463b,0x0)+'d']);_0x4eb355&&writeServiceState();const _0x5215e9=new BridgeRuntime({'config':_0x2460ab,'gatewayUrl':_0x1f5d20,'onLog':_0x521ba9=>{function _0x36269f(_0x58abb7,_0x5e7b9c){return _0x5d25d9(_0x5e7b9c,_0x58abb7-_0x545a9c._0x58bce4);}function _0x36abfa(_0x34562e,_0x3d2d02){return _0x5d25d9(_0x3d2d02,_0x34562e-0x12);}_0x250ae4[_0x36269f(0x87c,0x858)](_0x1ea360,_0x36269f(0x7dd,0x6fb)+']\x20'+_0x521ba9);},'onStatus':_0x59ddc4=>{if(_0x59ddc4[_0x1e8be9(_0x22d132._0x21264c,_0x22d132._0x3042e9)+'r']){_0x250ae4[_0x1e8be9(0x916,_0x22d132._0x248df1)](_0x1ea360,'[status]'+'\x20relay='+(_0x59ddc4['relayCon'+_0x1e8be9(_0x22d132._0x2db0a2,_0x22d132._0x59b001)]?'up':'down')+(_0x594ae4(0x3f,-0x61)+'=')+(_0x59ddc4['gatewayC'+_0x594ae4(0x197,0x9b)]?'up':_0x250ae4[_0x1e8be9(_0x22d132._0x16f475,_0x22d132._0x5dcb96)])+('\x20clients'+'=')+_0x59ddc4['clientCo'+_0x594ae4(0x3d0,0x3e0)]+'\x20error='+_0x59ddc4[_0x594ae4(0x29b,_0x22d132._0x49bc8a)+'r']);return;}function _0x594ae4(_0x3c1f09,_0x2ef769){return _0x5e45c0(_0x2ef769,_0x3c1f09- -0x428);}function _0x1e8be9(_0x54393b,_0x57ae2d){return _0x5e45c0(_0x54393b,_0x57ae2d-0x159);}_0x1ea360('[status]'+_0x1e8be9(_0x22d132._0x380a4d,_0x22d132._0x3f8899)+(_0x59ddc4[_0x594ae4(0x2f2,_0x22d132._0x37660c)+_0x594ae4(0x2d9,_0x22d132._0x195cc3)]?'up':_0x1e8be9(_0x22d132._0x46e913,_0x22d132._0x3f1b76))+(_0x594ae4(0x3f,0xcc)+'=')+(_0x59ddc4[_0x1e8be9(0x787,0x91a)+_0x594ae4(0x197,0x28b)]?'up':_0x1e8be9(0xaa5,0x8cf))+('\x20clients'+'=')+_0x59ddc4[_0x1e8be9(_0x22d132._0x431835,_0x22d132._0x10b0f4)+_0x594ae4(0x3d0,_0x22d132._0x42a8b7)]);},'onPendingPairRequest':_0x195688=>{const _0x472036={_0x3d1036:0x3cc},_0x48109d={_0x4b4c06:0x5d1};function _0x3356df(_0x118f91,_0x68ff14){return _0x5e45c0(_0x118f91,_0x68ff14- -_0x48109d._0x4b4c06);}function _0xad7fd2(_0x370957,_0x358f5c){return _0x5e45c0(_0x358f5c,_0x370957- -_0x472036._0x3d1036);}_0x1ea360(_0xad7fd2(_0x2c8a7f._0x30e553,_0x2c8a7f._0x5106a9)+'quest]\x20r'+_0x3356df(-_0x2c8a7f._0x59244d,-_0x2c8a7f._0x2336c3)+'='+_0x195688[_0x3356df(0x1b7,0x2f)+'d']+(_0x3356df(-0x20f,-0x6c)+'d=')+(_0x195688[_0x3356df(_0x2c8a7f._0x21d753,-0x91)]||_0x3356df(_0x2c8a7f._0x19204c,0x1bd)+'>')+_0x3356df(0xbc,_0x2c8a7f._0x5551e2)+(_0x195688[_0xad7fd2(0xe8,0x2b0)+_0xad7fd2(0x3d2,_0x2c8a7f._0x1b69cb)]??_0x3356df(_0x2c8a7f._0x17636d,0x1bd)+'>'));}});_0x5215e9[_0x5d25d9(0x4bd,0x2f2)]();const _0x27f442=async()=>{const _0x40277b={_0x2c0d83:0x2f},_0x2d8d83=(_0x2262ed(0x863,_0x2f39ab._0x54d201)+'2')[_0x301b78(0x17c,-_0x2f39ab._0x5b3315)]('|');function _0x2262ed(_0x4b66db,_0x4b4cf9){return _0x5e45c0(_0x4b66db,_0x4b4cf9-_0x40277b._0x2c0d83);}function _0x301b78(_0x5ce3cb,_0x2df4f6){return _0x5e45c0(_0x2df4f6,_0x5ce3cb- -0x392);}let _0x326ddc=0x0;while(!![]){switch(_0x2d8d83[_0x326ddc++]){case'0':process[_0x301b78(0x10b,0x12a)](_0x250ae4[_0x2262ed(0x5d7,0x52b)],_0x27f442);continue;case'1':process[_0x301b78(0x10b,0x2e7)](_0x250ae4['MFUja'],_0x27f442);continue;case'2':process[_0x2262ed(_0x2f39ab._0x37a299,0x485)](0x0);continue;case'3':_0x4eb355&&clearServiceState(process[_0x2262ed(0x474,0x4f6)]);continue;case'4':await _0x5215e9[_0x2262ed(_0x2f39ab._0x20aa73,_0x2f39ab._0x5f3f7b)]();continue;}break;}};process['on'](_0x250ae4['iGlvI'],_0x27f442),process['on']('SIGTERM',_0x27f442),await new Promise(()=>{});}function _0x5d25d9(_0x1ab23d,_0x54ce77){return _0xfff276(_0x54ce77- -0x24c,_0x1ab23d);}printHelp();}function printPairingInfo(_0x4fa2a3,_0x200dd8){const _0xb45a60={_0x3542e7:0x76b,_0x25460e:0x3ed,_0x15f94c:0x5bb,_0x345794:0x5c5,_0x1f6e31:0x4b2,_0x5ca37d:0x73f,_0x19311e:0x8d3,_0x588257:0x5fe,_0x373cbd:0x9df,_0x555a2d:0x91d,_0x584c80:0x4da,_0x4288b3:0x603,_0xb472c0:0x6ac,_0x2475c7:0x24b,_0x2e34e6:0x82f,_0x2e6ff9:0x313,_0x3ff990:0x48e,_0x1c9ed0:0x605,_0x42714f:0x751,_0x192788:0x940,_0x43713b:0x93f,_0x495620:0x900,_0x3be408:0x4e1,_0xa93484:0x3ed,_0x13a050:0x7c5,_0x5bd590:0x3da,_0x268153:0x298,_0x8e4f64:0x2e2,_0x3ee7c5:0x735,_0x3e2972:0x6c7,_0x2de628:0xbf,_0x53862f:0x1fe,_0x33ce10:0x87e},_0x202d33={_0x10a133:0x565};_0x4fa2a3['action']===_0x18634c(0x752,_0xb45a60._0x3542e7)+'d'&&console[_0x165765(0x282,_0xb45a60._0x25460e)](_0x18634c(0x6ea,_0xb45a60._0x15f94c)+_0x165765(_0xb45a60._0x345794,_0xb45a60._0x1f6e31)+_0x18634c(_0xb45a60._0x5ca37d,_0xb45a60._0x19311e)+_0x18634c(0x55c,_0xb45a60._0x588257)+'\x20the\x20pai'+'ring\x20cod'+'e.');console[_0x18634c(_0xb45a60._0x373cbd,0x82f)]('Gateway\x20'+_0x18634c(_0xb45a60._0x555a2d,0x923)+_0x4fa2a3[_0x18634c(_0xb45a60._0x584c80,_0xb45a60._0x4288b3)][_0x18634c(0x6bd,0x68a)+'d']);function _0x165765(_0xd12b8,_0x1571a1){return _0x5ae336(_0x1571a1-0x123,_0xd12b8);}console[_0x165765(0x5cb,_0xb45a60._0x25460e)](_0x18634c(_0xb45a60._0xb472c0,0x6c4)+_0x18634c(0x793,0x78b)+_0x4fa2a3[_0x18634c(0x4e8,0x603)][_0x165765(0x3aa,_0xb45a60._0x2475c7)]),console[_0x18634c(0x87b,_0xb45a60._0x2e34e6)](_0x165765(_0xb45a60._0x2e6ff9,0x181)+'\x20\x20\x20\x20'+_0x4fa2a3[_0x165765(0x68,0x1c7)+_0x18634c(_0xb45a60._0x3ff990,_0xb45a60._0x1c9ed0)+_0x18634c(_0xb45a60._0x42714f,_0xb45a60._0x192788)]),console[_0x165765(0x57a,0x3ed)](_0x18634c(_0xb45a60._0x43713b,_0xb45a60._0x495620)+_0x165765(0x31f,0x1d2)+_0x200dd8),console[_0x165765(_0xb45a60._0x3be408,_0xb45a60._0xa93484)]('\x0aScan\x20th'+_0x18634c(0x92b,_0xb45a60._0x13a050)+_0x165765(_0xb45a60._0x5bd590,0x34a)+_0x165765(_0xb45a60._0x268153,_0xb45a60._0x8e4f64)+_0x18634c(_0xb45a60._0x3ee7c5,0x70f));const _0x50e140={};function _0x18634c(_0xa15b1f,_0x28f56d){return _0x5ae336(_0x28f56d-_0x202d33._0x10a133,_0xa15b1f);}_0x50e140[_0x18634c(0x5e3,_0xb45a60._0x3e2972)]=!![],_0x1a3560[_0x165765(_0xb45a60._0x2de628,_0xb45a60._0x53862f)](_0x4fa2a3[_0x18634c(_0xb45a60._0x33ce10,0x886)+'d'],_0x50e140);}function _0x5ae336(_0x61bd58,_0x2ea73f){return _0x3b87(_0x61bd58- -0x180,_0x2ea73f);}function printStatus(){const _0x250a51={_0x5669b9:0x6d8,_0x5bd19e:0x179,_0x4ba08f:0x690,_0x154777:0x523,_0x4e80be:0x1cb,_0x15c994:0x690,_0x29016c:0x2d1,_0x461d59:0x553,_0x529538:0x3db,_0x97697b:0x7c8,_0x50cae1:0x930,_0x49563c:0x8b,_0x599c32:0x173,_0x8e6266:0x4e0,_0x4f2b8e:0x5f4,_0x4d3292:0x21b,_0x404f54:0x14e,_0x5891f8:0x3a1,_0x108b8b:0x1a7,_0x23fcee:0x58a,_0x312a05:0x3ea,_0x219086:0x732,_0x24a5a4:0x486,_0x3a6eb3:0x1d1,_0x4fd250:0x68f,_0x20f125:0x142,_0x527b49:0x5ec,_0x5a0618:0x541,_0x1c135c:0x4ee,_0x122318:0x66f,_0x3a9b9b:0x135,_0x5f56ed:0x690,_0x31b39c:0x7fc,_0x23e5b7:0x247,_0x2697c0:0x47b,_0x546463:0x4db,_0x20d838:0x419,_0x135ac6:0x4fb,_0x6c90c1:0x3fe,_0x5720e4:0x33c,_0x212e7c:0x729,_0x33e4fe:0x871,_0x42fd1c:0x1d3,_0x51eeee:0x4d9,_0x1986d2:0x352,_0x3cadeb:0x5b3,_0x19a7f5:0x72f,_0xc1e881:0x2ad,_0x4bd39a:0x6a0,_0x423263:0x29e,_0xe904b7:0x7d7,_0x2f9e35:0x83c,_0x27ee2b:0x7e2,_0x5a7fcc:0x505,_0x4d46f6:0x690,_0x492665:0x3dd,_0x2bee33:0x2d5},_0x2f5496={'lHQBZ':function(_0x23ea88){return _0x23ea88();},'LktdL':_0x269712(_0x250a51._0x5669b9,0x4f6)};function _0x269712(_0x423ae4,_0x340a86){return _0xfff276(_0x423ae4-0x29f,_0x340a86);}const _0x22b38e=readPairingConfig();function _0x37bcc9(_0x23c519,_0x51a891){return _0xfff276(_0x23c519- -0x144,_0x51a891);}const _0x320f59=_0x2f5496[_0x37bcc9(0x98,_0x250a51._0x5bd19e)](getServiceStatus),{logPath:_0x3f556c,errorLogPath:_0xc0681c}=getServicePaths(),_0x15614f=_0x2f5496['lHQBZ'](readCliVersion);console[_0x269712(_0x250a51._0x4ba08f,_0x250a51._0x154777)](_0x37bcc9(_0x250a51._0x4e80be,0x48)+'\x20\x20\x20\x20'+_0x15614f);if(!_0x22b38e)console[_0x269712(_0x250a51._0x15c994,0x727)](_0x37bcc9(0x318,_0x250a51._0x29016c)+_0x269712(_0x250a51._0x461d59,_0x250a51._0x529538)+_0x269712(_0x250a51._0x97697b,_0x250a51._0x50cae1)+_0x2f5496[_0x37bcc9(0x98,_0x250a51._0x49563c)](getPairingConfigPath)+')');else{const _0x29fa48=(_0x37bcc9(0x280,_0x250a51._0x599c32)+'5|2')[_0x269712(_0x250a51._0x8e6266,0x561)]('|');let _0x34abaa=0x0;while(!![]){switch(_0x29fa48[_0x34abaa++]){case'0':console[_0x269712(0x690,_0x250a51._0x4f2b8e)](_0x37bcc9(_0x250a51._0x4d3292,_0x250a51._0x404f54)+_0x37bcc9(_0x250a51._0x5891f8,0x438)+_0x22b38e[_0x37bcc9(0x108,0xce)+'d']);continue;case'1':console[_0x269712(0x690,0x51e)](_0x37bcc9(_0x250a51._0x108b8b,0x329)+_0x269712(0x475,_0x250a51._0x23fcee)+_0x22b38e[_0x37bcc9(_0x250a51._0x312a05,0x5c5)+'Id']);continue;case'2':console[_0x269712(_0x250a51._0x4ba08f,_0x250a51._0x219086)](_0x269712(0x73a,0x829)+'\x20\x20\x20\x20'+(_0x22b38e[_0x269712(_0x250a51._0x24a5a4,0x577)+_0x37bcc9(0x38d,_0x250a51._0x3a6eb3)]??'-'));continue;case'3':console['log']('Config:\x20'+_0x269712(_0x250a51._0x4fd250,0x57b)+'ed');continue;case'4':console['log'](_0x37bcc9(_0x250a51._0x20f125,0x127)+_0x269712(_0x250a51._0x527b49,_0x250a51._0x5a0618)+_0x22b38e[_0x269712(_0x250a51._0x1c135c,_0x250a51._0x122318)]);continue;case'5':console[_0x37bcc9(0x2ad,0x2d6)](_0x37bcc9(_0x250a51._0x3a9b9b,0xbe)+'RL:\x20'+_0x22b38e['serverUr'+'l']);continue;}break;}}console[_0x269712(_0x250a51._0x5f56ed,_0x250a51._0x31b39c)](_0x37bcc9(0xb2,_0x250a51._0x23e5b7)+_0x37bcc9(0x256,0x234)+_0x2f5496[_0x269712(_0x250a51._0x2697c0,_0x250a51._0x546463)](resolveGatewayUrl)),console[_0x37bcc9(0x2ad,0x3cb)](_0x269712(_0x250a51._0x20d838,_0x250a51._0x135ac6)+_0x37bcc9(0x256,_0x250a51._0x6c90c1)+(_0x320f59[_0x37bcc9(0x341,_0x250a51._0x5720e4)+'d']?'installe'+'d':'not\x20inst'+_0x269712(_0x250a51._0x212e7c,_0x250a51._0x33e4fe))+'\x20('+_0x320f59[_0x37bcc9(0x3b5,_0x250a51._0x42fd1c)]+')'),console[_0x269712(0x690,_0x250a51._0x51eeee)](_0x37bcc9(0x55,0x13b)+_0x37bcc9(0x256,_0x250a51._0x1986d2)+(_0x320f59[_0x269712(0x732,_0x250a51._0x3cadeb)]?_0x2f5496[_0x269712(0x688,_0x250a51._0x19a7f5)]:'no')),console[_0x37bcc9(_0x250a51._0xc1e881,0x168)](_0x37bcc9(0x134,0x65)+_0x269712(0x639,_0x250a51._0x4bd39a)+(_0x320f59[_0x37bcc9(0x3de,_0x250a51._0x423263)+_0x269712(_0x250a51._0xe904b7,_0x250a51._0x2f9e35)]||'-')),console[_0x269712(_0x250a51._0x15c994,_0x250a51._0x27ee2b)](_0x269712(_0x250a51._0x5a7fcc,0x41f)+'\x20\x20\x20\x20'+_0x3f556c),console[_0x269712(_0x250a51._0x4d46f6,0x6f4)](_0x37bcc9(_0x250a51._0x492665,0x51b)+_0x37bcc9(0x1e8,_0x250a51._0x2bee33)+_0xc0681c),!_0x22b38e&&(process[_0x37bcc9(0x129,0xf5)]=0x1);}function printServiceResult(_0x55a192,_0xf02718){const _0x3d6547={_0x13a414:0x88,_0x40757b:0x5a5,_0x3143de:0x87,_0x2d53bc:0x41,_0x43cf86:0x91,_0x479dad:0x3a3,_0x189cc3:0x1d1,_0x237a1f:0x2bd,_0x30e037:0x3b3,_0x782cd6:0x484,_0x558cde:0x202,_0x16c0f7:0x2f8,_0xdfb074:0x3f2,_0x4bdb54:0x2c9,_0x1d89ac:0x1e0,_0x4e1526:0x4f0,_0xcc6d7c:0x577},_0x402342={_0x456023:0xf9};function _0x31fd6a(_0x4a4e67,_0x46f94d){return _0x5ae336(_0x46f94d- -_0x402342._0x456023,_0x4a4e67);}const _0x1877cc={};function _0x459bfc(_0x1d18d9,_0x53891f){return _0x5ae336(_0x1d18d9-0xdf,_0x53891f);}_0x1877cc[_0x31fd6a(-0xe5,_0x3d6547._0x13a414)]=_0x459bfc(0x43d,_0x3d6547._0x40757b)+_0x31fd6a(-_0x3d6547._0x3143de,0x20)+'ng',_0x1877cc[_0x31fd6a(-_0x3d6547._0x2d53bc,_0x3d6547._0x43cf86)]=_0x31fd6a(_0x3d6547._0x479dad,0x265)+'d,\x20stopp'+'ed';const _0x27c9b6=_0x1877cc;_0x55a192&&console[_0x31fd6a(0x4e,_0x3d6547._0x189cc3)](_0x55a192),console[_0x459bfc(0x3a9,0x2ca)](_0x459bfc(0x132,_0x3d6547._0x237a1f)+'\x20'+(_0xf02718[_0x31fd6a(_0x3d6547._0x30e037,0x265)+'d']?_0xf02718[_0x459bfc(0x44b,_0x3d6547._0x782cd6)]?_0x27c9b6['tTkBb']:_0x27c9b6[_0x31fd6a(0x250,0x91)]:'not\x20inst'+_0x31fd6a(_0x3d6547._0x558cde,0x26a))),console['log'](_0x31fd6a(_0x3d6547._0x16c0f7,0x244)+_0x459bfc(_0x3d6547._0xdfb074,0x3ac)+_0x459bfc(_0x3d6547._0x4bdb54,_0x3d6547._0x1d89ac)+(_0xf02718[_0x459bfc(0x4da,0x4e0)+_0x459bfc(_0x3d6547._0x4e1526,_0x3d6547._0xcc6d7c)]||'-'));}function printDoctorReport(_0x4651f9){const _0xc162f1={_0xdf23ad:0x5b3,_0x452ba0:0x4b7,_0x596f1d:0x46b,_0x22f111:0x3de,_0x2c605f:0x4c2,_0x1a35f0:0x423,_0x4a1cf2:0x42a,_0x321cc7:0x426,_0x512585:0x50e,_0x54b332:0x628,_0x2e7f4f:0x33f,_0x3037e0:0x6ab,_0x1507b5:0x68a,_0x4019e9:0x4c6,_0x3e2251:0x281,_0x31c826:0x1bd,_0x59b5b5:0x15f,_0x119274:0x4c6,_0x13e4f9:0x2e0,_0x5ad619:0x6e3,_0x2a64c9:0x6df,_0x75f1b:0x466,_0x436c64:0x63f,_0x292ac8:0x54b,_0x10734e:0x423,_0x4da20a:0x496,_0x239575:0x2ff,_0x5ddc5d:0x313,_0x2739f5:0x56a,_0x457a89:0x555,_0x18f08:0x4a3,_0x3af18c:0x5f3,_0xa18c70:0x56e,_0x1b0ab6:0x39f,_0x3767ca:0x409,_0x1eb4b4:0x25a,_0x11db89:0x2ac,_0xf6f914:0x4c6,_0x3ca270:0x30e,_0x333b16:0x5cc,_0x19a471:0x60f,_0x1bea5d:0x308,_0x5ec0d3:0x39d,_0x476fbe:0x3be,_0x32ee19:0x60b,_0x4ca2a3:0x266,_0x2e128f:0x491,_0x2f4ead:0x502,_0x1c91be:0x3d7,_0x454fa2:0x551,_0x1071d9:0x525,_0x4ba32c:0x391,_0x76d55d:0x5b4,_0x1248b8:0x3c5,_0x56b6d1:0x4c7,_0x4a94f9:0x62a,_0x37020c:0x1f4,_0x27fa59:0x443,_0x21cf39:0x3a6},_0x49b479={};_0x49b479[_0x80ffd8(0x264,0x32c)]=_0x80ffd8(_0xc162f1._0xdf23ad,_0xc162f1._0x452ba0)+'d',_0x49b479[_0x3e388f(0x496,0x2cf)]=_0x80ffd8(0x5f8,_0xc162f1._0x596f1d);const _0x5ec0ee=_0x49b479;console['log'](_0x3e388f(0x58a,_0xc162f1._0x22f111)+'\x20\x20\x20\x20\x20\x20\x20\x20'+_0x3e388f(0x4c6,_0xc162f1._0x2c605f)+(_0x4651f9['paired']?_0x80ffd8(0x35d,0x46b):'no')),console[_0x80ffd8(0x320,_0xc162f1._0x1a35f0)](_0x80ffd8(_0xc162f1._0x4a1cf2,0x391)+_0x3e388f(_0xc162f1._0x321cc7,_0xc162f1._0x512585)+_0x3e388f(0x4c6,_0xc162f1._0x54b332)+(_0x4651f9['gatewayI'+'d']??'-')),console['log']('Server\x20U'+'RL:\x20\x20\x20\x20\x20'+_0x3e388f(0x4c6,0x4d1)+(_0x4651f9['serverUr'+'l']??'-')),console[_0x80ffd8(_0xc162f1._0x2e7f4f,_0xc162f1._0x1a35f0)](_0x80ffd8(0x1e8,0x2b8)+_0x3e388f(_0xc162f1._0x3037e0,_0xc162f1._0x1507b5)+_0x3e388f(_0xc162f1._0x4019e9,0x378)+(_0x4651f9[_0x80ffd8(0x115,_0xc162f1._0x3e2251)]??'-')),console[_0x80ffd8(0x313,0x423)](_0x80ffd8(_0xc162f1._0x31c826,0x31d)+_0x80ffd8(_0xc162f1._0x59b5b5,0x1b5)+_0x3e388f(_0xc162f1._0x119274,_0xc162f1._0x13e4f9)+(_0x4651f9[_0x3e388f(_0xc162f1._0x5ad619,_0xc162f1._0x2a64c9)+'Id']??'-')),console[_0x3e388f(0x5a6,0x5d1)]('Service:'+_0x80ffd8(0x4ec,0x51d)+_0x3e388f(0x4c6,_0xc162f1._0x75f1b)+(_0x4651f9[_0x3e388f(0x396,0x487)+_0x80ffd8(0x420,0x3f2)]?_0x5ec0ee[_0x80ffd8(0x25e,0x32c)]:_0x80ffd8(0x4f7,0x52f)+_0x3e388f(_0xc162f1._0x436c64,0x5dd))+'\x20('+_0x4651f9[_0x80ffd8(0x3d3,_0xc162f1._0x292ac8)+'ethod']+')');function _0x80ffd8(_0x5d5401,_0x32dca7){return _0x5ae336(_0x32dca7-0x159,_0x5d5401);}console[_0x80ffd8(0x266,_0xc162f1._0x10734e)](_0x80ffd8(0x35b,_0xc162f1._0x4da20a)+'running:'+_0x80ffd8(0x43c,0x343)+(_0x4651f9[_0x80ffd8(_0xc162f1._0x239575,0x287)+'unning']?_0x5ec0ee[_0x80ffd8(0x19c,_0xc162f1._0x5ddc5d)]:'no')),console['log'](_0x80ffd8(0x331,_0xc162f1._0x4da20a)+'path:\x20\x20\x20'+'\x20\x20\x20'+(_0x4651f9['serviceP'+_0x80ffd8(0x6ed,_0xc162f1._0x2739f5)]||'-')),console[_0x3e388f(0x5a6,_0xc162f1._0x457a89)]('Log\x20path'+':\x20\x20\x20\x20\x20\x20\x20'+_0x80ffd8(0x211,0x343)+_0x4651f9[_0x3e388f(0x341,0x46e)]);function _0x3e388f(_0x3b5a8f,_0x1e6f49){return _0x5ae336(_0x3b5a8f-0x2dc,_0x1e6f49);}console['log']('Error\x20lo'+_0x80ffd8(0x4e1,_0xc162f1._0x18f08)+_0x3e388f(_0xc162f1._0x4019e9,0x384)+_0x4651f9[_0x80ffd8(0x5a2,0x572)+_0x3e388f(_0xc162f1._0x3af18c,0x7ba)]),console[_0x80ffd8(0x445,0x423)](_0x3e388f(0x42f,0x326)+'\x20dir:\x20\x20\x20'+_0x3e388f(0x4c6,_0xc162f1._0xa18c70)+_0x4651f9[_0x3e388f(0x491,_0xc162f1._0x1b0ab6)+_0x3e388f(_0xc162f1._0x3767ca,0x4d9)+'r']),console[_0x3e388f(0x5a6,0x5cd)](_0x80ffd8(_0xc162f1._0x1eb4b4,_0xc162f1._0x11db89)+_0x80ffd8(0x39d,_0xc162f1._0x321cc7)+_0x3e388f(_0xc162f1._0xf6f914,0x636)+_0x4651f9[_0x80ffd8(0x125,_0xc162f1._0x3ca270)+_0x80ffd8(0x1c7,0x3b7)]),console['log'](_0x80ffd8(0x391,_0xc162f1._0x11db89)+_0x3e388f(_0xc162f1._0x333b16,0x6ea)+_0x3e388f(_0xc162f1._0x4019e9,_0xc162f1._0x19a471)+(_0x4651f9['openclaw'+_0x80ffd8(_0xc162f1._0x1bea5d,_0xc162f1._0x5ec0d3)+_0x80ffd8(_0xc162f1._0x476fbe,0x372)]?'found':_0x3e388f(_0xc162f1._0x32ee19,0x7c9))),console[_0x3e388f(0x5a6,0x42f)]('OpenClaw'+_0x3e388f(0x33c,_0xc162f1._0x4ca2a3)+_0x3e388f(0x4c6,0x691)+(_0x4651f9[_0x3e388f(_0xc162f1._0x2e128f,_0xc162f1._0x2f4ead)+_0x3e388f(0x328,_0xc162f1._0x596f1d)+'nd']?_0x80ffd8(_0xc162f1._0x1c91be,_0xc162f1._0x454fa2):_0x3e388f(_0xc162f1._0x32ee19,0x428))),console[_0x3e388f(0x5a6,0x771)](_0x80ffd8(_0xc162f1._0x1071d9,_0xc162f1._0x4ba32c)+_0x80ffd8(0x285,0x296)+'\x20\x20\x20'+_0x4651f9[_0x80ffd8(_0xc162f1._0x76d55d,0x4d5)+_0x80ffd8(0x43f,_0xc162f1._0x1248b8)]),console[_0x80ffd8(_0xc162f1._0x56b6d1,0x423)](_0x80ffd8(0x52d,_0xc162f1._0x4ba32c)+_0x3e388f(_0xc162f1._0x4a94f9,0x477)+_0x80ffd8(0x1d4,_0xc162f1._0x37020c)+(_0x4651f9[_0x80ffd8(_0xc162f1._0x27fa59,0x4d5)+_0x3e388f(_0xc162f1._0x21cf39,0x40a)+'hable']?'yes':'no'));}function _0x5b61(){const _0x2b0d97=['nZm4nJC3n2fRuNLtra','vujmsumGiI0','BgLZDa','CdOVl3D3DY4','C2uGC2nOzwq','ls1XDwLLDa','BhjLywr5iha','y3jVC29MDfW','qvripsi','zs5JBgK','Aw9Ul2PZB24','EgHJB0C','y29UBMvJDa','u0nssvbux1a','BMuUDgfYz2u','y3rLzcbJB2q','y2XPzw50rgu','phvUA25VD24','uviGAw1Hz2u','y3rPDMf0Aw8','zgDLigLZige','zxqUyNjPzgC','wY0TANnVBL0','zw50CW','ihbSAxn0ifa','t3z0wMi','BwfUzfn0yxi','CMvQzwn0zwq','AxngAw5PDgu','zgv2AwnLtMe','B2rLiciKu0m','EejPuw4','seTdvvXtB2y','yw1L','pGOGidXRzxK','r0vMzgK','EhviD0i','CxjjBwfNzva','CMvSyxLbDhq','yxj0','CMvSyxKGCMu','zhDmthC','zxjYB3i6ia','BgWIig9Yici','zLniq04','zMLSDgvY','tgLICMfYEq','rI04iJ8+cJW','s0vuBK8','lMXVzW','CMvWBgfJzue','yxjNDG','Df9Yzxf1zxm','suq6ia','y2uU','iejYAwrNzsa','qvvrsgO','yxbWBguUy28','EhnOr3e','icaGicaGica','zgLZy29UBMu','qNjPzgDL','CNnPB249iJe','BYbYzxnVBhy','r1D2uge','B3iGmwqU','CNvUDgLTzsa','id4MmG','z2f0zxDHEum','uMvZDgfYDgu','tdOGicaGica','yxbWCM92zwq','zcbZzxj2Awm','Bwv0Ag9K','phn0CMLUzZ4','DxrMoa','DwuVpGOGidW','BM90igLUC3q','ls1Zzxj2Awm','zgLZywjSzq','EvP4s2W','y29UBMvJDfi','C0f0','C3vJy2vLzgu','DxbKyxrLzee','B2rLihjLzNi','ywX1zxmGBgK','twrTz1y','uMvXDwvZDfi','CZWVA2v5pGO','z0DTA2m','y291BNq','BwfPBG','tu5jwfi','BwfYA1bHAxi','yxLezw1HBMq','zunSB3nL','pLbYB2DYyw0','CgfYC2u','BwuGBM90igy','CxiTzMLSzsa','zwqGyMvJyxu','ihjLBgf5pq','t3bLBJ0','mtf8mtj8n3W','C2vYDMLJzu0','DfrPBwvY','lJaUmc4XoG','zcbMB3iGzNi','z2v0','yLznALC','zM91BMq','r2f0zxDHEvi','rxjYB3iGtg8','C2vYDMLJzva','r0XjqNe','veGIiciKu0m','C3rvDLe','CMvTB3rLsxa','C3rVCa','uvbgzfG','CgfPCMvKicG','uLDkEe8','Dw50','CLf1zxvLr2e','zxnOignSAwu','Aw5ZDgfUy2u','BMfTzq','BMrnCZ0','B3zL','l3jLz2LZDgu','Eu1Z','CMvSyxLtzwm','tw9IAwXLiem','mhWXFdr8m3W','mtC3mJm3nfDgCejOyW','yxrO','lw5LDW','igjYAwrNzsa','BMqGlxyGBM8','s1niyKe','y29Kzq','C3rHCNq','kYKRja','zxjYB3jmB2C','yxLnCW','lNbSAxn0','BMCUieXLzNq','odC4oq','q2XLyxjLzca','y29UBMvJDc4','w3bHAxiTCMu','yw1Lia','y2uGD2fZigK','DgLTzw91Da','ChvZAa','CMvSyxKGAgu','zxHPC3rPBMC','Axn0zxiGzMe','D3nZoG','Dw5SB2fK','B2jQzwn0','uMvTB3zLzca','vg9Rzw5gB3u','C2HPzNq','lZeYnY4WlJa','D0TAAxa','u2vYDMLJzv0','BwfYA0rLDMK','CMf3','u2vYDMLJztO','CxvLC3q','zNjHBwuG','qNjPzgDLige','zgXLrgLZy28','ywr6Aeu','BgvUz3rO','ChbLzc4GuMu','BM9VCa','ieLeoIaGica','Et4kica8C3q','rxHWAxjLCZO','C2vYDMvY','ihrVA2vUoIa','zgvZDhjVEq','zxHPDa','zgvSzxrL','B3vUDa','Bg9Nugf0Aa','zxzLBNqGBMe','B2TKAhi','u1zmAfC','y2vZuMvJzw4','phbHDgG+xsa','DwXLzcbYzwe','tM8GBwf0y2G','yK1NrK4','AxnbCNjHEq','zwrcEt1Kzwy','BhzLza','zMX1C2Hqzw4','uNvUBMLUzZO','igDHDgv3yxK','D2f5uMvXDwu','CNvUiIbTyw4','y2uGywXYzwe','CgvU','tMLnBK4','CMvJEwnSzsa','zcWGyNv0ihm','y29UDhjVBf8','BwvZC2fNzq','yxbWzw5KoG','ywn0Aw9U','EgzlC0y','B25Uzwn0u3q','C2nVBM5Ly3q','Aw5JBhvKzuu','yxK+cIaGpgS','z2f0zxDHEvq','CMv1C2uGB3a','zwXHChnLzfm','CMvZDgfYDa','ihnPBMnLr2e','AgvHCNrIzwe','z2f0zxDHEsa','iIrot0rfx1a','tKHOBhi','u25gzM4','A2D6yvO','wLHOvLe','zxDHEq','q0D0r0q','Dgv3yxK','C29Tzq','CMvHC29Upq','uKvhx1nA','qwXPDMu8l2S','C2v0vgLTzw8','jMD0oW','zwzYzxnOzwq','zhrKiJ4kpha','ztOG','Bwf4','DhjSk0mGDg8','y29UzMLN','Bgf3A2v0ihi','zgvfEhbPCMu','zxrYEvrPBwu','zgvUDgL0Esa','y2XVC2u','ywnJzxnZq28','yxjNzxqkcLS','ls1Uyw1L','B3bLBG','tMjfDK4','B2zM','q2rnq3C','C2v0','mhWZFdj8mxW','DMvYC2LVBG','DgHLBG','oIaGia','CNrIzwf0','ww91ignHBIa','zhKGCNvUBMK','tKfNzhK','zffUtuO','BeHrqLO','Dg9eyxrHvvi','ChjVDg9JB2W','BgLZDcb2zxi','zKjIy0i','C2vYDMLJzuK','Bg9Hza','l251BgWGmJ4','zxqGCMvHC28','A2v0','ls1XCI1MAwW','zgLZCgXHEu4','q3rfv2G','Bg9NCW','CxvLDwuGChu','zxnJCMLWDgK','A2LUz0rPCMu','qKHeEwi','AgfUzgXLuMu','C3rYAw5NAwy','yMfJA2DYB3u','zxDHEvjLywm','l3DZ','C2nOzwr1Bgu','AxjPBMCU','thLHrue','r2f0zxDHEtO','ls1Zzxj2zxi','yw5KC2HHA2u','zwqGka','CgLK','zxjZ','yNjPzgDLlq','zgv2AwnLlNa','zcbXDwv1zwq','u1P4B2u','B25SAw5LlNq','C2vzrg8','z2vUzxjHDgu','CgfPCIbBls0','cLjLC3rHCNq','z2f0zxDHEuG','s1L3AvC','CMvXDwLYzwq','sw5ZDgfSBgu','zxqGqNjPzgC','CNvU','tw1Usw4','CMvNAxn0zxi','wffiDg4','zxj2AwnLige','C2vUzfrVr2e','pL0GwY0TBgK','zgfYD2LU','Dg9Rzw4','tg9HzdWVA2u','Aw5Nr2f0zxC','zM9Yy2u','CMvWBgfJzq','lNbUzW','yxbWBhK','wKTgAgK','B25qzw5KAw4','ANnVBG','Ahr0Chm6lY8','zevYCM9Ypwe','CMvX','zg9JDg9Y','zw5ZDxjLr2e','zgv0ywnOzwq','DgLTzwqGB3u','C3rHCNrLzee','DMLJzsbPBNm','yxbZAg90','BgLUDxG','z0Pwzfu','igXVywqGDgG','zwnOBYaIBM8','tNbVwvq','C2uGC2TPCha','Df9YzwXHEv8','D2LUzg93C0G','AM9PBG','AuDSDKK','whbquhK','ignVDw50pq','y2fUy2vSr2e','C3rHBguGy28','lMnVBMzPzW','C3rHCNrPBMC','Es11CMW','zxDHEsa','ywLYlMfWChi','z2vZ','pgTLEt5tDge','nJrXr0PQreO','C2j0AhK','tfnpDxa','y2XPzw50x2m','zg11wgS','zcWGCNvUBMK','C3bSAxq','twz5A0u','BMvyv0i','zNrLCIbPzgW','DgvK','y29UBMvJDca','CMLKz2vdBgK','ywLYuMvXDwu','Cgf5Bg9Hza','CgvUzgLUz1a','igrLy2LZAw8','z2f0zxDHEuK','qMfJA2DYB3u','pL0GwY0Tzxi','CMvSyxLvCMW','z2f0zxDHEvu','ENDuwuC','y29UBMvJDgu','CMvQzwn0uge','q29UzMLNrgK','C2vYDMLJzvi','zgfLBw9Ulxi','zsbKzwXHEsa','C3rHCNrZv2K','shrrD0e','y29UzMLNig4','BMDqywLYuMu','r3DfrMi','lNnLCNzPy2u','CMvJB25Uzwm','z2f0zxDHEq','CxvLC3rjzd0','yxbWBgLJyxq','yw5Ktxm9','Awj3vNq','vvjmoIaGica','ica8yxjYyxK','tg9NoIaGica','A2u9','C2uGywXYzwe','ywLYlNjLAMu','Dg9ju09tDhi','uuPlzwq','yxv0Aa','zxHPDenVzgu','C3rHCNrizwe','zxf1zxn0swq','CMv0','suq6icaGica','wgfitwS','zgv2AwnLswq','y29KzsbBls0','lMnSyxDRzxq','CNvLlZ4kica','BMqU','ugf0AdOGica','u2vYDMvYifu','t3bLBKnSyxC','zgXLq2XVC2u','mJqZntG4mg9RDLfvsa','ruD0Dee','zxnVBhzLza','jMfWB3m7','BNvTyMvY','u0Lhsu5u','Axjszxf1zxm','zxHPDcaXmJC','zw1WDa','DxnLCG','uMvSyxKGvvi','C2vYDMLJzsi','EvviD3O','C21HBgW','ue9tva','shjbBNK','CMvNAxn0CNK','D2LKDgG','AcbHigrPzMy','ugf0AdWVA2u','B2TLBG','Eu9Wzw4','Dgv3yxLnzxm','m0XgtvH6rG','zwXVywq','B24U','Dg9mB3DLCKm','l3yXl3bHAxi','igrLDMLJzuK','CMvZAgvKlG','BMqGC2vYDMK','zw50rgvTyw4','BJOG','mNW0Fdu','r2fjyvi','iI4GvxnLihy','tgLxu1i','ifjLC3rHCNq','y0Lgrgy','iMnSyxDRzxq','CM9Szq','ifbYzxnZiem','BeHyB20','Aw1Hz2uVCg4','DfrRqMi','Dw5RBM93BG','B3j0','lM9Wzw5JBge','l1bjra','CgfPCG','zNjVBq','B25Uzwn0Aw4','vgLTzxi','EvzKweO','yxrLD2f5twu','Aw5ZDc0','icaGig5VDca','ienSyxDRzxq','CgXHDgzVCM0','AxnjBNrLz2u','CMvMCMvZAc0','AxnTyxrJAa','AxnJB25Uzwm','Bwf0y2G','C2GGy2HHBgW','zg9JDg9YifS','pGO8l2rPy3q','CMvSyxKGzgK','swq9','lJaUmc4XoJe','z2f0zxDHEvi','zxzLBNq','yMLhzxa','CNvUifSTlwC','svzvAKW','ywnRz3jVDw4','sd0I','vvjmoIa','AwrLBNrPDhK','ihn0B3aU','C2fNzq','u0Lhvevstq','qNzAv00','ywnJzxb0','AdOG','DcbHCha6cG','uNn6yMe','mM0SidfOlca','vLbJvxa','lw5HBwuGpgq','DaPxyw50CZ0','BwLU','zxqGAw5ZDge','Bgf5q29UDhi','AxjZDc4Gq28','Dgv4Da','B3bLBMnSyxC','r0LpsNq','CMvJzw50','lI4VCgfJA2e','q3vSs3e','zuz3Bwu','BxfhEKW','DgjLyxq','C3rYAw5N','q2XP','zsbdBgf3A2u','sfz2ufO','nNW1Fdb8mxW','Ag90','AfnzBwq','sw5ZDgfUy2u','DgvYBwLUyxq','r1Ddrui','AxmTywn0Axy','ihnLCNzPy2u','CgfPCMLUzYa','zxjLBNqGC2u','B25Uzwn0zwq','AwyGwYaTEca','Bgf1BMnOy3q','lMfP','l0rurcbqteK','q2XHD2TLDei','Be9KtNe','y2XVC2vKoIa','rejZtvO','Bg9NCYbBls0','Bwu9','BM5Ly3rLzca','y2XPzw50q28','DMfSDwvZ','suq6ica','Axn0lteUmc4','yNjPzgDLlwm','EMrjvLa','ru9WB3i','ve1qzvm','y29UzMLNrM8','DxbKyxrLu24','CMvSyxKGy28','Cgf0AevUDG','sfLiEvm','AwyGy29TBwe','mci+cJXKAwm','ls1LCNjVCNm','rLfkDKu','vMvYC2LVBJO','DfrPBwvVDxq','icaG','DuX3Efy','DgfSBgvKigi','ls1UB3C','BMvMs00','Cg9YDa','AgfUzgXLr2e','lvrfuK0','BNrFzgLZy28','ywrKugvUzgK','z3nbs1C','tM90ihbHAxi','C3rYEq','DgLUzYbMCMu','DMndr0q','ru4IicjODhq','zcbIywnRz3i','ChvZAfbLBMq','CgfYyw1Z','vw5HyMXLihq','ChbLBMq6','CMvZ','zwLMzMe','uLzxrgC','BgfZDfjLBge','zgvJAxnPB24','uvrwsuq','zZOGia','CMvMCMvZAgu','AxnszwXHEu8','zxzLBa','C3LZDgvTzc0','iurpq1rzueu','B2X2zwqGCMu','CMvXDwvZDeK','t3fSsfu','pg5VBMu+','lIbsDw4GCge','yxvUy2HLCI4','D3m6lY8XmJC','y29UDgvUDc0','zKzpswK','DMLJzsbMB3i','lxnLCNzPy2u','A2uGmZbZlca','CMvXDwvZDgu','tgf1BMnOqwC','Dw5K','BxLizfy','DgvKihbSyxq','C3rVCeHLyxi','zhKGC2nOzwq','u3rHCNrLza','nZCWmZqZA3znzgrl','D2f5ihjLB3a','q3vYCMvUDfy','AxncDwzMzxi','vvretuy','ALjOCee','zxjZAw9Uxfi','tdOGia','zguGAw4GDgG','yxnL','A2v5pKTLzxa','vgLzD00','BhDoBMC','CMvHzhLtDge','ywDLBNrZ','BM5Ly3qGzhi','DgvKqxrnCW','AcbMB3iGC2u','C29YDa','BgvKihjLyxm','D2f5twvZC2e','Aw5JBhvKzxm','v0Pku0u','yxLnCZ0','qvriiIbDoYa','r2f0zxDHEsa','z2f0zxDHEva','yxrLD2f5lxu','Et4kica8Dhi','lwPZB25D','zevYCM9Yuge','zwqU','cLr5Cgu9C2K','tgj6q1G','DgG8l2TLEt4','C3rZ','jMX0oW','q29UzMLNrM8','yxnZAwDU','BgfZDfnLzw4','D3nZoI8V','ugfPCMLUzYa','Aw5N','zw4GC2LUy2u','ywLYzwqGD2K','cIaGpc9HCNi','wgzMvKq','z2f0zxDHEvm','y2XPzw50tMe','zgf0yq','vgHPCYbICMK','BMvJDgLUzW','CMvSyxKGzxi','B25Jzq','DcbKzw1HBMq','ls1Syxn0ihy','whj3sg0','zwXHEq','AgfZ','B3jRlw9UBgK','DgnSC2u','Bgf5twvZC2e','De1HEerLBge','twvKAwfeAxi','CMvXlq','AxmGuviGy28','tvDLBuK','Be1Z','lJe6mtG3odK','B2nRzxq','AwXLzcaO','BM93','C2uGy2fUy2u','Bwf4ugf5Bg8','whnpCxq','qxjNDw1LBNq','nhWWFdf8m3W','zxDHEvvYBa','z3H1v2q','ueLft04','DuPOr3e','DxjSpL0GwY0','D1fYBvK','l2fJy2vZCY0','icaGia','B21rsK8','Dgv3yxLpCgu','Dg9zs0G','je5prevFuee','B3nLzdOG','B3b0Aw9UCW','s2zZCvu','zw50pwnSAwu','mtn8nhW2Fdu','AcbUBYbHy3q','ywKUy2XHD2S','DhDHCMvCtwK','BMP4tuu','DwvZDa','D2LUmZi','uKLqvf9qqvq','zgLUz0DHDgu','u3rVChbLzca','C2vUzeDHDgu','CMvZigLKpq','lMPZB24','zwqGy29Kzt0','B25tDgf0Dxm','zxj2AwnLlwW','AxzLihnVy2S','uMXQD0u','zM9YD2fYze8','Dgv3yxLdB24','C3rKAw8','DgvYq3C','CNzPy2uGDg8','BwfW','Aw5Jzq','C29Upq','r2f0zxDHEuK','zMX1C2GGCxu','BgfIzwW','BNn0ywXSzwq','uMvSyxLszwm','jNf1B3q7','ywX1zsaI','m3WWFdf8nhW','B25Uzwn0','cIaGphn0CMK','Auz3C2W','BgLLBNq','Avvry0O','yNjPzgDLlxm','DgfYDdOG','CMvJDxjZAxy','BgKUANnVBG','C3LZDgvTy3q','w1vUAxrDcKq','BM5iwLe','ls1Syxn0','CNvUlxjLz2K','y2f0y2G','zcbZAw5Jzum','ugfPCMvKoIa','qwPNtw8','ALzuBw8','mti3lJaUmc4','t1bftG','weHXvNq','igHHBMrZAge','B2q9','rMDnCKO','ihf1zxvLzd0','ihvUy2HHBMC','tvbUz2K','pGO8l3bSAxm','y2XLyxjuAw0','DwfSBhKU','D1LJveS','igLKpq','z2f0zxDHEv8','mJa1mdq1q0zQA1fP','Aw5ZDgfSBa','tgT0zeW','tK9erv9qqvq','BNrYB2WGzxy','v2LUzg93C1W','vgD0zKu','Bgf1BMnOywC','zMLUza','icaGihbHAxi','Bg9N','pc9ZDhjPBMC','yxLnzxnZywC','ig1LzgLHoIa','BgXDcLDHBNq','BgfZDevYCM8','D2LUzg93CY0','ls11C2vY','C2uGy2XPzw4','tNvtBgq','nhWW','CM9Wzxj0EuW','CMvSyxKGy2W','Aw5Nienmssa','AgfUzhnOywS','uK9zuu4','y2XVC2vKige','zwqUifj1BIa','yxHZENG','y2XVC2vhyxq','DhjPBq','EufJDgL2Axq','zcbKzwXHEu0','BwfYz2LU','z2uUANnVBG','AgvSCa','BK1Zpq','y2XPzw50swq','tK9ux1bbsvi','BgLLBNrezw0','BgfZDe1Z','zerLDMLJzxm','B3vUzcbMB3i','BM9KzvbHDgG','C2vYDMLJzq','C2XPy2u','B25mB2C','B3vUzcbZzxi','ignVBMzPzZO','AwvUDerLBwe','yxr0zw1WDd0','C0j3AeS','u1qGms4WlY8','CMvSyxLtB2m','ls1NyxrLD2e','ywrK','DwrWugK','DgGG','C2vHCMnOuge','pLn0yw5Kyxi','C3nHz2vZ','CgvUzgLUzW','cLn0yw5Kyxi','zxHWB3j0ifa','x19JBgf3A2u','C25HChnOB3q','lJaIigvUy28','BgLuCNC','mZeZmtGYmhD6Bgn5tG','ihjLDhvYBMu','AgfZr2f0zxC','B3vUDf96zxi','tdOGica','v3vRzLO','CMfUzg9T','yxvSDc50yxi','BwLSEq','BMvJDgvK','C3rVCMvK','Fde1Fde0FdK','A2vtDgfYDgu','ignVzgu9','EwvZ','Cgf0AdOGica','AgzTtgy','BMrHCMrpDxq','CMvZzxq','ugf0Aa','zwm9mGPxB3i','t3PozLi','A2LSBa','C2vYDMvYvxi','y29Uy2f0','zw50pq','ueDSBu8','BvbXA3O','mJaW','CxjqyxLSB2e','w2nSyxDRzxq','C2vHCMnO','ihvYBd0','D1HMtgy','CMvSyxLdB24','ls1SAw5LCW','AKjVuwS','BMv0D29YAY0','AwDUB3jL','ktOG','C2vYDMvYidW','mJe5mtK0nhzlBerAsG','ze1Zpq','BwLZC2LUzW','C2nYAxb0uge','jMfTCdS','Dd4k','uMvZDgfYDfm','ihj1BNrPBwu','q29UzMLNoIa','CgfPCIbYzxe','DvnTAwy','CgvUzgLUz0C','C2vYDMvYlw0','zw50','m3W0Fdi','C3rVChbLza','u2vYDMLJzsa','Ag9ZDa','Cg9UzW','cGPBsw5ZDge','EKHezgi','ieLeoIa','Dg9tDhjPBMC','AKLWwNa','BM5Ly3qGyxq','qxrnCW','zgLUzYbYzxe','BIbMywLSzwq','Ahr0CdOVlW','zYbWyxrOoIa','Cgf0Ag5HBwu','zgvMyxvSDa','vw5ZDxbWB3i','CMvHy2HHyMW','A21mwfm','C3rHCNqGDxi','BgKTzxjYB3i','AxnhyxrLD2e','ihnPBMnLq2W','D3m6lY8','ww5QweC','CM9YoIa','CM9YC10GwY0','BgLUzxm','Dgv3yxLjzgW','BMzPzYbWyxq','z3fpAe0','pd94BwWGDMu','lIbsDw4GiMm','Aw5ZDgfSBgu','qKDLsK8','kcGOlISPkYK','y2XHD2TLDca','CMWGphDZoI8','ywXSzwq','yxj0yMvHDca','C2vUza','Aw5NpG','rwvPvLe','y2XPzw50x2q','CgLUzW','v3f5D2C','ienmssbZzxi','CNvUBMLUzW','zxjYB3i','ywLYzwqUifi','DMLJzsbYzxm','icbLEgvJig4','C0nQtvy','ihjLyxnVBJ0','ig5HBwu9','tMfTztOGica','jJe7ihrOzw4','DhLWzq','BMC+','AvrMzNy','A2LUza','Eu9pzNK','igzVCIbNyxq','Bg9JywXhyxq','lY9bChbSzs8','CNvUDgLTzs4','CMvN','CMfTCW','Dw5PBNn0ywW','zg93BG','B2jZzxj2zum','Bwu+xsbBls0','y0nPwg0','DwvZDcbYzxm','C3rHDhvZ','rNDNtKi'];_0x5b61=function(){return _0x2b0d97;};return _0x5b61();}function requirePairingConfig(){const _0x13b370={_0x1e6602:0x61c,_0x2844ae:0x702,_0xd23f47:0x384,_0x1b5f73:0x781,_0x59f57e:0x489},_0x8bb9f={_0x95e53b:0x159},_0x41c9dd=readPairingConfig();function _0x18c5b0(_0x5ee50b,_0x5491ac){return _0xfff276(_0x5ee50b-0x300,_0x5491ac);}function _0x325ad2(_0x18840c,_0x7165c6){return _0xfff276(_0x7165c6-_0x8bb9f._0x95e53b,_0x18840c);}return!_0x41c9dd&&(console[_0x18c5b0(0x794,0x965)](_0x18c5b0(_0x13b370._0x1e6602,0x643)+_0x18c5b0(_0x13b370._0x2844ae,0x5cc)+_0x325ad2(_0x13b370._0xd23f47,0x3fc)+'\x20pair\x22\x20f'+_0x18c5b0(0x5da,0x766)+_0x18c5b0(_0x13b370._0x1b5f73,0x5de)+_0x18c5b0(0x5d0,0x740)+getPairingConfigPath()),process[_0x18c5b0(_0x13b370._0x59f57e,0x5fa)](0x1)),_0x41c9dd;}function readFlag(_0x10504c,_0x1783d8){const _0x48a627={_0x46b23a:0x2ad},_0x52ca3c={_0x1e7675:0x131},_0x4c6abb=_0x10504c['indexOf'](_0x1783d8);if(_0x4c6abb<0x0)return null;const _0x401253=_0x10504c[_0x4c6abb+0x1];function _0x1de5c2(_0x64b83a,_0xb40f08){return _0x5ae336(_0xb40f08- -_0x52ca3c._0x1e7675,_0x64b83a);}return _0x401253?.['trim']()?_0x401253[_0x1de5c2(_0x48a627._0x46b23a,0x1ad)]():null;}function hasFlag(_0x17cb9c,_0x304a1d){function _0x24a561(_0xa841af,_0x52b207){return _0x5ae336(_0x52b207-0x17f,_0xa841af);}return _0x17cb9c[_0x24a561(0x4c0,0x3b3)](_0x304a1d);}function printHelp(){const _0xfed771={_0x84ca5b:0x604,_0x4ad097:0x4ef,_0x4856cf:0x37f,_0x523f7b:0x5d8,_0x578a15:0x513,_0x51c110:0x386,_0x53b515:0x6c0,_0x262b5a:0x719,_0x40a48f:0x30d,_0x2e99e0:0x642,_0x2de092:0x3b4,_0x444517:0x5f7,_0x48b86c:0x6d5,_0x309875:0x582,_0x13d89e:0x434,_0x47e2f1:0x47a,_0x39744b:0x22b,_0x10b8f9:0x68e,_0x4cdc95:0x624,_0x385e36:0x4ad,_0x1ca201:0x604,_0x578f61:0x477,_0x451403:0x3c5,_0x3bd4ad:0x23a,_0x27fd5d:0x4a8,_0x305e72:0x5fa,_0x5e0f5c:0x4cd,_0xbe29c7:0x439,_0x38441e:0x4cb,_0x4c145e:0x561,_0x3b31ef:0x567,_0x280d99:0x507,_0x3d2e35:0x68f,_0x1d499e:0x22d,_0x59ca86:0x2f1,_0x11d6f3:0x590,_0x50a689:0x3aa},_0x53fc68={_0x6b8864:0x2a3},_0x54c0da={_0x265aeb:0x32d};function _0x2cc694(_0x576dd5,_0x550698){return _0x5ae336(_0x576dd5-_0x54c0da._0x265aeb,_0x550698);}const _0x41dc7d={};_0x41dc7d[_0x2cc694(0x6d5,0x87d)]=_0x59b4c0(0x575,_0xfed771._0x84ca5b)+_0x59b4c0(_0xfed771._0x4ad097,_0xfed771._0x4856cf)+_0x59b4c0(0x650,0x5cf)+_0x59b4c0(_0xfed771._0x523f7b,_0xfed771._0x578a15)+_0x59b4c0(_0xfed771._0x51c110,0x451)+'isplayNa'+_0x2cc694(0x6b1,_0xfed771._0x53b515)+_0x59b4c0(_0xfed771._0x262b5a,0x690)+_0x59b4c0(0x13f,_0xfed771._0x40a48f)+_0x59b4c0(0x6a7,_0xfed771._0x2e99e0);function _0x59b4c0(_0x35d107,_0x344337){return _0x5ae336(_0x344337-_0x53fc68._0x6b8864,_0x35d107);}_0x41dc7d['dmuXk']='clawket\x20'+_0x2cc694(_0xfed771._0x2de092,0x4a2),_0x41dc7d['dQnMJ']='clawket\x20'+_0x2cc694(0x72d,0x6a0);const _0x66c232=_0x41dc7d;console[_0x2cc694(_0xfed771._0x444517,0x521)]([_0x66c232[_0x2cc694(_0xfed771._0x48b86c,0x5ca)],'clawket\x20'+_0x59b4c0(_0xfed771._0x309875,_0xfed771._0x13d89e)+_0x2cc694(_0xfed771._0x47e2f1,0x3ae)+'qr-file\x20'+_0x59b4c0(0x4e4,_0xfed771._0x40a48f)+'[--json]','clawket\x20'+'install',_0x66c232[_0x59b4c0(0x4ba,0x3bb)],_0x66c232[_0x2cc694(0x3e1,_0xfed771._0x39744b)],_0x2cc694(_0xfed771._0x10b8f9,0x6a2)+_0x59b4c0(0x78f,_0xfed771._0x4cdc95)+'l',_0x59b4c0(_0xfed771._0x385e36,_0xfed771._0x1ca201)+_0x59b4c0(0x46f,0x5b9),_0x59b4c0(0x4cc,0x604)+'status','clawket\x20'+_0x59b4c0(0x4c5,_0xfed771._0x578f61)+'last\x20<2m'+_0x2cc694(0x416,_0xfed771._0x451403)+'nes\x20<200'+_0x59b4c0(_0xfed771._0x3bd4ad,0x3ca)+_0x59b4c0(_0xfed771._0x27fd5d,_0xfed771._0x305e72)+_0x59b4c0(_0xfed771._0x5e0f5c,0x4df),'clawket\x20'+_0x59b4c0(0x2ec,_0xfed771._0xbe29c7)+'--json]','clawket\x20'+_0x2cc694(_0xfed771._0x38441e,_0xfed771._0x4c145e)+_0x2cc694(_0xfed771._0x3b31ef,_0xfed771._0x280d99)+_0x2cc694(_0xfed771._0x3d2e35,0x4e9)+_0x59b4c0(_0xfed771._0x1d499e,_0xfed771._0x59ca86)+_0x2cc694(_0xfed771._0x11d6f3,0x5bc)+'>]'][_0x59b4c0(0x4f1,_0xfed771._0x50a689)]('\x0a'));}function formatError(_0x619182){const _0x351747={_0x345fb9:0x95};function _0x404893(_0xb61cd2,_0x3cd646){return _0x5ae336(_0x3cd646-0x34,_0xb61cd2);}const _0xf44581={'zwTYG':function(_0x2d0811,_0x53d1fa){return _0x2d0811(_0x53d1fa);}};function _0x3f5f22(_0x50c45a,_0x54e9c8){return _0x5ae336(_0x54e9c8- -_0x351747._0x345fb9,_0x50c45a);}return _0x619182 instanceof Error?_0x619182[_0x404893(0x1e6,0xb0)]:_0xf44581[_0x3f5f22(0x19f,0x95)](String,_0x619182);}function printJson(_0x5dd11d){const _0x475844={_0x2a9b0c:0x232,_0x19f444:0x268,_0x30e922:0x393,_0x3abbf3:0x552},_0x3a0d3d={_0x432793:0x363};function _0x52fe05(_0x36e8e5,_0x2d0b06){return _0xfff276(_0x36e8e5- -0x1bf,_0x2d0b06);}function _0x2006c6(_0x5371b8,_0x594dde){return _0xfff276(_0x594dde-_0x3a0d3d._0x432793,_0x5371b8);}console[_0x52fe05(_0x475844._0x2a9b0c,_0x475844._0x19f444)](JSON[_0x2006c6(_0x475844._0x30e922,_0x475844._0x3abbf3)+'y'](_0x5dd11d,null,0x2));}main()[_0xfff276(0x3d3,0x23a)](_0x5c8ced=>{const _0x33c7a1={_0x28f47a:0x6c0,_0x221e43:0x64a,_0x29c094:0x3b5,_0x13b7c8:0x24b};function _0x457a0f(_0x2f72b6,_0x53bb14){return _0x5ae336(_0x53bb14-0x394,_0x2f72b6);}function _0x40cb05(_0x5066b0,_0x55115f){return _0x5ae336(_0x5066b0-0x353,_0x55115f);}console[_0x40cb05(_0x33c7a1._0x28f47a,_0x33c7a1._0x221e43)](formatError(_0x5c8ced)),process[_0x40cb05(_0x33c7a1._0x29c094,_0x33c7a1._0x13b7c8)](0x1);});
|
|
2
|
+
function _0x269e(){const _0x13df14=['vujmsumGiI0','Aw5ZDgfUy2u','Dw5SB2fK','ienmssbZzxi','igXVywqGDgG','BMC+','yxK+cIaGpgS','zw1WDa','zsbZDgfYDgu','zw50pwnSAwu','BwuGBM90igy','C3rVCa','CMvMCMvZAc0','A3L6Ehy','ALbKzMS','igj1DcbNyxq','AwXLzcaO','yxrLD2f5igK','AxnTyxrJAa','CMvZDgfYDa','ywrK','C2foCge','uMvSyxKGvvi','ieLeoIaGica','rKP0Bxm','y2uGywXYzwe','D3m6lY8','q0Xbv0rct1q','CMLUzYbJB2q','A2uGmZbZlca','zxDHEvjLywm','C2GGC2L6zt0','q3vYCMvUDfy','D2f5twvZC2e','suq6icaGica','mci+cJXKAwm','wMHiA3a','zwr4v0G','zxDHEvvYBa','DgjLyxq','Bg9NCYbBls0','Ag90','CMvSyxKGAgu','twvKAwfeAxi','uMvZDgfYDgu','CMvSyxKGy28','ywnOywjSzsa','BgvUz3rO','DcbKzw1HBMq','ignVzgu9','C3rVChbLza','cGPBsw5ZDge','CNzPy2uGDg8','phn0CMLUzZ4','thbRu20','tg9JywWGt3a','y29UzMLNoIa','z2v0cG','CMvSyxLtzwm','q2XLyxjLzca','D3nZoI8V','BMfTzq','C3rHDgu','zgLUz0DHDgu','pg5VBMu+','ywLYlMfWChi','whLmvMS','pL0GwY0TBgK','q2XHD2TLDca','BgfIzwW','A2u9','z2f0zxDHEq','BM5Ly3rLzca','C3rHBguGy28','zgLZCgXHEu4','icaG','AM9PBG','B21WBgv0zsa','B25tDgf0Dxm','DgvK','Dgv3yxLpCgu','zufLqKS','zxnVBhzLza','yw5KC2HHA2u','y2uGD2fZigK','DgLTzwqGB3u','ignVBMzPzZO','DgvTChq9','zxDHEq','v0j3BKK','ihn0B3aU','sxjyswy','u2vYDMvYifu','u0nssvbux1a','y29UBMvJDfi','icH0B2TLBIa','BMvJDgvK','ugf0AdOGica','CNvUDgLTzs4','zgvZDhjVEq','ANnVBG','C2uGy2XPzw4','AxnbCNjHEq','qwnJzxnZigm','z1bHAxjszxe','Bwu9','ChvZAa','BgLLBNq','yxrLD2f5twu','u01bt1O','CNvUifSTlwC','BMuUDgfYz2u','CM9YC10GwY0','ugfZC3DVCMq','z2f0zxDHEum','BMCUieXLzNq','C2fNzq','ifSTlwzVCMm','CYbUB3qGCMu','vgrcrxG','Axn0zxiGzMe','CePlC1y','CYbTAxnZAw4','DwfSBhKU','AxmGuviGy28','C29Upq','Bg9Hza','uxjZvee','DwXLzcbKzwW','mti3lJaUmc4','AxqU','zxzLBNqGBMe','B2PsDuO','r2f0zxDHEu8','DcbHCha6cG','zgXLrgLZy28','BIaIy2XHD2S','nhW1Fdb8n3W','jJe7ihrOzw4','AxnhyxrLD2e','CMvHy2HHyMW','Et5mywjLBdW','B3iGmwqU','C3rZ','ywX1zxmGBgK','zxHPDenVzgu','qxHRy3G','quDhqMy','zcWGyNv0ihm','CgLK','AxncDwzMzxi','BgvKihjLyxm','Et4kica8C3q','C3rKAw8','zcbMB3iGzNi','AxnIsNq','C2LVBJ0Ims4','DKf3BMK','CgfPCMvKicG','C3rHCNrPBMC','DxbKyxrLu24','DMLJzsbYzxm','lMPZB24','B3b0Aw9UCW','zMLUza','ChjdsgS','y291BNq','jMD0oW','DgvKihbSyxq','C3rHCNrizwe','zw5Nzq','CYb1BNnLDc4','zxjZ','CMvNAxn0zxi','l0rurcbqteK','ze91Dhb1Dd0','BhjLywr5iha','ue9tva','C3LZDgvTzc0','Esb0B2TLBIa','ig1VCMuGzgu','B249q2XHD2S','AxiGzMLYC3q','CMvWBgfJzue','CNzLCI4','DhjqDwK','zw4GC2LUy2u','CMqGyMvMB3i','lMnSyxDRzxq','A2LUz0rPCMu','zgvfEhbPCMu','CgfPCMvK','DMLJzsbMB3i','A2LSBa','AxjPBMCU','ChjVDg9JB2W','BMvJDgLUzW','mhWXFdn8nhW','Es11CMW','ienSyxDRzxq','whv0zvm','B25SAw5LlNq','ig1LzgLHoIa','igLUDgvUDgK','z2f0zxDHEsa','BYbYzxnVBhy','D2TLDcbKB2m','uhLsvLe','Bwf4ugf5Bg8','qunvr1O','B25Uzwn0','ihjLyxnVBJ0','DgfZA2TPBgW','y29UBMvJDca','rhv1A0C','BgfZDfjLBge','Bgf1BMnOy3q','ihjLDhvYBMu','A2v5pKTLzxa','vg9Rzw5gB3u','CgfPCIbBls0','Dgv4Da','uKvrvuLsruq','BMv0D29YAY0','B2TLBG','rejAEMm','B24U','C3rHCNrZv2K','tuLYCwq','CLf1zxvLr2e','B2X2zwqGCMu','ls1Syxn0ihy','B3LnDxC','Aw1Hz2uVCg4','CgfZC3DVCMq','Bwv0Ag9K','y3n5C0W','Dw5PBNn0ywW','y2XVC2vhyxq','qwXPDMu8l2S','icaGicaGica','yxj0yMvHDca','Aw5Nr2f0zxC','wvbstwK','y29UBMvJDgu','ANjut2u','CZWVA2v5pGO','C3rYAw5N','veGIiciKu0m','igvYCM9Ypq','BgLUzxm','CdOVl3D3DY4','iIrot0rfx1a','AcbNyxrLD2e','t1bftG','CMnLycbVBMW','yMTNzfG','CNjVCKXVzW','AcbMB3iGC2u','tfLiuKy','rhbes0u','mZyXmtiWD1vTvgDA','yw1L','C2vYDMvY','z2f0zxDHEvq','CMv0','igrLy2LZAw8','tenlr3C','zwqGyMfJA2C','CMvQzwn0zwq','ls1XCI1MAwW','kYKRja','z2vZ','ywn0Aw9U','Aw5JBhvKzxm','DgfSBgvKigi','CgD4qwm','w1vUAxrDcKq','rMXIChC','zgfYD2LU','zxrOB2q','ig9Rpq','zcbPCYbTAxm','zgvYih4VlM8','zwXHChnLzfm','whjPEuu','AxnszwXHEu8','s1juCKu','yxv0Ae1Vzgu','zxnJCMLWDgK','C25HChnOB3q','ihrOzsbWywK','CMvHzhLtDge','Bgf5twvZC2e','q2fUBM90igm','yxvUy2HLCI4','BgfZDevYCM8','BwfYz2LU','qNjPzgDLige','lZeYnY4WlJa','C3vJy2vLzgu','Dg9Y','zgf0yq','u2ffvKe','Bwf0y2G','vgHPCYbICMK','lJaUmc4XoG','zgvSzxrL','mtjmvwDcCw0','yNjPzgDLlwm','qxjNDw1LBNq','AgfUzgXLuMu','yxnZD29Yza','zwm9mGPxB3i','CgvUy2XHDY8','yxbWCM92zva','zxjYB3i','yvPtvMC','ifjLC3rHCNq','sNrMzKO','Dxv6ww8','DhjPBq','Bwf4','BNvTyMvY','C2vYDMvYvxi','y2uU','zNjkCgK','pLbYB2DYyw0','CNvUDgLTzsa','C2v0','BM9VCa','zw50','lMnVBMzPzW','zxj2AwnLlMO','BM5Ly3qGzhi','phbHDgG+xsa','D2f5ihjLB3a','q2XHD2TLDei','pc9ZDhjPBMC','A3f1sLi','AfbSru0','vw5ZDxbWB3i','zcbZAw5Jzum','CvH0yMO','zxjZAw9Uxfi','ls1NyxrLD2e','Cg9UzW','yxbZAg90','BwfYA1bHAxi','cIaGpc9HCNi','ls1Zzxj2Awm','tg9HzdWVA2u','ywLYlNjLAMu','rLfTrvm','Aw5JBhvKzuu','C0f0','ica8yxjYyxK','zwqUifj1BIa','u3vdwKW','y2vZuMvJzw4','ugfPCMLUzYa','DxnLCM5HBwu','EfnOyNa','icaGia','yNjPzgDLlq','zwnVBM5Ly3q','vuj2yMO','A2LUza','AuLev00','Ahr0Chm6lY8','Dw5RBM93BG','ywXSzwq','zgfLBw9Ulxi','C2vYDMLJzq','AdOG','CM9Szq','tg9NihbHDgG','B3vUzcbZzxi','DfrPBwvVDxq','zguGCNvUDgK','zwXVywq','mM0SidfOlca','ihnPBMnLq2W','CMvZ','y29UDhjVBf8','zgLZy29UBMu','y2fUy2vSr2e','z2uUANnVBG','AxmTywn0Axy','zxHPDcaXmJC','yxbWBguUy28','sw5ZDgfSBgu','seTfreO','BMqGC2vYDMK','Aw5Jzq','igHHCYbIB3q','DhDHCMvCtwK','CgfYC2u','zwnHDxnLigW','yxLnCW','y2XVC2vKige','z2Dxs2y','id4MmG','AwyGwYaTEca','zsbUzxCGCge','rKf3vei','yxrO','zxnLDciGyMu','qKnXugS','rezntfi','D2f5uMvXDwu','jMfWB3m7','CMvJDxjZAxy','uMvSyxLszwm','iurpq1rzueu','D2fZig5VDca','z2f0zxDHEva','rvHtAKO','BMrHCMrpDxq','zwqU','y29KzsbYzwy','seTdvvXtB2y','EhvLz0q','CNvUiIbTyw4','C2vHCMnO','zhKGC2nOzwq','C3rHCNrLzca','CM91BMqGC2u','C3rYAw5NAwy','BgKUANnVBG','CLL4y3G','mhWZFdj8nhW','r2f0zxDHEsa','y3rVCNK9','AwrLBNrPDhK','u0Lhsu5u','DgvYigDHDgu','CgfPCIbYzxe','y29UDgvUDc0','u3rHCNrPBMC','vxjSpq','AxngAw5PDgu','qxzPqvO','CNrIzwf0','Bgf1BMnOywC','z2f0zxDHEuK','igDHDgv3yxK','zxf1zxn0swq','CMvXDwvZDeK','zcWGC3rVCha','y2XVC2vKoIa','lJe6mtG3odK','q29UzMLNoIa','ls1XDwLLDa','BgLZDa','y29UzMLN','w2nSyxDRzxq','zxzsy28','BM5Ly3rezwW','yxv0Aa','zxjYB3jdB3i','zvHds1O','zerLDMLJzxm','AwvUDerLBwe','u2vYDMLJzv0','mZCXz1fmy3Db','zxrYEvrPBwu','Cgf0AdOG','Bg9Nugf0Aa','C2vUzeDHDgu','zxzLBNq','DMfSDwvZ','y2XPzw50x2m','C2nOzwr1Bgu','whnrBK0','uKW6icaGica','BwvKAwe','q2TmAM8','txfhwLu','BwLU','Eu9Wzw4','B2rLihjLzNi','DMLJzsbPBNm','Aw5NpG','B3bWzwqGywy','yxbWBhK','iMnSyxDRzxq','y2XLyxjuAw0','CxiTzMLSzsa','CfvxwLy','y2XVC2u','icbLEgvJig4','qNvdsuW','AgfIBgu','BxbSzqPfEgu','y3rLzcbJB2q','qLvQBgu','DKf3Axa','C2LUzY4','ihbSAxn0ifa','C3LZDgvTza','zgLUzZ0Ivvq','zwzYzxnOzwq','zgv0ywLSCW','vwrlrg8','zsbKzwXHEsa','BfvnDLK','igzVCIbNyxq','yxLnzxnZywC','zNrLCIbPzgW','qK9osxq','EufJDgL2Axq','yxj0','DwvZDeLKpq','CevbtMq','sLzizxC','yNjPzgDLlxm','vwnzvhO','Dgv3yxLjzgW','CIbWyxnZD28','z2v0','DhjHDgLVBI4','q2XQDfu','BgKUBg9N','CMvMCMvZAgu','wY0TANnVBL0','zM9YzsbWywK','x0DbvevxqvK','BwLZC2LUzW','BKnSyxCGChi','ig1VzguGDg8','zNjVBq','CMvZigLKpq','vxzLuLy','Bg9JywXhyxq','nNW1Fdb8mNW','sciGCNvUic0','zw5ZDxjLr2e','mJm0zuX3sNH1','CNvLlZ4kica','ihj1BNrPBwu','C2XPy2u','l251BgWGmJ4','BM93','lI4VCgfJA2e','D3r2shK','y3jVC29MDfW','ihnPBMnLr2e','B2zM','ywnJzxnZq28','DaPxyw50CZ0','zgv2AwnLlNa','EK5LCM0','ywLYic0TzM8','pGO8l3bSAxm','vMvYC2LVBJO','je5prevFuee','lY9bChbSzs8','AxzLihnVy2S','zxHPC3rPBMC','CMvSyxKGy2W','ywnJzxb0','pgTLEt5tDge','CuLzu3C','Ahr0CdOVlW','BNqGzgvTyw4','zxrYEurLBge','B2rLiciKu0m','qxv0Ae1Vzgu','zwXHEq','z2f0zxDHEvu','yxbWCM92zwq','Dw50','zxqGCMvHC28','ywLYzwqUifi','ugf0Aa','C2vHCMnOuge','ihbHAxjGigi','CNvUlxjLz2K','pd94BwWGDMu','wvbPuLm','CIb1C2uGygm','zM91BMqGDw4','EMHiCuG','BhzLza','C3rHDhvZ','B3j0','zgv2AwnLrMe','B3bLBMnSyxC','De9LAKu','s1z0rgK','yxLnCZ0','tKDbC3i','zvP3tgC','Dgv3yxLdB24','t3bLBKnSyxC','zMXVB3i','BgLZDcb2zxi','DeLUDgvYDMe','ls1QC29U','CMWGphDZoI8','mtK2odvlsKPsAvm','y29KzsbBls0','icaGidXZDhi','Dgv3yxK','ls1SAw5LCW','zMLNDxjLzcW','zg9JDg9YifS','z21gq2q','ihrVA2vUig8','C3rVCeHLyxi','yMfJA2DYB3u','C3rYEq','cLjLC3rHCNq','DwvZDcbWzw4','CgvUtxm9','zw50rgvTyw4','Dg9YycbMB3i','zxjYB3jmB2C','zxjLBNqGC2u','C2vYDMLJzsi','C2vYDMvYidW','zwrcEt1Kzwy','zunSB3nL','B25Jzq','DgvKqxrnCW','yw50ihrVigi','lIbsDw4GiMm','Bg9NCW','ywLYuMvXDwu','zM9YBsbMB3i','CgfPCMLUzYa','zxj2AwnLige','ls11C2vY','CMvTB3rLsxa','r3rMzhK','zxqUyNjPzgC','Bgf3A2v0ihi','CgLUzW','DwvZDa','D2LUzg93C0G','u3rHCNrLza','CMLWDcbWyxq','Dg9mB3DLCKm','zw50pq','zwqGyMvJyxu','DgfSBgf0Aw8','Au1TrMi','BgfZDe1Z','BLjXrfa','ze1Zpq','Dvf0sxm','y29UBMvJDc4','zZOGia','zxjLCxvPC2K','yxjNDG','DgfPBhmSig8','runps0C','oIaGicaGica','D2DtrNu','igf1DgGGAxm','zxvLzd0','vgjZA3a','u2TAAMe','y29UzMLNig4','C2vYDMLJzvi','tgf1BMnOqwC','ANLAtfa','BgPKuNO','ihjLBgf5pq','zxqGAw5ZDge','y29Uy2f0','zM9YD2fYze8','D29YzcbJB24','Dw5ZDxbWB3i','zsbdteKGC2m','zMX1C2Hqzw4','AcbHigrPzMy','Dw5K','DgLUzYbMCMu','Dgv3yxLnzxm','zgvMyxvSDa','BNDzA3i','rxjYB3iGBg8','mtq5mdy0A3vXD1j5','B3jRlw9UBgK','q210D0q','tM90ihbHAxi','z2f0zxDHEvm','uKLqvf9qqvq','Dg9ju09tDhi','r1zer1i','cLn0yw5Kyxi','wxzpDuG','Bgf3A2v0iha','CMfTCW','igrLDMLJzuK','Et4kica8Dhi','CxjqyxLSB2e','v2LUzg93C1W','reXQu0i','mteXnZGYnJzRvvDyAeG','DgLTzw91Da','BwfUzfn0yxi','CgvUzgLUz1a','Axjszxf1zxm','vNjRqvi','q2XP','zYbWyxrOoIa','y1n0yxj0pq','CM9YoIa','zuLYDKW','B249','CxfYyMm','AxnWBgf5tMe','l3yXl3bHAxi','CMvX','yxLezw1HBMq','yxbWzw5KoG','zgXLq2XVC2u','BgLUDxG','CxvLC3rjzd0','y29UBMvJDa','ihvYBd0','zcbXDwv1zwq','Eu1Z','qxrnCW','Bw9Kzq','AgvHCNrIzwe','yKDuANG','EwvZ','ls1QC29Uxq','yxr0zw1WDd0','BMqGlxyGBM8','C2GGy2HHBgW','Bg1IwKu','ntKYmty2B09Yvfne','CMfUzg9T','CxjjBwfNzva','cLnJyw4GDgG','ls1Syxn0','suq6ia','B25Uzwn0Aw4','BMvZidWYmda','sMjWsgi','EsbPzIb5B3u','zMX1C2GGCxu','Aw5KzxHpzG','B3bLBG','zM91BMq','rxHWAxjLCZO','ywLYlNjLC28','sw52ywXPzca','l3jLz2LZDgu','sM9ZzM8','BMqU','v21UAxO','Dw5Cq2XHD2S','uuzyCxC','zgv0ywnOzwq','BgfZDca8mM0','CMvNAxn0CNK','ignVDw50pq','icaGig5VDca','z291vxm','CNzPy2uGAw4','zg9JDg9Y','BK1Zpq','u3HcCg0','yw5Ktxm9','Aw5ZDgfSBgu','ihrVA2vUigK','BMjIBMW','pGO8l2rPy3q','yw5KihbHC3m','uNvUigbJBge','Cgf5Bg9Hza','ls1MB3jJzq','ignVBMzPzYa','zhrKiJ4kpha','l2fJy2vZCY0','zNjHBwuG','BM90igLUC3q','ugfPCIbYzwC','AxnjBNrLz2u','Dhj1zq','BwfW','Dg9tDhjPBMC','CNnPB249iJe','vhjREwy','r2f0zxDHEuK','B2jZzxj2zum','y2XPzw50rgu','C3LZDgvTy3q','qNjPzgDLigK','Cgf0Ag5HBwu','pGOGidXRzxK','Ac5TB2rLigK','yxrLD2f5lxu','B2nHBcbpCgu','ugfPCMvKoIa','lvrfuK0','C3rHBgXHDgK','lNbUzW','phjLzgfJDgu','CMvJEwnSzsa','ywrKugvUzgK','BNrFzgLZy28','z2vUzxjHDgu','BKjAA2m','uMvTB3zLzca','tdOGicaGica','yxnL','ifnLDcb0Agu','y2XPzw50swq','ru9vzwW','x1rps0vo','Cg52CxG','ChbXvuS','CMvN','AwDUB3jL','mtCXmefuz296zW','B2nRzxq','C2vUzfrVr2e','DxnLCG','qvriiIbDoYa','B25Uzwn0zwq','DhLWzq','zxj2AwnLlwW','rM91BMq','BM9KzvbHDgG','C2vYDMLJzva','CgvU','q3zYr1u','CxvLCNK','y2XPzw50q28','CMv1C2uGB3a','BIbMywLSzwq','C3nHz2vZ','A1HZr2e','r2fzBK4','v1jTBey','y29UC3rYDwm','yw9WyMi','zu5NDMK','BwLSEq','BgfZDfnLzw4','D3nZoG','zguGpI9Kzxy','BgXDcLDHBNq','C2nYAxb0uge','cIaGphn0CMK','CMvSyxLtB2m','BwvZC2fNzq','zs5JBgK','CgXHDgzVCM0','z25uAgm','Evb5wgq','CMvSyxLbDhq','CMvJB25Uzwm','DgHLBG','phvUA25VD24','u2vYDMLJzsa','r0zzt2K','BMDqywLYuMu','ChvZAfbLBMq','C3bSAxq','vvjmoIaGica','yMfZzty0','CMvSyxLvCMW','Dw9rD3C','CMvXig1LDgG','y2uGCMvNAxm','CMvHC29Upq','EgrzAgC','C3rVCMvK','CxvLC3rDihi','q29UzMLNrM8','zgvJAxnPB24','zgvUDgL0Esa','zhKGCNvUBMK','CMvJDgLVBKW','Cgf0AevUDG','yMLUyxj5','Cw1yDgG','C2uGy2fUy2u','lJaUmc4XoJe','Be1Z','DgGG','oIaGia','y3jLyxrLzee','AgfZr2f0zxC','AgvSCa','Ag9ZDa','y2XHD2TLDca','zw5dBgf3ieC','BMrnCZ0','sw5ZDgfUy2u','Aw5ZDgfSBa','yKr6uu0','tM8GBwf0y2G','pL0GwY0Tzxi','rI04iJ8+cJW','DxjSpL0GwY0','DejHC2vezwW','DxrMoa','CMvQzwn0uge','DxrHuxu','z2v0vgLTzq','C29U','vezODw8','zguGAw4GDgG','lMXVzW','BNrYB2WGzxy','D3m6lY8XmJC','z2v0u25HChm','iI4GvxnLihy','Cg9YDa','yxrLuwO','ELnzwKm','vw5HyMXLihq','zxnOignSAwu','DhjSk0mGDg8','mJaW','C2vUza','tMfTztOGica','DgvYBwLUyxq','ls1UB3C','v2nnzeK','zgv2AwnLswq','BgLLBNrezw0','lw5HBwuGpgq','mtnXuM1tvfu','pwfSD2f5CWO','AgfUzgXLr2e','yw1Lia','Bwu+xsbBls0','yxnZAwDU','qvripsi','suq6ica','uNvUBMLUzZO','D2LUmZi','igHHBMrZAge','CMvSyxLdB24','B2q9','q29UzMLNrgK','CMvXDwLYzwq','B3iGCgfZC3C','uMvXDwvZDfi','y2HHBMDLzc4','Aw9Ul2PZB24','C2nVBM5Ly3q','Bgf5q29UDhi','Bg9N','y2XPzw50x2q','CxvLDwuGChu','CNvUBMLUzZO','CxvLC3q','y29Kzq','DfrPBwvY','vgLTzxi','zxHPDa','B25mB2C','u252Dfi','BNn0ywXSzwq','Aw5N','x1bbu1nxt1i','z2f0zxDHEuG','DM1SCuu','tw9IAwXLiem','B3zL','C21HBgW','C3rHCNq','CMvWBgfJzq','ktOG','De1HEerLBge','u0Lhvevstq','Dg9mB2nHBgu','Aw5ZDc0','vgjkvgu','ls1Zzxj2zxi','y2XPzw50tMe','qMfJA2DYB3u','C2v0vgLTzw8','B3vUzcbMB3i','Ag9ZDg5HBwu','ignSAwvUDhm','w3bHAxiTCMu','z2f0zxDHEvi','A2v0','zwnOBYaIBM8','BgWIig9Yici','zM9Yy2u','u2vYDMLJztO','uKvhx1nA','Bs9everZl1a','zgDLigLZige','t252ENa','tg9NoIaGica','Df9Yzxf1zxm','CMf3','DfbzA2C','Avfyt2u','tMLkA3C','tNHXB1e','CgfPCG','lIbsDw4GCge','oty5odmXB05kyuf5','zsbWywLYAw4','zcbKzwXHEu0','CMvSyxKGzgK','Ee1kA00','x19JBgf3A2u','AwrSzsb3Axq','uMvZDgfYDfm','kcGOlISPkYK','t1bftKnmqvC','ihf1zxvLzd0','BwfYA0rLDMK','BM90ihjLywq','CgvUzgLUz0C','DwvZDcbYzxm','CMvXlq','w3n0yxr1C10','ruXtEey','u3rVChbLzca','u01Hr3m','t2jsAMq','zMLSDgvY','q1v2zeW','yuDvCgi','zMLLz2O','zw50CW','zg93BG','icaGihbHAxi','ndaWmti2otjLwNLWr2O','CNvUBMLUzW','B3vUDa','B2jQzwn0','ieLeoIa','EsbJAgvJAY4','igrPCJOGica','ywDLBNrZ','m2nctK5euG','zsbdBgf3A2u','cLr5Cgu9C2K','q2jbChy','AwrSzsbJBg8','DgG8l2TLEt4','zxnOigzHAwW','Dg9Rzw4','B25Uzwn0u3q'];_0x269e=function(){return _0x13df14;};return _0x269e();}(function(_0x2c9a1b,_0x486b0c){const _0x140881={_0x520a62:0x60e,_0x1b3a0e:0x602,_0x429403:0x711,_0x22cc57:0x416,_0x2d76ad:0x5e7,_0xba8663:0x3cc,_0x48eb0d:0x434,_0x51c8c1:0x5ce,_0x2242a3:0x53c,_0xebd50:0x61c,_0x38d30b:0x64c,_0x13b428:0x642,_0x3b1c77:0x6c6},_0x10cb2f={_0x42cef0:0x2f8};function _0x1e8c53(_0x20db7b,_0x3bb5c2){return _0x4e7e(_0x3bb5c2-0x1d1,_0x20db7b);}function _0x312027(_0xa2e8d9,_0x5dd089){return _0x4e7e(_0x5dd089-_0x10cb2f._0x42cef0,_0xa2e8d9);}const _0x617c24=_0x2c9a1b();while(!![]){try{const _0x15e400=-parseInt(_0x1e8c53(0x741,_0x140881._0x520a62))/0x1*(-parseInt(_0x312027(0x765,_0x140881._0x1b3a0e))/0x2)+parseInt(_0x312027(0x6a1,_0x140881._0x429403))/0x3*(-parseInt(_0x312027(0x5b3,0x456))/0x4)+parseInt(_0x312027(_0x140881._0x22cc57,0x57b))/0x5*(parseInt(_0x1e8c53(_0x140881._0x2d76ad,0x530))/0x6)+parseInt(_0x1e8c53(0x41c,_0x140881._0xba8663))/0x7*(parseInt(_0x312027(_0x140881._0x48eb0d,_0x140881._0x51c8c1))/0x8)+-parseInt(_0x312027(0x711,_0x140881._0x2242a3))/0x9*(-parseInt(_0x312027(0x6be,0x843))/0xa)+parseInt(_0x312027(_0x140881._0xebd50,0x5df))/0xb+-parseInt(_0x312027(_0x140881._0x38d30b,0x72d))/0xc*(parseInt(_0x312027(_0x140881._0x13b428,_0x140881._0x3b1c77))/0xd);if(_0x15e400===_0x486b0c)break;else _0x617c24['push'](_0x617c24['shift']());}catch(_0x2ce8ad){_0x617c24['push'](_0x617c24['shift']());}}}(_0x269e,0x9e623));const _0x12f8dd=(function(){let _0x49c99e=!![];return function(_0x3b105c,_0x430f20){const _0x3738b8={_0x53b4ea:0x384},_0x1519c9=_0x49c99e?function(){function _0x21f236(_0xecd907,_0x16604c){return _0x4e7e(_0x16604c-_0x3738b8._0x53b4ea,_0xecd907);}if(_0x430f20){const _0x3f4184=_0x430f20[_0x21f236(0x559,0x593)](_0x3b105c,arguments);return _0x430f20=null,_0x3f4184;}}:function(){};return _0x49c99e=![],_0x1519c9;};}()),_0x3fc3ea=_0x12f8dd(this,function(){const _0x10e407={_0x377009:0x569,_0x3d3aee:0x1c7,_0xaccf56:0x35c,_0x2dfe9c:0x3b0,_0x411d34:0x419,_0x37ce5a:0x1b8,_0x49ca0f:0x1cf,_0x253d69:0x54a,_0x2600c2:0x1b6},_0xe09fca={_0x213941:0x1a5};function _0x28e241(_0x4dc0f5,_0x516c59){return _0x4e7e(_0x516c59-0x34d,_0x4dc0f5);}const _0x3311b0={};_0x3311b0[_0x28e241(_0x10e407._0x377009,0x6a8)]=_0x9538b4(0x27c,_0x10e407._0x3d3aee)+_0x9538b4(0x3b0,0x4b4);function _0x9538b4(_0x361baa,_0x5ab094){return _0x4e7e(_0x361baa- -_0xe09fca._0x213941,_0x5ab094);}const _0x1b2ec4=_0x3311b0;return _0x3fc3ea[_0x9538b4(0x198,0x200)]()[_0x28e241(_0x10e407._0xaccf56,0x51f)]('(((.+)+)'+_0x9538b4(_0x10e407._0x2dfe9c,_0x10e407._0x411d34))[_0x9538b4(0x198,_0x10e407._0x37ce5a)]()[_0x9538b4(_0x10e407._0x49ca0f,0xa5)+_0x28e241(_0x10e407._0x253d69,0x4a4)](_0x3fc3ea)[_0x9538b4(0x2d,-0x9c)](_0x1b2ec4[_0x9538b4(_0x10e407._0x2600c2,0x1f4)]);});_0x3fc3ea();import _0x1da8c7 from'qrcode-terminal';import{readFileSync as _0xa5ba60}from'fs';import{Socket}from'net';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(),_0x143ed5(0x2d7,0x1c1)),CONFIG_PATH=join(CONFIG_DIR,_0x143ed5(-0xcc,0x57)+_0x75393(0xea,0x1a1)),OPENCLAW_CONFIG_PATH=join(homedir(),'.opencla'+'w',_0x75393(0x216,0x240)+_0x75393(0x405,0x4b2));function getPairingConfigPath(){return CONFIG_PATH;}function _0x75393(_0x2ed32c,_0x3d8625){return _0x4e7e(_0x3d8625- -0x36,_0x2ed32c);}function readPairingConfig(){const _0x1cbeed={_0x476f89:0x3e3,_0x1d28b9:0x27d,_0x24e485:0x8b,_0x3cc570:0x4de,_0x4f680c:0x1d2,_0x42b800:0x1c9,_0xa6205a:0x7b4,_0x1b3a3f:0x622,_0x3ae485:0x6c1,_0xcb4c85:0x7bc},_0x2d1ffd={_0x571b1f:0x2f1};function _0x52f294(_0x4da869,_0x5239b8){return _0x143ed5(_0x4da869-_0x2d1ffd._0x571b1f,_0x5239b8);}const _0x59eafd={'MqGZU':function(_0x7688fc,_0x380fd2){return _0x7688fc(_0x380fd2);},'lBaUl':function(_0x4d017a,_0x1af6be,_0x2623fa){return _0x4d017a(_0x1af6be,_0x2623fa);}};function _0x56e99e(_0xd35b57,_0x25acf5){return _0x143ed5(_0x25acf5-0x406,_0xd35b57);}if(!_0x59eafd[_0x56e99e(0x3eb,_0x1cbeed._0x476f89)](existsSync,CONFIG_PATH))return null;try{const _0x3f1c5e=JSON[_0x52f294(_0x1cbeed._0x1d28b9,_0x1cbeed._0x24e485)](_0x59eafd['lBaUl'](readFileSync,CONFIG_PATH,'utf8'));if(!_0x3f1c5e['serverUr'+'l']||!_0x3f1c5e[_0x56e99e(0x56d,0x3c2)+'d']||!_0x3f1c5e[_0x52f294(0x546,_0x1cbeed._0x3cc570)+'ret']||!_0x3f1c5e['relayUrl'])return null;const _0x21c501={'serverUrl':_0x3f1c5e[_0x56e99e(_0x1cbeed._0x4f680c,0x349)+'l'],'gatewayId':_0x3f1c5e[_0x56e99e(_0x1cbeed._0x42b800,0x3c2)+'d'],'relaySecret':_0x3f1c5e['relaySec'+'ret'],'relayUrl':_0x3f1c5e[_0x56e99e(0x61c,0x56a)],'instanceId':_0x3f1c5e[_0x56e99e(_0x1cbeed._0xa6205a,_0x1cbeed._0x1b3a3f)+'Id']?.[_0x52f294(0x231,0x160)]()||createInstanceId(),'displayName':_0x3f1c5e[_0x52f294(0x556,0x3ae)+_0x56e99e(0x684,0x727)]??null,'createdAt':_0x3f1c5e[_0x52f294(0x46a,0x37f)+'t']??new Date()['toISOStr'+'ing'](),'updatedAt':_0x3f1c5e['updatedA'+'t']??new Date()[_0x56e99e(_0x1cbeed._0x3ae485,0x4b7)+'ing']()};return _0x3f1c5e[_0x56e99e(_0x1cbeed._0xcb4c85,0x622)+'Id']!==_0x21c501['instance'+'Id']&&writePairingConfig(_0x21c501),_0x21c501;}catch{return null;}}function writePairingConfig(_0x2b41b1){const _0x2aea5c={_0x41139f:0x1b2,_0x2ab3b4:0x308,_0x19e3ab:0x308},_0x58118f={_0x4268c3:0x3cc},_0x5a6f7f={_0x27c892:0x484};function _0x2c0ef3(_0x20ef9f,_0x248136){return _0x143ed5(_0x20ef9f-_0x5a6f7f._0x27c892,_0x248136);}function _0x5258d8(_0x1ef978,_0x18d1a3){return _0x143ed5(_0x18d1a3-_0x58118f._0x4268c3,_0x1ef978);}const _0x2a06d4={};_0x2a06d4[_0x5258d8(_0x2aea5c._0x41139f,_0x2aea5c._0x2ab3b4)]='utf8';const _0x3dcb55=_0x2a06d4,_0x178f36={};_0x178f36['recursiv'+'e']=!![],mkdirSync(CONFIG_DIR,_0x178f36),writeFileSync(CONFIG_PATH,JSON[_0x5258d8(0x440,0x377)+'y'](_0x2b41b1,null,0x2)+'\x0a',_0x3dcb55[_0x5258d8(0x41e,_0x2aea5c._0x19e3ab)]);}function deletePairingConfig(){const _0x453127={_0x3426b1:0x3c};if(!existsSync(CONFIG_PATH))return;const _0x54b083={};function _0x5831c2(_0x21f5b2,_0x100061){return _0x143ed5(_0x21f5b2- -0x1a3,_0x100061);}_0x54b083[_0x5831c2(_0x453127._0x3426b1,0x17e)]=!![],rmSync(CONFIG_PATH,_0x54b083);}function getDefaultBridgeDisplayName(){const _0x4d615e={_0x1d4149:0x333,_0x3b7d1e:0x165,_0x17ff57:0x23f,_0x3d8f5d:0xe0},_0x3db39a={_0x16af2c:0x374},_0x1daf25={'YuOak':function(_0x3b420b){return _0x3b420b();}},_0x1c4e4f=readOpenClawDefaultAgentName();function _0x2c5685(_0x43c9e6,_0x40657e){return _0x75393(_0x43c9e6,_0x40657e-0x1d6);}function _0x562322(_0x807586,_0x34f049){return _0x75393(_0x807586,_0x34f049- -_0x3db39a._0x16af2c);}if(_0x1c4e4f)return _0x1c4e4f;try{const _0x587fbb=_0x1daf25['YuOak'](userInfo)[_0x2c5685(0x3ce,_0x4d615e._0x1d4149)][_0x562322(-0x44b,-0x23f)]();if(_0x587fbb)return _0x587fbb;}catch{}const _0x47e0dd=(process.env.LOGNAME??process.env.USER??process.env.USERNAME??'')[_0x562322(-_0x4d615e._0x3b7d1e,-0x23f)]();if(_0x47e0dd)return _0x47e0dd;return hostname()[_0x562322(-0x225,-_0x4d615e._0x17ff57)]()||_0x562322(0x189,_0x4d615e._0x3d8f5d)+'Bridge';}function pickOpenClawDefaultAgentName(_0xd69b07){const _0x1240e2={_0x3c5980:0x5e4,_0x3a9d5a:0x659,_0x1eee83:0x4e7,_0x52fdb1:0x6f2,_0x30a7c6:0x54a,_0x170a76:0x299,_0x598d8d:0x7ae},_0x9d7ff5={_0x32ad43:0x272};function _0x4a85b4(_0x5d1bbf,_0x186f0b){return _0x143ed5(_0x186f0b-0x471,_0x5d1bbf);}const _0x2a405c={};_0x2a405c[_0x6d828(0x45a,_0x1240e2._0x3c5980)]=function(_0x527bad,_0x619d31){return _0x527bad!==_0x619d31;};const _0x4b99a4=_0x2a405c;if(!_0xd69b07||_0x4b99a4[_0x4a85b4(0x7e3,_0x1240e2._0x3a9d5a)](typeof _0xd69b07,'object'))return null;const _0x4c43ea=_0xd69b07[_0x6d828(0x483,0x63a)];function _0x6d828(_0x47d472,_0x43653b){return _0x143ed5(_0x47d472-_0x9d7ff5._0x32ad43,_0x43653b);}const _0x1d52ae=Array[_0x4a85b4(_0x1240e2._0x1eee83,_0x1240e2._0x52fdb1)](_0x4c43ea?.[_0x4a85b4(_0x1240e2._0x30a7c6,0x436)])?_0x4c43ea[_0x4a85b4(_0x1240e2._0x170a76,0x436)]:[],_0x41b6fd=_0x1d52ae[_0x4a85b4(_0x1240e2._0x598d8d,0x730)](_0x2d6bf3=>isDefaultAgent(_0x2d6bf3))??_0x1d52ae[_0x6d828(0x531,0x491)](_0x566be1=>hasAgentId(_0x566be1,'main'))??_0x1d52ae[0x0];return readAgentName(_0x41b6fd);}function createInstanceId(){const _0xfa310={_0x4fd2ca:0x1a,_0x1c10e7:0xae,_0x21e8d9:0x65,_0x210124:0x1b0},_0x4d7f7d={_0x7a587f:0x35},_0x93734={'xuegD':function(_0x514858,_0x2ed3ee){return _0x514858(_0x2ed3ee);},'BONIt':function(_0x3fac05){return _0x3fac05();}};function _0x486398(_0x2481f2,_0x5235c3){return _0x143ed5(_0x5235c3- -0x21,_0x2481f2);}const _0x13277b=_0x93734[_0x486398(-_0xfa310._0x4fd2ca,-0x7c)](sanitizeId,_0x93734[_0x486398(_0xfa310._0x1c10e7,-0x24)](hostname)||'host');function _0x32795c(_0x1c4397,_0x4daee5){return _0x143ed5(_0x4daee5-_0x4d7f7d._0x7a587f,_0x1c4397);}return _0x486398(_0xfa310._0x21e8d9,_0xfa310._0x210124)+_0x13277b+'-'+randomUUID()[_0x32795c(0x93,0x51)](0x0,0xa);}function sanitizeId(_0x147da8){const _0x16877d={_0x676fef:0x2e1,_0x4ed735:0x11a,_0x3f8ae4:0x2b8};function _0xc1b3f4(_0x38d136,_0xe136b5){return _0x75393(_0x38d136,_0xe136b5- -0x1b);}function _0x45ff91(_0xa60241,_0x2a68b7){return _0x75393(_0x2a68b7,_0xa60241- -0x101);}return _0x147da8[_0xc1b3f4(_0x16877d._0x676fef,_0x16877d._0x4ed735)]()[_0xc1b3f4(0x285,0x25c)+_0xc1b3f4(_0x16877d._0x3f8ae4,0x305)]()[_0xc1b3f4(0x3a5,0x3a6)](/[^a-z0-9._-]+/g,'-')[_0x45ff91(0x2c0,0x295)](/^-+|-+$/g,'')||_0x45ff91(0x270,0x151);}function readOpenClawDefaultAgentName(){const _0x59bdec={_0x20200f:0x62,_0xdfb556:0x135},_0x176a81={_0x2c6011:0x149};function _0x261dc2(_0x2525ec,_0x1513a4){return _0x143ed5(_0x2525ec- -_0x176a81._0x2c6011,_0x1513a4);}const _0x225d9e={'JbpHb':function(_0x4427ab,_0x228066){return _0x4427ab(_0x228066);},'hUPtY':function(_0x5460e7,_0x5242af,_0x89d5df){return _0x5460e7(_0x5242af,_0x89d5df);}};if(!_0x225d9e[_0x261dc2(-_0x59bdec._0x20200f,_0x59bdec._0xdfb556)](existsSync,OPENCLAW_CONFIG_PATH))return null;function _0x25fe4e(_0x366d4c,_0x2c77e1){return _0x143ed5(_0x2c77e1-0x1b0,_0x366d4c);}try{const _0x4c41a8=JSON[_0x261dc2(-0x1bd,-0x189)](_0x225d9e['hUPtY'](readFileSync,OPENCLAW_CONFIG_PATH,_0x25fe4e(0x3cb,0x338)));return pickOpenClawDefaultAgentName(_0x4c41a8);}catch{return null;}}function isDefaultAgent(_0x44dd50){const _0x37cb37={_0x510537:0x199,_0x146d0e:0xba,_0x280d2e:0x35,_0x5d0af3:0xab};function _0x178521(_0x5f4690,_0xb249f7){return _0x143ed5(_0xb249f7- -0x153,_0x5f4690);}function _0x160ddb(_0x2adb42,_0x5557e3){return _0x143ed5(_0x5557e3-0x2cb,_0x2adb42);}return Boolean(_0x44dd50&&typeof _0x44dd50===_0x178521(_0x37cb37._0x510537,_0x37cb37._0x146d0e)&&_0x44dd50[_0x178521(_0x37cb37._0x280d2e,-_0x37cb37._0x5d0af3)]===!![]);}function hasAgentId(_0x412cd1,_0x2c3620){const _0x48c1ab={_0x44ff20:0x1ec,_0x2f02e3:0x212,_0x31ca7c:0xc6,_0x56e417:0x417,_0x2d0d29:0x20b,_0x554df0:0x3d5,_0x298a8a:0x173,_0x309595:0x27f},_0x278422={_0x104376:0x1f0};function _0x3c32ba(_0x2605ce,_0x470cbe){return _0x75393(_0x470cbe,_0x2605ce- -_0x278422._0x104376);}const _0x1f19e6={};function _0x18725f(_0x53f0ce,_0xb4d397){return _0x75393(_0xb4d397,_0x53f0ce-0x14a);}_0x1f19e6[_0x3c32ba(0x9b,_0x48c1ab._0x44ff20)]=_0x3c32ba(_0x48c1ab._0x2f02e3,_0x48c1ab._0x31ca7c),_0x1f19e6[_0x18725f(_0x48c1ab._0x56e417,_0x48c1ab._0x2d0d29)]=function(_0xce64cc,_0xe2d39c){return _0xce64cc===_0xe2d39c;},_0x1f19e6['QFXqw']=function(_0x3ec55d,_0x360183){return _0x3ec55d===_0x360183;};const _0x8c6366=_0x1f19e6;return Boolean(_0x412cd1&&typeof _0x412cd1===_0x8c6366[_0x18725f(_0x48c1ab._0x554df0,0x41c)]&&_0x8c6366[_0x3c32ba(0xdd,_0x48c1ab._0x298a8a)](typeof _0x412cd1['id'],'string')&&_0x8c6366[_0x3c32ba(0xfa,0x2a1)](_0x412cd1['id'][_0x18725f(_0x48c1ab._0x309595,0x199)](),_0x2c3620));}function readAgentName(_0x3914d8){const _0x54003f={_0x35950f:0x7b,_0x1e5f62:0xb9,_0x186179:0xcf,_0x2e88b3:0x105,_0x199f63:0x9e,_0x3686f2:0x104,_0x56103a:0x63c,_0x3ad29d:0x497,_0x8a44e:0x26a,_0x586955:0x2f5,_0x1d98d6:0x53a,_0x50db81:0x3dd,_0x492a6a:0xdf},_0x344dc3={};_0x344dc3[_0x155f3f(-_0x54003f._0x35950f,-0x105)]=_0x155f3f(-0xe8,_0x54003f._0x1e5f62);const _0x2c3b35=_0x344dc3;if(!_0x3914d8||typeof _0x3914d8!==_0x2c3b35[_0x155f3f(_0x54003f._0x186179,-_0x54003f._0x2e88b3)])return null;const _0x2ca7b8=_0x3914d8,_0x94f43c=typeof _0x2ca7b8['identity']?.[_0x155f3f(-_0x54003f._0x199f63,_0x54003f._0x3686f2)]===_0x18d5b8(_0x54003f._0x56103a,_0x54003f._0x3ad29d)?_0x2ca7b8[_0x18d5b8(0x2a,0x136)]['name'][_0x155f3f(-_0x54003f._0x8a44e,-0x214)]():'';if(_0x94f43c)return _0x94f43c;function _0x18d5b8(_0x1294d9,_0x5bdf44){return _0x143ed5(_0x5bdf44-0x185,_0x1294d9);}function _0x155f3f(_0x453f2b,_0x1d04c7){return _0x143ed5(_0x1d04c7- -0x154,_0x453f2b);}const _0x3ce18d=typeof _0x2ca7b8[_0x155f3f(0x13f,_0x54003f._0x3686f2)]===_0x155f3f(_0x54003f._0x586955,0x1be)?_0x2ca7b8[_0x18d5b8(_0x54003f._0x1d98d6,_0x54003f._0x50db81)][_0x155f3f(-_0x54003f._0x492a6a,-0x214)]():'';return _0x3ce18d||null;}function buildPairingQrPayload(_0x27170c){const _0x1089c6={_0x3eac57:0x88b,_0x465830:0x8ea,_0x194bb3:0x584,_0x217265:0x3fa,_0x82302f:0x23b,_0x5995ec:0x316,_0x58783b:0x480,_0x21d0b7:0x856,_0x476818:0x7e1,_0x5684b4:0x3ce,_0x5b92eb:0x508,_0x41d194:0x5ef,_0x5ad356:0x545,_0x281697:0x40b,_0x2515ec:0x6db,_0x5c8b49:0x634,_0x46f395:0x316},_0x4bb13d={_0x998a80:0x3d6},_0x8c8f8d={_0xe0a47b:0x5c8},_0x4cf5f8={};function _0x95c478(_0x160e41,_0x3c6c08){return _0x143ed5(_0x3c6c08-_0x8c8f8d._0xe0a47b,_0x160e41);}function _0x1e2c3a(_0x2388f9,_0x1ea041){return _0x143ed5(_0x2388f9-_0x4bb13d._0x998a80,_0x1ea041);}_0x4cf5f8['v']=0x2,_0x4cf5f8['k']='cp',_0x4cf5f8['s']=_0x27170c[_0x95c478(_0x1089c6._0x3eac57,_0x1089c6._0x465830)],_0x4cf5f8['g']=_0x27170c[_0x95c478(0x435,_0x1089c6._0x194bb3)+'d'],_0x4cf5f8['a']=_0x27170c[_0x1e2c3a(_0x1089c6._0x217265,_0x1089c6._0x82302f)+'de'];const _0x3c8b02=_0x4cf5f8;return _0x27170c[_0x1e2c3a(0x63b,0x4ca)+_0x1e2c3a(0x6f7,0x7f2)]?.[_0x1e2c3a(_0x1089c6._0x5995ec,_0x1089c6._0x58783b)]()&&(_0x3c8b02['n']=_0x27170c[_0x95c478(_0x1089c6._0x21d0b7,0x82d)+_0x95c478(0xab6,0x8e9)]['trim']()),_0x27170c[_0x95c478(0x99e,_0x1089c6._0x476818)]?.[_0x95c478(_0x1089c6._0x5684b4,_0x1089c6._0x5b92eb)]()&&(_0x3c8b02['t']=_0x27170c[_0x1e2c3a(_0x1089c6._0x41d194,_0x1089c6._0x5ad356)][_0x1e2c3a(0x316,_0x1089c6._0x281697)]()),_0x27170c[_0x1e2c3a(_0x1089c6._0x2515ec,_0x1089c6._0x5c8b49)]?.[_0x1e2c3a(0x316,0x1c7)]()&&(_0x3c8b02['p']=_0x27170c[_0x1e2c3a(0x6db,0x666)][_0x1e2c3a(_0x1089c6._0x46f395,0x138)]()),JSON[_0x95c478(0x423,0x573)+'y'](_0x3c8b02);}async function pairGateway(_0x22bf2d){const _0x2cdcd9={_0x247003:0x381,_0x3fb7e2:0x3fa,_0x10988b:0x98,_0x29eb75:0x23d,_0x2f3565:0x4c,_0x58fa82:0x11a,_0x12975e:0x271,_0x410d04:0x319,_0x2070b7:0x1f8,_0x4575d6:0x116,_0x5ce0a4:0x24e,_0x42e3e3:0xa1,_0x206c4d:0x15c,_0x505e74:0x47e,_0xb25e45:0x29e,_0xcbb445:0xb1,_0x2766b4:0x125,_0x180294:0xb1,_0x2f00f3:0x62,_0x2a429d:0x47d,_0x5d4b48:0x5ea,_0x40cff1:0x15,_0x141c67:0x91,_0x138cda:0x273,_0x318acb:0x284,_0x57e7c2:0x174,_0x4c8e96:0x19c,_0x3a51d6:0x1cc,_0x2e0120:0x3a,_0x17321b:0x118,_0x2383e1:0x138,_0x338850:0x19c,_0x327d47:0xa8,_0x3f7e6f:0x17c,_0x534c8a:0x169,_0x595710:0x7a,_0x19d0ca:0x30f,_0x1ff262:0x18a,_0x3cba18:0x128,_0x9e5cf3:0x8c,_0x3df4d9:0x24a,_0x54260f:0x15a,_0x3e5bba:0x5dd,_0x566375:0xb1,_0x394485:0x1c2,_0x166e78:0x268,_0x32d50c:0x385,_0x5c0e38:0x226,_0x367c4c:0x19,_0x3d9d42:0x45,_0x489a01:0xaa,_0x50db24:0x31e,_0xb1f05:0x176,_0x288b00:0x18,_0x14ac06:0x68,_0x5324f3:0x279,_0x276661:0xc1,_0x572d47:0x47b,_0x570f66:0x673,_0x3ee6fb:0x433,_0x5ef147:0xbc,_0x175791:0xd8,_0x4b0fef:0x281,_0x515fd1:0x190,_0x3f8a5b:0x2a5,_0x56fbba:0xb1,_0x476bd0:0x16f,_0x469f86:0x455,_0x57f9c4:0x2bc,_0x5382a3:0x322,_0xf82dd4:0x274},_0x54211c={_0x68c787:0x3a9},_0x3d52b9={_0x28e26f:0x9b},_0x4b7ac7={'JtffJ':function(_0x464bfb,_0x5a290d){return _0x464bfb(_0x5a290d);},'MIrqd':_0x4ab349(_0x2cdcd9._0x247003,0x2e9)+'existing','edxWH':function(_0x5770b7,_0xf9a849,_0x4521b5){return _0x5770b7(_0xf9a849,_0x4521b5);},'Tbskp':_0x4ab349(0x422,_0x2cdcd9._0x3fb7e2)+'ed'},_0x3e6d76=_0x4b7ac7[_0x4ab349(_0x2cdcd9._0x10988b,_0x2cdcd9._0x29eb75)](normalizeHttpBase,_0x22bf2d[_0x4ab349(0x9d,_0x2cdcd9._0x2f3565)+'l']),_0x2063e1=readPairingConfig(),_0x25d612=assessPairingCompatibility(_0x2063e1,_0x3e6d76);if(_0x25d612===_0x4b7ac7[_0x4ab349(0x459,0x5a3)]&&_0x2063e1){const _0x1eb3dd={};return _0x1eb3dd[_0x48b0ad(-_0x2cdcd9._0x58fa82,-_0x2cdcd9._0x12975e)+'l']=_0x2063e1['serverUr'+'l'],_0x1eb3dd[_0x48b0ad(-_0x2cdcd9._0x410d04,-_0x2cdcd9._0x2070b7)+'d']=_0x2063e1[_0x4ab349(_0x2cdcd9._0x4575d6,0x1a2)+'d'],_0x1eb3dd[_0x48b0ad(_0x2cdcd9._0x5ce0a4,_0x2cdcd9._0x42e3e3)+'ret']=_0x2063e1[_0x48b0ad(_0x2cdcd9._0x206c4d,0xa1)+_0x4ab349(_0x2cdcd9._0x505e74,_0x2cdcd9._0xb25e45)],_0x1eb3dd[_0x48b0ad(0x2ba,_0x2cdcd9._0xcbb445)+_0x48b0ad(0x20d,0x16d)]=_0x22bf2d[_0x48b0ad(_0x2cdcd9._0x2766b4,_0x2cdcd9._0x180294)+'ame'],_0x1eb3dd[_0x48b0ad(0x11b,0x16f)+_0x48b0ad(_0x2cdcd9._0x2f00f3,0x147)]=_0x22bf2d[_0x4ab349(_0x2cdcd9._0x2a429d,_0x2cdcd9._0x5d4b48)+_0x48b0ad(-_0x2cdcd9._0x40cff1,0x147)],_0x1eb3dd['gatewayP'+_0x4ab349(_0x2cdcd9._0x141c67,-0xc4)]=_0x22bf2d['gatewayP'+_0x48b0ad(-_0x2cdcd9._0x138cda,-0x27d)],refreshAccessCode(_0x1eb3dd);}function _0x4ab349(_0x3b4f4e,_0x4ee80d){return _0x75393(_0x4ee80d,_0x3b4f4e- -_0x3d52b9._0x28e26f);}function _0x48b0ad(_0x1d87d7,_0x2e914f){return _0x75393(_0x1d87d7,_0x2e914f- -_0x54211c._0x68c787);}if(_0x25d612==='server-m'+_0x4ab349(0x387,0x32c))throw new Error(_0x48b0ad(-0x43d,-_0x2cdcd9._0x318acb)+_0x4ab349(0x33d,_0x2cdcd9._0x57e7c2)+_0x4ab349(0x425,0x45d)+'aired\x20wi'+_0x4ab349(0x2d1,_0x2cdcd9._0x4c8e96)+_0x2063e1?.['serverUr'+'l']+(_0x4ab349(_0x2cdcd9._0x3a51d6,-_0x2cdcd9._0x2e0120)+_0x48b0ad(-_0x2cdcd9._0x17321b,-_0x2cdcd9._0x2383e1)+_0x48b0ad(-0x1c2,-0x21e)+_0x48b0ad(-_0x2cdcd9._0x338850,-0x1a7)+'ring\x20wit'+_0x48b0ad(_0x2cdcd9._0x327d47,-0x110)+_0x4ab349(0x1c4,_0x2cdcd9._0x3f7e6f)+_0x4ab349(0x42d,0x2b7)));const _0x21ac0e={};_0x21ac0e[_0x48b0ad(-0x22f,-0x1ff)+_0x48b0ad(_0x2cdcd9._0x534c8a,-_0x2cdcd9._0x595710)]='applicat'+_0x4ab349(_0x2cdcd9._0x19d0ca,0x39a),_0x21ac0e[_0x4ab349(_0x2cdcd9._0x1ff262,0x30c)]='applicat'+'ion/json';const _0xc9e2c1=await _0x4b7ac7[_0x48b0ad(-_0x2cdcd9._0x3cba18,_0x2cdcd9._0x9e5cf3)](fetch,_0x3e6d76+('/v1/pair'+_0x4ab349(_0x2cdcd9._0x3df4d9,_0x2cdcd9._0x54260f)+'r'),{'method':_0x4ab349(0x426,_0x2cdcd9._0x3e5bba),'headers':_0x21ac0e,'body':JSON['stringif'+'y']({'displayName':_0x22bf2d[_0x48b0ad(0xb,_0x2cdcd9._0x566375)+_0x48b0ad(0x2e4,0x16d)]?.[_0x4ab349(0x9a,_0x2cdcd9._0x394485)]()||null})});if(!_0xc9e2c1['ok'])throw new Error(_0x4ab349(_0x2cdcd9._0x166e78,0x41c)+_0x48b0ad(0x1c3,0xdf)+_0x4ab349(_0x2cdcd9._0x32d50c,_0x2cdcd9._0x5c0e38)+_0xc9e2c1['status']+_0x48b0ad(0x1c5,_0x2cdcd9._0x367c4c)+await _0xc9e2c1[_0x48b0ad(-_0x2cdcd9._0x3d9d42,0x144)]());const _0x4cc775=await _0xc9e2c1[_0x4ab349(0x3d9,0x32b)](),_0x14251c=new Date()[_0x48b0ad(-_0x2cdcd9._0x489a01,-0x103)+_0x4ab349(_0x2cdcd9._0x50db24,_0x2cdcd9._0xb1f05)](),_0x3d00ef={'serverUrl':_0x3e6d76,'gatewayId':_0x4cc775[_0x48b0ad(-0x301,-_0x2cdcd9._0x2070b7)+'d'],'relaySecret':_0x4cc775[_0x48b0ad(0x15,0xa1)+_0x48b0ad(0x15e,0x170)],'relayUrl':_0x4cc775['relayUrl'],'instanceId':_0x2063e1?.[_0x48b0ad(-_0x2cdcd9._0x288b00,_0x2cdcd9._0x14ac06)+'Id']??_0x48b0ad(-0x16a,0x1d)+_0x4cc775[_0x4ab349(0x116,_0x2cdcd9._0x5324f3)+'d'][_0x4ab349(0x176,_0x2cdcd9._0x276661)](-0xa),'displayName':_0x4cc775[_0x4ab349(0x3bf,0x5b8)+_0x4ab349(_0x2cdcd9._0x572d47,_0x2cdcd9._0x570f66)],'createdAt':_0x14251c,'updatedAt':_0x14251c};return writePairingConfig(_0x3d00ef),{'config':_0x3d00ef,'accessCode':_0x4cc775['accessCo'+'de'],'accessCodeExpiresAt':_0x4cc775[_0x48b0ad(-0x21a,-0x190)+_0x4ab349(_0x2cdcd9._0x3ee6fb,0x435)+_0x4ab349(_0x2cdcd9._0x5ef147,-_0x2cdcd9._0x175791)],'action':_0x4b7ac7[_0x48b0ad(-0xeb,-0x11f)],'qrPayload':buildPairingQrPayload({'server':_0x3e6d76,'gatewayId':_0x4cc775[_0x4ab349(0x116,0x2b3)+'d'],'accessCode':_0x4cc775[_0x48b0ad(-_0x2cdcd9._0x4b0fef,-_0x2cdcd9._0x515fd1)+'de'],'displayName':_0x4cc775[_0x48b0ad(_0x2cdcd9._0x3f8a5b,_0x2cdcd9._0x56fbba)+_0x4ab349(_0x2cdcd9._0x572d47,0x64f)],'token':_0x22bf2d[_0x48b0ad(0x326,_0x2cdcd9._0x476bd0)+_0x4ab349(_0x2cdcd9._0x469f86,_0x2cdcd9._0x57f9c4)]?.['trim']()||null,'password':_0x22bf2d[_0x4ab349(0xf9,0x145)+_0x4ab349(_0x2cdcd9._0x141c67,0x1d7)]?.[_0x48b0ad(-_0x2cdcd9._0x5382a3,-_0x2cdcd9._0xf82dd4)]()||null})};}async function refreshAccessCode(_0x39c876){const _0x35b4e2={_0x2ac762:0x3f1,_0x16bbc9:0x3c5,_0x1206c4:0x3a0,_0x8b6b26:0x43e,_0x3503eb:0x664,_0xd825c9:0x6d7,_0x36fe6c:0x628,_0x472aa1:0x609,_0x2e8721:0x559,_0x1b0831:0x4f1,_0x22011f:0x7a7,_0x42ebfd:0x753,_0x540086:0x4b9,_0x3e73ba:0x356,_0xd18d6d:0x54c,_0x1344a0:0x721,_0x2386f9:0x58d,_0x28ab9e:0x42f,_0x419f5f:0x4c1,_0x37f6e2:0x42d,_0x4704f2:0x3fc,_0x1f3831:0x244,_0x3acfff:0x586,_0x4561df:0x462,_0xf6e73a:0x69a,_0xc4f6a4:0x34c,_0x30204d:0x4d1,_0x1a8ef9:0x5fc,_0xd3ed53:0x774,_0x27ebdb:0x5df,_0x13ef35:0x4d5,_0x5cd749:0x212,_0x5a1894:0x320,_0x394c6f:0x677,_0x3d9261:0x6e7,_0xed60c7:0x460,_0x190d78:0x625,_0x50f03c:0x47d,_0x37e964:0x533,_0x57ec88:0x4ae,_0x17565f:0x646,_0x4adb18:0x137,_0x4c3607:0x328,_0x7c3b73:0x1c1,_0x2d00a9:0x30f,_0x5a582a:0x175,_0x3687c3:0x5ff,_0xeae9fb:0xc8,_0x572de8:0x334},_0x3f73b1={_0x1d6ad1:0x10f},_0x239166=readPairingConfig(),_0x2d7948=normalizeHttpBase(_0x39c876?.[_0x38eee9(_0x35b4e2._0x2ac762,_0x35b4e2._0x16bbc9)+'l']??_0x239166?.['serverUr'+'l']??'');function _0x38eee9(_0x2722da,_0x450fd2){return _0x75393(_0x2722da,_0x450fd2-0x28d);}const _0x319bc3=_0x39c876?.[_0x38eee9(_0x35b4e2._0x1206c4,_0x35b4e2._0x8b6b26)+'d']??_0x239166?.['gatewayI'+'d']??'';function _0x348e97(_0x2a9543,_0xfad2e1){return _0x75393(_0x2a9543,_0xfad2e1-_0x3f73b1._0x1d6ad1);}const _0x2a3dd2=_0x39c876?.[_0x38eee9(_0x35b4e2._0x3503eb,_0x35b4e2._0xd825c9)+_0x348e97(0x49c,_0x35b4e2._0x36fe6c)]??_0x239166?.[_0x348e97(_0x35b4e2._0x472aa1,_0x35b4e2._0x2e8721)+'ret']??'';if(!_0x2d7948||!_0x319bc3||!_0x2a3dd2)throw new Error('Pairing\x20'+_0x38eee9(0x559,0x519)+'ot\x20found'+_0x348e97(0x521,_0x35b4e2._0x1b0831)+_0x38eee9(_0x35b4e2._0x22011f,_0x35b4e2._0x42ebfd)+'.');const _0x3a653b={};_0x3a653b[_0x348e97(0xf5,0x2b9)+'type']='applicat'+_0x348e97(0x669,0x4b9),_0x3a653b[_0x38eee9(0x2db,0x4b2)]='applicat'+_0x348e97(0x387,_0x35b4e2._0x540086);const _0x4c1968=await fetch(_0x2d7948+(_0x38eee9(_0x35b4e2._0x3e73ba,_0x35b4e2._0xd18d6d)+_0x38eee9(_0x35b4e2._0x1344a0,_0x35b4e2._0x2386f9)+_0x348e97(_0x35b4e2._0x28ab9e,_0x35b4e2._0x419f5f)),{'method':'POST','headers':_0x3a653b,'body':JSON[_0x38eee9(0x4f5,_0x35b4e2._0x37f6e2)+'y']({'gatewayId':_0x319bc3,'relaySecret':_0x2a3dd2,'displayName':_0x39c876?.[_0x348e97(_0x35b4e2._0x4704f2,0x569)+_0x348e97(0x771,0x625)]?.[_0x348e97(0x10d,_0x35b4e2._0x1f3831)]()||void 0x0})});if(!_0x4c1968['ok'])throw new Error(_0x348e97(0x5ee,_0x35b4e2._0x3acfff)+_0x38eee9(0x3da,_0x35b4e2._0x4561df)+_0x38eee9(0x5b4,_0x35b4e2._0xf6e73a)+'ed\x20('+_0x4c1968[_0x348e97(0x248,_0x35b4e2._0xc4f6a4)]+_0x348e97(0x34b,_0x35b4e2._0x30204d)+await _0x4c1968[_0x348e97(0x64c,_0x35b4e2._0x1a8ef9)]());const _0x4e764d=await _0x4c1968[_0x38eee9(0x53c,0x701)](),_0x10d286={'serverUrl':_0x2d7948,'gatewayId':_0x4e764d['gatewayI'+'d'],'relaySecret':_0x2a3dd2,'relayUrl':_0x4e764d[_0x38eee9(0x587,0x5e6)],'instanceId':_0x239166?.[_0x38eee9(_0x35b4e2._0xd3ed53,0x69e)+'Id']??_0x348e97(_0x35b4e2._0x27ebdb,_0x35b4e2._0x13ef35)+_0x4e764d[_0x348e97(0x369,0x2c0)+'d'][_0x348e97(_0x35b4e2._0x5cd749,_0x35b4e2._0x5a1894)](-0xa),'displayName':_0x4e764d[_0x38eee9(_0x35b4e2._0x394c6f,_0x35b4e2._0x3d9261)+_0x348e97(_0x35b4e2._0xed60c7,_0x35b4e2._0x190d78)],'createdAt':_0x239166?.[_0x348e97(0x5d7,_0x35b4e2._0x50f03c)+'t']??new Date()['toISOStr'+'ing'](),'updatedAt':new Date()[_0x38eee9(0x72e,_0x35b4e2._0x37e964)+_0x38eee9(_0x35b4e2._0x57ec88,_0x35b4e2._0x17565f)]()};return writePairingConfig(_0x10d286),{'config':_0x10d286,'accessCode':_0x4e764d['accessCo'+'de'],'accessCodeExpiresAt':_0x4e764d[_0x348e97(_0x35b4e2._0x4adb18,_0x35b4e2._0x4c3607)+'deExpire'+_0x38eee9(0x502,0x3e4)],'action':_0x348e97(_0x35b4e2._0x7c3b73,_0x35b4e2._0x2d00a9)+'d','qrPayload':buildPairingQrPayload({'server':_0x2d7948,'gatewayId':_0x4e764d[_0x348e97(_0x35b4e2._0x5a582a,0x2c0)+'d'],'accessCode':_0x4e764d['accessCo'+'de'],'displayName':_0x4e764d['displayN'+'ame'],'token':_0x39c876?.['gatewayT'+_0x348e97(0x64a,_0x35b4e2._0x3687c3)]?.['trim']()||null,'password':_0x39c876?.[_0x348e97(_0x35b4e2._0xeae9fb,0x2a3)+_0x348e97(_0x35b4e2._0x572de8,0x23b)]?.[_0x348e97(0x29c,0x244)]()||null})};}function normalizeHttpBase(_0x4fb4d1){const _0x2d1f01={_0x366031:0x70a,_0x40d093:0x663,_0x32c68e:0x15b,_0x1a71e1:0x1c2,_0x576eae:0xf1,_0x32bb7f:0xa7,_0x2564b:0x42,_0x192c11:0x4e6,_0x4ecde7:0x36d,_0x4c16db:0x1a3,_0x57640b:0x694,_0xfefc05:0x62f,_0xd66990:0x3e,_0x1a154d:0x14f},_0x45fb12={_0x49b5f8:0x383},_0x4458a9={};function _0x53cc5d(_0x2a0ca9,_0x396f79){return _0x75393(_0x396f79,_0x2a0ca9- -_0x45fb12._0x49b5f8);}_0x4458a9[_0x53cc5d(0x1a3,0x178)]=_0x660ab8(_0x2d1f01._0x366031,_0x2d1f01._0x40d093);const _0x122038=_0x4458a9,_0x255b0d=_0x4fb4d1[_0x53cc5d(-0x24e,-0x300)]();if(!_0x255b0d)return'';if(_0x255b0d['startsWi'+'th'](_0x53cc5d(-_0x2d1f01._0x32c68e,-_0x2d1f01._0x1a71e1))||_0x255b0d['startsWi'+'th'](_0x660ab8(0x423,0x56e)))return _0x255b0d[_0x53cc5d(0x3e,_0x2d1f01._0x576eae)](/\/+$/,'');if(_0x255b0d[_0x660ab8(0x7b1,0x94f)+'th'](_0x53cc5d(_0x2d1f01._0x32bb7f,-_0x2d1f01._0x2564b)))return(_0x660ab8(_0x2d1f01._0x192c11,0x611)+_0x255b0d[_0x53cc5d(-0x172,-_0x2d1f01._0x4ecde7)]('ws://'['length']))['replace'](/\/+$/,'');function _0x660ab8(_0x207684,_0x3d9e07){return _0x75393(_0x3d9e07,_0x207684-0x2be);}if(_0x255b0d['startsWi'+'th'](_0x660ab8(0x70a,0x68b)))return('https://'+_0x255b0d[_0x660ab8(0x4cf,0x56c)](_0x122038[_0x53cc5d(_0x2d1f01._0x4c16db,-0x43)][_0x660ab8(0x6fd,0x859)]))[_0x660ab8(0x67f,_0x2d1f01._0x57640b)](/\/+$/,'');return(_0x660ab8(0x423,_0x2d1f01._0xfefc05)+_0x255b0d)[_0x53cc5d(_0x2d1f01._0xd66990,_0x2d1f01._0x1a154d)](/\/+$/,'');}function assessPairingCompatibility(_0x3f12ce,_0x425c26){const _0x44dd14={_0x59664d:0x11b,_0x5dfeda:0x767,_0x4c3731:0x4ba,_0x4cc721:0x483},_0x2a44b9={_0x4f2d11:0x540},_0x91ae26={};_0x91ae26[_0x484518(_0x44dd14._0x59664d,0x1e0)]=function(_0x1931c5,_0x1768fe){return _0x1931c5===_0x1768fe;},_0x91ae26['ydvtp']=_0x4b88b7(0x6f0,_0x44dd14._0x5dfeda)+_0x4b88b7(0x5ec,0x56e);function _0x4b88b7(_0x2786fd,_0x2e8355){return _0x143ed5(_0x2e8355-_0x2a44b9._0x4f2d11,_0x2786fd);}_0x91ae26[_0x484518(0xbd,-0xa4)]='server-m'+'ismatch';function _0x484518(_0x4d1009,_0x1a73fd){return _0x143ed5(_0x4d1009-0xd5,_0x1a73fd);}const _0x50b337=_0x91ae26;if(!_0x3f12ce)return _0x4b88b7(0x935,0x808)+'-new';if(_0x50b337[_0x484518(_0x44dd14._0x59664d,0x14c)](_0x3f12ce[_0x4b88b7(_0x44dd14._0x4c3731,_0x44dd14._0x4cc721)+'l'],_0x425c26))return _0x50b337['ydvtp'];return _0x50b337[_0x484518(0xbd,-0x48)];}import{execFileSync,spawn}from'child_process';import{chmodSync,closeSync,existsSync as _0x380e31,mkdirSync as _0x2eb1d2,openSync,readFileSync as _0x38dd2e,realpathSync,rmSync as _0x12515c,writeFileSync as _0x54e92a}from'fs';import{homedir as _0x4465b1}from'os';import{dirname,join as _0x53af81}from'path';var SERVICE_LABEL='ai.clawk'+_0x143ed5(0x7b,0x60)+_0x143ed5(0x155,0xb7),SYSTEMD_UNIT_NAME=SERVICE_LABEL+'.service',WINDOWS_RUN_KEY=_0x143ed5(-0xb0,-0x28a)+'ridgeCli',SERVICE_DIR=_0x53af81(_0x4465b1(),_0x143ed5(0x2d7,0x34f)),LOG_DIR=_0x53af81(SERVICE_DIR,'logs'),SERVICE_STATE_PATH=_0x53af81(SERVICE_DIR,_0x143ed5(0x3,-0xce)+_0x75393(0x19d,0x141)+_0x75393(0x18e,0x381)),SERVICE_LAUNCHER_PATH=_0x53af81(SERVICE_DIR,_0x143ed5(0x3,-0x199)+_0x143ed5(0x13b,0xcf)+_0x143ed5(0x342,0x4a0)+'sh'),SERVICE_LOG_PATH=_0x53af81(LOG_DIR,_0x143ed5(-0xcc,0x5c)+_0x143ed5(0xa,-0x19f)),SERVICE_ERROR_LOG_PATH=_0x53af81(LOG_DIR,_0x143ed5(-0xcc,-0xaf)+'li-error'+_0x75393(0x2e4,0x384)),MACOS_PLIST_PATH=_0x53af81(_0x4465b1(),'Library',_0x143ed5(0x99,-0x130)+_0x143ed5(0x207,0xbe),SERVICE_LABEL+'.plist'),LINUX_SERVICE_PATH=_0x53af81(_0x4465b1(),_0x75393(0x22c,0x140),_0x143ed5(-0xd,0xc4),_0x143ed5(0x137,0x158),SYSTEMD_UNIT_NAME);function getServiceProgramArgs(_0x902865={},_0x3fa496=process[_0x75393(0x357,0x34b)]){const _0x4b7268={_0x73681b:0x5e3,_0xf92dae:0x71f,_0x4d9dfd:0x6b7,_0xe060fe:0x65c,_0x49e7dd:0x6fd,_0x5dae8d:0x4ff,_0x4d34f1:0x31f,_0x10be60:0x257,_0x3d688b:0x5bb,_0x491611:0x39a,_0x16542d:0x687,_0x307862:0x6a2,_0x17f71b:0x4a4,_0x2df581:0x712,_0x54f8ba:0x90d,_0x28231d:0x6a3,_0x1c4561:0x4e5,_0x16cf21:0x49c,_0x213668:0x6be,_0x36289f:0x73e},_0x35d7db={'kXsGa':function(_0x5af408,_0x563b71){return _0x5af408(_0x563b71);},'fiegj':function(_0x38591b,_0x1e2dfe){return _0x38591b!==_0x1e2dfe;},'yPyXd':function(_0xe6deb4,_0x35d430){return _0xe6deb4(_0x35d430);}},_0x4164c7=_0x902865[_0x2ca193(0x3db,_0x4b7268._0x73681b)]?.['trim']()||process['execPath'];function _0x5a37e4(_0x3ae2b1,_0x12b7c9){return _0x143ed5(_0x3ae2b1-0x566,_0x12b7c9);}const _0x4dddd3=_0x35d7db[_0x5a37e4(0x6ac,_0x4b7268._0xf92dae)](resolveScriptPath,_0x902865[_0x5a37e4(_0x4b7268._0x4d9dfd,_0x4b7268._0xe060fe)+'th']);if(!_0x4dddd3)throw new Error(_0x5a37e4(_0x4b7268._0x49e7dd,0x8c4)+_0x2ca193(0x586,0x768)+_0x5a37e4(0x608,_0x4b7268._0x5dae8d)+_0x2ca193(_0x4b7268._0x4d34f1,_0x4b7268._0x10be60)+_0x2ca193(_0x4b7268._0x3d688b,0x740)+_0x2ca193(_0x4b7268._0x491611,0x31c)+_0x5a37e4(_0x4b7268._0x16542d,_0x4b7268._0x307862)+_0x2ca193(0x59b,0x71e));function _0x2ca193(_0x4803f0,_0x534642){return _0x143ed5(_0x4803f0-0x29e,_0x534642);}if(_0x35d7db[_0x2ca193(_0x4b7268._0x17f71b,0x470)](_0x3fa496,_0x5a37e4(_0x4b7268._0x2df581,_0x4b7268._0x54f8ba))){const _0xf99d4d={};_0xf99d4d[_0x5a37e4(_0x4b7268._0x28231d,_0x4b7268._0x1c4561)]=_0x4164c7,_0xf99d4d[_0x2ca193(0x3ef,_0x4b7268._0x16cf21)+'th']=_0x4dddd3,_0xf99d4d['pathEnv']=process.env.PATH??'';const _0x3499f7=_0x35d7db[_0x5a37e4(_0x4b7268._0x213668,_0x4b7268._0x36289f)](writeServiceLauncher,_0xf99d4d);return ensureLaunchScriptExecutable(_0x3499f7,_0x3fa496),[_0x3499f7];}return[_0x4164c7,_0x4dddd3,'run',_0x2ca193(0x1fb,0x2dc)+'e'];}function getServiceStatus(){const _0x25a1b1={_0x32ef20:0x4ca,_0x2ee747:0x31f,_0x274104:0x38c,_0x1ffe4c:0x1a1,_0xb8fcb7:0x35c,_0x42cd6d:0x21e,_0x20aec4:0x2b8,_0x2a0a6c:0x112,_0x35da7b:0x154,_0x184472:0x5fe,_0x394b2e:0x172,_0x516007:0x498,_0x957d1:0x2aa,_0x5d89dd:0x4ad,_0x25accf:0x5e8,_0x199a27:0x503,_0x40d20c:0x176,_0x3820bd:0x1a3,_0x4fe06f:0x132,_0xcc4ac8:0x2fe,_0xd25112:0x3da,_0x5656d1:0x4f0,_0x2fabde:0x2cf,_0x1c8d98:0x1ad,_0x295fb5:0x4ca,_0x39874d:0x235,_0x141339:0x146,_0x4bb1fd:0x351,_0x3f2a93:0x16b,_0x23a924:0x1ac,_0x1be085:0x43e,_0x3867b1:0x190,_0x535505:0x311,_0x5d6147:0x29a,_0x48cd01:0x4a3,_0x147a59:0x4f1,_0x4e1e2c:0x579},_0x27313b={_0x7a9392:0x8},_0x148c6f={_0x1251e9:0xd};function _0x2b935c(_0x4fb99c,_0x76154e){return _0x75393(_0x4fb99c,_0x76154e- -_0x148c6f._0x1251e9);}const _0x41b131={'gnThc':function(_0x467ef4){return _0x467ef4();},'RnhWD':function(_0x2d82d7,_0x41421e){return _0x2d82d7!=_0x41421e;},'nreaQ':function(_0x201138,_0x5fec7a){return _0x201138(_0x5fec7a);},'eNgvi':_0x1a0766(0x4b9,_0x25a1b1._0x32ef20)+_0x2b935c(0x12c,_0x25a1b1._0x2ee747),'GVDGR':function(_0x20fa19,_0x26b550,_0x5962cf){return _0x20fa19(_0x26b550,_0x5962cf);},'DBZzc':_0x1a0766(_0x25a1b1._0x274104,_0x25a1b1._0x1ffe4c)+_0x1a0766(_0x25a1b1._0xb8fcb7,0x188)+_0x1a0766(0x1ce,_0x25a1b1._0x42cd6d)+_0x2b935c(0x362,0x2a2)+_0x1a0766(_0x25a1b1._0x20aec4,0x438)+_0x1a0766(_0x25a1b1._0x2a0a6c,_0x25a1b1._0x35da7b)+'un'};ensureServiceDirs();function _0x1a0766(_0x5e0ceb,_0x1db433){return _0x75393(_0x5e0ceb,_0x1db433-_0x27313b._0x7a9392);}const _0x139318=readServiceState()?.[_0x1a0766(_0x25a1b1._0x184472,0x4ad)]??null,_0x156ee5={'installed':![],'running':_0x139318!=null&&isPidRunning(_0x139318),'method':_0x41b131[_0x1a0766(_0x25a1b1._0x394b2e,0x354)](detectServiceMethod),'servicePath':getServicePath(),'logPath':SERVICE_LOG_PATH,'errorLogPath':SERVICE_ERROR_LOG_PATH,'pid':_0x139318};_0x41b131['RnhWD'](_0x156ee5[_0x2b935c(0x576,_0x25a1b1._0x516007)],null)&&!_0x156ee5[_0x1a0766(0x2dd,0x408)]&&(clearServiceState(_0x156ee5[_0x1a0766(_0x25a1b1._0x957d1,_0x25a1b1._0x5d89dd)]),_0x156ee5['pid']=null);switch(_0x156ee5[_0x1a0766(_0x25a1b1._0x25accf,_0x25a1b1._0x199a27)]){case _0x2b935c(_0x25a1b1._0x40d20c,_0x25a1b1._0x3820bd)+_0x2b935c(0x281,_0x25a1b1._0x4fe06f):_0x156ee5[_0x1a0766(0x1ed,_0x25a1b1._0xcc4ac8)+'d']=_0x41b131['nreaQ'](_0x380e31,MACOS_PLIST_PATH);_0x156ee5[_0x1a0766(_0x25a1b1._0xd25112,0x2fe)+'d']&&(_0x156ee5[_0x1a0766(0x5d2,0x408)]=commandSucceeds(_0x1a0766(0x39b,_0x25a1b1._0x5656d1)+'l',[_0x2b935c(_0x25a1b1._0x2fabde,_0x25a1b1._0x1c8d98),SERVICE_LABEL])||_0x156ee5['running']);return _0x156ee5;case _0x41b131[_0x1a0766(_0x25a1b1._0x295fb5,0x348)]:_0x156ee5[_0x2b935c(0x110,0x2e9)+'d']=_0x41b131['nreaQ'](_0x380e31,LINUX_SERVICE_PATH);_0x156ee5[_0x1a0766(0x464,_0x25a1b1._0xcc4ac8)+'d']&&(_0x156ee5[_0x1a0766(_0x25a1b1._0x39874d,0x408)]=commandSucceeds(_0x1a0766(_0x25a1b1._0x2fabde,0x315)+'l',[_0x2b935c(_0x25a1b1._0x141339,0x260),_0x2b935c(_0x25a1b1._0x4bb1fd,_0x25a1b1._0x3f2a93)+'e',_0x2b935c(0xaf,_0x25a1b1._0x23a924),SYSTEMD_UNIT_NAME])||_0x156ee5[_0x2b935c(_0x25a1b1._0x1be085,0x3f3)]);return _0x156ee5;case'windows-'+_0x1a0766(0x165,0x23e)+_0x1a0766(_0x25a1b1._0x3867b1,0x260):_0x156ee5[_0x1a0766(_0x25a1b1._0x535505,0x2fe)+'d']=_0x41b131[_0x2b935c(0x11c,_0x25a1b1._0x5d6147)](commandSucceeds,_0x2b935c(_0x25a1b1._0x48cd01,0x31a),[_0x2b935c(_0x25a1b1._0x147a59,0x329),_0x41b131[_0x2b935c(_0x25a1b1._0x4e1e2c,0x4e4)],'/v',WINDOWS_RUN_KEY]);return _0x156ee5;default:return _0x156ee5;}}function installService(_0x466536={}){const _0x46bddb={_0x5b3249:0x156,_0x4889f5:0x9d,_0x2e79dc:0x302,_0x220dae:0xff,_0x52c878:0x56,_0x22ae6e:0x2a5,_0x20908d:0x24f,_0x3f58c1:0x6b2,_0x246039:0x42,_0x4f807f:0x2fb,_0x1fdedf:0x392,_0x353a75:0x66a,_0x3066cb:0x209,_0x3944b0:0x439,_0x40919b:0x266,_0x2e76db:0x62b,_0x451395:0x88,_0x5107a:0x1f6,_0x1dbaea:0x1f6,_0x1fc8cc:0x388,_0x1826a5:0x515,_0x5240cc:0x1d,_0x322edf:0x3b0,_0x2c0daa:0x3d7,_0x17d088:0x522,_0x358e76:0xed,_0x1d8a4c:0x105,_0x3e9029:0x558,_0x3eb5d9:0x427,_0x44893d:0x2cb,_0xef4edc:0x1b4,_0x543edb:0x726,_0x14a00e:0x595,_0x32d8f3:0xbc,_0x2970a6:0x3fc},_0x3a769c={_0xa44cbe:0x182},_0x2ddc70={_0x3e9205:0x117},_0x270b50={'CmtwD':_0x400be3(0x325,0x3d1)+'l','XuteS':function(_0x55e751,_0x1b141d,_0x3d97ff){return _0x55e751(_0x1b141d,_0x3d97ff);},'UBvbj':_0x400be3(0xe6,_0x46bddb._0x5b3249),'uuzYo':_0x400be3(_0x46bddb._0x4889f5,0x211),'hhfGB':function(_0x118f20){return _0x118f20();},'qEqse':function(_0x36b484,_0x3dcf7b,_0x49dfc6,_0x91fc66){return _0x36b484(_0x3dcf7b,_0x49dfc6,_0x91fc66);},'zNerm':_0x400be3(0x98,0x82)+_0x3eda85(0x4f1,_0x46bddb._0x2e79dc)+_0x400be3(0x106,_0x46bddb._0x220dae)+_0x400be3(_0x46bddb._0x52c878,0x198)+_0x400be3(_0x46bddb._0x22ae6e,0x319)+_0x3eda85(0x2ad,0x2ce)+'un'};ensureServiceDirs();const _0x29d524=getServiceProgramArgs(_0x466536);function _0x400be3(_0x35baa4,_0x4f93f9){return _0x75393(_0x35baa4,_0x4f93f9- -_0x2ddc70._0x3e9205);}switch(process[_0x400be3(_0x46bddb._0x20908d,0x234)]){case'darwin':_0x54e92a(MACOS_PLIST_PATH,buildMacosPlist(_0x29d524,SERVICE_LOG_PATH,SERVICE_ERROR_LOG_PATH),_0x3eda85(_0x46bddb._0x3f58c1,0x4ff)),execIgnoreFailure(_0x270b50[_0x400be3(-_0x46bddb._0x246039,0x18b)],[_0x400be3(0x2e5,_0x46bddb._0x4f807f),'-w',MACOS_PLIST_PATH]);const _0x21f022={};_0x21f022[_0x400be3(0x3e2,_0x46bddb._0x1fdedf)]=_0x400be3(0x87,0x211),execFileSync(_0x3eda85(0x72c,_0x46bddb._0x353a75)+'l',[_0x3eda85(0x73d,0x610),'-w',MACOS_PLIST_PATH],_0x21f022);break;case _0x400be3(_0x46bddb._0x3066cb,0x1ad):const _0x300db7={};_0x300db7[_0x3eda85(0x342,0x312)+'e']=!![],_0x270b50[_0x400be3(_0x46bddb._0x3944b0,0x3c1)](_0x2eb1d2,dirname(LINUX_SERVICE_PATH),_0x300db7),_0x54e92a(LINUX_SERVICE_PATH,buildLinuxSystemdUnit(_0x29d524,SERVICE_LOG_PATH,SERVICE_ERROR_LOG_PATH),_0x400be3(0x3f1,_0x46bddb._0x40919b));const _0x2a2c5a={};_0x2a2c5a[_0x3eda85(0x75b,_0x46bddb._0x2e76db)]=_0x400be3(_0x46bddb._0x451395,0x211),execFileSync(_0x400be3(0x2e9,_0x46bddb._0x5107a)+'l',['--user',_0x400be3(0x1ab,0x51)+'eload'],_0x2a2c5a),execFileSync(_0x400be3(0x3de,_0x46bddb._0x1dbaea)+'l',[_0x270b50[_0x3eda85(_0x46bddb._0x1fc8cc,0x2e4)],'enable',_0x3eda85(0x63d,_0x46bddb._0x1826a5),SYSTEMD_UNIT_NAME],{'stdio':_0x270b50[_0x400be3(-0x10d,_0x46bddb._0x5240cc)]});break;case _0x3eda85(_0x46bddb._0x322edf,0x523):_0x270b50['hhfGB'](stopRunningProcess);const _0x323e09={};_0x323e09[_0x400be3(_0x46bddb._0x2c0daa,0x392)]=_0x3eda85(_0x46bddb._0x17d088,0x4aa),_0x270b50['qEqse'](execFileSync,'reg',['add',_0x270b50[_0x400be3(_0x46bddb._0x358e76,_0x46bddb._0x1d8a4c)],'/v',WINDOWS_RUN_KEY,'/t',_0x3eda85(0x3b3,_0x46bddb._0x3e9029),'/d',buildWindowsRunCommand(_0x29d524),'/f'],_0x323e09),startDetachedWindowsService(_0x29d524);break;default:throw new Error(_0x3eda85(_0x46bddb._0x3eb5d9,_0x46bddb._0x44893d)+_0x400be3(_0x46bddb._0xef4edc,0x3a1)+_0x3eda85(0x218,0x3ec)+_0x3eda85(_0x46bddb._0x543edb,_0x46bddb._0x14a00e)+_0x400be3(-_0x46bddb._0x32d8f3,0xbf)+_0x3eda85(0x493,_0x46bddb._0x2970a6)+'n:\x20'+process['platform']);}function _0x3eda85(_0x376ba7,_0x35e6b1){return _0x75393(_0x376ba7,_0x35e6b1-_0x3a769c._0xa44cbe);}return getServiceStatus();}function restartService(_0x53c3b5={}){const _0x46aad1={_0x2b565a:0x8ac,_0x29d69b:0x6ce,_0x271441:0x708,_0x104e5c:0x878,_0x61b4a8:0x644,_0x24525f:0x53d,_0x20f5a9:0x7e,_0x54456f:0x98,_0x23bc73:0x1e2,_0x471dd2:0x137,_0x231ebe:0xad,_0x268343:0xe2,_0x29d302:0x22,_0x40387a:0x65e,_0x5dbd51:0xae,_0x5046cf:0x263,_0x44183f:0x1f7,_0x40fdd3:0x65e,_0x42c66e:0x1bd,_0x3ed54d:0x88b,_0xd63bde:0x7fa,_0xe45c3a:0xe1,_0x35bfcb:0x54,_0x40e2ac:0x4ea,_0xab3850:0x6ad,_0x44ac52:0x6e7,_0x1e1a1a:0x809,_0x4a8d05:0x563,_0x2850d1:0x26b},_0x191ac9={_0x2e5f76:0x246},_0x50a44b={_0x53ff6e:0x351},_0x144e24={'UdKDo':function(_0x225127,_0x30d32f){return _0x225127(_0x30d32f);},'LWFLZ':_0x3425cd(_0x46aad1._0x2b565a,_0x46aad1._0x29d69b),'evRco':'launchct'+'l','lkRJP':function(_0x195879,_0x55ce76,_0x5301f1,_0xc53883){return _0x195879(_0x55ce76,_0x5301f1,_0xc53883);},'FJtms':function(_0xbdb1bf,_0x45b841){return _0xbdb1bf(_0x45b841);},'SxBpm':_0x416c1b(-0xde,-0x225)+'eload','XyLVk':function(_0x5cbc0c){return _0x5cbc0c();},'jyeVh':'REG_SZ'};ensureServiceDirs();const _0x3d4b9f=getServiceProgramArgs(_0x53c3b5);function _0x3425cd(_0xf723c4,_0x3ed3ef){return _0x75393(_0xf723c4,_0x3ed3ef-_0x50a44b._0x53ff6e);}function _0x416c1b(_0x4cf093,_0x3d741b){return _0x75393(_0x3d741b,_0x4cf093- -_0x191ac9._0x2e5f76);}switch(process[_0x416c1b(0x105,0x10)]){case _0x3425cd(_0x46aad1._0x271441,_0x46aad1._0x104e5c):if(!_0x144e24[_0x3425cd(_0x46aad1._0x61b4a8,_0x46aad1._0x24525f)](_0x380e31,MACOS_PLIST_PATH))return installService(_0x53c3b5);_0x54e92a(MACOS_PLIST_PATH,buildMacosPlist(_0x3d4b9f,SERVICE_LOG_PATH,SERVICE_ERROR_LOG_PATH),_0x144e24['LWFLZ']),execIgnoreFailure(_0x144e24[_0x416c1b(-0x89,-0xaf)],['unload','-w',MACOS_PLIST_PATH]);const _0x4b2f7e={};_0x4b2f7e[_0x3425cd(0x7e0,0x7fa)]='ignore',_0x144e24['lkRJP'](execFileSync,_0x144e24['evRco'],['load','-w',MACOS_PLIST_PATH],_0x4b2f7e);break;case _0x416c1b(_0x46aad1._0x20f5a9,_0x46aad1._0x54456f):if(!_0x380e31(LINUX_SERVICE_PATH))return installService(_0x53c3b5);const _0x8fbfed={};_0x8fbfed['recursiv'+'e']=!![],_0x2eb1d2(_0x144e24[_0x416c1b(_0x46aad1._0x23bc73,0x310)](dirname,LINUX_SERVICE_PATH),_0x8fbfed),_0x54e92a(LINUX_SERVICE_PATH,buildLinuxSystemdUnit(_0x3d4b9f,SERVICE_LOG_PATH,SERVICE_ERROR_LOG_PATH),_0x416c1b(_0x46aad1._0x471dd2,-_0x46aad1._0x231ebe));const _0x377a99={};_0x377a99[_0x416c1b(0x263,0x305)]=_0x416c1b(_0x46aad1._0x268343,_0x46aad1._0x29d302),execFileSync(_0x3425cd(0x71b,_0x46aad1._0x40387a)+'l',[_0x416c1b(0x27,0x204),_0x144e24[_0x416c1b(_0x46aad1._0x5dbd51,0x128)]],_0x377a99);const _0x21c698={};_0x21c698[_0x416c1b(_0x46aad1._0x5046cf,_0x46aad1._0x44183f)]=_0x3425cd(0x5c6,0x679),execFileSync(_0x3425cd(0x4e3,_0x46aad1._0x40fdd3)+'l',[_0x416c1b(0x27,-_0x46aad1._0x42c66e),'restart',SYSTEMD_UNIT_NAME],_0x21c698);break;case _0x3425cd(0x85b,0x6f2):_0x144e24[_0x3425cd(_0x46aad1._0x3ed54d,0x7a3)](stopRunningProcess);const _0x457668={};_0x457668[_0x3425cd(0x7cc,_0x46aad1._0xd63bde)]='ignore',execFileSync(_0x416c1b(_0x46aad1._0xe45c3a,-_0x46aad1._0x35bfcb),[_0x416c1b(0x1de,0x16a),_0x3425cd(0x6c9,_0x46aad1._0x40e2ac)+_0x3425cd(_0x46aad1._0xab3850,0x4d1)+'crosoft\x5c'+_0x3425cd(_0x46aad1._0x44ac52,0x600)+_0x416c1b(0x1ea,0xbf)+'ersion\x5cR'+'un','/v',WINDOWS_RUN_KEY,'/t',_0x144e24['jyeVh'],'/d',buildWindowsRunCommand(_0x3d4b9f),'/f'],_0x457668),startDetachedWindowsService(_0x3d4b9f);break;default:throw new Error(_0x3425cd(0x3dd,0x49a)+_0x3425cd(0x77f,_0x46aad1._0x1e1a1a)+_0x416c1b(0x24,-0x19e)+_0x3425cd(_0x46aad1._0x4a8d05,0x764)+_0x416c1b(_0x46aad1._0x2850d1,0x241)+'tart:\x20'+process['platform']);}return getServiceStatus();}function uninstallService(){const _0x443f79={_0x32010b:0x675,_0x28fbec:0x61f,_0x1a7a56:0x5be,_0x432a69:0x1ed,_0x44fa88:0x450,_0x448f98:0x421,_0x15407d:0x59b,_0x4d9c07:0x712,_0x4d78d9:0xbd,_0xadf14d:0x5a,_0x5c073c:0x287,_0xc156d1:0x48,_0x1d7f1e:0x128,_0x5ade17:0x48,_0x44a085:0xd1,_0x31a87b:0x2e,_0x354866:0xd0,_0x4a7f3f:0x22e,_0x4c409c:0x6e1,_0x4a82ff:0x298,_0x45b98a:0x3fd,_0x2eebc6:0x2f},_0x235dc6={_0x2e7b68:0x4a6},_0x2581d0={'eAeBK':_0x21f34(0x82a,0x799)+'l','eZwLg':_0x21f34(_0x443f79._0x32010b,0x575),'uoQww':_0x21f34(_0x443f79._0x28fbec,_0x443f79._0x1a7a56)+'l','SMAOZ':function(_0x448d9a,_0x41e273){return _0x448d9a(_0x41e273);},'ReuaK':_0x39e7e7(-_0x443f79._0x432a69,-0x350)+_0x21f34(_0x443f79._0x44fa88,_0x443f79._0x448f98),'ifjPM':_0x21f34(0x454,0x652),'ppqUK':function(_0x1e6000){return _0x1e6000();},'tNNmj':function(_0x5664fe){return _0x5664fe();}};stopRunningProcess();function _0x39e7e7(_0x297587,_0x4ede35){return _0x143ed5(_0x297587- -0x160,_0x4ede35);}switch(process['platform']){case'darwin':execIgnoreFailure(_0x2581d0[_0x21f34(_0x443f79._0x15407d,_0x443f79._0x4d9c07)],[_0x39e7e7(_0x443f79._0x4d78d9,_0x443f79._0xadf14d),'-w',MACOS_PLIST_PATH]),rmIfExists(MACOS_PLIST_PATH);break;case _0x2581d0[_0x39e7e7(-0x110,-_0x443f79._0x5c073c)]:_0x380e31(LINUX_SERVICE_PATH)&&(execIgnoreFailure(_0x2581d0[_0x21f34(0x681,0x60b)],['--user','disable',_0x39e7e7(0x3e,-_0x443f79._0xc156d1),SYSTEMD_UNIT_NAME]),_0x2581d0[_0x39e7e7(_0x443f79._0x1d7f1e,0x15d)](rmIfExists,LINUX_SERVICE_PATH),execIgnoreFailure(_0x39e7e7(-_0x443f79._0x5ade17,_0x443f79._0x44a085)+'l',['--user',_0x2581d0['ReuaK']]));break;case _0x2581d0['ifjPM']:execIgnoreFailure(_0x39e7e7(-_0x443f79._0x31a87b,-_0x443f79._0x354866),[_0x39e7e7(-_0x443f79._0x4a7f3f,-0x47),_0x21f34(0x5e9,0x44a)+'tware\x5cMi'+'crosoft\x5c'+_0x39e7e7(-0xa6,-0x2ab)+_0x21f34(0x635,_0x443f79._0x4c409c)+_0x21f34(_0x443f79._0x4a82ff,_0x443f79._0x45b98a)+'un','/v',WINDOWS_RUN_KEY,'/f']);break;default:break;}function _0x21f34(_0x4d8576,_0xcac454){return _0x143ed5(_0xcac454-_0x235dc6._0x2e7b68,_0x4d8576);}return _0x2581d0[_0x39e7e7(-_0x443f79._0x2eebc6,0xca)](clearServiceState),_0x2581d0['tNNmj'](getServiceStatus);}function stopService(){const _0x2d8ec4={_0x3111ec:0x315,_0x1e9ee0:0x92,_0x4f07a2:0x5c,_0x435590:0x3e,_0x4913e0:0xe9,_0x10609e:0x34a,_0x459513:0xc5,_0x45653f:0x3e5,_0x5907f2:0x596,_0x4267b4:0x1a3},_0x2213c7={_0x59a0ec:0x239},_0x230889={'gmFCd':function(_0x58e6c9,_0x5a5586){return _0x58e6c9(_0x5a5586);},'GGrnc':function(_0x36a9ea,_0x5e8a4f,_0x58c26f){return _0x36a9ea(_0x5e8a4f,_0x58c26f);},'bkgdX':_0x3262d4(-0x7c,-0x85)+'l','JVHew':_0x3262d4(-0x11c,-_0x2d8ec4._0x3111ec),'Lfpmw':_0x3262d4(_0x2d8ec4._0x1e9ee0,_0x2d8ec4._0x4f07a2),'SaEVA':function(_0x48fd85){return _0x48fd85();}};stopRunningProcess();function _0x3262d4(_0x313f2a,_0x28f4f2){return _0x143ed5(_0x313f2a- -0x194,_0x28f4f2);}function _0x967cd(_0x43de29,_0x419e33){return _0x143ed5(_0x43de29-_0x2213c7._0x59a0ec,_0x419e33);}switch(process[_0x3262d4(-_0x2d8ec4._0x435590,_0x2d8ec4._0x4913e0)]){case _0x3262d4(0x19e,_0x2d8ec4._0x10609e):_0x230889[_0x967cd(0x298,0x374)](_0x380e31,MACOS_PLIST_PATH)&&execIgnoreFailure('launchct'+'l',[_0x3262d4(0x89,-0x118),MACOS_PLIST_PATH]);break;case _0x3262d4(-_0x2d8ec4._0x459513,-0x9f):_0x380e31(LINUX_SERVICE_PATH)&&_0x230889['GGrnc'](execIgnoreFailure,_0x230889[_0x967cd(0x554,0x3bf)],[_0x230889[_0x3262d4(-0x192,-0x42)],_0x230889['Lfpmw'],SYSTEMD_UNIT_NAME]);break;case _0x967cd(_0x2d8ec4._0x45653f,_0x2d8ec4._0x5907f2):break;default:break;}return clearServiceState(),_0x230889[_0x3262d4(-0x266,-_0x2d8ec4._0x4267b4)](getServiceStatus);}function writeServiceState(_0x177400=process['pid']){const _0x106d53={_0x9ad25f:0x2fc,_0x3856db:0x3b9,_0x33b950:0x3f7},_0x357b36={_0x4b962a:0x3aa},_0x5807b1={'BZXUW':function(_0x5013ec,_0x1e42d3,_0x54a6c3,_0x198fc9){return _0x5013ec(_0x1e42d3,_0x54a6c3,_0x198fc9);},'iQXOe':_0x2b430a(0x37d,0x3c1)};ensureServiceDirs();function _0x4ac57e(_0x1d6d80,_0x2650d4){return _0x143ed5(_0x1d6d80-_0x357b36._0x4b962a,_0x2650d4);}const _0x29ffca={'pid':_0x177400,'startedAt':new Date()[_0x4ac57e(0x45b,_0x106d53._0x9ad25f)+_0x2b430a(_0x106d53._0x3856db,_0x106d53._0x33b950)]()};function _0x2b430a(_0x500d30,_0xe1a808){return _0x143ed5(_0x500d30-0x1f5,_0xe1a808);}_0x5807b1['BZXUW'](_0x54e92a,SERVICE_STATE_PATH,JSON[_0x2b430a(0x1a0,0x2ba)+'y'](_0x29ffca,null,0x2)+'\x0a',_0x5807b1[_0x2b430a(0x3de,0x588)]);}function clearServiceState(_0x3742fe){const _0x3b4cc1={_0x3bcb9d:0x57d},_0x5133ba={_0x575b1a:0x2cd},_0x15916c={'CbApv':function(_0x4521d1,_0x1ad653){return _0x4521d1(_0x1ad653);}};if(!_0x15916c[_0x426cd3(0x4e2,0x3ec)](_0x380e31,SERVICE_STATE_PATH))return;if(_0x3742fe!=null){const _0x512be3=readServiceState();if(_0x512be3&&_0x512be3[_0x426cd3(_0x3b4cc1._0x3bcb9d,0x374)]!==_0x3742fe)return;}function _0x1c628(_0x39cd84,_0x4aed32){return _0x143ed5(_0x4aed32-0x375,_0x39cd84);}function _0x426cd3(_0xc14b1a,_0x2cf5c5){return _0x143ed5(_0xc14b1a-_0x5133ba._0x575b1a,_0x2cf5c5);}rmIfExists(SERVICE_STATE_PATH);}function getServicePaths(){const _0x407da3={_0x1521e7:0x4f9};function _0x2515dc(_0x179a6f,_0x393032){return _0x143ed5(_0x393032-_0x407da3._0x1521e7,_0x179a6f);}const _0x317403={'VrkAR':function(_0x3542d7){return _0x3542d7();}};return{'logPath':SERVICE_LOG_PATH,'errorLogPath':SERVICE_ERROR_LOG_PATH,'servicePath':_0x317403[_0x2515dc(0x41a,0x5ba)](getServicePath)};}function buildMacosPlist(_0x1a544c,_0x2deb70,_0x49822c){const _0x598613={_0xd460f7:0x18b,_0x38df10:0x5fd,_0x5e2111:0x434,_0x27e3db:0x4d,_0xd76864:0x38a,_0x26ffc1:0x26c,_0x2480e8:0x426,_0x5d7f2f:0x3ce,_0x3a526e:0x333,_0x2060cc:0x388,_0x2aa5ba:0x5b1,_0x4e8767:0x113,_0x431605:0x8,_0xf1aac5:0x854,_0x1e0f7f:0x79b,_0x1cd98c:0x6ac,_0x5f1c2e:0x6c,_0x55a482:0x773,_0x5f1b73:0x578,_0x475dc4:0x4a0,_0xc833e7:0x13b,_0x5ba000:0x857,_0x378328:0x64d,_0x1b6848:0x325,_0x2a13fc:0x4fd,_0x4555ed:0x38f,_0x5e9bfa:0x38,_0x328ae0:0x10e,_0x239c18:0x3d7,_0x3ce8db:0x2d,_0x5ec88b:0x1c,_0x1d26cd:0x71,_0xf8bc98:0x3f8,_0xadcff9:0x58c,_0x24dad7:0x4a,_0xafb7bf:0x43,_0x171d8d:0x722,_0x5ee180:0x5b7,_0x5ec996:0x45,_0x707047:0x44e,_0x2a7862:0x3dc,_0x521e5a:0x4a1,_0x1e8600:0x3f1,_0x38afcb:0x4d8,_0x5b41c2:0x3b0,_0x134431:0x1e7,_0x26828a:0x4b1,_0x7d7388:0x359,_0x2cfcd4:0x239,_0x3703b4:0x307,_0x243697:0x1eb,_0x471f40:0x37a,_0x240b46:0x252},_0x1d67cb={_0x1cde24:0x396},_0x51a21b=_0x1a544c[_0x380a96(0x1f8,_0x598613._0xd460f7)](_0x31466f=>_0x2f5415(0x354,0x3f0)+_0x2f5415(0x252,0x378)+escapeXml(_0x31466f)+(_0x380a96(0x38,0x1a0)+'>'))[_0x2f5415(0x597,_0x598613._0x38df10)]('\x0a');function _0x380a96(_0x37b347,_0x99c0d2){return _0x143ed5(_0x37b347-0xe7,_0x99c0d2);}function _0x2f5415(_0x55d50c,_0x211599){return _0x143ed5(_0x211599-_0x1d67cb._0x1cde24,_0x55d50c);}return _0x2f5415(_0x598613._0x5e2111,0x3d8)+_0x380a96(0x1fa,_0x598613._0x27e3db)+'.0\x22\x20enco'+_0x2f5415(0x18b,_0x598613._0xd76864)+_0x380a96(_0x598613._0x26ffc1,_0x598613._0x2480e8)+_0x2f5415(_0x598613._0x5d7f2f,_0x598613._0x3a526e)+_0x2f5415(0x1a9,_0x598613._0x2060cc)+_0x2f5415(0x52d,_0x598613._0x2aa5ba)+_0x380a96(_0x598613._0x4e8767,_0x598613._0x431605)+_0x2f5415(_0x598613._0xf1aac5,0x65f)+'ST\x201.0//'+'EN\x22\x20\x22htt'+_0x2f5415(_0x598613._0x1e0f7f,_0x598613._0x1cd98c)+_0x380a96(_0x598613._0x5f1c2e,-0x90)+_0x2f5415(_0x598613._0x55a482,_0x598613._0x5f1b73)+'ropertyL'+'ist-1.0.'+_0x2f5415(0x610,_0x598613._0x475dc4)+_0x380a96(_0x598613._0xc833e7,-0x9a)+_0x2f5415(_0x598613._0x5ba000,_0x598613._0x378328)+_0x380a96(_0x598613._0x1b6848,_0x598613._0x2a13fc)+'t>\x0a\x20\x20<ke'+_0x380a96(_0x598613._0x4555ed,0x579)+'/key>\x0a\x20\x20'+_0x2f5415(0x712,0x5e6)+SERVICE_LABEL+(_0x380a96(_0x598613._0x5e9bfa,-_0x598613._0x328ae0)+_0x380a96(0x202,_0x598613._0x239c18)+_0x380a96(_0x598613._0x3ce8db,0x62)+_0x380a96(_0x598613._0x5ec88b,-_0x598613._0x1d26cd)+_0x380a96(_0x598613._0xf8bc98,_0x598613._0xadcff9)+_0x380a96(_0x598613._0x24dad7,-0x19f)+'>\x0a')+_0x51a21b+(_0x380a96(_0x598613._0xafb7bf,0x16)+_0x2f5415(_0x598613._0x171d8d,_0x598613._0x5ee180)+'ey>RunAt'+_0x380a96(_0x598613._0x5ec996,-0x154)+_0x2f5415(0x401,_0x598613._0x707047)+'ue/>\x0a\x20\x20<'+_0x380a96(_0x598613._0x2a7862,_0x598613._0x521e5a)+_0x380a96(_0x598613._0x1e8600,_0x598613._0x38afcb)+'ey>\x0a\x20\x20<t'+_0x2f5415(0x5be,_0x598613._0x5b41c2)+_0x2f5415(0x1ed,0x3c7)+_0x2f5415(_0x598613._0x134431,0x337)+'Path</ke'+_0x380a96(0x39a,0x1d1)+'ring>')+escapeXml(_0x2deb70)+(_0x2f5415(0x497,0x2e7)+_0x2f5415(0x364,_0x598613._0x26828a)+'>Standar'+'dErrorPa'+_0x380a96(0x2fe,_0x598613._0x7d7388)+_0x380a96(_0x598613._0x2cfcd4,0x425)+_0x380a96(_0x598613._0x3703b4,0x46b))+escapeXml(_0x49822c)+(_0x380a96(0x38,-0x1a9)+_0x380a96(_0x598613._0x243697,_0x598613._0x471f40)+_0x380a96(0x110,_0x598613._0x240b46)+'t>\x0a');}function buildLinuxSystemdUnit(_0x545343,_0x4a3cd7,_0x277eb5){const _0x2bc1f8={_0x7e2ba8:0x3c2,_0x402423:0x491,_0x586ab1:0x5cd,_0x7f41cf:0x1cf,_0x94dbb6:0x4b1,_0x1527d0:0x1a,_0x3d4614:0x183,_0x6ce30d:0x455,_0x2585c0:0x49c,_0xfc2cb2:0x4b,_0x56bd07:0x36f,_0x5a8603:0x28d,_0x4160d9:0x251,_0x1ca0ac:0x1bb,_0x39706f:0x142,_0x504780:0x144,_0x1cb0f4:0x261,_0x497f02:0x1f8,_0x5e14b0:0xdb,_0x4dfacb:0x3a9,_0x1570d2:0x2ab,_0x2b9775:0x32e,_0x216dfd:0x295,_0xd62027:0xac},_0xf57485={'WBwnI':function(_0x5534c5,_0x108ee2){return _0x5534c5(_0x108ee2);}},_0x447577=_0x545343['map'](escapeSystemdArg)[_0x51875c(_0x2bc1f8._0x7e2ba8,_0x2bc1f8._0x402423)]('\x20');function _0x51875c(_0x1f26dd,_0xf91a9){return _0x75393(_0xf91a9,_0x1f26dd- -0x9a);}function _0x4fa8ac(_0x107b45,_0xca0e59){return _0x75393(_0x107b45,_0xca0e59- -0x39d);}return _0x51875c(0x48b,_0x2bc1f8._0x586ab1)+_0x4fa8ac(0x113,0x194)+_0x4fa8ac(0x26f,0x128)+'et\x20Bridg'+'e\x20CLI\x0aAf'+'ter=netw'+_0x4fa8ac(-_0x2bc1f8._0x7f41cf,-0xfc)+_0x51875c(0x3e5,_0x2bc1f8._0x94dbb6)+_0x4fa8ac(-_0x2bc1f8._0x1527d0,-_0x2bc1f8._0x3d4614)+_0x51875c(_0x2bc1f8._0x6ce30d,0x5d0)+_0x51875c(0x43f,_0x2bc1f8._0x2585c0)+'arget\x0a\x0a['+_0x4fa8ac(-_0x2bc1f8._0xfc2cb2,-0x1d9)+_0x51875c(_0x2bc1f8._0x56bd07,_0x2bc1f8._0x5a8603)+_0x4fa8ac(-_0x2bc1f8._0x4160d9,-_0x2bc1f8._0x1ca0ac)+_0x51875c(0x21f,_0x2bc1f8._0x39706f)+_0x447577+(_0x4fa8ac(-0x18a,-_0x2bc1f8._0x504780)+_0x4fa8ac(-0xa6,-0x4)+_0x51875c(0x350,0x412)+_0x4fa8ac(-_0x2bc1f8._0x1cb0f4,-0x270)+_0x4fa8ac(0x21,0x130)+_0x4fa8ac(-0xb5,-_0x2bc1f8._0x497f02))+_0xf57485[_0x4fa8ac(-0x117,0xcc)](escapeSystemdArg,SERVICE_DIR)+(_0x4fa8ac(-0xb3,-0xf5)+_0x51875c(0x425,0x4aa)+_0x4fa8ac(-0x229,-_0x2bc1f8._0x5e14b0))+_0x4a3cd7+('\x0aStandar'+'dError=a'+'ppend:')+_0x277eb5+(_0x51875c(_0x2bc1f8._0x4dfacb,0x2e8)+_0x51875c(_0x2bc1f8._0x1570d2,_0x2bc1f8._0x2b9775)+_0x51875c(0x1c8,_0x2bc1f8._0x216dfd)+'ault.tar'+_0x4fa8ac(-0x76,_0x2bc1f8._0xd62027));}function getServicePath(){const _0x21394f={_0x32eba9:0x503,_0x13fc7c:0x2f9,_0x4e6acf:0x46f,_0x37ad9a:0x267,_0x300ed2:0x474,_0x2f8839:0x2e4,_0x36aa79:0x2f1,_0x5d0513:0x3b7,_0x20a97f:0x385},_0x41b859={_0x5c78b1:0xce};function _0x4d1294(_0x513b92,_0x3a4eb1){return _0x75393(_0x513b92,_0x3a4eb1-0x23f);}function _0x21792d(_0x484371,_0x15df76){return _0x75393(_0x484371,_0x15df76-_0x41b859._0x5c78b1);}switch(process['platform']){case'darwin':return MACOS_PLIST_PATH;case _0x4d1294(0x3a2,_0x21394f._0x32eba9):return LINUX_SERVICE_PATH;case _0x21792d(_0x21394f._0x13fc7c,_0x21394f._0x4e6acf):return _0x21792d(0x421,_0x21394f._0x37ad9a)+_0x21792d(0x30e,0x24e)+_0x21792d(_0x21394f._0x300ed2,_0x21394f._0x2f8839)+'Windows\x5c'+'CurrentV'+_0x4d1294(_0x21394f._0x36aa79,0x38b)+_0x21792d(0x590,_0x21394f._0x5d0513)+'etBridge'+_0x21792d(0x32c,_0x21394f._0x20a97f);default:return'';}}function detectServiceMethod(){const _0xead96f={_0x145a8e:0x3c2,_0x3480f0:0xcd,_0x473682:0x153,_0x12a4e1:0x36a,_0x23680d:0x4e6,_0xeb9643:0xc5,_0x25712c:0x1c4,_0x5904ed:0x533,_0x252172:0x4bb,_0x144570:0x1bb,_0xe2321d:0x4d2,_0x509ffe:0x116,_0x1361de:0x2c2,_0x21ead0:0x590},_0x190626={_0x4c84db:0x171};function _0x728c2d(_0x33142f,_0x2882bb){return _0x75393(_0x33142f,_0x2882bb- -_0x190626._0x4c84db);}const _0x449ca5={};function _0x11837b(_0x170e53,_0x4e9465){return _0x75393(_0x170e53,_0x4e9465-0x131);}_0x449ca5[_0x11837b(_0xead96f._0x145a8e,0x4bb)]=_0x728c2d(_0xead96f._0x3480f0,_0xead96f._0x473682),_0x449ca5[_0x11837b(0x304,0x3b8)]='windows-'+_0x728c2d(0x81,0xc5)+_0x11837b(_0xead96f._0x12a4e1,0x389);const _0x48da0d=_0x449ca5;switch(process[_0x728c2d(0x21e,0x1da)]){case _0x728c2d(_0xead96f._0x23680d,0x3b6):return _0x728c2d(-_0xead96f._0xeb9643,0x3f)+_0x11837b(_0xead96f._0x25712c,0x270);case _0x48da0d[_0x11837b(_0xead96f._0x5904ed,_0xead96f._0x252172)]:return _0x11837b(0x709,0x5f3)+_0x728c2d(0x30,_0xead96f._0x144570);case _0x11837b(0x617,_0xead96f._0xe2321d):return _0x48da0d[_0x728c2d(0xbe,_0xead96f._0x509ffe)];default:return _0x728c2d(_0xead96f._0x1361de,0x125)+_0x11837b(0x4f3,_0xead96f._0x21ead0);}}function readServiceState(){const _0x81f419={_0x4cff3b:0x7e5,_0x3700f7:0x7ec,_0x267fec:0x47a,_0x122b24:0x53f,_0x3382f5:0x2fb,_0xe8fa02:0x3a3,_0x173f52:0x4cb,_0x477f01:0x478,_0x3c247e:0x7e6,_0x2735a6:0x6fa},_0x41e118={_0x5cb0ad:0x26},_0x1c32ef={'isbJt':function(_0x109ffe,_0x26b5ff){return _0x109ffe(_0x26b5ff);},'CljtU':function(_0x44760b,_0x137e8e,_0x2eded2){return _0x44760b(_0x137e8e,_0x2eded2);}};function _0x52dc9e(_0x6f6d67,_0x498422){return _0x75393(_0x6f6d67,_0x498422-_0x41e118._0x5cb0ad);}if(!_0x1c32ef[_0x34d978(_0x81f419._0x4cff3b,_0x81f419._0x3700f7)](_0x380e31,SERVICE_STATE_PATH))return null;function _0x34d978(_0x362fa4,_0x13ffdb){return _0x75393(_0x362fa4,_0x13ffdb-0x341);}try{const _0x3aeb33=JSON[_0x34d978(0x623,0x4c2)](_0x1c32ef[_0x34d978(_0x81f419._0x267fec,_0x81f419._0x122b24)](_0x38dd2e,SERVICE_STATE_PATH,_0x52dc9e(_0x81f419._0x3382f5,_0x81f419._0xe8fa02)));if(!_0x3aeb33[_0x52dc9e(0x6b3,_0x81f419._0x173f52)]||typeof _0x3aeb33[_0x52dc9e(0x53d,0x4cb)]!==_0x34d978(0x27d,_0x81f419._0x477f01))return null;return{'pid':_0x3aeb33[_0x34d978(0x9dd,_0x81f419._0x3c247e)],'startedAt':_0x3aeb33['startedA'+'t']??new Date(0x0)[_0x34d978(0x747,0x5e7)+_0x34d978(0x591,_0x81f419._0x2735a6)]()};}catch{return null;}}function stopRunningProcess(){const _0x23a8a6={_0xdffa26:0x28f,_0x2da67e:0x7,_0x30df79:0x7c0,_0xb65ced:0x534,_0x36122e:0x518,_0x72fd7c:0x23c,_0x54e868:0x1f1,_0x406c73:0x66f,_0x4422a4:0x49d,_0x22ae6d:0x672},_0x2a7ea0={_0x5642e4:0x1cd},_0x5417c7={'tOejE':function(_0x55287e,_0x56c01f,_0x46b468){return _0x55287e(_0x56c01f,_0x46b468);},'EOUel':'win32','xShbp':'/PID','iQBVe':function(_0x332b5b,_0x543bd3){return _0x332b5b(_0x543bd3);}},_0x1bd48f=readServiceState();function _0x29ccea(_0x1866b9,_0x1e4fd6){return _0x75393(_0x1e4fd6,_0x1866b9- -0x39a);}function _0x4c1882(_0x31df20,_0x2eac91){return _0x75393(_0x31df20,_0x2eac91-_0x2a7ea0._0x5642e4);}if(!_0x1bd48f)return;_0x5417c7[_0x4c1882(_0x23a8a6._0xdffa26,0x40e)](execIgnoreFailure,process[_0x29ccea(-0x4f,-0x216)]===_0x29ccea(_0x23a8a6._0x2da67e,0x5)?_0x29ccea(0x14a,0x12):_0x4c1882(_0x23a8a6._0x30df79,0x69e),process[_0x4c1882(_0x23a8a6._0xb65ced,_0x23a8a6._0x36122e)]===_0x5417c7[_0x29ccea(-0x77,0x129)]?[_0x5417c7[_0x29ccea(-_0x23a8a6._0x72fd7c,-_0x23a8a6._0x54e868)],_0x5417c7['iQBVe'](String,_0x1bd48f[_0x29ccea(0x10b,0x178)]),'/T','/F']:[_0x29ccea(-0x85,-0x1b5),String(_0x1bd48f[_0x4c1882(_0x23a8a6._0x406c73,0x672)])]),clearServiceState(_0x1bd48f[_0x4c1882(_0x23a8a6._0x4422a4,_0x23a8a6._0x22ae6d)]);}function isPidRunning(_0x2979e8){const _0x2f07c0={_0x26f8cd:0x821,_0x4e0b21:0x871},_0x397aa7={_0x29bfeb:0x545};function _0x2aaf0e(_0x3388d7,_0x30b3b4){return _0x143ed5(_0x3388d7-_0x397aa7._0x29bfeb,_0x30b3b4);}try{return process[_0x2aaf0e(_0x2f07c0._0x26f8cd,_0x2f07c0._0x4e0b21)](_0x2979e8,0x0),!![];}catch{return![];}}function startDetachedWindowsService(_0x22a618){const _0xf64f89={_0x5b1340:0x1a1,_0x3cb5b1:0x96,_0x19b4c4:0x1b9,_0x1f6414:0x1ce,_0x1ddb1a:0x10f,_0x31c5d4:0x137},_0x36010c={_0x350c8f:0x18c},_0x43a648={_0x2b5470:0x1};function _0x40c012(_0x3c1ec3,_0x322188){return _0x143ed5(_0x3c1ec3- -_0x43a648._0x2b5470,_0x322188);}function _0x2e346b(_0x42520d,_0x378560){return _0x143ed5(_0x42520d- -_0x36010c._0x350c8f,_0x378560);}const _0x13f014={'BuCIL':function(_0x4e8ddd,_0x49090a,_0x5d8e45){return _0x4e8ddd(_0x49090a,_0x5d8e45);},'nbbnl':function(_0x1f4de7,_0x520148){return _0x1f4de7(_0x520148);}},_0x536a95=_0x13f014[_0x2e346b(-_0xf64f89._0x5b1340,-0x23c)](openSync,SERVICE_LOG_PATH,'a'),_0x599199=openSync(SERVICE_ERROR_LOG_PATH,'a');try{const [_0x47d75f,..._0x5d06b6]=_0x22a618,_0x4b461e={};_0x4b461e[_0x2e346b(-_0xf64f89._0x3cb5b1,-_0xf64f89._0x19b4c4)]=!![],_0x4b461e[_0x40c012(0x2b3,0x3e6)]=[_0x40c012(0x132,_0xf64f89._0x1f6414),_0x536a95,_0x599199],_0x4b461e[_0x40c012(0x7e,-_0xf64f89._0x1ddb1a)+'ide']=!![];const _0x1da731=spawn(_0x47d75f,_0x5d06b6,_0x4b461e);_0x1da731['unref']();}finally{closeSync(_0x536a95),_0x13f014[_0x2e346b(-0x89,_0xf64f89._0x31c5d4)](closeSync,_0x599199);}}function resolveScriptPath(_0x1ea610){const _0x5f4e79={_0x21484c:0x5b,_0x498eba:0x676,_0x692b87:0x5e9},_0x113552={_0x166bf8:0x5e8},_0x1c8af2={'lHoHb':function(_0x4be6b8,_0x15925f){return _0x4be6b8(_0x15925f);}},_0x26bbd4=_0x1ea610?.[_0x22a300(-_0x5f4e79._0x21484c,-0xbb)]()||process[_0x2d8ba3(_0x5f4e79._0x498eba,_0x5f4e79._0x692b87)][0x1]?.[_0x22a300(-0x2c0,-0xbb)]()||'';function _0x22a300(_0x89828d,_0x42956e){return _0x143ed5(_0x42956e-0x5,_0x89828d);}if(!_0x26bbd4)return'';function _0x2d8ba3(_0x922883,_0x1cbcd3){return _0x143ed5(_0x922883-_0x113552._0x166bf8,_0x1cbcd3);}try{return _0x1c8af2['lHoHb'](realpathSync,_0x26bbd4);}catch{return _0x26bbd4;}}function ensureLaunchScriptExecutable(_0x1f26e4,_0x64f357){const _0x363bc4={_0x1ba8b0:0x1bf,_0x41f2eb:0x11,_0x1892b2:0xce},_0x539c75={_0x124ce7:0x19d},_0x288211={'eXCKZ':function(_0x1c050d,_0xccf15a){return _0x1c050d(_0xccf15a);}};function _0x2a3c97(_0x259e85,_0x17fbf8){return _0x143ed5(_0x17fbf8- -0x1bd,_0x259e85);}if(_0x64f357===_0x2a3c97(_0x363bc4._0x1ba8b0,-_0x363bc4._0x41f2eb)||!_0x288211[_0x41eecf(-0x1d1,-_0x363bc4._0x1892b2)](_0x380e31,_0x1f26e4))return;function _0x41eecf(_0x1f3818,_0x3a62e9){return _0x143ed5(_0x1f3818- -_0x539c75._0x124ce7,_0x3a62e9);}try{chmodSync(_0x1f26e4,0x1ed);}catch{}}function writeServiceLauncher(_0x58f793){const _0x1a23ec={_0x270ff7:0x22c,_0x1e21fa:0x2b6,_0x2818a9:0x16,_0x702b8f:0x34,_0x593b22:0x126,_0xce8058:0x90,_0x3d0898:0x18d,_0x297ad3:0x1d,_0x3491a0:0xd9,_0x257e81:0x56,_0x5bc10d:0x1b2,_0x7c240e:0x5,_0x2ce8b4:0x2e3,_0x4c8d6b:0x2ba,_0x2469ef:0xb3,_0x3acb4a:0x1e6,_0x26e556:0x1f6,_0x43f357:0xbc,_0x9871a9:0x241,_0x1a2a91:0x155,_0x3d7c53:0x2cf,_0xe623d0:0xd6,_0xa49b03:0x2c5,_0x23239d:0x11e,_0xa1a328:0x101,_0x47ab27:0x187,_0x213ce0:0x1db,_0x55398d:0x172,_0x45d4f6:0xc4},_0x14be2e={_0x324d60:0xf6},_0x168067={'prCHk':function(_0x5588ef,_0x1cd36f){return _0x5588ef(_0x1cd36f);},'iMmFb':_0x2d8940(-_0x1a23ec._0x270ff7,-0x164)+_0x4d3636(_0x1a23ec._0x1e21fa,0x1ab)+_0x4d3636(_0x1a23ec._0x2818a9,-_0x1a23ec._0x702b8f)+_0x2d8940(_0x1a23ec._0x593b22,0x65),'hUPdi':'if\x20comma'+_0x4d3636(-0x95,-_0x1a23ec._0xce8058)+_0x4d3636(_0x1a23ec._0x3d0898,-_0x1a23ec._0x297ad3)+_0x2d8940(-0x90,-_0x1a23ec._0x3491a0)+_0x4d3636(-_0x1a23ec._0x257e81,0x139),'saNpa':_0x4d3636(0x167,0x1c)};function _0x2d8940(_0x4ea7fa,_0x29a3bb){return _0x143ed5(_0x29a3bb- -_0x14be2e._0x324d60,_0x4ea7fa);}ensureServiceDirs();function _0x4d3636(_0x5dd10f,_0x4c53e8){return _0x143ed5(_0x4c53e8- -0x16c,_0x5dd10f);}const _0x57d96d=['#!/bin/s'+'h','export\x20P'+_0x2d8940(_0x1a23ec._0x5bc10d,0xb3)+escapeShellDoubleQuoted(_0x58f793[_0x4d3636(-0x19e,_0x1a23ec._0x7c240e)])+'\x22','NODE_PAT'+'H=\x22'+_0x168067[_0x4d3636(0x22,0x154)](escapeShellDoubleQuoted,_0x58f793['nodePath'])+'\x22',_0x4d3636(_0x1a23ec._0x2ce8b4,0x10c)+_0x2d8940(_0x1a23ec._0x4c8d6b,_0x1a23ec._0x2469ef)+escapeShellDoubleQuoted(_0x58f793['scriptPa'+'th'])+'\x22',_0x168067[_0x2d8940(0x82,-0x70)],'\x20\x20exec\x20\x22'+_0x2d8940(-_0x1a23ec._0x3acb4a,-0xcb)+_0x2d8940(_0x1a23ec._0x26e556,0x21d)+_0x4d3636(-0x257,-_0x1a23ec._0x43f357)+_0x4d3636(-_0x1a23ec._0x9871a9,-_0x1a23ec._0x1a2a91)+'-service','fi',_0x168067['hUPdi'],_0x4d3636(0x2e,-0x182)+_0x4d3636(-0x103,-0x136)+_0x2d8940(-0x196,-0x46)+'H\x22\x20run\x20-'+'-service','fi',_0x2d8940(_0x1a23ec._0x3d7c53,0xe7)+_0x4d3636(-_0x1a23ec._0xe623d0,-0x1f2)+_0x2d8940(_0x1a23ec._0xa49b03,0x12f)+_0x4d3636(-0x75,0x6b)+_0x2d8940(0x3ce,0x1ec)+'\x20Bridge\x20'+_0x4d3636(-_0x1a23ec._0x23239d,-_0x1a23ec._0xa1a328)+_0x4d3636(-_0x1a23ec._0x47ab27,-_0x1a23ec._0x213ce0),_0x2d8940(-0x343,-_0x1a23ec._0x55398d),''];return _0x54e92a(SERVICE_LAUNCHER_PATH,_0x57d96d[_0x4d3636(-0x102,0xfb)]('\x0a'),_0x168067[_0x4d3636(-0x98,_0x1a23ec._0x45d4f6)]),SERVICE_LAUNCHER_PATH;}function escapeShellDoubleQuoted(_0x421b91){const _0x1827d2={_0x1e9079:0x5c9,_0x40eb02:0x3c1},_0x1e8b71={_0x4fe40d:0x3ec};function _0x6cea62(_0x451e91,_0x3c4f4e){return _0x75393(_0x451e91,_0x3c4f4e- -0x106);}function _0x3dd1cb(_0x218c69,_0x31cf00){return _0x75393(_0x218c69,_0x31cf00-_0x1e8b71._0x4fe40d);}return _0x421b91['replaceA'+'ll']('\x5c','\x5c\x5c')[_0x6cea62(0x497,0x3c1)+'ll']('\x22','\x5c\x22')[_0x3dd1cb(0x719,0x8b3)+'ll']('$','\x5c$')[_0x6cea62(_0x1827d2._0x1e9079,_0x1827d2._0x40eb02)+'ll']('`','\x5c`');}function buildWindowsRunCommand(_0x5d5b12){const _0xef734c={_0x25d24e:0xb4,_0x3ef60b:0x3a,_0x8c3d9:0xcc},_0x37c82b={_0x3c9441:0x37a},_0x4da4bb={_0x5951e7:0x252};function _0x4a8b46(_0x33e8e3,_0x3f686e){return _0x75393(_0x3f686e,_0x33e8e3- -_0x4da4bb._0x5951e7);}function _0x11d3d3(_0x31fd98,_0x453a02){return _0x75393(_0x453a02,_0x31fd98- -_0x37c82b._0x3c9441);}return _0x5d5b12[_0x4a8b46(_0xef734c._0x25d24e,-_0xef734c._0x3ef60b)](escapeWindowsArg)[_0x11d3d3(0xe2,-_0xef734c._0x8c3d9)]('\x20');}function ensureServiceDirs(){const _0x4ad7f9={_0x52e038:0x2f,_0x4f0bbd:0x5d,_0x3e6489:0xd6,_0xf1e135:0x14a},_0x1e78a2={_0x2e7da:0x38a},_0x3daf3f={'UveRV':function(_0x5ebe2e,_0x37da6b,_0x5c5f4a){return _0x5ebe2e(_0x37da6b,_0x5c5f4a);}},_0x5a5b8d={};_0x5a5b8d[_0x551663(_0x4ad7f9._0x52e038,_0x4ad7f9._0x4f0bbd)+'e']=!![],_0x3daf3f[_0x551663(0x26d,_0x4ad7f9._0x3e6489)](_0x2eb1d2,SERVICE_DIR,_0x5a5b8d);const _0x429323={};function _0x4dfacd(_0x4162c6,_0x48abf0){return _0x75393(_0x4162c6,_0x48abf0-_0x1e78a2._0x2e7da);}_0x429323[_0x551663(_0x4ad7f9._0xf1e135,_0x4ad7f9._0x4f0bbd)+'e']=!![];function _0x551663(_0x1eb4e5,_0x1afc2f){return _0x75393(_0x1eb4e5,_0x1afc2f- -0x133);}_0x2eb1d2(LOG_DIR,_0x429323);}function escapeXml(_0xd182de){const _0x80761c={_0x38b484:0x7c,_0x262333:0x175,_0x1ab485:0x884,_0x3c41f1:0x7d2,_0x54b469:0x5b9},_0x4d7fe0={_0x2d1902:0xcc},_0xf7ab1b={};function _0x5c8229(_0x2caccd,_0x510522){return _0x143ed5(_0x510522-0x510,_0x2caccd);}_0xf7ab1b[_0x55e364(-_0x80761c._0x38b484,_0x80761c._0x262333)]=_0x5c8229(0x2e1,0x4aa);function _0x55e364(_0x6a4f06,_0x3f89f7){return _0x143ed5(_0x3f89f7-_0x4d7fe0._0x2d1902,_0x6a4f06);}const _0x213260=_0xf7ab1b;return _0xd182de[_0x55e364(0x2e9,0x39e)+'ll']('&','&')[_0x5c8229(_0x80761c._0x1ab485,0x7e2)+'ll']('<','<')[_0x5c8229(0x8e5,0x7e2)+'ll']('>',_0x5c8229(0x757,_0x80761c._0x3c41f1))['replaceA'+'ll']('\x22','"')[_0x5c8229(0x99c,0x7e2)+'ll']('\x27',_0x213260[_0x5c8229(0x653,_0x80761c._0x54b469)]);}function escapeSystemdArg(_0x2fb54c){return'\x22'+_0x2fb54c['replaceA'+'ll']('\x5c','\x5c\x5c')['replaceA'+'ll']('\x22','\x5c\x22')+'\x22';}function escapeWindowsArg(_0x49fbfe){const _0x4c4059={_0x44d647:0x34f};function _0x5985cc(_0x1790e8,_0x3ff77d){return _0x143ed5(_0x3ff77d-0x7d,_0x1790e8);}return'\x22'+_0x49fbfe[_0x5985cc(0x3da,_0x4c4059._0x44d647)+'ll']('\x22','\x5c\x22')+'\x22';}function commandSucceeds(_0x50727e,_0x57666a){const _0x1d8393={_0x394323:0x50f,_0x57ad9b:0x3e3,_0xbbd9bb:0x5b8,_0x4d22ba:0x4b5,_0x2293d6:0x473},_0x2364f9={_0x43287a:0x2b0},_0x2d119d={};function _0x8f8c3c(_0x45081a,_0x1964b6){return _0x143ed5(_0x45081a-_0x2364f9._0x43287a,_0x1964b6);}_0x2d119d[_0x8f8c3c(0x4b5,_0x1d8393._0x394323)]=_0x8f8c3c(_0x1d8393._0x57ad9b,_0x1d8393._0xbbd9bb);function _0xf9eaa2(_0x2748b7,_0x3ec6b3){return _0x143ed5(_0x2748b7-0x607,_0x3ec6b3);}const _0x4a8f3c=_0x2d119d;try{const _0x166c39={};return _0x166c39['stdio']=_0x4a8f3c[_0x8f8c3c(_0x1d8393._0x4d22ba,_0x1d8393._0x2293d6)],execFileSync(_0x50727e,_0x57666a,_0x166c39),!![];}catch{return![];}}function execIgnoreFailure(_0xccc800,_0x957c7c){const _0x2eef3e={_0x362fbc:0x533,_0x15bf3c:0x693,_0x5d9fce:0x303},_0x235f14={_0x7c32b5:0x49},_0x3edef4={_0x369f88:0x3df};function _0xa35fe2(_0x3c47c6,_0x307906){return _0x143ed5(_0x307906-_0x3edef4._0x369f88,_0x3c47c6);}const _0xb12b1={'wtvHy':function(_0x78e8de,_0x2a95e1,_0x23efa1,_0x3eb8c5){return _0x78e8de(_0x2a95e1,_0x23efa1,_0x3eb8c5);}};function _0x287e8f(_0x5579c0,_0x20462b){return _0x143ed5(_0x5579c0-_0x235f14._0x7c32b5,_0x20462b);}try{const _0x34ed3f={};_0x34ed3f[_0xa35fe2(_0x2eef3e._0x362fbc,_0x2eef3e._0x15bf3c)]=_0x287e8f(0x17c,0x357),_0xb12b1[_0xa35fe2(_0x2eef3e._0x5d9fce,0x3ff)](execFileSync,_0xccc800,_0x957c7c,_0x34ed3f);}catch{}}function rmIfExists(_0x1ba0d0){const _0x4b5679={_0x106e89:0x416};if(!_0x380e31(_0x1ba0d0))return;function _0x765fd3(_0x2754f7,_0x5925dc){return _0x143ed5(_0x2754f7-0x237,_0x5925dc);}const _0x222764={};_0x222764[_0x765fd3(_0x4b5679._0x106e89,0x606)]=!![],_0x12515c(_0x1ba0d0,_0x222764);}import{existsSync as _0x18b84e,readFileSync as _0x2d1449}from'fs';import{homedir as _0x456b97}from'os';import{join as _0xdc19fb}from'path';var DEFAULT_GATEWAY_URL=_0x143ed5(0x191,0x90)+_0x75393(0x2e2,0x36a)+'8789',OPENCLAW_DIR=_0xdc19fb(_0x456b97(),'.opencla'+'w'),OPENCLAW_CONFIG_PATH2=_0xdc19fb(OPENCLAW_DIR,_0x143ed5(0x4b,0x21f)+_0x75393(0x2d0,0x4b2)),OPENCLAW_MEDIA_DIR=_0xdc19fb(OPENCLAW_DIR,_0x143ed5(-0x25,0x1bc));function resolveGatewayUrl(_0x46d4f3){const _0x160c29={_0x3a6025:0x70,_0x1edeac:0x184,_0x1dc0c0:0x478,_0x4b2ba1:0x34e,_0x464d56:0x96,_0x37b96e:0x247,_0x3b097c:0x1aa,_0x545ca5:0x61,_0x5ce702:0x275,_0x3222f6:0x333,_0x1ea40c:0x179},_0x19d5ec={_0x4f7593:0xc5};function _0x1c0203(_0x3511ed,_0x421329){return _0x75393(_0x3511ed,_0x421329-0x110);}function _0x133151(_0x50ea75,_0x457605){return _0x75393(_0x50ea75,_0x457605- -_0x19d5ec._0x4f7593);}const _0x460451=_0x46d4f3?.[_0x133151(0x1e8,_0x160c29._0x3a6025)]();if(_0x460451)return _0x460451;const _0x391734=readOpenClawInfo();if(typeof _0x391734[_0x1c0203(_0x160c29._0x1edeac,0x2a4)+_0x1c0203(_0x160c29._0x1dc0c0,_0x160c29._0x4b2ba1)]===_0x1c0203(_0x160c29._0x464d56,_0x160c29._0x37b96e))return _0x133151(_0x160c29._0x3b097c,0x2c1)+_0x133151(0x81,_0x160c29._0x545ca5)+_0x391734[_0x1c0203(_0x160c29._0x5ce702,0x2a4)+_0x133151(_0x160c29._0x3222f6,_0x160c29._0x1ea40c)];return DEFAULT_GATEWAY_URL;}function readOpenClawInfo(){const _0xdca822={_0x2ee886:0x8,_0x25b30e:0x1e0,_0x412a22:0x4e,_0x1fa135:0x1e,_0x3e8571:0x4d3,_0xa07fae:0x17f,_0x511eb6:0x140,_0xe1f719:0x14d,_0x3f6cb9:0x5d8,_0x5c80e9:0x5a0,_0x306505:0xbb,_0x15c17f:0x1fd,_0x4eb9e2:0x495,_0x5f2c28:0x188,_0x3f4ae8:0x140,_0x418b5a:0x2d9,_0x780449:0x389,_0xfcb830:0x1ce,_0x114cf4:0xbd,_0x4d35a9:0x141,_0x49a4f1:0x6fa,_0x36fa8f:0x1e3,_0x55a51c:0xbb,_0x578980:0x175},_0x37d116={_0x2dbb8c:0x1ca};function _0x301a44(_0x3d0f70,_0x5ea41c){return _0x75393(_0x5ea41c,_0x3d0f70-_0x37d116._0x2dbb8c);}const _0x478280={'CvrGU':'utf8','Trkyf':_0x423b9d(_0xdca822._0x2ee886,-_0xdca822._0x25b30e),'rYxcx':function(_0x48f715){return _0x48f715();}};if(!_0x18b84e(OPENCLAW_CONFIG_PATH2))return{'configFound':![],'gatewayPort':null,'authMode':null,'token':readGatewayTokenEnv(),'password':readGatewayPasswordEnv()};function _0x423b9d(_0x19046b,_0x31b3be){return _0x75393(_0x19046b,_0x31b3be- -0x317);}try{const _0x3f34bb=JSON['parse'](_0x2d1449(OPENCLAW_CONFIG_PATH2,_0x478280[_0x423b9d(_0xdca822._0x412a22,_0xdca822._0x1fa135)])),_0x9dc66d=_0x3f34bb[_0x423b9d(0x317,0x140)]?.['port'],_0x3b7b25=typeof _0x9dc66d===_0x478280[_0x301a44(_0xdca822._0x3e8571,0x4ba)]&&Number[_0x423b9d(_0xdca822._0xa07fae,-0x13)+'r'](_0x9dc66d)?_0x9dc66d:null,_0x31074a=_0x3f34bb[_0x423b9d(0x1cc,_0xdca822._0x511eb6)]?.[_0x301a44(0x389,0x3f6)]?.[_0x423b9d(-_0xdca822._0xe1f719,-0x4c)]===_0x301a44(_0xdca822._0x3f6cb9,_0xdca822._0x5c80e9)||_0x3f34bb[_0x301a44(0x621,0x4bd)]?.[_0x423b9d(-0x2,-0x158)]?.[_0x423b9d(-_0xdca822._0x306505,-0x4c)]==='password'?_0x3f34bb[_0x423b9d(0x2fd,0x140)][_0x423b9d(-_0xdca822._0x15c17f,-0x158)][_0x301a44(_0xdca822._0x4eb9e2,0x5ba)]:null,_0x36eb64=readConfiguredSecret(_0x3f34bb[_0x423b9d(_0xdca822._0x5f2c28,_0xdca822._0x3f4ae8)]?.[_0x423b9d(-_0xdca822._0x418b5a,-0x158)]?.[_0x301a44(_0xdca822._0x3f6cb9,0x575)])??readGatewayTokenEnv(),_0x28a759=readConfiguredSecret(_0x3f34bb['gateway']?.[_0x301a44(_0xdca822._0x780449,_0xdca822._0xfcb830)]?.[_0x423b9d(0x49,0x1e3)])??readGatewayPasswordEnv(),_0x57a84e={};return _0x57a84e['configFo'+_0x423b9d(-_0xdca822._0x114cf4,-0x7d)]=!![],_0x57a84e[_0x301a44(0x35e,0x507)+_0x423b9d(-_0xdca822._0x4d35a9,-0xd9)]=_0x3b7b25,_0x57a84e[_0x301a44(_0xdca822._0x49a4f1,0x893)]=_0x31074a,_0x57a84e[_0x423b9d(0x1a1,0xf7)]=_0x36eb64,_0x57a84e[_0x423b9d(0x117,_0xdca822._0x36fa8f)]=_0x28a759,_0x57a84e;}catch{return{'configFound':!![],'gatewayPort':null,'authMode':null,'token':_0x478280[_0x423b9d(-_0xdca822._0x55a51c,-_0xdca822._0x578980)](readGatewayTokenEnv),'password':readGatewayPasswordEnv()};}}function resolveGatewayAuth(){const _0x5b1a13={_0x2247e1:0x212,_0x3b1134:0x2aa,_0xe01905:0x6c,_0x240ac0:0x1dc,_0xb1812b:0x226,_0x4ecea4:0x137,_0x5c2225:0x40,_0x4c5f89:0x189,_0x5d82d6:0x19f,_0x345f9f:0x445,_0x3ecf30:0x72,_0x2b6c2f:0x131,_0x42770b:0x2bb,_0x377f99:0x366,_0x45654e:0x19d,_0x315eea:0x317,_0x375d36:0x1bd,_0x3192f3:0x1f4,_0x4c995d:0x1ad,_0x2cc105:0x1a3,_0xd59e88:0x3cc,_0x3b94a0:0x1dc,_0x3d9057:0x106,_0x1cd8cd:0x1fe,_0x221faa:0x355,_0x3a8ccf:0x396,_0x10f781:0xf0,_0x1b8e48:0x3c9,_0x54b65c:0x222,_0x44e9e4:0x449,_0x5db444:0x2ff,_0x320a2e:0x1db,_0x455ccc:0x312,_0xb9d192:0x396,_0x127a1b:0x2e0,_0x5c2916:0x2aa,_0x397a2b:0x137},_0x141bd9={};_0x141bd9[_0x4baa0c(0x39f,_0x5b1a13._0x2247e1)]=_0x4baa0c(_0x5b1a13._0x3b1134,0x47d);const _0x249ed9=_0x141bd9,_0x1fba86=readOpenClawInfo(),_0x4a8113=_0x1fba86[_0x322d04(0xf0,_0x5b1a13._0xe01905)],_0x566c06=_0x1fba86[_0x322d04(_0x5b1a13._0x240ac0,0x390)];if(_0x4a8113&&_0x566c06&&_0x1fba86['authMode']==null){const _0x5e18fc={};return _0x5e18fc[_0x322d04(0xf0,_0x5b1a13._0xb1812b)]=_0x4a8113,_0x5e18fc['password']=_0x566c06,_0x5e18fc[_0x322d04(_0x5b1a13._0x4ecea4,-_0x5b1a13._0x5c2225)]=_0x249ed9[_0x4baa0c(0x39f,0x4ea)],_0x5e18fc[_0x4baa0c(-0x34,-_0x5b1a13._0x4c5f89)]='OpenClaw'+_0x322d04(-_0x5b1a13._0x5d82d6,-0xec)+_0x4baa0c(0x3a9,_0x5b1a13._0x345f9f)+_0x4baa0c(0x35f,0x4aa)+_0x4baa0c(0x196,_0x5b1a13._0x3ecf30)+_0x4baa0c(_0x5b1a13._0x2b6c2f,0x29c)+_0x322d04(-0xcc,-0x4b)+_0x4baa0c(_0x5b1a13._0x42770b,_0x5b1a13._0x377f99)+'eway.aut'+'h.mode\x20i'+_0x322d04(_0x5b1a13._0x45654e,_0x5b1a13._0x315eea)+_0x4baa0c(_0x5b1a13._0x375d36,_0x5b1a13._0x3192f3)+_0x4baa0c(0xa2,0x242)+_0x322d04(-0xc9,-0xba)+_0x4baa0c(0x97,-0x51)+_0x322d04(_0x5b1a13._0x4c995d,_0x5b1a13._0x2cc105)+_0x4baa0c(0x280,0x309)+'g.',_0x5e18fc;}if(_0x1fba86[_0x4baa0c(_0x5b1a13._0xd59e88,0x28d)]===_0x322d04(_0x5b1a13._0x3b94a0,_0x5b1a13._0x3d9057)){const _0x367d59={};return _0x367d59[_0x4baa0c(0x2aa,_0x5b1a13._0x1cd8cd)]=null,_0x367d59[_0x322d04(0x1dc,-0xc)]=null,_0x367d59[_0x4baa0c(0x2f1,_0x5b1a13._0x221faa)]=null,_0x566c06?{'token':null,'password':_0x566c06,'label':_0x4baa0c(_0x5b1a13._0x3a8ccf,0x479)}:_0x367d59;}if(_0x1fba86['authMode']===_0x322d04(_0x5b1a13._0x10f781,0x167)){const _0x2b89cb={};return _0x2b89cb[_0x4baa0c(0x2aa,_0x5b1a13._0x1b8e48)]=null,_0x2b89cb[_0x322d04(0x1dc,_0x5b1a13._0x54b65c)]=null,_0x2b89cb['label']=null,_0x4a8113?{'token':_0x4a8113,'password':null,'label':_0x4baa0c(0x2aa,_0x5b1a13._0x44e9e4)}:_0x2b89cb;}if(_0x4a8113){const _0x183835={};return _0x183835[_0x4baa0c(0x2aa,0x2bf)]=_0x4a8113,_0x183835[_0x322d04(_0x5b1a13._0x240ac0,_0x5b1a13._0x5db444)]=null,_0x183835[_0x4baa0c(0x2f1,0x335)]=_0x322d04(0xf0,_0x5b1a13._0x320a2e),_0x183835;}if(_0x566c06){const _0x3c40ca={};return _0x3c40ca[_0x4baa0c(0x2aa,0x31d)]=null,_0x3c40ca[_0x4baa0c(_0x5b1a13._0x3a8ccf,0x2b9)]=_0x566c06,_0x3c40ca[_0x322d04(0x137,_0x5b1a13._0x455ccc)]=_0x4baa0c(_0x5b1a13._0xb9d192,_0x5b1a13._0x127a1b),_0x3c40ca;}const _0x142c56={};function _0x4baa0c(_0x541916,_0x61ea88){return _0x75393(_0x61ea88,_0x541916- -0x164);}function _0x322d04(_0x72f211,_0x442839){return _0x75393(_0x442839,_0x72f211- -0x31e);}return _0x142c56[_0x4baa0c(_0x5b1a13._0x5c2916,0x40a)]=null,_0x142c56[_0x322d04(0x1dc,0x222)]=null,_0x142c56[_0x322d04(_0x5b1a13._0x397a2b,0x1c4)]=null,_0x142c56;}function getOpenClawConfigDir(){return OPENCLAW_DIR;}function getOpenClawMediaDir(){return OPENCLAW_MEDIA_DIR;}function readConfiguredSecret(_0x496ab4){const _0x3a9fea={_0x3965d6:0x686,_0x20d057:0x355,_0x2ef70e:0x4f4,_0x2e1145:0x6c3,_0x4e1b32:0x122,_0x3e0d07:0x6f},_0x214103={_0xdab1e4:0x513},_0xe2ab6a={_0x5914d0:0x1e2};function _0x5b4ae6(_0x76cc91,_0x14c3ac){return _0x143ed5(_0x76cc91-_0xe2ab6a._0x5914d0,_0x14c3ac);}const _0x3e00a4={};function _0x4a4a98(_0x252c1e,_0x33f95f){return _0x143ed5(_0x33f95f-_0x214103._0xdab1e4,_0x252c1e);}_0x3e00a4[_0x4a4a98(0x6bf,_0x3a9fea._0x3965d6)]=function(_0x286326,_0x2e3da0){return _0x286326===_0x2e3da0;};const _0x5b0746=_0x3e00a4;return _0x5b0746[_0x5b4ae6(_0x3a9fea._0x20d057,0x261)](typeof _0x496ab4,_0x5b4ae6(_0x3a9fea._0x2ef70e,_0x3a9fea._0x2e1145))&&_0x496ab4[_0x5b4ae6(_0x3a9fea._0x4e1b32,_0x3a9fea._0x3e0d07)]()?_0x496ab4['trim']():null;}function readGatewayTokenEnv(){const _0x403837={_0x2b7dc4:0x730,_0x228b02:0x568,_0x356907:0x5bc,_0x590c1a:0x46b,_0x1b2261:0x572,_0x434479:0x29b};function _0x3363f4(_0x4cbbf3,_0x152df9){return _0x75393(_0x152df9,_0x4cbbf3-0x344);}function _0x520085(_0xa2f7fb,_0x1c8bf5){return _0x75393(_0xa2f7fb,_0x1c8bf5-0x147);}return readEnvValue(_0x3363f4(_0x403837._0x2b7dc4,_0x403837._0x228b02)+_0x3363f4(0x547,0x353)+_0x520085(_0x403837._0x356907,_0x403837._0x590c1a),_0x520085(0x6d0,_0x403837._0x1b2261)+_0x520085(0x4f5,0x34a)+_0x520085(_0x403837._0x434479,0x46b));}function readGatewayPasswordEnv(){const _0x4f88d5={_0x6aecb6:0xcf,_0x1e3c12:0xd8,_0x4ffcd3:0x62a,_0x40b637:0x4d0,_0xd90d21:0x545},_0x52850d={_0x2c52da:0x30b};function _0x45e992(_0x3c818c,_0x4149cc){return _0x143ed5(_0x3c818c- -0x128,_0x4149cc);}function _0x2d854c(_0x5d72c2,_0x48520d){return _0x143ed5(_0x5d72c2-_0x52850d._0x2c52da,_0x48520d);}return readEnvValue(_0x45e992(_0x4f88d5._0x6aecb6,-_0x4f88d5._0x1e3c12)+'_GATEWAY'+_0x2d854c(0x4d0,_0x4f88d5._0x4ffcd3)+'D',_0x45e992(0x10e,-0xa5)+'_GATEWAY'+_0x2d854c(_0x4f88d5._0x40b637,_0x4f88d5._0xd90d21)+'D');}function readEnvValue(_0x2eb5d8,_0x2d0d7c){const _0x3e5cfd={_0x35f2da:0xde},_0x490e6f=process.env[_0x2eb5d8]?.['trim']();function _0x446935(_0x1371a6,_0x2d7271){return _0x143ed5(_0x2d7271- -_0x3e5cfd._0x35f2da,_0x1371a6);}if(_0x490e6f)return _0x490e6f;const _0x2fa08c=process.env[_0x2d0d7c]?.[_0x446935(-0xda,-0x19e)]();return _0x2fa08c||null;}var CONTROL_PREFIX=_0x75393(0x20c,0x3e8)+'t_relay_'+_0x75393(0x111,0x174)+'_:';function parseControl(_0x41c910){const _0x2cdb8d={_0x2b03c1:0x3aa,_0x53f8d3:0x3ae,_0x41c88f:0xa7,_0x2b7958:0xac,_0x3a1c11:0x19a,_0x56032d:0x2f,_0xf84ec7:0x56a,_0x2c6432:0x3c2,_0x31459b:0xf8,_0x43d5c4:0x10c,_0x2dfaf1:0x3ad,_0x6b4f1a:0x371,_0x453378:0x211},_0x5642b3={_0x5706a6:0xb0},_0x2c97e0={_0x3f5b3e:0xb0};function _0x59ef26(_0x26c567,_0x49366b){return _0x143ed5(_0x49366b-_0x2c97e0._0x3f5b3e,_0x26c567);}function _0x5ca38f(_0x1eabd3,_0x90c04a){return _0x143ed5(_0x1eabd3- -_0x5642b3._0x5706a6,_0x90c04a);}if(!_0x41c910[_0x59ef26(_0x2cdb8d._0x2b03c1,_0x2cdb8d._0x53f8d3)+'th'](CONTROL_PREFIX))return null;try{const _0x15e3c0=JSON[_0x59ef26(_0x2cdb8d._0x41c88f,0x3c)](_0x41c910[_0x5ca38f(-0x94,-_0x2cdb8d._0x2b7958)](CONTROL_PREFIX[_0x5ca38f(_0x2cdb8d._0x3a1c11,_0x2cdb8d._0x56032d)]));if(typeof _0x15e3c0['event']!==_0x59ef26(_0x2cdb8d._0xf84ec7,_0x2cdb8d._0x2c6432)||!_0x15e3c0[_0x59ef26(-0x38,0x85)]['trim']())return null;return{'event':_0x15e3c0['event']['trim'](),'count':typeof _0x15e3c0['count']==='number'&&Number[_0x5ca38f(-_0x2cdb8d._0x31459b,_0x2cdb8d._0x43d5c4)](_0x15e3c0[_0x59ef26(_0x2cdb8d._0x2dfaf1,_0x2cdb8d._0x6b4f1a)])?_0x15e3c0[_0x5ca38f(_0x2cdb8d._0x453378,0x387)]:void 0x0};}catch{return null;}}function parseConnectStartIdentity(_0x49f523){const _0x525690={_0x541e56:0x53c,_0x34e950:0x158,_0x2f9314:0x20a,_0x36c742:0x306,_0x325f29:0x3f8,_0x425cf5:0x297,_0x35ae7b:0x4d2,_0x2364dd:0x31d,_0x5ee848:0xd1,_0x589d1c:0xd4,_0x1eff67:0x10c,_0x5565c3:0x133,_0x2ea31b:0xc5,_0x201362:0xe5,_0x4ee5d1:0x93,_0x15ee68:0x3a0,_0x392dfe:0x5,_0x34fe4d:0xe1,_0x21684e:0x42c},_0x57c831={_0x41cb7d:0x39a};function _0x56d1fd(_0x44f111,_0x1b4175){return _0x75393(_0x44f111,_0x1b4175- -0x29);}function _0x2d3e9f(_0x44ab47,_0x39a4ca){return _0x75393(_0x44ab47,_0x39a4ca- -_0x57c831._0x41cb7d);}const _0x5609ed={'trPui':function(_0x2d0780,_0x121d1a){return _0x2d0780===_0x121d1a;},'IrXIf':_0x56d1fd(_0x525690._0x541e56,0x4de),'rdSLh':function(_0x436af3,_0x5a326a,_0x5714a3,_0x51bb67,_0x3261ce){return _0x436af3(_0x5a326a,_0x5714a3,_0x51bb67,_0x3261ce);}};try{const _0xb574bd=JSON[_0x56d1fd(0x1bf,_0x525690._0x34e950)](_0x49f523);if(_0xb574bd[_0x56d1fd(_0x525690._0x2f9314,_0x525690._0x36c742)]!==_0x56d1fd(_0x525690._0x325f29,_0x525690._0x425cf5))return null;if(_0xb574bd[_0x56d1fd(0x4a1,_0x525690._0x35ae7b)]!==_0x56d1fd(0x313,0x29d)&&_0xb574bd[_0x2d3e9f(0xa,0x161)]!=='connect.'+'start')return null;const _0x1d6d3c=_0xb574bd['params']??{},_0x3c037b=_0x5609ed[_0x56d1fd(_0x525690._0x2364dd,0x4a0)](typeof _0xb574bd['id'],_0x5609ed[_0x2d3e9f(0x1bc,_0x525690._0x5ee848)])&&_0xb574bd['id'][_0x56d1fd(-_0x525690._0x589d1c,_0x525690._0x1eff67)]()?_0xb574bd['id']['trim']():_0x2d3e9f(_0x525690._0x5565c3,0x58)+Math[_0x2d3e9f(-0x12d,-_0x525690._0x2ea31b)]()[_0x2d3e9f(_0x525690._0x201362,-_0x525690._0x4ee5d1)](0x24)[_0x2d3e9f(0x78,-0x189)](0x2,0xc),_0x4e973a=_0x5609ed['rdSLh'](firstString,_0x1d6d3c['deviceNa'+'me'],_0x1d6d3c[_0x56d1fd(0x3f4,_0x525690._0x15ee68)+'me'],_0x1d6d3c[_0x2d3e9f(0x1a8,-_0x525690._0x392dfe)],_0x56d1fd(0x4c7,0x394)+_0x2d3e9f(-0x88,_0x525690._0x34fe4d)),_0x175d54={};return _0x175d54['id']=_0x3c037b,_0x175d54[_0x56d1fd(0x348,_0x525690._0x21684e)]=_0x4e973a,_0x175d54;}catch{return null;}}function isConnectHandshakeRequest(_0x1c98a1){const _0x2f0017={_0x5eb1fc:0x1af,_0x5e2030:0xac,_0x5c98c6:0x76a,_0x21baab:0x8d0,_0x2ed8ab:0x702,_0x2301ee:0x806,_0x415a87:0x498,_0x2ba3ec:0x10c,_0x106bc1:0xcb,_0x3a472f:0x4ee},_0x31eaec={_0x3f649c:0x34b};function _0x144eeb(_0x4fb30b,_0x43d59a){return _0x75393(_0x4fb30b,_0x43d59a- -_0x31eaec._0x3f649c);}const _0x50cc4b={};_0x50cc4b[_0x144eeb(_0x2f0017._0x5eb1fc,_0x2f0017._0x5e2030)]='req';const _0x69fa80=_0x50cc4b;function _0x5a602f(_0x11990e,_0x10313c){return _0x75393(_0x11990e,_0x10313c-0x30b);}try{const _0x71c2f4=JSON[_0x144eeb(-0x2ae,-0x1ca)](_0x1c98a1);return _0x71c2f4[_0x5a602f(_0x2f0017._0x5c98c6,0x63a)]===_0x69fa80[_0x5a602f(_0x2f0017._0x21baab,_0x2f0017._0x2ed8ab)]&&(_0x71c2f4[_0x5a602f(0x935,_0x2f0017._0x2301ee)]===_0x5a602f(_0x2f0017._0x415a87,0x5d1)||_0x71c2f4['method']===_0x144eeb(-_0x2f0017._0x2ba3ec,-_0x2f0017._0x106bc1)+_0x5a602f(_0x2f0017._0x3a472f,0x6cb));}catch{return![];}}function parsePairingRequestFromError(_0xaf8fb,_0x5d3efb=Date[_0x143ed5(0x1e,-0x104)]()){const _0x11ebab={_0x34841a:0x3ae,_0xa26017:0x441,_0x535c26:0x2e2,_0x4d68bb:0x45a,_0x111570:0xd5,_0x59a6c8:0x29f,_0x37b59c:0x689,_0x122494:0x277,_0x19c2b7:0x61a,_0x30acd4:0x4cb,_0x51d7fb:0x4c4,_0x1b3a97:0x2b2,_0x28def9:0x6c1,_0x1189bf:0x67c,_0x3c300e:0x6a4,_0x1e219b:0x3da,_0x3aef5a:0x45f,_0x171cc9:0x528,_0x8f442c:0x445,_0x344c84:0x2eb,_0x3ad359:0x3d4,_0x3ecbf7:0x2d5,_0x42f8c7:0x4f2,_0x211faa:0x5c9,_0xd6131c:0x38e,_0x3dda88:0x4cd,_0x2a13e7:0x3c1,_0x5a0272:0x4b0,_0x3a4553:0x4c7,_0x2137a7:0x2ed,_0x56a7a4:0x4ab,_0x2fa1a4:0x3f0},_0x37ac4b={_0x2ee0c3:0x16f};function _0x1e8c59(_0x2679de,_0x1eb920){return _0x75393(_0x2679de,_0x1eb920-0x182);}function _0x296d81(_0x4f01c5,_0x58a69b){return _0x75393(_0x4f01c5,_0x58a69b-_0x37ac4b._0x2ee0c3);}const _0x1091ac={'gNgPK':function(_0x26322e,_0x607464){return _0x26322e===_0x607464;},'CUvdL':function(_0x56fc38,_0x382136,_0x2e136f){return _0x56fc38(_0x382136,_0x2e136f);},'hSBjH':function(_0x19db6f,_0x4d5519){return _0x19db6f(_0x4d5519);}};try{const _0x3a806f=JSON['parse'](_0xaf8fb);if(_0x3a806f[_0x1e8c59(_0x11ebab._0x34841a,0x4b1)]!==_0x296d81(_0x11ebab._0xa26017,_0x11ebab._0x535c26)||_0x3a806f['ok']!==![]||!_0x3a806f[_0x1e8c59(_0x11ebab._0x4d68bb,0x2b2)])return null;const _0x2b9a8a=typeof _0x3a806f[_0x296d81(_0x11ebab._0x111570,_0x11ebab._0x59a6c8)]['code']===_0x1e8c59(0x836,_0x11ebab._0x37b59c)?_0x3a806f[_0x1e8c59(_0x11ebab._0x122494,0x2b2)]['code']:'',_0x1e9e92=_0x1091ac['gNgPK'](typeof _0x3a806f['error'][_0x1e8c59(_0x11ebab._0x19c2b7,_0x11ebab._0x30acd4)],_0x296d81(_0x11ebab._0x51d7fb,0x676))?_0x3a806f[_0x1e8c59(0x450,_0x11ebab._0x1b3a97)][_0x296d81(_0x11ebab._0x28def9,0x4b8)]:'';if(!_0x2b9a8a['includes']('NOT_PAIR'+'ED')&&!_0x2b9a8a[_0x1e8c59(_0x11ebab._0x1189bf,_0x11ebab._0x3c300e)]('PAIRING_'+_0x1e8c59(0x786,0x670))&&!_0x1e9e92['includes']('NOT_PAIR'+'ED')&&!_0x1e9e92['includes'](_0x296d81(0x3f5,_0x11ebab._0x1e219b)+_0x1e8c59(_0x11ebab._0x3aef5a,_0x11ebab._0x171cc9)))return null;const _0x3c38da=_0x3a806f[_0x296d81(_0x11ebab._0x8f442c,_0x11ebab._0x59a6c8)][_0x1e8c59(0x4f2,0x36d)]??_0x3a806f[_0x296d81(_0x11ebab._0x344c84,0x29f)]['data']??{},_0x399023=firstString(_0x3c38da[_0x296d81(_0x11ebab._0x3ad359,0x323)+'d'],extractRequestIdFromMessage(_0x1e9e92),_0x296d81(0x3f9,_0x11ebab._0x3ecbf7));return{'requestId':_0x399023,'deviceId':_0x1091ac[_0x296d81(0x5a5,0x568)](firstString,_0x3c38da['deviceId'],''),'displayName':firstNullableString(_0x3c38da[_0x296d81(_0x11ebab._0x42f8c7,_0x11ebab._0x211faa)+'ame']),'platform':firstNullableString(_0x3c38da[_0x1e8c59(_0x11ebab._0xd6131c,_0x11ebab._0x3dda88)]),'deviceFamily':firstNullableString(_0x3c38da[_0x1e8c59(0x554,_0x11ebab._0x2a13e7)+_0x296d81(0x574,_0x11ebab._0x5a0272)]),'role':firstNullableString(_0x3c38da[_0x1e8c59(_0x11ebab._0x3a4553,_0x11ebab._0x2137a7)]),'remoteIp':_0x1091ac['hSBjH'](firstNullableString,_0x3c38da[_0x1e8c59(_0x11ebab._0x56a7a4,_0x11ebab._0x2fa1a4)]),'receivedAtMs':_0x5d3efb,'status':'pending'};}catch{return null;}}function parsePairResolvedEvent(_0x1694dd){const _0x409584={_0x5ea0e2:0x21a,_0x93107c:0x1ba,_0xbd267:0x46,_0x22aed3:0x29a,_0x5a1189:0xdc,_0x2e3819:0x34,_0x32057a:0x24,_0x232c76:0x2e4,_0x3ff7ab:0x199,_0x57207c:0x57,_0x518c45:0x67,_0xfaa864:0x2d1,_0x254ea2:0x29,_0x1b9a9e:0x82,_0x23947b:0x9f},_0x1a9c75={_0x9615d1:0x315},_0x36c1d8={_0x2498b1:0x363},_0x514e5d={};_0x514e5d[_0x1c6c6d(_0x409584._0x5ea0e2,0x32c)]=_0x5a17bf(_0x409584._0x93107c,0x184);function _0x5a17bf(_0x466f96,_0x5ece84){return _0x75393(_0x5ece84,_0x466f96- -_0x36c1d8._0x2498b1);}function _0x1c6c6d(_0x2e54a2,_0x443017){return _0x75393(_0x443017,_0x2e54a2- -_0x1a9c75._0x9615d1);}_0x514e5d[_0x5a17bf(0x14,-_0x409584._0xbd267)]=_0x5a17bf(-0x1fd,-_0x409584._0x22aed3);const _0x54b9f9=_0x514e5d;try{const _0x5ba145=JSON[_0x1c6c6d(-0x194,-_0x409584._0x5a1189)](_0x1694dd);if(_0x5ba145[_0x5a17bf(-_0x409584._0x2e3819,_0x409584._0x32057a)]!==_0x1c6c6d(-0x14b,-_0x409584._0x232c76)||_0x5ba145[_0x5a17bf(-_0x409584._0x3ff7ab,-0x4f)]!=='device.p'+_0x5a17bf(-0x80,0x146)+_0x5a17bf(-0x127,-0x2e4)||!_0x5ba145['payload'])return null;const _0x3d2e91=typeof _0x5ba145[_0x1c6c6d(-0x19,-0x6d)][_0x1c6c6d(-0x161,_0x409584._0x57207c)+'d']==='string'?_0x5ba145[_0x5a17bf(-_0x409584._0x518c45,-0xb1)]['requestI'+'d'][_0x5a17bf(-0x22e,-_0x409584._0xfaa864)]():'';if(!_0x3d2e91)return null;const _0x5dc6b6=typeof _0x5ba145[_0x1c6c6d(-0x19,0x1bf)]['decision']==='string'?_0x5ba145[_0x1c6c6d(-0x19,-0x1f8)]['decision']:_0x1c6c6d(-0x1af,_0x409584._0x254ea2),_0x1995fd=_0x5dc6b6===_0x1c6c6d(-0xe6,-_0x409584._0x1b9a9e)||_0x5dc6b6===_0x54b9f9[_0x5a17bf(0x1cc,0x1bc)]?_0x5dc6b6:_0x54b9f9[_0x1c6c6d(0x62,0x15d)],_0x254230={};return _0x254230[_0x1c6c6d(-0x161,_0x409584._0x23947b)+'d']=_0x3d2e91,_0x254230[_0x5a17bf(-0x1,-0x9)]=_0x1995fd,_0x254230;}catch{return null;}}function firstString(..._0x5c0215){const _0x39901c={_0x4ce9b2:0x2a3,_0x490ffd:0x442,_0xd86d99:0x2a3,_0x13f156:0x22e,_0x314493:0x311,_0x2e5533:0x124,_0x49e825:0x19e};function _0x82f7c5(_0x5ef01c,_0x52667d){return _0x75393(_0x52667d,_0x5ef01c- -0x259);}const _0x2d6d2c={};_0x2d6d2c[_0x82f7c5(_0x39901c._0x4ce9b2,_0x39901c._0x490ffd)]='string';const _0x31b628=_0x2d6d2c;function _0x41629f(_0x4c051e,_0x5924d4){return _0x75393(_0x5924d4,_0x4c051e- -0xb2);}for(const _0x109ac8 of _0x5c0215){if(typeof _0x109ac8===_0x31b628[_0x82f7c5(_0x39901c._0xd86d99,_0x39901c._0x13f156)]&&_0x109ac8[_0x82f7c5(-0x124,-_0x39901c._0x314493)]())return _0x109ac8[_0x82f7c5(-_0x39901c._0x2e5533,-_0x39901c._0x49e825)]();}return'';}function firstNullableString(_0x238a0e){const _0x10b02c={_0x35f353:0x4ab,_0x2a9852:0x106,_0x392c7d:0x108,_0x4b5001:0x106},_0x595aaa={_0x367ecb:0x23b};function _0x3ce289(_0x10fea8,_0x3f6579){return _0x75393(_0x10fea8,_0x3f6579-0x78);}function _0x1824b0(_0x1c9c90,_0x371b37){return _0x75393(_0x371b37,_0x1c9c90- -_0x595aaa._0x367ecb);}return typeof _0x238a0e===_0x3ce289(_0x10b02c._0x35f353,0x57f)&&_0x238a0e[_0x1824b0(-_0x10b02c._0x2a9852,_0x10b02c._0x392c7d)]()?_0x238a0e[_0x1824b0(-_0x10b02c._0x4b5001,-0x12a)]():null;}function extractRequestIdFromMessage(_0x23b0c8){const _0x4fd57b={_0xb9596e:0x4a2,_0xf8a814:0x36e};function _0x475ae1(_0x7cd47c,_0x32aeaa){return _0x75393(_0x32aeaa,_0x7cd47c-0x37e);}const _0x38dba9=_0x23b0c8[_0x475ae1(_0x4fd57b._0xb9596e,_0x4fd57b._0xf8a814)](/requestId[:\s]*([a-f0-9-]+)/i);return _0x38dba9?.[0x1]??null;}import{randomUUID as _0xeb6c2c}from'crypto';import{setTimeout as _0x2b5e3a}from'timers/promises';import _0x4cde07 from'ws';var HEARTBEAT_INTERVAL_MS=0x2710,HEARTBEAT_TIMEOUT_MS=0x88b8,GATEWAY_RETRY_DELAY_MS=0x4b0,GATEWAY_IDLE_DISCONNECT_DELAY_MS=0x7530,RECONNECT_BASE_DELAY_MS=0x3e8,RECONNECT_MAX_DELAY_MS=0x3a98,MAX_PENDING_GATEWAY_MESSAGES=0x100,MAX_DEVICE_DETAILS=0x20,MAX_PENDING_PAIR_REQUESTS=0x10,BridgeRuntime=class{[_0x75393(0x2b7,0x4b3)];[_0x143ed5(0x153,0x2e6)+_0x75393(0x24a,0x3d1)]=null;[_0x75393(0x3d5,0x2a4)+_0x143ed5(0x135,0x1ed)]=null;[_0x143ed5(0x1ae,0xd6)+_0x143ed5(0x2df,0x404)]=![];[_0x75393(0x639,0x482)+'onnectin'+'g']=![];[_0x143ed5(0x24d,0xd5)]=!![];[_0x75393(0x3b6,0x34e)+_0x75393(0x401,0x417)]=0x0;[_0x75393(0x6ba,0x4e7)+_0x75393(0x94,0x1f3)+'yMs']=0x0;[_0x143ed5(0x15a,0xf)+_0x75393(0x48c,0x3b3)]=null;[_0x75393(0x554,0x3d0)+'etryTime'+'r']=null;[_0x143ed5(-0x44,0x10a)+_0x143ed5(0xce,0x110)+'Timer']=null;[_0x75393(0x42c,0x2cc)+_0x75393(0x2bc,0x3b3)]=null;['pendingG'+_0x75393(0x29e,0x47c)+_0x143ed5(0x145,0x13f)]=[];['gatewayH'+_0x143ed5(0x26e,0x1a9)+_0x75393(0x140,0x275)]=![];[_0x143ed5(0x117,0x45)+'mandStar'+_0x75393(0x321,0x265)]=null;[_0x75393(0x654,0x482)+_0x75393(0x400,0x32e)+_0x75393(0x29a,0x2ca)]=null;[_0x75393(0x33f,0x532)];constructor(_0x5e17dd){const _0x459a6c={_0x2dfbbd:0x3f4,_0x555ef0:0x5e8,_0x33a7a2:0x64a,_0xb1ae86:0x5e0,_0x3346b5:0x467,_0x3afb29:0x1c5},_0x49dd3e={_0x46a112:0x16};function _0xfd5b9f(_0x4b1c5e,_0x589356){return _0x143ed5(_0x589356-_0x49dd3e._0x46a112,_0x4b1c5e);}function _0x50689b(_0x59b1e4,_0x5afa53){return _0x143ed5(_0x59b1e4-0x42e,_0x5afa53);}this[_0xfd5b9f(0x424,0x2d4)]=_0x5e17dd,this[_0x50689b(0x76b,0x929)]={'running':![],'relayConnected':![],'gatewayConnected':![],'gatewayId':_0x5e17dd[_0x50689b(_0x459a6c._0x2dfbbd,0x23f)][_0x50689b(0x3ea,_0x459a6c._0x555ef0)+'d'],'instanceId':_0x5e17dd['config'][_0x50689b(_0x459a6c._0x33a7a2,_0x459a6c._0xb1ae86)+'Id'],'relayUrl':_0x5e17dd['config']['relayUrl'],'gatewayUrl':_0x5e17dd[_0x50689b(_0x459a6c._0x3346b5,0x356)+'rl'],'clientCount':0x0,'connectedDevices':[],'pendingPairRequests':[],'lastError':null,'lastUpdatedMs':Date[_0xfd5b9f(_0x459a6c._0x3afb29,0x34)]()};}[_0x75393(0x3e9,0x3c0)](){const _0x47a08b={_0x8dbe2a:0x9ef,_0x41c703:0x8ed,_0x1b2173:0x864,_0x6934df:0x867,_0x24486e:0x177,_0x392ae9:0xa3,_0x4433d7:0x800,_0x366e78:0x761,_0x29e934:0x595,_0x19719b:0x10e,_0x9fc907:0x566,_0x3c1aad:0x37f,_0x310d03:0x359},_0x2fa352={_0x1f8a4e:0x3b4};function _0x357ddd(_0x1b0d57,_0x475f77){return _0x75393(_0x1b0d57,_0x475f77-_0x2fa352._0x1f8a4e);}function _0xad7c7a(_0x42c254,_0x42d815){return _0x75393(_0x42d815,_0x42c254- -0x3a5);}if(!this[_0xad7c7a(0x9d,-0xa2)])return;this[_0x357ddd(_0x47a08b._0x8dbe2a,0x7f6)]=![],this[_0x357ddd(_0x47a08b._0x41c703,_0x47a08b._0x1b2173)+_0xad7c7a(-0x256,-0xf2)]({'running':!![],'gatewayUrl':this[_0x357ddd(0x8ec,_0x47a08b._0x6934df)][_0xad7c7a(-_0x47a08b._0x24486e,-_0x47a08b._0x392ae9)+'rl']}),this[_0x357ddd(_0x47a08b._0x4433d7,_0x47a08b._0x366e78)](_0x357ddd(_0x47a08b._0x29e934,0x4f0)+_0xad7c7a(0x10a,0x207)+'\x20gateway'+'Id='+this[_0xad7c7a(_0x47a08b._0x19719b,0x1bd)][_0x357ddd(0x592,0x56f)]['gatewayI'+'d']+(_0x357ddd(0x3d7,_0x47a08b._0x9fc907)+_0xad7c7a(-0x1f9,-_0x47a08b._0x3c1aad))+this[_0x357ddd(0x997,0x867)]['gatewayU'+'rl']),void this[_0x357ddd(0x850,0x822)+_0xad7c7a(-0x178,-_0x47a08b._0x310d03)]();}async['stop'](){const _0x303ec6={_0x34ba15:0x775,_0x2606b9:0x244,_0x3e5128:0x40a,_0x574def:0x46a,_0x5b3173:0x7ef,_0x4b2a12:0x2dd,_0x53e588:0x511,_0x29a1d4:0x310,_0x4edd61:0x399,_0x46faea:0x24d,_0x2fca84:0x2f2,_0x24f2d1:0x302,_0x276dce:0x5e6,_0x2d7026:0x5a4,_0x2cbaed:0x661,_0x4fec8a:0x690,_0x1cc9ac:0x62b,_0x1a310f:0x168,_0x334955:0x2a2,_0x16e2c4:0x36b,_0x37498c:0x98e,_0x52d045:0x7a3,_0x5a2fad:0x250,_0x56d6e8:0x44a,_0x3f6704:0xa6d,_0x502ad5:0x7e3},_0x44b6c8={_0x84b317:0x528},_0x5661a4={'aopbb':function(_0x4013f0,_0x265440){return _0x4013f0(_0x265440);}};if(this[_0x2e1b68(0x91b,_0x303ec6._0x34ba15)])return;this[_0x7f6d70(_0x303ec6._0x2606b9,_0x303ec6._0x3e5128)]=!![];function _0x2e1b68(_0x4441b7,_0x123c06){return _0x143ed5(_0x123c06-_0x44b6c8._0x84b317,_0x4441b7);}this[_0x2e1b68(_0x303ec6._0x574def,0x50e)+_0x2e1b68(0x896,_0x303ec6._0x5b3173)](),this[_0x2e1b68(0x56d,0x67b)+'ket']?.[_0x7f6d70(_0x303ec6._0x4b2a12,0x1a6)](),this[_0x7f6d70(0x25e,0x26c)+'ocket']?.[_0x2e1b68(0x349,_0x303ec6._0x53e588)](),this[_0x7f6d70(0x3bd,_0x303ec6._0x29a1d4)+_0x7f6d70(0x567,_0x303ec6._0x4edd61)]=null,this[_0x2e1b68(0x7be,0x5d7)+_0x7f6d70(_0x303ec6._0x46faea,_0x303ec6._0x2fca84)]=null,this[_0x2e1b68(0x697,0x723)+_0x2e1b68(0x92a,0x7af)+_0x7f6d70(0x499,_0x303ec6._0x24f2d1)]=[],this['gatewayH'+'andshake'+'Started']=![],this[_0x7f6d70(0x3a0,0x2d4)+_0x2e1b68(_0x303ec6._0x3e5128,_0x303ec6._0x276dce)+'tedAtMs']=null,this[_0x7f6d70(0x64b,0x44a)+_0x2e1b68(_0x303ec6._0x2d7026,_0x303ec6._0x2cbaed)+_0x2e1b68(0x46d,0x5fd)]=null;function _0x7f6d70(_0x55f09f,_0x36a869){return _0x143ed5(_0x36a869-0x1bd,_0x55f09f);}this[_0x7f6d70(0x523,0x36b)+_0x7f6d70(_0x303ec6._0x4fec8a,0x49c)]=![],this[_0x7f6d70(_0x303ec6._0x1cc9ac,0x44a)+_0x7f6d70(_0x303ec6._0x1a310f,_0x303ec6._0x334955)+'g']=![];const _0x35b76d={};_0x35b76d['running']=![],_0x35b76d[_0x7f6d70(0x2e0,_0x303ec6._0x16e2c4)+_0x2e1b68(_0x303ec6._0x37498c,_0x303ec6._0x52d045)]=![],_0x35b76d[_0x7f6d70(_0x303ec6._0x5a2fad,_0x303ec6._0x56d6e8)+'onnected']=![],_0x35b76d['clientCo'+'unt']=0x0,_0x35b76d[_0x2e1b68(_0x303ec6._0x3f6704,0x86b)+'r']=null,this[_0x2e1b68(0x8fa,_0x303ec6._0x502ad5)+'apshot'](_0x35b76d),this['log'](_0x2e1b68(0x2dd,0x46f)+'stopped'),await _0x5661a4[_0x2e1b68(0x510,0x672)](_0x2b5e3a,0x19);}async[_0x143ed5(-0xc6,-0x21)+_0x143ed5(0x74,-0x2f)+'st'](_0x140604){const _0x39bb53={_0x337322:0x248,_0x2e6cb2:0x200,_0x2375fc:0x12f,_0x437b34:0x11e,_0x25c9c3:0x19e};function _0x535481(_0x2e5b21,_0x385c29){return _0x75393(_0x2e5b21,_0x385c29- -0x333);}const _0x12662b={};_0x12662b['EXSjJ']='approved';const _0x583733=_0x12662b;function _0x5d2fa5(_0x4cf31f,_0x3a3a78){return _0x75393(_0x4cf31f,_0x3a3a78-0x94);}const _0x47ffb2={};_0x47ffb2[_0x5d2fa5(0x2a9,_0x39bb53._0x337322)+'d']=_0x140604,this[_0x535481(-_0x39bb53._0x2e6cb2,-0x16a)+'wayReque'+'st']('device.p'+_0x535481(0x15,0x11e)+_0x5d2fa5(0x347,0x452),_0x47ffb2),this['markPair'+_0x535481(0x173,0x75)+_0x535481(-0x7e,_0x39bb53._0x2375fc)](_0x140604,_0x583733[_0x535481(-_0x39bb53._0x437b34,-_0x39bb53._0x25c9c3)]);}async[_0x143ed5(0x189,0x190)+_0x75393(0x221,0x2b5)+'t'](_0x2ab78f){const _0x2afd71={_0x2d3624:0x91,_0x21e5de:0x34,_0x565ed6:0x407},_0x514c21={};function _0x2144c0(_0x33011b,_0x3ac3c3){return _0x75393(_0x3ac3c3,_0x33011b-0x262);}_0x514c21[_0x58d5d5(-0xd0,0x2c)+'d']=_0x2ab78f;function _0x58d5d5(_0x1f2ee6,_0x2ba11a){return _0x75393(_0x1f2ee6,_0x2ba11a- -0x188);}this['sendGate'+_0x2144c0(0x3f0,0x53b)+'st'](_0x58d5d5(0x9,0x93)+_0x58d5d5(-_0x2afd71._0x2d3624,-_0x2afd71._0x21e5de)+'ct',_0x514c21),this[_0x2144c0(0x3b2,0x2a0)+'RequestR'+'esolved'](_0x2ab78f,_0x58d5d5(_0x2afd71._0x565ed6,0x395));}[_0x75393(0x4ca,0x387)+_0x75393(0x5cd,0x439)](){const _0xcf97f9={_0x56c4c5:0x1f5,_0x389377:0x23d,_0x463427:0x225,_0x258d5e:0x5ff,_0x4282f9:0xb8,_0x26395e:0x2c2,_0x38a30d:0x2bc},_0x47bd79={_0x8617b2:0x33d};function _0x4c02e2(_0x56ddf5,_0x2a10bd){return _0x75393(_0x2a10bd,_0x56ddf5- -_0x47bd79._0x8617b2);}const _0x15dce2={...this[_0x4c02e2(_0xcf97f9._0x56c4c5,0x3d7)]};_0x15dce2[_0x4c02e2(0x1c7,_0xcf97f9._0x389377)+_0x13c313(-0x74,0xb8)]=[...this[_0x4c02e2(0x1f5,_0xcf97f9._0x463427)][_0x13c313(_0xcf97f9._0x258d5e,0x3fa)+_0x13c313(0x10,_0xcf97f9._0x4282f9)]],_0x15dce2[_0x13c313(_0xcf97f9._0x26395e,0x1aa)+_0x13c313(_0xcf97f9._0x38a30d,0x15f)+'sts']=[...this['snapshot'][_0x4c02e2(-0x89,-0x286)+'airReque'+_0x4c02e2(0x162,0x294)]];function _0x13c313(_0x26f2b5,_0x5d9789){return _0x75393(_0x26f2b5,_0x5d9789- -0x10a);}return _0x15dce2;}async[_0x75393(0x2cf,0x46e)+_0x75393(0x322,0x22d)](){const _0x1cacb6={_0xd7ed34:0x1e3,_0x205f0f:0x8f,_0x5522ab:0xd9,_0x30c631:0x269,_0x496e2a:0x4ca,_0x323e1b:0x58e,_0x13286d:0x551,_0x291668:0x788,_0x32d658:0x34e,_0x50aa5a:0x3de,_0x409728:0x408,_0x268c8c:0x4fe,_0x23b90b:0x400,_0x2f7eb9:0x641,_0x8d35f8:0x268,_0xb02179:0x261,_0x5e9267:0x39d,_0x4ccd3b:0x482,_0x554e33:0xef,_0x5bc419:0x66a,_0x898599:0x17f,_0x32df2c:0x32e},_0x3ab038={_0x4af06e:0x198,_0x3a751e:0x30,_0x3cfe95:0x221,_0x9a8bcf:0x342,_0x5f5264:0x2d9,_0x1c11fb:0xb1,_0x458609:0x47,_0x204a58:0x1bd,_0x190e99:0xd0,_0x4752de:0x131,_0x28e034:0x181,_0x1ddca9:0x1fa,_0x2858ca:0x1af,_0x46d903:0x237,_0x5150ee:0x2dd,_0x594726:0x2ef,_0x4877b2:0x183,_0xb409f0:0xb,_0x3524d2:0x89,_0x572099:0x121,_0xc68d1c:0x1fd,_0x4c4ea8:0x360,_0x498b8e:0x134,_0x3222fd:0xcc,_0x10294c:0x124,_0x2dd4fc:0x15c,_0x276f94:0x363},_0x557886={_0x16dd3e:0x819,_0x18aaff:0x6f7},_0x12ba4e={_0x4d3cd4:0x181,_0x295134:0xb,_0x103682:0x173,_0x491a57:0x20},_0x380477={_0x2b3963:0xa9},_0x19ac14={_0x366ce3:0x1ce,_0x393d68:0x424,_0x48bb21:0x5d8},_0x23245d={_0x1a94d2:0xad},_0x574260={_0x4b482a:0x60b,_0x20acc1:0x4d4,_0x379691:0x552,_0x1d3842:0x35f,_0x29d216:0x3f2,_0x2c0ca9:0x655,_0x56e0e5:0x6ea,_0x16c2dd:0x6f2,_0xf7ac0b:0x374,_0x363002:0x44a,_0x508865:0x4a8,_0x1b0a2a:0x41e,_0x57236b:0x57d,_0x378073:0x4c1,_0x2ec64b:0x6cb,_0x132e45:0x631,_0x78288:0x5be,_0x4bb59d:0x7a6,_0x4d4b54:0x663,_0x5aea82:0x8c6},_0x374e5d={_0x1e8f04:0x48},_0x590d3e={_0x275dff:0x5f},_0x41c035={_0x18df5b:0x139},_0x25261b={};_0x25261b[_0x5ab75b(_0x1cacb6._0xd7ed34,_0x1cacb6._0x205f0f)]=function(_0x2391ab,_0xd771dc){return _0x2391ab===_0xd771dc;},_0x25261b[_0x5ab75b(0x395,0x221)]=_0x79a983(_0x1cacb6._0x5522ab,_0x1cacb6._0x30c631);function _0x79a983(_0xc2100e,_0x11820b){return _0x75393(_0xc2100e,_0x11820b-_0x41c035._0x18df5b);}const _0x2b2756=_0x25261b;if(this['stopped']||this[_0x79a983(0x608,0x4dc)+'necting']||this[_0x79a983(0x62c,0x667)+_0x5ab75b(0x2d5,0x207)]())return;function _0x5ab75b(_0x393c56,_0x28d7cf){return _0x75393(_0x28d7cf,_0x393c56- -_0x590d3e._0x275dff);}this[_0x5ab75b(0x344,_0x1cacb6._0x496e2a)+'necting']=!![],this[_0x79a983(_0x1cacb6._0x323e1b,0x487)+'empt']+=0x1;const _0x582a1e=this[_0x79a983(_0x1cacb6._0x13286d,0x487)+_0x79a983(0x3c1,0x550)],_0x502d3d=buildRelayWsUrl(this[_0x79a983(_0x1cacb6._0x291668,0x5ec)]['config']);this[_0x5ab75b(_0x1cacb6._0x32d658,0x274)](_0x5ab75b(_0x1cacb6._0x50aa5a,0x550)+'nnect\x20at'+_0x5ab75b(_0x1cacb6._0x409728,_0x1cacb6._0x268c8c)+_0x582a1e+_0x79a983(0x4f7,_0x1cacb6._0x23b90b)+redactRelayWsUrl(_0x502d3d));const _0x4844e9={};_0x4844e9[_0x5ab75b(0x481,_0x1cacb6._0x2f7eb9)+'ad']=0x19*0x400*0x400;const _0xf9c744=new _0x4cde07(_0x502d3d,_0x4844e9);this['relaySoc'+_0x5ab75b(0x372,_0x1cacb6._0x8d35f8)]=_0xf9c744,_0xf9c744[_0x79a983(_0x1cacb6._0xb02179,_0x1cacb6._0x5e9267)](_0x79a983(0x548,0x419),()=>{if(this[_0x504886(0x64d,_0x574260._0x4b482a)]||this[_0x48f7cf(0x4c9,_0x574260._0x20acc1)+_0x48f7cf(_0x574260._0x379691,0x44b)]!==_0xf9c744){_0xf9c744[_0x48f7cf(_0x574260._0x1d3842,_0x574260._0x29d216)]();return;}function _0x504886(_0x452d59,_0x33e0da){return _0x79a983(_0x33e0da,_0x452d59-0xd2);}this['relayCon'+_0x48f7cf(_0x574260._0x2c0ca9,_0x574260._0x56e0e5)]=![],this[_0x504886(_0x574260._0x16c2dd,0x728)+_0x48f7cf(_0x574260._0xf7ac0b,0x1ce)+_0x48f7cf(_0x574260._0x363002,_0x574260._0x508865)]=Date[_0x504886(_0x574260._0x1b0a2a,_0x574260._0x57236b)]();const _0x36f2dd={};_0x36f2dd[_0x504886(0x5ae,_0x574260._0x378073)+'nected']=!![],_0x36f2dd[_0x48f7cf(0x6b9,_0x574260._0x2ec64b)+'r']=null,this[_0x48f7cf(_0x574260._0x132e45,0x772)+_0x48f7cf(0x2d0,0x20a)](_0x36f2dd);function _0x48f7cf(_0x202c1d,_0x2b9c0f){return _0x79a983(_0x2b9c0f,_0x202c1d-_0x374e5d._0x1e8f04);}this[_0x48f7cf(0x52e,0x3de)](_0x48f7cf(_0x574260._0x78288,_0x574260._0x4bb59d)+_0x504886(_0x574260._0x4d4b54,0x633)+_0x48f7cf(0x451,0x3de)+_0x582a1e),this[_0x504886(0x6c4,_0x574260._0x5aea82)+_0x48f7cf(0x330,0x338)]();}),_0xf9c744['on'](_0x79a983(0x534,_0x1cacb6._0x4ccd3b),(_0x4beff2,_0x249f9d)=>{function _0x4def50(_0x5f4deb,_0x32a3cc){return _0x5ab75b(_0x32a3cc-0x102,_0x5f4deb);}function _0x521cc7(_0x40084b,_0x5a79df){return _0x5ab75b(_0x40084b- -_0x23245d._0x1a94d2,_0x5a79df);}void this[_0x4def50(0x1f4,_0x19ac14._0x366ce3)+_0x4def50(_0x19ac14._0x393d68,_0x19ac14._0x48bb21)+'ge'](_0x4beff2,_0x249f9d);}),_0xf9c744['on'](_0x5ab75b(_0x1cacb6._0x554e33,0x1d1),()=>{const _0x50288d={_0x1a1b94:0x49f};function _0xae9af5(_0x38a8bb,_0x3621a4){return _0x79a983(_0x38a8bb,_0x3621a4-_0x380477._0x2b3963);}function _0x25f49c(_0x4fdebc,_0x2fa0b6){return _0x79a983(_0x2fa0b6,_0x4fdebc- -_0x50288d._0x1a1b94);}this[_0x25f49c(_0x12ba4e._0x4d3cd4,-_0x12ba4e._0x295134)+_0x25f49c(-_0x12ba4e._0x103682,-_0x12ba4e._0x491a57)+_0xae9af5(0x2b3,0x4ab)]=Date['now']();}),_0xf9c744[_0x79a983(0x505,_0x1cacb6._0x5e9267)](_0x2b2756[_0x79a983(_0x1cacb6._0x5bc419,0x52d)],_0x68c9c6=>{const _0x2cc2ef={_0x108254:0x211};function _0x3a0ae7(_0x263322,_0x43c701){return _0x79a983(_0x263322,_0x43c701- -0x2f6);}function _0x35deff(_0xf730c9,_0x18bed7){return _0x79a983(_0xf730c9,_0x18bed7-_0x2cc2ef._0x108254);}this[_0x35deff(_0x557886._0x16dd3e,_0x557886._0x18aaff)]('relay\x20er'+_0x35deff(0x558,0x604)+String(_0x68c9c6));}),_0xf9c744['once'](_0x5ab75b(_0x1cacb6._0x898599,_0x1cacb6._0x32df2c),(_0xd8c0c8,_0x5ab169)=>{const _0xcc38c1={_0xbc0a39:0x4bf},_0x42362e=('3|1|2|6|'+_0x4a9eb7(_0x3ab038._0x4af06e,0x205)+'8')[_0x2cb82c(-_0x3ab038._0x3a751e,-0x9b)]('|');function _0x4a9eb7(_0x142f5e,_0x47d33a){return _0x79a983(_0x47d33a,_0x142f5e- -0x43a);}let _0x402090=0x0;function _0x2cb82c(_0x577b5f,_0x42e189){return _0x79a983(_0x42e189,_0x577b5f- -_0xcc38c1._0xbc0a39);}while(!![]){switch(_0x42362e[_0x402090++]){case'0':this['log'](_0x4a9eb7(0xe5,-0xe9)+_0x4a9eb7(0xaa,-0x1d)+'ed\x20code='+_0xd8c0c8+_0x4a9eb7(0x1e2,_0x3ab038._0x3cfe95)+(_0x5ab169[_0x2cb82c(-0x7f,-0x13c)]()||'<none>'));continue;case'1':this[_0x4a9eb7(0xa2,0x57)+_0x2cb82c(0x14e,_0x3ab038._0x9a8bcf)]=![];continue;case'2':this[_0x2cb82c(-0x130,-_0x3ab038._0x5f5264)+_0x2cb82c(_0x3ab038._0x1c11fb,-0x155)]();continue;case'3':this[_0x4a9eb7(_0x3ab038._0x458609,_0x3ab038._0x204a58)+'ket']===_0xf9c744&&(this[_0x2cb82c(-0x3e,-0x154)+_0x4a9eb7(_0x3ab038._0x190e99,_0x3ab038._0x4752de)]=null);continue;case'4':this[_0x4a9eb7(_0x3ab038._0x28e034,0x191)+_0x2cb82c(-0x58,-_0x3ab038._0x1ddca9)+_0x4a9eb7(-0x37,-0x1ff)]=null;continue;case'5':this[_0x4a9eb7(_0x3ab038._0x2858ca,0x13e)+_0x2cb82c(-_0x3ab038._0x46d903,-_0x3ab038._0x5150ee)]({'relayConnected':![],'gatewayConnected':![],'clientCount':0x0,'lastError':_0x2b2756['KVtDi'](_0xd8c0c8,0x3e8)?null:_0x2cb82c(-0x162,-_0x3ab038._0x594726)+'osed:\x20'+(_0x5ab169[_0x2cb82c(-0x7f,-_0x3ab038._0x4877b2)]()||_0xd8c0c8)});continue;case'6':this[_0x4a9eb7(_0x3ab038._0xb409f0,0xf7)+_0x2cb82c(-0xd3,-_0x3ab038._0x3524d2)+_0x2cb82c(-_0x3ab038._0x572099,-0x25e)]=null;continue;case'7':this[_0x4a9eb7(_0x3ab038._0xc68d1c,_0x3ab038._0x4c4ea8)+_0x4a9eb7(0x167,-0x1e)]();continue;case'8':this[_0x4a9eb7(-_0x3ab038._0x498b8e,-_0x3ab038._0x3222fd)+_0x2cb82c(-0x1f5,-_0x3ab038._0x10294c)+_0x2cb82c(_0x3ab038._0x2dd4fc,_0x3ab038._0x276f94)]();continue;}break;}});}async[_0x75393(0x24d,0x12b)+'layMessa'+'ge'](_0x422cc6,_0xaff9b){const _0x4aa2b8={_0x3c045a:0xfe,_0x151be2:0x39e,_0x337003:0x1ce,_0x2a00a7:0x308,_0x2111f6:0x278,_0x214014:0x1a1,_0x166327:0x525,_0x5d05a3:0x325,_0x56e52b:0x34b,_0x14323a:0x510,_0x5ef0c6:0x390,_0x485c4e:0x5fe,_0x4d595c:0x49a,_0xf2ffa1:0x2d9,_0x21df29:0x292,_0x2547e4:0xf9,_0x1670ce:0x5a4,_0x45d935:0x278,_0x38d8ee:0x5e8,_0x27641a:0x73,_0x3a3222:0x280,_0xfe7e3a:0x2e3},_0x249b51={_0x1dbf03:0x1d9};function _0x1dffa5(_0xcc7a34,_0x11bd24){return _0x143ed5(_0x11bd24-_0x249b51._0x1dbf03,_0xcc7a34);}const _0x48410a={'jyZLP':function(_0x1bddb0,_0x8d26a6){return _0x1bddb0(_0x8d26a6);}};function _0x2aadf4(_0x5ea30a,_0x476763){return _0x143ed5(_0x476763-0xfa,_0x5ea30a);}this[_0x2aadf4(0x32d,0x3ec)+_0x2aadf4(-_0x4aa2b8._0x3c045a,0xf8)+_0x2aadf4(_0x4aa2b8._0x151be2,_0x4aa2b8._0x337003)]=Date[_0x1dffa5(_0x4aa2b8._0x2a00a7,0x1f7)]();if(_0xaff9b){this[_0x1dffa5(0x178,_0x4aa2b8._0x2111f6)+'rQueueGa'+_0x2aadf4(0x28f,_0x4aa2b8._0x214014)+_0x1dffa5(_0x4aa2b8._0x166327,0x468)]({'kind':_0x1dffa5(_0x4aa2b8._0x5d05a3,_0x4aa2b8._0x56e52b),'data':normalizeBinary(_0x422cc6)});return;}const _0x2f4f5d=normalizeText(_0x422cc6);if(_0x2f4f5d==null)return;const _0x38b925=_0x48410a[_0x2aadf4(0x359,0x194)](parseControl,_0x2f4f5d);if(_0x38b925){this['handleRe'+_0x1dffa5(_0x4aa2b8._0x14323a,_0x4aa2b8._0x5ef0c6)+'ol'](_0x38b925['event'],_0x38b925[_0x1dffa5(_0x4aa2b8._0x485c4e,_0x4aa2b8._0x4d595c)]);return;}const _0x12cd58=parseConnectStartIdentity(_0x2f4f5d);_0x12cd58&&this[_0x1dffa5(0x313,0x2ef)+_0x2aadf4(_0x4aa2b8._0xf2ffa1,0x314)+_0x2aadf4(_0x4aa2b8._0x21df29,_0x4aa2b8._0x2547e4)](_0x12cd58['id'],_0x12cd58['label']);const _0x39121d={};_0x39121d['kind']=_0x1dffa5(_0x4aa2b8._0x1670ce,0x4d1),_0x39121d['text']=_0x2f4f5d,this[_0x1dffa5(0x3ce,_0x4aa2b8._0x45d935)+_0x2aadf4(_0x4aa2b8._0x38d8ee,0x3fa)+_0x1dffa5(_0x4aa2b8._0x27641a,_0x4aa2b8._0x3a3222)+_0x2aadf4(_0x4aa2b8._0xfe7e3a,0x389)](_0x39121d);}[_0x75393(0x1e0,0x12b)+_0x143ed5(0x1b7,0x79)+'ol'](_0x436652,_0x6e4260){const _0x44af80={_0x35f8a8:0x2c4,_0x587d52:0x184,_0x41c135:0x5ac,_0x5d6dcd:0x95,_0x5a3989:0x516,_0x4850ad:0x9d9,_0x53d9a2:0x19c,_0x4ee42b:0x21,_0x371f41:0x16,_0x2dc87b:0x171,_0xd3c103:0xcc,_0x3ddb06:0x61b,_0x2b5a2b:0x610,_0x5b3a70:0x529,_0x282fb7:0x86a,_0x3eec7a:0x734,_0x20e70d:0x674,_0xcdf6fb:0x31,_0x196209:0x1d1,_0x52d5f5:0x1e9,_0x5ed533:0x5da,_0x420647:0x345,_0x1bd48a:0x5b4,_0x233b74:0x78d,_0x34ad2a:0x17e,_0xa7bafe:0x376,_0x49e7d4:0x88a,_0x18bdf3:0x107,_0x5ed596:0x848,_0x32896a:0x2e7,_0x11dd3c:0x193,_0x250dc2:0x14e,_0x49daa0:0x9ec,_0x49b229:0x4c,_0x8f78f4:0x1b7,_0x1ea4fa:0x78d,_0x5ac6fd:0x943,_0x4d7a2b:0x590,_0x1447f1:0x2cc,_0x344c4b:0x72f,_0x157c68:0x90c,_0x35ded1:0x77e,_0x338d8c:0x862,_0x3ee532:0xda,_0x5ef4be:0x2c3,_0x36f69f:0x72,_0x217f82:0x19c,_0x5d99c3:0x2d5,_0x2fc1e5:0x2a2,_0x57debb:0x63e,_0xb3786:0x619,_0x417a50:0x5a3,_0x1cf234:0x91a,_0x548a1:0x91b,_0x3e37ce:0x171,_0x4ba040:0x1bf,_0x2eac37:0x118,_0xea11df:0x120,_0x2b7c6d:0x252,_0xba6936:0x87f,_0x3fc045:0x7d0,_0x4a7f59:0x33f,_0x4c27c9:0x969,_0x3e68a5:0x843,_0x5e57e7:0xc4,_0x7f8181:0x28f,_0x3a5071:0x837,_0x4ef692:0x718,_0x34f46e:0x53b,_0x4bd79d:0xea,_0x1b573b:0x29,_0x504489:0x7e9,_0x56213b:0x4a0,_0x58d9d5:0x1ea,_0x3d5998:0x180,_0x594758:0xc1,_0x5c42f5:0x34,_0x29f905:0xe3,_0x25af2c:0x19b,_0x14079f:0x35f,_0x52a802:0x117,_0x56ddec:0x4cc,_0x426f37:0x645,_0x412ed9:0x840,_0x362439:0x8ae,_0x218c85:0x3c8,_0x46195f:0xa1e,_0x49f0dc:0x8ee,_0x264117:0x70e,_0x9ea7bb:0x640,_0x1196fd:0x1ea,_0x4bd670:0xdd},_0xdc98db={_0x2e0f10:0x5d5},_0x56e69b={};_0x56e69b['zNlgy']=function(_0x2748ce,_0xbd01e8){return _0x2748ce===_0xbd01e8;};function _0x4d2572(_0x5b649a,_0x1b18e0){return _0x143ed5(_0x5b649a-0x5a,_0x1b18e0);}_0x56e69b[_0x4d2572(0xea,0x2be)]=_0x33da0b(0x7f5,0x78e)+'isconnec'+_0x4d2572(_0x44af80._0x35f8a8,0x40c);const _0x37dc3c=_0x56e69b;function _0x33da0b(_0x245183,_0x3f3d10){return _0x143ed5(_0x3f3d10-_0xdc98db._0x2e0f10,_0x245183);}if(_0x436652==='client_c'+_0x4d2572(0x193,_0x44af80._0x587d52)||_0x436652===_0x33da0b(0x48a,_0x44af80._0x41c135)+_0x33da0b(0x965,0x7e1)){const _0x55116d=this[_0x4d2572(0x397,0x20e)][_0x33da0b(0x7f6,0x717)+_0x4d2572(_0x44af80._0x5d6dcd,0x11d)],_0x13fd01=_0x6e4260??Math[_0x33da0b(0x6a2,_0x44af80._0x5a3989)](0x1,this[_0x33da0b(_0x44af80._0x4850ad,0x912)][_0x4d2572(_0x44af80._0x53d9a2,0xd7)+_0x4d2572(0x95,_0x44af80._0x4ee42b)]),_0x392a13=Boolean(this[_0x4d2572(_0x44af80._0x371f41,-0x18)+_0x33da0b(0x719,0x6a3)+'Timer']);_0x13fd01>0x0&&this[_0x4d2572(_0x44af80._0x2dc87b,-0x2e)+'mandStar'+'tedAtMs']==null&&(this[_0x33da0b(0x52d,0x6ec)+'mandStar'+'tedAtMs']=Date[_0x33da0b(0x5e8,0x5f3)]());const _0x493aa2={};_0x493aa2[_0x4d2572(_0x44af80._0x53d9a2,_0x44af80._0xd3c103)+_0x33da0b(_0x44af80._0x3ddb06,_0x44af80._0x2b5a2b)]=_0x13fd01,this[_0x33da0b(0x728,0x890)+_0x33da0b(_0x44af80._0x5b3a70,0x52f)](_0x493aa2);if(_0x37dc3c['zNlgy'](_0x13fd01,0x0))this[_0x33da0b(_0x44af80._0x282fb7,0x7ce)+_0x33da0b(_0x44af80._0x3eec7a,0x53b)+'t'](),this[_0x33da0b(0x784,0x5ad)+'GatewayI'+_0x33da0b(_0x44af80._0x20e70d,0x6a3)](_0x4d2572(_0x44af80._0xcdf6fb,-_0x44af80._0x196209)+'ount_zer'+'o');else{this[_0x4d2572(-0x25,_0x44af80._0x52d5f5)+_0x33da0b(0x6fa,_0x44af80._0x5ed533)+'eClose'](_0x33da0b(0x74d,0x78e)+'emand_re'+_0x4d2572(0x1c4,_0x44af80._0x420647));shouldRecycleGatewayForFreshClient(_0x55116d,_0x13fd01,this['isGatewa'+_0x33da0b(0x486,_0x44af80._0x1bd48a)](),_0x392a13)&&(this[_0x33da0b(0x5a8,_0x44af80._0x233b74)](_0x4d2572(0x341,0x2d7)+_0x4d2572(_0x44af80._0x34ad2a,_0x44af80._0xa7bafe)+'requeste'+_0x33da0b(0x7b3,_0x44af80._0x49e7d4)+_0x4d2572(0x1f2,_0x44af80._0x18bdf3)+_0x4d2572(0x8e,0x269)+'d'),this['closeGat'+_0x33da0b(0x99f,_0x44af80._0x5ed596)]());if(this['isGatewa'+_0x33da0b(0x559,0x5b4)]()){const _0x3129eb={};_0x3129eb[_0x4d2572(_0x44af80._0x32896a,0x238)+_0x4d2572(_0x44af80._0x11dd3c,_0x44af80._0x250dc2)]=!![],_0x3129eb[_0x33da0b(_0x44af80._0x49daa0,0x918)+'r']=null,this['updateSn'+_0x4d2572(-_0x44af80._0x49b229,-_0x44af80._0x8f78f4)](_0x3129eb),this[_0x33da0b(0x5c5,_0x44af80._0x1ea4fa)](_0x33da0b(_0x44af80._0x5ac6fd,0x8bc)+_0x33da0b(_0x44af80._0x4d7a2b,0x718)+_0x4d2572(0x32f,_0x44af80._0x1447f1)+_0x33da0b(0x9fd,0x875)+_0x33da0b(_0x44af80._0x344c4b,0x63b)+this[_0x33da0b(0x881,_0x44af80._0x157c68)+'ince'](this[_0x33da0b(_0x44af80._0x35ded1,_0x44af80._0x338d8c)+_0x4d2572(_0x44af80._0x11dd3c,0x9c)+_0x33da0b(0x88a,0x6aa)])+(_0x4d2572(0x207,0x1af)+'keStarte'+'d=')+this['gatewayH'+_0x4d2572(0x2c8,0x3e5)+_0x4d2572(_0x44af80._0x3ee532,_0x44af80._0x5ef4be)]);}this[_0x4d2572(_0x44af80._0x36f69f,-_0x44af80._0x217f82)+'tewayCon'+_0x4d2572(_0x44af80._0x5d99c3,0x39f)]();}this['log'](_0x4d2572(_0x44af80._0x2fc1e5,0x2d0)+'ntrol\x20ev'+_0x33da0b(_0x44af80._0x57debb,0x658)+_0x436652+_0x33da0b(0x5ab,0x6ce)+_0x13fd01+(_0x33da0b(_0x44af80._0xb3786,0x552)+_0x33da0b(0x506,_0x44af80._0x417a50)+_0x33da0b(_0x44af80._0x1cf234,0x754))+this[_0x33da0b(_0x44af80._0x548a1,0x90c)+_0x33da0b(0x4b0,0x55e)](this[_0x4d2572(_0x44af80._0x3e37ce,_0x44af80._0x4ba040)+_0x4d2572(_0x44af80._0x2eac37,_0x44af80._0xea11df)+'tedAtMs'])+_0x4d2572(_0x44af80._0x2b7c6d,0x11f)+this[_0x33da0b(_0x44af80._0xba6936,_0x44af80._0x3fc045)+'atewayMe'+'ssages'][_0x33da0b(0x9cd,0x81f)]);return;}if(_0x436652==='client_d'+'isconnec'+_0x33da0b(0x674,0x83f)){this[_0x4d2572(0x220,_0x44af80._0x4a7f59)+_0x33da0b(_0x44af80._0x4c27c9,_0x44af80._0x3e68a5)+_0x4d2572(0xda,0x33)]=![];const _0x5c0d78={};_0x5c0d78[_0x4d2572(0x19c,_0x44af80._0x5e57e7)+'unt']=0x0,this[_0x4d2572(0x315,_0x44af80._0x7f8181)+'apshot'](_0x5c0d78),this[_0x33da0b(_0x44af80._0x3a5071,0x7ce)+_0x33da0b(_0x44af80._0x4ef692,_0x44af80._0x34f46e)+'t'](),this['schedule'+_0x4d2572(0x16f,0x1ab)+'dleClose'](_0x37dc3c[_0x4d2572(_0x44af80._0x4bd79d,-_0x44af80._0x1b573b)]),this[_0x33da0b(_0x44af80._0x504489,0x78d)](_0x4d2572(0x2a2,_0x44af80._0x56213b)+_0x4d2572(_0x44af80._0x58d9d5,0x24c)+_0x33da0b(0x6bd,0x7f9)+_0x4d2572(_0x44af80._0x3d5998,0x31b)+'nnected\x20'+'sinceCli'+_0x4d2572(_0x44af80._0x594758,_0x44af80._0x5c42f5)+_0x4d2572(_0x44af80._0x29f905,_0x44af80._0x25af2c)+this[_0x33da0b(0x8b3,0x90c)+'ince'](this[_0x4d2572(0x171,_0x44af80._0x14079f)+_0x4d2572(_0x44af80._0x2eac37,_0x44af80._0x52a802)+_0x33da0b(_0x44af80._0x56ddec,_0x44af80._0x426f37)])+(_0x4d2572(0x7c,-_0x44af80._0x18bdf3)+_0x33da0b(0x900,_0x44af80._0x412ed9)+'nMs=')+this[_0x33da0b(_0x44af80._0x362439,0x90c)+_0x33da0b(_0x44af80._0x218c85,0x55e)](this[_0x33da0b(_0x44af80._0x46195f,_0x44af80._0x338d8c)+_0x33da0b(_0x44af80._0x49f0dc,_0x44af80._0x264117)+'AtMs']));return;}this[_0x33da0b(_0x44af80._0x9ea7bb,0x78d)]('relay\x20co'+_0x4d2572(_0x44af80._0x1196fd,_0x44af80._0xa7bafe)+_0x4d2572(_0x44af80._0x4bd670,0x26c)+_0x436652);}[_0x143ed5(0x9f,0x1b3)+_0x75393(0x58c,0x4f5)+_0x143ed5(0xa7,-0x38)+_0x143ed5(0x28f,0x429)](_0x24af08){const _0x2e163c={_0x2541c2:0x6d6,_0x1228e7:0x608,_0x2bab8c:0x2f1,_0x598796:0x387,_0x4473ea:0x210,_0x386bc2:0x355,_0x4ccd81:0x44a,_0x598b74:0x583,_0x14a149:0x386,_0x23aa02:0x312,_0x2e4544:0x53c,_0x107929:0x607,_0x57542f:0x7b2,_0x579623:0x6be,_0x45fb9c:0x403,_0x167489:0x5fa,_0x2427eb:0x361,_0x523aa5:0x64a,_0x573d9e:0x23c,_0x1d674d:0x539,_0x29ce45:0x62b,_0x4c4e58:0x1ee,_0x19970:0x6e3,_0x5c4682:0x6bd,_0x487baa:0x2ae,_0x4482cd:0x4e8,_0x1530f9:0x56c,_0x544647:0x73f,_0x4009dc:0x415,_0x4ead2e:0x3d8,_0x38446e:0x3bd,_0x53bf0e:0x25b,_0x47e85e:0x39f,_0x46c241:0x5ac,_0x30bba5:0x6b4,_0x2bd079:0x612,_0x4b730b:0x4fe,_0x57fe49:0x551,_0xbb5fb9:0x805,_0x401e83:0x612,_0x3138e0:0x450,_0x5647f3:0x32e,_0x2ad6b5:0x4e4,_0x185b41:0x423,_0xf45e13:0x4ba,_0x26440e:0x393,_0x376436:0x193,_0x24d45e:0x2b8,_0x561100:0x1f2},_0x46c826={_0x3e0a9e:0x25d},_0x47f0ee={'xMJkM':function(_0x46fe5a,_0x60c8ed){return _0x46fe5a(_0x60c8ed);},'PyRVQ':_0x5f3c72(_0x2e163c._0x2541c2,_0x2e163c._0x1228e7)+_0x5f3c72(0x136,_0x2e163c._0x2bab8c)+_0x5f3c72(0x185,_0x2e163c._0x598796)+_0x112d63(_0x2e163c._0x4473ea,0x1cb)+_0x5f3c72(_0x2e163c._0x386bc2,0x2f3)+'en;\x20awai'+_0x5f3c72(0x387,_0x2e163c._0x4ccd81)+_0x5f3c72(_0x2e163c._0x598b74,0x481)+_0x5f3c72(0x5fc,0x669)},_0x2d55fe=_0x24af08[_0x5f3c72(_0x2e163c._0x14a149,_0x2e163c._0x23aa02)]===_0x5f3c72(_0x2e163c._0x2e4544,0x69c)&&isConnectHandshakeRequest(_0x24af08[_0x5f3c72(_0x2e163c._0x107929,0x69c)]);function _0x112d63(_0x14dab5,_0x23d530){return _0x143ed5(_0x14dab5-_0x46c826._0x3e0a9e,_0x23d530);}if(_0x24af08[_0x5f3c72(0x2b6,0x312)]===_0x5f3c72(_0x2e163c._0x57542f,0x69c)){const _0x1bf3b0=summarizeJsonFrame(_0x24af08[_0x112d63(0x555,_0x2e163c._0x579623)]);_0x1bf3b0&&this[_0x112d63(0x415,0x51e)]('relay\x20fr'+_0x112d63(_0x2e163c._0x45fb9c,0x53f)+_0x1bf3b0+(_0x5f3c72(_0x2e163c._0x167489,0x551)+_0x5f3c72(0x4aa,0x605))+_0x2d55fe+(_0x5f3c72(0x3ac,_0x2e163c._0x2427eb)+'Open=')+this[_0x5f3c72(0x6a3,_0x2e163c._0x523aa5)+_0x112d63(_0x2e163c._0x573d9e,0x403)]()+'\x20queued='+this[_0x5f3c72(0x54e,0x59f)+_0x5f3c72(_0x2e163c._0x1d674d,_0x2e163c._0x29ce45)+'ssages'][_0x5f3c72(0x5e1,0x5ee)]);}const _0x3bde79=this[_0x5f3c72(0x352,0x453)+_0x112d63(0x392,_0x2e163c._0x4c4e58)];if(!_0x3bde79||_0x3bde79[_0x5f3c72(0x8de,_0x2e163c._0x19970)+'te']!==_0x4cde07[_0x5f3c72(0x5c0,_0x2e163c._0x5c4682)]){this[_0x5f3c72(0x40d,0x3bc)+_0x112d63(_0x2e163c._0x487baa,0x2be)+_0x5f3c72(_0x2e163c._0x4482cd,0x61f)]();if(shouldDropStaleConnectAfterGatewayReopen(_0x47f0ee[_0x112d63(0x44f,_0x2e163c._0x1530f9)](Boolean,_0x3bde79&&_0x3bde79[_0x5f3c72(_0x2e163c._0x544647,_0x2e163c._0x19970)+'te']===_0x4cde07['OPEN']),_0x2d55fe)){this[_0x112d63(_0x2e163c._0x4009dc,_0x2e163c._0x4ead2e)](_0x47f0ee[_0x5f3c72(0x5da,0x68e)]);return;}this[_0x112d63(_0x2e163c._0x38446e,0x31a)+_0x112d63(0x56a,0x469)+_0x5f3c72(_0x2e163c._0x53bf0e,_0x2e163c._0x47e85e)+'e'](_0x24af08);return;}function _0x5f3c72(_0x3158a0,_0x3e8340){return _0x143ed5(_0x3e8340-0x3a4,_0x3158a0);}if(!this[_0x5f3c72(_0x2e163c._0x46c241,0x56a)+_0x5f3c72(_0x2e163c._0x30bba5,_0x2e163c._0x2bd079)+'Started']){if(!_0x2d55fe){this[_0x112d63(_0x2e163c._0x38446e,_0x2e163c._0x4b730b)+_0x5f3c72(_0x2e163c._0x57fe49,0x6b1)+_0x112d63(0x258,0x36b)+'e'](_0x24af08);return;}this[_0x5f3c72(0x380,0x56a)+_0x5f3c72(_0x2e163c._0xbb5fb9,_0x2e163c._0x401e83)+_0x5f3c72(_0x2e163c._0x3138e0,0x424)]=!![],this[_0x112d63(0x415,0x425)](_0x5f3c72(0x5f5,0x68b)+'handshak'+_0x5f3c72(0x6f5,0x5c7)+_0x5f3c72(0x33a,0x477)+'='+this[_0x112d63(0x458,_0x2e163c._0x5647f3)+_0x112d63(_0x2e163c._0x2ad6b5,_0x2e163c._0x185b41)+_0x5f3c72(_0x2e163c._0xf45e13,0x4e9)]['length']);}this[_0x112d63(_0x2e163c._0x26440e,_0x2e163c._0x376436)+_0x112d63(_0x2e163c._0x24d45e,_0x2e163c._0x561100)](_0x24af08);}[_0x143ed5(0x18,0xa3)+'tewayCon'+_0x75393(0x59a,0x470)](){const _0x189593={_0x1f4dd1:0x3bf,_0x70d31f:0x314,_0x4c9160:0x32d,_0x4c7360:0x771,_0x2b4567:0x418,_0x1198be:0x28f,_0x42b91b:0x8c,_0x49cd10:0x5f1,_0x237e16:0x605,_0x3047ca:0x40f,_0x3f5b39:0x26d,_0x490578:0x770,_0x287285:0x16c,_0x40ec5a:0x64f,_0x4790cc:0x518,_0x236a0c:0x886,_0x5f3f47:0x782,_0x27b983:0x4c3,_0x7fb7aa:0x506,_0x2358cf:0x506},_0x1b4374={_0x2a5759:0x2c6,_0x40f8b0:0x3c2,_0x41992e:0x5fc,_0x4df8e8:0x2e1,_0x304d4a:0x288,_0x1b0de6:0x1da,_0x31c0fd:0x6af,_0xa731d0:0x3c3,_0x3398db:0x336,_0x4f24bc:0x56b,_0xe10597:0x45d,_0x366aa0:0x20a,_0xaaf142:0x64,_0x53deab:0x6e2,_0x122d46:0x5b8,_0x8875af:0x271,_0x517886:0x468,_0x1bd9ee:0x24f,_0x446c21:0x50b,_0x102f8b:0x61a,_0xddef43:0x1de,_0x2eb38:0x27e,_0x235e6b:0x1bc,_0x3c2eea:0x57a,_0x5e1e6b:0x1ea,_0x878128:0x378,_0x577a24:0x2b9,_0x53eda0:0x320,_0x15c382:0x2d1,_0x18fdc5:0x58d,_0x487b2e:0x346,_0x26e847:0x164,_0x123556:0x5e8,_0x1d0225:0x431,_0x436629:0x35f,_0x540bee:0x427,_0x4ae2b4:0x396,_0xd4fc63:0x239,_0x57f7f7:0x397,_0x4be6d1:0x1b3},_0x1cf9b9={_0x303da6:0xf7,_0x5dac66:0xc3},_0x25f035={_0x31bba8:0x148},_0x411c7b={_0x4bcfb6:0x116,_0x43b43a:0x14a,_0x70dab6:0x24c},_0x27959f={_0x2f5587:0x16e},_0x1f8d4d={_0x3cae6d:0x599,_0x54d97:0x6cd,_0x4faf7f:0x26f,_0x194864:0x8de,_0xcf6a76:0x71a,_0x3add2a:0x5d7,_0xf3cbb4:0x6fb,_0x637629:0x777,_0x1a4f5a:0x4d6,_0x5729cb:0x5bf,_0x2718ca:0x601,_0x31045f:0x4ab,_0x4b8c10:0x447,_0x209112:0x865,_0x337074:0x871,_0x27b9b1:0x748,_0x5c0c48:0x214,_0xb083d7:0x6a2,_0x5361d0:0x98c,_0x107deb:0x32b,_0x418d96:0x45e,_0x27069c:0x58d,_0x2f0460:0x7e6,_0x5ba77d:0x473,_0x150741:0x55e,_0xb183dc:0x5a4,_0x5bd2c8:0x55a,_0x4d830f:0x563,_0x4a9d8e:0x42f,_0x4e560e:0x592,_0x14b499:0x6e7,_0xda8693:0x726,_0x44447d:0x8c8},_0x5218c9={_0x226766:0x2a2},_0x26f91d={};_0x26f91d[_0x40a702(0x525,_0x189593._0x1f4dd1)]=function(_0x5663db,_0x53a679){return _0x5663db===_0x53a679;};function _0x503cc7(_0x355abe,_0x158824){return _0x75393(_0x158824,_0x355abe-_0x5218c9._0x226766);}const _0x342d78=_0x26f91d;if(this[_0x40a702(0x301,0x2d4)]||!this[_0x40a702(0x2f6,0x3c0)+'pen']()||this[_0x40a702(0x4ca,_0x189593._0x70d31f)+'onnectin'+'g']||this[_0x40a702(0x510,_0x189593._0x4c9160)+_0x40a702(-0x59,0x66)]()||!this['hasGatew'+_0x503cc7(0x563,_0x189593._0x4c7360)]())return;this[_0x503cc7(_0x189593._0x2b4567,_0x189593._0x1198be)+_0x40a702(0x103,_0x189593._0x42b91b)+_0x40a702(0xc4,0xf5)]('gateway_'+_0x503cc7(_0x189593._0x49cd10,_0x189593._0x237e16)+_0x40a702(_0x189593._0x3047ca,_0x189593._0x3f5b39)+_0x503cc7(0x701,_0x189593._0x490578)),this[_0x503cc7(0x724,0x7ef)+_0x40a702(0x1fb,_0x189593._0x287285)+'g']=!![],this[_0x503cc7(_0x189593._0x40ec5a,_0x189593._0x4790cc)]('gateway\x20'+'connect\x20'+'start\x20ur'+'l='+this[_0x503cc7(0x755,_0x189593._0x236a0c)][_0x40a702(0x239,0xc0)+'rl']);const _0x2e64aa={};_0x2e64aa[_0x503cc7(_0x189593._0x5f3f47,0x704)+'ad']=0x19*0x400*0x400;const _0x53c26c=new _0x4cde07(this[_0x40a702(0x3e3,0x345)][_0x503cc7(0x4d0,_0x189593._0x27b983)+'rl'],_0x2e64aa);this['gatewayS'+'ocket']=_0x53c26c,_0x53c26c[_0x503cc7(_0x189593._0x7fb7aa,0x5dd)](_0x503cc7(0x582,0x74b),()=>{const _0x14e58b={_0x1dd763:0xa};if(this['stopped']||this[_0x252a24(_0x1f8d4d._0x3cae6d,_0x1f8d4d._0x54d97)+'ocket']!==_0x53c26c){_0x53c26c[_0x5027d5(_0x1f8d4d._0x4faf7f,0x476)]();return;}this[_0x5027d5(_0x1f8d4d._0x194864,_0x1f8d4d._0xcf6a76)+'onnectin'+'g']=![],this['gatewayH'+_0x5027d5(_0x1f8d4d._0x3add2a,_0x1f8d4d._0xf3cbb4)+_0x252a24(0x56a,0x5af)]=![],this[_0x252a24(_0x1f8d4d._0x637629,0x882)+_0x252a24(0x623,_0x1f8d4d._0x1a4f5a)+_0x252a24(_0x1f8d4d._0x5729cb,_0x1f8d4d._0x2718ca)]=Date[_0x5027d5(0x5a3,_0x1f8d4d._0x31045f)]();const _0xcf3292={};_0xcf3292[_0x252a24(0x777,0x8c3)+_0x252a24(0x623,_0x1f8d4d._0x4b8c10)]=!![],_0xcf3292[_0x5027d5(_0x1f8d4d._0x209112,0x7d0)+'r']=null,this[_0x5027d5(_0x1f8d4d._0x337074,_0x1f8d4d._0x27b9b1)+_0x5027d5(_0x1f8d4d._0x5c0c48,0x3e7)](_0xcf3292);function _0x5027d5(_0x562828,_0x555963){return _0x503cc7(_0x555963- -_0x14e58b._0x1dd763,_0x562828);}this[_0x252a24(_0x1f8d4d._0xb083d7,0x727)](_0x252a24(0x7d1,0x5c6)+_0x252a24(0x7f9,_0x1f8d4d._0x5361d0)+_0x252a24(0x43f,_0x1f8d4d._0x107deb)+_0x5027d5(0x744,0x62e)+_0x5027d5(_0x1f8d4d._0x418d96,_0x1f8d4d._0x27069c)+this[_0x5027d5(_0x1f8d4d._0x2f0460,0x7c4)+_0x252a24(_0x1f8d4d._0x5ba77d,0x484)](this[_0x5027d5(_0x1f8d4d._0x150741,_0x1f8d4d._0xb183dc)+'mandStar'+_0x252a24(_0x1f8d4d._0x5bd2c8,_0x1f8d4d._0x4d830f)]));function _0x252a24(_0x449442,_0x30a820){return _0x503cc7(_0x449442-0x53,_0x30a820);}this[_0x252a24(0x58d,_0x1f8d4d._0x4a9d8e)+_0x5027d5(_0x1f8d4d._0x4e560e,_0x1f8d4d._0x14b499)+_0x252a24(_0x1f8d4d._0xda8693,_0x1f8d4d._0x44447d)+'ges']();});function _0x40a702(_0x234614,_0x3e624b){return _0x75393(_0x234614,_0x3e624b- -_0x27959f._0x2f5587);}_0x53c26c['on'](_0x40a702(0xd3,0x1db),(_0x2a9ec2,_0x248786)=>{const _0xc427f={_0x376275:0x3f4};function _0x506d10(_0x54fcb1,_0x17e140){return _0x503cc7(_0x54fcb1-0x169,_0x17e140);}function _0x4efe1b(_0x524684,_0x51a3d5){return _0x503cc7(_0x51a3d5- -_0xc427f._0x376275,_0x524684);}this['handleGa'+_0x4efe1b(_0x411c7b._0x4bcfb6,_0x411c7b._0x43b43a)+_0x4efe1b(_0x411c7b._0x70dab6,0x332)](_0x2a9ec2,_0x248786);}),_0x53c26c[_0x503cc7(0x506,0x4f5)]('error',_0x42da4e=>{function _0x922434(_0x15a136,_0x4c5f99){return _0x40a702(_0x4c5f99,_0x15a136- -_0x25f035._0x31bba8);}this[_0x922434(_0x1cf9b9._0x303da6,_0x1cf9b9._0x5dac66)]('gateway\x20'+'error:\x20'+String(_0x42da4e));}),_0x53c26c[_0x503cc7(_0x189593._0x2358cf,0x583)]('close',(_0x166281,_0x454173)=>{const _0x15212b=(_0x1187b1(_0x1b4374._0x2a5759,0x2b5)+'3|4|1')[_0x491721(_0x1b4374._0x40f8b0,0x538)]('|');function _0x1187b1(_0x3aef49,_0x2469bb){return _0x40a702(_0x2469bb,_0x3aef49-0x229);}function _0x491721(_0x332a1b,_0x437dcd){return _0x40a702(_0x437dcd,_0x332a1b-0x1da);}let _0x41d9b6=0x0;while(!![]){switch(_0x15212b[_0x41d9b6++]){case'0':this[_0x1187b1(0x476,_0x1b4374._0x41992e)+'andshake'+_0x491721(_0x1b4374._0x4df8e8,0x14b)]=![];continue;case'1':this[_0x1187b1(_0x1b4374._0x304d4a,_0x1b4374._0x1b0de6)+'GatewayR'+_0x1187b1(0x21c,0xf9)]();continue;case'2':this[_0x1187b1(0x53d,_0x1b4374._0x31c0fd)+_0x1187b1(0x3e9,_0x1b4374._0xa731d0)+_0x491721(_0x1b4374._0x3398db,0x1f2)]=null;continue;case'3':this[_0x1187b1(_0x1b4374._0x4f24bc,_0x1b4374._0xe10597)+_0x1187b1(_0x1b4374._0x366aa0,_0x1b4374._0xaaf142)]({'gatewayConnected':![],'lastError':_0x166281===0x3e8?this[_0x1187b1(0x5ed,_0x1b4374._0x53deab)][_0x1187b1(0x5f3,_0x1b4374._0x122d46)+'r']:_0x491721(0x548,0x353)+_0x1187b1(_0x1b4374._0x8875af,0x27a)+(_0x454173[_0x1187b1(_0x1b4374._0x40f8b0,0x33a)]()||_0x166281)});continue;case'4':this[_0x1187b1(_0x1b4374._0x517886,0x25c)]('gateway\x20'+_0x1187b1(0x230,0x1ad)+_0x491721(_0x1b4374._0x1bd9ee,0x445)+'e='+_0x166281+'\x20reason='+(_0x454173['toString']()||_0x1187b1(_0x1b4374._0x446c21,_0x1b4374._0x102f8b))+(_0x491721(_0x1b4374._0xddef43,0x131)+_0x1187b1(_0x1b4374._0x2eb38,_0x1b4374._0x235e6b)+_0x1187b1(0x42f,_0x1b4374._0x3c2eea))+this['elapsedS'+_0x491721(_0x1b4374._0x5e1e6b,0xa0)](this[_0x491721(_0x1b4374._0x878128,_0x1b4374._0x577a24)+_0x491721(0x31f,_0x1b4374._0x53eda0)+_0x491721(_0x1b4374._0x15c382,0x1dd)]));continue;case'5':this[_0x491721(0x4ee,_0x1b4374._0x18fdc5)+_0x491721(_0x1b4374._0x487b2e,_0x1b4374._0x26e847)+'g']=![];continue;case'6':_0x342d78[_0x1187b1(_0x1b4374._0x123556,_0x1b4374._0x1d0225)](this[_0x1187b1(_0x1b4374._0x436629,_0x1b4374._0x540bee)+_0x491721(_0x1b4374._0x4ae2b4,_0x1b4374._0xd4fc63)],_0x53c26c)&&(this[_0x491721(0x310,_0x1b4374._0x57f7f7)+_0x491721(0x396,_0x1b4374._0x4be6d1)]=null);continue;}break;}});}[_0x143ed5(0x1a5,0x355)+'tewayMes'+_0x75393(0x2a2,0x484)](_0x9ada2c,_0x1ff138){const _0x24ee63={_0x4d33e3:0xf8,_0x47f403:0x45d,_0x39ead3:0x41,_0x3c1339:0xc8,_0x4a3652:0x2ba,_0x2f3070:0x113,_0x4be8ec:0x27f,_0x24cd89:0x5b,_0x37c884:0x226,_0xb5006c:0xce,_0x2a1bac:0x116,_0x126430:0xf4,_0x41374a:0x370,_0x29c743:0x26,_0x28fe6e:0xea,_0x107c38:0x287,_0x8e17ba:0x9d,_0x410676:0x128,_0x496516:0x156},_0x5530d3={_0x306884:0x272},_0x14bf68=this[_0x4ddc79(-_0x24ee63._0x4d33e3,0xd6)+'ket'];if(!_0x14bf68||_0x14bf68[_0x4ddc79(0x362,0x2c2)+'te']!==_0x4cde07[_0x193e69(0x2d4,_0x24ee63._0x47f403)])return;if(_0x1ff138){_0x14bf68['send'](normalizeBinary(_0x9ada2c));return;}function _0x4ddc79(_0xa77acd,_0x205be6){return _0x75393(_0xa77acd,_0x205be6- -_0x5530d3._0x306884);}function _0x193e69(_0x54711f,_0x1ed031){return _0x75393(_0x1ed031,_0x54711f- -0x23a);}const _0x232cb3=normalizeText(_0x9ada2c);if(_0x232cb3==null)return;const _0x544406=summarizeJsonFrame(_0x232cb3);_0x544406&&this['log'](_0x193e69(0x2a2,0xd4)+_0x193e69(0xc7,-_0x24ee63._0x39ead3)+_0x544406+(_0x193e69(-_0x24ee63._0x3c1339,-0x12c)+'ientDema'+'ndMs=')+this[_0x4ddc79(0x11a,_0x24ee63._0x4a3652)+_0x4ddc79(_0x24ee63._0x2f3070,-0xf4)](this[_0x4ddc79(_0x24ee63._0x4be8ec,0x9a)+'mandStar'+'tedAtMs'])+(_0x4ddc79(-0x132,-_0x24ee63._0x24cd89)+_0x193e69(_0x24ee63._0x37c884,0x412)+_0x4ddc79(-_0x24ee63._0xb5006c,0x81))+this[_0x4ddc79(_0x24ee63._0x2a1bac,0x2ba)+_0x4ddc79(-0x2d6,-_0x24ee63._0x126430)](this[_0x4ddc79(_0x24ee63._0x41374a,0x210)+_0x4ddc79(0x297,0xbc)+_0x193e69(0x90,-0xcf)]));const _0x5c4256=parsePairingRequestFromError(_0x232cb3);_0x5c4256&&this[_0x4ddc79(0x87,0xa8)+_0x193e69(0x11a,_0x24ee63._0x29c743)+'quest'](_0x5c4256);const _0x154e88=parsePairResolvedEvent(_0x232cb3);_0x154e88&&this[_0x193e69(-_0x24ee63._0x28fe6e,-_0x24ee63._0x107c38)+_0x193e69(0x16e,_0x24ee63._0x8e17ba)+_0x4ddc79(0x126,0x1f0)](_0x154e88['requestI'+'d'],_0x154e88[_0x193e69(_0x24ee63._0x410676,0x121)]),_0x14bf68[_0x193e69(_0x24ee63._0x496516,0x294)](_0x232cb3);}[_0x143ed5(0xa3,0xc1)+'dingGate'+_0x75393(0x345,0x431)+_0x75393(0x5c5,0x520)](){const _0x36900b={_0x25554a:0x48c,_0x3da7cd:0x32c,_0x278d7:0x58f,_0x5f3a10:0x1b1,_0x1c3ccc:0x5fd,_0x1a3494:0x49,_0x5ab4ad:0x64e,_0x51a71d:0x2aa,_0x4c6b5c:0x3c2,_0x49af3a:0x1a,_0x45f5ae:0x2a,_0x2fddf3:0x564,_0x16c515:0x26d,_0x15011a:0x51d,_0x5d09ca:0x1eb,_0x4ceff6:0x1aa,_0x1129d2:0xf7,_0x2d460c:0xf0,_0xa1be79:0x38,_0x1e81eb:0xa3,_0x268c9a:0x10e,_0x53326f:0x133};function _0x5aa51c(_0x37dc67,_0xb3bba){return _0x143ed5(_0xb3bba-0x27d,_0x37dc67);}const _0x56f541={};_0x56f541[_0x1c0c7a(0x223,0x191)]=_0x5aa51c(0x728,0x575);const _0x521c59=_0x56f541,_0x5a63fe=this[_0x5aa51c(_0x36900b._0x25554a,_0x36900b._0x3da7cd)+_0x5aa51c(_0x36900b._0x278d7,0x3b2)];if(!_0x5a63fe||_0x5a63fe[_0x1c0c7a(0xe3,_0x36900b._0x5f3a10)+'te']!==_0x4cde07[_0x5aa51c(_0x36900b._0x1c3ccc,0x596)])return;const _0x342f84=[];function _0x1c0c7a(_0xa88ced,_0x45b378){return _0x143ed5(_0x45b378- -0x18e,_0xa88ced);}const _0x140c78=[...this[_0x1c0c7a(-0x4a,0x6d)+'atewayMe'+_0x1c0c7a(0x9,-_0x36900b._0x1a3494)]];this[_0x5aa51c(_0x36900b._0x5ab4ad,0x478)+'atewayMe'+_0x5aa51c(_0x36900b._0x51a71d,_0x36900b._0x4c6b5c)]=[],this[_0x1c0c7a(-_0x36900b._0x49af3a,_0x36900b._0x45f5ae)](_0x5aa51c(0x671,_0x36900b._0x2fddf3)+_0x1c0c7a(0x114,-0xa5)+_0x5aa51c(0x430,0x311)+_0x140c78[_0x1c0c7a(_0x36900b._0x16c515,0xbc)]);for(const _0x4699b2 of _0x140c78){if(!this[_0x5aa51c(_0x36900b._0x15011a,0x443)+'andshake'+'Started']){if(_0x4699b2[_0x5aa51c(0x364,_0x36900b._0x5d09ca)]!==_0x521c59['DpDKE']||!isConnectHandshakeRequest(_0x4699b2[_0x1c0c7a(0x283,0x16a)])){_0x342f84[_0x1c0c7a(_0x36900b._0x4ceff6,_0x36900b._0x1129d2)](_0x4699b2);continue;}this[_0x1c0c7a(-_0x36900b._0x2d460c,_0x36900b._0xa1be79)+'andshake'+_0x1c0c7a(-_0x36900b._0x1e81eb,-_0x36900b._0x268c9a)]=!![];}this['sendToGa'+_0x1c0c7a(-0x17,-_0x36900b._0x53326f)](_0x4699b2);}this['pendingG'+'atewayMe'+'ssages']=_0x342f84;}[_0x75393(0x2e0,0x32b)+_0x143ed5(0x5b,0x5d)](_0x4fc8d7){const _0x5acd91={_0x53589a:0x738,_0x7fd656:0x45a,_0x32beab:0x5b4,_0xba3c3f:0x5f4,_0x1b7029:0x51d,_0x4c5d6c:0x81e,_0xfa68fe:0x500,_0x507eec:0x374,_0x329e4f:0x4d6,_0x1dc6e0:0x6a0,_0x346c5b:0x3ce,_0x16acc8:0x379,_0x4f4eb1:0x2fb},_0x6a3a50={};_0x6a3a50[_0xaf78c1(_0x5acd91._0x53589a,0x69b)]=function(_0x5c2381,_0x2d8e00){return _0x5c2381===_0x2d8e00;};const _0x5179d4=_0x6a3a50;function _0x70af96(_0x2abe6d,_0x4731a1){return _0x143ed5(_0x4731a1-0x1de,_0x2abe6d);}const _0x2b96fd=this[_0xaf78c1(_0x5acd91._0x7fd656,_0x5acd91._0x32beab)+_0xaf78c1(_0x5acd91._0xba3c3f,0x63a)];if(!_0x2b96fd||_0x2b96fd[_0x70af96(0x4c7,_0x5acd91._0x1b7029)+'te']!==_0x4cde07[_0xaf78c1(0x6fa,_0x5acd91._0x4c5d6c)]){this[_0xaf78c1(0x663,0x665)+_0x70af96(0x4ce,0x4eb)+_0xaf78c1(0x6ac,_0x5acd91._0xfa68fe)+'e'](_0x4fc8d7);return;}function _0xaf78c1(_0x2ed2f0,_0x2b6dd6){return _0x143ed5(_0x2b6dd6-0x505,_0x2ed2f0);}if(_0x5179d4[_0x70af96(0x1ef,_0x5acd91._0x507eec)](_0x4fc8d7['kind'],_0x70af96(0x549,_0x5acd91._0x329e4f))){_0x2b96fd[_0xaf78c1(0x864,_0x5acd91._0x1dc6e0)](_0x4fc8d7[_0x70af96(_0x5acd91._0x346c5b,_0x5acd91._0x329e4f)]);return;}_0x2b96fd[_0x70af96(0x53d,_0x5acd91._0x16acc8)](_0x4fc8d7[_0xaf78c1(_0x5acd91._0x4f4eb1,0x432)]);}[_0x75393(0x360,0x1c9)+'wayReque'+'st'](_0xc5e4a3,_0x3eaba8){const _0x5b788c={_0x39cb6d:0x1c4,_0x5954cf:0x1aa,_0x143051:0x4d,_0x2de2f0:0x4d,_0x30bf21:0x210,_0x29f71b:0x3df},_0x197596={_0x385852:0x3ce},_0x294ac5={_0x50c444:0x116},_0x2642ff={};_0x2642ff['idZXC']=_0xbfb4d1(0x32f,0x3d7);const _0x8a4ab=_0x2642ff,_0x48165f=JSON['stringif'+'y']({'type':_0xbfb4d1(_0x5b788c._0x39cb6d,_0x5b788c._0x5954cf),'id':_0xbfb4d1(-_0x5b788c._0x143051,0x4a)+_0xeb6c2c(),'method':_0xc5e4a3,'params':_0x3eaba8});function _0xbfb4d1(_0x2b1049,_0x17dfee){return _0x75393(_0x2b1049,_0x17dfee- -_0x294ac5._0x50c444);}const _0xc964cb={};_0xc964cb[_0xbfb4d1(0x1de,_0x5b788c._0x2de2f0)]=_0x8a4ab['idZXC'];function _0x362c4b(_0x345a68,_0x3aa79b){return _0x75393(_0x3aa79b,_0x345a68-_0x197596._0x385852);}_0xc964cb['text']=_0x48165f,this[_0x362c4b(0x662,0x687)+_0xbfb4d1(_0x5b788c._0x30bf21,_0x5b788c._0x29f71b)+'tewayMes'+_0xbfb4d1(0x317,0x36e)](_0xc964cb);}[_0x75393(0x580,0x4fe)+_0x143ed5(0x273,0x2e6)](){const _0x5be517={_0x3d39e9:0x64,_0x13c278:0x1a6,_0x542726:0xb9,_0x5ca0bc:0xe,_0x4b29c2:0x13e,_0x6bef21:0x7f2,_0x354730:0x250,_0x35bc54:0x598};this[_0x12d6e9(_0x5be517._0x3d39e9,-_0x5be517._0x13c278)+'tewayIdl'+_0x12d6e9(-0x185,-_0x5be517._0x542726)](),this[_0x12d6e9(-0x2c,-0x78)+_0x12d6e9(-0x9b,_0x5be517._0x5ca0bc)]?.[_0x12d6e9(-0x330,-_0x5be517._0x4b29c2)](),this['gatewayS'+_0x530e75(0x56a,0x594)]=null;function _0x12d6e9(_0x179988,_0xd8559f){return _0x143ed5(_0xd8559f- -0x127,_0x179988);}this['gatewayC'+_0x12d6e9(-0x29,-0x42)+'g']=![];function _0x530e75(_0x2b3085,_0x28445f){return _0x143ed5(_0x28445f-0x45f,_0x2b3085);}this[_0x530e75(_0x5be517._0x6bef21,0x625)+'andshake'+_0x530e75(0x6b7,0x4df)]=![],this[_0x12d6e9(_0x5be517._0x354730,0x166)+_0x530e75(0x64b,_0x5be517._0x35bc54)+'AtMs']=null;}[_0x75393(0x76,0x1cd)+'GatewayI'+'dleClose'](_0x5d9cfb){const _0xeb9978={_0xb3df29:0x49b,_0x11f14c:0x316,_0x5611d6:0x4ea,_0x396cf1:0x468,_0xe31d41:0x50a,_0x294777:0x4e6,_0x504285:0x656,_0x4edca7:0x451,_0x45333f:0x269,_0x191643:0x195,_0x290ac9:0x71a,_0x2a72d4:0x59c,_0x192df4:0x756,_0x26e7d2:0x5bc,_0x2e992a:0x549,_0x5022bf:0x2cb,_0x2431e4:0x37f,_0x429001:0x123,_0x5b36cc:0x301,_0x5a7bb3:0x429,_0xe54d53:0x55b,_0x309ded:0x11d,_0x46c69c:0x5dd,_0x3e8549:0x5cd,_0x3a6e61:0x78d,_0x24f690:0x5cc,_0x1f6f7b:0x2d8,_0x50df2a:0x17b,_0x400486:0x2d3,_0x170755:0x4fd,_0x2c084d:0x551,_0x4b8410:0x525,_0x4330f8:0x535,_0x10f120:0x5aa,_0x5d3c80:0x393,_0x260b33:0x605,_0x355f46:0x633,_0x1e8527:0x293,_0x29b041:0x371,_0x2d571e:0x43d,_0x2c1832:0x443,_0x470495:0x358,_0x172a62:0x41a,_0x743444:0x684},_0x449222={_0x343279:0x76d,_0xcfa4d1:0x26c,_0x26bfcc:0x50a,_0x5490d0:0x2e5,_0x304b1b:0x68b,_0xe4f257:0x27e,_0xb9eacf:0x433,_0x40dd83:0x59d,_0x1ad0e9:0x742,_0x1257ca:0x415,_0x14add5:0x3a7,_0x88008b:0x482,_0x683706:0x2bb,_0x49af1e:0x19b,_0x17323e:0x17,_0x8d04e7:0x5ee},_0x2dfdfb={_0x4e2f8e:0x30f},_0x51e0d0={_0xfda807:0x345},_0x4a767b={'ojRuJ':function(_0x40f68c,_0x49097d,_0x5b31db){return _0x40f68c(_0x49097d,_0x5b31db);}};function _0x12f424(_0x122e95,_0x20109d){return _0x143ed5(_0x20109d-_0x51e0d0._0xfda807,_0x122e95);}this['gatewayR'+_0x12f424(_0xeb9978._0xb3df29,_0xeb9978._0x11f14c)+'r']&&(clearTimeout(this['gatewayR'+_0x12f424(0x3e8,0x316)+'r']),this[_0x3716a8(_0xeb9978._0x5611d6,0x696)+_0x12f424(_0xeb9978._0x396cf1,0x316)+'r']=null);function _0x3716a8(_0x9e6424,_0x232727){return _0x143ed5(_0x9e6424-_0x2dfdfb._0x4e2f8e,_0x232727);}this[_0x3716a8(_0xeb9978._0xe31d41,_0xeb9978._0x294777)+_0x3716a8(0x596,_0xeb9978._0x504285)+'ssages']=[];const _0x148b78={};_0x148b78[_0x3716a8(_0xeb9978._0x4edca7,0x53d)+_0x3716a8(0x34a,0x555)]=0x0,this['updateSn'+_0x3716a8(_0xeb9978._0x45333f,_0xeb9978._0x191643)](_0x148b78);if(!this[_0x3716a8(0x5b5,_0xeb9978._0x290ac9)+'yOpen']()&&!this[_0x3716a8(_0xeb9978._0x2a72d4,_0xeb9978._0x192df4)+'onnectin'+'g']){this[_0x12f424(_0xeb9978._0x26e7d2,0x4fd)]('gateway\x20'+_0x3716a8(0x503,0x5b2)+'h\x20no\x20act'+_0x3716a8(0x33c,0x42e)+_0x3716a8(0x34b,_0xeb9978._0x2e992a)+'n='+_0x5d9cfb),this['clientDe'+_0x3716a8(0x3cd,_0xeb9978._0x5022bf)+_0x3716a8(_0xeb9978._0x2431e4,0x38e)]=null;return;}if(this[_0x12f424(_0xeb9978._0x429001,_0xeb9978._0x5b36cc)+'dleClose'+_0x3716a8(0x4ce,0x2f4)]){this[_0x3716a8(0x4c7,0x2dd)](_0x12f424(_0xeb9978._0x5a7bb3,0x62c)+_0x12f424(0x6e5,_0xeb9978._0xe54d53)+'se\x20alrea'+_0x3716a8(0x2b7,_0xeb9978._0x309ded)+'uled\x20rea'+_0x12f424(0x799,_0xeb9978._0x46c69c)+_0x5d9cfb);return;}const _0x1b3ab2=this[_0x3716a8(_0xeb9978._0x3e8549,_0xeb9978._0x3a6e61)]['gatewayI'+_0x3716a8(0x5b1,_0xeb9978._0x24f690)+_0x3716a8(_0xeb9978._0x1f6f7b,_0xeb9978._0x50df2a)+_0x12f424(0x336,_0xeb9978._0x400486)]??GATEWAY_IDLE_DISCONNECT_DELAY_MS;this[_0x12f424(0x4cf,_0xeb9978._0x170755)](_0x12f424(_0xeb9978._0x2c084d,0x62c)+_0x3716a8(_0xeb9978._0x4b8410,_0xeb9978._0x4330f8)+'se\x20sched'+_0x3716a8(_0xeb9978._0x10f120,0x6e8)+_0x12f424(0x539,_0xeb9978._0x5d3c80)+_0x1b3ab2+_0x12f424(_0xeb9978._0x260b33,_0xeb9978._0x355f46)+_0x5d9cfb+(_0x3716a8(0x331,_0xeb9978._0x1e8527)+_0x3716a8(0x57a,_0xeb9978._0x29b041)+_0x12f424(_0xeb9978._0x2d571e,_0xeb9978._0x2c1832))+this['elapsedS'+_0x3716a8(0x298,_0xeb9978._0x470495)](this['gatewayC'+'onnected'+_0x12f424(0x47f,_0xeb9978._0x172a62)])),this[_0x3716a8(0x2cb,0x3db)+_0x12f424(0x410,0x413)+'Timer']=_0x4a767b[_0x3716a8(0x5ae,_0xeb9978._0x743444)](setTimeout,()=>{const _0x4cf5b4={_0x5a6f25:0x141};this['gatewayI'+_0x343f4f(-0x52,0xbf)+'Timer']=null;if(this['hasGatew'+'ayDemand']()){this['log'](_0x5d5d4a(_0x449222._0x343279,0x6a6)+_0x343f4f(_0x449222._0xcfa4d1,0x207)+'se\x20skipp'+_0x5d5d4a(_0x449222._0x26bfcc,0x5c1)+_0x343f4f(0x2d7,0x271)+_0x5d5d4a(0x6d1,0x644)+_0x343f4f(0x24f,_0x449222._0x5490d0)+'d');return;}function _0x343f4f(_0x23f2c8,_0x44310b){return _0x12f424(_0x23f2c8,_0x44310b- -0x354);}this[_0x5d5d4a(0x78f,_0x449222._0x304b1b)+'eway']();const _0x56de1f={};_0x56de1f[_0x343f4f(0x36b,_0x449222._0xe4f257)+_0x343f4f(0x17c,0x12a)]=![];function _0x5d5d4a(_0x49107b,_0x589e44){return _0x12f424(_0x589e44,_0x49107b-_0x4cf5b4._0x5a6f25);}_0x56de1f['clientCo'+_0x343f4f(0x51,0x2c)]=0x0,this[_0x343f4f(_0x449222._0xb9eacf,0x2ac)+'apshot'](_0x56de1f),this[_0x5d5d4a(_0x449222._0x40dd83,_0x449222._0x1ad0e9)+'mandStar'+'tedAtMs']=null,this[_0x343f4f(0x10c,0x1a9)](_0x5d5d4a(_0x449222._0x343279,0x84e)+_0x5d5d4a(_0x449222._0x1257ca,_0x449222._0x14add5)+_0x5d5d4a(_0x449222._0x88008b,_0x449222._0x683706)+_0x343f4f(_0x449222._0x49af1e,-_0x449222._0x17323e)+_0x5d5d4a(_0x449222._0x8d04e7,0x3e5)+_0x5d9cfb);},_0x1b3ab2);}[_0x143ed5(-0x7f,-0x137)+_0x143ed5(0x5,-0x1e9)+'eClose'](_0x7dabd2){const _0x34b79e={_0x440389:0x147,_0x98b34a:0x280,_0x584407:0x3ea,_0x585213:0xd2,_0x57ef19:0x39e,_0x5457fc:0x3ac,_0x3c8685:0x4dc,_0x569b46:0x31d,_0x560372:0x17b},_0x22fef1={_0x4b3246:0x1b2};if(!this['gatewayI'+_0x105884(_0x34b79e._0x440389,_0x34b79e._0x98b34a)+_0x105884(_0x34b79e._0x584407,0x371)])return;function _0x105884(_0x165ed1,_0x11ab26){return _0x143ed5(_0x11ab26-_0x22fef1._0x4b3246,_0x165ed1);}clearTimeout(this[_0x4b3fc4(0x1e6,_0x34b79e._0x585213)+_0x4b3fc4(0x2f8,0x48c)+'Timer']);function _0x4b3fc4(_0x115a3d,_0x113c7b){return _0x143ed5(_0x115a3d-0x22a,_0x113c7b);}this[_0x4b3fc4(0x1e6,0x27c)+'dleClose'+'Timer']=null,_0x7dabd2&&this[_0x105884(0x49a,0x36a)](_0x105884(0x625,0x499)+_0x105884(0x41f,0x3c8)+_0x4b3fc4(_0x34b79e._0x57ef19,_0x34b79e._0x5457fc)+_0x4b3fc4(_0x34b79e._0x3c8685,_0x34b79e._0x569b46)+_0x4b3fc4(0x2f1,_0x34b79e._0x560372)+_0x7dabd2);}[_0x143ed5(-0x28,-0x15b)+_0x143ed5(-0x64,-0x1a)+'onnect'](){const _0x38a06b={_0x2c6996:0x594,_0x127b74:0x4b5,_0x465c85:0x734,_0x3a9755:0x50a,_0x54fc51:0x83a,_0x20b209:0x97d,_0xd7022a:0x6da,_0x53e95d:0x759,_0x2e5246:0x650,_0x16b0e0:0x769,_0x1d8572:0x4bd,_0x599fef:0x58f,_0x3295fa:0x72e,_0x1f2f19:0x734,_0x34f2fb:0x7fc,_0xfdb558:0x4e4,_0x298dcb:0x6fc,_0x1840e4:0x753,_0x1ad5ce:0x666,_0xebeb6e:0x63f},_0x219c34={_0x32c98f:0x214,_0x25059c:0x1a9,_0x16c2fa:0xe,_0x21f4dc:0x20d,_0x1e289c:0x2c8,_0x451f63:0xeb},_0x514f18={_0xbc7dd0:0x317};if(this[_0x15e363(0x759,0x6e4)]||this['reconnec'+_0x15e363(0x6ca,_0x38a06b._0x2c6996)])return;const _0x2897c5=this[_0x15e363(0x7ca,0x771)][_0x15e363(0x666,_0x38a06b._0x127b74)+_0x57d962(0x703,_0x38a06b._0x465c85)+_0x57d962(_0x38a06b._0x3a9755,0x41e)]??RECONNECT_BASE_DELAY_MS,_0x1d5914=this[_0x57d962(_0x38a06b._0x54fc51,_0x38a06b._0x20b209)][_0x15e363(0x666,0x5a0)+_0x15e363(_0x38a06b._0xd7022a,_0x38a06b._0x53e95d)+_0x57d962(_0x38a06b._0x2e5246,_0x38a06b._0x16b0e0)]??RECONNECT_MAX_DELAY_MS;function _0x15e363(_0xa2b5f9,_0x5b2624){return _0x75393(_0x5b2624,_0xa2b5f9-_0x514f18._0xbc7dd0);}function _0x57d962(_0x4f7899,_0x44eccc){return _0x75393(_0x44eccc,_0x4f7899-0x387);}const _0x2aa36f=Math[_0x15e363(0x4ea,0x551)](_0x1d5914,_0x2897c5*Math[_0x57d962(_0x38a06b._0x1d8572,_0x38a06b._0x599fef)](0x1,this['relayAtt'+_0x15e363(_0x38a06b._0x3295fa,0x577)]));this[_0x57d962(_0x38a06b._0x1f2f19,0x5fc)]('relay\x20re'+_0x15e363(_0x38a06b._0x34f2fb,0x811)+_0x15e363(_0x38a06b._0xfdb558,0x5f2)+_0x15e363(_0x38a06b._0x298dcb,_0x38a06b._0x1840e4)+'s='+_0x2aa36f),this[_0x15e363(_0x38a06b._0x1ad5ce,_0x38a06b._0xebeb6e)+_0x57d962(0x73a,0x7a3)]=setTimeout(()=>{this[_0x2f2140(_0x219c34._0x32c98f,_0x219c34._0x25059c)+_0x2f2140(_0x219c34._0x16c2fa,_0x219c34._0x21f4dc)]=null;function _0x2f2140(_0x11c7cd,_0x5d0155){return _0x15e363(_0x5d0155- -0x4bd,_0x11c7cd);}function _0x2a09be(_0x2be326,_0x82e84e){return _0x15e363(_0x2be326- -0x62f,_0x82e84e);}void this[_0x2f2140(0x2fe,_0x219c34._0x1e289c)+_0x2a09be(-_0x219c34._0x451f63,0x7d)]();},_0x2aa36f);}[_0x143ed5(-0x28,-0xc7)+'GatewayR'+_0x75393(0x28f,0x161)](){const _0x3a90aa={_0x4005f0:0x2b9,_0x122576:0x2f,_0x55a097:0x60,_0x2c976b:0x10e,_0x21a456:0x428,_0x432a20:0x1f5,_0x357951:0x134},_0x2c50be={_0x2fe53c:0x63,_0x40c08e:0xf6,_0x3a6c06:0x9a,_0x1aa1cc:0x14e,_0x40231b:0x767},_0x5e9565={_0x1ab056:0x3c8},_0x313f45={_0x1de2e0:0x2dd},_0x4474da={'qIYSw':function(_0x21a573,_0x14400a,_0x3e7bce){return _0x21a573(_0x14400a,_0x3e7bce);}};if(this[_0x5ba686(0x52a,0x563)]||this[_0x5ba686(0x4b8,_0x3a90aa._0x4005f0)+_0x2bde6a(_0x3a90aa._0x122576,-_0x3a90aa._0x55a097)+'r']||!this['isRelayO'+_0x2bde6a(0x298,_0x3a90aa._0x2c976b)]()||!this['hasGatew'+_0x5ba686(0x3a9,0x307)]())return;function _0x2bde6a(_0x2c31bc,_0xb3d268){return _0x143ed5(_0xb3d268- -0x31,_0x2c31bc);}const _0xeb0473=this[_0x2bde6a(0xa5,0x28d)][_0x2bde6a(0xa3,0x1aa)+_0x5ba686(0x312,0x2be)+_0x5ba686(0x3b1,_0x3a90aa._0x21a456)]??GATEWAY_RETRY_DELAY_MS;function _0x5ba686(_0x21f42c,_0x38e0c1){return _0x143ed5(_0x21f42c-_0x313f45._0x1de2e0,_0x38e0c1);}this[_0x2bde6a(0x37e,0x1aa)+_0x5ba686(0x2ae,_0x3a90aa._0x432a20)+'r']=_0x4474da[_0x5ba686(0x30f,_0x3a90aa._0x357951)](setTimeout,()=>{function _0x3e7d0e(_0xe490a6,_0x13c348){return _0x5ba686(_0x13c348-0x20f,_0xe490a6);}this[_0x4f24c1(0xf0,_0x2c50be._0x2fe53c)+_0x3e7d0e(0x4f6,0x4bd)+'r']=null;function _0x4f24c1(_0x416818,_0x1934b9){return _0x5ba686(_0x416818- -_0x5e9565._0x1ab056,_0x1934b9);}this[_0x4f24c1(-0xd3,-_0x2c50be._0x40c08e)+_0x4f24c1(-_0x2c50be._0x3a6c06,_0x2c50be._0x1aa1cc)+_0x3e7d0e(0x752,_0x2c50be._0x40231b)]();},_0xeb0473);}['startHea'+_0x75393(-0x5d,0x1af)](){const _0x4cb974={_0x53a0bc:0x1c0,_0xa894ef:0x359,_0x4cc41d:0x5bf,_0x58eb6d:0x251,_0x4a693b:0x117,_0x393a40:0x25f,_0x4031b7:0xb9,_0x460b8a:0xf6,_0x160a07:0x584},_0x3cca5c={_0xb534a8:0x553,_0x46c24a:0x411,_0x57ebb7:0x612,_0x4987ea:0x515,_0x18b52:0x4ba,_0xd0687d:0x601,_0x45a2fa:0x531,_0xb985ed:0x41e,_0x29858f:0x6f2,_0x29c75f:0x1fa,_0x51062f:0x3a0,_0xa2c418:0x348,_0x1ff1c4:0x4d4,_0xeb0f93:0x3d9,_0x271438:0x6a4,_0x467898:0x670,_0x167c3d:0x2c9},_0x30a29a={_0x47d329:0x212};function _0x2aebac(_0x3af6f8,_0xfb1b47){return _0x75393(_0x3af6f8,_0xfb1b47- -0x154);}function _0x3c1cbc(_0x8534f7,_0x582c8b){return _0x75393(_0x582c8b,_0x8534f7-0x219);}const _0x466c9d={};_0x466c9d[_0x2aebac(_0x4cb974._0x53a0bc,_0x4cb974._0xa894ef)]=function(_0x1a893d,_0x339944){return _0x1a893d!==_0x339944;},_0x466c9d['pNiQS']=function(_0x465181,_0x150507){return _0x465181-_0x150507;};const _0x327c56=_0x466c9d;this[_0x3c1cbc(0x46f,_0x4cb974._0x4cc41d)+_0x2aebac(_0x4cb974._0x58eb6d,0x2e3)](),this['heartbea'+_0x2aebac(_0x4cb974._0x4a693b,_0x4cb974._0x393a40)]=setInterval(()=>{function _0x210931(_0x5443b1,_0x5a8e04){return _0x3c1cbc(_0x5a8e04- -0xe,_0x5443b1);}const _0x393e01=this[_0x210931(0x75b,_0x3cca5c._0xb534a8)+_0xe1e3e3(0x3d8,_0x3cca5c._0x46c24a)];if(!_0x393e01||_0x327c56[_0xe1e3e3(0x4b4,_0x3cca5c._0x57ebb7)](_0x393e01['readySta'+'te'],_0x4cde07[_0xe1e3e3(_0x3cca5c._0x4987ea,0x5f8)]))return;function _0xe1e3e3(_0x165e07,_0x25a467){return _0x3c1cbc(_0x165e07- -_0x30a29a._0x47d329,_0x25a467);}const _0x1fa098=this[_0xe1e3e3(_0x3cca5c._0x18b52,0x43e)][_0x210931(_0x3cca5c._0xd0687d,0x4d7)+_0x210931(_0x3cca5c._0x45a2fa,0x379)+'Ms']??HEARTBEAT_TIMEOUT_MS;if(_0x327c56['pNiQS'](Date[_0x210931(0x520,_0x3cca5c._0xb985ed)](),this[_0x210931(0x520,_0x3cca5c._0x29858f)+_0xe1e3e3(_0x3cca5c._0x29c75f,_0x3cca5c._0x51062f)+_0x210931(_0x3cca5c._0xa2c418,_0x3cca5c._0x1ff1c4)])>_0x1fa098){this[_0x210931(0x6f1,0x5b8)](_0xe1e3e3(0x441,_0x3cca5c._0xeb0f93)+_0xe1e3e3(0x508,0x600)+_0x210931(_0x3cca5c._0x271438,_0x3cca5c._0x467898)+'t'),_0x393e01[_0xe1e3e3(0x399,0x468)+'e']();return;}_0x393e01[_0x210931(_0x3cca5c._0x167c3d,0x47d)]();},this['options'][_0x2aebac(0x313,0x178)+_0x2aebac(-_0x4cb974._0x4031b7,_0x4cb974._0x460b8a)+_0x3c1cbc(_0x4cb974._0x160a07,0x77f)]??HEARTBEAT_INTERVAL_MS);}[_0x143ed5(0x61,0x1f9)+_0x143ed5(0x242,0x176)](){const _0x364464={_0xf0932:0xe7,_0x425a26:0x2f,_0x10ec8d:0x338,_0x6f327d:0x15c,_0x29fd03:0x251},_0x2335d4={_0x11c968:0x17a},_0x45c497={_0x141ffd:0x10};function _0x2bc5eb(_0x2c1a8f,_0xe257e2){return _0x143ed5(_0x2c1a8f-_0x45c497._0x141ffd,_0xe257e2);}function _0x9ae2fe(_0x247b66,_0x16277c){return _0x143ed5(_0x16277c-_0x2335d4._0x11c968,_0x247b66);}this[_0x2bc5eb(_0x364464._0xf0932,_0x364464._0x425a26)+_0x9ae2fe(0x130,_0x364464._0x10ec8d)]&&(clearInterval(this[_0x9ae2fe(_0x364464._0x6f327d,_0x364464._0x29fd03)+_0x2bc5eb(0x1ce,0x177)]),this['heartbea'+'tTimer']=null);}[_0x75393(0x241,0x355)+'ingGatew'+_0x143ed5(-0x5,-0x1b4)+'e'](_0x4e98f9){const _0x2e6f61={_0x3ade9c:0x1fc,_0x3b4002:0x37b,_0x1f8dc0:0x288,_0xaf9722:0x3c9,_0x2babb3:0xed,_0x27a232:0x3ea,_0x1e0784:0x323,_0x4ee133:0x41a,_0x27fe29:0x4f0,_0x1b42bb:0x33d,_0x189c10:0x61f,_0x407020:0x551,_0x481e67:0x717,_0x4defd6:0x55c,_0x14a79b:0x669,_0x259324:0x582,_0x153ee2:0x436},_0x265a9a={_0x448e0b:0x338};this[_0x5b2d4f(0x255,_0x2e6f61._0x3ade9c)+_0x5b2d4f(_0x2e6f61._0x3b4002,_0x2e6f61._0x1f8dc0)+'ssages'][_0x5b2d4f(_0x2e6f61._0xaf9722,0x24b)]>=MAX_PENDING_GATEWAY_MESSAGES&&this[_0x5b2d4f(_0x2e6f61._0x2babb3,_0x2e6f61._0x3ade9c)+_0x5b2d4f(_0x2e6f61._0x27a232,0x288)+_0x5b2d4f(_0x2e6f61._0x1e0784,0x146)]['shift']();function _0x45f549(_0x498546,_0x57c84e){return _0x143ed5(_0x498546-_0x265a9a._0x448e0b,_0x57c84e);}this['pendingG'+_0x45f549(0x5bf,_0x2e6f61._0x4ee133)+'ssages']['push'](_0x4e98f9);function _0x5b2d4f(_0x155765,_0x275d81){return _0x143ed5(_0x275d81-0x1,_0x155765);}this[_0x45f549(_0x2e6f61._0x27fe29,_0x2e6f61._0x1b42bb)](_0x45f549(_0x2e6f61._0x189c10,_0x2e6f61._0x407020)+_0x5b2d4f(0x318,0x1bb)+_0x5b2d4f(0x27b,0x23b)+this[_0x45f549(0x533,_0x2e6f61._0x481e67)+_0x45f549(0x5bf,_0x2e6f61._0x4defd6)+_0x45f549(0x47d,_0x2e6f61._0x14a79b)][_0x45f549(_0x2e6f61._0x259324,_0x2e6f61._0x153ee2)]);}[_0x75393(0x1d8,0x30b)+_0x143ed5(0x21a,0x1fb)+_0x143ed5(-0x1,-0x194)](_0x2f3358,_0x2f3e85){const _0x12c07e={_0x5c9a43:0x109,_0x48335f:0x25e,_0x4f29f8:0x2c1,_0x41de4a:0x5c1,_0x978db6:0x2ff,_0x29f114:0x2fb,_0x3e40d2:0x3ed,_0x194403:0x4e5,_0x48f938:0x603,_0x52aec2:0x2e3,_0x15c98e:0x3d0,_0x36b3b5:0xd3,_0x179e01:0x23c,_0x309c6e:0x259,_0x30b567:0x309,_0x1784d7:0x60e,_0xde7709:0x24e},_0x5e1336=Date[_0x31fb5b(_0x12c07e._0x5c9a43,0x2a1)](),_0x36c1cd=new Map(this[_0x31fb5b(0x52c,0x5c0)]['connecte'+_0x5d3f10(_0x12c07e._0x48335f,_0x12c07e._0x4f29f8)][_0x5d3f10(_0x12c07e._0x41de4a,0x405)](_0x1d476c=>[_0x1d476c['id'],{..._0x1d476c}])),_0x2dd9e1=_0x36c1cd[_0x5d3f10(_0x12c07e._0x978db6,_0x12c07e._0x29f114)](_0x2f3358)??{'id':_0x2f3358,'label':_0x2f3e85,'state':'connecte'+'d','lastSeenMs':_0x5e1336};function _0x5d3f10(_0x36b189,_0x1e47c8){return _0x75393(_0x36b189,_0x1e47c8-0xff);}_0x2dd9e1[_0x5d3f10(_0x12c07e._0x3e40d2,0x554)]=_0x2f3e85,_0x2dd9e1[_0x5d3f10(0x6a8,0x54d)]=_0x5d3f10(_0x12c07e._0x194403,_0x12c07e._0x48f938)+'d',_0x2dd9e1[_0x31fb5b(_0x12c07e._0x52aec2,_0x12c07e._0x15c98e)+'Ms']=_0x5e1336,_0x36c1cd[_0x5d3f10(_0x12c07e._0x36b3b5,_0x12c07e._0x179e01)](_0x2f3358,_0x2dd9e1);const _0x50864d=[..._0x36c1cd[_0x31fb5b(0x434,_0x12c07e._0x309c6e)]()]['sort']((_0xd57422,_0x3c29da)=>_0x3c29da[_0x31fb5b(0x36f,0x3d0)+'Ms']-_0xd57422['lastSeen'+'Ms'])[_0x31fb5b(_0x12c07e._0x30b567,0x29f)](0x0,MAX_DEVICE_DETAILS),_0x2a498c={};function _0x31fb5b(_0x4571b6,_0x5c148d){return _0x75393(_0x4571b6,_0x5c148d-0x8e);}_0x2a498c[_0x5d3f10(_0x12c07e._0x1784d7,0x603)+_0x5d3f10(0x22d,0x2c1)]=_0x50864d,this['updateSn'+_0x5d3f10(0xd8,_0x12c07e._0xde7709)](_0x2a498c);}[_0x75393(0x356,0x3ee)+'cesRecen'+'t'](){const _0x3c1ee5={_0x571a86:0x61e,_0x5e2775:0x677,_0x58c0f2:0x474},_0x1ced95={_0x493f65:0x15e};function _0x3d9c22(_0x2d3e12,_0x2c303c){return _0x143ed5(_0x2c303c- -_0x1ced95._0x493f65,_0x2d3e12);}function _0x2d3059(_0x43bdd2,_0x115623){return _0x143ed5(_0x115623-0x363,_0x43bdd2);}this[_0x2d3059(0x652,_0x3c1ee5._0x571a86)+_0x3d9c22(-0x4d,-0x204)]({'connectedDevices':this[_0x2d3059(_0x3c1ee5._0x5e2775,0x6a0)][_0x2d3059(0x6a4,0x672)+'dDevices'][_0x2d3059(0x5df,_0x3c1ee5._0x58c0f2)](_0x3eaf13=>({..._0x3eaf13,'state':'recent'}))});}[_0x75393(0x481,0x31a)+_0x143ed5(0x15f,0x16e)+_0x75393(0x31a,0x3b1)](_0x4d4f1e){const _0x51eb95={_0x333169:0x566,_0x212757:0x358,_0x205597:0x4df,_0x2d1e85:0x4b1,_0x162b8e:0x6bc,_0x5d2949:0x531,_0x2ad9f3:0x773,_0x5e97f0:0x6e0,_0x193c7e:0x452,_0x2b91a9:0x3f3,_0x41c0b2:0x81a,_0x270a19:0x629,_0x2ea51c:0x711,_0x435448:0x425,_0x55535b:0x2d9,_0x5b631a:0x64a,_0x592fc6:0x4a7,_0xfb44ba:0x6ae,_0x7ee9d1:0x5ee,_0x57882b:0x37f,_0x3e200f:0x3a6,_0x34da68:0x33e,_0xa3820:0x2da};function _0x39bbb2(_0x3519c6,_0x4ed4e6){return _0x143ed5(_0x4ed4e6-0x37f,_0x3519c6);}const _0x15c942={};_0x15c942[_0x39bbb2(_0x51eb95._0x333169,_0x51eb95._0x212757)]=_0x15e31c(_0x51eb95._0x205597,0x592)+'>';const _0x559e44=_0x15c942;if(this[_0x39bbb2(_0x51eb95._0x2d1e85,_0x51eb95._0x162b8e)][_0x39bbb2(0x32e,0x43e)+_0x15e31c(_0x51eb95._0x5d2949,0x4aa)+'sts']['some'](_0x364070=>_0x364070[_0x39bbb2(0x2e6,0x33e)+'d']===_0x4d4f1e[_0x15e31c(0x3b5,0x3f5)+'d']))return;const _0x427f17=[...this[_0x15e31c(0x8a1,_0x51eb95._0x2ad9f3)][_0x15e31c(0x5e8,0x4f5)+'airReque'+_0x15e31c(0x5f3,_0x51eb95._0x5e97f0)],_0x4d4f1e][_0x15e31c(0x3b2,_0x51eb95._0x193c7e)](-MAX_PENDING_PAIR_REQUESTS),_0x49a498={};_0x49a498[_0x15e31c(0x362,0x4f5)+_0x39bbb2(0x470,_0x51eb95._0x2b91a9)+_0x39bbb2(_0x51eb95._0x41c0b2,_0x51eb95._0x270a19)]=_0x427f17,this[_0x39bbb2(_0x51eb95._0x2ea51c,0x63a)+_0x39bbb2(_0x51eb95._0x435448,_0x51eb95._0x55535b)](_0x49a498);function _0x15e31c(_0x2614f1,_0x1354ae){return _0x143ed5(_0x1354ae-0x436,_0x2614f1);}this[_0x15e31c(0x54d,0x6f4)]['onPendin'+_0x15e31c(_0x51eb95._0x5b631a,0x6b9)+_0x39bbb2(_0x51eb95._0x592fc6,0x3fd)]?.(_0x4d4f1e),this[_0x15e31c(_0x51eb95._0xfb44ba,_0x51eb95._0x7ee9d1)](_0x39bbb2(0x12d,0x333)+_0x39bbb2(0x279,0x3e4)+'ding\x20req'+_0x39bbb2(0x2cc,_0x51eb95._0x57882b)+_0x4d4f1e[_0x39bbb2(_0x51eb95._0x3e200f,_0x51eb95._0x34da68)+'d']+(_0x39bbb2(_0x51eb95._0xa3820,0x436)+'d=')+(_0x4d4f1e['deviceId']||_0x559e44[_0x39bbb2(0x289,_0x51eb95._0x212757)]));}[_0x75393(0x3c,0x150)+_0x75393(0x5a8,0x3a8)+_0x75393(0x4cd,0x462)](_0x4225e2,_0xd85ae3){const _0x739028={_0x350de6:0x6ee,_0x248ee6:0x41e,_0x11f51d:0x93,_0x56a20f:0x7d,_0x394e13:0x2c8,_0x17a9ee:0x4c0,_0x3ad825:0xde,_0x497bc2:0xdb,_0x1c7ec6:0x2da,_0x4cd426:0x30,_0x173214:0x1d7,_0x2e8449:0x1ca,_0x20238d:0x21b,_0x5cf781:0x320,_0x5ee8ad:0x2c5},_0x24a80b={_0x4cda7a:0x1d6};function _0x440ecc(_0x2b45d5,_0x2df21f){return _0x75393(_0x2df21f,_0x2b45d5- -_0x24a80b._0x4cda7a);}const _0x25dd56=this[_0x1971e7(_0x739028._0x350de6,0x553)][_0x1971e7(_0x739028._0x248ee6,0x2d5)+_0x440ecc(_0x739028._0x11f51d,_0x739028._0x56a20f)+_0x1971e7(_0x739028._0x394e13,_0x739028._0x17a9ee)]['map'](_0xe88100=>_0xe88100[_0x440ecc(-0x22,0xef)+'d']===_0x4225e2?{..._0xe88100,'status':_0xd85ae3===_0x1971e7(0x87,0x250)||_0xd85ae3==='rejected'?_0xd85ae3:_0xe88100[_0x1971e7(0x197,0x25e)]}:_0xe88100),_0x392226={};function _0x1971e7(_0x1af4fa,_0x25fb5c){return _0x75393(_0x1af4fa,_0x25fb5c-0x21);}_0x392226[_0x440ecc(_0x739028._0x3ad825,-0xf6)+_0x1971e7(_0x739028._0x497bc2,0x28a)+'sts']=_0x25dd56,this[_0x440ecc(_0x739028._0x1c7ec6,0x3fd)+_0x1971e7(-_0x739028._0x4cd426,0x170)](_0x392226),this[_0x440ecc(_0x739028._0x173214,0x28)](_0x1971e7(0x155,_0x739028._0x2e8449)+_0x440ecc(_0x739028._0x20238d,0xcf)+_0x440ecc(_0x739028._0x5cf781,_0x739028._0x5ee8ad)+_0x440ecc(0xef,0x2af)+_0x4225e2+(_0x1971e7(0x5fb,0x53b)+'n=')+_0xd85ae3);}[_0x75393(0x3ab,0x4b0)+_0x75393(0x2f5,0x14f)](_0xebbc5){const _0x4f3372={_0x5ce7f4:0x477,_0x2bccc6:0x523,_0x2771c5:0x54f,_0x4e8553:0x7f7,_0x5c878d:0x7ef,_0x2fb514:0x901,_0x1d92a4:0x79a,_0x18d1e9:0x805,_0x5bd900:0x6c3},_0xe7648c={_0x473357:0x37b},_0x1d36f6={_0x51d111:0x531};Object[_0x96ba78(0x523,_0x4f3372._0x5ce7f4)](this['snapshot'],_0xebbc5,{'lastUpdatedMs':Date[_0x2428c4(_0x4f3372._0x2bccc6,_0x4f3372._0x2771c5)]()});function _0x2428c4(_0x3489e8,_0x53b7f6){return _0x143ed5(_0x53b7f6-_0x1d36f6._0x51d111,_0x3489e8);}function _0x96ba78(_0x1096a8,_0x38b8e8){return _0x143ed5(_0x1096a8-_0xe7648c._0x473357,_0x38b8e8);}this[_0x2428c4(_0x4f3372._0x4e8553,_0x4f3372._0x5c878d)][_0x2428c4(_0x4f3372._0x2fb514,_0x4f3372._0x1d92a4)]?.(this[_0x2428c4(_0x4f3372._0x18d1e9,_0x4f3372._0x5bd900)+'hot']());}['log'](_0x143243){const _0x470baf={_0x404b16:0x3bc,_0x43138f:0x2e4,_0x45b39c:0x2bf,_0xc0c5ca:0x3ee};function _0x527cee(_0x5e599f,_0x20ba60){return _0x143ed5(_0x20ba60-0x119,_0x5e599f);}function _0x28f8c5(_0x8d588f,_0x5013c5){return _0x143ed5(_0x8d588f-0xfe,_0x5013c5);}this[_0x28f8c5(_0x470baf._0x404b16,_0x470baf._0x43138f)][_0x28f8c5(_0x470baf._0x45b39c,_0x470baf._0xc0c5ca)]?.(_0x143243);}['isRelayO'+_0x143ed5(0x13f,0x16d)](){const _0x248182={_0x5399a2:0x4ea,_0x3ef5ee:0x4b2,_0x15c4c3:0x604,_0x222f37:0x53b,_0x509142:0x69e,_0x3d3591:0x51a};function _0x112c86(_0xee4225,_0x415985){return _0x75393(_0x415985,_0xee4225-0xc);}function _0x239424(_0x4dc4c1,_0x20d579){return _0x75393(_0x20d579,_0x4dc4c1-0x16a);}const _0xf6534f={};_0xf6534f[_0x239424(0x64b,_0x248182._0x5399a2)]=function(_0xd853a2,_0x2f25aa){return _0xd853a2===_0x2f25aa;};const _0x972c5d=_0xf6534f;return _0x972c5d[_0x239424(0x64b,0x4e1)](this[_0x239424(_0x248182._0x3ef5ee,_0x248182._0x15c4c3)+_0x239424(_0x248182._0x222f37,0x454)]?.[_0x239424(_0x248182._0x509142,0x53a)+'te'],_0x4cde07[_0x112c86(_0x248182._0x3d3591,0x3e2)]);}[_0x143ed5(0x2a6,0x140)+_0x143ed5(-0x21,0x113)](){const _0x2be02b={_0x1f8e43:0x116,_0x513dfc:0x424},_0x2b25c1={_0x5c878c:0x10b};function _0x53341d(_0x4f451b,_0xa274af){return _0x143ed5(_0x4f451b- -0x62,_0xa274af);}function _0x112c89(_0x59aa58,_0x36069d){return _0x143ed5(_0x36069d-_0x2b25c1._0x5c878c,_0x59aa58);}return this['gatewayS'+_0x53341d(0xd3,-_0x2be02b._0x1f8e43)]?.['readySta'+'te']===_0x4cde07[_0x112c89(0x527,_0x2be02b._0x513dfc)];}[_0x75393(0x3ca,0x36f)+_0x143ed5(0xcc,0x16b)](){const _0x40043e={_0x5c709c:0x507,_0x38461c:0x487,_0x418803:0x30c,_0xccf1e6:0x3f7,_0x4932f3:0x52e,_0x1a9fa1:0x30f,_0x1825ee:0x272,_0x28ca57:0x13c,_0x28b73a:0xc0};function _0x48112c(_0x1250e9,_0x4f692d){return _0x75393(_0x4f692d,_0x1250e9- -0x2b);}function _0x51dcd6(_0x3a464f,_0x565a4f){return _0x75393(_0x3a464f,_0x565a4f- -0x37f);}return this[_0x48112c(_0x40043e._0x5c709c,_0x40043e._0x38461c)][_0x48112c(_0x40043e._0x418803,_0x40043e._0xccf1e6)+'unt']>0x0||this[_0x48112c(0x3c5,_0x40043e._0x4932f3)+_0x51dcd6(0x14,0xfd)+_0x48112c(_0x40043e._0x1a9fa1,_0x40043e._0x1825ee)][_0x51dcd6(-_0x40043e._0x28ca57,_0x40043e._0x28b73a)]>0x0;}[_0x143ed5(-0x1a,-0x16b)+_0x143ed5(0x2c7,0x1aa)](){const _0xc458a5={_0x4a5743:0xe,_0x55ef05:0x56a,_0x40f49a:0x373,_0x159617:0x56a,_0x14842d:0x73b,_0x3f1c6f:0x16c,_0x478d8a:0x14f,_0x84845e:0x139,_0x20054f:0x3e1,_0x550caf:0x551,_0x322113:0x655,_0x3d5733:0x95,_0x4df25c:0x16c,_0x4921ae:0x263,_0x52eec1:0x467,_0x3ab8f6:0x415,_0x365e22:0x345,_0x37a4c2:0x84};this[_0x118d7c(0x8a,-_0xc458a5._0x4a5743)+'tbeat']();this[_0x3ac9a3(_0xc458a5._0x55ef05,_0xc458a5._0x40f49a)+_0x3ac9a3(0x5ce,0x477)]&&(clearTimeout(this[_0x3ac9a3(_0xc458a5._0x159617,0x657)+_0x3ac9a3(0x5ce,_0xc458a5._0x14842d)]),this['reconnec'+_0x118d7c(_0xc458a5._0x3f1c6f,_0xc458a5._0x478d8a)]=null);function _0x3ac9a3(_0xdaf5aa,_0x488135){return _0x75393(_0x488135,_0xdaf5aa-0x21b);}this[_0x118d7c(_0xc458a5._0x84845e,_0xc458a5._0x3f1c6f)+_0x3ac9a3(_0xc458a5._0x20054f,_0xc458a5._0x550caf)+'r']&&(clearTimeout(this[_0x3ac9a3(0x5eb,_0xc458a5._0x322113)+'etryTime'+'r']),this[_0x118d7c(-_0xc458a5._0x3d5733,_0xc458a5._0x4df25c)+_0x3ac9a3(0x3e1,_0xc458a5._0x4921ae)+'r']=null);function _0x118d7c(_0xf2632d,_0x13ca63){return _0x75393(_0xf2632d,_0x13ca63- -0x264);}this[_0x3ac9a3(0x391,_0xc458a5._0x52eec1)+_0x3ac9a3(_0xc458a5._0x3ab8f6,_0xc458a5._0x365e22)+_0x118d7c(_0xc458a5._0x37a4c2,-0x1)]();}[_0x143ed5(0x337,0x447)+_0x143ed5(-0x77,0x7a)](_0x71194b){const _0x344872={_0x52b7a5:0x7d3,_0x15e1ee:0x7e8},_0x266bc1={};function _0x3a44d2(_0x8f3927,_0xf57a65){return _0x75393(_0xf57a65,_0x8f3927- -0x171);}function _0x56c4f1(_0x461985,_0xaee54e){return _0x75393(_0x461985,_0xaee54e-0x2c4);}_0x266bc1[_0x56c4f1(_0x344872._0x52b7a5,0x7e8)]=function(_0x213ea7,_0x513a69){return _0x213ea7-_0x513a69;};const _0x62d3f8=_0x266bc1;return _0x71194b==null?null:Math[_0x3a44d2(-0x3b,-0xeb)](0x0,_0x62d3f8[_0x56c4f1(0x9c0,_0x344872._0x15e1ee)](Date['now'](),_0x71194b));}};function shouldRecycleGatewayForFreshClient(_0x18af4f,_0xb31bc7,_0x38dc8f,_0x54959e){return _0x38dc8f&&_0xb31bc7>0x0&&(_0x18af4f===0x0||_0x54959e);}function summarizeJsonFrame(_0x455a67){const _0x39d067={_0xe643e4:0x1b7,_0x159a60:0x5,_0x22358d:0x427,_0x6f0e22:0x5a2,_0x1c4001:0x6c8,_0x3ee18f:0x57c,_0x1b7456:0x1ce,_0x4b27ad:0x758,_0x337959:0x902,_0x56f078:0x3cb,_0x1f17e1:0x51a,_0xef55e1:0x414,_0x3a7476:0x8f6,_0xf018f9:0x4ef,_0xc8b242:0x3b5,_0x31307f:0x695,_0x1f536b:0x884,_0x4ff7ea:0x5b6,_0x1a627f:0x503,_0x30cc73:0x23a,_0x1d6f20:0x36e,_0x10891e:0x4b0,_0x478764:0x45f,_0x460a93:0x608,_0x441cc0:0xa25,_0x293c38:0x52b,_0x50bbb2:0x422,_0x14aeb8:0x5fa,_0x38133a:0x278,_0x56a3db:0x30b,_0x3a5824:0x924,_0x44b5d6:0x677},_0x335a82={_0x46b68a:0x3fb};function _0x54a611(_0x1a3cd4,_0x1453a1){return _0x75393(_0x1a3cd4,_0x1453a1-_0x335a82._0x46b68a);}const _0x3ca6b5={};_0x3ca6b5['Josfo']=function(_0x1ab533,_0x9912ce){return _0x1ab533===_0x9912ce;},_0x3ca6b5['pJKsV']=_0x5482d9(0x23a,0x261);function _0x5482d9(_0x338fb2,_0x14dbcf){return _0x75393(_0x14dbcf,_0x338fb2-0x70);}_0x3ca6b5[_0x5482d9(_0x39d067._0xe643e4,_0x39d067._0x159a60)]=_0x5482d9(0x577,0x64a),_0x3ca6b5[_0x5482d9(_0x39d067._0x22358d,_0x39d067._0x6f0e22)]=function(_0x58700d,_0x2b74d5){return _0x58700d===_0x2b74d5;};const _0x1f996b=_0x3ca6b5;try{const _0x1280b8=JSON[_0x54a611(_0x39d067._0x1c4001,_0x39d067._0x3ee18f)](_0x455a67);if(_0x1280b8[_0x5482d9(0x39f,0x472)]===_0x5482d9(0x330,_0x39d067._0x1b7456)&&typeof _0x1280b8[_0x5482d9(0x56b,_0x39d067._0x4b27ad)]===_0x54a611(0xa29,_0x39d067._0x337959))return _0x5482d9(_0x39d067._0x56f078,_0x39d067._0x1f17e1)+_0x5482d9(_0x39d067._0xef55e1,0x298)+_0x1280b8[_0x54a611(0xacd,_0x39d067._0x3a7476)]+'\x20id='+(_0x1f996b['Josfo'](typeof _0x1280b8['id'],_0x5482d9(0x577,_0x39d067._0xf018f9))?_0x1280b8['id']:'<unknown'+'>');if(_0x1f996b[_0x5482d9(0x356,_0x39d067._0xc8b242)](_0x1280b8['type'],_0x1f996b[_0x54a611(_0x39d067._0x31307f,_0x39d067._0x1f536b)])&&typeof _0x1280b8[_0x54a611(_0x39d067._0x4ff7ea,0x5c5)]===_0x1f996b['kquJR'])return _0x5482d9(_0x39d067._0x1a627f,0x392)+_0x5482d9(0x4e9,0x6e4)+_0x1280b8[_0x5482d9(_0x39d067._0x30cc73,_0x39d067._0x1d6f20)];if(_0x1280b8[_0x5482d9(0x39f,0x271)]==='res'){const _0x2690ba=typeof _0x1280b8['id']===_0x1f996b[_0x5482d9(0x1b7,0x8b)]?_0x1280b8['id']:_0x5482d9(0x3c1,_0x39d067._0x10891e)+'>',_0xb05202=_0x1280b8['ok']===!![]?_0x5482d9(0x375,_0x39d067._0x478764):'false',_0x42d717=_0x1f996b[_0x5482d9(_0x39d067._0x22358d,0x53c)](typeof _0x1280b8['error']?.[_0x54a611(_0x39d067._0x460a93,0x7ad)],_0x54a611(_0x39d067._0x441cc0,0x902))?_0x1280b8[_0x54a611(0x72c,_0x39d067._0x293c38)][_0x5482d9(_0x39d067._0x50bbb2,0x4ac)]:_0x5482d9(0x4c0,_0x39d067._0x14aeb8);return _0x5482d9(_0x39d067._0x38133a,_0x39d067._0x56a3db)+_0x2690ba+_0x54a611(0xace,_0x39d067._0x3a5824)+_0xb05202+_0x54a611(_0x39d067._0x44b5d6,0x83c)+_0x42d717;}return null;}catch{return null;}}function shouldDropStaleConnectAfterGatewayReopen(_0x740caf,_0x40e71b){const _0x9f3507={_0x908c82:0x11c},_0xb04f30={};_0xb04f30['jrTOe']=function(_0x17f1c6,_0x355d6c){return _0x17f1c6&&_0x355d6c;};const _0x2a3ab9=_0xb04f30;function _0x507b8b(_0xbd1a83,_0x62850a){return _0x143ed5(_0xbd1a83- -0x9a,_0x62850a);}return _0x2a3ab9[_0x507b8b(0x276,_0x9f3507._0x908c82)](!_0x740caf,_0x40e71b);}function buildRelayWsUrl(_0x23b83f){const _0x103594={_0x2f5753:0x628,_0x22985a:0x4a0,_0x16dddc:0x3b0,_0x4417c8:0x204,_0x3ef486:0x1df,_0x3c12c3:0x2cd,_0x5c77d9:0x104,_0x51209b:0x5fd,_0x4c49b2:0x2ce,_0xf1b5f7:0x3c5,_0xb915d7:0x620,_0x350ea2:0x684,_0x372c13:0x168,_0x308620:0x338,_0x5d977d:0x3b,_0x4323ce:0x5e8,_0x4e6215:0x41b,_0x3fcbc6:0x36,_0x276836:0xd,_0x5632c2:0x57f,_0x40db9e:0x5a2,_0x4cd25d:0x464,_0x475687:0x14a,_0x55941d:0x59f},_0xf8f44a={_0x1900e5:0xc5},_0x532c4c={};_0x532c4c[_0x11d0ff(0x464,_0x103594._0x2f5753)]=function(_0x3e503b,_0x37a4fa){return _0x3e503b===_0x37a4fa;};function _0x11d0ff(_0x1a5fd,_0x551fde){return _0x143ed5(_0x1a5fd-0x386,_0x551fde);}_0x532c4c['QrsTA']=_0x11d0ff(0x342,0x165)+'d';const _0x288497=_0x532c4c,_0x10b085=new URL(_0x23b83f['relayUrl']);function _0xa9c7c8(_0x532c7f,_0x55e6db){return _0x143ed5(_0x532c7f-_0xf8f44a._0x1900e5,_0x55e6db);}return(!_0x10b085[_0x11d0ff(_0x103594._0x22985a,_0x103594._0x16dddc)]||_0x288497[_0xa9c7c8(0x1a3,_0x103594._0x4417c8)](_0x10b085[_0xa9c7c8(_0x103594._0x3ef486,0x41)],'/'))&&(_0x10b085[_0x11d0ff(_0x103594._0x22985a,_0x103594._0x3c12c3)]='/ws'),_0x10b085[_0xa9c7c8(_0x103594._0x5c77d9,-0x71)+_0x11d0ff(0x43c,_0x103594._0x51209b)][_0x11d0ff(_0x103594._0x4c49b2,_0x103594._0xf1b5f7)](_0x288497[_0x11d0ff(_0x103594._0xb915d7,_0x103594._0x350ea2)],_0x23b83f[_0xa9c7c8(0x81,-_0x103594._0x372c13)+'d']),_0x10b085[_0x11d0ff(0x3c5,0x2d5)+_0x11d0ff(0x43c,_0x103594._0x308620)]['set'](_0xa9c7c8(_0x103594._0x5d977d,0x15e),_0x11d0ff(_0x103594._0x4323ce,_0x103594._0x4e6215)),_0x10b085['searchPa'+_0xa9c7c8(0x17b,-_0x103594._0x3fcbc6)][_0xa9c7c8(_0x103594._0x276836,0x29)](_0x11d0ff(0x4b3,_0x103594._0x5632c2),_0x23b83f[_0x11d0ff(_0x103594._0x40db9e,_0x103594._0x4cd25d)+'Id']),_0x10b085[_0xa9c7c8(_0x103594._0x5c77d9,-0xfd)+_0xa9c7c8(0x17b,_0x103594._0x475687)]['set'](_0x11d0ff(_0x103594._0x55941d,0x63d),_0x23b83f['relaySec'+'ret']),_0x10b085['toString']();}function redactRelayWsUrl(_0x4f8165){const _0x37c494={_0xdd2c54:0x655,_0x4b90ad:0x24d,_0x36b8c6:0x4f2,_0x2579a1:0x169,_0x14e8a1:0x435,_0x5acfff:0x72,_0x46ab9a:0x260},_0x5a1a94={_0x22fe40:0x43c},_0xa3f2e4={_0x176d27:0xb1};function _0x3c69eb(_0x2713c5,_0x5bc48b){return _0x143ed5(_0x2713c5- -_0xa3f2e4._0x176d27,_0x5bc48b);}const _0x447eb5={};_0x447eb5['lUMvY']='token';const _0x104012=_0x447eb5,_0x2db10b=new URL(_0x4f8165);_0x2db10b[_0x2294f2(0x47b,0x62e)+_0x3c69eb(0x5,0x9e)]['has'](_0x2294f2(_0x37c494._0xdd2c54,0x7e4))&&_0x2db10b[_0x3c69eb(-0x72,-_0x37c494._0x4b90ad)+_0x2294f2(_0x37c494._0x36b8c6,0x643)][_0x3c69eb(-_0x37c494._0x2579a1,-0x1d9)](_0x104012[_0x2294f2(_0x37c494._0x14e8a1,0x276)],_0x3c69eb(_0x37c494._0x5acfff,_0x37c494._0x46ab9a)+'d>');function _0x2294f2(_0x1620d4,_0x47ca5d){return _0x143ed5(_0x1620d4-_0x5a1a94._0x22fe40,_0x47ca5d);}return _0x2db10b[_0x2294f2(0x54e,0x3a1)]();}function normalizeText(_0xa88540){const _0x1b4419={_0x1269af:0x38c,_0x1cb68f:0x5b,_0x590456:0x33,_0x43f747:0x233,_0x1e4f32:0x1f4,_0x2dfa7d:0x230,_0x2344fc:0x33,_0x1ae009:0x1be,_0x2d7ad3:0xb4},_0x405c05={_0x1fc00f:0xa2},_0x1501e3={};_0x1501e3['WRmlF']=_0x235d2a(0x2c0,_0x1b4419._0x1269af)+'2';function _0x32859c(_0x395ed4,_0x16a470){return _0x143ed5(_0x16a470-_0x405c05._0x1fc00f,_0x395ed4);}function _0x235d2a(_0x1ad5f6,_0x3cd8f7){return _0x143ed5(_0x3cd8f7-0xac,_0x1ad5f6);}_0x1501e3[_0x235d2a(-_0x1b4419._0x1cb68f,_0x1b4419._0x590456)]='utf8';const _0x1f7292=_0x1501e3,_0x322348=_0x1f7292[_0x235d2a(_0x1b4419._0x43f747,_0x1b4419._0x1e4f32)][_0x235d2a(0x248,0x20d)]('|');let _0x410e73=0x0;while(!![]){switch(_0x322348[_0x410e73++]){case'0':if(typeof _0xa88540===_0x235d2a(_0x1b4419._0x2dfa7d,0x3be))return _0xa88540;continue;case'1':if(Buffer['isBuffer'](_0xa88540))return _0xa88540[_0x235d2a(0x278,0x1be)](_0x1f7292[_0x235d2a(0x82,_0x1b4419._0x2344fc)]);continue;case'2':return null;case'3':if(Array['isArray'](_0xa88540))return Buffer[_0x32859c(0x46,0x140)](_0xa88540)[_0x235d2a(0x18b,_0x1b4419._0x1ae009)]('utf8');continue;case'4':if(_0xa88540 instanceof ArrayBuffer)return Buffer[_0x32859c(-0xc4,_0x1b4419._0x2d7ad3)](_0xa88540)['toString']('utf8');continue;}break;}}function normalizeBinary(_0x5da819){const _0x5eb299={_0x52544c:0x44a,_0x1ddcaf:0x3c8,_0x28f8fc:0x455};function _0x606df(_0x4d2a08,_0x3b198e){return _0x143ed5(_0x4d2a08-0x32a,_0x3b198e);}if(Buffer[_0x1d9fdc(0x6f4,0x7d9)](_0x5da819))return _0x5da819;if(typeof _0x5da819===_0x1d9fdc(0x755,0x7be))return Buffer[_0x1d9fdc(0x455,0x470)](_0x5da819,_0x1d9fdc(0x5cb,_0x5eb299._0x52544c));function _0x1d9fdc(_0x3c4d11,_0x3b5a79){return _0x143ed5(_0x3c4d11-0x443,_0x3b5a79);}if(Array['isArray'](_0x5da819))return Buffer[_0x606df(_0x5eb299._0x1ddcaf,0x286)](_0x5da819);return Buffer[_0x1d9fdc(_0x5eb299._0x28f8fc,0x42d)](_0x5da819);}function readRecentCliLogs(_0x320628){const _0x5f0c01={_0x2a3376:0x599,_0x4d11b9:0x4b5,_0x5619ee:0x5f7,_0x1814de:0x480,_0x15adf2:0x534,_0x672bea:0x43d,_0x52d820:0x30a,_0x4393e0:0x8a5,_0x3e0971:0x88c,_0x1cf973:0x7c0,_0x471445:0x86b,_0x57d8ef:0x726,_0x1f0e2b:0x773,_0x1fbaf9:0x390,_0x13bde0:0x87a};function _0x3e10a8(_0x14774f,_0x572558){return _0x143ed5(_0x572558-0x570,_0x14774f);}const _0x86fbde={};function _0x1d223c(_0x383c02,_0x2176e7){return _0x143ed5(_0x383c02-0x53b,_0x2176e7);}_0x86fbde[_0x3e10a8(_0x5f0c01._0x2a3376,_0x5f0c01._0x4d11b9)]=function(_0x3000cc,_0x1d8829){return _0x3000cc!=_0x1d8829;};const _0x1e2e30=_0x86fbde,{logPath:_0x215f0f,errorLogPath:_0x32c82d}=getServicePaths(),_0x35cb11=clampLines(_0x320628?.[_0x3e10a8(0x766,0x885)]??0xc8),_0x16f8fd=_0x320628?.[_0x3e10a8(0x735,_0x5f0c01._0x5619ee)]??null,_0x1bbac4=_0x1e2e30[_0x1d223c(_0x5f0c01._0x1814de,_0x5f0c01._0x15adf2)](_0x16f8fd,null)?Date[_0x3e10a8(_0x5f0c01._0x672bea,0x58e)]()-_0x16f8fd:null,_0x21ee47=[_0x215f0f];_0x320628?.[_0x3e10a8(_0x5f0c01._0x52d820,0x4d1)+_0x3e10a8(_0x5f0c01._0x4393e0,_0x5f0c01._0x3e0971)]&&_0x21ee47[_0x1d223c(_0x5f0c01._0x1cf973,_0x5f0c01._0x471445)](_0x32c82d);const _0x48f12f=_0x21ee47['flatMap'](_0x56197d=>readLogFile(_0x56197d)),_0x2f3b0b=_0x1bbac4==null?_0x48f12f:_0x48f12f[_0x3e10a8(_0x5f0c01._0x57d8ef,_0x5f0c01._0x1f0e2b)](_0x46098a=>_0x46098a['ts']!=null&&_0x46098a['ts']>=_0x1bbac4);return _0x2f3b0b[_0x1d223c(0x557,_0x5f0c01._0x1fbaf9)](-_0x35cb11)[_0x3e10a8(_0x5f0c01._0x13bde0,0x681)](_0x300759=>_0x300759[_0x3e10a8(0x70d,0x757)]);}async function buildDoctorReport(){const _0x43acdd={_0x4d93c2:0x208,_0xee875f:0x167,_0x561190:0x130,_0x2db398:0x1ca,_0x4b59e7:0x41,_0x44b930:0xa4,_0x172e8d:0xf9,_0x5e54fb:0xba,_0xbba204:0x22,_0x30eaf0:0x305,_0x2e34a5:0x105,_0x2723ff:0x2e2,_0x3fd787:0x2a1,_0x41a9a1:0x4ab,_0x21102b:0x272},_0x2e420c={_0x1fcad3:0x123},_0x674cc={'FQmES':function(_0x246a11){return _0x246a11();},'RwfRS':function(_0x1014a1,_0x52c0d6){return _0x1014a1(_0x52c0d6);},'Onvzp':function(_0x43d45f){return _0x43d45f();}};function _0x263a5e(_0x259fc9,_0x300c9b){return _0x143ed5(_0x259fc9- -_0x2e420c._0x1fcad3,_0x300c9b);}const _0x53a93a=readPairingConfig(),_0x56758=_0x674cc[_0x3b900f(0xd0,_0x43acdd._0x4d93c2)](getServiceStatus),_0x416cb6=readOpenClawInfo(),_0xfa51b0=resolveGatewayUrl();function _0x3b900f(_0x146a6c,_0x62f510){return _0x143ed5(_0x146a6c-0x170,_0x62f510);}const _0x485371=await checkGatewayReachable(_0xfa51b0);return{'paired':_0x674cc['RwfRS'](Boolean,_0x53a93a),'gatewayId':_0x53a93a?.[_0x263a5e(-_0x43acdd._0xee875f,-_0x43acdd._0x561190)+'d']??null,'serverUrl':_0x53a93a?.[_0x263a5e(-0x1e0,-_0x43acdd._0x2db398)+'l']??null,'relayUrl':_0x53a93a?.[_0x263a5e(_0x43acdd._0x4b59e7,-_0x43acdd._0x44b930)]??null,'instanceId':_0x53a93a?.[_0x263a5e(_0x43acdd._0x172e8d,-_0x43acdd._0x5e54fb)+'Id']??null,'serviceInstalled':_0x56758[_0x263a5e(-_0x43acdd._0xbba204,0x5d)+'d'],'serviceRunning':_0x56758[_0x3b900f(0x37b,_0x43acdd._0x30eaf0)],'serviceMethod':_0x56758['method'],'servicePath':_0x56758[_0x263a5e(0x1b,0xe0)+_0x3b900f(_0x43acdd._0x2e34a5,_0x43acdd._0x2723ff)],'logPath':_0x56758[_0x263a5e(-0x150,-0xd3)],'errorLogPath':_0x56758['errorLog'+'Path'],'openclawConfigDir':getOpenClawConfigDir(),'openclawMediaDir':_0x674cc[_0x3b900f(0x354,_0x43acdd._0x3fd787)](getOpenClawMediaDir),'openclawConfigFound':_0x416cb6['configFo'+'und'],'openclawAuthMode':_0x416cb6[_0x3b900f(_0x43acdd._0x41a9a1,0x581)],'openclawTokenFound':Boolean(_0x416cb6[_0x3b900f(0x389,_0x43acdd._0x21102b)]),'openclawPasswordFound':_0x674cc['RwfRS'](Boolean,_0x416cb6[_0x263a5e(0x1e2,0x2ac)]),'localGatewayUrl':_0xfa51b0,'localGatewayReachable':_0x485371};}async function ensurePairPrerequisites(){const _0x5cad4d={_0x2cede3:0x3b9,_0x877f35:0x31b,_0x3f69e3:0x14d,_0xd1af5:0x582,_0x2197e5:0x5b9,_0x466f78:0x3f8,_0x5321f3:0x56e,_0x239bd5:0x368,_0x4eafca:0x844,_0x51b79f:0x940,_0x4b4c47:0x324,_0x5cb79a:0x421,_0x462494:0x739,_0xaead51:0x81c,_0x5844f7:0x5f4,_0x748bb2:0x7b9,_0x4b3975:0x6ca,_0x3283af:0x2f3,_0x534199:0x26d,_0x1c8c74:0x648,_0x2b467f:0x5b7},_0xc639a2={_0x239b17:0x52a};function _0x1861ec(_0x4ab9e4,_0x270b41){return _0x143ed5(_0x4ab9e4-0x2b3,_0x270b41);}const _0x23aee8={};function _0x1b3e57(_0x22c107,_0x2ca29e){return _0x143ed5(_0x22c107-_0xc639a2._0x239b17,_0x2ca29e);}_0x23aee8[_0x1b3e57(0x848,0x7cf)]=_0x1861ec(_0x5cad4d._0x2cede3,0x26e)+_0x1861ec(0x59c,0x75d)+_0x1861ec(_0x5cad4d._0x877f35,_0x5cad4d._0x3f69e3)+_0x1861ec(_0x5cad4d._0xd1af5,0x6ca)+_0x1b3e57(_0x5cad4d._0x2197e5,_0x5cad4d._0x466f78)+_0x1b3e57(_0x5cad4d._0x5321f3,0x672)+_0x1861ec(_0x5cad4d._0x239bd5,0x53e)+_0x1b3e57(0x552,0x3af)+_0x1b3e57(_0x5cad4d._0x4eafca,0x751)+_0x1b3e57(0x612,0x52c)+_0x1b3e57(0x810,_0x5cad4d._0x51b79f)+'onally\x20w'+_0x1861ec(_0x5cad4d._0x4b4c47,_0x5cad4d._0x5cb79a)+'ypass\x20th'+'is\x20safet'+_0x1b3e57(_0x5cad4d._0x462494,_0x5cad4d._0xaead51);const _0x182a36=_0x23aee8,_0x46243e=await buildDoctorReport(),_0x32b9da=listPairPrerequisiteFailures(_0x46243e);if(_0x32b9da['length']>0x0)throw new Error([_0x1861ec(_0x5cad4d._0x5844f7,_0x5cad4d._0x748bb2)+_0x1861ec(0x51b,_0x5cad4d._0x4b3975)+'`clawket'+_0x1861ec(_0x5cad4d._0x3283af,_0x5cad4d._0x534199)+_0x1b3e57(0x4b7,0x536)+_0x1b3e57(_0x5cad4d._0x1c8c74,0x4b4)+_0x1b3e57(0x53a,0x37f)+_0x1b3e57(_0x5cad4d._0x2b467f,0x5d2)+'tes\x20are\x20'+_0x1861ec(0x4ad,0x619)+'y.',..._0x32b9da['map'](_0x3d4e73=>'-\x20'+_0x3d4e73),_0x182a36['LYHRF']]['join']('\x0a'));return _0x46243e;}function listPairPrerequisiteFailures(_0xfa95bb){const _0x4df50a={_0x14b381:0x4a5,_0x1bec51:0x641,_0x26797b:0x54c,_0x33a8c8:0x503,_0x302a51:0x5b3,_0x8b856:0x3a3,_0x59dbbd:0x6a0,_0x3fa720:0x4fc,_0x1e016b:0x556,_0x5519c3:0x6d3,_0x588a52:0x68b,_0x4a937b:0x2d1,_0x372ec6:0x7e7,_0x43594b:0x582,_0x1fd0ef:0x2c3,_0x381cd2:0x3c6,_0x46adff:0x588,_0x467ba8:0x7c9,_0x2e52e3:0x78f,_0x6cbf2a:0x7bb,_0x9abb71:0x2b8,_0x5e7a47:0x6db,_0x4d8888:0x3a8,_0x52f2bd:0x3e4,_0x3d5888:0x7a7,_0x442bcc:0x843,_0x2d6df3:0x47b,_0x41a7a5:0x73d,_0x5df0ad:0x7ee,_0x1cbfe2:0x249,_0x3ac3b6:0x355,_0x4bd94f:0x31f,_0x2b1db8:0x3f5,_0x4bd4d6:0x2f4,_0x116734:0x44f,_0x572c1d:0x33e,_0x2164c9:0x419,_0xa073c6:0x668,_0x5f0313:0x80b,_0x3faefd:0x5ed,_0x13c8e9:0x5c1,_0x270ada:0x6f6,_0x17d180:0xa7,_0x5b4dab:0x470,_0x5beec8:0x4c5,_0x3cb72f:0x278,_0x15da85:0x511,_0x50c545:0x6ea,_0x16ac3c:0x4de,_0x205975:0x50a,_0x54ba7:0x6dd,_0x7879dd:0x7f1,_0x5adca0:0x51d,_0x411ce9:0x373,_0x19b330:0x6a3,_0xf52646:0x4cd,_0x40fce2:0x485},_0x37691e={_0x2559a9:0x97},_0xfb37e2={};function _0x448428(_0xe2ad8d,_0x2f5c43){return _0x75393(_0x2f5c43,_0xe2ad8d-0x2bc);}_0xfb37e2['jPdfk']=_0x21e6ef(_0x4df50a._0x14b381,_0x4df50a._0x1bec51),_0xfb37e2[_0x448428(_0x4df50a._0x26797b,0x52a)]=_0x448428(_0x4df50a._0x33a8c8,0x4f8)+'\x20gateway'+_0x448428(_0x4df50a._0x302a51,0x75a)+_0x21e6ef(0x521,_0x4df50a._0x8b856)+'g.',_0xfb37e2[_0x448428(0x4f4,_0x4df50a._0x59dbbd)]=function(_0x5ab3f4,_0xc19f7d){return _0x5ab3f4===_0xc19f7d;};const _0x5cf6d9=_0xfb37e2,_0x51a1e2=[];!_0xfa95bb[_0x448428(_0x4df50a._0x3fa720,0x3e5)+'ConfigFo'+_0x448428(_0x4df50a._0x1e016b,_0x4df50a._0x5519c3)]&&_0x51a1e2[_0x448428(0x736,0x8c1)](_0x448428(0x503,_0x4df50a._0x588a52)+_0x448428(0x5ba,0x6ce)+_0x448428(0x44f,0x260)+_0x21e6ef(_0x4df50a._0x4a937b,0x4c7)+_0x448428(_0x4df50a._0x372ec6,0x82d)+_0x21e6ef(0x1c5,0x307)+'.');_0xfa95bb[_0x448428(0x4fc,_0x4df50a._0x1e016b)+_0x21e6ef(_0x4df50a._0x43594b,0x75f)+'nd']&&_0xfa95bb['openclaw'+_0x21e6ef(0x518,0x3be)+'Found']&&_0xfa95bb[_0x448428(0x4fc,0x6f4)+_0x21e6ef(_0x4df50a._0x1fd0ef,0x1d0)]==null&&_0x51a1e2['push'](_0x21e6ef(0x2de,_0x4df50a._0x381cd2)+_0x448428(0x43b,_0x4df50a._0x46adff)+_0x448428(_0x4df50a._0x467ba8,_0x4df50a._0x2e52e3)+'y\x20token\x20'+_0x448428(0x5b6,_0x4df50a._0x6cbf2a)+_0x21e6ef(0x32c,_0x4df50a._0x9abb71)+'figured,'+_0x448428(_0x4df50a._0x5e7a47,0x892)+'eway.aut'+_0x21e6ef(_0x4df50a._0x4d8888,_0x4df50a._0x52f2bd)+_0x448428(0x777,0x880));function _0x21e6ef(_0x55e950,_0x42087){return _0x75393(_0x42087,_0x55e950-_0x37691e._0x2559a9);}return!_0xfa95bb['openclaw'+_0x448428(_0x4df50a._0x3d5888,_0x4df50a._0x442bcc)+'nd']&&!_0xfa95bb[_0x21e6ef(0x2d7,_0x4df50a._0x2d6df3)+_0x448428(_0x4df50a._0x41a7a5,0x5a8)+'Found']&&_0x51a1e2[_0x448428(0x736,_0x4df50a._0x5df0ad)](_0x448428(_0x4df50a._0x33a8c8,_0x4df50a._0x52f2bd)+_0x21e6ef(_0x4df50a._0x1cbfe2,_0x4df50a._0x3ac3b6)+_0x21e6ef(_0x4df50a._0x4bd94f,0x197)+'\x20missing'+_0x21e6ef(0x506,_0x4df50a._0x2b1db8)+_0x21e6ef(0x43e,0x560)+'ord).'),_0xfa95bb[_0x448428(0x4fc,0x50a)+'AuthMode']===_0x5cf6d9[_0x21e6ef(0x4b5,_0x4df50a._0x4bd4d6)]&&!_0xfa95bb[_0x21e6ef(0x2d7,_0x4df50a._0x116734)+_0x448428(_0x4df50a._0x3d5888,0x86b)+'nd']&&_0x51a1e2['push'](_0x5cf6d9[_0x448428(_0x4df50a._0x26797b,0x399)]),_0x5cf6d9[_0x448428(0x4f4,0x41c)](_0xfa95bb[_0x21e6ef(0x2d7,_0x4df50a._0x572c1d)+_0x448428(0x4e8,_0x4df50a._0x2164c9)],_0x21e6ef(0x591,_0x4df50a._0xa073c6))&&!_0xfa95bb['openclaw'+_0x448428(0x73d,_0x4df50a._0x5f0313)+_0x448428(_0x4df50a._0x3faefd,0x78f)]&&_0x51a1e2['push']('OpenClaw'+'\x20gateway'+'\x20passwor'+_0x21e6ef(_0x4df50a._0x13c8e9,_0x4df50a._0x270ada)+_0x21e6ef(0x27d,_0x4df50a._0x17d180)),!_0xfa95bb[_0x448428(0x4c6,_0x4df50a._0x5b4dab)+_0x21e6ef(_0x4df50a._0x5beec8,0x506)+_0x21e6ef(_0x4df50a._0x3cb72f,0x125)]&&_0x51a1e2[_0x21e6ef(_0x4df50a._0x15da85,_0x4df50a._0x50c545)](_0x21e6ef(_0x4df50a._0x16ac3c,0x47b)+_0x21e6ef(0x40a,_0x4df50a._0x205975)+_0x448428(_0x4df50a._0x54ba7,_0x4df50a._0x7879dd)+_0x21e6ef(_0x4df50a._0x5adca0,_0x4df50a._0x411ce9)+_0x21e6ef(0x4d5,_0x4df50a._0x19b330)+'at\x20'+_0xfa95bb[_0x448428(0x4c6,0x5f8)+_0x21e6ef(_0x4df50a._0xf52646,_0x4df50a._0x40fce2)]+'.'),_0x51a1e2;}function readLogFile(_0x23e976){const _0x369a45={_0x54d030:0x66d},_0x58a278={_0x5022eb:0x367},_0x31c1a8={_0x1b6e8b:0x122};function _0x3aaf15(_0xfc3f33,_0x457900){return _0x75393(_0xfc3f33,_0x457900-_0x31c1a8._0x1b6e8b);}function _0x3b63c3(_0x2b35bf,_0x588a7d){return _0x75393(_0x2b35bf,_0x588a7d-_0x58a278._0x5022eb);}try{const _0x15e4f9=_0xa5ba60(_0x23e976,_0x3b63c3(0x882,0x6e4));return _0x15e4f9['split'](/\r?\n/)[_0x3b63c3(0x658,0x75f)](Boolean)[_0x3b63c3(0x515,_0x369a45._0x54d030)](_0x1df695=>({'raw':_0x1df695,'ts':parseTimestamp(_0x1df695)}));}catch{return[];}}function parseTimestamp(_0xed7774){const _0x1ede4a={_0x3e6c98:0xfb,_0x274d84:0x6f},_0x549156={_0x4aac9c:0x3c2},_0x543ddc={_0x3084ca:0x8b};function _0x14b3ca(_0x580140,_0x511b34){return _0x143ed5(_0x511b34-_0x543ddc._0x3084ca,_0x580140);}const _0x2eca9a={'JyntE':function(_0x476556,_0x52b96f){return _0x476556(_0x52b96f);}},_0x7386b6=_0xed7774[_0x34c525(0x2f1,_0x1ede4a._0x3e6c98)](/^\[(\d{13})\]\s/);function _0x34c525(_0x2b54dd,_0x48600b){return _0x143ed5(_0x2b54dd-_0x549156._0x4aac9c,_0x48600b);}if(!_0x7386b6)return null;const _0x86348f=_0x2eca9a['JyntE'](Number,_0x7386b6[0x1]);return Number[_0x14b3ca(-_0x1ede4a._0x274d84,0x43)](_0x86348f)?_0x86348f:null;}function clampLines(_0x350996){const _0x157d87={_0x26d4a2:0x597},_0x35f4bc={_0x51b4b4:0x160};function _0x4b47ed(_0x3f48f7,_0x46af47){return _0x143ed5(_0x46af47-0x4dd,_0x3f48f7);}if(!Number[_0x4b47ed(0x667,0x495)](_0x350996))return 0xc8;function _0x2835e3(_0x3ec601,_0x127b58){return _0x143ed5(_0x127b58- -_0x35f4bc._0x51b4b4,_0x3ec601);}return Math[_0x4b47ed(_0x157d87._0x26d4a2,0x41e)](0x1,Math['min'](0x7d0,Math[_0x4b47ed(0x445,0x530)](_0x350996)));}async function checkGatewayReachable(_0x5c5599){const _0xf4c025={_0x127171:0x397,_0x50742a:0x1b6,_0x4d252d:0xdc,_0x38df84:0x31a},_0xca56e1={_0x1830d1:0x3ba,_0x4462c8:0x36d,_0x1a74e8:0x16d,_0x444d21:0x17b,_0x2ea24f:0x206,_0x1e4e76:0x66},_0x55a649={_0x2c062c:0x583,_0x5814fb:0x23c},_0x1996f3={_0x31b9a9:0x8b8},_0x509567={};function _0x1d6972(_0x10c6e7,_0x4b617d){return _0x75393(_0x4b617d,_0x10c6e7- -0x1b9);}function _0x4f9555(_0x2ec981,_0x10b130){return _0x75393(_0x10b130,_0x2ec981- -0xfa);}_0x509567['DLjSB']=_0x4f9555(_0xf4c025._0x127171,0x4dc)+'1';const _0x3e943e=_0x509567;try{const _0x6c6805=new URL(_0x5c5599),_0x50f9a7=_0x6c6805[_0x1d6972(0x214,0x13f)]||_0x3e943e[_0x4f9555(_0xf4c025._0x50742a,_0xf4c025._0x4d252d)],_0x3661d2=_0x6c6805['port']?Number(_0x6c6805[_0x4f9555(0x28f,0x223)]):_0x6c6805[_0x1d6972(_0xf4c025._0x38df84,0x11f)]===_0x4f9555(0x249,0x282)?0x1bb:0x50;return await new Promise((_0x2781f9,_0x43e0b8)=>{const _0x4ed109={'hPlEM':function(_0x12ed76,_0x2948c8){return _0x12ed76(_0x2948c8);},'SMaGs':'timeout'},_0x52ddff=new Socket();function _0x4a0e6f(_0x3d86fe,_0x27788e){return _0x4f9555(_0x3d86fe- -0x79,_0x27788e);}function _0x2c6d32(_0x4cd283,_0x49bca5){return _0x4f9555(_0x49bca5-0x9c,_0x4cd283);}_0x52ddff[_0x2c6d32(_0xca56e1._0x1830d1,_0xca56e1._0x4462c8)+'ut'](0x384),_0x52ddff[_0x2c6d32(0x339,0x206)](_0x4a0e6f(0x153,_0xca56e1._0x1a74e8),()=>{_0x52ddff[_0x55d54f(0x812,_0x1996f3._0x31b9a9)]();function _0x55d54f(_0x119e83,_0x122103){return _0x2c6d32(_0x122103,_0x119e83-0x3fd);}_0x2781f9();}),_0x52ddff[_0x2c6d32(_0xca56e1._0x444d21,_0xca56e1._0x2ea24f)](_0x4a0e6f(0x13f,-_0xca56e1._0x1e4e76),()=>{const _0x818150={_0x3b7de9:0x69};function _0x64d968(_0x4a738d,_0x3db613){return _0x2c6d32(_0x4a738d,_0x3db613-0xec);}function _0x50da1a(_0x49d1e7,_0x4e44ae){return _0x2c6d32(_0x4e44ae,_0x49d1e7-_0x818150._0x3b7de9);}_0x52ddff[_0x64d968(_0x55a649._0x2c062c,0x501)](),_0x4ed109[_0x50da1a(0x153,_0x55a649._0x5814fb)](_0x43e0b8,new Error(_0x4ed109[_0x64d968(0x63b,0x484)]));}),_0x52ddff[_0x2c6d32(0x412,0x206)](_0x2c6d32(0x18a,0xd2),_0x5e4353=>{_0x52ddff['destroy'](),_0x43e0b8(_0x5e4353);}),_0x52ddff[_0x2c6d32(0x132,0x268)](_0x3661d2,_0x50f9a7);}),!![];}catch{return![];}}function parseLookbackToMs(_0x25a133){const _0x3ed935={_0x32285d:0x35d,_0x163126:0x5e,_0x2bd036:0x4d,_0xae4c46:0x10,_0x5cdb9f:0x20d,_0x4307c5:0x5f6,_0x188a3f:0x5ba,_0x1a8d1a:0x2b1,_0x500da2:0x6d4,_0x286d4d:0x2f4,_0x2b0867:0x356,_0x285084:0x271,_0x1556bd:0x1a0,_0x9a62c6:0x3d0,_0x32b5c5:0x533,_0x41fdde:0x6e9},_0x3a598d={_0x23e90a:0x2f4},_0x13a7ec={_0x56aae1:0x11e},_0x130f68={};_0x130f68[_0x4bcd17(0x3f0,_0x3ed935._0x32285d)]=function(_0xe9b385,_0x1f298d){return _0xe9b385===_0x1f298d;};const _0x466cdf=_0x130f68,_0x1d0309=_0x25a133?.[_0x4bcd17(0x1e3,_0x3ed935._0x163126)]();if(!_0x1d0309)return null;const _0x1ffd59=_0x1d0309[_0x4bcd17(-0x105,_0x3ed935._0x2bd036)](/^(\d+)(ms|s|m|h|d)$/i);function _0x4bcd17(_0x21397f,_0x1fefb2){return _0x143ed5(_0x1fefb2-_0x13a7ec._0x56aae1,_0x21397f);}if(!_0x1ffd59)throw new Error(_0x4bcd17(_0x3ed935._0xae4c46,_0x3ed935._0x5cdb9f)+_0x34b018(_0x3ed935._0x4307c5,_0x3ed935._0x188a3f)+'alue\x20\x22'+_0x1d0309+(_0x4bcd17(0x164,_0x3ed935._0x1a8d1a)+_0x34b018(0x59f,_0x3ed935._0x500da2)+_0x4bcd17(_0x3ed935._0x286d4d,_0x3ed935._0x2b0867)+_0x34b018(0x270,_0x3ed935._0x285084)+_0x34b018(0x59d,0x6d2)));const _0x5a54c0=Number(_0x1ffd59[0x1]),_0x28534d=_0x1ffd59[0x2][_0x4bcd17(0xd7,_0x3ed935._0x1556bd)+_0x34b018(0x41f,0x2cd)]();function _0x34b018(_0x286211,_0x1f916d){return _0x143ed5(_0x286211-_0x3a598d._0x23e90a,_0x1f916d);}const _0x3532ec=_0x28534d==='ms'?0x1:_0x466cdf[_0x4bcd17(_0x3ed935._0x9a62c6,0x35d)](_0x28534d,'s')?0x3e8:_0x466cdf[_0x34b018(_0x3ed935._0x32b5c5,0x3e3)](_0x28534d,'m')?0xea60:_0x466cdf[_0x34b018(0x533,_0x3ed935._0x41fdde)](_0x28534d,'h')?0x36ee80:0x5265c00;return _0x5a54c0*_0x3532ec;}import{readFileSync as _0x4106bf}from'fs';import{dirname as _0x212ec4,resolve}from'path';import{fileURLToPath}from'url';function readCliVersion(){const _0x4813bc={_0x1cab74:0xd0,_0x26e661:0x45,_0x201f5b:0xa7,_0x17ec28:0xe4,_0x9c1715:0x71},_0x164b30={_0x2d7dd4:0xc9},_0x4897d1={'nRqDP':function(_0x252c87,_0x426d9f){return _0x252c87(_0x426d9f);},'AviAZ':_0x32aee6(0x11f,-_0x4813bc._0x1cab74)+_0x32feb7(-0x147,_0x4813bc._0x26e661)};function _0x32aee6(_0x4b1277,_0x248f8c){return _0x143ed5(_0x4b1277-0x100,_0x248f8c);}const _0x49e03f=_0x4897d1[_0x32feb7(-0x41,-_0x4813bc._0x201f5b)](_0x212ec4,fileURLToPath(import.meta.url));function _0x32feb7(_0x4a472b,_0x266fe7){return _0x143ed5(_0x4a472b- -_0x164b30._0x2d7dd4,_0x266fe7);}const _0x1ed8a5=resolve(_0x49e03f,_0x4897d1[_0x32feb7(-0x110,_0x4813bc._0x17ec28)]),_0x243c4e=_0x4106bf(_0x1ed8a5,'utf8'),_0x51734b=JSON['parse'](_0x243c4e);return _0x51734b['version']??_0x32aee6(_0x4813bc._0x9c1715,-0x9f);}function buildPairingJson(_0x4fa2c6,_0x1bc8fd,_0x320d08,_0x8deda7){const _0x1e7bab={_0x2850de:0x3bd,_0x387413:0x264,_0xe4e95c:0x42f,_0x10877f:0x374,_0x3dc07a:0x3a4,_0x287177:0x1fc,_0x106320:0x239,_0x1dcab5:0x3a1,_0x985ee4:0x488,_0x14a97a:0x2a5,_0x4a726c:0x1c3,_0x43b51c:0x2cf,_0x4cdd3b:0x592,_0x4458ad:0x1da,_0xe5ae76:0x223,_0x6c2e97:0x20,_0x465f8a:0x22c,_0x4434b3:0x3f,_0x30e934:0x1a9,_0x5b6b52:0x482,_0xcae5f8:0x28a,_0x1da98c:0x28b,_0x3dc797:0x61f,_0x5ef5bd:0x53f,_0x4271b5:0x59c,_0x3384fc:0x1c2,_0x1d16f3:0x1db},_0x51b2b9={_0x54957d:0x266},_0x1527fb={};_0x1527fb[_0x5ce0a2(_0x1e7bab._0x2850de,0x368)+'d']=_0x320d08[_0x49d902(0x52f,0x367)+'d'],_0x1527fb[_0x49d902(_0x1e7bab._0x387413,0x471)]=_0x320d08[_0x49d902(_0x1e7bab._0xe4e95c,0x471)],_0x1527fb[_0x49d902(_0x1e7bab._0x10877f,0x56c)]=_0x320d08['method'],_0x1527fb['serviceP'+_0x5ce0a2(0x177,0x1fc)]=_0x320d08[_0x49d902(0x326,_0x1e7bab._0x3dc07a)+_0x5ce0a2(0x28d,_0x1e7bab._0x287177)],_0x1527fb[_0x49d902(0xaa,_0x1e7bab._0x106320)]=_0x320d08['logPath'],_0x1527fb[_0x5ce0a2(_0x1e7bab._0x1dcab5,0x2d0)+_0x5ce0a2(_0x1e7bab._0x985ee4,_0x1e7bab._0x14a97a)]=_0x320d08[_0x49d902(_0x1e7bab._0x4a726c,_0x1e7bab._0x43b51c)+'Path'],_0x1527fb[_0x5ce0a2(0x511,0x517)]=_0x320d08['pid'];const _0x92f87={};function _0x49d902(_0x91f136,_0x49ce41){return _0x143ed5(_0x49ce41-_0x51b2b9._0x54957d,_0x91f136);}_0x92f87['ok']=!![],_0x92f87['action']=_0x4fa2c6[_0x49d902(0x4b4,_0x1e7bab._0x4cdd3b)],_0x92f87[_0x5ce0a2(_0x1e7bab._0x4458ad,0x3bb)]=_0x8deda7,_0x92f87[_0x5ce0a2(0x2df,0x223)+'d']=_0x4fa2c6['config'][_0x5ce0a2(0x188,_0x1e7bab._0xe5ae76)+'d'];function _0x5ce0a2(_0x4e34fc,_0x1e16b7){return _0x143ed5(_0x1e16b7-0x267,_0x4e34fc);}return _0x92f87[_0x49d902(0x3e4,0x3ca)]=_0x4fa2c6[_0x49d902(_0x1e7bab._0x6c2e97,_0x1e7bab._0x465f8a)]['relayUrl'],_0x92f87[_0x49d902(-_0x1e7bab._0x4434b3,_0x1e7bab._0x30e934)+'l']=_0x4fa2c6['config'][_0x5ce0a2(-0x27,0x1aa)+'l'],_0x92f87['instance'+'Id']=_0x4fa2c6[_0x5ce0a2(0x246,0x22d)][_0x49d902(0x53c,_0x1e7bab._0x5b6b52)+'Id'],_0x92f87[_0x49d902(0x45f,_0x1e7bab._0xcae5f8)+'de']=_0x4fa2c6['accessCo'+'de'],_0x92f87[_0x5ce0a2(0x141,_0x1e7bab._0x1da98c)+_0x49d902(_0x1e7bab._0x3dc797,_0x1e7bab._0x5ef5bd)+_0x49d902(0xed,0x1c8)]=_0x4fa2c6[_0x5ce0a2(0x2a8,_0x1e7bab._0x1da98c)+_0x49d902(_0x1e7bab._0x4271b5,_0x1e7bab._0x5ef5bd)+_0x49d902(0x223,0x1c8)],_0x92f87[_0x5ce0a2(0x21e,0x348)+_0x5ce0a2(0x2e5,_0x1e7bab._0x287177)]=_0x1bc8fd,_0x92f87[_0x5ce0a2(_0x1e7bab._0x3384fc,_0x1e7bab._0x1d16f3)]=_0x1527fb,_0x92f87;}import{mkdirSync as _0x23b70c,writeFileSync as _0x5ec589}from'fs';function _0x143ed5(_0x32a55d,_0x557ce1){const _0x4cfa3c={_0xbb0f47:0x22b};return _0x4e7e(_0x32a55d- -_0x4cfa3c._0xbb0f47,_0x557ce1);}import{dirname as _0x10220c,isAbsolute,join as _0x167a5e,resolve as _0x147aad}from'path';import _0x43b88d from'qrcode';var DEFAULT_QR_DIR=getOpenClawMediaDir();async function writePairingQrPng(_0x1fe3bd,_0x1098e8){const _0x1ba743={_0x406ac2:0x17c,_0x451aee:0x7cc,_0x4109b3:0x1ed,_0x13bf60:0x17b,_0x5a43a2:0x1bd,_0x4ab7e3:0x1c6,_0x3e7486:0x6b,_0x3b0052:0x44,_0xc7465:0x1e0},_0x1c4091={_0x4fe014:0x5fa},_0x4afb92={_0x587b1f:0x188},_0x4f72e1={'TbJTe':function(_0x380979,_0x178a34,_0xbd3ad9){return _0x380979(_0x178a34,_0xbd3ad9);},'gouUs':function(_0x289980,_0xfee071){return _0x289980(_0xfee071);},'oyMuw':_0x57179d(0x29d,_0x1ba743._0x406ac2)+'g'},_0x583f61=_0x4f72e1[_0x2f949a(_0x1ba743._0x451aee,0x6a9)](resolveQrOutputPath,_0x1fe3bd,_0x1098e8),_0x15d020={};_0x15d020[_0x57179d(-0x39e,-_0x1ba743._0x4109b3)+'e']=!![],_0x23b70c(_0x4f72e1[_0x57179d(0x67,-0x8d)](_0x10220c,_0x583f61),_0x15d020);const _0x170fda={};_0x170fda[_0x57179d(-0x8c,-0x4e)]=_0x4f72e1[_0x57179d(0xda,_0x1ba743._0x13bf60)];function _0x57179d(_0x3bb82c,_0x3f1eea){return _0x143ed5(_0x3f1eea- -_0x4afb92._0x587b1f,_0x3bb82c);}_0x170fda[_0x57179d(-0x21d,-_0x1ba743._0x5a43a2)+_0x57179d(-_0x1ba743._0x4ab7e3,-0x18)+'evel']='M',_0x170fda[_0x2f949a(0x93e,0x8b0)]=0x1;function _0x2f949a(_0x3ce211,_0x148a6a){return _0x143ed5(_0x3ce211-_0x1c4091._0x4fe014,_0x148a6a);}_0x170fda['width']=0x2d0;const _0x2b901e=await _0x43b88d['toDataUR'+'L'](_0x1fe3bd[_0x57179d(0x3,-0xcf)+'d'],_0x170fda),_0x169bd6=_0x2b901e[_0x57179d(-_0x1ba743._0x3e7486,_0x1ba743._0x3b0052)](/^data:image\/png;base64,/,'');return _0x5ec589(_0x583f61,Buffer['from'](_0x169bd6,_0x57179d(_0x1ba743._0xc7465,-0x25))),_0x583f61;}function resolveQrOutputPath(_0x26320a,_0x3a839d){const _0x2b9f4f={_0x774dbc:0x12a,_0x33fc97:0x2c,_0x3eaa4d:0x2d1},_0x523c70={_0x1f8891:0x1af};function _0x1bd580(_0x48e3c,_0xe96264){return _0x143ed5(_0xe96264-_0x523c70._0x1f8891,_0x48e3c);}const _0x4aac63={'vYwLd':function(_0x3986d6,_0x16d3b5){return _0x3986d6(_0x16d3b5);},'EuZDf':function(_0x3b27f0,_0xc627f6){return _0x3b27f0(_0xc627f6);},'nBZkc':function(_0xfd9c4b,_0x19eb5c,_0x46116e){return _0xfd9c4b(_0x19eb5c,_0x46116e);}},_0x181daf=_0x3a839d?.['trim']();function _0x232949(_0x48cd25,_0x197621){return _0x143ed5(_0x197621-0x18,_0x48cd25);}if(_0x181daf)return _0x4aac63['vYwLd'](isAbsolute,_0x181daf)?_0x181daf:_0x4aac63['EuZDf'](_0x147aad,_0x181daf);return _0x4aac63[_0x232949(0xb,0x140)](_0x167a5e,DEFAULT_QR_DIR,_0x26320a[_0x232949(-_0x2b9f4f._0x774dbc,-0x22)][_0x232949(-0x4,-_0x2b9f4f._0x33fc97)+'d']+_0x1bd580(0x124,_0x2b9f4f._0x3eaa4d));}function _0x4e7e(_0x5cdcc3,_0x16552c){_0x5cdcc3=_0x5cdcc3-0x156;const _0x2ded83=_0x269e();let _0x3fc3ea=_0x2ded83[_0x5cdcc3];if(_0x4e7e['ZUhWcs']===undefined){var _0x12f8dd=function(_0x25ba3e){const _0x1764cb='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x531963='',_0x5654e1='',_0x3bc792=_0x531963+_0x12f8dd;for(let _0x27eed8=0x0,_0x862a51,_0x45c72e,_0x4939d2=0x0;_0x45c72e=_0x25ba3e['charAt'](_0x4939d2++);~_0x45c72e&&(_0x862a51=_0x27eed8%0x4?_0x862a51*0x40+_0x45c72e:_0x45c72e,_0x27eed8++%0x4)?_0x531963+=_0x3bc792['charCodeAt'](_0x4939d2+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x862a51>>(-0x2*_0x27eed8&0x6)):_0x27eed8:0x0){_0x45c72e=_0x1764cb['indexOf'](_0x45c72e);}for(let _0x28a010=0x0,_0x5dce7f=_0x531963['length'];_0x28a010<_0x5dce7f;_0x28a010++){_0x5654e1+='%'+('00'+_0x531963['charCodeAt'](_0x28a010)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x5654e1);};_0x4e7e['lsoPRJ']=_0x12f8dd,_0x4e7e['VAUryg']={},_0x4e7e['ZUhWcs']=!![];}const _0x269e8f=_0x2ded83[0x0],_0x4e7e57=_0x5cdcc3+_0x269e8f,_0x5704f7=_0x4e7e['VAUryg'][_0x4e7e57];if(!_0x5704f7){const _0x577fa6=function(_0x2d8694){this['WTzoRE']=_0x2d8694,this['hMWcTY']=[0x1,0x0,0x0],this['rSHsLa']=function(){return'newState';},this['zkUPOB']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['eaaNsr']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x577fa6['prototype']['HhkOJi']=function(){const _0x462305=new RegExp(this['zkUPOB']+this['eaaNsr']),_0x4212c9=_0x462305['test'](this['rSHsLa']['toString']())?--this['hMWcTY'][0x1]:--this['hMWcTY'][0x0];return this['QSHlTo'](_0x4212c9);},_0x577fa6['prototype']['QSHlTo']=function(_0x16324c){if(!Boolean(~_0x16324c))return _0x16324c;return this['hTBrfy'](this['WTzoRE']);},_0x577fa6['prototype']['hTBrfy']=function(_0x1ecf64){for(let _0x40ec70=0x0,_0x2c5274=this['hMWcTY']['length'];_0x40ec70<_0x2c5274;_0x40ec70++){this['hMWcTY']['push'](Math['round'](Math['random']())),_0x2c5274=this['hMWcTY']['length'];}return _0x1ecf64(this['hMWcTY'][0x0]);},new _0x577fa6(_0x4e7e)['HhkOJi'](),_0x3fc3ea=_0x4e7e['lsoPRJ'](_0x3fc3ea),_0x4e7e['VAUryg'][_0x4e7e57]=_0x3fc3ea;}else _0x3fc3ea=_0x5704f7;return _0x3fc3ea;}function decidePairServiceAction(_0x26543e,_0x1b84c9){const _0x46211d={_0x2986c3:0x18d,_0x325754:0x71,_0x4891a5:0x7eb,_0x572605:0x6be,_0x4eb65f:0x5e0,_0x232046:0x397,_0x1d8d05:0x3ba,_0x105a4d:0x885,_0x27c312:0x6d1,_0x566da1:0x506,_0x19db93:0x51a},_0x2d66a6={};_0x2d66a6[_0x354225(_0x46211d._0x2986c3,_0x46211d._0x325754)]=_0x4ec98d(_0x46211d._0x4891a5,0x801);const _0x181660=_0x2d66a6;if(!_0x1b84c9[_0x4ec98d(_0x46211d._0x572605,_0x46211d._0x4eb65f)+'d'])return _0x354225(0x30d,0x411);if(!_0x1b84c9[_0x354225(_0x46211d._0x232046,0x572)])return _0x354225(_0x46211d._0x1d8d05,0x1ad);if(_0x26543e['action']===_0x4ec98d(_0x46211d._0x105a4d,_0x46211d._0x27c312)+'ed')return _0x181660['pEANd'];function _0x4ec98d(_0x247285,_0x1a7366){return _0x75393(_0x1a7366,_0x247285-0x3c8);}function _0x354225(_0x3a7de1,_0xebce6){return _0x75393(_0xebce6,_0x3a7de1- -0x69);}return _0x4ec98d(_0x46211d._0x566da1,_0x46211d._0x19db93);}async function main(){const _0x4c0860={_0x3eed7a:0x2ea,_0x148382:0x22d,_0xd5fe9b:0x410,_0x194ee0:0x541,_0x103434:0x11,_0x33d4c7:0x39c,_0x59ba63:0x5f9,_0x46d85b:0x476,_0x463cae:0x45b,_0x31b391:0x26,_0x14c999:0xb4,_0x21ee1c:0x13e,_0x171089:0x6d3,_0x3256a6:0x42b,_0x1b9460:0x351,_0x375ab1:0x279,_0x38f430:0x14a,_0x21cc1f:0x34f,_0x3e91ed:0x356,_0x35fc8f:0x2c8,_0xbbb1c6:0x34f,_0xc5874c:0x118,_0x86c4c2:0x436,_0x298b36:0x501,_0x31f6bd:0x1a5,_0x55b256:0x334,_0x1ba591:0x2b5,_0x5fdaa1:0x21e,_0x2c3a14:0x52,_0x313cfd:0x20,_0x5d3812:0x1da,_0x31199f:0x6d0,_0xfe566f:0x45a,_0x3b7e12:0x64a,_0x303efe:0x347,_0x283d74:0x6f7,_0x259066:0x3dd,_0x993a01:0x213,_0x5d8f69:0x2fb,_0x384724:0x1fb,_0x3defcc:0x398,_0x8a172f:0x28c,_0x12fd39:0x3e7,_0x226be5:0x3d5,_0x353243:0x2b,_0x168e07:0x31,_0x422a69:0x2b7,_0x27789a:0x1c7,_0x450eb8:0x523,_0x2939d8:0x687,_0x389b40:0x84,_0x542e4e:0x29a,_0x52b05b:0x1a9,_0x2febf3:0x498,_0x393a7f:0x6a,_0x36e80e:0x5e,_0x4cf9a8:0x316,_0xbc58a0:0x84,_0x2b7581:0x263,_0x48499d:0x385,_0x251aae:0xd1,_0x2cc292:0x5df,_0x3ac635:0x250,_0x30ff46:0x296,_0x512499:0x358,_0x51938b:0x392,_0x2acb09:0x336,_0x1def13:0x88c,_0x5dca21:0x3b,_0x5b1d14:0x618,_0x479194:0x513,_0x4584f7:0x38c,_0x492434:0x5dc,_0x18c714:0x17d,_0x5dfafc:0x77b,_0x1287e4:0x668,_0x3d5e81:0x4bf,_0x3b320e:0x138,_0x888c56:0x4ab,_0x1d1382:0x360,_0x51b593:0x324,_0x2e7e4a:0x391,_0x450adc:0x369,_0x296bbf:0x340,_0x24cd5f:0x470,_0x4993d4:0x1b1,_0x401687:0xbb,_0x21b7f2:0x496,_0x1b0812:0x436,_0x4f089c:0x5d7,_0x11eaa7:0x67b,_0x26329e:0x576,_0x59743a:0x311,_0x3b69d1:0x572,_0x587d9f:0x29f,_0x1897ad:0xff,_0x57a21c:0x722,_0x1c9e10:0x486,_0x2a1d36:0x6f4,_0x43ed86:0x449,_0x5afccd:0x330,_0xe7351a:0x635,_0x2f555c:0x6fe,_0x16ab40:0x112,_0x4e2947:0x503,_0x11b9f1:0x799,_0x34d573:0x6d4,_0x400164:0x72,_0x2e7407:0x9e,_0xb130d6:0x4ad,_0x50d6f0:0x310,_0x1c2418:0x13c,_0x412da3:0x68b,_0xa40793:0x1c3,_0x1d872a:0x640,_0x18505d:0x182,_0x56f330:0x371,_0x3d9156:0x74f,_0x56d1aa:0x286,_0x199676:0x5b1,_0x23dd4f:0x43d,_0x2d2b9e:0x522,_0x347aa4:0x375,_0x1a34f7:0x560,_0x3de26e:0xea,_0x4a48b7:0x38f,_0x56b19a:0x32c,_0x17bf52:0x158,_0x36f7fa:0x55,_0xf86c15:0x573,_0x10c976:0x64c,_0x1aa32d:0x441,_0x43f81c:0x372,_0x3310b3:0x46c,_0x5ef52c:0x593,_0x508f89:0x586,_0x16aaf7:0x59f,_0x86f4f3:0x2a9,_0x143433:0x5f2,_0xf5f7ac:0x30a,_0x5ccc78:0x1d4,_0x265f05:0x4ac,_0x29592b:0x236,_0x235927:0x368,_0x10327e:0x6a7,_0x5e64a5:0x331,_0x4ba775:0x3a8,_0x2f63c1:0x5a3,_0x5846cb:0x4cf,_0x334600:0x579,_0x1ef360:0x2f0,_0x433966:0x1c9,_0x4557a9:0x17e,_0x1f2f24:0x35f,_0x3070fa:0x481,_0x33be80:0x10b,_0x5e9171:0x2e9,_0x2d6fe7:0x3af,_0x4b8b94:0x435,_0x399c02:0xfd,_0x3aebe7:0x27f,_0x1e8fa8:0x134,_0x3deb8d:0x3b5,_0x3f4eb5:0x4c1,_0x3160f6:0x2ad},_0x46c959={_0x5b8188:0x4b8,_0x3fe16e:0x5ba,_0x5deb75:0x109,_0x52b2e9:0xa35,_0x2fe571:0x82e,_0x361600:0x353,_0xdc578:0x260,_0x2dca6e:0x1ea,_0x315346:0x1a},_0x2b29b9={_0x4eed6e:0x1a8},_0x5be056={_0x46c337:0x1ed,_0x2d0810:0xe3,_0x5188d8:0x17e,_0x1bec91:0x331,_0x240f3a:0x2e,_0x14f8e0:0x304,_0x80374e:0x35c,_0x1c1d41:0x39a,_0x52a83b:0x334,_0x58fc71:0x83},_0x7c83db={_0x26caa3:0xcf},_0x50d978={_0x11df67:0x647,_0x2ba9a3:0x6ee,_0x2d6748:0x6bb,_0x30aafc:0x8bd,_0x3eb86b:0x715,_0x1d19d5:0x4ca,_0x17d002:0x40c,_0x91465e:0x73f,_0x4c7bd7:0x646,_0x253086:0x837,_0x50a7e7:0x86e,_0x5ba09c:0x55f,_0x2e2b59:0x4ed,_0x1f4cb9:0x821,_0x3427f7:0x6fc,_0x303b00:0x6bb,_0x25be20:0x4a5,_0x12bab7:0x3e0,_0x4a250e:0x813,_0x2fe663:0x6ba,_0x312f92:0x6e6,_0x36f11e:0x44e,_0xe764ed:0x548},_0x322ff5={_0x3e2908:0xae},_0x3f0d74={_0x4300e5:0x3e0,_0x11acfe:0x511,_0x490749:0x59c},_0x1dff0a={_0x1ec786:0x204},_0x2b2269={'DFMLR':_0x17fdd1(_0x4c0860._0x3eed7a,_0x4c0860._0x148382),'LCKGw':function(_0x42e8d6,_0x174f8b){return _0x42e8d6(_0x174f8b);},'qXtbj':function(_0x580f75,_0x5d72b0,_0x3a1791){return _0x580f75(_0x5d72b0,_0x3a1791);},'LpkSm':function(_0x13d08c,_0x107023,_0x55a2ba){return _0x13d08c(_0x107023,_0x55a2ba);},'CkLjo':function(_0x5110ae,_0x97451a){return _0x5110ae===_0x97451a;},'BUjle':'Auto-ins'+_0x17fdd1(_0x4c0860._0xd5fe9b,_0x4c0860._0x194ee0)+'ackgroun'+'d\x20servic'+'e.','ZzTTz':'register'+'ed','UamKM':function(_0x4c43c7,_0x182cef){return _0x4c43c7(_0x182cef);},'eIrvL':function(_0x4831d6,_0x1e6231,_0x21a567,_0x1ca948,_0x1c8560){return _0x4831d6(_0x1e6231,_0x21a567,_0x1ca948,_0x1c8560);},'TFhuo':function(_0x479463,_0x13dc31,_0x430730){return _0x479463(_0x13dc31,_0x430730);},'xSRKI':_0x17fdd1(0x49,-_0x4c0860._0x103434)+_0x3a1378(0x223,_0x4c0860._0x33d4c7)+'reshed.','EACGy':function(_0x1009d2,_0x10e5f5){return _0x1009d2===_0x10e5f5;},'GFYOi':function(_0x219d75){return _0x219d75();},'ggWKf':function(_0x50c9e8,_0x36ca58,_0xcd0a90){return _0x50c9e8(_0x36ca58,_0xcd0a90);},'YvOuH':function(_0x112f8b,_0x4c81a8){return _0x112f8b===_0x4c81a8;},'TdBEx':function(_0x386685){return _0x386685();},'xdYhg':function(_0x294fb2,_0x50d4d3){return _0x294fb2===_0x50d4d3;},'WcMdI':_0x3a1378(0x57f,_0x4c0860._0x59ba63)+_0x3a1378(_0x4c0860._0x46d85b,_0x4c0860._0x463cae)+_0x17fdd1(0x6a,0xff)+_0x17fdd1(_0x4c0860._0x31b391,-_0x4c0860._0x14c999),'Axkcx':function(_0x4c945e){return _0x4c945e();},'NjdpM':function(_0x2f9b34,_0x3e7932){return _0x2f9b34(_0x3e7932);},'IQpWJ':_0x17fdd1(_0x4c0860._0x21ee1c,-0xb8),'NxqoQ':function(_0x2f4784,_0x16ae54){return _0x2f4784(_0x16ae54);},'vmlqE':function(_0x23b0d8,_0xd93987,_0x36a75d){return _0x23b0d8(_0xd93987,_0x36a75d);},'uQtIs':_0x3a1378(_0x4c0860._0x171089,0x4f6),'Wmniz':function(_0x2b39ed){return _0x2b39ed();},'iIDWM':function(_0x23842a,_0x235b1b){return _0x23842a(_0x235b1b);},'AGGBf':_0x3a1378(_0x4c0860._0x3256a6,_0x4c0860._0x1b9460)+_0x17fdd1(0x3c3,_0x4c0860._0x375ab1),'qqrbc':function(_0x193263){return _0x193263();},'TMTHf':'SIGINT','vAwip':_0x17fdd1(0x2b1,_0x4c0860._0x38f430),'kyzxv':function(_0x51263d){return _0x51263d();}},[,,_0x1cf95f=_0x3a1378(0x659,0x574),..._0x11c354]=process[_0x3a1378(0x34a,0x487)],_0x1351f5=_0x2b2269[_0x3a1378(0x357,_0x4c0860._0x21cc1f)](hasFlag,_0x11c354,_0x3a1378(0x298,_0x4c0860._0x3e91ed)+'e'),_0x457f21=_0x2b2269[_0x3a1378(_0x4c0860._0x35fc8f,_0x4c0860._0xbbb1c6)](hasFlag,_0x11c354,_0x17fdd1(0x138,_0x4c0860._0xc5874c));function _0x3a1378(_0x3c9c28,_0x46471d){return _0x75393(_0x3c9c28,_0x46471d-_0x1dff0a._0x1ec786);}if(_0x1cf95f===_0x3a1378(_0x4c0860._0x86c4c2,0x5e5)){const _0x501f32=hasFlag(_0x11c354,_0x3a1378(0x3d0,_0x4c0860._0x298b36));!_0x501f32&&await ensurePairPrerequisites();const _0x1bb8b9=resolveGatewayAuth();if(_0x3a1378(_0x4c0860._0x31f6bd,_0x4c0860._0x55b256)in _0x1bb8b9)throw new Error(_0x1bb8b9['error']);const _0x562680=readFlag(_0x11c354,_0x17fdd1(_0x4c0860._0x1ba591,_0x4c0860._0x5fdaa1))??readFlag(_0x11c354,'-s')??_0x17fdd1(_0x4c0860._0x2c3a14,_0x4c0860._0x313cfd)+_0x17fdd1(_0x4c0860._0x5d3812,0x1e4)+_0x3a1378(0x7e7,_0x4c0860._0x31199f)+'.ai',_0x309462=_0x2b2269[_0x3a1378(_0x4c0860._0xfe566f,_0x4c0860._0x3b7e12)](readFlag,_0x11c354,'--name')??readFlag(_0x11c354,'-n')??getDefaultBridgeDisplayName(),_0x4ffdc9=_0x2b2269['LpkSm'](readFlag,_0x11c354,'--qr-fil'+'e'),_0xe7627b={};_0xe7627b['serverUr'+'l']=_0x562680,_0xe7627b[_0x17fdd1(_0x4c0860._0x303efe,0x1a9)+_0x17fdd1(0x403,0x402)]=_0x309462,_0xe7627b[_0x3a1378(_0x4c0860._0x283d74,0x71c)+_0x17fdd1(_0x4c0860._0x259066,_0x4c0860._0x993a01)]=_0x1bb8b9[_0x17fdd1(_0x4c0860._0x5d8f69,0x1c7)],_0xe7627b[_0x3a1378(_0x4c0860._0x384724,_0x4c0860._0x3defcc)+_0x3a1378(_0x4c0860._0x8a172f,0x330)]=_0x1bb8b9[_0x17fdd1(_0x4c0860._0x12fd39,0x47f)];const _0x131403=await pairGateway(_0xe7627b),_0x3c0db7=await writePairingQrPng(_0x131403,_0x4ffdc9),_0x590f03=getServiceStatus(),_0x51e076=_0x2b2269[_0x3a1378(0x29b,_0x4c0860._0xbbb1c6)](decidePairServiceAction,_0x131403,_0x590f03);if(_0x2b2269[_0x3a1378(0x527,_0x4c0860._0x226be5)](_0x51e076,_0x17fdd1(_0x4c0860._0x353243,_0x4c0860._0x168e07))){_0x457f21?printJson(buildPairingJson(_0x131403,_0x3c0db7,_0x590f03,_0x17fdd1(_0x4c0860._0x422a69,0x185)+_0x17fdd1(0x6a,_0x4c0860._0x27789a)+'ce\x20alrea'+_0x3a1378(0x5a9,0x568)+_0x3a1378(_0x4c0860._0x450eb8,_0x4c0860._0x2939d8)+'\x20unchang'+_0x17fdd1(_0x4c0860._0x389b40,-0x9a))):(printPairingInfo(_0x131403,_0x3c0db7),console[_0x17fdd1(_0x4c0860._0x542e4e,_0x4c0860._0x52b05b)](_0x3a1378(_0x4c0860._0x2febf3,0x5ce)+_0x17fdd1(_0x4c0860._0x393a7f,-_0x4c0860._0x36e80e)+_0x17fdd1(_0x4c0860._0x4cf9a8,0x2b6)+'dy\x20runni'+'ng.\x20Left'+'\x20unchang'+_0x17fdd1(_0x4c0860._0xbc58a0,-0x81)),printServiceResult(null,_0x590f03));return;}try{const _0x5bcfe9=_0x51e076===_0x17fdd1(_0x4c0860._0x2b7581,0x64)?installService():restartService(),_0x4b5239=_0x51e076===_0x3a1378(_0x4c0860._0x48499d,0x57a)?_0x2b2269[_0x17fdd1(_0x4c0860._0x251aae,-0xf8)]:_0x131403[_0x3a1378(_0x4c0860._0x2cc292,0x725)]===_0x2b2269['ZzTTz']?_0x17fdd1(0x1fb,0x21c)+_0x17fdd1(_0x4c0860._0x3ac635,0x3d6)+_0x17fdd1(_0x4c0860._0x30ff46,_0x4c0860._0x512499)+_0x3a1378(_0x4c0860._0x51938b,_0x4c0860._0x2acb09)+_0x3a1378(_0x4c0860._0x1def13,0x720)+_0x17fdd1(0x8c,-_0x4c0860._0x5dca21)+_0x17fdd1(0x331,0x2c1)+_0x3a1378(0x7e0,_0x4c0860._0x5b1d14)+_0x3a1378(_0x4c0860._0x479194,_0x4c0860._0x4584f7)+_0x3a1378(_0x4c0860._0x492434,0x6d6):_0x17fdd1(0x2b7,0x39e)+_0x17fdd1(0x6a,_0x4c0860._0x18c714)+_0x3a1378(_0x4c0860._0x5dfafc,_0x4c0860._0x1287e4)+'nstalled'+'\x20but\x20sto'+'pped.\x20Re'+_0x17fdd1(0x8b,-0x13)+_0x3a1378(0x7cd,0x696);_0x457f21?_0x2b2269['UamKM'](printJson,_0x2b2269[_0x3a1378(0x623,_0x4c0860._0x3d5e81)](buildPairingJson,_0x131403,_0x3c0db7,_0x5bcfe9,_0x4b5239)):(printPairingInfo(_0x131403,_0x3c0db7),_0x2b2269[_0x17fdd1(0x26f,_0x4c0860._0x3b320e)](printServiceResult,_0x4b5239,_0x5bcfe9));}catch(_0x3d2d9d){console[_0x3a1378(0x189,0x334)](_0x3a1378(_0x4c0860._0x888c56,_0x4c0860._0x1d1382)+_0x3a1378(0x2ff,_0x4c0860._0x51b593)+_0x17fdd1(_0x4c0860._0x2e7e4a,_0x4c0860._0x450adc)+_0x3a1378(_0x4c0860._0x296bbf,_0x4c0860._0x24cd5f)+'ctivatio'+_0x17fdd1(0x226,_0x4c0860._0x4993d4)+':\x20'+formatError(_0x3d2d9d)),console[_0x17fdd1(0x1d,-_0x4c0860._0x401687)]('You\x20can\x20'+'still\x20ru'+_0x17fdd1(_0x4c0860._0x48499d,0x407)+_0x3a1378(0x592,_0x4c0860._0x21b7f2)+_0x3a1378(_0x4c0860._0x1b0812,_0x4c0860._0x4f089c)+_0x3a1378(_0x4c0860._0x11eaa7,_0x4c0860._0x26329e)+_0x3a1378(0x38f,0x39f)+_0x17fdd1(0x378,_0x4c0860._0x59743a)),process[_0x17fdd1(0x38e,_0x4c0860._0x3b69d1)]=0x1;}return;}if(_0x1cf95f==='refresh-'+_0x17fdd1(_0x4c0860._0x587d9f,_0x4c0860._0x1897ad)){const _0x1a55ff=readFlag(_0x11c354,_0x3a1378(0x8c9,_0x4c0860._0x57a21c)+'e'),_0x313d7f=resolveGatewayAuth();if(_0x17fdd1(0x1d,0x1a0)in _0x313d7f)throw new Error(_0x313d7f[_0x3a1378(_0x4c0860._0x1c9e10,0x334)]);const _0x5750c3={};_0x5750c3[_0x3a1378(0x68a,0x71c)+_0x3a1378(0x895,_0x4c0860._0x2a1d36)]=_0x313d7f[_0x17fdd1(_0x4c0860._0x5d8f69,0x28c)],_0x5750c3['gatewayP'+_0x3a1378(_0x4c0860._0x43ed86,_0x4c0860._0x5afccd)]=_0x313d7f[_0x3a1378(_0x4c0860._0xe7351a,_0x4c0860._0x2f555c)];const _0x21c4d5=await refreshAccessCode(_0x5750c3),_0x1f3977=await writePairingQrPng(_0x21c4d5,_0x1a55ff);_0x457f21?printJson(_0x2b2269['eIrvL'](buildPairingJson,_0x21c4d5,_0x1f3977,getServiceStatus(),_0x2b2269['xSRKI'])):printPairingInfo(_0x21c4d5,_0x1f3977);return;}if(_0x2b2269['EACGy'](_0x1cf95f,_0x17fdd1(0x263,_0x4c0860._0x16ab40))){const _0x34f48d=requirePairingConfig(),_0x44deb7=_0x2b2269[_0x3a1378(0x6fd,0x557)](installService);console[_0x3a1378(_0x4c0860._0x4e2947,0x5b1)](_0x3a1378(0x44f,0x37f)+'d\x20backgr'+'ound\x20ser'+_0x3a1378(_0x4c0860._0x11b9f1,_0x4c0860._0x34d573)+'\x20gateway'+'\x20'+_0x34f48d[_0x17fdd1(0x9e,-0x13a)+'d']+'.'),_0x2b2269[_0x17fdd1(_0x4c0860._0x400164,-_0x4c0860._0x2e7407)](printServiceResult,null,_0x44deb7);return;}if(_0x2b2269[_0x3a1378(0x390,_0x4c0860._0xb130d6)](_0x1cf95f,_0x17fdd1(_0x4c0860._0x50d6f0,_0x4c0860._0x1c2418))){const _0xea23d9=_0x2b2269[_0x3a1378(0x659,_0x4c0860._0x412da3)](requirePairingConfig),_0xf0616b=restartService();console[_0x17fdd1(_0x4c0860._0x542e4e,_0x4c0860._0xa40793)](_0x3a1378(0x588,_0x4c0860._0x1d872a)+'d\x20backgr'+_0x3a1378(_0x4c0860._0x18505d,_0x4c0860._0x56f330)+'vice\x20for'+'\x20gateway'+'\x20'+_0xea23d9['gatewayI'+'d']+'.'),_0x2b2269[_0x3a1378(0x404,0x586)](printServiceResult,null,_0xf0616b);return;}if(_0x2b2269['xdYhg'](_0x1cf95f,_0x17fdd1(0x308,_0x4c0860._0x16ab40))){const _0x5710d7=stopService();console[_0x3a1378(_0x4c0860._0x3d9156,0x5b1)](_0x2b2269[_0x17fdd1(0x281,_0x4c0860._0x56d1aa)]),printServiceResult(null,_0x5710d7);return;}if(_0x1cf95f==='uninstal'+'l'){const _0x56331b=_0x2b2269['GFYOi'](uninstallService);console[_0x3a1378(0x765,_0x4c0860._0x199676)](_0x3a1378(_0x4c0860._0x23dd4f,_0x4c0860._0x2d2b9e)+'backgrou'+'nd\x20servi'+_0x3a1378(_0x4c0860._0x347aa4,_0x4c0860._0x1a34f7)+_0x17fdd1(_0x4c0860._0x3de26e,0x214)),printServiceResult(null,_0x56331b);return;}if(_0x1cf95f==='reset'){_0x2b2269[_0x17fdd1(_0x4c0860._0x4a48b7,0x19a)](stopService),deletePairingConfig(),console[_0x17fdd1(_0x4c0860._0x542e4e,0x246)](_0x17fdd1(0x338,_0x4c0860._0x56b19a)+_0x17fdd1(_0x4c0860._0x17bf52,_0x4c0860._0x36f7fa)+_0x3a1378(_0x4c0860._0xf86c15,_0x4c0860._0x10c976)+getPairingConfigPath());return;}if(_0x2b2269[_0x17fdd1(0x24b,_0x4c0860._0x450adc)](_0x1cf95f,_0x3a1378(0x62c,_0x4c0860._0x1aa32d))){_0x2b2269['Axkcx'](printStatus);return;}if(_0x1cf95f===_0x3a1378(_0x4c0860._0x43f81c,_0x4c0860._0x3310b3)){const _0x55feb9=_0x2b2269['NjdpM'](Number,_0x2b2269[_0x17fdd1(0x38,-0x8b)](readFlag,_0x11c354,_0x2b2269['IQpWJ'])??_0x3a1378(0x4ad,_0x4c0860._0x5ef52c)),_0x319caf=_0x2b2269[_0x17fdd1(0x2cd,0x434)](parseLookbackToMs,_0x2b2269[_0x3a1378(0x763,_0x4c0860._0x508f89)](readFlag,_0x11c354,_0x3a1378(_0x4c0860._0x16aaf7,0x4dc))??_0x2b2269[_0x17fdd1(_0x4c0860._0x86f4f3,0xae)](readFlag,_0x11c354,'-l')),_0x5f24b3=readRecentCliLogs({'lines':_0x55feb9,'lastMs':_0x319caf,'includeErrorLog':hasFlag(_0x11c354,'--errors')});if(_0x457f21){const _0x3dfa56={};_0x3dfa56['ok']=!![],_0x3dfa56[_0x17fdd1(0x3f7,_0x4c0860._0x143433)]=_0x5f24b3,printJson(_0x3dfa56);}else _0x5f24b3[_0x17fdd1(0x32c,0x241)]===0x0?console[_0x17fdd1(0x29a,_0x4c0860._0xf5f7ac)](_0x3a1378(0x447,0x57c)+'ing\x20CLI\x20'+'logs\x20fou'+_0x17fdd1(_0x4c0860._0x5ccc78,0x346)):console[_0x3a1378(0x739,0x5b1)](_0x5f24b3[_0x17fdd1(0x349,0x52f)]('\x0a'));return;}function _0x17fdd1(_0x13cfb6,_0x2a5270){return _0x75393(_0x2a5270,_0x13cfb6- -0x113);}if(_0x1cf95f===_0x2b2269[_0x3a1378(0x66b,0x483)]){const _0x591caf=await _0x2b2269[_0x3a1378(0x655,0x4ec)](buildDoctorReport);_0x457f21?_0x2b2269[_0x17fdd1(0x2cd,_0x4c0860._0x265f05)](printJson,_0x591caf):printDoctorReport(_0x591caf);return;}if(_0x1cf95f==='run'){const _0x3e57f7=requirePairingConfig(),_0x598eeb=_0x2b2269[_0x3a1378(_0x4c0860._0x29592b,_0x4c0860._0x235927)](resolveGatewayUrl,readFlag(_0x11c354,_0x2b2269[_0x3a1378(0x64e,_0x4c0860._0x10327e)])??readFlag(_0x11c354,'-g')),_0x314cbb=_0x18f487=>{const _0x2e12d1={_0x540025:0x49c},_0x11cb87={_0x31237f:0x146};function _0x16710c(_0x29594d,_0x235380){return _0x17fdd1(_0x29594d-_0x11cb87._0x31237f,_0x235380);}function _0x3e8d8e(_0x15c015,_0xa1e9b7){return _0x17fdd1(_0xa1e9b7-_0x2e12d1._0x540025,_0x15c015);}console[_0x16710c(_0x3f0d74._0x4300e5,_0x3f0d74._0x11acfe)]('['+Date[_0x3e8d8e(0x5df,_0x3f0d74._0x490749)]()+']\x20'+_0x18f487);};!_0x1351f5?(console[_0x3a1378(0x462,0x5b1)](_0x3a1378(_0x4c0860._0x5e64a5,_0x4c0860._0x4ba775)+_0x3a1378(0x45a,_0x4c0860._0x2f63c1)+_0x3e57f7['gatewayI'+'d']),console['log'](_0x3a1378(_0x4c0860._0x5846cb,_0x4c0860._0x334600)+_0x17fdd1(_0x4c0860._0x1ef360,0x4fa)+_0x3e57f7[_0x17fdd1(0x2fe,0x2d7)+'Id']),console[_0x3a1378(0x751,0x5b1)](_0x3a1378(_0x4c0860._0x433966,_0x4c0860._0x4ba775)+'URL:\x20'+_0x598eeb),console['log'](''),console[_0x17fdd1(0x29a,_0x4c0860._0x4557a9)](_0x17fdd1(0x98,0x16b)+'\x20bridge\x20'+_0x17fdd1(_0x4c0860._0x1f2f24,_0x4c0860._0x3070fa)+'\x20Press\x20C'+_0x17fdd1(0x27b,0x25b)+_0x17fdd1(0x357,0x3c4)),console[_0x17fdd1(_0x4c0860._0x542e4e,_0x4c0860._0x33be80)]('')):_0x314cbb(_0x3a1378(_0x4c0860._0x5e9171,_0x4c0860._0x2d6fe7)+_0x17fdd1(0x3c4,_0x4c0860._0x4b8b94)+'\x20service'+_0x17fdd1(_0x4c0860._0x399c02,_0x4c0860._0x3aebe7)+_0x17fdd1(0xdc,_0x4c0860._0x1e8fa8)+'eway\x20'+_0x3e57f7[_0x3a1378(0x34a,_0x4c0860._0x3deb8d)+'d']);_0x1351f5&&_0x2b2269[_0x3a1378(0x3a8,_0x4c0860._0x3f4eb5)](writeServiceState);const _0x33f721=new BridgeRuntime({'config':_0x3e57f7,'gatewayUrl':_0x598eeb,'onLog':_0x1eac97=>{function _0x4f88f1(_0x1b5e52,_0x13819b){return _0x17fdd1(_0x13819b-0x5,_0x1b5e52);}_0x314cbb(_0x4f88f1(0x26b,_0x322ff5._0x3e2908)+']\x20'+_0x1eac97);},'onStatus':_0x160ffe=>{const _0x238c87={_0xc2d32a:0x42b};function _0x14f7a6(_0x101856,_0x1a8e2e){return _0x17fdd1(_0x1a8e2e-0x3d0,_0x101856);}function _0x8cb6c9(_0xf9cf22,_0x35725e){return _0x17fdd1(_0xf9cf22-_0x238c87._0xc2d32a,_0x35725e);}if(_0x160ffe[_0x8cb6c9(0x850,0xa0e)+'r']){_0x314cbb(_0x14f7a6(_0x50d978._0x11df67,0x6b0)+_0x8cb6c9(0x5a9,_0x50d978._0x2ba9a3)+(_0x160ffe[_0x8cb6c9(_0x50d978._0x2d6748,0x7f6)+_0x14f7a6(_0x50d978._0x30aafc,0x72d)]?'up':_0x8cb6c9(_0x50d978._0x3eb86b,0x5d9))+(_0x8cb6c9(_0x50d978._0x1d19d5,_0x50d978._0x17d002)+'=')+(_0x160ffe[_0x14f7a6(0x6fc,_0x50d978._0x91465e)+_0x8cb6c9(_0x50d978._0x4c7bd7,_0x50d978._0x253086)]?'up':_0x8cb6c9(0x715,0x896))+(_0x14f7a6(_0x50d978._0x50a7e7,0x68b)+'=')+_0x160ffe[_0x8cb6c9(0x64f,_0x50d978._0x5ba09c)+_0x14f7a6(0x474,_0x50d978._0x2e2b59)]+_0x8cb6c9(_0x50d978._0x1f4cb9,0x711)+_0x160ffe['lastErro'+'r']);return;}_0x314cbb('[status]'+_0x8cb6c9(0x5a9,_0x50d978._0x3427f7)+(_0x160ffe[_0x8cb6c9(_0x50d978._0x303b00,0x4fb)+'nected']?'up':_0x2b2269[_0x8cb6c9(_0x50d978._0x25be20,_0x50d978._0x12bab7)])+(_0x14f7a6(0x393,0x46f)+'=')+(_0x160ffe['gatewayC'+'onnected']?'up':_0x14f7a6(_0x50d978._0x4a250e,_0x50d978._0x2fe663))+(_0x8cb6c9(_0x50d978._0x312f92,0x853)+'=')+_0x160ffe[_0x14f7a6(_0x50d978._0x36f11e,0x5f4)+_0x8cb6c9(_0x50d978._0xe764ed,0x464)]);},'onPendingPairRequest':_0x232554=>{function _0x4df6e5(_0x15f7a4,_0x956f61){return _0x17fdd1(_0x15f7a4- -_0x7c83db._0x26caa3,_0x956f61);}function _0x30860a(_0x47288f,_0xe0bb52){return _0x17fdd1(_0x47288f-0x15,_0xe0bb52);}_0x314cbb(_0x4df6e5(_0x5be056._0x46c337,_0x5be056._0x2d0810)+_0x4df6e5(_0x5be056._0x5188d8,_0x5be056._0x1bec91)+_0x30860a(0xb5,0x234)+'='+_0x232554[_0x4df6e5(-_0x5be056._0x240f3a,-0x1e5)+'d']+(_0x4df6e5(0xca,-0x3d)+'d=')+(_0x232554[_0x30860a(0x297,0x32d)]||_0x4df6e5(0x16f,_0x5be056._0x14f8e0)+'>')+'\x20name='+(_0x232554[_0x30860a(_0x5be056._0x80374e,_0x5be056._0x1c1d41)+_0x4df6e5(_0x5be056._0x52a83b,0x33b)]??_0x4df6e5(0x16f,_0x5be056._0x58fc71)+'>'));}});_0x33f721[_0x17fdd1(_0x4c0860._0x3160f6,_0x4c0860._0x51b593)]();const _0x72cb63=async()=>{function _0x1063ff(_0x230770,_0x5f4a68){return _0x17fdd1(_0x5f4a68- -_0x2b29b9._0x4eed6e,_0x230770);}function _0x113692(_0x47c8bd,_0x21e77e){return _0x17fdd1(_0x21e77e-0x526,_0x47c8bd);}process['off'](_0x113692(_0x46c959._0x5b8188,_0x46c959._0x3fe16e),_0x72cb63),process[_0x113692(0x7ab,0x62b)](_0x1063ff(0x27c,_0x46c959._0x5deb75),_0x72cb63),await _0x33f721[_0x113692(_0x46c959._0x52b2e9,_0x46c959._0x2fe571)](),_0x1351f5&&_0x2b2269[_0x1063ff(_0x46c959._0x361600,_0x46c959._0xdc578)](clearServiceState,process[_0x1063ff(0x332,_0x46c959._0x2dca6e)]),process[_0x1063ff(_0x46c959._0x315346,0xfa)](0x0);};process['on'](_0x2b2269['TMTHf'],_0x72cb63),process['on'](_0x2b2269[_0x17fdd1(0xd2,0x223)],_0x72cb63),await new Promise(()=>{});}_0x2b2269[_0x3a1378(0x455,0x621)](printHelp);}function printPairingInfo(_0x3e6d9d,_0x5542f7){const _0x2d7aba={_0x57c4f6:0x590,_0x3163cf:0x3f2,_0x401fdb:0x2ad,_0x4adc9e:0x2d4,_0x50cd5f:0x4aa,_0x5d5aa1:0x289,_0x4cb067:0x33d,_0x40a40c:0x4a9,_0x5dfe97:0x291,_0x410bf6:0x23b,_0x1f3eef:0x162,_0x4b57b1:0x213,_0x1bbaa0:0x2ef,_0x1499ce:0x316,_0x3d4abf:0x43e,_0x47e1bf:0x1c2,_0x507f0e:0xc7,_0x460e28:0x483,_0x196a13:0x394,_0x618eed:0x4d6,_0xeda826:0x459,_0xe765f:0x378,_0x5124e0:0x56c,_0x3082ec:0x638,_0x2afb55:0x28c,_0x547400:0x3a4},_0x2567cc={_0x523ab7:0x90},_0x217324={_0x3b8f15:0xd6},_0x491eef={};function _0x5f4491(_0xf69d2e,_0x2b7d8d){return _0x75393(_0x2b7d8d,_0xf69d2e-_0x217324._0x3b8f15);}_0x491eef[_0x14c52c(0x3cb,0x456)]=function(_0x42627a,_0x13fd29){return _0x42627a===_0x13fd29;};const _0x2eb935=_0x491eef;_0x2eb935['DuukG'](_0x3e6d9d[_0x14c52c(_0x2d7aba._0x57c4f6,0x491)],_0x5f4491(0x2d6,_0x2d7aba._0x3163cf)+'d')&&console[_0x14c52c(_0x2d7aba._0x401fdb,0x31d)](_0x14c52c(_0x2d7aba._0x4adc9e,_0x2d7aba._0x50cd5f)+'lready\x20p'+_0x14c52c(_0x2d7aba._0x5d5aa1,0x1a2)+_0x14c52c(_0x2d7aba._0x4cb067,0x15a)+_0x14c52c(0x467,0x4a3)+_0x14c52c(_0x2d7aba._0x40a40c,0x39c)+'e.');console['log'](_0x14c52c(-0xd0,0x114)+_0x5f4491(0x3af,0x30b)+_0x3e6d9d[_0x5f4491(_0x2d7aba._0x5dfe97,0xaf)]['gatewayI'+'d']);function _0x14c52c(_0x501c76,_0x371c30){return _0x75393(_0x501c76,_0x371c30- -_0x2567cc._0x523ab7);}console[_0x14c52c(_0x2d7aba._0x410bf6,0x31d)](_0x14c52c(_0x2d7aba._0x1f3eef,0x252)+_0x14c52c(_0x2d7aba._0x4b57b1,0xcf)+formatLocalTime(_0x3e6d9d[_0x5f4491(_0x2d7aba._0x1bbaa0,0x39f)+_0x14c52c(_0x2d7aba._0x1499ce,_0x2d7aba._0x3d4abf)+_0x14c52c(_0x2d7aba._0x47e1bf,_0x2d7aba._0x507f0e)])),console[_0x5f4491(_0x2d7aba._0x460e28,0x282)]('QR\x20image'+_0x14c52c(_0x2d7aba._0x196a13,0x2dd)+_0x5542f7),console[_0x5f4491(_0x2d7aba._0x460e28,_0x2d7aba._0x618eed)](_0x5f4491(0x3ad,0x542)+_0x14c52c(0x54a,0x3fc)+_0x5f4491(_0x2d7aba._0xeda826,0x34c)+_0x14c52c(0x36e,_0x2d7aba._0xe765f)+_0x5f4491(_0x2d7aba._0x5124e0,_0x2d7aba._0x3082ec));const _0x45eec7={};_0x45eec7[_0x14c52c(_0x2d7aba._0x2afb55,0x32f)]=!![],_0x1da8c7[_0x5f4491(0x3f2,_0x2d7aba._0x547400)](_0x3e6d9d['qrPayloa'+'d'],_0x45eec7);}function printStatus(){const _0x100ed3={_0x5b5a45:0x980,_0x3393c8:0x7a5,_0x237ce3:0x504,_0x453eac:0x56b,_0x5281af:0x557,_0x2a5b31:0x5d4,_0x26500d:0x740,_0x5e916a:0x91f,_0x3a9c50:0x8a6,_0x29f0df:0x488,_0x50b1de:0x52d,_0x27c917:0x63b,_0x5a358b:0x6e3,_0x158ac6:0x77d,_0x482373:0x73f,_0xf5b50b:0x858,_0x5203a0:0x753,_0x494f60:0x6d1,_0x81a0fd:0x5a9,_0x531767:0x692,_0x42af73:0x751,_0x4231bb:0x57d,_0x22b9a4:0x530,_0x3f6936:0x6da,_0x3bfed4:0x5c8,_0x41d4fc:0x5e7,_0x4757d8:0x53e,_0x1e2d43:0x798,_0x5c1243:0x444,_0x56e83b:0x591,_0x14753e:0x8bb,_0x266576:0x692,_0x47f2a3:0x756,_0x2644dd:0x742,_0x26af99:0x618,_0x3c26ba:0x6fe,_0x415f77:0x786},_0x52736b={_0x315cdc:0x3f8};function _0x2289a5(_0x15bd9f,_0x3e4152){return _0x75393(_0x3e4152,_0x15bd9f-0x2e5);}const _0x1e7dde=readPairingConfig(),_0x109331=getServiceStatus(),{logPath:_0xd889f5,errorLogPath:_0x5bc086}=getServicePaths(),_0x7cf89f=readCliVersion();console[_0x27904e(_0x100ed3._0x5b5a45,_0x100ed3._0x3393c8)](_0x2289a5(_0x100ed3._0x237ce3,_0x100ed3._0x453eac)+_0x27904e(0x68c,_0x100ed3._0x5281af)+_0x7cf89f);if(!_0x1e7dde)console[_0x27904e(0x59d,_0x100ed3._0x3393c8)]('Config:\x20'+_0x2289a5(_0x100ed3._0x2a5b31,_0x100ed3._0x26500d)+_0x27904e(_0x100ed3._0x5e916a,_0x100ed3._0x3a9c50)+getPairingConfigPath()+')');else{const _0x18a75c=(_0x2289a5(_0x100ed3._0x29f0df,_0x100ed3._0x50b1de)+'1')[_0x2289a5(_0x100ed3._0x27c917,0x634)]('|');let _0x8dfd02=0x0;while(!![]){switch(_0x18a75c[_0x8dfd02++]){case'0':console['log'](_0x27904e(0x503,0x5b0)+_0x2289a5(_0x100ed3._0x5a358b,_0x100ed3._0x158ac6)+'ed');continue;case'1':console['log'](_0x2289a5(0x676,0x51e)+_0x27904e(0x634,_0x100ed3._0x5281af)+(_0x1e7dde[_0x2289a5(_0x100ed3._0x482373,0x739)+'ame']??'-'));continue;case'2':console[_0x27904e(_0x100ed3._0xf5b50b,0x7a5)]('Instance'+':\x20\x20\x20'+_0x1e7dde[_0x27904e(0x7de,0x809)+'Id']);continue;case'3':console['log'](_0x2289a5(0x489,0x2f4)+_0x27904e(_0x100ed3._0x5203a0,_0x100ed3._0x494f60)+_0x1e7dde[_0x27904e(0x46e,_0x100ed3._0x81a0fd)+'d']);continue;case'4':console[_0x2289a5(_0x100ed3._0x531767,0x4f8)](_0x2289a5(_0x100ed3._0x42af73,_0x100ed3._0x4231bb)+'RL:\x20'+_0x1e7dde[_0x27904e(0x450,_0x100ed3._0x22b9a4)+'l']);continue;}break;}}console[_0x2289a5(0x692,_0x100ed3._0x3f6936)]('Gateway:'+_0x27904e(0x508,0x557)+resolveGatewayUrl()),console[_0x2289a5(0x692,0x59e)]('Service:'+_0x2289a5(0x444,0x56e)+(_0x109331[_0x2289a5(0x5db,_0x100ed3._0x3bfed4)+'d']?_0x27904e(0x764,0x6ee)+'d':_0x2289a5(_0x100ed3._0x41d4fc,0x45a)+_0x2289a5(0x44c,_0x100ed3._0x4757d8))+'\x20('+_0x109331[_0x2289a5(0x7e0,0x6e7)]+')'),console[_0x27904e(0x616,0x7a5)](_0x27904e(0x6ca,_0x100ed3._0x1e2d43)+_0x2289a5(_0x100ed3._0x5c1243,_0x100ed3._0x56e83b)+(_0x109331[_0x27904e(_0x100ed3._0x14753e,0x7f8)]?_0x27904e(0x756,0x6c6):'no')),console[_0x2289a5(_0x100ed3._0x266576,0x49e)](_0x2289a5(_0x100ed3._0x47f2a3,_0x100ed3._0x2644dd)+'\x20\x20\x20\x20'+(_0x109331[_0x2289a5(_0x100ed3._0x26af99,_0x100ed3._0x3c26ba)+'ath']||'-')),console[_0x27904e(0x92a,0x7a5)](_0x27904e(0x85a,0x7d2)+_0x27904e(0x367,0x557)+_0xd889f5),console[_0x27904e(0x8e3,0x7a5)]('Error\x20Lo'+_0x27904e(0x492,0x679)+_0x5bc086);function _0x27904e(_0x19b3f8,_0x3779e3){return _0x75393(_0x19b3f8,_0x3779e3-_0x52736b._0x315cdc);}!_0x1e7dde&&(process[_0x2289a5(_0x100ed3._0x415f77,0x945)]=0x1);}function printServiceResult(_0x16ef0c,_0x27d326){const _0x55b97f={_0x124a58:0x3d9,_0x52a46e:0x528,_0x124328:0x3e5,_0x1c1faf:0x612,_0x147663:0x3c0,_0x2dddd1:0x520,_0x281fd8:0x6fc,_0x10a204:0x52c,_0x34a1e5:0x1c1,_0x31452d:0xcb,_0x4ba195:0x3be,_0x6080cc:0x3ac,_0x5c4adb:0x39c,_0x317f05:0x3f1,_0x4219ef:0xed},_0xcffd7f={_0x59e639:0x24f};function _0x1730e9(_0x10be4b,_0xaad924){return _0x143ed5(_0x10be4b-_0xcffd7f._0x59e639,_0xaad924);}const _0x4fb33f={};function _0x4219f5(_0x3d206a,_0x3c78be){return _0x143ed5(_0x3c78be-0x41f,_0x3d206a);}_0x4fb33f[_0x1730e9(_0x55b97f._0x124a58,0x5dd)]=_0x4219f5(_0x55b97f._0x52a46e,0x520)+_0x4219f5(_0x55b97f._0x124328,0x3df)+'ed';const _0xef64ac=_0x4fb33f;_0x16ef0c&&console['log'](_0x16ef0c),console[_0x1730e9(0x407,_0x55b97f._0x1c1faf)]('Service:'+'\x20'+(_0x27d326[_0x4219f5(0x4e0,0x520)+'d']?_0x27d326[_0x4219f5(0x43f,0x62a)]?_0x4219f5(_0x55b97f._0x147663,_0x55b97f._0x2dddd1)+'d,\x20runni'+'ng':_0xef64ac['utaQu']:_0x4219f5(_0x55b97f._0x281fd8,_0x55b97f._0x10a204)+_0x1730e9(_0x55b97f._0x34a1e5,_0x55b97f._0x31452d))),console[_0x1730e9(0x407,_0x55b97f._0x4ba195)](_0x1730e9(_0x55b97f._0x6080cc,_0x55b97f._0x5c4adb)+_0x4219f5(0x408,_0x55b97f._0x317f05)+(_0x27d326['serviceP'+_0x1730e9(0x1e4,_0x55b97f._0x4219ef)]||'-'));}function printDoctorReport(_0x277add){const _0x206917={_0x2761c5:0x2f3,_0x94744c:0x3bb,_0x4e20b0:0x256,_0x4cee60:0x394,_0x4eed4d:0x1bd,_0x47b88f:0x1b2,_0x35f8bd:0x304,_0x3abd19:0x2ce,_0x5008b9:0x177,_0x2dc70c:0x3f4,_0x23c982:0x2db,_0x4ad2ad:0x6c7,_0xa2a99a:0x533,_0x394a69:0x5a,_0x78d351:0x415,_0x2d15f6:0x315,_0x375a4a:0x173,_0x259b55:0x55f,_0x453fea:0x485,_0x14dc1b:0x210,_0x2f0d10:0x431,_0x3a33c8:0xb0,_0x5847aa:0x217,_0x187e6e:0x21e,_0x299e1f:0x312,_0x4c70aa:0x5d,_0x50adf1:0x256,_0x485d23:0xd9,_0x153255:0x571,_0x481a02:0x478,_0x2f3fd9:0x2a7,_0x5a4aa3:0x490,_0x2437c6:0x4d1,_0x330108:0x141,_0x215c27:0x304,_0x2c925c:0x9f,_0xd3e4b:0x136,_0x252fc7:0x2b2,_0x37aeaa:0x1fb,_0x1e926b:0x4b9,_0x40385a:0x163,_0x143ee1:0x15,_0x51e736:0x2a0,_0x4974a2:0x2d7,_0x1e0b96:0x304,_0x1b46f2:0x107,_0x2c2df0:0x22,_0x3f17b8:0x5f5,_0x16759c:0xf0,_0x4d7607:0x3fa,_0x1baa3f:0x4dd,_0x5b8803:0x44c,_0xdd6bb7:0x533,_0x358fcf:0x1f3,_0x52fee:0x447,_0x31a929:0x5b2,_0x51db8b:0x1b6,_0x124a87:0x30f,_0x3d700e:0x20a,_0x421128:0x9,_0xfe7179:0x143,_0x4ac1e9:0x3b9,_0x10a3bf:0x18a,_0x4894a6:0x485,_0x2acd4c:0x27c,_0x24effa:0xe9,_0xae20d0:0x1b4,_0x538ee9:0x1da,_0x3ed701:0x200,_0x26a846:0x71c,_0x1a8bff:0x230,_0x5282d4:0x2e2,_0x5d63ef:0x2df,_0x25e05b:0x256,_0x5c4874:0x52,_0x292f1b:0x4d,_0x529b99:0x3d2,_0x321d41:0x2b9,_0x5d6676:0x227,_0x4d1b3c:0x3a6},_0x35f393={_0x4b611f:0xd8},_0x2882e7={};_0x2882e7[_0x21cfaa(_0x206917._0x2761c5,0x232)]='found';const _0x572bda=_0x2882e7;console[_0x363861(_0x206917._0x94744c,_0x206917._0x4e20b0)](_0x363861(_0x206917._0x4cee60,_0x206917._0x4eed4d)+'\x20\x20\x20\x20\x20\x20\x20\x20'+_0x363861(_0x206917._0x47b88f,_0x206917._0x35f8bd)+(_0x277add[_0x21cfaa(0x3da,0x5a7)]?_0x363861(_0x206917._0x3abd19,_0x206917._0x5008b9):'no')),console['log']('Gateway\x20'+_0x363861(_0x206917._0x2dc70c,_0x206917._0x23c982)+_0x21cfaa(_0x206917._0x4ad2ad,_0x206917._0xa2a99a)+(_0x277add[_0x363861(0x15c,_0x206917._0x394a69)+'d']??'-')),console[_0x21cfaa(_0x206917._0x78d351,0x485)](_0x363861(0x3e8,_0x206917._0x2d15f6)+_0x363861(-_0x206917._0x375a4a,0x78)+'\x20\x20\x20'+(_0x277add['serverUr'+'l']??'-')),console[_0x21cfaa(_0x206917._0x259b55,_0x206917._0x453fea)](_0x21cfaa(0x578,0x4fe)+_0x21cfaa(_0x206917._0x14dc1b,0x3f7)+'\x20\x20\x20'+(_0x277add[_0x21cfaa(0x42f,_0x206917._0x2f0d10)]??'-')),console[_0x363861(_0x206917._0x3a33c8,0x256)](_0x363861(_0x206917._0x5847aa,_0x206917._0x187e6e)+_0x363861(_0x206917._0x299e1f,0x2d0)+_0x363861(0x179,0x304)+(_0x277add['instance'+'Id']??'-'));function _0x363861(_0x4c959f,_0x3d129c){return _0x75393(_0x4c959f,_0x3d129c- -0x157);}console[_0x363861(_0x206917._0x4c70aa,_0x206917._0x50adf1)](_0x363861(_0x206917._0x485d23,0x27e)+_0x21cfaa(_0x206917._0x153255,0x5d8)+_0x21cfaa(_0x206917._0x481a02,0x533)+(_0x277add['serviceI'+_0x21cfaa(_0x206917._0x2f3fd9,_0x206917._0x5a4aa3)]?_0x21cfaa(_0x206917._0x2437c6,0x3ce)+'d':'not\x20inst'+'alled')+'\x20('+_0x277add['serviceM'+_0x21cfaa(0x5c2,0x600)]+')');function _0x21cfaa(_0x2e7449,_0x595de0){return _0x75393(_0x2e7449,_0x595de0-_0x35f393._0x4b611f);}console['log'](_0x21cfaa(0x4be,0x42a)+_0x363861(0x1d8,0x259)+_0x363861(_0x206917._0x330108,_0x206917._0x215c27)+(_0x277add[_0x363861(_0x206917._0x2c925c,_0x206917._0xd3e4b)+'unning']?_0x21cfaa(0x2d4,0x3a6):'no')),console['log'](_0x363861(_0x206917._0x252fc7,_0x206917._0x37aeaa)+'path:\x20\x20\x20'+_0x21cfaa(_0x206917._0x1e926b,0x533)+(_0x277add[_0x21cfaa(0x5ef,0x40b)+'ath']||'-')),console['log'](_0x363861(_0x206917._0x40385a,_0x206917._0x143ee1)+_0x363861(0x22b,0x12f)+'\x20\x20\x20'+_0x277add[_0x21cfaa(0x400,_0x206917._0x51e736)]),console[_0x363861(0x37d,0x256)](_0x363861(0x5d,0x148)+_0x21cfaa(_0x206917._0x4974a2,0x390)+_0x363861(0x38b,_0x206917._0x1e0b96)+_0x277add[_0x363861(0x201,_0x206917._0x1b46f2)+_0x363861(_0x206917._0x2c2df0,0xdc)]),console[_0x21cfaa(_0x206917._0x3f17b8,_0x206917._0x453fea)](_0x363861(0x218,_0x206917._0x16759c)+_0x21cfaa(_0x206917._0x4d7607,_0x206917._0x1baa3f)+_0x21cfaa(_0x206917._0x5b8803,_0x206917._0xdd6bb7)+_0x277add[_0x363861(_0x206917._0x358fcf,0xe9)+_0x363861(0x100,0x24e)+'r']),console[_0x363861(0x371,0x256)](_0x21cfaa(0x1a5,0x31f)+_0x21cfaa(_0x206917._0x52fee,_0x206917._0x31a929)+'\x20\x20\x20'+_0x277add['openclaw'+_0x363861(0x4ae,0x2e4)]),console['log'](_0x363861(_0x206917._0x51db8b,_0x206917._0x16759c)+_0x363861(0x2a0,_0x206917._0x124a87)+'\x20\x20\x20'+(_0x277add[_0x21cfaa(0x46f,0x318)+_0x363861(0x2a,_0x206917._0x3d700e)+_0x363861(-_0x206917._0x421128,_0x206917._0xfe7179)]?_0x21cfaa(0x2cb,_0x206917._0x4ac1e9):_0x21cfaa(_0x206917._0x10a3bf,0x2dc))),console[_0x21cfaa(0x648,_0x206917._0x4894a6)]('OpenClaw'+'\x20token:\x20'+_0x363861(0x4da,0x304)+(_0x277add[_0x363861(_0x206917._0x2acd4c,_0x206917._0x24effa)+_0x363861(_0x206917._0xae20d0,0x394)+'nd']?_0x572bda[_0x363861(-_0x206917._0x538ee9,0x3)]:'missing')),console[_0x21cfaa(0x2e0,0x485)](_0x21cfaa(0x1e6,0x27c)+_0x363861(0x385,_0x206917._0x3ed701)+_0x21cfaa(_0x206917._0x26a846,0x533)+_0x277add[_0x21cfaa(_0x206917._0x1a8bff,_0x206917._0x5282d4)+_0x363861(0x1eb,_0x206917._0x5d63ef)]),console[_0x363861(0x32c,_0x206917._0x25e05b)](_0x363861(_0x206917._0x5c4874,_0x206917._0x292f1b)+_0x21cfaa(0x61b,0x574)+'e:\x20'+(_0x277add[_0x21cfaa(0x48d,0x2e2)+_0x21cfaa(0x3e2,0x506)+_0x21cfaa(_0x206917._0x529b99,_0x206917._0x321d41)]?_0x21cfaa(_0x206917._0x5d6676,_0x206917._0x4d1b3c):'no'));}function requirePairingConfig(){const _0x480522={_0x5bbe98:0x18d,_0x407993:0x4a5,_0x53e060:0x35b,_0x37fc1f:0x3a9,_0x4184c0:0xb9},_0x1b9eb1={'haUEN':function(_0x140953){return _0x140953();}},_0x1a6bdc=_0x1b9eb1['haUEN'](readPairingConfig);function _0x22eacb(_0x3d8d1b,_0x57d65a){return _0x75393(_0x57d65a,_0x3d8d1b-0x202);}!_0x1a6bdc&&(console[_0x118cc1(-0x163,-_0x480522._0x5bbe98)](_0x22eacb(_0x480522._0x407993,0x599)+_0x22eacb(_0x480522._0x53e060,_0x480522._0x37fc1f)+_0x118cc1(-_0x480522._0x4184c0,-0x15e)+'\x20pair\x22\x20f'+'irst.\x20Co'+'nfig\x20pat'+_0x22eacb(0x36c,0x211)+getPairingConfigPath()),process['exit'](0x1));function _0x118cc1(_0xde2c2,_0x334f45){return _0x75393(_0x334f45,_0xde2c2- -0x293);}return _0x1a6bdc;}function readFlag(_0x471da0,_0x9dcac4){const _0x2c70cf={_0x4cfde7:0x3aa,_0x9b0e0f:0x188,_0x374fe9:0x2c4,_0x5f25f7:0x276,_0xe66fea:0x200},_0x9e89d8={_0x3edf57:0xcb},_0x2919f7={};_0x2919f7['NiJkw']=function(_0x3fc311,_0x31c623){return _0x3fc311<_0x31c623;};function _0x64e029(_0x98eb56,_0x3dd00c){return _0x75393(_0x98eb56,_0x3dd00c- -0x36f);}_0x2919f7[_0x64e029(-0x36c,-0x176)]=function(_0x4f07bd,_0x62ff81){return _0x4f07bd+_0x62ff81;};const _0xabf64b=_0x2919f7;function _0x265791(_0x197d6c,_0x5f12){return _0x75393(_0x5f12,_0x197d6c-_0x9e89d8._0x3edf57);}const _0x19968a=_0x471da0[_0x265791(_0x2c70cf._0x4cfde7,0x582)](_0x9dcac4);if(_0xabf64b[_0x64e029(-_0x2c70cf._0x9b0e0f,0x70)](_0x19968a,0x0))return null;const _0x4c8d00=_0x471da0[_0xabf64b[_0x265791(_0x2c70cf._0x374fe9,0x4b7)](_0x19968a,0x1)];return _0x4c8d00?.[_0x64e029(-_0x2c70cf._0x5f25f7,-0x23a)]()?_0x4c8d00[_0x265791(_0x2c70cf._0xe66fea,0x45)]():null;}function hasFlag(_0x3cdef0,_0x24a1ec){const _0x5d71d2={_0x11aa25:0x315,_0x4c9983:0x48c},_0x4351c3={_0x41483d:0x20d};function _0x54ead3(_0x23e473,_0x55ef25){return _0x75393(_0x55ef25,_0x23e473- -_0x4351c3._0x41483d);}return _0x3cdef0[_0x54ead3(_0x5d71d2._0x11aa25,_0x5d71d2._0x4c9983)](_0x24a1ec);}function printHelp(){const _0x1b03f2={_0x52b9e6:0x130,_0x21c2aa:0xf9,_0x11124f:0x2b9,_0x5407a0:0x325,_0x307d3d:0x15e,_0x194fe7:0x273,_0x8bb935:0x1de,_0x5cac98:0x18,_0x4b85a8:0x53,_0x5e2cc8:0x43f,_0x5bc7c8:0x208,_0x45353e:0x136,_0x53d56a:0x30,_0x5d2e5a:0x2a1,_0x2f1e90:0xd4,_0x174529:0x13b,_0x2f31ff:0x31d,_0x1084a4:0x284,_0x521b33:0x250,_0x5b7d89:0x45,_0x455eb9:0x1ec,_0x134eff:0xf9,_0x393a90:0x91,_0xa221e3:0x73,_0xbbeaa6:0x3b8,_0x18d9ce:0x20f,_0x1b9e10:0x427,_0x37f331:0xc3,_0x6f86f2:0x1e3},_0x5ccbb5={};_0x5ccbb5[_0x5a8cc4(0x22,_0x1b03f2._0x52b9e6)]=_0x5a8cc4(0x4f0,0x319)+_0x3d5324(0x1aa,0x6c),_0x5ccbb5[_0x3d5324(-0xa,0x1a5)]=_0x3d5324(_0x1b03f2._0x21c2aa,-0x114)+_0x3d5324(0x1a2,0x291);function _0x5a8cc4(_0x21dcf4,_0x21fa77){return _0x75393(_0x21dcf4,_0x21fa77- -0x59);}_0x5ccbb5[_0x3d5324(0xc3,0xe8)]='clawket\x20'+_0x3d5324(0x205,0x264)+_0x5a8cc4(0x11b,_0x1b03f2._0x11124f)+_0x5a8cc4(0x10e,0x1f3)+_0x3d5324(0x2c2,_0x1b03f2._0x5407a0)+_0x5a8cc4(0x17d,_0x1b03f2._0x307d3d)+'>]';const _0x11ea26=_0x5ccbb5;function _0x3d5324(_0x574bcd,_0x1e7247){return _0x75393(_0x1e7247,_0x574bcd- -0x279);}console['log'](['clawket\x20'+_0x3d5324(_0x1b03f2._0x194fe7,_0x1b03f2._0x8bb935)+_0x3d5324(-_0x1b03f2._0x5cac98,_0x1b03f2._0x4b85a8)+_0x5a8cc4(_0x1b03f2._0x5e2cc8,0x322)+_0x3d5324(0x11e,_0x1b03f2._0x5bc7c8)+_0x3d5324(0x45,0x1ea)+_0x5a8cc4(0x1f4,0x343)+_0x5a8cc4(0x391,0x183)+_0x3d5324(-_0x1b03f2._0x45353e,-_0x1b03f2._0x53d56a)+'[--json]'+_0x3d5324(0x20c,_0x1b03f2._0x5d2e5a)+'e]','clawket\x20'+'refresh-'+_0x3d5324(-0x2b,_0x1b03f2._0x2f1e90)+'qr-file\x20'+'<path>]\x20'+_0x5a8cc4(0x39e,0x1a8),'clawket\x20'+_0x5a8cc4(_0x1b03f2._0x174529,_0x1b03f2._0x2f31ff),_0x11ea26[_0x5a8cc4(0x20e,0x130)],_0x11ea26[_0x5a8cc4(0x31d,0x216)],'clawket\x20'+_0x3d5324(_0x1b03f2._0x1084a4,_0x1b03f2._0x521b33)+'l','clawket\x20'+'reset',_0x3d5324(0xf9,-_0x1b03f2._0x5b7d89)+_0x5a8cc4(_0x1b03f2._0x455eb9,0x1e4),_0x3d5324(_0x1b03f2._0x134eff,-_0x1b03f2._0x393a90)+_0x3d5324(0x1bf,-0x4d)+_0x3d5324(_0x1b03f2._0xa221e3,-0x182)+_0x3d5324(0x1da,_0x1b03f2._0xbbeaa6)+_0x5a8cc4(0x22f,0x282)+_0x5a8cc4(_0x1b03f2._0x18d9ce,0x320)+_0x5a8cc4(0x2ad,_0x1b03f2._0x1b9e10)+'-json]','clawket\x20'+_0x5a8cc4(0x2eb,0x1fa)+_0x5a8cc4(0x46b,0x276),_0x11ea26[_0x3d5324(_0x1b03f2._0x37f331,0x4c)]][_0x3d5324(_0x1b03f2._0x6f86f2,0x379)]('\x0a'));}function formatLocalTime(_0x16a196){const _0x41dc76={_0x4ee442:0x61e,_0x2e9a7b:0x783,_0xf7f43c:0x36d},_0x5c39c7={_0xa9022:0x19d};function _0x4dce72(_0x27d4e4,_0x2fb8a9){return _0x143ed5(_0x2fb8a9-0x5f8,_0x27d4e4);}const _0x27c26a=new Date(_0x16a196);if(Number['isNaN'](_0x27c26a[_0x4dce72(_0x41dc76._0x4ee442,_0x41dc76._0x2e9a7b)]()))return _0x16a196;function _0x4cd50d(_0x508f85,_0x392340){return _0x143ed5(_0x392340-_0x5c39c7._0xa9022,_0x508f85);}return _0x27c26a[_0x4cd50d(0x491,_0x41dc76._0xf7f43c)+'String']();}function formatError(_0x5a7c0d){const _0x2bdf4e={_0x35d79f:0x250};function _0x241c66(_0x130b56,_0x5b6973){return _0x143ed5(_0x130b56-_0x2bdf4e._0x35d79f,_0x5b6973);}return _0x5a7c0d instanceof Error?_0x5a7c0d[_0x241c66(0x3a4,0x31a)]:String(_0x5a7c0d);}function printJson(_0x247193){const _0x492e5a={_0x336baf:0x54a,_0x5d8469:0x6ea};function _0x4b47cc(_0x2ba7dc,_0x197039){return _0x75393(_0x2ba7dc,_0x197039-0x33d);}console[_0x4b47cc(_0x492e5a._0x336baf,_0x492e5a._0x5d8469)](JSON['stringif'+'y'](_0x247193,null,0x2));}main()['catch'](_0x2c1298=>{const _0x1eb876={_0x3ea8f7:0x156,_0x5d22d1:0x23f,_0x4c1515:0x181,_0x8f3fb7:0x29b,_0x539b78:0x368},_0x2c102b={_0x338b13:0x304};function _0x2b450b(_0x28fe36,_0x5d0402){return _0x143ed5(_0x5d0402-0x29,_0x28fe36);}function _0x5bb522(_0x3e3874,_0x42ce1a){return _0x143ed5(_0x42ce1a-_0x2c102b._0x338b13,_0x3e3874);}const _0x17d6ec={'BCqPk':function(_0x1c23a5,_0xe2a54b){return _0x1c23a5(_0xe2a54b);}};console[_0x5bb522(_0x1eb876._0x3ea8f7,_0x1eb876._0x5d22d1)](_0x17d6ec[_0x5bb522(_0x1eb876._0x4c1515,_0x1eb876._0x8f3fb7)](formatError,_0x2c1298)),process[_0x2b450b(_0x1eb876._0x539b78,0x1e9)](0x1);});
|