@p697/clawket 0.4.0 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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(_0x301031,_0x4ea9de){const _0x10884b={_0x24394b:0xd9,_0x455dea:0x307,_0x5af205:0x522,_0x2e28b1:0x3e9,_0x28268a:0x187,_0x1c6754:0x1b4,_0x132b93:0x21c,_0x30d7f2:0xa4,_0x56cce7:0x135,_0x5f0f24:0x13c,_0x1a5afa:0x355,_0x4f19f7:0x45d,_0x52f23e:0x105},_0x40050f=_0x301031();function _0x257c32(_0x416bcd,_0x519185){return _0x47f8(_0x519185- -0x15d,_0x416bcd);}function _0x1aa132(_0x392319,_0x4e7dea){return _0x47f8(_0x392319- -0x2ee,_0x4e7dea);}while(!![]){try{const _0x2fbeab=parseInt(_0x1aa132(-_0x10884b._0x24394b,-0x24e))/0x1*(-parseInt(_0x257c32(0x17,0x21))/0x2)+-parseInt(_0x257c32(0x238,_0x10884b._0x455dea))/0x3+-parseInt(_0x257c32(_0x10884b._0x5af205,_0x10884b._0x2e28b1))/0x4*(parseInt(_0x257c32(-0x143,0x170))/0x5)+-parseInt(_0x1aa132(_0x10884b._0x28268a,_0x10884b._0x1c6754))/0x6*(parseInt(_0x1aa132(_0x10884b._0x132b93,-_0x10884b._0x30d7f2))/0x7)+-parseInt(_0x1aa132(-_0x10884b._0x56cce7,0x18b))/0x8*(parseInt(_0x257c32(0x5f,_0x10884b._0x5f0f24))/0x9)+parseInt(_0x257c32(0x385,_0x10884b._0x1a5afa))/0xa+-parseInt(_0x1aa132(0x229,_0x10884b._0x4f19f7))/0xb*(-parseInt(_0x257c32(0xee,_0x10884b._0x52f23e))/0xc);if(_0x2fbeab===_0x4ea9de)break;else _0x40050f['push'](_0x40050f['shift']());}catch(_0x4f88dc){_0x40050f['push'](_0x40050f['shift']());}}}(_0x1cc1,0x203b6));const _0x1e9614=(function(){let _0x46fcea=!![];return function(_0x169efb,_0x4de16f){const _0x3ebb45={_0x11c6c0:0x108},_0x21ca4f=_0x46fcea?function(){function _0x21456d(_0x10f8db,_0x13e7bf){return _0x47f8(_0x13e7bf- -_0x3ebb45._0x11c6c0,_0x10f8db);}if(_0x4de16f){const _0x43ec8a=_0x4de16f[_0x21456d(-0x1ba,0x84)](_0x169efb,arguments);return _0x4de16f=null,_0x43ec8a;}}:function(){};return _0x46fcea=![],_0x21ca4f;};}()),_0x23587f=_0x1e9614(this,function(){const _0x19a976={_0x3f1225:0x39d,_0x4393d7:0x508,_0x35ad3c:0x656,_0x3a41c1:0x4fe,_0xd5a18:0x427,_0x39d282:0x91a,_0x2e5ad0:0x9e4},_0x5992c7={_0x41d91a:0x2e};function _0x3632e3(_0x1423cc,_0x1561d3){return _0x47f8(_0x1561d3-_0x5992c7._0x41d91a,_0x1423cc);}function _0x313c24(_0x4e1d0e,_0x2fdbce){return _0x47f8(_0x4e1d0e-0x322,_0x2fdbce);}return _0x23587f[_0x3632e3(0x551,_0x19a976._0x3f1225)]()['search'](_0x3632e3(0x82d,0x665)+_0x313c24(0x7aa,_0x19a976._0x4393d7))[_0x313c24(0x691,_0x19a976._0x35ad3c)]()[_0x3632e3(0x4e3,0x224)+_0x313c24(_0x19a976._0x3a41c1,_0x19a976._0xd5a18)](_0x23587f)[_0x313c24(_0x19a976._0x39d282,0x754)](_0x313c24(0x959,_0x19a976._0x2e5ad0)+'+)+$');});_0x23587f();import _0x3e24a7 from'qrcode-terminal';import{readFileSync as _0x1a6cae}from'fs';import{Socket}from'net';import{homedir as _0x152237}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(),_0x26b3dd(0x8b7,0x99b)),CONFIG_PATH=join(CONFIG_DIR,_0x26b3dd(0x8dc,0x641)+'li.json');function getPairingConfigPath(){return CONFIG_PATH;}function readPairingConfig(){const _0x5702dd={_0x4100e7:0x1ea,_0x371d70:0x696,_0x205121:0x311,_0x24b408:0xfd,_0x4d3e3d:0x281,_0x328797:0x128,_0x8bcb05:0x134,_0x2f176a:0x120,_0xcb0a48:0xee,_0x1bae89:0x1de,_0x4d989d:0x692,_0x4733ff:0x11,_0x496d26:0x993,_0x5c6828:0x99,_0x3e6e92:0x94,_0x483bd9:0x19b,_0x23a3d3:0xa9,_0x74cb71:0x972,_0x356ef4:0xc1,_0x5323af:0x6ef,_0x49045b:0x487,_0x339b82:0x13a,_0x2e7ae0:0x8b0,_0x2036a9:0x58f,_0x9647c7:0x8f7},_0x2cac2f={_0x28b808:0x6f5},_0x2c96ea={'VfoPL':function(_0x5b3242,_0x223400,_0xfc2d74){return _0x5b3242(_0x223400,_0xfc2d74);}};if(!existsSync(CONFIG_PATH))return null;function _0x59e8f6(_0x41d5b2,_0x14b0c0){return _0x26b3dd(_0x14b0c0- -_0x2cac2f._0x28b808,_0x41d5b2);}function _0x43c326(_0x168a85,_0x19c0de){return _0x26b3dd(_0x19c0de- -0xf7,_0x168a85);}try{const _0x25656b=JSON[_0x59e8f6(-0x10c,-_0x5702dd._0x4100e7)](_0x2c96ea[_0x43c326(0x400,_0x5702dd._0x371d70)](readFileSync,CONFIG_PATH,_0x59e8f6(-_0x5702dd._0x205121,-_0x5702dd._0x24b408)));if(!_0x25656b[_0x59e8f6(-_0x5702dd._0x4d3e3d,-_0x5702dd._0x328797)+'l']||!_0x25656b[_0x59e8f6(-_0x5702dd._0x8bcb05,_0x5702dd._0x2f176a)+'d']||!_0x25656b[_0x59e8f6(_0x5702dd._0xcb0a48,_0x5702dd._0x1bae89)+_0x43c326(0x7cf,_0x5702dd._0x4d989d)]||!_0x25656b[_0x59e8f6(_0x5702dd._0x4733ff,-0xa9)])return null;const _0x2a42b0={'serverUrl':_0x25656b['serverUr'+'l'],'gatewayId':_0x25656b[_0x43c326(_0x5702dd._0x496d26,0x71e)+'d'],'relaySecret':_0x25656b[_0x59e8f6(-_0x5702dd._0x5c6828,_0x5702dd._0x1bae89)+_0x59e8f6(-_0x5702dd._0x1bae89,_0x5702dd._0x3e6e92)],'relayUrl':_0x25656b[_0x59e8f6(-_0x5702dd._0x483bd9,-_0x5702dd._0x23a3d3)],'instanceId':_0x25656b[_0x43c326(_0x5702dd._0x74cb71,0x8f7)+'Id']?.[_0x59e8f6(0x201,_0x5702dd._0x356ef4)]()||createInstanceId(),'displayName':_0x25656b[_0x43c326(_0x5702dd._0x5323af,_0x5702dd._0x49045b)+_0x59e8f6(0x1aa,_0x5702dd._0x339b82)]??null,'createdAt':_0x25656b[_0x43c326(0x9d1,_0x5702dd._0x2e7ae0)+'t']??new Date()['toISOStr'+'ing'](),'updatedAt':_0x25656b['updatedA'+'t']??new Date()[_0x43c326(0x6ca,0x747)+_0x43c326(0x6e3,_0x5702dd._0x2036a9)]()};return _0x25656b[_0x59e8f6(0x2c9,0x2f9)+'Id']!==_0x2a42b0[_0x43c326(0xb28,_0x5702dd._0x9647c7)+'Id']&&writePairingConfig(_0x2a42b0),_0x2a42b0;}catch{return null;}}function writePairingConfig(_0x49bf32){const _0xf179a6={_0x45919c:0x29e,_0x1ce3c8:0x1d5,_0xc65b24:0x313,_0x5dda64:0x0},_0x620b53={_0x102f4e:0x168};function _0x1f0875(_0x5d36ca,_0x49e942){return _0x3266d5(_0x49e942,_0x5d36ca- -0x16e);}function _0x36447e(_0xf4c95f,_0x2970e9){return _0x3266d5(_0x2970e9,_0xf4c95f- -_0x620b53._0x102f4e);}const _0x42b217={'TzsIe':function(_0x49cd2f,_0x14da45,_0x175610,_0x1e77ce){return _0x49cd2f(_0x14da45,_0x175610,_0x1e77ce);}},_0x132cc7={};_0x132cc7[_0x1f0875(_0xf179a6._0x45919c,_0xf179a6._0x1ce3c8)+'e']=!![],mkdirSync(CONFIG_DIR,_0x132cc7),_0x42b217[_0x36447e(0xfd,-0xa0)](writeFileSync,CONFIG_PATH,JSON[_0x1f0875(-0x157,-_0xf179a6._0xc65b24)+'y'](_0x49bf32,null,0x2)+'\x0a',_0x36447e(_0xf179a6._0x5dda64,0x13b));}function deletePairingConfig(){const _0x1ac298={_0x246cd2:0x90},_0x3b2273={_0x3cbe8a:0xf9};function _0x1ed1ff(_0x4ff182,_0x53d0b3){return _0x3266d5(_0x53d0b3,_0x4ff182- -_0x3b2273._0x3cbe8a);}if(!existsSync(CONFIG_PATH))return;const _0x49f9a5={};_0x49f9a5[_0x1ed1ff(0x138,-_0x1ac298._0x246cd2)]=!![],rmSync(CONFIG_PATH,_0x49f9a5);}function getDefaultBridgeDisplayName(){const _0x3d6fbd={_0x4ada56:0x3ad,_0x267baa:0x575,_0x9f09cf:0x5d2,_0x382ed1:0x4a5,_0x3fafc9:0x22d},_0x5797d0={_0x3ee521:0x2ac},_0x20fde5={_0x1b9b38:0x221},_0x4c7cb0=readOpenClawDefaultAgentName();function _0x49341e(_0x33e263,_0xd95ed8){return _0x3266d5(_0xd95ed8,_0x33e263-_0x20fde5._0x1b9b38);}if(_0x4c7cb0)return _0x4c7cb0;function _0x33db39(_0x4c665d,_0x2e1a18){return _0x3266d5(_0x4c665d,_0x2e1a18-_0x5797d0._0x3ee521);}try{const _0x5c7a09=userInfo()[_0x49341e(_0x3d6fbd._0x4ada56,0x344)][_0x33db39(_0x3d6fbd._0x267baa,_0x3d6fbd._0x9f09cf)]();if(_0x5c7a09)return _0x5c7a09;}catch{}const _0x138abc=(process.env.LOGNAME??process.env.USER??process.env.USERNAME??'')[_0x49341e(0x547,_0x3d6fbd._0x382ed1)]();if(_0x138abc)return _0x138abc;return hostname()['trim']()||_0x49341e(_0x3d6fbd._0x3fafc9,0x366)+_0x49341e(0x6c5,0x7e1);}function pickOpenClawDefaultAgentName(_0x49dd54){const _0xe0c3fd={_0x37b65f:0x37b,_0x365647:0x766,_0x39aac9:0x38f,_0x67c855:0x5ef,_0x1a7fdf:0x92b,_0x2c0c4e:0x693},_0xb436b4={'JTFNM':function(_0x4e51dd,_0x53483c){return _0x4e51dd(_0x53483c);}};if(!_0x49dd54||typeof _0x49dd54!==_0x105674(0x52e,_0xe0c3fd._0x37b65f))return null;const _0x201034=_0x49dd54[_0x105674(0x916,0x7db)],_0x4b5df0=Array[_0x105674(_0xe0c3fd._0x365647,0xa0e)](_0x201034?.[_0x2f1f85(_0xe0c3fd._0x39aac9,0x572)])?_0x201034[_0x105674(_0xe0c3fd._0x67c855,0x471)]:[];function _0x105674(_0x535845,_0x1abdff){return _0x26b3dd(_0x535845-0x62,_0x1abdff);}const _0x421442=_0x4b5df0[_0x105674(_0xe0c3fd._0x1a7fdf,0x94f)](_0x48133a=>isDefaultAgent(_0x48133a))??_0x4b5df0[_0x2f1f85(_0xe0c3fd._0x2c0c4e,0x8ae)](_0x4584b5=>hasAgentId(_0x4584b5,_0x105674(0x63f,0x68f)))??_0x4b5df0[0x0];function _0x2f1f85(_0x99f940,_0x33b2ce){return _0x26b3dd(_0x33b2ce- -0x1b,_0x99f940);}return _0xb436b4[_0x2f1f85(0x7c1,0x81f)](readAgentName,_0x421442);}function createInstanceId(){const _0x10bc55={_0xa2d611:0x411,_0x10e9ac:0x49f,_0x2126b1:0x5be,_0x459fa8:0x30f,_0xc116c5:0x126},_0x7bd877={_0x899758:0x149};function _0x2de75a(_0x1dfe8d,_0x24e4c0){return _0x3266d5(_0x24e4c0,_0x1dfe8d-_0x7bd877._0x899758);}const _0x17ee69=sanitizeId(hostname()||_0x52fc51(_0x10bc55._0xa2d611,_0x10bc55._0x10e9ac));function _0x52fc51(_0x334cdf,_0x27caa5){return _0x3266d5(_0x27caa5,_0x334cdf-0x120);}return _0x2de75a(_0x10bc55._0x2126b1,_0x10bc55._0x459fa8)+_0x17ee69+'-'+randomUUID()[_0x52fc51(0x128,_0x10bc55._0xc116c5)](0x0,0xa);}function sanitizeId(_0x22e791){const _0xc8a339={_0x2759ee:0x39c,_0x170fce:0xa0,_0x37edf0:0x13a,_0x4eb08d:0x80},_0x5d38fe={_0x37906b:0x591},_0xe5244a={_0x3d6d49:0x647};function _0x757047(_0x6d614f,_0x204ea8){return _0x26b3dd(_0x6d614f- -_0xe5244a._0x3d6d49,_0x204ea8);}function _0x35c110(_0x12524f,_0x209383){return _0x26b3dd(_0x209383- -_0x5d38fe._0x37906b,_0x12524f);}return _0x22e791['trim']()[_0x757047(_0xc8a339._0x2759ee,0x4a7)+_0x757047(_0xc8a339._0x170fce,0x175)]()[_0x35c110(0x21d,0x12e)](/[^a-z0-9._-]+/g,'-')[_0x35c110(0x314,0x12e)](/^-+|-+$/g,'')||_0x757047(_0xc8a339._0x37edf0,-_0xc8a339._0x4eb08d);}function readOpenClawDefaultAgentName(){function _0x24356f(_0x5d7765,_0x34ac8e){return _0x3266d5(_0x5d7765,_0x34ac8e-0x4f5);}function _0x22ea50(_0x538b7d,_0x48101d){return _0x3266d5(_0x538b7d,_0x48101d- -0x24a);}const _0x2e5739=resolveOpenClawConfigPath();if(!_0x2e5739||!existsSync(_0x2e5739))return null;try{const _0x58739c=JSON[_0x24356f(0x432,0x570)](readFileSync(_0x2e5739,_0x22ea50(0xb4,-0xe2)));return pickOpenClawDefaultAgentName(_0x58739c);}catch{return null;}}function resolveOpenClawConfigPath(){const _0xa5dd3e={_0x122451:0x1af,_0x179322:0x139,_0x2a6484:0x4f,_0x595716:0x175,_0x517c26:0xe3,_0x3667d7:0xe8,_0x17bba3:0x7a,_0x4d4ec6:0x92,_0x18805d:0x4d},_0x12e994={_0x4a9394:0xc37,_0x3f3f97:0x893},_0x21fb69={_0x41f1af:0xae},_0x2d5c25={_0x13f259:0x13},_0x1c7015={};function _0x2a3b31(_0x1f371b,_0x3a4ac8){return _0x3266d5(_0x3a4ac8,_0x1f371b- -_0x2d5c25._0x13f259);}_0x1c7015[_0x2a3b31(0x11b,-0x133)]=_0x5b820f(_0xa5dd3e._0x122451,0x2d8);function _0x5b820f(_0x42ebcd,_0x1005f5){return _0x3266d5(_0x42ebcd,_0x1005f5- -_0x21fb69._0x41f1af);}_0x1c7015[_0x5b820f(_0xa5dd3e._0x179322,-_0xa5dd3e._0x2a6484)]=_0x2a3b31(_0xa5dd3e._0x595716,_0xa5dd3e._0x517c26)+'w',_0x1c7015[_0x2a3b31(_0xa5dd3e._0x3667d7,_0xa5dd3e._0x17bba3)]=_0x2a3b31(0x107,0x1bb)+_0x5b820f(0x244,_0xa5dd3e._0x4d4ec6);const _0x503ee0=_0x1c7015,_0x4a368c=new Set(),_0x55a1b1=[homedir(),_0x503ee0[_0x5b820f(0x8e,0x80)]]['map'](_0xfbbd33=>_0xfbbd33[_0x2a3b31(0x313,0x218)]())['filter'](Boolean)['filter'](_0x5cac07=>{const _0x4ff758={_0x3ed8fc:0x44},_0x388343={_0x5cdc27:0x544};if(_0x4a368c[_0x378e11(0x982,_0x12e994._0x4a9394)](_0x5cac07))return![];_0x4a368c[_0x378e11(_0x12e994._0x3f3f97,0x7c1)](_0x5cac07);function _0x378e11(_0x3d22d4,_0xe5c34c){return _0x5b820f(_0xe5c34c,_0x3d22d4-_0x388343._0x5cdc27);}function _0x590122(_0x27977b,_0x53175b){return _0x5b820f(_0x53175b,_0x27977b- -_0x4ff758._0x3ed8fc);}return!![];});for(const _0x23e20a of _0x55a1b1){const _0x5e322e=join(_0x23e20a,_0x503ee0[_0x5b820f(-0x9f,-0x4f)],_0x503ee0[_0x5b820f(-0xe,_0xa5dd3e._0x18805d)]);if(existsSync(_0x5e322e))return _0x5e322e;}return _0x55a1b1[0x0]?join(_0x55a1b1[0x0],_0x503ee0[_0x2a3b31(0x4c,0x23e)],_0x503ee0[_0x5b820f(-0x159,0x4d)]):null;}function isDefaultAgent(_0x3b0809){const _0x38e15f={_0x4e65a5:0x2c8,_0x192585:0xaf0},_0x1d347e={_0x13524c:0x204},_0x142151={'HPbsz':function(_0x3ff11d,_0x43b2c2){return _0x3ff11d(_0x43b2c2);},'gJSPd':function(_0x452b1e,_0x336955){return _0x452b1e===_0x336955;}};function _0x3aa47f(_0x2ecb6e,_0x153297){return _0x26b3dd(_0x153297- -0x104,_0x2ecb6e);}function _0x474275(_0x5b3718,_0xd681d6){return _0x26b3dd(_0xd681d6- -_0x1d347e._0x13524c,_0x5b3718);}return _0x142151['HPbsz'](Boolean,_0x3b0809&&typeof _0x3b0809===_0x474275(0x48e,_0x38e15f._0x4e65a5)&&_0x142151[_0x3aa47f(0x4fb,0x5f9)](_0x3b0809[_0x3aa47f(_0x38e15f._0x192585,0x8ad)],!![]));}function hasAgentId(_0x42be12,_0x3c2561){const _0x38b445={};_0x38b445['CaibL']='string';const _0x577a6b=_0x38b445;return Boolean(_0x42be12&&typeof _0x42be12==='object'&&typeof _0x42be12['id']===_0x577a6b['CaibL']&&_0x42be12['id']['trim']()===_0x3c2561);}function readAgentName(_0x2d5f60){const _0xb28013={_0x3a3110:0x47b,_0x2016fe:0x78f,_0x2ed32a:0x89b,_0x2de98d:0x2d6,_0x4d797e:0x41e,_0x2cbbbb:0x69,_0x378693:0x152,_0x233963:0x179,_0x4d7d4d:0x62,_0x50a9cb:0x66,_0x1039b9:0x13a,_0x385885:0xb1,_0x403aad:0x846},_0x1ed474={_0x5ad355:0xae},_0x59e7cd={};_0x59e7cd[_0x3378bb(0x4d0,_0xb28013._0x3a3110)]=function(_0x6836dc,_0x408282){return _0x6836dc!==_0x408282;},_0x59e7cd[_0x3378bb(_0xb28013._0x2016fe,_0xb28013._0x2ed32a)]=function(_0x46acdb,_0x5cb0c9){return _0x46acdb===_0x5cb0c9;},_0x59e7cd['RwzSz']='string';const _0x52cd47=_0x59e7cd;if(!_0x2d5f60||_0x52cd47[_0x1dcdc2(-_0xb28013._0x2de98d,-0x18c)](typeof _0x2d5f60,_0x3378bb(0x614,_0xb28013._0x4d797e)))return null;const _0x153803=_0x2d5f60;function _0x1dcdc2(_0x3d2460,_0x4f16ce){return _0x26b3dd(_0x4f16ce- -0x6b5,_0x3d2460);}const _0x47c330=_0x52cd47[_0x1dcdc2(0x40e,0x294)](typeof _0x153803['identity']?.[_0x1dcdc2(_0xb28013._0x2cbbbb,-0x60)],_0x1dcdc2(0x1,_0xb28013._0x378693))?_0x153803[_0x1dcdc2(_0xb28013._0x233963,_0xb28013._0x4d7d4d)][_0x1dcdc2(-_0xb28013._0x50a9cb,-0x60)][_0x1dcdc2(-0x193,0x101)]():'';if(_0x47c330)return _0x47c330;function _0x3378bb(_0x4f366c,_0x2254ee){return _0x26b3dd(_0x2254ee- -_0x1ed474._0x5ad355,_0x4f366c);}const _0x54dd7c=typeof _0x153803[_0x3378bb(0x42d,0x5a7)]===_0x52cd47[_0x1dcdc2(-_0xb28013._0x1039b9,-_0xb28013._0x385885)]?_0x153803[_0x3378bb(_0xb28013._0x403aad,0x5a7)][_0x3378bb(0x79e,0x708)]():'';return _0x54dd7c||null;}function buildPairingQrPayload(_0x509003){const _0x23839c={_0xb0f410:0x6,_0x1e8b6d:0x74d,_0x192c38:0x1b4,_0x403a0f:0x24f,_0x4b64f9:0x1ed,_0x36b5d8:0xb4,_0x10cffe:0x13b,_0xb9abc9:0x8ef,_0x335cc7:0x114,_0x407534:0x149,_0x595396:0x3df},_0x1731a4={_0x3d05c8:0x1eb},_0x25e867={};_0x25e867['v']=0x2,_0x25e867['k']='cp',_0x25e867['s']=_0x509003[_0xa10f88(-_0x23839c._0xb0f410,0x25)],_0x25e867['g']=_0x509003[_0x38e721(0x4bf,_0x23839c._0x1e8b6d)+'d'],_0x25e867['a']=_0x509003[_0xa10f88(0x211,0x24f)+'de'],_0x25e867['rb']=0x1,_0x25e867['pv']=0x2,_0x25e867['sb']=!![];function _0x38e721(_0x48151b,_0x579380){return _0x3266d5(_0x48151b,_0x579380-0x3c8);}const _0x256cb6=_0x25e867;_0x509003[_0x38e721(0x523,0x4b6)+_0xa10f88(_0x23839c._0x192c38,0x303)]?.[_0xa10f88(0x13b,-0x16e)]()&&(_0x256cb6['n']=_0x509003[_0xa10f88(-0xfd,0x154)+_0xa10f88(0x1b4,_0x23839c._0x403a0f)][_0xa10f88(0x13b,_0x23839c._0x4b64f9)]());_0x509003[_0xa10f88(_0x23839c._0x36b5d8,-0x112)]?.[_0xa10f88(_0x23839c._0x10cffe,0x2f8)]()&&(_0x256cb6['t']=_0x509003[_0xa10f88(0xb4,-0x86)]['trim']());_0x509003[_0x38e721(_0x23839c._0xb9abc9,0x84f)]?.[_0xa10f88(0x13b,-_0x23839c._0x335cc7)]()&&(_0x256cb6['p']=_0x509003['password'][_0xa10f88(0x13b,_0x23839c._0x407534)]());function _0xa10f88(_0x44fe5c,_0x3b4e24){return _0x3266d5(_0x3b4e24,_0x44fe5c- -_0x1731a4._0x3d05c8);}return JSON[_0x38e721(0x1ed,_0x23839c._0x595396)+'y'](_0x256cb6);}function buildGatewayQrPayload(_0xcdf75d){const _0x1b597e={_0x29922f:0xbaa,_0x545dcb:0x9c9,_0x2c0636:0x83f,_0x3f88d8:0x929,_0x14b8a1:0xa14,_0x11f306:0x8cf,_0x224647:0x544,_0x3f4e35:0x722,_0x212b45:0x748,_0x1c96bc:0x7ed,_0x180d6c:0x9d5,_0x2e0e71:0x874,_0x18693f:0x8ff,_0x443ad4:0x980};function _0x8b1ae5(_0x33d214,_0x236b24){return _0x26b3dd(_0x33d214-0xbe,_0x236b24);}const _0x278312={'mDQPR':function(_0x43c583,_0x41b052){return _0x43c583(_0x41b052);},'GyloQ':function(_0x5a94fc,_0x58f3b1){return _0x5a94fc*_0x58f3b1;}},_0x15afb2=_0x278312['mDQPR'](normalizeGatewayQrUrl,_0xcdf75d[_0x8b1ae5(0x941,_0x1b597e._0x29922f)+'rl']),_0x530032={'url':_0x15afb2[_0x8b1ae5(_0x1b597e._0x545dcb,0x8c7)],'host':_0x15afb2[_0x8b1ae5(_0x1b597e._0x2c0636,_0x1b597e._0x3f88d8)],'port':_0x15afb2[_0x8b1ae5(_0x1b597e._0x14b8a1,_0x1b597e._0x11f306)],'tls':_0x15afb2['tls'],'mode':'gateway','expiresAt':_0xcdf75d['expiresA'+'t']??Date[_0x8b1ae5(0x7b0,_0x1b597e._0x224647)]()+_0x278312['GyloQ'](0xa,0x3c)*0x3e8,'qrVersion':0x2};_0xcdf75d[_0x78cf1b(0x6c1,_0x1b597e._0x3f4e35)]?.[_0x78cf1b(_0x1b597e._0x212b45,0x69f)]()&&(_0x530032[_0x78cf1b(0x6c1,0x778)]=_0xcdf75d[_0x8b1ae5(_0x1b597e._0x1c96bc,0x644)][_0x78cf1b(0x748,0x874)]());function _0x78cf1b(_0x71960a,_0x573b75){return _0x26b3dd(_0x71960a- -0x6e,_0x573b75);}return _0xcdf75d[_0x8b1ae5(_0x1b597e._0x180d6c,0xa64)]?.[_0x8b1ae5(_0x1b597e._0x2e0e71,_0x1b597e._0x18693f)]()&&(_0x530032[_0x8b1ae5(_0x1b597e._0x180d6c,0x910)]=_0xcdf75d['password'][_0x8b1ae5(0x874,_0x1b597e._0x443ad4)]()),JSON['stringif'+'y'](_0x530032);}function _0x26b3dd(_0x260171,_0x113089){return _0x47f8(_0x260171-0x324,_0x113089);}function normalizeGatewayQrUrl(_0x445989){const _0x4e33c4={_0x5d25bd:0x2fc,_0x30b403:0x3ff,_0x491a02:0x482,_0x2e6eae:0x138,_0x463f9b:0x67a,_0x1b0b4b:0xd1,_0x174960:0x1f1,_0x530903:0x471,_0x53524c:0x97e,_0x1a82fd:0x80a,_0x48bdf2:0x54f},_0x49e5bd={_0x24721a:0x66},_0x5dbd18={};_0x5dbd18['BQFJb']=function(_0x2205f2,_0xfc7ec2){return _0x2205f2===_0xfc7ec2;},_0x5dbd18[_0x2d4bc8(0x1c4,_0x4e33c4._0x5d25bd)]=_0xe319bf(_0x4e33c4._0x30b403,_0x4e33c4._0x491a02);const _0x7bb564=_0x5dbd18,_0x116fda=new URL(_0x445989[_0xe319bf(_0x4e33c4._0x2e6eae,0x38c)]());function _0xe319bf(_0x544b66,_0x5121fb){return _0x3266d5(_0x544b66,_0x5121fb-_0x49e5bd._0x24721a);}const _0x45069a=_0x7bb564['BQFJb'](_0x116fda[_0x2d4bc8(0x95,0x2d5)],_0x2d4bc8(0x3ba,_0x4e33c4._0x463f9b))||_0x116fda[_0xe319bf(_0x4e33c4._0x1b0b4b,0xdd)]==='https:',_0x153fe5=_0x45069a?_0x7bb564[_0x2d4bc8(0x78,_0x4e33c4._0x5d25bd)]:_0xe319bf(0x318,_0x4e33c4._0x174960),_0x219ddc=_0x116fda[_0xe319bf(0x61e,_0x4e33c4._0x530903)],_0x10d9ac=_0x116fda[_0x2d4bc8(_0x4e33c4._0x53524c,0x724)]?Number(_0x116fda['port']):_0x45069a?0x1bb:0x50,_0x78c033=!_0x116fda['pathname']||_0x116fda[_0xe319bf(0x22a,0x98)]===''?'/':_0x116fda[_0xe319bf(-0x1af,0x98)],_0x1b84ef={};function _0x2d4bc8(_0x16e1d5,_0x32386b){return _0x3266d5(_0x16e1d5,_0x32386b-0x25e);}return _0x1b84ef[_0xe319bf(0x649,0x4e1)]=_0x153fe5+'//'+_0x219ddc+':'+_0x10d9ac+_0x78c033,_0x1b84ef[_0x2d4bc8(_0x4e33c4._0x1a82fd,_0x4e33c4._0x48bdf2)]=_0x219ddc,_0x1b84ef[_0xe319bf(0x410,0x52c)]=_0x10d9ac,_0x1b84ef[_0xe319bf(0x2b1,0x381)]=_0x78c033,_0x1b84ef['tls']=_0x45069a,_0x1b84ef;}var DEFAULT_REGISTRY_BASE=_0x26b3dd(0x4e9,0x32c)+_0x3266d5(0x2e6,0x398)+'.clawket'+_0x3266d5(0x382,0x580),DEFAULT_REGISTRY_FALLBACK_BASE=_0x26b3dd(0x4e9,0x6b3)+'clawket-'+_0x3266d5(0x4bc,0x398)+_0x3266d5(0x5dc,0x427)+'.workers'+'.dev';async function pairGateway(_0x216d01){const _0x3cdca5={_0x3f2ee7:0x4b8,_0x32ff92:0x5c8,_0x1ebda6:0x56e,_0x45aa30:0x308,_0x146858:0x50b,_0x41f07e:0x2e3,_0x387d25:0x52d,_0xaf5e9d:0x3c0,_0x4b3f22:0x1b6,_0x191388:0x318,_0x2647f0:0x489,_0x5f4941:0x1ef,_0x3b22d7:0x1d8,_0x476f32:0x489,_0x245115:0x487,_0x1d8282:0x3f5,_0x1d7479:0x18e,_0x3ac9f7:0x63c,_0x113574:0x63f,_0x39b4d0:0x540,_0x39f949:0x2af,_0x16cebb:0x227,_0xa9ed5d:0x567,_0x228858:0x332,_0x568bb8:0x18d,_0xa5357b:0x704,_0x42753b:0x662,_0x3160e5:0x3a1,_0xb329d:0xdc,_0x49bb50:0x330,_0x18e997:0x52a,_0x1f65d3:0x327,_0x36bce5:0xa,_0x7e0854:0x101,_0x414f68:0x1b6,_0x5293f0:0x489,_0x51761e:0x2ea,_0x41e341:0x193,_0x533c71:0x3b8,_0x218265:0x1ac,_0x320df9:0x29f,_0xacda67:0x409,_0x56158c:0x284,_0x1c55b2:0x4d8,_0x523bae:0x648,_0x25a9f5:0x7f5,_0x2dc32f:0x53d,_0x1eb320:0x41f,_0x57abcc:0x46f,_0xcd79c9:0xd0,_0x19b883:0x2a1,_0x3da440:0x28c,_0x47ce24:0x286,_0x1ddf36:0x4c4,_0x1f03a9:0x1d8,_0x201149:0x27e,_0x59ee33:0x397,_0x468fee:0x8a0,_0x2c57ab:0x63c,_0xf6235c:0x522},_0x1f65f7={_0x3cb37d:0xc8},_0x1db9bb={'ckWGZ':function(_0x44f9fa,_0xce4ef7,_0x4e9577){return _0x44f9fa(_0xce4ef7,_0x4e9577);},'vunef':'POST','Gtemc':_0x3acb9f(0x467,0x330)+_0x25409d(_0x3cdca5._0x3f2ee7,0x327)},_0x242e6c=normalizeHttpBase(_0x216d01['serverUr'+'l']),_0x506e9f=readPairingConfig(),_0x29d69d=_0x1db9bb['ckWGZ'](assessPairingCompatibility,_0x506e9f,_0x242e6c);function _0x25409d(_0x2078d1,_0x5a8eae){return _0x3266d5(_0x2078d1,_0x5a8eae-_0x1f65f7._0x3cb37d);}if(_0x29d69d===_0x3acb9f(0x56a,0x4f7)+'existing'&&_0x506e9f){const _0x580934={};return _0x580934[_0x3acb9f(0x393,0x227)+'l']=_0x506e9f['serverUr'+'l'],_0x580934[_0x3acb9f(_0x3cdca5._0x32ff92,0x46f)+'d']=_0x506e9f[_0x25409d(_0x3cdca5._0x1ebda6,0x44d)+'d'],_0x580934[_0x25409d(_0x3cdca5._0x45aa30,_0x3cdca5._0x146858)+_0x3acb9f(_0x3cdca5._0x41f07e,0x3e3)]=_0x506e9f[_0x3acb9f(0x363,_0x3cdca5._0x387d25)+'ret'],_0x580934[_0x25409d(_0x3cdca5._0xaf5e9d,_0x3cdca5._0x4b3f22)+_0x3acb9f(_0x3cdca5._0x191388,_0x3cdca5._0x2647f0)]=_0x216d01[_0x3acb9f(_0x3cdca5._0x5f4941,_0x3cdca5._0x3b22d7)+_0x3acb9f(0x3c9,_0x3cdca5._0x476f32)],_0x580934[_0x3acb9f(_0x3cdca5._0x245115,_0x3cdca5._0x1d8282)+'oken']=_0x216d01[_0x3acb9f(_0x3cdca5._0x1d7479,0x3f5)+_0x3acb9f(0x266,0x22f)],_0x580934[_0x3acb9f(0x48f,_0x3cdca5._0x3ac9f7)+_0x25409d(_0x3cdca5._0x113574,0x38a)]=_0x216d01[_0x3acb9f(0x579,0x63c)+_0x3acb9f(_0x3cdca5._0x39b4d0,0x3ac)],refreshAccessCode(_0x580934);}if(_0x29d69d==='server-m'+_0x25409d(0x1c9,_0x3cdca5._0x39f949))throw new Error('This\x20bri'+'dge\x20is\x20a'+'lready\x20p'+_0x3acb9f(0x16e,0x1cb)+_0x3acb9f(0xc5,0x24c)+_0x506e9f?.[_0x3acb9f(0x16a,_0x3cdca5._0x16cebb)+'l']+('.\x20Run\x20\x22c'+_0x25409d(0x432,_0x3cdca5._0xa9ed5d)+_0x25409d(0x11c,_0x3cdca5._0x228858)+_0x25409d(0x56f,0x3e6)+_0x25409d(0x2e5,0x529)+_0x3acb9f(_0x3cdca5._0x568bb8,0x281)+_0x25409d(_0x3cdca5._0xa5357b,0x5f5)+_0x25409d(0x4f3,0x406)));function _0x3acb9f(_0x74f36d,_0x5a2729){return _0x3266d5(_0x74f36d,_0x5a2729-0xea);}const _0x7c14eb=await postJsonWithCloudflareFallback(_0x242e6c+(_0x3acb9f(0x93,0x202)+'/registe'+'r'),{'method':_0x1db9bb[_0x3acb9f(_0x3cdca5._0x42753b,0x3b4)],'headers':{'content-type':_0x1db9bb[_0x3acb9f(_0x3cdca5._0x3160e5,0x606)],'accept':_0x3acb9f(_0x3cdca5._0xb329d,_0x3cdca5._0x49bb50)+_0x25409d(_0x3cdca5._0x18e997,_0x3cdca5._0x1f65d3)},'body':JSON[_0x3acb9f(_0x3cdca5._0x36bce5,_0x3cdca5._0x7e0854)+'y']({'displayName':_0x216d01[_0x25409d(0x32c,_0x3cdca5._0x414f68)+_0x3acb9f(0x6ea,_0x3cdca5._0x5293f0)]?.[_0x3acb9f(0x534,0x410)]()||null})});if(!_0x7c14eb[_0x25409d(_0x3cdca5._0x51761e,0x218)]['ok'])throw await buildPairingRequestError(_0x25409d(0x364,0x418)+_0x25409d(_0x3cdca5._0x41e341,_0x3cdca5._0x533c71),_0x7c14eb);const _0x109e35=await _0x7c14eb[_0x25409d(-0x7c,0x218)][_0x3acb9f(_0x3cdca5._0x218265,0x3df)](),_0x5747d5=new Date()['toISOStr'+_0x3acb9f(_0x3cdca5._0x320df9,0x2e0)](),_0x39a331={'serverUrl':_0x242e6c,'gatewayId':_0x109e35['gatewayI'+'d'],'relaySecret':_0x109e35[_0x25409d(_0x3cdca5._0xacda67,0x50b)+'ret'],'relayUrl':_0x109e35[_0x25409d(0x3a3,_0x3cdca5._0x56158c)],'instanceId':_0x506e9f?.[_0x3acb9f(_0x3cdca5._0x1c55b2,_0x3cdca5._0x523bae)+'Id']??_0x25409d(_0x3cdca5._0x25a9f5,_0x3cdca5._0x2dc32f)+_0x109e35[_0x3acb9f(_0x3cdca5._0x1eb320,_0x3cdca5._0x57abcc)+'d'][_0x25409d(-0x8d,_0x3cdca5._0xcd79c9)](-0xa),'displayName':_0x109e35[_0x3acb9f(_0x3cdca5._0x19b883,0x1d8)+_0x25409d(0x208,0x467)],'createdAt':_0x5747d5,'updatedAt':_0x5747d5};return writePairingConfig(_0x39a331),{'config':_0x39a331,'accessCode':_0x109e35['accessCo'+'de'],'accessCodeExpiresAt':_0x109e35[_0x3acb9f(0x5b3,0x4e6)+'deExpire'+_0x3acb9f(0x1c9,_0x3cdca5._0x3da440)],'action':_0x25409d(0x453,_0x3cdca5._0x47ce24)+'ed','qrPayload':buildPairingQrPayload({'server':_0x242e6c,'gatewayId':_0x109e35[_0x3acb9f(0x3f0,_0x3cdca5._0x57abcc)+'d'],'accessCode':_0x109e35[_0x25409d(0x2b4,_0x3cdca5._0x1ddf36)+'de'],'displayName':_0x109e35[_0x3acb9f(-0xb3,_0x3cdca5._0x1f03a9)+_0x3acb9f(_0x3cdca5._0x201149,0x489)],'token':_0x216d01['gatewayT'+'oken']?.[_0x3acb9f(_0x3cdca5._0x59ee33,0x410)]()||null,'password':_0x216d01[_0x3acb9f(_0x3cdca5._0x468fee,_0x3cdca5._0x2c57ab)+'assword']?.[_0x25409d(_0x3cdca5._0xf6235c,0x3ee)]()||null})};}async function refreshAccessCode(_0x15ba7f){const _0xec5030={_0x3d2464:0x408,_0x1ece4c:0xda,_0x46c644:0xb9,_0x310f9f:0x57d,_0x5f05a9:0x343,_0x3364d5:0x2d5,_0x251c06:0x26b,_0x259181:0x171,_0x4d6309:0x320,_0x2c9baf:0x1f9,_0xdb98bc:0x360,_0x4b3b84:0xc,_0x46960f:0x8ac,_0x30d500:0x1b8,_0x4677b9:0x506,_0x195910:0x2d7,_0x51fbd6:0x1b8,_0x25739d:0x799,_0x57e747:0x342,_0x1722c4:0x483,_0xc5cd17:0x61b,_0x7cc463:0x416,_0x58ad8c:0x2be,_0x3c81a4:0x369,_0x996361:0x311,_0x1a7e00:0x5cd,_0xd0e6fc:0x2b6,_0x2bb5e7:0x4a5,_0x584935:0x297,_0x2cabd6:0xc2,_0x4dc8c2:0x42a,_0x146633:0x12e,_0x42bfe2:0x3e7,_0x8ba7c4:0x2f7,_0x2b84db:0x71,_0x58a3b4:0x20c,_0x39144f:0xa6e,_0x269428:0x7be,_0x3f8998:0x6d1,_0x5a87b7:0x114,_0x290339:0x36e,_0x507617:0x646,_0x247116:0x6d3,_0x29367e:0x5b2,_0x586712:0x432,_0x15ca92:0x298,_0x40ca2b:0x4c4,_0x37ea54:0x644},_0x193300={_0x5c92a2:0x2a7},_0x469f54={'AnybB':function(_0x21100){return _0x21100();},'IHTEq':function(_0x2cf11c,_0x5b16f4,_0x463012){return _0x2cf11c(_0x5b16f4,_0x463012);},'RVMIe':_0x454390(_0xec5030._0x3d2464,0x1d3)},_0x38b29c=_0x469f54['AnybB'](readPairingConfig),_0x4dc99e=normalizeHttpBase(_0x15ba7f?.[_0x454390(_0xec5030._0x1ece4c,0xaf)+'l']??_0x38b29c?.[_0x454390(_0xec5030._0x46c644,0xaf)+'l']??''),_0x2ab8e1=_0x15ba7f?.[_0x454390(_0xec5030._0x310f9f,0x2f7)+'d']??_0x38b29c?.[_0x454390(0x383,0x2f7)+'d']??'',_0x2749f1=_0x15ba7f?.['relaySec'+_0x454390(_0xec5030._0x5f05a9,0x26b)]??_0x38b29c?.['relaySec'+_0x454390(_0xec5030._0x3364d5,_0xec5030._0x251c06)]??'';if(!_0x4dc99e||!_0x2ab8e1||!_0x2749f1)throw new Error(_0x454390(_0xec5030._0x259181,0x39)+_0xf8db93(0x406,_0xec5030._0x4d6309)+_0x454390(_0xec5030._0x2c9baf,_0xec5030._0xdb98bc)+_0x454390(_0xec5030._0x4b3b84,0x72)+'ir\x20first'+'.');const _0x4e06ae={};_0x4e06ae['content-'+_0xf8db93(_0xec5030._0x46960f,0x7e9)]=_0x454390(0x79,_0xec5030._0x30d500)+_0xf8db93(0x739,_0xec5030._0x4677b9);function _0x454390(_0x1095ae,_0x43e4b9){return _0x3266d5(_0x1095ae,_0x43e4b9- -0x8e);}_0x4e06ae[_0xf8db93(0x513,0x582)]=_0x454390(_0xec5030._0x195910,_0xec5030._0x51fbd6)+_0xf8db93(_0xec5030._0x25739d,_0xec5030._0x4677b9);const _0x49c6a1=await _0x469f54[_0x454390(0x1d0,_0xec5030._0x57e747)](postJsonWithCloudflareFallback,_0x4dc99e+('/v1/pair'+_0x454390(0x582,_0xec5030._0x1722c4)+_0xf8db93(_0xec5030._0xc5cd17,0x442)),{'method':_0x469f54[_0x454390(-0xc3,0x8e)],'headers':_0x4e06ae,'body':JSON[_0xf8db93(_0xec5030._0x7cc463,_0xec5030._0x58ad8c)+'y']({'gatewayId':_0x2ab8e1,'relaySecret':_0x2749f1,'displayName':_0x15ba7f?.[_0x454390(0x249,0x60)+_0x454390(_0xec5030._0x3c81a4,_0xec5030._0x996361)]?.[_0xf8db93(0x4ff,_0xec5030._0x1a7e00)]()||void 0x0})});function _0xf8db93(_0x10ac0f,_0x1052d7){return _0x3266d5(_0x10ac0f,_0x1052d7-_0x193300._0x5c92a2);}if(!_0x49c6a1['response']['ok'])throw await buildPairingRequestError('Access\x20c'+'ode\x20refr'+_0x454390(_0xec5030._0xd0e6fc,_0xec5030._0x2bb5e7),_0x49c6a1);const _0x3f98b2=await _0x49c6a1[_0x454390(_0xec5030._0x584935,_0xec5030._0x2cabd6)][_0xf8db93(_0xec5030._0x4dc8c2,0x59c)](),_0x478397={'serverUrl':_0x4dc99e,'gatewayId':_0x3f98b2['gatewayI'+'d'],'relaySecret':_0x2749f1,'relayUrl':_0x3f98b2[_0x454390(0x1af,_0xec5030._0x146633)],'instanceId':_0x38b29c?.[_0xf8db93(0x8eb,0x805)+'Id']??_0x454390(0x2c0,_0xec5030._0x42bfe2)+_0x3f98b2[_0x454390(0x351,_0xec5030._0x8ba7c4)+'d'][_0xf8db93(_0xec5030._0x2b84db,0x2af)](-0xa),'displayName':_0x3f98b2['displayN'+_0x454390(_0xec5030._0x58a3b4,_0xec5030._0x996361)],'createdAt':_0x38b29c?.[_0xf8db93(_0xec5030._0x39144f,_0xec5030._0x269428)+'t']??new Date()[_0xf8db93(_0xec5030._0x3f8998,0x655)+_0xf8db93(0x54a,0x49d)](),'updatedAt':new Date()[_0xf8db93(0x6bb,0x655)+_0xf8db93(0x5ef,0x49d)]()};return writePairingConfig(_0x478397),{'config':_0x478397,'accessCode':_0x3f98b2[_0x454390(0x3af,0x36e)+'de'],'accessCodeExpiresAt':_0x3f98b2[_0xf8db93(0x4b4,0x6a3)+'deExpire'+_0x454390(0x9c,_0xec5030._0x5a87b7)],'action':_0x454390(0x2f0,0x462)+'d','qrPayload':buildPairingQrPayload({'server':_0x4dc99e,'gatewayId':_0x3f98b2['gatewayI'+'d'],'accessCode':_0x3f98b2[_0x454390(0x422,_0xec5030._0x290339)+'de'],'displayName':_0x3f98b2[_0xf8db93(0x21a,0x395)+_0xf8db93(0x391,_0xec5030._0x507617)],'token':_0x15ba7f?.[_0xf8db93(_0xec5030._0x247116,_0xec5030._0x29367e)+'oken']?.[_0x454390(_0xec5030._0x586712,_0xec5030._0x15ca92)]()||null,'password':_0x15ba7f?.[_0x454390(0x6a6,_0xec5030._0x40ca2b)+_0x454390(0x37,0x234)]?.[_0xf8db93(_0xec5030._0x37ea54,_0xec5030._0x1a7e00)]()||null})};}function normalizeHttpBase(_0x4ec5a3){const _0x1ff66c={_0x2c9369:0xb6,_0x4e767e:0x228,_0x3d6ccf:0x5c5,_0x524f0e:0x52a,_0x21ba41:0x619,_0x258c02:0x1f2,_0x3fa5db:0x402,_0x2fc250:0x6a5,_0x31f15a:0x61d,_0x1c133d:0x1de,_0x9cab7c:0xf3,_0x386147:0x390,_0x302f81:0x618,_0x893232:0x72d,_0x1d495a:0x349,_0x4cf407:0xd5,_0x118952:0x250,_0x58be18:0x22f,_0x18ed3a:0x460,_0x331db3:0x474,_0x236cd5:0x75,_0x23f8b5:0x20a,_0x38c443:0x4aa,_0x451563:0x522},_0x1a16b6={_0x7004cd:0x237},_0x13b5c7={_0x54f223:0x2f3};function _0x38f1e7(_0x12bc96,_0x96dff7){return _0x3266d5(_0x12bc96,_0x96dff7-_0x13b5c7._0x54f223);}const _0x34bbe1={};_0x34bbe1['IKFtI']='http://',_0x34bbe1[_0x375926(-_0x1ff66c._0x2c9369,-_0x1ff66c._0x4e767e)]=_0x38f1e7(_0x1ff66c._0x3d6ccf,0x5ff);const _0x481805=_0x34bbe1,_0x1950b8=_0x4ec5a3[_0x38f1e7(_0x1ff66c._0x524f0e,_0x1ff66c._0x21ba41)]();if(!_0x1950b8)return'';function _0x375926(_0x190e6d,_0x20a351){return _0x3266d5(_0x20a351,_0x190e6d- -_0x1a16b6._0x7004cd);}if(_0x1950b8['startsWi'+'th'](_0x481805[_0x375926(-_0x1ff66c._0x258c02,-_0x1ff66c._0x3fa5db)])||_0x1950b8[_0x38f1e7(_0x1ff66c._0x2fc250,_0x1ff66c._0x31f15a)+'th'](_0x375926(-_0x1ff66c._0x1c133d,-0x9e)))return _0x1950b8[_0x38f1e7(0x2f8,0x522)](/\/+$/,'');if(_0x1950b8[_0x375926(_0x1ff66c._0x9cab7c,0xc6)+'th'](_0x375926(-0x155,-0x21e)))return(_0x38f1e7(0x366,_0x1ff66c._0x386147)+_0x1950b8[_0x375926(-0x22f,-0xf8)](_0x38f1e7(0x290,0x3d5)[_0x38f1e7(_0x1ff66c._0x302f81,_0x1ff66c._0x893232)]))[_0x38f1e7(_0x1ff66c._0x1d495a,0x522)](/\/+$/,'');if(_0x1950b8[_0x375926(_0x1ff66c._0x9cab7c,0x30e)+'th'](_0x375926(_0x1ff66c._0x4cf407,_0x1ff66c._0x118952)))return(_0x38f1e7(0x533,0x34c)+_0x1950b8[_0x375926(-_0x1ff66c._0x58be18,-_0x1ff66c._0x18ed3a)](_0x481805[_0x38f1e7(0x334,_0x1ff66c._0x331db3)][_0x375926(0x203,_0x1ff66c._0x236cd5)]))[_0x375926(-0x8,-_0x1ff66c._0x23f8b5)](/\/+$/,'');return('https://'+_0x1950b8)[_0x38f1e7(_0x1ff66c._0x38c443,_0x1ff66c._0x451563)](/\/+$/,'');}function assessPairingCompatibility(_0x3ca2bf,_0x4c0db2){const _0x18bcf9={_0x3d2178:0x350,_0x11f61e:0x49c,_0x7a0256:0x6d5,_0x1ed6c8:0x61b,_0x325a15:0x3e1},_0x3f0ce3={_0x3e47b5:0x277},_0x15dede={};_0x15dede['pjTvK']='refresh-'+'existing',_0x15dede[_0x3a821c(0x7e1,0x61c)]='server-m'+'ismatch';const _0x5e07bd=_0x15dede;function _0x3a821c(_0x598bd8,_0x5d85ab){return _0x26b3dd(_0x5d85ab- -0x276,_0x598bd8);}if(!_0x3ca2bf)return'register'+_0x3a821c(0x3ba,_0x18bcf9._0x3d2178);function _0x21a7ed(_0x14d97e,_0x2e387e){return _0x26b3dd(_0x14d97e- -_0x3f0ce3._0x3e47b5,_0x2e387e);}if(_0x3ca2bf[_0x3a821c(0x20b,0x357)+'l']===_0x4c0db2)return _0x5e07bd[_0x21a7ed(_0x18bcf9._0x11f61e,_0x18bcf9._0x7a0256)];return _0x5e07bd[_0x21a7ed(_0x18bcf9._0x1ed6c8,_0x18bcf9._0x325a15)];}async function postJsonWithCloudflareFallback(_0x268ffd,_0x568ab4){const _0x355c75={_0xa5db81:0x4cb},_0x4f45d3={_0x2c9e47:0x6fc},_0x5b91df={_0x1e7c78:0x23};function _0x37865c(_0x51a283,_0x1898a0){return _0x26b3dd(_0x1898a0-_0x5b91df._0x1e7c78,_0x51a283);}const _0x36a7c2=await fetch(_0x268ffd,_0x568ab4),_0x33e61f=resolveCloudflareChallengeFallbackUrl(_0x268ffd,_0x36a7c2);if(!_0x33e61f){const _0xf044b1={};return _0xf044b1[_0x14b66e(-0x357,-0x11c)]=_0x36a7c2,_0xf044b1[_0x37865c(_0x355c75._0xa5db81,0x72e)+_0x37865c(0x24b,0x4db)]=_0x268ffd,_0xf044b1['fallback'+'Url']=null,_0xf044b1;}function _0x14b66e(_0x3f6514,_0x134d9b){return _0x26b3dd(_0x134d9b- -_0x4f45d3._0x2c9e47,_0x3f6514);}return{'response':await fetch(_0x33e61f,_0x568ab4),'attemptedUrl':_0x268ffd,'fallbackUrl':_0x33e61f};}async function buildPairingRequestError(_0x5d944b,_0xba1ee1){const _0x113566={_0x4cfc91:0x36,_0x5964f7:0x118,_0x1cae79:0x895,_0x345184:0x31a,_0x2b5bc2:0x895,_0x3a3143:0x828,_0x30dd98:0xa1f,_0xbb8b71:0x1e,_0x2ac6d6:0x1cc,_0x3ba1a5:0x860,_0x4b6e7d:0x188,_0x4bdccb:0xae,_0x144983:0x953,_0x47c342:0xb8e,_0x537a32:0x128,_0x326c65:0x9eb,_0x16b832:0x369,_0x5b096f:0x731,_0x432305:0x67d,_0x326efe:0x375,_0x1e9541:0x17a,_0x42afb2:0x7a8,_0x17ed02:0x56f,_0x52b4f9:0x72f,_0x98ce99:0x35,_0x2df4b6:0x133,_0x449edd:0x547,_0x14172f:0x37,_0x10375e:0x3c,_0xf5265:0xa9c,_0x116077:0x284,_0x701178:0x102,_0x2fbde3:0x220,_0x36725e:0x1c5,_0x1874e5:0xa01,_0x2c4341:0x104,_0x154adb:0x1ad,_0x498d07:0x128,_0x62b593:0x41f,_0x5ad248:0x1a1,_0x12c08f:0x70e,_0x20cdb7:0x79d,_0x3c5f2f:0x7c6,_0x4ec356:0x917},_0x28089d={'KDPJf':function(_0x1ddfe3,_0x2680a3){return _0x1ddfe3(_0x2680a3);},'VrXzG':function(_0x23a299,_0x207eb4){return _0x23a299(_0x207eb4);}};function _0x4505fe(_0x5636f4,_0x361552){return _0x26b3dd(_0x361552- -0x6e4,_0x5636f4);}function _0x35c39f(_0x400b90,_0x1485b0){return _0x26b3dd(_0x400b90-0xb3,_0x1485b0);}if(_0x28089d[_0x4505fe(-_0x113566._0x4cfc91,-_0x113566._0x5964f7)](isCloudflareChallengeResponse,_0xba1ee1[_0x35c39f(0x693,0x7b6)])){const _0x2c5453=new URL(_0xba1ee1['fallback'+_0x35c39f(_0x113566._0x1cae79,0x8c3)]??_0xba1ee1['attempte'+'dUrl'])['origin'],_0x504d60=_0xba1ee1[_0x4505fe(-_0x113566._0x345184,-0x193)+_0x35c39f(_0x113566._0x2b5bc2,_0x113566._0x3a3143)]?_0x35c39f(0xa8e,_0x113566._0x30dd98)+'ic\x20fallb'+_0x4505fe(-0x24a,-_0x113566._0xbb8b71)+_0xba1ee1[_0x4505fe(-_0x113566._0x2ac6d6,-0x193)+_0x35c39f(0x895,_0x113566._0x3ba1a5)]+(_0x4505fe(-_0x113566._0x4b6e7d,_0x113566._0x4bdccb)+'t\x20a\x20Clou'+_0x35c39f(_0x113566._0x144983,_0x113566._0x47c342)+'hallenge'+'.'):'';return new Error(_0x5d944b+(_0x4505fe(0x470,0x26a)+'(')+_0xba1ee1['response'][_0x4505fe(0x13f,_0x113566._0x537a32)]+(_0x35c39f(_0x113566._0x326c65,0x7ee)+_0x4505fe(-_0x113566._0x16b832,-0xc3)+'allenge\x20'+_0x35c39f(_0x113566._0x5b096f,_0x113566._0x432305)+_0x4505fe(0x398,0x12a)+_0x4505fe(-_0x113566._0x326efe,-_0x113566._0x1e9541)+'\x20at\x20')+_0x2c5453+'.'+_0x504d60+('\x20Retry\x20f'+_0x35c39f(0x9ed,_0x113566._0x42afb2)+_0x35c39f(_0x113566._0x17ed02,_0x113566._0x52b4f9)+_0x4505fe(-_0x113566._0x98ce99,-_0x113566._0x2df4b6)+_0x35c39f(0x58b,_0x113566._0x449edd)+_0x4505fe(-_0x113566._0x14172f,-_0x113566._0x10375e)+'y\x20endpoi'+_0x35c39f(_0x113566._0xf5265,0x7e6)+_0x4505fe(0x522,_0x113566._0x116077)+'\x20require'+_0x4505fe(_0x113566._0x701178,_0x113566._0x2fbde3)+_0x4505fe(-_0x113566._0x36725e,-0x27)+'ation.'));}return new Error(_0x5d944b+(_0x35c39f(_0x113566._0x1874e5,0xa76)+'(')+_0xba1ee1[_0x4505fe(-0x16d,-_0x113566._0x2c4341)][_0x4505fe(_0x113566._0x154adb,_0x113566._0x498d07)]+_0x4505fe(-_0x113566._0x62b593,-_0x113566._0x5ad248)+_0x28089d[_0x35c39f(_0x113566._0x12c08f,_0x113566._0x20cdb7)](summarizeFailedResponse,await _0xba1ee1[_0x35c39f(0x693,_0x113566._0x3c5f2f)][_0x35c39f(0x7da,_0x113566._0x4ec356)]()));}function isCloudflareChallengeResponse(_0x67f2d5){const _0x423bab={_0x106a8c:0x255,_0x3ed211:0xaa0,_0x24c82c:0x867,_0x4b4016:0x99a,_0x4e2435:0x4b3,_0x5f224b:0x39f,_0x10ecdc:0x906};function _0x433c68(_0x1c0c9d,_0x9f94f3){return _0x3266d5(_0x1c0c9d,_0x9f94f3-0x148);}const _0x191693={};function _0x45c622(_0x547981,_0x106535){return _0x3266d5(_0x547981,_0x106535-0x447);}_0x191693['hvPdD']=_0x433c68(0x7de,0x574)+'e';const _0x41ce32=_0x191693;return _0x67f2d5['status']===0x193&&_0x67f2d5[_0x45c622(0x850,0x8c7)][_0x433c68(_0x423bab._0x106a8c,0x49b)](_0x45c622(0x6e8,0x6a0)+_0x45c622(_0x423bab._0x3ed211,_0x423bab._0x24c82c))?.[_0x45c622(0x60b,0x76d)]()[_0x45c622(0x8d4,_0x423bab._0x4b4016)+_0x433c68(_0x423bab._0x4e2435,_0x423bab._0x5f224b)]()===_0x41ce32[_0x45c622(0x6de,_0x423bab._0x10ecdc)];}function resolveCloudflareChallengeFallbackUrl(_0x51ee0c,_0x3a5dca){const _0x4187ee={_0x5970f9:0x601,_0x41a369:0x394,_0x59ca38:0x492,_0x4d5748:0x39c,_0x2a4de0:0x81e},_0x322f91={};_0x322f91['JtwbK']=function(_0x5128c6,_0x178b39){return _0x5128c6!==_0x178b39;};function _0x303ea2(_0x20f603,_0x48e808){return _0x26b3dd(_0x20f603- -0x30,_0x48e808);}const _0xa79678=_0x322f91;if(!isCloudflareChallengeResponse(_0x3a5dca))return null;const _0x13f17d=new URL(_0x51ee0c);if(_0xa79678[_0x32c612(_0x4187ee._0x5970f9,_0x4187ee._0x41a369)](_0x13f17d['origin'],DEFAULT_REGISTRY_BASE))return null;function _0x32c612(_0x231fb8,_0x4952d8){return _0x26b3dd(_0x4952d8- -0x164,_0x231fb8);}return''+DEFAULT_REGISTRY_FALLBACK_BASE+_0x13f17d[_0x303ea2(_0x4187ee._0x59ca38,_0x4187ee._0x4d5748)]+_0x13f17d[_0x32c612(_0x4187ee._0x2a4de0,0x7b8)];}function summarizeFailedResponse(_0x1caacd){const _0x18e058={_0x2c5c36:0x8b0,_0x55bc4f:0xcf,_0x393511:0x589,_0x1ddb4a:0x2b4,_0x5b846f:0x597,_0x320a0d:0x7f1,_0x169564:0x367,_0x1c4fe8:0x3cd,_0x21bb51:0x370,_0x5179fe:0x90,_0x5725ce:0x1c3},_0x10ae24={_0x6b583b:0x128},_0x54a7c0={};_0x54a7c0[_0x31c2de(_0x18e058._0x2c5c36,0xabb)]=_0x52ef76(0xb8,_0x18e058._0x55bc4f)+_0x31c2de(_0x18e058._0x393511,0x34a)+_0x31c2de(0x574,0x36d);function _0x52ef76(_0x1ba65c,_0x4153c4){return _0x26b3dd(_0x1ba65c- -0x671,_0x4153c4);}_0x54a7c0[_0x31c2de(0x3cd,_0x18e058._0x1ddb4a)]=function(_0x4dbfe7,_0x1d87e0){return _0x4dbfe7<=_0x1d87e0;};const _0x4da31a=_0x54a7c0;function _0x31c2de(_0x96c2d5,_0x482ea3){return _0x26b3dd(_0x96c2d5- -_0x10ae24._0x6b583b,_0x482ea3);}const _0x39aad9=_0x1caacd[_0x31c2de(_0x18e058._0x5b846f,_0x18e058._0x320a0d)](/\s+/g,'\x20')[_0x52ef76(0x145,-0x8e)]();if(!_0x39aad9)return _0x4da31a[_0x52ef76(_0x18e058._0x169564,0x1b4)];if(_0x4da31a[_0x31c2de(_0x18e058._0x1c4fe8,0x40b)](_0x39aad9[_0x52ef76(0x259,0x36f)],0xf0))return _0x39aad9;return _0x39aad9[_0x31c2de(_0x18e058._0x21bb51,0x378)](0x0,0xed)+_0x52ef76(-_0x18e058._0x5179fe,-_0x18e058._0x5725ce);}import{execFileSync,spawn}from'child_process';import{chmodSync,closeSync,existsSync as _0x3e4d20,mkdirSync as _0x28c50d,openSync,readFileSync as _0x156eb6,realpathSync,rmSync as _0x4763ae,writeFileSync as _0x242f96}from'fs';import{homedir as _0x13f146}from'os';import{dirname,join as _0xec9618}from'path';import{setTimeout as _0x3f83ac}from'timers/promises';var SERVICE_LABEL=_0x3266d5(0x2c1,0x2b8)+_0x3266d5(0xcf,0x1f0)+'e.cli',SYSTEMD_UNIT_NAME=SERVICE_LABEL+_0x3266d5(0x123,0x3e3),WINDOWS_RUN_KEY=_0x26b3dd(0x722,0x613)+_0x26b3dd(0x977,0x84c),SERVICE_DIR=_0xec9618(_0x13f146(),_0x3266d5(0x5c6,0x427)),LOG_DIR=_0xec9618(SERVICE_DIR,_0x26b3dd(0x52b,0x4b3)),SERVICE_STATE_PATH=_0xec9618(SERVICE_DIR,_0x26b3dd(0x514,0x71d)+_0x26b3dd(0x8b5,0x7b8)+_0x3266d5(0x316,0x6d)),RUNTIME_REGISTRY_PATH=_0xec9618(SERVICE_DIR,'bridge-r'+'untime-p'+_0x26b3dd(0x925,0x74b)+_0x26b3dd(0x5d0,0x4de)),SERVICE_LAUNCHER_PATH=_0xec9618(SERVICE_DIR,'clawket-'+_0x26b3dd(0x705,0x72e)+'.sh'),LINUX_CRON_RECORD_PATH=_0xec9618(SERVICE_DIR,'bridge-s'+'ervice.c'+_0x3266d5(0x68,0x248)),SERVICE_LOG_PATH=_0xec9618(LOG_DIR,'bridge-c'+'li.log'),SERVICE_ERROR_LOG_PATH=_0xec9618(LOG_DIR,_0x3266d5(0x41a,0x44c)+_0x3266d5(0x15a,0x230)+'.log'),MACOS_PLIST_PATH=_0xec9618(_0x13f146(),_0x26b3dd(0x4e6,0x610),_0x3266d5(-0x4,0x2af)+_0x3266d5(0x5ee,0x34a),SERVICE_LABEL+_0x26b3dd(0x5b7,0x830)),LINUX_SERVICE_PATH=_0xec9618(_0x13f146(),'.config',_0x3266d5(0xbd,0x1a),'user',SYSTEMD_UNIT_NAME),LINUX_CRON_MARKER=_0x3266d5(0x6dc,0x506)+_0x3266d5(0x1f4,0x185)+_0x3266d5(-0x5d,0x14f);function getServiceProgramArgs(_0x286cc2={},_0x5529e2=process[_0x26b3dd(0x965,0x7c2)]){const _0x38ecbc={_0x134dfa:0x2c3,_0x3b0c2f:0x4a1,_0x1a7240:0x5ec,_0x30d63b:0x6b1,_0x4dde31:0x893,_0xe087a7:0x7cd,_0x386895:0x58b,_0x373530:0x575,_0x20a573:0x828,_0x47d7e2:0xa82,_0x1d5125:0x50f,_0x21b9ec:0x2cc,_0x4c017b:0x757,_0x38919d:0x513,_0x538601:0x8ac,_0x506de7:0x68d},_0x32da37={'FACYz':'Unable\x20t'+'o\x20resolv'+_0xdbdbc8(0x4a8,0x64d)+'ript\x20pat'+_0xdbdbc8(0x587,0x36f)+_0x3c201a(0x46d,0x4f3)+_0x3c201a(_0x38ecbc._0x134dfa,_0x38ecbc._0x3b0c2f)+_0x3c201a(0x7a0,_0x38ecbc._0x1a7240),'sFojM':function(_0x490d55,_0x297b6a){return _0x490d55!==_0x297b6a;},'sMTJG':_0x3c201a(_0x38ecbc._0x30d63b,0x874),'odgfQ':function(_0x1426af,_0x3864e7){return _0x1426af(_0x3864e7);},'vXhUe':function(_0x106f0a,_0x5efbf7,_0x9e9b51){return _0x106f0a(_0x5efbf7,_0x9e9b51);},'YszkQ':'--servic'+'e'};function _0xdbdbc8(_0x5001a4,_0x328495){return _0x26b3dd(_0x5001a4- -0x79,_0x328495);}function _0x3c201a(_0x328610,_0xf871c7){return _0x26b3dd(_0xf871c7- -0x4b,_0x328610);}const _0x3d2e05=_0x286cc2['nodePath']?.[_0x3c201a(0x730,0x76b)]()||process[_0xdbdbc8(_0x38ecbc._0x4dde31,_0x38ecbc._0xe087a7)],_0x157e78=resolveScriptPath(_0x286cc2['scriptPa'+'th']);if(!_0x157e78)throw new Error(_0x32da37[_0x3c201a(0x4f9,_0x38ecbc._0x386895)]);if(_0x32da37[_0x3c201a(0xa1e,0x907)](_0x5529e2,_0x32da37['sMTJG'])){const _0x2b697d={};_0x2b697d[_0xdbdbc8(0x59d,_0x38ecbc._0x373530)]=_0x3d2e05,_0x2b697d[_0xdbdbc8(_0x38ecbc._0x20a573,_0x38ecbc._0x47d7e2)+'th']=_0x157e78,_0x2b697d[_0xdbdbc8(_0x38ecbc._0x1d5125,_0x38ecbc._0x21b9ec)]=process.env.PATH??'';const _0x590928=_0x32da37['odgfQ'](writeServiceLauncher,_0x2b697d);return _0x32da37[_0xdbdbc8(_0x38ecbc._0x4c017b,_0x38ecbc._0x38919d)](ensureLaunchScriptExecutable,_0x590928,_0x5529e2),[_0x590928];}return[_0x3d2e05,_0x157e78,_0x3c201a(0x737,_0x38ecbc._0x538601),_0x32da37[_0xdbdbc8(_0x38ecbc._0x506de7,0x87c)]];}function getServiceStatus(){const _0x1f8d97={_0x41b1e5:0x2ad,_0x220055:0x34b,_0x443d1e:0x207,_0x2b587a:0x55f,_0x29095a:0x341,_0x460f1a:0xf7,_0x285c72:0x55f,_0x2d332d:0x422,_0x30efe2:0xc7,_0x3eeda8:0x27f,_0x12e94e:0xf5,_0x5a1691:0x344,_0x41d278:0x2af,_0x265440:0x68f,_0x303331:0x1d9,_0x455288:0x426,_0x3d001e:0x572,_0x5ce040:0x1fb,_0x2ac454:0x381,_0x1b58e9:0x24f,_0x2a3ec2:0xf3},_0xde53b0={_0x2b47b9:0x166},_0x3f55a2={_0x4ec419:0xb5};function _0x4526f6(_0xccdded,_0x165739){return _0x3266d5(_0x165739,_0xccdded- -_0x3f55a2._0x4ec419);}const _0x4a4921={'WNnoo':function(_0x4786a7){return _0x4786a7();},'rcMJy':function(_0x5b923b){return _0x5b923b();},'rJRBC':function(_0x560a98,_0x3ca4f9){return _0x560a98(_0x3ca4f9);},'KUCIM':_0x4526f6(0x1d4,0x4d)+'l','KMEXA':_0x11016e(0x63f,0x3bb)+'e'};_0x4a4921[_0x11016e(0x39f,0x421)](ensureServiceDirs);const _0x405f4a=_0x4a4921[_0x11016e(0x388,_0x1f8d97._0x41b1e5)](readServiceState)?.[_0x11016e(0x566,0x471)]??null,_0x285047=detectServiceMethod();function _0x11016e(_0x5c21d9,_0x1b28c5){return _0x3266d5(_0x1b28c5,_0x5c21d9-_0xde53b0._0x2b47b9);}const _0x246e82={'installed':![],'running':_0x405f4a!=null&&_0x4a4921[_0x11016e(0x5c9,0x60b)](isPidRunning,_0x405f4a),'method':_0x285047,'servicePath':getServicePath(_0x285047),'logPath':SERVICE_LOG_PATH,'errorLogPath':SERVICE_ERROR_LOG_PATH,'pid':_0x405f4a};_0x246e82[_0x4526f6(_0x1f8d97._0x220055,_0x1f8d97._0x443d1e)]!=null&&!_0x246e82[_0x11016e(_0x1f8d97._0x2b587a,0x4d6)]&&(clearServiceState(_0x246e82[_0x11016e(0x566,_0x1f8d97._0x29095a)]),_0x246e82[_0x11016e(0x566,0x6bf)]=null);switch(_0x246e82[_0x11016e(0x431,0x421)]){case'launchag'+_0x4526f6(0x13a,-_0x1f8d97._0x460f1a):_0x246e82['installe'+'d']=_0x3e4d20(MACOS_PLIST_PATH);_0x246e82['installe'+'d']&&(_0x246e82[_0x11016e(_0x1f8d97._0x285c72,0x752)]=commandSucceeds(_0x11016e(0x5f1,0x514)+'l',['list',SERVICE_LABEL])||_0x246e82['running']);return _0x246e82;case'systemd-'+_0x11016e(_0x1f8d97._0x2d332d,0x2af):_0x246e82[_0x11016e(0x1f3,_0x1f8d97._0x30efe2)+'d']=_0x3e4d20(LINUX_SERVICE_PATH);_0x246e82[_0x4526f6(-0x28,0x243)+'d']&&(_0x246e82[_0x11016e(_0x1f8d97._0x285c72,0x802)]=commandSucceeds(_0x4a4921[_0x11016e(0x529,0x6f1)],[_0x11016e(_0x1f8d97._0x3eeda8,_0x1f8d97._0x12e94e),_0x4a4921['KMEXA'],'--quiet',SYSTEMD_UNIT_NAME])||_0x246e82[_0x4526f6(_0x1f8d97._0x5a1691,_0x1f8d97._0x41d278)]);return _0x246e82;case _0x11016e(0x547,_0x1f8d97._0x265440)+_0x11016e(_0x1f8d97._0x303331,_0x1f8d97._0x455288):_0x246e82[_0x4526f6(-0x28,-0x18)+'d']=hasLinuxCronRegistration();return _0x246e82;case _0x11016e(0x6ec,_0x1f8d97._0x3d001e)+'run-regi'+'stry':_0x246e82['installe'+'d']=commandSucceeds(_0x11016e(0x678,0x937),[_0x11016e(_0x1f8d97._0x5ce040,_0x1f8d97._0x2ac454),_0x4526f6(0x41d,_0x1f8d97._0x1b58e9)+_0x4526f6(_0x1f8d97._0x2a3ec2,-0xf2)+'crosoft\x5c'+'Windows\x5c'+'CurrentV'+'ersion\x5cR'+'un','/v',WINDOWS_RUN_KEY]);return _0x246e82;default:return _0x246e82;}}function installService(_0x2bd251={}){const _0x53c727={_0x3fce4e:0x9b8,_0xf2d987:0x7cf,_0x2e3bd3:0x2ca,_0x113d34:0x762,_0x4e72d5:0x9ae,_0x53423e:0x688,_0x129866:0x5e0,_0x490919:0x7c7,_0x25a6f8:0x658,_0x3cdfd5:0x1a7,_0x12826f:0x8,_0x582afb:0x488,_0x55edca:0x33a,_0x4ec315:0x980,_0x304faa:0x8a9,_0x528f3d:0x8a7,_0x5d5786:0x85b,_0x2f7bb3:0x6a6,_0x4d5421:0x354,_0x44cbb7:0x98a,_0x41878b:0xaa0,_0x319657:0x3d3,_0x51412e:0x5f,_0x3d9f36:0x68,_0x483088:0x7,_0x461921:0x178,_0x36d391:0x593,_0x152eb6:0x68a,_0x25d7bd:0xb34,_0x596ce1:0x50,_0x356580:0xcd,_0x268340:0x241,_0x51c88a:0xca,_0x12b4d5:0x303,_0x3cc052:0x2ce},_0x3a2a78={_0xb81b2b:0x18},_0x39dad4={'dNgwe':function(_0x9fec88){return _0x9fec88();},'nwDjf':function(_0x3dd083,_0xafa24e){return _0x3dd083(_0xafa24e);},'HiYhy':_0x34b1ce(_0x53c727._0x3fce4e,_0x53c727._0xf2d987),'qbrGm':function(_0x1058d5,_0x4b3c26,_0x147146){return _0x1058d5(_0x4b3c26,_0x147146);},'gwTco':'launchct'+'l','KOrUA':_0x20ea20(-_0x53c727._0x2e3bd3,-0x13c),'uqeuN':function(_0x39c020,_0x594eb3){return _0x39c020(_0x594eb3);},'iEvLy':function(_0x459390,_0x111b69,_0xcf237f,_0x98677e){return _0x459390(_0x111b69,_0xcf237f,_0x98677e);},'nevTE':function(_0x50d774,_0x2daddb){return _0x50d774(_0x2daddb);}};function _0x20ea20(_0x393109,_0x56049e){return _0x26b3dd(_0x56049e- -0x697,_0x393109);}function _0x34b1ce(_0x59c7da,_0x5044ca){return _0x26b3dd(_0x59c7da- -_0x3a2a78._0xb81b2b,_0x5044ca);}_0x39dad4[_0x34b1ce(_0x53c727._0x113d34,_0x53c727._0x4e72d5)](ensureServiceDirs);const _0x413644=_0x39dad4['nwDjf'](getServiceProgramArgs,_0x2bd251);switch(process['platform']){case _0x39dad4[_0x34b1ce(0x8ca,_0x53c727._0x53423e)]:_0x242f96(MACOS_PLIST_PATH,buildMacosPlist(_0x413644,SERVICE_LOG_PATH,SERVICE_ERROR_LOG_PATH),_0x34b1ce(_0x53c727._0x129866,0x833)),_0x39dad4['qbrGm'](execIgnoreFailure,_0x39dad4[_0x34b1ce(_0x53c727._0x490919,_0x53c727._0x25a6f8)],[_0x20ea20(-_0x53c727._0x3cdfd5,-_0x53c727._0x12826f),'-w',MACOS_PLIST_PATH]),execFileSync(_0x39dad4['gwTco'],[_0x34b1ce(_0x53c727._0x582afb,_0x53c727._0x55edca),'-w',MACOS_PLIST_PATH],{'stdio':_0x39dad4[_0x34b1ce(_0x53c727._0x4ec315,_0x53c727._0x304faa)]});break;case'linux':_0x39dad4['uqeuN'](installLinuxService,_0x413644);break;case _0x34b1ce(_0x53c727._0x528f3d,_0x53c727._0x5d5786):stopRunningProcess();const _0x35d701={};_0x35d701[_0x34b1ce(0x767,_0x53c727._0x2f7bb3)]=_0x20ea20(-_0x53c727._0x4d5421,-0x13c),_0x39dad4['iEvLy'](execFileSync,_0x34b1ce(_0x53c727._0x44cbb7,_0x53c727._0x41878b),[_0x20ea20(_0x53c727._0x319657,0x1f6),'HKCU\x5cSof'+_0x20ea20(0x125,-_0x53c727._0x51412e)+_0x20ea20(-_0x53c727._0x3d9f36,_0x53c727._0x483088)+'Windows\x5c'+_0x20ea20(-0x1c8,-_0x53c727._0x461921)+'ersion\x5cR'+'un','/v',WINDOWS_RUN_KEY,'/t',_0x34b1ce(_0x53c727._0x36d391,_0x53c727._0x152eb6),'/d',_0x39dad4[_0x34b1ce(0x90a,_0x53c727._0x25d7bd)](buildWindowsRunCommand,_0x413644),'/f'],_0x35d701),startDetachedWindowsService(_0x413644);break;default:throw new Error(_0x20ea20(-_0x53c727._0x596ce1,-_0x53c727._0x356580)+_0x20ea20(-0x277,-0x189)+_0x20ea20(-0x71,0x183)+'\x20CLI\x20ser'+_0x20ea20(_0x53c727._0x268340,_0x53c727._0x51c88a)+_0x34b1ce(0x632,0x5fe)+'n:\x20'+process[_0x20ea20(_0x53c727._0x12b4d5,_0x53c727._0x3cc052)]);}return _0x39dad4[_0x34b1ce(_0x53c727._0x113d34,0x9c7)](getServiceStatus);}function restartService(_0x42d73f={}){const _0xda8679={_0x29daf2:0x83a,_0x462c28:0x6e5,_0x56596e:0x1d4,_0x2b7fa4:0x4b0,_0x28f396:0x473,_0x247de0:0x669,_0x270d0d:0x719,_0x5d65b2:0x438,_0x5b2ba7:0x6e5,_0x5e8966:0x26a,_0x561547:0x818,_0x2be0fc:0x466,_0x439fbf:0x28d,_0x42993d:0x7be,_0x36ab60:0x567,_0x7c7cb1:0x402,_0x52507a:0x777,_0x2ffc5b:0x151,_0x1d8bd7:0x2e9,_0x141ec4:0x745,_0x4a7bef:0x76d,_0x515570:0x635,_0x225d36:0x2b,_0x1dc8f5:0x394,_0x4cdea7:0x499,_0x27f12f:0x5ed,_0x3a589f:0x339,_0x2d6e40:0x3fb},_0x3dcc4b={_0x4e6b2e:0x62},_0x33ee19={_0x3c4bc0:0x25a};function _0x5b06ea(_0x18f1bc,_0x1c6717){return _0x3266d5(_0x18f1bc,_0x1c6717-_0x33ee19._0x3c4bc0);}const _0x2416ce={'gBqRj':function(_0x47e651){return _0x47e651();},'HbVTY':function(_0x4fe9b3,_0x371fab,_0x448803,_0x39acbd){return _0x4fe9b3(_0x371fab,_0x448803,_0x39acbd);},'mPDNG':_0x5b06ea(_0xda8679._0x29daf2,_0xda8679._0x462c28)+'l','PtEFO':_0xf702d7(-_0xda8679._0x56596e,0x69),'ilmeq':function(_0x1c8a75){return _0x1c8a75();},'gtMGU':_0xf702d7(0x419,_0xda8679._0x2b7fa4),'LhTBz':function(_0x14e549,_0x456f69){return _0x14e549(_0x456f69);}};_0x2416ce['gBqRj'](ensureServiceDirs);function _0xf702d7(_0x181ec9,_0xe25ff){return _0x3266d5(_0x181ec9,_0xe25ff- -_0x3dcc4b._0x4e6b2e);}const _0x36ce61=getServiceProgramArgs(_0x42d73f);switch(process[_0xf702d7(0x6c2,_0xda8679._0x28f396)]){case _0xf702d7(0x439,0x4de):if(!_0x3e4d20(MACOS_PLIST_PATH))return installService(_0x42d73f);_0x242f96(MACOS_PLIST_PATH,_0x2416ce['HbVTY'](buildMacosPlist,_0x36ce61,SERVICE_LOG_PATH,SERVICE_ERROR_LOG_PATH),'utf8'),execIgnoreFailure(_0x2416ce[_0x5b06ea(_0xda8679._0x247de0,0x48c)],[_0xf702d7(0x307,0x19d),'-w',MACOS_PLIST_PATH]);const _0x4e4f33={};_0x4e4f33[_0x5b06ea(0x43b,0x549)]=_0x2416ce[_0x5b06ea(_0xda8679._0x270d0d,0x754)],execFileSync(_0x5b06ea(_0xda8679._0x5d65b2,_0xda8679._0x5b2ba7)+'l',[_0x5b06ea(0x31a,_0xda8679._0x5e8966),'-w',MACOS_PLIST_PATH],_0x4e4f33);break;case'linux':restartLinuxService(_0x36ce61);break;case _0x5b06ea(_0xda8679._0x561547,0x689):_0x2416ce[_0x5b06ea(0x6bc,0x5c1)](stopRunningProcess);const _0x22be77={};_0x22be77[_0xf702d7(_0xda8679._0x2be0fc,_0xda8679._0x439fbf)]='ignore',execFileSync(_0x2416ce[_0x5b06ea(_0xda8679._0x42993d,_0xda8679._0x36ab60)],[_0x5b06ea(0x63c,0x657),_0xf702d7(0x572,0x470)+_0x5b06ea(0x5f5,_0xda8679._0x7c7cb1)+_0xf702d7(0x333,0x1ac)+_0x5b06ea(_0xda8679._0x52507a,0x72d)+_0x5b06ea(_0xda8679._0x2ffc5b,_0xda8679._0x1d8bd7)+_0x5b06ea(_0xda8679._0x141ec4,_0xda8679._0x4a7bef)+'un','/v',WINDOWS_RUN_KEY,'/t',_0x5b06ea(_0xda8679._0x515570,0x375),'/d',buildWindowsRunCommand(_0x36ce61),'/f'],_0x22be77),_0x2416ce[_0xf702d7(-0x26d,-_0xda8679._0x225d36)](startDetachedWindowsService,_0x36ce61);break;default:throw new Error(_0x5b06ea(0x1d4,_0xda8679._0x1dc8f5)+'ted\x20plat'+_0xf702d7(_0xda8679._0x4cdea7,0x328)+_0xf702d7(0x163,0x8f)+_0x5b06ea(_0xda8679._0x27f12f,_0xda8679._0x3a589f)+_0xf702d7(0x3f,0x5c)+process[_0xf702d7(_0xda8679._0x2d6e40,0x473)]);}return getServiceStatus();}async function startTransientRuntime(_0x570b11={}){const _0x24d36e={_0x37d880:0x386,_0x2b0db1:0x3bc,_0x235dfd:0x4a2,_0x2e969c:0x593,_0x44b1eb:0x39a,_0x418eb2:0x147,_0x2e3880:0x813,_0x364e10:0x6ef},_0x4d10aa={_0x1aef70:0x152};function _0x341920(_0x5c8865,_0x55224f){return _0x26b3dd(_0x5c8865- -_0x4d10aa._0x1aef70,_0x55224f);}ensureServiceDirs();function _0x251047(_0x4eccf4,_0x366b93){return _0x26b3dd(_0x366b93- -0x437,_0x4eccf4);}const _0x331f3b=getServiceProgramArgs(_0x570b11);switch(process['platform']){case _0x251047(0x837,0x599):case'linux':startDetachedPosixService(_0x331f3b);break;case _0x251047(_0x24d36e._0x37d880,0x488):startDetachedWindowsService(_0x331f3b);break;default:throw new Error('Unsuppor'+_0x341920(_0x24d36e._0x2b0db1,_0x24d36e._0x235dfd)+_0x251047(_0x24d36e._0x2e969c,0x3e3)+_0x341920(0x6b7,0x82b)+_0x251047(0x54e,_0x24d36e._0x44b1eb)+_0x251047(_0x24d36e._0x418eb2,0x1ef)+_0x341920(0x3fc,0x62a)+process[_0x341920(_0x24d36e._0x2e3880,_0x24d36e._0x364e10)]);}return waitForRuntimeState();}function uninstallService(){const _0x4ce5df={_0x51d359:0x887,_0x495f7b:0x6c0,_0x13541e:0x96b,_0x396e75:0x78d,_0x8a1d0b:0x7fb,_0x58de11:0x60c,_0x550d9f:0x73d,_0x52cfc3:0x572,_0x1d9620:0x5dd,_0x2bd5e6:0x4fa,_0x9d1df0:0xee,_0x31c095:0x113,_0x2a9d46:0x656,_0xcd9ec7:0x58f,_0x42c6e9:0x81b,_0x32f3aa:0xee,_0x444a68:0x9f3,_0x1a30de:0x8d3,_0x482be0:0x735,_0x2ee582:0x245,_0x165b2e:0x70a,_0xdd31a6:0x12c,_0x455973:0x2c5,_0x2430d8:0x534},_0x530518={'kyBYC':_0x444892(_0x4ce5df._0x51d359,_0x4ce5df._0x495f7b),'gPpAa':function(_0x29ad6f,_0x48b7ea){return _0x29ad6f(_0x48b7ea);},'OBZwt':function(_0x6f92dd,_0x419876,_0x308eaa){return _0x6f92dd(_0x419876,_0x308eaa);},'xggNj':_0x4c0047(0x1b6,0x15e),'JOWnl':_0x444892(_0x4ce5df._0x13541e,_0x4ce5df._0x396e75),'RYXJL':'systemct'+'l','vTBSz':_0x444892(_0x4ce5df._0x8a1d0b,_0x4ce5df._0x58de11)+_0x444892(0x682,_0x4ce5df._0x550d9f),'xOspI':function(_0x1f75cb,_0x4fd1b0,_0x593868){return _0x1f75cb(_0x4fd1b0,_0x593868);}};stopRunningProcess();switch(process[_0x4c0047(_0x4ce5df._0x52cfc3,0x3b2)]){case _0x4c0047(_0x4ce5df._0x1d9620,0x7c9):execIgnoreFailure('launchct'+'l',[_0x530518['kyBYC'],'-w',MACOS_PLIST_PATH]),_0x530518[_0x4c0047(0x3af,_0x4ce5df._0x2bd5e6)](rmIfExists,MACOS_PLIST_PATH);break;case'linux':_0x3e4d20(LINUX_SERVICE_PATH)&&(_0x530518[_0x4c0047(_0x4ce5df._0x9d1df0,-_0x4ce5df._0x31c095)](execIgnoreFailure,_0x4c0047(0x326,0x313)+'l',[_0x530518[_0x444892(0x4c2,_0x4ce5df._0x2a9d46)],_0x444892(0x764,0x7bf),_0x530518[_0x444892(_0x4ce5df._0xcd9ec7,_0x4ce5df._0x42c6e9)],SYSTEMD_UNIT_NAME]),rmIfExists(LINUX_SERVICE_PATH),_0x530518[_0x4c0047(_0x4ce5df._0x32f3aa,-0x166)](execIgnoreFailure,_0x530518[_0x444892(0x778,_0x4ce5df._0x444a68)],[_0x444892(0x754,0x5da),_0x530518[_0x444892(0x79a,_0x4ce5df._0x1a30de)]]));removeLinuxCronRegistration();break;case _0x4c0047(0x4cc,_0x4ce5df._0x482be0):_0x530518[_0x4c0047(0x433,0x52c)](execIgnoreFailure,_0x4c0047(0x5af,0x696),['delete','HKCU\x5cSof'+_0x4c0047(_0x4ce5df._0x2ee582,0xe5)+'crosoft\x5c'+_0x444892(_0x4ce5df._0x165b2e,0x994)+_0x4c0047(_0x4ce5df._0xdd31a6,_0x4ce5df._0x455973)+_0x4c0047(0x5b0,_0x4ce5df._0x2430d8)+'un','/v',WINDOWS_RUN_KEY,'/f']);break;default:break;}clearServiceState();function _0x4c0047(_0x56e79d,_0x3b89fc){return _0x3266d5(_0x3b89fc,_0x56e79d-0x9d);}function _0x444892(_0x48d9c3,_0x1d099d){return _0x3266d5(_0x48d9c3,_0x1d099d-0x4c1);}return getServiceStatus();}function stopService(){const _0x52b6c5={_0x491cf6:0x446,_0x2b22f5:0x224,_0x49625b:0x3db,_0x8ffc0d:0x37,_0x10c277:0x1af,_0x31f6cc:0x24b,_0x75fc0:0x6df,_0x1feac4:0x754,_0x4d3071:0x611,_0x31f86d:0x2e8},_0x471640={_0x590fc8:0x2ae},_0x3a5482={_0xf9b87f:0x58a},_0x1334bb={'yEwQh':_0x2dfbe5(0x21c,_0x52b6c5._0x491cf6),'iUnXl':function(_0x5774fd,_0x3cc27b){return _0x5774fd(_0x3cc27b);},'eiwQT':function(_0x1b8a24,_0x2c31aa,_0x21a9e9){return _0x1b8a24(_0x2c31aa,_0x21a9e9);},'vMvAP':function(_0x46b90f){return _0x46b90f();}};function _0x2dfbe5(_0x5c0b9e,_0x36c123){return _0x26b3dd(_0x36c123- -_0x3a5482._0xf9b87f,_0x5c0b9e);}stopRunningProcess();switch(process[_0x2dfbe5(_0x52b6c5._0x2b22f5,_0x52b6c5._0x49625b)]){case _0x1334bb[_0x2dfbe5(0x86,-_0x52b6c5._0x8ffc0d)]:_0x1334bb[_0x2dfbe5(0x10e,_0x52b6c5._0x10c277)](_0x3e4d20,MACOS_PLIST_PATH)&&execIgnoreFailure('launchct'+'l',['unload',MACOS_PLIST_PATH]);break;case _0x2dfbe5(_0x52b6c5._0x31f6cc,0x471):_0x3e4d20(LINUX_SERVICE_PATH)&&_0x1334bb[_0xfb279e(0x224,0x2a0)](execIgnoreFailure,'systemct'+'l',[_0x2dfbe5(0x2a1,0x1f),_0xfb279e(_0x52b6c5._0x75fc0,_0x52b6c5._0x1feac4),SYSTEMD_UNIT_NAME]);break;case _0xfb279e(_0x52b6c5._0x4d3071,0x7d5):break;default:break;}_0x1334bb[_0xfb279e(_0x52b6c5._0x31f86d,0xea)](clearServiceState);function _0xfb279e(_0x1ba5e1,_0x412432){return _0x26b3dd(_0x1ba5e1- -_0x471640._0x590fc8,_0x412432);}return getServiceStatus();}function writeServiceState(_0x52a4de=process[_0x26b3dd(0x890,0xa4e)]){const _0x44f2ac={_0x433145:0x4a,_0x5df27e:0x3c,_0x52b7b3:0xe,_0x35b2a8:0x1f4,_0x5212a6:0x483,_0x37b06b:0x4e6},_0x6949af={_0x29771e:0x24};function _0x559e4e(_0x1dc318,_0x3cb471){return _0x26b3dd(_0x1dc318- -_0x6949af._0x29771e,_0x3cb471);}const _0x1cf6c5={'hBCjK':function(_0x18ac84,_0x2a3b79,_0x9d8108,_0xeae912){return _0x18ac84(_0x2a3b79,_0x9d8108,_0xeae912);},'grDGr':_0x560d1e(_0x44f2ac._0x433145,-0x52)};ensureServiceDirs();function _0x560d1e(_0x32d678,_0x16ce0f){return _0x26b3dd(_0x32d678- -0x5ae,_0x16ce0f);}const _0x127176={'pid':_0x52a4de,'startedAt':new Date()[_0x560d1e(0x290,_0x44f2ac._0x5df27e)+'ing']()};_0x1cf6c5[_0x560d1e(_0x44f2ac._0x52b7b3,_0x44f2ac._0x35b2a8)](_0x242f96,SERVICE_STATE_PATH,JSON[_0x559e4e(_0x44f2ac._0x5212a6,_0x44f2ac._0x37b06b)+'y'](_0x127176,null,0x2)+'\x0a',_0x1cf6c5[_0x560d1e(-0xd4,-0x345)]);}function registerRuntimeProcess(_0x4e2816){const _0x437005={_0x25c8a5:0x4d2,_0x365e2d:0x47e,_0x2001e0:0x40e,_0x23257e:0x2d,_0x472e40:0xdd,_0x402426:0x1ce,_0xaa2d05:0x52d,_0x3d4859:0x706,_0x3df4fe:0x54e},_0x4f5676={_0x5cbc48:0xc9};ensureServiceDirs();function _0x23f680(_0x24a384,_0x1f5b31){return _0x3266d5(_0x1f5b31,_0x24a384-0x60);}const _0x364b8a={'pid':_0x4e2816['pid']??process['pid'],'startedAt':_0x4e2816[_0x23f680(_0x437005._0x25c8a5,_0x437005._0x365e2d)+'t']??new Date()[_0x23f680(_0x437005._0x2001e0,0x2f3)+_0x23f680(0x256,0x13c)](),'gatewayId':_0x4e2816['gatewayI'+'d'],'instanceId':_0x4e2816[_0x8bb177(0x495,0x32a)+'Id'],'serviceMode':_0x4e2816[_0x8bb177(0x138,_0x437005._0x23257e)+_0x23f680(_0x437005._0x472e40,_0x437005._0x402426)],'scriptPath':resolveScriptPath(_0x4e2816[_0x23f680(0x471,0x6b2)+'th'])};function _0x8bb177(_0x4a82c2,_0x27b569){return _0x3266d5(_0x27b569,_0x4a82c2- -_0x4f5676._0x5cbc48);}const _0x2ebcc9=readRuntimeRegistry()[_0x23f680(_0x437005._0xaa2d05,_0x437005._0x3d4859)](_0x2623d2=>_0x2623d2[_0x8bb177(0x337,0x1e6)]!==_0x364b8a[_0x8bb177(0x337,0x294)])[_0x23f680(_0x437005._0x3df4fe,0x79d)](_0x364b8a);writeRuntimeRegistry(_0x2ebcc9);}function unregisterRuntimeProcess(_0x6e8566=process['pid']){const _0x2abff4={_0x26b536:0x433},_0x1ba420={_0x5d0273:0x9a},_0x11753d=readRuntimeRegistry()[_0x18e5e1(0x371,_0x2abff4._0x26b536)](_0x14feb5=>_0x14feb5['pid']!==_0x6e8566);function _0x18e5e1(_0x528912,_0x10995b){return _0x3266d5(_0x528912,_0x10995b- -_0x1ba420._0x5d0273);}writeRuntimeRegistry(_0x11753d);}function isAutostartUnsupportedError(_0x2edd19){const _0x5b1335={_0x2c50c4:0x1a1,_0x4ffc25:0xce,_0x47dc1e:0xc1,_0x7c9b82:0xd9,_0x36a07c:0x33f,_0x277f24:0x9c,_0x48a34a:0x294,_0x57c782:0xa8,_0x37d911:0x11c,_0x31907d:0x5e9,_0x409fbe:0x7f,_0x5ee7ed:0x231},_0x54d2c9={_0x164359:0x17e},_0xe2f3e0={_0x18a971:0x56};function _0x5c8a7d(_0x5bea71,_0x185846){return _0x3266d5(_0x185846,_0x5bea71-_0xe2f3e0._0x18a971);}function _0x2acc60(_0x2cc774,_0x41bb8c){return _0x3266d5(_0x41bb8c,_0x2cc774- -_0x54d2c9._0x164359);}const _0xe4e8f2={};_0xe4e8f2['VUcMQ']=_0x2acc60(0x1df,0x473)+_0x5c8a7d(0xd4,0x12a)+_0x5c8a7d(0x3e0,_0x5b1335._0x2c50c4)+_0x2acc60(0x379,0x35e)+_0x2acc60(-_0x5b1335._0x4ffc25,-_0x5b1335._0x47dc1e);const _0x449029=_0xe4e8f2,_0x281260=formatError(_0x2edd19)[_0x2acc60(0x3d5,0x5cd)+_0x2acc60(_0x5b1335._0x7c9b82,-0x46)]();return _0x281260[_0x2acc60(_0x5b1335._0x36a07c,_0x5b1335._0x277f24)](_0x5c8a7d(_0x5b1335._0x48a34a,0x2bd)+'ab\x20fallb'+'ack\x20is\x20a'+_0x2acc60(_0x5b1335._0x57c782,-_0x5b1335._0x37d911))||_0x281260[_0x5c8a7d(0x513,_0x5b1335._0x31907d)](_0x449029[_0x2acc60(_0x5b1335._0x409fbe,-_0x5b1335._0x5ee7ed)]);}function listRuntimeProcesses(_0x2faf4a={}){const _0x1654f8={_0x2b5213:0xa08,_0x123319:0x2a0,_0x5aed00:0xa4b,_0x3d583e:0x60b},_0x2859cd={_0x547a98:0xaa},_0x535b03={_0x14b4b4:0x480},_0x4594bf=resolveScriptPath(_0x2faf4a[_0x5529c0(0x4bb,0x4d3)+'th']),_0x3d4ee8=readRuntimeRegistry();function _0x4037f5(_0x432f1d,_0x1c9481){return _0x3266d5(_0x432f1d,_0x1c9481-_0x535b03._0x14b4b4);}const _0x1d10b5=[..._0x3d4ee8],_0xf8df72=new Set(_0x3d4ee8[_0x4037f5(_0x1654f8._0x2b5213,0x790)](_0x4bc0f2=>_0x4bc0f2['pid']));function _0x5529c0(_0x353625,_0x28b3ae){return _0x3266d5(_0x28b3ae,_0x353625-_0x2859cd._0x547a98);}for(const _0x5565ae of listPosixRuntimePids(_0x4594bf)){if(_0xf8df72[_0x5529c0(0x596,0x597)](_0x5565ae))continue;_0x1d10b5[_0x5529c0(0x534,0x4b5)]({'pid':_0x5565ae,'startedAt':new Date(0x0)[_0x5529c0(0x458,0x476)+_0x5529c0(_0x1654f8._0x123319,0x36)](),'gatewayId':'','instanceId':'','serviceMode':![],'scriptPath':_0x4594bf});}return _0x1d10b5[_0x4037f5(_0x1654f8._0x5aed00,0x94d)](_0x595233=>isPidRunning(_0x595233['pid']))[_0x4037f5(_0x1654f8._0x3d583e,0x63d)]((_0x3bd4c0,_0x2932ac)=>_0x3bd4c0[_0x5529c0(0x4aa,0x5ce)]-_0x2932ac[_0x5529c0(0x4aa,0x2ba)]);}function stopRuntimeProcesses(_0x7bd02e={}){const _0x5dcac3={_0x252ce1:0x425,_0x4f68df:0x4b1,_0x2b08e3:0x575,_0x312685:0x7c9,_0x4375b1:0x5d7,_0x5decba:0x674,_0x29db6b:0x4a0,_0x1b3a54:0x72b,_0x182535:0x5a9,_0x1e04bb:0x4f9,_0x1a2571:0x660,_0x546140:0x6bf,_0x5365c1:0x134,_0x33d5e4:0x187,_0x167d08:0x41a,_0x344ffd:0x61f,_0x517c49:0x155,_0x38f39c:0x67b,_0x40fa22:0x5b9},_0x3908ae={'LzyPv':_0x4d9722(0x404,0x4cf),'unGtW':function(_0x4889bd,_0x460861){return _0x4889bd(_0x460861);},'GXldr':function(_0x2fe7c7){return _0x2fe7c7();}},_0x1f8ee4={};_0x1f8ee4[_0x4d9722(_0x5dcac3._0x252ce1,_0x5dcac3._0x4f68df)+'th']=_0x7bd02e[_0x2ccbd9(0x7b2,0x630)+'th'];const _0x324ebb=listRuntimeProcesses(_0x1f8ee4),_0x3544c5=_0x324ebb[_0x2ccbd9(0x7bd,0x6ec)](_0x33e34a=>_0x33e34a['pid']!==(_0x7bd02e[_0x4d9722(0x662,0x4b6)+'id']??-0x1));if(process[_0x4d9722(0x30b,_0x5dcac3._0x2b08e3)]===_0x3908ae['LzyPv'])for(const _0x217a4a of _0x3544c5){execIgnoreFailure(_0x2ccbd9(0x8e9,0x66e),[_0x4d9722(_0x5dcac3._0x312685,_0x5dcac3._0x4375b1),String(_0x217a4a[_0x4d9722(_0x5dcac3._0x5decba,_0x5dcac3._0x29db6b)]),'/T','/F']);}else{for(const _0xebaf58 of _0x3544c5){execIgnoreFailure(_0x4d9722(_0x5dcac3._0x1b3a54,_0x5dcac3._0x182535),[_0x2ccbd9(_0x5dcac3._0x1e04bb,_0x5dcac3._0x1a2571),String(_0xebaf58[_0x4d9722(0x227,0x4a0)])]);}for(const _0x3f5ca0 of _0x3544c5){!waitForPidExit(_0x3f5ca0[_0x4d9722(_0x5dcac3._0x546140,_0x5dcac3._0x29db6b)],0xbb8)&&execIgnoreFailure(_0x4d9722(0x53f,0x5a9),['-KILL',_0x3908ae[_0x4d9722(_0x5dcac3._0x5365c1,_0x5dcac3._0x33d5e4)](String,_0x3f5ca0[_0x2ccbd9(_0x5dcac3._0x167d08,_0x5dcac3._0x344ffd)])]);}}const _0x1ad3b9=readRuntimeRegistry()['filter'](_0x327d5f=>!_0x3544c5[_0x4d9722(0x5b6,0x326)](_0x4014dd=>_0x4014dd[_0x4d9722(0x326,0x4a0)]===_0x327d5f[_0x4d9722(0x3c8,0x4a0)]));_0x3908ae[_0x2ccbd9(_0x5dcac3._0x517c49,0x306)](writeRuntimeRegistry,_0x1ad3b9);function _0x4d9722(_0x14f927,_0x262661){return _0x3266d5(_0x14f927,_0x262661-0xa0);}const _0x103511=readServiceState();function _0x2ccbd9(_0xfccaa6,_0x5da472){return _0x3266d5(_0xfccaa6,_0x5da472-0x21f);}return _0x103511&&_0x3544c5[_0x4d9722(0x2f5,0x326)](_0x3d3251=>_0x3d3251[_0x4d9722(0x74a,0x4a0)]===_0x103511['pid'])&&_0x3908ae[_0x2ccbd9(_0x5dcac3._0x38f39c,0x651)](clearServiceState),_0x3544c5[_0x4d9722(_0x5dcac3._0x40fa22,0x3b0)](_0x25c850=>_0x25c850[_0x4d9722(0x5d3,0x4a0)]);}function clearServiceState(_0x16dbe9){const _0x54de21={_0xb0de22:0x5f0,_0x47258f:0x6e6},_0x4fec6f={_0x254454:0x72},_0x27eb82={_0x157457:0x399};function _0x219ef1(_0x236c75,_0x16b514){return _0x3266d5(_0x236c75,_0x16b514-_0x27eb82._0x157457);}function _0x260dd8(_0x22364d,_0x5681f6){return _0x3266d5(_0x22364d,_0x5681f6-_0x4fec6f._0x254454);}const _0x27d384={'CERGh':function(_0x19ddcd,_0x3e317f){return _0x19ddcd(_0x3e317f);},'jTEoY':function(_0x17941b,_0x18f4be){return _0x17941b!==_0x18f4be;}};if(!_0x27d384[_0x219ef1(_0x54de21._0xb0de22,0x727)](_0x3e4d20,SERVICE_STATE_PATH))return;if(_0x16dbe9!=null){const _0x3ac984=readServiceState();if(_0x3ac984&&_0x27d384[_0x219ef1(0x6d0,_0x54de21._0x47258f)](_0x3ac984['pid'],_0x16dbe9))return;}_0x27d384['CERGh'](rmIfExists,SERVICE_STATE_PATH);}function getServicePaths(){return{'logPath':SERVICE_LOG_PATH,'errorLogPath':SERVICE_ERROR_LOG_PATH,'servicePath':getServicePath(detectServiceMethod())};}function buildMacosPlist(_0x49d77b,_0xcfab58,_0x56ebc3){const _0x343460={_0x134edf:0x2b1,_0xa56759:0x35e,_0x1d605d:0x3b4,_0x26d6fc:0x3d7,_0x2cb2c0:0x15c,_0x48354e:0x4d8,_0x155b11:0x3ee,_0x6e7cd8:0x61,_0x94ec66:0x1bf,_0x1b6316:0x6a0,_0x56cced:0x9d,_0xf645ff:0x36f,_0x37ba2f:0x28b,_0x1771c2:0x30c,_0x24c066:0x2a4,_0x3f6049:0x556,_0x4e5572:0x1f4,_0x25e201:0x3cc,_0x54ab19:0x24a,_0x223dbe:0x224,_0x4f7f4a:0x635,_0x3d50b1:0x841,_0x2e2f63:0x5b7,_0x466344:0x1d4,_0x35b60d:0xa,_0x274b54:0xa9,_0x10346d:0x116,_0x343dc5:0x498,_0x162c06:0x875,_0x1bb1a5:0x75b,_0x1c3cd0:0x74d,_0x244a25:0x72,_0x124ada:0x2d9,_0x4f07b4:0x4d5,_0x43dbea:0x57,_0x3c48c4:0x68e,_0x4a057c:0x65b,_0x3fa8c5:0x256,_0x24209d:0x1e4,_0x224189:0x3ad,_0x5bcf15:0x167,_0x2fd3db:0x2e7,_0x390904:0x3f3,_0xdd3bb7:0x484,_0x5ce9f8:0x5c6,_0x2b681e:0x159,_0x6c4569:0x302},_0x544a87={_0x3455b0:0x27d},_0x34cd47=_0x49d77b[_0x41ddbe(0x12f,_0x343460._0x134edf)](_0x26b549=>_0x41ddbe(0x185,0x439)+_0x41ddbe(-0x52,0x184)+escapeXml(_0x26b549)+(_0x18b956(0x47e,0x5b7)+'>'))[_0x18b956(0x69f,0x759)]('\x0a');function _0x41ddbe(_0x1d3afa,_0x33b3ef){return _0x3266d5(_0x33b3ef,_0x1d3afa- -0x1e1);}function _0x18b956(_0x320831,_0x438c34){return _0x3266d5(_0x320831,_0x438c34-_0x544a87._0x3455b0);}return _0x18b956(0x88d,0x6c4)+_0x41ddbe(_0x343460._0xa56759,_0x343460._0x1d605d)+_0x41ddbe(0x14f,0xed)+_0x41ddbe(0x287,0x329)+_0x18b956(0x32d,0x291)+_0x18b956(_0x343460._0x26d6fc,0x3e4)+_0x41ddbe(_0x343460._0x2cb2c0,0x2a3)+'UBLIC\x20\x22-'+'//Apple/'+'/DTD\x20PLI'+'ST\x201.0//'+_0x18b956(_0x343460._0x48354e,_0x343460._0x155b11)+_0x41ddbe(-_0x343460._0x6e7cd8,-_0x343460._0x94ec66)+_0x18b956(0x7d3,_0x343460._0x1b6316)+_0x41ddbe(-0x65,_0x343460._0x56cced)+_0x18b956(0x536,_0x343460._0xf645ff)+_0x41ddbe(0x25a,_0x343460._0x37ba2f)+_0x41ddbe(_0x343460._0x1771c2,_0x343460._0x24c066)+_0x41ddbe(0x37e,_0x343460._0x3f6049)+_0x41ddbe(_0x343460._0x4e5572,_0x343460._0x25e201)+_0x18b956(0x461,0x33a)+_0x41ddbe(_0x343460._0x54ab19,0x327)+_0x41ddbe(-0x178,-_0x343460._0x223dbe)+_0x18b956(0x8f1,_0x343460._0x4f7f4a)+_0x41ddbe(0x7,0x1a7)+SERVICE_LABEL+(_0x18b956(_0x343460._0x3d50b1,_0x343460._0x2e2f63)+_0x18b956(_0x343460._0x466344,0x427)+_0x18b956(0x448,0x4c4)+_0x41ddbe(-0xdc,_0x343460._0x35b60d)+_0x41ddbe(_0x343460._0x274b54,-_0x343460._0x10346d)+_0x18b956(_0x343460._0x343dc5,0x6e6)+'>\x0a')+_0x34cd47+(_0x18b956(_0x343460._0x162c06,0x662)+'ay>\x0a\x20\x20<k'+_0x18b956(_0x343460._0x1bb1a5,_0x343460._0x1c3cd0)+'Load</ke'+_0x41ddbe(-_0x343460._0x244a25,-0x34)+'ue/>\x0a\x20\x20<'+_0x18b956(0x2a4,0x3d5)+'Alive</k'+'ey>\x0a\x20\x20<t'+_0x41ddbe(_0x343460._0x124ada,_0x343460._0x4f07b4)+'<key>Sta'+_0x41ddbe(-_0x343460._0x43dbea,0x1fb)+_0x18b956(_0x343460._0x3c48c4,_0x343460._0x4a057c)+_0x41ddbe(-0x5d,_0x343460._0x3fa8c5)+_0x18b956(_0x343460._0x24209d,_0x343460._0x224189))+escapeXml(_0xcfab58)+(_0x41ddbe(0x159,_0x343460._0x5bcf15)+'>\x0a\x20\x20<key'+_0x18b956(_0x343460._0x2fd3db,_0x343460._0x390904)+_0x18b956(0x2e4,_0x343460._0xdd3bb7)+_0x18b956(0x5f7,0x4ed)+'\x0a\x20\x20<stri'+_0x41ddbe(0x37b,_0x343460._0x5ce9f8))+escapeXml(_0x56ebc3)+(_0x41ddbe(_0x343460._0x2b681e,0x4b)+_0x18b956(_0x343460._0x6c4569,0x2ae)+_0x18b956(0x5af,0x42b)+_0x18b956(0x95c,0x734));}function buildLinuxSystemdUnit(_0x5e48b4,_0x36a8c1,_0xbd6bda){const _0x2d4abc={_0x4f5f5e:0x7bb,_0x24edae:0x4a6,_0x636c72:0x7cc,_0x2a6380:0x7ad,_0x4b48eb:0x408,_0x148b0a:0x14f,_0x3906fb:0x243,_0x3afff5:0x8d4,_0xa1915f:0x320,_0x28507b:0x5fe,_0x5e5558:0x3b7,_0x93419c:0x5c6,_0x1f0766:0x71,_0x5aabdb:0x168,_0x3c71ab:0x2b3,_0x3ac5b0:0x2e6,_0x4cc9cc:0x702,_0x562551:0x411,_0x3ab945:0x702,_0x59c14e:0x451,_0xa55094:0x37b,_0x19d485:0x8b3,_0x28ea63:0x78a,_0x111bd0:0x72b,_0x53491f:0x88c},_0x21440a={_0xf45357:0x4c6},_0x174b85={_0x476217:0x12a},_0x5c2213={'ryZkm':function(_0xc1862b,_0x597b76){return _0xc1862b(_0x597b76);}},_0x57b132=_0x5e48b4[_0x5c5462(0x676,_0x2d4abc._0x4f5f5e)](escapeSystemdArg)[_0x2bd5b6(0x658,_0x2d4abc._0x24edae)]('\x20');function _0x5c5462(_0x1f79cd,_0x2fc75b){return _0x26b3dd(_0x1f79cd- -_0x174b85._0x476217,_0x2fc75b);}function _0x2bd5b6(_0x4b5a8e,_0x17e7ba){return _0x26b3dd(_0x17e7ba- -_0x21440a._0xf45357,_0x4b5a8e);}return _0x5c5462(0x7af,0x882)+_0x5c5462(_0x2d4abc._0x636c72,_0x2d4abc._0x2a6380)+_0x2bd5b6(-0x1cd,-0x1e)+_0x2bd5b6(0x5eb,_0x2d4abc._0x4b48eb)+'e\x20CLI\x0aAf'+_0x2bd5b6(_0x2d4abc._0x148b0a,_0x2d4abc._0x3906fb)+'ork-onli'+'ne.targe'+_0x5c5462(_0x2d4abc._0x3afff5,0x626)+'network-'+_0x2bd5b6(0x310,_0x2d4abc._0xa1915f)+_0x5c5462(0x8b5,0xad8)+_0x2bd5b6(_0x2d4abc._0x28507b,_0x2d4abc._0x5e5558)+_0x5c5462(0x794,_0x2d4abc._0x93419c)+_0x2bd5b6(_0x2d4abc._0x1f0766,_0x2d4abc._0x5aabdb)+'cStart='+_0x57b132+('\x0aRestart'+_0x2bd5b6(0x35a,0x10d)+_0x2bd5b6(0x190,_0x2d4abc._0x3c71ab)+'ec=2\x0aWor'+_0x2bd5b6(0x27a,0x40c)+_0x2bd5b6(_0x2d4abc._0x3ac5b0,0x4d8))+_0x5c2213['ryZkm'](escapeSystemdArg,SERVICE_DIR)+(_0x5c5462(_0x2d4abc._0x4cc9cc,0x75a)+_0x2bd5b6(0x467,0x3a1)+_0x5c5462(0x697,_0x2d4abc._0x562551))+_0x36a8c1+(_0x5c5462(_0x2d4abc._0x3ab945,0x827)+_0x5c5462(0x3c9,_0x2d4abc._0x59c14e)+_0x2bd5b6(0x2e7,0x1c1))+_0xbd6bda+(_0x5c5462(0x4d8,_0x2d4abc._0xa55094)+_0x5c5462(_0x2d4abc._0x19d485,_0x2d4abc._0x28ea63)+_0x5c5462(0x892,0x7d4)+_0x5c5462(_0x2d4abc._0x111bd0,_0x2d4abc._0x53491f)+'get\x0a');}function buildLinuxCronEntry(_0x1157b7,_0x54627e,_0x5e7bba){const _0x17679d={_0x4f117c:0x68f,_0x26e087:0x515,_0x24e444:0x7c5},_0x1181f8={_0x2dda13:0x39};function _0x2847c2(_0xb9efcc,_0x1feb4f){return _0x3266d5(_0x1feb4f,_0xb9efcc-0x296);}const _0x31e43c=_0x1157b7['map'](escapeShellWord)[_0x2c329a(_0x17679d._0x4f117c,_0x17679d._0x26e087)]('\x20');function _0x2c329a(_0x117b5b,_0x46e5a8){return _0x3266d5(_0x117b5b,_0x46e5a8-_0x1181f8._0x2dda13);}return _0x2847c2(_0x17679d._0x24e444,0x9f4)+_0x31e43c+'\x20>>\x20'+escapeShellWord(_0x54627e)+'\x202>>\x20'+escapeShellWord(_0x5e7bba)+'\x20'+LINUX_CRON_MARKER;}function getServicePath(_0x204418){const _0x28ddf3={_0xb89a79:0x4d3,_0x3b0867:0x4ca,_0x516f20:0x56d,_0x539001:0x36b,_0x558fc1:0x479,_0x84a1b1:0x4c7,_0x35483f:0x521,_0xc9f83b:0x56a,_0x37ccc0:0x5ad,_0x4f7154:0x344,_0x783cef:0x1a5,_0x2457ec:0xfc,_0x434a7b:0x592},_0x129e3d={_0x1805c8:0x2d8},_0x3f3eb3={};_0x3f3eb3['EpEjJ']=_0x2d756c(_0x28ddf3._0xb89a79,0x5d8);function _0x47cb3a(_0x1dc6ff,_0x2ade7c){return _0x3266d5(_0x2ade7c,_0x1dc6ff-_0x129e3d._0x1805c8);}_0x3f3eb3[_0x47cb3a(0x54f,0x767)]=_0x2d756c(_0x28ddf3._0x3b0867,0x603);const _0x2d8d64=_0x3f3eb3;function _0x2d756c(_0x391480,_0x3a5590){return _0x3266d5(_0x391480,_0x3a5590-0x98);}switch(process[_0x2d756c(0x691,_0x28ddf3._0x516f20)]){case _0x2d8d64[_0x2d756c(0x10d,0xe6)]:return MACOS_PLIST_PATH;case _0x2d8d64['zRJIT']:return _0x204418===_0x2d756c(_0x28ddf3._0x539001,_0x28ddf3._0x558fc1)+_0x47cb3a(0x34b,0x4ce)?LINUX_CRON_RECORD_PATH:LINUX_SERVICE_PATH;case _0x2d756c(0x675,_0x28ddf3._0x84a1b1):return _0x2d756c(_0x28ddf3._0x35483f,_0x28ddf3._0xc9f83b)+_0x47cb3a(0x480,0x419)+_0x47cb3a(0x4e6,_0x28ddf3._0x37ccc0)+'Windows\x5c'+_0x47cb3a(0x367,_0x28ddf3._0x4f7154)+'ersion\x5cR'+'un\x5cClawk'+_0x2d756c(-_0x28ddf3._0x783cef,_0x28ddf3._0x2457ec)+_0x47cb3a(_0x28ddf3._0x434a7b,0x7b8);default:return'';}}function detectServiceMethod(){const _0x4d7589={_0x47fb6c:0x898,_0x3fd79d:0x806,_0x7ca7a:0x5ec,_0x3134ba:0x24e,_0x13544c:0x3cb,_0x51d1c6:0x5b7,_0x44a372:0x525,_0x469cca:0x3fb,_0x16da22:0x458,_0xc45ace:0x16f,_0x13402d:0x4c3,_0x22e7f3:0x106,_0x5425c6:0x4e1,_0x13bf3b:0x5e1,_0x2a2c9a:0x41d,_0x548b89:0x174,_0x2c25c4:0x39e,_0x2cf941:0x402,_0xef1ea:0x595,_0xc2b24:0x378,_0x598eaf:0x1e0,_0x5bee73:0x787,_0x106296:0x66f,_0x7b7cfe:0x4d6,_0x473f15:0x27c,_0xf93ec4:0x43f},_0x4b5ebe={_0x5d1855:0x138},_0x5351b9={_0xc9fba8:0x3ae},_0x413bcc={'FnzGE':_0x4cdefc(0xac4,_0x4d7589._0x47fb6c),'rIZOa':'launchag'+_0x4cdefc(_0x4d7589._0x3fd79d,0x547),'QGprC':_0x3e989c(_0x4d7589._0x7ca7a,0x64d),'dvqhR':_0x4cdefc(0x229,0x3ea)+'user','jnVMX':function(_0x1c1c4c,_0x87255){return _0x1c1c4c(_0x87255);},'IQbfM':'linux-cr'+_0x4cdefc(_0x4d7589._0x3134ba,_0x4d7589._0x13544c),'VNNCj':_0x3e989c(0x645,0x43f)+'ted'};function _0x3e989c(_0x5f5d36,_0x661447){return _0x26b3dd(_0x661447- -_0x5351b9._0xc9fba8,_0x5f5d36);}function _0x4cdefc(_0x582cfa,_0x2af42e){return _0x26b3dd(_0x2af42e- -_0x4b5ebe._0x5d1855,_0x582cfa);}switch(process[_0x3e989c(0x41a,_0x4d7589._0x51d1c6)]){case _0x413bcc[_0x4cdefc(_0x4d7589._0x44a372,_0x4d7589._0x469cca)]:return _0x413bcc['rIZOa'];case _0x413bcc[_0x3e989c(0x3c0,_0x4d7589._0x16da22)]:if(_0x3e4d20(LINUX_SERVICE_PATH))return _0x413bcc[_0x3e989c(-_0x4d7589._0xc45ace,0x136)];if(hasLinuxCronRegistration())return _0x3e989c(0x3d3,_0x4d7589._0x13402d)+_0x3e989c(-_0x4d7589._0x22e7f3,0x155);if(_0x413bcc[_0x4cdefc(0x66b,_0x4d7589._0x5425c6)](commandExists,_0x4cdefc(0x759,_0x4d7589._0x13bf3b)+'l'))return _0x3e989c(_0x4d7589._0x2a2c9a,_0x4d7589._0x548b89)+_0x3e989c(0x65e,_0x4d7589._0x2c25c4);if(commandExists(_0x4cdefc(_0x4d7589._0x2cf941,_0x4d7589._0xef1ea)))return _0x413bcc['IQbfM'];return _0x413bcc[_0x3e989c(_0x4d7589._0xc2b24,_0x4d7589._0x598eaf)];case _0x4cdefc(0x5f8,_0x4d7589._0x5bee73):return _0x4cdefc(0x708,0x8de)+_0x3e989c(_0x4d7589._0x106296,_0x4d7589._0x7b7cfe)+_0x4cdefc(0x4c6,0x511);default:return _0x3e989c(_0x4d7589._0x473f15,_0x4d7589._0xf93ec4)+'ted';}}function readServiceState(){const _0x3ae71c={_0x29cfbc:0x248,_0x1c75f6:0x4e0,_0x1b79e8:0x509,_0x4a64f7:0x5a7,_0x4a5ca5:0x6bc,_0x4d8e37:0x3b2};function _0x48e671(_0x168ac0,_0x597bc7){return _0x3266d5(_0x168ac0,_0x597bc7-0x4);}function _0x5e0dde(_0x31e167,_0x36612e){return _0x3266d5(_0x31e167,_0x36612e-0xe0);}if(!_0x3e4d20(SERVICE_STATE_PATH))return null;try{const _0x273ab2=JSON['parse'](_0x156eb6(SERVICE_STATE_PATH,_0x5e0dde(0x500,_0x3ae71c._0x29cfbc)));if(!_0x273ab2[_0x5e0dde(0x59d,_0x3ae71c._0x1c75f6)]||typeof _0x273ab2[_0x5e0dde(0x754,0x4e0)]!==_0x48e671(0x2cf,_0x3ae71c._0x1b79e8))return null;return{'pid':_0x273ab2[_0x48e671(_0x3ae71c._0x4a64f7,0x404)],'startedAt':_0x273ab2[_0x5e0dde(_0x3ae71c._0x4a5ca5,0x552)+'t']??new Date(0x0)[_0x48e671(0x1a2,_0x3ae71c._0x4d8e37)+_0x5e0dde(0x549,0x2d6)]()};}catch{return null;}}function readRuntimeRegistry(){const _0x32b7cc={_0x2a9e3d:0x2ca,_0x4bd59c:0x7a,_0x4593f4:0x552,_0x5ce86b:0x2d3},_0x2c3798={'ETAlN':function(_0x5ec256,_0x5918da,_0x1a9adc){return _0x5ec256(_0x5918da,_0x1a9adc);}};function _0x36f390(_0x182932,_0x2a50ce){return _0x26b3dd(_0x2a50ce- -0x68a,_0x182932);}function _0xeb2777(_0x2cedff,_0x7b73d8){return _0x26b3dd(_0x2cedff- -0x49c,_0x7b73d8);}if(!_0x3e4d20(RUNTIME_REGISTRY_PATH))return[];try{const _0x1e0f99=JSON[_0xeb2777(0x6f,0x25a)](_0x2c3798['ETAlN'](_0x156eb6,RUNTIME_REGISTRY_PATH,_0xeb2777(0x15c,_0x32b7cc._0x2a9e3d)));if(!Array[_0x36f390(-0xa9,_0x32b7cc._0x4bd59c)](_0x1e0f99))return[];const _0x24f8a4=_0x1e0f99['map'](_0x431a27=>normalizeRuntimeProcessRecord(_0x431a27))[_0x36f390(_0x32b7cc._0x4593f4,_0x32b7cc._0x5ce86b)](_0x548628=>_0x548628!=null&&isPidRunning(_0x548628[_0x36f390(0x2f9,0x206)]));return writeRuntimeRegistry(_0x24f8a4),_0x24f8a4;}catch{return[];}}function writeRuntimeRegistry(_0x4c8816){const _0x37d139={_0x4a86ca:0x4ae,_0x469949:0x424,_0x2d89ef:0x2fe},_0x58c685={_0x57da90:0xcf};function _0x3813e3(_0x26b5ea,_0x44be27){return _0x3266d5(_0x26b5ea,_0x44be27-0x2e7);}if(_0x4c8816[_0x3813e3(_0x37d139._0x4a86ca,0x721)]===0x0){rmIfExists(RUNTIME_REGISTRY_PATH);return;}function _0x427762(_0x4d9caf,_0x4364c1){return _0x3266d5(_0x4d9caf,_0x4364c1- -_0x58c685._0x57da90);}ensureServiceDirs(),_0x242f96(RUNTIME_REGISTRY_PATH,JSON[_0x3813e3(_0x37d139._0x469949,_0x37d139._0x2d89ef)+'y'](_0x4c8816,null,0x2)+'\x0a','utf8');}function normalizeRuntimeProcessRecord(_0x11f2c9){const _0x49de05={_0x59b208:0x2f1,_0x97d334:0x568,_0x5ec2cc:0x5ad,_0x4a6153:0x25d,_0x437b1d:0x5da,_0x4ed58a:0x799,_0x4c7d6d:0x4df,_0x37b29c:0x48a,_0x84b36f:0x42,_0x1580dc:0x1c3,_0x5b17c4:0x96,_0x300855:0x473,_0x25433e:0x600,_0x17ac75:0x206},_0x47301f={_0x4f0060:0x328},_0x446ea2={'OxAPG':function(_0x5511a9,_0x2d4dc4){return _0x5511a9!==_0x2d4dc4;},'YuDjj':'number','seEIN':function(_0x27c8bd,_0x609039){return _0x27c8bd(_0x609039);}};function _0x1e7d1c(_0x4260be,_0x4e9e92){return _0x26b3dd(_0x4260be- -0x644,_0x4e9e92);}if(!_0x11f2c9||_0x446ea2[_0x1e7d1c(-0xf8,0x46)](typeof _0x11f2c9,'object'))return null;const _0x1a48b0=_0x11f2c9;if(!_0x1a48b0[_0x1e7d1c(0x24c,0x239)]||typeof _0x1a48b0[_0x947787(_0x49de05._0x59b208,_0x49de05._0x97d334)]!==_0x446ea2[_0x947787(0x34c,0x1ee)])return null;const _0x379bb1=typeof _0x1a48b0[_0x947787(_0x49de05._0x5ec2cc,0x579)+'th']==='string'?_0x446ea2[_0x1e7d1c(0x1be,0x100)](resolveScriptPath,_0x1a48b0[_0x1e7d1c(_0x49de05._0x4a6153,0x104)+'th']):'';if(!_0x379bb1)return null;function _0x947787(_0x21c0ba,_0x39c9bc){return _0x26b3dd(_0x39c9bc- -_0x47301f._0x4f0060,_0x21c0ba);}return{'pid':_0x1a48b0[_0x1e7d1c(0x24c,0x504)],'startedAt':typeof _0x1a48b0[_0x947787(0x6d8,_0x49de05._0x437b1d)+'t']===_0x947787(_0x49de05._0x4ed58a,_0x49de05._0x4c7d6d)?_0x1a48b0[_0x947787(_0x49de05._0x37b29c,0x5da)+'t']:new Date(0x0)['toISOStr'+_0x1e7d1c(_0x49de05._0x84b36f,0x6c)](),'gatewayId':typeof _0x1a48b0['gatewayI'+'d']===_0x1e7d1c(_0x49de05._0x1580dc,_0x49de05._0x5b17c4)?_0x1a48b0[_0x1e7d1c(0x1d1,_0x49de05._0x300855)+'d']:'','instanceId':typeof _0x1a48b0[_0x947787(_0x49de05._0x25433e,0x6c6)+'Id']===_0x947787(0x598,0x4df)?_0x1a48b0['instance'+'Id']:'','serviceMode':_0x1a48b0[_0x1e7d1c(0x4d,0x27f)+_0x947787(_0x49de05._0x17ac75,0x1e5)]===!![],'scriptPath':_0x379bb1};}function stopRunningProcess(){const _0xf654b={_0x3c636e:0x3ad,_0x559750:0x3ad,_0x31f4e1:0x2d9,_0x2f719f:0x930,_0x494e51:0x5b,_0x300335:0xa47,_0x23d5f7:0x546,_0xb4fc82:0x7d8,_0x2ec882:0x6c0,_0x16f1d8:0x837,_0x2e31b5:0x37e},_0x3bad4d={_0x488081:0x437};function _0x2cd045(_0x52a0ed,_0x28bd24){return _0x3266d5(_0x28bd24,_0x52a0ed- -0x82);}function _0x592c53(_0x28f883,_0x663d2f){return _0x3266d5(_0x28f883,_0x663d2f-_0x3bad4d._0x488081);}const _0x355419={'wRopQ':function(_0x194b07){return _0x194b07();},'WJNgZ':function(_0x530a13,_0x112359,_0xfb8c14){return _0x530a13(_0x112359,_0xfb8c14);},'NCNzB':_0x2cd045(_0xf654b._0x3c636e,0x259),'ESaFX':function(_0x4f658a,_0x22a791){return _0x4f658a(_0x22a791);}},_0x46f338=_0x355419[_0x592c53(0x880,0x7a8)](readServiceState);if(!_0x46f338)return;_0x355419['WJNgZ'](execIgnoreFailure,process[_0x2cd045(0x453,0x2d0)]===_0x2cd045(_0xf654b._0x559750,_0xf654b._0x31f4e1)?_0x2cd045(0x3cd,0x688):_0x2cd045(0x487,0x31d),process[_0x592c53(_0xf654b._0x2f719f,0x90c)]===_0x355419[_0x2cd045(_0xf654b._0x494e51,0x6a)]?[_0x2cd045(0x4b5,0x215),String(_0x46f338['pid']),'/T','/F']:[_0x592c53(_0xf654b._0x300335,0x878),_0x355419[_0x592c53(_0xf654b._0x23d5f7,_0xf654b._0xb4fc82)](String,_0x46f338[_0x592c53(_0xf654b._0x2ec882,_0xf654b._0x16f1d8)])]),clearServiceState(_0x46f338[_0x2cd045(_0xf654b._0x2e31b5,0x2e9)]);}function listPosixRuntimePids(_0x3fc302){const _0xfeb493={_0x219e98:0x4f8,_0x2c41a9:0x18e,_0x140912:0x439,_0x4644e8:0x453,_0x1096c5:0x8bd,_0x4aee7a:0x76e,_0x5206d9:0x38a,_0x4fd4e5:0x8d0,_0x10eb3c:0x907},_0x17b2cb={_0x3db25f:0x1bc,_0x5a6644:0x1dc,_0x2f0294:0x16d},_0x87a931={_0x5d093f:0x1b3},_0x4aac37={_0x48e3cb:0x62b};function _0x3159e3(_0x337328,_0x4a70d7){return _0x26b3dd(_0x4a70d7- -0x56,_0x337328);}const _0x3babbb={};_0x3babbb['VoXpN']='-ax';const _0x2ed20e=_0x3babbb;if(!_0x3fc302||process[_0x2a255c(_0xfeb493._0x219e98,0x4df)]===_0x2a255c(_0xfeb493._0x2c41a9,_0xfeb493._0x140912))return[];function _0x2a255c(_0x558cf7,_0x4e9bbd){return _0x26b3dd(_0x4e9bbd- -0x486,_0x558cf7);}try{const _0x481dec={};_0x481dec[_0x3159e3(0x362,_0xfeb493._0x4644e8)]=_0x2a255c(-0x14e,0x172);const _0x213dbf=execFileSync('ps',[_0x2ed20e[_0x3159e3(0x8c1,_0xfeb493._0x1096c5)],'-o',_0x3159e3(0x9c4,_0xfeb493._0x4aee7a)+'s='],_0x481dec);return _0x213dbf[_0x2a255c(0x1ea,_0xfeb493._0x5206d9)]('\x0a')[_0x3159e3(_0xfeb493._0x4fd4e5,0x74a)](_0x452f6a=>_0x452f6a[_0x3159e3(0x4fa,0x760)]())[_0x3159e3(0xa94,_0xfeb493._0x10eb3c)](Boolean)['flatMap'](_0x5b7601=>{const _0x19ec26=_0x5b7601[_0xe5a80f(_0x17b2cb._0x3db25f,-0x7)](/^(\d+)\s+(.*)$/);if(!_0x19ec26)return[];function _0xe5a80f(_0x4f9147,_0x2fbba4){return _0x3159e3(_0x2fbba4,_0x4f9147- -_0x4aac37._0x48e3cb);}const _0x2ca4f7=Number(_0x19ec26[0x1]),_0x4c03d4=_0x19ec26[0x2];if(!Number[_0x3b45f4(0x34b,0x3ad)+'r'](_0x2ca4f7)||_0x2ca4f7<=0x0||_0x2ca4f7===process[_0xe5a80f(0x20f,0x47e)])return[];if(!_0x4c03d4['includes'](_0x3fc302))return[];if(!/\brun\b/[_0xe5a80f(-_0x17b2cb._0x5a6644,-_0x17b2cb._0x2f0294)](_0x4c03d4))return[];function _0x3b45f4(_0x44bf87,_0x1fd0f4){return _0x3159e3(_0x1fd0f4,_0x44bf87- -_0x87a931._0x5d093f);}return[_0x2ca4f7];});}catch{return[];}}function isPidRunning(_0x3337cd){const _0x161a36={_0x4eecc7:0x3f5};function _0x61577d(_0x24fbae,_0x114d30){return _0x26b3dd(_0x24fbae- -0x5a4,_0x114d30);}try{return process[_0x61577d(_0x161a36._0x4eecc7,0x590)](_0x3337cd,0x0),!![];}catch{return![];}}function waitForPidExit(_0x36ee44,_0x3d6d1b){const _0xca90e4={_0x435394:0x82};function _0x201be3(_0x138336,_0x368496){return _0x26b3dd(_0x368496- -_0xca90e4._0x435394,_0x138336);}const _0x43b096=Date[_0x201be3(0x591,0x670)]()+_0x3d6d1b,_0x594d43=new Int32Array(new SharedArrayBuffer(0x4));while(isPidRunning(_0x36ee44)){if(Date['now']()>=_0x43b096)return![];Atomics['wait'](_0x594d43,0x0,0x0,0x32);}return!![];}function startDetachedWindowsService(_0x46a1fa){const _0x302d65={_0x40e491:0x14f,_0xb4ef77:0x99,_0x40e775:0x1da,_0x2cfc7f:0x77b,_0x48d602:0x3aa,_0x14fa70:0x4f7,_0x3ea20f:0x2c4,_0x10cf5a:0x2bb},_0x3bcb44={_0x20abf6:0x265},_0xf3d6da={'jPYtb':function(_0x466e75,_0x8b9d3e,_0x2e58d0){return _0x466e75(_0x8b9d3e,_0x2e58d0);},'lAlFd':function(_0x31492e,_0x172d48){return _0x31492e(_0x172d48);}};function _0x2395f1(_0xde81b6,_0x2fd67c){return _0x3266d5(_0x2fd67c,_0xde81b6-0x2df);}function _0x3d111d(_0x32d050,_0x5b16ec){return _0x3266d5(_0x32d050,_0x5b16ec- -_0x3bcb44._0x20abf6);}const _0x4fd3f5=openSync(SERVICE_LOG_PATH,'a'),_0xdeeff4=_0xf3d6da[_0x3d111d(0x328,_0x302d65._0x40e491)](openSync,SERVICE_ERROR_LOG_PATH,'a');try{const [_0xb52cc4,..._0x2c55eb]=_0x46a1fa,_0x43d626={};_0x43d626[_0x3d111d(-_0x302d65._0xb4ef77,_0x302d65._0x40e775)]=!![],_0x43d626[_0x2395f1(0x5ce,_0x302d65._0x2cfc7f)]=[_0x2395f1(_0x302d65._0x48d602,_0x302d65._0x14fa70),_0x4fd3f5,_0xdeeff4],_0x43d626[_0x3d111d(0x380,_0x302d65._0x3ea20f)+'ide']=!![];const _0x295ce7=spawn(_0xb52cc4,_0x2c55eb,_0x43d626);_0x295ce7[_0x3d111d(-_0x302d65._0x10cf5a,-0x1da)]();}finally{closeSync(_0x4fd3f5),_0xf3d6da['lAlFd'](closeSync,_0xdeeff4);}}function startDetachedPosixService(_0x1fbb21){const _0x513cd8={_0x2df36a:0x1e9,_0x2a08b3:0x3ee,_0x5ed805:0x22e,_0x4efc9e:0x1fc,_0xcdb99e:0x17,_0x53e265:0x1b5,_0x3dbb23:0x36,_0x16ca4d:0xb7};function _0x45c554(_0xb210a2,_0x4dea67){return _0x26b3dd(_0x4dea67- -0x551,_0xb210a2);}const _0x1483d9={'rVcoX':function(_0x4e19b3,_0x3a9c0b,_0xb5b57b){return _0x4e19b3(_0x3a9c0b,_0xb5b57b);},'wociA':function(_0xba6ab2,_0x24a33f,_0x1fcfc5,_0x20d604){return _0xba6ab2(_0x24a33f,_0x1fcfc5,_0x20d604);},'yYvbw':function(_0x1da165,_0x2928e8){return _0x1da165(_0x2928e8);}};function _0x3014f2(_0x21612e,_0x4e956f){return _0x26b3dd(_0x4e956f- -0x64c,_0x21612e);}const _0x219c04=openSync(SERVICE_LOG_PATH,'a'),_0x344e63=_0x1483d9[_0x3014f2(0x3c0,0x3ac)](openSync,SERVICE_ERROR_LOG_PATH,'a');try{const [_0x525c3d,..._0x545b37]=_0x1fbb21,_0x4a8f55={};_0x4a8f55[_0x45c554(_0x513cd8._0x2df36a,0x37e)]=!![],_0x4a8f55[_0x45c554(_0x513cd8._0x2a08b3,_0x513cd8._0x5ed805)]=['ignore',_0x219c04,_0x344e63];const _0x2c2361=_0x1483d9[_0x3014f2(_0x513cd8._0x4efc9e,_0x513cd8._0xcdb99e)](spawn,_0x525c3d,_0x545b37,_0x4a8f55);_0x2c2361[_0x45c554(_0x513cd8._0x53e265,-_0x513cd8._0x3dbb23)]();}finally{closeSync(_0x219c04),_0x1483d9[_0x45c554(0x172,-_0x513cd8._0x16ca4d)](closeSync,_0x344e63);}}async function waitForRuntimeState(_0x48969b=0x5dc,_0x4b3fa8=0x32){const _0x1e09e1={_0x30e45f:0x6aa,_0x1e91bc:0x43a,_0x4a8aa7:0x740,_0x175111:0x5ff},_0x300076={_0x322354:0x29b},_0x38c8f4={_0x872d72:0x182},_0x471e17={'ipezd':function(_0x41b9a1){return _0x41b9a1();}};function _0x57aac6(_0x517686,_0x553579){return _0x3266d5(_0x517686,_0x553579-_0x38c8f4._0x872d72);}const _0x3110e1=Date['now']()+_0x48969b;function _0x1ad64e(_0xcb1aa,_0x518da9){return _0x3266d5(_0x518da9,_0xcb1aa-_0x300076._0x322354);}let _0x4752c5=_0x471e17[_0x1ad64e(0x718,_0x1e09e1._0x30e45f)](getServiceStatus);while(Date[_0x1ad64e(0x4fd,_0x1e09e1._0x1e91bc)]()<_0x3110e1){if(_0x4752c5['running'])return _0x4752c5;await _0x3f83ac(_0x4b3fa8),_0x4752c5=_0x471e17[_0x57aac6(_0x1e09e1._0x4a8aa7,_0x1e09e1._0x175111)](getServiceStatus);}return _0x4752c5;}function installLinuxService(_0x1a6ae4){try{installLinuxSystemdService(_0x1a6ae4),removeLinuxCronRegistration();return;}catch(_0x5bd96b){installLinuxCronService(_0x1a6ae4,_0x5bd96b);}}function restartLinuxService(_0x225844){const _0x3e1316={'QNKMz':function(_0xb1ca09,_0x3cdf30,_0x16f9f5){return _0xb1ca09(_0x3cdf30,_0x16f9f5);}};try{restartLinuxSystemdService(_0x225844),removeLinuxCronRegistration();return;}catch(_0xd69874){_0x3e1316['QNKMz'](installLinuxCronService,_0x225844,_0xd69874);}}function installLinuxSystemdService(_0x2bd17a){const _0x14eeec={_0x204ccf:0x1c0,_0x22a76c:0x207,_0x404eca:0x747,_0x3b4955:0x6ff,_0xfc9f3d:0x162,_0x21d70d:0x559,_0x4580a0:0x4a9,_0x2b32bc:0xaa,_0xc90177:0x207,_0x2a0c20:0x574,_0x1545af:0x627,_0x4fa299:0xf7,_0xdc6d23:0x26d,_0x3ed586:0x841,_0x1c48f4:0x24d,_0xb2cd80:0x609,_0x1b28ec:0x5eb,_0x4a4466:0x8ca,_0x568628:0x853,_0x200223:0x947,_0x5a4ccc:0x8cc},_0x1b69af={'OcEDc':function(_0x3feca9,_0x27a7a2,_0x287666,_0x5e7a0e){return _0x3feca9(_0x27a7a2,_0x287666,_0x5e7a0e);},'OYJVo':'--now','mMEKO':function(_0x3cf952,_0xc59473,_0x32950c,_0x45fe3c){return _0x3cf952(_0xc59473,_0x32950c,_0x45fe3c);},'LkfmX':'utf8','LDgka':function(_0x92db63,_0x30699e,_0x43fdb3){return _0x92db63(_0x30699e,_0x43fdb3);}},_0x3ddf1b=(_0x42ad9e(_0x14eeec._0x204ccf,0x192)+'1')['split']('|');let _0x49fe66=0x0;function _0x42ad9e(_0xaba5e1,_0x48b61f){return _0x3266d5(_0xaba5e1,_0x48b61f- -0x82);}function _0x262d58(_0x56361d,_0x126f9e){return _0x3266d5(_0x126f9e,_0x56361d-0x4be);}while(!![]){switch(_0x3ddf1b[_0x49fe66++]){case'0':if(!commandExists(_0x42ad9e(0xfb,_0x14eeec._0x22a76c)+'l'))throw new Error(_0x262d58(_0x14eeec._0x404eca,_0x14eeec._0x3b4955)+_0x42ad9e(_0x14eeec._0xfc9f3d,0x327)+'\x20availab'+'le');continue;case'1':const _0x3ddc25={};_0x3ddc25[_0x42ad9e(0xeb,0x26d)]=_0x42ad9e(-0x17b,0x49),_0x1b69af[_0x42ad9e(_0x14eeec._0x21d70d,_0x14eeec._0x4580a0)](execFileSync,_0x42ad9e(_0x14eeec._0x2b32bc,_0x14eeec._0xc90177)+'l',[_0x42ad9e(0x68,0x97),'enable',_0x1b69af[_0x262d58(_0x14eeec._0x2a0c20,_0x14eeec._0x1545af)],SYSTEMD_UNIT_NAME],_0x3ddc25);continue;case'2':_0x242f96(LINUX_SERVICE_PATH,_0x1b69af[_0x262d58(0x722,0x6df)](buildLinuxSystemdUnit,_0x2bd17a,SERVICE_LOG_PATH,SERVICE_ERROR_LOG_PATH),_0x1b69af['LkfmX']);continue;case'3':const _0x5486de={};_0x5486de[_0x42ad9e(_0x14eeec._0x4fa299,_0x14eeec._0xdc6d23)]=_0x262d58(0x589,_0x14eeec._0x3ed586),execFileSync('systemct'+'l',[_0x42ad9e(_0x14eeec._0x1c48f4,0x97),_0x262d58(_0x14eeec._0xb2cd80,_0x14eeec._0x1b28ec)+_0x42ad9e(0x486,0x1fa)],_0x5486de);continue;case'4':const _0x4c337f={};_0x4c337f[_0x262d58(_0x14eeec._0x4a4466,_0x14eeec._0x568628)+'e']=!![],_0x1b69af[_0x262d58(_0x14eeec._0x200223,_0x14eeec._0x5a4ccc)](_0x28c50d,dirname(LINUX_SERVICE_PATH),_0x4c337f);continue;}break;}}function restartLinuxSystemdService(_0x3e41b7){const _0x4af5ae={_0x5a970e:0x25e,_0x2ab6cb:0x126,_0x46176a:0x18,_0x4811a4:0xa4,_0x243155:0x2d0,_0x223d6a:0x7e1,_0x514eff:0x5e8,_0x21b915:0x368,_0x50f830:0x4bc,_0x7e72d9:0x37e,_0x519c1b:0x4bc,_0x566a80:0x67},_0x801585={'ucRWU':function(_0x26035b,_0x1364ea){return _0x26035b(_0x1364ea);},'sabvk':_0x52d08c(_0x4af5ae._0x5a970e,0x39b),'WSnvM':_0x2b7054(0x122,-0x11a)};if(!commandExists(_0x2b7054(-_0x4af5ae._0x2ab6cb,0xa4)+'l'))throw new Error(_0x2b7054(_0x4af5ae._0x46176a,_0x4af5ae._0x4811a4)+_0x52d08c(0x4ad,0x5dc)+_0x2b7054(_0x4af5ae._0x243155,0x382)+'le');function _0x2b7054(_0x1aff19,_0x871080){return _0x26b3dd(_0x871080- -0x675,_0x1aff19);}if(!_0x801585[_0x2b7054(0xa,0x2d)](_0x3e4d20,LINUX_SERVICE_PATH)){installLinuxSystemdService(_0x3e41b7);return;}_0x242f96(LINUX_SERVICE_PATH,buildLinuxSystemdUnit(_0x3e41b7,SERVICE_LOG_PATH,SERVICE_ERROR_LOG_PATH),_0x801585[_0x52d08c(_0x4af5ae._0x223d6a,_0x4af5ae._0x514eff)]);const _0x411999={};_0x411999[_0x2b7054(0x373,0x10a)]='ignore',execFileSync(_0x52d08c(_0x4af5ae._0x21b915,_0x4af5ae._0x50f830)+'l',['--user',_0x52d08c(0xde,_0x4af5ae._0x7e72d9)+'eload'],_0x411999);function _0x52d08c(_0x223cb1,_0x174e73){return _0x26b3dd(_0x174e73- -0x25d,_0x223cb1);}const _0x137a14={};_0x137a14[_0x52d08c(0x6f9,0x522)]=_0x801585['WSnvM'],execFileSync(_0x52d08c(0x687,_0x4af5ae._0x519c1b)+'l',[_0x2b7054(-_0x4af5ae._0x566a80,-0xcc),'restart',SYSTEMD_UNIT_NAME],_0x137a14);}function installLinuxCronService(_0x2fd716,_0x2bbf99){const _0x3d9821={_0x4f6bb8:0x5f4,_0x3a6dc3:0x2a5,_0x54d0c3:0x61,_0x3504b2:0x34d,_0x26c0dc:0x2ac,_0x1678fc:0x13d,_0x4abbea:0x432,_0x5aebbc:0x407,_0x43ef18:0x7b9,_0x48f9ec:0x60c},_0x7848a0={_0x17819f:0x1f1},_0x1f0438={'yNXPq':function(_0xcc2e77,_0x1f683d){return _0xcc2e77(_0x1f683d);},'sZrhC':function(_0x580e72){return _0x580e72();}};if(!commandExists(_0x19b1ef(0x4dc,_0x3d9821._0x4f6bb8)))throw new Error(_0x19b1ef(_0x3d9821._0x3a6dc3,_0x3d9821._0x54d0c3)+_0x19b1ef(_0x3d9821._0x3504b2,0x5cc)+_0x19b1ef(0x2fb,0x12f)+'on\x20faile'+_0x19b1ef(_0x3d9821._0x26c0dc,_0x3d9821._0x1678fc)+'\x20crontab'+_0x19b1ef(0x70c,0x84b)+_0x4e0957(_0x3d9821._0x4abbea,0x58a)+'ilable:\x20'+_0x1f0438['yNXPq'](formatError,_0x2bbf99));function _0x19b1ef(_0x1a4c12,_0xc0c14c){return _0x26b3dd(_0x1a4c12- -_0x7848a0._0x17819f,_0xc0c14c);}rmIfExists(LINUX_SERVICE_PATH);const _0x144d59=buildLinuxCronEntry(_0x2fd716,SERVICE_LOG_PATH,SERVICE_ERROR_LOG_PATH);writeLinuxCrontabEntry(_0x144d59),_0x242f96(LINUX_CRON_RECORD_PATH,_0x144d59+'\x0a',_0x19b1ef(_0x3d9821._0x5aebbc,0x1d4));function _0x4e0957(_0x5b4110,_0x3806c1){return _0x26b3dd(_0x5b4110- -0x4f4,_0x3806c1);}_0x1f0438[_0x19b1ef(_0x3d9821._0x43ef18,_0x3d9821._0x48f9ec)](stopRunningProcess),startDetachedPosixService(_0x2fd716);}function hasLinuxCronRegistration(){const _0x466b05={_0x25306b:0x20f,_0x44b903:0x6e8,_0x724dd0:0x487,_0x35be25:0xfa},_0x1719cd={_0x20a341:0x313},_0x5a0096={_0x3ddf99:0x61c};function _0x2bcb25(_0x26c3f4,_0xb2d12d){return _0x26b3dd(_0xb2d12d- -_0x5a0096._0x3ddf99,_0x26c3f4);}function _0x55e38c(_0x52e958,_0x410461){return _0x26b3dd(_0x52e958- -_0x1719cd._0x20a341,_0x410461);}if(process[_0x2bcb25(_0x466b05._0x25306b,0x349)]!==_0x55e38c(_0x466b05._0x44b903,_0x466b05._0x724dd0))return![];return readLinuxCrontab()[_0x2bcb25(-0x6c,_0x466b05._0x35be25)](_0x240704=>_0x240704[_0x55e38c(0x63a,0x6ef)](LINUX_CRON_MARKER));}function _0x3266d5(_0x58cb42,_0x9e3226){const _0x491743={_0x57bbe9:0x16c};return _0x47f8(_0x9e3226- -_0x491743._0x57bbe9,_0x58cb42);}function removeLinuxCronRegistration(){const _0x403bc8={_0x3142a1:0x338,_0x159f47:0x5b4,_0x2778a8:0xcb,_0x42324a:0x356,_0x3f34ce:0x4a9,_0x367b71:0x4e6},_0x3c2239={_0x2c1f8a:0xc2},_0x3a9a98={};_0x3a9a98[_0x37c5f6(_0x403bc8._0x3142a1,_0x403bc8._0x159f47)]=_0x5bd9e2(_0x403bc8._0x2778a8,_0x403bc8._0x42324a);const _0x355783=_0x3a9a98;if(process['platform']!==_0x37c5f6(_0x403bc8._0x3f34ce,0x6b0))return;function _0x5bd9e2(_0x1cfea1,_0x312d31){return _0x3266d5(_0x1cfea1,_0x312d31-0x119);}if(commandExists(_0x355783[_0x37c5f6(0x338,_0x403bc8._0x367b71)])){const _0x2042a6=readLinuxCrontab()['filter'](_0x1b1c3f=>!_0x1b1c3f[_0x37c5f6(0x3fb,0x197)](LINUX_CRON_MARKER));writeLinuxCrontab(_0x2042a6);}function _0x37c5f6(_0x3792c3,_0x55843d){return _0x3266d5(_0x55843d,_0x3792c3- -_0x3c2239._0x2c1f8a);}rmIfExists(LINUX_CRON_RECORD_PATH);}function writeLinuxCrontabEntry(_0xa607c){const _0x464ade={_0x526204:0x22e};function _0xbe9845(_0x3f0094,_0x117e26){return _0x3266d5(_0x117e26,_0x3f0094- -0x274);}function _0x2b91cf(_0x1a87dc,_0x4d8270){return _0x3266d5(_0x4d8270,_0x1a87dc- -_0x464ade._0x526204);}const _0x12c2ff=readLinuxCrontab()['filter'](_0x5bde7c=>!_0x5bde7c[_0xbe9845(0x249,0x3a9)](LINUX_CRON_MARKER));_0x12c2ff[_0xbe9845(0x216,0x257)](_0xa607c),writeLinuxCrontab(_0x12c2ff);}function readLinuxCrontab(){const _0x5c93db={_0x17e2f7:0x4e3,_0x295d40:0x9,_0x138c60:0x13c,_0x5caab1:0x220,_0x48fe81:0x3a1,_0x452a39:0xe9,_0x2eaca4:0x221,_0x2d12f7:0x30,_0x46cca6:0x4b0};function _0x2d7f64(_0x48f882,_0x5320a5){return _0x26b3dd(_0x5320a5- -0x4ad,_0x48f882);}const _0x420906={};_0x420906[_0x2d7f64(0x4b0,_0x5c93db._0x17e2f7)]=_0x245af8(_0x5c93db._0x295d40,0x268);function _0x245af8(_0x41656d,_0x581fde){return _0x26b3dd(_0x41656d- -0x5ef,_0x581fde);}const _0x21f75d=_0x420906;if(!commandExists(_0x2d7f64(_0x5c93db._0x138c60,_0x5c93db._0x5caab1)))return[];try{const _0x3270a6={};_0x3270a6[_0x2d7f64(0x1f9,-0x4)]=_0x21f75d[_0x245af8(_0x5c93db._0x48fe81,0x118)];const _0x405210=execFileSync(_0x2d7f64(_0x5c93db._0x452a39,0x220),['-l'],_0x3270a6);return _0x405210[_0x245af8(_0x5c93db._0x2eaca4,_0x5c93db._0x2d12f7)]('\x0a')['map'](_0x1e88f2=>_0x1e88f2[_0x245af8(0x390,0x3c3)]())[_0x2d7f64(0x4f9,_0x5c93db._0x46cca6)](_0x1d516c=>_0x1d516c[_0x2d7f64(0x364,0x41d)]>0x0);}catch(_0x140969){if(isMissingCrontabError(_0x140969))return[];throw _0x140969;}}function writeLinuxCrontab(_0x314377){const _0x3be8e0={_0x40166f:0x2c5,_0x4c5c4c:0x160,_0xc3876:0x409,_0x2e486f:0x215,_0x455072:0x3ab,_0x2d2345:0x362,_0x389be0:0x17a,_0x1c16c0:0xa8},_0x301e56={_0x3718dd:0x3e1},_0x237c1a={};_0x237c1a['KqeXq']=_0x42969e(0x2ec,0x8c),_0x237c1a[_0x5cf916(0x223,_0x3be8e0._0x40166f)]=_0x42969e(0x17a,_0x3be8e0._0x4c5c4c);function _0x5cf916(_0x48dd29,_0x476e7e){return _0x26b3dd(_0x48dd29- -0x569,_0x476e7e);}function _0x42969e(_0x48a257,_0x34aeda){return _0x26b3dd(_0x48a257- -_0x301e56._0x3718dd,_0x34aeda);}const _0x291328=_0x237c1a;if(!commandExists('crontab'))return;if(_0x314377['length']===0x0){execIgnoreFailure(_0x291328[_0x42969e(0x4cd,_0x3be8e0._0xc3876)],['-r']);return;}execFileSync('crontab',['-'],{'input':_0x314377['join']('\x0a')+'\x0a','encoding':_0x42969e(0x217,0x32c),'stdio':[_0x42969e(0x254,_0x3be8e0._0x2e486f),_0x291328[_0x42969e(_0x3be8e0._0x455072,_0x3be8e0._0x2d2345)],_0x42969e(_0x3be8e0._0x389be0,_0x3be8e0._0x1c16c0)]});}function resolveScriptPath(_0x3ad68c){const _0x2ef609={_0x1d5843:0x163,_0x3b0baf:0x5d6},_0xb31a77={_0x449891:0x20c},_0x183b8a={'fQfLh':function(_0x3f9068,_0xaf6b84){return _0x3f9068(_0xaf6b84);}};function _0x4a603c(_0x58bb3f,_0x287517){return _0x3266d5(_0x58bb3f,_0x287517-0x80);}function _0xeb7d98(_0x1ee9db,_0x2a3cb1){return _0x3266d5(_0x1ee9db,_0x2a3cb1- -_0xb31a77._0x449891);}const _0x5c4ef9=_0x3ad68c?.[_0x4a603c(_0x2ef609._0x1d5843,0x3a6)]()||process['argv'][0x1]?.[_0x4a603c(0xfe,0x3a6)]()||'';if(!_0x5c4ef9)return'';try{return _0x183b8a[_0x4a603c(0x666,_0x2ef609._0x3b0baf)](realpathSync,_0x5c4ef9);}catch{return _0x5c4ef9;}}function ensureLaunchScriptExecutable(_0x2321e0,_0x235f72){const _0x4c126a={_0x277a4d:0x21c,_0x499884:0x1b3},_0x2aee81={_0x252d6a:0x496},_0x252121={_0x8973a4:0x213},_0x5bd68d={'kvuts':function(_0x89bd70,_0x350c21){return _0x89bd70(_0x350c21);}};function _0x41d9dd(_0xcd8d32,_0x211b0b){return _0x3266d5(_0x211b0b,_0xcd8d32- -_0x252121._0x8973a4);}if(_0x235f72===_0x41d9dd(_0x4c126a._0x277a4d,0x227)||!_0x5bd68d[_0x41d9dd(_0x4c126a._0x499884,0x2bd)](_0x3e4d20,_0x2321e0))return;function _0x2938c9(_0x2e2bee,_0x2e6e15){return _0x3266d5(_0x2e6e15,_0x2e2bee-_0x2aee81._0x252d6a);}try{chmodSync(_0x2321e0,0x1ed);}catch{}}function writeServiceLauncher(_0x4ff9f6){const _0x3cd472={_0x1c6f6c:0x475,_0x5a3056:0x106,_0x492a25:0x2c1,_0x61f89a:0x11,_0x3b4180:0x4f3,_0x56f62c:0x29f,_0x437b5b:0x8a8,_0x31434c:0x751,_0x1d9159:0x874,_0x31462c:0x7fc,_0x14a357:0x383,_0x18faa0:0x323,_0x3e738e:0x55f,_0x1007b1:0x54f,_0x1f4a97:0x370,_0x2a790b:0x282,_0x51e8ab:0x2b,_0x4adc00:0x10c,_0x40090d:0x35e,_0x444704:0xc,_0x3a288f:0xce,_0x4590f8:0x9c3,_0x51450e:0x831,_0x523b7b:0x27e,_0x44e94d:0x26e,_0xd0ab14:0x6c8,_0x28d0d8:0x642,_0x95f0ff:0x32f,_0x3fe77b:0x3bd,_0x28c53a:0x399,_0x1b6afd:0x52c,_0x7e7c9d:0x386,_0x27a0c3:0x7ff,_0x249929:0x29},_0x4e44af={_0x5105e9:0xfe},_0x3878e4={_0x569ddf:0x301},_0x57d54f={'dKyyL':function(_0x177126,_0x4ed613){return _0x177126(_0x4ed613);},'igTUL':function(_0x1c9c70,_0x4d5a93){return _0x1c9c70(_0x4d5a93);},'dsQbj':'\x20\x20exec\x20\x22'+_0x4b9b26(0x66a,_0x3cd472._0x1c6f6c)+_0x1993c8(-0x71,_0x3cd472._0x5a3056)+_0x1993c8(0x33c,_0x3cd472._0x492a25)+_0x1993c8(-0x35,-_0x3cd472._0x61f89a)+'-service','kkerY':_0x1993c8(0x219,0x2f2)+_0x1993c8(_0x3cd472._0x3b4180,0x405)+'RIPT_PAT'+_0x1993c8(-0x5b,-0x11)+_0x1993c8(0x26c,_0x3cd472._0x56f62c),'PYzin':'echo\x20\x22no'+_0x4b9b26(0x48e,0x668)+_0x4b9b26(0x71c,_0x3cd472._0x437b5b)+_0x4b9b26(_0x3cd472._0x31434c,0x557)+'\x20Clawket'+_0x4b9b26(_0x3cd472._0x1d9159,_0x3cd472._0x31462c)+'service\x22'+_0x1993c8(_0x3cd472._0x14a357,_0x3cd472._0x18faa0)};function _0x4b9b26(_0x46032f,_0x28d557){return _0x3266d5(_0x28d557,_0x46032f-_0x3878e4._0x569ddf);}function _0x1993c8(_0x54ad0f,_0x5b3a36){return _0x3266d5(_0x54ad0f,_0x5b3a36- -_0x4e44af._0x5105e9);}ensureServiceDirs();const _0x30caf5=[_0x4b9b26(_0x3cd472._0x3e738e,_0x3cd472._0x1007b1)+'h',_0x4b9b26(_0x3cd472._0x1f4a97,_0x3cd472._0x2a790b)+'ATH=\x22'+_0x57d54f[_0x1993c8(0x29e,_0x3cd472._0x51e8ab)](escapeShellDoubleQuoted,_0x4ff9f6['pathEnv'])+'\x22','NODE_PAT'+'H=\x22'+escapeShellDoubleQuoted(_0x4ff9f6[_0x1993c8(0x189,0x88)])+'\x22',_0x1993c8(_0x3cd472._0x4adc00,0x357)+_0x4b9b26(_0x3cd472._0x40090d,0x3d3)+_0x57d54f[_0x1993c8(-_0x3cd472._0x444704,_0x3cd472._0x3a288f)](escapeShellDoubleQuoted,_0x4ff9f6[_0x4b9b26(0x712,0x4a0)+'th'])+'\x22','if\x20[\x20-x\x20'+'\x22$NODE_P'+_0x4b9b26(0x861,_0x3cd472._0x4590f8)+_0x4b9b26(_0x3cd472._0x51450e,0x9e7),_0x57d54f[_0x1993c8(_0x3cd472._0x523b7b,_0x3cd472._0x44e94d)],'fi','if\x20comma'+_0x4b9b26(_0x3cd472._0xd0ab14,_0x3cd472._0x28d0d8)+'de\x20>/dev'+_0x4b9b26(_0x3cd472._0x95f0ff,_0x3cd472._0x3fe77b)+'&1;\x20then',_0x57d54f[_0x4b9b26(_0x3cd472._0x28c53a,0x198)],'fi',_0x57d54f[_0x4b9b26(_0x3cd472._0x1b6afd,0x33c)],_0x4b9b26(_0x3cd472._0x7e7c9d,0x3a0),''];return _0x242f96(SERVICE_LAUNCHER_PATH,_0x30caf5[_0x4b9b26(0x7dd,_0x3cd472._0x27a0c3)]('\x0a'),_0x1993c8(-_0x3cd472._0x249929,0x6a)),SERVICE_LAUNCHER_PATH;}function escapeShellDoubleQuoted(_0x5b6241){const _0x542bc6={_0x1762ef:0x264,_0x561a9a:0x20e,_0x368a9a:0x5a1,_0x59f77d:0x4e1,_0x526157:0x133};function _0x6b7f29(_0x39bd40,_0x3f83ad){return _0x26b3dd(_0x3f83ad- -0x6d9,_0x39bd40);}function _0x5ca6be(_0x504b28,_0x5310c9){return _0x26b3dd(_0x504b28- -0x346,_0x5310c9);}return _0x5b6241[_0x6b7f29(_0x542bc6._0x1762ef,_0x542bc6._0x561a9a)+'ll']('\x5c','\x5c\x5c')[_0x5ca6be(_0x542bc6._0x368a9a,_0x542bc6._0x59f77d)+'ll']('\x22','\x5c\x22')[_0x6b7f29(0x34c,_0x542bc6._0x561a9a)+'ll']('$','\x5c$')[_0x6b7f29(_0x542bc6._0x526157,0x20e)+'ll']('`','\x5c`');}function escapeShellWord(_0x2a24a4){const _0x286519={_0x58c133:0x900},_0x3af2bb={_0x16d911:0x36};if(_0x2a24a4[_0x173cf9(_0x286519._0x58c133,0xb79)]===0x0)return'\x27\x27';function _0x173cf9(_0x774ca6,_0xf31c84){return _0x26b3dd(_0x774ca6-_0x3af2bb._0x16d911,_0xf31c84);}return'\x27'+_0x2a24a4['replaceA'+'ll']('\x27','\x27\x22\x27\x22\x27')+'\x27';}function buildWindowsRunCommand(_0x38c889){function _0x2d9798(_0x3ad8bf,_0x28b52f){return _0x26b3dd(_0x28b52f- -0x2a2,_0x3ad8bf);}return _0x38c889['map'](escapeWindowsArg)[_0x2d9798(0x476,0x6ca)]('\x20');}function ensureServiceDirs(){const _0x4724e8={_0x3b3366:0x1cc},_0xb21bbe={_0x363eeb:0x12},_0x5d7a98={_0x519b00:0x3d9};function _0xf69617(_0x337c3d,_0x17ee45){return _0x3266d5(_0x17ee45,_0x337c3d-_0x5d7a98._0x519b00);}const _0x33e812={};_0x33e812[_0xa0347b(0x3fa,0x48f)+'e']=!![],_0x28c50d(SERVICE_DIR,_0x33e812);const _0x4c97b1={};function _0xa0347b(_0xc4463e,_0x47655c){return _0x3266d5(_0x47655c,_0xc4463e- -_0xb21bbe._0x363eeb);}_0x4c97b1[_0xa0347b(0x3fa,_0x4724e8._0x3b3366)+'e']=!![],_0x28c50d(LOG_DIR,_0x4c97b1);}function escapeXml(_0x476681){const _0x73d03b={_0x4d9f5f:0x4,_0x3ffc7c:0x284,_0x469287:0x1f3,_0x2b53cd:0xaf,_0x3adc76:0x55e,_0x588f55:0x2b9,_0x24c6eb:0x396,_0x498282:0x619,_0x11c966:0x530,_0x107588:0x46b,_0x57fad8:0x2d3,_0x5a866b:0x430},_0x133f28={_0x3c2f7b:0x614},_0x4e368e={_0x30640c:0x551};function _0x58c015(_0x443b85,_0x45a542){return _0x26b3dd(_0x443b85- -_0x4e368e._0x30640c,_0x45a542);}const _0x4128c8={};_0x4128c8[_0x58c015(_0x73d03b._0x4d9f5f,_0x73d03b._0x3ffc7c)]=_0x21869a(-_0x73d03b._0x469287,-_0x73d03b._0x2b53cd);function _0x21869a(_0x235f85,_0x32d0f6){return _0x26b3dd(_0x32d0f6- -_0x133f28._0x3c2f7b,_0x235f85);}_0x4128c8[_0x21869a(_0x73d03b._0x3adc76,_0x73d03b._0x588f55)]=_0x21869a(-0x13,-0x14f);const _0x4be79e=_0x4128c8;return _0x476681[_0x58c015(_0x73d03b._0x24c6eb,_0x73d03b._0x498282)+'ll']('&',_0x58c015(0x395,_0x73d03b._0x11c966))[_0x21869a(_0x73d03b._0x107588,_0x73d03b._0x57fad8)+'ll']('<',_0x4be79e['McatM'])[_0x21869a(0x528,_0x73d03b._0x57fad8)+'ll']('>',_0x4be79e[_0x21869a(0xb1,0x2b9)])['replaceA'+'ll']('\x22','&quot;')[_0x21869a(_0x73d03b._0x5a866b,0x2d3)+'ll']('\x27',_0x21869a(0x9f,0x18d));}function escapeSystemdArg(_0x37ecfc){const _0x50be9c={_0x379ee6:0xb5,_0x4bf76d:0x265,_0x2ce9f5:0x74c},_0x53a2ed={_0x1b93f5:0x682};function _0x5df48a(_0x58aded,_0x4e85a1){return _0x26b3dd(_0x4e85a1- -_0x53a2ed._0x1b93f5,_0x58aded);}function _0x58767b(_0x837342,_0x45bca3){return _0x26b3dd(_0x45bca3- -0x2b8,_0x837342);}return'\x22'+_0x37ecfc[_0x5df48a(_0x50be9c._0x379ee6,_0x50be9c._0x4bf76d)+'ll']('\x5c','\x5c\x5c')[_0x58767b(_0x50be9c._0x2ce9f5,0x62f)+'ll']('\x22','\x5c\x22')+'\x22';}function escapeWindowsArg(_0x1b0ffb){return'\x22'+_0x1b0ffb['replaceA'+'ll']('\x22','\x5c\x22')+'\x22';}function commandSucceeds(_0x4aa272,_0x180f46){const _0x20804={_0x665dc9:0xac},_0x3af584={_0x40a1ca:0x607},_0x247754={'ljMOx':function(_0x262fb1,_0x4f10c9,_0x2cac8d,_0x5e6dab){return _0x262fb1(_0x4f10c9,_0x2cac8d,_0x5e6dab);}};function _0x55fe6f(_0x2bc360,_0xaa5b8e){return _0x26b3dd(_0xaa5b8e- -_0x3af584._0x40a1ca,_0x2bc360);}try{const _0x571e50={};return _0x571e50['stdio']=_0x55fe6f(-0x2e5,-_0x20804._0x665dc9),_0x247754['ljMOx'](execFileSync,_0x4aa272,_0x180f46,_0x571e50),!![];}catch{return![];}}function commandExists(_0x450a64){const _0x2a7f34={_0x16253f:0x487,_0x1da12b:0x89f,_0x3b6c7f:0x7e1,_0xd684a9:0x550,_0x1cb227:0x45f,_0x49c4a8:0x627,_0x1df562:0x6d0},_0x2e3dea={_0x43dd91:0x367},_0x15cd2e={'eCcaZ':function(_0x3bf356,_0x4e2099){return _0x3bf356===_0x4e2099;},'JcMms':function(_0x173b9a,_0x41dd21){return _0x173b9a(_0x41dd21);}};function _0x271be5(_0x25c58a,_0x250042){return _0x26b3dd(_0x25c58a- -0x20,_0x250042);}function _0x552dbd(_0x2848e1,_0x21583f){return _0x26b3dd(_0x2848e1- -_0x2e3dea._0x43dd91,_0x21583f);}if(_0x15cd2e[_0x552dbd(0x40a,_0x2a7f34._0x16253f)](process[_0x552dbd(0x5fe,0x69c)],_0x271be5(_0x2a7f34._0x1da12b,_0x2a7f34._0x3b6c7f)))return commandSucceeds('where',[_0x450a64]);return commandSucceeds('sh',['-c',_0x271be5(_0x2a7f34._0xd684a9,_0x2a7f34._0x1cb227)+'-v\x20'+_0x15cd2e[_0x552dbd(_0x2a7f34._0x49c4a8,_0x2a7f34._0x1df562)](escapeShellWord,_0x450a64)]);}function execIgnoreFailure(_0x3a7618,_0x23f611){const _0x54cb50={_0x55dea9:0x1b0,_0x9d5f2e:0x20b},_0x38286a={_0x15bf05:0x27b};function _0x47cbe(_0x3b265d,_0x9be7eb){return _0x3266d5(_0x9be7eb,_0x3b265d- -_0x38286a._0x15bf05);}try{const _0x520c9d={};_0x520c9d['stdio']=_0x47cbe(-_0x54cb50._0x55dea9,-_0x54cb50._0x9d5f2e),execFileSync(_0x3a7618,_0x23f611,_0x520c9d);}catch{}}function rmIfExists(_0x63504f){if(!_0x3e4d20(_0x63504f))return;const _0x2907eb={};_0x2907eb['force']=!![],_0x4763ae(_0x63504f,_0x2907eb);}function isMissingCrontabError(_0x13b940){const _0x4dda8b={_0x48ac05:0x61d,_0x91dca6:0x32f,_0x206f0c:0x13d,_0x21f98d:0x3e4,_0x75c191:0x68a,_0x4b297f:0x72,_0x5cb984:0x6c6,_0x17ac5f:0x45f,_0x18e7ad:0x5e2,_0x16041f:0x6c,_0x55e514:0x91,_0x175827:0x35a,_0x54d603:0x601,_0x4fd296:0x636,_0xaea2b3:0x201,_0x3d387a:0x272,_0x5c9b41:0x27a},_0x41ee83={_0x272678:0x3df},_0x2904af={_0x4f55d4:0x1f9},_0x1986f1={};_0x1986f1['gakXJ']=_0x246628(0x8cb,_0x4dda8b._0x48ac05)+'ab\x20for';const _0x3b59e4=_0x1986f1;if(!(_0x13b940 instanceof Error))return![];const _0x4adc1e=_0x13b940[_0xce9e16(_0x4dda8b._0x91dca6,_0x4dda8b._0x206f0c)][_0xce9e16(_0x4dda8b._0x21f98d,0x35a)+'ase'](),_0x580afd=_0x13b940[_0x246628(_0x4dda8b._0x75c191,0x8a8)];function _0xce9e16(_0x1dc2e0,_0x2d34f9){return _0x3266d5(_0x1dc2e0,_0x2d34f9- -_0x2904af._0x4f55d4);}const _0x1967c4=typeof _0x580afd===_0xce9e16(_0x4dda8b._0x4b297f,0x17e)?_0x580afd[_0xce9e16(0x355,0x35a)+_0xce9e16(0xab,0x5e)]():Buffer[_0x246628(0x67f,_0x4dda8b._0x5cb984)](_0x580afd)?_0x580afd[_0x246628(_0x4dda8b._0x17ac5f,_0x4dda8b._0x18e7ad)](_0xce9e16(_0x4dda8b._0x16041f,-_0x4dda8b._0x55e514))[_0xce9e16(0x132,_0x4dda8b._0x175827)+_0x246628(_0x4dda8b._0x54d603,_0x4dda8b._0x4fd296)]():'';function _0x246628(_0x2a7fc0,_0x176b5b){return _0x3266d5(_0x2a7fc0,_0x176b5b-_0x41ee83._0x272678);}return _0x4adc1e['includes'](_0xce9e16(_0x4dda8b._0xaea2b3,0x45)+_0x246628(_0x4dda8b._0x3d387a,0x47e))||_0x1967c4['includes'](_0x3b59e4[_0xce9e16(0x102,_0x4dda8b._0x5c9b41)]);}function formatError(_0x328ce6){if(_0x328ce6 instanceof Error&&_0x328ce6['message'])return _0x328ce6['message'];return String(_0x328ce6);}import{randomBytes}from'crypto';import{existsSync as _0x1fa654,readFileSync as _0x593eae}from'fs';import{chmod,mkdir,readFile,rename,rm,writeFile}from'fs/promises';import{homedir as _0x3c82be}from'os';import{dirname as _0x5bba2e,join as _0x1d2c1b,resolve}from'path';var DEFAULT_GATEWAY_URL=_0x3266d5(0x12a,0x12b)+_0x3266d5(0x73f,0x4a2)+'8789',DEVICE_BOOTSTRAP_TOKEN_TTL_MS=0xa*0x3c*0x3e8,BOOTSTRAP_FILENAME=_0x3266d5(0x234,0x3a5)+'p.json',PAIRING_TOKEN_BYTES=0x20,withBootstrapLock=createAsyncLock();function resolveGatewayUrl(_0x201faf){const _0x53f55d={_0x59eeec:0x30d,_0x1a5acc:0x498,_0xa9c9b1:0x2f2,_0x4afe5f:0x112},_0x4b2839={_0x3f4cb0:0x122},_0x2d32f1={};_0x2d32f1[_0x925ec(0x49c,_0x53f55d._0x59eeec)]=function(_0x3476a2,_0x2d8e03){return _0x3476a2===_0x2d8e03;};const _0x5114ac=_0x2d32f1,_0x3f8a8e=_0x201faf?.['trim']();if(_0x3f8a8e)return _0x3f8a8e;function _0x925ec(_0x2e6eb7,_0x5901d8){return _0x3266d5(_0x5901d8,_0x2e6eb7-0x1c7);}const _0x7abd68=readOpenClawInfo();function _0x265061(_0x214943,_0x412add){return _0x3266d5(_0x412add,_0x214943- -_0x4b2839._0x3f4cb0);}if(_0x5114ac[_0x265061(0x1b3,0xef)](typeof _0x7abd68[_0x265061(0x430,_0x53f55d._0x1a5acc)+_0x925ec(0x30e,0x30d)],'number'))return _0x925ec(_0x53f55d._0xa9c9b1,0x3bf)+_0x265061(-0x20,_0x53f55d._0x4afe5f)+_0x7abd68[_0x925ec(0x719,0x950)+_0x265061(0x25,-0x1d1)];return DEFAULT_GATEWAY_URL;}function readOpenClawInfo(){const _0x556476={_0x8dbf7c:0x41,_0x3e46d2:0x2d4,_0x1e2e8e:0x2ce,_0xf0c615:0x2e9,_0x354890:0x2f2,_0x1c60d6:0x19a,_0x3c969a:0xac,_0x13186e:0x288,_0x3f109e:0x2cc,_0x59a200:0x12e,_0x38e73d:0x269,_0x54b3b3:0x156,_0x3251e5:0x252,_0x37f4ec:0x391,_0x4a59bd:0x1a1,_0x5d3206:0x108,_0xd5c9b:0x2b3,_0x1447d0:0x1c5,_0x299fbc:0xde},_0x497592={_0x2baaca:0x17};function _0x35096f(_0x567d65,_0x3fce7a){return _0x3266d5(_0x3fce7a,_0x567d65- -0x1d4);}function _0x292f70(_0x2f7d42,_0x5b11b8){return _0x3266d5(_0x5b11b8,_0x2f7d42- -_0x497592._0x2baaca);}const _0x15c745={'lIUHp':function(_0x452f97,_0x42d5ac){return _0x452f97(_0x42d5ac);},'MswUW':function(_0x19b793,_0x3b8358){return _0x19b793===_0x3b8358;},'qKoYs':_0x35096f(0x331,0xf9),'IPznc':function(_0x11750b){return _0x11750b();}},_0x4d9465=resolveOpenClawPaths();if(!_0x15c745[_0x35096f(0x215,-_0x556476._0x8dbf7c)](_0x1fa654,_0x4d9465[_0x292f70(_0x556476._0x3e46d2,_0x556476._0x1e2e8e)+'th']))return{'configFound':![],'gatewayPort':null,'authMode':null,'token':readGatewayTokenEnv(),'password':readGatewayPasswordEnv()};try{const _0x1d2be0=JSON['parse'](_0x593eae(_0x4d9465[_0x292f70(0x2d4,_0x556476._0xf0c615)+'th'],_0x35096f(-0x6c,0x94))),_0x203c2f=_0x1d2be0[_0x35096f(0xac,-0xc)]?.[_0x35096f(_0x556476._0x354890,0x2a0)],_0x451186=_0x15c745['MswUW'](typeof _0x203c2f,_0x15c745[_0x292f70(_0x556476._0x1c60d6,0x1f9)])&&Number[_0x292f70(0xad,0x289)+'r'](_0x203c2f)?_0x203c2f:null,_0x141dc9=_0x1d2be0[_0x35096f(_0x556476._0x3c969a,-0x94)]?.['auth']?.[_0x292f70(0x49a,0x70e)]===_0x292f70(_0x556476._0x13186e,0x452)||_0x1d2be0[_0x35096f(_0x556476._0x3c969a,_0x556476._0x3f109e)]?.[_0x292f70(0x75,-0x7c)]?.[_0x292f70(0x49a,0x226)]===_0x35096f(0x2b3,_0x556476._0x59a200)?_0x1d2be0[_0x292f70(_0x556476._0x38e73d,0xe0)][_0x292f70(0x75,0x37)]['mode']:null,_0x2fca13=readConfiguredSecret(_0x1d2be0[_0x292f70(0x269,_0x556476._0x54b3b3)]?.['auth']?.[_0x292f70(_0x556476._0x13186e,0xc4)])??readGatewayTokenEnv(),_0x1e54a4=_0x15c745['lIUHp'](readConfiguredSecret,_0x1d2be0[_0x35096f(_0x556476._0x3c969a,0x206)]?.['auth']?.[_0x292f70(0x470,0x3d0)])??readGatewayPasswordEnv(),_0x4f1f39={};return _0x4f1f39[_0x292f70(0x207,_0x556476._0x3251e5)+_0x292f70(0xde,-0xd1)]=!![],_0x4f1f39[_0x292f70(0x53b,_0x556476._0x37f4ec)+_0x292f70(0x130,_0x556476._0x4a59bd)]=_0x451186,_0x4f1f39[_0x35096f(_0x556476._0x5d3206,-0x17b)]=_0x141dc9,_0x4f1f39[_0x35096f(0xcb,0x240)]=_0x2fca13,_0x4f1f39[_0x35096f(_0x556476._0xd5c9b,0xd8)]=_0x1e54a4,_0x4f1f39;}catch{return{'configFound':!![],'gatewayPort':null,'authMode':null,'token':_0x15c745[_0x35096f(-_0x556476._0x1447d0,_0x556476._0x299fbc)](readGatewayTokenEnv),'password':readGatewayPasswordEnv()};}}function resolveGatewayAuth(){const _0x3e8b70={_0x4b7cb5:0x2d5,_0x4cac81:0x544,_0x14d1f9:0x326,_0x1886a0:0xbc,_0x2a1fa8:0xa2,_0x48d394:0x2f6,_0x22d393:0x227,_0x4a046a:0x47d,_0x1456ee:0x421,_0x1cb7a2:0x342,_0x2a1951:0x18d,_0x2ec027:0x22,_0x4f35c9:0x140,_0x231480:0x29e,_0x104acc:0xcb,_0x1bade8:0x62,_0x82a845:0x2e6,_0x1ccbb5:0x261,_0xd54739:0x33f,_0x558e61:0xad,_0x61fddd:0x21c,_0x560e22:0xe5,_0x220e0f:0x315,_0x2589b2:0x2d7,_0x15369e:0x57c,_0x420154:0x4bf,_0x7802de:0x59c,_0x4b84f4:0x2e,_0x130a7e:0x276},_0x22cc7c={_0x9b084c:0x211},_0x339dd6={'eAEET':function(_0x228c01){return _0x228c01();},'txjEy':function(_0x170f3d,_0x397efa){return _0x170f3d==_0x397efa;},'lvxPL':function(_0x272f23,_0x1badb8){return _0x272f23===_0x1badb8;},'IVQOC':_0x30f497(-0x72,0x8e)},_0x3a710e=_0x339dd6[_0x39006a(_0x3e8b70._0x4b7cb5,_0x3e8b70._0x4cac81)](readOpenClawInfo),_0x3bc830=_0x3a710e[_0x30f497(0x85,0x8e)],_0x1188fa=_0x3a710e[_0x39006a(_0x3e8b70._0x14d1f9,0x4bf)];if(_0x3bc830&&_0x1188fa&&_0x339dd6[_0x39006a(-_0x3e8b70._0x1886a0,0xe2)](_0x3a710e[_0x39006a(0x4ab,0x314)],null)){const _0x16d083={};return _0x16d083[_0x30f497(-_0x3e8b70._0x2a1fa8,0x8e)]=_0x3bc830,_0x16d083['password']=_0x1188fa,_0x16d083[_0x39006a(0x31e,_0x3e8b70._0x48d394)]=_0x39006a(_0x3e8b70._0x22d393,0x2d7),_0x16d083[_0x30f497(_0x3e8b70._0x4a046a,0x29a)]='OpenClaw'+'\x20has\x20bot'+_0x39006a(0x50b,0x502)+'y\x20token\x20'+_0x39006a(_0x3e8b70._0x1456ee,_0x3e8b70._0x1cb7a2)+'word\x20con'+_0x30f497(-0xd1,0xd4)+'\x20but\x20gat'+'eway.aut'+_0x39006a(0x11a,_0x3e8b70._0x2a1951)+_0x30f497(-0xd1,0x1cc)+_0x30f497(-_0x3e8b70._0x2ec027,_0x3e8b70._0x4f35c9)+_0x30f497(0x4ae,_0x3e8b70._0x231480)+'\x20token\x20o'+'r\x20passwo'+'rd\x20befor'+_0x39006a(0x526,0x47c)+'g.',_0x16d083;}if(_0x3a710e[_0x30f497(-0x14f,_0x3e8b70._0x104acc)]==='password'){const _0x61f26b={};return _0x61f26b[_0x39006a(_0x3e8b70._0x1bade8,0x2d7)]=null,_0x61f26b[_0x39006a(_0x3e8b70._0x82a845,0x4bf)]=null,_0x61f26b[_0x39006a(0x565,0x2f6)]=null,_0x1188fa?{'token':null,'password':_0x1188fa,'label':'password'}:_0x61f26b;}function _0x39006a(_0x5e0043,_0x50c750){return _0x3266d5(_0x5e0043,_0x50c750-0x38);}if(_0x339dd6['lvxPL'](_0x3a710e['authMode'],_0x339dd6[_0x30f497(_0x3e8b70._0x1ccbb5,-0x2f)])){const _0x164136={};return _0x164136[_0x39006a(_0x3e8b70._0xd54739,0x2d7)]=null,_0x164136['password']=null,_0x164136[_0x30f497(-0x1c7,_0x3e8b70._0x558e61)]=null,_0x3bc830?{'token':_0x3bc830,'password':null,'label':_0x39006a(_0x3e8b70._0x61fddd,0x2d7)}:_0x164136;}function _0x30f497(_0x215cef,_0x5fb19c){return _0x3266d5(_0x215cef,_0x5fb19c- -_0x22cc7c._0x9b084c);}if(_0x3bc830){const _0x29fff5={};return _0x29fff5['token']=_0x3bc830,_0x29fff5[_0x30f497(_0x3e8b70._0x560e22,0x276)]=null,_0x29fff5[_0x30f497(0x2a7,_0x3e8b70._0x558e61)]=_0x39006a(_0x3e8b70._0x220e0f,_0x3e8b70._0x2589b2),_0x29fff5;}if(_0x1188fa){const _0x32311d={};return _0x32311d[_0x39006a(0x5b,0x2d7)]=null,_0x32311d[_0x39006a(_0x3e8b70._0x15369e,_0x3e8b70._0x420154)]=_0x1188fa,_0x32311d[_0x30f497(0x205,0xad)]=_0x39006a(_0x3e8b70._0x7802de,_0x3e8b70._0x420154),_0x32311d;}const _0x38de3b={};return _0x38de3b['token']=null,_0x38de3b[_0x30f497(_0x3e8b70._0x4b84f4,_0x3e8b70._0x130a7e)]=null,_0x38de3b[_0x39006a(0xa9,_0x3e8b70._0x48d394)]=null,_0x38de3b;}function _0x1cc1(){const _0x8deb5e=['Bg8W','u21As1K','ohHrt0nfCq','zxDHEsa','B3vUDa','CYb1BNnLDc4','ugf0AdWVA2u','swq9','zuHvtKS','BgLUDxGTy3i','BM90igjLihm','lNnLCNzPy2u','zw1HBMqGzhi','cIaGpc9HCNi','igj1DcbZDg8','zwqGy29Kzt0','ugnTz0W','BeLvsha','zg9JDg9Y','BMCUieXLzNq','AwvUDeLK','u2vYDMLJzv0','B3qGzM91BMq','EsbruIbPBIa','icbLEgvJig4','CMvTB3rLsxa','zxrYEvrPBwu','z2f0zxDHEvu','CNvUlxjLz2K','vg9Rzw5gB3u','AwWGz2f0zxC','Ee5jsgW','BLrQs1K','CNvUBMLUzW','EwXOy2G','C3rVCciGzMK','ywnJzxnZq28','ywrK','ohWYFdv8nhW','DMjVEa','CgLK','z2f0zxDHEuG','r1nMtvG','BMCGy29UBMu','B2jZzxj2zum','C0fAy2S','B2S9zMfSC2u','ignVBMzPzYa','DwvZDcbYzxm','q3v2z0S','Bg9Nugf0Aa','Ag9ZDg5HBwu','CMvJDxjZAxy','CMvMCMvZAc0','ls1Syxn0ihy','AgfIBgu','zgzSyxjLigm','C2nYAxb0uge','DLrcu3O','Dw5HDMfPBge','ywrKCMvZCW','ls1NyxrLD2e','zxHJBhvKzva','y2XVC2u','CMvHy2HHyMW','FdL8mxWWFde','ifjLC3rHCNq','BwuGBM90igy','D3nZoG','C3vLzcbYzxe','s3fLwhe','y2XLyxjjBKy','yxrLza','id4MmG','uKW6ia','yxbWBguUy28','ywDLBNrZ','zxj2AwnLlMO','A2DWD3C','lMnSyxDRzxq','sLnKBha','yxrLD2f5t3a','ChzcvK8','Dd4kica8A2u','y2HHBgXLBMC','CMvXlq','cLr5Cgu9C2K','D2LUmZi','zw50CMLLCW','CxjjBwfNzva','r1HSzhi','rvvZzKS','CMfUzg9T','ihjLyxnVBJ0','EezHqwu','BMvJDgLUzW','y3jLyxrLv2u','zMLUza','BgvUz3rO','Axn0lteUmc4','nhWXnxW3Fdq','q1DfBhe','zxqGqNjPzgC','zgv0ywnOzwq','mJaW','lvrfuK0','A2LUz0rPCMu','CMvSyxLtzwm','zsbWywLYAw4','CYbTAxnZAw4','yuP6tvy','pd94BwWGDMu','yvvsy0S','w1vUAxrDcKq','z2uUANnVBG','qxrnCZ0','yNjPzgDLlwm','ugfZC3DVCMq','CgfPCMLUzYa','DgfZA2TPBgW','B3vUzcbMB3i','yxqG','sgLzAhK','DMLJzsbMB3i','BMzPzYbWyxq','u0nssvbux1a','jMfTCdS','CMvWBgfJzue','AxnZAw5Nx3i','tMfTztOG','y3qGAgfUzhm','zcbHigXVy2e','uMvXDwvZDfi','rMfPBgvKihq','Aw5Nr2f0zxC','tg9JywWGt3a','C2nVCgvZ','CMLUzYb3Axq','pL0GwY0TCMu','CKPsqKm','FdeWFdn8mtm','ignVBM5Ly3q','zxnJCMLWDgK','CNvU','zgLUzZ0Ivvq','ica8yxjYyxK','ywLUigf0igW','BgfZDe1Z','AguGyNjPzgC','igzHBgXIywm','Dg9Rzw4GAxm','C3rPBgWGCgu','lwPZB25D','rxjYB3iGtg8','C3rHCNrLzee','z2fRweO','igjYB3DZzxi','Aw5ZDc0','BcbNyxrLD2e','Dw5Kyxj5ihi','uMvZDgfYDgu','C2vUzfrVr2e','mNWZFdr8mxW','DxjS','zxHLy1bHDgG','AxbLEMq','tM8GBwf0y2G','BMD0Ad0','AgvHzgvYCW','uefjuKLor18','zxf1zxn0','vM9yCe4','u3rHCNrLzca','ChbLzc4GuMu','l3DZ','CgfZC3DVCMq','B3j0pL0GwY0','terNA2e','ChvZAa','Bgf1BMnOy3q','C2vHCMnO','AxngAw5PDgu','Axz3EgW','Bg9N','yxrLD2f5igK','zxnVBhzLza','BMv2veu','Eu9Wzw4','Esb0B2TLBIa','CM9JzxnZzxm','AYbPCYbHDMe','zgv2AwnLtMe','ChzNs20','y2XPzw50x2m','zwXHChnLzfm','ywLYic0TzM8','CgfPCIbYzxe','AxnhyxrLD2e','y29UzMLNoIa','Bgf3A2v0ihi','CfrVA2vU','whDjwKO','lJaUmc4XoJe','CNvUDgLTzs4','qNjPzgDL','zffMAwy','DxrVBwf0Awm','Aw52ywXPzf8','ktOGq2XVDwq','zxrYEurLBge','CM9TigeGzgK','zxjYB3i','Bg9ZAw5NigK','ywX1zxmGBgK','zMfTAwX5','ig1VzguGDg8','C2v0vgLTzw8','Bw9Kzq','y2XPzw50igq','DgfPBhmSig8','C2vYDMLJzva','yxv0AcbWyxq','twXvCxO','Dd4k','mti3lJaUmc4','v0jQwLy','CNvLlZ4kica','u3rHCNrPBMC','yxrLD2f5twu','Aw5JBhvKzxm','igzHAwXLzca','Ahzqzeq','ienSyxDRzxq','C2HPzNq','C0zVAK0','ExneAvi','B1zmEvG','ifSTlwzVCMm','Cg9YDa','rLzNrMG','BwvZC2fNzxm','C3rKzxjY','AcbNyxrLD2e','kcGOlISPkYK','EsbJAgvJAY4','zMLSDgvY','y29UBMvJDca','y29UDhjVBa','zxK+uNvUqxq','CMvXDwvZDa','seTdvvXtB2y','v2LUzg93C1W','DgfW','CgXHDgzVCM0','BgX3','iMnSyxDRzxq','zg9LCYbUB3q','AxmTywn0Axy','lY9OB3n0oNa','AxmGBg9JywW','AM9PBG','BMqU','ls1XCI1MAwW','CMLUzYbJB2q','s1PjyKm','CMvHzhLtDge','CMvJzw50','BfnUDe4','AgfUzgXLuMu','A3LQvwy','DxjSpL0GwY0','CMLKz2vdBgK','zxHPDa','z2vZ','zw5ZDxjLr2e','zguGAw4GDgG','AgfZ','zhrKiJ4kpha','y29Uy2f0','DhjPBuvUza','CMvMCMvZAgu','CNjVCKXVzW','AxnWBgf5tMe','nNW1FdH8mti','wevQAfy','D2XHBG','EMrgseW','ignSAsbZzxi','DwfQqxq','tg9NihbHDgG','uhrfrK8','tffxz0y','igHHBMrZAge','C3rVCa','sMnnBxm','zw1HBMq','y05gzgq','CMvSyxLtB2m','zxf1zxn0x2K','B2rLiciKu0m','CMfTCW','BNvTyMvY','iYbJBgf3A2u','vMHNEe4','s09Yvue','A2LSBa','zxjYB3jdB2q','uvf2u3q','zuffrvq','ls1QC29U','y3rVCNK9','uKvrvuLsruq','zxvLigjLzM8','l2fJy2vZCY0','CMvN','zxjZAw9Uxfi','su9PC1G','BYbKzxrLCM0','yMXLigr1CMK','y3jLyxrLzee','igf1DgHgAwu','CM9YoIa','C1PYAem','ihrVA2vUoIa','r3rLBwm','DgLTzwqGB3u','AxmGuviGy28','zg9JA2vY','CgvUzgLUz0C','zgvMyxvSDa','ihrVihnWzwm','C2GGzhjVCha','yxj0ienSyxC','mtb8mtn8mtC','phjLzgfJDgu','z2vYihrVihi','x0DbvevxqvK','D2LUzg93C0G','A2v0igfWCdO','t2nfrgm','zwrcEt1Kzwy','zxjLBNqGC2u','C2vHCMnOuge','qhjLyM9VDca','DgHLBG','zxDHEs5HDxq','uLLysKW','zxnO','zxjosxu','ig1LDgHVzd0','CuLKpq','l1bjra','Awz5igeGy3u','uNvUigbJBge','B25qzw5KAw4','DgvKoYbNyxq','wu9dyKS','ls1LCNjVCNm','D2f5uMvXDwu','CNnPB249iJe','zgfYD2LU','q29UzMLNrgK','DhLWzq','iI4GvxnLihy','B25iq00','yNjPzgDL','Axjjzva','CMvJB25Uzwm','BxvvBe0','B2zM','igLUDgvUDgK','ief1Dg9Tyxq','DvHdDgq','BgXDcLDHBNq','uxHvuvm','yxjNzxqkcLS','BNn0ywXSzwq','Agv4','z2f0zxDHEva','Dg9mB3DLCKm','yNiT','x1rps0vo','zLfMtgG','y2f0y2G','B0Dzs1y','BNqGDgHHDca','zMXHDe1HCa','zxDHEvf1zxu','BMC+','C25HChnOB3q','Aw5ZDgfUy2u','BgLZDcb2zxi','qvriiIbDoYa','AxjLza','zwqGyMfJA2C','qxv0BY1PBNm','Cc5Yzxf1zxm','Cc5LCNjVCG','Aw5LigeGtee','igf2ywLSywi','CLzJB1G','Bgf5twvZC2e','BguGzhjVCha','BgLUDxG','BgfZDfjLBge','B25Uzwn0zwq','DaPxyw50CZ0','Bgf5q29UDhi','zgLZy29UBMu','u2vYDMLJzsa','shHWDu8','iejYAwrNzsa','BM5pwey','BMvJDeHHBMq','C2LUzY4','mc4WlJaUma','y2XLyxjuAw0','BM9Uy2u','uviGAw1Hz2u','B25mB2C','igj1DcbNyxq','y0jWyxO','igDHDgv3yxK','x1bbu1nxt1i','lMfP','AxjPBMCU','CgfPCMvK','CMf3','ihn0B3aU','tK9ux1bbsvi','D2LUzg93CY0','C3rHCNqGDxi','tgLUDxGGC2u','Dgv3yxLnzxm','C2XPy2u','sw52ywXPzca','EvL2yNC','ls1Syxn0','q2XHD2TLDca','zcbHBMqGBM8','zgv2AwnLCW','svb6BMm','Bg9Hza','t0z5rhC','mtK5nePwB0fHta','tKP3s2e','rI04iJ8+cJW','DgvZDa','A2LUza','C3rYAw5NAwy','B249q2XHD2S','zw5JB2rPBMC','C3LZDgvTza','D3rQCvC','tg9NoIa','CgfYyw1Z','CMvZ','BIWGyw5Kihq','yxbWBhK','uNbbt2G','y2XPzw50q28','z2f0zxDHEvi','y29UzMLNrgK','v016rhy','C2rlvM4','BMvJDhm','zfvYBa','ls1SB2nHBa','CgfPCG','C2nOzwr1Bgu','zMzLCMvUDca','D2LMAq','l251BgWGmJ4','BwLZC2LUzW','CM91BMqGC2u','pGO8l2rPy3q','Cgf0Ag5HBwu','yxrO','B2X2zwqGCMu','jMD0oW','ignSAwvUDhm','tgHuqNO','Cgf5Bg9Hzc4','B3iGCgfZC3C','igLZihjLCxu','z2f0zxDHEvm','B2jQzwn0','zerLDMLJzxm','zhjVCfn0ywW','BgLLBNq','ihjLCxvLC3q','zgu9','zwL3uvq','B2nRzxq','zgvJAxnPB24','suTgDeK','y29UBMvJDa','y2HHBMDLzc4','B3iGDxnLige','zxHWAxjLC0e','z3jer3i','BK1JDwu','CI1MAwXLidW','mta0AhDQD2Ln','rxbfAKO','yxjNDG','y2XPzw50rgu','t0jAD3q','DM1Uzxq','CgvUzgLUz1a','zhzXAfi','ihrVDgfSpq','tgLICMfYEq','zxjYB3jmB2C','zwq9','Ahr0Chm6lY8','y29UzMLN','BIaIy2XHD2S','C3rHBgXHDgK','qvripsi','yxrLD2f5ihi','y1fmrgW','yxbWCM92zva','rgv0zwn0zwq','vuTxD1G','zevYCM9Ypwe','zxrcCMLKz2u','ChHcBNC','q2XLyxjLzca','C2nVCMu','sNr3yKS','Et5mywjLBdW','tw9IAwXLiem','y0Hbwvu','Dw5RBM93BG','C29U','A25ZtNi','zxHWB3j0ifa','Dg9Y','Dg9eyxrHvvi','Ag9ZDdPWB3i','B250ywi','BhjLywr5iha','C2L6zq','ugf0AdOG','ChjVDg9JB2W','u3rHCNrLza','y29UzMLNig4','cLnJyw4GDgG','CgfYC2u','qxrnCW','B2rL','DgvKihbSyxq','zt1WyxnZD28','B2S9Dhj1zq','z2vUzxjHDgu','ihrVihjLC3q','zxDHEvvYBa','yNjPzgDLlxm','zxHPDcaXmJC','wxveAMO','yxLnCW','CNrIzwf0','mM0SidfOlca','y29UC3rYDwm','Dw5Yzwy','yxv0Aa','Aw5ZDgfSBgu','D2fZig5VDca','q3vYCMvUDfy','BwLU','zsbdteKGC2m','C3LZDgvTzc0','DcbKB2vZig4','zcbZAw5JzuC','CxvLCNK','C3nHz2u9','zwzYzxnOzwq','A2TLCLK','AunAD0W','C2HHA2vZ','Bg9NCW','lY5VCgvUy2W','Ahr0CdOVlW','EKjfv2m','ywiGzM9Y','uMvTB3zLzca','DwvZDcbWzw4','u2vYDMvYifu','rM56r0u','y291BNq','qMfJA2DYB3u','zwnHDxnLigW','zM91BMq','B3nLzdOG','mti3AhLVD0Do','DhHQrxK','wKndCwy','y0XcAuC','yxDKBa','CNzPy2uGAw4','DxjSidX3CZO','DMLJzq','igrLDMLJzuK','BM90igLUC3q','ktOG','AK5iBuW','BM9VCa','t1LkvM8','vgHPCYbOB3m','C3rHCNq','m3WXFde0FdC','BI4GvxnLihK','q0Xbv0rct1q','t3HbueC','mci+cJXKAwm','DgfYDdOG','D2TLDcbKB2m','DxHrCvG','zMfSBgjHy2S','CLf1zxvLr2e','Euv3uwG','AxnjBNrLz2u','twnHDe0','B3vYignVBNq','ugfPCMLUzYa','BM90ihbHAxi','uen3ALi','yxj0','AwDUB3jL','C291CMnLq2W','zcbIywnRz3i','BMDqywLYuMu','C3rHBguGCxu','ig9YihbYB2m','ChvIBgLJs2u','zxDHEsbYzw0','yxKGCMvJB24','uMHWBuG','jMX0oW','B3bLBG','z2v0vgLTzq','q29UBMvJDeG','AgfUzhnOywS','C3rYEsbbueK','zxjYB3i6ia','AgvHCNrIzwe','tKnoEKi','Axn0CMf0Aw8','DMLJzsbYzxm','y29TBwfUzca','ywLYzwqGD2K','D3m6lY8','ruj3re4','ihrLEhq9','Aejwv3q','zgv0ywLSCW','Dw5hDfC','DcbHCha6cG','C2fNzq','lNbUzW','ywLUCYbUzwu','ig1HBMfNzxi','sciGCNvUic0','zgLZCgXHEu4','EwvZ','yMfJA2DYB3u','ienmssbZzxi','CM9Wzxj0EuW','C2fNzxmGyMu','DwvZDeLKpq','Dw5K','ndq3otzMrvbYtNq','EufJDgL2Axq','Cgf0AevUDG','ihnLCNzPy2u','BM9Uy2vqCMu','qwDeEge','CMvXDwLYzwq','BgLZDa','vK5oq2O','ChvZAfbLBMq','lIbsDw4GCge','shDIyuC','lJaUmc4XoG','C3rVCeHLyxi','vvjmoIa','qxjNDw1LBNq','DK12qva','rxPTvwO','D29YzcbJB24','C3rZ','uwnvBvK','ig5VBMnLuhi','zwqU','C2XVD1DHCM4','lZeYnY4WlJa','Dg90ywW','y2XVC2vhyxq','zwfZDcbVBMu','t3bLBKnSyxC','zNflCuG','zxqU','zsb5B3vYigm','ihjLCuLKpq','zgf0yq','l3yXl3bHAxi','ls11C2vY','B3bLBMnSyxC','uKvhx1nA','uLznswu','C2vUzeDHDgu','txvMtwO','y2XPzw50swq','ig1LzgLHoIa','BMv0D29YAYa','ugf0Aa','zM9Aue8','Aw5gBgLNAhq','BIbMywLSzwq','CgLUzW','lNbSAxn0','zsbYDw50Aw0','zeT5EuW','y29UBMvJDc4','D3m6lY8XmJC','AejdAKS','nZC4nuzyuMLvDq','tNzqrfq','C3rHCNrPBMC','CMLUzZ4','EsbYDw5UAw4','zhjVChbLzca','AdOG','B3rZDhjHCfi','r2f0zxDHEsa','lw5LDW','v2f2uwi','ihj1BNrPBwu','ChDsvgO','vw5ZDxbWB3i','yxv0AezPzwW','s0rqsMy','C2vYDMvYvxi','EgL5Cxi','CMvSyxKGzxi','lMPZB24','A2vtDgfYDgu','CgXHy2vD','pwfSD2f5CWO','DgLUzYbMB3i','B2TLBG','rKfdwxO','B3j0','suq6ia','B3bWzwqGDg8','B25tDgf0Dxm','zgfLBw9Ulxi','ig1VCMuGzgu','BwfPBG','Aw5Jzq','lwnSAq','CMvZCg9UC2u','lI4U','zg93BG','CgXHy2uIihq','ls1SAw5LCW','Ac5TB2rLigK','zxHPDenVzgu','B25Uzwn0sge','A2v5pKTLzxa','CMvSyxKGzgK','zwjVB3qU','BMvJDgvK','zw5nCZ0','ywn0Aw9U','uLHAz0y','ywrKugvUzgK','y29UDhjVBf8','ndi3nJu1z0zRvwTK','DgGG','CMvZAgvKlG','DhH1vhu','CxvLC3q','AxbZzwm','iurpq1rzueu','DxrMoa','uMvSyxLszwm','pg5VBMu+','zxzLBNq','Bwf4','ywXSzwq','zgvYia','Et4kica8Dhi','AcbMB3iGC2u','ru4IicjODhq','cGPBsw5ZDge','zg9yv1q','uND6u3O','BwfYA0rLDMK','pLn0yw5Kyxi','tfHJyM8','B2jZzxj2zuC','s0vKD2C','Bg9JywXhyxq','ywLYuMvXDwu','Bs9everZl1a','yLnVy2TLDa','icH0B2TLBIa','u3rYAw5N','CdOVl3D3DY4','t0LgyKy','igrLy2LZAw8','B3b0Aw9UCW','Et4kica8C3q','Dc1ICMLKz2u','BM9KzvbHDgG','ywnOywjSzsa','lM9Wzw5JBge','AM5wtvG','BMrHCMrpDxq','D3m6','DxnLCM5HBwu','zguGCNvUDgK','B250ywLUzxi','Aw5NpG','Fdj8mte','zMXHCMuGy2G','CIb1C2uGygm','C2nVCgvZig0','CMvYDw4GD2K','EgDNtMO','Dw50Aw1Lihm','AcbHigrPzMy','uxPOv1K','u0Lhvevstq','AevNuMy','y29Kzq','CYbHBhjLywq','m3WWFdv8mxW','BxbSzqPfEgu','BwfUzfn0yxi','EefAvK4','q29UzMLNoIa','C0f0','wwTYAMO','C3nHz2vZ','CgLWzq','lJe6mtG3odK','B24U','DhDHCMvCtwK','vNv1BuK','pGOGidXRzxK','z2f0zxDHEum','B3rZDhjHCca','vMvYC2LVBJO','pGO8l3bSAxm','w3n0yxr1C10','Aw5KzxHpzG','CuTVwxm','DgfPBhnJywW','Cgf0AdOG','BM5Ly3rLzca','Bg9NCYbMB3u','CNzPy2uGDg8','BsbNyxrLD2e','y29UBMvJDfi','C3rYEq','DgfSBgf0Aw8','A2v5CW','CMvSyxLvCMW','C29YDa','CMvNAxn0zxi','Es11CMW','CxjqyxLSB2e','sw5ZDgfUy2u','qxv0AcbTB2q','Axnoyu4','ugfPCMvKoIa','BMfTzq','DwvZDa','ANH1EvO','BgLUzxm','pL0GwY0Tzxi','DgfYDgvKige','vNjyEKC','AwDuvuW','y29UBMvJDeG','zuP4zvi','CMvZDgfYDa','zsbUzxCGCge','ihvYBd0','qLjSAwO','D29JAue','zxvLzcbNyxq','y29KzsbYzwy','CMvXDwvZDeK','wgvrDM8','ig1PC3nPBMC','yNjPzgDLihi','AxnZDwvKqxq','Dxn0ignVBNq','ihPLCM87igm','AMnWBfi','zxDHEq','y2uGD2fZigK','tuzcufK','zxqGyxbWoGO','svzrt0m','CNqGyxv0B20','yuTowwe','C2vYDMvY','zYbruI4','AxnTyxrJAa','phn0CMLUzZ4','zwqGka','C2nVBM5Ly3q','DMv0Aa','q29UzMLNrM8','Dw5PBNn0ywW','yMXVy2TLzca','zw50','zxqUyNjPzgC','DMvYlG','zgvK','uefusa','AxnszwXHEu8','zcbMB3iGzNi','Aw5N','ChbLBMq6','EuXtrhC','C2PTz2C','w2nSyxDRzxq','zxmUifjLC3q','AhvsA0W','vLvJtve','igvSyxbZzwq','Dw5SB2fK','uNLICfy','C2vYDMLJzu0','rvzNsfe','Dg9tDhjPBMC','veGIiciKu0m','igr1CgXPy2e','BMqGC2vYDMK','zevYCM9Yuge','AeHMqMO','t21dtwK','zxnZig1HBMe','zxf1zxn0CW','B2r5','AeH1sMS','y3jVC29MDfW','BM5Ly3qGyxq','zxrO','CNvUiIbTyw4','Dwnsv1u','m3WWFdr8mNW','mhW0Fdj8m3W','CMvZzxq','yw50ihrVigi','CxvLC3rDihi','ihjLz2LZDhi','CNvUDgLTzsa','EunVBNrYB2W','igvYCM9Ypq','zhKGCNvUBMK','zcbZzxj2Awm','y29UzMLNrM8','zwnVBM5Ly3q','y0nnCM8','C3bVBNnLigi','CMnnsNK','zxDHEsbTzxm','zgvfEhbPCMu','AhjoCLK','DMfPBgfIBgu','vNLKq3a','phvUA25VD24','Df9YzwXHEv8','zgLUz0DHDgu','ufL6Aw4','zgvZDhjVEq','ihzLCMLMAwm','ls1MB3jJzq','CMvWBgfJzq','BgKTzxjYB3i','zM9Yy2u','BvbetKC','phbHDgG+xsa','C3rHBguGAwq','tIbjucbHzgq','ywnRihrVia','Bg9JywW','qxjxu0G','v05UB28','CgvU','z2f0zxDHEsa','B3qGC3vWCg8','y3jVBNrHyG','BM8Gy3jVBNq','zcbKzwXHEu0','D2KTzMK','uxvPqLa','EhHpDxO','C3mGls11CMW','rLzgB2u','CxvLC3rjzd0','yxbWBgLJyxq','pLbYB2DYyw0','CM9U','BMrPBMCGCMu','yMfZzty0Dxi','sgPuu2S','Be1Z','yNjPzgDLlq','CMvSyxLbDhq','igzVCIbNyxq','DgHLienSyxC','yMLUyxj5','DwLYzwq','Dg9mB2nHBgu','AxmGC2fMzxq','ls1Zzxj2zxi','ANDQz0y','yxnL','C2v0','y2yTBwL0AwC','zgfYEvbLBMq','DgvZigfYzsa','t1bftKnmqvC','B3jKks4','iYeVyMLUl3m','Aw9Ul2PZB24','lw5HBwuGpgq','ue9tva','BM93','zw1WDa','Bu1fs08','vhPZswu','zgv2AwnLlNa','DxbKyxrLu24','yxnZAwDU','yxbZAg90','zxnLDciGyMu','r2vUzxjHDgu','Dgv3yxK','z0Ptugq','r2f0zxDHEvi','zxj2AwnLige','DgG8l2TLEt4','ywLYlMfWChi','ls1QC29Uxq','AgfRztSGCxu','AxnbCNjHEq','Bgf1BMnOzxi','wxn6A1e','ELjksvq','De1Z','DgvYpw5LDhC','z1HmBxC','yxr0zw1WDgu','zwXVywq','C3vJy2vLzgu','Aw5ZDgfSBa','ueHQz2S','z2f0zxDHEq','x0nptKzjr18','y0fctuq','CgPuDKS','ieLeoIa','zxnOignSAwu','C29Tzq','AwrLBNrPDhK','CuvrBuW','C3LZDgvTy3q','CZWVA2v5pGO','ls1YzxbSywm','Cgf0Ad5DifS','ywWGwY0TDxi','B3rOzxjuzxG','CMvSyxKGCMu','Aw5Qzwn0zwq','yw5Ktxm9','q2XHD2TLDei','zsbNyxrLD2e','y2vZuMvJzw4','ztOG','yLLqwhC','Dgv4Da','y2uGCMvNAxm','rw1WDhKGCMu','BNqGzgvTyw4','AguGq2XHD2S','DgfSBgvKigi','zxHWBgLJAxq','y2XLyxi','Dg9Rzw4','CMvXDwvZDgu','igf1DgGGAxm','Dd5DifSTlxe','ihrVA2vUigK','zwqGCMvXDwu','q0Xpu0ve','CMvJEwnSzsa','wY0TANnVBL0','ywX1zsaI','AvvUwgW','BxPQzKG','x1nuqvrfx0q','Aw5Ntg9Nz2u','ihjLBgf5pq','ywLYlNjLAMu','tgf1BMnOqwC','rML3uK4','igjPBMfYEt0','u2rMr2C','zxvLzcb1BNq','igTLChq9','DhjSk0mGDg8','CMvX','C2vYDMLJzuK','ywKUy2XHD2S','zxjYB3jdB3i','q2XP','z2uGCNvUDgK','DxnLCG','zxnLBNq9','BgfIzwW','yxrPyYbZDge','zMfPBgvK','zhjVChbLza','yxnZD29Yza','AxnJB25Uzwm','Cg9UzW','AxqU','z1zUr3y','B25Uzwn0Aw4','DgvKqxrnCW','A2v0','DNvUzwy','Bwv0Ag9K','ls1UB3C','CMvSyxKGy28','ihnPBMnLq2W','Bwf4ugf5Bg8','BgrZpq','DMLJzsbPBNm','Dw50Aw1LigK','B3zL','CMvZCY4Guge','vMzzuwW','s05VDeu','C2vYDMvYidW','B25Uzwn0','AgfUzgXLqM8','CMvJDgLVBKW','ywnJzxb0','yxv0Ae1Vzgu','igzYzxnOigq','C3rHCNrizwe','C0r6Exi','BM9Uy2vmzw4','zunJyvO','B25Jzq','Dgv3yxLdB24','C2vUza','zMLNDxjLzcW','y29KzsbBls0','AxncDwzMzxi','D2f5twvZC2e','uMvZDgfYDfm','ze5ND2u','y29UzMLNuge','ig9Yia','CMzmveC','CMvSyxLdB24','C3rKAw8','Axn0zxi','Ag9ZDa','ywLYlNjLC28','zgv2AwnLswq','rM91BMq','ANnVBG','Dg9YycbMB3i','r01kqLG','nta2mdu4wxfSEfHW','CMv0','C3rVBsbNyxq','CMvSyxKGyM8','yuzXsxe','vMzVueW','zgLZywjSzq','y2XHD2TLDca','Dw50','lxfYlwzPBgu','igfSC28GAgK','yxrLD2f5lxu','yxrLD2f5vxi','u2vYDMLJztO','Bg9Nu2XVD0m','zcbXDwv1zwq','ihrOzsbWywK','odi4ndq0r2LqzLjJ','yw5KihbHC3m','z2f0zxDHEvq','D3nZoI8V','z3rnr1u','r3zKv2W','Cgf5Bg9Hza','BwfW','jMfWB3m7','z1bWqwe','CM9Szq','BwfYz2LU','zNjVBq','lI4VCgfJA2e','D0DkAgy','Axjszxf1zxm','BgfZDevYCM8','lcbWDwjSAwm','Cgf0Aa','kYKRja','rxHWAxjLCZO','zM9YzsbWywK','BguGz2f0zxC','zsWGyw5Kihm','zxjYB3jnzxm','zgvMyxvSDeC','zxjZ','BgfZDfnLzw4','zM9YD2fYze8','DhjPBq','CgfPCIbBls0','rxjYB3iGBg8','BgfZDca8mM0','C3rHCNrZv2K','qxv0Ae1Vzgu','Bgf3A2v0iha','EsbWywLYAw4','C3rHDgveAxi','DhjHDgLVBI4','lJaIigvUy28','yxbWzw5KoG','mNWWFdf8m3W','C21HBgW','CgLKpsXHCMC','Bg9ZzujVDw4','BwvZC2fNzq','CM9YC10GwY0','C3rVChbLza','DMfSDwu','pc9ZDhjPBMC','sfv2qM4','rfH6zfC','ihbSAxn0ifa','CNzLCI4','zM9YzsbMBhu','DLHOvwu','BNqGq0Xjihi','BeHnC0y','BwLSEq','y2XHD2TLDc0','BwfYA1bHAxi','mJq3ndG2meHiBKrUzG','txm9','DcbWyxLSB2e','zMXVB3i','zw50CW','yMvAB3i','u0Lhsu5u','ALrfB1K','zsbJB3vSzca','z3Duy28','ugfPCIbYzwC','ifnLDcb0Agu','vxjS','z2v0','CNvUBMLUzZO','B2nHBcbBls0','B25SAw5LlNq','vLrzr1u','zgvSzxrL','C2vUDa','sK9xBMW','igvYCM9Yq28','zcbPCYbTAxm','Dw5ZDxbWB3i','BMrZAgfRzxm','ig5HBwu9','s0XougO','EuPTuhG','DgvKoYbJBg8','yMfZzty0','AxmGy3vZDg8','Eu1Z','icaGidXZDhi','AwXTzxe','zwXHEq','je5prevFuee','C2vYDMLJzq','ywnRz3jVDw4','zhnryMO','zw1HAw5Zig4','y2XVC2uGyM8','C3rHDgu','z2v0u25HChm','D1jVCfe','C2vfsu4','zxzLBa','y3rLzcbJB2q','D3DAswq','uuDWCKm','C3rYAw5N','A2uGmZbZlca','ihrYyw5ZAwu','zcbPCYbYzxe','AfLVsgO','C3rHDhvZ','zxqGAw5ZDge','DgHLihjLz2K','CxiTzMLSzsa','C3bSAxq','vgLPuhm','ChbW','zsbIywnRz3i','u2v5z0e','z2f0zxDHEuK','l3jVB3q','DNbU','yxbWCM92zwq','igHHCYbIB3q','zM9YBsbMB3i','DguGyNjPzgC','CMvQzwn0uge','t1bftG','q0vsr2G','DuroueS','y2HLzcbTB2q','Ag90','BgL1Bxu','C3bVBNnL','y2XVC2vKoIa','C3rHCNrLzca','Ee9ZCeK','y2XPzw50x2q','CMvNAxn0CNK','yxLnzxnZywC','EgXXtK4','DgjLyxq','cLn0yw5Kyxi','lxnLCNzPy2u','n3zezKfsuW','yw1L','uMrKufC','rvnHrLG','yxrLD2f5uMu','vvHVD3O','CNvUifSTlwC','yM9VDhn0CMe','igXVywqGDgG','C2vUzfjLBge','ver2yMu','BcbPCYbUB3q','sLrgtK0','mtq3nePJrfb5Bq','BM9stxC','Bwf0y2G','Dg9ju09tDhi','B3vUzcbZzxi','zYbWyxrOoIa','CM9SzsbPCYa','y29UBMvJDgu','uMvSyxKGvvi','ALbzDgi','C2fIDMS','rfb4A20','rKnJvvu','l2TLEt4kica','DgfYz2v0q2W','zwvKzwq','zcWGCNvUBMK','DM9lBvK','BhzLza','CMvXDwvZDca','uKLqvf9qqvq','ig5VBMnLtgu','txL3zhO','Bca8D3m6lY8','s1vdsu0','D2LKDgG','yxvSDc50yxi','A3z1Dhm','BMqGlxyGBM8','zgvUDgL0Esa','ihvUy2HHBMC','zuLKBgvhyxq','qKz5tKS','yw5KC2HHA2u','ihnJB3bL','s2v5lcbYB2W','iffsigLUihq','suHurxe','DfrPBwvY','CNn0lcbVCIa','nhWY','CMvQzwn0zwq','C2LVBJ0Ims4','C2LUzYbPzgW','ze91Dhb1Dd0'];_0x1cc1=function(){return _0x8deb5e;};return _0x1cc1();}function getOpenClawConfigDir(){const _0x226bdf={_0x199f59:0x449,_0x5d5c49:0x38c};function _0x5a1689(_0x3d4cd5,_0x364349){return _0x3266d5(_0x364349,_0x3d4cd5-0x425);}return resolveOpenClawPaths()[_0x5a1689(_0x226bdf._0x199f59,_0x226bdf._0x5d5c49)+'r'];}function getOpenClawStateDir(){const _0x4872be={_0xd0a93c:0x4b5},_0x543c91={_0xaa4e7c:0x279};function _0x41f1bb(_0x4f5669,_0xe4e1fe){return _0x26b3dd(_0xe4e1fe- -_0x543c91._0xaa4e7c,_0x4f5669);}return resolveOpenClawPaths()[_0x41f1bb(_0x4872be._0xd0a93c,0x545)];}function getOpenClawMediaDir(){return resolveOpenClawPaths()['mediaDir'];}function getOpenClawBootstrapPath(_0x88f091=getOpenClawStateDir()){const _0x18f88e={_0x2f467f:0x6fa,_0x1ddcca:0x4a0};function _0x2ca9ed(_0x51a69a,_0x2d7045){return _0x26b3dd(_0x51a69a-0xa8,_0x2d7045);}function _0x55d01b(_0x567ded,_0x260fd7){return _0x26b3dd(_0x567ded- -0xa2,_0x260fd7);}const _0x27f9db={};_0x27f9db[_0x55d01b(0x8e9,_0x18f88e._0x2f467f)]=_0x2ca9ed(0x546,_0x18f88e._0x1ddcca);const _0x20b5f4=_0x27f9db;return _0x1d2c1b(_0x88f091,_0x20b5f4['LQWgF'],BOOTSTRAP_FILENAME);}async function issueOpenClawBootstrapToken(_0x21dff9){const _0x1c09a2={_0x4cd1c6:0x1e3,_0x10fcc9:0x431,_0x2f2da1:0x71a,_0x3c094f:0x1ec,_0x492ca4:0x45e,_0x2c2c20:0x527,_0x37d9f0:0x3a9,_0x207618:0x464,_0x1a2200:0x5dc,_0x1fb412:0x7b0,_0x3a5e89:0x59e,_0x23e860:0x519},_0x504c1a={_0x25305c:0x6ef,_0x468778:0x741},_0x9bc417={_0x20a955:0x69},_0x1393f5={_0x3fc8fb:0x68f},_0x5809d2={_0x1da0fb:0x465},_0x1b38e0={'KZIbC':function(_0x530d9d){return _0x530d9d();},'akrkQ':function(_0x230f30,_0xab86be){return _0x230f30+_0xab86be;},'QzhWY':function(_0x2b01f2,_0x186a81){return _0x2b01f2(_0x186a81);},'jNHmL':_0xce24ec(_0x1c09a2._0x4cd1c6,_0x1c09a2._0x10fcc9)+_0x54936c(_0x1c09a2._0x2f2da1,0x77f)+_0x54936c(0x72d,0x833)+_0xce24ec(_0x1c09a2._0x3c094f,_0x1c09a2._0x492ca4)+'copes\x20ar'+'e\x20requir'+'ed'};function _0x54936c(_0x8f0f10,_0x555a84){return _0x3266d5(_0x8f0f10,_0x555a84-_0x5809d2._0x1da0fb);}const _0x2f7ed5=_0x21dff9[_0xce24ec(_0x1c09a2._0x2c2c20,0x431)][_0xce24ec(_0x1c09a2._0x37d9f0,_0x1c09a2._0x207618)]();function _0xce24ec(_0x4b78cc,_0x3411c4){return _0x3266d5(_0x4b78cc,_0x3411c4-0x13e);}const _0x4044b7=_0x21dff9[_0x54936c(_0x1c09a2._0x1a2200,0x536)+'y'][_0xce24ec(0x310,0x464)](),_0x4fd42e=_0x21dff9['role'][_0x54936c(0x6c9,0x78b)](),_0x29b452=_0x1b38e0[_0x54936c(_0x1c09a2._0x1fb412,0x5fd)](normalizeStringArray,_0x21dff9[_0xce24ec(0x6bb,_0x1c09a2._0x3a5e89)]);if(!_0x2f7ed5||!_0x4044b7||!_0x4fd42e||_0x29b452[_0xce24ec(0x35b,0x578)]===0x0)throw new Error(_0x1b38e0[_0x54936c(0x7ce,_0x1c09a2._0x23e860)]);return await withBootstrapLock(async()=>{const _0x5b2bed=_0x21dff9[_0x34925b(0x72a,_0x504c1a._0x25305c)]??getOpenClawStateDir();function _0x1db459(_0x4e8f95,_0x4c1b2d){return _0x54936c(_0x4e8f95,_0x4c1b2d- -_0x1393f5._0x3fc8fb);}const _0x5e4266=getOpenClawBootstrapPath(_0x5b2bed),_0x5b65ed=await loadBootstrapState(_0x5e4266);function _0x34925b(_0x1508b3,_0x132008){return _0x54936c(_0x132008,_0x1508b3- -_0x9bc417._0x20a955);}const _0x3701d0=_0x1b38e0[_0x34925b(0x8dc,_0x504c1a._0x468778)](generatePairingToken),_0x19398f=Date[_0x34925b(0x65e,0x564)]();return _0x5b65ed[_0x3701d0]={'token':_0x3701d0,'ts':_0x19398f,'deviceId':_0x2f7ed5,'publicKey':_0x4044b7,'roles':[_0x4fd42e],'scopes':_0x29b452,'issuedAtMs':_0x19398f},await writeJsonAtomic(_0x5e4266,_0x5b65ed),{'token':_0x3701d0,'expiresAtMs':_0x1b38e0['akrkQ'](_0x19398f,DEVICE_BOOTSTRAP_TOKEN_TTL_MS),'statePath':_0x5e4266};});}function readConfiguredSecret(_0x417fba){const _0x53fbe4={_0xa81c98:0x1be},_0x575d82={_0x1388e6:0x1b9};function _0x1792a2(_0x1c4a3e,_0x3c64e3){return _0x3266d5(_0x3c64e3,_0x1c4a3e- -_0x575d82._0x1388e6);}return typeof _0x417fba===_0x1792a2(_0x53fbe4._0xa81c98,0x2ad)&&_0x417fba['trim']()?_0x417fba['trim']():null;}function readGatewayTokenEnv(){const _0x5f2e38={_0x13e1c1:0x4c0,_0x1be5b4:0x5b7,_0x41d184:0x816},_0xb10c51={_0xceec5d:0x4f8};function _0x11b2f7(_0x21bcd9,_0x4636f6){return _0x26b3dd(_0x4636f6-0x19,_0x21bcd9);}function _0x15da33(_0x56f284,_0xdb8e1c){return _0x26b3dd(_0x56f284- -_0xb10c51._0xceec5d,_0xdb8e1c);}return readEnvValue('OPENCLAW'+_0x15da33(_0x5f2e38._0x13e1c1,0x59c)+_0x15da33(0x4ed,_0x5f2e38._0x1be5b4),'CLAWDBOT'+_0x15da33(_0x5f2e38._0x13e1c1,0x74c)+_0x11b2f7(_0x5f2e38._0x41d184,0x9fe));}function readGatewayPasswordEnv(){const _0x42b7cc={_0x406e10:0x698,_0x33faa2:0x1b4,_0x563942:0x2f9,_0x36db0d:0x621},_0x479940={_0x3d0b68:0x333};function _0x4cd1c0(_0x35fcef,_0x3df150){return _0x26b3dd(_0x35fcef- -_0x479940._0x3d0b68,_0x3df150);}function _0x537e59(_0x407165,_0x269ce5){return _0x26b3dd(_0x407165- -0x397,_0x269ce5);}return readEnvValue(_0x4cd1c0(0x3b9,0x499)+'_GATEWAY'+_0x537e59(0x678,_0x42b7cc._0x406e10)+'D',_0x537e59(_0x42b7cc._0x33faa2,_0x42b7cc._0x563942)+_0x537e59(_0x42b7cc._0x36db0d,0x682)+_0x4cd1c0(0x6dc,0x781)+'D');}function readEnvValue(_0x371ef4,_0x53086c){const _0xf7224a={_0x5a81cb:0x593},_0x3a3b09={_0x2e2d93:0x29f};function _0x40dc7e(_0x3424b9,_0x35d196){return _0x3266d5(_0x3424b9,_0x35d196-0x2ab);}const _0x11cdf5=process.env[_0x371ef4]?.[_0x148afe(0x62e,0x5c5)]();if(_0x11cdf5)return _0x11cdf5;function _0x148afe(_0x495971,_0xdd65ed){return _0x3266d5(_0x495971,_0xdd65ed-_0x3a3b09._0x2e2d93);}const _0x3a6ea5=process.env[_0x53086c]?.[_0x40dc7e(_0xf7224a._0x5a81cb,0x5d1)]();return _0x3a6ea5||null;}function resolveOpenClawPaths(){const _0x3ecdc1={_0x193783:0x1c2,_0x5c22ea:0x1a7},_0x4cded9={_0xbfcfd9:0x28};function _0x343301(_0x4ea83a,_0x48adbd){return _0x3266d5(_0x48adbd,_0x4ea83a-_0x4cded9._0xbfcfd9);}const _0x44910={'UKWwX':function(_0x4b1c2e){return _0x4b1c2e();},'hEgRf':function(_0x4237a0,_0x2ec083){return _0x4237a0(_0x2ec083);}},_0x187a38=_0x44910[_0x343301(0x8a,-0x14a)](resolveActiveOpenClawStateDir);function _0x3d9e75(_0x5e923a,_0x4d13bf){return _0x3266d5(_0x5e923a,_0x4d13bf- -0x36);}const _0x414674=_0x44910[_0x343301(_0x3ecdc1._0x193783,_0x3ecdc1._0x5c22ea)](resolveActiveOpenClawConfigPath,_0x187a38);return{'stateDir':_0x187a38,'configDir':_0x5bba2e(_0x414674),'configPath':_0x414674,'mediaDir':_0x1d2c1b(_0x187a38,'media')};}function resolveActiveOpenClawStateDir(){const _0x5cb94e={_0x246180:0x276,_0x184e86:0x8c,_0x1b92f3:0x29d,_0x411b6e:0x1cc,_0x1cb4ae:0x3d7},_0x219fbb={_0x1e05c6:0x6af};function _0x390405(_0x427e32,_0x1b0a0a){return _0x26b3dd(_0x1b0a0a- -_0x219fbb._0x1e05c6,_0x427e32);}const _0x541579={'VydCp':_0x516907(0x34c,_0x5cb94e._0x246180)+'_STATE_D'+'IR','qgjTt':function(_0x7a7627){return _0x7a7627();}};function _0x516907(_0x2bbc2d,_0x31cc7f){return _0x26b3dd(_0x2bbc2d- -0x1ff,_0x31cc7f);}const _0x4553f7=readEnvValue(_0x390405(0x77,0x3d)+_0x390405(-0x9d,_0x5cb94e._0x184e86)+'IR',_0x541579[_0x390405(-_0x5cb94e._0x1b92f3,0x8)]);if(_0x4553f7)return resolveUserPath(_0x4553f7);const _0x302984=_0x541579['qgjTt'](buildOpenClawStateDirCandidates),_0x96213a=_0x302984[_0x390405(_0x5cb94e._0x411b6e,0x21a)](_0x2d2557=>_0x1fa654(_0x1d2c1b(_0x2d2557,_0x516907(0x3ab,0x340)+'.json')));return _0x96213a??_0x302984[0x0]??_0x1d2c1b(_0x3c82be(),_0x516907(0x419,_0x5cb94e._0x1cb4ae)+'w');}function resolveActiveOpenClawConfigPath(_0x4a3429){const _0x47ee28={_0x2f6c88:0x64b,_0x500d71:0x70f,_0x3b4c4e:0x53f,_0x5c0561:0x70f},_0x4df707={_0x1df45d:0x48e},_0x3a4acb={_0x184450:0x132};function _0x578815(_0xcdc9c0,_0x5c5017){return _0x3266d5(_0xcdc9c0,_0x5c5017- -_0x3a4acb._0x184450);}function _0x57310b(_0x3e40d7,_0x59833d){return _0x3266d5(_0x3e40d7,_0x59833d-_0x4df707._0x1df45d);}const _0x181b4d=readEnvValue(_0x57310b(0x7dd,0x6ea)+_0x57310b(_0x47ee28._0x2f6c88,_0x47ee28._0x500d71)+_0x57310b(0x4ef,0x681),'CLAWDBOT'+_0x57310b(_0x47ee28._0x3b4c4e,_0x47ee28._0x5c0561)+'PATH');if(_0x181b4d)return resolveUserPath(_0x181b4d);return _0x1d2c1b(_0x4a3429,_0x578815(0x90,-0x18)+_0x57310b(0x455,0x5ce));}function buildOpenClawStateDirCandidates(){const _0x5e9352={_0x114f65:0x609,_0xdf9a3d:0x475,_0x1bb60f:0x4b5},_0x520133={_0x305082:0x3f6,_0x45cece:0x307,_0x2fb292:0x26f};function _0x1d44d6(_0x5650c7,_0x488903){return _0x26b3dd(_0x5650c7- -0x276,_0x488903);}function _0xf6bb79(_0x4e86c2,_0x232c65){return _0x26b3dd(_0x232c65- -0x4e8,_0x4e86c2);}const _0x1941de={'MWVhx':function(_0x19995a){return _0x19995a();}},_0x8fa8d=new Set();return[_0x1941de['MWVhx'](_0x3c82be),'/root'][_0x1d44d6(0x52a,_0x5e9352._0x114f65)](_0x30d636=>_0x30d636[_0xf6bb79(0x10a,0x2ce)]())[_0xf6bb79(0x720,_0x5e9352._0xdf9a3d)](Boolean)[_0xf6bb79(_0x5e9352._0x1bb60f,0x2b8)](_0x5a4874=>_0x1d2c1b(_0x5a4874,'.opencla'+'w'))['filter'](_0x1ecde8=>{const _0x262a5c={_0x4f857f:0x11d};function _0x5b5d76(_0x58e031,_0xfd4cc8){return _0xf6bb79(_0xfd4cc8,_0x58e031- -_0x262a5c._0x4f857f);}function _0x4eb51c(_0xa415d,_0x46ab69){return _0xf6bb79(_0x46ab69,_0xa415d- -0x9e);}if(_0x8fa8d[_0x4eb51c(_0x520133._0x305082,0x2b3)](_0x1ecde8))return![];return _0x8fa8d[_0x4eb51c(_0x520133._0x45cece,_0x520133._0x2fb292)](_0x1ecde8),!![];});}function resolveUserPath(_0x3f264c){const _0x498f7c={_0x586a33:0x34c,_0xce5a49:0x712,_0x1ecfca:0x76d},_0x2cb2d6={_0x2eb3a6:0x33e},_0x59559f={'xlqNN':function(_0x3982f3,_0x368cf1){return _0x3982f3===_0x368cf1;},'DPxkm':function(_0x55c218){return _0x55c218();},'dQfif':function(_0x6d8317,_0x72c7af){return _0x6d8317(_0x72c7af);}},_0x57af38=_0x3f264c[_0x570cc8(_0x498f7c._0x586a33,0xcd)]();if(!_0x57af38)return _0x57af38;function _0x570cc8(_0x3f426d,_0x21eb23){return _0x3266d5(_0x3f426d,_0x21eb23- -0x259);}if(_0x59559f[_0x288e34(0x6d8,0x6e2)](_0x57af38,'~'))return resolve(_0x59559f[_0x570cc8(0x62,0x15d)](_0x3c82be));function _0x288e34(_0x20abbb,_0x2ae768){return _0x3266d5(_0x2ae768,_0x20abbb-_0x2cb2d6._0x2eb3a6);}if(_0x57af38[_0x288e34(0x668,_0x498f7c._0xce5a49)+'th']('~/'))return _0x59559f[_0x288e34(0x7e3,_0x498f7c._0x1ecfca)](resolve,_0x1d2c1b(_0x3c82be(),_0x57af38['slice'](0x2)));return resolve(_0x57af38);}async function loadBootstrapState(_0x21ba8c){const _0xbfa9fe={_0x5d5ab6:0x2da,_0x3eb19d:0x347,_0x416584:0x688,_0x56e8fa:0x3fb,_0x47da06:0x5e6,_0x140870:0x509},_0x2f3064={'sjmgg':function(_0x1dedb9,_0x59ad35){return _0x1dedb9(_0x59ad35);},'pvBVO':function(_0x3d4a36,_0x5288ce){return _0x3d4a36!==_0x5288ce;}},_0x5bd5a3=await _0x2f3064[_0x5ac12e(_0xbfa9fe._0x5d5ab6,0x445)](readJsonFile,_0x21ba8c)??{},_0x4e8e52=Date[_0xd3db44(_0xbfa9fe._0x3eb19d,0x3b4)]();function _0xd3db44(_0x4e793d,_0x424f26){return _0x3266d5(_0x4e793d,_0x424f26-0x152);}function _0x5ac12e(_0x2e57e0,_0x3989a3){return _0x3266d5(_0x3989a3,_0x2e57e0-0xe1);}for(const [_0x5e7791,_0x277ebc]of Object['entries'](_0x5bd5a3)){if(!_0x277ebc||_0x2f3064[_0x5ac12e(0x50b,_0xbfa9fe._0x416584)](typeof _0x277ebc,'object')){delete _0x5bd5a3[_0x5e7791];continue;}typeof _0x277ebc['ts']!==_0xd3db44(_0xbfa9fe._0x56e8fa,0x657)&&typeof _0x277ebc['issuedAt'+'Ms']===_0x5ac12e(_0xbfa9fe._0x47da06,0x84c)&&(_0x277ebc['ts']=_0x277ebc[_0x5ac12e(0x2bb,_0xbfa9fe._0x140870)+'Ms']),_0x4e8e52-_0x277ebc['ts']>DEVICE_BOOTSTRAP_TOKEN_TTL_MS&&delete _0x5bd5a3[_0x5e7791];}return _0x5bd5a3;}async function readJsonFile(_0x276248){const _0x35419f={_0x198f9e:0x579,_0x30dd13:0x420,_0x44850c:0x2f7},_0x4a9518={'txuTu':function(_0x962899,_0x3c2f61,_0x37e3ae){return _0x962899(_0x3c2f61,_0x37e3ae);}};function _0x143da1(_0x33fa69,_0x4de26a){return _0x26b3dd(_0x33fa69- -0x1d8,_0x4de26a);}function _0x20e08a(_0x11aea3,_0x308b5b){return _0x26b3dd(_0x11aea3-0x81,_0x308b5b);}try{return JSON[_0x20e08a(0x58c,0x646)](await _0x4a9518[_0x143da1(0x41c,_0x35419f._0x198f9e)](readFile,_0x276248,_0x143da1(_0x35419f._0x30dd13,_0x35419f._0x44850c)));}catch{return null;}}async function writeJsonAtomic(_0x105c4b,_0x3f0577){const _0x401409={_0xe1a99a:0x3f7,_0x1e4a91:0x9fe,_0x20376d:0x3f9,_0x345879:0x4ef,_0x57d27c:0xa5d},_0x1f3723={'PEwJz':function(_0x7480e5){return _0x7480e5();}},_0x5566c5=JSON[_0x519041(0x189,_0x401409._0xe1a99a)+'y'](_0x3f0577,null,0x2),_0x294e92={};function _0x127fb5(_0x153a2a,_0x4f61d4){return _0x26b3dd(_0x153a2a-0x76,_0x4f61d4);}_0x294e92['recursiv'+'e']=!![],_0x294e92[_0x519041(_0x401409._0x1e4a91,0x891)]=0x1c0,await mkdir(_0x5bba2e(_0x105c4b),_0x294e92);const _0x37a266=_0x105c4b+'.'+_0x1f3723['PEwJz'](randomUUIDFragment)+'.tmp';function _0x519041(_0x45fea4,_0x5d7e63){return _0x26b3dd(_0x5d7e63- -0xb0,_0x45fea4);}try{const _0x5a29bb={};_0x5a29bb[_0x519041(0x5fa,_0x401409._0x20376d)]=_0x519041(0x2b6,0x548),_0x5a29bb['mode']=0x180,await writeFile(_0x37a266,_0x5566c5,_0x5a29bb),await safeChmod(_0x37a266,0x180),await rename(_0x37a266,_0x105c4b),await safeChmod(_0x105c4b,0x180);}finally{const _0x427024={};_0x427024[_0x127fb5(0x737,_0x401409._0x345879)]=!![],await rm(_0x37a266,_0x427024)[_0x127fb5(_0x401409._0x57d27c,0xa31)](()=>void 0x0);}}async function safeChmod(_0x3a7bb2,_0x20a4ce){try{await chmod(_0x3a7bb2,_0x20a4ce);}catch{}}function generatePairingToken(){const _0x56491c={_0x23d6e7:0x5ba,_0x5a9021:0x7c9,_0x32a9c5:0x790},_0x1433fc={_0x380d25:0x2b9},_0x5080c2={_0x2cb7b9:0x546};function _0x418443(_0x3ad9d9,_0x189642){return _0x3266d5(_0x3ad9d9,_0x189642-_0x5080c2._0x2cb7b9);}function _0x2c0219(_0x449d42,_0x42a850){return _0x3266d5(_0x42a850,_0x449d42-_0x1433fc._0x380d25);}return randomBytes(PAIRING_TOKEN_BYTES)[_0x2c0219(0x4bc,_0x56491c._0x23d6e7)](_0x418443(_0x56491c._0x5a9021,_0x56491c._0x32a9c5)+'l');}function normalizeStringArray(_0x32f479){const _0x8375e6={_0x3063ea:0x41d,_0x170ad5:0x6a7,_0x5d993d:0x229,_0x2f6c99:0x55e,_0x216233:0x11e,_0x10d7ad:0x38e,_0x1542f9:0xa2},_0x2553d2={_0x227153:0x3b5},_0x16449d={};_0x16449d[_0x20df5c(_0x8375e6._0x3063ea,_0x8375e6._0x170ad5)]=_0x20df5c(0x452,_0x8375e6._0x5d993d);function _0x43aae4(_0x3c9da7,_0x592164){return _0x26b3dd(_0x592164- -0x4ff,_0x3c9da7);}const _0x3d2ca1=_0x16449d,_0x4ca091=new Set();function _0x20df5c(_0x52ad86,_0x233b86){return _0x26b3dd(_0x52ad86- -_0x2553d2._0x227153,_0x233b86);}for(const _0x26fe4c of _0x32f479){const _0x75e802=typeof _0x26fe4c===_0x3d2ca1['lHMsF']?_0x26fe4c[_0x43aae4(_0x8375e6._0x2f6c99,0x2b7)]():'';_0x75e802&&_0x4ca091[_0x43aae4(_0x8375e6._0x216233,_0x8375e6._0x10d7ad)](_0x75e802);}return[..._0x4ca091][_0x43aae4(_0x8375e6._0x1542f9,0x14e)]();}function randomUUIDFragment(){const _0x3fc924={_0x28e469:0x3ea},_0x5a71f7={_0x1ed9e2:0x64d};function _0x3ea258(_0x2b1cd9,_0x4fedc6){return _0x26b3dd(_0x2b1cd9- -_0x5a71f7._0x1ed9e2,_0x4fedc6);}function _0x42e4b3(_0x53a8ea,_0x530131){return _0x26b3dd(_0x53a8ea- -0x686,_0x530131);}return randomBytes(0xc)[_0x3ea258(0x46,-0x1e7)](_0x3ea258(0x394,_0x3fc924._0x28e469));}function createAsyncLock(){let _0x4ecfb0=Promise['resolve']();return async function _0xe08285(_0x27c3b9){const _0x329633=_0x4ecfb0;let _0x3a4ba9;_0x4ecfb0=new Promise(_0x410323=>{_0x3a4ba9=_0x410323;}),await _0x329633;try{return await _0x27c3b9();}finally{_0x3a4ba9?.();}};}var CONTROL_PREFIX='__clawke'+_0x26b3dd(0x6b9,0x7c4)+_0x26b3dd(0x5f0,0x3a2)+'_:';function parseControl(_0x2b991d){const _0x57951a={_0x1e738e:0x62b,_0x473ddc:0x4b9,_0x2349d3:0x226,_0xdd3a9e:0x309,_0x434789:0x73b,_0x5a7169:0x13d,_0xa9eb8f:0xd9,_0x322fc1:0x678,_0x16907e:0x140,_0x224a46:0x87e,_0x69007b:0x9c3,_0x332aa0:0x5c1,_0x514368:0x98,_0x2534f9:0x34c,_0x8e14d9:0x3a5,_0xa33823:0x806,_0x32ddfa:0x81a,_0x1ace3d:0x1ca,_0x2aba1d:0x1c6,_0x230459:0x166,_0x26a7d3:0x13d,_0xdfedc8:0x1a8,_0x2f1ece:0x38f,_0x16d8d5:0x6ba,_0x14054c:0x59f,_0x46e313:0x6ed},_0xf78728={_0x5b6a7d:0x2e},_0x54535b={_0x436a0c:0x301},_0x3a6510={'cBpaz':function(_0x5f5964,_0x2996ed){return _0x5f5964(_0x2996ed);},'nMcue':function(_0x2edb55,_0x4eaf0f){return _0x2edb55===_0x4eaf0f;}};function _0x16bbfd(_0x1c504b,_0x1aeaad){return _0x3266d5(_0x1aeaad,_0x1c504b-_0x54535b._0x436a0c);}if(!_0x2b991d[_0x16bbfd(_0x57951a._0x1e738e,_0x57951a._0x473ddc)+'th'](CONTROL_PREFIX))return null;function _0x55fefd(_0x2ab538,_0x2913db){return _0x3266d5(_0x2913db,_0x2ab538- -_0xf78728._0x5b6a7d);}try{const _0x47d9b9=JSON[_0x16bbfd(0x37c,_0x57951a._0x2349d3)](_0x2b991d[_0x16bbfd(_0x57951a._0xdd3a9e,0x3db)](CONTROL_PREFIX[_0x16bbfd(_0x57951a._0x434789,0x863)]));if(typeof _0x47d9b9[_0x55fefd(_0x57951a._0x5a7169,-_0x57951a._0xa9eb8f)]!==_0x16bbfd(_0x57951a._0x322fc1,0x758)||!_0x47d9b9[_0x55fefd(0x13d,-_0x57951a._0x16907e)][_0x55fefd(0x2f8,0x230)]())return null;const _0x1b9703=_0x3a6510[_0x16bbfd(_0x57951a._0x224a46,_0x57951a._0x69007b)](isRecord,_0x47d9b9[_0x16bbfd(0x610,_0x57951a._0x332aa0)])?_0x47d9b9[_0x55fefd(0x2e1,_0x57951a._0x514368)]:void 0x0,_0x2bf64c=_0x3a6510[_0x16bbfd(_0x57951a._0x2534f9,0x217)](typeof _0x47d9b9[_0x16bbfd(_0x57951a._0x8e14d9,0x460)],_0x16bbfd(_0x57951a._0xa33823,_0x57951a._0x32ddfa))&&Number[_0x55fefd(0x45f,_0x57951a._0x1ace3d)](_0x47d9b9[_0x55fefd(0x76,0x18f)])?_0x47d9b9[_0x16bbfd(_0x57951a._0x8e14d9,_0x57951a._0x2aba1d)]:typeof _0x1b9703?.['count']===_0x16bbfd(_0x57951a._0xa33823,0x9e7)&&Number['isFinite'](_0x1b9703[_0x16bbfd(0x3a5,0x199)])?_0x1b9703[_0x55fefd(0x76,-_0x57951a._0x230459)]:void 0x0;return{'event':_0x47d9b9[_0x55fefd(_0x57951a._0x26a7d3,0x182)]['trim'](),'requestId':readOptionalString(_0x47d9b9[_0x55fefd(_0x57951a._0xdfedc8,_0x57951a._0x2f1ece)+'d']),'payload':_0x1b9703,'sourceClientId':readOptionalString(_0x47d9b9[_0x16bbfd(0x3cd,0x2e2)+'ientId']),'targetClientId':readOptionalString(_0x47d9b9[_0x16bbfd(_0x57951a._0x16d8d5,_0x57951a._0x14054c)+_0x16bbfd(_0x57951a._0x46e313,0x890)]),'count':_0x2bf64c};}catch{return null;}}function parseConnectStartIdentity(_0x444369){const _0x1be77e={_0x5e8a81:0x101,_0x5cb201:0x129,_0x2ccf02:0x210,_0x125e87:0xd,_0x5c3172:0xa5,_0x374f36:0x101,_0x10b35c:0x121,_0x21fb79:0x721,_0x3df9cf:0x9b4,_0x29ef59:0x721,_0x2e1673:0x828,_0x28cc84:0x371,_0x4a6056:0x1de,_0xcde360:0x892,_0x53d281:0x659,_0x4a4cef:0x9d,_0x31b8ff:0x217,_0x575b93:0xbc,_0x1bc8be:0x68},_0x584efa={_0x462e41:0x6e6},_0x498bff={};_0x498bff[_0x53f2a5(-0x163,_0x1be77e._0x5e8a81)]=function(_0x57f5d0,_0x159887){return _0x57f5d0===_0x159887;};function _0xaeb8bf(_0x3db305,_0x439527){return _0x26b3dd(_0x3db305- -0x95,_0x439527);}function _0x53f2a5(_0x569af6,_0x553c6e){return _0x26b3dd(_0x553c6e- -_0x584efa._0x462e41,_0x569af6);}const _0x326413=_0x498bff;try{const _0xab2df5=JSON[_0x53f2a5(-0x447,-0x1db)](_0x444369);if(_0xab2df5[_0x53f2a5(0x1d5,0x2ec)]!=='req')return null;if(_0xab2df5[_0x53f2a5(_0x1be77e._0x5cb201,0x75)]!==_0x53f2a5(-0x3c2,-_0x1be77e._0x2ccf02)&&_0xab2df5['method']!==_0x53f2a5(_0x1be77e._0x125e87,-0x12c)+_0x53f2a5(-0x16,-0x19e))return null;const _0x329b11=_0xab2df5['params']??{},_0x533ba3=_0x326413[_0x53f2a5(-_0x1be77e._0x5c3172,_0x1be77e._0x374f36)](typeof _0xab2df5['id'],_0x53f2a5(0x23c,_0x1be77e._0x10b35c))&&_0xab2df5['id'][_0xaeb8bf(_0x1be77e._0x21fb79,_0x1be77e._0x3df9cf)]()?_0xab2df5['id'][_0xaeb8bf(_0x1be77e._0x29ef59,0x50e)]():_0xaeb8bf(_0x1be77e._0x2e1673,0xa1e)+Math[_0x53f2a5(_0x1be77e._0x28cc84,_0x1be77e._0x4a6056)]()['toString'](0x24)[_0x53f2a5(-0x1b1,-0x24e)](0x2,0xc),_0x26b3ff=firstString(_0x329b11[_0xaeb8bf(_0x1be77e._0xcde360,_0x1be77e._0x53d281)+'me'],_0x329b11['clientNa'+'me'],_0x329b11[_0x53f2a5(0x106,_0x1be77e._0x4a4cef)],_0x53f2a5(-0x7f,-0x1ec)+_0x53f2a5(-0x2d3,-_0x1be77e._0x31b8ff)),_0x5bc317={};return _0x5bc317['id']=_0x533ba3,_0x5bc317[_0x53f2a5(_0x1be77e._0x575b93,_0x1be77e._0x1bc8be)]=_0x26b3ff,_0x5bc317;}catch{return null;}}function isConnectHandshakeRequest(_0x420556){const _0xc89424={_0x620338:0x20d,_0x512c8f:0x3b8,_0x3acd91:0x28c,_0x54fb59:0x410,_0x4e3727:0x19b,_0x1136d7:0x33a,_0x4d9d16:0x38e,_0x3a55d6:0x786,_0x3ce646:0x5bd},_0x2d9c04={_0x5778fe:0x38e},_0x2d88f6={};_0x2d88f6['BFyNK']=_0x220f42(_0xc89424._0x620338,_0xc89424._0x512c8f);function _0x220f42(_0x489e2b,_0x127dd2){return _0x26b3dd(_0x127dd2- -_0x2d9c04._0x5778fe,_0x489e2b);}_0x2d88f6[_0x220f42(_0xc89424._0x3acd91,_0xc89424._0x54fb59)]=function(_0x2f0435,_0x146d1a){return _0x2f0435===_0x146d1a;};function _0x2d7d21(_0x40d63e,_0x2d533b){return _0x26b3dd(_0x2d533b- -0x10b,_0x40d63e);}_0x2d88f6[_0x220f42(_0xc89424._0x4e3727,_0xc89424._0x1136d7)]=_0x220f42(0x126,0x22c)+_0x220f42(0x3b,0x1ba);const _0x4336a4=_0x2d88f6;try{const _0x513adf=JSON['parse'](_0x420556);return _0x513adf['type']===_0x4336a4[_0x220f42(_0xc89424._0x4d9d16,0x4cd)]&&(_0x513adf['method']===_0x2d7d21(0x1bd,0x3cb)||_0x4336a4[_0x220f42(0x570,0x410)](_0x513adf[_0x220f42(0x581,0x3cd)],_0x4336a4[_0x2d7d21(_0xc89424._0x3a55d6,_0xc89424._0x3ce646)]));}catch{return![];}}function parseConnectHandshakeMeta(_0x3cad4a){const _0x38ed85={_0x71bdd4:0x142,_0x1de880:0x44c,_0x44ec6a:0x1e7,_0x41db84:0xee,_0x65cf88:0x345,_0x19ec31:0x49,_0x123cb4:0x5d2,_0x581166:0x284,_0x2c308c:0x26f,_0x2bc662:0x142,_0xa9f6d1:0x2f6,_0x390b29:0x263,_0xdad8a6:0x4ae,_0x125e1e:0x345,_0x333b88:0x4fb,_0x500422:0x2f4,_0x56485d:0x299,_0x2e450b:0x24a,_0x308b74:0x4f5,_0x44b78c:0x280,_0x3d78e6:0x4e4,_0x2e5a43:0x4b8,_0x12cc9a:0x68,_0x52d43b:0x5b,_0x15bc86:0xf2},_0x28b9a1={_0x54e969:0x32},_0x3cfd40={};function _0x22bf4e(_0x17c0c2,_0xff5e58){return _0x3266d5(_0xff5e58,_0x17c0c2- -_0x28b9a1._0x54e969);}_0x3cfd40[_0x59879c(_0x38ed85._0x71bdd4,0x146)]=function(_0xa232c3,_0x14e89c){return _0xa232c3!==_0x14e89c;},_0x3cfd40[_0x59879c(0x2f6,_0x38ed85._0x1de880)]=function(_0x1bfecf,_0x50744d){return _0x1bfecf!==_0x50744d;},_0x3cfd40[_0x59879c(_0x38ed85._0x44ec6a,_0x38ed85._0x41db84)]=_0x22bf4e(_0x38ed85._0x65cf88,0x259);function _0x59879c(_0x1aa3b9,_0x1634a8){return _0x3266d5(_0x1634a8,_0x1aa3b9- -0xcb);}_0x3cfd40[_0x22bf4e(-0x1f,-0x52)]='object';const _0x4d6c07=_0x3cfd40;try{const _0x4829a6=JSON[_0x22bf4e(_0x38ed85._0x19ec31,0x141)](_0x3cad4a);if(_0x4829a6[_0x22bf4e(0x510,_0x38ed85._0x123cb4)]!==_0x22bf4e(_0x38ed85._0x581166,_0x38ed85._0x2c308c))return null;if(_0x4d6c07[_0x59879c(_0x38ed85._0x2bc662,0x2)](_0x4829a6['method'],'connect')&&_0x4d6c07[_0x59879c(_0x38ed85._0xa9f6d1,0x417)](_0x4829a6[_0x59879c(0x200,_0x38ed85._0x390b29)],'connect.'+'start'))return null;const _0xcf235a=_0x4829a6[_0x22bf4e(-0x15,0x13b)]?.['device']?.[_0x59879c(_0x38ed85._0xdad8a6,0x720)],_0x3f1cc5=_0x4829a6[_0x59879c(-0xae,-0x31f)]?.[_0x59879c(-0x3f,-0x1f1)];return{'id':typeof _0x4829a6['id']===_0x22bf4e(_0x38ed85._0x125e1e,_0x38ed85._0x333b88)&&_0x4829a6['id'][_0x22bf4e(_0x38ed85._0x500422,0x3fb)]()?_0x4829a6['id']['trim']():null,'method':_0x4829a6[_0x22bf4e(_0x38ed85._0x56485d,_0x38ed85._0x2e450b)],'noncePresent':typeof _0xcf235a===_0x59879c(0x2ac,_0x38ed85._0x308b74)&&_0xcf235a[_0x59879c(0x36f,0x3b1)]>0x0,'nonceLength':typeof _0xcf235a===_0x4d6c07[_0x22bf4e(_0x38ed85._0x44b78c,_0x38ed85._0x3d78e6)]?_0xcf235a[_0x59879c(0x36f,_0x38ed85._0x2e5a43)]:null,'authFields':_0x3f1cc5&&typeof _0x3f1cc5===_0x4d6c07[_0x22bf4e(-0x1f,-_0x38ed85._0x12cc9a)]?Object[_0x22bf4e(0x189,_0x38ed85._0x52d43b)](_0x3f1cc5)[_0x59879c(_0x38ed85._0x15bc86,0x13f)]():[]};}catch{return null;}}function parsePairingRequestFromError(_0x34a142,_0x4391a6=Date[_0x3266d5(0x1ea,0x262)]()){const _0x29972d={_0x204532:0x7ed,_0x4d4015:0x853,_0xbd6a49:0x6e9,_0x427a7f:0x9c4,_0x34b731:0x89d,_0x3961e8:0x7c5,_0x385b23:0xa78,_0x15af6b:0xd29,_0x108231:0x56e,_0xbfbd5a:0x92c,_0x29af34:0x7ed,_0x8999e3:0x5e6,_0x556303:0x581,_0x5d623f:0x853,_0x230d36:0xaf4,_0x14f228:0x864,_0x35f676:0x731,_0x43c230:0x548,_0x14d5a0:0x877,_0x3040d3:0x743,_0x5e2e0a:0x8c9,_0x342227:0xa2b,_0x4efbdb:0x877,_0x2bb347:0x697,_0x54b89f:0x808,_0x3b026b:0x61e,_0x57020d:0x5ef,_0x2ef02b:0x5d9,_0x35c053:0x4cc,_0xaf0e3e:0x865,_0x1ef9ee:0x683,_0x1a8ec8:0x4d1,_0x146790:0x590,_0xebe0a:0x7a2,_0x5f4664:0x91b,_0x70d4c6:0x836,_0x31ef72:0x806,_0x9469cd:0x8e4},_0x2e64bb={_0x176bfb:0x3ba},_0x2a48d0={_0x5944c2:0x4f3},_0x7edc40={};function _0x469856(_0x5191bd,_0x1649ab){return _0x3266d5(_0x1649ab,_0x5191bd-_0x2a48d0._0x5944c2);}function _0x35eb14(_0x4c244d,_0x3f6674){return _0x3266d5(_0x3f6674,_0x4c244d-_0x2e64bb._0x176bfb);}_0x7edc40[_0x35eb14(_0x29972d._0x204532,0x6a1)]=_0x35eb14(0x3d8,0x2e6),_0x7edc40[_0x469856(_0x29972d._0x4d4015,_0x29972d._0xbd6a49)]=function(_0x2872e3,_0x2f84f9){return _0x2872e3===_0x2f84f9;},_0x7edc40[_0x469856(0x6ba,0x7ba)]=_0x469856(0x86a,_0x29972d._0x427a7f),_0x7edc40[_0x35eb14(_0x29972d._0x34b731,_0x29972d._0x3961e8)]=_0x469856(_0x29972d._0x385b23,_0x29972d._0x15af6b)+'ED';const _0x23f9db=_0x7edc40;try{const _0x2059a6=JSON[_0x469856(_0x29972d._0x108231,0x3de)](_0x34a142);if(_0x2059a6[_0x469856(0xa35,_0x29972d._0xbfbd5a)]!==_0x23f9db[_0x35eb14(_0x29972d._0x29af34,0x5f4)]||_0x2059a6['ok']!==![]||!_0x2059a6['error'])return null;const _0x4632a4=_0x23f9db['KLNPj'](typeof _0x2059a6[_0x35eb14(0x865,_0x29972d._0x8999e3)]['code'],_0x23f9db[_0x35eb14(_0x29972d._0x556303,0x824)])?_0x2059a6[_0x35eb14(0x865,0x6ab)][_0x35eb14(0x555,0x721)]:'',_0x5d899d=_0x23f9db[_0x469856(_0x29972d._0x5d623f,_0x29972d._0x230d36)](typeof _0x2059a6[_0x35eb14(0x865,0x98e)][_0x469856(0x829,_0x29972d._0x14f228)],_0x35eb14(_0x29972d._0x35f676,_0x29972d._0x43c230))?_0x2059a6['error']['message']:'';if(!_0x4632a4[_0x35eb14(0x877,0xa12)](_0x23f9db[_0x469856(0x9d6,0x9a9)])&&!_0x4632a4[_0x35eb14(_0x29972d._0x14d5a0,_0x29972d._0x3040d3)](_0x35eb14(0x83b,0x8aa)+_0x35eb14(_0x29972d._0x5e2e0a,_0x29972d._0x342227))&&!_0x5d899d[_0x35eb14(_0x29972d._0x4efbdb,_0x29972d._0x2bb347)]('NOT_PAIR'+'ED')&&!_0x5d899d[_0x35eb14(0x877,0x773)](_0x35eb14(_0x29972d._0x54b89f,_0x29972d._0x3b026b)+_0x469856(_0x29972d._0x57020d,0x886)))return null;const _0x3a9992=_0x2059a6['error'][_0x469856(_0x29972d._0x2ef02b,_0x29972d._0x35c053)]??_0x2059a6[_0x35eb14(_0x29972d._0xaf0e3e,_0x29972d._0x1ef9ee)][_0x35eb14(_0x29972d._0x1a8ec8,0x2e7)]??{},_0x230a90=firstString(_0x3a9992[_0x35eb14(_0x29972d._0x146790,_0x29972d._0xebe0a)+'d'],extractRequestIdFromMessage(_0x5d899d),'unknown');return{'requestId':_0x230a90,'deviceId':firstString(_0x3a9992['deviceId'],''),'displayName':firstNullableString(_0x3a9992['displayN'+_0x35eb14(0x759,_0x29972d._0x5f4664)]),'platform':firstNullableString(_0x3a9992['platform']),'deviceFamily':firstNullableString(_0x3a9992['deviceFa'+_0x469856(_0x29972d._0x70d4c6,0x889)]),'role':firstNullableString(_0x3a9992[_0x469856(_0x29972d._0x31ef72,0x74f)]),'remoteIp':firstNullableString(_0x3a9992[_0x469856(_0x29972d._0x9469cd,0x7f9)]),'receivedAtMs':_0x4391a6,'status':'pending'};}catch{return null;}}function parsePairResolvedEvent(_0x4cdd90){const _0x400112={_0x437467:0x108,_0x23749c:0x3ad,_0x4149cd:0x5ea,_0xdd75b5:0x591,_0x32c152:0x4fa,_0x505fd4:0x3dc,_0x19b01d:0x589,_0x12fb54:0xcf,_0xec5367:0x18e,_0x5bc7d3:0x8ef,_0x446fe5:0x72e,_0x393252:0x83c,_0x19e515:0x16a,_0x2b3f0c:0x8c6,_0x4b3e86:0x184,_0x43d3c1:0xfe,_0x64662b:0x53,_0x85585c:0xa65,_0x10cadd:0x191,_0x27aa4e:0x346,_0x159893:0x94,_0x4430c6:0xd5,_0x104a80:0x6c,_0x2f1e1d:0x807,_0x425678:0x5f2,_0x4424e9:0x5ef,_0x12a87d:0xfe},_0x43a314={};_0x43a314[_0x180bdd(_0x400112._0x437467,0x329)]=_0xe42bda(_0x400112._0x23749c,_0x400112._0x4149cd);function _0xe42bda(_0x113a1e,_0x3dfc99){return _0x3266d5(_0x113a1e,_0x3dfc99-0x47f);}_0x43a314['QcUmY']=function(_0x57a1f9,_0x17c3ad){return _0x57a1f9!==_0x17c3ad;},_0x43a314['ivwxl']=function(_0x32e37c,_0x5a62cd){return _0x32e37c===_0x5a62cd;};const _0x55ec07=_0x43a314;function _0x180bdd(_0x124739,_0x521a43){return _0x3266d5(_0x521a43,_0x124739- -0xd8);}try{const _0x44159c=JSON[_0xe42bda(_0x400112._0xdd75b5,_0x400112._0x32c152)](_0x4cdd90);if(_0x44159c['type']!==_0x55ec07['MFBPY']||_0x55ec07[_0xe42bda(_0x400112._0x505fd4,_0x400112._0x19b01d)](_0x44159c[_0x180bdd(0x93,_0x400112._0x12fb54)],_0x180bdd(_0x400112._0xec5367,0xb1)+_0xe42bda(_0x400112._0x5bc7d3,0x771)+_0xe42bda(_0x400112._0x446fe5,_0x400112._0x393252))||!_0x44159c[_0x180bdd(0x237,_0x400112._0x19e515)])return null;const _0x33a892=_0x55ec07[_0xe42bda(0x702,0x90d)](typeof _0x44159c[_0xe42bda(_0x400112._0x2b3f0c,0x78e)]['requestI'+'d'],'string')?_0x44159c[_0x180bdd(0x237,_0x400112._0x4b3e86)][_0x180bdd(_0x400112._0x43d3c1,_0x400112._0x64662b)+'d'][_0xe42bda(_0x400112._0x85585c,0x7a5)]():'';if(!_0x33a892)return null;const _0x5c122b=typeof _0x44159c[_0xe42bda(0x9ce,0x78e)]['decision']===_0x180bdd(0x29f,_0x400112._0x10cadd)?_0x44159c[_0x180bdd(0x237,_0x400112._0x27aa4e)][_0x180bdd(-_0x400112._0x159893,_0x400112._0x4430c6)]:_0x180bdd(-_0x400112._0x104a80,-0x12f),_0x13bc70=_0x5c122b===_0xe42bda(0x67c,_0x400112._0x2f1e1d)||_0x5c122b===_0xe42bda(_0x400112._0x425678,0x853)?_0x5c122b:_0xe42bda(_0x400112._0x4424e9,0x4eb),_0x1855ac={};return _0x1855ac[_0x180bdd(_0x400112._0x12a87d,0x109)+'d']=_0x33a892,_0x1855ac[_0xe42bda(0x730,0x4c3)]=_0x13bc70,_0x1855ac;}catch{return null;}}function parseResponseEnvelopeMeta(_0x34d531){const _0xca0056={_0x234a51:0x2a7,_0x1b7546:0x2d3,_0x171ee2:0x74a,_0x2cf0ed:0x86,_0x567b4d:0x2c5,_0x4c4e3d:0x282,_0x2b8f2b:0x3e7,_0x40f443:0xf7,_0x30eba1:0x2d3,_0x2e855e:0xf0,_0x2421d0:0x2d8,_0x18cab5:0x407,_0x26ff4c:0x5f1,_0xbdc20c:0xaf,_0x4c0f9d:0x30d,_0x1bd39f:0x222,_0x5a1b85:0x2f,_0x5a31f4:0x314,_0x48db4d:0x574,_0x3cbe86:0x2d3,_0x27a3ca:0x4c9,_0x1c5a7f:0x292,_0x463049:0x41b,_0x58811c:0x39a},_0x580525={_0x729e35:0xa4},_0x129be4={};function _0x34cc46(_0x250920,_0x1cb1fc){return _0x3266d5(_0x1cb1fc,_0x250920-0x13d);}function _0x40980c(_0xc38439,_0x18b945){return _0x3266d5(_0x18b945,_0xc38439- -_0x580525._0x729e35);}_0x129be4[_0x40980c(_0xca0056._0x234a51,0x527)]=_0x40980c(_0xca0056._0x1b7546,0x442),_0x129be4[_0x40980c(0x222,0x33e)]=function(_0x3054af,_0x19fdaa){return _0x3054af===_0x19fdaa;};const _0x28f48d=_0x129be4;try{const _0x29dff5=JSON['parse'](_0x34d531);if(_0x29dff5[_0x40980c(0x49e,_0xca0056._0x171ee2)]!==_0x40980c(-_0xca0056._0x2cf0ed,0x5b))return null;if(typeof _0x29dff5['id']!==_0x28f48d[_0x34cc46(0x488,_0xca0056._0x567b4d)]||!_0x29dff5['id'][_0x40980c(_0xca0056._0x4c4e3d,_0xca0056._0x2b8f2b)]())return null;return{'id':_0x29dff5['id']['trim'](),'ok':_0x29dff5['ok']===!![],'errorCode':typeof _0x29dff5['error']?.[_0x40980c(_0xca0056._0x40f443,0x12a)]===_0x40980c(_0xca0056._0x30eba1,_0xca0056._0x2e855e)&&_0x29dff5[_0x40980c(0x407,0x1e6)][_0x34cc46(_0xca0056._0x2421d0,0x163)]['trim']()?_0x29dff5[_0x40980c(_0xca0056._0x18cab5,_0xca0056._0x26ff4c)][_0x34cc46(0x2d8,_0xca0056._0xbdc20c)][_0x40980c(0x282,_0xca0056._0x4c0f9d)]():null,'errorMessage':_0x28f48d[_0x40980c(_0xca0056._0x1bd39f,_0xca0056._0x5a1b85)](typeof _0x29dff5[_0x40980c(0x407,_0xca0056._0x5a31f4)]?.[_0x34cc46(0x473,_0xca0056._0x48db4d)],_0x40980c(_0xca0056._0x3cbe86,_0xca0056._0x27a3ca))&&_0x29dff5['error'][_0x40980c(_0xca0056._0x1c5a7f,0x229)][_0x40980c(0x282,_0xca0056._0x463049)]()?_0x29dff5[_0x40980c(_0xca0056._0x18cab5,0x47c)]['message'][_0x40980c(_0xca0056._0x4c4e3d,_0xca0056._0x58811c)]():null};}catch{return null;}}function firstString(..._0x37ab29){const _0x3fe5e9={_0x104b32:0x310,_0x27ecb3:0x410,_0x4b7512:0x2bf},_0x3d254d={_0x3d1250:0x67};for(const _0x54b38b of _0x37ab29){if(typeof _0x54b38b===_0x26ff41(0x174,_0x3fe5e9._0x104b32)&&_0x54b38b['trim']())return _0x54b38b[_0x26ff41(_0x3fe5e9._0x27ecb3,_0x3fe5e9._0x4b7512)]();}function _0x26ff41(_0x49740c,_0x259f3d){return _0x3266d5(_0x49740c,_0x259f3d- -_0x3d254d._0x3d1250);}function _0x15043d(_0x5ef7b5,_0x2558a2){return _0x3266d5(_0x2558a2,_0x5ef7b5-0x40e);}return'';}function firstNullableString(_0x46b3ae){return typeof _0x46b3ae==='string'&&_0x46b3ae['trim']()?_0x46b3ae['trim']():null;}function readOptionalString(_0x35f81e){const _0xdef814={_0x4c7324:0x4ef,_0xb19181:0x566,_0x699332:0x515},_0x154eb7={_0x2b6690:0x436};function _0x518558(_0x2f9d75,_0x5092a1){return _0x26b3dd(_0x5092a1- -0x2a1,_0x2f9d75);}function _0x4b2f49(_0x364bdc,_0x497b82){return _0x26b3dd(_0x364bdc- -_0x154eb7._0x2b6690,_0x497b82);}return typeof _0x35f81e===_0x518558(_0xdef814._0x4c7324,_0xdef814._0xb19181)&&_0x35f81e[_0x518558(0x36f,_0xdef814._0x699332)]()?_0x35f81e[_0x4b2f49(0x380,0x4ff)]():void 0x0;}function isRecord(_0x32eae4){const _0x5d53af={_0x4cedcb:0x23f,_0x325e31:0x72b,_0x3d87c6:0x477},_0x12af34={_0x3acf3d:0x28d};function _0x30661d(_0x460251,_0x2fff7e){return _0x26b3dd(_0x2fff7e- -_0x12af34._0x3acf3d,_0x460251);}function _0x3060c2(_0x34a33a,_0x2cd10a){return _0x26b3dd(_0x34a33a- -0x3c6,_0x2cd10a);}return typeof _0x32eae4===_0x30661d(0x38,_0x5d53af._0x4cedcb)&&_0x32eae4!=null&&!Array[_0x30661d(_0x5d53af._0x325e31,_0x5d53af._0x3d87c6)](_0x32eae4);}function extractRequestIdFromMessage(_0x34d3a4){const _0x42e633={_0x351f23:0x3ae,_0x115b4d:0x567};function _0x1231e5(_0x25d224,_0x494681){return _0x26b3dd(_0x25d224- -0x48f,_0x494681);}const _0x2c7ace=_0x34d3a4[_0x1231e5(_0x42e633._0x351f23,_0x42e633._0x115b4d)](/requestId[:\s]*([a-f0-9-]+)/i);return _0x2c7ace?.[0x1]??null;}import{randomUUID as _0xe7fcf0}from'crypto';import{setTimeout as _0x3fdfee}from'timers/promises';import _0x427ed3 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{[_0x3266d5(0x2c8,0x183)];[_0x3266d5(0x59c,0x501)+_0x3266d5(0x2e6,0x2c9)]=null;[_0x3266d5(-0x14c,0x3b)+_0x3266d5(0x9a,0x43)]=null;[_0x3266d5(0x2d8,0x2ee)+'necting']=![];[_0x3266d5(-0xc2,0x1ab)+_0x3266d5(0x30f,0x2c7)+'g']=![];[_0x3266d5(0xcc,0x338)]=!![];[_0x26b3dd(0x6de,0x4b1)+_0x3266d5(0x37f,0x263)]=0x0;['lastRela'+_0x3266d5(0x152,0xf7)+_0x26b3dd(0x7f5,0x621)]=0x0;[_0x26b3dd(0x9d7,0x752)+_0x26b3dd(0x861,0x6f6)]=null;['gatewayR'+_0x26b3dd(0x882,0x769)+'r']=null;['heartbea'+_0x26b3dd(0x861,0x786)]=null;[_0x3266d5(0x680,0x520)+'atewayMe'+'ssages']=[];[_0x3266d5(0x357,0x401)+_0x26b3dd(0x85c,0xab8)+'Started']=![];['gatewayC'+'loseBoun'+_0x26b3dd(0x6ea,0x43e)+_0x26b3dd(0x686,0x4a6)]=![];['clientDe'+_0x26b3dd(0x62f,0x76a)+'tedAtMs']=null;[_0x26b3dd(0x63b,0x76d)+_0x26b3dd(0x9fd,0x764)+_0x26b3dd(0x50c,0x7cd)]=null;[_0x3266d5(0x1de,0x124)+_0x26b3dd(0x568,0x3af)+_0x26b3dd(0x85c,0x785)+'s']=new Map();[_0x26b3dd(0x9ed,0xa8c)];constructor(_0x32864f){const _0x30f368={_0x4e2fe7:0x398,_0x30e58d:0x467,_0x28a9ce:0x5d6,_0x2a00a8:0x71,_0x566912:0xd2,_0x5a1656:0xa22,_0x3fc6a8:0x800},_0x224cac={_0x459284:0x40d};function _0x16db4b(_0x20a16d,_0x5bbe1a){return _0x3266d5(_0x20a16d,_0x5bbe1a-0x78);}function _0x432d72(_0x3fe78a,_0x4a128c){return _0x3266d5(_0x3fe78a,_0x4a128c-_0x224cac._0x459284);}this[_0x432d72(0x53b,0x590)]=_0x32864f,this[_0x16db4b(_0x30f368._0x4e2fe7,0x5d5)]={'running':![],'relayConnected':![],'gatewayConnected':![],'gatewayId':_0x32864f['config'][_0x16db4b(0x620,0x3fd)+'d'],'instanceId':_0x32864f[_0x432d72(0x53e,_0x30f368._0x30e58d)][_0x16db4b(0x6ad,_0x30f368._0x28a9ce)+'Id'],'relayUrl':_0x32864f[_0x16db4b(_0x30f368._0x2a00a8,_0x30f368._0x566912)]['relayUrl'],'gatewayUrl':_0x32864f[_0x432d72(_0x30f368._0x5a1656,_0x30f368._0x3fc6a8)+'rl'],'clientCount':0x0,'connectedDevices':[],'pendingPairRequests':[],'lastError':null,'lastUpdatedMs':Date['now']()};}['start'](){const _0x4bc7cf={_0x31b005:0x6b2,_0x3529f4:0x3ea,_0x2c8353:0x4cc,_0x16e92b:0x351,_0x24f78c:0x67c,_0xb6af78:0x37e,_0xea0c3a:0x15b,_0x4dc02e:0x15,_0x10dfa2:0x29f,_0x24867f:0x154,_0x5247df:0x892,_0x3cd20a:0x663,_0x529c70:0x2c,_0x29db42:0x4d6},_0x31ec22={_0x5713d1:0x54e},_0x58ab5f={};function _0x417c60(_0x1c4ed7,_0x3fa798){return _0x26b3dd(_0x1c4ed7- -_0x31ec22._0x5713d1,_0x3fa798);}_0x58ab5f[_0x417c60(-0xa3,-0x1a)]=_0x4eb0d0(0x528,_0x4bc7cf._0x31b005)+'1';const _0x19cf73=_0x58ab5f,_0x10c0d2=_0x19cf73[_0x417c60(-0xa3,0xd0)][_0x417c60(0x2c2,_0x4bc7cf._0x3529f4)]('|');function _0x4eb0d0(_0x43c3ff,_0x5147d0){return _0x26b3dd(_0x43c3ff- -0x17c,_0x5147d0);}let _0x1643f7=0x0;while(!![]){switch(_0x10c0d2[_0x1643f7++]){case'0':if(!this['stopped'])return;continue;case'1':void this[_0x4eb0d0(_0x4bc7cf._0x2c8353,_0x4bc7cf._0x16e92b)+_0x4eb0d0(_0x4bc7cf._0x24f78c,0x55f)]();continue;case'2':this[_0x4eb0d0(0x57b,_0x4bc7cf._0xb6af78)+'apshot']({'running':!![],'gatewayUrl':this[_0x4eb0d0(0x497,0x613)]['gatewayU'+'rl']});continue;case'3':this['log'](_0x417c60(_0x4bc7cf._0xea0c3a,_0x4bc7cf._0x4dc02e)+_0x417c60(0x71,_0x4bc7cf._0x10dfa2)+'\x20gateway'+_0x417c60(0x321,_0x4bc7cf._0x24867f)+this[_0x4eb0d0(0x497,0x628)][_0x417c60(-0x64,-0x10a)][_0x417c60(0x2c7,0x1e2)+'d']+(_0x4eb0d0(_0x4bc7cf._0x5247df,_0x4bc7cf._0x3cd20a)+'Url=')+this[_0x417c60(0xc5,_0x4bc7cf._0x529c70)]['gatewayU'+'rl']);continue;case'4':this[_0x4eb0d0(0x64c,_0x4bc7cf._0x29db42)]=![];continue;}break;}}async[_0x3266d5(0x538,0x4fd)](){const _0x1cf842={_0x2d1a39:0x239,_0x228a50:0x367,_0x18ffb8:0xa4,_0x5197ea:0x114,_0x2d2552:0x3e6,_0x5a2a3f:0x4d6,_0x2a239d:0x3aa,_0x3eb9f6:0x5d0,_0x12761b:0x641,_0x71372b:0x141,_0x187496:0x840,_0x5ac676:0x3a1,_0x2e3b33:0x46a,_0x5c35b3:0x232,_0x54b13c:0x479,_0x5eef0f:0x23f,_0x15dda5:0xc6,_0xadc87a:0x730,_0x92b2d5:0x2fd,_0x1036ce:0x641,_0xcd3b18:0x3a0,_0x5c2a69:0x6d5,_0x3cac68:0x381,_0x1cc4d7:0x361,_0x778744:0x344,_0x4b7d01:0x168,_0x42ad86:0x54,_0x38ad41:0x380,_0x1af51f:0x460,_0x58345f:0x624,_0xece24d:0x8d,_0x40f393:0x8fa,_0x542818:0x681,_0x4b16c2:0x324,_0x5d6a18:0x4b4,_0x4c0678:0x15f,_0x4466dc:0x269,_0x228a5b:0x622,_0x5bb16c:0x52d,_0x3f5753:0x1d0,_0x35c1be:0x63e,_0x1caf51:0x67b,_0xdb2ec6:0x602,_0xdd67b7:0x51f},_0x45c180={_0x4a57be:0x187};function _0x4d8495(_0x1137d1,_0x2379f1){return _0x26b3dd(_0x1137d1- -_0x45c180._0x4a57be,_0x2379f1);}const _0x3b30d5=(_0x20a062(_0x1cf842._0x2d1a39,_0x1cf842._0x228a50)+_0x4d8495(0x82e,0x8b2)+'|6|9|15|'+'11|0|12|'+_0x4d8495(0x3c2,0x276)+'|16')['split']('|');let _0x54dc6c=0x0;function _0x20a062(_0x5f350d,_0x50810d){return _0x26b3dd(_0x50810d- -0x527,_0x5f350d);}while(!![]){switch(_0x3b30d5[_0x54dc6c++]){case'0':this[_0x20a062(_0x1cf842._0x18ffb8,_0x1cf842._0x5197ea)+_0x20a062(_0x1cf842._0x2d2552,_0x1cf842._0x5a2a3f)+_0x4d8495(0x385,_0x1cf842._0x2a239d)]=null;continue;case'1':this['gatewayC'+_0x4d8495(_0x1cf842._0x3eb9f6,0x68c)+'g']=![];continue;case'2':this[_0x4d8495(_0x1cf842._0x12761b,0x77c)]=!![];continue;case'3':this[_0x20a062(_0x1cf842._0x71372b,0x257)+_0x4d8495(0x740,_0x1cf842._0x187496)]=![];continue;case'4':this[_0x20a062(_0x1cf842._0x5ac676,_0x1cf842._0x2e3b33)+_0x20a062(0x449,_0x1cf842._0x5c35b3)]?.[_0x4d8495(0x720,_0x1cf842._0x54b13c)]();continue;case'5':this[_0x20a062(_0x1cf842._0x5eef0f,0x4e1)+'ers']();continue;case'6':this['pendingG'+'atewayMe'+_0x20a062(_0x1cf842._0x15dda5,0x10d)]=[];continue;case'7':this[_0x4d8495(0x798,_0x1cf842._0xadc87a)](_0x4d8495(0x522,0x634)+_0x20a062(_0x1cf842._0x92b2d5,0x2a1));continue;case'8':if(this[_0x4d8495(_0x1cf842._0x1036ce,0x634)])return;continue;case'9':this[_0x20a062(_0x1cf842._0xcd3b18,0x36a)+_0x4d8495(_0x1cf842._0x5c2a69,0x7e6)+_0x4d8495(_0x1cf842._0x3cac68,_0x1cf842._0x1cc4d7)]=![];continue;case'10':this[_0x4d8495(_0x1cf842._0x778744,0x5d3)+_0x20a062(-_0x1cf842._0x4b7d01,-_0x1cf842._0x42ad86)]?.[_0x20a062(0x32e,_0x1cf842._0x38ad41)]();continue;case'11':this[_0x4d8495(0x359,_0x1cf842._0x1af51f)+_0x4d8495(0x4a8,_0x1cf842._0x58345f)+'tedAtMs']=null;continue;case'12':this[_0x20a062(0x2e1,_0x1cf842._0xece24d)+'ConnectH'+'andshake'+'s']['clear']();continue;case'13':this[_0x4d8495(0x80a,_0x1cf842._0x40f393)+_0x20a062(0x2ce,_0x1cf842._0x5c35b3)]=null;continue;case'14':const _0x55857b={};_0x55857b[_0x4d8495(0x702,_0x1cf842._0x542818)]=![],_0x55857b['relayCon'+_0x4d8495(0x464,_0x1cf842._0x4b16c2)]=![],_0x55857b[_0x4d8495(_0x1cf842._0x5d6a18,0x2bd)+'onnected']=![],_0x55857b['clientCo'+_0x20a062(_0x1cf842._0x4c0678,_0x1cf842._0x4466dc)]=0x0,_0x55857b[_0x4d8495(_0x1cf842._0x228a5b,_0x1cf842._0x5bb16c)+'r']=null,this[_0x20a062(0x187,_0x1cf842._0x3f5753)+'apshot'](_0x55857b);continue;case'15':this[_0x20a062(-0x16,0x114)+_0x4d8495(_0x1cf842._0x35c1be,0x761)+_0x4d8495(0x563,_0x1cf842._0x1caf51)+_0x4d8495(0x4ff,_0x1cf842._0xdb2ec6)]=![];continue;case'16':await _0x3fdfee(0x19);continue;case'17':this[_0x4d8495(0x344,_0x1cf842._0xdd67b7)+_0x20a062(-0x227,-0x54)]=null;continue;}break;}}async[_0x3266d5(0x122,0x60)+'airReque'+'st'](_0x19ff49){const _0x192d98={_0x291eef:0x16a,_0x410d34:0x577,_0x3a1d06:0x361,_0x15c812:0x5d9,_0x2a3821:0x23e,_0x3e6218:0x844,_0x17753d:0x64b,_0x50d442:0x6b6,_0x12019d:0x5ea,_0x20c4b4:0x622},_0x1e3ec1={_0x33c3a5:0x306},_0x2061ae={_0x4cce3d:0x159},_0x1d290d={};function _0x19dd5c(_0x2b2310,_0x41048a){return _0x3266d5(_0x41048a,_0x2b2310-_0x2061ae._0x4cce3d);}_0x1d290d[_0x19dd5c(_0x192d98._0x291eef,-0x124)]=_0x3af1a4(0x56c,_0x192d98._0x410d34)+_0x19dd5c(0x3ca,_0x192d98._0x3a1d06)+_0x3af1a4(_0x192d98._0x15c812,0x532);const _0x44c7dc=_0x1d290d;function _0x3af1a4(_0x399d61,_0x264077){return _0x3266d5(_0x264077,_0x399d61-_0x1e3ec1._0x33c3a5);}const _0x17b6fe={};_0x17b6fe[_0x3af1a4(0x4dc,_0x192d98._0x2a3821)+'d']=_0x19ff49,this[_0x3af1a4(0x423,0x4ab)+_0x3af1a4(_0x192d98._0x3e6218,0xab5)+'st'](_0x44c7dc[_0x19dd5c(_0x192d98._0x291eef,0x2a0)],_0x17b6fe),this[_0x3af1a4(_0x192d98._0x17753d,0x395)+_0x3af1a4(0x762,_0x192d98._0x50d442)+_0x19dd5c(_0x192d98._0x12019d,_0x192d98._0x20c4b4)](_0x19ff49,_0x19dd5c(0x4e1,0x4be));}async[_0x3266d5(0x4a4,0x38c)+_0x3266d5(0x492,0x318)+'t'](_0x8d3d79){const _0x12b1cd={_0x5a0518:0x1af,_0x1d0780:0x12b,_0x3a4eba:0x2c1,_0x50902f:0x33f,_0x2d9c33:0x594,_0x9fd23:0x3cb},_0x2f5cdc={_0x25ff45:0x6},_0x10ba6f={};_0x10ba6f[_0x312f4e(0x1d0,0x16b)+'d']=_0x8d3d79,this['sendGate'+'wayReque'+'st'](_0x312f4e(0x260,_0x12b1cd._0x5a0518)+_0x1ee9e4(_0x12b1cd._0x1d0780,_0x12b1cd._0x3a4eba)+'ct',_0x10ba6f);function _0x1ee9e4(_0x22a748,_0x121679){return _0x3266d5(_0x22a748,_0x121679-0x13);}function _0x312f4e(_0x4b56fa,_0xad50ae){return _0x3266d5(_0xad50ae,_0x4b56fa- -_0x2f5cdc._0x25ff45);}this[_0x312f4e(_0x12b1cd._0x50902f,0x200)+_0x312f4e(0x456,_0x12b1cd._0x2d9c33)+'esolved'](_0x8d3d79,_0x1ee9e4(_0x12b1cd._0x9fd23,0x3e7));}['getSnaps'+_0x3266d5(0x501,0x391)](){const _0x2c750b={_0x7b4cdd:0x355,_0x334c16:0x14a,_0x214dd7:0x20,_0xbc8e18:0xa0e,_0x41e98b:0x84b,_0x145943:0xb1,_0x22f9ce:0x4ee,_0x36cb59:0x607,_0x494aa5:0x504,_0x1c88e2:0x62c,_0x58886a:0x65c,_0x52183d:0xbbe,_0x5131ad:0x6c2},_0x2458bb={_0x12d3ed:0x5d};function _0x39e16f(_0x44128a,_0xbdb01b){return _0x3266d5(_0xbdb01b,_0x44128a-0x4b1);}const _0xae7d1c={...this['snapshot']};_0xae7d1c[_0x1f7680(0x21b,_0x2c750b._0x7b4cdd)+_0x1f7680(_0x2c750b._0x334c16,-_0x2c750b._0x214dd7)]=[...this[_0x39e16f(_0x2c750b._0xbc8e18,_0x2c750b._0x41e98b)][_0x1f7680(_0x2c750b._0x145943,0x355)+_0x39e16f(_0x2c750b._0x22f9ce,_0x2c750b._0x36cb59)]];function _0x1f7680(_0x15b952,_0x2abff7){return _0x3266d5(_0x15b952,_0x2abff7- -_0x2458bb._0x12d3ed);}return _0xae7d1c[_0x39e16f(_0x2c750b._0x494aa5,_0x2c750b._0x7b4cdd)+_0x39e16f(_0x2c750b._0x1c88e2,0x491)+_0x39e16f(0x5ba,_0x2c750b._0x58886a)]=[...this[_0x39e16f(_0x2c750b._0xbc8e18,_0x2c750b._0x52183d)]['pendingP'+'airReque'+_0x39e16f(0x5ba,_0x2c750b._0x5131ad)]],_0xae7d1c;}async[_0x3266d5(0x441,0x1b8)+'elay'](){const _0x493cc6={_0x576616:0x692,_0x444447:0x6d4,_0x38b4d1:0x7ef,_0x2c1e8b:0x68a,_0x1810fb:0x7d3,_0x289935:0x4f4,_0x8edb5a:0x6b7,_0x1c17d3:0x5ba,_0x55326c:0x5d6,_0x15df88:0x737,_0x547e20:0x742,_0x355d67:0x3f4,_0x296672:0x5ea,_0x3f9ece:0x5f7,_0x9d0ff3:0x68f,_0x10d6c5:0x5ff,_0x5a5c3f:0x3df,_0x279859:0x51f,_0xb40f91:0x2ff,_0x58eeaa:0x3f6,_0x47b6b8:0x82b,_0x728b55:0x4a8,_0x2f820e:0x669,_0x5914dc:0x77c,_0x3f9668:0x3ac,_0x1f8820:0x56d,_0x5cc116:0x7d4,_0x3afd55:0x47d,_0x3a6f2c:0x61c,_0x1e412a:0x665,_0x5265da:0x77e,_0x12d0a2:0x67e,_0x190021:0x897,_0x2bb741:0x513,_0x768a27:0x660,_0x175b48:0x847,_0x37fad8:0x570},_0x370bf3={_0x3646b5:0x32a,_0x4f24ba:0x528,_0xc47f0f:0x315,_0x5305f1:0x3be,_0x3c03c8:0x12a,_0x34ede3:0x20b,_0x22165f:0x401,_0x1514fc:0x1d2,_0x4d5460:0xc8,_0xedbbdb:0xcf,_0x4c3f84:0x24f,_0x448bfb:0x296,_0x5c2859:0x211,_0x8a5ec4:0x40e,_0x45e363:0x15c,_0x237392:0x64},_0x4327af={_0x39b0f5:0x987,_0x26d507:0xa2b,_0x4111ed:0x19d,_0x4a72e5:0x2c3,_0xddcac:0x62d,_0x251a52:0x69d},_0x5cc498={_0x291fbd:0x96b,_0x294edd:0x9dc,_0x3620b1:0x42b,_0x15b305:0x699,_0x2a8fdf:0x719},_0x4d73e8={_0x269fd6:0x68},_0x2a9606={_0x56b474:0xd4},_0x4c5ef7={_0x492dc1:0x518,_0x351d3d:0xc73},_0x5360ac={_0x4a6c86:0x485,_0x33910f:0x592,_0x2f75b7:0x66a,_0xd823c0:0x6e6,_0x2ec981:0x4de,_0x26b700:0x670,_0x224700:0x719,_0x4fb176:0x4ff,_0x47d76a:0xa2,_0xac20cb:0x2fa,_0x16353e:0x889,_0x59a820:0x89d,_0x4aadb2:0x51e,_0xadcb86:0x5c2,_0x1a1beb:0x6ec,_0x508e47:0x7e4,_0x682fae:0x1a2,_0x2bb18b:0xb3,_0x4ee8df:0x311,_0x91195:0x151,_0x8e966e:0x291,_0x40e4c8:0x1d1,_0x4ca1a1:0x249,_0x32ab56:0x374},_0x595310={_0x62c69a:0x10e},_0x694445={_0xc10930:0x26f},_0x32eea7={_0x333b1d:0x300},_0x57065f={'uxQqX':function(_0x5974bb,_0x3b9733){return _0x5974bb(_0x3b9733);}};if(this[_0x49ccae(_0x493cc6._0x576616,_0x493cc6._0x444447)]||this[_0x49ccae(_0x493cc6._0x38b4d1,_0x493cc6._0x2c1e8b)+_0x49ccae(0x91b,_0x493cc6._0x1810fb)]||this[_0x22f306(_0x493cc6._0x289935,_0x493cc6._0x8edb5a)+_0x49ccae(_0x493cc6._0x1c17d3,_0x493cc6._0x55326c)]())return;this[_0x49ccae(0x478,_0x493cc6._0x2c1e8b)+_0x22f306(_0x493cc6._0x15df88,_0x493cc6._0x547e20)]=!![],this[_0x49ccae(_0x493cc6._0x355d67,_0x493cc6._0x296672)+_0x49ccae(_0x493cc6._0x3f9ece,0x5ff)]+=0x1;const _0x5f4396=this[_0x49ccae(0x33e,0x5ea)+_0x49ccae(_0x493cc6._0x9d0ff3,_0x493cc6._0x10d6c5)],_0x25f0d1=buildRelayWsUrl(this[_0x49ccae(_0x493cc6._0x5a5c3f,_0x493cc6._0x279859)][_0x49ccae(_0x493cc6._0xb40f91,_0x493cc6._0x58eeaa)]);this[_0x49ccae(0x70e,_0x493cc6._0x47b6b8)](_0x49ccae(_0x493cc6._0x728b55,_0x493cc6._0x2f820e)+_0x49ccae(_0x493cc6._0x5914dc,0x5ab)+'tempt='+_0x5f4396+_0x49ccae(_0x493cc6._0x3f9668,_0x493cc6._0x1f8820)+redactRelayWsUrl(_0x25f0d1));function _0x22f306(_0x3eed26,_0x20b4db){return _0x3266d5(_0x20b4db,_0x3eed26-_0x32eea7._0x333b1d);}const _0x5990a6=this[_0x49ccae(0xa28,_0x493cc6._0x5cc116)+_0x22f306(_0x493cc6._0x3afd55,_0x493cc6._0x3a6f2c)](_0x25f0d1);this[_0x49ccae(0x859,0x89d)+_0x49ccae(0x45a,_0x493cc6._0x1e412a)]=_0x5990a6,_0x5990a6[_0x49ccae(_0x493cc6._0x5265da,_0x493cc6._0x12d0a2)](_0x49ccae(0x650,0x472),()=>{if(this[_0x8bc5e5(_0x5360ac._0x4a6c86,0x746)]||this[_0x5fd02c(0x54c,_0x5360ac._0x33910f)+_0x8bc5e5(0x79e,0x6d7)]!==_0x5990a6){_0x5990a6['close']();return;}this[_0x8bc5e5(_0x5360ac._0x2f75b7,0x6fc)+_0x5fd02c(_0x5360ac._0xd823c0,0x4c8)]=![],this[_0x8bc5e5(0x7cf,0x97a)+_0x8bc5e5(0x42c,0x505)+'yMs']=Date[_0x8bc5e5(_0x5360ac._0x2ec981,_0x5360ac._0x26b700)]();const _0x29424f={};function _0x5fd02c(_0x2c93df,_0x2bbfb7){return _0x22f306(_0x2bbfb7- -_0x694445._0xc10930,_0x2c93df);}_0x29424f[_0x8bc5e5(_0x5360ac._0x224700,0x6fc)+_0x8bc5e5(_0x5360ac._0x4fb176,0x569)]=!![],_0x29424f['lastErro'+'r']=null;function _0x8bc5e5(_0x5ce509,_0x4499a3){return _0x22f306(_0x4499a3-_0x595310._0x62c69a,_0x5ce509);}this[_0x8bc5e5(0x424,0x675)+_0x5fd02c(_0x5360ac._0x47d76a,_0x5360ac._0xac20cb)](_0x29424f),this[_0x8bc5e5(_0x5360ac._0x16353e,_0x5360ac._0x59a820)](_0x8bc5e5(_0x5360ac._0x4aadb2,0x6db)+_0x8bc5e5(0x6a6,_0x5360ac._0xadcb86)+'attempt='+_0x5f4396),this[_0x8bc5e5(0x878,_0x5360ac._0x1a1beb)+'rtbeat'](),shouldKeepGatewayConnected(this[_0x5fd02c(_0x5360ac._0x508e47,0x5ee)][_0x5fd02c(_0x5360ac._0x682fae,_0x5360ac._0x2bb18b)+'unt'],_0x57065f[_0x5fd02c(_0x5360ac._0x4ee8df,_0x5360ac._0x91195)](summarizePendingGatewayMessages,this[_0x8bc5e5(0x908,0x92e)+_0x8bc5e5(0xa61,0x8ca)+_0x5fd02c(_0x5360ac._0x8e966e,0x235)])[_0x5fd02c(_0x5360ac._0x40e4c8,_0x5360ac._0x4ca1a1)+_0x8bc5e5(0x888,0x619)])&&this[_0x8bc5e5(0x7da,0x8f8)+_0x5fd02c(0x1fb,_0x5360ac._0x32ab56)+'nected']();}),_0x5990a6['on'](_0x49ccae(_0x493cc6._0x190021,0x6d2),(_0x211469,_0x4d255b)=>{function _0x19945a(_0x5c2cc2,_0x11712a){return _0x49ccae(_0x5c2cc2,_0x11712a- -0x11a);}function _0x504175(_0x5b2383,_0x2b651d){return _0x49ccae(_0x5b2383,_0x2b651d-0x19a);}void this[_0x19945a(_0x4c5ef7._0x492dc1,0x766)+_0x504175(_0x4c5ef7._0x351d3d,0xa9f)+'ge'](_0x211469,_0x4d255b);}),_0x5990a6['on'](_0x49ccae(_0x493cc6._0x2bb741,_0x493cc6._0x768a27),()=>{function _0xb9dd1(_0xf9bae7,_0x4db9d9){return _0x49ccae(_0xf9bae7,_0x4db9d9-_0x2a9606._0x56b474);}function _0x3e2187(_0x422b3d,_0x54c1b8){return _0x49ccae(_0x54c1b8,_0x422b3d- -_0x4d73e8._0x269fd6);}this[_0xb9dd1(_0x5cc498._0x291fbd,_0x5cc498._0x294edd)+_0x3e2187(_0x5cc498._0x3620b1,0x51b)+_0x3e2187(_0x5cc498._0x15b305,_0x5cc498._0x2a8fdf)]=Date[_0xb9dd1(0x4a1,0x6d2)]();}),_0x5990a6[_0x22f306(0x5e2,0x383)](_0x49ccae(0x748,_0x493cc6._0x175b48),_0xfb8d53=>{function _0x150d85(_0x2a1c91,_0x44ce20){return _0x49ccae(_0x44ce20,_0x2a1c91-0x15c);}function _0x29f806(_0x2fa82c,_0x321326){return _0x49ccae(_0x2fa82c,_0x321326- -0x218);}this[_0x150d85(_0x4327af._0x39b0f5,_0x4327af._0x26d507)](_0x29f806(_0x4327af._0x4111ed,_0x4327af._0x4a72e5)+_0x29f806(_0x4327af._0xddcac,_0x4327af._0x251a52)+String(_0xfb8d53));});function _0x49ccae(_0x488472,_0x3d6950){return _0x3266d5(_0x488472,_0x3d6950-0x39c);}_0x5990a6[_0x22f306(0x5e2,_0x493cc6._0x37fad8)]('close',(_0x586355,_0x586625)=>{const _0x421154={_0x559e0c:0x350};this[_0x3a080f(_0x370bf3._0x3646b5,_0x370bf3._0x4f24ba)+_0x57c723(0x175,_0x370bf3._0xc47f0f)]===_0x5990a6&&(this['relaySoc'+_0x57c723(_0x370bf3._0x5305f1,0x315)]=null);this[_0x3a080f(0x93,0x315)+_0x57c723(0x2d3,0x483)]=![],this[_0x3a080f(0x2c5,_0x370bf3._0x3c03c8)+_0x3a080f(_0x370bf3._0x34ede3,0x3c2)](),this[_0x3a080f(0x153,0x77)+_0x3a080f(0x3fa,0x1c6)+_0x57c723(0x175,0x314)]=null,this[_0x3a080f(_0x370bf3._0x22165f,_0x370bf3._0x1514fc)+'onnected'+_0x57c723(0x280,_0x370bf3._0x4d5460)]=null;function _0x57c723(_0x588a23,_0x3e7008){return _0x49ccae(_0x588a23,_0x3e7008- -_0x421154._0x559e0c);}this['updateSn'+'apshot']({'relayConnected':![],'gatewayConnected':![],'clientCount':0x0,'lastError':_0x586355===0x3e8?null:'relay\x20cl'+_0x3a080f(0x12b,_0x370bf3._0xedbbdb)+(_0x586625[_0x57c723(0x265,_0x370bf3._0x4c3f84)]()||_0x586355)});function _0x3a080f(_0x52c971,_0x36772b){return _0x49ccae(_0x52c971,_0x36772b- -0x375);}this[_0x3a080f(0x30a,0x4b6)](_0x57c723(0x461,0x1a5)+_0x3a080f(_0x370bf3._0x448bfb,_0x370bf3._0x5c2859)+_0x3a080f(0x3a7,_0x370bf3._0x8a5ec4)+_0x586355+'\x20reason='+(_0x586625[_0x3a080f(0x1a9,0x22a)]()||'<none>')),this[_0x57c723(0x2e6,_0x370bf3._0x45e363)+_0x57c723(0x30e,0x22a)](),this[_0x57c723(_0x370bf3._0x237392,0x77)+_0x3a080f(0x21a,0x190)+_0x57c723(0x68,0x324)]();});}async[_0x3266d5(0x25e,0x4e4)+_0x26b3dd(0x9f9,0xa6a)+'ge'](_0x75e792,_0x3b6357){const _0x43a74a={_0x5b2c3e:0x1bf,_0x389458:0x4fb,_0x3078f9:0x268,_0x347086:0x414,_0x192210:0x1d5,_0x494623:0x1b1,_0x161f04:0xf1,_0x519fcd:0x319,_0x40e124:0x66,_0x3b0b51:0x5d3,_0x12187f:0x637,_0xa9936d:0x37e,_0x39ae18:0x1b9,_0x4aea39:0x77,_0xe08538:0x163};this['lastRela'+_0x2d0120(_0x43a74a._0x5b2c3e,0xc5)+_0x544b39(0x454,_0x43a74a._0x389458)]=Date[_0x544b39(0x351,_0x43a74a._0x3078f9)]();if(_0x3b6357){this[_0x544b39(_0x43a74a._0x347086,_0x43a74a._0x192210)+_0x544b39(_0x43a74a._0x494623,-_0x43a74a._0x161f04)+'tewayMes'+'sage']({'kind':_0x2d0120(_0x43a74a._0x519fcd,_0x43a74a._0x40e124),'data':normalizeBinary(_0x75e792)});return;}const _0x3602a6=normalizeText(_0x75e792);function _0x544b39(_0x2ed20a,_0x2ea421){return _0x26b3dd(_0x2ed20a- -0x3a1,_0x2ea421);}if(_0x3602a6==null)return;const _0x28566e=parseControl(_0x3602a6);if(_0x28566e){await this[_0x544b39(_0x43a74a._0x3b0b51,0x61b)+_0x2d0120(_0x43a74a._0x12187f,_0x43a74a._0xa9936d)+'ol'](_0x28566e);return;}const _0xfb342f=parseConnectStartIdentity(_0x3602a6);_0xfb342f&&this[_0x2d0120(0x4cc,0x72b)+'onnectSt'+_0x544b39(_0x43a74a._0x39ae18,_0x43a74a._0x4aea39)](_0xfb342f['id'],_0xfb342f[_0x2d0120(0x386,0x1fa)]);const _0x229303={};function _0x2d0120(_0x2d0b71,_0x108eb9){return _0x26b3dd(_0x2d0b71- -0x3c8,_0x108eb9);}_0x229303[_0x2d0120(0xde,-0x3b)]=_0x2d0120(0x35f,0x322),_0x229303[_0x2d0120(0x35f,0x432)]=_0x3602a6,this['forwardO'+_0x544b39(_0x43a74a._0x494623,-0xab)+_0x2d0120(0xcf,0x274)+_0x2d0120(0x1b1,_0x43a74a._0xe08538)](_0x229303);}async[_0x3266d5(0x6db,0x4e4)+'layContr'+'ol'](_0x586427){const _0x441453={_0x3671a8:0x748,_0x100a1f:0x973,_0x511c4d:0x6c5,_0x4870e9:0x564,_0x21308f:0x35c,_0x35b887:0x4d7,_0x45a5df:0x6bf,_0x2161c0:0x347,_0x9d9235:0x695,_0x26c2bc:0x43d,_0x53b04b:0x94a,_0x4ec9d3:0x8a8,_0x1175dd:0x5ef,_0x1b82bf:0x7b2,_0x1ba334:0x45a,_0x37a568:0x93c,_0x439e41:0x94c,_0x174a93:0x96c,_0x2bbb97:0x328,_0x3466a1:0x5ae,_0x21e288:0x6ee,_0x12fffb:0x45f,_0x93fbfe:0x4db,_0x1779df:0x4ce,_0x2a2b12:0x671,_0x3d68de:0x5a4,_0x36e36a:0x80c,_0x29070b:0x70f,_0x1abc8d:0x47c,_0x12e6b2:0x4ea,_0x4d90df:0x7db,_0x18d653:0x484,_0x4841b1:0x6a7,_0x509876:0x584,_0x512f56:0x44d,_0x2c7746:0x88e,_0x52d2e3:0x92f,_0x595d8b:0x6cf,_0x5e7ef8:0x4f8,_0x259de1:0x5c7,_0x4b59a2:0x700,_0x5bb49b:0x6b0,_0x162ec3:0x54e,_0x2be37e:0x2c3,_0x53113a:0x51f,_0x5073fd:0x3f1,_0x1eb626:0x59d,_0x45a3c7:0x6cb,_0x23c497:0x5f7,_0x21efe8:0x315,_0x4c3e7f:0x46d,_0x5d5c20:0x5e6,_0x5307d5:0x77c,_0x43c5bd:0x451,_0x1c63b4:0x92f,_0x8fc08:0x63b,_0x51e1d8:0x5b3,_0x4e6f31:0x6a2,_0x32f0d1:0x7c5,_0x243f26:0x50a,_0x471cef:0x4b9,_0x4d7007:0x245,_0x1780c8:0x4b3,_0x40d37c:0x498,_0x1d2c64:0x210,_0x58f647:0x394,_0x1d534a:0x322,_0x40314c:0xa24,_0x5ac808:0x616,_0x45ae00:0x4f3,_0x414b78:0x464,_0x3089c7:0x59e,_0x5852b0:0x810,_0x45012e:0x5df,_0x5e8e7f:0x377,_0x4935de:0x733,_0x4f3e26:0x637,_0xeaed40:0x3b7,_0x288337:0x516,_0x12dcaf:0x366,_0x283461:0x92f,_0x50bb4e:0x3b7,_0x1a61ea:0x5e8,_0x234ccd:0x96f,_0x439ab7:0x494,_0xadfbe7:0x541,_0x131605:0x723,_0x89c5c6:0x873,_0x5cef17:0x5ed,_0x17f888:0x926,_0x16fda6:0x8a2,_0xbec5f7:0x6df,_0x262c4e:0x5ba,_0x11dc73:0x714,_0x18310b:0x669,_0x2ce2ba:0x3be,_0x254aca:0xbab,_0x57ad9b:0x4ef,_0x1b78e7:0x3ee,_0x3ac862:0x678,_0x1f41cc:0xa45,_0x561653:0x7c1,_0x2a44d0:0x2a7,_0xfba82:0x56b,_0x53f8c2:0x8a9,_0x359d2b:0x361,_0x46c31f:0x780,_0x303a4a:0x288,_0x2333d1:0x354,_0x1adc2f:0x810,_0x1fe3d3:0x619,_0x882b09:0x487,_0x11c807:0x4f6,_0x1f54a1:0x782,_0x5fc9af:0x9e1,_0x5dd641:0x662,_0x410cbd:0x614,_0x28f3f7:0x5da,_0x57efa9:0x487,_0x165c5d:0x6db,_0x414737:0x757,_0x31027e:0x678,_0x26d611:0x2cc,_0xf69340:0x76e,_0x422260:0x7dc,_0x5d38b6:0x761,_0x55c12d:0x9b0,_0x31d6b8:0x896,_0x11aa1d:0x3b7,_0x5f3984:0x44b,_0x588165:0x457,_0x4ec893:0x6a6,_0x590e7e:0x635,_0x2f4173:0xa7c,_0x3aa2e6:0x8c1,_0x505b05:0x575,_0x103c20:0x7fd,_0x55a1db:0x5f9,_0x27cdc5:0x89e,_0x320889:0x47e,_0x308e02:0x6d2,_0x455d20:0x2a0,_0x36ea5e:0x445,_0x57d27d:0x4fa,_0x3c15c4:0x601,_0x1cf7df:0x6fd,_0x3d20bd:0x63a,_0x45970e:0x56a},_0x149ebd={'TiiPs':_0x57e108(0x5b8,_0x441453._0x3671a8)+_0x4cbc0b(0x6cc,_0x441453._0x100a1f)+'t','sAZck':function(_0x20f0f0,_0x29e2de){return _0x20f0f0===_0x29e2de;},'irIeP':function(_0x29afeb,_0x1234d9){return _0x29afeb===_0x1234d9;},'HUvBn':_0x57e108(_0x441453._0x511c4d,_0x441453._0x4870e9)+_0x57e108(0x5f7,0x7d5)+_0x57e108(_0x441453._0x21308f,0x575)+_0x57e108(0x3ef,_0x441453._0x35b887)+_0x57e108(_0x441453._0x45a5df,0x871)+'dle\x20gate'+'way','EzmUj':function(_0x5cdf60,_0xea43e9){return _0x5cdf60>_0xea43e9;},'QxUQS':function(_0x305c65,_0x2e524b){return _0x305c65(_0x2e524b);}};function _0x57e108(_0x5e5b9a,_0x1f02ec){return _0x26b3dd(_0x5e5b9a- -0x27d,_0x1f02ec);}if(_0x586427[_0x4cbc0b(0x3ad,0x57a)]===_0x149ebd[_0x4cbc0b(0x9fc,0x790)]){await this[_0x4cbc0b(0x94b,0x6e8)+_0x57e108(_0x441453._0x2161c0,0x4d1)+_0x57e108(_0x441453._0x9d9235,0x5a2)](_0x586427);return;}const {event:_0x4490f5,count:_0x5cd55c}=_0x586427;if(_0x149ebd[_0x57e108(0x618,_0x441453._0x26c2bc)](_0x4490f5,'client_c'+_0x57e108(0x780,0x94a))||_0x149ebd[_0x4cbc0b(0x72a,0x955)](_0x4490f5,_0x4cbc0b(_0x441453._0x53b04b,_0x441453._0x4ec9d3)+_0x57e108(_0x441453._0x1175dd,_0x441453._0x1b82bf))){const _0x41b603=this[_0x4cbc0b(0x8c6,0x96c)][_0x4cbc0b(_0x441453._0x1ba334,0x431)+_0x4cbc0b(_0x441453._0x37a568,0x70f)],_0x2d0cdb=_0x5cd55c??Math['max'](0x1,this[_0x4cbc0b(_0x441453._0x439e41,_0x441453._0x174a93)][_0x4cbc0b(0x297,0x431)+_0x57e108(0x513,0x5b9)]);_0x2d0cdb>0x0&&this[_0x57e108(0x263,_0x441453._0x2bbb97)+_0x4cbc0b(0x489,_0x441453._0x3466a1)+_0x57e108(0x4db,_0x441453._0x21e288)]==null&&(this[_0x4cbc0b(0x5c8,_0x441453._0x12fffb)+'mandStar'+_0x57e108(_0x441453._0x93fbfe,_0x441453._0x1779df)]=Date[_0x4cbc0b(0x659,_0x441453._0x2a2b12)]());const _0x33c4a5={};_0x33c4a5[_0x4cbc0b(_0x441453._0x3d68de,0x431)+_0x4cbc0b(_0x441453._0x36e36a,_0x441453._0x29070b)]=_0x2d0cdb,this['updateSn'+_0x57e108(_0x441453._0x1abc8d,_0x441453._0x12e6b2)](_0x33c4a5);if(_0x2d0cdb===0x0){this[_0x4cbc0b(0x646,0x810)+_0x4cbc0b(0x9d3,_0x441453._0x4d90df)+_0x57e108(0x28b,_0x441453._0x18d653)]=![],this[_0x4cbc0b(_0x441453._0x4841b1,_0x441453._0x509876)+_0x57e108(0x4a7,0x729)+'t'](),this[_0x4cbc0b(0x276,_0x441453._0x512f56)+_0x4cbc0b(0xa3b,0x7d9)+_0x57e108(0x76e,_0x441453._0x2c7746)+'e']();const _0x5556d0=summarizePendingGatewayMessages(this[_0x4cbc0b(0x8d9,_0x441453._0x52d2e3)+_0x57e108(_0x441453._0x595d8b,_0x441453._0x5e7ef8)+'ssages'])[_0x4cbc0b(0x43a,_0x441453._0x259de1)+_0x4cbc0b(_0x441453._0x4b59a2,0x61a)];shouldScheduleGatewayIdleClose(_0x2d0cdb,_0x5556d0,this[_0x57e108(_0x441453._0x5bb49b,0x70d)+_0x4cbc0b(0x84c,0x8a2)]())?(this['log'](_0x149ebd[_0x57e108(_0x441453._0x162ec3,_0x441453._0x2be37e)]),this[_0x4cbc0b(0x55a,_0x441453._0x53113a)+_0x57e108(_0x441453._0x5073fd,_0x441453._0x1eb626)]()):this[_0x4cbc0b(_0x441453._0x45a3c7,0x89e)]('client\x20d'+_0x57e108(_0x441453._0x23c497,0x571)+'opped\x20to'+'\x20zero;\x20g'+_0x4cbc0b(_0x441453._0x21efe8,_0x441453._0x4c3e7f)+_0x4cbc0b(_0x441453._0x5d5c20,_0x441453._0x5307d5)+_0x4cbc0b(0xa33,0x7c9));}else{if(shouldRecycleGatewayForFreshClient(_0x41b603,_0x2d0cdb,this['isGatewa'+_0x57e108(0x6a6,_0x441453._0x43c5bd)](),![])){const _0x5b818b=summarizePendingGatewayMessages(this[_0x4cbc0b(0x7d3,_0x441453._0x1c63b4)+_0x57e108(0x6cf,0x7a9)+_0x4cbc0b(_0x441453._0x8fc08,_0x441453._0x51e1d8)]);this[_0x57e108(_0x441453._0x4e6f31,_0x441453._0x32f0d1)](_0x4cbc0b(_0x441453._0x243f26,0x64a)+_0x57e108(_0x441453._0x471cef,_0x441453._0x4d7007)+_0x57e108(_0x441453._0x1780c8,0x5dc)+_0x57e108(0x408,0x1c5)+_0x57e108(_0x441453._0x40d37c,_0x441453._0x1d2c64)+_0x57e108(0x4ad,_0x441453._0x58f647)+_0x4cbc0b(0x5ff,0x716)+'='+_0x5b818b[_0x57e108(_0x441453._0x1d534a,0x123)]+(_0x4cbc0b(_0x441453._0x40314c,0x874)+'=')+_0x5b818b[_0x57e108(0x3cb,0x4a2)+'equests']+_0x4cbc0b(_0x441453._0x5ac808,_0x441453._0x45ae00)+_0x5b818b[_0x57e108(0x4a1,0x4ef)+'t']+'\x20binary='+_0x5b818b[_0x57e108(_0x441453._0x414b78,0x671)]+('\x20handsha'+'keStarte'+'d=')+this[_0x4cbc0b(_0x441453._0x3089c7,_0x441453._0x5852b0)+_0x57e108(_0x441453._0x45012e,0x87f)+_0x4cbc0b(_0x441453._0x5e8e7f,0x487)]);const _0x54b013=prunePendingGatewayMessagesForFreshDemand(this[_0x57e108(_0x441453._0x4935de,_0x441453._0x4f3e26)+_0x4cbc0b(0xb70,0x8cb)+_0x57e108(_0x441453._0xeaed40,0x293)]);_0x149ebd[_0x4cbc0b(0x2cb,_0x441453._0x288337)](_0x54b013[_0x57e108(0x4d4,_0x441453._0x12dcaf)],0x0)&&(this[_0x4cbc0b(0x948,_0x441453._0x283461)+'atewayMe'+_0x57e108(_0x441453._0x50bb4e,_0x441453._0x1a61ea)]=_0x54b013[_0x57e108(0x6db,_0x441453._0x234ccd)],this[_0x57e108(0x6a2,_0x441453._0x439ab7)](_0x4cbc0b(0x654,_0x441453._0xadfbe7)+'stale\x20ga'+'teway\x20qu'+_0x57e108(_0x441453._0x131605,_0x441453._0x5852b0)+'re\x20recyc'+_0x57e108(0x77d,_0x441453._0x89c5c6)+_0x4cbc0b(_0x441453._0x5cef17,0x467)+_0x54b013[_0x57e108(0x4d4,0x5fc)]+_0x57e108(0x4c7,0x2d9)+_0x54b013[_0x4cbc0b(0xab8,0x8d7)][_0x57e108(0x64d,0x5c9)])),this[_0x57e108(0x323,0x2f5)+_0x57e108(0x3f1,0x453)](!![]);}if(this['isGatewa'+_0x4cbc0b(_0x441453._0x17f888,_0x441453._0x16fda6)]()&&!this[_0x4cbc0b(_0x441453._0xbec5f7,_0x441453._0x262c4e)+'loseBoun'+_0x4cbc0b(_0x441453._0x11dc73,_0x441453._0x18310b)+_0x57e108(0x409,0x4cb)]){const _0x4b63fd={};_0x4b63fd[_0x57e108(_0x441453._0x2ce2ba,0x59e)+_0x4cbc0b(_0x441453._0x254aca,0x97c)]=!![],_0x4b63fd[_0x4cbc0b(_0x441453._0x57ad9b,0x728)+'r']=null,this[_0x4cbc0b(0x535,0x676)+_0x4cbc0b(_0x441453._0x1b78e7,_0x441453._0x3ac862)](_0x4b63fd),this['log'](_0x4cbc0b(0x60d,0x64a)+'already\x20'+_0x4cbc0b(_0x441453._0x1f41cc,_0x441453._0x561653)+_0x57e108(_0x441453._0x2a44d0,0x67)+_0x4cbc0b(0x960,0x838)+_0x4cbc0b(0x551,_0x441453._0xfba82)+this[_0x4cbc0b(0x725,_0x441453._0x53f8c2)+_0x57e108(_0x441453._0x359d2b,0x5d3)](this[_0x57e108(0x3be,0x1e0)+_0x57e108(_0x441453._0x46c31f,0x6cf)+_0x57e108(0x28f,_0x441453._0x303a4a)])+(_0x57e108(0x70f,0x496)+_0x57e108(_0x441453._0x2333d1,0x256)+'d=')+this[_0x4cbc0b(0x61e,_0x441453._0x1adc2f)+_0x57e108(_0x441453._0x45012e,0x646)+_0x4cbc0b(_0x441453._0x1fe3d3,_0x441453._0x882b09)]);}}this['ensureGa'+_0x57e108(_0x441453._0x11c807,0x408)+_0x4cbc0b(_0x441453._0x1f54a1,0x56a)]();return;}function _0x4cbc0b(_0x2206fa,_0x1660ea){return _0x26b3dd(_0x1660ea- -0x81,_0x2206fa);}if(_0x4490f5===_0x4cbc0b(_0x441453._0x5fc9af,0x7a6)+_0x4cbc0b(_0x441453._0x5dd641,0x6d2)+'ted'){this[_0x57e108(_0x441453._0x410cbd,_0x441453._0x28f3f7)+_0x4cbc0b(0x869,0x7db)+_0x4cbc0b(0x261,_0x441453._0x57efa9)]=![];const _0x49e02a={};_0x49e02a['clientCo'+_0x57e108(0x513,0x478)]=0x0,this[_0x57e108(0x47a,_0x441453._0x165c5d)+_0x4cbc0b(_0x441453._0x414737,_0x441453._0x31027e)](_0x49e02a),this['markDevi'+_0x4cbc0b(0x681,0x6a3)+'t'](),this[_0x4cbc0b(_0x441453._0x26d611,0x44d)+_0x57e108(0x5dd,0x4ef)+_0x57e108(_0x441453._0xf69340,_0x441453._0x422260)+'e']();const _0x3447fd=_0x149ebd[_0x57e108(_0x441453._0x5d38b6,0x53d)](summarizePendingGatewayMessages,this[_0x57e108(_0x441453._0x4935de,_0x441453._0x55c12d)+_0x57e108(0x6cf,_0x441453._0x31d6b8)+_0x57e108(_0x441453._0x11aa1d,_0x441453._0x5f3984)])[_0x4cbc0b(_0x441453._0x588165,0x5c7)+_0x57e108(0x41e,0x5d8)];shouldScheduleGatewayIdleClose(0x0,_0x3447fd,this['isGatewa'+_0x57e108(_0x441453._0x4ec893,0x6ae)]())?(this[_0x57e108(0x6a2,_0x441453._0x590e7e)](_0x4cbc0b(_0x441453._0x2f4173,_0x441453._0x3aa2e6)+'isconnec'+_0x57e108(_0x441453._0x505b05,_0x441453._0x103c20)+_0x57e108(0x5e9,0x504)+_0x4cbc0b(0x47c,0x6a2)+'y'),this[_0x57e108(0x323,0x91)+'eway']()):(this[_0x4cbc0b(_0x441453._0x55a1db,_0x441453._0x27cdc5)](_0x57e108(_0x441453._0x511c4d,_0x441453._0x320889)+_0x4cbc0b(0x651,_0x441453._0x308e02)+_0x4cbc0b(0x6f4,_0x441453._0x53b04b)+_0x57e108(0x2e5,_0x441453._0x455d20)+_0x4cbc0b(_0x441453._0x36ea5e,_0x441453._0x57d27d)+_0x4cbc0b(0x466,_0x441453._0x3c15c4)),this[_0x57e108(_0x441453._0x1cf7df,_0x441453._0x3d20bd)+_0x57e108(0x4f6,0x3d7)+_0x4cbc0b(0x38d,_0x441453._0x45970e)]());return;}}async[_0x26b3dd(0x769,0x4de)+_0x3266d5(-0x70,0x134)+_0x26b3dd(0x912,0xb45)](_0xfc396e){const _0x8ce52={_0x4aea84:0x530,_0x1c15fb:0x15a,_0x421c4a:0x9f9,_0x5a6ded:0x290,_0x3fa981:0x31a,_0xc2a2d7:0x668,_0x58be2f:0x16c,_0x553356:0xdb,_0x3a51fb:0x5ac,_0x4c4ddc:0x1a1,_0x2a1397:0x877,_0x3b216d:0x786,_0x149a9e:0x849,_0x2526de:0x5bd,_0x2b6f16:0x8e3,_0xe52d60:0x98d,_0xd18eca:0x51,_0x4722ac:0x9cd,_0x2997e7:0x323,_0x53f539:0x4cb,_0x12873f:0x348,_0x591b26:0xb0,_0x4887cc:0xb0,_0x3304de:0x17f,_0x2ed94d:0xeb,_0x3e23f4:0x7c1,_0x11d887:0x92a,_0x4ff7b3:0x832,_0x1dafaa:0x3f,_0x1ac056:0x2ef,_0x2b38d8:0x634,_0x49efc5:0x27f,_0x2971ee:0xc,_0x511a67:0x5b3,_0x54f8e4:0x535,_0x2203d8:0x57f,_0x44ee8c:0x750,_0x82dd17:0x269,_0x5aa609:0x46b,_0x5b627e:0x255,_0x55b053:0x1a9,_0x1febc2:0x202,_0x48811e:0x1a,_0x36838a:0x31,_0x1250a7:0x94e,_0x100147:0x8fd,_0x35d3af:0x957,_0x49242f:0x83c,_0x261d6e:0xfa,_0x78d22f:0x75,_0x41f4a6:0xeb,_0x156b45:0x5a1,_0x1a0dab:0x844},_0x21bd1e={};_0x21bd1e[_0x203934(_0x8ce52._0x4aea84,0x634)]=function(_0x325b0e,_0x25aa99){return _0x325b0e||_0x25aa99;},_0x21bd1e['ysDiR']=_0x436bcf(0x20c,_0x8ce52._0x1c15fb)+'p.issued',_0x21bd1e[_0x203934(_0x8ce52._0x421c4a,0x983)]=function(_0x59c2fe,_0x454255){return _0x59c2fe||_0x454255;},_0x21bd1e['pwRTj']=_0x203934(0x758,0x830)+_0x436bcf(_0x8ce52._0x5a6ded,_0x8ce52._0x3fa981);const _0x4d8944=_0x21bd1e,_0x588c83=_0xfc396e[_0x203934(_0x8ce52._0xc2a2d7,0x661)+'d']?.[_0x436bcf(_0x8ce52._0x58be2f,_0x8ce52._0x553356)]()??'',_0x14b405=_0xfc396e[_0x203934(_0x8ce52._0x3a51fb,0x557)+_0x436bcf(0x250,_0x8ce52._0x4c4ddc)]?.['trim']()||_0xfc396e[_0x436bcf(0xd9,0x16e)+_0x203934(0x856,_0x8ce52._0x2a1397)]?.['trim']()||'';if(!_0x588c83){this[_0x203934(0xb73,0x91a)](_0x203934(0x68c,_0x8ce52._0x3b216d)+_0x203934(0x390,0x637)+_0x203934(0x9c8,_0x8ce52._0x149a9e)+_0x203934(0x56b,_0x8ce52._0x2526de)+'reason=m'+_0x203934(0x8d2,_0x8ce52._0x2b6f16)+_0x203934(0x978,_0x8ce52._0xe52d60)+'d');return;}const _0xa79a00=parseBootstrapRequestPayload(_0xfc396e[_0x203934(0x78e,0x79a)]);function _0x436bcf(_0x1f9595,_0x39ee9){return _0x3266d5(_0x1f9595,_0x39ee9- -0x24b);}function _0x203934(_0x242f6c,_0x1962a7){return _0x3266d5(_0x242f6c,_0x1962a7-0x48b);}if(!_0xa79a00['ok']){this[_0x436bcf(_0x8ce52._0xd18eca,0x244)](_0x203934(_0x8ce52._0x4722ac,0x786)+'otstrap\x20'+_0x203934(0x6a4,0x849)+'rejected'+_0x203934(_0x8ce52._0x2997e7,_0x8ce52._0x53f539)+'Id='+_0x588c83+'\x20code='+_0xa79a00[_0x436bcf(-_0x8ce52._0x12873f,-_0x8ce52._0x591b26)]+_0x436bcf(0xc6,0x1ea)+_0xa79a00['message']);const _0xe51334={};_0xe51334[_0x436bcf(0xff,-_0x8ce52._0x4887cc)]=_0xa79a00[_0x436bcf(-_0x8ce52._0x3304de,-0xb0)],_0xe51334[_0x436bcf(-0xde,_0x8ce52._0x2ed94d)]=_0xa79a00[_0x203934(0x85f,_0x8ce52._0x3e23f4)],this[_0x203934(_0x8ce52._0x11d887,_0x8ce52._0x4ff7b3)+_0x203934(0x3f6,0x6a5)]({'event':_0x436bcf(-_0x8ce52._0x1dafaa,0x15a)+_0x436bcf(_0x8ce52._0x1ac056,0x31a),'requestId':_0x588c83,'targetClientId':_0x4d8944[_0x203934(0x48e,_0x8ce52._0x2b38d8)](_0x14b405,void 0x0),'payload':_0xe51334});return;}try{const _0x2cf673=await issueOpenClawBootstrapToken(_0xa79a00[_0x436bcf(_0x8ce52._0x49efc5,0xee)]);this[_0x436bcf(_0x8ce52._0x2971ee,0x244)](_0x203934(0x66a,0x786)+_0x203934(_0x8ce52._0x511a67,0x637)+_0x436bcf(-0x17,0x223)+_0x436bcf(0x1a6,0x1d2)+_0x203934(_0x8ce52._0x54f8e4,_0x8ce52._0x2203d8)+_0x588c83+(_0x436bcf(-0x30b,-0x19a)+'d=')+_0xa79a00[_0x203934(_0x8ce52._0x44ee8c,0x7c4)]['deviceId']+('\x20targetC'+'lientId=')+(_0x14b405||'<none>')+('\x20expires'+_0x436bcf(_0x8ce52._0x82dd17,0x200))+_0x2cf673[_0x203934(_0x8ce52._0x5aa609,0x4d4)+'tMs']);const _0xfbefb6={};_0xfbefb6['bootstra'+_0x436bcf(0x1cc,_0x8ce52._0x5b627e)]=_0x2cf673[_0x436bcf(-0x1d3,0x54)],_0xfbefb6[_0x436bcf(-_0x8ce52._0x55b053,-_0x8ce52._0x1febc2)+'tMs']=_0x2cf673[_0x436bcf(-0x305,-0x202)+'tMs'],this[_0x203934(0x6a4,0x832)+_0x436bcf(_0x8ce52._0x48811e,-_0x8ce52._0x36838a)]({'event':_0x4d8944[_0x203934(0x9b5,_0x8ce52._0x1250a7)],'requestId':_0x588c83,'targetClientId':_0x4d8944[_0x436bcf(0x156,0x2ad)](_0x14b405,void 0x0),'payload':_0xfbefb6});}catch(_0x536a36){const _0x101812=_0x536a36 instanceof Error?_0x536a36[_0x203934(_0x8ce52._0x100147,0x7c1)]:String(_0x536a36);this[_0x436bcf(0x228,0x244)](_0x436bcf(0x250,_0x8ce52._0x4887cc)+'otstrap\x20'+_0x203934(_0x8ce52._0x35d3af,0x8f9)+'sue\x20fail'+_0x203934(0x9e0,0x72f)+'stId='+_0x588c83+_0x203934(_0x8ce52._0x49242f,0x6a6)+_0x101812);const _0x3a7c84={};_0x3a7c84['code']='bootstra'+'p_issue_'+_0x436bcf(-_0x8ce52._0x261d6e,_0x8ce52._0x78d22f),_0x3a7c84[_0x436bcf(0x391,_0x8ce52._0x41f4a6)]=_0x101812;const _0x5b3e3b={};_0x5b3e3b['event']=_0x4d8944[_0x203934(_0x8ce52._0x156b45,0x5c4)],_0x5b3e3b['requestI'+'d']=_0x588c83,_0x5b3e3b[_0x203934(0xa9d,_0x8ce52._0x1a0dab)+'ientId']=_0x14b405||void 0x0,_0x5b3e3b[_0x203934(0x5a4,0x79a)]=_0x3a7c84,this['sendRela'+_0x203934(0x443,0x6a5)](_0x5b3e3b);}}[_0x3266d5(0x96,0x325)+'rQueueGa'+_0x26b3dd(0x497,0x39a)+'sage'](_0xcec5c7){const _0x4696f5={_0x3facc8:0x33,_0x34d7b4:0x476,_0x2c2ba4:0x2e3,_0x2fcf5e:0x579,_0x28ee7b:0x2d6,_0x47eaad:0x19b,_0x33f364:0x135,_0x43b67c:0x8a,_0x3b847e:0x2e,_0x201286:0x79,_0x374b0f:0x16e,_0xc2e37:0x5d,_0xdfa820:0x240,_0xcba1e:0x2bd,_0x46e1e1:0x1c9,_0x4cbc28:0x162,_0x338ec3:0x3a9,_0x231d42:0x4f2,_0x4ecefc:0x20b,_0x1351b:0x64a,_0x157561:0x252,_0x291d70:0x377,_0x1ddeea:0xcf,_0x4c908b:0x316,_0x1aca11:0x8a,_0x16184e:0x210,_0x3b2d1d:0xe7,_0x30aaa5:0x2e2,_0x57a67a:0x2c1,_0x9dca6a:0x41f,_0x54f0a8:0x4d,_0xc50269:0x42f,_0x29a72d:0xf3,_0x1db46e:0x256,_0x1a47de:0x5,_0x48f77a:0x1c4,_0xb4dd5:0x1dc,_0x5d033b:0x29e,_0x560aa9:0x18,_0x59a6c0:0x249},_0x30b949={_0x35d6a2:0x208},_0x2900ac={_0x2cf4db:0x63},_0x556c9c={'voKmY':_0x21145c(_0x4696f5._0x3facc8,-0x15e)+_0x5670e0(0x2e9,_0x4696f5._0x34d7b4)+_0x5670e0(_0x4696f5._0x2c2ba4,_0x4696f5._0x2fcf5e)+'ng\x20conne'+'ct\x20hands'+_0x5670e0(0x3f9,_0x4696f5._0x28ee7b)+_0x5670e0(_0x4696f5._0x47eaad,0x316)+_0x21145c(0x1ee,0xaf)+_0x21145c(-_0x4696f5._0x33f364,-0x11)+_0x5670e0(0x1ba,_0x4696f5._0x43b67c),'cCMro':function(_0x16f07d,_0x1fba0e){return _0x16f07d(_0x1fba0e);}},_0x16cdb4=_0xcec5c7[_0x5670e0(_0x4696f5._0x3b847e,_0x4696f5._0x201286)]===_0x21145c(0x8f,-_0x4696f5._0x374b0f)&&isConnectHandshakeRequest(_0xcec5c7['text']);function _0x5670e0(_0x342769,_0x9bb34b){return _0x3266d5(_0x342769,_0x9bb34b-_0x2900ac._0x2cf4db);}if(this[_0x21145c(-_0x4696f5._0xc2e37,-0x73)+_0x21145c(0x12d,_0x4696f5._0xdfa820)+_0x5670e0(0x39a,_0x4696f5._0xcba1e)+'ing']){this[_0x5670e0(_0x4696f5._0x46e1e1,_0x4696f5._0x4cbc28)+_0x21145c(0x256,0x19a)+_0x5670e0(0x1e5,0x3fc)+'e'](_0xcec5c7);_0x16cdb4&&this[_0x5670e0(_0x4696f5._0x338ec3,_0x4696f5._0x231d42)](_0x21145c(0x33,0x259)+_0x21145c(_0x4696f5._0x4ecefc,0x18d)+_0x5670e0(0x6ca,0x579)+_0x5670e0(_0x4696f5._0x1351b,0x466)+_0x21145c(_0x4696f5._0x157561,_0x4696f5._0x291d70)+_0x5670e0(0xa0,0x2d6)+_0x5670e0(_0x4696f5._0x1ddeea,_0x4696f5._0x4c908b)+'il\x20gatew'+'ay\x20recon'+_0x5670e0(0x32c,_0x4696f5._0x1aca11));return;}const _0x3f1989=this[_0x5670e0(-_0x4696f5._0x16184e,0x9e)+'ocket'];function _0x21145c(_0x59e122,_0x379fed){return _0x3266d5(_0x379fed,_0x59e122- -_0x30b949._0x35d6a2);}if(!_0x3f1989||_0x3f1989[_0x5670e0(0x78e,0x544)+'te']!==_0x427ed3[_0x21145c(0x185,_0x4696f5._0x3b2d1d)]){this[_0x21145c(_0x4696f5._0x30aaa5,_0x4696f5._0x57a67a)+'tewayCon'+'nected'](),this['pushPend'+'ingGatew'+'ayMessag'+'e'](_0xcec5c7);_0x16cdb4&&this['log'](_0x556c9c[_0x5670e0(0x218,_0x4696f5._0x9dca6a)]);return;}if(!this[_0x21145c(0x1f9,_0x4696f5._0x54f0a8)+_0x5670e0(0x1a2,_0x4696f5._0xc50269)+_0x21145c(-0x190,-_0x4696f5._0x29a72d)]){if(!_0x16cdb4){this['pushPend'+_0x21145c(_0x4696f5._0x1db46e,_0x4696f5._0x1a47de)+_0x5670e0(0x1b6,0x3fc)+'e'](_0xcec5c7);return;}this[_0x21145c(0x1f9,0xbe)+_0x21145c(_0x4696f5._0x48f77a,-0xd)+_0x21145c(-0x190,-0x2d8)]=!![];const _0x2b59ca=_0x556c9c[_0x5670e0(0x24b,0x283)](parseConnectHandshakeMeta,_0xcec5c7[_0x21145c(0x8f,-_0x4696f5._0xb4dd5)]);this[_0x21145c(0x287,0x4cf)](_0x5670e0(0xfe,_0x4696f5._0x5d033b)+_0x5670e0(0x3a1,0x13c)+'e\x20starte'+_0x21145c(0xff,0x288)+'='+this['pendingG'+'atewayMe'+_0x21145c(-0x64,-0xed)][_0x5670e0(0x4b5,0x49d)]+_0x556c9c[_0x21145c(_0x4696f5._0x560aa9,0x112)](formatConnectHandshakeMetaForLog,_0x2b59ca));}this['sendToGa'+_0x5670e0(_0x4696f5._0x59a6c0,0x2cf)](_0xcec5c7);}['ensureGa'+_0x3266d5(0x1b5,0x2e3)+_0x3266d5(0x10,0x15b)](){const _0x1abc0c={_0x2df8e5:0x577,_0x3d432b:0x2b3,_0x226dc6:0x2f6,_0x3ac235:0x157,_0x4ced23:0x23c,_0xa95548:0x3bd,_0x3c08e9:0x2eb,_0x41c328:0x287,_0x56b1d8:0x2a7,_0xa50baa:0x20e,_0x2354be:0x1a,_0x2e239d:0x2cd,_0x2c1fbc:0x256,_0x1dacf2:0x1b4,_0x8e798f:0x162,_0xe19994:0x268,_0x2654a2:0x2c2},_0x45a166={_0x27dd80:0x552,_0x3ff31f:0x380,_0x5e4bab:0x23d,_0x284e7b:0x1dd,_0x1c0a4a:0x4e3,_0x37595f:0x28c,_0xb56d08:0x228,_0x117e49:0x6a1,_0x15d847:0x31,_0x3a9d71:0x14d,_0x116b31:0x34c,_0x52be67:0x287,_0x61f8d4:0x513,_0x262395:0x3fe,_0xce5289:0xaa,_0x3d1d31:0x44d,_0x180ddc:0x3f3,_0xcb597:0x52b,_0x317fcf:0x3fb,_0x30815b:0x3a6,_0x1a1aeb:0x4d6,_0xcc3963:0x3e3,_0x2c1c83:0x617,_0x134c22:0x3c6,_0x54a0b6:0x4b7,_0x3b27aa:0x4c1,_0x264f94:0xc1,_0x14c3b0:0x2cb,_0x46a4db:0x38e,_0x194573:0x8e,_0x308bdb:0x19c,_0x57f0da:0x1fd,_0x1fa5e4:0x4cc,_0x26d6ee:0x355,_0x345aff:0x2ac,_0x2097f4:0x14e,_0x36cb46:0x650,_0x481daf:0x3a0,_0x2e2d2a:0x55a,_0x277de9:0x579,_0x45e300:0x36,_0x4dc069:0x163,_0x1e2d03:0x50c,_0x1a1ac0:0x119},_0x38966a={_0x18190f:0x23},_0x2827d3={_0x3af910:0x8fe,_0x5c0f72:0x180,_0x2104cc:0x86},_0x166565={_0x20c027:0x3b1,_0x5295a6:0x12a},_0x406948={_0x58d757:0x59a,_0x2530a7:0x7c7,_0x3fde55:0x36a,_0x2ba92c:0x147,_0x1efa69:0x208,_0x2bab1f:0x40d,_0x5d33d3:0x37,_0x50acab:0x40d,_0x519746:0x6a9,_0x285f7d:0x20e,_0x3cd786:0x4c4,_0x1e4d00:0x6f1,_0x49ca91:0x5e2,_0x1c9e4b:0x63d,_0x207511:0x1f3,_0x46a575:0x55,_0x219955:0xd2,_0x4552c6:0x2b,_0x5a3110:0x2db,_0x2c6658:0x1c9,_0x36e40c:0x2b2,_0x41c956:0x52b,_0x130820:0x10c,_0x49cd8b:0x52a,_0x189589:0x129,_0x130a29:0x13d},_0x5c1a0b={_0x447e32:0x3ff},_0xb9a6c7={'eJxeR':function(_0x242d90,_0x5a480b){return _0x242d90!==_0x5a480b;},'xAZVN':function(_0x81b898,_0x7b1ed1){return _0x81b898(_0x7b1ed1);}};if(this[_0x322db0(0x3c9,_0x1abc0c._0x2df8e5)]||!this[_0x322db0(0x285,0x49d)+_0x15c5c3(0x9d,0x148)]()||this[_0x15c5c3(0xe,_0x1abc0c._0x3d432b)+'onnectin'+'g']||this['isGatewa'+_0x15c5c3(_0x1abc0c._0x226dc6,_0x1abc0c._0x3ac235)]()||this[_0x322db0(_0x1abc0c._0x4ced23,0x3a3)+_0x322db0(0x3c6,_0x1abc0c._0xa95548)+_0x322db0(_0x1abc0c._0x3c08e9,_0x1abc0c._0x4ced23)+_0x322db0(_0x1abc0c._0x41c328,0x50b)])return;this['gatewayC'+'onnectin'+'g']=!![],this['log']('gateway\x20'+_0x15c5c3(0x331,0x28a)+_0x322db0(0x96,_0x1abc0c._0x56b1d8)+'l='+this['options']['gatewayU'+'rl']);const _0x5e1e68=this[_0x15c5c3(0x29b,0x44b)+_0x322db0(_0x1abc0c._0xa50baa,0x358)](this[_0x15c5c3(-_0x1abc0c._0x2354be,-_0x1abc0c._0x2e239d)][_0x15c5c3(_0x1abc0c._0x2c1fbc,_0x1abc0c._0x1dacf2)+'rl']);function _0x322db0(_0x3086c9,_0x599f27){return _0x26b3dd(_0x3086c9- -_0x5c1a0b._0x447e32,_0x599f27);}this[_0x15c5c3(-_0x1abc0c._0x8e798f,-_0x1abc0c._0xe19994)+_0x322db0(0xd4,0x198)]=_0x5e1e68,_0x5e1e68[_0x15c5c3(0x145,0x3ce)](_0x15c5c3(-0xc7,-0xa9),()=>{if(this[_0x5b0fbe(_0x406948._0x58d757,_0x406948._0x2530a7)]||_0xb9a6c7[_0x5b0fbe(0x430,_0x406948._0x3fde55)](this['gatewayS'+'ocket'],_0x5e1e68)){_0x5e1e68[_0x5b0fbe(0x679,0x4af)]();return;}this[_0x5443cc(-0x14,0x1f5)+_0x5443cc(0x108,-0x12d)+'g']=![];function _0x5443cc(_0x5aef5f,_0x33b6e0){return _0x15c5c3(_0x5aef5f- -0x22,_0x33b6e0);}this[_0x5b0fbe(0x663,0x7c0)+_0x5443cc(0x20d,0x48a)+_0x5443cc(-_0x406948._0x2ba92c,-_0x406948._0x1efa69)]=![],this[_0x5b0fbe(_0x406948._0x2bab1f,0x64a)+'loseBoun'+_0x5b0fbe(0x4bc,0x34f)+_0x5443cc(_0x406948._0x5d33d3,0x1d2)]=![],this[_0x5b0fbe(_0x406948._0x50acab,_0x406948._0x519746)+_0x5443cc(0x3ae,0x303)+_0x5443cc(-0x143,-_0x406948._0x285f7d)]=Date[_0x5b0fbe(_0x406948._0x3cd786,0x526)]();function _0x5b0fbe(_0x4f826f,_0x2bc002){return _0x15c5c3(_0x4f826f-0x3ff,_0x2bc002);}const _0x4ea92a={};_0x4ea92a[_0x5b0fbe(0x40d,0x5f5)+_0x5443cc(0x3ae,0x225)]=!![],_0x4ea92a['lastErro'+'r']=null,this['updateSn'+'apshot'](_0x4ea92a),this[_0x5b0fbe(_0x406948._0x1e4d00,_0x406948._0x49ca91)](_0x5b0fbe(0x49d,_0x406948._0x1c9e4b)+_0x5443cc(_0x406948._0x207511,-_0x406948._0x46a575)+'d\x20sinceC'+'lientDem'+_0x5443cc(_0x406948._0x219955,_0x406948._0x4552c6)+this[_0x5443cc(_0x406948._0x5a3110,_0x406948._0x2c6658)+_0x5b0fbe(0x3b0,0x22e)](this[_0x5b0fbe(_0x406948._0x36e40c,_0x406948._0x41c956)+_0x5443cc(-0x20,_0x406948._0x130820)+_0x5b0fbe(_0x406948._0x49cd8b,0x53e)])),this['flushPen'+'dingGate'+_0x5443cc(_0x406948._0x189589,-_0x406948._0x130a29)+'ges']();}),_0x5e1e68['on'](_0x322db0(0x3c7,0x461),(_0xf51daf,_0x6d425c)=>{function _0x22c2f0(_0x3ae1b2,_0x13c36f){return _0x15c5c3(_0x13c36f-0x6c,_0x3ae1b2);}this['handleGa'+_0x22c2f0(-_0x166565._0x20c027,-_0x166565._0x5295a6)+'sage'](_0xf51daf,_0x6d425c);});function _0x15c5c3(_0xaaf1e5,_0x2f07f7){return _0x26b3dd(_0xaaf1e5- -0x62d,_0x2f07f7);}_0x5e1e68['once'](_0x322db0(0x53c,_0x1abc0c._0x2654a2),_0xd79a3a=>{const _0x1ddd03={_0x4c8845:0x14c};function _0x2e87d0(_0x552740,_0x416da9){return _0x322db0(_0x416da9- -_0x1ddd03._0x4c8845,_0x552740);}function _0x10464c(_0x464d7d,_0x5290c6){return _0x322db0(_0x5290c6-0x127,_0x464d7d);}this[_0x10464c(_0x2827d3._0x3af910,0x647)](_0x2e87d0(0x2db,_0x2827d3._0x5c0f72)+_0x2e87d0(0xcd,0x20)+_0xb9a6c7[_0x2e87d0(-_0x2827d3._0x2104cc,0xe5)](String,_0xd79a3a));}),_0x5e1e68['once'](_0x15c5c3(0x27a,0x48),(_0x3be002,_0x3871ae)=>{const _0x378c73={_0x58f02d:0x1cf};function _0x182366(_0x532680,_0x210919){return _0x15c5c3(_0x210919-_0x378c73._0x58f02d,_0x532680);}const _0x53bb07=summarizePendingGatewayMessages(this[_0x182366(0x3e4,_0x45a166._0x27dd80)+_0x40e168(0x342,_0x45a166._0x3ff31f)+'ssages'])['connectR'+_0x182366(0x3c0,_0x45a166._0x5e4bab)],_0x513311=this[_0x182366(0x169,_0x45a166._0x284e7b)+'loseBoun'+_0x182366(_0x45a166._0x1c0a4a,_0x45a166._0x37595f)+_0x182366(0x236,_0x45a166._0xb56d08)]&&shouldKeepGatewayConnected(this[_0x40e168(0x3e3,_0x45a166._0x117e49)]['clientCo'+_0x182366(0x4e7,0x332)],_0x53bb07);this[_0x40e168(-0x13f,-0xd8)+'ocket']===_0x5e1e68&&(this[_0x40e168(-0x13f,0xb9)+_0x182366(0x2af,0x75)]=null);this[_0x40e168(_0x45a166._0x15d847,-0x9)+_0x40e168(_0x45a166._0x3a9d71,_0x45a166._0x116b31)+'g']=![],this[_0x40e168(_0x45a166._0x52be67,0x525)+_0x182366(_0x45a166._0x61f8d4,_0x45a166._0x262395)+_0x182366(0x34c,_0x45a166._0xce5289)]=![],this[_0x40e168(0x31,-0x225)+'loseBoun'+_0x182366(_0x45a166._0x3d1d31,0x28c)+_0x182366(0x133,0x228)]=![],this[_0x40e168(_0x45a166._0x15d847,0x286)+_0x40e168(_0x45a166._0x180ddc,0x1ba)+_0x182366(0x205,0xae)]=null,this[_0x40e168(0x2a5,_0x45a166._0xcb597)+'lightCon'+_0x40e168(_0x45a166._0x317fcf,0x1a4)+'shakes']('gateway\x20'+_0x182366(0x5e4,0x5a2)+_0x182366(0x3fe,_0x45a166._0x30815b)+'e='+_0x3be002);function _0x40e168(_0x165241,_0x2dff3a){return _0x15c5c3(_0x165241-_0x38966a._0x18190f,_0x2dff3a);}this[_0x182366(0x1e8,0x299)+_0x182366(_0x45a166._0x1a1aeb,0x29b)]({'gatewayConnected':![],'lastError':_0x3be002===0x3e8||_0x513311?this[_0x40e168(_0x45a166._0xcc3963,0x23f)]['lastErro'+'r']:'gateway\x20'+_0x182366(_0x45a166._0x2c1c83,_0x45a166._0x134c22)+(_0x3871ae['toString']()||_0x3be002)}),this[_0x182366(_0x45a166._0x54a0b6,_0x45a166._0x3b27aa)](_0x40e168(_0x45a166._0x264f94,0x315)+'disconne'+_0x40e168(0x1fa,_0x45a166._0x14c3b0)+'e='+_0x3be002+_0x182366(_0x45a166._0x46a4db,0x467)+(_0x3871ae['toString']()||_0x182366(-_0x45a166._0x194573,_0x45a166._0x308bdb))+(_0x40e168(0x154,_0x45a166._0x57f0da)+'ientDema'+'ndMs=')+this[_0x182366(0x658,_0x45a166._0x1fa5e4)+_0x182366(_0x45a166._0x26d6ee,0x180)](this['clientDe'+_0x182366(_0x45a166._0x345aff,0x1d1)+_0x40e168(_0x45a166._0x2097f4,0x3ff)]));if(_0x513311){this[_0x182366(_0x45a166._0x36cb46,_0x45a166._0x3b27aa)]('gateway\x20'+_0x182366(0x36b,_0x45a166._0x481daf)+_0x182366(0x40f,0x4a9)+'eached;\x20'+_0x182366(_0x45a166._0x2e2d2a,_0x45a166._0x277de9)+_0x40e168(-_0x45a166._0x45e300,-0xed)+_0x40e168(_0x45a166._0x4dc069,-0x1f)+_0x182366(_0x45a166._0x1e2d03,0x531)),this[_0x182366(0x604,0x51c)+'tewayCon'+'nected']();return;}this[_0x40e168(-0x14f,-_0x45a166._0x1a1ac0)+_0x40e168(0xf4,0xaf)+'econnect']();});}['handleGa'+_0x3266d5(0x27e,0x7)+_0x26b3dd(0x579,0x2c1)](_0x1c6db0,_0x55644f){const _0x423d0f={_0x7a1787:0x51a,_0x27224f:0x7b,_0x3fa132:0x2e2,_0x3298cd:0x7da,_0x153b57:0x658,_0x51e044:0x4d2,_0x1a4cb2:0x158,_0x361458:0x3b9,_0x13207c:0x775,_0x31a2ee:0x5c8,_0x505fe0:0x5bb,_0x3236fc:0x723,_0x4ba146:0x52a,_0x710dd5:0x632,_0x2b7efe:0x6ed,_0x227f32:0x35e,_0x454b74:0x1ef,_0x1564d1:0x4b3,_0x2dc081:0x11d,_0x1c9cb0:0x191,_0xf2c5fb:0x3ac,_0x4a0883:0x46a},_0x210cf6={_0x7d935:0x34},_0x419e65={'huRkL':function(_0x4ffab3,_0x2092e9){return _0x4ffab3!==_0x2092e9;},'RddPW':function(_0x1b5bb1,_0x289460){return _0x1b5bb1(_0x289460);}},_0x240a53=this[_0x31347f(0x321,_0x423d0f._0x7a1787)+_0x31347f(_0x423d0f._0x27224f,_0x423d0f._0x3fa132)];if(!_0x240a53||_0x419e65[_0x4a0b63(_0x423d0f._0x3298cd,_0x423d0f._0x153b57)](_0x240a53['readySta'+'te'],_0x427ed3[_0x31347f(0x516,0x3a6)]))return;if(_0x55644f){_0x240a53[_0x4a0b63(_0x423d0f._0x51e044,0x740)](normalizeBinary(_0x1c6db0));return;}function _0x31347f(_0x50939d,_0x55e1c2){return _0x26b3dd(_0x55e1c2- -0x477,_0x50939d);}const _0x1b6b98=_0x419e65[_0x31347f(_0x423d0f._0x1a4cb2,_0x423d0f._0x361458)](normalizeText,_0x1c6db0);if(_0x1b6b98==null)return;function _0x4a0b63(_0x525494,_0x2e47fe){return _0x26b3dd(_0x2e47fe- -_0x210cf6._0x7d935,_0x525494);}const _0x25a06a=_0x419e65[_0x4a0b63(_0x423d0f._0x13207c,0x7fc)](parsePairingRequestFromError,_0x1b6b98);_0x25a06a&&this[_0x4a0b63(_0x423d0f._0x31a2ee,_0x423d0f._0x505fe0)+_0x4a0b63(_0x423d0f._0x3236fc,_0x423d0f._0x4ba146)+_0x4a0b63(_0x423d0f._0x710dd5,0x5c1)](_0x25a06a);const _0x3cd5f7=_0x419e65[_0x4a0b63(_0x423d0f._0x2b7efe,0x7fc)](parsePairResolvedEvent,_0x1b6b98);_0x3cd5f7&&this[_0x31347f(0x2db,_0x423d0f._0x227f32)+_0x31347f(0x6e3,0x475)+_0x31347f(0x529,0x4aa)](_0x3cd5f7[_0x31347f(0x42a,_0x423d0f._0x454b74)+'d'],_0x3cd5f7[_0x4a0b63(_0x423d0f._0x1564d1,0x4a0)]);const _0xcc72ac=parseResponseEnvelopeMeta(_0x1b6b98);_0xcc72ac&&this[_0x31347f(-_0x423d0f._0x2dc081,_0x423d0f._0x1c9cb0)+'atewayRe'+_0x31347f(0x501,_0x423d0f._0xf2c5fb)](_0xcc72ac),_0x240a53[_0x31347f(_0x423d0f._0x4a0883,0x2fd)](_0x1b6b98);}['flushPen'+_0x3266d5(0x385,0x22a)+'wayMessa'+_0x3266d5(0x64e,0x4e9)](){const _0x4e0d92={_0x2eef2c:0x62b,_0x12faac:0x5cb,_0x5877e7:0x732,_0x5555b5:0x7b3,_0x2866b9:0x8c5,_0x50bedd:0x831,_0x16db3d:0x860,_0x5380c9:0x545,_0x47febd:0x88f,_0x54b152:0x834,_0x45a021:0x4d7,_0x460e5e:0x6c6,_0x35fc16:0x6c0,_0x269af3:0x579,_0x52ba20:0x4f5,_0x39e981:0x741,_0x274e11:0x3fd,_0x2ecd24:0x861,_0x25369e:0x8ca,_0x20a3cc:0x784,_0x587c25:0xa5f,_0x24965a:0x7a6,_0x38d608:0x7ce,_0x33bd0a:0x7e1,_0x35fc2a:0x47a,_0x5e4a9b:0x418,_0x5357fa:0xaa0,_0x1249f4:0x771,_0xd70501:0x81e,_0x3c8281:0x98e,_0x3f3ec7:0x705};function _0x1cbcb0(_0x4c8b1a,_0xce6e36){return _0x3266d5(_0x4c8b1a,_0xce6e36-0x3a5);}const _0x383146=this[_0x1cbcb0(0x3ac,0x3e0)+_0xc5d66c(0x445,_0x4e0d92._0x2eef2c)];if(!_0x383146||_0x383146[_0xc5d66c(0x8e3,0x810)+'te']!==_0x427ed3[_0x1cbcb0(_0x4e0d92._0x12faac,_0x4e0d92._0x5877e7)])return;const _0x39e315=[];function _0xc5d66c(_0x1806a4,_0x18bbf1){return _0x3266d5(_0x18bbf1,_0x1806a4-0x402);}const _0x464858=dedupePendingGatewayMessages(this[_0x1cbcb0(_0x4e0d92._0x5555b5,_0x4e0d92._0x2866b9)+_0x1cbcb0(_0x4e0d92._0x50bedd,0x861)+_0xc5d66c(0x5a6,_0x4e0d92._0x16db3d)]);_0x464858[_0x1cbcb0(_0x4e0d92._0x5380c9,0x666)]>0x0&&this[_0x1cbcb0(_0x4e0d92._0x47febd,_0x4e0d92._0x54b152)](_0x1cbcb0(0x413,_0x4e0d92._0x45a021)+_0xc5d66c(0x4d1,_0x4e0d92._0x460e5e)+_0x1cbcb0(_0x4e0d92._0x35fc16,_0x4e0d92._0x269af3)+_0xc5d66c(0x625,0x731)+_0xc5d66c(_0x4e0d92._0x52ba20,0x78f)+_0xc5d66c(_0x4e0d92._0x39e981,0x604)+_0x1cbcb0(0x94a,0x8c8)+_0x1cbcb0(0x66e,_0x4e0d92._0x274e11)+_0x464858[_0x1cbcb0(0x7f2,0x666)]+_0xc5d66c(0x6b6,0x542)+_0x464858['messages'][_0xc5d66c(0x83c,0x670)]);this['pendingG'+_0x1cbcb0(0x676,_0x4e0d92._0x2ecd24)+'ssages']=[];for(const _0x2c0f01 of _0x464858[_0xc5d66c(_0x4e0d92._0x25369e,_0x4e0d92._0x20a3cc)]){if(!this[_0x1cbcb0(_0x4e0d92._0x587c25,_0x4e0d92._0x24965a)+_0xc5d66c(_0x4e0d92._0x38d608,_0x4e0d92._0x33bd0a)+_0xc5d66c(_0x4e0d92._0x35fc2a,0x470)]){if(_0x2c0f01[_0xc5d66c(_0x4e0d92._0x5e4a9b,0x5e5)]!==_0xc5d66c(0x699,0x540)||!isConnectHandshakeRequest(_0x2c0f01['text'])){_0x39e315[_0x1cbcb0(_0x4e0d92._0x5357fa,0x82f)](_0x2c0f01);continue;}this[_0x1cbcb0(0x6f2,_0x4e0d92._0x24965a)+_0x1cbcb0(0x53b,_0x4e0d92._0x1249f4)+_0xc5d66c(0x47a,0x1b9)]=!![];}this[_0x1cbcb0(0x6ea,_0x4e0d92._0xd70501)+_0x1cbcb0(0x386,0x611)](_0x2c0f01);}this[_0x1cbcb0(_0x4e0d92._0x3c8281,0x8c5)+'atewayMe'+_0xc5d66c(0x5a6,_0x4e0d92._0x3f3ec7)]=_0x39e315;}['sendToGa'+_0x3266d5(0x4a8,0x26c)](_0x526781){const _0x5782ea={_0x58d758:0x273,_0x3e9ce1:0x1c5,_0x28c998:0xa5,_0x445a19:0x1cd,_0x5b28fc:0x51,_0x4a7234:0x359,_0x4c71d0:0x523,_0xc361f:0x101,_0x3fb393:0x421,_0x348e5b:0x180,_0x4e05f4:0x2c9,_0x3b4470:0x262,_0x3570e2:0x28f,_0x1341ee:0x4d8,_0x42cf05:0x1b4,_0x3c4bda:0x14b,_0x5463b2:0x331,_0x20c297:0x41a,_0x13cdfd:0x124,_0x24b25d:0x39e,_0x716996:0x40e,_0x494cc0:0x56e,_0x16059c:0x1cd,_0x4982f4:0x0},_0x53a9b6={_0x59d7e5:0x306},_0x5d8eab={'yLSDw':function(_0x242222,_0x2cd465){return _0x242222(_0x2cd465);}};function _0x2b3f84(_0x57026e,_0x4bbff9){return _0x26b3dd(_0x4bbff9- -_0x53a9b6._0x59d7e5,_0x57026e);}const _0x1b99dd=this[_0x2b3f84(_0x5782ea._0x58d758,_0x5782ea._0x3e9ce1)+_0x2b3f84(_0x5782ea._0x28c998,_0x5782ea._0x445a19)];if(!_0x1b99dd||_0x1b99dd['readySta'+'te']!==_0x427ed3[_0x2b3f84(0x27b,0x517)]){this[_0x2b3f84(_0x5782ea._0x5b28fc,0x289)+'ingGatew'+_0x2b3f84(_0x5782ea._0x4a7234,_0x5782ea._0x4c71d0)+'e'](_0x526781);return;}function _0x5f3911(_0x3c2e6f,_0x46e4ac){return _0x26b3dd(_0x3c2e6f- -0x5a7,_0x46e4ac);}if(_0x526781[_0x5f3911(-_0x5782ea._0xc361f,-0xc)]===_0x2b3f84(0x402,_0x5782ea._0x3fb393)){const _0x2e6894=patchConnectRequestGatewayAuth(_0x526781[_0x5f3911(_0x5782ea._0x348e5b,0xb8)],readOpenClawInfo()),_0x440558=_0x5d8eab[_0x2b3f84(_0x5782ea._0x4e05f4,0x382)](parseConnectHandshakeMeta,_0x2e6894['text']);_0x440558&&(_0x440558['id']&&this[_0x5f3911(0xd,-0x1d1)+_0x2b3f84(0xe1,_0x5782ea._0x3b4470)+_0x5f3911(0x2b5,_0x5782ea._0x3570e2)+'s'][_0x2b3f84(_0x5782ea._0x1341ee,0x3e2)](_0x440558['id'],{'method':_0x440558[_0x5f3911(_0x5782ea._0x42cf05,-0xe3)],'startedAtMs':Date[_0x5f3911(_0x5782ea._0x3c4bda,_0x5782ea._0x5463b2)](),'slowWarningLogged':![]}),this[_0x2b3f84(0x7b7,0x619)]('gateway\x20'+_0x2b3f84(0x7d4,0x658)+_0x2b3f84(0x5bf,0x548)+'forwarde'+'d'+formatConnectHandshakeMetaForLog(_0x440558)));_0x2e6894[_0x2b3f84(0x65f,_0x5782ea._0x20c297)]&&this[_0x5f3911(0x378,0x488)](_0x5f3911(_0x5782ea._0x13cdfd,0x2d2)+_0x2b3f84(0x883,0x658)+_0x5f3911(_0x5782ea._0x24b25d,0x64d)+_0x5f3911(0x279,_0x5782ea._0x716996)+_0x2b3f84(-0x4a,0x209)+'rd');_0x1b99dd['send'](_0x2e6894[_0x2b3f84(_0x5782ea._0x494cc0,0x421)]);return;}_0x1b99dd[_0x5f3911(_0x5782ea._0x16059c,0x6f)](_0x526781[_0x5f3911(_0x5782ea._0x4982f4,0xfe)]);}[_0x26b3dd(0x5ad,0x6f0)+'wayReque'+'st'](_0x48db5f,_0x5df9c5){const _0x5cd672={_0x1b3f65:0x658,_0x522c48:0x749,_0x576acf:0x356,_0x16a27b:0x248,_0x57f488:0x198,_0x4c42cf:0x5f,_0x1f3d82:0x151,_0x3b6527:0x1d8,_0x1bbbfe:0x7dd,_0x7a876d:0x98e},_0x17610a={_0x3ef2bb:0x1ee},_0x44c366={'xFaAe':_0xe7bf25(_0x5cd672._0x1b3f65,_0x5cd672._0x522c48),'dLTyI':function(_0x1431af){return _0x1431af();},'xiyqr':_0xe7bf25(0x7f0,0x72a)},_0x3f409a=JSON[_0x4b288f(-0x185,-0x1d7)+'y']({'type':_0x44c366[_0x4b288f(_0x5cd672._0x576acf,_0x5cd672._0x16a27b)],'id':_0x4b288f(-_0x5cd672._0x57f488,_0x5cd672._0x4c42cf)+_0x44c366['dLTyI'](_0xe7fcf0),'method':_0x48db5f,'params':_0x5df9c5}),_0x1f9d6f={};function _0xe7bf25(_0x3a469b,_0x1acfb8){return _0x3266d5(_0x3a469b,_0x1acfb8-0x493);}function _0x4b288f(_0x259beb,_0x2f0a4f){return _0x3266d5(_0x259beb,_0x2f0a4f- -_0x17610a._0x3ef2bb);}_0x1f9d6f[_0x4b288f(-_0x5cd672._0x1f3d82,-_0x5cd672._0x3b6527)]=_0x44c366[_0xe7bf25(_0x5cd672._0x1bbbfe,0x5d1)],_0x1f9d6f[_0x4b288f(0x2ab,0xa9)]=_0x3f409a,this[_0xe7bf25(_0x5cd672._0x7a876d,0x7b8)+'rQueueGa'+_0x4b288f(-0x3ac,-0x1e7)+'sage'](_0x1f9d6f);}[_0x3266d5(0x43f,0x3a7)+_0x3266d5(0x347,0x21a)](_0x60b379){const _0x34f7e7={_0x18907c:0x8e6,_0x35f267:0x49f,_0x52f2eb:0x424,_0x26a609:0x531,_0x3d8c32:0x563,_0x4b7417:0x718,_0x13fc77:0x4ae,_0x3b4c9e:0x6a5,_0x1f6b3c:0x2b2,_0x40bb29:0x4cf,_0x451205:0x31d,_0x596d91:0x741,_0x55ac22:0x58f,_0x34c256:0x349,_0x6aba1e:0x4e5,_0x46cfc7:0x4ba,_0x483e11:0x339},_0x4f3206={_0x257528:0x349},_0x5b3105=this[_0x206cf2(0x648,_0x34f7e7._0x18907c)+_0x2e3d9f(0x272,_0x34f7e7._0x35f267)];if(!_0x5b3105||_0x5b3105[_0x206cf2(0x628,_0x34f7e7._0x52f2eb)+'te']!==_0x427ed3[_0x2e3d9f(_0x34f7e7._0x26a609,_0x34f7e7._0x3d8c32)])return;const _0x109276={};_0x109276[_0x2e3d9f(0x52f,_0x34f7e7._0x4b7417)]=_0x2e3d9f(_0x34f7e7._0x13fc77,_0x34f7e7._0x3b4c9e),_0x109276[_0x206cf2(_0x34f7e7._0x1f6b3c,_0x34f7e7._0x40bb29)]=_0x60b379['event'],_0x109276['requestI'+'d']=_0x60b379[_0x206cf2(_0x34f7e7._0x451205,0x11c)+'d'];function _0x2e3d9f(_0x21720e,_0x2b06cd){return _0x26b3dd(_0x2b06cd- -0x2ba,_0x21720e);}_0x109276[_0x2e3d9f(0x32d,0x58f)+'ientId']=_0x60b379[_0x2e3d9f(_0x34f7e7._0x596d91,_0x34f7e7._0x55ac22)+'ientId'];function _0x206cf2(_0x3f5ffb,_0x5af99d){return _0x26b3dd(_0x3f5ffb- -_0x4f3206._0x257528,_0x5af99d);}_0x109276[_0x206cf2(0x456,0x59a)]=_0x60b379[_0x2e3d9f(_0x34f7e7._0x34c256,_0x34f7e7._0x6aba1e)],_0x5b3105[_0x2e3d9f(0x77a,_0x34f7e7._0x46cfc7)]('__clawke'+'t_relay_'+'control_'+'_:'+JSON[_0x206cf2(0x15e,_0x34f7e7._0x483e11)+'y'](_0x109276));}[_0x26b3dd(0x5a0,0x2f6)+_0x26b3dd(0x66e,0x486)](_0x58edcd=![]){const _0x50d1fb={_0x1c4519:0x2b4,_0x52b42b:0x2a1,_0x550e1f:0x3d2,_0x34696b:0x2dd,_0x157689:0x4cb,_0x344829:0x6ac,_0x1c7f99:0x1f5,_0x17476b:0x3cf,_0x402c57:0x6da,_0x592476:0x3ac,_0x5e106b:0x4ae,_0x32ed79:0x2dc,_0x2b6cb1:0x111,_0x2ab10d:0x465,_0x3b5655:0x5b7,_0x57c056:0x412,_0x19aef3:0x4b2,_0x359096:0x4b0,_0xc503d0:0x759,_0x9c4a48:0x3d2,_0x3d57ba:0x154,_0x753a0:0x1bb,_0x4f2228:0x803,_0x202a29:0x6e4,_0x24fced:0x154,_0x5c1ba6:0xa2,_0x3a1e26:0x3fe,_0x1736d9:0x155,_0x6e5e0b:0x4c1,_0xc168c9:0x109,_0x25aa25:0x20c,_0x252e1c:0x76,_0x55e76d:0x43d,_0x3a9daf:0x92,_0x5016e5:0x18d},_0x578a6e={_0x58981b:0x2ba};this[_0x249f85(-0x12e,-_0x50d1fb._0x1c4519)+_0x249f85(_0x50d1fb._0x52b42b,_0x50d1fb._0x550e1f)+'r']&&(clearTimeout(this[_0x4ad59f(0x4b7,_0x50d1fb._0x34696b)+_0x4ad59f(_0x50d1fb._0x157689,_0x50d1fb._0x344829)+'r']),this['gatewayR'+_0x249f85(0x2a1,_0x50d1fb._0x1c7f99)+'r']=null);const _0x5d801a=summarizePendingGatewayMessages(this[_0x249f85(_0x50d1fb._0x17476b,0x118)+_0x249f85(0x36b,0x218)+'ssages'])[_0x249f85(0x67,-0x242)+_0x4ad59f(_0x50d1fb._0x402c57,0x4c5)],_0x457b0b=_0x58edcd&&this[_0x4ad59f(_0x50d1fb._0x592476,_0x50d1fb._0x5e106b)+'pen']()&&shouldKeepGatewayConnected(this[_0x4ad59f(0x957,0x817)][_0x4ad59f(0xd6,_0x50d1fb._0x32ed79)+_0x249f85(0x1af,-_0x50d1fb._0x2b6cb1)],_0x5d801a),_0x3c1c0d=this[_0x4ad59f(0x135,0x2f5)+'ocket'];this[_0x249f85(0x2b0,0x2c5)+'andshake'+'Started']=![],this[_0x4ad59f(0x49c,_0x50d1fb._0x2ab10d)+'onnected'+'AtMs']=null;if(!_0x3c1c0d){this[_0x4ad59f(_0x50d1fb._0x3b5655,0x465)+'loseBoun'+_0x4ad59f(_0x50d1fb._0x57c056,0x514)+_0x4ad59f(_0x50d1fb._0x19aef3,_0x50d1fb._0x359096)]=![],this[_0x4ad59f(0x3ce,0x465)+_0x4ad59f(_0x50d1fb._0xc503d0,0x581)+'g']=![];_0x457b0b&&this['ensureGa'+_0x4ad59f(_0x50d1fb._0x9c4a48,0x59d)+_0x4ad59f(_0x50d1fb._0x3d57ba,0x415)]();return;}if(_0x3c1c0d[_0x249f85(0x390,_0x50d1fb._0x753a0)+'te']===_0x427ed3['CLOSING']){this[_0x249f85(0x5a,0x27d)+_0x4ad59f(_0x50d1fb._0x4f2228,0x5ef)+_0x249f85(0x109,0x184)+_0x4ad59f(_0x50d1fb._0x202a29,0x4b0)]=_0x457b0b;return;}if(_0x3c1c0d['readySta'+'te']===_0x427ed3[_0x249f85(_0x50d1fb._0x24fced,-_0x50d1fb._0x5c1ba6)]){const _0x4cc7b3=(_0x4ad59f(_0x50d1fb._0x3a1e26,0x4cd)+'1')[_0x249f85(0x22f,0x4cb)]('|');let _0x57d79a=0x0;while(!![]){switch(_0x4cc7b3[_0x57d79a++]){case'0':this[_0x249f85(0x5a,_0x50d1fb._0x1736d9)+_0x4ad59f(_0x50d1fb._0x6e5e0b,0x5ef)+_0x249f85(_0x50d1fb._0xc168c9,_0x50d1fb._0x25aa25)+_0x249f85(0xa5,-_0x50d1fb._0x252e1c)]=![];continue;case'1':return;case'2':_0x457b0b&&this[_0x249f85(0x399,_0x50d1fb._0x55e76d)+'tewayCon'+_0x249f85(0xa,-_0x50d1fb._0x3a9daf)]();continue;case'3':this['gatewayS'+'ocket']===_0x3c1c0d&&(this['gatewayS'+'ocket']=null);continue;case'4':this[_0x249f85(0x5a,-0x22a)+_0x4ad59f(0x63e,0x581)+'g']=![];continue;}break;}}function _0x4ad59f(_0x4c8870,_0xda17e){return _0x3266d5(_0x4c8870,_0xda17e-_0x578a6e._0x58981b);}function _0x249f85(_0x11d0de,_0x1c8fab){return _0x3266d5(_0x1c8fab,_0x11d0de- -0x151);}this[_0x249f85(0x5a,-_0x50d1fb._0x5016e5)+_0x249f85(0x1e4,0x3a7)+'daryPend'+'ing']=_0x457b0b,_0x3c1c0d['close']();}[_0x3266d5(0x3d5,0x438)+'bSocket'](_0x2936bb){const _0xb80382={_0x2cb54e:0x1a8,_0x5414c5:0x32d,_0x46f2c2:0x3a8,_0xb32670:0x45,_0x36f85a:0xff};if(this[_0x490eb7(0x4b,-_0xb80382._0x2cb54e)]['createWe'+_0x2fec4b(_0xb80382._0x5414c5,0xe3)])return this[_0x490eb7(0x4b,0x223)][_0x490eb7(0x300,_0xb80382._0x46f2c2)+_0x490eb7(_0xb80382._0xb32670,0x1b0)](_0x2936bb);const _0x55fb87={};function _0x490eb7(_0x29272d,_0x5ae337){return _0x3266d5(_0x5ae337,_0x29272d- -0x138);}function _0x2fec4b(_0x33c4ca,_0xa3867b){return _0x3266d5(_0xa3867b,_0x33c4ca-0x1b0);}return _0x55fb87[_0x490eb7(0x197,-_0xb80382._0x36f85a)+'ad']=0x19*0x400*0x400,new _0x427ed3(_0x2936bb,_0x55fb87);}[_0x26b3dd(0x608,0x59d)+_0x3266d5(0x2b4,0x3a2)+'sponse'](_0x55269d){const _0x276c82={_0x51097c:0x24e,_0x402611:0x1b8,_0x4b2b5e:0x650,_0xa40835:0x5a7,_0x48a8c4:0xa1f,_0x403e01:0xec,_0x4126e9:0x538,_0x3511c3:0xce,_0x30b5a7:0x1a2,_0x2dc962:0x454,_0xa651a4:0x827,_0x56cf85:0x82a,_0x424d04:0x8f,_0x1c7996:0x264,_0x218327:0x9d6,_0x3f9bdc:0x7f0,_0x4765e4:0x6cf,_0x5b315e:0x5bc,_0x44c91b:0x794,_0x40c338:0x19e,_0x1b9059:0x429,_0x40ef1a:0x1ae,_0x4ea671:0x395,_0x3716ba:0x54c,_0x30a61c:0x2c6};function _0x435b2b(_0x468004,_0x4b8e14){return _0x26b3dd(_0x4b8e14-0x3f,_0x468004);}function _0x61b2c7(_0x30d6e8,_0x5468e2){return _0x26b3dd(_0x5468e2- -0x442,_0x30d6e8);}const _0x240431={};_0x240431[_0x61b2c7(-0x5,_0x276c82._0x51097c)]=_0x61b2c7(0x4b,_0x276c82._0x402611);const _0x39b1f4=_0x240431,_0x2814e0=this['inFlight'+_0x435b2b(_0x276c82._0x4b2b5e,_0x276c82._0xa40835)+'andshake'+'s'][_0x435b2b(_0x276c82._0x48a8c4,0x822)](_0x55269d['id']);if(!_0x2814e0)return;this['inFlight'+_0x61b2c7(-_0x276c82._0x403e01,0x126)+_0x61b2c7(_0x276c82._0x4126e9,0x41a)+'s'][_0x61b2c7(0x200,0x3a6)](_0x55269d['id']);const _0x214924=_0x55269d['ok']?_0x61b2c7(0x45,_0x276c82._0x3511c3):_0x61b2c7(_0x276c82._0x30b5a7,_0x276c82._0x2dc962)+_0x435b2b(_0x276c82._0xa651a4,_0x276c82._0x56cf85)+_0x61b2c7(0x2dc,_0x276c82._0x424d04)+(_0x55269d[_0x61b2c7(0x37f,0x558)+'e']??_0x61b2c7(0x8c,_0x276c82._0x402611))+('\x20errorMe'+_0x61b2c7(_0x276c82._0x1c7996,0xe4))+(_0x55269d[_0x435b2b(_0x276c82._0x218327,_0x276c82._0x3f9bdc)+'sage']??_0x39b1f4[_0x435b2b(0x4ea,_0x276c82._0x4765e4)]);this[_0x61b2c7(_0x276c82._0x5b315e,0x4dd)](_0x435b2b(_0x276c82._0x44c91b,0x70a)+'connect\x20'+_0x61b2c7(0x33b,_0x276c82._0x40c338)+'\x20reqId='+_0x55269d['id']+_0x61b2c7(_0x276c82._0x1b9059,0x583)+_0x2814e0['method']+('\x20elapsed'+_0x61b2c7(_0x276c82._0x40ef1a,_0x276c82._0x4ea671))+(Date['now']()-_0x2814e0[_0x435b2b(0xb5d,0x941)+_0x61b2c7(_0x276c82._0x3716ba,_0x276c82._0x30a61c)])+'\x20'+_0x214924);}[_0x3266d5(0x5f8,0x41f)+'lightCon'+_0x3266d5(0x3b2,0x575)+_0x26b3dd(0x52a,0x2b5)](_0x395690){const _0x29692e={_0x49cee0:0x7bb,_0x284dbb:0x1af,_0x2a7d3d:0x49c,_0x182a36:0x450,_0x4b5bbe:0x89c,_0x31d385:0x9b9,_0x5ad2e0:0x5b3,_0x5502e6:0x607,_0x430df4:0x67a,_0x5d387e:0x658,_0x1e8a7d:0x451,_0x38d76b:0xa5f,_0x1d7814:0xa22,_0x11f958:0x8ce,_0x5b5e2f:0x744,_0x278345:0x6ab,_0x403fa7:0x616},_0x593a02={_0x1f8c1e:0x118};function _0x3af0e4(_0x59f31c,_0x4f5443){return _0x26b3dd(_0x59f31c-0x9a,_0x4f5443);}function _0x82767a(_0x5f4652,_0x302a80){return _0x26b3dd(_0x5f4652- -_0x593a02._0x1f8c1e,_0x302a80);}if(this[_0x3af0e4(0x64e,_0x29692e._0x49cee0)+'ConnectH'+'andshake'+'s'][_0x82767a(0x3ed,_0x29692e._0x284dbb)]===0x0)return;for(const [_0xe6afbc,_0x1718ce]of this[_0x82767a(_0x29692e._0x2a7d3d,0x272)+_0x82767a(_0x29692e._0x182a36,0x461)+'andshake'+'s'][_0x82767a(0x7a8,_0x29692e._0x4b5bbe)]()){this[_0x3af0e4(_0x29692e._0x31d385,0x802)](_0x82767a(_0x29692e._0x5ad2e0,0x6d4)+_0x82767a(0x846,_0x29692e._0x5502e6)+_0x3af0e4(_0x29692e._0x430df4,_0x29692e._0x5d387e)+_0x3af0e4(0x702,_0x29692e._0x1e8a7d)+'\x20reqId='+_0xe6afbc+_0x3af0e4(_0x29692e._0x38d76b,_0x29692e._0x1d7814)+_0x1718ce[_0x3af0e4(0x7f5,0x8d4)]+('\x20elapsed'+'Ms=')+(Date[_0x3af0e4(0x78c,0x9d0)]()-_0x1718ce['startedA'+_0x3af0e4(0x7a2,0x77e)])+_0x82767a(0x7ad,_0x29692e._0x11f958)+_0x395690);}this['inFlight'+_0x3af0e4(0x602,0x3e1)+_0x82767a(_0x29692e._0x5b5e2f,_0x29692e._0x278345)+'s'][_0x82767a(_0x29692e._0x403fa7,0x773)]();}[_0x3266d5(0x4f,0x2b)+_0x3266d5(0x406,0x169)+_0x3266d5(0x3bc,0x2d8)](){const _0x3b762a={_0x305678:0x54c,_0x3e9a4f:0x64e,_0x5d9160:0xaa0,_0x492f6d:0x329,_0x27958e:0x39d,_0x2b7513:0x499,_0x26cb5f:0x85d,_0x4712b3:0x7c5,_0x4446f9:0x67b,_0x5ae6f5:0x39a,_0x247857:0x1a8,_0x2b9585:0x3db,_0x3f0091:0x489,_0x2736b7:0xc8,_0x3a34e7:0x454},_0x5ee31d={_0x10a1e3:0x19f,_0x237205:0x1cb,_0x491516:0x7a},_0x183baa={_0x1bd00f:0x13f},_0x291412={_0x3d601e:0x384},_0x4c38d8={_0x300419:0x316},_0x1e8f0c={_0x2012ee:0xf3},_0x17c815={'kyjUf':function(_0x348c27,_0x49ac17,_0x16aa32){return _0x348c27(_0x49ac17,_0x16aa32);}};if(this[_0x5ca4cf(_0x3b762a._0x305678,_0x3b762a._0x3e9a4f)]||this[_0x5ca4cf(_0x3b762a._0x5d9160,0x85d)+'tTimer'])return;function _0x28904c(_0x3a0f88,_0xf7470){return _0x3266d5(_0xf7470,_0x3a0f88- -_0x1e8f0c._0x2012ee);}const _0x1bce8b=this[_0x5ca4cf(0x54a,0x499)][_0x28904c(0x454,_0x3b762a._0x492f6d)+'tBaseDel'+_0x5ca4cf(0x37d,_0x3b762a._0x27958e)]??RECONNECT_BASE_DELAY_MS;function _0x5ca4cf(_0x46aebe,_0x246a07){return _0x3266d5(_0x46aebe,_0x246a07-_0x4c38d8._0x300419);}const _0x4d3bfb=this[_0x5ca4cf(0x250,_0x3b762a._0x2b7513)][_0x5ca4cf(0xa8c,_0x3b762a._0x26cb5f)+'tMaxDela'+_0x5ca4cf(_0x3b762a._0x4712b3,_0x3b762a._0x4446f9)]??RECONNECT_MAX_DELAY_MS,_0x496187=Math[_0x5ca4cf(_0x3b762a._0x5ae6f5,0x3a6)](_0x4d3bfb,_0x1bce8b*Math[_0x28904c(0x79,_0x3b762a._0x247857)](0x1,this[_0x5ca4cf(0x428,0x564)+_0x5ca4cf(0x50e,0x579)]));this[_0x28904c(0x39c,0x5dc)](_0x28904c(0x19c,-0x2c)+_0x28904c(_0x3b762a._0x2b9585,_0x3b762a._0x3f0091)+_0x28904c(-_0x3b762a._0x2736b7,0xd0)+_0x28904c(0x14c,0x1ec)+'s='+_0x496187),this[_0x28904c(_0x3b762a._0x3a34e7,0x589)+'tTimer']=_0x17c815[_0x28904c(0x3f2,0x234)](setTimeout,()=>{this['reconnec'+_0x14ec4f(_0x5ee31d._0x10a1e3,_0x5ee31d._0x237205)]=null;function _0x5f0684(_0x29ee0d,_0x437154){return _0x28904c(_0x29ee0d-_0x291412._0x3d601e,_0x437154);}function _0x14ec4f(_0x545226,_0x35c429){return _0x28904c(_0x545226- -_0x183baa._0x1bd00f,_0x35c429);}void this[_0x14ec4f(-_0x5ee31d._0x491516,-0x27d)+_0x5f0684(0x5f9,0x4b2)]();},_0x496187);}['schedule'+_0x3266d5(0x43b,0x26e)+_0x26b3dd(0x6af,0x890)](){const _0x30bad5={_0x452139:0x29d,_0x290f7f:0x40e,_0x2e45ec:0x5c8,_0x3fa2fc:0x35,_0x257847:0x2ca,_0x258f74:0x5a,_0x161aa2:0x1b,_0x25cad5:0xc4,_0x4cae83:0x633,_0x46b141:0x457,_0x37d62e:0x9f,_0x186e96:0x1fc,_0x594c2f:0xb2,_0x18afc4:0x4cd,_0x4c79bf:0x43b,_0x27438b:0x24a,_0x4ee3da:0x4c8,_0x15d025:0x6b4},_0xc46fe5={_0x420e37:0x169,_0x5cde80:0x17c},_0x33619d={_0x277c9c:0x112},_0x375001={_0x486d04:0xd6},_0x5f44ca=summarizePendingGatewayMessages(this[_0x12e9d8(0x5f6,0x830)+_0x26985c(_0x30bad5._0x452139,0x4d0)+'ssages'])['connectR'+'equests'];function _0x26985c(_0x505816,_0xb93581){return _0x3266d5(_0xb93581,_0x505816- -0x21f);}if(this[_0x12e9d8(_0x30bad5._0x290f7f,_0x30bad5._0x2e45ec)]||this[_0x12e9d8(0xf9,-_0x30bad5._0x3fa2fc)+_0x26985c(0x1d3,0x2c8)+'r']||!this[_0x12e9d8(_0x30bad5._0x257847,_0x30bad5._0x258f74)+_0x26985c(_0x30bad5._0x161aa2,-_0x30bad5._0x25cad5)]()||!shouldKeepGatewayConnected(this[_0x12e9d8(_0x30bad5._0x4cae83,_0x30bad5._0x46b141)][_0x12e9d8(0xf8,_0x30bad5._0x37d62e)+'unt'],_0x5f44ca))return;function _0x12e9d8(_0x3bce59,_0x2e1ef1){return _0x3266d5(_0x2e1ef1,_0x3bce59-_0x375001._0x486d04);}const _0x2b7067=this['options'][_0x26985c(-_0x30bad5._0x186e96,_0x30bad5._0x594c2f)+_0x12e9d8(0x57f,_0x30bad5._0x18afc4)+_0x12e9d8(_0x30bad5._0x4c79bf,_0x30bad5._0x27438b)]??GATEWAY_RETRY_DELAY_MS;this['gatewayR'+_0x12e9d8(_0x30bad5._0x4ee3da,_0x30bad5._0x15d025)+'r']=setTimeout(()=>{function _0x42be56(_0xb89396,_0x543eab){return _0x26985c(_0xb89396-_0x33619d._0x277c9c,_0x543eab);}function _0x5b0c12(_0x438a8b,_0xfa1241){return _0x26985c(_0xfa1241-0x436,_0x438a8b);}this[_0x42be56(-0xea,_0xc46fe5._0x420e37)+'etryTime'+'r']=null,this['ensureGa'+_0x5b0c12(0x2bf,0x4fa)+_0x42be56(0x4e,-_0xc46fe5._0x5cde80)]();},_0x2b7067);}['startHea'+_0x26b3dd(0x518,0x304)](){const _0x13d008={_0x1710c6:0x37b,_0x5c96a1:0x130,_0x157aa8:0x191,_0x3acf28:0xbc,_0x4c39c2:0x1c3},_0xdcb306={_0x220c85:0x970,_0x173696:0x706,_0xb43a7d:0x374,_0x4b7987:0x399,_0x293e49:0x775,_0x11cc49:0x5c6,_0x560f1d:0x64d,_0x5b7c06:0x7cd,_0x15c836:0x3d,_0x3a3032:0x6d1,_0x5dec16:0x424,_0x452cca:0x21d,_0x306c6e:0x208,_0x5c7674:0xb13,_0x58ad0c:0x3d5,_0x43d7df:0x22},_0x1df3ea={'UuitX':function(_0x2cffb5,_0x36781a,_0x3c5590){return _0x2cffb5(_0x36781a,_0x3c5590);}};function _0x200218(_0x701903,_0x15333b){return _0x3266d5(_0x15333b,_0x701903- -0x20c);}function _0x256440(_0x1a403d,_0x41fde0){return _0x3266d5(_0x1a403d,_0x41fde0- -0x20);}this[_0x256440(-0x131,0xe3)+_0x256440(0x603,_0x13d008._0x1710c6)](),this[_0x200218(-_0x13d008._0x5c96a1,_0x13d008._0x157aa8)+'tTimer']=_0x1df3ea['UuitX'](setInterval,()=>{const _0x5b2aba=this[_0x1b9171(_0xdcb306._0x220c85,_0xdcb306._0x173696)+_0x39589c(0x181,_0xdcb306._0xb43a7d)];if(!_0x5b2aba||_0x5b2aba[_0x39589c(_0xdcb306._0x4b7987,0x437)+'te']!==_0x427ed3['OPEN'])return;function _0x1b9171(_0x22e4a9,_0xf28709){return _0x256440(_0xf28709,_0x22e4a9-0x48f);}this[_0x1b9171(_0xdcb306._0x293e49,0x58b)+_0x1b9171(_0xdcb306._0x11cc49,_0xdcb306._0x560f1d)+_0x1b9171(_0xdcb306._0x5b7c06,0x9df)]();const _0x49b63c=this[_0x39589c(0x3b,_0xdcb306._0x15c836)]['heartbea'+'tTimeout'+'Ms']??HEARTBEAT_TIMEOUT_MS;function _0x39589c(_0x2cb839,_0x4c1efa){return _0x256440(_0x4c1efa,_0x2cb839- -0x128);}if(Date[_0x1b9171(_0xdcb306._0x3a3032,0x70f)]()-this[_0x39589c(_0xdcb306._0x5dec16,0x392)+'yActivit'+_0x39589c(_0xdcb306._0x452cca,_0xdcb306._0x306c6e)]>_0x49b63c){this[_0x1b9171(0x8fe,_0xdcb306._0x5c7674)]('relay\x20he'+'artbeat\x20'+_0x39589c(_0xdcb306._0x58ad0c,0x24c)+'t'),_0x5b2aba['terminat'+'e']();return;}_0x5b2aba[_0x39589c(-_0xdcb306._0x43d7df,0x6)]();},this[_0x256440(0x111,0x163)][_0x256440(-0x164,_0x13d008._0x3acf28)+'tInterva'+_0x200218(0x40,_0x13d008._0x4c39c2)]??HEARTBEAT_INTERVAL_MS);}[_0x26b3dd(0x593,0x535)+_0x3266d5(0x3b5,0x39b)](){const _0x18d2ad={_0x230fc5:0x940,_0x47fba9:0x199,_0x9970a6:0x7dd,_0x32233c:0xa82,_0x5db057:0x4e8,_0x1db3e6:0x22d,_0x3971f6:0x351,_0x184aed:0x15c},_0x38b4f0={_0x58c62f:0x84};function _0x3e2706(_0x2d00fb,_0x5ed2e6){return _0x26b3dd(_0x5ed2e6- -0x705,_0x2d00fb);}function _0x562ab2(_0x176c37,_0x110e0c){return _0x26b3dd(_0x176c37- -_0x38b4f0._0x58c62f,_0x110e0c);}this['heartbea'+_0x562ab2(0x7dd,_0x18d2ad._0x230fc5)]&&(clearInterval(this[_0x3e2706(-0x7d,-_0x18d2ad._0x47fba9)+_0x562ab2(_0x18d2ad._0x9970a6,_0x18d2ad._0x32233c)]),this[_0x562ab2(_0x18d2ad._0x5db057,_0x18d2ad._0x1db3e6)+_0x3e2706(_0x18d2ad._0x3971f6,_0x18d2ad._0x184aed)]=null);}['logSlowC'+_0x26b3dd(0x5e7,0x3d1)+'ndshakes'](){const _0x2ef682={_0xa88d3a:0x4cd,_0xb4bf28:0x40f,_0x31b912:0x8cc,_0x2ddfe1:0x7ca,_0x3b8a9a:0x6af,_0x31edac:0x387,_0xfccde5:0x3f3,_0x5ce2ea:0x31a,_0x2410e6:0x672,_0x50299a:0x458,_0x116b1e:0x34f,_0x5419a5:0x5f6,_0x61092a:0x7c5,_0x2ec256:0x585,_0x22a647:0x5a0,_0x4eb4a9:0x818,_0x14ccc2:0x7ba,_0x495ba:0x593,_0x300973:0x5ed,_0x3afd3d:0x778,_0xe37291:0x991},_0x3a73fa={_0x2a83cd:0x146};if(this['inFlight'+_0x190299(0x465,0x422)+_0x190299(0x80e,0x716)+'s']['size']===0x0)return;const _0x31d162=this[_0x190299(0x42e,_0x2ef682._0xa88d3a)][_0x464881(0x34a,_0x2ef682._0xb4bf28)+_0x464881(_0x2ef682._0x31b912,0x60e)+'WarnDela'+_0x190299(_0x2ef682._0x2ddfe1,_0x2ef682._0x3b8a9a)]??CONNECT_HANDSHAKE_WARN_DELAY_MS,_0x29d6ed=Date['now']();function _0x464881(_0xd1a265,_0x282dd2){return _0x26b3dd(_0x282dd2- -0x24e,_0xd1a265);}function _0x190299(_0x53e449,_0x19ac38){return _0x26b3dd(_0x19ac38- -_0x3a73fa._0x2a83cd,_0x53e449);}for(const [_0x59c9ea,_0x23debb]of this[_0x464881(_0x2ef682._0x31edac,0x366)+_0x464881(_0x2ef682._0xfccde5,_0x2ef682._0x5ce2ea)+_0x190299(0x765,0x716)+'s'][_0x464881(0x67c,_0x2ef682._0x2410e6)]()){const _0x128ddb=_0x29d6ed-_0x23debb['startedA'+_0x464881(_0x2ef682._0x50299a,0x4ba)];if(_0x23debb[_0x464881(0x46a,_0x2ef682._0x116b1e)+_0x190299(0x5ca,_0x2ef682._0x5419a5)+'d']||_0x128ddb<_0x31d162)continue;_0x23debb['slowWarn'+_0x190299(0x708,0x5f6)+'d']=!![],this[_0x190299(0x790,0x7d9)](_0x190299(_0x2ef682._0x61092a,_0x2ef682._0x2ec256)+_0x190299(_0x2ef682._0x22a647,_0x2ef682._0x4eb4a9)+_0x190299(0x78c,0x7b9)+_0x190299(_0x2ef682._0x14ccc2,_0x2ef682._0x495ba)+_0x464881(_0x2ef682._0x300973,_0x2ef682._0x3afd3d)+_0x59c9ea+_0x464881(_0x2ef682._0xe37291,0x777)+_0x23debb[_0x190299(0x730,0x615)]+(_0x190299(0x3a4,0x548)+_0x190299(0x521,0x691))+_0x128ddb);}}[_0x26b3dd(0x58f,0x5d0)+_0x3266d5(0x673,0x45e)+_0x26b3dd(0x829,0x6be)+'e'](_0x4e4d47){const _0x3c9045={_0x4987a3:0xbe9,_0x4ae161:0x9e8,_0x2e328a:0x1,_0x2b1ded:0x66c,_0x1eb103:0x1d1,_0x3b1c04:0x847,_0x4a8b11:0x9e8,_0x20e3d8:0xb5c,_0x45a000:0x989,_0x444636:0x792},_0x420fa4={_0x1e226d:0x6d3},_0xbdb043={_0x27ddb8:0x38};function _0x2a7a16(_0x3df786,_0x2c1a4a){return _0x26b3dd(_0x2c1a4a-_0xbdb043._0x27ddb8,_0x3df786);}function _0x4cf52e(_0x4285eb,_0x10d425){return _0x26b3dd(_0x10d425- -_0x420fa4._0x1e226d,_0x4285eb);}this[_0x2a7a16(_0x3c9045._0x4987a3,_0x3c9045._0x4ae161)+_0x4cf52e(-_0x3c9045._0x2e328a,0x279)+_0x2a7a16(0x6d5,_0x3c9045._0x2b1ded)][_0x4cf52e(_0x3c9045._0x1eb103,0x1f7)]>=MAX_PENDING_GATEWAY_MESSAGES&&this[_0x2a7a16(_0x3c9045._0x3b1c04,_0x3c9045._0x4a8b11)+_0x2a7a16(0x7b4,0x984)+'ssages'][_0x2a7a16(_0x3c9045._0x20e3d8,_0x3c9045._0x45a000)](),this[_0x2a7a16(0xc73,0x9e8)+_0x2a7a16(_0x3c9045._0x444636,0x984)+_0x4cf52e(-0x174,-0x9f)]['push'](_0x4e4d47);}[_0x3266d5(0x1ca,0x3e)+_0x3266d5(0x497,0x3ca)+_0x26b3dd(0x9eb,0xaaa)+'e'](){const _0x496fef={_0x5f1a19:0x9d5,_0x188939:0x804,_0x4beeec:0x9d5,_0x4e46f1:0x931,_0x39ca7b:0x7d4,_0x379405:0x91c,_0x3fa016:0x7f7,_0x12c60e:0x7ac,_0x233a48:0x599,_0x3d4b2b:0x433,_0x1dc060:0x743,_0x1b83a4:0x89c,_0x24b55a:0x7d7,_0x54b4a4:0x68b},_0x5527e1=summarizePendingGatewayMessages(this[_0x1f9d2e(_0x496fef._0x5f1a19,0x7f4)+_0x257987(0x949,_0x496fef._0x188939)+_0x257987(0x631,0x678)]);function _0x1f9d2e(_0x503d99,_0x4e9ba6){return _0x26b3dd(_0x503d99-0x25,_0x4e9ba6);}if(_0x5527e1['total']===0x0||_0x5527e1['connectR'+_0x257987(0x698,0x700)]>0x0)return;function _0x257987(_0x49190f,_0x436498){return _0x26b3dd(_0x49190f- -0x3,_0x436498);}this[_0x1f9d2e(_0x496fef._0x4beeec,_0x496fef._0x4e46f1)+_0x1f9d2e(0x971,_0x496fef._0x39ca7b)+'ssages']=[],this[_0x257987(_0x496fef._0x379405,0x8e3)](_0x1f9d2e(0x5e7,0x826)+_0x257987(0x6c1,_0x496fef._0x3fa016)+_0x257987(_0x496fef._0x12c60e,0xa65)+'ay\x20queue'+_0x1f9d2e(0x50a,0x324)+_0x5527e1[_0x257987(0x59c,0x3a6)]+_0x1f9d2e(_0x496fef._0x233a48,_0x496fef._0x3d4b2b)+_0x5527e1[_0x1f9d2e(_0x496fef._0x1dc060,_0x496fef._0x1b83a4)+'t']+_0x257987(0x73e,_0x496fef._0x24b55a)+_0x5527e1[_0x1f9d2e(0x706,_0x496fef._0x54b4a4)]);}[_0x3266d5(0x343,0x404)+'onnectSt'+_0x26b3dd(0x55a,0x530)](_0x3f35a9,_0x1e7779){const _0x2f1e5f={_0x126e8a:0xbf5,_0x58760f:0x9df,_0x231f93:0x4e7,_0x542132:0x7a0,_0x401670:0xd3e,_0x3811cb:0xa9b,_0x201251:0x30c,_0x45b467:0x172,_0x26038a:0x90a,_0x5f5862:0x8f0,_0x3a2502:0x862,_0x21bdb1:0x87a,_0x367e7c:0x2f2,_0x30bb87:0xa4b,_0x7dc1d3:0x93c},_0x166ff1={};_0x166ff1[_0xf4ba29(_0x2f1e5f._0x126e8a,_0x2f1e5f._0x58760f)]=_0x353b79(0x56f,_0x2f1e5f._0x231f93)+'d';const _0x1b0582=_0x166ff1,_0x3e8663=Date[_0xf4ba29(0x520,_0x2f1e5f._0x542132)](),_0x42b96c=new Map(this[_0xf4ba29(_0x2f1e5f._0x401670,_0x2f1e5f._0x3811cb)][_0x353b79(0x35c,0x4e7)+_0x353b79(_0x2f1e5f._0x201251,_0x2f1e5f._0x45b467)]['map'](_0x55ce3c=>[_0x55ce3c['id'],{..._0x55ce3c}])),_0x4c26bd=_0x42b96c['get'](_0x3f35a9)??{'id':_0x3f35a9,'label':_0x1e7779,'state':_0x1b0582['XwIZJ'],'lastSeenMs':_0x3e8663};_0x4c26bd[_0x353b79(0x45a,0x3f3)]=_0x1e7779,_0x4c26bd[_0xf4ba29(0x87b,0x8ad)]=_0xf4ba29(_0x2f1e5f._0x26038a,_0x2f1e5f._0x5f5862)+'d',_0x4c26bd[_0xf4ba29(0xb0d,_0x2f1e5f._0x3a2502)+'Ms']=_0x3e8663,_0x42b96c[_0xf4ba29(_0x2f1e5f._0x21bdb1,0x796)](_0x3f35a9,_0x4c26bd);const _0x3f75bd=[..._0x42b96c['values']()][_0x353b79(0x3ee,_0x2f1e5f._0x367e7c)]((_0x348f46,_0x9d889a)=>_0x9d889a[_0xf4ba29(0x625,0x862)+'Ms']-_0x348f46[_0xf4ba29(0xaa4,0x862)+'Ms'])['slice'](0x0,MAX_DEVICE_DETAILS);function _0xf4ba29(_0xb524e4,_0x5e8e3d){return _0x26b3dd(_0x5e8e3d-0xae,_0xb524e4);}const _0x42defc={};function _0x353b79(_0x5bc802,_0x5b0a54){return _0x26b3dd(_0x5b0a54- -0x35b,_0x5bc802);}_0x42defc['connecte'+'dDevices']=_0x3f75bd,this[_0xf4ba29(_0x2f1e5f._0x30bb87,0x7a5)+_0xf4ba29(_0x2f1e5f._0x7dc1d3,0x7a7)](_0x42defc);}[_0x26b3dd(0x605,0x7ca)+'cesRecen'+'t'](){const _0x3e957f={_0x47df2a:0x193,_0x192c18:0x46d,_0x41b511:0x666,_0x1200ab:0x565,_0x39c319:0x489},_0x59f9ae={_0x417313:0x564};function _0x4e5d56(_0x328fc8,_0x49973c){return _0x26b3dd(_0x49973c- -0x93,_0x328fc8);}function _0x2a7fce(_0xb9a70c,_0x4efe4c){return _0x26b3dd(_0x4efe4c- -_0x59f9ae._0x417313,_0xb9a70c);}this[_0x2a7fce(-0x60,_0x3e957f._0x47df2a)+_0x4e5d56(_0x3e957f._0x192c18,_0x3e957f._0x41b511)]({'connectedDevices':this[_0x2a7fce(_0x3e957f._0x1200ab,_0x3e957f._0x39c319)]['connecte'+'dDevices']['map'](_0x8f03b9=>({..._0x8f03b9,'state':_0x2a7fce(0x14e,0x40e)}))});}[_0x26b3dd(0x5ef,0x840)+_0x26b3dd(0x55e,0x63d)+_0x26b3dd(0x5f5,0x4a6)](_0x2e1f07){const _0x1611e9={_0x176472:0x27,_0x5da80a:0x1d3,_0x278a9b:0xea,_0x228886:0x2a3,_0x50eedf:0x4dc,_0x2f2ef9:0x36a,_0x3dd9dc:0x4b,_0x172ff0:0x19e,_0x3f8233:0x3e6,_0x89a722:0x15e,_0xe3f30e:0x116,_0x14effe:0x2d,_0x520413:0x33b,_0x2f518a:0x135,_0x3e929c:0x1ef,_0x1fbf22:0x142,_0x45dd3c:0xde},_0x41716b={_0x36fd2e:0x1f3};function _0xbe1862(_0x5da6cb,_0x1f2c5c){return _0x3266d5(_0x5da6cb,_0x1f2c5c- -_0x41716b._0x36fd2e);}if(this['snapshot']['pendingP'+_0x5291be(_0x1611e9._0x176472,-_0x1611e9._0x5da80a)+_0xbe1862(-0xd,-_0x1611e9._0x278a9b)][_0x5291be(0x132,_0x1611e9._0x228886)](_0x35d382=>_0x35d382[_0x5291be(0x82,0x16)+'d']===_0x2e1f07[_0xbe1862(-0x1f9,-0x1d)+'d']))return;function _0x5291be(_0x5d1982,_0x45601d){return _0x3266d5(_0x45601d,_0x5d1982- -0x154);}const _0x5c9f3e=[...this[_0xbe1862(_0x1611e9._0x50eedf,_0x1611e9._0x2f2ef9)][_0x5291be(-0x101,-0x318)+_0x5291be(0x27,-0x15a)+_0x5291be(-_0x1611e9._0x3dd9dc,-0xd5)],_0x2e1f07][_0x5291be(-0x14c,0x64)](-MAX_PENDING_PAIR_REQUESTS),_0x5b3c02={};_0x5b3c02[_0xbe1862(0xbd,-0x1a0)+_0xbe1862(0x20a,-0x78)+_0x5291be(-_0x1611e9._0x3dd9dc,0xa9)]=_0x5c9f3e,this['updateSn'+_0x5291be(0x115,-_0x1611e9._0x172ff0)](_0x5b3c02),this['options'][_0x5291be(_0x1611e9._0x3f8233,_0x1611e9._0x89a722)+'gPairReq'+_0xbe1862(-_0x1611e9._0xe3f30e,-_0x1611e9._0x14effe)]?.(_0x2e1f07),this[_0x5291be(_0x1611e9._0x520413,0x2df)](_0xbe1862(_0x1611e9._0x2f518a,0x2a9)+_0xbe1862(-_0x1611e9._0x3e929c,-0x152)+'ding\x20req'+'uestId='+_0x2e1f07['requestI'+'d']+(_0xbe1862(-0x3d5,-_0x1611e9._0x1fbf22)+'d=')+(_0x2e1f07['deviceId']||_0x5291be(0xd4,-_0x1611e9._0x45dd3c)+'>'));}[_0x3266d5(0x22a,0x345)+_0x3266d5(0x3b9,0x45c)+'esolved'](_0x273ad9,_0x3dcc1f){const _0x4fbfb1={_0x15a2a5:0x882,_0xd5f563:0x1e3,_0x59b466:0x562,_0x5c7713:0x378,_0x2574b4:0x142,_0x555fbc:0x69,_0x125e7e:0x2cf,_0x3e7e9c:0x37b,_0x4a089c:0x973,_0x3426c1:0x3d3,_0x239940:0x1e0,_0x4f0c3b:0x521},_0x38709a={_0x1ad1dc:0xf1},_0x3e7c27=this[_0x186aad(_0x4fbfb1._0x15a2a5,0x5c5)][_0x2e334e(0x178,0x3f2)+_0x186aad(0x48,_0x4fbfb1._0xd5f563)+'sts'][_0x186aad(_0x4fbfb1._0x59b466,_0x4fbfb1._0x5c7713)](_0x3b4a7b=>_0x3b4a7b['requestI'+'d']===_0x273ad9?{..._0x3b4a7b,'status':_0x3dcc1f==='approved'||_0x3dcc1f===_0x186aad(0x2ed,0x43c)?_0x3dcc1f:_0x3b4a7b[_0x186aad(0x684,0x3e4)]}:_0x3b4a7b),_0x30a1ab={};_0x30a1ab['pendingP'+_0x186aad(_0x4fbfb1._0x2574b4,0x1e3)+_0x2e334e(0x204,0x4a8)]=_0x3e7c27;function _0x2e334e(_0x2d477c,_0x4d7615){return _0x26b3dd(_0x4d7615- -_0x38709a._0x1ad1dc,_0x2d477c);}function _0x186aad(_0x518652,_0x57426b){return _0x26b3dd(_0x57426b- -0x428,_0x518652);}this[_0x186aad(_0x4fbfb1._0x555fbc,_0x4fbfb1._0x125e7e)+'apshot'](_0x30a1ab),this[_0x186aad(_0x4fbfb1._0x3e7e9c,0x4f7)](_0x2e334e(0x8f6,0x83b)+_0x2e334e(_0x4fbfb1._0x4a089c,0x7a7)+_0x2e334e(0x668,_0x4fbfb1._0x3426c1)+_0x186aad(_0x4fbfb1._0x239940,0x2ad)+_0x273ad9+(_0x2e334e(0x278,_0x4fbfb1._0x4f0c3b)+'n=')+_0x3dcc1f);}['updateSn'+_0x26b3dd(0x6f9,0x8e0)](_0x1913f7){const _0x541bdd={_0x3b266d:0x345,_0x3742cb:0x33f,_0x2f8d17:0x38,_0x121f7e:0x227,_0x5a736b:0x2f9},_0x18941f={_0x44f1bf:0x507};function _0x30b68a(_0x3c00ce,_0x1c5492){return _0x26b3dd(_0x3c00ce- -0x3b3,_0x1c5492);}Object[_0x30b68a(_0x541bdd._0x3b266d,_0x541bdd._0x3742cb)](this['snapshot'],_0x1913f7,{'lastUpdatedMs':Date[_0x2f9571(0x1eb,_0x541bdd._0x2f8d17)]()});function _0x2f9571(_0x13a325,_0x420f6e){return _0x26b3dd(_0x13a325- -_0x18941f._0x44f1bf,_0x420f6e);}this['options'][_0x30b68a(_0x541bdd._0x121f7e,0x1c)]?.(this[_0x2f9571(_0x541bdd._0x5a736b,0x310)+'hot']());}[_0x26b3dd(0x91f,0x8ec)](_0x45ad06){const _0xf2a772={_0x6767b8:0xdc,_0x2d49be:0x84},_0x57cde8={_0x42a3e6:0x6ef},_0x287e61={_0x47ec37:0x6a7};function _0x3ab737(_0x1fece4,_0x19f928){return _0x26b3dd(_0x19f928- -_0x287e61._0x47ec37,_0x1fece4);}function _0x467232(_0x313b19,_0x3c6135){return _0x26b3dd(_0x313b19- -_0x57cde8._0x42a3e6,_0x3c6135);}this[_0x467232(-_0xf2a772._0x6767b8,_0xf2a772._0x2d49be)][_0x3ab737(0x4d4,0x364)]?.(_0x45ad06);}['isRelayO'+_0x26b3dd(0x6ca,0x7b5)](){const _0x35746b={_0x1b9a29:0x3f2,_0x22afd8:0x1c,_0xe90efb:0x1ba,_0x2ac1f9:0x98,_0xa469c:0x27e};function _0xaaee86(_0x458d02,_0x510b06){return _0x26b3dd(_0x510b06- -0x59f,_0x458d02);}function _0x194191(_0x23ac69,_0x349a86){return _0x26b3dd(_0x23ac69- -0x1a9,_0x349a86);}return this[_0xaaee86(0x5e5,_0x35746b._0x1b9a29)+_0xaaee86(-_0x35746b._0x22afd8,_0x35746b._0xe90efb)]?.['readySta'+'te']===_0x427ed3[_0xaaee86(_0x35746b._0x2ac1f9,_0x35746b._0xa469c)];}[_0x26b3dd(0x92d,0xb93)+_0x26b3dd(0x923,0xb21)](){const _0xbf55a4={_0xfdb313:0x667,_0x54a504:0x796,_0x3b284a:0x725,_0x923ee7:0x19b,_0x5c7177:0x317,_0x2aef1d:0x24b,_0x2f39cb:0x4ed,_0x168ad7:0x4d0},_0x10728c={_0xc2a3b6:0x288};function _0x5c963b(_0x4318b7,_0x131c74){return _0x26b3dd(_0x4318b7- -0x330,_0x131c74);}const _0x23a15f={};function _0x13243b(_0x4c6870,_0x3876bd){return _0x26b3dd(_0x3876bd- -_0x10728c._0xc2a3b6,_0x4c6870);}_0x23a15f[_0x5c963b(_0xbf55a4._0xfdb313,_0xbf55a4._0x54a504)]=function(_0x110ffc,_0xfbf3bf){return _0x110ffc===_0xfbf3bf;};const _0x5c9362=_0x23a15f;return _0x5c9362[_0x5c963b(0x667,_0xbf55a4._0x3b284a)](this[_0x5c963b(_0xbf55a4._0x923ee7,0x99)+_0x13243b(_0xbf55a4._0x5c7177,_0xbf55a4._0x2aef1d)]?.[_0x5c963b(0x641,0x82d)+'te'],_0x427ed3[_0x5c963b(_0xbf55a4._0x2f39cb,_0xbf55a4._0x168ad7)]);}[_0x3266d5(0x71a,0x578)+_0x3266d5(0x343,0x323)](){const _0x4aa088={_0x5c6764:0x5ed,_0x1b92f7:0x4b2,_0x428b3a:0x79b,_0x5cbb31:0x616,_0x41b1d2:0x8bd,_0x12f7a7:0x434},_0x5c415a={_0x24c153:0x26c},_0x4ce9bc={_0x5105dd:0xe1};this[_0x41b6e4(_0x4aa088._0x5c6764,_0x4aa088._0x1b92f7)+_0x41b6e4(0x614,0x74a)]();function _0x41b6e4(_0x47c56a,_0x1fb30c){return _0x26b3dd(_0x1fb30c- -_0x4ce9bc._0x5105dd,_0x47c56a);}this[_0xe48d85(0x76b,0xa02)+_0x41b6e4(_0x4aa088._0x428b3a,0x780)]&&(clearTimeout(this['reconnec'+'tTimer']),this['reconnec'+'tTimer']=null);function _0xe48d85(_0x1f62c7,_0x1e952a){return _0x26b3dd(_0x1f62c7- -_0x5c415a._0x24c153,_0x1e952a);}this['gatewayR'+_0xe48d85(_0x4aa088._0x5cbb31,_0x4aa088._0x41b1d2)+'r']&&(clearTimeout(this[_0xe48d85(0x247,_0x4aa088._0x12f7a7)+_0x41b6e4(0x916,0x7a1)+'r']),this['gatewayR'+_0xe48d85(_0x4aa088._0x5cbb31,0x5a1)+'r']=null);}['elapsedS'+_0x3266d5(0x40e,0x14e)](_0x4444c4){const _0x46173a={_0x4a3081:0x3b5,_0x1835fc:0x1b9},_0x22a28d={};_0x22a28d[_0x23bf90(_0x46173a._0x4a3081,0x16b)]=function(_0x472605,_0x28024f){return _0x472605-_0x28024f;};function _0x23bf90(_0x4ebf6b,_0x409b3b){return _0x26b3dd(_0x409b3b- -0x443,_0x4ebf6b);}const _0x50e846=_0x22a28d;function _0x5cb845(_0x125c86,_0x356b09){return _0x26b3dd(_0x125c86- -0x4bf,_0x356b09);}return _0x4444c4==null?null:Math[_0x23bf90(0x3a0,_0x46173a._0x1835fc)](0x0,_0x50e846['MufMj'](Date['now'](),_0x4444c4));}};function _0x47f8(_0x31ca37,_0x1383f8){_0x31ca37=_0x31ca37-0x171;const _0x17a50c=_0x1cc1();let _0x23587f=_0x17a50c[_0x31ca37];if(_0x47f8['ThIvvi']===undefined){var _0x1e9614=function(_0x20d5b4){const _0x169c7a='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x397c1b='',_0xe3bad5='',_0x3ca24e=_0x397c1b+_0x1e9614;for(let _0x416de4=0x0,_0x3321ad,_0x102752,_0xc4711b=0x0;_0x102752=_0x20d5b4['charAt'](_0xc4711b++);~_0x102752&&(_0x3321ad=_0x416de4%0x4?_0x3321ad*0x40+_0x102752:_0x102752,_0x416de4++%0x4)?_0x397c1b+=_0x3ca24e['charCodeAt'](_0xc4711b+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x3321ad>>(-0x2*_0x416de4&0x6)):_0x416de4:0x0){_0x102752=_0x169c7a['indexOf'](_0x102752);}for(let _0x1e5e7b=0x0,_0x342630=_0x397c1b['length'];_0x1e5e7b<_0x342630;_0x1e5e7b++){_0xe3bad5+='%'+('00'+_0x397c1b['charCodeAt'](_0x1e5e7b)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0xe3bad5);};_0x47f8['DJlGoD']=_0x1e9614,_0x47f8['esTulf']={},_0x47f8['ThIvvi']=!![];}const _0x1cc1ea=_0x17a50c[0x0],_0x47f8a3=_0x31ca37+_0x1cc1ea,_0x3dc0a3=_0x47f8['esTulf'][_0x47f8a3];if(!_0x3dc0a3){const _0x1bf55b=function(_0x33c76f){this['NZOVqO']=_0x33c76f,this['RvkpWN']=[0x1,0x0,0x0],this['UeKPpf']=function(){return'newState';},this['nPItkc']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['IYiCyE']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x1bf55b['prototype']['LemkxX']=function(){const _0x1be139=new RegExp(this['nPItkc']+this['IYiCyE']),_0x7f6946=_0x1be139['test'](this['UeKPpf']['toString']())?--this['RvkpWN'][0x1]:--this['RvkpWN'][0x0];return this['yEgaCT'](_0x7f6946);},_0x1bf55b['prototype']['yEgaCT']=function(_0x7603a7){if(!Boolean(~_0x7603a7))return _0x7603a7;return this['PkJXgv'](this['NZOVqO']);},_0x1bf55b['prototype']['PkJXgv']=function(_0x773359){for(let _0x32cb50=0x0,_0x41123e=this['RvkpWN']['length'];_0x32cb50<_0x41123e;_0x32cb50++){this['RvkpWN']['push'](Math['round'](Math['random']())),_0x41123e=this['RvkpWN']['length'];}return _0x773359(this['RvkpWN'][0x0]);},new _0x1bf55b(_0x47f8)['LemkxX'](),_0x23587f=_0x47f8['DJlGoD'](_0x23587f),_0x47f8['esTulf'][_0x47f8a3]=_0x23587f;}else _0x23587f=_0x3dc0a3;return _0x23587f;}function shouldKeepGatewayConnected(_0x551df0,_0x12a1f6){return _0x551df0>0x0||_0x12a1f6>0x0;}function shouldScheduleGatewayIdleClose(_0xc851e9,_0x4fd831,_0x153a74){return _0x153a74&&!shouldKeepGatewayConnected(_0xc851e9,_0x4fd831);}function shouldRecycleGatewayForFreshClient(_0x277350,_0x933310,_0x1b88d2,_0x2f1a2a){return _0x1b88d2&&_0x933310>0x0&&(_0x277350===0x0||_0x2f1a2a);}function summarizePendingGatewayMessages(_0x3b01c1){const _0x2cfbfd={_0x3f968c:0xb3,_0xa1659f:0x90,_0x360e66:0x1bf,_0x2497b0:0x2a,_0x3c3c0c:0x25c,_0x218bb4:0x295,_0x28ea72:0x258,_0x18257c:0x2d5,_0x4836bf:0x120,_0x548d7b:0x212,_0x1eaca8:0x506},_0x458f8d={_0x211d61:0x7},_0x382a99={};_0x382a99[_0x47aaef(-0x118,_0x2cfbfd._0x3f968c)]=function(_0x3f25e8,_0x2ab62d){return _0x3f25e8===_0x2ab62d;};const _0x22a0d5=_0x382a99,_0x4dcff2={};_0x4dcff2[_0x156861(0x116,_0x2cfbfd._0xa1659f)]=_0x3b01c1['length'],_0x4dcff2[_0x156861(_0x2cfbfd._0x360e66,0x400)+_0x47aaef(_0x2cfbfd._0x2497b0,_0x2cfbfd._0x3c3c0c)]=0x0;function _0x156861(_0x407630,_0x233df7){return _0x3266d5(_0x233df7,_0x407630-_0x458f8d._0x211d61);}_0x4dcff2[_0x156861(_0x2cfbfd._0x218bb4,0x1a6)+'t']=0x0;function _0x47aaef(_0x5ef57d,_0x3e982b){return _0x3266d5(_0x3e982b,_0x5ef57d- -0x1e1);}_0x4dcff2[_0x156861(_0x2cfbfd._0x28ea72,_0x2cfbfd._0x18257c)]=0x0;const _0x398b0e=_0x4dcff2;for(const _0x354dc5 of _0x3b01c1){if(_0x22a0d5['PCwjR'](_0x354dc5[_0x47aaef(-0x1cb,-_0x2cfbfd._0x4836bf)],'binary')){_0x398b0e[_0x47aaef(0x70,-0x1b0)]+=0x1;continue;}if(isConnectHandshakeRequest(_0x354dc5[_0x47aaef(0xb6,0x34c)])){_0x398b0e[_0x156861(0x1bf,0x307)+_0x156861(_0x2cfbfd._0x548d7b,0x1a0)]+=0x1;continue;}_0x398b0e[_0x156861(_0x2cfbfd._0x218bb4,_0x2cfbfd._0x1eaca8)+'t']+=0x1;}return _0x398b0e;}function dedupePendingGatewayMessages(_0x55ace7){const _0xf214b4={_0x34c606:0x3c9,_0xf016af:0x2a9,_0x33e725:0x692},_0x48e734={_0x41a97d:0x341};function _0x2298f7(_0x95ec37,_0x3726de){return _0x26b3dd(_0x3726de- -_0x48e734._0x41a97d,_0x95ec37);}let _0x4738da=-0x1;for(let _0x3c9297=_0x55ace7[_0xf2ae07(0x2ec,0x490)]-0x1;_0x3c9297>=0x0;_0x3c9297-=0x1){const _0x4fd734=_0x55ace7[_0x3c9297];if(_0x4fd734?.[_0x2298f7(_0xf214b4._0x34c606,0x165)]==='text'&&isConnectHandshakeRequest(_0x4fd734[_0x2298f7(_0xf214b4._0xf016af,0x3e6)])){_0x4738da=_0x3c9297;break;}}if(_0x4738da<=0x0){const _0x16069d={};return _0x16069d['messages']=[..._0x55ace7],_0x16069d['dropped']=0x0,_0x16069d;}const _0x3e35c0=_0x55ace7['filter']((_0x577dc8,_0x4238f5)=>_0x4238f5>=_0x4738da||(_0x577dc8['kind']!==_0x2298f7(0x147,0x3e6)||!isConnectHandshakeRequest(_0x577dc8[_0x2298f7(0x24c,0x3e6)])));function _0xf2ae07(_0x2ecd68,_0x58114e){return _0x26b3dd(_0x2ecd68- -0x5de,_0x58114e);}const _0xf99f18={};return _0xf99f18[_0x2298f7(0x7e3,0x617)]=_0x3e35c0,_0xf99f18[_0x2298f7(_0xf214b4._0x33e725,0x410)]=_0x55ace7['length']-_0x3e35c0['length'],_0xf99f18;}function prunePendingGatewayMessagesForFreshDemand(_0x41d85b){const _0x106773={_0x4c1060:0x33a,_0x231a4c:0xe2,_0x5dbd79:0x32c,_0x11153d:0x30b,_0x508725:0x25,_0x2ae5d9:0x484,_0x10d3be:0x180,_0xfef032:0x512,_0x4042c2:0x6c2,_0x2a03af:0x286,_0x283e24:0x725,_0x5b3991:0x3ff},_0x22ddef={_0x532cc0:0x4a},_0x73fb0f={};_0x73fb0f[_0x39edc7(_0x106773._0x4c1060,_0x106773._0x231a4c)]=function(_0x214662,_0x5b5fef){return _0x214662===_0x5b5fef;};const _0x5b53db=_0x73fb0f;if(_0x5b53db[_0x39edc7(0x33a,0x2c2)](_0x41d85b['length'],0x0)){const _0x46443e={};return _0x46443e[_0x52ac1c(0x512,_0x106773._0x5dbd79)]=[],_0x46443e[_0x52ac1c(_0x106773._0x11153d,0x1de)]=0x0,_0x46443e;}let _0x29f98b=-0x1;for(let _0x4dd8a=_0x41d85b[_0x52ac1c(0x484,0x35e)]-0x1;_0x4dd8a>=0x0;_0x4dd8a-=0x1){const _0x192a27=_0x41d85b[_0x4dd8a];if(_0x192a27?.[_0x39edc7(-_0x106773._0x508725,-0x2dd)]==='text'&&isConnectHandshakeRequest(_0x192a27[_0x39edc7(0x25c,0x2af)])){_0x29f98b=_0x4dd8a;break;}}function _0x39edc7(_0x337815,_0x5836c5){return _0x3266d5(_0x5836c5,_0x337815- -0x3b);}function _0x52ac1c(_0x4e2751,_0x3e27e3){return _0x3266d5(_0x3e27e3,_0x4e2751-_0x22ddef._0x532cc0);}if(_0x29f98b===-0x1){const _0xd9382a={};return _0xd9382a[_0x39edc7(0x48d,0x5cd)]=[],_0xd9382a['dropped']=_0x41d85b[_0x52ac1c(_0x106773._0x2ae5d9,0x335)],_0xd9382a;}const _0x2d5af5=_0x41d85b[_0x52ac1c(0x52,-_0x106773._0x10d3be)](_0x29f98b),_0x39f6d3={};return _0x39f6d3[_0x52ac1c(_0x106773._0xfef032,_0x106773._0x4042c2)]=_0x2d5af5,_0x39f6d3[_0x39edc7(_0x106773._0x2a03af,0x4ae)]=_0x41d85b[_0x52ac1c(_0x106773._0x2ae5d9,_0x106773._0x283e24)]-_0x2d5af5[_0x39edc7(_0x106773._0x5b3991,0x4b2)],_0x39f6d3;}function patchConnectRequestGatewayAuth(_0x54549f,_0x37ebe9){const _0x4f539f={_0x42265b:0x37c,_0x32e50b:0x44a,_0x84dfa1:0x3de,_0x23d3e2:0xb1b,_0x205b83:0x226,_0x32748c:0x64f,_0x5450aa:0x3fe,_0x5bf752:0x309,_0x1a6e34:0x582,_0x8f9449:0x373,_0xcf7f62:0x48c,_0x4b1e18:0x392,_0x57d851:0x52e,_0x6d9eb0:0x392,_0x1ff56f:0x7f4,_0x18bf2f:0x6cd,_0x5418d7:0x418,_0x10cf4b:0x45c,_0x6d68c4:0x4c7,_0x19f75b:0x9e7,_0x5977ea:0x7dd,_0x35409a:0x1fa,_0xbbb529:0x306,_0x39d28c:0x32b},_0x39e067={_0x423527:0x13a},_0xf1e785={};_0xf1e785[_0x280b88(0x1d7,_0x4f539f._0x42265b)]=function(_0x1405d0,_0x505c2e){return _0x1405d0!==_0x505c2e;};function _0x21257f(_0xf557c5,_0x4089c1){return _0x26b3dd(_0xf557c5- -0x322,_0x4089c1);}function _0x280b88(_0x12d135,_0x5181c1){return _0x26b3dd(_0x5181c1- -_0x39e067._0x423527,_0x12d135);}const _0x14560c=_0xf1e785;if(_0x37ebe9[_0x21257f(_0x4f539f._0x32e50b,0x5d2)]!=='password'||!_0x37ebe9['password']){const _0x11b46e={};return _0x11b46e['text']=_0x54549f,_0x11b46e[_0x21257f(0x3fe,_0x4f539f._0x84dfa1)]=![],_0x11b46e;}try{const _0xaf260=JSON['parse'](_0x54549f);if(_0x14560c[_0x21257f(0x194,0x362)](_0xaf260[_0x280b88(_0x4f539f._0x23d3e2,0x898)],'req')||_0xaf260[_0x21257f(0x439,0x565)]!=='connect'&&_0xaf260['method']!=='connect.'+_0x21257f(_0x4f539f._0x205b83,0x391)){const _0x2a6936={};return _0x2a6936[_0x280b88(_0x4f539f._0x32748c,0x5ed)]=_0x54549f,_0x2a6936[_0x21257f(_0x4f539f._0x5450aa,_0x4f539f._0x5bf752)]=![],_0x2a6936;}const _0x531021=_0xaf260['params']&&typeof _0xaf260[_0x280b88(_0x4f539f._0x1a6e34,_0x4f539f._0x8f9449)]===_0x280b88(_0x4f539f._0xcf7f62,_0x4f539f._0x4b1e18)?{..._0xaf260['params']}:{},_0x430f2a=_0x531021['auth']&&typeof _0x531021[_0x21257f(0x1fa,-0x6e)]===_0x280b88(_0x4f539f._0x57d851,_0x4f539f._0x6d9eb0)?{..._0x531021[_0x280b88(0x60b,0x3e2)]}:{},_0x500eb1=typeof _0x430f2a[_0x280b88(0x930,0x7dd)]===_0x280b88(_0x4f539f._0x1ff56f,_0x4f539f._0x18bf2f)?_0x430f2a['password'][_0x280b88(_0x4f539f._0x5418d7,0x67c)]():'';if(_0x500eb1){const _0xe98395={};return _0xe98395[_0x21257f(0x405,_0x4f539f._0x10cf4b)]=_0x54549f,_0xe98395[_0x280b88(_0x4f539f._0x6d68c4,0x5e6)]=![],_0xe98395;}_0x430f2a[_0x21257f(0x5f5,0x4f7)]=_0x37ebe9[_0x280b88(_0x4f539f._0x19f75b,_0x4f539f._0x5977ea)],_0x531021[_0x21257f(_0x4f539f._0x35409a,_0x4f539f._0xbbb529)]=_0x430f2a;const _0x362894={..._0xaf260};return _0x362894[_0x280b88(0x40a,0x373)]=_0x531021,{'text':JSON['stringif'+'y'](_0x362894),'injected':!![]};}catch{const _0x2979cb={};return _0x2979cb['text']=_0x54549f,_0x2979cb[_0x21257f(0x3fe,_0x4f539f._0x39d28c)]=![],_0x2979cb;}}function formatConnectHandshakeMetaForLog(_0x1c4b75){const _0x165454={_0x5de945:0x10,_0x36f06f:0x338,_0x3a1e86:0x431,_0x488f2a:0x4ea,_0x3de07a:0x327,_0x58a6c4:0x3d8,_0x3d6c8f:0x29a,_0x4604e2:0x468,_0x547f7a:0x697,_0x3f3101:0x50d,_0x268163:0x745,_0x20afca:0x752,_0x1968a8:0x4fd,_0x5705b6:0x709},_0x167a75={};_0x167a75['WavQb']='<none>';function _0x7e0248(_0x48bd18,_0x1fe8b8){return _0x3266d5(_0x48bd18,_0x1fe8b8-0x22d);}function _0x5232e3(_0x3e8084,_0x243949){return _0x3266d5(_0x243949,_0x3e8084- -0x126);}const _0x40df5a=_0x167a75;if(!_0x1c4b75)return'';return'\x20method='+_0x1c4b75['method']+_0x5232e3(-_0x165454._0x5de945,0xdd)+(_0x1c4b75['id']??'<none>')+(_0x7e0248(0x5e5,_0x165454._0x36f06f)+_0x7e0248(_0x165454._0x3a1e86,_0x165454._0x488f2a))+_0x1c4b75[_0x7e0248(0x37e,_0x165454._0x3de07a)+_0x7e0248(_0x165454._0x58a6c4,0x586)]+(_0x5232e3(_0x165454._0x3d6c8f,_0x165454._0x4604e2)+_0x7e0248(0x667,0x6ac))+(_0x1c4b75[_0x7e0248(_0x165454._0x547f7a,_0x165454._0x3f3101)+'gth']??0x0)+(_0x7e0248(0x987,_0x165454._0x268163)+_0x7e0248(_0x165454._0x20afca,_0x165454._0x1968a8))+(_0x1c4b75[_0x5232e3(0x15,0x112)+'ds'][_0x5232e3(0x314,0x463)]>0x0?_0x1c4b75['authFiel'+'ds'][_0x7e0248(0x590,_0x165454._0x5705b6)](','):_0x40df5a[_0x5232e3(0x11,0x1e9)]);}function parseBootstrapRequestPayload(_0x144dbd){const _0xba370f={_0x20b01c:0x28e,_0x25fecc:0x1a7,_0x44f92c:0xda,_0x467d50:0x4c1,_0x2cfbcf:0x63e,_0x1a39e2:0x7a3,_0x1de94a:0x44d,_0x2dcdbd:0x3ce,_0x29e206:0x4b5,_0x2ccffa:0x52,_0x45364d:0x480,_0x4b69d9:0x59f,_0x59a05c:0x508,_0x262fe7:0x243,_0x46d097:0x2d,_0x1bdf0a:0x18e,_0x3f4e8e:0x310,_0x1a9c5d:0x308,_0x451b76:0x4db,_0x4ac408:0x131,_0x346654:0x2fa,_0x412b53:0x5c6,_0x4acb0a:0x7fc,_0xc0ba54:0x459,_0x426de1:0x178,_0x4ea5bd:0x300,_0x1b4fbf:0x283,_0x4d024f:0x47a,_0x4889b4:0x27e,_0x3e2f57:0x6ba,_0x3fe4c7:0x55a,_0x2b375f:0x65,_0x45f60f:0x6e8,_0x4b37fe:0x4a6},_0x30ebe9={_0x1b4a5b:0x323},_0x405afa={'FVgFh':function(_0x35f840,_0x2ac5b2){return _0x35f840(_0x2ac5b2);},'RpAOh':_0x263a4d(0x1a5,_0xba370f._0x20b01c)+_0x263a4d(0x460,0x22a)+_0x263a4d(_0xba370f._0x25fecc,_0xba370f._0x44f92c)+_0x263a4d(0x6ce,0x74e)};if(!_0x144dbd){const _0x3255f1={};return _0x3255f1['ok']=![],_0x3255f1[_0xff6f95(0x243,_0xba370f._0x467d50)]=_0xff6f95(0x54f,0x72e)+_0x263a4d(_0xba370f._0x2cfbcf,_0xba370f._0x1a39e2),_0x3255f1[_0x263a4d(0x4a3,0x288)]=_0xff6f95(_0xba370f._0x1de94a,_0xba370f._0x2dcdbd)+'p.reques'+_0x263a4d(_0xba370f._0x29e206,0x26a)+_0xff6f95(0x422,0x1b9)+_0x263a4d(0x3bf,0x4d8),_0x3255f1;}const _0xacc024=readRequiredString(_0x144dbd['deviceId']),_0x3dd40f=readRequiredString(_0x144dbd[_0x263a4d(0x23e,-_0xba370f._0x2ccffa)+'y']);function _0x263a4d(_0x40a260,_0x5550a4){return _0x26b3dd(_0x40a260- -_0x30ebe9._0x1b4a5b,_0x5550a4);}const _0xc358c5=readRequiredString(_0x144dbd[_0x263a4d(_0xba370f._0x45364d,0x60a)]),_0x3fef2b=_0x405afa[_0xff6f95(0x56f,_0xba370f._0x4b69d9)](normalizeScopeList,_0x144dbd[_0xff6f95(_0xba370f._0x59a05c,0x66b)]);if(!_0xacc024){const _0x432609={};return _0x432609['ok']=![],_0x432609[_0xff6f95(_0xba370f._0x262fe7,_0xba370f._0x46d097)]='invalid_'+_0xff6f95(0x579,0x4ed),_0x432609['message']=_0x405afa[_0x263a4d(_0xba370f._0x1bdf0a,_0xba370f._0x3f4e8e)],_0x432609;}function _0xff6f95(_0x41d63f,_0x540585){return _0x26b3dd(_0x41d63f- -0x3e8,_0x540585);}if(!_0x3dd40f){const _0x48281d={};return _0x48281d['ok']=![],_0x48281d[_0x263a4d(_0xba370f._0x1a9c5d,0x5b9)]=_0x263a4d(0x614,0x649)+_0x263a4d(_0xba370f._0x2cfbcf,_0xba370f._0x451b76),_0x48281d[_0x263a4d(0x4a3,0x57f)]=_0xff6f95(0xe0,_0xba370f._0x4ac408)+_0x263a4d(0x23e,-0x3e)+'y\x20is\x20req'+_0xff6f95(_0xba370f._0x346654,0x58a),_0x48281d;}if(!_0xc358c5){const _0x23f397={};return _0x23f397['ok']=![],_0x23f397[_0x263a4d(0x308,_0xba370f._0x412b53)]=_0xff6f95(0x54f,0x72b)+_0x263a4d(0x63e,_0xba370f._0x4acb0a),_0x23f397[_0x263a4d(0x4a3,0x207)]=_0x263a4d(0x1a5,0x2fe)+_0xff6f95(_0xba370f._0xc0ba54,0x219)+'required',_0x23f397;}if(_0x3fef2b['length']===0x0){const _0x574410={};return _0x574410['ok']=![],_0x574410[_0xff6f95(_0xba370f._0x262fe7,_0xba370f._0x426de1)]='invalid_'+'request',_0x574410['message']='payload.'+_0x263a4d(_0xba370f._0x4ea5bd,0x47c)+_0xff6f95(_0xba370f._0x1b4fbf,0x1ad)+_0xff6f95(0x512,_0xba370f._0x4d024f)+_0x263a4d(_0xba370f._0x4889b4,0x13)+_0x263a4d(0x53a,_0xba370f._0x3e2f57),_0x574410;}const _0x27073c={};_0x27073c[_0x263a4d(0x460,_0xba370f._0x3fe4c7)]=_0xacc024,_0x27073c[_0xff6f95(0x179,_0xba370f._0x2b375f)+'y']=_0x3dd40f,_0x27073c[_0x263a4d(0x480,_0xba370f._0x45f60f)]=_0xc358c5,_0x27073c[_0x263a4d(0x5cd,0x778)]=_0x3fef2b;const _0x164d51={};return _0x164d51['ok']=!![],_0x164d51[_0x263a4d(_0xba370f._0x4b37fe,0x2fb)]=_0x27073c,_0x164d51;}function readRequiredString(_0x5b792c){function _0x2e51af(_0x5f15bc,_0x1176b0){return _0x26b3dd(_0x1176b0- -0x616,_0x5f15bc);}return typeof _0x5b792c==='string'?_0x5b792c[_0x2e51af(-0xe7,0x1a0)]():'';}function normalizeScopeList(_0x342ef3){const _0x33f756={_0x9b26d8:0x5df,_0x3bef91:0x7db,_0x299325:0x33,_0x3cefe3:0x861,_0x349bcf:0x963},_0x52d047={_0x59f8ff:0x2c};if(!Array[_0x48e16c(0x6d8,_0x33f756._0x9b26d8)](_0x342ef3))return[];function _0x3441d8(_0x1ef9b0,_0x94a8a){return _0x26b3dd(_0x94a8a- -0x57f,_0x1ef9b0);}const _0x3c198b=new Set();function _0x48e16c(_0x482abb,_0x2e515f){return _0x26b3dd(_0x482abb- -_0x52d047._0x59f8ff,_0x2e515f);}for(const _0x2319ed of _0x342ef3){if(typeof _0x2319ed!==_0x48e16c(_0x33f756._0x3bef91,0x71d))continue;const _0x21a432=_0x2319ed[_0x3441d8(-_0x33f756._0x299325,0x237)]();_0x21a432&&_0x3c198b[_0x48e16c(_0x33f756._0x3cefe3,_0x33f756._0x349bcf)](_0x21a432);}return[..._0x3c198b][_0x3441d8(0x2b,0xce)]();}function buildRelayWsUrl(_0x5f1247){const _0x2976e9={_0x3abdf9:0x73e,_0x227b09:0x223,_0x1c93be:0x487,_0x2ce284:0x20e,_0x33d758:0x864,_0x5e9bef:0x70a,_0x11bb03:0x7bc,_0x517a6e:0x579,_0x2474ce:0x5f7,_0x30dec3:0x63d,_0xef5b4c:0x510,_0x3d0140:0x749,_0x25224c:0x85d,_0x246f1b:0xa4a,_0x3e33ff:0x3d7,_0x4b5bb0:0x568,_0x2c6e98:0x844,_0x5ebe88:0x84b,_0x167bd3:0x6e0,_0x3fa13a:0x47b,_0x57d8bb:0x4d5,_0x5514a2:0x3df},_0x1d8ac5={_0x529c2e:0x2b4},_0x1037e9={};_0x1037e9[_0xf820c(0x2a5,0x3b9)]=_0x1c7c3c(_0x2976e9._0x3abdf9,0x4dc);function _0xf820c(_0x26ad16,_0x3eee54){return _0x26b3dd(_0x3eee54- -_0x1d8ac5._0x529c2e,_0x26ad16);}const _0x377095=_0x1037e9,_0x58d010=new URL(_0x5f1247[_0xf820c(0x2d4,0x398)]);(!_0x58d010['pathname']||_0x58d010[_0xf820c(_0x2976e9._0x227b09,0x20e)]==='/')&&(_0x58d010[_0xf820c(_0x2976e9._0x1c93be,_0x2976e9._0x2ce284)]=_0x377095[_0x1c7c3c(0x495,0x224)]);_0x58d010[_0xf820c(_0x2976e9._0x33d758,_0x2976e9._0x5e9bef)+_0x1c7c3c(_0x2976e9._0x11bb03,_0x2976e9._0x517a6e)][_0x1c7c3c(0x510,0x49f)](_0xf820c(_0x2976e9._0x2474ce,0x561)+'d',_0x5f1247[_0x1c7c3c(_0x2976e9._0x30dec3,0x3b4)+'d']);function _0x1c7c3c(_0x575d68,_0x3e30f3){return _0x26b3dd(_0x575d68- -0x1d8,_0x3e30f3);}return _0x58d010[_0x1c7c3c(0x7e6,0x9b1)+_0xf820c(0x97e,0x6e0)][_0x1c7c3c(_0x2976e9._0xef5b4c,_0x2976e9._0x3d0140)](_0x1c7c3c(0x5cb,_0x2976e9._0x25224c),_0xf820c(0x6fe,0x45c)),_0x58d010[_0x1c7c3c(0x7e6,_0x2976e9._0x246f1b)+_0xf820c(0x508,0x6e0)][_0x1c7c3c(0x510,0x431)](_0x1c7c3c(_0x2976e9._0x3e33ff,0x2dc),_0x5f1247[_0x1c7c3c(0x816,_0x2976e9._0x4b5bb0)+'Id']),_0x58d010[_0xf820c(_0x2976e9._0x2c6e98,0x70a)+_0xf820c(_0x2976e9._0x5ebe88,_0x2976e9._0x167bd3)][_0x1c7c3c(_0x2976e9._0xef5b4c,0x371)](_0xf820c(0x2ec,_0x2976e9._0x3fa13a),_0x5f1247[_0xf820c(0x6f3,0x61f)+_0xf820c(0x36d,_0x2976e9._0x57d8bb)]),_0x58d010[_0xf820c(0x50f,_0x2976e9._0x5514a2)]();}function redactRelayWsUrl(_0x5a60cf){const _0x22c7a5={_0x4d00b1:0x15e,_0x37993d:0xe1,_0x3a1d66:0x38d,_0x4d1aab:0xe1,_0x42d97c:0x69,_0xaad7c0:0x555,_0x3e0a6e:0x2c8,_0x1cbb91:0xaa},_0x4c1a83={_0x3814e9:0x25e},_0x4561f6={_0xc2da2e:0x1be},_0x1eae7e=new URL(_0x5a60cf);function _0x34a334(_0xe4e25a,_0xaf8ada){return _0x3266d5(_0xaf8ada,_0xe4e25a- -_0x4561f6._0xc2da2e);}function _0x5f149b(_0x3c0387,_0x5cddbb){return _0x3266d5(_0x3c0387,_0x5cddbb- -_0x4c1a83._0x3814e9);}return _0x1eae7e['searchPa'+'rams'][_0x5f149b(_0x22c7a5._0x4d00b1,0x28e)](_0x34a334(_0x22c7a5._0x37993d,0x1f5))&&_0x1eae7e[_0x5f149b(_0x22c7a5._0x3a1d66,0x2d0)+_0x5f149b(0x53d,0x2a6)]['set'](_0x34a334(_0x22c7a5._0x4d1aab,_0x22c7a5._0x42d97c),_0x5f149b(_0x22c7a5._0xaad7c0,_0x22c7a5._0x3e0a6e)+'d>'),_0x1eae7e[_0x5f149b(-_0x22c7a5._0x1cbb91,-0x5b)]();}function normalizeText(_0x2f1726){const _0x468bbb={_0x3cb385:0x681,_0x21457d:0x553,_0x16d822:0x431,_0x4abe56:0x696,_0x15c91a:0x700,_0xa3afef:0x58,_0x5085ed:0x247,_0x3f1cf0:0x649,_0x13a3d5:0x506,_0x273cd8:0x3bb,_0x4df7a6:0x6d2,_0x3d6b57:0x545,_0xb4251:0x247,_0x320fae:0x553,_0x4f2c20:0x65f,_0x36df2e:0x532,_0x36c617:0x1d0},_0x5db26d={_0x491d44:0x44c},_0x1453d5={};_0x1453d5['yJmPx']=function(_0x436b25,_0x167dfe){return _0x436b25 instanceof _0x167dfe;};function _0x49b771(_0x2b2558,_0x4f56cc){return _0x26b3dd(_0x2b2558- -0xa5,_0x4f56cc);}_0x1453d5[_0x49b771(_0x468bbb._0x3cb385,0x3f4)]=_0x49b771(_0x468bbb._0x21457d,_0x468bbb._0x16d822);function _0x4774a6(_0x288cab,_0x675a5b){return _0x26b3dd(_0x675a5b- -_0x5db26d._0x491d44,_0x288cab);}const _0x6f2291=_0x1453d5,_0x61a510=(_0x4774a6(_0x468bbb._0x4abe56,0x4be)+'0')[_0x4774a6(0x22c,0x3c4)]('|');let _0x2869e3=0x0;while(!![]){switch(_0x61a510[_0x2869e3++]){case'0':return null;case'1':if(_0x6f2291[_0x49b771(0x74c,0x6b1)](_0x2f1726,ArrayBuffer))return Buffer[_0x49b771(_0x468bbb._0x15c91a,0x8a5)](_0x2f1726)[_0x4774a6(-_0x468bbb._0xa3afef,_0x468bbb._0x5085ed)](_0x6f2291[_0x49b771(_0x468bbb._0x3cb385,_0x468bbb._0x3f1cf0)]);continue;case'2':if(typeof _0x2f1726===_0x4774a6(_0x468bbb._0x13a3d5,_0x468bbb._0x273cd8))return _0x2f1726;continue;case'3':if(Buffer[_0x49b771(_0x468bbb._0x4df7a6,_0x468bbb._0x3d6b57)](_0x2f1726))return _0x2f1726[_0x4774a6(0xba,_0x468bbb._0xb4251)](_0x49b771(_0x468bbb._0x320fae,0x6b1));continue;case'4':if(Array[_0x49b771(_0x468bbb._0x4f2c20,0x7d0)](_0x2f1726))return Buffer[_0x4774a6(0x7a6,_0x468bbb._0x36df2e)](_0x2f1726)[_0x4774a6(0x226,0x247)](_0x4774a6(_0x468bbb._0x36c617,0x1ac));continue;}break;}}function normalizeBinary(_0x1899a4){const _0x3d0218={_0x82159a:0x511,_0x13e75d:0x401,_0x170bea:0x282,_0x434124:0x501},_0x18817c={};_0x18817c[_0x218aba(0x71e,_0x3d0218._0x82159a)]='string';const _0x20a851=_0x18817c;if(Buffer[_0x218aba(0x691,_0x3d0218._0x13e75d)](_0x1899a4))return _0x1899a4;function _0x1fe765(_0x58526b,_0xe9e2d7){return _0x3266d5(_0xe9e2d7,_0x58526b-0x134);}if(typeof _0x1899a4===_0x20a851['xNIHl'])return Buffer[_0x1fe765(0x449,0x3cb)](_0x1899a4,_0x218aba(0x1b5,_0x3d0218._0x170bea));if(Array[_0x218aba(_0x3d0218._0x434124,0x38e)](_0x1899a4))return Buffer['concat'](_0x1899a4);function _0x218aba(_0x1f96c8,_0x3c66de){return _0x3266d5(_0x1f96c8,_0x3c66de-0x11a);}return Buffer[_0x1fe765(0x449,0x512)](_0x1899a4);}function readRecentCliLogs(_0x48b34b){const _0x2d477a={_0x4190aa:0x220,_0xe09b21:0x2c3,_0xc58e11:0x548,_0x2dafd9:0x7ca,_0x289342:0x275,_0x1c4a5a:0x871,_0x41701b:0x80a,_0x1a99dd:0x788,_0x3f8a50:0x7e2,_0x1e2d35:0x323},_0x258718={_0x4789f9:0x47d},_0x471f7f={_0x4526cc:0x110},_0x4ae12e={'aKNYa':function(_0x504407){return _0x504407();},'FiwRN':function(_0x1d0c55,_0x1611b1){return _0x1d0c55(_0x1611b1);}},{logPath:_0x1f4e5b,errorLogPath:_0x11f9ff}=_0x4ae12e[_0x4a8a5b(0x564,0x2d3)](getServicePaths),_0x478171=_0x4ae12e[_0x128e68(_0x2d477a._0x4190aa,_0x2d477a._0xe09b21)](clampLines,_0x48b34b?.[_0x4a8a5b(_0x2d477a._0xc58e11,0x3d5)]??0xc8);function _0x4a8a5b(_0x249c5d,_0x39d283){return _0x26b3dd(_0x249c5d- -_0x471f7f._0x4526cc,_0x39d283);}const _0x23e1be=_0x48b34b?.[_0x4a8a5b(0x7eb,_0x2d477a._0x2dafd9)]??null,_0x38ca18=_0x23e1be!=null?Date[_0x128e68(0x35c,_0x2d477a._0x289342)]()-_0x23e1be:null;function _0x128e68(_0xb4905f,_0x91a541){return _0x26b3dd(_0x91a541- -_0x258718._0x4789f9,_0xb4905f);}const _0x15cf1b=[_0x1f4e5b];_0x48b34b?.['includeE'+_0x4a8a5b(_0x2d477a._0x1c4a5a,0x852)]&&_0x15cf1b[_0x4a8a5b(_0x2d477a._0x41701b,_0x2d477a._0x1a99dd)](_0x11f9ff);const _0x10d143=_0x15cf1b[_0x128e68(_0x2d477a._0x3f8a50,0x56d)](_0x3e232e=>readLogFile(_0x3e232e)),_0x38c5dc=_0x38ca18==null?_0x10d143:_0x10d143[_0x4a8a5b(0x84d,0x604)](_0x51f3ee=>_0x51f3ee['ts']!=null&&_0x51f3ee['ts']>=_0x38ca18);return _0x38c5dc[_0x128e68(-0x29c,0x1b)](-_0x478171)[_0x128e68(0x350,_0x2d477a._0x1e2d35)](_0x2e48a6=>_0x2e48a6[_0x128e68(0x49b,0x596)]);}async function buildDoctorReport(){const _0x40ba69={_0x4997da:0x82e,_0xe6ed74:0x63f,_0x3ebdd3:0x4b5,_0x430cc5:0x534,_0x27c7e2:0x761,_0x4d0833:0x8d6,_0x5d3fdc:0x62e,_0x4893fb:0x405,_0x4d3567:0x2f,_0x2f65ac:0xc2,_0x4cfd32:0x5e3,_0x564713:0x82c,_0x221ad2:0x3ab,_0x107564:0x89,_0x3a68cf:0x44a,_0xd282c8:0x3cf,_0x31257e:0x216,_0x2b4903:0x15,_0x4ecfb2:0x46d,_0x5b8c15:0xd3,_0x2c8bc2:0xbd,_0x3c9be0:0xfc,_0x5c05c5:0x19b,_0x1973e3:0x822},_0x16e0c7={_0x15214d:0x699},_0x5aa5b6={_0x132dfb:0x118},_0x2910b3={'rfLTG':function(_0x13cc9e){return _0x13cc9e();},'MlUqz':function(_0x19f629,_0x3aff5c){return _0x19f629(_0x3aff5c);},'KNotE':function(_0x26e59d){return _0x26e59d();},'knsNr':function(_0x105b05,_0x2b2b22){return _0x105b05(_0x2b2b22);}},_0x3dc303=readPairingConfig();function _0x2e56cb(_0x1029ff,_0x52591b){return _0x26b3dd(_0x52591b- -_0x5aa5b6._0x132dfb,_0x1029ff);}const _0x2aab73=_0x2910b3[_0x3154b9(-0x156,0xe4)](getServiceStatus),_0x1f2f88=readOpenClawInfo(),_0x3e32ff=resolveGatewayUrl(),_0x5894ad=await _0x2910b3[_0x2e56cb(0x7b8,_0x40ba69._0x4997da)](checkGatewayReachable,_0x3e32ff);function _0x3154b9(_0xf27578,_0x3325c6){return _0x26b3dd(_0x3325c6- -_0x16e0c7._0x15214d,_0xf27578);}return{'paired':Boolean(_0x3dc303),'gatewayId':_0x3dc303?.[_0x2e56cb(0x4e6,0x6fd)+'d']??null,'serverUrl':_0x3dc303?.[_0x2e56cb(_0x40ba69._0xe6ed74,_0x40ba69._0x3ebdd3)+'l']??null,'relayUrl':_0x3dc303?.[_0x2e56cb(0x641,_0x40ba69._0x430cc5)]??null,'instanceId':_0x3dc303?.[_0x2e56cb(_0x40ba69._0x27c7e2,_0x40ba69._0x4d0833)+'Id']??null,'serviceInstalled':_0x2aab73[_0x2e56cb(_0x40ba69._0x5d3fdc,_0x40ba69._0x4893fb)+'d'],'serviceRunning':_0x2aab73[_0x3154b9(0x369,0x1f0)],'serviceMethod':_0x2aab73[_0x3154b9(-_0x40ba69._0x4d3567,_0x40ba69._0x2f65ac)],'servicePath':_0x2aab73[_0x2e56cb(_0x40ba69._0x4cfd32,_0x40ba69._0x564713)+_0x2e56cb(0x5aa,_0x40ba69._0x221ad2)],'logPath':_0x2aab73[_0x3154b9(_0x40ba69._0x107564,0x201)],'errorLogPath':_0x2aab73[_0x2e56cb(_0x40ba69._0x3a68cf,_0x40ba69._0xd282c8)+'Path'],'openclawConfigDir':_0x2910b3[_0x2e56cb(0x5bc,0x64e)](getOpenClawConfigDir),'openclawMediaDir':getOpenClawMediaDir(),'openclawConfigFound':_0x1f2f88[_0x3154b9(_0x40ba69._0x31257e,_0x40ba69._0x2b4903)+_0x2e56cb(0x3d6,_0x40ba69._0x4ecfb2)],'openclawAuthMode':_0x1f2f88[_0x3154b9(0x108,_0x40ba69._0x5b8c15)],'openclawTokenFound':_0x2910b3[_0x3154b9(_0x40ba69._0x2c8bc2,0x2ad)](Boolean,_0x1f2f88[_0x3154b9(_0x40ba69._0x3c9be0,0x96)]),'openclawPasswordFound':_0x2910b3[_0x3154b9(-0x3c,-_0x40ba69._0x5c05c5)](Boolean,_0x1f2f88[_0x2e56cb(_0x40ba69._0x1973e3,0x7ff)]),'localGatewayUrl':_0x3e32ff,'localGatewayReachable':_0x5894ad};}async function ensurePairPrerequisites(){const _0x53025a={_0x457712:0x3d1,_0xb699f:0x6ea,_0xbb9a58:0x864,_0x3c1901:0x3ea,_0x3b63de:0x639,_0x553911:0x275,_0x54602d:0x854,_0x3f77d1:0x4af,_0x29fe97:0x657,_0x153d97:0x875,_0x550e2a:0x4c6,_0xc4aacd:0x397,_0x19e844:0x2d0,_0x4e70c5:0x7f7,_0x38cb06:0x78c},_0x51c6dd={_0x47b16c:0x1e0},_0x5ab7a7={};function _0x38ae5d(_0x2c0f14,_0x329c52){return _0x26b3dd(_0x2c0f14- -0x165,_0x329c52);}_0x5ab7a7['IOisX']='Cannot\x20c'+'omplete\x20'+'`clawket'+'\x20pair`\x20b'+_0x38ae5d(_0x53025a._0x457712,0x234)+'ocal\x20Ope'+'nClaw\x20pr'+'erequisi'+_0x4ffe5e(0x50b,0x6e7)+'not\x20read'+'y.';const _0x13a701=_0x5ab7a7,_0x3be608=await buildDoctorReport();function _0x4ffe5e(_0x5b15ff,_0x31a411){return _0x26b3dd(_0x5b15ff- -_0x51c6dd._0x47b16c,_0x31a411);}const _0x5ed2ec=listPairPrerequisiteFailures(_0x3be608);if(_0x5ed2ec[_0x4ffe5e(_0x53025a._0xb699f,0x4d2)]>0x0)throw new Error([_0x13a701[_0x38ae5d(0x83f,0x6ad)],..._0x5ed2ec[_0x4ffe5e(0x5c0,0x6a9)](_0x291e78=>'-\x20'+_0x291e78),_0x38ae5d(_0x53025a._0xbb9a58,0x734)+_0x38ae5d(_0x53025a._0x3c1901,_0x53025a._0x3b63de)+_0x4ffe5e(0x5a6,0x7b7)+_0x38ae5d(0x477,_0x53025a._0x553911)+_0x4ffe5e(0x763,_0x53025a._0x54602d)+_0x38ae5d(0x4bd,_0x53025a._0x3f77d1)+_0x38ae5d(_0x53025a._0x29fe97,0x3b1)+_0x4ffe5e(0x74b,0x73d)+'rce`\x20onl'+'y\x20if\x20you'+_0x38ae5d(_0x53025a._0x153d97,0xa4d)+'onally\x20w'+_0x4ffe5e(_0x53025a._0x550e2a,_0x53025a._0xc4aacd)+'ypass\x20th'+_0x38ae5d(0x57f,_0x53025a._0x19e844)+_0x38ae5d(_0x53025a._0x4e70c5,0x795)][_0x4ffe5e(_0x53025a._0x38cb06,0x6c3)]('\x0a'));return _0x3be608;}function listPairPrerequisiteFailures(_0x4a8f29){const _0x1db4c2={_0x15c5a4:0x221,_0x39571f:0x570,_0x1de26f:0x75a,_0x13c173:0x2af,_0x150b81:0x4e0,_0x39e85d:0x4f7,_0x5aad57:0x6c3,_0x153df5:0x709,_0x5377d3:0x568,_0x3cea98:0x43b,_0x2a61ab:0x5b0,_0x71bce0:0x676,_0x4cc2d4:0x6f0,_0xd1aa14:0x5d5,_0x557249:0x428,_0x4dcc7a:0xb8b,_0x14e5c5:0x365,_0x162eef:0x5b8,_0x50012a:0x60b,_0x4183e5:0x64d,_0x3625df:0x932,_0x399f16:0x94f,_0x3548a2:0x69a,_0x4c2077:0x827,_0x38a785:0x5c3,_0x235651:0x840,_0x2d4f0a:0x69f,_0x4d481a:0x7f5,_0x5f5362:0x898,_0x3093e8:0x7af,_0x5e4404:0x3d6,_0x5cde59:0x7d5,_0x4139a2:0x842,_0x24d542:0x8a9,_0x23c842:0x717,_0x43f0eb:0x693,_0x38fcd8:0x639,_0x26a029:0x39a,_0x316334:0x2fd,_0x3581ac:0x576,_0xa1f64c:0x13f,_0x2cbcd9:0x3de,_0x5ee420:0x6f2,_0x3d537c:0x914,_0x3ebcff:0x6b9,_0x31528d:0x59d,_0xcaa2d3:0x74b,_0x120e77:0x908,_0x57dbb0:0x945,_0x477f8b:0x457,_0xa55ecf:0x9b3,_0x4582e6:0xa39,_0x2eca7d:0x817,_0x3ebdd8:0x83a,_0x505767:0x6d3,_0x37ce81:0x890,_0x3b591d:0x90c,_0x36a739:0x43e},_0x1582db={_0x4a51fa:0x2c4},_0x3c2791={_0x350310:0x4bb},_0x6fa8b0={};_0x6fa8b0[_0x14ac85(_0x1db4c2._0x15c5a4,0x32f)]=_0x2fb2b5(_0x1db4c2._0x39571f,_0x1db4c2._0x1de26f),_0x6fa8b0[_0x2fb2b5(_0x1db4c2._0x13c173,_0x1db4c2._0x150b81)]='OpenClaw'+'\x20gateway'+_0x2fb2b5(_0x1db4c2._0x39e85d,0x75e)+_0x14ac85(_0x1db4c2._0x5aad57,_0x1db4c2._0x153df5)+'g.';const _0x4d7e10=_0x6fa8b0,_0x5c7579=[];!_0x4a8f29[_0x2fb2b5(_0x1db4c2._0x5377d3,0x5d5)+'ConfigFo'+_0x2fb2b5(_0x1db4c2._0x3cea98,_0x1db4c2._0x2a61ab)]&&_0x5c7579['push'](_0x14ac85(0x294,0x3d6)+_0x14ac85(_0x1db4c2._0x71bce0,0x6cb)+_0x2fb2b5(0x79f,0x549)+'found\x20un'+_0x14ac85(0x321,0x432)+formatOpenClawConfigLocations()+'.');function _0x2fb2b5(_0x1a6c4a,_0x31c5d4){return _0x3266d5(_0x1a6c4a,_0x31c5d4-_0x3c2791._0x350310);}function _0x14ac85(_0x3bab25,_0x2ad790){return _0x3266d5(_0x3bab25,_0x2ad790-_0x1582db._0x4a51fa);}return _0x4a8f29[_0x2fb2b5(_0x1db4c2._0x4cc2d4,_0x1db4c2._0xd1aa14)+'TokenFou'+'nd']&&_0x4a8f29[_0x2fb2b5(_0x1db4c2._0x557249,0x5d5)+_0x2fb2b5(_0x1db4c2._0x4dcc7a,0x908)+_0x14ac85(_0x1db4c2._0x14e5c5,_0x1db4c2._0x162eef)]&&_0x4a8f29[_0x14ac85(_0x1db4c2._0x50012a,0x3de)+'AuthMode']==null&&_0x5c7579['push'](_0x2fb2b5(0x79e,0x5cd)+_0x14ac85(0x3fc,_0x1db4c2._0x4183e5)+_0x2fb2b5(_0x1db4c2._0x3625df,0x985)+_0x2fb2b5(0x864,_0x1db4c2._0x399f16)+_0x14ac85(_0x1db4c2._0x3548a2,0x5ce)+_0x2fb2b5(_0x1db4c2._0x4c2077,_0x1db4c2._0x38a785)+'figured,'+_0x14ac85(0x975,_0x1db4c2._0x235651)+_0x14ac85(_0x1db4c2._0x2d4f0a,_0x1db4c2._0x4d481a)+_0x2fb2b5(0x43d,0x610)+_0x2fb2b5(0x6e4,_0x1db4c2._0x5f5362)),!_0x4a8f29[_0x2fb2b5(0x527,0x5d5)+_0x14ac85(0x440,0x6b9)+'nd']&&!_0x4a8f29[_0x14ac85(0x406,0x3de)+'Password'+_0x2fb2b5(0x9ad,_0x1db4c2._0x3093e8)]&&_0x5c7579['push'](_0x14ac85(0x313,_0x1db4c2._0x5e4404)+_0x14ac85(_0x1db4c2._0x5cde59,_0x1db4c2._0x4139a2)+_0x2fb2b5(_0x1db4c2._0x24d542,0x75c)+_0x2fb2b5(_0x1db4c2._0x23c842,_0x1db4c2._0x43f0eb)+_0x2fb2b5(0x7bf,_0x1db4c2._0x38fcd8)+_0x14ac85(_0x1db4c2._0x26a029,_0x1db4c2._0x316334)+_0x14ac85(_0x1db4c2._0x3581ac,0x521)),_0x4a8f29[_0x14ac85(_0x1db4c2._0xa1f64c,_0x1db4c2._0x2cbcd9)+_0x2fb2b5(_0x1db4c2._0x5ee420,0x7e6)]===_0x4d7e10[_0x2fb2b5(0x294,0x526)]&&!_0x4a8f29[_0x2fb2b5(0x514,0x5d5)+_0x14ac85(_0x1db4c2._0x3d537c,_0x1db4c2._0x3ebcff)+'nd']&&_0x5c7579[_0x14ac85(0x8d4,0x74e)](_0x4d7e10[_0x2fb2b5(0x47b,0x4e0)]),_0x4a8f29['openclaw'+'AuthMode']===_0x14ac85(_0x1db4c2._0x31528d,_0x1db4c2._0xcaa2d3)&&!_0x4a8f29['openclaw'+_0x2fb2b5(0x64e,_0x1db4c2._0x120e77)+'Found']&&_0x5c7579[_0x2fb2b5(0xa33,_0x1db4c2._0x57dbb0)](_0x2fb2b5(_0x1db4c2._0x477f8b,0x5cd)+_0x2fb2b5(_0x1db4c2._0xa55ecf,_0x1db4c2._0x4582e6)+'\x20passwor'+_0x2fb2b5(0x991,_0x1db4c2._0x2eca7d)+_0x14ac85(0x595,_0x1db4c2._0x3ebdd8)),!_0x4a8f29['localGat'+'ewayReac'+_0x14ac85(0x75b,_0x1db4c2._0x505767)]&&_0x5c7579[_0x2fb2b5(_0x1db4c2._0x37ce81,0x945)](_0x14ac85(0x7f3,0x723)+'enClaw\x20G'+_0x14ac85(0x769,0x754)+'s\x20not\x20re'+_0x2fb2b5(0x4e2,0x642)+_0x2fb2b5(0xbb8,_0x1db4c2._0x3b591d)+_0x4a8f29[_0x14ac85(0x1a1,_0x1db4c2._0x36a739)+_0x2fb2b5(0x7e2,0x53e)]+'.'),_0x5c7579;}function formatOpenClawConfigLocations(){const _0x4d3874={_0xca9f4c:0x5f7,_0x47de71:0x12c,_0x588422:0x2e9,_0x4ed2f0:0x837},_0x527d32={_0x4b5f14:0x364,_0xa2510d:0x5b9},_0x4e28c7={_0x4c8195:0xbb},_0x307bb6={_0x1201f5:0x674},_0x2e4379={'cLBiG':function(_0x194a62){return _0x194a62();},'nnOXF':'/root'};function _0x4bcf4c(_0x5a36ed,_0xbc0b7d){return _0x26b3dd(_0x5a36ed- -_0x307bb6._0x1201f5,_0xbc0b7d);}const _0x1dd4be=new Set();function _0x299ef0(_0x59f9dc,_0x117f6e){return _0x26b3dd(_0x117f6e-_0x4e28c7._0x4c8195,_0x59f9dc);}return[_0x2e4379[_0x299ef0(0x39c,_0x4d3874._0xca9f4c)](_0x152237),_0x2e4379[_0x299ef0(0x9d4,0xabf)]][_0x4bcf4c(_0x4d3874._0x47de71,-0x7a)](_0x27adc1=>_0x27adc1['trim']()+(_0x4bcf4c(-0x148,-0x3cd)+'aw'))[_0x299ef0(0xbbe,0xa18)](_0x183b6b=>_0x183b6b!=='/.opencl'+'aw')[_0x4bcf4c(_0x4d3874._0x588422,0x23d)](_0x7194cd=>{const _0x28cdfd={_0x4e4a75:0x38f};if(_0x1dd4be[_0x1367f2(_0x527d32._0x4b5f14,0x464)](_0x7194cd))return![];_0x1dd4be[_0x19a06c(_0x527d32._0xa2510d,0x848)](_0x7194cd);function _0x19a06c(_0xf5d71d,_0x481924){return _0x299ef0(_0x481924,_0xf5d71d- -_0x28cdfd._0x4e4a75);}function _0x1367f2(_0x5b203b,_0x360f5e){return _0x299ef0(_0x360f5e,_0x5b203b- -0x6d3);}return!![];})[_0x4bcf4c(0x2f8,0x3fe)](_0x299ef0(0x7ec,_0x4d3874._0x4ed2f0));}function readLogFile(_0x5f0534){const _0x37c258={_0x537d5c:0x514,_0x4f665c:0x770,_0x2d0ff4:0x879,_0x8c7edc:0x610},_0x1fd278={_0x4d716b:0x3ac};function _0x181314(_0xc193f6,_0x167c88){return _0x3266d5(_0x167c88,_0xc193f6-_0x1fd278._0x4d716b);}function _0x1bab80(_0x27e239,_0x44bea1){return _0x3266d5(_0x27e239,_0x44bea1-0x300);}try{const _0x1b8393=_0x1a6cae(_0x5f0534,_0x181314(_0x37c258._0x537d5c,_0x37c258._0x4f665c));return _0x1b8393['split'](/\r?\n/)[_0x181314(_0x37c258._0x2d0ff4,0xab3)](Boolean)[_0x1bab80(0x4c0,_0x37c258._0x8c7edc)](_0x4605e7=>({'raw':_0x4605e7,'ts':parseTimestamp(_0x4605e7)}));}catch{return[];}}function parseTimestamp(_0x54d1ba){const _0x440a22={_0x5f1779:0x8f8,_0x1cfce3:0xb67,_0x111f17:0x3a4,_0x35a1e1:0x426};function _0x25282b(_0x453dca,_0x4b9739){return _0x3266d5(_0x4b9739,_0x453dca-0x54b);}const _0x26d4a6=_0x54d1ba[_0x25282b(_0x440a22._0x5f1779,_0x440a22._0x1cfce3)](/^\[(\d{13})\]\s/);if(!_0x26d4a6)return null;const _0x199b17=Number(_0x26d4a6[0x1]);function _0x5e9107(_0x3e26de,_0x3722f2){return _0x3266d5(_0x3e26de,_0x3722f2- -0x67);}return Number[_0x5e9107(_0x440a22._0x111f17,_0x440a22._0x35a1e1)](_0x199b17)?_0x199b17:null;}function clampLines(_0x4108a1){const _0x5419a2={_0x18af1c:0x4fb,_0x50ad1a:0x4af},_0x3c78db={_0x339856:0x1a};function _0x5009c7(_0x450b66,_0x415f5d){return _0x26b3dd(_0x450b66- -0x422,_0x415f5d);}function _0x3ce58a(_0x5229ec,_0x121300){return _0x26b3dd(_0x121300-_0x3c78db._0x339856,_0x5229ec);}if(!Number[_0x5009c7(_0x5419a2._0x18af1c,0x29e)](_0x4108a1))return 0xc8;return Math[_0x3ce58a(_0x5419a2._0x50ad1a,0x616)](0x1,Math['min'](0x7d0,Math[_0x5009c7(0x3b7,0x2c7)](_0x4108a1)));}async function checkGatewayReachable(_0x5e03d7){const _0x492159={_0x5dd1dc:0x733,_0xeba41b:0x945,_0x18d9b3:0x4ad,_0x34a004:0x684},_0x360f5a={_0x2c6750:0x11f,_0x58eeb1:0x5a2,_0x51404d:0x315},_0x1c9955={'UXowz':function(_0x4c5f97,_0x5f2f1f){return _0x4c5f97(_0x5f2f1f);},'YOCbK':'timeout','IhnwG':_0xe6e1c0(_0x492159._0x5dd1dc,_0x492159._0xeba41b)+'1'};function _0x379dd6(_0x2b94ad,_0x56b7b2){return _0x26b3dd(_0x56b7b2- -0x4a9,_0x2b94ad);}function _0xe6e1c0(_0xfed7d7,_0x563fc8){return _0x26b3dd(_0x563fc8- -0x3,_0xfed7d7);}try{const _0xfbd3c=new URL(_0x5e03d7),_0x2d14c1=_0xfbd3c[_0x379dd6(0x267,0x3f2)]||_0x1c9955['IhnwG'],_0x16ba56=_0xfbd3c[_0x379dd6(0x1f8,_0x492159._0x18d9b3)]?Number(_0xfbd3c[_0x379dd6(_0x492159._0x34a004,0x4ad)]):_0xfbd3c['protocol']===_0x379dd6(0x4bc,0x403)?0x1bb:0x50;return await new Promise((_0x1e133e,_0x322757)=>{const _0x56f3dc={_0x2f4645:0x2d9},_0xebdcbe={_0xac6f81:0x2c9},_0x1a5e7b={_0x987ede:0x156},_0x3a1dfc={_0x2d8281:0x11c},_0x415b83=new Socket();_0x415b83[_0x3d62c6(0x4f3,0x37b)+'ut'](0x384),_0x415b83[_0x3d62c6(0x2a6,0x1ad)]('connect',()=>{_0x415b83[_0x52e0a6(0x5d7,0x498)]();function _0x52e0a6(_0x40a609,_0x10243d){return _0x3d62c6(_0x10243d,_0x40a609-0x4e0);}_0x1e133e();}),_0x415b83[_0x3d62c6(_0x360f5a._0x2c6750,0x1ad)](_0x1c9955[_0x3787ea(0x7fc,0x854)],()=>{_0x415b83['destroy'](),_0x322757(new Error('timeout'));}),_0x415b83[_0x3787ea(_0x360f5a._0x58eeb1,_0x360f5a._0x51404d)]('error',_0x44466e=>{function _0x4fb561(_0x12d15e,_0x13cb07){return _0x3d62c6(_0x13cb07,_0x12d15e- -_0x3a1dfc._0x2d8281);}_0x415b83[_0x239fa6(0x24d,0x7b)]();function _0x239fa6(_0x4ef545,_0x2a8338){return _0x3d62c6(_0x2a8338,_0x4ef545-_0x1a5e7b._0x987ede);}_0x1c9955[_0x4fb561(0x152,_0xebdcbe._0xac6f81)](_0x322757,_0x44466e);});function _0x3d62c6(_0x34984b,_0x528f7d){return _0x379dd6(_0x34984b,_0x528f7d- -0x11c);}function _0x3787ea(_0x43a3aa,_0x28e4d0){return _0x379dd6(_0x28e4d0,_0x43a3aa-_0x56f3dc._0x2f4645);}_0x415b83[_0x3d62c6(-0x370,-0xef)](_0x16ba56,_0x2d14c1);}),!![];}catch{return![];}}function parseLookbackToMs(_0x2b558e){const _0x5beb56={_0x1cccf1:0xab8,_0x52bd27:0x44e,_0x211b8b:0x4c1,_0x3565ff:0x9fb,_0x3bba1c:0x965,_0x4207fa:0xac1,_0x24dcef:0x830,_0x181f53:0x786,_0x1b7348:0x541,_0x531c86:0x7bc},_0x3c8639={_0x1b975a:0x4b8},_0x55b6e7=_0x2b558e?.[_0xf0ae3f(0x2ab,0x2c1)]();if(!_0x55b6e7)return null;function _0xf0ae3f(_0x493951,_0x197b24){return _0x3266d5(_0x493951,_0x197b24- -0x65);}const _0x4303a=_0x55b6e7[_0x3c1566(_0x5beb56._0x1cccf1,0x865)](/^(\d+)(ms|s|m|h|d)$/i);if(!_0x4303a)throw new Error(_0x3c1566(_0x5beb56._0x52bd27,_0x5beb56._0x211b8b)+_0x3c1566(0x6cd,0x8c6)+_0xf0ae3f(0x3d9,0x243)+_0x55b6e7+(_0x3c1566(0x7a5,_0x5beb56._0x3565ff)+_0x3c1566(0x97f,_0x5beb56._0x3bba1c)+_0x3c1566(_0x5beb56._0x4207fa,_0x5beb56._0x24dcef)+_0x3c1566(_0x5beb56._0x181f53,_0x5beb56._0x1b7348)+'or\x201d.'));const _0x3addd6=Number(_0x4303a[0x1]);function _0x3c1566(_0x46dc98,_0x510899){return _0x3266d5(_0x46dc98,_0x510899-_0x3c8639._0x1b975a);}const _0x41475a=_0x4303a[0x2]['toLowerC'+_0x3c1566(_0x5beb56._0x531c86,0x70f)](),_0x4a3c55=_0x41475a==='ms'?0x1:_0x41475a==='s'?0x3e8:_0x41475a==='m'?0xea60:_0x41475a==='h'?0x36ee80:0x5265c00;return _0x3addd6*_0x4a3c55;}import{networkInterfaces}from'os';var BLOCKED_INTERFACE_TOKENS=['utun','tun',_0x3266d5(0x733,0x4d4),_0x26b3dd(0x642,0x6ae)+'e','wireguar'+'d','wg',_0x3266d5(0x2e0,0x387),_0x26b3dd(0x5f6,0x5f0),_0x26b3dd(0x9af,0x9be),_0x26b3dd(0x67b,0x529),_0x3266d5(-0x54,0x52),_0x3266d5(0x428,0x3ff),'loopback','\x20lo',_0x3266d5(0x584,0x3d8),_0x3266d5(-0xf0,0xad),_0x26b3dd(0x966,0xb0e),_0x3266d5(0x650,0x545),_0x26b3dd(0x9e4,0x783),_0x26b3dd(0x812,0x5a9)];function buildLocalPairingInfo(_0x3bca3e){const _0x59f48d={_0x27ab52:0x879,_0x84fd:0x72e,_0x3830f7:0x7e3,_0x56a58c:0x96e,_0x20851e:0x74f,_0x425024:0x8ef,_0x556d6d:0x4f7,_0x3ce404:0x663,_0x287bda:0x233,_0x5b5a16:0x17a,_0x291fe5:0x17e,_0x511be4:0x362};function _0x6fea6b(_0x3261d0,_0x366fed){return _0x3266d5(_0x366fed,_0x3261d0-0x491);}const _0x5bc024={'PcmgL':function(_0x491e09,_0x22fda2){return _0x491e09(_0x22fda2);},'BRlij':function(_0x39495a,_0x503431){return _0x39495a*_0x503431;}},_0x18d3b8=_0x5bc024[_0x6fea6b(_0x59f48d._0x27ab52,0x68b)](resolveLocalPairAuth,_0x3bca3e),_0x11918a={};_0x11918a['explicit'+'Url']=_0x3bca3e[_0x6fea6b(_0x59f48d._0x84fd,0x6ba)+_0x6fea6b(_0x59f48d._0x3830f7,_0x59f48d._0x56a58c)],_0x11918a[_0x6fea6b(0x7b3,_0x59f48d._0x20851e)+_0x6fea6b(0x795,_0x59f48d._0x425024)+'l']=_0x3bca3e[_0x6fea6b(0x7b3,_0x59f48d._0x556d6d)+_0x1a85fb(-0x76,0x1df)+'l'];function _0x1a85fb(_0x3028f1,_0x3c430a){return _0x3266d5(_0x3028f1,_0x3c430a- -0x125);}const _0x54c7dc=resolveLocalPairGatewayUrl(_0x11918a),_0x4aa370=_0x3bca3e['expiresA'+'t']??Date[_0x1a85fb(-0xa3,0x13d)]()+_0x5bc024[_0x6fea6b(_0x59f48d._0x3ce404,0x826)](0xa*0x3c,0x3e8);return{'gatewayUrl':_0x54c7dc,'expiresAt':_0x4aa370,'authMode':_0x18d3b8['mode'],'qrPayload':buildGatewayQrPayload({'gatewayUrl':_0x54c7dc,'token':_0x18d3b8[_0x1a85fb(_0x59f48d._0x287bda,_0x59f48d._0x5b5a16)],'password':_0x18d3b8[_0x1a85fb(_0x59f48d._0x291fe5,_0x59f48d._0x511be4)],'expiresAt':_0x4aa370})};}function resolveLocalPairGatewayUrl(_0x52c1bf){const _0x13532e={_0x1cb038:0x763,_0x1bc4cc:0x918,_0x2c0425:0x67e,_0x33cb20:0x7d0,_0x43b4bc:0x8a6,_0xbf0fd6:0x88c,_0x34f70e:0x7b5,_0x185d5c:0x769,_0x3f0b2c:0xa32,_0x4a391d:0x7bd,_0x1a2e92:0x701,_0x4e9071:0x944,_0x3ab46b:0x823,_0x125c80:0x70f,_0x4f3ad5:0x7b9,_0x26b313:0x9ee,_0x38a8cf:0x52d,_0x59c0b3:0x652},_0x4e0b9d={_0x541b6a:0x4cc},_0x401be4={_0xdbc8d2:0x358},_0xe84210={'erNIu':function(_0x1658dd){return _0x1658dd();},'GsjmC':function(_0x503ef5,_0x4bc7ec,_0x228190){return _0x503ef5(_0x4bc7ec,_0x228190);}},_0x22047e=_0x52c1bf?.[_0x3776d8(_0x13532e._0x1cb038,0x5f5)+'Url']?.[_0x3776d8(_0x13532e._0x1bc4cc,_0x13532e._0x2c0425)]();if(_0x22047e)return normalizeExplicitGatewayUrl(_0x22047e);function _0x3776d8(_0x4ca731,_0xed2273){return _0x3266d5(_0x4ca731,_0xed2273-_0x401be4._0xdbc8d2);}function _0x5aa7a5(_0xa61fa6,_0x4da182){return _0x3266d5(_0x4da182,_0xa61fa6-_0x4e0b9d._0x541b6a);}const _0x514871=_0x52c1bf?.[_0x3776d8(0x712,0x67a)+_0x5aa7a5(_0x13532e._0x33cb20,_0x13532e._0x43b4bc)+'l']?.[_0x5aa7a5(0x7f2,0x895)]()||_0xe84210[_0x3776d8(0x85c,_0x13532e._0xbf0fd6)](resolveGatewayUrl),_0x30ad6c=_0xe84210['erNIu'](detectLanIp);if(!_0x30ad6c)throw new Error(_0x3776d8(0x8c4,_0x13532e._0x34f70e)+_0x5aa7a5(0x9e1,_0x13532e._0x185d5c)+_0x5aa7a5(_0x13532e._0x3f0b2c,_0x13532e._0x4a391d)+_0x5aa7a5(_0x13532e._0x1a2e92,_0x13532e._0x4e9071)+_0x5aa7a5(0x7a0,_0x13532e._0x3ab46b)+_0x5aa7a5(_0x13532e._0x125c80,_0x13532e._0x4f3ad5)+_0x5aa7a5(_0x13532e._0x26b313,0x821)+_0x3776d8(0x862,0x890)+_0x3776d8(_0x13532e._0x38a8cf,_0x13532e._0x59c0b3)+'eway\x20URL'+'.');return _0xe84210['GsjmC'](rewriteGatewayHost,_0x514871,_0x30ad6c);}function normalizeExplicitGatewayUrl(_0x103e15){const _0x1bb99d={_0x29b82a:0x540,_0x334e68:0xb68},_0x51ef60={_0x27317a:0x50f};function _0xe368b4(_0x3dcb7a,_0x568a66){return _0x3266d5(_0x568a66,_0x3dcb7a-_0x51ef60._0x27317a);}function _0x32df98(_0x5e99b4,_0x1eb8f9){return _0x3266d5(_0x5e99b4,_0x1eb8f9-0x52b);}const _0x538e9e=_0x103e15[_0xe368b4(0x835,0x6b0)](),_0x53a937=/^[a-z]+:\/\//i[_0x32df98(0x78a,_0x1bb99d._0x29b82a)](_0x538e9e)?_0x538e9e:_0x32df98(0x652,0x60d)+_0x538e9e;return normalizeGatewayQrUrl(_0x53a937)[_0x32df98(_0x1bb99d._0x334e68,0x9a6)];}function rewriteGatewayHost(_0x206240,_0x3eec4d){const _0x554838={_0x29c788:0x157,_0xe7b042:0x165,_0x2d060c:0x107,_0x15c720:0xed,_0x159ec5:0x676,_0xed4ed8:0x4fd},_0x21a05d={_0x3172e4:0x1cf},_0x4928da={_0x403b3b:0xf2};function _0x3a8a26(_0x3e383b,_0x3ba07c){return _0x3266d5(_0x3e383b,_0x3ba07c-_0x4928da._0x403b3b);}const _0x52eaab=_0x206240[_0xe6d3b9(_0x554838._0x29c788,-_0x554838._0xe7b042)](),_0x5d076f=/^[a-z]+:\/\//i[_0x3a8a26(-0x13a,_0x554838._0x2d060c)](_0x52eaab)?_0x52eaab:_0xe6d3b9(-_0x554838._0x15c720,0x1a7)+_0x52eaab,_0x275c63=new URL(_0x5d076f);function _0xe6d3b9(_0x597ca0,_0x2905ed){return _0x3266d5(_0x2905ed,_0x597ca0- -_0x21a05d._0x3172e4);}return _0x275c63[_0x3a8a26(_0x554838._0x159ec5,_0x554838._0xed4ed8)]=_0x3eec4d,normalizeGatewayQrUrl(_0x275c63['toString']())['url'];}function detectLanIp(){const _0x4bac88={_0x2a007e:0x46a,_0xb2cb86:0x1ac,_0x2ab98a:0x201},_0x4d635e={'EVgHQ':function(_0x5d6f09){return _0x5d6f09();}};function _0x111c7c(_0x293a11,_0x5dde92){return _0x3266d5(_0x293a11,_0x5dde92-0x38c);}const _0x222c65=_0x4d635e[_0x111c7c(_0x4bac88._0x2a007e,0x58e)](networkInterfaces);function _0xc01ed1(_0x420e76,_0x35f277){return _0x3266d5(_0x420e76,_0x35f277- -0x268);}let _0x37e5b4=null;for(const [_0x30bd6c,_0x433fb4]of Object['entries'](_0x222c65)){for(const _0x59be33 of _0x433fb4??[]){if(_0x59be33[_0xc01ed1(0x39e,0x246)]!=='IPv4')continue;const _0x5a408a=scoreLanCandidate(_0x30bd6c,_0x59be33[_0xc01ed1(-0xa9,_0x4bac88._0xb2cb86)]);if(_0x5a408a===0x0)continue;if(!_0x37e5b4||_0x5a408a>_0x37e5b4[_0xc01ed1(-0x20e,-_0x4bac88._0x2ab98a)]){const _0x38e9d7={};_0x38e9d7['score']=_0x5a408a,_0x38e9d7['ip']=_0x59be33['address'],_0x37e5b4=_0x38e9d7;}}}return _0x37e5b4?.['ip']??null;}function scoreLanCandidate(_0x2ace30,_0x29e52c){const _0x5c06a7={_0x19c31e:0x40b,_0x2603a9:0x46d,_0x3997ce:0x3bc,_0x1c4112:0x2a7,_0x1875b2:0x24c,_0x49f613:0x8c2,_0xd9b658:0x23b,_0x57ee7f:0x383},_0x159282={_0x1a5deb:0x20e};if(!isLanIpv4(_0x29e52c))return 0x0;const _0x36b921=_0x2ace30[_0x3f4706(0x860,0x761)+_0x1bb349(0x39a,_0x5c06a7._0x19c31e)]();if(BLOCKED_INTERFACE_TOKENS['some'](_0x3eaa87=>_0x36b921[_0x1bb349(0x600,0x6dd)](_0x3eaa87)))return 0x0;let _0x552135=isRfc1918(_0x29e52c)?0x78:isCgnat(_0x29e52c)?0x5a:0x28;function _0x3f4706(_0x5b0d1d,_0x107c80){return _0x3266d5(_0x5b0d1d,_0x107c80-_0x159282._0x1a5deb);}(_0x36b921[_0x1bb349(_0x5c06a7._0x2603a9,_0x5c06a7._0x3997ce)+'th']('en')||_0x36b921['startsWi'+'th'](_0x1bb349(0x353,_0x5c06a7._0x1c4112))||_0x36b921[_0x1bb349(0x46d,_0x5c06a7._0x1875b2)+'th'](_0x3f4706(_0x5c06a7._0x49f613,0x703))||_0x36b921[_0x3f4706(0x471,0x538)+'th']('wl')||_0x36b921['includes'](_0x3f4706(0x224,_0x5c06a7._0xd9b658))||_0x36b921[_0x1bb349(0x600,0x3d5)](_0x1bb349(_0x5c06a7._0x57ee7f,0x1d4)))&&(_0x552135+=0x14);function _0x1bb349(_0x2d5535,_0x2a247b){return _0x3266d5(_0x2a247b,_0x2d5535-0x143);}return _0x552135;}function resolveLocalPairAuth(_0x106eb9){const _0x1ca137={_0xb3b389:0x4f0,_0x3e7e6b:0x322,_0x5be7c2:0x83a,_0x5aaf3b:0x6a0,_0x398a88:0x323,_0x56c0ac:0x664,_0x486165:0x481,_0x338e67:0x503,_0x310a70:0x8b6,_0x593f57:0x75b,_0x3e387c:0x7b5,_0x568311:0xa3b},_0xcd1bbf={_0x4bbed9:0x1dd},_0x378fef={_0x10d798:0x514};function _0x2493a1(_0x188778,_0x1cf02a){return _0x3266d5(_0x1cf02a,_0x188778-_0x378fef._0x10d798);}if(_0x106eb9[_0x1390b2(0x4fb,0x4e8)+_0x1390b2(_0x1ca137._0xb3b389,_0x1ca137._0x3e7e6b)]?.[_0x2493a1(_0x1ca137._0x5be7c2,_0x1ca137._0x5aaf3b)]())return{'mode':_0x1390b2(_0x1ca137._0x398a88,0x47c),'token':_0x106eb9['gatewayT'+'oken']['trim'](),'password':null};if(_0x106eb9['gatewayP'+'assword']?.[_0x2493a1(_0x1ca137._0x5be7c2,0x969)]())return{'mode':_0x1390b2(0x6ee,_0x1ca137._0x56c0ac),'token':null,'password':_0x106eb9['gatewayP'+_0x2493a1(0x7d6,0x84b)][_0x1390b2(_0x1ca137._0x486165,_0x1ca137._0x338e67)]()};function _0x1390b2(_0xf5e6f9,_0x3676d){return _0x3266d5(_0xf5e6f9,_0x3676d-_0xcd1bbf._0x4bbed9);}throw new Error(_0x2493a1(0x626,0x5f0)+_0x1390b2(_0x1ca137._0x310a70,_0x1ca137._0x593f57)+_0x2493a1(_0x1ca137._0x3e387c,_0x1ca137._0x568311)+_0x1390b2(0x565,0x3b5)+_0x2493a1(0x692,0x509)+'or\x20passw'+'ord).');}function isLanIpv4(_0x41510a){const _0x232eef={_0x548b56:0x829,_0x5a1358:0x875,_0x395255:0x71c,_0x5ede6e:0x2df},_0x1cd01b={_0x113b74:0x328},_0xe4f859={'hvrIx':function(_0x28ac23,_0x55c598){return _0x28ac23>=_0x55c598;},'LXcbo':function(_0x50dd7a,_0x482c8e){return _0x50dd7a===_0x482c8e;},'noRMw':function(_0x16f38c,_0x1aeb14){return _0x16f38c(_0x1aeb14);}};if(!isValidIpv4(_0x41510a))return![];if(_0x41510a===_0x288c01(_0x232eef._0x548b56,_0x232eef._0x5a1358))return![];function _0x288c01(_0xe730c2,_0x5f48a7){return _0x26b3dd(_0xe730c2- -0x1de,_0x5f48a7);}const [_0x1c0f0f,_0x3ad886,_0x2fbe94,_0x17932f]=_0x41510a['split']('.')[_0x5bc6fa(_0x232eef._0x395255,0x478)](Number);if(_0x1c0f0f===0x7f)return![];if(_0x1c0f0f===0xa9&&_0x3ad886===0xfe)return![];if(_0xe4f859['hvrIx'](_0x1c0f0f,0xe0)&&_0x1c0f0f<=0xef)return![];if(_0x1c0f0f===0xff&&_0x3ad886===0xff&&_0x2fbe94===0xff&&_0x17932f===0xff)return![];function _0x5bc6fa(_0x2e07ca,_0x5697e3){return _0x26b3dd(_0x5697e3- -_0x1cd01b._0x113b74,_0x2e07ca);}if(_0x1c0f0f===0xc6&&(_0xe4f859[_0x5bc6fa(0x113,_0x232eef._0x5ede6e)](_0x3ad886,0x12)||_0x3ad886===0x13))return![];return isRfc1918(_0x41510a)||_0xe4f859[_0x5bc6fa(0x566,0x514)](isCgnat,_0x41510a);}function isRfc1918(_0x20b8e4){const _0xd076f2={_0x4d424d:0x281,_0x2734cb:0x62c,_0x2be8e8:0x152},_0x5d4a64={};function _0x73580a(_0x5bbd9a,_0x46e28e){return _0x3266d5(_0x46e28e,_0x5bbd9a-0x114);}_0x5d4a64['wdKQF']=function(_0x39a3a6,_0x3c49b5){return _0x39a3a6===_0x3c49b5;},_0x5d4a64['RhpmH']=function(_0x45e75c,_0x273b7b){return _0x45e75c<=_0x273b7b;},_0x5d4a64[_0x34b32c(0x55a,0x305)]=function(_0x34e045,_0x1d3f08){return _0x34e045===_0x1d3f08;};function _0x34b32c(_0x392138,_0x4db4db){return _0x3266d5(_0x392138,_0x4db4db-0x12e);}const _0x1ac221=_0x5d4a64,[_0x28d737,_0xfb3e2c]=_0x20b8e4[_0x73580a(0x494,_0xd076f2._0x4d424d)]('.')[_0x34b32c(_0xd076f2._0x2734cb,0x43e)](Number);return _0x1ac221['wdKQF'](_0x28d737,0xa)||_0x28d737===0xac&&_0xfb3e2c>=0x10&&_0x1ac221[_0x73580a(0x1e8,_0xd076f2._0x2be8e8)](_0xfb3e2c,0x1f)||_0x28d737===0xc0&&_0x1ac221['XeQvo'](_0xfb3e2c,0xa8);}function isCgnat(_0x9ea571){const _0x4e2096={_0x569a22:0x6da,_0x57d87c:0x3d5,_0x26a413:0x562},_0x2a8f64={};_0x2a8f64['hHfBj']=function(_0x44da4d,_0x2f1b4d){return _0x44da4d===_0x2f1b4d;};const _0x2b394c=_0x2a8f64;function _0x1afcec(_0x1466eb,_0x4d76e2){return _0x26b3dd(_0x4d76e2- -0x3cb,_0x1466eb);}const [_0xf77dea,_0x30a528]=_0x9ea571[_0x15b9b5(_0x4e2096._0x569a22,0x4ec)]('.')[_0x1afcec(0x448,_0x4e2096._0x57d87c)](Number);function _0x15b9b5(_0x5c6c3b,_0x363e4e){return _0x26b3dd(_0x5c6c3b- -0x136,_0x363e4e);}return _0x2b394c[_0x15b9b5(_0x4e2096._0x26a413,0x43a)](_0xf77dea,0x64)&&_0x30a528>=0x40&&_0x30a528<=0x7f;}function isValidIpv4(_0x488d0c){const _0x5bea66={_0x358b57:0x78b,_0x2dc0b2:0x977,_0xbb9ad2:0x6e5,_0x3cf7f4:0x5a4},_0x106e62={_0x4a8ce5:0x66,_0x940042:0x1ef},_0x31797a={_0x2670fc:0x16a},_0xb1980={_0x322305:0x365};function _0x392623(_0x14db48,_0x4df3fd){return _0x3266d5(_0x4df3fd,_0x14db48-_0xb1980._0x322305);}function _0x1a8b5f(_0x3119e5,_0x5c031d){return _0x3266d5(_0x5c031d,_0x3119e5-_0x31797a._0x2670fc);}const _0x59769e={};_0x59769e[_0x392623(_0x5bea66._0x358b57,_0x5bea66._0x2dc0b2)]=function(_0x39c5d8,_0x2a983d){return _0x39c5d8<=_0x2a983d;};const _0x24d518=_0x59769e,_0x433d1e=_0x488d0c[_0x392623(_0x5bea66._0xbb9ad2,0x62f)]('.');return _0x433d1e[_0x1a8b5f(_0x5bea66._0x3cf7f4,0x317)]===0x4&&_0x433d1e['every'](_0x2d2935=>{function _0x24f9f5(_0x23a389,_0x2b1b82){return _0x392623(_0x2b1b82- -0x18b,_0x23a389);}if(!/^\d+$/[_0x24f9f5(-_0x106e62._0x4a8ce5,_0x106e62._0x940042)](_0x2d2935))return![];const _0x447d1a=Number(_0x2d2935);function _0x3e8fb4(_0x487d4b,_0x30a1bf){return _0x392623(_0x30a1bf- -0x57,_0x487d4b);}return _0x447d1a>=0x0&&_0x24d518[_0x24f9f5(0x582,0x600)](_0x447d1a,0xff);});}import{readFileSync as _0xe59c3b}from'fs';import{dirname as _0x4e958e,resolve as _0x2b5792}from'path';import{fileURLToPath}from'url';function readCliVersion(){const _0x2989d6={_0x36ddb3:0x4c2,_0x19afc0:0x491,_0xd29596:0x22c,_0x4c214d:0x13f},_0x3474f1=_0x4e958e(fileURLToPath(import.meta.url)),_0x5bb518=_0x2b5792(_0x3474f1,_0x525611(0x3da,0x2d0)+_0x9777a5(_0x2989d6._0x36ddb3,_0x2989d6._0x19afc0)),_0x29ff07=_0xe59c3b(_0x5bb518,_0x525611(_0x2989d6._0xd29596,0x338)),_0x1d57fb=JSON[_0x525611(_0x2989d6._0x4c214d,-0xa1)](_0x29ff07);function _0x9777a5(_0x1fa32b,_0x365e76){return _0x3266d5(_0x365e76,_0x1fa32b-0x78);}function _0x525611(_0x5a7bd4,_0x4b3c41){return _0x3266d5(_0x4b3c41,_0x5a7bd4-0xc4);}return _0x1d57fb['version']??_0x525611(0x130,0x70);}function buildPairingJson(_0x3af47b,_0x47574e,_0x18f958,_0x42e481){const _0x2b4039={_0x41a402:0x527,_0xb86825:0x6fc,_0x56d413:0x94b,_0x56151c:0x322,_0xeefeef:0x4fe,_0x4d825a:0x765,_0x34ce42:0x57e,_0x45690c:0x978,_0x47e916:0x3dd,_0xf8638b:0xa4,_0x2f4604:0x4b9,_0xc4b292:0x90b,_0x204c9e:0x5bc,_0x3ba9f2:0x89a,_0x57c7a6:0x923,_0x213db1:0x5f7,_0x35d5ae:0x838,_0x1c00bb:0x45c,_0x178a13:0x10b,_0x4e59fd:0x81f,_0x2b1285:0x8c8,_0x21517c:0x59a,_0x52ca96:0x146,_0x21afa8:0x7d,_0x599096:0x22e,_0x57bdb5:0x9f8,_0x573ad6:0x8ac,_0x5be7bd:0xb37,_0x507bb2:0x325,_0x5e6977:0x106,_0x597361:0x334,_0x42e7a5:0x63c,_0x230c05:0x63c,_0x48577a:0x5bf,_0x318ab3:0x8cb,_0x47fbb4:0x69b,_0x457a52:0x4cd,_0x491b4:0x6ed,_0x34db88:0x804,_0x1b606b:0x5e2},_0x76c4c1={_0x274a2b:0xd7},_0x5632df={_0x3ecebb:0x49a},_0x423396={};_0x423396[_0x26623f(_0x2b4039._0x41a402,_0x2b4039._0xb86825)+'d']=_0x18f958[_0x26623f(_0x2b4039._0x41a402,0x556)+'d'],_0x423396[_0x26623f(0x893,_0x2b4039._0x56d413)]=_0x18f958[_0x422559(_0x2b4039._0x56151c,_0x2b4039._0xeefeef)],_0x423396[_0x26623f(_0x2b4039._0x4d825a,_0x2b4039._0x34ce42)]=_0x18f958[_0x26623f(0x765,0x93b)];function _0x26623f(_0xb2b860,_0x444e56){return _0x3266d5(_0x444e56,_0xb2b860-_0x5632df._0x3ecebb);}_0x423396[_0x26623f(0x94e,_0x2b4039._0x45690c)+_0x26623f(0x4cd,0x53c)]=_0x18f958[_0x422559(_0x2b4039._0x47e916,0x58a)+_0x422559(-_0x2b4039._0xf8638b,0xfa)],_0x423396[_0x422559(0x333,_0x2b4039._0x2f4604)]=_0x18f958[_0x26623f(0x8a4,_0x2b4039._0xc4b292)],_0x423396['errorLog'+_0x26623f(_0x2b4039._0x204c9e,0x405)]=_0x18f958['errorLog'+'Path'],_0x423396[_0x26623f(_0x2b4039._0x3ba9f2,_0x2b4039._0x57c7a6)]=_0x18f958[_0x26623f(_0x2b4039._0x3ba9f2,0x84e)];const _0x37c56e={};_0x37c56e['ok']=!![],_0x37c56e[_0x26623f(_0x2b4039._0x213db1,_0x2b4039._0x35d5ae)]=_0x3af47b['action'],_0x37c56e[_0x422559(0x25f,_0x2b4039._0x1c00bb)]=_0x42e481,_0x37c56e[_0x422559(0x2ae,_0x2b4039._0x178a13)+'d']=_0x3af47b['config'][_0x26623f(_0x2b4039._0x4e59fd,_0x2b4039._0x2b1285)+'d'],_0x37c56e[_0x26623f(0x656,_0x2b4039._0x21517c)]=_0x3af47b[_0x422559(-0x7d,-0x1e1)][_0x422559(0xe5,-_0x2b4039._0x52ca96)],_0x37c56e['serverUr'+'l']=_0x3af47b[_0x422559(-_0x2b4039._0x21afa8,-_0x2b4039._0x599096)][_0x422559(0x66,-0x24d)+'l'],_0x37c56e[_0x26623f(_0x2b4039._0x57bdb5,_0x2b4039._0x573ad6)+'Id']=_0x3af47b[_0x422559(-0x7d,0x18b)][_0x422559(0x487,0x6fb)+'Id'],_0x37c56e[_0x26623f(0x896,_0x2b4039._0x5be7bd)+'de']=_0x3af47b['accessCo'+'de'],_0x37c56e[_0x422559(_0x2b4039._0x507bb2,_0x2b4039._0x5e6977)+_0x422559(0x14d,_0x2b4039._0x597361)+_0x26623f(_0x2b4039._0x42e7a5,0x6f3)]=_0x3af47b[_0x422559(0x325,0x5e5)+'deExpire'+_0x26623f(_0x2b4039._0x230c05,_0x2b4039._0x48577a)],_0x37c56e[_0x26623f(_0x2b4039._0x318ab3,_0x2b4039._0x47fbb4)+_0x26623f(_0x2b4039._0x457a52,_0x2b4039._0x491b4)]=_0x47574e,_0x37c56e[_0x26623f(_0x2b4039._0x34db88,_0x2b4039._0x1b606b)]=_0x423396;function _0x422559(_0x1ddcf5,_0xbea375){return _0x3266d5(_0xbea375,_0x1ddcf5- -_0x76c4c1._0x274a2b);}return _0x37c56e;}function buildLocalPairingJson(_0x2e3d04){const _0x1254b8={_0x2d2915:0x61a,_0x2a1b0b:0x367,_0x2e5365:0x4f3,_0x2fd51a:0x247,_0x41a8f8:0x102,_0x6be0b4:0x188,_0x1c27f9:0x38c,_0x58738c:0x39c},_0x2d0a31={_0x40a748:0x95},_0x352548={_0x5855fb:0x130},_0x238faf={};_0x238faf[_0x61fd64(_0x1254b8._0x2d2915,0x5f4)]=_0x61fd64(0x132,_0x1254b8._0x2a1b0b);function _0x61fd64(_0x3d5480,_0x1e44b2){return _0x3266d5(_0x3d5480,_0x1e44b2-_0x352548._0x5855fb);}const _0x510ea6=_0x238faf,_0x19c160={};function _0x2da3a1(_0x4b5cc0,_0x3aa8ce){return _0x3266d5(_0x4b5cc0,_0x3aa8ce- -_0x2d0a31._0x40a748);}return _0x19c160['ok']=!![],_0x19c160['action']=_0x510ea6['oVLyX'],_0x19c160[_0x61fd64(0x462,0x466)]=_0x2e3d04[_0x2da3a1(_0x1254b8._0x2e5365,0x2a1)],_0x19c160[_0x61fd64(0x35a,0x523)+'rl']=_0x2e3d04[_0x61fd64(0x38d,0x523)+'rl'],_0x19c160[_0x2da3a1(0x4b6,_0x1254b8._0x2fd51a)]=_0x2e3d04[_0x2da3a1(_0x1254b8._0x41a8f8,_0x1254b8._0x2fd51a)],_0x19c160[_0x61fd64(_0x1254b8._0x6be0b4,0x179)+'t']=_0x2e3d04[_0x61fd64(_0x1254b8._0x1c27f9,0x179)+'t'],_0x19c160[_0x2da3a1(0x3a3,_0x1254b8._0x58738c)+'ath']=_0x2e3d04[_0x61fd64(0x2e5,0x561)+_0x2da3a1(-0x268,-0x62)],_0x19c160;}import{mkdirSync as _0x186abd,writeFileSync as _0x4a06a7}from'fs';import{dirname as _0x2c7a4b,isAbsolute,join as _0x293617,resolve as _0x44dfaa}from'path';import _0x4a5369 from'qrcode';var DEFAULT_QR_DIR=getOpenClawMediaDir();async function writePairingQrPng(_0x114867,_0x14d916){const _0x2fe15f={_0x240e0c:0x3f4},_0x42c23b={_0x9ad8ce:0x6f},_0x70af7e={'FurAH':function(_0x162749,_0xf188b8,_0x1a0fc0){return _0x162749(_0xf188b8,_0x1a0fc0);}},_0x5b837e=resolveQrOutputPath(_0x114867['config'][_0x41ad44(_0x2fe15f._0x240e0c,0x228)+'d'],_0x14d916);function _0x41ad44(_0x3a8888,_0x19864f){return _0x3266d5(_0x19864f,_0x3a8888-_0x42c23b._0x9ad8ce);}return _0x70af7e['FurAH'](writeQrPng,_0x114867['qrPayloa'+'d'],_0x5b837e);}async function writeRawQrPng(_0x1f302e,_0x16b8b2,_0x23bb48){const _0x1aa2a2={_0x59b105:0x6a},_0x6429b2={_0x5036e2:0x494},_0x110126={'OmCMi':function(_0x44039d,_0x497c68,_0x3e81e0){return _0x44039d(_0x497c68,_0x3e81e0);},'NocoE':function(_0x3b5231,_0x1f5b5a,_0x5e38d1){return _0x3b5231(_0x1f5b5a,_0x5e38d1);}};function _0x2816f2(_0x2a3a1c,_0x197043){return _0x26b3dd(_0x2a3a1c- -_0x6429b2._0x5036e2,_0x197043);}const _0x326edd=_0x110126[_0x2816f2(0x205,_0x1aa2a2._0x59b105)](resolveQrOutputPath,_0x16b8b2,_0x23bb48);return _0x110126['NocoE'](writeQrPng,_0x1f302e,_0x326edd);}async function writeQrPng(_0x4c05be,_0x1823f1){const _0xb6d69e={_0x8611fa:0x8a6,_0x5f52d6:0x24b,_0x249744:0x5d1,_0x39ce19:0x393,_0x27046f:0x50b,_0x218a4f:0x361,_0x144042:0x81d,_0x3fa763:0x7af,_0xf392a0:0x41c},_0x390027={_0x40c177:0xa},_0x11df19={};_0x11df19['uDNPK']='image/pn'+'g';const _0x3ec72a=_0x11df19,_0x15017c={};_0x15017c[_0xe9afd9(0xa75,_0xb6d69e._0x8611fa)+'e']=!![],_0x186abd(_0x2c7a4b(_0x1823f1),_0x15017c);const _0x5a23d3={};function _0x40458e(_0x1a2bbd,_0x305929){return _0x26b3dd(_0x1a2bbd- -0x3d7,_0x305929);}function _0xe9afd9(_0x128b8e,_0xfadfab){return _0x26b3dd(_0xfadfab-_0x390027._0x40c177,_0x128b8e);}_0x5a23d3['type']=_0x3ec72a[_0x40458e(0x448,_0xb6d69e._0x5f52d6)],_0x5a23d3[_0xe9afd9(_0xb6d69e._0x249744,0x753)+_0x40458e(_0xb6d69e._0x39ce19,0x461)+_0xe9afd9(0x7f3,0x80d)]='M',_0x5a23d3[_0x40458e(0x3cd,0x366)]=0x1,_0x5a23d3[_0x40458e(0x47d,0x429)]=0x2d0;const _0x1bb915=await _0x4a5369[_0xe9afd9(0x789,_0xb6d69e._0x27046f)+'L'](_0x4c05be,_0x5a23d3),_0x33ee7f=_0x1bb915[_0x40458e(0x2e8,_0xb6d69e._0x218a4f)](/^data:image\/png;base64,/,'');return _0x4a06a7(_0x1823f1,Buffer[_0xe9afd9(_0xb6d69e._0x144042,_0xb6d69e._0x3fa763)](_0x33ee7f,_0x40458e(_0xb6d69e._0xf392a0,0x188))),_0x1823f1;}function resolveQrOutputPath(_0x4a0b49,_0x59b3ab){const _0x18aded={_0x4bbb07:0x641,_0x35b632:0x6aa,_0x3eb13f:0x405},_0x3c4a71=_0x59b3ab?.[_0x31a304(_0x18aded._0x4bbb07,_0x18aded._0x35b632)]();function _0x89a91d(_0x4fca07,_0x301450){return _0x3266d5(_0x4fca07,_0x301450- -0x236);}function _0x31a304(_0x92dda,_0x23a182){return _0x3266d5(_0x23a182,_0x92dda-0x31b);}if(_0x3c4a71)return isAbsolute(_0x3c4a71)?_0x3c4a71:_0x44dfaa(_0x3c4a71);return _0x293617(DEFAULT_QR_DIR,_0x4a0b49+_0x31a304(_0x18aded._0x3eb13f,0x173));}function decidePairServiceAction(_0x16a259,_0x2f0293){const _0x16ee6a={_0x143e65:0x681,_0x4130ad:0x5ea,_0x548081:0x8ce,_0x5578fa:0x5c9,_0x1b27f9:0x6f7,_0x5c0085:0x9d1,_0x382703:0x762,_0x3f2dce:0x4e9,_0x305a47:0x613,_0x5cc564:0x2bc,_0x4946bb:0x4c6,_0x19db26:0x7b1,_0x1d873a:0x538,_0x37a10f:0x41e},_0x5b4956={};_0x5b4956[_0x374dc1(_0x16ee6a._0x143e65,0x5f1)]='install',_0x5b4956['mzjfH']=function(_0x353885,_0xd0715a){return _0x353885===_0xd0715a;},_0x5b4956[_0x374dc1(_0x16ee6a._0x4130ad,0x7b1)]=_0x31fdc0(_0x16ee6a._0x548081,0x62d)+'ed';const _0x48982a=_0x5b4956;function _0x31fdc0(_0x1b9d7c,_0x585cb6){return _0x3266d5(_0x1b9d7c,_0x585cb6-0x46f);}if(!_0x2f0293[_0x31fdc0(_0x16ee6a._0x5578fa,0x4fc)+'d'])return _0x48982a[_0x31fdc0(0x6b7,_0x16ee6a._0x1b27f9)];if(!_0x2f0293[_0x374dc1(_0x16ee6a._0x5c0085,_0x16ee6a._0x382703)])return _0x374dc1(0x6a6,0x538);if(_0x48982a[_0x374dc1(_0x16ee6a._0x3f2dce,_0x16ee6a._0x305a47)](_0x16a259[_0x374dc1(_0x16ee6a._0x5cc564,_0x16ee6a._0x4946bb)],_0x48982a[_0x374dc1(0x80e,_0x16ee6a._0x19db26)]))return _0x374dc1(0x47b,_0x16ee6a._0x1d873a);function _0x374dc1(_0x3e6dbb,_0x91bb75){return _0x3266d5(_0x3e6dbb,_0x91bb75-0x369);}return _0x374dc1(0x416,_0x16ee6a._0x37a10f);}async function main(){const _0x3f8891={_0x4c6850:0x276,_0x4e748e:0x4ab,_0x5937b6:0x5fd,_0x3c0132:0x2e2,_0x348fda:0x5e1,_0x4ca9bf:0x6c5,_0x365940:0xe9,_0x391d48:0x451,_0x2c30c7:0x1ae,_0x422ac9:0x35b,_0x2fdde6:0x4a4,_0x130ea0:0x30e,_0x1a0fec:0x1d6,_0x156af7:0x460,_0x13d6c9:0x5d2,_0x430a47:0x18d,_0x2e73dc:0x3f3,_0x10b910:0x7ae,_0x1ccb10:0x64a,_0xb18563:0x27c,_0x234d87:0x107,_0x1a0aa5:0x7c8,_0x4cb22a:0x989,_0x55ce77:0x588,_0x516ab9:0x70b,_0x205560:0x6f0,_0x5e633e:0x1de,_0x20d644:0x1eb,_0x8ae6e0:0x416,_0x5a3443:0x421,_0x59a3e9:0x3d0,_0x45923a:0x649,_0xf6e9a0:0x513,_0x4bdd4d:0x15f,_0xd2784b:0x3cc,_0x4176b3:0x50e,_0x100c80:0x4d4,_0x18b561:0x6fd,_0x1a8e53:0x2fc,_0x207cd9:0x553,_0x9c1a69:0x2b9,_0x1000f6:0x40a,_0x5cb17d:0x2c3,_0x164319:0x3dc,_0x33e66c:0xcb,_0x302af0:0x29d,_0x9169c1:0x1d8,_0x3cea08:0x621,_0x21aae8:0x54b,_0x5da352:0x265,_0x561ff6:0x5fc,_0x11ecb3:0x5b9,_0x219c19:0x7c0,_0x2870a1:0x636,_0x481235:0x65d,_0x414721:0x6c6,_0x213727:0x33b,_0x44c5b5:0x39d,_0x249806:0x344,_0x2043f3:0x561,_0x48e267:0x6,_0x4757ff:0x37c,_0x4b7326:0x9cd,_0x2fd371:0x592,_0x450d2b:0x35f,_0x427d35:0x281,_0x3c8622:0x30b,_0x40f408:0x49a,_0x2eb689:0x35c,_0x5e378c:0x20f,_0x7b3075:0x690,_0x39cd2c:0x902,_0x36c8b6:0x369,_0x35197e:0x250,_0x24f3cf:0x176,_0x1482ad:0x99f,_0x4cfea1:0x182,_0x329f9e:0xf9,_0x210431:0x45c,_0x1dc737:0x337,_0x47912f:0x6e5,_0x2d1f24:0x57b,_0x23839d:0x2fb,_0x4f6bf3:0x4ea,_0x321c8a:0x472,_0x5ba35b:0x42c,_0x1e074e:0x442,_0x57ecff:0x61f,_0x4ac3e0:0x5df,_0x66cd00:0x4a1,_0x323252:0x5fb,_0x3a9d84:0x35f,_0x2562e8:0x601,_0x3fb5e5:0x3e1,_0x2ac521:0x200,_0x1045ba:0x640,_0x1322e9:0x379,_0x51f7e7:0x1e7,_0x3872c4:0x473,_0x42fbae:0x5da,_0x5cd686:0x414,_0x4cb518:0x4a5,_0x3b6008:0x3e0,_0x1895f2:0x63f,_0xacc5b9:0x4d2,_0x2495c3:0x10d,_0x36b63f:0x167,_0x493995:0x2ad,_0x4e585e:0x2d4,_0x1256c8:0x419,_0x2e0d06:0x2e3,_0x203028:0x435,_0x322b2f:0x664,_0xed4bd:0x63c,_0x1f1a26:0x550,_0x1513cf:0x539,_0x20a2e2:0x606,_0x4cb6e4:0x592,_0x4b9fb2:0x761,_0x237941:0x1c2,_0x14c8e3:0x524,_0x44758c:0x5ed,_0x4d9f55:0x4c5,_0x5cff2e:0x474,_0xf7fecc:0x37b,_0x383f9b:0x1f7,_0x3779bf:0x7c8,_0x5c6563:0x64e,_0xf331f0:0x536,_0x3ded9d:0x138,_0x36eb0f:0x86,_0x5674b9:0x6d6,_0x207692:0x3f1,_0x39573a:0x701,_0x5b0e8a:0x222,_0x329f7c:0x44e,_0x28de34:0x4f5,_0x32741f:0x371,_0x53c8b1:0x62f,_0xfad468:0x709,_0x165d8c:0x6dd,_0x7915ad:0x723,_0x24f6a0:0x2b2,_0x6926c3:0x323,_0x5837a8:0x457,_0x1fe1bc:0x530,_0x5b8b14:0x5d5,_0x53e770:0x65b,_0x3f0722:0x5a7,_0x35b72f:0x76d,_0x188b89:0x1aa,_0x42fe31:0x19,_0x4e6ded:0x7d4,_0x3c42fd:0x5fe,_0x4fe028:0x49b,_0x19a0ae:0x753,_0x5dfc74:0x47b,_0x246cc1:0x347,_0x556fb0:0x17d,_0x560712:0x9c,_0x19e750:0x363,_0x5659c1:0x4ee,_0x3b6916:0x40c,_0x12c133:0x6a3,_0xd8e137:0x45d,_0x436480:0x445,_0x47016f:0x56c,_0x22196d:0x2bc,_0x48362a:0x6a4,_0xd91a87:0x5d1,_0x510961:0x6c1,_0x49703c:0x3aa,_0x518ebc:0x51d,_0x39520a:0x3b4,_0x59d389:0x530,_0x5b69af:0x793,_0x56019c:0x41e,_0xd4a35d:0x40b,_0x5be9ee:0x527,_0x273393:0x62b,_0xfa0321:0x5db,_0x1cf594:0x76a,_0x597b16:0x662,_0x2c5c7c:0x5a8,_0x2d14dd:0x495,_0x25e8e7:0x3a4,_0xf29538:0x20e,_0x5eadb7:0x47c,_0x104ff3:0x4ed,_0x15bd0e:0x651,_0x327bec:0x763,_0x17fb17:0x3f4,_0xdca539:0x230,_0x2b1ac3:0x447,_0x130c39:0x73e,_0x1c6ae8:0x62f,_0x17e4c8:0x554,_0x4d253d:0x545,_0x357e3f:0x415,_0x1856ee:0x24e,_0x203b45:0x29e,_0x137d84:0x3c0,_0x3d4660:0x7b4,_0x33326f:0x9d8,_0x553041:0x6bf,_0x2de1d7:0x1e1,_0x4edbe7:0x466,_0x166935:0x8d7,_0x2914dd:0x40d,_0x2daf4e:0x34f,_0x3596cb:0x215,_0x9c5a58:0x32c,_0x3eddd7:0x631,_0x3498b5:0x6b9,_0x454c26:0x4c4,_0x8e1aff:0x1db,_0x5744b8:0x39d,_0x4f4be2:0xa06,_0x38784b:0x63b,_0x5120ca:0x4bc,_0x3cd72b:0x2d3},_0xa84ed5={_0x10b3eb:0x716,_0x5337f5:0x31f,_0x51aa0a:0x387,_0x50d101:0x605},_0x25fbae={_0x55c340:0x307},_0x4dda37={_0xf775ff:0x6e9,_0x193517:0x761,_0x218691:0x6a8,_0x5d3a3f:0x73b,_0x4f499c:0x807,_0x2be527:0x79,_0x114804:0x4b0,_0x5c227e:0x709},_0x430185={_0x37051d:0x42c,_0x58c408:0x2a6,_0x26a444:0x1b2,_0x32015a:0x129,_0x854877:0x581,_0x5350c8:0x1ae,_0x3f487f:0x5d7,_0x27556a:0x155,_0x5bc908:0x31e,_0x5026d2:0x17e,_0x68c41e:0x120,_0x5a8d78:0x59,_0x56ac0c:0xd3,_0x4a62cc:0x9,_0x4c85e9:0x13b,_0x2110cd:0x192},_0x3044cc={_0xf7ca21:0x40a},_0x3feff2={_0xca2ce2:0x420},_0x5482bc={_0x31f7e2:0x606,_0x305f8b:0x779,_0x5b8f7f:0x3d9,_0x36bfee:0x415},_0x1421a5={_0x115e12:0x23a};function _0xa2ddc5(_0x3c5bb6,_0x24d6c8){return _0x26b3dd(_0x3c5bb6- -0x3b3,_0x24d6c8);}const _0x1c5a5d={'HxpuO':function(_0x62daa2,_0x3eaa50){return _0x62daa2(_0x3eaa50);},'GjXqv':'down','iJKKf':_0xa2ddc5(_0x3f8891._0x4c6850,0x41f),'oGYKV':'help','onHCM':function(_0x2b3a1c,_0x3dc6f3,_0x4e8b83){return _0x2b3a1c(_0x3dc6f3,_0x4e8b83);},'sDzyr':_0xa2ddc5(0x5ea,0x870),'PHjgk':function(_0x4e907f){return _0x4e907f();},'HwbaG':'--url','GMJBX':function(_0x5f75bc,_0xfedab0){return _0x5f75bc in _0xfedab0;},'wGIeQ':function(_0x2b3402,_0xee8a0a,_0x337487){return _0x2b3402(_0xee8a0a,_0x337487);},'eHUNK':_0x3d738d(_0x3f8891._0x4e748e,_0x3f8891._0x5937b6),'hBVWt':function(_0x26aee6,_0x50a1e4,_0x43198f){return _0x26aee6(_0x50a1e4,_0x43198f);},'HjTSk':function(_0x28000a,_0x208077,_0xefff52){return _0x28000a(_0x208077,_0xefff52);},'cABMD':function(_0x3fa6e6,_0x3c18ba){return _0x3fa6e6===_0x3c18ba;},'fqKqH':_0x3d738d(0x2b7,0x3d7)+_0xa2ddc5(_0x3f8891._0x3c0132,0x43)+_0x3d738d(_0x3f8891._0x348fda,_0x3f8891._0x4ca9bf)+_0xa2ddc5(0x205,_0x3f8891._0x365940)+_0x3d738d(_0x3f8891._0x391d48,0x237)+'arted\x20th'+_0xa2ddc5(0x460,_0x3f8891._0x2c30c7)+_0xa2ddc5(0x48c,0x46b)+'vice\x20cle'+'anly.','doXWT':function(_0x57c0f9,_0x57ee8a,_0x4cfabe){return _0x57c0f9(_0x57ee8a,_0x4cfabe);},'foZPO':_0xa2ddc5(_0x3f8891._0x422ac9,0xb8),'DXzdW':function(_0x37d856,_0x5db5c2,_0x48a17b,_0x4be512,_0x2e15a1){return _0x37d856(_0x5db5c2,_0x48a17b,_0x4be512,_0x2e15a1);},'QQvSt':function(_0x2df951,_0x55ddfb,_0x3af6f4){return _0x2df951(_0x55ddfb,_0x3af6f4);},'JSdlp':function(_0x493930,_0x447011,_0x228549){return _0x493930(_0x447011,_0x228549);},'KsMOo':_0x3d738d(0x734,_0x3f8891._0x2fdde6)+'e','jwjgF':function(_0x43a73e,_0x35d6c4){return _0x43a73e(_0x35d6c4);},'TDvbe':function(_0x411d0c,_0x3e0781,_0x18e06d){return _0x411d0c(_0x3e0781,_0x18e06d);},'pvgKm':_0x3d738d(_0x3f8891._0x130ea0,_0x3f8891._0x1a0fec),'mPaDn':'Stopped\x20'+_0xa2ddc5(0x1cd,_0x3f8891._0x156af7)+_0xa2ddc5(0x2e3,0x56c)+'ce.','FVFoe':function(_0x3a613c,_0x51224d,_0x12a7b0){return _0x3a613c(_0x51224d,_0x12a7b0);},'EBwDN':_0xa2ddc5(0x2f2,0x232),'FCcUU':function(_0x99a6e3){return _0x99a6e3();},'aJzMV':function(_0x461859,_0x165ef8){return _0x461859===_0x165ef8;},'hYoHj':_0x3d738d(_0x3f8891._0x13d6c9,0x74e),'RXZgF':function(_0x435fab,_0x325ffa){return _0x435fab(_0x325ffa);},'QuiBP':_0xa2ddc5(0xe8,_0x3f8891._0x430a47),'liumu':function(_0x4b4cdb,_0x28a97b,_0x2c8528){return _0x4b4cdb(_0x28a97b,_0x2c8528);},'EEcRY':function(_0x4a516f,_0x4c5ca4){return _0x4a516f===_0x4c5ca4;},'SmZKY':function(_0x12a0b1){return _0x12a0b1();},'VoDaR':function(_0x10c81c,_0x4595ac){return _0x10c81c(_0x4595ac);},'DQeVT':_0x3d738d(_0x3f8891._0x2e73dc,0x33d)+_0x3d738d(0x629,0x713),'cKSrD':_0x3d738d(0x5a2,0x4d2)},[,,_0x29052f=_0x1c5a5d[_0x3d738d(_0x3f8891._0x10b910,_0x3f8891._0x1ccb10)],..._0x616d80]=process[_0x3d738d(0x2a5,0x400)],_0x30de9e=hasFlag(_0x616d80,'--servic'+'e'),_0x7a0d7=_0x1c5a5d[_0x3d738d(0x79a,0x769)](hasFlag,_0x616d80,_0x1c5a5d[_0xa2ddc5(0x3bc,_0x3f8891._0xb18563)]);if(_0x29052f===_0xa2ddc5(_0x3f8891._0x234d87,0x154)){const _0x5d9476=_0x1c5a5d[_0x3d738d(_0x3f8891._0x1a0aa5,_0x3f8891._0x4cb22a)](readPairSubcommand,_0x616d80),_0x556610=_0x5d9476===_0xa2ddc5(0x314,0x280)||hasFlag(_0x616d80,_0xa2ddc5(0x106,0x1cd));if(_0x556610){const _0x275889=_0x1c5a5d[_0x3d738d(0x4d5,0x43c)](resolveGatewayAuth);if(_0xa2ddc5(_0x3f8891._0x55ce77,_0x3f8891._0x516ab9)in _0x275889)throw new Error(_0x275889[_0x3d738d(0x701,0x95b)]);const _0x1a6863=readFlag(_0x616d80,_0xa2ddc5(0x5bb,0x81d)+'e'),_0x26e170=_0x1c5a5d[_0x3d738d(0x7c8,_0x3f8891._0x205560)](buildLocalPairingInfo,{'explicitUrl':readFlag(_0x616d80,_0x1c5a5d[_0xa2ddc5(_0x3f8891._0x5e633e,_0x3f8891._0x20d644)]),'gatewayToken':_0x275889[_0x3d738d(0x4f5,0x2e4)],'gatewayPassword':_0x275889['password']}),_0x8c23db=await writeRawQrPng(_0x26e170[_0x3d738d(_0x3f8891._0x8ae6e0,0x6ab)+'d'],_0xa2ddc5(_0x3f8891._0x5a3443,_0x3f8891._0x59a3e9)+'local-pa'+'ir',_0x1a6863);if(_0x7a0d7){const _0x3dd2b2={};_0x3dd2b2[_0x3d738d(_0x3f8891._0x45923a,0x687)+'rl']=_0x26e170['gatewayU'+'rl'],_0x3dd2b2[_0xa2ddc5(0x3b9,_0x3f8891._0xf6e9a0)]=_0x26e170[_0xa2ddc5(0x3b9,_0x3f8891._0x4bdd4d)],_0x3dd2b2[_0xa2ddc5(0x126,_0x3f8891._0xd2784b)+'t']=_0x26e170[_0x3d738d(0x29f,0x34d)+'t'],_0x3dd2b2[_0xa2ddc5(_0x3f8891._0x4176b3,_0x3f8891._0x100c80)+'ath']=_0x8c23db,_0x3dd2b2[_0x3d738d(0x58c,_0x3f8891._0x18b561)]=_0x3d738d(0x4c1,_0x3f8891._0x1a8e53)+_0x3d738d(0x6b1,0x68c)+_0xa2ddc5(_0x3f8891._0x207cd9,_0x3f8891._0x9c1a69)+_0xa2ddc5(_0x3f8891._0x1000f6,0x500)+_0xa2ddc5(_0x3f8891._0x5cb17d,0x584),printJson(buildLocalPairingJson(_0x3dd2b2));}else printLocalPairingInfo(_0x26e170[_0x3d738d(0x649,_0x3f8891._0x164319)+'rl'],_0x26e170['authMode'],_0x26e170[_0xa2ddc5(0x126,_0x3f8891._0x33e66c)+'t'],_0x26e170[_0xa2ddc5(_0x3f8891._0x302af0,_0x3f8891._0x9169c1)+'d'],_0x8c23db,_0x1c5a5d[_0xa2ddc5(_0x3f8891._0x3cea08,_0x3f8891._0x21aae8)](readFlag,_0x616d80,_0x1c5a5d[_0xa2ddc5(_0x3f8891._0x5e633e,_0x3f8891._0x5da352)]));return;}const _0x494a78=hasFlag(_0x616d80,_0x3d738d(0x484,_0x3f8891._0x561ff6));!_0x494a78&&await ensurePairPrerequisites();const _0x169fbe=resolveGatewayAuth();if(_0x1c5a5d[_0x3d738d(0x54d,_0x3f8891._0x11ecb3)](_0x3d738d(0x701,_0x3f8891._0x219c19),_0x169fbe))throw new Error(_0x169fbe['error']);const _0x909e9e=_0x1c5a5d['wGIeQ'](readFlag,_0x616d80,_0x1c5a5d[_0x3d738d(_0x3f8891._0x2870a1,0x57a)])??readFlag(_0x616d80,'-s')??_0x3d738d(0x2af,0xe1)+_0x3d738d(0x5ee,0x693)+'.clawket'+_0xa2ddc5(_0x3f8891._0x481235,_0x3f8891._0x414721),_0x3ee622=readFlag(_0x616d80,'--name')??_0x1c5a5d[_0x3d738d(_0x3f8891._0x213727,0x3a8)](readFlag,_0x616d80,'-n')??getDefaultBridgeDisplayName(),_0x2b2ccf=readFlag(_0x616d80,'--qr-fil'+'e'),_0x204d44={};_0x204d44[_0xa2ddc5(0x21a,_0x3f8891._0x44c5b5)+'l']=_0x909e9e,_0x204d44[_0x3d738d(_0x3f8891._0x249806,0x59a)+_0xa2ddc5(0x47c,0x577)]=_0x3ee622,_0x204d44[_0x3d738d(_0x3f8891._0x2043f3,0x4fc)+_0xa2ddc5(0x222,-_0x3f8891._0x48e267)]=_0x169fbe[_0xa2ddc5(_0x3f8891._0x4757ff,0x584)],_0x204d44[_0x3d738d(0x7a8,_0x3f8891._0x4b7326)+_0x3d738d(0x518,_0x3f8891._0x2fd371)]=_0x169fbe[_0x3d738d(0x6dd,0x4d8)];const _0x44756=await pairGateway(_0x204d44),_0x519f35=await _0x1c5a5d['HjTSk'](writePairingQrPng,_0x44756,_0x2b2ccf),_0x29d305=getServiceStatus(),_0x248efc=decidePairServiceAction(_0x44756,_0x29d305);if(_0x1c5a5d[_0xa2ddc5(_0x3f8891._0x450d2b,_0x3f8891._0x427d35)](_0x248efc,_0x3d738d(_0x3f8891._0x3c8622,_0x3f8891._0x40f408))){const _0xcee990=_0x1c5a5d[_0xa2ddc5(_0x3f8891._0x2eb689,_0x3f8891._0x5e378c)](listRuntimeProcesses);if(_0xcee990[_0x3d738d(_0x3f8891._0x7b3075,_0x3f8891._0x39cd2c)]>0x1){stopRuntimeProcesses();const _0x3c6d23=_0x1c5a5d[_0xa2ddc5(0x35c,0x14a)](restartService),_0x4fca61=_0x1c5a5d[_0x3d738d(_0x3f8891._0x36c8b6,0x23f)];_0x7a0d7?printJson(buildPairingJson(_0x44756,_0x519f35,_0x3c6d23,_0x4fca61)):(_0x1c5a5d[_0xa2ddc5(_0x3f8891._0x35197e,_0x3f8891._0x24f3cf)](printPairingInfo,_0x44756,_0x519f35),printServiceResult(_0x4fca61,_0x3c6d23));return;}_0x7a0d7?_0x1c5a5d[_0x3d738d(0x7c8,_0x3f8891._0x1482ad)](printJson,buildPairingJson(_0x44756,_0x519f35,_0x29d305,_0xa2ddc5(_0x3f8891._0x4cfea1,_0x3f8891._0x329f9e)+_0x3d738d(_0x3f8891._0x210431,_0x3f8891._0x1dc737)+'ce\x20alrea'+'dy\x20runni'+_0x3d738d(0x641,0x507)+'\x20unchang'+_0x3d738d(0x362,0x20a))):(printPairingInfo(_0x44756,_0x519f35),console[_0x3d738d(_0x3f8891._0x47912f,_0x3f8891._0x2d1f24)](_0x3d738d(_0x3f8891._0x23839d,_0x3f8891._0x4f6bf3)+_0xa2ddc5(0x2e3,0x104)+'ce\x20alrea'+_0x3d738d(_0x3f8891._0x321c8a,_0x3f8891._0x5ba35b)+_0xa2ddc5(0x4c8,_0x3f8891._0x1e074e)+_0x3d738d(_0x3f8891._0x57ecff,_0x3f8891._0x4ac3e0)+_0x3d738d(0x362,0x3ff)),_0x1c5a5d[_0x3d738d(_0x3f8891._0x66cd00,0x416)](printServiceResult,null,_0x29d305));return;}try{_0x1c5a5d[_0xa2ddc5(_0x3f8891._0x2eb689,_0x3f8891._0x323252)](stopRuntimeProcesses);const _0x245c38=_0x1c5a5d[_0xa2ddc5(_0x3f8891._0x3a9d84,_0x3f8891._0x2562e8)](_0x248efc,_0xa2ddc5(0x35b,_0x3f8891._0x3fb5e5))?installService():restartService(),_0x53e381=_0x248efc===_0x1c5a5d[_0xa2ddc5(_0x3f8891._0x2ac521,0x3d4)]?_0xa2ddc5(_0x3f8891._0x1045ba,0x63e)+_0xa2ddc5(_0x3f8891._0x1322e9,_0x3f8891._0x51f7e7)+_0x3d738d(0x5c1,0x4ee)+_0x3d738d(_0x3f8891._0x3872c4,_0x3f8891._0x42fbae)+'e.':_0x44756[_0x3d738d(0x3b3,0x1df)]===_0x3d738d(_0x3f8891._0x5cd686,0x53d)+'ed'?'Bridge\x20i'+_0xa2ddc5(_0x3f8891._0x4cb518,0x3d8)+_0x3d738d(0x29d,_0x3f8891._0x3b6008)+_0xa2ddc5(0x4f7,0x50e)+_0xa2ddc5(_0x3f8891._0x1895f2,_0x3f8891._0xacc5b9)+_0xa2ddc5(_0x3f8891._0x2495c3,-_0x3f8891._0x36b63f)+_0x3d738d(0x40c,0x26d)+_0xa2ddc5(0x483,0x3a0)+_0xa2ddc5(_0x3f8891._0x493995,_0x3f8891._0x4e585e)+_0x3d738d(0x7d7,0x5f5):_0x3d738d(_0x3f8891._0x23839d,_0x3f8891._0x1256c8)+_0xa2ddc5(_0x3f8891._0x2e0d06,0x2cd)+_0x3d738d(_0x3f8891._0x203028,_0x3f8891._0x322b2f)+_0x3d738d(0x7a6,0x8bf)+_0x3d738d(_0x3f8891._0xed4bd,_0x3f8891._0x1f1a26)+_0xa2ddc5(0x562,0x6bd)+_0xa2ddc5(_0x3f8891._0x321c8a,_0x3f8891._0x1513cf)+_0x3d738d(0x51b,_0x3f8891._0x20a2e2);_0x7a0d7?_0x1c5a5d[_0xa2ddc5(0x64f,0x62a)](printJson,_0x1c5a5d[_0x3d738d(_0x3f8891._0x4cb6e4,0x4f5)](buildPairingJson,_0x44756,_0x519f35,_0x245c38,_0x53e381)):(_0x1c5a5d[_0x3d738d(_0x3f8891._0x4b9fb2,0x623)](printPairingInfo,_0x44756,_0x519f35),_0x1c5a5d[_0xa2ddc5(_0x3f8891._0x237941,0x1eb)](printServiceResult,_0x53e381,_0x245c38));}catch(_0x235ddc){if(isAutostartUnsupportedError(_0x235ddc)){const _0x4d9537=await startTransientRuntime(),_0x4ed3fb=buildUnsupportedAutostartMessage(_0x4d9537);_0x7a0d7?printJson(buildPairingJson(_0x44756,_0x519f35,_0x4d9537,_0x4ed3fb)):(_0x1c5a5d[_0x3d738d(0x67e,_0x3f8891._0x14c8e3)](printPairingInfo,_0x44756,_0x519f35),printServiceResult(_0x4ed3fb,_0x4d9537));return;}console['error'](_0x3d738d(0x31d,0x3e6)+_0x3d738d(0x4d3,_0x3f8891._0x44758c)+'d,\x20but\x20s'+_0x3d738d(_0x3f8891._0x4d9f55,_0x3f8891._0x5cff2e)+'ctivatio'+_0x3d738d(_0x3f8891._0xf7fecc,_0x3f8891._0x383f9b)+':\x20'+_0x1c5a5d[_0x3d738d(_0x3f8891._0x3779bf,_0x3f8891._0x5c6563)](formatError2,_0x235ddc)),console[_0xa2ddc5(0x588,_0x3f8891._0xf331f0)]('You\x20can\x20'+'still\x20ru'+_0xa2ddc5(_0x3f8891._0x3ded9d,-_0x3f8891._0x36eb0f)+_0xa2ddc5(0x45a,0x48e)+'ll\x22\x20or\x20\x22'+'clawket\x20'+_0x3d738d(0x467,0x675)+'ually.'),process['exitCode']=0x1;}return;}if(_0x1c5a5d[_0xa2ddc5(0x35f,0x2b9)](_0x29052f,_0xa2ddc5(_0x3f8891._0x4f6bf3,_0x3f8891._0x5674b9)+_0x3d738d(_0x3f8891._0x207692,0x525))){const _0x585f59=readFlag(_0x616d80,_0x1c5a5d['KsMOo']),_0x3c6e00=resolveGatewayAuth();if(_0x3d738d(0x701,_0x3f8891._0x205560)in _0x3c6e00)throw new Error(_0x3c6e00[_0x3d738d(_0x3f8891._0x39573a,0x870)]);const _0x21ff11={};_0x21ff11[_0x3d738d(0x561,0x5a5)+_0xa2ddc5(_0x3f8891._0x5b0e8a,_0x3f8891._0x329f7c)]=_0x3c6e00[_0x3d738d(_0x3f8891._0x28de34,_0x3f8891._0x32741f)],_0x21ff11[_0xa2ddc5(_0x3f8891._0x53c8b1,_0x3f8891._0xfad468)+'assword']=_0x3c6e00[_0x3d738d(_0x3f8891._0x165d8c,_0x3f8891._0x7915ad)];const _0x25099f=await _0x1c5a5d[_0xa2ddc5(0x333,0x14a)](refreshAccessCode,_0x21ff11),_0x1178a9=await _0x1c5a5d['TDvbe'](writePairingQrPng,_0x25099f,_0x585f59);_0x7a0d7?printJson(buildPairingJson(_0x25099f,_0x1178a9,getServiceStatus(),'Pairing\x20'+_0xa2ddc5(_0x3f8891._0x24f6a0,0x414)+_0xa2ddc5(0x240,0x494))):printPairingInfo(_0x25099f,_0x1178a9);return;}if(_0x29052f===_0x1c5a5d['foZPO']||_0x29052f===_0x1c5a5d[_0x3d738d(0x6ee,0x836)]){const _0x192f56=requirePairingConfig();stopRuntimeProcesses();const _0x56994b=installService();console['log']('Installe'+_0x3d738d(_0x3f8891._0x6926c3,_0x3f8891._0x5837a8)+'ound\x20ser'+_0xa2ddc5(_0x3f8891._0x1fe1bc,_0x3f8891._0x5b8b14)+_0xa2ddc5(_0x3f8891._0x53e770,0x68b)+'\x20'+_0x192f56[_0xa2ddc5(0x462,_0x3f8891._0x3f0722)+'d']+'.'),_0x1c5a5d['hBVWt'](printServiceResult,null,_0x56994b);return;}if(_0x29052f===_0xa2ddc5(0x2ac,0x1bf)){const _0x1a2394=requirePairingConfig();stopRuntimeProcesses();const _0x44c40b=restartService();console[_0x3d738d(0x6e5,_0x3f8891._0x35b72f)](_0x3d738d(0x6ce,0x795)+_0xa2ddc5(_0x3f8891._0x188b89,_0x3f8891._0x42fe31)+'ound\x20ser'+_0x3d738d(0x6a9,0x8f1)+_0x3d738d(_0x3f8891._0x4e6ded,_0x3f8891._0x55ce77)+'\x20'+_0x1a2394[_0xa2ddc5(0x462,0x657)+'d']+'.'),_0x1c5a5d[_0x3d738d(_0x3f8891._0x3c42fd,_0x3f8891._0x4fe028)](printServiceResult,null,_0x44c40b);return;}if(_0x29052f===_0x3d738d(_0x3f8891._0x19a0ae,0x95e)){const _0x88a34f=stopService();stopRuntimeProcesses(),console[_0x3d738d(0x6e5,_0x3f8891._0x5dfc74)](_0x1c5a5d['mPaDn']),_0x1c5a5d[_0x3d738d(_0x3f8891._0x40f408,0x505)](printServiceResult,null,_0x88a34f);return;}function _0x3d738d(_0x541a91,_0x3b845a){return _0x26b3dd(_0x541a91- -_0x1421a5._0x115e12,_0x3b845a);}if(_0x29052f==='uninstal'+'l'){const _0x15f55a=uninstallService();stopRuntimeProcesses(),console[_0xa2ddc5(0x56c,_0x3f8891._0x246cc1)](_0xa2ddc5(_0x3f8891._0x556fb0,-_0x3f8891._0x560712)+'backgrou'+_0x3d738d(_0x3f8891._0x210431,_0x3f8891._0x19e750)+_0x3d738d(_0x3f8891._0x5659c1,0x440)+_0xa2ddc5(_0x3f8891._0x3b6916,0x483)),printServiceResult(null,_0x15f55a);return;}if(_0x29052f===_0x1c5a5d[_0x3d738d(0x339,0x127)]){const _0x4b13a4=(_0x3d738d(0x588,_0x3f8891._0x12c133)+'4')[_0xa2ddc5(_0x3f8891._0xd8e137,_0x3f8891._0x436480)]('|');let _0x20dcb1=0x0;while(!![]){switch(_0x4b13a4[_0x20dcb1++]){case'0':stopService();continue;case'1':_0x1c5a5d['PHjgk'](deletePairingConfig);continue;case'2':stopRuntimeProcesses();continue;case'3':console[_0xa2ddc5(_0x3f8891._0x47016f,0x5bd)](_0x3d738d(_0x3f8891._0x22196d,0x11e)+_0x3d738d(_0x3f8891._0x48362a,0x3e6)+_0x3d738d(0x6f4,0x51e)+_0x1c5a5d[_0x3d738d(0x60d,0x5f6)](getPairingConfigPath));continue;case'4':return;}break;}}if(_0x1c5a5d[_0x3d738d(0x69c,0x686)](_0x29052f,_0x1c5a5d[_0x3d738d(_0x3f8891._0xd91a87,_0x3f8891._0x510961)])){printStatus();return;}if(_0x29052f==='logs'){const _0x534235=Number(_0x1c5a5d[_0x3d738d(0x3c9,_0x3f8891._0x9169c1)](readFlag,_0x616d80,_0x3d738d(_0x3f8891._0x49703c,0x65a))??_0xa2ddc5(_0x3f8891._0x518ebc,0x3e0)),_0x588d3a=_0x1c5a5d[_0x3d738d(_0x3f8891._0x39520a,_0x3f8891._0x156af7)](parseLookbackToMs,readFlag(_0x616d80,_0x1c5a5d[_0x3d738d(0x497,0x5b0)])??readFlag(_0x616d80,'-l')),_0x58152e=readRecentCliLogs({'lines':_0x534235,'lastMs':_0x588d3a,'includeErrorLog':_0x1c5a5d[_0x3d738d(0x5e8,_0x3f8891._0x59d389)](hasFlag,_0x616d80,_0x3d738d(_0x3f8891._0x5b69af,0xa22))});if(_0x7a0d7){const _0x55f489={};_0x55f489['ok']=!![],_0x55f489[_0x3d738d(_0x3f8891._0x56019c,0x3a5)]=_0x58152e,printJson(_0x55f489);}else _0x1c5a5d[_0x3d738d(0x4d8,0x2f6)](_0x58152e[_0xa2ddc5(0x517,0x5ce)],0x0)?console['log'](_0xa2ddc5(0x55b,0x6bf)+'ing\x20CLI\x20'+_0x3d738d(_0x3f8891._0xd4a35d,_0x3f8891._0x5be9ee)+_0xa2ddc5(0x5ba,_0x3f8891._0x273393)):console['log'](_0x58152e[_0x3d738d(0x732,_0x3f8891._0xfa0321)]('\x0a'));return;}if(_0x29052f===_0xa2ddc5(0x4c7,_0x3f8891._0x1cf594)){const _0x7e2d31=await buildDoctorReport();_0x7a0d7?printJson(_0x7e2d31):printDoctorReport(_0x7e2d31);return;}if(_0x1c5a5d['EEcRY'](_0x29052f,_0x3d738d(0x6bd,0x5e9))){const _0xc9d493=requirePairingConfig(),_0x2448cf=hasFlag(_0x616d80,_0x3d738d(0x4e1,0x5f3)+'e'),_0xbe92e5=listRuntimeProcesses()[_0x3d738d(0x566,0x6d1)](_0x3699a9=>_0x3699a9['pid']);_0xbe92e5[_0x3d738d(_0x3f8891._0x7b3075,_0x3f8891._0x597b16)]>0x0&&(!_0x2448cf&&(console[_0x3d738d(_0x3f8891._0x39573a,_0x3f8891._0x2c5c7c)]('Another\x20'+_0x3d738d(0x262,_0x3f8891._0x2d14dd)+_0xa2ddc5(0x2b6,0x21a)+_0x3d738d(0x528,0x6d7)+_0x3d738d(0x3f2,_0x3f8891._0x25e8e7)+_0xa2ddc5(_0x3f8891._0xf29538,0x491)+'g\x20(pid'+(_0xbe92e5[_0xa2ddc5(0x517,_0x3f8891._0x49703c)]>0x1?'s':'')+':\x20'+_0xbe92e5[_0xa2ddc5(0x5b9,_0x3f8891._0x5eadb7)](',\x20')+(').\x20Run\x20\x22'+_0x3d738d(0x555,_0x3f8891._0x104ff3)+_0x3d738d(_0x3f8891._0x15bd0e,0x64c)+_0xa2ddc5(0x4af,_0x3f8891._0x327bec)+_0x3d738d(0x3ea,_0x3f8891._0x17fb17)+'th\x20\x22--re'+_0xa2ddc5(_0x3f8891._0xdca539,0x276)+'o\x20take\x20o'+_0x3d738d(_0x3f8891._0x2b1ac3,0x6ad))),process[_0x3d738d(_0x3f8891._0x130c39,0x9e2)](0x1)),_0x1c5a5d[_0x3d738d(_0x3f8891._0x1c6ae8,_0x3f8891._0x17e4c8)](stopRuntimeProcesses));const _0x57adde=_0x1c5a5d['VoDaR'](resolveGatewayUrl,readFlag(_0x616d80,_0x3d738d(0x66b,_0x3f8891._0x4d253d)+_0x3d738d(_0x3f8891._0x357e3f,0x1d2))??_0x1c5a5d[_0x3d738d(_0x3f8891._0x213727,_0x3f8891._0x1856ee)](readFlag,_0x616d80,'-g')),_0x6aeb25=_0x44492d=>{function _0x16e353(_0x26aefa,_0x435818){return _0x3d738d(_0x26aefa- -0x45,_0x435818);}function _0x3c0eb0(_0x21fdb5,_0x2cd432){return _0x3d738d(_0x21fdb5- -0xdf,_0x2cd432);}console[_0x3c0eb0(_0x5482bc._0x31f7e2,_0x5482bc._0x305f8b)]('['+Date[_0x3c0eb0(_0x5482bc._0x5b8f7f,_0x5482bc._0x36bfee)]()+']\x20'+_0x44492d);};if(!_0x30de9e){const _0x47cf72=_0x1c5a5d['DQeVT'][_0xa2ddc5(_0x3f8891._0xd8e137,0x6a0)]('|');let _0x61036e=0x0;while(!![]){switch(_0x47cf72[_0x61036e++]){case'0':console['log'](_0xa2ddc5(_0x3f8891._0x203b45,_0x3f8891._0x137d84)+'\x20ID:\x20'+_0xc9d493[_0x3d738d(_0x3f8891._0x3d4660,_0x3f8891._0x33326f)+'Id']);continue;case'1':console[_0x3d738d(0x6e5,0x4b0)]('');continue;case'2':console[_0x3d738d(_0x3f8891._0x47912f,0x5cf)]('');continue;case'3':console[_0x3d738d(0x6e5,_0x3f8891._0x553041)]('Gateway\x20'+_0xa2ddc5(0x225,0xf3)+_0xc9d493[_0x3d738d(0x5db,0x4c6)+'d']);continue;case'4':console[_0x3d738d(0x6e5,0x702)]('Starting'+'\x20bridge\x20'+_0x3d738d(0x6f9,0x755)+'\x20Press\x20C'+_0xa2ddc5(0x392,0xd8)+_0xa2ddc5(0x661,0x5c1));continue;case'5':console['log'](_0x3d738d(0x38b,0x121)+_0xa2ddc5(_0x3f8891._0x2de1d7,_0x3f8891._0x4edbe7)+_0x57adde);continue;}break;}}else _0x6aeb25(_0x3d738d(0x711,_0x3f8891._0x166935)+_0xa2ddc5(0x59d,_0x3f8891._0x2914dd)+_0x3d738d(_0x3f8891._0x2daf4e,0x16a)+_0xa2ddc5(_0x3f8891._0x3596cb,0x223)+_0xa2ddc5(_0x3f8891._0x9c5a58,0x3da)+_0x3d738d(_0x3f8891._0x3eddd7,_0x3f8891._0x3498b5)+_0xc9d493[_0x3d738d(0x5db,_0x3f8891._0x454c26)+'d']);_0x30de9e&&_0x1c5a5d[_0xa2ddc5(_0x3f8891._0x2eb689,_0x3f8891._0x8e1aff)](writeServiceState);const _0x3050c8=new BridgeRuntime({'config':_0xc9d493,'gatewayUrl':_0x57adde,'onLog':_0xb9fa7c=>{const _0x511821={_0x355747:0x30};function _0x5ddfb7(_0x4d8dbd,_0x28e4c0){return _0x3d738d(_0x4d8dbd- -_0x511821._0x355747,_0x28e4c0);}_0x6aeb25(_0x5ddfb7(_0x3feff2._0xca2ce2,0x2b3)+']\x20'+_0xb9fa7c);},'onStatus':_0x567656=>{const _0x532547={_0x53ec23:0x253};if(_0x567656[_0x31de10(_0x430185._0x37051d,0x31c)+'r']){_0x6aeb25(_0x31de10(_0x430185._0x58c408,_0x430185._0x26a444)+'\x20relay='+(_0x567656[_0x197345(-_0x430185._0x32015a,0x13a)+'nected']?'up':'down')+(_0x31de10(0x705,_0x430185._0x854877)+'=')+(_0x567656[_0x31de10(0x19d,_0x430185._0x5350c8)+_0x197345(_0x430185._0x3f487f,0x3b9)]?'up':_0x31de10(0x3eb,_0x430185._0x27556a))+(_0x197345(-_0x430185._0x5bc908,-_0x430185._0x5026d2)+'=')+_0x567656['clientCo'+'unt']+_0x31de10(0x396,0x21e)+_0x567656['lastErro'+'r']);return;}function _0x31de10(_0x29bbfd,_0x655d21){return _0x3d738d(_0x655d21- -_0x532547._0x53ec23,_0x29bbfd);}function _0x197345(_0x51809b,_0x383c6c){return _0x3d738d(_0x383c6c- -_0x3044cc._0xf7ca21,_0x51809b);}_0x1c5a5d['HxpuO'](_0x6aeb25,_0x31de10(0x1ec,_0x430185._0x26a444)+_0x197345(-_0x430185._0x68c41e,0xf9)+(_0x567656['relayCon'+_0x197345(-0x24a,-_0x430185._0x5a8d78)]?'up':_0x1c5a5d['GjXqv'])+('\x20gateway'+'=')+(_0x567656[_0x197345(-_0x430185._0x56ac0c,-_0x430185._0x4a62cc)+'onnected']?'up':_0x197345(-0x320,-0x62))+('\x20clients'+'=')+_0x567656[_0x197345(-_0x430185._0x4c85e9,-_0x430185._0x2110cd)+'unt']);},'onPendingPairRequest':_0x586611=>{const _0x471b61={_0x1e9a4a:0x3f5};function _0x381036(_0x5944e8,_0x40f400){return _0xa2ddc5(_0x5944e8-_0x471b61._0x1e9a4a,_0x40f400);}function _0x1d4592(_0x91634c,_0x38b1a1){return _0xa2ddc5(_0x91634c-0x34,_0x38b1a1);}_0x6aeb25('[pair-re'+_0x381036(_0x4dda37._0xf775ff,_0x4dda37._0x193517)+'equestId'+'='+_0x586611[_0x381036(_0x4dda37._0x218691,_0x4dda37._0x5d3a3f)+'d']+(_0x381036(0x583,0x43a)+'d=')+(_0x586611['deviceId']||'<unknown'+'>')+_0x381036(0x831,_0x4dda37._0x4f499c)+(_0x586611[_0x1d4592(0x1ff,_0x4dda37._0x2be527)+_0x1d4592(_0x4dda37._0x114804,_0x4dda37._0x5c227e)]??'<unknown'+'>'));}});_0x3050c8[_0xa2ddc5(0x195,_0x3f8891._0x5744b8)]();const _0x5ec97b={};_0x5ec97b['gatewayI'+'d']=_0xc9d493[_0xa2ddc5(0x462,0x1e1)+'d'],_0x5ec97b[_0x3d738d(_0x3f8891._0x3d4660,_0x3f8891._0x4f4be2)+'Id']=_0xc9d493[_0xa2ddc5(_0x3f8891._0x38784b,_0x3f8891._0x5120ca)+'Id'],_0x5ec97b['serviceM'+_0x3d738d(_0x3f8891._0x3cd72b,_0x3f8891._0x156af7)]=_0x30de9e,registerRuntimeProcess(_0x5ec97b);const _0x47310c=async()=>{process[_0x38cde3(0x99e,0x74e)](_0x38cde3(_0xa84ed5._0x10b3eb,0x551),_0x47310c);function _0x338e86(_0x217e22,_0x11a2c0){return _0xa2ddc5(_0x217e22- -_0x25fbae._0x55c340,_0x11a2c0);}process[_0x338e86(_0xa84ed5._0x5337f5,0x5a3)](_0x1c5a5d['iJKKf'],_0x47310c),await _0x3050c8[_0x338e86(0x2d3,0x31)]();function _0x38cde3(_0x2723e8,_0x59e357){return _0xa2ddc5(_0x59e357-0x128,_0x2723e8);}unregisterRuntimeProcess(process[_0x38cde3(_0xa84ed5._0x51aa0a,_0xa84ed5._0x50d101)]),_0x30de9e&&clearServiceState(process['pid']),process['exit'](0x0);};process['on'](_0x1c5a5d['cKSrD'],_0x47310c),process['on']('SIGTERM',_0x47310c),await new Promise(()=>{});}printHelp();}function printPairingInfo(_0x1033be,_0x31ed01){const _0xdb0bf0={_0x3a6c62:0x4ed,_0x4bfad1:0x352,_0x36fdb8:0x384,_0x13ba99:0x253,_0x1691a4:0x22d,_0x228b34:0x53c,_0xe365d0:0x79f,_0x4e21c5:0x668,_0x3a9081:0x24d,_0x5788eb:0x275,_0x17df94:0x4e1,_0x2b396a:0x6b8,_0x261df2:0x321,_0x3f177a:0x42f,_0x30d269:0x5d4,_0x4ffd71:0x2c2,_0x5c59eb:0x399,_0x4a170e:0x5d4,_0x58c3a4:0x3ec,_0x15bc40:0x462,_0x1882c4:0x329,_0x4e3248:0x369,_0x4eb8d8:0x189,_0x32ca1b:0x37b},_0x3c2fb9={_0x363c1c:0x34b},_0x90e9c6={};_0x90e9c6[_0x4c7f48(_0xdb0bf0._0x3a6c62,_0xdb0bf0._0x4bfad1)]=function(_0x182e76,_0x17b17b){return _0x182e76===_0x17b17b;},_0x90e9c6[_0x4ff521(0x2e8,0x2f0)]=_0x4c7f48(_0xdb0bf0._0x36fdb8,_0xdb0bf0._0x13ba99)+_0x4ff521(0x663,0x859)+_0x4c7f48(0x7f6,0x6c4)+'e\x20Clawke'+_0x4ff521(_0xdb0bf0._0x1691a4,0x435);const _0x4fdafc=_0x90e9c6;_0x4fdafc[_0x4c7f48(0x4f1,0x352)](_0x1033be['action'],_0x4c7f48(_0xdb0bf0._0x228b34,0x6c9)+'d')&&console[_0x4c7f48(_0xdb0bf0._0xe365d0,_0xdb0bf0._0x4e21c5)]('Bridge\x20a'+_0x4c7f48(0x413,_0xdb0bf0._0x3a9081)+'aired.\x20R'+_0x4ff521(0x1dc,_0xdb0bf0._0x5788eb)+_0x4c7f48(0x44d,_0xdb0bf0._0x17df94)+_0x4c7f48(0x630,_0xdb0bf0._0x2b396a)+'e.');function _0x4ff521(_0x30697c,_0x478141){return _0x26b3dd(_0x30697c- -_0x3c2fb9._0x363c1c,_0x478141);}console['log'](_0x4c7f48(0x124,0x30e)+_0x4c7f48(0x193,_0xdb0bf0._0x261df2)+_0x1033be['config'][_0x4ff521(0x4ca,_0xdb0bf0._0x3f177a)+'d']),console[_0x4ff521(_0xdb0bf0._0x30d269,0x4a5)](_0x4fdafc['Ykrjj']);const _0x4a1785={};_0x4a1785[_0x4ff521(0x478,_0xdb0bf0._0x4ffd71)]=!![],_0x3e24a7[_0x4ff521(0x1c6,0x357)](_0x1033be[_0x4c7f48(0x4d2,_0xdb0bf0._0x5c59eb)+'d'],_0x4a1785),console[_0x4ff521(_0xdb0bf0._0x4a170e,_0xdb0bf0._0x58c3a4)](_0x4ff521(_0xdb0bf0._0x15bc40,0x67c)+'\x20'+formatLocalTime(_0x1033be[_0x4ff521(0x541,_0xdb0bf0._0x1882c4)+_0x4ff521(_0xdb0bf0._0x4e3248,0x272)+_0x4c7f48(_0xdb0bf0._0x4eb8d8,_0xdb0bf0._0x32ca1b)]));function _0x4c7f48(_0x33f894,_0x552648){return _0x26b3dd(_0x552648- -0x2b7,_0x33f894);}console['log'](_0x4c7f48(0x804,0x753)+':\x20'+_0x31ed01);}function printLocalPairingInfo(_0x3a3102,_0x1974d1,_0x162662,_0x3e33cc,_0x4ec7e8,_0x100965){const _0x419b10={_0x3515b3:0x49b,_0x1022af:0x541,_0x320df2:0x89b,_0x116c15:0x52c,_0x11e54d:0x5ce,_0x124858:0x370,_0x5338d8:0x850,_0x4b5aeb:0x5c3,_0x13b494:0x14d,_0x1a954e:0x1b7,_0x38b5e0:0x25c,_0x1a3d39:0x340,_0x3d7d3c:0x655,_0x132f3b:0x58a,_0x3ca1aa:0x60a,_0x51f045:0x52a,_0x45fae4:0x2a7,_0x45669d:0x1ed,_0x3dc472:0x444,_0x5994f4:0x33f,_0x3767ad:0x8d,_0x132d03:0x6f2,_0x4fe3a2:0x729,_0x226529:0xd2,_0x25a306:0x69c,_0x15cda6:0x89b,_0x4a2ca9:0x8c1};console[_0x21b858(0x651,_0x419b10._0x3515b3)](_0x386bea(0x5bf,_0x419b10._0x1022af)+'URL:\x20'+_0x3a3102),console[_0x386bea(0x743,_0x419b10._0x320df2)](_0x386bea(_0x419b10._0x116c15,_0x419b10._0x11e54d)+_0x386bea(0x65d,0x6a1)+_0x1974d1),console[_0x386bea(0x759,0x89b)](_0x100965?_0x21b858(0x2db,0x86)+_0x21b858(0x26f,_0x419b10._0x124858)+_0x386bea(_0x419b10._0x5338d8,_0x419b10._0x4b5aeb)+_0x21b858(_0x419b10._0x13b494,0x3fb)+_0x21b858(_0x419b10._0x1a954e,_0x419b10._0x38b5e0)+_0x386bea(0x93a,0x936)+'\x0a':'\x0aScan\x20th'+_0x21b858(_0x419b10._0x1a3d39,0x4e7)+_0x21b858(_0x419b10._0x3d7d3c,_0x419b10._0x132f3b)+_0x21b858(_0x419b10._0x3ca1aa,0x3db)+_0x21b858(_0x419b10._0x51f045,_0x419b10._0x45fae4)+_0x21b858(0xf,_0x419b10._0x45669d));const _0x382a26={};function _0x386bea(_0x25e80f,_0x540fe8){return _0x3266d5(_0x25e80f,_0x540fe8-0x40c);}function _0x21b858(_0x4d0927,_0x4a2ed4){return _0x3266d5(_0x4d0927,_0x4a2ed4-0xc);}_0x382a26[_0x21b858(_0x419b10._0x3dc472,_0x419b10._0x5994f4)]=!![],_0x3e24a7[_0x21b858(-0xa4,_0x419b10._0x3767ad)](_0x3e33cc,_0x382a26),console[_0x386bea(0xa18,0x89b)](_0x386bea(_0x419b10._0x132d03,_0x419b10._0x4fe3a2)+'\x20'+new Date(_0x162662)[_0x386bea(0x862,0x65f)+_0x21b858(-_0x419b10._0x226529,0x18b)]()),console[_0x386bea(_0x419b10._0x25a306,_0x419b10._0x15cda6)](_0x386bea(_0x419b10._0x4a2ca9,0x986)+':\x20'+_0x4ec7e8);}function printStatus(){const _0x19f24f={_0xb161ef:0xf4,_0x518ec3:0xe6,_0x38d853:0x2a9,_0x342a37:0x500,_0x17427e:0x594,_0x6bd22:0x12f,_0x750129:0xa5,_0x399a1d:0x250,_0x2efe2b:0x2d7,_0x1d0e2c:0x969,_0x192742:0x805,_0x935f6c:0x4f6,_0x4d676b:0x651,_0x581ecd:0x51c,_0x11159c:0x442,_0x1b8c02:0x536,_0x89490f:0x109,_0x246df9:0x8ec,_0x217c2a:0x332,_0x1e900a:0xdd,_0x486990:0x51b,_0x2af518:0x29f,_0x1d23de:0x9a,_0x31390a:0x876,_0x164bf3:0x53d,_0x2035ce:0x520},_0x3b3655={_0x599115:0xa9},_0x54cc91={_0x4b2c4c:0x429},_0x31ac3a={'CuvgK':function(_0x461a9c){return _0x461a9c();},'xxOuz':function(_0x282395){return _0x282395();},'LPSRo':_0x1349fe(_0x19f24f._0xb161ef,-_0x19f24f._0x518ec3)+'d'},_0x1c4375=_0x31ac3a['CuvgK'](readPairingConfig),_0xd0732c=getServiceStatus(),{logPath:_0x47fe38,errorLogPath:_0x4cfad}=_0x31ac3a[_0x1349fe(_0x19f24f._0x38d853,_0x19f24f._0x342a37)](getServicePaths),_0x42dd05=_0x31ac3a[_0x2d6f3e(0x7f0,0x6ae)](readCliVersion);function _0x1349fe(_0x56aaf2,_0x45349c){return _0x26b3dd(_0x56aaf2- -_0x54cc91._0x4b2c4c,_0x45349c);}console['log'](_0x2d6f3e(_0x19f24f._0x17427e,0x4ef)+'\x20'+_0x42dd05);!_0x1c4375?console['log'](_0x2d6f3e(0x588,0x6e5)+_0x1349fe(_0x19f24f._0x6bd22,-_0x19f24f._0x750129)+_0x1349fe(_0x19f24f._0x399a1d,_0x19f24f._0x2efe2b)+getPairingConfigPath()+')'):(console[_0x2d6f3e(0x876,0x653)]('Config:\x20'+_0x2d6f3e(_0x19f24f._0x1d0e2c,_0x19f24f._0x192742)),console[_0x1349fe(_0x19f24f._0x935f6c,_0x19f24f._0x4d676b)](_0x2d6f3e(_0x19f24f._0x581ecd,0x6f4)+_0x2d6f3e(0x52f,_0x19f24f._0x11159c)+_0x1c4375[_0x2d6f3e(0x76c,0x6cf)+'d']),console['log'](_0x2d6f3e(0x5a8,_0x19f24f._0x1b8c02)+':\x20'+_0x1c4375[_0x1349fe(0x5c5,0x5e4)+'Id']),console['log'](_0x1349fe(_0x19f24f._0x89490f,0x19a)+_0x2d6f3e(0x809,0x8de)+_0x1c4375['serverUr'+'l']),console['log'](_0x1349fe(0x4c0,0x5ab)+(_0x1c4375['displayN'+'ame']??'-')));console['log']('Gateway:'+'\x20'+resolveGatewayUrl());function _0x2d6f3e(_0x205686,_0x132b16){return _0x26b3dd(_0x205686- -_0x3b3655._0x599115,_0x132b16);}console[_0x1349fe(0x4f6,0x498)](_0x2d6f3e(0x6ec,_0x19f24f._0x246df9)+'\x20'+(_0xd0732c['installe'+'d']?_0x31ac3a['LPSRo']:_0x2d6f3e(0x499,0x1f1)+'alled')+'\x20('+_0xd0732c[_0x1349fe(_0x19f24f._0x217c2a,0x8f)]+')'),console['log']('Running:'+'\x20'+(_0xd0732c['running']?_0x2d6f3e(0x4d6,0x440):'no')),console[_0x1349fe(_0x19f24f._0x935f6c,0x363)](_0x1349fe(_0x19f24f._0x1e900a,0x2cc)+(_0xd0732c[_0x1349fe(_0x19f24f._0x486990,_0x19f24f._0x2af518)+_0x1349fe(_0x19f24f._0x1d23de,0x155)]||'-')),console[_0x2d6f3e(_0x19f24f._0x31390a,0x8bb)](_0x1349fe(0x83,0x1d4)+_0x47fe38),console[_0x2d6f3e(_0x19f24f._0x31390a,0xa5f)](_0x2d6f3e(0x858,0x748)+'g:\x20'+_0x4cfad),!_0x1c4375&&(process[_0x2d6f3e(_0x19f24f._0x164bf3,_0x19f24f._0x2035ce)]=0x1);}function printServiceResult(_0x2b2a3e,_0x4f9b93){const _0x4680e9={_0x2b66d0:0x446,_0x16eec2:0x57,_0x229251:0x11f,_0x4c14e2:0x4fc,_0x2c598a:0x6c2,_0x497aad:0x2f1,_0x13f622:0x49d,_0x5c8227:0x96a};function _0x398e56(_0x1facaa,_0x20c363){return _0x26b3dd(_0x1facaa- -0x574,_0x20c363);}_0x2b2a3e&&console[_0x6ab7ab(0x5d0,0x6ea)](_0x2b2a3e);console[_0x398e56(0x3ab,0x413)](_0x6ab7ab(_0x4680e9._0x2b66d0,0x617)+'\x20'+(_0x4f9b93['installe'+'d']?_0x4f9b93[_0x398e56(0x315,0x213)]?_0x398e56(-_0x4680e9._0x16eec2,-_0x4680e9._0x229251)+_0x6ab7ab(_0x4680e9._0x4c14e2,_0x4680e9._0x2c598a)+'ng':_0x398e56(-0x57,-_0x4680e9._0x497aad)+'d,\x20stopp'+'ed':'not\x20inst'+_0x6ab7ab(0x2ae,_0x4680e9._0x13f622)));function _0x6ab7ab(_0x4c6ea7,_0x1095e7){return _0x26b3dd(_0x4c6ea7- -0x34f,_0x1095e7);}console[_0x6ab7ab(0x5d0,0x7bc)](_0x6ab7ab(0x6b2,_0x4680e9._0x5c8227)+'path:\x20'+(_0x4f9b93[_0x6ab7ab(0x5f5,0x5b2)+'ath']||'-'));}function printDoctorReport(_0x485869){const _0x5d7584={_0x172571:0x5c,_0x573468:0x4d6,_0x3e62b7:0x12a,_0x50e920:0x5d,_0x125219:0x715,_0x2abe40:0x547,_0x16269d:0x6ca,_0x10ad51:0x4b8,_0x26d067:0x6ed,_0x49fd00:0x7a6,_0x42223c:0x740,_0xaf0c94:0x10f,_0x1d3fb5:0x661,_0x546827:0x116,_0x517ea8:0x740,_0x19b4d3:0x1f1,_0x342cba:0x740,_0x18ca95:0x67b,_0x4a837b:0x3e6,_0x4fd6a3:0x289,_0x19e343:0x3b5,_0x282563:0x7e,_0x4321fe:0x196,_0x1ca7c5:0x5ed,_0x5cc771:0x3f6,_0x5581d9:0x276,_0x53555b:0x2c8,_0xf680bb:0x302,_0x56835a:0x3cb,_0x5e3ca1:0x6e4,_0x52b8f2:0x6a6,_0x283793:0x3f9,_0x4f3ab0:0x3e6,_0x32f1cf:0x81,_0xeacda1:0xd1,_0x49f1a2:0x282,_0x360a82:0xb5,_0x2ff524:0x107,_0x52f33b:0x1b3,_0x1c0c9a:0xff,_0x1cc44c:0x3a6,_0xc34d66:0x55d,_0x1cb6d4:0x358,_0x1afb68:0x1f8,_0x238831:0x209,_0x1c7aa3:0x3ee,_0x225ac2:0x487,_0x5d4016:0x2d0,_0x5aed38:0x1e6,_0x5c4be5:0x6b,_0x4071f6:0x80,_0x117397:0x30,_0x15502e:0x276,_0x51d49a:0x189,_0x3089c0:0x19a,_0x40328c:0x358,_0x43b686:0xb3,_0x59c6a9:0x1a8,_0x3d2bd9:0xca,_0x350a44:0x328,_0x556939:0x31b,_0x94ec75:0x3bc,_0x3f96ba:0x2dd},_0x13a7cb={_0x1476c4:0x2b1},_0x2d61f1={_0x445672:0x219},_0x19bae9={};function _0x2ca216(_0x45498e,_0x185296){return _0x3266d5(_0x45498e,_0x185296- -_0x2d61f1._0x445672);}function _0x1d0adb(_0x5cddc7,_0x30876f){return _0x3266d5(_0x5cddc7,_0x30876f-_0x13a7cb._0x1476c4);}_0x19bae9[_0x2ca216(0x342,0x2dd)]=_0x1d0adb(_0x5d7584._0x172571,0x2e0),_0x19bae9[_0x1d0adb(0x73b,_0x5d7584._0x573468)]=_0x2ca216(0x120,-_0x5d7584._0x3e62b7);const _0x1ea278=_0x19bae9,_0x58014=(_0x2ca216(_0x5d7584._0x50e920,0x2da)+_0x1d0adb(0x7ca,_0x5d7584._0x125219)+_0x1d0adb(_0x5d7584._0x2abe40,_0x5d7584._0x16269d)+_0x1d0adb(_0x5d7584._0x10ad51,_0x5d7584._0x26d067)+_0x1d0adb(0x30c,0x441))['split']('|');let _0x190b56=0x0;while(!![]){switch(_0x58014[_0x190b56++]){case'0':console[_0x1d0adb(_0x5d7584._0x49fd00,_0x5d7584._0x42223c)](_0x2ca216(0x2b3,_0x5d7584._0xaf0c94)+_0x1d0adb(0x53b,_0x5d7584._0x1d3fb5)+_0x485869[_0x1d0adb(_0x5d7584._0x546827,0x308)+'Path']);continue;case'1':console[_0x1d0adb(0x806,_0x5d7584._0x517ea8)](_0x2ca216(0x11a,0x2e0)+':\x20'+_0x485869[_0x2ca216(0x59,_0x5d7584._0x19b4d3)]);continue;case'2':console[_0x1d0adb(0x9b7,_0x5d7584._0x342cba)](_0x1d0adb(_0x5d7584._0x18ca95,_0x5d7584._0x4a837b)+_0x1d0adb(_0x5d7584._0x4fd6a3,_0x5d7584._0x19e343)+_0x485869[_0x2ca216(_0x5d7584._0x282563,-0x9f)+_0x2ca216(0x2b,-_0x5d7584._0x4321fe)]);continue;case'3':console[_0x2ca216(-0x1c,0x276)]('Service:'+'\x20'+(_0x485869[_0x1d0adb(0x800,0x568)+_0x1d0adb(0x7a9,0x801)]?_0x1d0adb(_0x5d7584._0x1ca7c5,0x33e)+'d':'not\x20inst'+'alled')+'\x20('+_0x485869['serviceM'+'ethod']+')');continue;case'4':console[_0x2ca216(_0x5d7584._0x5cc771,_0x5d7584._0x5581d9)](_0x1d0adb(0x20c,0x3c3)+_0x2ca216(_0x5d7584._0x53555b,_0x5d7584._0xf680bb)+(_0x485869[_0x1d0adb(0x1fc,_0x5d7584._0x56835a)+_0x1d0adb(_0x5d7584._0x5e3ca1,_0x5d7584._0x52b8f2)+'nd']?'found':_0x1ea278['zdFHL']));continue;case'5':console['log'](_0x1d0adb(_0x5d7584._0x283793,_0x5d7584._0x4f3ab0)+_0x2ca216(_0x5d7584._0x32f1cf,-_0x5d7584._0xeacda1)+(_0x485869[_0x2ca216(-0x9b,0x16c)+'d']??'-'));continue;case'6':console[_0x2ca216(0x39d,_0x5d7584._0x5581d9)](_0x2ca216(0x1fa,-0x55)+(_0x485869['paired']?_0x1ea278['hrNrY']:'no'));continue;case'7':console[_0x2ca216(_0x5d7584._0x49f1a2,0x276)](_0x2ca216(_0x5d7584._0x360a82,-_0x5d7584._0x2ff524)+'\x20config:'+'\x20'+(_0x485869[_0x2ca216(-_0x5d7584._0x52f33b,-_0x5d7584._0x1c0c9a)+_0x1d0adb(0x55a,0x49d)+_0x1d0adb(0x372,_0x5d7584._0x1cc44c)]?_0x1d0adb(_0x5d7584._0xc34d66,_0x5d7584._0x1cb6d4):'missing'));continue;case'8':console[_0x2ca216(_0x5d7584._0x1afb68,_0x5d7584._0x5581d9)]('Server\x20U'+_0x2ca216(0x3f3,_0x5d7584._0x238831)+(_0x485869[_0x1d0adb(0x2e2,_0x5d7584._0x1c7aa3)+'l']??'-'));continue;case'9':console[_0x1d0adb(_0x5d7584._0x225ac2,0x740)]('Service\x20'+_0x1d0adb(_0x5d7584._0x5d4016,0x464)+(_0x485869[_0x2ca216(0x2f0,0x29b)+_0x2ca216(-0x2f,-_0x5d7584._0x5aed38)]||'-'));continue;case'10':console['log'](_0x1d0adb(0x31a,0x472)+_0x2ca216(0xa7,_0x5d7584._0x5c4be5)+(_0x485869['instance'+'Id']??'-'));continue;case'11':console[_0x2ca216(_0x5d7584._0x4071f6,0x276)]('Gateway\x20'+_0x2ca216(-0x38,0x1ff)+_0x1d0adb(0x6f9,0x546)+(_0x485869['localGat'+'ewayReac'+_0x2ca216(-_0x5d7584._0x117397,0x1f6)]?_0x1ea278[_0x2ca216(0x2b5,0xc)]:'no'));continue;case'12':console[_0x2ca216(0x3a5,_0x5d7584._0x15502e)](_0x2ca216(_0x5d7584._0x51d49a,_0x5d7584._0x3089c0)+'L:\x20'+(_0x485869['relayUrl']??'-'));continue;case'13':console[_0x2ca216(0x12,0x276)](_0x2ca216(0x48d,_0x5d7584._0x40328c)+_0x1d0adb(0x7d1,0x605)+'\x20'+(_0x485869['serviceR'+'unning']?_0x2ca216(_0x5d7584._0x43b686,-0x12a):'no'));continue;case'14':console['log'](_0x2ca216(0x9c,-0x107)+'\x20dir:\x20'+_0x485869[_0x1d0adb(_0x5d7584._0x59c6a9,_0x5d7584._0x56835a)+_0x2ca216(_0x5d7584._0x3d2bd9,_0x5d7584._0x350a44)+'r']);continue;case'15':console[_0x2ca216(_0x5d7584._0x556939,_0x5d7584._0x15502e)](_0x2ca216(-_0x5d7584._0x94ec75,-0x107)+_0x2ca216(-_0x5d7584._0x3f96ba,-0xf9)+_0x485869['openclaw'+'MediaDir']);continue;}break;}}function requirePairingConfig(){const _0x1de835={_0x2b3bcf:0x4b8,_0x4d2ea6:0x66e,_0x5864a1:0x4d8,_0x16bebe:0x56b,_0x1e3b83:0x30f,_0xf7241c:0x175},_0x3b1fba={'nTjKY':function(_0x2ae040){return _0x2ae040();}},_0x53a3a5=_0x3b1fba[_0x52bc85(0x4f1,0x2b3)](readPairingConfig);!_0x53a3a5&&(console[_0x52bc85(_0x1de835._0x2b3bcf,0x366)]('Not\x20pair'+'ed.\x20Run\x20'+_0x2a04c5(_0x1de835._0x4d2ea6,_0x1de835._0x5864a1)+'\x20pair\x22\x20f'+'irst.\x20Co'+_0x52bc85(_0x1de835._0x16bebe,_0x1de835._0x1e3b83)+_0x2a04c5(_0x1de835._0xf7241c,0x134)+getPairingConfigPath()),process['exit'](0x1));function _0x52bc85(_0x1099cd,_0x4f2890){return _0x3266d5(_0x1099cd,_0x4f2890- -0x145);}function _0x2a04c5(_0x359d55,_0x5da39b){return _0x3266d5(_0x359d55,_0x5da39b-0x1);}return _0x53a3a5;}function readFlag(_0x23c718,_0x55315f){const _0x3c1c05={_0x2a72b1:0x320,_0x1d846a:0x93,_0x49e692:0x1e8},_0x42732c={_0x4b16f5:0x44e},_0x310ed7={};_0x310ed7[_0x1533fe(_0x3c1c05._0x2a72b1,0xed)]=function(_0x4aee2f,_0x2a0f9c){return _0x4aee2f<_0x2a0f9c;};function _0x193f99(_0x15ec4a,_0x55f5dd){return _0x26b3dd(_0x55f5dd- -0x5ce,_0x15ec4a);}const _0x271a88=_0x310ed7;function _0x1533fe(_0x59ffc2,_0x53864c){return _0x26b3dd(_0x53864c- -_0x42732c._0x4b16f5,_0x59ffc2);}const _0x567026=_0x23c718[_0x193f99(0x11f,0x72)](_0x55315f);if(_0x271a88[_0x193f99(-0xe1,-_0x3c1c05._0x1d846a)](_0x567026,0x0))return null;const _0x3b43f4=_0x23c718[_0x567026+0x1];return _0x3b43f4?.[_0x193f99(0x43e,0x1e8)]()?_0x3b43f4[_0x193f99(0x46b,_0x3c1c05._0x49e692)]():null;}function hasFlag(_0x1b1642,_0x3c5495){const _0x40f1a6={_0x14723d:0x2f9};function _0x1425dd(_0x125f5f,_0x4c53a7){return _0x3266d5(_0x4c53a7,_0x125f5f- -0x1c4);}return _0x1b1642[_0x1425dd(_0x40f1a6._0x14723d,0x338)](_0x3c5495);}function readPairSubcommand(_0x4b76d3){const _0x3acfbd={_0x572f7a:0x16e,_0x266784:0x1d,_0x4e17e9:0x16a,_0x451227:0x412},_0x29100f={_0x2f631b:0x413};function _0x136066(_0x440001,_0x3636a1){return _0x3266d5(_0x3636a1,_0x440001- -0x1bc);}for(const _0x5143de of _0x4b76d3){if(!_0x5143de[_0x136066(_0x3acfbd._0x572f7a,_0x3acfbd._0x266784)+'th']('-'))return _0x5143de[_0x136066(_0x3acfbd._0x4e17e9,_0x3acfbd._0x451227)]()||null;}function _0x57fbe1(_0x42d8c8,_0x133129){return _0x3266d5(_0x42d8c8,_0x133129-_0x29100f._0x2f631b);}return null;}function printHelp(){const _0x404040={_0x37146e:0x266,_0x54b985:0x31f,_0x5dd87f:0x11e,_0x51bbb1:0xb0,_0x4523c8:0x5a,_0x3c30b6:0xd8,_0x53f47d:0x16,_0x67957f:0x276,_0x21c946:0x164,_0x4feb8b:0x3d7,_0x212de0:0x29e,_0x382247:0x226,_0xf8b793:0x435,_0x2c1c7a:0x1d7,_0x2b58e1:0x6b3,_0x27908c:0x23e,_0x4e66fd:0x1aa,_0xc505:0x39c,_0x5edd34:0x43c,_0x1b258e:0x5e,_0x3d58a8:0x204,_0x454abd:0x339,_0x38a2b8:0x3f,_0xb7cb2f:0xd3,_0x3ff743:0x1f1,_0x1312ac:0x25e,_0x4afaf6:0x65,_0x466919:0x499,_0x130e9a:0x1db,_0x462915:0x264,_0xec91fa:0x430,_0x1afec1:0x36e,_0x315f3d:0x26f,_0x4d5a84:0x26,_0x1fa211:0x461,_0x2aa8cc:0x6a,_0x316eee:0x250,_0x2dfeec:0x75,_0x2b69a6:0x35c,_0x200f6e:0x2b1,_0x28375d:0x25d,_0x14d9a5:0x2ce,_0x3d8126:0x180,_0x2dc62a:0x182,_0x1f4e82:0x121,_0x3e1221:0x21e,_0x3f9d72:0x258,_0x5be74d:0x2af,_0x21432b:0x474,_0x156955:0xbf,_0x1d3c83:0x400,_0x3544c1:0x24e,_0x2fecf5:0x187,_0x438fec:0x118,_0x42c299:0x16,_0xfd9923:0x286,_0x3abed4:0x3bf,_0x57faa6:0x2cd,_0x28ec5a:0x24e,_0x1025f7:0xe4,_0x3ac4db:0x2af,_0x41724a:0x85,_0x530077:0x21f,_0x5732b5:0xbb,_0xc1ace3:0xb9},_0x186fc4={_0x52d48c:0xb1},_0x23358d={};_0x23358d[_0x42f3cf(0xd7,_0x404040._0x37146e)]=_0x42f3cf(0x437,0x24e)+_0x42f3cf(_0x404040._0x54b985,_0x404040._0x5dd87f);function _0x164b3f(_0x4634c0,_0x5efda0){return _0x3266d5(_0x4634c0,_0x5efda0- -0x89);}function _0x42f3cf(_0x1da374,_0x23620f){return _0x3266d5(_0x1da374,_0x23620f- -_0x186fc4._0x52d48c);}_0x23358d[_0x164b3f(-_0x404040._0x51bbb1,0x1f1)]=_0x42f3cf(0x102,0x24e)+_0x164b3f(_0x404040._0x4523c8,0x164)+'l',_0x23358d[_0x164b3f(_0x404040._0x3c30b6,0x2fb)]=_0x164b3f(_0x404040._0x53f47d,_0x404040._0x67957f)+_0x42f3cf(0x38c,_0x404040._0x21c946);const _0x359abc=_0x23358d;console['log'](['clawket\x20'+_0x164b3f(_0x404040._0x4feb8b,_0x404040._0x212de0)+_0x42f3cf(0x322,_0x404040._0x382247)+_0x42f3cf(0x266,_0x404040._0xf8b793)+_0x164b3f(0x3ee,_0x404040._0x2c1c7a)+_0x42f3cf(_0x404040._0x2b58e1,0x441)+'me>]\x20[--'+_0x164b3f(0x91,0x2f6)+_0x164b3f(_0x404040._0x27908c,_0x404040._0x4e66fd)+_0x42f3cf(0x33,0x1f6)+_0x164b3f(_0x404040._0xc505,_0x404040._0x5edd34)+'e]','clawket\x20'+'pair\x20loc'+_0x164b3f(_0x404040._0x1b258e,_0x404040._0x3d58a8)+_0x164b3f(0x9a,_0x404040._0x454abd)+_0x42f3cf(-0x36,-_0x404040._0x38a2b8)+_0x42f3cf(_0x404040._0xb7cb2f,_0x404040._0x3ff743)+_0x42f3cf(-_0x404040._0x1312ac,-_0x404040._0x4afaf6)+_0x42f3cf(_0x404040._0x466919,_0x404040._0x130e9a)+_0x164b3f(_0x404040._0x462915,0x1e9),_0x164b3f(_0x404040._0xec91fa,0x276)+'pair\x20--l'+_0x164b3f(_0x404040._0x1afec1,0x2cc)+_0x164b3f(_0x404040._0x315f3d,_0x404040._0x4d5a84)+_0x42f3cf(_0x404040._0x1fa211,0x429)+_0x164b3f(0x2a3,0x3ff)+_0x42f3cf(-_0x404040._0x2aa8cc,_0x404040._0x316eee)+'\x20<path>]'+'\x20[--json'+']',_0x164b3f(_0x404040._0x2dfeec,0x276)+_0x42f3cf(0x3c9,_0x404040._0x2b69a6)+_0x164b3f(_0x404040._0x200f6e,_0x404040._0x28375d)+_0x42f3cf(0x291,_0x404040._0x14d9a5)+_0x42f3cf(_0x404040._0x3d8126,_0x404040._0x2dc62a)+_0x164b3f(_0x404040._0x1f4e82,_0x404040._0x3e1221),_0x42f3cf(0x59,0x24e)+_0x42f3cf(_0x404040._0x3f9d72,0x7),_0x164b3f(0xe5,0x276)+'install',_0x359abc[_0x164b3f(0x106,0x28e)],_0x164b3f(_0x404040._0x5be74d,0x276)+_0x164b3f(0x514,_0x404040._0x21432b),_0x359abc[_0x164b3f(-_0x404040._0x156955,0x1f1)],_0x359abc['SeygA'],_0x42f3cf(0x13d,0x24e)+'status',_0x42f3cf(_0x404040._0x1d3c83,_0x404040._0x3544c1)+'logs\x20[--'+_0x42f3cf(0x237,0x278)+'>]\x20[--li'+'nes\x20<200'+_0x42f3cf(-_0x404040._0x2fecf5,_0x404040._0x438fec)+_0x42f3cf(_0x404040._0x42c299,_0x404040._0xfd9923)+_0x42f3cf(0x5a1,_0x404040._0x3abed4),_0x42f3cf(_0x404040._0x57faa6,_0x404040._0x28ec5a)+'doctor\x20['+'--json]','clawket\x20'+_0x42f3cf(0x430,0x2f3)+_0x42f3cf(_0x404040._0x1025f7,0x252)+'rl\x20<ws:/'+_0x164b3f(_0x404040._0x3ac4db,_0x404040._0x41724a)+_0x42f3cf(-0x16,0xf5)+_0x164b3f(_0x404040._0x530077,0x3d9)+_0x164b3f(-_0x404040._0x5732b5,_0x404040._0xc1ace3)]['join']('\x0a'));}function buildUnsupportedAutostartMessage(_0x32bffb){const _0x427c82={_0x518010:0x7ac,_0xf9df9b:0x6fe,_0x3b3bbc:0x795,_0x3d1986:0x6d2,_0x4d429b:0x5ad,_0x326d21:0x7b9,_0x5310e5:0x550,_0x56ae93:0x2ae,_0xc44760:0x55c,_0x1beb6a:0x4a6,_0x311e96:0x43c,_0x5ddbb8:0x8de,_0x879dec:0x3cd,_0x1e545f:0x44d,_0xffe259:0x5f6,_0xb2646:0x755,_0x3ad7d8:0x4d5,_0x49209e:0x498,_0x3970f7:0x9a9,_0x489c5a:0x90f,_0x36b0ec:0x660,_0x497714:0xa00,_0x57ade2:0x93c,_0x8d937b:0x4cf,_0x1c12fd:0x48a,_0x15d4b3:0x5c4,_0x1ead4c:0x88d,_0x4bb8f9:0x9bd,_0x3a6762:0x29d,_0x1a678d:0x4ce},_0x19eff6={_0xcaf72c:0x496};function _0x5683fd(_0x55e487,_0x2a5b72){return _0x3266d5(_0x55e487,_0x2a5b72-0x3ba);}if(_0x32bffb[_0x5683fd(_0x427c82._0x518010,0x7b3)])return _0x80a916(0x6c9,0x91a)+'the\x20brid'+_0x5683fd(_0x427c82._0xf9df9b,0x675)+'me,\x20but\x20'+'this\x20hos'+_0x5683fd(0x6a9,0x44d)+_0x80a916(_0x427c82._0x3b3bbc,_0x427c82._0x3d1986)+_0x80a916(0x81a,0x679)+'atic\x20sta'+'rtup\x20reg'+_0x80a916(_0x427c82._0x4d429b,0x574)+_0x80a916(_0x427c82._0x326d21,_0x427c82._0x5310e5)+_0x80a916(_0x427c82._0x56ae93,_0x427c82._0xc44760)+'ainer\x20or'+'\x20process'+_0x5683fd(0x6e9,_0x427c82._0x1beb6a)+_0x5683fd(0x59e,_0x427c82._0x311e96)+_0x5683fd(0x8d9,_0x427c82._0x5ddbb8)+'ket\x20on\x20r'+_0x80a916(_0x427c82._0x879dec,0x5f0);function _0x80a916(_0x6fe930,_0xbe439f){return _0x3266d5(_0x6fe930,_0xbe439f-_0x19eff6._0xcaf72c);}return _0x5683fd(0x4ef,0x471)+_0x5683fd(0x614,_0x427c82._0x1e545f)+_0x5683fd(0x66c,_0x427c82._0xffe259)+_0x5683fd(0x57c,0x59d)+_0x80a916(0x8e4,_0x427c82._0xb2646)+'rtup\x20reg'+_0x5683fd(_0x427c82._0x3ad7d8,_0x427c82._0x49209e)+_0x80a916(0x282,0x4b5)+_0x5683fd(_0x427c82._0x3970f7,0x826)+'e\x20runtim'+_0x80a916(0x62b,0x7e4)+_0x5683fd(0x746,0x79c)+_0x80a916(_0x427c82._0x489c5a,_0x427c82._0x36b0ec)+_0x80a916(_0x427c82._0x497714,_0x427c82._0x57ade2)+'ally.\x20Us'+_0x5683fd(0x447,_0x427c82._0x8d937b)+_0x80a916(0x42e,0x624)+_0x5683fd(0x35b,_0x427c82._0x1c12fd)+_0x5683fd(0x870,_0x427c82._0x15d4b3)+_0x80a916(_0x427c82._0x1ead4c,_0x427c82._0x4bb8f9)+'un\x20Clawk'+_0x5683fd(_0x427c82._0x3a6762,_0x427c82._0x1a678d);}function formatLocalTime(_0x65b88f){const _0x4a6ee3={_0x1b3579:0x70b,_0x500c51:0x699,_0x28baa7:0x752},_0x294a20={_0x319358:0x4d6},_0x55f6f8=new Date(_0x65b88f);if(Number[_0x29d2d3(_0x4a6ee3._0x1b3579,_0x4a6ee3._0x500c51)](_0x55f6f8[_0x29d2d3(0x3db,0x5ad)]()))return _0x65b88f;function _0x4c6118(_0x3a83a2,_0x35a25e){return _0x3266d5(_0x35a25e,_0x3a83a2-0x4ff);}function _0x29d2d3(_0x821d93,_0x3a044f){return _0x3266d5(_0x821d93,_0x3a044f-_0x294a20._0x319358);}return _0x55f6f8[_0x4c6118(_0x4a6ee3._0x28baa7,0x5ba)+'String']();}function formatError2(_0x91cb24){const _0x193d1a={_0xb80035:0x82c},_0x37f3d3={};_0x37f3d3[_0x1321fa(0x5dc,_0x193d1a._0xb80035)]=function(_0x393789,_0x36ca57){return _0x393789 instanceof _0x36ca57;};function _0x1321fa(_0x5ef853,_0x127d80){return _0x3266d5(_0x5ef853,_0x127d80-0x338);}const _0x2e42d7=_0x37f3d3;return _0x2e42d7['XEjhV'](_0x91cb24,Error)?_0x91cb24['message']:String(_0x91cb24);}function printJson(_0x472b6f){const _0x5e7d24={_0x47531b:0x509};function _0x591f98(_0x113428,_0x236a49){return _0x3266d5(_0x236a49,_0x113428-_0x5e7d24._0x47531b);}console[_0x591f98(0x998,0x913)](JSON['stringif'+'y'](_0x472b6f,null,0x2));}main()[_0x3266d5(0x394,0x557)](_0x4fcac4=>{const _0x4066b9={_0x10787e:0x88d,_0x487f9a:0x8a8,_0x5bc423:0x741},_0x9f594e={_0x49204a:0x134},_0x442691={_0x54cbb6:0x237},_0x48d2ce={'uXCtd':function(_0x580276,_0x254f60){return _0x580276(_0x254f60);}};function _0x2d23be(_0x256c0c,_0x3ca6e3){return _0x26b3dd(_0x256c0c- -_0x442691._0x54cbb6,_0x3ca6e3);}console[_0x2d23be(0x704,_0x4066b9._0x10787e)](_0x48d2ce[_0x2b31eb(0x961,_0x4066b9._0x487f9a)](formatError2,_0x4fcac4));function _0x2b31eb(_0x4425d8,_0x1e975e){return _0x26b3dd(_0x1e975e- -_0x9f594e._0x49204a,_0x4425d8);}process[_0x2d23be(_0x4066b9._0x5bc423,0x8e0)](0x1);});
2
+ (function(_0xe3e922,_0xd820c4){const _0x58f06b={_0x23f0d5:0x20e,_0x361e04:0x190,_0x4f48ca:0x197,_0x3c38e3:0x771,_0x2f8b9e:0x331,_0x221114:0x530,_0x32b071:0x24,_0x44285e:0x474,_0x1c4f86:0x7b9,_0xbc2997:0x348,_0x338b4d:0x28a,_0x410779:0x3a4},_0x5a3bc0=_0xe3e922();function _0x98b90c(_0x42c681,_0x2e7e3a){return _0x1fba(_0x42c681- -0x1c5,_0x2e7e3a);}function _0x26aed1(_0x2af1d9,_0x3f0ee8){return _0x1fba(_0x3f0ee8- -0x1a2,_0x2af1d9);}while(!![]){try{const _0x176171=parseInt(_0x26aed1(0x248,_0x58f06b._0x23f0d5))/0x1*(parseInt(_0x26aed1(_0x58f06b._0x361e04,0x1f7))/0x2)+-parseInt(_0x26aed1(0x10e,0x282))/0x3*(-parseInt(_0x26aed1(-_0x58f06b._0x4f48ca,0x100))/0x4)+parseInt(_0x26aed1(_0x58f06b._0x3c38e3,0x4aa))/0x5+-parseInt(_0x26aed1(_0x58f06b._0x2f8b9e,_0x58f06b._0x221114))/0x6+-parseInt(_0x98b90c(0x11c,-_0x58f06b._0x32b071))/0x7*(-parseInt(_0x98b90c(_0x58f06b._0x44285e,0x513))/0x8)+parseInt(_0x26aed1(_0x58f06b._0x1c4f86,0x4e9))/0x9*(parseInt(_0x98b90c(0x363,_0x58f06b._0xbc2997))/0xa)+-parseInt(_0x98b90c(0x343,0x112))/0xb*(parseInt(_0x98b90c(_0x58f06b._0x338b4d,_0x58f06b._0x410779))/0xc);if(_0x176171===_0xd820c4)break;else _0x5a3bc0['push'](_0x5a3bc0['shift']());}catch(_0x4df009){_0x5a3bc0['push'](_0x5a3bc0['shift']());}}}(_0x1876,0xb3ef0));const _0x3fec44=(function(){let _0x3bf892=!![];return function(_0xf3976d,_0x54c33a){const _0x2e6d54=_0x3bf892?function(){if(_0x54c33a){const _0x184ba8=_0x54c33a['apply'](_0xf3976d,arguments);return _0x54c33a=null,_0x184ba8;}}:function(){};return _0x3bf892=![],_0x2e6d54;};}()),_0x5726ab=_0x3fec44(this,function(){const _0x1b29ea={_0xa7b9c8:0x409,_0x2be472:0x379,_0x33b088:0x32e,_0x509c0a:0x584,_0x392389:0x4a5,_0x3a126d:0x420,_0x47a7f3:0x41b,_0x2e7eb5:0x379,_0xab5bfe:0x977,_0x152620:0x7e9};function _0x2251c7(_0x5f5d3d,_0x862d4a){return _0x1fba(_0x862d4a-0x96,_0x5f5d3d);}function _0x34d2a7(_0xddf612,_0x53faf9){return _0x1fba(_0x53faf9- -0x59,_0xddf612);}return _0x5726ab[_0x34d2a7(0x462,0x32e)]()[_0x34d2a7(0x23f,0x51f)](_0x34d2a7(_0x1b29ea._0xa7b9c8,_0x1b29ea._0x2be472)+'+)+$')[_0x34d2a7(0x2c5,_0x1b29ea._0x33b088)]()[_0x2251c7(_0x1b29ea._0x509c0a,_0x1b29ea._0x392389)+_0x34d2a7(0x33c,_0x1b29ea._0x3a126d)](_0x5726ab)[_0x34d2a7(0x610,0x51f)](_0x34d2a7(_0x1b29ea._0x47a7f3,_0x1b29ea._0x2e7eb5)+_0x2251c7(_0x1b29ea._0xab5bfe,_0x1b29ea._0x152620));});_0x5726ab();import _0x1bbb4f from'qrcode-terminal';import{readFileSync as _0x546d61}from'fs';import{Socket}from'net';import{homedir as _0x305903}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,_0x35d151(0x399,0x3d5)+_0x341e52(0x8ef,0xa7f));function getPairingConfigPath(){return CONFIG_PATH;}function readPairingConfig(){const _0x38785e={_0x155687:0x537,_0x5a6133:0xf8,_0x5d7a20:0x111,_0x32094a:0xf9,_0x1b7a9b:0x8f9,_0x55e905:0x663,_0x4ebeaa:0x15e,_0x4907a6:0x160,_0x412c1a:0x35e,_0x1626ea:0x56,_0x4e0820:0x117,_0xe22255:0x103,_0x2d10f7:0x874,_0x19500a:0x609,_0x139a51:0x5d1,_0x217922:0x5eb,_0x133576:0x6a3},_0x65f889={_0x50c7ab:0x142},_0x2f839c={_0x28c88f:0x5da};function _0xa67761(_0x403a2c,_0x308bd8){return _0x341e52(_0x403a2c- -_0x2f839c._0x28c88f,_0x308bd8);}const _0x13d16c={'NJyUP':function(_0x1b3544){return _0x1b3544();},'ETXWN':function(_0x3ba1e4,_0x34fc37){return _0x3ba1e4!==_0x34fc37;}};if(!existsSync(CONFIG_PATH))return null;function _0x3087fc(_0x32e816,_0xccc7ea){return _0x341e52(_0xccc7ea- -_0x65f889._0x50c7ab,_0x32e816);}try{const _0x153e45=JSON[_0x3087fc(0x4cd,0x75b)](readFileSync(CONFIG_PATH,_0x3087fc(0x284,_0x38785e._0x155687)));if(!_0x153e45[_0xa67761(_0x38785e._0x5a6133,0x10c)+'l']||!_0x153e45['gatewayI'+'d']||!_0x153e45[_0xa67761(-0xfa,_0x38785e._0x5d7a20)+_0x3087fc(_0x38785e._0x32094a,0x3e7)]||!_0x153e45[_0x3087fc(0x3ff,0x45b)])return null;const _0x5365f7={'serverUrl':_0x153e45['serverUr'+'l'],'gatewayId':_0x153e45[_0x3087fc(_0x38785e._0x1b7a9b,_0x38785e._0x55e905)+'d'],'relaySecret':_0x153e45['relaySec'+'ret'],'relayUrl':_0x153e45[_0x3087fc(_0x38785e._0x4ebeaa,0x45b)],'instanceId':_0x153e45['instance'+'Id']?.[_0x3087fc(0x6eb,0x4c1)]()||_0x13d16c['NJyUP'](createInstanceId),'displayName':_0x153e45[_0x3087fc(0x70d,0x48f)+_0xa67761(_0x38785e._0x4907a6,_0x38785e._0x412c1a)]??null,'createdAt':_0x153e45[_0xa67761(0x32e,0x323)+'t']??new Date()[_0xa67761(-0x117,-_0x38785e._0x1626ea)+_0xa67761(0x171,0x426)](),'updatedAt':_0x153e45['updatedA'+'t']??new Date()[_0xa67761(-_0x38785e._0x4e0820,-_0x38785e._0xe22255)+_0x3087fc(_0x38785e._0x2d10f7,_0x38785e._0x19500a)]()};return _0x13d16c[_0x3087fc(0x5a6,_0x38785e._0x139a51)](_0x153e45[_0x3087fc(_0x38785e._0x217922,_0x38785e._0x133576)+'Id'],_0x5365f7['instance'+'Id'])&&writePairingConfig(_0x5365f7),_0x5365f7;}catch{return null;}}function writePairingConfig(_0x103bc5){const _0x19644c={_0x51ce4f:0x6db,_0x44158e:0x90a,_0xe51811:0xb09,_0x5a0a2a:0x8ec,_0x54e56f:0xa6a},_0x2a0509={_0x4b0f0c:0x287},_0x4201fa={_0x3cb586:0x124};function _0x4c0575(_0x424575,_0x52680b){return _0x341e52(_0x52680b-_0x4201fa._0x3cb586,_0x424575);}const _0x446e7f={'xVXoQ':function(_0x58a87b,_0x247fbe,_0x795117){return _0x58a87b(_0x247fbe,_0x795117);}};function _0x404ebf(_0x3023b5,_0x3e59d9){return _0x341e52(_0x3e59d9- -_0x2a0509._0x4b0f0c,_0x3023b5);}const _0xfd8cc8={};_0xfd8cc8[_0x4c0575(_0x19644c._0x51ce4f,_0x19644c._0x44158e)+'e']=!![],_0x446e7f[_0x4c0575(_0x19644c._0xe51811,_0x19644c._0x5a0a2a)](mkdirSync,CONFIG_DIR,_0xfd8cc8),writeFileSync(CONFIG_PATH,JSON[_0x4c0575(_0x19644c._0x54e56f,0x89c)+'y'](_0x103bc5,null,0x2)+'\x0a','utf8');}function deletePairingConfig(){const _0x2ccdaf={'QcUQu':function(_0x153852,_0x361b9a){return _0x153852(_0x361b9a);},'xcNLu':function(_0x460be0,_0x24dd9e,_0x3ac16a){return _0x460be0(_0x24dd9e,_0x3ac16a);}};if(!_0x2ccdaf[_0x478337(0x767,0x7a3)](existsSync,CONFIG_PATH))return;function _0x478337(_0x56eecc,_0x19c221){return _0x341e52(_0x19c221-0xbb,_0x56eecc);}const _0x106255={};_0x106255['force']=!![],_0x2ccdaf['xcNLu'](rmSync,CONFIG_PATH,_0x106255);}function getDefaultBridgeDisplayName(){const _0x1d62de={_0x54dff7:0x1f5,_0x4c5a6b:0x28c,_0x4ab551:0x5e,_0x59d379:0x418},_0x5cafe4={_0x17a06a:0xfb},_0x19973a={_0x29e80e:0x1a3},_0x22b0e2=readOpenClawDefaultAgentName();function _0x2816b6(_0x16cab4,_0x18d03d){return _0x35d151(_0x16cab4,_0x18d03d- -_0x19973a._0x29e80e);}if(_0x22b0e2)return _0x22b0e2;function _0x2300bc(_0x50339f,_0xd42e1a){return _0x35d151(_0x50339f,_0xd42e1a- -_0x5cafe4._0x17a06a);}try{const _0x87b83a=userInfo()[_0x2300bc(-0x183,0x1a)][_0x2300bc(_0x1d62de._0x54dff7,_0x1d62de._0x4c5a6b)]();if(_0x87b83a)return _0x87b83a;}catch{}const _0x58946b=(process.env.LOGNAME??process.env.USER??process.env.USERNAME??'')[_0x2816b6(_0x1d62de._0x4ab551,0x1e4)]();if(_0x58946b)return _0x58946b;return hostname()[_0x2816b6(0x14c,0x1e4)]()||_0x2300bc(0x651,_0x1d62de._0x59d379)+'Bridge';}function pickOpenClawDefaultAgentName(_0x490213){const _0x478e78={_0x39c2e5:0x2ab,_0x21158e:0x37,_0x103085:0x4e,_0x2db205:0x106,_0x1bdc47:0x87,_0x5f3154:0x3a2};if(!_0x490213||typeof _0x490213!=='object')return null;function _0x2a5670(_0x3912ab,_0x15ba24){return _0x35d151(_0x15ba24,_0x3912ab- -0x244);}const _0x1040a6=_0x490213[_0x2a5670(_0x478e78._0x39c2e5,0x50c)];function _0x22d2f8(_0x347aeb,_0x3f8e6b){return _0x35d151(_0x3f8e6b,_0x347aeb- -0x1a3);}const _0x5bd491=Array[_0x22d2f8(_0x478e78._0x21158e,_0x478e78._0x103085)](_0x1040a6?.[_0x22d2f8(-0x87,-_0x478e78._0x2db205)])?_0x1040a6[_0x22d2f8(-_0x478e78._0x1bdc47,-0x115)]:[],_0x5c9ef3=_0x5bd491[_0x22d2f8(_0x478e78._0x5f3154,0x3bc)](_0x11200a=>isDefaultAgent(_0x11200a))??_0x5bd491[_0x22d2f8(0x3a2,0x14c)](_0x542056=>hasAgentId(_0x542056,'main'))??_0x5bd491[0x0];return readAgentName(_0x5c9ef3);}function createInstanceId(){const _0x7a25db={_0x2a8ac1:0x184,_0x3b25a8:0xc6,_0x5d179a:0x125},_0x230fea={_0x2b9647:0x537};function _0x2e2e79(_0x2f000,_0x4cdf09){return _0x341e52(_0x2f000-0x83,_0x4cdf09);}const _0x26137b=sanitizeId(hostname()||_0x18dbb9(0x288,_0x7a25db._0x2a8ac1));function _0x18dbb9(_0x53692c,_0x48dc53){return _0x341e52(_0x48dc53- -_0x230fea._0x2b9647,_0x53692c);}return _0x18dbb9(_0x7a25db._0x3b25a8,0x292)+_0x26137b+'-'+randomUUID()[_0x18dbb9(-0x197,-_0x7a25db._0x5d179a)](0x0,0xa);}function sanitizeId(_0x1843f0){const _0x4b4861={_0x5eb25c:0x71e,_0x5b3bdd:0x961,_0x1a137d:0xa1e,_0x8d75b9:0x27c},_0x431cb8={_0x46360e:0x262};function _0x4077d1(_0x4fa3ec,_0x46df3e){return _0x341e52(_0x4fa3ec- -_0x431cb8._0x46360e,_0x46df3e);}function _0x48cc37(_0x5d0ba6,_0x26d875){return _0x341e52(_0x26d875-0x11b,_0x5d0ba6);}return _0x1843f0[_0x48cc37(0x5f7,_0x4b4861._0x5eb25c)]()['toLowerC'+_0x48cc37(_0x4b4861._0x5b3bdd,_0x4b4861._0x1a137d)]()[_0x4077d1(_0x4b4861._0x8d75b9,0x30f)](/[^a-z0-9._-]+/g,'-')['replace'](/^-+|-+$/g,'')||'host';}function readOpenClawDefaultAgentName(){const _0x2fa85b={_0x326b38:0x618,_0x5ab87b:0x7b0},_0x20caf8={'CHHaT':function(_0x50a422){return _0x50a422();}};function _0x52856e(_0x379146,_0x39a52d){return _0x35d151(_0x39a52d,_0x379146-0x3b3);}const _0xe44ec5=_0x20caf8[_0x3c1225(0x4b5,_0x2fa85b._0x326b38)](resolveOpenClawConfigPath);function _0x3c1225(_0x363ac7,_0x512949){return _0x35d151(_0x512949,_0x363ac7-0x1ed);}if(!_0xe44ec5||!existsSync(_0xe44ec5))return null;try{const _0x347590=JSON['parse'](readFileSync(_0xe44ec5,_0x52856e(_0x2fa85b._0x5ab87b,0x84f)));return pickOpenClawDefaultAgentName(_0x347590);}catch{return null;}}function resolveOpenClawConfigPath(){const _0x1a41be={_0x5302ee:0x12d,_0x410d89:0x76b,_0x5ba3d7:0x591,_0x122388:0x329,_0x5e2837:0xa6,_0x29e07c:0xd9,_0x1aa277:0x10a,_0x1b1301:0xfc,_0x233b9e:0x6f5,_0x3bb8df:0x4f1,_0x249183:0x61f,_0x26fa2f:0x555,_0x281e2b:0x6f4},_0x363916={_0x197ce2:0x73a,_0x318b65:0x9ec},_0x4c9df3={_0x36d975:0x2d3};function _0x48ee68(_0x564cc5,_0x2e2020){return _0x341e52(_0x2e2020-0x49,_0x564cc5);}const _0x114b80={'zwQxw':function(_0x222e52){return _0x222e52();},'PcqLU':_0x106bba(-_0x1a41be._0x5302ee,0xc4),'tIJxt':function(_0x264dcd,_0x52b359,_0x54f336,_0x42fcb3){return _0x264dcd(_0x52b359,_0x54f336,_0x42fcb3);},'UduTX':_0x48ee68(_0x1a41be._0x410d89,0x80d)+'.json'};function _0x106bba(_0x18fdf9,_0x814d46){return _0x341e52(_0x814d46- -_0x4c9df3._0x36d975,_0x18fdf9);}const _0x27c453=new Set(),_0x4193ff=[_0x114b80[_0x48ee68(0x347,_0x1a41be._0x5ba3d7)](homedir),_0x114b80[_0x106bba(_0x1a41be._0x122388,_0x1a41be._0x5e2837)]][_0x106bba(0x1bc,_0x1a41be._0x29e07c)](_0x360e5b=>_0x360e5b[_0x106bba(0x4a1,0x330)]())['filter'](Boolean)[_0x106bba(-_0x1a41be._0x1aa277,_0x1a41be._0x1b1301)](_0x15ca34=>{if(_0x27c453[_0x49ffbb(_0x363916._0x197ce2,_0x363916._0x318b65)](_0x15ca34))return![];_0x27c453['add'](_0x15ca34);function _0x49ffbb(_0x4180c2,_0xb22a50){return _0x48ee68(_0xb22a50,_0x4180c2- -0x220);}return!![];});for(const _0x2db028 of _0x4193ff){const _0x5cf947=_0x114b80['tIJxt'](join,_0x2db028,_0x48ee68(_0x1a41be._0x233b9e,0x93b)+'w',_0x106bba(0x36b,_0x1a41be._0x3bb8df)+_0x48ee68(0x7f8,0x530));if(existsSync(_0x5cf947))return _0x5cf947;}return _0x4193ff[0x0]?join(_0x4193ff[0x0],_0x106bba(0x443,_0x1a41be._0x249183)+'w',_0x114b80[_0x48ee68(_0x1a41be._0x26fa2f,_0x1a41be._0x281e2b)]):null;}function isDefaultAgent(_0x927e8){const _0x313626={_0x54cfa8:0x2dc,_0x3f4ce6:0x1ca},_0x2aa4a4={};_0x2aa4a4['VxHpk']=function(_0x43b6fe,_0x268da3){return _0x43b6fe===_0x268da3;};const _0x4018de=_0x2aa4a4;function _0x41dcf4(_0xfd511d,_0x43dd54){return _0x35d151(_0xfd511d,_0x43dd54- -0x15f);}function _0x3191d9(_0x5dc931,_0x58c02a){return _0x35d151(_0x5dc931,_0x58c02a- -0x17a);}return Boolean(_0x927e8&&_0x4018de['VxHpk'](typeof _0x927e8,_0x41dcf4(_0x313626._0x54cfa8,0xe2))&&_0x927e8[_0x41dcf4(0x2ef,_0x313626._0x3f4ce6)]===!![]);}function hasAgentId(_0x4082a5,_0x6296f2){const _0x740e6e={_0x59d106:0x6b5,_0x1e60b2:0x4a6,_0x44ba93:0x762},_0x3e6d99={_0x560ec1:0x21c};function _0x12925f(_0x34c11f,_0x4bb2e0){return _0x35d151(_0x4bb2e0,_0x34c11f-0x348);}const _0x4e5407={};_0x4e5407[_0x35095a(0x34,0x2cc)]=function(_0x5e77ef,_0x480687){return _0x5e77ef===_0x480687;};function _0x35095a(_0x4d56e7,_0x2e8d5d){return _0x35d151(_0x4d56e7,_0x2e8d5d- -_0x3e6d99._0x560ec1);}const _0x571479=_0x4e5407;return Boolean(_0x4082a5&&typeof _0x4082a5===_0x12925f(0x589,_0x740e6e._0x59d106)&&_0x571479['VUTKF'](typeof _0x4082a5['id'],_0x12925f(_0x740e6e._0x1e60b2,_0x740e6e._0x44ba93))&&_0x4082a5['id'][_0x12925f(0x6cf,0x899)]()===_0x6296f2);}function readAgentName(_0x73bbe9){const _0x58bb4d={_0x51b056:0x20,_0x54b0ba:0xa9,_0x345a4d:0x28a,_0x3c7f1b:0xa7,_0x12c820:0x37f,_0x274055:0x245,_0x353754:0x2a9,_0x19673f:0x376,_0x4ac887:0x113,_0x1b88cb:0x245,_0x46daaa:0x136},_0x4bac4a={_0x46b000:0x414},_0x4aa1a2={_0x576201:0x34c},_0x56eaf3={};_0x56eaf3[_0x59ed69(-0xc0,_0x58bb4d._0x51b056)]=_0x59ed69(_0x58bb4d._0x54b0ba,_0x58bb4d._0x345a4d),_0x56eaf3[_0x265893(0x253,0x4ad)]=function(_0x1d40e5,_0x46d74f){return _0x1d40e5===_0x46d74f;};function _0x265893(_0x5b82c6,_0x375910){return _0x341e52(_0x375910- -_0x4aa1a2._0x576201,_0x5b82c6);}_0x56eaf3[_0x59ed69(0x171,0x2f2)]='string';const _0x117f21=_0x56eaf3;if(!_0x73bbe9||typeof _0x73bbe9!==_0x117f21['IYVtn'])return null;const _0x1fce3f=_0x73bbe9,_0x1dc8ca=_0x117f21['dicqH'](typeof _0x1fce3f[_0x265893(0x28f,_0x58bb4d._0x3c7f1b)]?.['name'],_0x117f21['OfhYu'])?_0x1fce3f[_0x265893(_0x58bb4d._0x12c820,0xa7)][_0x59ed69(_0x58bb4d._0x274055,_0x58bb4d._0x353754)]['trim']():'';if(_0x1dc8ca)return _0x1dc8ca;function _0x59ed69(_0x1fb3e9,_0xaf97ae){return _0x341e52(_0x1fb3e9- -_0x4bac4a._0x46b000,_0xaf97ae);}const _0x48fe79=_0x117f21[_0x59ed69(0x3e5,_0x58bb4d._0x19673f)](typeof _0x1fce3f['name'],_0x265893(_0x58bb4d._0x4ac887,0x8e))?_0x1fce3f[_0x59ed69(_0x58bb4d._0x1b88cb,_0x58bb4d._0x46daaa)][_0x59ed69(0x1ef,-_0x58bb4d._0x51b056)]():'';return _0x48fe79||null;}function buildPairingQrPayload(_0x5b7fc4){const _0x963870={_0x53e698:0x981,_0x11aec0:0xb2c,_0x279d7c:0x85e,_0x54b008:0xb27,_0x2e4ab8:0x7be,_0x3cb0cc:0xa32,_0x3ff823:0x96c,_0x36b617:0xa29,_0x497acc:0x965,_0x4d98d1:0x7f2,_0x1dfcb5:0xa44,_0x50061a:0xa97},_0x550b0d={};_0x550b0d['v']=0x2,_0x550b0d['k']='cp',_0x550b0d['s']=_0x5b7fc4[_0x315be5(_0x963870._0x53e698,_0x963870._0x11aec0)],_0x550b0d['g']=_0x5b7fc4['gatewayI'+'d'],_0x550b0d['a']=_0x5b7fc4[_0x315be5(0x5b7,0x7a5)+'de'],_0x550b0d['rb']=0x1;function _0x5d82ad(_0x28a7cc,_0x3917af){return _0x35d151(_0x3917af,_0x28a7cc-0x3a0);}_0x550b0d['pv']=0x2;function _0x315be5(_0x248cf4,_0x114372){return _0x35d151(_0x114372,_0x248cf4-0x437);}_0x550b0d['sb']=!![];const _0x19b2ea=_0x550b0d;return _0x5b7fc4['displayN'+_0x5d82ad(_0x963870._0x279d7c,_0x963870._0x54b008)]?.[_0x315be5(_0x963870._0x2e4ab8,0x631)]()&&(_0x19b2ea['n']=_0x5b7fc4['displayN'+_0x5d82ad(0x85e,_0x963870._0x3cb0cc)]['trim']()),_0x5b7fc4[_0x315be5(0x925,_0x963870._0x3ff823)]?.[_0x315be5(0x7be,_0x963870._0x36b617)]()&&(_0x19b2ea['t']=_0x5b7fc4[_0x315be5(0x925,_0x963870._0x497acc)]['trim']()),_0x5b7fc4[_0x5d82ad(0x7f2,0x554)]?.[_0x315be5(0x7be,0x8e6)]()&&(_0x19b2ea['p']=_0x5b7fc4[_0x5d82ad(_0x963870._0x4d98d1,_0x963870._0x1dfcb5)][_0x315be5(_0x963870._0x2e4ab8,0x780)]()),JSON[_0x315be5(0x933,_0x963870._0x50061a)+'y'](_0x19b2ea);}function buildGatewayQrPayload(_0x5a0133){const _0x205d5a={_0xb97e2d:0xfb,_0x33266e:0x404,_0xebef52:0x749,_0x297242:0x5c7,_0x22eee7:0x6d9,_0x335c88:0x68b,_0x3b3fa4:0x704,_0x868ea7:0x1ef,_0x43cbec:0x347,_0xacbe14:0x46,_0x5cf945:0x5a4,_0x5318cf:0x573,_0x5871d0:0x750,_0x4ac37b:0x481,_0x316fe4:0x6ec,_0xfd060f:0x40c,_0x348d6f:0x4d7,_0x1de85d:0x447,_0x3afd70:0x6ec,_0x88d07f:0x40c,_0x2fa985:0x581},_0x3d888a={_0x25dee4:0x85},_0x2f05db={};_0x2f05db[_0x328efc(_0x205d5a._0xb97e2d,_0x205d5a._0x33266e)]='gateway';function _0x4fc62e(_0x333a4c,_0x112498){return _0x35d151(_0x112498,_0x333a4c-_0x3d888a._0x25dee4);}const _0x1a6ad1=_0x2f05db,_0xc15c96=normalizeGatewayQrUrl(_0x5a0133[_0x4fc62e(_0x205d5a._0xebef52,0x7de)+'rl']),_0x30e6f0={'url':_0xc15c96[_0x328efc(0x734,0x657)],'host':_0xc15c96[_0x328efc(_0x205d5a._0x297242,_0x205d5a._0x22eee7)],'port':_0xc15c96[_0x328efc(_0x205d5a._0x335c88,_0x205d5a._0x3b3fa4)],'tls':_0xc15c96[_0x4fc62e(0x1c3,0x41d)],'mode':_0x1a6ad1[_0x4fc62e(_0x205d5a._0x868ea7,_0x205d5a._0x43cbec)],'expiresAt':_0x5a0133[_0x4fc62e(0x1f5,_0x205d5a._0xacbe14)+'t']??Date['now']()+0xa*0x3c*0x3e8,'qrVersion':0x2};_0x5a0133[_0x328efc(_0x205d5a._0x5cf945,0x788)]?.[_0x328efc(0x6b4,0x621)]()&&(_0x30e6f0[_0x4fc62e(_0x205d5a._0x5318cf,_0x205d5a._0x5871d0)]=_0x5a0133['token'][_0x328efc(_0x205d5a._0x4ac37b,0x621)]());_0x5a0133[_0x328efc(0x624,_0x205d5a._0x316fe4)]?.[_0x4fc62e(_0x205d5a._0xfd060f,0x38a)]()&&(_0x30e6f0[_0x4fc62e(_0x205d5a._0x348d6f,0x3ad)]=_0x5a0133[_0x328efc(_0x205d5a._0x1de85d,_0x205d5a._0x3afd70)][_0x4fc62e(_0x205d5a._0x88d07f,0x3a8)]());function _0x328efc(_0x55aa8e,_0x13b69b){return _0x35d151(_0x55aa8e,_0x13b69b-0x29a);}return JSON[_0x4fc62e(_0x205d5a._0x2fa985,0x59d)+'y'](_0x30e6f0);}function normalizeGatewayQrUrl(_0x5d1212){const _0x5f459d={_0xbd7a5f:0x28b,_0x584f1b:0x4b8,_0x2525a8:0xcc,_0x516227:0x153,_0x115f9:0x15a,_0x4fbe4b:0x1c,_0x31f967:0x244,_0x3b6699:0x15d,_0x335690:0x14e,_0x4ab515:0x585,_0x4e843d:0x6a0,_0x46ddff:0x671,_0x3005ae:0x58b,_0x29b564:0x460,_0x154c37:0x163,_0x3a71f8:0x564,_0x554117:0x1f,_0x55c99d:0x259,_0x6f6d2b:0x560,_0x4ea864:0x455,_0x144db9:0x18a,_0x184872:0x169,_0x54fdfb:0x1a2},_0x471c43={_0x1a86ed:0x55c},_0x3f084b={};_0x3f084b['mfObE']=function(_0x1f7f10,_0x4a189e){return _0x1f7f10===_0x4a189e;},_0x3f084b[_0x393ce0(_0x5f459d._0xbd7a5f,0x15a)]=_0x17b1e8(_0x5f459d._0x584f1b,0x55e),_0x3f084b['jIPGQ']=function(_0x2f9288,_0x5c0fb1){return _0x2f9288===_0x5c0fb1;};function _0x393ce0(_0x50dfa7,_0xb79067){return _0x341e52(_0xb79067- -_0x471c43._0x1a86ed,_0x50dfa7);}function _0x17b1e8(_0x334576,_0x52eb64){return _0x341e52(_0x52eb64- -0x15b,_0x334576);}const _0x5b0c61=_0x3f084b,_0x2e310f=new URL(_0x5d1212['trim']()),_0x89e810=_0x5b0c61[_0x393ce0(0xbd,_0x5f459d._0x2525a8)](_0x2e310f[_0x393ce0(-0x18f,_0x5f459d._0x516227)],_0x5b0c61[_0x393ce0(0x146,_0x5f459d._0x115f9)])||_0x5b0c61[_0x17b1e8(_0x5f459d._0x4fbe4b,_0x5f459d._0x31f967)](_0x2e310f[_0x17b1e8(0x7cc,0x554)],'https:'),_0x4553c9=_0x89e810?_0x393ce0(0x1d3,_0x5f459d._0x3b6699):_0x393ce0(-0x37,_0x5f459d._0x335690),_0x1ed1a1=_0x2e310f[_0x17b1e8(_0x5f459d._0x4ab515,0x45e)],_0x333e40=_0x2e310f[_0x17b1e8(_0x5f459d._0x4e843d,0x58b)]?Number(_0x2e310f[_0x17b1e8(_0x5f459d._0x46ddff,_0x5f459d._0x3005ae)]):_0x89e810?0x1bb:0x50,_0x121278=!_0x2e310f[_0x393ce0(_0x5f459d._0x29b564,_0x5f459d._0x154c37)]||_0x2e310f[_0x17b1e8(0x79b,0x564)]===''?'/':_0x2e310f[_0x17b1e8(0x2df,_0x5f459d._0x3a71f8)],_0x1ad746={};return _0x1ad746[_0x393ce0(-_0x5f459d._0x554117,0xdd)]=_0x4553c9+'//'+_0x1ed1a1+':'+_0x333e40+_0x121278,_0x1ad746[_0x17b1e8(_0x5f459d._0x55c99d,_0x5f459d._0x6f6d2b)]=_0x1ed1a1,_0x1ad746[_0x393ce0(_0x5f459d._0x4ea864,_0x5f459d._0x144db9)]=_0x333e40,_0x1ad746[_0x17b1e8(0x566,0x6d9)]=_0x121278,_0x1ad746[_0x393ce0(_0x5f459d._0x184872,-_0x5f459d._0x54fdfb)]=_0x89e810,_0x1ad746;}var DEFAULT_REGISTRY_BASE='https://'+_0x35d151(0x3cb,0x15f)+_0x341e52(0x8ed,0x7cb)+'.ai',DEFAULT_REGISTRY_FALLBACK_BASE='https://'+_0x341e52(0x540,0x80b)+_0x341e52(0x3db,0x326)+_0x341e52(0x8ed,0x881)+'.workers'+_0x35d151(0x417,0x3a9);async function pairGateway(_0x46835a){const _0x301935={_0x105275:0x47b,_0x28082e:0x2f3,_0x4764a9:0xc8,_0x5e6ec1:0x5d,_0x4e315e:0x1ea,_0x306095:0x24,_0x358a16:0x16b,_0x25e21a:0x21c,_0x44b34d:0x375,_0x5760eb:0x290,_0x1b385b:0x73,_0x7df648:0x11b,_0x46524a:0x4ea,_0x3add2e:0x318,_0x191b64:0x21a,_0x18a6df:0x4bc,_0x4bcdc2:0x6fe,_0x44fc25:0x6fe,_0x2b7424:0x528,_0x349e59:0x44c,_0xc442c6:0x151,_0x2220fa:0x67,_0x52a3d2:0x3c9,_0x47a146:0x36c,_0xf2d8ca:0x4a4,_0x3c0c83:0x447,_0x52cb83:0x300,_0xff845f:0x1e,_0x277096:0x28c,_0x581f35:0x22d,_0x23d4e9:0x96,_0x286e65:0x394,_0x1e5fee:0x222,_0x2eb8dd:0x7b,_0x37de7a:0xaf,_0xeb760a:0x40a,_0x5c4f47:0x35f,_0x57d098:0x4b9,_0x560dd1:0x3fb,_0x27736b:0x5c0,_0x27a23f:0x3b3,_0x59f879:0x4d0,_0x48455b:0x1a6,_0x746023:0x75,_0x54f3f5:0x490,_0x4970de:0x17c,_0x52c56a:0x260,_0x10b570:0x53,_0x4d51e1:0x32f,_0x562fe3:0x344,_0xf6531d:0x176,_0x23568a:0x284,_0x39a22e:0x1a,_0x5309ab:0x25c,_0x3aba73:0x101,_0x32f271:0x1ac,_0x56b148:0x1b9,_0x94242d:0x47f,_0xf86610:0xcd,_0x5317cb:0x14d,_0x1479f8:0x4e},_0x3c43f9={_0x1c32e5:0x23a},_0x82c7cd={'qqRAF':function(_0x4339f1,_0x5de1f2,_0xcaf9ff){return _0x4339f1(_0x5de1f2,_0xcaf9ff);},'EwXeu':_0x84cd97(_0x301935._0x105275,_0x301935._0x28082e)+'existing','ZuChv':function(_0x212d50,_0x581287){return _0x212d50(_0x581287);},'foUgj':_0x84cd97(_0x301935._0x4764a9,-0x8c),'QXDnZ':_0x203d6e(_0x301935._0x5e6ec1,_0x301935._0x4e315e)+_0x84cd97(0x152,-0xc)},_0x2a45de=normalizeHttpBase(_0x46835a[_0x203d6e(0x314,0x482)+'l']),_0x53a971=readPairingConfig();function _0x203d6e(_0x24c231,_0x351ab5){return _0x35d151(_0x24c231,_0x351ab5-0x2c);}const _0x30d460=_0x82c7cd[_0x203d6e(0x5fa,0x3f7)](assessPairingCompatibility,_0x53a971,_0x2a45de);function _0x84cd97(_0x369756,_0x3faad1){return _0x35d151(_0x3faad1,_0x369756- -_0x3c43f9._0x1c32e5);}if(_0x30d460===_0x82c7cd[_0x84cd97(_0x301935._0x306095,_0x301935._0x358a16)]&&_0x53a971){const _0x5dac29={};return _0x5dac29[_0x84cd97(_0x301935._0x25e21a,_0x301935._0x44b34d)+'l']=_0x53a971['serverUr'+'l'],_0x5dac29[_0x203d6e(0x4dc,0x555)+'d']=_0x53a971[_0x84cd97(0x2ef,0x548)+'d'],_0x5dac29[_0x203d6e(0x41d,_0x301935._0x5760eb)+_0x84cd97(0x73,0x147)]=_0x53a971['relaySec'+_0x84cd97(_0x301935._0x1b385b,-0x274)],_0x5dac29[_0x84cd97(_0x301935._0x7df648,0x21e)+_0x203d6e(0x56d,_0x301935._0x46524a)]=_0x46835a[_0x203d6e(0x394,0x381)+'ame'],_0x5dac29[_0x84cd97(_0x301935._0x3add2e,0x32c)+'oken']=_0x46835a['gatewayT'+_0x203d6e(0x1e,_0x301935._0x191b64)],_0x5dac29[_0x203d6e(0x5a3,_0x301935._0x18a6df)+_0x203d6e(0x9cb,_0x301935._0x4bcdc2)]=_0x46835a['gatewayP'+_0x203d6e(0x8e4,_0x301935._0x44fc25)],_0x82c7cd[_0x203d6e(_0x301935._0x2b7424,0x280)](refreshAccessCode,_0x5dac29);}if(_0x30d460===_0x84cd97(-0x7b,-0x34c)+_0x203d6e(0x54b,_0x301935._0x349e59))throw new Error(_0x84cd97(_0x301935._0xc442c6,_0x301935._0x2220fa)+'dge\x20is\x20a'+_0x84cd97(_0x301935._0x52a3d2,_0x301935._0x47a146)+'aired\x20wi'+_0x84cd97(_0x301935._0xf2d8ca,_0x301935._0x3c0c83)+_0x53a971?.[_0x84cd97(_0x301935._0x25e21a,-0x61)+'l']+(_0x84cd97(-0x89,-_0x301935._0x52cb83)+'lawket\x20r'+_0x84cd97(_0x301935._0xff845f,-_0x301935._0x277096)+_0x84cd97(_0x301935._0x581f35,_0x301935._0x23d4e9)+_0x84cd97(_0x301935._0x286e65,0x66d)+_0x84cd97(_0x301935._0x1e5fee,-_0x301935._0x2eb8dd)+_0x84cd97(-_0x301935._0x37de7a,-0xe1)+'rver.'));const _0x325e24=await postJsonWithCloudflareFallback(_0x2a45de+('/v1/pair'+_0x203d6e(0x357,_0x301935._0xeb760a)+'r'),{'method':_0x82c7cd[_0x84cd97(_0x301935._0x5c4f47,_0x301935._0x57d098)],'headers':{'content-type':_0x82c7cd[_0x203d6e(0x352,_0x301935._0x560dd1)],'accept':'applicat'+'ion/json'},'body':JSON[_0x203d6e(_0x301935._0x27736b,0x528)+'y']({'displayName':_0x46835a['displayN'+'ame']?.[_0x203d6e(0x4f2,_0x301935._0x27a23f)]()||null})});if(!_0x325e24[_0x84cd97(0x22a,_0x301935._0x59f879)]['ok'])throw await buildPairingRequestError(_0x84cd97(_0x301935._0x48455b,-_0x301935._0x746023)+'ister',_0x325e24);const _0x3ca618=await _0x325e24[_0x203d6e(0x38c,_0x301935._0x54f3f5)]['json'](),_0x32f23e=new Date()[_0x203d6e(_0x301935._0x4970de,0x273)+'ing'](),_0x14d9d0={'serverUrl':_0x2a45de,'gatewayId':_0x3ca618['gatewayI'+'d'],'relaySecret':_0x3ca618[_0x203d6e(_0x301935._0x52c56a,0x290)+_0x84cd97(0x73,_0x301935._0x10b570)],'relayUrl':_0x3ca618['relayUrl'],'instanceId':_0x53a971?.[_0x84cd97(_0x301935._0x4d51e1,_0x301935._0x562fe3)+'Id']??_0x203d6e(0x364,0x579)+_0x3ca618[_0x84cd97(0x2ef,_0x301935._0xf6531d)+'d'][_0x203d6e(0x430,0x1c2)](-0xa),'displayName':_0x3ca618[_0x203d6e(0x116,0x381)+_0x84cd97(_0x301935._0x23568a,-0x58)],'createdAt':_0x32f23e,'updatedAt':_0x32f23e};return _0x82c7cd[_0x84cd97(_0x301935._0x39a22e,_0x301935._0x4e315e)](writePairingConfig,_0x14d9d0),{'config':_0x14d9d0,'accessCode':_0x3ca618[_0x84cd97(-0xba,-_0x301935._0x5309ab)+'de'],'accessCodeExpiresAt':_0x3ca618[_0x203d6e(_0x301935._0x3aba73,_0x301935._0x32f271)+'deExpire'+_0x84cd97(0x1b9,_0x301935._0x56b148)],'action':_0x203d6e(_0x301935._0x94242d,0x241)+'ed','qrPayload':buildPairingQrPayload({'server':_0x2a45de,'gatewayId':_0x3ca618[_0x84cd97(0x2ef,0x238)+'d'],'accessCode':_0x3ca618[_0x84cd97(-0xba,-0x19b)+'de'],'displayName':_0x3ca618['displayN'+'ame'],'token':_0x46835a[_0x203d6e(0x71a,0x57e)+_0x203d6e(-_0x301935._0xf86610,0x21a)]?.[_0x84cd97(_0x301935._0x5317cb,_0x301935._0x1479f8)]()||null,'password':_0x46835a['gatewayP'+_0x84cd97(0x498,0x1f1)]?.[_0x84cd97(0x14d,0x39b)]()||null})};}async function refreshAccessCode(_0x19b370){const _0x195604={_0x10160a:0x470,_0x2f2fbb:0x387,_0x1857dd:0x53a,_0x112ac2:0x685,_0x389888:0x60d,_0x3c6670:0x800,_0xdafa3:0x508,_0x2c8679:0x65b,_0x30f59d:0x67f,_0x1eb7dc:0x580,_0xbe970:0x92a,_0x5d7b47:0x6ed,_0x426be4:0x767,_0x566763:0xa6a,_0x50d726:0x529,_0x32331a:0x21f,_0x2901cc:0xa90,_0x4f3fe4:0xb71,_0xbd277b:0x6f9,_0x2c0930:0x1c2,_0x29c719:0x1af,_0x3dc4a0:0x2fa,_0x89f75d:0x2e8,_0x2ba0a8:0x5a2,_0x115dac:0x754,_0x38f3f7:0x9b5,_0x527a22:0x39e,_0x47f4fb:0x479,_0x2a0073:0x3b4,_0x4bb7ca:0x548,_0x497fee:0x794,_0x148ad9:0x60d,_0x261505:0x12f,_0x322804:0x27a,_0x47c270:0xa83,_0x4ba9b4:0xccc,_0x47da81:0x4c,_0x4dcf8b:0x264,_0x395410:0x577,_0x108031:0x3ae,_0xc2cc6d:0x9cc,_0x34ed52:0x8bb,_0x410cbb:0x437,_0x33f370:0x733,_0x128fb0:0x574},_0x554927={_0x1013ae:0x3f7},_0x5ede80={'GQPfV':function(_0xc92a34,_0x5ad864,_0x27cf66){return _0xc92a34(_0x5ad864,_0x27cf66);},'WMCKN':_0x1de7b0(0x5b5,0x63e)+_0x4fd989(0x4a7,_0x195604._0x10160a),'JGEBJ':function(_0x49acc6,_0x416d3d){return _0x49acc6(_0x416d3d);}},_0x508d6d=readPairingConfig(),_0x48acce=normalizeHttpBase(_0x19b370?.['serverUr'+'l']??_0x508d6d?.[_0x4fd989(_0x195604._0x2f2fbb,_0x195604._0x1857dd)+'l']??''),_0x2700af=_0x19b370?.[_0x4fd989(_0x195604._0x112ac2,_0x195604._0x389888)+'d']??_0x508d6d?.[_0x1de7b0(0x920,_0x195604._0x3c6670)+'d']??'',_0x1026e2=_0x19b370?.['relaySec'+_0x4fd989(_0x195604._0xdafa3,0x391)]??_0x508d6d?.[_0x1de7b0(_0x195604._0x2c8679,_0x195604._0x30f59d)+'ret']??'';function _0x1de7b0(_0xec43de,_0x248856){return _0x35d151(_0x248856,_0xec43de-_0x554927._0x1013ae);}if(!_0x48acce||!_0x2700af||!_0x1026e2)throw new Error(_0x1de7b0(_0x195604._0x1eb7dc,0x5c8)+_0x1de7b0(_0x195604._0xbe970,0x7b5)+_0x4fd989(_0x195604._0x5d7b47,_0x195604._0x426be4)+'.\x20Run\x20pa'+_0x1de7b0(0x98f,_0x195604._0x566763)+'.');const _0xa341a9=await _0x5ede80['GQPfV'](postJsonWithCloudflareFallback,_0x48acce+(_0x4fd989(_0x195604._0x50d726,_0x195604._0x32331a)+_0x1de7b0(_0x195604._0x2901cc,_0x195604._0x4f3fe4)+_0x1de7b0(0x509,0x594)),{'method':_0x1de7b0(_0x195604._0xbd277b,0x4e4),'headers':{'content-type':_0x4fd989(0x492,0x2a2)+_0x4fd989(_0x195604._0x2c0930,0x470),'accept':_0x5ede80[_0x4fd989(_0x195604._0x29c719,_0x195604._0x3dc4a0)]},'body':JSON['stringif'+'y']({'gatewayId':_0x2700af,'relaySecret':_0x1026e2,'displayName':_0x19b370?.['displayN'+_0x4fd989(_0x195604._0x89f75d,_0x195604._0x2ba0a8)]?.['trim']()||void 0x0})});if(!_0xa341a9['response']['ok'])throw await _0x5ede80[_0x4fd989(0x46e,_0x195604._0x115dac)](buildPairingRequestError,_0x1de7b0(0x760,_0x195604._0x38f3f7)+'ode\x20refr'+_0x4fd989(_0x195604._0x527a22,_0x195604._0x47f4fb),_0xa341a9);const _0x4b165d=await _0xa341a9[_0x4fd989(_0x195604._0x2a0073,_0x195604._0x4bb7ca)][_0x1de7b0(0x5c5,0x886)]();function _0x4fd989(_0xf99ee8,_0x1b85b3){return _0x35d151(_0xf99ee8,_0x1b85b3-0xe4);}const _0x345615={'serverUrl':_0x48acce,'gatewayId':_0x4b165d[_0x4fd989(_0x195604._0x497fee,_0x195604._0x389888)+'d'],'relaySecret':_0x1026e2,'relayUrl':_0x4b165d['relayUrl'],'instanceId':_0x508d6d?.['instance'+'Id']??_0x4fd989(0x497,0x631)+_0x4b165d[_0x4fd989(0x87f,_0x195604._0x148ad9)+'d'][_0x4fd989(_0x195604._0x261505,_0x195604._0x322804)](-0xa),'displayName':_0x4b165d['displayN'+'ame'],'createdAt':_0x508d6d?.[_0x1de7b0(_0x195604._0x47c270,_0x195604._0x4ba9b4)+'t']??new Date()[_0x1de7b0(0x63e,0x80e)+_0x1de7b0(0x8c6,0x727)](),'updatedAt':new Date()[_0x4fd989(_0x195604._0x47da81,0x32b)+_0x4fd989(0x7d1,0x5b3)]()};return writePairingConfig(_0x345615),{'config':_0x345615,'accessCode':_0x4b165d[_0x4fd989(0x1d1,_0x195604._0x4dcf8b)+'de'],'accessCodeExpiresAt':_0x4b165d[_0x1de7b0(_0x195604._0x395410,_0x195604._0x108031)+'deExpire'+_0x4fd989(0x44b,0x4d7)],'action':_0x1de7b0(_0x195604._0xc2cc6d,_0x195604._0x34ed52)+'d','qrPayload':_0x5ede80[_0x1de7b0(0x722,0x87f)](buildPairingQrPayload,{'server':_0x48acce,'gatewayId':_0x4b165d['gatewayI'+'d'],'accessCode':_0x4b165d[_0x4fd989(_0x195604._0x410cbb,_0x195604._0x4dcf8b)+'de'],'displayName':_0x4b165d[_0x4fd989(0x50d,0x439)+'ame'],'token':_0x19b370?.['gatewayT'+_0x1de7b0(0x5e5,_0x195604._0x33f370)]?.['trim']()||null,'password':_0x19b370?.[_0x4fd989(0x54e,_0x195604._0x128fb0)+'assword']?.['trim']()||null})};}function normalizeHttpBase(_0x2dc61b){const _0x585f29={_0x5a33be:0x40f,_0x28483c:0x136,_0x436fed:0x55e,_0x1499d7:0xa5a,_0x31f26c:0x26f,_0x1ea7b1:0x427,_0x1fd673:0x9a8,_0x2c76df:0x7c8,_0x1457a3:0x49c,_0x3219b6:0x5d6,_0x38fc80:0x4dc,_0x21328e:0x36d,_0x2ff2ab:0x85b,_0x5e5f77:0x439,_0x33b9ce:0x442,_0x5ac92b:0x5b4,_0x4566f4:0x6b4,_0x248204:0x159,_0x37e20e:0x4a0},_0x31d491={};_0x31d491[_0x4b1aa3(0x349,_0x585f29._0x5a33be)]='https://',_0x31d491[_0x4b1aa3(_0x585f29._0x28483c,0x198)]=_0x4b1aa3(0x396,0xa8);const _0x299761=_0x31d491;function _0x4b1aa3(_0x3f5043,_0x321a52){return _0x341e52(_0x321a52- -0x2b9,_0x3f5043);}const _0x390b14=_0x2dc61b[_0xaa554f(0x7f5,_0x585f29._0x436fed)]();if(!_0x390b14)return'';if(_0x390b14[_0xaa554f(_0x585f29._0x1499d7,0x7c8)+'th'](_0x4b1aa3(0x207,_0x585f29._0x31f26c))||_0x390b14[_0x4b1aa3(0x5c5,0x5b4)+'th'](_0x299761[_0xaa554f(0x796,0x623)]))return _0x390b14[_0x4b1aa3(_0x585f29._0x1ea7b1,0x225)](/\/+$/,'');if(_0x390b14[_0xaa554f(_0x585f29._0x1fd673,_0x585f29._0x2c76df)+'th'](_0xaa554f(_0x585f29._0x1457a3,_0x585f29._0x3219b6)))return(_0x4b1aa3(0x2b7,_0x585f29._0x31f26c)+_0x390b14[_0xaa554f(_0x585f29._0x38fc80,_0x585f29._0x21328e)](_0xaa554f(_0x585f29._0x2ff2ab,_0x585f29._0x3219b6)['length']))[_0xaa554f(0x30e,_0x585f29._0x5e5f77)](/\/+$/,'');if(_0x390b14[_0x4b1aa3(_0x585f29._0x33b9ce,_0x585f29._0x5ac92b)+'th']('wss://'))return(_0xaa554f(0x4f6,_0x585f29._0x4566f4)+_0x390b14[_0x4b1aa3(-0x195,_0x585f29._0x248204)](_0x299761['SEGZo'][_0x4b1aa3(0x7d1,0x5b0)]))[_0xaa554f(0x2d0,0x439)](/\/+$/,'');function _0xaa554f(_0x1a3d92,_0x213b13){return _0x341e52(_0x213b13- -0xa5,_0x1a3d92);}return(_0x4b1aa3(0x2f9,_0x585f29._0x37e20e)+_0x390b14)[_0xaa554f(0x186,_0x585f29._0x5e5f77)](/\/+$/,'');}function assessPairingCompatibility(_0x54fed5,_0x1b1587){const _0x2c1c5a={_0x32554c:0x71,_0x549f85:0x6f4,_0x16762c:0x9d,_0x251fce:0x19a,_0x4a5517:0x18b},_0x59723f={_0x15ac11:0x4b7};function _0x22e89c(_0x732974,_0x425c89){return _0x341e52(_0x732974- -0x502,_0x425c89);}if(!_0x54fed5)return _0x22e89c(-_0x2c1c5a._0x32554c,0x1cf)+_0x22e89c(0x3b8,0x675);function _0x324e05(_0x1ca617,_0x2dc049){return _0x341e52(_0x2dc049- -_0x59723f._0x15ac11,_0x1ca617);}if(_0x54fed5['serverUr'+'l']===_0x1b1587)return _0x22e89c(0x42f,_0x2c1c5a._0x549f85)+_0x22e89c(-_0x2c1c5a._0x16762c,0x26d);return'server-m'+_0x22e89c(_0x2c1c5a._0x251fce,_0x2c1c5a._0x4a5517);}async function postJsonWithCloudflareFallback(_0x4a997e,_0x49de85){const _0x55e7b5={_0x470076:0x554,_0x10afb2:0x846,_0x449258:0x8c9,_0x114508:0x71b,_0x36e0bf:0x9d3},_0x58b39e={_0x1d06e8:0xb0};function _0x259dd3(_0x5082f3,_0x5417c6){return _0x341e52(_0x5082f3-_0x58b39e._0x1d06e8,_0x5417c6);}const _0x35756b={'NFGyT':function(_0x412896,_0x1738a1,_0x3ed790){return _0x412896(_0x1738a1,_0x3ed790);},'DQlpP':function(_0x2d381c,_0x1bab15,_0x2afc59){return _0x2d381c(_0x1bab15,_0x2afc59);}},_0x2c38a1=await fetch(_0x4a997e,_0x49de85),_0x4e7400=_0x35756b[_0x3183d3(_0x55e7b5._0x470076,_0x55e7b5._0x10afb2)](resolveCloudflareChallengeFallbackUrl,_0x4a997e,_0x2c38a1);if(!_0x4e7400){const _0x152519={};return _0x152519[_0x3183d3(0x883,0xa6d)]=_0x2c38a1,_0x152519[_0x259dd3(0x55d,0x5b5)+_0x3183d3(0x7c2,0x8a9)]=_0x4a997e,_0x152519[_0x3183d3(0x655,_0x55e7b5._0x449258)+'Url']=null,_0x152519;}function _0x3183d3(_0x135bc1,_0x4775){return _0x341e52(_0x135bc1-0x1a3,_0x4775);}return{'response':await _0x35756b[_0x3183d3(_0x55e7b5._0x114508,_0x55e7b5._0x36e0bf)](fetch,_0x4e7400,_0x49de85),'attemptedUrl':_0x4a997e,'fallbackUrl':_0x4e7400};}async function buildPairingRequestError(_0x48ce18,_0x3a950d){const _0x3bf9d7={_0x320e2f:0x119,_0x45f827:0xdd,_0x3c2d38:0x38,_0x25b7d1:0x30b,_0x54c191:0x319,_0x398254:0x617,_0x327df4:0x656,_0x4f1744:0x1bb,_0x4a42aa:0x141,_0x5b7db5:0x330,_0x5bb2c0:0x4a6,_0x27ab7f:0x115,_0x5c8ff1:0x222,_0x34bfda:0x99,_0x3f41f3:0x7b9,_0x477b26:0x73c,_0x55cf86:0x28d,_0x148779:0x47c,_0x5324de:0x26a,_0xec523e:0x242,_0xbf76b5:0x710,_0x5b5d8b:0x335,_0x4b16c5:0x74,_0x263bb4:0x22b,_0x1fa276:0x179,_0x107f19:0x241,_0x553048:0x13d,_0x55a247:0x247,_0x42516b:0x33,_0x5872e4:0x4c4,_0x567818:0x707,_0x208314:0x57,_0x123438:0x16f,_0x5118f4:0x547,_0x2ab195:0x56e,_0x92659d:0x3a3,_0x34abc8:0x40d,_0x50eb8b:0x153,_0x574ff9:0xe6},_0xfbff3a={_0x62a7ef:0xe3};function _0x5e11c8(_0x2915b5,_0x53ab1e){return _0x35d151(_0x53ab1e,_0x2915b5- -0x34f);}const _0x4cd4cb={'lPwjT':function(_0xd27c6b,_0xd95efd){return _0xd27c6b(_0xd95efd);}};if(_0x4cd4cb[_0x5e11c8(0x1a1,-0x79)](isCloudflareChallengeResponse,_0x3a950d[_0x5e11c8(0x115,-0x145)])){const _0x2dd3d8=new URL(_0x3a950d[_0x5e11c8(-_0x3bf9d7._0x320e2f,_0x3bf9d7._0x45f827)+'Url']??_0x3a950d[_0x3fd8be(0x314,_0x3bf9d7._0x3c2d38)+'dUrl'])[_0x5e11c8(-0x26f,-_0x3bf9d7._0x25b7d1)],_0x30bb9f=_0x3a950d[_0x3fd8be(_0x3bf9d7._0x54c191,_0x3bf9d7._0x398254)+_0x3fd8be(0x4a6,0x798)]?_0x5e11c8(0x37e,_0x3bf9d7._0x327df4)+_0x5e11c8(_0x3bf9d7._0x4f1744,-_0x3bf9d7._0x4a42aa)+_0x5e11c8(_0x3bf9d7._0x5b7db5,0x5de)+_0x3a950d['fallback'+_0x3fd8be(_0x3bf9d7._0x5bb2c0,0x4bb)]+(_0x3fd8be(0x5b8,0x62f)+_0x3fd8be(0x42f,0x3f4)+_0x3fd8be(0x4a8,0x283)+'hallenge'+'.'):'';return new Error(_0x48ce18+(_0x3fd8be(0x601,0x68f)+'(')+_0x3a950d[_0x5e11c8(_0x3bf9d7._0x27ab7f,_0x3bf9d7._0x5c8ff1)][_0x3fd8be(0x3a3,0x468)]+(_0x5e11c8(0xc8,-_0x3bf9d7._0x34bfda)+_0x3fd8be(_0x3bf9d7._0x3f41f3,_0x3bf9d7._0x477b26)+_0x3fd8be(_0x3bf9d7._0x55cf86,_0x3bf9d7._0x148779)+_0x5e11c8(_0x3bf9d7._0x5324de,0x1ad)+_0x3fd8be(0x38d,0x1f0)+_0x5e11c8(0x2b2,_0x3bf9d7._0xec523e)+_0x3fd8be(_0x3bf9d7._0xbf76b5,0x99a))+_0x2dd3d8+'.'+_0x30bb9f+(_0x5e11c8(_0x3bf9d7._0x5b5d8b,0x35a)+_0x3fd8be(0x772,0x5fb)+'fferent\x20'+_0x5e11c8(-_0x3bf9d7._0x4b16c5,_0x3bf9d7._0x263bb4)+'or\x20use\x20a'+_0x5e11c8(_0x3bf9d7._0x1fa276,_0x3bf9d7._0x107f19)+_0x5e11c8(-_0x3bf9d7._0x553048,-0x34f)+_0x3fd8be(_0x3bf9d7._0x55a247,_0x3bf9d7._0x42516b)+_0x3fd8be(_0x3bf9d7._0x5872e4,_0x3bf9d7._0x567818)+_0x5e11c8(_0x3bf9d7._0x208314,-_0x3bf9d7._0x123438)+'\x20browser'+_0x3fd8be(0x6cf,0x506)+'ation.'));}function _0x3fd8be(_0x325c8c,_0x446eb1){return _0x35d151(_0x446eb1,_0x325c8c-_0xfbff3a._0x62a7ef);}return new Error(_0x48ce18+(_0x5e11c8(0x1cf,0x285)+'(')+_0x3a950d[_0x3fd8be(_0x3bf9d7._0x5118f4,_0x3bf9d7._0x2ab195)][_0x3fd8be(_0x3bf9d7._0x92659d,_0x3bf9d7._0x34abc8)]+_0x3fd8be(0x2e8,0x290)+summarizeFailedResponse(await _0x3a950d['response'][_0x5e11c8(-_0x3bf9d7._0x50eb8b,_0x3bf9d7._0x574ff9)]()));}function isCloudflareChallengeResponse(_0x5a66be){const _0x4a2c9b={_0x4fc6e4:0x537,_0x46072c:0x267,_0x355612:0x673,_0x35fc79:0x3f9,_0x359e3d:0x218,_0x166ce4:0x3c7,_0x4e71dc:0x5e0,_0x47d9a8:0x6a1,_0x564761:0x7d0,_0x220b66:0x5f8,_0x2c06d0:0x8ad,_0x5a757:0x5b5};function _0x551d77(_0xd076bd,_0x4e98ad){return _0x35d151(_0x4e98ad,_0xd076bd-0x3e1);}const _0x3c0ae9={};_0x3c0ae9[_0x551d77(_0x4a2c9b._0x4fc6e4,0x486)]=function(_0x156f55,_0x2c071e){return _0x156f55===_0x2c071e;};function _0x5836c1(_0x5ef651,_0x1c594e){return _0x35d151(_0x1c594e,_0x5ef651-0x271);}_0x3c0ae9[_0x5836c1(0x3de,_0x4a2c9b._0x46072c)]=function(_0x406a20,_0x503b32){return _0x406a20===_0x503b32;},_0x3c0ae9[_0x5836c1(0x660,0x517)]=_0x5836c1(_0x4a2c9b._0x355612,0x6df)+_0x5836c1(_0x4a2c9b._0x35fc79,_0x4a2c9b._0x359e3d);const _0x54034f=_0x3c0ae9;return _0x54034f[_0x5836c1(_0x4a2c9b._0x166ce4,_0x4a2c9b._0x4e71dc)](_0x5a66be[_0x551d77(_0x4a2c9b._0x47d9a8,0x556)],0x193)&&_0x54034f[_0x551d77(0x54e,0x6cb)](_0x5a66be[_0x551d77(0x7ca,0x514)]['get'](_0x54034f[_0x551d77(_0x4a2c9b._0x564761,0x746)])?.[_0x5836c1(_0x4a2c9b._0x220b66,0x73e)]()[_0x5836c1(_0x4a2c9b._0x2c06d0,_0x4a2c9b._0x5a757)+'ase'](),_0x551d77(0x972,0x751)+'e');}function resolveCloudflareChallengeFallbackUrl(_0x5df21f,_0xc8e128){const _0x599932={_0x7e7d29:0x2ca,_0x2f0259:0x3f8,_0x34bba6:0x5e1,_0x157456:0x20d},_0x13c33b={_0x23d983:0x18};function _0x1eabdf(_0x34a6d0,_0x1b9a80){return _0x35d151(_0x1b9a80,_0x34a6d0-0xea);}const _0xa8de05={'sYjRY':function(_0x260e2e,_0x4fd913){return _0x260e2e(_0x4fd913);},'jbufU':function(_0x2ad2cb,_0x424bda){return _0x2ad2cb!==_0x424bda;}};if(!_0xa8de05[_0x1eabdf(_0x599932._0x7e7d29,_0x599932._0x2f0259)](isCloudflareChallengeResponse,_0xc8e128))return null;const _0x1d2fe7=new URL(_0x5df21f);function _0x54b33d(_0x46ae9f,_0x5344d0){return _0x35d151(_0x46ae9f,_0x5344d0-_0x13c33b._0x23d983);}if(_0xa8de05[_0x1eabdf(0x327,_0x599932._0x34bba6)](_0x1d2fe7['origin'],DEFAULT_REGISTRY_BASE))return null;return''+DEFAULT_REGISTRY_FALLBACK_BASE+_0x1d2fe7[_0x54b33d(_0x599932._0x157456,0x45b)]+_0x1d2fe7[_0x54b33d(0x78d,0x528)];}function summarizeFailedResponse(_0x2e0424){const _0x4e68c4={_0x4de2b9:0x850,_0x1b13df:0x709,_0x5d8e22:0x619,_0x52edd9:0x942,_0x116de2:0x4a9,_0xb885f7:0x590},_0x23b700={_0xfcccab:0x3b7};function _0x22a534(_0x57dca1,_0x4d82ad){return _0x35d151(_0x4d82ad,_0x57dca1-0x224);}const _0x3afdfa={};_0x3afdfa[_0x22a534(_0x4e68c4._0x4de2b9,_0x4e68c4._0x1b13df)]=function(_0x1bc85d,_0x3170af){return _0x1bc85d<=_0x3170af;};const _0x51bc75=_0x3afdfa,_0x4f5315=_0x2e0424[_0x1bf47e(0x428,_0x4e68c4._0x5d8e22)](/\s+/g,'\x20')[_0x1bf47e(_0x4e68c4._0x52edd9,0x73e)]();function _0x1bf47e(_0x568499,_0x13bd75){return _0x35d151(_0x568499,_0x13bd75-_0x23b700._0xfcccab);}if(!_0x4f5315)return _0x22a534(_0x4e68c4._0x116de2,0x252)+_0x1bf47e(_0x4e68c4._0xb885f7,0x612)+_0x1bf47e(0x6d0,0x946);if(_0x51bc75[_0x1bf47e(0xbcc,0x9e3)](_0x4f5315[_0x1bf47e(0x98f,0x9a4)],0xf0))return _0x4f5315;return _0x4f5315['slice'](0x0,0xed)+'...';}import{execFileSync,spawn}from'child_process';import{chmodSync,closeSync,existsSync as _0xf90435,mkdirSync as _0x4fd96b,openSync,readFileSync as _0x3f080b,realpathSync,rmSync as _0x26bed0,writeFileSync as _0x162251}from'fs';import{homedir as _0x4846ad}from'os';import{dirname,join as _0x5de2bf}from'path';import{setTimeout as _0x55d728}from'timers/promises';var SERVICE_LABEL=_0x341e52(0x356,0x4e4)+_0x35d151(0x65d,0x51f)+'e.cli',SYSTEMD_UNIT_NAME=SERVICE_LABEL+'.service',WINDOWS_RUN_KEY=_0x35d151(-0x1ad,0x151)+_0x341e52(0x6b7,0x7cf),SERVICE_DIR=_0x5de2bf(_0x4846ad(),_0x341e52(0x8ed,0xa44)),LOG_DIR=_0x5de2bf(SERVICE_DIR,_0x35d151(0x3ff,0x55e)),SERVICE_STATE_PATH=_0x5de2bf(SERVICE_DIR,_0x341e52(0x72d,0x94e)+'ervice.j'+_0x341e52(0x809,0x695)),RUNTIME_REGISTRY_PATH=_0x5de2bf(SERVICE_DIR,_0x341e52(0x353,0x456)+_0x35d151(0x850,0x5d3)+_0x341e52(0x827,0x8d4)+_0x341e52(0x4e7,0x4de)),SERVICE_LAUNCHER_PATH=_0x5de2bf(SERVICE_DIR,'clawket-'+_0x35d151(-0x127,0x102)+_0x341e52(0x857,0x759)),LINUX_CRON_RECORD_PATH=_0x5de2bf(SERVICE_DIR,_0x341e52(0x72d,0x585)+'ervice.c'+_0x341e52(0x7c2,0x7a3)),SERVICE_LOG_PATH=_0x5de2bf(LOG_DIR,_0x35d151(0x402,0x3d5)+_0x35d151(0x602,0x330)),SERVICE_ERROR_LOG_PATH=_0x5de2bf(LOG_DIR,_0x35d151(0x64f,0x3d5)+_0x341e52(0x3a8,0xf8)+_0x341e52(0x645,0x445)),MACOS_PLIST_PATH=_0x5de2bf(_0x4846ad(),_0x35d151(0x44a,0x588),'LaunchAg'+_0x35d151(0x956,0x6b3),SERVICE_LABEL+_0x35d151(0x3cc,0x4f8)),LINUX_SERVICE_PATH=_0x5de2bf(_0x4846ad(),_0x341e52(0x93b,0x6c8),_0x35d151(0x37c,0x227),_0x35d151(0x50b,0x640),SYSTEMD_UNIT_NAME),LINUX_CRON_MARKER='#\x20clawke'+_0x341e52(0x730,0x76d)+'-cli';function getServiceProgramArgs(_0x2d3f9f={},_0x5817b0=process[_0x341e52(0x8f3,0x86b)]){const _0x93468={_0x3586fb:0x89,_0x3a0e90:0x1f8,_0x144322:0x4c,_0xfe16eb:0x35,_0x23cd53:0x67f,_0x32a32f:0x785,_0x8669c1:0x88a,_0x18dcf2:0x83c,_0x3ee089:0x5b0,_0x525570:0x263,_0x5327f5:0x1,_0x114e1a:0xa71,_0x5f2544:0x9ed};function _0x80317(_0x4ec196,_0x3f3d81){return _0x35d151(_0x4ec196,_0x3f3d81-0x37c);}const _0x370135={'iiZVC':function(_0x231498,_0x176a2b){return _0x231498(_0x176a2b);},'NKWHb':_0x322c16(0x3d7,0x6b5)},_0x124b5d=_0x2d3f9f['nodePath']?.[_0x322c16(_0x93468._0x3586fb,_0x93468._0x3a0e90)]()||process['execPath'];function _0x322c16(_0x4bdd8b,_0x42fb44){return _0x35d151(_0x42fb44,_0x4bdd8b- -0x2fe);}const _0x904a30=resolveScriptPath(_0x2d3f9f[_0x322c16(_0x93468._0x144322,_0x93468._0xfe16eb)+'th']);if(!_0x904a30)throw new Error('Unable\x20t'+'o\x20resolv'+'e\x20CLI\x20sc'+_0x80317(_0x93468._0x23cd53,_0x93468._0x32a32f)+_0x80317(0x8a4,_0x93468._0x8669c1)+_0x322c16(0x255,-0x5a)+_0x80317(_0x93468._0x18dcf2,0x9ac)+_0x80317(_0x93468._0x3ee089,0x60b));if(_0x5817b0!==_0x322c16(0x70,-_0x93468._0x525570)){const _0x4d065c={};_0x4d065c[_0x322c16(-_0x93468._0x5327f5,-0x17d)]=_0x124b5d,_0x4d065c['scriptPa'+'th']=_0x904a30,_0x4d065c[_0x80317(_0x93468._0x114e1a,0xa37)]=process.env.PATH??'';const _0x30171e=_0x370135['iiZVC'](writeServiceLauncher,_0x4d065c);return ensureLaunchScriptExecutable(_0x30171e,_0x5817b0),[_0x30171e];}return[_0x124b5d,_0x904a30,_0x370135[_0x80317(0xae8,0x96b)],_0x80317(_0x93468._0x5f2544,0xa4c)+'e'];}function getServiceStatus(){const _0x4d9a52={_0x5a8920:0x70,_0x1bc0f3:0x116,_0x207691:0x135,_0x2fbd4a:0x511,_0x24fc89:0x483,_0x525f05:0x201,_0x48a589:0x757,_0x35e11d:0x489,_0x5b1335:0x793,_0x2c986b:0x42d,_0x465d39:0x4f2,_0x1cf42e:0x440,_0x21cc12:0x5e,_0x18d286:0x434,_0x3de316:0x691,_0x3eccfa:0x4e3,_0x28d406:0x27a,_0x4b911b:0x78a,_0x3d5283:0x46e,_0x289f01:0x4af,_0x439878:0x4f2,_0x1a3c08:0x46c,_0x1e6e0b:0xfb,_0x332da4:0x491,_0x4a708f:0x14f,_0x26549e:0x42c,_0x32933e:0x529,_0x2b0e46:0x793,_0x2b87ab:0x3a4,_0xa74adb:0x651,_0x4cff5d:0x524,_0x42dede:0x6f9},_0x33d5f6={'ISfMa':function(_0x53734e,_0x497d63){return _0x53734e!=_0x497d63;},'xZQvQ':function(_0xa7bd97,_0xbd4a3){return _0xa7bd97(_0xbd4a3);},'TgPCd':_0x3a6e0d(-0x1c4,_0x4d9a52._0x5a8920)+_0x3a6e0d(_0x4d9a52._0x1bc0f3,_0x4d9a52._0x207691),'aqIBV':function(_0x18e1ef,_0x1f4533,_0xd1e16b){return _0x18e1ef(_0x1f4533,_0xd1e16b);}};function _0x3081fb(_0x5e4f5a,_0x1f09f5){return _0x341e52(_0x5e4f5a- -0x99,_0x1f09f5);}function _0x3a6e0d(_0x40a1e5,_0x5db374){return _0x341e52(_0x5db374- -0x33a,_0x40a1e5);}ensureServiceDirs();const _0x493076=readServiceState()?.[_0x3081fb(0x724,0x97f)]??null,_0x5c3ceb=detectServiceMethod(),_0x4ab7be={'installed':![],'running':_0x33d5f6['ISfMa'](_0x493076,null)&&isPidRunning(_0x493076),'method':_0x5c3ceb,'servicePath':getServicePath(_0x5c3ceb),'logPath':SERVICE_LOG_PATH,'errorLogPath':SERVICE_ERROR_LOG_PATH,'pid':_0x493076};_0x4ab7be[_0x3a6e0d(_0x4d9a52._0x2fbd4a,_0x4d9a52._0x24fc89)]!=null&&!_0x4ab7be[_0x3a6e0d(_0x4d9a52._0x525f05,0x193)]&&(clearServiceState(_0x4ab7be['pid']),_0x4ab7be[_0x3a6e0d(0x2a6,_0x4d9a52._0x24fc89)]=null);switch(_0x4ab7be[_0x3081fb(_0x4d9a52._0x48a589,0x707)]){case _0x3081fb(_0x4d9a52._0x35e11d,0x6ee)+'ent':_0x4ab7be[_0x3081fb(_0x4d9a52._0x5b1335,0x5a2)+'d']=_0xf90435(MACOS_PLIST_PATH);_0x4ab7be[_0x3a6e0d(_0x4d9a52._0x2c986b,_0x4d9a52._0x465d39)+'d']&&(_0x4ab7be['running']=commandSucceeds(_0x3081fb(0x2f1,_0x4d9a52._0x1cf42e)+'l',[_0x3a6e0d(-0xce,_0x4d9a52._0x21cc12),SERVICE_LABEL])||_0x4ab7be[_0x3081fb(_0x4d9a52._0x18d286,_0x4d9a52._0x3de316)]);return _0x4ab7be;case _0x3a6e0d(_0x4d9a52._0x3eccfa,_0x4d9a52._0x28d406)+'user':_0x4ab7be[_0x3a6e0d(_0x4d9a52._0x4b911b,0x4f2)+'d']=_0x33d5f6[_0x3081fb(_0x4d9a52._0x3d5283,_0x4d9a52._0x289f01)](_0xf90435,LINUX_SERVICE_PATH);_0x4ab7be[_0x3a6e0d(0x3b1,_0x4d9a52._0x439878)+'d']&&(_0x4ab7be[_0x3081fb(0x434,_0x4d9a52._0x1a3c08)]=commandSucceeds('systemct'+'l',['--user',_0x3a6e0d(0x862,0x581)+'e',_0x3a6e0d(-0x26,_0x4d9a52._0x1e6e0b),SYSTEMD_UNIT_NAME])||_0x4ab7be[_0x3081fb(0x434,0x4bc)]);return _0x4ab7be;case _0x33d5f6[_0x3a6e0d(0x786,_0x4d9a52._0x332da4)]:_0x4ab7be[_0x3081fb(0x793,0x5b3)+'d']=hasLinuxCronRegistration();return _0x4ab7be;case _0x3a6e0d(_0x4d9a52._0x4a708f,_0x4d9a52._0x26549e)+_0x3a6e0d(0x6ae,_0x4d9a52._0x32933e)+'stry':_0x4ab7be[_0x3081fb(_0x4d9a52._0x2b0e46,0x601)+'d']=_0x33d5f6[_0x3081fb(0x55a,0x64b)](commandSucceeds,_0x3081fb(_0x4d9a52._0x2b87ab,0x1dc),[_0x3a6e0d(_0x4d9a52._0xa74adb,_0x4d9a52._0x4cff5d),_0x3081fb(0x7fa,0x6df)+'tware\x5cMi'+'crosoft\x5c'+_0x3081fb(0x894,0x95f)+'CurrentV'+_0x3081fb(_0x4d9a52._0x42dede,0x495)+'un','/v',WINDOWS_RUN_KEY]);return _0x4ab7be;default:return _0x4ab7be;}}function installService(_0x53f0dd={}){const _0x3cd0ac={_0x3222ef:0xb2b,_0x1a6a2c:0x8f9,_0x58aa3a:0x5b0,_0x54184f:0x504,_0x6c92be:0x60f,_0x31ccdf:0x432,_0x640b6c:0x187,_0x4a47e3:0x7ff,_0x29a183:0x5de,_0x5e2049:0xa4c,_0x51eb85:0xa7b,_0x312b17:0x2b7,_0x407f0c:0x9e8,_0x375425:0x5b7,_0x4aba59:0xd9,_0x509441:0xa05,_0x1d6340:0x2d9,_0x16b149:0x958,_0x41256b:0xa6d},_0x1df701={_0x5ba10c:0x99};function _0x1815c5(_0x405470,_0x3052ea){return _0x35d151(_0x405470,_0x3052ea-0x3f6);}const _0x3a2296={};_0x3a2296[_0x1815c5(_0x3cd0ac._0x3222ef,0x98b)]=_0x16b53c(0x3c1,0x364),_0x3a2296[_0x1815c5(_0x3cd0ac._0x1a6a2c,0x863)]=_0x1815c5(_0x3cd0ac._0x58aa3a,_0x3cd0ac._0x54184f)+'l',_0x3a2296[_0x1815c5(_0x3cd0ac._0x6c92be,0x695)]='load',_0x3a2296['Mwftn']=_0x16b53c(_0x3cd0ac._0x31ccdf,_0x3cd0ac._0x640b6c),_0x3a2296[_0x16b53c(0x1db,0x32f)]=_0x1815c5(_0x3cd0ac._0x4a47e3,0xa7f);const _0x36d3f1=_0x3a2296;ensureServiceDirs();const _0x522aca=getServiceProgramArgs(_0x53f0dd);switch(process[_0x16b53c(0x7cc,_0x3cd0ac._0x29a183)]){case _0x1815c5(0xbd5,_0x3cd0ac._0x5e2049):_0x162251(MACOS_PLIST_PATH,buildMacosPlist(_0x522aca,SERVICE_LOG_PATH,SERVICE_ERROR_LOG_PATH),_0x36d3f1[_0x1815c5(_0x3cd0ac._0x51eb85,0x98b)]),execIgnoreFailure(_0x36d3f1[_0x16b53c(0x4a6,0x3d4)],[_0x1815c5(0x4e1,0x65d),'-w',MACOS_PLIST_PATH]);const _0x515df1={};_0x515df1['stdio']=_0x16b53c(0x48a,0x559),execFileSync('launchct'+'l',[_0x36d3f1[_0x16b53c(_0x3cd0ac._0x312b17,0x206)],'-w',MACOS_PLIST_PATH],_0x515df1);break;case _0x36d3f1['Mwftn']:installLinuxService(_0x522aca);break;case _0x16b53c(0x8e,0x2d5):stopRunningProcess();const _0x42cad0={};_0x42cad0['stdio']=_0x1815c5(0xcea,_0x3cd0ac._0x407f0c),execFileSync(_0x1815c5(0x797,_0x3cd0ac._0x375425),[_0x36d3f1['IPQER'],_0x16b53c(0x34f,0x57e)+_0x16b53c(0x62,_0x3cd0ac._0x4aba59)+_0x1815c5(0x314,0x603)+_0x16b53c(0x830,0x618)+_0x1815c5(0xba6,_0x3cd0ac._0x509441)+'ersion\x5cR'+'un','/v',WINDOWS_RUN_KEY,'/t',_0x16b53c(_0x3cd0ac._0x1d6340,0x38a),'/d',buildWindowsRunCommand(_0x522aca),'/f'],_0x42cad0),startDetachedWindowsService(_0x522aca);break;default:throw new Error(_0x1815c5(0x540,0x844)+'ted\x20plat'+_0x1815c5(0x34f,0x5a1)+_0x16b53c(0x208,0x4de)+'vice\x20ins'+'tallatio'+'n:\x20'+process[_0x1815c5(_0x3cd0ac._0x16b149,_0x3cd0ac._0x41256b)]);}function _0x16b53c(_0x3a5abb,_0x1537b2){return _0x35d151(_0x3a5abb,_0x1537b2- -_0x1df701._0x5ba10c);}return getServiceStatus();}function restartService(_0x2d5301={}){const _0xa21b6c={_0x4981b3:0x1d,_0x20e5c6:0x6e2,_0x59fb37:0x23c,_0x561b31:0x9d,_0x25f181:0x4fe,_0x21f93a:0x3b2,_0x432984:0x50,_0x3523ab:0xf3,_0x134bf5:0x74e,_0x1bcea2:0x211,_0x4682f9:0x415,_0x267a1e:0x1f0,_0x41e6c8:0x102,_0x230a45:0x19d,_0x587a1c:0x641,_0x50822b:0x506,_0x4dc717:0x134,_0x4bd945:0x2c6,_0x4f19d9:0x37,_0x1e9979:0x57,_0x1a9977:0x337,_0x3b8d1d:0x5d,_0x121788:0x33d,_0x12b36d:0x475},_0x183f62={_0x20463c:0x202};function _0xacfd81(_0x248548,_0x386150){return _0x35d151(_0x248548,_0x386150- -0x70);}const _0x332c4f={'dqfGB':function(_0x24db3c,_0x4f605c,_0xafd7ac,_0x3c636c){return _0x24db3c(_0x4f605c,_0xafd7ac,_0x3c636c);},'XONhO':function(_0x5b0fae,_0x3f2ccf,_0x2891bf,_0x3b01d2){return _0x5b0fae(_0x3f2ccf,_0x2891bf,_0x3b01d2);},'HqgdL':_0x878456(0x513,0x3f0),'GFbeL':_0x878456(_0xa21b6c._0x4981b3,0x1e),'ffPis':_0x878456(0xa9,0x16c),'jCoEh':function(_0x1c925d,_0x1a78e6){return _0x1c925d(_0x1a78e6);}};function _0x878456(_0x48d290,_0x33384e){return _0x35d151(_0x48d290,_0x33384e- -_0x183f62._0x20463c);}ensureServiceDirs();const _0x20067c=getServiceProgramArgs(_0x2d5301);switch(process[_0x878456(_0xa21b6c._0x20e5c6,0x475)]){case _0x878456(0x5f7,0x454):if(!_0xf90435(MACOS_PLIST_PATH))return installService(_0x2d5301);_0x332c4f[_0xacfd81(-_0xa21b6c._0x59fb37,_0xa21b6c._0x561b31)](_0x162251,MACOS_PLIST_PATH,_0x332c4f[_0xacfd81(_0xa21b6c._0x25f181,_0xa21b6c._0x21f93a)](buildMacosPlist,_0x20067c,SERVICE_LOG_PATH,SERVICE_ERROR_LOG_PATH),_0xacfd81(0x3b6,0x38d)),execIgnoreFailure('launchct'+'l',['unload','-w',MACOS_PLIST_PATH]),_0x332c4f['XONhO'](execFileSync,_0x878456(-0x2b5,-0xf4)+'l',[_0xacfd81(0x73b,0x510),'-w',MACOS_PLIST_PATH],{'stdio':_0x332c4f[_0xacfd81(_0xa21b6c._0x432984,0xe0)]});break;case _0x332c4f['GFbeL']:restartLinuxService(_0x20067c);break;case _0x332c4f[_0xacfd81(0x231,_0xa21b6c._0x3523ab)]:stopRunningProcess();const _0x1f5a22={};_0x1f5a22[_0x878456(_0xa21b6c._0x134bf5,0x4d1)]='ignore',execFileSync('reg',['add',_0x878456(_0xa21b6c._0x1bcea2,_0xa21b6c._0x4682f9)+_0xacfd81(-_0xa21b6c._0x267a1e,_0xa21b6c._0x41e6c8)+_0xacfd81(0x2ff,_0xa21b6c._0x230a45)+_0xacfd81(0x4e7,_0xa21b6c._0x587a1c)+'CurrentV'+_0x878456(_0xa21b6c._0x50822b,0x314)+'un','/v',WINDOWS_RUN_KEY,'/t','REG_SZ','/d',buildWindowsRunCommand(_0x20067c),'/f'],_0x1f5a22),_0x332c4f[_0xacfd81(-0x107,_0xa21b6c._0x4dc717)](startDetachedWindowsService,_0x20067c);break;default:throw new Error(_0x878456(0x4c9,0x24c)+_0x878456(_0xa21b6c._0x4bd945,_0xa21b6c._0x4f19d9)+_0x878456(0x69,-_0xa21b6c._0x1e9979)+_0xacfd81(0x80b,0x507)+_0x878456(0x5a2,_0xa21b6c._0x1a9977)+_0x878456(0x27b,-_0xa21b6c._0x3b8d1d)+process[_0x878456(_0xa21b6c._0x121788,_0xa21b6c._0x12b36d)]);}return getServiceStatus();}async function startTransientRuntime(_0x432602={}){const _0x4172ea={_0x900835:0xc0,_0x561eb8:0x404,_0x2b1aed:0xd9,_0x11aa52:0x3a7,_0x3bbb72:0x3b5,_0x48f0fc:0x522,_0x573ce9:0x267},_0x3fbb01={_0x516726:0x160},_0x5f5c32={'UVbwb':function(_0x495222){return _0x495222();}};function _0x4d8e46(_0xb54c2a,_0x3eec7c){return _0x35d151(_0x3eec7c,_0xb54c2a-0x35f);}_0x5f5c32['UVbwb'](ensureServiceDirs);function _0x3e90e4(_0x4db0e3,_0x4b4688){return _0x35d151(_0x4db0e3,_0x4b4688- -_0x3fbb01._0x516726);}const _0x5c485f=getServiceProgramArgs(_0x432602);switch(process[_0x3e90e4(0x6fa,0x517)]){case _0x4d8e46(0x9b5,0xc21):case _0x3e90e4(-0x73,_0x4172ea._0x900835):startDetachedPosixService(_0x5c485f);break;case _0x3e90e4(_0x4172ea._0x561eb8,0x20e):startDetachedWindowsService(_0x5c485f);break;default:throw new Error('Unsuppor'+_0x3e90e4(-0x57,_0x4172ea._0x2b1aed)+_0x4d8e46(0x50a,_0x4172ea._0x11aa52)+_0x3e90e4(_0x4172ea._0x3bbb72,_0x4172ea._0x48f0fc)+_0x4d8e46(0x4fb,0x358)+'untime\x20s'+_0x4d8e46(0x504,_0x4172ea._0x573ce9)+process['platform']);}return _0x5f5c32[_0x4d8e46(0x915,0xa35)](waitForRuntimeState);}function uninstallService(){const _0x1a78d1={_0x4f1709:0x6af,_0x22b062:0xd3,_0x106b74:0x8cf,_0x257c80:0x321,_0x22dfbf:0x1ae,_0x1a80b2:0x22f,_0x199672:0x4e4,_0x3914e7:0x9b8,_0xf5fb15:0x138,_0x5867d6:0x450,_0x20130c:0x7ae,_0x21171a:0x810,_0x3f4ca5:0x58c,_0x35bbce:0x701,_0x35bb67:0x737},_0x33bb5b={'aklsg':'darwin','nbCxU':'unload','iQoha':_0x343019(0x17d,0x43e),'CDykV':'systemct'+'l','RDgdq':_0x343019(0x5eb,_0x1a78d1._0x4f1709),'ExDkX':'disable','XskEv':function(_0x47f19d,_0xaf304){return _0x47f19d(_0xaf304);},'BBEwg':_0x343019(0x81e,0x835)+'tware\x5cMi'+_0x5a3100(-0x149,_0x1a78d1._0x22b062)+_0x343019(0x6f7,_0x1a78d1._0x106b74)+'CurrentV'+'ersion\x5cR'+'un'};stopRunningProcess();switch(process[_0x5a3100(_0x1a78d1._0x257c80,_0x1a78d1._0x22dfbf)]){case _0x33bb5b['aklsg']:execIgnoreFailure(_0x343019(_0x1a78d1._0x1a80b2,0x32c)+'l',[_0x33bb5b['nbCxU'],'-w',MACOS_PLIST_PATH]),rmIfExists(MACOS_PLIST_PATH);break;case _0x33bb5b[_0x343019(_0x1a78d1._0x199672,0x324)]:_0xf90435(LINUX_SERVICE_PATH)&&(execIgnoreFailure(_0x33bb5b[_0x343019(_0x1a78d1._0x3914e7,0x804)],[_0x33bb5b['RDgdq'],_0x33bb5b[_0x5a3100(_0x1a78d1._0xf5fb15,0x138)],'--now',SYSTEMD_UNIT_NAME]),_0x33bb5b[_0x343019(0x1e4,_0x1a78d1._0x5867d6)](rmIfExists,LINUX_SERVICE_PATH),execIgnoreFailure(_0x343019(0x9b3,_0x1a78d1._0x20130c)+'l',[_0x5a3100(0x13b,0x43d),'daemon-r'+_0x5a3100(-0xe0,-0x9c)]));removeLinuxCronRegistration();break;case _0x343019(_0x1a78d1._0x21171a,_0x1a78d1._0x3f4ca5):execIgnoreFailure('reg',[_0x343019(_0x1a78d1._0x35bbce,_0x1a78d1._0x35bb67),_0x33bb5b['BBEwg'],'/v',WINDOWS_RUN_KEY,'/f']);break;default:break;}clearServiceState();function _0x343019(_0x147414,_0x14d1c3){return _0x341e52(_0x14d1c3- -0x5e,_0x147414);}function _0x5a3100(_0x5cbc5a,_0x5ef0cb){return _0x341e52(_0x5cbc5a- -0x5d2,_0x5ef0cb);}return getServiceStatus();}function stopService(){const _0x49ce77={_0xcd94ed:0x612,_0x4d3785:0x46c,_0x1131ef:0x6e7,_0x11b436:0x62b,_0x1376c0:0x767,_0x12f0b5:0xd1,_0x37cb9e:0x510,_0x57058f:0x737,_0x362655:0x459,_0x386975:0x1f5,_0x3d42ae:0x3d1,_0x391e1c:0xa77,_0x3b616b:0x49e},_0xb7a333={_0x1e1bcc:0x3ab};function _0x2b7104(_0x3d08b3,_0x5b1500){return _0x35d151(_0x3d08b3,_0x5b1500- -0x2b);}const _0x280b6a={'yPVsc':function(_0x1eb940,_0x4e2232,_0x5cdd19){return _0x1eb940(_0x4e2232,_0x5cdd19);},'Simvv':_0x64cb12(_0x49ce77._0xcd94ed,_0x49ce77._0x4d3785),'jGrER':'win32','nMpAc':function(_0x108b90){return _0x108b90();}};stopRunningProcess();switch(process['platform']){case _0x2b7104(_0x49ce77._0x1131ef,_0x49ce77._0x11b436):_0xf90435(MACOS_PLIST_PATH)&&_0x280b6a[_0x2b7104(_0x49ce77._0x1376c0,0x512)](execIgnoreFailure,_0x2b7104(_0x49ce77._0x12f0b5,0xe3)+'l',[_0x280b6a[_0x64cb12(_0x49ce77._0x37cb9e,_0x49ce77._0x57058f)],MACOS_PLIST_PATH]);break;case _0x2b7104(_0x49ce77._0x362655,_0x49ce77._0x386975):_0xf90435(LINUX_SERVICE_PATH)&&execIgnoreFailure(_0x2b7104(_0x49ce77._0x3d42ae,0x565)+'l',[_0x64cb12(0x83c,_0x49ce77._0x391e1c),'stop',SYSTEMD_UNIT_NAME]);break;case _0x280b6a[_0x64cb12(0xa06,0x7ff)]:break;default:break;}clearServiceState();function _0x64cb12(_0x4bae59,_0x3c8286){return _0x35d151(_0x3c8286,_0x4bae59-_0xb7a333._0x1e1bcc);}return _0x280b6a[_0x2b7104(0x2ac,_0x49ce77._0x3b616b)](getServiceStatus);}function writeServiceState(_0x251e86=process[_0x35d151(0x44d,0x541)]){const _0x48dadb={_0x40498e:0x9e,_0xda2767:0x5c,_0x2ac934:0x217,_0x16728a:0x14a,_0x400d04:0x118,_0x27ad62:0x147},_0xb44fc8={_0x24aee3:0x14b};ensureServiceDirs();function _0x4ebb51(_0x2e603b,_0x5e2bd2){return _0x341e52(_0x2e603b- -_0xb44fc8._0x24aee3,_0x5e2bd2);}const _0x4aac2f={'pid':_0x251e86,'startedAt':new Date()[_0x2b2f0f(-_0x48dadb._0x40498e,-_0x48dadb._0xda2767)+_0x2b2f0f(0x1ea,0x212)]()};function _0x2b2f0f(_0x107ea8,_0x44aaab){return _0x341e52(_0x107ea8- -0x561,_0x44aaab);}_0x162251(SERVICE_STATE_PATH,JSON[_0x2b2f0f(_0x48dadb._0x2ac934,_0x48dadb._0x16728a)+'y'](_0x4aac2f,null,0x2)+'\x0a',_0x2b2f0f(_0x48dadb._0x400d04,_0x48dadb._0x27ad62));}function registerRuntimeProcess(_0x1967df){const _0x2d1384={_0x2ca1b4:0x4fb,_0x19f1d7:0x73f,_0x38e2c8:0x8da,_0x428528:0x445,_0x467f6a:0x3ec,_0x565268:0x7b7,_0x5e6e2c:0x49e,_0x14fc4c:0x5d8,_0xa4d2ca:0x532},_0xf06082={_0x937d95:0x1fe};ensureServiceDirs();const _0x2841dc={'pid':_0x1967df[_0x1e3202(0x73f,_0x2d1384._0x2ca1b4)]??process[_0x1e3202(_0x2d1384._0x19f1d7,_0x2d1384._0x38e2c8)],'startedAt':_0x1967df['startedA'+'t']??new Date()[_0x1e3202(_0x2d1384._0x428528,_0x2d1384._0x467f6a)+_0x49ae30(0x75d,0x55d)](),'gatewayId':_0x1967df[_0x49ae30(_0x2d1384._0x565268,0xaa2)+'d'],'instanceId':_0x1967df['instance'+'Id'],'serviceMode':_0x1967df[_0x49ae30(0x3b3,0x116)+_0x49ae30(0x45e,_0x2d1384._0x5e6e2c)],'scriptPath':resolveScriptPath(_0x1967df[_0x49ae30(_0x2d1384._0x14fc4c,_0x2d1384._0xa4d2ca)+'th'])},_0x28ec4d=readRuntimeRegistry()['filter'](_0x4a4003=>_0x4a4003[_0x49ae30(0x7cf,0xa88)]!==_0x2841dc['pid'])[_0x1e3202(0x475,0x2e1)](_0x2841dc);function _0x1e3202(_0x182da7,_0x5041af){return _0x35d151(_0x5041af,_0x182da7-_0xf06082._0x937d95);}function _0x49ae30(_0xfa0484,_0xe6e82b){return _0x35d151(_0xe6e82b,_0xfa0484-0x28e);}writeRuntimeRegistry(_0x28ec4d);}function unregisterRuntimeProcess(_0x2b4138=process['pid']){const _0xbbd72e={_0x3713bc:0x29e};function _0xe432fc(_0x4dd476,_0x4328a6){return _0x35d151(_0x4328a6,_0x4dd476-0x25b);}const _0x43be1d={'pjQsM':function(_0x2b7b13,_0x570d5d){return _0x2b7b13(_0x570d5d);}},_0x116a2e=readRuntimeRegistry()['filter'](_0x13d4a0=>_0x13d4a0[_0xe432fc(0x79c,0x958)]!==_0x2b4138);function _0x40661a(_0x119469,_0x2d98bf){return _0x35d151(_0x119469,_0x2d98bf- -0x2eb);}_0x43be1d[_0x40661a(-_0xbbd72e._0x3713bc,-0x1f8)](writeRuntimeRegistry,_0x116a2e);}function isAutostartUnsupportedError(_0x1e164e){const _0x541c1d={_0x4e898e:0x610,_0x21ba21:0x704,_0x2a9d9a:0x565,_0x333cb3:0x23d,_0x3c7754:0x3b5,_0x295a61:0x3a8,_0x159f94:0x245,_0x2aaeca:0x405,_0x34ef0b:0x23e,_0x19c17f:0x311};function _0x46c71f(_0x5da752,_0xd1f7d1){return _0x341e52(_0xd1f7d1- -0x39e,_0x5da752);}function _0x5089a3(_0x57a1e8,_0x186353){return _0x341e52(_0x186353- -0x1b4,_0x57a1e8);}const _0x237547=formatError(_0x1e164e)[_0x5089a3(_0x541c1d._0x4e898e,_0x541c1d._0x21ba21)+_0x46c71f(0x6ff,_0x541c1d._0x2a9d9a)]();return _0x237547[_0x5089a3(0x512,_0x541c1d._0x333cb3)]('no\x20cront'+_0x5089a3(_0x541c1d._0x3c7754,_0x541c1d._0x295a61)+_0x5089a3(0x174,_0x541c1d._0x159f94)+_0x46c71f(0x64d,0x5c0))||_0x237547[_0x46c71f(-0x29a,0x53)]('unsuppor'+'ted\x20plat'+_0x5089a3(0x2d1,0x273)+_0x46c71f(0x5d5,_0x541c1d._0x2aaeca)+_0x5089a3(_0x541c1d._0x34ef0b,_0x541c1d._0x19c17f));}function listRuntimeProcesses(_0x19dc34={}){const _0x26c231={_0x3ae4ce:0x218,_0x4f7921:0x678,_0x21d051:0x109,_0x526f38:0x1a2},_0x14c949={_0x854673:0x21b},_0x32fef6={_0x14a411:0x1d5},_0x1da601={'dnqbf':function(_0x3a79bb,_0x405afe){return _0x3a79bb(_0x405afe);}};function _0xe76be3(_0x535064,_0x47899c){return _0x35d151(_0x47899c,_0x535064- -_0x32fef6._0x14a411);}const _0x3890ee=resolveScriptPath(_0x19dc34['scriptPa'+'th']),_0x4fa54d=readRuntimeRegistry();function _0x426ecb(_0x57d51a,_0x2af21f){return _0x35d151(_0x57d51a,_0x2af21f- -_0x14c949._0x854673);}const _0x5aadb0=[..._0x4fa54d],_0x26b1b5=new Set(_0x4fa54d[_0xe76be3(-0xa5,0x52)](_0x491553=>_0x491553['pid']));for(const _0x45f840 of _0x1da601[_0xe76be3(_0x26c231._0x3ae4ce,0x514)](listPosixRuntimePids,_0x3890ee)){if(_0x26b1b5[_0x426ecb(_0x26c231._0x4f7921,0x47a)](_0x45f840))continue;_0x5aadb0['push']({'pid':_0x45f840,'startedAt':new Date(0x0)['toISOStr'+_0xe76be3(0x2fa,0xb1)](),'gatewayId':'','instanceId':'','serviceMode':![],'scriptPath':_0x3890ee});}return _0x5aadb0[_0xe76be3(-0x82,_0x26c231._0x21d051)](_0x5910bc=>isPidRunning(_0x5910bc[_0x426ecb(0x319,0x326)]))[_0x426ecb(-_0x26c231._0x526f38,0xea)]((_0x5af158,_0x126ea0)=>_0x5af158[_0x426ecb(0x48d,0x326)]-_0x126ea0[_0x426ecb(0x12b,0x326)]);}function stopRuntimeProcesses(_0x5d2b47={}){const _0xabb50={_0x163913:0x6ef,_0x5400f3:0x22d,_0x36227e:0x751,_0x5ad322:0x71d,_0x47c062:0xef,_0x487ee6:0x7ab,_0x311a52:0x55e,_0x3523ca:0x61b,_0x4d449a:0x258,_0x2af9c9:0x2c7,_0x10da66:0x4ea,_0x124a77:0x574,_0x43dd43:0x6f0,_0x205251:0x61b,_0x4f37d0:0x77d,_0x3e2bf8:0x698,_0x4429a0:0xb7,_0x4766d6:0x186,_0x5beab9:0x178,_0x1fbcba:0x20a},_0x52702b={'QdenO':function(_0x46e9f7,_0x4432f0){return _0x46e9f7(_0x4432f0);},'XkgYz':function(_0x5e7ab0,_0x223d87){return _0x5e7ab0(_0x223d87);}};function _0xa7c0b2(_0x5110e6,_0x3ca310){return _0x341e52(_0x3ca310- -0x1a2,_0x5110e6);}const _0x4e2679={};_0x4e2679['scriptPa'+'th']=_0x5d2b47[_0xa7c0b2(0x143,0x424)+'th'];const _0x4338cb=_0x52702b[_0x165dee(_0xabb50._0x163913,0x458)](listRuntimeProcesses,_0x4e2679),_0x145dfe=_0x4338cb[_0xa7c0b2(0x2df,_0xabb50._0x5400f3)](_0x1ef6c9=>_0x1ef6c9[_0xa7c0b2(0x361,0x61b)]!==(_0x5d2b47['excludeP'+'id']??-0x1));if(process[_0xa7c0b2(0xa06,_0xabb50._0x36227e)]===_0x165dee(0x375,0x3a1))for(const _0xf220e5 of _0x145dfe){execIgnoreFailure(_0xa7c0b2(_0xabb50._0x5ad322,0x5e2),[_0x165dee(_0xabb50._0x47c062,0x259),_0x52702b[_0x165dee(_0xabb50._0x487ee6,0x5b8)](String,_0xf220e5[_0xa7c0b2(_0xabb50._0x311a52,_0xabb50._0x3523ca)]),'/T','/F']);}else{for(const _0x39e425 of _0x145dfe){execIgnoreFailure(_0x165dee(_0xabb50._0x4d449a,_0xabb50._0x2af9c9),[_0x165dee(0x6b5,_0xabb50._0x10da66),String(_0x39e425[_0x165dee(0x5a1,_0xabb50._0x124a77)])]);}for(const _0x11273f of _0x145dfe){!waitForPidExit(_0x11273f[_0xa7c0b2(_0xabb50._0x43dd43,_0xabb50._0x205251)],0xbb8)&&execIgnoreFailure(_0x165dee(0x23,_0xabb50._0x2af9c9),[_0xa7c0b2(0x47a,_0xabb50._0x4f37d0),String(_0x11273f[_0xa7c0b2(_0xabb50._0x3e2bf8,0x61b)])]);}}function _0x165dee(_0xd85ce9,_0x5056bc){return _0x341e52(_0x5056bc- -0x249,_0xd85ce9);}const _0x522d74=readRuntimeRegistry()[_0x165dee(-_0xabb50._0x4429a0,_0xabb50._0x4766d6)](_0x28e68b=>!_0x145dfe['some'](_0x4adfd1=>_0x4adfd1[_0xa7c0b2(0x8a8,0x61b)]===_0x28e68b['pid']));writeRuntimeRegistry(_0x522d74);const _0x5ca05f=readServiceState();return _0x5ca05f&&_0x145dfe[_0xa7c0b2(_0xabb50._0x5beab9,0x33f)](_0x1266a0=>_0x1266a0[_0xa7c0b2(0x91f,0x61b)]===_0x5ca05f['pid'])&&clearServiceState(),_0x145dfe[_0xa7c0b2(0x377,_0xabb50._0x1fbcba)](_0x3207c0=>_0x3207c0[_0x165dee(0x5d9,0x574)]);}function clearServiceState(_0x3a0138){const _0x3780a7={_0x28f4a8:0x6a7,_0x101dfb:0x4db},_0x47867b={_0x48903a:0x136},_0xa0d9b0={'PIBEZ':function(_0x72704e,_0x44ba16){return _0x72704e(_0x44ba16);},'LLCQd':function(_0x9312b3,_0x339af7){return _0x9312b3!=_0x339af7;}};function _0x1fa333(_0x1ba135,_0x8cf82c){return _0x35d151(_0x8cf82c,_0x1ba135-_0x47867b._0x48903a);}if(!_0xa0d9b0['PIBEZ'](_0xf90435,SERVICE_STATE_PATH))return;if(_0xa0d9b0[_0x1fa333(_0x3780a7._0x28f4a8,_0x3780a7._0x101dfb)](_0x3a0138,null)){const _0x15869d=readServiceState();if(_0x15869d&&_0x15869d['pid']!==_0x3a0138)return;}rmIfExists(SERVICE_STATE_PATH);}function getServicePaths(){return{'logPath':SERVICE_LOG_PATH,'errorLogPath':SERVICE_ERROR_LOG_PATH,'servicePath':getServicePath(detectServiceMethod())};}function buildMacosPlist(_0x4c4176,_0x287f9e,_0x2f9f73){const _0x525690={_0x5a791c:0x3e8,_0x254fca:0x444,_0x2f8840:0x966,_0x2e33b7:0x744,_0x45d9c0:0x586,_0x149180:0x6fd,_0x46daa0:0x909,_0x3fb78c:0x52b,_0x3bcad6:0x705,_0x299029:0x6f5,_0x378e25:0x5d2,_0x3c7989:0x83e,_0x33f862:0xa6e,_0x37b9d7:0xa56,_0xa71f8a:0x4a7,_0x4075d7:0x57f,_0x5593e0:0x2be,_0x53e732:0x743,_0x2a341b:0x9fc,_0x527b5d:0x5d7,_0x25bb11:0x750,_0x5fb911:0xa11,_0x13166e:0x866,_0xd0e332:0x6c2,_0xfe302:0x564,_0x1112e5:0x8b8,_0xaa34e8:0x4da,_0x2f7fd1:0x759,_0x2fc978:0x627,_0x5e158f:0x966,_0x4f08b3:0x74b,_0x210763:0x464,_0x4f9777:0x766,_0x5438ac:0x762,_0x328bbe:0x977,_0x119ef0:0x6d2,_0x547e44:0x4dc,_0x22d604:0xac8,_0x49ae85:0x7bf,_0x5c5afd:0x56e,_0x204785:0x8a8},_0x3b38d6={_0xc7d657:0x2b8},_0x3b23c5={_0x5cbb54:0x416};function _0x372acc(_0x4f1b5d,_0x2254d6){return _0x35d151(_0x2254d6,_0x4f1b5d-_0x3b23c5._0x5cbb54);}const _0x348770={'YJZXn':function(_0x5d6202,_0x4d8da4){return _0x5d6202(_0x4d8da4);}};function _0x713d42(_0x229bdc,_0x3f3ce5){return _0x35d151(_0x229bdc,_0x3f3ce5-_0x3b38d6._0xc7d657);}const _0x2f9be0=_0x4c4176[_0x713d42(0x6e8,_0x525690._0x5a791c)](_0x4ecadd=>_0x372acc(0x8f4,0x7a4)+_0x372acc(0x5d2,0x7d6)+escapeXml(_0x4ecadd)+(_0x372acc(0x57f,0x4c6)+'>'))['join']('\x0a');return'<?xml\x20ve'+_0x713d42(_0x525690._0x254fca,0x4bc)+'.0\x22\x20enco'+'ding=\x22UT'+_0x713d42(0x745,_0x525690._0x2f8840)+_0x372acc(_0x525690._0x2e33b7,_0x525690._0x45d9c0)+_0x713d42(0x944,0x894)+_0x713d42(_0x525690._0x149180,_0x525690._0x46daa0)+_0x713d42(0x786,0x567)+'/DTD\x20PLI'+_0x713d42(0x484,_0x525690._0x3fb78c)+_0x372acc(0x93e,0x9c3)+'p://www.'+_0x713d42(_0x525690._0x3bcad6,0x5ae)+_0x713d42(0x451,0x4e4)+_0x372acc(0x898,0x815)+_0x372acc(_0x525690._0x299029,_0x525690._0x378e25)+_0x713d42(0x886,0x5f7)+'list\x20ver'+_0x372acc(_0x525690._0x3c7989,0x933)+_0x372acc(_0x525690._0x33f862,0xa0a)+_0x372acc(0x902,_0x525690._0x37b9d7)+_0x372acc(0x54f,_0x525690._0xa71f8a)+'/key>\x0a\x20\x20'+'<string>'+SERVICE_LABEL+(_0x372acc(_0x525690._0x4075d7,_0x525690._0x5593e0)+_0x372acc(_0x525690._0x53e732,_0x525690._0x2a341b)+'>Program'+_0x713d42(_0x525690._0x527b5d,_0x525690._0x25bb11)+_0x713d42(0x31d,0x3a7)+_0x372acc(0x94c,0x7cc)+'>\x0a')+_0x2f9be0+(_0x713d42(0x375,0x3fe)+_0x372acc(_0x525690._0x5fb911,0xac6)+_0x372acc(0x5b4,_0x525690._0x13166e)+_0x713d42(0x90d,_0x525690._0xd0e332)+_0x372acc(_0x525690._0xfe302,0x2fe)+_0x372acc(_0x525690._0x1112e5,0x767)+_0x713d42(0x391,0x62a)+'Alive</k'+'ey>\x0a\x20\x20<t'+_0x713d42(0x462,_0x525690._0xaa34e8)+_0x372acc(0xa7b,0xaef)+_0x372acc(0x7a0,0x89e)+_0x713d42(0x506,_0x525690._0x2f7fd1)+_0x372acc(_0x525690._0x2fc978,0x8d6)+_0x713d42(_0x525690._0x5e158f,_0x525690._0x4f08b3))+_0x348770['YJZXn'](escapeXml,_0x287f9e)+('</string'+_0x713d42(_0x525690._0x210763,0x5e5)+_0x372acc(_0x525690._0x4f9777,_0x525690._0x5438ac)+_0x713d42(_0x525690._0x328bbe,_0x525690._0x119ef0)+_0x713d42(0x49f,_0x525690._0x547e44)+_0x372acc(_0x525690._0x22d604,_0x525690._0x49ae85)+_0x713d42(0x225,0x420))+escapeXml(_0x2f9f73)+(_0x713d42(_0x525690._0x5c5afd,0x421)+'>\x0a</dict'+_0x713d42(0x998,_0x525690._0x204785)+'t>\x0a');}function buildLinuxSystemdUnit(_0xe6316d,_0x25b2ac,_0x2a2c61){const _0x5431f3={_0x1027de:0x229,_0x3e7eb6:0x9d8,_0x484053:0xaeb,_0x117ae2:0x2f9,_0x3e428c:0xbf,_0x45a5e5:0x4d0,_0x111cf8:0x2d0,_0x410af6:0x36d,_0x18b5b4:0x1d4,_0x4d776c:0x1fe,_0x4cd6dd:0x465,_0x1a7235:0x2b7,_0x4ceb26:0x3d5,_0x100f24:0x394,_0x35dc4d:0x1b,_0x4de214:0x9b9,_0x14c713:0x656,_0x21cf4e:0x504,_0x23a61a:0x57c,_0x25417e:0x4f5,_0x94cc18:0x92e,_0x2a4955:0x7a5,_0x474262:0x536,_0x3dd2d5:0x35d,_0x56f3d0:0x9};function _0x43532d(_0x202043,_0x5a38d0){return _0x35d151(_0x5a38d0,_0x202043-0x2f8);}const _0x562fe9=_0xe6316d[_0x821a81(-0x1e2,-_0x5431f3._0x1027de)](escapeSystemdArg)[_0x43532d(_0x5431f3._0x3e7eb6,_0x5431f3._0x484053)]('\x20');function _0x821a81(_0x590dfe,_0x2ed27f){return _0x35d151(_0x590dfe,_0x2ed27f- -0x359);}return _0x43532d(0x7da,0x9e7)+_0x821a81(-_0x5431f3._0x117ae2,-_0x5431f3._0x3e428c)+_0x821a81(-0x1b7,-0x196)+'et\x20Bridg'+_0x43532d(_0x5431f3._0x45a5e5,_0x5431f3._0x111cf8)+_0x821a81(0x66b,_0x5431f3._0x410af6)+_0x821a81(0x382,_0x5431f3._0x18b5b4)+'ne.targe'+'t\x0aWants='+_0x43532d(0x6f1,0x48a)+_0x821a81(-0x353,-_0x5431f3._0x4d776c)+_0x43532d(0x638,0x7e4)+'Service]'+'\x0aType=si'+'mple\x0aExe'+_0x821a81(0x2a,0x5d)+_0x562fe9+(_0x43532d(0x716,_0x5431f3._0x4cd6dd)+_0x821a81(0x107,0x172)+'RestartS'+_0x821a81(0x29c,_0x5431f3._0x1a7235)+_0x821a81(0x113,-0xab)+_0x821a81(_0x5431f3._0x4ceb26,_0x5431f3._0x100f24))+escapeSystemdArg(SERVICE_DIR)+(_0x821a81(_0x5431f3._0x35dc4d,-0x49)+_0x43532d(_0x5431f3._0x4de214,0x6b5)+_0x43532d(0x4b8,_0x5431f3._0x14c713))+_0x25b2ac+(_0x43532d(0x608,_0x5431f3._0x21cf4e)+_0x43532d(_0x5431f3._0x23a61a,_0x5431f3._0x25417e)+_0x43532d(_0x5431f3._0x94cc18,0xac2))+_0x2a2c61+(_0x43532d(_0x5431f3._0x2a4955,0x8cd)+'ll]\x0aWant'+_0x43532d(_0x5431f3._0x474262,_0x5431f3._0x3dd2d5)+'ault.tar'+_0x821a81(-0xc7,_0x5431f3._0x56f3d0));}function buildLinuxCronEntry(_0x5598ba,_0x2f6b95,_0x42ed37){const _0x29785c={_0x34beef:0x534,_0x2a8b9e:0x8df,_0x1e42ed:0x339,_0x81236a:0x2fc},_0x1a4f6f={_0x5d112b:0x48},_0x29b71b={'SpLJF':function(_0x1d7223,_0x4ac5bf){return _0x1d7223(_0x4ac5bf);}};function _0x56a715(_0x1979a6,_0x36e455){return _0x35d151(_0x36e455,_0x1979a6- -_0x1a4f6f._0x5d112b);}const _0x79d87=_0x5598ba[_0x55874d(_0x29785c._0x34beef,0x3fd)](escapeShellWord)['join']('\x20');function _0x55874d(_0x491d5b,_0x3094c9){return _0x35d151(_0x3094c9,_0x491d5b-0x404);}return _0x55874d(0x60a,_0x29785c._0x2a8b9e)+_0x79d87+_0x55874d(0x5cf,0x6c3)+_0x29b71b[_0x55874d(0x54c,0x76d)](escapeShellWord,_0x2f6b95)+_0x56a715(_0x29785c._0x1e42ed,_0x29785c._0x81236a)+escapeShellWord(_0x42ed37)+'\x20'+LINUX_CRON_MARKER;}function getServicePath(_0x1f252f){const _0xb0232b={_0x120d84:0x5e1,_0x37f9ed:0x7ae,_0x2134c1:0x5ae,_0x341dd5:0x4bc,_0x28711c:0x581,_0x13bbc8:0x54a,_0x2afda2:0xa3f,_0x43e188:0x99d,_0x2daf6b:0x722,_0x31da47:0x8f2,_0xddab56:0x43f,_0x5467bb:0x5cd},_0x3b27ba={_0x2303f7:0x2f1};function _0x4173c5(_0x29ddec,_0x22820f){return _0x341e52(_0x22820f- -_0x3b27ba._0x2303f7,_0x29ddec);}function _0xaccccf(_0x26bc4c,_0x52e207){return _0x341e52(_0x52e207-0x112,_0x26bc4c);}switch(process['platform']){case _0x4173c5(0x3f6,_0xb0232b._0x120d84):return MACOS_PLIST_PATH;case _0xaccccf(_0xb0232b._0x37f9ed,_0xb0232b._0x2134c1):return _0x1f252f===_0xaccccf(0x35e,_0xb0232b._0x341dd5)+_0xaccccf(0x77a,_0xb0232b._0x28711c)?LINUX_CRON_RECORD_PATH:LINUX_SERVICE_PATH;case _0xaccccf(_0xb0232b._0x13bbc8,0x6fc):return _0xaccccf(0x87c,0x9a5)+'tware\x5cMi'+_0x4173c5(0x28f,0x198)+_0xaccccf(0xb1c,_0xb0232b._0x2afda2)+_0xaccccf(0x9a5,_0xb0232b._0x43e188)+_0x4173c5(_0xb0232b._0x2daf6b,0x4a1)+'un\x5cClawk'+_0xaccccf(0x9b0,_0xb0232b._0x31da47)+_0xaccccf(_0xb0232b._0xddab56,_0xb0232b._0x5467bb);default:return'';}}function detectServiceMethod(){const _0x3d9228={_0x40696b:0x7ab,_0x27aa84:0x46c,_0x1b3e91:0x599,_0x196041:0x75e,_0x1aa54e:0x85b,_0x564b79:0x73a,_0x14639c:0x73b,_0x42c2c3:0x847,_0x213bb9:0x8eb,_0x41d0d9:0x7c8,_0x3804ad:0x7f2,_0x116b52:0xa13,_0x149dd6:0x22c,_0x353480:0x117,_0x50cee3:0x5f2,_0x55d9d1:0x658,_0x297d49:0x3a2,_0x6c71f6:0x608,_0x19eed1:0x467,_0x9e17c1:0x3a1,_0xeb9b1e:0x237,_0xe26650:0x8b1,_0x28bd5c:0x6c0,_0x2cff01:0x42b},_0x314f45={_0x4477e4:0xfe},_0x4eb6ae={'eoMZB':'darwin','ZDrzH':_0x16014d(0x3a4,0x39e)+_0x16014d(0x4fe,_0x3d9228._0x40696b),'DzDhy':function(_0x228a18,_0x464286){return _0x228a18(_0x464286);},'ZUijo':'systemct'+'l','xJSxU':_0x16014d(_0x3d9228._0x27aa84,_0x3d9228._0x1b3e91),'tkWXG':_0x798004(_0x3d9228._0x196041,0x8f3)+_0x798004(_0x3d9228._0x1aa54e,_0x3d9228._0x564b79)+_0x16014d(_0x3d9228._0x14639c,_0x3d9228._0x42c2c3)};function _0x16014d(_0xcce22e,_0x3fe05d){return _0x35d151(_0x3fe05d,_0xcce22e-_0x314f45._0x4477e4);}function _0x798004(_0xa0f338,_0x4e4128){return _0x35d151(_0x4e4128,_0xa0f338-0x274);}switch(process[_0x798004(_0x3d9228._0x213bb9,0x819)]){case _0x4eb6ae[_0x16014d(0x3e4,0x420)]:return _0x4eb6ae[_0x16014d(0x79f,0x66c)];case _0x16014d(0x31e,0x1c7):if(_0x4eb6ae[_0x16014d(_0x3d9228._0x41d0d9,_0x3d9228._0x3804ad)](_0xf90435,LINUX_SERVICE_PATH))return'systemd-'+_0x798004(0x8b4,_0x3d9228._0x116b52);if(hasLinuxCronRegistration())return _0x16014d(_0x3d9228._0x149dd6,-0x60)+'ontab';if(commandExists(_0x4eb6ae[_0x16014d(0x1ee,_0x3d9228._0x353480)]))return _0x16014d(0x436,_0x3d9228._0x50cee3)+'user';if(commandExists(_0x798004(0x539,_0x3d9228._0x55d9d1)))return _0x798004(_0x3d9228._0x297d49,_0x3d9228._0x6c71f6)+_0x798004(_0x3d9228._0x19eed1,0x430);return'unsuppor'+_0x798004(_0x3d9228._0x9e17c1,_0x3d9228._0xeb9b1e);case _0x4eb6ae[_0x16014d(0x786,_0x3d9228._0xe26650)]:return _0x4eb6ae[_0x798004(0x3c1,_0x3d9228._0x28bd5c)];default:return _0x16014d(0x357,_0x3d9228._0x2cff01)+_0x798004(0x3a1,0x308);}}function readServiceState(){const _0x53eb2f={_0x27ad17:0x56b,_0x2eee69:0x2ca,_0x5eccbf:0x364,_0x508e57:0x5ef,_0x377fdc:0x6bb,_0x55e0d4:0x4e9};function _0xd46b60(_0x4b9d31,_0x1a2ec2){return _0x341e52(_0x4b9d31- -0x252,_0x1a2ec2);}function _0x528d5d(_0x2c040c,_0x31e860){return _0x341e52(_0x2c040c-0x26,_0x31e860);}if(!_0xf90435(SERVICE_STATE_PATH))return null;try{const _0x5e4753=JSON[_0xd46b60(0x64b,0x49c)](_0x3f080b(SERVICE_STATE_PATH,'utf8'));if(!_0x5e4753[_0xd46b60(_0x53eb2f._0x27ad17,_0x53eb2f._0x2eee69)]||typeof _0x5e4753['pid']!==_0xd46b60(_0x53eb2f._0x5eccbf,_0x53eb2f._0x508e57))return null;return{'pid':_0x5e4753['pid'],'startedAt':_0x5e4753[_0x528d5d(_0x53eb2f._0x377fdc,0x82e)+'t']??new Date(0x0)[_0x528d5d(_0x53eb2f._0x55e0d4,0x365)+'ing']()};}catch{return null;}}function readRuntimeRegistry(){const _0x20e558={_0x10c285:0x632,_0x4e9bbf:0x6e9,_0x422230:0x7ec,_0x11ccce:0x23e,_0xa5002a:0x335,_0x12378f:0x4ad},_0x3230f9={_0x1a35d1:0x37d};function _0x3bdbb4(_0xf6f44,_0x5d9662){return _0x35d151(_0xf6f44,_0x5d9662-0x2ec);}const _0x4ec581={};_0x4ec581[_0x2a0f41(0x909,_0x20e558._0x10c285)]=_0x3bdbb4(0x6fd,_0x20e558._0x4e9bbf);const _0x46bb00=_0x4ec581;if(!_0xf90435(RUNTIME_REGISTRY_PATH))return[];function _0x2a0f41(_0x1feef0,_0x3840ca){return _0x35d151(_0x1feef0,_0x3840ca-_0x3230f9._0x1a35d1);}try{const _0x434078=JSON[_0x3bdbb4(_0x20e558._0x422230,0x90d)](_0x3f080b(RUNTIME_REGISTRY_PATH,_0x46bb00['svAQZ']));if(!Array[_0x3bdbb4(_0x20e558._0x11ccce,0x4c6)](_0x434078))return[];const _0x378c46=_0x434078[_0x2a0f41(_0x20e558._0xa5002a,_0x20e558._0x12378f)](_0x1f2908=>normalizeRuntimeProcessRecord(_0x1f2908))['filter'](_0x4b5cfb=>_0x4b5cfb!=null&&isPidRunning(_0x4b5cfb[_0x2a0f41(0x796,0x8be)]));return writeRuntimeRegistry(_0x378c46),_0x378c46;}catch{return[];}}function writeRuntimeRegistry(_0x3baa8b){const _0x4910f1={_0x1112b3:0x808,_0x474f3a:0x370,_0xbcc392:0x346,_0x44f0b0:0x444,_0xa989ec:0xb9,_0x5c9b6a:0x253},_0x545fb0={_0x197cec:0x334},_0x25e1fa={'apErR':function(_0x548f87,_0x2883ca){return _0x548f87===_0x2883ca;},'yKSfk':function(_0x8fb34e){return _0x8fb34e();},'UQoxE':'utf8'};if(_0x25e1fa[_0x1517e7(0x5ca,0x580)](_0x3baa8b[_0x36e10d(_0x4910f1._0x1112b3,0x71d)],0x0)){rmIfExists(RUNTIME_REGISTRY_PATH);return;}function _0x1517e7(_0x519639,_0x4002fc){return _0x341e52(_0x4002fc- -_0x545fb0._0x197cec,_0x519639);}_0x25e1fa[_0x36e10d(0x382,_0x4910f1._0x474f3a)](ensureServiceDirs);function _0x36e10d(_0x472c08,_0xb0aa2a){return _0x341e52(_0x472c08- -0x61,_0xb0aa2a);}_0x162251(RUNTIME_REGISTRY_PATH,JSON[_0x1517e7(_0x4910f1._0xbcc392,_0x4910f1._0x44f0b0)+'y'](_0x3baa8b,null,0x2)+'\x0a',_0x25e1fa[_0x1517e7(-_0x4910f1._0xa989ec,_0x4910f1._0x5c9b6a)]);}function normalizeRuntimeProcessRecord(_0x59f46d){const _0x3073ee={_0x594820:0x3c5,_0x408dc4:0x52e,_0x28564c:0x421,_0x123ed1:0x449,_0x5ea4dc:0x2f6,_0x47d09e:0x33b,_0x1338b8:0x57a,_0x3161ef:0x245,_0x29998d:0x2f5,_0x1ae88e:0x144,_0x8b6b70:0x1a5,_0x245aa0:0x4ce,_0x46d57f:0x2b6,_0x5e8d70:0x182,_0x23c736:0x45c,_0x164daf:0x300,_0x30d032:0x2e0,_0x1aadc9:0x2bd,_0x1ce4f8:0x31d,_0x41b1ad:0x363,_0x33ca31:0x29,_0x12ca39:0x65},_0x4fe294={_0x170a99:0x73},_0xd9d561={_0x39769f:0x206},_0x4984af={};_0x4984af['KNLIB']=function(_0x3c941b,_0x9a074e){return _0x3c941b!==_0x9a074e;},_0x4984af[_0x57b326(_0x3073ee._0x594820,_0x3073ee._0x408dc4)]='number',_0x4984af[_0x57b326(_0x3073ee._0x28564c,_0x3073ee._0x123ed1)]=_0x2ce72e(0x1f5,-0xa8),_0x4984af[_0x57b326(0x541,0x473)]=function(_0x40dff0,_0x3216db){return _0x40dff0===_0x3216db;},_0x4984af[_0x2ce72e(-_0x3073ee._0x5ea4dc,-0x6b)]=function(_0x23f6f2,_0x3733c7){return _0x23f6f2===_0x3733c7;};const _0x41b747=_0x4984af;if(!_0x59f46d||typeof _0x59f46d!==_0x57b326(-0xca,0x1ce))return null;const _0x99a55b=_0x59f46d;function _0x2ce72e(_0x5bc505,_0x36e210){return _0x35d151(_0x5bc505,_0x36e210- -_0xd9d561._0x39769f);}if(!_0x99a55b[_0x2ce72e(0x3a7,_0x3073ee._0x47d09e)]||_0x41b747[_0x57b326(_0x3073ee._0x1338b8,0x461)](typeof _0x99a55b[_0x57b326(_0x3073ee._0x3161ef,0x4ce)],_0x41b747[_0x57b326(_0x3073ee._0x29998d,0x52e)]))return null;function _0x57b326(_0x489915,_0x1b9813){return _0x35d151(_0x489915,_0x1b9813- -_0x4fe294._0x170a99);}const _0x3fa076=typeof _0x99a55b[_0x2ce72e(-0xab,_0x3073ee._0x1ae88e)+'th']===_0x41b747[_0x57b326(_0x3073ee._0x8b6b70,_0x3073ee._0x123ed1)]?resolveScriptPath(_0x99a55b['scriptPa'+'th']):'';if(!_0x3fa076)return null;return{'pid':_0x99a55b[_0x57b326(0x6a9,_0x3073ee._0x245aa0)],'startedAt':typeof _0x99a55b['startedA'+'t']===_0x41b747[_0x2ce72e(0x424,_0x3073ee._0x46d57f)]?_0x99a55b['startedA'+'t']:new Date(0x0)[_0x57b326(-0x12c,0x1d4)+_0x57b326(_0x3073ee._0x5e8d70,_0x3073ee._0x23c736)](),'gatewayId':_0x41b747[_0x2ce72e(_0x3073ee._0x164daf,_0x3073ee._0x30d032)](typeof _0x99a55b['gatewayI'+'d'],_0x57b326(0x11c,0xeb))?_0x99a55b[_0x2ce72e(_0x3073ee._0x1aadc9,0x323)+'d']:'','instanceId':typeof _0x99a55b[_0x57b326(_0x3073ee._0x1ce4f8,0x4f6)+'Id']===_0x57b326(0x1c,0xeb)?_0x99a55b[_0x2ce72e(0x143,_0x3073ee._0x41b1ad)+'Id']:'','serviceMode':_0x41b747[_0x57b326(-_0x3073ee._0x33ca31,0x128)](_0x99a55b['serviceM'+_0x57b326(-_0x3073ee._0x12ca39,0x15d)],!![]),'scriptPath':_0x3fa076};}function stopRunningProcess(){const _0x1efc17={_0x28b439:0xe,_0x5149e7:0xd0,_0x189284:0xae,_0x369aa8:0x14c,_0x5cb6f2:0x29f,_0x563c76:0x304},_0x5584a5={_0x516ced:0x5e7};function _0x52578b(_0x34c119,_0x114af6){return _0x341e52(_0x114af6- -_0x5584a5._0x516ced,_0x34c119);}const _0x17eccf={'DroXc':_0x52578b(-0x24d,0x3),'VtKZi':function(_0x523973,_0x2cc6c9){return _0x523973(_0x2cc6c9);}};function _0x29aeab(_0x3001c8,_0x4aa298){return _0x341e52(_0x3001c8- -0x51e,_0x4aa298);}const _0x2ce087=readServiceState();if(!_0x2ce087)return;execIgnoreFailure(process[_0x29aeab(0x3d5,0x2fc)]===_0x29aeab(0xcc,0x43)?_0x52578b(0x17d,0x19d):_0x29aeab(-_0x1efc17._0x28b439,0x173),process['platform']===_0x17eccf[_0x29aeab(-0x160,_0x1efc17._0x5149e7)]?['/PID',String(_0x2ce087['pid']),'/T','/F']:[_0x52578b(_0x1efc17._0x189284,_0x1efc17._0x369aa8),String(_0x2ce087[_0x29aeab(0x29f,0x50a)])]),_0x17eccf['VtKZi'](clearServiceState,_0x2ce087[_0x29aeab(_0x1efc17._0x5cb6f2,_0x1efc17._0x563c76)]);}function listPosixRuntimePids(_0x5e4b25){const _0x242af3={_0x8b38cd:0x100,_0x164934:0x358,_0x13aa11:0x3ba,_0x27e8e0:0x60e,_0x92646d:0x2e1,_0x58f1b6:0x419,_0x4a2c36:0xb9,_0x19845f:0x346,_0x3ba1ab:0x37e},_0x120793={_0x27551f:0x801,_0x38dfdb:0x591,_0x524dab:0x55b,_0x415486:0x7d6,_0x573ba2:0x7e2},_0x325222={};_0x325222[_0x47ac4(_0x242af3._0x8b38cd,0x11e)]=function(_0x264480,_0x27bda3){return _0x264480===_0x27bda3;};const _0x30f85f=_0x325222;function _0x47ac4(_0x36c6b3,_0x46785b){return _0x35d151(_0x36c6b3,_0x46785b- -0x2c7);}if(!_0x5e4b25||_0x30f85f[_0x124732(_0x242af3._0x164934,_0x242af3._0x13aa11)](process[_0x124732(0x5ea,_0x242af3._0x27e8e0)],_0x124732(_0x242af3._0x92646d,_0x242af3._0x58f1b6)))return[];function _0x124732(_0x4eb207,_0x59043a){return _0x35d151(_0x59043a,_0x4eb207- -0x8d);}try{const _0x55114f={};_0x55114f[_0x47ac4(-0x38b,-0x1cc)]=_0x47ac4(-_0x242af3._0x4a2c36,0x136);const _0x3f8c33=execFileSync('ps',[_0x124732(0x4de,0x572),'-o',_0x47ac4(0xe6,-0x1e8)+'s='],_0x55114f);return _0x3f8c33[_0x47ac4(0x3af,0x2dc)]('\x0a')[_0x124732(0xa3,_0x242af3._0x92646d)](_0x5db85d=>_0x5db85d[_0x47ac4(0x3b9,0xc0)]())['filter'](Boolean)[_0x124732(_0x242af3._0x19845f,_0x242af3._0x3ba1ab)](_0x5a2002=>{function _0x97594f(_0x2b3b67,_0x1ddcf3){return _0x124732(_0x2b3b67- -0x2dd,_0x1ddcf3);}function _0x442338(_0x1e2bb3,_0x11a301){return _0x124732(_0x1e2bb3-0x4a9,_0x11a301);}const _0x1a52f5=_0x5a2002['match'](/^(\d+)\s+(.*)$/);if(!_0x1a52f5)return[];const _0x4e74c2=Number(_0x1a52f5[0x1]),_0x4f3338=_0x1a52f5[0x2];if(!Number[_0x97594f(-0x115,-0x340)+'r'](_0x4e74c2)||_0x4e74c2<=0x0||_0x30f85f[_0x442338(_0x120793._0x27551f,0x8d6)](_0x4e74c2,process[_0x97594f(0x1d7,-0x73)]))return[];if(!_0x4f3338[_0x442338(_0x120793._0x38dfdb,_0x120793._0x524dab)](_0x5e4b25))return[];if(!/\brun\b/[_0x442338(_0x120793._0x415486,_0x120793._0x573ba2)](_0x4f3338))return[];return[_0x4e74c2];});}catch{return[];}}function isPidRunning(_0x1300c2){const _0x9dfbc4={_0x4b3bd7:0x1bd};function _0x2640d5(_0x1b4485,_0x24199d){return _0x35d151(_0x1b4485,_0x24199d- -0x180);}try{return process[_0x2640d5(-_0x9dfbc4._0x4b3bd7,0x114)](_0x1300c2,0x0),!![];}catch{return![];}}function waitForPidExit(_0x90e314,_0x57ca9d){const _0xc416bb={_0x3097d2:0x2dc,_0x19cc81:0x177,_0x39c93b:0x92,_0x57bf31:0x9b,_0x11e66c:0x395},_0x2f6b44={_0x41a391:0x4bf},_0x1ef73a=Date[_0x2d4d81(0x177,_0xc416bb._0x3097d2)]()+_0x57ca9d,_0x252ea9=new Int32Array(new SharedArrayBuffer(0x4));function _0x2d4d81(_0x2cc2b2,_0x3bf24d){return _0x341e52(_0x2cc2b2- -0x271,_0x3bf24d);}function _0x3fa3ae(_0x175000,_0x41bc59){return _0x341e52(_0x175000- -_0x2f6b44._0x41a391,_0x41bc59);}while(isPidRunning(_0x90e314)){if(Date[_0x2d4d81(_0xc416bb._0x19cc81,_0xc416bb._0x39c93b)]()>=_0x1ef73a)return![];Atomics[_0x3fa3ae(-_0xc416bb._0x57bf31,-_0xc416bb._0x11e66c)](_0x252ea9,0x0,0x0,0x32);}return!![];}function startDetachedWindowsService(_0x44dc76){const _0x436589={_0x357dea:0x56f,_0x4743c4:0x6fa,_0x4bc5c1:0xa44,_0x56751c:0x335,_0x1cb8a9:0x7cd},_0x4294b2={'BNSGa':function(_0x13ce87,_0x44e898){return _0x13ce87(_0x44e898);}};function _0x336292(_0x4bbca2,_0x2d28bc){return _0x341e52(_0x4bbca2- -0x141,_0x2d28bc);}function _0x50d2b4(_0x4d2553,_0x58e1c0){return _0x341e52(_0x58e1c0-0x5c,_0x4d2553);}const _0x58b1eb=openSync(SERVICE_LOG_PATH,'a'),_0x45e0ed=openSync(SERVICE_ERROR_LOG_PATH,'a');try{const [_0x393694,..._0x43aa26]=_0x44dc76,_0xe656f6={};_0xe656f6[_0x336292(_0x436589._0x357dea,0x3e2)]=!![],_0xe656f6[_0x50d2b4(_0x436589._0x4743c4,0x9ab)]=[_0x50d2b4(_0x436589._0x4bc5c1,0x8ca),_0x58b1eb,_0x45e0ed],_0xe656f6[_0x336292(_0x436589._0x56751c,0x449)+'ide']=!![];const _0x117934=spawn(_0x393694,_0x43aa26,_0xe656f6);_0x117934[_0x336292(_0x436589._0x1cb8a9,0x5d4)]();}finally{closeSync(_0x58b1eb),_0x4294b2[_0x50d2b4(0xaaf,0x931)](closeSync,_0x45e0ed);}}function startDetachedPosixService(_0x1447ee){const _0x99c84={_0x168985:0x157},_0x47ba66=openSync(SERVICE_LOG_PATH,'a');function _0x5448cb(_0x2f0453,_0x412cd2){return _0x341e52(_0x2f0453-0xf4,_0x412cd2);}function _0x2327d3(_0x4d673b,_0x48294e){return _0x341e52(_0x48294e-_0x99c84._0x168985,_0x4d673b);}const _0x3b62b1=openSync(SERVICE_ERROR_LOG_PATH,'a');try{const [_0x2f4383,..._0x2cd6b7]=_0x1447ee,_0x3c7177={};_0x3c7177[_0x5448cb(0x7a4,0xa6d)]=!![],_0x3c7177[_0x5448cb(0xa43,0xb82)]=['ignore',_0x47ba66,_0x3b62b1];const _0x20eabf=spawn(_0x2f4383,_0x2cd6b7,_0x3c7177);_0x20eabf['unref']();}finally{closeSync(_0x47ba66),closeSync(_0x3b62b1);}}async function waitForRuntimeState(_0x311416=0x5dc,_0x1aa438=0x32){const _0x2d005a={_0x1cbc3c:0x4e8,_0x3adbba:0x469,_0x3707c0:0x563,_0x1481e8:0x349,_0x21772f:0x714},_0x1262a0={_0x586486:0x274};function _0x476628(_0x56edb3,_0x32cc8b){return _0x35d151(_0x56edb3,_0x32cc8b-_0x1262a0._0x586486);}const _0x3b5e18={'UBuCf':function(_0x4c30ef,_0x2c0906){return _0x4c30ef+_0x2c0906;},'wwoqI':function(_0x22fbb9){return _0x22fbb9();},'ZycUr':function(_0x318282,_0x54162c){return _0x318282(_0x54162c);}};function _0x51b512(_0x7cc5a,_0x4c5c0e){return _0x35d151(_0x4c5c0e,_0x7cc5a-0xf8);}const _0x54b4a8=_0x3b5e18['UBuCf'](Date[_0x476628(0x148,0x3e0)](),_0x311416);let _0x4b31b6=_0x3b5e18[_0x51b512(_0x2d005a._0x1cbc3c,_0x2d005a._0x3adbba)](getServiceStatus);while(Date[_0x476628(_0x2d005a._0x3707c0,0x3e0)]()<_0x54b4a8){if(_0x4b31b6[_0x51b512(_0x2d005a._0x1481e8,0x3da)])return _0x4b31b6;await _0x3b5e18[_0x51b512(_0x2d005a._0x21772f,0x954)](_0x55d728,_0x1aa438),_0x4b31b6=getServiceStatus();}return _0x4b31b6;}function installLinuxService(_0x826a69){try{installLinuxSystemdService(_0x826a69),removeLinuxCronRegistration();return;}catch(_0x3049fd){installLinuxCronService(_0x826a69,_0x3049fd);}}function restartLinuxService(_0xe1fc71){const _0x1e7e38={_0x34670e:0x842},_0x45a526={'QHpIV':function(_0x3431ee,_0xd8dc18,_0x5ecf81){return _0x3431ee(_0xd8dc18,_0x5ecf81);}};function _0x2822d8(_0x263bd8,_0x574654){return _0x341e52(_0x574654- -0x18,_0x263bd8);}try{restartLinuxSystemdService(_0xe1fc71),removeLinuxCronRegistration();return;}catch(_0x1faace){_0x45a526[_0x2822d8(_0x1e7e38._0x34670e,0x78a)](installLinuxCronService,_0xe1fc71,_0x1faace);}}function installLinuxSystemdService(_0x42637a){const _0x5f5807={_0x48ef12:0x963,_0x2dcb37:0x686,_0x221c1b:0x800,_0xa51c9c:0x244,_0x39a162:0x546,_0x4c07f1:0xef,_0x1e74e6:0x74a,_0x1f3cee:0x934,_0x3cbc94:0x536,_0x64e7f5:0x7a9,_0x3b98f2:0xa49,_0x59438c:0xa77,_0x188534:0x912,_0x525367:0x39d,_0x9d703c:0x29e,_0x42c7d3:0x17f,_0x16135a:0x1b6,_0x4a9aa8:0x3ff,_0x5c99f6:0x687,_0x4bdc6d:0x361,_0x2271b2:0x1a,_0x161132:0x61f},_0xa8a8b2={_0x13db5b:0x46f},_0x167cc1={};_0x167cc1[_0x3ccc50(_0x5f5807._0x48ef12,_0x5f5807._0x2dcb37)]='systemct'+'l';function _0x3ccc50(_0x22a069,_0x21fd15){return _0x341e52(_0x21fd15-0x128,_0x22a069);}_0x167cc1[_0x6d6409(0x37b,0x54c)]=_0x3ccc50(_0x5f5807._0x221c1b,0x996),_0x167cc1[_0x6d6409(0x3f8,_0x5f5807._0xa51c9c)]=_0x3ccc50(0x8df,0x835),_0x167cc1[_0x3ccc50(_0x5f5807._0x39a162,0x61f)]='--now';const _0x70376e=_0x167cc1;if(!commandExists(_0x70376e[_0x6d6409(_0x5f5807._0x4c07f1,0x14b)]))throw new Error(_0x3ccc50(_0x5f5807._0x1e74e6,_0x5f5807._0x1f3cee)+_0x3ccc50(_0x5f5807._0x3cbc94,_0x5f5807._0x64e7f5)+_0x3ccc50(0xd1a,_0x5f5807._0x3b98f2)+'le');const _0x2d0437={};_0x2d0437['recursiv'+'e']=!![],_0x4fd96b(dirname(LINUX_SERVICE_PATH),_0x2d0437),_0x162251(LINUX_SERVICE_PATH,buildLinuxSystemdUnit(_0x42637a,SERVICE_LOG_PATH,SERVICE_ERROR_LOG_PATH),_0x6d6409(0x20a,0x4be));const _0x33d890={};_0x33d890[_0x3ccc50(0x898,_0x5f5807._0x59438c)]=_0x70376e[_0x3ccc50(0x73f,_0x5f5807._0x188534)],execFileSync(_0x6d6409(_0x5f5807._0x525367,0x691)+'l',[_0x6d6409(_0x5f5807._0x9d703c,_0x5f5807._0x42c7d3),'daemon-r'+_0x6d6409(0x83,-_0x5f5807._0x16135a)],_0x33d890);const _0x2806a0={};function _0x6d6409(_0x317e3c,_0x5d94d7){return _0x341e52(_0x317e3c- -_0xa8a8b2._0x13db5b,_0x5d94d7);}_0x2806a0[_0x3ccc50(0x88e,0xa77)]=_0x6d6409(_0x5f5807._0x4a9aa8,_0x5f5807._0x5c99f6),execFileSync(_0x6d6409(_0x5f5807._0x525367,_0x5f5807._0x4bdc6d)+'l',[_0x70376e[_0x6d6409(0x3f8,0x513)],_0x6d6409(-_0x5f5807._0x2271b2,-0x113),_0x70376e[_0x3ccc50(0x40b,_0x5f5807._0x161132)],SYSTEMD_UNIT_NAME],_0x2806a0);}function restartLinuxSystemdService(_0x35920a){const _0x5f33aa={_0x3c5876:0x513,_0x42ea01:0x88a,_0x3782b8:0x648,_0xdbbf2d:0x724,_0x33213a:0xc31,_0x3e131c:0x942,_0x452ccf:0x750,_0x2fe1e1:0x9cd,_0x4fb9b6:0x64f,_0x1ff277:0xb72,_0x202f40:0x8ec,_0x42fcbe:0x5f1};function _0x523b0b(_0x2f007e,_0x1b8ed0){return _0x35d151(_0x2f007e,_0x1b8ed0-0x2fa);}const _0x47bec2={};_0x47bec2[_0x6ad3b5(0x812,_0x5f33aa._0x3c5876)]=_0x523b0b(0xa90,_0x5f33aa._0x42ea01)+_0x6ad3b5(0x719,0x4c4)+_0x6ad3b5(0x9b8,0x764)+'le',_0x47bec2[_0x523b0b(_0x5f33aa._0x3782b8,0x942)]='utf8',_0x47bec2[_0x6ad3b5(0x506,0x5cb)]=_0x6ad3b5(0x75f,0x672)+'eload';const _0x26658c=_0x47bec2;if(!commandExists(_0x523b0b(0x647,_0x5f33aa._0x42ea01)+'l'))throw new Error(_0x26658c[_0x6ad3b5(_0x5f33aa._0xdbbf2d,_0x5f33aa._0x3c5876)]);if(!_0xf90435(LINUX_SERVICE_PATH)){installLinuxSystemdService(_0x35920a);return;}_0x162251(LINUX_SERVICE_PATH,buildLinuxSystemdUnit(_0x35920a,SERVICE_LOG_PATH,SERVICE_ERROR_LOG_PATH),_0x26658c[_0x523b0b(_0x5f33aa._0x33213a,_0x5f33aa._0x3e131c)]);const _0x463fa5={};_0x463fa5[_0x523b0b(_0x5f33aa._0x452ccf,_0x5f33aa._0x2fe1e1)]=_0x523b0b(0xa87,0x8ec),execFileSync(_0x6ad3b5(0x51e,_0x5f33aa._0x4fb9b6)+'l',['--user',_0x26658c[_0x523b0b(0x732,0x806)]],_0x463fa5);const _0x5e6186={};_0x5e6186['stdio']=_0x523b0b(_0x5f33aa._0x1ff277,_0x5f33aa._0x202f40);function _0x6ad3b5(_0x33848f,_0xeec0d3){return _0x35d151(_0x33848f,_0xeec0d3-0xbf);}execFileSync(_0x523b0b(_0x5f33aa._0x42fcbe,0x88a)+'l',['--user','restart',SYSTEMD_UNIT_NAME],_0x5e6186);}function installLinuxCronService(_0x3b42a4,_0x28d892){const _0x55d583={_0x366c25:0x633,_0x5063f8:0x39e,_0x550358:0x815,_0x39b2ad:0x683,_0x2c76a4:0x67c,_0x3d430c:0x6fd,_0x303cca:0x595,_0x132882:0x5b0},_0x1cad49={_0x341618:0x54},_0xc9a32e={'dPeFo':function(_0x4218b9,_0x1bd49a){return _0x4218b9(_0x1bd49a);},'KRXko':function(_0x4c8f49,_0x5746b4){return _0x4c8f49+_0x5746b4;}};if(!_0xc9a32e[_0x29e730(0x35a,_0x55d583._0x366c25)](commandExists,_0x29e730(0x364,0x1ca)))throw new Error(_0x311526(0x3ad,_0x55d583._0x5063f8)+'rvice\x20in'+_0x29e730(0x6cf,_0x55d583._0x550358)+_0x311526(0x725,_0x55d583._0x39b2ad)+_0x29e730(_0x55d583._0x2c76a4,_0x55d583._0x3d430c)+'\x20crontab'+'\x20fallbac'+_0x311526(_0x55d583._0x303cca,0x75e)+_0x29e730(0x29d,0xa8)+formatError(_0x28d892));rmIfExists(LINUX_SERVICE_PATH);const _0x2a76b6=buildLinuxCronEntry(_0x3b42a4,SERVICE_LOG_PATH,SERVICE_ERROR_LOG_PATH);writeLinuxCrontabEntry(_0x2a76b6),_0x162251(LINUX_CRON_RECORD_PATH,_0xc9a32e[_0x29e730(0x5b9,0x50d)](_0x2a76b6,'\x0a'),_0x311526(0x625,_0x55d583._0x132882));function _0x29e730(_0xfa7caa,_0x55f30e){return _0x341e52(_0xfa7caa- -0x1dd,_0x55f30e);}function _0x311526(_0x14d2ef,_0x4646cb){return _0x341e52(_0x14d2ef- -_0x1cad49._0x341618,_0x4646cb);}stopRunningProcess(),_0xc9a32e['dPeFo'](startDetachedPosixService,_0x3b42a4);}function hasLinuxCronRegistration(){const _0x743ff4={_0x23325f:0xe,_0x3db928:0x1d2,_0x46438c:0x6fa,_0x201ba2:0x53},_0x308ecb={_0x435652:0x3ba},_0x1aa8a={_0x1b3bfb:0x48e},_0x119703={};_0x119703[_0x35ecdd(0x39b,0x1e8)]=_0x11451b(_0x743ff4._0x23325f,_0x743ff4._0x3db928);const _0x4d0e57=_0x119703;if(process[_0x35ecdd(0x539,_0x743ff4._0x46438c)]!==_0x4d0e57[_0x11451b(0x2c7,0x537)])return![];function _0x11451b(_0x36bf94,_0x397f93){return _0x341e52(_0x36bf94- -_0x1aa8a._0x1b3bfb,_0x397f93);}function _0x35ecdd(_0xb04281,_0x74982f){return _0x341e52(_0xb04281- -_0x308ecb._0x435652,_0x74982f);}return readLinuxCrontab()[_0x11451b(_0x743ff4._0x201ba2,-0xb4)](_0x32d1bf=>_0x32d1bf[_0x35ecdd(0x37,0x1b7)](LINUX_CRON_MARKER));}function removeLinuxCronRegistration(){const _0x2dd170={_0x407b9e:0x788,_0x11ea51:0x56b};function _0x8210d8(_0x16fba1,_0x56645e){return _0x341e52(_0x56645e- -0x16b,_0x16fba1);}if(process[_0x8210d8(0x66d,_0x2dd170._0x407b9e)]!==_0x3f730c(0x60d,0x476))return;if(commandExists(_0x8210d8(_0x2dd170._0x11ea51,0x3d6))){const _0x51bbc4=readLinuxCrontab()['filter'](_0x56eb62=>!_0x56eb62[_0x3f730c(0x512,0x3cb)](LINUX_CRON_MARKER));writeLinuxCrontab(_0x51bbc4);}function _0x3f730c(_0x5c40cf,_0xf143a0){return _0x341e52(_0xf143a0- -0x26,_0x5c40cf);}rmIfExists(LINUX_CRON_RECORD_PATH);}function writeLinuxCrontabEntry(_0x1a2e6d){const _0x1c5ee3={_0x4f1e0e:0x170,_0x2811bd:0x642},_0x4f8a1a=readLinuxCrontab()[_0x32a9f2(_0x1c5ee3._0x4f1e0e,0x44e)](_0x1477d4=>!_0x1477d4['includes'](LINUX_CRON_MARKER));function _0x4baa46(_0x1f8f3b,_0x43689b){return _0x341e52(_0x43689b-0x96,_0x1f8f3b);}function _0x32a9f2(_0x5e9bfa,_0x4c28fa){return _0x341e52(_0x5e9bfa- -0x25f,_0x4c28fa);}_0x4f8a1a[_0x32a9f2(_0x1c5ee3._0x2811bd,0x533)](_0x1a2e6d),writeLinuxCrontab(_0x4f8a1a);}function readLinuxCrontab(){const _0x483bb5={_0x4bde00:0x6e8,_0x1a8a3b:0x600,_0x157217:0x88e},_0x45627d={_0x1041ad:0x6f};function _0x376c49(_0x33c5a6,_0x1113c9){return _0x341e52(_0x33c5a6- -0x22f,_0x1113c9);}if(!commandExists('crontab'))return[];function _0x412814(_0x1bda3b,_0x5101cb){return _0x341e52(_0x1bda3b-_0x45627d._0x1041ad,_0x5101cb);}try{const _0x460fae={};_0x460fae[_0x376c49(0x148,-0x131)]=_0x412814(_0x483bb5._0x4bde00,_0x483bb5._0x1a8a3b);const _0x2559e5=execFileSync('crontab',['-l'],_0x460fae);return _0x2559e5[_0x412814(_0x483bb5._0x157217,0x65a)]('\x0a')[_0x376c49(0x17d,0x489)](_0x490fd6=>_0x490fd6[_0x376c49(0x635,0x86f)]())[_0x412814(0x43e,0x1b3)](_0x1fa1c5=>_0x1fa1c5[_0x376c49(0x63a,0x7cf)]>0x0);}catch(_0x2c5f46){if(isMissingCrontabError(_0x2c5f46))return[];throw _0x2c5f46;}}function writeLinuxCrontab(_0x34c82b){const _0xf1e3ee={_0x471bef:0x4c,_0x277e54:0x33b,_0x50c91b:0x181,_0x371258:0x134,_0x57e02e:0x24f,_0x276e67:0x467,_0x359264:0x1c2,_0x4f7626:0x442,_0x1a82bf:0x694,_0x133cff:0x804,_0x357562:0x694},_0x4665a3={_0x209ef1:0x279};function _0x1ccc8f(_0x668d60,_0x43ad7f){return _0x35d151(_0x43ad7f,_0x668d60-0xa2);}const _0x21076b={'ZkFFt':function(_0x390bf4,_0x71175){return _0x390bf4(_0x71175);},'rPenu':_0x43bb43(_0xf1e3ee._0x471bef,-0x1a5)};function _0x43bb43(_0x4dd32b,_0x1bfb8a){return _0x35d151(_0x1bfb8a,_0x4dd32b- -_0x4665a3._0x209ef1);}if(!_0x21076b[_0x1ccc8f(_0xf1e3ee._0x277e54,_0xf1e3ee._0x50c91b)](commandExists,_0x43bb43(0x4c,-_0xf1e3ee._0x371258)))return;if(_0x34c82b[_0x1ccc8f(0x68f,0x83a)]===0x0){execIgnoreFailure(_0x21076b[_0x1ccc8f(0x31a,_0xf1e3ee._0x57e02e)],['-r']);return;}execFileSync('crontab',['-'],{'input':_0x34c82b[_0x43bb43(_0xf1e3ee._0x276e67,_0xf1e3ee._0x359264)]('\x0a')+'\x0a','encoding':_0x43bb43(0x184,_0xf1e3ee._0x4f7626),'stdio':['pipe',_0x1ccc8f(_0xf1e3ee._0x1a82bf,_0xf1e3ee._0x133cff),_0x1ccc8f(_0xf1e3ee._0x357562,0x669)]});}function resolveScriptPath(_0x17ef5f){const _0x3ffb9f=_0x17ef5f?.['trim']()||process['argv'][0x1]?.['trim']()||'';if(!_0x3ffb9f)return'';try{return realpathSync(_0x3ffb9f);}catch{return _0x3ffb9f;}}function ensureLaunchScriptExecutable(_0x23345f,_0x25be20){const _0x1f0b08={_0x590b3e:0x88b,_0x32ba4d:0x580},_0x23292c={};_0x23292c[_0x3ae993(_0x1f0b08._0x590b3e,_0x1f0b08._0x32ba4d)]=function(_0x4b1753,_0x3b19c3){return _0x4b1753===_0x3b19c3;};function _0x3ae993(_0x3f30be,_0x130ae7){return _0x341e52(_0x130ae7- -0x5b,_0x3f30be);}const _0x216529=_0x23292c;function _0x2ce5a7(_0x3c4825,_0x190291){return _0x341e52(_0x3c4825- -0x298,_0x190291);}if(_0x216529[_0x3ae993(0x3e6,0x580)](_0x25be20,'win32')||!_0xf90435(_0x23345f))return;try{chmodSync(_0x23345f,0x1ed);}catch{}}function writeServiceLauncher(_0xef2045){const _0x58c470={_0x55f6ff:0x837,_0x4f92c5:0x6f1,_0x20d14b:0x546,_0x428784:0x8d9,_0x26f8c3:0x173,_0x414af9:0x333,_0x553be6:0x202,_0x69f317:0x794,_0x22eb6f:0x5a9,_0x1c6391:0x68f,_0x1e0f3e:0x607,_0x8ef15e:0x7f5,_0x2bf8c4:0x733,_0x4c3503:0x12a,_0x2933b1:0x7c2,_0xc61659:0x3e1,_0xa78954:0x3ff,_0x594d34:0x5c7,_0x1d9965:0x660,_0x3db71b:0x766,_0x4c1cdd:0x749,_0x49aec5:0x70b,_0x8b4135:0x697,_0x22a8c4:0x404,_0x4b3c7b:0x39e,_0x23f1e1:0x351,_0x3c9d21:0x320,_0x4177bc:0x5e5,_0xec3a50:0x42d,_0x16e790:0x58f,_0xe44466:0x714,_0x44eb4f:0x7a1,_0x3795c7:0x649,_0x127769:0x536,_0x1fc3c5:0x7d1,_0x368ff5:0x632},_0xa390a6={_0x415d6c:0x18b},_0x321420={_0x5e0a3f:0x47},_0x5c6dfb={'DFwKy':function(_0x87f175){return _0x87f175();},'hHTum':function(_0x3fbf41,_0x2bd69a){return _0x3fbf41(_0x2bd69a);},'oRvRU':function(_0x5c1615,_0xeb23f0){return _0x5c1615(_0xeb23f0);},'QsjZz':_0x2ee742(0x6a6,_0x58c470._0x55f6ff)+'nd\x20-v\x20no'+'de\x20>/dev'+_0x2ee742(_0x58c470._0x4f92c5,0x553)+_0x2ee742(_0x58c470._0x20d14b,0x539),'PHqcj':function(_0x5cd965,_0x3292a7,_0x547e21,_0x1ab3b3){return _0x5cd965(_0x3292a7,_0x547e21,_0x1ab3b3);}};_0x5c6dfb[_0x3a5ac0(0x702,0x73f)](ensureServiceDirs);function _0x2ee742(_0x3eb805,_0x2da93f){return _0x341e52(_0x2da93f- -_0x321420._0x5e0a3f,_0x3eb805);}const _0x2b2298=[_0x2ee742(0x872,_0x58c470._0x428784)+'h',_0x3a5ac0(0x26e,0x30f)+_0x3a5ac0(_0x58c470._0x26f8c3,_0x58c470._0x414af9)+_0x5c6dfb[_0x3a5ac0(0x36d,0x650)](escapeShellDoubleQuoted,_0xef2045['pathEnv'])+'\x22',_0x2ee742(_0x58c470._0x553be6,0x329)+_0x3a5ac0(0x191,0x2c5)+_0x5c6dfb[_0x2ee742(0x945,_0x58c470._0x69f317)](escapeShellDoubleQuoted,_0xef2045['nodePath'])+'\x22',_0x2ee742(0x2ca,_0x58c470._0x22eb6f)+_0x2ee742(0x4ea,0x477)+_0x5c6dfb[_0x2ee742(0x317,0x456)](escapeShellDoubleQuoted,_0xef2045[_0x2ee742(0x7a6,0x57f)+'th'])+'\x22',_0x3a5ac0(_0x58c470._0x1c6391,0x6e9)+_0x2ee742(_0x58c470._0x1e0f3e,0x6d2)+_0x2ee742(_0x58c470._0x8ef15e,_0x58c470._0x2bf8c4)+_0x2ee742(_0x58c470._0x4c3503,0x3db),_0x3a5ac0(0x780,0x4db)+_0x2ee742(_0x58c470._0x2933b1,0x667)+_0x2ee742(0x38c,_0x58c470._0xc61659)+_0x3a5ac0(_0x58c470._0xa78954,_0x58c470._0x594d34)+'H\x22\x20run\x20-'+_0x2ee742(_0x58c470._0x1d9965,_0x58c470._0x3db71b),'fi',_0x5c6dfb[_0x3a5ac0(_0x58c470._0x1d9965,0x501)],'\x20\x20exec\x20n'+'ode\x20\x22$SC'+_0x2ee742(_0x58c470._0x4c1cdd,_0x58c470._0x49aec5)+_0x3a5ac0(0x231,0x2cd)+'-service','fi',_0x3a5ac0(_0x58c470._0x8b4135,_0x58c470._0x22a8c4)+_0x3a5ac0(_0x58c470._0x4b3c7b,_0x58c470._0x23f1e1)+_0x2ee742(0x347,_0x58c470._0x3c9d21)+_0x3a5ac0(0x585,_0x58c470._0x4177bc)+_0x3a5ac0(_0x58c470._0xec3a50,_0x58c470._0x16e790)+'\x20Bridge\x20'+_0x3a5ac0(-0x49,0x21c)+_0x3a5ac0(_0x58c470._0xe44466,0x54a),_0x2ee742(0x916,0x8d1),''];function _0x3a5ac0(_0x3ea324,_0x55fe41){return _0x341e52(_0x55fe41- -_0xa390a6._0x415d6c,_0x3ea324);}return _0x5c6dfb[_0x3a5ac0(_0x58c470._0x44eb4f,_0x58c470._0x3795c7)](_0x162251,SERVICE_LAUNCHER_PATH,_0x2b2298[_0x3a5ac0(_0x58c470._0x127769,_0x58c470._0x1fc3c5)]('\x0a'),_0x2ee742(0x760,_0x58c470._0x368ff5)),SERVICE_LAUNCHER_PATH;}function escapeShellDoubleQuoted(_0x137eca){const _0x19dc83={_0x354b0c:0x477,_0x3c4a9a:0x35e},_0x1e6ef9={_0x48b3b2:0x39b},_0x3597f2={_0x280886:0x4b4};function _0x34cdee(_0x1f2b29,_0x174380){return _0x341e52(_0x174380- -_0x3597f2._0x280886,_0x1f2b29);}function _0x6292d8(_0xcbd533,_0xde41c5){return _0x341e52(_0xcbd533- -_0x1e6ef9._0x48b3b2,_0xde41c5);}return _0x137eca[_0x6292d8(_0x19dc83._0x354b0c,0x596)+'ll']('\x5c','\x5c\x5c')[_0x34cdee(0x13c,_0x19dc83._0x3c4a9a)+'ll']('\x22','\x5c\x22')['replaceA'+'ll']('$','\x5c$')['replaceA'+'ll']('`','\x5c`');}function escapeShellWord(_0x514ca4){const _0x2c88d2={_0x2f7bac:0x74a,_0x2d4f51:0x341,_0x5340ab:0x396,_0x50e94d:0x383};function _0x173a76(_0x222232,_0x1fcb6a){return _0x35d151(_0x222232,_0x1fcb6a- -0x255);}if(_0x514ca4[_0x52b1f9(0xa1c,_0x2c88d2._0x2f7bac)]===0x0)return'\x27\x27';function _0x52b1f9(_0x3d56f6,_0x5ed257){return _0x35d151(_0x5ed257,_0x3d56f6-0x42f);}return'\x27'+_0x514ca4[_0x173a76(0x50a,_0x2c88d2._0x2d4f51)+'ll']('\x27',_0x173a76(_0x2c88d2._0x5340ab,_0x2c88d2._0x50e94d))+'\x27';}function buildWindowsRunCommand(_0x482d57){const _0x546931={_0x4269ec:0x3dc,_0x29fb1f:0x151},_0x1ee88c={_0x1f392e:0x281};function _0x389960(_0x182152,_0x11702e){return _0x35d151(_0x182152,_0x11702e- -_0x1ee88c._0x1f392e);}return _0x482d57[_0x389960(-_0x546931._0x4269ec,-_0x546931._0x29fb1f)](escapeWindowsArg)['join']('\x20');}function ensureServiceDirs(){const _0x2df320={_0x1182c:0x20c},_0x589b88={_0x36a39b:0x35e},_0x13313a={'BtxPy':function(_0x1d89a7,_0x2fe884,_0x2734f8){return _0x1d89a7(_0x2fe884,_0x2734f8);}},_0x141df4={};function _0x19f0c3(_0x58d724,_0x151d25){return _0x35d151(_0x151d25,_0x58d724- -_0x589b88._0x36a39b);}_0x141df4[_0x19f0c3(_0x2df320._0x1182c,0x1c0)+'e']=!![];function _0x3eb268(_0x21f9bf,_0x3a7c60){return _0x35d151(_0x3a7c60,_0x21f9bf-0xa7);}_0x13313a[_0x3eb268(0x1bf,0x11f)](_0x4fd96b,SERVICE_DIR,_0x141df4);const _0x2bd0ff={};_0x2bd0ff[_0x3eb268(0x611,0x3eb)+'e']=!![],_0x4fd96b(LOG_DIR,_0x2bd0ff);}function escapeXml(_0x424584){const _0x5f3bff={_0x1b82ec:0x25f,_0x1a7c45:0x217,_0x4cfbb5:0x2c,_0x165f67:0x233,_0x3f4451:0x4dc,_0x1c64f8:0x217,_0x5c671f:0x66,_0x2f78df:0x52c},_0x47118e={_0xfae4dd:0x37f},_0x2645f5={_0x39be7f:0xba},_0x1628d9={};function _0x270b66(_0x5772e7,_0x1d658e){return _0x35d151(_0x5772e7,_0x1d658e- -_0x2645f5._0x39be7f);}function _0xcf357e(_0x34241a,_0x4a94fd){return _0x35d151(_0x4a94fd,_0x34241a- -_0x47118e._0xfae4dd);}_0x1628d9[_0xcf357e(-_0x5f3bff._0x1b82ec,-0x14b)]=_0xcf357e(-0x28a,-0x38a);const _0x5b61a1=_0x1628d9;return _0x424584[_0xcf357e(_0x5f3bff._0x1a7c45,-_0x5f3bff._0x4cfbb5)+'ll']('&','&amp;')[_0x270b66(_0x5f3bff._0x165f67,_0x5f3bff._0x3f4451)+'ll']('<','&lt;')[_0xcf357e(_0x5f3bff._0x1c64f8,0x1d3)+'ll']('>',_0x5b61a1[_0x270b66(0xc,_0x5f3bff._0x5c671f)])[_0x270b66(_0x5f3bff._0x2f78df,0x4dc)+'ll']('\x22','&quot;')['replaceA'+'ll']('\x27',_0xcf357e(0x55,0xd9));}function escapeSystemdArg(_0x36f95f){const _0x35d313={_0x3acd2f:0xf5};function _0x47cbae(_0x107666,_0x727ab3){return _0x35d151(_0x727ab3,_0x107666- -_0x35d313._0x3acd2f);}return'\x22'+_0x36f95f[_0x47cbae(0x4a1,0x67b)+'ll']('\x5c','\x5c\x5c')['replaceA'+'ll']('\x22','\x5c\x22')+'\x22';}function escapeWindowsArg(_0x18cc50){const _0x2cbac7={_0x461cab:0x262};function _0x29a646(_0x1d0842,_0x5e8c6c){return _0x341e52(_0x1d0842- -_0x2cbac7._0x461cab,_0x5e8c6c);}return'\x22'+_0x18cc50[_0x29a646(0x5b0,0x414)+'ll']('\x22','\x5c\x22')+'\x22';}function commandSucceeds(_0xd6b811,_0x2f46a1){const _0x3fb99f={_0x52c88a:0x864,_0x622333:0xa41},_0x31594c={_0x3321c5:0x36e};function _0x19dbfb(_0x310009,_0x8b8d1d){return _0x35d151(_0x310009,_0x8b8d1d-_0x31594c._0x3321c5);}try{const _0x558395={};return _0x558395[_0x19dbfb(_0x3fb99f._0x52c88a,_0x3fb99f._0x622333)]='ignore',execFileSync(_0xd6b811,_0x2f46a1,_0x558395),!![];}catch{return![];}}function commandExists(_0x332c99){const _0x3feef0={_0x37613a:0x4f4,_0x416778:0x874,_0x5a8502:0x875,_0x40ac29:0x715,_0x2726c9:0x261,_0x32f921:0x345,_0x1aafcf:0x110},_0x46cd6f={};_0x46cd6f[_0x288ee8(0x345,_0x3feef0._0x37613a)]=_0x4b9230(0x62c,_0x3feef0._0x416778);function _0x288ee8(_0x56d53c,_0x3bd277){return _0x341e52(_0x56d53c- -0x491,_0x3bd277);}_0x46cd6f[_0x4b9230(0x7f8,0x922)]=_0x4b9230(_0x3feef0._0x5a8502,_0x3feef0._0x40ac29);const _0x24c015=_0x46cd6f;function _0x4b9230(_0x54a191,_0x232ed1){return _0x341e52(_0x54a191-0x42,_0x232ed1);}if(process[_0x288ee8(0x462,_0x3feef0._0x2726c9)]===_0x24c015[_0x288ee8(_0x3feef0._0x32f921,_0x3feef0._0x1aafcf)])return commandSucceeds(_0x24c015['XAypN'],[_0x332c99]);return commandSucceeds('sh',['-c',_0x288ee8(0x1b5,0x137)+'-v\x20'+escapeShellWord(_0x332c99)]);}function execIgnoreFailure(_0x2c58eb,_0x42ec86){const _0x164700={_0x4f7145:0x288,_0x14eff9:0x1d5,_0x800e21:0x51},_0x32c5c5={};_0x32c5c5['OPjRL']=_0x408bde(_0x164700._0x4f7145,0x2f5);function _0x5d6b29(_0x40c4ee,_0x4b0fa0){return _0x35d151(_0x4b0fa0,_0x40c4ee-0x234);}function _0x408bde(_0x4d88a5,_0x376dc9){return _0x35d151(_0x376dc9,_0x4d88a5- -0x36a);}const _0x2eb45a=_0x32c5c5;try{const _0x11de0a={};_0x11de0a[_0x408bde(0x369,_0x164700._0x14eff9)]=_0x2eb45a[_0x408bde(-_0x164700._0x800e21,-0x14e)],execFileSync(_0x2c58eb,_0x42ec86,_0x11de0a);}catch{}}function rmIfExists(_0x16ce99){if(!_0xf90435(_0x16ce99))return;const _0x3f1a14={};_0x3f1a14['force']=!![],_0x26bed0(_0x16ce99,_0x3f1a14);}function isMissingCrontabError(_0x2e9738){const _0x11f91b={_0x4b5c13:0x7d,_0x106627:0x13a,_0x2abeca:0x27d,_0x2f4cb1:0x4ac,_0x58bcf5:0x27c,_0xfafb48:0x370,_0x3fd86e:0x691,_0x27b5b4:0x103,_0x290c40:0x240,_0x5c6589:0x263,_0x47cf85:0x1aa},_0x391b4b={_0x3b7021:0x457},_0x3f04fe={_0xc32b8a:0x198},_0x1e77e5={};_0x1e77e5['HvhdC']=function(_0x56c1ea,_0x3ece6d){return _0x56c1ea===_0x3ece6d;};function _0x44188f(_0x291ea7,_0x4d0a37){return _0x341e52(_0x291ea7- -_0x3f04fe._0xc32b8a,_0x4d0a37);}function _0x3d16f6(_0x1c3eaf,_0x5874f8){return _0x341e52(_0x5874f8- -_0x391b4b._0x3b7021,_0x1c3eaf);}_0x1e77e5[_0x3d16f6(-0xf5,0x172)]=_0x3d16f6(-0x2da,-_0x11f91b._0x4b5c13),_0x1e77e5[_0x3d16f6(-_0x11f91b._0x106627,-0x5c)]='no\x20cront'+_0x44188f(0x23e,0x2e0);const _0x1528bc=_0x1e77e5;if(!(_0x2e9738 instanceof Error))return![];const _0x22a783=_0x2e9738[_0x44188f(_0x11f91b._0x2abeca,0xce)][_0x3d16f6(0x5f6,0x461)+_0x3d16f6(0x5a3,_0x11f91b._0x2f4cb1)](),_0x57f18d=_0x2e9738[_0x3d16f6(_0x11f91b._0x58bcf5,_0x11f91b._0xfafb48)],_0x440913=_0x1528bc[_0x44188f(0x52d,0x461)](typeof _0x57f18d,_0x1528bc[_0x44188f(0x431,0x3b2)])?_0x57f18d[_0x44188f(0x720,_0x11f91b._0x3fd86e)+_0x3d16f6(0x3ad,0x4ac)]():Buffer[_0x3d16f6(-_0x11f91b._0x27b5b4,0x4)](_0x57f18d)?_0x57f18d[_0x3d16f6(_0x11f91b._0x290c40,0x144)](_0x3d16f6(0x37c,0x222))[_0x44188f(0x720,0x542)+'ase']():'';return _0x22a783['includes'](_0x1528bc[_0x44188f(_0x11f91b._0x5c6589,0x196)])||_0x440913['includes'](_0x3d16f6(_0x11f91b._0x47cf85,0x3d4)+_0x3d16f6(0x1f8,-0x81));}function formatError(_0xc98423){const _0x55f925={_0x269f9a:0x172,_0x3c9f13:0x463,_0x191946:0x172,_0xc715ba:0xc1},_0x281494={_0x2680c2:0x137};function _0x1704e5(_0x513b02,_0x43e012){return _0x341e52(_0x43e012- -0x587,_0x513b02);}const _0x1679b7={'NLZCD':function(_0x10a394,_0x4c0640){return _0x10a394(_0x4c0640);}};function _0x5d7afc(_0x1b7225,_0x403244){return _0x341e52(_0x403244- -_0x281494._0x2680c2,_0x1b7225);}if(_0xc98423 instanceof Error&&_0xc98423[_0x1704e5(-0x22b,-_0x55f925._0x269f9a)])return _0xc98423[_0x1704e5(-_0x55f925._0x3c9f13,-_0x55f925._0x191946)];return _0x1679b7[_0x1704e5(0x350,_0x55f925._0xc715ba)](String,_0xc98423);}import{execFile}from'child_process';import{randomBytes}from'crypto';import{existsSync as _0x57e205,readFileSync as _0x5806a3}from'fs';import{chmod,mkdir,readFile,rename,rm,writeFile}from'fs/promises';import{homedir as _0xcdcfe7}from'os';import{dirname as _0x1d553f,join as _0x4cb7e2,resolve}from'path';var DEFAULT_GATEWAY_URL=_0x35d151(0x22a,0x1f1)+_0x341e52(0x871,0x942)+_0x35d151(-0x3b,0x16f),DEVICE_BOOTSTRAP_TOKEN_TTL_MS=0xa*0x3c*0x3e8,BOOTSTRAP_FILENAME=_0x341e52(0x73b,0x4a3)+'p.json',PAIRING_TOKEN_BYTES=0x20,OPENCLAW_CLI_COMMAND=_0x35d151(0x28a,0x548),withBootstrapLock=createAsyncLock();function resolveGatewayUrl(_0x1bd9d5){const _0x51925e={_0x391619:0x33,_0x1aea7f:0x366,_0x4b333f:0x4ed,_0x4ec99f:0x2bc},_0x34fadd={_0x2c1a9d:0x404},_0x3173d2={};_0x3173d2['BxVnP']=_0x5a4aca(0x1b2,0x88);const _0x3bffc1=_0x3173d2,_0x3380a1=_0x1bd9d5?.[_0x5a4aca(0x1ff,-_0x51925e._0x391619)]();function _0x5a4aca(_0x267a75,_0x114107){return _0x341e52(_0x267a75- -_0x34fadd._0x2c1a9d,_0x114107);}if(_0x3380a1)return _0x3380a1;function _0x4f0d40(_0x423577,_0x384264){return _0x341e52(_0x423577- -0x3ac,_0x384264);}const _0x2784ab=readOpenClawInfo();if(typeof _0x2784ab['gatewayP'+_0x4f0d40(_0x51925e._0x1aea7f,_0x51925e._0x4b333f)]===_0x3bffc1[_0x5a4aca(0x201,0x4b)])return'ws://127'+_0x5a4aca(0x17b,0x3e4)+_0x2784ab[_0x5a4aca(0x308,0x2a7)+_0x5a4aca(0x30e,_0x51925e._0x4ec99f)];return DEFAULT_GATEWAY_URL;}function readOpenClawInfo(){const _0x7961e0={_0x4c355c:0x105,_0x38e80b:0x561,_0x11664c:0x53c,_0x3e85a4:0x71f,_0x4d83e8:0x4c2,_0x23c652:0x3ae,_0x9ceb94:0x52a,_0x14f534:0x568,_0x473c67:0x46b,_0x56f184:0x6ff,_0x51fdcc:0x9a,_0x35fbf3:0x1ea,_0x4bc962:0x1a1,_0x108d93:0x167,_0x46338c:0x92,_0x546792:0x3a,_0x2f2f18:0xdf,_0x258592:0x3db,_0x210870:0x182,_0x237f86:0x325,_0x309db6:0x739,_0xf979da:0x9c0,_0x5b225a:0x824,_0x392f3d:0x3b1,_0x183fe8:0x11c,_0x222994:0x52a,_0x5a6461:0x5ec,_0xcd1cee:0x8bd,_0xcbd5a9:0x50,_0x2836c8:0x499,_0x5b344d:0x594,_0x138b2e:0x5ec,_0x364070:0x747},_0x501119={'mlIlK':function(_0x3399b0){return _0x3399b0();},'eeIMS':function(_0x13b411,_0x32bb11,_0x3e7a89){return _0x13b411(_0x32bb11,_0x3e7a89);},'AgOtZ':'utf8','FBOMp':function(_0x3ad1ac,_0x129c41){return _0x3ad1ac===_0x129c41;},'jbyeF':_0x2a0fa1(_0x7961e0._0x4c355c,-0x98),'Unoci':function(_0x408085,_0x2677d4){return _0x408085(_0x2677d4);},'FwJZe':function(_0x1fa141){return _0x1fa141();}};function _0x12c43f(_0x50b223,_0x262065){return _0x35d151(_0x262065,_0x50b223-0xfe);}const _0x47ef15=_0x501119['mlIlK'](resolveOpenClawPaths);if(!_0x57e205(_0x47ef15[_0x12c43f(0x6f7,0x879)+'th']))return{'configFound':![],'gatewayPort':null,'authMode':null,'token':_0x501119[_0x12c43f(_0x7961e0._0x38e80b,_0x7961e0._0x11664c)](readGatewayTokenEnv),'password':readGatewayPasswordEnv()};function _0x2a0fa1(_0x5b903d,_0x84e1ac){return _0x35d151(_0x84e1ac,_0x5b903d- -0x34d);}try{const _0x554fb4=JSON[_0x12c43f(_0x7961e0._0x3e85a4,0x734)](_0x501119[_0x12c43f(_0x7961e0._0x4d83e8,_0x7961e0._0x23c652)](_0x5806a3,_0x47ef15['configPa'+'th'],_0x501119[_0x12c43f(0x4b0,0x6eb)])),_0xd292e8=_0x554fb4[_0x12c43f(_0x7961e0._0x9ceb94,0x22a)]?.[_0x12c43f(_0x7961e0._0x14f534,_0x7961e0._0x473c67)],_0x26c1d9=typeof _0xd292e8===_0x12c43f(0x438,_0x7961e0._0x56f184)&&Number['isIntege'+'r'](_0xd292e8)?_0xd292e8:null,_0x4cde5e=_0x554fb4['gateway']?.[_0x2a0fa1(-_0x7961e0._0x51fdcc,-_0x7961e0._0x35fbf3)]?.['mode']===_0x2a0fa1(_0x7961e0._0x4bc962,_0x7961e0._0x108d93)||_0x501119[_0x2a0fa1(_0x7961e0._0x46338c,-_0x7961e0._0x546792)](_0x554fb4[_0x2a0fa1(_0x7961e0._0x2f2f18,_0x7961e0._0x258592)]?.[_0x2a0fa1(-_0x7961e0._0x51fdcc,-_0x7961e0._0x210870)]?.[_0x2a0fa1(_0x7961e0._0x237f86,0x51f)],_0x501119[_0x12c43f(_0x7961e0._0x309db6,_0x7961e0._0xf979da)])?_0x554fb4[_0x12c43f(_0x7961e0._0x9ceb94,_0x7961e0._0x5b225a)][_0x12c43f(_0x7961e0._0x392f3d,_0x7961e0._0x183fe8)][_0x12c43f(0x770,0x7fb)]:null,_0x94a885=readConfiguredSecret(_0x554fb4[_0x12c43f(_0x7961e0._0x222994,0x3e4)]?.[_0x2a0fa1(-_0x7961e0._0x51fdcc,0x1e)]?.[_0x12c43f(_0x7961e0._0x5a6461,0x504)])??readGatewayTokenEnv(),_0x28f7ae=_0x501119[_0x12c43f(0x702,_0x7961e0._0xcd1cee)](readConfiguredSecret,_0x554fb4[_0x12c43f(0x52a,0x75e)]?.[_0x2a0fa1(-_0x7961e0._0x51fdcc,-_0x7961e0._0xcbd5a9)]?.['password'])??readGatewayPasswordEnv(),_0x168a20={};return _0x168a20[_0x2a0fa1(-0x210,-0x39)+'und']=!![],_0x168a20[_0x12c43f(0x58e,_0x7961e0._0x2836c8)+_0x12c43f(_0x7961e0._0x5b344d,0x648)]=_0x26c1d9,_0x168a20[_0x2a0fa1(-0x144,-0x197)]=_0x4cde5e,_0x168a20[_0x12c43f(_0x7961e0._0x138b2e,_0x7961e0._0x364070)]=_0x94a885,_0x168a20[_0x2a0fa1(0x105,0x30b)]=_0x28f7ae,_0x168a20;}catch{return{'configFound':!![],'gatewayPort':null,'authMode':null,'token':readGatewayTokenEnv(),'password':_0x501119['FwJZe'](readGatewayPasswordEnv)};}}function resolveGatewayAuth(){const _0x50e5ae={_0x4698b6:0x72c,_0xd930e9:0x983,_0x50aea3:0x57d,_0xa897f3:0x203,_0x1e441f:0x78e,_0x6316bd:0x9fc,_0xa3bab4:0x20e,_0x459744:0xe2,_0x1d48e3:0x167,_0x48e5f6:0x7d6,_0x1b69d3:0x84e,_0x2b7e86:0x9f6,_0x24bbe8:0x6bf,_0x304132:0x621,_0x3c1132:0x991,_0x2a6ed7:0x826,_0x1f1eee:0x1ae,_0x107f80:0x250,_0x5988ba:0x71,_0x967baa:0x4f6,_0x2ced47:0x5e4,_0x50fe85:0x8c9,_0x3062eb:0x302,_0x2d4004:0x66,_0x30110c:0x44,_0x317be9:0x2ef,_0x248dec:0x203,_0x2c1504:0x70a,_0xb488fe:0x82d,_0x1da9f6:0x75e},_0x325015={_0x2627a7:0x567},_0x5a0361={_0x651fd1:0x15f},_0x4a22d7={};_0x4a22d7[_0x2fe023(_0x50e5ae._0x4698b6,_0x50e5ae._0xd930e9)]=function(_0x330346,_0xd7b600){return _0x330346&&_0xd7b600;},_0x4a22d7['LGwMa']=_0x2fe023(_0x50e5ae._0x50aea3,0x82d);const _0x4db6f4=_0x4a22d7,_0x2ef5a6=readOpenClawInfo(),_0xdd827f=_0x2ef5a6[_0x16b9fb(0x2a8,_0x50e5ae._0xa897f3)],_0x5a084e=_0x2ef5a6[_0x2fe023(_0x50e5ae._0x1e441f,0x82d)];if(_0x4db6f4[_0x2fe023(_0x50e5ae._0x6316bd,_0x50e5ae._0xd930e9)](_0xdd827f,_0x5a084e)&&_0x2ef5a6[_0x16b9fb(-_0x50e5ae._0xa3bab4,-_0x50e5ae._0x459744)]==null){const _0x54115e={};return _0x54115e[_0x16b9fb(0x398,0x203)]=_0xdd827f,_0x54115e[_0x16b9fb(0x82,_0x50e5ae._0x1d48e3)]=_0x5a084e,_0x54115e['label']=_0x16b9fb(0xa5,_0x50e5ae._0xa897f3),_0x54115e[_0x2fe023(_0x50e5ae._0x48e5f6,0x70f)]='OpenClaw'+'\x20has\x20bot'+_0x16b9fb(-0x294,-0xcf)+_0x2fe023(_0x50e5ae._0x1b69d3,_0x50e5ae._0x2b7e86)+'and\x20pass'+'word\x20con'+_0x2fe023(_0x50e5ae._0x24bbe8,_0x50e5ae._0x304132)+'\x20but\x20gat'+_0x16b9fb(0x3cc,0x29c)+_0x2fe023(_0x50e5ae._0x3c1132,_0x50e5ae._0x2a6ed7)+_0x16b9fb(0x48e,_0x50e5ae._0x1f1eee)+'\x20Set\x20the'+_0x16b9fb(_0x50e5ae._0x107f80,_0x50e5ae._0x5988ba)+'\x20token\x20o'+'r\x20passwo'+'rd\x20befor'+_0x2fe023(0xae8,0x8bf)+'g.',_0x54115e;}if(_0x2ef5a6[_0x2fe023(_0x50e5ae._0x967baa,_0x50e5ae._0x2ced47)]===_0x16b9fb(-0x10b,0x167)){const _0x3404af={};return _0x3404af[_0x2fe023(0x9c5,_0x50e5ae._0x50fe85)]=null,_0x3404af[_0x16b9fb(_0x50e5ae._0x3062eb,0x167)]=null,_0x3404af[_0x16b9fb(_0x50e5ae._0x2d4004,_0x50e5ae._0x30110c)]=null,_0x5a084e?{'token':null,'password':_0x5a084e,'label':'password'}:_0x3404af;}if(_0x2ef5a6[_0x16b9fb(-0x8f,-_0x50e5ae._0x459744)]===_0x16b9fb(_0x50e5ae._0x317be9,0x203)){const _0x57bdeb={};return _0x57bdeb[_0x2fe023(0xa97,_0x50e5ae._0x50fe85)]=null,_0x57bdeb['password']=null,_0x57bdeb['label']=null,_0xdd827f?{'token':_0xdd827f,'password':null,'label':'token'}:_0x57bdeb;}if(_0xdd827f){const _0xa5c210={};return _0xa5c210[_0x2fe023(0x94d,_0x50e5ae._0x50fe85)]=_0xdd827f,_0xa5c210[_0x16b9fb(-0xc7,0x167)]=null,_0xa5c210[_0x16b9fb(-0x16,0x44)]='token',_0xa5c210;}if(_0x5a084e){const _0x2e6faa={};return _0x2e6faa[_0x16b9fb(0x505,_0x50e5ae._0x248dec)]=null,_0x2e6faa['password']=_0x5a084e,_0x2e6faa[_0x2fe023(0x434,_0x50e5ae._0x2c1504)]=_0x4db6f4['LGwMa'],_0x2e6faa;}const _0x4a55b0={};_0x4a55b0[_0x16b9fb(0x148,0x203)]=null,_0x4a55b0[_0x2fe023(0xb2a,_0x50e5ae._0xb488fe)]=null;function _0x2fe023(_0x39838e,_0x3668c6){return _0x341e52(_0x3668c6-_0x5a0361._0x651fd1,_0x39838e);}function _0x16b9fb(_0x4bae1e,_0x3203a0){return _0x341e52(_0x3203a0- -_0x325015._0x2627a7,_0x4bae1e);}return _0x4a55b0[_0x2fe023(_0x50e5ae._0x1da9f6,0x70a)]=null,_0x4a55b0;}function getOpenClawConfigDir(){return resolveOpenClawPaths()['configDi'+'r'];}function getOpenClawStateDir(){function _0x1f8d10(_0x443a7a,_0x33411a){return _0x341e52(_0x33411a- -0xd6,_0x443a7a);}return resolveOpenClawPaths()[_0x1f8d10(0x7e8,0x4fa)];}function getOpenClawMediaDir(){const _0x2cd796={_0xbb1c60:0x1a0};function _0x2161b2(_0x493f2c,_0x2489e5){return _0x341e52(_0x2489e5- -_0x2cd796._0xbb1c60,_0x493f2c);}return resolveOpenClawPaths()[_0x2161b2(0x4c4,0x2e6)];}async function configureOpenClawLanAccess(_0x176f7d){const _0xa6abfd={_0x447f59:0x96,_0x3cac84:0x400,_0x29e90e:0x253,_0x4933dc:0x32,_0x25e31a:0x2c5,_0x12df27:0x3ba,_0x5b6ce3:0x3fa,_0x3fb950:0x4f5,_0x26cb90:0x260,_0x41bde4:0x116,_0x137068:0x44,_0x23b33f:0x5e3,_0x3fc702:0x386,_0x396ef0:0x3cb,_0x2a6da5:0x1d7,_0xb9170:0x706,_0x3607da:0x493,_0x5c549a:0x191,_0x156d28:0x78,_0x163077:0x265,_0x5d62a6:0x2b9,_0x16b184:0x4d1,_0x5c70f8:0x705,_0x24239c:0x909,_0x1fc66f:0x38e,_0x2b9ad7:0x1d4,_0x6191:0x3b4,_0x415a54:0x63c,_0xc531cb:0x589,_0x456db5:0x6f5,_0x37bf2f:0x5e8,_0x57e8fb:0x6cf,_0x1b8668:0x86f,_0xd1c8d:0x8a9,_0xcc1cd1:0x2f0},_0x4cf954={'zRxRE':function(_0x1bc0c2){return _0x1bc0c2();},'jzWvX':function(_0x2babb7,_0x457e47){return _0x2babb7(_0x457e47);},'nMzpX':function(_0x220fae,_0x5bdcf1,_0x3a6ffc){return _0x220fae(_0x5bdcf1,_0x3a6ffc);},'OpVQs':function(_0x44eec7,_0xc277d6){return _0x44eec7(_0xc277d6);},'PStZg':'set','ZUwBs':function(_0x25a044,_0x71c94f,_0x5f90f5){return _0x25a044(_0x71c94f,_0x5f90f5);},'EJfCH':function(_0xd84245,_0x2c160e){return _0xd84245!==_0x2c160e;},'OCMUO':_0x2b8875(-_0xa6abfd._0x447f59,-0x286),'UeQEP':'--strict'+'-json'},_0x2752a7=_0x4cf954[_0x40d9e5(0x424,_0xa6abfd._0x3cac84)](resolveOpenClawPaths);if(!_0x4cf954[_0x2b8875(-_0xa6abfd._0x29e90e,_0xa6abfd._0x4933dc)](_0x57e205,_0x2752a7[_0x2b8875(_0xa6abfd._0x25e31a,_0xa6abfd._0x12df27)+'th']))throw new Error(_0x40d9e5(_0xa6abfd._0x5b6ce3,0x5aa)+_0x40d9e5(0x3af,_0xa6abfd._0x3fb950)+_0x40d9e5(0x40f,0x1e0)+'found\x20at'+'\x20'+_0x2752a7[_0x40d9e5(0x6cf,0x92c)+'th']+(_0x40d9e5(0x495,0x75f)+'enClaw\x20s'+_0x2b8875(-0xd7,-0xf6)+_0x2b8875(_0xa6abfd._0x26cb90,0x2ca)+_0x40d9e5(0x547,0x4c7)+_0x2b8875(0x305,_0xa6abfd._0x41bde4)+_0x2b8875(-_0xa6abfd._0x137068,0xed)));const _0x4265ea=normalizeControlUiOrigin(_0x176f7d[_0x40d9e5(0x3b4,0x28d)+_0x2b8875(-0x41,0x22a)]),_0x1b128c=await _0x4cf954['nMzpX'](readOpenClawConfigString,_0x2b8875(0x38e,0x49b)+_0x40d9e5(0x658,0x6c5),_0x2752a7),_0x1e9b22=await _0x4cf954[_0x40d9e5(0x3fe,_0xa6abfd._0x23b33f)](readOpenClawAllowedOrigins,_0x2752a7);let _0x4eb122=![];_0x1b128c!==_0x40d9e5(_0xa6abfd._0x3fc702,0x224)&&(await _0x4cf954[_0x40d9e5(_0xa6abfd._0x396ef0,_0xa6abfd._0x2a6da5)](runOpenClawCli,[_0x40d9e5(0x374,0x33f),_0x4cf954[_0x40d9e5(0x6b7,_0xa6abfd._0xb9170)],_0x40d9e5(0x798,_0xa6abfd._0x3607da)+'bind','lan'],_0x2752a7),_0x4eb122=!![]);function _0x40d9e5(_0x1ad21b,_0x104fd7){return _0x35d151(_0x104fd7,_0x1ad21b-0xd6);}const _0x564e01=_0x4cf954[_0x2b8875(0x152,_0xa6abfd._0x5c549a)](appendUniqueOrigin,_0x1e9b22,_0x4265ea),_0x2a374d=_0x4cf954[_0x2b8875(-_0xa6abfd._0x156d28,-_0xa6abfd._0x163077)](_0x564e01[_0x40d9e5(0x6c3,0x87f)],_0x1e9b22[_0x2b8875(_0xa6abfd._0x5d62a6,_0xa6abfd._0x16b184)]);_0x2a374d&&await runOpenClawCli([_0x4cf954[_0x40d9e5(_0xa6abfd._0x5c70f8,_0xa6abfd._0x24239c)],'set',_0x2b8875(_0xa6abfd._0x1fc66f,_0xa6abfd._0x2b9ad7)+_0x40d9e5(_0xa6abfd._0x6191,_0xa6abfd._0x415a54)+_0x40d9e5(_0xa6abfd._0xc531cb,0x468)+'dOrigins',JSON[_0x2b8875(0x1c8,0x443)+'y'](_0x564e01),_0x4cf954[_0x40d9e5(_0xa6abfd._0x456db5,_0xa6abfd._0x37bf2f)]],_0x2752a7);function _0x2b8875(_0x495233,_0x59697c){return _0x35d151(_0x59697c,_0x495233- -0x334);}const _0x411100={};return _0x411100['configPa'+'th']=_0x2752a7[_0x40d9e5(_0xa6abfd._0x57e8fb,_0xa6abfd._0x1b8668)+'th'],_0x411100[_0x2b8875(0x25a,0x2a0)+_0x40d9e5(0x778,_0xa6abfd._0xd1c8d)]=_0x4eb122,_0x411100['allowedO'+_0x2b8875(0x28f,0x148)+'ed']=_0x2a374d,_0x411100[_0x2b8875(-0x1f1,-0x12a)+'rigins']=_0x564e01,_0x411100[_0x2b8875(-0x56,-_0xa6abfd._0xcc1cd1)+'iOrigin']=_0x4265ea,_0x411100;}async function restartOpenClawGateway(){const _0x53e551={_0x4ac002:0x236,_0x3b7c64:0x1da,_0x2fcda0:0x367,_0x125d75:0x42f,_0x5ac613:0x1b3,_0xd579b:0x547,_0xc2185c:0x2af,_0x39ce93:0x452,_0x4aedb1:0x535,_0x1aeabf:0x316,_0x236186:0x44a,_0x785b0e:0x66d,_0x860083:0x254,_0x1da7b4:0x2ba,_0x1f5f24:0xd4,_0x3bea7b:0x99,_0x4c1299:0xd4,_0x102cbe:0x114,_0x1633d2:0x2ca,_0x32cd6e:0x6ad,_0x14dec6:0x15c,_0x373700:0x4f6,_0x121ce8:0x8c,_0x511028:0xd4,_0x4735a7:0x2a8,_0x4406b2:0x86,_0x3c242f:0x4a,_0x29da24:0x212},_0x260348={_0x409c74:0x341},_0x51acab={'omLkj':'not-load'+'ed','uqpdn':_0x734730(0x449,_0x53e551._0x4ac002),'wnzNc':_0x734730(_0x53e551._0x3b7c64,0x3af),'tCtHH':function(_0x38bddb,_0x17ecc9){return _0x38bddb===_0x17ecc9;},'oWFlR':function(_0xe0b18a,_0x51e836){return _0xe0b18a(_0x51e836);},'jMtHK':_0x42dace(0x3d0,0x508)+'d'};function _0x42dace(_0x24009a,_0x1cb4c7){return _0x341e52(_0x24009a- -_0x260348._0x409c74,_0x1cb4c7);}const _0x25193a=resolveOpenClawPaths(),_0x404417=await runOpenClawDaemonCommand([_0x42dace(_0x53e551._0x2fcda0,0x418),_0x734730(0x294,0x513),_0x734730(_0x53e551._0x125d75,0x3af)],_0x25193a);if(_0x404417[_0x734730(_0x53e551._0x5ac613,0x2ba)]===_0x51acab[_0x42dace(0x2ab,_0x53e551._0xd579b)]){const _0x478e18=await runOpenClawDaemonCommand([_0x734730(0x19e,_0x53e551._0xc2185c),_0x51acab[_0x734730(0x17e,_0x53e551._0x39ce93)],_0x51acab['wnzNc']],_0x25193a);if(_0x51acab[_0x42dace(0x393,_0x53e551._0x4aedb1)](_0x478e18['result'],_0x734730(_0x53e551._0x1aeabf,0x17e)+'ed'))throw new Error(_0x51acab[_0x42dace(0x5a1,_0x53e551._0x236186)](buildGatewayNotLoadedMessage,_0x478e18));const _0x9bc7f9={};return _0x9bc7f9[_0x42dace(0x5af,_0x53e551._0x785b0e)]=_0x734730(_0x53e551._0x860083,0x6a),_0x9bc7f9[_0x734730(0xa1,_0x53e551._0x1da7b4)]=_0x478e18['result']??_0x734730(0x144,0x6a),_0x9bc7f9[_0x42dace(_0x53e551._0x1f5f24,-_0x53e551._0x3bea7b)]=_0x478e18[_0x42dace(_0x53e551._0x4c1299,_0x53e551._0x102cbe)],_0x9bc7f9[_0x42dace(_0x53e551._0x1633d2,0x36d)]=_0x478e18['warnings'],_0x9bc7f9;}const _0xb5e054={};function _0x734730(_0x5cf617,_0x401efb){return _0x341e52(_0x401efb- -0x3f9,_0x5cf617);}return _0xb5e054[_0x42dace(0x5af,_0x53e551._0x32cd6e)]=_0x734730(_0x53e551._0x14dec6,0x318)+'d',_0xb5e054[_0x734730(_0x53e551._0x373700,0x2ba)]=_0x404417[_0x734730(0x3ad,_0x53e551._0x1da7b4)]??_0x51acab[_0x42dace(0x1c9,-_0x53e551._0x121ce8)],_0xb5e054[_0x42dace(_0x53e551._0x511028,-0x66)]=_0x404417[_0x734730(_0x53e551._0x4735a7,0x1c)],_0xb5e054[_0x734730(-_0x53e551._0x4406b2,0x212)]=_0x404417[_0x734730(-_0x53e551._0x3c242f,_0x53e551._0x29da24)],_0xb5e054;}function getOpenClawBootstrapPath(_0x57e2b1=getOpenClawStateDir()){return _0x4cb7e2(_0x57e2b1,'devices',BOOTSTRAP_FILENAME);}async function issueOpenClawBootstrapToken(_0x4cbcad){const _0x263942={_0x4f2308:0x86f,_0x726351:0x16d,_0x2e8c3d:0x36,_0x50979c:0x7eb,_0x3ff491:0x8cc,_0x4764fd:0xa43,_0x290457:0xb9,_0x197ce3:0x147,_0x216d7a:0x20c,_0x405150:0x980},_0x125c6c={_0x4d4c57:0x318,_0x1c67af:0x1aa,_0x1f943c:0x130,_0x52e5c2:0x2fd,_0x800189:0x3cb,_0x5b841c:0x314},_0x2a0f1c={_0x294479:0x3f6},_0xe01d1b={_0x1ccd7a:0x351},_0x54f904={'cCzxd':function(_0x55da4c,_0x206a31,_0x1fa290){return _0x55da4c(_0x206a31,_0x1fa290);}},_0xe55053=_0x4cbcad[_0x4bb948(_0x263942._0x4f2308,0xa43)][_0x7a0bed(_0x263942._0x726351,_0x263942._0x2e8c3d)]();function _0x7a0bed(_0x33c7b3,_0x1a43f0){return _0x35d151(_0x33c7b3,_0x1a43f0- -_0xe01d1b._0x1ccd7a);}function _0x4bb948(_0x26c572,_0x2e1909){return _0x35d151(_0x26c572,_0x2e1909-_0x2a0f1c._0x294479);}const _0x4aeae5=_0x4cbcad[_0x7a0bed(0x11a,0xdc)+'y']['trim'](),_0x3956e0=_0x4cbcad[_0x7a0bed(0x2e3,0xe4)][_0x7a0bed(-0x12a,0x36)](),_0x1807e5=normalizeStringArray(_0x4cbcad[_0x4bb948(0xa3b,_0x263942._0x50979c)]);if(!_0xe55053||!_0x4aeae5||!_0x3956e0||_0x1807e5['length']===0x0)throw new Error(_0x4bb948(_0x263942._0x3ff491,_0x263942._0x4764fd)+_0x4bb948(0xa82,0xa5a)+_0x7a0bed(_0x263942._0x290457,-0x1a)+_0x4bb948(0x7e3,0x7f4)+_0x7a0bed(-_0x263942._0x197ce3,-_0x263942._0x216d7a)+_0x4bb948(0x715,_0x263942._0x405150)+'ed');return await withBootstrapLock(async()=>{const _0x4a62e9={_0x22bd35:0x315},_0x164f19=_0x4cbcad[_0x1feae1(0xd6,_0x125c6c._0x4d4c57)]??getOpenClawStateDir();function _0xc0fe20(_0x4dc538,_0x281a90){return _0x7a0bed(_0x281a90,_0x4dc538-0x160);}const _0x443ec4=getOpenClawBootstrapPath(_0x164f19),_0x2f0d94=await loadBootstrapState(_0x443ec4),_0x51dfb6=generatePairingToken();function _0x1feae1(_0x213ddc,_0x31bd0e){return _0x7a0bed(_0x213ddc,_0x31bd0e-_0x4a62e9._0x22bd35);}const _0x422fb0=Date[_0x1feae1(_0x125c6c._0x1c67af,_0x125c6c._0x1f943c)]();_0x2f0d94[_0x51dfb6]={'token':_0x51dfb6,'ts':_0x422fb0,'deviceId':_0xe55053,'publicKey':_0x4aeae5,'roles':[_0x3956e0],'scopes':_0x1807e5,'issuedAtMs':_0x422fb0},await _0x54f904[_0x1feae1(0x508,0x25b)](writeJsonAtomic,_0x443ec4,_0x2f0d94);const _0x1ca382={};return _0x1ca382[_0xc0fe20(_0x125c6c._0x52e5c2,0xba)]=_0x51dfb6,_0x1ca382['expiresA'+'tMs']=_0x422fb0+DEVICE_BOOTSTRAP_TOKEN_TTL_MS,_0x1ca382[_0xc0fe20(_0x125c6c._0x800189,_0x125c6c._0x5b841c)+'h']=_0x443ec4,_0x1ca382;});}function readConfiguredSecret(_0x223e94){const _0x25d31b={_0x4a7d4f:0x651,_0x1bea56:0x53d,_0x52734f:0x651},_0x3b5848={_0x33555d:0xf2};function _0x1eae88(_0x557a4d,_0x703cad){return _0x35d151(_0x557a4d,_0x703cad-0x2ca);}function _0x133db4(_0xa8c123,_0x7421f3){return _0x35d151(_0xa8c123,_0x7421f3-_0x3b5848._0x33555d);}return typeof _0x223e94==='string'&&_0x223e94[_0x1eae88(0x660,_0x25d31b._0x4a7d4f)]()?_0x223e94[_0x1eae88(_0x25d31b._0x1bea56,_0x25d31b._0x52734f)]():null;}async function readOpenClawConfigString(_0x4a8429,_0x59c050=resolveOpenClawPaths()){const _0x525b1b={_0x4b49ac:0x563,_0x10fee7:0x697},_0x1e4029={_0x35b6b9:0xa0};function _0x26371f(_0xdded66,_0x2b6b6d){return _0x341e52(_0xdded66- -0x13e,_0x2b6b6d);}const _0x66ce26={};_0x66ce26[_0x26371f(0x5c8,0x5ea)]=function(_0x462f31,_0x40a669){return _0x462f31||_0x40a669;};function _0x3a3a21(_0x2d0849,_0x4bb577){return _0x341e52(_0x2d0849- -_0x1e4029._0x35b6b9,_0x4bb577);}const _0x1731f2=_0x66ce26;try{const {stdout:_0xa9f975}=await runOpenClawCli(['config','get',_0x4a8429],_0x59c050),_0x3b587c=_0xa9f975[_0x3a3a21(_0x525b1b._0x4b49ac,_0x525b1b._0x10fee7)]();return _0x1731f2[_0x3a3a21(0x666,0x73b)](_0x3b587c,null);}catch(_0x382a0e){if(isMissingConfigPathError(_0x382a0e))return null;throw _0x382a0e;}}async function readOpenClawAllowedOrigins(_0x1a5295=resolveOpenClawPaths()){const _0x46b8a4={_0x1ef4d3:0x546,_0x109022:0x256,_0x149053:0x71d,_0x1d00a6:0x96f,_0x22f588:0x7a1,_0x43e032:0x3a4},_0x4c2a59={_0x5abd2f:0x7},_0x554ba4={_0x20bee0:0x2b3};function _0xf49a6a(_0x2ed292,_0x9e44d1){return _0x341e52(_0x2ed292- -_0x554ba4._0x20bee0,_0x9e44d1);}const _0x1b0ec2={'iiOhZ':function(_0x4d8373,_0x153582){return _0x4d8373(_0x153582);}};function _0x2ec098(_0x11a1c5,_0x2bfdc2){return _0x341e52(_0x2bfdc2- -_0x4c2a59._0x5abd2f,_0x11a1c5);}try{const {stdout:_0x5485e8}=await runOpenClawCli(['config',_0xf49a6a(0x610,0x53f),'gateway.'+_0xf49a6a(0x2a7,_0x46b8a4._0x1ef4d3)+_0xf49a6a(0x47c,_0x46b8a4._0x109022)+_0x2ec098(_0x46b8a4._0x149053,0x6fc),_0x2ec098(_0x46b8a4._0x1d00a6,_0x46b8a4._0x22f588)],_0x1a5295),_0x605b6e=_0x1b0ec2[_0x2ec098(0x6df,0x958)](parseEmbeddedJsonValue,_0x5485e8);return Array[_0x2ec098(0x74d,0x44f)](_0x605b6e)?_0x605b6e['filter'](_0x4d6d9e=>typeof _0x4d6d9e===_0xf49a6a(0x127,0x144))[_0x2ec098(_0x46b8a4._0x43e032,0x3a5)](_0x2119aa=>_0x2119aa[_0xf49a6a(0x350,0x4b2)]())['filter'](Boolean):[];}catch(_0x43713a){if(isMissingConfigPathError(_0x43713a))return[];throw _0x43713a;}}function _0x1fba(_0x195bfa,_0x4512f3){_0x195bfa=_0x195bfa-0x13f;const _0x1c02a0=_0x1876();let _0x5726ab=_0x1c02a0[_0x195bfa];if(_0x1fba['WDJDxY']===undefined){var _0x3fec44=function(_0x4a0909){const _0x31c4be='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x173271='',_0x5ac91e='',_0x414904=_0x173271+_0x3fec44;for(let _0x11e45d=0x0,_0x345389,_0x1b4cd2,_0x3b27b9=0x0;_0x1b4cd2=_0x4a0909['charAt'](_0x3b27b9++);~_0x1b4cd2&&(_0x345389=_0x11e45d%0x4?_0x345389*0x40+_0x1b4cd2:_0x1b4cd2,_0x11e45d++%0x4)?_0x173271+=_0x414904['charCodeAt'](_0x3b27b9+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x345389>>(-0x2*_0x11e45d&0x6)):_0x11e45d:0x0){_0x1b4cd2=_0x31c4be['indexOf'](_0x1b4cd2);}for(let _0x313280=0x0,_0x4b8985=_0x173271['length'];_0x313280<_0x4b8985;_0x313280++){_0x5ac91e+='%'+('00'+_0x173271['charCodeAt'](_0x313280)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x5ac91e);};_0x1fba['bVxmbE']=_0x3fec44,_0x1fba['xhFNlG']={},_0x1fba['WDJDxY']=!![];}const _0x187645=_0x1c02a0[0x0],_0x1fbab1=_0x195bfa+_0x187645,_0x294128=_0x1fba['xhFNlG'][_0x1fbab1];if(!_0x294128){const _0x4e5008=function(_0x515ca9){this['MtTXQG']=_0x515ca9,this['PSVEqf']=[0x1,0x0,0x0],this['biILYU']=function(){return'newState';},this['FOAsIB']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['KVNPPj']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x4e5008['prototype']['CrMseH']=function(){const _0x511a74=new RegExp(this['FOAsIB']+this['KVNPPj']),_0x1f3bc0=_0x511a74['test'](this['biILYU']['toString']())?--this['PSVEqf'][0x1]:--this['PSVEqf'][0x0];return this['pKiIVW'](_0x1f3bc0);},_0x4e5008['prototype']['pKiIVW']=function(_0x11b731){if(!Boolean(~_0x11b731))return _0x11b731;return this['shfLnt'](this['MtTXQG']);},_0x4e5008['prototype']['shfLnt']=function(_0x400002){for(let _0x51359b=0x0,_0x3094f5=this['PSVEqf']['length'];_0x51359b<_0x3094f5;_0x51359b++){this['PSVEqf']['push'](Math['round'](Math['random']())),_0x3094f5=this['PSVEqf']['length'];}return _0x400002(this['PSVEqf'][0x0]);},new _0x4e5008(_0x1fba)['CrMseH'](),_0x5726ab=_0x1fba['bVxmbE'](_0x5726ab),_0x1fba['xhFNlG'][_0x1fbab1]=_0x5726ab;}else _0x5726ab=_0x294128;return _0x5726ab;}async function runOpenClawDaemonCommand(_0x500ce3,_0x49a8eb=resolveOpenClawPaths()){const _0x173eac={_0x5c0a26:0x444,_0x437c7b:0x25f,_0x52ee9c:0x250,_0x4004a0:0x477,_0x471e71:0x2e9,_0x269ce9:0x42d,_0x40d869:0x6eb,_0xa71bb:0x794,_0x577292:0x21d,_0x14ca82:0x3f8,_0x3cd2ed:0x48a,_0xa1eec1:0x42d,_0x56f7bf:0xd8,_0x1726c9:0x393,_0x447423:0x444,_0x40c8b7:0x589,_0x576c79:0x5c7,_0x3d22a7:0x9be,_0xb02070:0x184,_0x77fbb8:0x350,_0x1b27fb:0x2ec,_0x3feccc:0x44a,_0x46c1b0:0x11a,_0x373a5d:0x275,_0x1da8dc:0x6b9,_0x5b50cc:0x656,_0x3c2fde:0x2a6,_0x261e78:0x161,_0x4a558d:0x27a,_0x19f77d:0x139,_0x238da1:0x53f,_0x2d0b15:0x46b},_0x50f79f={_0x4c022b:0x153};function _0x8d9c5b(_0x655475,_0x32f8d5){return _0x35d151(_0x32f8d5,_0x655475-_0x50f79f._0x4c022b);}const _0x2fd300={};_0x2fd300[_0x8d9c5b(_0x173eac._0x5c0a26,0x3d1)]=function(_0x29bbd3,_0x58fd4f){return _0x29bbd3===_0x58fd4f;},_0x2fd300[_0x9136c1(0x416,0x36d)]=_0x9136c1(-0x155,-_0x173eac._0x437c7b);const _0x4973f0=_0x2fd300,{stdout:_0x3e41de}=await runOpenClawCli(_0x500ce3,_0x49a8eb);let _0x482f33;try{_0x482f33=parseEmbeddedJsonValue(_0x3e41de);}catch(_0x2358e6){const _0x5a0352={};_0x5a0352[_0x9136c1(_0x173eac._0x52ee9c,0x44d)]=_0x2358e6;throw new Error(_0x8d9c5b(_0x173eac._0x4004a0,0x2ed)+'\x20'+_0x500ce3[_0x8d9c5b(_0x173eac._0x471e71,0x12a)](0x0,0x2)[_0x9136c1(_0x173eac._0x269ce9,_0x173eac._0x40d869)]('\x20')+('\x20returne'+'d\x20invali'+_0x8d9c5b(0x683,_0x173eac._0xa71bb)+_0x9136c1(_0x173eac._0x577292,0x419)),_0x5a0352);}if(_0x482f33['ok']!==!![])throw new Error(_0x482f33[_0x8d9c5b(0x487,_0x173eac._0x14ca82)]?.['trim']()||'OpenClaw'+'\x20'+_0x500ce3[_0x8d9c5b(0x2e9,_0x173eac._0x3cd2ed)](0x0,0x2)[_0x9136c1(_0x173eac._0xa1eec1,0x1ef)]('\x20')+_0x9136c1(-_0x173eac._0x56f7bf,-_0x173eac._0x1726c9));function _0x9136c1(_0x4e64aa,_0x40aee0){return _0x35d151(_0x40aee0,_0x4e64aa- -0x2b3);}return{'result':_0x4973f0[_0x8d9c5b(_0x173eac._0x447423,_0x173eac._0x40c8b7)](typeof _0x482f33[_0x8d9c5b(0x58a,_0x173eac._0x576c79)],_0x4973f0[_0x8d9c5b(0x81c,_0x173eac._0x3d22a7)])?_0x482f33[_0x9136c1(_0x173eac._0xb02070,_0x173eac._0x77fbb8)]:void 0x0,'message':typeof _0x482f33[_0x8d9c5b(_0x173eac._0x1b27fb,0x17a)]===_0x8d9c5b(0x2b1,_0x173eac._0x3feccc)?_0x482f33[_0x9136c1(-_0x173eac._0x46c1b0,-_0x173eac._0x373a5d)]:null,'warnings':Array['isArray'](_0x482f33[_0x8d9c5b(0x4e2,_0x173eac._0x1da8dc)])?_0x482f33[_0x8d9c5b(0x4e2,_0x173eac._0x5b50cc)][_0x8d9c5b(_0x173eac._0x3c2fde,_0x173eac._0x261e78)](_0x8f80fb=>typeof _0x8f80fb===_0x8d9c5b(0x2b1,0x3)):[],'hints':Array[_0x8d9c5b(0x32d,_0x173eac._0x4a558d)](_0x482f33[_0x9136c1(_0x173eac._0x19f77d,0x41d)])?_0x482f33[_0x8d9c5b(_0x173eac._0x238da1,0x402)][_0x9136c1(-0x160,-_0x173eac._0x2d0b15)](_0x4e099a=>typeof _0x4e099a===_0x9136c1(-0x155,-0x181)):[]};}async function runOpenClawCli(_0x546583,_0xd1909e=resolveOpenClawPaths()){const _0x272e8f={_0x1ecc58:0x56,_0x2713f7:0x1c3,_0x66429c:0x136,_0x5b9474:0x18f,_0x225da0:0x149,_0x3ee8f5:0x3db,_0x2f706f:0x1e5,_0x322438:0x1df,_0x34471d:0x32,_0x176ca6:0x3};try{return await new Promise((_0x45d08a,_0x173020)=>{const _0x287599={_0x441cfa:0x959,_0x1c4156:0x4a6};function _0x273262(_0x989ba,_0x45069d){return _0x1fba(_0x45069d- -0x286,_0x989ba);}const _0x490d2a={...process.env};_0x490d2a['OPENCLAW'+_0x2fad44(-_0x272e8f._0x1ecc58,0x22d)+'IR']=_0xd1909e[_0x273262(-_0x272e8f._0x2713f7,_0x272e8f._0x66429c)],_0x490d2a[_0x2fad44(_0x272e8f._0x5b9474,_0x272e8f._0x225da0)+'_CONFIG_'+'PATH']=_0xd1909e[_0x273262(0x225,_0x272e8f._0x3ee8f5)+'th'];const _0x131dac={};_0x131dac[_0x2fad44(-0x3b5,-_0x272e8f._0x2f706f)]=_0x273262(0x2a8,_0x272e8f._0x322438),_0x131dac[_0x2fad44(_0x272e8f._0x34471d,-_0x272e8f._0x176ca6)]=_0x490d2a,_0x131dac['maxBuffe'+'r']=0x400*0x400;function _0x2fad44(_0x32f379,_0x19ab0a){return _0x1fba(_0x19ab0a- -0x348,_0x32f379);}execFile(OPENCLAW_CLI_COMMAND,_0x546583,_0x131dac,(_0x33f501,_0x10c9a7,_0x21aaa8)=>{const _0x44a167={_0xcc1a6c:0x4e9};if(_0x33f501){const _0x23d62a={};_0x23d62a[_0x43768d(0x333,0x1c9)]=_0x10c9a7,_0x23d62a[_0xe6285d(0x8c7,_0x287599._0x441cfa)]=_0x21aaa8,Object['assign'](_0x33f501,_0x23d62a),_0x173020(_0x33f501);return;}function _0x43768d(_0x51ad91,_0x22d6de){return _0x2fad44(_0x22d6de,_0x51ad91-_0x44a167._0xcc1a6c);}const _0x40ed95={};_0x40ed95[_0xe6285d(_0x287599._0x1c4156,0x3c2)]=_0x10c9a7,_0x40ed95['stderr']=_0x21aaa8;function _0xe6285d(_0x560608,_0x1df390){return _0x2fad44(_0x1df390,_0x560608-0x65c);}_0x45d08a(_0x40ed95);});});}catch(_0x199757){throw formatOpenClawCliError(_0x546583,_0x199757);}}function formatOpenClawCliError(_0x51b75c,_0x32c087){const _0x19e8ea={_0x28b7bc:0x63c,_0x5c1300:0x238,_0xc53b22:0x406,_0x89baa7:0x43f,_0x399303:0x7b7,_0x115eba:0x5f6,_0x214666:0x66b,_0x4567dc:0x673,_0x256900:0x441,_0x58b5f1:0x8cd,_0xd982c4:0x6a3,_0xe068a:0x173,_0x2f73ea:0x20c,_0x51e405:0x63b,_0x1b0783:0x469,_0x4e4eab:0x643,_0x17926c:0x53c,_0x183ba9:0x4f3},_0x34edcf={_0x332724:0x9c};function _0xc16ed0(_0x23d58f,_0x54e890){return _0x341e52(_0x54e890- -0x19a,_0x23d58f);}const _0x199e7e={};_0x199e7e['IjSts']=function(_0x36d01f,_0x15230a){return _0x36d01f===_0x15230a;};const _0x27e478=_0x199e7e;function _0x6e11c8(_0x2cefa0,_0x239ada){return _0x341e52(_0x2cefa0-_0x34edcf._0x332724,_0x239ada);}const _0x1e8849=_0x6e11c8(_0x19e8ea._0x28b7bc,0x4e7)+'\x20'+_0x51b75c[_0xc16ed0(0x7ee,0x7c2)]('\x20');if(isExecFileError(_0x32c087)){if(_0x27e478['IjSts'](_0x32c087['code'],'ENOENT'))return new Error(_0xc16ed0(_0x19e8ea._0x5c1300,_0x19e8ea._0xc53b22)+_0x6e11c8(0x71b,_0x19e8ea._0x89baa7)+'\x20not\x20fou'+_0x6e11c8(0x5ff,_0x19e8ea._0x399303)+_0x6e11c8(0x8c2,_0x19e8ea._0x115eba)+'all\x20Open'+_0x6e11c8(_0x19e8ea._0x214666,0x70f)+_0xc16ed0(_0x19e8ea._0x4567dc,0x7c9)+'`'+OPENCLAW_CLI_COMMAND+(_0x6e11c8(0x59a,0x719)+'ilable\x20b'+'efore\x20ru'+_0x6e11c8(_0x19e8ea._0x256900,0x39b)+'cal\x20pair'+_0x6e11c8(_0x19e8ea._0x58b5f1,_0x19e8ea._0xd982c4)));const _0x540d41=[_0x32c087[_0x6e11c8(0x863,0x65b)],_0x32c087[_0xc16ed0(_0x19e8ea._0xe068a,_0x19e8ea._0x2f73ea)]][_0x6e11c8(0x46b,0x73e)](_0x2320ef=>typeof _0x2320ef===_0x6e11c8(0x476,0x4b0)&&_0x2320ef[_0x6e11c8(0x69f,0x84b)]()[_0x6e11c8(0x905,0x9f5)]>0x0)['join']('\x0a')[_0xc16ed0(_0x19e8ea._0x51e405,_0x19e8ea._0x1b0783)]();return new Error(_0x540d41?_0x1e8849+(_0xc16ed0(_0x19e8ea._0x4e4eab,_0x19e8ea._0x17926c)+'\x20')+_0x540d41:_0x1e8849+_0x6e11c8(_0x19e8ea._0x183ba9,0x71c));}return _0x32c087 instanceof Error?_0x32c087:new Error(_0x1e8849+('\x20failed:'+'\x20')+String(_0x32c087));}function isMissingConfigPathError(_0x58d35a){const _0x2005ec={_0x44bc3f:0x1e9},_0x11fbe6={_0x347199:0x2d6},_0x4f382b={_0x379c05:0x29b};function _0xf8aaef(_0x1c239c,_0x35d6ce){return _0x35d151(_0x35d6ce,_0x1c239c-_0x4f382b._0x379c05);}function _0x565d1c(_0x3632e1,_0x376ef7){return _0x35d151(_0x376ef7,_0x3632e1- -_0x11fbe6._0x347199);}return _0x58d35a instanceof Error&&/Config path not found:/i[_0x565d1c(0xe4,-0x106)](_0x58d35a[_0x565d1c(-0x13d,-_0x2005ec._0x44bc3f)]);}function isExecFileError(_0x534e5a){return _0x534e5a instanceof Error;}function normalizeControlUiOrigin(_0x2e44d1){function _0x4b53c4(_0x2b3005,_0x1c90e4){return _0x35d151(_0x2b3005,_0x1c90e4-0x41e);}const _0x25e23d=new URL(_0x2e44d1[_0x4b53c4(0x67f,0x7a5)]());return _0x25e23d['origin'];}function appendUniqueOrigin(_0x44df0a,_0xdb4fdf){const _0x104241={_0x4b0ce0:0xa23,_0x4a5c12:0x7f0,_0x29bf3d:0x9d2,_0x1fa5c7:0xa1f,_0x16923c:0xb69,_0x41ea24:0xc43,_0x34c54f:0xbe1,_0x150997:0x95c,_0x1ca743:0x833};function _0x342134(_0x1a0f1a,_0x559c3f){return _0x341e52(_0x1a0f1a-0x11a,_0x559c3f);}const _0x42ad63={'cYOPJ':function(_0x3d5568,_0x44acaf){return _0x3d5568(_0x44acaf);}},_0x161956=normalizeControlUiOrigin(_0xdb4fdf)[_0x342134(0x9d2,0x808)+_0x185efd(_0x104241._0x4b0ce0,_0x104241._0x4a5c12)](),_0x44bf6c=new Set(),_0x3344a5=new Set();function _0x185efd(_0x1b8dec,_0xdb6d35){return _0x341e52(_0x1b8dec-0x120,_0xdb6d35);}const _0x53ce4b=[];for(const _0x1d006e of _0x44df0a){const _0x559265=_0x1d006e['trim']();if(!_0x559265)continue;let _0x24955e;try{_0x24955e=normalizeControlUiOrigin(_0x559265)[_0x342134(_0x104241._0x29bf3d,0xcd0)+'ase']();}catch{const _0x1629eb=_0x559265['toLowerC'+_0x185efd(0xa23,0xc54)]();if(_0x3344a5['has'](_0x1629eb))continue;_0x3344a5[_0x342134(_0x104241._0x1fa5c7,_0x104241._0x16923c)](_0x1629eb),_0x53ce4b[_0x342134(0x9bb,0x6dc)](_0x559265);continue;}if(_0x44bf6c['has'](_0x24955e))continue;_0x44bf6c[_0x185efd(0xa25,0xcdd)](_0x24955e),_0x53ce4b[_0x342134(0x9bb,_0x104241._0x41ea24)](_0x24955e===_0x161956?normalizeControlUiOrigin(_0xdb4fdf):normalizeControlUiOrigin(_0x559265));}return!_0x44bf6c[_0x342134(0xa2b,_0x104241._0x34c54f)](_0x161956)&&_0x53ce4b[_0x185efd(0x9c1,_0x104241._0x150997)](_0x42ad63[_0x342134(0x67a,_0x104241._0x1ca743)](normalizeControlUiOrigin,_0xdb4fdf)),_0x53ce4b;}function buildGatewayNotLoadedMessage(_0x36b347){const _0x54d556={_0x1a8181:0x5ba,_0x2eb54a:0x559,_0xd7550a:0x47,_0x5ced42:0x465,_0x51bdb0:0x3c2,_0x5ede41:0x4ef,_0x136e94:0x34c,_0x30b94a:0x208,_0x5df65c:0x17e,_0x2a5926:0x897,_0x34000c:0x36a,_0x367b78:0x720,_0x499384:0x996,_0x3ea6aa:0x3c7,_0x37fe0d:0x11,_0x53b96c:0x7a6,_0x2d9577:0x49d,_0x456822:0x11,_0x52a446:0x43d,_0x129ade:0x264,_0x984093:0x5bc},_0x35d0e8={_0x57e3d6:0x404},_0x139798={};_0x139798[_0x49b8e7(_0x54d556._0x1a8181,0x51f)]=_0x56d053(0x6ea,_0x54d556._0x2eb54a)+_0x49b8e7(0x293,_0x54d556._0xd7550a)+_0x56d053(_0x54d556._0x5ced42,0x435)+_0x56d053(_0x54d556._0x51bdb0,0x245)+_0x56d053(0x63,0x361)+'wket\x20pai'+_0x49b8e7(_0x54d556._0x5ede41,0x69a)+'l`.';function _0x49b8e7(_0x350a54,_0x5961d9){return _0x341e52(_0x350a54- -0x23b,_0x5961d9);}const _0x597b07=_0x139798;function _0x56d053(_0x406f3b,_0x2b9f19){return _0x341e52(_0x2b9f19- -_0x35d0e8._0x57e3d6,_0x406f3b);}const _0x3f83df=[_0x56d053(0xd3,0x19c)+'\x20Gateway'+_0x49b8e7(0x195,0x1f6)+'running\x20'+'under\x20a\x20'+_0x56d053(_0x54d556._0x136e94,_0x54d556._0x30b94a)+_0x56d053(0x1b5,0x3a3)+_0x49b8e7(0x28e,0x3b5)+_0x49b8e7(0x43b,_0x54d556._0x5df65c)+'d\x20gatewa'+_0x49b8e7(0x63b,_0x54d556._0x2a5926)+_0x56d053(_0x54d556._0x34000c,0x550)+_0x56d053(0x241,0x4ca)+_0x49b8e7(_0x54d556._0x367b78,_0x54d556._0x499384)+_0x56d053(0x3a1,0x29e)+_0x49b8e7(_0x54d556._0x3ea6aa,0x656)];return _0x36b347[_0x56d053(0x1c6,_0x54d556._0x37fe0d)]&&_0x3f83df[_0x56d053(_0x54d556._0x53b96c,_0x54d556._0x2d9577)](_0x36b347[_0x56d053(0x9c,_0x54d556._0x456822)]),_0x36b347['hints']['length']>0x0&&_0x3f83df['push'](_0x36b347[_0x56d053(_0x54d556._0x52a446,_0x54d556._0x129ade)]['join']('\x20')),_0x3f83df[_0x49b8e7(0x666,0x472)](_0x597b07['cIlrz']),_0x3f83df[_0x56d053(_0x54d556._0x984093,0x558)]('\x20');}function _0x1876(){const _0x23dcc4=['zxDHEvjLywm','CfDfBw4','ywX1zxmGBgK','yxj0ienSyxC','AhfoDhy','r1fqzLy','lMnSyxDRzxq','Bw9Kzq','BgKUANnVBG','ywn0Aw9U','zxHPDenVzgu','lM9Wzw5JBge','CgXHDgzVCM0','Bgf3igzVCIa','tMfTztOG','CMvSyxKGy28','AwDeshC','DwLYzwq','AxjZDc4Gq28','ihnJB3bL','ywnRihrVia','zxf1zxn0CW','CNvUDgLTzs4','ihrYyw5ZAwu','B3qGzM91BMq','ifjLDhj5igy','Dw5PBNn0ywW','CMvXDwvZDca','yxnL','EePtEfu','ywrK','yw5Ktxm9','zgu9','y3jLyxrLzee','Dw5UAw5N','C2nVBM5Ly3q','CM9TigeGzgK','CMvZDgfYDa','BYbKzxrLCM0','Dw5Yzwy','ieXbtIbWywK','u0Lhsu5u','AgfZ','DwvZDcbWzw4','ls1Uyw1L','BYbSB2nHDgu','l2fJy2vZCY0','ls1XCI1MAwW','CNvUifSTlwC','zxHPDcaXmJC','ihPLCM87igC','wufREMK','B25mB2C','zwjVB3qU','wKrYEKG','z2vK','luTjteW','iYeVyMLUl3m','igf2ywLSywi','zsbIywnRz3i','BgWIig9Yici','mxWYFdz8mtu','BM5Ly3rLzca','Aw5KzxHpzG','Bg9Nugf0Aa','zMfTAwX5','C3rVCciGzMK','rI04iJ8+cJW','Bg9JywXhyxq','qMvXsuu','v2LUzg93C1W','cIaGphn0CMK','zw50CW','C3rHBguGAwq','CMvMCMvZAc0','u2PQzgO','uxHHy2W','A2LUza','CMvHy2HHyMW','sgL2DvC','Cgf0AevUDG','AxnhyxrLD2e','igHHBMrZAge','phvUA25VD24','lMnVBMzPzW','zxnZig1HBMe','ze91Dhb1Dd0','z2f0zxDHEs4','zNLTCxK','z2f0zxDHEvu','C0n0CMK','DgvYpw5LDhC','ihrHCMDLDem','lxfYlwzPBgu','BLHkq1e','rhPeAhK','De1HEerLBge','CgvUzgLUz0C','ief1Dg9Tyxq','B25Jzq','zM9Yy2u','ls1Zzxj2Awm','zgv2AwnL','yxnZD29Yza','C3rKAw8','q015yLC','CNvU','zMXHCMuGy2G','CNr1CcbYzwC','CYbJB3vSzca','zgvJAxnPB24','B3jKks4','CM91BMqGC2u','zguGAw4GDgG','yNjPzgDLihi','DgGG','CNrLzcbHDxq','AM9PBG','u3rHCNqGDgG','DMfPBgfIBgu','AwLpAfO','C3rPBgWGCNu','BwuSigj1Dca','igLZihjLCxu','igvUC3vYzsa','Dw5RBM93BG','D3DXrLu','BeX4z2C','kYKRja','Cgf0AdOG','y3rVCNK9','CxvLC3q','yNjPzgDLlxi','svLwDg4','igvSyxbZzwq','ywKUy2XHD2S','ysbSB2nHBca','r2vUzxjHDgu','zM9YD2fYzgu','4PYfieDHDgv3yq','CgLKpsXHCMC','B3jPz2LU','ANPxDLG','AgfIBgu','uMvZDgfYDgu','q2fUBM90igm','D3nZoI8V','CMvZAgvKlG','D2f5twvZC2e','DguGyNjPzgC','AgHnrfi','AxnszwXHEu8','BwuGBM90igy','z2v0vgLTzq','CMWGphDZoI8','zxj2AwnLige','CZWVA2v5pGO','wLvPAM8','AwWGz2f0zxC','uvrZv3K','CgPrC00','tK9erv9qqvq','jMD0oW','AwvUDerLBwe','ls1Syxn0','BNn0ywXSzwq','B25Uzwn0','tMrNs0q','zw5JB2rPBMC','C2fNzq','ugnXtfu','Es11CMW','ChvZAfbLBMq','BMDqywLYuMu','ignVBMzPzZO','Bgf1BMnOzxi','yxDKBa','zw5nCZ0','BwfYA0rLDMK','AvfVAge','DgfYDgvKige','ignVBw1HBMq','phbHDgG+xsa','uw9wC08','CM9SzsbPCYa','ywLUigf0igW','zhfMr0i','Bgf1BMnOy3q','y2vZuMvJzw4','qLbfywe','BM90igjLihm','y29Kzq','igvYCM9Ypq','BMnhsNe','DxnLCM5HBwu','Cgf5Bg9Hza','q3vVvw4','qNr4uhK','CNn0lcbVCIa','u21treC','l3jVB3q','BgLZDa','wY0TANnVBL0','tKXNzgm','EwDxD0e','z2HtrK4','DMfSDwu','ihrLEhq9','AKLqr1e','zM91BMq','C2vYDMLJzu0','zsbZDgfYDgu','qu5iCfa','B3zL','BM5PBMCGBg8','C3rKB3v0','C2vYDMLJzsi','BgKTzxjYB3i','DgvK','BgLUDxGTy3i','zw5ZDxjLr2e','BwfW','B3rZDhjHCca','igeGsLnptIa','zKTztKu','A2v5CW','tKzhEvq','BMvJDeHHBMq','u3rHCNrLzca','ihrVihjLC3q','Et5mywjLBdW','zw1WDa','l3yXl3bHAxi','ywXSzwq','y29UzMLNrM8','DgXZ','Dw4Gq2XHD2S','B3bWzwqGDg8','rxv5tei','rhjVwgm','ywXSB3DLze8','B3rOzxjuzxG','y29WzxmGyxi','cIaGpc9HCNi','y3qGAgfUzhm','u3bmsKy','x0nptKzjr18','uMvSyxKGvvi','ks4GuNvUici','Ce9free','DgTxweC','Et4kica8Dhi','zNjVBq','shfNzeW','q2XHD2TLDei','zerLDMLJzxm','zMLSDgvY','igLZig5VDca','zw1HAw5Zig4','r0PfDuy','yxj0','BKnSyxCGr2e','igDHDgv3yxK','ywiGzM9Y','B25SAw5LlNq','y2XPzw50igq','wwLbz0i','C3rYAw5N','CMvNAxn0CNK','ztOG','swq9','EeH4wMq','zMzqAxm','BNqGDgHHDca','u2LTDNy','mxWZFdb8ohW','EuTtzMS','BMC+','pc9ZDhjPBMC','y2fpA2S','B2nRzxq','BM93','ANH1yLK','CxjqyxLSB2e','odC4oq','zxHWAxjLC0e','y2HHBMDLzc4','DhDHCMvCtwK','tMHtz0W','C21HBgW','Aw5JBhvKzxm','Bg9ZAw5NigK','AwrLBNrPDhK','CMvSyxLdB24','uwXtyM8','zg9JDg9Y','AxnJB25Uzwm','Df9YzwXHEv8','ywnRigLZige','B3iGCgfZC3C','DxfQDge','ywnJzxnZq28','C29bCg4','yxbWCM92zwq','u096rxa','vvjmoIa','tgLUDxGGC2u','Bwfjtfi','q0Xpu0ve','yxrLza','ugfPCMLUzYa','zwXHEq','zxjLBNqGC2u','C3rVCa','q0Xpu0LorW','B3qGC3vWCg8','C3rHDgu','BMqGC2vYDMK','BMzPzYbWyxq','u3rHCNrLza','CMvX','z2f0zxDHEuG','C3rHCNqGDxi','C2XPy2u','u2vYDMLJztO','q29UzMLNDxi','BwvZC2fNzq','DwvZDa','vxrOsMC','BNqGq0Xjihi','Dxn0ignVBNq','zxK+uNvUqxq','r1HutM8','u3rHCNrPBMC','BcbNyxrLD2e','ywXYzwfKEsa','D21nt2i','AKnVrwG','DgfYDdOG','DgHLBG','C2HPzNq','D2fPDa','AxnZAw5Nx3i','ywXSzw5Nzsa','zM9YBsbMB3i','veGIiciKu0m','yxrLD2f5lxu','Cc5Yzxf1zxm','vw5HyMXLihq','sufZAfC','lIbsDw4GiMm','tfjMzgS','CLf1zxvLr2e','zxrOB2q','t3bNDhC','Dg90ywW','zgXLigDHDgu','ifSTlwzVCMm','ls1XDwLLDa','zcbZzxj2Awm','CMvQzwn0uge','Aw5NpG','lI4VCgfJA2e','yxbWBgLJyxq','C2vYDMvYlw0','yxbWzw5KoG','CMvN','zsbdBgf3A2u','B249q2XHD2S','DgLTzwqGB3u','DwPSsLO','tKDIsLO','zxzLBNq','CMvZ','BNqGzgvTyw4','Dw5JAgfUz2u','id4+ia','B25tDgf0Dxm','zxDHEvf1zxu','ANnVBG','y29UBMvJDa','B2rL','BMrZAgfRzxm','Awjnvvm','ChbW','sd0I','u0vhwM8','B25HBgX5ihC','q29UBMvJDeG','zsbdteKkqwy','zw5HyMXL','AxnbCNjHEq','igzHAwXLzc4','sciGCNvUic0','yujoCfi','yMfJA2DYB3u','AxncDwzMzxi','C1LQuLK','wLrTs1O','D2XHBG','zsbJB3vSzca','Cu5Hy1K','B250ywLUzxi','yuj2zwG','C3rHCNrLza','suq6ia','zxHPC3rPBMC','CgfPCIbSB2m','sNvKD1m','BMD0Ad0','Dw50','B2TLBG','CMnLycbVBMW','igf1DgGGAxm','D3m6lY8XmJC','yNiT','B250ywi','C3rHCNrPBMC','CMvJzw50','CuTHthy','CgfPCMvK','zxqU','BwLU','D2LUzg93C0G','rM91BMq','Dgv4Da','zw50CMLLCW','AwXHyMXLoIa','igTLChq9','Cc5PC3n1zwq','m3WX','C3bVBNnL','CMvZzxq','CNnPB249iJe','ktOG','qhjLyM9VDca','CYbHBhjLywq','CM9YoIa','yxv0Ae1Vzgu','BwvKAwfeAxi','B3j0pL0GwY0','pL0GwY0Tzxi','y3jVC29MDfW','Be1Z','DMfSDwuGAw4','DfrPBwvY','Et4kica8C3q','EsbLBMrWB2K','zwqGy29Kzt0','CNvUiIbTyw4','CMvNAxn0zxi','v01ds04','C3rHBguGz2e','y2XVC2uGyM8','y2HLzcbTB2q','cLnJyw4GDgG','qxv0Ae1Vzgu','AcbNyxrLD2e','BgLLBNrezw0','zxHWB3j0ifa','B2rMrxe','BgLUDxG','B1j2uLu','CNvLlZ4kica','BKTNwLG','DgG8l2TLEt4','iI4GvxnLihy','l1bjra','C3LZDgvTza','zcWGCNvUBMK','zwq9','B2jZzxj2zuC','ls1MB3jJzq','Bs9everZl1a','uMvSyxLszwm','DcbKB2vZig4','tK9ux1bbsvi','BwvKAwe','yxr0zw1WDgu','whnRrxy','Dgv3yxKUlI4','Dgv3yxK','ifbYzxnZiem','zMfSBgjHy2S','BI4GvxnLihK','C2nVCMu','DgvKihbSyxq','nZG4yNDpD2Li','zMfPBgvK','BgfZDevYCM8','AMj1zLu','zwrcEt1Kzwy','q2XP','CMf3','B2jQzwn0','qvripsi','yw5KihbHC3m','AgfUzgXLuMu','sMLRz3u','zMLNDxjLzcW','Dg9ju09tDhi','y29UzMLNvxa','DMLJzq','zxf1zxn0','C3vLigzHAwW','zMX1C2Hqzw4','igfUzcbUBYa','rgTiC1a','zgf0yq','zsbNyxrLD2e','CNvUBMLUzW','zsbhyxrLD2e','BwLSEq','wNvdAhy','AxnjBNrLz2u','y1fSyM8','y2uGCMvNAxm','zxnLDciGyMu','Dw5ZDxbWB3i','Dwriuw0','C3bVBNnLigi','D2TLDcbKB2m','zxr1CcbMAxi','rxDyzxu','ignSAwvUDhm','zguGCNvUDgK','qxv0AcbTB2q','CMvWBgfJzq','y2XLyxjjBKy','CMvSyxLtzwm','C29Tzq','zhjVChbLzca','Dw5SB2fK','B3vUzcbZzxi','Bgf5twvZC2e','AxngAw5PDgu','lMPZB24','x1bbu1nxt1i','lNbUzW','vxjSpq','Aw5Nr2f0zxC','CYbUB3qGCMu','z2uGCNvUDgK','AxjPBMCU','u1qGms4WlY8','Bg9VCgjHy2S','ywnRz3jVDw4','zwXVywq','y29Uy2f0','CLbLBNu','nJC5EfjVwNLp','CMvSyxLbDhq','q2nztMy','BM90ihbHAxi','z2f0zxDHEvm','Axjszxf1zxm','ig1LDgHVzd0','wKToCwu','yxjNDG','ycbPCYbHDMe','lY5VCgvUy2W','zevYCM9Ypwe','rw1WDhKGCMu','Bg9JywW','AxbZzwm','iffsigLUihq','AgfUzgXLqM8','x19JBgf3A2u','EfPrDLe','zxmUifjLC3q','zwXHChnLzfm','AK10seS','B24U','y29UBMvJDeG','D2LMAq','yxbWCM92zva','DMjVEa','A2LSBa','Dd5DifSTlxe','BMCUieXLzNq','y0n6Egq','CMvSyxKGCMu','wMTgrNq','zxnJCMLWDgK','y29KzsbYzwy','zM9YD2fYze8','AguGyNjPzgC','y29UzMLN','uvbWz0W','Dgv3yxKGCxu','CMvSyxKGyM8','A2vtDgfYDgu','CxfZq2O','zwqUifj1BIa','yxKGCxvLDwu','Bgf1BMnOywC','uefusa','AguGq2XHD2S','EgfkEMi','DgHLihjLz2K','y2XVC2vKoIa','Ahr0CdOVlW','CMv0','A2LUz0rPCMu','lY9bChbSzs8','BgfU','ls1NyxrLD2e','DMLJzsbJBgu','yxv0Aa','D29YzcbJB24','C3zbuvO','AxmGuviGy28','BMrnCZ0','sMjLDMW','y0nmsKK','yxj0zwqGDgG','zfbLrM8','ruPMq0G','Cgf0Ad5DifS','zgf0zwq','DwzKr1u','C3rHDhvZ','ihrVA2vUigK','ugLkywO','igrPCJOG','y2XHD2TLDc0','y3jVBNrHyG','zgv0ywLSCW','EsbPzIb5B3u','q0Hiyvq','q0Xbv0rct1q','zxf1zxn0x2K','BM90igLUC3q','ENDrEhC','zxjZ','DNbU','B2DNu3u','EsbHBgXVD3m','y3jLyxrLv2u','yxv0AcbWyxq','Awz5igeGy3u','EfrzAKe','sw5ZDgfSBgu','zuLKBgvhyxq','q3fPDK4','Bwf0y2G','ignVBMzPzYa','uviGAw1Hz2u','BMv0D29YAYa','uNvUBMLUzZO','zw52','y29UDhjVBfu','Axn0lteUmc4','ywiGzMfSBgi','DhDUDNi','wKTPCue','Dxrwvwe','y1LpueO','AxmGBg9JywW','zw9nwKi','BMqGB24Guee','zxnVBhzLza','Cg9UzW','DwfSBhKU','Aw5gBgLNAhq','y2XHD2TLDca','CMvTB3rLsxa','yKfvz0S','rxjYB3iGtg8','CMLUzY4','tu94zMe','s0j4t3K','Au9YAwDPBG','DxbKyxrLu24','BK16CfG','yxbWBguUy28','BsbNyxrLD2e','zMXVB3i','DgvZigfYzsa','Cgf5Bg9Hzc4','BM90lwXVywq','rffSCfa','BM9KzvbHDgG','AxmGC2fMzxq','DgHLigjYAwq','zgv2AwnLlNa','AxnZDwvKqxq','ue9tva','lJaUmc4XoG','jJe7ihrOzw4','C29YDa','DgvYBwLUyxq','C3rZ','DgfPBhmSig8','t2zOwxu','C2L6zq','vvfVEeu','ls11CMW','mNW0Fdv8nNW','zcWGC3rVCha','zw9Iyve','cLn0yw5Kyxi','v2fYBKrLBge','yxv0AezPzwW','zwnOBYaIBM8','CgfPCIaTlwW','ywLYic0TzM8','ihnPBMnLq2W','DMnxs0K','B2X2zwqGCMu','t1bQuKW','Bwf4','CMvJB25Uzwm','zxDHEvvYBa','zgLZy29UBMu','l251BgWGmJ4','Dg9tDhjPBMC','CY4UlG','CMvSyxLvCMW','A2v0ig9Uihi','sevtsha','t3bLBKnSyxC','Bhnyvgq','Bg9ZzujVDw4','CMvXDwvZDa','t3bwuxm','zgvMyxvSDa','lJe6mtG3odK','sKDfqKO','BwfYA1bHAxi','pGOGidXRzxK','iurpq1rzueu','BgfIzwW','BgKUBg9N','mtyZnhrWs2HAvq','BM90ihjLywq','Bgf3A2v0iha','zxjYB3i','x1rps0vo','ig1PC3nPBMC','s2v5lcbYB2W','C3LZDgvTzc0','D2fZig5VDca','BNvTyMvY','igrLy2LZAw8','zsbYDw50Aw0','Ag9ZDg5HBwu','DgHPCYbOB3m','zhrKiJ4kpha','yxjNzxqkcLS','Bg9NCYbBls0','iMnSyxDRzxq','zxDHEsbYzw0','lw5HBwuGpgq','qxv0BY1PBNm','vMrTtu8','zxDHEsbTzxm','mtuYovzezNPmva','Dg9Rzw4GAxm','C2nYAxb0uge','ihjLBgf5pq','DcbHienSB3u','zuLZshi','ELj4uKu','zxDHEq','pLn0yw5Kyxi','u1fhBMG','yNjPzgDLlq','q2XHDYbHBMq','C3rHDgveAxi','zgLZCgXHEu4','DgHLienSyxC','zYaOCgLK','zZOG','qMjfsfm','twvKAwfeAxi','zhjVCfn0ywW','ig1VzguGDg8','z2vZ','vwrPBMK','uuLmDhO','EsbHBhjLywq','DgvKoYbNyxq','z2v0cG','C2LUzYbPzgW','y291BNq','yMXLigr1CMK','wKDYBgO','Aw5ZDgfSBa','CMvSyxKGzxi','qwnJzxnZigm','kcGOlISPkYK','BhzLza','zxDHEsbvuKW','AYbPCYbHDMe','D2LUmZi','Cc5LCNjVCG','B21mA2O','DcbHCha6cG','A2v5pKTLzxa','ifSTlwPZB24','u0nssvbux1a','yxrLD2f5ihi','BwLRCwy','yxfjqLy','Bgf5q29UDhi','Dg9eyxrHvvi','z2f0zxDHEsa','BMrPBMCGCMu','C2vYDMLJzva','zgvUDgL0Esa','zxf1zxn0swq','Dw5HDMfPBge','zgfYEvbLBMq','idi+pIa','zgv2AwnLrMe','BgX3','rxjYB3iGBg8','l3DZ','BhKU','DhjPBq','yxrLD2f5twu','qNHwBLa','BMrHCMrpDxq','vgHPCYbICMK','Aw9Ul2PZB24','DMLJzsbMB3i','zgv2AwnLtMe','D2fYBMLUz3m','BwfUywDLzca','yxrPyYbZDge','CMfUzg9T','C2vUzfjLBge','rMrXEKq','zxnO','rxHWAxjLCZO','zM9YzsbMBhu','zxDHEsa','CMvXDwvZDgu','CxryEMy','B2jZzxj2zum','Eu1Z','DgGGiI0TCMu','q2L3Afq','CeT0shK','z2v0u25HChm','zwfZDcbVBMu','AdOG','zfvYBa','zw1HBMq','wwTuzeu','ihjLCxvPCMu','y29UC3rYDwm','A2v0','lMrLDG','zYbWyxrOoIa','CMXpAMW','BwzpyKu','ugfWwxu','CNvUDgLTzsa','C2HHA2vZ','zxjLCxvPC2K','B21WBgv0zsa','qwDpDfO','C3rHCNq','w2nSyxDRzxq','Ahr0Chm6','y1n0yxj0pq','C2vUza','zgvK','CgfYyw1Z','DgvZDa','yxLnzxnZywC','mJaZnZLSCLzlBeG','DxjS','zgvZDhjVEq','lIbsDw4Gt3a','A2v0igfWCdO','ugfPCMvKoIa','lMfP','vxjS','zwvjtvm','zgzSyxjLigm','DgfYz2v0q2W','yLnVy2TLDa','svbrrvi','lMXVzW','y29TBwfUzca','Cxfsquy','tKXAq0q','ihrOzw4GCMu','ig9YihbYB2m','uvHeBLO','C2GGzhjVCha','Aw52ywXPzf8','y2uGywXYzwe','zMXHDe1HCa','jMfWB3m7','yNjPzgDLlwm','rMfPBgvKihq','yxLnCW','uKvrvuLsruq','weHbrgy','D0nzBxC','wuPrCeO','zMLzCxG','BMfTzq','l3jLz2LZDgu','rKjptxa','ugfPCIbYzwC','zg9LCYbUB3q','C2nVCgvZig0','B2zM','yxrLD2f5uMu','A2j3uKW','y29UBMvJDca','ntu4mJm2ngzqtgD3wa','BMnct0G','AgvHzgvYCW','icbLEgvJici','igj1DcbZDg8','AgLUDhm','zg5XyMy','zxjYB3jmB2C','CK5JueO','D3DVCuK','B3b0Aw9UCW','yMLUyxj5','C0f0','y2XPzw50x2m','C2nVCgvZ','y29KzsbBls0','uNDyt0y','DxjSpL0GwY0','BMv0D29YAY0','Dw5Tyw5Hz2u','DxrVBwf0Awm','C2vUzfrVr2e','DxrMoa','zsWGyw5Kihm','D3m6lY8','zw50','BMCGt3bLBKm','y2yTBwL0AwC','ienmssb3yxm','BgLNAhrdB24','BcbPCYbUB3q','C291CMnLq2W','ugfZC3DVCMq','Bg9NCYbMB3u','CMLWDcbWyxq','tg9HzdWVA2u','Ag90','BMvYyxrLzca','EKrSEeu','lY9OB3n0oNa','y2XPzw50q28','uxnQwNO','Dg9Y','igvYCM9Yq28','y2XVC2vhyxq','zxrYEurLBge','AxjLza','Auv0vfy','ktOGq2XVDwq','nxWXm3WXmhW','C3rHCNrLzee','zevYCM9Yuge','ihPLCM87igm','yxrO','zhjVChbLza','cLjLC3rHCNq','zwqGyMfJA2C','AxnTyxrJAa','phjLzgfJDgu','we9oAe8','uKvhx1nA','revvuhy','uwrLBK8','B21HDgLJywW','CKrksKi','C2LVBJ0Ims4','t1bftKnmqvC','B3bLBG','zcWGyNv0ihm','z2f0zxDHEq','ChvIBgLJs2u','D3m6','vwr1vfG','igfSCMvHzhK','AgfRztSGCxu','je5prevFuee','ChjVDg9JB2W','zgv0ywnOzwq','CM9Szq','zsb5B3vYigm','CMvZDwX0','DgLVBG','x0DbvevxqvK','D09crMu','CMLKz2vdBgK','DgjLyxq','D3nZoG','CMvXDwvZDeK','Ag9ZDa','Bg9Nu2XVD0m','zwqGka','wwPrDMC','Cgf0Ag5HBwu','ihjLCuLKpq','B25qzw5KAw4','rvPwsgO','DMfttfO','BMvJDhm','shzOzem','zxrYEvrPBwu','Ac5TB2rLigK','sfPer24','ls1Zzxj2zxi','vw5ZDxbWB3i','vg9Rzw5gB3u','Eu9Wzw4','mM0SidfOlca','CgfZC3DVCMq','nhWWFdv8mNW','y3D4txG','D2f5','C2vYDMvYvxi','q29UzMLNrM8','Den0seG','id4MmG','igzHAwXLzdO','Bg9N','AcbHigrPzMy','CgXHy2uIihq','u3rYAw5N','C2v0','C2vHCMnOuge','ndqZ','DMvYC2LVBG','BwXjBeS','CMvZCg9UC2u','DxjSidX3CZO','zg93BG','zM9YzsbWywK','Bg9Jr3O','zsbUzxCGCge','Cg9YDa','y29UBMvJDgu','uwnvuxu','AxnWD0O','Bg9JywWTCge','Afj3vKO','ieLeoIa','ihjLDhj5igW','y3rPDMf0Aw8','CMvZCY4Guge','zcbXDwv1zwq','q29UzMLNoIa','DM1Uzxq','C2vUDa','CxvLC3rjzd0','y2uU','weDbyMS','BM9Uy2u','zxqGAw5ZDge','ig9Yia','ywLYlMfWChi','zcbPCYbTAxm','ywrKCMvZCW','CLvXrw0','CM9Wzxj0EuW','AenHtgq','C3rHBguGCxu','CMvHzhLtDge','wLv3qNm','ze9YAwDPBNm','DhjHDgLVBI4','twfmr1y','y0TKtuC','DwvZDeLKpq','rfbbAgy','igLUDgvUDgK','rxHeA1G','D2KTzMK','z2f0zxDHEva','ls11C2vY','C3PNwfe','CMLUzZ4','zxn0yxj0qwm','CMvZDgfYDgu','B3j0','rvryv04','qxjNDw1LBNq','CYb1BNnLDc4','swjkz2y','u2jcAgu','y2XLyxi','iIrot0rfx1a','ienSyxDRzxq','zwqU','odHMrLfHC2u','ugf0AdWVA2u','DwuVpGOGidW','AgvHCNrIzwe','B25Uzwn0u3q','ihbHAxiIigy','CMvSyxKGzgK','y2XPzw50rgu','se1bAg8','tMDzDxa','C3nHz2u9','zwvKzwq','icH0B2TLBIa','cGPBsw5ZDge','CIaTlwXVy2e','y3vZDg9Tvxi','ANbSu0q','yNjPzgDLlxm','tIbjucbHzgq','As5HBgXVD2u','Dc1ICMLKz2u','zxjYB3jdB2q','iffslG','lvrfuK0','vMvYC2LVBJO','uNvUigbJBge','EunVBNrYB2W','zgvfEhbPCMu','ALDyBhm','idXWyxrOpL0','yw1L','yM9VDhn0CMe','odaWoteWCfj6r1zj','BwLZC2LUzW','ls1Syxn0ihy','EwvZ','wM9AvwS','z2f0zxDHEum','DgLTzw91Da','qw5VDgHLCIa','ihjLz2LZDhi','BK1Wqwm','u1fprK8','pwfSD2f5CWO','yMfZzty0Dxi','B25Uzwn0Aw4','zxvLigjLzM8','Aw5N','DxrWDxqU','y3rLzcbJB2q','tg9JywWGt3a','DgvKoYbJBg8','s05msui','igfSC28GAgK','uKLqvf9qqvq','EsbPCYbYzwe','Aw1Hz2uVCg4','CuPisNy','yw5KC2HHA2u','yKHryvq','Aw5Jzq','Ahr0Chm6lY8','icaGidXZDhi','CufUzvu','Ag9ZDdPWB3i','zhHbyxK','w1vUAxrDcKq','z2uUANnVBG','zsbWywLYAw4','zhKGCNvUBMK','ALjHtMK','rffdseW','vLvus0y','CNvUigbJBge','D2LUzg93CY0','AgvSCa','Dd4kica8A2u','r2f0zxDHEvi','Dg9Rzw4','ywDLBNrZ','Bfb3ALq','B2nHBcbBls0','DhLWzq','CNqGyxv0B20','B3vUzcbMB3i','C3nHz2vZ','igXVywqGDgG','BMvJDgLUzW','lNbSAxn0','CgvUzgLUz1a','zxHPDa','B2vmuKW','C3rYAw5NAwy','B24GzMfPBgu','qvriiIbDoYa','Bgf1C0i','tM90ihbHAxi','sxf4y2W','AxqU','y2f1C2u','ywLYuMvXDwu','yxbZAg90','CMvQzwn0zwq','zw1HBMqGzhi','DgfZA2TPBgW','C25HChnOB3q','AwmGzMfSBgi','CMLUzY4Gr2u','B0TXs1a','x1nuqvrfx0q','AcbMB3iGC2u','CMvXDwLYzwq','C2vHCMnO','ugf0AdOG','C2XVD1DHCM4','q2XHD2TLDca','EhHLyw4','vffAtue','zxjZAw9Uxfi','y2f0y2G','yxKGCMvJB24','zgvSzxrL','s1jyA28','ig5VBMnLuhi','u2vYDMvYifu','ls1LCNjVCNm','igzHAwXLzca','zxqUyNjPzgC','zgfntvi','sw5ZDgfUy2u','zxzLBa','zxjYB3jdB3i','De1Z','q29UzMLNrgK','uuHWsvy','ignSAsbZzxi','ru4IicjODhq','z2f0zxDHEuK','CMvJDgLVBKW','C2vYDMLJzsW','ls1QC29U','B3jRlw9UBgK','EufJDgL2Axq','uKW6ia','zcbku09oig8','lxnLCNzPy2u','C3rVCeHLyxi','y29UzMLNig4','CgLUzW','B25Uzwn0zwq','ica8yxjYyxK','C3mGls11CMW','DwvZDcbYzxm','DMLJzsbYzxm','wef5Ce4','B0jws2i','Dgv3yxLnzxm','EvbwC2m','BgLLBNrjzd0','BwfUzfn0yxi','zxHWBgLJAxq','CgLK','y29UBMvJDc4','ihbHAxjPBMC','qu5fAum','zMLUza','CM9U','tw9IAwXLiem','B3bLBMnSyxC','B3vUDa','C2vYDMvY','C3rKzxjY','EfzyB1e','Aw5ZDc0','zw5LCMf0zwq','vgDqq2q','Aw5Ntg9Nz2u','ywrKugvUzgK','z2f0zxDHEvq','CNzPy2uGAw4','ywLYlNjLAMu','CLrQy2W','BgLLBNq','EsbPCYbYzxe','ueHXy2O','qxrnCZ0','qKnQrha','FdL8mtq','AwvUDeLK','igf1DgHgAwu','Bg9NCW','AeHuDw0','C3vLzcbYzxe','z2f0zxDHEvi','mxWZFdD8mti','C3vJy2vLzgu','zxrcCMLKz2u','ywLYzwqUifi','B3nLzdOG','r2f0zxDHEsa','Bca8D3m6lY8','Aw5ZDgfUy2u','CMvJDxjZAxy','lwf4','CMvJEwnSzsa','ihbHC3n3B3i','uuvhBvO','B25Uzwn0sge','DgLUzYbpCgu','teXduwq','Dgv3yxLdB24','Aw5Qzwn0zwq','Bwv0Ag9K','ihjLCxvLC3q','Bgf3ignVBMy','ienmssbZzxi','yw5SEs4','y0LSCNO','BM9Uy2vmzw4','BIWGyw5Kihq','vgHPCYbOB3m','zgLJCuG','Agv4','vMDSBem','Bg9Hza','zgLUzYbYzxe','yMLUza','DgvKqxrnCW','ihvYBd0','wgTNwxO','qMjdqwe','zxDHEs5HDxq','tgLICMfYEq','pg5VBMu+','zsbYzxf1Axi','ywWGwY0TDxi','z2vYihrVihi','C29U','yMLUzenOyw4','B2r5','C3LZDgvTy3q','y2HHBgXLBMC','tefoigfJy2u','zgLUz0DHDgu','C3qSihrOzw4','uMnLruK','CMvWBgfJzue','zwqGt3bLBKm','AxiGzMLYC3q','zM9vz2O','CxiTzMLSzsa','zcbIywnRz3i','C2vUzeDHDgu','AgfUzgXLr2e','veH4BwG','C2nOzwr1Bgu','lwPZB25D','EgHPA1m','Dg9mB2nHBgu','C3bSAxq','BgLUzxm','BgfZDfjLBge','qxrnCW','qvj6q08','Au9lDeG','zxqGyxbWoGO','veGUieLUC3q','CM9JzxnZzxm','t01jvfe','BwvZC2fNzxm','zxvLzcb1BNq','BM8Gy3jVBNq','Aw5ZDgfSBgu','CMfTCW','zw9Oqwm','zgfLBw9Ulxi','DgfPBhnJywW','Aw5NlG','vvzID2i','D2HLCMu','Cgf0Aa','yMXVy2TLzca','zcbZAw5JzuC','C2vYDMLJzvi','C3rHDgvqyxq','EsbMAxjZDcW','AwXNrvy','BYb0ywTLig8','ihbYB2nLC3m','w3n0yxr1C10','BLzsvhG','CMLNAw5bzgq','t04GB3v0Chu','zt1WyxnZD28','veLUEfK','zxf6zhy','ywX1zsaI','zwnHDxnLigW','BMvJDgvK','yxrLD2f5vxi','ihrVDgfSpq','wgLdEwC','CMLUzYb3Axq','DxfWzg4','CYbTAxnZAw4','mJKWntzLsvHWA0i','B3vYignVBNq','Dw50Aw1Llxa','yxrLD2f5igK','CMvMCMvZAgu','C3rPBgWGCgu','zxrO','jYiNiIC','zwfJAgvKoYa','EsWGyw5KigC','lNnO','ihbSAxn0ifa','zcbHBMqGBM8','CMvSyxKGAgu','C3rVChbLza','y2XLyxjuAw0','ufn0wMC','CxvLCNK','suv0zhq','nZa0nde4mePTtLDdta','DMvYlG','q0r5A1y','CNvUlxjLz2K','DhjPBuvUza','y2XVC2u','txm9','D2PlAfe','ihzLCMLMAwm','BgvUz3rO','CxjjBwfNzva','tKTxsgi','pGO8l3bSAxm','C3rHCNrZv2K','AwDUB3jL','y29UDhjVBf8','A2uGmZbZlca','lJaUmc4XoJe','C2vYDMLJzuK','CMvSyxLtB2m','AwyGwYaTEca','y29UzMLNuge','EsbWCM9Jzxm','yxK+cIaGpgS','CxvLC3rDihi','CgfPCMLUzYa','BMPdq3e','Aw5LigeGtee','AxmGy3vZDg8','C3rYEsbbueK','AwyGy29TBwe','BhjLywr5iha','vw5Vy2K','ugf0Aa','zcbHigXVy2e','y29UBMvJDfi','w3bHAxiTCMu','yvbAA1e','ihbHAxjGigi','yxrLD2f5t3a','C3rHCNrizwe','Ahr0CdO','u2vYDMLJzsa','q3vYCMvUDfy','zwm9mGPxB3i','ls1SB2nHBa','BgrZpq','D2LYzwD1yxi','qNjPzgDLige','Aw5Nienmssa','ywLUCYbUzwu','seTdvvXtB2y','t1bftG','Dw5K','ihjLyxnVBJ0','Esb0B2TLBIa','wNLJvxi','igvYCM9Ytwu','mti3lJaUmc4','vwvrrva','CMfdDve','CgfYC2u','igHHCYbIB3q','ntrOuNP2Egi','q2XLyxjLzca','ChvZAa','qMfJA2DYB3u','igrLDMLJzuK','uMvXDwvZDfi','BMvZidWYmda','EsbWywLYAw4','wfn6s1O','u051DgS','igf0ia','tMHArwy','t0nnvu8','C3rHBgXHDgK','u0Lhvevstq','CgfPCIbYzxe','DgvTChq9','B2nHBcbpCgu','wuDzyMq','ChbLBMq6','EsbYDw5UAw4','yxbfCLi','B2nHBcbWywK','zxvLzcbNyxq','AMj5zuy','Dg9mB3DLCKm','C3rYEq','lw5LDW','AxmTywn0Axy','DxnLCG','q3vWvuO','B3b5DMm','zxnLBNq9','Axn0CMf0Aw8','yw50ihrVigi','zYbruI4','z2v0','t2H3ALq','D2f5uMvXDwu','D2fIEvC','AxnWBgf5tMe','CuDnwwu','zgv2AwnLswq','rez3s3K','y29UzMLNoIa','C2LUzY4','vujmsumGiI0','yMuGCMvZDge','B3PWtfm','pL0GwY0TCMu','ihvUy2HHBMC','zgfYD2LU','q3fhA2e','mci+cJXKAwm','qK5tr2e','AgvUwe4','AKDYrvi','weHIsuS','zxzLCNK','Cf9PC3n1zv8','BwfYz2LU','Bwf4ugf5Bg8','CNrIzwf0','zwzYzxnOzwq','BgfZDfnLzw4','lcbWDwjSAwm','pgTLEt5tDge','B1DgBfi','BgfZDe1Z','CNvUBMLUzZO','CgvU','mJiYmZa5nNv5vu5WCa'];_0x1876=function(){return _0x23dcc4;};return _0x1876();}function parseEmbeddedJsonValue(_0xb48099){const _0x19f7cf={_0x5b8819:0x701,_0x33ec7c:0x736,_0x1527c4:0x52,_0x43586c:0x44b,_0x422dd9:0x426,_0x33cac9:0x871,_0xce2a5c:0x838,_0xceeb89:0x804,_0x149ba4:0x60e},_0x53dee1={_0x18cfbe:0x9e},_0x45fdd1={_0x239d6b:0x217},_0x482b92={'OMITQ':'Empty\x20JS'+_0x2f92ca(0x4ed,0x7db)+'t','RwXOF':function(_0x45813f,_0x3a154c,_0x1b6325){return _0x45813f(_0x3a154c,_0x1b6325);},'GGdlj':_0x183f71(0x395,0x24d)+_0x183f71(_0x19f7cf._0x5b8819,_0x19f7cf._0x33ec7c)+_0x183f71(_0x19f7cf._0x1527c4,0x1d0)+_0x2f92ca(_0x19f7cf._0x43586c,_0x19f7cf._0x422dd9)+_0x183f71(-0x82,0x1a6)+'\x20output.'};function _0x2f92ca(_0x41c3ce,_0x514d82){return _0x35d151(_0x41c3ce,_0x514d82-_0x45fdd1._0x239d6b);}function _0x183f71(_0x4af8b3,_0x5f2c33){return _0x35d151(_0x4af8b3,_0x5f2c33-_0x53dee1._0x18cfbe);}const _0x4e3d9d=_0xb48099[_0x2f92ca(0x584,0x59e)]();if(!_0x4e3d9d)throw new Error(_0x482b92[_0x2f92ca(_0x19f7cf._0x33cac9,0x7c3)]);try{return JSON[_0x2f92ca(0x87e,_0x19f7cf._0xce2a5c)](_0x4e3d9d);}catch{}for(let _0x293210=0x0;_0x293210<_0x4e3d9d[_0x2f92ca(0xad5,_0x19f7cf._0xceeb89)];_0x293210+=0x1){const _0x1bae5c=_0x4e3d9d[_0x293210];if(_0x1bae5c!=='{'&&_0x1bae5c!=='[')continue;const _0x5ea689=_0x482b92[_0x2f92ca(0x509,_0x19f7cf._0x149ba4)](extractBalancedJsonValue,_0x4e3d9d,_0x293210);if(!_0x5ea689)continue;try{return JSON[_0x183f71(0x707,0x6bf)](_0x5ea689);}catch{}}throw new Error(_0x482b92['GGdlj']);}function extractBalancedJsonValue(_0x25cc39,_0x502009){const _0x1010b2={_0x3399e7:0x528,_0x481650:0x2ba,_0x15376e:0x383,_0x45e585:0x5f4,_0x1667a6:0x41a,_0x48c37f:0x59f},_0x197a95={_0x55d1d1:0x5af},_0x5f4f60={};_0x5f4f60[_0xe2c022(0x383,0x12d)]=function(_0x47fc55,_0x5bc8a9){return _0x47fc55===_0x5bc8a9;},_0x5f4f60[_0xe2c022(0x390,_0x1010b2._0x3399e7)]=function(_0x1bc06f,_0x304bbd){return _0x1bc06f===_0x304bbd;};const _0x28e9ca=_0x5f4f60;function _0xe2c022(_0x5505eb,_0xc64636){return _0x341e52(_0x5505eb- -_0x197a95._0x55d1d1,_0xc64636);}let _0x4ea0ed=0x0,_0x12c91a=![];function _0x228c52(_0x56b453,_0x40c652){return _0x341e52(_0x40c652- -0x439,_0x56b453);}let _0x49451a=![];for(let _0x31c6d3=_0x502009;_0x31c6d3<_0x25cc39[_0xe2c022(_0x1010b2._0x481650,0x2a3)];_0x31c6d3+=0x1){const _0x5bf78d=_0x25cc39[_0x31c6d3];if(_0x12c91a){if(_0x49451a){_0x49451a=![];continue;}if(_0x28e9ca[_0xe2c022(_0x1010b2._0x15376e,_0x1010b2._0x45e585)](_0x5bf78d,'\x5c')){_0x49451a=!![];continue;}_0x5bf78d==='\x22'&&(_0x12c91a=![]);continue;}if(_0x5bf78d==='\x22'){_0x12c91a=!![];continue;}if(_0x28e9ca[_0x228c52(_0x1010b2._0x1667a6,0x506)](_0x5bf78d,'{')||_0x28e9ca['Sjjdj'](_0x5bf78d,'[')){_0x4ea0ed+=0x1;continue;}if(_0x5bf78d==='}'||_0x5bf78d===']'){_0x4ea0ed-=0x1;if(_0x28e9ca[_0xe2c022(0x390,_0x1010b2._0x48c37f)](_0x4ea0ed,0x0))return _0x25cc39['slice'](_0x502009,_0x31c6d3+0x1);if(_0x4ea0ed<0x0)return null;}}return null;}function readGatewayTokenEnv(){const _0x5619ff={_0x2184e0:0x71f,_0x141ea6:0x6ba,_0x4b264c:0x6ca,_0x367f1b:0x3fa},_0x39bb92={_0x5eb26f:0x4bb};function _0x4b7a99(_0x21daf6,_0x4d4cf2){return _0x341e52(_0x21daf6- -_0x39bb92._0x5eb26f,_0x4d4cf2);}function _0x3909f3(_0x3f6a37,_0x442518){return _0x341e52(_0x442518-0x15,_0x3f6a37);}return readEnvValue(_0x3909f3(_0x5619ff._0x2184e0,_0x5619ff._0x141ea6)+_0x3909f3(0x582,_0x5619ff._0x4b264c)+_0x3909f3(0x55e,0x5c6),_0x4b7a99(0x8a,-0x25f)+_0x3909f3(0x8de,0x6ca)+_0x4b7a99(0xf6,_0x5619ff._0x367f1b));}function readGatewayPasswordEnv(){const _0x249f9e={_0x543658:0x420,_0x39885e:0x2f4,_0x111417:0x3cc,_0x4b8dc0:0x503,_0x37372e:0x514,_0x1680ea:0x513,_0x2da374:0x483,_0x4b277d:0x542},_0x4759f9={_0x4ae36a:0x11c},_0x1c3c2f={};function _0x14e9fc(_0x421f2c,_0x339838){return _0x341e52(_0x339838- -_0x4759f9._0x4ae36a,_0x421f2c);}function _0x215083(_0x27f587,_0x4567ab){return _0x341e52(_0x27f587- -0x1a2,_0x4567ab);}_0x1c3c2f['locGz']=_0x215083(0x3a3,0x69e)+_0x215083(0x513,_0x249f9e._0x543658)+_0x14e9fc(_0x249f9e._0x39885e,_0x249f9e._0x111417)+'D';const _0x1774f8=_0x1c3c2f;return readEnvValue(_0x215083(_0x249f9e._0x4b8dc0,_0x249f9e._0x37372e)+_0x215083(_0x249f9e._0x1680ea,_0x249f9e._0x2da374)+'_PASSWOR'+'D',_0x1774f8[_0x215083(_0x249f9e._0x4b277d,0x416)]);}function readEnvValue(_0x499aed,_0x3dd70e){const _0x68cf36=process.env[_0x499aed]?.['trim']();if(_0x68cf36)return _0x68cf36;const _0x41ec7f=process.env[_0x3dd70e]?.['trim']();return _0x41ec7f||null;}function resolveOpenClawPaths(){const _0x1e7ac7={_0x531794:0x19},_0x4d3c73={_0x21510a:0x249};function _0x588150(_0xfa507c,_0x4d212a){return _0x35d151(_0x4d212a,_0xfa507c- -0x275);}const _0x1058f2={'pOEDA':function(_0x5092f8){return _0x5092f8();}},_0x497a8d=_0x1058f2[_0x588150(-0x129,0x3a)](resolveActiveOpenClawStateDir);function _0x2845be(_0x376fa4,_0x2891fb){return _0x35d151(_0x376fa4,_0x2891fb- -_0x4d3c73._0x21510a);}const _0xf21c4f=resolveActiveOpenClawConfigPath(_0x497a8d);return{'stateDir':_0x497a8d,'configDir':_0x1d553f(_0xf21c4f),'configPath':_0xf21c4f,'mediaDir':_0x4cb7e2(_0x497a8d,_0x2845be(-0x29,-_0x1e7ac7._0x531794))};}function resolveActiveOpenClawStateDir(){const _0x429647={_0x556ddd:0x196,_0x2ab35f:0x4ec,_0x529faf:0x182,_0x590444:0x1fa},_0x3edcbe={_0x480a77:0x163},_0x579b2a=readEnvValue(_0x44c609(-_0x429647._0x556ddd,0xde)+_0x4b38cd(0x626,_0x429647._0x2ab35f)+'IR',_0x44c609(-_0x429647._0x529faf,-0x82)+'_STATE_D'+'IR');function _0x44c609(_0x1a304a,_0xac2ecc){return _0x341e52(_0xac2ecc- -0x5c7,_0x1a304a);}if(_0x579b2a)return resolveUserPath(_0x579b2a);const _0x1e3031=buildOpenClawStateDirCandidates();function _0x4b38cd(_0x42a113,_0x29b9de){return _0x341e52(_0x42a113- -_0x3edcbe._0x480a77,_0x29b9de);}const _0x1295f4=_0x1e3031[_0x44c609(0x1eb,_0x429647._0x590444)](_0x499e0d=>_0x57e205(_0x4cb7e2(_0x499e0d,_0x44c609(0x4a0,0x1fd)+_0x44c609(0xd1,-0xe0))));return _0x1295f4??_0x1e3031[0x0]??_0x4cb7e2(_0xcdcfe7(),_0x44c609(0x286,0x32b)+'w');}function resolveActiveOpenClawConfigPath(_0x2d9d6b){const _0x348f34={_0x44c4d1:0x3b9,_0x4b925f:0x2b,_0x15194f:0x1b1,_0xfda2a3:0xfd,_0x40fb07:0x1b2,_0x97b2be:0x224},_0x5a9a59={_0x3d56c1:0x27c},_0x38aafe={'NhZEf':function(_0x22412b,_0x3c0984,_0x3108ef){return _0x22412b(_0x3c0984,_0x3108ef);}};function _0x5cdc73(_0xd0cd53,_0x33b1e0){return _0x35d151(_0x33b1e0,_0xd0cd53- -_0x5a9a59._0x3d56c1);}function _0x54f9cd(_0x49929a,_0x31e0d5){return _0x35d151(_0x31e0d5,_0x49929a- -0x23f);}const _0x59dc47=readEnvValue(_0x5cdc73(0x1ad,0x19c)+_0x5cdc73(-0x133,-_0x348f34._0x44c4d1)+_0x5cdc73(_0x348f34._0x4b925f,-_0x348f34._0x15194f),'CLAWDBOT'+_0x54f9cd(-0xf6,_0x348f34._0xfda2a3)+_0x54f9cd(0x68,-_0x348f34._0x40fb07));if(_0x59dc47)return resolveUserPath(_0x59dc47);return _0x38aafe[_0x5cdc73(0x3b2,_0x348f34._0x97b2be)](_0x4cb7e2,_0x2d9d6b,'openclaw'+'.json');}function _0x341e52(_0x3e9532,_0x35a9bf){return _0x1fba(_0x3e9532-0x214,_0x35a9bf);}function _0x35d151(_0x3549b7,_0xc7512c){return _0x1fba(_0xc7512c- -0x68,_0x3549b7);}function buildOpenClawStateDirCandidates(){const _0x2337a4={_0x4593d8:0x5e,_0x49ab5f:0x250,_0x3d5a8c:0x33,_0x100a43:0x8e,_0x278693:0x23b,_0x18097b:0x23b},_0x4b54a9={_0x2bba4c:0x796,_0x37edb6:0x78a},_0x25b77e={_0x8045ef:0x149},_0x51515e={_0x3f139a:0x55d},_0x482d7f={_0x4158f5:0x5e7};function _0x50ece7(_0x5b6ae0,_0x5a60a3){return _0x341e52(_0x5a60a3- -_0x482d7f._0x4158f5,_0x5b6ae0);}const _0x3aabfe={};function _0x327adb(_0x2e0d8a,_0x493859){return _0x341e52(_0x493859- -_0x51515e._0x3f139a,_0x2e0d8a);}_0x3aabfe[_0x327adb(0x1ef,0xbd)]=_0x50ece7(-_0x2337a4._0x4593d8,-_0x2337a4._0x49ab5f);const _0x430033=_0x3aabfe,_0x3dc095=new Set();return[_0xcdcfe7(),_0x430033[_0x50ece7(0x138,_0x2337a4._0x3d5a8c)]][_0x50ece7(_0x2337a4._0x100a43,-_0x2337a4._0x278693)](_0x1e52bd=>_0x1e52bd[_0x327adb(0x1d9,0xa6)]())['filter'](Boolean)[_0x50ece7(-0xe8,-_0x2337a4._0x18097b)](_0x375c94=>_0x4cb7e2(_0x375c94,_0x327adb(0x529,0x395)+'w'))['filter'](_0x5ac625=>{const _0xfb652a={_0xb9535b:0x3e2};function _0x28ec3e(_0x479a13,_0x33dc76){return _0x327adb(_0x33dc76,_0x479a13-_0x25b77e._0x8045ef);}if(_0x3dc095[_0x1fcc97(_0x4b54a9._0x2bba4c,0x5a0)](_0x5ac625))return![];_0x3dc095[_0x1fcc97(_0x4b54a9._0x37edb6,0x901)](_0x5ac625);function _0x1fcc97(_0x34ad43,_0x397232){return _0x327adb(_0x397232,_0x34ad43-_0xfb652a._0xb9535b);}return!![];});}function resolveUserPath(_0x5e0071){const _0xdafc86={_0x575b90:0x117,_0x2f2b9f:0x936,_0x48b4ba:0x7d0,_0x59650b:0xff},_0x3df5fc={_0x1ab2b4:0x97},_0x26b01b={'xaJzb':function(_0x2b2bf3,_0xe32295){return _0x2b2bf3===_0xe32295;},'sCtri':function(_0x187832,_0x4aab85){return _0x187832(_0x4aab85);},'cyqeR':function(_0x3ea818,_0x580dfc,_0x53b384){return _0x3ea818(_0x580dfc,_0x53b384);},'EuyLB':function(_0x4fcfda,_0x46911c){return _0x4fcfda(_0x46911c);}},_0x1f2964=_0x5e0071[_0x5e5dae(0x40c,0x2f0)]();if(!_0x1f2964)return _0x1f2964;function _0x5e5dae(_0x3f2813,_0x529fb6){return _0x35d151(_0x3f2813,_0x529fb6- -_0x3df5fc._0x1ab2b4);}if(_0x26b01b[_0x5e5dae(_0xdafc86._0x575b90,0x212)](_0x1f2964,'~'))return resolve(_0xcdcfe7());if(_0x1f2964['startsWi'+'th']('~/'))return _0x26b01b[_0x29352a(_0xdafc86._0x2f2b9f,_0xdafc86._0x48b4ba)](resolve,_0x26b01b['cyqeR'](_0x4cb7e2,_0xcdcfe7(),_0x1f2964[_0x5e5dae(0x3e8,_0xdafc86._0x59650b)](0x2)));function _0x29352a(_0x16db31,_0x2b7bba){return _0x35d151(_0x16db31,_0x2b7bba-0x10b);}return _0x26b01b[_0x29352a(0x1ae,0x24c)](resolve,_0x1f2964);}async function loadBootstrapState(_0x40beb4){const _0x1ac634={_0x5b8744:0x19b,_0x3803a8:0x244,_0x539658:0x369,_0x1a261e:0x371},_0x533341={_0x41cdb0:0x20c},_0x385380={};_0x385380[_0x1941bc(0x111,0x404)]=function(_0x2e71c5,_0x382af7){return _0x2e71c5===_0x382af7;};const _0x248ae4=_0x385380,_0x65d6c4=await readJsonFile(_0x40beb4)??{};function _0x1941bc(_0x43ef36,_0x46dae1){return _0x341e52(_0x46dae1- -_0x533341._0x41cdb0,_0x43ef36);}function _0xd6866b(_0x44de8b,_0x16209c){return _0x341e52(_0x16209c- -0x24d,_0x44de8b);}const _0x376162=Date[_0xd6866b(-0xce,_0x1ac634._0x5b8744)]();for(const [_0x17d9ce,_0x2dab26]of Object['entries'](_0x65d6c4)){if(!_0x2dab26||typeof _0x2dab26!==_0xd6866b(_0x1ac634._0x3803a8,0x270)){delete _0x65d6c4[_0x17d9ce];continue;}typeof _0x2dab26['ts']!==_0xd6866b(0x1e2,_0x1ac634._0x539658)&&_0x248ae4['FdqzD'](typeof _0x2dab26[_0x1941bc(0x353,0x371)+'Ms'],'number')&&(_0x2dab26['ts']=_0x2dab26[_0x1941bc(0x4ca,_0x1ac634._0x1a261e)+'Ms']),_0x376162-_0x2dab26['ts']>DEVICE_BOOTSTRAP_TOKEN_TTL_MS&&delete _0x65d6c4[_0x17d9ce];}return _0x65d6c4;}async function readJsonFile(_0x119029){const _0x2982f4={_0x23a419:0x72a},_0x2c02ba={_0x5d48a1:0x32d},_0x34b9c7={'cCLJI':function(_0x467c8c,_0xe3e43e,_0x44b3c5){return _0x467c8c(_0xe3e43e,_0x44b3c5);}};function _0x1370d8(_0x40966d,_0x57ab64){return _0x35d151(_0x57ab64,_0x40966d-0xe);}function _0x51da4e(_0x3507b0,_0x128570){return _0x35d151(_0x128570,_0x3507b0-_0x2c02ba._0x5d48a1);}try{return JSON[_0x51da4e(0x94e,0x7c8)](await _0x34b9c7[_0x51da4e(0x5e6,0x825)](readFile,_0x119029,_0x51da4e(_0x2982f4._0x23a419,0x470)));}catch{return null;}}async function writeJsonAtomic(_0x579348,_0x37413f){const _0x5ba70b={_0x20e276:0x654,_0xd9beb4:0x5c2,_0x70cae8:0x8d3,_0x55bdd2:0x920,_0x2ea79e:0x464,_0x5b74b7:0x766,_0xc1551c:0x55a,_0x13d90a:0x738,_0x4ebff5:0x67a,_0x197ebd:0xa38,_0x2c4121:0x880},_0x487933={_0x5a1816:0xed},_0x264a2e={_0x46138a:0x1b6},_0x5b18d9={'PMfbD':function(_0x5dd717,_0x180a52){return _0x5dd717(_0x180a52);},'dxAay':function(_0x36f438,_0x65c68d,_0xc6184e){return _0x36f438(_0x65c68d,_0xc6184e);}};function _0x5d70a5(_0x45047b,_0x4e99ba){return _0x341e52(_0x4e99ba- -_0x264a2e._0x46138a,_0x45047b);}const _0xd7298f=JSON[_0x5d70a5(_0x5ba70b._0x20e276,_0x5ba70b._0xd9beb4)+'y'](_0x37413f,null,0x2),_0x473631={};_0x473631[_0x18100a(_0x5ba70b._0x70cae8,_0x5ba70b._0x55bdd2)+'e']=!![],_0x473631['mode']=0x1c0,await mkdir(_0x5b18d9['PMfbD'](_0x1d553f,_0x579348),_0x473631);function _0x18100a(_0x50f8ce,_0x521d96){return _0x341e52(_0x50f8ce-_0x487933._0x5a1816,_0x521d96);}const _0x56f3af=_0x579348+'.'+randomUUIDFragment()+'.tmp';try{const _0xac379d={};_0xac379d[_0x18100a(_0x5ba70b._0x2ea79e,0x21b)]=_0x18100a(_0x5ba70b._0x5b74b7,_0x5ba70b._0xc1551c),_0xac379d[_0x5d70a5(0x933,_0x5ba70b._0x13d90a)]=0x180,await writeFile(_0x56f3af,_0xd7298f,_0xac379d),await safeChmod(_0x56f3af,0x180),await rename(_0x56f3af,_0x579348),await _0x5b18d9[_0x18100a(0x84a,_0x5ba70b._0x4ebff5)](safeChmod,_0x579348,0x180);}finally{const _0x84630e={};_0x84630e[_0x18100a(_0x5ba70b._0x197ebd,0xa49)]=!![],await rm(_0x56f3af,_0x84630e)[_0x18100a(_0x5ba70b._0x2c4121,0x6a3)](()=>void 0x0);}}async function safeChmod(_0x3777ca,_0x456c37){try{await chmod(_0x3777ca,_0x456c37);}catch{}}function generatePairingToken(){const _0x24aa64={_0x424135:0x612,_0x3365f1:0x63e,_0x5bdc56:0x716,_0x365977:0x7eb,_0x39d76d:0x8c0},_0x7c5e2f={_0x1df55b:0xa3};function _0x2c097c(_0x3b495d,_0x1b646b){return _0x341e52(_0x3b495d-_0x7c5e2f._0x1df55b,_0x1b646b);}function _0x4f8ad3(_0x3d1aa0,_0x408297){return _0x341e52(_0x3d1aa0- -0x30c,_0x408297);}const _0x1a8314={'zDlxE':function(_0x3de96f,_0x4f2c6b){return _0x3de96f(_0x4f2c6b);}};return _0x1a8314[_0x4f8ad3(0x37d,_0x24aa64._0x424135)](randomBytes,PAIRING_TOKEN_BYTES)[_0x2c097c(_0x24aa64._0x3365f1,_0x24aa64._0x5bdc56)](_0x2c097c(_0x24aa64._0x365977,_0x24aa64._0x39d76d)+'l');}function normalizeStringArray(_0x3729b2){const _0x17869c={_0x5c57e5:0x1d4,_0x3a8b7a:0x442,_0xe9f154:0x960,_0x1b93f8:0x686,_0x1ca0ea:0x983},_0x3dcf8e={_0x5b7f36:0x83},_0x5748f1={};_0x5748f1['Jbevl']=_0x38329d(_0x17869c._0x5c57e5,_0x17869c._0x3a8b7a);const _0x3fc9f6=_0x5748f1,_0x402f7f=new Set();function _0x32423e(_0x44017f,_0x300492){return _0x341e52(_0x300492-_0x3dcf8e._0x5b7f36,_0x44017f);}for(const _0x276c7f of _0x3729b2){const _0x29d09a=typeof _0x276c7f===_0x3fc9f6[_0x38329d(0x32e,0x1cd)]?_0x276c7f[_0x32423e(_0x17869c._0xe9f154,_0x17869c._0x1b93f8)]():'';_0x29d09a&&_0x402f7f[_0x32423e(_0x17869c._0x1ca0ea,0x988)](_0x29d09a);}function _0x38329d(_0x5760c7,_0x3f1854){return _0x341e52(_0x5760c7- -0x206,_0x3f1854);}return[..._0x402f7f]['sort']();}function randomUUIDFragment(){const _0x53e02f={_0x3891b8:0x1fb},_0x2c3b2a={_0x38c127:0x187};function _0x12c5a4(_0x197ccd,_0x53ac9b){return _0x35d151(_0x197ccd,_0x53ac9b-_0x2c3b2a._0x38c127);}function _0x1af47e(_0xa392d5,_0x2867c6){return _0x35d151(_0xa392d5,_0x2867c6-_0x53e02f._0x3891b8);}return randomBytes(0xc)[_0x1af47e(0x35b,0x51a)](_0x12c5a4(0x8f1,0x705));}function createAsyncLock(){let _0x51503a=Promise['resolve']();return async function _0x22923c(_0x1875e3){const _0x533da3=_0x51503a;let _0x3247e6;_0x51503a=new Promise(_0x12b88b=>{_0x3247e6=_0x12b88b;}),await _0x533da3;try{return await _0x1875e3();}finally{_0x3247e6?.();}};}var CONTROL_PREFIX=_0x341e52(0x506,0x4da)+_0x35d151(-0xbd,0x17c)+'control_'+'_:';function parseControl(_0x3e6fca){const _0xf34d48={_0x38b6e3:0x3eb,_0x14dee5:0x15f,_0x15146c:0x161,_0x5cfc02:0x759,_0x587d2a:0x18,_0x293cea:0x192,_0x59f0b5:0x6b4,_0x1791b6:0xe1,_0x278e2b:0x5f1,_0x23bf8a:0x485,_0x540d90:0x48,_0x54c6d4:0x2ee,_0x5d3220:0xc9,_0x484aac:0x32f,_0x24797a:0x39a,_0x3a1696:0x693,_0x38804b:0x7e9},_0xf636c0={_0x2d3066:0x2b1},_0x4b6f71={_0x382b4e:0x11},_0x80f3dd={'wwqFU':_0x3d8021(_0xf34d48._0x38b6e3,_0xf34d48._0x14dee5),'OEtAV':'number','HESHp':function(_0x8876b0,_0x19595a){return _0x8876b0===_0x19595a;},'SQOFO':function(_0x9a8a3d,_0x59171b){return _0x9a8a3d(_0x59171b);}};function _0x3d8021(_0x242969,_0x2b2282){return _0x341e52(_0x242969-_0x4b6f71._0x382b4e,_0x2b2282);}if(!_0x3e6fca['startsWi'+'th'](CONTROL_PREFIX))return null;function _0x1d6ee6(_0x3efbed,_0x35af06){return _0x341e52(_0x35af06- -_0xf636c0._0x2d3066,_0x3efbed);}try{const _0x31d548=JSON['parse'](_0x3e6fca[_0x1d6ee6(0x2f,_0xf34d48._0x15146c)](CONTROL_PREFIX[_0x3d8021(0x87a,_0xf34d48._0x5cfc02)]));if(typeof _0x31d548[_0x1d6ee6(_0xf34d48._0x587d2a,_0xf34d48._0x293cea)]!==_0x80f3dd[_0x1d6ee6(0x706,_0xf34d48._0x59f0b5)]||!_0x31d548[_0x1d6ee6(0x3e7,0x192)][_0x3d8021(0x614,0x760)]())return null;const _0x192da7=isRecord(_0x31d548[_0x3d8021(0x3a3,0x5df)])?_0x31d548[_0x1d6ee6(0x9,_0xf34d48._0x1791b6)]:void 0x0,_0x560cd3=typeof _0x31d548[_0x3d8021(_0xf34d48._0x278e2b,0x65d)]===_0x80f3dd['OEtAV']&&Number[_0x1d6ee6(_0xf34d48._0x23bf8a,0x235)](_0x31d548['count'])?_0x31d548[_0x3d8021(0x5f1,0x469)]:_0x80f3dd[_0x1d6ee6(_0xf34d48._0x540d90,_0xf34d48._0x54c6d4)](typeof _0x192da7?.[_0x3d8021(0x5f1,0x2f8)],_0x1d6ee6(_0xf34d48._0x5d3220,0x305))&&Number['isFinite'](_0x192da7[_0x1d6ee6(0x47d,_0xf34d48._0x484aac)])?_0x192da7['count']:void 0x0;return{'event':_0x31d548[_0x3d8021(0x454,0x1f1)][_0x1d6ee6(_0xf34d48._0x24797a,0x352)](),'requestId':readOptionalString(_0x31d548[_0x3d8021(0x6cb,0x5cc)+'d']),'payload':_0x192da7,'sourceClientId':readOptionalString(_0x31d548[_0x3d8021(_0xf34d48._0x3a1696,0x931)+_0x3d8021(_0xf34d48._0x38804b,0x820)]),'targetClientId':_0x80f3dd[_0x1d6ee6(0x654,0x495)](readOptionalString,_0x31d548[_0x1d6ee6(0x396,0x391)+'ientId']),'count':_0x560cd3};}catch{return null;}}function parseConnectStartIdentity(_0x21ecfb){const _0x187c19={_0xf74f31:0x79c,_0xf991a5:0x618,_0xb24864:0x418,_0x2b222a:0x2e0,_0x5756b3:0x4e3,_0x1e11ec:0x18f,_0x4f2987:0x74c,_0x17ea9f:0xdd,_0x2d2374:0x91,_0xa4c481:0x7ce,_0x41d2bd:0x836,_0x1f8e4b:0x2ab,_0x4f7244:0x199,_0x4096ee:0x2e9,_0x1baef7:0x376,_0x2361e3:0x3ec,_0x3a29c7:0x5e1,_0x1e765e:0x5ec,_0x6b45fc:0x82d,_0x30c536:0x3f0,_0x4b8296:0x301,_0x49af99:0x76e,_0x86d208:0x61e},_0x334a84={_0x1356b9:0x13e},_0x36355b={'qNacY':function(_0x3cbf46,_0x581e61){return _0x3cbf46!==_0x581e61;},'CqivN':_0xfe3baf(_0x187c19._0xf74f31,0x834)+'start','TQZMA':function(_0x2d2a78,_0x4211b9,_0x5a8cd0,_0x2d3450,_0x4f8b6b){return _0x2d2a78(_0x4211b9,_0x5a8cd0,_0x2d3450,_0x4f8b6b);},'xxean':_0xfe3baf(0x7a1,_0x187c19._0xf991a5)+_0x3c451d(0x3a5,_0x187c19._0xb24864)};function _0xfe3baf(_0x496e77,_0x336cd2){return _0x35d151(_0x336cd2,_0x496e77-0x25a);}function _0x3c451d(_0x2eb178,_0x39e73e){return _0x35d151(_0x2eb178,_0x39e73e- -_0x334a84._0x1356b9);}try{const _0xb4c3da=JSON[_0x3c451d(_0x187c19._0x2b222a,_0x187c19._0x5756b3)](_0x21ecfb);if(_0x36355b[_0xfe3baf(0x43e,_0x187c19._0x1e11ec)](_0xb4c3da[_0xfe3baf(_0x187c19._0x4f2987,0x7a3)],'req'))return null;if(_0xb4c3da['method']!==_0x3c451d(-_0x187c19._0x17ea9f,_0x187c19._0x2d2374)&&_0xb4c3da[_0xfe3baf(_0x187c19._0xa4c481,_0x187c19._0x41d2bd)]!==_0x36355b[_0x3c451d(_0x187c19._0x1f8e4b,_0x187c19._0x4f7244)])return null;const _0x32936d=_0xb4c3da[_0x3c451d(_0x187c19._0x4096ee,0x27b)]??{},_0x345b02=typeof _0xb4c3da['id']===_0xfe3baf(0x3b8,_0x187c19._0x1baef7)&&_0xb4c3da['id'][_0x3c451d(_0x187c19._0x2361e3,0x249)]()?_0xb4c3da['id'][_0xfe3baf(_0x187c19._0x3a29c7,0x5f0)]():'req-'+Math[_0xfe3baf(_0x187c19._0x1e765e,_0x187c19._0x6b45fc)]()['toString'](0x24)[_0xfe3baf(_0x187c19._0x30c536,0x1e4)](0x2,0xc),_0x20f7cd=_0x36355b[_0x3c451d(_0x187c19._0x4b8296,0x3d7)](firstString,_0x32936d[_0xfe3baf(0x5e8,0x4fd)+'me'],_0x32936d['clientNa'+'me'],_0x32936d['deviceId'],_0x36355b[_0xfe3baf(_0x187c19._0x49af99,_0x187c19._0x86d208)]),_0x4c4b53={};return _0x4c4b53['id']=_0x345b02,_0x4c4b53[_0x3c451d(0x3df,0x1f1)]=_0x20f7cd,_0x4c4b53;}catch{return null;}}function isConnectHandshakeRequest(_0x4952cf){const _0x191fac={_0x368df0:0x28a,_0x40650c:0x29c,_0x443073:0x355,_0x3dc0b5:0x1b,_0x131221:0x25a,_0x50a96a:0x4f,_0x10a6c8:0x5a},_0xda488d={_0x249527:0x3c1},_0x1eb144={_0x3d0db7:0x469};function _0x3712e7(_0x4c9109,_0x1d155a){return _0x341e52(_0x1d155a- -_0x1eb144._0x3d0db7,_0x4c9109);}const _0x49fe37={};function _0x319442(_0x1ef1a1,_0x167dac){return _0x341e52(_0x1ef1a1- -_0xda488d._0x249527,_0x167dac);}_0x49fe37[_0x3712e7(_0x191fac._0x368df0,_0x191fac._0x40650c)]=function(_0x31238a,_0x3b362e){return _0x31238a===_0x3b362e;},_0x49fe37['oyILz']=_0x3712e7(0x11e,_0x191fac._0x443073)+_0x3712e7(_0x191fac._0x3dc0b5,0x1c6);const _0x377a38=_0x49fe37;try{const _0x87a7a0=JSON['parse'](_0x4952cf);return _0x377a38[_0x3712e7(_0x191fac._0x131221,_0x191fac._0x40650c)](_0x87a7a0[_0x3712e7(0x5,0x305)],_0x3712e7(_0x191fac._0x50a96a,-_0x191fac._0x10a6c8))&&(_0x87a7a0['method']===_0x3712e7(-0x200,-0x1e)||_0x87a7a0['method']===_0x377a38['oyILz']);}catch{return![];}}function parseConnectHandshakeMeta(_0x31712f){const _0x56f316={_0x22d322:0x400,_0x50af1c:0x4b2,_0xe673a1:0x423,_0x5eefb2:0x654,_0x103644:0x668,_0xcd1533:0x65f,_0x49f923:0x614,_0x39b937:0x473,_0x5c183b:0x2e7,_0x115dba:0x7a3,_0x398d93:0x6e8,_0x2b3e94:0x6eb,_0x124e19:0x646,_0x31f735:0x230,_0x42efb9:0x617,_0x424e5c:0x42e,_0x27fa67:0x572,_0x288f7f:0x40e},_0x40147d={_0x361a6f:0xd2},_0x12ece0={};_0x12ece0['Iqxcl']=_0x3735fb(_0x56f316._0x22d322,0x587),_0x12ece0['WlRxv']='string',_0x12ece0[_0x3735fb(_0x56f316._0x50af1c,0x485)]=function(_0x477290,_0x2ccbfb){return _0x477290===_0x2ccbfb;};const _0x5a0253=_0x12ece0;function _0x1f7c93(_0xb7704a,_0xd37995){return _0x35d151(_0xb7704a,_0xd37995-_0x40147d._0x361a6f);}function _0x3735fb(_0x2b8b72,_0xe7ac6c){return _0x35d151(_0xe7ac6c,_0x2b8b72-0x26d);}try{const _0x1c4b3e=JSON['parse'](_0x31712f);if(_0x1c4b3e[_0x1f7c93(_0x56f316._0xe673a1,0x5c4)]!==_0x5a0253[_0x1f7c93(_0x56f316._0x5eefb2,0x5d3)])return null;if(_0x1c4b3e[_0x1f7c93(0x8ca,0x646)]!==_0x3735fb(0x43c,_0x56f316._0x103644)&&_0x1c4b3e['method']!==_0x1f7c93(_0x56f316._0xcd1533,_0x56f316._0x49f923)+_0x3735fb(0x620,_0x56f316._0x39b937))return null;const _0x77dcec=_0x1c4b3e[_0x1f7c93(_0x56f316._0x5c183b,0x48b)]?.[_0x1f7c93(0x88a,_0x56f316._0x115dba)]?.[_0x3735fb(_0x56f316._0x398d93,_0x56f316._0x2b3e94)],_0x1230a9=_0x1c4b3e[_0x3735fb(0x626,0x59d)]?.[_0x1f7c93(0x689,0x385)];return{'id':typeof _0x1c4b3e['id']===_0x5a0253['WlRxv']&&_0x1c4b3e['id'][_0x3735fb(0x5f4,0x372)]()?_0x1c4b3e['id'][_0x3735fb(0x5f4,0x558)]():null,'method':_0x1c4b3e[_0x1f7c93(0x8ab,_0x56f316._0x124e19)],'noncePresent':typeof _0x77dcec===_0x1f7c93(0x2cd,0x230)&&_0x77dcec[_0x3735fb(0x85a,0x795)]>0x0,'nonceLength':_0x5a0253[_0x3735fb(0x4b2,0x2d8)](typeof _0x77dcec,_0x1f7c93(0x352,_0x56f316._0x31f735))?_0x77dcec[_0x1f7c93(0x67e,0x6bf)]:null,'authFields':_0x1230a9&&typeof _0x1230a9===_0x1f7c93(_0x56f316._0x42efb9,0x313)?Object[_0x3735fb(0x3a1,_0x56f316._0x424e5c)](_0x1230a9)[_0x3735fb(_0x56f316._0x27fa67,_0x56f316._0x288f7f)]():[]};}catch{return null;}}function parsePairingRequestFromError(_0x1deaf2,_0xba1969=Date[_0x35d151(0x312,0x16c)]()){const _0x2e616b={_0x183b32:0x2eb,_0xacabe4:0xa,_0x1a820e:0x798,_0x39a357:0x44b,_0x3a38ec:0x464,_0x315259:0x4c1,_0x424ddb:0x37a,_0x300d44:0x690,_0x40f528:0x2a7,_0x3a479a:0x29f,_0x391113:0x100,_0xb9402e:0x2a6,_0x1e71f9:0x189,_0xfe4b3:0x5e7,_0x102eb8:0x302,_0x361e58:0x1c1,_0x1395d0:0x3ec,_0x596a42:0xe7,_0x5184d9:0x5ae,_0x109abf:0x636,_0x681cb7:0x481,_0x47bc89:0x4c1,_0x195485:0x23e,_0x306554:0x3b8,_0x2847d1:0x238,_0x4450a5:0x4c1,_0x2c07c8:0x2ab,_0x2c5f87:0x430,_0x2253db:0x875,_0x18290a:0x50f,_0x530ba4:0x24c,_0x4c07d8:0x4a4,_0x37addf:0x27c,_0x47c989:0x5c2,_0x29d838:0x47a,_0x2097f4:0x74c},_0x5a09e6={'DPAhf':function(_0x8826ba,_0x36d8cc){return _0x8826ba===_0x36d8cc;},'ncBOH':_0xde0815(_0x2e616b._0x183b32,_0x2e616b._0xacabe4),'XGAbk':'PAIRING_'+_0xde0815(0x565,_0x2e616b._0x1a820e),'PapYu':function(_0x21b44f,_0x5aa2ff){return _0x21b44f(_0x5aa2ff);},'vcWKI':function(_0x50a192,_0x258664){return _0x50a192(_0x258664);}};function _0x2ac7a9(_0x3292c0,_0x8f8576){return _0x35d151(_0x3292c0,_0x8f8576- -0x8e);}function _0xde0815(_0x216bf2,_0x44e1cc){return _0x35d151(_0x44e1cc,_0x216bf2-0x18d);}try{const _0x57544e=JSON[_0xde0815(0x7ae,0x58f)](_0x1deaf2);if(_0x57544e[_0x2ac7a9(_0x2e616b._0x39a357,_0x2e616b._0x3a38ec)]!==_0xde0815(0x355,0x123)||_0x57544e['ok']!==![]||!_0x57544e[_0xde0815(_0x2e616b._0x315259,_0x2e616b._0x424ddb)])return null;const _0x8f7e12=_0x5a09e6[_0xde0815(0x619,_0x2e616b._0x300d44)](typeof _0x57544e[_0xde0815(0x4c1,_0x2e616b._0x40f528)][_0xde0815(_0x2e616b._0x3a479a,0x53d)],_0x5a09e6[_0x2ac7a9(_0x2e616b._0x391113,0x35a)])?_0x57544e[_0x2ac7a9(0x525,_0x2e616b._0xb9402e)]['code']:'',_0x350ab5=typeof _0x57544e['error'][_0x2ac7a9(-_0x2e616b._0x1e71f9,0x10b)]===_0xde0815(_0x2e616b._0x183b32,_0x2e616b._0xfe4b3)?_0x57544e[_0xde0815(0x4c1,0x63b)][_0x2ac7a9(-0x1e4,0x10b)]:'';if(!_0x8f7e12[_0x2ac7a9(0x8,0xe7)]('NOT_PAIR'+'ED')&&!_0x8f7e12[_0xde0815(_0x2e616b._0x102eb8,0x5ad)](_0x5a09e6[_0x2ac7a9(_0x2e616b._0x361e58,_0x2e616b._0x1395d0)])&&!_0x350ab5[_0x2ac7a9(0x2f4,_0x2e616b._0x596a42)](_0xde0815(0x3bc,_0x2e616b._0x5184d9)+'ED')&&!_0x350ab5[_0xde0815(_0x2e616b._0x102eb8,0x508)](_0xde0815(0x78a,0x93c)+_0x2ac7a9(_0x2e616b._0x109abf,_0x2e616b._0x681cb7)))return null;const _0x1e530f=_0x57544e[_0xde0815(_0x2e616b._0x47bc89,_0x2e616b._0x195485)][_0x2ac7a9(_0x2e616b._0x306554,_0x2e616b._0x2847d1)]??_0x57544e[_0xde0815(_0x2e616b._0x4450a5,_0x2e616b._0x2c07c8)]['data']??{},_0x17adb1=firstString(_0x1e530f['requestI'+'d'],extractRequestIdFromMessage(_0x350ab5),_0xde0815(0x875,0x799));return{'requestId':_0x17adb1,'deviceId':firstString(_0x1e530f[_0x2ac7a9(0x609,0x5bf)],''),'displayName':firstNullableString(_0x1e530f['displayN'+_0x2ac7a9(0x2d3,_0x2e616b._0x2c5f87)]),'platform':_0x5a09e6[_0xde0815(0x53a,0x830)](firstNullableString,_0x1e530f[_0x2ac7a9(_0x2e616b._0x2253db,0x5e9)]),'deviceFamily':firstNullableString(_0x1e530f[_0xde0815(_0x2e616b._0x18290a,0x382)+_0x2ac7a9(_0x2e616b._0x530ba4,0x1c5)]),'role':_0x5a09e6[_0xde0815(_0x2e616b._0x4c07d8,_0x2e616b._0x37addf)](firstNullableString,_0x1e530f[_0xde0815(_0x2e616b._0x47c989,0x445)]),'remoteIp':firstNullableString(_0x1e530f[_0xde0815(_0x2e616b._0x29d838,_0x2e616b._0x2097f4)]),'receivedAtMs':_0xba1969,'status':'pending'};}catch{return null;}}function parsePairResolvedEvent(_0x2157c6){const _0x3117c8={_0x3c9ea5:0x3cf,_0x5bd4a6:0x7d,_0x374c4d:0x46,_0x1470b2:0x4f3,_0x564b41:0x296,_0x50b2e9:0xa6,_0x1f0724:0x267,_0xd4cbb6:0x1e5,_0x290bfb:0x4ac,_0x2e7f83:0x46c,_0x212d5a:0x36e,_0x1daca0:0x50d,_0x3a3bce:0x456,_0x4f45cf:0x311,_0x4e5f36:0x1e5,_0x1cc85f:0x72c,_0x570d68:0x7d3,_0x5a4bbd:0xe,_0x4bfff7:0x2ba,_0xc45f76:0x8a5,_0x66c0f7:0x5d5,_0x26b7cb:0x474,_0x31eb37:0x150,_0x2635f1:0x66c},_0x5cf6ef={_0xcb0e16:0x2ee},_0x3221a5={_0xf5d9d9:0xcf},_0x120e21={};function _0x25661c(_0x5ea9c7,_0x31ff51){return _0x35d151(_0x5ea9c7,_0x31ff51-_0x3221a5._0xf5d9d9);}_0x120e21[_0x25661c(0x6af,0x624)]=_0x25661c(0x5ca,_0x3117c8._0x3c9ea5)+'air.reso'+_0x12c3d2(_0x3117c8._0x5bd4a6,0x296),_0x120e21[_0x12c3d2(-0x1c7,_0x3117c8._0x374c4d)]=_0x25661c(_0x3117c8._0x1470b2,0x22d);function _0x12c3d2(_0x4b1302,_0x19d015){return _0x35d151(_0x19d015,_0x4b1302- -_0x5cf6ef._0xcb0e16);}_0x120e21[_0x12c3d2(-0x103,0xbf)]=_0x12c3d2(0x3fa,0x6b7);const _0x3c58c2=_0x120e21;try{const _0x1c237d=JSON[_0x12c3d2(0x333,0x516)](_0x2157c6);if(_0x1c237d[_0x12c3d2(0x204,0x4)]!==_0x25661c(0x18e,_0x3117c8._0x564b41)||_0x1c237d[_0x25661c(_0x3117c8._0x50b2e9,0x296)]!==_0x3c58c2[_0x12c3d2(_0x3117c8._0x1f0724,-0x75)]||!_0x1c237d[_0x25661c(0x289,_0x3117c8._0xd4cbb6)])return null;const _0x4323f0=typeof _0x1c237d[_0x12c3d2(-0x1d8,-0x397)][_0x25661c(_0x3117c8._0x290bfb,0x50d)+'d']===_0x3c58c2['ANHpP']?_0x1c237d[_0x25661c(_0x3117c8._0x2e7f83,_0x3117c8._0xd4cbb6)][_0x25661c(_0x3117c8._0x212d5a,_0x3117c8._0x1daca0)+'d'][_0x25661c(0x697,_0x3117c8._0x3a3bce)]():'';if(!_0x4323f0)return null;const _0x1da068=typeof _0x1c237d[_0x25661c(_0x3117c8._0x4f45cf,_0x3117c8._0x4e5f36)][_0x25661c(_0x3117c8._0x1cc85f,0x7a8)]==='string'?_0x1c237d[_0x25661c(0xc3,_0x3117c8._0xd4cbb6)][_0x25661c(_0x3117c8._0x570d68,0x7a8)]:_0x3c58c2[_0x25661c(-_0x3117c8._0x5a4bbd,_0x3117c8._0x4bfff7)],_0x13e6a0=_0x1da068==='approved'||_0x1da068===_0x25661c(_0x3117c8._0xc45f76,_0x3117c8._0x66c0f7)?_0x1da068:_0x12c3d2(0x3fa,_0x3117c8._0x26b7cb),_0x253b86={};return _0x253b86[_0x12c3d2(_0x3117c8._0x31eb37,0x2b0)+'d']=_0x4323f0,_0x253b86[_0x12c3d2(0x3eb,_0x3117c8._0x2635f1)]=_0x13e6a0,_0x253b86;}catch{return null;}}function parseResponseEnvelopeMeta(_0xe13e30){const _0x113e46={_0x4fea80:0xa9,_0x228ab8:0x5ba,_0x8235f1:0x83f,_0x2b4bcd:0x710,_0x494b13:0x648,_0x445829:0x402,_0x1e21bf:0x320,_0x332cd1:0x62b,_0x479785:0x552,_0x3be634:0x10c,_0x3b01df:0x375,_0x58cc2e:0x402,_0x2504d4:0x5d8,_0x2ccd64:0x467,_0x4cb118:0x62b,_0x3441dc:0x299,_0x987d67:0x614,_0x49a1c7:0x37c,_0x39ba8b:0x43d,_0x272541:0x5a5,_0x2e54d3:0x552,_0x52c4d4:0x4f5,_0x5a2c18:0x57c},_0x463b25={_0x3d32c4:0x2a4},_0x328748={_0x4e83b3:0x21e},_0x4996b7={};_0x4996b7[_0x58422f(_0x113e46._0x4fea80,0x39e)]=function(_0x1dbceb,_0x3de90a){return _0x1dbceb!==_0x3de90a;};function _0x18732d(_0x3a1320,_0x4bcc2d){return _0x35d151(_0x4bcc2d,_0x3a1320-_0x328748._0x4e83b3);}_0x4996b7[_0x18732d(0x3f0,_0x113e46._0x228ab8)]=_0x18732d(0x3e6,0xdf);const _0xec5ada=_0x4996b7;function _0x58422f(_0xb6c140,_0x1b78af){return _0x35d151(_0xb6c140,_0x1b78af-_0x463b25._0x3d32c4);}try{const _0x373ce8=JSON[_0x18732d(_0x113e46._0x8235f1,0x5c5)](_0xe13e30);if(_0xec5ada['NdgKD'](_0x373ce8[_0x18732d(_0x113e46._0x2b4bcd,0x7f0)],_0xec5ada[_0x18732d(0x3f0,_0x113e46._0x494b13)]))return null;if(_0xec5ada['NdgKD'](typeof _0x373ce8['id'],_0x58422f(0x67e,_0x113e46._0x445829))||!_0x373ce8['id'][_0x58422f(_0x113e46._0x1e21bf,_0x113e46._0x332cd1)]())return null;return{'id':_0x373ce8['id']['trim'](),'ok':_0x373ce8['ok']===!![],'errorCode':typeof _0x373ce8[_0x18732d(_0x113e46._0x479785,0x651)]?.[_0x18732d(0x330,_0x113e46._0x3be634)]===_0x58422f(_0x113e46._0x3b01df,_0x113e46._0x58cc2e)&&_0x373ce8['error']['code']['trim']()?_0x373ce8[_0x58422f(0x493,_0x113e46._0x2504d4)][_0x58422f(_0x113e46._0x2ccd64,0x3b6)][_0x58422f(0x44a,_0x113e46._0x4cb118)]():null,'errorMessage':typeof _0x373ce8[_0x18732d(_0x113e46._0x479785,_0x113e46._0x3441dc)]?.[_0x18732d(0x3b7,_0x113e46._0x987d67)]===_0x18732d(_0x113e46._0x49a1c7,0x24d)&&_0x373ce8[_0x58422f(0x84e,_0x113e46._0x2504d4)][_0x58422f(0x56b,_0x113e46._0x39ba8b)][_0x18732d(_0x113e46._0x272541,0x458)]()?_0x373ce8[_0x18732d(_0x113e46._0x2e54d3,_0x113e46._0x52c4d4)][_0x18732d(0x3b7,0x227)][_0x58422f(_0x113e46._0x5a2c18,_0x113e46._0x4cb118)]():null};}catch{return null;}}function firstString(..._0x17fc9e){const _0x5a516b={_0xe7945e:0x80b,_0x1ce107:0x3b6},_0x2c855c={_0x335a18:0x9b},_0x3b776c={_0x3764ca:0x18f},_0x525727={};_0x525727[_0x3651ce(_0x5a516b._0xe7945e,0x534)]=_0x3651ce(_0x5a516b._0x1ce107,0x2ed);function _0x3651ce(_0xaa29b1,_0x577703){return _0x35d151(_0xaa29b1,_0x577703-_0x3b776c._0x3764ca);}const _0x42cb89=_0x525727;function _0x48a23d(_0x4d69d2,_0x5591d9){return _0x35d151(_0x5591d9,_0x4d69d2-_0x2c855c._0x335a18);}for(const _0x2211b6 of _0x17fc9e){if(typeof _0x2211b6===_0x42cb89[_0x48a23d(0x440,0x22f)]&&_0x2211b6[_0x3651ce(0x386,0x516)]())return _0x2211b6['trim']();}return'';}function firstNullableString(_0x240ca7){const _0x124ce8={_0x278992:0x189,_0x403fa7:0x69d,_0xcdbc8b:0x634,_0x565048:0x4f8},_0x354363={};_0x354363['aPZkQ']=_0x3bb402(-0x92,_0x124ce8._0x278992);function _0x511b51(_0x35db64,_0x163171){return _0x35d151(_0x35db64,_0x163171-0x350);}const _0x207bbd=_0x354363;function _0x3bb402(_0x2358d4,_0x32d5e1){return _0x35d151(_0x2358d4,_0x32d5e1-0x2b);}return typeof _0x240ca7===_0x207bbd[_0x3bb402(_0x124ce8._0x403fa7,_0x124ce8._0xcdbc8b)]&&_0x240ca7[_0x511b51(0x45e,0x6d7)]()?_0x240ca7[_0x3bb402(_0x124ce8._0x565048,0x3b2)]():null;}function readOptionalString(_0x413aa5){const _0x497d52={_0x117427:0x5b7,_0x22bfe4:0x6db,_0x5e1d26:0x5e5},_0xa79626={_0x47dff6:0x25e};function _0x59b6e4(_0x1ce695,_0x1e5ff6){return _0x35d151(_0x1ce695,_0x1e5ff6-0x230);}function _0x1e208b(_0x5b1e7d,_0x45a059){return _0x35d151(_0x5b1e7d,_0x45a059-_0xa79626._0x47dff6);}return typeof _0x413aa5===_0x59b6e4(0xa9,0x38e)&&_0x413aa5[_0x59b6e4(0x694,_0x497d52._0x117427)]()?_0x413aa5[_0x1e208b(_0x497d52._0x22bfe4,_0x497d52._0x5e1d26)]():void 0x0;}function isRecord(_0x8dce88){const _0x877ce={_0x6fc225:0x80a,_0x3a4858:0x2ad,_0x916937:0x1a1};function _0x52cb6d(_0x31b134,_0x57c2e1){return _0x35d151(_0x31b134,_0x57c2e1- -0x39);}const _0x4e3ebf={};function _0x4506e0(_0x386b3c,_0xc9c7b){return _0x35d151(_0x386b3c,_0xc9c7b-0x3a9);}_0x4e3ebf[_0x52cb6d(0x601,0x4e7)]=_0x4506e0(_0x877ce._0x6fc225,0x5ea);const _0x1e93e0=_0x4e3ebf;return typeof _0x8dce88===_0x1e93e0['daMMR']&&_0x8dce88!=null&&!Array[_0x52cb6d(_0x877ce._0x3a4858,_0x877ce._0x916937)](_0x8dce88);}function extractRequestIdFromMessage(_0x640772){const _0x5f15c7=_0x640772['match'](/requestId[:\s]*([a-f0-9-]+)/i);return _0x5f15c7?.[0x1]??null;}import{randomUUID as _0x579fc8}from'crypto';import{setTimeout as _0x5f15a5}from'timers/promises';import _0x42d174 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{[_0x35d151(0x5a5,0x3f1)];[_0x341e52(0x873,0x766)+_0x35d151(0x214,0x3a8)]=null;['gatewayS'+_0x341e52(0x3e7,0x4ab)]=null;[_0x341e52(0x3f4,0x4e7)+_0x341e52(0x773,0x7a0)]=![];[_0x341e52(0x741,0x4de)+'onnectin'+'g']=![];[_0x341e52(0x85b,0x9ec)]=!![];['relayAtt'+_0x341e52(0x3b6,0x6ae)]=0x0;[_0x35d151(0x7c6,0x5a5)+_0x341e52(0x7aa,0xa3f)+'yMs']=0x0;[_0x35d151(0x1c5,0x31b)+_0x35d151(-0x16,0x210)]=null;[_0x341e52(0x7dd,0x774)+'etryTime'+'r']=null;[_0x341e52(0x71f,0x637)+_0x35d151(0x138,0x210)]=null;[_0x35d151(0x45f,0x6cc)+_0x341e52(0x604,0x4d9)+_0x35d151(0x45a,0x4f5)]=[];[_0x35d151(0x491,0x194)+'andshake'+_0x35d151(0xc3,0x192)]=![];[_0x35d151(0x6aa,0x4c5)+_0x35d151(0x54a,0x326)+_0x341e52(0x5fc,0x3d5)+_0x35d151(0x682,0x4cf)]=![];[_0x35d151(0x4f0,0x4a7)+'mandStar'+'tedAtMs']=null;[_0x341e52(0x741,0x98c)+_0x341e52(0x7b1,0x59f)+'AtMs']=null;[_0x35d151(0x464,0x2eb)+'ConnectH'+'andshake'+'s']=new Map();[_0x35d151(0x4e1,0x509)];constructor(_0x33cb81){const _0x35b058={_0x416ed4:0x46e,_0x31de16:0x614,_0x466005:0x1b8,_0x55ed4e:0x382,_0x25a0ed:0x405},_0x255edf={_0x12b900:0x337},_0x116393={_0x2d81fc:0x198};function _0x414ca8(_0x399c6f,_0x33bef5){return _0x341e52(_0x33bef5- -_0x116393._0x2d81fc,_0x399c6f);}function _0x22d325(_0x15e532,_0x42b767){return _0x341e52(_0x15e532- -_0x255edf._0x12b900,_0x42b767);}this['options']=_0x33cb81,this[_0x414ca8(0x6ab,0x5ed)]={'running':![],'relayConnected':![],'gatewayConnected':![],'gatewayId':_0x33cb81['config'][_0x22d325(_0x35b058._0x416ed4,_0x35b058._0x31de16)+'d'],'instanceId':_0x33cb81[_0x22d325(0x1e3,-0x6a)][_0x22d325(0x4ae,0x68b)+'Id'],'relayUrl':_0x33cb81[_0x414ca8(_0x35b058._0x466005,_0x35b058._0x55ed4e)][_0x414ca8(0x5e8,_0x35b058._0x25a0ed)],'gatewayUrl':_0x33cb81[_0x22d325(0x609,0x8c1)+'rl'],'clientCount':0x0,'connectedDevices':[],'pendingPairRequests':[],'lastError':null,'lastUpdatedMs':Date['now']()};}['start'](){const _0x5af7e1={_0x28ff33:0x9e0,_0x3f2623:0x2b0,_0x2a092f:0x50b,_0x5f5b26:0x581,_0xdb6bf7:0x1d6,_0x1b2a0a:0x306,_0x336cb7:0xc2,_0x20ca97:0xf5,_0x435524:0x395,_0x429656:0x12c,_0x3b0212:0xee,_0x550213:0x34e,_0x5eccd9:0x4b0,_0x4ab76f:0x3a1,_0x27b785:0xa,_0xe40462:0x52a,_0x2f2025:0x4e1,_0xf2e1e1:0x587},_0x54c995={_0x8745fb:0x2bc};if(!this[_0x1775f1(_0x5af7e1._0x28ff33,0x89b)])return;this[_0x487a35(_0x5af7e1._0x3f2623,_0x5af7e1._0x2a092f)]=![];function _0x1775f1(_0x9a5c0,_0x589475){return _0x35d151(_0x9a5c0,_0x589475-_0x54c995._0x8745fb);}function _0x487a35(_0x2210d7,_0x5f1a05){return _0x35d151(_0x5f1a05,_0x2210d7- -0x32f);}this[_0x1775f1(_0x5af7e1._0x5f5b26,0x5b0)+_0x487a35(_0x5af7e1._0xdb6bf7,_0x5af7e1._0x1b2a0a)]({'running':!![],'gatewayUrl':this[_0x487a35(_0x5af7e1._0x336cb7,-_0x5af7e1._0x20ca97)][_0x487a35(_0x5af7e1._0x435524,0x278)+'rl']}),this[_0x487a35(_0x5af7e1._0x429656,_0x5af7e1._0x3b0212)](_0x487a35(0x7f,_0x5af7e1._0x550213)+_0x1775f1(0x3ef,_0x5af7e1._0x5eccd9)+_0x1775f1(_0x5af7e1._0x4ab76f,0x415)+_0x1775f1(0x145,0x41d)+this['options'][_0x1775f1(0x423,0x55a)][_0x487a35(0x1fa,_0x5af7e1._0x27b785)+'d']+('\x20gateway'+_0x1775f1(0x33b,_0x5af7e1._0xe40462))+this[_0x1775f1(0x760,0x6ad)][_0x487a35(_0x5af7e1._0x435524,_0x5af7e1._0x2f2025)+'rl']),void this[_0x1775f1(0xbce,0x8c3)+_0x1775f1(_0x5af7e1._0xf2e1e1,0x446)]();}async[_0x35d151(0x1fe,0x18c)](){const _0x1c9867={_0x3d9361:0x350,_0xb23c8d:0x351,_0x305f1c:0x3ee,_0x5b37a4:0x299,_0x2faa05:0x4da,_0x1dfdb2:0xd9,_0x55cbbe:0x5d8,_0x36cabc:0x48c,_0x839746:0x12,_0x2ee43f:0x3b0,_0x1cfd2d:0xef,_0x52d880:0xfd,_0x3c7bcc:0x304,_0x50ee34:0x236,_0x1b2a50:0x240,_0x12322a:0x218,_0x5ed659:0x2f4,_0x39676c:0x2a6,_0xa7406a:0x196,_0x3d34a9:0x5c,_0x136d7c:0x360,_0x54f4db:0x1d,_0x25d89a:0x12f,_0x2e00d8:0x252,_0x571d02:0x23e,_0x52406b:0x3e,_0x682945:0x69,_0x21bfbc:0x6a,_0x573cf3:0x162,_0x3f1224:0x1fd,_0x490f18:0x18,_0x35c752:0x1cc,_0x55b9bc:0x29f,_0x5b7331:0x295,_0x3bb731:0x27c},_0x48df1e={_0x424ea8:0x50b},_0x707be1={'njCCq':function(_0x41dcd9,_0x5eacc3){return _0x41dcd9(_0x5eacc3);}};if(this['stopped'])return;this[_0x5de1f8(0x651,_0x1c9867._0x3d9361)]=!![],this[_0x5de1f8(0x634,_0x1c9867._0xb23c8d)+_0x17d2cd(0x1be,0x257)](),this[_0x5de1f8(_0x1c9867._0x305f1c,0x368)+_0x17d2cd(_0x1c9867._0x5b37a4,0x4db)]?.[_0x17d2cd(_0x1c9867._0x2faa05,0x345)]();function _0x5de1f8(_0x228444,_0x1ee153){return _0x341e52(_0x1ee153- -_0x48df1e._0x424ea8,_0x228444);}this[_0x17d2cd(0x16e,0x45a)+_0x5de1f8(_0x1c9867._0x1dfdb2,-0x124)]?.[_0x17d2cd(0x4da,_0x1c9867._0x55cbbe)](),this[_0x17d2cd(0x4e8,0x398)+_0x17d2cd(0x299,_0x1c9867._0x36cabc)]=null,this[_0x5de1f8(-0x279,-_0x1c9867._0x839746)+'ocket']=null,this['pendingG'+_0x17d2cd(0x279,_0x1c9867._0x2ee43f)+'ssages']=[],this[_0x17d2cd(0x85,_0x1c9867._0x1cfd2d)+_0x5de1f8(0x133,0x24b)+_0x5de1f8(-0x3f5,-_0x1c9867._0x52d880)]=![],this[_0x5de1f8(_0x1c9867._0x3c7bcc,_0x1c9867._0x50ee34)+'loseBoun'+_0x5de1f8(0x3b8,0xf1)+_0x5de1f8(0x429,_0x1c9867._0x1b2a50)]=![],this[_0x5de1f8(-0x95,_0x1c9867._0x12322a)+_0x5de1f8(0x4f2,0x2b0)+_0x17d2cd(0x474,0x623)]=null,this[_0x5de1f8(_0x1c9867._0x5ed659,0x236)+_0x5de1f8(0x38,_0x1c9867._0x39676c)+'AtMs']=null;function _0x17d2cd(_0x16ac20,_0x45731c){return _0x341e52(_0x16ac20- -0x38b,_0x45731c);}this[_0x5de1f8(_0x1c9867._0xa7406a,_0x1c9867._0x3d34a9)+'ConnectH'+'andshake'+'s'][_0x17d2cd(0x38d,_0x1c9867._0x136d7c)](),this[_0x5de1f8(-_0x1c9867._0x54f4db,-0x117)+_0x5de1f8(_0x1c9867._0x25d89a,0x268)]=![],this['gatewayC'+_0x5de1f8(_0x1c9867._0x2e00d8,_0x1c9867._0x571d02)+'g']=![];const _0x3dbf01={};_0x3dbf01[_0x5de1f8(-0x1a2,-_0x1c9867._0x52406b)]=![],_0x3dbf01[_0x17d2cd(_0x1c9867._0x682945,-_0x1c9867._0x21bfbc)+'nected']=![],_0x3dbf01[_0x5de1f8(0xde,0x236)+_0x17d2cd(0x426,_0x1c9867._0x573cf3)]=![],_0x3dbf01['clientCo'+_0x5de1f8(-_0x1c9867._0x3f1224,-0xa2)]=0x0,_0x3dbf01['lastErro'+'r']=null,this['updateSn'+_0x5de1f8(0x515,0x276)](_0x3dbf01),this[_0x5de1f8(-_0x1c9867._0x490f18,_0x1c9867._0x35c752)](_0x17d2cd(_0x1c9867._0x55b9bc,_0x1c9867._0x5b7331)+'stopped'),await _0x707be1[_0x17d2cd(0x4ef,_0x1c9867._0x3bb731)](_0x5f15a5,0x19);}async[_0x35d151(0x15c,0x292)+_0x341e52(0x780,0x587)+'st'](_0x3d19d3){const _0x149a31={_0x17fd34:0x432,_0x287cbc:0x32f,_0x2ec81c:0x315,_0x33db1b:0x3ed,_0x2238f8:0x79,_0x1a2040:0x778,_0x3d122b:0x2da,_0x32f889:0x351,_0x1da0be:0x7da,_0x4e551a:0x49a,_0x4ce481:0x230,_0x318f76:0x334},_0x50cc8f={_0x306bf7:0xca},_0x2c008c={};_0x2c008c[_0x3d2cdb(_0x149a31._0x17fd34,0x1b7)+'d']=_0x3d19d3;function _0x4591c8(_0x4b8744,_0x197c3c){return _0x341e52(_0x4b8744- -_0x50cc8f._0x306bf7,_0x197c3c);}this[_0x3d2cdb(_0x149a31._0x287cbc,_0x149a31._0x2ec81c)+_0x3d2cdb(_0x149a31._0x33db1b,0x3c2)+'st'](_0x3d2cdb(0x193,_0x149a31._0x2238f8)+_0x4591c8(0x630,_0x149a31._0x1a2040)+_0x4591c8(_0x149a31._0x3d122b,_0x149a31._0x32f889),_0x2c008c);function _0x3d2cdb(_0xb7f22b,_0x306c87){return _0x341e52(_0x306c87- -0x503,_0xb7f22b);}this['markPair'+_0x4591c8(_0x149a31._0x1da0be,0x63b)+_0x4591c8(_0x149a31._0x4e551a,_0x149a31._0x4ce481)](_0x3d19d3,_0x4591c8(_0x149a31._0x318f76,0x350));}async[_0x341e52(0x437,0x1e8)+_0x341e52(0x4fa,0x41f)+'t'](_0x4d581c){const _0x20c930={_0x4f1f02:0x320,_0x1f615d:0x6e7,_0xf5006c:0x47c,_0x51899c:0x1ed,_0x37e453:0x434,_0x5862b6:0x462,_0x35c009:0x50a},_0x535a95={_0x16f03b:0x39c},_0x3e5c17={_0x59388c:0x39a};function _0xd78a31(_0x55c708,_0x1cd53e){return _0x341e52(_0x1cd53e- -_0x3e5c17._0x59388c,_0x55c708);}const _0x3d8d78={};_0x3d8d78[_0xd78a31(0x3e7,_0x20c930._0x4f1f02)+'d']=_0x4d581c;function _0x3c7e1b(_0x43c7e3,_0x39a51f){return _0x341e52(_0x39a51f- -_0x535a95._0x16f03b,_0x43c7e3);}this[_0x3c7e1b(_0x20c930._0x1f615d,_0x20c930._0xf5006c)+'wayReque'+'st'](_0x3c7e1b(_0x20c930._0x51899c,0x1e0)+_0x3c7e1b(0x295,_0x20c930._0x37e453)+'ct',_0x3d8d78),this['markPair'+_0xd78a31(_0x20c930._0x5862b6,_0x20c930._0x35c009)+_0xd78a31(0x271,0x1ca)](_0x4d581c,'rejected');}['getSnaps'+'hot'](){const _0x297a15={_0x30d610:0x7ed,_0x3105d5:0x80d,_0x1a8c31:0x592,_0x2d40d3:0x76f,_0x4e9a94:0xaa0,_0x2f41a4:0x7fd,_0x4ab9dd:0xb0a,_0x11c749:0x751,_0x42fb86:0x500,_0x2e29d4:0xa26,_0x4331dc:0x808},_0x199b48={_0x3e36f9:0x304};function _0xeed9c0(_0x3c462d,_0x3e8ab1){return _0x35d151(_0x3e8ab1,_0x3c462d-0x44a);}const _0x5c197d={...this[_0x59bcd3(_0x297a15._0x30d610,_0x297a15._0x3105d5)]};_0x5c197d['connecte'+'dDevices']=[...this[_0x59bcd3(0xa35,0x80d)][_0x59bcd3(_0x297a15._0x1a8c31,_0x297a15._0x2d40d3)+'dDevices']];function _0x59bcd3(_0x5aa854,_0xb1f006){return _0x35d151(_0x5aa854,_0xb1f006-_0x199b48._0x3e36f9);}return _0x5c197d[_0x59bcd3(_0x297a15._0x4e9a94,_0x297a15._0x2f41a4)+_0x59bcd3(_0x297a15._0x4ab9dd,0x808)+_0xeed9c0(_0x297a15._0x11c749,_0x297a15._0x42fb86)]=[...this['snapshot'][_0xeed9c0(0x943,_0x297a15._0x2e29d4)+_0x59bcd3(0x8c3,_0x297a15._0x4331dc)+'sts']],_0x5c197d;}async[_0x341e52(0x883,0x76e)+'elay'](){const _0x2637a={_0x4b9de6:0x5b4,_0x2fdd5e:0x8b4,_0x38e289:0xdd,_0x20b501:0x2b2,_0x12f26d:0x27e,_0x17a5f4:0x2a2,_0x592c24:0x927,_0x2590e9:0x203,_0x580c5d:0x4e8,_0x9de169:0x516,_0x2a294b:0x95e,_0x4f58ff:0x9a7,_0x99d6c:0x55c,_0x527735:0x6d3,_0x53966e:0x9f9,_0x514dbf:0xfe,_0x13fcaf:0xb4,_0x3c5a3e:0x633,_0x5689a8:0x48f,_0x2fe156:0x3c6},_0x44830d={_0x4c937c:0x5b4,_0x47a11e:0x79c,_0x17ae5d:0x147,_0x4b993d:0x2e9,_0xf74971:0x5a3,_0x138d93:0x248,_0x24c308:0xe1,_0x13d7b7:0x2a9,_0x3a2b03:0x28,_0x52abb7:0x286,_0x47cfb4:0x505,_0x81702c:0x43b,_0x2641f2:0x5b5,_0x32cdba:0x369,_0x5e7183:0x691,_0x2183fd:0x62f,_0x496c46:0x2e2,_0x591c03:0x33a,_0x3e64a7:0x90,_0x2bd858:0x1a8,_0xad7e37:0x92},_0x375c68={_0x577978:0x1ea,_0x472f03:0x2c4,_0x4ae177:0x96},_0x11be9d={_0x9d46fd:0x530,_0x2a3591:0x82e,_0x4f69fc:0x84b,_0x7a85c8:0x327,_0x2b876f:0x59b},_0x3678f2={_0x4aebe0:0x77},_0x18f755={_0x3a19ff:0x264,_0x30d878:0x1d4,_0x1da090:0x289},_0x11681d={_0x455460:0xbb},_0x2cffd8={_0x1eb20f:0x687,_0xacdf57:0x622,_0x1e12a6:0x464,_0xce34fb:0x1f2,_0x5abc3e:0x1e9,_0x2f2584:0x433,_0x31cbed:0x1b,_0x5a6a6a:0x2d8,_0x43b59c:0x39b,_0x29756a:0x50d,_0x3dd482:0x209,_0xeb146e:0x4a,_0x1ae5f2:0x57,_0x2c8154:0x1e0,_0x1c1524:0x37e,_0xa49e79:0x161,_0x52d5ba:0x372,_0x176a72:0x2c8,_0x81f0d2:0x4e7,_0x5986e7:0x516,_0x14907a:0x4ce,_0xbf37ce:0x149,_0x114f23:0x37,_0x4fe9dc:0x1c4,_0x1efa26:0x2ff,_0x416a6c:0x1d2,_0x478131:0x47e,_0x3832f7:0x15b,_0x4e7042:0x4ed,_0x9405f8:0x238},_0x466043={_0x18fd99:0x4be},_0x561ada={_0x3fa6cc:0x9b};function _0x562548(_0x570ef8,_0x562f48){return _0x35d151(_0x570ef8,_0x562f48-0x32b);}const _0x1f3379={'qAneU':function(_0x1bda31,_0x4a0c56,_0x42e987){return _0x1bda31(_0x4a0c56,_0x42e987);},'vcbtS':function(_0x42de4e,_0x386be3){return _0x42de4e(_0x386be3);},'pWEmn':_0x562548(_0x2637a._0x4b9de6,_0x2637a._0x2fdd5e)};if(this['stopped']||this[_0x17f8c9(_0x2637a._0x38e289,-0xcf)+_0x562548(0x5be,0x822)]||this['isRelayO'+_0x562548(0xb4e,0x994)]())return;this[_0x17f8c9(0xdd,_0x2637a._0x20b501)+_0x17f8c9(0x45c,_0x2637a._0x12f26d)]=!![],this['relayAtt'+'empt']+=0x1;const _0x1394b7=this[_0x17f8c9(0x1df,_0x2637a._0x17a5f4)+'empt'],_0x25adad=buildRelayWsUrl(this[_0x562548(_0x2637a._0x592c24,0x71c)][_0x17f8c9(_0x2637a._0x2590e9,_0x2637a._0x580c5d)]);this[_0x17f8c9(0x3c0,_0x2637a._0x9de169)](_0x562548(0xb9a,0x9a5)+'nnect\x20at'+_0x562548(0x9fc,_0x2637a._0x2a294b)+_0x1394b7+_0x17f8c9(0x4e9,0x65b)+redactRelayWsUrl(_0x25adad));const _0x368df9=this[_0x562548(0x7dd,0x5fc)+_0x562548(_0x2637a._0x4f58ff,0x6f2)](_0x25adad);this[_0x17f8c9(_0x2637a._0x99d6c,0x819)+_0x562548(0x86a,_0x2637a._0x527735)]=_0x368df9;function _0x17f8c9(_0x187193,_0x3720d7){return _0x35d151(_0x3720d7,_0x187193- -_0x561ada._0x3fa6cc);}_0x368df9[_0x562548(0xa63,_0x2637a._0x53966e)](_0x562548(0x63d,0x755),()=>{const _0x505a14={_0x4a4c3b:0x4e1};function _0x240122(_0x276665,_0x1ff7c8){return _0x562548(_0x276665,_0x1ff7c8- -_0x466043._0x18fd99);}if(this[_0x2404b2(0x429,_0x2cffd8._0x1eb20f)]||this[_0x240122(_0x2cffd8._0xacdf57,_0x2cffd8._0x1e12a6)+_0x2404b2(_0x2cffd8._0xce34fb,_0x2cffd8._0x5abc3e)]!==_0x368df9){_0x368df9[_0x2404b2(_0x2cffd8._0x2f2584,0x45f)]();return;}this[_0x240122(0x12f,-_0x2cffd8._0x31cbed)+_0x240122(0x536,0x364)]=![],this[_0x2404b2(0x3ef,0x16c)+_0x240122(_0x2cffd8._0x5a6a6a,_0x2cffd8._0x43b59c)+_0x240122(_0x2cffd8._0x29756a,_0x2cffd8._0x3dd482)]=Date[_0x2404b2(-_0x2cffd8._0xeb146e,_0x2cffd8._0x1ae5f2)]();const _0x49b6ac={};_0x49b6ac[_0x2404b2(-0x3e,_0x2cffd8._0x2c8154)+'nected']=!![];function _0x2404b2(_0x4d2739,_0x28d3dd){return _0x562548(_0x28d3dd,_0x4d2739- -_0x505a14._0x4a4c3b);}_0x49b6ac[_0x2404b2(0x86,_0x2cffd8._0x1c1524)+'r']=null,this[_0x240122(-0x3c,_0x2cffd8._0xa49e79)+_0x240122(0x1b9,_0x2cffd8._0x52d5ba)](_0x49b6ac),this[_0x240122(0x3eb,_0x2cffd8._0x176a72)](_0x240122(0x28f,_0x2cffd8._0x81f0d2)+_0x240122(0x627,_0x2cffd8._0x5986e7)+'attempt='+_0x1394b7),this[_0x240122(0x456,0x479)+_0x240122(0x4b3,_0x2cffd8._0x14907a)](),_0x1f3379[_0x240122(_0x2cffd8._0xbf37ce,0x34c)](shouldKeepGatewayConnected,this['snapshot']['clientCo'+_0x2404b2(_0x2cffd8._0x114f23,-_0x2cffd8._0x4fe9dc)],summarizePendingGatewayMessages(this[_0x2404b2(0x516,_0x2cffd8._0x1efa26)+_0x2404b2(_0x2cffd8._0x416a6c,0x319)+_0x240122(_0x2cffd8._0x478131,0x362)])[_0x2404b2(0x451,_0x2cffd8._0x3832f7)+_0x240122(0x217,_0x2cffd8._0x4e7042)])&&this['ensureGa'+'tewayCon'+_0x240122(_0x2cffd8._0x9405f8,0x437)]();}),_0x368df9['on'](_0x17f8c9(_0x2637a._0x514dbf,_0x2637a._0x13fcaf),(_0x42a96e,_0x3fde66)=>{function _0x499972(_0x98fe41,_0x370045){return _0x17f8c9(_0x98fe41-_0x11681d._0x455460,_0x370045);}function _0x5f34c4(_0x3e7db3,_0x1ffb83){return _0x17f8c9(_0x3e7db3- -0x270,_0x1ffb83);}void this[_0x499972(_0x18f755._0x3a19ff,_0x18f755._0x30d878)+_0x499972(_0x18f755._0x1da090,0xf8)+'ge'](_0x42a96e,_0x3fde66);}),_0x368df9['on'](_0x562548(0x7d9,0x614),()=>{function _0x25317b(_0x232288,_0x1a5f03){return _0x562548(_0x232288,_0x1a5f03- -_0x3678f2._0x4aebe0);}function _0x33c039(_0x5d8c6d,_0x50413e){return _0x562548(_0x50413e,_0x5d8c6d- -0x3a0);}this[_0x33c039(_0x11be9d._0x9d46fd,_0x11be9d._0x2a3591)+_0x25317b(_0x11be9d._0x4f69fc,0x7e2)+_0x33c039(_0x11be9d._0x7a85c8,0x11a)]=Date[_0x25317b(_0x11be9d._0x2b876f,0x420)]();}),_0x368df9[_0x17f8c9(_0x2637a._0x3c5a3e,0x63f)](_0x562548(_0x2637a._0x5689a8,0x65f),_0x4beb0f=>{const _0xcb2f9b={_0x378dd1:0x4a9};function _0x4067e0(_0x5cb19b,_0x38e054){return _0x562548(_0x38e054,_0x5cb19b- -_0xcb2f9b._0x378dd1);}function _0x1ed37e(_0x559b83,_0x27fa63){return _0x562548(_0x559b83,_0x27fa63- -0x5c9);}this[_0x1ed37e(0x184,0x1bd)](_0x4067e0(_0x375c68._0x577978,_0x375c68._0x472f03)+_0x1ed37e(0x95,-_0x375c68._0x4ae177)+_0x1f3379['vcbtS'](String,_0x4beb0f));}),_0x368df9['once'](_0x17f8c9(0x54e,_0x2637a._0x2fe156),(_0x31aa4d,_0x5dc50a)=>{const _0x57f9fe=(_0x5a2c28(0x50,0x208)+_0x1b16e2(0x274,0x3a)+'7')['split']('|');let _0x3226c7=0x0;function _0x5a2c28(_0x1134f6,_0x438893){return _0x562548(_0x438893,_0x1134f6- -0x5e8);}function _0x1b16e2(_0x1d6747,_0x5a3db2){return _0x562548(_0x5a3db2,_0x1d6747- -0x21d);}while(!![]){switch(_0x57f9fe[_0x3226c7++]){case'0':this[_0x5a2c28(0x19e,-0xa8)](_0x1b16e2(_0x44830d._0x4c937c,0x358)+_0x1b16e2(_0x44830d._0x47a11e,0x7e7)+_0x5a2c28(-0xaa,0xeb)+_0x31aa4d+_0x1b16e2(0x728,0xa19)+(_0x5dc50a[_0x5a2c28(0x62,0x174)]()||_0x1f3379[_0x5a2c28(0x3af,_0x44830d._0x17ae5d)]));continue;case'1':this['gatewayC'+'onnected'+_0x5a2c28(_0x44830d._0x4b993d,0x4c4)]=null;continue;case'2':this['relaySoc'+'ket']===_0x368df9&&(this[_0x1b16e2(0x705,_0x44830d._0xf74971)+_0x1b16e2(0x4b6,0x36f)]=null);continue;case'3':this['updateSn'+_0x5a2c28(_0x44830d._0x138d93,_0x44830d._0x24c308)]({'relayConnected':![],'gatewayConnected':![],'clientCount':0x0,'lastError':_0x31aa4d===0x3e8?null:'relay\x20cl'+_0x5a2c28(_0x44830d._0x13d7b7,0xa1)+(_0x5dc50a[_0x5a2c28(0x62,-_0x44830d._0x3a2b03)]()||_0x31aa4d)});continue;case'4':this[_0x1b16e2(_0x44830d._0x52abb7,_0x44830d._0x47cfb4)+_0x1b16e2(0x605,0x30b)]=![];continue;case'5':this[_0x5a2c28(0x275,0x33d)+_0x1b16e2(0x54a,_0x44830d._0x81702c)]();continue;case'6':this[_0x1b16e2(_0x44830d._0x2641f2,_0x44830d._0x32cdba)+_0x5a2c28(0x282,0x571)+_0x1b16e2(_0x44830d._0x5e7183,_0x44830d._0x2183fd)]=null;continue;case'7':this[_0x5a2c28(_0x44830d._0x496c46,_0x44830d._0x591c03)+_0x5a2c28(-_0x44830d._0x3e64a7,_0x44830d._0x2bd858)+'onnect']();continue;case'8':this[_0x5a2c28(0x156,0x2f3)+_0x5a2c28(_0x44830d._0xad7e37,0x28a)]();continue;}break;}});}async[_0x341e52(0x4c0,0x245)+'layMessa'+'ge'](_0x315c70,_0x27b0f9){const _0x3b659f={_0x3f73ae:0x4d4,_0x2002c2:0x233,_0x3e61a5:0x3ba,_0x350da7:0xdb,_0x3aee08:0x3a0,_0x238e9c:0x37b,_0x166bcf:0x163,_0x376623:0x3df,_0x4a3a08:0x64d,_0x362c5a:0x155,_0x33f711:0x3d3,_0x2e7469:0x416,_0x5d91aa:0x6a,_0x598630:0x1be,_0x5ed245:0x16e,_0x3f18a9:0x273,_0x33163b:0x1cb,_0x27618a:0x23f,_0x15059c:0x37b},_0x1b3901={_0x575159:0x1c1},_0x11e0ee={'jplSD':function(_0x1e17e0,_0x5d4acb){return _0x1e17e0(_0x5d4acb);}};this[_0xa01bd6(_0x3b659f._0x3f73ae,_0x3b659f._0x2002c2)+_0xa01bd6(0x45d,0x233)+'yMs']=Date[_0x36c0f3(-0x270,-0x55)]();if(_0x27b0f9){this[_0x36c0f3(_0x3b659f._0x3e61a5,_0x3b659f._0x350da7)+'rQueueGa'+_0x36c0f3(_0x3b659f._0x3aee08,_0x3b659f._0x238e9c)+_0x36c0f3(-0x230,-0xc5)]({'kind':_0xa01bd6(0x321,_0x3b659f._0x166bcf),'data':normalizeBinary(_0x315c70)});return;}const _0x53fb1b=normalizeText(_0x315c70);if(_0x53fb1b==null)return;const _0x9d2e2d=_0x11e0ee[_0xa01bd6(_0x3b659f._0x376623,_0x3b659f._0x4a3a08)](parseControl,_0x53fb1b);function _0xa01bd6(_0x3b89d8,_0xe01f0f){return _0x35d151(_0xe01f0f,_0x3b89d8- -0xd1);}if(_0x9d2e2d){await this[_0xa01bd6(0x173,0x204)+_0x36c0f3(0x220,0x1b7)+'ol'](_0x9d2e2d);return;}const _0x2b5d2c=parseConnectStartIdentity(_0x53fb1b);_0x2b5d2c&&this[_0xa01bd6(0x2ca,_0x3b659f._0x362c5a)+_0xa01bd6(_0x3b659f._0x33f711,_0x3b659f._0x2e7469)+_0x36c0f3(-0xb9,-_0x3b659f._0x5d91aa)](_0x2b5d2c['id'],_0x2b5d2c[_0x36c0f3(_0x3b659f._0x598630,_0x3b659f._0x5ed245)]);const _0x28b1eb={};_0x28b1eb[_0xa01bd6(0x5e7,0x7e4)]=_0x36c0f3(_0x3b659f._0x3f18a9,0x3b),_0x28b1eb['text']=_0x53fb1b;function _0x36c0f3(_0xc5d72d,_0x585387){return _0x35d151(_0xc5d72d,_0x585387- -_0x1b3901._0x575159);}this[_0xa01bd6(_0x3b659f._0x33163b,-0x91)+_0x36c0f3(-0x317,-0xe)+_0x36c0f3(_0x3b659f._0x27618a,_0x3b659f._0x15059c)+'sage'](_0x28b1eb);}async[_0x35d151(0xb8,0x244)+'layContr'+'ol'](_0x2856c5){const _0x2b9d1a={_0x5d9568:0x90b,_0x2d81b7:0x2bb,_0x138fe8:0x28e,_0xb9ee6b:0x3c4,_0x464b3c:0x46c,_0x3e7254:0x70a,_0x508de5:0x655,_0x32e840:0x444,_0x1ea3f8:0x7eb,_0x5d1b9e:0x605,_0x50f718:0x62a,_0x2625c1:0x56a,_0x4d669b:0x40a,_0x48960f:0x896,_0x50c6cc:0x5f9,_0x4a29eb:0x616,_0x3761bf:0x670,_0x2aa96f:0x506,_0x4a9fa0:0x5f0,_0x238ecd:0x60d,_0x1de986:0x66a,_0x211c8c:0x463,_0x27da79:0x54a,_0x349538:0x398,_0x535467:0x3ed,_0x5e250c:0x527,_0x3f9b0d:0x6a9,_0x5a29cd:0x992,_0xb8046:0x697,_0x2e87c9:0x486,_0x13cfd5:0x1d7,_0x31e8f5:0x4fd,_0x4f145d:0x468,_0xb99250:0x7c1,_0x4409f9:0x5f5,_0x21b32d:0x55e,_0x408281:0x617,_0x5c7f1d:0x421,_0x510b73:0x5a9,_0x5692c3:0x8cc,_0x49c603:0x366,_0x57e931:0x5bc,_0x1b5ea8:0x2e2,_0x5ed5e4:0x78f,_0x1d88d3:0x253,_0x4c6c42:0x424,_0x36cfd3:0x31b,_0x3fda0b:0x755,_0x5e50a9:0xb8c,_0x4307d3:0x5c2,_0x5a7f7e:0x80a,_0x5af80b:0x454,_0x4b00d9:0x5a9,_0x147a76:0x561,_0x4ea24b:0x5a5,_0x53a587:0x49d,_0x242abd:0x850,_0x3a90c3:0x971,_0xcbcb64:0x4ed,_0x45d98f:0x798,_0x9aaee1:0x4d6,_0x43476f:0x643,_0x1ec9a8:0x9cd,_0x48561c:0x4ff,_0x4ef0b6:0x623,_0x4053ae:0x821,_0x57ca6c:0x74f,_0x183156:0x516,_0x4cf975:0x317,_0x3f6022:0x815,_0x272f4c:0x729,_0x1a91a1:0x8bc,_0x4cec66:0xb0,_0x1c2dfa:0x2e2,_0x18e8db:0xa58,_0x21e9d0:0x81a,_0x3d36e1:0x63d,_0x4be782:0x543,_0x5afdfe:0x4f9,_0x4b19b4:0x90d,_0x18569d:0x903,_0x55285f:0x7aa,_0x797924:0x4cc,_0x14d08a:0x3ee,_0x4dfa42:0x31a,_0xa02aba:0x4de,_0x566f0d:0x359,_0x2d4563:0x56b,_0x199d04:0x5d8,_0x13655e:0x499,_0x3cfc3e:0x88f,_0x16e893:0x80a,_0x3ea971:0x474,_0x266733:0x6dc,_0x5f353f:0x7ea,_0x4f6b2b:0x442,_0xd41354:0x653,_0x3ee00a:0x710,_0x39ec69:0x3c4,_0x21401b:0x198,_0x40f882:0x720,_0xd783b5:0x654,_0x202d67:0x759,_0x3dd840:0x5e6,_0x300f5e:0x613,_0x30588c:0x80b,_0xc39f42:0x628,_0x792af4:0x6e0,_0x5558f1:0x6c0,_0x4037d9:0x87f,_0x48d611:0x2c9,_0xfcb04b:0x3e2,_0x30e943:0x447,_0x44815e:0x810,_0x590a5a:0x55d,_0xc5b994:0x33b,_0x3418f7:0x5a9,_0x285e28:0x471,_0x425f0a:0x25d,_0x39b188:0x4a9,_0x7117a7:0x434,_0x581907:0x3cc,_0x37491f:0x540,_0xe1b06b:0x4d0,_0x403e18:0x788,_0x54dfe7:0x4b1,_0x38a75a:0x3e9,_0x1f16d5:0x39e,_0x3e17a4:0x59c,_0x3eec39:0x6c0,_0x1efce1:0x8bb},_0x45a243={_0x22542a:0x2b5};function _0x553805(_0x24906b,_0x3238ba){return _0x35d151(_0x24906b,_0x3238ba-_0x45a243._0x22542a);}const _0x25cde2={'XHADf':function(_0x3d5cef,_0x21ab83){return _0x3d5cef===_0x21ab83;},'aCAMm':function(_0x3c0e82,_0x3abeb0){return _0x3c0e82==_0x3abeb0;},'oggSu':function(_0x2e1186,_0x14454a){return _0x2e1186===_0x14454a;},'NxcZs':'client\x20d'+_0x4ccb8b(_0x2b9d1a._0x5d9568,0x655)+_0x4ccb8b(_0x2b9d1a._0x2d81b7,_0x2b9d1a._0x138fe8)+_0x4ccb8b(0x753,0x569)+_0x553805(_0x2b9d1a._0xb9ee6b,0x42b)+_0x553805(0x281,_0x2b9d1a._0x464b3c)+_0x553805(0x88d,_0x2b9d1a._0x3e7254),'rUqEm':'client\x20d'+_0x4ccb8b(0x706,_0x2b9d1a._0x508de5)+_0x4ccb8b(_0x2b9d1a._0x32e840,_0x2b9d1a._0x138fe8)+_0x4ccb8b(0x5f4,_0x2b9d1a._0x1ea3f8)+_0x553805(_0x2b9d1a._0x5d1b9e,_0x2b9d1a._0x50f718)+_0x553805(_0x2b9d1a._0x2625c1,_0x2b9d1a._0x4d669b)+_0x4ccb8b(_0x2b9d1a._0x48960f,_0x2b9d1a._0x50c6cc),'wabyW':function(_0x5893b5,_0x1309db){return _0x5893b5(_0x1309db);},'rlOjl':function(_0x40f80c,_0x35357b){return _0x40f80c>_0x35357b;},'CuoUn':function(_0x554066,_0x2e25c7,_0x29b9eb,_0x52fe92){return _0x554066(_0x2e25c7,_0x29b9eb,_0x52fe92);},'mwTEa':_0x553805(0x244,0x411)+'isconnec'+_0x553805(0x741,_0x2b9d1a._0x4a29eb)+_0x4ccb8b(_0x2b9d1a._0x3761bf,0x491)+_0x4ccb8b(0x954,0x764)+_0x4ccb8b(0x3c4,_0x2b9d1a._0x2aa96f)};function _0x4ccb8b(_0x22f011,_0x470355){return _0x35d151(_0x22f011,_0x470355-0x14e);}if(_0x2856c5[_0x553805(_0x2b9d1a._0x4a9fa0,0x47c)]===_0x4ccb8b(0x779,_0x2b9d1a._0x238ecd)+_0x553805(_0x2b9d1a._0x1de986,_0x2b9d1a._0x211c8c)+'t'){await this[_0x553805(0x4e4,0x53e)+'otstrapR'+_0x4ccb8b(_0x2b9d1a._0x27da79,_0x2b9d1a._0x349538)](_0x2856c5);return;}const {event:_0x3bfca8,count:_0x253fce}=_0x2856c5;if(_0x25cde2[_0x4ccb8b(_0x2b9d1a._0x535467,_0x2b9d1a._0x5e250c)](_0x3bfca8,_0x4ccb8b(0x46e,0x542)+_0x553805(0x78f,0x7ea))||_0x3bfca8===_0x553805(0x8cc,_0x2b9d1a._0x3f9b0d)+_0x4ccb8b(_0x2b9d1a._0x5a29cd,_0x2b9d1a._0xb8046)){const _0x43bdfd=this[_0x4ccb8b(_0x2b9d1a._0x2e87c9,0x657)][_0x4ccb8b(0x35f,0x55d)+_0x553805(_0x2b9d1a._0x13cfd5,0x4a2)],_0x2ab72e=_0x253fce??Math[_0x4ccb8b(_0x2b9d1a._0x31e8f5,_0x2b9d1a._0x4f145d)](0x1,this[_0x4ccb8b(0x677,0x657)][_0x4ccb8b(0x4ad,0x55d)+'unt']);_0x2ab72e>0x0&&_0x25cde2['aCAMm'](this[_0x4ccb8b(_0x2b9d1a._0xb99250,_0x2b9d1a._0x4409f9)+'mandStar'+_0x553805(_0x2b9d1a._0x21b32d,0x838)],null)&&(this['clientDe'+_0x553805(0x5b1,0x7f4)+_0x553805(_0x2b9d1a._0x408281,0x838)]=Date[_0x553805(0x245,_0x2b9d1a._0x5c7f1d)]());const _0x3d154a={};_0x3d154a[_0x4ccb8b(0x5b4,0x55d)+_0x553805(0x469,0x4a2)]=_0x2ab72e,this[_0x553805(0x665,_0x2b9d1a._0x510b73)+_0x4ccb8b(_0x2b9d1a._0x5692c3,0x653)](_0x3d154a);if(_0x25cde2[_0x4ccb8b(_0x2b9d1a._0x49c603,0x41d)](_0x2ab72e,0x0)){this[_0x4ccb8b(_0x2b9d1a._0x57e931,_0x2b9d1a._0x1b5ea8)+_0x553805(0xa47,_0x2b9d1a._0x5ed5e4)+'Started']=![],this[_0x4ccb8b(-0x95,_0x2b9d1a._0x1d88d3)+_0x553805(0x227,0x3c4)+'t'](),this['dropStal'+_0x4ccb8b(0x6f6,_0x2b9d1a._0x4c6c42)+_0x4ccb8b(0x442,_0x2b9d1a._0x36cfd3)+'e']();const _0x4480c5=summarizePendingGatewayMessages(this[_0x4ccb8b(0x5c8,0x81a)+'atewayMe'+'ssages'])[_0x4ccb8b(0xa21,_0x2b9d1a._0x3fda0b)+_0x553805(_0x2b9d1a._0x5e50a9,0x935)];shouldScheduleGatewayIdleClose(_0x2ab72e,_0x4480c5,this[_0x4ccb8b(_0x2b9d1a._0x4307d3,_0x2b9d1a._0x5a7f7e)+'yOpen']())?(this[_0x4ccb8b(_0x2b9d1a._0x5af80b,_0x2b9d1a._0x4b00d9)](_0x25cde2['NxcZs']),this[_0x4ccb8b(0x39f,_0x2b9d1a._0x147a76)+_0x4ccb8b(_0x2b9d1a._0x4ea24b,_0x2b9d1a._0x53a587)]()):this[_0x4ccb8b(0x7ef,_0x2b9d1a._0x510b73)](_0x25cde2[_0x553805(_0x2b9d1a._0x242abd,0x736)]);}else{if(shouldRecycleGatewayForFreshClient(_0x43bdfd,_0x2ab72e,this[_0x553805(0xb28,_0x2b9d1a._0x3a90c3)+_0x553805(_0x2b9d1a._0xcbcb64,0x705)](),![])){const _0x2ee74b=_0x25cde2[_0x4ccb8b(0x95c,_0x2b9d1a._0x45d98f)](summarizePendingGatewayMessages,this[_0x553805(0x819,0x981)+_0x4ccb8b(0x4e9,_0x2b9d1a._0x9aaee1)+_0x4ccb8b(0x897,_0x2b9d1a._0x43476f)]);this[_0x553805(_0x2b9d1a._0x1ec9a8,0x710)](_0x553805(_0x2b9d1a._0x48561c,0x62f)+_0x553805(_0x2b9d1a._0x4ef0b6,_0x2b9d1a._0x4053ae)+_0x4ccb8b(_0x2b9d1a._0x57ca6c,0x4e7)+'d\x20for\x20fr'+'esh\x20clie'+_0x4ccb8b(_0x2b9d1a._0x183156,_0x2b9d1a._0x4cf975)+_0x553805(_0x2b9d1a._0x3f6022,_0x2b9d1a._0x272f4c)+'='+_0x2ee74b['total']+('\x20connect'+'=')+_0x2ee74b[_0x553805(0x84b,_0x2b9d1a._0x1a91a1)+_0x4ccb8b(0x913,0x7ce)]+'\x20text='+_0x2ee74b['otherTex'+'t']+'\x20binary='+_0x2ee74b['binary']+(_0x4ccb8b(0x854,0x80b)+_0x553805(0x546,0x557)+'d=')+this[_0x4ccb8b(_0x2b9d1a._0x4cec66,_0x2b9d1a._0x1c2dfa)+'andshake'+_0x4ccb8b(0x127,0x2e0)]);const _0xb0219b=prunePendingGatewayMessagesForFreshDemand(this[_0x4ccb8b(_0x2b9d1a._0x18e8db,_0x2b9d1a._0x21e9d0)+_0x553805(0x666,_0x2b9d1a._0x3d36e1)+_0x4ccb8b(_0x2b9d1a._0x4be782,_0x2b9d1a._0x43476f)]);_0x25cde2[_0x4ccb8b(0x610,_0x2b9d1a._0x5afdfe)](_0xb0219b['dropped'],0x0)&&(this[_0x4ccb8b(_0x2b9d1a._0x4b19b4,0x81a)+_0x4ccb8b(0x46a,0x4d6)+_0x553805(_0x2b9d1a._0x18569d,_0x2b9d1a._0x55285f)]=_0xb0219b['messages'],this['log']('dropped\x20'+_0x553805(0x1d7,_0x2b9d1a._0x797924)+_0x4ccb8b(0x496,_0x2b9d1a._0x14d08a)+_0x4ccb8b(_0x2b9d1a._0x4dfa42,0x61c)+'re\x20recyc'+'le\x20dropp'+_0x553805(0x4e5,_0x2b9d1a._0xa02aba)+_0xb0219b[_0x4ccb8b(_0x2b9d1a._0x566f0d,_0x2b9d1a._0x2d4563)]+_0x553805(_0x2b9d1a._0x199d04,0x4b4)+_0xb0219b[_0x4ccb8b(0x402,0x6fb)]['length'])),this[_0x4ccb8b(0x50c,0x561)+_0x4ccb8b(_0x2b9d1a._0x13655e,_0x2b9d1a._0x53a587)](!![]);}if(this[_0x4ccb8b(_0x2b9d1a._0x3cfc3e,_0x2b9d1a._0x16e893)+_0x553805(0x6bd,0x705)]()&&!this['gatewayC'+_0x4ccb8b(0x75e,_0x2b9d1a._0x3ea971)+_0x553805(0x6f9,0x635)+'ing']){const _0x5ce3c8={};_0x5ce3c8[_0x553805(0x73b,0x77a)+_0x553805(_0x2b9d1a._0x266733,_0x2b9d1a._0x5f353f)]=!![],_0x5ce3c8['lastErro'+'r']=null,this[_0x4ccb8b(0x663,_0x2b9d1a._0x4f6b2b)+_0x4ccb8b(0x82b,_0x2b9d1a._0xd41354)](_0x5ce3c8),this[_0x553805(0x50b,_0x2b9d1a._0x3ee00a)](_0x4ccb8b(_0x2b9d1a._0x39ec69,0x4c8)+_0x553805(_0x2b9d1a._0x21401b,0x457)+_0x553805(0x659,_0x2b9d1a._0x40f882)+_0x553805(0xa42,0x86f)+_0x4ccb8b(_0x2b9d1a._0xd783b5,_0x2b9d1a._0x202d67)+_0x553805(_0x2b9d1a._0x3dd840,0x3b9)+this['elapsedS'+_0x553805(0xa45,0x791)](this[_0x4ccb8b(0x53e,_0x2b9d1a._0x300f5e)+'onnected'+_0x4ccb8b(0x492,0x6f4)])+(_0x4ccb8b(0x601,_0x2b9d1a._0x30588c)+'keStarte'+'d=')+this['gatewayH'+_0x4ccb8b(0x89f,_0x2b9d1a._0xc39f42)+'Started']);}}this['ensureGa'+_0x4ccb8b(_0x2b9d1a._0x792af4,_0x2b9d1a._0x5558f1)+_0x553805(0xa00,_0x2b9d1a._0x4037d9)]();return;}if(_0x3bfca8==='client_d'+_0x4ccb8b(0x58f,_0x2b9d1a._0x48d611)+_0x553805(0x606,_0x2b9d1a._0xfcb04b)){this['gatewayH'+_0x4ccb8b(0x90a,0x628)+_0x553805(0x2a3,_0x2b9d1a._0x30e943)]=![];const _0x48f815={};_0x48f815[_0x4ccb8b(_0x2b9d1a._0x44815e,_0x2b9d1a._0x590a5a)+_0x4ccb8b(0x3de,_0x2b9d1a._0xc5b994)]=0x0,this[_0x553805(0x593,_0x2b9d1a._0x3418f7)+_0x4ccb8b(0x40e,_0x2b9d1a._0xd41354)](_0x48f815),this[_0x4ccb8b(_0x2b9d1a._0x285e28,0x253)+_0x4ccb8b(0xb,_0x2b9d1a._0x425f0a)+'t'](),this[_0x4ccb8b(0x677,_0x2b9d1a._0x39b188)+_0x4ccb8b(0x6aa,0x424)+'ewayQueu'+'e']();const _0x135c62=summarizePendingGatewayMessages(this['pendingG'+_0x4ccb8b(_0x2b9d1a._0x7117a7,0x4d6)+'ssages'])['connectR'+'equests'];_0x25cde2[_0x553805(0x3fd,_0x2b9d1a._0x581907)](shouldScheduleGatewayIdleClose,0x0,_0x135c62,this[_0x553805(0xbe5,_0x2b9d1a._0x3a90c3)+'yOpen']())?(this[_0x553805(_0x2b9d1a._0x37491f,0x710)]('client\x20d'+'isconnec'+_0x553805(_0x2b9d1a._0xe1b06b,_0x2b9d1a._0x403e18)+_0x4ccb8b(0x615,_0x2b9d1a._0x54dfe7)+_0x4ccb8b(_0x2b9d1a._0x38a75a,_0x2b9d1a._0x1f16d5)+'y'),this['closeGat'+'eway']()):(this[_0x4ccb8b(0x6d6,0x5a9)](_0x25cde2['mwTEa']),this[_0x4ccb8b(0x18e,0x27d)+_0x4ccb8b(_0x2b9d1a._0x3e17a4,_0x2b9d1a._0x3eec39)+_0x4ccb8b(_0x2b9d1a._0x1efce1,0x718)]());return;}}async['handleBo'+'otstrapR'+_0x341e52(0x4c6,0x760)](_0x3d96eb){const _0x494293={_0x27b2f5:0xf6,_0x2e8202:0x3bb,_0x13eaa9:0x60,_0x5d43a7:0x162,_0x2366d8:0x48f,_0x21eecb:0x283,_0x4a64be:0x458,_0x4aebfd:0x616,_0x2d6e26:0x41e,_0x1b9bf6:0x5b4,_0xbccfad:0x5d5,_0x32610e:0x3df,_0x4da38e:0x19d,_0x2a5564:0x349,_0x1c7724:0x2be,_0x27a9ca:0x4e9,_0x5bfce8:0x16f,_0x56eec6:0x357,_0x263dd4:0x10f,_0x56a4c9:0x2d,_0x5462e5:0x4be,_0xe8f1a:0x5d,_0xe56001:0x672,_0x24ce5e:0x38,_0x31cdf7:0xe,_0x57c3f9:0x1a2,_0x398da2:0x1f1,_0x3329a7:0x41b,_0x3a14ec:0x432,_0x26fbc7:0x179,_0x3dfd89:0x3f5,_0x3ae4e6:0x58c,_0x4fd84b:0x5b8,_0x145d7b:0x5c3,_0x1de3fb:0x595,_0x283fc0:0x485,_0x1c4a7b:0x292,_0x39b4a3:0x1c8,_0x2a4d8f:0x3ea,_0x419037:0x28b,_0x16d77b:0x57c,_0x590343:0xd4,_0x518ea3:0x7b,_0x1a71e9:0x28f,_0xaaea06:0x43a,_0x4986c0:0x3bb,_0x2c9b14:0x2ac,_0x4db490:0xfc,_0x3325e1:0x6,_0x4f7e50:0x95,_0x53d9a4:0x6c7,_0xcb75e0:0x4b3,_0x16c78f:0x147,_0x19bd64:0x16b,_0x5059fc:0x87,_0x59ff9b:0x29b,_0x21c5e8:0x3eb,_0x19fef4:0x293,_0x537591:0x3c7},_0x211142={_0x44d0e9:0x380},_0x27e507={};_0x27e507['MVMTd']=_0x1bbdaf(_0x494293._0x27b2f5,_0x494293._0x2e8202)+'p.error',_0x27e507[_0x1bbdaf(_0x494293._0x13eaa9,0x221)]=function(_0x4fdef4,_0x231d90){return _0x4fdef4||_0x231d90;},_0x27e507[_0xdae84e(0x45,_0x494293._0x5d43a7)]=function(_0xf7e2fe,_0x3ab756){return _0xf7e2fe||_0x3ab756;};const _0x377698=_0x27e507,_0x3cdb47=_0x3d96eb[_0x1bbdaf(_0x494293._0x2366d8,0x33a)+'d']?.[_0x1bbdaf(0x22d,_0x494293._0x21eecb)]()??'';function _0x1bbdaf(_0x533202,_0x5c4f70){return _0x341e52(_0x5c4f70- -_0x211142._0x44d0e9,_0x533202);}function _0xdae84e(_0x576251,_0x5f5a1f){return _0x341e52(_0x5f5a1f- -0x224,_0x576251);}const _0x50017c=_0x3d96eb['sourceCl'+_0x1bbdaf(0x4c2,_0x494293._0x4a64be)]?.['trim']()||_0x3d96eb[_0xdae84e(_0x494293._0x4aebfd,_0x494293._0x2d6e26)+_0xdae84e(0x773,_0x494293._0x1b9bf6)]?.[_0xdae84e(_0x494293._0xbccfad,_0x494293._0x32610e)]()||'';if(!_0x3cdb47){this[_0x1bbdaf(0x1e3,0x357)](_0x1bbdaf(0x454,_0x494293._0x4da38e)+'otstrap\x20'+_0x1bbdaf(0x605,0x582)+_0xdae84e(_0x494293._0x2a5564,_0x494293._0x1c7724)+'reason=m'+_0xdae84e(_0x494293._0x27a9ca,0x201)+_0x1bbdaf(0xc0,0x1c6)+'d');return;}const _0x89b09c=parseBootstrapRequestPayload(_0x3d96eb['payload']);if(!_0x89b09c['ok']){this[_0x1bbdaf(_0x494293._0x5bfce8,_0x494293._0x56eec6)]('relay\x20bo'+_0x1bbdaf(-_0x494293._0x263dd4,_0x494293._0x56a4c9)+_0xdae84e(0x981,0x6de)+'rejected'+_0xdae84e(_0x494293._0x5462e5,0x5cd)+_0x1bbdaf(0x173,_0x494293._0xe8f1a)+_0x3cdb47+'\x20code='+_0x89b09c['code']+_0xdae84e(0x376,_0x494293._0xe56001)+_0x89b09c['message']);const _0x53f588={};_0x53f588[_0x1bbdaf(_0x494293._0x24ce5e,_0x494293._0x31cdf7)]=_0x89b09c[_0x1bbdaf(-0x2a0,0xe)],_0x53f588[_0xdae84e(_0x494293._0x57c3f9,_0x494293._0x398da2)]=_0x89b09c[_0xdae84e(0x19c,0x1f1)],this[_0xdae84e(_0x494293._0x3329a7,0x3eb)+_0x1bbdaf(0x1e1,0x3b6)]({'event':_0x377698['MVMTd'],'requestId':_0x3cdb47,'targetClientId':_0x377698[_0x1bbdaf(0x28,0x221)](_0x50017c,void 0x0),'payload':_0x53f588});return;}try{const _0x2ac657=await issueOpenClawBootstrapToken(_0x89b09c[_0xdae84e(_0x494293._0x3a14ec,_0x494293._0x26fbc7)]);this['log']('relay\x20bo'+_0xdae84e(_0x494293._0x3dfd89,0x189)+_0x1bbdaf(0x4a5,0x245)+_0xdae84e(_0x494293._0x3ae4e6,_0x494293._0x4fd84b)+'uestId='+_0x3cdb47+(_0x1bbdaf(0x42e,0x523)+'d=')+_0x89b09c['value']['deviceId']+(_0x1bbdaf(0x655,_0x494293._0x145d7b)+_0x1bbdaf(0x740,0x43a))+(_0x50017c||_0x1bbdaf(_0x494293._0x1de3fb,_0x494293._0x283fc0))+('\x20expires'+_0x1bbdaf(_0x494293._0x1c4a7b,0x455))+_0x2ac657[_0xdae84e(0x322,_0x494293._0x39b4a3)+'tMs']);const _0xf8c4bc={};_0xf8c4bc['bootstra'+'pToken']=_0x2ac657[_0x1bbdaf(0x3f0,_0x494293._0x2a4d8f)],_0xf8c4bc[_0x1bbdaf(-0x14b,0x6c)+_0xdae84e(_0x494293._0x419037,_0x494293._0x16d77b)]=_0x2ac657[_0xdae84e(-_0x494293._0x590343,_0x494293._0x39b4a3)+'tMs'],this[_0x1bbdaf(_0x494293._0x518ea3,_0x494293._0x1a71e9)+'yControl']({'event':_0x1bbdaf(_0x494293._0xaaea06,_0x494293._0x4986c0)+_0x1bbdaf(_0x494293._0x2c9b14,_0x494293._0x4db490),'requestId':_0x3cdb47,'targetClientId':_0x377698[_0x1bbdaf(-0xed,_0x494293._0x3325e1)](_0x50017c,void 0x0),'payload':_0xf8c4bc});}catch(_0x1d306a){const _0x2b3cd1=_0x1d306a instanceof Error?_0x1d306a[_0x1bbdaf(-0x1e4,_0x494293._0x4f7e50)]:String(_0x1d306a);this[_0xdae84e(_0x494293._0x53d9a4,_0x494293._0xcb75e0)]('relay\x20bo'+_0xdae84e(0x2da,0x189)+_0xdae84e(0x69f,0x3a1)+_0x1bbdaf(-0x54,_0x494293._0x16c78f)+'ed\x20reque'+'stId='+_0x3cdb47+_0xdae84e(0x89,_0x494293._0x19bd64)+_0x2b3cd1);const _0x496e16={};_0x496e16[_0x1bbdaf(-0x3c,0xe)]=_0x1bbdaf(_0x494293._0x2366d8,0x3bb)+_0xdae84e(0x61e,0x6b6)+_0xdae84e(_0x494293._0x5059fc,0x293),_0x496e16[_0x1bbdaf(0x19a,0x95)]=_0x2b3cd1,this[_0xdae84e(_0x494293._0x59ff9b,_0x494293._0x21c5e8)+_0xdae84e(_0x494293._0x19fef4,0x512)]({'event':'bootstra'+_0xdae84e(0x3b2,_0x494293._0x537591),'requestId':_0x3cdb47,'targetClientId':_0x377698[_0xdae84e(0x519,0x37d)](_0x50017c,void 0x0),'payload':_0x496e16});}}[_0x35d151(0x33d,0x29c)+'rQueueGa'+_0x341e52(0x7b8,0x4f1)+_0x341e52(0x378,0xc9)](_0x47a3db){const _0x225338={_0x58c7dd:0x43d,_0x57ef12:0x474,_0x20c12a:0x428,_0x27f1b9:0x1dd,_0x564fd0:0x62,_0x4e72e4:0x343,_0x12227c:0xfb,_0x4cad1a:0xaf,_0x49c7ee:0x602,_0xabe02b:0x13a,_0x5cbee9:0x2a6,_0x1193d3:0x167,_0x40c130:0x6db,_0x2ffadd:0x1f2,_0x50adf3:0x462,_0x12ce39:0x2b0,_0x167fd2:0x2ac,_0x3f4be8:0x332,_0x40cfca:0x502,_0x24024a:0x646,_0x4547ee:0x3a7,_0x5ca660:0x442,_0x173a71:0x428,_0x456761:0x20a,_0x510367:0x113,_0x6cf2ee:0x476,_0x442ceb:0x1b4,_0x33120e:0x12a,_0x4d668a:0x59d,_0x28dc29:0x226,_0x20ad15:0x1cb,_0x44cc60:0x9d,_0x37dd82:0x429,_0xc91301:0x18a,_0x4bec47:0xa0,_0x1985fa:0x5c,_0x56200c:0x1e9,_0x403e70:0x131,_0x538c1d:0x156,_0x4ccd0a:0x342,_0x45c3be:0x6a,_0x16cc4c:0x317,_0x56e02a:0x2cf,_0x46adf7:0x57,_0xcfa7f:0xde,_0x4c7e5e:0xd1,_0xd92c04:0x2f7},_0x23a0cd={_0x49385e:0x31e};function _0x211957(_0x29eed6,_0x59810a){return _0x35d151(_0x29eed6,_0x59810a- -_0x23a0cd._0x49385e);}const _0x3abc99={'Udini':_0x3355b8(0x596,_0x225338._0x58c7dd)+_0x3355b8(_0x225338._0x57ef12,0x442)+_0x3355b8(0x2bb,_0x225338._0x20c12a)+'ng\x20conne'+'ct\x20hands'+'hake;\x20qu'+_0x211957(0x285,0x290)+_0x211957(-0x1bc,-0x22d)+_0x3355b8(0x701,0x5db)+'nects','VgllC':function(_0x52810c,_0x8563f5){return _0x52810c(_0x8563f5);}},_0x2c1fa5=_0x47a3db['kind']==='text'&&isConnectHandshakeRequest(_0x47a3db['text']);if(this['gatewayC'+_0x3355b8(0x66a,0x3e9)+_0x211957(-_0x225338._0x27f1b9,_0x225338._0x564fd0)+_0x3355b8(_0x225338._0x4e72e4,0x592)]){this['pushPend'+_0x211957(-_0x225338._0x12227c,-_0x225338._0x4cad1a)+'ayMessag'+'e'](_0x47a3db);_0x2c1fa5&&this['log'](_0x3abc99[_0x3355b8(_0x225338._0x49c7ee,0x421)]);return;}const _0x26d5fb=this['gatewayS'+_0x211957(-_0x225338._0xabe02b,-0x1b3)];if(!_0x26d5fb||_0x26d5fb[_0x211957(_0x225338._0x5cbee9,_0x225338._0x1193d3)+'te']!==_0x42d174[_0x3355b8(0x5b1,_0x225338._0x40c130)]){this[_0x3355b8(-0xaf,_0x225338._0x2ffadd)+_0x3355b8(_0x225338._0x50adf3,0x635)+_0x211957(_0x225338._0x12ce39,_0x225338._0x167fd2)](),this['pushPend'+_0x3355b8(0x2e,_0x225338._0x3f4be8)+_0x3355b8(0x582,0x47e)+'e'](_0x47a3db);_0x2c1fa5&&this[_0x3355b8(_0x225338._0x40cfca,0x51e)](_0x3355b8(_0x225338._0x24024a,0x43d)+_0x3355b8(_0x225338._0x4547ee,_0x225338._0x5ca660)+_0x3355b8(0x69f,_0x225338._0x173a71)+'ng\x20conne'+_0x3355b8(0x5f,_0x225338._0x456761)+_0x211957(-0x10c,_0x225338._0x510367)+_0x3355b8(0x3cd,0x671)+_0x3355b8(_0x225338._0x6cf2ee,_0x225338._0x442ceb)+'ay\x20recon'+_0x211957(0x345,_0x225338._0x33120e));return;}function _0x3355b8(_0x209eae,_0x22d7f7){return _0x35d151(_0x209eae,_0x22d7f7-0xc3);}if(!this['gatewayH'+_0x3355b8(0x4af,_0x225338._0x4d668a)+_0x3355b8(0x25d,0x255)]){if(!_0x2c1fa5){this['pushPend'+_0x211957(-_0x225338._0x28dc29,-_0x225338._0x4cad1a)+_0x211957(-_0x225338._0x20ad15,_0x225338._0x44cc60)+'e'](_0x47a3db);return;}this[_0x211957(-_0x225338._0x37dd82,-_0x225338._0xc91301)+_0x211957(_0x225338._0x4bec47,0x1bc)+_0x3355b8(0x111,0x255)]=!![];const _0x5bf844=_0x3abc99[_0x3355b8(0x4fc,0x642)](parseConnectHandshakeMeta,_0x47a3db[_0x3355b8(0xdd,0x2bf)]);this['log'](_0x211957(-_0x225338._0x1193d3,_0x225338._0x1985fa)+'handshak'+_0x3355b8(_0x225338._0x167fd2,_0x225338._0x56200c)+_0x211957(-_0x225338._0x403e70,_0x225338._0x538c1d)+'='+this[_0x211957(_0x225338._0x4ccd0a,0x3ae)+_0x211957(0x352,_0x225338._0x45c3be)+_0x3355b8(_0x225338._0x16cc4c,0x5b8)][_0x211957(0x4a8,_0x225338._0x56e02a)]+formatConnectHandshakeMetaForLog(_0x5bf844));}this[_0x211957(-_0x225338._0x46adf7,_0x225338._0xcfa7f)+_0x3355b8(_0x225338._0x4c7e5e,_0x225338._0xd92c04)](_0x47a3db);}['ensureGa'+_0x35d151(0x62f,0x572)+'nected'](){const _0x541155={_0x39e109:0x55c,_0x4a5a55:0x7b2,_0x539f36:0x1d8,_0x5a73b5:0x75c,_0x3d9fab:0x896,_0x31d546:0x543,_0x40641b:0x64b,_0x55c1b7:0x649,_0x114b6a:0x32e,_0x54ce3b:0x5d6,_0x4b618d:0x5bd,_0x22a1a1:0x54e,_0x2c4356:0x46d,_0x2ae82c:0x4e4,_0xcb10b3:0x4f0,_0x81a0f:0xa11,_0x3cf08c:0x602,_0x1fa30c:0x3bf,_0x491f45:0x43e,_0x556681:0x4b5,_0x3760a1:0x518,_0x1f3fe4:0x422,_0x3d0807:0x7bb,_0x448a89:0x6d7},_0x160845={_0x345897:0x9c5,_0x1fe0e3:0x79c,_0x29461b:0x9b7,_0x396b14:0xb39,_0x16cc34:0x6b7,_0x10dc8f:0x825,_0x4325e6:0x806,_0xc687b:0x9c,_0xd596f9:0x6a,_0x427183:0x15c,_0x283355:0x462,_0x22906b:0x9d8,_0x2cd677:0x7fc,_0x34ae99:0xa40,_0x454039:0x62e,_0x4bb39b:0x455,_0x2be41c:0x112,_0x4c7c8d:0x405,_0x187dc6:0x1b,_0x18e5f8:0x20,_0x1acdf1:0x4ac,_0x14e59f:0x654,_0x255799:0x3b8,_0xf8e86f:0x1ed,_0x347870:0xeb,_0x180a02:0x11d,_0x234c04:0x229,_0xbc1bf8:0x5e2,_0x430276:0x89d,_0xc32cfa:0x656,_0x47e8ac:0x3a6,_0x259e2a:0x366,_0x71db14:0x1cc,_0x17350a:0x55f,_0x4bc4aa:0x380,_0xe4742a:0x656,_0x4c6f64:0x1c5,_0x588312:0x5a3,_0x3efa84:0x38b,_0x854d88:0x7de,_0x2559a4:0x9f0,_0x2b7121:0x876,_0x327817:0x792,_0x3a4995:0x169,_0x24740a:0x229,_0x2b251b:0x652,_0x3e8611:0x61c,_0x25447d:0x1ff,_0xdfadb4:0x253,_0x3dc4e2:0x466,_0x1a990f:0x8a9,_0x206695:0x788,_0x89591a:0x9de,_0x624fef:0x824,_0x40e49c:0x52c},_0x53adca={_0x3fffaa:0x750,_0x1a8618:0x581},_0xad659a={_0x20749e:0x349},_0x5567e1={_0x1fd91d:0x9ab},_0x7d498d={_0x1e4908:0x585,_0x28d810:0x376,_0x5d94d4:0x552,_0x4d26cb:0x7cd,_0x10738e:0x61e,_0xa6fcc6:0x6ec,_0x5e60ed:0x8e2,_0xd7dc57:0x8c1,_0x1b41f3:0x49a,_0x15b6be:0x362,_0x62ee71:0x634,_0x5104f5:0x62e,_0x1b3b22:0x5ff,_0x4d3f7d:0x6d2,_0x52c41b:0x682,_0x2900df:0x8ac,_0xd1860a:0x8ae,_0x584b24:0x5bf,_0x34f5ae:0x474,_0x21bae5:0x881,_0x353a92:0x83d,_0x562c7c:0xac3,_0x249682:0x5e8,_0x420048:0x604,_0x20b513:0x907,_0x2d3df5:0x28a,_0x2d490a:0x7e4,_0x55bab9:0x8bd,_0x3f6192:0x97a,_0x32e955:0x3ef,_0x50fa29:0x581},_0x504eb7={_0x5614e9:0x18e},_0x5c847d={};_0x5c847d[_0xd67f1c(0x20d,0x28e)]=function(_0x284a11,_0x4e9d9c){return _0x284a11===_0x4e9d9c;},_0x5c847d[_0xd67f1c(0x734,_0x541155._0x39e109)]=_0x2b83fe(0x1f1,0x287);const _0x960686=_0x5c847d;function _0xd67f1c(_0x2c4764,_0x46302a){return _0x341e52(_0x2c4764- -0x189,_0x46302a);}if(this[_0x2b83fe(_0x541155._0x4a5a55,0x6cd)]||!this[_0x2b83fe(0x247,_0x541155._0x539f36)+_0xd67f1c(_0x541155._0x5a73b5,0x5b7)]()||this[_0xd67f1c(0x5b8,0x8b0)+_0xd67f1c(0x5c0,0x2cd)+'g']||this[_0xd67f1c(0x7af,_0x541155._0x3d9fab)+_0xd67f1c(_0x541155._0x31d546,_0x541155._0x40641b)]()||this['gatewayC'+_0xd67f1c(0x419,_0x541155._0x55c1b7)+_0x2b83fe(_0x541155._0x114b6a,0x46e)+_0x2b83fe(_0x541155._0x54ce3b,_0x541155._0x4b618d)])return;function _0x2b83fe(_0x38966f,_0x538d9d){return _0x341e52(_0x538d9d- -_0x504eb7._0x5614e9,_0x38966f);}this[_0xd67f1c(0x5b8,0x55f)+'onnectin'+'g']=!![],this[_0xd67f1c(_0x541155._0x22a1a1,0x4cc)](_0xd67f1c(_0x541155._0x2c4356,0x495)+_0x2b83fe(0x7bd,0x4d4)+_0x2b83fe(0x5f,0x283)+'l='+this[_0xd67f1c(_0x541155._0x2ae82c,_0x541155._0xcb10b3)][_0x2b83fe(_0x541155._0x81a0f,0x7b2)+'rl']);const _0x2db52f=this[_0x2b83fe(_0x541155._0x3cf08c,_0x541155._0x1fa30c)+_0x2b83fe(_0x541155._0x491f45,_0x541155._0x556681)](this[_0xd67f1c(_0x541155._0x2ae82c,0x2e0)]['gatewayU'+'rl']);this['gatewayS'+'ocket']=_0x2db52f,_0x2db52f[_0x2b83fe(0x4be,0x7bc)](_0x2b83fe(0x612,_0x541155._0x3760a1),()=>{function _0x41e619(_0x1d4185,_0x12d7f6){return _0xd67f1c(_0x12d7f6-0x2f4,_0x1d4185);}function _0x10cd7e(_0x5335ee,_0x1a4484){return _0xd67f1c(_0x5335ee-0x215,_0x1a4484);}if(this['stopped']||this[_0x10cd7e(_0x7d498d._0x1e4908,_0x7d498d._0x28d810)+_0x41e619(0x43d,_0x7d498d._0x5d94d4)]!==_0x2db52f){_0x2db52f['close']();return;}this[_0x10cd7e(_0x7d498d._0x4d26cb,_0x7d498d._0x10738e)+_0x41e619(_0x7d498d._0xa6fcc6,0x8b4)+'g']=![],this[_0x41e619(0x663,0x57b)+_0x41e619(_0x7d498d._0x5e60ed,_0x7d498d._0xd7dc57)+_0x10cd7e(_0x7d498d._0x1b41f3,_0x7d498d._0x15b6be)]=![],this[_0x41e619(_0x7d498d._0x62ee71,0x8ac)+_0x10cd7e(_0x7d498d._0x5104f5,0x515)+_0x10cd7e(0x688,_0x7d498d._0x1b3b22)+_0x10cd7e(0x7d7,_0x7d498d._0x4d3f7d)]=![],this[_0x41e619(_0x7d498d._0x52c41b,_0x7d498d._0x2900df)+_0x10cd7e(0x83d,0x990)+_0x10cd7e(_0x7d498d._0xd1860a,_0x7d498d._0x584b24)]=Date[_0x10cd7e(_0x7d498d._0x34f5ae,0x5d8)]();const _0x40961a={};_0x40961a[_0x10cd7e(0x7cd,_0x7d498d._0x21bae5)+_0x10cd7e(_0x7d498d._0x353a92,_0x7d498d._0x562c7c)]=!![],_0x40961a['lastErro'+'r']=null,this[_0x10cd7e(0x5fc,_0x7d498d._0x249682)+'apshot'](_0x40961a),this['log'](_0x10cd7e(0x682,0x530)+'connecte'+'d\x20sinceC'+_0x41e619(0x841,_0x7d498d._0x420048)+_0x10cd7e(0x992,_0x7d498d._0x20b513)+this[_0x10cd7e(0x595,_0x7d498d._0x2d3df5)+_0x10cd7e(_0x7d498d._0x2d490a,_0x7d498d._0x55bab9)](this['clientDe'+'mandStar'+_0x41e619(0x8b4,0x96a)])),this['flushPen'+_0x41e619(0xab1,_0x7d498d._0x3f6192)+_0x10cd7e(_0x7d498d._0x32e955,_0x7d498d._0x50fa29)+_0x10cd7e(0x665,_0x7d498d._0x1b41f3)]();}),_0x2db52f['on'](_0x960686['CupUJ'],(_0x48df10,_0x360a12)=>{const _0x218e22={_0x339895:0x2e4};function _0x1d0854(_0x42b6c1,_0x1f2e48){return _0xd67f1c(_0x1f2e48- -0xe6,_0x42b6c1);}function _0x118635(_0x428442,_0x21faf9){return _0xd67f1c(_0x21faf9-_0x218e22._0x339895,_0x428442);}this[_0x118635(_0x5567e1._0x1fd91d,0x974)+'tewayMes'+_0x118635(0x464,0x4d3)](_0x48df10,_0x360a12);}),_0x2db52f[_0xd67f1c(0x7c1,0x679)](_0x2b83fe(0x678,_0x541155._0x1f3fe4),_0x363a2f=>{function _0x5aeaea(_0x22c6b4,_0x52bf84){return _0xd67f1c(_0x22c6b4-_0xad659a._0x20749e,_0x52bf84);}function _0x285dc0(_0x1bec43,_0x402f41){return _0xd67f1c(_0x1bec43-0x202,_0x402f41);}this[_0x285dc0(_0x53adca._0x3fffaa,0x51e)](_0x5aeaea(0x7b6,_0x53adca._0x1a8618)+'error:\x20'+String(_0x363a2f));}),_0x2db52f['once'](_0x2b83fe(_0x541155._0x3d0807,_0x541155._0x448a89),(_0x585a6d,_0xf0d626)=>{const _0x3755c0=summarizePendingGatewayMessages(this[_0x19083b(0xa03,_0x160845._0x345897)+_0x19083b(0x6bf,_0x160845._0x1fe0e3)+_0x19083b(0x82c,0x998)])['connectR'+_0x19083b(_0x160845._0x29461b,_0x160845._0x396b14)];function _0x19083b(_0x14736d,_0x1bb8ad){return _0xd67f1c(_0x14736d-0x244,_0x1bb8ad);}const _0x537484=this['gatewayC'+_0x55c23a(0xe6,0x1d5)+_0x19083b(_0x160845._0x16cc34,_0x160845._0x10dc8f)+_0x19083b(_0x160845._0x4325e6,0x54d)]&&shouldKeepGatewayConnected(this[_0x55c23a(0x648,0x3b8)][_0x55c23a(-0x4e,0x2be)+_0x55c23a(0x97,_0x160845._0xc687b)],_0x3755c0);this[_0x55c23a(-_0x160845._0xd596f9,0x12c)+_0x55c23a(-0x4a,0x1a)]===_0x2db52f&&(this[_0x19083b(0x5b4,0x2c5)+_0x19083b(0x4a2,0x307)]=null);this[_0x19083b(0x7fc,0x746)+_0x55c23a(_0x160845._0x427183,0x37c)+'g']=![],this[_0x19083b(0x4cb,0x769)+_0x55c23a(0x257,0x389)+'Started']=![],this[_0x19083b(0x7fc,0x8bc)+_0x55c23a(_0x160845._0x283355,0x1d5)+'daryPend'+_0x19083b(_0x160845._0x4325e6,_0x160845._0x22906b)]=![];function _0x55c23a(_0xe472c3,_0x220f69){return _0xd67f1c(_0x220f69- -0x244,_0xe472c3);}this[_0x19083b(_0x160845._0x2cd677,_0x160845._0x34ae99)+_0x19083b(0x86c,_0x160845._0x454039)+_0x55c23a(0x34f,_0x160845._0x4bb39b)]=null,this[_0x55c23a(0x22c,_0x160845._0x2be41c)+_0x55c23a(_0x160845._0x4c7c8d,0x2b3)+_0x55c23a(0x260,-_0x160845._0x187dc6)+_0x55c23a(_0x160845._0x18e5f8,0x25e)](_0x55c23a(_0x160845._0x1acdf1,0x229)+_0x19083b(_0x160845._0x14e59f,0x7d9)+_0x55c23a(0x193,0x380)+'e='+_0x585a6d),this['updateSn'+'apshot']({'gatewayConnected':![],'lastError':_0x960686['SmSDG'](_0x585a6d,0x3e8)||_0x537484?this[_0x55c23a(0x662,_0x160845._0x255799)][_0x55c23a(-_0x160845._0xf8e86f,_0x160845._0x347870)+'r']:_0x55c23a(_0x160845._0x180a02,_0x160845._0x234c04)+_0x19083b(_0x160845._0xbc1bf8,_0x160845._0x430276)+(_0xf0d626[_0x19083b(_0x160845._0xc32cfa,_0x160845._0x47e8ac)]()||_0x585a6d)}),this['log'](_0x55c23a(0xdc,0x229)+_0x55c23a(_0x160845._0x259e2a,_0x160845._0x71db14)+_0x55c23a(_0x160845._0x17350a,_0x160845._0x4bc4aa)+'e='+_0x585a6d+_0x55c23a(0x1ee,0x4c9)+(_0xf0d626[_0x19083b(_0x160845._0xe4742a,0x870)]()||_0x55c23a(0x512,0x438))+(_0x55c23a(-0x2a,_0x160845._0x4c6f64)+_0x19083b(0x42d,_0x160845._0x588312)+_0x55c23a(0x366,0x166))+this['elapsedS'+_0x55c23a(0x57f,_0x160845._0x3efa84)](this[_0x19083b(_0x160845._0x854d88,_0x160845._0x2559a4)+_0x19083b(_0x160845._0x2b7121,0x5dd)+'tedAtMs']));if(_0x537484){this[_0x19083b(_0x160845._0x327817,0x9d6)](_0x55c23a(_0x160845._0x3a4995,_0x160845._0x24740a)+_0x19083b(0x54f,0x6af)+'undary\x20r'+_0x19083b(0x910,0x673)+_0x19083b(_0x160845._0x2b251b,_0x160845._0x3e8611)+'ting\x20for'+'\x20fresh\x20d'+_0x55c23a(_0x160845._0x25447d,_0x160845._0xdfadb4)),this[_0x19083b(_0x160845._0x3dc4e2,0x4f6)+_0x19083b(_0x160845._0x1a990f,_0x160845._0x206695)+_0x19083b(0x901,_0x160845._0x89591a)]();return;}this['schedule'+_0x19083b(_0x160845._0x624fef,_0x160845._0x40e49c)+'econnect']();});}[_0x35d151(0x30e,0x59d)+_0x341e52(0x7b8,0x563)+'sage'](_0x3c68d7,_0x397242){const _0x5508de={_0x373be4:0x305,_0x30434c:0x741,_0x37367f:0x314,_0x56dfd2:0x79b,_0x13261c:0x7b3,_0x470108:0x1b,_0x13dd97:0x587,_0x4254fb:0x784,_0xcbc8d2:0x289,_0x29f49b:0x3f8,_0x567ad5:0x3af,_0x1649ae:0x3e5},_0x4df1cd={_0x27609e:0xae};function _0x24786e(_0x56e9ed,_0x369d9d){return _0x341e52(_0x56e9ed- -_0x4df1cd._0x27609e,_0x369d9d);}const _0x2050bb={'MjDvw':function(_0x2fd7a6,_0x29aba0){return _0x2fd7a6!==_0x29aba0;},'XiCyg':function(_0x1dd5df,_0x1c2d8d){return _0x1dd5df(_0x1c2d8d);},'GXTNo':function(_0x5f0370,_0x38dc7d){return _0x5f0370==_0x38dc7d;}};function _0x2a1547(_0x43e1c0,_0x3cc0dc){return _0x341e52(_0x43e1c0- -0x31f,_0x3cc0dc);}const _0x5d8f34=this[_0x2a1547(0x554,0x6f7)+_0x2a1547(_0x5508de._0x373be4,0x5c5)];if(!_0x5d8f34||_0x2050bb['MjDvw'](_0x5d8f34[_0x2a1547(0x3e2,0x663)+'te'],_0x42d174[_0x24786e(0x7e6,_0x5508de._0x30434c)]))return;if(_0x397242){_0x5d8f34[_0x2a1547(_0x5508de._0x37367f,0x192)](_0x2050bb[_0x24786e(_0x5508de._0x56dfd2,_0x5508de._0x13261c)](normalizeBinary,_0x3c68d7));return;}const _0x4436a7=normalizeText(_0x3c68d7);if(_0x2050bb[_0x2a1547(0xfc,-_0x5508de._0x470108)](_0x4436a7,null))return;const _0xd87fb1=parsePairingRequestFromError(_0x4436a7);_0xd87fb1&&this[_0x2a1547(0x4ae,_0x5508de._0x13dd97)+_0x24786e(0x2ce,0x3be)+_0x24786e(0x8bc,_0x5508de._0x4254fb)](_0xd87fb1);const _0x2b1023=parsePairResolvedEvent(_0x4436a7);_0x2b1023&&this[_0x2a1547(_0x5508de._0xcbc8d2,0x38b)+_0x24786e(0x7f6,0xa04)+'esolved'](_0x2b1023['requestI'+'d'],_0x2b1023[_0x2a1547(0x636,0x419)]);const _0x37fe16=parseResponseEnvelopeMeta(_0x4436a7);_0x37fe16&&this[_0x24786e(_0x5508de._0x29f49b,0x312)+_0x2a1547(0x341,_0x5508de._0x567ad5)+_0x2a1547(0x15f,_0x5508de._0x1649ae)](_0x37fe16),_0x5d8f34[_0x2a1547(0x314,0xe5)](_0x4436a7);}[_0x341e52(0x4c8,0x4bc)+_0x341e52(0x80f,0x891)+_0x341e52(0x363,0x55c)+'ges'](){const _0x5e6e71={_0x3eaa67:0x40f,_0x22f870:0x47c,_0x416bdd:0x1a8,_0x497aa4:0x485,_0x600e8c:0x32d,_0x3159f8:0x806,_0x5be9e9:0xab8,_0x1272b5:0x132,_0x109e38:0x76c,_0xc553c7:0x577,_0x107e74:0x670,_0x323d90:0x34f,_0x482187:0x166,_0x4afec7:0xc2,_0x4216ff:0x8be,_0x46838f:0x83a,_0x3efafa:0x2c,_0x4d92e4:0x75e,_0x2631b8:0x2c2,_0x2c4fec:0x3e2,_0x1f2c23:0x157,_0xb35a83:0xa71,_0x2397e2:0x4f7,_0x10d483:0x3cd,_0x1ccd42:0x33c,_0x2a659c:0x202,_0x2418e5:0x10,_0x3ee908:0x1ef,_0x2542d9:0x3d4,_0x4c3809:0x545,_0x300c71:0x9dd,_0x337c11:0xa83,_0x483f7d:0x732},_0x26490f={_0x114844:0x567};function _0x4cc9a2(_0x5e53d1,_0x3c5047){return _0x341e52(_0x3c5047- -_0x26490f._0x114844,_0x5e53d1);}const _0x1adfe4={'eFMgq':_0x4c613d(0x50d,_0x5e6e71._0x3eaa67),'hhMDR':function(_0x21b515,_0x575515){return _0x21b515(_0x575515);}},_0x285220=this[_0x4cc9a2(0x1a3,-0x6e)+_0x4c613d(_0x5e6e71._0x22f870,_0x5e6e71._0x416bdd)];if(!_0x285220||_0x285220[_0x4c613d(0x796,0x6e8)+'te']!==_0x42d174[_0x4cc9a2(_0x5e6e71._0x497aa4,_0x5e6e71._0x600e8c)])return;const _0x1d14f5=[],_0x12512a=dedupePendingGatewayMessages(this['pendingG'+'atewayMe'+_0x4c613d(_0x5e6e71._0x3159f8,_0x5e6e71._0x5be9e9)]);_0x12512a[_0x4cc9a2(0x387,_0x5e6e71._0x1272b5)]>0x0&&this[_0x4c613d(_0x5e6e71._0x109e38,0x545)](_0x4c613d(_0x5e6e71._0xc553c7,_0x5e6e71._0x107e74)+_0x4cc9a2(0x2de,0x199)+_0x4cc9a2(0x58f,_0x5e6e71._0x323d90)+_0x4cc9a2(0x34d,0x5c)+'sages\x20be'+_0x4cc9a2(0x2c9,0xac)+_0x4c613d(0x6e1,0x937)+_0x4cc9a2(_0x5e6e71._0x482187,-_0x5e6e71._0x4afec7)+_0x12512a['dropped']+'\x20kept='+_0x12512a[_0x4c613d(_0x5e6e71._0x4216ff,_0x5e6e71._0x46838f)][_0x4cc9a2(_0x5e6e71._0x3efafa,0x302)]);this['pendingG'+_0x4cc9a2(0x21d,0x9d)+_0x4c613d(0x806,_0x5e6e71._0x4d92e4)]=[];for(const _0x167df1 of _0x12512a[_0x4cc9a2(0x56a,_0x5e6e71._0x2631b8)]){if(!this[_0x4cc9a2(-_0x5e6e71._0x2c4fec,-_0x5e6e71._0x1f2c23)+_0x4c613d(0x7eb,_0x5e6e71._0xb35a83)+_0x4c613d(0x4a3,_0x5e6e71._0x2397e2)]){if(_0x167df1[_0x4cc9a2(0x3cf,_0x5e6e71._0x10d483)]!==_0x1adfe4['eFMgq']||!_0x1adfe4[_0x4cc9a2(-_0x5e6e71._0x1ccd42,-_0x5e6e71._0x2a659c)](isConnectHandshakeRequest,_0x167df1['text'])){_0x1d14f5[_0x4cc9a2(0x11e,0x33a)](_0x167df1);continue;}this['gatewayH'+_0x4cc9a2(_0x5e6e71._0x2418e5,_0x5e6e71._0x3ee908)+_0x4c613d(0x4a3,0x452)]=!![];}this[_0x4cc9a2(_0x5e6e71._0x2542d9,0x111)+_0x4c613d(_0x5e6e71._0x4c3809,0x55f)](_0x167df1);}function _0x4c613d(_0x452824,_0x4ccd95){return _0x341e52(_0x452824-0x95,_0x4ccd95);}this[_0x4c613d(_0x5e6e71._0x300c71,_0x5e6e71._0x337c11)+'atewayMe'+_0x4c613d(_0x5e6e71._0x3159f8,_0x5e6e71._0x483f7d)]=_0x1d14f5;}['sendToGa'+'teway'](_0x526dd5){const _0x5960c8={_0x4818be:0x2ae,_0x46e5bf:0x9c0,_0x4c9cb8:0x2d8,_0x1f1076:0x275,_0x3f1542:0x693,_0x2a43b7:0x553,_0x43672c:0x91c,_0x5adf58:0x931,_0xabfe9c:0x1e5,_0x5ddca8:0x12f,_0x2acaf5:0x803,_0x256e7b:0x820,_0x49c751:0x722,_0x57d212:0x78e,_0x2e81cf:0xa2e,_0x531619:0xb93,_0x1b12f6:0x803,_0x71ea4e:0x3f3,_0x59d573:0x3c5,_0x5cfb27:0x67a,_0x2b939f:0x4f5,_0x14bc54:0x141,_0x27c1dd:0x96d,_0x358e96:0x726,_0x2c8be9:0x75f,_0x28555d:0xa48,_0x40b676:0x2c8,_0x27f2e6:0x28},_0x56ebe5={'soApn':function(_0x4c56de,_0x120ea2){return _0x4c56de!==_0x120ea2;},'MpJFz':function(_0x5cc498,_0x327941){return _0x5cc498(_0x327941);}},_0x24818e=this[_0x4d1c43(0x625,0x778)+_0x4d1c43(0x513,_0x5960c8._0x4818be)];function _0x4d1c43(_0x34e9b5,_0x2ff782){return _0x341e52(_0x34e9b5-0x12c,_0x2ff782);}if(!_0x24818e||_0x56ebe5[_0x4ded53(0x1fa,0xb9)](_0x24818e['readySta'+'te'],_0x42d174[_0x4d1c43(_0x5960c8._0x46e5bf,0x6ca)])){this[_0x4d1c43(0x4a7,_0x5960c8._0x4c9cb8)+_0x4ded53(0x2e8,0x97)+'ayMessag'+'e'](_0x526dd5);return;}function _0x4ded53(_0x2a0687,_0x8e9d41){return _0x341e52(_0x2a0687- -0x203,_0x8e9d41);}if(_0x526dd5[_0x4ded53(0x731,0x621)]===_0x4ded53(0x275,0x91)){const _0x74caca=patchConnectRequestGatewayAuth(_0x526dd5[_0x4ded53(_0x5960c8._0x1f1076,0x2f7)],readOpenClawInfo()),_0x1a8cc8=_0x56ebe5['MpJFz'](parseConnectHandshakeMeta,_0x74caca['text']);_0x1a8cc8&&(_0x1a8cc8['id']&&this[_0x4d1c43(_0x5960c8._0x3f1542,0x668)+'ConnectH'+_0x4ded53(_0x5960c8._0x2a43b7,0x3c3)+'s'][_0x4d1c43(0x807,0x68b)](_0x1a8cc8['id'],{'method':_0x1a8cc8[_0x4d1c43(_0x5960c8._0x43672c,_0x5960c8._0x5adf58)],'startedAtMs':Date[_0x4ded53(_0x5960c8._0xabfe9c,_0x5960c8._0x5ddca8)](),'slowWarningLogged':![]}),this[_0x4d1c43(_0x5960c8._0x2acaf5,_0x5960c8._0x256e7b)](_0x4d1c43(_0x5960c8._0x49c751,0x8bb)+_0x4d1c43(_0x5960c8._0x57d212,0x581)+_0x4d1c43(_0x5960c8._0x2e81cf,_0x5960c8._0x531619)+_0x4d1c43(0x485,0x5bd)+'d'+formatConnectHandshakeMetaForLog(_0x1a8cc8)));_0x74caca['injected']&&this[_0x4d1c43(_0x5960c8._0x1b12f6,0x80a)](_0x4ded53(_0x5960c8._0x71ea4e,_0x5960c8._0x59d573)+'connect\x20'+_0x4d1c43(_0x5960c8._0x5cfb27,_0x5960c8._0x2b939f)+_0x4ded53(0x292,_0x5960c8._0x14bc54)+_0x4d1c43(_0x5960c8._0x27c1dd,_0x5960c8._0x358e96)+'rd');_0x24818e['send'](_0x74caca['text']);return;}_0x24818e[_0x4d1c43(_0x5960c8._0x2c8be9,_0x5960c8._0x28555d)](_0x526dd5[_0x4ded53(_0x5960c8._0x40b676,-_0x5960c8._0x27f2e6)]);}[_0x35d151(0x45b,0x59c)+_0x341e52(0x8c5,0x75c)+'st'](_0x30a601,_0x5edb5e){const _0x1ddf7f={_0x47e0b6:0x4d4,_0xd415c:0x4f8,_0x136b1b:0x32a,_0x109da3:0x9db,_0x562823:0x490,_0x45b669:0x822,_0x2fbc0a:0x514,_0xd71e4:0x4ab},_0x494c41={_0x3ee46b:0xe9},_0x5234ed=JSON[_0x58d071(_0x1ddf7f._0x47e0b6,0x711)+'y']({'type':_0xb2c6fe(_0x1ddf7f._0xd415c,0x68b),'id':_0x58d071(_0x1ddf7f._0x136b1b,0x7b)+_0x579fc8(),'method':_0x30a601,'params':_0x5edb5e}),_0x2dd505={};function _0xb2c6fe(_0x40c69a,_0x586cc1){return _0x341e52(_0x40c69a-_0x494c41._0x3ee46b,_0x586cc1);}_0x2dd505[_0xb2c6fe(0xa1d,_0x1ddf7f._0x109da3)]=_0xb2c6fe(0x561,_0x1ddf7f._0x562823),_0x2dd505['text']=_0x5234ed;function _0x58d071(_0x35e237,_0x9727df){return _0x341e52(_0x35e237- -0x2a4,_0x9727df);}this[_0xb2c6fe(0x601,_0x1ddf7f._0x45b669)+'rQueueGa'+_0x58d071(_0x1ddf7f._0x2fbc0a,_0x1ddf7f._0xd71e4)+_0x58d071(0xd4,-0x21c)](_0x2dd505);}['sendRela'+_0x341e52(0x736,0x910)](_0x5d7f3a){const _0x467546={_0x1a2a48:0x425,_0x3a2f55:0x553,_0x33308a:0x3a,_0x42b097:0x301,_0x25f0a4:0x497,_0xc29410:0x35b,_0x5bea46:0x2d3,_0x4f9bc9:0xeb,_0x522a76:0x2fc,_0x4aac9f:0x89,_0x4c9170:0x4dc},_0x31bb66=this['relaySoc'+'ket'];function _0x4c4fdc(_0xadc5ae,_0x5a3a4a){return _0x341e52(_0x5a3a4a- -0x341,_0xadc5ae);}if(!_0x31bb66||_0x31bb66[_0x3df0c3(0x284,_0x467546._0x1a2a48)+'te']!==_0x42d174[_0x4c4fdc(0x343,_0x467546._0x3a2f55)])return;const _0x4d8aa5={};_0x4d8aa5['type']='control',_0x4d8aa5['event']=_0x5d7f3a[_0x3df0c3(-_0x467546._0x33308a,-0x240)];function _0x3df0c3(_0x5df353,_0x7e155c){return _0x341e52(_0x5df353- -0x47d,_0x7e155c);}_0x4d8aa5[_0x4c4fdc(0x65c,0x379)+'d']=_0x5d7f3a[_0x4c4fdc(0x646,0x379)+'d'],_0x4d8aa5[_0x4c4fdc(0x4d9,_0x467546._0x42b097)+_0x4c4fdc(0x26b,_0x467546._0x25f0a4)]=_0x5d7f3a['targetCl'+_0x3df0c3(_0x467546._0xc29410,_0x467546._0x5bea46)],_0x4d8aa5[_0x3df0c3(-_0x467546._0x4f9bc9,-_0x467546._0x522a76)]=_0x5d7f3a['payload'],_0x31bb66[_0x4c4fdc(0xe3,0x2f2)](_0x3df0c3(_0x467546._0x4aac9f,-0xe4)+_0x3df0c3(-0x85,-0x138)+_0x4c4fdc(_0x467546._0x4c9170,0x52e)+'_:'+JSON['stringif'+'y'](_0x4d8aa5));}[_0x341e52(0x68f,0x781)+_0x35d151(0xe4,0x34f)](_0xda2d4=![]){const _0x5b218f={_0x50ee5f:0x36f,_0x31da42:0x866,_0x567533:0x56,_0x20296d:0x288,_0x9a9e95:0x39f,_0x3de1a8:0x6cb,_0x260758:0x609,_0x171552:0x8de,_0x428d5d:0x5fb,_0x38ddc9:0x36b,_0x4c47b7:0x72b,_0x5c3c27:0x78a,_0x4c5d31:0x4fe,_0x3b5e1e:0x248,_0x4a57f7:0x2e,_0x2bb941:0x30,_0x26efa6:0x395,_0xe98383:0x373,_0x58d40b:0x3e4,_0x510344:0x802,_0x453e4e:0x5a7,_0x4ec387:0x1be,_0xb20428:0x809,_0x4bf013:0x750,_0x5bce89:0x303,_0x557c94:0x3b0,_0x4ec820:0xafa,_0x21ec8b:0x84b,_0x29073b:0x35,_0xba2b68:0x2ac,_0x2b05d4:0xd5,_0x255320:0x616,_0x435ade:0x30d,_0xb3ac02:0x8c4,_0x425019:0x706,_0x1b2999:0x3b,_0x5273f2:0x807,_0x4d102c:0x6f5,_0x56e400:0x298,_0x410d96:0x57,_0x2570a0:0x36a,_0x12a4ab:0x4fe,_0x513d50:0x58d,_0x2c78de:0x3ec,_0xbf11df:0x6c,_0x5e1eea:0x164,_0x45cc73:0x601,_0x48c2fa:0x8f2,_0x569558:0x750,_0x939e28:0x596,_0x2ede92:0x5bd,_0xa97dbe:0x30b,_0x47541f:0x33f,_0x177692:0x408,_0x10ebb8:0x164,_0x50489d:0x5a4,_0x35d477:0x6b5},_0xaf08cd={_0x2089d9:0x1c2},_0x406dd9={'bxWIq':function(_0x321d6,_0x3e5b26){return _0x321d6(_0x3e5b26);},'plvsA':function(_0x4eac57,_0x5e4ccc){return _0x4eac57===_0x5e4ccc;},'BbCAa':function(_0x354c9a,_0x3fff10){return _0x354c9a===_0x3fff10;}};this[_0x1833e1(_0x5b218f._0x50ee5f,0x39f)+'etryTime'+'r']&&(clearTimeout(this[_0x5eb43c(_0x5b218f._0x31da42,0x7e2)+_0x1833e1(-_0x5b218f._0x567533,_0x5b218f._0x20296d)+'r']),this[_0x1833e1(0x245,_0x5b218f._0x9a9e95)+_0x5eb43c(0x6c3,_0x5b218f._0x3de1a8)+'r']=null);const _0x32796b=_0x406dd9['bxWIq'](summarizePendingGatewayMessages,this[_0x1833e1(0x205,0x50a)+_0x5eb43c(0x330,_0x5b218f._0x260758)+_0x5eb43c(_0x5b218f._0x171552,0x776)])[_0x1833e1(0x337,0x445)+_0x5eb43c(_0x5b218f._0x428d5d,0x901)],_0x571a60=_0xda2d4&&this[_0x5eb43c(0x2c1,_0x5b218f._0x38ddc9)+'pen']()&&shouldKeepGatewayConnected(this[_0x5eb43c(_0x5b218f._0x4c47b7,_0x5b218f._0x5c3c27)]['clientCo'+'unt'],_0x32796b),_0x589b6c=this[_0x5eb43c(0x6c7,_0x5b218f._0x4c5d31)+_0x5eb43c(0x255,0x3ec)];this[_0x1833e1(_0x5b218f._0x3b5e1e,-_0x5b218f._0x4a57f7)+'andshake'+_0x1833e1(-0x4e,-_0x5b218f._0x2bb941)]=![],this['gatewayC'+_0x1833e1(_0x5b218f._0x26efa6,_0x5b218f._0xe98383)+_0x1833e1(0x4d7,_0x5b218f._0x58d40b)]=null;function _0x1833e1(_0xc1b16d,_0x5d3a25){return _0x35d151(_0xc1b16d,_0x5d3a25- -_0xaf08cd._0x2089d9);}if(!_0x589b6c){this[_0x5eb43c(_0x5b218f._0x510344,0x746)+_0x5eb43c(0x754,_0x5b218f._0x453e4e)+_0x1833e1(0x284,_0x5b218f._0x4ec387)+_0x5eb43c(_0x5b218f._0xb20428,_0x5b218f._0x4bf013)]=![],this[_0x1833e1(0x2f9,_0x5b218f._0x5bce89)+'onnectin'+'g']=![];_0x571a60&&this['ensureGa'+_0x1833e1(0x680,_0x5b218f._0x557c94)+_0x5eb43c(_0x5b218f._0x4ec820,_0x5b218f._0x21ec8b)]();return;}if(_0x406dd9['plvsA'](_0x589b6c[_0x1833e1(0x26a,0x2c3)+'te'],_0x42d174[_0x1833e1(-0x24a,-_0x5b218f._0x29073b)])){this['gatewayC'+_0x1833e1(_0x5b218f._0xba2b68,0x164)+_0x1833e1(-_0x5b218f._0x2b05d4,0x1be)+_0x1833e1(_0x5b218f._0x255320,_0x5b218f._0x435ade)]=_0x571a60;return;}if(_0x589b6c[_0x5eb43c(_0x5b218f._0xb3ac02,_0x5b218f._0x425019)+'te']===_0x42d174[_0x1833e1(0x277,-_0x5b218f._0x1b2999)]){_0x406dd9[_0x5eb43c(0xabc,_0x5b218f._0x5273f2)](this[_0x5eb43c(_0x5b218f._0x4d102c,_0x5b218f._0x4c5d31)+_0x1833e1(-_0x5b218f._0x56e400,-_0x5b218f._0x410d96)],_0x589b6c)&&(this[_0x5eb43c(_0x5b218f._0x2570a0,_0x5b218f._0x12a4ab)+_0x5eb43c(_0x5b218f._0x513d50,_0x5b218f._0x2c78de)]=null);this['gatewayC'+_0x1833e1(_0x5b218f._0xbf11df,_0x5b218f._0x5e1eea)+_0x5eb43c(0x431,_0x5b218f._0x45cc73)+_0x5eb43c(_0x5b218f._0x48c2fa,_0x5b218f._0x569558)]=![],this[_0x5eb43c(_0x5b218f._0x939e28,0x746)+_0x1833e1(_0x5b218f._0x2ede92,_0x5b218f._0xa97dbe)+'g']=![];_0x571a60&&this[_0x5eb43c(0x2b7,0x3b0)+'tewayCon'+_0x1833e1(_0x5b218f._0x47541f,_0x5b218f._0x177692)]();return;}this['gatewayC'+_0x1833e1(0x331,_0x5b218f._0x10ebb8)+'daryPend'+_0x1833e1(_0x5b218f._0x50489d,0x30d)]=_0x571a60;function _0x5eb43c(_0x7f35e8,_0x3e3279){return _0x35d151(_0x7f35e8,_0x3e3279-0x281);}_0x589b6c[_0x1833e1(_0x5b218f._0x35d477,0x427)]();}[_0x341e52(0x54d,0x449)+_0x35d151(0x2d7,0x3c7)](_0x124be2){const _0x56965c={_0x3660e2:0x41f,_0x4a79c6:0x4ad,_0x3052cd:0x43,_0x41a2d5:0x78b},_0x374af4={_0xe7e8e3:0x2ad};function _0x52c9f3(_0x369293,_0x28cc6c){return _0x35d151(_0x369293,_0x28cc6c-0xb6);}function _0x5e9c4c(_0x21da37,_0x32ed11){return _0x35d151(_0x21da37,_0x32ed11- -_0x374af4._0xe7e8e3);}if(this['options'][_0x52c9f3(0x347,0x387)+_0x52c9f3(_0x56965c._0x3660e2,0x47d)])return this[_0x52c9f3(_0x56965c._0x4a79c6,0x4a7)]['createWe'+_0x5e9c4c(-_0x56965c._0x3052cd,0x11a)](_0x124be2);const _0xbef669={};return _0xbef669[_0x52c9f3(_0x56965c._0x41a2d5,0x716)+'ad']=0x19*0x400*0x400,new _0x42d174(_0x124be2,_0xbef669);}['observeG'+'atewayRe'+'sponse'](_0x2dedf0){const _0x5ed406={_0x17fe4c:0xee,_0x361d75:0x371,_0x1cf54c:0x58c,_0x11d226:0x478,_0x3b6a55:0x5fe,_0x45a923:0x8e8,_0x56ca30:0x77b,_0x4c4b37:0x1e5,_0x3cd9e2:0x1cb,_0x41dbf8:0xde,_0xf12077:0x357,_0x5e469a:0x756,_0x11398b:0x3fb,_0x8c2334:0x387,_0x43f2f4:0xa8a,_0x2da281:0x95b,_0x14b6f0:0x61b,_0x2de90b:0xb2,_0x2865eb:0x7b8,_0x52fe4d:0x705,_0x2b1456:0x101,_0x5eba78:0x25b,_0x38ec65:0x2b6,_0x26b8bf:0x1c8,_0x49c1c5:0xe5,_0x54b6cc:0x58,_0x172839:0x7c5},_0x4df63b={_0x33e8ad:0x2a1},_0x12a3cf={};_0x12a3cf[_0x39f996(0x386,_0x5ed406._0x17fe4c)]='<none>';const _0x53d622=_0x12a3cf,_0x69497=this[_0xc8ed00(_0x5ed406._0x361d75,_0x5ed406._0x1cf54c)+_0xc8ed00(0x3d1,_0x5ed406._0x11d226)+_0xc8ed00(0x725,0x77b)+'s'][_0xc8ed00(_0x5ed406._0x3b6a55,_0x5ed406._0x45a923)](_0x2dedf0['id']);if(!_0x69497)return;this['inFlight'+_0xc8ed00(0x4d7,_0x5ed406._0x11d226)+_0xc8ed00(0x874,_0x5ed406._0x56ca30)+'s'][_0x39f996(_0x5ed406._0x4c4b37,_0x5ed406._0x3cd9e2)](_0x2dedf0['id']);function _0xc8ed00(_0x250635,_0xae54e7){return _0x35d151(_0x250635,_0xae54e7-_0x4df63b._0x33e8ad);}function _0x39f996(_0x1a4082,_0x16300e){return _0x35d151(_0x16300e,_0x1a4082- -0x334);}const _0x5efbb2=_0x2dedf0['ok']?'ok=true':'ok=false'+_0x39f996(_0x5ed406._0x41dbf8,-0x17f)+_0x39f996(_0x5ed406._0xf12077,0x2f6)+(_0x2dedf0[_0xc8ed00(0x763,_0x5ed406._0x5e469a)+'e']??_0xc8ed00(0xaab,0x82a))+(_0x39f996(0x2e9,_0x5ed406._0x11398b)+_0xc8ed00(0x59d,0x74b))+(_0x2dedf0['errorMes'+_0xc8ed00(_0x5ed406._0x8c2334,0x39d)]??_0x53d622[_0xc8ed00(_0x5ed406._0x43f2f4,_0x5ed406._0x2da281)]);this[_0x39f996(0x127,0x38)](_0xc8ed00(0x47a,_0x5ed406._0x14b6f0)+_0x39f996(_0x5ed406._0x2de90b,0x138)+_0xc8ed00(_0x5ed406._0x2865eb,_0x5ed406._0x52fe4d)+_0x39f996(0x110,-_0x5ed406._0x2b1456)+_0x2dedf0['id']+_0xc8ed00(0x2dd,0x520)+_0x69497['method']+(_0x39f996(-_0x5ed406._0x5eba78,-0x489)+_0x39f996(_0x5ed406._0x38ec65,0x1a9))+(Date[_0x39f996(-_0x5ed406._0x26b8bf,-0x4a0)]()-_0x69497[_0x39f996(_0x5ed406._0x49c1c5,-_0x5ed406._0x54b6cc)+_0xc8ed00(0x51f,_0x5ed406._0x172839)])+'\x20'+_0x5efbb2);}[_0x35d151(0x41,0x263)+_0x341e52(0x680,0x8fe)+_0x35d151(0x393,0x136)+_0x341e52(0x62b,0x8b1)](_0x48b045){const _0x201d16={_0xacb20:0x103,_0x1b0407:0xc6,_0x4d3204:0x20e,_0xe2c5b0:0x16a,_0x2a56e7:0xc7,_0x298e6a:0xab,_0x2a30ca:0x5db,_0x5bea7b:0x3b0,_0x1408cc:0x3cb,_0x2f44ec:0x234,_0x5a4fc0:0x38d,_0x346786:0x2ab},_0x400d70={_0x3b4ceb:0x1a0};function _0x9edaf1(_0x5b6410,_0xb4c227){return _0x35d151(_0xb4c227,_0x5b6410- -_0x400d70._0x3b4ceb);}function _0x41aec0(_0x95628f,_0x2281b7){return _0x35d151(_0x2281b7,_0x95628f- -0x10f);}const _0x4b6100={};_0x4b6100[_0x9edaf1(_0x201d16._0xacb20,-_0x201d16._0x1b0407)]=function(_0xf4401c,_0x31bb9c){return _0xf4401c===_0x31bb9c;};const _0x373d4=_0x4b6100;if(_0x373d4['qqsCj'](this['inFlight'+_0x41aec0(0xc8,-_0x201d16._0x4d3204)+_0x9edaf1(0x33a,0x1d6)+'s'][_0x9edaf1(_0x201d16._0xe2c5b0,-0xbf)],0x0))return;for(const [_0x589396,_0x646005]of this[_0x9edaf1(0x14b,0x192)+_0x41aec0(0xc8,-0x242)+_0x41aec0(0x3cb,0x456)+'s'][_0x9edaf1(0x5d,0x62)]()){this['log']('gateway\x20'+_0x9edaf1(0x246,0x36c)+_0x9edaf1(0x2c4,0xa9)+'\x20missing'+_0x41aec0(0x335,0x2d5)+_0x589396+'\x20method='+_0x646005['method']+(_0x9edaf1(-_0x201d16._0x2a56e7,_0x201d16._0x298e6a)+_0x41aec0(0x4db,_0x201d16._0x2a30ca))+(Date['now']()-_0x646005[_0x41aec0(0x30a,0x1b6)+'tMs'])+'\x20reason='+_0x48b045);}this[_0x9edaf1(0x14b,_0x201d16._0x5bea7b)+'ConnectH'+_0x41aec0(_0x201d16._0x1408cc,_0x201d16._0x2f44ec)+'s'][_0x41aec0(_0x201d16._0x5a4fc0,_0x201d16._0x346786)]();}[_0x35d151(0x3b8,0x59f)+_0x341e52(0x4a9,0x6b1)+_0x341e52(0x375,0x1d3)](){const _0x30f848={_0x2b4596:0x48a,_0x341d84:0x21,_0x14bcfc:0xb1,_0x2618f8:0x202,_0x1b14c8:0x12c,_0x58fabb:0x4dc,_0x2f1a6b:0x398,_0x294bea:0x5c0,_0x1a9c36:0x4e9,_0x5ec7ff:0x41d,_0x225804:0xf4,_0x8d1539:0x26c,_0x1f1a3d:0xa9,_0x504328:0x66,_0x4570ee:0x1f7,_0x5e3009:0x5a},_0x393ea0={_0x5c8dd1:0x12d,_0x5ad9d7:0x2c2},_0x4b65c2={_0x4fa300:0x224};if(this[_0x5c63e7(0x3f0,_0x30f848._0x2b4596)]||this['reconnec'+_0x5c63e7(_0x30f848._0x341d84,-0x1c9)])return;const _0x5b5565=this[_0x5c63e7(0x202,_0x30f848._0x14bcfc)]['reconnec'+'tBaseDel'+_0x5c63e7(0x1e8,-0xa)]??RECONNECT_BASE_DELAY_MS,_0x213bbe=this[_0x5c63e7(_0x30f848._0x2618f8,0x1fb)][_0x5c63e7(_0x30f848._0x1b14c8,0x3e6)+_0x5c63e7(_0x30f848._0x58fabb,_0x30f848._0x2f1a6b)+_0x213b6f(_0x30f848._0x294bea,_0x30f848._0x1a9c36)]??RECONNECT_MAX_DELAY_MS;function _0x5c63e7(_0x54a4d3,_0x310788){return _0x35d151(_0x310788,_0x54a4d3- -0x1ef);}function _0x213b6f(_0x5b2803,_0x5f2e3d){return _0x35d151(_0x5f2e3d,_0x5b2803-_0x4b65c2._0x4fa300);}const _0x222b0a=Math[_0x213b6f(_0x30f848._0x5ec7ff,0x1a8)](_0x213bbe,_0x5b5565*Math[_0x5c63e7(0x12b,_0x30f848._0x225804)](0x1,this[_0x5c63e7(0x8b,0x188)+_0x5c63e7(-0xb5,0x4)]));this[_0x5c63e7(_0x30f848._0x8d1539,0x39f)](_0x5c63e7(_0x30f848._0x1f1a3d,_0x30f848._0x504328)+_0x5c63e7(_0x30f848._0x4570ee,_0x30f848._0x5e3009)+'schedule'+'d\x20delayM'+'s='+_0x222b0a),this['reconnec'+_0x213b6f(0x434,0x390)]=setTimeout(()=>{function _0x385343(_0xbcdd28,_0x3fb026){return _0x5c63e7(_0xbcdd28-0x487,_0x3fb026);}function _0x385de2(_0xe632a6,_0x1e7f17){return _0x5c63e7(_0xe632a6-0x10c,_0x1e7f17);}this['reconnec'+_0x385de2(_0x393ea0._0x5c8dd1,_0x393ea0._0x5ad9d7)]=null,void this[_0x385de2(0x524,0x25e)+_0x385de2(0xa7,-0x1f6)]();},_0x222b0a);}[_0x35d151(0x596,0x59f)+_0x35d151(0x224,0x4ed)+'econnect'](){const _0x1a060f={_0x4f5b44:0x637,_0x43c92b:0x68b,_0x448db1:0x468,_0x4d44d2:0x79d,_0x69eeaa:0x787,_0x56c12e:0x63f,_0xffa78b:0x55f,_0x1b3b12:0x1ca,_0x13c4de:0x4c8,_0x5bf01d:0x641,_0x579a54:0x64b,_0x439148:0x4f4,_0x16a28f:0x4bf,_0x1837ff:0x54c,_0x4a2d12:0x52a,_0x38b049:0x6dd},_0x3f7a3e={_0x3c1a99:0x554,_0x250b95:0x6c4,_0x2f24c1:0x696,_0x5798af:0x7ec,_0xb32b13:0x8f1},_0x2a89ba={_0x2d9c6b:0x2c},_0x1c5964=summarizePendingGatewayMessages(this[_0x566914(_0x1a060f._0x4f5b44,_0x1a060f._0x43c92b)+_0x34d9cd(_0x1a060f._0x448db1,0x214)+_0x566914(0x46c,0x4b4)])[_0x566914(_0x1a060f._0x4d44d2,0x5c6)+_0x566914(_0x1a060f._0x69eeaa,_0x1a060f._0x56c12e)];if(this['stopped']||this['gatewayR'+_0x566914(_0x1a060f._0xffa78b,0x409)+'r']||!this[_0x34d9cd(_0x1a060f._0x1b3b12,0x1af)+_0x34d9cd(0x749,0x9ce)]()||!shouldKeepGatewayConnected(this[_0x566914(0x60b,_0x1a060f._0x13c4de)][_0x566914(0x2dd,0x3ce)+'unt'],_0x1c5964))return;const _0x8d0c54=this['options'][_0x34d9cd(_0x1a060f._0x5bf01d,_0x1a060f._0x579a54)+_0x34d9cd(_0x1a060f._0x439148,_0x1a060f._0x16a28f)+_0x566914(0x62d,0x35b)]??GATEWAY_RETRY_DELAY_MS;function _0x34d9cd(_0xd88f80,_0x162e40){return _0x35d151(_0x162e40,_0xd88f80-0xe0);}function _0x566914(_0x3a2c52,_0x2b6d1b){return _0x35d151(_0x3a2c52,_0x2b6d1b- -0x41);}this[_0x566914(_0x1a060f._0x1837ff,0x520)+_0x34d9cd(_0x1a060f._0x4a2d12,_0x1a060f._0x38b049)+'r']=setTimeout(()=>{function _0xd12999(_0x135562,_0x49fe15){return _0x34d9cd(_0x49fe15-_0x2a89ba._0x2d9c6b,_0x135562);}this['gatewayR'+_0x44a7cf(_0x3f7a3e._0x3c1a99,_0x3f7a3e._0x250b95)+'r']=null;function _0x44a7cf(_0x37b755,_0x332c86){return _0x34d9cd(_0x332c86-0x19a,_0x37b755);}this['ensureGa'+_0x44a7cf(_0x3f7a3e._0x2f24c1,_0x3f7a3e._0x5798af)+_0xd12999(_0x3f7a3e._0xb32b13,0x6d6)]();},_0x8d0c54);}['startHea'+_0x35d151(0x598,0x661)](){const _0x4e722a={_0x3de8ed:0x99d,_0x2f76f3:0x562,_0x524a8f:0x46c,_0x59d54b:0x637,_0x3c6be1:0x8fc},_0x309dd0={_0x229dbf:0x69f,_0x565c5c:0x450,_0x433490:0x4db,_0x328a39:0x51b,_0xd96def:0x320,_0x4d5432:0x368,_0x439ce5:0x1ce,_0x48513c:0x2bd,_0x75df93:0x4e8,_0x599f48:0x53a,_0x354a0d:0x360,_0x33e1c2:0x214,_0x607110:0x18a,_0x443794:0x148,_0x34af1c:0x369,_0x16660b:0x1ef,_0x18f889:0x203,_0x374ef7:0x24a,_0x27ab3c:0x1d3,_0x2ca371:0x5fb,_0x100ef5:0x26c,_0x17b0df:0x3ae,_0x58a174:0x613},_0x39c37c={_0xd4743c:0x30},_0x38a1c3={};_0x38a1c3[_0x4f3668(0x946,0x6ab)]=function(_0x1ad496,_0x103552){return _0x1ad496!==_0x103552;};function _0x4f3668(_0x35b4c1,_0x1b890f){return _0x35d151(_0x35b4c1,_0x1b890f-_0x39c37c._0xd4743c);}_0x38a1c3[_0xb10061(0x924,_0x4e722a._0x3de8ed)]=function(_0x54f9a9,_0x47da08){return _0x54f9a9>_0x47da08;};function _0xb10061(_0x30257e,_0x26acde){return _0x35d151(_0x26acde,_0x30257e-0x429);}const _0x22271f=_0x38a1c3;this[_0x4f3668(0x686,_0x4e722a._0x2f76f3)+_0x4f3668(0x248,_0x4e722a._0x524a8f)](),this[_0xb10061(0x8cc,0x7d5)+'tTimer']=setInterval(()=>{const _0x2af810={_0x5524fa:0x78},_0x64b170=this[_0x37279d(_0x309dd0._0x229dbf,0x838)+_0x37279d(_0x309dd0._0x565c5c,_0x309dd0._0x433490)];function _0x37279d(_0x59b642,_0x30036b){return _0x4f3668(_0x30036b,_0x59b642-_0x2af810._0x5524fa);}if(!_0x64b170||_0x22271f[_0x393834(_0x309dd0._0x328a39,_0x309dd0._0xd96def)](_0x64b170[_0x37279d(0x52d,_0x309dd0._0x4d5432)+'te'],_0x42d174[_0x393834(_0x309dd0._0x439ce5,_0x309dd0._0x48513c)]))return;this[_0x37279d(_0x309dd0._0x75df93,_0x309dd0._0x599f48)+_0x393834(_0x309dd0._0x354a0d,_0x309dd0._0x33e1c2)+_0x393834(-0xb9,-_0x309dd0._0x607110)]();const _0x34df44=this[_0x37279d(0x499,0x32f)][_0x393834(0x12a,_0x309dd0._0x443794)+'tTimeout'+'Ms']??HEARTBEAT_TIMEOUT_MS;if(_0x22271f[_0x393834(_0x309dd0._0x34af1c,0x1a0)](Date[_0x393834(-0x3b7,-_0x309dd0._0x16660b)]()-this[_0x393834(_0x309dd0._0x18f889,_0x309dd0._0x374ef7)+_0x393834(0x2f4,_0x309dd0._0x27ab3c)+'yMs'],_0x34df44)){this[_0x393834(0x335,0x100)](_0x37279d(0x686,_0x309dd0._0x2ca371)+'artbeat\x20'+_0x37279d(_0x309dd0._0x100ef5,0xcc)+'t'),_0x64b170[_0x37279d(_0x309dd0._0x17b0df,0x222)+'e']();return;}function _0x393834(_0x51ddcf,_0x5eb89f){return _0x4f3668(_0x51ddcf,_0x5eb89f- -0x38b);}_0x64b170[_0x37279d(0x5dc,_0x309dd0._0x58a174)]();},this[_0xb10061(0x81a,0x57f)][_0xb10061(0x8cc,0xaf4)+'tInterva'+_0xb10061(_0x4e722a._0x59d54b,_0x4e722a._0x3c6be1)]??HEARTBEAT_INTERVAL_MS);}[_0x341e52(0x7ae,0x50c)+'tbeat'](){const _0x1bd39e={_0x44daa6:0x7e,_0x375fc1:0x753,_0x3c5da3:0x4c0,_0x4f9891:0x3d};function _0x561bcd(_0x410852,_0x45df83){return _0x35d151(_0x410852,_0x45df83- -0x1d3);}function _0x21b78b(_0x5c290c,_0x56899c){return _0x35d151(_0x5c290c,_0x56899c-0x2b0);}this['heartbea'+_0x561bcd(_0x1bd39e._0x44daa6,0x3d)]&&(clearInterval(this[_0x21b78b(0x506,_0x1bd39e._0x375fc1)+_0x21b78b(0x36c,_0x1bd39e._0x3c5da3)]),this[_0x21b78b(0x734,_0x1bd39e._0x375fc1)+_0x561bcd(0x19,_0x1bd39e._0x4f9891)]=null);}[_0x341e52(0x6bc,0x871)+_0x341e52(0x7eb,0x583)+_0x341e52(0x44d,0x527)](){const _0x32b0b3={_0x41d8ef:0x12d,_0x777882:0x251,_0x450d57:0x1b0,_0x5afee1:0x440,_0x1ff23d:0x1f8,_0x4b6446:0x277,_0x5afcd5:0x211,_0x4063f1:0x13d,_0x27ef99:0x11f,_0x23ca9b:0x10c,_0x307593:0x21b,_0x44268b:0x13e,_0xb4c6a8:0x223,_0xef4c9b:0x209,_0x3c2946:0x405,_0x59e4f2:0x247,_0x4cce10:0x3c1,_0x435ffb:0x5f4,_0x60e4ba:0x35f,_0x5a8695:0x1d7,_0xf62bac:0xdd,_0x4b966e:0x37e,_0x3dce54:0x157,_0x30e11d:0x3f},_0x1f10c9={_0xb8251f:0x309};function _0x44d995(_0x24a446,_0x19ec2e){return _0x35d151(_0x24a446,_0x19ec2e- -_0x1f10c9._0xb8251f);}const _0x29aaab={};_0x29aaab[_0x44d995(-_0x32b0b3._0x41d8ef,0x13e)]=function(_0x3f3363,_0x1c8b99){return _0x3f3363<_0x1c8b99;};const _0x18d8dd=_0x29aaab;if(this[_0x453acd(_0x32b0b3._0x777882,0x31)+_0x453acd(0x13d,-_0x32b0b3._0x450d57)+_0x453acd(_0x32b0b3._0x5afee1,_0x32b0b3._0x1ff23d)+'s']['size']===0x0)return;const _0x5e49cb=this['options'][_0x44d995(0x26a,-0x79)+'andshake'+_0x453acd(_0x32b0b3._0x4b6446,0x5c)+_0x44d995(-_0x32b0b3._0x5afcd5,0x93)]??CONNECT_HANDSHAKE_WARN_DELAY_MS;function _0x453acd(_0x23dbf2,_0x391b83){return _0x35d151(_0x391b83,_0x23dbf2- -0x9a);}const _0x1a6b6d=Date[_0x453acd(0xd2,0x25a)]();for(const [_0x2a9b52,_0x50e438]of this[_0x453acd(0x251,0x4df)+_0x453acd(_0x32b0b3._0x4063f1,_0x32b0b3._0x27ef99)+'andshake'+'s'][_0x44d995(-0x217,-_0x32b0b3._0x23ca9b)]()){const _0x1bc8d9=_0x1a6b6d-_0x50e438[_0x453acd(0x37f,0x4fb)+_0x44d995(0xa5,_0x32b0b3._0x307593)];if(_0x50e438[_0x453acd(0x478,0x51d)+'ingLogge'+'d']||_0x18d8dd[_0x44d995(0x445,_0x32b0b3._0x44268b)](_0x1bc8d9,_0x5e49cb))continue;_0x50e438[_0x44d995(_0x32b0b3._0xb4c6a8,_0x32b0b3._0xef4c9b)+_0x44d995(_0x32b0b3._0x3c2946,_0x32b0b3._0x59e4f2)+'d']=!![],this[_0x453acd(_0x32b0b3._0x4cce10,_0x32b0b3._0x435ffb)](_0x453acd(0x2e0,_0x32b0b3._0x60e4ba)+_0x44d995(-_0x32b0b3._0x5a8695,_0x32b0b3._0xf62bac)+_0x44d995(0x356,0x2cd)+_0x44d995(_0x32b0b3._0x4b966e,0x72)+'qId='+_0x2a9b52+_0x44d995(-_0x32b0b3._0x3dce54,-0x8a)+_0x50e438['method']+(_0x453acd(_0x32b0b3._0x30e11d,-0x267)+_0x44d995(0x2f7,0x2e1))+_0x1bc8d9);}}['pushPend'+'ingGatew'+_0x341e52(0x637,0x408)+'e'](_0x3ad95a){const _0x5d3e3e={_0x350287:0x247,_0x3b6749:0x8a4,_0x2a122c:0x34a,_0x5425f3:0x127,_0x489eb0:0x68e,_0x34f91f:0x4b7,_0x3d101e:0x468,_0x57b2df:0x46b},_0x4ae8b3={_0x2248fc:0x365};function _0x37fd6c(_0x3e4296,_0xba0c55){return _0x35d151(_0xba0c55,_0x3e4296- -0x3e);}this['pendingG'+_0x37fd6c(0x34a,_0x5d3e3e._0x350287)+_0x54fbb4(_0x5d3e3e._0x3b6749,0x85a)]['length']>=MAX_PENDING_GATEWAY_MESSAGES&&this['pendingG'+_0x37fd6c(_0x5d3e3e._0x2a122c,_0x5d3e3e._0x5425f3)+_0x37fd6c(0x4b7,0x67d)][_0x54fbb4(0x526,0x50c)]();function _0x54fbb4(_0x5064e3,_0x4d0b50){return _0x35d151(_0x5064e3,_0x4d0b50-_0x4ae8b3._0x2248fc);}this[_0x37fd6c(_0x5d3e3e._0x489eb0,0x96f)+_0x37fd6c(0x34a,0x142)+_0x37fd6c(_0x5d3e3e._0x34f91f,_0x5d3e3e._0x3d101e)][_0x37fd6c(0x5e7,_0x5d3e3e._0x57b2df)](_0x3ad95a);}[_0x341e52(0x5d7,0x826)+_0x341e52(0x552,0x6d6)+'ewayQueu'+'e'](){const _0x3ee0bb={_0x5262e7:0x446,_0x2eece1:0x2f6,_0x42b680:0x5e0,_0x454b0f:0x8c0,_0x2d1618:0x63a,_0x3de804:0x3cd,_0x1a1574:0x1ef,_0x386524:0x347,_0x3b6fe4:0x622,_0x82212a:0x789,_0xb53b6b:0x2f,_0x3f85e9:0x32b,_0x4d1cca:0x345,_0x56a373:0x37b},_0x2749c6={'DEUPv':function(_0x50d1cb,_0x24252c){return _0x50d1cb(_0x24252c);}};function _0x4b9d77(_0x3d518c,_0xb4b20e){return _0x35d151(_0xb4b20e,_0x3d518c- -0x77);}function _0xb26007(_0x2930f2,_0x357503){return _0x35d151(_0x357503,_0x2930f2- -0x92);}const _0x3df091=_0x2749c6[_0x4b9d77(0x3ad,0x5a2)](summarizePendingGatewayMessages,this[_0xb26007(0x63a,_0x3ee0bb._0x5262e7)+_0xb26007(_0x3ee0bb._0x2eece1,0x34a)+_0xb26007(0x463,_0x3ee0bb._0x42b680)]);if(_0x3df091['total']===0x0||_0x3df091['connectR'+_0xb26007(0x5ee,_0x3ee0bb._0x454b0f)]>0x0)return;this[_0xb26007(_0x3ee0bb._0x2d1618,_0x3ee0bb._0x3de804)+_0x4b9d77(0x311,0x9b)+_0x4b9d77(0x47e,0x37b)]=[],this['log'](_0x4b9d77(_0x3ee0bb._0x1a1574,_0x3ee0bb._0x386524)+_0xb26007(_0x3ee0bb._0x3b6fe4,_0x3ee0bb._0x82212a)+'le\x20gatew'+_0xb26007(0x213,-0x8b)+_0x4b9d77(0x555,0x46b)+_0x3df091[_0xb26007(0x124,_0x3ee0bb._0xb53b6b)]+_0xb26007(0x90,_0x3ee0bb._0x3f85e9)+_0x3df091[_0xb26007(0xb2,_0x3ee0bb._0x4d1cca)+'t']+'\x20binary='+_0x3df091[_0x4b9d77(_0x3ee0bb._0x56a373,0x3e6)]);}['observeC'+_0x35d151(0x519,0x4a4)+_0x341e52(0x3d3,0x5f3)](_0x4b291d,_0xd9479d){const _0x8a8318={_0x42dbb7:0x47a,_0x31db41:0x196,_0x8aef63:0xbe,_0xe48cdd:0xcf,_0x370e1e:0x10f,_0x485958:0xf1,_0x47dff4:0x81,_0x1ec754:0x24a,_0xb16420:0xa8,_0x35abb7:0x13c,_0x2dce6f:0x398,_0x3cc432:0x3a,_0x131152:0x135,_0x537aa3:0x158},_0x9a6efc={_0x5c4274:0x2cb},_0xb694f4={};_0xb694f4[_0x5e8279(0x3a4,_0x8a8318._0x42dbb7)]=_0x219fa2(0x24a,_0x8a8318._0x31db41)+'d';const _0x46c566=_0xb694f4,_0x49eda1=Date['now'](),_0x35292e=new Map(this[_0x5e8279(0x23e,0x407)][_0x219fa2(0x24a,-_0x8a8318._0x8aef63)+_0x219fa2(-_0x8a8318._0xe48cdd,-_0x8a8318._0x370e1e)][_0x219fa2(-_0x8a8318._0x485958,-_0x8a8318._0x47dff4)](_0x364ae8=>[_0x364ae8['id'],{..._0x364ae8}])),_0x228803=_0x35292e['get'](_0x4b291d)??{'id':_0x4b291d,'label':_0xd9479d,'state':_0x219fa2(_0x8a8318._0x1ec754,_0x8a8318._0xb16420)+'d','lastSeenMs':_0x49eda1};function _0x5e8279(_0x553ee6,_0x360f1a){return _0x35d151(_0x360f1a,_0x553ee6- -_0x9a6efc._0x5c4274);}_0x228803['label']=_0xd9479d,_0x228803[_0x5e8279(-_0x8a8318._0x35abb7,0xe9)]=_0x46c566['hqNtv'],_0x228803[_0x5e8279(_0x8a8318._0x2dce6f,0x3a5)+'Ms']=_0x49eda1,_0x35292e['set'](_0x4b291d,_0x228803);const _0x159b68=[..._0x35292e['values']()][_0x5e8279(_0x8a8318._0x3cc432,-0x1d1)]((_0x12c5e4,_0x50baf3)=>_0x50baf3[_0x219fa2(0x442,0x36d)+'Ms']-_0x12c5e4[_0x219fa2(0x442,0x64b)+'Ms'])[_0x5e8279(-_0x8a8318._0x131152,-_0x8a8318._0x537aa3)](0x0,MAX_DEVICE_DETAILS),_0x548d34={};_0x548d34['connecte'+'dDevices']=_0x159b68;function _0x219fa2(_0x9717d,_0x54d357){return _0x35d151(_0x54d357,_0x9717d- -0x221);}this[_0x219fa2(0xd3,0x24f)+_0x5e8279(0x23a,-0xbe)](_0x548d34);}['markDevi'+_0x341e52(0x38b,0x11f)+'t'](){const _0x56277c={_0x1c72ab:0x5a7,_0x47d31e:0x65d,_0x468982:0x4c0};function _0x1e7aab(_0x505e81,_0x481469){return _0x341e52(_0x481469- -0x128,_0x505e81);}function _0x1a2c69(_0x4c5ed5,_0x463cba){return _0x341e52(_0x463cba-0x114,_0x4c5ed5);}this['updateSn'+_0x1a2c69(0x782,0x895)]({'connectedDevices':this[_0x1e7aab(_0x56277c._0x1c72ab,_0x56277c._0x47d31e)]['connecte'+'dDevices'][_0x1a2c69(0x6e4,_0x56277c._0x468982)](_0x59e2d1=>({..._0x59e2d1,'state':_0x1a2c69(0x466,0x585)}))});}[_0x35d151(0x3af,0x551)+_0x35d151(0x138,0x100)+_0x35d151(0x8a5,0x6ee)](_0xaa7d63){const _0x2dc2cd={_0x4bf980:0x8f1,_0x26f774:0x85a,_0x23cdbe:0xab0,_0x3dc624:0xaff,_0x1231bc:0x85a,_0x39f89a:0x765,_0x565bc0:0x57e,_0x1e5f5e:0x7d9,_0x54da23:0x82d,_0x443159:0x5da,_0x477934:0xaad,_0x2bd108:0x988,_0x268139:0x969,_0x2bcd3b:0x873,_0x3f982e:0x7f4,_0x510b84:0x794,_0x43b8f0:0xa0f,_0x5db604:0xa35,_0x3af999:0x729,_0x440b76:0xb30},_0x2ba3ca={_0x4e65d9:0xda};if(this[_0x4d0433(_0x2dc2cd._0x4bf980,0x609)]['pendingP'+_0x2dae79(_0x2dc2cd._0x26f774,0x6dd)+'sts'][_0x4d0433(0x64d,0x92e)](_0x172f97=>_0x172f97['requestI'+'d']===_0xaa7d63['requestI'+'d']))return;function _0x4d0433(_0x491ce6,_0x4e8457){return _0x341e52(_0x491ce6-0x16c,_0x4e8457);}const _0x9d5923=[...this[_0x4d0433(0x8f1,_0x2dc2cd._0x23cdbe)][_0x2dae79(0x84f,_0x2dc2cd._0x3dc624)+_0x2dae79(_0x2dc2cd._0x1231bc,_0x2dc2cd._0x39f89a)+_0x4d0433(0x6ef,0x549)],_0xaa7d63][_0x4d0433(_0x2dc2cd._0x565bc0,0x858)](-MAX_PENDING_PAIR_REQUESTS);function _0x2dae79(_0x2fc520,_0xc4f43b){return _0x341e52(_0x2fc520-_0x2ba3ca._0x4e65d9,_0xc4f43b);}const _0x29a6b9={};_0x29a6b9['pendingP'+'airReque'+'sts']=_0x9d5923,this['updateSn'+'apshot'](_0x29a6b9),this[_0x4d0433(_0x2dc2cd._0x1e5f5e,0x593)][_0x4d0433(_0x2dc2cd._0x54da23,_0x2dc2cd._0x443159)+'gPairReq'+_0x2dae79(0x4f0,0x33c)]?.(_0xaa7d63),this[_0x2dae79(0x7b1,_0x2dc2cd._0x477934)](_0x2dae79(_0x2dc2cd._0x2bd108,0x749)+_0x4d0433(0xa7e,0x914)+_0x4d0433(_0x2dc2cd._0x268139,0x7a4)+_0x4d0433(_0x2dc2cd._0x2bcd3b,_0x2dc2cd._0x3f982e)+_0xaa7d63[_0x2dae79(_0x2dc2cd._0x510b84,0x8b2)+'d']+(_0x4d0433(_0x2dc2cd._0x43b8f0,0x8f0)+'d=')+(_0xaa7d63[_0x4d0433(_0x2dc2cd._0x5db604,_0x2dc2cd._0x3af999)]||_0x4d0433(0xaa6,_0x2dc2cd._0x440b76)+'>'));}['markPair'+_0x341e52(0x8a4,0xb11)+_0x341e52(0x564,0x399)](_0xff4d23,_0x3972cb){const _0x5a7b09={_0x4b3fb7:0x822,_0x8ff650:0x889,_0x5a7475:0x4ac,_0x24fb8b:0x7e6,_0x5a096c:0x7f1,_0x42c2d4:0x6d4,_0x104025:0x5e3,_0x1d6211:0x7e0,_0x5d4540:0x9b7,_0x1142c4:0x8df,_0x1b530d:0x8bd,_0x1ecb1c:0x34f,_0x4a2d7e:0x710,_0x1ddafc:0x7fd,_0x2f0543:0x903,_0x2e9cd9:0x6c0},_0x1c31f3={_0x499e1b:0x2ed};function _0xff22ae(_0x4f4c45,_0x5d21cd){return _0x35d151(_0x5d21cd,_0x4f4c45-_0x1c31f3._0x499e1b);}const _0x9df88c=this[_0xff22ae(0x7f6,_0x5a7b09._0x4b3fb7)]['pendingP'+_0x565786(0x706,_0x5a7b09._0x8ff650)+_0x565786(0x7a3,0x68c)][_0x565786(_0x5a7b09._0x5a7475,0x4b5)](_0x235b18=>_0x235b18['requestI'+'d']===_0xff4d23?{..._0x235b18,'status':_0x3972cb===_0x565786(0x5e8,0x507)||_0x3972cb===_0xff22ae(0x7f3,0x7e2)?_0x3972cb:_0x235b18[_0xff22ae(0x5ad,0x58c)]}:_0x235b18);function _0x565786(_0x148ec2,_0x5033fc){return _0x35d151(_0x148ec2,_0x5033fc-0x385);}const _0x2aabe2={};_0x2aabe2[_0xff22ae(_0x5a7b09._0x24fb8b,0x607)+_0xff22ae(_0x5a7b09._0x5a096c,_0x5a7b09._0x42c2d4)+_0xff22ae(0x5f4,0x80e)]=_0x9df88c,this[_0xff22ae(0x5e1,0x56e)+_0xff22ae(0x7f2,_0x5a7b09._0x104025)](_0x2aabe2),this[_0x565786(0x983,_0x5a7b09._0x1d6211)](_0x565786(0xc7f,_0x5a7b09._0x5d4540)+_0x565786(_0x5a7b09._0x1142c4,_0x5a7b09._0x1b530d)+_0xff22ae(0x605,_0x5a7b09._0x1ecb1c)+_0x565786(_0x5a7b09._0x4a2d7e,_0x5a7b09._0x1ddafc)+_0xff4d23+(_0x565786(_0x5a7b09._0x2f0543,_0x5a7b09._0x2e9cd9)+'n=')+_0x3972cb);}[_0x341e52(0x570,0x5c8)+_0x341e52(0x781,0x934)](_0x50b634){const _0x5a44c4={_0x304b59:0x40d,_0x52c657:0x5f1,_0x342003:0x1eb};function _0x36c593(_0x453f26,_0x1656bf){return _0x341e52(_0x1656bf- -0x2b,_0x453f26);}function _0x5b36cc(_0x1dd5e2,_0x2a5e57){return _0x341e52(_0x2a5e57- -0x49c,_0x1dd5e2);}Object['assign'](this[_0x5b36cc(0x3cf,0x2e9)],_0x50b634,{'lastUpdatedMs':Date['now']()}),this[_0x5b36cc(_0x5a44c4._0x304b59,0x1d1)][_0x36c593(0x4b4,0x41d)]?.(this[_0x36c593(0x561,_0x5a44c4._0x52c657)+_0x5b36cc(0x4ec,_0x5a44c4._0x342003)]());}[_0x35d151(0x619,0x45b)](_0x27bb93){const _0x19b058={_0x436f29:0x5af,_0xcc8452:0x680},_0x534f0d={_0x212a08:0xe6},_0x299c4b={_0x339725:0x75};function _0x3cd2ec(_0x2986b7,_0x1ab2aa){return _0x341e52(_0x2986b7-_0x299c4b._0x339725,_0x1ab2aa);}function _0x291dd3(_0x509359,_0x14c0b5){return _0x341e52(_0x509359- -_0x534f0d._0x212a08,_0x14c0b5);}this[_0x291dd3(0x587,_0x19b058._0x436f29)][_0x291dd3(0x835,_0x19b058._0xcc8452)]?.(_0x27bb93);}[_0x35d151(0x2cc,0xea)+'pen'](){const _0x11985c={_0x293c13:0x309},_0x47dc47={_0x2e7936:0x160};function _0xdb537a(_0x3073d0,_0x361186){return _0x35d151(_0x361186,_0x3073d0-_0x47dc47._0x2e7936);}function _0x3316d6(_0x4ea244,_0x8f93ff){return _0x35d151(_0x8f93ff,_0x4ea244-0x253);}return this[_0x3316d6(0x84a,0x7bb)+_0x3316d6(0x5fb,_0x11985c._0x293c13)]?.[_0xdb537a(0x5e5,0x6f5)+'te']===_0x42d174['OPEN'];}[_0x35d151(0x49a,0x6bc)+_0x341e52(0x6cc,0x3e7)](){const _0x5129c2={_0x4deecb:0x30,_0xd34d72:0x47b,_0x25cb8e:0x2ac,_0x266c40:0x1ac,_0x49b042:0x928,_0x67fdd0:0xae5};function _0x1a95dc(_0x170ead,_0x54719c){return _0x35d151(_0x54719c,_0x170ead-0x310);}function _0x43fe4c(_0x466a27,_0x122594){return _0x35d151(_0x122594,_0x466a27- -0x1d9);}return this[_0x43fe4c(0xa4,-_0x5129c2._0x4deecb)+_0x1a95dc(_0x5129c2._0xd34d72,0x354)]?.[_0x43fe4c(_0x5129c2._0x25cb8e,_0x5129c2._0x266c40)+'te']===_0x42d174[_0x1a95dc(_0x5129c2._0x49b042,_0x5129c2._0x67fdd0)];}[_0x35d151(0x4de,0x5e0)+_0x341e52(0x549,0x56c)](){const _0x58d7b2={_0x29f1e2:0x6e4,_0x2a2fb8:0x5db,_0x18e36b:0x855,_0x4129de:0x427,_0x1f8ab0:0x821,_0x28b897:0x8cb,_0x1c39dc:0x6d4,_0x408d47:0x821,_0x241346:0x625,_0x1f6e61:0x5c8},_0x210841={_0x39be01:0x2c0};this[_0x4a514d(_0x58d7b2._0x29f1e2,0x97f)+_0x4a514d(0x5ee,0x855)]();this[_0x4a243a(_0x58d7b2._0x2a2fb8,0x8dd)+_0x4a243a(0x4d0,0x5b4)]&&(clearTimeout(this[_0x4a243a(_0x58d7b2._0x2a2fb8,_0x58d7b2._0x18e36b)+'tTimer']),this[_0x4a514d(0x4cd,0x590)+_0x4a514d(0x3c2,_0x58d7b2._0x4129de)]=null);function _0x4a243a(_0x435e62,_0xa432bd){return _0x35d151(_0xa432bd,_0x435e62-_0x210841._0x39be01);}function _0x4a514d(_0x3e5fc3,_0x14b6a2){return _0x35d151(_0x14b6a2,_0x3e5fc3-0x1b2);}this[_0x4a243a(_0x58d7b2._0x1f8ab0,_0x58d7b2._0x28b897)+_0x4a243a(0x70a,_0x58d7b2._0x1c39dc)+'r']&&(clearTimeout(this[_0x4a243a(_0x58d7b2._0x408d47,0xa09)+_0x4a514d(0x5fc,_0x58d7b2._0x241346)+'r']),this['gatewayR'+_0x4a514d(0x5fc,_0x58d7b2._0x1f6e61)+'r']=null);}[_0x341e52(0x509,0x602)+_0x35d151(0x42a,0x4dc)](_0xd2c938){const _0x4dc045={_0x2c96f1:0x295,_0x50fd69:0x4ca},_0x4b5db6={_0x45a6af:0x85};function _0x320133(_0x21a838,_0x1d272f){return _0x35d151(_0x1d272f,_0x21a838- -_0x4b5db6._0x45a6af);}return _0xd2c938==null?null:Math[_0x320133(_0x4dc045._0x2c96f1,_0x4dc045._0x50fd69)](0x0,Date['now']()-_0xd2c938);}};function shouldKeepGatewayConnected(_0x1eaa7f,_0x32b029){const _0x24ed67={_0x54150e:0x1de},_0x59c919={_0x20f939:0x546};function _0x10c2fc(_0x5df3da,_0x3cf99a){return _0x341e52(_0x3cf99a- -_0x59c919._0x20f939,_0x5df3da);}const _0x2e9bf4={};function _0xf633b2(_0x8e94a5,_0xf2c35c){return _0x341e52(_0x8e94a5- -0x424,_0xf2c35c);}_0x2e9bf4[_0x10c2fc(-0x9b,0x1de)]=function(_0x59c6ad,_0x489221){return _0x59c6ad>_0x489221;};const _0x479862=_0x2e9bf4;return _0x1eaa7f>0x0||_0x479862[_0x10c2fc(0x207,_0x24ed67._0x54150e)](_0x32b029,0x0);}function shouldScheduleGatewayIdleClose(_0x58a689,_0x3c8901,_0x1d51f7){return _0x1d51f7&&!shouldKeepGatewayConnected(_0x58a689,_0x3c8901);}function shouldRecycleGatewayForFreshClient(_0x2c5ff0,_0x4186dc,_0x1a6927,_0x1bf0e9){const _0x5a8e8b={_0x321eab:0x59e,_0x5165ff:0x321},_0x23e817={_0xfb54e9:0x141},_0x4e9d8c={};_0x4e9d8c[_0x3c8708(_0x5a8e8b._0x321eab,_0x5a8e8b._0x5165ff)]=function(_0x55c04f,_0x11cb15){return _0x55c04f===_0x11cb15;};const _0x3f635c=_0x4e9d8c;function _0x3c8708(_0x6a7589,_0x3d2790){return _0x341e52(_0x3d2790- -_0x23e817._0xfb54e9,_0x6a7589);}return _0x1a6927&&_0x4186dc>0x0&&(_0x3f635c['aBveh'](_0x2c5ff0,0x0)||_0x1bf0e9);}function summarizePendingGatewayMessages(_0x4f02e7){const _0x37e360={_0x5bc723:0x5ac,_0x749630:0x589,_0x523e55:0x837,_0x1243e5:0x87e,_0xe53baf:0xafd,_0x3740a4:0x881,_0x1d5a52:0x72b,_0x74238e:0x621,_0x54c7fd:0x8a0,_0x3ac0a1:0xc8f},_0x8627e7={_0x26ed6f:0x3f6},_0x359234={'ufdGU':'binary','eohAc':function(_0x2dcf6f,_0x24dea1){return _0x2dcf6f(_0x24dea1);}},_0x52d26e={};function _0x5dbb14(_0x1ebefd,_0x503384){return _0x35d151(_0x1ebefd,_0x503384-_0x8627e7._0x26ed6f);}_0x52d26e[_0x5dbb14(0x771,_0x37e360._0x5bc723)]=_0x4f02e7[_0x5e29e3(0xa32,0x7d7)],_0x52d26e['connectR'+_0x5e29e3(0xac5,0xdcd)]=0x0,_0x52d26e[_0x5e29e3(_0x37e360._0x749630,0x80f)+'t']=0x0;function _0x5e29e3(_0x497d9f,_0x381eb0){return _0x35d151(_0x381eb0,_0x497d9f-0x445);}_0x52d26e[_0x5e29e3(_0x37e360._0x523e55,_0x37e360._0x1243e5)]=0x0;const _0x27e502=_0x52d26e;for(const _0x33d5b1 of _0x4f02e7){if(_0x33d5b1[_0x5e29e3(_0x37e360._0xe53baf,_0x37e360._0x3740a4)]===_0x359234[_0x5e29e3(0x704,_0x37e360._0x1d5a52)]){_0x27e502[_0x5dbb14(_0x37e360._0x74238e,0x7e8)]+=0x1;continue;}if(_0x359234[_0x5dbb14(_0x37e360._0x54c7fd,0x9a8)](isConnectHandshakeRequest,_0x33d5b1[_0x5e29e3(0x641,0x53b)])){_0x27e502[_0x5dbb14(_0x37e360._0x3ac0a1,0x9fd)+'equests']+=0x1;continue;}_0x27e502[_0x5dbb14(0x4bf,0x53a)+'t']+=0x1;}return _0x27e502;}function dedupePendingGatewayMessages(_0x1bb665){const _0x84db3a={_0x6a7808:0x44d,_0x47c952:0x8b9,_0x290208:0x192,_0x15f166:0xc,_0x5d02eb:0x1be,_0x24c520:0x7ae,_0x398ca7:0x61e,_0x2d3044:0x7ee,_0xb9d381:0x92,_0x4028cb:0x38e},_0x3e537c={_0x32369a:0x4db},_0x658013={_0x58c524:0x7b};function _0x44499a(_0x2bd180,_0x21862b){return _0x341e52(_0x2bd180- -_0x658013._0x58c524,_0x21862b);}const _0x126c24={};_0x126c24[_0x44499a(0x6dc,_0x84db3a._0x6a7808)]=function(_0x2fb676,_0x29eeb4){return _0x2fb676<=_0x29eeb4;};const _0x15c2e8=_0x126c24;let _0x19eab1=-0x1;for(let _0x5266b7=_0x1bb665['length']-0x1;_0x5266b7>=0x0;_0x5266b7-=0x1){const _0x1994ec=_0x1bb665[_0x5266b7];if(_0x1994ec?.[_0x44499a(_0x84db3a._0x47c952,0x8bc)]===_0x44499a(0x3fd,0x149)&&isConnectHandshakeRequest(_0x1994ec[_0x18d80f(-_0x84db3a._0x290208,-0x63)])){_0x19eab1=_0x5266b7;break;}}if(_0x15c2e8[_0x44499a(0x6dc,0x9cf)](_0x19eab1,0x0)){const _0x4c92f5={};return _0x4c92f5[_0x44499a(0x7ae,0x7d2)]=[..._0x1bb665],_0x4c92f5[_0x18d80f(_0x84db3a._0x15f166,_0x84db3a._0x5d02eb)]=0x0,_0x4c92f5;}const _0x37edaa=_0x1bb665['filter']((_0x483d73,_0x4398e7)=>_0x4398e7>=_0x19eab1||(_0x483d73[_0x18d80f(0x24c,0x459)]!==_0x44499a(0x3fd,0x5e5)||!isConnectHandshakeRequest(_0x483d73[_0x18d80f(-0x2a6,-0x63)]))),_0x4b4d24={};function _0x18d80f(_0x4358f4,_0x5a4e34){return _0x341e52(_0x5a4e34- -_0x3e537c._0x32369a,_0x4358f4);}return _0x4b4d24[_0x44499a(_0x84db3a._0x24c520,0x845)]=_0x37edaa,_0x4b4d24[_0x44499a(_0x84db3a._0x398ca7,0x451)]=_0x1bb665[_0x44499a(_0x84db3a._0x2d3044,0x7a3)]-_0x37edaa[_0x18d80f(_0x84db3a._0xb9d381,_0x84db3a._0x4028cb)],_0x4b4d24;}function prunePendingGatewayMessagesForFreshDemand(_0x3e9df3){const _0x59c5b0={_0x1680d3:0x7e,_0x1cfbb2:0x761,_0xce1344:0x501,_0x4e02e0:0x15f,_0x145a1f:0x16f,_0x5daa96:0x331,_0x4db54c:0x346,_0x2ba732:0x118,_0x223f75:0x14,_0x234a7d:0x729,_0x515fe9:0x15a,_0xa7d37c:0x6d,_0x40c29d:0x7a0,_0x43aee8:0x501,_0x446efe:0xaa,_0x20025f:0x28e,_0xd18115:0x3d8,_0x5c9df5:0x318},_0x59acdc={_0x10208d:0x40b},_0x3851e0={};_0x3851e0[_0x58c4ad(-_0x59c5b0._0x1680d3,0xb7)]=function(_0x13f39a,_0x36d91d){return _0x13f39a===_0x36d91d;},_0x3851e0[_0x58c4ad(0x687,0x3d8)]=function(_0x191a3c,_0x3f1bd0){return _0x191a3c-_0x3f1bd0;};const _0x8a45c3=_0x3851e0;if(_0x3e9df3[_0x58c4ad(_0x59c5b0._0x1cfbb2,_0x59c5b0._0xce1344)]===0x0){const _0x164489={};return _0x164489[_0xf3890f(_0x59c5b0._0x4e02e0,0x41e)]=[],_0x164489[_0x58c4ad(_0x59c5b0._0x145a1f,_0x59c5b0._0x5daa96)]=0x0,_0x164489;}function _0xf3890f(_0x3cc0f4,_0x16d7b1){return _0x341e52(_0x16d7b1- -_0x59acdc._0x10208d,_0x3cc0f4);}let _0x176078=-0x1;for(let _0x30a707=_0x3e9df3[_0x58c4ad(_0x59c5b0._0x4db54c,0x501)]-0x1;_0x30a707>=0x0;_0x30a707-=0x1){const _0x482e9f=_0x3e9df3[_0x30a707];if(_0x8a45c3[_0xf3890f(-_0x59c5b0._0x2ba732,_0x59c5b0._0x223f75)](_0x482e9f?.[_0xf3890f(_0x59c5b0._0x234a7d,0x529)],_0x58c4ad(-0x11c,0x110))&&isConnectHandshakeRequest(_0x482e9f[_0xf3890f(-_0x59c5b0._0x515fe9,_0x59c5b0._0xa7d37c)])){_0x176078=_0x30a707;break;}}function _0x58c4ad(_0x44912d,_0x2f61f7){return _0x341e52(_0x2f61f7- -0x368,_0x44912d);}if(_0x176078===-0x1){const _0x358335={};return _0x358335[_0xf3890f(0x266,0x41e)]=[],_0x358335['dropped']=_0x3e9df3[_0x58c4ad(_0x59c5b0._0x40c29d,_0x59c5b0._0x43aee8)],_0x358335;}const _0x1aea89=_0x3e9df3[_0x58c4ad(-0x1d,_0x59c5b0._0x446efe)](_0x176078);return{'messages':_0x1aea89,'dropped':_0x8a45c3[_0x58c4ad(_0x59c5b0._0x20025f,_0x59c5b0._0xd18115)](_0x3e9df3[_0x58c4ad(_0x59c5b0._0x5c9df5,_0x59c5b0._0xce1344)],_0x1aea89['length'])};}function patchConnectRequestGatewayAuth(_0x2ad4da,_0x56c90f){const _0x517f6c={_0x449987:0x32f,_0x5efd68:0x28d,_0x50aad6:0x38e,_0x5ec0f4:0x7c5,_0x4ff7d2:0x742,_0x47ad61:0x43c,_0x112169:0x5e8,_0x7dfc29:0x90f,_0x19eea5:0x2c1,_0x13de4d:0x4b9,_0x3a0a45:0x5bf,_0x49440b:0x3f7,_0x3eff39:0xc27,_0x3276b1:0x989,_0x38f121:0x8a2,_0x49275e:0x6ed,_0x44eff4:0x32e,_0x23e803:0xa82,_0x11b5c5:0x8dc,_0x31e09d:0x73d,_0x3a2cda:0x71b,_0x184391:0x1ef,_0x378724:0x5b4,_0x39a449:0x5b4,_0x49eed6:0x68f,_0x2420f3:0x43c,_0x5f1d03:0x5f0,_0xf571ec:0x4ae,_0x1ae876:0x689,_0x244a85:0x71a,_0x73a898:0x9f9,_0x27be1f:0x8db,_0x48c007:0x245,_0x4559a9:0x859,_0x5e4281:0x5b4,_0x2189eb:0x766},_0x27fe83={_0x1e0fb1:0x368},_0x382855={};_0x382855[_0x59fdd7(_0x517f6c._0x449987,0x49b)]=_0x1e4aa9(_0x517f6c._0x5efd68,_0x517f6c._0x50aad6);function _0x1e4aa9(_0x39ff79,_0x412f0f){return _0x35d151(_0x39ff79,_0x412f0f-0x1fb);}_0x382855[_0x59fdd7(0xa11,0x9aa)]=function(_0x471568,_0x165434){return _0x471568!==_0x165434;};function _0x59fdd7(_0x118fe2,_0x340817){return _0x35d151(_0x118fe2,_0x340817-_0x27fe83._0x1e0fb1);}_0x382855[_0x59fdd7(_0x517f6c._0x5ec0f4,_0x517f6c._0x4ff7d2)]=_0x1e4aa9(0x747,_0x517f6c._0x47ad61),_0x382855[_0x1e4aa9(_0x517f6c._0x112169,0x449)]=function(_0x5b7847,_0x3abcd3){return _0x5b7847===_0x3abcd3;},_0x382855[_0x59fdd7(0x77d,_0x517f6c._0x7dfc29)]='string';const _0x100ca0=_0x382855;if(_0x56c90f[_0x1e4aa9(_0x517f6c._0x19eea5,0x404)]!==_0x59fdd7(_0x517f6c._0x13de4d,0x7ba)||!_0x56c90f['password']){const _0x1aef82={};return _0x1aef82[_0x1e4aa9(_0x517f6c._0x3a0a45,_0x517f6c._0x49440b)]=_0x2ad4da,_0x1aef82['injected']=![],_0x1aef82;}try{const _0x570113=JSON[_0x59fdd7(_0x517f6c._0x3eff39,_0x517f6c._0x3276b1)](_0x2ad4da);if(_0x570113[_0x1e4aa9(_0x517f6c._0x38f121,_0x517f6c._0x49275e)]!==_0x100ca0[_0x1e4aa9(0x4d8,_0x517f6c._0x44eff4)]||_0x100ca0[_0x1e4aa9(0x926,0x83d)](_0x570113[_0x59fdd7(_0x517f6c._0x23e803,_0x517f6c._0x11b5c5)],_0x1e4aa9(0x62e,0x3ca))&&_0x570113[_0x59fdd7(0x85a,0x8dc)]!==_0x1e4aa9(0xa2a,_0x517f6c._0x31e09d)+_0x59fdd7(0x7e9,_0x517f6c._0x3a2cda)){const _0x3992f0={};return _0x3992f0[_0x1e4aa9(_0x517f6c._0x184391,0x3f7)]=_0x2ad4da,_0x3992f0['injected']=![],_0x3992f0;}const _0x4a1857=_0x570113['params']&&typeof _0x570113[_0x1e4aa9(0x58a,_0x517f6c._0x378724)]===_0x100ca0[_0x1e4aa9(0x7b5,0x5d5)]?{..._0x570113[_0x1e4aa9(0x4b3,_0x517f6c._0x39a449)]}:{},_0x18cf2d=_0x4a1857[_0x59fdd7(0x341,0x61b)]&&_0x100ca0[_0x1e4aa9(_0x517f6c._0x49eed6,0x449)](typeof _0x4a1857[_0x1e4aa9(0x65e,0x4ae)],_0x1e4aa9(0x444,_0x517f6c._0x2420f3))?{..._0x4a1857[_0x1e4aa9(_0x517f6c._0x5f1d03,_0x517f6c._0xf571ec)]}:{},_0x2ab184=typeof _0x18cf2d[_0x59fdd7(_0x517f6c._0x1ae876,0x7ba)]===_0x100ca0[_0x59fdd7(_0x517f6c._0x244a85,_0x517f6c._0x7dfc29)]?_0x18cf2d[_0x1e4aa9(0x7f9,0x64d)]['trim']():'';if(_0x2ab184){const _0x46ac22={};return _0x46ac22['text']=_0x2ad4da,_0x46ac22[_0x59fdd7(_0x517f6c._0x73a898,_0x517f6c._0x27be1f)]=![],_0x46ac22;}_0x18cf2d['password']=_0x56c90f['password'],_0x4a1857[_0x1e4aa9(_0x517f6c._0x48c007,0x4ae)]=_0x18cf2d;const _0xe325d0={..._0x570113};return _0xe325d0[_0x1e4aa9(_0x517f6c._0x4559a9,_0x517f6c._0x5e4281)]=_0x4a1857,{'text':JSON[_0x59fdd7(_0x517f6c._0x2189eb,0x864)+'y'](_0xe325d0),'injected':!![]};}catch{const _0x24bca2={};return _0x24bca2['text']=_0x2ad4da,_0x24bca2[_0x1e4aa9(0x891,0x76e)]=![],_0x24bca2;}}function formatConnectHandshakeMetaForLog(_0x29859){const _0xcf36={_0x45385d:0x56f,_0x2499c7:0x805,_0x58f123:0x380,_0x23eab1:0x4a2,_0x374f6e:0x54f,_0xa704d1:0x6a1,_0x18cef6:0x57f,_0x272793:0x1c1,_0x33da43:0x3b3,_0xe54eac:0x5d0,_0x5071fc:0x4b6,_0xbf408d:0x54e,_0x2b2252:0x317,_0x274ae1:0x28e,_0xe0ff0f:0x24e,_0x37dc91:0x61c,_0x4f344d:0x608},_0xeac8a1={_0x173786:0x248},_0xe96087={};_0xe96087[_0x5af842(0x5c4,0x71e)]=_0x5af842(_0xcf36._0x45385d,0x5bd);function _0x5af842(_0x156f70,_0x1effb2){return _0x341e52(_0x1effb2- -_0xeac8a1._0x173786,_0x156f70);}const _0x38a422=_0xe96087;if(!_0x29859)return'';function _0x4b97e0(_0x33f2ba,_0x960dd){return _0x341e52(_0x960dd- -0x340,_0x33f2ba);}return'\x20method='+_0x29859[_0x5af842(_0xcf36._0x2499c7,0x5a8)]+_0x4b97e0(0x5c7,_0xcf36._0x58f123)+(_0x29859['id']??_0x4b97e0(0x7a7,0x4c5))+(_0x5af842(_0xcf36._0x23eab1,_0xcf36._0x374f6e)+_0x4b97e0(_0xcf36._0xa704d1,_0xcf36._0x18cef6))+_0x29859['noncePre'+_0x4b97e0(_0xcf36._0x272793,_0xcf36._0x33da43)]+('\x20nonceLe'+_0x5af842(0x493,0x220))+(_0x29859[_0x4b97e0(_0xcf36._0xe54eac,_0xcf36._0x5071fc)+'gth']??0x0)+(_0x4b97e0(0x620,0x499)+_0x4b97e0(0x5d6,_0xcf36._0xbf408d))+(_0x29859[_0x4b97e0(_0xcf36._0x2b2252,0x24e)+'ds'][_0x4b97e0(0x3f5,0x529)]>0x0?_0x29859[_0x4b97e0(_0xcf36._0x274ae1,_0xcf36._0xe0ff0f)+'ds'][_0x4b97e0(0x71a,_0xcf36._0x37dc91)](','):_0x38a422[_0x5af842(_0xcf36._0x4f344d,0x71e)]);}function parseBootstrapRequestPayload(_0x4d5cdd){const _0x396826={_0x506b30:0x8c7,_0x3dd2b7:0xd7,_0x1a76b8:0x87,_0x3e4cb6:0x192,_0x59553b:0x2d5,_0xe96e7:0x3c3,_0xf9d971:0x151,_0x103e58:0x181,_0x4df322:0xb7,_0x1f2429:0xfb,_0x55cd12:0x463,_0x43ad1f:0xbd3,_0x84cbd3:0x598,_0xeb6450:0x6aa,_0x2d1077:0x8c9,_0x3431d1:0x32a,_0x4ab12a:0xaa,_0x56dd8e:0x315,_0x10112c:0x35,_0x159257:0x2f2,_0x192fd6:0x11f,_0x108ea3:0x1dd,_0x24770e:0x121,_0xc64f54:0x71,_0x15821d:0x42c,_0x2f5573:0x6ec,_0x40ace3:0x13e,_0x50a683:0x23,_0xcd4b7e:0x228,_0x5d02c4:0xaa,_0x3a01f9:0x3,_0x164c90:0x145,_0x134c69:0x13e,_0x34bdf4:0x47b,_0x358a65:0x586,_0x4c71fa:0x3d3,_0x732f9b:0x35a,_0x368750:0x6ea,_0x4c6f70:0x659,_0x56738e:0x409,_0x482b84:0x3d9},_0x372d5c={_0x398728:0x2b5},_0x203657={'utVUa':function(_0x20f7d1,_0x24f897){return _0x20f7d1(_0x24f897);},'NGbJZ':_0x36e3b2(0x686,_0x396826._0x506b30)+_0x285060(_0x396826._0x3dd2b7,_0x396826._0x1a76b8),'NLgdc':'payload.'+_0x285060(_0x396826._0x3e4cb6,_0x396826._0x59553b)+_0x36e3b2(0x452,0x454)+_0x36e3b2(0x3c1,_0x396826._0xe96e7)+_0x285060(_0x396826._0xf9d971,0x59)+_0x36e3b2(0x933,0xbdc)};function _0x285060(_0x1f6544,_0x27f621){return _0x35d151(_0x27f621,_0x1f6544- -0x250);}if(!_0x4d5cdd){const _0x305b8f={};return _0x305b8f['ok']=![],_0x305b8f[_0x285060(-0x13e,-0x1f)]=_0x285060(_0x396826._0x103e58,0x1a1)+'request',_0x305b8f[_0x285060(-_0x396826._0x4df322,-_0x396826._0x1f2429)]='bootstra'+_0x36e3b2(_0x396826._0x55cd12,0x32d)+'t\x20payloa'+'d\x20is\x20req'+'uired',_0x305b8f;}const _0x2737e7=readRequiredString(_0x4d5cdd[_0x36e3b2(0x902,_0x396826._0x43ad1f)]),_0x306afa=_0x203657[_0x36e3b2(_0x396826._0x84cbd3,0x4af)](readRequiredString,_0x4d5cdd[_0x285060(0x1dd,0x117)+'y']),_0x3f9a64=readRequiredString(_0x4d5cdd[_0x36e3b2(0x6ea,0x831)]),_0x5cb4e2=normalizeScopeList(_0x4d5cdd[_0x36e3b2(_0x396826._0xeb6450,_0x396826._0x2d1077)]);if(!_0x2737e7){const _0xc33c03={};return _0xc33c03['ok']=![],_0xc33c03[_0x285060(-0x13e,-_0x396826._0x3431d1)]=_0x36e3b2(0x686,0x991)+'request',_0xc33c03[_0x285060(-0xb7,0x35)]=_0x285060(_0x396826._0x4ab12a,_0x396826._0x56dd8e)+_0x285060(0x3fd,0x41b)+_0x285060(0x496,0x506)+_0x285060(0x1c5,-_0x396826._0x10112c),_0xc33c03;}if(!_0x306afa){const _0x264fd7={};return _0x264fd7['ok']=![],_0x264fd7[_0x36e3b2(0x3c7,0x3be)]=_0x285060(0x181,_0x396826._0x159257)+_0x285060(_0x396826._0x3dd2b7,-_0x396826._0x192fd6),_0x264fd7[_0x36e3b2(0x44e,0x4a7)]=_0x285060(0xaa,0x69)+_0x285060(_0x396826._0x108ea3,-_0x396826._0x24770e)+_0x285060(0x307,_0x396826._0xc64f54)+_0x285060(_0x396826._0x15821d,_0x396826._0x2f5573),_0x264fd7;}if(!_0x3f9a64){const _0x56af45={};return _0x56af45['ok']=![],_0x56af45[_0x285060(-_0x396826._0x40ace3,_0x396826._0x50a683)]=_0x203657[_0x36e3b2(0x47b,0x389)],_0x56af45[_0x36e3b2(0x44e,_0x396826._0xcd4b7e)]=_0x285060(_0x396826._0x5d02c4,-_0x396826._0x3a01f9)+_0x285060(-_0x396826._0x164c90,0x12f)+'required',_0x56af45;}if(_0x5cb4e2['length']===0x0){const _0x463d3d={};return _0x463d3d['ok']=![],_0x463d3d[_0x285060(-_0x396826._0x134c69,-0x1d6)]=_0x203657[_0x36e3b2(_0x396826._0x34bdf4,_0x396826._0x358a65)],_0x463d3d[_0x285060(-0xb7,-0x39a)]=_0x203657[_0x36e3b2(_0x396826._0x4c71fa,0x256)],_0x463d3d;}const _0xd1f01b={};_0xd1f01b[_0x285060(0x3fd,_0x396826._0x732f9b)]=_0x2737e7,_0xd1f01b[_0x36e3b2(0x6e2,0x5fe)+'y']=_0x306afa,_0xd1f01b[_0x36e3b2(_0x396826._0x368750,_0x396826._0x4c6f70)]=_0x3f9a64,_0xd1f01b[_0x285060(0x1a5,_0x396826._0x56738e)]=_0x5cb4e2;function _0x36e3b2(_0x1fabc4,_0x357ef7){return _0x35d151(_0x357ef7,_0x1fabc4-_0x372d5c._0x398728);}const _0x52998c={};return _0x52998c['ok']=!![],_0x52998c[_0x285060(-0x12f,-_0x396826._0x482b84)]=_0xd1f01b,_0x52998c;}function readRequiredString(_0x292619){const _0x15cea7={_0x17e2cb:0x142,_0x5749d7:0x151,_0x29452f:0x6d},_0x375f58={_0x53cda2:0x2af},_0x1b41a9={_0x124961:0x14d},_0x20eac={};_0x20eac['XSzKZ']=_0x4cb553(_0x15cea7._0x17e2cb,-_0x15cea7._0x5749d7);const _0x215481=_0x20eac;function _0x1d5a20(_0x9d651a,_0x2e5d26){return _0x35d151(_0x9d651a,_0x2e5d26- -_0x1b41a9._0x124961);}function _0x4cb553(_0x5a472a,_0x26f5ca){return _0x35d151(_0x5a472a,_0x26f5ca- -_0x375f58._0x53cda2);}return typeof _0x292619===_0x215481[_0x1d5a20(0x2b6,0x4de)]?_0x292619[_0x4cb553(_0x15cea7._0x29452f,0xd8)]():'';}function normalizeScopeList(_0xa0e88a){const _0x2951bf={_0x23c1da:0x254,_0x557e86:0x1b,_0x8e375b:0x107,_0x5c4368:0x33,_0x4a8533:0x36a,_0x32e1e1:0x1e1},_0x516c6f={_0x489918:0x280};if(!Array[_0x484fea(-0xa6,-_0x2951bf._0x23c1da)](_0xa0e88a))return[];function _0x333a65(_0x5ee5ff,_0x5ed088){return _0x35d151(_0x5ed088,_0x5ee5ff-0x65);}function _0x484fea(_0x3dfca5,_0xb0a0a0){return _0x35d151(_0xb0a0a0,_0x3dfca5- -_0x516c6f._0x489918);}const _0x6cbc77=new Set();for(const _0x3def31 of _0xa0e88a){if(typeof _0x3def31!==_0x333a65(0x1c3,-_0x2951bf._0x557e86))continue;const _0x327745=_0x3def31[_0x484fea(_0x2951bf._0x8e375b,-_0x2951bf._0x5c4368)]();_0x327745&&_0x6cbc77[_0x484fea(0x409,0x400)](_0x327745);}return[..._0x6cbc77][_0x333a65(_0x2951bf._0x4a8533,_0x2951bf._0x32e1e1)]();}function buildRelayWsUrl(_0x9b7c50){const _0x3d2de3={_0x2195d0:0x3d0,_0x423541:0x18b,_0x88b74a:0x394,_0x4219d8:0x574,_0x48f60a:0x3a5,_0x30d4da:0x694,_0x1b4995:0x601,_0x2fa67e:0x3b4,_0x39b807:0x618,_0x4fc704:0x4b0,_0x96bf05:0x1ae,_0x6050b2:0x68f,_0x56d770:0x4e2,_0x5ac1af:0x4c0},_0x5ade3e={_0x49d977:0x184},_0x32736f={_0x41c73e:0x1a1},_0x2de176={};_0x2de176['FljRI']=_0x602798(0x526,_0x3d2de3._0x2195d0),_0x2de176[_0x28ded4(_0x3d2de3._0x423541,0x33d)]='gateway';const _0x57f48c=_0x2de176,_0x34bc2b=new URL(_0x9b7c50[_0x28ded4(0x19d,_0x3d2de3._0x88b74a)]);(!_0x34bc2b['pathname']||_0x34bc2b[_0x602798(0x5e4,_0x3d2de3._0x4219d8)]==='/')&&(_0x34bc2b['pathname']=_0x57f48c['FljRI']);_0x34bc2b['searchPa'+'rams']['set'](_0x28ded4(_0x3d2de3._0x48f60a,_0x3d2de3._0x30d4da)+'d',_0x9b7c50['gatewayI'+'d']);function _0x602798(_0x46d753,_0x5f417a){return _0x35d151(_0x5f417a,_0x46d753-_0x32736f._0x41c73e);}_0x34bc2b[_0x602798(_0x3d2de3._0x1b4995,_0x3d2de3._0x2fa67e)+'rams'][_0x28ded4(0x2db,0x1f1)](_0x602798(0x5d6,_0x3d2de3._0x39b807),_0x57f48c[_0x602798(_0x3d2de3._0x4fc704,0x524)]);function _0x28ded4(_0x45ef3b,_0x450e3f){return _0x35d151(_0x450e3f,_0x45ef3b- -_0x5ade3e._0x49d977);}return _0x34bc2b['searchPa'+_0x28ded4(0x42d,0x5af)]['set']('clientId',_0x9b7c50[_0x602798(0x70a,0x479)+'Id']),_0x34bc2b[_0x28ded4(0x2dc,0x403)+_0x28ded4(0x42d,_0x3d2de3._0x96bf05)]['set'](_0x602798(_0x3d2de3._0x6050b2,_0x3d2de3._0x56d770),_0x9b7c50['relaySec'+'ret']),_0x34bc2b[_0x602798(_0x3d2de3._0x5ac1af,0x5fb)]();}function redactRelayWsUrl(_0x2fd4d3){const _0x8dd494={_0x25e609:0x5fb,_0x85557d:0x773,_0x532aba:0x5ed,_0x19df10:0x17c,_0x3b7adc:0x91a,_0x557485:0xa38,_0x1efc80:0x74e,_0x47f58a:0x5f1,_0x1918d0:0x1f5},_0x17dd6c={_0x4ffd10:0x285},_0x12643e={_0x1a4cf7:0x166};function _0x41e4cd(_0x28de73,_0x7dd4ed){return _0x35d151(_0x28de73,_0x7dd4ed- -_0x12643e._0x1a4cf7);}function _0x4a2f44(_0x4dcd47,_0x2ae2aa){return _0x35d151(_0x2ae2aa,_0x4dcd47-_0x17dd6c._0x4ffd10);}const _0x31e43a={};_0x31e43a[_0x4a2f44(_0x8dd494._0x25e609,0x314)]=_0x4a2f44(_0x8dd494._0x85557d,_0x8dd494._0x532aba);const _0x3619ab=_0x31e43a,_0x2dc1d0=new URL(_0x2fd4d3);return _0x2dc1d0['searchPa'+_0x41e4cd(_0x8dd494._0x19df10,0x44b)][_0x4a2f44(_0x8dd494._0x3b7adc,_0x8dd494._0x557485)](_0x3619ab['mikqf'])&&_0x2dc1d0[_0x4a2f44(0x6e5,_0x8dd494._0x1efc80)+'rams']['set'](_0x4a2f44(0x773,_0x8dd494._0x47f58a),_0x4a2f44(0x6a6,0x47e)+'d>'),_0x2dc1d0[_0x41e4cd(_0x8dd494._0x1918d0,0x1b9)]();}function normalizeText(_0x5e0188){const _0x51d79f={_0x380d2c:0x864,_0x420f23:0xa97,_0x1bcd95:0x8e9,_0x58f12f:0x8df,_0x185111:0x477,_0x2a997c:0x4db,_0x464ef3:0x84b,_0x1e6fdb:0x92e,_0x4196ec:0x864,_0x479999:0x3ec,_0x133cea:0x76d},_0x4b0985={_0x2bd971:0x29d},_0x1e6ea4={};_0x1e6ea4[_0xe845aa(0x8e9,0xbc9)]=function(_0x5c47e6,_0x5dc678){return _0x5c47e6===_0x5dc678;};function _0xe845aa(_0x23e1c5,_0x2134dc){return _0x35d151(_0x2134dc,_0x23e1c5-0x44e);}_0x1e6ea4[_0xe845aa(_0x51d79f._0x380d2c,_0x51d79f._0x420f23)]=function(_0x593374,_0xfd1804){return _0x593374 instanceof _0xfd1804;};const _0x42de00=_0x1e6ea4;if(_0x42de00[_0xe845aa(_0x51d79f._0x1bcd95,0x8ee)](typeof _0x5e0188,'string'))return _0x5e0188;if(Buffer['isBuffer'](_0x5e0188))return _0x5e0188[_0xe845aa(0x76d,_0x51d79f._0x58f12f)]('utf8');if(Array[_0x29fbe3(0x352,_0x51d79f._0x185111)](_0x5e0188))return Buffer['concat'](_0x5e0188)[_0xe845aa(0x76d,_0x51d79f._0x2a997c)](_0xe845aa(_0x51d79f._0x464ef3,_0x51d79f._0x1e6fdb));if(_0x42de00[_0xe845aa(_0x51d79f._0x4196ec,0xb61)](_0x5e0188,ArrayBuffer))return Buffer[_0x29fbe3(0x3c0,_0x51d79f._0x479999)](_0x5e0188)[_0xe845aa(_0x51d79f._0x133cea,0x779)]('utf8');function _0x29fbe3(_0x389590,_0x53390e){return _0x35d151(_0x389590,_0x53390e-_0x4b0985._0x2bd971);}return null;}function normalizeBinary(_0x14551e){const _0x1bf032={_0x26ad39:0x762,_0x79f39:0x44f,_0x3f0ab6:0x4d8,_0x5472a0:0x1b0,_0xc55ec0:0x354,_0x120d5a:0x596,_0x234812:0x134,_0x4dc80b:0x97,_0x3df6ea:0xa0},_0x2be3e8={};function _0x4dfc89(_0x140f0a,_0x4afe5c){return _0x341e52(_0x140f0a- -0x22a,_0x4afe5c);}_0x2be3e8[_0x4dfc89(0x596,_0x1bf032._0x26ad39)]=_0x4dfc89(_0x1bf032._0x79f39,_0x1bf032._0x3f0ab6);const _0x399720=_0x2be3e8;if(Buffer[_0x4dfc89(0x231,0x282)](_0x14551e))return _0x14551e;if(typeof _0x14551e===_0x18b377(-_0x1bf032._0x5472a0,-_0x1bf032._0xc55ec0))return Buffer['from'](_0x14551e,_0x399720[_0x4dfc89(_0x1bf032._0x120d5a,0x6bc)]);function _0x18b377(_0x1c2136,_0x595603){return _0x341e52(_0x1c2136- -0x58a,_0x595603);}if(Array[_0x18b377(-_0x1bf032._0x234812,-0xf8)](_0x14551e))return Buffer[_0x18b377(-_0x1bf032._0x4dc80b,0x1d4)](_0x14551e);return Buffer[_0x18b377(-0x1bf,-_0x1bf032._0x3df6ea)](_0x14551e);}function readRecentCliLogs(_0x3ac520){const _0x284c79={_0x7e9e2d:0x5d9,_0x2df2c1:0x56a,_0x2f78e7:0x69c,_0xc26afb:0x9fd,_0x32000d:0xbed,_0x4d32b0:0x7ab,_0x12aa5c:0x7eb,_0x4ecef4:0x64d,_0x38891a:0x508,_0x747591:0x6f7},_0x3f7b01={_0x4dc784:0x15c},_0x5ee56c={_0x4c412f:0x247},{logPath:_0x46e8fc,errorLogPath:_0x142c9b}=getServicePaths(),_0x59832c=clampLines(_0x3ac520?.[_0x29607b(_0x284c79._0x7e9e2d,_0x284c79._0x2df2c1)]??0xc8),_0x5bea6e=_0x3ac520?.[_0x29607b(_0x284c79._0x2f78e7,0x488)]??null,_0x444bf7=_0x5bea6e!=null?Date['now']()-_0x5bea6e:null,_0x200ac9=[_0x46e8fc];_0x3ac520?.['includeE'+'rrorLog']&&_0x200ac9[_0x5dbbd1(_0x284c79._0xc26afb,_0x284c79._0x32000d)](_0x142c9b);function _0x29607b(_0xbc9038,_0x32a2b4){return _0x341e52(_0xbc9038- -_0x5ee56c._0x4c412f,_0x32a2b4);}function _0x5dbbd1(_0x230690,_0x47510e){return _0x341e52(_0x230690-_0x3f7b01._0x4dc784,_0x47510e);}const _0x2e5abe=_0x200ac9[_0x5dbbd1(_0x284c79._0x4d32b0,_0x284c79._0x12aa5c)](_0x4dbe8a=>readLogFile(_0x4dbe8a)),_0x401313=_0x444bf7==null?_0x2e5abe:_0x2e5abe[_0x5dbbd1(0x52b,_0x284c79._0x4ecef4)](_0x4faa07=>_0x4faa07['ts']!=null&&_0x4faa07['ts']>=_0x444bf7);return _0x401313['slice'](-_0x59832c)[_0x5dbbd1(_0x284c79._0x38891a,_0x284c79._0x747591)](_0x8f26bb=>_0x8f26bb[_0x5dbbd1(0x618,0x5b6)]);}async function buildDoctorReport(){const _0x2826d0={_0x2acdb2:0x540,_0x2809cc:0x553,_0x1efa02:0x7cf,_0xe7890f:0x7f3,_0x2d5f82:0x34e,_0x179ae2:0x8ca,_0x1ca526:0x8bf,_0x129bce:0x69b,_0x38890a:0x70d,_0x32bb6c:0x778,_0x1736d5:0x70c},_0x4b2697={'pKtHy':function(_0x23a222){return _0x23a222();}};function _0x3dcbbb(_0x45ed58,_0x2358ef){return _0x35d151(_0x2358ef,_0x45ed58-0x21f);}const _0x11dedf=readPairingConfig(),_0x2fd13=getServiceStatus();function _0x57ba4b(_0x3c9bf4,_0x314e2f){return _0x35d151(_0x3c9bf4,_0x314e2f-0x2ba);}const _0x560f76=_0x4b2697['pKtHy'](readOpenClawInfo),_0x4e36a4=resolveGatewayUrl(),_0x2eaece=await checkGatewayReachable(_0x4e36a4);return{'paired':Boolean(_0x11dedf),'gatewayId':_0x11dedf?.['gatewayI'+'d']??null,'serverUrl':_0x11dedf?.['serverUr'+'l']??null,'relayUrl':_0x11dedf?.[_0x3dcbbb(_0x2826d0._0x2acdb2,_0x2826d0._0x2809cc)]??null,'instanceId':_0x11dedf?.['instance'+'Id']??null,'serviceInstalled':_0x2fd13[_0x3dcbbb(_0x2826d0._0x1efa02,0x6c3)+'d'],'serviceRunning':_0x2fd13[_0x57ba4b(0x6c2,0x50b)],'serviceMethod':_0x2fd13[_0x57ba4b(_0x2826d0._0xe7890f,0x82e)],'servicePath':_0x2fd13[_0x3dcbbb(0x59b,0x7ea)+_0x3dcbbb(0x63b,_0x2826d0._0x2d5f82)],'logPath':_0x2fd13[_0x3dcbbb(_0x2826d0._0x179ae2,0x8f9)],'errorLogPath':_0x2fd13['errorLog'+_0x57ba4b(0xb75,_0x2826d0._0x1ca526)],'openclawConfigDir':getOpenClawConfigDir(),'openclawMediaDir':_0x4b2697[_0x57ba4b(_0x2826d0._0x129bce,0x659)](getOpenClawMediaDir),'openclawConfigFound':_0x560f76[_0x3dcbbb(0x35c,0x67)+_0x3dcbbb(0x838,0x603)],'openclawAuthMode':_0x560f76['authMode'],'openclawTokenFound':Boolean(_0x560f76[_0x3dcbbb(_0x2826d0._0x38890a,_0x2826d0._0x32bb6c)]),'openclawPasswordFound':Boolean(_0x560f76[_0x57ba4b(0x464,_0x2826d0._0x1736d5)]),'localGatewayUrl':_0x4e36a4,'localGatewayReachable':_0x2eaece};}async function ensurePairPrerequisites(){const _0x4adbb5={_0x2877ca:0x889,_0x37c070:0x46d,_0x58a95c:0x3cf,_0x15b9c0:0x498,_0x1beabc:0x354,_0x17c1b9:0x62d,_0x2a1205:0x345,_0x477c06:0x5f2,_0x2749b8:0x33b,_0x191ef5:0x44d,_0x3656c0:0x7aa,_0x12ffce:0x82b,_0x438394:0x2de,_0x11f536:0x539,_0x5b5a31:0x916,_0x22c26c:0x427,_0x128cfb:0x516,_0x1f814f:0x213,_0x4a682c:0x594,_0x1f53f6:0x72e,_0x491479:0x799,_0x295758:0x882,_0xe28afe:0x492,_0x2e92ce:0xa46},_0x49459f={'QlSbo':function(_0x4c158f){return _0x4c158f();},'THxmh':function(_0x5ebee8,_0x577c5e){return _0x5ebee8(_0x577c5e);},'dvmxo':_0x3a3e60(0x81f,0x8a6)+_0x3a3e60(0x5c2,_0x4adbb5._0x2877ca)+'tor`\x20for'+'\x20more\x20de'+_0x2f44ff(_0x4adbb5._0x37c070,_0x4adbb5._0x58a95c)+'r\x20use\x20`c'+_0x2f44ff(_0x4adbb5._0x15b9c0,0x3a3)+_0x3a3e60(0x67b,0x5e0)+_0x2f44ff(_0x4adbb5._0x1beabc,0x392)+_0x3a3e60(_0x4adbb5._0x17c1b9,_0x4adbb5._0x2a1205)+_0x2f44ff(_0x4adbb5._0x477c06,0x77b)+_0x2f44ff(_0x4adbb5._0x2749b8,_0x4adbb5._0x191ef5)+_0x2f44ff(_0x4adbb5._0x3656c0,_0x4adbb5._0x12ffce)+'ypass\x20th'+_0x3a3e60(0x664,0x740)+'y\x20check.'};function _0x3a3e60(_0x5f0dc4,_0x1a6000){return _0x35d151(_0x1a6000,_0x5f0dc4-0x366);}const _0x55ff5e=await _0x49459f[_0x2f44ff(_0x4adbb5._0x438394,_0x4adbb5._0x11f536)](buildDoctorReport),_0x19a46b=_0x49459f[_0x3a3e60(0x904,0x743)](listPairPrerequisiteFailures,_0x55ff5e);function _0x2f44ff(_0x24189d,_0x3eb5f7){return _0x35d151(_0x3eb5f7,_0x24189d-0x165);}if(_0x19a46b[_0x3a3e60(0x953,_0x4adbb5._0x5b5a31)]>0x0)throw new Error([_0x2f44ff(0x249,_0x4adbb5._0x22c26c)+_0x2f44ff(_0x4adbb5._0x128cfb,_0x4adbb5._0x1f814f)+'`clawket'+_0x2f44ff(0x76f,_0x4adbb5._0x4a682c)+_0x2f44ff(_0x4adbb5._0x1f53f6,0x67f)+_0x2f44ff(_0x4adbb5._0x491479,_0x4adbb5._0x295758)+'nClaw\x20pr'+_0x2f44ff(0x515,0x281)+_0x3a3e60(0x65f,_0x4adbb5._0xe28afe)+_0x2f44ff(0x497,0x375)+'y.',..._0x19a46b['map'](_0x54549e=>'-\x20'+_0x54549e),_0x49459f['dvmxo']][_0x3a3e60(_0x4adbb5._0x2e92ce,0xcf2)]('\x0a'));return _0x55ff5e;}function listPairPrerequisiteFailures(_0x151fa0){const _0x1a4ffa={_0x139e31:0x1fc,_0x3de4c5:0x11b,_0x355539:0x44,_0x1683e3:0x8f,_0x289591:0x434,_0x554f3b:0xe7,_0x5f2b99:0x16d,_0x2b8c30:0x29a,_0x123fd9:0x3a,_0x13b0c9:0x76,_0x2470e7:0x3cd,_0x1023c2:0x33f,_0x38acbd:0x14c,_0x3b7564:0x3c6,_0x13a67b:0x400,_0x3724a0:0x316,_0x369e6a:0x125,_0x4c93ed:0x5f,_0x851a4:0xf,_0x1af819:0x21f,_0x15839c:0x2f3,_0xe8f64c:0x57,_0xc7b4ab:0x6d,_0x5f07c5:0x264,_0x306bfd:0xfc,_0xb12d45:0x178,_0x7bf774:0xe1,_0x50c6c1:0x257,_0x35cab1:0x5d,_0x939041:0x38f,_0x537601:0x2b8,_0x10959a:0xc5,_0x41367a:0x2f3,_0xd00a18:0x3d0,_0x28fde5:0x2f3,_0x2b3913:0xc8,_0x1c41f1:0x20f,_0x436332:0x37b,_0x3d03b6:0x1ed,_0x6b8909:0x49d,_0x69f5ac:0x368,_0x466003:0x2cd,_0x4afa17:0x1c2,_0x5723e0:0x269,_0x3aa92e:0x2bd,_0x3a4289:0x29,_0x278d70:0x318,_0x5018c5:0x256,_0x3cd926:0xce,_0x5dcb7e:0x2e8,_0x42ed30:0x45a,_0x4e687e:0x416,_0xdd3f8a:0x15b,_0x5e74fe:0x37f,_0x231433:0x1b,_0x5192ad:0x347},_0xeaf2a8={_0x2abcd2:0x4d1},_0xe96843={_0x38e3f4:0x5e4},_0x1f0244={};function _0x237660(_0x5214b8,_0x5ee2a4){return _0x341e52(_0x5ee2a4- -_0xe96843._0x38e3f4,_0x5214b8);}_0x1f0244[_0x237660(_0x1a4ffa._0x139e31,_0x1a4ffa._0x3de4c5)]=function(_0x5c90e6,_0x9cd01){return _0x5c90e6===_0x9cd01;};const _0x861e93=_0x1f0244,_0x2c1019=[];!_0x151fa0[_0x4741e5(0x2f3,0x401)+'ConfigFo'+_0x4741e5(0x3c4,0x6b9)]&&_0x2c1019['push'](_0x237660(-0x29f,-_0x1a4ffa._0x355539)+_0x237660(-0x134,-_0x1a4ffa._0x1683e3)+'was\x20not\x20'+'found\x20un'+'der\x20'+formatOpenClawConfigLocations()+'.');_0x151fa0[_0x237660(_0x1a4ffa._0x289591,0x1e0)+_0x237660(0x17f,_0x1a4ffa._0x554f3b)+'nd']&&_0x151fa0['openclaw'+'Password'+_0x237660(-0x433,-_0x1a4ffa._0x5f2b99)]&&_0x151fa0[_0x237660(_0x1a4ffa._0x2b8c30,0x1e0)+_0x4741e5(-_0x1a4ffa._0x123fd9,0x290)]==null&&_0x2c1019[_0x237660(_0x1a4ffa._0x13b0c9,0x2bd)]('OpenClaw'+_0x4741e5(_0x1a4ffa._0x2470e7,0x2d4)+_0x237660(-_0x1a4ffa._0x1023c2,-_0x1a4ffa._0x38acbd)+_0x4741e5(_0x1a4ffa._0x3b7564,_0x1a4ffa._0x13a67b)+_0x237660(-_0x1a4ffa._0x3724a0,-_0x1a4ffa._0x369e6a)+_0x4741e5(_0x1a4ffa._0x4c93ed,-0x1b8)+_0x4741e5(-_0x1a4ffa._0x851a4,-0x2a5)+'\x20but\x20gat'+_0x237660(-0xcc,_0x1a4ffa._0x1af819)+_0x237660(0x72,0xe3)+'s\x20unset.');!_0x151fa0[_0x4741e5(_0x1a4ffa._0x15839c,_0x1a4ffa._0xe8f64c)+'TokenFou'+'nd']&&!_0x151fa0[_0x237660(0x2cf,0x1e0)+_0x237660(_0x1a4ffa._0xc7b4ab,0x9f)+'Found']&&_0x2c1019[_0x237660(_0x1a4ffa._0x5f07c5,0x2bd)]('OpenClaw'+_0x4741e5(-_0x1a4ffa._0x306bfd,0xcd)+_0x237660(0x123,-_0x1a4ffa._0xb12d45)+_0x4741e5(_0x1a4ffa._0x7bf774,-0x7d)+_0x4741e5(_0x1a4ffa._0x50c6c1,0x487)+_0x237660(_0x1a4ffa._0x35cab1,-0x1ea)+_0x4741e5(0x485,_0x1a4ffa._0x939041));_0x861e93[_0x4741e5(0x22e,_0x1a4ffa._0x537601)](_0x151fa0['openclaw'+_0x4741e5(-0x3a,-_0x1a4ffa._0x10959a)],'token')&&!_0x151fa0[_0x4741e5(_0x1a4ffa._0x41367a,-0x6)+_0x237660(0x5,0xe7)+'nd']&&_0x2c1019[_0x4741e5(_0x1a4ffa._0xd00a18,_0x1a4ffa._0x28fde5)](_0x237660(0x192,-0x44)+_0x237660(-_0x1a4ffa._0x2b3913,-_0x1a4ffa._0x1c41f1)+_0x237660(0x113,-0xa7)+_0x4741e5(_0x1a4ffa._0x436332,_0x1a4ffa._0x3d03b6)+'g.');function _0x4741e5(_0x592df5,_0x3f6fc3){return _0x341e52(_0x592df5- -_0xeaf2a8._0x2abcd2,_0x3f6fc3);}return _0x151fa0[_0x4741e5(_0x1a4ffa._0x28fde5,_0x1a4ffa._0x6b8909)+_0x4741e5(-0x3a,0x9b)]===_0x4741e5(0x1fd,_0x1a4ffa._0x69f5ac)&&!_0x151fa0['openclaw'+_0x4741e5(0x1b2,_0x1a4ffa._0x466003)+_0x4741e5(-0x5a,_0x1a4ffa._0x4afa17)]&&_0x2c1019[_0x237660(_0x1a4ffa._0x5723e0,_0x1a4ffa._0x3aa92e)](_0x4741e5(0xcf,-_0x1a4ffa._0x3a4289)+'\x20gateway'+_0x4741e5(_0x1a4ffa._0x278d70,_0x1a4ffa._0x5018c5)+_0x4741e5(0x22a,-_0x1a4ffa._0x3cd926)+_0x237660(0xf2,_0x1a4ffa._0x5dcb7e)),!_0x151fa0[_0x4741e5(_0x1a4ffa._0x42ed30,0x6f5)+_0x4741e5(_0x1a4ffa._0x4e687e,0x293)+_0x237660(-0xef,-0x286)]&&_0x2c1019[_0x4741e5(0x3d0,_0x1a4ffa._0xdd3f8a)](_0x4741e5(0x27d,0xce)+'enClaw\x20G'+_0x4741e5(_0x1a4ffa._0x5e74fe,0x3a0)+_0x4741e5(_0x1a4ffa._0x231433,-0x179)+'achable\x20'+'at\x20'+_0x151fa0[_0x237660(0x3ba,_0x1a4ffa._0x5192ad)+'ewayUrl']+'.'),_0x2c1019;}function formatOpenClawConfigLocations(){const _0x20eaac={_0x3a4fd8:0x17d,_0x2c5836:0x42,_0x1f7eb0:0x3c8,_0x1907cb:0x36c},_0x5a7f29={_0x204cbd:0x2d0};function _0x16c0a5(_0x35dc89,_0x366f12){return _0x35d151(_0x35dc89,_0x366f12- -0x111);}const _0x414286=new Set();function _0x4fa9e7(_0x1a5c27,_0x3b0e1d){return _0x35d151(_0x3b0e1d,_0x1a5c27- -_0x5a7f29._0x204cbd);}return[_0x305903(),'/root']['map'](_0x5d3e46=>_0x5d3e46[_0x4fa9e7(0xb7,0x1b1)]()+(_0x16c0a5(0x3f4,0x172)+'aw'))[_0x4fa9e7(-_0x20eaac._0x3a4fd8,-0x1c2)](_0x2d6c99=>_0x2d6c99!==_0x4fa9e7(-0x4d,0xec)+'aw')[_0x16c0a5(-0x25a,_0x20eaac._0x2c5836)](_0x4097d9=>{if(_0x414286['has'](_0x4097d9))return![];return _0x414286['add'](_0x4097d9),!![];})['join'](_0x16c0a5(_0x20eaac._0x1f7eb0,_0x20eaac._0x1907cb));}function readLogFile(_0x53014b){const _0x2f9314={_0x4f60b2:0x563,_0x5b8213:0x3e6,_0x57ac5a:0xf7,_0x3a4329:0x2b7};function _0x495a29(_0x448e1f,_0x408ab0){return _0x35d151(_0x448e1f,_0x408ab0-0xf1);}function _0x5983e3(_0x214bc7,_0x3e0933){return _0x35d151(_0x214bc7,_0x3e0933-0xa);}try{const _0x427ae1=_0x546d61(_0x53014b,_0x495a29(_0x2f9314._0x4f60b2,0x4ee));return _0x427ae1[_0x5983e3(_0x2f9314._0x5b8213,0x5ad)](/\r?\n/)[_0x5983e3(_0x2f9314._0x57ac5a,0x15d)](Boolean)[_0x5983e3(_0x2f9314._0x3a4329,0x13a)](_0x419e94=>({'raw':_0x419e94,'ts':parseTimestamp(_0x419e94)}));}catch{return[];}}function parseTimestamp(_0x3f8b3e){const _0x5659de={_0x361cbb:0x66c,_0x3ccc5f:0x780},_0x572030={_0x268c90:0x550},_0x30f450=_0x3f8b3e[_0x58dfcb(0x6da,0x715)](/^\[(\d{13})\]\s/);if(!_0x30f450)return null;function _0x58dfcb(_0x5ea2d5,_0x3a9763){return _0x341e52(_0x5ea2d5-0x186,_0x3a9763);}function _0x1247ed(_0x26266b,_0x47f7a2){return _0x341e52(_0x47f7a2- -_0x572030._0x268c90,_0x26266b);}const _0x591b95=Number(_0x30f450[0x1]);return Number[_0x58dfcb(_0x5659de._0x361cbb,_0x5659de._0x3ccc5f)](_0x591b95)?_0x591b95:null;}function clampLines(_0x46f3de){const _0x2d5b69={_0x1b9beb:0x1fa,_0x2135d9:0x90,_0x1f5533:0x162,_0x5ce5ef:0x18f},_0x5081fe={_0x187d41:0x36a};function _0x489c6b(_0x2b2c07,_0x4600a){return _0x35d151(_0x4600a,_0x2b2c07- -0x169);}function _0x1d9f8d(_0x205ef1,_0x4b9480){return _0x35d151(_0x205ef1,_0x4b9480- -_0x5081fe._0x187d41);}if(!Number[_0x1d9f8d(-0x1b,-0x100)](_0x46f3de))return 0xc8;return Math[_0x1d9f8d(-_0x2d5b69._0x1b9beb,-0x50)](0x1,Math[_0x489c6b(_0x2d5b69._0x2135d9,_0x2d5b69._0x1f5533)](0x7d0,Math[_0x489c6b(_0x2d5b69._0x5ce5ef,-0x64)](_0x46f3de)));}async function checkGatewayReachable(_0x314174){const _0x2c3519={_0x1e8f0d:0x3b7,_0x49baf4:0x3c0,_0x30acea:0x170,_0x1e1f09:0xcc0,_0x361440:0x4ed,_0x29dc14:0x802,_0x252483:0x5e7},_0x1bcc2b={_0x2212c4:0x455,_0x5cb3a0:0x4f3,_0x467db4:0x1cf,_0x4d5d3e:0x1fc},_0x12ebf8={_0x22a9ae:0x496},_0x5ba649={_0xa4c33a:0x267},_0x145b7a={_0x30704d:0x3cf};function _0xc353a(_0x1c78a7,_0x21923f){return _0x35d151(_0x21923f,_0x1c78a7-0x83);}const _0x423a7f={};_0x423a7f['IAshW']=_0xc353a(_0x2c3519._0x1e8f0d,0x38a);const _0x29ac47=_0x423a7f;function _0x164524(_0x4c342a,_0x34d68a){return _0x35d151(_0x34d68a,_0x4c342a-_0x145b7a._0x30704d);}try{const _0x5f1441=new URL(_0x314174),_0x138446=_0x5f1441[_0xc353a(_0x2c3519._0x49baf4,_0x2c3519._0x30acea)]||_0x164524(0x9ed,_0x2c3519._0x1e1f09)+'1',_0x431c72=_0x5f1441[_0xc353a(_0x2c3519._0x361440,0x6bd)]?Number(_0x5f1441['port']):_0x5f1441[_0x164524(_0x2c3519._0x29dc14,0x9f0)]===_0x164524(0x80c,_0x2c3519._0x252483)?0x1bb:0x50;return await new Promise((_0x34726c,_0x288d0d)=>{const _0x439ee4={_0x2c7452:0x313},_0x2e04a2={_0x161a44:0x30d},_0x2c04a7={_0x382cd2:0x41e},_0x41d638={_0x39cc3f:0x56},_0x569eca={'udHQm':function(_0x34c740,_0x5466f1){return _0x34c740(_0x5466f1);}};function _0x268281(_0x229c91,_0x5a7979){return _0xc353a(_0x5a7979- -_0x41d638._0x39cc3f,_0x229c91);}const _0x241d9a=new Socket();_0x241d9a['setTimeo'+'ut'](0x384),_0x241d9a['once'](_0x440472(-0xbb,-0x3ab),()=>{_0x241d9a[_0x214558(_0x5ba649._0xa4c33a,0x10e)]();function _0x214558(_0x2b3807,_0x208f56){return _0x440472(_0x2b3807-0x133,_0x208f56);}_0x34726c();}),_0x241d9a[_0x440472(0x444,0x355)](_0x268281(_0x1bcc2b._0x2212c4,_0x1bcc2b._0x5cb3a0),()=>{_0x241d9a[_0x562a75(0x5bd,0x552)]();function _0x1cb4e7(_0x3ed51f,_0x288991){return _0x440472(_0x288991-0x25a,_0x3ed51f);}function _0x562a75(_0x3ed84b,_0x46f1e1){return _0x440472(_0x46f1e1-_0x2c04a7._0x382cd2,_0x3ed84b);}_0x288d0d(new Error(_0x1cb4e7(0x311,_0x12ebf8._0x22a9ae)));});function _0x440472(_0x36a20e,_0x5b38b1){return _0xc353a(_0x36a20e- -_0x2e04a2._0x161a44,_0x5b38b1);}_0x241d9a['once'](_0x29ac47[_0x268281(-0x7,0x1dd)],_0x1fe5dc=>{_0x241d9a['destroy']();function _0x222eb9(_0x5543c7,_0x5818b2){return _0x268281(_0x5818b2,_0x5543c7-0x8c);}_0x569eca[_0x222eb9(_0x439ee4._0x2c7452,0x34a)](_0x288d0d,_0x1fe5dc);}),_0x241d9a[_0x268281(_0x1bcc2b._0x467db4,_0x1bcc2b._0x4d5d3e)](_0x431c72,_0x138446);}),!![];}catch{return![];}}function parseLookbackToMs(_0x1bd140){const _0x6eacd9={_0x163013:0x92f,_0x5dddd6:0x785,_0x277c8b:0x1b3,_0x244364:0x7e0,_0x28f88a:0x9c6,_0x352c74:0x4bd,_0x40a075:0x623,_0x334943:0x65c,_0x5aaf11:0x9f2,_0x2e9001:0x84f,_0x2fa75d:0xabf,_0x56d524:0xa3a,_0x29786a:0x644},_0x189738={'NhSgL':function(_0x167f3c,_0x2c8256){return _0x167f3c(_0x2c8256);}},_0x1b9428=_0x1bd140?.[_0x3afd76(_0x6eacd9._0x163013,_0x6eacd9._0x5dddd6)]();if(!_0x1b9428)return null;const _0x1a0e2f=_0x1b9428[_0x4369b4(_0x6eacd9._0x277c8b,0x295)](/^(\d+)(ms|s|m|h|d)$/i);if(!_0x1a0e2f)throw new Error('Invalid\x20'+_0x3afd76(_0x6eacd9._0x244364,0x8c0)+_0x3afd76(0x786,_0x6eacd9._0x28f88a)+_0x1b9428+(_0x3afd76(_0x6eacd9._0x352c74,_0x6eacd9._0x40a075)+_0x4369b4(_0x6eacd9._0x334943,0x62a)+_0x3afd76(0x761,_0x6eacd9._0x5aaf11)+_0x3afd76(0x596,_0x6eacd9._0x2e9001)+'or\x201d.'));function _0x3afd76(_0xe99ce,_0x577773){return _0x35d151(_0xe99ce,_0x577773-0x3fe);}const _0x512647=_0x189738[_0x4369b4(0x3bf,0x130)](Number,_0x1a0e2f[0x1]),_0x37f031=_0x1a0e2f[0x2][_0x3afd76(_0x6eacd9._0x2fa75d,_0x6eacd9._0x56d524)+_0x4369b4(0x626,_0x6eacd9._0x29786a)]();function _0x4369b4(_0x285dae,_0x2c08a9){return _0x35d151(_0x285dae,_0x2c08a9- -0x43);}const _0x2ccb93=_0x37f031==='ms'?0x1:_0x37f031==='s'?0x3e8:_0x37f031==='m'?0xea60:_0x37f031==='h'?0x36ee80:0x5265c00;return _0x512647*_0x2ccb93;}import{networkInterfaces}from'os';var BLOCKED_INTERFACE_TOKENS=['utun','tun','tap',_0x341e52(0x830,0x825)+'e',_0x341e52(0x88f,0xb50)+'d','wg',_0x35d151(0x44,0x2ce),_0x341e52(0x503,0x731),'docker','veth',_0x35d151(0x741,0x476),_0x35d151(0xf2,0x293),_0x341e52(0x4f0,0x430),'\x20lo','lo0',_0x35d151(-0x1b6,0x103),_0x341e52(0x5ff,0x5bc),'bridge',_0x341e52(0x46e,0x507),_0x35d151(0x2e1,0x1d3)];function buildGatewayControlUiOrigin(_0x32b866){const _0x39982a={_0x168495:0x58e,_0x323703:0x7c6},_0x2bed60={_0x492e96:0xe5};function _0xf601d3(_0x16c323,_0x7fc20b){return _0x341e52(_0x16c323- -0x2fb,_0x7fc20b);}const _0x339a84={'zRWPj':function(_0x3dd2ec,_0x24232d){return _0x3dd2ec(_0x24232d);},'dNjib':function(_0x387bb5,_0x15210f){return _0x387bb5===_0x15210f;},'ilgEV':'wss:'},_0x44231b=new URL(_0x339a84['zRWPj'](normalizeExplicitGatewayUrl,_0x32b866)),_0x16a008=_0x339a84['dNjib'](_0x44231b[_0xf601d3(0x3b4,0x617)],_0x339a84[_0xf601d3(0x53f,0x6d7)])?'https:':_0xf601d3(_0x39982a._0x168495,_0x39982a._0x323703),_0x28cb63=_0x44231b['port']||(_0x16a008===_0xf601d3(0x336,0x36f)?_0xf601d3(0x3e2,0x36f):'80');function _0x238157(_0x500353,_0x17b8d0){return _0x341e52(_0x500353- -_0x2bed60._0x492e96,_0x17b8d0);}return _0x16a008+'//'+_0x44231b[_0x238157(0x4d4,0x235)]+':'+_0x28cb63;}function buildLocalPairingInfo(_0x2d56e4){const _0x2fde6b={_0x62ce69:0x4a8,_0x183f3f:0x400,_0x1405f4:0x32b,_0x3599fe:0x75e,_0x4c7718:0x8af,_0x51c12d:0x450},_0x372880={_0x22350a:0x98};function _0x190f7a(_0x5aa5b5,_0x59d8d1){return _0x35d151(_0x5aa5b5,_0x59d8d1-0x2e4);}const _0x4e6071={};_0x4e6071['rKyhV']=function(_0x130cdc,_0x538e85){return _0x130cdc*_0x538e85;};const _0x1c1ec8=_0x4e6071,_0x23f7ee=resolveLocalPairAuth(_0x2d56e4),_0x413e51={};function _0xc9b00b(_0xac4f51,_0x5c9c07){return _0x35d151(_0x5c9c07,_0xac4f51- -_0x372880._0x22350a);}_0x413e51[_0x190f7a(0xb07,0x824)+'Url']=_0x2d56e4[_0xc9b00b(_0x2fde6b._0x62ce69,_0x2fde6b._0x183f3f)+_0xc9b00b(_0x2fde6b._0x1405f4,0x28d)],_0x413e51['defaultG'+_0x190f7a(_0x2fde6b._0x3599fe,_0x2fde6b._0x4c7718)+'l']=_0x2d56e4['defaultG'+_0x190f7a(0x9e6,0x8af)+'l'];const _0x491cfe=resolveLocalPairGatewayUrl(_0x413e51),_0x2fba7b=_0x2d56e4['expiresA'+'t']??Date[_0x190f7a(0x304,_0x2fde6b._0x51c12d)]()+_0x1c1ec8['rKyhV'](0xa*0x3c,0x3e8);return{'gatewayUrl':_0x491cfe,'expiresAt':_0x2fba7b,'authMode':_0x23f7ee['mode'],'qrPayload':buildGatewayQrPayload({'gatewayUrl':_0x491cfe,'token':_0x23f7ee[_0xc9b00b(0x456,0x531)],'password':_0x23f7ee['password'],'expiresAt':_0x2fba7b})};}function resolveLocalPairGatewayUrl(_0x3984fc){const _0x2ef429={_0x2ff97d:0x882,_0x188259:0x6cc,_0x2bc45f:0x68d,_0x203370:0x4b8,_0x23bba3:0x47a,_0x40da2a:0x420,_0x4df3ff:0x513,_0x5092b4:0x7c5,_0x501b3a:0x626,_0x38f584:0x2e2,_0x4a3222:0x8ee},_0x645256={_0x227bce:0x1a7},_0x3a7ff5={'CMybW':function(_0x29c0ac,_0x19e019){return _0x29c0ac(_0x19e019);},'mMBfp':_0x1b50ef(0x6d9,0x5f0)+_0x224f40(0x838,0x6b8)+_0x224f40(0x7a6,0xa57)+_0x1b50ef(_0x2ef429._0x2ff97d,_0x2ef429._0x188259)+_0x1b50ef(0x7a9,_0x2ef429._0x2bc45f)+_0x224f40(0x6de,_0x2ef429._0x203370)+'\x20to\x20spec'+_0x224f40(_0x2ef429._0x23bba3,_0x2ef429._0x40da2a)+'stom\x20gat'+_0x224f40(_0x2ef429._0x4df3ff,_0x2ef429._0x5092b4)+'.'};function _0x224f40(_0x7f0403,_0x560389){return _0x35d151(_0x560389,_0x7f0403-_0x645256._0x227bce);}const _0x2e6fe5=_0x3984fc?.[_0x1b50ef(_0x2ef429._0x501b3a,0x75a)+_0x224f40(0x56a,_0x2ef429._0x38f584)]?.[_0x224f40(0x52e,0x396)]();if(_0x2e6fe5)return _0x3a7ff5[_0x1b50ef(0xbc4,_0x2ef429._0x4a3222)](normalizeExplicitGatewayUrl,_0x2e6fe5);const _0x3fbfa9=_0x3984fc?.['defaultG'+_0x1b50ef(0x818,0x7e5)+'l']?.['trim']()||resolveGatewayUrl(),_0x2ce456=detectLanIp();function _0x1b50ef(_0x1d161d,_0xb865b6){return _0x35d151(_0x1d161d,_0xb865b6-0x21a);}if(!_0x2ce456)throw new Error(_0x3a7ff5['mMBfp']);return rewriteGatewayHost(_0x3fbfa9,_0x2ce456);}function normalizeExplicitGatewayUrl(_0x806c4b){const _0x55053f={_0x2603f3:0x4db,_0x48243f:0x8a8},_0x1070f4={_0x2351ba:0x136};function _0xe3912d(_0x22c1db,_0xdca2a2){return _0x341e52(_0x22c1db-0x135,_0xdca2a2);}function _0x5afac3(_0x516839,_0x4b0810){return _0x341e52(_0x516839-_0x1070f4._0x2351ba,_0x4b0810);}const _0x6be87c=_0x806c4b[_0xe3912d(0x738,_0x55053f._0x2603f3)](),_0x156cd8=/^[a-z]+:\/\//i['test'](_0x6be87c)?_0x6be87c:'ws://'+_0x6be87c;return normalizeGatewayQrUrl(_0x156cd8)[_0xe3912d(0x76e,_0x55053f._0x48243f)];}function rewriteGatewayHost(_0x58e2b7,_0x2dc921){const _0x138945={_0x3650aa:0x43d,_0x5a263d:0x47b,_0x57511c:0x36d,_0x493a5c:0x4ce,_0x3d6486:0x565,_0x2d1d42:0x3f3,_0xad6a97:0x165,_0xdf4541:0x3ee},_0x36f37d={_0x176dc6:0x1ad},_0x3e6975={_0x1f75bc:0x1c6},_0x506bd0={'PiJaj':function(_0xed5920,_0x5bc605){return _0xed5920(_0x5bc605);}},_0xf5922f=_0x58e2b7[_0x22dc67(_0x138945._0x3650aa,_0x138945._0x5a263d)]();function _0x22dc67(_0x2536d3,_0x1f9f26){return _0x341e52(_0x2536d3- -_0x3e6975._0x1f75bc,_0x1f9f26);}const _0x42aeaf=/^[a-z]+:\/\//i[_0xb9d6a6(0x489,_0x138945._0x57511c)](_0xf5922f)?_0xf5922f:_0xb9d6a6(_0x138945._0x493a5c,_0x138945._0x3d6486)+_0xf5922f,_0x163760=new URL(_0x42aeaf);function _0xb9d6a6(_0x2fb704,_0x2ce7e1){return _0x341e52(_0x2fb704- -_0x36f37d._0x176dc6,_0x2ce7e1);}return _0x163760[_0x22dc67(_0x138945._0x2d1d42,0x661)]=_0x2dc921,_0x506bd0[_0x22dc67(0x378,_0x138945._0xad6a97)](normalizeGatewayQrUrl,_0x163760[_0xb9d6a6(_0x138945._0xdf4541,0x215)]())[_0xb9d6a6(0x48c,0x4e7)];}function detectLanIp(){const _0x4b7e5f={_0x3c2449:0x37b,_0x5352b8:0x215,_0x5c8002:0x512,_0xb81add:0x459,_0x4a0036:0x191,_0x1f9a97:0x443},_0x1f8a25={_0x373b70:0x29f},_0x511dae=networkInterfaces();function _0x31e35f(_0x4f6f77,_0x41e77a){return _0x341e52(_0x4f6f77- -_0x1f8a25._0x373b70,_0x41e77a);}let _0x3444cf=null;function _0x334216(_0x4c3e15,_0xa8c73c){return _0x341e52(_0xa8c73c- -0x2b9,_0x4c3e15);}for(const [_0x132f96,_0x363fe4]of Object['entries'](_0x511dae)){for(const _0x50cad3 of _0x363fe4??[]){if(_0x50cad3[_0x334216(_0x4b7e5f._0x3c2449,0x66f)]!=='IPv4')continue;const _0x66cec5=scoreLanCandidate(_0x132f96,_0x50cad3['address']);if(_0x66cec5===0x0)continue;if(!_0x3444cf||_0x66cec5>_0x3444cf[_0x31e35f(_0x4b7e5f._0x5352b8,_0x4b7e5f._0x5c8002)]){const _0xe2b139={};_0xe2b139[_0x31e35f(0x215,_0x4b7e5f._0xb81add)]=_0x66cec5,_0xe2b139['ip']=_0x50cad3[_0x334216(_0x4b7e5f._0x4a0036,_0x4b7e5f._0x1f9a97)],_0x3444cf=_0xe2b139;}}}return _0x3444cf?.['ip']??null;}function scoreLanCandidate(_0x5883b3,_0x326318){const _0x5a494e={_0x3706f0:0x8f2,_0x335cbb:0x98e,_0x4b7e9b:0x8ce,_0x1a9d17:0xa2a,_0x376f76:0x84b,_0x4dd486:0x92c,_0x4331a9:0x500,_0x2f200e:0x6ec,_0x4b0266:0x51d,_0x4e11ec:0x3bd,_0x1fcb93:0x4b0,_0x4e6aa8:0x38d,_0x32f321:0xa41},_0x145ea4={_0x521def:0x33b},_0x59d251={};_0x59d251['ujlJZ']=_0x9d4351(0x9c5,0x957),_0x59d251[_0xa4444e(_0x5a494e._0x3706f0,_0x5a494e._0x335cbb)]=_0x9d4351(0x87d,_0x5a494e._0x4b7e9b);const _0x2a23f2=_0x59d251;function _0xa4444e(_0x1a8165,_0x488772){return _0x35d151(_0x1a8165,_0x488772-_0x145ea4._0x521def);}if(!isLanIpv4(_0x326318))return 0x0;function _0x9d4351(_0x41c79f,_0x44182c){return _0x35d151(_0x44182c,_0x41c79f-0x3ee);}const _0x4f4742=_0x5883b3[_0x9d4351(_0x5a494e._0x1a9d17,0x853)+'ase']();if(BLOCKED_INTERFACE_TOKENS[_0xa4444e(0x334,0x5a0)](_0x474f84=>_0x4f4742[_0x9d4351(0x563,0x2e5)](_0x474f84)))return 0x0;let _0x4c941b=isRfc1918(_0x326318)?0x78:isCgnat(_0x326318)?0x5a:0x28;return(_0x4f4742[_0xa4444e(_0x5a494e._0x376f76,_0x5a494e._0x4dd486)+'th']('en')||_0x4f4742['startsWi'+'th'](_0x2a23f2[_0xa4444e(0x22c,_0x5a494e._0x4331a9)])||_0x4f4742['startsWi'+'th'](_0xa4444e(_0x5a494e._0x2f200e,_0x5a494e._0x4b0266))||_0x4f4742[_0x9d4351(0x9df,0x898)+'th']('wl')||_0x4f4742[_0xa4444e(_0x5a494e._0x4e11ec,_0x5a494e._0x1fcb93)](_0x9d4351(0x67f,_0x5a494e._0x4e6aa8))||_0x4f4742['includes'](_0x2a23f2[_0x9d4351(_0x5a494e._0x32f321,0x7bc)]))&&(_0x4c941b+=0x14),_0x4c941b;}function resolveLocalPairAuth(_0x233c57){const _0x3bafca={_0x913096:0x111,_0x3ee0f7:0x152,_0x203fe9:0x5e3,_0x5ec5ba:0x16a,_0x237f45:0x21e,_0x24e5a4:0x9b,_0x2459bc:0x24e,_0x39714d:0x356,_0x24bd1b:0x9c,_0x2bf147:0x2e3,_0x2cad78:0x457,_0x5cc1b6:0x3a2,_0x3904ce:0x837,_0x1d2357:0x9b,_0x57b4e5:0x67f,_0x1e67fa:0x585,_0xdef80f:0x214,_0x13d04a:0x2c},_0xb56599={};function _0x3d8bd6(_0x2c939a,_0x42c9ad){return _0x341e52(_0x2c939a- -0x187,_0x42c9ad);}_0xb56599[_0x52b2cf(_0x3bafca._0x913096,-_0x3bafca._0x3ee0f7)]=_0x3d8bd6(_0x3bafca._0x203fe9,0x65d),_0xb56599[_0x52b2cf(-_0x3bafca._0x5ec5ba,-_0x3bafca._0x237f45)]=_0x52b2cf(_0x3bafca._0x24e5a4,0x200)+_0x3d8bd6(_0x3bafca._0x2459bc,_0x3bafca._0x39714d)+'\x20auth\x20is'+_0x52b2cf(0xad,0x2ff)+_0x52b2cf(0x223,-_0x3bafca._0x24bd1b)+'or\x20passw'+'ord).';function _0x52b2cf(_0x5bace2,_0x5bb368){return _0x341e52(_0x5bace2- -0x505,_0x5bb368);}const _0x47ee3d=_0xb56599;if(_0x233c57[_0x3d8bd6(0x647,0x3ad)+_0x3d8bd6(_0x3bafca._0x2bf147,_0x3bafca._0x2cad78)]?.[_0x3d8bd6(0x47c,_0x3bafca._0x5cc1b6)]())return{'mode':_0x47ee3d[_0x52b2cf(0x111,0x29a)],'token':_0x233c57[_0x3d8bd6(0x647,_0x3bafca._0x3904ce)+_0x52b2cf(-_0x3bafca._0x1d2357,0xc6)][_0x52b2cf(0xfe,-0x1ca)](),'password':null};if(_0x233c57['gatewayP'+'assword']?.[_0x3d8bd6(0x47c,_0x3bafca._0x57b4e5)]())return{'mode':'password','token':null,'password':_0x233c57[_0x3d8bd6(_0x3bafca._0x1e67fa,0x691)+_0x52b2cf(0x449,0x17e)][_0x3d8bd6(0x47c,0x461)]()};throw new Error(_0x47ee3d[_0x3d8bd6(_0x3bafca._0xdef80f,-_0x3bafca._0x13d04a)]);}function isLanIpv4(_0x4c636c){const _0x2b8b00={_0x5a6573:0x128,_0xf07eb2:0x52b,_0x10edae:0x6c9,_0x2ec984:0x3e1,_0x24441d:0x517,_0x5012ea:0x1b2,_0x1593b0:0xa35,_0x1180e1:0x530},_0x26c5a1={_0x552b79:0x15f},_0x58f893={'odfEq':function(_0x5a29ec,_0x5ae0df){return _0x5a29ec(_0x5ae0df);},'BbEHS':function(_0x272130,_0x211383){return _0x272130===_0x211383;},'qKaLv':function(_0x4248ef,_0x818579){return _0x4248ef>=_0x818579;},'henXN':function(_0x5897cf,_0xfeed3b){return _0x5897cf===_0xfeed3b;}};if(!_0x58f893[_0x32b96a(_0x2b8b00._0x5a6573,0x2a7)](isValidIpv4,_0x4c636c))return![];function _0x1d6122(_0x4ab834,_0x5a014f){return _0x341e52(_0x5a014f-_0x26c5a1._0x552b79,_0x4ab834);}if(_0x4c636c==='0.0.0.0')return![];function _0x32b96a(_0x39e4b0,_0x4da01e){return _0x341e52(_0x4da01e- -0x1f4,_0x39e4b0);}const [_0x531da8,_0x2711d9,_0x55213a,_0x1cd699]=_0x4c636c[_0x32b96a(_0x2b8b00._0xf07eb2,0x62b)]('.')[_0x32b96a(0x205,0x1b8)](Number);if(_0x531da8===0x7f)return![];if(_0x58f893[_0x32b96a(_0x2b8b00._0x10edae,_0x2b8b00._0x2ec984)](_0x531da8,0xa9)&&_0x2711d9===0xfe)return![];if(_0x58f893[_0x1d6122(_0x2b8b00._0x24441d,0x5d1)](_0x531da8,0xe0)&&_0x531da8<=0xef)return![];if(_0x531da8===0xff&&_0x58f893[_0x32b96a(_0x2b8b00._0x5012ea,0x3e1)](_0x2711d9,0xff)&&_0x55213a===0xff&&_0x1cd699===0xff)return![];if(_0x58f893[_0x1d6122(0xc1f,_0x2b8b00._0x1593b0)](_0x531da8,0xc6)&&(_0x2711d9===0x12||_0x2711d9===0x13))return![];return _0x58f893[_0x32b96a(_0x2b8b00._0x1180e1,0x2a7)](isRfc1918,_0x4c636c)||isCgnat(_0x4c636c);}function isRfc1918(_0x178dca){const _0xaa1c58={_0x466869:0x38a,_0x9bcbbd:0x6cc,_0x490012:0x242},_0x265889={};function _0x47411a(_0x3984ea,_0x271a2e){return _0x341e52(_0x3984ea- -0x23c,_0x271a2e);}_0x265889[_0x574861(0x2e7,_0xaa1c58._0x466869)]=function(_0x2255dc,_0x9f6ff6){return _0x2255dc>=_0x9f6ff6;};function _0x574861(_0x2d5020,_0x28c869){return _0x341e52(_0x28c869- -0x243,_0x2d5020);}const _0x42be29=_0x265889,[_0x207b30,_0x2f2243]=_0x178dca[_0x47411a(0x5e3,_0xaa1c58._0x9bcbbd)]('.')[_0x47411a(0x170,_0xaa1c58._0x490012)](Number);return _0x207b30===0xa||_0x207b30===0xac&&_0x42be29['SQGnh'](_0x2f2243,0x10)&&_0x2f2243<=0x1f||_0x207b30===0xc0&&_0x2f2243===0xa8;}function isCgnat(_0x16f46e){const _0x2cebe6={_0x35ad97:0x318,_0x1bdc53:0x359,_0x530591:0x2c1,_0x57eace:0x63b,_0x1108fa:0x665,_0x4c6126:0x3a4},_0x299272={_0x1dcfbd:0x1ba},_0x29b022={_0x23be2a:0x59e},_0x1d7547={};function _0x76d408(_0x2d7822,_0x3cd3e4){return _0x341e52(_0x3cd3e4- -_0x29b022._0x23be2a,_0x2d7822);}_0x1d7547[_0x5ccb42(0x19,_0x2cebe6._0x35ad97)]=function(_0x59f7b6,_0x46030b){return _0x59f7b6===_0x46030b;},_0x1d7547[_0x76d408(_0x2cebe6._0x1bdc53,_0x2cebe6._0x530591)]=function(_0xcb50df,_0x68882f){return _0xcb50df<=_0x68882f;};const _0x1b94a3=_0x1d7547;function _0x5ccb42(_0x5515ca,_0x1872b2){return _0x341e52(_0x1872b2- -_0x299272._0x1dcfbd,_0x5515ca);}const [_0xddc9cc,_0x4ff47d]=_0x16f46e[_0x5ccb42(_0x2cebe6._0x57eace,_0x2cebe6._0x1108fa)]('.')[_0x76d408(-0x38e,-0x1f2)](Number);return _0x1b94a3['cQlbo'](_0xddc9cc,0x64)&&_0x4ff47d>=0x40&&_0x1b94a3[_0x76d408(_0x2cebe6._0x4c6126,0x2c1)](_0x4ff47d,0x7f);}function isValidIpv4(_0xb8fac8){const _0x2d6b64={_0x58dc72:0x98,_0x175f8f:0x2db,_0x42bfd8:0x30,_0x1becc8:0x8e2,_0x2ada4f:0xa31},_0x389339={_0x2b97ee:0x5d8},_0x42ea0f={_0x3c5fa8:0x158},_0x16e327={_0x3f9e0e:0x5bf};function _0x4a6d57(_0x56e538,_0x48cdc9){return _0x341e52(_0x48cdc9- -_0x16e327._0x3f9e0e,_0x56e538);}const _0x438128={};_0x438128[_0x4a6d57(0xc9,_0x2d6b64._0x58dc72)]=function(_0x8fd4ed,_0x5e1a9f){return _0x8fd4ed>=_0x5e1a9f;};const _0x79bbd3=_0x438128;function _0x4a35dd(_0x5b54e6,_0x371b39){return _0x341e52(_0x371b39-_0x42ea0f._0x3c5fa8,_0x5b54e6);}const _0x2ef7a2=_0xb8fac8[_0x4a6d57(_0x2d6b64._0x175f8f,0x260)]('.');return _0x2ef7a2[_0x4a6d57(_0x2d6b64._0x42bfd8,0x2aa)]===0x4&&_0x2ef7a2[_0x4a35dd(_0x2d6b64._0x1becc8,_0x2d6b64._0x2ada4f)](_0x3e9c4f=>{function _0x136bf5(_0x5345c7,_0x2f9fb7){return _0x4a6d57(_0x2f9fb7,_0x5345c7-0x540);}if(!/^\d+$/['test'](_0x3e9c4f))return![];const _0x2b4db6=Number(_0x3e9c4f);return _0x79bbd3[_0x136bf5(_0x389339._0x2b97ee,0x502)](_0x2b4db6,0x0)&&_0x2b4db6<=0xff;});}import{readFileSync as _0xe19d77}from'fs';import{dirname as _0x187b6a,resolve as _0x5bf49a}from'path';import{fileURLToPath}from'url';function readCliVersion(){const _0x2506f6={_0x30973a:0x8a0,_0x19cf28:0x45a,_0xfc0204:0x84f,_0x206b36:0x811,_0xf9c8bc:0xa23,_0xead661:0x340},_0x35b96c={};_0x35b96c[_0x4950df(0x2ed,0x340)]=_0x43e768(0xa54,_0x2506f6._0x30973a);function _0x4950df(_0x353c92,_0x562ff9){return _0x341e52(_0x562ff9- -0x119,_0x353c92);}const _0x398bae=_0x35b96c,_0x54f832=_0x187b6a(fileURLToPath(import.meta.url)),_0x47a117=_0x5bf49a(_0x54f832,_0x43e768(0x529,_0x2506f6._0x19cf28)+_0x43e768(_0x2506f6._0xfc0204,_0x2506f6._0x206b36)),_0x3347bf=_0xe19d77(_0x47a117,_0x43e768(0x769,_0x2506f6._0xf9c8bc));function _0x43e768(_0x468527,_0x402f6a){return _0x341e52(_0x468527-0xf0,_0x402f6a);}const _0x44f54f=JSON['parse'](_0x3347bf);return _0x44f54f[_0x43e768(0x7ce,0x72f)]??_0x398bae[_0x4950df(0x453,_0x2506f6._0xead661)];}function buildPairingJson(_0x19c00b,_0x1c2df6,_0x3077ce,_0x3c4e08){const _0x30b404={_0x51323f:0x982,_0x42316c:0x9eb,_0x5418e5:0x95d,_0x1c0f7e:0x9eb,_0x1c62a5:0xf,_0x328555:0x26e,_0x4a0113:0x9e0,_0x1b86c2:0x7b7,_0x23cd94:0x8e3,_0x123aa5:0x857,_0x5d0446:0xae6,_0x39d7dd:0xa72,_0x54efbc:0x4f7,_0x5467a5:0x2e0,_0x2c81c3:0xcab,_0x2250ea:0xa40,_0x5e30c7:0x6f8,_0x3640e5:0x3bd,_0x35d8fa:0xaaf,_0x5620c6:0x41b,_0x3d69ba:0x190,_0x430d73:0x7d1,_0x96aee:0xa30,_0x50d67c:0x7cf,_0x35a352:0x75c,_0x5139b3:0xaee,_0x4ea6a1:0x891,_0x4c1bf3:0x6d9,_0x347e7b:0x1de,_0x5856d7:0x45b,_0x2e43dc:0x5bb,_0x4b3950:0x67e,_0x3360f1:0x3ad,_0x1d7fcf:0xc72},_0x500591={};_0x500591[_0xb309a9(_0x30b404._0x51323f,_0x30b404._0x42316c)+'d']=_0x3077ce[_0xb309a9(_0x30b404._0x5418e5,_0x30b404._0x1c0f7e)+'d'];function _0xb309a9(_0x16c1a4,_0x299d88){return _0x35d151(_0x16c1a4,_0x299d88-0x43b);}_0x500591[_0x35c797(_0x30b404._0x1c62a5,0x143)]=_0x3077ce['running'],_0x500591[_0xb309a9(0x827,0x9af)]=_0x3077ce[_0x35c797(0x2ea,0x466)],_0x500591[_0x35c797(0x29b,_0x30b404._0x328555)+_0x35c797(0x14f,0x30e)]=_0x3077ce[_0xb309a9(_0x30b404._0x4a0113,_0x30b404._0x1b86c2)+_0xb309a9(_0x30b404._0x23cd94,_0x30b404._0x123aa5)],_0x500591[_0xb309a9(0xc2e,_0x30b404._0x5d0446)]=_0x3077ce[_0xb309a9(0x952,_0x30b404._0x5d0446)],_0x500591[_0xb309a9(_0x30b404._0x39d7dd,0x829)+_0x35c797(0x589,_0x30b404._0x54efbc)]=_0x3077ce[_0x35c797(0x56f,_0x30b404._0x5467a5)+_0xb309a9(_0x30b404._0x2c81c3,_0x30b404._0x2250ea)],_0x500591[_0x35c797(_0x30b404._0x5e30c7,0x433)]=_0x3077ce['pid'];const _0x37a820={};_0x37a820['ok']=!![];function _0x35c797(_0x4fd3f9,_0x80c6e){return _0x35d151(_0x4fd3f9,_0x80c6e- -0x10e);}return _0x37a820[_0x35c797(_0x30b404._0x3640e5,0x566)]=_0x19c00b[_0xb309a9(0xab1,_0x30b404._0x35d8fa)],_0x37a820[_0x35c797(-0x44,0x8b)]=_0x3c4e08,_0x37a820[_0x35c797(0x63d,_0x30b404._0x5620c6)+'d']=_0x19c00b[_0x35c797(0x1f8,_0x30b404._0x3d69ba)][_0xb309a9(_0x30b404._0x430d73,0x964)+'d'],_0x37a820[_0xb309a9(_0x30b404._0x96aee,0x75c)]=_0x19c00b[_0x35c797(0x2e4,_0x30b404._0x3d69ba)][_0xb309a9(_0x30b404._0x50d67c,_0x30b404._0x35a352)],_0x37a820[_0xb309a9(_0x30b404._0x5139b3,_0x30b404._0x4ea6a1)+'l']=_0x19c00b[_0xb309a9(0x4c6,_0x30b404._0x4c1bf3)]['serverUr'+'l'],_0x37a820[_0xb309a9(0x9c5,0x9a4)+'Id']=_0x19c00b[_0x35c797(0x40a,0x190)][_0x35c797(_0x30b404._0x347e7b,_0x30b404._0x5856d7)+'Id'],_0x37a820[_0xb309a9(0x5d0,0x5bb)+'de']=_0x19c00b[_0xb309a9(0x306,_0x30b404._0x2e43dc)+'de'],_0x37a820['accessCo'+'deExpire'+_0xb309a9(_0x30b404._0x4b3950,0x82e)]=_0x19c00b[_0xb309a9(0x881,0x5bb)+_0x35c797(0x45c,_0x30b404._0x3360f1)+'sAt'],_0x37a820[_0xb309a9(_0x30b404._0x1d7fcf,0xa29)+_0xb309a9(0x8b6,0x857)]=_0x1c2df6,_0x37a820['service']=_0x500591,_0x37a820;}function buildLocalPairingJson(_0x33d164){const _0x3788b4={_0x2d159f:0x567,_0x2d8c63:0x578,_0x13ddfd:0xed,_0x231ddc:0x23,_0x139259:0x1bd,_0x58f12c:0x0,_0x33443d:0x16b,_0x11ea03:0x52b,_0xfc7fb9:0x60c,_0x46e160:0x70,_0x5b0dcd:0x13a,_0x138ce2:0x189,_0x35dcdd:0x10d,_0x1e1f53:0x29,_0x5a29bc:0xa2,_0x1a51f7:0x4f2,_0x3e1f43:0xaf,_0x1c768f:0x125,_0x4af783:0x2c,_0x3880dc:0x14c,_0x2facbc:0x1c2,_0x555fc3:0x3e,_0x20ebcf:0x1ff,_0x28a434:0x1e2,_0x4c5d37:0x3c8,_0x435752:0x3e2,_0x3b2033:0x29f,_0x4723f4:0xb9,_0x2685ce:0x574,_0x57f958:0x33c,_0x452fae:0x26f,_0x5afc9e:0x371,_0x4f4ab3:0x629,_0x55caa0:0x3b3};function _0x535da9(_0x56a4e3,_0x17e008){return _0x341e52(_0x56a4e3- -0x415,_0x17e008);}const _0x2796fa={};_0x2796fa['ok']=!![],_0x2796fa[_0x6108cc(_0x3788b4._0x2d159f,_0x3788b4._0x2d8c63)]=_0x535da9(_0x3788b4._0x13ddfd,_0x3788b4._0x231ddc),_0x2796fa[_0x6108cc(-_0x3788b4._0x139259,0x9d)]=_0x33d164[_0x535da9(_0x3788b4._0x58f12c,-_0x3788b4._0x33443d)],_0x2796fa[_0x535da9(0x52b,0x7f1)+'rl']=_0x33d164[_0x535da9(_0x3788b4._0x11ea03,_0x3788b4._0xfc7fb9)+'rl'],_0x2796fa[_0x535da9(_0x3788b4._0x46e160,-_0x3788b4._0x5b0dcd)]=_0x33d164[_0x6108cc(_0x3788b4._0x138ce2,_0x3788b4._0x35dcdd)],_0x2796fa[_0x535da9(-_0x3788b4._0x1e1f53,-0x1eb)+'t']=_0x33d164['expiresA'+'t'],_0x2796fa[_0x6108cc(0x2b5,0x4f2)+_0x535da9(0x283,_0x3788b4._0x5a29bc)]=_0x33d164[_0x6108cc(0x63e,_0x3788b4._0x1a51f7)+'ath'],_0x2796fa[_0x535da9(_0x3788b4._0x3e1f43,0x19f)+_0x535da9(_0x3788b4._0x1c768f,_0x3788b4._0x4af783)]=_0x33d164[_0x6108cc(0x3d7,_0x3788b4._0x3880dc)+_0x6108cc(0x417,_0x3788b4._0x2facbc)]??![],_0x2796fa['controlU'+_0x6108cc(-_0x3788b4._0x555fc3,0x1f7)]=_0x33d164[_0x6108cc(_0x3788b4._0x20ebcf,_0x3788b4._0x28a434)+'iOrigin']??null;function _0x6108cc(_0x351b19,_0x52fe61){return _0x341e52(_0x52fe61- -0x378,_0x351b19);}return _0x2796fa[_0x535da9(_0x3788b4._0x4c5d37,_0x3788b4._0x435752)+'estartAc'+_0x535da9(_0x3788b4._0x3b2033,_0x3788b4._0x4723f4)]=_0x33d164['gatewayR'+_0x6108cc(_0x3788b4._0x2685ce,0x398)+_0x6108cc(0x4a8,_0x3788b4._0x57f958)]??_0x535da9(0x31,_0x3788b4._0x452fae)+'d',_0x2796fa[_0x6108cc(_0x3788b4._0x5afc9e,0x3b3)+'l']=_0x33d164[_0x6108cc(_0x3788b4._0x4f4ab3,_0x3788b4._0x55caa0)+'l']??![],_0x2796fa;}import{mkdirSync as _0x38521b,writeFileSync as _0x1b2507}from'fs';import{dirname as _0x45c9e3,isAbsolute,join as _0xcdddf2,resolve as _0x198956}from'path';import _0x5c6eda from'qrcode';var DEFAULT_QR_DIR=getOpenClawMediaDir();async function writePairingQrPng(_0x331f5d,_0x16b548){const _0x123053={_0x3e382d:0x1cf,_0x4c1781:0x4a3,_0x50124a:0x1ce,_0x2c621d:0x65},_0x4d0e5b={_0x221bbf:0x5d6},_0x3e5bf0={'eqzdv':function(_0x25eb8d,_0x1316e5,_0x27fb96){return _0x25eb8d(_0x1316e5,_0x27fb96);}};function _0x582d8d(_0x170fdf,_0x247ff1){return _0x341e52(_0x170fdf- -0x5b8,_0x247ff1);}const _0x578a34=resolveQrOutputPath(_0x331f5d[_0x582d8d(-0x9e,0x16)][_0x44925a(_0x123053._0x3e382d,0x382)+'d'],_0x16b548);function _0x44925a(_0x53f3bf,_0x285a42){return _0x341e52(_0x53f3bf- -_0x4d0e5b._0x221bbf,_0x285a42);}return _0x3e5bf0[_0x44925a(0x26d,_0x123053._0x4c1781)](writeQrPng,_0x331f5d[_0x582d8d(-_0x123053._0x50124a,-_0x123053._0x2c621d)+'d'],_0x578a34);}async function writeRawQrPng(_0x4d8a6e,_0x29fd7a,_0x53cdbc){const _0x58b833={_0x1342fa:0xda},_0x2e8801={_0x40115c:0x239},_0x130f38={'nKgZX':function(_0x458ea4,_0x3d3a5f,_0x5aff6e){return _0x458ea4(_0x3d3a5f,_0x5aff6e);}},_0x1976dd=resolveQrOutputPath(_0x29fd7a,_0x53cdbc);function _0x1b5dbb(_0x4558d9,_0x29988e){return _0x35d151(_0x4558d9,_0x29988e- -_0x2e8801._0x40115c);}return _0x130f38[_0x1b5dbb(_0x58b833._0x1342fa,-0x16)](writeQrPng,_0x4d8a6e,_0x1976dd);}async function writeQrPng(_0x56a3ae,_0x2bed36){const _0x4d9d2a={_0xde805e:0x800,_0x40d624:0xa7e,_0x2a6338:0x813,_0x4edebd:0x7ff,_0xefb0e9:0x7fc,_0x1ae8b3:0x93c,_0x1f403b:0x54b,_0x4e1e6f:0x537,_0x33b31d:0x438,_0x586960:0x444},_0x25d2e3={_0x461f5:0x61};function _0x4fd033(_0x373a6c,_0x10dd82){return _0x341e52(_0x373a6c-_0x25d2e3._0x461f5,_0x10dd82);}const _0x5afe0e={};_0x5afe0e[_0x278912(0x853,0x77d)+'e']=!![],_0x38521b(_0x45c9e3(_0x2bed36),_0x5afe0e);const _0xb319be={};_0xb319be['type']=_0x278912(0x7c1,0x796)+'g',_0xb319be[_0x4fd033(_0x4d9d2a._0xde805e,_0x4d9d2a._0x40d624)+_0x278912(_0x4d9d2a._0x2a6338,0xa07)+_0x4fd033(_0x4d9d2a._0x4edebd,_0x4d9d2a._0xefb0e9)]='M',_0xb319be[_0x4fd033(_0x4d9d2a._0x1ae8b3,0x957)]=0x1,_0xb319be['width']=0x2d0;function _0x278912(_0x4a43d6,_0x4723c7){return _0x341e52(_0x4a43d6-0x6d,_0x4723c7);}const _0x51439=await _0x5c6eda[_0x4fd033(0x656,0x790)+'L'](_0x56a3ae,_0xb319be),_0x3fa5f8=_0x51439[_0x278912(_0x4d9d2a._0x1f403b,_0x4d9d2a._0x4e1e6f)](/^data:image\/png;base64,/,'');return _0x1b2507(_0x2bed36,Buffer[_0x278912(_0x4d9d2a._0x33b31d,_0x4d9d2a._0x586960)](_0x3fa5f8,'base64')),_0x2bed36;}function resolveQrOutputPath(_0x4df693,_0x157843){const _0x30bf5b={_0x309a91:0x4f7,_0x22af1d:0x5b6,_0x26e9d0:0x5ce},_0x2fdd7b={_0x2fd8b6:0x170},_0x20b670={_0x384e1c:0x361},_0x58fce3={'EZVHj':function(_0xb0bb98,_0x5c0a94){return _0xb0bb98(_0x5c0a94);}};function _0x1eae68(_0x1d1a46,_0x5b36ad){return _0x35d151(_0x5b36ad,_0x1d1a46-_0x20b670._0x384e1c);}const _0x372f5f=_0x157843?.[_0x344f36(0x61c,_0x30bf5b._0x309a91)]();if(_0x372f5f)return _0x58fce3[_0x344f36(0x7b4,0x5b6)](isAbsolute,_0x372f5f)?_0x372f5f:_0x58fce3[_0x344f36(0x7b7,_0x30bf5b._0x22af1d)](_0x198956,_0x372f5f);function _0x344f36(_0x3c7adf,_0x3f9dd6){return _0x35d151(_0x3c7adf,_0x3f9dd6-_0x2fdd7b._0x2fd8b6);}return _0xcdddf2(DEFAULT_QR_DIR,_0x4df693+_0x1eae68(_0x30bf5b._0x26e9d0,0x655));}function decidePairServiceAction(_0xf44305,_0x573673){const _0x7fd051={_0x3f3699:0xc7,_0x22f6b6:0x69a,_0x48a20b:0x553,_0x5261df:0x6ab,_0x13dd52:0x4c6,_0x97f651:0x512,_0x4b21db:0x708,_0x5da22d:0x5f2,_0x7fcf4:0x3d5},_0x12adc5={_0x19747f:0x29f},_0x14f360={};_0x14f360[_0x47b1ef(_0x7fd051._0x3f3699,0x11b)]=_0x544a03(_0x7fd051._0x22f6b6,0x5b6)+'ed',_0x14f360[_0x544a03(0x81f,_0x7fd051._0x48a20b)]=_0x47b1ef(0x3f1,_0x7fd051._0x5261df);const _0x572442=_0x14f360;if(!_0x573673[_0x47b1ef(0x311,_0x7fd051._0x13dd52)+'d'])return _0x544a03(_0x7fd051._0x97f651,_0x7fd051._0x4b21db);if(!_0x573673[_0x544a03(0x74c,_0x7fd051._0x5da22d)])return'restart';function _0x544a03(_0x57dbe6,_0x5732f0){return _0x35d151(_0x57dbe6,_0x5732f0-0x3a1);}if(_0xf44305[_0x47b1ef(_0x7fd051._0x7fcf4,0x3d5)]===_0x572442[_0x47b1ef(0xc7,0x122)])return _0x572442['LRfdk'];function _0x47b1ef(_0x25bbca,_0x2e787c){return _0x35d151(_0x2e787c,_0x25bbca- -_0x12adc5._0x19747f);}return'noop';}async function main(){const _0x261fa3={_0x5a3e5d:0x43e,_0x2d4b14:0x5e,_0x1da09b:0x6cf,_0xb6495b:0x5a0,_0x42e51e:0xf8,_0x1e5ef9:0x6f9,_0x1b13f0:0x8fe,_0x12e80e:0x719,_0x28dbfe:0x3f0,_0x36a46a:0x27b,_0x24ed75:0x495,_0x196a64:0x5ad,_0x287cf5:0x320,_0x3db29d:0x15a,_0x878f22:0x489,_0x21ca9d:0x1be,_0x36221a:0x48e,_0x2aa677:0x5d6,_0x3aff6b:0x617,_0x443a02:0x6cc,_0x460910:0x602,_0x38deba:0x3b3,_0x21ed63:0x1de,_0x2d4e98:0x12c,_0x50c854:0x621,_0x1b38bc:0x4a4,_0x3d67b8:0x929,_0x5d6901:0x4a4,_0x4a4d9c:0x66f,_0x397b39:0x5ff,_0x484ecb:0x5e4,_0x50666c:0x834,_0x58962b:0x602,_0x5f5abd:0x86f,_0x4e199e:0x557,_0x19fe0b:0x557,_0x2d2c08:0x3fc,_0x23ce4f:0x32e,_0x47948c:0x8f2,_0x18cc26:0x4d4,_0x3af357:0x22b,_0x1be60b:0x3c4,_0x308b41:0x5cd,_0x299303:0x7db,_0x4d7b9d:0x3ed,_0x6831da:0x67e,_0x477c07:0x388,_0x38fdfd:0xc3,_0x16f27b:0x799,_0x27813d:0x3ca,_0x3e7aed:0x543,_0x5912d1:0x501,_0x23717c:0x515,_0x5074b9:0x32d,_0x533937:0x54a,_0x41d4d1:0x793,_0x2b307c:0x5b,_0x2a9a8f:0x526,_0x534f06:0x456,_0x5afc88:0x8af,_0x3e5d37:0x897,_0x583e3f:0x2f4,_0x3ccb5c:0xdc,_0x2118d7:0x6fa,_0x59c2db:0xb1,_0x154b88:0x7c0,_0x3a5fd1:0x583,_0x2ae7e4:0x458,_0xc7a48:0x61a,_0x1fa22d:0x3bb,_0x10996c:0x51e,_0x338ef8:0x5ff,_0x544fbf:0x733,_0x2e2e00:0x7b5,_0x45e226:0x6ca,_0x2f5c7b:0x4dd,_0x591d8c:0x107,_0x125bea:0x936,_0x3cc5a5:0x4d5,_0x21e932:0x766,_0x5f1c55:0x43d,_0x1ad6c0:0x2ab,_0x3bf0aa:0x837,_0x42b8df:0x193,_0x1bab30:0x294,_0x2aaa0b:0x80f,_0x57d831:0x3e2,_0x47b58d:0x659,_0x3715bc:0x4e7,_0xe882c8:0x280,_0xa46c3c:0x190,_0x3dd259:0x99,_0x2407d3:0x26d,_0x5c093e:0x3a9,_0x3df1ab:0x2ff,_0xa64b19:0x486,_0x55c9aa:0x21b,_0x335802:0x4e0,_0x5a85bc:0x464,_0x3c8d66:0x205,_0x10452a:0x382,_0x31dfea:0x896,_0x5342c8:0x593,_0x121d02:0x9b6,_0x11639d:0x276,_0x24ae0c:0x4d9,_0x44d09d:0x60a,_0x5d8adc:0x44e,_0x39d22c:0x711,_0x5b3a58:0x686,_0x48277f:0x5bc,_0x11518e:0x84f,_0x9cb460:0x265,_0x666cd4:0x30b,_0x1872da:0x55f,_0x5d1cd4:0x4af,_0x3fa159:0x241,_0x36ed4e:0x158,_0x415427:0x239,_0x53f143:0x4fa,_0x16e289:0x64a,_0x141fa6:0x592,_0x4cacbf:0x849,_0x423548:0x47e,_0x14fa9b:0x3b3,_0x1e90e0:0x21d,_0x45cc47:0x30d,_0x1742d6:0x6c2,_0x2cebd9:0x72e,_0x196191:0x512,_0x376d6e:0x359,_0x1c030b:0x6f3,_0x29bc65:0x5dc,_0x11075d:0x497,_0x377533:0x2ee,_0x472232:0x19e,_0x548ce4:0x54c,_0x19f5c4:0x498,_0x5ec943:0x372,_0x3f6649:0x5e3,_0x59c5ba:0x6b1,_0x1977b7:0x6bd,_0x12657a:0x2bb,_0x5e7ecc:0x2f3,_0x324b42:0x24c,_0x8307f1:0x256,_0x48517f:0x695,_0x180520:0x548,_0x27d211:0x3b9,_0x52586c:0x638,_0x512b86:0x731,_0x492a06:0x68f,_0x38432f:0x437,_0x409fa2:0x271,_0x32beb0:0x2,_0x202c14:0x5e7,_0x4059ff:0x775,_0xf9e60a:0x6b3,_0x559710:0x6d7,_0x5e8d20:0x54e,_0x2cba82:0x692,_0x2b0412:0x7a4,_0x1d449a:0x275,_0x48f253:0x4a3,_0x4c563d:0x67e,_0x5f017c:0x4f8,_0x3d58ab:0x522,_0x328e70:0x36b,_0x5aef77:0x2e3,_0x350e0a:0x4e4,_0x21d73f:0x306,_0x5c3346:0x7be,_0x18c642:0x3dc,_0x333afc:0x48b,_0x3f41e6:0x314,_0x4d251e:0x37c,_0x30692b:0x3af,_0x1c4199:0x63e,_0x17a9ca:0x3e2,_0x25f940:0x165,_0x291e5e:0x23,_0x10c20c:0x5c9,_0x33076e:0x556,_0x37d5ad:0x60c,_0x1b9e1c:0x7b4,_0x4af80f:0x645,_0x429f85:0x5a7,_0xc75dba:0x66d,_0x53f43d:0x847,_0x5da238:0x584,_0x529651:0x7c4,_0x401ad1:0x786,_0xe0e2de:0x4e3,_0x413f74:0x428,_0x4934d4:0x52,_0x2732f5:0x363,_0x4ce84f:0x118,_0x4e6cc9:0x4d1,_0x55daff:0x574,_0x1f065f:0x690,_0xcac215:0x21b,_0x66a5fb:0xa52,_0x48d00a:0x838,_0x4c2303:0x62b,_0x106ffc:0x39d,_0x1f3040:0x60f,_0x286d1c:0x44e,_0x382bf0:0x4c4,_0x443663:0x870,_0x325c3b:0x736,_0x4c1e3c:0x5be,_0x19a9cf:0x2e7,_0x38d0e9:0x2f7,_0x254cdc:0x319,_0x3755d1:0x36e,_0x37c924:0x28b,_0x17e761:0x324,_0x334d20:0x3e4,_0x364eb3:0x59f,_0x1061aa:0x96b,_0xe4342e:0x7e2,_0x381045:0x808,_0x4e38a5:0x481,_0x3229ed:0x22f,_0x35f18c:0x56c,_0x131790:0x4d4,_0x5ad904:0x85,_0x1be349:0x90,_0x2e942e:0x67e,_0x114d40:0x16f,_0x11bdf7:0x51c,_0x3ababb:0x74c,_0x54f9eb:0x4a8,_0x318b10:0x20b,_0xaf4f9f:0x4ee,_0x5c0cb:0x432,_0x5627e4:0x2b2,_0x4ddd01:0x3c3,_0x3481da:0x8a4,_0x249671:0x550,_0x4297fc:0x750,_0x13ce9c:0x427,_0x4a2f2a:0x5bb,_0x38a88b:0x73c,_0x284beb:0x4f0,_0x1e75a2:0x3e,_0xf601d4:0x5bd},_0x5ad4b8={_0x4b288d:0x398,_0x470a0a:0x4c6,_0x118cb5:0x3c8,_0x11914a:0x59a,_0x548fae:0x76a,_0xa10a29:0x498,_0x2ecc93:0x456,_0x3f33f0:0x908},_0x14b736={_0x2b6278:0x5c},_0x3e31d5={_0x374a13:0x740,_0x33753c:0x491,_0x44239f:0x753,_0x73fcad:0x429,_0x3a2a67:0x47a,_0x31a3c:0x397,_0x348846:0x90},_0x197278={_0x26a75f:0x67e,_0x6d4ca8:0x3f9,_0x51f157:0x65c,_0x48e489:0x386,_0x29a5b0:0x316,_0x569920:0x52b,_0x4336f8:0x682,_0x3c5bc7:0x61e,_0x453f37:0x53c,_0x112a3c:0x2d0,_0x3ea569:0x3f9,_0x47b089:0x1fa,_0x18959e:0x4c,_0x5915a7:0x388,_0x4c82f3:0x4c8,_0x33f78c:0x5ce,_0x2b9264:0x314,_0x1ddcac:0x953,_0x1ecf97:0x6f2,_0x734919:0x7f9,_0x4cc3ca:0x41f,_0x16a9e6:0x41c},_0x2bc3bd={_0x2101dc:0x53c},_0x12897a={_0x17bc51:0x32},_0xb10fb8={_0x38cc60:0x79},_0x3a47c4={_0x531f06:0x223};function _0x11b30a(_0x468202,_0x5355a3){return _0x35d151(_0x468202,_0x5355a3-_0x3a47c4._0x531f06);}const _0x21fc70={'ncGJq':function(_0x355df9,_0x20a9f9){return _0x355df9(_0x20a9f9);},'VdmMO':function(_0x35eab2,_0x5e4646){return _0x35eab2(_0x5e4646);},'BPEaa':_0x9bf137(0x645,_0x261fa3._0x5a3e5d)+'>','CqGka':_0x11b30a(0x734,0x70e),'fiYqx':function(_0x343213,_0x12a237,_0x269019){return _0x343213(_0x12a237,_0x269019);},'qGMYe':function(_0x2e85e5){return _0x2e85e5();},'IUmpm':_0x11b30a(0x8e8,0x8bd)+'e','maILR':function(_0x21896f,_0x2cfa50){return _0x21896f(_0x2cfa50);},'TInxY':function(_0x4eafac,_0x157ea2,_0x503133){return _0x4eafac(_0x157ea2,_0x503133);},'AUnUd':_0x9bf137(0x1b2,_0x261fa3._0x2d4b14),'pCygH':function(_0x50dec0){return _0x50dec0();},'lausB':function(_0x285dc8,_0x2a2ab3,_0x24e1e2){return _0x285dc8(_0x2a2ab3,_0x24e1e2);},'oIfCy':function(_0x59e655,_0x7cafee,_0x157da0){return _0x59e655(_0x7cafee,_0x157da0);},'HfXPs':function(_0xd9fae4){return _0xd9fae4();},'YGYbd':'noop','rDJJB':function(_0x19cb28,_0x343089,_0x5c3494,_0x507c06,_0x187024){return _0x19cb28(_0x343089,_0x5c3494,_0x507c06,_0x187024);},'oBVKb':function(_0x27d957,_0x1e4240){return _0x27d957===_0x1e4240;},'QTsWy':'Bridge\x20i'+_0x11b30a(_0x261fa3._0x1da09b,_0x261fa3._0xb6495b)+_0x9bf137(_0x261fa3._0x42e51e,0x22a)+'\x20Restart'+_0x9bf137(0x3a6,0x266)+_0x11b30a(_0x261fa3._0x1e5ef9,_0x261fa3._0x1b13f0)+'rvice\x20to'+_0x11b30a(0x463,_0x261fa3._0x12e80e)+_0x9bf137(_0x261fa3._0x28dbfe,0x128)+_0x11b30a(_0x261fa3._0x36a46a,_0x261fa3._0x24ed75),'twnvr':_0x9bf137(_0x261fa3._0x196a64,_0x261fa3._0x287cf5)+'nd\x20servi'+'ce\x20was\x20i'+_0x11b30a(_0x261fa3._0x3db29d,0x31b)+_0x9bf137(0x372,0x175)+'pped.\x20Re'+'started\x20'+_0x9bf137(_0x261fa3._0x878f22,_0x261fa3._0x21ca9d),'Opgtw':function(_0x10045a,_0x85f3c9){return _0x10045a(_0x85f3c9);},'Uobuf':function(_0x41e047){return _0x41e047();},'NgYup':function(_0xfe6fde,_0x1f74e7){return _0xfe6fde(_0x1f74e7);},'IbJgf':function(_0x5d7015,_0x345e12,_0x561bf1){return _0x5d7015(_0x345e12,_0x561bf1);},'hRwVJ':function(_0x40d358){return _0x40d358();},'bAUgK':_0x11b30a(_0x261fa3._0x36221a,_0x261fa3._0x2aa677),'otTzg':function(_0x5136ef){return _0x5136ef();},'QTDua':_0x9bf137(_0x261fa3._0x3aff6b,_0x261fa3._0x443a02),'Qxacl':function(_0x2bfe83){return _0x2bfe83();},'raCuQ':'Removed\x20'+'backgrou'+_0x11b30a(_0x261fa3._0x460910,_0x261fa3._0x38deba)+_0x9bf137(_0x261fa3._0x21ed63,-_0x261fa3._0x2d4e98)+_0x11b30a(_0x261fa3._0x50c854,0x6ab),'SOzEp':'--lines','xHxZd':_0x9bf137(_0x261fa3._0x1b38bc,_0x261fa3._0x196a64),'MTill':function(_0x1d9c61,_0x536e9b){return _0x1d9c61(_0x536e9b);},'nvCoz':function(_0x3e1b84,_0x4c3ba8){return _0x3e1b84(_0x4c3ba8);},'ZKNqe':function(_0x4ddd86,_0x494110){return _0x4ddd86>_0x494110;},'hlpvZ':function(_0x3d6568){return _0x3d6568();}},[,,_0x5e8497=_0x21fc70[_0x11b30a(_0x261fa3._0x3d67b8,0x87a)],..._0x501ab4]=process[_0x11b30a(0x669,_0x261fa3._0x5d6901)],_0x4f5111=hasFlag(_0x501ab4,_0x11b30a(_0x261fa3._0x4a4d9c,0x8f3)+'e'),_0x135c6f=_0x21fc70['fiYqx'](hasFlag,_0x501ab4,_0x11b30a(0x603,0x74f));if(_0x5e8497==='pair'){const _0x5f17df=readPairSubcommand(_0x501ab4),_0x2ce6bf=_0x5f17df==='local'||_0x21fc70[_0x11b30a(0x897,_0x261fa3._0x397b39)](hasFlag,_0x501ab4,_0x11b30a(_0x261fa3._0x484ecb,_0x261fa3._0x50666c));if(_0x2ce6bf){const _0x55b94f=_0x21fc70[_0x11b30a(_0x261fa3._0x58962b,_0x261fa3._0x5f5abd)](resolveGatewayAuth);if(_0x11b30a(0x5df,_0x261fa3._0x4e199e)in _0x55b94f)throw new Error(_0x55b94f[_0x11b30a(0x447,_0x261fa3._0x19fe0b)]);const _0x2280c2=readFlag(_0x501ab4,_0x21fc70['IUmpm']),_0x4b25e5=readFlag(_0x501ab4,_0x11b30a(_0x261fa3._0x2d2c08,0x52f)),_0x337943={};_0x337943['explicit'+'Url']=_0x4b25e5,_0x337943['gatewayT'+'oken']=_0x55b94f[_0x9bf137(0x475,_0x261fa3._0x23ce4f)],_0x337943[_0x11b30a(0x9be,0x6b3)+_0x11b30a(_0x261fa3._0x47948c,0x8f5)]=_0x55b94f[_0x9bf137(0x3d9,0x376)];const _0x22cf42=_0x21fc70[_0x9bf137(0x2cd,_0x261fa3._0x18cc26)](buildLocalPairingInfo,_0x337943);let _0x4a660f=_0x11b30a(_0x261fa3._0x3af357,0x2ff)+_0x11b30a(0x7f1,0x829)+_0x11b30a(0x53c,_0x261fa3._0x1be60b)+_0x9bf137(0x5b1,0x821)+_0x9bf137(_0x261fa3._0x308b41,_0x261fa3._0x299303),_0x2cc823=![],_0x431774=null,_0x3421c2=_0x11b30a(0x393,_0x261fa3._0x4d7b9d)+'d';if(!_0x4b25e5){_0x431774=buildGatewayControlUiOrigin(_0x22cf42[_0x11b30a(0x825,0x8e7)+'rl']);!_0x135c6f&&console[_0x11b30a(0x61c,_0x261fa3._0x6831da)]('⏳\x20Updati'+_0x9bf137(_0x261fa3._0x477c07,_0x261fa3._0x38fdfd)+_0x11b30a(0x8de,_0x261fa3._0x16f27b)+'ig\x20for\x20L'+'AN\x20acces'+_0x11b30a(_0x261fa3._0x27813d,_0x261fa3._0x3e7aed));const _0x426fe3={};_0x426fe3[_0x11b30a(_0x261fa3._0x5912d1,_0x261fa3._0x5912d1)+_0x9bf137(0x27a,0x226)]=_0x431774;const _0xc65b9d=await configureOpenClawLanAccess(_0x426fe3);_0x2cc823=_0xc65b9d[_0x9bf137(_0x261fa3._0x23717c,0x5a7)+_0x11b30a(0x94b,0x8c5)]||_0xc65b9d[_0x11b30a(_0x261fa3._0x5074b9,0x366)+_0x9bf137(_0x261fa3._0x533937,0x48f)+'ed'];if(_0x2cc823){!_0x135c6f&&console['log']('⏳\x20Restar'+_0x11b30a(0x96c,_0x261fa3._0x41d4d1)+_0x9bf137(0xdf,_0x261fa3._0x2b307c)+_0x11b30a(_0x261fa3._0x2a9a8f,_0x261fa3._0x534f06));const _0x51ad5a=await restartOpenClawGateway();_0x3421c2=_0x51ad5a[_0x11b30a(_0x261fa3._0x5afc88,_0x261fa3._0x3e5d37)],!_0x135c6f&&console[_0x9bf137(0x3e2,_0x261fa3._0x583e3f)](_0x9bf137(0x65,-_0x261fa3._0x3ccb5c)+_0x11b30a(0x51a,_0x261fa3._0x2118d7)+'dy.');}else!_0x135c6f&&console['log'](_0x9bf137(0x65,-_0x261fa3._0x59c2db)+_0x11b30a(_0x261fa3._0x154b88,_0x261fa3._0x3a5fd1)+_0x9bf137(0x257,_0x261fa3._0x2ae7e4)+_0x9bf137(_0x261fa3._0xc7a48,0x431)+'ring.');_0x4a660f=_0x2cc823?_0x11b30a(0x59b,_0x261fa3._0x1fa22d)+_0x9bf137(_0x261fa3._0x10996c,0x45b)+_0x9bf137(_0x261fa3._0x338ef8,_0x261fa3._0x544fbf)+_0x11b30a(0x9e6,_0x261fa3._0x2e2e00)+'ss,\x20rest'+_0x11b30a(_0x261fa3._0x45e226,_0x261fa3._0x2f5c7b)+_0x9bf137(0x1d9,_0x261fa3._0x591d8c)+_0x11b30a(_0x261fa3._0x125bea,0x7fd)+_0x9bf137(_0x261fa3._0x3cc5a5,0x5b5)+'\x20a\x20local'+'\x20gateway'+_0x11b30a(0x9ae,_0x261fa3._0x21e932)+_0x9bf137(_0x261fa3._0x5f1c55,0x1dc):_0x9bf137(_0x261fa3._0x1ad6c0,0x3ce)+_0x9bf137(0x3b7,0x336)+'\x20allowed'+_0x11b30a(_0x261fa3._0x3bf0aa,0x8b6)+_0x9bf137(0x492,_0x261fa3._0x42b8df)+_0x11b30a(0x4b4,0x62f)+_0x9bf137(0x62,_0x261fa3._0x1bab30)+_0x11b30a(_0x261fa3._0x2aaa0b,0x59d)+_0x9bf137(0x584,_0x261fa3._0x57d831)+'QR.';}const _0x364724=await writeRawQrPng(_0x22cf42['qrPayloa'+'d'],_0x11b30a(_0x261fa3._0x47b58d,_0x261fa3._0x3715bc)+_0x9bf137(0x3f5,_0x261fa3._0xe882c8)+'ir',_0x2280c2);_0x135c6f?printJson(buildLocalPairingJson({'gatewayUrl':_0x22cf42['gatewayU'+'rl'],'authMode':_0x22cf42[_0x9bf137(_0x261fa3._0xa46c3c,0x42c)],'expiresAt':_0x22cf42[_0x9bf137(0xf7,-_0x261fa3._0x3dd259)+'t'],'qrImagePath':_0x364724,'message':_0x4a660f,'configUpdated':_0x2cc823,'controlUiOrigin':_0x431774,'gatewayRestartAction':_0x3421c2,'customUrl':_0x21fc70[_0x11b30a(_0x261fa3._0x2407d3,_0x261fa3._0x5c093e)](Boolean,_0x4b25e5)})):printLocalPairingInfo(_0x22cf42['gatewayU'+'rl'],_0x22cf42['authMode'],_0x22cf42[_0x11b30a(0x476,0x393)+'t'],_0x22cf42['qrPayloa'+'d'],_0x364724,_0x4b25e5);return;}const _0x4eb7da=_0x21fc70[_0x9bf137(0x54d,_0x261fa3._0x3df1ab)](hasFlag,_0x501ab4,_0x21fc70['AUnUd']);!_0x4eb7da&&await _0x21fc70['pCygH'](ensurePairPrerequisites);const _0x2b626f=resolveGatewayAuth();if('error'in _0x2b626f)throw new Error(_0x2b626f['error']);const _0x3abf63=_0x21fc70[_0x9bf137(_0x261fa3._0xa64b19,_0x261fa3._0x55c9aa)](readFlag,_0x501ab4,_0x11b30a(_0x261fa3._0x335802,0x670))??readFlag(_0x501ab4,'-s')??_0x9bf137(_0x261fa3._0x5a85bc,0x1f2)+_0x11b30a(_0x261fa3._0x3c8d66,_0x261fa3._0x10452a)+'.clawket'+_0x11b30a(_0x261fa3._0x31dfea,0x5e5),_0x2fd491=_0x21fc70['oIfCy'](readFlag,_0x501ab4,_0x9bf137(0x61e,_0x261fa3._0x5342c8))??readFlag(_0x501ab4,'-n')??_0x21fc70['HfXPs'](getDefaultBridgeDisplayName),_0x18e14f=_0x21fc70[_0x11b30a(0x598,0x722)](readFlag,_0x501ab4,_0x11b30a(_0x261fa3._0x121d02,0x8bd)+'e'),_0x12af9c={};_0x12af9c['serverUr'+'l']=_0x3abf63,_0x12af9c[_0x11b30a(_0x261fa3._0x11639d,0x578)+_0x11b30a(0x4a8,0x6e1)]=_0x2fd491,_0x12af9c[_0x9bf137(_0x261fa3._0x24ae0c,_0x261fa3._0x44d09d)+_0x9bf137(0x175,0x77)]=_0x2b626f[_0x11b30a(_0x261fa3._0x5d8adc,_0x261fa3._0x39d22c)],_0x12af9c[_0x9bf137(0x417,_0x261fa3._0x5b3a58)+_0x9bf137(_0x261fa3._0x47b58d,0x7c5)]=_0x2b626f['password'];const _0x47315a=await pairGateway(_0x12af9c),_0x239d2f=await writePairingQrPng(_0x47315a,_0x18e14f),_0x4eaabf=getServiceStatus(),_0x18f969=decidePairServiceAction(_0x47315a,_0x4eaabf);if(_0x18f969===_0x21fc70[_0x9bf137(_0x261fa3._0x48277f,_0x261fa3._0x11518e)]){const _0x3c26b5=listRuntimeProcesses();if(_0x3c26b5['length']>0x1){stopRuntimeProcesses();const _0x2482f1=restartService(),_0x1f204d='Detected'+'\x20duplica'+_0x11b30a(_0x261fa3._0x9cb460,_0x261fa3._0x666cd4)+_0x11b30a(0x4c0,_0x261fa3._0x1872da)+_0x11b30a(0x3c1,_0x261fa3._0x5d1cd4)+_0x9bf137(_0x261fa3._0x3fa159,_0x261fa3._0x36ed4e)+_0x9bf137(0x62d,0x3ac)+'ound\x20ser'+_0x9bf137(_0x261fa3._0x415427,0x31b)+_0x9bf137(0x4ff,_0x261fa3._0x53f143);_0x135c6f?printJson(buildPairingJson(_0x47315a,_0x239d2f,_0x2482f1,_0x1f204d)):(printPairingInfo(_0x47315a,_0x239d2f),printServiceResult(_0x1f204d,_0x2482f1));return;}_0x135c6f?printJson(_0x21fc70[_0x11b30a(0x6ba,_0x261fa3._0x16e289)](buildPairingJson,_0x47315a,_0x239d2f,_0x4eaabf,_0x11b30a(_0x261fa3._0x141fa6,_0x261fa3._0x4cacbf)+_0x11b30a(_0x261fa3._0x423548,_0x261fa3._0x14fa9b)+'ce\x20alrea'+_0x11b30a(0x4bc,0x708)+_0x9bf137(_0x261fa3._0x1e90e0,_0x261fa3._0x45cc47)+'\x20unchang'+_0x11b30a(0x933,_0x261fa3._0x1742d6))):(printPairingInfo(_0x47315a,_0x239d2f),console[_0x9bf137(0x3e2,0x378)](_0x11b30a(_0x261fa3._0x2cebd9,_0x261fa3._0x4cacbf)+_0x11b30a(_0x261fa3._0x196191,0x3b3)+_0x9bf137(_0x261fa3._0x376d6e,0x338)+_0x11b30a(_0x261fa3._0x1c030b,0x708)+'ng.\x20Left'+_0x9bf137(_0x261fa3._0x29bc65,0x67c)+_0x9bf137(0x426,_0x261fa3._0x11075d)),printServiceResult(null,_0x4eaabf));return;}try{stopRuntimeProcesses();const _0x13440d=_0x21fc70[_0x11b30a(0x5a7,0x75e)](_0x18f969,_0x9bf137(_0x261fa3._0x377533,_0x261fa3._0x472232))?installService():restartService(),_0x4d5c35=_0x18f969===_0x9bf137(_0x261fa3._0x377533,0x48c)?_0x11b30a(0x6fd,0x568)+'talled\x20b'+_0x11b30a(_0x261fa3._0x548ce4,_0x261fa3._0x19f5c4)+_0x11b30a(0x115,0x3dd)+'e.':_0x47315a['action']==='register'+'ed'?_0x21fc70[_0x11b30a(_0x261fa3._0x5ec943,0x315)]:_0x21fc70[_0x9bf137(0x268,0x2ad)];_0x135c6f?_0x21fc70[_0x9bf137(0x13c,-0x146)](printJson,buildPairingJson(_0x47315a,_0x239d2f,_0x13440d,_0x4d5c35)):(printPairingInfo(_0x47315a,_0x239d2f),printServiceResult(_0x4d5c35,_0x13440d));}catch(_0x47c9a2){if(isAutostartUnsupportedError(_0x47c9a2)){const _0x18b907=await _0x21fc70['Uobuf'](startTransientRuntime),_0x48bc6f=_0x21fc70[_0x11b30a(_0x261fa3._0x3f6649,_0x261fa3._0x443a02)](buildUnsupportedAutostartMessage,_0x18b907);_0x135c6f?printJson(buildPairingJson(_0x47315a,_0x239d2f,_0x18b907,_0x48bc6f)):(_0x21fc70['TInxY'](printPairingInfo,_0x47315a,_0x239d2f),_0x21fc70[_0x11b30a(_0x261fa3._0x59c5ba,_0x261fa3._0x1977b7)](printServiceResult,_0x48bc6f,_0x18b907));return;}console[_0x9bf137(_0x261fa3._0x12657a,_0x261fa3._0x5e7ecc)]('Pairing\x20'+_0x9bf137(0x4ea,0x3f7)+_0x9bf137(0x3b2,_0x261fa3._0x324b42)+_0x11b30a(_0x261fa3._0x8307f1,0x311)+_0x11b30a(0x529,_0x261fa3._0x48517f)+'n\x20failed'+':\x20'+formatError2(_0x47c9a2)),console[_0x11b30a(_0x261fa3._0x180520,_0x261fa3._0x19fe0b)]('You\x20can\x20'+_0x9bf137(0x66b,_0x261fa3._0x27d211)+'n\x20\x22clawk'+_0x9bf137(0x403,_0x261fa3._0x52586c)+_0x11b30a(_0x261fa3._0x512b86,0x8ca)+_0x11b30a(_0x261fa3._0x492a06,0x50f)+_0x11b30a(0x4ea,_0x261fa3._0x38432f)+_0x9bf137(_0x261fa3._0x409fa2,_0x261fa3._0x32beb0)),process[_0x11b30a(_0x261fa3._0x202c14,0x898)]=0x1;}return;}if(_0x5e8497===_0x11b30a(0x74f,0x8d8)+_0x11b30a(0x3a9,0x335)){const _0x3b636f=readFlag(_0x501ab4,_0x21fc70['IUmpm']),_0x5ba93b=resolveGatewayAuth();if(_0x9bf137(0x2bb,0x4c9)in _0x5ba93b)throw new Error(_0x5ba93b['error']);const _0x348d64={};_0x348d64[_0x11b30a(0x7b7,_0x261fa3._0x4059ff)+_0x9bf137(0x175,0x7b)]=_0x5ba93b[_0x11b30a(0x95e,0x711)],_0x348d64[_0x11b30a(0x54e,_0x261fa3._0xf9e60a)+_0x11b30a(_0x261fa3._0x559710,0x8f5)]=_0x5ba93b[_0x11b30a(0x5d2,0x675)];const _0x14c6f5=await _0x21fc70[_0x11b30a(_0x261fa3._0x5e8d20,_0x261fa3._0x443a02)](refreshAccessCode,_0x348d64),_0x2856db=await writePairingQrPng(_0x14c6f5,_0x3b636f);_0x135c6f?printJson(buildPairingJson(_0x14c6f5,_0x2856db,_0x21fc70[_0x11b30a(0x3e4,_0x261fa3._0x2cba82)](getServiceStatus),_0x11b30a(0xa7,0x3ac)+_0x11b30a(_0x261fa3._0x2b0412,0x4be)+_0x11b30a(0x3af,0x309))):printPairingInfo(_0x14c6f5,_0x2856db);return;}if(_0x5e8497==='install'||_0x5e8497===_0x21fc70[_0x9bf137(_0x261fa3._0x1d449a,0x1e3)]){const _0x467aa0=requirePairingConfig();_0x21fc70['otTzg'](stopRuntimeProcesses);const _0x1344d6=installService();console[_0x11b30a(_0x261fa3._0x48f253,_0x261fa3._0x4c563d)](_0x11b30a(0x377,_0x261fa3._0x5f017c)+_0x9bf137(_0x261fa3._0x3d58ab,_0x261fa3._0x328e70)+'ound\x20ser'+_0x9bf137(0x314,0x50e)+_0x11b30a(_0x261fa3._0x5aef77,0x37c)+'\x20'+_0x467aa0['gatewayI'+'d']+'.'),printServiceResult(null,_0x1344d6);return;}if(_0x21fc70['oBVKb'](_0x5e8497,_0x21fc70['QTDua'])){const _0x1d23cb=requirePairingConfig();stopRuntimeProcesses();const _0x165981=restartService();console[_0x11b30a(0x893,_0x261fa3._0x6831da)](_0x11b30a(_0x261fa3._0x350e0a,_0x261fa3._0x21d73f)+_0x11b30a(0x6c6,_0x261fa3._0x5c3346)+_0x11b30a(_0x261fa3._0x18c642,_0x261fa3._0x333afc)+_0x9bf137(_0x261fa3._0x3f41e6,0x25f)+_0x11b30a(0x4cd,_0x261fa3._0x4d251e)+'\x20'+_0x1d23cb['gatewayI'+'d']+'.'),printServiceResult(null,_0x165981);return;}function _0x9bf137(_0x329c4f,_0x44a495){return _0x35d151(_0x44a495,_0x329c4f- -_0xb10fb8._0x38cc60);}if(_0x21fc70[_0x11b30a(0x61b,0x75e)](_0x5e8497,_0x11b30a(0x690,_0x261fa3._0x30692b))){const _0x146f22=stopService();_0x21fc70[_0x9bf137(_0x261fa3._0x1c4199,_0x261fa3._0x28dbfe)](stopRuntimeProcesses),console[_0x9bf137(_0x261fa3._0x17a9ca,0x14a)]('Stopped\x20'+_0x9bf137(_0x261fa3._0x25f940,-_0x261fa3._0x291e5e)+_0x11b30a(_0x261fa3._0x10c20c,_0x261fa3._0x38deba)+_0x11b30a(_0x261fa3._0x33076e,0x69c)),printServiceResult(null,_0x146f22);return;}if(_0x5e8497===_0x9bf137(_0x261fa3._0x37d5ad,_0x261fa3._0x1b9e1c)+'l'){const _0x50f601=uninstallService();stopRuntimeProcesses(),console[_0x9bf137(_0x261fa3._0x17a9ca,_0x261fa3._0x4af80f)](_0x21fc70[_0x9bf137(_0x261fa3._0x429f85,_0x261fa3._0xc75dba)]),printServiceResult(null,_0x50f601);return;}if(_0x5e8497==='reset'){stopRuntimeProcesses(),stopService(),deletePairingConfig(),console[_0x11b30a(0x4da,0x67e)](_0x11b30a(0x90f,_0x261fa3._0x53f43d)+_0x9bf137(_0x261fa3._0x5da238,_0x261fa3._0x529651)+_0x11b30a(0xa4b,0x872)+getPairingConfigPath());return;}if(_0x5e8497===_0x11b30a(_0x261fa3._0x401ad1,_0x261fa3._0xe0e2de)){printStatus();return;}if(_0x5e8497===_0x9bf137(0x4e5,_0x261fa3._0x413f74)){const _0x7f9899=Number(readFlag(_0x501ab4,_0x21fc70[_0x11b30a(0x398,0x3a6)])??'200'),_0x1ed30f=parseLookbackToMs(readFlag(_0x501ab4,_0x9bf137(0x7e,-_0x261fa3._0x4934d4))??readFlag(_0x501ab4,'-l')),_0x32d05f=readRecentCliLogs({'lines':_0x7f9899,'lastMs':_0x1ed30f,'includeErrorLog':_0x21fc70[_0x9bf137(_0x261fa3._0x2732f5,_0x261fa3._0x4ce84f)](hasFlag,_0x501ab4,_0x21fc70[_0x9bf137(0xe9,0x1ec)])});if(_0x135c6f){const _0x40c915={};_0x40c915['ok']=!![],_0x40c915[_0x11b30a(_0x261fa3._0x4e6cc9,0x7c7)]=_0x32d05f,printJson(_0x40c915);}else _0x21fc70['oBVKb'](_0x32d05f[_0x9bf137(_0x261fa3._0x55daff,_0x261fa3._0x1f065f)],0x0)?console[_0x9bf137(_0x261fa3._0x57d831,_0x261fa3._0xcac215)]('No\x20match'+_0x11b30a(_0x261fa3._0x66a5fb,_0x261fa3._0x48d00a)+_0x11b30a(0x6c7,_0x261fa3._0x4c2303)+'nd.'):console['log'](_0x32d05f[_0x9bf137(0x667,0x928)]('\x0a'));return;}if(_0x5e8497===_0x11b30a(0x573,_0x261fa3._0x106ffc)){const _0x5d21ed=await buildDoctorReport();_0x135c6f?_0x21fc70['MTill'](printJson,_0x5d21ed):_0x21fc70['nvCoz'](printDoctorReport,_0x5d21ed);return;}if(_0x21fc70[_0x11b30a(_0x261fa3._0x1f3040,0x75e)](_0x5e8497,'run')){const _0x5635df=requirePairingConfig(),_0x41799b=hasFlag(_0x501ab4,'--replac'+'e'),_0x1ec45a=listRuntimeProcesses()[_0x9bf137(0xb7,0x38)](_0x69c39d=>_0x69c39d['pid']);_0x21fc70[_0x11b30a(0x635,0x4a3)](_0x1ec45a['length'],0x0)&&(!_0x41799b&&(console[_0x9bf137(0x2bb,0x30b)](_0x9bf137(_0x261fa3._0x286d1c,_0x261fa3._0x382bf0)+_0x11b30a(_0x261fa3._0x443663,_0x261fa3._0x325c3b)+_0x11b30a(0x8ee,0x900)+'untime\x20i'+_0x11b30a(0x152,0x42a)+_0x9bf137(_0x261fa3._0x4c1e3c,_0x261fa3._0x19a9cf)+_0x9bf137(0x2de,_0x261fa3._0x38d0e9)+(_0x1ec45a['length']>0x1?'s':'')+':\x20'+_0x1ec45a['join'](',\x20')+(_0x11b30a(_0x261fa3._0x254cdc,_0x261fa3._0x3755d1)+'clawket\x20'+_0x9bf137(0x634,0x3d8)+_0x9bf137(0xa0,_0x261fa3._0x37c924)+'rerun\x20wi'+_0x9bf137(_0x261fa3._0x17e761,0x370)+_0x9bf137(_0x261fa3._0x334d20,_0x261fa3._0x364eb3)+_0x11b30a(_0x261fa3._0x1061aa,_0x261fa3._0xe4342e)+_0x11b30a(0x5ef,_0x261fa3._0x381045))),process[_0x9bf137(_0x261fa3._0x4e38a5,_0x261fa3._0x3229ed)](0x1)),_0x21fc70['hlpvZ'](stopRuntimeProcesses));const _0x40185e=resolveGatewayUrl(readFlag(_0x501ab4,_0x11b30a(_0x261fa3._0x35f18c,_0x261fa3._0x131790)+_0x9bf137(_0x261fa3._0x5ad904,_0x261fa3._0x1be349))??readFlag(_0x501ab4,'-g')),_0x22df46=_0x432e3f=>{function _0xad40b0(_0x5ac1da,_0x1b4fb3){return _0x11b30a(_0x5ac1da,_0x1b4fb3-_0x12897a._0x17bc51);}console['log']('['+Date[_0xad40b0(_0x2bc3bd._0x2101dc,0x3c1)]()+']\x20'+_0x432e3f);};!_0x4f5111?(console[_0x11b30a(0x8f5,_0x261fa3._0x2e942e)](_0x11b30a(0x63b,0x78a)+_0x9bf137(_0x261fa3._0x114d40,0x2d3)+_0x5635df[_0x11b30a(_0x261fa3._0x11bdf7,_0x261fa3._0x3ababb)+'d']),console[_0x9bf137(0x3e2,0x5ef)](_0x9bf137(_0x261fa3._0x54f9eb,0x485)+_0x9bf137(0x3f7,_0x261fa3._0x318b10)+_0x5635df[_0x11b30a(_0x261fa3._0x429f85,0x78c)+'Id']),console['log'](_0x9bf137(_0x261fa3._0xaf4f9f,_0x261fa3._0x5c0cb)+'URL:\x20'+_0x40185e),console[_0x9bf137(0x3e2,0x2fa)](''),console['log'](_0x11b30a(_0x261fa3._0x5627e4,_0x261fa3._0x4ddd01)+'\x20bridge\x20'+_0x11b30a(0x693,_0x261fa3._0x3481da)+_0x11b30a(_0x261fa3._0x249671,_0x261fa3._0x2ae7e4)+'trl+C\x20to'+'\x20stop.'),console[_0x11b30a(_0x261fa3._0x4297fc,0x67e)]('')):_0x22df46(_0x11b30a(_0x261fa3._0x13ce9c,0x3c3)+'\x20Clawket'+'\x20service'+'\x20runtime'+'\x20for\x20gat'+_0x11b30a(0x333,_0x261fa3._0x4a2f2a)+_0x5635df[_0x9bf137(0x4b0,0x6c5)+'d']);_0x4f5111&&writeServiceState();const _0x42ba68=new BridgeRuntime({'config':_0x5635df,'gatewayUrl':_0x40185e,'onLog':_0x2540e0=>{const _0x3f250b={_0x2549f0:0x433};function _0x387eb6(_0x1a3765,_0x221d0e){return _0x9bf137(_0x221d0e-_0x3f250b._0x2549f0,_0x1a3765);}_0x22df46(_0x387eb6(0x71d,0x76e)+']\x20'+_0x2540e0);},'onStatus':_0x42de4c=>{function _0x45dfb2(_0x3bf20f,_0x376419){return _0x9bf137(_0x376419-0x236,_0x3bf20f);}function _0x5237cf(_0x1a7ebd,_0x5afb59){return _0x9bf137(_0x5afb59- -0x4f,_0x1a7ebd);}if(_0x42de4c[_0x45dfb2(_0x197278._0x26a75f,_0x197278._0x6d4ca8)+'r']){_0x22df46(_0x45dfb2(_0x197278._0x51f157,0x77e)+'\x20relay='+(_0x42de4c['relayCon'+_0x5237cf(_0x197278._0x48e489,0x502)]?'up':'down')+(_0x45dfb2(0x1f8,_0x197278._0x29a5b0)+'=')+(_0x42de4c[_0x45dfb2(_0x197278._0x569920,_0x197278._0x4336f8)+_0x5237cf(_0x197278._0x3c5bc7,0x46d)]?'up':_0x45dfb2(0x7d1,0x623))+('\x20clients'+'=')+_0x42de4c[_0x45dfb2(_0x197278._0x453f37,0x5cc)+'unt']+_0x45dfb2(0xec,_0x197278._0x112a3c)+_0x42de4c[_0x45dfb2(0x426,_0x197278._0x3ea569)+'r']);return;}_0x21fc70[_0x5237cf(-_0x197278._0x47b089,_0x197278._0x18959e)](_0x22df46,'[status]'+_0x5237cf(_0x197278._0x5915a7,0x283)+(_0x42de4c[_0x45dfb2(_0x197278._0x4c82f3,0x335)+'nected']?'up':_0x45dfb2(_0x197278._0x33f78c,0x623))+(_0x5237cf(_0x197278._0x2b9264,0x91)+'=')+(_0x42de4c['gatewayC'+_0x45dfb2(_0x197278._0x1ddcac,_0x197278._0x1ecf97)]?'up':_0x45dfb2(_0x197278._0x734919,0x623))+(_0x45dfb2(_0x197278._0x4cc3ca,_0x197278._0x16a9e6)+'=')+_0x42de4c[_0x45dfb2(0x509,0x5cc)+_0x5237cf(-0x12b,0x125)]);},'onPendingPairRequest':_0x11904b=>{function _0x5aadba(_0x49eb5e,_0x14aa29){return _0x9bf137(_0x14aa29- -0x15a,_0x49eb5e);}function _0x2949cf(_0x5544ef,_0x249380){return _0x9bf137(_0x249380-0x1c4,_0x5544ef);}_0x21fc70[_0x2949cf(_0x3e31d5._0x374a13,_0x3e31d5._0x33753c)](_0x22df46,_0x2949cf(0x478,_0x3e31d5._0x44239f)+_0x5aadba(0x5df,_0x3e31d5._0x73fcad)+_0x2949cf(0x724,0x4c9)+'='+_0x11904b[_0x5aadba(0x411,0x26b)+'d']+(_0x5aadba(0x29b,0x454)+'d=')+(_0x11904b[_0x5aadba(0x5c7,_0x3e31d5._0x3a2a67)]||_0x21fc70[_0x2949cf(_0x3e31d5._0x31a3c,0x25b)])+'\x20name='+(_0x11904b[_0x5aadba(-_0x3e31d5._0x348846,0x182)+_0x2949cf(0x624,0x609)]??_0x2949cf(0x9d4,0x809)+'>'));}});_0x42ba68[_0x11b30a(_0x261fa3._0x38a88b,0x5d6)]();const _0x42ddd1={};_0x42ddd1['gatewayI'+'d']=_0x5635df['gatewayI'+'d'],_0x42ddd1[_0x9bf137(_0x261fa3._0x284beb,0x745)+'Id']=_0x5635df['instance'+'Id'],_0x42ddd1[_0x9bf137(0xac,-_0x261fa3._0x1e75a2)+_0x9bf137(0x157,0x1ce)]=_0x4f5111,registerRuntimeProcess(_0x42ddd1);const _0x5c2c36=async()=>{const _0x1e9680={_0x1479a5:0x1b0},_0x1e21a9=(_0x16cf70(_0x5ad4b8._0x4b288d,_0x5ad4b8._0x470a0a)+_0x2acfbb(_0x5ad4b8._0x118cb5,_0x5ad4b8._0x11914a))[_0x2acfbb(_0x5ad4b8._0x548fae,_0x5ad4b8._0xa10a29)]('|');let _0x9edbb6=0x0;function _0x16cf70(_0x396f22,_0x401e78){return _0x11b30a(_0x396f22,_0x401e78- -_0x1e9680._0x1479a5);}function _0x2acfbb(_0x107c28,_0xdb7559){return _0x11b30a(_0xdb7559,_0x107c28- -_0x14b736._0x2b6278);}while(!![]){switch(_0x1e21a9[_0x9edbb6++]){case'0':process[_0x16cf70(0x4b5,_0x5ad4b8._0x2ecc93)](_0x2acfbb(0x7f8,_0x5ad4b8._0x3f33f0),_0x5c2c36);continue;case'1':process[_0x16cf70(0x3f3,0x56d)](0x0);continue;case'2':unregisterRuntimeProcess(process[_0x16cf70(0x5b8,0x5b4)]);continue;case'3':_0x4f5111&&clearServiceState(process['pid']);continue;case'4':process['off'](_0x2acfbb(0x85b,0x582),_0x5c2c36);continue;case'5':await _0x42ba68['stop']();continue;}break;}};process['on']('SIGINT',_0x5c2c36),process['on'](_0x9bf137(0x5b8,_0x261fa3._0xf601d4),_0x5c2c36),await new Promise(()=>{});}printHelp();}function printPairingInfo(_0x185947,_0x46d1c9){const _0x4f7001={_0x4c8438:0x637,_0x4ad6b4:0x1c8,_0x31282f:0x3ff,_0x523451:0x47,_0x274183:0x47f,_0x5a69b7:0x1e2,_0x2d559d:0x114,_0x1fa00e:0x3df,_0x921b81:0x441,_0x3d87a8:0x405,_0x3938bc:0x259,_0x5cc2f2:0x87,_0x41e8a2:0x473,_0x3946a3:0x1fe,_0x57b94f:0x671,_0x3aa62c:0xdc,_0x54ae00:0xfb,_0x5d5172:0x139,_0x5234cf:0x19f,_0x465a4a:0x4e,_0x570984:0x196,_0x2c5f24:0x111,_0x4ed2bc:0x7d},_0x3437ff={_0x3706cc:0x25d},_0x42fa16={};_0x42fa16[_0x56e43c(_0x4f7001._0x4c8438,0x441)]=_0x56e43c(0x1d6,0x366)+'d',_0x42fa16[_0x1276f6(_0x4f7001._0x4ad6b4,_0x4f7001._0x31282f)]='\x0aScan\x20th'+_0x56e43c(-0x10d,_0x4f7001._0x523451)+_0x1276f6(0x6e6,_0x4f7001._0x274183)+_0x1276f6(_0x4f7001._0x5a69b7,-0x9b)+_0x1276f6(-0x1d9,_0x4f7001._0x2d559d);const _0x1a6f1b=_0x42fa16;function _0x56e43c(_0x433176,_0x5910ed){return _0x35d151(_0x433176,_0x5910ed- -0x26f);}_0x185947['action']===_0x1a6f1b[_0x56e43c(_0x4f7001._0x1fa00e,_0x4f7001._0x921b81)]&&console['log'](_0x1276f6(0x468,0x3b7)+_0x56e43c(0x39a,0x394)+_0x1276f6(0x378,0x308)+_0x1276f6(0x141,_0x4f7001._0x3d87a8)+'\x20the\x20pai'+'ring\x20cod'+'e.');console['log']('Gateway\x20'+_0x56e43c(-_0x4f7001._0x3938bc,-_0x4f7001._0x5cc2f2)+_0x185947['config']['gatewayI'+'d']),console[_0x1276f6(_0x4f7001._0x41e8a2,_0x4f7001._0x3946a3)](_0x1a6f1b[_0x1276f6(_0x4f7001._0x57b94f,0x3ff)]);function _0x1276f6(_0x25eb58,_0x4229ff){return _0x35d151(_0x25eb58,_0x4229ff- -_0x3437ff._0x3706cc);}const _0x3e1622={};_0x3e1622[_0x56e43c(-_0x4f7001._0x3aa62c,-_0x4f7001._0x54ae00)]=!![],_0x1bbb4f['generate'](_0x185947[_0x1276f6(-0x36,-0xef)+'d'],_0x3e1622),console['log'](_0x1276f6(0x294,_0x4f7001._0x5d5172)+'\x20'+formatLocalTime(_0x185947[_0x1276f6(-_0x4f7001._0x5234cf,-0xdd)+_0x1276f6(0x187,0x25e)+_0x1276f6(_0x4f7001._0x465a4a,_0x4f7001._0x570984)])),console['log'](_0x1276f6(_0x4f7001._0x2c5f24,_0x4f7001._0x4ed2bc)+':\x20'+_0x46d1c9);}function printLocalPairingInfo(_0x3f8a89,_0x2c6c23,_0x312fbc,_0x4c2b7d,_0x5a3a88,_0xbc7a19){const _0x2b85f4={_0x67d160:0x35a,_0x50c5f6:0x2fc,_0x36d276:0x38b,_0x26bd77:0x4a1,_0x231efe:0x5e8,_0x46034b:0x198,_0x55a7b2:0x4b9,_0x4f44c9:0x261,_0x3606b1:0xfe,_0x251371:0xbd,_0xae122e:0x186,_0x369352:0x1b1,_0xc460a:0x5ce,_0x2f4d3d:0x44a,_0x462396:0xc7,_0x852ec4:0x4f9,_0x2eed24:0x24a,_0x1b9aac:0x443,_0xf8d555:0x706,_0x1b2d04:0x5c1,_0x9715e2:0x499,_0x3095b9:0x43d,_0x25ae70:0x158};console[_0x2aec47(0x2fc,0x246)](_0x2aec47(0x408,_0x2b85f4._0x67d160)+'URL:\x20'+_0x3f8a89);function _0x588d97(_0x34c6d8,_0xc50d6a){return _0x35d151(_0xc50d6a,_0x34c6d8-0x163);}console[_0x2aec47(_0x2b85f4._0x50c5f6,0x58f)](_0x2aec47(0x102,0x2c0)+_0x588d97(0x2c3,_0x2b85f4._0x36d276)+_0x2c6c23),console['log'](_0xbc7a19?_0x2aec47(0xbb,0x143)+_0x2aec47(_0x2b85f4._0x26bd77,_0x2b85f4._0x231efe)+_0x2aec47(_0x2b85f4._0x46034b,0x2f7)+'y\x20QR\x20in\x20'+_0x588d97(_0x2b85f4._0x55a7b2,0x1e0)+_0x2aec47(_0x2b85f4._0x4f44c9,_0x2b85f4._0x3606b1)+'\x0a':_0x2aec47(0xbb,-_0x2b85f4._0x251371)+_0x2aec47(_0x2b85f4._0xae122e,-0xd)+_0x588d97(0x2bc,_0x2b85f4._0x369352)+_0x588d97(0x3eb,_0x2b85f4._0xc460a)+_0x588d97(0x40b,0x444)+_0x2aec47(_0x2b85f4._0x2f4d3d,0x13f));const _0x168c1b={};_0x168c1b['small']=!![];function _0x2aec47(_0x1c55ab,_0x386c59){return _0x35d151(_0x386c59,_0x1c55ab- -0x15f);}_0x1bbb4f['generate'](_0x4c2b7d,_0x168c1b),console[_0x2aec47(0x2fc,_0x2b85f4._0x462396)](_0x588d97(_0x2b85f4._0x852ec4,_0x2b85f4._0x2eed24)+'\x20'+new Date(_0x312fbc)[_0x2aec47(_0x2b85f4._0x1b9aac,_0x2b85f4._0xf8d555)+_0x588d97(_0x2b85f4._0x1b2d04,_0x2b85f4._0x9715e2)]()),console[_0x2aec47(0x2fc,0x1be)](_0x588d97(_0x2b85f4._0x3095b9,_0x2b85f4._0x25ae70)+':\x20'+_0x5a3a88);}function printStatus(){const _0x295b41={_0x50f9a3:0x212,_0x20198e:0x2,_0x5addbc:0x650,_0x451f26:0x157,_0x1d9bd3:0x302,_0x5f1e27:0x573,_0x246d0e:0x478,_0x410829:0x1f4,_0x3575e6:0x2a1,_0x4e7412:0x1db,_0x11a9d2:0x85,_0x4a8f79:0x2b,_0xff04de:0x1ce,_0x4c0062:0x443,_0x14fa2e:0x1e1,_0x3340a8:0x141,_0x432cb1:0x685,_0x15446b:0x985,_0x33e5b9:0x170,_0x7474d6:0x1ab,_0x18b64f:0x262,_0x18d5d5:0x7b7,_0x41e2fb:0x2e8,_0x502a3d:0x44,_0x527999:0xfd,_0x4e1db9:0x175,_0x3571c3:0x2e4,_0x318548:0x467,_0x1b5982:0x741,_0xe9a181:0xa7,_0x280c31:0x388,_0x5cd6dc:0xce,_0x401123:0x699,_0x3a3a30:0x97,_0x5896d1:0xa,_0x14dbec:0x681},_0x557112={_0x5dd44b:0x5ca},_0x23f1b3={'xTYjA':function(_0x4ad95b){return _0x4ad95b();},'YjQvg':function(_0x335012){return _0x335012();},'XgtHL':'not\x20inst'+_0x6b0887(-_0x295b41._0x50f9a3,-_0x295b41._0x20198e)},_0x1786c4=readPairingConfig(),_0xac3072=_0x23f1b3[_0x6b0887(-0x7a,0x133)](getServiceStatus),{logPath:_0x35d236,errorLogPath:_0x1188b3}=getServicePaths();function _0x174b59(_0x578f16,_0x2c9095){return _0x341e52(_0x578f16- -0x270,_0x2c9095);}const _0x5d27ea=readCliVersion();console[_0x174b59(0x467,_0x295b41._0x5addbc)](_0x6b0887(0x16a,0x281)+'\x20'+_0x5d27ea);!_0x1786c4?console[_0x6b0887(0x10d,0x22b)](_0x6b0887(0x127,0x336)+_0x6b0887(-0xd2,-0x35e)+_0x6b0887(0xf3,0xdd)+getPairingConfigPath()+')'):(console[_0x6b0887(0x10d,0x178)](_0x6b0887(0x127,-0x151)+_0x6b0887(-_0x295b41._0x451f26,-_0x295b41._0x1d9bd3)),console['log'](_0x174b59(_0x295b41._0x5f1e27,_0x295b41._0x246d0e)+_0x174b59(_0x295b41._0x410829,_0x295b41._0x3575e6)+_0x1786c4[_0x6b0887(_0x295b41._0x4e7412,-_0x295b41._0x11a9d2)+'d']),console['log'](_0x6b0887(0x1d3,_0x295b41._0x4a8f79)+':\x20'+_0x1786c4[_0x174b59(0x575,0x83e)+'Id']),console[_0x174b59(0x467,0x433)](_0x6b0887(_0x295b41._0xff04de,_0x295b41._0x4c0062)+_0x6b0887(_0x295b41._0x14fa2e,_0x295b41._0x3340a8)+_0x1786c4['serverUr'+'l']),console['log'](_0x174b59(_0x295b41._0x432cb1,_0x295b41._0x15446b)+(_0x1786c4[_0x174b59(0x361,0x3a7)+_0x6b0887(_0x295b41._0x33e5b9,-0x21)]??'-')));function _0x6b0887(_0xa419ed,_0x20e758){return _0x341e52(_0xa419ed- -_0x557112._0x5dd44b,_0x20e758);}console[_0x6b0887(0x10d,_0x295b41._0x7474d6)]('Gateway:'+'\x20'+_0x23f1b3[_0x6b0887(0xf4,-0x1e3)](resolveGatewayUrl)),console['log']('Service:'+'\x20'+(_0xac3072[_0x6b0887(0x262,0x339)+'d']?_0x6b0887(_0x295b41._0x18b64f,0x392)+'d':_0x23f1b3['XgtHL'])+'\x20('+_0xac3072[_0x174b59(0x580,_0x295b41._0x18d5d5)]+')'),console['log'](_0x174b59(_0x295b41._0x41e2fb,_0x295b41._0x502a3d)+'\x20'+(_0xac3072[_0x6b0887(-_0x295b41._0x527999,-0x99)]?_0x6b0887(_0x295b41._0x4e1db9,_0x295b41._0x3571c3):'no')),console[_0x174b59(_0x295b41._0x318548,_0x295b41._0x1b5982)](_0x6b0887(0x1c3,_0x295b41._0xe9a181)+(_0xac3072[_0x174b59(_0x295b41._0x280c31,0x5eb)+_0x6b0887(_0x295b41._0x5cd6dc,-0xfe)]||'-')),console[_0x174b59(_0x295b41._0x318548,0x3d5)]('Log:\x20'+_0x35d236),console[_0x174b59(_0x295b41._0x318548,_0x295b41._0x401123)](_0x174b59(0x2fb,_0x295b41._0x3a3a30)+_0x6b0887(_0x295b41._0x5896d1,0xbe)+_0x1188b3),!_0x1786c4&&(process[_0x174b59(_0x295b41._0x14dbec,0x90b)]=0x1);}function printServiceResult(_0x5e0c8c,_0x1e778b){const _0x61e7b={_0x23ad37:0x878,_0x344661:0x755,_0x2df3b1:0x56c,_0x3ac794:0x6da,_0x563479:0x137,_0x4ce280:0x417,_0x3da242:0x40b,_0x3efca3:0x528,_0x5648d2:0x654,_0xad704b:0x941,_0x3c79dd:0x2a2,_0x5676a1:0x953,_0x2f5504:0xa3f,_0xb96dae:0x65c,_0xf0f394:0x4db,_0x23b80e:0x4cd,_0x994a77:0x7ec,_0x45ab84:0x5ca,_0x3db55d:0x73a,_0x2f337e:0xd3c},_0x24f361={_0x5abc30:0x391},_0xc69664={};_0xc69664[_0x419309(_0x61e7b._0x23ad37,0xa73)]=_0x30945f(0x56c,_0x61e7b._0x344661)+_0x419309(0x5b9,0x39b)+'ng';function _0x30945f(_0x110504,_0xf2e743){return _0x35d151(_0xf2e743,_0x110504- -0x44);}_0xc69664['nVRTx']=_0x30945f(_0x61e7b._0x2df3b1,_0x61e7b._0x3ac794)+_0x30945f(0x2ca,_0x61e7b._0x563479)+'ed';function _0x419309(_0xa011bf,_0x1f11c7){return _0x35d151(_0x1f11c7,_0xa011bf-_0x24f361._0x5abc30);}const _0x69e36c=_0xc69664;_0x5e0c8c&&console[_0x30945f(0x417,0x44e)](_0x5e0c8c),console[_0x30945f(_0x61e7b._0x4ce280,_0x61e7b._0x3da242)](_0x419309(_0x61e7b._0x3efca3,_0x61e7b._0x5648d2)+'\x20'+(_0x1e778b[_0x419309(_0x61e7b._0xad704b,0x6b2)+'d']?_0x1e778b[_0x30945f(0x20d,_0x61e7b._0x3c79dd)]?_0x69e36c[_0x419309(0x878,0xa07)]:_0x69e36c[_0x419309(_0x61e7b._0x5676a1,_0x61e7b._0x2f5504)]:_0x419309(_0x61e7b._0xb96dae,_0x61e7b._0xf0f394)+_0x419309(_0x61e7b._0x23b80e,0x70a))),console[_0x419309(_0x61e7b._0x994a77,0x5c9)](_0x30945f(_0x61e7b._0x45ab84,_0x61e7b._0x3db55d)+_0x419309(0xa7d,_0x61e7b._0x2f337e)+(_0x1e778b[_0x419309(0x70d,0x8cf)+'ath']||'-'));}function printDoctorReport(_0x4f52cd){const _0xbd8cc9={_0x45cce0:0x36d,_0x1358c6:0x116,_0x2eceb7:0x1e8,_0x1f1e41:0x695,_0x46d2a8:0x558,_0x348a7d:0x384,_0xbf813e:0x410,_0x5c4610:0x1a1,_0x55c81d:0xbe,_0x107f3c:0x2fa,_0x4774b0:0xff,_0x1a70ff:0x20e,_0x1f4b2f:0x60f,_0x4d994d:0x410,_0x18d95e:0x319,_0x467cd7:0x425,_0xdd1330:0x660,_0x12d3d0:0x58,_0x1d4ceb:0xe4,_0x413644:0x3a3,_0x191a44:0x4e1,_0x2725fc:0x303,_0x4f94c8:0x17d,_0x1d66b4:0x159,_0x17fc51:0x1e1,_0xc53c07:0x10b,_0x170c2f:0x410,_0x43b7eb:0x20a,_0x45c154:0x565,_0x42cc4c:0x1c6,_0x5f3432:0x169,_0x166eb8:0x252,_0x2f1bf1:0x439,_0x39ef0f:0x2d9,_0x2c3ed:0x364,_0x207f2e:0x4fd,_0x19a2b6:0x395,_0x5515eb:0x394,_0x4cbb2e:0x317,_0x33c3c2:0x141,_0x30fae4:0x266,_0x321b5c:0x3ad,_0x573c5e:0x12f,_0x3475f4:0x265,_0x536237:0x2f4,_0x363e68:0x24d,_0x2c1859:0x4d1,_0x43e401:0x6a,_0x4617c7:0x2f0,_0x15f429:0xdd,_0x5de55e:0x246,_0x5cf66e:0x5d4,_0x302c28:0x4fd,_0x243844:0x3ba,_0x4c3554:0x1bf,_0x8deeed:0x227,_0x3be53e:0x43e,_0x3e9661:0x159,_0x211f94:0x51c,_0x248ce9:0x115,_0x394f7f:0x21a,_0xe4da24:0x3ad,_0x4a8554:0x7da,_0x3d1205:0x2bc,_0xd2e5e:0x220,_0xb97ff5:0x4b2,_0x67cc24:0x289,_0x12b203:0x410,_0x5162d3:0x302,_0x5234b0:0x30c,_0x2f9f6c:0x817,_0x561769:0x38b,_0x53fe5d:0x19a},_0x12761a={_0x30bb7f:0x302},_0x2f8918={_0xb9f9ac:0x4b},_0x40a1f3=(_0x5cd2fe(_0xbd8cc9._0x45cce0,_0xbd8cc9._0x1358c6)+_0x3aeee8(0x929,0x65d)+'|0|8|4|1'+_0x5cd2fe(_0xbd8cc9._0x2eceb7,0x260)+_0x5cd2fe(0x199,0x259))[_0x3aeee8(_0xbd8cc9._0x1f1e41,_0xbd8cc9._0x46d2a8)]('|');let _0x285cab=0x0;function _0x3aeee8(_0x1700f3,_0x454e99){return _0x35d151(_0x1700f3,_0x454e99- -_0x2f8918._0xb9f9ac);}function _0x5cd2fe(_0x58ace9,_0x78284){return _0x35d151(_0x58ace9,_0x78284- -_0x12761a._0x30bb7f);}while(!![]){switch(_0x40a1f3[_0x285cab++]){case'0':console[_0x3aeee8(_0xbd8cc9._0x348a7d,_0xbd8cc9._0xbf813e)]('Service\x20'+'path:\x20'+(_0x4f52cd['serviceP'+_0x5cd2fe(-_0xbd8cc9._0x5c4610,0x11a)]||'-'));continue;case'1':console[_0x5cd2fe(-_0xbd8cc9._0x55c81d,0x159)](_0x3aeee8(_0xbd8cc9._0x107f3c,_0xbd8cc9._0x4774b0)+'L:\x20'+(_0x4f52cd[_0x5cd2fe(-_0xbd8cc9._0x1a70ff,0x1f)]??'-'));continue;case'2':console[_0x3aeee8(_0xbd8cc9._0x1f4b2f,_0xbd8cc9._0x4d994d)](_0x5cd2fe(-0xc2,0x21f)+_0x3aeee8(_0xbd8cc9._0x18d95e,_0xbd8cc9._0x467cd7)+(_0x4f52cd['instance'+'Id']??'-'));continue;case'3':console[_0x3aeee8(_0xbd8cc9._0xdd1330,0x410)]('OpenClaw'+'\x20media:\x20'+_0x4f52cd['openclaw'+_0x5cd2fe(0x32c,_0xbd8cc9._0x12d3d0)]);continue;case'4':console['log'](_0x3aeee8(0x203,0x339)+_0x5cd2fe(0x60,0xa8)+_0x4f52cd[_0x3aeee8(_0xbd8cc9._0x1d4ceb,_0xbd8cc9._0x413644)+_0x5cd2fe(_0xbd8cc9._0x191a44,_0xbd8cc9._0x2725fc)]);continue;case'5':console[_0x5cd2fe(-_0xbd8cc9._0x4f94c8,_0xbd8cc9._0x1d66b4)](_0x5cd2fe(-_0xbd8cc9._0x17fc51,0xbf)+(_0x4f52cd[_0x5cd2fe(-0x1cb,-_0xbd8cc9._0xc53c07)]?'yes':'no'));continue;case'6':console[_0x3aeee8(0x369,_0xbd8cc9._0x170c2f)](_0x3aeee8(0xb4,0x14c)+'\x20'+(_0x4f52cd[_0x3aeee8(0x61b,0x5ab)+_0x5cd2fe(-0x344,-_0xbd8cc9._0x43b7eb)]?_0x3aeee8(0x5d2,_0xbd8cc9._0x45c154)+'d':_0x3aeee8(0xe4,0x280)+_0x5cd2fe(0xd2,-_0xbd8cc9._0x42cc4c))+'\x20('+_0x4f52cd['serviceM'+_0x3aeee8(0xe,_0xbd8cc9._0x5f3432)]+')');continue;case'7':console[_0x3aeee8(_0xbd8cc9._0x166eb8,0x410)](_0x3aeee8(_0xbd8cc9._0x2f1bf1,_0xbd8cc9._0x39ef0f)+_0x5cd2fe(-_0xbd8cc9._0x2c3ed,-0x201)+'\x20'+(_0x4f52cd[_0x3aeee8(0x6de,_0xbd8cc9._0x207f2e)+_0x3aeee8(_0xbd8cc9._0x19a2b6,0x40c)+_0x5cd2fe(_0xbd8cc9._0x5515eb,_0xbd8cc9._0x4cbb2e)]?_0x3aeee8(-_0xbd8cc9._0x33c3c2,0xd9):_0x5cd2fe(0x3,0x1bf)));continue;case'8':console[_0x5cd2fe(_0xbd8cc9._0x30fae4,0x159)]('Log\x20path'+':\x20'+_0x4f52cd[_0x3aeee8(0x7e3,_0xbd8cc9._0xdd1330)]);continue;case'9':console[_0x3aeee8(_0xbd8cc9._0x321b5c,0x410)](_0x5cd2fe(_0xbd8cc9._0x573c5e,_0xbd8cc9._0x3475f4)+_0x3aeee8(_0xbd8cc9._0x536237,0x139)+_0x4f52cd['localGat'+_0x3aeee8(0x5a4,0x2d1)]);continue;case'10':console[_0x3aeee8(0x222,0x410)](_0x3aeee8(_0xbd8cc9._0x363e68,_0xbd8cc9._0x2c1859)+'RL:\x20'+(_0x4f52cd[_0x5cd2fe(_0xbd8cc9._0x43e401,0x154)+'l']??'-'));continue;case'11':console[_0x3aeee8(0x366,0x410)]('OpenClaw'+_0x5cd2fe(-_0xbd8cc9._0x4617c7,-0x3f)+_0x4f52cd[_0x5cd2fe(_0xbd8cc9._0x15f429,_0xbd8cc9._0x5de55e)+_0x3aeee8(_0xbd8cc9._0x5cf66e,0x4da)+'r']);continue;case'12':console[_0x5cd2fe(-0x56,_0xbd8cc9._0x1d66b4)](_0x3aeee8(0x4a9,0x2d9)+'\x20token:\x20'+(_0x4f52cd[_0x3aeee8(0x523,_0xbd8cc9._0x302c28)+_0x3aeee8(_0xbd8cc9._0x243844,0x404)+'nd']?'found':_0x5cd2fe(0x325,_0xbd8cc9._0x4c3554)));continue;case'13':console[_0x3aeee8(0x686,0x410)]('Gateway\x20'+_0x3aeee8(-0x52,0x19d)+(_0x4f52cd[_0x5cd2fe(-0x15,_0xbd8cc9._0x8deeed)+'d']??'-'));continue;case'14':console[_0x5cd2fe(_0xbd8cc9._0x3be53e,_0xbd8cc9._0x3e9661)](_0x3aeee8(0x33e,_0xbd8cc9._0x211f94)+_0x5cd2fe(0x169,0x3b7)+_0x3aeee8(0x3e1,_0xbd8cc9._0x248ce9)+(_0x4f52cd[_0x5cd2fe(_0xbd8cc9._0x394f7f,_0xbd8cc9._0xe4da24)+_0x3aeee8(_0xbd8cc9._0x4a8554,0x620)+_0x5cd2fe(-_0xbd8cc9._0x3d1205,-_0xbd8cc9._0xd2e5e)]?_0x5cd2fe(_0xbd8cc9._0xb97ff5,0x1c1):'no'));continue;case'15':console[_0x3aeee8(_0xbd8cc9._0x67cc24,_0xbd8cc9._0x12b203)](_0x5cd2fe(_0xbd8cc9._0x5162d3,_0xbd8cc9._0x5234b0)+_0x3aeee8(_0xbd8cc9._0x2f9f6c,0x61d)+'\x20'+(_0x4f52cd[_0x3aeee8(0x521,0x570)+_0x5cd2fe(0x172,_0xbd8cc9._0x561769)]?_0x5cd2fe(_0xbd8cc9._0x53fe5d,0x1c1):'no'));continue;}break;}}function requirePairingConfig(){const _0x5621c1={_0x5001c2:0x58d,_0x563132:0x93a,_0x56693e:0x926,_0x19d044:0x7bb,_0x4e0c78:0x550,_0x310f69:0x5b0,_0x521e3c:0x68b,_0x2b1813:0x851},_0xf33435={_0x1adac3:0x143};function _0xd454b6(_0x20df99,_0x471d6e){return _0x341e52(_0x20df99-_0xf33435._0x1adac3,_0x471d6e);}const _0x4e9ffa=readPairingConfig();function _0x11ee53(_0x205248,_0x21c437){return _0x341e52(_0x205248-0x6d,_0x21c437);}return!_0x4e9ffa&&(console[_0x11ee53(0x61d,0x6a6)](_0x11ee53(0x7e9,0x995)+_0x11ee53(_0x5621c1._0x5001c2,0x812)+_0xd454b6(0x701,_0x5621c1._0x563132)+_0x11ee53(0x78e,_0x5621c1._0x56693e)+_0x11ee53(0x966,_0x5621c1._0x19d044)+_0xd454b6(_0x5621c1._0x4e0c78,_0x5621c1._0x310f69)+_0x11ee53(_0x5621c1._0x521e3c,_0x5621c1._0x2b1813)+getPairingConfigPath()),process['exit'](0x1)),_0x4e9ffa;}function readFlag(_0x34a29a,_0x302f44){const _0x15f286={_0x4d475d:0x1d9},_0x2411bb=_0x34a29a[_0x5d637d(0x643,0x4d1)](_0x302f44);function _0x5d637d(_0x494bd5,_0x31b38d){return _0x35d151(_0x494bd5,_0x31b38d- -_0x15f286._0x4d475d);}if(_0x2411bb<0x0)return null;const _0x5cca0c=_0x34a29a[_0x2411bb+0x1];return _0x5cca0c?.['trim']()?_0x5cca0c['trim']():null;}function hasFlag(_0x41e2de,_0x1b0fa8){const _0x2c939d={_0x7478c5:0x285},_0x32bb8f={_0x205f93:0x2ec};function _0x1d875c(_0x2928b8,_0x4b33a8){return _0x35d151(_0x4b33a8,_0x2928b8- -_0x32bb8f._0x205f93);}return _0x41e2de[_0x1d875c(-0x177,-_0x2c939d._0x7478c5)](_0x1b0fa8);}function readPairSubcommand(_0x29a1fa){const _0x12657d={_0x5ea208:0x49f};function _0x13bd22(_0x971303,_0x3e9248){return _0x35d151(_0x3e9248,_0x971303-0x154);}for(const _0x256a22 of _0x29a1fa){if(!_0x256a22[_0x13bd22(0x745,0x9bb)+'th']('-'))return _0x256a22[_0x4739cd(0x20a,_0x12657d._0x5ea208)]()||null;}function _0x4739cd(_0x5532c8,_0xbe9861){return _0x35d151(_0xbe9861,_0x5532c8- -0x17d);}return null;}function printHelp(){const _0x2784c9={_0x2081fb:0xaff,_0x156ae9:0x346,_0x341e28:0x584,_0x4834b0:0x4bf,_0x57668b:0x40f,_0xb1fc4b:0x468,_0x566306:0x669,_0x4cccc2:0xaf2,_0x5c0dc8:0x9cf,_0x2f7d82:0x71c,_0x334af9:0x6df,_0x2f25a6:0x7cd,_0xf8ce03:0x1b7,_0x47e7b2:0x4a8,_0x16c296:0x62d,_0x1fab5a:0x60b,_0x36e703:0x40c,_0x55d6c1:0xa53,_0x4e4a6d:0xb54,_0x167fa2:0x636,_0x3e93de:0x35d,_0x33ea29:0xc49,_0xc5b988:0x8d9,_0x4d5b69:0x30d,_0x444d15:0x754,_0x30791d:0x885,_0x3fd9bf:0x8bc,_0x1e110c:0x822,_0x5b4e10:0x39e,_0x4e9abf:0x533,_0x33ddd4:0x286,_0x18decc:0x547,_0x2afd9c:0x716,_0x47eed4:0x614,_0x211733:0x9b5,_0x21e9dc:0xc24,_0x36a1b0:0x53a,_0x18da21:0x6e7,_0x5aa73c:0x4ec,_0x3cf6ac:0x814,_0x274e65:0x1b3,_0x5c5fd0:0x547,_0x5f5ad6:0x716,_0x55872b:0x547,_0x35f272:0x7dd,_0xcfee3d:0x65d,_0x500559:0x81f,_0x50947b:0x5b6,_0x3948b4:0x71c,_0xa51b15:0x5da,_0xd000ec:0x9ef},_0x540d75={};_0x540d75[_0x4e1bb4(0x8bc,_0x2784c9._0x2081fb)]=_0x4c1edd(_0x2784c9._0x156ae9,_0x2784c9._0x341e28)+_0x4c1edd(0x36e,0x5a2)+_0x4e1bb4(0x91b,0xba8)+_0x4c1edd(_0x2784c9._0x4834b0,_0x2784c9._0x57668b)+_0x4c1edd(_0x2784c9._0xb1fc4b,_0x2784c9._0x566306)+_0x4c1edd(0x265,0x42)+_0x4e1bb4(_0x2784c9._0x4cccc2,0x9b8)+_0x4c1edd(0x517,0x2a3)+_0x4e1bb4(0x79d,_0x2784c9._0x5c0dc8)+']';function _0x4c1edd(_0x38f5f4,_0x26d3ef){return _0x35d151(_0x26d3ef,_0x38f5f4-0x5a);}_0x540d75['sGDvw']='clawket\x20'+_0x4c1edd(0x3c1,0x56e),_0x540d75[_0x4e1bb4(_0x2784c9._0x2f7d82,0x8c6)]=_0x4c1edd(0x346,0x121)+_0x4c1edd(_0x2784c9._0x334af9,_0x2784c9._0x2f25a6)+'l';function _0x4e1bb4(_0x3d68ed,_0x1d1e57){return _0x35d151(_0x1d1e57,_0x3d68ed-0x42a);}_0x540d75[_0x4c1edd(_0x2784c9._0xf8ce03,_0x2784c9._0x47e7b2)]='clawket\x20'+_0x4e1bb4(_0x2784c9._0x16c296,0x7ee),_0x540d75[_0x4e1bb4(_0x2784c9._0x1fab5a,_0x2784c9._0x36e703)]='clawket\x20'+_0x4e1bb4(0x76b,0x936)+'last\x20<2m'+'>]\x20[--li'+_0x4e1bb4(_0x2784c9._0x55d6c1,_0x2784c9._0x4e4a6d)+_0x4e1bb4(_0x2784c9._0x167fa2,_0x2784c9._0x3e93de)+'rors]\x20[-'+_0x4e1bb4(0x9ca,_0x2784c9._0x33ea29),_0x540d75['NLCBW']='clawket\x20'+_0x4c1edd(0x6f5,_0x2784c9._0xc5b988)+_0x4c1edd(0x207,0x2c9)+_0x4e1bb4(0x517,_0x2784c9._0x4d5b69)+'/127.0.0'+_0x4e1bb4(_0x2784c9._0x444d15,0x78b)+_0x4c1edd(0x6ae,0x3bb)+'place]';const _0x315ce6=_0x540d75;console[_0x4e1bb4(_0x2784c9._0x30791d,0x955)]([_0x4e1bb4(0x716,_0x2784c9._0x3fd9bf)+'pair\x20[--'+'server\x20<'+_0x4e1bb4(_0x2784c9._0x1e110c,0xa9e)+_0x4c1edd(_0x2784c9._0x5b4e10,0x415)+_0x4e1bb4(0xa75,0x9a2)+'me>]\x20[--'+'qr-file\x20'+_0x4e1bb4(_0x2784c9._0x4e9abf,_0x2784c9._0x33ddd4)+_0x4e1bb4(_0x2784c9._0x18decc,0x7ae)+_0x4e1bb4(0x5e2,0x8d5)+'e]',_0x4e1bb4(_0x2784c9._0x2afd9c,0x7a8)+_0x4e1bb4(_0x2784c9._0x47eed4,0x7db)+_0x4e1bb4(_0x2784c9._0x211733,0x715)+_0x4e1bb4(0x992,_0x2784c9._0x21e9dc)+_0x4c1edd(_0x2784c9._0x36a1b0,0x7d4)+_0x4e1bb4(0x6bf,0x3fe)+'r-file\x20<'+_0x4e1bb4(_0x2784c9._0x18da21,0x8e8)+'--json]',_0x315ce6[_0x4c1edd(_0x2784c9._0x5aa73c,0x7f1)],_0x4c1edd(0x346,0x64e)+'refresh-'+_0x4e1bb4(0x820,_0x2784c9._0x3cf6ac)+_0x4c1edd(0x5f4,0x31e)+_0x4c1edd(0x163,_0x2784c9._0x274e65)+_0x4e1bb4(_0x2784c9._0x5c5fd0,0x7e9),_0x4e1bb4(_0x2784c9._0x5f5ad6,_0x2784c9._0x55872b)+_0x4e1bb4(_0x2784c9._0x35f272,_0x2784c9._0xcfee3d),_0x315ce6['sGDvw'],_0x4e1bb4(0x716,_0x2784c9._0x500559)+_0x4c1edd(0x6ea,0x5ba),_0x4e1bb4(0x716,0x4df)+_0x4e1bb4(_0x2784c9._0x50947b,0x7d7),_0x315ce6[_0x4e1bb4(_0x2784c9._0x3948b4,_0x2784c9._0xa51b15)],_0x315ce6['YiAgB'],'clawket\x20'+'status',_0x315ce6[_0x4e1bb4(0x60b,0x3d4)],_0x4c1edd(0x346,0x2ae)+'doctor\x20['+'--json]',_0x315ce6['NLCBW']][_0x4c1edd(0x73a,_0x2784c9._0xd000ec)]('\x0a'));}function buildUnsupportedAutostartMessage(_0x264a9c){const _0x489e2f={_0x132794:0x720,_0xadde46:0x1b9,_0x91a791:0x376,_0x234a25:0x56f,_0x4616de:0x4dd,_0x1fd249:0x4ef,_0x480322:0x777,_0x415ca5:0x51c,_0x11f577:0x2b0,_0x4611a6:0x3b7,_0x1eef39:0x2a5,_0x52a40d:0x935,_0x52197f:0x415,_0x7e82cd:0x7b0,_0x44bf4c:0x642,_0x1ca2dd:0x62a,_0x5d7d71:0x2d5,_0x5cf92c:0x6f0,_0x36e55d:0x3a4,_0x594e08:0x2a1,_0x442979:0x42f,_0x20e36a:0x75a,_0x932e21:0x36c,_0xedfc19:0x575,_0x1226ce:0x413,_0x4e98fd:0x119,_0x71a20d:0x759,_0x2b61ea:0x6c6,_0x1e412f:0x404,_0x46e9b2:0x193,_0x787a6b:0x34b,_0x3f2151:0x2cf,_0x2e446d:0x7ee,_0x23906b:0x5d9,_0x4a4995:0x227,_0x3f6027:0x625,_0x2c4117:0x787,_0x20eee6:0x89e,_0xbe867c:0x649,_0xa08d68:0x31d,_0x5422ef:0x27a},_0x31b9a0={_0xcc5aa:0x82},_0x32d9cb={};_0x32d9cb[_0x2007d6(_0x489e2f._0x132794,0x4b0)]=_0x2007d6(_0x489e2f._0xadde46,_0x489e2f._0x91a791)+_0x12750f(_0x489e2f._0x234a25,_0x489e2f._0x4616de)+_0x2007d6(0x2f3,_0x489e2f._0x1fd249)+_0x2007d6(0x767,0x58b)+_0x12750f(_0x489e2f._0x480322,_0x489e2f._0x415ca5)+_0x2007d6(_0x489e2f._0x11f577,_0x489e2f._0x4611a6)+_0x12750f(0x7a,0x36c)+_0x2007d6(0x575,_0x489e2f._0x1eef39)+_0x12750f(0x597,0x56f)+'rtup\x20reg'+_0x2007d6(0x6c6,_0x489e2f._0x52a40d)+_0x12750f(0x67e,_0x489e2f._0x52197f)+_0x12750f(0xa9e,_0x489e2f._0x7e82cd)+'ainer\x20or'+_0x2007d6(_0x489e2f._0x44bf4c,_0x489e2f._0x1ca2dd)+'\x20manager'+_0x12750f(_0x489e2f._0x5d7d71,0x316)+_0x2007d6(_0x489e2f._0x5cf92c,0x7bf)+_0x2007d6(_0x489e2f._0x36e55d,0x2f7)+_0x2007d6(0x722,0x9ee);const _0x3631b7=_0x32d9cb;if(_0x264a9c[_0x12750f(_0x489e2f._0x594e08,_0x489e2f._0x442979)])return _0x3631b7[_0x2007d6(0x720,0x67a)];function _0x2007d6(_0x41f4ba,_0x2a2fb9){return _0x35d151(_0x2a2fb9,_0x41f4ba-_0x31b9a0._0xcc5aa);}function _0x12750f(_0x37ab56,_0x31af91){return _0x35d151(_0x37ab56,_0x31af91-0x1de);}return _0x12750f(0x81b,_0x489e2f._0x20e36a)+_0x2007d6(0x2b0,0x104)+_0x12750f(0x4ad,_0x489e2f._0x932e21)+_0x2007d6(_0x489e2f._0xedfc19,0x6c3)+_0x2007d6(_0x489e2f._0x1226ce,_0x489e2f._0x4e98fd)+_0x2007d6(_0x489e2f._0x71a20d,0x9d5)+_0x2007d6(_0x489e2f._0x2b61ea,_0x489e2f._0x1e412f)+_0x12750f(0x45d,_0x489e2f._0x71a20d)+_0x12750f(0x39f,0x47b)+'e\x20runtim'+_0x2007d6(0x265,0xe9)+_0x2007d6(_0x489e2f._0x46e9b2,_0x489e2f._0x787a6b)+_0x12750f(_0x489e2f._0x3f2151,0x2e5)+_0x12750f(_0x489e2f._0x2e446d,_0x489e2f._0x23906b)+'ally.\x20Us'+_0x2007d6(0x4b8,_0x489e2f._0x4a4995)+_0x12750f(_0x489e2f._0x3f6027,0x3c3)+_0x2007d6(0x450,0x6d5)+_0x12750f(_0x489e2f._0x2c4117,_0x489e2f._0x20eee6)+_0x12750f(_0x489e2f._0xbe867c,0x76a)+_0x12750f(0xcb,_0x489e2f._0xa08d68)+_0x2007d6(_0x489e2f._0x5422ef,0x31f);}function formatLocalTime(_0x165576){const _0x5f5c3f={_0x13e97c:0x276},_0x22e27a=new Date(_0x165576);if(Number['isNaN'](_0x22e27a[_0x501a0e(_0x5f5c3f._0x13e97c,0x2b1)]()))return _0x165576;function _0x501a0e(_0x56bf6d,_0x255a9d){return _0x35d151(_0x56bf6d,_0x255a9d-0x1c5);}return _0x22e27a['toLocale'+'String']();}function formatError2(_0x2bc132){const _0x269eff={_0x3b7511:0xf4},_0x55f8da={_0x3e8387:0x28d};function _0x68127f(_0x411d8b,_0x5b95a7){return _0x35d151(_0x411d8b,_0x5b95a7- -_0x55f8da._0x3e8387);}return _0x2bc132 instanceof Error?_0x2bc132[_0x68127f(-0x1d9,-_0x269eff._0x3b7511)]:String(_0x2bc132);}function printJson(_0x25827e){const _0x274d90={_0x40f4a9:0x525},_0x3605aa={_0x454cdf:0x253};function _0x48b56d(_0x43bb83,_0x12ac7b){return _0x341e52(_0x12ac7b- -_0x3605aa._0x454cdf,_0x43bb83);}function _0x1f1faa(_0x10d553,_0x59cee4){return _0x341e52(_0x59cee4-0xc6,_0x10d553);}console[_0x48b56d(0x597,0x484)](JSON[_0x48b56d(0x26d,_0x274d90._0x40f4a9)+'y'](_0x25827e,null,0x2));}main()[_0x341e52(0x793,0x7ee)](_0x4e3947=>{const _0x205a19={_0x5d871b:0x60e};function _0x550f0b(_0x5584f6,_0x5bf3fe){return _0x341e52(_0x5bf3fe- -0x198,_0x5584f6);}function _0x15df3e(_0x1b5baf,_0x319472){return _0x341e52(_0x319472- -0x2d,_0x1b5baf);}console[_0x550f0b(0x244,0x418)](formatError2(_0x4e3947)),process[_0x550f0b(_0x205a19._0x5d871b,0x5de)](0x1);});