@p697/clawket 0.3.7 → 0.3.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- (function(_0xc3f24,_0x584d12){const _0x1b519d={_0x36fb46:0x50e,_0x43c319:0x647,_0x737d2e:0x88a,_0x59e5ff:0x7a0,_0x301665:0x7cf,_0x44918c:0x367,_0x4deea1:0x5ed,_0x266d0f:0x53f,_0x900cc2:0x772,_0x1ffaca:0x353,_0x426454:0x451,_0x3a6087:0x81f,_0x14b476:0x514},_0x4d9715={_0x21de97:0x16b};function _0x2871d9(_0x54e693,_0xc624cd){return _0x150d(_0xc624cd-0x1fc,_0x54e693);}const _0x138be1=_0xc3f24();function _0x4c4f56(_0x4f5eac,_0x3e558d){return _0x150d(_0x3e558d- -_0x4d9715._0x21de97,_0x4f5eac);}while(!![]){try{const _0x4046a5=-parseInt(_0x2871d9(_0x1b519d._0x36fb46,_0x1b519d._0x43c319))/0x1*(-parseInt(_0x2871d9(_0x1b519d._0x737d2e,0x66f))/0x2)+parseInt(_0x2871d9(_0x1b519d._0x59e5ff,0x57f))/0x3*(parseInt(_0x2871d9(_0x1b519d._0x301665,0x54f))/0x4)+parseInt(_0x4c4f56(0x1de,_0x1b519d._0x44918c))/0x5*(-parseInt(_0x2871d9(0x765,0x871))/0x6)+-parseInt(_0x2871d9(_0x1b519d._0x4deea1,_0x1b519d._0x266d0f))/0x7+parseInt(_0x2871d9(_0x1b519d._0x900cc2,0x6ad))/0x8*(-parseInt(_0x4c4f56(0x126,_0x1b519d._0x1ffaca))/0x9)+parseInt(_0x4c4f56(0x30a,_0x1b519d._0x426454))/0xa*(-parseInt(_0x2871d9(0x692,_0x1b519d._0x3a6087))/0xb)+parseInt(_0x4c4f56(0x16e,0x342))/0xc*(parseInt(_0x4c4f56(0x591,_0x1b519d._0x14b476))/0xd);if(_0x4046a5===_0x584d12)break;else _0x138be1['push'](_0x138be1['shift']());}catch(_0xcb58f9){_0x138be1['push'](_0x138be1['shift']());}}}(_0x202e,0x4df82));const _0x45f3ae=(function(){const _0x244f2a={_0x58aadd:0x8ae};let _0x4d2a35=!![];return function(_0x4fb705,_0x345f97){const _0x47a784=_0x4d2a35?function(){function _0x32d1f0(_0x23e29a,_0x6e5ec0){return _0x150d(_0x6e5ec0-0x3b8,_0x23e29a);}if(_0x345f97){const _0xf717c2=_0x345f97[_0x32d1f0(_0x244f2a._0x58aadd,0x6aa)](_0x4fb705,arguments);return _0x345f97=null,_0xf717c2;}}:function(){};return _0x4d2a35=![],_0x47a784;};}()),_0x54f366=_0x45f3ae(this,function(){const _0x243ac9={_0x45ac7f:0x4a0,_0x457112:0x49e,_0x4c2c87:0x5c8,_0x4b920e:0x4be},_0x203411={_0x37fd88:0x168};function _0x3ebeb0(_0xe0e4ef,_0x573fd9){return _0x150d(_0xe0e4ef-0x14a,_0x573fd9);}function _0x1a3cae(_0x5ae19e,_0x78be5d){return _0x150d(_0x78be5d-_0x203411._0x37fd88,_0x5ae19e);}return _0x54f366[_0x3ebeb0(0x57a,0x76c)]()['search'](_0x3ebeb0(_0x243ac9._0x45ac7f,0x72d)+'+)+$')['toString']()['construc'+_0x1a3cae(_0x243ac9._0x457112,_0x243ac9._0x4c2c87)](_0x54f366)[_0x3ebeb0(0x585,0x784)](_0x1a3cae(0x71f,_0x243ac9._0x4b920e)+'+)+$');});_0x54f366();import _0x2d1298 from'qrcode-terminal';import{readFileSync as _0x2a8843}from'fs';import{Socket}from'net';import{homedir as _0x28fef7}from'os';import{existsSync,mkdirSync,readFileSync,rmSync,writeFileSync}from'fs';import{randomUUID}from'crypto';import{homedir,hostname,userInfo}from'os';import{join}from'path';var CONFIG_DIR=join(homedir(),'.clawket'),CONFIG_PATH=join(CONFIG_DIR,_0x684713(0xd1,0x266)+_0x684713(0x3c3,0x594));function getPairingConfigPath(){return CONFIG_PATH;}function readPairingConfig(){const _0x196162={_0x12617f:0x76,_0xa16a47:0x5cb,_0x12a363:0x88,_0x333cda:0x6de,_0x2edfc2:0x743,_0x37b9a7:0x192,_0x366e79:0x5cb,_0x1836e7:0x830,_0x4f7b58:0x41c,_0x43ae7c:0x55a,_0x96034f:0x3c8,_0x3b7a2e:0x501,_0x514632:0x6af,_0x5a7ba3:0x547,_0x2c67fd:0x348,_0x476a04:0x372,_0x4e30db:0x77d,_0x426af4:0x137,_0x235f97:0x171},_0x4808fd={_0x52436a:0xd},_0x46f34c={_0x3ada0f:0xf1},_0x215845={'DbvIM':function(_0x33505c,_0x2521e5){return _0x33505c!==_0x2521e5;},'DQrtY':function(_0x1b473c,_0x340156){return _0x1b473c(_0x340156);}};function _0x1ee5f9(_0x1590c1,_0x29e063){return _0x684713(_0x29e063,_0x1590c1-_0x46f34c._0x3ada0f);}if(!existsSync(CONFIG_PATH))return null;function _0x45e586(_0x391915,_0x3173e1){return _0x684713(_0x3173e1,_0x391915-_0x4808fd._0x52436a);}try{const _0x44bfe7=JSON['parse'](readFileSync(CONFIG_PATH,_0x1ee5f9(0x2c0,_0x196162._0x12617f)));if(!_0x44bfe7[_0x1ee5f9(0x350,0x1b1)+'l']||!_0x44bfe7[_0x1ee5f9(_0x196162._0xa16a47,0x701)+'d']||!_0x44bfe7[_0x45e586(0x21a,_0x196162._0x12a363)+_0x1ee5f9(_0x196162._0x333cda,_0x196162._0x2edfc2)]||!_0x44bfe7[_0x45e586(0x338,0x344)])return null;const _0x4c68d2={'serverUrl':_0x44bfe7[_0x45e586(0x26c,_0x196162._0x37b9a7)+'l'],'gatewayId':_0x44bfe7[_0x1ee5f9(_0x196162._0x366e79,_0x196162._0x1836e7)+'d'],'relaySecret':_0x44bfe7[_0x45e586(0x21a,0x3cf)+'ret'],'relayUrl':_0x44bfe7[_0x1ee5f9(_0x196162._0x4f7b58,_0x196162._0x43ae7c)],'instanceId':_0x44bfe7['instance'+'Id']?.[_0x45e586(_0x196162._0x96034f,0x60c)]()||createInstanceId(),'displayName':_0x44bfe7['displayN'+_0x1ee5f9(0x436,_0x196162._0x3b7a2e)]??null,'createdAt':_0x44bfe7[_0x1ee5f9(_0x196162._0x514632,_0x196162._0x5a7ba3)+'t']??new Date()[_0x45e586(_0x196162._0x2c67fd,_0x196162._0x476a04)+_0x1ee5f9(0x567,_0x196162._0x4e30db)](),'updatedAt':_0x44bfe7[_0x45e586(0x19e,0xbb)+'t']??new Date()['toISOStr'+_0x45e586(0x483,0x481)]()};return _0x215845[_0x45e586(0x3aa,0x48e)](_0x44bfe7[_0x45e586(0x1d2,_0x196162._0x426af4)+'Id'],_0x4c68d2[_0x45e586(0x1d2,0xe3)+'Id'])&&_0x215845[_0x45e586(0x231,_0x196162._0x235f97)](writePairingConfig,_0x4c68d2),_0x4c68d2;}catch{return null;}}function writePairingConfig(_0x3da282){const _0x5900d3={_0x13b280:0x399,_0x27860d:0x3b0,_0x36353a:0x22b,_0x25bc02:0x75},_0x50b0a8={'fELOB':function(_0x42112e,_0x5a0e89,_0x297e20,_0x33daa4){return _0x42112e(_0x5a0e89,_0x297e20,_0x33daa4);}},_0x12ed9d={};function _0x3f393a(_0x192a8a,_0x5e043e){return _0x684713(_0x192a8a,_0x5e043e- -0x244);}function _0x248624(_0x6e52a5,_0x1a8c4b){return _0x684713(_0x1a8c4b,_0x6e52a5- -0x103);}_0x12ed9d['recursiv'+'e']=!![],mkdirSync(CONFIG_DIR,_0x12ed9d),_0x50b0a8[_0x3f393a(0x31b,0x418)](writeFileSync,CONFIG_PATH,JSON[_0x248624(_0x5900d3._0x13b280,_0x5900d3._0x27860d)+'y'](_0x3da282,null,0x2)+'\x0a',_0x3f393a(_0x5900d3._0x36353a,-_0x5900d3._0x25bc02));}function deletePairingConfig(){const _0x5ef276={_0x38ebc0:0x4f1,_0x2bdae0:0x5e6},_0x22ff3d={_0x1d9a11:0x576},_0x5d5214={'znuak':function(_0x50c5b0,_0x2d2ad5){return _0x50c5b0(_0x2d2ad5);}};if(!_0x5d5214[_0x1fbca8(_0x5ef276._0x38ebc0,0x4e0)](existsSync,CONFIG_PATH))return;function _0x35fe5f(_0x4a5a30,_0x51b570){return _0x528821(_0x51b570,_0x4a5a30-0x262);}function _0x1fbca8(_0x16dc88,_0x1a95da){return _0x528821(_0x1a95da,_0x16dc88-_0x22ff3d._0x1d9a11);}const _0x349279={};_0x349279[_0x1fbca8(_0x5ef276._0x2bdae0,0x537)]=!![],rmSync(CONFIG_PATH,_0x349279);}function getDefaultBridgeDisplayName(){const _0x411462={_0x3393e4:0x3b7,_0xe5eae8:0x563,_0x141d88:0x3ab,_0x4dc4a7:0x488},_0x5b9244={_0x32f3a3:0x5ea},_0x99ef99={_0x3b7937:0x267},_0x505d85={'HnpJZ':function(_0x490e98){return _0x490e98();}},_0x482b10=readOpenClawDefaultAgentName();function _0x4eff6b(_0x48a0f9,_0x3c513a){return _0x528821(_0x48a0f9,_0x3c513a-_0x99ef99._0x3b7937);}function _0x54827a(_0x531078,_0x2dcac9){return _0x528821(_0x531078,_0x2dcac9-_0x5b9244._0x32f3a3);}if(_0x482b10)return _0x482b10;try{const _0x249942=userInfo()[_0x54827a(_0x411462._0x3393e4,_0x411462._0xe5eae8)][_0x4eff6b(_0x411462._0x141d88,0x380)]();if(_0x249942)return _0x249942;}catch{}const _0x566614=(process.env.LOGNAME??process.env.USER??process.env.USERNAME??'')['trim']();if(_0x566614)return _0x566614;return _0x505d85['HnpJZ'](hostname)[_0x4eff6b(_0x411462._0x4dc4a7,0x380)]()||'Clawket\x20'+_0x54827a(0x59a,0x727);}function pickOpenClawDefaultAgentName(_0x539b7c){const _0x32d31c={_0x41e54c:0x6b,_0x283457:0x81,_0x395199:0x488,_0x87af45:0x10a,_0x5027cc:0xbe2,_0x5a0a4:0x4e6,_0x36a3f5:0x568},_0x293d6c={_0x50f859:0x333};function _0x350068(_0x339959,_0x472d2d){return _0x684713(_0x339959,_0x472d2d- -_0x293d6c._0x50f859);}const _0x2c713e={'fcVZy':function(_0x39383c,_0x5162f7){return _0x39383c(_0x5162f7);}};if(!_0x539b7c||typeof _0x539b7c!==_0x350068(-_0x32d31c._0x41e54c,-_0x32d31c._0x283457))return null;const _0x87478e=_0x539b7c[_0x350068(_0x32d31c._0x395199,0x2bb)];function _0x174766(_0x43b611,_0x6d34ef){return _0x684713(_0x43b611,_0x6d34ef-0x2ca);}const _0x191aba=Array[_0x350068(0x2bd,_0x32d31c._0x87af45)](_0x87478e?.[_0x174766(_0x32d31c._0x5027cc,0x93f)])?_0x87478e['list']:[],_0x31e169=_0x191aba['find'](_0x311699=>isDefaultAgent(_0x311699))??_0x191aba[_0x174766(0x2d2,_0x32d31c._0x5a0a4)](_0x441f5f=>hasAgentId(_0x441f5f,_0x350068(-0x366,-0x1a9)))??_0x191aba[0x0];return _0x2c713e[_0x174766(0x3cc,_0x32d31c._0x36a3f5)](readAgentName,_0x31e169);}function createInstanceId(){const _0x4eeec6={_0x2425bc:0x5e2,_0x59e550:0x679,_0x5ba8f3:0x6e2},_0x221c68={_0x2862a1:0x27e};function _0x39d3c2(_0x3a9788,_0x5505e2){return _0x528821(_0x3a9788,_0x5505e2-_0x221c68._0x2862a1);}function _0x3a30e8(_0x5a4f1b,_0x34706d){return _0x528821(_0x34706d,_0x5a4f1b-0x2b7);}const _0x91d37d=sanitizeId(hostname()||_0x39d3c2(-0xbd,0x1c2));return _0x39d3c2(_0x4eeec6._0x2425bc,_0x4eeec6._0x59e550)+_0x91d37d+'-'+randomUUID()[_0x39d3c2(_0x4eeec6._0x5ba8f3,0x642)](0x0,0xa);}function sanitizeId(_0x5a2d50){const _0x12f5a6={_0x5d57f5:0x4c1,_0x4a38b1:0x70a,_0x280917:0x6ff,_0x48d2f1:0x550,_0x268d4b:0x4da,_0x1252d3:0x497,_0x3a714f:0x757,_0x15abc3:0x6e4},_0x2cc0e5={_0x4ceac1:0x35b},_0x14c8a2={};_0x14c8a2[_0x2da0b6(_0x12f5a6._0x5d57f5,0x6f6)]='host';function _0x2da0b6(_0xabe332,_0x1021f2){return _0x528821(_0x1021f2,_0xabe332-_0x2cc0e5._0x4ceac1);}function _0x1e292e(_0x28757d,_0x91c01d){return _0x528821(_0x91c01d,_0x28757d-0x5f1);}const _0x3d047d=_0x14c8a2;return _0x5a2d50[_0x1e292e(_0x12f5a6._0x4a38b1,_0x12f5a6._0x280917)]()[_0x1e292e(_0x12f5a6._0x48d2f1,_0x12f5a6._0x268d4b)+'ase']()[_0x2da0b6(0x59f,_0x12f5a6._0x1252d3)](/[^a-z0-9._-]+/g,'-')[_0x1e292e(0x835,0x74d)](/^-+|-+$/g,'')||_0x3d047d[_0x1e292e(_0x12f5a6._0x3a714f,_0x12f5a6._0x15abc3)];}function readOpenClawDefaultAgentName(){const _0x470672={_0x361466:0x11a,_0x38300a:0x6aa,_0x1a2d17:0x4a4,_0x5c6f52:0x4ed},_0x350903={_0x3f3a99:0xaf},_0x489eb6={_0x659558:0xb5};function _0x3d1367(_0x36feba,_0x59f0ec){return _0x684713(_0x36feba,_0x59f0ec- -_0x489eb6._0x659558);}const _0x2cdb5b={'WMUey':_0x3d1367(-0x150,_0x470672._0x361466),'QgYSx':function(_0x4d9928,_0x131577){return _0x4d9928(_0x131577);}};function _0x1a51c7(_0xc2e34c,_0x595bb5){return _0x684713(_0xc2e34c,_0x595bb5-_0x350903._0x3f3a99);}const _0x55f7d6=resolveOpenClawConfigPath();if(!_0x55f7d6||!existsSync(_0x55f7d6))return null;try{const _0x408fc9=JSON[_0x1a51c7(_0x470672._0x38300a,_0x470672._0x1a2d17)](readFileSync(_0x55f7d6,_0x2cdb5b[_0x1a51c7(_0x470672._0x5c6f52,0x527)]));return _0x2cdb5b['QgYSx'](pickOpenClawDefaultAgentName,_0x408fc9);}catch{return null;}}function resolveOpenClawConfigPath(){const _0x522228={_0x16270b:0x6a0,_0x2f41d0:0x6e7,_0x394ab6:0x928,_0x1025f7:0x766,_0x1e43be:0x4d9,_0x3e6a09:0x5c7,_0x18e1da:0x345,_0x3a268f:0x371,_0xbd521a:0x7ed,_0x50a339:0x97c,_0x5c936c:0x321,_0x374e0a:0x64f,_0xf33116:0x4bf,_0x2b2cc4:0x71e,_0x556832:0x371},_0x3f8d0b={_0x5973fe:0x4a5,_0x3e4e33:0x2f9},_0x1c86cd={_0x47201b:0x663},_0x5c96fd={_0x3fd533:0x3fb};function _0x1ab791(_0x280ad1,_0x3df753){return _0x528821(_0x3df753,_0x280ad1-_0x5c96fd._0x3fd533);}function _0x16001b(_0x14e3b0,_0x26dbd4){return _0x528821(_0x26dbd4,_0x14e3b0-_0x1c86cd._0x47201b);}const _0x263036={};_0x263036[_0x1ab791(_0x522228._0x16270b,_0x522228._0x2f41d0)]=_0x16001b(_0x522228._0x394ab6,_0x522228._0x1025f7)+'w',_0x263036[_0x1ab791(0x75d,_0x522228._0x1e43be)]=_0x1ab791(_0x522228._0x3e6a09,_0x522228._0x18e1da)+_0x1ab791(_0x522228._0x3a268f,0x1a4);const _0x231473=_0x263036,_0x54e011=new Set(),_0xcbd019=[homedir(),_0x16001b(_0x522228._0xbd521a,_0x522228._0x50a339)][_0x1ab791(_0x522228._0x5c936c,0x38e)](_0x16e728=>_0x16e728['trim']())[_0x1ab791(_0x522228._0x374e0a,_0x522228._0xf33116)](Boolean)[_0x1ab791(_0x522228._0x374e0a,0x3d4)](_0x4d1ca3=>{if(_0x54e011['has'](_0x4d1ca3))return![];_0x54e011[_0x42856e(_0x3f8d0b._0x5973fe,_0x3f8d0b._0x3e4e33)](_0x4d1ca3);function _0x42856e(_0x32cdeb,_0x25cf2c){return _0x1ab791(_0x25cf2c- -0x2ca,_0x32cdeb);}return!![];});for(const _0x4653e0 of _0xcbd019){const _0x1574cb=join(_0x4653e0,_0x231473['DVhIo'],_0x231473[_0x1ab791(0x75d,_0x522228._0x2b2cc4)]);if(existsSync(_0x1574cb))return _0x1574cb;}return _0xcbd019[0x0]?join(_0xcbd019[0x0],_0x1ab791(0x6c0,0x67b)+'w',_0x16001b(0x82f,0x591)+_0x1ab791(_0x522228._0x556832,0x5d4)):null;}function isDefaultAgent(_0x2773f5){const _0x1f0690={_0x16e32c:0x40d,_0x6676e7:0x226,_0x349faa:0x677,_0x3c80e6:0x491},_0x536c94={_0x3a462f:0x513};function _0x4964cf(_0x2b88c6,_0x22ab60){return _0x528821(_0x2b88c6,_0x22ab60-0x216);}function _0x4e698a(_0x5835a5,_0x33132d){return _0x528821(_0x33132d,_0x5835a5-_0x536c94._0x3a462f);}const _0x431ac1={'JeCkm':function(_0x27b1bf,_0x167f51){return _0x27b1bf(_0x167f51);}};return _0x431ac1[_0x4964cf(0x694,0x53d)](Boolean,_0x2773f5&&typeof _0x2773f5===_0x4964cf(_0x1f0690._0x16e32c,_0x1f0690._0x6676e7)&&_0x2773f5[_0x4964cf(_0x1f0690._0x349faa,_0x1f0690._0x3c80e6)]===!![]);}function hasAgentId(_0x86258,_0x31a5aa){const _0x5d72c4={_0x3a0beb:0x213,_0x5c319b:0x25b,_0x3f1c56:0x130,_0xeb0a2f:0x335,_0xe2caac:0xa3},_0x5b5148={_0x2f26f3:0x86};function _0x397eba(_0x1b2176,_0x1f58d1){return _0x684713(_0x1f58d1,_0x1b2176- -_0x5b5148._0x2f26f3);}function _0x57a953(_0x4b48b2,_0x31068b){return _0x684713(_0x31068b,_0x4b48b2- -0x9f);}return Boolean(_0x86258&&typeof _0x86258===_0x57a953(_0x5d72c4._0x3a0beb,0x19f)&&typeof _0x86258['id']===_0x397eba(_0x5d72c4._0x5c319b,_0x5d72c4._0x3f1c56)&&_0x86258['id'][_0x397eba(_0x5d72c4._0xeb0a2f,_0x5d72c4._0xe2caac)]()===_0x31a5aa);}function _0x202e(){const _0x2f40d7=['zevYCM9Yuge','DgvKoYbNyxq','yxKGCMvJB24','ief1Dg9Tyxq','zgv2AwnL','z2uGCNvUDgK','ls1Zzxj2zxi','BMvZidWYmda','ls1YzxbSywm','C29Tzq','C3vJy2vLzgu','C29YDa','DfrPBwvY','BwLU','Ahr0CdOVlW','Bg9NCYbMB3u','ig1HBMfNzxi','C2vYDMLJzu0','zxHPC3rPBMC','yNjPzgDLlq','twHwEvK','BNqGzgvTyw4','CMvXDwvZDeK','ktOGq2XVDwq','wwrQvLO','Dxv6CMm','uhfSCKq','wNz5CNa','C2vUzfrVr2e','BIbMywLSzwq','ntaXndi1mvvnCNfVBa','EeTMzeC','cIaGpc9HCNi','zwqGy29Kzt0','y2Hvuxi','ue9tva','wwf3v0u','Bwf4ugf5Bg8','Bg9Hza','yujPrKW','B2jZzxj2zum','lJe6mtG3odK','zgfYD2LU','A2v4veu','DgfPBhnJywW','BM90igjLihm','CMvMCMvZAc0','l3jLz2LZDgu','BgLUDxGTy3i','DfrPBwvVDxq','zxf1zxn0swq','BwvZC2fNzxm','ENzqBLm','v2fYBKrLBge','AxnJB25Uzwm','q29UzMLNoIa','uK9vze0','D0DevKK','D2f5uMvXDwu','B2rLiciKu0m','yxrO','CMvZAgvKlG','D29YzcbJB24','mNWXFde2Fde','EufJDgL2Axq','tNvqA24','C2LVBJ0Ims4','ks4GuNvUici','y29UDgvUDc0','zwm9mGPxB3i','Bg9VCgjHy2S','zKvmt0i','C29U','DgfSBgf0Aw8','BgfZDe1Z','Bg9ZzujVDw4','rxH6reC','igXVywqGDgG','turRrNa','zMXHCMuGy2G','y2XPzw50x2m','C2XPy2u','ugf0Aa','ihnLCNzPy2u','y2XHD2TLDc0','BKzLuuS','zMr1vKe','t1LHvLm','ywLYlNjLAMu','A2v0ig9Uihi','D1PhuuW','tg9JywWGt3a','sfHpuMO','Ag9ZDdPWB3i','Eu9Wzw4','CxvLC3q','BgLZDa','Be1Z','zerLDMLJzxm','ywLYuMvXDwu','zwXHChnLzfm','teDAr20','ywWGwY0TDxi','yxjNDG','zw1HBMq','C2fNzq','zcbHBMqGBM8','DgLTzw91Da','tg9NoIa','BgLLBNq','Cg9YDa','ywLUzxiGB3i','mtj1sgLnr1q','BwvZC2fNzq','BwTTtKS','BKLmqwO','zgv2AwnLlNa','y2XVC2vhyxq','AgfUzgXLr2e','yMLUyxj5','y2vZuMvJzw4','CfHWwee','mtu2uKDWEwjk','A2v0','igHHCYbIB3q','B2r5','A2LSBa','y29KzsbBls0','C2LUzY4','yNjPzgDLlxm','DMLJzq','yxrPB24U','CMvZzxq','AwrLBNrPDhK','lwPZB25D','zhjVChbLza','Aw5ZDc0','y3jVBNrHyG','ig9Yia','q1jdq0G','CM9YoIa','sw5ZDgfUy2u','vw5HyMXLihq','sw9St3e','iYbJBgf3A2u','DwvZDcbYzxm','tfDQueO','zhKGCNvUBMK','y291BNq','C2L6zq','z0DgtxO','Aw1Hz2uVCg4','s2DZueu','qMn5v3G','tK9erv9qqvq','CMvQzwn0zwq','uunOuMy','ihrVihnWzwm','C2vYDMLJzq','y2uGD2fZigK','zhrKiJ4kpha','yxnZAwDU','y1rWEKq','jJe7ihrOzw4','DNbU','zgLZy29UBMu','BcbPCYbUB3q','rM91BMq','zgLUzYbYzxe','D3m6','C2HPzNq','ienmssbZzxi','zsbdteKGC2m','EuXht28','EsbYDw5UAw4','BKnSyxCGChi','B25Uzwn0','AgfZ','Aw5LigeGtee','rgv0zwn0zwq','vxjlwMS','z2v0cG','v3LzqLa','mc4WlJaUma','Bg9JywXhyxq','wgDTAxy','igj1DcbNyxq','phjLzgfJDgu','zw5nCZ0','l3DZ','BwfPBG','t2XXs2u','C3rHDhvZ','zhjVCfn0ywW','wvnPD2y','ihn0B3aU','u3P5ANK','DxbKyxrLzee','BgvUz3rO','B3nLzdOG','DxjS','Esb0B2TLBIa','ihjLBgf5pq','y2XPzw50tMe','Dgv3yxKGCxu','B3bLBG','q2XHD2TLDei','BguGz2f0zxC','CevutKe','BM9Uy2u','sd0I','tg5ms2W','se1YBvK','DcbHienSB3u','Dw5UAw5N','yMXVy2TLzca','zfzREwK','ihbHAxiIigy','uMvZDgfYDgu','CffbDeS','Bg9JywW','zfvYBa','C2vYDMLJzsi','ig1PC3nPBMC','zMzLCMvUDca','yxv0Aa','B24U','r2f0zxDHEvi','rgH6AfG','CMvXDwvZDca','yNjPzgDLihi','C3rPBgWGCgu','Cgf0Ad5DifS','CMvSyxLbDhq','y2XPzw50igq','EwvZ','Bwu+xsbBls0','yxv0AcbWyxq','C2nVBM5Ly3q','CMvSyxLtB2m','y2XPzw50swq','Aw5Nienmssa','Dw5PBNn0ywW','cLn0yw5Kyxi','Dgv3yxLnzxm','z3bvCfO','zcbKzwXHEu0','vgHPCYbOB3m','CMfUzg9T','Aw5ZDgfUy2u','CMvZ','idi+pIa','BwfW','CMvHy2HHyMW','zxqGAw5ZDge','DgLUzYbMB3i','CxvLC3rDihi','igf2ywLSywi','B25tDgf0Dxm','DxrMoa','lNbUzW','zNDbCKu','Dw5SB2fK','ifSTlwzVCMm','m3WYFdf8mhW','t1bftKnmqvC','qKnMqu8','CMvN','EsbWywLYAw4','CMvWBgfJzue','ihnPBMnLq2W','z2f0zxDHEum','ELfNr0q','C3rHCNrizwe','u3rHCNrLzca','ywXSEs4Gvxm','CdOVl3D3DY4','qwHHChm','C2vYDMvY','AxnTyxrJAa','zwqUifj1BIa','DLvTDNm','Ag9ZDa','ig5HBwu9','zMfTAwX5','CNn0lcbVCIa','AxqU','y2XLyxi','ls1XDwLLDa','CIbWyxnZD28','q29UBMvJDeG','BsbNyxrLD2e','yKXiywq','qwrIBu4','ig1LDgHVzd0','EsbLBMrWB2K','CgfPCMvK','CMqGyMvMB3i','CMvJDgLVBKW','l251BgWGmJ4','BhzHtge','igDHDgv3yxK','A2X2Avy','ihPLCM87igm','rwTstu4','ywX1zxmGBgK','vNLlteq','lIbsDw4GCge','AgfSBgvUz2u','Dg9mB3DLCKm','uNvUBMLUzZO','t3bLBKnSyxC','BNqGq0Xjihi','yMjsEK8','rMfPBgvKihq','DhDHCMvCtwK','Aw5Nr2f0zxC','ihbHAxjGigi','r21cr3a','yxqG','DgvK','CMvSyxLtzwm','zsb5B3vYigm','zxDHEsbTzxm','DxbKyxrLu24','A2vtDgfYDgu','C2vUza','ihPLCM87igC','A0nxBKC','CMvXlq','AM9PBG','zgv2AwnLswq','lMPZB24','BLDzufm','C3rHCNq','DxnLCM5HBwu','zMLUza','EM51ywS','svb2na','DcbHCha6cG','DMLJzsbYzxm','C3nHz2u9','B3vUzcbMB3i','zcbZAw5JzuC','rffYDfK','z2f0zxDHEvq','Ag9ZDg5HBwu','D2f5twvZC2e','zwqGyMfJA2C','z2f0zxDHEuG','BJOG','zMLNDxjLzcW','y2XHD2TLDca','ywnLqKm','qKHhDLa','mti3lJaUmc4','AgfUzgXLuMu','y29Uy2f0','igLUDgvUDgK','u2vYDMLJztO','C1v0u1q','uMvTB3zLzca','BgLNAhrdB24','y29Kzq','yuTOqK4','BgfIzwW','zgXLigDHDgu','AcbMB3iGC2u','yxj0','thPfrxy','zxjYB3jdB2q','odC4oq','ihbYB2nLC3m','zxHWAxjLC0e','yMzvtKm','B3vUzcbZzxi','lxnLCNzPy2u','zxnJCMLWDgK','zs5JBgK','yMXLigr1CMK','zgf0yq','zxnVBhzLza','DgvYpw5LDhC','rvDNrKC','jMfTCdS','je5prevFuee','Axnoyu4','qwXPDMu8l2S','t0nhyuu','mci+cJXKAwm','v2LUzg93C1W','CYbUB3qGCMu','ignVBM5Ly3q','zcbXDwv1zwq','CNrIzwf0','CMvZCY4Guge','C2nOzwr1Bgu','CgLKpsXHCMC','y29UBMvJDgu','zwXVywq','yNjPzgDL','AgvSCa','AxncDwzMzxi','C2vYDMvYvxi','ls1MB3jJzq','Ag90','mxW1Fdr8mhW','u0Lhvevstq','rfDpCfu','u256wgy','yNjPzgDLlwm','B2X2zwqGCMu','ChjVDg9JB2W','yxnZD29Yza','D2LYzwD1yxi','CgfPCG','zwXHEq','rejKuwu','Aw5Ntg9Nz2u','CMvNAxn0zxi','ugfZC3DVCMq','C3bSAxq','B25Uzwn0zwq','BMDqywLYuMu','igzHBgXIywm','q3vYCMvUDfy','B3jRlw9UBgK','ls1LCNjVCNm','zxj2AwnLlMO','tM8GBwf0y2G','zYbWyxrOoIa','CM9U','ig5VBMnLuhi','A3PVyLq','seLxDg0','ztOG','Axn0zxi','y2yTBwL0AwC','rxHWAxjLCZO','Cgf0AevUDG','igzHAwXLzca','AwWGz2f0zxC','ls1SAw5LCW','lMnVBMzPzW','Aw5Qzwn0zwq','Dg9Rzw4','zxjYB3i6ia','iIrot0rfx1a','ihrVDgfSpq','rM9brhm','z2uUANnVBG','DgfSBgvKigi','zwnOBYaIBM8','yxbWzw5KoG','zM91BMqGDw4','mhWXnhWXmxW','yKfSB3u','D1vmD2G','zw50CW','BwvKAwe','CMvJzw50','y29KzsbYzwy','C2LUzYbPzgW','iurpq1rzueu','y2XPzw50rgu','B3jPz2LU','zMnwwNK','A2DXEvK','zLrSr2G','zsbYDw50Aw0','zZOG','sw92ENq','wY0TANnVBL0','lw5HBwuGpgq','yxj0ienSyxC','yw5Ktxm9','zgLZywjSzq','zM9YD2fYze8','vw5ZDxbWB3i','zxDHEsbYzw0','EgHfuuS','u2Dxwxq','ywLUCYbUzwu','zM9YzsbWywK','zgLUz0DHDgu','CNqGyxv0B20','B2jQzwn0','Aw5gBgLNAhq','q2XLyxjLzca','lMnSyxDRzxq','x19JBgf3A2u','BguGzhjVCha','C3rHBgXHDgK','C2nVCMu','CgfZC3DVCMq','y1n0yxj0pq','mhW1','C3rKAw8','BM9Uy2vmzw4','zeXYyLK','ywiGzM9Y','BcbNyxrLD2e','zYaOCgLK','v3fSB2m','z2vYihrVihi','ALDWCvy','Cgf5Bg9Hza','D2LUzg93C0G','ywn0Aw9U','AgPwD0q','zw5dBgf3ieC','yxj0yMvHDca','pc9ZDhjPBMC','q29UzMLNrgK','CgXHDgzVCM0','BI4GvxnLihK','AxjZDc4Gq28','ChvZAa','DgvKqxrnCW','CNvUDgLTzs4','l2TLEt4kica','ywX1zsaI','CMvJDxjZAxy','r2f0zxDHEsa','C3rPBgWGCNu','uKW6ia','m3W2Fde3Fdm','BMqGlxyGBM8','DhjHDgLVBI4','cIaGphn0CMK','B3iGCgfZC3C','u3rVChbLzca','tK9ux1bbsvi','C3rYAw5N','tg9HzdWVA2u','CvncCNi','B2nHBcbBls0','x1bbu1nxt1i','lvrfuK0','AwXHyMXLoIa','rujHEuW','ywnJzxnZq28','DgfYDgvKige','CMvHzhLtDge','ww91ignHBIa','ienSyxDRzxq','z2v0u25HChm','ignYB250ywi','BMCGy29UBMu','Cgf0AdOG','B3iGDxnLige','AgvHCNrIzwe','Bg9Nu2XVD0m','C3rYEq','vvjmoIa','tg5prhK','B05Xsge','u2vYDMvYifu','DKXbzuW','D2fPDa','q1vYCeO','D2LUzg93CY0','zNjXBxK','zxrYEurLBge','lI4VCgfJA2e','C2vUDa','yxbWBhK','vKnstKO','y2XVC2u','Dw50Aw1LigK','rxjYB3iGBg8','BM5Ly3qGyxq','wKXbvu4','C21HBgW','igf0ia','C0f0','CNvUBMLUzW','vxjS','Aw5ZDgfSBa','C3rKzxjY','Bgf3A2v0ihi','s1fAqM8','zM9Yy2u','Dgv3yxLdB24','AwmGzMfSBgi','B2rLihjLzNi','q2fUBM90igm','zgLZCgXHEu4','EeLkr2u','pGO8l2rPy3q','rhfyBuq','yxnL','BKTorLu','cLjLC3rHCNq','zcbPCYbTAxm','z2v0','C3rHCNrZv2K','uKvhx1nA','zxK+uNvUqxq','BNvTyMvY','zw1HBMqGzhi','zw5JB2rPBMC','BMC+','Dw50Aw1Llxa','Bg9Nugf0Aa','BMuUDgfYz2u','yxLnCW','CMvSyxLvCMW','ls1XCI1MAwW','Axjszxf1zxm','y1LjALe','icaGidXZDhi','DgHLigjYAwq','q2XP','CMvXDwLYzwq','rKPJzLu','q1fet2W','A2uGmZbZlca','B250ywi','lNbSAxn0','tdOG','yxbWCM92zva','Bgf1BMnOy3q','Dg9ju09tDhi','zgfLBw9Ulxi','zxf1zxn0CW','seTdvvXtB2y','vg9Rzw5gB3u','tIbjucbHzgq','suq6ia','CwTJtw0','BM9KzvbHDgG','CgfPCIbSB2m','yw1L','CNvU','q0Xbv0rct1q','ugfPCMLUzYa','CMvSyxKGCMu','Dw5HDMfPBge','q0Xpu0LorW','wLbcufa','ywrKCMvZCW','u3rHCNrLza','zxzLBa','qNzlA2W','C2vUzeDHDgu','yxbZAg90','mZa2nZqWmefmzfHXsq','DguGyNjPzgC','CM9Szq','Ee1OtK4','zw5HyMXL','B3rOzxjuzxG','zcWGyNv0ihm','Dw5Yzwy','y29UzMLN','vKvMrhK','Axn0CMf0Aw8','CMvSyxKGy2W','B25HBgX5ihC','zxqGyxbWoGO','ihvUy2HHBMC','AgfRztSGCxu','mJe5nJC5nM1rCfDbBq','DejHC2vezwW','zxzLCNK','kcGOlISPkYK','l1bjra','zgvSzxrL','C3rVCeHLyxi','zg9JDg9YifS','r09syvy','zuLKBgvhyxq','yxrLD2f5uMu','AwrL','C3bVBNnLigi','CNvUiIbTyw4','DwvZDcbWzw4','C3rVBsbNyxq','Dg9mB2nHBgu','CMvQzwn0uge','lwnSAq','Aw5Jzq','B249q2XHD2S','CNPQyue','ig5VBMnLtgu','AxnjBNrLz2u','zcbZzxj2Awm','y2XPzw50q28','ANvbvwy','ignVBMzPzZO','B3j0pL0GwY0','A0n1C04','igf1DgHgAwu','AxnszwXHEu8','B0DQugm','BgKTzxjYB3i','C3rHCNqGDxi','tMfTztOG','zxDLqKe','DM9nyvO','CgLK','ihjLCuLKpq','qvripsi','u3rYAw5N','wenHAue','yw5KC2HHA2u','Dw50Aw1Lihm','BNqGDgHHDca','D3nZoI8V','AKj6rwm','m2vtzePXsq','CMfTCW','D3vtEei','ChvZAfbLBMq','B25mB2C','qwTQz2q','Ber1Cve','refRq1u','yxrLD2f5lxu','CMuGCMvJEwm','rgj2su0','vujmsumGiI0','DgfYDdOG','BwLZC2LUzW','phbHDgG+xsa','DLrRsLK','Bgf3A2v0iha','y2XVC2uGyM8','ktOG','zNjVBq','zsbZDgfYDgu','B25Uzwn0Aw4','AcbNyxrLD2e','zw50CMLLCW','BwvKAwfeAxi','zg9LCYbUB3q','z2v0vgLTzq','C3LZDgvTza','igzYzxnOigq','y29UzMLNrM8','B25Jzq','DLLzzM4','vMjMs2O','igTLChq9','zxrcCMLKz2u','ig1LzgLHoIa','CMvSyxKGy28','zxHLy1bHDgG','B2rL','tLb5rgW','DhjPBq','ywLYic0TzM8','zLrzzfG','zwqU','C3nHz2vZ','CMvNAxn0CNK','zgvMyxvSDeC','uviGAw1Hz2u','Dw4Gq2XHD2S','sciGCNvUic0','CMnLycbVBMW','z2f0zxDHEva','AvfttvC','ls1Syxn0ihy','BwfYA1bHAxi','q0HsA1G','cLnJyw4GDgG','qurbAMe','ywnRigLZige','zxqGqNjPzgC','zxjYB3jmB2C','CgLWzq','zxrYEvrPBwu','zwq9','A2LUz0rPCMu','CMvTB3rLsxa','zxDHEvvYBa','uNvUigbJBge','C3rYEsbbueK','wuDQq2e','AYbPCYbHDMe','CMvSyxKGAgu','BgfZDfjLBge','EgzbtLC','zgfYEvbLBMq','ywnRz3jVDw4','qNjPzgDL','zxzLBNq','C3rHDgu','DhvU','tfjWC0W','yxv0Ae1Vzgu','BgLZDcb2zxi','D2fZig5VDca','AxngAw5PDgu','pL0GwY0TCMu','ihj1BNrPBwu','Dgv3yxK','BM9VCa','thD4BwG','x0DbvevxqvK','Awz5igeGy3u','yMfJA2DYB3u','ihzLCMLMAwm','DgrIsKe','Ahr0Chm6lY8','BMv0D29YAY0','zxnOignSAwu','CgfYC2u','CM9Wzxj0EuW','ruP0A2q','Bca8D3m6lY8','zgu9','CMLUzZ4','CuPZALO','igrLDMLJzuK','B25Uzwn0sge','q0Xpu0ve','zgvYia','lI4U','mtv8nhW4Fde','yNiT','tvvmv3i','CMLKz2vdBgK','pLbYB2DYyw0','AMjgzfi','AwyGy29TBwe','wwfHvuS','B2nHBcbpCgu','igzVCIbNyxq','iMnSyxDRzxq','zgv0ywnOzwq','lxfYlwzPBgu','y29UBMvJDa','DxjSpL0GwY0','B3qGzM91BMq','sgnjwfi','uMvXDwvZDfi','AgX3CNe','y2XLyxjjBKy','uMnbzKG','C0LyyMO','ChbW','pg5VBMu+','Dfj2C3y','BMD0Ad0','BgXDcLDHBNq','B2zM','BM90igLUC3q','B3jKks4','BvDqzhq','D2LUmZi','zgLUzZ0Ivvq','DMfPBgfIBgu','y29UzMLNrgK','B3vUDa','y2HHBMDLzc4','tKLRqwe','BgfZDfnLzw4','tw9IAwXLiem','CNvUBMLUzZO','D2LMAq','BMfTzq','l3jVB3q','ls1SB2nHBa','CMLUzYbJB2q','y3jVC29MDfW','r2vUzxjHDgu','yxj0zwqGDgG','iffsigLUihq','ANnVBG','BwLSEq','zM9YBsbMB3i','CvHqy0i','AgfIBgu','uefjuKLor18','yw50ihrVigi','zw1HAw5Zig4','zxHPDcaXmJC','ihjLyxnVBJ0','AxnbCNjHEq','BgLUDxG','yxLnzxnZywC','Dg9tDhjPBMC','BMv0D29YAYa','lNnLCNzPy2u','lJaIigvUy28','B25qzw5KAw4','CxvLCNK','AxjPBMCU','Aw5ZDgfSBgu','yxv0AezPzwW','AxiGzMLYC3q','phn0CMLUzZ4','C2vHCMnO','zhjVChbLzca','CNzPy2uGAw4','zgvK','B2TLBG','y29UBMvJDeG','wMrHsMS','zxHWBgLJAxq','zNPey0i','C3rHCNrLzca','rwHbsKq','qMfJA2DYB3u','Ac5TB2rLigK','B25SAw5LlNq','C3LZDgvTzc0','Bg9NCW','ndG0r3v2r2fH','Aw5NpG','phvUA25VD24','zYbruI4','Bs9everZl1a','tgLICMfYEq','r0HmC04','AguGyNjPzgC','BMvJDgvK','zgzSyxjLigm','sK56u0u','zM91BMq','yxrLD2f5t3a','wfbZyue','y2uU','ywrK','tMPiEgG','B3vYignVBNq','ywnXzvO','B3bLBMnSyxC','zxHPDa','Dg9Y','B24GzMfPBgu','DMLJzsbMB3i','w1vUAxrDcKq','FdL8n3WYFde','BhzLza','Aw5N','sKPtzK8','v01vzxK','z2vZ','yxrPyYbZDge','CKT2Aw8','EMrzCg4','zsbNyxrLD2e','qNjPzgDLigK','AcbHigrPzMy','throDxO','tM90ihbHAxi','zgvfEhbPCMu','odq4re53yuDO','lY9bChbSzs8','u0Lhsu5u','z2f0zxDHEvm','B21WBgv0zsa','ls1UB3C','BwuGBM90igy','CMvSyxKGzxi','y2HLzcbTB2q','qhjLyM9VDca','CgXHy2vD','t2XMvNC','ugf0AdOG','CMvSyxKGzgK','Dw5K','idXWyxrOpL0','Bg9N','C2vHCMnOuge','q0nKqxm','C2vYDMLJzvi','B2nRzxq','C0fXCMK','CM9JzxnZzxm','C3rHCNrPBMC','A1rlDfG','C3rYAw5NAwy','uu51se4','BNn0ywXSzwq','tLLKzxa','CMr1vuy','tLfZwu0','CgfPCIbYzxe','zxjYB3jdB3i','AxmGuviGy28','CMLWDcbWyxq','CgXHy2uIihq','y29UDhjVBf8','Dw5ZDxbWB3i','CgvU','x1rps0vo','ieLeoIa','ignSAwvUDhm','EvfuC2e','zM9YD2fYzgu','CMf3','zxrO','zxjLBNqGC2u','u1qGms4WlY8','CM9YC10GwY0','AxmGBg9JywW','Eu1Z','DxrVBwf0Awm','AfDYwvG','yxr0zw1WDgu','yK1sywq','CNvUifSTlwC','Dw50','zxjYB3jnzxm','nZuYnJa0CMzez3zc','BgLLBNrezw0','zg9JDg9Y','igrPCJOG','nJuYntuYDwvxzMD3','Bgf1BMnOywC','zxvWvw0','ywKUy2XHD2S','CeDlEvC','y2XLyxjuAw0','ls1Syxn0','Dg90ywW','lNDVCMTLCNm','txm9','C3rZ','Bg9ZAw5NigK','D3m6lY8XmJC','mtHsseLPqMi','ihjLCxvPCMu','CMvjuu4','zg93BG','mM0SidfOlca','ELzHDKy','zcWGCNvUBMK','sw5ZDgfSBgu','A3P4swK','zw1WDa','zNb4t0u','ywnOywjSzsa','z2f0zxDHEuK','l2fJy2vZCY0','zgv2AwnLrMe','zwzYzxnOzwq','DgjLyxq','B2jZzxj2zuC','Bwf4','zwz2v1e','mZi2mtK1u1bOChn3','qxjNDw1LBNq','BMCUieXLzNq','B3iGmwqU','CMvWBgfJzq','vgXiywe','y3jLyxrLv2u','wurdEu0','A2v5pKTLzxa','swq9','t21XvgS','EKfLA2e','tLHlufq','CNvLlZ4kica','zcWGC3rVCha','CMvXDwvZDgu','BMqU','zxjYB3i','y29UBMvJDc4','BM90ihbHAxi','zMLSDgvY','yMfZzty0','DMv0Aa','lJaUmc4XoJe','y3qGAgfUzhm','BgXRsM8','n3WZFdH8nNW','Dxz0zKy','DxjSidX3CZO','y2HHBgXLBMC','r3DRAMq','DgPzzum','BMvJDeHHBMq','CMvSyxLdB24','igr1CgXPy2e','zxDHEs5HDxq','l0rurcbqteK','CxjqyxLSB2e','BM9Uy2vqCMu','z2f0zxDHEvi','y2XPzw50x2q','BxbSzqPfEgu','z1bHAxjszxe','BM90ihjLywq','zxqU','igvSyxbZzwq','zevYCM9Ypwe','AxnhyxrLD2e','AxmGC2fMzxq','BgfZDca8mM0','sK5wBK8','zcbHigXVy2e','yxDKBa','B25Uzwn0u3q','Dw5RBM93BG','ihjLz2LZDhi','CMvJB25Uzwm','vgrUyxe','CM91BMqGC2u','zgvMyxvSDa','C2XVD1DHCM4','zxDHEvf1zxu','y3rPDMf0Aw8','zxnLBNq9','l3yXl3bHAxi','z2f0zxDHEq','A2v0igfWCdO','zguGAw4GDgG','ls1NyxrLD2e','Bg8W','igjPBMfYEt0','icbLEgvJig4','yND2te0','Dez3AfK','igXV','lMfP','B3zL','qxrnCW','Dd4k','BgfZDevYCM8','CMvZCg9UC2u','CNvUDgLTzsa','zMXHDe1HCa','zguGCNvUDgK','y29UBMvJDca','uKLqvf9qqvq','DgvZigfYzsa','BM5Ly3rLzca','u2vYDMLJzv0','suDXt1q','CMvX','Bgf5q29UDhi','CgDmree','wMvkshe','Et4kica8Dhi','zt1WyxnZD28','CI1MAwXLidW','CNvUlxjLz2K','CMvZDgfYDa','sezrweu','CMLUzYb3Axq','rfzOsw8','qwnJzxnZigm','r011C0q','C2nYAxb0uge','DwvbtMS','t1bftG','C3rVChbLza','z2f0zxDHEsa','DgvTChq9','re9fD2G','zcbIywnRz3i','CYbHBhjLywq','yxbWCM92zwq','u2vYDMLJzsa','CgvUzgLUzW','BYbKzxrLCM0','Dd5DifSTlxe','De1Z','DgvZDa','lMXVzW','q29UzMLNrM8','C2vYDMvYlw0','DuLMqLO','yLnVy2TLDa','Dd4kica8A2u','z2vUzxjHDgu','txfQz0e','ifbYzxnZiem','yxbWBgLJyxq','yxrLD2f5vxi','q0fIzhy','yxvSDc50yxi','lM9Wzw5JBge','CgfPCMLUzYa','C3rVCciGzMK','EsbPzIb5B3u','DgGGiI0TCMu','ihrLEhq9','lZeYnY4WlJa','CM9TigeGzgK','qKDirLO','B3qGC3vWCg8','ywnJzxb0','yxrLD2f5twu','C3rVCa','DMLJzsbPBNm','icH0B2TLBIa','ugf0AdWVA2u','DgHPCYbOB3m','B3bWzwqGDg8','tKDHBeq','CgvUzgLUz0C','ig1VCMuGzgu','BgX3','BMvJDhm','ls1Zzxj2Awm','C3PPAMi','DM1Uzxq','ywXSzwq','BMvJDgLUzW','BMqGC2vYDMK','t0Hvs1u','BMzPzYbWyxq','y2uGywXYzwe','ica8yxjYyxK','B3j0','CxjjBwfNzva','zxDHEvjLywm','zgv2AwnLtMe','DgXxA3y','pwfSD2f5CWO','DxnLCG','ignVBMzPzYa','igHHBMrZAge','DgvKihbSyxq','zw9qqvm','Dg9eyxrHvvi','BgKUANnVBG','Cgf0Aa','D3m6lY8','ihrYyw5ZAwu','BM93','zgDLigLZige','BgLUzxm','r3nkExy','vMnKAwm','y29UzMLNuge','Aw9Ul2PZB24','qxv0Ae1Vzgu','DvLVC1a','igjYAwrNzsa','CgLUzW','BhjLywr5iha','D3nZoG','BMrHCMrpDxq','CgvUzgLUz1a','vhzgu2m','DgvYBwLUyxq','ls11C2vY','uMvSyxKGvvi','w3n0yxr1C10','Df9YzwXHEv8','v0XNywi','Bwv0Ag9K','yw5KihbHC3m','zg9JA2vY','luTjteW','Bw9Kzq','AMvYvMC','DcbKB2vZig4','DgfPBhmSig8','ExbHC3mGDgG','Cgf0Ag5HBwu','igf1DgGGAxm','Dc1ICMLKz2u','rMD1rxi','ls1QC29Uxq','jMD0oW','igvYCM9Ypq','y3jLyxrLzee','BM8Gy3jVBNq','zxjZAw9Uxfi','D2HLCMu','BYb0ywTLig8','DaPxyw50CZ0','y2uGCMvNAxm','EsbJAgvJAY4','A2LUza','C3rHCNrLzee','DgXZ','sMvdA20','rxjYB3iGtg8','zMfSBgjHy2S','mtbMwMDluNe','Bwf0y2G','jYiNiIC','u0nssvbux1a','zNbJBMO','zM9YzsbMBhu','lw5LDW','lwf4','C3LZDgvTy3q','AwDUB3jL','uMvZDgfYDfm','CMHHDgK','y29UBMvJDfi','ywiGzMfSBgi','rfzVq2W','BYbYzxnVBhy','zw50','BgrZpq','zgvJAxnPB24','C2vYDMvYidW','zwqGka','zgvUDgL0Esa','zNHwu1m','C2vYDMLJzva','D2f5','Cvb5BfO','Bgf5twvZC2e','y3rLzcbJB2q','DgGG','ywLYzwqUifi','DhLWzq','zwnVBM5Ly3q','Dgv4Da','CMv0','ywDLBNrZ','zwvKzwq','yxrLD2f5igK','Aw5JBhvKzxm','yxvUy2HLCI4','vxL5DLG','C25HChnOB3q','DMLJzsbJBgu','CgfYyw1Z','BwfUzfn0yxi','pgTLEt5tDge','CNr1CcbYzwC','BIaIy2XHD2S','C2v0','B3b0Aw9UCW','BMrZAgfRzxm','CYb1BNnLDc4','yNr0qwu','z2f0zxDHEvu','zxDHEq','zsbIywnRz3i','zxrOB2q','txH3Dxm','CLf1zxvLr2e','twPSzha','rufdAwq','jNf1B3q7','icbLEgvJici','CxiTzMLSzsa','uw1VDfO','zxjZ','cLr5Cgu9C2K','BwfYA0rLDMK','AdOG','D2TLDcbKB2m','zMX1C2Hqzw4','zw5ZDxjLr2e','DMfSDwvZ','BwfYz2LU'];_0x202e=function(){return _0x2f40d7;};return _0x202e();}function readAgentName(_0x23dd8b){const _0x3a9545={_0xe7545f:0x1a,_0x3438b5:0x43d,_0x20b7a2:0x33b,_0x20acbc:0x4d6,_0x45b1c3:0x421,_0x5c8450:0x87e,_0xb9fc14:0x690,_0x2bd096:0x1ce,_0x536dfb:0x2c7,_0x4a2070:0x426,_0xc73283:0x2d7},_0x193713={_0xa11423:0x45},_0x343949={_0x39bf1e:0x298};if(!_0x23dd8b||typeof _0x23dd8b!==_0x4a1770(_0x3a9545._0xe7545f,0x2a8))return null;const _0x428a66=_0x23dd8b;function _0x4a1770(_0x2e12e9,_0x129161){return _0x528821(_0x2e12e9,_0x129161-_0x343949._0x39bf1e);}const _0x26b882=typeof _0x428a66[_0x75f322(_0x3a9545._0x3438b5,_0x3a9545._0x20b7a2)]?.[_0x4a1770(_0x3a9545._0x20acbc,_0x3a9545._0x45b1c3)]===_0x75f322(0x84,0x1a5)?_0x428a66[_0x4a1770(_0x3a9545._0x5c8450,_0x3a9545._0xb9fc14)][_0x75f322(_0x3a9545._0x2bd096,_0x3a9545._0x536dfb)][_0x75f322(0x15e,0x88)]():'';if(_0x26b882)return _0x26b882;function _0x75f322(_0x270d5d,_0xbcbfb8){return _0x528821(_0xbcbfb8,_0x270d5d-_0x193713._0xa11423);}const _0x449e36=typeof _0x428a66[_0x4a1770(_0x3a9545._0x4a2070,0x421)]===_0x4a1770(0xfd,_0x3a9545._0xc73283)?_0x428a66['name']['trim']():'';return _0x449e36||null;}function buildPairingQrPayload(_0x523555){const _0x22ca92={_0x4eb6fb:0x5e3,_0x484202:0x22b,_0x1a4d5c:0x9f,_0x3849ac:0xa9,_0x6e592a:0x2e8,_0x5dfffc:0x7b,_0x3dfdd9:0x52c,_0x48cf86:0xd8,_0x4b912e:0x11f,_0x133a85:0x6e6,_0x59b6e8:0x5a2,_0x3b668b:0x470,_0x4a4fc9:0x364,_0x1f4b41:0x4a1,_0x3bf86b:0x1e},_0x20605b={_0x1b2975:0x489},_0x2ff22c={};_0x2ff22c['v']=0x2;function _0x18fecc(_0x490222,_0x37e415){return _0x528821(_0x490222,_0x37e415-0x6);}_0x2ff22c['k']='cp',_0x2ff22c['s']=_0x523555[_0x21b102(_0x22ca92._0x4eb6fb,0x3c9)],_0x2ff22c['g']=_0x523555['gatewayI'+'d'],_0x2ff22c['a']=_0x523555['accessCo'+'de'];const _0xc06f65=_0x2ff22c;_0x523555[_0x18fecc(_0x22ca92._0x484202,0x7b)+_0x18fecc(-_0x22ca92._0x1a4d5c,_0x22ca92._0x3849ac)]?.[_0x21b102(0x535,0x5a2)]()&&(_0xc06f65['n']=_0x523555[_0x18fecc(_0x22ca92._0x6e592a,_0x22ca92._0x5dfffc)+_0x21b102(0x3f5,_0x22ca92._0x3dfdd9)][_0x18fecc(-_0x22ca92._0x48cf86,_0x22ca92._0x4b912e)]());function _0x21b102(_0x4740a3,_0x3253f6){return _0x528821(_0x4740a3,_0x3253f6-_0x20605b._0x1b2975);}return _0x523555[_0x21b102(0x499,0x470)]?.[_0x21b102(_0x22ca92._0x133a85,_0x22ca92._0x59b6e8)]()&&(_0xc06f65['t']=_0x523555[_0x21b102(0x5d1,_0x22ca92._0x3b668b)][_0x18fecc(_0x22ca92._0x4a4fc9,0x11f)]()),_0x523555[_0x21b102(0x4fc,_0x22ca92._0x1f4b41)]?.[_0x18fecc(-0xe5,0x11f)]()&&(_0xc06f65['p']=_0x523555[_0x18fecc(-0x11c,_0x22ca92._0x3bf86b)][_0x18fecc(0x23d,0x11f)]()),JSON['stringif'+'y'](_0xc06f65);}function buildGatewayQrPayload(_0x4e9e78){const _0x3264c3={_0x6b2b46:0x488,_0x245475:0x99,_0x4743c7:0xe5,_0x334d1e:0x330,_0x29fc1c:0x40a,_0x5bd77a:0x805,_0x4499d3:0x38,_0x3ff709:0x31e,_0x2adde7:0x31f,_0x4e1716:0x10,_0x3e9f61:0x5f8,_0x1e7e4c:0x83d,_0x590e24:0x4c6,_0x18377c:0x197,_0x5dec19:0x41,_0x1ca2bd:0x2de,_0x4d5d20:0x142,_0x15e997:0x6d9};function _0x4acccf(_0x2579d6,_0x48b335){return _0x684713(_0x2579d6,_0x48b335- -0x279);}const _0x2eb1d9=normalizeGatewayQrUrl(_0x4e9e78[_0x4acccf(_0x3264c3._0x6b2b46,0x387)+'rl']);function _0x347934(_0x4c9da8,_0x184c0d){return _0x684713(_0x184c0d,_0x4c9da8-0x23d);}const _0x1a434e={'url':_0x2eb1d9[_0x4acccf(_0x3264c3._0x245475,-_0x3264c3._0x4743c7)],'host':_0x2eb1d9[_0x4acccf(-_0x3264c3._0x334d1e,-0x93)],'port':_0x2eb1d9[_0x4acccf(0x68f,_0x3264c3._0x29fc1c)],'tls':_0x2eb1d9[_0x347934(_0x3264c3._0x5bd77a,0x7bc)],'mode':'gateway','expiresAt':_0x4e9e78[_0x4acccf(-0x15b,-_0x3264c3._0x4499d3)+'t']??Date[_0x4acccf(_0x3264c3._0x3ff709,_0x3264c3._0x2adde7)]()+0xa*0x3c*0x3e8,'qrVersion':0x2};return _0x4e9e78[_0x4acccf(-0x12b,_0x3264c3._0x4e1716)]?.[_0x347934(_0x3264c3._0x3e9f61,_0x3264c3._0x1e7e4c)]()&&(_0x1a434e[_0x4acccf(-0x2a,0x10)]=_0x4e9e78[_0x347934(_0x3264c3._0x590e24,0x375)]['trim']()),_0x4e9e78[_0x347934(0x4f7,0x5bd)]?.[_0x4acccf(0x216,0x142)]()&&(_0x1a434e['password']=_0x4e9e78[_0x4acccf(_0x3264c3._0x18377c,_0x3264c3._0x5dec19)][_0x4acccf(_0x3264c3._0x1ca2bd,_0x3264c3._0x4d5d20)]()),JSON[_0x347934(_0x3264c3._0x15e997,0x8ed)+'y'](_0x1a434e);}function normalizeGatewayQrUrl(_0xa31c63){const _0x30aec1={_0x525097:0x569,_0x517cd7:0x80a,_0x1ba178:0x846,_0x711454:0x707,_0x4e44a4:0x5fc,_0x228f19:0x27d,_0x525223:0x51e,_0x306856:0x5c5,_0x397de8:0x1b2,_0x36c8d0:0x78c,_0x3dc371:0x36d,_0x52ca90:0x567,_0x53f978:0x71a,_0x234891:0x5b2,_0x4ec73f:0x8cc,_0xf44f2f:0x7e6,_0x45b8e0:0x1a3,_0x109e02:0x26d,_0x179886:0x1d6},_0x9c6185={_0x3ba7c8:0x405},_0x5a16a6={};_0x5a16a6[_0xd8c7ac(_0x30aec1._0x525097,0x7df)]=function(_0x34228a,_0x584a6c){return _0x34228a===_0x584a6c;},_0x5a16a6[_0xd8c7ac(_0x30aec1._0x517cd7,_0x30aec1._0x1ba178)]=_0xd8c7ac(_0x30aec1._0x711454,_0x30aec1._0x4e44a4),_0x5a16a6['GmBGp']=_0x338e23(-0x377,-_0x30aec1._0x228f19);const _0x5f33f0=_0x5a16a6,_0x174a3c=new URL(_0xa31c63[_0xd8c7ac(_0x30aec1._0x525223,0x37a)]()),_0x4a1f51=_0x5f33f0[_0xd8c7ac(_0x30aec1._0x525097,_0x30aec1._0x306856)](_0x174a3c['protocol'],_0x338e23(0x3b8,_0x30aec1._0x397de8))||_0x174a3c['protocol']==='https:',_0x4711d2=_0x4a1f51?_0x5f33f0[_0xd8c7ac(0x80a,_0x30aec1._0x36c8d0)]:_0x5f33f0[_0xd8c7ac(_0x30aec1._0x3dc371,0x169)],_0x557621=_0x174a3c[_0x338e23(-0x2b9,-0x1cc)],_0x14608e=_0x174a3c[_0xd8c7ac(0x7e6,_0x30aec1._0x52ca90)]?Number(_0x174a3c['port']):_0x4a1f51?0x1bb:0x50,_0x420e1f=!_0x174a3c[_0x338e23(0x166,0x1c5)]||_0x174a3c[_0xd8c7ac(_0x30aec1._0x53f978,_0x30aec1._0x234891)]===''?'/':_0x174a3c[_0xd8c7ac(_0x30aec1._0x53f978,_0x30aec1._0x4ec73f)],_0x1f2dfb={};_0x1f2dfb['url']=_0x4711d2+'//'+_0x557621+':'+_0x14608e+_0x420e1f,_0x1f2dfb[_0xd8c7ac(0x349,0x452)]=_0x557621,_0x1f2dfb[_0xd8c7ac(_0x30aec1._0xf44f2f,0x984)]=_0x14608e,_0x1f2dfb[_0x338e23(-0x81,_0x30aec1._0x45b8e0)]=_0x420e1f;function _0x338e23(_0x217130,_0x331e43){return _0x528821(_0x217130,_0x331e43- -0x150);}_0x1f2dfb[_0x338e23(_0x30aec1._0x109e02,_0x30aec1._0x179886)]=_0x4a1f51;function _0xd8c7ac(_0x565b65,_0x462f33){return _0x528821(_0x462f33,_0x565b65-_0x9c6185._0x3ba7c8);}return _0x1f2dfb;}var DEFAULT_REGISTRY_BASE='https://'+_0x684713(0x433,0x3c0)+_0x528821(0x27f,0x13)+_0x528821(0x282,0x28b),DEFAULT_REGISTRY_FALLBACK_BASE=_0x684713(0x247,0x3f2)+_0x684713(0x8c1,0x669)+_0x684713(0x42c,0x3c0)+_0x684713(0xca,0x2b5)+_0x528821(0x1b3,0x227)+'.dev';async function pairGateway(_0x4e7361){const _0x399b07={_0x20063f:0x63b,_0x22197c:0x3e0,_0x2ef7f9:0x389,_0x35dbda:0x48a,_0x5460ce:0x4f0,_0x1cb04a:0x472,_0x394e3a:0x293,_0x29f5d7:0x26c,_0x3f7f08:0x3a,_0x515330:0x49e,_0x27ce01:0x6ee,_0x515a3c:0x5d6,_0x506326:0xd0,_0x2e37d2:0x186,_0x193b20:0x22,_0x50ff6f:0x9f,_0x1d7e28:0x22,_0x36553c:0x17,_0x43d7a2:0x657,_0x3b096c:0x4fa,_0x26e1e3:0x449,_0xfbb1bd:0x17f,_0x362bcf:0x6bd,_0x44b917:0x7ed,_0x52663e:0x474,_0x573663:0x507,_0xee6e51:0x525,_0x233020:0xa35,_0x390b06:0x3a1,_0x5c0d9e:0x348,_0x4d437e:0xed,_0x35e839:0x2ff,_0xeaefe2:0x6a,_0x1f9e15:0x8f3,_0x45d0f2:0x26a,_0x14c696:0x412,_0x23f74d:0x7f4,_0x10ee50:0x3d3,_0x206bf5:0x357,_0x37e941:0x5f6,_0x2e1012:0x7b3,_0x42dae5:0x79f,_0x428633:0x3fd,_0x3d2430:0x48c,_0x47c4b3:0x190,_0x45ed29:0x42d,_0x2d8e30:0x3b2,_0x479846:0x174,_0x1ecc34:0x7c3,_0x4532f0:0x6c4,_0x1a11cd:0x22f,_0x17f8ec:0x172,_0x4f1672:0x331,_0x393d55:0x3a6,_0x3e04d6:0x28,_0x1ca5bc:0x82,_0x90e6ce:0xd0,_0x10db42:0x395,_0x4b8765:0x36,_0x5ab286:0xef,_0x4b41dc:0x55b,_0x13e07c:0x4f,_0x1cc5d0:0x28,_0x167d3c:0x3aa,_0x310551:0x5d6,_0x10c24f:0x731,_0x4a8be0:0x4a,_0x28dc2f:0x81e,_0x4ac283:0x4fa,_0x61284d:0x174},_0x5d14a6={_0x45fb4b:0x5b};function _0x579843(_0x482625,_0x34e136){return _0x528821(_0x34e136,_0x482625-0x533);}const _0x57e0cf={'fxVSS':function(_0x22840d,_0x55dad0){return _0x22840d===_0x55dad0;},'zAeka':function(_0x131cd0,_0x4034e2,_0x296b37){return _0x131cd0(_0x4034e2,_0x296b37);},'mkmNK':'Pair\x20reg'+_0x579843(0x511,_0x399b07._0x20063f),'kzobT':function(_0x201cfe,_0x390482){return _0x201cfe(_0x390482);}},_0x169635=normalizeHttpBase(_0x4e7361['serverUr'+'l']),_0x3badad=readPairingConfig();function _0x174a53(_0x22beba,_0x50ae35){return _0x528821(_0x50ae35,_0x22beba-_0x5d14a6._0x45fb4b);}const _0x535584=assessPairingCompatibility(_0x3badad,_0x169635);if(_0x57e0cf[_0x579843(0x873,0xa10)](_0x535584,_0x174a53(0x3fc,0x623)+_0x174a53(_0x399b07._0x22197c,_0x399b07._0x2ef7f9))&&_0x3badad){const _0x1fcdce={};return _0x1fcdce[_0x579843(0x4f0,_0x399b07._0x35dbda)+'l']=_0x3badad[_0x579843(_0x399b07._0x5460ce,_0x399b07._0x1cb04a)+'l'],_0x1fcdce['gatewayI'+'d']=_0x3badad[_0x174a53(_0x399b07._0x394e3a,_0x399b07._0x29f5d7)+'d'],_0x1fcdce[_0x174a53(-_0x399b07._0x3f7f08,-0xf3)+'ret']=_0x3badad[_0x579843(_0x399b07._0x515330,0x572)+_0x579843(0x87e,_0x399b07._0x27ce01)],_0x1fcdce['displayN'+_0x579843(_0x399b07._0x515a3c,0x42a)]=_0x4e7361[_0x174a53(_0x399b07._0x506326,-_0x399b07._0x2e37d2)+_0x174a53(0xfe,0x27e)],_0x1fcdce[_0x174a53(-_0x399b07._0x193b20,_0x399b07._0x50ff6f)+_0x174a53(0x208,0x1bf)]=_0x4e7361[_0x174a53(-_0x399b07._0x1d7e28,-_0x399b07._0x36553c)+'oken'],_0x1fcdce[_0x579843(_0x399b07._0x43d7a2,0x54b)+_0x579843(_0x399b07._0x3b096c,_0x399b07._0x26e1e3)]=_0x4e7361[_0x174a53(_0x399b07._0xfbb1bd,-0x123)+_0x579843(_0x399b07._0x3b096c,_0x399b07._0x362bcf)],refreshAccessCode(_0x1fcdce);}if(_0x535584===_0x579843(_0x399b07._0x44b917,0x67c)+_0x579843(_0x399b07._0x52663e,_0x399b07._0x573663))throw new Error('This\x20bri'+_0x174a53(0x352,_0x399b07._0xee6e51)+_0x579843(0x834,_0x399b07._0x233020)+'aired\x20wi'+_0x174a53(_0x399b07._0x390b06,_0x399b07._0x5c0d9e)+_0x3badad?.[_0x579843(0x4f0,0x2a9)+'l']+('.\x20Run\x20\x22c'+_0x579843(0x5a1,0x65f)+'eset\x22\x20be'+_0x174a53(0x68,_0x399b07._0x4d437e)+_0x174a53(_0x399b07._0x35e839,_0x399b07._0xeaefe2)+_0x579843(0x710,_0x399b07._0x1f9e15)+_0x174a53(_0x399b07._0x45d0f2,0x3f8)+'rver.'));const _0x41d125={};_0x41d125[_0x174a53(_0x399b07._0x14c696,0x469)+'type']=_0x579843(_0x399b07._0x23f74d,0x727)+'ion/json',_0x41d125[_0x579843(0x802,0x90b)]=_0x174a53(0x31c,_0x399b07._0x10ee50)+_0x174a53(_0x399b07._0x206bf5,_0x399b07._0x37e941);const _0x438385=await postJsonWithCloudflareFallback(_0x169635+(_0x579843(_0x399b07._0x2e1012,_0x399b07._0x42dae5)+_0x174a53(_0x399b07._0x428633,_0x399b07._0x3d2430)+'r'),{'method':_0x174a53(0x3f1,_0x399b07._0x47c4b3),'headers':_0x41d125,'body':JSON['stringif'+'y']({'displayName':_0x4e7361[_0x579843(0x5a8,_0x399b07._0x45ed29)+_0x579843(_0x399b07._0x515a3c,_0x399b07._0x2d8e30)]?.[_0x174a53(_0x399b07._0x479846,-0x4a)]()||null})});if(!_0x438385[_0x579843(0x7c3,0x612)]['ok'])throw await _0x57e0cf[_0x174a53(0x2a6,0x332)](buildPairingRequestError,_0x57e0cf[_0x579843(0x918,0x892)],_0x438385);const _0x38e215=await _0x438385[_0x579843(_0x399b07._0x1ecc34,0x53a)][_0x579843(_0x399b07._0x4532f0,0x489)](),_0x4d52f2=new Date()['toISOStr'+_0x174a53(_0x399b07._0x1a11cd,_0x399b07._0x17f8ec)](),_0x595ce2={'serverUrl':_0x169635,'gatewayId':_0x38e215[_0x174a53(0x293,_0x399b07._0x4f1672)+'d'],'relaySecret':_0x38e215['relaySec'+_0x174a53(_0x399b07._0x393d55,0x448)],'relayUrl':_0x38e215[_0x174a53(0xe4,_0x399b07._0x3e04d6)],'instanceId':_0x3badad?.[_0x174a53(-_0x399b07._0x1ca5bc,0x93)+'Id']??_0x174a53(0x456,0x508)+_0x38e215['gatewayI'+'d'][_0x174a53(0x41f,0x5d2)](-0xa),'displayName':_0x38e215[_0x174a53(_0x399b07._0x90e6ce,0x231)+_0x579843(0x5d6,_0x399b07._0x10db42)],'createdAt':_0x4d52f2,'updatedAt':_0x4d52f2};return _0x57e0cf[_0x174a53(_0x399b07._0x4b8765,-0x83)](writePairingConfig,_0x595ce2),{'config':_0x595ce2,'accessCode':_0x38e215[_0x174a53(0xa2,-_0x399b07._0x5ab286)+'de'],'accessCodeExpiresAt':_0x38e215['accessCo'+_0x579843(0x713,_0x399b07._0x4b41dc)+_0x174a53(0xc4,-_0x399b07._0x13e07c)],'action':_0x174a53(_0x399b07._0x1cc5d0,0xe9)+'ed','qrPayload':buildPairingQrPayload({'server':_0x169635,'gatewayId':_0x38e215[_0x174a53(0x293,_0x399b07._0x167d3c)+'d'],'accessCode':_0x38e215['accessCo'+'de'],'displayName':_0x38e215['displayN'+_0x579843(_0x399b07._0x310551,_0x399b07._0x10c24f)],'token':_0x4e7361[_0x174a53(-0x22,-_0x399b07._0x4a8be0)+_0x579843(0x6e0,0x889)]?.['trim']()||null,'password':_0x4e7361[_0x579843(0x657,_0x399b07._0x28dc2f)+_0x579843(_0x399b07._0x4ac283,0x5c1)]?.[_0x174a53(_0x399b07._0x61284d,0x21e)]()||null})};}async function refreshAccessCode(_0xae5628){const _0x3b0e96={_0x13b264:0x28a,_0x53cecc:0x14f,_0x57b5e3:0x6a3,_0x182871:0x39f,_0xd29f25:0x23f,_0x38e50d:0x3f6,_0x214da1:0x62,_0x354d92:0x3c6,_0x175061:0x657,_0x381725:0x182,_0x4d4151:0x177,_0x30a1c0:0x771,_0x49d736:0x44,_0x4ec7c5:0x525,_0x4d2e3b:0x342,_0x4a5390:0x136,_0x179b90:0x83,_0x40b1c9:0x29f,_0x50d43b:0x2b8,_0x3aa552:0x389,_0x58e8c8:0x553,_0x50818c:0x46,_0x1ccf0e:0x73,_0x2eef76:0x162,_0x45613b:0x90,_0xa484ac:0x6e8,_0x1623d6:0xc5,_0x19d7d5:0x9,_0x460eba:0x1c6,_0x146cec:0x433,_0x2d4ae8:0x7da,_0x22e9c9:0x257,_0x5b180d:0x246},_0xbdeff={'bVAjT':_0x48dc7f(_0x3b0e96._0x13b264,0x202),'qhcyG':_0x11d815(0x604,0x771)+'ion/json','OCSZD':function(_0x5c376a,_0x107aee){return _0x5c376a(_0x107aee);}},_0xe68215=readPairingConfig();function _0x11d815(_0x3b4cbc,_0x35d945){return _0x684713(_0x3b4cbc,_0x35d945-0x20e);}const _0x4ac8ff=normalizeHttpBase(_0xae5628?.[_0x48dc7f(-_0x3b0e96._0x53cecc,-0x2f6)+'l']??_0xe68215?.[_0x11d815(_0x3b0e96._0x57b5e3,0x46d)+'l']??''),_0x285a19=_0xae5628?.['gatewayI'+'d']??_0xe68215?.[_0x11d815(0x726,0x6e8)+'d']??'',_0x39a27c=_0xae5628?.[_0x48dc7f(-0x1a1,-_0x3b0e96._0x182871)+_0x48dc7f(_0x3b0e96._0xd29f25,_0x3b0e96._0x38e50d)]??_0xe68215?.[_0x11d815(0x2fd,0x41b)+'ret']??'';if(!_0x4ac8ff||!_0x285a19||!_0x39a27c)throw new Error('Pairing\x20'+'config\x20n'+_0x48dc7f(_0x3b0e96._0x214da1,0x1a5)+_0x48dc7f(-0x1af,-_0x3b0e96._0x354d92)+_0x11d815(0x42c,_0x3b0e96._0x175061)+'.');const _0x50291c=await postJsonWithCloudflareFallback(_0x4ac8ff+(_0x48dc7f(0x174,_0x3b0e96._0x381725)+_0x48dc7f(0x12d,0x385)+_0x48dc7f(-_0x3b0e96._0x4d4151,-0x43)),{'method':_0xbdeff['bVAjT'],'headers':{'content-type':_0x11d815(0x785,_0x3b0e96._0x30a1c0)+'ion/json','accept':_0xbdeff['qhcyG']},'body':JSON[_0x48dc7f(0xee,_0x3b0e96._0x49d736)+'y']({'gatewayId':_0x285a19,'relaySecret':_0x39a27c,'displayName':_0xae5628?.[_0x11d815(0x50d,_0x3b0e96._0x4ec7c5)+_0x11d815(_0x3b0e96._0x4d2e3b,0x553)]?.['trim']()||void 0x0})});if(!_0x50291c[_0x48dc7f(0x184,_0x3b0e96._0x4a5390)]['ok'])throw await buildPairingRequestError(_0x48dc7f(0x19a,-0xfb)+_0x48dc7f(-0x99,0x1d)+'esh',_0x50291c);const _0x2ad576=await _0x50291c[_0x11d815(0x5a6,0x740)][_0x48dc7f(0x85,0x137)](),_0x3c7339={'serverUrl':_0x4ac8ff,'gatewayId':_0x2ad576['gatewayI'+'d'],'relaySecret':_0x39a27c,'relayUrl':_0x2ad576[_0x48dc7f(-_0x3b0e96._0x179b90,-_0x3b0e96._0x40b1c9)],'instanceId':_0xe68215?.['instance'+'Id']??'inst-'+_0x2ad576['gatewayI'+'d'][_0x48dc7f(_0x3b0e96._0x50d43b,_0x3b0e96._0x3aa552)](-0xa),'displayName':_0x2ad576['displayN'+_0x11d815(0x772,_0x3b0e96._0x58e8c8)],'createdAt':_0xe68215?.[_0x48dc7f(0x210,_0x3b0e96._0x50818c)+'t']??new Date()[_0x48dc7f(-_0x3b0e96._0x1ccf0e,_0x3b0e96._0x2eef76)+'ing'](),'updatedAt':new Date()[_0x48dc7f(-0x73,0x1e2)+'ing']()};function _0x48dc7f(_0x349b6e,_0x2e7297){return _0x684713(_0x2e7297,_0x349b6e- -0x3ae);}return writePairingConfig(_0x3c7339),{'config':_0x3c7339,'accessCode':_0x2ad576[_0x48dc7f(-0xc5,-_0x3b0e96._0x45613b)+'de'],'accessCodeExpiresAt':_0x2ad576['accessCo'+'deExpire'+_0x11d815(0x66d,0x519)],'action':'refreshe'+'d','qrPayload':_0xbdeff['OCSZD'](buildPairingQrPayload,{'server':_0x4ac8ff,'gatewayId':_0x2ad576[_0x11d815(0x4db,_0x3b0e96._0xa484ac)+'d'],'accessCode':_0x2ad576[_0x48dc7f(-_0x3b0e96._0x1623d6,_0x3b0e96._0x19d7d5)+'de'],'displayName':_0x2ad576['displayN'+_0x11d815(0x7df,_0x3b0e96._0x58e8c8)],'token':_0xae5628?.[_0x11d815(_0x3b0e96._0x460eba,_0x3b0e96._0x146cec)+_0x11d815(_0x3b0e96._0x2d4ae8,0x65d)]?.['trim']()||null,'password':_0xae5628?.[_0x48dc7f(0x18,_0x3b0e96._0x22e9c9)+_0x11d815(_0x3b0e96._0x5b180d,0x477)]?.['trim']()||null})};}function normalizeHttpBase(_0x3e7dac){const _0x5224ec={_0x55f0f4:0x870,_0xdb7723:0x56d,_0x286633:0x63b,_0x51c670:0x63f,_0x14c850:0x50c,_0x3baa1c:0x67d,_0x14d9fd:0x870,_0x6ea5ec:0x2c9,_0x223c66:0x4ad,_0x20dc7b:0x27,_0x249400:0x32d,_0x4ad5b5:0x63f,_0x45665a:0x8b3,_0x47aed5:0x101,_0x8904df:0xd},_0x536c00={_0x49314f:0x4ef},_0x17071c=_0x3e7dac['trim']();if(!_0x17071c)return'';function _0x82b664(_0x33988c,_0x5e9435){return _0x528821(_0x33988c,_0x5e9435-_0x536c00._0x49314f);}if(_0x17071c[_0x82b664(0x3df,0x56d)+'th'](_0x82b664(0x8a0,_0x5224ec._0x55f0f4))||_0x17071c[_0x82b664(0x70b,_0x5224ec._0xdb7723)+'th'](_0x82b664(_0x5224ec._0x286633,_0x5224ec._0x51c670)))return _0x17071c['replace'](/\/+$/,'');function _0x561713(_0x23365d,_0x29e689){return _0x528821(_0x23365d,_0x29e689-0xe9);}if(_0x17071c[_0x82b664(_0x5224ec._0x14c850,0x56d)+'th']('ws://'))return(_0x82b664(_0x5224ec._0x3baa1c,_0x5224ec._0x14d9fd)+_0x17071c[_0x561713(_0x5224ec._0x6ea5ec,_0x5224ec._0x223c66)]('ws://'[_0x561713(0x131,-_0x5224ec._0x20dc7b)]))[_0x561713(0x22c,_0x5224ec._0x249400)](/\/+$/,'');if(_0x17071c['startsWi'+'th']('wss://'))return(_0x82b664(0x5e3,_0x5224ec._0x4ad5b5)+_0x17071c[_0x82b664(0x8da,_0x5224ec._0x45665a)](_0x561713(_0x5224ec._0x47aed5,0x1d8)[_0x561713(_0x5224ec._0x8904df,-_0x5224ec._0x20dc7b)]))[_0x561713(0x5c8,0x32d)](/\/+$/,'');return(_0x82b664(0x787,0x63f)+_0x17071c)[_0x561713(0x184,0x32d)](/\/+$/,'');}function assessPairingCompatibility(_0x59ee60,_0xb7f400){const _0x22e30d={_0x5ca494:0x2d2,_0x5db403:0x335,_0x5a10e8:0x64d,_0x134864:0x581},_0x1db491={_0x412818:0x227},_0x4ef975={_0x130429:0xa6},_0x118e1e={};function _0x518bfe(_0x5dad97,_0x581399){return _0x684713(_0x5dad97,_0x581399- -_0x4ef975._0x130429);}_0x118e1e[_0x518bfe(0x3ab,_0x22e30d._0x5ca494)]=_0x7884ca(0x4ce,_0x22e30d._0x5db403)+_0x7884ca(0x22b,-0x44);const _0x1dca9e=_0x118e1e;if(!_0x59ee60)return'register'+_0x518bfe(_0x22e30d._0x5a10e8,0x52c);if(_0x59ee60[_0x518bfe(0x25c,0x1b9)+'l']===_0xb7f400)return _0x7884ca(0x385,0x41c)+_0x518bfe(0x396,_0x22e30d._0x134864);function _0x7884ca(_0x37b7fe,_0x545c57){return _0x684713(_0x37b7fe,_0x545c57- -_0x1db491._0x412818);}return _0x1dca9e[_0x7884ca(0x278,0x151)];}async function postJsonWithCloudflareFallback(_0x2ae9a8,_0x6932c){const _0x564b81={_0x9a5aa6:0x7ba,_0x46aabc:0x66c,_0x5e3e9c:0x5d1,_0x24a89c:0x3dc,_0x5ba21b:0x8,_0x244339:0xcd,_0x2a7dc5:0x2e2,_0x343eed:0x4ef,_0x372cc6:0x1c7,_0x3ff67b:0x231},_0x37ee10={_0x26fbc8:0x1c6},_0x281abe={_0x5c1b3c:0x3dc};function _0x4d91d8(_0x3069b3,_0x5f5e0b){return _0x528821(_0x3069b3,_0x5f5e0b-_0x281abe._0x5c1b3c);}const _0x13e763=await fetch(_0x2ae9a8,_0x6932c),_0x42664d=resolveCloudflareChallengeFallbackUrl(_0x2ae9a8,_0x13e763);if(!_0x42664d){const _0xabc872={};return _0xabc872[_0x4d91d8(_0x564b81._0x9a5aa6,_0x564b81._0x46aabc)]=_0x13e763,_0xabc872[_0x31f4e6(_0x564b81._0x5e3e9c,_0x564b81._0x24a89c)+_0x31f4e6(-_0x564b81._0x5ba21b,_0x564b81._0x244339)]=_0x2ae9a8,_0xabc872[_0x31f4e6(_0x564b81._0x2a7dc5,_0x564b81._0x343eed)+_0x31f4e6(_0x564b81._0x372cc6,_0x564b81._0x3ff67b)]=null,_0xabc872;}function _0x31f4e6(_0x26e1f6,_0x50531b){return _0x528821(_0x26e1f6,_0x50531b-_0x37ee10._0x26fbc8);}return{'response':await fetch(_0x42664d,_0x6932c),'attemptedUrl':_0x2ae9a8,'fallbackUrl':_0x42664d};}async function buildPairingRequestError(_0x42edec,_0x3e987d){const _0x4988f5={_0x1a3061:0xa5b,_0x70a84d:0x943,_0x334f84:0x685,_0x548c61:0x70f,_0x277839:0x391,_0xde5c64:0x91b,_0x18bb3e:0x990,_0x46874b:0x225,_0x563246:0x52,_0x4716c7:0x57d,_0x2ee803:0x7d9,_0x4f257d:0x578,_0x554a00:0x308,_0x285a79:0x5b6,_0x7fb2a6:0x38f,_0x1d04fb:0x5f6,_0x18d0a9:0x504,_0x5df7e4:0x9a4,_0x342318:0x4f1,_0x36a47f:0x41f,_0x5f4888:0x682,_0x19d8da:0x6c9,_0x39937e:0x8e6,_0x39517a:0x166,_0x69f6e7:0x4c5,_0x5b98d9:0x376,_0x23fb19:0x59d,_0x3ca605:0x624,_0x368774:0x7b1,_0x49bd54:0x999,_0x20d2ff:0x847,_0x2e7698:0x71c,_0x3d0b19:0x7c4,_0x13440b:0x99,_0xbbefcf:0x275,_0x4371b7:0x5f4,_0x4e9d42:0x426,_0x41f715:0x670,_0x12222c:0x883},_0xbe9b79={_0x413665:0x84};function _0x526725(_0x1c5fcf,_0x366f9d){return _0x684713(_0x366f9d,_0x1c5fcf-_0xbe9b79._0x413665);}if(isCloudflareChallengeResponse(_0x3e987d[_0xcf40c6(_0x4988f5._0x1a3061,0x8aa)])){const _0x1539be=new URL(_0x3e987d[_0xcf40c6(0xaf4,_0x4988f5._0x70a84d)+_0xcf40c6(0x78b,_0x4988f5._0x334f84)]??_0x3e987d['attempte'+_0xcf40c6(_0x4988f5._0x548c61,0x521)])['origin'],_0x52ae58=_0x3e987d['fallback'+_0x526725(_0x4988f5._0x277839,0x53e)]?_0xcf40c6(_0x4988f5._0xde5c64,_0x4988f5._0x18bb3e)+_0x526725(0x398,0x3e0)+'ack\x20to\x20'+_0x3e987d['fallback'+'Url']+('\x20also\x20hi'+_0x526725(_0x4988f5._0x46874b,_0x4988f5._0x563246)+_0x526725(0x4e8,_0x4988f5._0x4716c7)+_0xcf40c6(_0x4988f5._0x2ee803,_0x4988f5._0x4f257d)+'.'):'';return new Error(_0x42edec+(_0x526725(_0x4988f5._0x554a00,0x145)+'(')+_0x3e987d[_0x526725(_0x4988f5._0x285a79,_0x4988f5._0x7fb2a6)][_0xcf40c6(_0x4988f5._0x1d04fb,_0x4988f5._0x18d0a9)]+(_0xcf40c6(0x79a,_0x4988f5._0x5df7e4)+_0x526725(0x6e8,_0x4988f5._0x342318)+'allenge\x20'+_0xcf40c6(0x654,0x51b)+'the\x20regi'+_0x526725(0x45b,_0x4988f5._0x36a47f)+_0xcf40c6(0x55f,_0x4988f5._0x5f4888))+_0x1539be+'.'+_0x52ae58+('\x20Retry\x20f'+_0xcf40c6(_0x4988f5._0x19d8da,_0x4988f5._0x39937e)+_0x526725(0x230,_0x4988f5._0x39517a)+_0x526725(_0x4988f5._0x69f6e7,0x527)+_0x526725(_0x4988f5._0x5b98d9,0x2e1)+_0x526725(_0x4988f5._0x23fb19,_0x4988f5._0x3ca605)+_0xcf40c6(_0x4988f5._0x368774,0x56b)+_0xcf40c6(0x836,0x708)+_0xcf40c6(0x925,0x724)+_0xcf40c6(_0x4988f5._0x49bd54,_0x4988f5._0x20d2ff)+'\x20browser'+_0x526725(0x474,0x5f2)+_0x526725(_0x4988f5._0x2e7698,_0x4988f5._0x3d0b19)));}function _0xcf40c6(_0x16ae26,_0x40633f){return _0x684713(_0x16ae26,_0x40633f-0x378);}return new Error(_0x42edec+(_0x526725(_0x4988f5._0x554a00,_0x4988f5._0x13440b)+'(')+_0x3e987d[_0xcf40c6(0x70a,0x8aa)][_0xcf40c6(_0x4988f5._0xbbefcf,0x504)]+_0xcf40c6(_0x4988f5._0x4371b7,0x71d)+summarizeFailedResponse(await _0x3e987d[_0x526725(0x5b6,_0x4988f5._0x4e9d42)][_0x526725(_0x4988f5._0x41f715,_0x4988f5._0x12222c)]()));}function isCloudflareChallengeResponse(_0x932429){const _0x30e348={_0x20941e:0x50d,_0x2e023a:0x7,_0xba5863:0x30c,_0x1e4011:0x84,_0x296472:0x1f0};function _0x3db4fa(_0x2a02c3,_0x587ac2){return _0x528821(_0x2a02c3,_0x587ac2- -0x6d);}const _0x26f5e7={};_0x26f5e7['LGZGm']=function(_0x47cb87,_0x37c33a){return _0x47cb87===_0x37c33a;};const _0x8d6186=_0x26f5e7;function _0x2f25df(_0x48d699,_0x1219e6){return _0x528821(_0x1219e6,_0x48d699-0x19);}return _0x8d6186[_0x3db4fa(_0x30e348._0x20941e,0x36b)](_0x932429[_0x2f25df(-0xfd,-0xa)],0x193)&&_0x932429['headers'][_0x3db4fa(0x19e,0x10)](_0x2f25df(-0x8,-_0x30e348._0x2e023a)+'ated')?.[_0x2f25df(0x132,_0x30e348._0xba5863)]()[_0x2f25df(-0x88,0xf0)+_0x3db4fa(-_0x30e348._0x1e4011,0xc)]()===_0x3db4fa(0x335,_0x30e348._0x296472)+'e';}function resolveCloudflareChallengeFallbackUrl(_0x5eb4c2,_0x32f825){const _0x5b665a={_0x21a6ad:0x12d,_0x365800:0x489,_0x313868:0x8ba,_0x23a493:0x717},_0x502978={_0x36a21a:0xd6},_0x2104a5={};_0x2104a5['EWgFG']=function(_0x1bb604,_0x3da71e){return _0x1bb604!==_0x3da71e;};const _0x447984=_0x2104a5;if(!isCloudflareChallengeResponse(_0x32f825))return null;const _0x310bd6=new URL(_0x5eb4c2);if(_0x447984[_0x33c1fb(-_0x5b665a._0x21a6ad,-0x1c2)](_0x310bd6[_0x15b646(0x5a0,_0x5b665a._0x365800)],DEFAULT_REGISTRY_BASE))return null;function _0x33c1fb(_0x9916ce,_0x4780bd){return _0x528821(_0x4780bd,_0x9916ce- -_0x502978._0x36a21a);}function _0x15b646(_0x2251e8,_0x47bca1){return _0x528821(_0x47bca1,_0x2251e8-0x5a5);}return''+DEFAULT_REGISTRY_FALLBACK_BASE+_0x310bd6[_0x15b646(_0x5b665a._0x313868,0x7b5)]+_0x310bd6[_0x15b646(0x74e,_0x5b665a._0x23a493)];}function summarizeFailedResponse(_0x16bd80){const _0x43392a={_0x1b9f3f:0x5be,_0x52ce1e:0x4f0,_0x56a2d3:0x336,_0x258153:0x36c,_0x1efe53:0x158,_0x248b2b:0x137,_0x40925c:0x279,_0x59fdf0:0x43b},_0x2a61fe={_0x143315:0x2dd},_0x51e9f4={};function _0x387482(_0x29162d,_0x57736f){return _0x528821(_0x29162d,_0x57736f-0x8f);}function _0x4062df(_0x116d89,_0x28a15f){return _0x528821(_0x116d89,_0x28a15f-_0x2a61fe._0x143315);}_0x51e9f4['GORaV']='Empty\x20re'+_0x4062df(_0x43392a._0x1b9f3f,0x3aa)+_0x387482(_0x43392a._0x52ce1e,0x47f);const _0x437f65=_0x51e9f4,_0x262b34=_0x16bd80[_0x387482(_0x43392a._0x56a2d3,0x2d3)](/\s+/g,'\x20')[_0x387482(0x14d,0x1a8)]();if(!_0x262b34)return _0x437f65[_0x387482(_0x43392a._0x258153,_0x43392a._0x1efe53)];if(_0x262b34[_0x387482(-_0x43392a._0x248b2b,-0x81)]<=0xf0)return _0x262b34;return _0x262b34['slice'](0x0,0xed)+_0x4062df(_0x43392a._0x40925c,_0x43392a._0x59fdf0);}import{execFileSync,spawn}from'child_process';import{chmodSync,closeSync,existsSync as _0x22e4ca,mkdirSync as _0x22e22c,openSync,readFileSync as _0x9871e4,realpathSync,rmSync as _0x47fb0b,writeFileSync as _0x3a1061}from'fs';import{homedir as _0x46d3ec}from'os';import{dirname,join as _0x225fe4}from'path';import{setTimeout as _0xb6c3d5}from'timers/promises';var SERVICE_LABEL=_0x528821(0x1f9,0x222)+'et.bridg'+_0x684713(0xca,0x246),SYSTEMD_UNIT_NAME=SERVICE_LABEL+_0x684713(0x253,0x442),WINDOWS_RUN_KEY=_0x528821(-0x259,-0x108)+_0x684713(0x658,0x404),SERVICE_DIR=_0x225fe4(_0x46d3ec(),_0x684713(0x2ca,0x2b5)),LOG_DIR=_0x225fe4(SERVICE_DIR,_0x528821(0x3af,0x1b8)),SERVICE_STATE_PATH=_0x225fe4(SERVICE_DIR,_0x684713(0x810,0x696)+_0x528821(-0x6e,-0x2a)+_0x528821(0x23d,0x3bb)),RUNTIME_REGISTRY_PATH=_0x225fe4(SERVICE_DIR,'bridge-r'+_0x684713(0x30d,0x327)+_0x684713(0x331,0x499)+'.json'),SERVICE_LAUNCHER_PATH=_0x225fe4(SERVICE_DIR,_0x684713(0x58c,0x696)+'ervice-l'+_0x528821(0x15a,0x350)+'sh'),LINUX_CRON_RECORD_PATH=_0x225fe4(SERVICE_DIR,_0x528821(0x366,0x3f4)+'ervice.c'+_0x684713(0xda,0x27b)),SERVICE_LOG_PATH=_0x225fe4(LOG_DIR,'bridge-c'+'li.log'),SERVICE_ERROR_LOG_PATH=_0x225fe4(LOG_DIR,_0x684713(0x115,0x266)+_0x528821(0x85,0xe2)+_0x528821(0x510,0x2b8)),MACOS_PLIST_PATH=_0x225fe4(_0x46d3ec(),_0x528821(-0x27,0x1be),'LaunchAg'+_0x684713(0x2ba,0x296),SERVICE_LABEL+_0x684713(0x14a,0x337));function _0x528821(_0x57e2c3,_0x1fd331){return _0x150d(_0x1fd331- -0x292,_0x57e2c3);}var LINUX_SERVICE_PATH=_0x225fe4(_0x46d3ec(),_0x528821(-0x281,-0x1b),_0x684713(0x15a,0x3ae),'user',SYSTEMD_UNIT_NAME),LINUX_CRON_MARKER=_0x684713(0x57a,0x6a5)+_0x684713(0x78d,0x5b9)+_0x528821(0x32d,0xd3);function _0x684713(_0x15f1ff,_0x13c1c8){const _0x5668c1={_0x57f759:0x10};return _0x150d(_0x13c1c8-_0x5668c1._0x57f759,_0x15f1ff);}function getServiceProgramArgs(_0x11bff4={},_0x3b1498=process[_0x684713(0x484,0x2ce)]){const _0x3f75f6={_0x26432c:0x253,_0x197d91:0x57b,_0x5efaeb:0x53e,_0x5ae800:0x24,_0x1bb1e9:0x340,_0x401eeb:0x49,_0x5e9d98:0x279,_0x32c43a:0x410,_0x254479:0x11e,_0x1bd044:0x1bc,_0xa7a678:0x5c,_0xb71680:0x2a2},_0x36d5ce={_0x1336e0:0x24d},_0x3f91a7=_0x11bff4['nodePath']?.['trim']()||process[_0x260a87(_0x3f75f6._0x26432c,0x113)],_0x4f9eb8=resolveScriptPath(_0x11bff4[_0x260a87(0x3e5,_0x3f75f6._0x197d91)+'th']);if(!_0x4f9eb8)throw new Error(_0x260a87(_0x3f75f6._0x5efaeb,0x7e3)+_0x264d73(0x5ad,0x586)+_0x264d73(-_0x3f75f6._0x5ae800,0x123)+_0x260a87(_0x3f75f6._0x1bb1e9,0x349)+_0x260a87(0xd6,0x2f7)+'rvice\x20in'+_0x264d73(0x111,0x263)+_0x260a87(_0x3f75f6._0x401eeb,_0x3f75f6._0x5e9d98));function _0x264d73(_0x3ce05f,_0xe1cbb5){return _0x528821(_0x3ce05f,_0xe1cbb5-_0x36d5ce._0x1336e0);}if(_0x3b1498!=='win32'){const _0x4613c8={};_0x4613c8[_0x264d73(_0x3f75f6._0x32c43a,0x2ee)]=_0x3f91a7,_0x4613c8['scriptPa'+'th']=_0x4f9eb8,_0x4613c8[_0x260a87(_0x3f75f6._0x254479,_0x3f75f6._0x1bd044)]=process.env.PATH??'';const _0x1f4656=writeServiceLauncher(_0x4613c8);return ensureLaunchScriptExecutable(_0x1f4656,_0x3b1498),[_0x1f4656];}function _0x260a87(_0x36301d,_0x134e74){return _0x528821(_0x134e74,_0x36301d-0x13d);}return[_0x3f91a7,_0x4f9eb8,_0x264d73(_0x3f75f6._0xa7a678,0x2f1),_0x260a87(0x419,_0x3f75f6._0xb71680)+'e'];}function getServiceStatus(){const _0x50225a={_0x1a0e74:0x91e,_0x10fd8f:0xb0f,_0x42ce62:0x6cc,_0xb02108:0x734,_0x5a20ba:0x4f9,_0x57f1bc:0x6d3,_0x29aa99:0x606,_0x17f72a:0x945,_0x3f1a65:0x4c8,_0x494d70:0x82c,_0x515102:0x46f,_0x502202:0x728,_0x5e22d1:0x44b,_0x6c7ca3:0x684,_0x441f83:0x549,_0x5d3b2c:0x73c,_0x2a068a:0x7b4,_0x1b636c:0x7a1,_0xd4540:0x598,_0x51723f:0x586,_0x3f8c72:0x494,_0x232693:0x2a7,_0x3bcdda:0x6bd,_0x53fc14:0x709,_0x55e552:0x586,_0xaf8d2c:0x779,_0x54c3f3:0x845,_0x5858fd:0x390},_0x5a5acb={_0x498275:0x13f},_0x2f1974={_0x2203e6:0x34a};function _0x3f3c5c(_0x586865,_0x556b9a){return _0x684713(_0x556b9a,_0x586865-_0x2f1974._0x2203e6);}const _0xc53a5a={'NPyDl':function(_0x1c0b2b){return _0x1c0b2b();},'jBzEc':function(_0x45b5cf,_0x2c5e34){return _0x45b5cf!=_0x2c5e34;},'VyKLD':function(_0x361dd8,_0x392d5b){return _0x361dd8(_0x392d5b);},'QChRf':_0x3f3c5c(_0x50225a._0x1a0e74,_0x50225a._0x10fd8f)+'l','wocqV':_0x3efda1(_0x50225a._0x42ce62,0x43c)+'run-regi'+'stry','jmgGQ':_0x3f3c5c(0x78f,0x946)};function _0x3efda1(_0x29160e,_0xfce732){return _0x684713(_0x29160e,_0xfce732-_0x5a5acb._0x498275);}ensureServiceDirs();const _0x3977f2=_0xc53a5a[_0x3efda1(_0x50225a._0xb02108,_0x50225a._0x5a20ba)](readServiceState)?.[_0x3f3c5c(_0x50225a._0x57f1bc,_0x50225a._0x29aa99)]??null,_0x4f98df=detectServiceMethod(),_0x5e6836={'installed':![],'running':_0xc53a5a[_0x3f3c5c(0x6dc,_0x50225a._0x17f72a)](_0x3977f2,null)&&isPidRunning(_0x3977f2),'method':_0x4f98df,'servicePath':_0xc53a5a[_0x3f3c5c(0x548,0x2fd)](getServicePath,_0x4f98df),'logPath':SERVICE_LOG_PATH,'errorLogPath':SERVICE_ERROR_LOG_PATH,'pid':_0x3977f2};_0x5e6836[_0x3efda1(0x55d,_0x50225a._0x3f1a65)]!=null&&!_0x5e6836[_0x3f3c5c(0x656,_0x50225a._0x494d70)]&&(clearServiceState(_0x5e6836[_0x3efda1(0x2c8,0x4c8)]),_0x5e6836[_0x3f3c5c(_0x50225a._0x57f1bc,0x555)]=null);switch(_0x5e6836[_0x3efda1(_0x50225a._0x515102,0x6ed)]){case _0x3efda1(0x3ba,0x601)+'ent':_0x5e6836['installe'+'d']=_0x22e4ca(MACOS_PLIST_PATH);_0x5e6836[_0x3efda1(_0x50225a._0x502202,0x586)+'d']&&(_0x5e6836[_0x3efda1(0x5d3,_0x50225a._0x5e22d1)]=commandSucceeds(_0x3f3c5c(_0x50225a._0x6c7ca3,_0x50225a._0x441f83)+'l',[_0x3efda1(_0x50225a._0x5d3b2c,_0x50225a._0x2a068a),SERVICE_LABEL])||_0x5e6836['running']);return _0x5e6836;case _0x3efda1(_0x50225a._0x1b636c,_0x50225a._0xd4540)+_0x3f3c5c(0x8d8,0x88d):_0x5e6836[_0x3efda1(0x71d,_0x50225a._0x51723f)+'d']=_0x22e4ca(LINUX_SERVICE_PATH);_0x5e6836[_0x3efda1(0x43f,0x586)+'d']&&(_0x5e6836['running']=commandSucceeds(_0xc53a5a[_0x3efda1(_0x50225a._0x3f8c72,_0x50225a._0x232693)],[_0x3f3c5c(0x8f3,_0x50225a._0x3bcdda),'is-activ'+'e',_0x3f3c5c(0x536,0x67c),SYSTEMD_UNIT_NAME])||_0x5e6836[_0x3efda1(0x605,0x44b)]);return _0x5e6836;case'linux-cr'+_0x3efda1(0x2a5,0x475):_0x5e6836['installe'+'d']=hasLinuxCronRegistration();return _0x5e6836;case _0xc53a5a['wocqV']:_0x5e6836[_0x3efda1(_0x50225a._0x53fc14,_0x50225a._0x55e552)+'d']=commandSucceeds('reg',[_0xc53a5a['jmgGQ'],_0x3f3c5c(0x688,0x583)+'tware\x5cMi'+_0x3f3c5c(_0x50225a._0xaf8d2c,_0x50225a._0x54c3f3)+_0x3efda1(0x2af,0x391)+_0x3efda1(_0x50225a._0x5858fd,0x3b4)+'ersion\x5cR'+'un','/v',WINDOWS_RUN_KEY]);return _0x5e6836;default:return _0x5e6836;}}function installService(_0x452813={}){const _0x5d5c42={_0x2c4724:0x6f7,_0x32a3ae:0x359,_0x1cefb1:0x7dd,_0x2d5dd2:0x5ca,_0x53bb5b:0x8c6,_0x4911ef:0x5e8,_0x46836a:0x620,_0x5ea15c:0x7fb,_0xc28b4f:0x90e,_0x42d5f4:0x970,_0x7e0eda:0x782,_0x289614:0xa5,_0x821928:0x11a,_0x289ebb:0xc2,_0x52409d:0x57e,_0x800366:0x7ad,_0x126251:0x94e,_0x294f8b:0x931,_0x2382f3:0x3e2,_0x277b5f:0x714,_0x3902a2:0x2c},_0x2518f3={'RxdeN':_0x177414(_0x5d5c42._0x2c4724,0x608)+'l','znUkz':_0x35f173(_0x5d5c42._0x32a3ae,0x2e3),'jerVg':_0x177414(_0x5d5c42._0x1cefb1,_0x5d5c42._0x2d5dd2),'OCGaE':function(_0x4d528a){return _0x4d528a();}};ensureServiceDirs();const _0x36ae8e=getServiceProgramArgs(_0x452813);function _0x177414(_0x1e75e9,_0x11e3ee){return _0x684713(_0x11e3ee,_0x1e75e9-0x3bd);}function _0x35f173(_0x5309fb,_0x410c00){return _0x684713(_0x410c00,_0x5309fb- -0x27c);}switch(process[_0x177414(0x68b,_0x5d5c42._0x53bb5b)]){case _0x35f173(0x3c3,0x341):_0x3a1061(MACOS_PLIST_PATH,buildMacosPlist(_0x36ae8e,SERVICE_LOG_PATH,SERVICE_ERROR_LOG_PATH),_0x177414(0x58c,_0x5d5c42._0x4911ef)),execIgnoreFailure(_0x2518f3['RxdeN'],[_0x177414(0x58f,_0x5d5c42._0x46836a),'-w',MACOS_PLIST_PATH]);const _0xbb52e3={};_0xbb52e3['stdio']=_0x2518f3['znUkz'],execFileSync(_0x35f173(0xbe,-0x4e)+'l',[_0x177414(0x9f8,0xb72),'-w',MACOS_PLIST_PATH],_0xbb52e3);break;case _0x177414(_0x5d5c42._0x5ea15c,_0x5d5c42._0xc28b4f):installLinuxService(_0x36ae8e);break;case _0x2518f3[_0x177414(_0x5d5c42._0x42d5f4,_0x5d5c42._0x7e0eda)]:_0x2518f3['OCGaE'](stopRunningProcess);const _0x30be61={};_0x30be61['stdio']=_0x177414(0x992,0x816),execFileSync(_0x35f173(-_0x5d5c42._0x289614,_0x5d5c42._0x821928),['add',_0x35f173(_0x5d5c42._0x289ebb,0xa4)+_0x177414(0x5c4,_0x5d5c42._0x52409d)+'crosoft\x5c'+_0x35f173(-0x2a,0x6f)+_0x177414(0x632,_0x5d5c42._0x800366)+'ersion\x5cR'+'un','/v',WINDOWS_RUN_KEY,'/t','REG_SZ','/d',buildWindowsRunCommand(_0x36ae8e),'/f'],_0x30be61),startDetachedWindowsService(_0x36ae8e);break;default:throw new Error(_0x177414(0x667,0x58a)+_0x177414(_0x5d5c42._0x126251,0x790)+'form\x20for'+'\x20CLI\x20ser'+_0x177414(_0x5d5c42._0x294f8b,0x6da)+_0x35f173(_0x5d5c42._0x2382f3,0x59b)+_0x177414(0x5e7,_0x5d5c42._0x277b5f)+process[_0x35f173(0x52,0x16)]);}return _0x2518f3[_0x35f173(-_0x5d5c42._0x3902a2,0x99)](getServiceStatus);}function restartService(_0x4c9dca={}){const _0x16697d={_0x1bf2db:0x44a,_0x2766fc:0x188,_0x55614f:0x239,_0xd2c3d4:0x3cf,_0x4dd502:0x796,_0x1cefac:0x353,_0x4e6b70:0x587,_0x5399f4:0x5c0,_0x4d430b:0x31b,_0x5406d2:0x30e,_0x396dc6:0xc3,_0x1424cf:0x152,_0x189448:0x106,_0x4ddcde:0x66d,_0x33bf7b:0x26a,_0x371897:0x3df,_0x3660af:0x748,_0x5150c4:0x21,_0x27ea48:0x16d,_0x3d0cb9:0x2b4,_0x156e4c:0x11,_0x2c2cd6:0x3c7,_0x475ce6:0x238,_0x51439e:0xf4,_0x37b70b:0x15f,_0xa5c777:0x5c3,_0x3d08f8:0x422,_0x4dfb85:0x467,_0x349504:0x6a,_0x2a70d9:0x3d1,_0x521dbf:0x497,_0x46687e:0x300},_0x2e03f0={_0x350bf1:0x1b6},_0x2d83f6={_0x9172c1:0x32},_0xf3cbe0={'qPylZ':function(_0x58e902,_0x25aec8){return _0x58e902(_0x25aec8);},'jjDrP':'darwin','VEfDy':function(_0x1ed768,_0x45a66b){return _0x1ed768(_0x45a66b);},'xIJGe':function(_0x59a9a5,_0x520084,_0x45b517,_0x403f6f){return _0x59a9a5(_0x520084,_0x45b517,_0x403f6f);},'ZLAUN':_0x362530(0x204,_0x16697d._0x1bf2db),'hlwrq':function(_0x1b4b81,_0x2fedd5){return _0x1b4b81(_0x2fedd5);},'UCNCD':_0x43fd2d(_0x16697d._0x2766fc,0xa0)+_0x362530(_0x16697d._0x55614f,0x196)+_0x362530(0x461,_0x16697d._0xd2c3d4)+_0x43fd2d(0x9c,0x168)+_0x43fd2d(0xbf,-0x20)+_0x362530(0x5f2,_0x16697d._0x4dd502)+'un','lvaLa':_0x362530(_0x16697d._0x1cefac,_0x16697d._0x4e6b70),'wuSxB':function(_0x47f010,_0x5b3d94){return _0x47f010(_0x5b3d94);}};function _0x362530(_0xb97220,_0x3d8f05){return _0x684713(_0x3d8f05,_0xb97220-_0x2d83f6._0x9172c1);}function _0x43fd2d(_0x58139c,_0x82caae){return _0x684713(_0x82caae,_0x58139c- -_0x2e03f0._0x350bf1);}ensureServiceDirs();const _0x2cddc0=_0xf3cbe0[_0x362530(0x617,_0x16697d._0x5399f4)](getServiceProgramArgs,_0x4c9dca);switch(process[_0x43fd2d(0x118,0x175)]){case _0xf3cbe0['jjDrP']:if(!_0xf3cbe0[_0x43fd2d(0x1a6,_0x16697d._0x4d430b)](_0x22e4ca,MACOS_PLIST_PATH))return installService(_0x4c9dca);_0x3a1061(MACOS_PLIST_PATH,_0xf3cbe0[_0x362530(0x34a,_0x16697d._0x5406d2)](buildMacosPlist,_0x2cddc0,SERVICE_LOG_PATH,SERVICE_ERROR_LOG_PATH),_0x43fd2d(0x19,-_0x16697d._0x396dc6)),execIgnoreFailure('launchct'+'l',[_0xf3cbe0[_0x43fd2d(_0x16697d._0x1424cf,-0x2f)],'-w',MACOS_PLIST_PATH]);const _0x4d8911={};_0x4d8911[_0x362530(0x2ef,_0x16697d._0x189448)]='ignore',execFileSync('launchct'+'l',[_0x362530(_0x16697d._0x4ddcde,0x584),'-w',MACOS_PLIST_PATH],_0x4d8911);break;case'linux':_0xf3cbe0[_0x362530(0x445,0x5c6)](restartLinuxService,_0x2cddc0);break;case _0x43fd2d(_0x16697d._0x33bf7b,_0x16697d._0x371897):stopRunningProcess();const _0x2e0bbc={};_0x2e0bbc[_0x43fd2d(0x107,0x155)]=_0x362530(0x607,_0x16697d._0x3660af),execFileSync(_0x43fd2d(_0x16697d._0x5150c4,-_0x16697d._0x27ea48),[_0x43fd2d(_0x16697d._0x3d0cb9,_0x16697d._0x156e4c),_0xf3cbe0['UCNCD'],'/v',WINDOWS_RUN_KEY,'/t',_0xf3cbe0[_0x362530(0x22a,0x26e)],'/d',_0xf3cbe0[_0x43fd2d(0x42f,0x523)](buildWindowsRunCommand,_0x2cddc0),'/f'],_0x2e0bbc),_0xf3cbe0[_0x362530(_0x16697d._0x2c2cd6,_0x16697d._0x475ce6)](startDetachedWindowsService,_0x2cddc0);break;default:throw new Error(_0x43fd2d(_0x16697d._0x51439e,_0x16697d._0x37b70b)+_0x362530(_0x16697d._0xa5c777,_0x16697d._0x3d08f8)+_0x362530(_0x16697d._0x4dfb85,0x2dd)+_0x362530(0x1a9,0x2d2)+_0x43fd2d(_0x16697d._0x349504,-0x32)+_0x362530(_0x16697d._0x2a70d9,_0x16697d._0x521dbf)+process[_0x362530(_0x16697d._0x46687e,0x291)]);}return getServiceStatus();}async function startTransientRuntime(_0x3989e7={}){const _0x1bde75={_0x14b157:0x64c,_0x35fbcb:0x668,_0x371e4a:0x5eb,_0xe8a0c5:0x499,_0x3073b2:0x7d3,_0x441754:0x609,_0x1e5413:0x3b0,_0x4413cb:0x410,_0xc398fc:0x475,_0x10ed7a:0x82a,_0xb05222:0x3cf,_0x2708b2:0x311,_0x21c04e:0x530,_0x590f24:0x36f},_0x313e8f={_0x3ca179:0x53b},_0x373ce6={};function _0x9ee3d9(_0x325e4c,_0x19d928){return _0x528821(_0x19d928,_0x325e4c-_0x313e8f._0x3ca179);}_0x373ce6[_0x428ba4(_0x1bde75._0x14b157,_0x1bde75._0x35fbcb)]=_0x428ba4(0x6e3,0x80a),_0x373ce6['vUmvs']=_0x428ba4(0x4ff,_0x1bde75._0x371e4a);const _0x517bb1=_0x373ce6;ensureServiceDirs();const _0x5e1c9e=getServiceProgramArgs(_0x3989e7);function _0x428ba4(_0x123de1,_0x200b42){return _0x528821(_0x123de1,_0x200b42-0x46d);}switch(process[_0x428ba4(0x4a2,_0x1bde75._0xe8a0c5)]){case _0x517bb1[_0x428ba4(0x685,0x668)]:case _0x428ba4(_0x1bde75._0x3073b2,_0x1bde75._0x441754):startDetachedPosixService(_0x5e1c9e);break;case _0x517bb1[_0x428ba4(0x34e,_0x1bde75._0x1e5413)]:startDetachedWindowsService(_0x5e1c9e);break;default:throw new Error(_0x428ba4(_0x1bde75._0x4413cb,_0x1bde75._0xc398fc)+_0x9ee3d9(_0x1bde75._0x10ed7a,0xa6f)+'form\x20for'+_0x9ee3d9(0x830,0xa44)+_0x428ba4(0x13c,_0x1bde75._0xb05222)+_0x428ba4(_0x1bde75._0x2708b2,0x55a)+_0x428ba4(_0x1bde75._0x21c04e,0x56a)+process[_0x428ba4(_0x1bde75._0x590f24,0x499)]);}return waitForRuntimeState();}function uninstallService(){const _0xe730d9={_0x363943:0x56e,_0x5a90f3:0x427,_0x5d08ee:0x5b8,_0x5dd2b5:0x3c1,_0x5e1f1d:0x5bd,_0x9840a8:0xf0,_0x4f5ee2:0x2f2,_0x3e3cfa:0x1b,_0x5c21cd:0x409,_0x20360a:0xbd,_0x3bef8a:0x26f},_0x44bcb9={_0x1341f6:0xea};function _0x11aac4(_0x1e3d4f,_0x266602){return _0x528821(_0x266602,_0x1e3d4f-_0x44bcb9._0x1341f6);}const _0x2eb910={'CHRkX':function(_0x271fe6,_0x3e7b50,_0x53cbee){return _0x271fe6(_0x3e7b50,_0x53cbee);},'iQSMW':_0x54881c(0x323,_0xe730d9._0x363943)+'l','YGjCa':_0x54881c(_0xe730d9._0x5a90f3,_0xe730d9._0x5d08ee),'hFRtI':function(_0x3fef18,_0x442924,_0x4bdf33){return _0x3fef18(_0x442924,_0x4bdf33);},'EeeXp':'reg'};function _0x54881c(_0x13f306,_0x31691c){return _0x528821(_0x31691c,_0x13f306-0x28b);}stopRunningProcess();switch(process['platform']){case _0x11aac4(0x487,0x4ed):_0x2eb910[_0x54881c(0x3b3,0x56b)](execIgnoreFailure,_0x2eb910[_0x11aac4(0x20f,-0x53)],[_0x11aac4(0x1a,-0x1c),'-w',MACOS_PLIST_PATH]),rmIfExists(MACOS_PLIST_PATH);break;case _0x2eb910[_0x54881c(_0xe730d9._0x5dd2b5,0x305)]:_0x22e4ca(LINUX_SERVICE_PATH)&&(execIgnoreFailure(_0x54881c(_0xe730d9._0x5e1f1d,0x4b3)+'l',[_0x11aac4(0x3f1,0x4e7),_0x11aac4(_0xe730d9._0x9840a8,0xd4),'--now',SYSTEMD_UNIT_NAME]),rmIfExists(LINUX_SERVICE_PATH),execIgnoreFailure('systemct'+'l',[_0x54881c(0x592,0x3d6),_0x54881c(0x325,_0xe730d9._0x4f5ee2)+_0x11aac4(0xa3,_0xe730d9._0x3e3cfa)]));removeLinuxCronRegistration();break;case _0x54881c(_0xe730d9._0x5c21cd,0x3e1):_0x2eb910['hFRtI'](execIgnoreFailure,_0x2eb910['EeeXp'],[_0x11aac4(0x1b0,0x60),'HKCU\x5cSof'+_0x11aac4(0x4f,-0x31)+'crosoft\x5c'+_0x54881c(0x23b,0x7d)+_0x11aac4(_0xe730d9._0x20360a,_0xe730d9._0x3bef8a)+_0x54881c(0x5a9,0x5c6)+'un','/v',WINDOWS_RUN_KEY,'/f']);break;default:break;}return clearServiceState(),getServiceStatus();}function stopService(){const _0x21e588={_0x4cbea0:0x977,_0x3d7709:0x672,_0x1b21b4:0x4a3,_0x21f59a:0x49a,_0x19184e:0x67a,_0x315945:0x491,_0xb0b855:0x4c4,_0xf8d8f:0x679},_0x47ca0f={_0x3ae510:0x5da},_0x5db4fc={_0x4ac041:0x1f3},_0x224421={'HFVDz':function(_0x278de4,_0x2da7ec,_0x1cfcf2){return _0x278de4(_0x2da7ec,_0x1cfcf2);},'GMusD':'unload','qkcMm':'linux','DehZx':function(_0x30d3d3,_0x3a4ea0){return _0x30d3d3(_0x3a4ea0);}};function _0x5ccf2b(_0x3d9b81,_0x5b0a90){return _0x528821(_0x5b0a90,_0x3d9b81-_0x5db4fc._0x4ac041);}stopRunningProcess();switch(process['platform']){case _0x247dbe(_0x21e588._0x4cbea0,0x840):_0x22e4ca(MACOS_PLIST_PATH)&&_0x224421['HFVDz'](execIgnoreFailure,_0x247dbe(_0x21e588._0x3d7709,_0x21e588._0x1b21b4)+'l',[_0x224421[_0x5ccf2b(_0x21e588._0x21f59a,0x50c)],MACOS_PLIST_PATH]);break;case _0x224421[_0x247dbe(_0x21e588._0x19184e,_0x21e588._0x315945)]:_0x224421['DehZx'](_0x22e4ca,LINUX_SERVICE_PATH)&&execIgnoreFailure(_0x247dbe(0x90c,0x961)+'l',[_0x247dbe(0x8e1,0x7df),_0x5ccf2b(_0x21e588._0xb0b855,_0x21e588._0xf8d8f),SYSTEMD_UNIT_NAME]);break;case'win32':break;default:break;}function _0x247dbe(_0x2d152d,_0x1a4099){return _0x528821(_0x1a4099,_0x2d152d-_0x47ca0f._0x3ae510);}return clearServiceState(),getServiceStatus();}function writeServiceState(_0x1f90d1=process[_0x528821(0x1c8,0xe7)]){function _0x538783(_0x38993d,_0x234ba0){return _0x684713(_0x38993d,_0x234ba0-0x3d5);}ensureServiceDirs();const _0x4a4dca={'pid':_0x1f90d1,'startedAt':new Date()['toISOStr'+_0x538783(0xa53,0x84b)]()};_0x3a1061(SERVICE_STATE_PATH,JSON['stringif'+'y'](_0x4a4dca,null,0x2)+'\x0a','utf8');}function registerRuntimeProcess(_0x3c8fea){const _0x32dfd0={_0x2f1c3e:0x12a,_0x168279:0x65a,_0x35ae4d:0x61b,_0x5932cb:0x5b3},_0x20d041={_0x3eced8:0x199},_0x371f18={_0x590cf6:0x2e0},_0xae4e2a={'Wqloc':function(_0x867cd5){return _0x867cd5();}};_0xae4e2a[_0x3b6bf1(_0x32dfd0._0x2f1c3e,0x89)](ensureServiceDirs);function _0x1730f2(_0x10018b,_0x15d923){return _0x684713(_0x15d923,_0x10018b-_0x371f18._0x590cf6);}const _0x4b35fa={'pid':_0x3c8fea[_0x3b6bf1(0x1f0,0x60)]??process[_0x1730f2(0x669,_0x32dfd0._0x168279)],'startedAt':_0x3c8fea['startedA'+'t']??new Date()[_0x1730f2(_0x32dfd0._0x35ae4d,0x3ed)+'ing'](),'gatewayId':_0x3c8fea['gatewayI'+'d'],'instanceId':_0x3c8fea[_0x1730f2(0x4a5,0x666)+'Id'],'serviceMode':_0x3c8fea['serviceM'+_0x1730f2(0x699,_0x32dfd0._0x5932cb)],'scriptPath':resolveScriptPath(_0x3c8fea[_0x1730f2(0x82a,0x890)+'th'])},_0xf3819=readRuntimeRegistry()['filter'](_0x5eedc5=>_0x5eedc5[_0x1730f2(0x669,0x6f6)]!==_0x4b35fa[_0x1730f2(0x669,0x575)])[_0x3b6bf1(0x98,0x9f)](_0x4b35fa);function _0x3b6bf1(_0x28dfb0,_0x45b9d0){return _0x684713(_0x45b9d0,_0x28dfb0- -_0x20d041._0x3eced8);}writeRuntimeRegistry(_0xf3819);}function unregisterRuntimeProcess(_0x2a8bdb=process[_0x528821(0x6a,0xe7)]){const _0x2e27b6={_0x47cea3:0x739,_0x21521d:0x640},_0x5c8a2f={_0x2911f4:0x4e5};function _0x3fe370(_0x17145d,_0x2ffad8){return _0x528821(_0x2ffad8,_0x17145d-_0x5c8a2f._0x2911f4);}const _0xb7e927=readRuntimeRegistry()[_0x3fe370(_0x2e27b6._0x47cea3,_0x2e27b6._0x21521d)](_0x5b23e0=>_0x5b23e0['pid']!==_0x2a8bdb);writeRuntimeRegistry(_0xb7e927);}function isAutostartUnsupportedError(_0x4079ff){const _0x582092={_0x5e99c6:0x115,_0x3e0b43:0x4d9,_0xd6afb1:0x56e,_0x40a4fa:0x410,_0x3930d0:0x465,_0xce20b6:0x281,_0x3c332b:0x101,_0x455a15:0x63,_0x13aecc:0x1f,_0x5b99f5:0x44e,_0x2c3cb2:0x3a6},_0x4c16c4={_0x947ff6:0x2e5},_0x440380={};_0x440380[_0x1ad394(-0xb5,-_0x582092._0x5e99c6)]=_0x1ad394(_0x582092._0x3e0b43,0x2ce)+_0x4b34b9(_0x582092._0xd6afb1,0x61c)+_0x4b34b9(0x416,_0x582092._0x40a4fa)+_0x4b34b9(0x52e,_0x582092._0x3930d0);function _0x1ad394(_0x25e37c,_0x264dc2){return _0x528821(_0x25e37c,_0x264dc2- -0x4f);}function _0x4b34b9(_0x4777b8,_0x21e4ff){return _0x528821(_0x4777b8,_0x21e4ff-_0x4c16c4._0x947ff6);}const _0x12b124=_0x440380,_0x4ed04f=formatError(_0x4079ff)[_0x4b34b9(_0x582092._0xce20b6,0x244)+_0x1ad394(_0x582092._0x3c332b,0x2a)]();return _0x4ed04f['includes'](_0x12b124[_0x1ad394(-_0x582092._0x455a15,-_0x582092._0x5e99c6)])||_0x4ed04f['includes'](_0x1ad394(-_0x582092._0x13aecc,0x1b7)+_0x1ad394(_0x582092._0x5b99f5,0x2a0)+_0x4b34b9(0x602,0x478)+'\x20cli\x20ser'+_0x1ad394(0x29f,_0x582092._0x2c3cb2));}function listRuntimeProcesses(_0x3a129e={}){const _0x5bb6bd={_0x484d71:0x7fa,_0x276330:0x157,_0x67a198:0x261,_0xc498c:0x491,_0x5a92b6:0x2d5,_0x14f9f1:0x301},_0x3c3b90=resolveScriptPath(_0x3a129e[_0x590093(_0x5bb6bd._0x484d71,0x85e)+'th']),_0x327072=readRuntimeRegistry(),_0x407529=[..._0x327072];function _0x1d9408(_0x23ec9c,_0x1fc65b){return _0x684713(_0x1fc65b,_0x23ec9c- -0x31f);}const _0x19f1bd=new Set(_0x327072[_0x1d9408(-_0x5bb6bd._0x276330,-_0x5bb6bd._0x67a198)](_0x2a80bc=>_0x2a80bc[_0x1d9408(0x6a,0x12d)]));for(const _0x5ceb72 of listPosixRuntimePids(_0x3c3b90)){if(_0x19f1bd[_0x590093(0x400,_0x5bb6bd._0xc498c)](_0x5ceb72))continue;_0x407529['push']({'pid':_0x5ceb72,'startedAt':new Date(0x0)['toISOStr'+_0x1d9408(0x157,-0x66)](),'gatewayId':'','instanceId':'','serviceMode':![],'scriptPath':_0x3c3b90});}function _0x590093(_0x56efa7,_0x4c7395){return _0x684713(_0x56efa7,_0x4c7395-0x314);}return _0x407529[_0x1d9408(0x1d7,_0x5bb6bd._0x5a92b6)](_0x5d6e33=>isPidRunning(_0x5d6e33['pid']))[_0x1d9408(_0x5bb6bd._0x14f9f1,0x3ed)]((_0xcfae83,_0x16ee0e)=>_0xcfae83[_0x1d9408(0x6a,0x2f5)]-_0x16ee0e[_0x1d9408(0x6a,0x1ae)]);}function stopRuntimeProcesses(_0x4c08fd={}){const _0x46ad80={_0x364f6a:0x46a,_0x3de3e1:0xfb,_0x39413e:0x135,_0x42529d:0x64d,_0x1e61a4:0x62d,_0x16894a:0x6a1,_0x31fe4e:0x892,_0x150137:0x556,_0x294d03:0x5c4,_0x59411e:0x48c,_0x23cf85:0x6ea,_0x3bf89f:0x1dc,_0x35e54a:0x11e,_0x5e4f85:0x796,_0x51e1c3:0x9eb,_0x597124:0x315,_0x5a3b7a:0x5f9,_0x44c519:0x36a,_0x44de8b:0x514},_0x57b050={_0x11cfe8:0xf1},_0x1834f0={'KgsPE':function(_0x58cf90,_0x5a8aee){return _0x58cf90(_0x5a8aee);},'wZGQL':'win32','fzDcB':_0x5d27c9(_0x46ad80._0x364f6a,0x5f7),'gJztx':function(_0x49b484,_0x2ccf5e,_0x65e381){return _0x49b484(_0x2ccf5e,_0x65e381);},'XCaiA':_0x279080(-_0x46ad80._0x3de3e1,_0x46ad80._0x39413e),'HcIXR':function(_0x5431a1){return _0x5431a1();}};function _0x279080(_0x54a7d8,_0x4fe0cc){return _0x528821(_0x54a7d8,_0x4fe0cc-_0x57b050._0x11cfe8);}const _0x3af806={};_0x3af806[_0x5d27c9(0x64d,0x3a9)+'th']=_0x4c08fd[_0x5d27c9(_0x46ad80._0x42529d,_0x46ad80._0x1e61a4)+'th'];const _0x4879e9=_0x1834f0[_0x5d27c9(0x267,0x26)](listRuntimeProcesses,_0x3af806),_0xb90565=_0x4879e9[_0x5d27c9(0x5f9,_0x46ad80._0x16894a)](_0x3161c1=>_0x3161c1[_0x279080(0x294,0x1d8)]!==(_0x4c08fd['excludeP'+'id']??-0x1));if(process['platform']===_0x1834f0[_0x5d27c9(0x772,_0x46ad80._0x31fe4e)])for(const _0x47d8fc of _0xb90565){execIgnoreFailure('taskkill',[_0x1834f0[_0x5d27c9(_0x46ad80._0x150137,_0x46ad80._0x294d03)],String(_0x47d8fc[_0x5d27c9(_0x46ad80._0x59411e,0x2c4)]),'/T','/F']);}else{for(const _0x56c9f1 of _0xb90565){_0x1834f0['gJztx'](execIgnoreFailure,_0x279080(_0x46ad80._0x23cf85,0x4e2),[_0x1834f0[_0x279080(0x256,_0x46ad80._0x3bf89f)],String(_0x56c9f1[_0x279080(_0x46ad80._0x35e54a,0x1d8)])]);}for(const _0x46ca8e of _0xb90565){!waitForPidExit(_0x46ca8e['pid'],0xbb8)&&execIgnoreFailure(_0x5d27c9(_0x46ad80._0x5e4f85,_0x46ad80._0x51e1c3),[_0x279080(0x66a,0x400),String(_0x46ca8e[_0x279080(_0x46ad80._0x597124,0x1d8)])]);}}const _0x2579a1=readRuntimeRegistry()[_0x5d27c9(_0x46ad80._0x5a3b7a,_0x46ad80._0x44c519)](_0x3d01d9=>!_0xb90565[_0x5d27c9(0x721,0x565)](_0x1d72f2=>_0x1d72f2[_0x279080(0x3e0,0x1d8)]===_0x3d01d9['pid']));writeRuntimeRegistry(_0x2579a1);function _0x5d27c9(_0x21c10c,_0x3d23bd){return _0x528821(_0x3d23bd,_0x21c10c-0x3a5);}const _0xa59419=readServiceState();return _0xa59419&&_0xb90565['some'](_0x538861=>_0x538861[_0x279080(0x101,0x1d8)]===_0xa59419[_0x279080(0x35a,0x1d8)])&&_0x1834f0[_0x5d27c9(_0x46ad80._0x44de8b,0x295)](clearServiceState),_0xb90565['map'](_0xff52e0=>_0xff52e0[_0x279080(0x3cf,0x1d8)]);}function clearServiceState(_0x3f43e2){function _0xeb431b(_0x3694d7,_0x240b4d){return _0x684713(_0x240b4d,_0x3694d7-0x12f);}if(!_0x22e4ca(SERVICE_STATE_PATH))return;if(_0x3f43e2!=null){const _0x3c2531=readServiceState();if(_0x3c2531&&_0x3c2531[_0xeb431b(0x4b8,0x5bf)]!==_0x3f43e2)return;}rmIfExists(SERVICE_STATE_PATH);}function getServicePaths(){return{'logPath':SERVICE_LOG_PATH,'errorLogPath':SERVICE_ERROR_LOG_PATH,'servicePath':getServicePath(detectServiceMethod())};}function buildMacosPlist(_0x347d50,_0x422054,_0x5e270b){const _0x21a79e={_0x859b78:0x40f,_0x13c32d:0x3d3,_0x25cffb:0x141,_0x589974:0x1a8,_0x24524c:0x28e,_0x3efcf1:0x310,_0x138df0:0x2bc,_0x3b2ae2:0x16,_0x144bfc:0xee,_0x440b60:0x2cb,_0x37fedf:0x544,_0xf12c47:0x758,_0x321d17:0x361,_0x2ca68a:0x461,_0x29dd4a:0x2e1,_0x4a6f1b:0xde,_0x2b50fc:0x3c4,_0x4af58e:0x254,_0x29ad81:0x42b,_0x120cc6:0xa,_0x3ad5ce:0x6e6,_0x3108d3:0x794,_0x518e26:0x5c9,_0x3b4dd2:0x34a,_0x8854fd:0x3ab,_0xc12f43:0x2f4,_0x58c65d:0x3ae,_0x5188bd:0x513,_0x33e8a4:0x2f9,_0x4794a3:0x402,_0x5e23ac:0x704,_0x35501b:0x559,_0x1f8b85:0x61e,_0x54eb1c:0x43c,_0x3fb3d8:0x130,_0x3d7fdc:0x1f4,_0x10a217:0x123,_0x2a696d:0x68f,_0x3c04a9:0x77f},_0x35ffe5={_0x17a075:0x1f6};function _0x5dfc1e(_0x3630e1,_0x52d4dc){return _0x684713(_0x3630e1,_0x52d4dc- -_0x35ffe5._0x17a075);}const _0x34863c=_0x347d50[_0x1a8355(0x327,0x311)](_0x14cde3=>_0x1a8355(0x48e,0x4d6)+_0x1a8355(0x5bb,0x7bc)+escapeXml(_0x14cde3)+('</string'+'>'))['join']('\x0a');function _0x1a8355(_0xc1937e,_0x40c7e1){return _0x684713(_0x40c7e1,_0xc1937e-0x15f);}return'<?xml\x20ve'+'rsion=\x221'+_0x1a8355(0x5a2,_0x21a79e._0x859b78)+_0x5dfc1e(0x16d,0x22b)+'F-8\x22?>\x0a<'+_0x1a8355(0x3fa,_0x21a79e._0x13c32d)+'\x20plist\x20P'+_0x5dfc1e(_0x21a79e._0x25cffb,_0x21a79e._0x589974)+_0x5dfc1e(0x49e,_0x21a79e._0x24524c)+_0x5dfc1e(0x530,_0x21a79e._0x3efcf1)+_0x5dfc1e(0x1a7,_0x21a79e._0x138df0)+'EN\x22\x20\x22htt'+_0x5dfc1e(-0x1aa,-_0x21a79e._0x3b2ae2)+'apple.co'+_0x1a8355(0x5be,0x5aa)+_0x5dfc1e(_0x21a79e._0x144bfc,0x200)+'ist-1.0.'+_0x1a8355(_0x21a79e._0x440b60,0xfa)+_0x1a8355(_0x21a79e._0x37fedf,_0x21a79e._0xf12c47)+_0x5dfc1e(_0x21a79e._0x321d17,_0x21a79e._0x2ca68a)+_0x1a8355(0x3b0,0x62c)+_0x1a8355(0x6be,0x618)+'y>Label<'+_0x5dfc1e(_0x21a79e._0x29dd4a,_0x21a79e._0x4a6f1b)+_0x5dfc1e(_0x21a79e._0x2b50fc,_0x21a79e._0x4af58e)+SERVICE_LABEL+(_0x1a8355(_0x21a79e._0x29ad81,0x330)+'>\x0a\x20\x20<key'+_0x5dfc1e(_0x21a79e._0x120cc6,0x20f)+_0x5dfc1e(0x370,0x2ed)+'s</key>\x0a'+_0x1a8355(_0x21a79e._0x3ad5ce,0x71f)+'>\x0a')+_0x34863c+(_0x1a8355(_0x21a79e._0x3108d3,0x870)+'ay>\x0a\x20\x20<k'+_0x1a8355(0x481,0x667)+_0x1a8355(0x441,0x6be)+_0x5dfc1e(_0x21a79e._0x518e26,_0x21a79e._0x3b4dd2)+'ue/>\x0a\x20\x20<'+_0x5dfc1e(_0x21a79e._0x8854fd,_0x21a79e._0xc12f43)+_0x1a8355(_0x21a79e._0x58c65d,_0x21a79e._0x5188bd)+'ey>\x0a\x20\x20<t'+_0x5dfc1e(0x3a1,_0x21a79e._0x33e8a4)+_0x5dfc1e(0x62a,_0x21a79e._0x4794a3)+_0x1a8355(_0x21a79e._0x5e23ac,0x808)+_0x1a8355(0x6d5,0x81d)+'y>\x0a\x20\x20<st'+_0x1a8355(_0x21a79e._0x35501b,0x6f4))+escapeXml(_0x422054)+('</string'+'>\x0a\x20\x20<key'+'>Standar'+_0x5dfc1e(_0x21a79e._0x1f8b85,0x41f)+'th</key>'+_0x1a8355(_0x21a79e._0x54eb1c,0x21b)+_0x5dfc1e(0x2a9,_0x21a79e._0x3fb3d8))+escapeXml(_0x5e270b)+(_0x1a8355(0x42b,_0x21a79e._0x3d7fdc)+_0x5dfc1e(0x36d,_0x21a79e._0x10a217)+'>\x0a</plis'+_0x1a8355(_0x21a79e._0x2a696d,_0x21a79e._0x3c04a9));}function buildLinuxSystemdUnit(_0x44211a,_0x5bc5ac,_0x107146){const _0x199c90={_0x155793:0xad,_0x27f29e:0x187,_0x4a8dff:0x152,_0x14e9ee:0x84,_0x2cc90e:0xc6,_0x2ab983:0x296,_0x3065ef:0x864,_0x218c81:0x1a3,_0x2811f2:0xd2,_0x3a05a8:0x2c3,_0x18e997:0x2ec,_0x292fe6:0x4cc,_0x119784:0x4da,_0x31f956:0x2db,_0x11e771:0x582,_0x400f0e:0x339,_0x1cfffe:0x743,_0x25cc89:0x5f2,_0x17c606:0x3f9,_0x3d5664:0x162,_0x461b0f:0x12a,_0x51e509:0x424},_0x1f8836={_0x220dcd:0x321},_0x4e3eca={_0x1ce1a5:0x21f},_0x357027=_0x44211a[_0x2b94e0(-_0x199c90._0x155793,-0x159)](escapeSystemdArg)['join']('\x20');function _0x15f91d(_0x40ab38,_0x5d4a8f){return _0x684713(_0x40ab38,_0x5d4a8f-_0x4e3eca._0x1ce1a5);}function _0x2b94e0(_0x5d68a4,_0x11747d){return _0x684713(_0x5d68a4,_0x11747d- -_0x1f8836._0x220dcd);}return _0x2b94e0(_0x199c90._0x27f29e,_0x199c90._0x4a8dff)+_0x2b94e0(-_0x199c90._0x14e9ee,-0xdc)+_0x15f91d(0x5c1,0x596)+_0x2b94e0(-_0x199c90._0x2cc90e,0xad)+'e\x20CLI\x0aAf'+_0x2b94e0(-0x101,-0xd7)+_0x2b94e0(-_0x199c90._0x2ab983,-0xab)+_0x15f91d(0x4c9,0x548)+_0x15f91d(_0x199c90._0x3065ef,0x7e2)+_0x2b94e0(_0x199c90._0x218c81,_0x199c90._0x2811f2)+_0x2b94e0(_0x199c90._0x3a05a8,0x137)+'arget\x0a\x0a['+_0x15f91d(0x830,0x759)+_0x2b94e0(0x570,_0x199c90._0x18e997)+_0x15f91d(_0x199c90._0x292fe6,0x72a)+_0x15f91d(0x5dc,_0x199c90._0x119784)+_0x357027+(_0x15f91d(0x44f,0x53c)+_0x2b94e0(0x303,0x26c)+_0x2b94e0(_0x199c90._0x31f956,0x2b5)+_0x2b94e0(_0x199c90._0x11e771,_0x199c90._0x400f0e)+_0x15f91d(_0x199c90._0x1cfffe,_0x199c90._0x25cc89)+'ctory=')+escapeSystemdArg(SERVICE_DIR)+(_0x2b94e0(-_0x199c90._0x17c606,-_0x199c90._0x3d5664)+'dOutput='+_0x15f91d(0x336,0x4b0))+_0x5bc5ac+(_0x2b94e0(-0x139,-_0x199c90._0x3d5664)+_0x2b94e0(0x47d,0x1ef)+'ppend:')+_0x107146+('\x0a\x0a[Insta'+_0x2b94e0(_0x199c90._0x461b0f,0xfa)+'edBy=def'+_0x15f91d(0x9f4,0x785)+_0x15f91d(_0x199c90._0x51e509,0x3a0));}function buildLinuxCronEntry(_0x486fa0,_0x4b15c7,_0x32f92e){const _0x2a1002={_0x43bac9:0x394,_0x215db3:0x447,_0x52a2a8:0xa6a,_0x8ac5db:0x849,_0x1bda0a:0x3cc,_0x4a13a1:0x515,_0x5a391d:0x5f5},_0x48d364={_0x2e5d76:0x3bd},_0x355907={'aKhBN':function(_0x5d236c,_0x44dd9b){return _0x5d236c(_0x44dd9b);}};function _0x5d99a2(_0x383bba,_0x4edbb9){return _0x684713(_0x383bba,_0x4edbb9-_0x48d364._0x2e5d76);}function _0x1e88e8(_0x3af60d,_0x6c32a8){return _0x684713(_0x6c32a8,_0x3af60d-0x205);}const _0x1f6381=_0x486fa0[_0x1e88e8(0x3cd,_0x2a1002._0x43bac9)](escapeShellWord)[_0x1e88e8(0x41b,_0x2a1002._0x215db3)]('\x20');return _0x5d99a2(_0x2a1002._0x52a2a8,_0x2a1002._0x8ac5db)+_0x1f6381+'\x20>>\x20'+escapeShellWord(_0x4b15c7)+_0x1e88e8(_0x2a1002._0x1bda0a,0x359)+_0x355907[_0x5d99a2(_0x2a1002._0x4a13a1,_0x2a1002._0x5a391d)](escapeShellWord,_0x32f92e)+'\x20'+LINUX_CRON_MARKER;}function getServicePath(_0x380f8e){const _0x15e3da={_0x2d5f6d:0x1b0,_0x41cdf8:0x155,_0x450712:0x3ef,_0x171029:0x1a5,_0x10c806:0x16,_0x2aa23e:0x34d,_0x36ae0f:0x229,_0x394744:0x1df,_0x4d0665:0x246,_0xabb2c8:0x4,_0x306a4d:0x1da};function _0x33568e(_0x2d8117,_0x499e9e){return _0x684713(_0x2d8117,_0x499e9e- -0x157);}function _0x4997c1(_0x5ce5a3,_0x43cd0e){return _0x684713(_0x43cd0e,_0x5ce5a3- -0x235);}const _0x1dd7af={};_0x1dd7af['MiwGA']=_0x4997c1(0x40a,_0x15e3da._0x2d5f6d),_0x1dd7af[_0x33568e(0xa,_0x15e3da._0x41cdf8)]=function(_0x5dea2b,_0x8504af){return _0x5dea2b===_0x8504af;};const _0xe5b8ae=_0x1dd7af;switch(process[_0x33568e(_0x15e3da._0x450712,0x177)]){case _0xe5b8ae['MiwGA']:return MACOS_PLIST_PATH;case'linux':return _0xe5b8ae[_0x4997c1(0x77,_0x15e3da._0x171029)](_0x380f8e,_0x4997c1(0x410,0x1b3)+_0x4997c1(0x101,0x244))?LINUX_CRON_RECORD_PATH:LINUX_SERVICE_PATH;case _0x33568e(0x393,0x2c9):return _0x4997c1(0x109,-0xbc)+_0x33568e(-_0x15e3da._0x10c806,0xb0)+_0x33568e(_0x15e3da._0x2aa23e,0x2d8)+_0x4997c1(0x1d,_0x15e3da._0x36ae0f)+_0x33568e(_0x15e3da._0x394744,0x11e)+_0x33568e(0x4c7,0x469)+'un\x5cClawk'+_0x33568e(_0x15e3da._0x4d0665,0x25e)+_0x33568e(_0x15e3da._0xabb2c8,_0x15e3da._0x306a4d);default:return'';}}function detectServiceMethod(){const _0x36e2d7={_0x4f0133:0x29a,_0x515ebe:0x39f,_0x3edda6:0x26a,_0x215394:0x4ac,_0x2f54ff:0x56b,_0x43c371:0x5f1,_0x54edc2:0x6d3,_0x246943:0x782,_0x36da27:0x88f,_0x4f2a94:0x1ff,_0x10b68b:0x42e,_0xa52bfc:0x51a,_0x287593:0x77d,_0x2831a0:0x897,_0x17fb11:0x546,_0x4f5918:0x7a9,_0x2a8b48:0x5e5,_0x45a564:0x6d3,_0x1541b1:0x3b6,_0x3a01f3:0x731,_0x4e68e6:0x959,_0x563f00:0x4c7,_0x191ced:0x48f,_0x3150f2:0x5b8,_0x4a2188:0x50f,_0xcd4df0:0x602},_0x58fd72={_0x17ffe9:0x4bc},_0x43c3f1={};function _0x485fd7(_0x33b8e9,_0x11bb3c){return _0x528821(_0x33b8e9,_0x11bb3c-_0x58fd72._0x17ffe9);}function _0x598a0c(_0x3101bf,_0x10711f){return _0x528821(_0x3101bf,_0x10711f-0x55d);}_0x43c3f1[_0x485fd7(_0x36e2d7._0x4f0133,_0x36e2d7._0x515ebe)]='darwin',_0x43c3f1[_0x598a0c(0x82f,0x6ac)]=_0x598a0c(0x837,0x6f9),_0x43c3f1[_0x598a0c(_0x36e2d7._0x3edda6,_0x36e2d7._0x215394)]='linux-cr'+_0x598a0c(_0x36e2d7._0x2f54ff,_0x36e2d7._0x43c371),_0x43c3f1[_0x485fd7(0x871,_0x36e2d7._0x54edc2)]=_0x598a0c(_0x36e2d7._0x246943,_0x36e2d7._0x36da27)+'l',_0x43c3f1[_0x485fd7(_0x36e2d7._0x4f2a94,_0x36e2d7._0x10b68b)]='systemd-'+_0x598a0c(0xa83,0x849);const _0x1104b3=_0x43c3f1;switch(process[_0x598a0c(_0x36e2d7._0xa52bfc,0x589)]){case _0x1104b3[_0x485fd7(0x313,0x39f)]:return _0x598a0c(0x563,_0x36e2d7._0x287593)+_0x598a0c(0x796,_0x36e2d7._0x2831a0);case _0x1104b3[_0x598a0c(_0x36e2d7._0x17fb11,0x6ac)]:if(_0x22e4ca(LINUX_SERVICE_PATH))return _0x485fd7(_0x36e2d7._0x4f5918,0x673)+'user';if(hasLinuxCronRegistration())return _0x1104b3[_0x598a0c(0x57e,0x4ac)];if(commandExists(_0x1104b3[_0x485fd7(_0x36e2d7._0x2a8b48,_0x36e2d7._0x45a564)]))return _0x1104b3[_0x598a0c(_0x36e2d7._0x1541b1,0x4cf)];if(commandExists(_0x598a0c(_0x36e2d7._0x3a01f3,_0x36e2d7._0x4e68e6)))return _0x598a0c(0x7e0,0x900)+'ontab';return _0x485fd7(0x748,0x6c2)+_0x598a0c(0x2d0,_0x36e2d7._0x563f00);case'win32':return _0x598a0c(_0x36e2d7._0x191ced,_0x36e2d7._0x3150f2)+_0x485fd7(0x552,0x75d)+_0x485fd7(0x6b8,_0x36e2d7._0x4a2188);default:return _0x598a0c(_0x36e2d7._0xcd4df0,0x763)+_0x598a0c(0x4b3,0x4c7);}}function readServiceState(){const _0x6273d3={_0x45c5c0:0x83,_0xdf88ef:0x34e,_0x4cea6a:0x466,_0x4ddbde:0x395,_0x4d714d:0x2e3},_0x52dc9a={_0x5aa365:0x261},_0x550e19={};_0x550e19['vLAeL']=_0x1f0e99(_0x6273d3._0x45c5c0,0x1db);function _0x1f0e99(_0x1e35ad,_0x3d8320){return _0x684713(_0x1e35ad,_0x3d8320-0xc);}function _0x4237b1(_0x490d55,_0x33656d){return _0x684713(_0x33656d,_0x490d55- -_0x52dc9a._0x5aa365);}_0x550e19[_0x1f0e99(0x4cd,0x3f8)]=_0x1f0e99(0x1a6,0x32f);const _0x5898e3=_0x550e19;if(!_0x22e4ca(SERVICE_STATE_PATH))return null;try{const _0xf0628e=JSON[_0x1f0e99(_0x6273d3._0xdf88ef,0x401)](_0x9871e4(SERVICE_STATE_PATH,_0x5898e3[_0x4237b1(0x99,0xee)]));if(!_0xf0628e['pid']||typeof _0xf0628e[_0x4237b1(0x128,0xb8)]!==_0x5898e3['Lwxmh'])return null;return{'pid':_0xf0628e[_0x1f0e99(_0x6273d3._0x4cea6a,_0x6273d3._0x4ddbde)],'startedAt':_0xf0628e[_0x4237b1(0x366,_0x6273d3._0x4d714d)+'t']??new Date(0x0)[_0x4237b1(0xda,-0xa)+'ing']()};}catch{return null;}}function readRuntimeRegistry(){const _0x23cfaf={_0x436c9f:0x3c3,_0x3810e9:0x4e0,_0xf7b22f:0x2d8,_0x496635:0x449},_0xe5fdef={_0x11733c:0x5b3};function _0x12502c(_0x2584ad,_0x261569){return _0x528821(_0x2584ad,_0x261569-0x270);}const _0xe28aab={'rKvio':function(_0x172ec6,_0x339926){return _0x172ec6(_0x339926);}};if(!_0x22e4ca(RUNTIME_REGISTRY_PATH))return[];function _0x39ed9e(_0x5a53f9,_0x229aee){return _0x528821(_0x5a53f9,_0x229aee-_0xe5fdef._0x11733c);}try{const _0x595f7b=JSON[_0x12502c(0x4be,_0x23cfaf._0x436c9f)](_0x9871e4(RUNTIME_REGISTRY_PATH,_0x39ed9e(0x4f2,_0x23cfaf._0x3810e9)));if(!Array[_0x12502c(0x21c,0x40b)](_0x595f7b))return[];const _0xe6abcf=_0x595f7b['map'](_0x5c224a=>normalizeRuntimeProcessRecord(_0x5c224a))['filter'](_0x487908=>_0x487908!=null&&isPidRunning(_0x487908[_0x39ed9e(0x7c3,0x69a)]));return _0xe28aab[_0x12502c(_0x23cfaf._0xf7b22f,_0x23cfaf._0x496635)](writeRuntimeRegistry,_0xe6abcf),_0xe6abcf;}catch{return[];}}function writeRuntimeRegistry(_0x506638){const _0x4221d6={_0x2a8784:0x389,_0x3f5827:0x32,_0x2ec3b8:0x1e6,_0x56186e:0x2c1,_0x1ecc65:0x224,_0x3b2b34:0x420,_0x4c3285:0x4f0,_0x598cd0:0x223},_0x2a9bd3={_0x4dd522:0x1ca},_0xe6b7dd={_0xc01429:0x2f6};function _0x586537(_0x560ffc,_0x590992){return _0x528821(_0x560ffc,_0x590992-_0xe6b7dd._0xc01429);}const _0x40b96d={'GHLsN':function(_0x48feb2,_0x2bcb05){return _0x48feb2===_0x2bcb05;},'lDuqQ':function(_0x1c9888,_0x4fefca){return _0x1c9888(_0x4fefca);},'fpxOE':function(_0xfc3558){return _0xfc3558();},'ygHAM':function(_0x2a7fa3,_0x38e5f0,_0x125915,_0x470f07){return _0x2a7fa3(_0x38e5f0,_0x125915,_0x470f07);},'ADAja':function(_0x34bef5,_0x2b077e){return _0x34bef5+_0x2b077e;}};if(_0x40b96d[_0x3eeb43(_0x4221d6._0x2a8784,0x2e8)](_0x506638[_0x586537(_0x4221d6._0x3f5827,_0x4221d6._0x2ec3b8)],0x0)){_0x40b96d[_0x3eeb43(_0x4221d6._0x56186e,_0x4221d6._0x1ecc65)](rmIfExists,RUNTIME_REGISTRY_PATH);return;}_0x40b96d[_0x3eeb43(0x400,0x64d)](ensureServiceDirs);function _0x3eeb43(_0x3665af,_0x1d1981){return _0x528821(_0x1d1981,_0x3665af-_0x2a9bd3._0x4dd522);}_0x40b96d['ygHAM'](_0x3a1061,RUNTIME_REGISTRY_PATH,_0x40b96d[_0x586537(0x1fa,_0x4221d6._0x3b2b34)](JSON[_0x586537(0x4c2,_0x4221d6._0x4c3285)+'y'](_0x506638,null,0x2),'\x0a'),_0x586537(0x3a2,_0x4221d6._0x598cd0));}function normalizeRuntimeProcessRecord(_0x5ceb25){const _0x4dd553={_0x378591:0x223,_0x5b271b:0x31,_0x135d15:0x182,_0xe0a7ff:0x4c7,_0x4e3da3:0x3c0,_0x5823d3:0x1e1,_0x2628b4:0x3da,_0x19cd4a:0x42,_0x673272:0x29b,_0x48b671:0x85,_0x453ed2:0x4f7,_0x512292:0x414,_0x3836c0:0xcf,_0x99cb68:0x2b9},_0x5081b1={};_0x5081b1[_0x979246(0x30d,0x523)]=function(_0x4f8cff,_0xcec920){return _0x4f8cff===_0xcec920;};const _0x534f46=_0x5081b1;if(!_0x5ceb25||typeof _0x5ceb25!==_0x979246(0xab,-0x31))return null;function _0x979246(_0x35ba32,_0x541cc6){return _0x528821(_0x541cc6,_0x35ba32-0x9b);}const _0x307ced=_0x5ceb25;function _0x20e8e1(_0x263aa1,_0x342b82){return _0x528821(_0x263aa1,_0x342b82-0x1a2);}if(!_0x307ced[_0x20e8e1(0x476,0x289)]||typeof _0x307ced[_0x20e8e1(0x174,0x289)]!==_0x20e8e1(0x3ad,_0x4dd553._0x378591))return null;const _0x12b672=typeof _0x307ced['scriptPa'+'th']===_0x979246(0xda,_0x4dd553._0x5b271b)?resolveScriptPath(_0x307ced['scriptPa'+'th']):'';if(!_0x12b672)return null;return{'pid':_0x307ced[_0x979246(_0x4dd553._0x135d15,-0x6b)],'startedAt':typeof _0x307ced[_0x20e8e1(0x29a,_0x4dd553._0xe0a7ff)+'t']==='string'?_0x307ced[_0x979246(_0x4dd553._0x4e3da3,0x370)+'t']:new Date(0x0)['toISOStr'+'ing'](),'gatewayId':typeof _0x307ced[_0x20e8e1(0x155,0x3da)+'d']===_0x20e8e1(-0x41,_0x4dd553._0x5823d3)?_0x307ced[_0x20e8e1(0x2f4,_0x4dd553._0x2628b4)+'d']:'','instanceId':typeof _0x307ced[_0x979246(-_0x4dd553._0x19cd4a,-_0x4dd553._0x673272)+'Id']==='string'?_0x307ced[_0x20e8e1(-_0x4dd553._0x48b671,0xc5)+'Id']:'','serviceMode':_0x534f46[_0x20e8e1(_0x4dd553._0x453ed2,_0x4dd553._0x512292)](_0x307ced['serviceM'+_0x20e8e1(_0x4dd553._0x3836c0,_0x4dd553._0x99cb68)],!![]),'scriptPath':_0x12b672};}function stopRunningProcess(){const _0x3f79ce={_0x10e037:0x354,_0x474c21:0x5e9,_0x258b18:0x3f4,_0x4ca9b9:0x3fb,_0xefdda6:0x4b3,_0x530386:0x862,_0x5084fe:0x4e7,_0x468830:0x354,_0x1c3da3:0xc9,_0x3bd463:0x667,_0x204845:0x87c,_0x433f02:0x3b1,_0x3cf5b4:0x35d,_0xd980cc:0x177,_0x35555b:0x35d,_0x37011b:0x10c};function _0x5e4fdb(_0x40662d,_0x389f81){return _0x684713(_0x389f81,_0x40662d-0x25b);}const _0x4b297e={};function _0x293d47(_0x565b6b,_0x309ac8){return _0x684713(_0x309ac8,_0x565b6b- -0x2c);}_0x4b297e[_0x293d47(_0x3f79ce._0x10e037,_0x3f79ce._0x474c21)]=_0x293d47(_0x3f79ce._0x258b18,0x584),_0x4b297e[_0x5e4fdb(_0x3f79ce._0x4ca9b9,_0x3f79ce._0xefdda6)]=_0x5e4fdb(0x5c2,_0x3f79ce._0x530386);const _0x25edcf=_0x4b297e,_0x10bdba=readServiceState();if(!_0x10bdba)return;execIgnoreFailure(process[_0x293d47(0x2a2,_0x3f79ce._0x5084fe)]===_0x25edcf[_0x293d47(_0x3f79ce._0x468830,_0x3f79ce._0x1c3da3)]?'taskkill':_0x293d47(_0x3f79ce._0x3bd463,_0x3f79ce._0x204845),process['platform']===_0x25edcf[_0x293d47(0x354,0xb6)]?[_0x25edcf['HMrmY'],String(_0x10bdba[_0x5e4fdb(0x5e4,_0x3f79ce._0x433f02)]),'/T','/F']:['-TERM',String(_0x10bdba[_0x293d47(_0x3f79ce._0x3cf5b4,_0x3f79ce._0xd980cc)])]),clearServiceState(_0x10bdba[_0x293d47(_0x3f79ce._0x35555b,_0x3f79ce._0x37011b)]);}function listPosixRuntimePids(_0x30a1b8){const _0x32577c={_0x50d493:0x3c3,_0x348fa0:0x455,_0x4f2740:0x586,_0x57d09e:0x285,_0x4e76a6:0x258,_0x35b17f:0x59a,_0x2124a0:0x834,_0x2bcc6d:0x366,_0x45bf6c:0x46d},_0x23652b={_0x41ecc2:0x6a5,_0x440504:0x52b,_0x2bceba:0x2ad,_0x379e18:0x1d9,_0x1033f5:0x461,_0x11a306:0x524},_0x31aabc={'Szyjy':function(_0x362614,_0x31459d,_0x2a220b,_0x3ab0b2){return _0x362614(_0x31459d,_0x2a220b,_0x3ab0b2);}};function _0x16110b(_0xa55ba9,_0x298e95){return _0x528821(_0x298e95,_0xa55ba9-0x397);}if(!_0x30a1b8||process[_0x16110b(_0x32577c._0x50d493,_0x32577c._0x348fa0)]==='win32')return[];function _0x4858ed(_0x326a5b,_0x28e5ff){return _0x528821(_0x326a5b,_0x28e5ff-0x503);}try{const _0x11caca={};_0x11caca[_0x4858ed(0x42e,_0x32577c._0x4f2740)]=_0x4858ed(0x22b,0x430);const _0x54564d=_0x31aabc[_0x16110b(_0x32577c._0x57d09e,_0x32577c._0x4e76a6)](execFileSync,'ps',[_0x4858ed(_0x32577c._0x35b17f,_0x32577c._0x2124a0),'-o',_0x16110b(0x34e,0x313)+'s='],_0x11caca);return _0x54564d[_0x16110b(_0x32577c._0x2bcc6d,_0x32577c._0x45bf6c)]('\x0a')['map'](_0x4c3456=>_0x4c3456['trim']())[_0x4858ed(0x962,0x757)](Boolean)[_0x4858ed(0x74c,0x795)](_0x5413ee=>{const _0x25dd39={_0x13b389:0x1c2},_0x239736=_0x5413ee[_0x56a1b3(0x6b9,_0x23652b._0x41ecc2)](/^(\d+)\s+(.*)$/);function _0x3f8c13(_0x4257e4,_0x191e32){return _0x16110b(_0x191e32- -_0x25dd39._0x13b389,_0x4257e4);}function _0x56a1b3(_0x32e689,_0x30ba97){return _0x16110b(_0x30ba97- -0x1d,_0x32e689);}if(!_0x239736)return[];const _0xd0b7cd=Number(_0x239736[0x1]),_0x208b2e=_0x239736[0x2];if(!Number[_0x3f8c13(_0x23652b._0x440504,_0x23652b._0x2bceba)+'r'](_0xd0b7cd)||_0xd0b7cd<=0x0||_0xd0b7cd===process[_0x56a1b3(_0x23652b._0x379e18,_0x23652b._0x1033f5)])return[];if(!_0x208b2e[_0x3f8c13(0x453,_0x23652b._0x11a306)](_0x30a1b8))return[];if(!/\brun\b/['test'](_0x208b2e))return[];return[_0xd0b7cd];});}catch{return[];}}function isPidRunning(_0x1037cd){const _0x4313a8={_0x5c8780:0x126};function _0x13e9e0(_0x53f7e6,_0x43194c){return _0x684713(_0x53f7e6,_0x43194c- -_0x4313a8._0x5c8780);}try{return process[_0x13e9e0(0x778,0x56d)](_0x1037cd,0x0),!![];}catch{return![];}}function waitForPidExit(_0x3b5a44,_0x36d7b0){const _0x5c98cd={_0x4a0b0a:0xff},_0x1a172e={_0x4b46ea:0x155};function _0xbaba3(_0x44eac5,_0xac1afe){return _0x528821(_0x44eac5,_0xac1afe-0xb5);}const _0x4dcc5a={};function _0x453b62(_0x234983,_0x28b147){return _0x528821(_0x28b147,_0x234983-_0x1a172e._0x4b46ea);}_0x4dcc5a[_0x453b62(0x266,0x3e2)]=function(_0x45dfb9,_0x3d2272){return _0x45dfb9>=_0x3d2272;};const _0x3ce436=_0x4dcc5a,_0xb519f=Date[_0x453b62(0x44b,0x459)]()+_0x36d7b0,_0x377cd8=new Int32Array(new SharedArrayBuffer(0x4));while(isPidRunning(_0x3b5a44)){if(_0x3ce436[_0x453b62(0x266,0xfe)](Date['now'](),_0xb519f))return![];Atomics[_0xbaba3(-_0x5c98cd._0x4a0b0a,0x10e)](_0x377cd8,0x0,0x0,0x32);}return!![];}function startDetachedWindowsService(_0x43b910){const _0x2ac492={_0x2ead80:0x4e7,_0xe7ec5d:0x345,_0x3fe277:0x516,_0x5ef1dc:0x5bd,_0x252362:0x388},_0x565dbe=openSync(SERVICE_LOG_PATH,'a'),_0x5d0071=openSync(SERVICE_ERROR_LOG_PATH,'a');function _0x24c406(_0x1e8c4d,_0x563ccb){return _0x684713(_0x563ccb,_0x1e8c4d- -0x48);}function _0x36a60c(_0x339f81,_0x4db418){return _0x684713(_0x4db418,_0x339f81-0x24f);}try{const [_0x3b16c6,..._0x282636]=_0x43b910,_0x4da200={};_0x4da200['detached']=!![],_0x4da200[_0x36a60c(0x50c,_0x2ac492._0x2ead80)]=[_0x24c406(0x58d,_0x2ac492._0xe7ec5d),_0x565dbe,_0x5d0071],_0x4da200[_0x36a60c(_0x2ac492._0x3fe277,0x504)+_0x36a60c(_0x2ac492._0x5ef1dc,0x807)]=!![];const _0x14a345=spawn(_0x3b16c6,_0x282636,_0x4da200);_0x14a345[_0x24c406(0x312,_0x2ac492._0x252362)]();}finally{closeSync(_0x565dbe),closeSync(_0x5d0071);}}function startDetachedPosixService(_0xbe037d){const _0x3a246c={_0x389a0b:0x6cd,_0x2e3b18:0x3f9,_0x53ddba:0x202,_0x35f2d8:0x46d},_0xf813a7={_0x2a45e:0xbb},_0x46114d={_0x504670:0x13},_0x4717fc={'fTlGh':function(_0x4a0094,_0x2b5d92,_0x5b329a){return _0x4a0094(_0x2b5d92,_0x5b329a);},'pGKyW':function(_0x475a86,_0x33a892,_0x62f9cd){return _0x475a86(_0x33a892,_0x62f9cd);},'LtNuz':function(_0x526c84,_0x2fad6b){return _0x526c84(_0x2fad6b);}},_0x40653c=_0x4717fc[_0xf0efe6(0x28d,0x4f1)](openSync,SERVICE_LOG_PATH,'a');function _0xf0efe6(_0x4fd1d8,_0x13a895){return _0x684713(_0x13a895,_0x4fd1d8- -_0x46114d._0x504670);}function _0x54e1e6(_0x4e9c72,_0x726fce){return _0x684713(_0x726fce,_0x4e9c72- -_0xf813a7._0x2a45e);}const _0x12c290=_0x4717fc[_0xf0efe6(0x4b2,_0x3a246c._0x389a0b)](openSync,SERVICE_ERROR_LOG_PATH,'a');try{const [_0x3f0422,..._0x49bd03]=_0xbe037d,_0x1a6f53={};_0x1a6f53[_0xf0efe6(_0x3a246c._0x2e3b18,0x627)]=!![],_0x1a6f53[_0x54e1e6(_0x3a246c._0x53ddba,0x22)]=[_0x54e1e6(0x51a,0x3c3),_0x40653c,_0x12c290];const _0x519aa0=spawn(_0x3f0422,_0x49bd03,_0x1a6f53);_0x519aa0['unref']();}finally{_0x4717fc[_0xf0efe6(_0x3a246c._0x35f2d8,0x6b7)](closeSync,_0x40653c),closeSync(_0x12c290);}}async function waitForRuntimeState(_0x865a91=0x5dc,_0x3df556=0x32){const _0x286b84={_0x47329c:0x4ea,_0x3f8e1f:0x85c,_0x592f3e:0x509,_0x15e0b7:0x46d},_0x231848={_0x2519cf:0x52},_0x964e0f={'llkJo':function(_0x4ea778,_0x4433ff){return _0x4ea778+_0x4433ff;},'QmotZ':function(_0x2da082){return _0x2da082();},'YDCyM':function(_0x4ef0d3,_0x51b16e){return _0x4ef0d3(_0x51b16e);},'nILAj':function(_0x249033){return _0x249033();}},_0x4a6aa6=_0x964e0f[_0x2fc2b6(0x51b,_0x286b84._0x47329c)](Date['now'](),_0x865a91);let _0x3521d9=_0x964e0f[_0x35acf7(0x317,0x2ac)](getServiceStatus);while(Date[_0x2fc2b6(0x5b8,_0x286b84._0x3f8e1f)]()<_0x4a6aa6){if(_0x3521d9[_0x2fc2b6(0x32c,0x5d1)])return _0x3521d9;await _0x964e0f[_0x2fc2b6(_0x286b84._0x592f3e,_0x286b84._0x15e0b7)](_0xb6c3d5,_0x3df556),_0x3521d9=_0x964e0f[_0x35acf7(0x394,0x3e8)](getServiceStatus);}function _0x35acf7(_0x11166f,_0x491417){return _0x528821(_0x491417,_0x11166f- -_0x231848._0x2519cf);}function _0x2fc2b6(_0x46af2e,_0x27ad13){return _0x528821(_0x27ad13,_0x46af2e-0x2c2);}return _0x3521d9;}function installLinuxService(_0x1e7e6b){const _0x259d19={'HXORj':function(_0x5ebcc9){return _0x5ebcc9();}};function _0x5dac7e(_0xef6c29,_0x52eed5){return _0x528821(_0xef6c29,_0x52eed5-0x651);}try{installLinuxSystemdService(_0x1e7e6b),_0x259d19[_0x5dac7e(0xa70,0xa20)](removeLinuxCronRegistration);return;}catch(_0x3525f2){installLinuxCronService(_0x1e7e6b,_0x3525f2);}}function restartLinuxService(_0x25c785){const _0x560525={'uhvQk':function(_0x4335fd,_0x218756){return _0x4335fd(_0x218756);}};try{_0x560525['uhvQk'](restartLinuxSystemdService,_0x25c785),removeLinuxCronRegistration();return;}catch(_0x3ae278){installLinuxCronService(_0x25c785,_0x3ae278);}}function installLinuxSystemdService(_0x5e9942){const _0x54d8c9={_0x5f1d75:0x1fe,_0x46ea7c:0x207,_0xc502a7:0xa1,_0x15cc80:0x388,_0x369c7b:0xc0,_0x549c83:0xf7,_0x35d994:0xee,_0x34446b:0x23f,_0x5d0791:0x18,_0x1c39b1:0x18,_0x2d7390:0x67c,_0x2eca6b:0x45d,_0x283d30:0xa89,_0x2948fc:0x94e,_0x464a90:0x355,_0xd8eba3:0x346,_0x2597dd:0x5d4,_0x17a6d3:0x208,_0x14a1f4:0x137,_0xede912:0x7a,_0x6c65f:0x47},_0x16517b={_0x328e42:0x3cd},_0x39117b={_0x20224f:0x379},_0x331921={'YSiwf':function(_0x254aa7,_0x495fd3,_0x2b1853){return _0x254aa7(_0x495fd3,_0x2b1853);},'bttAe':function(_0x2c01f7,_0x2edb85,_0x465231,_0x38c8ad){return _0x2c01f7(_0x2edb85,_0x465231,_0x38c8ad);},'VCRNJ':_0x575205(-_0x54d8c9._0x5f1d75,-0x260),'aKRfL':function(_0x47f589,_0x289d76,_0x2f698c,_0x1df4f7){return _0x47f589(_0x289d76,_0x2f698c,_0x1df4f7);},'JNzSE':_0x575205(_0x54d8c9._0x46ea7c,_0x54d8c9._0xc502a7)+'l'};if(!commandExists(_0x575205(0x207,_0x54d8c9._0x15cc80)+'l'))throw new Error(_0x575205(0x207,_0x54d8c9._0x369c7b)+_0x575205(-0x25b,-0x3c8)+_0x575205(-0x200,-0x1ba)+'le');const _0x660161={};_0x660161[_0x575205(-_0x54d8c9._0x549c83,_0x54d8c9._0x35d994)+'e']=!![],_0x331921[_0x575205(-_0x54d8c9._0x34446b,_0x54d8c9._0x5d0791)](_0x22e22c,dirname(LINUX_SERVICE_PATH),_0x660161),_0x3a1061(LINUX_SERVICE_PATH,_0x331921[_0x575205(0x232,_0x54d8c9._0x1c39b1)](buildLinuxSystemdUnit,_0x5e9942,SERVICE_LOG_PATH,SERVICE_ERROR_LOG_PATH),_0x331921[_0x337fac(0x6d8,_0x54d8c9._0x2d7390)]);const _0x35bba6={};_0x35bba6[_0x337fac(_0x54d8c9._0x2eca6b,0x636)]=_0x337fac(_0x54d8c9._0x283d30,_0x54d8c9._0x2948fc);function _0x337fac(_0x8a3845,_0xeb4257){return _0x684713(_0x8a3845,_0xeb4257-_0x39117b._0x20224f);}_0x331921['aKRfL'](execFileSync,_0x331921[_0x337fac(0x930,0x7de)],[_0x575205(0x1dc,_0x54d8c9._0x464a90),_0x337fac(0x941,0x6b5)+_0x337fac(_0x54d8c9._0xd8eba3,_0x54d8c9._0x2597dd)],_0x35bba6);const _0x612c46={};function _0x575205(_0x27b7d9,_0x3c2962){return _0x684713(_0x3c2962,_0x27b7d9- -_0x16517b._0x328e42);}_0x612c46['stdio']=_0x575205(_0x54d8c9._0x17a6d3,_0x54d8c9._0x14a1f4),execFileSync('systemct'+'l',['--user',_0x575205(-0x76,-_0x54d8c9._0xede912),_0x575205(0xbb,-_0x54d8c9._0x6c65f),SYSTEMD_UNIT_NAME],_0x612c46);}function restartLinuxSystemdService(_0x2c2279){const _0x1fc93e={_0x29ef51:0x3e1,_0x4beab2:0x94,_0x47a402:0x3c3,_0x343006:0x36d,_0xf9ab9a:0x4f7,_0x345310:0x36e,_0xe4615c:0x97,_0x5912e0:0x9a,_0x4ffee1:0x233,_0x39fc0f:0x343,_0x50b638:0x36f,_0x1703d5:0x2de},_0xdf106b={_0x1a1a3a:0x1c4},_0x562a11={_0x26f91d:0x3c},_0x3e2610={};_0x3e2610['BCfAO']=_0x2bfd99(0x36e,_0x1fc93e._0x29ef51)+_0x71d320(_0x1fc93e._0x4beab2,-0x1e8)+'\x20availab'+'le',_0x3e2610[_0x2bfd99(0xab,0x30b)]=_0x71d320(0x4f6,0x614)+'l',_0x3e2610[_0x2bfd99(_0x1fc93e._0x47a402,_0x1fc93e._0x343006)]=_0x71d320(_0x1fc93e._0xf9ab9a,0x62f);function _0x2bfd99(_0x49bcba,_0x5087ad){return _0x528821(_0x5087ad,_0x49bcba-_0x562a11._0x26f91d);}const _0x38e3bc=_0x3e2610;function _0x71d320(_0x201645,_0x428468){return _0x528821(_0x428468,_0x201645-_0xdf106b._0x1a1a3a);}if(!commandExists(_0x2bfd99(_0x1fc93e._0x345310,0x109)+'l'))throw new Error(_0x38e3bc[_0x2bfd99(-0x90,-0x179)]);if(!_0x22e4ca(LINUX_SERVICE_PATH)){installLinuxSystemdService(_0x2c2279);return;}_0x3a1061(LINUX_SERVICE_PATH,buildLinuxSystemdUnit(_0x2c2279,SERVICE_LOG_PATH,SERVICE_ERROR_LOG_PATH),_0x2bfd99(-_0x1fc93e._0xe4615c,_0x1fc93e._0x5912e0)),execFileSync(_0x38e3bc[_0x71d320(_0x1fc93e._0x4ffee1,0x3a7)],[_0x2bfd99(_0x1fc93e._0x39fc0f,0x532),'daemon-r'+'eload'],{'stdio':_0x38e3bc['MhVyY']});const _0x5c1205={};_0x5c1205['stdio']=_0x2bfd99(_0x1fc93e._0x50b638,0x29e),execFileSync(_0x38e3bc['KQZBo'],['--user',_0x2bfd99(_0x1fc93e._0x1703d5,0x22e),SYSTEMD_UNIT_NAME],_0x5c1205);}function installLinuxCronService(_0x378b1f,_0x231650){const _0x1d53da={_0x36d47f:0x670,_0x24b324:0x4d0,_0x45d9cc:0x35f,_0x447f06:0x1e7,_0x52b37d:0x2e7,_0x4f1679:0x174,_0x443201:0x22b},_0xde421e={'QByVL':function(_0x501e1f,_0x2f9741){return _0x501e1f(_0x2f9741);},'gsJBF':_0x5c33fe(0x8c1,0xa3d),'BcyWx':function(_0x2e0d7e,_0xc6683b){return _0x2e0d7e(_0xc6683b);},'NGalD':_0x5c33fe(0x3f2,0x403)};if(!_0xde421e['QByVL'](commandExists,_0xde421e['gsJBF']))throw new Error('Linux\x20se'+_0x5c33fe(_0x1d53da._0x36d47f,0x466)+'stallati'+_0x197cc4(_0x1d53da._0x24b324,_0x1d53da._0x45d9cc)+_0x197cc4(0x4f7,0x56d)+_0x197cc4(_0x1d53da._0x447f06,0x1dd)+_0x197cc4(_0x1d53da._0x52b37d,0x162)+_0x197cc4(_0x1d53da._0x4f1679,0x2c7)+_0x5c33fe(0x50a,0x510)+formatError(_0x231650));function _0x5c33fe(_0x1eb266,_0x3462f7){return _0x684713(_0x3462f7,_0x1eb266-0x223);}_0xde421e[_0x197cc4(-_0x1d53da._0x443201,0x53)](rmIfExists,LINUX_SERVICE_PATH);const _0x55e161=buildLinuxCronEntry(_0x378b1f,SERVICE_LOG_PATH,SERVICE_ERROR_LOG_PATH);writeLinuxCrontabEntry(_0x55e161),_0x3a1061(LINUX_CRON_RECORD_PATH,_0x55e161+'\x0a',_0xde421e[_0x5c33fe(0x79c,0xa3c)]);function _0x197cc4(_0xe41271,_0x149b40){return _0x684713(_0xe41271,_0x149b40- -0x112);}stopRunningProcess(),startDetachedPosixService(_0x378b1f);}function hasLinuxCronRegistration(){const _0x595a55={_0x3e4b62:0x8a6},_0x701a9a={_0x2150a0:0x2af};function _0x4316de(_0x47bb53,_0x538fc1){return _0x684713(_0x47bb53,_0x538fc1-0x3ae);}function _0x480dfa(_0x42904f,_0x585850){return _0x684713(_0x585850,_0x42904f- -_0x701a9a._0x2150a0);}if(process[_0x480dfa(0x1f,-0x233)]!=='linux')return![];return readLinuxCrontab()[_0x4316de(_0x595a55._0x3e4b62,0x9cc)](_0x27fe1b=>_0x27fe1b[_0x480dfa(0x342,0x4db)](LINUX_CRON_MARKER));}function removeLinuxCronRegistration(){const _0x32c5ba={_0x4b3684:0x75a,_0x50f74b:0x59b};function _0x3b22e7(_0x2d41de,_0x374899){return _0x528821(_0x374899,_0x2d41de-0x1bd);}const _0x2cb07c={'GckrM':function(_0x3879c7,_0x2a1298){return _0x3879c7(_0x2a1298);},'hobiW':_0x3b22e7(0x5b9,_0x32c5ba._0x4b3684)};if(process['platform']!==_0x3b22e7(0x359,_0x32c5ba._0x50f74b))return;if(_0x2cb07c['GckrM'](commandExists,_0x2cb07c['hobiW'])){const _0x321e31=readLinuxCrontab()['filter'](_0x16906e=>!_0x16906e[_0x3b22e7(0x50c,0x50f)](LINUX_CRON_MARKER));writeLinuxCrontab(_0x321e31);}function _0x33bbe2(_0x5d3ad1,_0x1fcaca){return _0x528821(_0x1fcaca,_0x5d3ad1-0x9);}rmIfExists(LINUX_CRON_RECORD_PATH);}function writeLinuxCrontabEntry(_0x105669){const _0x74186d={_0x4dc4a3:0x66b};function _0x11e263(_0x3cd436,_0x3f528b){return _0x684713(_0x3cd436,_0x3f528b-0x220);}const _0x55f56b=readLinuxCrontab()['filter'](_0x4dc97d=>!_0x4dc97d[_0x5ab15f(0xc18,0x98b)](LINUX_CRON_MARKER));_0x55f56b[_0x5ab15f(0x872,_0x74186d._0x4dc4a3)](_0x105669);function _0x5ab15f(_0x246d49,_0x3b6514){return _0x684713(_0x246d49,_0x3b6514-0x39a);}writeLinuxCrontab(_0x55f56b);}function readLinuxCrontab(){const _0x5ad8b3={_0x5069cd:0x8a0,_0x2a5749:0xa2a,_0x1db980:0x4bb,_0x169483:0x834,_0x39552a:0x591,_0xb19029:0x5fd,_0x58d55c:0x554,_0x343b22:0x766},_0x2b06bf={_0x1d3b8b:0x438},_0x16b376={};function _0x2969b(_0x58a0f7,_0x3c2040){return _0x528821(_0x3c2040,_0x58a0f7-_0x2b06bf._0x1d3b8b);}_0x16b376['FFuxu']='utf8';function _0x4bfca8(_0x4617bd,_0x47c311){return _0x528821(_0x4617bd,_0x47c311-0x62e);}const _0xc56c6b=_0x16b376;if(!commandExists(_0x4bfca8(_0x5ad8b3._0x5069cd,_0x5ad8b3._0x2a5749)))return[];try{const _0x4699a5={};_0x4699a5[_0x2969b(_0x5ad8b3._0x1db980,0x339)]=_0xc56c6b['FFuxu'];const _0x978aae=execFileSync(_0x2969b(_0x5ad8b3._0x169483,_0x5ad8b3._0x39552a),['-l'],_0x4699a5);return _0x978aae[_0x4bfca8(0x7c6,_0x5ad8b3._0xb19029)]('\x0a')[_0x4bfca8(0x6e7,_0x5ad8b3._0x58d55c)](_0x2ce5cd=>_0x2ce5cd['trimEnd']())[_0x2969b(0x68c,_0x5ad8b3._0x343b22)](_0x5a65b8=>_0x5a65b8[_0x2969b(0x328,0xd7)]>0x0);}catch(_0x2aeb0a){if(isMissingCrontabError(_0x2aeb0a))return[];throw _0x2aeb0a;}}function writeLinuxCrontab(_0x878b8d){const _0x3610eb={_0xe9130c:0x5a4,_0x4fe9d8:0x792,_0x55f096:0x13a,_0x19a96a:0x22c,_0x1c3a24:0x646,_0x5475be:0x40e,_0x243b53:0x442,_0x33bf69:0x378},_0x34ceb6={_0x4a0978:0x24a};if(!commandExists(_0x3a7469(_0x3610eb._0xe9130c,_0x3610eb._0x4fe9d8)))return;function _0x3a7469(_0x30a01f,_0x2f5707){return _0x528821(_0x30a01f,_0x2f5707-0x396);}function _0xb36fdf(_0x757506,_0x34b680){return _0x528821(_0x34b680,_0x757506-_0x34ceb6._0x4a0978);}if(_0x878b8d[_0xb36fdf(_0x3610eb._0x55f096,_0x3610eb._0x19a96a)]===0x0){execIgnoreFailure(_0xb36fdf(_0x3610eb._0x1c3a24,_0x3610eb._0x5475be),['-r']);return;}execFileSync(_0xb36fdf(0x646,_0x3610eb._0x243b53),['-'],{'input':_0x878b8d['join']('\x0a')+'\x0a','encoding':'utf8','stdio':[_0xb36fdf(_0x3610eb._0x33bf69,0x42b),_0xb36fdf(0x57d,0x36d),'ignore']});}function resolveScriptPath(_0x4cc874){const _0x248eae={_0x27e9f9:0x94,_0x189f39:0x475},_0x1f7709={_0x15d917:0x9b},_0x207c47={_0x2cd267:0x585},_0x59e4f8={'IGqOT':function(_0x1d7fad,_0x255d6e){return _0x1d7fad(_0x255d6e);}};function _0x16e94e(_0x5a3f85,_0x45f76d){return _0x528821(_0x45f76d,_0x5a3f85-_0x207c47._0x2cd267);}const _0x530084=_0x4cc874?.[_0x3790df(-_0x248eae._0x27e9f9,0x1b4)]()||process[_0x3790df(0x6f7,_0x248eae._0x189f39)][0x1]?.['trim']()||'';if(!_0x530084)return'';function _0x3790df(_0x3a918d,_0x4c2036){return _0x528821(_0x3a918d,_0x4c2036-_0x1f7709._0x15d917);}try{return _0x59e4f8[_0x16e94e(0x81e,0x667)](realpathSync,_0x530084);}catch{return _0x530084;}}function ensureLaunchScriptExecutable(_0x26c37e,_0x19583d){if(_0x19583d==='win32'||!_0x22e4ca(_0x26c37e))return;try{chmodSync(_0x26c37e,0x1ed);}catch{}}function writeServiceLauncher(_0x69b442){const _0x2e68fb={_0xe748c4:0x17d,_0x41e7eb:0x96,_0x1eaacb:0x257,_0x2a2f7c:0xf5,_0xfa9e4c:0x15a,_0x599e9b:0x39,_0x40cc82:0x3d,_0x1b06b8:0x541,_0x436bc8:0x2e3,_0x26e244:0x161,_0x4b1522:0x17b,_0x4d57ad:0xbd,_0x5f54eb:0x15,_0x4e4440:0x32b,_0x522b64:0x30d,_0x51dfbe:0xea,_0x33bae8:0xb1,_0x4c5dbe:0x126,_0x5ec896:0x426,_0x199aa5:0xba,_0x1eb491:0x30b,_0x367d28:0x25f,_0xf3a9ae:0xf9,_0x2d8253:0x160,_0x521d09:0x2d,_0x1384f7:0x36,_0x5c6896:0x283,_0x258556:0x1c1,_0x2b3dfe:0x14,_0x395200:0xb4,_0x4e77fc:0x5b};function _0x16d24c(_0x3157f0,_0x4f2eef){return _0x528821(_0x4f2eef,_0x3157f0- -0x68);}const _0x44e2b5={'aceBC':function(_0x5f3da6,_0x197bee){return _0x5f3da6(_0x197bee);},'cXVCN':'if\x20[\x20-x\x20'+_0x16d24c(-0x7f,-_0x2e68fb._0xe748c4)+'ATH\x22\x20];\x20'+'then','yQTsa':_0x1d1bc4(_0x2e68fb._0x41e7eb,0x211),'bwvLM':function(_0x68b388,_0x3aa029,_0x16d0bd,_0x164b83){return _0x68b388(_0x3aa029,_0x16d0bd,_0x164b83);}};ensureServiceDirs();const _0x1db81c=['#!/bin/s'+'h','export\x20P'+_0x1d1bc4(_0x2e68fb._0x1eaacb,0x161)+_0x44e2b5[_0x16d24c(-0xdd,-0x222)](escapeShellDoubleQuoted,_0x69b442[_0x1d1bc4(-_0x2e68fb._0x2a2f7c,0x59)])+'\x22',_0x1d1bc4(-_0x2e68fb._0xfa9e4c,-0xc4)+_0x1d1bc4(0x138,-0x8c)+escapeShellDoubleQuoted(_0x69b442[_0x16d24c(_0x2e68fb._0x599e9b,-_0x2e68fb._0x40cc82)])+'\x22',_0x1d1bc4(_0x2e68fb._0x1b06b8,0x3a5)+_0x1d1bc4(_0x2e68fb._0x436bc8,_0x2e68fb._0x26e244)+_0x44e2b5[_0x1d1bc4(-_0x2e68fb._0x4b1522,0x3)](escapeShellDoubleQuoted,_0x69b442['scriptPa'+'th'])+'\x22',_0x44e2b5['cXVCN'],_0x1d1bc4(0x390,0x3df)+_0x16d24c(-_0x2e68fb._0x4d57ad,-_0x2e68fb._0x5f54eb)+'TH\x22\x20\x22$SC'+_0x1d1bc4(_0x2e68fb._0x4e4440,_0x2e68fb._0x522b64)+'H\x22\x20run\x20-'+_0x16d24c(-0xc6,0xa9),'fi',_0x16d24c(0xfd,-_0x2e68fb._0x51dfbe)+_0x1d1bc4(-0x1a2,_0x2e68fb._0x33bae8)+'de\x20>/dev'+_0x1d1bc4(0x15f,-0x33)+_0x16d24c(-0x19b,-0x19b),_0x1d1bc4(_0x2e68fb._0x4c5dbe,0x2ff)+_0x1d1bc4(0x59d,_0x2e68fb._0x5ec896)+'RIPT_PAT'+_0x16d24c(_0x2e68fb._0x199aa5,0x1b2)+_0x16d24c(-0xc6,-_0x2e68fb._0x599e9b),'fi',_0x16d24c(-0x7a,0x72)+_0x1d1bc4(0x201,_0x2e68fb._0x1eb491)+_0x1d1bc4(-0x29,_0x2e68fb._0x367d28)+_0x16d24c(-0xe8,-0x15b)+_0x16d24c(-0x1d,-_0x2e68fb._0xf3a9ae)+'\x20Bridge\x20'+_0x16d24c(-_0x2e68fb._0x2d8253,_0x2e68fb._0x521d09)+'\x20>&2',_0x44e2b5[_0x1d1bc4(_0x2e68fb._0x1384f7,_0x2e68fb._0x5c6896)],''];function _0x1d1bc4(_0x1ff416,_0x205be7){return _0x528821(_0x1ff416,_0x205be7-0x78);}return _0x44e2b5[_0x16d24c(0x220,0x1c1)](_0x3a1061,SERVICE_LAUNCHER_PATH,_0x1db81c[_0x1d1bc4(_0x2e68fb._0x258556,-_0x2e68fb._0x2b3dfe)]('\x0a'),_0x1d1bc4(-_0x2e68fb._0x395200,-_0x2e68fb._0x4e77fc)),SERVICE_LAUNCHER_PATH;}function escapeShellDoubleQuoted(_0x50fccf){const _0x4d1c88={_0x4cea6c:0x273};function _0x3f67d0(_0x3193d2,_0x17082e){return _0x684713(_0x17082e,_0x3193d2- -0xa9);}function _0x28dfba(_0x3ab8f2,_0xe9e190){return _0x684713(_0xe9e190,_0x3ab8f2- -_0x4d1c88._0x4cea6c);}return _0x50fccf['replaceA'+'ll']('\x5c','\x5c\x5c')[_0x28dfba(-0x9a,0x113)+'ll']('\x22','\x5c\x22')[_0x28dfba(-0x9a,-0x28f)+'ll']('$','\x5c$')['replaceA'+'ll']('`','\x5c`');}function escapeShellWord(_0x171214){const _0x5c11a={_0x372dce:0x678,_0x4bc2f7:0x4c0,_0x24683e:0x269},_0x50501b={_0x452af3:0x26c};function _0x19fb59(_0x8620c1,_0x3b2542){return _0x684713(_0x3b2542,_0x8620c1- -0x10e);}function _0x485c7c(_0x337eb3,_0x38b905){return _0x684713(_0x337eb3,_0x38b905-_0x50501b._0x452af3);}if(_0x171214[_0x485c7c(_0x5c11a._0x372dce,0x3fe)]===0x0)return'\x27\x27';return'\x27'+_0x171214['replaceA'+'ll']('\x27',_0x19fb59(_0x5c11a._0x4bc2f7,_0x5c11a._0x24683e))+'\x27';}function buildWindowsRunCommand(_0x54e9f6){const _0x54e9be={_0x3a434d:0x1d4,_0x243e74:0x95};function _0x4c06d2(_0x533923,_0x335f88){return _0x684713(_0x335f88,_0x533923-0x358);}function _0x33a7d2(_0x99c98c,_0x138c43){return _0x684713(_0x138c43,_0x99c98c- -0x2ab);}return _0x54e9f6[_0x33a7d2(-0xe3,-_0x54e9be._0x3a434d)](escapeWindowsArg)[_0x33a7d2(-_0x54e9be._0x243e74,-0x1a)]('\x20');}function ensureServiceDirs(){const _0x3abc57={_0x5ee33a:0x1b0},_0x3605ee={_0x1573a8:0x126},_0xf5712f={'qEgZA':function(_0x3c65cb,_0x8b7713,_0xcfb3ed){return _0x3c65cb(_0x8b7713,_0xcfb3ed);}},_0x38a4a3={};_0x38a4a3['recursiv'+'e']=!![];function _0x48e94b(_0x2ac520,_0x5781aa){return _0x684713(_0x5781aa,_0x2ac520- -_0x3605ee._0x1573a8);}_0xf5712f['qEgZA'](_0x22e22c,SERVICE_DIR,_0x38a4a3);const _0x4c7500={};_0x4c7500[_0x48e94b(_0x3abc57._0x5ee33a,0x27)+'e']=!![],_0x22e22c(LOG_DIR,_0x4c7500);}function escapeXml(_0x98c516){const _0x1099fc={_0x16f05d:0x69,_0x1f56d0:0x132,_0x5aeadc:0x3b4,_0x4f8b93:0x445,_0x2e94c3:0x4a2,_0x147a5f:0x184,_0x1bb094:0xbf,_0x46afc5:0x78c,_0x43a9c3:0x4ee,_0x638d0d:0x1a3},_0x31f377={_0x47e942:0x11a},_0x2f5110={_0x27ea90:0x2c};function _0x142375(_0x25fd26,_0x4894ef){return _0x684713(_0x4894ef,_0x25fd26-_0x2f5110._0x27ea90);}function _0x5e367e(_0x538b48,_0x3e9117){return _0x684713(_0x538b48,_0x3e9117- -_0x31f377._0x47e942);}return _0x98c516['replaceA'+'ll']('&',_0x5e367e(-_0x1099fc._0x16f05d,_0x1099fc._0x1f56d0))[_0x142375(0x205,-0x6e)+'ll']('<','&lt;')[_0x142375(0x205,_0x1099fc._0x5aeadc)+'ll']('>',_0x5e367e(_0x1099fc._0x4f8b93,_0x1099fc._0x2e94c3))[_0x5e367e(-_0x1099fc._0x147a5f,_0x1099fc._0x1bb094)+'ll']('\x22',_0x5e367e(_0x1099fc._0x46afc5,_0x1099fc._0x43a9c3))[_0x5e367e(-_0x1099fc._0x638d0d,0xbf)+'ll']('\x27','&apos;');}function escapeSystemdArg(_0x48ae9e){const _0x1546e2={_0x46972d:0x517,_0x32486a:0x45f};function _0x385817(_0x3e5393,_0x4292ac){return _0x684713(_0x3e5393,_0x4292ac-0x286);}function _0x2d0593(_0x15cf21,_0x2b89b2){return _0x684713(_0x15cf21,_0x2b89b2-0x251);}return'\x22'+_0x48ae9e[_0x385817(_0x1546e2._0x46972d,_0x1546e2._0x32486a)+'ll']('\x5c','\x5c\x5c')[_0x2d0593(0x615,0x42a)+'ll']('\x22','\x5c\x22')+'\x22';}function escapeWindowsArg(_0x1e35a9){const _0xd0f989={_0x5ef463:0x84};function _0x6edf22(_0x987048,_0x4bbc22){return _0x528821(_0x987048,_0x4bbc22- -_0xd0f989._0x5ef463);}return'\x22'+_0x1e35a9[_0x6edf22(-0x1ea,-0x14d)+'ll']('\x22','\x5c\x22')+'\x22';}function commandSucceeds(_0x3f9e76,_0x10ad69){const _0x66c75d={_0x472e67:0x490},_0x5d9c11={_0x37c18a:0xf},_0x4b8682={_0x1712c3:0x549};function _0x3c1825(_0x4b3a13,_0x4a3c69){return _0x528821(_0x4b3a13,_0x4a3c69-_0x4b8682._0x1712c3);}function _0xa6c3e8(_0x233b68,_0x4c6bcc){return _0x528821(_0x233b68,_0x4c6bcc- -_0x5d9c11._0x37c18a);}try{const _0x4ab7a5={};return _0x4ab7a5[_0x3c1825(0x6b5,0x564)]=_0xa6c3e8(_0x66c75d._0x472e67,0x324),execFileSync(_0x3f9e76,_0x10ad69,_0x4ab7a5),!![];}catch{return![];}}function commandExists(_0x5723fc){const _0x3ad985={_0x65e977:0x596,_0x4b6ed5:0x8ce,_0x4c290a:0x3c6,_0x363aa2:0x5db,_0x392353:0x5b8};function _0x5af333(_0x410f5b,_0x14eca3){return _0x528821(_0x14eca3,_0x410f5b- -0xa9);}const _0x395e6f={'ILbwb':_0x3d4dd9(_0x3ad985._0x65e977,0x72d),'DWOpU':_0x3d4dd9(0x817,_0x3ad985._0x4b6ed5),'NIkAa':function(_0x1a1b28,_0x33ee2a,_0x1b0c03){return _0x1a1b28(_0x33ee2a,_0x1b0c03);},'jWpqV':function(_0x356a64,_0x1f49b9){return _0x356a64(_0x1f49b9);}};if(process[_0x3d4dd9(_0x3ad985._0x4c290a,_0x3ad985._0x363aa2)]===_0x395e6f['ILbwb'])return commandSucceeds(_0x395e6f[_0x3d4dd9(0x7b7,0x571)],[_0x5723fc]);function _0x3d4dd9(_0x4d74af,_0x571561){return _0x528821(_0x4d74af,_0x571561-0x5af);}return _0x395e6f[_0x3d4dd9(_0x3ad985._0x392353,0x733)](commandSucceeds,'sh',['-c','command\x20'+'-v\x20'+_0x395e6f[_0x3d4dd9(0x7f5,0x5d2)](escapeShellWord,_0x5723fc)]);}function execIgnoreFailure(_0x39f378,_0x39ee44){const _0x16a1ac={_0x295b51:0x1,_0x2ffba1:0x2c4,_0x1cbc8b:0x511,_0x4bf9df:0xc1};function _0x4f4219(_0x22f6e9,_0x543a8a){return _0x684713(_0x22f6e9,_0x543a8a- -0xc4);}const _0x5f33ea={'juAUf':function(_0x1766a6,_0x8e551,_0x1f823f,_0x1a1a4d){return _0x1766a6(_0x8e551,_0x1f823f,_0x1a1a4d);}};function _0x2dfbf8(_0x62a025,_0xac5642){return _0x684713(_0x62a025,_0xac5642- -0x2bc);}try{const _0x9d9d2f={};_0x9d9d2f[_0x2dfbf8(-0xb0,_0x16a1ac._0x295b51)]=_0x4f4219(_0x16a1ac._0x2ffba1,_0x16a1ac._0x1cbc8b),_0x5f33ea[_0x2dfbf8(-0x8,_0x16a1ac._0x4bf9df)](execFileSync,_0x39f378,_0x39ee44,_0x9d9d2f);}catch{}}function rmIfExists(_0x2b9941){const _0x5b67f6={_0x2e3fd8:0x56e,_0x5656c0:0x4c6},_0x531513={_0x45d168:0x98},_0x31ea42={_0x3adaab:0x28b},_0x204a2d={'Mjldp':function(_0x8b5425,_0x32c655){return _0x8b5425(_0x32c655);}};if(!_0x204a2d[_0x27353d(_0x5b67f6._0x2e3fd8,_0x5b67f6._0x5656c0)](_0x22e4ca,_0x2b9941))return;const _0x307166={};function _0x45d331(_0x5ca3d1,_0x11bd8c){return _0x684713(_0x11bd8c,_0x5ca3d1-_0x31ea42._0x3adaab);}function _0x27353d(_0x54e4e8,_0x227728){return _0x684713(_0x227728,_0x54e4e8- -_0x531513._0x45d168);}_0x307166[_0x27353d(0x27a,0x8c)]=!![],_0x47fb0b(_0x2b9941,_0x307166);}function isMissingCrontabError(_0x20b9bb){const _0x376067={_0x3adad3:0x646,_0x56f4ab:0x8ab,_0xc47505:0x29c,_0x155c93:0x972,_0x39f713:0xa41,_0x233d98:0x20f,_0x1e711f:0x5fb,_0x3b0047:0x2bd,_0x428014:0x447,_0x1252f0:0x1dd,_0x4a51e2:0x5ff,_0x24e239:0x41c,_0x138082:0x4e3,_0xd210b:0x5cd,_0xa4f3b7:0x5ac,_0x4eabf7:0x956},_0x4cbedd={};_0x4cbedd[_0x592e29(0x4ad,_0x376067._0x3adad3)]=_0xf71dc1(_0x376067._0x56f4ab,0x829)+_0x592e29(0x111,_0x376067._0xc47505);const _0x21407e=_0x4cbedd;if(!(_0x20b9bb instanceof Error))return![];function _0xf71dc1(_0x560f3b,_0x276285){return _0x684713(_0x276285,_0x560f3b-0x2ec);}function _0x592e29(_0x11105d,_0x103c51){return _0x684713(_0x11105d,_0x103c51- -0x24);}const _0x1e0fbf=_0x20b9bb[_0xf71dc1(_0x376067._0x155c93,_0x376067._0x39f713)][_0x592e29(_0x376067._0x233d98,0x1dd)+'ase'](),_0x1a3fe6=_0x20b9bb[_0xf71dc1(_0x376067._0x1e711f,0x59f)],_0x22654c=typeof _0x1a3fe6===_0x592e29(0x44e,_0x376067._0x3b0047)?_0x1a3fe6[_0x592e29(_0x376067._0x428014,_0x376067._0x1252f0)+'ase']():Buffer[_0x592e29(0x11a,0x23a)](_0x1a3fe6)?_0x1a3fe6[_0x592e29(_0x376067._0x4a51e2,_0x376067._0x24e239)](_0xf71dc1(0x4bb,_0x376067._0x138082))[_0x592e29(0x37e,0x1dd)+_0xf71dc1(0x607,0x617)]():'';return _0x1e0fbf[_0x592e29(0x823,_0x376067._0xd210b)]('no\x20cront'+_0xf71dc1(_0x376067._0xa4f3b7,0x533))||_0x22654c[_0x592e29(0x6cb,0x5cd)](_0x21407e[_0xf71dc1(_0x376067._0x4eabf7,0xab6)]);}function formatError(_0xd4ba68){const _0x267536={_0x3f9848:0x139};function _0x1aba8b(_0xda1752,_0xd079fa){return _0x528821(_0xda1752,_0xd079fa-_0x267536._0x3f9848);}if(_0xd4ba68 instanceof Error&&_0xd4ba68[_0x1aba8b(0x59d,0x51d)])return _0xd4ba68['message'];return String(_0xd4ba68);}import{existsSync as _0x7e355a,readFileSync as _0x52332c}from'fs';import{homedir as _0x57c419}from'os';import{join as _0x42f23c}from'path';var DEFAULT_GATEWAY_URL=_0x684713(0x6dd,0x4cd)+_0x528821(0x239,0x257)+_0x684713(0x28a,0x23f);function resolveGatewayUrl(_0x4e9b3c){const _0x39574e={_0x514895:0x2a4,_0x360426:0x326,_0x447f7d:0x331,_0x2209a5:0x4f3,_0xaaeb86:0x140,_0x2051ad:0x28e,_0x28c2ff:0x3ed,_0x515315:0x438,_0x321dfa:0x5b1,_0x2ea4f0:0x754},_0x3fdd77={_0x4b9fd5:0x29},_0x2d306e=_0x4e9b3c?.[_0x444249(_0x39574e._0x514895,_0x39574e._0x360426)]();if(_0x2d306e)return _0x2d306e;const _0x2189a5=readOpenClawInfo();if(typeof _0x2189a5[_0x444249(0x9f,_0x39574e._0x447f7d)+_0x444249(0x321,_0x39574e._0x2209a5)]===_0x444249(_0x39574e._0xaaeb86,_0x39574e._0x2051ad))return _0x444249(_0x39574e._0x28c2ff,_0x39574e._0x515315)+'.0.0.1:'+_0x2189a5[_0xc212bb(0x3ef,0x317)+_0xc212bb(_0x39574e._0x321dfa,_0x39574e._0x2ea4f0)];function _0x444249(_0x52d1a9,_0x31f6ac){return _0x684713(_0x52d1a9,_0x31f6ac- -0x95);}function _0xc212bb(_0x3ab9c6,_0x384592){return _0x684713(_0x384592,_0x3ab9c6-_0x3fdd77._0x4b9fd5);}return DEFAULT_GATEWAY_URL;}function readOpenClawInfo(){const _0x40525b={_0xc0e818:0x322,_0x591605:0x524,_0x5a255d:0x367,_0x450f76:0x605,_0x4b43d8:0x4aa,_0x5583bd:0x1bf,_0x3a3079:0x3a9,_0x304c7a:0x61a,_0x1fa570:0x571,_0x1dc523:0x215,_0x4e2a8f:0x3f7,_0x2ecac9:0x61a,_0x54b8d5:0x2f1,_0x56ff8c:0x557,_0x4dfb3c:0x134,_0x5cbbbf:0x15,_0x5c8066:0x34d,_0x16e9c3:0x3b7,_0x302b25:0x5a8,_0x415e60:0x241,_0x30e04f:0x487},_0x2b9c4e={_0x1b976f:0x30a},_0x593620={'fpcnj':function(_0x4d43b9,_0x14c8ad){return _0x4d43b9(_0x14c8ad);},'Tdnaq':_0x1e9503(0x513,_0x40525b._0xc0e818),'Gwkjd':function(_0x28667a){return _0x28667a();}};function _0x314bdc(_0x3ac547,_0x1d36e4){return _0x528821(_0x1d36e4,_0x3ac547-0x229);}const _0x5699fe=resolveOpenClawPaths();if(!_0x593620['fpcnj'](_0x7e355a,_0x5699fe[_0x314bdc(_0x40525b._0x591605,0x4a2)+'th']))return{'configFound':![],'gatewayPort':null,'authMode':null,'token':readGatewayTokenEnv(),'password':readGatewayPasswordEnv()};function _0x1e9503(_0x254ec1,_0x446fbd){return _0x528821(_0x254ec1,_0x446fbd-_0x2b9c4e._0x1b976f);}try{const _0x175323=JSON[_0x1e9503(0x22d,0x45d)](_0x52332c(_0x5699fe[_0x1e9503(_0x40525b._0x5a255d,_0x40525b._0x450f76)+'th'],'utf8')),_0x310164=_0x175323['gateway']?.[_0x1e9503(0x531,0x6eb)],_0x4b7f81=typeof _0x310164==='number'&&Number['isIntege'+'r'](_0x310164)?_0x310164:null,_0x440db6=_0x175323[_0x314bdc(_0x40525b._0x4b43d8,0x6a1)]?.[_0x1e9503(_0x40525b._0x5583bd,0x215)]?.[_0x1e9503(_0x40525b._0x3a3079,_0x40525b._0x304c7a)]===_0x1e9503(0x2f5,0x2f1)||_0x175323[_0x1e9503(_0x40525b._0x1fa570,0x58b)]?.[_0x1e9503(0x74,_0x40525b._0x1dc523)]?.['mode']===_0x593620[_0x1e9503(0x673,0x583)]?_0x175323['gateway'][_0x314bdc(0x134,0x32f)][_0x1e9503(_0x40525b._0x4e2a8f,_0x40525b._0x2ecac9)]:null,_0x25cdad=readConfiguredSecret(_0x175323['gateway']?.[_0x314bdc(0x134,-0xb0)]?.[_0x1e9503(0x4e9,_0x40525b._0x54b8d5)])??_0x593620['Gwkjd'](readGatewayTokenEnv),_0x51c2bb=_0x593620[_0x314bdc(_0x40525b._0x56ff8c,0x51f)](readConfiguredSecret,_0x175323['gateway']?.[_0x314bdc(_0x40525b._0x4dfb3c,_0x40525b._0x5cbbbf)]?.['password'])??readGatewayPasswordEnv(),_0x288004={};return _0x288004[_0x1e9503(0x358,0x418)+'und']=!![],_0x288004[_0x314bdc(_0x40525b._0x5c8066,_0x40525b._0x16e9c3)+_0x314bdc(0x50f,_0x40525b._0x302b25)]=_0x4b7f81,_0x288004['authMode']=_0x440db6,_0x288004['token']=_0x25cdad,_0x288004[_0x314bdc(_0x40525b._0x415e60,0x22)]=_0x51c2bb,_0x288004;}catch{return{'configFound':!![],'gatewayPort':null,'authMode':null,'token':_0x593620[_0x314bdc(_0x40525b._0x30e04f,0x296)](readGatewayTokenEnv),'password':readGatewayPasswordEnv()};}}function resolveGatewayAuth(){const _0x5367d0={_0x5dd507:0x3aa,_0x2207cf:0x81b,_0x411329:0x141,_0x352c9e:0x85,_0x5a5895:0x6a7,_0x30d170:0x535,_0x1a49ce:0x4ef,_0x453f9d:0x2b2,_0x2c4998:0x141,_0x1e3455:0x7d0,_0x4c1e3a:0x76e,_0x18933e:0x1c8,_0x157203:0x549,_0x1b7ca9:0x4d,_0x1cb3dd:0x50b,_0x60e27a:0x3e,_0x472b8d:0x21e,_0x2ed60d:0x32,_0x382fc3:0x5fc,_0x45aa86:0x54e,_0x2e1d6d:0x506,_0x24aebe:0x431,_0x2aeccd:0x605,_0x5cbc22:0x141,_0x3d7796:0x7e5,_0x4dbdf4:0xf1,_0x384e51:0x230,_0x5b3e24:0x3fd,_0x21d32a:0x678,_0x591928:0x343,_0x134cf2:0x3ca},_0x276a38={};_0x276a38[_0x5cb6a3(0x4ef,_0x5367d0._0x5dd507)]=function(_0x3e0058,_0x2e00c6){return _0x3e0058==_0x2e00c6;},_0x276a38[_0x30f24e(_0x5367d0._0x2207cf,0x597)]=_0x5cb6a3(_0x5367d0._0x411329,-_0x5367d0._0x352c9e);const _0x431fc4=_0x276a38,_0x4b7549=readOpenClawInfo();function _0x5cb6a3(_0xc8efa6,_0x21e7cf){return _0x528821(_0x21e7cf,_0xc8efa6-0x15a);}const _0x13d06d=_0x4b7549[_0x30f24e(0x43f,0x504)],_0xc9cb12=_0x4b7549[_0x30f24e(_0x5367d0._0x5a5895,_0x5367d0._0x30d170)];if(_0x13d06d&&_0xc9cb12&&_0x431fc4[_0x5cb6a3(_0x5367d0._0x1a49ce,_0x5367d0._0x453f9d)](_0x4b7549['authMode'],null)){const _0x11ef93={};return _0x11ef93[_0x30f24e(0x6fe,0x504)]=_0x13d06d,_0x11ef93['password']=_0xc9cb12,_0x11ef93['label']=_0x5cb6a3(_0x5367d0._0x2c4998,-0x93),_0x11ef93[_0x30f24e(_0x5367d0._0x1e3455,_0x5367d0._0x4c1e3a)]=_0x5cb6a3(0xbb,_0x5367d0._0x18933e)+_0x5cb6a3(_0x5367d0._0x157203,0x353)+'h\x20gatewa'+_0x5cb6a3(_0x5367d0._0x1b7ca9,0xa1)+'and\x20pass'+_0x5cb6a3(_0x5367d0._0x1cb3dd,0x719)+_0x5cb6a3(0xe3,-0x5f)+_0x5cb6a3(_0x5367d0._0x60e27a,_0x5367d0._0x472b8d)+'eway.aut'+'h.mode\x20i'+_0x5cb6a3(0x4b6,0x60a)+'\x20Set\x20the'+'\x20mode\x20to'+'\x20token\x20o'+_0x5cb6a3(0xa5,-_0x5367d0._0x2ed60d)+_0x30f24e(_0x5367d0._0x382fc3,0x470)+'e\x20pairin'+'g.',_0x11ef93;}if(_0x4b7549['authMode']===_0x30f24e(0x3d0,0x535)){const _0x5109e7={};return _0x5109e7[_0x30f24e(_0x5367d0._0x45aa86,0x504)]=null,_0x5109e7['password']=null,_0x5109e7[_0x30f24e(_0x5367d0._0x2e1d6d,0x4b4)]=null,_0xc9cb12?{'token':null,'password':_0xc9cb12,'label':_0x30f24e(_0x5367d0._0x24aebe,_0x5367d0._0x30d170)}:_0x5109e7;}if(_0x4b7549[_0x30f24e(_0x5367d0._0x2aeccd,0x65f)]===_0x5cb6a3(_0x5367d0._0x5cbc22,0x346)){const _0xd6c461={};return _0xd6c461['token']=null,_0xd6c461['password']=null,_0xd6c461[_0x5cb6a3(0xf1,-0x169)]=null,_0x13d06d?{'token':_0x13d06d,'password':null,'label':_0x431fc4[_0x30f24e(_0x5367d0._0x3d7796,0x597)]}:_0xd6c461;}if(_0x13d06d){const _0x2d189e={};return _0x2d189e['token']=_0x13d06d,_0x2d189e[_0x5cb6a3(0x172,-0x33)]=null,_0x2d189e[_0x5cb6a3(_0x5367d0._0x4dbdf4,_0x5367d0._0x384e51)]=_0x431fc4[_0x5cb6a3(0x1d4,_0x5367d0._0x5b3e24)],_0x2d189e;}if(_0xc9cb12){const _0x54dd65={};return _0x54dd65[_0x5cb6a3(0x141,-0x63)]=null,_0x54dd65[_0x30f24e(_0x5367d0._0x21d32a,_0x5367d0._0x30d170)]=_0xc9cb12,_0x54dd65['label']=_0x5cb6a3(0x172,_0x5367d0._0x591928),_0x54dd65;}const _0x4b37fd={};function _0x30f24e(_0x55ef25,_0x3fe24f){return _0x528821(_0x55ef25,_0x3fe24f-0x51d);}return _0x4b37fd[_0x5cb6a3(0x141,_0x5367d0._0x134cf2)]=null,_0x4b37fd['password']=null,_0x4b37fd[_0x5cb6a3(0xf1,0x1f6)]=null,_0x4b37fd;}function getOpenClawConfigDir(){const _0xd36308={_0x7bfc3d:0x10a};function _0x138dc1(_0x298b0a,_0x483413){return _0x528821(_0x298b0a,_0x483413- -_0xd36308._0x7bfc3d);}return resolveOpenClawPaths()[_0x138dc1(0x90,0x77)+'r'];}function getOpenClawMediaDir(){const _0x1af96a={_0x520ab1:0x1ed};function _0x12fa1c(_0xab47d4,_0x48def2){return _0x684713(_0x48def2,_0xab47d4- -0x1be);}return resolveOpenClawPaths()[_0x12fa1c(_0x1af96a._0x520ab1,-0xb5)];}function readConfiguredSecret(_0xdf0ed5){const _0x230a78={_0x331243:0x57f,_0xcfe303:0x393,_0x4faafd:0x33b,_0xc2d1e7:0x13,_0x128c70:0x4b4},_0x26f0a7={_0xafaf7c:0x540};function _0x334675(_0x3f4bf6,_0x490d27){return _0x528821(_0x3f4bf6,_0x490d27-_0x26f0a7._0xafaf7c);}const _0x19ff2d={};_0x19ff2d['tjYeC']=_0x334675(0x6b9,_0x230a78._0x331243);function _0x3287fc(_0xd93f9d,_0x1bc75e){return _0x528821(_0x1bc75e,_0xd93f9d-0x134);}const _0xaecc47=_0x19ff2d;return typeof _0xdf0ed5===_0xaecc47[_0x3287fc(_0x230a78._0xcfe303,_0x230a78._0x4faafd)]&&_0xdf0ed5[_0x3287fc(0x24d,-_0x230a78._0xc2d1e7)]()?_0xdf0ed5[_0x334675(_0x230a78._0x128c70,0x659)]():null;}function readGatewayTokenEnv(){const _0x15ef6f={_0xd6c841:0x68d,_0x4e641a:0x73a,_0x1b7c8b:0x5e7,_0x120d3f:0x526,_0x72faa4:0x766,_0x8febb8:0x686},_0x5a0cb7={_0x4bad6d:0x2bc},_0x516c49={_0x46d8ba:0x2a0};function _0x42ff43(_0x489f91,_0x3fb417){return _0x684713(_0x489f91,_0x3fb417-_0x516c49._0x46d8ba);}function _0x570c66(_0x5fe1a0,_0x1eee77){return _0x684713(_0x1eee77,_0x5fe1a0-_0x5a0cb7._0x4bad6d);}return readEnvValue(_0x42ff43(0x4c6,0x475)+_0x42ff43(0x6fc,_0x15ef6f._0xd6c841)+_0x570c66(0x766,0x7f9),_0x42ff43(_0x15ef6f._0x4e641a,_0x15ef6f._0x1b7c8b)+_0x570c66(0x6a9,_0x15ef6f._0x120d3f)+_0x570c66(_0x15ef6f._0x72faa4,_0x15ef6f._0x8febb8));}function readGatewayPasswordEnv(){const _0x3f3af2={_0xb3f97c:0x5f4},_0x2467d5={};function _0x2eb8b5(_0x1d9c6c,_0x2392ed){return _0x684713(_0x2392ed,_0x1d9c6c-0x21b);}function _0xa38407(_0x3e8e29,_0xbe6a3d){return _0x684713(_0xbe6a3d,_0x3e8e29-0x207);}_0x2467d5[_0x2eb8b5(0x3bf,0x5a5)]=_0xa38407(0x54e,0x654)+_0xa38407(_0x3f3af2._0xb3f97c,0x510)+_0xa38407(0x4ec,0x725)+'D';const _0x40e52c=_0x2467d5;return readEnvValue(_0xa38407(0x3dc,0x55d)+'_GATEWAY'+'_PASSWOR'+'D',_0x40e52c['dVkyi']);}function readEnvValue(_0x487872,_0x1ad76f){const _0x28ffa3=process.env[_0x487872]?.['trim']();function _0x289653(_0x12d32d,_0x4a4dc9){return _0x528821(_0x4a4dc9,_0x12d32d- -0x9e);}if(_0x28ffa3)return _0x28ffa3;const _0x459832=process.env[_0x1ad76f]?.[_0x289653(0x7b,0xc7)]();return _0x459832||null;}function resolveOpenClawPaths(){const _0x5ddfd5={_0x4081ac:0x550},_0x539ae1={_0x25fd95:0x5d6},_0x5c5fef={_0x25b15c:0x176},_0x4ae5fa={'yoOdR':function(_0xfcd318){return _0xfcd318();}};function _0x58fc76(_0x35c464,_0x3230a5){return _0x528821(_0x3230a5,_0x35c464-_0x5c5fef._0x25b15c);}function _0x5d525d(_0x2b92e6,_0x42dfe4){return _0x528821(_0x2b92e6,_0x42dfe4-_0x539ae1._0x25fd95);}const _0x120a79=_0x4ae5fa['yoOdR'](buildOpenClawCandidates);return _0x120a79[_0x5d525d(0x60f,_0x5ddfd5._0x4081ac)](_0x3e4e73=>_0x7e355a(_0x3e4e73[_0x58fc76(0x471,0x5d0)+'th']))??_0x120a79[0x0];}function buildOpenClawCandidates(){const _0x116f08={_0x35f6b5:0x44d,_0x4bab06:0x95,_0x57baf2:0x1a9,_0x73976:0x64,_0x2272f5:0xcf,_0x2a33b0:0x12e,_0x3b25b6:0x76b,_0x46e28a:0x606,_0x4cc57b:0x395,_0x1bc83e:0x2d8},_0x28799e={_0x3fddb0:0x408,_0x192840:0x1fd},_0x1bbfe4={_0x5e837e:0x638},_0x287400={};function _0x3255c9(_0xc40988,_0x1d7e44){return _0x684713(_0xc40988,_0x1d7e44-0x110);}_0x287400[_0x3255c9(_0x116f08._0x35f6b5,0x444)]='.opencla'+'w',_0x287400[_0x253652(-0x11c,-_0x116f08._0x4bab06)]=_0x253652(-0x24c,-0x131);const _0x188bf6=_0x287400,_0x26ff9a=new Set(),_0x11dddd=[_0x57c419(),_0x253652(_0x116f08._0x57baf2,_0x116f08._0x73976)][_0x253652(-_0x116f08._0x2272f5,-0x200)](_0x40ec48=>_0x40ec48[_0x253652(0x2b,-0xd)]())[_0x253652(-0x86,_0x116f08._0x2a33b0)](Boolean)[_0x3255c9(_0x116f08._0x3b25b6,_0x116f08._0x46e28a)](_0x15df55=>{if(_0x26ff9a[_0x30b865(_0x28799e._0x3fddb0,_0x28799e._0x192840)](_0x15df55))return![];function _0x53d8dc(_0x1074ed,_0x33d9e7){return _0x253652(_0x33d9e7,_0x1074ed-_0x1bbfe4._0x5e837e);}function _0x30b865(_0x304475,_0x41e152){return _0x253652(_0x304475,_0x41e152-0x448);}return _0x26ff9a[_0x53d8dc(0x6da,0x834)](_0x15df55),!![];});function _0x253652(_0x335ad2,_0xb7d5a5){return _0x684713(_0x335ad2,_0xb7d5a5- -0x3c8);}return _0x11dddd[_0x3255c9(_0x116f08._0x4cc57b,_0x116f08._0x1bc83e)](_0x2833ce=>{const _0x46222f={_0x147e1c:0x2d},_0x5e0e1d=_0x42f23c(_0x2833ce,_0x188bf6[_0x4ebf23(0x743,0x4be)]);function _0x4ebf23(_0x58dc10,_0x4733b3){return _0x3255c9(_0x58dc10,_0x4733b3-0x7a);}function _0x3a884a(_0x352b1a,_0x166fe7){return _0x3255c9(_0x166fe7,_0x352b1a- -_0x46222f._0x147e1c);}return{'configDir':_0x5e0e1d,'configPath':_0x42f23c(_0x5e0e1d,'openclaw'+'.json'),'mediaDir':_0x42f23c(_0x5e0e1d,_0x188bf6[_0x4ebf23(0x72d,0x4bd)])};});}var CONTROL_PREFIX=_0x528821(-0x5b,0x14)+_0x528821(0x567,0x30a)+_0x528821(0x1ee,0x205)+'_:';function parseControl(_0x4b715e){const _0x1a7fdc={_0x256a42:0x2b5,_0x507684:0x2d0,_0x12a4b7:0x52,_0x330f1d:0x57,_0x39e5aa:0x309,_0x15ebbd:0x4b,_0x326b6a:0x20a,_0x4efdf4:0xe1,_0x5e67c4:0x32b,_0x47d77b:0x486,_0x11a717:0x24c},_0x572fd9={};_0x572fd9['uIfBZ']=function(_0x581787,_0x405afa){return _0x581787===_0x405afa;};const _0x4e672e=_0x572fd9;function _0xae791d(_0x4eaff1,_0x27240e){return _0x684713(_0x27240e,_0x4eaff1- -0x140);}function _0x16fabc(_0x4d0c7e,_0x905079){return _0x684713(_0x4d0c7e,_0x905079- -0xd7);}if(!_0x4b715e['startsWi'+'th'](CONTROL_PREFIX))return null;try{const _0x3042ba=JSON[_0xae791d(_0x1a7fdc._0x256a42,_0x1a7fdc._0x507684)](_0x4b715e['slice'](CONTROL_PREFIX[_0xae791d(_0x1a7fdc._0x12a4b7,-_0x1a7fdc._0x330f1d)]));if(typeof _0x3042ba[_0x16fabc(0x269,_0x1a7fdc._0x39e5aa)]!==_0x16fabc(-_0x1a7fdc._0x15ebbd,_0x1a7fdc._0x326b6a)||!_0x3042ba['event'][_0xae791d(0x27b,0x4ee)]())return null;return{'event':_0x3042ba['event'][_0x16fabc(_0x1a7fdc._0x4efdf4,0x2e4)](),'count':_0x4e672e[_0x16fabc(_0x1a7fdc._0x5e67c4,_0x1a7fdc._0x47d77b)](typeof _0x3042ba[_0xae791d(0x569,0x54a)],_0x16fabc(0x1c9,_0x1a7fdc._0x11a717))&&Number['isFinite'](_0x3042ba['count'])?_0x3042ba[_0xae791d(0x569,0x6b3)]:void 0x0};}catch{return null;}}function parseConnectStartIdentity(_0x454a76){const _0x35d0b3={_0x107296:0x8d,_0x3430ca:0x126,_0xf44d8c:0x7c,_0x1d4c73:0x91,_0xf1792b:0x353,_0x212d94:0x26f,_0x24e0e7:0x399,_0x1fc19c:0x3cb,_0x588097:0xf1,_0x301a61:0x13d,_0xadf756:0x288,_0x2f87ae:0x32e,_0x5765d7:0x16f,_0x395735:0x15c,_0x5d6311:0x359,_0x596b08:0x458,_0x555484:0x1b3,_0x50de6c:0x196,_0x31db23:0x421,_0x2236af:0x529,_0x1f7900:0x620,_0x14eb58:0x135},_0x41d2ba={_0xdb841a:0x62},_0x35abe3={_0x427dbd:0x36e},_0x4dae9b={};function _0x14f354(_0x12dd55,_0x1ed761){return _0x684713(_0x1ed761,_0x12dd55- -_0x35abe3._0x427dbd);}_0x4dae9b[_0x14f354(_0x35d0b3._0x107296,_0x35d0b3._0x3430ca)]=function(_0x4a8503,_0x3fc119){return _0x4a8503!==_0x3fc119;};function _0xa3666b(_0x4647af,_0x199102){return _0x684713(_0x4647af,_0x199102- -_0x41d2ba._0xdb841a);}_0x4dae9b[_0x14f354(-0x1cf,_0x35d0b3._0xf44d8c)]=_0x14f354(0x186,0x15f)+_0x14f354(-0x154,-0x2ca),_0x4dae9b[_0x14f354(-0x19d,-_0x35d0b3._0x1d4c73)]=function(_0x2e1266,_0x580a74){return _0x2e1266===_0x580a74;};const _0x43f016=_0x4dae9b;try{const _0x1e66f0=JSON[_0xa3666b(0x57e,0x393)](_0x454a76);if(_0x1e66f0['type']!==_0x14f354(0x1ce,_0x35d0b3._0xf1792b))return null;if(_0x1e66f0['method']!=='connect'&&_0x43f016[_0xa3666b(_0x35d0b3._0x212d94,_0x35d0b3._0x24e0e7)](_0x1e66f0[_0x14f354(0x240,_0x35d0b3._0x1fc19c)],_0x43f016[_0xa3666b(_0x35d0b3._0x588097,_0x35d0b3._0x301a61)]))return null;const _0x1b6ef2=_0x1e66f0[_0x14f354(_0x35d0b3._0xadf756,0x40d)]??{},_0x56314f=_0x43f016[_0xa3666b(_0x35d0b3._0x2f87ae,_0x35d0b3._0x5765d7)](typeof _0x1e66f0['id'],_0xa3666b(_0x35d0b3._0x395735,0x27f))&&_0x1e66f0['id'][_0xa3666b(0x2ae,_0x35d0b3._0x5d6311)]()?_0x1e66f0['id'][_0xa3666b(_0x35d0b3._0x596b08,0x359)]():_0xa3666b(0x5a,_0x35d0b3._0x555484)+Math[_0x14f354(-0x1aa,-0x446)]()[_0xa3666b(_0x35d0b3._0x50de6c,0x3de)](0x24)[_0x14f354(0x2f8,_0x35d0b3._0x31db23)](0x2,0xc),_0x4bd1a2=firstString(_0x1b6ef2[_0xa3666b(0x37c,_0x35d0b3._0x2236af)+'me'],_0x1b6ef2[_0xa3666b(0x284,0x135)+'me'],_0x1b6ef2[_0x14f354(-0x157,-0x1ed)],_0xa3666b(0x33a,0x3c6)+_0xa3666b(0x73d,_0x35d0b3._0x1f7900)),_0x48cf03={};return _0x48cf03['id']=_0x56314f,_0x48cf03[_0x14f354(-_0x35d0b3._0x14eb58,-0x1ab)]=_0x4bd1a2,_0x48cf03;}catch{return null;}}function isConnectHandshakeRequest(_0x56456e){const _0x1118da={_0x5d09f9:0x2e3,_0x566ea7:0x62e,_0x575b41:0x3f5,_0x58e9c7:0x62e,_0x223ac3:0x5ae,_0x57760a:0x505,_0x208ba6:0x500,_0x29af97:0x73d,_0x388ffd:0x9bc,_0x11a343:0x3a6},_0x2e64e8={_0x3f8b16:0x431};function _0x506d64(_0x22a150,_0x3db8f6){return _0x528821(_0x3db8f6,_0x22a150-_0x2e64e8._0x3f8b16);}const _0xeb4eba={};function _0x3c09d5(_0x3d9a9d,_0x4495f4){return _0x528821(_0x4495f4,_0x3d9a9d-0x2a2);}_0xeb4eba[_0x3c09d5(0x4ec,_0x1118da._0x5d09f9)]='req',_0xeb4eba[_0x3c09d5(_0x1118da._0x566ea7,0x4dd)]=function(_0x1ed912,_0x4c9090){return _0x1ed912===_0x4c9090;};const _0x40c23d=_0xeb4eba;try{const _0x3e1f25=JSON[_0x3c09d5(_0x1118da._0x575b41,0x33a)](_0x56456e);return _0x3e1f25['type']===_0x40c23d[_0x3c09d5(0x4ec,0x3d8)]&&(_0x40c23d[_0x3c09d5(_0x1118da._0x58e9c7,0x556)](_0x3e1f25[_0x3c09d5(_0x1118da._0x223ac3,_0x1118da._0x57760a)],_0x506d64(0x59d,_0x1118da._0x208ba6))||_0x3e1f25[_0x506d64(_0x1118da._0x29af97,_0x1118da._0x388ffd)]===_0x3c09d5(0x4f4,0x44c)+_0x3c09d5(0x21a,_0x1118da._0x11a343));}catch{return![];}}function parseConnectHandshakeMeta(_0x5f2303){const _0x1c53d5={_0x519b41:0x3ed,_0x4c2522:0x5e2,_0x19e295:0x597,_0x8e22ee:0x454,_0x2fb1a5:0x5f9,_0x333c1c:0x994,_0x43e293:0x9b7,_0xe102fa:0x872,_0xcb6b5:0x54b,_0x13fbe1:0x37d,_0xd3abb5:0x759,_0x3c9cfd:0x4be,_0x60ad90:0x5a6,_0xe1854d:0x530,_0x43c3f7:0x67f,_0x17354a:0x446,_0x39a66e:0x721};function _0xe1d7e8(_0x508574,_0x30642c){return _0x684713(_0x30642c,_0x508574- -0x8);}function _0xca7892(_0x107258,_0x21decc){return _0x684713(_0x21decc,_0x107258-0x39e);}try{const _0x3f922d=JSON[_0xe1d7e8(_0x1c53d5._0x519b41,0x2b7)](_0x5f2303);if(_0x3f922d[_0xe1d7e8(_0x1c53d5._0x4c2522,_0x1c53d5._0x19e295)]!=='req')return null;if(_0x3f922d[_0xca7892(0x94c,0x97a)]!==_0xca7892(0x7ac,0x5e5)&&_0x3f922d[_0xe1d7e8(0x5a6,_0x1c53d5._0x8e22ee)]!==_0xca7892(0x892,_0x1c53d5._0x2fb1a5)+'start')return null;const _0x4d02e7=_0x3f922d[_0xca7892(_0x1c53d5._0x333c1c,0x937)]?.[_0xca7892(_0x1c53d5._0x43e293,_0x1c53d5._0xe102fa)]?.[_0xca7892(0x53b,0x499)],_0x16a4c9=_0x3f922d[_0xca7892(0x994,0x8f4)]?.[_0xca7892(_0x1c53d5._0xcb6b5,_0x1c53d5._0x13fbe1)];return{'id':typeof _0x3f922d['id']==='string'&&_0x3f922d['id'][_0xca7892(_0x1c53d5._0xd3abb5,_0x1c53d5._0x3c9cfd)]()?_0x3f922d['id']['trim']():null,'method':_0x3f922d[_0xe1d7e8(_0x1c53d5._0x60ad90,0x44f)],'noncePresent':typeof _0x4d02e7===_0xca7892(0x67f,0x654)&&_0x4d02e7[_0xca7892(_0x1c53d5._0xe1854d,0x559)]>0x0,'nonceLength':typeof _0x4d02e7===_0xca7892(_0x1c53d5._0x43c3f7,_0x1c53d5._0x17354a)?_0x4d02e7[_0xe1d7e8(0x18a,0x127)]:null,'authFields':_0x16a4c9&&typeof _0x16a4c9===_0xca7892(0x650,_0x1c53d5._0x39a66e)?Object['keys'](_0x16a4c9)['sort']():[]};}catch{return null;}}function parsePairingRequestFromError(_0x4c8365,_0x5a5470=Date['now']()){const _0x5a2797={_0x3eb75f:0x601,_0x2f2ea7:0x81a,_0x12a75c:0xa70,_0x298dac:0x7af,_0xec4134:0x35a,_0x8476ce:0x4d1,_0x3d07d1:0x9e,_0x4b632a:0x4,_0x30b1c6:0x148,_0x166d76:0x723,_0xae7d0e:0x6ee,_0x11a887:0x135,_0x4c54b1:0x8b6,_0x208bd1:0x698,_0x40d641:0x34a,_0x35e2ec:0x8b6,_0x27ab15:0x8f3,_0xd83bb0:0x245,_0x8d0b1:0x821,_0x53b0bf:0x821,_0x59fcd4:0x677,_0x1bdf7:0x147,_0x2398ce:0xa07,_0x4cc214:0x199,_0x47ec77:0x31,_0x40eb1e:0x35a,_0x3ef380:0x555,_0x39a50d:0x85f,_0x3e2d28:0x644,_0x22acc2:0x447,_0x136a8d:0x4a1,_0x501556:0x1ac,_0x41658b:0x441,_0x42fd10:0x135,_0x2438ad:0x348,_0x22f650:0x343,_0xfb769b:0x5a5,_0x39ce05:0x6fb,_0x494e06:0x604,_0x5cee4e:0x54a};function _0x5850e6(_0x3d5a73,_0x132854){return _0x684713(_0x132854,_0x3d5a73-0x230);}function _0xa3f199(_0x49938a,_0x5637e1){return _0x684713(_0x5637e1,_0x49938a- -0x199);}const _0x15121a={'szijb':function(_0x4ceafe,_0x324d73){return _0x4ceafe===_0x324d73;},'PqlrD':_0x5850e6(0x748,_0x5a2797._0x3eb75f),'DKaDK':function(_0x2b5a8c,_0x18ae7e){return _0x2b5a8c(_0x18ae7e);}};try{const _0xff41d=JSON[_0xa3f199(0x25c,0x1f6)](_0x4c8365);if(_0xff41d[_0x5850e6(_0x5a2797._0x2f2ea7,_0x5a2797._0x12a75c)]!=='res'||_0xff41d['ok']!==![]||!_0xff41d['error'])return null;const _0x4496dc=_0x15121a[_0x5850e6(_0x5a2797._0x298dac,0x975)](typeof _0xff41d[_0xa3f199(_0x5a2797._0xec4134,_0x5a2797._0x8476ce)][_0xa3f199(_0x5a2797._0x3d07d1,_0x5a2797._0x4b632a)],_0xa3f199(_0x5a2797._0x30b1c6,0x66))?_0xff41d[_0x5850e6(_0x5a2797._0x166d76,_0x5a2797._0xae7d0e)]['code']:'',_0x4fe511=typeof _0xff41d[_0xa3f199(_0x5a2797._0xec4134,_0x5a2797._0x11a887)][_0x5850e6(_0x5a2797._0x4c54b1,_0x5a2797._0x208bd1)]===_0x5850e6(0x511,0x4c2)?_0xff41d[_0xa3f199(_0x5a2797._0xec4134,_0x5a2797._0x40d641)][_0x5850e6(_0x5a2797._0x35e2ec,_0x5a2797._0x27ab15)]:'';if(!_0x4496dc[_0xa3f199(0x458,_0x5a2797._0xd83bb0)]('NOT_PAIR'+'ED')&&!_0x4496dc[_0x5850e6(_0x5a2797._0x8d0b1,0x9b5)](_0xa3f199(0x29f,0x4f2)+'REQUIRED')&&!_0x4fe511[_0x5850e6(_0x5a2797._0x53b0bf,_0x5a2797._0x59fcd4)](_0xa3f199(_0x5a2797._0x1bdf7,0x154)+'ED')&&!_0x4fe511[_0x5850e6(_0x5a2797._0x53b0bf,_0x5a2797._0x2398ce)]('pairing\x20'+_0xa3f199(_0x5a2797._0x4cc214,-_0x5a2797._0x47ec77)))return null;const _0x433343=_0xff41d[_0xa3f199(_0x5a2797._0x40eb1e,0x501)]['details']??_0xff41d[_0xa3f199(0x35a,0x4fd)][_0x5850e6(0x478,_0x5a2797._0x3ef380)]??{},_0x5b65c5=firstString(_0x433343['requestI'+'d'],extractRequestIdFromMessage(_0x4fe511),_0x15121a[_0x5850e6(_0x5a2797._0x39a50d,_0x5a2797._0x3e2d28)]);return{'requestId':_0x5b65c5,'deviceId':firstString(_0x433343[_0x5850e6(_0x5a2797._0x22acc2,_0x5a2797._0x136a8d)],''),'displayName':firstNullableString(_0x433343['displayN'+_0xa3f199(_0x5a2797._0x501556,_0x5a2797._0x41658b)]),'platform':firstNullableString(_0x433343[_0xa3f199(_0x5a2797._0x42fd10,_0x5a2797._0x2438ad)]),'deviceFamily':firstNullableString(_0x433343[_0xa3f199(_0x5a2797._0x22f650,_0x5a2797._0xfb769b)+_0x5850e6(0x664,_0x5a2797._0x39ce05)]),'role':_0x15121a['DKaDK'](firstNullableString,_0x433343['role']),'remoteIp':firstNullableString(_0x433343[_0x5850e6(_0x5a2797._0x494e06,0x54a)]),'receivedAtMs':_0x5a5470,'status':_0x5850e6(0x785,_0x5a2797._0x5cee4e)};}catch{return null;}}function parsePairResolvedEvent(_0x2835f7){const _0x483c6c={_0x76eee6:0x2ff,_0x377e27:0x1bf,_0x261e58:0x4b1,_0x46f702:0x4b2,_0x209948:0x4e8,_0x1f9432:0xa85,_0x1ef583:0x3ec,_0x45508b:0x593,_0x4d7dba:0x455,_0x503530:0x349,_0x5a1607:0x478,_0x16d5f3:0x614,_0x2e295d:0x681,_0x430e73:0x50f,_0x4171e0:0x375,_0x2563ef:0xaa8},_0x42602b={_0x927e0c:0x56f},_0x2e81ca={_0x4e8989:0x35f},_0x3d2f0a={};function _0x17e0a6(_0x1f7c51,_0x281258){return _0x528821(_0x281258,_0x1f7c51-_0x2e81ca._0x4e8989);}_0x3d2f0a['ROUdM']=function(_0x14da02,_0x475b46){return _0x14da02===_0x475b46;};function _0x22d6c4(_0x363496,_0x4bd144){return _0x528821(_0x4bd144,_0x363496-_0x42602b._0x927e0c);}_0x3d2f0a[_0x17e0a6(_0x483c6c._0x76eee6,_0x483c6c._0x377e27)]=_0x17e0a6(0x39e,0x61b),_0x3d2f0a[_0x17e0a6(0x444,_0x483c6c._0x261e58)]='unknown';const _0x5dd567=_0x3d2f0a;try{const _0x1cc26b=JSON[_0x17e0a6(_0x483c6c._0x46f702,_0x483c6c._0x209948)](_0x2835f7);if(_0x1cc26b[_0x22d6c4(0x8b7,_0x483c6c._0x1f9432)]!==_0x17e0a6(0x49d,_0x483c6c._0x1ef583)||_0x1cc26b[_0x17e0a6(0x49d,0x69a)]!=='device.p'+'air.reso'+_0x17e0a6(0x532,0x52c)||!_0x1cc26b[_0x22d6c4(_0x483c6c._0x45508b,_0x483c6c._0x4d7dba)])return null;const _0x17dd6b=_0x5dd567[_0x22d6c4(0x91a,0x81f)](typeof _0x1cc26b[_0x22d6c4(_0x483c6c._0x45508b,_0x483c6c._0x503530)]['requestI'+'d'],_0x22d6c4(0x5ae,0x520))?_0x1cc26b['payload']['requestI'+'d'][_0x17e0a6(_0x483c6c._0x5a1607,_0x483c6c._0x16d5f3)]():'';if(!_0x17dd6b)return null;const _0xf29036=typeof _0x1cc26b['payload'][_0x17e0a6(0x69b,_0x483c6c._0x2e295d)]===_0x5dd567[_0x22d6c4(_0x483c6c._0x430e73,0x522)]?_0x1cc26b[_0x17e0a6(0x383,_0x483c6c._0x4171e0)]['decision']:_0x22d6c4(0x7e5,0x5b2),_0x4f5d90=_0x5dd567['ROUdM'](_0xf29036,_0x22d6c4(0x820,_0x483c6c._0x2563ef))||_0xf29036===_0x22d6c4(0x434,0x1a5)?_0xf29036:_0x5dd567[_0x22d6c4(0x654,0x480)],_0x202d62={};return _0x202d62['requestI'+'d']=_0x17dd6b,_0x202d62[_0x22d6c4(0x8ab,0x672)]=_0x4f5d90,_0x202d62;}catch{return null;}}function parseResponseEnvelopeMeta(_0x41b003){const _0x265297={_0x12b3a4:0xa1,_0x854edd:0x30e,_0x5714fc:0x2d2,_0x318f70:0x49d,_0x4479bd:0x5ea,_0x437423:0x62d,_0xe53c50:0x3fe,_0x2ab18f:0x18f,_0x4d4146:0x298,_0x1802a4:0x326,_0x15b9cc:0x38a,_0x3de989:0xe0,_0x51dd0c:0x366,_0x4c74a3:0x16a,_0x4d202e:0x2f6,_0x1f46af:0x1f0,_0x392f6c:0x536,_0x579749:0x516,_0x513c9c:0x59c,_0x39a281:0x16f,_0x4bbb43:0x66a,_0x5a0108:0x6c9,_0x30e470:0x23d,_0x4a0b9a:0x92a,_0x52424b:0x37f},_0x2133c3={};_0x2133c3[_0x4ff56e(0x41a,0x42c)]=function(_0x46f6b5,_0x22e62e){return _0x46f6b5!==_0x22e62e;};function _0x4ff56e(_0xb31932,_0x2e54e5){return _0x528821(_0x2e54e5,_0xb31932-0x115);}_0x2133c3[_0x4ff56e(0x156,-_0x265297._0x12b3a4)]=function(_0x94beb6,_0x2cffd9){return _0x94beb6===_0x2cffd9;},_0x2133c3[_0x4ff56e(_0x265297._0x854edd,_0x265297._0x5714fc)]=function(_0x26dc98,_0x3653b3){return _0x26dc98===_0x3653b3;};function _0x1cec24(_0x9f4496,_0x15b284){return _0x528821(_0x9f4496,_0x15b284-0x2e5);}const _0x3fbeaf=_0x2133c3;try{const _0x3ff322=JSON[_0x1cec24(0x4fe,0x438)](_0x41b003);if(_0x3fbeaf[_0x1cec24(_0x265297._0x318f70,_0x265297._0x4479bd)](_0x3ff322[_0x1cec24(0x414,_0x265297._0x437423)],_0x1cec24(0x7b,0x209)))return null;if(typeof _0x3ff322['id']!==_0x4ff56e(0x154,0xb2)||!_0x3ff322['id'][_0x1cec24(0x478,_0x265297._0xe53c50)]())return null;return{'id':_0x3ff322['id'][_0x4ff56e(0x22e,_0x265297._0x2ab18f)](),'ok':_0x3ff322['ok']===!![],'errorCode':_0x3fbeaf[_0x1cec24(_0x265297._0x4d4146,_0x265297._0x1802a4)](typeof _0x3ff322[_0x4ff56e(0x366,_0x265297._0x15b9cc)]?.[_0x1cec24(0x442,0x27a)],_0x1cec24(_0x265297._0x3de989,0x324))&&_0x3ff322[_0x4ff56e(_0x265297._0x51dd0c,_0x265297._0x4c74a3)][_0x1cec24(_0x265297._0x4d202e,0x27a)][_0x1cec24(_0x265297._0x1f46af,0x3fe)]()?_0x3ff322[_0x1cec24(0x398,_0x265297._0x392f6c)]['code'][_0x1cec24(_0x265297._0x579749,_0x265297._0xe53c50)]():null,'errorMessage':_0x3fbeaf[_0x1cec24(_0x265297._0x513c9c,0x4de)](typeof _0x3ff322['error']?.['message'],'string')&&_0x3ff322[_0x4ff56e(0x366,_0x265297._0x39a281)][_0x1cec24(_0x265297._0x4bbb43,_0x265297._0x5a0108)][_0x4ff56e(0x22e,_0x265297._0x30e470)]()?_0x3ff322[_0x1cec24(0x3c8,_0x265297._0x392f6c)][_0x1cec24(_0x265297._0x4a0b9a,_0x265297._0x5a0108)][_0x1cec24(_0x265297._0x52424b,0x3fe)]():null};}catch{return null;}}function firstString(..._0x37b147){const _0x106276={_0x115e5b:0x66d},_0x308964={_0x251946:0x28a},_0x2c724c={_0x4f6eb3:0x38c};function _0x46a235(_0x3bce9e,_0x2713e7){return _0x684713(_0x3bce9e,_0x2713e7-_0x2c724c._0x4f6eb3);}function _0x44856c(_0x325b1c,_0xd4f105){return _0x684713(_0x325b1c,_0xd4f105-_0x308964._0x251946);}for(const _0x1b477d of _0x37b147){if(typeof _0x1b477d===_0x46a235(0x7e9,_0x106276._0x115e5b)&&_0x1b477d[_0x44856c(0x7e5,0x645)]())return _0x1b477d[_0x44856c(0x8c9,0x645)]();}return'';}function firstNullableString(_0x2cbebf){const _0x450bd4={_0x52066f:0x744,_0x46aa7d:0x925};function _0x22cc27(_0xebafcd,_0x290779){return _0x528821(_0xebafcd,_0x290779-0x64b);}function _0x5eb380(_0x165813,_0x310c0d){return _0x528821(_0x310c0d,_0x165813-0x1b7);}return typeof _0x2cbebf===_0x22cc27(_0x450bd4._0x52066f,0x68a)&&_0x2cbebf[_0x22cc27(_0x450bd4._0x46aa7d,0x764)]()?_0x2cbebf[_0x5eb380(0x2d0,0x3a5)]():null;}function extractRequestIdFromMessage(_0x3814e5){const _0x421d51={_0x4315ce:0x84e,_0x4130da:0x828},_0x47f6ad={_0x49ed02:0x523},_0x3bb5e5=_0x3814e5[_0x2e6dc6(_0x421d51._0x4315ce,_0x421d51._0x4130da)](/requestId[:\s]*([a-f0-9-]+)/i);function _0x2e6dc6(_0x15efee,_0x22068d){return _0x528821(_0x22068d,_0x15efee-_0x47f6ad._0x49ed02);}return _0x3bb5e5?.[0x1]??null;}import{randomUUID as _0x3bb91d}from'crypto';import{setTimeout as _0x3b1bd0}from'timers/promises';import _0x36f378 from'ws';var HEARTBEAT_INTERVAL_MS=0x2710,HEARTBEAT_TIMEOUT_MS=0x88b8,GATEWAY_RETRY_DELAY_MS=0x4b0,RECONNECT_BASE_DELAY_MS=0x3e8,RECONNECT_MAX_DELAY_MS=0x3a98,CONNECT_HANDSHAKE_WARN_DELAY_MS=0x1f40,MAX_PENDING_GATEWAY_MESSAGES=0x100,MAX_DEVICE_DETAILS=0x20,MAX_PENDING_PAIR_REQUESTS=0x10,BridgeRuntime=class{[_0x528821(0x423,0x35a)];['relaySoc'+_0x528821(0x3ab,0x3ee)]=null;['gatewayS'+_0x684713(0x597,0x497)]=null;['relayCon'+_0x528821(0x47f,0x2e0)]=![];['gatewayC'+_0x684713(0x2ac,0x3a8)+'g']=![];[_0x528821(0x313,0x2ab)]=!![];[_0x684713(0x3cd,0x1b5)+_0x684713(0x252,0x4d7)]=0x0;[_0x528821(-0x7d,0x139)+_0x528821(0x4ce,0x3b3)+_0x528821(0x181,0x213)]=0x0;['reconnec'+_0x684713(0x647,0x621)]=null;[_0x684713(0x3e4,0x509)+_0x528821(0x30c,0x12f)+'r']=null;[_0x684713(0x205,0x2f3)+'tTimer']=null;['pendingG'+_0x528821(0x47b,0x2d0)+_0x684713(0x2a3,0x3bf)]=[];[_0x528821(-0x258,-0x79)+_0x528821(-0x5b,0xec)+'Started']=![];[_0x528821(-0x329,-0xc7)+'loseBoun'+_0x684713(0x5bd,0x3dd)+_0x528821(0x2cf,0x1d4)]=![];['clientDe'+_0x528821(0x2cd,0x355)+_0x684713(0x4d0,0x2d2)]=null;['gatewayC'+_0x528821(-0x186,-0x30)+'AtMs']=null;['inFlight'+_0x528821(0x158,-0xb4)+_0x684713(0x599,0x38e)+'s']=new Map();[_0x528821(0x4a2,0x352)];constructor(_0x21108a){const _0x49c986={_0x553db5:0x717,_0x24cd22:0x47d,_0x2b2c15:0x820,_0x38735c:0x587,_0x45c336:0x476,_0x2010b6:0x2e0,_0x2cadc5:0x30c,_0xcbf536:0x71b,_0x3a0289:0x876};this[_0x3720c4(_0x49c986._0x553db5,_0x49c986._0x24cd22)]=_0x21108a;function _0x219074(_0x5ec2c2,_0x22459e){return _0x684713(_0x5ec2c2,_0x22459e-0x22c);}function _0x3720c4(_0x40fd6f,_0xddc722){return _0x684713(_0xddc722,_0x40fd6f-0x11b);}this[_0x219074(0xa6f,_0x49c986._0x2b2c15)]={'running':![],'relayConnected':![],'gatewayConnected':![],'gatewayId':_0x21108a[_0x219074(0x6a7,_0x49c986._0x38735c)]['gatewayI'+'d'],'instanceId':_0x21108a[_0x3720c4(_0x49c986._0x45c336,0x4a4)][_0x3720c4(_0x49c986._0x2010b6,0x288)+'Id'],'relayUrl':_0x21108a[_0x3720c4(0x476,0x695)][_0x3720c4(0x446,_0x49c986._0x2cadc5)],'gatewayUrl':_0x21108a[_0x3720c4(_0x49c986._0xcbf536,_0x49c986._0x3a0289)+'rl'],'clientCount':0x0,'connectedDevices':[],'pendingPairRequests':[],'lastError':null,'lastUpdatedMs':Date['now']()};}[_0x684713(0x2c0,0x21a)](){const _0x1c704a={_0xa28499:0xb6,_0x3aa760:0x319,_0x4dcd27:0x33a,_0x4a57ca:0x1cd,_0x31edcd:0xc0,_0x271d42:0x5b4,_0x1154b9:0x1d4,_0x58fce2:0x7e,_0x485347:0x225,_0x36405f:0x17e,_0x3b0ea4:0x3c1,_0x59cac0:0x721,_0x11609f:0x9b,_0x17ef27:0x336},_0x5d8233={_0x4c0cdf:0x308};if(!this[_0x1c576f(0x287,0x2b8)])return;this[_0x1c576f(0x287,0x438)]=![],this[_0x1c576f(-_0x1c704a._0xa28499,-0x37)+_0x1c576f(0x8c,_0x1c704a._0x3aa760)]({'running':!![],'gatewayUrl':this[_0x1c576f(0x336,0x58c)][_0x1c576f(_0x1c704a._0x4dcd27,0x552)+'rl']});function _0x5c9219(_0xc6ac85,_0xfed2a6){return _0x528821(_0xc6ac85,_0xfed2a6-_0x5d8233._0x4c0cdf);}this[_0x1c576f(_0x1c704a._0x4a57ca,-_0x1c704a._0x31edcd)](_0x5c9219(_0x1c704a._0x271d42,0x599)+_0x1c576f(_0x1c704a._0x1154b9,-0x60)+_0x1c576f(-0xcd,-_0x1c704a._0x58fce2)+_0x1c576f(_0x1c704a._0x485347,0x433)+this[_0x5c9219(0x589,0x662)][_0x5c9219(_0x1c704a._0x36405f,_0x1c704a._0x3b0ea4)][_0x5c9219(_0x1c704a._0x59cac0,0x540)+'d']+(_0x1c576f(-0xcd,-_0x1c704a._0x11609f)+'Url=')+this[_0x1c576f(_0x1c704a._0x17ef27,0x5a1)]['gatewayU'+'rl']);function _0x1c576f(_0x497d96,_0x5d74e6){return _0x528821(_0x5d74e6,_0x497d96- -0x24);}void this['connectR'+_0x1c576f(-0x5a,0x28)]();}async['stop'](){const _0x4b7375={_0x2cba24:0x945,_0x569712:0x7ed,_0x1d4943:0x714,_0x31243e:0x8a4,_0x147b56:0x8f4,_0x1ec46b:0x200,_0x30d1e4:0x454,_0x281a17:0x6c9,_0x50ee5b:0x733,_0x326446:0x43b,_0x49b26e:0x47b,_0x321a3f:0x460,_0x4e65c1:0x40a,_0x5a0584:0x7cf,_0x2d6a7b:0x373,_0xd18618:0xa9d,_0x536618:0x438,_0x318871:0x61e,_0x4660d3:0x61e,_0x3e043b:0x48f,_0x29f7f4:0x49c,_0x1660b2:0x263,_0x2d7d55:0x4c9,_0x5e2f91:0x526,_0x5477e8:0x6e1,_0x13393a:0x5ee,_0x185a30:0x60f,_0x4c8dd3:0x76f,_0x511341:0x982,_0x275e1f:0x471,_0x31a62f:0x557,_0x44ec9d:0x58a,_0x27fac8:0x959,_0x50bc0d:0x5ac,_0x15a0df:0x52a,_0x1c6798:0x4e8,_0x2715d9:0x500,_0xb9a96e:0x7d1,_0x24deca:0x16d,_0x4b1a23:0x5f2,_0x202469:0x53c,_0x34aae3:0x46a,_0x48889c:0x353,_0x3de832:0x92c,_0x5271b5:0x828,_0x47d552:0x69a,_0x3e9962:0x49c,_0x117b64:0x5c3,_0x3e2b5a:0x386,_0x511f8d:0x62e,_0x5f15ef:0x5f5},_0x125ab1={_0xc29c37:0x542},_0x57322b={_0x3b02bb:0x43a},_0x54abd1={};_0x54abd1['JSsrt']=_0x49e9ce(_0x4b7375._0x2cba24,0x7d3)+_0x49e9ce(0x772,_0x4b7375._0x569712);const _0x29bf27=_0x54abd1;function _0xb42146(_0x20601c,_0x1012b1){return _0x528821(_0x20601c,_0x1012b1-_0x57322b._0x3b02bb);}const _0x28e183=(_0xb42146(0x314,0x599)+_0xb42146(0x567,0x472)+_0x49e9ce(0x9ad,_0x4b7375._0x1d4943)+_0x49e9ce(_0x4b7375._0x31243e,_0x4b7375._0x147b56)+_0x49e9ce(0x350,0x533)+_0xb42146(_0x4b7375._0x1ec46b,_0x4b7375._0x30d1e4))[_0xb42146(0x320,0x409)]('|');let _0x48c0ba=0x0;function _0x49e9ce(_0x26795c,_0x3d05db){return _0x528821(_0x26795c,_0x3d05db-_0x125ab1._0xc29c37);}while(!![]){switch(_0x28e183[_0x48c0ba++]){case'0':this[_0x49e9ce(_0x4b7375._0x281a17,_0x4b7375._0x50ee5b)](_0x29bf27['JSsrt']);continue;case'1':this[_0x49e9ce(_0x4b7375._0x326446,_0x4b7375._0x49b26e)+_0xb42146(_0x4b7375._0x321a3f,_0x4b7375._0x4e65c1)+_0x49e9ce(0x6ae,_0x4b7375._0x5a0584)]=null;continue;case'2':this[_0xb42146(0x296,_0x4b7375._0x2d6a7b)+_0x49e9ce(_0x4b7375._0xd18618,0x900)+_0xb42146(_0x4b7375._0x536618,0x575)+'ing']=![];continue;case'3':this[_0xb42146(0x769,_0x4b7375._0x318871)+'ocket']=null;continue;case'4':this[_0x49e9ce(0x61b,0x7ed)]=!![];continue;case'5':await _0x3b1bd0(0x19);continue;case'6':this[_0xb42146(0x823,_0x4b7375._0x4660d3)+'ocket']?.[_0xb42146(_0x4b7375._0x3e043b,_0x4b7375._0x29f7f4)]();continue;case'7':this[_0x49e9ce(_0x4b7375._0x1660b2,_0x4b7375._0x2d7d55)+_0xb42146(0x693,_0x4b7375._0x5e2f91)+_0x49e9ce(_0x4b7375._0x5477e8,_0x4b7375._0x13393a)]=![];continue;case'8':this[_0x49e9ce(_0x4b7375._0x185a30,0x766)+_0xb42146(_0x4b7375._0x4c8dd3,0x7a4)]();continue;case'9':this['pendingG'+_0xb42146(_0x4b7375._0x511341,0x70a)+_0xb42146(_0x4b7375._0x275e1f,_0x4b7375._0x31a62f)]=[];continue;case'10':this[_0x49e9ce(_0x4b7375._0x44ec9d,0x7a3)+_0x49e9ce(_0x4b7375._0x27fac8,0x822)]=![];continue;case'11':const _0x2d5fd2={};_0x2d5fd2[_0x49e9ce(0x6ab,_0x4b7375._0x50bc0d)]=![],_0x2d5fd2[_0xb42146(0x6cb,0x69b)+_0xb42146(_0x4b7375._0x15a0df,0x5fb)]=![],_0x2d5fd2[_0xb42146(_0x4b7375._0x1c6798,_0x4b7375._0x2d6a7b)+_0xb42146(0x4b0,0x40a)]=![],_0x2d5fd2[_0xb42146(_0x4b7375._0x2715d9,0x514)+'unt']=0x0,_0x2d5fd2[_0x49e9ce(0x9a5,_0x4b7375._0xb9a96e)+'r']=null,this[_0xb42146(_0x4b7375._0x24deca,0x3a8)+_0x49e9ce(0x401,_0x4b7375._0x4b1a23)](_0x2d5fd2);continue;case'12':this[_0x49e9ce(0x497,_0x4b7375._0x202469)+_0x49e9ce(0x64f,0x897)+_0xb42146(0x3d9,_0x4b7375._0x34aae3)]=null;continue;case'13':this[_0xb42146(0x5ea,_0x4b7375._0x48889c)+_0xb42146(_0x4b7375._0x3de832,_0x4b7375._0x5271b5)]?.[_0xb42146(_0x4b7375._0x47d552,_0x4b7375._0x3e9962)]();continue;case'14':this[_0x49e9ce(0x679,0x47b)+_0xb42146(_0x4b7375._0x117b64,0x540)+'g']=![];continue;case'15':if(this['stopped'])return;continue;case'16':this[_0xb42146(0x521,0x44b)+_0xb42146(0x4f9,_0x4b7375._0x3e2b5a)+_0x49e9ce(0x6c1,_0x4b7375._0x511f8d)+'s']['clear']();continue;case'17':this[_0xb42146(_0x4b7375._0x5f15ef,_0x4b7375._0x48889c)+_0x49e9ce(0x73b,0x930)]=null;continue;}break;}}async[_0x528821(0x92,0x97)+_0x684713(0x737,0x678)+'st'](_0xfa62da){const _0x26ec83={_0x5a0b6b:0x60a,_0x31677e:0x829,_0x5aef2b:0x600,_0x6f06c9:0x602,_0x30b06f:0x873,_0x23d7c7:0x9e9,_0x5f1675:0x561,_0x58091c:0x77e,_0x3c1974:0x97f,_0x352a18:0x911},_0x3d86f7={_0xcc2b2:0xd4},_0x1c4cbd={_0x54417c:0x3be},_0x301517={};function _0x511fad(_0x2c7e88,_0x451544){return _0x684713(_0x2c7e88,_0x451544-_0x1c4cbd._0x54417c);}_0x301517[_0x511fad(_0x26ec83._0x5a0b6b,_0x26ec83._0x31677e)]=_0x511fad(0xa23,0xa47)+'air.appr'+_0x43f216(_0x26ec83._0x5aef2b,_0x26ec83._0x6f06c9);const _0x339e7e=_0x301517,_0x44475b={};_0x44475b[_0x511fad(_0x26ec83._0x30b06f,_0x26ec83._0x23d7c7)+'d']=_0xfa62da;function _0x43f216(_0x20eb3e,_0x1a0765){return _0x684713(_0x20eb3e,_0x1a0765-_0x3d86f7._0xcc2b2);}this['sendGate'+_0x43f216(_0x26ec83._0x5f1675,0x723)+'st'](_0x339e7e[_0x511fad(_0x26ec83._0x58091c,0x829)],_0x44475b),this['markPair'+_0x43f216(0x782,0x4e6)+_0x511fad(0x6d3,0x607)](_0xfa62da,_0x511fad(_0x26ec83._0x3c1974,_0x26ec83._0x352a18));}async[_0x528821(-0x20,0xd2)+_0x684713(0x2c9,0x32d)+'t'](_0x1df63a){const _0x1553d3={_0x3d7240:0x5a3,_0x5b850c:0x845,_0x17844c:0x66c,_0x5597c4:0x1c7,_0x56a0cf:0x411,_0x4b0384:0x248,_0x20f935:0xd2,_0x2ed6a8:0x302},_0x18d042={_0x2d11db:0x2a1},_0x57598d={};_0x57598d['requestI'+'d']=_0x1df63a;function _0x489e53(_0x15ddad,_0x47081a){return _0x528821(_0x47081a,_0x15ddad-_0x18d042._0x2d11db);}function _0x4e24c5(_0x4d53d3,_0x61d97a){return _0x528821(_0x61d97a,_0x4d53d3-0x5a8);}this[_0x4e24c5(0x657,_0x1553d3._0x3d7240)+_0x489e53(0x64e,_0x1553d3._0x5b850c)+'st']('device.p'+_0x489e53(_0x1553d3._0x17844c,0x4d7)+'ct',_0x57598d),this[_0x489e53(0x3c8,_0x1553d3._0x5597c4)+_0x489e53(_0x1553d3._0x56a0cf,0x4e6)+_0x489e53(_0x1553d3._0x4b0384,_0x1553d3._0x20f935)](_0x1df63a,_0x489e53(0x166,_0x1553d3._0x2ed6a8));}[_0x684713(0x321,0x2ee)+_0x528821(0xad,-0x41)](){const _0xbe7a03={_0x3f8bda:0x304,_0x19b43a:0x4ad,_0x473d4c:0x22e,_0x154154:0xa7f,_0x9ce16d:0x79f,_0x4f2da1:0x8cb,_0x559411:0x7ed,_0x3e2864:0x549},_0x27dbe5={_0x31231c:0x1f9},_0x4d5a1a={_0x6b365d:0x253},_0x3e2494={...this[_0x5eac70(0x7ed,0xa06)]};_0x3e2494[_0x53309f(0x4ad,_0xbe7a03._0x3f8bda)+_0x5eac70(0x870,0x6bc)]=[...this['snapshot'][_0x53309f(_0xbe7a03._0x19b43a,_0xbe7a03._0x473d4c)+_0x53309f(0x8ca,_0xbe7a03._0x154154)]];function _0x53309f(_0x28cbce,_0x243910){return _0x684713(_0x243910,_0x28cbce-_0x4d5a1a._0x6b365d);}_0x3e2494[_0x5eac70(_0xbe7a03._0x9ce16d,0x788)+_0x53309f(_0xbe7a03._0x4f2da1,0x7c3)+_0x5eac70(0x6c4,0x4ef)]=[...this[_0x5eac70(_0xbe7a03._0x559411,_0xbe7a03._0x3e2864)]['pendingP'+'airReque'+'sts']];function _0x5eac70(_0x725b12,_0x236520){return _0x684713(_0x236520,_0x725b12-_0x27dbe5._0x31231c);}return _0x3e2494;}async[_0x684713(0x5ff,0x5d8)+_0x684713(0x440,0x26c)](){const _0xe63d33={_0x19eea4:0x60d,_0x230a1b:0x5ba,_0x50318a:0x799,_0x31d776:0x65b,_0x3e9238:0x570,_0x3859f8:0x76c,_0x4408ce:0x67e,_0x15366d:0x8e5,_0x3c106b:0x59e,_0x76e322:0x5d0,_0x54e49e:0x83a,_0x15ceb0:0x6be,_0x1e44d0:0x7f6,_0x314bf3:0x590,_0x50840f:0xaef,_0x42635f:0x84b,_0x49afdc:0x625,_0x5d5571:0x478,_0x490431:0xd,_0x48f1c1:0x260,_0x2f2b4c:0x9e9,_0x2c8f9f:0x768,_0x19037e:0x8c8,_0x3db52a:0x2e6},_0x2c674c={_0x10ef74:0x32a,_0x421806:0x438,_0x2b2017:0x15,_0xd53cf0:0x17,_0x418318:0x40a,_0x1d03ee:0x699,_0x1ae2bf:0xcb,_0x117e3b:0x2e,_0x349c96:0x3f,_0x4342c6:0x243,_0x3ebac7:0x4c,_0x549185:0x258,_0x3d24b7:0x37b,_0xc3514f:0xe8,_0x5d2362:0x14,_0x526cdd:0x2a9,_0x2b1dbf:0xb7,_0x361d89:0x287,_0x1c5133:0xcc,_0x321d88:0x464,_0x5c2d25:0x1b6,_0x4c1a15:0x422,_0x2d144c:0x192},_0x11baba={_0x71cd23:0x5e9},_0x16c6c4={_0x51aca7:0x5bc,_0x2880c6:0xa17},_0x57f11a={_0x3c74f2:0x65},_0x4364ea={_0x59e283:0x307,_0xedd2d2:0x22a,_0xb490ee:0x1e0},_0x184c66={_0x34144f:0x42a,_0x344e23:0x687,_0x1aeb74:0x7e0},_0x4c1563={_0x3b97d4:0x169},_0x35a468={_0xabe97c:0x2a1,_0xff58d9:0x375,_0x311255:0x1ab,_0x52e02b:0x696,_0x35e598:0x9,_0x11ecf2:0x2ec,_0x4a8c44:0x7af,_0x15695b:0x908,_0x51d67b:0xcf,_0x818549:0x56,_0x58c839:0x15,_0x35874d:0x20f,_0x437e6c:0x31,_0x1f4fc7:0x66b,_0x379822:0x47b,_0x15f1f7:0x32c,_0x1ec1ef:0x376,_0x558765:0x748},_0x238446={_0x46bcbb:0x369},_0x32449b={_0x453865:0x605},_0x25e574={};_0x25e574[_0x5079b8(0x7e0,0x8c8)]=_0x1c4dda(_0xe63d33._0x19eea4,_0xe63d33._0x230a1b),_0x25e574[_0x5079b8(0x60b,_0xe63d33._0x50318a)]=_0x1c4dda(0x63d,0x3cb);const _0x15f474=_0x25e574;function _0x5079b8(_0x4200cd,_0x15a640){return _0x528821(_0x4200cd,_0x15a640-_0x32449b._0x453865);}if(this[_0x5079b8(0x913,0x8b0)]||this[_0x1c4dda(_0xe63d33._0x31d776,0x5ca)+_0x1c4dda(0x85f,0x649)]||this['isRelayO'+_0x1c4dda(0x478,_0xe63d33._0x3e9238)]())return;this[_0x1c4dda(_0xe63d33._0x3859f8,0x5ca)+_0x5079b8(_0xe63d33._0x4408ce,_0xe63d33._0x15366d)]=!![],this['relayAtt'+_0x1c4dda(0x622,_0xe63d33._0x3c106b)]+=0x1;const _0x346475=this[_0x1c4dda(0x2b6,0x27c)+_0x5079b8(_0xe63d33._0x76e322,_0xe63d33._0x54e49e)],_0x409644=buildRelayWsUrl(this['options'][_0x5079b8(_0xe63d33._0x15ceb0,0x6be)]);function _0x1c4dda(_0x11ff8c,_0x9855a){return _0x528821(_0x11ff8c,_0x9855a-_0x238446._0x46bcbb);}this[_0x5079b8(0x616,_0xe63d33._0x1e44d0)](_0x5079b8(_0xe63d33._0x314bf3,0x71a)+_0x1c4dda(0x4aa,0x3ce)+_0x1c4dda(0x50b,0x616)+_0x346475+'\x20url='+redactRelayWsUrl(_0x409644));const _0x4bf761=this[_0x5079b8(_0xe63d33._0x50840f,_0xe63d33._0x42635f)+_0x1c4dda(0x4f8,_0xe63d33._0x49afdc)](_0x409644);this['relaySoc'+'ket']=_0x4bf761,_0x4bf761[_0x1c4dda(0x387,_0xe63d33._0x5d5571)](_0x1c4dda(-_0xe63d33._0x490431,_0xe63d33._0x48f1c1),()=>{const _0x1229cc={_0x55342e:0x373};if(this[_0x4f3982(_0x35a468._0xabe97c,_0x35a468._0xff58d9)]||this['relaySoc'+'ket']!==_0x4bf761){_0x4bf761['close']();return;}this['relayCon'+_0x4f3982(0x2d6,_0x35a468._0x311255)]=![];function _0x4f3982(_0x2e5f21,_0x200ba1){return _0x1c4dda(_0x200ba1,_0x2e5f21- -_0x1229cc._0x55342e);}this[_0x3be9f0(0x687,_0x35a468._0x52e02b)+'yActivit'+_0x4f3982(0x209,-_0x35a468._0x35e598)]=Date[_0x4f3982(_0x35a468._0x11ecf2,0x531)]();function _0x3be9f0(_0x24b5bb,_0x357e5a){return _0x1c4dda(_0x357e5a,_0x24b5bb-0x1e5);}const _0x5b1714={};_0x5b1714[_0x3be9f0(_0x35a468._0x4a8c44,_0x35a468._0x15695b)+'nected']=!![],_0x5b1714[_0x3be9f0(0x7dd,0x846)+'r']=null,this['updateSn'+_0x4f3982(0xa6,-0xad)](_0x5b1714),this[_0x4f3982(0x1e7,0x411)]('relay\x20co'+_0x3be9f0(0x7e5,0x9d1)+'attempt='+_0x346475),this[_0x4f3982(-_0x35a468._0x51d67b,0x9)+_0x4f3982(-_0x35a468._0x818549,-0x224)](),shouldKeepGatewayConnected(this[_0x3be9f0(0x8a0,0xa4b)][_0x4f3982(0xd0,_0x35a468._0x58c839)+_0x4f3982(_0x35a468._0x35874d,-_0x35a468._0x437e6c)],summarizePendingGatewayMessages(this[_0x4f3982(0x2ce,0x3cc)+_0x4f3982(0x2c6,0x377)+_0x3be9f0(_0x35a468._0x1f4fc7,_0x35a468._0x379822)])[_0x4f3982(_0x35a468._0x15f1f7,0x1c1)+_0x3be9f0(0x5e9,_0x35a468._0x1ec1ef)])&&this[_0x3be9f0(0x8be,_0x35a468._0x558765)+'tewayCon'+'nected']();}),_0x4bf761['on'](_0x5079b8(0xc0a,_0xe63d33._0x2f2b4c),(_0x391593,_0x3d12fc)=>{function _0xca3158(_0x23cd8a,_0xa98ffb){return _0x5079b8(_0xa98ffb,_0x23cd8a- -_0x4c1563._0x3b97d4);}function _0x283cb2(_0x1a4ce0,_0x3b017c){return _0x5079b8(_0x1a4ce0,_0x3b017c-0x4b);}void this[_0xca3158(_0x184c66._0x34144f,_0x184c66._0x344e23)+_0xca3158(_0x184c66._0x1aeb74,0x9a6)+'ge'](_0x391593,_0x3d12fc);}),_0x4bf761['on']('pong',()=>{const _0x2662df={_0x4dae1f:0x437},_0x338689={_0x2fd12b:0x721};function _0x271165(_0xcf516a,_0x2e8942){return _0x5079b8(_0x2e8942,_0xcf516a- -_0x338689._0x2fd12b);}function _0x45b279(_0x454fd1,_0x58c11c){return _0x5079b8(_0x58c11c,_0x454fd1- -_0x2662df._0x4dae1f);}this[_0x45b279(_0x4364ea._0x59e283,_0x4364ea._0xedd2d2)+_0x45b279(0x581,0x813)+_0x271165(0xf7,_0x4364ea._0xb490ee)]=Date[_0x45b279(0x4c4,0x4b1)]();}),_0x4bf761[_0x5079b8(_0xe63d33._0x2c8f9f,0x714)](_0x15f474[_0x5079b8(0x7f9,_0xe63d33._0x19037e)],_0x1fa648=>{function _0x37012d(_0x5ec208,_0x4312bd){return _0x1c4dda(_0x4312bd,_0x5ec208-_0x57f11a._0x3c74f2);}function _0x3036d5(_0x3f2530,_0x34f7f7){return _0x1c4dda(_0x34f7f7,_0x3f2530-0x2af);}this['log'](_0x37012d(0x5b6,_0x16c6c4._0x51aca7)+_0x3036d5(_0x16c6c4._0x2880c6,0x7ab)+String(_0x1fa648));}),_0x4bf761['once'](_0x15f474[_0x1c4dda(_0xe63d33._0x3db52a,0x4fd)],(_0x26accf,_0x4bf736)=>{const _0x174762={_0x180256:0x535},_0x5abc5f=('0|2|5|4|'+_0x45d207(_0x2c674c._0x10ef74,_0x2c674c._0x421806)+'1')[_0x351973(-_0x2c674c._0x2b2017,-0xe4)]('|');let _0x88d266=0x0;function _0x45d207(_0x14bbed,_0x305948){return _0x5079b8(_0x305948,_0x14bbed- -_0x174762._0x180256);}function _0x351973(_0x1f0760,_0x3f2c0a){return _0x5079b8(_0x3f2c0a,_0x1f0760- -_0x11baba._0x71cd23);}while(!![]){switch(_0x5abc5f[_0x88d266++]){case'0':this[_0x45d207(-_0x2c674c._0xd53cf0,0x171)+_0x351973(_0x2c674c._0x418318,_0x2c674c._0x1d03ee)]===_0x4bf761&&(this[_0x351973(-_0x2c674c._0x1ae2bf,-0x1)+_0x351973(_0x2c674c._0x418318,0x613)]=null);continue;case'1':this[_0x351973(-_0x2c674c._0x117e3b,-0xde)+'RelayRec'+_0x45d207(-0x56,0xef)]();continue;case'2':this[_0x45d207(0x331,0x535)+_0x45d207(0x3b0,0x1af)]=![];continue;case'3':this[_0x351973(-0x76,0x181)+'apshot']({'relayConnected':![],'gatewayConnected':![],'clientCount':0x0,'lastError':_0x26accf===0x3e8?null:_0x45d207(0x18c,0x391)+_0x45d207(-_0x2c674c._0x349c96,0xd2)+(_0x4bf736[_0x351973(0x1ba,_0x2c674c._0x4342c6)]()||_0x26accf)});continue;case'4':this['clientDe'+'mandStar'+_0x351973(_0x2c674c._0x3ebac7,0x2a7)]=null;continue;case'5':this['stopHear'+_0x351973(_0x2c674c._0x549185,0x281)]();continue;case'6':this[_0x45d207(0x4b8,0x23b)+_0x351973(_0x2c674c._0x3d24b7,_0x2c674c._0xc3514f)]();continue;case'7':this['gatewayC'+_0x351973(-_0x2c674c._0x5d2362,-0x9f)+_0x351973(_0x2c674c._0x526cdd,_0x2c674c._0x2b1dbf)]=null;continue;case'8':this[_0x45d207(0x2c1,0x1d2)](_0x45d207(0x2be,_0x2c674c._0x361d89)+_0x351973(-_0x2c674c._0x1c5133,-0x161)+_0x45d207(_0x2c674c._0x321d88,0x553)+_0x26accf+_0x351973(_0x2c674c._0x5c2d25,_0x2c674c._0x4c1a15)+(_0x4bf736[_0x45d207(0x26e,0x24d)]()||_0x351973(_0x2c674c._0x2d144c,0x13f)));continue;}break;}});}async[_0x528821(-0x1e4,-0x72)+_0x528821(0x299,0x344)+'ge'](_0xd6197c,_0x53799a){const _0x19b9d7={_0x214f36:0x186,_0x1b73e1:0xf4,_0x523a78:0x1ce,_0xda18f6:0x4bb,_0x4d6771:0x9a5,_0x30c83c:0x817,_0x345db0:0x819,_0x4eac02:0x47,_0x267477:0x641,_0xc992ec:0xf9,_0x33138d:0x354,_0x183f3c:0x788,_0x47ef4d:0x729,_0x1d6f4d:0x170,_0x11207b:0x127,_0x201a89:0x579,_0x57ae4a:0x397},_0x590621={_0x229f70:0x212},_0x5c16bf={'LRpsL':function(_0x48387e,_0x5f0da6){return _0x48387e(_0x5f0da6);},'cYIjQ':function(_0x20fe1c,_0x445e5e){return _0x20fe1c(_0x445e5e);}};this[_0xd9eb92(_0x19b9d7._0x214f36,_0x19b9d7._0x1b73e1)+_0xd9eb92(0x1b1,0x36e)+_0xd9eb92(0x3e7,_0x19b9d7._0x523a78)]=Date['now']();if(_0x53799a){this[_0x55a220(0x34e,_0x19b9d7._0xda18f6)+_0x55a220(_0x19b9d7._0x4d6771,_0x19b9d7._0x30c83c)+'tewayMes'+'sage']({'kind':'binary','data':_0x5c16bf[_0x55a220(_0x19b9d7._0x345db0,0x5f5)](normalizeBinary,_0xd6197c)});return;}const _0x4fef7e=_0x5c16bf[_0xd9eb92(-0xda,_0x19b9d7._0x4eac02)](normalizeText,_0xd6197c);if(_0x4fef7e==null)return;const _0x48a041=parseControl(_0x4fef7e);if(_0x48a041){this[_0x55a220(_0x19b9d7._0x267477,0x442)+_0xd9eb92(0x9f,0x256)+'ol'](_0x48a041[_0xd9eb92(0x22f,_0x19b9d7._0xc992ec)],_0x48a041[_0xd9eb92(_0x19b9d7._0x33138d,0x3c2)]);return;}const _0x7182e=parseConnectStartIdentity(_0x4fef7e);function _0xd9eb92(_0x573552,_0x3361c3){return _0x684713(_0x573552,_0x3361c3- -0x2e7);}_0x7182e&&this[_0x55a220(0x87b,0x84f)+_0x55a220(_0x19b9d7._0x183f3c,_0x19b9d7._0x47ef4d)+_0xd9eb92(-0x91,-0xab)](_0x7182e['id'],_0x7182e['label']);const _0x42492e={};_0x42492e[_0xd9eb92(0x564,0x2df)]=_0xd9eb92(0xe2,0x305),_0x42492e[_0x55a220(0x707,0x7fe)]=_0x4fef7e;function _0x55a220(_0x3cd759,_0x38f54c){return _0x684713(_0x3cd759,_0x38f54c-_0x590621._0x229f70);}this[_0xd9eb92(-_0x19b9d7._0x1d6f4d,-0x3e)+'rQueueGa'+_0xd9eb92(-0x11e,-_0x19b9d7._0x11207b)+_0xd9eb92(_0x19b9d7._0x201a89,_0x19b9d7._0x57ae4a)](_0x42492e);}[_0x684713(0x186,0x230)+'layContr'+'ol'](_0xd52840,_0x6c35d){const _0x366808={_0x133fa6:0x52,_0x503976:0x5f,_0x13f053:0x1a4,_0x15077f:0x1c,_0x4ef0c1:0x8d,_0x45e095:0x1f,_0x21b3c3:0x1fd,_0x2b24c7:0x30b,_0x954180:0x1c4,_0x1ef630:0xe8,_0x35986f:0x1c2,_0x531789:0x3f4,_0x43621f:0x93,_0x508044:0xca,_0x1ab21d:0x2da,_0x11806a:0xcb,_0x1e632f:0x204,_0x105716:0x270,_0x5090c6:0x215,_0x1157a9:0x177,_0x5df8c4:0x11e,_0x215aa7:0x148,_0x125b1d:0xbe,_0x3a0a1a:0x453,_0x4fbdbf:0x319,_0x1f59a5:0x74,_0x63808e:0x20e,_0x1ba22b:0x3df,_0x23abe2:0x9e,_0x31e13b:0x21d,_0x12aa04:0x131,_0x209a5c:0x62,_0x27afba:0x302,_0x4ad1e8:0x21e,_0x4b4b34:0x29d,_0x54e234:0x29,_0x5736cf:0xfa,_0x6fff9b:0xe,_0x512552:0x2c,_0x57fa07:0x85,_0x1bbb31:0x220,_0x377967:0x248,_0x374863:0x31,_0x178f68:0x2be,_0x2f0648:0x6d,_0x24aaa0:0xa3,_0x500232:0x1da,_0x2353be:0xbb,_0x57cd2e:0x15f,_0x5ec73c:0x70,_0x5dc5bd:0x25e,_0x442a02:0x1f5,_0x2cc513:0x4d9,_0x2ceca6:0x1a4,_0x1ab4cb:0xcc,_0x2a8148:0x188,_0x4199d0:0x236,_0x3446ff:0x202,_0x4c6d61:0xe7,_0x400bf2:0xe0,_0x1ed55e:0x1ff,_0x5ef587:0x19f,_0x28f68f:0xaa,_0x2c5d47:0x1b7,_0x501f30:0x319,_0x49c22f:0x28b,_0x22be00:0x21,_0xc1a65:0x218,_0x533f5d:0x190,_0x5bb943:0x65,_0x311e8b:0x32e,_0x5d4bd5:0x2ae,_0x46e2d1:0x4,_0x113935:0x149,_0x5422b3:0x42b,_0x3c91c8:0x19b,_0x302402:0x19c,_0x3c15d6:0x106,_0x38a052:0x1e8,_0x1ad0bc:0x1ce,_0x549e3e:0x1ca,_0x5ec462:0x112,_0x4071d6:0x332,_0x3544a9:0x27c,_0x25b84a:0xc0,_0xcdd611:0xa2,_0x4d4bab:0x1dc,_0x37b97f:0x3e4,_0x1acbc5:0x2ac,_0x5b2c5a:0x17,_0x76274e:0x65,_0x48c767:0x18d,_0x6e3749:0x1b5,_0x4e113f:0x4f,_0x5895e6:0x139,_0x3c2ae8:0x78,_0x2e3471:0x342,_0x35b605:0x3e,_0x57235c:0x3f3,_0x298761:0x330,_0x29b23c:0x80,_0x16396c:0x283,_0xe2fc9f:0x424,_0x18fd11:0x215,_0x225941:0x2b,_0x5dd8a1:0x51d,_0x42b4ec:0x306,_0x37bce2:0x86,_0x13d325:0x3e,_0x1f9993:0x17f,_0x6529d7:0x17e,_0x4822df:0x343,_0x9e8ebf:0x3c9,_0x351bf1:0x1f4,_0x28ca8b:0x137,_0x10f214:0x26d,_0xcba158:0x74,_0x2e90a1:0x215,_0x5d9f1f:0x6a,_0x485c08:0x1a0,_0x5d7f10:0x3ea,_0x178bf9:0x1df,_0x523913:0x30a,_0x2f09e2:0x131,_0x3d93f8:0x1d1,_0x2f368f:0x34,_0x5eda21:0x10d,_0x1a1e85:0xc,_0x443dee:0x73,_0x496e73:0x1e5,_0x4f684f:0x1c7,_0x464cfe:0xd,_0x200a42:0x14c,_0x4f4610:0x1fe,_0x3dd39d:0x21e,_0x42ffc6:0x29d,_0x2190bc:0x263,_0x185828:0x15e,_0x473e97:0x84,_0x4b76e6:0xeb,_0x3d5b93:0x2eb,_0x3d09cf:0x27e,_0x51295b:0xcd,_0x38f41b:0x295,_0xc5cbc6:0x127,_0x4c181c:0x2c9,_0x3bb2b1:0x2a7,_0x5ae77e:0x25b,_0x242ee3:0x422,_0x3d8579:0x5e},_0x336fef={_0x5cb2a1:0x14e},_0x4178c8={_0x1ffa8a:0xb8};function _0x3f211f(_0x2a3429,_0x2abed0){return _0x528821(_0x2a3429,_0x2abed0- -_0x4178c8._0x1ffa8a);}const _0x28348b={'BHGvP':function(_0x577297,_0x17fc35){return _0x577297===_0x17fc35;},'oNqHa':function(_0x320bca,_0x1963b6){return _0x320bca==_0x1963b6;},'ZeJHq':function(_0x2446ae,_0x9049f8){return _0x2446ae===_0x9049f8;},'oGjPc':function(_0x524611,_0x530888,_0x4b3b75,_0x198f28){return _0x524611(_0x530888,_0x4b3b75,_0x198f28);},'iyvUo':_0x3f211f(-0x9c,0x1b0)+_0x14fe21(0x25b,_0x366808._0x133fa6)+_0x14fe21(-0x1e4,-_0x366808._0x503976),'xfANW':function(_0x3be62b,_0xcf057d,_0x5129e4,_0x51250c){return _0x3be62b(_0xcf057d,_0x5129e4,_0x51250c);},'hjVwD':_0x3f211f(0xf,-_0x366808._0x13f053)+_0x14fe21(0x25b,_0x366808._0x15077f)+'ted;\x20clo'+_0x14fe21(-0x156,0x82)+_0x14fe21(_0x366808._0x4ef0c1,_0x366808._0x45e095)+'y'};if(_0xd52840===_0x3f211f(_0x366808._0x21b3c3,_0x366808._0x2b24c7)+_0x3f211f(-_0x366808._0x954180,-_0x366808._0x1ef630)||_0x28348b[_0x14fe21(-_0x366808._0x35986f,-_0x366808._0x531789)](_0xd52840,_0x3f211f(0xbe,_0x366808._0x2b24c7)+_0x3f211f(_0x366808._0x43621f,_0x366808._0x508044))){const _0x54a4b7=this[_0x3f211f(_0x366808._0x1ab21d,0x29a)][_0x3f211f(0xba,0x22)+_0x14fe21(_0x366808._0x11806a,-0x7f)],_0x32ae3c=_0x6c35d??Math['max'](0x1,this[_0x14fe21(_0x366808._0x1e632f,_0x366808._0x105716)][_0x14fe21(-0x74,-0x255)+_0x14fe21(_0x366808._0x11806a,_0x366808._0x5090c6)]);_0x32ae3c>0x0&&_0x28348b[_0x14fe21(-0xf8,0x49)](this[_0x14fe21(-0x154,-_0x366808._0x1157a9)+_0x3f211f(0x8b,0x29d)+_0x14fe21(-_0x366808._0x5df8c4,-0xfe)],null)&&(this[_0x3f211f(-_0x366808._0x215aa7,-_0x366808._0x125b1d)+_0x14fe21(0x207,_0x366808._0x3a0a1a)+_0x14fe21(-0x11e,-_0x366808._0x4fbdbf)]=Date['now']());const _0x2377f4={};_0x2377f4[_0x14fe21(-_0x366808._0x1f59a5,-_0x366808._0x63808e)+'unt']=_0x32ae3c,this[_0x14fe21(-0x1e0,-_0x366808._0x1ba22b)+_0x14fe21(-_0x366808._0x23abe2,-_0x366808._0x31e13b)](_0x2377f4);if(_0x28348b[_0x14fe21(0x14f,-0x8c)](_0x32ae3c,0x0)){this[_0x3f211f(-0x2ad,-_0x366808._0x12aa04)+_0x14fe21(-_0x366808._0x209a5c,-_0x366808._0x27afba)+_0x14fe21(-0xa2,-0x1d8)]=![],this[_0x14fe21(_0x366808._0x4ad1e8,-0x5)+_0x14fe21(_0x366808._0x4b4b34,_0x366808._0x54e234)+'t'](),this[_0x3f211f(-_0x366808._0x5736cf,-0x1cd)+_0x14fe21(-0x84,_0x366808._0x6fff9b)+_0x14fe21(0x12f,-_0x366808._0x512552)+'e']();const _0x19f556=summarizePendingGatewayMessages(this[_0x3f211f(_0x366808._0x57fa07,_0x366808._0x1bbb31)+_0x3f211f(_0x366808._0x377967,0x218)+_0x14fe21(-_0x366808._0x374863,0x161)])[_0x3f211f(0x5e,0x27e)+_0x14fe21(-0xb3,-_0x366808._0x178f68)];_0x28348b[_0x14fe21(-_0x366808._0x2f0648,0x226)](shouldScheduleGatewayIdleClose,_0x32ae3c,_0x19f556,this['isGatewa'+'yOpen']())?(this[_0x14fe21(_0x366808._0x24aaa0,-_0x366808._0x500232)](_0x3f211f(-0x19f,-0x1a4)+_0x3f211f(-_0x366808._0x2353be,-0x36)+'opped\x20to'+_0x3f211f(-0x3f,-_0x366808._0x57cd2e)+_0x3f211f(_0x366808._0x5ec73c,0x172)+_0x14fe21(-0x1b6,-_0x366808._0x5dc5bd)+_0x3f211f(_0x366808._0x442a02,0x28a)),this[_0x3f211f(0x24f,0x330)+_0x3f211f(_0x366808._0x2cc513,0x2a7)]()):this[_0x14fe21(0xa3,0x102)](_0x3f211f(-0x153,-_0x366808._0x2ceca6)+_0x14fe21(-_0x366808._0x1ab4cb,-0x2fb)+_0x14fe21(_0x366808._0x2a8148,_0x366808._0x4199d0)+_0x3f211f(-_0x366808._0x3446ff,-0x147)+'ateway\x20r'+_0x3f211f(_0x366808._0x4c6d61,_0x366808._0x400bf2)+_0x14fe21(_0x366808._0x1ed55e,_0x366808._0x5ef587));}else{if(shouldRecycleGatewayForFreshClient(_0x54a4b7,_0x32ae3c,this[_0x3f211f(-_0x366808._0x28f68f,_0x366808._0x2c5d47)+_0x3f211f(0x4e6,_0x366808._0x501f30)](),![])){const _0x4bed9c=summarizePendingGatewayMessages(this[_0x14fe21(0x18a,_0x366808._0x49c22f)+_0x3f211f(_0x366808._0x22be00,_0x366808._0xc1a65)+_0x3f211f(_0x366808._0x533f5d,_0x366808._0x5bb943)]);this['log'](_0x3f211f(_0x366808._0x311e8b,0x1f4)+'recycle\x20'+_0x3f211f(_0x366808._0x5d4bd5,0x197)+'d\x20for\x20fr'+_0x14fe21(_0x366808._0x46e2d1,-_0x366808._0x113935)+_0x14fe21(0x23a,_0x366808._0x5422b3)+_0x14fe21(-_0x366808._0x3c91c8,-0x291)+'='+_0x4bed9c[_0x3f211f(0x18f,0x16e)]+(_0x3f211f(-_0x366808._0x302402,-_0x366808._0x3c15d6)+'=')+_0x4bed9c[_0x14fe21(_0x366808._0x38a052,_0x366808._0x1ad0bc)+_0x14fe21(-0xb3,_0x366808._0x549e3e)]+_0x14fe21(0x17c,-0xe8)+_0x4bed9c['otherTex'+'t']+_0x3f211f(_0x366808._0x5ec462,0x1ce)+_0x4bed9c[_0x3f211f(0x41c,_0x366808._0x4071d6)]+(_0x3f211f(_0x366808._0x3544a9,0x236)+'keStarte'+'d=')+this[_0x3f211f(0x76,-0x131)+_0x14fe21(-0x62,_0x366808._0x25b84a)+_0x14fe21(-_0x366808._0xcdd611,_0x366808._0x4d4bab)]);const _0x45fc1e=prunePendingGatewayMessagesForFreshDemand(this[_0x3f211f(_0x366808._0x37b97f,0x220)+_0x3f211f(_0x366808._0x1acbc5,0x218)+_0x3f211f(-_0x366808._0x5b2c5a,_0x366808._0x76274e)]);_0x45fc1e['dropped']>0x0&&(this['pendingG'+'atewayMe'+'ssages']=_0x45fc1e[_0x14fe21(0x258,0x436)],this['log'](_0x14fe21(0x5c,_0x366808._0x48c767)+'stale\x20ga'+_0x3f211f(-_0x366808._0x6e3749,-_0x366808._0x35986f)+'eue\x20befo'+_0x14fe21(-0x54,-_0x366808._0x4e113f)+_0x14fe21(-_0x366808._0x5895e6,-0x13c)+_0x3f211f(0x1,_0x366808._0x3c2ae8)+_0x45fc1e[_0x3f211f(0xf7,_0x366808._0x2e3471)]+_0x3f211f(-_0x366808._0x35b605,0x5a)+_0x45fc1e['messages']['length'])),this[_0x3f211f(_0x366808._0x57235c,_0x366808._0x298761)+_0x3f211f(_0x366808._0x29b23c,0x2a7)](!![]);}if(this['isGatewa'+_0x14fe21(_0x366808._0x16396c,_0x366808._0xe2fc9f)]()&&!this[_0x14fe21(-_0x366808._0x18fd11,-_0x366808._0x225941)+_0x3f211f(_0x366808._0x5dd8a1,_0x366808._0x42b4ec)+_0x14fe21(-0x13,0x1ef)+_0x14fe21(_0x366808._0x37bce2,-_0x366808._0x13d325)]){const _0x49bf3c={};_0x49bf3c[_0x3f211f(-0x37d,-_0x366808._0x1f9993)+_0x14fe21(-_0x366808._0x6529d7,-_0x366808._0x4822df)]=!![],_0x49bf3c[_0x14fe21(0x141,_0x366808._0x9e8ebf)+'r']=null,this[_0x3f211f(0x32,-0x14a)+_0x14fe21(-_0x366808._0x23abe2,-0x2b1)](_0x49bf3c),this['log'](_0x3f211f(0x194,_0x366808._0x351bf1)+'already\x20'+_0x14fe21(-0x196,0xd9)+_0x3f211f(0x4f,-_0x366808._0x28ca8b)+_0x3f211f(0x156,0x10d)+_0x14fe21(-0x268,-0x4d4)+this[_0x3f211f(_0x366808._0x10f214,0x31f)+_0x14fe21(-0x7a,-_0x366808._0xcba158)](this[_0x14fe21(-_0x366808._0x2e90a1,-0x2f1)+_0x14fe21(-0x17e,-_0x366808._0x5d9f1f)+'AtMs'])+(_0x14fe21(_0x366808._0x485c08,_0x366808._0x5d7f10)+_0x14fe21(-_0x366808._0x178bf9,-_0x366808._0x523913)+'d=')+this[_0x3f211f(-_0x366808._0x2b24c7,-_0x366808._0x2f09e2)+_0x3f211f(-_0x366808._0x3d93f8,_0x366808._0x2f368f)+_0x3f211f(_0x366808._0x5eda21,-_0x366808._0x1a1e85)]);}}this['ensureGa'+'tewayCon'+_0x14fe21(_0x366808._0x443dee,0x163)]();return;}function _0x14fe21(_0x473224,_0x284086){return _0x528821(_0x284086,_0x473224- -_0x336fef._0x5cb2a1);}if(_0x28348b[_0x3f211f(0x315,_0x366808._0x496e73)](_0xd52840,_0x28348b['iyvUo'])){this[_0x14fe21(-_0x366808._0x4f684f,_0x366808._0x464cfe)+_0x3f211f(-0x43,_0x366808._0x2f368f)+_0x14fe21(-_0x366808._0xcdd611,_0x366808._0x533f5d)]=![];const _0x12cb14={};_0x12cb14['clientCo'+'unt']=0x0,this[_0x3f211f(-_0x366808._0x200a42,-0x14a)+_0x14fe21(-0x9e,_0x366808._0x4f4610)](_0x12cb14),this[_0x14fe21(_0x366808._0x3dd39d,0x135)+_0x14fe21(_0x366808._0x42ffc6,0x6c)+'t'](),this[_0x14fe21(-_0x366808._0x2190bc,-_0x366808._0x185828)+_0x14fe21(-_0x366808._0x473e97,_0x366808._0x4b76e6)+_0x3f211f(_0x366808._0x3d5b93,0x1c5)+'e']();const _0x51f295=summarizePendingGatewayMessages(this[_0x3f211f(0x88,_0x366808._0x1bbb31)+'atewayMe'+'ssages'])[_0x3f211f(0x74,_0x366808._0x3d09cf)+'equests'];_0x28348b[_0x14fe21(-0x14,-_0x366808._0x51295b)](shouldScheduleGatewayIdleClose,0x0,_0x51f295,this[_0x3f211f(_0x366808._0x38f41b,0x1b7)+'yOpen']())?(this['log'](_0x28348b[_0x14fe21(-_0x366808._0xc5cbc6,-0x23e)]),this[_0x3f211f(0x3b0,0x330)+_0x3f211f(_0x366808._0x4c181c,_0x366808._0x3bb2b1)]()):(this['log'](_0x3f211f(-0x361,-0x1a4)+_0x14fe21(_0x366808._0x5ae77e,0x3f9)+_0x3f211f(_0x366808._0x242ee3,0x2bc)+_0x14fe21(-0x145,-0x26e)+_0x14fe21(-0x142,-0x100)+_0x14fe21(_0x366808._0x3d8579,0x2d9)),this[_0x3f211f(0x30d,0x2b8)+_0x3f211f(0xe8,-0x47)+_0x3f211f(0xdc,0x109)]());return;}}[_0x684713(0x503,0x2a9)+_0x528821(0x1ec,0x363)+_0x528821(-0xcf,-0xe2)+_0x528821(0x15c,0x3dc)](_0x1240bd){const _0x249097={_0x503e5e:0x783,_0x15acba:0x5c1,_0x237d7d:0x52b,_0x3eaeab:0x8c6,_0x57abce:0x2dd,_0x1bf553:0x391,_0x476035:0xa7,_0x26b60d:0x146,_0x35e6a9:0x332,_0x46336d:0x534,_0x2a5ca8:0x3ed,_0x4fa3da:0x1e9,_0x301077:0x18f,_0x1bd0ee:0x4f5,_0x4c9df4:0x560,_0xc860f4:0x4b6,_0x2911cf:0x578,_0x447ebc:0x7e5,_0x4b9c55:0x3eb,_0x35202e:0x37c,_0x498d42:0x45e,_0x39a2f9:0x43a,_0x2f6d83:0x36f,_0xa53811:0x22a,_0x1f38be:0x3b,_0x4cd2cf:0xe6,_0x12767a:0x2eb,_0x42c914:0x4f5,_0x20a5ac:0x578,_0x47ef7b:0x794,_0x9e792a:0xf1,_0x531231:0x349,_0x226a90:0x2f1,_0x8124b3:0x427,_0x39c456:0xed,_0x417ff2:0x430,_0x5b16a2:0x421,_0x5c7a0e:0x48f,_0x14ce89:0x48e,_0x3f41d5:0x3f2,_0x5bb321:0x50e,_0x241a0f:0x25e,_0x428a96:0x18d,_0x378b99:0x19,_0x540214:0x2d4,_0x2afda7:0x4d0},_0x45dd63={_0x54e0e4:0x29d},_0x5c3171={_0x4e2bf9:0x141},_0x194d49={'vqiMp':_0xec7fb3(0x5e7,_0x249097._0x503e5e),'LnODy':function(_0x356bb5,_0x1d08a4){return _0x356bb5+_0x1d08a4;},'DzOQB':function(_0x57e101,_0x1ffd45){return _0x57e101(_0x1ffd45);}},_0xf5c0b6=_0x1240bd[_0xec7fb3(_0x249097._0x15acba,_0x249097._0x237d7d)]===_0x194d49['vqiMp']&&isConnectHandshakeRequest(_0x1240bd['text']);if(this['gatewayC'+_0xec7fb3(0x65b,_0x249097._0x3eaeab)+_0xec7fb3(0x3d8,_0x249097._0x57abce)+_0x3a7fe4(0x11b,0x315)]){this[_0xec7fb3(_0x249097._0x1bf553,0x15c)+_0x3a7fe4(0x244,_0x249097._0x476035)+_0x3a7fe4(_0x249097._0x26b60d,0x2de)+'e'](_0x1240bd);_0xf5c0b6&&this[_0x3a7fe4(0x587,_0x249097._0x35e6a9)](_0x3a7fe4(_0x249097._0x46336d,_0x249097._0x2a5ca8)+_0x3a7fe4(0x428,_0x249097._0x4fa3da)+'ble\x20duri'+_0x3a7fe4(-0x3a,_0x249097._0x301077)+_0xec7fb3(_0x249097._0x1bd0ee,_0x249097._0x4c9df4)+_0xec7fb3(0x35d,0x45d)+'eued\x20unt'+'il\x20gatew'+_0x3a7fe4(0x524,_0x249097._0xc860f4)+_0xec7fb3(_0x249097._0x2911cf,_0x249097._0x447ebc));return;}function _0x3a7fe4(_0x29a13d,_0x11f942){return _0x528821(_0x29a13d,_0x11f942-_0x5c3171._0x4e2bf9);}function _0xec7fb3(_0x16a135,_0x15d6f7){return _0x528821(_0x15d6f7,_0x16a135-_0x45dd63._0x54e0e4);}const _0x302a1e=this[_0xec7fb3(0x481,0x1fd)+'ocket'];if(!_0x302a1e||_0x302a1e[_0x3a7fe4(0x1ec,0x18a)+'te']!==_0x36f378[_0x3a7fe4(0x558,_0x249097._0x4b9c55)]){this['ensureGa'+_0x3a7fe4(_0x249097._0x35202e,0x1b2)+_0xec7fb3(_0x249097._0x498d42,0x6e1)](),this['pushPend'+'ingGatew'+_0xec7fb3(_0x249097._0x39a2f9,_0x249097._0x2f6d83)+'e'](_0x1240bd);_0xf5c0b6&&this['log']('gateway\x20'+_0x3a7fe4(_0x249097._0xa53811,0x1e9)+_0x3a7fe4(-_0x249097._0x1f38be,_0x249097._0x4cd2cf)+_0xec7fb3(_0x249097._0x12767a,0x2f2)+_0xec7fb3(_0x249097._0x42c914,0x43c)+'hake;\x20qu'+'eued\x20unt'+_0xec7fb3(0x280,0xc3)+_0x3a7fe4(0x38e,0x4b6)+_0xec7fb3(_0x249097._0x20a5ac,_0x249097._0x47ef7b));return;}if(!this[_0x3a7fe4(_0x249097._0x9e792a,0xc8)+_0x3a7fe4(0xad,0x22d)+_0xec7fb3(_0x249097._0x531231,_0x249097._0x226a90)]){if(!_0xf5c0b6){this[_0x3a7fe4(_0x249097._0x8124b3,0x235)+_0xec7fb3(0x203,_0x249097._0x39c456)+_0xec7fb3(0x43a,_0x249097._0x417ff2)+'e'](_0x1240bd);return;}this[_0xec7fb3(0x224,_0x249097._0x5b16a2)+_0xec7fb3(0x389,_0x249097._0x5c7a0e)+_0xec7fb3(0x349,0x5cc)]=!![];const _0x55f5e0=parseConnectHandshakeMeta(_0x1240bd[_0xec7fb3(0x5e7,0x766)]);this[_0xec7fb3(_0x249097._0x14ce89,_0x249097._0x3f41d5)](_0x194d49[_0x3a7fe4(0x431,0x196)](_0x3a7fe4(0x651,_0x249097._0x2a5ca8)+'handshak'+_0xec7fb3(0x3a2,0x191)+'d\x20queued'+'='+this[_0x3a7fe4(0x3e4,0x419)+_0xec7fb3(0x56d,_0x249097._0x5bb321)+_0x3a7fe4(0x3d,_0x249097._0x241a0f)][_0xec7fb3(_0x249097._0x428a96,_0x249097._0x378b99)],_0x194d49['DzOQB'](formatConnectHandshakeMetaForLog,_0x55f5e0)));}this[_0x3a7fe4(_0x249097._0x540214,_0x249097._0x2afda7)+_0x3a7fe4(0x3,0x289)](_0x1240bd);}['ensureGa'+_0x684713(0x208,0x313)+'nected'](){const _0x33bc45={_0x1374dc:0x4d3,_0x29a893:0x7ad,_0x32f539:0x712,_0x207fb3:0x59b,_0x3f3135:0x8b0,_0x5c2e94:0x70b,_0x35846f:0x548,_0x2109fb:0x25,_0xcd3289:0x9df,_0x3a4e97:0x362,_0x1f3ca0:0x597,_0x28a950:0x52a,_0x19580d:0x4bb,_0x193620:0x6e8,_0x24e864:0x535,_0x2fecd9:0x95f,_0x3291f1:0xa22,_0x41fb29:0x7c9,_0x11dafe:0x8c1,_0x4e75d8:0xab7,_0x59c1d9:0x336,_0x4effea:0xa4,_0x33b8cb:0xc6c,_0xc6fdd3:0x5e1,_0x48d76c:0x807,_0x45260f:0x667,_0x158331:0x496},_0x2d62f2={_0x376c62:0x1cc,_0x2423ea:0xd4,_0x2e6179:0x182,_0x14a5f5:0x80,_0x28b808:0x100,_0x5893a4:0x197,_0xf6df38:0x4ab,_0x11e0ce:0x6,_0x3dff5d:0x145,_0x3c7c48:0xb2,_0x2f6da8:0x121,_0x192093:0x377,_0x56f2b9:0x9d,_0x41b3b6:0x13a,_0x4d78e6:0x49,_0x5f43a0:0x182,_0x2a8744:0x134,_0x57199d:0x28d,_0x47bee4:0x303,_0x1eb98a:0xb7,_0x115363:0x140,_0x4f5891:0x1af,_0x193cc2:0x18c,_0x5132a3:0x2d,_0xf1195f:0x28a,_0x1f7d54:0x14d,_0x294e6c:0xbf,_0x7f095c:0x55,_0x30bcb4:0x380,_0x18085b:0x136,_0x151e7b:0x1f1,_0x21d212:0x28a,_0x344445:0x35f,_0x1c6117:0xdd,_0x27ae68:0xda,_0x1f52ab:0x11e,_0x1207a4:0xa4,_0x22ccce:0x141,_0x47090b:0x13b,_0x1ad3c9:0x25c,_0x5be501:0x88,_0x4f26ce:0x117,_0x2384ba:0x28e},_0x2e84c0={_0x5befbe:0x2e2},_0x11b333={_0x42799e:0x140,_0x50c1f8:0x39e,_0x23595b:0x53b,_0x23f6bf:0x277,_0x224056:0x3},_0x40b789={_0x5a530e:0x376},_0x232932={_0x400a12:0x9a9,_0x3c97f7:0xf0,_0x270d90:0x319},_0x10b058={_0x5c87bb:0x55},_0x1b5c91={_0x26f49f:0x438,_0x19699d:0x607,_0x2b6188:0x5c6,_0x3bd300:0x56a,_0x3195b5:0x66a,_0x2e63a6:0x114,_0x586dac:0x650,_0x53fd0a:0x469,_0x4e91cf:0x610,_0x43ccc7:0x54b,_0x3f7434:0x60f,_0x117986:0x2c8,_0xe07831:0x15d,_0x26ceb8:0x61e,_0x2e906f:0x85a,_0x456c8d:0xc6,_0x3675ae:0xdb,_0x369f59:0x534,_0x216a2a:0x710,_0x11a815:0x52d,_0x440faf:0x373,_0x3a1460:0x614,_0x3a4a25:0x8b1,_0x43fe98:0x755,_0x24a488:0x74d,_0x16dcad:0x145,_0x16dd68:0x3e8,_0x13813c:0x3a9,_0x270b66:0x2b8,_0x3514bc:0x4fa,_0x494f13:0x470,_0x25e04d:0x8d3,_0x319117:0xa37,_0x1c0c22:0x19b,_0x32f31b:0x5f5},_0x1b7d01={_0x58d9ab:0x9a},_0x562bff={_0x210f4c:0x605},_0x1a0cfd={};_0x1a0cfd['rhati']=_0x94ff02(_0x33bc45._0x1374dc,0x5cc)+_0x1af9d7(0x707,0x7f6)+'undary\x20r'+'eached;\x20'+'reconnec'+_0x1af9d7(0x52e,_0x33bc45._0x29a893)+_0x1af9d7(_0x33bc45._0x32f539,_0x33bc45._0x207fb3)+_0x1af9d7(0x9e0,0x7dc);const _0x3fdbc8=_0x1a0cfd;if(this[_0x1af9d7(_0x33bc45._0x3f3135,0x92c)]||!this[_0x1af9d7(0x6e5,0x570)+'pen']()||this['gatewayC'+_0x1af9d7(_0x33bc45._0x5c2e94,_0x33bc45._0x35846f)+'g']||this[_0x1af9d7(0x874,0x96d)+'yOpen']()||this[_0x94ff02(0x160,-_0x33bc45._0x2109fb)+_0x1af9d7(0x9c3,_0x33bc45._0xcd3289)+_0x94ff02(_0x33bc45._0x3a4e97,0x5c6)+'ing'])return;function _0x94ff02(_0x7ac170,_0x29afdc){return _0x528821(_0x29afdc,_0x7ac170-0x227);}function _0x1af9d7(_0x32d139,_0xc2bfba){return _0x528821(_0xc2bfba,_0x32d139-_0x562bff._0x210f4c);}this[_0x1af9d7(0x53e,0x6f9)+_0x94ff02(0x32d,_0x33bc45._0x1f3ca0)+'g']=!![],this['log'](_0x94ff02(0x4d3,_0x33bc45._0x28a950)+_0x94ff02(_0x33bc45._0x19580d,0x263)+_0x1af9d7(_0x33bc45._0x193620,_0x33bc45._0x24e864)+'l='+this[_0x1af9d7(_0x33bc45._0x2fecd9,_0x33bc45._0x3291f1)][_0x94ff02(0x585,_0x33bc45._0x41fb29)+'rl']);const _0x1ba2a3=this[_0x1af9d7(0x84b,0xa16)+_0x1af9d7(_0x33bc45._0x11dafe,_0x33bc45._0x4e75d8)](this[_0x1af9d7(0x95f,0xa2e)]['gatewayU'+'rl']);this[_0x1af9d7(0x7e9,0x8cf)+_0x94ff02(0x41c,0x40b)]=_0x1ba2a3,_0x1ba2a3[_0x94ff02(_0x33bc45._0x59c1d9,_0x33bc45._0x4effea)](_0x94ff02(0x11e,-0x22),()=>{if(this[_0x4e7db0(_0x1b5c91._0x26f49f,_0x1b5c91._0x19699d)]||this[_0x4e7db0(0x371,0x46c)+_0x4e7db0(0x382,0x48c)]!==_0x1ba2a3){_0x1ba2a3[_0x262518(_0x1b5c91._0x2b6188,0x655)]();return;}this[_0x262518(0x49d,_0x1b5c91._0x3bd300)+_0x262518(_0x1b5c91._0x3195b5,0x83c)+'g']=![];function _0x262518(_0x562fbf,_0x196048){return _0x94ff02(_0x562fbf-0x33d,_0x196048);}this[_0x4e7db0(_0x1b5c91._0x2e63a6,0x8f)+_0x262518(_0x1b5c91._0x586dac,_0x1b5c91._0x53fd0a)+_0x262518(_0x1b5c91._0x4e91cf,0x7f4)]=![],this[_0x4e7db0(0xc6,-0x1ab)+_0x4e7db0(_0x1b5c91._0x43ccc7,_0x1b5c91._0x3f7434)+_0x4e7db0(_0x1b5c91._0x117986,0x1f2)+_0x4e7db0(0x361,0x303)]=![],this['gatewayC'+_0x4e7db0(_0x1b5c91._0xe07831,0x34f)+_0x4e7db0(0x41a,_0x1b5c91._0x26ceb8)]=Date[_0x262518(_0x1b5c91._0x2e906f,0xab3)]();const _0x23fe1c={};_0x23fe1c[_0x4e7db0(_0x1b5c91._0x456c8d,_0x1b5c91._0x3675ae)+_0x262518(_0x1b5c91._0x369f59,_0x1b5c91._0x216a2a)]=!![];function _0x4e7db0(_0x5469f0,_0x3b4a2a){return _0x94ff02(_0x5469f0- -_0x1b7d01._0x58d9ab,_0x3b4a2a);}_0x23fe1c[_0x4e7db0(0x41c,_0x1b5c91._0x11a815)+'r']=null,this[_0x4e7db0(0xfb,_0x1b5c91._0x440faf)+_0x262518(_0x1b5c91._0x3a1460,_0x1b5c91._0x3a4a25)](_0x23fe1c),this[_0x262518(_0x1b5c91._0x43fe98,_0x1b5c91._0x24a488)]('gateway\x20'+_0x4e7db0(_0x1b5c91._0x16dcad,_0x1b5c91._0x16dd68)+'d\x20sinceC'+_0x4e7db0(_0x1b5c91._0x13813c,_0x1b5c91._0x270b66)+_0x262518(0x569,_0x1b5c91._0x3514bc)+this['elapsedS'+_0x262518(0x638,_0x1b5c91._0x494f13)](this['clientDe'+'mandStar'+_0x262518(0x594,0x316)])),this[_0x262518(_0x1b5c91._0x25e04d,_0x1b5c91._0x319117)+_0x4e7db0(_0x1b5c91._0x1c0c22,0x3d6)+'wayMessa'+_0x4e7db0(0x364,_0x1b5c91._0x32f31b)]();}),_0x1ba2a3['on'](_0x1af9d7(0x9e9,_0x33bc45._0x33b8cb),(_0x1b9a7e,_0xd56af1)=>{const _0x2b20ac={_0x2a4da1:0x2c5};function _0x8256e1(_0x41b1b8,_0x8ef5bd){return _0x94ff02(_0x8ef5bd-_0x2b20ac._0x2a4da1,_0x41b1b8);}function _0x3039ef(_0x57b165,_0x4f03e0){return _0x94ff02(_0x57b165- -_0x10b058._0x5c87bb,_0x4f03e0);}this[_0x8256e1(_0x232932._0x400a12,0x8d5)+_0x3039ef(_0x232932._0x3c97f7,0x1c5)+_0x3039ef(0x5ae,_0x232932._0x270d90)](_0x1b9a7e,_0xd56af1);}),_0x1ba2a3[_0x1af9d7(0x714,_0x33bc45._0xc6fdd3)](_0x94ff02(0x478,0x4f5),_0x262590=>{function _0xc2f43c(_0x23b064,_0xbebcd8){return _0x1af9d7(_0x23b064- -_0x40b789._0x5a530e,_0xbebcd8);}function _0x2c6d51(_0x4e79b7,_0x3b468f){return _0x1af9d7(_0x3b468f- -0x458,_0x4e79b7);}this[_0x2c6d51(_0x11b333._0x42799e,_0x11b333._0x50c1f8)](_0xc2f43c(_0x11b333._0x23595b,0x3dc)+_0xc2f43c(_0x11b333._0x23f6bf,_0x11b333._0x224056)+String(_0x262590));}),_0x1ba2a3[_0x1af9d7(0x714,_0x33bc45._0x48d76c)](_0x1af9d7(_0x33bc45._0x45260f,_0x33bc45._0x158331),(_0x833bb,_0x421237)=>{const _0x42a591=summarizePendingGatewayMessages(this[_0x2dbdfb(0x1f9,0x21d)+_0x17598a(0x1fc,0x1ae)+_0x17598a(0x49,-_0x2d62f2._0x376c62)])[_0x17598a(0x262,0xf5)+_0x17598a(-0x39,-_0x2d62f2._0x2423ea)],_0x1258c4=this[_0x2dbdfb(-0x3dc,-_0x2d62f2._0x2e6179)+'loseBoun'+_0x2dbdfb(-0xa9,_0x2d62f2._0x14a5f5)+_0x17598a(_0x2d62f2._0x28b808,_0x2d62f2._0x5893a4)]&&shouldKeepGatewayConnected(this[_0x17598a(0x27e,_0x2d62f2._0xf6df38)][_0x17598a(_0x2d62f2._0x11e0ce,-0x79)+_0x17598a(_0x2d62f2._0x3dff5d,0x263)],_0x42a591);this[_0x2dbdfb(-_0x2d62f2._0x3c7c48,0x129)+_0x17598a(_0x2d62f2._0x2f6da8,_0x2d62f2._0x192093)]===_0x1ba2a3&&(this[_0x2dbdfb(-_0x2d62f2._0x56f2b9,0x129)+_0x2dbdfb(0x43,_0x2d62f2._0x41b3b6)]=null);this[_0x2dbdfb(_0x2d62f2._0x4d78e6,-_0x2d62f2._0x5f43a0)+'onnectin'+'g']=![],this[_0x2dbdfb(-0x2c7,-_0x2d62f2._0x2a8744)+'andshake'+'Started']=![],this['gatewayC'+_0x2dbdfb(_0x2d62f2._0x57199d,_0x2d62f2._0x47bee4)+_0x17598a(0x67,0x47)+_0x17598a(0x100,-0x89)]=![],this[_0x17598a(-0x19b,-0x208)+'onnected'+_0x17598a(0x1b9,0x1d6)]=null,this[_0x2dbdfb(0x280,_0x2d62f2._0x1eb98a)+_0x17598a(-_0x2d62f2._0x115363,-_0x2d62f2._0x4f5891)+_0x17598a(_0x2d62f2._0x193cc2,0x280)+'shakes'](_0x17598a(0x1d8,-_0x2d62f2._0x5132a3)+_0x17598a(-0x205,-0x63)+_0x2dbdfb(0x2ae,_0x2d62f2._0xf1195f)+'e='+_0x833bb);function _0x2dbdfb(_0x288aea,_0x3bea7e){return _0x94ff02(_0x3bea7e- -_0x2e84c0._0x5befbe,_0x288aea);}this[_0x2dbdfb(-0x268,-_0x2d62f2._0x1f7d54)+_0x17598a(-0x24,-0x2c8)]({'gatewayConnected':![],'lastError':_0x833bb===0x3e8||_0x1258c4?this['snapshot'][_0x2dbdfb(_0x2d62f2._0x294e6c,0x1d4)+'r']:_0x17598a(0x1d8,0x217)+'closed:\x20'+(_0x421237[_0x17598a(0xca,_0x2d62f2._0x7f095c)]()||_0x833bb)}),this[_0x2dbdfb(_0x2d62f2._0x30bcb4,_0x2d62f2._0x18085b)](_0x2dbdfb(-0x11,_0x2d62f2._0x151e7b)+'disconne'+_0x2dbdfb(-0xe,_0x2d62f2._0x21d212)+'e='+_0x833bb+'\x20reason='+(_0x421237[_0x17598a(0xca,_0x2d62f2._0x344445)]()||_0x2dbdfb(0x27e,0xbb))+(_0x17598a(-0x19c,_0x2d62f2._0x1c6117)+'ientDema'+'ndMs=')+this['elapsedS'+_0x17598a(0x0,-0x14)](this[_0x17598a(-_0x2d62f2._0x27ae68,-_0x2d62f2._0x1f52ab)+_0x17598a(0x281,0x2e8)+_0x17598a(-_0x2d62f2._0x1207a4,0x1b6)]));function _0x17598a(_0x206c5,_0x305419){return _0x94ff02(_0x206c5- -0x2fb,_0x305419);}if(_0x1258c4){this[_0x2dbdfb(-_0x2d62f2._0x22ccce,0x136)](_0x3fdbc8[_0x2dbdfb(0x3c7,0x27a)]),this['ensureGa'+_0x17598a(-0x63,-_0x2d62f2._0x47090b)+_0x2dbdfb(_0x2d62f2._0x1ad3c9,0x106)]();return;}this[_0x2dbdfb(-_0x2d62f2._0x5be501,-0x105)+_0x17598a(-0x1c7,-0x3a3)+_0x2dbdfb(_0x2d62f2._0x4f26ce,_0x2d62f2._0x2384ba)]();});}[_0x684713(0x84b,0x68b)+'tewayMes'+_0x528821(0x3bc,0x3dc)](_0x420ea7,_0xc6d802){const _0x209bbb={_0x78b451:0x3d8,_0x50ad2c:0x1f4,_0x4437c0:0x360,_0x28e486:0xbf3,_0x4d86d3:0x9fc,_0x4216ff:0x751,_0x83b71f:0xa18,_0x49e0a9:0x79a,_0x3c0b56:0x9b3,_0x5e59bc:0x62d,_0x1c6762:0x6f5},_0x5dfe42={_0x99b1b2:0x38f},_0x5844c2={};_0x5844c2[_0x1d4038(0x5ea,0x6fd)]=function(_0x48201a,_0x1b5600){return _0x48201a==_0x1b5600;};const _0x5c93a6=_0x5844c2,_0x96ba44=this['relaySoc'+'ket'];if(!_0x96ba44||_0x96ba44[_0x1d4038(_0x209bbb._0x78b451,_0x209bbb._0x50ad2c)+'te']!==_0x36f378[_0x1b1906(0x804,0x8d4)])return;if(_0xc6d802){_0x96ba44['send'](normalizeBinary(_0x420ea7));return;}function _0x1b1906(_0x39dead,_0x5987a){return _0x528821(_0x39dead,_0x5987a-0x62a);}const _0x150ae1=normalizeText(_0x420ea7);function _0x1d4038(_0x1695eb,_0x267678){return _0x528821(_0x267678,_0x1695eb-_0x5dfe42._0x99b1b2);}if(_0x5c93a6['uvtfF'](_0x150ae1,null))return;const _0x39cc18=parsePairingRequestFromError(_0x150ae1);_0x39cc18&&this['addPendi'+_0x1d4038(_0x209bbb._0x4437c0,0x188)+_0x1b1906(_0x209bbb._0x28e486,_0x209bbb._0x4d86d3)](_0x39cc18);const _0x3dda3c=parsePairResolvedEvent(_0x150ae1);_0x3dda3c&&this[_0x1b1906(0x8e3,_0x209bbb._0x4216ff)+_0x1b1906(_0x209bbb._0x83b71f,_0x209bbb._0x49e0a9)+_0x1d4038(0x336,0xd7)](_0x3dda3c[_0x1b1906(0x7b4,_0x209bbb._0x3c0b56)+'d'],_0x3dda3c['decision']);const _0x16d0d6=parseResponseEnvelopeMeta(_0x150ae1);_0x16d0d6&&this[_0x1b1906(0xaf8,0x867)+_0x1b1906(_0x209bbb._0x5e59bc,_0x209bbb._0x1c6762)+'sponse'](_0x16d0d6),_0x96ba44[_0x1d4038(0x2ff,0x60)](_0x150ae1);}['flushPen'+_0x684713(0x1e5,0x2b0)+_0x528821(0x6,-0x7b)+_0x684713(0x5cc,0x479)](){const _0x55edc2={_0x8ccec8:0x18f,_0x13e35c:0x387,_0x5bf911:0xae,_0xf98a9d:0x176,_0x30d35a:0x259,_0x475bad:0x142,_0x30e384:0x15a,_0x33b6ea:0x319,_0x4b4505:0x3de,_0x78200f:0x31d,_0x37d199:0x1c1,_0x2a0633:0x37f,_0x156347:0x593,_0x4390aa:0x71,_0x44b225:0x174,_0x1d379a:0x28a,_0x277b7a:0x32d,_0x315056:0x15b,_0x4709e0:0x3d3,_0x556058:0x178,_0x3356ec:0x2d3,_0xab8ca6:0x470,_0x3f3fc7:0x511,_0x27153e:0x3f9,_0x1d8f18:0x15b,_0x1e7c62:0x5dd,_0xa4042b:0x4c5,_0x5aa13f:0x4bd},_0x379fbb={_0x344aa4:0x1f3},_0x1d1bdf={'voMaZ':'text','MDkFp':function(_0x41e154,_0x19367a){return _0x41e154(_0x19367a);}};function _0x34ddb6(_0x1c9c4a,_0x525107){return _0x684713(_0x1c9c4a,_0x525107- -0xb5);}const _0x51719e=this[_0x34ddb6(0x5a7,0x3d1)+_0x34ddb6(0x2de,0x3e2)];function _0x2b6fa3(_0x52b6b8,_0x24c539){return _0x684713(_0x52b6b8,_0x24c539- -_0x379fbb._0x344aa4);}if(!_0x51719e||_0x51719e[_0x2b6fa3(_0x55edc2._0x8ccec8,0xf8)+'te']!==_0x36f378[_0x2b6fa3(0x5f7,0x359)])return;const _0x4d9b9d=[],_0x2746d0=dedupePendingGatewayMessages(this[_0x2b6fa3(0x291,_0x55edc2._0x13e35c)+'atewayMe'+_0x2b6fa3(_0x55edc2._0x5bf911,0x1cc)]);_0x2746d0['dropped']>0x0&&this['log'](_0x2b6fa3(_0x55edc2._0xf98a9d,_0x55edc2._0x30d35a)+'stale\x20qu'+'eued\x20gat'+_0x34ddb6(-_0x55edc2._0x475bad,_0x55edc2._0x30e384)+'sages\x20be'+_0x2b6fa3(_0x55edc2._0x33b6ea,_0x55edc2._0x4b4505)+'sh\x20dropp'+_0x34ddb6(0x1d9,_0x55edc2._0x78200f)+_0x2746d0['dropped']+_0x2b6fa3(0x430,_0x55edc2._0x37d199)+_0x2746d0[_0x2b6fa3(0x4bf,0x455)]['length']);this[_0x34ddb6(0x30e,0x4c5)+_0x2b6fa3(0x11a,_0x55edc2._0x2a0633)+_0x2b6fa3(0x228,0x1cc)]=[];for(const _0x43c5ff of _0x2746d0[_0x34ddb6(0x689,_0x55edc2._0x156347)]){if(!this[_0x34ddb6(_0x55edc2._0x4390aa,_0x55edc2._0x44b225)+_0x2b6fa3(_0x55edc2._0x1d379a,0x19b)+_0x2b6fa3(_0x55edc2._0x277b7a,_0x55edc2._0x315056)]){if(_0x43c5ff[_0x2b6fa3(0x386,_0x55edc2._0x4709e0)]!==_0x1d1bdf[_0x34ddb6(_0x55edc2._0x556058,_0x55edc2._0x3356ec)]||!_0x1d1bdf[_0x2b6fa3(0x1ec,_0x55edc2._0xab8ca6)](isConnectHandshakeRequest,_0x43c5ff[_0x2b6fa3(_0x55edc2._0x3f3fc7,_0x55edc2._0x27153e)])){_0x4d9b9d[_0x34ddb6(0x170,0x21c)](_0x43c5ff);continue;}this[_0x34ddb6(-0x4c,0x174)+'andshake'+_0x2b6fa3(-0x133,_0x55edc2._0x1d8f18)]=!![];}this['sendToGa'+'teway'](_0x43c5ff);}this[_0x34ddb6(_0x55edc2._0x1e7c62,_0x55edc2._0xa4042b)+_0x34ddb6(0x306,_0x55edc2._0x5aa13f)+'ssages']=_0x4d9b9d;}[_0x528821(0x5af,0x38f)+_0x684713(0x2db,0x3ea)](_0x5a6523){const _0x449501={_0x42d666:0x245,_0x3bf517:0x168,_0x42b834:0x4f5,_0x27a3ff:0xcb,_0x198f65:0x2c5,_0x2c9cc0:0x2c2,_0x2e953f:0x17a,_0x253a63:0x37a,_0x47aa3d:0x313,_0x2686d7:0x4a0,_0x3e7588:0x26d,_0x591f3c:0x63c,_0x51c992:0x41a,_0x43c2ea:0xe1,_0x3be570:0x4c,_0x389632:0x3bd,_0x34daad:0x429,_0x32d547:0x579,_0x3f2a97:0x37c,_0x2c9381:0x548,_0x29aac1:0x21,_0x1a34ca:0x30c,_0x3288a6:0x3de,_0x1c360d:0x1f8,_0x2a4689:0x6d2,_0xee8e9b:0x70,_0x4425cd:0x27b},_0x1d7d99={_0x56dcca:0xd0},_0x4bf6a5={};function _0x452c9a(_0x43a69f,_0x227f8d){return _0x528821(_0x227f8d,_0x43a69f-0x100);}_0x4bf6a5['ZPBPP']=function(_0x1fc323,_0x370c1f){return _0x1fc323!==_0x370c1f;},_0x4bf6a5[_0x452c9a(0x492,_0x449501._0x42d666)]=_0x4f95da(_0x449501._0x3bf517,0x37c)+'connect\x20'+_0x4f95da(-0x133,-0x19)+_0x4f95da(0x421,0x2b9)+_0x452c9a(0x39f,0x2a2)+'rd';const _0x425907=_0x4bf6a5,_0x18278a=this[_0x4f95da(_0x449501._0x42b834,0x2b4)+_0x4f95da(_0x449501._0x27a3ff,_0x449501._0x198f65)];function _0x4f95da(_0x10497b,_0x470e37){return _0x528821(_0x10497b,_0x470e37-_0x1d7d99._0x56dcca);}if(!_0x18278a||_0x425907[_0x4f95da(_0x449501._0x2c9cc0,_0x449501._0x2e953f)](_0x18278a['readySta'+'te'],_0x36f378[_0x4f95da(0x204,_0x449501._0x253a63)])){this[_0x4f95da(_0x449501._0x47aa3d,0x1c4)+'ingGatew'+_0x4f95da(_0x449501._0x2686d7,_0x449501._0x3e7588)+'e'](_0x5a6523);return;}if(_0x5a6523[_0x452c9a(0x424,0x4bc)]==='text'){const _0x278217=patchConnectRequestGatewayAuth(_0x5a6523[_0x4f95da(_0x449501._0x591f3c,_0x449501._0x51c992)],readOpenClawInfo()),_0x74008c=parseConnectHandshakeMeta(_0x278217[_0x4f95da(0x580,0x41a)]);_0x74008c&&(_0x74008c['id']&&this[_0x4f95da(-0xce,_0x449501._0x43c2ea)+_0x452c9a(_0x449501._0x3be570,-0x114)+'andshake'+'s'][_0x4f95da(_0x449501._0x389632,_0x449501._0x34daad)](_0x74008c['id'],{'method':_0x74008c['method'],'startedAtMs':Date[_0x452c9a(0x3f6,0x16e)](),'slowWarningLogged':![]}),this['log'](_0x4f95da(_0x449501._0x32d547,_0x449501._0x3f2a97)+_0x4f95da(_0x449501._0x2c9381,0x364)+_0x4f95da(0x20b,-_0x449501._0x29aac1)+_0x452c9a(_0x449501._0x1a34ca,_0x449501._0x3288a6)+'d'+formatConnectHandshakeMetaForLog(_0x74008c)));_0x278217['injected']&&this[_0x4f95da(_0x449501._0x1c360d,0x2c1)](_0x425907[_0x452c9a(0x492,_0x449501._0x2a4689)]);_0x18278a['send'](_0x278217['text']);return;}_0x18278a[_0x452c9a(_0x449501._0xee8e9b,0x2c3)](_0x5a6523[_0x452c9a(0xa6,_0x449501._0x4425cd)]);}[_0x684713(0x530,0x351)+_0x528821(0x5c9,0x3ad)+'st'](_0x5a13c7,_0x527aef){const _0x5ae8eb={_0x4f20e3:0x62d,_0x3abeab:0x791,_0x52a2ba:0x929,_0x357604:0x838,_0x480584:0x68f,_0x24f108:0x464,_0x1e5437:0x5a8,_0x2014af:0x62d,_0x349f9d:0x97f,_0x5ef628:0x917},_0x108e85={_0x207a9f:0x301},_0x1c1f9f={_0x123e4d:0x41},_0x5991e7={'wGDVI':function(_0x5d3203){return _0x5d3203();},'CCdAs':_0x78a35a(_0x5ae8eb._0x4f20e3,0x474)},_0x4cace8=JSON[_0x152586(0x79d,_0x5ae8eb._0x3abeab)+'y']({'type':'req','id':_0x152586(_0x5ae8eb._0x52a2ba,_0x5ae8eb._0x357604)+_0x5991e7[_0x78a35a(_0x5ae8eb._0x480584,_0x5ae8eb._0x24f108)](_0x3bb91d),'method':_0x5a13c7,'params':_0x527aef});function _0x78a35a(_0x145aa7,_0x57b2f1){return _0x684713(_0x57b2f1,_0x145aa7-_0x1c1f9f._0x123e4d);}const _0x202c3a={};_0x202c3a[_0x152586(0x8c7,0x9ef)]=_0x5991e7[_0x78a35a(0x4d6,_0x5ae8eb._0x1e5437)],_0x202c3a[_0x78a35a(_0x5ae8eb._0x2014af,0x848)]=_0x4cace8;function _0x152586(_0x486109,_0x3cfc5a){return _0x684713(_0x3cfc5a,_0x486109-_0x108e85._0x207a9f);}this['forwardO'+'rQueueGa'+'tewayMes'+_0x152586(_0x5ae8eb._0x349f9d,_0x5ae8eb._0x5ef628)](_0x202c3a);}[_0x528821(0x53b,0x3e8)+_0x684713(0x883,0x601)](_0x405064=![]){const _0x233824={_0x265595:0x613,_0x199fbd:0x5ab,_0x30e0fd:0x333,_0x5658b7:0x6e3,_0x4a2c2d:0x8a7,_0x2de567:0x754,_0x280dbd:0x99e,_0x5586b2:0x4bc,_0x20d0e9:0x70c,_0x52fc97:0x683,_0x313b5c:0x7f7,_0x55bc46:0x7ce,_0x53a330:0x50f,_0x4c7338:0x375,_0x1734df:0x520,_0x4f966a:0x2c9,_0x4dc0cb:0x2b2,_0xeb3b59:0x568,_0x3f1560:0x3b1,_0x1d2961:0x5cf,_0x3e725d:0x264,_0x27da1a:0x44c,_0x16ad81:0x49c,_0x2c6792:0x3b5,_0x161fb2:0x52d,_0x5688b7:0x5bb,_0x29f3b4:0x6e9,_0x51a178:0x4bf,_0x5c6052:0x3ec,_0x39bcf8:0x69b,_0x12b68c:0x3ee,_0x3b3270:0x3d4,_0x27c070:0x7cb,_0x5160a6:0x5f9,_0x504e25:0x466,_0x277e80:0x650,_0xf2ba32:0x69c,_0x119ae8:0x487,_0x2d8e8a:0x660,_0x42a8b3:0x7d8,_0x47c4f1:0x650,_0x16a760:0x804,_0x1e94b8:0x48c,_0x2828d5:0x6da,_0x2b75cc:0x475,_0xbdac5b:0x5ef,_0x18e3db:0x83a,_0x1a1c9c:0x879,_0x38b31a:0x6e1},_0x576686={_0x3fe88f:0x32b};this[_0x7e29cb(0x6e3,_0x233824._0x265595)+_0x7e29cb(_0x233824._0x199fbd,_0x233824._0x30e0fd)+'r']&&(clearTimeout(this[_0x7e29cb(_0x233824._0x5658b7,_0x233824._0x4a2c2d)+'etryTime'+'r']),this['gatewayR'+'etryTime'+'r']=null);function _0x20e1b7(_0x146ab2,_0x5d3180){return _0x528821(_0x146ab2,_0x5d3180-_0x576686._0x3fe88f);}const _0x25f98f=summarizePendingGatewayMessages(this[_0x7e29cb(_0x233824._0x2de567,_0x233824._0x280dbd)+_0x7e29cb(0x74c,_0x233824._0x5586b2)+_0x7e29cb(0x599,_0x233824._0x20d0e9)])['connectR'+'equests'],_0x35d144=_0x405064&&this[_0x7e29cb(0x55c,0x4d1)+_0x7e29cb(_0x233824._0x52fc97,_0x233824._0x313b5c)]()&&shouldKeepGatewayConnected(this[_0x7e29cb(_0x233824._0x55bc46,0x9f5)]['clientCo'+_0x20e1b7(0x503,0x544)],_0x25f98f),_0x30335b=this[_0x20e1b7(0x282,_0x233824._0x53a330)+_0x20e1b7(_0x233824._0x4c7338,_0x233824._0x1734df)];this[_0x20e1b7(_0x233824._0x4f966a,_0x233824._0x4dc0cb)+_0x7e29cb(_0x233824._0xeb3b59,_0x233824._0x3f1560)+_0x20e1b7(_0x233824._0x1d2961,0x3d7)]=![];function _0x7e29cb(_0x40e83f,_0x178937){return _0x528821(_0x178937,_0x40e83f-0x47c);}this[_0x20e1b7(0x2a1,_0x233824._0x3e725d)+_0x7e29cb(_0x233824._0x27da1a,_0x233824._0x16ad81)+'AtMs']=null;if(!_0x30335b){this[_0x7e29cb(_0x233824._0x2c6792,_0x233824._0x161fb2)+_0x20e1b7(_0x233824._0x5688b7,_0x233824._0x29f3b4)+_0x7e29cb(0x5b7,0x769)+'ing']=![],this[_0x7e29cb(_0x233824._0x2c6792,_0x233824._0x51a178)+_0x7e29cb(0x582,_0x233824._0x5c6052)+'g']=![];_0x35d144&&this[_0x20e1b7(0x7ad,_0x233824._0x39bcf8)+'tewayCon'+_0x20e1b7(_0x233824._0x12b68c,0x4ec)]();return;}if(_0x30335b[_0x20e1b7(0x2fb,0x374)+'te']===_0x36f378[_0x20e1b7(0x249,_0x233824._0x3b3270)]){this['gatewayC'+_0x20e1b7(_0x233824._0x27c070,_0x233824._0x29f3b4)+_0x20e1b7(_0x233824._0x5160a6,_0x233824._0x504e25)+_0x7e29cb(_0x233824._0x277e80,0x648)]=_0x35d144;return;}if(_0x30335b['readySta'+'te']===_0x36f378[_0x20e1b7(_0x233824._0xf2ba32,_0x233824._0x119ae8)]){this[_0x20e1b7(0x4ee,_0x233824._0x53a330)+_0x7e29cb(0x671,0x481)]===_0x30335b&&(this[_0x7e29cb(_0x233824._0x2d8e8a,0x42f)+_0x7e29cb(0x671,_0x233824._0x42a8b3)]=null);this[_0x7e29cb(0x3b5,0x1e0)+'loseBoun'+'daryPend'+_0x7e29cb(_0x233824._0x47c4f1,_0x233824._0x16a760)]=![],this[_0x7e29cb(_0x233824._0x2c6792,_0x233824._0x1e94b8)+'onnectin'+'g']=![];_0x35d144&&this[_0x20e1b7(_0x233824._0x2828d5,_0x233824._0x39bcf8)+_0x7e29cb(0x4ed,_0x233824._0x2b75cc)+_0x7e29cb(0x63d,_0x233824._0xbdac5b)]();return;}this['gatewayC'+_0x7e29cb(_0x233824._0x18e3db,_0x233824._0x1a1c9c)+'daryPend'+_0x7e29cb(_0x233824._0x47c4f1,_0x233824._0x38b31a)]=_0x35d144,_0x30335b['close']();}[_0x684713(0x4f7,0x4e8)+_0x684713(0x3e5,0x55e)](_0xfc8d9a){const _0x273a83={_0x5b8b6a:0x533,_0x562be8:0x65d};if(this['options']['createWe'+_0x4f4c12(0x495,0x262)])return this[_0x4f4c12(_0x273a83._0x5b8b6a,0x2a1)][_0x217031(0x36c,0x50b)+_0x217031(0x790,0x581)](_0xfc8d9a);const _0x2c0bd={};function _0x4f4c12(_0x234cc8,_0x3c5434){return _0x528821(_0x3c5434,_0x234cc8-0x1d9);}_0x2c0bd[_0x217031(0x5f0,_0x273a83._0x562be8)+'ad']=0x19*0x400*0x400;function _0x217031(_0x2a6ab8,_0x35c21f){return _0x528821(_0x2a6ab8,_0x35c21f-0x2c5);}return new _0x36f378(_0xfc8d9a,_0x2c0bd);}[_0x684713(0x5f4,0x4df)+_0x528821(0x29,0xcb)+'sponse'](_0x19074a){const _0xcdea17={_0x3363d0:0x642,_0x239594:0x8dd,_0x4d5808:0x3b2,_0x127f98:0x4b0,_0x8138f8:0xe8,_0x1860bc:0x286,_0x1d0cdc:0x709,_0x20f1a1:0x1d1,_0x1c3313:0x286,_0x550742:0x4c4,_0x59b8e0:0x59e,_0x8c138b:0x5b9,_0x673244:0x898,_0x2b5b81:0x59c,_0x3e0e3a:0x588,_0x217573:0x716,_0x428a1e:0x96e,_0x3446ab:0x8f0,_0x49240d:0x785,_0x51c767:0x5ce,_0x1fb865:0x422,_0x2fe7d6:0x646,_0x541707:0x630,_0x114755:0x525,_0x431fc0:0x65f,_0x8c5116:0xa81};function _0x46c7f3(_0x48d888,_0x2e0933){return _0x528821(_0x48d888,_0x2e0933-0x33a);}const _0x5de099={};_0x5de099[_0x403000(0x6d1,_0xcdea17._0x3363d0)]='ok=true',_0x5de099[_0x46c7f3(_0xcdea17._0x239594,0x738)]=_0x46c7f3(_0xcdea17._0x4d5808,_0xcdea17._0x127f98);const _0x926e3b=_0x5de099;function _0x403000(_0x24c785,_0x1239ed){return _0x528821(_0x1239ed,_0x24c785-0x61d);}const _0x3d6bdf=this[_0x403000(0x62e,0x6bc)+_0x46c7f3(_0xcdea17._0x8138f8,_0xcdea17._0x1860bc)+_0x403000(_0xcdea17._0x1d0cdc,0x70f)+'s'][_0x403000(0x69a,0x6da)](_0x19074a['id']);if(!_0x3d6bdf)return;this['inFlight'+_0x46c7f3(_0xcdea17._0x20f1a1,_0xcdea17._0x1c3313)+_0x46c7f3(_0xcdea17._0x550742,0x426)+'s'][_0x403000(0x6e3,0x539)](_0x19074a['id']);const _0x4c847b=_0x19074a['ok']?_0x926e3b['xMhNN']:'ok=false'+'\x20errorCo'+_0x46c7f3(_0xcdea17._0x59b8e0,0x491)+(_0x19074a[_0x403000(_0xcdea17._0x8c138b,0x816)+'e']??_0x926e3b[_0x403000(0xa1b,_0xcdea17._0x673244)])+('\x20errorMe'+_0x403000(_0xcdea17._0x2b5b81,0x7c5))+(_0x19074a[_0x403000(0x837,0x5cc)+_0x46c7f3(_0xcdea17._0x3e0e3a,_0xcdea17._0x217573)]??'<none>');this[_0x403000(0x80e,_0xcdea17._0x428a1e)](_0x403000(0x8c9,_0xcdea17._0x3446ab)+_0x46c7f3(_0xcdea17._0x49240d,_0xcdea17._0x51c767)+_0x46c7f3(0x4d5,0x5ca)+_0x46c7f3(0x56a,_0xcdea17._0x1fb865)+_0x19074a['id']+'\x20method='+_0x3d6bdf[_0x46c7f3(0x770,_0xcdea17._0x2fe7d6)]+('\x20elapsed'+_0x403000(0x845,0xad8))+(Date[_0x46c7f3(0x465,_0xcdea17._0x541707)]()-_0x3d6bdf[_0x46c7f3(_0xcdea17._0x114755,_0xcdea17._0x431fc0)+_0x403000(0x8d3,_0xcdea17._0x8c5116)])+'\x20'+_0x4c847b);}[_0x684713(0x66a,0x414)+_0x684713(0xe,0x236)+_0x528821(0x2b4,0x260)+'shakes'](_0x5eac84){const _0x4860db={_0x2494d1:0x37f,_0xfbfb3b:0x293,_0x2c4c1f:0x7d,_0x484aa0:0x344,_0x5453c5:0x20e,_0x46f484:0x8e,_0x28c28d:0x1b4,_0x52a4c5:0x11b,_0x547fc8:0x232,_0x3dd619:0x18b,_0x4ef9c1:0x1d2,_0x23cc6c:0x379,_0x36e976:0x374,_0x2b8b6f:0x20f,_0xe90b00:0x1ca,_0x187b0a:0x2c7,_0xc675fd:0x1,_0x1c274f:0x239,_0x32a926:0x2d0,_0x5267ee:0x1cb},_0x6515d4={_0x3683e5:0x20},_0xcbedc7={_0x1dad38:0x300};function _0x534830(_0x439190,_0x4ab71a){return _0x684713(_0x439190,_0x4ab71a- -_0xcbedc7._0x1dad38);}const _0x161433={};_0x161433[_0x53c0f8(0x44d,_0x4860db._0x2494d1)]=function(_0x2db838,_0x44cd1d){return _0x2db838===_0x44cd1d;};const _0x1e4b80=_0x161433;if(_0x1e4b80[_0x534830(-0x21,0x16d)](this[_0x53c0f8(_0x4860db._0xfbfb3b,_0x4860db._0x2c4c1f)+_0x53c0f8(0x1ce,_0x4860db._0x484aa0)+_0x534830(_0x4860db._0x5453c5,_0x4860db._0x46f484)+'s'][_0x534830(-_0x4860db._0x28c28d,-0x19f)],0x0))return;function _0x53c0f8(_0x2198e5,_0x34da45){return _0x684713(_0x34da45,_0x2198e5- -_0x6515d4._0x3683e5);}for(const [_0x583612,_0x7a7092]of this['inFlight'+'ConnectH'+'andshake'+'s']['entries']()){this['log']('gateway\x20'+_0x534830(0x1c9,0x236)+_0x534830(_0x4860db._0x52a4c5,_0x4860db._0x547fc8)+_0x53c0f8(_0x4860db._0x3dd619,0x10f)+'\x20reqId='+_0x583612+_0x53c0f8(_0x4860db._0x4ef9c1,_0x4860db._0x23cc6c)+_0x7a7092['method']+(_0x534830(_0x4860db._0x36e976,_0x4860db._0x2b8b6f)+_0x534830(0x1f7,_0x4860db._0xe90b00))+(Date['now']()-_0x7a7092[_0x534830(0x523,_0x4860db._0x187b0a)+_0x534830(0x1c5,0x258)])+_0x534830(-_0x4860db._0xc675fd,0x13c)+_0x5eac84);}this[_0x534830(0xab,-0x4d)+_0x53c0f8(0x1ce,_0x4860db._0x1c274f)+_0x534830(_0x4860db._0x32a926,0x8e)+'s'][_0x53c0f8(_0x4860db._0x5267ee,0x2d)]();}['schedule'+'RelayRec'+_0x528821(-0x10f,-0x126)](){const _0x1f6514={_0x2a2cc2:0x14a,_0x3554f6:0x267,_0x207f29:0x16,_0x5c87f1:0x154,_0x1ba48a:0x14f,_0x47fe0c:0x2a8,_0x3c0bd5:0x23b,_0x3ac503:0x126,_0x39aa63:0x310,_0x3fdb49:0xd9,_0x4a27a1:0x9e,_0x516bcd:0x17c,_0x52e0ae:0x1f8,_0x30c91a:0x2c9,_0x214c82:0x1a0,_0x118eee:0x267},_0x435411={_0x38b27c:0x185,_0x3b2f55:0x715,_0x3623cc:0x957,_0x1ade58:0x4f,_0xae7a2d:0x7};if(this[_0x215e7e(_0x1f6514._0x2a2cc2,0x1d3)]||this[_0x3b31dd(0x131,0x160)+_0x3b31dd(0x189,_0x1f6514._0x3554f6)])return;const _0x3e084a=this['options'][_0x215e7e(0x46,0x1a0)+_0x215e7e(-0x1d,-_0x1f6514._0x207f29)+_0x215e7e(_0x1f6514._0x5c87f1,-0x50)]??RECONNECT_BASE_DELAY_MS;function _0x215e7e(_0x5c0adf,_0x1554b4){return _0x684713(_0x5c0adf,_0x1554b4- -0x37a);}function _0x3b31dd(_0x1b2b70,_0x2d05ca){return _0x684713(_0x1b2b70,_0x2d05ca- -0x3ba);}const _0xc15870=this[_0x215e7e(0x328,0x282)]['reconnec'+'tMaxDela'+_0x3b31dd(0x18a,0xfb)]??RECONNECT_MAX_DELAY_MS,_0x5651fb=Math[_0x215e7e(_0x1f6514._0x1ba48a,_0x1f6514._0x47fe0c)](_0xc15870,_0x3e084a*Math[_0x3b31dd(_0x1f6514._0x3c0bd5,_0x1f6514._0x3ac503)](0x1,this[_0x3b31dd(-_0x1f6514._0x39aa63,-0x205)+_0x215e7e(0x33e,0x15d)]));this[_0x3b31dd(0x342,_0x1f6514._0x3fdb49)](_0x215e7e(-0x26b,-0x31)+_0x3b31dd(_0x1f6514._0x4a27a1,_0x1f6514._0x516bcd)+_0x215e7e(-0xef,-0x122)+_0x3b31dd(-0x2a5,-_0x1f6514._0x52e0ae)+'s='+_0x5651fb),this[_0x215e7e(_0x1f6514._0x30c91a,_0x1f6514._0x214c82)+_0x3b31dd(0x36c,_0x1f6514._0x118eee)]=setTimeout(()=>{function _0x18d825(_0x13617d,_0xec8ac1){return _0x3b31dd(_0x13617d,_0xec8ac1-0x6f0);}this[_0x9a56e0(_0x435411._0x38b27c,0x2b5)+_0x18d825(_0x435411._0x3b2f55,_0x435411._0x3623cc)]=null;function _0x9a56e0(_0x5cbc6b,_0x5dd06f){return _0x3b31dd(_0x5cbc6b,_0x5dd06f-0x155);}void this['connectR'+_0x9a56e0(_0x435411._0x1ade58,_0x435411._0xae7a2d)]();},_0x5651fb);}['schedule'+_0x684713(0x307,0x1af)+'econnect'](){const _0x19f24d={_0x2147b8:0x300,_0x25c3d5:0x36e,_0x5b758d:0x4ae,_0x21122:0x652,_0x232fcd:0x107,_0x3f43b4:0x2a7,_0x16d9e0:0x58,_0x50f094:0x390,_0x59f59e:0x5a2,_0x1c6bf2:0x102,_0x4d6cde:0x331,_0x322d3d:0x85,_0x5bbf28:0x28f,_0x286e5f:0x2b6,_0x454b7e:0x157},_0x56ac05={_0x2d5a4c:0x487,_0x44c547:0x178,_0x25c992:0x749,_0x2053d5:0x630,_0x1955c6:0x75,_0x336dc5:0x4c2},_0x529d91={_0x13115e:0x27a},_0x2ff34b={_0xc8757:0x12a};function _0x3171e4(_0x4ab68a,_0x16bb69){return _0x684713(_0x4ab68a,_0x16bb69- -_0x2ff34b._0xc8757);}function _0x1e0739(_0x5dc077,_0x408ca5){return _0x684713(_0x408ca5,_0x5dc077- -_0x529d91._0x13115e);}const _0x280414=summarizePendingGatewayMessages(this[_0x1e0739(_0x19f24d._0x2147b8,0x45c)+'atewayMe'+_0x1e0739(0x145,_0x19f24d._0x25c3d5)])[_0x3171e4(0x3df,_0x19f24d._0x5b758d)+'equests'];if(this[_0x3171e4(_0x19f24d._0x21122,0x423)]||this['gatewayR'+_0x3171e4(_0x19f24d._0x232fcd,_0x19f24d._0x3f43b4)+'r']||!this[_0x3171e4(_0x19f24d._0x16d9e0,0x258)+_0x3171e4(_0x19f24d._0x50f094,0x37f)]()||!shouldKeepGatewayConnected(this[_0x1e0739(0x37a,_0x19f24d._0x59f59e)][_0x1e0739(_0x19f24d._0x1c6bf2,0x338)+'unt'],_0x280414))return;const _0x433ecf=this[_0x1e0739(0x382,_0x19f24d._0x4d6cde)]['gatewayR'+_0x1e0739(_0x19f24d._0x322d3d,0x1ab)+_0x1e0739(0x23b,-0x24)]??GATEWAY_RETRY_DELAY_MS;this[_0x1e0739(_0x19f24d._0x5bbf28,_0x19f24d._0x286e5f)+_0x1e0739(_0x19f24d._0x454b7e,0x2d9)+'r']=setTimeout(()=>{function _0x41b3ef(_0x384c0e,_0x1ea07a){return _0x3171e4(_0x384c0e,_0x1ea07a-0x148);}function _0x4c6f64(_0x438c33,_0x401b71){return _0x3171e4(_0x401b71,_0x438c33- -0x1e4);}this[_0x4c6f64(0x1fb,_0x56ac05._0x2d5a4c)+_0x4c6f64(0xc3,-_0x56ac05._0x44c547)+'r']=null,this[_0x41b3ef(_0x56ac05._0x25c992,_0x56ac05._0x2053d5)+_0x4c6f64(0x5,-_0x56ac05._0x1955c6)+_0x41b3ef(_0x56ac05._0x336dc5,0x481)]();},_0x433ecf);}[_0x528821(0xcc,-0xc5)+_0x684713(0x1f0,0x256)](){const _0x395629={_0x48ebc9:0x7ce,_0xf3b700:0x4ae,_0x508f53:0x71c,_0x1c2fa6:0x6a9,_0x24672c:0x57d,_0x50840e:0x93c,_0x10282b:0x89b,_0x1505db:0x3c7},_0x261ce9={_0x48a2cb:0x851,_0x350ee6:0xd3,_0x375b5f:0xca,_0xfadba2:0x23f,_0x3c6e0c:0x288,_0x5b8dd5:0x1da,_0xcb3055:0x3ff,_0x2f6d08:0x2ee,_0x408724:0x2cf,_0x5ed9d1:0x64f,_0x324f1:0x1ea,_0x5ddf8c:0x763,_0x150111:0x6ce},_0x5d4d25={_0x404e0a:0x17f},_0x3a0b3f={_0x46792a:0x5e2},_0x4c627f={_0x280b8c:0x376},_0x5e4265={};_0x5e4265[_0x8e7b8e(_0x395629._0x48ebc9,0x93e)]=_0x395cdc(0x237,_0x395629._0xf3b700)+_0x8e7b8e(0x60b,_0x395629._0x508f53)+'timed\x20ou'+'t';function _0x395cdc(_0x5269bd,_0x34bb94){return _0x528821(_0x5269bd,_0x34bb94-_0x4c627f._0x280b8c);}function _0x8e7b8e(_0x55db65,_0x56e5a3){return _0x528821(_0x56e5a3,_0x55db65-_0x3a0b3f._0x46792a);}const _0x2c00eb=_0x5e4265;this[_0x8e7b8e(_0x395629._0x1c2fa6,_0x395629._0x24672c)+'tbeat'](),this['heartbea'+_0x8e7b8e(0x961,0x6c5)]=setInterval(()=>{const _0x128fec=this['relaySoc'+_0x4294e6(_0x261ce9._0x48a2cb,0x908)];if(!_0x128fec||_0x128fec[_0x5df56e(-_0x261ce9._0x350ee6,-0x280)+'te']!==_0x36f378[_0x5df56e(0x18e,0x1b1)])return;function _0x5df56e(_0x380b35,_0x41e1cc){return _0x8e7b8e(_0x380b35- -0x6fe,_0x41e1cc);}function _0x4294e6(_0x4724fe,_0x5d2f31){return _0x8e7b8e(_0x4724fe- -_0x5d4d25._0x404e0a,_0x5d2f31);}this[_0x5df56e(-_0x261ce9._0x375b5f,0x1cf)+_0x5df56e(0x3f,0x18a)+_0x5df56e(_0x261ce9._0xfadba2,0x477)]();const _0x59b36d=this[_0x4294e6(0x7bd,0x6cb)][_0x4294e6(0x4b4,0x42b)+_0x5df56e(_0x261ce9._0x3c6e0c,0x3fb)+'Ms']??HEARTBEAT_TIMEOUT_MS;if(Date[_0x5df56e(_0x261ce9._0x5b8dd5,0x2ff)]()-this[_0x4294e6(0x59c,_0x261ce9._0xcb3055)+'yActivit'+_0x5df56e(0xf7,_0x261ce9._0x2f6d08)]>_0x59b36d){this[_0x5df56e(0xd5,_0x261ce9._0x408724)](_0x2c00eb[_0x4294e6(_0x261ce9._0x5ed9d1,0x548)]),_0x128fec[_0x5df56e(_0x261ce9._0x324f1,0x271)+'e']();return;}_0x128fec[_0x4294e6(_0x261ce9._0x5ddf8c,_0x261ce9._0x150111)]();},this[_0x8e7b8e(_0x395629._0x50840e,_0x395629._0x10282b)][_0x395cdc(0x16a,_0x395629._0x1505db)+'tInterva'+_0x8e7b8e(0x9b6,0xae3)]??HEARTBEAT_INTERVAL_MS);}[_0x528821(-0xdb,0xc7)+_0x528821(0xbf,0x23c)](){const _0x5111f3={_0x54e1e0:0xaf,_0x341072:0x8b7,_0x30d1db:0x6c,_0x98f800:0x9ec},_0x2fd58b={_0x152543:0x287},_0x444aec={_0x648412:0x296};function _0x35deba(_0x33aaf2,_0x27bdf1){return _0x684713(_0x33aaf2,_0x27bdf1-_0x444aec._0x648412);}function _0x563dd9(_0x562f31,_0x20a0a9){return _0x684713(_0x562f31,_0x20a0a9- -_0x2fd58b._0x152543);}this[_0x563dd9(_0x5111f3._0x54e1e0,0x6c)+_0x35deba(0xa7c,_0x5111f3._0x341072)]&&(clearInterval(this[_0x35deba(0x3d1,0x589)+'tTimer']),this[_0x563dd9(0x1b2,_0x5111f3._0x30d1db)+_0x35deba(_0x5111f3._0x98f800,_0x5111f3._0x341072)]=null);}[_0x528821(0x20,0x52)+_0x528821(0x1b8,0x15b)+_0x684713(0x3fc,0x5fd)](){const _0x1d1aa8={_0x531883:0x82,_0x5a4881:0x104,_0x11e5b2:0x147,_0x283ddc:0x466,_0x1f357a:0x239,_0x5496aa:0x11b,_0x34b0b7:0x93,_0x398350:0x20b,_0x159c2a:0x315,_0x2c3cf9:0x779,_0x5220b3:0x58d,_0x49652b:0x44b,_0x1a4789:0x2c6,_0x593639:0x5fd,_0x4514de:0x466,_0x1ebf7a:0x107,_0x28443b:0x58,_0x1c494c:0x292,_0x3f557e:0x630,_0x4bc2d4:0x19f,_0x291230:0x346,_0x1650ff:0x4a7,_0x216ff6:0x1ef,_0x53d2ed:0x346,_0x1f3e95:0x583,_0x4c0593:0x626,_0x4c5e0b:0x1e4,_0x5a162d:0x28b,_0x28db71:0x11d,_0x50f9a2:0x143,_0x3546e8:0x80e,_0x36baec:0x5a2};if(this[_0x5e2480(0xb2,-_0x1d1aa8._0x531883)+_0x5e2480(_0x1d1aa8._0x5a4881,-_0x1d1aa8._0x11e5b2)+_0xc1a8f0(0x3e9,_0x1d1aa8._0x283ddc)+'s'][_0xc1a8f0(0x392,_0x1d1aa8._0x1f357a)]===0x0)return;function _0x5e2480(_0x5971cc,_0x243ff6){return _0x528821(_0x5971cc,_0x243ff6- -0x93);}function _0xc1a8f0(_0x531ba6,_0x1fd1cb){return _0x528821(_0x531ba6,_0x1fd1cb-0x37a);}const _0x5e1b4d=this['options'][_0x5e2480(0x1bc,_0x1d1aa8._0x5496aa)+_0x5e2480(_0x1d1aa8._0x34b0b7,0x59)+_0x5e2480(_0x1d1aa8._0x398350,_0x1d1aa8._0x159c2a)+_0xc1a8f0(_0x1d1aa8._0x2c3cf9,_0x1d1aa8._0x5220b3)]??CONNECT_HANDSHAKE_WARN_DELAY_MS,_0x282a01=Date[_0x5e2480(0xb7,0x263)]();for(const [_0x2127d5,_0x3965bc]of this['inFlight'+_0xc1a8f0(_0x1d1aa8._0x49652b,_0x1d1aa8._0x1a4789)+_0xc1a8f0(_0x1d1aa8._0x593639,_0x1d1aa8._0x4514de)+'s'][_0x5e2480(_0x1d1aa8._0x1ebf7a,0x75)]()){const _0x24d828=_0x282a01-_0x3965bc[_0x5e2480(_0x1d1aa8._0x28443b,_0x1d1aa8._0x1c494c)+_0xc1a8f0(0x395,_0x1d1aa8._0x3f557e)];if(_0x3965bc[_0x5e2480(0xca,0x1e9)+_0xc1a8f0(_0x1d1aa8._0x4bc2d4,_0x1d1aa8._0x291230)+'d']||_0x24d828<_0x5e1b4d)continue;_0x3965bc[_0xc1a8f0(_0x1d1aa8._0x1650ff,0x5f6)+_0xc1a8f0(_0x1d1aa8._0x216ff6,_0x1d1aa8._0x53d2ed)+'d']=!![],this['log'](_0xc1a8f0(_0x1d1aa8._0x1f3e95,_0x1d1aa8._0x4c0593)+'connect\x20'+_0xc1a8f0(_0x1d1aa8._0x4c5e0b,_0x1d1aa8._0x5a162d)+'nding\x20re'+'qId='+_0x2127d5+_0x5e2480(-_0x1d1aa8._0x28db71,-_0x1d1aa8._0x50f9a2)+_0x3965bc[_0xc1a8f0(0x6a8,0x686)]+('\x20elapsed'+_0xc1a8f0(_0x1d1aa8._0x3546e8,_0x1d1aa8._0x36baec))+_0x24d828);}}[_0x528821(0x2a7,0xf4)+_0x528821(0xe4,-0x9a)+_0x684713(0x4a7,0x43f)+'e'](_0x3c71de){const _0x41cc8c={_0x35b060:0x584,_0x58246c:0x4d2,_0x1f0fba:0x2b0,_0x52b378:0x43,_0x22f42e:0x3c9,_0x28b41e:0x27,_0x50fd93:0x35,_0x573e51:0x270};function _0x36dc26(_0x4ed37c,_0x2855cc){return _0x684713(_0x4ed37c,_0x2855cc- -0x14f);}this[_0x4cca24(_0x41cc8c._0x35b060,_0x41cc8c._0x58246c)+'atewayMe'+'ssages'][_0x36dc26(_0x41cc8c._0x1f0fba,_0x41cc8c._0x52b378)]>=MAX_PENDING_GATEWAY_MESSAGES&&this['pendingG'+'atewayMe'+_0x4cca24(_0x41cc8c._0x22f42e,0x286)][_0x36dc26(0x215,_0x41cc8c._0x28b41e)]();function _0x4cca24(_0x2d69fa,_0x416212){return _0x684713(_0x416212,_0x2d69fa-0xa);}this[_0x4cca24(_0x41cc8c._0x35b060,0x33d)+'atewayMe'+_0x36dc26(_0x41cc8c._0x50fd93,_0x41cc8c._0x573e51)]['push'](_0x3c71de);}[_0x528821(-0x2c1,-0x115)+_0x528821(0x1c,0xca)+_0x684713(0x2b5,0x51f)+'e'](){const _0x23c941={_0x4e457d:0x174,_0x19d686:0x270,_0x3704a5:0x216,_0x1f0c2a:0x89,_0x521a71:0x16c,_0x578c92:0x481,_0x3cb1cc:0x5c8,_0x2d8111:0x140,_0x4c8baf:0x27c,_0x93dda6:0x677,_0x3ad376:0x4c4,_0x6414fe:0xf0,_0x41935c:0x55c,_0x5d6088:0x391,_0x516988:0x5cd,_0xae389f:0x45d,_0x2f286f:0x62d,_0x21651b:0x5ab},_0xa96b79={_0xcc1a58:0x3a7},_0x1b357b={_0x5074ee:0xba},_0x5a0d03={'reIQN':function(_0xd3c561,_0x597a56){return _0xd3c561(_0x597a56);},'eupUm':function(_0x107ccd,_0x158640){return _0x107ccd>_0x158640;}};function _0x1a5f3a(_0x7215ed,_0x22a84e){return _0x528821(_0x7215ed,_0x22a84e- -_0x1b357b._0x5074ee);}const _0x2b2214=_0x5a0d03[_0x1a5f3a(0x1cf,_0x23c941._0x4e457d)](summarizePendingGatewayMessages,this[_0x1a5f3a(_0x23c941._0x19d686,0x21e)+_0x1a5f3a(0x26a,_0x23c941._0x3704a5)+'ssages']);function _0xc8641f(_0xe77323,_0x4ed92d){return _0x528821(_0xe77323,_0x4ed92d-_0xa96b79._0xcc1a58);}if(_0x2b2214[_0x1a5f3a(-_0x23c941._0x1f0c2a,_0x23c941._0x521a71)]===0x0||_0x5a0d03[_0xc8641f(_0x23c941._0x578c92,_0x23c941._0x3cb1cc)](_0x2b2214[_0x1a5f3a(_0x23c941._0x2d8111,_0x23c941._0x4c8baf)+'equests'],0x0))return;this['pendingG'+_0xc8641f(0x5d2,_0x23c941._0x93dda6)+_0xc8641f(0x688,_0x23c941._0x3ad376)]=[],this['log'](_0x1a5f3a(-0x8a,_0x23c941._0x6414fe)+'stale\x20id'+_0x1a5f3a(-0x104,-0x1c1)+'ay\x20queue'+_0xc8641f(_0x23c941._0x41935c,_0x23c941._0x5d6088)+_0x2b2214[_0xc8641f(0x3b0,_0x23c941._0x516988)]+_0x1a5f3a(0x437,0x210)+_0x2b2214[_0xc8641f(0x2ed,_0x23c941._0xae389f)+'t']+_0xc8641f(0x394,_0x23c941._0x2f286f)+_0x2b2214[_0x1a5f3a(_0x23c941._0x21651b,0x330)]);}[_0x684713(0x48f,0x63d)+_0x528821(0x3f2,0x275)+_0x684713(0x2e3,0x23c)](_0x2098eb,_0xc86908){const _0x1d80f5={_0x2dd52a:0x54f,_0xa035d5:0x526,_0x56e06e:0x288,_0x238a38:0x475,_0x52077d:0x5eb,_0x41446f:0x548,_0x35addf:0x3e3,_0xb1911b:0x7fc,_0x47ed42:0x7b0,_0x3d202d:0x552,_0x13c84b:0x598,_0x41e1c9:0x3b0,_0x18d570:0x300,_0x4ab661:0x7cd,_0x1a0065:0x6d4,_0x5c9927:0x34e},_0xcbcf78={_0x4af20d:0x156};function _0x108112(_0x1287b3,_0x477898){return _0x684713(_0x1287b3,_0x477898- -0xce);}const _0x33f440={};_0x33f440['FoADs']=_0x108112(-0xe9,0x18c)+'d';const _0x50073c=_0x33f440,_0x2717ef=Date['now'](),_0x3d104b=new Map(this[_0x108112(_0x1d80f5._0x2dd52a,_0x1d80f5._0xa035d5)][_0x3e1131(0x3b0,_0x1d80f5._0x56e06e)+_0x3e1131(0x7cd,0x9de)]['map'](_0x96e02c=>[_0x96e02c['id'],{..._0x96e02c}])),_0x333dae=_0x3d104b[_0x3e1131(_0x1d80f5._0x238a38,_0x1d80f5._0x52077d)](_0x2098eb)??{'id':_0x2098eb,'label':_0xc86908,'state':_0x108112(-0x15,0x18c)+'d','lastSeenMs':_0x2717ef};_0x333dae[_0x3e1131(0x38f,_0x1d80f5._0x41446f)]=_0xc86908,_0x333dae[_0x108112(0x3c9,0x313)]=_0x50073c[_0x3e1131(_0x1d80f5._0x35addf,0x584)],_0x333dae[_0x3e1131(0x57d,_0x1d80f5._0xb1911b)+'Ms']=_0x2717ef;function _0x3e1131(_0x823975,_0x43abd4){return _0x684713(_0x43abd4,_0x823975-_0xcbcf78._0x4af20d);}_0x3d104b['set'](_0x2098eb,_0x333dae);const _0xd95ada=[..._0x3d104b[_0x108112(0x66c,0x545)]()][_0x108112(_0x1d80f5._0x47ed42,_0x1d80f5._0x3d202d)]((_0xb0c571,_0x2290ec)=>_0x2290ec[_0x3e1131(0x57d,0x5b8)+'Ms']-_0xb0c571['lastSeen'+'Ms'])[_0x108112(0x46a,_0x1d80f5._0x13c84b)](0x0,MAX_DEVICE_DETAILS),_0x4a4b2e={};_0x4a4b2e[_0x3e1131(_0x1d80f5._0x41e1c9,_0x1d80f5._0x18d570)+_0x3e1131(_0x1d80f5._0x4ab661,_0x1d80f5._0x1a0065)]=_0xd95ada,this[_0x3e1131(0x366,_0x1d80f5._0x5c9927)+'apshot'](_0x4a4b2e);}[_0x684713(0x785,0x60e)+_0x684713(0x5e1,0x68d)+'t'](){const _0x5f0507={_0x4f978a:0x67f,_0x2fabd7:0xe0,_0x36258b:0x78c,_0xd605ee:0x6d5,_0x342b7f:0x152},_0x14035d={_0x200da6:0x76};function _0x387ffc(_0x27bfe5,_0x167a5f){return _0x684713(_0x27bfe5,_0x167a5f- -_0x14035d._0x200da6);}function _0xd5cc76(_0x4fb186,_0x1d3aa6){return _0x684713(_0x1d3aa6,_0x4fb186-0x115);}this[_0x387ffc(0x16,0x19a)+_0xd5cc76(0x467,0x20e)]({'connectedDevices':this[_0x387ffc(_0x5f0507._0x4f978a,0x57e)][_0x387ffc(_0x5f0507._0x2fabd7,0x1e4)+_0xd5cc76(_0x5f0507._0x36258b,_0x5f0507._0xd605ee)][_0x387ffc(0x2bf,_0x5f0507._0x342b7f)](_0x2c76ca=>({..._0x2c76ca,'state':_0x387ffc(0x3f9,0x222)}))});}['addPendi'+_0x528821(-0x1,-0x2f)+_0x528821(0x1c6,0x3d2)](_0x42a867){const _0x4d80c4={_0x145fd7:0x446,_0x502d23:0x285,_0x9c3bcf:0x2d3,_0x212405:0x395,_0x52761d:0x476,_0x274b30:0x26f,_0x251400:0x20b,_0x2c4181:0x685,_0x1f5496:0x5df,_0x2fdaf1:0x702,_0x1c880b:0x61,_0x2bae3a:0x2db,_0x127544:0x3a,_0x1d4b09:0x123,_0x542a33:0x8bc,_0x389540:0x172,_0x369f8b:0x17c,_0x324a24:0x181,_0x91f96f:0x104,_0x4b349b:0x50,_0x426472:0x210,_0x508b16:0x1ad,_0x42a95e:0x7ac,_0x28c7dd:0x80d},_0x260dee={_0x2ea546:0x321};if(this['snapshot'][_0x3c3a60(_0x4d80c4._0x145fd7,_0x4d80c4._0x502d23)+_0x446392(0xb9f,0xa28)+_0x446392(0x602,0x87b)][_0x3c3a60(0x3b7,0x2fd)](_0x1b7a25=>_0x1b7a25['requestI'+'d']===_0x42a867[_0x3c3a60(0x352,0x30a)+'d']))return;function _0x446392(_0x3dc261,_0x4e2977){return _0x684713(_0x3dc261,_0x4e2977-0x3b0);}function _0x3c3a60(_0x2eda09,_0x1a809a){return _0x684713(_0x2eda09,_0x1a809a- -_0x260dee._0x2ea546);}const _0x4fcb07=[...this[_0x3c3a60(0xed,_0x4d80c4._0x9c3bcf)][_0x3c3a60(_0x4d80c4._0x212405,_0x4d80c4._0x502d23)+_0x3c3a60(_0x4d80c4._0x52761d,0x357)+'sts'],_0x42a867][_0x3c3a60(_0x4d80c4._0x274b30,0x345)](-MAX_PENDING_PAIR_REQUESTS),_0x10df83={};_0x10df83[_0x3c3a60(_0x4d80c4._0x251400,0x285)+_0x3c3a60(0x504,0x357)+_0x446392(_0x4d80c4._0x2c4181,0x87b)]=_0x4fcb07,this['updateSn'+_0x446392(_0x4d80c4._0x1f5496,_0x4d80c4._0x2fdaf1)](_0x10df83),this[_0x3c3a60(_0x4d80c4._0x1c880b,_0x4d80c4._0x2bae3a)][_0x3c3a60(-_0x4d80c4._0x127544,_0x4d80c4._0x1d4b09)+_0x446392(0x944,_0x4d80c4._0x542a33)+'uest']?.(_0x42a867),this[_0x3c3a60(0x332,_0x4d80c4._0x389540)](_0x3c3a60(_0x4d80c4._0x369f8b,_0x4d80c4._0x324a24)+_0x3c3a60(_0x4d80c4._0x91f96f,_0x4d80c4._0x4b349b)+_0x3c3a60(-_0x4d80c4._0x426472,-_0x4d80c4._0x508b16)+'uestId='+_0x42a867['requestI'+'d']+(_0x446392(0x542,_0x4d80c4._0x42a95e)+'d=')+(_0x42a867['deviceId']||_0x446392(0x814,_0x4d80c4._0x28c7dd)+'>'));}[_0x684713(0x2bc,0x3c9)+_0x684713(0x34d,0x412)+_0x684713(0xc2,0x249)](_0xf2825b,_0x1dfa38){const _0x3d34eb={_0x5ab759:0x5de,_0x3d9ee9:0x57b,_0x12744d:0x278,_0x38622d:0x616,_0x3fa19:0x248,_0x1e0685:0x402,_0x29308f:0x692,_0x324881:0x4cb,_0x143160:0x421},_0x432228=this['snapshot'][_0x1f1204(0x579,_0x3d34eb._0x5ab759)+_0x1f1204(0x7fe,0x6b0)+_0x19eabd(0x740,_0x3d34eb._0x3d9ee9)][_0x19eabd(0x4ea,_0x3d34eb._0x12744d)](_0x4446bd=>_0x4446bd['requestI'+'d']===_0xf2825b?{..._0x4446bd,'status':_0x1dfa38==='approved'||_0x1dfa38===_0x1f1204(0x329,0x19f)?_0x1dfa38:_0x4446bd['status']}:_0x4446bd),_0x46e0a5={};_0x46e0a5[_0x1f1204(0x67e,_0x3d34eb._0x5ab759)+'airReque'+_0x1f1204(_0x3d34eb._0x38622d,0x503)]=_0x432228,this[_0x1f1204(0x1a5,_0x3d34eb._0x3fa19)+_0x19eabd(0x262,_0x3d34eb._0x1e0685)](_0x46e0a5);function _0x19eabd(_0x530062,_0x2ac1fc){return _0x528821(_0x530062,_0x2ac1fc-0x352);}function _0x1f1204(_0x509200,_0x1d2276){return _0x528821(_0x509200,_0x1d2276-0x2da);}this[_0x1f1204(_0x3d34eb._0x29308f,_0x3d34eb._0x324881)](_0x19eabd(0x620,0x552)+_0x1f1204(0x826,0x6de)+_0x1f1204(_0x3d34eb._0x143160,0x29f)+'questId='+_0xf2825b+('\x20decisio'+'n=')+_0x1dfa38);}['updateSn'+_0x528821(0x18c,0xb0)](_0x36b024){const _0x13da09={_0x4f9603:0x6e,_0x47bf86:0x820,_0x364f52:0x7c4,_0x5ea139:0x8a8,_0x1efddc:0x373,_0x4150e0:0x310},_0x29d5ea={_0x1c5bf4:0x1db};function _0x54de5c(_0x51579b,_0x3fe291){return _0x684713(_0x3fe291,_0x51579b-0x22c);}Object[_0x3001e8(-_0x13da09._0x4f9603,-0x242)](this[_0x54de5c(_0x13da09._0x47bf86,0xa2b)],_0x36b024,{'lastUpdatedMs':Date[_0x54de5c(_0x13da09._0x364f52,_0x13da09._0x5ea139)]()});function _0x3001e8(_0x56a34e,_0x85012e){return _0x684713(_0x85012e,_0x56a34e- -_0x29d5ea._0x1c5bf4);}this[_0x3001e8(0x421,0x379)][_0x3001e8(-0xd,-0x6e)]?.(this[_0x54de5c(0x51a,_0x13da09._0x1efddc)+_0x54de5c(0x48d,_0x13da09._0x4150e0)]());}['log'](_0x553fc8){const _0x37356c={_0x230766:0x2f5,_0x531e6f:0x273},_0x2b9d36={_0x50478c:0x182};function _0x320e55(_0x258b42,_0x1a00e7){return _0x684713(_0x258b42,_0x1a00e7-_0x2b9d36._0x50478c);}function _0x4b87f8(_0x1444e2,_0x582686){return _0x684713(_0x582686,_0x1444e2- -0xa2);}this[_0x320e55(0x59f,0x77e)][_0x4b87f8(_0x37356c._0x230766,_0x37356c._0x531e6f)]?.(_0x553fc8);}[_0x528821(0x201,0xe0)+_0x528821(0x85,0x207)](){const _0x39b55c={_0x204192:0x59a,_0x134987:0x5fe},_0x410b4d={_0x42123f:0x210},_0x2adcf2={_0x17c17e:0x57};function _0x5e59c0(_0x315dcb,_0xede73){return _0x528821(_0x315dcb,_0xede73-_0x2adcf2._0x17c17e);}function _0x549db8(_0x27260c,_0x4496ff){return _0x528821(_0x27260c,_0x4496ff-_0x410b4d._0x42123f);}return this['relaySoc'+_0x549db8(_0x39b55c._0x204192,_0x39b55c._0x134987)]?.[_0x549db8(0x312,0x259)+'te']===_0x36f378['OPEN'];}['isGatewa'+_0x528821(0x4f5,0x3d1)](){const _0x37406b={_0x1a2c80:0x37b,_0x3c4de2:0x78,_0x4d4ce5:0x13b,_0x3a7468:0x319,_0x126e94:0x39c};function _0x1f50f8(_0x5d6650,_0x2bd505){return _0x684713(_0x2bd505,_0x5d6650- -0x2e);}function _0x3c8008(_0x37d44f,_0x1d997c){return _0x684713(_0x37d44f,_0x1d997c- -0x1b0);}return this['gatewayS'+_0x3c8008(_0x37406b._0x1a2c80,0x2e7)]?.[_0x3c8008(-_0x37406b._0x3c4de2,_0x37406b._0x4d4ce5)+'te']===_0x36f378[_0x3c8008(_0x37406b._0x3a7468,_0x37406b._0x126e94)];}[_0x528821(0x89,0x224)+_0x528821(0x246,0x36a)](){const _0xf84bfa={_0x1660dc:0x1e1,_0x2b539a:0x228,_0x54f226:0x2e8,_0x5488ab:0x2e8,_0x290c75:0x5f8,_0xc98f84:0x60d,_0x1fd6a9:0x525,_0x3df7e5:0x2e8,_0x166cfc:0x1d0,_0x5425a2:0x3a5,_0x32dded:0x1d0,_0x746c3:0x73a},_0x4b2d76={_0x3d0978:0x97};this['stopHear'+_0x4e1e5b(0x5bc,0x615)]();function _0xe1b7ce(_0x17d22e,_0x3cc32c){return _0x528821(_0x17d22e,_0x3cc32c- -_0x4b2d76._0x3d0978);}function _0x4e1e5b(_0x8afa2a,_0x3bf2df){return _0x528821(_0x3bf2df,_0x8afa2a-0x380);}this[_0xe1b7ce(0x189,_0xf84bfa._0x1660dc)+_0xe1b7ce(_0xf84bfa._0x2b539a,_0xf84bfa._0x54f226)]&&(clearTimeout(this['reconnec'+_0xe1b7ce(0x1e4,_0xf84bfa._0x5488ab)]),this[_0x4e1e5b(_0xf84bfa._0x290c75,_0xf84bfa._0xc98f84)+_0xe1b7ce(_0xf84bfa._0x1fd6a9,_0xf84bfa._0x3df7e5)]=null),this[_0xe1b7ce(0x3f5,_0xf84bfa._0x166cfc)+_0x4e1e5b(0x4af,0x59d)+'r']&&(clearTimeout(this[_0x4e1e5b(0x5e7,0x706)+'etryTime'+'r']),this[_0xe1b7ce(_0xf84bfa._0x5425a2,_0xf84bfa._0x32dded)+_0x4e1e5b(0x4af,_0xf84bfa._0x746c3)+'r']=null);}['elapsedS'+'ince'](_0x2a389e){const _0x477023={_0x3ed407:0x4b8,_0x42170a:0x67a,_0x54e036:0x439,_0x7d5482:0x1f2,_0x340933:0x5d2,_0x4c1bf8:0x5d1,_0x472fa1:0x41f,_0x21c215:0x563,_0xdcb2d:0x7f6},_0x1cc726={_0xca3288:0x2d3};function _0x22cb64(_0x2dae46,_0x389737){return _0x528821(_0x2dae46,_0x389737-_0x1cc726._0xca3288);}const _0x2f9d0e={};_0x2f9d0e[_0x22cb64(_0x477023._0x3ed407,_0x477023._0x42170a)]=function(_0x13a335,_0x1ff77c){return _0x13a335==_0x1ff77c;},_0x2f9d0e[_0x22cb64(_0x477023._0x54e036,_0x477023._0x7d5482)]=function(_0x1bc68b,_0x15bae9){return _0x1bc68b-_0x15bae9;};function _0x4f6f0b(_0x315803,_0x2265de){return _0x528821(_0x2265de,_0x315803-0x500);}const _0x1b4d02=_0x2f9d0e;return _0x1b4d02[_0x22cb64(_0x477023._0x340933,0x67a)](_0x2a389e,null)?null:Math[_0x22cb64(_0x477023._0x4c1bf8,0x511)](0x0,_0x1b4d02[_0x4f6f0b(_0x477023._0x472fa1,_0x477023._0x21c215)](Date[_0x4f6f0b(_0x477023._0xdcb2d,0x76d)](),_0x2a389e));}};function shouldKeepGatewayConnected(_0x553455,_0x2ea489){return _0x553455>0x0||_0x2ea489>0x0;}function shouldScheduleGatewayIdleClose(_0x1bdcfb,_0x1dd8f7,_0x4a3a14){return _0x4a3a14&&!shouldKeepGatewayConnected(_0x1bdcfb,_0x1dd8f7);}function shouldRecycleGatewayForFreshClient(_0x191ef1,_0x3d0740,_0x22f2a3,_0xef063){const _0x258a4c={_0x20248c:0xce};function _0xde7202(_0x3b8d6d,_0x498964){return _0x684713(_0x3b8d6d,_0x498964- -0x85);}const _0x374ca9={};function _0x59fdae(_0x17fa22,_0x354110){return _0x684713(_0x354110,_0x17fa22- -_0x258a4c._0x20248c);}_0x374ca9[_0x59fdae(0x39a,0x213)]=function(_0xd0c7a6,_0x2b76da){return _0xd0c7a6===_0x2b76da;};const _0x28f237=_0x374ca9;return _0x22f2a3&&_0x3d0740>0x0&&(_0x28f237[_0x59fdae(0x39a,0x3f3)](_0x191ef1,0x0)||_0xef063);}function summarizePendingGatewayMessages(_0xf72fba){const _0x10aab8={_0x312d4f:0x34a,_0x2152df:0x4e6,_0xb886c8:0x390,_0x57755a:0x5a,_0x36636e:0x36,_0x28089e:0x271,_0x51c4da:0x78e,_0x4828a0:0x554,_0x194a67:0x319,_0x359c85:0x4b4,_0x18d6b0:0x422,_0x14973d:0x220},_0x56f08e={_0x1553d9:0x373},_0x520810={_0xc187fe:0x138},_0x3b6cc5={};_0x3b6cc5[_0x1bed67(_0x10aab8._0x312d4f,0x40d)]=function(_0x4d5d51,_0x3c82f4){return _0x4d5d51===_0x3c82f4;};const _0x26e2c7=_0x3b6cc5,_0x3147cf={};_0x3147cf[_0x1bed67(_0x10aab8._0x2152df,_0x10aab8._0xb886c8)]=_0xf72fba[_0x1bed67(0x2f5,_0x10aab8._0x57755a)];function _0x1bed67(_0x8b78b0,_0x258fb2){return _0x684713(_0x8b78b0,_0x258fb2- -_0x520810._0xc187fe);}function _0x4050ac(_0x1a1de3,_0x3c0bc3){return _0x684713(_0x3c0bc3,_0x1a1de3- -_0x56f08e._0x1553d9);}_0x3147cf['connectR'+_0x4050ac(-_0x10aab8._0x36636e,-_0x10aab8._0x28089e)]=0x0,_0x3147cf['otherTex'+'t']=0x0,_0x3147cf[_0x4050ac(0x319,0x559)]=0x0;const _0x5f0626=_0x3147cf;for(const _0x2b556a of _0xf72fba){if(_0x26e2c7['HFQXE'](_0x2b556a['kind'],_0x1bed67(_0x10aab8._0x51c4da,_0x10aab8._0x4828a0))){_0x5f0626[_0x4050ac(_0x10aab8._0x194a67,0x326)]+=0x1;continue;}if(isConnectHandshakeRequest(_0x2b556a[_0x1bed67(0x596,_0x10aab8._0x359c85)])){_0x5f0626['connectR'+_0x1bed67(0x3f9,0x205)]+=0x1;continue;}_0x5f0626[_0x1bed67(_0x10aab8._0x18d6b0,_0x10aab8._0x14973d)+'t']+=0x1;}return _0x5f0626;}function dedupePendingGatewayMessages(_0x62fe73){const _0x55bf2c={_0x1d7e01:0x205,_0x160134:0x296,_0x28f869:0x75b,_0x2050f5:0x6e9,_0x5d937c:0x70f,_0xbf96b7:0x12e,_0x588b45:0x1df},_0x4e52b5={_0x40599c:0x4d},_0x2b14e1={'dLrbY':function(_0x51eb7c,_0x59e50e){return _0x51eb7c-_0x59e50e;},'pgLDA':function(_0x517b5b,_0x247ee6){return _0x517b5b(_0x247ee6);}};let _0x2876b9=-0x1;for(let _0x75c622=_0x2b14e1[_0x667054(0x332,0x43d)](_0x62fe73[_0x667054(_0x55bf2c._0x1d7e01,_0x55bf2c._0x160134)],0x1);_0x75c622>=0x0;_0x75c622-=0x1){const _0xdfa6eb=_0x62fe73[_0x75c622];if(_0xdfa6eb?.['kind']===_0x667054(0x65f,0x4ce)&&_0x2b14e1[_0x667054(0x5b1,_0x55bf2c._0x28f869)](isConnectHandshakeRequest,_0xdfa6eb['text'])){_0x2876b9=_0x75c622;break;}}function _0x667054(_0x1f1e6b,_0x3f3c75){return _0x684713(_0x3f3c75,_0x1f1e6b-0x73);}function _0x5351c7(_0x366fe5,_0x3eacb5){return _0x684713(_0x366fe5,_0x3eacb5-_0x4e52b5._0x40599c);}if(_0x2876b9<=0x0){const _0x4cfecb={};return _0x4cfecb[_0x667054(0x6bb,0x77b)]=[..._0x62fe73],_0x4cfecb[_0x5351c7(0x861,_0x55bf2c._0x2050f5)]=0x0,_0x4cfecb;}const _0x5bcac0=_0x62fe73[_0x667054(0x569,0x776)]((_0x46689f,_0x327ac9)=>_0x327ac9>=_0x2876b9||(_0x46689f[_0x667054(0x639,0x684)]!==_0x667054(0x65f,0x586)||!isConnectHandshakeRequest(_0x46689f[_0x5351c7(0x3a4,0x639)]))),_0x4ba8e8={};return _0x4ba8e8['messages']=_0x5bcac0,_0x4ba8e8[_0x667054(_0x55bf2c._0x5d937c,0x78c)]=_0x62fe73[_0x5351c7(_0x55bf2c._0xbf96b7,_0x55bf2c._0x588b45)]-_0x5bcac0[_0x667054(0x205,0x3e7)],_0x4ba8e8;}function prunePendingGatewayMessagesForFreshDemand(_0x364ad5){const _0xe2f845={_0x589f12:0x2f7,_0x576564:0x4d3,_0xee113d:0xae,_0x48a458:0x564,_0x558de4:0x4e2,_0x5a162e:0x121,_0x1f91a9:0x14e,_0x6da178:0x336,_0x399466:0x353,_0x2d83ab:0x36d,_0xb1f478:0xae,_0xd0ddde:0x337,_0x5b1e8d:0x582,_0x4372f2:0x4c5,_0xd35b85:0x3d8,_0x4aa114:0x373},_0x103af2={_0x2910af:0xe4},_0x5a240f={'bbRzO':_0x16c762(_0xe2f845._0x589f12,_0xe2f845._0x576564),'pQAtK':function(_0x482ca2,_0x4f18f9){return _0x482ca2(_0x4f18f9);}};if(_0x364ad5[_0x159ffc(_0xe2f845._0xee113d,0x6a)]===0x0){const _0x33f977={};return _0x33f977[_0x159ffc(_0xe2f845._0x48a458,0x786)]=[],_0x33f977['dropped']=0x0,_0x33f977;}let _0x3d1b5f=-0x1;for(let _0x36b4c1=_0x364ad5['length']-0x1;_0x36b4c1>=0x0;_0x36b4c1-=0x1){const _0x344962=_0x364ad5[_0x36b4c1];if(_0x344962?.[_0x159ffc(_0xe2f845._0x558de4,0x6c2)]===_0x5a240f[_0x159ffc(_0xe2f845._0x5a162e,0x20d)]&&_0x5a240f[_0x16c762(-_0xe2f845._0x1f91a9,0x5b)](isConnectHandshakeRequest,_0x344962[_0x16c762(_0xe2f845._0x589f12,_0xe2f845._0x6da178)])){_0x3d1b5f=_0x36b4c1;break;}}if(_0x3d1b5f===-0x1){const _0x54e38d={};return _0x54e38d[_0x16c762(_0xe2f845._0x399466,_0xe2f845._0x2d83ab)]=[],_0x54e38d[_0x159ffc(0x5b8,0x7e0)]=_0x364ad5[_0x159ffc(_0xe2f845._0xb1f478,_0xe2f845._0xd0ddde)],_0x54e38d;}function _0x159ffc(_0x5b2553,_0x2d4ab7){return _0x684713(_0x2d4ab7,_0x5b2553- -_0x103af2._0x2910af);}function _0x16c762(_0x3863aa,_0x3cbdd9){return _0x684713(_0x3cbdd9,_0x3863aa- -0x2f5);}const _0x5dcb8a=_0x364ad5[_0x159ffc(_0xe2f845._0x5b1e8d,_0xe2f845._0x4372f2)](_0x3d1b5f),_0x4523a8={};return _0x4523a8[_0x159ffc(0x564,_0xe2f845._0xd35b85)]=_0x5dcb8a,_0x4523a8[_0x159ffc(0x5b8,0x620)]=_0x364ad5[_0x16c762(-0x163,-_0xe2f845._0x4aa114)]-_0x5dcb8a['length'],_0x4523a8;}function patchConnectRequestGatewayAuth(_0x530f6d,_0x283dab){const _0x4ff3ca={_0x1c0522:0x90,_0x396a5f:0xc0,_0x217744:0x269,_0x18f3b2:0x115,_0x10a264:0x184,_0xb6239b:0x1cf,_0x57596c:0x167,_0x39b5e3:0x7b,_0x23fafa:0x2a9,_0x3e2fcd:0x115,_0x4cc5e2:0x29f,_0x4cfaaf:0x17a,_0x40b240:0x16e,_0x4386bf:0x2dd,_0x1e91ee:0x87,_0x5cf6f3:0x106,_0xf52606:0x2e7,_0x269195:0x16,_0x5bb7c5:0x131,_0x47f801:0x1af,_0x1be689:0x92,_0x1e6b2d:0x14b,_0x32f907:0x55,_0x428367:0xd7,_0x433c5d:0x41,_0x382acb:0x2dd,_0x2c8239:0x301,_0x33056b:0xc0,_0x485d90:0x162,_0x14f6d0:0x193,_0x58621a:0x18d,_0x4f92d1:0x23c,_0xdcfbfb:0x185},_0x530420={_0x1d26e9:0x6d},_0x2b622d={};_0x2b622d['OlqKe']=_0x1f944f(-_0x4ff3ca._0x1c0522,-_0x4ff3ca._0x396a5f),_0x2b622d[_0x1f944f(-_0x4ff3ca._0x217744,-_0x4ff3ca._0x18f3b2)]=function(_0x13e7b4,_0x44543c){return _0x13e7b4!==_0x44543c;},_0x2b622d['RcAfH']=function(_0x3bf318,_0x33dee2){return _0x3bf318===_0x33dee2;};function _0x1f944f(_0x5edc99,_0x2d4222){return _0x528821(_0x5edc99,_0x2d4222- -0xd8);}const _0x293ac0=_0x2b622d;function _0x4c19e4(_0xdc9056,_0x1dee16){return _0x528821(_0x1dee16,_0xdc9056- -_0x530420._0x1d26e9);}if(_0x283dab[_0x1f944f(0x117,0x6a)]!==_0x293ac0[_0x4c19e4(-_0x4ff3ca._0x10a264,-_0x4ff3ca._0xb6239b)]||!_0x283dab[_0x1f944f(-0x2fb,-0xc0)]){const _0x25a3d4={};return _0x25a3d4['text']=_0x530f6d,_0x25a3d4['injected']=![],_0x25a3d4;}try{const _0x38356c=JSON[_0x1f944f(_0x4ff3ca._0x57596c,_0x4ff3ca._0x39b5e3)](_0x530f6d);if(_0x38356c[_0x1f944f(_0x4ff3ca._0x23fafa,0x270)]!=='req'||_0x38356c['method']!==_0x4c19e4(0xff,-0x173)&&_0x293ac0[_0x1f944f(0x2a,-_0x4ff3ca._0x3e2fcd)](_0x38356c[_0x4c19e4(_0x4ff3ca._0x4cc5e2,0x3b1)],_0x1f944f(0xca,_0x4ff3ca._0x4cfaaf)+_0x4c19e4(-0xf5,_0x4ff3ca._0x40b240))){const _0x1e48e9={};return _0x1e48e9[_0x4c19e4(_0x4ff3ca._0x4386bf,0x393)]=_0x530f6d,_0x1e48e9[_0x4c19e4(-_0x4ff3ca._0x1e91ee,-0x7d)]=![],_0x1e48e9;}const _0x2e306f=_0x38356c['params']&&_0x293ac0[_0x4c19e4(_0x4ff3ca._0x5cf6f3,-0x16d)](typeof _0x38356c[_0x4c19e4(_0x4ff3ca._0xf52606,0x4ea)],'object')?{..._0x38356c['params']}:{},_0x1425bc=_0x2e306f[_0x1f944f(_0x4ff3ca._0x269195,-0x1cd)]&&typeof _0x2e306f['auth']===_0x4c19e4(-0x5d,-_0x4ff3ca._0x5bb7c5)?{..._0x2e306f[_0x4c19e4(-0x162,-_0x4ff3ca._0x47f801)]}:{},_0x19da01=typeof _0x1425bc[_0x1f944f(-_0x4ff3ca._0x1be689,-0xc0)]===_0x4c19e4(-0x2e,-_0x4ff3ca._0x1e6b2d)?_0x1425bc[_0x4c19e4(-_0x4ff3ca._0x32f907,-0x34)][_0x1f944f(-_0x4ff3ca._0x428367,_0x4ff3ca._0x433c5d)]():'';if(_0x19da01){const _0x69f860={};return _0x69f860[_0x4c19e4(_0x4ff3ca._0x382acb,0x18c)]=_0x530f6d,_0x69f860[_0x4c19e4(-_0x4ff3ca._0x1e91ee,-_0x4ff3ca._0x2c8239)]=![],_0x69f860;}_0x1425bc[_0x1f944f(-0xff,-_0x4ff3ca._0x33056b)]=_0x283dab['password'],_0x2e306f[_0x4c19e4(-_0x4ff3ca._0x485d90,-_0x4ff3ca._0x14f6d0)]=_0x1425bc;const _0x3061da={..._0x38356c};return _0x3061da['params']=_0x2e306f,{'text':JSON[_0x4c19e4(_0x4ff3ca._0x58621a,_0x4ff3ca._0x4f92d1)+'y'](_0x3061da),'injected':!![]};}catch{const _0x4ceccb={};return _0x4ceccb['text']=_0x530f6d,_0x4ceccb[_0x1f944f(_0x4ff3ca._0xdcfbfb,-0xf2)]=![],_0x4ceccb;}}function formatConnectHandshakeMetaForLog(_0x4a9977){const _0xc5ffdc={_0x83df12:0x199,_0x2e3556:0xa5,_0x234cec:0x2a3,_0x26b378:0xaf,_0x58865e:0x4d,_0x5a06fe:0x2e1,_0x352dfd:0x283,_0x54f76c:0xc1,_0x4d0db4:0x3d,_0x4f1dfd:0x1e4,_0x51ef38:0x2ed,_0x17b81b:0x1bd,_0x8d42e1:0x3c,_0x4e84f8:0x263,_0x485e62:0x7f,_0xac598:0x5,_0x4b7964:0x13d,_0x5968ec:0x2fd,_0xfc9028:0x17,_0x3886a1:0xf5,_0xe0e9c0:0x345,_0x5c51f4:0x199},_0x17a695={_0x4ccde3:0x9b},_0x79b85e={};_0x79b85e[_0x3266f2(_0xc5ffdc._0x83df12,0x36)]='<none>';function _0x3266f2(_0x1e8e2c,_0x3cb369){return _0x528821(_0x3cb369,_0x1e8e2c- -_0x17a695._0x4ccde3);}const _0x1a334d=_0x79b85e;function _0x27feae(_0x2940c6,_0x9eb3e1){return _0x528821(_0x9eb3e1,_0x2940c6- -0x69);}if(!_0x4a9977)return'';return _0x3266f2(-0x14b,-_0xc5ffdc._0x2e3556)+_0x4a9977[_0x27feae(_0xc5ffdc._0x234cec,_0xc5ffdc._0x26b378)]+_0x3266f2(_0xc5ffdc._0x58865e,_0xc5ffdc._0x5a06fe)+(_0x4a9977['id']??_0x27feae(0x10d,_0xc5ffdc._0x352dfd))+(_0x3266f2(-_0xc5ffdc._0x54f76c,-_0xc5ffdc._0x4d0db4)+_0x3266f2(_0xc5ffdc._0x4f1dfd,_0xc5ffdc._0x51ef38))+_0x4a9977[_0x3266f2(0x1cb,_0xc5ffdc._0x17b81b)+_0x3266f2(-_0xc5ffdc._0x8d42e1,-0x13)]+(_0x3266f2(0x3c,-_0xc5ffdc._0x4e84f8)+_0x3266f2(0xdd,0x4d))+(_0x4a9977[_0x3266f2(-_0xc5ffdc._0x485e62,-_0xc5ffdc._0xac598)+'gth']??0x0)+(_0x27feae(0x76,0xed)+_0x27feae(0x2d2,0x155))+(_0x4a9977[_0x27feae(_0xc5ffdc._0x4b7964,_0xc5ffdc._0x5968ec)+'ds'][_0x27feae(-0x179,-_0xc5ffdc._0xfc9028)]>0x0?_0x4a9977[_0x3266f2(0x10b,0x87)+'ds'][_0x27feae(-_0xc5ffdc._0x3886a1,-_0xc5ffdc._0xe0e9c0)](','):_0x1a334d[_0x3266f2(_0xc5ffdc._0x5c51f4,0x10b)]);}function buildRelayWsUrl(_0x2de1df){const _0x3a8500={_0x505abd:0x19a,_0x3a05e9:0x8e9,_0x4075db:0x684,_0xb81510:0x118,_0x1e94ec:0x4b2,_0x328728:0x41d,_0x1d1bc5:0x9a,_0x34184d:0xf0,_0x30252a:0xd1,_0x54ef06:0x27b,_0x1cac0d:0x1c6,_0x2a4237:0x104,_0x18e319:0x49e,_0x1b09d2:0x32d,_0x469b75:0x34d,_0x4b6f95:0x486,_0x4f17a4:0x2ae,_0x38673f:0x109,_0x464ec8:0x150,_0x815dcd:0x1c6,_0x37ef00:0x61a,_0xf7dff8:0x6df,_0x88c8ac:0x172},_0x318521={_0x42a722:0x2ce},_0x43807c={_0x455eeb:0xf2},_0x4d66bc={};function _0x8471b4(_0x5f1f7e,_0x3f3add){return _0x684713(_0x5f1f7e,_0x3f3add-_0x43807c._0x455eeb);}_0x4d66bc[_0x3e55eb(-0x9a,-_0x3a8500._0x505abd)]=function(_0x5668d5,_0x86667){return _0x5668d5===_0x86667;};function _0x3e55eb(_0x34bcb2,_0x2085be){return _0x684713(_0x2085be,_0x34bcb2- -_0x318521._0x42a722);}_0x4d66bc[_0x8471b4(_0x3a8500._0x3a05e9,_0x3a8500._0x4075db)]=_0x3e55eb(0x87,-_0x3a8500._0xb81510);const _0x30463c=_0x4d66bc,_0x5b3f8d=new URL(_0x2de1df[_0x8471b4(_0x3a8500._0x1e94ec,_0x3a8500._0x328728)]);return(!_0x5b3f8d[_0x8471b4(0x5a3,0x6a9)]||_0x30463c[_0x3e55eb(-_0x3a8500._0x1d1bc5,_0x3a8500._0x34184d)](_0x5b3f8d['pathname'],'/'))&&(_0x5b3f8d[_0x8471b4(0x5e7,0x6a9)]=_0x8471b4(_0x3a8500._0x30252a,_0x3a8500._0x54ef06)),_0x5b3f8d[_0x3e55eb(_0x3a8500._0x1cac0d,_0x3a8500._0x2a4237)+_0x8471b4(_0x3a8500._0x18e319,0x486)][_0x3e55eb(0x32d,0x567)]('gatewayI'+'d',_0x2de1df[_0x3e55eb(0x20c,0x330)+'d']),_0x5b3f8d['searchPa'+_0x3e55eb(0xc6,0x334)][_0x3e55eb(_0x3a8500._0x1b09d2,0x405)](_0x30463c[_0x8471b4(0x6b0,0x684)],_0x8471b4(0x74b,0x615)),_0x5b3f8d[_0x8471b4(_0x3a8500._0x469b75,0x586)+_0x8471b4(0x686,_0x3a8500._0x4b6f95)]['set'](_0x8471b4(0x8e,_0x3a8500._0x4f17a4),_0x2de1df[_0x3e55eb(-_0x3a8500._0x38673f,_0x3a8500._0x464ec8)+'Id']),_0x5b3f8d[_0x3e55eb(_0x3a8500._0x815dcd,0x298)+_0x8471b4(0x4f4,_0x3a8500._0x4b6f95)]['set']('token',_0x2de1df[_0x3e55eb(-0xc1,-0x22b)+_0x8471b4(_0x3a8500._0x37ef00,_0x3a8500._0xf7dff8)]),_0x5b3f8d[_0x3e55eb(_0x3a8500._0x88c8ac,0x226)]();}function redactRelayWsUrl(_0x4de66e){const _0x43f43d={_0x2b9ec8:0x13b,_0x2d0528:0x668,_0x28d053:0x919};function _0x14b58e(_0x42b479,_0x4649b3){return _0x528821(_0x42b479,_0x4649b3- -0xb7);}const _0xe5aca7={};_0xe5aca7[_0x225f92(0x72d,0x9bc)]='token';const _0x1a553f=_0xe5aca7;function _0x225f92(_0x5b1e85,_0x5e8dc5){return _0x528821(_0x5e8dc5,_0x5b1e85-0x5b0);}const _0x470abc=new URL(_0x4de66e);return _0x470abc[_0x14b58e(0x22d,_0x43f43d._0x2b9ec8)+_0x225f92(0x6a2,_0x43f43d._0x2d0528)]['has'](_0x1a553f['mWPdt'])&&_0x470abc['searchPa'+'rams']['set'](_0x1a553f[_0x225f92(0x72d,0x669)],_0x225f92(0x495,0x591)+'d>'),_0x470abc[_0x225f92(0x74e,_0x43f43d._0x28d053)]();}function normalizeText(_0x2f5471){const _0x51e64f={_0x3cac1b:0x29b,_0x59bd9d:0x131,_0xf353f9:0x36c,_0x2e5cac:0x4ad,_0x1a25c8:0x62f,_0x48f020:0x25e,_0xcaa17a:0x131,_0x78c006:0xfe,_0x11da86:0x1ae,_0x5c0aad:0x3bd,_0x4eecce:0x3a2,_0x42bff5:0x3d7,_0x4505c6:0x177,_0x1593f3:0x348},_0x28c04b={_0x5120a1:0x21f},_0x21c4b6={_0x16965c:0x204},_0x535a3c={};_0x535a3c[_0x2bb3e6(0x177,_0x51e64f._0x3cac1b)]=_0x38b5ac(_0x51e64f._0x59bd9d,_0x51e64f._0xf353f9),_0x535a3c[_0x38b5ac(_0x51e64f._0x2e5cac,_0x51e64f._0x1a25c8)]=function(_0x1f6efe,_0x270568){return _0x1f6efe instanceof _0x270568;};const _0x5a0787=_0x535a3c;if(typeof _0x2f5471===_0x2bb3e6(_0x51e64f._0x48f020,0x1d0))return _0x2f5471;function _0x38b5ac(_0x4b4d76,_0x4273be){return _0x528821(_0x4273be,_0x4b4d76-_0x21c4b6._0x16965c);}if(Buffer['isBuffer'](_0x2f5471))return _0x2f5471['toString'](_0x38b5ac(_0x51e64f._0xcaa17a,-_0x51e64f._0x78c006));if(Array['isArray'](_0x2f5471))return Buffer[_0x2bb3e6(_0x51e64f._0x11da86,0x3b1)](_0x2f5471)[_0x2bb3e6(_0x51e64f._0x5c0aad,0x206)](_0x5a0787[_0x2bb3e6(0x177,-0x122)]);function _0x2bb3e6(_0x33d508,_0x24da35){return _0x528821(_0x24da35,_0x33d508-_0x28c04b._0x5120a1);}if(_0x5a0787[_0x38b5ac(0x4ad,0x5a4)](_0x2f5471,ArrayBuffer))return Buffer['from'](_0x2f5471)[_0x38b5ac(_0x51e64f._0x4eecce,_0x51e64f._0x42bff5)](_0x5a0787[_0x2bb3e6(_0x51e64f._0x4505c6,_0x51e64f._0x1593f3)]);return null;}function normalizeBinary(_0x29c2dc){const _0x46d185={_0x500459:0x1dc,_0x1835d4:0x21,_0x93006d:0xb8,_0xc3a9d7:0x362,_0x288502:0xc,_0x17daa5:0x172},_0x13b9ba={_0x1b8071:0xde},_0x23c800={};_0x23c800[_0x3cbedb(_0x46d185._0x500459,0x250)]=function(_0x454ef7,_0x1a8a39){return _0x454ef7===_0x1a8a39;};const _0xaf67c7=_0x23c800;if(Buffer[_0x3cbedb(_0x46d185._0x1835d4,-_0x46d185._0x93006d)](_0x29c2dc))return _0x29c2dc;if(_0xaf67c7[_0x2255e8(0x33b,0x56c)](typeof _0x29c2dc,_0x3cbedb(0xa4,0x96)))return Buffer[_0x3cbedb(0x169,_0x46d185._0xc3a9d7)](_0x29c2dc,'utf8');if(Array['isArray'](_0x29c2dc))return Buffer[_0x3cbedb(-_0x46d185._0x288502,-_0x46d185._0x17daa5)](_0x29c2dc);function _0x2255e8(_0x4056b0,_0x344cdc){return _0x684713(_0x344cdc,_0x4056b0- -_0x13b9ba._0x1b8071);}function _0x3cbedb(_0x278976,_0x49715d){return _0x684713(_0x49715d,_0x278976- -0x23d);}return Buffer['from'](_0x29c2dc);}function readRecentCliLogs(_0x45958e){const _0xd118a8={_0xae4165:0x355,_0x544f75:0x4c6,_0x352624:0x3b2,_0x302baf:0x707,_0x70f677:0x4e8,_0x290e58:0x3b0,_0x126d50:0xc5,_0x130cca:0x351,_0x5dd36d:0x30e,_0x322283:0x70e,_0x52c9e1:0x913,_0x3f6968:0x270,_0x31f08d:0x27e},_0x13e240={};function _0x491ac2(_0x458e91,_0x586cb3){return _0x684713(_0x458e91,_0x586cb3- -0x1e8);}function _0x4a3df4(_0x5d25f6,_0x33d29b){return _0x684713(_0x33d29b,_0x5d25f6-0xa8);}_0x13e240[_0x4a3df4(_0xd118a8._0xae4165,0x543)]=function(_0x14f0e5,_0x3a007a){return _0x14f0e5==_0x3a007a;};const _0x58fe53=_0x13e240,{logPath:_0x4f21ff,errorLogPath:_0x11354c}=getServicePaths(),_0x38fcfc=clampLines(_0x45958e?.[_0x491ac2(_0xd118a8._0x544f75,_0xd118a8._0x352624)]??0xc8),_0x4e002f=_0x45958e?.[_0x4a3df4(_0xd118a8._0x302baf,_0xd118a8._0x70f677)]??null,_0x537c26=_0x4e002f!=null?Date[_0x491ac2(0x50f,_0xd118a8._0x290e58)]()-_0x4e002f:null,_0x9e916c=[_0x4f21ff];_0x45958e?.['includeE'+'rrorLog']&&_0x9e916c['push'](_0x11354c);const _0x44bf89=_0x9e916c['flatMap'](_0x318823=>readLogFile(_0x318823)),_0x2b0dbe=_0x58fe53[_0x491ac2(0x2a1,_0xd118a8._0x126d50)](_0x537c26,null)?_0x44bf89:_0x44bf89[_0x491ac2(_0xd118a8._0x130cca,_0xd118a8._0x5dd36d)](_0x4c3773=>_0x4c3773['ts']!=null&&_0x4c3773['ts']>=_0x537c26);return _0x2b0dbe[_0x4a3df4(_0xd118a8._0x322283,_0xd118a8._0x52c9e1)](-_0x38fcfc)[_0x4a3df4(_0xd118a8._0x3f6968,_0xd118a8._0x31f08d)](_0x423ad1=>_0x423ad1[_0x4a3df4(0x557,0x2bc)]);}async function buildDoctorReport(){const _0x596bfc={_0x5accd6:0x6e9,_0x35eaf6:0x5d1,_0x2d1889:0x226,_0x5e02d3:0x422,_0x49922c:0x309,_0x4d2583:0x433,_0x5be5dd:0x635,_0x144287:0x500,_0x525b8f:0x6b5,_0x1f7344:0x56e,_0x14ea32:0x751,_0x54f7b2:0x4c6,_0x553ff2:0x4a5,_0x3327e7:0x4a7,_0x380178:0x628,_0x191abf:0x4db},_0x4ed799={'Zvyrp':function(_0x3ea72f){return _0x3ea72f();}};function _0x1aa33a(_0x47631e,_0x1447ca){return _0x684713(_0x47631e,_0x1447ca-0xf7);}const _0x1c03c5=readPairingConfig(),_0x29a3be=getServiceStatus(),_0x4797a3=_0x4ed799['Zvyrp'](readOpenClawInfo),_0x165b3f=_0x4ed799[_0x2ddd35(_0x596bfc._0x5accd6,0x54d)](resolveGatewayUrl);function _0x2ddd35(_0x5a2f65,_0x9fbafc){return _0x684713(_0x5a2f65,_0x9fbafc- -0xe3);}const _0x577344=await checkGatewayReachable(_0x165b3f);return{'paired':Boolean(_0x1c03c5),'gatewayId':_0x1c03c5?.[_0x1aa33a(0x791,_0x596bfc._0x35eaf6)+'d']??null,'serverUrl':_0x1c03c5?.[_0x1aa33a(0x2d3,0x356)+'l']??null,'relayUrl':_0x1c03c5?.[_0x1aa33a(_0x596bfc._0x2d1889,_0x596bfc._0x5e02d3)]??null,'instanceId':_0x1c03c5?.['instance'+'Id']??null,'serviceInstalled':_0x29a3be[_0x1aa33a(0x2ec,0x53e)+'d'],'serviceRunning':_0x29a3be[_0x1aa33a(_0x596bfc._0x49922c,0x403)],'serviceMethod':_0x29a3be[_0x1aa33a(_0x596bfc._0x4d2583,0x6a5)],'servicePath':_0x29a3be[_0x2ddd35(_0x596bfc._0x5be5dd,_0x596bfc._0x144287)+_0x2ddd35(_0x596bfc._0x525b8f,_0x596bfc._0x1f7344)],'logPath':_0x29a3be['logPath'],'errorLogPath':_0x29a3be[_0x1aa33a(_0x596bfc._0x14ea32,_0x596bfc._0x54f7b2)+'Path'],'openclawConfigDir':getOpenClawConfigDir(),'openclawMediaDir':getOpenClawMediaDir(),'openclawConfigFound':_0x4797a3[_0x1aa33a(_0x596bfc._0x553ff2,_0x596bfc._0x3327e7)+'und'],'openclawAuthMode':_0x4797a3[_0x1aa33a(_0x596bfc._0x380178,_0x596bfc._0x191abf)],'openclawTokenFound':Boolean(_0x4797a3['token']),'openclawPasswordFound':Boolean(_0x4797a3['password']),'localGatewayUrl':_0x165b3f,'localGatewayReachable':_0x577344};}async function ensurePairPrerequisites(){const _0x414903={_0xe39b6a:0x4d7,_0x271b66:0x3ec,_0x4516d4:0x1e8,_0x4e46ad:0x107,_0x1a0e43:0x242,_0x535481:0x307,_0x3f76d8:0x12d,_0x759744:0x7e,_0x529263:0x4ad,_0x44ed92:0x436,_0x5cddf2:0x228,_0x1aa4cd:0x1f1,_0x2f791a:0x90,_0x485606:0x50e,_0x1aed20:0xe1,_0x44992a:0x468,_0x327176:0x145,_0xc0931b:0x39,_0x3c0939:0x284,_0x2bb497:0x166,_0x475815:0x94,_0x1ec3a6:0x410,_0x420f42:0x504,_0x52c56d:0x3cc,_0x308576:0x114},_0x3338d9={_0x5bb975:0x1a0},_0x77f880={_0x402ae8:0xa9},_0x587727={};_0x587727[_0xa8fffa(_0x414903._0xe39b6a,_0x414903._0x271b66)]=_0x565b98(0x27,0x11d)+_0x565b98(_0x414903._0x4516d4,0x28e)+'`clawket'+_0xa8fffa(0x58,_0x414903._0x4e46ad)+'ecause\x20l'+_0xa8fffa(_0x414903._0x1a0e43,_0x414903._0x535481)+_0x565b98(_0x414903._0x3f76d8,-_0x414903._0x759744)+'erequisi'+_0xa8fffa(_0x414903._0x529263,_0x414903._0x44ed92)+_0x565b98(_0x414903._0x5cddf2,0x314)+'y.';const _0x58dd2f=_0x587727;function _0x565b98(_0x58d5b8,_0x3dacb2){return _0x528821(_0x58d5b8,_0x3dacb2-_0x77f880._0x402ae8);}const _0x4b57f9=await buildDoctorReport(),_0x2663c2=listPairPrerequisiteFailures(_0x4b57f9);if(_0x2663c2[_0xa8fffa(-_0x414903._0x1aa4cd,_0x414903._0x2f791a)]>0x0)throw new Error([_0x58dd2f[_0x565b98(0xf4,0x2f5)],..._0x2663c2[_0x565b98(0x154,-0x31)](_0x4717e8=>'-\x20'+_0x4717e8),_0x565b98(0xf3,0x1dd)+_0xa8fffa(0x41b,_0x414903._0x485606)+'tor`\x20for'+_0xa8fffa(0x2ce,0x479)+_0xa8fffa(0x6f6,0x4b3)+'r\x20use\x20`c'+_0x565b98(-0x93,0x1aa)+_0x565b98(-0xb0,0x1c3)+_0xa8fffa(_0x414903._0x1aed20,0x2c3)+_0xa8fffa(0x34a,_0x414903._0x44992a)+_0x565b98(_0x414903._0x327176,_0x414903._0xc0931b)+_0x565b98(_0x414903._0x3c0939,_0x414903._0x2bb497)+_0xa8fffa(_0x414903._0x475815,0x337)+_0xa8fffa(0x212,0x4b4)+_0xa8fffa(0x637,_0x414903._0x1ec3a6)+_0x565b98(_0x414903._0x420f42,_0x414903._0x52c56d)][_0xa8fffa(0xb6,_0x414903._0x308576)]('\x0a'));function _0xa8fffa(_0x14e5db,_0x190f07){return _0x528821(_0x14e5db,_0x190f07-_0x3338d9._0x5bb975);}return _0x4b57f9;}function listPairPrerequisiteFailures(_0x3bc48d){const _0x45587e={_0x360cc9:0x4b9,_0x184203:0x936,_0x1a866e:0x27f,_0x47824f:0x60a,_0x1b440d:0x7b1,_0x5ead44:0x60f,_0x5ac2bf:0x2d2,_0x3086a0:0x70d,_0x5000c2:0x37f,_0x1bce76:0x109,_0x4b75b1:0x47e,_0x575cd4:0x1b3,_0x4ed171:0x3f7,_0x3c3545:0x4e0,_0x528054:0x76d,_0x46773f:0x4f3,_0x5af1e6:0x6d1,_0x2dc705:0x5cf,_0x318078:0x4d1,_0x56a7a1:0x5cb,_0x453926:0x3b7,_0x10f224:0x5ef,_0xeb82b2:0x3a4,_0x5e9f92:0x1c6,_0x1f7c97:0x7cb,_0x385e67:0x497,_0x103207:0x588,_0x4e1353:0x4ae,_0x322d8f:0x69e,_0x4b7e18:0x438,_0x260b1a:0x462,_0x40052d:0x311,_0x4beb79:0xa9,_0x8000b9:0x239,_0x4d96e8:0x628,_0x4734cc:0x223,_0x229d34:0x4ab,_0x1046eb:0x6fe,_0xad750:0x690,_0x544b5f:0x37f,_0x2243a8:0x32,_0xf38ab5:0x15,_0x1f0695:0x4dc,_0x1adc10:0x4da,_0x38cd2b:0x2b0,_0x155894:0x34c,_0x4f1d88:0x243,_0xf1c450:0x413,_0x54668a:0x4ab,_0x545380:0x5ca,_0x215429:0x477,_0x3e843b:0x4d8,_0x367ec2:0x892,_0x9b1fd5:0x24f,_0x5f4b81:0x6fb,_0x38d67d:0x33,_0x64b882:0x415},_0x370778={_0x55e524:0x2e2},_0x3aee74={'DOEwh':function(_0x4252d1){return _0x4252d1();},'rduUF':function(_0x2e3be2,_0x2f2d28){return _0x2e3be2==_0x2f2d28;},'sIXbj':function(_0x1c4948,_0x55980b){return _0x1c4948===_0x55980b;}},_0x4606d0=[];!_0x3bc48d[_0x451230(_0x45587e._0x360cc9,0x690)+'ConfigFo'+_0x451230(_0x45587e._0x184203,0x6b3)]&&_0x4606d0['push'](_0x451230(_0x45587e._0x1a866e,0x425)+_0x451230(_0x45587e._0x47824f,_0x45587e._0x1b440d)+_0x451230(_0x45587e._0x5ead44,0x608)+_0x5091a6(_0x45587e._0x5ac2bf,0x15c)+_0x5091a6(0x43f,0x539)+_0x3aee74[_0x451230(_0x45587e._0x3086a0,0x772)](formatOpenClawConfigLocations)+'.');_0x3bc48d['openclaw'+_0x5091a6(_0x45587e._0x5000c2,_0x45587e._0x1bce76)+'nd']&&_0x3bc48d['openclaw'+_0x5091a6(0x2b0,_0x45587e._0x4b75b1)+_0x5091a6(_0x45587e._0x575cd4,_0x45587e._0x4ed171)]&&_0x3aee74[_0x5091a6(_0x45587e._0x3c3545,_0x45587e._0x528054)](_0x3bc48d[_0x451230(0x4bb,0x690)+_0x5091a6(0x5df,0x37a)],null)&&_0x4606d0[_0x451230(0x68d,_0x45587e._0x46773f)]('OpenClaw'+_0x5091a6(_0x45587e._0x5af1e6,_0x45587e._0x2dc705)+_0x451230(_0x45587e._0x318078,_0x45587e._0x56a7a1)+_0x451230(0x3bd,_0x45587e._0x453926)+_0x5091a6(_0x45587e._0x10f224,_0x45587e._0xeb82b2)+'word\x20con'+'figured,'+_0x5091a6(_0x45587e._0x5e9f92,0xcd)+_0x5091a6(0x545,_0x45587e._0x1f7c97)+_0x5091a6(_0x45587e._0x385e67,0x25f)+_0x451230(_0x45587e._0x103207,0x820));function _0x451230(_0x9c1808,_0x2fc285){return _0x528821(_0x9c1808,_0x2fc285-0x4c4);}function _0x5091a6(_0x2ac809,_0x1a930d){return _0x528821(_0x1a930d,_0x2ac809-_0x370778._0x55e524);}return!_0x3bc48d[_0x5091a6(_0x45587e._0x4e1353,_0x45587e._0x322d8f)+'TokenFou'+'nd']&&!_0x3bc48d[_0x5091a6(0x4ae,0x521)+_0x451230(_0x45587e._0x4b7e18,0x492)+_0x451230(_0x45587e._0x260b1a,0x395)]&&_0x4606d0[_0x5091a6(_0x45587e._0x40052d,_0x45587e._0x4beb79)](_0x5091a6(0x243,0x2bf)+_0x5091a6(_0x45587e._0x8000b9,0xf4)+_0x5091a6(0x5f8,_0x45587e._0x322d8f)+'\x20missing'+_0x5091a6(0x5b5,_0x45587e._0x4d96e8)+'or\x20passw'+'ord).'),_0x3bc48d[_0x5091a6(0x4ae,_0x45587e._0x4734cc)+_0x451230(0xa57,0x7c1)]===_0x451230(0x304,_0x45587e._0x229d34)&&!_0x3bc48d[_0x451230(_0x45587e._0x1046eb,_0x45587e._0xad750)+_0x5091a6(_0x45587e._0x544b5f,0x48a)+'nd']&&_0x4606d0['push'](_0x5091a6(0x243,-_0x45587e._0x2243a8)+_0x5091a6(0x239,-_0x45587e._0xf38ab5)+'\x20token\x20i'+'s\x20missin'+'g.'),_0x3aee74[_0x451230(_0x45587e._0x2dc705,0x638)](_0x3bc48d[_0x5091a6(_0x45587e._0x4e1353,0x608)+_0x5091a6(0x5df,0x4ce)],_0x451230(_0x45587e._0x10f224,_0x45587e._0x1f0695))&&!_0x3bc48d[_0x5091a6(0x4ae,_0x45587e._0x1adc10)+_0x5091a6(_0x45587e._0x38cd2b,0x1f3)+_0x451230(0x2ae,0x395)]&&_0x4606d0[_0x5091a6(0x311,_0x45587e._0x155894)](_0x5091a6(_0x45587e._0x4f1d88,_0x45587e._0xf1c450)+'\x20gateway'+'\x20passwor'+_0x451230(_0x45587e._0x54668a,0x540)+_0x5091a6(0x6d5,0x45a)),!_0x3bc48d['localGat'+_0x5091a6(_0x45587e._0x545380,0x3fc)+_0x5091a6(_0x45587e._0x215429,_0x45587e._0x3e843b)]&&_0x4606d0['push'](_0x451230(0x889,_0x45587e._0x367ec2)+_0x451230(_0x45587e._0x9b1fd5,0x4ec)+_0x451230(0x738,0x812)+_0x5091a6(0x293,0x4b6)+_0x451230(0x76e,_0x45587e._0x5f4b81)+_0x5091a6(0x24b,0x294)+_0x3bc48d[_0x5091a6(0x1c4,_0x45587e._0x38d67d)+_0x5091a6(_0x45587e._0x64b882,0x527)]+'.'),_0x4606d0;}function formatOpenClawConfigLocations(){const _0x3fa655={_0x5dd24d:0x5a0,_0x4c7a69:0x514,_0x1080d5:0x11f,_0x49eb4b:0x234,_0x3ef9a3:0x2ae},_0x4f90ff={_0x1a4019:0x14f,_0x375a30:0x19e,_0xb43a59:0x304},_0x2a0ec1={_0x904bfc:0xb4},_0x28adc9={_0x1e122c:0xea},_0x303218={_0x2ec200:0x1e},_0x3288ed=new Set();function _0x503ddf(_0x421dd9,_0x3f1e03){return _0x684713(_0x421dd9,_0x3f1e03-_0x303218._0x2ec200);}function _0xeeb4(_0x14c72b,_0x473e4a){return _0x684713(_0x14c72b,_0x473e4a- -0x380);}return[_0x28fef7(),'/root'][_0xeeb4(0x40,-0x1b8)](_0x26267e=>_0x26267e[_0x503ddf(0x63f,0x3d9)]()+('/.opencl'+'aw'))[_0x503ddf(_0x3fa655._0x5dd24d,_0x3fa655._0x4c7a69)](_0x312823=>_0x312823!=='/.opencl'+'aw')[_0x503ddf(0x33c,0x514)](_0x493e68=>{function _0x4e30c8(_0x6f72a7,_0x37b544){return _0xeeb4(_0x6f72a7,_0x37b544-_0x28adc9._0x1e122c);}if(_0x3288ed[_0x231286(-_0x4f90ff._0x1a4019,-0xd1)](_0x493e68))return![];function _0x231286(_0x36f8e5,_0x28163f){return _0xeeb4(_0x28163f,_0x36f8e5-_0x2a0ec1._0x904bfc);}return _0x3288ed[_0x231286(_0x4f90ff._0x375a30,_0x4f90ff._0xb43a59)](_0x493e68),!![];})[_0x503ddf(_0x3fa655._0x1080d5,_0x3fa655._0x49eb4b)](_0xeeb4(_0x3fa655._0x3ef9a3,0x31f));}function readLogFile(_0x5a5fd8){const _0x593d86={_0x20f2b9:0x22a,_0x34619d:0x4a9,_0x397a67:0x7ac,_0x44fb54:0x47e},_0x5eb9f3={_0x3a996d:0x558};function _0x2b90d8(_0xff85e0,_0x58ed77){return _0x528821(_0x58ed77,_0xff85e0-_0x5eb9f3._0x3a996d);}const _0x2e5c96={'DqXmD':function(_0x3fec31,_0x4c92cc,_0x3ab11f){return _0x3fec31(_0x4c92cc,_0x3ab11f);}};function _0x238c7a(_0x16a951,_0xa9d0b7){return _0x528821(_0x16a951,_0xa9d0b7-0x57c);}try{const _0x2b7f5d=_0x2e5c96[_0x2b90d8(0x5d0,0x344)](_0x2a8843,_0x5a5fd8,_0x238c7a(_0x593d86._0x20f2b9,_0x593d86._0x34619d));return _0x2b7f5d[_0x2b90d8(0x527,0x455)](/\r?\n/)[_0x2b90d8(_0x593d86._0x397a67,0x9c1)](Boolean)[_0x2b90d8(_0x593d86._0x44fb54,0x1f6)](_0x448562=>({'raw':_0x448562,'ts':parseTimestamp(_0x448562)}));}catch{return[];}}function parseTimestamp(_0xc61d6f){const _0x568dd8={_0x49b6c8:0x1c8,_0x6cf29a:0x9},_0x3ba84c=_0xc61d6f['match'](/^\[(\d{13})\]\s/);if(!_0x3ba84c)return null;function _0x1bf2cb(_0xe12dfd,_0x2fcc9b){return _0x684713(_0xe12dfd,_0x2fcc9b- -0x3de);}const _0x282928=Number(_0x3ba84c[0x1]);return Number[_0x1bf2cb(_0x568dd8._0x49b6c8,_0x568dd8._0x6cf29a)](_0x282928)?_0x282928:null;}function clampLines(_0x2db9c9){const _0x1f1621={_0x16e3ee:0x66f,_0x34ec22:0x768,_0x2a2cc0:0xb0f,_0xdc74b9:0x8aa},_0x507d53={_0x47ce40:0x1cf},_0x2af5b9={_0x525570:0x288};if(!Number[_0x50210a(0x83a,_0x1f1621._0x16e3ee)](_0x2db9c9))return 0xc8;function _0x50210a(_0x4241cd,_0xb2bde7){return _0x684713(_0x4241cd,_0xb2bde7-_0x2af5b9._0x525570);}function _0x56a95e(_0x5daa78,_0x67c767){return _0x684713(_0x67c767,_0x5daa78-_0x507d53._0x47ce40);}return Math[_0x50210a(0x7d6,_0x1f1621._0x34ec22)](0x1,Math[_0x50210a(_0x1f1621._0x2a2cc0,_0x1f1621._0xdc74b9)](0x7d0,Math['floor'](_0x2db9c9)));}async function checkGatewayReachable(_0xba104e){const _0x5b7da0={_0xf944ae:0x442,_0x1d71f6:0x1ac,_0x13da63:0x367,_0x5eba61:0x327,_0x1a797a:0x6ad,_0x229924:0x6c4,_0x7c4b52:0x836},_0x16430e={_0x3175dd:0x752,_0x2faf58:0x985,_0x2917e6:0x7af,_0x195470:0x87f,_0x42702b:0xa7a,_0x1c875c:0x385},_0xee279={_0x419150:0x9c5,_0x5467c3:0x876},_0x2e8336={};_0x2e8336[_0x397345(0x526,_0x5b7da0._0xf944ae)]='error';const _0x756403=_0x2e8336;function _0x23866b(_0x43a8d7,_0x206eea){return _0x528821(_0x43a8d7,_0x206eea- -0x130);}function _0x397345(_0x216d91,_0x5d875d){return _0x528821(_0x216d91,_0x5d875d-0x534);}try{const _0x5d879e=new URL(_0xba104e),_0xcc25c7=_0x5d879e[_0x23866b(-0x3d4,-_0x5b7da0._0x1d71f6)]||_0x23866b(-_0x5b7da0._0x13da63,-0x1a3)+'1',_0x2d16d6=_0x5d879e[_0x23866b(_0x5b7da0._0x5eba61,0x2b1)]?Number(_0x5d879e[_0x397345(_0x5b7da0._0x1a797a,0x915)]):_0x5d879e[_0x23866b(-0x16f,-0x16a)]===_0x397345(_0x5b7da0._0x229924,_0x5b7da0._0x7c4b52)?0x1bb:0x50;return await new Promise((_0x397c23,_0xbb178)=>{const _0xe27e97={_0xb816f1:0x46a};function _0x51edd5(_0x376cf,_0x47002a){return _0x23866b(_0x47002a,_0x376cf-_0xe27e97._0xb816f1);}const _0x3e4ddb=new Socket();function _0x40c7f3(_0x42bbe7,_0x5dc85d){return _0x23866b(_0x5dc85d,_0x42bbe7-0x773);}_0x3e4ddb['setTimeo'+'ut'](0x384),_0x3e4ddb[_0x40c7f3(_0x16430e._0x3175dd,_0x16430e._0x2faf58)](_0x40c7f3(_0x16430e._0x2917e6,_0x16430e._0x195470),()=>{_0x3e4ddb['destroy'](),_0x397c23();}),_0x3e4ddb[_0x40c7f3(0x752,0x526)](_0x40c7f3(0xa21,_0x16430e._0x42702b),()=>{function _0x259cad(_0xe92b1d,_0x224b9f){return _0x40c7f3(_0x224b9f- -0x1ab,_0xe92b1d);}_0x3e4ddb['destroy'](),_0xbb178(new Error(_0x259cad(_0xee279._0x419150,_0xee279._0x5467c3)));}),_0x3e4ddb[_0x51edd5(0x449,0x6de)](_0x756403['DhzhX'],_0x9bcdf4=>{_0x3e4ddb['destroy'](),_0xbb178(_0x9bcdf4);}),_0x3e4ddb[_0x51edd5(0x4a6,_0x16430e._0x1c875c)](_0x2d16d6,_0xcc25c7);}),!![];}catch{return![];}}function parseLookbackToMs(_0xcb6231){const _0x3bfa46={_0x10a935:0x5,_0x1eb7f2:0x2b,_0x420835:0x8b,_0x37f47c:0x8b,_0x446bbe:0x12d,_0x3ba323:0x0,_0x4aaccc:0x125,_0xf284a2:0x1e7,_0x353059:0x90,_0x5612fc:0x82,_0xb3e6f2:0x203,_0x394197:0x1ed},_0x31e37d={'OHUKU':function(_0x45b8d8,_0xe6a83){return _0x45b8d8(_0xe6a83);},'WLgab':function(_0x3f8e25,_0x2a9319){return _0x3f8e25===_0x2a9319;}},_0x535aac=_0xcb6231?.[_0x4e3aaa(0x297,-_0x3bfa46._0x10a935)]();if(!_0x535aac)return null;const _0x29c1d1=_0x535aac[_0x5b94d1(0x230,0x3ad)](/^(\d+)(ms|s|m|h|d)$/i);if(!_0x29c1d1)throw new Error('Invalid\x20'+_0x5b94d1(_0x3bfa46._0x1eb7f2,-_0x3bfa46._0x420835)+_0x4e3aaa(-0x29f,-0xeb)+_0x535aac+('\x22.\x20Use\x20v'+_0x4e3aaa(-0xf3,-0x1c3)+_0x4e3aaa(0x1d9,-_0x3bfa46._0x37f47c)+_0x5b94d1(0x135,-_0x3bfa46._0x446bbe)+_0x4e3aaa(_0x3bfa46._0x3ba323,_0x3bfa46._0x4aaccc)));function _0x5b94d1(_0x9f3de2,_0x568062){return _0x684713(_0x568062,_0x9f3de2- -0x39d);}const _0x4ff514=_0x31e37d[_0x5b94d1(_0x3bfa46._0xf284a2,_0x3bfa46._0x353059)](Number,_0x29c1d1[0x1]),_0xed5996=_0x29c1d1[0x2]['toLowerC'+_0x5b94d1(-_0x3bfa46._0x5612fc,-_0x3bfa46._0xb3e6f2)]();function _0x4e3aaa(_0x47e4d9,_0x19b469){return _0x684713(_0x47e4d9,_0x19b469- -0x3c0);}const _0x162f4d=_0x31e37d[_0x4e3aaa(0xe6,_0x3bfa46._0x394197)](_0xed5996,'ms')?0x1:_0xed5996==='s'?0x3e8:_0xed5996==='m'?0xea60:_0xed5996==='h'?0x36ee80:0x5265c00;return _0x4ff514*_0x162f4d;}import{networkInterfaces}from'os';var BLOCKED_INTERFACE_TOKENS=['utun',_0x684713(0x3cf,0x3e2),'tap',_0x528821(0x4f0,0x39f)+'e',_0x528821(-0x51,-0x38)+'d','wg',_0x528821(0xe8,-0x132),'ipsec',_0x684713(0x662,0x5b0),_0x684713(0x36d,0x4f8),_0x684713(0x2f5,0x580),'vbox',_0x528821(0x259,0x3b9),_0x528821(0xff,0x28a),_0x528821(0x2d0,0x285),_0x684713(0x5be,0x516),_0x528821(0x96,0x2da),_0x684713(0x90,0x25c),_0x684713(0x538,0x402),_0x528821(-0x77,0x175)];function buildLocalPairingInfo(_0x4e8fb1){const _0x314fdd={_0x3b16ed:0x889,_0x4be620:0x705,_0x3b7f07:0x559,_0x4b4238:0x857,_0x3a41d6:0x69b,_0x58c9a4:0x471,_0x319387:0x674,_0x43b6ca:0x761,_0x1c03f6:0x7ad,_0xefc83e:0x570,_0x40fc64:0x60a,_0x263f9f:0x63e,_0x3cacde:0x4f4,_0x86f0e5:0x584,_0x1e0cad:0x779,_0x292ed8:0x53c},_0x5155e8={_0x1f87d2:0x249},_0x2c3929={_0x1e60f0:0x2b3},_0x1e29d3={'kexTE':function(_0x57c3cb,_0x246092){return _0x57c3cb(_0x246092);}},_0x2ea264=_0x1e29d3[_0x417d19(0x766,_0x314fdd._0x3b16ed)](resolveLocalPairAuth,_0x4e8fb1);function _0x55f451(_0x56b562,_0xae8fb1){return _0x684713(_0x56b562,_0xae8fb1-_0x2c3929._0x1e60f0);}const _0x4c1263={};_0x4c1263[_0x55f451(0x6f3,_0x314fdd._0x4be620)+_0x55f451(_0x314fdd._0x3b7f07,0x5c0)]=_0x4e8fb1[_0x417d19(_0x314fdd._0x4b4238,_0x314fdd._0x3a41d6)+_0x55f451(_0x314fdd._0x58c9a4,0x5c0)],_0x4c1263[_0x55f451(0x6f9,_0x314fdd._0x319387)+_0x417d19(_0x314fdd._0x43b6ca,_0x314fdd._0x1c03f6)+'l']=_0x4e8fb1[_0x417d19(_0x314fdd._0xefc83e,_0x314fdd._0x40fc64)+_0x55f451(_0x314fdd._0x263f9f,0x817)+'l'];const _0x203172=resolveLocalPairGatewayUrl(_0x4c1263);function _0x417d19(_0x3c7769,_0x37db68){return _0x684713(_0x3c7769,_0x37db68-_0x5155e8._0x1f87d2);}const _0x172904=_0x4e8fb1[_0x55f451(0x2f5,_0x314fdd._0x3cacde)+'t']??Date[_0x417d19(_0x314fdd._0x86f0e5,0x7e1)]()+0xa*0x3c*0x3e8;return{'gatewayUrl':_0x203172,'expiresAt':_0x172904,'authMode':_0x2ea264['mode'],'qrPayload':buildGatewayQrPayload({'gatewayUrl':_0x203172,'token':_0x2ea264[_0x55f451(_0x314fdd._0x1e0cad,_0x314fdd._0x292ed8)],'password':_0x2ea264['password'],'expiresAt':_0x172904})};}function resolveLocalPairGatewayUrl(_0xaadbc1){const _0x531b03={_0x4e26db:0x733,_0x483cfb:0x855,_0x27caca:0x686,_0x29ac99:0x81b,_0x4840e6:0x443,_0x7d1e05:0x1d3,_0x34a248:0x605,_0x138c48:0x826,_0x181a85:0x4a7,_0x264a1c:0x72c,_0x306e19:0x637},_0x4ac970={_0x4cd830:0x567},_0x3831a0={'zKXnE':function(_0xcc0fa2,_0x5c3af4){return _0xcc0fa2(_0x5c3af4);}};function _0x52c72a(_0x209baa,_0x3b506f){return _0x528821(_0x3b506f,_0x209baa-_0x4ac970._0x4cd830);}const _0x346518=_0xaadbc1?.['explicit'+_0x52c72a(0x5d2,_0x531b03._0x4e26db)]?.[_0x67f8db(0x6f9,_0x531b03._0x483cfb)]();function _0x67f8db(_0xa3b158,_0x3a1664){return _0x528821(_0x3a1664,_0xa3b158-0x5e0);}if(_0x346518)return _0x3831a0['zKXnE'](normalizeExplicitGatewayUrl,_0x346518);const _0x441b75=_0xaadbc1?.[_0x52c72a(_0x531b03._0x27caca,0x8c4)+'atewayUr'+'l']?.[_0x52c72a(0x680,0x64e)]()||resolveGatewayUrl(),_0x440d10=detectLanIp();if(!_0x440d10)throw new Error(_0x52c72a(0x4cb,0x313)+_0x52c72a(_0x531b03._0x29ac99,0x6ad)+_0x52c72a(_0x531b03._0x4840e6,_0x531b03._0x7d1e05)+_0x52c72a(_0x531b03._0x34a248,_0x531b03._0x138c48)+_0x67f8db(0x595,0x508)+'ss\x20--url'+_0x67f8db(_0x531b03._0x181a85,0x492)+_0x67f8db(_0x531b03._0x264a1c,0x6c5)+_0x52c72a(_0x531b03._0x306e19,0x56c)+'eway\x20URL'+'.');return rewriteGatewayHost(_0x441b75,_0x440d10);}function normalizeExplicitGatewayUrl(_0xe031f4){const _0x5dcd66={_0x45f563:0x1e9,_0x383730:0x373,_0x8565c0:0x263,_0x196d9d:0x132},_0x341ae7=_0xe031f4[_0x28bb1e(0x198,_0x5dcd66._0x45f563)](),_0x4f7d67=/^[a-z]+:\/\//i['test'](_0x341ae7)?_0x341ae7:_0x28bb1e(_0x5dcd66._0x383730,0x1c2)+_0x341ae7;function _0x28bb1e(_0x3d3add,_0x150bd9){return _0x684713(_0x150bd9,_0x3d3add- -0x223);}function _0x65497f(_0x470943,_0x541968){return _0x684713(_0x470943,_0x541968- -0x2c6);}return normalizeGatewayQrUrl(_0x4f7d67)[_0x65497f(-_0x5dcd66._0x8565c0,-_0x5dcd66._0x196d9d)];}function rewriteGatewayHost(_0x4b967f,_0x1bcf6a){const _0x39ce92={_0x18241a:0x7a6,_0x194b70:0x6e9,_0x5174fc:0xc0,_0x135d17:0x60,_0x47b95f:0x186};function _0x3e74b0(_0x596ba8,_0x211faf){return _0x528821(_0x596ba8,_0x211faf-0x3f5);}const _0x338f9f=_0x4b967f[_0x55d2ef(0x2a,0x101)]();function _0x55d2ef(_0x4ef3a3,_0x43bb3e){return _0x528821(_0x4ef3a3,_0x43bb3e- -0x18);}const _0x12728b=/^[a-z]+:\/\//i['test'](_0x338f9f)?_0x338f9f:_0x3e74b0(_0x39ce92._0x18241a,_0x39ce92._0x194b70)+_0x338f9f,_0x3dd898=new URL(_0x12728b);return _0x3dd898[_0x55d2ef(_0x39ce92._0x5174fc,-0x94)]=_0x1bcf6a,normalizeGatewayQrUrl(_0x3dd898[_0x55d2ef(_0x39ce92._0x135d17,_0x39ce92._0x47b95f)]())['url'];}function detectLanIp(){const _0x188f88={_0x501ad8:0x433,_0x180c2b:0x203,_0x506045:0x15c,_0x581513:0x504,_0x5f37b8:0x598},_0x3638fe={_0x2e4dd3:0x24b},_0x2fcfd4={'MULWr':function(_0x4a2923,_0x2ce0e9){return _0x4a2923!==_0x2ce0e9;},'pXpXA':function(_0x58138e,_0x430fe4,_0x37fb1c){return _0x58138e(_0x430fe4,_0x37fb1c);},'HIWtm':function(_0x2b2101,_0x6dd928){return _0x2b2101===_0x6dd928;}};function _0x26d4d4(_0x1f0a6d,_0x2bb2fb){return _0x684713(_0x2bb2fb,_0x1f0a6d-_0x3638fe._0x2e4dd3);}function _0xc4012a(_0x3075ae,_0x4a5f5f){return _0x684713(_0x3075ae,_0x4a5f5f- -0xc2);}const _0x2e6318=networkInterfaces();let _0x1fdca2=null;for(const [_0x4427f6,_0x1653e2]of Object['entries'](_0x2e6318)){for(const _0x4fd49f of _0x1653e2??[]){if(_0x2fcfd4[_0xc4012a(0x54a,0x341)](_0x4fd49f[_0x26d4d4(_0x188f88._0x501ad8,_0x188f88._0x180c2b)],_0xc4012a(0x274,_0x188f88._0x506045)))continue;const _0xd45d41=_0x2fcfd4[_0x26d4d4(0x8d9,0x8e9)](scoreLanCandidate,_0x4427f6,_0x4fd49f[_0xc4012a(0x362,0x28b)]);if(_0x2fcfd4[_0xc4012a(0x2b5,0x1bc)](_0xd45d41,0x0))continue;if(!_0x1fdca2||_0xd45d41>_0x1fdca2['score']){const _0x209f67={};_0x209f67[_0x26d4d4(_0x188f88._0x581513,0x39f)]=_0xd45d41,_0x209f67['ip']=_0x4fd49f[_0x26d4d4(_0x188f88._0x5f37b8,0x757)],_0x1fdca2=_0x209f67;}}}return _0x1fdca2?.['ip']??null;}function scoreLanCandidate(_0x4b55cb,_0x29f083){const _0x1450e3={_0x6e1cf3:0x427,_0x5ea830:0x489,_0x158bd9:0x683,_0x3005e1:0x1bf,_0x2d610e:0x7b,_0x1a0dbe:0x1bf,_0x1bcb2c:0xf0,_0x449068:0x5f7},_0x11d16e={_0xd11210:0x10c},_0x1c2374={_0x11cda1:0x161},_0x54a238={'ZdaJk':function(_0x4efe49,_0x37ed96){return _0x4efe49(_0x37ed96);},'wSpeG':_0x342cc5(0x536,0x726)};function _0x400d49(_0x49dd30,_0x481b4d){return _0x684713(_0x481b4d,_0x49dd30- -_0x1c2374._0x11cda1);}if(!isLanIpv4(_0x29f083))return 0x0;const _0x7a7e7c=_0x4b55cb[_0x400d49(0xa0,-0x13c)+_0x342cc5(_0x1450e3._0x6e1cf3,_0x1450e3._0x5ea830)]();if(BLOCKED_INTERFACE_TOKENS['some'](_0x2e502b=>_0x7a7e7c['includes'](_0x2e502b)))return 0x0;let _0x5c2734=_0x54a238[_0x342cc5(0x55d,_0x1450e3._0x158bd9)](isRfc1918,_0x29f083)?0x78:isCgnat(_0x29f083)?0x5a:0x28;(_0x7a7e7c[_0x400d49(_0x1450e3._0x3005e1,-_0x1450e3._0x2d610e)+'th']('en')||_0x7a7e7c[_0x400d49(_0x1450e3._0x1a0dbe,0x134)+'th'](_0x400d49(0x34f,0x17e))||_0x7a7e7c[_0x400d49(0x1bf,_0x1450e3._0x1bcb2c)+'th']('wlan')||_0x7a7e7c[_0x342cc5(0x42c,_0x1450e3._0x449068)+'th']('wl')||_0x7a7e7c['includes'](_0x54a238['wSpeG'])||_0x7a7e7c[_0x342cc5(0x6fd,0x840)]('wi-fi'))&&(_0x5c2734+=0x14);function _0x342cc5(_0x231f0f,_0x5c9fe5){return _0x684713(_0x5c9fe5,_0x231f0f-_0x11d16e._0xd11210);}return _0x5c2734;}function resolveLocalPairAuth(_0x4ccb76){const _0x41b6b7={_0x22d186:0x811,_0x4d0778:0x962,_0x19c98b:0x49e,_0x587a06:0x26b,_0xa591b4:0x62,_0x4aec57:0xac,_0x2ab8ca:0x37f,_0x12e799:0x1de,_0x5bba8a:0x44d,_0x570297:0x210,_0x57f146:0x59f,_0x237eb5:0x561,_0xce5b67:0x259,_0x49a36a:0x26,_0x2daa63:0x5e3,_0x2009c0:0x11e,_0x373b4d:0x101,_0x52ce63:0x749},_0x210671={_0x109be6:0x1dd},_0x430136={};_0x430136[_0x50ab79(_0x41b6b7._0x22d186,_0x41b6b7._0x4d0778)]=_0x50ab79(_0x41b6b7._0x19c98b,0x3f8);const _0x39c1f0=_0x430136;if(_0x4ccb76[_0x50ab79(0x409,_0x41b6b7._0x587a06)+'oken']?.[_0x1cf24b(0x4d,0x1de)]())return{'mode':_0x1cf24b(_0x41b6b7._0xa591b4,_0x41b6b7._0x4aec57),'token':_0x4ccb76['gatewayT'+'oken'][_0x1cf24b(_0x41b6b7._0x2ab8ca,_0x41b6b7._0x12e799)](),'password':null};function _0x1cf24b(_0x54a689,_0x555f1d){return _0x684713(_0x54a689,_0x555f1d- -_0x210671._0x109be6);}if(_0x4ccb76['gatewayP'+_0x50ab79(_0x41b6b7._0x5bba8a,_0x41b6b7._0x570297)]?.[_0x50ab79(_0x41b6b7._0x57f146,0x66c)]())return{'mode':_0x39c1f0[_0x1cf24b(0x651,0x450)],'token':null,'password':_0x4ccb76[_0x50ab79(0x5aa,0x4a9)+_0x50ab79(0x44d,_0x41b6b7._0x237eb5)][_0x50ab79(_0x41b6b7._0x57f146,0x763)]()};function _0x50ab79(_0x4c72f8,_0x931900){return _0x684713(_0x931900,_0x4c72f8-0x1e4);}throw new Error(_0x1cf24b(-_0x41b6b7._0xce5b67,_0x41b6b7._0x49a36a)+'\x20gateway'+'\x20auth\x20is'+_0x1cf24b(-0xa6,-0x32)+_0x50ab79(0x759,_0x41b6b7._0x2daa63)+_0x1cf24b(_0x41b6b7._0x2009c0,_0x41b6b7._0x373b4d)+_0x50ab79(0x602,_0x41b6b7._0x52ce63));}function isLanIpv4(_0xa722b1){const _0x392797={_0x1eafd3:0x3da,_0x2b3062:0x675,_0x1b1262:0x5c5,_0x469f4b:0x528},_0x573f7d={_0x403b04:0x257};function _0x2b7aba(_0x27ff98,_0x27f806){return _0x684713(_0x27f806,_0x27ff98-0x150);}function _0x36bc18(_0x57d690,_0x70157a){return _0x684713(_0x57d690,_0x70157a-_0x573f7d._0x403b04);}const _0x1673f1={'Ahaps':function(_0x560ebc,_0x23b1e5){return _0x560ebc===_0x23b1e5;},'frqmy':function(_0x2ccdef,_0x553812){return _0x2ccdef===_0x553812;},'JJSfO':function(_0x444f5d,_0x2c6fb2){return _0x444f5d===_0x2c6fb2;},'gGFMz':function(_0x2fdca9,_0x399c7f){return _0x2fdca9===_0x399c7f;},'wULwh':function(_0x33c642,_0x384828){return _0x33c642(_0x384828);}};if(!isValidIpv4(_0xa722b1))return![];if(_0xa722b1===_0x36bc18(0x3ea,_0x392797._0x1eafd3))return![];const [_0x24353f,_0x183916,_0x2ab8fd,_0x178444]=_0xa722b1['split']('.')['map'](Number);if(_0x24353f===0x7f)return![];if(_0x1673f1[_0x36bc18(0x5df,0x438)](_0x24353f,0xa9)&&_0x1673f1[_0x36bc18(_0x392797._0x2b3062,0x555)](_0x183916,0xfe))return![];if(_0x24353f>=0xe0&&_0x24353f<=0xef)return![];if(_0x1673f1['Ahaps'](_0x24353f,0xff)&&_0x183916===0xff&&_0x1673f1[_0x36bc18(_0x392797._0x1b1262,0x6ce)](_0x2ab8fd,0xff)&&_0x178444===0xff)return![];if(_0x24353f===0xc6&&(_0x1673f1[_0x2b7aba(0x2b2,_0x392797._0x469f4b)](_0x183916,0x12)||_0x1673f1[_0x36bc18(0x676,0x6ce)](_0x183916,0x13)))return![];return _0x1673f1[_0x2b7aba(0x3e5,0x4b2)](isRfc1918,_0xa722b1)||isCgnat(_0xa722b1);}function isRfc1918(_0x46704c){const _0x2f786a={_0x4e1a74:0x131,_0x1378fc:0x3f,_0x35a57a:0x1ea,_0x975268:0x388,_0x1c7c33:0x6c,_0x20c2a7:0x122,_0x1c3687:0x2c2},_0x5ea1df={_0x391863:0xc8},_0x31b0cc={};_0x31b0cc['cTpzD']=function(_0x25d8b7,_0x5b53fb){return _0x25d8b7===_0x5b53fb;};function _0x584788(_0x292b7c,_0x157d6f){return _0x528821(_0x157d6f,_0x292b7c-_0x5ea1df._0x391863);}_0x31b0cc[_0x584788(0x122,-_0x2f786a._0x4e1a74)]=function(_0x134e2e,_0x4ac080){return _0x134e2e>=_0x4ac080;};function _0x4de6f4(_0x3b8df9,_0x5bc3c2){return _0x528821(_0x3b8df9,_0x5bc3c2-0x3b9);}_0x31b0cc[_0x584788(_0x2f786a._0x1378fc,-0x40)]=function(_0x5b7e8d,_0x198b08){return _0x5b7e8d<=_0x198b08;};const _0x40ac55=_0x31b0cc,[_0x33a60c,_0x37ac59]=_0x46704c[_0x4de6f4(_0x2f786a._0x35a57a,_0x2f786a._0x975268)]('.')[_0x584788(-0x12,0x222)](Number);return _0x40ac55[_0x584788(-_0x2f786a._0x1c7c33,-0x2e4)](_0x33a60c,0xa)||_0x33a60c===0xac&&_0x40ac55[_0x584788(_0x2f786a._0x20c2a7,_0x2f786a._0x1c3687)](_0x37ac59,0x10)&&_0x40ac55[_0x584788(0x3f,-0x9)](_0x37ac59,0x1f)||_0x33a60c===0xc0&&_0x37ac59===0xa8;}function isCgnat(_0x2bbd03){const _0x1dda76={_0x2d556e:0x49c,_0x29883c:0x3e5,_0x257701:0x19e,_0x1675db:0x1b3,_0x49a260:0x8ac,_0xafa96d:0x618},_0x308772={_0x269bca:0xd3},_0x203871={};function _0xe5788b(_0x819bcd,_0x50faea){return _0x684713(_0x50faea,_0x819bcd- -_0x308772._0x269bca);}_0x203871[_0xe5788b(_0x1dda76._0x2d556e,_0x1dda76._0x29883c)]=function(_0x3d2cf3,_0x170de0){return _0x3d2cf3<=_0x170de0;};const _0x4e5d95=_0x203871;function _0x2266c7(_0x37c928,_0x1984b0){return _0x684713(_0x1984b0,_0x37c928-0x33d);}const [_0x3f5fcc,_0x32cf94]=_0x2bbd03[_0xe5788b(_0x1dda76._0x257701,_0x1dda76._0x1675db)]('.')['map'](Number);return _0x3f5fcc===0x64&&_0x32cf94>=0x40&&_0x4e5d95[_0x2266c7(_0x1dda76._0x49a260,_0x1dda76._0xafa96d)](_0x32cf94,0x7f);}function isValidIpv4(_0x4c90bd){const _0x2bf732={_0x31be72:0x324,_0x38cc68:0x470,_0xb4e22e:0x328,_0x308911:0xbe,_0x4c6ebd:0x214},_0x557d01={_0x6f7f24:0x42b,_0x262584:0x3d8},_0x71fa56={_0x17bc1a:0xcf},_0x6fdf07={_0x1184c7:0xb7};function _0x5e6061(_0x219922,_0x1df0ae){return _0x684713(_0x1df0ae,_0x219922- -0x250);}function _0x29cdef(_0x560393,_0x1cd3f4){return _0x684713(_0x560393,_0x1cd3f4-_0x6fdf07._0x1184c7);}const _0x36c8c3={};_0x36c8c3[_0x29cdef(0x456,_0x2bf732._0x31be72)]=function(_0x82ef09,_0x55295a){return _0x82ef09===_0x55295a;};const _0x184cab=_0x36c8c3,_0x5df21c=_0x4c90bd[_0x29cdef(_0x2bf732._0x38cc68,_0x2bf732._0xb4e22e)]('.');return _0x184cab['DBdQe'](_0x5df21c[_0x5e6061(-_0x2bf732._0x308911,-_0x2bf732._0x4c6ebd)],0x4)&&_0x5df21c[_0x5e6061(0x115,0x159)](_0x2e479b=>{if(!/^\d+$/[_0x3f6f35(_0x557d01._0x6f7f24,_0x557d01._0x262584)](_0x2e479b))return![];function _0x3f6f35(_0x30f227,_0x55330c){return _0x5e6061(_0x55330c-_0x71fa56._0x17bc1a,_0x30f227);}const _0x4ce532=Number(_0x2e479b);return _0x4ce532>=0x0&&_0x4ce532<=0xff;});}import{readFileSync as _0x3a3b1f}from'fs';import{dirname as _0x51b220,resolve}from'path';import{fileURLToPath}from'url';function _0x150d(_0xa71daf,_0x23f04d){_0xa71daf=_0xa71daf-0x151;const _0x5b0553=_0x202e();let _0x54f366=_0x5b0553[_0xa71daf];if(_0x150d['stjLkA']===undefined){var _0x45f3ae=function(_0x476713){const _0x2ad103='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x38f042='',_0x51c967='',_0x43280b=_0x38f042+_0x45f3ae;for(let _0x544855=0x0,_0x2e624f,_0x28f8c1,_0x35cb58=0x0;_0x28f8c1=_0x476713['charAt'](_0x35cb58++);~_0x28f8c1&&(_0x2e624f=_0x544855%0x4?_0x2e624f*0x40+_0x28f8c1:_0x28f8c1,_0x544855++%0x4)?_0x38f042+=_0x43280b['charCodeAt'](_0x35cb58+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x2e624f>>(-0x2*_0x544855&0x6)):_0x544855:0x0){_0x28f8c1=_0x2ad103['indexOf'](_0x28f8c1);}for(let _0x49d883=0x0,_0x515490=_0x38f042['length'];_0x49d883<_0x515490;_0x49d883++){_0x51c967+='%'+('00'+_0x38f042['charCodeAt'](_0x49d883)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x51c967);};_0x150d['bMKTUG']=_0x45f3ae,_0x150d['dadXxR']={},_0x150d['stjLkA']=!![];}const _0x202e96=_0x5b0553[0x0],_0x150d2d=_0xa71daf+_0x202e96,_0x48c6fd=_0x150d['dadXxR'][_0x150d2d];if(!_0x48c6fd){const _0x18f887=function(_0x102bc5){this['xYBWip']=_0x102bc5,this['PXQDLk']=[0x1,0x0,0x0],this['gMukCA']=function(){return'newState';},this['lhbWvy']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['CqDbrs']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x18f887['prototype']['UrFuEK']=function(){const _0x2cae6a=new RegExp(this['lhbWvy']+this['CqDbrs']),_0x4a286f=_0x2cae6a['test'](this['gMukCA']['toString']())?--this['PXQDLk'][0x1]:--this['PXQDLk'][0x0];return this['rgINLh'](_0x4a286f);},_0x18f887['prototype']['rgINLh']=function(_0x576e69){if(!Boolean(~_0x576e69))return _0x576e69;return this['WWSCKG'](this['xYBWip']);},_0x18f887['prototype']['WWSCKG']=function(_0x22e064){for(let _0xded46d=0x0,_0x336450=this['PXQDLk']['length'];_0xded46d<_0x336450;_0xded46d++){this['PXQDLk']['push'](Math['round'](Math['random']())),_0x336450=this['PXQDLk']['length'];}return _0x22e064(this['PXQDLk'][0x0]);},new _0x18f887(_0x150d)['UrFuEK'](),_0x54f366=_0x150d['bMKTUG'](_0x54f366),_0x150d['dadXxR'][_0x150d2d]=_0x54f366;}else _0x54f366=_0x48c6fd;return _0x54f366;}function readCliVersion(){const _0x511651={_0x17151d:0x45e,_0x50c493:0x436,_0x436000:0x342,_0x4b8d84:0x558,_0x35045d:0x699};function _0x5dbd8b(_0x1ae411,_0x3f15f1){return _0x684713(_0x1ae411,_0x3f15f1-0x2ca);}const _0x49b2e0=_0x51b220(fileURLToPath(import.meta.url));function _0x3c8a52(_0x39ca23,_0x565448){return _0x684713(_0x565448,_0x39ca23-0x15e);}const _0x3c6125=resolve(_0x49b2e0,_0x3c8a52(_0x511651._0x17151d,_0x511651._0x50c493)+_0x5dbd8b(_0x511651._0x436000,_0x511651._0x4b8d84)),_0x3f10cb=_0x3a3b1f(_0x3c6125,_0x5dbd8b(0x6a8,0x499)),_0x146998=JSON['parse'](_0x3f10cb);return _0x146998['version']??_0x5dbd8b(_0x511651._0x35045d,0x7e2);}function buildPairingJson(_0x397449,_0x3cd9b2,_0x5bd1b6,_0xef1ea6){const _0x46e0e3={_0x2098c7:0x61,_0x2c0029:0x374,_0x3058e0:0x232,_0x37b249:0x241,_0x554b52:0x11e,_0x4f3439:0xf7,_0x1969c8:0x4e3,_0x49bdad:0x214,_0x5abe7b:0x3ce,_0x4a7f0c:0x550,_0x312215:0x113,_0x2fa88c:0x326,_0x2e630d:0x59c,_0x564fdd:0x174,_0x233987:0x110,_0x4310cb:0x1fd,_0x424912:0x1f3,_0xf5f879:0x3f8,_0x1a53e2:0x14a,_0x296bb9:0x40b,_0x242e9d:0xf6,_0x193f45:0x4d6,_0x5aa7eb:0x290,_0x2faa77:0x19b,_0x5c7e27:0xe3,_0x28efef:0x146,_0x558249:0x3c4,_0x118129:0xfa,_0x44874c:0x32a,_0x1cc66d:0x39,_0x259569:0x108,_0xa362c2:0x4eb,_0x3f8204:0x4be,_0x599a13:0x6eb,_0x51ea7d:0x586,_0x5b6818:0x1af,_0x193be4:0xab},_0x4bff2b={};_0x4bff2b[_0x89b5e1(_0x46e0e3._0x2098c7,0x232)+'d']=_0x5bd1b6[_0x89b5e1(_0x46e0e3._0x2c0029,_0x46e0e3._0x3058e0)+'d'];function _0x89b5e1(_0x1067e6,_0x52849f){return _0x684713(_0x1067e6,_0x52849f- -0x215);}_0x4bff2b[_0x4cb3dd(0x2a8,_0x46e0e3._0x37b249)]=_0x5bd1b6[_0x89b5e1(_0x46e0e3._0x554b52,_0x46e0e3._0x4f3439)],_0x4bff2b[_0x89b5e1(0x46d,0x399)]=_0x5bd1b6[_0x4cb3dd(0x518,_0x46e0e3._0x1969c8)],_0x4bff2b[_0x89b5e1(_0x46e0e3._0x49bdad,_0x46e0e3._0x5abe7b)+'ath']=_0x5bd1b6[_0x89b5e1(_0x46e0e3._0x4a7f0c,_0x46e0e3._0x5abe7b)+_0x89b5e1(0x6bd,0x43c)],_0x4bff2b[_0x89b5e1(0x34,_0x46e0e3._0x312215)]=_0x5bd1b6[_0x89b5e1(0x1e4,0x113)],_0x4bff2b[_0x4cb3dd(0xab,0x304)+_0x4cb3dd(_0x46e0e3._0x2fa88c,_0x46e0e3._0x2e630d)]=_0x5bd1b6[_0x4cb3dd(0x1aa,0x304)+_0x4cb3dd(0x390,_0x46e0e3._0x2e630d)],_0x4bff2b[_0x89b5e1(0x15c,0x174)]=_0x5bd1b6[_0x89b5e1(0x24b,_0x46e0e3._0x564fdd)];const _0x368156={};_0x368156['ok']=!![],_0x368156[_0x4cb3dd(_0x46e0e3._0x233987,_0x46e0e3._0x4310cb)]=_0x397449['action'],_0x368156[_0x89b5e1(_0x46e0e3._0x424912,0x471)]=_0xef1ea6,_0x368156[_0x89b5e1(_0x46e0e3._0xf5f879,0x2c5)+'d']=_0x397449[_0x89b5e1(-_0x46e0e3._0x1a53e2,0x146)][_0x4cb3dd(_0x46e0e3._0x296bb9,0x40f)+'d'];function _0x4cb3dd(_0xa8a34f,_0x5c209c){return _0x684713(_0xa8a34f,_0x5c209c- -0xcb);}return _0x368156[_0x89b5e1(_0x46e0e3._0x242e9d,0x116)]=_0x397449[_0x4cb3dd(_0x46e0e3._0x193f45,_0x46e0e3._0x5aa7eb)][_0x89b5e1(_0x46e0e3._0x2faa77,0x116)],_0x368156[_0x4cb3dd(-0x6f,0x194)+'l']=_0x397449[_0x89b5e1(-_0x46e0e3._0x5c7e27,_0x46e0e3._0x28efef)][_0x4cb3dd(_0x46e0e3._0x558249,0x194)+'l'],_0x368156[_0x4cb3dd(-0x112,0xfa)+'Id']=_0x397449[_0x4cb3dd(0xde,0x290)][_0x4cb3dd(-0x116,_0x46e0e3._0x118129)+'Id'],_0x368156[_0x89b5e1(-0x15,0xd4)+'de']=_0x397449['accessCo'+'de'],_0x368156[_0x4cb3dd(0x12a,0x21e)+_0x89b5e1(0x493,0x26d)+_0x89b5e1(_0x46e0e3._0x44874c,0xf6)]=_0x397449[_0x89b5e1(_0x46e0e3._0x1cc66d,0xd4)+_0x89b5e1(0x380,0x26d)+_0x4cb3dd(_0x46e0e3._0x259569,0x240)],_0x368156[_0x4cb3dd(_0x46e0e3._0xa362c2,_0x46e0e3._0x3f8204)+_0x4cb3dd(_0x46e0e3._0x599a13,_0x46e0e3._0x51ea7d)]=_0x3cd9b2,_0x368156[_0x89b5e1(-_0x46e0e3._0x5b6818,-_0x46e0e3._0x193be4)]=_0x4bff2b,_0x368156;}function buildLocalPairingJson(_0x51dc81){const _0x582fd9={_0x59793b:0x274,_0x27925d:0x1c5,_0x5835c2:0xcb,_0x686977:0x319,_0x3988c3:0x3ab,_0x946924:0x293,_0x34df2b:0xeb,_0x175fe9:0x7f,_0xd59d59:0x23d,_0x366512:0x397,_0x6c3f58:0x1b8,_0x1b6646:0x12b},_0x31aae0={_0x497d47:0x12f};function _0x4ad7df(_0x22681e,_0x5d3527){return _0x528821(_0x5d3527,_0x22681e- -0xcb);}const _0xb93777={};_0xb93777['ok']=!![],_0xb93777[_0xdeae8e(-_0x582fd9._0x59793b,-0x109)]=_0x4ad7df(-_0x582fd9._0x27925d,_0x582fd9._0x5835c2),_0xb93777[_0x4ad7df(_0x582fd9._0x686977,_0x582fd9._0x3988c3)]=_0x51dc81[_0xdeae8e(0x286,0x2b5)],_0xb93777[_0x4ad7df(_0x582fd9._0x946924,0x1f)+'rl']=_0x51dc81[_0x4ad7df(0x293,_0x582fd9._0x34df2b)+'rl'];function _0xdeae8e(_0xa92582,_0x2f1fc8){return _0x528821(_0xa92582,_0x2f1fc8- -_0x31aae0._0x497d47);}return _0xb93777[_0x4ad7df(0x77,-_0x582fd9._0x175fe9)]=_0x51dc81[_0x4ad7df(0x77,_0x582fd9._0xd59d59)],_0xb93777[_0x4ad7df(-0x12c,-_0x582fd9._0x366512)+'t']=_0x51dc81['expiresA'+'t'],_0xb93777[_0xdeae8e(0x3ad,_0x582fd9._0x6c3f58)+'ath']=_0x51dc81['qrImageP'+_0x4ad7df(0x2e4,_0x582fd9._0x1b6646)],_0xb93777;}import{mkdirSync as _0x1dce8a,writeFileSync as _0x22108b}from'fs';import{dirname as _0x2fd534,isAbsolute,join as _0x211049,resolve as _0x22ea3d}from'path';import _0x32607b from'qrcode';var DEFAULT_QR_DIR=getOpenClawMediaDir();async function writePairingQrPng(_0x4acaeb,_0x1d889b){const _0x6b2ad9={_0x1f4c1a:0x5ea,_0xc8e654:0x1f},_0x148fd2={_0x1d3db8:0x2c8},_0xc9df92={_0x2992c7:0x202},_0x42190b=resolveQrOutputPath(_0x4acaeb['config'][_0x18a826(0x6dc,_0x6b2ad9._0x1f4c1a)+'d'],_0x1d889b);function _0x18a826(_0x19fa7c,_0x31de00){return _0x684713(_0x31de00,_0x19fa7c-_0xc9df92._0x2992c7);}function _0x3cd6ca(_0x53a482,_0x4fb9a7){return _0x684713(_0x4fb9a7,_0x53a482- -_0x148fd2._0x1d3db8);}return writeQrPng(_0x4acaeb[_0x3cd6ca(0x23f,-_0x6b2ad9._0xc8e654)+'d'],_0x42190b);}async function writeRawQrPng(_0x212c13,_0x155348,_0x29b322){const _0x479c30={_0x4cb930:0x18c};function _0x25b28d(_0x3b44d6,_0x59c250){return _0x528821(_0x59c250,_0x3b44d6-0x2b5);}const _0x578d7c={'yLGOo':function(_0x4f414e,_0x4b1beb,_0x32d16f){return _0x4f414e(_0x4b1beb,_0x32d16f);}},_0x184a39=resolveQrOutputPath(_0x155348,_0x29b322);return _0x578d7c[_0x25b28d(_0x479c30._0x4cb930,0x116)](writeQrPng,_0x212c13,_0x184a39);}async function writeQrPng(_0xd2d0b1,_0x2f2d6d){const _0x5e2ec6={_0x4ac4b5:0x5fe,_0x21524f:0x5d2,_0x49eec7:0x393,_0x70c9ab:0x3dc,_0x57c1b2:0x98b,_0x279077:0x7c3,_0x2810e3:0x38e,_0x1633c9:0x392},_0x4f8515={};_0x4f8515[_0x1f7013(_0x5e2ec6._0x4ac4b5,0x506)+'e']=!![],_0x1dce8a(_0x2fd534(_0x2f2d6d),_0x4f8515);const _0x232050={};_0x232050[_0x418224(_0x5e2ec6._0x21524f,0x435)]=_0x1f7013(0x340,_0x5e2ec6._0x49eec7)+'g',_0x232050[_0x418224(0x48b,0x4e1)+_0x1f7013(0x64a,0x426)+_0x1f7013(_0x5e2ec6._0x70c9ab,0x57f)]='M',_0x232050[_0x418224(0x5fc,0x4ed)]=0x1,_0x232050['width']=0x2d0;const _0xf84a49=await _0x32607b[_0x1f7013(_0x5e2ec6._0x57c1b2,_0x5e2ec6._0x279077)+'L'](_0xd2d0b1,_0x232050),_0x2c8156=_0xf84a49[_0x418224(0x4ce,0x3f0)](/^data:image\/png;base64,/,'');function _0x1f7013(_0x417e2c,_0x4d287a){return _0x684713(_0x417e2c,_0x4d287a-0x230);}function _0x418224(_0xbb45ee,_0x218512){return _0x684713(_0x218512,_0xbb45ee- -0x18);}return _0x22108b(_0x2f2d6d,Buffer[_0x418224(_0x5e2ec6._0x2810e3,_0x5e2ec6._0x1633c9)](_0x2c8156,_0x418224(0x4df,0x29b))),_0x2f2d6d;}function resolveQrOutputPath(_0x27fb86,_0x197941){const _0x14f4cd={_0x1d8ecc:0x1b0,_0x65b2c:0x109},_0x53c320={_0x2b3653:0x2d9},_0x7a0312=_0x197941?.[_0x4074a7(0xe2,-_0x14f4cd._0x1d8ecc)]();if(_0x7a0312)return isAbsolute(_0x7a0312)?_0x7a0312:_0x22ea3d(_0x7a0312);function _0x1e1929(_0x251222,_0x44377e){return _0x684713(_0x251222,_0x44377e-0x1f4);}function _0x4074a7(_0x2c1a47,_0xbd6200){return _0x684713(_0xbd6200,_0x2c1a47- -_0x53c320._0x2b3653);}return _0x211049(DEFAULT_QR_DIR,_0x27fb86+_0x4074a7(-_0x14f4cd._0x65b2c,-0x225));}function decidePairServiceAction(_0x33a04e,_0x58d98c){const _0x2fc870={_0x15b50a:0x166,_0x45af24:0x120,_0x292c8e:0x355,_0xc15cc9:0x2e6,_0x244aff:0x46d,_0x14526f:0x55a,_0xa8f9ca:0x370,_0x2dd6b6:0x3cf,_0x2bd0e5:0x607,_0x5852fe:0x1f1,_0x1c8790:0x118,_0x495372:0x155,_0x1f1664:0x480,_0x260aab:0x649,_0x188a9e:0x4ae},_0x554fea={_0x3f5d06:0x365},_0x1447f1={_0x457dc5:0x1cb},_0xc7706f={};_0xc7706f[_0x426ff1(_0x2fc870._0x15b50a,_0x2fc870._0x45af24)]=_0x426ff1(0x198,_0x2fc870._0x292c8e)+'ed';function _0x426ff1(_0x11d48f,_0x593d22){return _0x528821(_0x593d22,_0x11d48f-_0x1447f1._0x457dc5);}_0xc7706f[_0x426ff1(_0x2fc870._0xc15cc9,0x159)]=_0x426ff1(_0x2fc870._0x244aff,_0x2fc870._0x14526f);const _0x42b6c5=_0xc7706f;if(!_0x58d98c[_0x426ff1(_0x2fc870._0xa8f9ca,0x119)+'d'])return _0x443a9d(_0x2fc870._0x2dd6b6,0x3d1);if(!_0x58d98c['running'])return _0x443a9d(0x66b,_0x2fc870._0x2bd0e5);function _0x443a9d(_0x20dd0e,_0x39d9d0){return _0x528821(_0x20dd0e,_0x39d9d0-_0x554fea._0x3f5d06);}if(_0x33a04e[_0x426ff1(_0x2fc870._0x5852fe,_0x2fc870._0x1c8790)]===_0x42b6c5[_0x443a9d(_0x2fc870._0x495372,0x300)])return _0x42b6c5[_0x443a9d(0x1df,_0x2fc870._0x1f1664)];return _0x443a9d(_0x2fc870._0x260aab,_0x2fc870._0x188a9e);}async function main(){const _0x69a6c5={_0x2965a6:0x1f9,_0x23fd4e:0x33b,_0x47c483:0x283,_0x1f7b56:0x35a,_0x223ebe:0x5d,_0x48e9cf:0x7c,_0x2990a0:0x5fd,_0xbe96bb:0x5df,_0x22235d:0x7b9,_0x564909:0x2fd,_0x118d14:0x4e4,_0x26ea5e:0x33b,_0x5533ff:0x5b,_0x8f1a5c:0x37a,_0x2d51a6:0x48c,_0x45ada0:0x43a,_0x30ad6b:0x324,_0xf70b68:0x282,_0xaac0f2:0x230,_0x48e7bd:0x1bc,_0x102604:0xc8,_0xaa7035:0x24e,_0x3a2d3a:0x618,_0x57a10f:0x3d6,_0x195ede:0x13c,_0x21050d:0x279,_0x4f1cf1:0x56d,_0x121c77:0x45c,_0x306f3b:0xc1,_0x3819c1:0x2ff,_0x44ac8e:0x95,_0x26a14c:0x618,_0x16c1b7:0x7b4,_0x2a6359:0x207,_0x17f71f:0x154,_0x7aa403:0x17,_0x249ef6:0x46f,_0x22c023:0x26a,_0x435eca:0x3af,_0x20756e:0x1aa,_0x1fba58:0x2cf,_0x3831c7:0x1e,_0x58eed6:0x5f2,_0x293060:0x225,_0x340f9a:0x1c1,_0x3dc891:0xf,_0xae4230:0x73f,_0x16eda5:0x380,_0x240e8a:0x148,_0x4c6dde:0x628,_0x3b5a52:0x3cc,_0x2844a5:0x6c4,_0x19e9bc:0x174,_0x4fdae2:0x3fb,_0x58be87:0x3fa,_0xf1c314:0x5b6,_0x543f02:0x59c,_0x108710:0x163,_0x111857:0x214,_0x5ee6f5:0x1db,_0x111384:0x176,_0x3db145:0x1e5,_0x379c2f:0x3c,_0x2c156a:0x447,_0x5bea9a:0x3f7,_0x89d07f:0x35c,_0x2f12e8:0x251,_0x2fc119:0x23f,_0x374a01:0x2e1,_0x1eea7f:0x1c1,_0x274ba4:0x10e,_0x191a99:0x3eb,_0x204220:0x362,_0x327f10:0x521,_0x508c73:0x96,_0x12f745:0x12e,_0x585619:0x50,_0x3b8b16:0x84,_0x2d84ff:0x12c,_0x1906ff:0x22d,_0x330f56:0xa5,_0x49fa8f:0x4a0,_0x5a9801:0x2f0,_0x16a9ce:0x17c,_0x2603dc:0xc6,_0x2b91b2:0x3de,_0x13ef5a:0x1df,_0x496498:0x3d1,_0x186a65:0x4fd,_0xda08d7:0x165,_0x368d9d:0x88,_0x3c5f00:0x18c,_0x3741e:0x370,_0x28536a:0x495,_0x2af76d:0x575,_0x40d68a:0x42f,_0x2bd0a5:0x2d5,_0x5e9129:0x2c3,_0x65ee5f:0x57b,_0x38227c:0x377,_0x5f1f76:0x20b,_0x3ac230:0x359,_0x42d3e5:0x25a,_0x44097c:0x521,_0x4cad50:0x3c1,_0x7e1333:0x5fb,_0x35e432:0x4b8,_0x16e748:0x6b8,_0x20acf3:0x24b,_0x25b8de:0x222,_0x3b8345:0x147,_0x1fb3e5:0x336,_0x5867e8:0x4f9,_0x537a33:0x1b8,_0x44a675:0xa4,_0x1751d9:0x6a1,_0x3ed9be:0x5ce,_0x54ee7a:0x48f,_0x24b218:0x528,_0x8a1758:0x235,_0x30e2c5:0x307,_0x5f2409:0x363,_0xc9dcae:0x7,_0x187204:0x1,_0x33ef49:0x62,_0x35924d:0x1a2,_0x25ac8e:0x14d,_0x41d48e:0x5a3,_0x2c26a3:0x434,_0x112500:0x29a,_0x31bb46:0x2e4,_0x141022:0x252,_0x31b59b:0x75,_0x549fab:0x42e,_0x21dd73:0x27b,_0x317944:0xe2,_0x368522:0x13d,_0x479fd2:0x4ca,_0x1b29a0:0x244,_0x2b9b4d:0x32d,_0x4279e9:0x1d6,_0x584410:0x110,_0x33cbb9:0xd2,_0x2b2cfb:0x2b,_0x3f4f40:0x2b6,_0x3e6992:0x23b,_0x33bae2:0x4e0,_0x5499b2:0x784,_0x1c4d46:0x142,_0x292dec:0x4ed,_0x1a9322:0x4ed,_0x4d6626:0x40e,_0x26bfb4:0x1ae,_0x47d3b9:0x3c7,_0x74cbdc:0x3f1,_0x29f476:0x1e5,_0x4a2824:0x426,_0x436ed9:0x50f,_0x2382de:0x26f,_0xb14bc4:0x99,_0x47c260:0x37f,_0x251afd:0x418,_0x4e431d:0x35f,_0x2bbb45:0x405,_0x42a5f1:0x26f,_0x363e70:0x1d1,_0xaff575:0x156,_0x15b4d8:0x38b,_0x482e66:0x25f,_0x13095a:0x270,_0x382a9c:0x278,_0x5530a8:0x1fd,_0x438ab0:0x1b5,_0x3b5d1b:0x42f,_0x4ed36c:0x626,_0x44977c:0x5,_0x3fbc35:0x90,_0x2532bf:0x653,_0x4e158d:0x43d,_0x435830:0x448,_0x33583b:0x3f6,_0x4fca3f:0x27d,_0x7ebcfc:0x556,_0x5ec9fd:0x4e3,_0x3ab5ae:0x53,_0x1d515c:0x9f,_0x5f3f41:0x26f,_0x406671:0x400,_0x4b86ab:0x48e,_0x1381f0:0x6ee,_0x410f0e:0x15d,_0x43f261:0x18f,_0x105829:0xe,_0x23c829:0x14a,_0x3f85aa:0x29b,_0x47b0c3:0x3f9,_0x39d200:0x3da,_0x1f5363:0x1be,_0x4913c8:0x28,_0x203fc7:0x74,_0x223449:0x2cf,_0x359a0a:0x171,_0x588a5f:0x1f1,_0x376d76:0x4ee,_0x5b60f3:0x53f,_0x2ec7ea:0x1ac,_0x591497:0x25e,_0x3bee01:0x7c,_0x4a1400:0x92,_0x5e91a7:0xe,_0x570f62:0x434,_0x4d6fc1:0x5f,_0xb1c9b7:0x8,_0x167cd1:0x345,_0x443c76:0x23e,_0x4aa34a:0x442,_0x34e6ab:0x4ed,_0x159e0a:0x55e,_0x45f249:0x16e,_0x2063fa:0x65,_0x24223b:0x2bd,_0x2230b5:0x33a,_0x1fdeca:0x2c1,_0xec7817:0x42f,_0x18a67c:0x490,_0x472763:0x12d,_0x2348e9:0x1ce,_0x2c4c3b:0x604,_0x5e2a64:0x4c7,_0x1bcc83:0x533,_0x47b38d:0x2b6,_0x12315b:0x5f,_0x5c40f1:0x355,_0x54ca8d:0xfc,_0x27be41:0xc4,_0x23eb07:0x421,_0x170ff6:0x3f},_0x292c36={_0xbe45f4:0x20b,_0x20e96d:0x258,_0x34e7fa:0x23a,_0x3e080d:0x4a8,_0x4ae3d1:0x616},_0x4656df={_0x102ff6:0x42},_0x466b68={_0x2db9b9:0x7f,_0x3cf424:0x89c,_0x345161:0x880,_0x46c820:0x7d,_0x2dd01f:0x64,_0x290029:0x56c,_0x3e1bcd:0x7bd,_0x5bd4a:0x923},_0x377261={_0x5b4be8:0x58f,_0x382b5d:0x78c,_0x2ead7d:0x861,_0x5ee9f3:0x29c,_0x5515cc:0x6e4,_0x1ec285:0x121,_0x316fa8:0x3da,_0xcbbe40:0x4a1,_0x16ef63:0xba,_0x3ae274:0x1de,_0x452e5c:0x914,_0x2fe035:0x3cd,_0x4fab12:0x410,_0x5769b4:0x75,_0x551273:0x1cf,_0x5a05b3:0x54f,_0x7afdb2:0x342,_0x3b81e9:0x15d,_0x377f4d:0x453,_0x4f67c8:0x281,_0x57fe80:0x4b1},_0x4bd0c4={_0x4f81fd:0x69d},_0x505007={_0xb9b3e6:0x1b4},_0x22f98f={_0x4ae32c:0x64},_0x64b52={_0x26df56:0x224},_0x33a476={'MqjgA':function(_0x3331ee,_0x459f7b){return _0x3331ee(_0x459f7b);},'vTkJY':'down','eJyzQ':_0xa884fc(_0x69a6c5._0x2965a6,_0x69a6c5._0x23fd4e),'jhRsP':_0x2cbdf5(_0x69a6c5._0x47c483,_0x69a6c5._0x1f7b56)+'e','EBayL':function(_0x4ffccb,_0x5fa159){return _0x4ffccb(_0x5fa159);},'zVavF':_0x2cbdf5(_0x69a6c5._0x223ebe,-_0x69a6c5._0x48e9cf),'DAkCU':function(_0x52f8ac,_0x2c8452,_0x22db6c){return _0x52f8ac(_0x2c8452,_0x22db6c);},'YawWE':function(_0x3b0665,_0x2ec73c){return _0x3b0665 in _0x2ec73c;},'NuPkn':function(_0x5b1c19,_0x35e148,_0x29a066){return _0x5b1c19(_0x35e148,_0x29a066);},'FLueE':function(_0x3aa266,_0x5bc6c4,_0x320687){return _0x3aa266(_0x5bc6c4,_0x320687);},'fduVA':function(_0x2e541d){return _0x2e541d();},'vWPDS':function(_0x2fedcd,_0x5b29f9){return _0x2fedcd in _0x5b29f9;},'ikake':function(_0x110189,_0x323b69,_0x500104){return _0x110189(_0x323b69,_0x500104);},'jOgqs':function(_0x2b3848){return _0x2b3848();},'Iovzt':_0x2cbdf5(0x339,0x108)+'e','BvKkl':function(_0x1cc6ed){return _0x1cc6ed();},'pETNA':function(_0x4d2796,_0x59c3d6,_0x7a5511,_0xdb09b4,_0x1ee6ef){return _0x4d2796(_0x59c3d6,_0x7a5511,_0xdb09b4,_0x1ee6ef);},'bLHad':function(_0x20ac16,_0x1c2be8,_0xb0f0e1,_0x299b56,_0x5c829b){return _0x20ac16(_0x1c2be8,_0xb0f0e1,_0x299b56,_0x5c829b);},'SBALY':_0x2cbdf5(0x351,0x232)+_0xa884fc(0x51f,_0x69a6c5._0x2990a0)+_0xa884fc(0x522,_0x69a6c5._0xbe96bb)+_0xa884fc(0x644,_0x69a6c5._0x22235d)+'ng.\x20Left'+_0xa884fc(_0x69a6c5._0x564909,_0x69a6c5._0x118d14)+_0x2cbdf5(_0x69a6c5._0x26ea5e,0x19a),'IolOq':'install','GsJyv':'Auto-ins'+_0x2cbdf5(-_0x69a6c5._0x5533ff,0x6b)+_0xa884fc(_0x69a6c5._0x8f1a5c,_0x69a6c5._0x2d51a6)+_0xa884fc(0x317,0x58f)+'e.','uYosP':_0x2cbdf5(0xdd,0x232)+_0xa884fc(0x51f,0x5a0)+_0xa884fc(0x107,0x290)+_0xa884fc(_0x69a6c5._0x45ada0,_0x69a6c5._0x30ad6b)+'\x20but\x20sto'+'pped.\x20Re'+_0x2cbdf5(_0x69a6c5._0xf70b68,_0x69a6c5._0xaac0f2)+_0xa884fc(0x186,_0x69a6c5._0x48e7bd),'WyYBP':function(_0x2fc354,_0x2627af){return _0x2fc354(_0x2627af);},'UrKZk':function(_0x583634,_0x4c0609,_0x18cbda,_0x5a8d8e,_0x1e6703){return _0x583634(_0x4c0609,_0x18cbda,_0x5a8d8e,_0x1e6703);},'tFwhY':_0x2cbdf5(0x1f2,_0x69a6c5._0x102604)+_0xa884fc(0x274,_0x69a6c5._0xaa7035)+_0x2cbdf5(_0x69a6c5._0x3a2d3a,_0x69a6c5._0x57a10f)+_0xa884fc(0x166,-_0x69a6c5._0x195ede)+'ll\x22\x20or\x20\x22'+'clawket\x20'+_0xa884fc(0x30c,_0x69a6c5._0x21050d)+'ually.','LbWiT':'error','Vcdic':function(_0x415bce,_0x4662fd,_0x3be617){return _0x415bce(_0x4662fd,_0x3be617);},'EACid':function(_0x263dc1,_0x3d05b6,_0x2a6bd7,_0x27a632,_0x1abfe9){return _0x263dc1(_0x3d05b6,_0x2a6bd7,_0x27a632,_0x1abfe9);},'sAqri':function(_0x1268a9){return _0x1268a9();},'NYdep':function(_0x39991f,_0x2b020f,_0x468bf4){return _0x39991f(_0x2b020f,_0x468bf4);},'kgqyY':function(_0x5894a4,_0x364e26,_0x44057c){return _0x5894a4(_0x364e26,_0x44057c);},'EhAJD':function(_0x4eb4cc,_0x3832b5,_0x5b8bdc){return _0x4eb4cc(_0x3832b5,_0x5b8bdc);},'OYaVS':function(_0x464e93,_0x191ea4){return _0x464e93===_0x191ea4;},'mqVdf':_0xa884fc(0x635,_0x69a6c5._0x4f1cf1),'vYYfn':function(_0x50910a){return _0x50910a();},'NQsYM':_0x2cbdf5(0x2e4,0x62),'FguEr':function(_0x39b79f,_0x2a9c79,_0x537e71){return _0x39b79f(_0x2a9c79,_0x537e71);},'UyyvX':function(_0x4be18a){return _0x4be18a();},'EkRMN':function(_0x1e4de1,_0x26b30d){return _0x1e4de1>_0x26b30d;},'ltfHQ':function(_0x40e95e,_0x46d81d){return _0x40e95e>_0x46d81d;},'efvWQ':_0xa884fc(0x4c2,_0x69a6c5._0x121c77)+'y-url','zdYpn':'Starting'+_0xa884fc(0x53d,0x423)+_0xa884fc(0x26f,_0x69a6c5._0x306f3b)+_0xa884fc(0x4fe,0x693)+'trl+C\x20to'+_0x2cbdf5(-_0x69a6c5._0x3819c1,-_0x69a6c5._0x44ac8e),'xGBbd':function(_0x6e8696){return _0x6e8696();}},[,,_0x4f8708=_0x33a476['eJyzQ'],..._0x1d18c0]=process[_0xa884fc(_0x69a6c5._0x26a14c,_0x69a6c5._0x16c1b7)],_0x43aa7a=hasFlag(_0x1d18c0,_0x33a476['jhRsP']),_0x1d1c1f=hasFlag(_0x1d18c0,'--json');if(_0x4f8708===_0xa884fc(_0x69a6c5._0x2a6359,_0x69a6c5._0x17f71f)){const _0x5c5912=_0x33a476[_0xa884fc(0x284,_0x69a6c5._0x7aa403)](readPairSubcommand,_0x1d18c0),_0x5e412a=_0x5c5912===_0x33a476[_0xa884fc(_0x69a6c5._0x249ef6,_0x69a6c5._0x22c023)]||_0x33a476['DAkCU'](hasFlag,_0x1d18c0,_0xa884fc(0x3c9,_0x69a6c5._0x435eca));if(_0x5e412a){const _0x273dec=resolveGatewayAuth();if(_0x33a476[_0x2cbdf5(_0x69a6c5._0x20756e,0x415)](_0x2cbdf5(0x525,0x2cf),_0x273dec))throw new Error(_0x273dec[_0x2cbdf5(0x2c9,_0x69a6c5._0x1fba58)]);const _0x27433b=readFlag(_0x1d18c0,_0x2cbdf5(-_0x69a6c5._0x3831c7,0x108)+'e'),_0x4ad1ae=buildLocalPairingInfo({'explicitUrl':_0x33a476[_0xa884fc(_0x69a6c5._0x58eed6,0x432)](readFlag,_0x1d18c0,'--url'),'gatewayToken':_0x273dec[_0xa884fc(_0x69a6c5._0x293060,_0x69a6c5._0x340f9a)],'gatewayPassword':_0x273dec[_0x2cbdf5(_0x69a6c5._0x3dc891,0x96)]}),_0x1dc625=await writeRawQrPng(_0x4ad1ae[_0xa884fc(0x4a3,0x214)+'d'],'clawket-'+'local-pa'+'ir',_0x27433b);if(_0x1d1c1f){const _0x1c9d25={};_0x1c9d25[_0xa884fc(0x59c,_0x69a6c5._0xae4230)+'rl']=_0x4ad1ae['gatewayU'+'rl'],_0x1c9d25[_0xa884fc(_0x69a6c5._0x16eda5,_0x69a6c5._0x240e8a)]=_0x4ad1ae['authMode'],_0x1c9d25['expiresA'+'t']=_0x4ad1ae['expiresA'+'t'],_0x1c9d25['qrImageP'+'ath']=_0x1dc625,_0x1c9d25[_0xa884fc(0x622,_0x69a6c5._0x4c6dde)]=_0xa884fc(_0x69a6c5._0x3b5a52,0x3c8)+_0xa884fc(0x4b1,_0x69a6c5._0x2844a5)+_0xa884fc(0x25d,0x165)+_0xa884fc(_0x69a6c5._0x19e9bc,_0x69a6c5._0x4fdae2)+_0xa884fc(_0x69a6c5._0x58be87,_0x69a6c5._0xf1c314),printJson(buildLocalPairingJson(_0x1c9d25));}else printLocalPairingInfo(_0x4ad1ae[_0xa884fc(_0x69a6c5._0x543f02,0x7d4)+'rl'],_0x4ad1ae[_0x2cbdf5(_0x69a6c5._0x108710,0x1c0)],_0x4ad1ae['expiresA'+'t'],_0x4ad1ae[_0xa884fc(0x4a3,_0x69a6c5._0x111857)+'d'],_0x1dc625,_0x33a476[_0x2cbdf5(_0x69a6c5._0x5ee6f5,_0x69a6c5._0x111384)](readFlag,_0x1d18c0,'--url'));return;}const _0x55c45b=_0x33a476['FLueE'](hasFlag,_0x1d18c0,_0x2cbdf5(_0x69a6c5._0x3db145,_0x69a6c5._0x379c2f));!_0x55c45b&&await _0x33a476[_0x2cbdf5(0x5cb,_0x69a6c5._0x2c156a)](ensurePairPrerequisites);const _0x4492b1=resolveGatewayAuth();if(_0x33a476['vWPDS'](_0x2cbdf5(0x524,0x2cf),_0x4492b1))throw new Error(_0x4492b1[_0xa884fc(0x48f,0x421)]);const _0x4f5828=_0x33a476['ikake'](readFlag,_0x1d18c0,_0x2cbdf5(0x682,_0x69a6c5._0x5bea9a))??readFlag(_0x1d18c0,'-s')??'https://'+_0xa884fc(_0x69a6c5._0x89d07f,0x429)+_0xa884fc(_0x69a6c5._0x2f12e8,0x415)+'.ai',_0x1da48f=readFlag(_0x1d18c0,'--name')??readFlag(_0x1d18c0,'-n')??_0x33a476['jOgqs'](getDefaultBridgeDisplayName),_0x260b36=readFlag(_0x1d18c0,_0x33a476[_0xa884fc(_0x69a6c5._0x2fc119,0x1ac)]),_0x152d4b={};_0x152d4b['serverUr'+'l']=_0x4f5828,_0x152d4b[_0x2cbdf5(_0x69a6c5._0x48e7bd,0xf3)+_0xa884fc(_0x69a6c5._0x374a01,0x142)]=_0x1da48f,_0x152d4b[_0xa884fc(_0x69a6c5._0x1eea7f,_0x69a6c5._0x274ba4)+_0xa884fc(_0x69a6c5._0x191a99,0x5b0)]=_0x4492b1['token'],_0x152d4b[_0xa884fc(_0x69a6c5._0x204220,_0x69a6c5._0x327f10)+'assword']=_0x4492b1[_0x2cbdf5(-0xe4,_0x69a6c5._0x508c73)];const _0x20bbe6=await pairGateway(_0x152d4b),_0x37c0a4=await writePairingQrPng(_0x20bbe6,_0x260b36),_0x1e93d8=getServiceStatus(),_0x57c258=decidePairServiceAction(_0x20bbe6,_0x1e93d8);if(_0x57c258==='noop'){const _0x29b360=listRuntimeProcesses();if(_0x29b360[_0xa884fc(_0x69a6c5._0x12f745,-_0x69a6c5._0x585619)]>0x1){_0x33a476[_0x2cbdf5(-_0x69a6c5._0x3b8b16,_0x69a6c5._0x2d84ff)](stopRuntimeProcesses);const _0x5e6f97=restartService(),_0x41d532=_0x2cbdf5(-_0x69a6c5._0x1906ff,-_0x69a6c5._0x330f56)+_0xa884fc(_0x69a6c5._0x49fa8f,0x57d)+_0xa884fc(_0x69a6c5._0x5a9801,_0x69a6c5._0x16a9ce)+_0x2cbdf5(-_0x69a6c5._0x2603dc,0x7d)+'es.\x20Rest'+_0xa884fc(0x3cd,0x438)+_0x2cbdf5(0x17d,_0x69a6c5._0x2b91b2)+_0xa884fc(_0x69a6c5._0x13ef5a,0x340)+_0x2cbdf5(0x3ff,_0x69a6c5._0x496498)+'anly.';_0x1d1c1f?_0x33a476[_0xa884fc(_0x69a6c5._0x186a65,0x37b)](printJson,_0x33a476[_0x2cbdf5(_0x69a6c5._0xda08d7,-_0x69a6c5._0x368d9d)](buildPairingJson,_0x20bbe6,_0x37c0a4,_0x5e6f97,_0x41d532)):(printPairingInfo(_0x20bbe6,_0x37c0a4),printServiceResult(_0x41d532,_0x5e6f97));return;}_0x1d1c1f?printJson(_0x33a476[_0xa884fc(_0x69a6c5._0x3c5f00,-0x4b)](buildPairingJson,_0x20bbe6,_0x37c0a4,_0x1e93d8,_0x2cbdf5(0x371,0x232)+_0xa884fc(0x51f,_0x69a6c5._0x3741e)+_0xa884fc(0x522,_0x69a6c5._0x28536a)+_0xa884fc(0x644,_0x69a6c5._0x2af76d)+_0x2cbdf5(0xb7,0x2c0)+'\x20unchang'+_0x2cbdf5(0x34e,0x19a))):(printPairingInfo(_0x20bbe6,_0x37c0a4),console[_0xa884fc(_0x69a6c5._0x40d68a,_0x69a6c5._0x2bd0a5)](_0x33a476['SBALY']),printServiceResult(null,_0x1e93d8));return;}try{stopRuntimeProcesses();const _0x351781=_0x57c258===_0x2cbdf5(_0x69a6c5._0x5e9129,0xea)?installService():restartService(),_0x2c88b4=_0x57c258===_0x33a476[_0xa884fc(0x640,_0x69a6c5._0x65ee5f)]?_0x33a476[_0x2cbdf5(0x10d,_0x69a6c5._0x38227c)]:_0x20bbe6['action']===_0xa884fc(_0x69a6c5._0x5f1f76,0x44f)+'ed'?_0x2cbdf5(_0x69a6c5._0x3ac230,_0x69a6c5._0x42d3e5)+_0x2cbdf5(_0x69a6c5._0x44097c,0x3bd)+_0xa884fc(_0x69a6c5._0x4cad50,_0x69a6c5._0x7e1333)+'\x20Restart'+_0x2cbdf5(0x37,0x4)+_0xa884fc(_0x69a6c5._0x35e432,_0x69a6c5._0x16e748)+'rvice\x20to'+_0xa884fc(0x5fe,0x4dd)+'e\x20new\x20pa'+_0x2cbdf5(_0x69a6c5._0x20acf3,_0x69a6c5._0x25b8de):_0x33a476[_0x2cbdf5(_0x69a6c5._0x3b8345,0x37c)];_0x1d1c1f?printJson(buildPairingJson(_0x20bbe6,_0x37c0a4,_0x351781,_0x2c88b4)):(printPairingInfo(_0x20bbe6,_0x37c0a4),_0x33a476[_0xa884fc(_0x69a6c5._0x1fb3e5,_0x69a6c5._0x5867e8)](printServiceResult,_0x2c88b4,_0x351781));}catch(_0x2064c9){if(isAutostartUnsupportedError(_0x2064c9)){const _0x16836b=await startTransientRuntime(),_0x3bd708=_0x33a476['WyYBP'](buildUnsupportedAutostartMessage,_0x16836b);_0x1d1c1f?printJson(_0x33a476[_0x2cbdf5(_0x69a6c5._0x537a33,-_0x69a6c5._0x44a675)](buildPairingJson,_0x20bbe6,_0x37c0a4,_0x16836b,_0x3bd708)):(printPairingInfo(_0x20bbe6,_0x37c0a4),printServiceResult(_0x3bd708,_0x16836b));return;}console[_0x2cbdf5(0x33d,_0x69a6c5._0x1fba58)](_0xa884fc(0x2e4,_0x69a6c5._0x1eea7f)+_0xa884fc(0x5bb,_0x69a6c5._0x1751d9)+_0xa884fc(0x2f5,_0x69a6c5._0x191a99)+'ervice\x20a'+_0x2cbdf5(0x34e,0x2fc)+_0xa884fc(_0x69a6c5._0x3ed9be,0x7f8)+':\x20'+formatError2(_0x2064c9)),console[_0xa884fc(_0x69a6c5._0x54ee7a,_0x69a6c5._0x24b218)](_0x33a476[_0x2cbdf5(_0x69a6c5._0x8a1758,_0x69a6c5._0x30e2c5)]),process['exitCode']=0x1;}return;}if(_0x4f8708===_0x2cbdf5(_0x69a6c5._0x5f2409,0x41f)+'code'){const _0xa9ac2=readFlag(_0x1d18c0,_0x2cbdf5(0x2fa,0x108)+'e'),_0x3cb6e6=resolveGatewayAuth();if(_0x33a476['LbWiT']in _0x3cb6e6)throw new Error(_0x3cb6e6['error']);const _0x16f79a={};_0x16f79a[_0x2cbdf5(_0x69a6c5._0xc9dcae,_0x69a6c5._0x187204)+'oken']=_0x3cb6e6['token'],_0x16f79a[_0x2cbdf5(_0x69a6c5._0x33ef49,_0x69a6c5._0x35924d)+_0x2cbdf5(_0x69a6c5._0x25ac8e,0x45)]=_0x3cb6e6[_0xa884fc(0x256,0x1e9)];const _0x18052b=await refreshAccessCode(_0x16f79a),_0x56fc8c=await _0x33a476[_0xa884fc(0x538,0x7cc)](writePairingQrPng,_0x18052b,_0xa9ac2);_0x1d1c1f?printJson(_0x33a476[_0xa884fc(_0x69a6c5._0x41d48e,0x525)](buildPairingJson,_0x18052b,_0x56fc8c,_0x33a476[_0xa884fc(_0x69a6c5._0x2c26a3,_0x69a6c5._0x112500)](getServiceStatus),_0xa884fc(_0x69a6c5._0x31bb46,0x363)+_0x2cbdf5(_0x69a6c5._0x141022,_0x69a6c5._0x31b59b)+_0x2cbdf5(0x502,_0x69a6c5._0x549fab))):_0x33a476[_0x2cbdf5(0x13c,_0x69a6c5._0x21dd73)](printPairingInfo,_0x18052b,_0x56fc8c);return;}if(_0x4f8708===_0x2cbdf5(-_0x69a6c5._0x317944,0xea)||_0x4f8708===_0xa884fc(0x1b6,_0x69a6c5._0x368522)){const _0x4546e4=requirePairingConfig();_0x33a476['sAqri'](stopRuntimeProcesses);const _0x361226=_0x33a476[_0x2cbdf5(_0x69a6c5._0x479fd2,_0x69a6c5._0x2c156a)](installService);console[_0xa884fc(0x42f,0x545)](_0x2cbdf5(0x446,0x2b1)+_0x2cbdf5(_0x69a6c5._0x1b29a0,_0x69a6c5._0x2b9b4d)+_0xa884fc(0x1df,_0x69a6c5._0x4279e9)+_0x2cbdf5(_0x69a6c5._0x584410,0x24e)+_0x2cbdf5(_0x69a6c5._0x33cbb9,-_0x69a6c5._0x2b2cfb)+'\x20'+_0x4546e4[_0x2cbdf5(0x399,_0x69a6c5._0x3f4f40)+'d']+'.'),_0x33a476[_0xa884fc(_0x69a6c5._0x3e6992,0x258)](printServiceResult,null,_0x361226);return;}function _0x2cbdf5(_0x3b5407,_0x1adcca){return _0x684713(_0x3b5407,_0x1adcca- -_0x64b52._0x26df56);}if(_0x4f8708===_0xa884fc(_0x69a6c5._0x33bae2,_0x69a6c5._0x5499b2)){const _0xc1ecd=requirePairingConfig();stopRuntimeProcesses();const _0x2f9fc9=restartService();console[_0xa884fc(0x42f,0x4cd)](_0xa884fc(_0x69a6c5._0x1c4d46,0x3b)+_0xa884fc(_0x69a6c5._0x292dec,_0x69a6c5._0x1a9322)+'ound\x20ser'+_0xa884fc(_0x69a6c5._0x4d6626,_0x69a6c5._0x26bfb4)+_0xa884fc(0x195,-0xda)+'\x20'+_0xc1ecd[_0x2cbdf5(_0x69a6c5._0x47d3b9,0x2b6)+'d']+'.'),_0x33a476[_0xa884fc(_0x69a6c5._0x74cbdc,_0x69a6c5._0x29f476)](printServiceResult,null,_0x2f9fc9);return;}if(_0x33a476[_0x2cbdf5(_0x69a6c5._0x4a2824,0x448)](_0x4f8708,_0xa884fc(_0x69a6c5._0x436ed9,0x66b))){const _0x3f23e4=stopService();stopRuntimeProcesses(),console[_0x2cbdf5(0x16e,_0x69a6c5._0x2382de)](_0xa884fc(0x27b,_0x69a6c5._0xb14bc4)+_0x2cbdf5(_0x69a6c5._0x47c260,0x1cb)+_0x2cbdf5(_0x69a6c5._0x251afd,_0x69a6c5._0x4e431d)+_0xa884fc(_0x69a6c5._0x2bbb45,0x3e3)),printServiceResult(null,_0x3f23e4);return;}if(_0x4f8708===_0xa884fc(0x15a,0x27b)+'l'){const _0x2115c3=uninstallService();stopRuntimeProcesses(),console[_0x2cbdf5(-0x23,_0x69a6c5._0x42a5f1)](_0xa884fc(_0x69a6c5._0x363e70,_0x69a6c5._0xaff575)+_0xa884fc(_0x69a6c5._0x15b4d8,_0x69a6c5._0x2382de)+_0x2cbdf5(_0x69a6c5._0x482e66,0x35f)+_0x2cbdf5(_0x69a6c5._0x13095a,0x3a0)+_0xa884fc(_0x69a6c5._0x382a9c,_0x69a6c5._0x5530a8)),printServiceResult(null,_0x2115c3);return;}if(_0x4f8708===_0x33a476['mqVdf']){const _0xfccf5d=(_0xa884fc(0x170,0xff)+'4')[_0x2cbdf5(-_0x69a6c5._0x438ab0,0x4d)]('|');let _0x3a0dfb=0x0;while(!![]){switch(_0xfccf5d[_0x3a0dfb++]){case'0':console[_0xa884fc(_0x69a6c5._0x3b5d1b,_0x69a6c5._0x4ed36c)](_0x2cbdf5(_0x69a6c5._0x44977c,_0x69a6c5._0x3fbc35)+_0xa884fc(0x504,_0x69a6c5._0x2532bf)+'config:\x20'+_0x33a476[_0x2cbdf5(_0x69a6c5._0x89d07f,0x274)](getPairingConfigPath));continue;case'1':_0x33a476[_0x2cbdf5(-0x135,_0x69a6c5._0x2d84ff)](deletePairingConfig);continue;case'2':stopService();continue;case'3':_0x33a476[_0xa884fc(0x34e,_0x69a6c5._0x4e158d)](stopRuntimeProcesses);continue;case'4':return;}break;}}if(_0x33a476[_0x2cbdf5(0x33c,_0x69a6c5._0x435830)](_0x4f8708,'status')){printStatus();return;}if(_0x4f8708===_0xa884fc(_0x69a6c5._0x33583b,0x249)){const _0xa6a402=Number(readFlag(_0x1d18c0,_0x33a476[_0x2cbdf5(0x4f0,_0x69a6c5._0x4fca3f)])??'200'),_0x198d0e=parseLookbackToMs(_0x33a476[_0xa884fc(_0x69a6c5._0x7ebcfc,0x2c7)](readFlag,_0x1d18c0,_0xa884fc(0x463,_0x69a6c5._0x5ec9fd))??readFlag(_0x1d18c0,'-l')),_0x17b0b6=readRecentCliLogs({'lines':_0xa6a402,'lastMs':_0x198d0e,'includeErrorLog':hasFlag(_0x1d18c0,_0x2cbdf5(-0x245,_0x69a6c5._0x3ab5ae))});if(_0x1d1c1f){const _0x5c4471={};_0x5c4471['ok']=!![],_0x5c4471[_0x2cbdf5(0x219,0x376)]=_0x17b0b6,printJson(_0x5c4471);}else _0x17b0b6[_0xa884fc(0x12e,-_0x69a6c5._0x1d515c)]===0x0?console[_0x2cbdf5(0x13,_0x69a6c5._0x5f3f41)](_0x2cbdf5(-0x18f,0x55)+_0xa884fc(0x159,-_0x69a6c5._0x31b59b)+_0x2cbdf5(0x618,_0x69a6c5._0x406671)+_0xa884fc(_0x69a6c5._0x4b86ab,_0x69a6c5._0x1381f0)):console[_0x2cbdf5(_0x69a6c5._0x410f0e,0x26f)](_0x17b0b6[_0x2cbdf5(_0x69a6c5._0x43f261,-_0x69a6c5._0x105829)]('\x0a'));return;}function _0xa884fc(_0x168b29,_0x3c84ce){return _0x684713(_0x3c84ce,_0x168b29- -_0x22f98f._0x4ae32c);}if(_0x4f8708===_0x2cbdf5(_0x69a6c5._0x23c829,_0x69a6c5._0x3f85aa)){const _0x747bd3=await buildDoctorReport();_0x1d1c1f?printJson(_0x747bd3):printDoctorReport(_0x747bd3);return;}if(_0x4f8708===_0xa884fc(0x2e2,0x23c)){const _0x33b8c8=requirePairingConfig(),_0x1b6cfb=hasFlag(_0x1d18c0,_0x2cbdf5(0x54f,_0x69a6c5._0x47b0c3)+'e'),_0x20c889=_0x33a476[_0xa884fc(0x58f,_0x69a6c5._0x39d200)](listRuntimeProcesses)[_0xa884fc(0x164,-0xc7)](_0x3c7a01=>_0x3c7a01[_0x2cbdf5(-0xf3,0x165)]);_0x33a476[_0x2cbdf5(_0x69a6c5._0x1f5363,-_0x69a6c5._0x4913c8)](_0x20c889[_0xa884fc(0x12e,-_0x69a6c5._0x203fc7)],0x0)&&(!_0x1b6cfb&&(console[_0x2cbdf5(0x31c,_0x69a6c5._0x223449)]('Another\x20'+'Clawket\x20'+_0xa884fc(0x14e,_0x69a6c5._0x359a0a)+_0x2cbdf5(_0x69a6c5._0x588a5f,0xe1)+_0xa884fc(_0x69a6c5._0x376d76,_0x69a6c5._0x5b60f3)+_0x2cbdf5(-_0x69a6c5._0x2ec7ea,-0xaa)+_0xa884fc(_0x69a6c5._0x591497,_0x69a6c5._0x3bee01)+(_0x33a476['ltfHQ'](_0x20c889[_0x2cbdf5(-_0x69a6c5._0x30e2c5,-_0x69a6c5._0x4a1400)],0x1)?'s':'')+':\x20'+_0x20c889[_0x2cbdf5(_0x69a6c5._0x368d9d,-_0x69a6c5._0x5e91a7)](',\x20')+(_0x2cbdf5(0x33c,_0x69a6c5._0x570f62)+_0x2cbdf5(_0x69a6c5._0x4d6fc1,_0x69a6c5._0xb1c9b7)+_0x2cbdf5(0x133,_0x69a6c5._0x167cd1)+_0xa884fc(0x185,0x316)+'rerun\x20wi'+_0x2cbdf5(_0x69a6c5._0x443c76,0x347)+_0xa884fc(_0x69a6c5._0x4aa34a,_0x69a6c5._0x34e6ab)+_0xa884fc(_0x69a6c5._0x159e0a,0x66c)+'ver.')),process[_0x2cbdf5(_0x69a6c5._0x45f249,0x24b)](0x1)),stopRuntimeProcesses());const _0x3acddb=_0x33a476[_0xa884fc(0x11e,_0x69a6c5._0x2063fa)](resolveGatewayUrl,readFlag(_0x1d18c0,_0x33a476[_0x2cbdf5(0x363,_0x69a6c5._0x24223b)])??_0x33a476['FguEr'](readFlag,_0x1d18c0,'-g')),_0x580580=_0x1ec8e9=>{function _0x5b0f3a(_0x30842c,_0x2b4265){return _0xa884fc(_0x2b4265-_0x505007._0xb9b3e6,_0x30842c);}console[_0x5b0f3a(_0x4bd0c4._0x4f81fd,0x5e3)]('['+Date['now']()+']\x20'+_0x1ec8e9);};!_0x43aa7a?(console['log'](_0xa884fc(0x273,_0x69a6c5._0x2230b5)+'ID:\x20'+_0x33b8c8['gatewayI'+'d']),console['log'](_0xa884fc(0x63e,0x400)+'\x20ID:\x20'+_0x33b8c8[_0xa884fc(0x161,_0x69a6c5._0x1fdeca)+'Id']),console[_0xa884fc(_0x69a6c5._0xec7817,0x337)]('Gateway\x20'+_0x2cbdf5(-0x7a,0xd2)+_0x3acddb),console[_0x2cbdf5(_0x69a6c5._0x18a67c,0x26f)](''),console[_0x2cbdf5(_0x69a6c5._0x472763,0x26f)](_0x33a476[_0xa884fc(0x418,0x5d9)]),console[_0x2cbdf5(_0x69a6c5._0x2348e9,0x26f)]('')):_0x580580('Starting'+_0x2cbdf5(-0x5a,0xc9)+_0xa884fc(_0x69a6c5._0x2c4c3b,_0x69a6c5._0x406671)+_0xa884fc(0x385,0x43f)+_0x2cbdf5(0x1e7,0x1e6)+'eway\x20'+_0x33b8c8[_0x2cbdf5(0x3c1,0x2b6)+'d']);_0x43aa7a&&writeServiceState();const _0x47de8b=new BridgeRuntime({'config':_0x33b8c8,'gatewayUrl':_0x3acddb,'onLog':_0x4a82c9=>{_0x580580('[clawket'+']\x20'+_0x4a82c9);},'onStatus':_0x235f05=>{function _0x2623df(_0x2fe269,_0x2923da){return _0x2cbdf5(_0x2923da,_0x2fe269-0x103);}if(_0x235f05[_0x501a59(0x712,_0x377261._0x5b4be8)+'r']){_0x580580(_0x501a59(_0x377261._0x382b5d,_0x377261._0x2ead7d)+_0x501a59(0x377,_0x377261._0x5ee9f3)+(_0x235f05[_0x501a59(_0x377261._0x5515cc,0x912)+'nected']?'up':_0x2623df(0x3b0,_0x377261._0x1ec285))+(_0x501a59(_0x377261._0x316fa8,_0x377261._0xcbbe40)+'=')+(_0x235f05[_0x2623df(_0x377261._0x16ef63,-_0x377261._0x3ae274)+_0x501a59(0x453,0x1c5)]?'up':'down')+(_0x501a59(0x68d,_0x377261._0x452e5c)+'=')+_0x235f05['clientCo'+'unt']+_0x2623df(0x49c,_0x377261._0x2fe035)+_0x235f05[_0x2623df(_0x377261._0x4fab12,0x413)+'r']);return;}function _0x501a59(_0x5e1f14,_0x2b15a9){return _0x2cbdf5(_0x2b15a9,_0x5e1f14-0x405);}_0x33a476[_0x501a59(0x742,0x4c3)](_0x580580,'[status]'+_0x2623df(_0x377261._0x5769b4,_0x377261._0x551273)+(_0x235f05[_0x2623df(0x3e2,_0x377261._0x5a05b3)+_0x2623df(_0x377261._0x7afdb2,0x2ef)]?'up':'down')+(_0x501a59(0x3da,_0x377261._0x3b81e9)+'=')+(_0x235f05['gatewayC'+_0x501a59(_0x377261._0x377f4d,0x1b0)]?'up':_0x33a476[_0x2623df(_0x377261._0x4f67c8,_0x377261._0x57fe80)])+('\x20clients'+'=')+_0x235f05['clientCo'+'unt']);},'onPendingPairRequest':_0x83c269=>{const _0x31b39c={_0x483d7d:0x1e7};function _0x757a51(_0x10fe11,_0x306ff2){return _0xa884fc(_0x10fe11- -_0x31b39c._0x483d7d,_0x306ff2);}function _0x8c5546(_0x293ace,_0x6e7d4d){return _0xa884fc(_0x293ace-0x2b9,_0x6e7d4d);}_0x580580('[pair-re'+_0x757a51(-_0x466b68._0x2db9b9,0xd5)+_0x8c5546(_0x466b68._0x3cf424,0x714)+'='+_0x83c269[_0x8c5546(_0x466b68._0x345161,0xa3e)+'d']+('\x20deviceI'+'d=')+(_0x83c269[_0x757a51(-0x34,_0x466b68._0x46c820)]||_0x757a51(0x212,0x8f)+'>')+_0x757a51(-_0x466b68._0x2dd01f,0xa3)+(_0x83c269[_0x8c5546(_0x466b68._0x290029,_0x466b68._0x3e1bcd)+_0x757a51(0xfa,0x26d)]??_0x8c5546(0x6b2,_0x466b68._0x5bd4a)+'>'));}});_0x47de8b['start']();const _0x2d2b79={};_0x2d2b79[_0x2cbdf5(_0x69a6c5._0x5e2a64,_0x69a6c5._0x3f4f40)+'d']=_0x33b8c8[_0x2cbdf5(_0x69a6c5._0x1bcc83,_0x69a6c5._0x47b38d)+'d'],_0x2d2b79[_0x2cbdf5(0x126,-0x5f)+'Id']=_0x33b8c8[_0x2cbdf5(-0x183,-_0x69a6c5._0x12315b)+'Id'],_0x2d2b79[_0x2cbdf5(0x35c,0x402)+_0xa884fc(_0x69a6c5._0x5c40f1,0x106)]=_0x43aa7a,_0x33a476[_0x2cbdf5(-_0x69a6c5._0x54ca8d,_0x69a6c5._0x27be41)](registerRuntimeProcess,_0x2d2b79);const _0x57bb25=async()=>{const _0x15abf2={_0x50ed0f:0x545},_0xbd5b05=(_0x3426bb(-0x10c,0x80)+'2|3')[_0x3426bb(_0x292c36._0xbe45f4,0x8f)]('|');function _0x3c270d(_0x1a0566,_0x46d572){return _0x2cbdf5(_0x46d572,_0x1a0566-_0x15abf2._0x50ed0f);}let _0x122ac6=0x0;function _0x3426bb(_0x545aa4,_0x326480){return _0x2cbdf5(_0x545aa4,_0x326480-_0x4656df._0x102ff6);}while(!![]){switch(_0xbd5b05[_0x122ac6++]){case'0':unregisterRuntimeProcess(process[_0x3c270d(0x6aa,0x54c)]);continue;case'1':process[_0x3426bb(_0x292c36._0x20e96d,_0x292c36._0x34e7fa)]('SIGINT',_0x57bb25);continue;case'2':_0x43aa7a&&clearServiceState(process['pid']);continue;case'3':process[_0x3426bb(_0x292c36._0x3e080d,0x28d)](0x0);continue;case'4':await _0x47de8b[_0x3c270d(0x894,0x655)]();continue;case'5':process[_0x3c270d(0x73d,_0x292c36._0x4ae3d1)](_0x3426bb(0xbb,0x81),_0x57bb25);continue;}break;}};process['on'](_0xa884fc(_0x69a6c5._0x23eb07,0x63b),_0x57bb25),process['on'](_0x2cbdf5(-0x1a5,_0x69a6c5._0x170ff6),_0x57bb25),await new Promise(()=>{});}_0x33a476['xGBbd'](printHelp);}function printPairingInfo(_0x499070,_0xaa7c){const _0x12cebc={_0x25cdc5:0x466,_0x46b77a:0x25e,_0x16d897:0x2f1,_0x287957:0x38b,_0x11f996:0x46d,_0x4a365a:0x79f,_0x231f82:0x543,_0x533487:0x387,_0x313c6e:0x3f1,_0x5a9fe6:0x3a7,_0x284771:0x40b,_0x530baa:0x58a,_0x45c6e7:0x86,_0x34bd5b:0x701,_0x294f06:0x3b9,_0xb94437:0x4e9,_0x115b6a:0x582,_0x5376dc:0x543,_0x3578e2:0x446,_0x4d48e0:0x616,_0x52569e:0x448,_0x4d4eca:0x399,_0x2826c7:0xd0,_0x247b5d:0x13d,_0x3b6488:0x4bb,_0x19fc7c:0x1d6,_0x5684aa:0x7d},_0xcdce9a={'Akjgd':function(_0xffd035,_0x595434){return _0xffd035(_0x595434);}};_0x499070[_0x570d2c(-0xf4,-0x7d)]==='refreshe'+'d'&&console['log']('Bridge\x20a'+_0x570d2c(_0x12cebc._0x25cdc5,_0x12cebc._0x46b77a)+_0x570d2c(_0x12cebc._0x16d897,0x2a4)+_0x570d2c(_0x12cebc._0x287957,0x198)+'\x20the\x20pai'+_0x3dff40(_0x12cebc._0x11f996,0x4de)+'e.');console[_0x3dff40(_0x12cebc._0x4a365a,_0x12cebc._0x231f82)](_0x3dff40(0x5bb,_0x12cebc._0x533487)+_0x3dff40(0x5f3,_0x12cebc._0x313c6e)+_0x499070[_0x3dff40(_0x12cebc._0x5a9fe6,_0x12cebc._0x284771)][_0x3dff40(0x6f5,_0x12cebc._0x530baa)+'d']),console['log'](_0x570d2c(-0x1c2,_0x12cebc._0x45c6e7)+_0x3dff40(_0x12cebc._0x34bd5b,0x554)+_0x570d2c(0x386,0x1e0)+'e\x20Clawke'+_0x570d2c(0xd2,-0x126));const _0x56c502={};function _0x3dff40(_0x2ce0eb,_0x49e74b){return _0x684713(_0x2ce0eb,_0x49e74b-0xb0);}_0x56c502[_0x3dff40(0x420,_0x12cebc._0x294f06)]=!![];function _0x570d2c(_0xbd66d,_0x5101c4){return _0x684713(_0xbd66d,_0x5101c4- -0x345);}_0x2d1298[_0x3dff40(_0x12cebc._0xb94437,0x610)](_0x499070['qrPayloa'+'d'],_0x56c502),console[_0x3dff40(_0x12cebc._0x115b6a,_0x12cebc._0x5376dc)](_0x3dff40(_0x12cebc._0x3578e2,0x332)+'\x20'+_0xcdce9a[_0x3dff40(_0x12cebc._0x4d48e0,_0x12cebc._0x52569e)](formatLocalTime,_0x499070[_0x3dff40(0x108,_0x12cebc._0x4d4eca)+_0x570d2c(_0x12cebc._0x2826c7,_0x12cebc._0x247b5d)+_0x3dff40(0x1e3,0x3bb)])),console[_0x3dff40(_0x12cebc._0x3b6488,0x543)](_0x570d2c(_0x12cebc._0x19fc7c,_0x12cebc._0x5684aa)+':\x20'+_0xaa7c);}function printLocalPairingInfo(_0x141508,_0x29ee3e,_0x9cadd,_0x1f720c,_0x4911ce,_0x163947){const _0x4bf31e={_0x157fce:0xa46,_0x884274:0x66a,_0x548f94:0x192,_0x37aa0c:0x383,_0x4fff43:0x612,_0x5971db:0x4a,_0x3ba587:0x8b7,_0x580bf6:0x6e4,_0x3e8ffb:0xcb,_0x4f12be:0x21,_0x2311e2:0x924,_0x5468ee:0x8a7,_0x3c4f80:0x8f3,_0x20d8cb:0x60,_0x3adde5:0x992,_0x6aec18:0x706,_0x2c41ee:0x112,_0x52c331:0x31},_0x3b8540={_0xdc256f:0x635};console[_0x2e48d0(_0x4bf31e._0x157fce,0x826)](_0x2e48d0(0x55b,_0x4bf31e._0x884274)+_0x5b21a1(-0x8b,_0x4bf31e._0x548f94)+_0x141508),console['log']('Auth\x20mod'+_0x2e48d0(_0x4bf31e._0x37aa0c,_0x4bf31e._0x4fff43)+_0x29ee3e);function _0x5b21a1(_0x9d1746,_0x29e722){return _0x528821(_0x29e722,_0x9d1746- -0xdf);}console['log'](_0x163947?_0x5b21a1(_0x4bf31e._0x5971db,-0xc7)+'is\x20custo'+_0x5b21a1(-_0x4bf31e._0x548f94,-0x2a)+'y\x20QR\x20in\x20'+'the\x20Claw'+_0x2e48d0(0x6e5,_0x4bf31e._0x3ba587)+'\x0a':_0x2e48d0(_0x4bf31e._0x580bf6,0x75e)+_0x2e48d0(0x9ce,0x847)+_0x5b21a1(-0x188,-_0x4bf31e._0x3e8ffb)+_0x5b21a1(0xb1,0x2d8)+'he\x20Clawk'+_0x5b21a1(-_0x4bf31e._0x4f12be,-0x190));const _0x4d8758={};_0x4d8758[_0x2e48d0(_0x4bf31e._0x2311e2,0x69c)]=!![];function _0x2e48d0(_0x21eae3,_0x3c7460){return _0x528821(_0x21eae3,_0x3c7460-_0x3b8540._0xdc256f);}_0x2d1298[_0x2e48d0(_0x4bf31e._0x5468ee,_0x4bf31e._0x3c4f80)](_0x1f720c,_0x4d8758),console[_0x5b21a1(0x112,_0x4bf31e._0x20d8cb)](_0x2e48d0(0x7cd,0x615)+'\x20'+new Date(_0x9cadd)[_0x2e48d0(_0x4bf31e._0x3adde5,_0x4bf31e._0x6aec18)+_0x5b21a1(0xb,0x70)]()),console[_0x5b21a1(_0x4bf31e._0x2c41ee,_0x4bf31e._0x52c331)]('QR\x20image'+':\x20'+_0x4911ce);}function printStatus(){const _0x379064={_0x4dd598:0x789,_0x39304b:0x6c0,_0x57fd2c:0x488,_0x4363e7:0x15e,_0x1e3a2e:0x429,_0x4e33f2:0x1e3,_0x25d87b:0x164,_0x1ced2f:0x6a1,_0x1f3e21:0x30,_0x1dbd1e:0x50,_0x29a4d8:0x204,_0x129b6f:0x4b5,_0x45f36f:0x16a,_0x44c9b9:0x10b,_0x4ce4ae:0x61a,_0x352e64:0x804,_0x4b6ba0:0x1b7,_0x5897b4:0x727,_0x52625e:0x629,_0x5d2938:0x2c8,_0x53e70f:0x6dc,_0x8baf97:0x95,_0x241007:0x1f9,_0x5c6d2e:0x2f7,_0x30d76f:0x680,_0x4cf26a:0x37b,_0x4dd101:0x723,_0x5cdde2:0x126,_0x127201:0x16a,_0x444e85:0x8e,_0x122ce7:0x915,_0x1363ff:0x87c,_0x574c48:0xa7d},_0x26c40b={};_0x26c40b['bAlou']=_0x266745(0x11e,-0x40)+'d';const _0x4d4ea1=_0x26c40b,_0x44bc07=readPairingConfig(),_0x135fef=getServiceStatus(),{logPath:_0x86974f,errorLogPath:_0x44bf7d}=getServicePaths();function _0x266745(_0x317855,_0x2a131a){return _0x684713(_0x2a131a,_0x317855- -0x329);}const _0x47814e=readCliVersion();console[_0x17325c(0x727,0x58a)]('Version:'+'\x20'+_0x47814e);!_0x44bc07?console['log'](_0x266745(0x323,0x30f)+_0x17325c(_0x379064._0x4dd598,_0x379064._0x39304b)+_0x266745(0x2b7,0x2e6)+getPairingConfigPath()+')'):(console[_0x17325c(0x727,0x6c3)]('Config:\x20'+_0x17325c(_0x379064._0x57fd2c,0x4c0)),console[_0x266745(0x16a,_0x379064._0x4363e7)](_0x17325c(0x56b,_0x379064._0x1e3a2e)+'ID:\x20'+_0x44bc07['gatewayI'+'d']),console['log'](_0x266745(0x379,_0x379064._0x4e33f2)+':\x20'+_0x44bc07[_0x266745(-_0x379064._0x25d87b,-0x121)+'Id']),console[_0x17325c(0x727,_0x379064._0x1ced2f)](_0x266745(-_0x379064._0x1f3e21,0x1bf)+_0x266745(-_0x379064._0x1dbd1e,_0x379064._0x29a4d8)+_0x44bc07[_0x17325c(0x4f3,_0x379064._0x129b6f)+'l']),console[_0x266745(_0x379064._0x45f36f,-_0x379064._0x44c9b9)](_0x17325c(_0x379064._0x4ce4ae,_0x379064._0x352e64)+(_0x44bc07['displayN'+_0x266745(0x1c,_0x379064._0x4b6ba0)]??'-')));console[_0x17325c(_0x379064._0x5897b4,_0x379064._0x52625e)]('Gateway:'+'\x20'+resolveGatewayUrl()),console[_0x266745(0x16a,_0x379064._0x5d2938)]('Service:'+'\x20'+(_0x135fef[_0x17325c(0x6db,_0x379064._0x53e70f)+'d']?_0x4d4ea1[_0x266745(-_0x379064._0x8baf97,-_0x379064._0x241007)]:'not\x20inst'+'alled')+'\x20('+_0x135fef['method']+')'),console[_0x17325c(0x727,0x7b6)](_0x17325c(0x496,_0x379064._0x5c6d2e)+'\x20'+(_0x135fef[_0x17325c(0x5a0,0x822)]?_0x17325c(0x44b,_0x379064._0x30d76f):'no')),console[_0x266745(0x16a,_0x379064._0x4cf26a)](_0x17325c(_0x379064._0x4dd101,0x634)+(_0x135fef[_0x266745(0x2ba,_0x379064._0x5cdde2)+'ath']||'-')),console[_0x266745(_0x379064._0x127201,_0x379064._0x444e85)](_0x17325c(_0x379064._0x122ce7,0xb78)+_0x86974f),console[_0x17325c(0x727,_0x379064._0x1363ff)](_0x17325c(0x85e,_0x379064._0x574c48)+_0x266745(-0x87,0x15f)+_0x44bf7d);function _0x17325c(_0x4abe74,_0x2fed9e){return _0x684713(_0x2fed9e,_0x4abe74-0x294);}!_0x44bc07&&(process['exitCode']=0x1);}function printServiceResult(_0x12d375,_0x595c4b){const _0x56b867={_0x889e51:0x71c,_0x35692b:0xfa,_0x479f06:0x1a6,_0x564419:0x595,_0x583693:0x707,_0x58f442:0x39b,_0x556c34:0x42c,_0x45f0b6:0x475,_0x4c4812:0x822,_0xf56206:0x448,_0x1d6007:0x290,_0x1f8246:0x71c,_0x308159:0x740,_0x383a3a:0x7dd,_0x2a12ab:0x5d0,_0xe42895:0x24a},_0x20cf24={_0x34be53:0x289};_0x12d375&&console[_0x197774(_0x56b867._0x889e51,0x8ae)](_0x12d375);console[_0x197774(0x71c,0x91f)](_0x386538(_0x56b867._0x35692b,_0x56b867._0x479f06)+'\x20'+(_0x595c4b['installe'+'d']?_0x595c4b[_0x197774(_0x56b867._0x564419,_0x56b867._0x583693)]?_0x197774(0x6d0,0x5bd)+_0x386538(_0x56b867._0x58f442,0x2a0)+'ng':_0x197774(0x6d0,_0x56b867._0x556c34)+_0x386538(0x3b7,_0x56b867._0x45f0b6)+'ed':_0x197774(0x6a6,_0x56b867._0x4c4812)+_0x386538(_0x56b867._0xf56206,_0x56b867._0x1d6007)));function _0x197774(_0x40f7ef,_0x5f31dd){return _0x684713(_0x5f31dd,_0x40f7ef-_0x20cf24._0x34be53);}function _0x386538(_0x5d2fd4,_0x8d0074){return _0x684713(_0x8d0074,_0x5d2fd4- -0x139);}console[_0x197774(_0x56b867._0x1f8246,_0x56b867._0x308159)](_0x197774(_0x56b867._0x383a3a,0x6e7)+_0x197774(0x57a,_0x56b867._0x2a12ab)+(_0x595c4b[_0x386538(0x4aa,_0x56b867._0xe42895)+'ath']||'-'));}function printDoctorReport(_0x328edd){const _0x12aa3f={_0x17cc7e:0x397,_0x52cb5a:0x3f8,_0x1fb44f:0xf9,_0x47f4d6:0x7,_0x3a92d6:0x62e,_0x1f26e3:0x400,_0x58c1a6:0x3dd,_0x1b50c9:0x603,_0x1554ad:0x3b6,_0x264cc0:0x57f,_0x3059cc:0x570,_0x1f2d7d:0x3c0,_0x54eb48:0x867,_0x42d4a3:0x52b,_0x31a781:0x461,_0x57ce54:0x55a,_0x32994a:0x82a,_0x1c346d:0x5bc,_0x2107bd:0x1d3,_0xa659c3:0x703,_0x2259ff:0x6e0,_0xc0dcc6:0x67d,_0x5233c1:0x552,_0x354ecb:0x5bf,_0x19a980:0x27f,_0x19c857:0x2,_0x322f78:0x794,_0x2467e0:0x631,_0x13cdf3:0x5d6,_0x58a032:0x1e8,_0x2e604e:0x41a,_0x457c33:0x505,_0x5b19f4:0x46e,_0x37e244:0x42f,_0x794b1:0x744,_0x36a4be:0x9b5,_0x1c41ce:0x32c,_0x209869:0x7e1,_0x56c48e:0x5e9,_0x5625e4:0x54b,_0x12b563:0x6c7,_0x517fbf:0x3aa,_0x315a53:0x4df,_0x4037e2:0x570,_0x4c3691:0x45b,_0x4a5c85:0x597,_0x486dba:0x813,_0x45380d:0x684,_0x42e30c:0x56e,_0x49cbd2:0x594,_0x48b41c:0x751,_0x437ee8:0x7a0,_0x644524:0x2e0,_0x54ec2b:0x4c9,_0x128722:0x3b4,_0x4e73a3:0x1cf,_0x145988:0x261,_0x122512:0x38,_0x15f169:0x2a6,_0x24bce7:0x347,_0x2bc9a1:0x667,_0x515e4a:0x514,_0x570173:0x2f5,_0x963b46:0x179},_0x243a04={};_0x243a04[_0x4ca915(0x7f9,0x703)]=_0x4ca915(_0x12aa3f._0x17cc7e,0x2e0),_0x243a04[_0x4ca915(_0x12aa3f._0x52cb5a,0x5e0)]='found';const _0x28dcac=_0x243a04;console[_0x4ca915(0x785,0x5bc)]('Paired:\x20'+(_0x328edd[_0x365f0b(0x2d1,_0x12aa3f._0x1fb44f)]?_0x365f0b(0x294,_0x12aa3f._0x47f4d6):'no')),console[_0x365f0b(0x570,_0x12aa3f._0x3a92d6)](_0x4ca915(0x188,_0x12aa3f._0x1f26e3)+_0x365f0b(0x41e,_0x12aa3f._0x58c1a6)+(_0x328edd['gatewayI'+'d']??'-')),console[_0x365f0b(0x570,_0x12aa3f._0x1b50c9)](_0x365f0b(0x3d6,0x207)+_0x365f0b(_0x12aa3f._0x1554ad,_0x12aa3f._0x264cc0)+(_0x328edd[_0x365f0b(0x33c,0x284)+'l']??'-')),console[_0x365f0b(_0x12aa3f._0x3059cc,_0x12aa3f._0x1f2d7d)](_0x365f0b(0x687,_0x12aa3f._0x54eb48)+_0x4ca915(_0x12aa3f._0x42d4a3,_0x12aa3f._0x31a781)+(_0x328edd[_0x365f0b(0x408,0x5a9)]??'-')),console[_0x365f0b(_0x12aa3f._0x3059cc,_0x12aa3f._0x57ce54)](_0x4ca915(0x5bd,0x7cb)+_0x4ca915(_0x12aa3f._0x32994a,0x5d4)+(_0x328edd[_0x365f0b(0x2a2,0x389)+'Id']??'-')),console[_0x4ca915(0x65d,_0x12aa3f._0x1c346d)](_0x365f0b(0x310,_0x12aa3f._0x2107bd)+'\x20'+(_0x328edd['serviceI'+_0x365f0b(0x57b,0x557)]?'installe'+'d':'not\x20inst'+'alled')+'\x20('+_0x328edd[_0x365f0b(_0x12aa3f._0xa659c3,0x8bc)+_0x365f0b(_0x12aa3f._0x2259ff,0x73f)]+')'),console[_0x4ca915(0x59a,_0x12aa3f._0x1c346d)](_0x4ca915(0x57d,_0x12aa3f._0xc0dcc6)+_0x4ca915(0x7bd,_0x12aa3f._0x5233c1)+'\x20'+(_0x328edd[_0x4ca915(0x668,_0x12aa3f._0x354ecb)+_0x365f0b(_0x12aa3f._0x19a980,_0x12aa3f._0x19c857)]?_0x28dcac[_0x365f0b(0x6b7,_0x12aa3f._0x322f78)]:'no'));function _0x4ca915(_0x647e72,_0x5db91d){return _0x684713(_0x647e72,_0x5db91d-0x129);}console['log'](_0x365f0b(_0x12aa3f._0x2467e0,_0x12aa3f._0x13cdf3)+_0x4ca915(_0x12aa3f._0x58a032,_0x12aa3f._0x2e604e)+(_0x328edd[_0x365f0b(0x6c0,_0x12aa3f._0x457c33)+'ath']||'-')),console[_0x4ca915(0x85e,_0x12aa3f._0x1c346d)]('Log\x20path'+':\x20'+_0x328edd['logPath']),console['log'](_0x4ca915(_0x12aa3f._0x5b19f4,_0x12aa3f._0x37e244)+_0x365f0b(0x357,0x11b)+_0x328edd['errorLog'+_0x365f0b(_0x12aa3f._0x794b1,_0x12aa3f._0x36a4be)]),console[_0x365f0b(0x570,0x551)](_0x4ca915(0x42f,_0x12aa3f._0x1c41ce)+_0x4ca915(_0x12aa3f._0x209869,_0x12aa3f._0x56c48e)+_0x328edd[_0x365f0b(_0x12aa3f._0x5625e4,_0x12aa3f._0x12b563)+_0x365f0b(_0x12aa3f._0x517fbf,0x548)+'r']),console['log']('OpenClaw'+_0x4ca915(0x26b,_0x12aa3f._0x315a53)+_0x328edd[_0x365f0b(0x54b,0x4f9)+'MediaDir']),console[_0x365f0b(_0x12aa3f._0x4037e2,0x5c7)]('OpenClaw'+_0x365f0b(_0x12aa3f._0x4c3691,0x437)+'\x20'+(_0x328edd[_0x4ca915(0x2fa,_0x12aa3f._0x4a5c85)+_0x4ca915(_0x12aa3f._0x486dba,_0x12aa3f._0x45380d)+_0x365f0b(_0x12aa3f._0x42e30c,0x59b)]?_0x28dcac[_0x365f0b(_0x12aa3f._0x49cbd2,0x4dd)]:_0x4ca915(_0x12aa3f._0x48b41c,0x4c9)));function _0x365f0b(_0x5a1226,_0x263311){return _0x684713(_0x263311,_0x5a1226-0xdd);}console[_0x365f0b(0x570,_0x12aa3f._0x437ee8)](_0x365f0b(_0x12aa3f._0x644524,0x502)+'\x20token:\x20'+(_0x328edd[_0x4ca915(0x6fe,0x597)+'TokenFou'+'nd']?_0x365f0b(0x543,0x400):_0x4ca915(0x640,_0x12aa3f._0x54ec2b))),console[_0x365f0b(0x570,0x54c)](_0x365f0b(_0x12aa3f._0x128722,0x2fa)+_0x365f0b(0x3d3,_0x12aa3f._0x4e73a3)+_0x328edd[_0x365f0b(_0x12aa3f._0x145988,-_0x12aa3f._0x122512)+'ewayUrl']),console[_0x365f0b(0x570,0x419)](_0x365f0b(0x3b4,0x173)+_0x365f0b(_0x12aa3f._0x15f169,0xf0)+_0x4ca915(_0x12aa3f._0x24bce7,0x3a8)+(_0x328edd[_0x365f0b(0x261,0x6e)+_0x365f0b(_0x12aa3f._0x2bc9a1,0x851)+_0x365f0b(_0x12aa3f._0x515e4a,_0x12aa3f._0x570173)]?_0x4ca915(_0x12aa3f._0x963b46,0x2e0):'no'));}function requirePairingConfig(){const _0x5e6d6b={_0x517c65:0x680,_0x447a48:0x12b,_0x54c235:0x2d4,_0x279130:0x44a},_0x1e49f0={_0x349144:0xc2},_0x4d259c=readPairingConfig();function _0x5cc94a(_0x9bbfa5,_0x5f4c58){return _0x684713(_0x5f4c58,_0x9bbfa5-0x4);}function _0x2af235(_0xecee5e,_0x2b55cd){return _0x684713(_0x2b55cd,_0xecee5e-_0x1e49f0._0x349144);}return!_0x4d259c&&(console[_0x2af235(0x5b5,_0x5e6d6b._0x517c65)](_0x5cc94a(0x485,0x53a)+_0x2af235(0x2a6,0x1dc)+_0x5cc94a(0x40f,0x68d)+_0x2af235(0x267,_0x5e6d6b._0x447a48)+_0x5cc94a(_0x5e6d6b._0x54c235,_0x5e6d6b._0x279130)+_0x2af235(0x647,0x7e0)+_0x2af235(0x6d1,0x790)+getPairingConfigPath()),process[_0x5cc94a(0x473,0x47f)](0x1)),_0x4d259c;}function readFlag(_0x2da54a,_0x4cbde9){const _0x5d846d={_0x44b223:0x4ba,_0x48fa3f:0x42a,_0x1372da:0x214,_0x4ab97f:0x99},_0x522ad3={_0x543a74:0x1a7},_0x495897={_0x194a92:0x1f8};function _0x4ffc67(_0x2cc15d,_0x48d338){return _0x684713(_0x48d338,_0x2cc15d-_0x495897._0x194a92);}const _0x122f5e={};_0x122f5e[_0x4ffc67(0x859,0x8d9)]=function(_0x883016,_0x355ea1){return _0x883016+_0x355ea1;};function _0x526c0e(_0x51048d,_0x56057b){return _0x684713(_0x56057b,_0x51048d- -_0x522ad3._0x543a74);}const _0x4b7fa0=_0x122f5e,_0xde76e0=_0x2da54a['indexOf'](_0x4cbde9);if(_0xde76e0<0x0)return null;const _0xec7dc5=_0x2da54a[_0x4b7fa0[_0x526c0e(_0x5d846d._0x44b223,_0x5d846d._0x48fa3f)](_0xde76e0,0x1)];return _0xec7dc5?.[_0x4ffc67(0x5b3,0x5f7)]()?_0xec7dc5[_0x526c0e(_0x5d846d._0x1372da,_0x5d846d._0x4ab97f)]():null;}function hasFlag(_0x4d1c1f,_0x2de385){const _0x223d0a={_0x14cfe1:0x1fe},_0x150bde={_0x23f466:0x151};function _0x2ac15b(_0x274701,_0x482de5){return _0x528821(_0x482de5,_0x274701- -_0x150bde._0x23f466);}return _0x4d1c1f[_0x2ac15b(_0x223d0a._0x14cfe1,0x3b0)](_0x2de385);}function readPairSubcommand(_0xfcd5f8){const _0x2a51fe={_0x22ff2c:0x3c3,_0x36f148:0x5a4};function _0x1437ef(_0xb925f4,_0x26d9cc){return _0x528821(_0x26d9cc,_0xb925f4-0x2aa);}for(const _0x3c6055 of _0xfcd5f8){if(!_0x3c6055[_0x1437ef(0x328,0x5c4)+'th']('-'))return _0x3c6055[_0x1437ef(_0x2a51fe._0x22ff2c,_0x2a51fe._0x36f148)]()||null;}function _0x4bd5b6(_0x40aa73,_0xfd94ac){return _0x528821(_0x40aa73,_0xfd94ac-0x4e2);}return null;}function printHelp(){const _0x1c678c={_0x230ce8:0x2c1,_0x3b5557:0x7e,_0x304c0e:0x48a,_0x4b46c6:0x12d,_0x3fe0e5:0x481,_0x3e1d13:0x1ef,_0x4a311c:0x366,_0x4bebf1:0x351,_0x233c15:0x1f4,_0x31fb8d:0x2f0,_0xe1fec8:0x147,_0x1e8719:0x44b,_0x573cbd:0x78,_0x2a8126:0x3b,_0xb5c327:0x120,_0x4432d8:0x147,_0x54ebda:0xba,_0x2eaaa1:0x3b,_0x25b307:0x2a2,_0x5c392e:0x525,_0x1f2bde:0x144,_0x5d1e8b:0x216,_0x6e56de:0x39,_0x3a0411:0x1c3,_0x211dc6:0xb3,_0x26d255:0x2b3,_0x580134:0x1e,_0x50da6c:0x4fa,_0x1d5cb1:0x3b,_0x2076dc:0x197,_0x543a6e:0x167,_0x582422:0x378,_0x3e419c:0x2cb,_0x483500:0x549,_0x5d3674:0x24b,_0x250586:0x27,_0x17170d:0x28b,_0x84fb5e:0x33d,_0x5c5580:0x180,_0x50008f:0x13f,_0x1cf177:0x3b,_0x334895:0x248,_0x2b4c1a:0x1f6,_0x85aad:0x4da,_0x2bb01b:0x1e8,_0x49cd8a:0x1e3,_0x286e97:0x553,_0x2b8f6d:0x224,_0x5e8b45:0x1aa,_0x464a6a:0x37b,_0x45e3c5:0x397,_0x4714db:0x1f7},_0x28ee1b={_0x2c13cb:0x2cb},_0x3ed3b2={};_0x3ed3b2[_0xdf9db8(_0x1c678c._0x230ce8,0x36c)]='clawket\x20'+_0xdf9db8(0x79,-_0x1c678c._0x3b5557)+_0x227288(0x65b,_0x1c678c._0x304c0e)+_0xdf9db8(_0x1c678c._0x4b46c6,-0xe)+_0x227288(0x2b6,_0x1c678c._0x3fe0e5)+_0x227288(_0x1c678c._0x3e1d13,_0x1c678c._0x4a311c)+_0x227288(0xf7,_0x1c678c._0x4bebf1)+_0x227288(_0x1c678c._0x233c15,-0x3d)+_0xdf9db8(_0x1c678c._0x31fb8d,_0x1c678c._0xe1fec8),_0x3ed3b2[_0x227288(0x68f,_0x1c678c._0x1e8719)]=_0x227288(_0x1c678c._0x573cbd,_0x1c678c._0x2a8126)+'uninstal'+'l';function _0xdf9db8(_0x2eb39a,_0x2bed2b){return _0x684713(_0x2bed2b,_0x2eb39a- -_0x28ee1b._0x2c13cb);}_0x3ed3b2['EJtkd']=_0x227288(-_0x1c678c._0xb5c327,0x3b)+'reset';function _0x227288(_0x3e6e23,_0x15b1d){return _0x684713(_0x3e6e23,_0x15b1d- -0x1f1);}_0x3ed3b2[_0xdf9db8(0x21c,_0x1c678c._0x4432d8)]=_0x227288(-_0x1c678c._0x54ebda,_0x1c678c._0x2eaaa1)+_0xdf9db8(0x9f,-0x200)+'--json]';const _0x26d957=_0x3ed3b2;console[_0x227288(0x36d,_0x1c678c._0x25b307)]([_0xdf9db8(-0x9f,0x1a0)+'pair\x20[--'+_0x227288(_0x1c678c._0x5c392e,0x3ee)+_0xdf9db8(_0x1c678c._0x1f2bde,0xe9)+_0xdf9db8(-0x26,-_0x1c678c._0x5d1e8b)+'isplayNa'+_0x227288(-0x25d,-_0x1c678c._0x6e56de)+_0xdf9db8(0x33f,0x1ce)+_0x227288(_0x1c678c._0x3a0411,0x1b0)+_0x227288(0x71,_0x1c678c._0x211dc6)+_0x227288(-_0x1c678c._0x26d255,-_0x1c678c._0x580134)+'e]',_0x26d957[_0xdf9db8(_0x1c678c._0x230ce8,_0x1c678c._0x50da6c)],_0x227288(-0x8a,_0x1c678c._0x1d5cb1)+'pair\x20--l'+_0x227288(-0xfd,0xf3)+_0xdf9db8(0x233,0x441)+'//host:p'+_0x227288(_0x1c678c._0x2076dc,0x18e)+_0x227288(_0x1c678c._0x543a6e,0x21c)+_0x227288(0x33f,0x2a1)+'\x20[--json'+']','clawket\x20'+_0xdf9db8(_0x1c678c._0x582422,0x3e2)+_0x227288(_0x1c678c._0x3e419c,0x4a3)+_0x227288(_0x1c678c._0x483500,0x419)+_0x227288(_0x1c678c._0x5d3674,0x1b0)+_0xdf9db8(-_0x1c678c._0x250586,-0x21c),_0x227288(_0x1c678c._0x17170d,0x3b)+_0xdf9db8(-0xb1,-0x2d8),_0x227288(0x2be,0x3b)+_0xdf9db8(0x43,-0x72),_0xdf9db8(-0x9f,_0x1c678c._0x1f2bde)+'restart','clawket\x20'+'stop',_0x26d957[_0x227288(0x5ae,0x44b)],_0x26d957[_0x227288(_0x1c678c._0x84fb5e,0x206)],_0x227288(-_0x1c678c._0x5c5580,0x3b)+_0xdf9db8(-_0x1c678c._0x50008f,-0x123),_0x227288(-0x233,_0x1c678c._0x1cf177)+'logs\x20[--'+_0xdf9db8(_0x1c678c._0x334895,_0x1c678c._0x2b4c1a)+'>]\x20[--li'+_0x227288(_0x1c678c._0x85aad,0x42b)+'>]\x20[--er'+_0xdf9db8(_0x1c678c._0x2bb01b,_0x1c678c._0x49cd8a)+_0x227288(_0x1c678c._0x286e97,0x4aa),_0x26d957[_0x227288(_0x1c678c._0x2b8f6d,0x2f6)],_0xdf9db8(-0x9f,0x57)+_0xdf9db8(_0x1c678c._0x3e1d13,0x326)+_0x227288(0x44a,_0x1c678c._0x5e8b45)+'rl\x20<ws:/'+_0x227288(0x2cc,0x37c)+_0xdf9db8(0x373,_0x1c678c._0x464a6a)+_0x227288(_0x1c678c._0x45e3c5,_0x1c678c._0x4714db)+_0xdf9db8(0x1c2,0x416)]['join']('\x0a'));}function buildUnsupportedAutostartMessage(_0x2c0b22){const _0x2da708={_0x2d2b28:0x2a8,_0x21d58c:0x38f,_0x515148:0x3f9,_0x516caf:0x612,_0x270611:0x5f4,_0x4fec05:0x792,_0x3bce3f:0x76a,_0x1737af:0x2f0,_0xf1a57d:0x71f,_0x3728fa:0x814,_0x49aac1:0x46d,_0x2e7d20:0x26b,_0x4acbd2:0x3de,_0x52ec08:0x21c,_0xdd459c:0x1dc,_0x43e495:0x894,_0x5debd9:0x242,_0x57de0b:0x60a,_0x4ef0c4:0x44f,_0x131091:0x550,_0x182957:0xdf,_0x6586d3:0x24d,_0x27ec77:0x309,_0x40bfc9:0x416,_0x2eb089:0x4f6,_0x38c5cb:0x2f9,_0x37a710:0x23d,_0x2ed88f:0x96,_0x2dfd59:0x452,_0x45850d:0x264,_0x406731:0xf,_0x430166:0x1aa,_0x3a59d7:0x260,_0x5ba34d:0x35f,_0x170cb0:0x729},_0x37c800={_0x143f83:0x64};function _0xb96d4e(_0x3adad2,_0x644656){return _0x684713(_0x3adad2,_0x644656-0x21b);}if(_0x2c0b22[_0x12add4(0x3bf,_0x2da708._0x2d2b28)])return _0xb96d4e(_0x2da708._0x21d58c,_0x2da708._0x515148)+_0xb96d4e(_0x2da708._0x516caf,0x54b)+_0x12add4(_0x2da708._0x270611,0x5b6)+'me,\x20but\x20'+_0xb96d4e(0x84b,_0x2da708._0x4fec05)+_0x12add4(0x3ee,0x550)+_0xb96d4e(_0x2da708._0x3bce3f,0x78b)+_0x12add4(_0x2da708._0x1737af,0x24d)+'atic\x20sta'+_0xb96d4e(_0x2da708._0xf1a57d,_0x2da708._0x3728fa)+_0xb96d4e(0x65d,0x578)+_0x12add4(_0x2da708._0x49aac1,_0x2da708._0x2e7d20)+_0xb96d4e(0x86e,0x687)+_0x12add4(_0x2da708._0x4acbd2,0x620)+_0x12add4(_0x2da708._0x52ec08,_0x2da708._0xdd459c)+_0xb96d4e(_0x2da708._0x43e495,0x840)+'\x20to\x20rest'+_0x12add4(-0xc,_0x2da708._0x5debd9)+_0x12add4(0x832,_0x2da708._0x57de0b)+'eboot.';function _0x12add4(_0x4076a1,_0x4c3b12){return _0x684713(_0x4076a1,_0x4c3b12- -_0x37c800._0x143f83);}return _0xb96d4e(0x1df,0x3de)+_0x12add4(_0x2da708._0x4ef0c4,_0x2da708._0x131091)+'ot\x20suppo'+_0x12add4(_0x2da708._0x182957,_0x2da708._0x6586d3)+_0x12add4(_0x2da708._0x27ec77,_0x2da708._0x40bfc9)+'rtup\x20reg'+_0x12add4(_0x2da708._0x2eb089,_0x2da708._0x38c5cb)+'n,\x20and\x20t'+_0x12add4(0x3d3,0x3fe)+_0x12add4(0x113,_0x2da708._0x37a710)+'e\x20could\x20'+_0xb96d4e(0x779,0x85d)+_0x12add4(_0x2da708._0x2ed88f,0x286)+_0x12add4(0x1c4,_0x2da708._0x2dfd59)+_0xb96d4e(_0x2da708._0x45850d,0x3fa)+_0x12add4(_0x2da708._0x406731,_0x2da708._0x430166)+'ontainer'+'\x20or\x20proc'+'ess\x20mana'+_0x12add4(0x261,_0x2da708._0x3a59d7)+_0x12add4(0x4b1,_0x2da708._0x5ba34d)+_0xb96d4e(0x660,_0x2da708._0x170cb0);}function formatLocalTime(_0x4719f5){const _0x535289={_0x4fc1dd:0x1e1,_0x3654c7:0x643,_0xacd33:0x835,_0xfc6098:0x7a6,_0x3886fa:0x355,_0x71167a:0x31f},_0x31d4c4={_0x3640e8:0x235},_0x4f7e0b={_0x152d30:0x538};function _0x3dc8e4(_0x422966,_0x37adfd){return _0x528821(_0x37adfd,_0x422966-_0x4f7e0b._0x152d30);}const _0x4d8f56=new Date(_0x4719f5);function _0x5e5167(_0x24d8b3,_0x33c414){return _0x528821(_0x24d8b3,_0x33c414-_0x31d4c4._0x3640e8);}if(Number[_0x5e5167(0x11e,_0x535289._0x4fc1dd)](_0x4d8f56[_0x3dc8e4(_0x535289._0x3654c7,_0x535289._0xacd33)]()))return _0x4719f5;return _0x4d8f56[_0x3dc8e4(0x609,_0x535289._0xfc6098)+_0x5e5167(_0x535289._0x3886fa,_0x535289._0x71167a)]();}function formatError2(_0x4f3f88){const _0x59ebb8={_0x315d95:0x754,_0x662e01:0x727},_0x1349d3={_0x3aff0d:0xce};function _0x120d95(_0x189724,_0x46d841){return _0x684713(_0x46d841,_0x189724-_0x1349d3._0x3aff0d);}return _0x4f3f88 instanceof Error?_0x4f3f88[_0x120d95(_0x59ebb8._0x315d95,_0x59ebb8._0x662e01)]:String(_0x4f3f88);}function printJson(_0x1d0904){const _0x2dee64={_0x12737d:0x11f},_0x417d27={_0x291ac3:0x466},_0x281ee8={_0x354b5a:0xdb};function _0x4d9311(_0x2d7e1b,_0x22f7ea){return _0x528821(_0x2d7e1b,_0x22f7ea- -_0x281ee8._0x354b5a);}function _0x52255b(_0x21fb77,_0x132f2e){return _0x528821(_0x132f2e,_0x21fb77-_0x417d27._0x291ac3);}console[_0x52255b(0x657,0x486)](JSON[_0x4d9311(-0xd4,_0x2dee64._0x12737d)+'y'](_0x1d0904,null,0x2));}main()['catch'](_0x2d70ee=>{console['error'](formatError2(_0x2d70ee)),process['exit'](0x1);});
2
+ (function(_0x17eee7,_0x2ea827){const _0x553e2c={_0x40425e:0x481,_0x402280:0x222,_0x597061:0x346,_0x16c5a0:0x237,_0x52ccf2:0x4e7,_0xf7f9be:0x25c,_0x386b84:0x409,_0x340229:0x49d,_0x553dcf:0x2af,_0x6fbd99:0x155,_0x97a6b9:0x12f},_0x13c889={_0x6a897d:0x18b};function _0x1d95c2(_0x38a942,_0x4f6ad6){return _0x346a(_0x4f6ad6- -_0x13c889._0x6a897d,_0x38a942);}const _0x3e2e11=_0x17eee7();function _0x43464d(_0xc100a0,_0x394aec){return _0x346a(_0xc100a0- -0xb7,_0x394aec);}while(!![]){try{const _0x2d89b8=-parseInt(_0x43464d(_0x553e2c._0x40425e,0x68c))/0x1+-parseInt(_0x43464d(_0x553e2c._0x402280,_0x553e2c._0x597061))/0x2*(parseInt(_0x1d95c2(_0x553e2c._0x16c5a0,0x419))/0x3)+-parseInt(_0x43464d(0x557,0x6cd))/0x4*(-parseInt(_0x1d95c2(_0x553e2c._0x52ccf2,0x42e))/0x5)+parseInt(_0x1d95c2(-_0x553e2c._0xf7f9be,0x34))/0x6*(-parseInt(_0x1d95c2(0x4ec,_0x553e2c._0x386b84))/0x7)+parseInt(_0x43464d(0x486,0x34c))/0x8*(-parseInt(_0x43464d(_0x553e2c._0x340229,_0x553e2c._0x553dcf))/0x9)+parseInt(_0x1d95c2(0x120,_0x553e2c._0x6fbd99))/0xa+parseInt(_0x1d95c2(-_0x553e2c._0x97a6b9,-0x39))/0xb;if(_0x2d89b8===_0x2ea827)break;else _0x3e2e11['push'](_0x3e2e11['shift']());}catch(_0x164fb1){_0x3e2e11['push'](_0x3e2e11['shift']());}}}(_0x2cc1,0x22d1e));const _0x162df0=(function(){const _0x7b6072={_0x212d85:0x9e6};let _0x4c6d19=!![];return function(_0x25ea03,_0x13b89f){const _0x2d2faf={_0x2eaf1f:0x3b7},_0x458764=_0x4c6d19?function(){function _0xe6daf0(_0x75cffb,_0x19ab19){return _0x346a(_0x75cffb-_0x2d2faf._0x2eaf1f,_0x19ab19);}if(_0x13b89f){const _0x318936=_0x13b89f[_0xe6daf0(0x9c8,_0x7b6072._0x212d85)](_0x25ea03,arguments);return _0x13b89f=null,_0x318936;}}:function(){};return _0x4c6d19=![],_0x458764;};}()),_0x47f9c5=_0x162df0(this,function(){const _0x37afb1={_0x3d5f28:0x605,_0xb114f2:0x6d0,_0x1f0633:0x4a9,_0x8e4b8f:0x7b9,_0x2f070f:0x6a6,_0x457f52:0x605,_0x3507d6:0x4c5},_0x4796c9={_0x18f31e:0x6b},_0x50cc5c={};function _0x2858e4(_0x28391c,_0xbaa2c8){return _0x346a(_0xbaa2c8- -_0x4796c9._0x18f31e,_0x28391c);}function _0x2d4273(_0x1d312c,_0x466c6b){return _0x346a(_0x1d312c-0x1bc,_0x466c6b);}_0x50cc5c[_0x2d4273(0x2ca,0x3b4)]='(((.+)+)'+_0x2d4273(_0x37afb1._0x3d5f28,0x678);const _0x3c4e1f=_0x50cc5c;return _0x47f9c5[_0x2d4273(_0x37afb1._0xb114f2,0x7f7)]()['search'](_0x3c4e1f['XYlJQ'])[_0x2858e4(0x5ab,_0x37afb1._0x1f0633)]()[_0x2d4273(0x3b3,0x54f)+_0x2d4273(0x784,0x686)](_0x47f9c5)[_0x2858e4(_0x37afb1._0x8e4b8f,0x533)](_0x2d4273(_0x37afb1._0x2f070f,0x8a5)+_0x2d4273(_0x37afb1._0x457f52,_0x37afb1._0x3507d6));});_0x47f9c5();import _0x46de63 from'qrcode-terminal';import{readFileSync as _0xe89164}from'fs';import{Socket}from'net';import{homedir as _0x582f99}from'os';function _0x3a90bd(_0x430214,_0x27b48e){const _0x4fafd0={_0x2e7dc3:0x374};return _0x346a(_0x27b48e- -_0x4fafd0._0x2e7dc3,_0x430214);}import{existsSync,mkdirSync,readFileSync,rmSync,writeFileSync}from'fs';import{randomUUID}from'crypto';import{homedir,hostname,userInfo}from'os';import{join}from'path';var CONFIG_DIR=join(homedir(),_0xb2a5b9(-0x2a8,-0x78)),CONFIG_PATH=join(CONFIG_DIR,'bridge-c'+_0x3a90bd(0x266,0x273));function getPairingConfigPath(){return CONFIG_PATH;}function readPairingConfig(){const _0x15d84b={_0xfdade2:0x4fe,_0x598d97:0x10e,_0x5969c1:0x1ad,_0x368bd1:0x39,_0x3df94f:0x5bc,_0x2dbefe:0x3cb,_0x497e63:0x14b,_0x336663:0x5c7,_0x1a9c1f:0x230,_0x52fb84:0x2f8,_0x20e6d8:0x396,_0x58d085:0x12f,_0x126fe0:0x17f,_0xbe4d0e:0x4ca,_0x1590ff:0x34a,_0x57dee6:0x282,_0x240be5:0x2a,_0xe87583:0x2a,_0x4da7ee:0x5f},_0x2dc1d3={_0x3af6e7:0x214},_0x5e4f45={'XrJxB':function(_0x3d1ba2){return _0x3d1ba2();},'OuIyV':function(_0x28feff,_0x314b1d){return _0x28feff!==_0x314b1d;}};if(!existsSync(CONFIG_PATH))return null;function _0x187b72(_0x57183b,_0x57440f){return _0x3a90bd(_0x57440f,_0x57183b-0x264);}function _0x2a3849(_0x41d9c9,_0x1bc589){return _0x3a90bd(_0x41d9c9,_0x1bc589-_0x2dc1d3._0x3af6e7);}try{const _0x3d29a6=JSON[_0x2a3849(0x565,_0x15d84b._0xfdade2)](readFileSync(CONFIG_PATH,_0x2a3849(0x1f,_0x15d84b._0x598d97)));if(!_0x3d29a6[_0x2a3849(0x351,_0x15d84b._0x5969c1)+'l']||!_0x3d29a6[_0x187b72(0x4c,_0x15d84b._0x368bd1)+'d']||!_0x3d29a6[_0x2a3849(_0x15d84b._0x3df94f,_0x15d84b._0x2dbefe)+_0x2a3849(-_0x15d84b._0x497e63,0x14b)]||!_0x3d29a6[_0x187b72(0x399,_0x15d84b._0x336663)])return null;const _0x550849={'serverUrl':_0x3d29a6['serverUr'+'l'],'gatewayId':_0x3d29a6[_0x187b72(0x4c,-0x1c3)+'d'],'relaySecret':_0x3d29a6[_0x2a3849(_0x15d84b._0x1a9c1f,0x3cb)+_0x2a3849(_0x15d84b._0x52fb84,0x14b)],'relayUrl':_0x3d29a6[_0x187b72(0x399,0x451)],'instanceId':_0x3d29a6['instance'+'Id']?.[_0x187b72(0x4f6,_0x15d84b._0x20e6d8)]()||_0x5e4f45[_0x2a3849(0x1b2,0x129)](createInstanceId),'displayName':_0x3d29a6['displayN'+_0x2a3849(-_0x15d84b._0x58d085,-0x53)]??null,'createdAt':_0x3d29a6[_0x187b72(_0x15d84b._0x126fe0,0x24b)+'t']??new Date()['toISOStr'+_0x187b72(0xa8,-0x2f)](),'updatedAt':_0x3d29a6[_0x187b72(0x378,_0x15d84b._0xbe4d0e)+'t']??new Date()[_0x2a3849(_0x15d84b._0x1590ff,0x3ce)+_0x2a3849(_0x15d84b._0x57dee6,0x58)]()};return _0x5e4f45['OuIyV'](_0x3d29a6[_0x187b72(_0x15d84b._0x240be5,-0x121)+'Id'],_0x550849[_0x187b72(_0x15d84b._0xe87583,-_0x15d84b._0x4da7ee)+'Id'])&&writePairingConfig(_0x550849),_0x550849;}catch{return null;}}function writePairingConfig(_0x254cea){const _0x2742d5={_0x177592:0x7a5,_0x34f31c:0x8f8,_0xae676a:0xb3,_0x52e8d4:0xca},_0x54f9bc={_0x5b6d58:0x674},_0x4b3949={'hYlzJ':function(_0x2e9766,_0xa7a18,_0xb1ffb0){return _0x2e9766(_0xa7a18,_0xb1ffb0);}},_0x1a46d3={};function _0x4da6af(_0x1a39bc,_0x4a5045){return _0xb2a5b9(_0x1a39bc,_0x4a5045-0x1c9);}function _0x3addde(_0x574fde,_0x3b944f){return _0xb2a5b9(_0x574fde,_0x3b944f-_0x54f9bc._0x5b6d58);}_0x1a46d3[_0x4da6af(0x274,0x82)+'e']=!![],_0x4b3949['hYlzJ'](mkdirSync,CONFIG_DIR,_0x1a46d3),writeFileSync(CONFIG_PATH,JSON[_0x3addde(_0x2742d5._0x177592,_0x2742d5._0x34f31c)+'y'](_0x254cea,null,0x2)+'\x0a',_0x4da6af(-_0x2742d5._0xae676a,_0x2742d5._0x52e8d4));}function deletePairingConfig(){const _0x10c96e={_0x5cd820:0x33a,_0x19a9db:0x2b2},_0x1e496e={_0x480ced:0xf3},_0x3527b5={_0x3d4488:0x496},_0x5883e3={'FAPOo':function(_0x2125b9,_0x5bf69f){return _0x2125b9(_0x5bf69f);}};if(!_0x5883e3[_0x5a0bcc(0x57f,_0x10c96e._0x5cd820)](existsSync,CONFIG_PATH))return;const _0x4bea62={};_0x4bea62[_0x596cd1(_0x10c96e._0x19a9db,0x2c2)]=!![];function _0x5a0bcc(_0xf7e1fa,_0x3034f5){return _0x3a90bd(_0xf7e1fa,_0x3034f5-_0x3527b5._0x3d4488);}function _0x596cd1(_0x7158e3,_0x3f5e4b){return _0x3a90bd(_0x3f5e4b,_0x7158e3-_0x1e496e._0x480ced);}rmSync(CONFIG_PATH,_0x4bea62);}function getDefaultBridgeDisplayName(){const _0x29130f={_0x484957:0x46f,_0x5f54b0:0x5e,_0x2499fe:0x1c3,_0x271ced:0xdd,_0x47d4bc:0x14d},_0x32b9ad={_0x285d33:0x1dd},_0x1c95c1={'LMSZX':function(_0x2e5b8c){return _0x2e5b8c();}},_0x166cf5=readOpenClawDefaultAgentName();function _0x510384(_0x4b7220,_0x4419cf){return _0x3a90bd(_0x4419cf,_0x4b7220-_0x32b9ad._0x285d33);}if(_0x166cf5)return _0x166cf5;try{const _0x3c79ac=_0x1c95c1[_0x5007bd(-0x22,-0xf9)](userInfo)[_0x510384(0x150,0x72)][_0x510384(_0x29130f._0x484957,0x602)]();if(_0x3c79ac)return _0x3c79ac;}catch{}const _0x5eefbb=(process.env.LOGNAME??process.env.USER??process.env.USERNAME??'')[_0x510384(0x46f,0x4a7)]();if(_0x5eefbb)return _0x5eefbb;function _0x5007bd(_0x5a9b96,_0x123896){return _0x3a90bd(_0x123896,_0x5a9b96-0x9c);}return hostname()[_0x5007bd(0x32e,0x1fd)]()||_0x510384(_0x29130f._0x5f54b0,_0x29130f._0x2499fe)+_0x510384(_0x29130f._0x271ced,_0x29130f._0x47d4bc);}function pickOpenClawDefaultAgentName(_0x1c3335){const _0x38aeb3={_0x46e0dc:0x138,_0x1d7934:0x3b,_0x3b051a:0xff,_0x100398:0x179,_0xb3c499:0x4a7,_0x297b6d:0x27b},_0x1202f4={_0x1b09ab:0x2a1},_0x4a7f35={_0x1f4fe0:0xf7},_0x535ddd={'JTZkT':function(_0x2688ca,_0x502c20){return _0x2688ca(_0x502c20);}};function _0x2b89fa(_0x591586,_0xfc9f42){return _0xb2a5b9(_0xfc9f42,_0x591586-_0x4a7f35._0x1f4fe0);}if(!_0x1c3335||typeof _0x1c3335!=='object')return null;const _0x33d05d=_0x1c3335[_0x165d48(0x13a,_0x38aeb3._0x46e0dc)],_0x4afa40=Array[_0x2b89fa(-0xa1,-0x5f)](_0x33d05d?.[_0x2b89fa(-0xff,-_0x38aeb3._0x1d7934)])?_0x33d05d[_0x2b89fa(-_0x38aeb3._0x3b051a,_0x38aeb3._0x100398)]:[];function _0x165d48(_0x210fb5,_0x2185a4){return _0xb2a5b9(_0x2185a4,_0x210fb5-_0x1202f4._0x1b09ab);}const _0x14012b=_0x4afa40[_0x165d48(0x4a7,0x2d7)](_0x1bad53=>isDefaultAgent(_0x1bad53))??_0x4afa40[_0x165d48(_0x38aeb3._0xb3c499,_0x38aeb3._0x297b6d)](_0x5d6b6e=>hasAgentId(_0x5d6b6e,_0x2b89fa(0xac,0x25b)))??_0x4afa40[0x0];return _0x535ddd[_0x165d48(0x3c3,0x526)](readAgentName,_0x14012b);}function createInstanceId(){const _0xea275a={_0x57767d:0x2d6,_0x456dd2:0x377,_0x1db497:0x671,_0x2d2185:0x236,_0x462f7b:0x7ad},_0x55347f={_0x2571b0:0x1fc},_0x29c787={'HeIGy':function(_0x300ad4){return _0x300ad4();}},_0xaa1916=sanitizeId(hostname()||_0x1b8d62(_0xea275a._0x57767d,_0xea275a._0x456dd2));function _0x1b8d62(_0x923e2,_0x1700cf){return _0xb2a5b9(_0x1700cf,_0x923e2-_0x55347f._0x2571b0);}function _0x3b5792(_0x3be2af,_0x1f12cc){return _0xb2a5b9(_0x1f12cc,_0x3be2af-0x519);}return _0x1b8d62(0x434,_0xea275a._0x1db497)+_0xaa1916+'-'+_0x29c787[_0x3b5792(0x4c3,_0xea275a._0x2d2185)](randomUUID)[_0x3b5792(_0xea275a._0x462f7b,0x68f)](0x0,0xa);}function sanitizeId(_0x3b36f4){const _0x276538={_0x2a5562:0x5b5,_0x164ce3:0x3fe,_0x499e2c:0x181},_0x2eb75d={_0x28d164:0xa7};function _0x3f5295(_0x20ccd0,_0x57e1f0){return _0x3a90bd(_0x20ccd0,_0x57e1f0-0x16c);}function _0x2a84aa(_0x576289,_0x4ff9a7){return _0x3a90bd(_0x576289,_0x4ff9a7-_0x2eb75d._0x28d164);}return _0x3b36f4[_0x3f5295(_0x276538._0x2a5562,_0x276538._0x164ce3)]()['toLowerC'+_0x2a84aa(-0x1,-0x4d)]()[_0x3f5295(-_0x276538._0x499e2c,-0x43)](/[^a-z0-9._-]+/g,'-')['replace'](/^-+|-+$/g,'')||'host';}function readOpenClawDefaultAgentName(){const _0x5de6cf={_0x134ef8:0x166,_0x25480e:0x10a},_0x4d0deb={_0x327def:0x221};function _0x1218a2(_0x43c311,_0x176888){return _0xb2a5b9(_0x176888,_0x43c311-0x5ad);}const _0x2d5940={'jiodb':'utf8','HSFWE':function(_0x5ed8e9,_0x1e8316){return _0x5ed8e9(_0x1e8316);}},_0x2148e7=resolveOpenClawConfigPath();function _0x1df565(_0x1ec1ec,_0x2a713){return _0xb2a5b9(_0x1ec1ec,_0x2a713-_0x4d0deb._0x327def);}if(!_0x2148e7||!existsSync(_0x2148e7))return null;try{const _0x432060=JSON['parse'](readFileSync(_0x2148e7,_0x2d5940[_0x1df565(0x26,_0x5de6cf._0x134ef8)]));return _0x2d5940[_0x1df565(-_0x5de6cf._0x25480e,0xd7)](pickOpenClawDefaultAgentName,_0x432060);}catch{return null;}}function resolveOpenClawConfigPath(){const _0x4603a9={_0x5f4e78:0x3ea,_0x3dc04d:0x183,_0x5e9a53:0x4f6,_0x1d0418:0x1fa,_0x1b2420:0x2ac,_0x893115:0x311,_0x2af9c3:0x1af,_0x3d9223:0x5f6,_0x39a01a:0x28a,_0x16a1d0:0x2ce,_0x474b33:0x2ee,_0x586f21:0x442,_0x321f1f:0x322,_0xcf4e9e:0x1ab},_0xb317e5={_0xc4d2a1:0x24f},_0x1b07c6={_0x368fec:0x18f},_0x47e3c0={'wggNj':_0x5eb64c(_0x4603a9._0x5f4e78,_0x4603a9._0x3dc04d),'DjeKf':'.opencla'+'w','VpHwW':'openclaw'+_0x5eb64c(0x2f5,_0x4603a9._0x5e9a53),'ZIGDJ':function(_0x21ce6b,_0x42bbf1,_0x2a19c4,_0x2cdd97){return _0x21ce6b(_0x42bbf1,_0x2a19c4,_0x2cdd97);}},_0x3673d8=new Set();function _0x3eb3a4(_0xa1be22,_0x143aec){return _0x3a90bd(_0x143aec,_0xa1be22-0x45);}function _0x5eb64c(_0x4efb8d,_0x5206e2){return _0x3a90bd(_0x5206e2,_0x4efb8d-_0x1b07c6._0x368fec);}const _0x201ce9=[homedir(),_0x47e3c0[_0x3eb3a4(_0x4603a9._0x1d0418,_0x4603a9._0x1b2420)]][_0x5eb64c(_0x4603a9._0x893115,0x453)](_0x2ed560=>_0x2ed560[_0x3eb3a4(0x2d7,0x37c)]())[_0x3eb3a4(0x25a,0x34b)](Boolean)[_0x5eb64c(0x3a4,0x2aa)](_0x360ddc=>{const _0x836766={_0x2e25d8:0x1b0};if(_0x3673d8[_0x4486ec(0x269,_0xb317e5._0xc4d2a1)](_0x360ddc))return![];_0x3673d8['add'](_0x360ddc);function _0x4486ec(_0x330f65,_0x285da2){return _0x5eb64c(_0x330f65- -_0x836766._0x2e25d8,_0x285da2);}return!![];});for(const _0xeee9d0 of _0x201ce9){const _0x3b2995=join(_0xeee9d0,_0x47e3c0[_0x3eb3a4(_0x4603a9._0x2af9c3,0x2a0)],_0x47e3c0[_0x5eb64c(0x377,_0x4603a9._0x3d9223)]);if(existsSync(_0x3b2995))return _0x3b2995;}return _0x201ce9[0x0]?_0x47e3c0[_0x3eb3a4(0x165,_0x4603a9._0x39a01a)](join,_0x201ce9[0x0],_0x5eb64c(_0x4603a9._0x16a1d0,_0x4603a9._0x474b33)+'w',_0x5eb64c(_0x4603a9._0x586f21,_0x4603a9._0x321f1f)+_0x3eb3a4(_0x4603a9._0xcf4e9e,-0x9)):null;}function isDefaultAgent(_0x43e0f8){const _0x16f963={_0x16b59d:0x6b1,_0x1521c6:0x584,_0x300283:0x639,_0x495047:0x1db},_0x9fa1d1={_0x32f81b:0x380},_0x4ee218={_0x2d4eb2:0x294};function _0x24cbca(_0x4145a4,_0x2bf2d3){return _0xb2a5b9(_0x4145a4,_0x2bf2d3-_0x4ee218._0x2d4eb2);}function _0x39b407(_0x397672,_0x21dda1){return _0xb2a5b9(_0x21dda1,_0x397672-_0x9fa1d1._0x32f81b);}const _0x8f425d={};_0x8f425d[_0x39b407(0x584,_0x16f963._0x16b59d)]='object';const _0x3af7b1=_0x8f425d;return Boolean(_0x43e0f8&&typeof _0x43e0f8===_0x3af7b1[_0x39b407(_0x16f963._0x1521c6,_0x16f963._0x300283)]&&_0x43e0f8[_0x24cbca(_0x16f963._0x495047,0x27c)]===!![]);}function hasAgentId(_0x24881d,_0x3f3c97){const _0x5af889={_0x8a9fe:0x452,_0x443834:0x6ae,_0x34ceb3:0x8c4},_0x238874={_0x3b5abd:0x65f},_0x46a3b5={_0x19b89b:0x353},_0x4a697c={'zWpOI':function(_0x3374a1,_0xa9ff1f){return _0x3374a1(_0xa9ff1f);},'YNLLA':function(_0x6083bc,_0x47d130){return _0x6083bc===_0x47d130;},'bwkMm':_0x5e74d8(0x218,_0x5af889._0x8a9fe)};function _0x5e74d8(_0x16f86d,_0x252271){return _0x3a90bd(_0x252271,_0x16f86d-_0x46a3b5._0x19b89b);}function _0x5e5dac(_0x3c979d,_0x5daec7){return _0x3a90bd(_0x3c979d,_0x5daec7-_0x238874._0x3b5abd);}return _0x4a697c['zWpOI'](Boolean,_0x24881d&&typeof _0x24881d===_0x5e5dac(_0x5af889._0x443834,_0x5af889._0x34ceb3)&&_0x4a697c['YNLLA'](typeof _0x24881d['id'],_0x4a697c['bwkMm'])&&_0x24881d['id'][_0x5e74d8(0x5e5,0x506)]()===_0x3f3c97);}function readAgentName(_0x17b631){const _0x3ff1a9={_0x5a952d:0x4,_0x463051:0x10f,_0x2aef9c:0x198,_0x50c539:0x115,_0x2fbb5d:0x15a,_0x4de13e:0x49,_0x1a8ddf:0x0,_0x733fd2:0x1ff,_0x53932f:0x527,_0x3fc14f:0x498},_0xcaf3fb={_0x416cae:0x137},_0x27dcef={};_0x27dcef['eTNKx']=_0x52bfd0(0x291,-_0x3ff1a9._0x5a952d);function _0x52bfd0(_0x582460,_0x20af3f){return _0x3a90bd(_0x582460,_0x20af3f-_0xcaf3fb._0x416cae);}const _0x1d60e=_0x27dcef;if(!_0x17b631||typeof _0x17b631!==_0x52bfd0(_0x3ff1a9._0x463051,0x39c))return null;const _0x3f3335=_0x17b631,_0x5c2efa=typeof _0x3f3335['identity']?.[_0x1f43d7(_0x3ff1a9._0x2aef9c,_0x3ff1a9._0x50c539)]===_0x1f43d7(_0x3ff1a9._0x2fbb5d,0xff)?_0x3f3335[_0x1f43d7(0x1ef,-_0x3ff1a9._0x4de13e)]['name']['trim']():'';function _0x1f43d7(_0x4f1467,_0x3ef05f){return _0x3a90bd(_0x3ef05f,_0x4f1467-0x295);}if(_0x5c2efa)return _0x5c2efa;const _0x21a3ee=typeof _0x3f3335['name']===_0x1d60e[_0x52bfd0(_0x3ff1a9._0x1a8ddf,_0x3ff1a9._0x733fd2)]?_0x3f3335[_0x1f43d7(0x198,-0x12)][_0x1f43d7(_0x3ff1a9._0x53932f,_0x3ff1a9._0x3fc14f)]():'';return _0x21a3ee||null;}function buildPairingQrPayload(_0x26dae6){const _0x171e56={_0x208ba0:0x313,_0x57ae3c:0x121,_0x38ba0c:0x82,_0x2769b0:0x9e,_0x54a8a0:0x2fe,_0x50e0da:0x4bf,_0x758d15:0x45f,_0x2a9359:0xc9,_0x3de547:0x57b,_0x3df7a2:0x84f,_0x46f9af:0x5a1,_0x2d36a:0x319,_0x2fbd81:0x566},_0xed66ef={};function _0x493c1f(_0x44496a,_0x350bc0){return _0xb2a5b9(_0x350bc0,_0x44496a-0x65);}_0xed66ef['v']=0x2,_0xed66ef['k']='cp',_0xed66ef['s']=_0x26dae6['server'],_0xed66ef['g']=_0x26dae6[_0x3003bb(0x19d,0xd1)+'d'],_0xed66ef['a']=_0x26dae6['accessCo'+'de'];function _0x3003bb(_0x225d93,_0x43e205){return _0xb2a5b9(_0x225d93,_0x43e205-0x2e2);}const _0x280246=_0xed66ef;return _0x26dae6[_0x493c1f(_0x171e56._0x208ba0,_0x171e56._0x57ae3c)+_0x3003bb(0x1e1,_0x171e56._0x38ba0c)]?.['trim']()&&(_0x280246['n']=_0x26dae6[_0x493c1f(0x313,0x3fc)+_0x3003bb(-_0x171e56._0x2769b0,0x82)][_0x493c1f(_0x171e56._0x54a8a0,_0x171e56._0x50e0da)]()),_0x26dae6['token']?.[_0x493c1f(_0x171e56._0x54a8a0,_0x171e56._0x758d15)]()&&(_0x280246['t']=_0x26dae6[_0x3003bb(_0x171e56._0x2a9359,0x341)][_0x3003bb(0x644,_0x171e56._0x3de547)]()),_0x26dae6[_0x493c1f(0x324,0x227)]?.['trim']()&&(_0x280246['p']=_0x26dae6[_0x3003bb(_0x171e56._0x3df7a2,_0x171e56._0x46f9af)][_0x3003bb(_0x171e56._0x2d36a,_0x171e56._0x3de547)]()),JSON[_0x3003bb(0x663,_0x171e56._0x2fbd81)+'y'](_0x280246);}function buildGatewayQrPayload(_0x1dba7a){const _0x5bb816={_0x2dce9c:0x825,_0xcb532a:0x2b,_0x15f2c7:0x6f8,_0x5751ec:0x867,_0xf20ae1:0x2af,_0x4b81db:0x432,_0x5465aa:0x628,_0x379efc:0x1f8,_0x4eac26:0x170,_0x179bee:0x96c,_0x28d39d:0x8b7,_0x134dbf:0x8dd,_0x2fcc34:0x1e2,_0x13d2d6:0xad3,_0x58c170:0x1a9},_0x4ff049={};function _0x2ee08e(_0x54cd94,_0x1c0761){return _0x3a90bd(_0x54cd94,_0x1c0761-0x625);}_0x4ff049[_0x2ee08e(_0x5bb816._0x2dce9c,0x89d)]=function(_0x3796bb,_0x5b4a79){return _0x3796bb+_0x5b4a79;},_0x4ff049[_0x4dee6d(-_0x5bb816._0xcb532a,0xb1)]=function(_0x166bda,_0xc559ed){return _0x166bda*_0xc559ed;};const _0x3c00d8=_0x4ff049,_0xea5198=normalizeGatewayQrUrl(_0x1dba7a['gatewayU'+'rl']),_0x269e11={'url':_0xea5198[_0x4dee6d(0x18d,0xec)],'host':_0xea5198[_0x2ee08e(0x520,_0x5bb816._0x15f2c7)],'port':_0xea5198['port'],'tls':_0xea5198[_0x2ee08e(0xad8,_0x5bb816._0x5751ec)],'mode':_0x4dee6d(0x3b9,_0x5bb816._0xf20ae1),'expiresAt':_0x1dba7a['expiresA'+'t']??_0x3c00d8[_0x2ee08e(0x840,0x89d)](Date['now'](),_0x3c00d8['AvQYR'](0xa*0x3c,0x3e8)),'qrVersion':0x2};_0x1dba7a['token']?.[_0x4dee6d(_0x5bb816._0x4b81db,_0x5bb816._0x5465aa)]()&&(_0x269e11['token']=_0x1dba7a[_0x4dee6d(_0x5bb816._0x379efc,_0x5bb816._0x4eac26)][_0x2ee08e(_0x5bb816._0x179bee,_0x5bb816._0x28d39d)]());_0x1dba7a['password']?.['trim']()&&(_0x269e11[_0x2ee08e(0xa5c,_0x5bb816._0x134dbf)]=_0x1dba7a[_0x4dee6d(0x458,_0x5bb816._0x2fcc34)][_0x2ee08e(_0x5bb816._0x13d2d6,0x8b7)]());function _0x4dee6d(_0x5776f0,_0x474bb7){return _0x3a90bd(_0x474bb7,_0x5776f0-0x1a0);}return JSON[_0x4dee6d(0x41d,_0x5bb816._0x58c170)+'y'](_0x269e11);}function normalizeGatewayQrUrl(_0x1cf94e){const _0x488f1c={_0x3c3d0f:0x73f,_0x3c25db:0x3be,_0x2b62de:0x4fd,_0x44ac3a:0x3b4,_0x19d06e:0x431,_0x2b2b80:0x668,_0x583900:0x7c7,_0xc5b1f4:0x787,_0x8700b0:0x367,_0xdf3cd:0x2f,_0x5a2241:0x2ba,_0x47afd7:0x2a5,_0x3b6d28:0x4a5,_0xc55e1a:0x4db,_0x5769d2:0x634,_0x29b2d9:0x348,_0x2f70c1:0x3d4,_0x172009:0x613,_0x4806bd:0x4cd,_0x5599fa:0x6ba,_0x182d20:0x200,_0x47fa08:0x208,_0x5c5d8b:0x15f,_0x3f3ffe:0x372,_0x3f1a1e:0x7e7},_0x24bcc0={_0x5ad038:0x15f},_0x50517f={};_0x50517f[_0x4f6790(0x5d5,_0x488f1c._0x3c3d0f)]=function(_0x39ea09,_0xd5fc20){return _0x39ea09===_0xd5fc20;},_0x50517f[_0x4f6790(0x5c8,_0x488f1c._0x3c25db)]=function(_0x256658,_0x2d3750){return _0x256658===_0x2d3750;};function _0x4f6790(_0x4c32d1,_0x532bf6){return _0x3a90bd(_0x532bf6,_0x4c32d1-0x572);}_0x50517f[_0x30f15a(0x3d5,_0x488f1c._0x2b62de)]=_0x30f15a(_0x488f1c._0x44ac3a,_0x488f1c._0x19d06e);const _0xb524c1=_0x50517f,_0x3dbbdb=new URL(_0x1cf94e[_0x30f15a(0x3f1,0x4f6)]()),_0x3adf0d=_0xb524c1[_0x4f6790(0x5d5,_0x488f1c._0x2b2b80)](_0x3dbbdb['protocol'],_0x4f6790(_0x488f1c._0x583900,_0x488f1c._0xc5b1f4))||_0xb524c1[_0x4f6790(0x5c8,_0x488f1c._0x8700b0)](_0x3dbbdb[_0x30f15a(-_0x488f1c._0xdf3cd,-_0x488f1c._0x5a2241)],_0x30f15a(_0x488f1c._0x47afd7,0x1b0)),_0x4d550d=_0x3adf0d?_0xb524c1[_0x30f15a(0x3d5,0x359)]:_0x4f6790(_0x488f1c._0x3b6d28,_0x488f1c._0xc55e1a),_0x6618bb=_0x3dbbdb[_0x4f6790(0x3fc,_0x488f1c._0x5769d2)],_0x19b34d=_0x3dbbdb[_0x30f15a(0x3d4,_0x488f1c._0x29b2d9)]?Number(_0x3dbbdb[_0x30f15a(_0x488f1c._0x2f70c1,0x4f7)]):_0x3adf0d?0x1bb:0x50,_0x58b3c5=!_0x3dbbdb[_0x4f6790(_0x488f1c._0x172009,_0x488f1c._0x4806bd)]||_0x3dbbdb[_0x4f6790(0x613,_0x488f1c._0x5599fa)]===''?'/':_0x3dbbdb[_0x30f15a(_0x488f1c._0x182d20,_0x488f1c._0x47fa08)],_0x4bc75a={};_0x4bc75a[_0x30f15a(0x14c,-_0x488f1c._0x5c5d8b)]=_0x4d550d+'//'+_0x6618bb+':'+_0x19b34d+_0x58b3c5,_0x4bc75a[_0x30f15a(0x232,_0x488f1c._0x3f3ffe)]=_0x6618bb,_0x4bc75a[_0x4f6790(_0x488f1c._0x3f1a1e,0x80b)]=_0x19b34d,_0x4bc75a['path']=_0x58b3c5;function _0x30f15a(_0x35b691,_0x1b645c){return _0x3a90bd(_0x1b645c,_0x35b691-_0x24bcc0._0x5ad038);}return _0x4bc75a['tls']=_0x3adf0d,_0x4bc75a;}var DEFAULT_REGISTRY_BASE=_0xb2a5b9(-0x288,-0xe)+_0x3a90bd(0x21c,0x1a)+_0xb2a5b9(0x16d,-0x78)+_0xb2a5b9(0x114,0x287),DEFAULT_REGISTRY_FALLBACK_BASE=_0x3a90bd(0x1a4,-0x15)+_0xb2a5b9(0x65,-0x36)+'registry'+_0xb2a5b9(0x32,-0x78)+'.workers'+_0x3a90bd(0x20,0x2b);async function pairGateway(_0x5d35b8){const _0x345fa5={_0x24cdf9:0x7d6,_0x283350:0x3d3,_0x5926eb:0x5dc,_0x5d7f8e:0x969,_0x2a070b:0x931,_0x5467c4:0x3d1,_0x38d13f:0x623,_0x1466e4:0x905,_0x387371:0x74e,_0x41ceb6:0x4e7,_0x27ca4b:0x391,_0x25c4be:0x4e7,_0x38b19b:0x65c,_0x5af23f:0x8dc,_0xd18e50:0x85f,_0x5f0e3e:0x6fa,_0x58d216:0x92e,_0x5df4cf:0x4e1,_0x470763:0x628,_0x292a92:0x900,_0x509abe:0x4f0,_0x193653:0x307,_0x491343:0x947,_0x1835ac:0x880,_0x1cbc49:0x78b,_0x25f5c9:0x448,_0x11851b:0x19b,_0x323299:0x896,_0x5e6ca0:0x2f5,_0x287048:0x5cc,_0x5bc78e:0x4a1,_0x5ef042:0x4e4,_0x3bfe3b:0xa2f,_0x1875bb:0x836,_0x4d96d5:0x8ab,_0x38aa91:0x866,_0x3906dd:0x79f,_0x338626:0x890,_0xd0c015:0x8cf,_0x3f42dc:0x9e0,_0x51bbcb:0x54d,_0x27d4aa:0x987,_0x17d245:0x592,_0x53d1d7:0x410,_0x2252b9:0x711,_0x166a46:0x883,_0x3d6dec:0x7b2,_0x533eca:0x97f,_0x4c023f:0xadf,_0x5c586b:0x9db,_0x3cded1:0x79b,_0x4658ee:0x8f4,_0x58a937:0x7a8,_0x3c1318:0x3eb,_0x11af6f:0x3e1,_0x452dc3:0x1c3,_0x3e96b9:0x3ef,_0x1b24f4:0xb5f,_0x311ec2:0x85f,_0x4a8d20:0x8bd,_0x1c5d55:0x87b},_0x1e72fa={'miFwF':function(_0x2f6c43,_0x4d2e57){return _0x2f6c43(_0x4d2e57);},'BqfDf':function(_0x49b81f,_0x3807fc){return _0x49b81f(_0x3807fc);},'nWpQQ':function(_0x21b5b7,_0x42bec4){return _0x21b5b7===_0x42bec4;},'TvnoQ':function(_0x34e184,_0x388867,_0x2c5935){return _0x34e184(_0x388867,_0x2c5935);},'rnpWV':_0x227e35(_0x345fa5._0x24cdf9,0x7d5),'NSdKe':_0x227e35(_0x345fa5._0x283350,0x19d)+_0x13632f(0x836,_0x345fa5._0x5926eb)},_0x3cd12e=_0x1e72fa['miFwF'](normalizeHttpBase,_0x5d35b8[_0x13632f(0x6e7,_0x345fa5._0x5d7f8e)+'l']),_0x2207fe=readPairingConfig(),_0x5f256c=assessPairingCompatibility(_0x2207fe,_0x3cd12e);if(_0x5f256c===_0x13632f(0x7d0,_0x345fa5._0x2a070b)+_0x227e35(0x8ac,0x93b)&&_0x2207fe){const _0x3d8e56={};return _0x3d8e56['serverUr'+'l']=_0x2207fe[_0x227e35(0x582,0x653)+'l'],_0x3d8e56['gatewayI'+'d']=_0x2207fe[_0x227e35(_0x345fa5._0x5467c4,0x418)+'d'],_0x3d8e56['relaySec'+_0x227e35(0x520,_0x345fa5._0x38d13f)]=_0x2207fe[_0x13632f(_0x345fa5._0x1466e4,_0x345fa5._0x387371)+'ret'],_0x3d8e56['displayN'+_0x13632f(_0x345fa5._0x41ceb6,_0x345fa5._0x27ca4b)]=_0x5d35b8['displayN'+_0x13632f(_0x345fa5._0x25c4be,0x511)],_0x3d8e56[_0x13632f(0x6a5,_0x345fa5._0x38b19b)+_0x227e35(_0x345fa5._0x5af23f,0x748)]=_0x5d35b8[_0x227e35(0x540,0x71d)+'oken'],_0x3d8e56[_0x13632f(_0x345fa5._0xd18e50,0x900)+_0x227e35(0x53a,0x6cd)]=_0x5d35b8[_0x227e35(_0x345fa5._0x5f0e3e,0x4ba)+'assword'],_0x1e72fa[_0x13632f(0x935,_0x345fa5._0x58d216)](refreshAccessCode,_0x3d8e56);}if(_0x1e72fa[_0x227e35(_0x345fa5._0x5df4cf,_0x345fa5._0x470763)](_0x5f256c,_0x13632f(_0x345fa5._0x292a92,0x6fa)+_0x227e35(_0x345fa5._0x509abe,0x315)))throw new Error(_0x227e35(0x405,_0x345fa5._0x193653)+_0x13632f(0x8ea,_0x345fa5._0x491343)+_0x13632f(_0x345fa5._0x1835ac,_0x345fa5._0x1cbc49)+_0x227e35(_0x345fa5._0x25f5c9,0x3b3)+'th\x20'+_0x2207fe?.[_0x227e35(0x582,0x5eb)+'l']+(_0x13632f(0x797,0x738)+'lawket\x20r'+_0x227e35(0x41c,_0x345fa5._0x11851b)+'fore\x20pai'+_0x13632f(_0x345fa5._0x323299,0x655)+'h\x20a\x20diff'+_0x13632f(0x500,_0x345fa5._0x5e6ca0)+_0x13632f(0x9b8,0x794)));function _0x227e35(_0x2b6b07,_0x48be46){return _0x3a90bd(_0x48be46,_0x2b6b07-0x5e9);}const _0x30e159=await _0x1e72fa[_0x227e35(_0x345fa5._0x287048,_0x345fa5._0x5bc78e)](postJsonWithCloudflareFallback,_0x3cd12e+(_0x227e35(0x41b,_0x345fa5._0x5ef042)+'/registe'+'r'),{'method':_0x1e72fa[_0x13632f(_0x345fa5._0x3bfe3b,0x7ee)],'headers':{'content-type':'applicat'+_0x13632f(_0x345fa5._0x1875bb,_0x345fa5._0x4d96d5),'accept':_0x1e72fa['NSdKe']},'body':JSON[_0x227e35(_0x345fa5._0x38aa91,_0x345fa5._0x3906dd)+'y']({'displayName':_0x5d35b8[_0x227e35(_0x345fa5._0x338626,_0x345fa5._0xd0c015)+_0x13632f(0x4e7,0x51a)]?.[_0x13632f(_0x345fa5._0x3f42dc,0x916)]()||null})});function _0x13632f(_0x20642e,_0x1b1370){return _0x3a90bd(_0x1b1370,_0x20642e-0x74e);}if(!_0x30e159[_0x227e35(0x800,0xa82)]['ok'])throw await buildPairingRequestError(_0x13632f(0x518,0x74a)+_0x13632f(0x7c3,_0x345fa5._0x51bbcb),_0x30e159);const _0x174dd2=await _0x30e159[_0x227e35(0x800,_0x345fa5._0x27d4aa)]['json'](),_0xe13584=new Date()['toISOStr'+_0x13632f(_0x345fa5._0x17d245,0x353)](),_0x351c79={'serverUrl':_0x3cd12e,'gatewayId':_0x174dd2[_0x227e35(0x3d1,_0x345fa5._0x53d1d7)+'d'],'relaySecret':_0x174dd2[_0x13632f(0x905,_0x345fa5._0x2252b9)+_0x227e35(0x520,0x5df)],'relayUrl':_0x174dd2[_0x13632f(_0x345fa5._0x166a46,_0x345fa5._0x3d6dec)],'instanceId':_0x2207fe?.['instance'+'Id']??_0x13632f(_0x345fa5._0x533eca,_0x345fa5._0x4c023f)+_0x174dd2['gatewayI'+'d'][_0x13632f(_0x345fa5._0x5c586b,0xa63)](-0xa),'displayName':_0x174dd2[_0x227e35(_0x345fa5._0x338626,0x8cf)+'ame'],'createdAt':_0xe13584,'updatedAt':_0xe13584};return writePairingConfig(_0x351c79),{'config':_0x351c79,'accessCode':_0x174dd2['accessCo'+'de'],'accessCodeExpiresAt':_0x174dd2[_0x13632f(_0x345fa5._0x3cded1,_0x345fa5._0x4658ee)+_0x13632f(_0x345fa5._0x58a937,0x7b0)+_0x227e35(0x60c,_0x345fa5._0x3c1318)],'action':_0x227e35(_0x345fa5._0x11af6f,_0x345fa5._0x452dc3)+'ed','qrPayload':_0x1e72fa[_0x13632f(0x935,0xa10)](buildPairingQrPayload,{'server':_0x3cd12e,'gatewayId':_0x174dd2['gatewayI'+'d'],'accessCode':_0x174dd2[_0x227e35(0x636,_0x345fa5._0x3e96b9)+'de'],'displayName':_0x174dd2['displayN'+'ame'],'token':_0x5d35b8[_0x13632f(0x6a5,0x6c7)+_0x13632f(0xa41,_0x345fa5._0x1b24f4)]?.['trim']()||null,'password':_0x5d35b8[_0x13632f(_0x345fa5._0x311ec2,_0x345fa5._0x4a8d20)+'assword']?.[_0x227e35(_0x345fa5._0x1c5d55,0x6b8)]()||null})};}async function refreshAccessCode(_0x2f7fb0){const _0x36516c={_0x1e900d:0x2fd,_0x1d5c0b:0x190,_0x122ac2:0x419,_0x37a417:0xf0,_0x556c38:0xe3,_0xa59423:0xc1,_0x5a3ac3:0xcc,_0x445f2c:0x6c,_0x1dde29:0x89,_0x5e3f62:0x2a0,_0x3e969b:0x84,_0x51ba3a:0x22f,_0x5d5f66:0x2f7,_0x20df0b:0x17d,_0x164410:0x1b,_0x3a195b:0x138,_0x51871e:0x230,_0x137635:0x147,_0x24ed36:0x23f,_0x43f979:0x77,_0x5f5644:0x58,_0x12fdee:0x29e,_0x1250a4:0x115,_0x3f1721:0x344,_0x1bc20f:0x26a,_0x114a5e:0x191,_0x1264f4:0x2ba,_0x2e4084:0x43,_0x3c9fd8:0xf3,_0x4bca9c:0xe7,_0x337013:0xd5,_0x4f7b5a:0x36e,_0x433f3f:0xc1,_0x3fb217:0x28c,_0x38499e:0x113,_0xe94029:0x104,_0xff52a:0xe3,_0x4f247a:0x3e4,_0x502755:0x41d,_0x1703de:0x3fe,_0x3cd4c5:0x55a,_0x27b646:0x110,_0x128fc6:0x14c,_0x1cf906:0x72,_0x1390c8:0x252,_0xe536e5:0x311,_0x2f7192:0x51b,_0x34aa8f:0x233,_0x1e8ae6:0x17b,_0x35742c:0x18f,_0x18aca5:0x17a,_0x98cdee:0x35,_0x518859:0x272,_0x2d1453:0x20c,_0x1bb2a8:0x182,_0xa23cbf:0x602,_0xa94513:0x29,_0x46bf60:0x132,_0x2c2b9c:0xae,_0x4532e4:0x1d2,_0x168cff:0x65c,_0x38f0c4:0x4f0,_0xf5ee0b:0x3c7,_0x3229fa:0x3e9},_0x58644e={_0x516c78:0x12e},_0x1484c5={};_0x1484c5[_0x4d469d(_0x36516c._0x1e900d,0xf6)]=_0x4a8169(-_0x36516c._0x1d5c0b,-0xe1)+_0x4d469d(0x23f,0xe7),_0x1484c5[_0x4a8169(0x13c,-0xd0)]=_0x4a8169(0x1c1,_0x36516c._0x122ac2)+'d';const _0x1bb3e2=_0x1484c5,_0x43d54e=readPairingConfig(),_0x45f898=normalizeHttpBase(_0x2f7fb0?.['serverUr'+'l']??_0x43d54e?.[_0x4d469d(_0x36516c._0x37a417,0x37d)+'l']??''),_0xce5c88=_0x2f7fb0?.[_0x4a8169(0xff,-_0x36516c._0x556c38)+'d']??_0x43d54e?.[_0x4d469d(-_0x36516c._0xa59423,_0x36516c._0x5a3ac3)+'d']??'',_0xb552e8=_0x2f7fb0?.[_0x4a8169(0x553,0x2ec)+_0x4a8169(0xfe,_0x36516c._0x445f2c)]??_0x43d54e?.[_0x4d469d(0x30e,_0x36516c._0x1dde29)+_0x4a8169(_0x36516c._0x5e3f62,_0x36516c._0x445f2c)]??'';if(!_0x45f898||!_0xce5c88||!_0xb552e8)throw new Error(_0x4d469d(0xb2,_0x36516c._0x3e969b)+_0x4a8169(_0x36516c._0x51ba3a,_0x36516c._0x5d5f66)+_0x4a8169(_0x36516c._0x20df0b,0x384)+_0x4d469d(-_0x36516c._0x164410,_0x36516c._0x3a195b)+_0x4d469d(0x16,0x2bc)+'.');const _0x47c176={};_0x47c176['content-'+_0x4a8169(0x294,_0x36516c._0x51871e)]=_0x1bb3e2['WjeQu'],_0x47c176[_0x4d469d(0x28a,_0x36516c._0x137635)]=_0x4d469d(-0xbf,-0x277)+_0x4d469d(_0x36516c._0x24ed36,0x4b1);const _0xd6a998=await postJsonWithCloudflareFallback(_0x45f898+(_0x4d469d(-_0x36516c._0x43f979,0x100)+_0x4d469d(-0x7a,-_0x36516c._0x5f5644)+_0x4a8169(_0x36516c._0x12fdee,_0x36516c._0x1250a4)),{'method':_0x4d469d(_0x36516c._0x3f1721,_0x36516c._0x1bc20f),'headers':_0x47c176,'body':JSON[_0x4a8169(_0x36516c._0x114a5e,0x3b2)+'y']({'gatewayId':_0xce5c88,'relaySecret':_0xb552e8,'displayName':_0x2f7fb0?.[_0x4d469d(0x3fe,0x5f9)+_0x4a8169(-0x19a,-0x132)]?.[_0x4d469d(0x3e9,_0x36516c._0x1264f4)]()||void 0x0})});if(!_0xd6a998[_0x4a8169(0x49d,0x34c)]['ok'])throw await buildPairingRequestError(_0x4d469d(-0x6b,-_0x36516c._0x2e4084)+_0x4d469d(-_0x36516c._0x3c9fd8,_0x36516c._0x4bca9c)+_0x4a8169(_0x36516c._0x337013,-0xec),_0xd6a998);const _0x2a7d04=await _0xd6a998[_0x4d469d(_0x36516c._0x4f7b5a,0x5f6)][_0x4d469d(0x2fa,0x1fb)]();function _0x4d469d(_0x4eeb6e,_0x2a3cc8){return _0xb2a5b9(_0x2a3cc8,_0x4eeb6e-0x150);}const _0x303d89={'serverUrl':_0x45f898,'gatewayId':_0x2a7d04[_0x4d469d(-_0x36516c._0x433f3f,-0x2f5)+'d'],'relaySecret':_0xb552e8,'relayUrl':_0x2a7d04[_0x4d469d(_0x36516c._0x3fb217,_0x36516c._0x38499e)],'instanceId':_0x43d54e?.['instance'+'Id']??_0x4a8169(_0x36516c._0x1e900d,0x366)+_0x2a7d04[_0x4a8169(_0x36516c._0xe94029,-_0x36516c._0xff52a)+'d'][_0x4d469d(_0x36516c._0x4f247a,_0x36516c._0x502755)](-0xa),'displayName':_0x2a7d04[_0x4d469d(_0x36516c._0x1703de,_0x36516c._0x3cd4c5)+_0x4d469d(-_0x36516c._0x27b646,_0x36516c._0x128fc6)],'createdAt':_0x43d54e?.[_0x4d469d(_0x36516c._0x1cf906,_0x36516c._0x1390c8)+'t']??new Date()[_0x4d469d(0x311,0xd4)+'ing'](),'updatedAt':new Date()[_0x4d469d(_0x36516c._0xe536e5,_0x36516c._0x2f7192)+'ing']()};function _0x4a8169(_0x37e319,_0x5ba6eb){return _0xb2a5b9(_0x37e319,_0x5ba6eb-_0x58644e._0x516c78);}return writePairingConfig(_0x303d89),{'config':_0x303d89,'accessCode':_0x2a7d04['accessCo'+'de'],'accessCodeExpiresAt':_0x2a7d04[_0x4a8169(_0x36516c._0x34aa8f,0x182)+_0x4a8169(_0x36516c._0x1e8ae6,_0x36516c._0x35742c)+_0x4d469d(_0x36516c._0x18aca5,-_0x36516c._0x98cdee)],'action':_0x1bb3e2['SJqSM'],'qrPayload':buildPairingQrPayload({'server':_0x45f898,'gatewayId':_0x2a7d04[_0x4a8169(-_0x36516c._0x518859,-0xe3)+'d'],'accessCode':_0x2a7d04[_0x4a8169(_0x36516c._0x2d1453,_0x36516c._0x1bb2a8)+'de'],'displayName':_0x2a7d04[_0x4d469d(0x3fe,_0x36516c._0xa23cbf)+_0x4a8169(_0x36516c._0xa94513,-_0x36516c._0x46bf60)],'token':_0x2f7fb0?.[_0x4d469d(_0x36516c._0x2c2b9c,-_0x36516c._0x4532e4)+_0x4a8169(_0x36516c._0x168cff,0x428)]?.[_0x4a8169(_0x36516c._0x38f0c4,_0x36516c._0xf5ee0b)]()||null,'password':_0x2f7fb0?.['gatewayP'+'assword']?.[_0x4d469d(_0x36516c._0x3229fa,0x67e)]()||null})};}function normalizeHttpBase(_0x50b278){const _0x371679={_0x593b48:0x727,_0x1a6faf:0xf5,_0x51bfc1:0x220,_0x363079:0x90e,_0x2d3e08:0x476,_0x313e43:0xf6,_0x4319dc:0xb7,_0x37b337:0x16d,_0x2aef88:0x720,_0x4ec167:0x5bd,_0x3d6b85:0x346,_0x2f694d:0x124,_0xdb49d8:0x140,_0x4e0a4f:0x4cd,_0x230eb6:0x724,_0x2e7a66:0x667,_0x3d2e04:0xb3,_0x19bd9b:0x30,_0x46700e:0x418,_0x2db514:0xf6,_0x12cfb0:0x233},_0x1b8f02={_0xc9f42d:0xb9},_0x476ecb={};_0x476ecb[_0x108751(_0x371679._0x593b48,0x7d8)]=_0x5f4ad7(_0x371679._0x1a6faf,-0xe0);function _0x108751(_0x2c7328,_0x1a05ca){return _0x3a90bd(_0x2c7328,_0x1a05ca-0x67c);}_0x476ecb[_0x5f4ad7(0x30,-_0x371679._0x51bfc1)]=_0x5f4ad7(0x2cb,0x19e);const _0x3de4f5=_0x476ecb,_0x3eeafa=_0x50b278[_0x108751(0x8f4,_0x371679._0x363079)]();if(!_0x3eeafa)return'';if(_0x3eeafa['startsWi'+'th'](_0x3de4f5['QDdwv'])||_0x3eeafa[_0x108751(_0x371679._0x2d3e08,0x456)+'th']('https://'))return _0x3eeafa[_0x5f4ad7(-_0x371679._0x313e43,-_0x371679._0x4319dc)](/\/+$/,'');function _0x5f4ad7(_0x3cb39c,_0x21d6e6){return _0x3a90bd(_0x21d6e6,_0x3cb39c-_0x1b8f02._0xc9f42d);}if(_0x3eeafa[_0x5f4ad7(-_0x371679._0x37b337,-0x40d)+'th'](_0x108751(_0x371679._0x2aef88,0x73b)))return(_0x108751(_0x371679._0x4ec167,0x6b8)+_0x3eeafa[_0x5f4ad7(_0x371679._0x3d6b85,0xef)](_0x5f4ad7(0x178,_0x371679._0x2f694d)[_0x5f4ad7(_0x371679._0xdb49d8,0x78)]))[_0x108751(0x262,_0x371679._0x4e0a4f)](/\/+$/,'');if(_0x3eeafa[_0x5f4ad7(-_0x371679._0x37b337,-0x310)+'th'](_0x5f4ad7(0x2cb,0x3e3)))return(_0x108751(_0x371679._0x230eb6,_0x371679._0x2e7a66)+_0x3eeafa[_0x5f4ad7(_0x371679._0x3d6b85,_0x371679._0x3d2e04)](_0x3de4f5[_0x5f4ad7(_0x371679._0x19bd9b,0x204)]['length']))['replace'](/\/+$/,'');return(_0x108751(_0x371679._0x46700e,_0x371679._0x2e7a66)+_0x3eeafa)[_0x5f4ad7(-_0x371679._0x2db514,-_0x371679._0x12cfb0)](/\/+$/,'');}function assessPairingCompatibility(_0x57f7c9,_0x177e82){const _0xdc301c={_0x5041e1:0x57,_0x1d027c:0x3ae,_0x48fa93:0x1f3,_0x310f5f:0x68f,_0x4a3c03:0x541,_0x2ebb11:0x436,_0x41c3b0:0x18b},_0x5d114e={_0x7ed17f:0x27e};function _0x2e4f3b(_0x65b234,_0x4c38e8){return _0x3a90bd(_0x4c38e8,_0x65b234-0x284);}function _0xc37458(_0x5ef94a,_0x15058a){return _0x3a90bd(_0x5ef94a,_0x15058a-_0x5d114e._0x7ed17f);}if(!_0x57f7c9)return _0xc37458(-_0xdc301c._0x5041e1,0x76)+'-new';if(_0x57f7c9[_0x2e4f3b(0x21d,_0xdc301c._0x1d027c)+'l']===_0x177e82)return _0x2e4f3b(0x306,_0xdc301c._0x48fa93)+_0xc37458(_0xdc301c._0x310f5f,_0xdc301c._0x4a3c03);return _0x2e4f3b(_0xdc301c._0x2ebb11,0x4ef)+_0x2e4f3b(_0xdc301c._0x41c3b0,0x413);}async function postJsonWithCloudflareFallback(_0x302550,_0x21eafe){const _0x23ca80={_0x3e9dbe:0xb46,_0xccafb1:0x89c,_0x54dd6b:0x7f3,_0x36f71f:0x82c,_0x41f4fa:0x598,_0x3bcb00:0x1e4,_0x2fe341:0x723},_0x43eec8={_0x283063:0x102},_0x33ee87={'zOZVs':function(_0x389094,_0x36be3d,_0x17f2a6){return _0x389094(_0x36be3d,_0x17f2a6);},'hxQBT':function(_0x2e3fba,_0x6febdd,_0x43dba6){return _0x2e3fba(_0x6febdd,_0x43dba6);}};function _0x10fef4(_0x1e4b4b,_0x29b3ae){return _0xb2a5b9(_0x29b3ae,_0x1e4b4b-_0x43eec8._0x283063);}const _0x272ba2=await _0x33ee87[_0x4669a1(_0x23ca80._0x3e9dbe,_0x23ca80._0xccafb1)](fetch,_0x302550,_0x21eafe),_0x4633d5=resolveCloudflareChallengeFallbackUrl(_0x302550,_0x272ba2);function _0x4669a1(_0x14746b,_0x456fef){return _0xb2a5b9(_0x14746b,_0x456fef-0x60e);}if(!_0x4633d5){const _0x20b737={};return _0x20b737[_0x4669a1(_0x23ca80._0x54dd6b,_0x23ca80._0x36f71f)]=_0x272ba2,_0x20b737[_0x4669a1(_0x23ca80._0x41f4fa,0x79d)+_0x10fef4(0x112,0xd0)]=_0x302550,_0x20b737[_0x4669a1(0x574,0x7ce)+_0x10fef4(0x5f,_0x23ca80._0x3bcb00)]=null,_0x20b737;}return{'response':await _0x33ee87[_0x4669a1(_0x23ca80._0x2fe341,0x5de)](fetch,_0x4633d5,_0x21eafe),'attemptedUrl':_0x302550,'fallbackUrl':_0x4633d5};}async function buildPairingRequestError(_0x4eaf0b,_0x673bd9){const _0x45c244={_0x32bf65:0x8cd,_0x32955b:0x8b4,_0x3c69a6:0x37,_0x222356:0x1ff,_0xbe8bce:0x825,_0x27133b:0x6a6,_0x3e1d85:0x4b,_0x1318a0:0x29a,_0xec1b70:0x4e2,_0x5970e8:0x161,_0x220b2e:0x7e3,_0x577cc1:0x7ee,_0x47d60d:0x10d,_0x524efe:0x7d8,_0x2b78b9:0x37,_0x41cc58:0x275,_0x27fd20:0x58,_0x1cb7d6:0xbc,_0x3460ff:0x4bc,_0x1bfe5f:0xd2,_0x4b1a1c:0xcd,_0x554c34:0x4dc,_0x38763:0x17e,_0x42534e:0x8b6,_0x2093fc:0x974,_0x1c894a:0x78,_0x30dfd2:0x761,_0x38526a:0x286,_0xb573a1:0x30,_0x5b1dff:0x213,_0x380df4:0xf6,_0x26a542:0x39b,_0x1c16cf:0x499,_0x52f481:0x4ea,_0x360ce7:0x2f8,_0xf39048:0x66,_0x57d9f0:0x8b4,_0x2e5e2c:0x887,_0x224d83:0x69e};function _0x2fc255(_0x264298,_0x2c6f7c){return _0x3a90bd(_0x264298,_0x2c6f7c-0x69d);}if(isCloudflareChallengeResponse(_0x673bd9[_0x2fc255(_0x45c244._0x32bf65,_0x45c244._0x32955b)])){const _0x40eefc=new URL(_0x673bd9[_0x2fc255(0x8dc,0x856)+_0x30fb57(_0x45c244._0x3c69a6,_0x45c244._0x222356)]??_0x673bd9[_0x2fc255(0xa66,_0x45c244._0xbe8bce)+_0x2fc255(0x7c5,_0x45c244._0x27133b)])[_0x30fb57(0x40,-_0x45c244._0x3e1d85)],_0x39d163=_0x673bd9[_0x30fb57(_0x45c244._0x1318a0,_0x45c244._0xec1b70)+_0x30fb57(_0x45c244._0x3c69a6,-0x107)]?_0x30fb57(0x3b0,_0x45c244._0x5970e8)+_0x2fc255(_0x45c244._0x220b2e,_0x45c244._0x577cc1)+_0x30fb57(-0x10d,_0x45c244._0x47d60d)+_0x673bd9[_0x2fc255(_0x45c244._0x524efe,0x856)+_0x30fb57(_0x45c244._0x2b78b9,-_0x45c244._0x41cc58)]+(_0x30fb57(-_0x45c244._0x27fd20,0xa4)+_0x30fb57(-0x3c,-0x32)+_0x30fb57(0xeb,_0x45c244._0x1cb7d6)+_0x2fc255(0x401,_0x45c244._0x3460ff)+'.'):'';return new Error(_0x4eaf0b+(_0x30fb57(-_0x45c244._0x1bfe5f,-_0x45c244._0x4b1a1c)+'(')+_0x673bd9['response'][_0x2fc255(0x3e8,_0x45c244._0x554c34)]+(_0x30fb57(-0x14a,-0x17e)+'flare\x20ch'+_0x30fb57(_0x45c244._0x38763,0x386)+_0x2fc255(_0x45c244._0x42534e,_0x45c244._0x2093fc)+'the\x20regi'+_0x2fc255(0xaa2,0x922)+_0x30fb57(_0x45c244._0x1c894a,0x324))+_0x40eefc+'.'+_0x39d163+(_0x2fc255(0x5e0,_0x45c244._0x30dfd2)+_0x30fb57(0x128,_0x45c244._0x38526a)+_0x30fb57(0x3f,-0x213)+'network\x20'+'or\x20use\x20a'+_0x30fb57(_0x45c244._0xb573a1,_0x45c244._0x5b1dff)+_0x30fb57(0x32d,0x297)+_0x30fb57(0x9d,_0x45c244._0x38526a)+_0x2fc255(0x944,0x8d7)+_0x30fb57(0x236,-0x75)+_0x30fb57(0x2e,-_0x45c244._0x380df4)+'\x20verific'+_0x2fc255(_0x45c244._0x26a542,_0x45c244._0x1c16cf)));}function _0x30fb57(_0x1c5001,_0x404b7b){return _0x3a90bd(_0x404b7b,_0x1c5001-0xe1);}return new Error(_0x4eaf0b+(_0x2fc255(0x2d6,_0x45c244._0x52f481)+'(')+_0x673bd9[_0x30fb57(_0x45c244._0x360ce7,0x278)]['status']+_0x30fb57(-0xb7,_0x45c244._0xf39048)+summarizeFailedResponse(await _0x673bd9[_0x2fc255(0x746,_0x45c244._0x57d9f0)][_0x2fc255(_0x45c244._0x2e5e2c,_0x45c244._0x224d83)]()));}function isCloudflareChallengeResponse(_0x593a5d){const _0x2de8f1={_0x27555a:0x5ee,_0x5cbb07:0x707,_0x1f4c06:0x6bb,_0x5305ca:0x139,_0x485714:0x6a3,_0x23b76b:0x46a,_0xb084ee:0x481,_0x39a4f2:0x6d8,_0x13ab46:0x297,_0xcad9c7:0x63f},_0x3d742e={_0x37c4fb:0x28c};function _0x53d7b2(_0x455c69,_0x5965b9){return _0x3a90bd(_0x455c69,_0x5965b9-0x5c7);}const _0x131893={};function _0x45c966(_0x25b99b,_0x547a40){return _0x3a90bd(_0x25b99b,_0x547a40-_0x3d742e._0x37c4fb);}_0x131893[_0x53d7b2(_0x2de8f1._0x27555a,_0x2de8f1._0x5cbb07)]=_0x45c966(-0x203,0x57)+_0x53d7b2(_0x2de8f1._0x1f4c06,0x5b1);const _0x8140e1=_0x131893;return _0x593a5d[_0x45c966(_0x2de8f1._0x5305ca,0xcb)]===0x193&&_0x593a5d[_0x45c966(_0x2de8f1._0x485714,_0x2de8f1._0x23b76b)][_0x53d7b2(_0x2de8f1._0xb084ee,0x4b5)](_0x8140e1[_0x53d7b2(0x8fe,_0x2de8f1._0x5cbb07)])?.[_0x53d7b2(_0x2de8f1._0x39a4f2,0x859)]()[_0x53d7b2(0x568,0x741)+_0x53d7b2(_0x2de8f1._0x13ab46,0x4d3)]()===_0x53d7b2(0x8c2,_0x2de8f1._0xcad9c7)+'e';}function resolveCloudflareChallengeFallbackUrl(_0x1527f1,_0x86cd5d){const _0xbbbbee={_0xe57584:0x793};if(!isCloudflareChallengeResponse(_0x86cd5d))return null;const _0x4ff5fe=new URL(_0x1527f1);function _0x4dd01c(_0x4285f1,_0x8540b3){return _0xb2a5b9(_0x4285f1,_0x8540b3-0x444);}function _0x390212(_0x1eefad,_0x286239){return _0xb2a5b9(_0x286239,_0x1eefad-0x682);}if(_0x4ff5fe[_0x390212(0x5e8,0x44b)]!==DEFAULT_REGISTRY_BASE)return null;return''+DEFAULT_REGISTRY_FALLBACK_BASE+_0x4ff5fe['pathname']+_0x4ff5fe[_0x4dd01c(_0xbbbbee._0xe57584,0x675)];}function summarizeFailedResponse(_0x4e7926){const _0x2a2a2f={_0x4f3494:0x7d3,_0x500684:0x5d8,_0x2dd308:0x683,_0x520bc8:0x8c1,_0x3a05f6:0x512,_0x475be5:0x5be},_0x393b23={_0x59701d:0x5a8};function _0x453924(_0xdf22b0,_0x5d4336){return _0x3a90bd(_0x5d4336,_0xdf22b0-_0x393b23._0x59701d);}const _0x51a87c=_0x4e7926['replace'](/\s+/g,'\x20')[_0x3645f0(0x922,_0x2a2a2f._0x4f3494)]();if(!_0x51a87c)return _0x3645f0(0x539,_0x2a2a2f._0x500684)+_0x453924(_0x2a2a2f._0x2dd308,_0x2a2a2f._0x520bc8)+'ody';function _0x3645f0(_0x2d9f24,_0x541221){return _0x3a90bd(_0x2d9f24,_0x541221-0x541);}if(_0x51a87c[_0x3645f0(_0x2a2a2f._0x3a05f6,0x5c8)]<=0xf0)return _0x51a87c;return _0x51a87c[_0x3645f0(0x5f4,0x7ce)](0x0,0xed)+_0x453924(0x838,_0x2a2a2f._0x475be5);}import{execFileSync,spawn}from'child_process';import{chmodSync,closeSync,existsSync as _0x3ffaef,mkdirSync as _0x19193e,openSync,readFileSync as _0x491827,realpathSync,rmSync as _0x2dd211,writeFileSync as _0x52ea0b}from'fs';import{homedir as _0x3efe4c}from'os';import{dirname,join as _0x27334e}from'path';import{setTimeout as _0x3a6e11}from'timers/promises';var SERVICE_LABEL='ai.clawk'+'et.bridg'+_0xb2a5b9(0x41,-0x168),SYSTEMD_UNIT_NAME=SERVICE_LABEL+_0x3a90bd(0x2ae,0x218),WINDOWS_RUN_KEY='ClawketB'+'ridgeCli',SERVICE_DIR=_0x27334e(_0x3efe4c(),_0xb2a5b9(-0x24c,-0x78)),LOG_DIR=_0x27334e(SERVICE_DIR,_0x3a90bd(0x24d,0x206)),SERVICE_STATE_PATH=_0x27334e(SERVICE_DIR,_0x3a90bd(-0x37d,-0x268)+_0xb2a5b9(-0x28e,0x20)+_0x3a90bd(-0xb2,0x26)),RUNTIME_REGISTRY_PATH=_0x27334e(SERVICE_DIR,'bridge-r'+_0x3a90bd(0x1b4,0x29f)+_0xb2a5b9(-0x27e,-0x1b)+'.json'),SERVICE_LAUNCHER_PATH=_0x27334e(SERVICE_DIR,_0xb2a5b9(-0x242,-0x36)+'launcher'+_0x3a90bd(0x43e,0x271)),LINUX_CRON_RECORD_PATH=_0x27334e(SERVICE_DIR,'bridge-s'+_0xb2a5b9(0x12d,0x23a)+_0xb2a5b9(0x344,0xb7)),SERVICE_LOG_PATH=_0x27334e(LOG_DIR,_0x3a90bd(-0x19b,-0xc0)+_0x3a90bd(0xce,0x156)),SERVICE_ERROR_LOG_PATH=_0x27334e(LOG_DIR,'bridge-c'+_0xb2a5b9(-0xf7,0x16c)+_0x3a90bd(-0x3ea,-0x15e)),MACOS_PLIST_PATH=_0x27334e(_0x3efe4c(),_0xb2a5b9(0x1,0x7d),'LaunchAg'+_0x3a90bd(0x6b,0xa8),SERVICE_LABEL+_0xb2a5b9(0x2ed,0x6c)),LINUX_SERVICE_PATH=_0x27334e(_0x3efe4c(),'.config',_0x3a90bd(0x33c,0x19f),_0xb2a5b9(0x4b1,0x2ed),SYSTEMD_UNIT_NAME),LINUX_CRON_MARKER=_0x3a90bd(-0x3f,-0x19b)+_0x3a90bd(-0x392,-0x1a7)+_0xb2a5b9(-0x155,-0x143);function getServiceProgramArgs(_0x385a83={},_0xd51236=process[_0x3a90bd(0xe8,0xda)]){const _0x32b551={_0x2e98d6:0x393,_0x26ace2:0x324,_0x2decd6:0x1d,_0x472c2b:0x46b,_0x134d96:0xf2,_0x15dc6b:0x743,_0x19c601:0x204,_0x4e3b21:0x410,_0x416430:0x2aa,_0x39d2ab:0x4af,_0x52577b:0x5a},_0x57d72c={_0x3bc093:0x92},_0x2578dd={_0x50368d:0x383},_0x5742b6={'ejhdO':_0x356a51(0x3be,_0x32b551._0x2e98d6),'TeGBA':function(_0x5b8837,_0x16d81d){return _0x5b8837(_0x16d81d);},'KzpQx':'run','ffScM':'--servic'+'e'},_0x4fe189=_0x385a83[_0xcb2e5a(-0x15a,-0x129)]?.[_0xcb2e5a(_0x32b551._0x26ace2,0x4b5)]()||process[_0xcb2e5a(_0x32b551._0x2decd6,0x2a2)],_0x27bc9c=resolveScriptPath(_0x385a83[_0x356a51(-0xce,0x146)+'th']);function _0x356a51(_0x2a2437,_0x1ab593){return _0x3a90bd(_0x2a2437,_0x1ab593-_0x2578dd._0x50368d);}if(!_0x27bc9c)throw new Error('Unable\x20t'+_0x356a51(0x411,0x4db)+_0x356a51(_0x32b551._0x472c2b,0x671)+_0xcb2e5a(0xa8,-_0x32b551._0x134d96)+_0x356a51(_0x32b551._0x15dc6b,0x515)+'rvice\x20in'+_0x356a51(0x126,0x247)+'on.');function _0xcb2e5a(_0x277f2e,_0x55a5ef){return _0x3a90bd(_0x55a5ef,_0x277f2e-_0x57d72c._0x3bc093);}if(_0xd51236!==_0x5742b6[_0x356a51(0x2d2,0x42e)]){const _0xb938a7={};_0xb938a7[_0x356a51(0x208,0x197)]=_0x4fe189,_0xb938a7['scriptPa'+'th']=_0x27bc9c,_0xb938a7[_0xcb2e5a(_0x32b551._0x19c601,_0x32b551._0x4e3b21)]=process.env.PATH??'';const _0x88c7ab=_0x5742b6[_0xcb2e5a(0x2a2,_0x32b551._0x416430)](writeServiceLauncher,_0xb938a7);return ensureLaunchScriptExecutable(_0x88c7ab,_0xd51236),[_0x88c7ab];}return[_0x4fe189,_0x27bc9c,_0x5742b6[_0x356a51(0x671,_0x32b551._0x39d2ab)],_0x5742b6[_0xcb2e5a(_0x32b551._0x52577b,0xf1)]];}function getServiceStatus(){const _0x3d9e79={_0x390000:0x2e8,_0x483d77:0x462,_0x364400:0x366,_0x1ba146:0x85,_0x1612f8:0x194,_0x1b8db3:0x3bd,_0x51d4f0:0x4ff,_0x46ac23:0x634,_0x5cbb7c:0x526,_0x56858d:0x492,_0x5e4e14:0x63c,_0x5c004a:0x3d6,_0x1e14b8:0x474,_0x51fe05:0x4d0,_0x4d5b5c:0x4fc,_0x4bf296:0x315,_0xd084eb:0xf,_0xeed560:0x500,_0xc27a30:0x3b9,_0x3edf4e:0x25d,_0x46b44:0x1c5,_0x30ad0a:0x131,_0x5618dc:0x2c,_0x1c6159:0x44b,_0x2f5f0c:0x2c9,_0xf948f:0x46b,_0x40c9c4:0x3,_0x21a5ec:0x4d8,_0x2f6549:0x4a7,_0x349dc5:0x3a4},_0x1a5480={_0x5846f5:0x246},_0x1709c4={'THjry':function(_0x1c12c0,_0x1a43bc){return _0x1c12c0!=_0x1a43bc;},'jQxgg':function(_0x439ecd,_0x58c9c3){return _0x439ecd(_0x58c9c3);},'VaMZX':function(_0x2f4ed4,_0x31a035){return _0x2f4ed4(_0x31a035);},'vAEyE':_0x1a168d(0x2b2,_0x3d9e79._0x390000)+'l','hhMoZ':_0x225397(0x264,0x279),'BTqYv':_0x1a168d(_0x3d9e79._0x483d77,_0x3d9e79._0x364400)+_0x225397(0x573,0x34e)+'crosoft\x5c'+_0x225397(_0x3d9e79._0x1ba146,_0x3d9e79._0x1612f8)+'CurrentV'+_0x225397(0x2a7,_0x3d9e79._0x1b8db3)+'un'};function _0x1a168d(_0x4bdff7,_0x589f1d){return _0xb2a5b9(_0x4bdff7,_0x589f1d-0x2e4);}ensureServiceDirs();const _0x1029fc=readServiceState()?.['pid']??null,_0x2f59d0=detectServiceMethod(),_0x5e66b4={'installed':![],'running':_0x1709c4[_0x225397(0x2b8,_0x3d9e79._0x51d4f0)](_0x1029fc,null)&&_0x1709c4['jQxgg'](isPidRunning,_0x1029fc),'method':_0x2f59d0,'servicePath':_0x1709c4[_0x225397(_0x3d9e79._0x46ac23,_0x3d9e79._0x5cbb7c)](getServicePath,_0x2f59d0),'logPath':SERVICE_LOG_PATH,'errorLogPath':SERVICE_ERROR_LOG_PATH,'pid':_0x1029fc};function _0x225397(_0x25cf81,_0x57b2a7){return _0xb2a5b9(_0x25cf81,_0x57b2a7-_0x1a5480._0x5846f5);}_0x5e66b4[_0x225397(0x29d,0x3d6)]!=null&&!_0x5e66b4['running']&&(_0x1709c4[_0x225397(_0x3d9e79._0x56858d,0x526)](clearServiceState,_0x5e66b4[_0x225397(_0x3d9e79._0x5e4e14,_0x3d9e79._0x5c004a)]),_0x5e66b4[_0x1a168d(0x2c8,_0x3d9e79._0x1e14b8)]=null);switch(_0x5e66b4[_0x1a168d(_0x3d9e79._0x51fe05,_0x3d9e79._0x4d5b5c)]){case _0x225397(_0x3d9e79._0x4bf296,0x178)+_0x1a168d(-_0x3d9e79._0xd084eb,0x93):_0x5e66b4[_0x1a168d(_0x3d9e79._0xeed560,0x25d)+'d']=_0x3ffaef(MACOS_PLIST_PATH);_0x5e66b4[_0x1a168d(_0x3d9e79._0xc27a30,_0x3d9e79._0x3edf4e)+'d']&&(_0x5e66b4[_0x1a168d(0x30b,0x44b)]=commandSucceeds(_0x1709c4[_0x225397(0x83,_0x3d9e79._0x46b44)],['list',SERVICE_LABEL])||_0x5e66b4[_0x225397(0x4da,0x3ad)]);return _0x5e66b4;case _0x1a168d(-0x4d,_0x3d9e79._0x30ad0a)+'user':_0x5e66b4[_0x1a168d(_0x3d9e79._0x5618dc,0x25d)+'d']=_0x3ffaef(LINUX_SERVICE_PATH);_0x5e66b4['installe'+'d']&&(_0x5e66b4[_0x1a168d(0x1c2,_0x3d9e79._0x1c6159)]=commandSucceeds('systemct'+'l',[_0x225397(_0x3d9e79._0x2f5f0c,0x321),_0x1a168d(0x2e4,_0x3d9e79._0xf948f)+'e','--quiet',SYSTEMD_UNIT_NAME])||_0x5e66b4[_0x1a168d(0x2dc,0x44b)]);return _0x5e66b4;case'linux-cr'+'ontab':_0x5e66b4[_0x1a168d(-_0x3d9e79._0x40c9c4,_0x3d9e79._0x3edf4e)+'d']=hasLinuxCronRegistration();return _0x5e66b4;case'windows-'+_0x1a168d(_0x3d9e79._0x21a5ec,_0x3d9e79._0x2f6549)+'stry':_0x5e66b4[_0x225397(0x17e,0x1bf)+'d']=commandSucceeds(_0x1709c4['hhMoZ'],[_0x1a168d(_0x3d9e79._0x349dc5,0x230),_0x1709c4[_0x225397(0x353,0x4c1)],'/v',WINDOWS_RUN_KEY]);return _0x5e66b4;default:return _0x5e66b4;}}function installService(_0x168fa8={}){const _0x21a8fc={_0x51d0df:0x4dc,_0x4766e9:0x5e0,_0x438270:0x112,_0x54eda3:0x775,_0x5d3fa2:0x5b9,_0x32e5b9:0x1dc,_0x4f4a3c:0x2ff,_0x622daa:0x52a,_0x279a42:0x345,_0x2c6405:0xe2,_0x75deaa:0x6d6,_0x3aa34c:0x4ef,_0x130451:0x116,_0x17d5db:0x3be,_0x38063e:0x50b,_0x2c0c27:0x532,_0xd0c5c:0x35e,_0x2d6617:0x525,_0x4a8046:0x21d,_0x2659f4:0x429,_0x4f756a:0x6e,_0x3ace88:0x51a,_0x3b2c32:0x5e,_0x2a0818:0x1f5},_0x8037ac={_0x28371c:0x4d8},_0x57d1a1={_0x358d79:0xde},_0xe9e273={'csIvC':_0x481fff(0x418,_0x21a8fc._0x51d0df)+'l','VRmeA':'unload','GNcxy':function(_0x49bf0,_0xfbc01d,_0x3979e7,_0x398828){return _0x49bf0(_0xfbc01d,_0x3979e7,_0x398828);},'xcDSk':function(_0x5e6e76){return _0x5e6e76();},'caLrz':_0x40d4c5(0x160,-0x2d)+_0x481fff(0x4b0,_0x21a8fc._0x4766e9)+_0x481fff(0x690,0x780)+_0x481fff(0x3b5,0x426)+_0x481fff(_0x21a8fc._0x438270,0x2c5)+_0x40d4c5(0x255,0x250)+'un'};function _0x40d4c5(_0xb916b1,_0x3cfbc7){return _0xb2a5b9(_0x3cfbc7,_0xb916b1-_0x57d1a1._0x358d79);}ensureServiceDirs();const _0x69d1e4=getServiceProgramArgs(_0x168fa8);switch(process[_0x481fff(_0x21a8fc._0x54eda3,_0x21a8fc._0x5d3fa2)]){case _0x481fff(0x5f0,0x53a):_0x52ea0b(MACOS_PLIST_PATH,buildMacosPlist(_0x69d1e4,SERVICE_LOG_PATH,SERVICE_ERROR_LOG_PATH),_0x481fff(0x3b0,0x3d9)),execIgnoreFailure(_0xe9e273['csIvC'],[_0xe9e273[_0x40d4c5(0xa7,_0x21a8fc._0x32e5b9)],'-w',MACOS_PLIST_PATH]);const _0x4ab3fa={};_0x4ab3fa[_0x481fff(0x10b,_0x21a8fc._0x4f4a3c)]=_0x481fff(0x379,_0x21a8fc._0x622daa),_0xe9e273[_0x481fff(0x276,_0x21a8fc._0x279a42)](execFileSync,_0x40d4c5(_0x21a8fc._0x2c6405,-0x12)+'l',['load','-w',MACOS_PLIST_PATH],_0x4ab3fa);break;case _0x481fff(0x6fa,_0x21a8fc._0x75deaa):installLinuxService(_0x69d1e4);break;case _0x481fff(0x6fa,_0x21a8fc._0x3aa34c):_0xe9e273[_0x481fff(_0x21a8fc._0x130451,_0x21a8fc._0x17d5db)](stopRunningProcess);const _0x494eef={};_0x494eef[_0x40d4c5(-0xfb,-0x241)]=_0x481fff(0x7d5,0x52a),execFileSync(_0x481fff(0x2bf,_0x21a8fc._0x38063e),['add',_0xe9e273[_0x481fff(0x444,_0x21a8fc._0x2c0c27)],'/v',WINDOWS_RUN_KEY,'/t',_0x481fff(_0x21a8fc._0xd0c5c,_0x21a8fc._0x2d6617),'/d',buildWindowsRunCommand(_0x69d1e4),'/f'],_0x494eef),startDetachedWindowsService(_0x69d1e4);break;default:throw new Error(_0x40d4c5(_0x21a8fc._0x4a8046,0x29d)+_0x481fff(_0x21a8fc._0x2659f4,0x49d)+_0x40d4c5(-_0x21a8fc._0x4f756a,0x69)+_0x481fff(_0x21a8fc._0x3ace88,0x4ff)+_0x40d4c5(-0x15c,0x73)+_0x40d4c5(_0x21a8fc._0x3b2c32,_0x21a8fc._0x2a0818)+'n:\x20'+process['platform']);}function _0x481fff(_0x2a784f,_0x4c520b){return _0xb2a5b9(_0x2a784f,_0x4c520b-_0x8037ac._0x28371c);}return getServiceStatus();}function restartService(_0xa9637={}){const _0x3fa49b={_0x4ab06a:0x45,_0x4aa99a:0xd,_0x491558:0x288,_0x399da6:0x2a4,_0x720b35:0x1e4,_0x9190fe:0x253,_0x41263d:0x262,_0x37aa5a:0x40,_0x2ed6a5:0x222,_0xe32a7d:0x173,_0x50c400:0x9,_0x2fc714:0x3fc,_0x517c8b:0x16c,_0x5606f9:0x233,_0x1e2ce8:0x33,_0x335112:0x2ba,_0xbbc633:0x39,_0x1efa35:0x34a,_0x17c05d:0xa,_0x2c7750:0x1b0,_0x3e4979:0x159,_0x2226a0:0x4f8,_0x84be9:0xf6,_0x2c352f:0x260,_0xb2c10a:0x328,_0x13cb7a:0x98};function _0x56028e(_0x59321c,_0x2c97f1){return _0x3a90bd(_0x59321c,_0x2c97f1- -0x42);}function _0x55524c(_0x1d88c5,_0xf00abb){return _0x3a90bd(_0x1d88c5,_0xf00abb-0x249);}const _0x240144={'IAtBs':_0x56028e(-0x16c,-_0x3fa49b._0x4ab06a)+'l','LXlss':_0x55524c(0x3fc,0x4ff),'UfBNV':_0x56028e(0x2b4,0x1b5),'neCni':_0x55524c(0x169,0x259),'prZhr':function(_0x588a1a){return _0x588a1a();},'dOzKG':function(_0x4baa43,_0x109807,_0x284d01,_0x41af2d){return _0x4baa43(_0x109807,_0x284d01,_0x41af2d);},'sowvo':_0x55524c(-_0x3fa49b._0x4aa99a,0x275),'oDxYI':function(_0x406e1e,_0x234aa6){return _0x406e1e(_0x234aa6);}};ensureServiceDirs();const _0x1514ba=getServiceProgramArgs(_0xa9637);switch(process['platform']){case _0x55524c(_0x3fa49b._0x491558,_0x3fa49b._0x399da6):if(!_0x3ffaef(MACOS_PLIST_PATH))return installService(_0xa9637);_0x52ea0b(MACOS_PLIST_PATH,buildMacosPlist(_0x1514ba,SERVICE_LOG_PATH,SERVICE_ERROR_LOG_PATH),_0x55524c(0x82,0x143)),execIgnoreFailure(_0x56028e(_0x3fa49b._0x720b35,-0x45)+'l',[_0x56028e(-_0x3fa49b._0x9190fe,-0xf6),'-w',MACOS_PLIST_PATH]);const _0x1c6287={};_0x1c6287['stdio']='ignore',execFileSync(_0x240144['IAtBs'],[_0x240144[_0x56028e(-0x4a8,-_0x3fa49b._0x41263d)],'-w',MACOS_PLIST_PATH],_0x1c6287);break;case _0x240144[_0x56028e(-_0x3fa49b._0x37aa5a,0x52)]:restartLinuxService(_0x1514ba);break;case _0x240144[_0x55524c(-0xea,0x22)]:_0x240144['prZhr'](stopRunningProcess);const _0x2a1034={};_0x2a1034[_0x56028e(-0x284,-_0x3fa49b._0x2ed6a5)]=_0x56028e(_0x3fa49b._0xe32a7d,_0x3fa49b._0x50c400),_0x240144[_0x55524c(-0xc7,0x1d7)](execFileSync,_0x240144[_0x55524c(_0x3fa49b._0x2fc714,_0x3fa49b._0x517c8b)],[_0x56028e(_0x3fa49b._0x5606f9,-_0x3fa49b._0x1e2ce8),_0x56028e(_0x3fa49b._0x335112,_0x3fa49b._0xbbc633)+_0x55524c(0x1b3,_0x3fa49b._0x1efa35)+_0x56028e(0x483,0x25f)+_0x55524c(0x2d,0x190)+_0x55524c(_0x3fa49b._0x17c05d,0x2f)+_0x56028e(_0x3fa49b._0x2c7750,0x12e)+'un','/v',WINDOWS_RUN_KEY,'/t',_0x55524c(_0x3fa49b._0x3e4979,0x28f),'/d',_0x240144[_0x55524c(0x293,_0x3fa49b._0x2226a0)](buildWindowsRunCommand,_0x1514ba),'/f'],_0x2a1034),startDetachedWindowsService(_0x1514ba);break;default:throw new Error(_0x56028e(0x20d,_0x3fa49b._0x84be9)+_0x55524c(0x298,0x207)+'form\x20for'+'\x20CLI\x20ser'+'vice\x20res'+_0x56028e(_0x3fa49b._0x2c352f,0x158)+process[_0x56028e(_0x3fa49b._0xb2c10a,_0x3fa49b._0x13cb7a)]);}return getServiceStatus();}async function startTransientRuntime(_0x183bcd={}){const _0x57423d={_0x3fc9f2:0x6e8,_0x504475:0x48a,_0x2ce2b1:0x746,_0x150e7c:0x438,_0xa7bca5:0x675,_0x222094:0x265,_0xe85cd4:0x79b,_0x413117:0x797},_0x38d724={_0x322dcf:0x607};ensureServiceDirs();function _0x47b906(_0xe6cba8,_0x4dd5db){return _0xb2a5b9(_0x4dd5db,_0xe6cba8-0x473);}const _0x318f04=getServiceProgramArgs(_0x183bcd);function _0x2c8408(_0x1a7ece,_0x409d0f){return _0xb2a5b9(_0x1a7ece,_0x409d0f-_0x38d724._0x322dcf);}switch(process[_0x2c8408(0x7a0,_0x57423d._0x3fc9f2)]){case'darwin':case _0x47b906(0x671,0x3c6):startDetachedPosixService(_0x318f04);break;case _0x47b906(_0x57423d._0x504475,0x71d):startDetachedWindowsService(_0x318f04);break;default:throw new Error(_0x2c8408(0x582,_0x57423d._0x2ce2b1)+_0x47b906(_0x57423d._0x150e7c,_0x57423d._0xa7bca5)+_0x47b906(0x327,_0x57423d._0x222094)+'\x20transie'+_0x47b906(0x510,0x668)+'untime\x20s'+_0x2c8408(_0x57423d._0xe85cd4,0x7a8)+process[_0x2c8408(_0x57423d._0x413117,_0x57423d._0x3fc9f2)]);}return waitForRuntimeState();}function uninstallService(){const _0x19cab8={_0x19c980:0x83b,_0x1050d7:0x759,_0x8859a2:0x516,_0x497ddc:0x34f,_0x547883:0x1fb,_0x5d88dd:0x585,_0x508949:0x650,_0x44091c:0x2ba,_0x4c8ff5:0x7b8,_0x21be0e:0x50d,_0x5ae40c:0x739,_0x58259e:0x508,_0x578118:0x4b7,_0x581fef:0x59e,_0x500d7d:0x75f,_0x302d62:0x326,_0x4b4dfc:0x14c,_0xb24d15:0x2b4,_0x1b41bd:0x79a,_0x22c1da:0x7b2,_0x57976a:0x672,_0x4ce951:0x16a,_0x3dacac:0x6c5},_0x4f11c9={_0x4e351:0x40e};function _0x5cb68f(_0x2fd734,_0x16e7bd){return _0xb2a5b9(_0x16e7bd,_0x2fd734-_0x4f11c9._0x4e351);}const _0x44cd3e={'EaWUV':function(_0x49c4b8){return _0x49c4b8();},'joVOZ':function(_0x25b0bd,_0x4ca643,_0x20c105){return _0x25b0bd(_0x4ca643,_0x20c105);},'KpzmX':'unload','FIjvX':_0x22f4bb(0x653,0x4f1),'OAMOu':_0x22f4bb(_0x19cab8._0x19c980,_0x19cab8._0x1050d7)+_0x5cb68f(_0x19cab8._0x8859a2,_0x19cab8._0x497ddc)+'crosoft\x5c'+'Windows\x5c'+_0x5cb68f(_0x19cab8._0x547883,0xb6)+_0x5cb68f(_0x19cab8._0x5d88dd,_0x19cab8._0x508949)+'un'};function _0x22f4bb(_0x45d965,_0x13f7fe){return _0xb2a5b9(_0x45d965,_0x13f7fe-0x6d7);}_0x44cd3e[_0x5cb68f(0x504,_0x19cab8._0x44091c)](stopRunningProcess);switch(process[_0x22f4bb(0x9a6,_0x19cab8._0x4c8ff5)]){case _0x22f4bb(_0x19cab8._0x21be0e,_0x19cab8._0x5ae40c):_0x44cd3e[_0x5cb68f(_0x19cab8._0x58259e,_0x19cab8._0x578118)](execIgnoreFailure,'launchct'+'l',[_0x44cd3e[_0x22f4bb(_0x19cab8._0x581fef,0x514)],'-w',MACOS_PLIST_PATH]),rmIfExists(MACOS_PLIST_PATH);break;case _0x22f4bb(0xa2d,0x8d5):_0x3ffaef(LINUX_SERVICE_PATH)&&(_0x44cd3e['joVOZ'](execIgnoreFailure,_0x22f4bb(_0x19cab8._0x500d7d,0x57d)+'l',[_0x22f4bb(0x929,0x7b2),_0x44cd3e[_0x5cb68f(_0x19cab8._0x302d62,_0x19cab8._0x4b4dfc)],_0x5cb68f(0x5e5,0x55f),SYSTEMD_UNIT_NAME]),rmIfExists(LINUX_SERVICE_PATH),execIgnoreFailure(_0x5cb68f(_0x19cab8._0xb24d15,0x28f)+'l',[_0x22f4bb(_0x19cab8._0x1b41bd,_0x19cab8._0x22c1da),_0x22f4bb(_0x19cab8._0x57976a,0x697)+_0x5cb68f(0x3e3,_0x19cab8._0x4ce951)]));removeLinuxCronRegistration();break;case _0x5cb68f(0x425,0x28d):execIgnoreFailure('reg',['delete',_0x44cd3e[_0x22f4bb(0x7d2,_0x19cab8._0x3dacac)],'/v',WINDOWS_RUN_KEY,'/f']);break;default:break;}return clearServiceState(),getServiceStatus();}function stopService(){const _0x7e707={_0x5ec793:0x48e,_0xae8dd4:0x472,_0x106cd7:0x21a,_0x2d5b09:0x1a7,_0x3b2d09:0x19b,_0x2f2255:0x337,_0x1aedc9:0x5f,_0x1cac27:0x23e,_0x2f08c7:0x3ef,_0x5cadd6:0x545},_0x2ed8a8={_0x523d5a:0x139},_0x1b32f9={'MJSjs':function(_0x51f277){return _0x51f277();},'sdnXn':_0x37bfd7(_0x7e707._0x5ec793,_0x7e707._0xae8dd4),'aiBtF':'win32'};function _0xfc75c9(_0x1f18cc,_0x367f90){return _0xb2a5b9(_0x367f90,_0x1f18cc-_0x2ed8a8._0x523d5a);}function _0x37bfd7(_0xe5cf2a,_0x218325){return _0xb2a5b9(_0xe5cf2a,_0x218325-0x2e6);}_0x1b32f9['MJSjs'](stopRunningProcess);switch(process[_0xfc75c9(_0x7e707._0x106cd7,_0x7e707._0x2d5b09)]){case _0xfc75c9(_0x7e707._0x3b2d09,0xf6):_0x3ffaef(MACOS_PLIST_PATH)&&execIgnoreFailure('launchct'+'l',['unload',MACOS_PLIST_PATH]);break;case _0xfc75c9(_0x7e707._0x2f2255,0x138):_0x3ffaef(LINUX_SERVICE_PATH)&&execIgnoreFailure('systemct'+'l',[_0xfc75c9(0x214,-_0x7e707._0x1aedc9),_0x1b32f9[_0xfc75c9(_0x7e707._0x1cac27,_0x7e707._0x2f08c7)],SYSTEMD_UNIT_NAME]);break;case _0x1b32f9[_0x37bfd7(0x687,0x462)]:break;default:break;}return clearServiceState(),_0x1b32f9[_0x37bfd7(_0x7e707._0x5cadd6,_0x7e707._0x2f08c7)](getServiceStatus);}function writeServiceState(_0x591d3c=process[_0x3a90bd(-0x112,0x189)]){const _0x27a6e4={_0x5b5337:0x270,_0x233a36:0x2b1,_0x585efa:0x1ba,_0x42011f:0x7a1,_0x32d287:0x84c,_0x3bf94e:0x5d9},_0x376f7b={_0x3f017f:0x524},_0x596562={_0x4bd436:0x376},_0x533672={};function _0x37cd53(_0x5b06c6,_0x44ab09){return _0x3a90bd(_0x5b06c6,_0x44ab09-_0x596562._0x4bd436);}_0x533672['JNyud']=function(_0x2e2028,_0x1b57f0){return _0x2e2028+_0x1b57f0;},_0x533672[_0xa46937(0x696,0x5d9)]=_0x37cd53(0x405,_0x27a6e4._0x5b5337);function _0xa46937(_0x19a862,_0x3482e7){return _0x3a90bd(_0x19a862,_0x3482e7-_0x376f7b._0x3f017f);}const _0x5a2eb4=_0x533672;ensureServiceDirs();const _0x124c97={'pid':_0x591d3c,'startedAt':new Date()['toISOStr'+_0x37cd53(_0x27a6e4._0x233a36,_0x27a6e4._0x585efa)]()};_0x52ea0b(SERVICE_STATE_PATH,_0x5a2eb4[_0xa46937(0x28f,0x414)](JSON[_0xa46937(0x965,_0x27a6e4._0x42011f)+'y'](_0x124c97,null,0x2),'\x0a'),_0x5a2eb4[_0xa46937(_0x27a6e4._0x32d287,_0x27a6e4._0x3bf94e)]);}function registerRuntimeProcess(_0x367c90){const _0x2d5027={_0x4f8f9e:0x293,_0x22284f:0x2c,_0x3d4dff:0x1e6,_0x17513c:0x1d,_0x395b5a:0x18a,_0x46a800:0x2fd,_0x4c29d7:0xd6,_0x3e76f1:0x2a1,_0x222cea:0x382,_0x439f29:0x31f},_0x4dbd37={_0x239904:0x103},_0x52c98f={_0x411069:0x39b};ensureServiceDirs();function _0x2188cd(_0x2bcde1,_0x487782){return _0xb2a5b9(_0x2bcde1,_0x487782-_0x52c98f._0x411069);}function _0x2107f1(_0x409992,_0x90f81b){return _0xb2a5b9(_0x90f81b,_0x409992-_0x4dbd37._0x239904);}const _0x3606b7={'pid':_0x367c90[_0x2107f1(0x293,0x3fd)]??process[_0x2107f1(_0x2d5027._0x4f8f9e,_0x2d5027._0x22284f)],'startedAt':_0x367c90[_0x2107f1(0x221,0x49)+'t']??new Date()[_0x2107f1(0x2c4,0x396)+_0x2188cd(0x2f2,_0x2d5027._0x3d4dff)](),'gatewayId':_0x367c90[_0x2188cd(_0x2d5027._0x17513c,_0x2d5027._0x395b5a)+'d'],'instanceId':_0x367c90[_0x2107f1(-0x130,-_0x2d5027._0x46a800)+'Id'],'serviceMode':_0x367c90[_0x2107f1(-0xce,_0x2d5027._0x4c29d7)+_0x2107f1(_0x2d5027._0x3e76f1,_0x2d5027._0x222cea)],'scriptPath':resolveScriptPath(_0x367c90['scriptPa'+'th'])},_0x54e476=readRuntimeRegistry()[_0x2107f1(_0x2d5027._0x439f29,0x421)](_0x4a372a=>_0x4a372a[_0x2188cd(0x290,0x52b)]!==_0x3606b7['pid'])['concat'](_0x3606b7);writeRuntimeRegistry(_0x54e476);}function unregisterRuntimeProcess(_0x49ab2e=process['pid']){function _0x4f9c83(_0x43a097,_0x139ebc){return _0x3a90bd(_0x43a097,_0x139ebc-0x73e);}const _0x2e87b8=readRuntimeRegistry()[_0x4f9c83(0xa03,0x953)](_0x329474=>_0x329474['pid']!==_0x49ab2e);writeRuntimeRegistry(_0x2e87b8);}function _0x346a(_0x1c0468,_0x3a3f44){_0x1c0468=_0x1c0468-0x10c;const _0x2946d1=_0x2cc1();let _0x47f9c5=_0x2946d1[_0x1c0468];if(_0x346a['rRdZSR']===undefined){var _0x162df0=function(_0x1040a2){const _0x2ab523='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x43eed9='',_0x43c05a='',_0x1d21cf=_0x43eed9+_0x162df0;for(let _0xc8cb34=0x0,_0x18afcb,_0x5c4fe0,_0x59f33c=0x0;_0x5c4fe0=_0x1040a2['charAt'](_0x59f33c++);~_0x5c4fe0&&(_0x18afcb=_0xc8cb34%0x4?_0x18afcb*0x40+_0x5c4fe0:_0x5c4fe0,_0xc8cb34++%0x4)?_0x43eed9+=_0x1d21cf['charCodeAt'](_0x59f33c+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x18afcb>>(-0x2*_0xc8cb34&0x6)):_0xc8cb34:0x0){_0x5c4fe0=_0x2ab523['indexOf'](_0x5c4fe0);}for(let _0x25e71b=0x0,_0x4adff1=_0x43eed9['length'];_0x25e71b<_0x4adff1;_0x25e71b++){_0x43c05a+='%'+('00'+_0x43eed9['charCodeAt'](_0x25e71b)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x43c05a);};_0x346a['CTPaeT']=_0x162df0,_0x346a['YUnObc']={},_0x346a['rRdZSR']=!![];}const _0x2cc1d5=_0x2946d1[0x0],_0x346adc=_0x1c0468+_0x2cc1d5,_0x2dd8a7=_0x346a['YUnObc'][_0x346adc];if(!_0x2dd8a7){const _0x2dae48=function(_0x411e17){this['YSXjmF']=_0x411e17,this['EIFfNX']=[0x1,0x0,0x0],this['NQKbkZ']=function(){return'newState';},this['PRHhkl']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['YppsZB']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x2dae48['prototype']['cXVfhM']=function(){const _0x54df31=new RegExp(this['PRHhkl']+this['YppsZB']),_0xd95ea7=_0x54df31['test'](this['NQKbkZ']['toString']())?--this['EIFfNX'][0x1]:--this['EIFfNX'][0x0];return this['oTUKYk'](_0xd95ea7);},_0x2dae48['prototype']['oTUKYk']=function(_0x3bec63){if(!Boolean(~_0x3bec63))return _0x3bec63;return this['zJpPqE'](this['YSXjmF']);},_0x2dae48['prototype']['zJpPqE']=function(_0x1a7dc5){for(let _0xc6eb71=0x0,_0xf1e5c2=this['EIFfNX']['length'];_0xc6eb71<_0xf1e5c2;_0xc6eb71++){this['EIFfNX']['push'](Math['round'](Math['random']())),_0xf1e5c2=this['EIFfNX']['length'];}return _0x1a7dc5(this['EIFfNX'][0x0]);},new _0x2dae48(_0x346a)['cXVfhM'](),_0x47f9c5=_0x346a['CTPaeT'](_0x47f9c5),_0x346a['YUnObc'][_0x346adc]=_0x47f9c5;}else _0x47f9c5=_0x2dd8a7;return _0x47f9c5;}function isAutostartUnsupportedError(_0x2170a3){const _0xad15e7={_0x2cfd34:0x46,_0x393839:0x255,_0xf6c203:0x1f8,_0xcec324:0x177,_0x53144e:0x329,_0x19a4b7:0x319,_0xb47a2c:0xbc,_0x3072a9:0x63},_0x29d27e={_0x39cae3:0x6f};function _0x5e3f58(_0x58c4d3,_0x4ef756){return _0xb2a5b9(_0x58c4d3,_0x4ef756-0x3fd);}const _0x5736e2=formatError(_0x2170a3)['toLowerC'+_0x3ed6d4(_0xad15e7._0x2cfd34,-0x15c)]();function _0x3ed6d4(_0x51d1dd,_0x19e437){return _0xb2a5b9(_0x51d1dd,_0x19e437- -_0x29d27e._0x39cae3);}return _0x5736e2['includes']('no\x20cront'+_0x3ed6d4(_0xad15e7._0x393839,_0xad15e7._0xf6c203)+'ack\x20is\x20a'+_0x5e3f58(0x7d7,0x6f3))||_0x5736e2[_0x5e3f58(0x57c,0x301)](_0x3ed6d4(_0xad15e7._0xcec324,0x94)+_0x5e3f58(_0xad15e7._0x53144e,0x3c2)+_0x3ed6d4(-0x1da,-0x1bb)+_0x3ed6d4(_0xad15e7._0x19a4b7,0x12e)+_0x3ed6d4(_0xad15e7._0xb47a2c,-_0xad15e7._0x3072a9));}function listRuntimeProcesses(_0x26b58a={}){const _0x8ba21a={_0x326806:0x52c,_0x3ba76e:0x2bd,_0xc2e4bf:0x86d,_0x388708:0x779,_0x3d3db5:0x6b4,_0x32a80f:0x900,_0x5f547e:0x71d},_0x3493dc={_0x216afd:0x6e4},_0x365c64=resolveScriptPath(_0x26b58a[_0x4b9516(_0x8ba21a._0x326806,_0x8ba21a._0x3ba76e)+'th']);function _0x159e22(_0x4f911f,_0x4d147a){return _0xb2a5b9(_0x4d147a,_0x4f911f-_0x3493dc._0x216afd);}const _0x2b3ea9=readRuntimeRegistry(),_0x1f940b=[..._0x2b3ea9],_0x573d17=new Set(_0x2b3ea9[_0x159e22(_0x8ba21a._0xc2e4bf,0x842)](_0x1bda0e=>_0x1bda0e[_0x159e22(0x874,0xa4f)]));function _0x4b9516(_0x318774,_0x3e6e60){return _0xb2a5b9(_0x318774,_0x3e6e60-0x4f3);}for(const _0x239c16 of listPosixRuntimePids(_0x365c64)){if(_0x573d17['has'](_0x239c16))continue;_0x1f940b[_0x4b9516(_0x8ba21a._0x388708,0x506)]({'pid':_0x239c16,'startedAt':new Date(0x0)[_0x4b9516(0x6aa,_0x8ba21a._0x3d3db5)+_0x159e22(0x52f,0x6fd)](),'gatewayId':'','instanceId':'','serviceMode':![],'scriptPath':_0x365c64});}return _0x1f940b[_0x159e22(_0x8ba21a._0x32a80f,0xa47)](_0x11c3dd=>isPidRunning(_0x11c3dd['pid']))[_0x4b9516(0x5d5,_0x8ba21a._0x5f547e)]((_0x3b2a69,_0x5ceece)=>_0x3b2a69['pid']-_0x5ceece[_0x4b9516(0x683,0x683)]);}function stopRuntimeProcesses(_0x106547={}){const _0x498953={_0x33ac3f:0x3f,_0x141c74:0x515,_0x28d9d3:0x598,_0x8afee0:0x2ef,_0x1b833e:0x19a,_0x1544e8:0x5e7,_0xa86286:0x5b5,_0x1e7822:0x39f,_0x3856c1:0x58b,_0x9d84c2:0x4ef,_0x483997:0xf3,_0x45c6b8:0x8cb,_0x551f47:0x647,_0x179e83:0x3b6,_0x340235:0xc9,_0x3ef927:0x50c},_0x346e95={_0x5781f4:0x4b7},_0x39d372={_0x312956:0x29},_0x25791b={'PiKDJ':_0x58d8f8(-0x12,-_0x498953._0x33ac3f),'USVJp':_0x58d8f8(-0x4b,-0x176),'GdvtC':_0x1cd09f(_0x498953._0x141c74,0x4ef),'yYBog':function(_0x55b5c4,_0x2ba1be){return _0x55b5c4(_0x2ba1be);},'NotNJ':function(_0x57e0c4){return _0x57e0c4();}},_0x4ea8dc={};_0x4ea8dc['scriptPa'+'th']=_0x106547[_0x58d8f8(-0x25f,-0x377)+'th'];const _0x1934ab=listRuntimeProcesses(_0x4ea8dc),_0x5cb11d=_0x1934ab['filter'](_0x1b94b4=>_0x1b94b4[_0x1cd09f(0x5e7,0x647)]!==(_0x106547[_0x1cd09f(0x592,0x322)+'id']??-0x1));if(process[_0x1cd09f(0x4c2,_0x498953._0x28d9d3)]===_0x25791b[_0x1cd09f(0x204,_0x498953._0x8afee0)])for(const _0x29c786 of _0x5cb11d){execIgnoreFailure(_0x25791b[_0x58d8f8(-_0x498953._0x1b833e,-0xf7)],[_0x1cd09f(_0x498953._0x1544e8,_0x498953._0xa86286),String(_0x29c786[_0x1cd09f(_0x498953._0x1e7822,0x647)]),'/T','/F']);}else{for(const _0x2a6543 of _0x5cb11d){execIgnoreFailure(_0x1cd09f(_0x498953._0x3856c1,_0x498953._0x9d84c2),[_0x58d8f8(_0x498953._0x483997,0x328),String(_0x2a6543[_0x1cd09f(_0x498953._0x45c6b8,_0x498953._0x551f47)])]);}for(const _0x394d4c of _0x5cb11d){!waitForPidExit(_0x394d4c[_0x1cd09f(0x584,0x647)],0xbb8)&&execIgnoreFailure(_0x25791b[_0x1cd09f(0x30f,0x35a)],[_0x1cd09f(_0x498953._0x179e83,0x3e5),_0x25791b[_0x58d8f8(-0x26a,-_0x498953._0x340235)](String,_0x394d4c['pid'])]);}}function _0x58d8f8(_0x41be9e,_0x113dbf){return _0xb2a5b9(_0x113dbf,_0x41be9e- -_0x39d372._0x312956);}const _0x5e4b5d=readRuntimeRegistry()['filter'](_0x495f65=>!_0x5cb11d[_0x58d8f8(-0x48,-0x87)](_0x3849e7=>_0x3849e7[_0x1cd09f(0x534,0x647)]===_0x495f65['pid']));_0x25791b[_0x1cd09f(_0x498953._0x3ef927,0x276)](writeRuntimeRegistry,_0x5e4b5d);const _0x2861f6=readServiceState();function _0x1cd09f(_0x41a516,_0x23c201){return _0xb2a5b9(_0x41a516,_0x23c201-_0x346e95._0x5781f4);}return _0x2861f6&&_0x5cb11d['some'](_0x56ff5f=>_0x56ff5f[_0x58d8f8(0x167,0x10d)]===_0x2861f6[_0x1cd09f(0x7e7,0x647)])&&_0x25791b[_0x58d8f8(-0x140,-0x1c8)](clearServiceState),_0x5cb11d['map'](_0xa130bc=>_0xa130bc['pid']);}function clearServiceState(_0x14ebac){const _0x50e2f={_0x1cf1ee:0x191,_0xd7c081:0x81},_0x263bac={_0x38cf9b:0x53},_0x146aa0={_0x1b853a:0x684},_0x3a8846={'qYvtZ':function(_0x221f56,_0x1d755b){return _0x221f56(_0x1d755b);}};if(!_0x3ffaef(SERVICE_STATE_PATH))return;function _0x5566fd(_0x1564ce,_0x313098){return _0xb2a5b9(_0x313098,_0x1564ce-_0x146aa0._0x1b853a);}function _0x1813bd(_0xa55cf2,_0x15c0df){return _0xb2a5b9(_0xa55cf2,_0x15c0df- -_0x263bac._0x38cf9b);}if(_0x14ebac!=null){const _0x4be31e=readServiceState();if(_0x4be31e&&_0x4be31e[_0x1813bd(_0x50e2f._0x1cf1ee,0x13d)]!==_0x14ebac)return;}_0x3a8846[_0x1813bd(0x293,_0x50e2f._0xd7c081)](rmIfExists,SERVICE_STATE_PATH);}function _0x2cc1(){const _0x1b0780=['D2P6sLO','D1DlCeK','qwXPDMu8l2S','Cxzvthu','q0Xpu0LorW','CIb1C2uGygm','AcbMB3iGC2u','B2DcBuy','EeLmBxC','AdOG','ignSAsbZzxi','B2rL','AxmGy3vZDg8','CNvUDgLTzsa','DgfYDdOG','tg9NihbHDgG','zgDLigLZige','odC4oq','DgLTzwqGB3u','C3LZDgvTza','Dg9tDhjPBMC','yxK+cIaGpgS','ignSAwvUDhm','ANnVBG','Dd5DifSTlxe','zerLDMLJzxm','v2PLuxu','CgfPCMvK','sw52ywXPzca','A2uGmZbZlca','z2vZ','AgvHCNrIzwe','Ag90','yNiT','DNbU','igf2ywLSywi','zgLUzYbYzxe','CMvJEwnSzsa','C2vYDMvYlw0','CKDTEhq','yxbWzw5KoG','D2DNtMO','ig1VzguGDg8','CMvSyxLtzwm','t1jKEM0','zMfSBgjHy2S','Dg9ju09tDhi','ls1Zzxj2zxi','CNvUlxjLz2K','rxn3qxC','ANj6vxi','zM9Yy2u','y2uU','zw1HBMqGzhi','y29UzMLNig4','CxiTzMLSzsa','mtyYnZfpvufkDwG','qxv0AcbTB2q','ihvYBd0','CNvUBMLUzZO','C3bSAxq','odG2mtG0CLnnz25Y','Bwf4ugf5Bg8','Bg9JywWTCge','mhWYFdn8mxW','y1vnvM8','lY5VCgvUy2W','zgv0ywnOzwq','ls1UB3C','CgfPCMLUzYa','ywiGzM9Y','zguGAw4GDgG','Eu5qDgC','y2XPzw50igq','jMfTCdS','CMvSyxLdB24','ChbW','EK5kC2K','q29UBMvJDeG','Dg9eyxrHvvi','se1Hv2S','y2XHD2TLDca','AgvHzgvYCW','qvripsi','mtHSre5OBwC','BgX3','yxj0yMvHDca','y29UBMvJDfi','uM5zuMq','DaPxyw50CZ0','zcbZAw5Jzum','qNfMrgy','vNbiD1C','id4+ia','AhHsCM0','tKDisxK','qMfJA2DYB3u','ue9tva','zxzLBNq','Et5mywjLBdW','ieLeoIa','u2j2Cwu','CNzPy2uGDg8','Cg9UzW','zM9YD2fYze8','BsbNyxrLD2e','ywLYic0TzM8','BgLUDxG','CMvXDwvZDgu','Bufer1O','AfDpB3i','yxv0Aa','zMX1C2Hqzw4','wNzlDhC','wK5pCMK','zMLUza','q29UzMLNrgK','ze91Dhb1Dd0','yM9qs2W','AxnszwXHEu8','D2fPDa','BLfgBfy','Bg9NCW','ywLYzwqUifi','uKLqvf9qqvq','qNjPzgDLigK','C2vYDMvYidW','CxjqyxLSB2e','yxrLD2f5vxi','AgfIBgu','zwfJAgvKoYa','y2rQreW','vgvhqKe','Bwv0Ag9K','D3nZoI8V','CNvUDgLTzs4','Bg9VCgjHy2S','zMLSDgvY','ienSyxDRzxq','CMvZCg9UC2u','lNnLCNzPy2u','z2f0zxDHEq','D2LYzwD1yxi','uMvXDwvZDfi','C2LUzY4','D29YzcbJB24','zxjZ','DKHAvLG','mtG3ntCYn2r4u2j3uW','y2uGywXYzwe','icH0B2TLBIa','C29YDa','C2LUzYbPzgW','Bg9Nu2XVD0m','cLn0yw5Kyxi','B250ywi','igr1CgXPy2e','D25ts2G','C2vHCMnO','zxHPDa','q2XP','igf1DgGGAxm','ywLYuMvXDwu','uMvSyxKGvvi','mZmYmtC4sLz5rNzt','Aw5ZDc0','zcbZAw5JzuC','zxj2AwnLlMm','y29UBMvJDa','C3nHz2u9','BgnfsuO','u3PgB2O','zhjVChbLza','zxrYEvrPBwu','zg9LCYbUB3q','zxrOB2q','yxj0','ihjLBgf5pq','r2f0zxDHEvi','A2v0igfWCdO','mJaW','zxzLBa','DgXZ','zsbZDgfYDgu','y29TBwfUzca','mJK1q1zdALvs','vMvYC2LVBJO','DMLJzsbJBgu','sNPWrge','y1n0yxj0pq','D2HLCMu','AxvYs2q','EsbLBMrWB2K','ifbYzxnZiem','CLf1zxvLr2e','B3qGzM91BMq','zguGCNvUDgK','Bgf5q29UDhi','BMzPzYbWyxq','ls1Zzxj2Awm','Dg9Y','D3nZoG','zcbPCYbTAxm','zM9YzsbMBhu','lxfYlwzPBgu','DxrVBwf0Awm','zuLKBgvhyxq','l3jVB3q','CMfUzg9T','AvHlrMe','ywnRz3jVDw4','AKzoBwm','ywiGzMfSBgi','Dw5RBM93BG','DMvYlG','CMvSyxKGy2W','C21HBgW','B2jQzwn0','y3rLzcbJB2q','rI04iJ8+cJW','zwnOBYaIBM8','ls1LCNjVCNm','CNzLCI4','D2LUzg93CY0','AgvSCa','DgvYpw5LDhC','BgXDcLDHBNq','Axn0CMf0Aw8','phbHDgG+xsa','lNnO','s0v4uve','BgKUANnVBG','qLrXwxy','Cg9YDa','EKHVCe4','BM93','wKrTsgW','BMrZAgfRzxm','DgHPCYbOB3m','C2XVD1DHCM4','BMvJDgvK','C3rYAw5NAwy','zgvZDhjVEq','vwfkCeS','lMfP','zxzLCNK','uMvSyxLszwm','AwvUDerLBwe','u3LiwgC','C3rYEsbbueK','zgvYia','EK9AvNm','zg93BG','B249q2XHD2S','AgfZ','u1qGms4WlY8','swfXwuC','C2XPy2u','ls1YzxbSywm','zxnJCMLWDgK','lI4U','ywXSzwq','DhjPBq','igTLChq9','ihrVA2vUigK','sfziz0C','DvfoA1C','D3m6lY8XmJC','ihrOzsbWywK','BgLLBNq','mta4ndb5q3Hjvu8','B3nLzdOG','zxqGyxbWoGO','yxbWBhK','CYbHBhjLywq','Dw50Aw1Llxa','lJe6mtG3odK','y3jVC29MDfW','z2f0zxDHEuG','BwvZC2fNzxm','CgfPCIaTlwW','DwjjueK','wurWzMm','zgLZCgXHEu4','B3j0pL0GwY0','zgv0ywLSCW','y29UBMvJDgu','B21WBgv0zsa','C2vYDMLJzsi','BMDqywLYuMu','BhHhD2G','B0r4wuK','Dgv3yxKGCxu','igrLDMLJzuK','veHQCNK','B3bLBMnSyxC','ywrKugvUzgK','yxrO','Bg9Hza','vxjSpq','CgfZC3DVCMq','u3rHCNrLzca','DgLUzYbMB3i','zsb5B3vYigm','u3rVChbLzca','DwuVpGOGidW','AgfUzgXLuMu','C3mGls11CMW','jJe7ihrOzw4','C3rHCNq','iI4GvxnLihy','zxHPC3rPBMC','r2vUzxjHDgu','CMf3','CgLUzW','vLjkB2S','DhjSk0mGDg8','C3rKzxjY','CMvJB25Uzwm','qNnXDxq','De1Z','zYaOCgLK','yxv0AezPzwW','ief1Dg9Tyxq','zgf0yq','y29UzMLNrM8','iYeVyMLUl3m','BwfYz2LU','rxfOugu','zgv2AwnLlNa','AxmGuviGy28','yMXVy2TLzca','zgv2AwnLrMe','vMfnwLG','C2fNzq','quPYzxO','yxrLD2f5t3a','ihbYB2nLC3m','vg9Rzw5gB3u','zw5HyMXL','C3rHBguGAwq','CM5Wv1y','Aw5Qzwn0zwq','B25Uzwn0sge','CMvMCMvZAgu','phjLzgfJDgu','DxnLCG','zu5orxu','ugfZC3DVCMq','Dw5K','CgfYC2u','CMvJDgLVBKW','BMrPBMCGCMu','txm9','zsbdteKGC2m','DMfPBgfIBgu','CgLuve8','zwXHChnLzfm','AwXHyMXLoIa','B2TLBG','Be1Z','yNjPzgDLlxm','yw1L','wfLSsLe','D1nTDu4','CgfPCIbYzxe','suq6ia','igLUDgvUDgK','ywLUzxiGB3i','AxmGC2fMzxq','CuLKpq','CgXHy2uIihq','werhuK4','DgvZDa','reT2s1y','D2f5twvZC2e','Euzvu1q','zw50','y2uGD2fZigK','tNfquee','svres2O','sgrSAgO','Dg9YycbMB3i','DgX3wu4','DgvKoYbJBg8','y2vZuMvJzw4','Es11CMW','zxjLBNqGC2u','u2H6rui','CYb1BNnLDc4','D2f5uMvXDwu','B2rLihjLzNi','B2zM','EvLcB2C','Aw5Jzq','ELzztMu','yxqG','BMvJDeHHBMq','cLr5Cgu9C2K','yxj0zwqGDgG','DMLJzsbPBNm','lxyG','zxHWAxjLC0e','y291BNq','C2nYAxb0uge','tdOG','DgfPBhmSig8','Aw5ZDgfUy2u','sgXIz1u','B3iGCgfZC3C','yxjNDG','ugfPCIbYzwC','y2yTBwL0AwC','EfPur0u','B2rLiciKu0m','ihrVA2vUig8','t1bftG','zgLZy29UBMu','v0vgq1O','zxDHEvjLywm','mc4WlJaUma','AguGyNjPzgC','ktOGq2XVDwq','EwvZ','igHHCYbIB3q','qKnytxm','BMvdBMK','C3rHCNrZv2K','zhjVCfn0ywW','tePMvfe','wwniuwS','nJmZnJa5ou1PAerMBq','zxnO','tfHSC3m','CMvXDwLYzwq','rMD1DMm','BM5Ly3qGyxq','pLn0yw5Kyxi','A2LUza','q3vYCMvUDfy','z2v0cG','z2f0zxDHEuK','Axjszxf1zxm','yxbWBgLJyxq','ls1QC29Uxq','Bg9JywXhyxq','BIbMywLSzwq','DgvKqxrnCW','A2v5pKTLzxa','qw5VDgHLCIa','CxjjBwfNzva','uKW6ia','BcbPCYbUB3q','ygnSyxDRzxq','yxLnzxnZywC','Cgf5Bg9Hza','C3rHDgu','CMvNAxn0zxi','cGPBsw5ZDge','A2v5CW','u0PXu00','yxrPB24U','uNnSqwK','ignVBMzPzYa','Aw5Ntg9Nz2u','z2HPEgu','B3iGmwqU','l0rurcbqteK','BgLZDa','C3rPBgWGCNu','wNLrB3C','DgLTzw91Da','uufKvfC','Bg9N','yxrLD2f5ihi','AM9PBG','wgXZtwK','Aw1Hz2uVCg4','r3HXqMu','pg5VBMu+','ls1QC29U','CNjVCKXVzW','CKf6D0m','ywnRihrVia','zgLZywjSzq','BM9KzvbHDgG','lw5HBwuGpgq','y2XVC2vhyxq','s01rt3C','yxrLD2f5lxu','zwqGka','y3rPDMf0Aw8','Dd4k','vgHPCYbICMK','zgfYEvbLBMq','quTUD3G','AgfSBgvUz2u','C3rKAw8','DeLUDgvYDMe','zxjYB3jnzxm','pL0GwY0TCMu','AxnjBNrLz2u','CgvUzgLUz1a','yxKGCMvJB24','EgP3weO','C2vYDMLJzu0','C2vUzfrVr2e','zxvLzcb1BNq','ihvUy2HHBMC','ig5VBMnLuhi','zwnHDxnLigW','ihn0B3aU','l2fJy2vZCY0','B25Jzq','ugLlreO','l3yXl3bHAxi','zxnLDciGyMu','ywn0Aw9U','qxzrwvi','s3b6BvG','BNvTyMvY','q29UzMLNoIa','D2XHBG','Bhvgwhu','yw5KC2HHA2u','Aw5NpG','zcbIywnRz3i','qwnJzxnZigm','C3rHDhvZ','z3bTA0K','CxvLC3q','Eu1Z','yNjPzgDLihi','Aw5N','AgfUzgXLr2e','C3LZDgvTzc0','iffsigLUihq','ls1XCI1MAwW','igrPCJOG','sK5TBeC','nLL3tNzyEG','Cgf0Ad5DifS','igzHAwXLzca','zxHPDcaXmJC','CMuGCMvJEwm','DLrkzwG','CMvWBgfJzq','zwqU','zxDHEsbTzxm','zgvMyxvSDeC','BejMA2S','u2rgueW','CIbWyxnZD28','zwjVB3qU','Dc1ICMLKz2u','igzHBgXIywm','twTTzu8','zwzYzxnOzwq','sd0I','BgfZDevYCM8','ywLYzwqGD2K','CdOVl3D3DY4','AxnbCNjHEq','AezOC0G','DgvKoYbNyxq','zxHJBhvKzva','iYbJBgf3A2u','r05JEhK','iIrot0rfx1a','ktOG','lJaUmc4XoG','Aej5sum','zcbXDwv1zwq','B25Uzwn0','vwvMte8','ignVBMzPzZO','AwWGz2f0zxC','idi+pIa','qxv0Ae1Vzgu','ChjVDg9JB2W','Aw5gBgLNAhq','zhjVChbLzca','igXVywqGDgG','B24GzMfPBgu','C2nVCMu','B2jZzxj2zuC','DfrPBwvY','ywX1zsaI','B25mB2C','CwjZzvm','Aw5KzxHpzG','t2vtu3K','C3rZ','yMfJA2DYB3u','q2XHD2TLDca','ignYB250ywi','y29UC3rYDwm','EvnYuK4','s29yu3G','BwnbChu','z1bHAxjszxe','vvnwsNa','ica8yxjYyxK','Ag9ZDg5HBwu','yMXLigr1CMK','zM91BMq','zt1WyxnZD28','lIbsDw4GCge','A2LUz0rPCMu','ihbHAxiIigy','zs5JBgK','ywDLBNrZ','CNvLlZ4kica','ywXSEs4Gvxm','D2z1z1O','B3qGC3vWCg8','BYb0ywTLig8','A2v0ig9Uihi','ve5JzMW','tg5sD1C','pL0GwY0TBgK','r2r2Dem','sw5ZDgfUy2u','CM9Wzxj0EuW','C3LZDgvTy3q','B3b0Aw9UCW','rxHWAxjLCZO','lMXVzW','DhvU','rKfqt28','whD2uwy','yLvTEKK','Aw5JBhvKzuu','ihjLyxnVBJ0','DgvZigfYzsa','mxW0Fdv8mhW','D2LKDgG','y29UzMLNrgK','zM9YBsbMB3i','uefjuKLor18','sfngv0u','DejHC2vezwW','Bgf3A2v0iha','CMvJDxjZAxy','Dgv3yxLdB24','zMXHDe1HCa','ruPWrKi','lwnSAq','BwvZC2fNzq','cIaGpc9HCNi','zg9JA2vY','ihPLCM87igm','C3rHBguGCxu','zcbMB3iGzNi','y29UDhjVBf8','y3jVBNrHyG','AxiGzMLYC3q','igvYCM9Ypq','vNPHEfm','ALPWEgG','zM9YD2fYzgu','C3rHBgXHDgK','C3rYAw5N','y2XLyxi','igfSC28GAgK','phn0CMLUzZ4','zMXVB3i','mci+cJXKAwm','pGOGidXRzxK','CMvTB3rLsxa','igvYCM9Yq28','y0fusgu','yMLUyxj5','BMTzze0','BwLSEq','A1D6Au4','yMfZzty0','u2vYDMLJztO','DMjVEa','yxrLD2f5uMu','zxqGAw5ZDge','ihnPBMnLq2W','DxPguNK','y29UzMLNuge','lY9OB3n0oNa','DgG8l2TLEt4','yxv0AcbWyxq','C3rHCNrPBMC','Egneu2S','CMqGyMvMB3i','qvriiIbDoYa','tM90tKO','DcbHienSB3u','ihrVDgfSpq','D2fZig5VDca','CNr1CcbYzwC','zxDHEq','Ag9ZDdPWB3i','B3bLBG','sfvkBKC','CMvWBgfJzue','CM9Szq','t1bftKnmqvC','z2v0','ignVBM5Ly3q','sK55Dwq','tevowui','tg9JywWGt3a','lI4VCgfJA2e','CxvLC3rjzd0','wwHtAMu','q0Xpu0ve','iurpq1rzueu','BLDWuve','zxf1zxn0CW','DxrMoa','AgfRztSGCxu','yxrLD2f5twu','Aw5JBhvKzxm','yxbZAg90','B3rOzxjuzxG','qNjPzgDL','DgHLienSyxC','ifSTlwzVCMm','BMfTzq','BKnSyxCGChi','BMCUieXLzNq','w3n0yxr1C10','AxnTyxrJAa','CNzPy2uGAw4','DxjSpL0GwY0','su1IsgO','yxrLD2f5igK','yxnL','BwfUzfn0yxi','z2v0u25HChm','zxDHEsa','C3rYEq','rKLQDLG','y29Uy2f0','Axnoyu4','CM91BMqGC2u','whjkEei','z2f0zxDHEsa','Bg8W','CMvQzwn0zwq','yxv0Ae1Vzgu','Ae11B24','y3jLyxrLzee','zxvLzcbNyxq','ls1SB2nHBa','BMvZidWYmda','lxnLCNzPy2u','DMvYC2LVBG','igj1DcbZDg8','zYbruI4','C293DM8','AxnJB25Uzwm','C3vJy2vLzgu','DgHLigjYAwq','luTjteW','yNzPs3y','B25Uzwn0Aw4','Dgv3yxK','Bgf1BMnOywC','DwfSBhKU','DgvK','y2XVC2uGyM8','Aw5ZDgfSBa','BMrnCZ0','tu5ps2W','ls1SAw5LCW','D3m6','igvSyxbZzwq','CfDbtue','ihjLCuLKpq','CMv0','pGO8l3bSAxm','B2nRzxq','sxnpuhe','rg9pDwC','wvv2vfK','C3rVChbLza','AMLVzgi','zwXHEq','yNjPzgDLlwm','C2vUza','te1twLG','q0Xbv0rct1q','ig1LDgHVzd0','CxvLCNK','z2f0zxDHEvm','v2LUzg93C1W','BNqGzgvTyw4','u0Lhvevstq','B3j0','DxbKyxrLu24','Dw5SB2fK','igjYB3DZzxi','zguGpI9Kzxy','ihjLz2LZDhi','z2f0zxDHEvi','yxnZD29Yza','B3vUzcbMB3i','uMXRANi','tgLUDxGGC2u','tg9NoIa','vxjS','z2f0zxDHEvq','AM9mzLa','BgWIig9Yici','AwrLBNrPDhK','ugfPCMLUzYa','z2vYihrVihi','Dw50','zMzLCMvUDca','B3jPz2LU','DgGGiI0TCMu','BgXQvgq','l2TLEt4kica','sMP5BLu','zcbHBMqGBM8','mNfgzxf3AG','zKLxtMK','ifSTlwPZB24','ihrLEhq9','zgvJAxnPB24','vLbozg4','CMvSyxLbDhq','mJmYmJCWrvfIqxDf','wY0TANnVBL0','zwqGy29Kzt0','x0DbvevxqvK','DwvZDcbWzw4','Avn6tKK','Aw5ZDgfSBgu','DxnLCM5HBwu','z2f0zxDHEum','Aw5Nr2f0zxC','icbLEgvJig4','A2TurKK','DKffEuu','DgfSBgf0Aw8','zxnZig1HBMe','ChbLBMq6','Curvrwi','w3bHAxiTCMu','AMPbyvu','BgfIzwW','igj1DcbNyxq','lMnSyxDRzxq','Dw5Cq2XHD2S','zMfTAwX5','Dxr1BG','zxjLCxvPC2K','C2vYDMLJzva','Dw5HDMfPBge','r3nwt3G','uKvrvuLsruq','y2XPzw50x2m','zxHLy1bHDgG','sw5ZDgfSBgu','ls11CMW','ze96s0C','EML4C0u','ru4IicjODhq','AxngAw5PDgu','lwf4','ywXYzwfKEsa','qhjLyM9VDca','y1rItMC','CgfPCIbSB2m','igf0ia','zxnLBNq9','C2vYDMvYvxi','zhKGCNvUBMK','u2vYDMvYifu','igf1DgHgAwu','CNvUiIbTyw4','jMX0oW','CMvXDwvZDca','pLbYB2DYyw0','pc9ZDhjPBMC','y29UBMvJDca','sgvjr3K','qMPoq3y','y2XLyxjjBKy','zw1WDa','ChvZAfbLBMq','DgHLBG','AwyGwYaTEca','u3rHCNrLza','CMvZ','yw5SEs4','EvbNyvG','BwfPBG','zxjYB3i','vLr6zuG','z3z3t00','AxjPBMCU','BgfZDfjLBge','icbLEgvJici','r1bLv20','yw5KihbHC3m','Dw5Kyxj5ihi','B25Uzwn0u3q','zgfLBw9Ulxi','BM90igjLihm','BMuUDgfYz2u','BNqGDgHHDca','zxHPDenVzgu','DgvKihbSyxq','zxK+uNvUqxq','BM9VCa','Bwf0y2G','vLjTzue','y2XHD2TLDc0','C3bVBNnL','B3jRlw9UBgK','zxHWB3j0ifa','BgLUDxGTy3i','zMzty00','AhHrqLq','ig5HBwu9','Esb0B2TLBIa','cLjLC3rHCNq','zg9JDg9Y','zwXVywq','A2jrA3K','t3bLBKnSyxC','phvUA25VD24','C2L6zq','tu1iA3y','AwrL','B2jOs08','rxjYB3iGtg8','DgfZA2TPBgW','BMqGlxyGBM8','zw5ZDxjLr2e','C29Tzq','CwrUALe','yxLnCW','y2HHBMDLzc4','CM9JzxnZzxm','mNWZ','y29Kzq','zgvMyxvSDa','DguGyNjPzgC','vhzUB1e','BMqGC2vYDMK','tK9ux1bbsvi','u2vYDMLJzsa','t0fnt3u','AxnWBgf5tMe','z2vUzxjHDgu','yxrLza','Ahr0Chm6lY8','Eg5Iz2e','DxjS','v0vSv0m','EeviAve','BMCGy29UBMu','idXWyxrOpL0','veGIiciKu0m','B2DiweK','ywLYlNjLAMu','BgfZDca8mM0','ihbHAxjGigi','C3rVBsbNyxq','vgHPCYbOB3m','C2nVBM5Ly3q','zgv2AwnLswq','zwq9','C3rVCeHLyxi','Bgf1BMnOy3q','BwvKAwe','zxf1zxn0swq','BgLNAhrdB24','Dgv4Da','BNLdC1O','ig1HBMfNzxi','yxbWBguUy28','DMLJzq','zw5nCZ0','CMvHzhLtDge','yvjIuwm','zfvYBa','zgzSyxjLigm','DhjHDgLVBI4','ChvZAa','zxj2AwnLige','igXV','ywrK','D2LUmZi','yxKGCxvLDwu','icaGidXZDhi','zff4sKe','zxjYB3jmB2C','Dgv3yxLnzxm','CMLWDcbWyxq','DgfSBgvKigi','sxfruhm','zxj2AwnLlMO','CMvNAxn0CNK','BM9Uy2u','CLPhweq','CMvXDwvZDeK','twvQywu','zwm9mGPxB3i','ienmssbZzxi','C2vHCMnOuge','D2f5','C0f0','zwnVBM5Ly3q','zw50CMLLCW','C29U','z3rO','zwrcEt1Kzwy','qu5gyLm','EsbYDw5UAw4','lMrLDG','CMvN','DgfPBhnJywW','vLvSB3m','AYbPCYbHDMe','Bw9Kzq','A2LSBa','y2XLyxjuAw0','BMC+','Bwf4','u2vYDMLJzv0','DgfW','A051svu','ihPLCM87igC','DgfYDgvKige','A014Cg8','C2GGzhjVCha','Ahr0CdOVlW','sMH3sMG','AMriC2e','DuHwA1G','CMvSyxLtB2m','qNrQBuy','lJaIigvUy28','zgu9','yxbWCM92zwq','ihbHC3n3B3i','uKvhx1nA','CM9TigeGzgK','t0PSu1e','lIbsDw4GiMm','BgrZpq','AwDUB3jL','BNn0ywXSzwq','ywnJzxnZq28','zhnisum','qxrnCW','ruvlteS','y2XPzw50x2q','DMv0Aa','y2fmCNO','zxHWBgLJAxq','rvPvy0i','DKD1wKe','q2XLyxjLzca','Dg9Rzw4','C2nOzwr1Bgu','zgvfEhbPCMu','zgfYD2LU','A2vtDgfYDgu','uNvUigbJBge','CMvJzw50','Eu9Wzw4','z2v0vgLTzq','CM9YoIa','ywnOywjSzsa','qMjyBvq','x1bbu1nxt1i','lNbSAxn0','C2vUzeDHDgu','ExbHC3mGDgG','tw9IAwXLiem','BwHuAxa','BwvKAwfeAxi','uMvTB3zLzca','uhvkEum','C3rHCNrLzca','zgvK','C25HChnOB3q','u3DUqvK','CMvZDgfYDa','BMvJDhm','CMvHy2HHyMW','qxzAzMe','Axn0zxi','tgLICMfYEq','Bg9NCYbBls0','y2HHBgXLBMC','DfrPBwvVDxq','zxDHEsbYzw0','seTdvvXtB2y','ls1Syxn0','B2S9zMfSC2u','CMvX','igvYCM9Ytwu','Dw5PBNn0ywW','zZOG','CMvMCMvZAc0','CMvZzxq','BM90ihbHAxi','AxmGBg9JywW','rM91BMq','BgvUz3rO','yw5Ktxm9','zxK+cIaGphq','A2v0','vg9YwMe','BwfYA0rLDMK','igjPBMfYEt0','CgLWzq','vvjmoIa','Bgf5twvZC2e','CMnLycbVBMW','Dw5Yzwy','C3rHCNrizwe','vwzctLy','DgvYBwLUyxq','BNqGq0Xjihi','rw1WDhKGCMu','Ce9RtvC','BujmzhC','zwvKzwq','igHHBMrZAge','CNrIzwf0','ywXSzw5Nzsa','C2v0','l251BgWGmJ4','B2X2zwqGCMu','Cgf0Ag5HBwu','r2f0zxDHEtO','zvbdyM0','y3jyq0q','qNjPzgDLige','ugf0Aa','y2uGCMvNAxm','zw50CW','DhvfqLy','zsbdteKkqwy','zwPOze8','uviGAw1Hz2u','v2fYBKrLBge','BMv0D29YAY0','ig1VCMuGzgu','CM9U','ywLYlMfWChi','y2XVC2u','q3fStNO','rgv0zwn0zwq','AerfuuS','zM91BMqGDw4','yxj0ienSyxC','zsbJB3vSzca','x1rps0vo','B250ywLUzxi','DMfSDwvZ','rxjYB3iGBg8','twvKAwfeAxi','zvjlBeq','D3m6lY8','iejYAwrNzsa','rfjeEuq','Eefrreu','reXnELa','ifjLDhj5igy','rgPiA0y','CMvQzwn0uge','Bg9Nugf0Aa','zvros3G','uMvZDgfYDgu','zNjVBq','BMvJDgLUzW','vfnYrM4','CvL2DfO','y29UzMLN','AxLJBvK','BxbSzqPfEgu','AwyGy29TBwe','wNjvEhC','Ag9ZDa','ls11C2vY','kYKRja','BwLU','u3rYAw5N','BIWGyw5Kihq','q29UzMLNrM8','CgXHDgzVCM0','C3bVBNnLigi','yxjNzxqkcLS','DMLJzsbMB3i','zxjYB3jdB2q','DwvZDa','t29KCvq','zgLUzZ0Ivvq','v3zVzxq','BgLUzxm','igzVCIbNyxq','y29UBMvJDc4','Df9YzwXHEv8','CMvSyxKGy28','Aw9Ul2PZB24','x19JBgf3A2u','reLYvLO','y3jLyxrLv2u','wevPCe8','tM8GBwf0y2G','CYbTAxnZAw4','rwfxvvy','AxnhyxrLD2e','ywrKCMvZCW','qxjNDw1LBNq','AM9wt1O','CMvXlq','Bs9everZl1a','zgLUz0DHDgu','l1bjra','D2LUzg93C0G','y2XVC2vKoIa','y2XPzw50q28','DhLWzq','Dw5ZDxbWB3i','zw1HAw5Zig4','C2rUwg4','AhPOBK8','Ac5TB2rLigK','DhDHCMvCtwK','tuPtANm','zsbIywnRz3i','DcbKB2vZig4','BIaIy2XHD2S','DgjLyxq','ls1NyxrLD2e','ig1PC3nPBMC','Dg9mB2nHBgu','sfrQAgW','CK5JEwy','yNjPzgDLlq','Bg9ZzujVDw4','zevYCM9Yuge','yNjPzgDL','ENzdvhe','z2f0zxDHEva','DvjZs1u','AgfUzhnOywS','DxbKyxrLzee','lvrfuK0','tM90ihbHAxi','C3rHCNrLzee','zw1HBMq','CMvZCY4Guge','C2fNzxmGyMu','sLrAA1q','vKLnvNu','B3vYignVBNq','tg9HzdWVA2u','pwfSD2f5CWO','wKLhreO','EvrjtM4','ztOG','te5ZDw0','C2vYDMLJzq','B3bWzwqGDg8','AxncDwzMzxi','igzYzxnOigq','sMjzq3O','CgvU','CgvUzgLUz0C','y2XPzw50rgu','s3PWuxG','u3rHCNrPBMC','jMD0oW','C2HHA2vZ','CZWVA2v5pGO','yw50ihrVigi','BhjLywr5iha','ywnJzxb0','rNrtEuO','CMvSyxLvCMW','CMfTCW','r2f0zxDHEsa','vw5ZDxbWB3i','zw5dBgf3ieC','Axn0lteUmc4','Bg9JywW','zw5JB2rPBMC','zfbltuC','u0nssvbux1a','lM9Wzw5JBge','s2TttKO','yLnVy2TLDa','DgvTChq9','AwfZtg4','vKncB3e','zMLNDxjLzcW','Ahr0Chm6','CMvSyxKGCMu','CMLUzYb3Axq','zxjYB3jdB3i','BM90igLUC3q','yuHZuwi','z2f0zxDHEvu','y29UzMLNoIa','BMqU','cLnJyw4GDgG','zMvfExa','AwmGzMfSBgi','yxrPyYbZDge','EsbWywLYAw4','Dg90ywW','ihjLCxvPCMu','BgKUBg9N','BgfZDfnLzw4','BYbYzxnVBhy','zxnOignSAwu','zsbYDw50Aw0','CMLUzZ4','uurKD3y','jYiNiIC','rKfyrge','EsbJAgvJAY4','CNvUBMLUzW','yvz4Evq','ALvTqxa','DxzKALi','cIaGphn0CMK','BgKTzxjYB3i','lMPZB24','B3vUzcbZzxi','C2vYDMLJzvi','ywX1zxmGBgK','rgPLs2y','B2S9Dhj1zq','igDHDgv3yxK','jNf1B3q7','zxnVBhzLza','BwfYA1bHAxi','zxjZAw9Uxfi','CYbUB3qGCMu','Cgf0AevUDG','DM1Uzxq','DurZA2C','ywLcDey','kcGOlISPkYK','uKXPz0G','EufJDgL2Axq','BwuGBM90igy','Dg9mB3DLCKm','B25HBgX5ihC','Dd4kica8A2u','jMfWB3m7','B25Uzwn0zwq','z2uUANnVBG','AxmTywn0Axy','B3jKks4','BwfW','CgfYyw1Z','Bu5cyxm','C3rVCa','Cgf0AdOG','rxvuB0y','yxr0zw1WDgu','CgLK','sciGCNvUic0','C3nHz2vZ'];_0x2cc1=function(){return _0x1b0780;};return _0x2cc1();}function getServicePaths(){const _0x8368ff={_0x641c0f:0x12e},_0x4e0dfb={_0x153f9a:0x226},_0x23b25a={'kbQky':function(_0x1e9ab9,_0x5863e3){return _0x1e9ab9(_0x5863e3);}};function _0x1cacca(_0x1235f3,_0x4ce169){return _0xb2a5b9(_0x1235f3,_0x4ce169-_0x4e0dfb._0x153f9a);}return{'logPath':SERVICE_LOG_PATH,'errorLogPath':SERVICE_ERROR_LOG_PATH,'servicePath':_0x23b25a[_0x1cacca(_0x8368ff._0x641c0f,0x1fc)](getServicePath,detectServiceMethod())};}function buildMacosPlist(_0x3906cd,_0x343231,_0x128e08){const _0x2cebb4={_0x39acda:0x1dc,_0x4d0c9b:0x409,_0x497f9d:0x27b,_0x4c3260:0x168,_0x498471:0x295,_0x5b93e1:0x64,_0x3f0f61:0x6f,_0x40f32b:0x2b3,_0x19b359:0x2d4,_0x1c51e4:0x3f,_0x56534c:0x64,_0x3344b8:0x178,_0x3aa7d2:0x3f8,_0x4edc43:0xfc,_0x5c1f74:0x1ed,_0x5607eb:0x1b,_0x57e50a:0x10a,_0x4dd844:0x73,_0x3a29b0:0x107,_0x208cc9:0x100,_0x145967:0x32,_0x43c37c:0x120,_0x22a1cd:0x2fd,_0x424639:0x15e,_0x33da25:0x149,_0x5780e5:0x52,_0x8f1164:0x33b,_0x53fbe8:0x451,_0x214281:0x77,_0x1187a9:0x402,_0x1d5785:0x1bc,_0x41ac8d:0x17e,_0x3fb9a4:0xb7,_0x566ee5:0x2d3,_0x2b3afa:0x22c,_0x28bbeb:0x31,_0xed3e18:0x4d,_0x33b473:0x170,_0x5409c3:0x2fe,_0x4868d9:0x61,_0x1349e5:0x181,_0x579b8b:0x15d},_0x10540a={_0x1f56e2:0x2e},_0x51fe69={_0x3c0114:0x19a};function _0xf92f67(_0x3ec94f,_0x559745){return _0x3a90bd(_0x559745,_0x3ec94f-_0x51fe69._0x3c0114);}const _0x1bc69f={'LENYB':function(_0x5cf033,_0x39b7ad){return _0x5cf033(_0x39b7ad);}},_0x979f67=_0x3906cd[_0x45a213(0x168,0x1b0)](_0x4ceaa5=>_0xf92f67(0x1ac,0x2a1)+_0xf92f67(-0x2a,-0x6d)+escapeXml(_0x4ceaa5)+(_0xf92f67(0x13b,0x352)+'>'))[_0x45a213(-0x44d,-0x1c8)]('\x0a');function _0x45a213(_0x1c5897,_0x34e661){return _0x3a90bd(_0x1c5897,_0x34e661-_0x10540a._0x1f56e2);}return'<?xml\x20ve'+'rsion=\x221'+_0xf92f67(_0x2cebb4._0x39acda,_0x2cebb4._0x4d0c9b)+_0xf92f67(_0x2cebb4._0x497f9d,0x10c)+_0x45a213(_0x2cebb4._0x4c3260,_0x2cebb4._0x498471)+_0xf92f67(0x91,-0x116)+'\x20plist\x20P'+'UBLIC\x20\x22-'+'//Apple/'+_0xf92f67(-_0x2cebb4._0x5b93e1,-0x98)+_0x45a213(_0x2cebb4._0x3f0f61,0x2b9)+_0x45a213(0xda,-0x42)+_0x45a213(-0x34c,-0x172)+_0xf92f67(0x19e,_0x2cebb4._0x40f32b)+_0xf92f67(0x28f,0x25b)+_0xf92f67(0x38,0x1c8)+_0xf92f67(_0x2cebb4._0x19b359,_0x2cebb4._0x1c51e4)+'dtd\x22>\x0a<p'+'list\x20ver'+'sion=\x221.'+_0xf92f67(_0x2cebb4._0x56534c,_0x2cebb4._0x3344b8)+_0x45a213(-0x22,0x1aa)+_0xf92f67(0x389,_0x2cebb4._0x3aa7d2)+_0xf92f67(_0x2cebb4._0x4edc43,_0x2cebb4._0x5c1f74)+_0x45a213(_0x2cebb4._0x5607eb,-_0x2cebb4._0x57e50a)+SERVICE_LABEL+(_0x45a213(-0x209,-0x31)+_0x45a213(_0x2cebb4._0x4dd844,-_0x2cebb4._0x3a29b0)+_0x45a213(-_0x2cebb4._0x208cc9,-_0x2cebb4._0x145967)+_0x45a213(-0xd1,_0x2cebb4._0x43c37c)+_0x45a213(_0x2cebb4._0x22a1cd,_0x2cebb4._0x424639)+_0x45a213(-0x314,-_0x2cebb4._0x33da25)+'>\x0a')+_0x979f67+(_0xf92f67(_0x2cebb4._0x5780e5,0x269)+_0xf92f67(_0x2cebb4._0x8f1164,_0x2cebb4._0x53fbe8)+_0xf92f67(0x159,-0x14b)+_0x45a213(-0x142,0x14c)+'y>\x0a\x20\x20<tr'+_0xf92f67(0x457,0x48d)+_0xf92f67(-_0x2cebb4._0x214281,0x195)+_0x45a213(_0x2cebb4._0x1187a9,_0x2cebb4._0x1d5785)+_0x45a213(_0x2cebb4._0x41ac8d,_0x2cebb4._0x3fb9a4)+_0x45a213(-_0x2cebb4._0x566ee5,-0x13f)+'<key>Sta'+'ndardOut'+'Path</ke'+'y>\x0a\x20\x20<st'+_0x45a213(_0x2cebb4._0x2b3afa,0x189))+escapeXml(_0x343231)+(_0x45a213(0x261,-_0x2cebb4._0x28bbeb)+_0xf92f67(0x65,0x219)+_0xf92f67(-0x82,_0x2cebb4._0xed3e18)+_0xf92f67(0x2a8,_0x2cebb4._0x33b473)+_0xf92f67(0x76,0xbf)+_0xf92f67(_0x2cebb4._0x5409c3,_0x2cebb4._0x2b3afa)+_0x45a213(0x22c,_0x2cebb4._0x4868d9))+_0x1bc69f[_0xf92f67(0x8b,-_0x2cebb4._0x1349e5)](escapeXml,_0x128e08)+('</string'+'>\x0a</dict'+_0xf92f67(0xd2,0x171)+_0xf92f67(-0x4b,_0x2cebb4._0x579b8b));}function buildLinuxSystemdUnit(_0x2556b5,_0x1bb17c,_0x12d897){const _0x4e739c={_0x1dcf66:0x45c,_0x10a741:0x5d5,_0x1b5d2c:0x5d2,_0x608a8d:0x640,_0x3db1a7:0x3f3,_0x5281f2:0x44f,_0xe1c552:0x245,_0x4528ea:0x30e,_0x382675:0x418,_0x1181f7:0x19d,_0xe04265:0x52e,_0x59fac9:0x3f7,_0x24fa40:0x3cb,_0x2030cf:0x217,_0x531397:0x384,_0x43b60a:0x106,_0x330e9e:0x409,_0x44b19a:0x301,_0x39bb71:0x3cf,_0x11af22:0x201,_0x1e241b:0x71,_0x1e2372:0x408,_0x142c88:0x525,_0x5e30b3:0x471,_0x3a3205:0x3e3,_0x4a23a3:0x603,_0x44e9c4:0x6b0,_0x5037d2:0x23c,_0x38d299:0x1bc,_0x552574:0x450,_0x4e9ae4:0x4c7,_0x5e3923:0x22c,_0x177c56:0x130},_0x2c4c07={_0x3d45ec:0x1db},_0x3888b8={_0x438e26:0x342},_0x1c960a={'HMaWk':function(_0x4d30c1,_0x45cb67){return _0x4d30c1(_0x45cb67);}};function _0x2d2635(_0xdc467e,_0x4eb169){return _0xb2a5b9(_0xdc467e,_0x4eb169-_0x3888b8._0x438e26);}function _0x216990(_0x1b2479,_0x18489b){return _0xb2a5b9(_0x1b2479,_0x18489b-_0x2c4c07._0x3d45ec);}const _0x15da14=_0x2556b5['map'](escapeSystemdArg)[_0x216990(0x114,-0x14)]('\x20');return'[Unit]\x0aD'+_0x216990(_0x4e739c._0x1dcf66,0x471)+_0x2d2635(_0x4e739c._0x10a741,_0x4e739c._0x1b5d2c)+'et\x20Bridg'+_0x2d2635(_0x4e739c._0x608a8d,_0x4e739c._0x3db1a7)+_0x216990(0x438,_0x4e739c._0x5281f2)+_0x2d2635(_0x4e739c._0xe1c552,_0x4e739c._0x4528ea)+_0x216990(_0x4e739c._0x382675,_0x4e739c._0x1181f7)+_0x2d2635(0x5d6,_0x4e739c._0xe04265)+_0x2d2635(0x374,_0x4e739c._0x59fac9)+'online.t'+_0x216990(_0x4e739c._0x24fa40,0x2be)+_0x216990(0x421,_0x4e739c._0x2030cf)+_0x2d2635(_0x4e739c._0x531397,_0x4e739c._0x43b60a)+_0x2d2635(0x39d,0x419)+_0x2d2635(0x6c6,0x592)+_0x15da14+(_0x2d2635(_0x4e739c._0x330e9e,0x315)+_0x216990(0x9b,_0x4e739c._0x44b19a)+'RestartS'+_0x216990(_0x4e739c._0x39bb71,_0x4e739c._0x11af22)+_0x216990(-0x15a,_0x4e739c._0x1e241b)+'ctory=')+_0x1c960a[_0x2d2635(_0x4e739c._0x1e2372,_0x4e739c._0x142c88)](escapeSystemdArg,SERVICE_DIR)+('\x0aStandar'+_0x216990(_0x4e739c._0x5e30b3,_0x4e739c._0x3a3205)+_0x2d2635(_0x4e739c._0x4a23a3,0x4fd))+_0x1bb17c+(_0x216990(_0x4e739c._0x44e9c4,0x408)+'dError=a'+_0x2d2635(0xfb,0x2c4))+_0x12d897+(_0x2d2635(_0x4e739c._0x5037d2,0x142)+_0x216990(_0x4e739c._0x38d299,_0x4e739c._0x552574)+_0x2d2635(_0x4e739c._0x4e9ae4,0x371)+'ault.tar'+_0x2d2635(_0x4e739c._0x5e3923,_0x4e739c._0x177c56));}function buildLinuxCronEntry(_0x504536,_0x5230bd,_0x52cb69){const _0x1fb4c6={_0x34dc54:0x60d,_0x363f84:0x384,_0x4fa9ae:0x2b8},_0xd74af9={_0x20dbe5:0x194},_0xdb23cc={_0x1b6460:0x61a};function _0x37b6f0(_0x3d8b11,_0x4c93f8){return _0xb2a5b9(_0x3d8b11,_0x4c93f8-_0xdb23cc._0x1b6460);}function _0xa0a4da(_0x2f2bc4,_0x1dd5f7){return _0xb2a5b9(_0x2f2bc4,_0x1dd5f7-_0xd74af9._0x20dbe5);}const _0x5d9527=_0x504536[_0xa0a4da(0x517,0x31d)](escapeShellWord)['join']('\x20');return _0xa0a4da(0x1a9,0x12f)+_0x5d9527+_0xa0a4da(_0x1fb4c6._0x34dc54,_0x1fb4c6._0x363f84)+escapeShellWord(_0x5230bd)+_0x37b6f0(_0x1fb4c6._0x4fa9ae,0x491)+escapeShellWord(_0x52cb69)+'\x20'+LINUX_CRON_MARKER;}function getServicePath(_0x43b2b8){const _0xb155db={_0x33fe0d:0x6a1,_0xe21c50:0x6c5,_0x2afc0b:0x7e9,_0x5d78e0:0x92c,_0x20041b:0x70,_0x3be8d4:0x8f2,_0x4b8f7c:0x598,_0xbd637a:0x5d3,_0x1ba52e:0x87d,_0x5ddb32:0x1eb,_0xb93c7:0x264,_0x7610b2:0x4c4,_0x2f2703:0x57f,_0x1b721b:0x391},_0x474875={_0x3dd34e:0x64a},_0x41eb55={_0x10921c:0x296};function _0x5c267f(_0x5625a1,_0x31c9fe){return _0xb2a5b9(_0x31c9fe,_0x5625a1-_0x41eb55._0x10921c);}const _0x19badb={};_0x19badb['xjwXJ']='linux',_0x19badb[_0x3269a0(_0xb155db._0x33fe0d,_0xb155db._0xe21c50)]=function(_0x243459,_0x58dcfe){return _0x243459===_0x58dcfe;};function _0x3269a0(_0x61dc9c,_0x154a71){return _0xb2a5b9(_0x61dc9c,_0x154a71-_0x474875._0x3dd34e);}_0x19badb[_0x3269a0(_0xb155db._0x2afc0b,_0xb155db._0x5d78e0)]='win32',_0x19badb[_0x5c267f(0xdd,-0x16f)]=_0x5c267f(0x318,_0xb155db._0x20041b)+_0x3269a0(0x924,0x752)+_0x3269a0(0xb13,_0xb155db._0x3be8d4)+_0x3269a0(0x7a8,_0xb155db._0x4b8f7c)+'CurrentV'+_0x3269a0(0x86e,0x7c1)+_0x3269a0(0x725,_0xb155db._0xbd637a)+'etBridge'+_0x3269a0(0x86d,_0xb155db._0x1ba52e);const _0x40fd8b=_0x19badb;switch(process['platform']){case _0x5c267f(0x2f8,0x4b7):return MACOS_PLIST_PATH;case _0x40fd8b[_0x3269a0(0x3c0,0x478)]:return _0x40fd8b[_0x5c267f(0x311,_0xb155db._0x5ddb32)](_0x43b2b8,_0x5c267f(_0xb155db._0xb93c7,0x271)+_0x5c267f(_0xb155db._0x7610b2,_0xb155db._0x2f2703))?LINUX_CRON_RECORD_PATH:LINUX_SERVICE_PATH;case _0x40fd8b[_0x5c267f(0x578,0x415)]:return _0x40fd8b[_0x3269a0(_0xb155db._0x1b721b,0x491)];default:return'';}}function detectServiceMethod(){const _0x368eb5={_0x28768b:0x822,_0x109981:0x50c,_0x39be54:0x5ed,_0x52213f:0x5cb,_0x5b320c:0x4ea,_0x15a9a2:0x336,_0x3f5305:0x880,_0x51276a:0x3f3,_0x461ca0:0x665,_0x11c9f5:0x21c,_0x4c0c53:0x6f6,_0x2cf2aa:0x3d7,_0x56982b:0x409,_0x2e5778:0x67b,_0x50fa4a:0x40c,_0x117b42:0x5ae},_0x4a0b88={_0x4c2654:0x69e};function _0x323f2a(_0x5a44ed,_0xef46d2){return _0x3a90bd(_0xef46d2,_0x5a44ed-0x410);}const _0x559dc3={'EZUcB':_0x248801(0x7cc,0x6f9),'ANFbS':function(_0x4c87ce,_0x2af51c){return _0x4c87ce(_0x2af51c);},'IqQPs':'systemd-'+_0x323f2a(0x6f6,_0x368eb5._0x28768b),'ffxPJ':'crontab','UgaJp':_0x323f2a(_0x368eb5._0x109981,0x631)+_0x248801(_0x368eb5._0x39be54,_0x368eb5._0x52213f)};function _0x248801(_0x5d3f2f,_0x325aa3){return _0x3a90bd(_0x5d3f2f,_0x325aa3-_0x4a0b88._0x4c2654);}switch(process[_0x323f2a(_0x368eb5._0x5b320c,0x52f)]){case _0x559dc3[_0x248801(0x4dc,0x6f3)]:return _0x248801(_0x368eb5._0x15a9a2,0x5c9)+'ent';case'linux':if(_0x559dc3[_0x248801(_0x368eb5._0x3f5305,0x6c7)](_0x3ffaef,LINUX_SERVICE_PATH))return _0x559dc3[_0x323f2a(0x428,0x45f)];if(hasLinuxCronRegistration())return _0x248801(_0x368eb5._0x51276a,_0x368eb5._0x461ca0)+'ontab';if(commandExists(_0x323f2a(0x2af,_0x368eb5._0x11c9f5)+'l'))return'systemd-'+_0x323f2a(_0x368eb5._0x4c0c53,0x50e);if(commandExists(_0x559dc3['ffxPJ']))return _0x323f2a(_0x368eb5._0x2cf2aa,_0x368eb5._0x56982b)+'ontab';return _0x248801(0x6b3,0x79a)+_0x248801(0x3d4,0x5cb);case _0x248801(0x6d3,0x6ae):return _0x323f2a(_0x368eb5._0x2e5778,0x914)+_0x248801(0x9a3,0x85a)+_0x248801(_0x368eb5._0x50fa4a,_0x368eb5._0x117b42);default:return _0x559dc3['UgaJp'];}}function readServiceState(){const _0x2c5eca={_0x45f6b4:0x625,_0xfb632e:0x988,_0x470a10:0x9cf,_0x191244:0x625,_0x5c6af3:0x781,_0x562549:0x6e2,_0x382a0f:0x390,_0x3f0eb9:0x7c8,_0x1c0346:0x6a3,_0x86e030:0x39d},_0x5f239a={_0x245d78:0x697},_0x49ed34={};_0x49ed34[_0x3ebe90(_0x2c5eca._0x45f6b4,0x808)]='utf8',_0x49ed34[_0x30f3e8(0x888,0x887)]=function(_0x4648ff,_0x22f30c){return _0x4648ff!==_0x22f30c;};const _0x357e4c=_0x49ed34;function _0x3ebe90(_0x150705,_0xd61687){return _0xb2a5b9(_0xd61687,_0x150705-0x552);}function _0x30f3e8(_0x3d498b,_0x3f932c){return _0xb2a5b9(_0x3f932c,_0x3d498b-_0x5f239a._0x245d78);}if(!_0x3ffaef(SERVICE_STATE_PATH))return null;try{const _0x5cd35b=JSON[_0x30f3e8(_0x2c5eca._0xfb632e,_0x2c5eca._0x470a10)](_0x491827(SERVICE_STATE_PATH,_0x357e4c[_0x3ebe90(_0x2c5eca._0x191244,_0x2c5eca._0x5c6af3)]));if(!_0x5cd35b[_0x3ebe90(0x6e2,0x923)]||_0x357e4c['hxRrm'](typeof _0x5cd35b[_0x3ebe90(_0x2c5eca._0x562549,0x80f)],_0x3ebe90(_0x2c5eca._0x382a0f,0x5d5)))return null;return{'pid':_0x5cd35b[_0x30f3e8(0x827,_0x2c5eca._0x3f0eb9)],'startedAt':_0x5cd35b[_0x3ebe90(0x670,_0x2c5eca._0x1c0346)+'t']??new Date(0x0)['toISOStr'+_0x3ebe90(_0x2c5eca._0x86e030,0x3f4)]()};}catch{return null;}}function readRuntimeRegistry(){const _0x5e8fc9={_0x446880:0x25e,_0xd2cdda:0x1a0,_0x3fdc98:0x17e,_0x33e195:0x1e3,_0x4da2bf:0x276},_0x326c4a={_0x13910c:0x5a};function _0x2cd40b(_0x4041cd,_0x32c74e){return _0xb2a5b9(_0x4041cd,_0x32c74e-0xd3);}const _0x4689c0={};_0x4689c0[_0x2cd40b(-0x24d,-0x65)]='utf8';const _0x32c329=_0x4689c0;function _0x178420(_0xf0be30,_0x47b650){return _0xb2a5b9(_0xf0be30,_0x47b650-_0x326c4a._0x13910c);}if(!_0x3ffaef(RUNTIME_REGISTRY_PATH))return[];try{const _0x2764f4=JSON[_0x178420(_0x5e8fc9._0x446880,0x34b)](_0x491827(RUNTIME_REGISTRY_PATH,_0x32c329[_0x178420(_0x5e8fc9._0xd2cdda,-0xde)]));if(!Array[_0x2cd40b(_0x5e8fc9._0x3fdc98,-0xc5)](_0x2764f4))return[];const _0x3781a2=_0x2764f4[_0x178420(0x311,_0x5e8fc9._0x33e195)](_0x182c7c=>normalizeRuntimeProcessRecord(_0x182c7c))[_0x178420(0x1b1,_0x5e8fc9._0x4da2bf)](_0x5582df=>_0x5582df!=null&&isPidRunning(_0x5582df['pid']));return writeRuntimeRegistry(_0x3781a2),_0x3781a2;}catch{return[];}}function writeRuntimeRegistry(_0xfad87){const _0x4998b0={_0x394e9d:0x326,_0x537f05:0x1d6,_0x507d7b:0x30},_0x2a3f4a={_0xf88955:0x29f};if(_0xfad87[_0x1351a4(_0x4998b0._0x394e9d,_0x4998b0._0x537f05)]===0x0){rmIfExists(RUNTIME_REGISTRY_PATH);return;}function _0x3a3511(_0x3f377a,_0x98406d){return _0x3a90bd(_0x3f377a,_0x98406d-0x288);}ensureServiceDirs();function _0x1351a4(_0x29ec15,_0x9fde98){return _0x3a90bd(_0x9fde98,_0x29ec15-_0x2a3f4a._0xf88955);}_0x52ea0b(RUNTIME_REGISTRY_PATH,JSON['stringif'+'y'](_0xfad87,null,0x2)+'\x0a',_0x3a3511(_0x4998b0._0x507d7b,0x182));}function normalizeRuntimeProcessRecord(_0x1b4eeb){const _0x1bf664={_0x52d883:0x28a,_0x36ecb1:0x19,_0xac602e:0x2c,_0x2e86e4:0x221,_0x494a33:0x39a,_0x5cccae:0x655,_0x2b762a:0x4e9,_0x1ee924:0x503,_0x4d84a7:0x8af,_0x10b4fd:0x38c,_0x315873:0x2f9,_0x47b1cb:0x4e3,_0x194fd8:0x253,_0x46318f:0x26,_0x3c9ba3:0x50e,_0x590a78:0x570,_0x2d3752:0x6d3,_0x30a62c:0x871,_0x4adab3:0x4ec,_0x2164e8:0x2fc,_0x501dba:0x118,_0x5a9b04:0x20b,_0x4d42f8:0x58,_0x231cda:0x54e},_0x500068={_0x4e3bcb:0x1e2},_0x2bbfb9={'JNmlG':function(_0x4249ba,_0x2580d9){return _0x4249ba!==_0x2580d9;},'ORdzm':_0xf60669(_0x1bf664._0x52d883,_0x1bf664._0x36ecb1),'kMxpo':function(_0x243761,_0x591921){return _0x243761(_0x591921);},'aHsQb':function(_0x4582e3,_0x1aa5c7){return _0x4582e3===_0x1aa5c7;}};if(!_0x1b4eeb||_0x2bbfb9[_0xf60669(0xc5,_0x1bf664._0xac602e)](typeof _0x1b4eeb,'object'))return null;const _0x46d539=_0x1b4eeb;function _0x43631f(_0x32cb59,_0x2f0e59){return _0x3a90bd(_0x2f0e59,_0x32cb59-0x726);}if(!_0x46d539[_0x43631f(0x8af,0x97e)]||typeof _0x46d539[_0xf60669(_0x1bf664._0x2e86e4,0x36b)]!==_0x2bbfb9[_0xf60669(0x4f7,_0x1bf664._0x494a33)])return null;function _0xf60669(_0x3da073,_0x53ca44){return _0x3a90bd(_0x3da073,_0x53ca44-_0x500068._0x4e3bcb);}const _0x231091=typeof _0x46d539[_0x43631f(0x4e9,0x29e)+'th']===_0x43631f(0x5eb,0x408)?_0x2bbfb9[_0x43631f(0x760,_0x1bf664._0x5cccae)](resolveScriptPath,_0x46d539[_0x43631f(_0x1bf664._0x2b762a,_0x1bf664._0x1ee924)+'th']):'';if(!_0x231091)return null;return{'pid':_0x46d539[_0x43631f(_0x1bf664._0x4d84a7,0xa5e)],'startedAt':typeof _0x46d539['startedA'+'t']==='string'?_0x46d539[_0xf60669(_0x1bf664._0x10b4fd,_0x1bf664._0x315873)+'t']:new Date(0x0)[_0xf60669(_0x1bf664._0x47b1cb,0x39c)+_0xf60669(-_0x1bf664._0x194fd8,_0x1bf664._0x46318f)](),'gatewayId':typeof _0x46d539[_0x43631f(_0x1bf664._0x3c9ba3,_0x1bf664._0x590a78)+'d']===_0x43631f(0x5eb,_0x1bf664._0x2d3752)?_0x46d539['gatewayI'+'d']:'','instanceId':_0x2bbfb9[_0x43631f(_0x1bf664._0x30a62c,0x603)](typeof _0x46d539[_0x43631f(_0x1bf664._0x4adab3,_0x1bf664._0x2164e8)+'Id'],_0xf60669(_0x1bf664._0x501dba,0xa7))?_0x46d539[_0xf60669(_0x1bf664._0x5a9b04,-_0x1bf664._0x4d42f8)+'Id']:'','serviceMode':_0x46d539[_0x43631f(_0x1bf664._0x231cda,0x4c3)+'ode']===!![],'scriptPath':_0x231091};}function stopRunningProcess(){const _0x5e1d7b={_0xaddc4a:0x2b3,_0x8e60c6:0x7f1,_0x5bf7b3:0xa96,_0x33137a:0x401,_0x3f96f0:0x36e,_0x597a40:0x675,_0x41ba36:0x278,_0x19d89d:0x32d,_0x19ed93:0x7ee,_0x240441:0x8ff,_0x3fbebe:0x384,_0x3cc4a0:0x1d1,_0x2cfc94:0xb9,_0x442b29:0x2cb},_0x4f88c5={'wjzJZ':function(_0x5f368c,_0x450bcf,_0x936993){return _0x5f368c(_0x450bcf,_0x936993);},'FqRgJ':function(_0x31bfb8,_0x935535){return _0x31bfb8(_0x935535);},'dPKMG':_0x2bd2b6(0x296,_0x5e1d7b._0xaddc4a),'EEKLK':function(_0x364b23,_0x400c1f){return _0x364b23(_0x400c1f);}},_0x3d04c9=readServiceState();if(!_0x3d04c9)return;_0x4f88c5[_0x12c45e(_0x5e1d7b._0x8e60c6,_0x5e1d7b._0x5bf7b3)](execIgnoreFailure,process['platform']==='win32'?_0x12c45e(0x63c,_0x5e1d7b._0x33137a):_0x12c45e(0x696,0x836),process[_0x2bd2b6(0x25b,_0x5e1d7b._0x3f96f0)]===_0x12c45e(_0x5e1d7b._0x597a40,0x77f)?[_0x2bd2b6(_0x5e1d7b._0x41ba36,_0x5e1d7b._0x19d89d),_0x4f88c5['FqRgJ'](String,_0x3d04c9[_0x12c45e(_0x5e1d7b._0x19ed93,_0x5e1d7b._0x240441)]),'/T','/F']:[_0x4f88c5[_0x12c45e(0x7a2,0x6ba)],String(_0x3d04c9[_0x2bd2b6(0x30a,_0x5e1d7b._0x3fbebe)])]);function _0x12c45e(_0xa05b2c,_0xe6c2e7){return _0xb2a5b9(_0xe6c2e7,_0xa05b2c-0x65e);}function _0x2bd2b6(_0x1149d8,_0x4950f9){return _0xb2a5b9(_0x4950f9,_0x1149d8-0x17a);}_0x4f88c5[_0x2bd2b6(_0x5e1d7b._0x3cc4a0,_0x5e1d7b._0x2cfc94)](clearServiceState,_0x3d04c9[_0x2bd2b6(0x30a,_0x5e1d7b._0x442b29)]);}function listPosixRuntimePids(_0x21e265){const _0x52b9c6={_0x1a4897:0xea,_0x2380aa:0xb9,_0x5e802e:0x4ff,_0xda7ba2:0x37e,_0x1522fe:0x617,_0x22d637:0x717,_0x397bd2:0x7a3,_0x249e6b:0x75d,_0x4c9341:0x7f0,_0x18fab0:0x701,_0x2bc5d5:0x72},_0x4e8f97={_0x1ff13b:0x3c4,_0xbdc773:0x251,_0x554124:0x8e,_0x5f32dc:0x32a,_0x362f99:0x3dc,_0x49befd:0x502},_0x104781={_0x3adf84:0x55e},_0x23f52e={_0x1a9ba6:0xd3},_0x2a37dd={_0x4fc427:0x5d4};function _0xa74687(_0x2ce6f9,_0x1f5587){return _0xb2a5b9(_0x1f5587,_0x2ce6f9-_0x2a37dd._0x4fc427);}const _0x28df48={};_0x28df48['XDGRN']=_0x5c9ee7(_0x52b9c6._0x1a4897,0x313),_0x28df48[_0x5c9ee7(-_0x52b9c6._0x2380aa,0xed)]=_0xa74687(0x56d,_0x52b9c6._0x5e802e);const _0x267677=_0x28df48;function _0x5c9ee7(_0x364672,_0x49f759){return _0xb2a5b9(_0x49f759,_0x364672-_0x23f52e._0x1a9ba6);}if(!_0x21e265||process['platform']===_0x267677[_0xa74687(_0x52b9c6._0xda7ba2,_0x52b9c6._0x1522fe)])return[];try{const _0x5da8f5={};_0x5da8f5[_0xa74687(_0x52b9c6._0x22d637,0x649)]=_0xa74687(0x4d5,0x36f);const _0x16d8bd=execFileSync('ps',[_0x267677['UefLO'],'-o','pid=,arg'+'s='],_0x5da8f5);return _0x16d8bd[_0xa74687(_0x52b9c6._0x397bd2,0x913)]('\x0a')[_0xa74687(_0x52b9c6._0x249e6b,0x543)](_0x3a6ac7=>_0x3a6ac7[_0x5c9ee7(0x36c,0x282)]())[_0xa74687(_0x52b9c6._0x4c9341,_0x52b9c6._0x18fab0)](Boolean)[_0x5c9ee7(-_0x52b9c6._0x2bc5d5,-0x151)](_0x2166b2=>{const _0x12cf8c={_0x3ffa72:0x353},_0x74e7b0=_0x2166b2[_0x55f902(0x5f9,0x3ce)](/^(\d+)\s+(.*)$/);if(!_0x74e7b0)return[];const _0x1d3014=Number(_0x74e7b0[0x1]),_0x1b250a=_0x74e7b0[0x2];if(!Number[_0x4b7924(_0x4e8f97._0x1ff13b,_0x4e8f97._0xbdc773)+'r'](_0x1d3014)||_0x1d3014<=0x0||_0x1d3014===process['pid'])return[];if(!_0x1b250a[_0x4b7924(_0x4e8f97._0x554124,_0x4e8f97._0x5f32dc)](_0x21e265))return[];if(!/\brun\b/[_0x55f902(_0x4e8f97._0x362f99,_0x4e8f97._0x49befd)](_0x1b250a))return[];function _0x55f902(_0x5753f3,_0x29fb64){return _0x5c9ee7(_0x5753f3-_0x104781._0x3adf84,_0x29fb64);}function _0x4b7924(_0x5c4926,_0x1c7a74){return _0x5c9ee7(_0x1c7a74-_0x12cf8c._0x3ffa72,_0x5c4926);}return[_0x1d3014];});}catch{return[];}}function isPidRunning(_0x3ffef4){const _0x4dedf1={_0x38522c:0xba};function _0x1999cd(_0x2401a8,_0x43b30c){return _0x3a90bd(_0x43b30c,_0x2401a8-0x89);}try{return process[_0x1999cd(_0x4dedf1._0x38522c,0x2e2)](_0x3ffef4,0x0),!![];}catch{return![];}}function waitForPidExit(_0x33b21e,_0x486eba){const _0x12fc74={_0x3199a0:0x3b8,_0xb6313c:0x47c,_0x3f9e7a:0x190,_0x357082:0x18c};function _0x2c63a4(_0xd51b6d,_0x107061){return _0xb2a5b9(_0x107061,_0xd51b6d- -0x7b);}const _0x556602=Date[_0x14bb87(_0x12fc74._0x3199a0,_0x12fc74._0xb6313c)]()+_0x486eba,_0x442413=new Int32Array(new SharedArrayBuffer(0x4));function _0x14bb87(_0x5e43cf,_0x37fce6){return _0xb2a5b9(_0x5e43cf,_0x37fce6-0x1fe);}while(isPidRunning(_0x33b21e)){if(Date['now']()>=_0x556602)return![];Atomics[_0x2c63a4(_0x12fc74._0x3f9e7a,_0x12fc74._0x357082)](_0x442413,0x0,0x0,0x32);}return!![];}function startDetachedWindowsService(_0x5c3eaf){const _0x6cdf04={_0x3902c6:0x8a8,_0x234945:0x99d,_0x4036f4:0x89e,_0x31abe2:0x76c,_0x35c781:0x10c,_0x4cc4d2:0x7c7,_0xde977e:0x790,_0x592b2b:0x167},_0x2919c1={_0x1cabda:0x6c8},_0x5a375c={'zNJsi':function(_0x19ee38,_0x501fe4,_0x3486e8){return _0x19ee38(_0x501fe4,_0x3486e8);}};function _0x1beaa5(_0x4dddc5,_0x117098){return _0xb2a5b9(_0x117098,_0x4dddc5-0x35c);}const _0x504038=openSync(SERVICE_LOG_PATH,'a'),_0x489fbf=_0x5a375c[_0x3f0fba(_0x6cdf04._0x3902c6,_0x6cdf04._0x234945)](openSync,SERVICE_ERROR_LOG_PATH,'a');function _0x3f0fba(_0x286e55,_0x4a2fd9){return _0xb2a5b9(_0x4a2fd9,_0x286e55-_0x2919c1._0x1cabda);}try{const [_0xe4a031,..._0x54d408]=_0x5c3eaf,_0x2b2085={};_0x2b2085[_0x3f0fba(_0x6cdf04._0x4036f4,_0x6cdf04._0x31abe2)]=!![],_0x2b2085[_0x1beaa5(0x183,-_0x6cdf04._0x35c781)]=['ignore',_0x504038,_0x489fbf],_0x2b2085[_0x3f0fba(_0x6cdf04._0x4cc4d2,_0x6cdf04._0xde977e)+_0x1beaa5(0x337,_0x6cdf04._0x592b2b)]=!![];const _0x478a78=spawn(_0xe4a031,_0x54d408,_0x2b2085);_0x478a78[_0x3f0fba(0x761,0x524)]();}finally{closeSync(_0x504038),closeSync(_0x489fbf);}}function startDetachedPosixService(_0x1eb592){const _0x22ea1a={_0x272d81:0x59b,_0x238aef:0x83e,_0x3415fc:0x182,_0x495088:0x2ad,_0x1b3f7e:0x306},_0x3fe57d={_0x1f2a11:0x137};function _0x235b8b(_0x153319,_0x3724b0){return _0x3a90bd(_0x3724b0,_0x153319-_0x3fe57d._0x1f2a11);}function _0x2557d5(_0x2bbf8a,_0x31de7f){return _0x3a90bd(_0x31de7f,_0x2bbf8a-0x4d9);}const _0x4659bf={};_0x4659bf[_0x2557d5(_0x22ea1a._0x272d81,_0x22ea1a._0x238aef)]=_0x235b8b(_0x22ea1a._0x3415fc,_0x22ea1a._0x495088);const _0x301384=_0x4659bf,_0x271331=openSync(SERVICE_LOG_PATH,'a'),_0x242289=openSync(SERVICE_ERROR_LOG_PATH,'a');try{const [_0x2451b1,..._0x4609c0]=_0x1eb592,_0x515859={};_0x515859[_0x235b8b(_0x22ea1a._0x1b3f7e,0x572)]=!![],_0x515859['stdio']=[_0x301384[_0x2557d5(_0x22ea1a._0x272d81,0x59e)],_0x271331,_0x242289];const _0x4a0ea7=spawn(_0x2451b1,_0x4609c0,_0x515859);_0x4a0ea7[_0x235b8b(0x1c9,0x1fa)]();}finally{closeSync(_0x271331),closeSync(_0x242289);}}async function waitForRuntimeState(_0x45dec7=0x5dc,_0x3f8f08=0x32){const _0x45e6b8={_0x28d5a7:0x66f,_0x1a49fa:0x6d8,_0x4199ae:0x4a1,_0x16dfb1:0x607,_0x237b5b:0x545,_0x57170b:0x4f0},_0x21ed1e={_0x3b9f12:0x3f8},_0x20da73={'EuToF':function(_0x17c404){return _0x17c404();},'nQFlV':function(_0x5bb196,_0x1fb4de){return _0x5bb196(_0x1fb4de);}},_0x4ddaf1=Date[_0x149172(_0x45e6b8._0x28d5a7,_0x45e6b8._0x1a49fa)]()+_0x45dec7;function _0x51671f(_0x549468,_0x5b7685){return _0x3a90bd(_0x549468,_0x5b7685-0x390);}let _0x1b6f04=_0x20da73[_0x149172(0x57f,0x309)](getServiceStatus);while(Date[_0x51671f(_0x45e6b8._0x4199ae,_0x45e6b8._0x16dfb1)]()<_0x4ddaf1){if(_0x1b6f04[_0x51671f(_0x45e6b8._0x237b5b,_0x45e6b8._0x57170b)])return _0x1b6f04;await _0x20da73[_0x149172(0x5fd,0x35f)](_0x3a6e11,_0x3f8f08),_0x1b6f04=getServiceStatus();}function _0x149172(_0x2fd908,_0xabcce3){return _0x3a90bd(_0xabcce3,_0x2fd908-_0x21ed1e._0x3b9f12);}return _0x1b6f04;}function installLinuxService(_0x467710){const _0x4b6c83={_0x32e139:0x4c9},_0x34cf09={'qbseS':function(_0x496652,_0x4b8439){return _0x496652(_0x4b8439);}};function _0x4503d9(_0x57015b,_0x17d33e){return _0xb2a5b9(_0x17d33e,_0x57015b-_0x4b6c83._0x32e139);}try{_0x34cf09[_0x4503d9(0x34c,0x1d7)](installLinuxSystemdService,_0x467710),removeLinuxCronRegistration();return;}catch(_0x47f942){installLinuxCronService(_0x467710,_0x47f942);}}function restartLinuxService(_0x45a042){const _0x55bad6={'GdlhX':function(_0x382755,_0x2f6885,_0x586de9){return _0x382755(_0x2f6885,_0x586de9);}};try{restartLinuxSystemdService(_0x45a042),removeLinuxCronRegistration();return;}catch(_0x316ac4){_0x55bad6['GdlhX'](installLinuxCronService,_0x45a042,_0x316ac4);}}function installLinuxSystemdService(_0x246d38){const _0x4d2693={_0x3707f1:0x114,_0x23c70e:0xbf,_0x25ed4e:0x49f,_0x557a1a:0x8f6,_0x2fd737:0x50e,_0x5c23f5:0x6d7,_0xb27100:0x5dc,_0x2f004a:0x6fb,_0x3a48da:0x641,_0x3acb1d:0x66f,_0x186e83:0x825,_0x2287fa:0x1bf,_0x6e80b3:0x701,_0x258eb5:0x193,_0x2725b2:0x1c4,_0x4d7c3d:0x810,_0x1ab1c9:0x5dd,_0x4916e1:0x5e6,_0x5dc0b6:0x87a,_0x46113f:0x917};function _0x354176(_0x5ea2e2,_0x93967b){return _0x3a90bd(_0x5ea2e2,_0x93967b-0x747);}const _0x208628={'HlbgU':_0x3e80be(-_0x4d2693._0x3707f1,_0x4d2693._0x23c70e)+'l','lljTd':_0x354176(_0x4d2693._0x25ed4e,0x5e6)+_0x354176(0x3e8,0x53a)+_0x354176(0xa74,_0x4d2693._0x557a1a)+'le','wfugZ':function(_0x275673,_0x41066a){return _0x275673(_0x41066a);},'iXKFa':function(_0x11a3ae,_0x1313eb,_0x160946,_0x158efd){return _0x11a3ae(_0x1313eb,_0x160946,_0x158efd);},'coPEa':_0x354176(0x918,0x81b),'wnSKh':_0x3e80be(0x32c,0x4c9)};if(!commandExists(_0x208628[_0x354176(0x3e4,_0x4d2693._0x2fd737)]))throw new Error(_0x208628[_0x354176(_0x4d2693._0x5c23f5,0x6a8)]);const _0x56ead4={};_0x56ead4[_0x354176(0x629,0x5f9)+'e']=!![],_0x19193e(_0x208628[_0x354176(0x45c,_0x4d2693._0xb27100)](dirname,LINUX_SERVICE_PATH),_0x56ead4),_0x52ea0b(LINUX_SERVICE_PATH,buildLinuxSystemdUnit(_0x246d38,SERVICE_LOG_PATH,SERVICE_ERROR_LOG_PATH),_0x354176(_0x4d2693._0x2f004a,_0x4d2693._0x3a48da));const _0x41f344={};_0x41f344[_0x354176(_0x4d2693._0x3acb1d,0x567)]=_0x354176(_0x4d2693._0x186e83,0x792);function _0x3e80be(_0x111fcd,_0x15d50e){return _0x3a90bd(_0x15d50e,_0x111fcd-0x4d);}_0x208628[_0x354176(0xb81,0x9a4)](execFileSync,_0x208628['HlbgU'],[_0x3e80be(0x121,_0x4d2693._0x2287fa),_0x3e80be(0x6,-0x1ee)+_0x354176(_0x4d2693._0x6e80b3,0x715)],_0x41f344);const _0x55c790={};_0x55c790[_0x3e80be(-_0x4d2693._0x258eb5,-_0x4d2693._0x2725b2)]=_0x354176(_0x4d2693._0x4d7c3d,0x792),execFileSync(_0x354176(_0x4d2693._0x1ab1c9,_0x4d2693._0x4916e1)+'l',[_0x208628['coPEa'],_0x208628[_0x354176(_0x4d2693._0x5dc0b6,0x970)],_0x354176(0x943,_0x4d2693._0x46113f),SYSTEMD_UNIT_NAME],_0x55c790);}function restartLinuxSystemdService(_0x28d10b){const _0x26bc90={_0x453a1b:0x5fe,_0x2a3639:0x37e,_0x138d2c:0x4ce,_0x34fa1c:0x460,_0x5f04c3:0x1a6,_0x457655:0x3b9,_0x37fca4:0x32,_0x143c04:0x187,_0x5892e3:0xc5,_0x25e8d4:0x125,_0x2f1c22:0x6a,_0x1bddbc:0x144},_0x4cac61={_0x786d88:0x9c},_0x1ebe00={};_0x1ebe00['VUlos']='systemct'+'l';function _0x16f760(_0x16d535,_0x358d27){return _0x3a90bd(_0x358d27,_0x16d535-0x432);}_0x1ebe00['YcHQk']='ignore';function _0x5eb576(_0x5373bd,_0x4bc8d8){return _0x3a90bd(_0x5373bd,_0x4bc8d8-_0x4cac61._0x786d88);}const _0x13999e=_0x1ebe00,_0x30d662=(_0x16f760(_0x26bc90._0x453a1b,_0x26bc90._0x2a3639)+'4')[_0x16f760(0x5fa,_0x26bc90._0x138d2c)]('|');let _0x1093fe=0x0;while(!![]){switch(_0x30d662[_0x1093fe++]){case'0':if(!commandExists(_0x13999e[_0x16f760(_0x26bc90._0x34fa1c,0x495)]))throw new Error(_0x16f760(0x2d1,_0x26bc90._0x5f04c3)+_0x16f760(0x225,_0x26bc90._0x457655)+_0x16f760(0x5e1,0x7a1)+'le');continue;case'1':const _0x2aaf20={};_0x2aaf20['stdio']=_0x13999e[_0x5eb576(_0x26bc90._0x37fca4,-_0x26bc90._0x143c04)],execFileSync(_0x5eb576(-0x298,-_0x26bc90._0x5892e3)+'l',['--user',_0x5eb576(_0x26bc90._0x25e8d4,0x55)+_0x5eb576(0x1b3,_0x26bc90._0x2f1c22)],_0x2aaf20);continue;case'2':if(!_0x3ffaef(LINUX_SERVICE_PATH)){installLinuxSystemdService(_0x28d10b);return;}continue;case'3':_0x52ea0b(LINUX_SERVICE_PATH,buildLinuxSystemdUnit(_0x28d10b,SERVICE_LOG_PATH,SERVICE_ERROR_LOG_PATH),_0x16f760(0x32c,0x376));continue;case'4':const _0x221b51={};_0x221b51[_0x5eb576(-0x2aa,-_0x26bc90._0x1bddbc)]=_0x13999e['YcHQk'],execFileSync('systemct'+'l',['--user',_0x5eb576(0x30,0x10d),SYSTEMD_UNIT_NAME],_0x221b51);continue;}break;}}function installLinuxCronService(_0x204a2d,_0x1a396a){const _0x5de0a4={_0x43e96d:0x213,_0x506b32:0x164,_0x1eb202:0x300,_0x34fd21:0x4d4,_0x4437a3:0xf8,_0xb40952:0x14d,_0x2b6dda:0x39,_0x171abf:0x206,_0x29af95:0x3b2,_0x3cb121:0x3db,_0x460ff2:0x35a,_0x39733c:0x3f7,_0x5b3d81:0xe3},_0x5630be={'YIPVJ':function(_0x2faf6e,_0x3ecf3e){return _0x2faf6e(_0x3ecf3e);},'tlwYN':_0x1b9c93(0x26a,_0x5de0a4._0x43e96d),'joLfP':function(_0x4f8f0c,_0x4e2fa5,_0x5b354c,_0x3f7c32){return _0x4f8f0c(_0x4e2fa5,_0x5b354c,_0x3f7c32);},'BCXMs':function(_0x5c2f6c,_0x54c212){return _0x5c2f6c+_0x54c212;}};if(!_0x5630be['YIPVJ'](commandExists,_0x5630be[_0x55f79f(_0x5de0a4._0x506b32,-0x10d)]))throw new Error(_0x1b9c93(_0x5de0a4._0x1eb202,_0x5de0a4._0x34fd21)+_0x55f79f(0x133,0x4d)+'stallati'+_0x55f79f(_0x5de0a4._0x4437a3,-0x45)+_0x55f79f(_0x5de0a4._0xb40952,0xa9)+_0x55f79f(-0x1c2,-_0x5de0a4._0x2b6dda)+_0x1b9c93(_0x5de0a4._0x171abf,_0x5de0a4._0x29af95)+_0x1b9c93(_0x5de0a4._0x3cb121,_0x5de0a4._0x460ff2)+_0x55f79f(_0x5de0a4._0x39733c,0x437)+formatError(_0x1a396a));_0x5630be['YIPVJ'](rmIfExists,LINUX_SERVICE_PATH);const _0x497fa4=buildLinuxCronEntry(_0x204a2d,SERVICE_LOG_PATH,SERVICE_ERROR_LOG_PATH);writeLinuxCrontabEntry(_0x497fa4);function _0x1b9c93(_0x60aca1,_0x377cd1){return _0x3a90bd(_0x377cd1,_0x60aca1-0x3ac);}function _0x55f79f(_0x487293,_0x2f5a65){return _0x3a90bd(_0x487293,_0x2f5a65-0x145);}_0x5630be[_0x55f79f(-0x81,0x9d)](_0x52ea0b,LINUX_CRON_RECORD_PATH,_0x5630be[_0x55f79f(-0x208,-_0x5de0a4._0x5b3d81)](_0x497fa4,'\x0a'),'utf8'),stopRunningProcess(),startDetachedPosixService(_0x204a2d);}function hasLinuxCronRegistration(){const _0x351e9f={_0x47fc03:0x7e4,_0x167b11:0x4a2,_0x5cea71:0x7e4,_0x58cb14:0x730,_0x7bd3b8:0x5b4,_0x51e85a:0x385,_0x3c2e18:0x47c,_0x3df9b4:0x537},_0x13d29c={};_0x13d29c[_0x3742bc(_0x351e9f._0x47fc03,0x988)]=function(_0x237b56,_0x1ccba0){return _0x237b56!==_0x1ccba0;};function _0x3742bc(_0x51f9b2,_0x4969f1){return _0xb2a5b9(_0x4969f1,_0x51f9b2-0x6de);}_0x13d29c['IaqYG']=_0x49ceb9(0x3e3,_0x351e9f._0x167b11);const _0x2f038b=_0x13d29c;if(_0x2f038b[_0x3742bc(_0x351e9f._0x5cea71,_0x351e9f._0x58cb14)](process[_0x49ceb9(_0x351e9f._0x7bd3b8,_0x351e9f._0x51e85a)],_0x2f038b[_0x49ceb9(_0x351e9f._0x3c2e18,_0x351e9f._0x3df9b4)]))return![];function _0x49ceb9(_0x522bbb,_0x5c525d){return _0xb2a5b9(_0x522bbb,_0x5c525d-0x2a4);}return readLinuxCrontab()['some'](_0x2d5eb5=>_0x2d5eb5['includes'](LINUX_CRON_MARKER));}function removeLinuxCronRegistration(){if(process['platform']!==_0x17db35(0x918,0x837))return;function _0x17db35(_0x46a6bc,_0xe3d973){return _0x3a90bd(_0xe3d973,_0x46a6bc-0x721);}function _0x2b826f(_0x2e9c6e,_0x427cbd){return _0x3a90bd(_0x2e9c6e,_0x427cbd-0x44f);}if(commandExists(_0x2b826f(0x467,0x30d))){const _0x26a9ec=readLinuxCrontab()['filter'](_0x4261a4=>!_0x4261a4['includes'](LINUX_CRON_MARKER));writeLinuxCrontab(_0x26a9ec);}rmIfExists(LINUX_CRON_RECORD_PATH);}function writeLinuxCrontabEntry(_0x113380){const _0x55ce76={_0x483739:0x1e8},_0x947ec6={_0x264fea:0x27e};function _0x19aaf3(_0x10a4d3,_0x6e00c3){return _0xb2a5b9(_0x6e00c3,_0x10a4d3-0x14f);}function _0x53003c(_0xa4fb5,_0x317af7){return _0xb2a5b9(_0x317af7,_0xa4fb5-_0x947ec6._0x264fea);}const _0x1c40da={'YKwkM':function(_0x530d83){return _0x530d83();}},_0x3eaeab=_0x1c40da['YKwkM'](readLinuxCrontab)['filter'](_0x2326e3=>!_0x2326e3[_0x53003c(0x182,0x249)](LINUX_CRON_MARKER));_0x3eaeab[_0x53003c(0x291,_0x55ce76._0x483739)](_0x113380),writeLinuxCrontab(_0x3eaeab);}function readLinuxCrontab(){const _0x55324f={_0x138875:0x2f8,_0x2ac1c9:0x776,_0x3dfb90:0x23a},_0x257cfe={_0x3406aa:0x687};function _0x58e63a(_0x43b559,_0x2f4b39){return _0xb2a5b9(_0x43b559,_0x2f4b39-0x1b5);}const _0x202566={'Rtwwt':function(_0xa512d7,_0x3df82c){return _0xa512d7(_0x3df82c);}};function _0x54c39c(_0x4474ea,_0x548d3d){return _0xb2a5b9(_0x4474ea,_0x548d3d-_0x257cfe._0x3406aa);}if(!_0x202566['Rtwwt'](commandExists,'crontab'))return[];try{const _0x1d283e={};_0x1d283e[_0x58e63a(0x365,_0x55324f._0x138875)]=_0x54c39c(_0x55324f._0x2ac1c9,0x588);const _0x3731e3=execFileSync(_0x58e63a(_0x55324f._0x3dfb90,0x7a),['-l'],_0x1d283e);return _0x3731e3[_0x54c39c(0xab6,0x856)]('\x0a')['map'](_0x5f301e=>_0x5f301e['trimEnd']())['filter'](_0x3362fc=>_0x3362fc['length']>0x0);}catch(_0x2fce15){if(isMissingCrontabError(_0x2fce15))return[];throw _0x2fce15;}}function writeLinuxCrontab(_0x4eb839){const _0x3b8d4d={_0x29b46c:0x4fa,_0x26f099:0x55b,_0x4ae27a:0x6ec,_0x254f47:0x8b8,_0x132d91:0x909,_0xd2d947:0x549,_0x392118:0x151,_0x3c126f:0x40a,_0x1e60f1:0x264,_0x213582:0xc2,_0x115e58:0xdd,_0x544f66:0x2e1,_0x488fb5:0x3c,_0x1dc8a1:0x19c},_0x5f1d20={};_0x5f1d20['RLigH']=function(_0x4f0f45,_0x461d7a){return _0x4f0f45===_0x461d7a;},_0x5f1d20['ITDKj']=_0x8aeb42(_0x3b8d4d._0x29b46c,_0x3b8d4d._0x26f099);function _0x8aeb42(_0x48210e,_0x2e73e2){return _0x3a90bd(_0x2e73e2,_0x48210e-0x600);}_0x5f1d20[_0x8aeb42(_0x3b8d4d._0x4ae27a,_0x3b8d4d._0x254f47)]=_0x8aeb42(0x68e,_0x3b8d4d._0x132d91),_0x5f1d20['wWKpI']='ignore';const _0x16c48c=_0x5f1d20;if(!commandExists(_0x8aeb42(0x4be,_0x3b8d4d._0xd2d947)))return;function _0x58fa01(_0x7d87b7,_0xe9b817){return _0x3a90bd(_0xe9b817,_0x7d87b7- -0xf);}if(_0x16c48c[_0x8aeb42(0x777,0x69e)](_0x4eb839['length'],0x0)){execIgnoreFailure(_0x8aeb42(0x4be,0x37c),['-r']);return;}execFileSync(_0x58fa01(-_0x3b8d4d._0x392118,-0xf6),['-'],{'input':_0x4eb839[_0x8aeb42(_0x3b8d4d._0x3c126f,0x5c2)]('\x0a')+'\x0a','encoding':_0x16c48c[_0x58fa01(-_0x3b8d4d._0x1e60f1,-_0x3b8d4d._0x213582)],'stdio':[_0x16c48c[_0x58fa01(_0x3b8d4d._0x115e58,-0x11b)],_0x16c48c[_0x58fa01(0x17e,_0x3b8d4d._0x544f66)],_0x58fa01(_0x3b8d4d._0x488fb5,_0x3b8d4d._0x1dc8a1)]});}function resolveScriptPath(_0x6a5c4f){const _0xb39da9={_0x210f6b:0x6e1,_0x33b48b:0x266,_0x9be113:0x72f},_0x33b86={_0x3bb65b:0x496},_0x2b4856=_0x6a5c4f?.[_0x3fd277(_0xb39da9._0x210f6b,0x549)]()||process[_0x5aa94c(_0xb39da9._0x33b48b,0x438)][0x1]?.[_0x5aa94c(_0xb39da9._0x9be113,0x646)]()||'';function _0x3fd277(_0x235ea8,_0x500a1e){return _0xb2a5b9(_0x235ea8,_0x500a1e-0x2b0);}if(!_0x2b4856)return'';function _0x5aa94c(_0x21c12f,_0x1de9ed){return _0xb2a5b9(_0x1de9ed,_0x21c12f-_0x33b86._0x3bb65b);}try{return realpathSync(_0x2b4856);}catch{return _0x2b4856;}}function ensureLaunchScriptExecutable(_0x3fa26e,_0x5ab42e){const _0x1cf65c={_0x37db58:0x20d,_0x278137:0x1b5},_0x177876={_0x248c90:0x5dc};function _0x1fb8ee(_0x14b4b3,_0x2fcf7b){return _0xb2a5b9(_0x14b4b3,_0x2fcf7b-_0x177876._0x248c90);}const _0x114327={'wSmuN':function(_0x63d409,_0xd35a55,_0x92aee5){return _0x63d409(_0xd35a55,_0x92aee5);}};function _0xa5c730(_0x4b6453,_0x5d34fa){return _0xb2a5b9(_0x5d34fa,_0x4b6453-0x1f6);}if(_0x5ab42e===_0xa5c730(_0x1cf65c._0x37db58,0x13f)||!_0x3ffaef(_0x3fa26e))return;try{_0x114327[_0x1fb8ee(_0x1cf65c._0x278137,0x37e)](chmodSync,_0x3fa26e,0x1ed);}catch{}}function writeServiceLauncher(_0x5d9afa){const _0x407a4b={_0x3df0b0:0x541,_0x432bdb:0x53b,_0x2fcaf5:0x4c1,_0x243a59:0x5b3,_0x566767:0x715,_0x550eba:0x6da,_0x21c34a:0x446,_0x1a8d69:0x613,_0x429560:0x483,_0x581ebe:0x2da,_0x1e37d4:0x74b,_0x49a578:0x574,_0x3ba5c7:0x57f,_0x1c2e50:0x5b1,_0x3db281:0x353,_0xcaaf57:0x495,_0x1856f9:0x47c,_0x55cc9b:0x99f,_0x42f20a:0x41e,_0x3f95fc:0x6ff,_0x4958bd:0x461,_0x54b131:0x6ec,_0x9164ba:0x384,_0x35d753:0x56a,_0x2fa686:0x3e9,_0x4da742:0x428,_0x39db8a:0x1fc,_0x282192:0x50e,_0x2b3ae5:0x3ee,_0x4bd902:0x27e,_0x21c606:0x4b5,_0x1efe88:0x692,_0x38cd3a:0x50f,_0x647512:0x4de,_0x50c504:0x660,_0xfa9423:0x8fe,_0x1e4b8f:0x6ab,_0x57fcbb:0x7cd,_0xc2e13e:0x518,_0x86a5b3:0x392,_0x58f8be:0x829,_0x2b6850:0x609,_0x1a3192:0x686,_0x2da8f4:0x513,_0x47bdc7:0x681,_0xd5a4d4:0x6b9,_0x2d4530:0x3cb,_0x5e5265:0x4f4,_0xaa0132:0x407},_0x1d7d82={_0x53d514:0x506},_0x2840cd={};_0x2840cd[_0x425868(_0x407a4b._0x3df0b0,0x62e)]=_0x425868(_0x407a4b._0x432bdb,_0x407a4b._0x2fcaf5)+'$NODE_PA'+_0x1a759b(_0x407a4b._0x243a59,0x35b)+_0x425868(0x93e,_0x407a4b._0x566767)+_0x1a759b(0x74b,_0x407a4b._0x550eba)+'-service';function _0x1a759b(_0x509e29,_0x5a30d){return _0xb2a5b9(_0x5a30d,_0x509e29-0x5ba);}_0x2840cd[_0x1a759b(_0x407a4b._0x21c34a,_0x407a4b._0x1a8d69)]=_0x425868(0x4c7,_0x407a4b._0x429560)+_0x425868(0x2dc,_0x407a4b._0x581ebe)+'RIPT_PAT'+_0x1a759b(_0x407a4b._0x1e37d4,_0x407a4b._0x49a578)+_0x1a759b(0x4e0,_0x407a4b._0x3ba5c7),_0x2840cd[_0x1a759b(0x416,_0x407a4b._0x1c2e50)]=_0x425868(_0x407a4b._0x3db281,0x35b);const _0x8bc97c=_0x2840cd;ensureServiceDirs();function _0x425868(_0x33bd1b,_0x1aa48d){return _0xb2a5b9(_0x33bd1b,_0x1aa48d-_0x1d7d82._0x53d514);}const _0x2004fa=[_0x425868(0xa46,0x7df)+'h',_0x425868(_0x407a4b._0xcaaf57,0x4d3)+_0x425868(_0x407a4b._0x1856f9,0x6ec)+escapeShellDoubleQuoted(_0x5d9afa[_0x1a759b(0x733,_0x407a4b._0x55cc9b)])+'\x22','NODE_PAT'+_0x1a759b(_0x407a4b._0x42f20a,0x3c9)+escapeShellDoubleQuoted(_0x5d9afa['nodePath'])+'\x22',_0x1a759b(_0x407a4b._0x3f95fc,0x984)+_0x425868(_0x407a4b._0x4958bd,_0x407a4b._0x54b131)+escapeShellDoubleQuoted(_0x5d9afa[_0x1a759b(_0x407a4b._0x9164ba,0x355)+'th'])+'\x22',_0x1a759b(_0x407a4b._0x35d753,_0x407a4b._0x2fa686)+_0x1a759b(_0x407a4b._0x4da742,_0x407a4b._0x39db8a)+_0x425868(_0x407a4b._0x282192,_0x407a4b._0x2b3ae5)+_0x425868(_0x407a4b._0x4bd902,_0x407a4b._0x21c606),_0x8bc97c['yTINn'],'fi',_0x1a759b(_0x407a4b._0x1efe88,0x8a6)+_0x425868(0x23a,0x4e5)+_0x1a759b(_0x407a4b._0x38cd3a,_0x407a4b._0x647512)+_0x1a759b(_0x407a4b._0x50c504,_0x407a4b._0xfa9423)+_0x425868(_0x407a4b._0x1e4b8f,_0x407a4b._0x57fcbb),_0x8bc97c[_0x425868(_0x407a4b._0xc2e13e,_0x407a4b._0x86a5b3)],'fi',_0x1a759b(_0x407a4b._0x58f8be,0x5be)+_0x425868(_0x407a4b._0x2b6850,0x75d)+_0x425868(0x817,_0x407a4b._0x1a3192)+_0x1a759b(_0x407a4b._0x2da8f4,0x4ee)+'\x20Clawket'+_0x1a759b(_0x407a4b._0x47bdc7,0x505)+_0x1a759b(0x86d,_0x407a4b._0xd5a4d4)+'\x20>&2',_0x8bc97c['lBfkk'],''];return _0x52ea0b(SERVICE_LAUNCHER_PATH,_0x2004fa[_0x1a759b(_0x407a4b._0x2d4530,_0x407a4b._0x5e5265)]('\x0a'),_0x425868(0x486,_0x407a4b._0xaa0132)),SERVICE_LAUNCHER_PATH;}function escapeShellDoubleQuoted(_0x3df454){const _0x48fa71={_0x53286f:0x312},_0x4ab6cf={_0x2fb8a4:0x5e0};function _0x450f12(_0x43c2fe,_0x3c2100){return _0x3a90bd(_0x43c2fe,_0x3c2100- -0x73);}function _0x1f85c8(_0x21c168,_0x372ae1){return _0x3a90bd(_0x21c168,_0x372ae1-_0x4ab6cf._0x2fb8a4);}return _0x3df454[_0x1f85c8(0x58e,0x4cb)+'ll']('\x5c','\x5c\x5c')[_0x450f12(-0x33d,-0x188)+'ll']('\x22','\x5c\x22')[_0x450f12(-0x1db,-0x188)+'ll']('$','\x5c$')[_0x1f85c8(_0x48fa71._0x53286f,0x4cb)+'ll']('`','\x5c`');}function escapeShellWord(_0x11e018){const _0x5d3159={_0x5a86a8:0x3ac},_0x3564dc={_0x29933c:0x32d};function _0x41581f(_0x5b90ef,_0x5ced25){return _0x3a90bd(_0x5b90ef,_0x5ced25-_0x3564dc._0x29933c);}function _0x379f37(_0x141c4e,_0x9f30bf){return _0x3a90bd(_0x9f30bf,_0x141c4e-_0x5d3159._0x5a86a8);}if(_0x11e018['length']===0x0)return'\x27\x27';return'\x27'+_0x11e018[_0x379f37(0x297,0x252)+'ll']('\x27',_0x41581f(0x5cf,0x48a))+'\x27';}function buildWindowsRunCommand(_0x15e827){const _0x1ad1ac={_0x10638e:0x40a,_0x3821e8:0x2bd},_0x1dacd4={_0x35dacf:0x4b3},_0x12f5a0={_0x311d17:0x288};function _0x13dcde(_0x403bdc,_0x121216){return _0x3a90bd(_0x403bdc,_0x121216-_0x12f5a0._0x311d17);}function _0x568fdb(_0x14dca8,_0x59eaab){return _0x3a90bd(_0x59eaab,_0x14dca8-_0x1dacd4._0x35dacf);}return _0x15e827[_0x13dcde(0x3cb,_0x1ad1ac._0x10638e)](escapeWindowsArg)[_0x568fdb(_0x1ad1ac._0x3821e8,0x52a)]('\x20');}function ensureServiceDirs(){const _0xa5659f={_0xf65a6b:0x717,_0xf551cd:0x49d,_0x14d9a7:0x49d},_0x3f6b75={_0x426c1a:0x5eb},_0x523a73={_0x526c7b:0x18a},_0x544182={};_0x544182[_0x4ea401(_0xa5659f._0xf65a6b,_0xa5659f._0xf551cd)+'e']=!![];function _0x3fe0ba(_0x239f8a,_0x3f5122){return _0x3a90bd(_0x3f5122,_0x239f8a-_0x523a73._0x526c7b);}_0x19193e(SERVICE_DIR,_0x544182);const _0x369f70={};_0x369f70[_0x4ea401(0x3bb,_0xa5659f._0x14d9a7)+'e']=!![];function _0x4ea401(_0x192fb3,_0x301923){return _0x3a90bd(_0x192fb3,_0x301923-_0x3f6b75._0x426c1a);}_0x19193e(LOG_DIR,_0x369f70);}function escapeXml(_0x49d513){const _0x5be5c2={_0x3e838c:0x1d3,_0x4645ca:0x579,_0x1b2ff4:0x4be,_0x417491:0x395,_0x725754:0x57b,_0x573715:0x55c,_0x1d0b52:0x4ae,_0x448970:0x30f,_0x2d62c2:0x1d3,_0x103901:0x560},_0x38a3d5={_0xafcb63:0x690};function _0x42e4de(_0x1938d1,_0x14344b){return _0x3a90bd(_0x1938d1,_0x14344b-0x2e8);}const _0x2fda2d={};function _0x35a2bc(_0x287167,_0x225956){return _0x3a90bd(_0x287167,_0x225956-_0x38a3d5._0xafcb63);}_0x2fda2d['AKnwx']=_0x42e4de(0x57a,0x455);const _0x285381=_0x2fda2d;return _0x49d513[_0x42e4de(0x158,_0x5be5c2._0x3e838c)+'ll']('&',_0x42e4de(_0x5be5c2._0x4645ca,_0x5be5c2._0x1b2ff4))['replaceA'+'ll']('<',_0x35a2bc(0x41b,0x62e))[_0x35a2bc(_0x5be5c2._0x417491,0x57b)+'ll']('>',_0x42e4de(0x574,0x416))[_0x35a2bc(0x4f4,_0x5be5c2._0x725754)+'ll']('\x22',_0x285381[_0x35a2bc(_0x5be5c2._0x573715,_0x5be5c2._0x1d0b52)])[_0x42e4de(_0x5be5c2._0x448970,_0x5be5c2._0x2d62c2)+'ll']('\x27',_0x35a2bc(_0x5be5c2._0x103901,0x80d));}function escapeSystemdArg(_0x5982a0){const _0x10463d={_0x49bb1a:0x241,_0x229732:0x38d};function _0x303eea(_0x4a5371,_0x3f9c0d){return _0x3a90bd(_0x3f9c0d,_0x4a5371-0x356);}return'\x22'+_0x5982a0['replaceA'+'ll']('\x5c','\x5c\x5c')[_0x303eea(_0x10463d._0x49bb1a,_0x10463d._0x229732)+'ll']('\x22','\x5c\x22')+'\x22';}function escapeWindowsArg(_0x153ff8){const _0x1c6e96={_0x4e921d:0x176},_0x4abc2a={_0x10aefd:0x25};function _0x4c1684(_0x43b888,_0x4ea23c){return _0x3a90bd(_0x4ea23c,_0x43b888-_0x4abc2a._0x10aefd);}return'\x22'+_0x153ff8[_0x4c1684(-0xf0,-_0x1c6e96._0x4e921d)+'ll']('\x22','\x5c\x22')+'\x22';}function commandSucceeds(_0xce965c,_0x51f091){const _0xdeb35f={_0x3593b2:0x1f4,_0x46d168:0x31e,_0x474120:0x3ce},_0x5613dd={_0x488bef:0x260},_0xeac1e3={_0x449484:0x2cc};function _0x346bad(_0x3b4fcd,_0xf1b551){return _0xb2a5b9(_0x3b4fcd,_0xf1b551-_0xeac1e3._0x449484);}function _0x1da94b(_0x3d3746,_0x3f63a7){return _0xb2a5b9(_0x3d3746,_0x3f63a7-_0x5613dd._0x488bef);}const _0x428464={'rZGXD':function(_0xc0e794,_0x57b456,_0x44fe78,_0x1d42e2){return _0xc0e794(_0x57b456,_0x44fe78,_0x1d42e2);}};try{const _0x5790bd={};return _0x5790bd[_0x346bad(0x1c4,0xf3)]=_0x346bad(_0xdeb35f._0x3593b2,_0xdeb35f._0x46d168),_0x428464[_0x1da94b(_0xdeb35f._0x474120,0x283)](execFileSync,_0xce965c,_0x51f091,_0x5790bd),!![];}catch{return![];}}function commandExists(_0x5b1ce3){const _0xdba8fa={_0x3f2735:0x16a,_0x3dab0f:0x443,_0x24d9da:0x67d,_0x1603ae:0x1f2},_0x5a9ade={_0x2c093c:0x433},_0x4b45f1={_0x4fd0f0:0x4e};function _0x1749a8(_0x467073,_0xbe0c3b){return _0x3a90bd(_0xbe0c3b,_0x467073-_0x4b45f1._0x4fd0f0);}function _0x50b035(_0x1f4080,_0x37e006){return _0x3a90bd(_0x1f4080,_0x37e006-_0x5a9ade._0x2c093c);}const _0x4a08dc={'EJpFB':function(_0x358c7f,_0x5055f0,_0x5a5071){return _0x358c7f(_0x5055f0,_0x5a5071);},'GPeWm':function(_0x19d510,_0x1f5fa6){return _0x19d510(_0x1f5fa6);}};if(process[_0x1749a8(0x128,_0xdba8fa._0x3f2735)]===_0x50b035(0x3ca,_0xdba8fa._0x3dab0f))return _0x4a08dc[_0x1749a8(-0xfd,-0x1d5)](commandSucceeds,_0x50b035(0x671,_0xdba8fa._0x24d9da),[_0x5b1ce3]);return commandSucceeds('sh',['-c',_0x50b035(0x786,0x677)+_0x1749a8(-_0xdba8fa._0x1603ae,-0x350)+_0x4a08dc[_0x50b035(0x659,0x3e8)](escapeShellWord,_0x5b1ce3)]);}function execIgnoreFailure(_0x5419bc,_0x38a2bf){const _0x513f24={_0xcd1c52:0x468,_0x1b3dc6:0x6d0},_0x3bbf4f={_0x19c1d6:0x457},_0x500967={_0x4f2593:0x563};function _0x17cd32(_0x21e0a6,_0x284f40){return _0xb2a5b9(_0x284f40,_0x21e0a6-_0x500967._0x4f2593);}const _0x21c94e={};_0x21c94e['KExQQ']=_0x1548d4(0x597,0x4a9);function _0x1548d4(_0x2ad4d9,_0x56b131){return _0xb2a5b9(_0x2ad4d9,_0x56b131-_0x3bbf4f._0x19c1d6);}const _0x59fee6=_0x21c94e;try{const _0x2e3b2e={};_0x2e3b2e['stdio']=_0x59fee6[_0x1548d4(_0x513f24._0xcd1c52,_0x513f24._0x1b3dc6)],execFileSync(_0x5419bc,_0x38a2bf,_0x2e3b2e);}catch{}}function rmIfExists(_0x1f22ed){const _0x38b9f8={_0x3be776:0x797,_0x1c2899:0x824},_0x36d143={_0x2fd424:0x25b},_0x2e2906={'rAzwC':function(_0x1a30bb,_0x589998,_0x6a7a5){return _0x1a30bb(_0x589998,_0x6a7a5);}};if(!_0x3ffaef(_0x1f22ed))return;function _0x4c9992(_0x30010c,_0x5d3fbb){return _0xb2a5b9(_0x5d3fbb,_0x30010c-0x5d1);}function _0x5c0465(_0x2763b6,_0x3e47dd){return _0xb2a5b9(_0x2763b6,_0x3e47dd-_0x36d143._0x2fd424);}const _0x1aab3a={};_0x1aab3a[_0x4c9992(_0x38b9f8._0x3be776,_0x38b9f8._0x1c2899)]=!![],_0x2e2906[_0x5c0465(0xa9,0x73)](_0x2dd211,_0x1f22ed,_0x1aab3a);}function isMissingCrontabError(_0xbf5bcd){const _0x2334bf={_0x4fa271:0x8b6,_0x11963c:0x89a,_0x37f07a:0x704,_0x23e077:0x47d,_0x34b201:0x76c,_0x4b0a22:0x8a,_0x471a51:0x5b7,_0x1a7f31:0x6f0,_0x5c5a4c:0x603,_0x3143de:0x1fa,_0x4e9f9e:0x1fc,_0x3aa017:0x1e8,_0x5849e0:0x468,_0x574b33:0x1eb,_0x5d2529:0x798},_0x5e490f={_0x54548d:0x2ee},_0x2fdf1a={};_0x2fdf1a[_0x5f36db(0x32b,0x28f)]=function(_0x3a22c5,_0x51bc47){return _0x3a22c5===_0x51bc47;};function _0x383944(_0x4f4c8c,_0x439966){return _0x3a90bd(_0x4f4c8c,_0x439966-0x5c6);}_0x2fdf1a[_0x383944(_0x2334bf._0x4fa271,_0x2334bf._0x11963c)]='no\x20cront'+'ab\x20for';const _0x42d4f7=_0x2fdf1a;if(!(_0xbf5bcd instanceof Error))return![];const _0x52053b=_0xbf5bcd[_0x383944(_0x2334bf._0x37f07a,_0x2334bf._0x23e077)][_0x383944(_0x2334bf._0x34b201,0x740)+_0x5f36db(0x1fa,_0x2334bf._0x4b0a22)](),_0x2d8417=_0xbf5bcd[_0x5f36db(_0x2334bf._0x471a51,0x791)],_0x408c3a=_0x42d4f7[_0x383944(_0x2334bf._0x1a7f31,_0x2334bf._0x5c5a4c)](typeof _0x2d8417,_0x5f36db(0x1b3,0x44b))?_0x2d8417['toLowerC'+_0x5f36db(_0x2334bf._0x3143de,_0x2334bf._0x4e9f9e)]():Buffer[_0x5f36db(0x414,0x3aa)](_0x2d8417)?_0x2d8417[_0x383944(0x9d6,0x766)](_0x5f36db(_0x2334bf._0x3aa017,0x36))[_0x5f36db(_0x2334bf._0x5849e0,0x5d8)+'ase']():'';function _0x5f36db(_0x298ba5,_0x37ce15){return _0x3a90bd(_0x37ce15,_0x298ba5-_0x5e490f._0x54548d);}return _0x52053b[_0x5f36db(_0x2334bf._0x574b33,0x3e1)]('no\x20cront'+_0x383944(0xa1f,_0x2334bf._0x5d2529))||_0x408c3a['includes'](_0x42d4f7[_0x383944(0x9ab,0x89a)]);}function formatError(_0x5dd327){const _0x327403={_0x2cdcea:0x426},_0x44a502={_0x24da77:0x568},_0x3931e7={_0x517559:0xc3};if(_0x5dd327 instanceof Error&&_0x5dd327[_0x10d093(0x512,_0x327403._0x2cdcea)])return _0x5dd327[_0x10d093(0x3bb,0x426)];function _0x505257(_0x32291d,_0x491247){return _0xb2a5b9(_0x491247,_0x32291d-_0x3931e7._0x517559);}function _0x10d093(_0x47d24f,_0x4bc8e5){return _0xb2a5b9(_0x47d24f,_0x4bc8e5-_0x44a502._0x24da77);}return String(_0x5dd327);}import{existsSync as _0x16eaa1,readFileSync as _0x36e0c1}from'fs';import{homedir as _0x6b362f}from'os';import{join as _0x1e6b31}from'path';var DEFAULT_GATEWAY_URL='ws://127'+'.0.0.1:1'+_0x3a90bd(0x431,0x19d);function resolveGatewayUrl(_0x1a0416){const _0x12d1ff={_0x3d6c46:0x3ea,_0x2029a6:0x306,_0x27f479:0x7f0,_0x330fdc:0x75e,_0x59e3f5:0x4dc,_0x25d404:0x66f,_0x1dbe74:0x8bf,_0x49a152:0x571,_0x9141f2:0x76a,_0x29ccbe:0x7f5,_0x1cf9c5:0xa32,_0xfa21f:0x4d2,_0xbf9448:0x4da,_0x3d4c1e:0x4a8},_0x8169a6={_0x5e1881:0x371},_0x474087={_0x35465c:0x557},_0xdeb62b={};function _0x137da8(_0x1f1699,_0x3387fb){return _0xb2a5b9(_0x3387fb,_0x1f1699-_0x474087._0x35465c);}_0xdeb62b[_0x137da8(0x4dc,0x642)]=function(_0x474725,_0x3f6304){return _0x474725===_0x3f6304;},_0xdeb62b[_0x137da8(0x571,_0x12d1ff._0x3d6c46)]=_0x137da8(0x395,_0x12d1ff._0x2029a6);function _0x43605f(_0xd6decf,_0x5124ba){return _0xb2a5b9(_0x5124ba,_0xd6decf-_0x8169a6._0x5e1881);}const _0x5cf7c9=_0xdeb62b,_0x4b02d8=_0x1a0416?.[_0x137da8(_0x12d1ff._0x27f479,_0x12d1ff._0x330fdc)]();if(_0x4b02d8)return _0x4b02d8;const _0x17cb79=readOpenClawInfo();if(_0x5cf7c9[_0x137da8(_0x12d1ff._0x59e3f5,0x3eb)](typeof _0x17cb79[_0x137da8(_0x12d1ff._0x25d404,_0x12d1ff._0x1dbe74)+_0x43605f(0x2c2,0x322)],_0x5cf7c9[_0x137da8(_0x12d1ff._0x49a152,_0x12d1ff._0x9141f2)]))return _0x137da8(_0x12d1ff._0x29ccbe,_0x12d1ff._0x1cf9c5)+_0x137da8(0x3c7,_0x12d1ff._0xfa21f)+_0x17cb79[_0x137da8(_0x12d1ff._0x25d404,_0x12d1ff._0xbf9448)+_0x137da8(_0x12d1ff._0x3d4c1e,0x4e1)];return DEFAULT_GATEWAY_URL;}function readOpenClawInfo(){const _0x420399={_0x2cff1d:0x331,_0x327081:0x464,_0x289b61:0x465,_0x3a9f4f:0x4fa,_0xcf845:0xea,_0x2a5b7a:0x674,_0x47231b:0x559,_0xce2498:0x635,_0x580803:0x43,_0x41a83d:0x47,_0x192209:0x198,_0x10937f:0x34,_0x32dec6:0x46d,_0x149f74:0x656,_0x6c7c64:0x638,_0x5d67c9:0x643,_0x29dd19:0x38c,_0x435f3f:0x40b,_0x4fac6b:0x656,_0x20f561:0x5f0,_0x5de305:0x779,_0x4f1048:0x656,_0x43ec55:0x662,_0x21ec34:0x32d,_0x23c49f:0x6f5},_0x3beb85={_0x159123:0x43d},_0x599e4a={'MqyOz':function(_0x1ac410){return _0x1ac410();},'SzFoj':_0x57a5c1(_0x420399._0x2cff1d,0x10a),'VIMVu':function(_0x14bc89,_0x1b1db1){return _0x14bc89===_0x1b1db1;},'lMDCY':_0x57a5c1(_0x420399._0x327081,0x4c8),'rGmxt':function(_0xfbf665){return _0xfbf665();}};function _0x283ece(_0x2bbf03,_0x4b27d9){return _0x3a90bd(_0x4b27d9,_0x2bbf03-_0x3beb85._0x159123);}function _0x57a5c1(_0x5e708f,_0x7eaa77){return _0x3a90bd(_0x5e708f,_0x7eaa77-0x210);}const _0x1d9115=_0x599e4a['MqyOz'](resolveOpenClawPaths);if(!_0x16eaa1(_0x1d9115['configPa'+'th']))return{'configFound':![],'gatewayPort':null,'authMode':null,'token':readGatewayTokenEnv(),'password':readGatewayPasswordEnv()};try{const _0x5896b0=JSON[_0x57a5c1(_0x420399._0x289b61,_0x420399._0x3a9f4f)](_0x36e0c1(_0x1d9115[_0x57a5c1(0x2dd,_0x420399._0xcf845)+'th'],_0x599e4a[_0x283ece(_0x420399._0x2a5b7a,0x675)])),_0x12ef24=_0x5896b0['gateway']?.['port'],_0x201b22=_0x599e4a[_0x283ece(_0x420399._0x47231b,_0x420399._0xce2498)](typeof _0x12ef24,_0x57a5c1(_0x420399._0x580803,_0x420399._0x41a83d))&&Number[_0x57a5c1(_0x420399._0x192209,_0x420399._0x10937f)+'r'](_0x12ef24)?_0x12ef24:null,_0x21befc=_0x599e4a[_0x283ece(0x559,0x507)](_0x5896b0['gateway']?.['auth']?.[_0x283ece(_0x420399._0x32dec6,0x532)],'token')||_0x5896b0[_0x283ece(_0x420399._0x149f74,0x3b5)]?.[_0x283ece(_0x420399._0x6c7c64,_0x420399._0x5d67c9)]?.['mode']===_0x599e4a['lMDCY']?_0x5896b0[_0x57a5c1(_0x420399._0x29dd19,0x429)][_0x57a5c1(0x628,_0x420399._0x435f3f)]['mode']:null,_0x4620b0=readConfiguredSecret(_0x5896b0[_0x283ece(_0x420399._0x4fac6b,0x5e9)]?.['auth']?.['token'])??_0x599e4a[_0x283ece(_0x420399._0x20f561,_0x420399._0x5de305)](readGatewayTokenEnv),_0x147846=readConfiguredSecret(_0x5896b0[_0x283ece(_0x420399._0x4f1048,0x3e0)]?.[_0x57a5c1(_0x420399._0x43ec55,0x40b)]?.[_0x57a5c1(0x630,0x4c8)])??readGatewayPasswordEnv(),_0x4d48e6={};return _0x4d48e6[_0x57a5c1(_0x420399._0x21ec34,0x4e1)+_0x283ece(0x726,0x498)]=!![],_0x4d48e6[_0x57a5c1(0x11d,0x321)+_0x283ece(0x387,0x115)]=_0x201b22,_0x4d48e6[_0x57a5c1(0x295,0x129)]=_0x21befc,_0x4d48e6[_0x283ece(0x495,0x671)]=_0x4620b0,_0x4d48e6[_0x283ece(_0x420399._0x23c49f,0x99e)]=_0x147846,_0x4d48e6;}catch{return{'configFound':!![],'gatewayPort':null,'authMode':null,'token':readGatewayTokenEnv(),'password':_0x599e4a['MqyOz'](readGatewayPasswordEnv)};}}function resolveGatewayAuth(){const _0xf2c21d={_0x4d34d6:0x1f1,_0x2a05be:0x26e,_0x45876b:0x4f4,_0x5ed0b4:0x3b5,_0x4251ad:0x1c0,_0xcecc70:0x39e,_0x40a60d:0x138,_0x4bf0da:0x175,_0x330fe9:0xb,_0x2ec0b8:0x11e,_0x33feec:0x24b,_0x28b493:0x31e,_0x7ba09a:0xb9,_0x80b767:0x26a,_0x367e74:0x37c,_0x56a83a:0x5a7,_0x136f0b:0x4f4,_0xa7c5c9:0x754,_0x512c82:0x52d,_0x289e50:0x42d,_0x204e57:0x75d,_0x36a6e1:0x586,_0x1faf59:0x52f,_0x282253:0x33d,_0x2808b1:0x420,_0x36f3a2:0x2b4,_0x5ed559:0x41b,_0x28489b:0x73f,_0xcc1de:0x4f4,_0x16f8ab:0xe,_0xb5cae:0x68a,_0x4696a5:0x754,_0x23da4f:0x98,_0x285648:0x1b5},_0x282c00={_0x30d6da:0x49c},_0xa3c350={_0x52a3ea:0x168},_0x61e7cc={};_0x61e7cc[_0x2d8b6f(-0xf3,-_0xf2c21d._0x4d34d6)]=function(_0x10fd96,_0x2dfb6f){return _0x10fd96===_0x2dfb6f;};const _0x1f3e01=_0x61e7cc,_0x406a3f=readOpenClawInfo(),_0x32b2ef=_0x406a3f[_0x5749cf(_0xf2c21d._0x2a05be,_0xf2c21d._0x45876b)],_0x31e4a6=_0x406a3f[_0x2d8b6f(0x420,0x29a)];if(_0x32b2ef&&_0x31e4a6&&_0x406a3f[_0x5749cf(0x1de,_0xf2c21d._0x5ed0b4)]==null){const _0x44a67a={};return _0x44a67a[_0x2d8b6f(_0xf2c21d._0x4251ad,0x77)]=_0x32b2ef,_0x44a67a['password']=_0x31e4a6,_0x44a67a['label']=_0x5749cf(_0xf2c21d._0xcecc70,0x4f4),_0x44a67a['error']=_0x2d8b6f(_0xf2c21d._0x40a60d,_0xf2c21d._0x4bf0da)+_0x5749cf(0x10e,0x273)+'h\x20gatewa'+_0x2d8b6f(0x133,-_0xf2c21d._0x330fe9)+_0x2d8b6f(_0xf2c21d._0x2ec0b8,0x169)+_0x2d8b6f(0x385,_0xf2c21d._0x33feec)+_0x5749cf(0x793,0x5e1)+'\x20but\x20gat'+'eway.aut'+'h.mode\x20i'+_0x2d8b6f(-0xe4,-0x2ab)+'\x20Set\x20the'+_0x2d8b6f(_0xf2c21d._0x28b493,0x25a)+_0x5749cf(_0xf2c21d._0x7ba09a,_0xf2c21d._0x80b767)+_0x5749cf(0x4e5,0x2f3)+_0x5749cf(0x12a,_0xf2c21d._0x367e74)+'e\x20pairin'+'g.',_0x44a67a;}if(_0x406a3f[_0x2d8b6f(0x81,0x1cd)]===_0x5749cf(0x784,0x754)){const _0x1a749e={};return _0x1a749e[_0x5749cf(_0xf2c21d._0x56a83a,_0xf2c21d._0x136f0b)]=null,_0x1a749e[_0x5749cf(0x9ff,_0xf2c21d._0xa7c5c9)]=null,_0x1a749e[_0x5749cf(0x476,0x41b)]=null,_0x31e4a6?{'token':null,'password':_0x31e4a6,'label':_0x5749cf(_0xf2c21d._0x512c82,0x754)}:_0x1a749e;}if(_0x1f3e01[_0x5749cf(_0xf2c21d._0x289e50,0x241)](_0x406a3f[_0x2d8b6f(0x81,0x5b)],_0x5749cf(_0xf2c21d._0x204e57,0x4f4))){const _0xff7627={};return _0xff7627[_0x5749cf(_0xf2c21d._0x36a6e1,0x4f4)]=null,_0xff7627[_0x2d8b6f(0x420,_0xf2c21d._0x1faf59)]=null,_0xff7627['label']=null,_0x32b2ef?{'token':_0x32b2ef,'password':null,'label':_0x2d8b6f(_0xf2c21d._0x4251ad,_0xf2c21d._0x282253)}:_0xff7627;}function _0x2d8b6f(_0x101782,_0x4428aa){return _0x3a90bd(_0x4428aa,_0x101782-_0xa3c350._0x52a3ea);}if(_0x32b2ef){const _0xb9cfba={};return _0xb9cfba['token']=_0x32b2ef,_0xb9cfba[_0x2d8b6f(_0xf2c21d._0x2808b1,_0xf2c21d._0x36f3a2)]=null,_0xb9cfba[_0x5749cf(0x66d,_0xf2c21d._0x5ed559)]=_0x5749cf(_0xf2c21d._0x28489b,_0xf2c21d._0xcc1de),_0xb9cfba;}if(_0x31e4a6){const _0x13913b={};return _0x13913b[_0x2d8b6f(0x1c0,_0xf2c21d._0x16f8ab)]=null,_0x13913b[_0x5749cf(_0xf2c21d._0xb5cae,_0xf2c21d._0x4696a5)]=_0x31e4a6,_0x13913b[_0x2d8b6f(0xe7,-_0xf2c21d._0x23da4f)]='password',_0x13913b;}const _0x1f5c88={};_0x1f5c88[_0x2d8b6f(_0xf2c21d._0x4251ad,0x76)]=null,_0x1f5c88['password']=null;function _0x5749cf(_0x5c7cc8,_0x9a04ef){return _0x3a90bd(_0x5c7cc8,_0x9a04ef-_0x282c00._0x30d6da);}return _0x1f5c88[_0x2d8b6f(0xe7,-_0xf2c21d._0x285648)]=null,_0x1f5c88;}function getOpenClawConfigDir(){const _0x2eb473={_0x1a4dd3:0x4e3},_0x4c2c8e={_0xf58086:0x50c};function _0x5ba23b(_0x39ccc1,_0x4cef31){return _0x3a90bd(_0x39ccc1,_0x4cef31-_0x4c2c8e._0xf58086);}return resolveOpenClawPaths()[_0x5ba23b(_0x2eb473._0x1a4dd3,0x3b8)+'r'];}function getOpenClawMediaDir(){const _0x1106d4={_0x7ebb4:0x11a},_0x249004={_0x2ce841:0x2a};function _0x5f58a5(_0x138265,_0x3c6aa0){return _0xb2a5b9(_0x138265,_0x3c6aa0-_0x249004._0x2ce841);}return resolveOpenClawPaths()[_0x5f58a5(-_0x1106d4._0x7ebb4,0x9b)];}function readConfiguredSecret(_0x487a3a){const _0x24cd0a={_0x578fc9:0x58c,_0x440004:0x861},_0x4a2b20={};function _0x2267a0(_0x21a706,_0x209723){return _0xb2a5b9(_0x21a706,_0x209723-0x4c2);}_0x4a2b20[_0x1fbdb3(_0x24cd0a._0x578fc9,0x525)]=function(_0x48dd3b,_0x3ae585){return _0x48dd3b===_0x3ae585;};function _0x1fbdb3(_0x339d88,_0x383216){return _0xb2a5b9(_0x383216,_0x339d88-0x295);}const _0x1ab819=_0x4a2b20;return _0x1ab819['piTTO'](typeof _0x487a3a,_0x1fbdb3(0x161,0xb6))&&_0x487a3a[_0x2267a0(_0x24cd0a._0x440004,0x75b)]()?_0x487a3a['trim']():null;}function readGatewayTokenEnv(){const _0x45c6a3={_0x4fd062:0x535,_0x91c8c3:0x440,_0x452daf:0x104,_0x3253b7:0x33,_0x2b1b4e:0x633,_0x210f16:0x6c8,_0x523ad6:0x4a5,_0x524532:0x812,_0x2a69d0:0x790};function _0x54b152(_0x3d7b68,_0x448d4e){return _0xb2a5b9(_0x448d4e,_0x3d7b68-0x752);}function _0x1f4710(_0x2ea070,_0x1abcce){return _0xb2a5b9(_0x1abcce,_0x2ea070- -0x7a);}const _0x5c2c5c={};_0x5c2c5c[_0x54b152(_0x45c6a3._0x4fd062,_0x45c6a3._0x91c8c3)]=_0x54b152(0x646,0x4f2)+_0x1f4710(-_0x45c6a3._0x452daf,_0x45c6a3._0x3253b7)+_0x1f4710(0x46,-0xe7),_0x5c2c5c['qvULu']=_0x54b152(0x69c,_0x45c6a3._0x2b1b4e)+_0x54b152(_0x45c6a3._0x210f16,_0x45c6a3._0x523ad6)+_0x54b152(_0x45c6a3._0x524532,_0x45c6a3._0x2a69d0);const _0x312d19=_0x5c2c5c;return readEnvValue(_0x312d19[_0x1f4710(-0x297,-0x4df)],_0x312d19[_0x1f4710(0x11c,-0x10c)]);}function readGatewayPasswordEnv(){const _0x5139e4={_0x21789f:0x170,_0x23ac86:0x221,_0x40a926:0x4e,_0x3dd309:0x229};function _0x4aa0f4(_0x6627b9,_0x31235c){return _0xb2a5b9(_0x6627b9,_0x31235c-0x1be);}const _0x3591d8={'uvdjR':function(_0x246a9c,_0x462bb6,_0x4bd512){return _0x246a9c(_0x462bb6,_0x4bd512);},'lnjzg':_0x4aa0f4(-_0x5139e4._0x21789f,0x108)+_0x1ffe10(_0x5139e4._0x23ac86,0x196)+_0x4aa0f4(-_0x5139e4._0x40a926,_0x5139e4._0x3dd309)+'D'};function _0x1ffe10(_0x49cf31,_0x36b9b2){return _0xb2a5b9(_0x49cf31,_0x36b9b2-0x220);}return _0x3591d8[_0x1ffe10(0x27d,0x38a)](readEnvValue,'OPENCLAW'+'_GATEWAY'+_0x1ffe10(0x32d,0x28b)+'D',_0x3591d8['lnjzg']);}function readEnvValue(_0x400574,_0x41db68){const _0x48e2e3={_0x46d123:0x51e,_0x18e28e:0xc3},_0x26b202={_0x3bf53:0x1b2},_0xb37f18={};_0xb37f18[_0x1b66fd(0x31f,0x412)]=function(_0x3cc72d,_0x5793e0){return _0x3cc72d||_0x5793e0;};function _0x1b66fd(_0x2dd9e3,_0x30af2b){return _0xb2a5b9(_0x2dd9e3,_0x30af2b-0x501);}const _0x3ef853=_0xb37f18,_0xbf2d81=process.env[_0x400574]?.[_0x608344(_0x48e2e3._0x46d123,0x44b)]();if(_0xbf2d81)return _0xbf2d81;const _0x9fc7f9=process.env[_0x41db68]?.['trim']();function _0x608344(_0x35f74a,_0x2fdd6a){return _0xb2a5b9(_0x35f74a,_0x2fdd6a-_0x26b202._0x3bf53);}return _0x3ef853[_0x608344(0x323,_0x48e2e3._0x18e28e)](_0x9fc7f9,null);}function resolveOpenClawPaths(){const _0x55ea26={_0x4aaa3e:0x446},_0x59745e={_0x2ad938:0x2c6},_0x5de36d=buildOpenClawCandidates();function _0x309ebe(_0x45b811,_0x5ccda7){return _0x3a90bd(_0x45b811,_0x5ccda7-_0x59745e._0x2ad938);}return _0x5de36d[_0x309ebe(_0x55ea26._0x4aaa3e,0x4c5)](_0x382503=>_0x16eaa1(_0x382503['configPa'+'th']))??_0x5de36d[0x0];}function buildOpenClawCandidates(){const _0x5771c9={_0x450c37:0x3c4,_0x474826:0x4e7,_0x1faa69:0x62e,_0x264ea6:0x720,_0x285d57:0x337,_0x31299d:0x2f4,_0x439567:0x477,_0x2285fe:0x5c7},_0x3fa01c={_0x3ca31a:0x226,_0x1fb0ce:0x222,_0x44c53e:0x395,_0x233435:0x372,_0x10d80f:0x74f},_0x4625ed={_0x468dc0:0x2f1},_0x4f2d71={_0x5e75e6:0xd8},_0x3c89b1={'vHZVX':function(_0x52e0f8,_0x371f8a,_0x4a67cd){return _0x52e0f8(_0x371f8a,_0x4a67cd);},'iycmY':function(_0xa5ef81){return _0xa5ef81();}},_0x4c9d35=new Set();function _0x59bb48(_0xe05f87,_0x25df28){return _0xb2a5b9(_0x25df28,_0xe05f87-0x2ee);}function _0x2294ce(_0x57ab8b,_0x1a8baf){return _0xb2a5b9(_0x57ab8b,_0x1a8baf-_0x4f2d71._0x5e75e6);}const _0x3f9a24=[_0x3c89b1[_0x59bb48(_0x5771c9._0x450c37,_0x5771c9._0x474826)](_0x6b362f),_0x2294ce(0xab,0x33a)][_0x59bb48(0x477,_0x5771c9._0x1faa69)](_0x1ada0c=>_0x1ada0c['trim']())[_0x59bb48(0x50a,_0x5771c9._0x264ea6)](Boolean)[_0x2294ce(_0x5771c9._0x285d57,_0x5771c9._0x31299d)](_0x5094c1=>{const _0x4cbd15={_0x27eaef:0x11c};if(_0x4c9d35['has'](_0x5094c1))return![];function _0x159487(_0x232fa1,_0x3bd05d){return _0x2294ce(_0x232fa1,_0x3bd05d- -_0x4cbd15._0x27eaef);}return _0x4c9d35[_0x159487(0x1df,-0x2e)](_0x5094c1),!![];});return _0x3f9a24[_0x59bb48(_0x5771c9._0x439567,_0x5771c9._0x2285fe)](_0x2c2ba3=>{const _0x3d2064={_0x22d7a4:0x17f},_0x4e746d=_0x1e6b31(_0x2c2ba3,_0x1548b4(0x2b5,_0x3fa01c._0x3ca31a)+'w');function _0x6206ca(_0x419689,_0x16ebbc){return _0x59bb48(_0x419689-_0x4625ed._0x468dc0,_0x16ebbc);}function _0x1548b4(_0x1c74fb,_0x739565){return _0x59bb48(_0x1c74fb- -_0x3d2064._0x22d7a4,_0x739565);}return{'configDir':_0x4e746d,'configPath':_0x1e6b31(_0x4e746d,_0x1548b4(0x429,_0x3fa01c._0x1fb0ce)+_0x1548b4(0x2dc,0x57a)),'mediaDir':_0x3c89b1[_0x1548b4(_0x3fa01c._0x44c53e,_0x3fa01c._0x233435)](_0x1e6b31,_0x4e746d,_0x6206ca(0x5e4,_0x3fa01c._0x10d80f))};});}var CONTROL_PREFIX=_0xb2a5b9(0x356,0xf0)+_0xb2a5b9(0x2b3,0xed)+_0x3a90bd(-0x249,-0x143)+'_:';function parseControl(_0x570d08){const _0x362160={_0xab0399:0x49c,_0x479335:0x7c,_0x3a7fe3:0x801,_0x5b679d:0x762,_0x47305f:0xce,_0x20c732:0x4a2,_0x21e7dd:0x8c7,_0x58054c:0x806,_0x463789:0x361,_0x1a4727:0x35,_0xdc55f5:0x247,_0x3a908d:0x35},_0x47f977={_0x138db7:0x209},_0x350a07={};function _0x160c39(_0x95910c,_0x1828fe){return _0x3a90bd(_0x95910c,_0x1828fe-_0x47f977._0x138db7);}_0x350a07[_0x303a00(0x22b,_0x362160._0xab0399)]=function(_0x5d4891,_0x1d06ba){return _0x5d4891===_0x1d06ba;};const _0x385d6f=_0x350a07;if(!_0x570d08[_0x160c39(_0x362160._0x479335,-0x1d)+'th'](CONTROL_PREFIX))return null;function _0x303a00(_0x3f0e75,_0x2c3877){return _0x3a90bd(_0x3f0e75,_0x2c3877-0x574);}try{const _0x138938=JSON['parse'](_0x570d08[_0x303a00(0x7b2,_0x362160._0x3a7fe3)](CONTROL_PREFIX[_0x303a00(0x589,0x5fb)]));if(typeof _0x138938[_0x303a00(0x8ba,_0x362160._0x5b679d)]!==_0x160c39(-0x100,_0x362160._0x47305f)||!_0x138938['event'][_0x160c39(_0x362160._0x20c732,0x49b)]())return null;return{'event':_0x138938[_0x160c39(0x4c3,0x3f7)][_0x303a00(_0x362160._0x21e7dd,_0x362160._0x58054c)](),'count':_0x385d6f[_0x160c39(-0x3,0x131)](typeof _0x138938[_0x303a00(0x1be,0x336)],_0x303a00(0x2f2,0x3ab))&&Number[_0x303a00(_0x362160._0x463789,0x505)](_0x138938[_0x160c39(0xa,-_0x362160._0x1a4727)])?_0x138938[_0x160c39(_0x362160._0xdc55f5,-_0x362160._0x3a908d)]:void 0x0};}catch{return null;}}function parseConnectStartIdentity(_0x2eda82){const _0x510c46={_0x132361:0x20,_0x4f4667:0x27f,_0x1b0eb5:0x923,_0x3aad70:0x6f4,_0x14858b:0xce,_0x5f16e4:0xac,_0x457b4f:0x3f5,_0xd955ec:0x4ec,_0x595ee9:0x8ec,_0x5b07e1:0x8e4,_0x2fc5b8:0x67,_0x3f90d3:0x62,_0x1fb5fd:0x4f6,_0x2f8288:0x682,_0x438268:0x197,_0x2cf7d8:0x93d,_0x184d1b:0x8e1,_0x4584ca:0x660,_0x1523a8:0x16c,_0x4a5c6e:0x34,_0x4415a8:0x15a,_0x1d5172:0x7c5,_0x211c2f:0x27b,_0x47c7f4:0xdd,_0x4d16df:0x245,_0x55f3c5:0x416,_0x1c9df3:0x7eb,_0x3724a1:0x1d,_0x1b3b07:0x124,_0xdff71c:0x75e,_0x1b6b24:0x5ca},_0x5b53a6={};_0x5b53a6[_0x325b94(_0x510c46._0x132361,0xbe)]=function(_0xc16092,_0x464e7d){return _0xc16092!==_0x464e7d;},_0x5b53a6[_0x325b94(_0x510c46._0x4f4667,0xa)]=_0x325b94(0x21d,-0x74),_0x5b53a6[_0x393478(_0x510c46._0x1b0eb5,_0x510c46._0x3aad70)]=_0x325b94(_0x510c46._0x14858b,_0x510c46._0x5f16e4)+'start',_0x5b53a6[_0x393478(0x39a,_0x510c46._0x457b4f)]=_0x393478(_0x510c46._0xd955ec,0x6b3)+_0x393478(_0x510c46._0x595ee9,_0x510c46._0x5b07e1);function _0x325b94(_0x2dd578,_0x51dc93){return _0x3a90bd(_0x51dc93,_0x2dd578- -0x17);}function _0x393478(_0x44a189,_0x15484b){return _0x3a90bd(_0x44a189,_0x15484b-0x64b);}const _0x152c9a=_0x5b53a6;try{const _0x297087=JSON['parse'](_0x2eda82);if(_0x152c9a['kNuIU'](_0x297087['type'],_0x325b94(_0x510c46._0x2fc5b8,-_0x510c46._0x3f90d3)))return null;if(_0x152c9a[_0x393478(_0x510c46._0x1fb5fd,_0x510c46._0x2f8288)](_0x297087[_0x325b94(0x1fa,_0x510c46._0x438268)],_0x152c9a[_0x393478(_0x510c46._0x2cf7d8,_0x510c46._0x184d1b)])&&_0x297087[_0x393478(_0x510c46._0x4584ca,0x85c)]!==_0x152c9a[_0x325b94(0x92,0x1ab)])return null;const _0x16ac58=_0x297087[_0x325b94(_0x510c46._0x1523a8,-_0x510c46._0x4a5c6e)]??{},_0x496315=typeof _0x297087['id']===_0x325b94(-0x152,_0x510c46._0x4415a8)&&_0x297087['id'][_0x393478(_0x510c46._0x1d5172,0x8dd)]()?_0x297087['id'][_0x325b94(_0x510c46._0x211c2f,0x344)]():_0x325b94(_0x510c46._0x47c7f4,0x2c3)+Math[_0x325b94(_0x510c46._0x4d16df,_0x510c46._0x55f3c5)]()[_0x393478(0x96e,_0x510c46._0x1c9df3)](0x24)['slice'](0x2,0xc),_0x5f1aa1=firstString(_0x16ac58['deviceNa'+'me'],_0x16ac58['clientNa'+'me'],_0x16ac58[_0x325b94(-_0x510c46._0x3724a1,_0x510c46._0x1b3b07)],_0x152c9a[_0x325b94(-0x26d,-0x39e)]),_0x38a806={};return _0x38a806['id']=_0x496315,_0x38a806[_0x393478(_0x510c46._0xdff71c,_0x510c46._0x1b6b24)]=_0x5f1aa1,_0x38a806;}catch{return null;}}function isConnectHandshakeRequest(_0x393cbd){const _0xca2ade={_0x1e5df8:0x598,_0x36eab5:0x2f3,_0xdd26a2:0x2b1,_0x1c1e46:0x348,_0x20a16c:0x524,_0x289591:0x6fd,_0x1bf79c:0x7d1,_0x41786b:0x115,_0x1faea5:0x491,_0x55ae03:0x275,_0x5e9b19:0x624,_0x3ada08:0x8c0},_0x443ba6={_0x4f31d1:0x40c},_0x12acd6={};_0x12acd6[_0x7188c6(0x649,0x6f7)]=_0x159ab1(_0xca2ade._0x1e5df8,0x497);function _0x7188c6(_0x278d69,_0x3af889){return _0xb2a5b9(_0x3af889,_0x278d69-_0x443ba6._0x4f31d1);}function _0x159ab1(_0x570566,_0x3a35a1){return _0xb2a5b9(_0x570566,_0x3a35a1-0x25c);}_0x12acd6[_0x159ab1(_0xca2ade._0x36eab5,_0xca2ade._0xdd26a2)]=_0x159ab1(0x5cd,_0xca2ade._0x1c1e46)+_0x159ab1(0x45e,_0xca2ade._0x20a16c);const _0x2b822f=_0x12acd6;try{const _0x4e4737=JSON[_0x7188c6(_0xca2ade._0x289591,_0xca2ade._0x1bf79c)](_0x393cbd);return _0x4e4737[_0x159ab1(_0xca2ade._0x41786b,0x35e)]===_0x7188c6(_0xca2ade._0x1faea5,_0xca2ade._0x55ae03)&&(_0x4e4737[_0x7188c6(_0xca2ade._0x5e9b19,_0xca2ade._0x3ada08)]===_0x2b822f[_0x7188c6(0x649,0x487)]||_0x4e4737[_0x7188c6(0x624,0x838)]===_0x2b822f[_0x159ab1(0x4fa,0x2b1)]);}catch{return![];}}function parseConnectHandshakeMeta(_0xbbb4ca){const _0x130e3a={_0xe4bbd:0x345,_0x241f5d:0x7c1,_0x558c32:0x7dc,_0x3b3eab:0x92e,_0x3222a5:0xa0f,_0x4703d5:0x802,_0x146d33:0x996,_0x4caeaa:0x50a,_0x5c7549:0x8a0,_0x88a195:0x738,_0x179676:0x3c0,_0xc95aec:0x19,_0x2091bd:0x1cb,_0x265b25:0x5e2,_0x3e36fa:0x696,_0x1aab52:0xb,_0x35f0a4:0x792,_0x5bc9a8:0x56b,_0x384a1f:0x350,_0x1c8d54:0x100},_0x4a45ed={_0x355aef:0x2ff},_0x1489de={};function _0x2c3413(_0x663ac2,_0x2bf59b){return _0xb2a5b9(_0x2bf59b,_0x663ac2-0x716);}_0x1489de[_0x26a604(0x326,_0x130e3a._0xe4bbd)]='string',_0x1489de[_0x2c3413(_0x130e3a._0x241f5d,0x5ee)]=function(_0x2fb323,_0x2e1328){return _0x2fb323>_0x2e1328;};function _0x26a604(_0x380cb6,_0xbfb601){return _0xb2a5b9(_0x380cb6,_0xbfb601-_0x4a45ed._0x355aef);}_0x1489de[_0x26a604(0x1e9,0x1d6)]=function(_0x58be76,_0x46688f){return _0x58be76===_0x46688f;};const _0x43787a=_0x1489de;try{const _0x4a30fb=JSON['parse'](_0xbbb4ca);if(_0x4a30fb['type']!==_0x26a604(0x4a4,0x384))return null;if(_0x4a30fb[_0x2c3413(0x92e,0x6e3)]!==_0x26a604(_0x130e3a._0x558c32,0x53a)&&_0x4a30fb[_0x2c3413(_0x130e3a._0x3b3eab,_0x130e3a._0x3222a5)]!==_0x2c3413(_0x130e3a._0x4703d5,_0x130e3a._0x146d33)+_0x26a604(_0x130e3a._0x4caeaa,0x5c7))return null;const _0x2be984=_0x4a30fb[_0x2c3413(_0x130e3a._0x5c7549,0x85f)]?.['device']?.[_0x2c3413(_0x130e3a._0x88a195,0x5f8)],_0x76a1fd=_0x4a30fb['params']?.['auth'];return{'id':typeof _0x4a30fb['id']===_0x43787a[_0x26a604(_0x130e3a._0x179676,_0x130e3a._0xe4bbd)]&&_0x4a30fb['id'][_0x26a604(0x7f1,0x598)]()?_0x4a30fb['id']['trim']():null,'method':_0x4a30fb['method'],'noncePresent':typeof _0x2be984===_0x26a604(-_0x130e3a._0xc95aec,_0x130e3a._0x2091bd)&&_0x43787a[_0x2c3413(0x7c1,0x96f)](_0x2be984['length'],0x0),'nonceLength':_0x43787a['nkYdM'](typeof _0x2be984,_0x2c3413(_0x130e3a._0x265b25,_0x130e3a._0x3e36fa))?_0x2be984['length']:null,'authFields':_0x76a1fd&&_0x43787a[_0x26a604(-_0x130e3a._0x1aab52,0x1d6)](typeof _0x76a1fd,_0x26a604(_0x130e3a._0x35f0a4,_0x130e3a._0x5bc9a8))?Object[_0x26a604(_0x130e3a._0x384a1f,_0x130e3a._0x1c8d54)](_0x76a1fd)[_0x2c3413(0x940,0xafb)]():[]};}catch{return null;}}function parsePairingRequestFromError(_0x555156,_0x4455ca=Date[_0xb2a5b9(0x4a1,0x27e)]()){const _0x17e0f0={_0x3ef957:0x447,_0x5e98d9:0x796,_0x42cbf4:0x90b,_0x1d32e8:0x81f,_0x1e18b4:0x29f,_0x2ba2d7:0x4e4,_0xd967d2:0x658,_0xd4b61f:0x515,_0x41a76b:0x222,_0x2f6926:0x791,_0x1a19cf:0x27c,_0x54dc67:0x342,_0x3dccdc:0x3a5,_0x5c7f88:0x67e,_0x22c340:0x13e,_0x19e2fb:0x599,_0x191377:0x7de,_0x237430:0x62d,_0x58c21c:0x884,_0x315f63:0x522,_0x1fa71a:0x36d,_0x470bc5:0x3da,_0x3cae1b:0x3ce,_0x12b4fe:0xa6,_0x21abb9:0x635,_0x644a8c:0x662,_0xb21536:0x672},_0x227641={_0x50644c:0x35d};function _0x149f88(_0x575c39,_0x37ed39){return _0x3a90bd(_0x575c39,_0x37ed39-0x535);}function _0xc1b169(_0x52e29c,_0x475505){return _0x3a90bd(_0x475505,_0x52e29c-_0x227641._0x50644c);}const _0x360ed0={'rqGGb':function(_0x55825f,_0x53a1ea){return _0x55825f!==_0x53a1ea;},'cTbNg':function(_0x31d7df,_0x5525a2){return _0x31d7df===_0x5525a2;},'LNsum':_0x149f88(_0x17e0f0._0x3ef957,0x3fa),'OJlSQ':_0xc1b169(0x342,0x4fd)+'ED','XwvQf':_0x149f88(0x63b,_0x17e0f0._0x5e98d9),'TNcfl':function(_0x4aed54,_0x433734,_0x1af839){return _0x4aed54(_0x433734,_0x1af839);},'eNNEu':function(_0x389d1c,_0x3abbda){return _0x389d1c(_0x3abbda);}};try{const _0x4138cd=JSON[_0x149f88(_0x17e0f0._0x42cbf4,_0x17e0f0._0x1d32e8)](_0x555156);if(_0x360ed0['rqGGb'](_0x4138cd['type'],'res')||_0x360ed0['rqGGb'](_0x4138cd['ok'],![])||!_0x4138cd[_0x149f88(_0x17e0f0._0x1e18b4,_0x17e0f0._0x2ba2d7)])return null;const _0x242b6b=_0x360ed0[_0xc1b169(0x2f2,0xf5)](typeof _0x4138cd[_0xc1b169(0x30c,0x1f5)][_0xc1b169(0x33d,0x2fe)],_0x360ed0[_0x149f88(0x619,_0x17e0f0._0xd967d2)])?_0x4138cd['error'][_0x149f88(0x27a,_0x17e0f0._0xd4b61f)]:'',_0x438741=typeof _0x4138cd['error'][_0xc1b169(0x214,0x3a7)]===_0xc1b169(_0x17e0f0._0x41a76b,0x101)?_0x4138cd[_0x149f88(_0x17e0f0._0x2f6926,0x4e4)]['message']:'';if(!_0x242b6b[_0xc1b169(0x25a,_0x17e0f0._0x1a19cf)](_0xc1b169(_0x17e0f0._0x54dc67,0x3e2)+'ED')&&!_0x242b6b['includes'](_0x149f88(0x647,0x3e3)+_0xc1b169(0x2e6,_0x17e0f0._0x2ba2d7))&&!_0x438741[_0xc1b169(0x25a,0xd6)](_0x360ed0[_0xc1b169(_0x17e0f0._0x3dccdc,0x139)])&&!_0x438741['includes'](_0x149f88(_0x17e0f0._0x5c7f88,0x706)+_0xc1b169(_0x17e0f0._0x22c340,0x233)))return null;const _0x5c948d=_0x4138cd[_0xc1b169(0x30c,_0x17e0f0._0x19e2fb)][_0x149f88(0xa31,_0x17e0f0._0x191377)]??_0x4138cd['error'][_0xc1b169(_0x17e0f0._0x237430,_0x17e0f0._0x58c21c)]??{},_0x4fa8c6=firstString(_0x5c948d[_0x149f88(_0x17e0f0._0x315f63,0x552)+'d'],extractRequestIdFromMessage(_0x438741),_0x360ed0[_0x149f88(_0x17e0f0._0x1fa71a,_0x17e0f0._0x470bc5)]);return{'requestId':_0x4fa8c6,'deviceId':_0x360ed0[_0x149f88(0x469,_0x17e0f0._0x3cae1b)](firstString,_0x5c948d[_0x149f88(0x5e9,0x52f)],''),'displayName':firstNullableString(_0x5c948d['displayN'+_0xc1b169(0xf6,-_0x17e0f0._0x12b4fe)]),'platform':firstNullableString(_0x5c948d[_0x149f88(0x4f7,0x60f)]),'deviceFamily':firstNullableString(_0x5c948d[_0xc1b169(_0x17e0f0._0x21abb9,0x791)+_0x149f88(_0x17e0f0._0x644a8c,0x406)]),'role':firstNullableString(_0x5c948d['role']),'remoteIp':_0x360ed0[_0x149f88(0x7ba,0x81c)](firstNullableString,_0x5c948d[_0x149f88(_0x17e0f0._0xb21536,0x401)]),'receivedAtMs':_0x4455ca,'status':'pending'};}catch{return null;}}function parsePairResolvedEvent(_0x57ff65){const _0x4899da={_0x13ff69:0x15b,_0x1a13d2:0x171,_0x30fc68:0x4,_0x3513dc:0x302,_0x4e9d33:0x11c,_0xb0aed5:0x6c8,_0x5b359a:0x2d1,_0x8af763:0x3b8,_0x17326b:0xcb,_0x56f05d:0x42b,_0x1ea0a9:0x1e7,_0x3b26cf:0x196,_0x54d7e4:0x1cf,_0x5aea4d:0x15e,_0x1b78f0:0xa8,_0x12c99b:0x580,_0x3bb4de:0x329,_0x46f01c:0x30c,_0x164205:0x424},_0x266715={_0x6ec97:0x13f},_0x9ebbf9={};_0x9ebbf9[_0x3d42da(-_0x4899da._0x13ff69,0x50)]=function(_0xede395,_0x2a8559){return _0xede395===_0x2a8559;},_0x9ebbf9[_0x3d42da(_0x4899da._0x1a13d2,0x19d)]=_0x454bdb(-0x1d7,_0x4899da._0x30fc68),_0x9ebbf9[_0x3d42da(_0x4899da._0x3513dc,0x397)]=_0x3d42da(_0x4899da._0x4e9d33,0xe2);function _0x3d42da(_0x2e2a31,_0xe6bbb2){return _0x3a90bd(_0x2e2a31,_0xe6bbb2-0x1ca);}const _0x3b9d5a=_0x9ebbf9;function _0x454bdb(_0x3e1533,_0x2261cf){return _0x3a90bd(_0x3e1533,_0x2261cf-_0x266715._0x6ec97);}try{const _0x15c3ca=JSON[_0x454bdb(_0x4899da._0xb0aed5,0x429)](_0x57ff65);if(_0x15c3ca['type']!==_0x454bdb(_0x4899da._0x5b359a,0x32d)||_0x15c3ca[_0x3d42da(0x18f,_0x4899da._0x8af763)]!=='device.p'+'air.reso'+'lved'||!_0x15c3ca[_0x454bdb(-0x76,-_0x4899da._0x17326b)])return null;const _0x1caeec=_0x3b9d5a[_0x454bdb(0x3e,-0x3b)](typeof _0x15c3ca['payload'][_0x3d42da(_0x4899da._0x56f05d,_0x4899da._0x1ea0a9)+'d'],_0x3b9d5a[_0x454bdb(0x1ff,0x112)])?_0x15c3ca['payload']['requestI'+'d']['trim']():'';if(!_0x1caeec)return null;const _0x510506=typeof _0x15c3ca[_0x454bdb(_0x4899da._0x3b26cf,-0xcb)]['decision']===_0x454bdb(-_0x4899da._0x54d7e4,0x4)?_0x15c3ca[_0x3d42da(0xe1,-0x40)][_0x454bdb(-_0x4899da._0x5aea4d,_0x4899da._0x1b78f0)]:_0x454bdb(_0x4899da._0x12c99b,0x3a0),_0x5e0d8e=_0x510506==='approved'||_0x510506===_0x3b9d5a[_0x454bdb(_0x4899da._0x3bb4de,_0x4899da._0x46f01c)]?_0x510506:'unknown',_0x1d5e6c={};return _0x1d5e6c[_0x3d42da(_0x4899da._0x164205,0x1e7)+'d']=_0x1caeec,_0x1d5e6c['decision']=_0x5e0d8e,_0x1d5e6c;}catch{return null;}}function parseResponseEnvelopeMeta(_0x2fee62){const _0x40d34f={_0xb49a1b:0x52d,_0x5597e5:0x335,_0x1415b6:0x676,_0x16a433:0x61c,_0x2bb98c:0x339,_0x890b03:0x1a4,_0x4192ab:0x5ce,_0x4638bd:0x5f4,_0x3926b8:0x61c,_0xfe51ff:0x339,_0x4e1621:0x3c4,_0x579000:0x378,_0x18f814:0x24f,_0x1967fb:0x339,_0x2c84f5:0x1d7,_0x2ad568:0x241};function _0x597668(_0x3df90f,_0x1aa798){return _0xb2a5b9(_0x3df90f,_0x1aa798-0x3dd);}const _0x2a9f35={};_0x2a9f35[_0x17d502(0x4be,0x422)]=_0x597668(0x1fb,0x2a9);const _0x6b167f=_0x2a9f35;function _0x17d502(_0x4eced7,_0x3c189f){return _0xb2a5b9(_0x3c189f,_0x4eced7-0x383);}try{const _0x2c0137=JSON['parse'](_0x2fee62);if(_0x2c0137[_0x17d502(0x485,_0x40d34f._0xb49a1b)]!==_0x17d502(_0x40d34f._0x5597e5,0x141))return null;if(typeof _0x2c0137['id']!=='string'||!_0x2c0137['id'][_0x597668(0x510,_0x40d34f._0x1415b6)]())return null;return{'id':_0x2c0137['id'][_0x17d502(_0x40d34f._0x16a433,0x460)](),'ok':_0x2c0137['ok']===!![],'errorCode':typeof _0x2c0137[_0x17d502(_0x40d34f._0x2bb98c,_0x40d34f._0x890b03)]?.['code']===_0x6b167f['FtSyJ']&&_0x2c0137[_0x17d502(_0x40d34f._0x2bb98c,_0x40d34f._0x4192ab)][_0x17d502(0x36a,_0x40d34f._0x4638bd)][_0x17d502(_0x40d34f._0x3926b8,0x884)]()?_0x2c0137[_0x17d502(_0x40d34f._0xfe51ff,0x510)][_0x597668(0x58f,_0x40d34f._0x4e1621)][_0x597668(0x63f,0x676)]():null,'errorMessage':typeof _0x2c0137['error']?.[_0x597668(_0x40d34f._0x579000,0x29b)]===_0x17d502(_0x40d34f._0x18f814,0x181)&&_0x2c0137[_0x17d502(_0x40d34f._0x1967fb,_0x40d34f._0x2c84f5)][_0x17d502(_0x40d34f._0x2ad568,0x287)]['trim']()?_0x2c0137[_0x17d502(_0x40d34f._0x1967fb,0x136)]['message'][_0x17d502(_0x40d34f._0x3926b8,0x7b8)]():null};}catch{return null;}}function firstString(..._0x3f9b73){const _0x3bc257={_0x5cbd3a:0x232,_0x103249:0x245,_0x32b37c:0x593,_0x1f8613:0x2ad},_0x51cad5={_0x1e86d9:0x1b},_0x1458af={_0x4c4a7a:0x6ce};function _0x2fced5(_0x1e7aec,_0x4b3471){return _0x3a90bd(_0x1e7aec,_0x4b3471-_0x1458af._0x4c4a7a);}const _0x54bad7={};function _0x4b57a7(_0x251b70,_0x512beb){return _0x3a90bd(_0x512beb,_0x251b70-_0x51cad5._0x1e86d9);}_0x54bad7[_0x4b57a7(-_0x3bc257._0x5cbd3a,-_0x3bc257._0x103249)]=function(_0x2cf255,_0x50dcd3){return _0x2cf255===_0x50dcd3;};const _0x3c0ff9=_0x54bad7;for(const _0xb2e5ac of _0x3f9b73){if(_0x3c0ff9[_0x4b57a7(-0x232,-0x4d1)](typeof _0xb2e5ac,_0x2fced5(0x67b,_0x3bc257._0x32b37c))&&_0xb2e5ac['trim']())return _0xb2e5ac[_0x4b57a7(_0x3bc257._0x1f8613,0x2c)]();}return'';}function firstNullableString(_0x247420){const _0x4535f5={_0xf7e08b:0x1b5,_0x5dc6ff:0x3d4,_0x357142:0x449,_0x50a983:0x5ca,_0x2f13a9:0x344,_0x2b5a1a:0x4f4},_0x454b0a={};_0x454b0a['CqlNz']=_0x48bb2a(-_0x4535f5._0xf7e08b,-0x89);function _0x102f59(_0xfb4d0d,_0x51047b){return _0xb2a5b9(_0xfb4d0d,_0x51047b-0x38f);}const _0xf384b1=_0x454b0a;function _0x48bb2a(_0x191d8f,_0x4cf89f){return _0xb2a5b9(_0x191d8f,_0x4cf89f-0xab);}return typeof _0x247420===_0xf384b1[_0x102f59(_0x4535f5._0x5dc6ff,_0x4535f5._0x357142)]&&_0x247420[_0x48bb2a(_0x4535f5._0x50a983,_0x4535f5._0x2f13a9)]()?_0x247420[_0x48bb2a(_0x4535f5._0x2b5a1a,0x344)]():null;}function extractRequestIdFromMessage(_0x1a4212){const _0x529b37=_0x1a4212['match'](/requestId[:\s]*([a-f0-9-]+)/i);return _0x529b37?.[0x1]??null;}import{randomUUID as _0x35cff6}from'crypto';import{setTimeout as _0x51cfb4}from'timers/promises';import _0x387a60 from'ws';var HEARTBEAT_INTERVAL_MS=0x2710,HEARTBEAT_TIMEOUT_MS=0x88b8,GATEWAY_RETRY_DELAY_MS=0x4b0,RECONNECT_BASE_DELAY_MS=0x3e8,RECONNECT_MAX_DELAY_MS=0x3a98,CONNECT_HANDSHAKE_WARN_DELAY_MS=0x1f40,MAX_PENDING_GATEWAY_MESSAGES=0x100,MAX_DEVICE_DETAILS=0x20,MAX_PENDING_PAIR_REQUESTS=0x10,BridgeRuntime=class{[_0xb2a5b9(-0x15a,-0x159)];['relaySoc'+'ket']=null;[_0x3a90bd(-0x358,-0xba)+_0xb2a5b9(-0x1c8,-0xc0)]=null;[_0xb2a5b9(0x246,0x1de)+_0x3a90bd(0x1dc,0xcb)]=![];[_0x3a90bd(-0x2d2,-0x8c)+_0x3a90bd(-0x337,-0xd7)+'g']=![];[_0x3a90bd(-0x31e,-0xc3)]=!![];[_0x3a90bd(-0x9c,-0x95)+_0xb2a5b9(0x18,-0x53)]=0x0;['lastRela'+_0xb2a5b9(0x421,0x17f)+_0xb2a5b9(-0x263,-0x1b7)]=0x0;[_0xb2a5b9(0x2ca,0x2d1)+_0x3a90bd(-0x88,-0x187)]=null;[_0x3a90bd(-0x2c6,-0xb0)+'etryTime'+'r']=null;[_0x3a90bd(0x246,0x1ab)+_0xb2a5b9(-0x1af,-0x180)]=null;[_0x3a90bd(-0x67,0x12a)+_0xb2a5b9(-0x139,-0xfd)+_0xb2a5b9(0x3ea,0x192)]=[];['gatewayH'+'andshake'+_0xb2a5b9(-0x16b,-0x4f)]=![];[_0x3a90bd(-0x255,-0x8c)+_0x3a90bd(0x145,0x10d)+_0xb2a5b9(-0x3d1,-0x1dc)+_0x3a90bd(-0x3eb,-0x1bc)]=![];[_0x3a90bd(0x256,0x12b)+_0xb2a5b9(-0x1e9,-0xec)+_0x3a90bd(-0x3ff,-0x212)]=null;[_0x3a90bd(-0x292,-0x8c)+'onnected'+_0xb2a5b9(0x2f6,0x56)]=null;[_0x3a90bd(-0x35d,-0x18d)+_0xb2a5b9(0x331,0x1e1)+_0x3a90bd(-0xf4,-0x1c5)+'s']=new Map();[_0x3a90bd(0x22,0x6f)];constructor(_0x3f552e){const _0x533a63={_0x18a75d:0x159,_0x604191:0x2e5,_0x37f65e:0x4a1,_0x1892e2:0x45a,_0x1b544d:0x50d,_0x574b0b:0x41a,_0x57e5bb:0x4c1,_0x878bcc:0x312,_0x44b03c:0x4d8,_0x417685:0x530,_0x28d7f4:0x597},_0x37c3ed={_0x2309fa:0x2b2},_0x22e9d5={_0x36150c:0x385};function _0x22ae5a(_0x2dc4ff,_0x276006){return _0xb2a5b9(_0x2dc4ff,_0x276006-_0x22e9d5._0x36150c);}this[_0x39bdd7(_0x533a63._0x18a75d,-0x111)]=_0x3f552e;function _0x39bdd7(_0x23bd31,_0x4c9b46){return _0xb2a5b9(_0x4c9b46,_0x23bd31-_0x37c3ed._0x2309fa);}this[_0x22ae5a(_0x533a63._0x604191,0x3fb)]={'running':![],'relayConnected':![],'gatewayConnected':![],'gatewayId':_0x3f552e[_0x22ae5a(_0x533a63._0x37f65e,_0x533a63._0x1892e2)]['gatewayI'+'d'],'instanceId':_0x3f552e[_0x39bdd7(0x387,_0x533a63._0x1b544d)]['instance'+'Id'],'relayUrl':_0x3f552e[_0x39bdd7(0x387,0x23e)][_0x22ae5a(_0x533a63._0x574b0b,_0x533a63._0x57e5bb)],'gatewayUrl':_0x3f552e[_0x22ae5a(_0x533a63._0x878bcc,_0x533a63._0x44b03c)+'rl'],'clientCount':0x0,'connectedDevices':[],'pendingPairRequests':[],'lastError':null,'lastUpdatedMs':Date[_0x39bdd7(_0x533a63._0x417685,_0x533a63._0x28d7f4)]()};}[_0xb2a5b9(0x570,0x2c8)](){const _0x1d8868={_0x3a011b:0x4a,_0x3cdd8a:0xa5,_0x37cf97:0x1,_0x634def:0x14b,_0x449931:0x2b,_0x26d017:0xee,_0x15843e:0x1f,_0xc33ee:0x80,_0x31dbb3:0x114,_0x4b939b:0x59,_0x2a6f54:0x2e6,_0x239023:0x42};function _0x55c301(_0x4813a2,_0x5e48cb){return _0x3a90bd(_0x4813a2,_0x5e48cb-0x103);}if(!this[_0x55c301(-_0x1d8868._0x3a011b,0x40)])return;this[_0x55c301(-0x89,0x40)]=![];function _0x2f99f7(_0x3ee41f,_0x87b2cc){return _0x3a90bd(_0x87b2cc,_0x3ee41f- -0x4e);}this[_0x55c301(-0x1f,0x4e)+_0x55c301(_0x1d8868._0x3cdd8a,_0x1d8868._0x37cf97)]({'running':!![],'gatewayUrl':this[_0x2f99f7(-0x1ae,-0x2f3)][_0x55c301(0x265,0x24f)+'rl']}),this[_0x55c301(0x8c,-0xf5)](_0x2f99f7(_0x1d8868._0x634def,_0x1d8868._0x449931)+_0x55c301(-_0x1d8868._0x26d017,-_0x1d8868._0x15843e)+_0x55c301(0xa3,0x26f)+'Id='+this['options'][_0x2f99f7(_0x1d8868._0xc33ee,0xee)][_0x55c301(_0x1d8868._0x634def,-0x115)+'d']+('\x20gateway'+_0x55c301(0x2df,0x3ba))+this[_0x2f99f7(-0x1ae,-_0x1d8868._0x31dbb3)]['gatewayU'+'rl']),void this[_0x55c301(_0x1d8868._0x4b939b,_0x1d8868._0x2a6f54)+_0x55c301(0x1b,_0x1d8868._0x239023)]();}async[_0x3a90bd(0x257,0x185)](){const _0x5064e0={_0x4d556f:0x1f6,_0x5c8a11:0x348,_0x1882c1:0x367,_0x53ba2e:0x2e1,_0x318806:0x14d,_0x3a9188:0x1ff,_0x2e2df9:0x36b,_0x5cbe62:0x35f,_0x144bd3:0x103,_0x479bc7:0x352,_0x56e958:0x1b5,_0x3d2df6:0x55b,_0xda8cc2:0x630,_0x17eee0:0x102,_0x2987b7:0x22d,_0x33c3a7:0xd6,_0x3cc282:0xcb,_0x215beb:0x5c,_0x368e18:0x241,_0x2f598e:0x33,_0x384d61:0x29d,_0x45da13:0x48a,_0x53659b:0xf4,_0x34769f:0xc5,_0x3a2b56:0x3d,_0x41d8f4:0x223,_0x411aa4:0x0,_0x3dd49c:0x29a,_0x1c9469:0x535,_0x23a0d0:0x3f,_0xc4c6da:0x23b,_0x3a0b54:0x452,_0x57bca3:0x254};if(this[_0x408e7a(_0x5064e0._0x4d556f,_0x5064e0._0x5c8a11)])return;this[_0x408e7a(0x1f6,0x10a)]=!![];function _0x408e7a(_0x340a24,_0x433b83){return _0x3a90bd(_0x433b83,_0x340a24-0x2b9);}this[_0x408e7a(0x2eb,_0x5064e0._0x1882c1)+_0x17ff3f(_0x5064e0._0x53ba2e,0x589)](),this['relaySoc'+_0x17ff3f(_0x5064e0._0x318806,0x3e2)]?.[_0x408e7a(0x36b,0x3cb)](),this[_0x408e7a(_0x5064e0._0x3a9188,0x67)+_0x408e7a(0x1f2,0x25a)]?.[_0x408e7a(_0x5064e0._0x2e2df9,_0x5064e0._0x5cbe62)](),this[_0x17ff3f(_0x5064e0._0x144bd3,-0xa1)+'ket']=null,this['gatewayS'+'ocket']=null,this[_0x17ff3f(0x1ed,_0x5064e0._0x479bc7)+_0x408e7a(_0x5064e0._0x56e958,0x8e)+'ssages']=[];function _0x17ff3f(_0x2061f2,_0x47842b){return _0x3a90bd(_0x47842b,_0x2061f2-0xc3);}this[_0x408e7a(_0x5064e0._0x3d2df6,_0x5064e0._0xda8cc2)+_0x17ff3f(-_0x5064e0._0x17eee0,-0x1a6)+_0x408e7a(0x263,-0x18)]=![],this[_0x408e7a(_0x5064e0._0x2987b7,0x340)+'loseBoun'+_0x408e7a(_0x5064e0._0x33c3a7,0x363)+_0x408e7a(0xfd,-_0x5064e0._0x3cc282)]=![],this['clientDe'+'mandStar'+_0x408e7a(0xa7,_0x5064e0._0x215beb)]=null,this[_0x408e7a(0x22d,0xd8)+_0x17ff3f(_0x5064e0._0x368e18,0xab)+_0x408e7a(0x308,0x31a)]=null,this[_0x17ff3f(-0xca,-_0x5064e0._0x2f598e)+_0x17ff3f(_0x5064e0._0x384d61,_0x5064e0._0x45da13)+_0x408e7a(_0x5064e0._0x53659b,_0x5064e0._0x34769f)+'s'][_0x408e7a(0x17f,-_0x5064e0._0x3a2b56)](),this['relayCon'+'necting']=![],this['gatewayC'+'onnectin'+'g']=![];const _0x1b2363={};_0x1b2363[_0x17ff3f(_0x5064e0._0x41d8f4,_0x5064e0._0x411aa4)]=![],_0x1b2363[_0x17ff3f(_0x5064e0._0x3dd49c,0x1b3)+_0x408e7a(_0x5064e0._0x1c9469,0x320)]=![],_0x1b2363['gatewayC'+_0x17ff3f(0x241,0x497)]=![],_0x1b2363[_0x17ff3f(0x1bd,0x80)+'unt']=0x0,_0x1b2363['lastErro'+'r']=null,this[_0x17ff3f(0xe,0x170)+_0x17ff3f(-_0x5064e0._0x23a0d0,_0x5064e0._0xc4c6da)](_0x1b2363),this['log'](_0x408e7a(_0x5064e0._0x3a0b54,_0x5064e0._0x57bca3)+_0x17ff3f(0x0,-0xfc)),await _0x51cfb4(0x19);}async['approveP'+_0xb2a5b9(0x193,0x235)+'st'](_0x396a3b){const _0x30b72e={_0x7a65cd:0x33c,_0x4fa160:0x9d5,_0x1864b4:0x7b1,_0x40fcbb:0x71d,_0x28ff6e:0x7ee,_0x56858b:0x387,_0xae1b8c:0x4b5,_0x30f03b:0x3c9,_0x240414:0x48d},_0x5696d2={_0x589fd5:0x3b4};function _0x2d5569(_0x4860ee,_0x36ae71){return _0x3a90bd(_0x4860ee,_0x36ae71-_0x5696d2._0x589fd5);}const _0x1977fe={};function _0x36d845(_0x4b93ec,_0x3b69e2){return _0x3a90bd(_0x4b93ec,_0x3b69e2-0x700);}_0x1977fe[_0x2d5569(0x399,_0x30b72e._0x7a65cd)]=_0x36d845(0xc47,_0x30b72e._0x4fa160)+_0x36d845(0x59f,_0x30b72e._0x1864b4)+'ove';const _0x3736ed=_0x1977fe,_0x4ebb8e={};_0x4ebb8e[_0x36d845(0x988,_0x30b72e._0x40fcbb)+'d']=_0x396a3b,this[_0x36d845(_0x30b72e._0x28ff6e,0x766)+_0x36d845(_0x30b72e._0x56858b,_0x30b72e._0xae1b8c)+'st'](_0x3736ed[_0x2d5569(_0x30b72e._0x30f03b,0x33c)],_0x4ebb8e),this[_0x36d845(0x8e2,0x86f)+_0x2d5569(0x785,0x5cf)+_0x2d5569(_0x30b72e._0x240414,0x522)](_0x396a3b,'approved');}async[_0x3a90bd(0x1ca,0xc6)+_0xb2a5b9(-0x5a,-0x210)+'t'](_0x119097){const _0x3c7a18={_0x427d4c:0x62e,_0x4fbb08:0x391,_0x4e4780:0x37d,_0x37a0a8:0x852,_0x49d5f1:0x89d,_0x306320:0x31d,_0x3b6824:0x690,_0x583393:0x498,_0x1e2a6c:0x195,_0x4c2065:0x45},_0x12f63a={_0x55868b:0x27d},_0xf7005a={_0x58ee20:0x5c8};function _0x5901e0(_0x20eed4,_0x4c9011){return _0x3a90bd(_0x20eed4,_0x4c9011-_0xf7005a._0x58ee20);}const _0x57ad94={};function _0x392b89(_0x43e8ae,_0x333aae){return _0x3a90bd(_0x333aae,_0x43e8ae-_0x12f63a._0x55868b);}_0x57ad94[_0x5901e0(0x739,0x5e5)+'d']=_0x119097,this[_0x5901e0(0x54d,_0x3c7a18._0x427d4c)+_0x5901e0(_0x3c7a18._0x4fbb08,_0x3c7a18._0x4e4780)+'st'](_0x5901e0(_0x3c7a18._0x37a0a8,_0x3c7a18._0x49d5f1)+_0x392b89(0x271,_0x3c7a18._0x306320)+'ct',_0x57ad94),this[_0x392b89(0x3ec,_0x3c7a18._0x3b6824)+_0x392b89(_0x3c7a18._0x583393,0x351)+'esolved'](_0x119097,_0x392b89(_0x3c7a18._0x1e2a6c,_0x3c7a18._0x4c2065));}[_0x3a90bd(-0xe6,-0xf2)+_0x3a90bd(0x4d,0x1ac)](){const _0x262f4c={_0x43469c:0x2f3,_0x4163e0:0x18b,_0x4efef9:0xbb9,_0x10d622:0x513,_0x466a5d:0x718,_0x596ac6:0x38b,_0x5e21ba:0x6c2,_0x131f8d:0x4b2},_0x5ab95c={_0x122720:0x6e7},_0x35dcc3={_0x52b07f:0x27d},_0x4e35bb={...this[_0x3ece54(_0x262f4c._0x43469c,0x33e)]};_0x4e35bb['connecte'+_0x3ece54(0x429,_0x262f4c._0x4163e0)]=[...this['snapshot'][_0x2dc64c(0x998,_0x262f4c._0x4efef9)+'dDevices']],_0x4e35bb[_0x2dc64c(_0x262f4c._0x10d622,_0x262f4c._0x466a5d)+_0x3ece54(0x4b2,_0x262f4c._0x596ac6)+'sts']=[...this['snapshot'][_0x2dc64c(_0x262f4c._0x10d622,_0x262f4c._0x5e21ba)+_0x3ece54(_0x262f4c._0x131f8d,0x632)+'sts']];function _0x3ece54(_0x406d7c,_0x580da0){return _0xb2a5b9(_0x580da0,_0x406d7c-_0x35dcc3._0x52b07f);}function _0x2dc64c(_0x20f24a,_0x4b8651){return _0xb2a5b9(_0x4b8651,_0x20f24a-_0x5ab95c._0x122720);}return _0x4e35bb;}async[_0xb2a5b9(0x372,0x1ea)+'elay'](){const _0x3c12fa={_0x4b4c23:0x83c,_0x567c79:0x8b1,_0x9e1b02:0x74b,_0x16130d:0x7d5,_0x18d25b:0x792,_0x78973d:0x71e,_0x34dc42:0x487,_0x2e5440:0x737,_0x175d1e:0x552,_0x164b34:0x45a,_0x170199:0x5c6,_0x595d07:0x62e,_0x14d12c:0x6da,_0x129233:0x819,_0x2eedd5:0x480,_0x144a7f:0x480,_0x4c1dd5:0x65d,_0x1511f3:0x1dc},_0x56fa0e={_0x19e750:0x27e,_0x34bddc:0x2c6,_0x438799:0x4b1,_0x2a2775:0x238,_0x557a6d:0x2a,_0x5b7325:0x168,_0x493198:0xf7,_0x147c8c:0x243,_0xabcd10:0x2ea,_0x2ac7c4:0x187,_0x56e977:0x235,_0x2e605d:0x13a,_0x5a2c50:0x112,_0x34e74:0x457,_0x454b62:0x48f,_0x2d4b97:0x235,_0x48dcd4:0x7,_0x25bb90:0x2,_0x47512e:0xa,_0x3d9103:0x123,_0x4e14c1:0x24d,_0x12aaaa:0x1af,_0x1589e4:0x476,_0x25c6dd:0x484},_0x1eba6b={_0x21c1fd:0x45c},_0x504c12={_0x3f2ee3:0x113,_0x4dfa34:0x584,_0x543d7f:0x648},_0x2e21bb={_0x154d43:0x18b},_0x4faae5={_0x314427:0x68e,_0x361ae6:0x804},_0x123067={_0x3e25c3:0x804,_0x201876:0x8e2,_0xc38131:0x400},_0x2e65d3={_0x1d5212:0x25d},_0x4f3d49={_0x1fe2d5:0x134,_0x4cd0d6:0x139,_0x162bbd:0x113,_0x2b3cbe:0x23c,_0x5d768a:0x245,_0x23312a:0x1c9,_0x52705c:0xaa,_0xe6f192:0x1af,_0x197978:0x432,_0x1ece40:0x1b5,_0x577530:0x147,_0x23be30:0x2a2,_0x54f30b:0x257,_0x359c96:0x19c,_0x55e0fd:0x228,_0x4dcd2b:0x2f6,_0x57fee2:0x326,_0x17a928:0xb7,_0x15ceec:0x346,_0x5e693a:0x38c,_0x5d5273:0x39e,_0x126846:0xb4,_0x2d34a6:0x9d,_0x34dbbe:0x266,_0x2801ef:0xab,_0x377b36:0xaf},_0x261248={_0x286cde:0x6a7},_0x2f2ca4={'kWziN':function(_0x3d30ae,_0x17e6da){return _0x3d30ae(_0x17e6da);},'Hdlhj':_0x518e7a(_0x3c12fa._0x4b4c23,0x760)};if(this['stopped']||this['relayCon'+_0x518e7a(0x7b8,0x779)]||this[_0x518e7a(0x8dd,_0x3c12fa._0x567c79)+'pen']())return;this['relayCon'+'necting']=!![];function _0x4ef057(_0x109ed7,_0x232baa){return _0xb2a5b9(_0x232baa,_0x109ed7-0x649);}this[_0x4ef057(0x5bb,_0x3c12fa._0x9e1b02)+'empt']+=0x1;const _0x22493b=this[_0x4ef057(0x5bb,0x7c8)+_0x518e7a(_0x3c12fa._0x16130d,0x654)],_0x435dad=_0x2f2ca4[_0x518e7a(_0x3c12fa._0x18d25b,0x580)](buildRelayWsUrl,this[_0x4ef057(0x4f0,0x3c5)][_0x4ef057(_0x3c12fa._0x78973d,_0x3c12fa._0x34dc42)]);this[_0x4ef057(0x458,0x50b)](_0x4ef057(_0x3c12fa._0x2e5440,_0x3c12fa._0x175d1e)+_0x518e7a(_0x3c12fa._0x164b34,0x491)+_0x518e7a(0x8ee,0x7f0)+_0x22493b+_0x518e7a(_0x3c12fa._0x170199,0x874)+redactRelayWsUrl(_0x435dad));function _0x518e7a(_0x45c728,_0x3abed5){return _0xb2a5b9(_0x45c728,_0x3abed5-_0x261248._0x286cde);}const _0x326118=this['createWe'+_0x4ef057(0x791,_0x3c12fa._0x595d07)](_0x435dad);this[_0x518e7a(0x92b,0x6ee)+_0x4ef057(_0x3c12fa._0x14d12c,_0x3c12fa._0x129233)]=_0x326118,_0x326118[_0x4ef057(_0x3c12fa._0x2eedd5,0x310)](_0x4ef057(0x539,0x645),()=>{if(this[_0x443234(-_0x4f3d49._0x1fe2d5,_0x4f3d49._0x4cd0d6)]||this[_0x443234(_0x4f3d49._0x162bbd,_0x4f3d49._0x2b3cbe)+_0x57c87c(_0x4f3d49._0x5d768a,_0x4f3d49._0x23312a)]!==_0x326118){_0x326118['close']();return;}this[_0x443234(0x4e2,0x3d3)+'necting']=![],this[_0x443234(-_0x4f3d49._0x52705c,_0x4f3d49._0xe6f192)+'yActivit'+_0x57c87c(-0x3,-0x2ad)]=Date[_0x57c87c(_0x4f3d49._0x197978,_0x4f3d49._0x1ece40)]();const _0x3f053c={};_0x3f053c['relayCon'+'nected']=!![];function _0x443234(_0x272d23,_0x2dab61){return _0x4ef057(_0x2dab61- -0x454,_0x272d23);}_0x3f053c[_0x57c87c(0x19,0x1e1)+'r']=null,this[_0x443234(-0x15d,_0x4f3d49._0x577530)+_0x443234(0x123,0xfa)](_0x3f053c),this['log'](_0x57c87c(_0x4f3d49._0x23be30,0x42f)+'nnected\x20'+'attempt='+_0x22493b),this[_0x443234(0x209,0x28f)+_0x57c87c(_0x4f3d49._0x54f30b,_0x4f3d49._0x359c96)]();function _0x57c87c(_0x54682b,_0x24588e){return _0x4ef057(_0x54682b- -0x495,_0x24588e);}shouldKeepGatewayConnected(this[_0x443234(0x1c3,0x26b)][_0x443234(_0x4f3d49._0x55e0fd,_0x4f3d49._0x4dcd2b)+_0x57c87c(0x118,0x212)],_0x2f2ca4['kWziN'](summarizePendingGatewayMessages,this[_0x443234(0xcb,_0x4f3d49._0x57fee2)+_0x57c87c(_0x4f3d49._0x17a928,0x96)+_0x57c87c(_0x4f3d49._0x15ceec,_0x4f3d49._0x5e693a)])[_0x57c87c(_0x4f3d49._0x5d5273,0x58c)+_0x57c87c(_0x4f3d49._0x126846,-_0x4f3d49._0x2d34a6)])&&this[_0x57c87c(0x194,_0x4f3d49._0x34dbbe)+_0x443234(-_0x4f3d49._0x2801ef,_0x4f3d49._0x377b36)+'nected']();}),_0x326118['on']('message',(_0x1daa4b,_0x3d1e6a)=>{function _0x1e5646(_0x291542,_0x3ecaeb){return _0x518e7a(_0x291542,_0x3ecaeb- -_0x2e65d3._0x1d5212);}function _0x72bc9c(_0x40d3c1,_0x27b6b5){return _0x518e7a(_0x27b6b5,_0x40d3c1- -0x168);}void this[_0x72bc9c(_0x123067._0x3e25c3,_0x123067._0x201876)+_0x72bc9c(0x5d6,_0x123067._0xc38131)+'ge'](_0x1daa4b,_0x3d1e6a);}),_0x326118['on'](_0x4ef057(0x843,0x974),()=>{function _0x2d7204(_0x30a176,_0x3c6d38){return _0x4ef057(_0x3c6d38- -0xc3,_0x30a176);}function _0x10ad47(_0x4c3735,_0x1355d6){return _0x4ef057(_0x1355d6- -0x3b4,_0x4c3735);}this['lastRela'+_0x2d7204(_0x4faae5._0x314427,0x705)+_0x2d7204(0x2a9,0x3cf)]=Date[_0x2d7204(0x64f,_0x4faae5._0x361ae6)]();}),_0x326118[_0x4ef057(_0x3c12fa._0x144a7f,0x259)](_0x518e7a(0x3de,_0x3c12fa._0x4c1dd5),_0x1e61c8=>{function _0x36445e(_0x4fee51,_0x12b5d8){return _0x518e7a(_0x12b5d8,_0x4fee51- -0x2a2);}function _0x26c224(_0x29e40e,_0x296589){return _0x518e7a(_0x296589,_0x29e40e- -_0x2e21bb._0x154d43);}this[_0x36445e(0x214,_0x504c12._0x3f2ee3)]('relay\x20er'+_0x26c224(_0x504c12._0x4dfa34,_0x504c12._0x543d7f)+String(_0x1e61c8));}),_0x326118['once'](_0x2f2ca4[_0x4ef057(0x3fc,_0x3c12fa._0x1511f3)],(_0x4dedfd,_0x1bbed7)=>{const _0x514db8={_0x1f053e:0x414};function _0x406a9e(_0x16348b,_0x140472){return _0x4ef057(_0x16348b- -_0x514db8._0x1f053e,_0x140472);}this[_0x1a43c2(0x234,_0x56fa0e._0x19e750)+_0x406a9e(0x2c6,0x130)]===_0x326118&&(this[_0x1a43c2(0x234,0x395)+_0x406a9e(_0x56fa0e._0x34bddc,_0x56fa0e._0x438799)]=null);this[_0x1a43c2(0x3cb,0x4df)+'necting']=![],this[_0x406a9e(_0x56fa0e._0x2a2775,0x192)+_0x1a43c2(0x2fa,0x257)](),this['clientDe'+_0x406a9e(0x149,0x389)+_0x406a9e(_0x56fa0e._0x557a6d,0xa3)]=null,this[_0x1a43c2(_0x56fa0e._0x5b7325,-_0x56fa0e._0x493198)+'onnected'+_0x1a43c2(_0x56fa0e._0x147c8c,_0x56fa0e._0xabcd10)]=null;function _0x1a43c2(_0x3c18ea,_0xbb7ad7){return _0x4ef057(_0x3c18ea- -_0x1eba6b._0x21c1fd,_0xbb7ad7);}this[_0x406a9e(_0x56fa0e._0x2ac7c4,_0x56fa0e._0x56e977)+_0x406a9e(_0x56fa0e._0x2e605d,-_0x56fa0e._0x5a2c50)]({'relayConnected':![],'gatewayConnected':![],'clientCount':0x0,'lastError':_0x4dedfd===0x3e8?null:_0x1a43c2(_0x56fa0e._0x34e74,0x673)+_0x1a43c2(_0x56fa0e._0x454b62,0x491)+(_0x1bbed7['toString']()||_0x4dedfd)}),this[_0x1a43c2(-0x4,-0x53)]('relay\x20di'+_0x406a9e(_0x56fa0e._0x2d4b97,0x4)+_0x406a9e(0x1aa,_0x56fa0e._0x48dcd4)+_0x4dedfd+'\x20reason='+(_0x1bbed7['toString']()||_0x1a43c2(_0x56fa0e._0x25bb90,0x1a9))),this[_0x1a43c2(_0x56fa0e._0x47512e,0x285)+_0x406a9e(_0x56fa0e._0x3d9103,0x3c5)](),this[_0x1a43c2(_0x56fa0e._0x4e14c1,_0x56fa0e._0x12aaaa)+_0x1a43c2(_0x56fa0e._0x1589e4,_0x56fa0e._0x25c6dd)+_0x406a9e(0xa8,-0xf0)]();});}async['handleRe'+_0x3a90bd(0x230,0x90)+'ge'](_0x2bf4f6,_0x2b5754){const _0x332ce5={_0x2e11c7:0x5b2,_0x195b4f:0x21f,_0x5428a5:0x25b,_0x207522:0x3d2,_0x4bbe12:0x63d,_0xdaba9a:0x4d1,_0x1d8cd0:0x95e,_0x3aa848:0x482,_0x503bb4:0x6f8,_0x48ec74:0x9e3,_0x325dbc:0x4d9,_0x3f0a0e:0x1b2,_0x1521f2:0x3ed,_0x65bb11:0x9a1,_0x1bd2f1:0xaff,_0x3530ff:0x8d1,_0x4fbb33:0x463,_0x3c92db:0x91f,_0x38629d:0x768,_0x3555f5:0x4c8,_0x5ea662:0xa36,_0x1f2e18:0x8c7,_0xac623f:0x733,_0x1d8b58:0x931,_0x5cd253:0x98e},_0x5926b8={_0x22bf04:0x253},_0x2c109e={_0x83446:0x6dc},_0x2d2bf8={'yNPtg':_0x4ffca2(0x384,_0x332ce5._0x2e11c7),'ogBmF':function(_0x5e85e7,_0x3ffd67){return _0x5e85e7(_0x3ffd67);},'RnYRd':_0x1d30ed(_0x332ce5._0x195b4f,_0x332ce5._0x5428a5)};this['lastRela'+_0x1d30ed(0x2bd,_0x332ce5._0x207522)+_0x1d30ed(-0x4f,0x9c)]=Date[_0x1d30ed(_0x332ce5._0x4bbe12,_0x332ce5._0xdaba9a)]();if(_0x2b5754){this['forwardO'+_0x4ffca2(_0x332ce5._0x1d8cd0,0x931)+_0x4ffca2(_0x332ce5._0x3aa848,_0x332ce5._0x503bb4)+_0x4ffca2(_0x332ce5._0x48ec74,0x9bd)]({'kind':_0x2d2bf8[_0x1d30ed(_0x332ce5._0x325dbc,0x42e)],'data':normalizeBinary(_0x2bf4f6)});return;}const _0x39eec2=normalizeText(_0x2bf4f6);function _0x4ffca2(_0x427a3f,_0x1781c3){return _0xb2a5b9(_0x427a3f,_0x1781c3-_0x2c109e._0x83446);}if(_0x39eec2==null)return;const _0x45b275=_0x2d2bf8[_0x1d30ed(_0x332ce5._0x3f0a0e,_0x332ce5._0x1521f2)](parseControl,_0x39eec2);if(_0x45b275){this[_0x4ffca2(0xb25,_0x332ce5._0x65bb11)+_0x1d30ed(0x313,0x4ab)+'ol'](_0x45b275[_0x4ffca2(_0x332ce5._0x1bd2f1,_0x332ce5._0x3530ff)],_0x45b275['count']);return;}const _0x2f92e9=parseConnectStartIdentity(_0x39eec2);_0x2f92e9&&this['observeC'+_0x4ffca2(_0x332ce5._0x4fbb33,0x69b)+_0x4ffca2(0xac4,_0x332ce5._0x3c92db)](_0x2f92e9['id'],_0x2f92e9[_0x4ffca2(_0x332ce5._0x38629d,0x662)]);const _0x45fdbe={};function _0x1d30ed(_0xff69b0,_0x34bc54){return _0xb2a5b9(_0xff69b0,_0x34bc54-_0x5926b8._0x22bf04);}_0x45fdbe[_0x4ffca2(0x696,_0x332ce5._0x3555f5)]=_0x2d2bf8[_0x4ffca2(_0x332ce5._0x5ea662,_0x332ce5._0x1f2e18)],_0x45fdbe['text']=_0x39eec2,this['forwardO'+_0x4ffca2(_0x332ce5._0xac623f,_0x332ce5._0x1d8b58)+_0x4ffca2(_0x332ce5._0x5cd253,0x6f8)+_0x4ffca2(0xb4b,0x9bd)](_0x45fdbe);}[_0xb2a5b9(0x46d,0x2c5)+_0x3a90bd(0x4d,0x251)+'ol'](_0x46b1c5,_0x1bd0c5){const _0x2cec18={_0x506b74:0x889,_0x705934:0x558,_0x55e4fc:0x19a,_0x369461:0x7c5,_0x3645fe:0x762,_0x5bc2b8:0x1e2,_0x57533d:0x57a,_0x147004:0x88,_0x175c2a:0x2c7,_0x12ba59:0x158,_0xd442d2:0x6fc,_0x3fd39a:0x7a3,_0x4aebdf:0x737,_0x143e1f:0x818,_0x6f3f78:0x625,_0x467f3c:0x7f3,_0x498531:0x50c,_0x2a1e26:0x4f2,_0x1a37a3:0x4b6,_0x480889:0x383,_0x17961a:0x165,_0x10861c:0x4cf,_0x547f7a:0x7c2,_0x3d8560:0x1a3,_0x3fd723:0xc,_0x2522d4:0x156,_0x5f20f4:0x878,_0x1e4fb9:0x672,_0x3edbe0:0x7ce,_0x133b84:0x754,_0x1f016b:0x4b2,_0x42e38f:0x4c5,_0x46fd7f:0x7f2,_0x33c477:0x154,_0x1a5617:0x853,_0x5d9e53:0x8ab,_0x12caa3:0x5b3,_0x911fd1:0x1b0,_0x20c25d:0x2b7,_0x35cf14:0xc0,_0x1e2111:0x31b,_0xdcca27:0x419,_0x268c86:0x2a5,_0x5a991c:0x7ed,_0x2d5659:0x582,_0x17b46c:0x27a,_0x3f091c:0x477,_0x5c7d0b:0xe4,_0x44d665:0x7b8,_0x94e25d:0x382,_0x1e3a2e:0x95,_0x3c898f:0x85d,_0x2765b6:0x879,_0x163eeb:0x450,_0x2d9145:0x5ad,_0x417698:0x584,_0x5dc14f:0x3b1,_0x4d7dc0:0x1a0,_0x423d36:0x59,_0x2e5b3c:0x458,_0x4b1c3e:0x3ac,_0x5b79d7:0x147,_0x4d7a5f:0xe9,_0x34fcb4:0x448,_0x464466:0x9a1,_0x4c785e:0x2b4,_0x14dd68:0x23e,_0x506e3b:0x4fa,_0x37472a:0x765,_0x3df2a2:0x4b1,_0x1c99ed:0x626,_0x3f82da:0x226,_0x5e7d90:0xab1,_0x1c70e2:0x129,_0x1ed06d:0x4d5,_0xcaec45:0xbfa,_0x3688bd:0x80,_0x1a79e4:0x1b5,_0x26e8e1:0x6c3,_0x3a0621:0xb4c,_0x1356b6:0x96b,_0x3f95a6:0x23e,_0x195c4e:0x348,_0x47b094:0x2b7,_0x32b53c:0x1cc,_0x595dbc:0x50,_0x31b069:0x635,_0x2dbc1a:0x846,_0x45f906:0x613,_0x2c91d6:0x19b,_0x24cbdc:0x59b,_0x31a7c0:0x5de,_0x14162a:0x7ea,_0x4d3515:0x6fd,_0x1ada2a:0xae5,_0xdf5c10:0x9a4,_0xa3edf:0x6fe,_0x3e09e6:0x355,_0x247ee9:0x2f3,_0x507202:0x4d4,_0x2125f9:0x88a,_0x1f7b42:0x560,_0x35d156:0x40c,_0x498019:0x8d4,_0x126e38:0x92c,_0x189daf:0x2d1,_0xe0737b:0x1a3,_0x396235:0x2d7,_0x2d43c0:0x2e4,_0x4dcd58:0x8,_0x5c2c9f:0x273,_0x46c627:0x33,_0xdeaae2:0x15f,_0x3c46a4:0x922,_0x241f51:0xd2,_0x21dffc:0x387,_0x5eeacd:0x727,_0xb038a6:0x25f,_0x22322d:0x548,_0xf6d74b:0x71c,_0x4167f4:0x4d0,_0x2147f8:0x42d,_0x537127:0xbb,_0x21bdc6:0x1f2,_0x4dfe20:0x2d2,_0x490eba:0xb00,_0x2fb5d7:0x944},_0x4f7b4a={_0x2dfa1c:0x258};function _0x406507(_0x3032a3,_0x3b3f06){return _0x3a90bd(_0x3b3f06,_0x3032a3-_0x4f7b4a._0x2dfa1c);}const _0x1f51a5={'MkmeO':function(_0x1554ed,_0x8ba084){return _0x1554ed(_0x8ba084);},'zvCTq':_0x1b5fbc(0x8b8,0x89d)+_0x1b5fbc(0x9bd,_0x2cec18._0x506b74)+_0x1b5fbc(_0x2cec18._0x705934,0x7ed)+_0x406507(0x290,_0x2cec18._0x55e4fc)+_0x1b5fbc(0x3d0,0x4d1)+_0x1b5fbc(0x745,_0x2cec18._0x369461)+_0x1b5fbc(0x4b8,_0x2cec18._0x3645fe),'xnbga':function(_0x4be4f6,_0x413e4a){return _0x4be4f6>_0x413e4a;}};function _0x1b5fbc(_0x4fb924,_0x10495c){return _0x3a90bd(_0x4fb924,_0x10495c-0x6c8);}if(_0x46b1c5===_0x406507(_0x2cec18._0x5bc2b8,0x29a)+_0x406507(0x3d6,_0x2cec18._0x57533d)||_0x46b1c5===_0x406507(_0x2cec18._0x5bc2b8,-_0x2cec18._0x147004)+'ount'){const _0x3216d6=this[_0x406507(_0x2cec18._0x175c2a,0x4c8)][_0x406507(0x352,_0x2cec18._0x12ba59)+'unt'],_0x198d6b=_0x1bd0c5??Math[_0x1b5fbc(0x701,_0x2cec18._0xd442d2)](0x1,this[_0x1b5fbc(_0x2cec18._0x3fd39a,_0x2cec18._0x4aebdf)]['clientCo'+_0x1b5fbc(_0x2cec18._0x143e1f,_0x2cec18._0x6f3f78)]);_0x198d6b>0x0&&this[_0x1b5fbc(0x5cf,_0x2cec18._0x467f3c)+_0x1b5fbc(_0x2cec18._0x498531,0x5d5)+_0x1b5fbc(_0x2cec18._0x2a1e26,_0x2cec18._0x1a37a3)]==null&&(this[_0x406507(_0x2cec18._0x480889,0x221)+_0x406507(_0x2cec18._0x17961a,0x136)+'tedAtMs']=Date[_0x406507(_0x2cec18._0x10861c,0x4ce)]());const _0x598521={};_0x598521[_0x1b5fbc(0x522,_0x2cec18._0x547f7a)+'unt']=_0x198d6b,this[_0x406507(_0x2cec18._0x3d8560,_0x2cec18._0x3fd723)+_0x406507(_0x2cec18._0x2522d4,0x155)](_0x598521);if(_0x198d6b===0x0){this[_0x1b5fbc(_0x2cec18._0x5f20f4,0x96a)+'andshake'+_0x1b5fbc(0x7f9,_0x2cec18._0x1e4fb9)]=![],this[_0x1b5fbc(_0x2cec18._0x3edbe0,_0x2cec18._0x133b84)+'cesRecen'+'t'](),this[_0x1b5fbc(0x338,0x4a3)+_0x406507(_0x2cec18._0x1f016b,_0x2cec18._0x42e38f)+'ewayQueu'+'e']();const _0x506f56=_0x1f51a5['MkmeO'](summarizePendingGatewayMessages,this[_0x1b5fbc(0x997,_0x2cec18._0x46fd7f)+_0x406507(_0x2cec18._0x33c477,0x25a)+_0x1b5fbc(0xacd,_0x2cec18._0x1a5617)])[_0x1b5fbc(0x99d,_0x2cec18._0x5d9e53)+_0x1b5fbc(_0x2cec18._0x12caa3,0x5c1)];shouldScheduleGatewayIdleClose(_0x198d6b,_0x506f56,this[_0x406507(0x348,_0x2cec18._0x911fd1)+_0x406507(_0x2cec18._0x20c25d,_0x2cec18._0x35cf14)]())?(this[_0x1b5fbc(_0x2cec18._0x1e2111,0x4d0)]('client\x20d'+_0x406507(_0x2cec18._0xdcca27,_0x2cec18._0x268c86)+_0x1b5fbc(0x799,_0x2cec18._0x5a991c)+_0x1b5fbc(0x5da,_0x2cec18._0x2d5659)+'losing\x20i'+'dle\x20gate'+_0x406507(_0x2cec18._0x17b46c,0x441)),this['closeGat'+'eway']()):this[_0x1b5fbc(_0x2cec18._0x3f091c,0x4d0)](_0x1f51a5[_0x406507(0x368,_0x2cec18._0x5c7d0b)]);}else{if(shouldRecycleGatewayForFreshClient(_0x3216d6,_0x198d6b,this[_0x1b5fbc(0x515,_0x2cec18._0x44d665)+'yOpen'](),![])){const _0x3f5227=summarizePendingGatewayMessages(this[_0x406507(_0x2cec18._0x94e25d,_0x2cec18._0x175c2a)+_0x406507(_0x2cec18._0x33c477,-_0x2cec18._0x1e3a2e)+_0x1b5fbc(_0x2cec18._0x3c898f,0x853)]);this['log'](_0x1b5fbc(0x517,0x5de)+_0x1b5fbc(0x6df,_0x2cec18._0x2765b6)+_0x406507(_0x2cec18._0x163eeb,_0x2cec18._0x2d9145)+_0x1b5fbc(0x4ee,_0x2cec18._0x417698)+_0x406507(_0x2cec18._0x5dc14f,0x610)+_0x406507(_0x2cec18._0x4d7dc0,-_0x2cec18._0x423d36)+_0x1b5fbc(_0x2cec18._0x2e5b3c,0x533)+'='+_0x3f5227[_0x406507(_0x2cec18._0x4b1c3e,0x461)]+(_0x406507(_0x2cec18._0x5b79d7,_0x2cec18._0x4d7a5f)+'=')+_0x3f5227[_0x406507(0x43b,0x229)+_0x406507(0x151,0x1c0)]+'\x20text='+_0x3f5227[_0x406507(0x157,0x4e)+'t']+_0x406507(0x2e5,_0x2cec18._0x34fcb4)+_0x3f5227['binary']+(_0x1b5fbc(_0x2cec18._0x464466,0x763)+_0x406507(_0x2cec18._0x4c785e,_0x2cec18._0x14dd68)+'d=')+this[_0x406507(_0x2cec18._0x506e3b,_0x2cec18._0x37472a)+'andshake'+_0x1b5fbc(_0x2cec18._0x3df2a2,0x672)]);const _0x446cd2=_0x1f51a5[_0x1b5fbc(0x333,0x523)](prunePendingGatewayMessagesForFreshDemand,this[_0x1b5fbc(0x55f,0x7f2)+_0x1b5fbc(_0x2cec18._0x1c99ed,0x5c4)+_0x1b5fbc(0xab1,0x853)]);_0x1f51a5[_0x406507(0x244,_0x2cec18._0x3f82da)](_0x446cd2[_0x1b5fbc(_0x2cec18._0x5e7d90,0x900)],0x0)&&(this['pendingG'+_0x406507(_0x2cec18._0x33c477,_0x2cec18._0x1c70e2)+_0x406507(0x3e3,_0x2cec18._0x1ed06d)]=_0x446cd2[_0x1b5fbc(_0x2cec18._0xcaec45,0x96b)],this['log'](_0x406507(0xcc,-_0x2cec18._0x3688bd)+'stale\x20ga'+_0x406507(0x508,0x58a)+'eue\x20befo'+_0x406507(0xa7,_0x2cec18._0x1a79e4)+'le\x20dropp'+_0x1b5fbc(0x4d1,_0x2cec18._0x26e8e1)+_0x446cd2['dropped']+'\x20kept='+_0x446cd2[_0x1b5fbc(_0x2cec18._0x3a0621,_0x2cec18._0x1356b6)]['length'])),this[_0x406507(0x6e,_0x2cec18._0x3f95a6)+_0x406507(0x13f,0x13d)](!![]);}if(this[_0x406507(_0x2cec18._0x195c4e,0x18b)+_0x406507(_0x2cec18._0x47b094,0x4e4)]()&&!this[_0x406507(_0x2cec18._0x32b53c,-_0x2cec18._0x595dbc)+'loseBoun'+'daryPend'+_0x1b5fbc(0x65f,0x50c)]){const _0x193b6b={};_0x193b6b[_0x1b5fbc(0x440,0x63c)+_0x1b5fbc(_0x2cec18._0x31b069,_0x2cec18._0x2dbc1a)]=!![],_0x193b6b[_0x406507(0xb6,-_0x2cec18._0x55e4fc)+'r']=null,this[_0x1b5fbc(0x446,_0x2cec18._0x45f906)+_0x406507(0x156,_0x2cec18._0x2c91d6)](_0x193b6b),this['log'](_0x1b5fbc(_0x2cec18._0x24cbdc,_0x2cec18._0x31a7c0)+_0x1b5fbc(_0x2cec18._0x14162a,0x65b)+'connecte'+_0x1b5fbc(_0x2cec18._0x4d3515,0x8fa)+_0x1b5fbc(_0x2cec18._0x1ada2a,_0x2cec18._0xdf5c10)+_0x1b5fbc(_0x2cec18._0xa3edf,0x6ce)+this['elapsedS'+_0x1b5fbc(0x222,0x481)](this[_0x406507(0x1cc,0x36)+_0x406507(0x3d6,_0x2cec18._0x3e09e6)+'AtMs'])+(_0x406507(_0x2cec18._0x247ee9,0x2bf)+_0x1b5fbc(0x85f,0x724)+'d=')+this[_0x406507(_0x2cec18._0x506e3b,0x4fb)+'andshake'+_0x406507(0x202,-0xa6)]);}}this['ensureGa'+_0x406507(0x10b,-0xbb)+_0x406507(_0x2cec18._0x507202,0x56a)]();return;}if(_0x46b1c5===_0x1b5fbc(_0x2cec18._0x2125f9,0x719)+_0x1b5fbc(_0x2cec18._0x1f7b42,0x5ec)+_0x406507(0x185,_0x2cec18._0x35d156)){this[_0x1b5fbc(_0x2cec18._0x498019,0x96a)+_0x1b5fbc(0x54a,0x503)+'Started']=![];const _0x2baa6c={};_0x2baa6c[_0x1b5fbc(_0x2cec18._0x126e38,0x7c2)+_0x406507(0x1b5,_0x2cec18._0x189daf)]=0x0,this[_0x406507(_0x2cec18._0xe0737b,0x15c)+_0x406507(0x156,_0x2cec18._0x396235)](_0x2baa6c),this[_0x406507(_0x2cec18._0x2d43c0,0x259)+_0x406507(_0x2cec18._0x4dcd58,_0x2cec18._0x5c2c9f)+'t'](),this[_0x406507(_0x2cec18._0x46c627,_0x2cec18._0xdeaae2)+_0x1b5fbc(0x727,_0x2cec18._0x3c46a4)+'ewayQueu'+'e']();const _0x2dee41=summarizePendingGatewayMessages(this[_0x1b5fbc(_0x2cec18._0x57533d,_0x2cec18._0x46fd7f)+_0x406507(0x154,-_0x2cec18._0x241f51)+_0x406507(0x3e3,0x5bb)])['connectR'+_0x406507(0x151,_0x2cec18._0x21dffc)];shouldScheduleGatewayIdleClose(0x0,_0x2dee41,this[_0x406507(0x348,0x427)+_0x1b5fbc(0x62e,_0x2cec18._0x5eeacd)]())?(this['log'](_0x1b5fbc(0x773,0x89d)+'isconnec'+_0x406507(0x7,-_0x2cec18._0xb038a6)+_0x406507(0x47c,_0x2cec18._0x22322d)+'e\x20gatewa'+'y'),this[_0x1b5fbc(_0x2cec18._0xf6d74b,0x4de)+_0x406507(0x13f,0x207)]()):(this[_0x1b5fbc(0x28d,_0x2cec18._0x4167f4)](_0x406507(_0x2cec18._0x2147f8,0x639)+'isconnec'+_0x406507(_0x2cec18._0x537127,-_0x2cec18._0x21bdc6)+_0x406507(_0x2cec18._0x4dfe20,0x319)+'ains\x20nee'+_0x1b5fbc(0x52c,0x736)),this['ensureGa'+'tewayCon'+_0x1b5fbc(_0x2cec18._0x490eba,_0x2cec18._0x2fb5d7)]());return;}}[_0x3a90bd(0x436,0x1f4)+_0xb2a5b9(0x10f,0x255)+_0xb2a5b9(-0x12c,0x1c)+'sage'](_0x4d468a){const _0x6d5997={_0x22bf28:0xab,_0x60cd84:0xed,_0x59489b:0x42,_0xfef97d:0x71,_0x4cc0a0:0x1a1,_0x3acf38:0x1bf,_0x315a2e:0x391,_0x5ede9e:0x204,_0x10b05f:0x20c,_0x15c19d:0x256,_0x50a1da:0xb6,_0x4a55ae:0x396,_0x3f18ac:0x170,_0x2385c6:0x58e,_0x491220:0x271,_0x302841:0xdb,_0x541cbb:0x1ee,_0x311da7:0xea,_0x144476:0x9c,_0x1bc953:0xf1,_0x19ad42:0x19d,_0x43be6f:0xe1,_0x488d42:0x35,_0x285e0d:0xf9,_0x2da1b9:0x24b,_0x10ed1a:0x59,_0x1b5ad7:0x24a,_0x5efd09:0xcc,_0x3239d0:0x307,_0x599c99:0x26a,_0x49f984:0x39e,_0x59c357:0x23d,_0x438151:0x2aa,_0x1a37d1:0x270,_0x1830d1:0x3fc,_0x4c70e8:0x1f7,_0x1eaa3a:0x40a,_0x49c107:0x88,_0x150665:0xc6,_0x56c4d1:0x495,_0x598794:0x5d8,_0x336ce0:0x1c7,_0x1193fb:0x47a,_0x65792a:0x291,_0x2e154e:0x3e1,_0x22c5a9:0x209,_0x322eb2:0x3a2,_0x47ef24:0x97},_0x4c36df={_0x1c7a12:0x38e},_0x3fce37={'mADGZ':function(_0x216ae3,_0x2fa824){return _0x216ae3(_0x2fa824);},'fIWNi':_0x591343(0x2ab,0x221)+_0x12f668(-_0x6d5997._0x22bf28,0xdc)+_0x12f668(-0x1a7,_0x6d5997._0x60cd84)+_0x12f668(-_0x6d5997._0x59489b,-_0x6d5997._0xfef97d)+'ct\x20hands'+_0x591343(0x290,_0x6d5997._0x4cc0a0)+_0x591343(_0x6d5997._0x3acf38,_0x6d5997._0x315a2e)+_0x591343(_0x6d5997._0x5ede9e,0x8f)+_0x12f668(-_0x6d5997._0x10b05f,-_0x6d5997._0x15c19d)+_0x591343(0x407,0x187),'ZrUxw':function(_0x46b18a,_0x1bd569){return _0x46b18a+_0x1bd569;}},_0x540f68=_0x4d468a[_0x591343(0x17a,_0x6d5997._0x50a1da)]===_0x591343(_0x6d5997._0x4a55ae,_0x6d5997._0x3f18ac)&&_0x3fce37[_0x591343(_0x6d5997._0x2385c6,0x326)](isConnectHandshakeRequest,_0x4d468a[_0x12f668(-0x31,_0x6d5997._0x491220)]);function _0x591343(_0x541225,_0x524304){return _0xb2a5b9(_0x524304,_0x541225-_0x4c36df._0x1c7a12);}if(this['gatewayC'+_0x12f668(_0x6d5997._0x302841,0x301)+'daryPend'+_0x12f668(-_0x6d5997._0x541cbb,0x29)]){this[_0x591343(0x33c,_0x6d5997._0x311da7)+_0x12f668(-0xbd,_0x6d5997._0x144476)+_0x12f668(-0x23d,-_0x6d5997._0x1bc953)+'e'](_0x4d468a);_0x540f68&&this[_0x591343(_0x6d5997._0x19ad42,-_0x6d5997._0x43be6f)](_0x3fce37[_0x12f668(-0xcc,_0x6d5997._0x488d42)]);return;}const _0x878d17=this[_0x12f668(-0xec,0x87)+_0x12f668(-_0x6d5997._0x285e0d,-_0x6d5997._0x2da1b9)];if(!_0x878d17||_0x878d17['readySta'+'te']!==_0x387a60[_0x591343(0x164,-0xa9)]){this[_0x12f668(-_0x6d5997._0x10ed1a,-0xdf)+'tewayCon'+_0x12f668(_0x6d5997._0x1b5ad7,0x3d7)](),this[_0x591343(0x33c,0x285)+'ingGatew'+'ayMessag'+'e'](_0x4d468a);_0x540f68&&this['log'](_0x3fce37[_0x12f668(-_0x6d5997._0x5efd09,-_0x6d5997._0x3239d0)]);return;}function _0x12f668(_0x18446b,_0x460b65){return _0xb2a5b9(_0x460b65,_0x18446b- -0x39);}if(!this[_0x12f668(0x270,_0x6d5997._0x599c99)+_0x591343(0x1d0,_0x6d5997._0x49f984)+'Started']){if(!_0x540f68){this[_0x591343(0x33c,0x3c7)+'ingGatew'+_0x12f668(-_0x6d5997._0x59c357,-_0x6d5997._0x438151)+'e'](_0x4d468a);return;}this[_0x12f668(_0x6d5997._0x1a37d1,_0x6d5997._0x1830d1)+_0x12f668(-_0x6d5997._0x4c70e8,-_0x6d5997._0x1eaa3a)+_0x12f668(-_0x6d5997._0x49c107,-0x15d)]=!![];const _0x236fd2=parseConnectHandshakeMeta(_0x4d468a[_0x12f668(-0x31,0x267)]);this[_0x591343(_0x6d5997._0x19ad42,-_0x6d5997._0x150665)](_0x3fce37[_0x591343(0x467,0x31b)](_0x591343(0x2ab,_0x6d5997._0x56c4d1)+_0x12f668(_0x6d5997._0x43be6f,0x17d)+_0x591343(_0x6d5997._0x598794,0x781)+_0x12f668(-_0x6d5997._0x336ce0,-0x19c)+'='+this[_0x591343(0x4bf,_0x6d5997._0x1193fb)+_0x591343(_0x6d5997._0x65792a,_0x6d5997._0x2e154e)+_0x12f668(0x159,0x34b)][_0x591343(0x41c,0x373)],formatConnectHandshakeMetaForLog(_0x236fd2)));}this[_0x12f668(-_0x6d5997._0x22c5a9,-_0x6d5997._0x322eb2)+_0x12f668(-0x108,_0x6d5997._0x47ef24)](_0x4d468a);}[_0xb2a5b9(-0x152,-0x20)+_0x3a90bd(0x52,-0x14d)+_0xb2a5b9(0x3c4,0x283)](){const _0x101f13={_0x423525:0x206,_0x3ccd44:0x185,_0x459a3a:0x4,_0x9e5638:0x4fe,_0x244492:0x496,_0x4a088a:0x5aa,_0x5121ed:0x417,_0x5b15a3:0x408,_0x29ea20:0x408,_0x58b5b8:0x1a6,_0x451531:0x92,_0x45d7b1:0x29,_0x272bb6:0x135,_0x32e8de:0x152,_0x178eeb:0x348,_0x83369f:0x177,_0x516f4a:0x206,_0x187992:0x376,_0x11d1f0:0x19,_0x473d16:0x191,_0x5e24ea:0x227,_0x112bdd:0x75,_0x472299:0x229,_0x3ef666:0x120,_0x327a2f:0x34b,_0x4f7c4d:0xd2,_0x44e8e8:0x104,_0x4b22a9:0x46,_0x59a45a:0x120,_0x3afa8e:0x2f1},_0x5cfa3d={_0x44ee2f:0x248,_0xc90d36:0x331,_0x259225:0xa2,_0x57f50d:0x17,_0x4ae153:0x11a,_0x239462:0x16,_0x40fc29:0x251,_0x3d9c71:0x1fe,_0xa31dcb:0x2c9,_0x48d6d3:0xe7,_0x29a541:0x64,_0x4fb844:0x57,_0x2222ac:0xec,_0x2e074b:0x9,_0x1f0143:0x92,_0x531a59:0xf4,_0x299d57:0x9b,_0x25c951:0x2b3,_0x124f63:0x332,_0xf35524:0xce,_0x2de773:0xc3,_0x4244b8:0x1a6,_0xc5cadf:0x48d,_0x74e90a:0x34,_0x808933:0x40c,_0x55fa40:0x259,_0x66e237:0xf1,_0x11f212:0x244,_0xd97bd:0xfe,_0x26c17d:0x1c,_0x488f7a:0x18d,_0xb15280:0x315,_0x9210d0:0x29f,_0x1a0482:0x4c4,_0x1a4f64:0x396,_0x62143d:0xf2,_0x443ff5:0x136,_0x1c1b54:0x8a,_0x414365:0x4e,_0x317f8e:0x170,_0x275579:0x2be,_0x2a5368:0xd4,_0x1d8cb7:0x22b,_0x3a6b29:0x29d,_0x3d6e69:0x4e,_0x458170:0x1d3,_0x2cc08f:0x3ee,_0x8a3f06:0x5ff,_0x490086:0x59,_0x3ac768:0x12d,_0x2868ce:0x35c},_0x4865b2={_0x37fdf1:0x161},_0x1766e1={_0x58b230:0x166},_0x100c89={_0x4bad75:0x1f1,_0x12f8c7:0x845},_0x205d33={_0x185c09:0x326},_0x430cac={_0x5409dd:0x1d0,_0x883be8:0x58b,_0x174ad4:0x1cc,_0x8d9f49:0x345,_0x3cc06e:0x15c,_0x319ae5:0x55c,_0x378989:0x5e3,_0x1527f8:0x64e,_0x1af6ee:0x53e,_0x402596:0xd7,_0x594111:0x33e,_0x2dfdfc:0x2d9,_0x33781a:0x695,_0x59e54a:0x625,_0x347415:0x61f,_0x5c31b9:0x420,_0x56be99:0x48a,_0x5bf113:0x64c,_0x58d30e:0x9cb,_0x576a12:0xb38,_0x5084dc:0x479,_0x22ca05:0x7a9,_0x47c195:0x9bb,_0x388898:0x4da,_0x476de8:0x660,_0x40bcfe:0x35d,_0x42d78c:0x62e,_0x5646d3:0x434,_0x16a166:0x189,_0x2eb78e:0x56e},_0x41e5cc={_0x20a20a:0x45},_0x4f6364={'hByIC':function(_0x420e0c,_0x56f253){return _0x420e0c!==_0x56f253;},'OodqT':function(_0x5101df,_0xcd9090,_0x1ed546){return _0x5101df(_0xcd9090,_0x1ed546);},'JzpDa':_0x359793(_0x101f13._0x423525,0x4b2)+_0x5c069a(0x14f,-0x8d)+_0x5c069a(-_0x101f13._0x3ccd44,-_0x101f13._0x459a3a)+_0x359793(_0x101f13._0x9e5638,0x530)+_0x5c069a(_0x101f13._0x244492,0x30f)+_0x359793(_0x101f13._0x4a088a,0x366)+_0x359793(_0x101f13._0x5121ed,0x423)+_0x359793(_0x101f13._0x5b15a3,0x414),'rnAzB':_0x359793(0x3a2,0x573)};if(this[_0x359793(0x22d,0x37d)]||!this[_0x359793(0x4f3,0x5a4)+'pen']()||this[_0x359793(0x264,_0x101f13._0x29ea20)+_0x5c069a(-_0x101f13._0x58b5b8,-_0x101f13._0x451531)+'g']||this[_0x5c069a(-_0x101f13._0x45d7b1,_0x101f13._0x272bb6)+'yOpen']()||this['gatewayC'+_0x5c069a(-0xe4,_0x101f13._0x32e8de)+'daryPend'+_0x5c069a(-_0x101f13._0x178eeb,-_0x101f13._0x83369f)])return;function _0x5c069a(_0x5cd015,_0x42814f){return _0x3a90bd(_0x5cd015,_0x42814f-_0x41e5cc._0x20a20a);}this['gatewayC'+_0x359793(0x219,0x210)+'g']=!![],this[_0x5c069a(-0xd8,-0x1b3)](_0x359793(_0x101f13._0x516f4a,_0x101f13._0x187992)+_0x5c069a(-0x1b7,-_0x101f13._0x11d1f0)+'start\x20ur'+'l='+this[_0x359793(0x190,0x226)]['gatewayU'+'rl']);const _0x1b7bbc=this[_0x5c069a(0x2cb,0x130)+'bSocket'](this['options'][_0x5c069a(0x6e,_0x101f13._0x473d16)+'rl']);this[_0x5c069a(-_0x101f13._0x5e24ea,-_0x101f13._0x112bdd)+_0x359793(_0x101f13._0x472299,0x349)]=_0x1b7bbc,_0x1b7bbc[_0x359793(_0x101f13._0x3ef666,-_0x101f13._0x11d1f0)](_0x5c069a(-_0x101f13._0x327a2f,-_0x101f13._0x4f7c4d),()=>{const _0x3e0a0f={_0x4f40bb:0x24e};if(this[_0x22ca17(_0x430cac._0x5409dd,-0x32)]||_0x4f6364[_0xd7d2fe(_0x430cac._0x883be8,0x69f)](this['gatewayS'+_0x22ca17(_0x430cac._0x174ad4,-0x75)],_0x1b7bbc)){_0x1b7bbc[_0x22ca17(_0x430cac._0x8d9f49,_0x430cac._0x3cc06e)]();return;}this[_0x22ca17(0x207,0x8)+_0xd7d2fe(0x64a,0x53f)+'g']=![],this[_0x22ca17(0x535,0x374)+_0xd7d2fe(_0x430cac._0x319ae5,_0x430cac._0x378989)+_0x22ca17(0x23d,0x320)]=![],this[_0xd7d2fe(0x695,0x6d7)+_0x22ca17(0x3a0,_0x430cac._0x1527f8)+_0xd7d2fe(_0x430cac._0x1af6ee,0x6fe)+_0x22ca17(_0x430cac._0x402596,_0x430cac._0x594111)]=![],this[_0x22ca17(0x207,0x2e9)+'onnected'+_0xd7d2fe(0x770,0x63c)]=Date[_0x22ca17(0x50a,_0x430cac._0x2dfdfc)]();function _0x22ca17(_0x2aadbd,_0x4826ad){return _0x5c069a(_0x4826ad,_0x2aadbd-_0x3e0a0f._0x4f40bb);}function _0xd7d2fe(_0x584bff,_0x4a5103){return _0x5c069a(_0x4a5103,_0x584bff-0x6dc);}const _0x4adb99={};_0x4adb99[_0xd7d2fe(_0x430cac._0x33781a,_0x430cac._0x59e54a)+'onnected']=!![],_0x4adb99[_0xd7d2fe(0x57f,0x6ab)+'r']=null,this['updateSn'+_0xd7d2fe(_0x430cac._0x347415,_0x430cac._0x5c31b9)](_0x4adb99),this[_0xd7d2fe(0x529,_0x430cac._0x56be99)](_0xd7d2fe(0x637,_0x430cac._0x5bf113)+_0xd7d2fe(_0x430cac._0x58d30e,_0x430cac._0x576a12)+_0x22ca17(_0x430cac._0x5084dc,0x2d7)+'lientDem'+_0xd7d2fe(_0x430cac._0x22ca05,_0x430cac._0x47c195)+this['elapsedS'+_0xd7d2fe(_0x430cac._0x388898,_0x430cac._0x476de8)](this[_0x22ca17(0x3be,_0x430cac._0x40bcfe)+_0xd7d2fe(_0x430cac._0x42d78c,_0x430cac._0x5646d3)+_0x22ca17(0x81,_0x430cac._0x16a166)])),this['flushPen'+_0x22ca17(0x389,0x573)+'wayMessa'+_0x22ca17(0x43d,_0x430cac._0x2eb78e)]();});function _0x359793(_0x831c08,_0x49b8ab){return _0x3a90bd(_0x49b8ab,_0x831c08-0x2f0);}_0x1b7bbc['on'](_0x5c069a(-0x254,-_0x101f13._0x44e8e8),(_0x31a143,_0x1d2a97)=>{const _0x57715d={_0x57b05b:0x204};function _0x5cddff(_0x13c292,_0x467b5c){return _0x359793(_0x467b5c- -_0x205d33._0x185c09,_0x13c292);}function _0x23a582(_0x40d0db,_0x126fb5){return _0x359793(_0x126fb5-_0x57715d._0x57b05b,_0x40d0db);}this[_0x5cddff(-0x3dc,-_0x100c89._0x4bad75)+'tewayMes'+_0x23a582(_0x100c89._0x12f8c7,0x7ce)](_0x31a143,_0x1d2a97);}),_0x1b7bbc[_0x359793(0x120,-_0x101f13._0x4b22a9)](_0x359793(0x29f,0x390),_0x35d332=>{function _0x5daca7(_0x2f8a50,_0x4ac60a){return _0x5c069a(_0x2f8a50,_0x4ac60a-0xad);}function _0x1f02d1(_0x1fd311,_0x1ab7b6){return _0x5c069a(_0x1fd311,_0x1ab7b6-0x5a5);}this[_0x5daca7(-_0x1766e1._0x58b230,-0x106)](_0x1f02d1(0x36c,0x500)+'error:\x20'+String(_0x35d332));}),_0x1b7bbc[_0x359793(_0x101f13._0x59a45a,_0x101f13._0x3afa8e)](_0x4f6364['rnAzB'],(_0x593b12,_0x2495c4)=>{const _0x421fac=summarizePendingGatewayMessages(this[_0x26db2d(0xf0,_0x5cfa3d._0x44ee2f)+_0x26db2d(0x170,0x1a)+_0x305567(_0x5cfa3d._0xc90d36,_0x5cfa3d._0x259225)])[_0x305567(0x389,0x175)+_0x26db2d(-0x49,_0x5cfa3d._0x57f50d)];function _0x26db2d(_0x137edd,_0x479d66){return _0x5c069a(_0x137edd,_0x479d66-0xd9);}const _0x384b2b=this[_0x305567(_0x5cfa3d._0x4ae153,0xfa)+_0x305567(0x2b3,0x141)+'daryPend'+_0x305567(-_0x5cfa3d._0x239462,_0x5cfa3d._0x40fc29)]&&_0x4f6364[_0x26db2d(0x1de,_0x5cfa3d._0x3d9c71)](shouldKeepGatewayConnected,this['snapshot'][_0x305567(0x2a0,_0x5cfa3d._0xa31dcb)+_0x305567(0x103,0x3c)],_0x421fac);this[_0x26db2d(-_0x5cfa3d._0x48d6d3,_0x5cfa3d._0x29a541)+_0x26db2d(-0x4d,_0x5cfa3d._0x4fb844)]===_0x1b7bbc&&(this[_0x305567(_0x5cfa3d._0x2222ac,-_0x5cfa3d._0x2e074b)+'ocket']=null);function _0x305567(_0x381a50,_0x4030d8){return _0x5c069a(_0x4030d8,_0x381a50-_0x4865b2._0x37fdf1);}this[_0x26db2d(-0x82,_0x5cfa3d._0x1f0143)+_0x26db2d(_0x5cfa3d._0x531a59,0x47)+'g']=![],this['gatewayH'+_0x26db2d(-0x33,-0xa7)+_0x26db2d(_0x5cfa3d._0x299d57,0xc8)]=![],this[_0x305567(0x11a,-0x126)+_0x305567(_0x5cfa3d._0x25c951,0x7e)+'daryPend'+'ing']=![],this['gatewayC'+_0x305567(0x324,0x1a1)+_0x26db2d(_0x5cfa3d._0x124f63,0x16d)]=null,this[_0x26db2d(_0x5cfa3d._0xf35524,_0x5cfa3d._0x2de773)+_0x305567(_0x5cfa3d._0x4244b8,0x347)+_0x26db2d(-0x1f4,-0x126)+_0x26db2d(_0x5cfa3d._0xc5cadf,0x24d)](_0x26db2d(-0x124,_0x5cfa3d._0x74e90a)+'disconne'+_0x305567(_0x5cfa3d._0x808933,_0x5cfa3d._0x55fa40)+'e='+_0x593b12),this[_0x305567(_0x5cfa3d._0x66e237,_0x5cfa3d._0x11f212)+_0x26db2d(_0x5cfa3d._0xd97bd,_0x5cfa3d._0x26c17d)]({'gatewayConnected':![],'lastError':_0x593b12===0x3e8||_0x384b2b?this[_0x26db2d(0x18f,_0x5cfa3d._0x488f7a)][_0x26db2d(-_0x5cfa3d._0xb15280,-0x84)+'r']:'gateway\x20'+_0x305567(_0x5cfa3d._0x9210d0,_0x5cfa3d._0x1a0482)+(_0x2495c4[_0x26db2d(_0x5cfa3d._0x1a4f64,0x2be)]()||_0x593b12)}),this[_0x305567(-0x52,_0x5cfa3d._0x62143d)](_0x26db2d(-_0x5cfa3d._0x443ff5,0x34)+_0x305567(-_0x5cfa3d._0x1c1b54,-0x307)+_0x305567(0x40c,0x502)+'e='+_0x593b12+_0x305567(_0x5cfa3d._0x414365,_0x5cfa3d._0x317f8e)+(_0x2495c4[_0x26db2d(0x405,_0x5cfa3d._0x275579)]()||_0x26db2d(-0x6c,-_0x5cfa3d._0x2a5368))+(_0x305567(0x7e,_0x5cfa3d._0x1d8cb7)+_0x26db2d(0x61f,0x3a1)+_0x26db2d(_0x5cfa3d._0x3a6b29,_0x5cfa3d._0x3d6e69))+this[_0x305567(0x497,0x613)+_0x305567(-0xa1,0xbe)](this['clientDe'+_0x26db2d(-_0x5cfa3d._0x458170,0x2b)+_0x305567(-0x6c,0x106)]));if(_0x384b2b){this['log'](_0x4f6364[_0x305567(_0x5cfa3d._0x2cc08f,_0x5cfa3d._0x8a3f06)]),this[_0x26db2d(0x28b,0xf7)+_0x305567(_0x5cfa3d._0x490086,_0x5cfa3d._0x3ac768)+_0x26db2d(0x257,0x39a)]();return;}this[_0x26db2d(0x3e9,0x177)+_0x26db2d(0x5da,_0x5cfa3d._0x2868ce)+_0x26db2d(0x230,0x142)]();});}[_0x3a90bd(0x5b,-0x1bb)+_0x3a90bd(-0x220,0x15)+'sage'](_0x1d5742,_0x1631c5){const _0x3111f={_0x120842:0x74f,_0x527d4b:0x799,_0x4ba121:0x832,_0x1814c5:0x82d,_0x16d5db:0x1bd,_0x24d3a1:0x550,_0x1717b5:0x38d,_0x1b2f27:0x263,_0xcc5fd8:0x23b,_0x9d1c39:0x1c7,_0x25c1c0:0x1db,_0x15aef9:0x2dc,_0x5a5926:0x4d5},_0x5cd41e={_0x363049:0x21e},_0x46f6e5={_0x24ef39:0x70f};function _0x385989(_0x3cd2ff,_0x48697f){return _0x3a90bd(_0x48697f,_0x3cd2ff-_0x46f6e5._0x24ef39);}const _0x49dd4a={'xZTGE':function(_0x788cd8,_0x5b9272){return _0x788cd8(_0x5b9272);},'eRKlD':function(_0x396e4b,_0x22386e){return _0x396e4b(_0x22386e);}},_0x57b1f0=this[_0x385989(_0x3111f._0x120842,0x7be)+_0x385989(_0x3111f._0x527d4b,_0x3111f._0x4ba121)];if(!_0x57b1f0||_0x57b1f0[_0x385989(0x716,_0x3111f._0x1814c5)+'te']!==_0x387a60[_0x50162c(-0x41,-0x13)])return;if(_0x1631c5){_0x57b1f0['send'](normalizeBinary(_0x1d5742));return;}const _0x37ecd6=_0x49dd4a[_0x50162c(-_0x3111f._0x16d5db,-0x16)](normalizeText,_0x1d5742);function _0x50162c(_0x2f453f,_0x93993e){return _0x3a90bd(_0x2f453f,_0x93993e-_0x5cd41e._0x363049);}if(_0x37ecd6==null)return;const _0x39b637=parsePairingRequestFromError(_0x37ecd6);_0x39b637&&this['addPendi'+_0x385989(0x9bc,0xbc8)+_0x385989(_0x3111f._0x24d3a1,0x42f)](_0x39b637);const _0x29c6ed=parsePairResolvedEvent(_0x37ecd6);_0x29c6ed&&this[_0x50162c(0x252,_0x3111f._0x1717b5)+'RequestR'+'esolved'](_0x29c6ed[_0x50162c(_0x3111f._0x1b2f27,_0x3111f._0xcc5fd8)+'d'],_0x29c6ed[_0x50162c(_0x3111f._0x9d1c39,0x187)]);const _0x267d1d=_0x49dd4a[_0x50162c(_0x3111f._0x25c1c0,_0x3111f._0x15aef9)](parseResponseEnvelopeMeta,_0x37ecd6);_0x267d1d&&this['observeG'+_0x50162c(0x161,0xf4)+'sponse'](_0x267d1d),_0x57b1f0[_0x385989(0x650,_0x3111f._0x5a5926)](_0x37ecd6);}[_0xb2a5b9(0x324,0x203)+_0xb2a5b9(0x1d9,0xfd)+_0xb2a5b9(-0x1c0,-0x253)+_0xb2a5b9(0x2eb,0x1b1)](){const _0x2e4069={_0x25397c:0x191,_0x5b6c90:0x2ff,_0x483c32:0x307,_0x48ad54:0x40d,_0x557bce:0x1a,_0x5b9363:0x5c4,_0x16ebb4:0x80d,_0x59e0b1:0x43a,_0x5f556e:0x63e,_0x51f0c5:0x53,_0x84cae5:0x1d5,_0x1d1007:0x322,_0x664039:0x200,_0x30d172:0x520,_0xcd9509:0x417,_0x448c6c:0x251,_0x487054:0x483,_0x1d0052:0x3bd,_0x47ba13:0x65a,_0x44d1b8:0x2d2,_0x24688f:0x62d,_0x49892b:0x652,_0x447910:0x6a9,_0x590df3:0x526,_0x1e92e1:0x9e,_0x531172:0x45a,_0x1145ef:0x5ac,_0x418677:0x24c,_0x39fb70:0x5,_0x34df2a:0x86,_0x4b26cf:0x18c,_0x1e3bb2:0x359,_0x328747:0x487},_0x3f45d4={_0xce3de0:0x24b},_0x24c3a3={_0x294d79:0x406};function _0x585c20(_0x2a0473,_0x560232){return _0x3a90bd(_0x560232,_0x2a0473-_0x24c3a3._0x294d79);}const _0x3ce441={'jrzUr':function(_0x15ccfe,_0x10bf4c){return _0x15ccfe(_0x10bf4c);},'ohLQB':function(_0x536520,_0x1957c0){return _0x536520>_0x1957c0;},'cdjDL':function(_0x1c5d99,_0x573d5e){return _0x1c5d99!==_0x573d5e;}},_0x2aea1a=this[_0x44fcb4(_0x2e4069._0x25397c,_0x2e4069._0x5b6c90)+_0x585c20(0x33f,_0x2e4069._0x483c32)];if(!_0x2aea1a||_0x2aea1a[_0x585c20(_0x2e4069._0x48ad54,0x50f)+'te']!==_0x387a60[_0x44fcb4(_0x2e4069._0x557bce,0x294)])return;const _0x23345d=[],_0x4ae479=_0x3ce441[_0x585c20(_0x2e4069._0x5b9363,_0x2e4069._0x16ebb4)](dedupePendingGatewayMessages,this[_0x44fcb4(0x375,_0x2e4069._0x59e0b1)+'atewayMe'+'ssages']);_0x3ce441['ohLQB'](_0x4ae479[_0x585c20(_0x2e4069._0x5f556e,0x5a7)],0x0)&&this[_0x44fcb4(_0x2e4069._0x51f0c5,_0x2e4069._0x84cae5)]('dropped\x20'+_0x585c20(0x2c1,0xab)+_0x585c20(_0x2e4069._0x1d1007,0x14d)+_0x44fcb4(0x9e,_0x2e4069._0x664039)+_0x585c20(_0x2e4069._0x30d172,_0x2e4069._0xcd9509)+_0x44fcb4(0x4a2,0x4ac)+_0x44fcb4(0x286,_0x2e4069._0x448c6c)+_0x44fcb4(0x246,0x69)+_0x4ae479[_0x44fcb4(_0x2e4069._0x487054,_0x2e4069._0x1d0052)]+_0x585c20(0x699,_0x2e4069._0x47ba13)+_0x4ae479['messages'][_0x44fcb4(_0x2e4069._0x44d1b8,0x481)]);this[_0x585c20(0x530,_0x2e4069._0x24688f)+'atewayMe'+_0x585c20(0x591,_0x2e4069._0x49892b)]=[];for(const _0x1b7da6 of _0x4ae479[_0x585c20(_0x2e4069._0x447910,_0x2e4069._0x590df3)]){if(!this['gatewayH'+_0x585c20(0x241,_0x2e4069._0x1e92e1)+_0x585c20(0x3b0,0x628)]){if(_0x3ce441[_0x44fcb4(_0x2e4069._0x531172,_0x2e4069._0x1145ef)](_0x1b7da6[_0x44fcb4(0x30,0x2c9)],_0x44fcb4(_0x2e4069._0x418677,_0x2e4069._0x39fb70))||!isConnectHandshakeRequest(_0x1b7da6['text'])){_0x23345d['push'](_0x1b7da6);continue;}this[_0x44fcb4(0x4ed,0x6e7)+_0x44fcb4(_0x2e4069._0x34df2a,_0x2e4069._0x4b26cf)+_0x585c20(0x3b0,_0x2e4069._0x1e3bb2)]=!![];}this[_0x44fcb4(0x74,0x287)+_0x585c20(0x330,0x1ed)](_0x1b7da6);}function _0x44fcb4(_0x2bfb94,_0xdea1c1){return _0x3a90bd(_0xdea1c1,_0x2bfb94-_0x3f45d4._0xce3de0);}this[_0x44fcb4(0x375,_0x2e4069._0x328747)+'atewayMe'+'ssages']=_0x23345d;}[_0xb2a5b9(-0x35d,-0x1d0)+_0x3a90bd(-0x185,-0xd6)](_0x5e2c57){const _0x4eaa43={_0x1b8a76:0xfc,_0x4ba722:0x109,_0x12f8d1:0x62b,_0xd5763b:0x2d8,_0x4c204c:0x4ad,_0x5411a0:0x559,_0x5dcf48:0x25d,_0x4428c9:0x6bd,_0x5d6674:0x91,_0x331d80:0x198,_0x49c56a:0xfa,_0xdd6b79:0x1cf,_0x1fc6de:0x13e,_0x16dc18:0x42c,_0x4363c0:0x6eb,_0x1612a8:0x376,_0x2b6c7f:0x5a0,_0xd2cd50:0x110,_0xdb5325:0x59d,_0x31a088:0x4b1,_0xe0deb0:0xdc,_0x2bbc0d:0xb3,_0x9dbc74:0x8e7};function _0xd01c64(_0x2cfe31,_0x3c060d){return _0xb2a5b9(_0x3c060d,_0x2cfe31- -0x49);}const _0x575ce1={'UaJpK':function(_0x4acf99,_0x54f283){return _0x4acf99!==_0x54f283;},'pWAMA':function(_0x34a7b7,_0x72b303){return _0x34a7b7===_0x72b303;},'mBLdw':function(_0x12a658,_0x496ec1,_0x507f18){return _0x12a658(_0x496ec1,_0x507f18);},'aJqbu':function(_0x106128,_0x577b28){return _0x106128(_0x577b28);}},_0xf5e3e5=this[_0xd01c64(-_0x4eaa43._0x1b8a76,0xca)+_0xd01c64(-_0x4eaa43._0x4ba722,0x146)];if(!_0xf5e3e5||_0x575ce1[_0x2e6b79(0x8a3,0x92e)](_0xf5e3e5[_0x2e6b79(_0x4eaa43._0x12f8d1,0x43a)+'te'],_0x387a60[_0xd01c64(-0x273,-_0x4eaa43._0xd5763b)])){this[_0x2e6b79(0x5cb,_0x4eaa43._0x4c204c)+_0xd01c64(-0xcd,-0x2d4)+'ayMessag'+'e'](_0x5e2c57);return;}function _0x2e6b79(_0x10ae73,_0x191072){return _0xb2a5b9(_0x191072,_0x10ae73-0x61d);}if(_0x575ce1[_0x2e6b79(_0x4eaa43._0x5411a0,0x43c)](_0x5e2c57[_0xd01c64(-_0x4eaa43._0x5dcf48,-0x1a7)],_0xd01c64(-0x41,0x1c5))){const _0x555c94=_0x575ce1[_0x2e6b79(_0x4eaa43._0x4428c9,0x62a)](patchConnectRequestGatewayAuth,_0x5e2c57['text'],readOpenClawInfo()),_0x341ea3=_0x575ce1['aJqbu'](parseConnectHandshakeMeta,_0x555c94[_0x2e6b79(0x625,0x836)]);_0x341ea3&&(_0x341ea3['id']&&this[_0xd01c64(-0x1cf,-_0x4eaa43._0x5d6674)+_0xd01c64(_0x4eaa43._0x331d80,_0x4eaa43._0x49c56a)+'andshake'+'s']['set'](_0x341ea3['id'],{'method':_0x341ea3[_0xd01c64(_0x4eaa43._0xdd6b79,_0x4eaa43._0x1fc6de)],'startedAtMs':Date['now'](),'slowWarningLogged':![]}),this[_0x2e6b79(_0x4eaa43._0x16dc18,0x36c)](_0x2e6b79(0x53a,_0x4eaa43._0x4363c0)+_0x2e6b79(0x5c6,_0x4eaa43._0x1612a8)+_0x2e6b79(0x5c3,_0x4eaa43._0x2b6c7f)+_0xd01c64(-0x17f,-0x273)+'d'+formatConnectHandshakeMetaForLog(_0x341ea3)));_0x555c94[_0x2e6b79(0x906,0x9fe)]&&this[_0xd01c64(-0x23a,-0x461)](_0xd01c64(-0x12c,-_0x4eaa43._0xd2cd50)+'connect\x20'+_0x2e6b79(0x501,_0x4eaa43._0xdb5325)+'ched\x20mod'+_0x2e6b79(_0x4eaa43._0x31a088,0x33f)+'rd');_0xf5e3e5['send'](_0x555c94[_0xd01c64(-0x41,_0x4eaa43._0xe0deb0)]);return;}_0xf5e3e5[_0xd01c64(-0x101,-_0x4eaa43._0x2bbc0d)](_0x5e2c57[_0x2e6b79(0x8f4,_0x4eaa43._0x9dbc74)]);}[_0xb2a5b9(-0x97,0x6d)+'wayReque'+'st'](_0x4fe164,_0x1b9821){const _0x193638={_0x3b59dc:0x229,_0x59bc1f:0x17e,_0x86a3a6:0x4fd,_0x2d3bf1:0x289,_0x3d37ee:0x9e,_0x5259e7:0x3f1,_0x27d91a:0x624,_0x369cc7:0x192},_0x2aed0c={'ubIPI':function(_0xd3020c){return _0xd3020c();},'dPQBD':_0x4f9b2f(_0x193638._0x3b59dc,_0x193638._0x59bc1f)};function _0x4f9b2f(_0x453f49,_0xa0d751){return _0x3a90bd(_0x453f49,_0xa0d751-0x17d);}const _0x10e9a8=JSON[_0x4f9b2f(_0x193638._0x86a3a6,0x3fa)+'y']({'type':_0x4f9b2f(0x1b1,0x1fb),'id':_0x4f9b2f(0x64,_0x193638._0x2d3bf1)+_0x2aed0c[_0x4f9b2f(0x2b2,0x422)](_0x35cff6),'method':_0x4fe164,'params':_0x1b9821}),_0xe76781={};_0xe76781[_0x4f9b2f(0xc4,-_0x193638._0x3d37ee)]=_0x2aed0c['dPQBD'];function _0x24fd38(_0x268dc0,_0x5c3935){return _0x3a90bd(_0x268dc0,_0x5c3935-0x3d6);}_0xe76781[_0x24fd38(_0x193638._0x5259e7,0x3d7)]=_0x10e9a8,this[_0x4f9b2f(0x132,0x371)+_0x24fd38(0x60c,_0x193638._0x27d91a)+_0x4f9b2f(0x6c,_0x193638._0x369cc7)+'sage'](_0xe76781);}[_0x3a90bd(-0x2b0,-0x1ea)+_0x3a90bd(-0x2be,-0x119)](_0xa330e0=![]){const _0x2093e1={_0x417e88:0x2d7,_0x2a91e7:0x561,_0x367e26:0x50a,_0x2d187c:0x437,_0x4147fa:0x565,_0x42a9c0:0x46c,_0x32c12e:0x69e,_0x36ab28:0x235,_0x56e3eb:0x343,_0x80df6a:0x1fe,_0xde2cb6:0x4b6,_0x5d5464:0x361,_0x40ad01:0x348,_0x54e378:0x7a,_0x30ee4d:0x4a3,_0x1c43b7:0x4d0,_0x5b4051:0x549,_0x4aa0c9:0x16f,_0x504260:0x251,_0x3875f8:0x361,_0x306bda:0x71,_0x17fb41:0x25b,_0x4b921d:0x1e1,_0x30730e:0x14a,_0x48fbe5:0x488,_0x393d9f:0x2f,_0x1f4630:0x64f,_0x2e1682:0x206,_0x4dd2a0:0x35f,_0x1f6f37:0x194,_0x703e86:0x98,_0x1c7286:0x6a0,_0x4c39dd:0x46b,_0x3bff14:0x107,_0x3a8459:0x464,_0x2eb64d:0x4d0,_0x4c1e78:0x2b5},_0x608c59={_0x195e14:0x254},_0x3397d9={_0xa0f1d0:0x542};this[_0x442945(0x537,0x492)+_0x102341(0x4a2,0x48d)+'r']&&(clearTimeout(this[_0x102341(_0x2093e1._0x417e88,0x1a4)+_0x102341(_0x2093e1._0x2a91e7,0x48d)+'r']),this[_0x442945(0x2ae,0x492)+_0x102341(0x2a3,0x48d)+'r']=null);const _0x237723=summarizePendingGatewayMessages(this['pendingG'+_0x442945(0x668,0x43e)+'ssages'])[_0x102341(_0x2093e1._0x367e26,_0x2093e1._0x2d187c)+'equests'],_0x1623e1=_0xa330e0&&this['isRelayO'+_0x102341(_0x2093e1._0x4147fa,0x37d)]()&&shouldKeepGatewayConnected(this[_0x102341(_0x2093e1._0x42a9c0,0x2c3)][_0x442945(_0x2093e1._0x32c12e,0x63c)+_0x442945(_0x2093e1._0x36ab28,0x49f)],_0x237723),_0x259354=this[_0x442945(0x654,0x488)+'ocket'];this[_0x442945(0x9b4,0x7e4)+_0x442945(0x189,0x37d)+_0x102341(_0x2093e1._0x56e3eb,_0x2093e1._0x80df6a)]=![],this['gatewayC'+_0x442945(0x757,0x6c0)+'AtMs']=null;function _0x442945(_0x30a3a3,_0x3e7052){return _0x3a90bd(_0x30a3a3,_0x3e7052-_0x3397d9._0xa0f1d0);}function _0x102341(_0x161d1d,_0xeada30){return _0x3a90bd(_0x161d1d,_0xeada30-_0x608c59._0x195e14);}if(!_0x259354){this[_0x442945(0x602,_0x2093e1._0xde2cb6)+_0x102341(0x4c5,_0x2093e1._0x5d5464)+'daryPend'+'ing']=![],this['gatewayC'+_0x442945(_0x2093e1._0x40ad01,0x46b)+'g']=![];_0x1623e1&&this['ensureGa'+_0x102341(-_0x2093e1._0x54e378,0x107)+_0x102341(_0x2093e1._0x30ee4d,_0x2093e1._0x1c43b7)]();return;}if(_0x259354[_0x442945(_0x2093e1._0x5b4051,0x549)+'te']===_0x387a60[_0x102341(_0x2093e1._0x4aa0c9,0x3e4)]){this[_0x102341(_0x2093e1._0x504260,0x1c8)+_0x102341(0x217,_0x2093e1._0x3875f8)+_0x102341(0xb8,_0x2093e1._0x306bda)+_0x102341(0x100,0x98)]=_0x1623e1;return;}if(_0x259354[_0x102341(0x1dc,_0x2093e1._0x17fb41)+'te']===_0x387a60[_0x102341(_0x2093e1._0x4b921d,_0x2093e1._0x30730e)]){this[_0x442945(0x5fe,_0x2093e1._0x48fbe5)+'ocket']===_0x259354&&(this['gatewayS'+_0x102341(-0x17,0x18d)]=null);this[_0x102341(_0x2093e1._0x393d9f,0x1c8)+_0x442945(0x579,_0x2093e1._0x1f4630)+_0x442945(_0x2093e1._0x2e1682,_0x2093e1._0x4dd2a0)+_0x102341(_0x2093e1._0x1f6f37,_0x2093e1._0x703e86)]=![],this[_0x442945(_0x2093e1._0x1c7286,_0x2093e1._0xde2cb6)+_0x442945(0x54e,_0x2093e1._0x4c39dd)+'g']=![];_0x1623e1&&this['ensureGa'+_0x102341(0xea,_0x2093e1._0x3bff14)+_0x102341(_0x2093e1._0x3a8459,_0x2093e1._0x2eb64d)]();return;}this[_0x442945(0x36b,_0x2093e1._0xde2cb6)+'loseBoun'+'daryPend'+_0x442945(_0x2093e1._0x4c1e78,0x386)]=_0x1623e1,_0x259354['close']();}['createWe'+_0xb2a5b9(0x1f9,0x148)](_0x27cb65){const _0x12aaf3={_0x1dc105:0x28b,_0x227809:0x41b,_0x2af68a:0x254,_0xbef70a:0x5f4,_0x58e761:0x4a4},_0x13f721={_0x2b01ee:0x169};if(this[_0x332bb0(0x9,-0x145)][_0x22aced(0x3c5,_0x12aaf3._0x1dc105)+_0x22aced(_0x12aaf3._0x227809,0x337)])return this['options'][_0x332bb0(_0x12aaf3._0x2af68a,-0x45)+_0x22aced(0x41b,_0x12aaf3._0xbef70a)](_0x27cb65);function _0x332bb0(_0x140997,_0x5bb615){return _0x3a90bd(_0x5bb615,_0x140997-_0x13f721._0x2b01ee);}const _0x3c3a80={};function _0x22aced(_0x521e51,_0x588acd){return _0x3a90bd(_0x588acd,_0x521e51-0x2da);}return _0x3c3a80[_0x22aced(_0x12aaf3._0x58e761,0x6c8)+'ad']=0x19*0x400*0x400,new _0x387a60(_0x27cb65,_0x3c3a80);}[_0x3a90bd(-0x22b,-0x188)+'atewayRe'+_0xb2a5b9(-0xa4,-0x35)](_0xabf846){const _0x2db686={_0x1c3427:0xd8,_0x2d03f2:0x456,_0x145b0d:0x17e,_0x576aaa:0x366,_0x5a83ce:0x32e,_0x9d6890:0x745,_0x1248de:0x588,_0x3940f1:0x4b7,_0x113a71:0x50d,_0xb06e98:0x4f7,_0x5914c1:0x65e,_0x50d576:0x717,_0x3cc993:0x596,_0x11af7e:0x567,_0x3d0b88:0x437,_0x46ab63:0x5d1,_0x4e9ef8:0x301,_0x5b7aa3:0x572,_0x4394f9:0x761,_0xd77e01:0x4bc,_0x22482d:0x557,_0xa8ee5c:0x1e2,_0x2a5d88:0x2ef,_0x353f3c:0x495,_0x100305:0x791,_0x375ae8:0x70a,_0x4ce589:0x54b,_0x3b31bd:0x6f7,_0x351d77:0x8ab,_0x533d2c:0x528,_0x4491ab:0x739,_0xf7e2cf:0x5fd},_0x2ca247={};function _0x40bf02(_0x1a7021,_0xec4c91){return _0x3a90bd(_0x1a7021,_0xec4c91-0x4f3);}_0x2ca247['nUsaa']=_0x40bf02(_0x2db686._0x1c3427,0x301),_0x2ca247[_0x40bf02(0x57a,_0x2db686._0x2d03f2)]=function(_0x25b71a,_0x2edb5c){return _0x25b71a-_0x2edb5c;};const _0xed770e=_0x2ca247,_0x18d073=this[_0x40bf02(_0x2db686._0x145b0d,_0x2db686._0x576aaa)+'ConnectH'+_0x40bf02(0x38a,_0x2db686._0x5a83ce)+'s'][_0xa1179(_0x2db686._0x9d6890,_0x2db686._0x1248de)](_0xabf846['id']);function _0xa1179(_0x4989fc,_0x13e409){return _0x3a90bd(_0x4989fc,_0x13e409-0x69a);}if(!_0x18d073)return;this[_0xa1179(_0x2db686._0x3940f1,_0x2db686._0x113a71)+_0xa1179(0x606,0x874)+'andshake'+'s']['delete'](_0xabf846['id']);const _0x52b768=_0xabf846['ok']?_0x40bf02(_0x2db686._0xb06e98,_0x2db686._0x5914c1):_0xa1179(0x5c4,_0x2db686._0x50d576)+_0xa1179(_0x2db686._0x3cc993,_0x2db686._0x11af7e)+_0x40bf02(_0x2db686._0x3d0b88,0x536)+(_0xabf846[_0x40bf02(0x65a,_0x2db686._0x46ab63)+'e']??_0x40bf02(0x18f,_0x2db686._0x4e9ef8))+(_0x40bf02(0x438,_0x2db686._0x5b7aa3)+_0xa1179(0x7aa,0x8cf))+(_0xabf846[_0xa1179(_0x2db686._0x4394f9,_0x2db686._0xd77e01)+_0x40bf02(_0x2db686._0x22482d,0x7cd)]??_0xed770e['nUsaa']);this[_0x40bf02(_0x2db686._0xa8ee5c,0x2fb)](_0xa1179(0x420,0x5b0)+_0x40bf02(_0x2db686._0x2a5d88,_0x2db686._0x353f3c)+_0x40bf02(_0x2db686._0x100305,_0x2db686._0x375ae8)+_0xa1179(0x515,0x5d0)+_0xabf846['id']+_0x40bf02(_0x2db686._0x4ce589,0x437)+_0x18d073[_0xa1179(_0x2db686._0x3b31bd,_0x2db686._0x351d77)]+(_0x40bf02(_0x2db686._0x533d2c,0x427)+'Ms=')+_0xed770e[_0xa1179(_0x2db686._0x4491ab,_0x2db686._0xf7e2cf)](Date[_0x40bf02(0x8f0,0x76a)](),_0x18d073[_0x40bf02(0x679,0x60a)+'tMs'])+'\x20'+_0x52b768);}[_0xb2a5b9(-0x153,-0x54)+_0xb2a5b9(-0x1b3,0x7)+'nectHand'+_0xb2a5b9(0x366,0x136)](_0x239dad){const _0x5bb56e={_0x5d2050:0xe1,_0xa9665:0x187,_0x3252f1:0x278,_0xcfedf1:0x642,_0x27a7db:0xfc,_0x40a5b8:0x248,_0x52e995:0x3bb,_0x219f4d:0x78c,_0x212789:0x1b8,_0x25a621:0x4b7,_0xceb492:0x593,_0x73aefd:0x51d,_0x5aed7b:0x11a,_0x52266a:0x41d,_0x9fb750:0x119,_0x5488e2:0x30c,_0x17dc1e:0x4db},_0xd14cc8={_0x365c4e:0x29f},_0xb60d34={};_0xb60d34[_0x25ecf9(0x407,0x525)]=function(_0x1ba781,_0x596027){return _0x1ba781===_0x596027;};function _0xffe81d(_0xabd8eb,_0x3d2133){return _0xb2a5b9(_0x3d2133,_0xabd8eb-_0xd14cc8._0x365c4e);}const _0x503a34=_0xb60d34;if(_0x503a34[_0xffe81d(0x256,0x4b7)](this[_0xffe81d(0x119,0x18e)+_0xffe81d(0x480,0x413)+_0xffe81d(_0x5bb56e._0x5d2050,_0x5bb56e._0xa9665)+'s'][_0xffe81d(_0x5bb56e._0x3252f1,0x30b)],0x0))return;for(const [_0x14dcdb,_0x2090a5]of this[_0x25ecf9(0x4f4,0x3e8)+'ConnectH'+_0x25ecf9(_0x5bb56e._0xcfedf1,0x3b0)+'s'][_0xffe81d(0x2cb,0x20e)]()){this[_0x25ecf9(_0x5bb56e._0x27a7db,0x37d)]('gateway\x20'+_0xffe81d(_0x5bb56e._0x40a5b8,_0x5bb56e._0x52e995)+_0x25ecf9(0x5db,_0x5bb56e._0x219f4d)+_0xffe81d(0x3ae,_0x5bb56e._0x212789)+_0x25ecf9(0x64b,0x4ab)+_0x14dcdb+_0xffe81d(0x1ea,-0x3)+_0x2090a5[_0xffe81d(_0x5bb56e._0x25a621,0x365)]+('\x20elapsed'+_0xffe81d(_0x5bb56e._0xceb492,0x726))+(Date[_0xffe81d(_0x5bb56e._0x73aefd,0x36e)]()-_0x2090a5[_0xffe81d(0x3bd,_0x5bb56e._0x5aed7b)+_0x25ecf9(0x8bb,0x841)])+_0x25ecf9(0x3e7,_0x5bb56e._0x52266a)+_0x239dad);}function _0x25ecf9(_0x2a21f4,_0x3caa7e){return _0xb2a5b9(_0x2a21f4,_0x3caa7e-0x56e);}this[_0xffe81d(_0x5bb56e._0x9fb750,_0x5bb56e._0x5488e2)+_0x25ecf9(_0x5bb56e._0x17dc1e,0x74f)+'andshake'+'s']['clear']();}[_0xb2a5b9(-0x99,0x60)+_0xb2a5b9(0x10,0x289)+_0x3a90bd(-0x7d,-0x194)](){const _0x22c62c={_0x189fb9:0x41c,_0x25cce9:0x394,_0xa55c5:0x485,_0x285acb:0x21b,_0x3538fe:0xe,_0x57ce6d:0x276,_0x292fb9:0x6c,_0x5e9326:0x1b7,_0x862c42:0xd7,_0xf03e7a:0x24c,_0x43d248:0x19e,_0x5b659e:0xf3,_0x55332c:0xf5,_0x5554d6:0x1ab},_0x4dada3={_0x108f65:0x72e,_0x5e4a7e:0x349},_0x3a1c43={_0x49cee6:0x3e},_0xe6ce1={_0x1c881c:0x14b};function _0x3f6ca8(_0x3695a0,_0x2beb35){return _0xb2a5b9(_0x3695a0,_0x2beb35-_0xe6ce1._0x1c881c);}if(this[_0x3f6ca8(-0x140,0x8f)]||this[_0x3f6ca8(0x260,_0x22c62c._0x189fb9)+_0x5aab4c(-_0x22c62c._0x25cce9,-0x1db)])return;const _0x3ca806=this['options'][_0x3f6ca8(_0x22c62c._0xa55c5,0x41c)+_0x5aab4c(-0x19f,-0x1a4)+_0x5aab4c(-0x119,-0x78)]??RECONNECT_BASE_DELAY_MS,_0xd2a01c=this[_0x3f6ca8(_0x22c62c._0x285acb,-_0x22c62c._0x3538fe)][_0x5aab4c(0x45e,_0x22c62c._0x57ce6d)+'tMaxDela'+_0x3f6ca8(0xa,-_0x22c62c._0x292fb9)]??RECONNECT_MAX_DELAY_MS;function _0x5aab4c(_0xc07d30,_0xd8c0c1){return _0xb2a5b9(_0xc07d30,_0xd8c0c1- -0x5b);}const _0x4b13cc=Math[_0x5aab4c(_0x22c62c._0x5e9326,0x82)](_0xd2a01c,_0x3ca806*Math[_0x5aab4c(-_0x22c62c._0x862c42,-0x20)](0x1,this[_0x3f6ca8(0x1c2,0xbd)+'empt']));this[_0x5aab4c(-0x2f1,-_0x22c62c._0xf03e7a)](_0x5aab4c(-_0x22c62c._0x43d248,_0x22c62c._0x5b659e)+_0x5aab4c(-0x32,-0xb2)+_0x3f6ca8(-_0x22c62c._0x55332c,_0x22c62c._0x5554d6)+'d\x20delayM'+'s='+_0x4b13cc),this[_0x5aab4c(0x48e,_0x22c62c._0x57ce6d)+'tTimer']=setTimeout(()=>{const _0x23e54c={_0x51940d:0x37e};function _0x13d61d(_0x290d75,_0x5c6c9d){return _0x3f6ca8(_0x290d75,_0x5c6c9d-_0x23e54c._0x51940d);}function _0x54ecbf(_0x154c4c,_0x544c92){return _0x3f6ca8(_0x154c4c,_0x544c92-_0x3a1c43._0x49cee6);}this[_0x13d61d(_0x4dada3._0x108f65,0x79a)+_0x13d61d(0x415,_0x4dada3._0x5e4a7e)]=null,void this[_0x54ecbf(0x105,0x373)+'elay']();},_0x4b13cc);}[_0xb2a5b9(0x38,0x60)+_0xb2a5b9(-0x25,0x245)+_0xb2a5b9(0x2ca,0x2b)](){const _0x256ae4={_0x442f2f:0x381,_0x2776a2:0x568,_0x1a173e:0x7a,_0x234828:0x570,_0x17cfc6:0x158,_0x5a6b9e:0x3ca,_0x292b60:0x47e,_0x2f5e92:0x351,_0x344df3:0x38e,_0x40ed75:0x5d7},_0x43b887={_0x4121c9:0x433,_0x450aa0:0x6a6,_0x232333:0xc1,_0x5450e3:0x4bc},_0x1c0d46={_0x5203d0:0x29a},_0x34b098={'VRJok':function(_0x396087,_0x5afdf1){return _0x396087(_0x5afdf1);}};function _0x31a96a(_0x55d793,_0x336749){return _0xb2a5b9(_0x55d793,_0x336749-_0x1c0d46._0x5203d0);}const _0xb349c7=_0x34b098[_0x31a96a(_0x256ae4._0x442f2f,_0x256ae4._0x2776a2)](summarizePendingGatewayMessages,this['pendingG'+_0x31a96a(-0x107,0x19d)+'ssages'])['connectR'+'equests'];if(this[_0x31a96a(_0x256ae4._0x1a173e,0x1de)]||this['gatewayR'+_0x31a96a(0x414,0x4da)+'r']||!this[_0x219313(0x70b,_0x256ae4._0x234828)+_0x31a96a(_0x256ae4._0x17cfc6,_0x256ae4._0x5a6b9e)]()||!shouldKeepGatewayConnected(this[_0x31a96a(0x534,0x310)]['clientCo'+_0x219313(_0x256ae4._0x292b60,0x2ca)],_0xb349c7))return;const _0x37a021=this['options']['gatewayR'+'etryDela'+_0x219313(_0x256ae4._0x2f5e92,0x1af)]??GATEWAY_RETRY_DELAY_MS;function _0x219313(_0x44d546,_0xe18e6f){return _0xb2a5b9(_0x44d546,_0xe18e6f-0x366);}this[_0x31a96a(_0x256ae4._0x344df3,0x1f1)+_0x31a96a(_0x256ae4._0x40ed75,0x4da)+'r']=setTimeout(()=>{function _0x10c0fc(_0x1c0e11,_0x279cbd){return _0x219313(_0x279cbd,_0x1c0e11- -0x3a2);}this[_0x148d27(_0x43b887._0x4121c9,_0x43b887._0x450aa0)+_0x10c0fc(0x204,_0x43b887._0x232333)+'r']=null;function _0x148d27(_0x405d53,_0x23cd27){return _0x219313(_0x23cd27,_0x405d53-0x176);}this[_0x148d27(_0x43b887._0x5450e3,0x268)+'tewayCon'+'nected']();},_0x37a021);}[_0xb2a5b9(-0x8b,0x9a)+'rtbeat'](){const _0x4b651c={_0x3730ab:0x53c,_0x2b3a3a:0x5ed,_0x2b1d5d:0x916,_0x5b585a:0x6c0,_0x39568b:0x1c3,_0x5533e7:0x17f,_0x3f1c55:0x329,_0x12c83f:0xe7,_0x173b77:0x5ca,_0x421501:0x594,_0x477e77:0x395,_0x226a5f:0x1fe,_0x296a41:0xaf5},_0x2b45aa={_0x2f6ed1:0x601,_0x3a42c8:0x64b,_0x4e8774:0x4f5,_0xc91b6d:0x5d,_0x259048:0x4f6,_0x282390:0x1bc,_0x551b61:0x175,_0x19ab8b:0x8a,_0x34f2f3:0x631,_0x37f746:0x29,_0x5a10ca:0x68b,_0x1b879b:0x16e,_0x131b9c:0x403,_0x1b8101:0x1e7,_0x2d69b2:0x238},_0x112bbe={_0x4c3630:0x5e0},_0xe34fb3={_0x3becfb:0x1f},_0x3bd4ca={};_0x3bd4ca[_0x13b339(_0x4b651c._0x3730ab,_0x4b651c._0x2b3a3a)]=function(_0x538a9e,_0xede7d4){return _0x538a9e>_0xede7d4;},_0x3bd4ca[_0x13b339(_0x4b651c._0x2b1d5d,_0x4b651c._0x5b585a)]='relay\x20he'+_0x1bafe6(0xe7,_0x4b651c._0x39568b)+_0x1bafe6(0x3c1,_0x4b651c._0x5533e7)+'t';function _0x1bafe6(_0x5270f3,_0x23aa2e){return _0x3a90bd(_0x5270f3,_0x23aa2e- -_0xe34fb3._0x3becfb);}const _0x495500=_0x3bd4ca;this['stopHear'+_0x1bafe6(_0x4b651c._0x3f1c55,_0x4b651c._0x12c83f)]();function _0x13b339(_0x301630,_0x58922f){return _0x3a90bd(_0x301630,_0x58922f-0x57d);}this[_0x1bafe6(0x66,0x18c)+_0x13b339(0x64b,0x3f6)]=setInterval(()=>{const _0x5b385a={_0x3774d9:0x30},_0x7f71db=this[_0x35af5a(0x51d,_0x2b45aa._0x2f6ed1)+_0x35af5a(0x70a,_0x2b45aa._0x3a42c8)];if(!_0x7f71db||_0x7f71db[_0x35af5a(_0x2b45aa._0x4e8774,0x5c8)+'te']!==_0x387a60['OPEN'])return;function _0x35af5a(_0x3fba03,_0x23d6fc){return _0x1bafe6(_0x3fba03,_0x23d6fc-_0x112bbe._0x4c3630);}this[_0x5b27c0(0x236,_0x2b45aa._0xc91b6d)+_0x5b27c0(0x2f4,_0x2b45aa._0x259048)+'ndshakes']();const _0x118929=this['options'][_0x5b27c0(_0x2b45aa._0x282390,_0x2b45aa._0x551b61)+_0x5b27c0(_0x2b45aa._0x19ab8b,0x15f)+'Ms']??HEARTBEAT_TIMEOUT_MS;if(_0x495500[_0x35af5a(0x67a,_0x2b45aa._0x34f2f3)](Date[_0x5b27c0(0x288,_0x2b45aa._0x37f746)]()-this[_0x35af5a(_0x2b45aa._0x5a10ca,0x574)+_0x5b27c0(0x189,_0x2b45aa._0x1b879b)+_0x35af5a(0x472,_0x2b45aa._0x131b9c)],_0x118929)){this[_0x5b27c0(-_0x2b45aa._0x1b8101,-_0x2b45aa._0x2d69b2)](_0x495500['iasLn']),_0x7f71db[_0x5b27c0(0xa6,0xa4)+'e']();return;}function _0x5b27c0(_0x29a084,_0x36db2d){return _0x1bafe6(_0x36db2d,_0x29a084-_0x5b385a._0x3774d9);}_0x7f71db[_0x35af5a(0x9f9,0x887)]();},this[_0x13b339(_0x4b651c._0x173b77,0x41d)][_0x13b339(_0x4b651c._0x421501,0x728)+_0x1bafe6(-_0x4b651c._0x477e77,-_0x4b651c._0x226a5f)+_0x13b339(_0x4b651c._0x296a41,0x871)]??HEARTBEAT_INTERVAL_MS);}[_0xb2a5b9(-0x8b,0x3)+_0x3a90bd(0x30e,0x106)](){const _0x31de61={_0x5ee242:0x266,_0x58b6a4:0x18d,_0x2fee0f:0x126,_0x17d909:0x53},_0x5ea3e2={_0x2eabd3:0xbb};function _0x3a4584(_0x13c018,_0x5e2b18){return _0x3a90bd(_0x5e2b18,_0x13c018-_0x5ea3e2._0x2eabd3);}function _0x7dd328(_0x289f8d,_0x2a926b){return _0x3a90bd(_0x289f8d,_0x2a926b-0x134);}this['heartbea'+'tTimer']&&(clearInterval(this['heartbea'+'tTimer']),this[_0x3a4584(_0x31de61._0x5ee242,_0x31de61._0x58b6a4)+_0x7dd328(-_0x31de61._0x2fee0f,-_0x31de61._0x17d909)]=null);}[_0xb2a5b9(0x1e8,0x22c)+_0x3a90bd(0x220,0x2e3)+_0x3a90bd(0x306,0x279)](){const _0x241896={_0x267c4a:0x441,_0x2edbd6:0x90,_0x377386:0x266,_0x2080f7:0x174,_0x5a656a:0x15f,_0x154e8c:0x12a,_0x21f5a5:0x307,_0x492e1f:0x1db,_0x23d957:0x81,_0x5f9380:0x7b,_0x5dbfde:0xb5,_0x5708e2:0x521,_0x43e301:0x4d0,_0x3b5dd9:0x54,_0x219e05:0x220,_0x158175:0xf0,_0x317dc7:0x1f6,_0x3de30d:0x541,_0x300312:0x71a,_0x5cc1b1:0x46b,_0x1d1d67:0x1cf,_0x198828:0x2c,_0x348586:0x1d,_0x4ea50c:0x3c};if(this['inFlight'+_0x4aca47(0x42f,_0x241896._0x267c4a)+_0x4aca47(_0x241896._0x2edbd6,_0x241896._0x377386)+'s']['size']===0x0)return;const _0x23ba22=this[_0x4aca47(0xf5,_0x241896._0x2080f7)]['connectH'+_0x4aca47(0x90,0x309)+_0x1654f6(-_0x241896._0x5a656a,0x13d)+'yMs']??CONNECT_HANDSHAKE_WARN_DELAY_MS;function _0x1654f6(_0x4d78fc,_0x29df70){return _0xb2a5b9(_0x4d78fc,_0x29df70-0x89);}function _0x4aca47(_0x41ed13,_0xfabc8d){return _0xb2a5b9(_0xfabc8d,_0x41ed13-0x24e);}const _0x55a203=Date[_0x1654f6(_0x241896._0x154e8c,_0x241896._0x21f5a5)]();for(const [_0x3f878a,_0x212fc4]of this[_0x4aca47(0xc8,-_0x241896._0x492e1f)+_0x1654f6(_0x241896._0x23d957,0x26a)+'andshake'+'s'][_0x1654f6(_0x241896._0x5f9380,_0x241896._0x5dbfde)]()){const _0x486936=_0x55a203-_0x212fc4['startedA'+_0x4aca47(_0x241896._0x5708e2,0x51a)];if(_0x212fc4[_0x4aca47(_0x241896._0x43e301,0x33a)+_0x4aca47(_0x241896._0x3b5dd9,-_0x241896._0x219e05)+'d']||_0x486936<_0x23ba22)continue;_0x212fc4[_0x1654f6(0xb9,0x30b)+'ingLogge'+'d']=!![],this[_0x4aca47(0x5d,-_0x241896._0x158175)](_0x4aca47(0x16b,-0x29)+_0x4aca47(0x1f7,_0x241896._0x317dc7)+'still\x20pe'+_0x4aca47(_0x241896._0x3de30d,_0x241896._0x300312)+_0x1654f6(-_0x241896._0x5cc1b1,-_0x241896._0x1d1d67)+_0x3f878a+_0x1654f6(0x65,-_0x241896._0x198828)+_0x212fc4[_0x1654f6(0x43d,0x2a1)]+(_0x1654f6(_0x241896._0x348586,-_0x241896._0x4ea50c)+'Ms=')+_0x486936);}}[_0x3a90bd(-0x1c1,-0x59)+_0xb2a5b9(-0xde,-0x84)+_0xb2a5b9(-0x8f,-0x204)+'e'](_0x596a8c){const _0x45aef4={_0x5f11ba:0x299,_0x5f336f:0x424,_0x382fad:0x155,_0x2c35eb:0x289,_0x3c28ce:0x267,_0x2ce3ca:0x4a7,_0x22138d:0x299},_0x208fe7={_0x408fd7:0x24};function _0x205f51(_0x5bb1bc,_0x97d954){return _0xb2a5b9(_0x5bb1bc,_0x97d954-0x396);}this[_0x2ca7bf(0xbc,0x155)+_0x205f51(0x2de,_0x45aef4._0x5f11ba)+'ssages'][_0x205f51(0x5b3,_0x45aef4._0x5f336f)]>=MAX_PENDING_GATEWAY_MESSAGES&&this[_0x2ca7bf(0x1c1,_0x45aef4._0x382fad)+_0x2ca7bf(-0x33f,-0xd9)+_0x205f51(_0x45aef4._0x2c35eb,0x528)]['shift']();function _0x2ca7bf(_0x17b4cd,_0x1126e2){return _0xb2a5b9(_0x17b4cd,_0x1126e2-_0x208fe7._0x408fd7);}this[_0x2ca7bf(_0x45aef4._0x3c28ce,_0x45aef4._0x382fad)+_0x205f51(_0x45aef4._0x2ce3ca,_0x45aef4._0x22138d)+'ssages']['push'](_0x596a8c);}['dropStal'+_0xb2a5b9(0x114,0x261)+'ewayQueu'+'e'](){const _0x39a12d={_0x5ed96d:0x789,_0x57db30:0x85c,_0x5b125f:0x917,_0x561e25:0x16d,_0x452cfd:0xad,_0x873888:0x24e,_0x16991d:0xaa3,_0x53f3b8:0x47,_0x36fcbb:0x215,_0x439bc1:0x54e,_0x1bb814:0x55d,_0x5de3c8:0x3a9,_0x56ae83:0x7cd,_0x2951e3:0x5e1,_0x4bf33c:0x712,_0x48021c:0xb0,_0x33ea38:0x30,_0x110352:0x706,_0x3fc301:0x579,_0xb12c84:0x548,_0x365e44:0x72d},_0x464775={_0xef8d3f:0x1aa},_0x2ad5e1=summarizePendingGatewayMessages(this[_0x2ca1e2(0x7a3,_0x39a12d._0x5ed96d)+_0x19299a(0xad,0xe6)+'ssages']);function _0x2ca1e2(_0x1adea7,_0x52496b){return _0xb2a5b9(_0x52496b,_0x1adea7-0x672);}if(_0x2ad5e1['total']===0x0||_0x2ad5e1[_0x2ca1e2(_0x39a12d._0x57db30,_0x39a12d._0x5b125f)+_0x19299a(0xaa,_0x39a12d._0x561e25)]>0x0)return;function _0x19299a(_0x4e824d,_0x96f618){return _0xb2a5b9(_0x96f618,_0x4e824d-_0x464775._0xef8d3f);}this['pendingG'+_0x19299a(_0x39a12d._0x452cfd,_0x39a12d._0x873888)+_0x2ca1e2(0x804,_0x39a12d._0x16991d)]=[],this[_0x19299a(-_0x39a12d._0x53f3b8,_0x39a12d._0x36fcbb)]('dropped\x20'+_0x19299a(0x491,_0x39a12d._0x439bc1)+'le\x20gatew'+_0x19299a(0x1c2,0x423)+_0x2ca1e2(_0x39a12d._0x1bb814,_0x39a12d._0x5de3c8)+_0x2ad5e1[_0x2ca1e2(_0x39a12d._0x56ae83,0x72f)]+_0x2ca1e2(_0x39a12d._0x2951e3,_0x39a12d._0x4bf33c)+_0x2ad5e1[_0x19299a(_0x39a12d._0x48021c,_0x39a12d._0x33ea38)+'t']+_0x2ca1e2(_0x39a12d._0x110352,_0x39a12d._0x3fc301)+_0x2ad5e1[_0x2ca1e2(_0x39a12d._0xb12c84,_0x39a12d._0x365e44)]);}['observeC'+_0x3a90bd(0xed,-0x48)+_0xb2a5b9(0x3ec,0x243)](_0x48f963,_0x5befd9){const _0x1b5ed8={_0x52ed17:0x244,_0x2f6bc0:0x66,_0x4403dd:0x14f,_0x6a748d:0x398,_0x5a34a7:0x5cf,_0x57ac45:0x754,_0x319110:0x333,_0x367a7d:0x20,_0x58ee21:0x6af,_0x4fff8d:0x77,_0x5dc5a9:0x88,_0x18b214:0x25a,_0x1bd1b7:0x1c,_0x536784:0xe8},_0x5ed741={_0xfdd5d0:0x4aa},_0x13a11f={_0x4c5356:0x33},_0x5fffc5=Date[_0xae210c(0x240,_0x1b5ed8._0x52ed17)](),_0x1ded67=new Map(this[_0x25c5d3(0x519,0x773)][_0x25c5d3(0x754,0x525)+'dDevices'][_0xae210c(_0x1b5ed8._0x2f6bc0,_0x1b5ed8._0x4403dd)](_0x4df30f=>[_0x4df30f['id'],{..._0x4df30f}])),_0xedcf48=_0x1ded67[_0x25c5d3(_0x1b5ed8._0x6a748d,_0x1b5ed8._0x5a34a7)](_0x48f963)??{'id':_0x48f963,'label':_0x5befd9,'state':_0x25c5d3(_0x1b5ed8._0x57ac45,0x5bc)+'d','lastSeenMs':_0x5fffc5};_0xedcf48[_0xae210c(-_0x1b5ed8._0x319110,-0xb4)]=_0x5befd9,_0xedcf48[_0x25c5d3(0x2a1,_0x1b5ed8._0x367a7d)]=_0x25c5d3(0x754,_0x1b5ed8._0x58ee21)+'d',_0xedcf48[_0xae210c(0x313,0x124)+'Ms']=_0x5fffc5,_0x1ded67['set'](_0x48f963,_0xedcf48);function _0xae210c(_0x38146b,_0x511285){return _0x3a90bd(_0x38146b,_0x511285- -_0x13a11f._0x4c5356);}function _0x25c5d3(_0x1abb00,_0x4da57d){return _0x3a90bd(_0x4da57d,_0x1abb00-_0x5ed741._0xfdd5d0);}const _0x2a96cd=[..._0x1ded67[_0xae210c(_0x1b5ed8._0x4fff8d,_0x1b5ed8._0x5dc5a9)]()]['sort']((_0x2af607,_0x3b8fab)=>_0x3b8fab[_0xae210c(0x2c9,0x124)+'Ms']-_0x2af607[_0x25c5d3(0x601,0x829)+'Ms'])[_0xae210c(0x1a9,_0x1b5ed8._0x18b214)](0x0,MAX_DEVICE_DETAILS),_0x243794={};_0x243794[_0x25c5d3(0x754,0x862)+_0xae210c(-_0x1b5ed8._0x1bd1b7,0x172)]=_0x2a96cd,this[_0xae210c(0x13c,-_0x1b5ed8._0x536784)+_0x25c5d3(0x3a8,0x346)](_0x243794);}[_0xb2a5b9(-0x9c,0x93)+'cesRecen'+'t'](){const _0x58dfb5={_0x27405c:0x6e5,_0x3f73c6:0x6b2,_0x491bd5:0x385,_0x3a29d4:0x3f0},_0x4be663={_0x201aeb:0x539};function _0x2b618e(_0x526166,_0x1d29db){return _0xb2a5b9(_0x526166,_0x1d29db-0x267);}function _0x369094(_0x2d528c,_0x418502){return _0xb2a5b9(_0x418502,_0x2d528c-_0x4be663._0x201aeb);}this['updateSn'+_0x2b618e(0x397,0x16c)]({'connectedDevices':this['snapshot'][_0x369094(0x7ea,0x639)+_0x369094(_0x58dfb5._0x27405c,_0x58dfb5._0x3f73c6)][_0x2b618e(_0x58dfb5._0x491bd5,_0x58dfb5._0x3a29d4)](_0x457928=>({..._0x457928,'state':_0x369094(0x59e,0x380)}))});}[_0x3a90bd(0x487,0x2b4)+_0x3a90bd(0x1db,0x2ad)+_0x3a90bd(0xbb,-0x1bf)](_0x42edd9){const _0x1094bc={_0x162f47:0x185,_0x51068e:0x403,_0x144544:0x927,_0x31aea8:0xa41,_0x224365:0x16b,_0x1217da:0x6a,_0x42035d:0xf0,_0xbe308c:0x121,_0x2f4cd5:0x578,_0xdfb173:0x6d1,_0x2b5ef7:0x578,_0x536646:0x3d0,_0xe0a796:0x644,_0x2c7f41:0x7b6,_0xb295bf:0x5f7,_0x19b7b8:0x738,_0x146ffb:0x4a,_0x49b067:0x224,_0x123f7e:0x7d8,_0x20540a:0x14e,_0x41c10f:0xa10,_0x54a59d:0x29d,_0x19908e:0x6f3,_0x55e5a9:0xe7};function _0x1e4d0b(_0x1f51fb,_0x1da883){return _0xb2a5b9(_0x1f51fb,_0x1da883-0x10f);}if(this[_0x1e4d0b(0x2fe,_0x1094bc._0x162f47)][_0x170a13(0x51e,_0x1094bc._0x51068e)+_0x170a13(_0x1094bc._0x144544,_0x1094bc._0x31aea8)+_0x1e4d0b(_0x1094bc._0x224365,-0x6b)][_0x1e4d0b(-_0x1094bc._0x1217da,_0x1094bc._0x42035d)](_0x9c57fb=>_0x9c57fb[_0x1e4d0b(0x290,0x133)+'d']===_0x42edd9[_0x170a13(0x716,0x83f)+'d']))return;const _0x5d7921=[...this[_0x1e4d0b(_0x1094bc._0xbe308c,0x185)]['pendingP'+'airReque'+_0x170a13(_0x1094bc._0x2f4cd5,_0x1094bc._0xdfb173)],_0x42edd9][_0x1e4d0b(0x5b8,0x3a3)](-MAX_PENDING_PAIR_REQUESTS),_0x57a201={};_0x57a201['pendingP'+'airReque'+_0x170a13(_0x1094bc._0x2b5ef7,_0x1094bc._0x536646)]=_0x5d7921,this[_0x170a13(_0x1094bc._0xe0a796,_0x1094bc._0x2c7f41)+_0x170a13(_0x1094bc._0xb295bf,_0x1094bc._0x19b7b8)](_0x57a201),this[_0x1e4d0b(0x1fe,-_0x1094bc._0x146ffb)]['onPendin'+_0x1e4d0b(_0x1094bc._0x49b067,-0x63)+_0x170a13(_0x1094bc._0x123f7e,0x798)]?.(_0x42edd9);function _0x170a13(_0x2293bd,_0x142a4f){return _0xb2a5b9(_0x142a4f,_0x2293bd-0x6f2);}this['log'](_0x1e4d0b(0xf2,-_0x1094bc._0x20540a)+_0x1e4d0b(-0x16,0x86)+_0x170a13(0x8a9,_0x1094bc._0x41c10f)+'uestId='+_0x42edd9[_0x1e4d0b(0x10f,0x133)+'d']+(_0x1e4d0b(_0x1094bc._0x54a59d,0x3c7)+'d=')+(_0x42edd9[_0x170a13(_0x1094bc._0x19908e,0x988)]||_0x1e4d0b(0x237,_0x1094bc._0x55e5a9)+'>'));}[_0x3a90bd(0x1bc,0x16f)+'RequestR'+_0xb2a5b9(-0x87,0x175)](_0x238e5f,_0x38f682){const _0x406d0e={_0x30af76:0xa3,_0x4e3478:0xc4,_0x5e6b73:0x1c4,_0x121d3e:0x3b0,_0x1c5b96:0x1e4,_0x277ad3:0x3a4,_0x755ae5:0x29d,_0x3423d8:0x13b,_0xd850b3:0x293},_0xa5b512={_0x394961:0x39f};function _0x133e64(_0x19480e,_0x470e14){return _0x3a90bd(_0x470e14,_0x19480e-0x1a3);}function _0x6a1b6c(_0x202523,_0x4073d4){return _0x3a90bd(_0x202523,_0x4073d4-_0xa5b512._0x394961);}const _0xf7b7a0=this[_0x133e64(0x212,_0x406d0e._0x30af76)][_0x6a1b6c(_0x406d0e._0x4e3478,_0x406d0e._0x5e6b73)+_0x133e64(0x3d1,_0x406d0e._0x121d3e)+'sts'][_0x133e64(0x325,0x42d)](_0x163c40=>_0x163c40['requestI'+'d']===_0x238e5f?{..._0x163c40,'status':_0x38f682===_0x133e64(0x1e7,0x346)||_0x38f682===_0x6a1b6c(0x114,0x2b7)?_0x38f682:_0x163c40[_0x6a1b6c(-0x27,0x1de)]}:_0x163c40),_0x44c798={};_0x44c798[_0x133e64(-0x38,0x92)+_0x133e64(0x3d1,_0x406d0e._0x1c5b96)+'sts']=_0xf7b7a0,this['updateSn'+_0x6a1b6c(_0x406d0e._0x277ad3,_0x406d0e._0x755ae5)](_0x44c798),this[_0x6a1b6c(0x28a,0x1a7)](_0x6a1b6c(-0x67,_0x406d0e._0x3423d8)+'uest\x20res'+_0x133e64(0x243,0x40a)+_0x6a1b6c(0x208,_0x406d0e._0xd850b3)+_0x238e5f+('\x20decisio'+'n=')+_0x38f682);}['updateSn'+_0xb2a5b9(-0xde,-0xfb)](_0x2b5712){const _0x48b940={_0x2380f9:0x4f5,_0x36da6c:0x680,_0x42cd0c:0x55a},_0x3cccaa={_0x518219:0x47f};function _0x4ff9d7(_0x5f0c22,_0x2e5e10){return _0xb2a5b9(_0x5f0c22,_0x2e5e10-0x653);}Object['assign'](this[_0xc5a0a5(_0x48b940._0x2380f9,0x773)],_0x2b5712,{'lastUpdatedMs':Date[_0xc5a0a5(0x6fd,_0x48b940._0x36da6c)]()});function _0xc5a0a5(_0x21b62d,_0x35c3a3){return _0xb2a5b9(_0x35c3a3,_0x21b62d-_0x3cccaa._0x518219);}this[_0x4ff9d7(0x78f,0x4fa)]['onStatus']?.(this[_0x4ff9d7(_0x48b940._0x42cd0c,0x568)+'hot']());}[_0x3a90bd(-0x255,-0x1f8)](_0x3c1b8d){const _0x2e878f={_0x4f4225:0x539};function _0x17b16f(_0x9b975e,_0x453aa1){return _0x3a90bd(_0x453aa1,_0x9b975e-_0x2e878f._0x4f4225);}function _0x262747(_0xbddeba,_0x5aba32){return _0x3a90bd(_0xbddeba,_0x5aba32-0x226);}this[_0x262747(-0x55,0xc6)][_0x262747(-0xdb,0xa1)]?.(_0x3c1b8d);}[_0xb2a5b9(0x2aa,0x20a)+_0xb2a5b9(0x181,0x130)](){const _0x434346={_0x15bb9d:0x7ff,_0x33fbf2:0x491,_0xa14948:0x7be,_0x587376:0x4bc};function _0xad2f5f(_0x3d2ceb,_0x4c2177){return _0xb2a5b9(_0x4c2177,_0x3d2ceb-0x3a7);}const _0x81448c={};_0x81448c[_0x4d61d2(_0x434346._0x15bb9d,0x67d)]=function(_0x2730b1,_0x2d00c5){return _0x2730b1===_0x2d00c5;};function _0x4d61d2(_0x487e85,_0x498cfa){return _0xb2a5b9(_0x498cfa,_0x487e85-0x6e6);}const _0x78a17e=_0x81448c;return _0x78a17e['uRsKU'](this[_0xad2f5f(0x3ee,_0x434346._0x33fbf2)+_0x4d61d2(0x777,_0x434346._0xa14948)]?.[_0x4d61d2(0x6f4,0x7f2)+'te'],_0x387a60[_0x4d61d2(_0x434346._0x587376,0x245)]);}[_0xb2a5b9(0x198,0xf7)+'yOpen'](){function _0x1d2290(_0x34e787,_0x41c487){return _0x3a90bd(_0x34e787,_0x41c487- -0x69);}function _0x19dfc0(_0x3266e6,_0x221ce0){return _0x3a90bd(_0x221ce0,_0x3266e6-0xbf);}return this[_0x1d2290(0x26,-0x123)+_0x19dfc0(-0x8,0xfb)]?.['readySta'+'te']===_0x387a60[_0x19dfc0(-0x172,-0x114)];}['clearTim'+_0xb2a5b9(0x309,0x225)](){const _0x40fddf={_0x51891e:0xbe2,_0x114e3f:0x5a4,_0x860a39:0x9c9,_0x3c365f:0x72d,_0x288e8f:0x2dc,_0x37e435:0x10a,_0x5c0615:0x64f,_0x5cc177:0x69c,_0x336445:0x4b4,_0x2cfcd9:0x54f,_0xee5747:0x52d},_0x55b291={_0x31653b:0x45c},_0x26915d={'yPgaX':function(_0x4af374,_0x3cecc9){return _0x4af374(_0x3cecc9);},'vTJeh':function(_0x53cf45,_0x410699){return _0x53cf45(_0x410699);}};this['stopHear'+_0x8c6d10(0x569,0x326)]();this[_0x15d22c(0x9c9,_0x40fddf._0x51891e)+'tTimer']&&(_0x26915d[_0x15d22c(0x6ac,_0x40fddf._0x114e3f)](clearTimeout,this[_0x15d22c(_0x40fddf._0x860a39,0x8b3)+'tTimer']),this[_0x8c6d10(_0x40fddf._0x3c365f,0x5ef)+_0x8c6d10(_0x40fddf._0x288e8f,_0x40fddf._0x37e435)]=null);function _0x8c6d10(_0x2efa76,_0x5171c1){return _0xb2a5b9(_0x5171c1,_0x2efa76-_0x55b291._0x31653b);}function _0x15d22c(_0x237663,_0x1f029c){return _0xb2a5b9(_0x1f029c,_0x237663-0x6f8);}this[_0x15d22c(_0x40fddf._0x5c0615,0x896)+_0x8c6d10(_0x40fddf._0x5cc177,_0x40fddf._0x336445)+'r']&&(_0x26915d[_0x15d22c(_0x40fddf._0x2cfcd9,0x7d2)](clearTimeout,this['gatewayR'+_0x8c6d10(0x69c,_0x40fddf._0xee5747)+'r']),this[_0x8c6d10(0x3b3,0x3f8)+_0x8c6d10(0x69c,0x5bd)+'r']=null);}[_0xb2a5b9(0x199,0x2f8)+_0x3a90bd(-0x99,-0x247)](_0x1f473c){const _0x21cb58={_0x2ebe76:0x159,_0x1d8fdc:0x17c,_0x1d00a9:0x7ef},_0x2bf505={_0x546d06:0x4a1},_0x4d9c55={_0x568607:0x125};function _0x4f14e0(_0x10ef30,_0xbfa8a0){return _0x3a90bd(_0xbfa8a0,_0x10ef30-_0x4d9c55._0x568607);}function _0x55ddee(_0x2296a2,_0x119591){return _0x3a90bd(_0x2296a2,_0x119591-_0x2bf505._0x546d06);}return _0x1f473c==null?null:Math[_0x4f14e0(_0x21cb58._0x2ebe76,_0x21cb58._0x1d8fdc)](0x0,Date[_0x55ddee(_0x21cb58._0x1d00a9,0x718)]()-_0x1f473c);}};function shouldKeepGatewayConnected(_0xf9ca93,_0xabaaf5){const _0x35a1b6={_0x2df9ac:0x272,_0x77ad44:0x47e},_0x155bff={_0x2457ed:0x283};function _0xbfe8c6(_0x3dc5c3,_0x5d1019){return _0x3a90bd(_0x5d1019,_0x3dc5c3-_0x155bff._0x2457ed);}const _0x3f7537={};_0x3f7537[_0xbfe8c6(_0x35a1b6._0x2df9ac,_0x35a1b6._0x77ad44)]=function(_0x5c9b21,_0x4e07cb){return _0x5c9b21>_0x4e07cb;};const _0x4ff97e=_0x3f7537;return _0x4ff97e['xEHiQ'](_0xf9ca93,0x0)||_0xabaaf5>0x0;}function shouldScheduleGatewayIdleClose(_0x3c4d64,_0x2b65ab,_0x27d679){const _0x5cc397={_0x17c482:0x42b,_0x31ff62:0x26f},_0x1f73ce={'Bsqut':function(_0x3c9dde,_0x3cb5ff,_0x3ccb79){return _0x3c9dde(_0x3cb5ff,_0x3ccb79);}};function _0x26cc20(_0x1e48bc,_0x3a8bdf){return _0xb2a5b9(_0x3a8bdf,_0x1e48bc-0x159);}return _0x27d679&&!_0x1f73ce[_0x26cc20(_0x5cc397._0x17c482,_0x5cc397._0x31ff62)](shouldKeepGatewayConnected,_0x3c4d64,_0x2b65ab);}function shouldRecycleGatewayForFreshClient(_0x378ce0,_0x44e287,_0x3e1968,_0xb0db16){return _0x3e1968&&_0x44e287>0x0&&(_0x378ce0===0x0||_0xb0db16);}function summarizePendingGatewayMessages(_0x344a79){const _0x31d000={_0x21a699:0x42e,_0x3929de:0x59e,_0x5c994e:0x596,_0x1111c5:0x752,_0x35eaa1:0x133,_0xf146d:0x56c,_0x5aa0ee:0x2db,_0x15123e:0x4bd,_0x492e28:0x419,_0x494e4c:0x7ee};function _0x2ca2f3(_0x38130d,_0x2be261){return _0xb2a5b9(_0x2be261,_0x38130d-0x2d3);}const _0x3958dc={};_0x3958dc[_0x2ca2f3(_0x31d000._0x21a699,0x60c)]=_0x344a79['length'],_0x3958dc[_0x2ca2f3(0x4bd,_0x31d000._0x3929de)+_0xa16e31(_0x31d000._0x5c994e,_0x31d000._0x1111c5)]=0x0,_0x3958dc['otherTex'+'t']=0x0;function _0xa16e31(_0x13e5b8,_0xd36705){return _0xb2a5b9(_0xd36705,_0x13e5b8-0x696);}_0x3958dc[_0xa16e31(0x56c,0x473)]=0x0;const _0x54a116=_0x3958dc;for(const _0xc1a4fa of _0x344a79){if(_0xc1a4fa[_0x2ca2f3(0xbf,_0x31d000._0x35eaa1)]==='binary'){_0x54a116[_0xa16e31(_0x31d000._0xf146d,0x666)]+=0x1;continue;}if(isConnectHandshakeRequest(_0xc1a4fa[_0x2ca2f3(_0x31d000._0x5aa0ee,0x49e)])){_0x54a116[_0x2ca2f3(_0x31d000._0x15123e,_0x31d000._0x492e28)+_0xa16e31(0x596,_0x31d000._0x494e4c)]+=0x1;continue;}_0x54a116['otherTex'+'t']+=0x1;}return _0x54a116;}function dedupePendingGatewayMessages(_0x3791c6){const _0x3040df={_0x49a180:0x794,_0x9a2bd2:0x4d2,_0x5943f8:0x25e,_0x49ff47:0x54c,_0x553285:0x658,_0x249bb3:0x6e6,_0x3b610e:0x5d9,_0xc4c611:0x774,_0x570be4:0x92a,_0x380bfd:0x5d8,_0x20edca:0x6f7,_0x1cc440:0x5d8};let _0x3045d5=-0x1;for(let _0x257517=_0x3791c6[_0x250a3d(0x558,_0x3040df._0x49a180)]-0x1;_0x257517>=0x0;_0x257517-=0x1){const _0x4a4de4=_0x3791c6[_0x257517];if(_0x4a4de4?.[_0x2c8a58(0x491,0x336)]===_0x250a3d(_0x3040df._0x9a2bd2,_0x3040df._0x5943f8)&&isConnectHandshakeRequest(_0x4a4de4['text'])){_0x3045d5=_0x257517;break;}}if(_0x3045d5<=0x0){const _0x36a3e6={};return _0x36a3e6[_0x250a3d(0x774,_0x3040df._0x49ff47)]=[..._0x3791c6],_0x36a3e6[_0x250a3d(0x709,_0x3040df._0x553285)]=0x0,_0x36a3e6;}const _0x2eba53=_0x3791c6[_0x250a3d(_0x3040df._0x249bb3,_0x3040df._0x3b610e)]((_0x1e9630,_0x47d063)=>_0x47d063>=_0x3045d5||(_0x1e9630[_0x250a3d(0x2b6,0x3f2)]!==_0x2c8a58(0x7cb,0x552)||!isConnectHandshakeRequest(_0x1e9630[_0x2c8a58(0x588,0x552)]))),_0x215f11={};_0x215f11[_0x250a3d(_0x3040df._0xc4c611,0x945)]=_0x2eba53;function _0x2c8a58(_0x157810,_0x1ec5b7){return _0x3a90bd(_0x157810,_0x1ec5b7-0x551);}function _0x250a3d(_0x4b6808,_0x32aacc){return _0x3a90bd(_0x32aacc,_0x4b6808-0x4d1);}return _0x215f11[_0x2c8a58(_0x3040df._0x570be4,0x789)]=_0x3791c6[_0x2c8a58(0x57f,_0x3040df._0x380bfd)]-_0x2eba53[_0x2c8a58(_0x3040df._0x20edca,_0x3040df._0x1cc440)],_0x215f11;}function prunePendingGatewayMessagesForFreshDemand(_0x223ac0){const _0x244757={_0x26be02:0x15f,_0x4ba8ac:0x39c,_0x1e685b:0x653,_0x35f67c:0x49e,_0x16398c:0x223,_0x51d722:0x72,_0x2b5b7e:0x589,_0x45cae1:0x6ec,_0x5a34af:0x82b,_0x2dd36c:0xa96,_0xe02157:0x72,_0x5f048d:0x6af,_0x3dc75c:0x3c8},_0xa081da={};_0xa081da[_0x18d38b(0xf6,_0x244757._0x26be02)]=function(_0x5560f0,_0x3c2022){return _0x5560f0-_0x3c2022;};function _0x358555(_0x15fb15,_0x1ebde5){return _0x3a90bd(_0x1ebde5,_0x15fb15-0x588);}_0xa081da[_0x18d38b(_0x244757._0x4ba8ac,0x14d)]=function(_0x1fdb1d,_0x28e603){return _0x1fdb1d>=_0x28e603;};const _0x193ea0=_0xa081da;if(_0x223ac0[_0x358555(0x60f,_0x244757._0x1e685b)]===0x0){const _0x770e9d={};return _0x770e9d[_0x18d38b(_0x244757._0x35f67c,0x28e)]=[],_0x770e9d[_0x18d38b(0xa3,_0x244757._0x16398c)]=0x0,_0x770e9d;}let _0xb9884d=-0x1;for(let _0x2be694=_0x193ea0[_0x18d38b(-0x121,_0x244757._0x26be02)](_0x223ac0[_0x18d38b(-0x195,_0x244757._0x51d722)],0x1);_0x193ea0[_0x358555(0x6ea,0x76b)](_0x2be694,0x0);_0x2be694-=0x1){const _0x1c785b=_0x223ac0[_0x2be694];if(_0x1c785b?.[_0x18d38b(-0x29b,-0x230)]==='text'&&isConnectHandshakeRequest(_0x1c785b[_0x358555(_0x244757._0x2b5b7e,_0x244757._0x45cae1)])){_0xb9884d=_0x2be694;break;}}if(_0xb9884d===-0x1){const _0x335813={};return _0x335813[_0x358555(_0x244757._0x5a34af,_0x244757._0x2dd36c)]=[],_0x335813[_0x18d38b(0x132,0x223)]=_0x223ac0[_0x18d38b(-0x200,_0x244757._0xe02157)],_0x335813;}const _0x2ece52=_0x223ac0[_0x358555(0x815,_0x244757._0x5f048d)](_0xb9884d),_0xa0b32a={};_0xa0b32a[_0x18d38b(0x324,0x28e)]=_0x2ece52,_0xa0b32a[_0x18d38b(_0x244757._0x3dc75c,_0x244757._0x16398c)]=_0x223ac0['length']-_0x2ece52[_0x18d38b(0x2ad,_0x244757._0xe02157)];function _0x18d38b(_0x3b45ce,_0x139b74){return _0x3a90bd(_0x3b45ce,_0x139b74- -0x15);}return _0xa0b32a;}function patchConnectRequestGatewayAuth(_0x437c3a,_0x5f4402){const _0x53161f={_0x5d4a3c:0x79,_0x5d4cdc:0x558,_0x37a037:0x351,_0x39b889:0x31a,_0xec0d68:0x52d,_0xd75a4:0x444,_0x19562b:0x3ba,_0x1c4302:0x4d1,_0x4d2bb0:0x4cf,_0x1e407e:0x2ea,_0x2934f7:0x60b,_0xde1c25:0x8f4,_0x258928:0x705,_0x1887c6:0x969,_0x579c44:0x81b,_0x2b16e3:0x480,_0x548faf:0x81b,_0x3b05dd:0x1d3,_0x56d618:0x26d,_0x321c76:0x52b,_0x469350:0x54e,_0x35613b:0x21b,_0x39d427:0x3ef,_0x548a4c:0x72b,_0x3f2a98:0x5d0,_0x2b8775:0x5d3,_0x357e90:0x9fe,_0x24bb0b:0xa4d,_0x2e8a0b:0x89c,_0x25b8e8:0x774,_0x94577d:0x524,_0x98f33a:0x346},_0x1a8ced={_0x351969:0x265},_0x406d91={};_0x406d91[_0x1a5080(-0xb3,_0x53161f._0x5d4a3c)]=function(_0x2a1366,_0x584217){return _0x2a1366!==_0x584217;},_0x406d91['DoOug']=_0x1a5080(_0x53161f._0x5d4cdc,_0x53161f._0x37a037)+_0x1a5080(_0x53161f._0x39b889,_0x53161f._0xec0d68);function _0x3deb8c(_0x3a3b62,_0x1691f3){return _0xb2a5b9(_0x1691f3,_0x3a3b62-0x603);}function _0x1a5080(_0x4806a7,_0xa7d638){return _0xb2a5b9(_0x4806a7,_0xa7d638-_0x1a8ced._0x351969);}_0x406d91[_0x3deb8c(_0x53161f._0xd75a4,0x375)]=_0x1a5080(_0x53161f._0x19562b,_0x53161f._0x1c4302),_0x406d91['iurKd']=_0x3deb8c(_0x53161f._0x4d2bb0,0x61a);const _0x12aa45=_0x406d91;if(_0x12aa45[_0x3deb8c(0x417,_0x53161f._0x1e407e)](_0x5f4402[_0x3deb8c(0x523,0x687)],'password')||!_0x5f4402['password']){const _0x33446c={};return _0x33446c[_0x3deb8c(_0x53161f._0x2934f7,0x6d7)]=_0x437c3a,_0x33446c[_0x1a5080(0x5a5,0x54e)]=![],_0x33446c;}try{const _0x46ba3d=JSON[_0x3deb8c(_0x53161f._0xde1c25,0xa6a)](_0x437c3a);if(_0x46ba3d[_0x3deb8c(_0x53161f._0x258928,_0x53161f._0x1887c6)]!=='req'||_0x46ba3d[_0x3deb8c(_0x53161f._0x579c44,0x996)]!==_0x1a5080(_0x53161f._0x2b16e3,0x4a0)&&_0x46ba3d[_0x3deb8c(_0x53161f._0x548faf,0x813)]!==_0x12aa45[_0x1a5080(0x401,0x1a7)]){const _0x3eab55={};return _0x3eab55[_0x1a5080(_0x53161f._0x3b05dd,_0x53161f._0x56d618)]=_0x437c3a,_0x3eab55[_0x1a5080(_0x53161f._0x321c76,_0x53161f._0x469350)]=![],_0x3eab55;}const _0x49ab4f=_0x46ba3d[_0x1a5080(_0x53161f._0x35613b,_0x53161f._0x39d427)]&&typeof _0x46ba3d['params']===_0x3deb8c(0x86f,_0x53161f._0x548a4c)?{..._0x46ba3d['params']}:{},_0x96fac3=_0x49ab4f[_0x3deb8c(0x805,_0x53161f._0x3f2a98)]&&typeof _0x49ab4f['auth']===_0x12aa45[_0x3deb8c(_0x53161f._0xd75a4,_0x53161f._0x2b8775)]?{..._0x49ab4f[_0x1a5080(0x41e,0x467)]}:{},_0x353ca4=typeof _0x96fac3[_0x3deb8c(0x8c2,_0x53161f._0x357e90)]===_0x12aa45[_0x3deb8c(0x855,_0x53161f._0x24bb0b)]?_0x96fac3[_0x1a5080(0x587,0x524)][_0x3deb8c(_0x53161f._0x2e8a0b,0xa07)]():'';if(_0x353ca4){const _0x2f4b30={};return _0x2f4b30['text']=_0x437c3a,_0x2f4b30[_0x1a5080(_0x53161f._0x25b8e8,0x54e)]=![],_0x2f4b30;}_0x96fac3[_0x1a5080(0x467,_0x53161f._0x94577d)]=_0x5f4402['password'],_0x49ab4f[_0x1a5080(_0x53161f._0x98f33a,0x467)]=_0x96fac3;const _0x348878={..._0x46ba3d};return _0x348878['params']=_0x49ab4f,{'text':JSON['stringif'+'y'](_0x348878),'injected':!![]};}catch{const _0x31da1f={};return _0x31da1f['text']=_0x437c3a,_0x31da1f[_0x1a5080(0x4ad,_0x53161f._0x469350)]=![],_0x31da1f;}}function formatConnectHandshakeMetaForLog(_0xd15dca){const _0x5191b7={_0x23ae18:0x5e1,_0x4578a8:0x2e0,_0x21e427:0x164,_0x27f85a:0x3f0,_0x2688a5:0x782,_0x2ae07d:0x875,_0x51e113:0x457,_0x27a1f7:0x971,_0x78ea05:0x1da},_0x5ee33b={_0x332dc1:0x3c9},_0x2b6d54={_0x426b82:0x4ad},_0x133cac={};function _0x43998f(_0x354fbe,_0x1266d1){return _0xb2a5b9(_0x1266d1,_0x354fbe-_0x2b6d54._0x426b82);}_0x133cac['hFhsH']='<none>';const _0xa756aa=_0x133cac;function _0x397ee3(_0x445432,_0x9c580d){return _0xb2a5b9(_0x9c580d,_0x445432-_0x5ee33b._0x332dc1);}if(!_0xd15dca)return'';return _0x397ee3(0x314,0x2e0)+_0xd15dca[_0x397ee3(_0x5191b7._0x23ae18,0x5c8)]+'\x20reqId='+(_0xd15dca['id']??_0xa756aa[_0x397ee3(0x232,0x70)])+(_0x43998f(_0x5191b7._0x4578a8,0xf8)+_0x43998f(0x44c,0x53b))+_0xd15dca['noncePre'+'sent']+('\x20nonceLe'+'ngth=')+(_0xd15dca['nonceLen'+_0x397ee3(0x3f7,_0x5191b7._0x21e427)]??0x0)+(_0x397ee3(0x36c,_0x5191b7._0x27f85a)+_0x397ee3(0x41a,0x475))+(_0xd15dca[_0x43998f(_0x5191b7._0x2688a5,_0x5191b7._0x2ae07d)+'ds'][_0x397ee3(_0x5191b7._0x51e113,0x3ab)]>0x0?_0xd15dca[_0x43998f(0x782,_0x5191b7._0x27a1f7)+'ds'][_0x397ee3(_0x5191b7._0x78ea05,0x28)](','):_0x43998f(0x2c2,0x512));}function buildRelayWsUrl(_0xa9369f){const _0x3f085c={_0x16a43e:0x57a,_0x3916fa:0x604,_0x36191f:0x6aa,_0x434991:0x640,_0x25394c:0x640,_0x1843ba:0x34d,_0x1f59c3:0x57b,_0x32ed2c:0x38f,_0x322fca:0x63d,_0x226a92:0x483,_0x4163fa:0x22d,_0x5bf9a5:0x466,_0x34fa72:0x3b6,_0x4a5389:0x488,_0x10ce85:0x48b,_0x47dd73:0x65e,_0x74ab31:0x57b,_0x1af222:0x4f2,_0x478c8b:0x9b3,_0x18d1de:0x756,_0x10389d:0x37c,_0x28f34b:0x345,_0x282186:0x802},_0x286452={};function _0x3776d7(_0x5d216e,_0x4b4ef5){return _0xb2a5b9(_0x4b4ef5,_0x5d216e-0x43e);}_0x286452[_0x3776d7(0x483,0x226)]='gatewayI'+'d';const _0x53ad5e=_0x286452,_0x1e8b3c=new URL(_0xa9369f[_0x3776d7(_0x3f085c._0x16a43e,_0x3f085c._0x3916fa)]);(!_0x1e8b3c[_0x55c5a6(_0x3f085c._0x36191f,0x640)]||_0x1e8b3c[_0x55c5a6(0x4f0,_0x3f085c._0x434991)]==='/')&&(_0x1e8b3c[_0x55c5a6(0x49b,_0x3f085c._0x25394c)]='/ws');_0x1e8b3c[_0x3776d7(0x466,_0x3f085c._0x1843ba)+_0x3776d7(_0x3f085c._0x1f59c3,_0x3f085c._0x32ed2c)][_0x55c5a6(0x6bd,_0x3f085c._0x322fca)](_0x53ad5e[_0x3776d7(_0x3f085c._0x226a92,0x317)],_0xa9369f[_0x3776d7(_0x3f085c._0x4163fa,0x2c6)+'d']),_0x1e8b3c[_0x3776d7(_0x3f085c._0x5bf9a5,_0x3f085c._0x34fa72)+_0x55c5a6(0x700,0x6d5)]['set'](_0x55c5a6(_0x3f085c._0x4a5389,_0x3f085c._0x10ce85),_0x3776d7(_0x3f085c._0x47dd73,0x506));function _0x55c5a6(_0x4b50b1,_0x1f8de7){return _0xb2a5b9(_0x4b50b1,_0x1f8de7-0x598);}return _0x1e8b3c['searchPa'+_0x3776d7(_0x3f085c._0x74ab31,0x585)]['set']('clientId',_0xa9369f[_0x55c5a6(0x206,0x365)+'Id']),_0x1e8b3c['searchPa'+_0x3776d7(0x57b,_0x3f085c._0x1af222)]['set']('token',_0xa9369f[_0x55c5a6(_0x3f085c._0x478c8b,_0x3f085c._0x18d1de)+_0x3776d7(_0x3f085c._0x10389d,_0x3f085c._0x28f34b)]),_0x1e8b3c[_0x3776d7(0x5e5,_0x3f085c._0x282186)]();}function redactRelayWsUrl(_0x514ec8){const _0x4ef972={_0x48cfdd:0xdd,_0x56b7a4:0x7,_0xed3e60:0x56c,_0x22330a:0x2bd},_0x359eb2={_0x3737b1:0x582},_0x2d215f={_0x177c0d:0x2f};function _0x5b7864(_0x557ab1,_0x540ad3){return _0xb2a5b9(_0x540ad3,_0x557ab1- -_0x2d215f._0x177c0d);}const _0x3ea0d6=new URL(_0x514ec8);function _0x1744bf(_0x50cd6e,_0x4b55c0){return _0xb2a5b9(_0x50cd6e,_0x4b55c0-_0x359eb2._0x3737b1);}return _0x3ea0d6[_0x1744bf(0x7b7,0x5aa)+'rams'][_0x5b7864(0x262,_0x4ef972._0x48cfdd)]('token')&&_0x3ea0d6[_0x5b7864(-_0x4ef972._0x56b7a4,-0x42)+'rams']['set'](_0x1744bf(_0x4ef972._0xed3e60,0x5e1),_0x5b7864(_0x4ef972._0x22330a,0x42d)+'d>'),_0x3ea0d6['toString']();}function normalizeText(_0x39a2d0){const _0xc3fa2f={_0x533c4a:0x22c,_0x25668d:0x1,_0x45650a:0x452,_0x29ff79:0x504,_0x522d04:0x2a7,_0x541110:0x7cf,_0x15114b:0x6bc,_0x2609a1:0x792,_0x514c01:0x1e1},_0xe2b675={_0x43e93c:0x100};function _0x1c7bf3(_0x2476b1,_0xe858a2){return _0xb2a5b9(_0x2476b1,_0xe858a2-0x5eb);}if(typeof _0x39a2d0===_0x1c7bf3(_0xc3fa2f._0x533c4a,0x4b7))return _0x39a2d0;if(Buffer['isBuffer'](_0x39a2d0))return _0x39a2d0[_0x1c7bf3(0x53d,0x792)](_0x529c35(_0xc3fa2f._0x25668d,0x14));function _0x529c35(_0x25b2c1,_0x352713){return _0xb2a5b9(_0x352713,_0x25b2c1-_0xe2b675._0x43e93c);}if(Array['isArray'](_0x39a2d0))return Buffer[_0x1c7bf3(_0xc3fa2f._0x45650a,_0xc3fa2f._0x29ff79)](_0x39a2d0)[_0x529c35(_0xc3fa2f._0x522d04,0x2bb)](_0x1c7bf3(0x3f0,0x4ec));if(_0x39a2d0 instanceof ArrayBuffer)return Buffer[_0x1c7bf3(_0xc3fa2f._0x541110,_0xc3fa2f._0x15114b)](_0x39a2d0)[_0x1c7bf3(0x73e,_0xc3fa2f._0x2609a1)](_0x529c35(0x1,-_0xc3fa2f._0x514c01));return null;}function normalizeBinary(_0x20d7ee){const _0x519091={_0x170697:0x8ed,_0x162c0d:0x7c5,_0x2ebb2:0x7ae,_0x48206e:0x564,_0x3330a4:0x4df,_0x28b667:0x827,_0x1fe539:0x769},_0x44f96d={_0x3bed03:0x58},_0x3a3c85={};_0x3a3c85[_0x301d80(_0x519091._0x170697,0x7ef)]=_0x5a9826(-0x15a,-0x15e);function _0x5a9826(_0x3543ee,_0x32537f){return _0x3a90bd(_0x3543ee,_0x32537f- -_0x44f96d._0x3bed03);}function _0x301d80(_0x17a503,_0x4e401f){return _0x3a90bd(_0x17a503,_0x4e401f-0x69f);}const _0x725f83=_0x3a3c85;if(Buffer[_0x301d80(0x942,_0x519091._0x162c0d)](_0x20d7ee))return _0x20d7ee;if(typeof _0x20d7ee===_0x301d80(_0x519091._0x2ebb2,_0x519091._0x48206e))return Buffer[_0x301d80(_0x519091._0x3330a4,0x769)](_0x20d7ee,_0x725f83[_0x301d80(0xa30,0x7ef)]);if(Array['isArray'](_0x20d7ee))return Buffer['concat'](_0x20d7ee);return Buffer[_0x301d80(_0x519091._0x28b667,_0x519091._0x1fe539)](_0x20d7ee);}function readRecentCliLogs(_0x28fd69){const _0x7cb7e={_0x3f5889:0x321,_0x453287:0x424,_0x2ac8f7:0x2ea,_0x306a2d:0x1db,_0x23dddd:0x56,_0x4cc1e2:0x3ce,_0x211ef2:0x33b,_0x4ed23d:0x3a7},_0x45a545={_0x376edd:0x1b2},_0x557846={};_0x557846['mzuAp']=function(_0x3a238e,_0x16b683){return _0x3a238e!=_0x16b683;};const _0x37f408=_0x557846,{logPath:_0xbb7fb1,errorLogPath:_0x99a1b1}=getServicePaths(),_0x5d67ca=clampLines(_0x28fd69?.[_0x2d8947(0x29c,_0x7cb7e._0x3f5889)]??0xc8);function _0x5af4d7(_0x1a409a,_0x93377c){return _0xb2a5b9(_0x1a409a,_0x93377c-0x6c);}const _0x51ad97=_0x28fd69?.['lastMs']??null;function _0x2d8947(_0x34a189,_0x2299f0){return _0xb2a5b9(_0x2299f0,_0x34a189-_0x45a545._0x376edd);}const _0x7d9669=_0x37f408['mzuAp'](_0x51ad97,null)?Date[_0x5af4d7(_0x7cb7e._0x453287,_0x7cb7e._0x2ac8f7)]()-_0x51ad97:null,_0x515561=[_0xbb7fb1];_0x28fd69?.[_0x2d8947(0x60,-_0x7cb7e._0x306a2d)+_0x5af4d7(0x1c,-0x17d)]&&_0x515561['push'](_0x99a1b1);const _0x3cad9f=_0x515561[_0x2d8947(0x6d,_0x7cb7e._0x23dddd)](_0x150e4=>readLogFile(_0x150e4)),_0x5588b7=_0x7d9669==null?_0x3cad9f:_0x3cad9f[_0x2d8947(_0x7cb7e._0x4cc1e2,0x51d)](_0x10f242=>_0x10f242['ts']!=null&&_0x10f242['ts']>=_0x7d9669);return _0x5588b7['slice'](-_0x5d67ca)[_0x2d8947(_0x7cb7e._0x211ef2,_0x7cb7e._0x4ed23d)](_0x1215a6=>_0x1215a6[_0x5af4d7(0x300,0x338)]);}async function buildDoctorReport(){const _0xb94c33={_0x49c3db:0x627,_0x157336:0x96d,_0xf54dc8:0x757,_0x46261f:0xac,_0x1b92c2:0x123,_0x2c257f:0x318,_0x144eff:0x594,_0x264a14:0x5b7,_0x22d79f:0x786,_0x161283:0x833,_0x368cf8:0x114,_0xfe3b8d:0x95,_0x45ced4:0xa14,_0x214e68:0x85a,_0x2c7694:0x636,_0x25bee8:0x1c1,_0xce8c85:0x45f,_0x35339d:0x297,_0x1d511c:0x681,_0x3a02e9:0x59e},_0x498c9a={_0x229373:0x18e},_0x581291={_0x26fd2d:0x622};function _0x4db910(_0xbb055e,_0x104381){return _0x3a90bd(_0xbb055e,_0x104381-_0x581291._0x26fd2d);}const _0x59adb5={'obhKO':function(_0x135c5a){return _0x135c5a();},'qDUEb':function(_0x5d8e17,_0x40a86a){return _0x5d8e17(_0x40a86a);},'HzvQa':function(_0x7cfcfb){return _0x7cfcfb();}},_0x575de1=readPairingConfig(),_0x1aba86=getServiceStatus(),_0x3c8e03=_0x59adb5[_0x4db910(_0xb94c33._0x49c3db,0x5f7)](readOpenClawInfo),_0x40cf65=resolveGatewayUrl();function _0x3379ad(_0x136586,_0x240b2e){return _0x3a90bd(_0x240b2e,_0x136586-_0x498c9a._0x229373);}const _0x26bba1=await _0x59adb5['qDUEb'](checkGatewayReachable,_0x40cf65);return{'paired':Boolean(_0x575de1),'gatewayId':_0x575de1?.[_0x3379ad(-0x8a,-0x1e9)+'d']??null,'serverUrl':_0x575de1?.[_0x3379ad(0x127,-0xe1)+'l']??null,'relayUrl':_0x575de1?.[_0x4db910(_0xb94c33._0x157336,_0xb94c33._0xf54dc8)]??null,'instanceId':_0x575de1?.[_0x3379ad(-_0xb94c33._0x46261f,_0xb94c33._0x1b92c2)+'Id']??null,'serviceInstalled':_0x1aba86[_0x4db910(_0xb94c33._0x2c257f,_0xb94c33._0x144eff)+'d'],'serviceRunning':_0x1aba86[_0x4db910(_0xb94c33._0x264a14,0x782)],'serviceMethod':_0x1aba86[_0x4db910(_0xb94c33._0x22d79f,_0xb94c33._0x161283)],'servicePath':_0x1aba86[_0x3379ad(_0xb94c33._0x368cf8,_0xb94c33._0xfe3b8d)+_0x4db910(_0xb94c33._0x45ced4,0x8d7)],'logPath':_0x1aba86[_0x4db910(0x831,0x6e9)],'errorLogPath':_0x1aba86[_0x4db910(_0xb94c33._0x214e68,_0xb94c33._0x2c7694)+_0x3379ad(0x234,_0xb94c33._0x25bee8)],'openclawConfigDir':getOpenClawConfigDir(),'openclawMediaDir':_0x59adb5['HzvQa'](getOpenClawMediaDir),'openclawConfigFound':_0x3c8e03[_0x3379ad(_0xb94c33._0xce8c85,_0xb94c33._0x35339d)+'und'],'openclawAuthMode':_0x3c8e03[_0x4db910(0x6b2,0x53b)],'openclawTokenFound':Boolean(_0x3c8e03['token']),'openclawPasswordFound':_0x59adb5[_0x4db910(_0xb94c33._0x1d511c,_0xb94c33._0x3a02e9)](Boolean,_0x3c8e03['password']),'localGatewayUrl':_0x40cf65,'localGatewayReachable':_0x26bba1};}async function ensurePairPrerequisites(){const _0x435c9a={_0x632abd:0x5c1,_0x393d20:0x6bc,_0x2a510a:0x93f,_0x1b274e:0x8e0,_0x1f9c8a:0x5ff,_0x216c97:0x429,_0xa43254:0x62b,_0x52beb0:0x462,_0x13bc75:0x4b8,_0x10f745:0x395,_0x521ff5:0x5ba,_0x1713e3:0x29a,_0x4fa237:0x6f9,_0x4f82f3:0x692,_0x52a0e6:0x53c,_0x37a1d0:0x287,_0x8b9a4b:0x2ba,_0x473d7e:0x523,_0xce2ed3:0x686,_0x1496d9:0x5ca,_0x5cb96c:0x6eb,_0x39c144:0x470,_0x16fb9d:0x8b7,_0x556713:0x3d5,_0x4db446:0x9f6,_0x4687b7:0x43f};function _0x16a48e(_0x4bb5e4,_0x2df295){return _0xb2a5b9(_0x4bb5e4,_0x2df295-0x4ee);}const _0x173a17=await buildDoctorReport(),_0x764c34=listPairPrerequisiteFailures(_0x173a17);if(_0x764c34[_0x367335(_0x435c9a._0x632abd,_0x435c9a._0x393d20)]>0x0)throw new Error(['Cannot\x20c'+_0x367335(_0x435c9a._0x2a510a,_0x435c9a._0x1b274e)+_0x367335(_0x435c9a._0x1f9c8a,_0x435c9a._0x216c97)+_0x367335(0x58a,_0x435c9a._0xa43254)+_0x367335(0x367,_0x435c9a._0x52beb0)+'ocal\x20Ope'+_0x367335(_0x435c9a._0x13bc75,0x539)+_0x367335(_0x435c9a._0x10f745,_0x435c9a._0x521ff5)+_0x16a48e(_0x435c9a._0x1713e3,0x39e)+'not\x20read'+'y.',..._0x764c34[_0x367335(0x605,0x7b7)](_0x3440a2=>'-\x20'+_0x3440a2),_0x367335(_0x435c9a._0x4fa237,_0x435c9a._0x4f82f3)+'wket\x20doc'+_0x367335(0x14a,0x3e2)+_0x367335(_0x435c9a._0x52a0e6,0x6e4)+_0x16a48e(_0x435c9a._0x37a1d0,_0x435c9a._0x8b9a4b)+_0x16a48e(_0x435c9a._0x473d7e,_0x435c9a._0xce2ed3)+_0x367335(0x5ce,0x4e6)+_0x16a48e(_0x435c9a._0x1496d9,_0x435c9a._0x5cb96c)+_0x16a48e(0x4e2,0x586)+'y\x20if\x20you'+_0x16a48e(0x23b,0x293)+_0x16a48e(0x766,0x670)+_0x16a48e(_0x435c9a._0x39c144,0x626)+_0x367335(_0x435c9a._0x16fb9d,0x69c)+_0x367335(0x27f,_0x435c9a._0x556713)+_0x367335(_0x435c9a._0x4db446,0x794)][_0x367335(0x626,_0x435c9a._0x4687b7)]('\x0a'));function _0x367335(_0x2c37d1,_0x3d68b2){return _0xb2a5b9(_0x2c37d1,_0x3d68b2-0x62e);}return _0x173a17;}function listPairPrerequisiteFailures(_0x6e90b){const _0x4459aa={_0x11c172:0x700,_0x369bdc:0x7b6,_0x110983:0x715,_0x30c084:0x5e1,_0x766a1f:0x13e,_0xbd279f:0x239,_0xc78ba9:0x682,_0x4a6d5c:0x3e5,_0x5ceea9:0x1e9,_0x230466:0x5d9,_0x13e9ef:0x556,_0xe5f7fd:0x66d,_0xd3f33e:0x87d,_0x1f5bc7:0x71,_0xc46a8:0x14f,_0x2122a1:0x847,_0x4f2f98:0xa94,_0x322ca6:0x285,_0x4d0af6:0x8f,_0x344d61:0x58,_0x5621d2:0xef,_0x5bbca0:0xa16,_0x21d01f:0x3bb,_0x27512d:0x36b,_0x4419f4:0x43b,_0x530908:0x55f,_0x20135e:0x801,_0x4f4f2a:0x95d,_0x51888a:0x514,_0x44f733:0x74b,_0x1d77b3:0x694,_0x3ae72e:0x42c,_0x565a31:0x27a,_0x1da951:0x4d,_0x3857b2:0x21,_0x221dad:0x872,_0x31261f:0x67a,_0x1c1d14:0x285,_0x5434f6:0xfb,_0x3eaf8c:0x5b2,_0x433b04:0x4f0,_0xd2170d:0x405,_0x2a97ef:0x1b4,_0x4b96d4:0x2a,_0x4ecf2a:0x180,_0x20cadd:0x9e7,_0xf6938f:0x5a0,_0x2e9388:0x4f3,_0xf23a18:0x547,_0x53d87d:0x1cd,_0x259128:0x28a,_0x580196:0x190,_0x32e312:0x57f,_0xc5aaa2:0x72a,_0x46695b:0x242,_0x3bc438:0x146,_0x3cd630:0x3c1,_0x35d7c6:0x5e3,_0x5dce58:0x6cd,_0x19a36b:0x79c,_0x450672:0x41d,_0x3a1f2f:0x34,_0x4c4d60:0x380},_0x499397={_0x58f630:0x594},_0x5020ef={_0x1fb5c6:0x2e},_0x31a834={};_0x31a834['Mejae']=_0x269e08(0x564,0x6ea)+_0x269e08(_0x4459aa._0x11c172,0x8f2)+'\x20auth\x20is'+'\x20missing'+_0x269e08(_0x4459aa._0x369bdc,0x601)+'or\x20passw'+_0x269e08(_0x4459aa._0x110983,0x953),_0x31a834[_0x269e08(0x523,_0x4459aa._0x30c084)]='OpenClaw'+_0x4d8872(_0x4459aa._0x766a1f,_0x4459aa._0xbd279f)+_0x4d8872(0x266,0x4b2)+_0x269e08(_0x4459aa._0xc78ba9,_0x4459aa._0x4a6d5c)+'g.',_0x31a834['YUvTY']=_0x4d8872(-0x5e,-_0x4459aa._0x5ceea9)+_0x4d8872(0x13e,0x2a7)+_0x269e08(_0x4459aa._0x230466,0x537)+_0x269e08(0x7ea,_0x4459aa._0x13e9ef)+_0x4d8872(0x1ee,0xc6);const _0x135d81=_0x31a834,_0x36ca87=[];function _0x4d8872(_0x47c419,_0x11429a){return _0x3a90bd(_0x11429a,_0x47c419- -_0x5020ef._0x1fb5c6);}!_0x6e90b['openclaw'+_0x269e08(_0x4459aa._0xe5f7fd,0x708)+_0x269e08(_0x4459aa._0xd3f33e,0x817)]&&_0x36ca87['push'](_0x4d8872(-0x5e,0x68)+_0x4d8872(-0x230,-_0x4459aa._0x1f5bc7)+_0x4d8872(-0x149,-0x142)+_0x4d8872(0x88,-_0x4459aa._0xc46a8)+_0x4d8872(0x258,0x341)+formatOpenClawConfigLocations()+'.');function _0x269e08(_0x1a1b64,_0x4c275f){return _0x3a90bd(_0x4c275f,_0x1a1b64-_0x499397._0x58f630);}return _0x6e90b[_0x269e08(_0x4459aa._0x2122a1,_0x4459aa._0x4f2f98)+'TokenFou'+'nd']&&_0x6e90b[_0x4d8872(_0x4459aa._0x322ca6,0x31b)+_0x4d8872(0x2ba,_0x4459aa._0x4d0af6)+_0x4d8872(_0x4459aa._0x344d61,_0x4459aa._0x5621d2)]&&_0x6e90b[_0x269e08(_0x4459aa._0x2122a1,_0x4459aa._0x5bbca0)+_0x269e08(0x405,_0x4459aa._0x21d01f)]==null&&_0x36ca87[_0x4d8872(-0x22,-0x25c)](_0x269e08(0x564,0x385)+_0x269e08(_0x4459aa._0x27512d,_0x4459aa._0x4419f4)+'h\x20gatewa'+_0x269e08(_0x4459aa._0x530908,_0x4459aa._0x20135e)+_0x269e08(0x54a,0x5af)+_0x269e08(0x7b1,_0x4459aa._0x4f4f2a)+'figured,'+_0x269e08(_0x4459aa._0x51888a,_0x4459aa._0x44f733)+'eway.aut'+_0x269e08(_0x4459aa._0x1d77b3,_0x4459aa._0x3ae72e)+_0x4d8872(-_0x4459aa._0x565a31,-_0x4459aa._0x1da951)),!_0x6e90b[_0x4d8872(0x285,_0x4459aa._0x3857b2)+_0x269e08(_0x4459aa._0x221dad,_0x4459aa._0x31261f)+'nd']&&!_0x6e90b[_0x4d8872(_0x4459aa._0x1c1d14,_0x4459aa._0x5434f6)+'Password'+_0x4d8872(_0x4459aa._0x344d61,0x23a)]&&_0x36ca87[_0x269e08(0x5a0,0x4e0)](_0x135d81[_0x269e08(_0x4459aa._0x3eaf8c,_0x4459aa._0x433b04)]),_0x6e90b['openclaw'+_0x269e08(_0x4459aa._0xd2170d,_0x4459aa._0x2a97ef)]===_0x4d8872(_0x4459aa._0x4b96d4,-_0x4459aa._0x4ecf2a)&&!_0x6e90b['openclaw'+_0x269e08(0x872,_0x4459aa._0x20cadd)+'nd']&&_0x36ca87[_0x269e08(_0x4459aa._0xf6938f,_0x4459aa._0x2e9388)](_0x135d81[_0x269e08(0x523,_0x4459aa._0xf23a18)]),_0x6e90b['openclaw'+_0x269e08(0x405,_0x4459aa._0x53d87d)]===_0x4d8872(_0x4459aa._0x259128,0x36)&&!_0x6e90b[_0x4d8872(0x285,_0x4459aa._0x580196)+_0x269e08(0x87c,0xae3)+_0x269e08(0x61a,_0x4459aa._0x32e312)]&&_0x36ca87[_0x269e08(0x5a0,_0x4459aa._0xc5aaa2)](_0x135d81[_0x269e08(0x4d0,0x398)]),!_0x6e90b[_0x4d8872(-_0x4459aa._0x46695b,-_0x4459aa._0x3bc438)+'ewayReac'+'hable']&&_0x36ca87[_0x269e08(0x5a0,_0x4459aa._0x3cd630)](_0x269e08(0x486,_0x4459aa._0x35d7c6)+_0x269e08(_0x4459aa._0x5dce58,_0x4459aa._0x19a36b)+_0x269e08(0x49f,_0x4459aa._0x450672)+_0x4d8872(0x143,0x330)+_0x4d8872(_0x4459aa._0x3a1f2f,-0x133)+_0x4d8872(-0x273,0x3)+_0x6e90b[_0x269e08(_0x4459aa._0x4c4d60,0x59a)+'ewayUrl']+'.'),_0x36ca87;}function formatOpenClawConfigLocations(){const _0x6cd91f={_0x480cc1:0x791,_0x35896b:0x944,_0x4ed044:0x539},_0x331047={_0x1fd7fa:0x54e},_0x396dde={_0x146dad:0x260},_0x37d916={_0x36272d:0x72f};function _0x58e0ac(_0x53459c,_0xac1b69){return _0x3a90bd(_0x53459c,_0xac1b69-0x17d);}function _0x1e774c(_0x506318,_0x5e05b6){return _0x3a90bd(_0x5e05b6,_0x506318-_0x37d916._0x36272d);}const _0x345b96=new Set();return[_0x582f99(),_0x1e774c(0x98a,_0x6cd91f._0x480cc1)]['map'](_0x31a298=>_0x31a298[_0x58e0ac(0x37e,0x40f)]()+(_0x58e0ac(0x54c,0x34b)+'aw'))[_0x1e774c(_0x6cd91f._0x35896b,0x6dd)](_0x337c71=>_0x337c71!==_0x1e774c(0x8fd,0x902)+'aw')[_0x1e774c(0x944,0xa29)](_0x3fa51e=>{if(_0x345b96[_0x30fb77(0x667,0x59b)](_0x3fa51e))return![];function _0x30fb77(_0x3e9836,_0x349565){return _0x58e0ac(_0x349565,_0x3e9836-_0x396dde._0x146dad);}_0x345b96[_0x30fb77(0x3ec,_0x331047._0x1fd7fa)](_0x3fa51e);function _0x574893(_0x45a3f9,_0x4456cd){return _0x58e0ac(_0x4456cd,_0x45a3f9- -0x142);}return!![];})[_0x1e774c(_0x6cd91f._0x4ed044,0x613)]('\x20or\x20');}function readLogFile(_0x38c4e7){const _0x3a67a2={_0x1f6a2d:0x679,_0x42077c:0x497},_0x4b3fae={_0x4d81b2:0x596},_0x52ff2f={};_0x52ff2f['ghixe']=_0x1e5be0(_0x3a67a2._0x1f6a2d,_0x3a67a2._0x42077c);function _0xdfbd69(_0x1b206b,_0x5327b5){return _0xb2a5b9(_0x1b206b,_0x5327b5-0x421);}const _0x1d08e9=_0x52ff2f;function _0x1e5be0(_0x14f093,_0x571b7c){return _0xb2a5b9(_0x14f093,_0x571b7c-_0x4b3fae._0x4d81b2);}try{const _0x1f141c=_0xe89164(_0x38c4e7,_0x1d08e9[_0x1e5be0(0x45b,0x39d)]);return _0x1f141c[_0x1e5be0(0x6aa,0x765)](/\r?\n/)[_0xdfbd69(0x6a0,0x63d)](Boolean)[_0x1e5be0(0x728,0x71f)](_0xcfa45c=>({'raw':_0xcfa45c,'ts':parseTimestamp(_0xcfa45c)}));}catch{return[];}}function parseTimestamp(_0x420128){const _0x283fc5={_0xc19b95:0x45c},_0x4127cf={_0x3724bf:0x4cb},_0x102dec=_0x420128['match'](/^\[(\d{13})\]\s/);if(!_0x102dec)return null;function _0x45b0ef(_0x39254a,_0x1ce1b5){return _0x3a90bd(_0x39254a,_0x1ce1b5-_0x4127cf._0x3724bf);}const _0x5bb7bc=Number(_0x102dec[0x1]);return Number[_0x45b0ef(0x6a0,_0x283fc5._0xc19b95)](_0x5bb7bc)?_0x5bb7bc:null;}function clampLines(_0x5698fb){const _0x1fae28={_0x11651c:0x2a0,_0x203465:0x1df,_0x3c2978:0x135,_0x54e16c:0x8e},_0x5d4aaa={_0x2aaad6:0x4ea};if(!Number['isFinite'](_0x5698fb))return 0xc8;function _0x565cf1(_0x5b3f7a,_0x3052a5){return _0x3a90bd(_0x3052a5,_0x5b3f7a-0x26c);}function _0x189c0f(_0x5b1f9a,_0x43d161){return _0x3a90bd(_0x5b1f9a,_0x43d161-_0x5d4aaa._0x2aaad6);}return Math[_0x565cf1(_0x1fae28._0x11651c,_0x1fae28._0x203465)](0x1,Math['min'](0x7d0,Math[_0x565cf1(_0x1fae28._0x3c2978,_0x1fae28._0x54e16c)](_0x5698fb)));}async function checkGatewayReachable(_0x41de03){const _0x330a3d={_0x52648d:0x480,_0x368da0:0x337,_0x423fd6:0x63d,_0x3e22e1:0x44b,_0x4fa749:0x5f9,_0x40dc59:0x65d,_0xd80291:0x5e0,_0x3eefd4:0x4ae},_0x26365e={_0x5859fa:0xc1,_0x29dd09:0x253,_0x39b96a:0x882,_0x59230d:0x957},_0x1fe204={_0xebb96e:0x7fb,_0x1606ad:0xc},_0x544436={_0x3d2b75:0x3e1},_0x14430a={};function _0x43d4fa(_0x334335,_0x12164c){return _0xb2a5b9(_0x12164c,_0x334335-_0x544436._0x3d2b75);}_0x14430a[_0x43d4fa(_0x330a3d._0x52648d,0x499)]=_0x43d4fa(0x61c,0x3ff),_0x14430a[_0x331790(_0x330a3d._0x368da0,0x101)]=_0x43d4fa(_0x330a3d._0x423fd6,0x842);const _0x49b43f=_0x14430a;function _0x331790(_0x35545e,_0x5a2978){return _0xb2a5b9(_0x5a2978,_0x35545e-0x1cf);}try{const _0x37f820=new URL(_0x41de03),_0x3e2786=_0x37f820['hostname']||'127.0.0.'+'1',_0x5011a5=_0x37f820[_0x331790(_0x330a3d._0x3e22e1,_0x330a3d._0x4fa749)]?Number(_0x37f820[_0x43d4fa(_0x330a3d._0x40dc59,_0x330a3d._0xd80291)]):_0x37f820[_0x43d4fa(0x25a,_0x330a3d._0x3eefd4)]===_0x49b43f[_0x331790(_0x330a3d._0x368da0,0x3e6)]?0x1bb:0x50;return await new Promise((_0x5a63ab,_0x1c9e42)=>{const _0x3353e8={_0x15f22a:0x617,_0x18d3cf:0x7e5},_0x4a2f7c=new Socket();_0x4a2f7c['setTimeo'+'ut'](0x384);function _0x246b16(_0x1b39d2,_0x166335){return _0x43d4fa(_0x166335- -0xc8,_0x1b39d2);}_0x4a2f7c['once'](_0x49b43f['pOkMW'],()=>{_0x4a2f7c[_0x5fd0b4(_0x3353e8._0x15f22a,_0x3353e8._0x18d3cf)]();function _0x5fd0b4(_0x30563e,_0x3b3440){return _0x346a(_0x30563e-0x25,_0x3b3440);}_0x5a63ab();}),_0x4a2f7c[_0x246b16(_0x26365e._0x5859fa,0x150)]('timeout',()=>{const _0x5d651b={_0x51499b:0x2c5},_0x1f9aff={_0x107608:0x132};function _0x53b60c(_0xfaea52,_0x493384){return _0x246b16(_0x493384,_0xfaea52- -_0x1f9aff._0x107608);}_0x4a2f7c[_0x100844(0x863,_0x1fe204._0xebb96e)]();function _0x100844(_0x13f27b,_0x1b9abb){return _0x246b16(_0x1b9abb,_0x13f27b-_0x5d651b._0x51499b);}_0x1c9e42(new Error(_0x53b60c(-_0x1fe204._0x1606ad,0x1a7)));}),_0x4a2f7c[_0x246b16(_0x26365e._0x29dd09,0x150)](_0x5cac96(0x8ed,0x6d2),_0x56b499=>{_0x4a2f7c['destroy'](),_0x1c9e42(_0x56b499);});function _0x5cac96(_0x93d333,_0x1101cc){return _0x43d4fa(_0x1101cc-0x33b,_0x93d333);}_0x4a2f7c[_0x5cac96(_0x26365e._0x39b96a,_0x26365e._0x59230d)](_0x5011a5,_0x3e2786);}),!![];}catch{return![];}}function parseLookbackToMs(_0x4b2f88){const _0x2cde19={_0xf3dce4:0x737,_0x1399a7:0xb2,_0x47dacf:0x2d0,_0x49ba12:0x8c6,_0x3cf313:0x471,_0x3e4159:0x30a,_0x38cbfc:0x2f8},_0x4e98a0={_0x1b880a:0x17e},_0xb2ad0c={};_0xb2ad0c[_0x4e8f74(_0x2cde19._0xf3dce4,0x798)]=function(_0x59ace0,_0x5a2f72){return _0x59ace0===_0x5a2f72;},_0xb2ad0c[_0x6ecd8(-_0x2cde19._0x1399a7,-0xc8)]=function(_0x56316c,_0x3743ca){return _0x56316c*_0x3743ca;};const _0x23297a=_0xb2ad0c,_0x3b3681=_0x4b2f88?.[_0x6ecd8(_0x2cde19._0x47dacf,0x410)]();if(!_0x3b3681)return null;const _0x174c43=_0x3b3681[_0x4e8f74(_0x2cde19._0x49ba12,0x631)](/^(\d+)(ms|s|m|h|d)$/i);function _0x6ecd8(_0x4f2f92,_0x1c7fd3){return _0x3a90bd(_0x4f2f92,_0x1c7fd3-_0x4e98a0._0x1b880a);}if(!_0x174c43)throw new Error(_0x6ecd8(0x1f0,0x326)+'--last\x20v'+_0x4e8f74(0x598,0x4ea)+_0x3b3681+(_0x6ecd8(0x399,0x440)+_0x4e8f74(0x5f0,0x7d9)+_0x4e8f74(0xa57,0x819)+'2m,\x201h,\x20'+_0x4e8f74(0x29b,_0x2cde19._0x3cf313)));const _0x1de2d6=Number(_0x174c43[0x1]),_0x4a7626=_0x174c43[0x2][_0x6ecd8(_0x2cde19._0x3e4159,_0x2cde19._0x38cbfc)+'ase']();function _0x4e8f74(_0x5b29c9,_0x3aca3a){return _0x3a90bd(_0x5b29c9,_0x3aca3a-0x670);}const _0x114ad3=_0x23297a[_0x4e8f74(0x650,0x798)](_0x4a7626,'ms')?0x1:_0x4a7626==='s'?0x3e8:_0x4a7626==='m'?0xea60:_0x4a7626==='h'?0x36ee80:0x5265c00;return _0x23297a['zVYNe'](_0x1de2d6,_0x114ad3);}import{networkInterfaces}from'os';var BLOCKED_INTERFACE_TOKENS=[_0xb2a5b9(-0x21e,-0x75),_0xb2a5b9(-0x3c3,-0x156),_0x3a90bd(0x1c4,0x36),_0x3a90bd(-0x185,0x2d)+'e',_0xb2a5b9(0x41f,0x221)+'d','wg',_0xb2a5b9(0x173,0x1b5),'ipsec',_0x3a90bd(-0x135,-0x147),_0xb2a5b9(-0xef,0x59),_0xb2a5b9(0x23a,0x17a),_0x3a90bd(-0x14d,-0x12b),_0x3a90bd(0x11a,0x214),_0xb2a5b9(0x206,0x15),_0xb2a5b9(0xf9,-0xe2),'awdl',_0x3a90bd(0x332,0x1e1),_0xb2a5b9(0x117,0x116),_0x3a90bd(0x2ce,0x1ad),_0xb2a5b9(0x358,0x1df)];function buildLocalPairingInfo(_0x1fab27){const _0x238ff0={_0x31a4d3:0x459,_0x3718f5:0x3a6,_0x2dff31:0x21b,_0x54e1d4:0x2ac,_0x59a2ae:0x119,_0x24cb01:0x690,_0xa43a58:0x70f,_0x518c73:0xf1,_0x39b5e9:0x2f5,_0x1b35a2:0xf9},_0x220869={_0x94011b:0x4fc},_0x1c147a={_0x54d6e5:0x2be},_0x22bf9d=resolveLocalPairAuth(_0x1fab27),_0x5906d3={};_0x5906d3['explicit'+_0x1e03e3(0x228,_0x238ff0._0x31a4d3)]=_0x1fab27[_0x1e03e3(_0x238ff0._0x3718f5,0x557)+_0x3aa735(_0x238ff0._0x2dff31,_0x238ff0._0x54e1d4)],_0x5906d3[_0x3aa735(_0x238ff0._0x59a2ae,0x157)+_0x1e03e3(_0x238ff0._0x24cb01,_0x238ff0._0xa43a58)+'l']=_0x1fab27[_0x3aa735(0x119,_0x238ff0._0x518c73)+'atewayUr'+'l'];const _0x3e0ab0=resolveLocalPairGatewayUrl(_0x5906d3);function _0x3aa735(_0x2b6fde,_0x5dc4dc){return _0xb2a5b9(_0x5dc4dc,_0x2b6fde-_0x1c147a._0x54d6e5);}const _0x13b03a=_0x1fab27['expiresA'+'t']??Date['now']()+0xa*0x3c*0x3e8;function _0x1e03e3(_0x88ee1,_0x5661b7){return _0xb2a5b9(_0x88ee1,_0x5661b7-_0x220869._0x94011b);}return{'gatewayUrl':_0x3e0ab0,'expiresAt':_0x13b03a,'authMode':_0x22bf9d[_0x3aa735(_0x238ff0._0x39b5e9,_0x238ff0._0x1b35a2)],'qrPayload':buildGatewayQrPayload({'gatewayUrl':_0x3e0ab0,'token':_0x22bf9d['token'],'password':_0x22bf9d[_0x3aa735(0x57d,0x417)],'expiresAt':_0x13b03a})};}function resolveLocalPairGatewayUrl(_0x179f45){const _0x276586={_0xb17165:0x84e,_0x597e88:0x59e,_0x9cc178:0x555,_0xebc5a3:0xa62,_0x577f9e:0x863,_0x9c5bf2:0x582,_0x3daa62:0x448},_0xcab20c={_0x120979:0x2c3};function _0x1cc927(_0x111e11,_0x4ab5f6){return _0x3a90bd(_0x111e11,_0x4ab5f6-0x74a);}const _0x4ca0c7=_0x179f45?.[_0x1cc927(_0x276586._0xb17165,0x79e)+'Url']?.[_0x1a85fe(0x555,0x526)]();function _0x1a85fe(_0xe0014,_0x184390){return _0x3a90bd(_0x184390,_0xe0014-_0xcab20c._0x120979);}if(_0x4ca0c7)return normalizeExplicitGatewayUrl(_0x4ca0c7);const _0x26527f=_0x179f45?.[_0x1cc927(0x638,_0x276586._0x597e88)+_0x1a85fe(0x4cf,0x258)+'l']?.[_0x1a85fe(_0x276586._0x9cc178,0x378)]()||resolveGatewayUrl(),_0x2804e1=detectLanIp();if(!_0x2804e1)throw new Error('Failed\x20t'+'o\x20determ'+'ine\x20a\x20LA'+'N\x20IP\x20add'+_0x1cc927(_0x276586._0xebc5a3,_0x276586._0x577f9e)+_0x1a85fe(_0x276586._0x9c5bf2,0x616)+'\x20to\x20spec'+'ify\x20a\x20cu'+_0x1a85fe(0x2ba,_0x276586._0x3daa62)+'eway\x20URL'+'.');return rewriteGatewayHost(_0x26527f,_0x2804e1);}function normalizeExplicitGatewayUrl(_0x1544b4){const _0x3316b2={_0x313a37:0x14},_0x64427b={_0x4412e8:0x2e},_0x12e17f={_0x2b0163:0x8},_0x1a134b={'nKNUW':function(_0x10c087,_0x13b6d7){return _0x10c087(_0x13b6d7);}},_0x17cdf3=_0x1544b4['trim'](),_0x158967=/^[a-z]+:\/\//i[_0x3ab3d4(-0x50,-0x283)](_0x17cdf3)?_0x17cdf3:'ws://'+_0x17cdf3;function _0xa98ec2(_0x2487c3,_0x31307b){return _0xb2a5b9(_0x31307b,_0x2487c3- -_0x12e17f._0x2b0163);}function _0x3ab3d4(_0x1499c6,_0x5a9ed3){return _0xb2a5b9(_0x1499c6,_0x5a9ed3- -_0x64427b._0x4412e8);}return _0x1a134b['nKNUW'](normalizeGatewayQrUrl,_0x158967)[_0xa98ec2(-_0x3316b2._0x313a37,-0x1fb)];}function rewriteGatewayHost(_0x75c221,_0x6bd45c){const _0x2bc7a4={_0x45fbf9:0x64e,_0x3c489c:0x271,_0x5a0488:0x317,_0x45f8f8:0x2b6,_0x3388a6:0x22f,_0x58a09d:0x95},_0x1c3553={_0x341c51:0xa8};function _0x3aa327(_0x220f75,_0xf7e35d){return _0x3a90bd(_0xf7e35d,_0x220f75-0x258);}const _0x36e2ec=_0x75c221[_0x3aa327(0x4ea,_0x2bc7a4._0x45fbf9)](),_0x362055=/^[a-z]+:\/\//i[_0x3aa327(-0x4,_0x2bc7a4._0x3c489c)](_0x36e2ec)?_0x36e2ec:_0x3aa327(_0x2bc7a4._0x5a0488,_0x2bc7a4._0x45f8f8)+_0x36e2ec;function _0x4103e6(_0x380604,_0x28b2bb){return _0x3a90bd(_0x28b2bb,_0x380604-_0x1c3553._0x341c51);}const _0x58095f=new URL(_0x362055);return _0x58095f['hostname']=_0x6bd45c,normalizeGatewayQrUrl(_0x58095f[_0x4103e6(0x248,_0x2bc7a4._0x3388a6)]())[_0x4103e6(_0x2bc7a4._0x58a09d,-0x6)];}function detectLanIp(){const _0xfc5af5={_0x156d24:0x538},_0x2ba3ed={_0x46d2a0:0x6ba},_0x3823e9={};function _0x3d4bb8(_0x54a5d1,_0x11cf14){return _0xb2a5b9(_0x54a5d1,_0x11cf14-_0x2ba3ed._0x46d2a0);}_0x3823e9['bUmzI']=function(_0x4a2647,_0x48ec87){return _0x4a2647===_0x48ec87;};const _0x5f4d6d=_0x3823e9,_0x3a240b=networkInterfaces();let _0x23c621=null;function _0x4956e6(_0xa51121,_0x3bb3bc){return _0xb2a5b9(_0xa51121,_0x3bb3bc-0x40e);}for(const [_0x5878bf,_0x2454b0]of Object['entries'](_0x3a240b)){for(const _0x19f317 of _0x2454b0??[]){if(_0x19f317[_0x4956e6(0x5be,0x398)]!=='IPv4')continue;const _0x5712ad=scoreLanCandidate(_0x5878bf,_0x19f317['address']);if(_0x5f4d6d[_0x3d4bb8(0x335,0x567)](_0x5712ad,0x0))continue;if(!_0x23c621||_0x5712ad>_0x23c621['score']){const _0x30848c={};_0x30848c[_0x3d4bb8(0x69b,_0xfc5af5._0x156d24)]=_0x5712ad,_0x30848c['ip']=_0x19f317[_0x3d4bb8(0x755,0x7b2)],_0x23c621=_0x30848c;}}}return _0x23c621?.['ip']??null;}function scoreLanCandidate(_0x497545,_0x172658){const _0xc114f={_0x236dcc:0x322,_0x171eee:0x15d,_0x1cf4f7:0xd2,_0x39e050:0x336,_0x57ec7b:0x282,_0x191990:0x204,_0x2789e1:0xec,_0x1a05b8:0x1a5,_0x23f74c:0x7e},_0x3b12f1={_0x1bcc35:0x1a8},_0x277d13={_0x5b0066:0x22};function _0x10ff54(_0x405035,_0x2e9b1f){return _0x3a90bd(_0x2e9b1f,_0x405035-_0x277d13._0x5b0066);}const _0x542469={'cATHe':function(_0xa3ada4,_0xdb1314){return _0xa3ada4(_0xdb1314);},'WojFw':'wifi'};if(!isLanIpv4(_0x172658))return 0x0;function _0x5925a6(_0x5bc87d,_0x215438){return _0x3a90bd(_0x215438,_0x5bc87d-_0x3b12f1._0x1bcc35);}const _0x47983a=_0x497545[_0x5925a6(_0xc114f._0x236dcc,_0xc114f._0x171eee)+_0x10ff54(-_0xc114f._0x1cf4f7,-_0xc114f._0x39e050)]();if(BLOCKED_INTERFACE_TOKENS[_0x10ff54(-0x4,-_0xc114f._0x57ec7b)](_0x54d907=>_0x47983a['includes'](_0x54d907)))return 0x0;let _0xc578e=_0x542469[_0x5925a6(0x76,-0x80)](isRfc1918,_0x172658)?0x78:isCgnat(_0x172658)?0x5a:0x28;return(_0x47983a[_0x10ff54(-0x204,-0x2de)+'th']('en')||_0x47983a[_0x10ff54(-_0xc114f._0x191990,-_0xc114f._0x2789e1)+'th']('eth')||_0x47983a['startsWi'+'th'](_0x10ff54(-_0xc114f._0x1a05b8,-0x236))||_0x47983a[_0x5925a6(-_0xc114f._0x23f74c,0xcd)+'th']('wl')||_0x47983a['includes'](_0x542469['WojFw'])||_0x47983a[_0x5925a6(0xa5,0xb4)]('wi-fi'))&&(_0xc578e+=0x14),_0xc578e;}function resolveLocalPairAuth(_0x1f1e52){const _0x21c23b={_0x1cac93:0x3fd,_0x1ce9d1:0x2bc,_0x5405df:0x698,_0x18b00e:0x456,_0x1a83e9:0x637,_0x3d0014:0x4b6,_0x1f20a1:0x59f,_0x1c9ee4:0x284,_0x1f9dea:0x485,_0x326a0b:0x511,_0x5d4b53:0x420,_0x1be4a2:0x1e1,_0x5a55e0:0x415,_0x1c526d:0x16d,_0x49c2c2:0x310,_0x2b81da:0x374},_0x82ce6d={_0x53294f:0x1ec};function _0x10138b(_0xaf6490,_0x49642e){return _0xb2a5b9(_0x49642e,_0xaf6490-0x39e);}function _0x31527c(_0x460f07,_0x273e65){return _0xb2a5b9(_0x460f07,_0x273e65-_0x82ce6d._0x53294f);}if(_0x1f1e52['gatewayT'+'oken']?.['trim']())return{'mode':_0x10138b(_0x21c23b._0x1cac93,_0x21c23b._0x1ce9d1),'token':_0x1f1e52['gatewayT'+_0x10138b(_0x21c23b._0x5405df,_0x21c23b._0x18b00e)][_0x10138b(_0x21c23b._0x1a83e9,0x76d)](),'password':null};if(_0x1f1e52[_0x10138b(_0x21c23b._0x3d0014,_0x21c23b._0x1f20a1)+_0x10138b(0x2f6,0x2f4)]?.['trim']())return{'mode':_0x31527c(0x4f0,0x4ab),'token':null,'password':_0x1f1e52[_0x31527c(0x2e1,0x304)+_0x10138b(0x2f6,0x3d6)][_0x31527c(_0x21c23b._0x1c9ee4,_0x21c23b._0x1f9dea)]()};throw new Error(_0x10138b(0x375,0x225)+_0x31527c(0x439,0x35f)+_0x31527c(_0x21c23b._0x326a0b,_0x21c23b._0x5d4b53)+'\x20missing'+_0x31527c(_0x21c23b._0x1be4a2,_0x21c23b._0x5a55e0)+_0x10138b(_0x21c23b._0x1c526d,0x53)+_0x31527c(_0x21c23b._0x49c2c2,_0x21c23b._0x2b81da));}function isLanIpv4(_0x525106){const _0x24c2bb={_0x189836:0x5dd,_0x1bdd91:0x5d4,_0x190f9a:0x4f9,_0xd52fa9:0xb5,_0x3e1684:0x263,_0x224f0a:0x945,_0x249a8b:0x590,_0x5b6cfe:0x606,_0x13f37b:0x50c,_0x9383bb:0x4d7,_0x55217a:0x723,_0x4ce128:0x6cf},_0x1a8ddc={_0x3d6303:0x596},_0x1bf301={};_0x1bf301['ogHXI']=function(_0x3fb622,_0x5ada81){return _0x3fb622<=_0x5ada81;};function _0x93a19f(_0x3a83e2,_0x7ec13){return _0xb2a5b9(_0x7ec13,_0x3a83e2-_0x1a8ddc._0x3d6303);}_0x1bf301[_0x41cc9e(_0x24c2bb._0x189836,_0x24c2bb._0x1bdd91)]=function(_0x360bcf,_0x520983){return _0x360bcf===_0x520983;},_0x1bf301[_0x93a19f(0x4d7,0x452)]=function(_0x319c04,_0x3376a2){return _0x319c04===_0x3376a2;},_0x1bf301[_0x41cc9e(0x269,_0x24c2bb._0x190f9a)]=function(_0x7f7a0d,_0x8752fd){return _0x7f7a0d===_0x8752fd;};const _0x435a22=_0x1bf301;if(!isValidIpv4(_0x525106))return![];if(_0x525106===_0x41cc9e(_0x24c2bb._0xd52fa9,_0x24c2bb._0x3e1684))return![];function _0x41cc9e(_0x17c6a9,_0xaa04f9){return _0xb2a5b9(_0x17c6a9,_0xaa04f9-0x489);}const [_0x5ce264,_0x300e40,_0x23372e,_0x58d5b3]=_0x525106['split']('.')[_0x93a19f(0x71f,_0x24c2bb._0x224f0a)](Number);if(_0x5ce264===0x7f)return![];if(_0x5ce264===0xa9&&_0x300e40===0xfe)return![];if(_0x5ce264>=0xe0&&_0x435a22[_0x93a19f(_0x24c2bb._0x249a8b,_0x24c2bb._0x5b6cfe)](_0x5ce264,0xef))return![];if(_0x435a22[_0x41cc9e(_0x24c2bb._0x13f37b,0x5d4)](_0x5ce264,0xff)&&_0x435a22['VCBoq'](_0x300e40,0xff)&&_0x435a22['VCBoq'](_0x23372e,0xff)&&_0x58d5b3===0xff)return![];if(_0x435a22[_0x93a19f(_0x24c2bb._0x9383bb,_0x24c2bb._0x55217a)](_0x5ce264,0xc6)&&(_0x300e40===0x12||_0x435a22[_0x41cc9e(_0x24c2bb._0x4ce128,0x4f9)](_0x300e40,0x13)))return![];return isRfc1918(_0x525106)||isCgnat(_0x525106);}function isRfc1918(_0x308077){const _0x19ecd5={_0x20948a:0x420,_0x2b9ea5:0x256,_0xbdac32:0x621},_0x2ffe5a={_0x4961ad:0x452},_0x42a046={_0x467ae8:0x5f2},_0x332514={};function _0x2943fb(_0x3a31fa,_0x5a57aa){return _0xb2a5b9(_0x3a31fa,_0x5a57aa-_0x42a046._0x467ae8);}_0x332514[_0x2ee3ca(_0x19ecd5._0x20948a,_0x19ecd5._0x2b9ea5)]=function(_0x1729b9,_0x4f509d){return _0x1729b9>=_0x4f509d;};const _0xfae635=_0x332514;function _0x2ee3ca(_0x46956a,_0x40f79b){return _0xb2a5b9(_0x46956a,_0x40f79b-_0x2ffe5a._0x4961ad);}const [_0x41b4fa,_0x4c43ca]=_0x308077[_0x2ee3ca(0x6ed,_0x19ecd5._0xbdac32)]('.')['map'](Number);return _0x41b4fa===0xa||_0x41b4fa===0xac&&_0xfae635['RslAi'](_0x4c43ca,0x10)&&_0x4c43ca<=0x1f||_0x41b4fa===0xc0&&_0x4c43ca===0xa8;}function isCgnat(_0x534db3){const _0x6f24c8={_0x16d54f:0x742};function _0x565f06(_0x1299da,_0x19e233){return _0x3a90bd(_0x19e233,_0x1299da-_0x6f24c8._0x16d54f);}const _0x3b7b26={};_0x3b7b26[_0x565f06(0x805,0x5dc)]=function(_0x985814,_0x1c81b5){return _0x985814<=_0x1c81b5;};function _0x29df76(_0x146841,_0x36b780){return _0x3a90bd(_0x146841,_0x36b780-0x75);}const _0x1354b3=_0x3b7b26,[_0x5ad106,_0x47fa0e]=_0x534db3[_0x29df76(-0xb,0x23d)]('.')['map'](Number);return _0x5ad106===0x64&&_0x47fa0e>=0x40&&_0x1354b3[_0x29df76(0x270,0x138)](_0x47fa0e,0x7f);}function isValidIpv4(_0x1b1de5){const _0x509741={_0x3655e6:0x506,_0x4853d6:0x2ea},_0x11f78b={_0x42ce2c:0x14};function _0x243801(_0x482801,_0x367cb7){return _0x3a90bd(_0x367cb7,_0x482801-0x47f);}function _0x25130f(_0xd80897,_0x2ece80){return _0x3a90bd(_0xd80897,_0x2ece80-_0x11f78b._0x42ce2c);}const _0x588e17=_0x1b1de5['split']('.');return _0x588e17[_0x243801(_0x509741._0x3655e6,0x3d7)]===0x4&&_0x588e17[_0x25130f(_0x509741._0x4853d6,0x295)](_0x252a49=>{if(!/^\d+$/['test'](_0x252a49))return![];const _0x127318=Number(_0x252a49);return _0x127318>=0x0&&_0x127318<=0xff;});}import{readFileSync as _0x1e414f}from'fs';import{dirname as _0x4c7487,resolve}from'path';import{fileURLToPath}from'url';function readCliVersion(){const _0x744fc4={_0x5afe90:0x394,_0x48af8c:0x61b,_0x310a5c:0x3bf,_0x2a861b:0x19c},_0x38eddf={};_0x38eddf[_0x1b082d(_0x744fc4._0x5afe90,_0x744fc4._0x48af8c)]='unknown';const _0x1a439d=_0x38eddf,_0x3a28fc=_0x4c7487(fileURLToPath(import.meta.url)),_0x358562=resolve(_0x3a28fc,_0x8bce1c(0x49a,0x29c)+_0x1b082d(0x61e,0x398)),_0x282115=_0x1e414f(_0x358562,'utf8');function _0x1b082d(_0x378812,_0x22a644){return _0xb2a5b9(_0x22a644,_0x378812-0x498);}const _0x1cd0fb=JSON[_0x1b082d(0x789,0x4eb)](_0x282115);function _0x8bce1c(_0xd0e3bd,_0x40acc4){return _0xb2a5b9(_0x40acc4,_0xd0e3bd-0x5a0);}return _0x1cd0fb[_0x1b082d(_0x744fc4._0x310a5c,_0x744fc4._0x2a861b)]??_0x1a439d[_0x8bce1c(0x49c,0x20b)];}function buildPairingJson(_0x1bde21,_0x1f3aa8,_0x2fb131,_0x5b4930){const _0xe73f8c={_0x3be797:0x278,_0x18b1ee:0x69d,_0x127646:0x517,_0x4cf3eb:0x6a4,_0xc67504:0x5db,_0xf38bef:0x848,_0x22faa2:0x58e,_0x43132b:0x3ac,_0x86ea83:0x4cd,_0x48e6d1:0x3ba,_0x345c9f:0x349,_0x3d01cc:0x3c7,_0x37b069:0x605,_0x1cb5b4:0x3d4,_0x56b72e:0x620,_0xd0dbe3:0x4a6,_0x325642:0x730,_0x5810f2:0x212,_0x323890:0x1d4,_0x1b8b5a:0x3aa,_0x38e859:0x5e0,_0x530bb1:0x47d,_0x389682:0x33a,_0x4d2432:0x5ed,_0x3b9f93:0x5b6,_0x43eebe:0x5f4,_0x4acb51:0x384,_0x635e73:0x848,_0x258365:0x42a},_0xfdb89={_0x42dc0a:0x2ff},_0x3c76e6={};_0x3c76e6['installe'+'d']=_0x2fb131[_0x4db218(_0xe73f8c._0x3be797,0x27a)+'d'],_0x3c76e6[_0x423d3d(_0xe73f8c._0x18b1ee,0x6f3)]=_0x2fb131[_0x4db218(0x466,0x66c)];function _0x423d3d(_0x1913d5,_0x19bd0c){return _0xb2a5b9(_0x1913d5,_0x19bd0c-0x58c);}_0x3c76e6[_0x4db218(_0xe73f8c._0x127646,_0xe73f8c._0x4cf3eb)]=_0x2fb131[_0x423d3d(0x7bf,0x7a4)],_0x3c76e6[_0x4db218(0x28c,0x4bc)+_0x423d3d(_0xe73f8c._0xc67504,_0xe73f8c._0xf38bef)]=_0x2fb131['serviceP'+_0x4db218(0x5bb,0x4e2)],_0x3c76e6[_0x423d3d(0x845,0x65a)]=_0x2fb131[_0x423d3d(0x4fc,0x65a)],_0x3c76e6[_0x4db218(0x31a,_0xe73f8c._0x22faa2)+_0x4db218(_0xe73f8c._0x43132b,_0xe73f8c._0x86ea83)]=_0x2fb131['errorLog'+_0x4db218(0x3ac,_0xe73f8c._0x48e6d1)],_0x3c76e6[_0x4db218(0x48f,0x403)]=_0x2fb131['pid'];const _0x99b113={};_0x99b113['ok']=!![],_0x99b113['action']=_0x1bde21[_0x423d3d(_0xe73f8c._0x345c9f,_0xe73f8c._0x3d01cc)],_0x99b113['message']=_0x5b4930,_0x99b113[_0x423d3d(_0xe73f8c._0x37b069,0x37b)+'d']=_0x1bde21[_0x423d3d(0x3d6,0x661)][_0x4db218(0xee,-0x12b)+'d'],_0x99b113[_0x4db218(0x43b,0x4d9)]=_0x1bde21[_0x4db218(_0xe73f8c._0x1cb5b4,_0xe73f8c._0x56b72e)][_0x4db218(0x43b,0x587)],_0x99b113[_0x423d3d(0x5b5,0x52c)+'l']=_0x1bde21[_0x4db218(0x3d4,_0xe73f8c._0xd0dbe3)][_0x423d3d(_0xe73f8c._0x325642,0x52c)+'l'],_0x99b113[_0x423d3d(_0xe73f8c._0x5810f2,0x359)+'Id']=_0x1bde21['config'][_0x423d3d(_0xe73f8c._0x323890,0x359)+'Id'];function _0x4db218(_0x16ae07,_0x27b426){return _0xb2a5b9(_0x27b426,_0x16ae07-_0xfdb89._0x42dc0a);}return _0x99b113['accessCo'+'de']=_0x1bde21[_0x423d3d(_0xe73f8c._0x1b8b5a,_0xe73f8c._0x38e859)+'de'],_0x99b113[_0x4db218(0x353,0x2db)+'deExpire'+_0x4db218(0x329,_0xe73f8c._0x530bb1)]=_0x1bde21[_0x423d3d(_0xe73f8c._0x389682,_0xe73f8c._0x38e859)+_0x423d3d(0x733,_0xe73f8c._0x4d2432)+_0x423d3d(0x371,_0xe73f8c._0x3b9f93)],_0x99b113[_0x423d3d(_0xe73f8c._0x43eebe,_0xe73f8c._0x4acb51)+_0x423d3d(0xaef,_0xe73f8c._0x635e73)]=_0x1f3aa8,_0x99b113[_0x4db218(_0xe73f8c._0x258365,0x3f8)]=_0x3c76e6,_0x99b113;}function buildLocalPairingJson(_0x5be4aa){const _0x2716a1={_0x55c225:0x2ce,_0x364b89:0x4e0,_0xa02912:0xff,_0x2ae852:0x18c,_0xbdd6ff:0x304,_0x121bd3:0x1c7,_0x13e1f9:0x256,_0x4ad7d2:0x1ff,_0x111051:0x198,_0x1078b5:0x135,_0x19c76b:0xdf,_0x5baab6:0x249,_0x91d5fb:0xda,_0x530c29:0x59b},_0x2685e5={_0xd9c997:0x103};function _0x4a6e10(_0x21fe11,_0x4f7308){return _0xb2a5b9(_0x21fe11,_0x4f7308-0x2df);}const _0x43cda0={};_0x43cda0[_0x4a6e10(_0x2716a1._0x55c225,_0x2716a1._0x364b89)]='local';function _0x159b22(_0x20f3b4,_0x1145c3){return _0xb2a5b9(_0x20f3b4,_0x1145c3-_0x2685e5._0xd9c997);}const _0x5c2b65=_0x43cda0,_0x5ca4d1={};return _0x5ca4d1['ok']=!![],_0x5ca4d1[_0x4a6e10(_0x2716a1._0xa02912,0x11a)]=_0x5c2b65[_0x159b22(_0x2716a1._0x2ae852,_0x2716a1._0xbdd6ff)],_0x5ca4d1['message']=_0x5be4aa[_0x159b22(-_0x2716a1._0x121bd3,-0x3f)],_0x5ca4d1[_0x159b22(0x1a5,_0x2716a1._0x13e1f9)+'rl']=_0x5be4aa[_0x4a6e10(0x486,0x432)+'rl'],_0x5ca4d1[_0x4a6e10(0x20f,_0x2716a1._0x4ad7d2)]=_0x5be4aa[_0x4a6e10(0x1a2,0x1ff)],_0x5ca4d1[_0x159b22(-_0x2716a1._0x111051,-_0x2716a1._0x1078b5)+'t']=_0x5be4aa[_0x4a6e10(-_0x2716a1._0x19c76b,0xa7)+'t'],_0x5ca4d1[_0x4a6e10(0x62,0xd7)+_0x159b22(_0x2716a1._0x5baab6,0x3bf)]=_0x5be4aa[_0x159b22(-_0x2716a1._0x91d5fb,-0x105)+_0x4a6e10(0x429,_0x2716a1._0x530c29)],_0x5ca4d1;}function _0xb2a5b9(_0x1d6524,_0x3bef85){return _0x346a(_0x3bef85- -0x36d,_0x1d6524);}import{mkdirSync as _0x203a4f,writeFileSync as _0x3c593}from'fs';import{dirname as _0x6ca6ae,isAbsolute,join as _0xbf861c,resolve as _0x19bcfa}from'path';import _0xf4f66e from'qrcode';var DEFAULT_QR_DIR=getOpenClawMediaDir();async function writePairingQrPng(_0x4c63df,_0x34f9a9){const _0x27a6fb={_0x41725f:0x73b,_0x2a0b23:0x8c2,_0x3edc6f:0xa46,_0x1b76ff:0x86e},_0x1aee6d={_0x1001b7:0x663},_0xa00b5a={_0x480d72:0x1c3},_0x4cceba={'jFNmc':function(_0x8d6062,_0x1a8543,_0xe63ce3){return _0x8d6062(_0x1a8543,_0xe63ce3);}},_0x6ea2c7=resolveQrOutputPath(_0x4c63df[_0x27c08b(0x291,0x27d)][_0x27c08b(-0x55,0x8b)+'d'],_0x34f9a9);function _0x27c08b(_0x3792ff,_0x41c9a6){return _0x3a90bd(_0x41c9a6,_0x3792ff-_0xa00b5a._0x480d72);}function _0x2a1c27(_0x4994b0,_0x22c091){return _0x3a90bd(_0x4994b0,_0x22c091-_0x1aee6d._0x1001b7);}return _0x4cceba[_0x2a1c27(_0x27a6fb._0x41725f,_0x27a6fb._0x2a0b23)](writeQrPng,_0x4c63df[_0x2a1c27(_0x27a6fb._0x3edc6f,_0x27a6fb._0x1b76ff)+'d'],_0x6ea2c7);}async function writeRawQrPng(_0x233560,_0x7b1fd,_0x58ddb9){const _0xaaf6be={_0x537de6:0x2ea,_0x28c581:0x1c8},_0x22fe0f={_0x1e1010:0x103},_0x3a6d02={'DjHkF':function(_0x3ed640,_0x38f56e,_0x56c21d){return _0x3ed640(_0x38f56e,_0x56c21d);}};function _0x9bfe2e(_0xf60aab,_0x47adc9){return _0x3a90bd(_0xf60aab,_0x47adc9-_0x22fe0f._0x1e1010);}const _0x438d5a=resolveQrOutputPath(_0x7b1fd,_0x58ddb9);return _0x3a6d02[_0x9bfe2e(_0xaaf6be._0x537de6,_0xaaf6be._0x28c581)](writeQrPng,_0x233560,_0x438d5a);}async function writeQrPng(_0x4fa99e,_0x479ac4){const _0x3fa8b3={_0x917c16:0x5a2,_0x5aeabe:0x749,_0x3062db:0x43e,_0x4f1ebd:0x584,_0x1ddef3:0x7eb,_0x212ca1:0x95c,_0x43248d:0x8e0,_0x51d112:0xb1c,_0x2d0e00:0x437,_0x52c7d4:0xa98,_0x505b1e:0x84c,_0x5b7924:0x5fe},_0x8f5801={_0x6d8717:0x66a},_0x24a0fa={};_0x24a0fa[_0x3b47fd(0x6fc,_0x3fa8b3._0x917c16)]=_0x4df671(0x398,0x522)+'g',_0x24a0fa[_0x4df671(_0x3fa8b3._0x5aeabe,0x9a9)]=_0x4df671(0x45f,0x421);function _0x3b47fd(_0x92f6cf,_0xe171c5){return _0xb2a5b9(_0x92f6cf,_0xe171c5-_0x8f5801._0x6d8717);}const _0x52a76a=_0x24a0fa,_0x3719da={};function _0x4df671(_0x63df6d,_0x28fe9d){return _0xb2a5b9(_0x28fe9d,_0x63df6d-0x585);}_0x3719da[_0x4df671(_0x3fa8b3._0x3062db,0x4a7)+'e']=!![],_0x203a4f(_0x6ca6ae(_0x479ac4),_0x3719da);const _0x1857f3={};_0x1857f3[_0x3b47fd(_0x3fa8b3._0x4f1ebd,0x76c)]=_0x52a76a[_0x3b47fd(0x325,0x5a2)],_0x1857f3[_0x4df671(0x6d5,_0x3fa8b3._0x1ddef3)+_0x3b47fd(0xb43,_0x3fa8b3._0x212ca1)+_0x3b47fd(_0x3fa8b3._0x43248d,0x8b2)]='M',_0x1857f3[_0x3b47fd(_0x3fa8b3._0x51d112,0x944)]=0x1,_0x1857f3[_0x4df671(_0x3fa8b3._0x2d0e00,0x699)]=0x2d0;const _0x488f44=await _0xf4f66e[_0x3b47fd(_0x3fa8b3._0x52c7d4,_0x3fa8b3._0x505b1e)+'L'](_0x4fa99e,_0x1857f3),_0x2dc3f7=_0x488f44['replace'](/^data:image\/png;base64,/,'');return _0x3c593(_0x479ac4,Buffer[_0x4df671(0x656,0x893)](_0x2dc3f7,_0x52a76a[_0x3b47fd(_0x3fa8b3._0x5b7924,0x82e)])),_0x479ac4;}function resolveQrOutputPath(_0x15acba,_0x11c7ea){const _0x8fee8e={_0x4acf05:0x6cc},_0x1090e3={'kpQYd':function(_0x968363,_0x4e7a0b,_0x2703cc){return _0x968363(_0x4e7a0b,_0x2703cc);}},_0x345d20=_0x11c7ea?.[_0x4b490b(0x85d,_0x8fee8e._0x4acf05)]();if(_0x345d20)return isAbsolute(_0x345d20)?_0x345d20:_0x19bcfa(_0x345d20);function _0x4b490b(_0x4150e7,_0x3cbe73){return _0x3a90bd(_0x3cbe73,_0x4150e7-0x5cb);}return _0x1090e3['kpQYd'](_0xbf861c,DEFAULT_QR_DIR,_0x15acba+'.png');}function decidePairServiceAction(_0x46d40f,_0x472c19){const _0x25d34e={_0xd4b4b:0x801,_0x1140e1:0x6a,_0x1a72ab:0x51b,_0x3f2897:0x5e4,_0x1ad719:0x4cd,_0x206e21:0x688,_0x23a52b:0xc7,_0x16369f:0x15b},_0x8d5f9={_0xd43ac4:0x554},_0x10421f={_0x5e5df0:0x4a},_0x20a29c={};_0x20a29c[_0x3e1aa4(_0x25d34e._0xd4b4b,0x5d2)]='register'+'ed';function _0xaf40ec(_0x25d3db,_0x2cf3ff){return _0xb2a5b9(_0x2cf3ff,_0x25d3db- -_0x10421f._0x5e5df0);}function _0x3e1aa4(_0xece0c5,_0x5971d9){return _0xb2a5b9(_0x5971d9,_0xece0c5-_0x8d5f9._0xd43ac4);}_0x20a29c[_0xaf40ec(0xa7,-_0x25d34e._0x1140e1)]=_0x3e1aa4(_0x25d34e._0x1a72ab,_0x25d34e._0x3f2897);const _0x423976=_0x20a29c;if(!_0x472c19[_0x3e1aa4(_0x25d34e._0x1ad719,_0x25d34e._0x206e21)+'d'])return'install';if(!_0x472c19[_0xaf40ec(0x11d,-_0x25d34e._0x23a52b)])return'restart';if(_0x46d40f[_0x3e1aa4(0x38f,0x432)]===_0x423976['YDpfc'])return'restart';return _0x423976[_0xaf40ec(0xa7,-_0x25d34e._0x16369f)];}async function main(){const _0x9755ff={_0x4382c0:0x396,_0x2f524c:0x184,_0xe81ace:0xf2,_0x2edee1:0x5cc,_0x47a349:0x750,_0x20ac9b:0x34c,_0x5f5543:0x26e,_0x10983a:0x622,_0x56389f:0x24d,_0x578d02:0x306,_0x22f6ed:0x190,_0x2b4913:0x358,_0x14fde2:0x3,_0x3f58cf:0x72,_0x4ee8d2:0x3ec,_0x2ec5da:0x3ff,_0xaf669:0x157,_0x2d507f:0x127,_0x21abbb:0x3cb,_0x49b9c6:0x1fa,_0xcd8494:0x213,_0x288a07:0x14e,_0x5c5dad:0x2d2,_0x127741:0x7e,_0x2d68ce:0x7fc,_0x2b41ea:0x5f2,_0x186739:0x625,_0xbbd43b:0xae,_0x4f6e23:0xf4,_0x2183e0:0x210,_0xfc4718:0x409,_0xb15445:0x232,_0x14dcc7:0x585,_0x3f7a56:0x465,_0x339634:0x249,_0x546f7f:0x1b3,_0x5d176b:0x19b,_0x4f50c7:0x60c,_0x4dfbbd:0x5e5,_0x47bd27:0x29b,_0x113233:0x54d,_0x1f96c2:0x4cd,_0x20979d:0x31a,_0x5626f0:0x70,_0x527c41:0x1c2,_0x205e8c:0xb0,_0x1a03df:0x1f2,_0x49f829:0x2e7,_0x49f275:0x6b6,_0x36dcd5:0x4f6,_0x18dbdd:0x6c5,_0x43ddec:0x78a,_0x420aec:0x296,_0xa6842c:0x44,_0x108ab4:0x367,_0x4251d0:0x1af,_0x54ffee:0x2d7,_0x59b76f:0x95,_0x1aecc3:0x5c,_0x4f127b:0xfc,_0x3cc5d1:0x4c4,_0x5ac94a:0x1b5,_0x5b5cef:0x1e6,_0x218442:0x38f,_0x14920e:0xe7,_0x266525:0x124,_0x37beaf:0x628,_0x407c3c:0x48c,_0x12964f:0x492,_0x1b1416:0x18a,_0x34860c:0xd2,_0x3f9f33:0x103,_0x329194:0x11e,_0xbdb769:0x2b6,_0x1bf62c:0x206,_0x101d73:0x134,_0x157e01:0x125,_0x12bf92:0x426,_0xe8641c:0x29d,_0x443257:0xff,_0x33e245:0x246,_0x10993a:0x648,_0x52ddbe:0x3ad,_0x190582:0x209,_0x5ae5c4:0x38b,_0x31a46c:0x5ed,_0x44d1d6:0x792,_0x5a591c:0x3e5,_0x494ede:0x22c,_0x33dd03:0x1eb,_0xb602e7:0x36b,_0x151ca6:0x579,_0x35cb7a:0x3bf,_0x5585dc:0x3a1,_0x442601:0x235,_0x125498:0x60a,_0x5f15e6:0x5f3,_0x4cdcb1:0x223,_0x45e5e0:0x1aa,_0x6ce754:0x2a6,_0xb1ca3e:0x44d,_0x48c585:0x697,_0x29c5f4:0x163,_0x48181e:0x3b0,_0x462bb7:0x4ce,_0x8522c6:0x35c,_0x5bf6e0:0x246,_0x43344b:0x68,_0x3c7415:0x4c,_0x21d91b:0x1ee,_0x1caaac:0x355,_0x1d88e2:0x32d,_0x1c0d61:0x248,_0x444ea1:0x2d8,_0x3a7fa1:0x333,_0xa901fc:0x49c,_0x1de491:0xae,_0x1ca163:0x6f,_0x230732:0x3be,_0x5af5f9:0x185,_0x2153bf:0x1c5,_0x214a43:0x15,_0x417b66:0x435,_0x280fb9:0xc1,_0x1ad6b7:0x225,_0x10b816:0x48,_0x54e8a:0x436,_0x2149f3:0x1fd,_0x3d7488:0x94,_0x505f3c:0x31b,_0x257b0c:0x6d,_0x36b610:0x1b3,_0x5b6343:0x6b1,_0x555a83:0x404,_0x570fe3:0x131,_0xd57d10:0x17b,_0x1e50f0:0xd,_0x5c2120:0xcf,_0xf945f:0xd5,_0x3b323f:0x36c,_0x26e6a2:0x209,_0x3b4e7:0x65f,_0xc8e83b:0x2aa,_0x1660a6:0xd,_0x229c2a:0x220,_0x3e3591:0x4ae,_0x39bc0f:0x2af,_0x13af48:0xb5,_0x12d4b5:0x20d,_0x56d85c:0xb5,_0x2fb68d:0x36d,_0x5b5950:0xdb,_0x298e3e:0x458,_0x403876:0x6a2,_0x501e36:0x624,_0x3e5cda:0x24e,_0x3a2eaa:0x27f,_0x3ba8b1:0x5ff,_0x1a7584:0x367,_0x3221b3:0x1af,_0x192210:0x47d,_0x4b203f:0x77a,_0x448cdc:0x5bc,_0x496e13:0x345,_0x1f2acc:0x230,_0x2c7a0b:0x16c,_0x526bdb:0x10e,_0x46c9f5:0xb3,_0x1fe06d:0x39,_0xfaf3be:0xad,_0x29ee8:0x3d3,_0x49facb:0x3d1,_0x3bfb8c:0x444,_0xbdf4e8:0x488,_0x4deb95:0x6ab,_0x2c86db:0x16d,_0x44aa7e:0x6ce,_0x403511:0x85e,_0x53e75e:0x361,_0x3c6c10:0x3e,_0x15fd9f:0x11b,_0x4eaae3:0x3fc,_0x8e924d:0x62c,_0x290ceb:0x1f4,_0x3f8a8c:0x18e,_0x9ca022:0x5f1,_0x187088:0x1d,_0x7e753f:0x4b0,_0x16ae8f:0x270,_0x342d55:0x406,_0x35ffa0:0x390,_0x673369:0xf0,_0x1b4fa9:0x8f,_0x27c530:0x209,_0x1a8d8e:0x46d,_0x594fbf:0x356,_0x444c85:0x617,_0x592e8c:0x41e,_0x42e5ff:0x29a,_0x532fa6:0x6c2,_0x56d90d:0x1e9,_0x2e2dca:0x1c7,_0x289c38:0x83,_0x344212:0x2ea,_0x7e1a03:0x2da,_0x498a04:0x9c,_0x4b92b1:0x34a},_0x13c611={_0x593a12:0x1e3,_0x39c304:0xc9,_0x4115b1:0x1e3,_0x5359e3:0x34c,_0x3a6eee:0x223,_0x53fd94:0xd2,_0xe70e74:0x1aa,_0xc34a97:0x6c},_0x14ab2d={_0x18a694:0x20a,_0x4978e1:0xb8,_0x158ce7:0x37c,_0x5a4345:0x41c,_0x4c0d82:0x8ba,_0x14ed48:0xdc},_0x1f1f40={_0x406d60:0x1f4,_0x4e03e8:0x53,_0x350c5e:0x21c,_0x5c8637:0x330,_0x599c9f:0x5a1,_0x1b2f15:0x33e,_0xf9baf:0xd,_0x4b71c2:0x1ff,_0x29da2c:0x556,_0x12aa07:0x706,_0x40a763:0x4a7,_0x32b500:0x3d5,_0x4756f7:0x5f6,_0x1cc13f:0x485,_0x1a8ba0:0x2ef,_0xa01b46:0x456},_0x30120a={_0x580be8:0x4bf},_0x26a2e9={_0x40e847:0x401},_0x51c9ba={'FBVpi':_0x1b5ab4(0x1c6,0x3cb),'KMQOw':function(_0x430efb,_0x121d0c){return _0x430efb(_0x121d0c);},'XlsMi':'<unknown'+'>','PuJyC':function(_0x1599f0,_0x8a1634){return _0x1599f0(_0x8a1634);},'Sbvqe':_0x1b5ab4(0x50f,0x3af),'lxGwh':function(_0x485aaf,_0x2f6a07,_0x2cbefb){return _0x485aaf(_0x2f6a07,_0x2cbefb);},'QAdTW':_0x1b5ab4(0x3f3,_0x9755ff._0x4382c0)+'e','aRbQc':function(_0x6e6fc3,_0x323450){return _0x6e6fc3===_0x323450;},'GtVWF':function(_0x13a3ff,_0x58edca){return _0x13a3ff===_0x58edca;},'SdFPL':function(_0x34effa){return _0x34effa();},'mNBas':_0x1b5ab4(_0x9755ff._0x2f524c,_0x9755ff._0xe81ace),'qCqKR':function(_0x209e9,_0x16ea4e,_0x53b962,_0x290ad9){return _0x209e9(_0x16ea4e,_0x53b962,_0x290ad9);},'LnRwW':_0x2a8e41(0x3c4,0x57c)+_0x2a8e41(_0x9755ff._0x2edee1,_0x9755ff._0x47a349)+'ir','xILmw':function(_0xc930c1,_0x1e96a2,_0x361f57,_0x109d19,_0x1733e2,_0x35ed19,_0x544e56){return _0xc930c1(_0x1e96a2,_0x361f57,_0x109d19,_0x1733e2,_0x35ed19,_0x544e56);},'iSzNI':function(_0xe25623,_0x169cf8,_0x21c2d5){return _0xe25623(_0x169cf8,_0x21c2d5);},'QXzUJ':function(_0x854faa,_0x28179f){return _0x854faa in _0x28179f;},'HUJnG':'--name','gvwOM':_0x2a8e41(0x249,_0x9755ff._0x20ac9b)+'e','TorZa':function(_0x56214d,_0x226ac9,_0x2e244d){return _0x56214d(_0x226ac9,_0x2e244d);},'cFnDD':_0x1b5ab4(0x1f3,0x32f)+_0x2a8e41(0x3e5,_0x9755ff._0x5f5543)+_0x2a8e41(_0x9755ff._0x10983a,0x547)+_0x2a8e41(0x39b,_0x9755ff._0x56389f)+_0x2a8e41(_0x9755ff._0x578d02,_0x9755ff._0x22f6ed)+_0x2a8e41(0x22c,_0x9755ff._0x2b4913)+_0x1b5ab4(_0x9755ff._0x14fde2,-0x6b),'VPNdn':function(_0x5876e6,_0x17a72c){return _0x5876e6===_0x17a72c;},'HVHgG':_0x1b5ab4(-0x219,_0x9755ff._0x3f58cf),'FAXDa':function(_0x34cc09,_0x2366ac,_0x2cd59b){return _0x34cc09(_0x2366ac,_0x2cd59b);},'WElWC':function(_0x49454b){return _0x49454b();},'Wvoet':function(_0x580f62,_0x53d03f){return _0x580f62 in _0x53d03f;},'hMuon':function(_0xe449c2){return _0xe449c2();},'BjNCv':function(_0x353895){return _0x353895();},'qdnjQ':_0x1b5ab4(_0x9755ff._0x4ee8d2,0x1b4),'uzFRy':_0x1b5ab4(0x616,_0x9755ff._0x2ec5da)+'backgrou'+_0x1b5ab4(_0x9755ff._0xaf669,_0x9755ff._0x2d507f)+_0x1b5ab4(_0x9755ff._0x21abbb,0x303),'BtjmF':'uninstal'+'l','Fguvc':_0x2a8e41(0x46c,_0x9755ff._0x49b9c6)+_0x1b5ab4(0x141,-0x3d)+_0x1b5ab4(_0x9755ff._0xcd8494,0x127)+_0x2a8e41(0x4a8,0x2e9)+_0x1b5ab4(0x300,_0x9755ff._0x288a07),'xQPCg':_0x1b5ab4(0x2b7,0x1c6),'rNcyf':_0x1b5ab4(-_0x9755ff._0x5c5dad,-_0x9755ff._0x127741),'OeSSy':_0x1b5ab4(0x294,0x349),'ZNOri':_0x2a8e41(0x641,_0x9755ff._0x2d68ce),'pndFx':function(_0x1dbfdf,_0x1c796d,_0x5772e2){return _0x1dbfdf(_0x1c796d,_0x5772e2);},'boPKl':function(_0x24a004,_0x5a2a2e){return _0x24a004(_0x5a2a2e);},'ySrRN':function(_0x26db55,_0x1a5105){return _0x26db55===_0x1a5105;},'tRLOO':function(_0x842e30,_0x107108){return _0x842e30>_0x107108;},'ePCbm':'SIGINT'},[,,_0x2c20bd=_0x51c9ba[_0x2a8e41(_0x9755ff._0x2b41ea,_0x9755ff._0x186739)],..._0x45fc5b]=process[_0x1b5ab4(_0x9755ff._0xbbd43b,-_0x9755ff._0x4f6e23)];function _0x2a8e41(_0x57447a,_0x2fecd){return _0x3a90bd(_0x2fecd,_0x57447a-_0x26a2e9._0x40e847);}const _0x3f5ec6=_0x51c9ba[_0x2a8e41(0x6af,0x5f5)](hasFlag,_0x45fc5b,_0x51c9ba[_0x2a8e41(0x208,0x3ee)]),_0x42f4cf=hasFlag(_0x45fc5b,_0x2a8e41(_0x9755ff._0x2183e0,0xbc));if(_0x51c9ba[_0x2a8e41(_0x9755ff._0xfc4718,0x243)](_0x2c20bd,'pair')){const _0x503ad5=readPairSubcommand(_0x45fc5b),_0x542680=_0x51c9ba['GtVWF'](_0x503ad5,_0x2a8e41(0x53c,0x4c6))||hasFlag(_0x45fc5b,_0x1b5ab4(-_0x9755ff._0xb15445,0x60));if(_0x542680){const _0x7c3127=_0x51c9ba['SdFPL'](resolveGatewayAuth);if(_0x51c9ba[_0x2a8e41(_0x9755ff._0x14dcc7,_0x9755ff._0x3f7a56)]in _0x7c3127)throw new Error(_0x7c3127['error']);const _0x57b452=readFlag(_0x45fc5b,_0x2a8e41(_0x9755ff._0x339634,0x2ea)+'e'),_0x3d3922=buildLocalPairingInfo({'explicitUrl':readFlag(_0x45fc5b,_0x2a8e41(0x38e,0x591)),'gatewayToken':_0x7c3127[_0x1b5ab4(_0x9755ff._0x546f7f,_0x9755ff._0x5d176b)],'gatewayPassword':_0x7c3127[_0x2a8e41(0x6b9,0x697)]}),_0x12c94d=await _0x51c9ba['qCqKR'](writeRawQrPng,_0x3d3922[_0x2a8e41(_0x9755ff._0x4f50c7,_0x9755ff._0x4dfbbd)+'d'],_0x51c9ba[_0x2a8e41(_0x9755ff._0x47bd27,0xb6)],_0x57b452);if(_0x42f4cf){const _0x3dce3b={};_0x3dce3b[_0x2a8e41(_0x9755ff._0x113233,0x736)+'rl']=_0x3d3922[_0x2a8e41(0x54d,_0x9755ff._0x1f96c2)+'rl'],_0x3dce3b[_0x2a8e41(_0x9755ff._0x20979d,0x12d)]=_0x3d3922[_0x2a8e41(0x31a,_0x9755ff._0x5626f0)],_0x3dce3b[_0x2a8e41(_0x9755ff._0x527c41,_0x9755ff._0x205e8c)+'t']=_0x3d3922['expiresA'+'t'],_0x3dce3b[_0x2a8e41(_0x9755ff._0x1a03df,_0x9755ff._0x49f829)+_0x2a8e41(_0x9755ff._0x49f275,_0x9755ff._0x36dcd5)]=_0x12c94d,_0x3dce3b['message']=_0x2a8e41(_0x9755ff._0x18dbdd,_0x9755ff._0x43ddec)+'d\x20a\x20loca'+'l\x20gatewa'+_0x1b5ab4(0x19,_0x9755ff._0x420aec)+_0x1b5ab4(_0x9755ff._0xa6842c,0x65),printJson(_0x51c9ba[_0x1b5ab4(_0x9755ff._0x108ab4,_0x9755ff._0x4251d0)](buildLocalPairingJson,_0x3dce3b));}else _0x51c9ba[_0x1b5ab4(0x3b2,_0x9755ff._0x54ffee)](printLocalPairingInfo,_0x3d3922['gatewayU'+'rl'],_0x3d3922[_0x1b5ab4(_0x9755ff._0x59b76f,_0x9755ff._0x1aecc3)],_0x3d3922[_0x1b5ab4(-0x309,-_0x9755ff._0x4f127b)+'t'],_0x3d3922[_0x1b5ab4(_0x9755ff._0x3cc5d1,0x34e)+'d'],_0x12c94d,_0x51c9ba[_0x1b5ab4(-_0x9755ff._0x5ac94a,0xb4)](readFlag,_0x45fc5b,_0x2a8e41(0x38e,0x49a)));return;}const _0x48224f=hasFlag(_0x45fc5b,'--force');!_0x48224f&&await ensurePairPrerequisites();const _0x2a9fce=resolveGatewayAuth();if(_0x51c9ba['QXzUJ'](_0x51c9ba['mNBas'],_0x2a9fce))throw new Error(_0x2a9fce['error']);const _0x3ce2d0=readFlag(_0x45fc5b,_0x1b5ab4(_0x9755ff._0x5b5cef,0x2fe))??readFlag(_0x45fc5b,'-s')??_0x1b5ab4(_0x9755ff._0x218442,0x12e)+'registry'+'.clawket'+'.ai',_0x37e445=readFlag(_0x45fc5b,_0x51c9ba[_0x1b5ab4(-0x66,0x2d)])??readFlag(_0x45fc5b,'-n')??getDefaultBridgeDisplayName(),_0x3d6814=readFlag(_0x45fc5b,_0x51c9ba[_0x1b5ab4(-_0x9755ff._0x14920e,_0x9755ff._0x4f6e23)]),_0x3f3394={};_0x3f3394['serverUr'+'l']=_0x3ce2d0,_0x3f3394['displayN'+_0x1b5ab4(-0x1b4,-_0x9755ff._0x266525)]=_0x37e445,_0x3f3394[_0x2a8e41(_0x9755ff._0x2b4913,0x2de)+_0x2a8e41(0x6f4,_0x9755ff._0x37beaf)]=_0x2a9fce[_0x1b5ab4(-0x4c,0x19b)],_0x3f3394['gatewayP'+'assword']=_0x2a9fce[_0x1b5ab4(0x51e,0x3fb)];const _0x3c02e5=await pairGateway(_0x3f3394),_0x215b1d=await _0x51c9ba[_0x2a8e41(_0x9755ff._0x407c3c,_0x9755ff._0x12964f)](writePairingQrPng,_0x3c02e5,_0x3d6814),_0x2a026e=_0x51c9ba[_0x2a8e41(0x257,_0x9755ff._0x1b1416)](getServiceStatus),_0x264190=decidePairServiceAction(_0x3c02e5,_0x2a026e);if(_0x264190===_0x1b5ab4(_0x9755ff._0x34860c,_0x9755ff._0x3f9f33)){const _0x30365b=_0x51c9ba[_0x1b5ab4(_0x9755ff._0x329194,-0x67)](listRuntimeProcesses);if(_0x30365b[_0x1b5ab4(_0x9755ff._0xbdb769,0x1ca)]>0x1){stopRuntimeProcesses();const _0x3928a9=restartService(),_0x51b010=_0x2a8e41(0x4b5,0x56b)+_0x1b5ab4(_0x9755ff._0x1bf62c,0x36b)+_0x1b5ab4(-_0x9755ff._0x101d73,_0x9755ff._0x157e01)+_0x1b5ab4(_0x9755ff._0x12bf92,_0x9755ff._0xe8641c)+'es.\x20Rest'+_0x1b5ab4(-0x1b9,-_0x9755ff._0x443257)+_0x1b5ab4(-0x5b,_0x9755ff._0x33e245)+_0x1b5ab4(0x3ee,0x2aa)+_0x2a8e41(_0x9755ff._0x10993a,0x4f2)+_0x2a8e41(_0x9755ff._0x52ddbe,_0x9755ff._0xcd8494);_0x42f4cf?printJson(buildPairingJson(_0x3c02e5,_0x215b1d,_0x3928a9,_0x51b010)):(printPairingInfo(_0x3c02e5,_0x215b1d),printServiceResult(_0x51b010,_0x3928a9));return;}_0x42f4cf?printJson(buildPairingJson(_0x3c02e5,_0x215b1d,_0x2a026e,_0x51c9ba['cFnDD'])):(printPairingInfo(_0x3c02e5,_0x215b1d),console[_0x2a8e41(_0x9755ff._0x190582,_0x9755ff._0x5ae5c4)](_0x2a8e41(_0x9755ff._0x31a46c,_0x9755ff._0x44d1d6)+_0x2a8e41(_0x9755ff._0x5a591c,0x5be)+'ce\x20alrea'+_0x2a8e41(0x39b,0x33e)+'ng.\x20Left'+_0x2a8e41(_0x9755ff._0x494ede,-0x23)+'ed.'),_0x51c9ba[_0x1b5ab4(_0x9755ff._0x33dd03,0x1ce)](printServiceResult,null,_0x2a026e));return;}try{stopRuntimeProcesses();const _0x591324=_0x264190==='install'?installService():restartService(),_0x3996a1=_0x51c9ba[_0x2a8e41(_0x9755ff._0xb602e7,0x426)](_0x264190,_0x51c9ba[_0x1b5ab4(_0x9755ff._0x151ca6,0x3d8)])?'Auto-ins'+_0x2a8e41(0x418,0x1b6)+_0x1b5ab4(_0x9755ff._0x35cb7a,_0x9755ff._0x5585dc)+'d\x20servic'+'e.':_0x3c02e5[_0x2a8e41(_0x9755ff._0x442601,0x2fd)]===_0x2a8e41(0x1f9,0x321)+'ed'?_0x2a8e41(_0x9755ff._0x125498,0x369)+'dentity\x20'+_0x1b5ab4(0x3f,0x120)+'\x20Restart'+'ed\x20backg'+_0x1b5ab4(-0x1fa,0x57)+_0x2a8e41(_0x9755ff._0x5f15e6,0x5c9)+_0x2a8e41(0x276,0x15b)+'e\x20new\x20pa'+_0x1b5ab4(_0x9755ff._0x4cdcb1,0xf5):'Backgrou'+_0x2a8e41(_0x9755ff._0x5a591c,0x1f6)+_0x2a8e41(_0x9755ff._0x45e5e0,_0x9755ff._0x6ce754)+_0x2a8e41(_0x9755ff._0xb1ca3e,_0x9755ff._0x48c585)+_0x2a8e41(0x322,_0x9755ff._0x29c5f4)+'pped.\x20Re'+_0x1b5ab4(-0x48,0x1b0)+'it.';_0x42f4cf?printJson(buildPairingJson(_0x3c02e5,_0x215b1d,_0x591324,_0x3996a1)):(_0x51c9ba['lxGwh'](printPairingInfo,_0x3c02e5,_0x215b1d),printServiceResult(_0x3996a1,_0x591324));}catch(_0x13fba9){if(isAutostartUnsupportedError(_0x13fba9)){const _0x5260d2=await startTransientRuntime(),_0x2a1881=buildUnsupportedAutostartMessage(_0x5260d2);_0x42f4cf?printJson(buildPairingJson(_0x3c02e5,_0x215b1d,_0x5260d2,_0x2a1881)):(printPairingInfo(_0x3c02e5,_0x215b1d),_0x51c9ba[_0x2a8e41(0x55f,0x6a3)](printServiceResult,_0x2a1881,_0x5260d2));return;}console[_0x2a8e41(_0x9755ff._0x48181e,_0x9755ff._0x462bb7)](_0x2a8e41(_0x9755ff._0x8522c6,_0x9755ff._0x5bf6e0)+_0x1b5ab4(0x2d9,_0x9755ff._0x43344b)+'d,\x20but\x20s'+_0x2a8e41(0x40e,0x205)+_0x1b5ab4(-_0x9755ff._0x3c7415,-0xa3)+_0x2a8e41(_0x9755ff._0x21d91b,_0x9755ff._0x1caaac)+':\x20'+formatError2(_0x13fba9)),console['error']('You\x20can\x20'+_0x1b5ab4(-0x327,-0xb9)+_0x1b5ab4(_0x9755ff._0x1d88e2,_0x9755ff._0x1c0d61)+_0x2a8e41(_0x9755ff._0x444ea1,_0x9755ff._0x3a7fa1)+_0x2a8e41(0x35a,_0x9755ff._0xa901fc)+_0x2a8e41(0x5de,0x5c4)+_0x2a8e41(0x39e,_0x9755ff._0x56389f)+_0x1b5ab4(_0x9755ff._0x1de491,_0x9755ff._0x1ca163)),process[_0x2a8e41(_0x9755ff._0x230732,0x4c3)]=0x1;}return;}if(_0x2c20bd===_0x1b5ab4(_0x9755ff._0x5af5f9,_0x9755ff._0x2153bf)+_0x1b5ab4(-_0x9755ff._0x214a43,0x123)){const _0x599ca7=readFlag(_0x45fc5b,_0x2a8e41(0x249,_0x9755ff._0x417b66)+'e'),_0x3ae017=_0x51c9ba['WElWC'](resolveGatewayAuth);if(_0x51c9ba[_0x1b5ab4(_0x9755ff._0x280fb9,_0x9755ff._0x1ad6b7)](_0x1b5ab4(-_0x9755ff._0x10b816,0xf2),_0x3ae017))throw new Error(_0x3ae017['error']);const _0x6174ac={};_0x6174ac['gatewayT'+_0x1b5ab4(0x490,_0x9755ff._0x54e8a)]=_0x3ae017[_0x1b5ab4(0x1b9,0x19b)],_0x6174ac['gatewayP'+_0x1b5ab4(_0x9755ff._0x2149f3,_0x9755ff._0x3d7488)]=_0x3ae017[_0x2a8e41(0x6b9,0x5c4)];const _0x1b7d56=await refreshAccessCode(_0x6174ac),_0x1ed354=await writePairingQrPng(_0x1b7d56,_0x599ca7);_0x42f4cf?printJson(buildPairingJson(_0x1b7d56,_0x1ed354,_0x51c9ba[_0x2a8e41(_0x9755ff._0x505f3c,_0x9755ff._0x257b0c)](getServiceStatus),'Pairing\x20'+'code\x20ref'+'reshed.')):printPairingInfo(_0x1b7d56,_0x1ed354);return;}if(_0x2c20bd===_0x2a8e41(0x330,_0x9755ff._0x36b610)||_0x2c20bd===_0x1b5ab4(_0x9755ff._0x5b6343,_0x9755ff._0x555a83)){const _0x209f8d=_0x51c9ba[_0x1b5ab4(0x29e,0xe7)](requirePairingConfig);stopRuntimeProcesses();const _0x259cef=_0x51c9ba[_0x1b5ab4(0x2ed,_0x9755ff._0x570fe3)](installService);console[_0x2a8e41(_0x9755ff._0x190582,_0x9755ff._0xd57d10)](_0x1b5ab4(-_0x9755ff._0x1e50f0,_0x9755ff._0x5c2120)+'d\x20backgr'+'ound\x20ser'+_0x1b5ab4(0x11f,0x220)+'\x20gateway'+'\x20'+_0x209f8d[_0x1b5ab4(-0x118,-_0x9755ff._0xf945f)+'d']+'.'),printServiceResult(null,_0x259cef);return;}if(_0x2c20bd===_0x51c9ba[_0x1b5ab4(_0x9755ff._0x3b323f,0x11e)]){const _0x32a238=requirePairingConfig();stopRuntimeProcesses();const _0x537151=restartService();console[_0x2a8e41(_0x9755ff._0x26e6a2,0x2dd)](_0x2a8e41(0x4ca,_0x9755ff._0x3b4e7)+_0x1b5ab4(0x90,-0x80)+_0x1b5ab4(0x472,_0x9755ff._0xc8e83b)+_0x1b5ab4(_0x9755ff._0x1660a6,_0x9755ff._0x229c2a)+_0x1b5ab4(_0x9755ff._0x3e3591,_0x9755ff._0x39bc0f)+'\x20'+_0x32a238[_0x1b5ab4(-0xdd,-0xd5)+'d']+'.'),printServiceResult(null,_0x537151);return;}function _0x1b5ab4(_0x35be45,_0x336112){return _0x3a90bd(_0x35be45,_0x336112-0x143);}if(_0x2c20bd==='stop'){const _0x13fa1e=stopService();_0x51c9ba[_0x1b5ab4(0x2a1,0x5d)](stopRuntimeProcesses),console[_0x1b5ab4(0x73,-_0x9755ff._0x13af48)](_0x51c9ba[_0x2a8e41(0x2da,_0x9755ff._0x12d4b5)]),printServiceResult(null,_0x13fa1e);return;}if(_0x2c20bd===_0x51c9ba[_0x1b5ab4(0x9a,_0x9755ff._0x2f524c)]){const _0x2eb07d=uninstallService();stopRuntimeProcesses(),console[_0x1b5ab4(0x154,-_0x9755ff._0x56d85c)](_0x51c9ba[_0x1b5ab4(-_0x9755ff._0x2fb68d,-_0x9755ff._0x5b5950)]),printServiceResult(null,_0x2eb07d);return;}if(_0x2c20bd===_0x51c9ba['xQPCg']){stopRuntimeProcesses(),stopService(),deletePairingConfig(),console[_0x2a8e41(0x209,0x3eb)](_0x2a8e41(_0x9755ff._0x298e3e,_0x9755ff._0x403876)+'pairing\x20'+_0x2a8e41(0x54e,_0x9755ff._0x501e36)+getPairingConfigPath());return;}if(_0x2c20bd===_0x51c9ba[_0x1b5ab4(0x3d8,_0x9755ff._0x3e5cda)]){printStatus();return;}if(_0x2c20bd===_0x51c9ba[_0x2a8e41(_0x9755ff._0x3a2eaa,0x1ef)]){const _0x3bdceb=Number(readFlag(_0x45fc5b,_0x1b5ab4(0x122,0x75))??_0x51c9ba[_0x2a8e41(_0x9755ff._0x3ba8b1,_0x9755ff._0x1a7584)]),_0x4c56bf=_0x51c9ba[_0x1b5ab4(0x131,_0x9755ff._0x3221b3)](parseLookbackToMs,_0x51c9ba['pndFx'](readFlag,_0x45fc5b,_0x2a8e41(_0x9755ff._0x192210,0x51a))??readFlag(_0x45fc5b,'-l')),_0x25e648=readRecentCliLogs({'lines':_0x3bdceb,'lastMs':_0x4c56bf,'includeErrorLog':hasFlag(_0x45fc5b,_0x2a8e41(0x66a,_0x9755ff._0x4b203f))});if(_0x42f4cf){const _0x4e2269={};_0x4e2269['ok']=!![],_0x4e2269[_0x2a8e41(0x4e4,_0x9755ff._0x448cdc)]=_0x25e648,_0x51c9ba[_0x1b5ab4(0x50b,_0x9755ff._0x496e13)](printJson,_0x4e2269);}else _0x25e648['length']===0x0?console['log'](_0x1b5ab4(0x1f3,_0x9755ff._0x1f2acc)+'ing\x20CLI\x20'+'logs\x20fou'+_0x2a8e41(0x54f,0x6da)):console[_0x2a8e41(_0x9755ff._0x26e6a2,_0x9755ff._0x2c7a0b)](_0x25e648[_0x1b5ab4(_0x9755ff._0x526bdb,-_0x9755ff._0x46c9f5)]('\x0a'));return;}if(_0x51c9ba[_0x1b5ab4(-0x1e,-_0x9755ff._0x1fe06d)](_0x2c20bd,_0x2a8e41(0x3ce,0x293))){const _0x44d7fd=await buildDoctorReport();_0x42f4cf?printJson(_0x44d7fd):printDoctorReport(_0x44d7fd);return;}if(_0x51c9ba[_0x1b5ab4(_0x9755ff._0x4f127b,_0x9755ff._0xfaf3be)](_0x2c20bd,'run')){const _0x49bbf9=requirePairingConfig(),_0x46b033=hasFlag(_0x45fc5b,_0x1b5ab4(_0x9755ff._0x29ee8,_0x9755ff._0x49facb)+'e'),_0x3f6060=listRuntimeProcesses()[_0x2a8e41(0x583,_0x9755ff._0x3bfb8c)](_0x5a4910=>_0x5a4910[_0x2a8e41(0x58a,0x7e0)]);_0x3f6060[_0x2a8e41(_0x9755ff._0xbdf4e8,_0x9755ff._0x4deb95)]>0x0&&(!_0x46b033&&(console['error'](_0x1b5ab4(0x90,-0xcd)+_0x1b5ab4(-0x15b,-0x3c)+_0x1b5ab4(0xf9,-0x7a)+'untime\x20i'+_0x1b5ab4(0x220,0x3e1)+_0x1b5ab4(0x2fe,_0x9755ff._0x2c86db)+_0x2a8e41(_0x9755ff._0x44aa7e,0x5e2)+(_0x51c9ba['tRLOO'](_0x3f6060['length'],0x1)?'s':'')+':\x20'+_0x3f6060['join'](',\x20')+(').\x20Run\x20\x22'+_0x2a8e41(0x5de,_0x9755ff._0x403511)+'stop\x22\x20fi'+'rst,\x20or\x20'+'rerun\x20wi'+_0x2a8e41(_0x9755ff._0x53e75e,0x3d5)+_0x1b5ab4(_0x9755ff._0x3c6c10,-_0x9755ff._0x15fd9f)+_0x2a8e41(0x298,0x3b3)+_0x2a8e41(0x663,_0x9755ff._0x4eaae3))),process[_0x2a8e41(_0x9755ff._0x8e924d,0x747)](0x1)),stopRuntimeProcesses());const _0x44cd0b=resolveGatewayUrl(readFlag(_0x45fc5b,_0x1b5ab4(0x3e4,0x24a)+_0x2a8e41(0x1b2,_0x9755ff._0x290ceb))??readFlag(_0x45fc5b,'-g')),_0x258e37=_0xaecd12=>{function _0xab0ab4(_0x1ee7ee,_0x2be681){return _0x1b5ab4(_0x1ee7ee,_0x2be681-0x231);}console['log']('['+Date[_0xab0ab4(_0x30120a._0x580be8,0x5eb)]()+']\x20'+_0xaecd12);};!_0x3f5ec6?(console['log']('Gateway\x20'+_0x2a8e41(0x19e,_0x9755ff._0x3f8a8c)+_0x49bbf9[_0x1b5ab4(-0x2dc,-0xd5)+'d']),console['log'](_0x2a8e41(0x29e,0x416)+_0x2a8e41(_0x9755ff._0x9ca022,0x4d2)+_0x49bbf9[_0x2a8e41(0x1c7,0x423)+'Id']),console[_0x2a8e41(_0x9755ff._0x190582,0x1a4)]('Gateway\x20'+_0x2a8e41(0x490,0x5a5)+_0x44cd0b),console[_0x1b5ab4(_0x9755ff._0x187088,-0xb5)](''),console[_0x1b5ab4(0x15,-_0x9755ff._0x13af48)](_0x1b5ab4(_0x9755ff._0x7e753f,_0x9755ff._0x16ae8f)+'\x20bridge\x20'+_0x2a8e41(0x614,_0x9755ff._0x342d55)+_0x1b5ab4(0x512,_0x9755ff._0x35ffa0)+_0x2a8e41(0x6c9,0x954)+_0x1b5ab4(-_0x9755ff._0x673369,-_0x9755ff._0x1b4fa9)),console[_0x2a8e41(_0x9755ff._0x27c530,0x395)]('')):_0x51c9ba[_0x2a8e41(_0x9755ff._0x1a8d8e,_0x9755ff._0x594fbf)](_0x258e37,'Starting'+_0x2a8e41(_0x9755ff._0x444c85,_0x9755ff._0x592e8c)+'\x20service'+'\x20runtime'+_0x2a8e41(0x4e5,_0x9755ff._0x42e5ff)+_0x2a8e41(0x310,0x575)+_0x49bbf9['gatewayI'+'d']);_0x3f5ec6&&writeServiceState();const _0x9fd2c8=new BridgeRuntime({'config':_0x49bbf9,'gatewayUrl':_0x44cd0b,'onLog':_0x76847a=>{_0x258e37('[clawket'+']\x20'+_0x76847a);},'onStatus':_0x2e0f59=>{function _0x55a50d(_0x3c7a69,_0x3f6be7){return _0x1b5ab4(_0x3f6be7,_0x3c7a69-0xa);}if(_0x2e0f59[_0x55a50d(-0x55,_0x1f1f40._0x406d60)+'r']){_0x258e37(_0x55a50d(_0x1f1f40._0x4e03e8,_0x1f1f40._0x350c5e)+'\x20relay='+(_0x2e0f59[_0x55a50d(0x324,0x54b)+_0x55a50d(0x3c9,_0x1f1f40._0x5c8637)]?'up':_0x127da7(_0x1f1f40._0x599c9f,0x6e5))+(_0x55a50d(0x2b9,0x32e)+'=')+(_0x2e0f59['gatewayC'+_0x55a50d(0x2cb,_0x1f1f40._0x1b2f15)]?'up':'down')+('\x20clients'+'=')+_0x2e0f59['clientCo'+_0x127da7(0x276,0x141)]+_0x55a50d(_0x1f1f40._0xf9baf,_0x1f1f40._0x4b71c2)+_0x2e0f59[_0x55a50d(-0x55,-0xe0)+'r']);return;}function _0x127da7(_0x2ebd44,_0xfa9c57){return _0x1b5ab4(_0xfa9c57,_0x2ebd44-0x1d6);}_0x258e37(_0x55a50d(_0x1f1f40._0x4e03e8,0x1d4)+_0x127da7(_0x1f1f40._0x29da2c,_0x1f1f40._0x12aa07)+(_0x2e0f59[_0x55a50d(0x324,_0x1f1f40._0x40a763)+'nected']?'up':_0x55a50d(_0x1f1f40._0x32b500,_0x1f1f40._0x4756f7))+(_0x127da7(_0x1f1f40._0x1cc13f,0x638)+'=')+(_0x2e0f59[_0x127da7(0x28d,0xf1)+_0x55a50d(0x2cb,0x3ce)]?'up':_0x51c9ba['FBVpi'])+(_0x55a50d(_0x1f1f40._0x1a8ba0,_0x1f1f40._0xa01b46)+'=')+_0x2e0f59['clientCo'+_0x127da7(0x276,0x1ca)]);},'onPendingPairRequest':_0x3ced1f=>{function _0x11d85d(_0x57ad9b,_0x1141fa){return _0x1b5ab4(_0x57ad9b,_0x1141fa-0x15e);}function _0x263ef9(_0xc227d4,_0x591d46){return _0x1b5ab4(_0x591d46,_0xc227d4-0x2bc);}_0x51c9ba[_0x11d85d(_0x14ab2d._0x18a694,_0x14ab2d._0x4978e1)](_0x258e37,_0x263ef9(_0x14ab2d._0x158ce7,0x47c)+'quest]\x20r'+_0x11d85d(0x173,0x2a0)+'='+_0x3ced1f[_0x263ef9(_0x14ab2d._0x5a4345,0x218)+'d']+(_0x263ef9(0x6b0,_0x14ab2d._0x4c0d82)+'d=')+(_0x3ced1f[_0x263ef9(0x3f9,0x446)]||_0x51c9ba[_0x263ef9(0x20a,0x265)])+_0x11d85d(_0x14ab2d._0x14ed48,0x26b)+(_0x3ced1f['displayN'+'ame']??_0x11d85d(0x30a,0x272)+'>'));}});_0x9fd2c8[_0x2a8e41(_0x9755ff._0x532fa6,0x526)]();const _0x50f745={};_0x50f745[_0x1b5ab4(0x54,-0xd5)+'d']=_0x49bbf9[_0x2a8e41(_0x9755ff._0x56d90d,0x2ad)+'d'],_0x50f745[_0x2a8e41(0x1c7,0x34d)+'Id']=_0x49bbf9[_0x2a8e41(_0x9755ff._0x2e2dca,-_0x9755ff._0x289c38)+'Id'],_0x50f745[_0x2a8e41(0x229,_0x9755ff._0x344212)+_0x1b5ab4(0x575,_0x9755ff._0x7e1a03)]=_0x3f5ec6,registerRuntimeProcess(_0x50f745);const _0x45616e=async()=>{process[_0x1cb526(-_0x13c611._0x593a12,_0x13c611._0x39c304)]('SIGINT',_0x45616e),process[_0x1cb526(-_0x13c611._0x4115b1,-_0x13c611._0x5359e3)](_0x4afa11(0x3fa,_0x13c611._0x3a6eee),_0x45616e),await _0x9fd2c8['stop']();function _0x4afa11(_0x5e3040,_0x3804ee){return _0x2a8e41(_0x5e3040-0xb0,_0x3804ee);}_0x51c9ba[_0x1cb526(_0x13c611._0x53fd94,_0x13c611._0xe70e74)](unregisterRuntimeProcess,process['pid']);_0x3f5ec6&&clearServiceState(process[_0x4afa11(0x63a,0x607)]);function _0x1cb526(_0x217bf9,_0x35591d){return _0x2a8e41(_0x217bf9- -0x39b,_0x35591d);}process[_0x1cb526(0x291,_0x13c611._0xc34a97)](0x0);};process['on'](_0x51c9ba[_0x1b5ab4(-_0x9755ff._0x498a04,0x1e6)],_0x45616e),process['on'](_0x2a8e41(_0x9755ff._0x4b92b1,0x452),_0x45616e),await new Promise(()=>{});}printHelp();}function printPairingInfo(_0x1b650d,_0x4d89af){const _0x2e5d83={_0x52c8a3:0x2a1,_0x4bf74e:0x601,_0x2d601f:0x88e,_0x46d477:0x344,_0x451a39:0x18c,_0x50007c:0x3d1,_0x33952a:0x524,_0x48ccb4:0x728,_0x2f82b2:0x179,_0x287b9c:0x433,_0x42a8b4:0x454,_0x1a0dbb:0x1c5,_0x3f149f:0x36d,_0x4e56ea:0x125,_0x40b7e1:0xc9,_0x5822f5:0x3ee,_0x35f7d6:0x432,_0x19fb96:0x288,_0x51d299:0x615,_0x4a6161:0x4aa,_0x5f55de:0x315,_0x1ddef0:0xa7,_0x33894b:0x377,_0x47f8fd:0x56c,_0x1e224f:0x3c9,_0x40e145:0x630},_0x1c64e3={_0xe9a957:0x31d};_0x1b650d[_0x5950d5(_0x2e5d83._0x52c8a3,0xd3)]===_0x2cebee(_0x2e5d83._0x4bf74e,_0x2e5d83._0x2d601f)+'d'&&console[_0x2cebee(0x125,-0x119)](_0x5950d5(0x492,_0x2e5d83._0x46d477)+_0x5950d5(_0x2e5d83._0x451a39,_0x2e5d83._0x50007c)+_0x2cebee(_0x2e5d83._0x33952a,_0x2e5d83._0x48ccb4)+_0x2cebee(_0x2e5d83._0x2f82b2,0x274)+_0x2cebee(0x5b5,_0x2e5d83._0x287b9c)+'ring\x20cod'+'e.');console[_0x5950d5(0x2b3,0xa7)](_0x2cebee(_0x2e5d83._0x42a8b4,0x6ff)+_0x2cebee(0xba,-0x199)+_0x1b650d[_0x5950d5(_0x2e5d83._0x1a0dbb,_0x2e5d83._0x3f149f)]['gatewayI'+'d']),console[_0x2cebee(_0x2e5d83._0x4e56ea,-_0x2e5d83._0x40b7e1)](_0x5950d5(0x515,_0x2e5d83._0x5822f5)+_0x2cebee(0x5f3,0x660)+_0x2cebee(0x4f0,_0x2e5d83._0x35f7d6)+'e\x20Clawke'+'t\x20app:\x0a');const _0x425630={};_0x425630['small']=!![];function _0x2cebee(_0x40755c,_0x2bf24a){return _0x3a90bd(_0x2bf24a,_0x40755c-_0x1c64e3._0xe9a957);}function _0x5950d5(_0xe85b73,_0x5d0c08){return _0x3a90bd(_0xe85b73,_0x5d0c08-0x29f);}_0x46de63[_0x5950d5(0x166,_0x2e5d83._0x19fb96)](_0x1b650d[_0x5950d5(_0x2e5d83._0x51d299,_0x2e5d83._0x4a6161)+'d'],_0x425630),console[_0x5950d5(_0x2e5d83._0x5f55de,_0x2e5d83._0x1ddef0)](_0x5950d5(0x3df,0x140)+'\x20'+formatLocalTime(_0x1b650d[_0x5950d5(0x51d,0x2ec)+_0x2cebee(_0x2e5d83._0x33894b,_0x2e5d83._0x47f8fd)+'sAt'])),console[_0x2cebee(_0x2e5d83._0x4e56ea,0x2ae)](_0x2cebee(_0x2e5d83._0x1e224f,_0x2e5d83._0x40e145)+':\x20'+_0x4d89af);}function printLocalPairingInfo(_0x6bbe5f,_0x3d221c,_0x3b4ef2,_0x2374c9,_0xd90c22,_0x1a6ae7){const _0x185164={_0x3e7208:0x386,_0x391750:0xb6,_0x33d7ea:0x1a4,_0x54f93b:0x6a,_0x4111b6:0x639,_0x12880c:0x7d,_0x2fd5d7:0x164,_0x458925:0x11c,_0x434da0:0x390,_0x378aa9:0xd,_0x473ecf:0x118,_0x29ef5a:0x33,_0x7c7a23:0x27a,_0x1f8be3:0x33,_0x2d8a4f:0x113,_0x122847:0x38a,_0x581490:0x1b6,_0xf763e4:0x1e3,_0x147599:0x44e,_0x1b6678:0x35d,_0x4fdcd8:0x289,_0x45b9ac:0x2ea,_0x3ca645:0xc6,_0x1ac514:0x404,_0x28ccf8:0x220,_0x4a80a6:0x461,_0x3ad082:0x2a9},_0x10dc7b={_0xc467f1:0x8d},_0x302a07={};function _0x14740e(_0x451314,_0x3ead8c){return _0xb2a5b9(_0x3ead8c,_0x451314-0x1be);}function _0x326046(_0x1672e3,_0x1f40ce){return _0xb2a5b9(_0x1f40ce,_0x1672e3-_0x10dc7b._0xc467f1);}_0x302a07[_0x326046(-0x19b,-_0x185164._0x3e7208)]=_0x14740e(0x6f,-_0x185164._0x391750)+_0x14740e(_0x185164._0x33d7ea,-0xdc);const _0x3405c6=_0x302a07,_0xa10fe=_0x3405c6[_0x14740e(-_0x185164._0x54f93b,-0x1c9)]['split']('|');let _0x3fb6d5=0x0;while(!![]){switch(_0xa10fe[_0x3fb6d5++]){case'0':const _0x307712={};_0x307712[_0x14740e(0x429,_0x185164._0x4111b6)]=!![],_0x46de63[_0x326046(_0x185164._0x12880c,0x1f8)](_0x2374c9,_0x307712);continue;case'1':console[_0x326046(-_0x185164._0x2fd5d7,-0x212)](_0x326046(0x1cb,_0x185164._0x458925)+_0x14740e(0x254,_0x185164._0x434da0)+_0x6bbe5f);continue;case'2':console[_0x326046(-0x164,-0xbe)](_0x326046(-0xcb,_0x185164._0x378aa9)+'\x20'+new Date(_0x3b4ef2)[_0x14740e(0x2ce,_0x185164._0x473ecf)+_0x326046(0x16b,0x29b)]());continue;case'3':console[_0x14740e(-_0x185164._0x29ef5a,-_0x185164._0x7c7a23)]('QR\x20image'+':\x20'+_0xd90c22);continue;case'4':console[_0x14740e(-_0x185164._0x1f8be3,-_0x185164._0x2d8a4f)](_0x14740e(_0x185164._0x122847,0x1aa)+_0x326046(_0x185164._0x581490,0x386)+_0x3d221c);continue;case'5':console['log'](_0x1a6ae7?_0x326046(_0x185164._0xf763e4,_0x185164._0x147599)+_0x14740e(_0x185164._0x1b6678,0x606)+_0x326046(_0x185164._0x4fdcd8,_0x185164._0x45b9ac)+'y\x20QR\x20in\x20'+_0x14740e(_0x185164._0x3ca645,-0x17e)+_0x14740e(_0x185164._0x1ac514,0x2d7)+'\x0a':_0x14740e(0x314,0x48c)+_0x14740e(0x24a,0x31)+'\x20gateway'+_0x326046(-0x125,-_0x185164._0x28ccf8)+'he\x20Clawk'+_0x14740e(_0x185164._0x4a80a6,_0x185164._0x3ad082));continue;}break;}}function printStatus(){const _0x50ded7={_0xd2a992:0x268,_0xd9ec83:0xb3,_0x34518f:0x3ed,_0x2f7f8d:0x2e5,_0x8f41d9:0x2b0,_0x153901:0x781,_0x12b085:0xa12,_0x18225b:0x40,_0x1417a8:0x535,_0x4c032d:0x5ab,_0x5a6ef5:0x34e,_0x25ef68:0x4ba,_0x37baf6:0x2de,_0x4b974d:0xbc,_0x153491:0x4e5,_0x435c7b:0x413,_0x17fdfe:0x505,_0x33b6ec:0x1bb,_0x483bc6:0x93,_0x487954:0x698,_0x19e922:0x181,_0x81383f:0x140,_0x5197d9:0x3a2,_0x864838:0x6b6,_0x115304:0x44e,_0xd443ca:0x20f,_0x1b99aa:0xc0,_0x4b74f3:0x5aa,_0x92c546:0x79f,_0x298698:0x1a7,_0x4ec0a8:0x11c,_0x69abbe:0x97d,_0x950e70:0x5bf,_0x1b5559:0x118,_0x7adce2:0x51,_0x3e126b:0x251,_0x3ea493:0x12d,_0xded834:0xc3,_0x5267ff:0x5af,_0x14de7f:0x21d,_0x1a3b1a:0x51,_0x47c18b:0xe7,_0x3e0cc8:0x17d,_0x5d8b7c:0x641},_0x1d0feb={_0x46e5d1:0x6fd},_0x33752a={'DRDyD':function(_0x17d3e7){return _0x17d3e7();},'jZpxh':_0x41c4bd(0x4d3,0x6d8)},_0x1604f7=readPairingConfig(),_0x2f91cb=getServiceStatus();function _0x4d3daf(_0x15da5b,_0x1f0d61){return _0x3a90bd(_0x15da5b,_0x1f0d61-0x1a7);}const {logPath:_0x2cd810,errorLogPath:_0x379489}=getServicePaths(),_0x9b23b0=_0x33752a[_0x4d3daf(0x2b7,_0x50ded7._0xd2a992)](readCliVersion);function _0x41c4bd(_0xae3e02,_0xa5289c){return _0x3a90bd(_0xa5289c,_0xae3e02-_0x1d0feb._0x46e5d1);}console[_0x4d3daf(-_0x50ded7._0xd9ec83,-0x51)](_0x4d3daf(0x33d,_0x50ded7._0x34518f)+'\x20'+_0x9b23b0),!_0x1604f7?console[_0x4d3daf(-_0x50ded7._0x2f7f8d,-0x51)](_0x41c4bd(0x535,_0x50ded7._0x8f41d9)+_0x41c4bd(_0x50ded7._0x153901,_0x50ded7._0x12b085)+_0x4d3daf(0x12f,-_0x50ded7._0x18225b)+getPairingConfigPath()+')'):(console[_0x4d3daf(-0x12a,-0x51)](_0x41c4bd(_0x50ded7._0x1417a8,0x391)+_0x4d3daf(_0x50ded7._0x4c032d,_0x50ded7._0x5a6ef5)),console[_0x41c4bd(0x505,_0x50ded7._0x25ef68)](_0x4d3daf(0x14c,_0x50ded7._0x37baf6)+_0x4d3daf(0xa3,-_0x50ded7._0x4b974d)+_0x1604f7[_0x41c4bd(_0x50ded7._0x153491,_0x50ded7._0x435c7b)+'d']),console[_0x41c4bd(_0x50ded7._0x17fdfe,0x3ab)]('Instance'+':\x20'+_0x1604f7[_0x4d3daf(-_0x50ded7._0x33b6ec,-_0x50ded7._0x483bc6)+'Id']),console['log'](_0x41c4bd(_0x50ded7._0x487954,0x7eb)+_0x4d3daf(-_0x50ded7._0x19e922,-0x67)+_0x1604f7[_0x4d3daf(0x8f,_0x50ded7._0x81383f)+'l']),console[_0x41c4bd(_0x50ded7._0x17fdfe,_0x50ded7._0x5197d9)]('Name:\x20'+(_0x1604f7[_0x4d3daf(_0x50ded7._0x864838,_0x50ded7._0x115304)+_0x4d3daf(-_0x50ded7._0xd443ca,-_0x50ded7._0x1b99aa)]??'-'))),console[_0x41c4bd(0x505,_0x50ded7._0x4b74f3)](_0x41c4bd(_0x50ded7._0x92c546,0x79c)+'\x20'+resolveGatewayUrl()),console[_0x4d3daf(_0x50ded7._0x298698,-0x51)](_0x4d3daf(-_0x50ded7._0x4ec0a8,0x7b)+'\x20'+(_0x2f91cb['installe'+'d']?'installe'+'d':_0x4d3daf(0x3e3,0x2f1)+_0x41c4bd(0x98e,_0x50ded7._0x69abbe))+'\x20('+_0x2f91cb['method']+')'),console['log']('Running:'+'\x20'+(_0x2f91cb[_0x4d3daf(0x38c,0x307)]?_0x33752a[_0x41c4bd(_0x50ded7._0x950e70,0x7c6)]:'no')),console[_0x4d3daf(_0x50ded7._0x1b5559,-_0x50ded7._0x7adce2)]('Path:\x20'+(_0x2f91cb[_0x4d3daf(_0x50ded7._0x3e126b,_0x50ded7._0x3ea493)+_0x41c4bd(0x9b2,0xa9b)]||'-')),console[_0x4d3daf(_0x50ded7._0xded834,-0x51)](_0x41c4bd(0x652,_0x50ded7._0x5267ff)+_0x2cd810),console[_0x4d3daf(_0x50ded7._0x14de7f,-_0x50ded7._0x1a3b1a)](_0x4d3daf(_0x50ded7._0x47c18b,_0x50ded7._0x3e0cc8)+_0x41c4bd(0x77e,_0x50ded7._0x5d8b7c)+_0x379489),!_0x1604f7&&(process['exitCode']=0x1);}function printServiceResult(_0x474ba7,_0x50e8d0){const _0x4c3a3b={_0x5ad111:0x1b8,_0x5b1681:0x1dc,_0x289f91:0x4bf,_0x27d764:0x33f,_0x5f533d:0x33a,_0x5bb860:0x76,_0x4546c4:0x206,_0x5a5aab:0x432,_0x24e66e:0x827,_0x58ab11:0x2c8,_0x52b7f2:0x3fe,_0x10acb8:0x1d,_0x1db5e8:0x1d9};function _0x573877(_0x5819f3,_0x419478){return _0x3a90bd(_0x419478,_0x5819f3-0x4c0);}const _0x1a2127={};_0x1a2127[_0x1d3281(_0x4c3a3b._0x5ad111,_0x4c3a3b._0x5b1681)]=_0x573877(0x60a,_0x4c3a3b._0x289f91)+_0x1d3281(_0x4c3a3b._0x27d764,_0x4c3a3b._0x5f533d);const _0x17258c=_0x1a2127;_0x474ba7&&console['log'](_0x474ba7);function _0x1d3281(_0x4c29be,_0x42c3d5){return _0x3a90bd(_0x42c3d5,_0x4c29be-0xae);}console['log'](_0x1d3281(-0x7e,_0x4c3a3b._0x5bb860)+'\x20'+(_0x50e8d0['installe'+'d']?_0x50e8d0[_0x1d3281(0x20e,0x47f)]?_0x1d3281(0x20,_0x4c3a3b._0x4546c4)+'d,\x20runni'+'ng':_0x573877(_0x4c3a3b._0x5a5aab,0x257)+'d,\x20stopp'+'ed':_0x17258c[_0x573877(0x5ca,_0x4c3a3b._0x24e66e)])),console[_0x573877(_0x4c3a3b._0x58ab11,0x13b)](_0x1d3281(0x94,0x1f3)+_0x573877(0x646,_0x4c3a3b._0x52b7f2)+(_0x50e8d0[_0x1d3281(0x34,-_0x4c3a3b._0x10acb8)+_0x1d3281(0x363,_0x4c3a3b._0x1db5e8)]||'-'));}function printDoctorReport(_0xf84ae8){const _0x593261={_0x4fc68f:0x301,_0x4f8fb9:0x2ae,_0x1cb6be:0x4c0,_0x7734f:0x47c,_0x1cf1e2:0x590,_0x1d6929:0x1c4,_0x24b1da:0x20d,_0xa1d4ba:0x2dc,_0x563859:0x411,_0x416ead:0x34e,_0x16ec85:0x45,_0x3045c8:0x167,_0x3bc37b:0x60d,_0x81da31:0x1db,_0x34a38a:0x3d7,_0x223429:0x40d,_0x39ac84:0x1c6,_0x3fdcfd:0x87,_0x2789c7:0x27f,_0x58523c:0x864,_0x4bff35:0x915,_0x2124b9:0x43a,_0x4d41e5:0x228,_0x25e0de:0x5e6,_0x372b6a:0x208,_0x1bdcb3:0x65a,_0x1b65c6:0x8d3,_0x3926fc:0x185,_0x5bb59c:0x390,_0x160f10:0x47c,_0x474e85:0x3,_0x4a288f:0x298,_0x105306:0x7fa,_0xbbe655:0x64e,_0x128ba7:0x84,_0x43d06c:0x80f,_0x4b8a8a:0x96b,_0x182ff0:0x59,_0x5eb14f:0x1db,_0x325dc5:0xd9,_0x42c44d:0x2bc,_0x1f5a5c:0x3d8,_0x436b1a:0xe,_0x4780d0:0x70c,_0x24c1b0:0x207,_0x45f999:0x73e,_0x3b1bd5:0x927,_0x43548e:0x74d,_0x71765b:0x4a2,_0x12a223:0x306,_0x76d9a7:0x13,_0x43e9eb:0x94,_0x3f608:0x927,_0x457c34:0x2fb,_0x52a62f:0x157,_0x4f126b:0x15,_0xf2efda:0x451,_0x5d4def:0xac,_0x5e18c1:0xed,_0x2a286:0x47c,_0x515158:0x7ab,_0x5f2e77:0x53f,_0xebda91:0x20d,_0x11be0d:0x149},_0x294bab={_0x36a790:0x674},_0x28efd4={};_0x28efd4['NGHIy']=_0x1116f6(0x167,_0x593261._0x4fc68f)+_0x1116f6(_0x593261._0x4f8fb9,_0x593261._0x1cb6be),_0x28efd4[_0x3bb55c(0x41b,0x4b2)]='missing';const _0x5235a0=_0x28efd4;console[_0x3bb55c(_0x593261._0x7734f,_0x593261._0x1cf1e2)]('Paired:\x20'+(_0xf84ae8[_0x1116f6(_0x593261._0x1d6929,0xb8)]?_0x1116f6(-_0x593261._0x24b1da,-0x30d):'no')),console[_0x1116f6(-0x1db,-_0x593261._0xa1d4ba)]('Gateway\x20'+_0x3bb55c(_0x593261._0x563859,0x199)+(_0xf84ae8[_0x3bb55c(0x45c,_0x593261._0x416ead)+'d']??'-')),console['log'](_0x1116f6(-0x48,_0x593261._0x16ec85)+_0x1116f6(-0x1f1,-_0x593261._0x3045c8)+(_0xf84ae8[_0x3bb55c(_0x593261._0x3bc37b,0x40b)+'l']??'-')),console[_0x1116f6(-_0x593261._0x81da31,-_0x593261._0x34a38a)](_0x1116f6(0x24c,_0x593261._0x223429)+_0x1116f6(-0x21f,-_0x593261._0x39ac84)+(_0xf84ae8[_0x1116f6(0x152,-_0x593261._0x3fdcfd)]??'-')),console[_0x3bb55c(0x47c,0x6a9)](_0x3bb55c(0x511,_0x593261._0x2789c7)+_0x3bb55c(_0x593261._0x58523c,_0x593261._0x4bff35)+(_0xf84ae8[_0x3bb55c(_0x593261._0x2124b9,0x4ff)+'Id']??'-'));function _0x3bb55c(_0x2400b8,_0x2792fa){return _0x3a90bd(_0x2792fa,_0x2400b8-_0x294bab._0x36a790);}console[_0x1116f6(-0x1db,-_0x593261._0x4d41e5)]('Service:'+'\x20'+(_0xf84ae8['serviceI'+'nstalled']?_0x3bb55c(_0x593261._0x25e0de,0x85c)+'d':_0x5235a0[_0x1116f6(_0x593261._0x372b6a,0x427)])+'\x20('+_0xf84ae8['serviceM'+_0x1116f6(0x258,-0xd)]+')');function _0x1116f6(_0x2c89af,_0x5614b0){return _0x3a90bd(_0x5614b0,_0x2c89af-0x1d);}console[_0x3bb55c(_0x593261._0x7734f,0x383)](_0x3bb55c(_0x593261._0x1bdcb3,_0x593261._0x1b65c6)+_0x1116f6(0x1e4,0x257)+'\x20'+(_0xf84ae8[_0x1116f6(_0x593261._0x3926fc,_0x593261._0x5bb59c)+'unning']?_0x1116f6(-0x20d,-0x2ff):'no')),console[_0x3bb55c(_0x593261._0x160f10,0x554)](_0x1116f6(_0x593261._0x474e85,_0x593261._0x4a288f)+_0x3bb55c(_0x593261._0x105306,_0x593261._0xbbe655)+(_0xf84ae8[_0x1116f6(-0x5d,0x1dc)+_0x3bb55c(0x929,0xade)]||'-')),console[_0x1116f6(-0x1db,-_0x593261._0x128ba7)](_0x3bb55c(_0x593261._0x43d06c,_0x593261._0x4b8a8a)+':\x20'+_0xf84ae8[_0x1116f6(0xe4,_0x593261._0x182ff0)]),console[_0x1116f6(-_0x593261._0x5eb14f,-0x1dc)](_0x1116f6(_0x593261._0x325dc5,-0x1ca)+'g\x20path:\x20'+_0xf84ae8[_0x1116f6(0x31,_0x593261._0x42c44d)+_0x1116f6(0xc3,0x202)]),console[_0x3bb55c(0x47c,_0x593261._0x1f5a5c)]('OpenClaw'+_0x1116f6(-0x19a,_0x593261._0x436b1a)+_0xf84ae8[_0x1116f6(0x2d0,0x3b2)+_0x3bb55c(0x874,0x7e1)+'r']),console[_0x3bb55c(0x47c,_0x593261._0x4780d0)]('OpenClaw'+'\x20media:\x20'+_0xf84ae8[_0x3bb55c(0x927,0x9cd)+_0x1116f6(0xda,_0x593261._0x24c1b0)]),console[_0x1116f6(-0x1db,-0x40f)]('OpenClaw'+_0x3bb55c(0x4e2,_0x593261._0x45f999)+'\x20'+(_0xf84ae8[_0x3bb55c(_0x593261._0x3b1bd5,0x7ec)+_0x3bb55c(_0x593261._0x43548e,_0x593261._0x71765b)+_0x1116f6(_0x593261._0x12a223,0x33e)]?'found':_0x5235a0[_0x3bb55c(0x41b,0x4b8)])),console[_0x1116f6(-0x1db,-0x30f)](_0x1116f6(-_0x593261._0x76d9a7,_0x593261._0x43e9eb)+'\x20token:\x20'+(_0xf84ae8[_0x3bb55c(_0x593261._0x3f608,0x87a)+_0x1116f6(_0x593261._0x457c34,0xaa)+'nd']?_0x1116f6(-_0x593261._0x52a62f,_0x593261._0x4f126b):_0x5235a0['yFUST'])),console[_0x3bb55c(0x47c,_0x593261._0xf2efda)](_0x1116f6(0x154,-0x12)+_0x1116f6(_0x593261._0x5d4def,_0x593261._0x5e18c1)+_0xf84ae8['localGat'+'ewayUrl']),console[_0x3bb55c(_0x593261._0x2a286,0x2bf)](_0x3bb55c(_0x593261._0x515158,_0x593261._0x5f2e77)+_0x1116f6(0x90,-0x211)+_0x1116f6(0x13f,-0x55)+(_0xf84ae8[_0x3bb55c(0x460,0x52b)+_0x3bb55c(0x446,0x399)+_0x1116f6(0x22a,0x1fd)]?_0x1116f6(-_0x593261._0xebda91,-_0x593261._0x11be0d):'no'));}function requirePairingConfig(){const _0x1be4be={_0x1cc132:0x839,_0xe896f3:0x675,_0x56a545:0x113,_0x506b86:0x975,_0x215f80:0x47a};function _0x4acdb0(_0x58bf35,_0x34bfba){return _0xb2a5b9(_0x34bfba,_0x58bf35-0x71c);}const _0x3fb2ae=readPairingConfig();function _0xb42e75(_0x2b5e8c,_0x37e54f){return _0xb2a5b9(_0x2b5e8c,_0x37e54f-0x27c);}return!_0x3fb2ae&&(console['error'](_0x4acdb0(_0x1be4be._0x1cc132,_0x1be4be._0xe896f3)+'ed.\x20Run\x20'+'\x22clawket'+_0xb42e75(-0x79,_0x1be4be._0x56a545)+'irst.\x20Co'+_0x4acdb0(_0x1be4be._0x506b86,0xaa2)+_0xb42e75(_0x1be4be._0x215f80,0x418)+getPairingConfigPath()),process['exit'](0x1)),_0x3fb2ae;}function readFlag(_0x592f97,_0x19663d){const _0x986ce0={_0x4eaf40:0x40a,_0x1291e0:0x512},_0x5ccfad={_0x560e39:0x6c};function _0x496f35(_0x3020cc,_0x5b14db){return _0x3a90bd(_0x3020cc,_0x5b14db-0x302);}const _0x46eef6=_0x592f97[_0x496f35(_0x986ce0._0x4eaf40,0x17f)](_0x19663d);function _0x5f5230(_0x3ba691,_0x33ef62){return _0x3a90bd(_0x3ba691,_0x33ef62- -_0x5ccfad._0x560e39);}if(_0x46eef6<0x0)return null;const _0x5cba3f=_0x592f97[_0x46eef6+0x1];return _0x5cba3f?.[_0x496f35(_0x986ce0._0x1291e0,0x594)]()?_0x5cba3f['trim']():null;}function hasFlag(_0x33cd7e,_0x533c48){return _0x33cd7e['includes'](_0x533c48);}function readPairSubcommand(_0x223437){const _0x393da6={_0x58be71:0xc3,_0x11e1dc:0x239},_0x14f3d5={_0xf3e7a4:0x45f};function _0x114289(_0x13f772,_0xa2786f){return _0x3a90bd(_0x13f772,_0xa2786f-_0x14f3d5._0xf3e7a4);}for(const _0x32aaf8 of _0x223437){if(!_0x32aaf8[_0x114289(_0x393da6._0x58be71,_0x393da6._0x11e1dc)+'th']('-'))return _0x32aaf8['trim']()||null;}return null;}function printHelp(){const _0xfa8966={_0x214f7c:0x47,_0x520f83:0x1b5,_0x314c4d:0x297,_0x198db2:0x189,_0x11de31:0x184,_0x171f1d:0x174,_0x379626:0x373,_0xb186c0:0x278,_0x5be1df:0x29b,_0x2f7191:0x220,_0x88ce0f:0x1e2,_0x2cc6a8:0x11f,_0x31b3c9:0x394,_0x5e2e8e:0x213,_0x4bfb24:0x5cc,_0x1c0833:0xa8,_0x306bf6:0x126,_0x3db97f:0x514,_0x30bbae:0x2f2,_0x111b0d:0x3dd,_0x3b91eb:0x684,_0x22457d:0x500,_0x41864e:0x98,_0x319b64:0x1dc,_0x1d41f9:0x292,_0x13eade:0x27c,_0x5a80ca:0x4b7,_0x40d9f4:0x1cd,_0x1a90b3:0x230,_0x55c25e:0x96,_0x29286b:0x64,_0x1441f9:0xc1,_0x220978:0x402,_0x4ec77a:0x5a,_0x5e7dd1:0x1e,_0xe059ca:0x5b,_0x562f60:0x893,_0x3a5f6c:0x61d,_0x4e423f:0x539,_0x5517bc:0x323,_0x3fc71a:0x295,_0x4ed9e4:0x1c9,_0x12bc35:0xc5,_0x11bf44:0x68,_0x5b1ff3:0x1d0,_0x21ec4b:0x3d3,_0x49909e:0x189,_0xf0fee6:0x1f7,_0x1dc6ee:0x325,_0x1c590f:0x442,_0x32f000:0x38c,_0x532272:0x3c5,_0x583251:0x106},_0x4f393e={_0x16e5de:0x355},_0x5b2312={};_0x5b2312['nyCsZ']=_0x4cf980(_0xfa8966._0x214f7c,_0xfa8966._0x520f83)+_0x4cf980(_0xfa8966._0x314c4d,0x58)+'l',_0x5b2312['Rlkjr']=_0x4cf980(_0xfa8966._0x198db2,0x1b5)+_0x4cf980(_0xfa8966._0x11de31,0x5b);function _0x51a8fa(_0x3e780d,_0x493d78){return _0xb2a5b9(_0x3e780d,_0x493d78-_0x4f393e._0x16e5de);}function _0x4cf980(_0x2b80a7,_0x25fa0a){return _0xb2a5b9(_0x2b80a7,_0x25fa0a- -0x2f);}_0x5b2312[_0x4cf980(-0x11b,-0x223)]='clawket\x20'+'run\x20[--g'+_0x51a8fa(0x27,_0xfa8966._0x171f1d)+'rl\x20<ws:/'+'/127.0.0'+_0x4cf980(_0xfa8966._0x379626,_0xfa8966._0xb186c0)+_0x51a8fa(0x176,0x17f)+'place]';const _0x35a730=_0x5b2312;console[_0x4cf980(-_0xfa8966._0x5be1df,-_0xfa8966._0x2f7191)](['clawket\x20'+'pair\x20[--'+_0x4cf980(0x143,_0xfa8966._0x88ce0f)+_0x4cf980(-0x26e,-_0xfa8966._0x2cc6a8)+_0x4cf980(-_0xfa8966._0x31b3c9,-_0xfa8966._0x5e2e8e)+_0x51a8fa(0x203,0x344)+'me>]\x20[--'+'qr-file\x20'+_0x51a8fa(0x46a,_0xfa8966._0x4bfb24)+_0x4cf980(-_0xfa8966._0x1c0833,-0xbb)+_0x4cf980(0x174,-_0xfa8966._0x306bf6)+'e]',_0x51a8fa(_0xfa8966._0x3db97f,0x539)+_0x51a8fa(0x137,_0xfa8966._0x30bbae)+'al\x20[--ur'+'l\x20<ws://'+_0x51a8fa(_0xfa8966._0x111b0d,0x244)+_0x51a8fa(_0xfa8966._0x3b91eb,_0xfa8966._0x22457d)+'r-file\x20<'+_0x4cf980(-_0xfa8966._0x41864e,-_0xfa8966._0x319b64)+_0x4cf980(-0xea,-0x23d),'clawket\x20'+_0x4cf980(_0xfa8966._0x1d41f9,_0xfa8966._0x13eade)+'ocal\x20[--'+'url\x20<ws:'+_0x51a8fa(0x5e,0x237)+_0x51a8fa(_0xfa8966._0x5a80ca,0x604)+_0x4cf980(_0xfa8966._0x40d9f4,_0xfa8966._0x1a90b3)+_0x4cf980(_0xfa8966._0x55c25e,-0x37)+_0x4cf980(-_0xfa8966._0x29286b,-_0xfa8966._0x1441f9)+']',_0x4cf980(_0xfa8966._0x220978,0x1b5)+_0x4cf980(0x1d4,_0xfa8966._0x4ec77a)+'code\x20[--'+_0x4cf980(_0xfa8966._0x5e7dd1,0x19b)+_0x4cf980(0x4b1,0x248)+_0x51a8fa(_0xfa8966._0xe059ca,0x2c9),_0x4cf980(0x3ba,0x1b5)+_0x51a8fa(_0xfa8966._0x562f60,_0xfa8966._0x3a5f6c),_0x4cf980(0xe0,0x1b5)+_0x51a8fa(0x480,0x28b),_0x51a8fa(0x2cc,_0xfa8966._0x4e423f)+_0x51a8fa(_0xfa8966._0x5517bc,0x3cd),_0x51a8fa(_0xfa8966._0x3fc71a,_0xfa8966._0x4e423f)+'stop',_0x35a730[_0x4cf980(0x22,-0x26)],_0x35a730[_0x4cf980(-_0xfa8966._0x4ed9e4,-0xd5)],_0x4cf980(_0xfa8966._0x12bc35,_0xfa8966._0x520f83)+_0x51a8fa(_0xfa8966._0x11bf44,0x19b),_0x4cf980(_0xfa8966._0x5b1ff3,_0xfa8966._0x520f83)+_0x51a8fa(0x5d2,_0xfa8966._0x21ec4b)+_0x4cf980(-_0xfa8966._0x49909e,-0x33)+_0x51a8fa(0x39c,_0xfa8966._0xf0fee6)+_0x51a8fa(_0xfa8966._0x1dc6ee,0x27a)+'>]\x20[--er'+'rors]\x20[-'+'-json]',_0x4cf980(_0xfa8966._0x1c590f,0x1b5)+'doctor\x20['+_0x4cf980(-_0xfa8966._0x32f000,-0x23d),_0x35a730[_0x51a8fa(_0xfa8966._0x532272,0x161)]][_0x51a8fa(_0xfa8966._0x583251,0x166)]('\x0a'));}function buildUnsupportedAutostartMessage(_0x1bafa0){const _0x3825ab={_0x2b1dda:0xd9,_0x52f2f8:0x4d8,_0x325c4e:0x1bc,_0x297873:0x3b0,_0x56d472:0x144,_0x3cf3a1:0x2c4,_0x546713:0x4cd,_0x4bcb74:0xf4,_0x5bd8a5:0x3,_0x2c12c0:0x5f0,_0x32c74f:0x395,_0x2c3386:0x220,_0x140a1e:0xf0,_0x47d333:0x3be,_0x133f19:0x2a4,_0x1ebe15:0x60,_0x26c327:0x253,_0x487c02:0x75d,_0x484a36:0x339,_0x50381e:0x190,_0xd087f5:0x2d8,_0x2aa14f:0x8e,_0x5ea7c4:0x212,_0x1fd90e:0x170,_0x3a88ad:0x1d3,_0x553f46:0x1ff,_0x4bf9d7:0xf1,_0x3d79f6:0x469,_0x5b98ea:0x311,_0x250ec2:0xf2,_0xa83ff:0x725,_0x136e0b:0x34,_0x3f0798:0x172,_0x37c728:0x32,_0x118311:0x29b,_0x418db6:0x14},_0x412af7={};_0x412af7['SyHXg']=_0x16ff91(0x3b2,0x517)+_0xbecda6(_0x3825ab._0x2b1dda,-0x22)+'ge\x20runti'+'me,\x20but\x20'+_0x16ff91(0x6c0,_0x3825ab._0x52f2f8)+_0xbecda6(0x17f,_0x3825ab._0x325c4e)+'ot\x20suppo'+'rt\x20autom'+_0x16ff91(0x19c,_0x3825ab._0x297873)+_0x16ff91(0x339,_0x3825ab._0x56d472)+_0x16ff91(_0x3825ab._0x3cf3a1,_0x3825ab._0x546713)+'n.\x20Use\x20y'+_0xbecda6(_0x3825ab._0x4bcb74,0x1d5)+_0x16ff91(-0x54,-_0x3825ab._0x5bd8a5)+_0xbecda6(_0x3825ab._0x2c12c0,_0x3825ab._0x32c74f)+_0x16ff91(0x2c,0x261)+'\x20to\x20rest'+_0xbecda6(0x1d5,0x16f)+_0x16ff91(0x26e,0xf6)+_0xbecda6(-_0x3825ab._0x2c3386,-_0x3825ab._0x140a1e);function _0x16ff91(_0x23c6a6,_0x21711d){return _0x3a90bd(_0x23c6a6,_0x21711d-0x25e);}const _0x1d3a2e=_0x412af7;if(_0x1bafa0[_0x16ff91(0x2cc,_0x3825ab._0x47d333)])return _0x1d3a2e[_0x16ff91(0x5b5,0x4e2)];function _0xbecda6(_0x327cb6,_0x14022e){return _0x3a90bd(_0x327cb6,_0x14022e-0xb8);}return _0x16ff91(_0x3825ab._0x133f19,0x256)+_0xbecda6(0x341,_0x3825ab._0x325c4e)+_0x16ff91(-0x19d,_0x3825ab._0x4bcb74)+'rt\x20autom'+_0xbecda6(_0x3825ab._0x1ebe15,0x20a)+_0xbecda6(-_0x3825ab._0x26c327,-0x62)+_0x16ff91(_0x3825ab._0x487c02,0x4cd)+_0xbecda6(_0x3825ab._0x484a36,_0x3825ab._0x50381e)+_0x16ff91(_0x3825ab._0xd087f5,0x32)+_0xbecda6(_0x3825ab._0x2aa14f,_0x3825ab._0x5ea7c4)+_0xbecda6(0x231,_0x3825ab._0x1fd90e)+_0xbecda6(_0x3825ab._0x3a88ad,0x72)+_0xbecda6(_0x3825ab._0x553f46,_0x3825ab._0x4bf9d7)+_0xbecda6(_0x3825ab._0x3d79f6,_0x3825ab._0x5b98ea)+_0x16ff91(0x1e1,_0x3825ab._0x250ec2)+_0x16ff91(_0x3825ab._0xa83ff,0x519)+_0xbecda6(-_0x3825ab._0x136e0b,_0x3825ab._0x3f0798)+'\x20or\x20proc'+_0xbecda6(-0x16,_0x3825ab._0x37c728)+_0xbecda6(_0x3825ab._0x118311,_0x3825ab._0x418db6)+'un\x20Clawk'+'et.';}function formatLocalTime(_0x299e79){const _0x286f84={_0xf1db8f:0x1ff,_0x6cca0f:0x75f,_0x36d66a:0x4ba},_0x2b75a8={_0xcf72c8:0x2e5},_0xa50266=new Date(_0x299e79);function _0x3b7ab7(_0x525a0b,_0x4ad76e){return _0xb2a5b9(_0x4ad76e,_0x525a0b-_0x2b75a8._0xcf72c8);}if(Number[_0x3b7ab7(_0x286f84._0xf1db8f,0x412)](_0xa50266[_0x2831ef(_0x286f84._0x6cca0f,_0x286f84._0x36d66a)]()))return _0x299e79;function _0x2831ef(_0x34b434,_0xc80f6d){return _0xb2a5b9(_0xc80f6d,_0x34b434-0x6f8);}return _0xa50266['toLocale'+'String']();}function formatError2(_0x287470){const _0x3adf4c={_0x3838d4:0x138},_0x31c952={_0x262ef8:0x524};function _0x2ef1da(_0x48f42b,_0x28cbf3){return _0xb2a5b9(_0x28cbf3,_0x48f42b-_0x31c952._0x262ef8);}return _0x287470 instanceof Error?_0x287470[_0x2ef1da(0x3e2,_0x3adf4c._0x3838d4)]:String(_0x287470);}function printJson(_0x249b41){function _0x2bb1dc(_0x3785c2,_0x20c052){return _0x3a90bd(_0x20c052,_0x3785c2- -0x4d);}function _0x3cbc7b(_0x6a32fa,_0x593f12){return _0x3a90bd(_0x6a32fa,_0x593f12-0x687);}console[_0x2bb1dc(-0x245,-0x17e)](JSON[_0x2bb1dc(0x230,0x8)+'y'](_0x249b41,null,0x2));}main()['catch'](_0x1247ab=>{const _0x55d959={_0x558fea:0x188,_0x2c25e9:0x1e9,_0x2f6a12:0x21a},_0x1d9de6={_0x45e7a6:0x1d9};function _0x2c7d8e(_0x237c0d,_0x409507){return _0x3a90bd(_0x409507,_0x237c0d-_0x1d9de6._0x45e7a6);}console[_0x2c7d8e(_0x55d959._0x558fea,0x38b)](formatError2(_0x1247ab));function _0x4dfe8c(_0x4959ab,_0x47a57c){return _0x3a90bd(_0x47a57c,_0x4959ab- -0x42);}process[_0x4dfe8c(_0x55d959._0x2c25e9,_0x55d959._0x2f6a12)](0x1);});