@p697/clawket 0.3.2 → 0.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
(function(_0x3578a5,_0x4751d8){const _0x5671a4={_0x1b6e2f:0x215,_0x1ce566:0x80,_0x36c84c:0x27f,_0x2739c0:0x63c,_0x104493:0x55e,_0x235a8f:0xe6,_0x2eb695:0x4c6,_0x54dab5:0x6bd,_0x5ee361:0x616,_0x5f3fb1:0x195,_0x39899e:0x28a,_0x38d15e:0x547,_0x3981fd:0x165},_0x2f3514={_0x41ea19:0x2b2};function _0x55c716(_0x401434,_0x339c8d){return _0x31f1(_0x401434-_0x2f3514._0x41ea19,_0x339c8d);}const _0xa4cb0a=_0x3578a5();function _0x2bfcd5(_0x167317,_0x5eae6d){return _0x31f1(_0x167317- -0x2ff,_0x5eae6d);}while(!![]){try{const _0x1808dd=-parseInt(_0x2bfcd5(_0x5671a4._0x1b6e2f,_0x5671a4._0x1ce566))/0x1*(parseInt(_0x2bfcd5(_0x5671a4._0x36c84c,0x174))/0x2)+parseInt(_0x55c716(0x4d4,0x2e8))/0x3+parseInt(_0x55c716(_0x5671a4._0x2739c0,_0x5671a4._0x104493))/0x4*(parseInt(_0x2bfcd5(0x1f8,_0x5671a4._0x235a8f))/0x5)+parseInt(_0x55c716(_0x5671a4._0x2eb695,0x2a4))/0x6+-parseInt(_0x55c716(_0x5671a4._0x54dab5,0x82b))/0x7*(parseInt(_0x55c716(_0x5671a4._0x5ee361,0x62c))/0x8)+parseInt(_0x2bfcd5(_0x5671a4._0x5f3fb1,_0x5671a4._0x39899e))/0x9*(-parseInt(_0x55c716(0x4bb,_0x5671a4._0x38d15e))/0xa)+-parseInt(_0x2bfcd5(_0x5671a4._0x3981fd,0x25c))/0xb;if(_0x1808dd===_0x4751d8)break;else _0xa4cb0a['push'](_0xa4cb0a['shift']());}catch(_0x28b0ca){_0xa4cb0a['push'](_0xa4cb0a['shift']());}}}(_0xd309,0x3913a));const _0x4f4989=(function(){let _0x3bd600=!![];return function(_0x47b041,_0x1b7cb9){const _0x6ecab9={_0x2c6cd8:0x3a4},_0x407f21={_0x1862c7:0x233},_0x102649=_0x3bd600?function(){function _0x440c90(_0x10d27a,_0x2bba36){return _0x31f1(_0x2bba36-_0x407f21._0x1862c7,_0x10d27a);}if(_0x1b7cb9){const _0x4f6824=_0x1b7cb9[_0x440c90(_0x6ecab9._0x2c6cd8,0x3e1)](_0x47b041,arguments);return _0x1b7cb9=null,_0x4f6824;}}:function(){};return _0x3bd600=![],_0x102649;};}()),_0x41770c=_0x4f4989(this,function(){const _0x2ac850={_0xc0e33f:0x212,_0x54dc77:0x18d,_0x52704a:0x272,_0x67f447:0x39f,_0x3d84ba:0x152,_0x1997c2:0x356,_0xb5c8e9:0x115,_0x2d357c:0x3b4,_0x387b24:0x173,_0x5a6365:0x40d};function _0x5cc4a7(_0x176ce7,_0x218848){return _0x31f1(_0x176ce7- -0x102,_0x218848);}function _0x49d36f(_0x4dfedd,_0x115d93){return _0x31f1(_0x115d93- -0x1a1,_0x4dfedd);}return _0x41770c['toString']()[_0x49d36f(0xb9,0x115)](_0x5cc4a7(_0x2ac850._0xc0e33f,_0x2ac850._0x54dc77)+_0x49d36f(_0x2ac850._0x52704a,0x1f6))[_0x49d36f(0x2a8,0x273)]()[_0x5cc4a7(_0x2ac850._0x67f447,0x36e)+_0x5cc4a7(_0x2ac850._0x3d84ba,0x27c)](_0x41770c)[_0x49d36f(_0x2ac850._0x1997c2,_0x2ac850._0xb5c8e9)](_0x49d36f(_0x2ac850._0x2d357c,_0x2ac850._0x387b24)+_0x5cc4a7(0x295,_0x2ac850._0x5a6365));});_0x41770c();import _0x5e4fa0 from'qrcode-terminal';import{readFileSync as _0x12faca}from'fs';import{Socket}from'net';import{homedir as _0x568cf1}from'os';import{existsSync,mkdirSync,readFileSync,rmSync,writeFileSync}from'fs';import{randomUUID}from'crypto';import{homedir,hostname,userInfo}from'os';function _0x1fe1a4(_0x44af7a,_0x5ec3c9){const _0x2e0173={_0x29b417:0xa4};return _0x31f1(_0x5ec3c9- -_0x2e0173._0x29b417,_0x44af7a);}import{join}from'path';var CONFIG_DIR=join(homedir(),'.clawket'),CONFIG_PATH=join(CONFIG_DIR,'bridge-c'+_0x1fe1a4(0x2d5,0x1cc));function getPairingConfigPath(){return CONFIG_PATH;}function readPairingConfig(){const _0x24a26c={_0x590e03:0x87b,_0x1fed7d:0xa9d,_0x219215:0x881,_0x2e9cb2:0x53d,_0xdaa2b3:0x9f2,_0x398c43:0x198,_0x2a7306:0x28b,_0x177e7e:0x5e0,_0x3aaeb3:0x249,_0x35453b:0x1db,_0x48e1f0:0x706,_0x3ff68e:0x69c,_0x23aa8c:0x1e3,_0x306270:0x4f,_0x126501:0x172,_0x4fe2b7:0x3a6},_0x243120={_0x282ffb:0x457};function _0x5d737b(_0x15726d,_0x26f1a9){return _0x1fe1a4(_0x15726d,_0x26f1a9-_0x243120._0x282ffb);}const _0x482a53={'gxtyl':function(_0x1a8f59,_0xe4ec4b){return _0x1a8f59(_0xe4ec4b);}};function _0xff447f(_0x29e82,_0x2abc05){return _0x1fe1a4(_0x2abc05,_0x29e82- -0x221);}if(!_0x482a53[_0x5d737b(_0x24a26c._0x590e03,0x6a3)](existsSync,CONFIG_PATH))return null;try{const _0x4ac1fd=JSON[_0x5d737b(_0x24a26c._0x1fed7d,_0x24a26c._0x219215)](readFileSync(CONFIG_PATH,'utf8'));if(!_0x4ac1fd['serverUr'+'l']||!_0x4ac1fd[_0x5d737b(_0x24a26c._0x2e9cb2,0x633)+'d']||!_0x4ac1fd[_0x5d737b(_0x24a26c._0xdaa2b3,0x8c1)+_0xff447f(_0x24a26c._0x398c43,_0x24a26c._0x2a7306)]||!_0x4ac1fd[_0xff447f(-0xb5,-0x1fd)])return null;const _0xe041ec={'serverUrl':_0x4ac1fd[_0xff447f(0x1b1,0x65)+'l'],'gatewayId':_0x4ac1fd[_0x5d737b(_0x24a26c._0x177e7e,0x633)+'d'],'relaySecret':_0x4ac1fd[_0xff447f(_0x24a26c._0x3aaeb3,_0x24a26c._0x35453b)+'ret'],'relayUrl':_0x4ac1fd[_0x5d737b(0x457,0x5c3)],'instanceId':_0x4ac1fd[_0x5d737b(0x586,0x55d)+'Id']?.[_0x5d737b(0x4bf,_0x24a26c._0x48e1f0)]()||createInstanceId(),'displayName':_0x4ac1fd['displayN'+_0x5d737b(0x736,0x6b4)]??null,'createdAt':_0x4ac1fd[_0x5d737b(_0x24a26c._0x3ff68e,0x770)+'t']??new Date()[_0xff447f(-0x4f,-0x73)+_0xff447f(0x9e,-0x160)](),'updatedAt':_0x4ac1fd[_0xff447f(0x24c,_0x24a26c._0x23aa8c)+'t']??new Date()[_0xff447f(-_0x24a26c._0x306270,0x14a)+_0xff447f(0x9e,_0x24a26c._0x126501)]()};return _0x4ac1fd['instance'+'Id']!==_0xe041ec[_0x5d737b(_0x24a26c._0x4fe2b7,0x55d)+'Id']&&writePairingConfig(_0xe041ec),_0xe041ec;}catch{return null;}}function writePairingConfig(_0x25ed87){const _0xe22020={_0x509e89:0x3d1,_0x7f673b:0x2e2,_0x1fda91:0x17e,_0x360029:0x35b},_0x2a0b05={_0x22b34f:0x1fc};function _0x5e5baf(_0x536434,_0x5535b5){return _0x1fe1a4(_0x5535b5,_0x536434- -0x6d);}const _0x45b042={'KQkxT':function(_0x57877e,_0x5559a0,_0x55deb0){return _0x57877e(_0x5559a0,_0x55deb0);},'nGYwi':function(_0x129e28,_0x4b658a){return _0x129e28+_0x4b658a;}},_0x19692f={};_0x19692f[_0x5e5baf(0x4a5,0x522)+'e']=!![],_0x45b042[_0x44cd96(0x265,_0xe22020._0x509e89)](mkdirSync,CONFIG_DIR,_0x19692f);function _0x44cd96(_0x2746a3,_0x3e5e34){return _0x1fe1a4(_0x3e5e34,_0x2746a3- -_0x2a0b05._0x22b34f);}writeFileSync(CONFIG_PATH,_0x45b042[_0x5e5baf(0x2b7,_0xe22020._0x7f673b)](JSON[_0x44cd96(_0xe22020._0x1fda91,_0xe22020._0x360029)+'y'](_0x25ed87,null,0x2),'\x0a'),'utf8');}function deletePairingConfig(){const _0x3007a9={_0x40f9ea:0x3e9},_0x1190dc={_0x356c4a:0x11a},_0x21ed74={'edHCZ':function(_0x849f89,_0x1cae12,_0x414c82){return _0x849f89(_0x1cae12,_0x414c82);}};if(!existsSync(CONFIG_PATH))return;function _0x58c2c0(_0x4f9090,_0x50f4dc){return _0x1fe1a4(_0x50f4dc,_0x4f9090-_0x1190dc._0x356c4a);}const _0x2b58fe={};_0x2b58fe['force']=!![],_0x21ed74[_0x58c2c0(_0x3007a9._0x40f9ea,0x3f9)](rmSync,CONFIG_PATH,_0x2b58fe);}function getDefaultBridgeDisplayName(){const _0x135e9a={_0x47228a:0x75b,_0x28fb50:0x6eb,_0x416d29:0x54c,_0x29ec10:0x443,_0x22b684:0x49c},_0x3074e5={};function _0x72c265(_0x14b6a3,_0x5d987c){return _0x1fe1a4(_0x14b6a3,_0x5d987c-0x274);}function _0x2db682(_0x50e344,_0x156987){return _0x1fe1a4(_0x156987,_0x50e344-0x28c);}_0x3074e5[_0x72c265(0x3ed,0x484)]=_0x2db682(_0x135e9a._0x47228a,0x732)+_0x72c265(_0x135e9a._0x28fb50,_0x135e9a._0x416d29);const _0x531950=_0x3074e5,_0x50cc65=readOpenClawDefaultAgentName();if(_0x50cc65)return _0x50cc65;try{const _0x3a20dc=userInfo()[_0x2db682(0x3ed,_0x135e9a._0x29ec10)][_0x72c265(0x67f,0x523)]();if(_0x3a20dc)return _0x3a20dc;}catch{}const _0x7340c7=(process.env.LOGNAME??process.env.USER??process.env.USERNAME??'')[_0x72c265(0x37d,0x523)]();if(_0x7340c7)return _0x7340c7;return hostname()['trim']()||_0x531950[_0x2db682(_0x135e9a._0x22b684,0x569)];}function pickOpenClawDefaultAgentName(_0x5c5d5f){const _0x1c00a1={_0x403202:0x4f1,_0x54498d:0x62e,_0x25c8e5:0x4a2,_0x48995b:0x5ae,_0x7493b2:0x68d,_0x4291af:0x75a,_0x2019f5:0x71c,_0x88110d:0x8dd,_0x117db3:0x988};if(!_0x5c5d5f||typeof _0x5c5d5f!==_0x3d4f6b(0x3e8,_0x1c00a1._0x403202))return null;const _0x44362b=_0x5c5d5f[_0x2de1a0(_0x1c00a1._0x54498d,_0x1c00a1._0x25c8e5)];function _0x3d4f6b(_0x582991,_0x3c5176){return _0x1fe1a4(_0x582991,_0x3c5176-0x3dd);}const _0x2bcc72=Array[_0x2de1a0(_0x1c00a1._0x48995b,0x5f1)](_0x44362b?.[_0x3d4f6b(_0x1c00a1._0x7493b2,0x868)])?_0x44362b[_0x2de1a0(_0x1c00a1._0x4291af,_0x1c00a1._0x2019f5)]:[];function _0x2de1a0(_0x8bb363,_0x41d925){return _0x1fe1a4(_0x41d925,_0x8bb363-0x2cf);}const _0x582bd9=_0x2bcc72[_0x2de1a0(0x6e8,_0x1c00a1._0x88110d)](_0x1d8cb8=>isDefaultAgent(_0x1d8cb8))??_0x2bcc72[_0x3d4f6b(_0x1c00a1._0x117db3,0x7f6)](_0x5d7d8b=>hasAgentId(_0x5d7d8b,_0x2de1a0(0x4dc,0x385)))??_0x2bcc72[0x0];return readAgentName(_0x582bd9);}function createInstanceId(){const _0x58b082={_0x23142a:0x1f9,_0xc2e44b:0x391,_0x3a736d:0x254},_0x384217={};function _0x3566d4(_0x2a36d7,_0x2b6999){return _0x1fe1a4(_0x2b6999,_0x2a36d7- -0x2b7);}function _0x391a35(_0x33b04b,_0x54161f){return _0x1fe1a4(_0x54161f,_0x33b04b- -0x2b1);}_0x384217['NwxIu']='host';const _0xa2b0aa=_0x384217,_0x57e1da=sanitizeId(hostname()||_0xa2b0aa[_0x3566d4(-_0x58b082._0x23142a,-_0x58b082._0xc2e44b)]);return _0x3566d4(0xc0,_0x58b082._0x3a736d)+_0x57e1da+'-'+randomUUID()[_0x391a35(0x1c9,0x389)](0x0,0xa);}function sanitizeId(_0x38d480){const _0x3e6fd9={_0x265cb3:0x60,_0x41317c:0x18,_0x242397:0x5d,_0xd974d8:0x64},_0xffe577={_0x1964fe:0x302};function _0x54eaa2(_0xe3a72,_0x5b4527){return _0x1fe1a4(_0xe3a72,_0x5b4527- -0x297);}function _0xfbdc2b(_0x596676,_0x5883a5){return _0x1fe1a4(_0x596676,_0x5883a5-_0xffe577._0x1964fe);}return _0x38d480[_0x54eaa2(-_0x3e6fd9._0x265cb3,_0x3e6fd9._0x41317c)]()[_0x54eaa2(-_0x3e6fd9._0x242397,-0xdd)+_0xfbdc2b(0x6e0,0x495)]()[_0x54eaa2(0x8d,-_0x3e6fd9._0xd974d8)](/[^a-z0-9._-]+/g,'-')['replace'](/^-+|-+$/g,'')||_0xfbdc2b(0x4a7,0x41d);}function readOpenClawDefaultAgentName(){const _0x28b24a={_0x3e0bc0:0x9,_0x87e67f:0x167},_0x2c47ce={_0xc68bd9:0x8d};function _0x16f517(_0x1a1968,_0x57a3f3){return _0x1fe1a4(_0x57a3f3,_0x1a1968- -0x92);}const _0x31743b={'CNyym':function(_0x29c16d,_0x1ef1f5){return _0x29c16d(_0x1ef1f5);}},_0x395910=resolveOpenClawConfigPath();if(!_0x395910||!existsSync(_0x395910))return null;function _0x25c67b(_0x4785a6,_0x1dc520){return _0x1fe1a4(_0x1dc520,_0x4785a6- -_0x2c47ce._0xc68bd9);}try{const _0x5c6d68=JSON['parse'](readFileSync(_0x395910,_0x16f517(_0x28b24a._0x3e0bc0,-0x197)));return _0x31743b[_0x25c67b(_0x28b24a._0x87e67f,-0x55)](pickOpenClawDefaultAgentName,_0x5c6d68);}catch{return null;}}function resolveOpenClawConfigPath(){const _0x4cdf23={_0x194397:0x55f,_0x3860c6:0x2c6,_0x5da911:0x566,_0x1a2422:0x317,_0x581c61:0x29e,_0x1ee153:0x153,_0xa6c6a5:0xbd},_0x8377d8={_0x5e0e93:0x24d},_0x56e75f={_0x3d9436:0x11c},_0xf5d654=new Set();function _0x56042e(_0xb814fb,_0x14c63c){return _0x1fe1a4(_0x14c63c,_0xb814fb- -_0x56e75f._0x3d9436);}const _0x44c10c=[homedir(),'/root'][_0x56042e(0x3df,_0x4cdf23._0x194397)](_0x49fad9=>_0x49fad9[_0x519c78(0x631,0x3ee)]())['filter'](Boolean)[_0x519c78(0x40a,_0x4cdf23._0x3860c6)](_0x478db7=>{if(_0xf5d654['has'](_0x478db7))return![];_0xf5d654[_0x19be0e(_0x8377d8._0x5e0e93,0x391)](_0x478db7);function _0x19be0e(_0x6f11,_0x32fa20){return _0x56042e(_0x6f11-0xad,_0x32fa20);}return!![];});function _0x519c78(_0x389eff,_0xc35aa3){return _0x1fe1a4(_0xc35aa3,_0x389eff-0x382);}for(const _0x1c10c7 of _0x44c10c){const _0x28ff3b=join(_0x1c10c7,_0x519c78(0x5f1,_0x4cdf23._0x5da911)+'w',_0x56042e(_0x4cdf23._0x1a2422,_0x4cdf23._0x581c61)+_0x56042e(0x2a,-0x3b));if(existsSync(_0x28ff3b))return _0x28ff3b;}return _0x44c10c[0x0]?join(_0x44c10c[0x0],_0x56042e(_0x4cdf23._0x1ee153,0xe3)+'w','openclaw'+_0x56042e(0x2a,_0x4cdf23._0xa6c6a5)):null;}function isDefaultAgent(_0x26bd9d){const _0x4f7fa6={_0x20c9a4:0x283,_0x17acc4:0x45c,_0xee6523:0x55b};function _0x37e688(_0x2fe5c9,_0x2c7705){return _0x1fe1a4(_0x2fe5c9,_0x2c7705- -0x18f);}const _0x7ef93d={};_0x7ef93d[_0x37e688(0x132,_0x4f7fa6._0x20c9a4)]=function(_0x31f5f7,_0x3d08c8){return _0x31f5f7===_0x3d08c8;};const _0x4e886c=_0x7ef93d;function _0x246c84(_0x190a74,_0x5b9e69){return _0x1fe1a4(_0x5b9e69,_0x190a74-0xed);}return Boolean(_0x26bd9d&&_0x4e886c[_0x37e688(_0x4f7fa6._0x17acc4,0x283)](typeof _0x26bd9d,'object')&&_0x26bd9d[_0x246c84(_0x4f7fa6._0xee6523,0x491)]===!![]);}function hasAgentId(_0x52e3ce,_0xb1205b){const _0x57eb0f={_0x8853c9:0x552,_0x12d18e:0x3aa,_0x341f4e:0x739,_0xf5530c:0x5a5};function _0x2ea251(_0xd20a9e,_0xb9a2a8){return _0x1fe1a4(_0xd20a9e,_0xb9a2a8-0x296);}function _0x512f65(_0x47d696,_0x59513d){return _0x1fe1a4(_0x59513d,_0x47d696- -0x2d);}return Boolean(_0x52e3ce&&typeof _0x52e3ce===_0x2ea251(_0x57eb0f._0x8853c9,_0x57eb0f._0x12d18e)&&typeof _0x52e3ce['id']===_0x2ea251(_0x57eb0f._0x341f4e,_0x57eb0f._0xf5530c)&&_0x52e3ce['id']['trim']()===_0xb1205b);}function readAgentName(_0x3481fb){const _0xc91ce8={_0x4b9235:0x657,_0x31efc0:0x724,_0x4632c4:0x6ea,_0x28a564:0x657,_0x37555c:0x4db,_0x2009fb:0x5b0,_0x58ea6c:0x3a1,_0x13ed36:0x6ce,_0x2995fa:0x550,_0x127e8e:0x808,_0x214373:0x74b,_0x5eee59:0x544,_0x51fb7b:0x58c,_0x42393e:0x761,_0x26aa0c:0x906},_0x2d9db3={_0x3a1a58:0x2a1},_0xbc05a7={};_0xbc05a7[_0x4d4b8d(0x6ed,_0xc91ce8._0x4b9235)]=function(_0x4336ae,_0x513766){return _0x4336ae===_0x513766;};const _0x18f252=_0xbc05a7;if(!_0x3481fb||typeof _0x3481fb!==_0xdae1d4(0x566,_0xc91ce8._0x31efc0))return null;function _0xdae1d4(_0x44d163,_0x15be39){return _0x1fe1a4(_0x15be39,_0x44d163-0x452);}const _0x398478=_0x3481fb,_0x34eafa=_0x18f252[_0x4d4b8d(_0xc91ce8._0x4632c4,_0xc91ce8._0x28a564)](typeof _0x398478['identity']?.['name'],_0x4d4b8d(_0xc91ce8._0x37555c,_0xc91ce8._0x2009fb))?_0x398478[_0x4d4b8d(0x2c0,0x3d7)][_0xdae1d4(0x544,_0xc91ce8._0x58ea6c)][_0x4d4b8d(_0xc91ce8._0x13ed36,_0xc91ce8._0x2995fa)]():'';function _0x4d4b8d(_0x3a7d9d,_0x1b2a1a){return _0x1fe1a4(_0x3a7d9d,_0x1b2a1a-_0x2d9db3._0x3a1a58);}if(_0x34eafa)return _0x34eafa;const _0x44e4f9=_0x18f252[_0xdae1d4(_0xc91ce8._0x127e8e,_0xc91ce8._0x214373)](typeof _0x398478[_0xdae1d4(_0xc91ce8._0x5eee59,_0xc91ce8._0x51fb7b)],_0xdae1d4(_0xc91ce8._0x42393e,_0xc91ce8._0x26aa0c))?_0x398478[_0x4d4b8d(0x3e4,0x393)][_0x4d4b8d(0x3d4,0x550)]():'';return _0x44e4f9||null;}function buildPairingQrPayload(_0x17cddc){const _0x390b0a={_0x32a2d1:0x18d,_0x12e5bc:0xd,_0x122b3c:0x50,_0x253ec3:0x4c2,_0x35c91f:0x65,_0x215d74:0x110,_0x290939:0x474,_0x3b3eb:0x4a6,_0x33e2b2:0xe0,_0x121a82:0x63,_0x33e5fa:0xe0,_0x3c975c:0x222,_0x88504:0x1ab},_0x1c6a9c={_0x2faae5:0x1cf},_0x2cf7bb={_0x44fff2:0x11},_0x52b1c6={};_0x52b1c6['v']=0x2,_0x52b1c6['k']='cp';function _0x196644(_0x1b59b1,_0x30a8d5){return _0x1fe1a4(_0x30a8d5,_0x1b59b1-_0x2cf7bb._0x44fff2);}_0x52b1c6['s']=_0x17cddc[_0x196644(_0x390b0a._0x32a2d1,0x24b)],_0x52b1c6['g']=_0x17cddc[_0x2057c2(_0x390b0a._0x12e5bc,_0x390b0a._0x122b3c)+'d'];function _0x2057c2(_0x227dde,_0x2ea4a9){return _0x1fe1a4(_0x2ea4a9,_0x227dde- -_0x1c6a9c._0x2faae5);}_0x52b1c6['a']=_0x17cddc['accessCo'+'de'];const _0x3f893e=_0x52b1c6;return _0x17cddc[_0x196644(0x17b,0x22)+'ame']?.[_0x196644(0x2c0,_0x390b0a._0x253ec3)]()&&(_0x3f893e['n']=_0x17cddc[_0x2057c2(-_0x390b0a._0x35c91f,_0x390b0a._0x215d74)+'ame'][_0x2057c2(0xe0,0x223)]()),_0x17cddc['token']?.[_0x196644(0x2c0,_0x390b0a._0x290939)]()&&(_0x3f893e['t']=_0x17cddc['token'][_0x196644(0x2c0,_0x390b0a._0x3b3eb)]()),_0x17cddc[_0x2057c2(0x81,-0xd8)]?.[_0x2057c2(_0x390b0a._0x33e2b2,0x238)]()&&(_0x3f893e['p']=_0x17cddc[_0x2057c2(0x81,-_0x390b0a._0x121a82)][_0x2057c2(_0x390b0a._0x33e5fa,_0x390b0a._0x3c975c)]()),JSON[_0x2057c2(_0x390b0a._0x88504,0x33b)+'y'](_0x3f893e);}function buildGatewayQrPayload(_0x117c91){const _0x43343c={_0x52392e:0x592,_0x179517:0x44a,_0xf95921:0x2cf,_0x5fd2e1:0xf9,_0x5b484d:0x1e,_0x22cd7a:0x40a,_0x466a90:0x581,_0x41246b:0x745,_0x2c41c7:0x57d,_0x23d730:0x8b,_0x117be0:0x12f,_0x1a01f3:0x738,_0x5b56ce:0x3c,_0x5aa468:0x12f,_0x20af46:0x61c,_0x45afd1:0x498},_0x44beee={};_0x44beee[_0x5e468d(0x7b3,_0x43343c._0x52392e)]=function(_0x4a1c22,_0x476150){return _0x4a1c22+_0x476150;};const _0x254ffa=_0x44beee,_0x37d30f=normalizeGatewayQrUrl(_0x117c91[_0x5e468d(0x7a5,0x930)+'rl']),_0x4300d3={'url':_0x37d30f['url'],'host':_0x37d30f[_0x5e468d(0x3bd,0x312)],'port':_0x37d30f['port'],'tls':_0x37d30f[_0x5e468d(_0x43343c._0x179517,0x43b)],'mode':_0x26daf4(-_0x43343c._0xf95921,-_0x43343c._0x5fd2e1),'expiresAt':_0x117c91[_0x26daf4(-_0x43343c._0x5b484d,0x3d)+'t']??_0x254ffa[_0x26daf4(0x309,0x391)](Date[_0x5e468d(_0x43343c._0x22cd7a,_0x43343c._0x466a90)](),0xa*0x3c*0x3e8),'qrVersion':0x2};function _0x26daf4(_0x2393ba,_0x1a3945){return _0x1fe1a4(_0x2393ba,_0x1a3945- -0x180);}_0x117c91[_0x5e468d(_0x43343c._0x41246b,0x5d9)]?.['trim']()&&(_0x4300d3[_0x5e468d(0x745,0x80c)]=_0x117c91['token']['trim']());function _0x5e468d(_0xf1d511,_0x418d19){return _0x1fe1a4(_0x418d19,_0xf1d511-0x2a2);}return _0x117c91[_0x5e468d(0x4f2,_0x43343c._0x2c41c7)]?.[_0x26daf4(_0x43343c._0x23d730,_0x43343c._0x117be0)]()&&(_0x4300d3[_0x5e468d(0x4f2,_0x43343c._0x1a01f3)]=_0x117c91['password'][_0x26daf4(_0x43343c._0x5b56ce,_0x43343c._0x5aa468)]()),JSON[_0x5e468d(_0x43343c._0x20af46,_0x43343c._0x45afd1)+'y'](_0x4300d3);}function normalizeGatewayQrUrl(_0x2ed6d9){const _0xf754ed={_0x1283f9:0x533,_0x38b3aa:0x783,_0x294660:0x450,_0x4e5fdc:0x65b,_0x352438:0x9b5,_0x66168c:0x76a,_0x5c12fb:0x43d,_0x10c413:0x4d1,_0x91248d:0x565},_0x3ffcc1={_0x54e8fb:0x353},_0x6e06d1={_0x3a5091:0x30a},_0x5a01dd={};_0x5a01dd[_0x69a7a1(_0xf754ed._0x1283f9,0x76a)]='ws:';function _0x23f458(_0x325fd8,_0x32a715){return _0x1fe1a4(_0x32a715,_0x325fd8-_0x6e06d1._0x3a5091);}const _0x1f294c=_0x5a01dd,_0x8a4af=new URL(_0x2ed6d9[_0x23f458(0x5b9,_0xf754ed._0x38b3aa)]()),_0x4391a7=_0x8a4af['protocol']==='wss:'||_0x8a4af[_0x69a7a1(_0xf754ed._0x294660,0x58b)]===_0x23f458(0x761,0x61a),_0x353890=_0x4391a7?_0x69a7a1(_0xf754ed._0x4e5fdc,0x6e8):_0x1f294c[_0x69a7a1(_0xf754ed._0x352438,_0xf754ed._0x66168c)],_0x377ace=_0x8a4af[_0x23f458(0x45d,0x3c5)],_0x3b8ee3=_0x8a4af[_0x69a7a1(_0xf754ed._0x5c12fb,0x5ae)]?Number(_0x8a4af['port']):_0x4391a7?0x1bb:0x50,_0x104983=!_0x8a4af[_0x23f458(_0xf754ed._0x10c413,0x337)]||_0x8a4af['pathname']===''?'/':_0x8a4af[_0x23f458(0x4d1,0x53c)],_0x3791fc={};function _0x69a7a1(_0x386ffc,_0x34c97c){return _0x1fe1a4(_0x386ffc,_0x34c97c-_0x3ffcc1._0x54e8fb);}return _0x3791fc['url']=_0x353890+'//'+_0x377ace+':'+_0x3b8ee3+_0x104983,_0x3791fc[_0x23f458(0x425,0x485)]=_0x377ace,_0x3791fc[_0x23f458(_0xf754ed._0x91248d,0x74f)]=_0x3b8ee3,_0x3791fc['path']=_0x104983,_0x3791fc['tls']=_0x4391a7,_0x3791fc;}var DEFAULT_REGISTRY_BASE=_0x1fe1a4(0x41,0x1ca)+_0x1fe1a4(-0x56,0x1af)+_0x43d5cd(-0x34,-0x26c)+_0x1fe1a4(0x150,0x284),DEFAULT_REGISTRY_FALLBACK_BASE=_0x1fe1a4(0xab,0x1ca)+_0x43d5cd(0x3af,0x43e)+_0x43d5cd(0xa9,-0x85)+_0x43d5cd(-0x34,0x1a0)+_0x43d5cd(0x13f,-0xd0)+_0x1fe1a4(0x6b3,0x4d6);async function pairGateway(_0x28ce91){const _0x16def2={_0x4f4701:0x29f,_0x2d9b74:0x270,_0x3a3b75:0x4b6,_0xb17eb4:0x10e,_0x4ecf02:0x311,_0x2249b2:0x25d,_0x511e0c:0x91,_0x3f3931:0x3db,_0x546bc7:0x2cb,_0x37c068:0x42c,_0x428ae9:0x3be,_0x4d23ce:0x2d1,_0x12d95e:0x3c9,_0x516516:0x173,_0x3e1c14:0x266,_0x2a3ab4:0x339,_0x49c098:0x30c,_0x140503:0x4b8,_0x257303:0x3bc,_0xbb1b95:0x1bf,_0x2cc7d4:0x24b,_0x2917cb:0x1f1,_0x58e9d1:0x97,_0x3a7a5e:0x3cb,_0x2df892:0x2d3,_0x14f2b5:0x45a,_0x45e8e2:0x582,_0x5a4d30:0x312,_0x1651ed:0x208,_0x3cef42:0x371,_0x36c6a0:0x1c0,_0x3cb1cd:0x128,_0x2fee0f:0x60,_0x1da300:0x435,_0x51e059:0x548,_0x33bcea:0x29f,_0x2c0b53:0x238,_0x17cbce:0x331,_0x10a0cf:0xef,_0x4cef11:0x280,_0x15a672:0x3b6,_0x2e1456:0x46b,_0x104e6a:0x281,_0x2ef382:0x211,_0x3dc85e:0x330,_0x1041d0:0x440,_0x1a84d2:0x3e4,_0x41471d:0x6a8,_0xddb98b:0x274,_0x3d883d:0x37a,_0x300b3f:0x141,_0x4a7ada:0x1e5,_0x4b7994:0x483,_0x4229ac:0x173,_0x396f9f:0x344,_0x41cfa4:0x266,_0x28f411:0x64,_0x2b1121:0xbe,_0x33e3c7:0x226,_0x1b25d4:0x410,_0x208a3b:0x527,_0xab7017:0x1e1,_0x2e934e:0x15d,_0xf16645:0x26,_0x248d2c:0x365,_0x2604e5:0xf1},_0x3272c0={_0xebfe59:0x5},_0x513fbb={'QHDjR':function(_0x28fa92,_0x3a73de,_0x375162){return _0x28fa92(_0x3a73de,_0x375162);},'DLASd':function(_0x55bdab,_0x4438cf){return _0x55bdab===_0x4438cf;},'sFxbK':_0xa267df(_0x16def2._0x4f4701,_0x16def2._0x2d9b74)+_0xa267df(0x319,_0x16def2._0x3a3b75),'HLJey':function(_0x557ea1,_0x51efc8,_0x13c0ca){return _0x557ea1(_0x51efc8,_0x13c0ca);},'CdIhj':function(_0x4fe4fe,_0x4c8332){return _0x4fe4fe(_0x4c8332);},'tpHri':_0x29fb33(0x3c4,0x1ff)+'ed'},_0x2b763b=normalizeHttpBase(_0x28ce91['serverUr'+'l']),_0x347cb4=readPairingConfig(),_0x2f0856=_0x513fbb[_0xa267df(_0x16def2._0xb17eb4,_0x16def2._0x4ecf02)](assessPairingCompatibility,_0x347cb4,_0x2b763b);function _0x29fb33(_0x6e4b5f,_0x8e8991){return _0x1fe1a4(_0x8e8991,_0x6e4b5f-_0x3272c0._0xebfe59);}if(_0x2f0856===_0x29fb33(_0x16def2._0x2249b2,_0x16def2._0x511e0c)+'existing'&&_0x347cb4){const _0x541460={};return _0x541460[_0xa267df(_0x16def2._0x3f3931,_0x16def2._0x546bc7)+'l']=_0x347cb4['serverUr'+'l'],_0x541460[_0xa267df(0x1e5,0x328)+'d']=_0x347cb4[_0x29fb33(0x1e1,0x6)+'d'],_0x541460[_0x29fb33(0x46f,_0x16def2._0x37c068)+_0x29fb33(_0x16def2._0x428ae9,_0x16def2._0x4d23ce)]=_0x347cb4['relaySec'+_0xa267df(0x3c2,_0x16def2._0x12d95e)],_0x541460[_0xa267df(_0x16def2._0x516516,0x1dd)+_0xa267df(_0x16def2._0x3e1c14,0x1d7)]=_0x28ce91['displayN'+'ame'],_0x541460[_0xa267df(0x4f2,0x4ca)+_0x29fb33(_0x16def2._0x2a3ab4,_0x16def2._0x49c098)]=_0x28ce91[_0xa267df(0x4f2,0x5c4)+'oken'],_0x541460[_0x29fb33(0x3b8,_0x16def2._0x140503)+'assword']=_0x28ce91[_0xa267df(_0x16def2._0x257303,_0x16def2._0xbb1b95)+_0x29fb33(0x40a,0x537)],refreshAccessCode(_0x541460);}if(_0x513fbb['DLASd'](_0x2f0856,_0x29fb33(0x21b,_0x16def2._0x2cc7d4)+'ismatch'))throw new Error(_0xa267df(_0x16def2._0x2917cb,_0x16def2._0x58e9d1)+'dge\x20is\x20a'+_0x29fb33(_0x16def2._0x3a7a5e,0x472)+_0x29fb33(_0x16def2._0x2df892,0x15c)+'th\x20'+_0x347cb4?.[_0xa267df(_0x16def2._0x3f3931,0x5b6)+'l']+(_0xa267df(_0x16def2._0x14f2b5,_0x16def2._0x45e8e2)+_0xa267df(_0x16def2._0x5a4d30,_0x16def2._0x1651ed)+'eset\x22\x20be'+'fore\x20pai'+_0xa267df(0x1cd,_0x16def2._0x3cef42)+_0x29fb33(_0x16def2._0x36c6a0,0x1b)+_0xa267df(_0x16def2._0x3cb1cd,_0x16def2._0x2fee0f)+_0x29fb33(0x9a,0x1ba)));const _0x469def={};_0x469def[_0xa267df(0xee,0x2ef)+_0x29fb33(_0x16def2._0x1da300,_0x16def2._0x51e059)]=_0x513fbb[_0xa267df(0x513,0x604)],_0x469def['accept']=_0xa267df(_0x16def2._0x33bcea,_0x16def2._0x2c0b53)+_0x29fb33(0x315,_0x16def2._0x17cbce);const _0x5ba4fe=await postJsonWithCloudflareFallback(_0x2b763b+(_0x29fb33(_0x16def2._0x10a0cf,_0x16def2._0x4cef11)+'/registe'+'r'),{'method':_0x29fb33(_0x16def2._0x15a672,_0x16def2._0x2e1456),'headers':_0x469def,'body':JSON['stringif'+'y']({'displayName':_0x28ce91['displayN'+_0xa267df(_0x16def2._0x3e1c14,0x161)]?.[_0xa267df(0x2b8,0x26f)]()||null})});if(!_0x5ba4fe[_0xa267df(_0x16def2._0x104e6a,_0x16def2._0x2ef382)]['ok'])throw await _0x513fbb[_0x29fb33(0x3bc,_0x16def2._0x3dc85e)](buildPairingRequestError,_0x29fb33(_0x16def2._0x1041d0,_0x16def2._0x1a84d2)+_0x29fb33(0x4ff,_0x16def2._0x41471d),_0x5ba4fe);const _0x58e82c=await _0x5ba4fe[_0xa267df(0x281,0x171)][_0xa267df(0xa6,_0x16def2._0xddb98b)]();function _0xa267df(_0x31beb1,_0x588494){return _0x1fe1a4(_0x588494,_0x31beb1-0x9);}const _0x45f7b4=new Date()['toISOStr'+'ing'](),_0x19a936={'serverUrl':_0x2b763b,'gatewayId':_0x58e82c['gatewayI'+'d'],'relaySecret':_0x58e82c[_0x29fb33(0x46f,0x24a)+'ret'],'relayUrl':_0x58e82c[_0xa267df(0x175,_0x16def2._0x3d883d)],'instanceId':_0x347cb4?.[_0x29fb33(0x10b,0x2e0)+'Id']??_0x29fb33(0x37c,_0x16def2._0x300b3f)+_0x58e82c[_0xa267df(_0x16def2._0x4a7ada,0x1eb)+'d'][_0xa267df(_0x16def2._0x4b7994,0x421)](-0xa),'displayName':_0x58e82c[_0xa267df(_0x16def2._0x4229ac,_0x16def2._0x396f9f)+_0xa267df(_0x16def2._0x41cfa4,_0x16def2._0x28f411)],'createdAt':_0x45f7b4,'updatedAt':_0x45f7b4};return _0x513fbb[_0x29fb33(0x2ea,_0x16def2._0x2b1121)](writePairingConfig,_0x19a936),{'config':_0x19a936,'accessCode':_0x58e82c[_0xa267df(0x46b,_0x16def2._0x33e3c7)+'de'],'accessCodeExpiresAt':_0x58e82c['accessCo'+_0x29fb33(0x288,_0x16def2._0x1b25d4)+'sAt'],'action':_0x513fbb[_0xa267df(0x39c,_0x16def2._0x208a3b)],'qrPayload':buildPairingQrPayload({'server':_0x2b763b,'gatewayId':_0x58e82c[_0x29fb33(_0x16def2._0xab7017,_0x16def2._0x2e934e)+'d'],'accessCode':_0x58e82c[_0x29fb33(0x467,0x5d8)+'de'],'displayName':_0x58e82c[_0xa267df(_0x16def2._0x516516,-_0x16def2._0xf16645)+'ame'],'token':_0x28ce91['gatewayT'+_0x29fb33(0x339,0x116)]?.[_0x29fb33(0x2b4,_0x16def2._0x248d2c)]()||null,'password':_0x28ce91[_0xa267df(0x3bc,0x5dc)+_0xa267df(0x40e,0x2d8)]?.[_0xa267df(0x2b8,_0x16def2._0x2604e5)]()||null})};}async function refreshAccessCode(_0x138d15){const _0x311edf={_0x2cc740:0x11a,_0x132fc6:0x17e,_0x520532:0x153,_0x49f44c:0x11c,_0x46aa98:0x3e1,_0x53b9cc:0x330,_0x6be62b:0x515,_0x37d4cd:0xdd,_0x24a6ed:0x13f,_0x1745b2:0xc8,_0x2f6d2f:0x5c,_0xb0542d:0xb7,_0x2799d6:0x20d,_0x55afff:0x2a9,_0x135380:0x171,_0x4871c8:0xe0,_0x3675d5:0x560,_0x7a246e:0x26e,_0x16a64f:0xe3,_0xb49fd5:0x328,_0x5e2092:0x7d,_0x10a340:0x1c4,_0x1b9c93:0x109,_0x2bda79:0x290,_0x140c83:0x36f,_0x445266:0x149,_0x4b9210:0x3f,_0x40f9ab:0x66,_0x1a19a3:0x149,_0x428c28:0x378,_0x4732a0:0x2a,_0xc203d8:0xfe,_0x289a91:0x1e9,_0x18a406:0xb6,_0x4ffded:0x4b4,_0x37dc61:0xe1,_0xf08f86:0xcb,_0x49da44:0x2ab,_0x42cb36:0x49d,_0x3e4a1a:0x32a,_0x4d62bc:0x56},_0x1b6290={_0x3ee7a8:0x7d},_0x59cd90={_0x367d9b:0x153},_0x1f3d41={'xkyOx':function(_0x4c3fc8){return _0x4c3fc8();},'YJSjP':function(_0x3b9d6d,_0x1ee2f0){return _0x3b9d6d(_0x1ee2f0);}},_0x347aae=_0x1f3d41[_0x1143a5(-0x4b,_0x311edf._0x2cc740)](readPairingConfig),_0x36a893=_0x1f3d41['YJSjP'](normalizeHttpBase,_0x138d15?.['serverUr'+'l']??_0x347aae?.[_0x378147(0x349,_0x311edf._0x132fc6)+'l']??''),_0x32595e=_0x138d15?.['gatewayI'+'d']??_0x347aae?.[_0x378147(_0x311edf._0x520532,0xe4)+'d']??'',_0x55946c=_0x138d15?.[_0x1143a5(0x39d,0x211)+_0x1143a5(_0x311edf._0x49f44c,0x160)]??_0x347aae?.[_0x378147(_0x311edf._0x46aa98,0x4a2)+_0x378147(_0x311edf._0x53b9cc,_0x311edf._0x6be62b)]??'';if(!_0x36a893||!_0x32595e||!_0x55946c)throw new Error(_0x378147(0x2e4,0xe8)+'config\x20n'+_0x1143a5(0x107,_0x311edf._0x37d4cd)+_0x1143a5(_0x311edf._0x24a6ed,0xd4)+_0x1143a5(_0x311edf._0x1745b2,0x249)+'.');const _0x6c8e98={};function _0x1143a5(_0xe5d92b,_0xb6281e){return _0x43d5cd(_0xb6281e- -_0x59cd90._0x367d9b,_0xe5d92b);}_0x6c8e98[_0x378147(_0x311edf._0x2f6d2f,0x200)+'type']='applicat'+_0x1143a5(0x1f9,_0x311edf._0xb0542d),_0x6c8e98[_0x1143a5(-0x24c,-0x155)]=_0x378147(_0x311edf._0x2799d6,0x70)+_0x1143a5(-0x88,_0x311edf._0xb0542d);function _0x378147(_0x4cdc25,_0x1aa2c8){return _0x43d5cd(_0x4cdc25-_0x1b6290._0x3ee7a8,_0x1aa2c8);}const _0x198bb9=await postJsonWithCloudflareFallback(_0x36a893+('/v1/pair'+_0x378147(0x3fa,0x1b5)+_0x1143a5(-_0x311edf._0x55afff,-_0x311edf._0x135380)),{'method':'POST','headers':_0x6c8e98,'body':JSON[_0x1143a5(-_0x311edf._0x4871c8,0x121)+'y']({'gatewayId':_0x32595e,'relaySecret':_0x55946c,'displayName':_0x138d15?.[_0x378147(0xe1,0x203)+'ame']?.[_0x378147(0x226,0x191)]()||void 0x0})});if(!_0x198bb9['response']['ok'])throw await buildPairingRequestError(_0x378147(0x412,_0x311edf._0x3675d5)+'ode\x20refr'+'esh',_0x198bb9);const _0x560813=await _0x198bb9[_0x378147(0x1ef,0x286)]['json'](),_0x270c95={'serverUrl':_0x36a893,'gatewayId':_0x560813[_0x378147(0x153,_0x311edf._0x7a246e)+'d'],'relaySecret':_0x55946c,'relayUrl':_0x560813[_0x378147(_0x311edf._0x16a64f,_0x311edf._0xb49fd5)],'instanceId':_0x347aae?.['instance'+'Id']??_0x1143a5(0x15a,0x11e)+_0x560813[_0x1143a5(0x3d,-_0x311edf._0x5e2092)+'d'][_0x378147(0x3f1,_0x311edf._0x10a340)](-0xa),'displayName':_0x560813[_0x1143a5(-_0x311edf._0x1b9c93,-0xef)+'ame'],'createdAt':_0x347aae?.[_0x378147(_0x311edf._0x2bda79,_0x311edf._0x140c83)+'t']??new Date()[_0x378147(_0x311edf._0x445266,-_0x311edf._0x4b9210)+_0x1143a5(0xdd,_0x311edf._0x40f9ab)](),'updatedAt':new Date()[_0x378147(_0x311edf._0x1a19a3,_0x311edf._0x428c28)+'ing']()};return writePairingConfig(_0x270c95),{'config':_0x270c95,'accessCode':_0x560813['accessCo'+'de'],'accessCodeExpiresAt':_0x560813['accessCo'+_0x1143a5(0xdf,_0x311edf._0x4732a0)+_0x378147(_0x311edf._0xc203d8,_0x311edf._0x289a91)],'action':'refreshe'+'d','qrPayload':buildPairingQrPayload({'server':_0x36a893,'gatewayId':_0x560813[_0x378147(0x153,_0x311edf._0x18a406)+'d'],'accessCode':_0x560813[_0x378147(0x3d9,_0x311edf._0x4ffded)+'de'],'displayName':_0x560813[_0x378147(_0x311edf._0x37dc61,_0x311edf._0xf08f86)+_0x378147(0x1d4,0x31a)],'token':_0x138d15?.[_0x1143a5(0xd3,0x290)+_0x378147(_0x311edf._0x49da44,_0x311edf._0x42cb36)]?.['trim']()||null,'password':_0x138d15?.[_0x378147(_0x311edf._0x3e4a1a,0x22a)+'assword']?.[_0x1143a5(0x270,_0x311edf._0x4d62bc)]()||null})};}function normalizeHttpBase(_0x3b4f7a){const _0x56595e={_0x3145b1:0x108,_0x29815c:0x33a,_0x40921a:0x3dd,_0x263969:0x580,_0x5f0582:0x191,_0x417145:0x2c5,_0x8f430c:0xde,_0x2b2d2c:0x2f1,_0x1660ae:0x137,_0x5426e5:0x344,_0x40738d:0x351,_0x4246a7:0x75b,_0x40cbe4:0x3c1,_0x48ef9f:0x115,_0x541a82:0x31e,_0x1855ad:0x1c1,_0x3ded87:0x289,_0x369cef:0x2db,_0x3a06d:0x16,_0x3b2a2a:0xac,_0x344029:0x239},_0x58f6ea={_0x1a771f:0x217},_0x50d5a5={_0x2b790e:0x18},_0x78d222={};_0x78d222[_0x4b3755(-0xa2,_0x56595e._0x3145b1)]=_0x4b3755(0x13b,_0x56595e._0x29815c),_0x78d222[_0xead3c1(_0x56595e._0x40921a,_0x56595e._0x263969)]='ws://';const _0x3c5a3a=_0x78d222,_0xdf310d=_0x3b4f7a[_0x4b3755(_0x56595e._0x5f0582,_0x56595e._0x417145)]();if(!_0xdf310d)return'';if(_0xdf310d['startsWi'+'th'](_0x3c5a3a['TyCpO'])||_0xdf310d[_0x4b3755(_0x56595e._0x8f430c,_0x56595e._0x2b2d2c)+'th'](_0x4b3755(0xac,-0x20)))return _0xdf310d[_0xead3c1(_0x56595e._0x1660ae,_0x56595e._0x5426e5)](/\/+$/,'');function _0x4b3755(_0x3a7044,_0x18b4ba){return _0x43d5cd(_0x3a7044- -_0x50d5a5._0x2b790e,_0x18b4ba);}if(_0xdf310d['startsWi'+'th'](_0x3c5a3a[_0x4b3755(_0x56595e._0x40738d,0x3e2)]))return('http://'+_0xdf310d[_0xead3c1(_0x56595e._0x4246a7,0x58b)](_0x3c5a3a[_0x4b3755(_0x56595e._0x40738d,_0x56595e._0x40cbe4)]['length']))[_0x4b3755(_0x56595e._0x48ef9f,_0x56595e._0x541a82)](/\/+$/,'');if(_0xdf310d[_0x4b3755(0xde,-0xc5)+'th'](_0xead3c1(0xef,_0x56595e._0x1855ad)))return(_0xead3c1(_0x56595e._0x3ded87,_0x56595e._0x369cef)+_0xdf310d['slice']('wss://'[_0x4b3755(0x1a9,-_0x56595e._0x3a06d)]))['replace'](/\/+$/,'');function _0xead3c1(_0x4927e4,_0x310625){return _0x43d5cd(_0x310625-_0x58f6ea._0x1a771f,_0x4927e4);}return(_0x4b3755(_0x56595e._0x3b2a2a,0x2da)+_0xdf310d)[_0x4b3755(0x115,_0x56595e._0x344029)](/\/+$/,'');}function _0x31f1(_0x70bc3e,_0x47ac3a){_0x70bc3e=_0x70bc3e-0x113;const _0x325b18=_0xd309();let _0x41770c=_0x325b18[_0x70bc3e];if(_0x31f1['hkeSph']===undefined){var _0x4f4989=function(_0x5c84dd){const _0x30cdba='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x359609='',_0x24af06='',_0x4aff6d=_0x359609+_0x4f4989;for(let _0x5606ad=0x0,_0x28e4b2,_0x4e6882,_0x226f49=0x0;_0x4e6882=_0x5c84dd['charAt'](_0x226f49++);~_0x4e6882&&(_0x28e4b2=_0x5606ad%0x4?_0x28e4b2*0x40+_0x4e6882:_0x4e6882,_0x5606ad++%0x4)?_0x359609+=_0x4aff6d['charCodeAt'](_0x226f49+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x28e4b2>>(-0x2*_0x5606ad&0x6)):_0x5606ad:0x0){_0x4e6882=_0x30cdba['indexOf'](_0x4e6882);}for(let _0x1b679d=0x0,_0x479caa=_0x359609['length'];_0x1b679d<_0x479caa;_0x1b679d++){_0x24af06+='%'+('00'+_0x359609['charCodeAt'](_0x1b679d)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x24af06);};_0x31f1['uTgAKc']=_0x4f4989,_0x31f1['wzCHpN']={},_0x31f1['hkeSph']=!![];}const _0xd309b=_0x325b18[0x0],_0x31f124=_0x70bc3e+_0xd309b,_0x478308=_0x31f1['wzCHpN'][_0x31f124];if(!_0x478308){const _0x379496=function(_0x1ee415){this['dzxuqK']=_0x1ee415,this['CqyytD']=[0x1,0x0,0x0],this['hlkHfA']=function(){return'newState';},this['gCnhvs']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['EHYbZd']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x379496['prototype']['lcQAiu']=function(){const _0x272285=new RegExp(this['gCnhvs']+this['EHYbZd']),_0x3ff9a3=_0x272285['test'](this['hlkHfA']['toString']())?--this['CqyytD'][0x1]:--this['CqyytD'][0x0];return this['wPLXTw'](_0x3ff9a3);},_0x379496['prototype']['wPLXTw']=function(_0x5dd9eb){if(!Boolean(~_0x5dd9eb))return _0x5dd9eb;return this['pXCSbz'](this['dzxuqK']);},_0x379496['prototype']['pXCSbz']=function(_0xf225c4){for(let _0xb7cb6d=0x0,_0x154fac=this['CqyytD']['length'];_0xb7cb6d<_0x154fac;_0xb7cb6d++){this['CqyytD']['push'](Math['round'](Math['random']())),_0x154fac=this['CqyytD']['length'];}return _0xf225c4(this['CqyytD'][0x0]);},new _0x379496(_0x31f1)['lcQAiu'](),_0x41770c=_0x31f1['uTgAKc'](_0x41770c),_0x31f1['wzCHpN'][_0x31f124]=_0x41770c;}else _0x41770c=_0x478308;return _0x41770c;}function assessPairingCompatibility(_0x1f8158,_0xd0d4dd){const _0x2fb6a9={_0x35bbd0:0x878,_0x206c19:0x748,_0x21c64d:0x514,_0x2e6eb0:0x30c,_0x307daf:0x686,_0x8a4f2b:0x3bf,_0x2b239d:0x16b,_0x56db4a:0x52e,_0x4e087b:0x605,_0x3fe24a:0x36f},_0x228a9f={};function _0x46964a(_0x564139,_0x10e2bb){return _0x1fe1a4(_0x564139,_0x10e2bb-0x389);}_0x228a9f['HoMYb']=_0x46964a(_0x2fb6a9._0x35bbd0,_0x2fb6a9._0x206c19)+_0xe6d878(_0x2fb6a9._0x21c64d,_0x2fb6a9._0x2e6eb0);const _0x441b66=_0x228a9f;if(!_0x1f8158)return _0x441b66[_0x46964a(0x4a3,0x425)];function _0xe6d878(_0xfe0e66,_0x3e1f14){return _0x1fe1a4(_0x3e1f14,_0xfe0e66-0x167);}if(_0x1f8158[_0xe6d878(0x539,_0x2fb6a9._0x307daf)+'l']===_0xd0d4dd)return _0xe6d878(_0x2fb6a9._0x8a4f2b,_0x2fb6a9._0x2b239d)+_0xe6d878(_0x2fb6a9._0x56db4a,_0x2fb6a9._0x4e087b);return _0xe6d878(0x37d,_0x2fb6a9._0x3fe24a)+'ismatch';}async function postJsonWithCloudflareFallback(_0x3af62d,_0x31003c){const _0x21e885={_0x25d574:0x3f0,_0x1bd7fc:0x418,_0x2c94d9:0x486,_0x427404:0x520,_0x246d7a:0x61c,_0x3cc6ec:0x141,_0x946026:0x620},_0x4a7426={_0x43b1ba:0x10b},_0x26babd={'LYvMg':function(_0x2e27d5,_0x2aa0f8,_0x9235f){return _0x2e27d5(_0x2aa0f8,_0x9235f);}};function _0x448ae5(_0x46173f,_0x15f18a){return _0x43d5cd(_0x15f18a-_0x4a7426._0x43b1ba,_0x46173f);}const _0x454279=await fetch(_0x3af62d,_0x31003c),_0x2a47f3=_0x26babd[_0x448ae5(0x495,_0x21e885._0x25d574)](resolveCloudflareChallengeFallbackUrl,_0x3af62d,_0x454279);if(!_0x2a47f3){const _0x32a52e={};return _0x32a52e[_0x448ae5(0x51,0x27d)]=_0x454279,_0x32a52e[_0x2dfdf5(_0x21e885._0x1bd7fc,_0x21e885._0x2c94d9)+_0x2dfdf5(_0x21e885._0x427404,_0x21e885._0x246d7a)]=_0x3af62d,_0x32a52e[_0x448ae5(-0xfc,_0x21e885._0x3cc6ec)+_0x2dfdf5(_0x21e885._0x946026,0x420)]=null,_0x32a52e;}function _0x2dfdf5(_0x7f7c1d,_0x142567){return _0x43d5cd(_0x7f7c1d-0x27c,_0x142567);}return{'response':await fetch(_0x2a47f3,_0x31003c),'attemptedUrl':_0x3af62d,'fallbackUrl':_0x2a47f3};}async function buildPairingRequestError(_0x429c88,_0x1b8e06){const _0x45a02b={_0x40bcb8:0x31f,_0x420448:0x3fc,_0x9802b0:0x6b5,_0x147391:0x241,_0x140cdf:0x607,_0x4d09a3:0x6d5,_0x401a35:0x5e3,_0x5b8af2:0x6fb,_0x50c678:0x481,_0xdbb964:0x2c8,_0x5d997f:0x604,_0x3711b9:0x6df,_0x5f4321:0x1ec,_0x50500c:0x25,_0x3e3a98:0x29f,_0x5bde05:0x579,_0x21d434:0x45b,_0x1a0fdb:0x43c,_0x137571:0x23a,_0x400a94:0x1bc,_0x3a00e0:0x518,_0x3c0bc1:0x6b0,_0x1ff754:0x61e,_0x329729:0x4ed,_0x34776a:0x345,_0x1bfd50:0x46a,_0x4e6a0f:0x53f,_0x40256a:0x4be,_0x2d1325:0x482,_0x16e2a1:0x2ef,_0x231436:0x5df,_0x1633bc:0x663,_0x3bb6c6:0x5f9,_0x521051:0x62a};function _0xd7bb58(_0x319262,_0x123f52){return _0x1fe1a4(_0x123f52,_0x319262-0x15a);}function _0x2827de(_0x573088,_0x304228){return _0x1fe1a4(_0x573088,_0x304228-0x1e3);}if(isCloudflareChallengeResponse(_0x1b8e06[_0x2827de(0x5c4,0x45b)])){const _0xc1ad68=new URL(_0x1b8e06[_0x2827de(0xd0,_0x45a02b._0x40bcb8)+_0x2827de(0x4c6,0x68d)]??_0x1b8e06[_0xd7bb58(_0x45a02b._0x420448,0x1d3)+'dUrl'])[_0x2827de(_0x45a02b._0x9802b0,0x654)],_0x46c6c6=_0x1b8e06[_0x2827de(_0x45a02b._0x147391,_0x45a02b._0x40bcb8)+_0xd7bb58(0x604,_0x45a02b._0x140cdf)]?_0x2827de(_0x45a02b._0x4d09a3,0x6f9)+_0x2827de(_0x45a02b._0x401a35,_0x45a02b._0x5b8af2)+_0x2827de(0x54b,_0x45a02b._0x50c678)+_0x1b8e06[_0xd7bb58(0x296,_0x45a02b._0xdbb964)+_0xd7bb58(_0x45a02b._0x5d997f,_0x45a02b._0x3711b9)]+(_0x2827de(0x6a0,0x583)+_0xd7bb58(_0x45a02b._0x5f4321,-_0x45a02b._0x50500c)+_0xd7bb58(_0x45a02b._0x3e3a98,0x349)+_0x2827de(0x3a0,0x4e0)+'.'):'';return new Error(_0x429c88+(_0xd7bb58(_0x45a02b._0x5bde05,0x531)+'(')+_0x1b8e06[_0x2827de(0x2fc,_0x45a02b._0x21d434)]['status']+(_0x2827de(_0x45a02b._0x1a0fdb,0x2b4)+_0xd7bb58(_0x45a02b._0x137571,0x89)+_0xd7bb58(0x35e,_0x45a02b._0x400a94)+_0xd7bb58(_0x45a02b._0x3a00e0,0x73a)+_0x2827de(_0x45a02b._0x3c0bc1,0x6c2)+_0xd7bb58(_0x45a02b._0x1ff754,0x546)+'\x20at\x20')+_0xc1ad68+'.'+_0x46c6c6+(_0xd7bb58(0x230,0x1c)+_0xd7bb58(0x31a,_0x45a02b._0x329729)+_0x2827de(0x6a5,0x55c)+_0xd7bb58(0x537,0x4e6)+'or\x20use\x20a'+_0xd7bb58(_0x45a02b._0x34776a,_0x45a02b._0x1bfd50)+_0x2827de(0x447,0x456)+_0x2827de(0x406,0x5f2)+_0x2827de(0x5d0,_0x45a02b._0x4e6a0f)+_0x2827de(_0x45a02b._0x40256a,0x33d)+_0x2827de(_0x45a02b._0x2d1325,_0x45a02b._0x16e2a1)+'\x20verific'+_0xd7bb58(_0x45a02b._0x231436,0x7e4)));}return new Error(_0x429c88+(_0x2827de(0x69e,0x602)+'(')+_0x1b8e06[_0x2827de(_0x45a02b._0x1633bc,0x45b)][_0x2827de(0x4ae,0x2f4)]+_0x2827de(0x54c,_0x45a02b._0x3bb6c6)+summarizeFailedResponse(await _0x1b8e06['response'][_0x2827de(_0x45a02b._0x521051,0x57e)]()));}function isCloudflareChallengeResponse(_0x9a7b37){const _0x2f81df={_0x25e9e4:0x2bd,_0x10a39f:0x4b4,_0xeb3b27:0x460,_0x265f51:0x381,_0x5e81c3:0x13f,_0x22cbc9:0x8f9,_0x5dcc1d:0x652,_0x50bccd:0x7bd,_0x326eb0:0x3f,_0x319730:0xd5},_0x27f264={_0x30bb57:0x21},_0x175ddd={};function _0x41b09e(_0xaaf5c4,_0x19e691){return _0x43d5cd(_0x19e691-_0x27f264._0x30bb57,_0xaaf5c4);}function _0xf3ce58(_0x35982e,_0x3f1c32){return _0x43d5cd(_0x35982e-0x4a9,_0x3f1c32);}_0x175ddd[_0x41b09e(_0x2f81df._0x25e9e4,0x346)]=_0xf3ce58(0x6b9,0x4a1)+'e';const _0x179cac=_0x175ddd;return _0x9a7b37[_0xf3ce58(_0x2f81df._0x10a39f,_0x2f81df._0xeb3b27)]===0x193&&_0x9a7b37['headers'][_0xf3ce58(0x51c,0x6db)](_0x41b09e(_0x2f81df._0x265f51,_0x2f81df._0x5e81c3)+_0xf3ce58(0x85e,_0x2f81df._0x22cbc9))?.[_0xf3ce58(_0x2f81df._0x5dcc1d,_0x2f81df._0x50bccd)]()[_0x41b09e(-_0x2f81df._0x326eb0,_0x2f81df._0x319730)+'ase']()===_0x179cac['SmZqM'];}function resolveCloudflareChallengeFallbackUrl(_0x11d923,_0x2b41e8){const _0x5acf7f={_0x4a099e:0x10b,_0x1950ab:0x118,_0x125ffc:0x27,_0x2b9e2f:0x33,_0x49ff4e:0x124},_0x5e2093={'LCWaS':function(_0x3f8a40,_0x1f3261){return _0x3f8a40(_0x1f3261);},'GJDcZ':function(_0x2a3bbc,_0x313ccd){return _0x2a3bbc!==_0x313ccd;}};if(!_0x5e2093[_0x1f18d5(_0x5acf7f._0x4a099e,0xa6)](isCloudflareChallengeResponse,_0x2b41e8))return null;const _0x288a43=new URL(_0x11d923);function _0x2c8ff8(_0x3b7f89,_0x47151a){return _0x1fe1a4(_0x47151a,_0x3b7f89- -0x24f);}if(_0x5e2093[_0x2c8ff8(-_0x5acf7f._0x1950ab,0xb5)](_0x288a43[_0x1f18d5(-_0x5acf7f._0x125ffc,0x186)],DEFAULT_REGISTRY_BASE))return null;function _0x1f18d5(_0x3adcee,_0x282c29){return _0x1fe1a4(_0x3adcee,_0x282c29- -0x2eb);}return''+DEFAULT_REGISTRY_FALLBACK_BASE+_0x288a43[_0x1f18d5(-_0x5acf7f._0x2b9e2f,-_0x5acf7f._0x49ff4e)]+_0x288a43['search'];}function summarizeFailedResponse(_0x8870d6){const _0x5cad4b={_0x25cb36:0x52,_0x42216c:0x126,_0x44cf1d:0x7f,_0x4e9097:0x1c1,_0x1e40a3:0x102,_0x5cbc05:0xb3,_0xd2351f:0xe6,_0x24e260:0x59,_0x190434:0x218,_0x19ef68:0x88},_0x45c29c={_0x3f558e:0xdb};function _0x395a71(_0x142e40,_0x41508e){return _0x43d5cd(_0x41508e-0x3a3,_0x142e40);}function _0x44c4e2(_0x171b2b,_0x116c26){return _0x43d5cd(_0x116c26- -_0x45c29c._0x3f558e,_0x171b2b);}const _0x17c6bc=_0x8870d6[_0x44c4e2(0xf,_0x5cad4b._0x25cb36)](/\s+/g,'\x20')['trim']();if(!_0x17c6bc)return _0x44c4e2(-_0x5cad4b._0x42216c,0xf0)+_0x44c4e2(_0x5cad4b._0x44cf1d,_0x5cad4b._0x4e9097)+_0x44c4e2(-0xe9,_0x5cad4b._0x1e40a3);if(_0x17c6bc[_0x44c4e2(-_0x5cad4b._0x5cbc05,_0x5cad4b._0xd2351f)]<=0xf0)return _0x17c6bc;return _0x17c6bc[_0x44c4e2(_0x5cad4b._0x24e260,0x299)](0x0,0xed)+_0x44c4e2(_0x5cad4b._0x190434,_0x5cad4b._0x19ef68);}import{execFileSync,spawn}from'child_process';import{chmodSync,closeSync,existsSync as _0x449d87,mkdirSync as _0x5a4a54,openSync,readFileSync as _0x3d464f,realpathSync,rmSync as _0x57494a,writeFileSync as _0x4acda8}from'fs';import{homedir as _0x3a78a7}from'os';import{dirname,join as _0x635bda}from'path';var SERVICE_LABEL='ai.clawk'+_0x1fe1a4(0x18f,0x1f7)+'e.cli',SYSTEMD_UNIT_NAME=SERVICE_LABEL+_0x43d5cd(0x1d7,0xcb),WINDOWS_RUN_KEY=_0x1fe1a4(0x470,0x25f)+'ridgeCli',SERVICE_DIR=_0x635bda(_0x3a78a7(),'.clawket'),LOG_DIR=_0x635bda(SERVICE_DIR,_0x43d5cd(0x365,0x4f0)),SERVICE_STATE_PATH=_0x635bda(SERVICE_DIR,_0x43d5cd(0x5c,0xce)+_0x43d5cd(0x415,0x395)+'son'),SERVICE_LAUNCHER_PATH=_0x635bda(SERVICE_DIR,_0x1fe1a4(0x2fc,0x162)+_0x1fe1a4(0x437,0x361)+_0x43d5cd(0xa,0x7b)+'sh'),SERVICE_LOG_PATH=_0x635bda(LOG_DIR,_0x1fe1a4(0xef,0x289)+_0x43d5cd(0x17,-0x15d)),SERVICE_ERROR_LOG_PATH=_0x635bda(LOG_DIR,_0x43d5cd(0x183,0xd6)+'li-error'+'.log'),MACOS_PLIST_PATH=_0x635bda(_0x3a78a7(),_0x1fe1a4(0x2fb,0x35b),'LaunchAg'+_0x43d5cd(-0x19,-0x19),SERVICE_LABEL+_0x1fe1a4(0x271,0x196)),LINUX_SERVICE_PATH=_0x635bda(_0x3a78a7(),'.config','systemd',_0x43d5cd(-0x6f,0x10f),SYSTEMD_UNIT_NAME);function getServiceProgramArgs(_0x565f2f={},_0x44aee1=process[_0x1fe1a4(-0x47,0x1f6)]){const _0x6ec9f1={_0xc2ab46:0x458,_0x2d4543:0x553,_0x3b74c0:0x45c,_0xcc633e:0x597,_0xff97f2:0x3a2,_0x232e71:0x2f0,_0x3483a2:0x716,_0x402c56:0x4a4,_0x7c677:0x4b0,_0x2043d4:0x52e,_0x2646d8:0x4c1,_0x4ca120:0x51d,_0x2ba24b:0x337},_0x5dc945={};function _0x35c421(_0x36bbaa,_0x89576f){return _0x1fe1a4(_0x89576f,_0x36bbaa-0x199);}_0x5dc945[_0x35c421(0x4ac,_0x6ec9f1._0xc2ab46)]=_0x35c421(0x4fe,0x555)+'e';const _0x5c0f0a=_0x5dc945,_0x2f21d3=_0x565f2f['nodePath']?.[_0x52c2a0(0x40d,0x41c)]()||process[_0x52c2a0(0x70b,_0x6ec9f1._0x2d4543)],_0x4371a8=resolveScriptPath(_0x565f2f[_0x35c421(0x3e8,_0x6ec9f1._0x3b74c0)+'th']);if(!_0x4371a8)throw new Error(_0x35c421(0x53e,_0x6ec9f1._0xcc633e)+'o\x20resolv'+_0x35c421(0x282,0x31)+_0x35c421(_0x6ec9f1._0xff97f2,0x306)+_0x35c421(0x43a,_0x6ec9f1._0x232e71)+_0x35c421(0x646,_0x6ec9f1._0x3483a2)+_0x35c421(_0x6ec9f1._0x402c56,_0x6ec9f1._0x7c677)+_0x52c2a0(_0x6ec9f1._0x2043d4,0x663));function _0x52c2a0(_0x201861,_0x3bdbef){return _0x1fe1a4(_0x201861,_0x3bdbef-0x16d);}if(_0x44aee1!==_0x35c421(_0x6ec9f1._0x2646d8,0x623)){const _0xdb5e86={};_0xdb5e86[_0x52c2a0(0x487,_0x6ec9f1._0x4ca120)]=_0x2f21d3,_0xdb5e86[_0x52c2a0(_0x6ec9f1._0x2ba24b,0x3bc)+'th']=_0x4371a8,_0xdb5e86['pathEnv']=process.env.PATH??'';const _0x207e18=writeServiceLauncher(_0xdb5e86);return ensureLaunchScriptExecutable(_0x207e18,_0x44aee1),[_0x207e18];}return[_0x2f21d3,_0x4371a8,'run',_0x5c0f0a['CwkpB']];}function getServiceStatus(){const _0x5d6e3a={_0x52fe74:0x59c,_0x38bae4:0x72f,_0x5b2556:0x924,_0x172cde:0x602,_0x182aab:0x64b,_0x4d7633:0x7b0,_0x51840c:0x3dc,_0x1d70f8:0x919,_0x2b5e57:0x61e,_0x35b7db:0x505,_0x10cd1a:0x301,_0x292311:0x831,_0x31e33b:0x4b7,_0x1f0e19:0x7c2,_0x2e8bd5:0x801,_0x2aba55:0x6b3,_0x99cc6e:0x402,_0x2a045d:0x5d1,_0xb42b50:0x7cb,_0x333efc:0x68f,_0x16d904:0x8c6,_0x4a4ed5:0x3ca,_0x33654a:0x90e,_0x2a4e83:0x704,_0x34dc1d:0x6ac,_0x364d21:0x809,_0x2bfcdc:0x75d},_0x1ba222={_0xe2f5f0:0x3f6},_0x9de21f={_0x880a42:0x515};function _0x5527cf(_0x93dd3e,_0x4bdfbf){return _0x43d5cd(_0x93dd3e-_0x9de21f._0x880a42,_0x4bdfbf);}const _0x4f074d={'mPngk':function(_0x5bd432,_0xe7c2f1){return _0x5bd432!=_0xe7c2f1;},'PCbjX':function(_0x61c511,_0x5fff91){return _0x61c511(_0x5fff91);},'OYwyC':_0x5527cf(_0x5d6e3a._0x52fe74,_0x5d6e3a._0x38bae4)+'l','EqvXY':_0x5527cf(_0x5d6e3a._0x5b2556,0x8cc)+'l','yaKfp':_0x1bd21b(0x4c6,_0x5d6e3a._0x172cde)+'e','sZQUS':function(_0x33544b,_0x2936c9,_0x39ff1c){return _0x33544b(_0x2936c9,_0x39ff1c);},'heIjM':_0x5527cf(_0x5d6e3a._0x182aab,_0x5d6e3a._0x4d7633),'XGSzX':_0x1bd21b(0x746,0x984)};ensureServiceDirs();const _0x58bf22=readServiceState()?.[_0x5527cf(0x624,_0x5d6e3a._0x51840c)]??null,_0x33d068={'installed':![],'running':_0x58bf22!=null&&isPidRunning(_0x58bf22),'method':detectServiceMethod(),'servicePath':getServicePath(),'logPath':SERVICE_LOG_PATH,'errorLogPath':SERVICE_ERROR_LOG_PATH,'pid':_0x58bf22};_0x4f074d[_0x1bd21b(0x6d9,_0x5d6e3a._0x1d70f8)](_0x33d068[_0x1bd21b(0x505,_0x5d6e3a._0x2b5e57)],null)&&!_0x33d068['running']&&(_0x4f074d['PCbjX'](clearServiceState,_0x33d068[_0x1bd21b(_0x5d6e3a._0x35b7db,_0x5d6e3a._0x10cd1a)]),_0x33d068[_0x5527cf(0x624,_0x5d6e3a._0x292311)]=null);function _0x1bd21b(_0x47d61c,_0x168ab2){return _0x43d5cd(_0x47d61c-_0x1ba222._0xe2f5f0,_0x168ab2);}switch(_0x33d068['method']){case'launchag'+_0x1bd21b(0x415,0x5f9):_0x33d068[_0x1bd21b(0x70b,_0x5d6e3a._0x31e33b)+'d']=_0x449d87(MACOS_PLIST_PATH);_0x33d068[_0x1bd21b(0x70b,0x5f1)+'d']&&(_0x33d068['running']=commandSucceeds(_0x4f074d['OYwyC'],['list',SERVICE_LABEL])||_0x33d068[_0x1bd21b(_0x5d6e3a._0x1f0e19,_0x5d6e3a._0x2e8bd5)]);return _0x33d068;case _0x1bd21b(_0x5d6e3a._0x2aba55,0x50c)+_0x1bd21b(0x387,_0x5d6e3a._0x99cc6e):_0x33d068[_0x5527cf(0x82a,0x64a)+'d']=_0x449d87(LINUX_SERVICE_PATH);_0x33d068['installe'+'d']&&(_0x33d068[_0x5527cf(0x8e1,0xae1)]=commandSucceeds(_0x4f074d[_0x5527cf(_0x5d6e3a._0x2a045d,_0x5d6e3a._0xb42b50)],[_0x1bd21b(_0x5d6e3a._0x333efc,_0x5d6e3a._0x16d904),_0x4f074d['yaKfp'],_0x1bd21b(0x3b4,_0x5d6e3a._0x4a4ed5),SYSTEMD_UNIT_NAME])||_0x33d068[_0x1bd21b(0x7c2,0x85a)]);return _0x33d068;case _0x1bd21b(0x3c5,0x484)+'run-regi'+_0x1bd21b(0x67a,0x7ff):_0x33d068[_0x5527cf(0x82a,0x6f7)+'d']=_0x4f074d['sZQUS'](commandSucceeds,_0x4f074d[_0x5527cf(0x751,0x90b)],[_0x4f074d[_0x5527cf(_0x5d6e3a._0x33654a,_0x5d6e3a._0x2a4e83)],_0x1bd21b(0x3f7,0x238)+'tware\x5cMi'+_0x1bd21b(0x76c,0x8e9)+_0x5527cf(_0x5d6e3a._0x34dc1d,_0x5d6e3a._0x364d21)+_0x1bd21b(0x5e6,_0x5d6e3a._0x2bfcdc)+'ersion\x5cR'+'un','/v',WINDOWS_RUN_KEY]);return _0x33d068;default:return _0x33d068;}}function installService(_0x513927={}){const _0x187cb8={_0x31e82d:0x3e,_0x30199a:0x7c,_0x56671d:0x38,_0x5bca5f:0x963,_0x26fff4:0x38,_0x226a71:0x654,_0x1fccc5:0x8d,_0x38e756:0x776,_0x1e0d57:0x6ae,_0x4a8bc6:0x637,_0x3d4bb7:0x574,_0x469586:0x644,_0x10587e:0x729,_0x5af435:0x544,_0x58867d:0x237,_0x159903:0x15a,_0x5bdccf:0x23,_0x236257:0x19b,_0x9492da:0x53,_0x11330e:0x102,_0x14ce99:0xf4,_0x410bed:0x58,_0x1b9ee:0x309,_0x322722:0x200,_0x2c1e48:0x1da,_0x2cd77e:0x7c5,_0x2d364b:0x28,_0x52ec5c:0x1f9,_0x85e8fe:0x292,_0x511486:0x6e0,_0x3746b9:0x7d9,_0x1d7517:0x1f6,_0x3f6563:0x19,_0x3fe2fb:0x564,_0x28fcb8:0x4ec,_0x27d281:0x39,_0x39a643:0x555,_0x2ab8a7:0x5ce,_0x17df88:0x8ca,_0x520d17:0x73,_0x3210ff:0x66,_0x5bb69e:0xf,_0x50a0ca:0xad,_0xcc2a78:0xb2,_0x3893fd:0x76e,_0x5138e0:0x8d},_0x50abd4={_0x28adb1:0x554},_0x44d97f={'eUwVr':function(_0x53ccef){return _0x53ccef();},'iZyZD':function(_0x588aea,_0x193292){return _0x588aea(_0x193292);},'QRDxx':'darwin','Xakhh':function(_0x58c016,_0x3fbb3c,_0x396efb,_0x1300ad){return _0x58c016(_0x3fbb3c,_0x396efb,_0x1300ad);},'vFlKa':_0x11bad5(-_0x187cb8._0x31e82d,-0xf6)+'l','GMbwe':_0x11bad5(-_0x187cb8._0x30199a,_0x187cb8._0x56671d),'jvkAS':function(_0x5123d9,_0x2329ac,_0x1e1d2e){return _0x5123d9(_0x2329ac,_0x1e1d2e);},'ZYWQT':function(_0x3b0710,_0x423c19){return _0x3b0710(_0x423c19);},'RSAef':_0x39c024(_0x187cb8._0x5bca5f,0xa6f)+'l','GNEkt':_0x11bad5(_0x187cb8._0x26fff4,0xe7)+_0x39c024(_0x187cb8._0x226a71,0x4ff),'MSqBa':_0x11bad5(_0x187cb8._0x1fccc5,-0x80),'nlyhb':_0x39c024(_0x187cb8._0x38e756,0x6d7),'Matxf':_0x39c024(0x68a,_0x187cb8._0x1e0d57)};_0x44d97f[_0x39c024(_0x187cb8._0x4a8bc6,0x5b6)](ensureServiceDirs);function _0x11bad5(_0x4cebd2,_0x2910e6){return _0x43d5cd(_0x2910e6- -0x17d,_0x4cebd2);}const _0x33fd66=_0x44d97f[_0x39c024(0x548,_0x187cb8._0x3d4bb7)](getServiceProgramArgs,_0x513927);switch(process[_0x39c024(_0x187cb8._0x469586,0x732)]){case _0x44d97f['QRDxx']:_0x4acda8(MACOS_PLIST_PATH,_0x44d97f[_0x39c024(_0x187cb8._0x10587e,0x8fc)](buildMacosPlist,_0x33fd66,SERVICE_LOG_PATH,SERVICE_ERROR_LOG_PATH),_0x39c024(0x4e9,_0x187cb8._0x5af435)),execIgnoreFailure(_0x44d97f['vFlKa'],[_0x44d97f[_0x11bad5(_0x187cb8._0x58867d,0x294)],'-w',MACOS_PLIST_PATH]);const _0x4d01df={};_0x4d01df[_0x11bad5(-0x67,-0x70)]='ignore',execFileSync('launchct'+'l',[_0x11bad5(-_0x187cb8._0x159903,0x91),'-w',MACOS_PLIST_PATH],_0x4d01df);break;case _0x39c024(0x956,0xa6f):const _0x53e798={};_0x53e798['recursiv'+'e']=!![],_0x44d97f[_0x11bad5(-_0x187cb8._0x5bdccf,_0x187cb8._0x236257)](_0x5a4a54,_0x44d97f[_0x11bad5(-_0x187cb8._0x9492da,-_0x187cb8._0x11330e)](dirname,LINUX_SERVICE_PATH),_0x53e798),_0x4acda8(LINUX_SERVICE_PATH,_0x44d97f[_0x11bad5(-_0x187cb8._0x14ce99,_0x187cb8._0x410bed)](buildLinuxSystemdUnit,_0x33fd66,SERVICE_LOG_PATH,SERVICE_ERROR_LOG_PATH),_0x39c024(0x4e9,0x64b)),execFileSync(_0x44d97f['RSAef'],['--user',_0x44d97f[_0x11bad5(-_0x187cb8._0x1b9ee,-_0x187cb8._0x322722)]],{'stdio':_0x44d97f[_0x11bad5(0x4,_0x187cb8._0x2c1e48)]});const _0x4b427a={};_0x4b427a[_0x39c024(0x661,_0x187cb8._0x2cd77e)]=_0x11bad5(_0x187cb8._0x2d364b,-0x80),execFileSync(_0x11bad5(_0x187cb8._0x52ec5c,_0x187cb8._0x85e8fe)+'l',[_0x39c024(0x7ed,0x6d3),_0x11bad5(-0xd2,0xdd),_0x39c024(_0x187cb8._0x511486,_0x187cb8._0x3746b9),SYSTEMD_UNIT_NAME],_0x4b427a);break;case _0x44d97f[_0x11bad5(-_0x187cb8._0x1d7517,-0x108)]:stopRunningProcess();const _0x502ca1={};_0x502ca1['stdio']=_0x11bad5(-_0x187cb8._0x3f6563,-0x80),execFileSync(_0x44d97f[_0x39c024(_0x187cb8._0x3fe2fb,_0x187cb8._0x28fcb8)],[_0x11bad5(0xf7,_0x187cb8._0x27d281),_0x39c024(_0x187cb8._0x39a643,_0x187cb8._0x2ab8a7)+_0x11bad5(0x242,0x156)+_0x39c024(_0x187cb8._0x17df88,0x75c)+_0x11bad5(0x95,0x1a)+_0x11bad5(0x16b,_0x187cb8._0x520d17)+'ersion\x5cR'+'un','/v',WINDOWS_RUN_KEY,'/t','REG_SZ','/d',buildWindowsRunCommand(_0x33fd66),'/f'],_0x502ca1),startDetachedWindowsService(_0x33fd66);break;default:throw new Error(_0x11bad5(0x1cd,-_0x187cb8._0x3210ff)+_0x11bad5(-0x1c4,-_0x187cb8._0x5bb69e)+'form\x20for'+_0x11bad5(0x11e,0x20e)+_0x11bad5(0x20,-0x20d)+_0x11bad5(-_0x187cb8._0x50a0ca,-_0x187cb8._0xcc2a78)+_0x39c024(_0x187cb8._0x3893fd,0x91d)+process[_0x11bad5(0x191,-_0x187cb8._0x5138e0)]);}function _0x39c024(_0x59a177,_0x1a77b0){return _0x43d5cd(_0x59a177-_0x50abd4._0x28adb1,_0x1a77b0);}return getServiceStatus();}function restartService(_0x37c49e={}){const _0x467d99={_0x2376ff:0x139,_0x293d04:0x2a7,_0x3e8a24:0x316,_0x3b281a:0x1c6,_0xf9b646:0x1b2,_0x4878cf:0x1a2,_0x54871d:0xf7,_0x51d879:0x18c,_0x479620:0x1d3,_0xabc67d:0x96,_0x260de6:0x65,_0x351768:0x1bf,_0x181bf8:0x2e8,_0x285d86:0x2c0,_0x3efb59:0x89,_0x1bf092:0x563,_0x29c204:0x5d,_0x15364c:0x6b,_0x2f849f:0x90,_0xeae186:0x1fd,_0x5be0e1:0x627,_0x56b639:0x14a,_0x4df2c0:0xc5,_0x6dd87d:0x131,_0x523477:0x32,_0x4652fc:0x380,_0x17ce6f:0x268,_0xc5d65a:0x40a,_0x1f4682:0x385,_0x218d4e:0x428,_0x5af079:0x11e,_0x2e6327:0x56,_0x1e7a9b:0x43d,_0x31f98a:0x3a8,_0x32b910:0x2b3},_0x1a5d11={_0xbf4ebe:0x26e},_0x273968={_0x238502:0x54};function _0x4455f4(_0x5b9cc3,_0x1aab98){return _0x1fe1a4(_0x5b9cc3,_0x1aab98- -_0x273968._0x238502);}function _0x51582c(_0x511353,_0x32f0da){return _0x1fe1a4(_0x511353,_0x32f0da- -_0x1a5d11._0xbf4ebe);}const _0x596b3d={'cwJmG':function(_0x6449bb,_0x30685f,_0x5a7785,_0x32cda2){return _0x6449bb(_0x30685f,_0x5a7785,_0x32cda2);},'DhEZN':_0x4455f4(-0x1d,_0x467d99._0x2376ff)+'l','xZEkK':'linux','kwbhd':function(_0x1b2f7e,_0x514fad){return _0x1b2f7e(_0x514fad);},'IqUMm':_0x51582c(0x358,_0x467d99._0x293d04)+'l','QcHSs':_0x4455f4(0x391,_0x467d99._0x3e8a24)+_0x4455f4(_0x467d99._0x3b281a,_0x467d99._0xf9b646),'oNBtA':'ignore','zfSPs':'win32','khBwt':function(_0x34e7f0,_0x4c05c1){return _0x34e7f0(_0x4c05c1);},'ntbLM':function(_0x9e8ebf){return _0x9e8ebf();}};ensureServiceDirs();const _0x4926d4=getServiceProgramArgs(_0x37c49e);switch(process[_0x4455f4(0x108,_0x467d99._0x4878cf)]){case'darwin':if(!_0x449d87(MACOS_PLIST_PATH))return installService(_0x37c49e);_0x596b3d[_0x51582c(0x94,-_0x467d99._0x54871d)](_0x4acda8,MACOS_PLIST_PATH,buildMacosPlist(_0x4926d4,SERVICE_LOG_PATH,SERVICE_ERROR_LOG_PATH),_0x51582c(-_0x467d99._0x51d879,-_0x467d99._0x479620)),execIgnoreFailure(_0x4455f4(_0x467d99._0xabc67d,_0x467d99._0x2376ff)+'l',[_0x51582c(-_0x467d99._0x260de6,0x4d),'-w',MACOS_PLIST_PATH]);const _0x3e45fb={};_0x3e45fb[_0x4455f4(0x33e,_0x467d99._0x351768)]='ignore',execFileSync(_0x596b3d['DhEZN'],[_0x4455f4(_0x467d99._0x181bf8,_0x467d99._0x285d86),'-w',MACOS_PLIST_PATH],_0x3e45fb);break;case _0x596b3d[_0x4455f4(0x18f,0x13c)]:if(!_0x596b3d[_0x51582c(-_0x467d99._0x3efb59,0x19b)](_0x449d87,LINUX_SERVICE_PATH))return installService(_0x37c49e);const _0x4d70ff={};_0x4d70ff[_0x4455f4(_0x467d99._0x1bf092,0x4be)+'e']=!![],_0x5a4a54(dirname(LINUX_SERVICE_PATH),_0x4d70ff),_0x4acda8(LINUX_SERVICE_PATH,buildLinuxSystemdUnit(_0x4926d4,SERVICE_LOG_PATH,SERVICE_ERROR_LOG_PATH),'utf8');const _0x462e3e={};_0x462e3e[_0x51582c(_0x467d99._0x29c204,-0x5b)]=_0x51582c(-0x118,-_0x467d99._0x15364c),execFileSync(_0x596b3d['IqUMm'],[_0x51582c(-0x11,0x131),_0x596b3d[_0x51582c(-0x12d,_0x467d99._0x2f849f)]],_0x462e3e);const _0x2cba11={};_0x2cba11['stdio']=_0x596b3d[_0x51582c(0x46,-_0x467d99._0xeae186)],execFileSync(_0x4455f4(_0x467d99._0x5be0e1,0x4c1)+'l',[_0x4455f4(_0x467d99._0x56b639,0x34b),_0x51582c(-_0x467d99._0x4df2c0,-_0x467d99._0x6dd87d),SYSTEMD_UNIT_NAME],_0x2cba11);break;case _0x596b3d['zfSPs']:stopRunningProcess(),execFileSync(_0x51582c(-0x26f,-_0x467d99._0x523477),[_0x4455f4(_0x467d99._0x4652fc,_0x467d99._0x17ce6f),'HKCU\x5cSof'+_0x4455f4(_0x467d99._0xc5d65a,_0x467d99._0x1f4682)+_0x4455f4(0x24b,_0x467d99._0x218d4e)+_0x51582c(_0x467d99._0x5af079,0x2f)+'CurrentV'+_0x51582c(-0x1ad,_0x467d99._0x2e6327)+'un','/v',WINDOWS_RUN_KEY,'/t',_0x4455f4(0x12a,0x366),'/d',_0x596b3d[_0x4455f4(0x33,0x21)](buildWindowsRunCommand,_0x4926d4),'/f'],{'stdio':_0x596b3d['oNBtA']}),startDetachedWindowsService(_0x4926d4);break;default:throw new Error('Unsuppor'+_0x51582c(0x250,0x6)+_0x4455f4(0x17d,0x155)+_0x4455f4(0x47c,_0x467d99._0x1e7a9b)+_0x4455f4(0x1f7,0x13d)+'tart:\x20'+process[_0x4455f4(-0x92,0x1a2)]);}return _0x596b3d[_0x4455f4(_0x467d99._0x31f98a,_0x467d99._0x32b910)](getServiceStatus);}function uninstallService(){const _0x321256={_0x29a121:0x17,_0x333b12:0x204,_0x284f1c:0x340,_0x57f8fd:0x7c,_0xa60aa2:0x116,_0x36db0d:0x3f1,_0x2bfb2e:0x26d,_0x1879c3:0x437,_0x3c72ed:0x2fa,_0x1e039d:0x477,_0x311db3:0x8f,_0x228cab:0x2f3,_0x53b725:0x526,_0x4f7fab:0x51f,_0x5412ab:0x38f,_0x489f93:0x48a,_0x33eac5:0x625,_0x5b9383:0x2f6,_0x1f258a:0x27f,_0xf6f6f2:0x4fe,_0x263c61:0x4b9},_0x24e439={_0x53cbb6:0x77};function _0xde788(_0x213a04,_0x5c552a){return _0x1fe1a4(_0x5c552a,_0x213a04- -0x8b);}function _0x400e08(_0xb542f6,_0x5c33e7){return _0x1fe1a4(_0xb542f6,_0x5c33e7-_0x24e439._0x53cbb6);}const _0x496c77={'hsbTO':_0xde788(0x316,0x53d),'yUbiM':_0x400e08(_0x321256._0x29a121,_0x321256._0x333b12)+'l','FqeiY':'linux','uFVKJ':_0x400e08(_0x321256._0x284f1c,0x416),'MnEax':function(_0x23af8e,_0x5df7d2){return _0x23af8e(_0x5df7d2);},'UGyGI':function(_0x7f81f8,_0x15503e,_0x5b5a2d){return _0x7f81f8(_0x15503e,_0x5b5a2d);},'KOXzS':_0x400e08(-0x16,0x1fb),'mCXMv':_0xde788(_0x321256._0x57f8fd,_0x321256._0xa60aa2)+'tware\x5cMi'+_0xde788(_0x321256._0x36db0d,0x317)+_0x400e08(0x458,0x314)+_0x400e08(0x282,0x36d)+_0xde788(0x239,0x159)+'un','gtEhN':function(_0x5ed143){return _0x5ed143();}};stopRunningProcess();switch(process[_0x400e08(0x370,_0x321256._0x2bfb2e)]){case _0x496c77[_0x400e08(_0x321256._0x1879c3,0x570)]:execIgnoreFailure(_0x496c77['yUbiM'],[_0x400e08(0x2db,0x332),'-w',MACOS_PLIST_PATH]),rmIfExists(MACOS_PLIST_PATH);break;case _0x496c77[_0xde788(_0x321256._0x3c72ed,_0x321256._0x1e039d)]:_0x449d87(LINUX_SERVICE_PATH)&&(execIgnoreFailure(_0x400e08(0x3af,0x58c)+'l',[_0x496c77[_0xde788(_0x321256._0x311db3,0xd3)],_0x400e08(_0x321256._0x228cab,_0x321256._0x53b725),'--now',SYSTEMD_UNIT_NAME]),_0x496c77[_0xde788(0x88,-0x1a7)](rmIfExists,LINUX_SERVICE_PATH),_0x496c77[_0x400e08(_0x321256._0x4f7fab,_0x321256._0x5412ab)](execIgnoreFailure,_0xde788(_0x321256._0x489f93,_0x321256._0x33eac5)+'l',[_0x496c77['uFVKJ'],_0x400e08(_0x321256._0x5b9383,0x3e1)+_0xde788(0x17b,_0x321256._0x1f258a)]));break;case'win32':execIgnoreFailure('reg',[_0x496c77['KOXzS'],_0x496c77[_0x400e08(0x657,_0x321256._0xf6f6f2)],'/v',WINDOWS_RUN_KEY,'/f']);break;default:break;}return _0x496c77[_0x400e08(0x266,_0x321256._0x263c61)](clearServiceState),getServiceStatus();}function stopService(){const _0x10c0ca={_0x225975:0x2fb,_0x36d173:0x50d,_0x4c458a:0x3b8,_0x208282:0x578,_0x276c8a:0x5dd,_0x57295e:0x199,_0x1dc14a:0x3,_0x19a063:0x4db,_0x5b8be7:0x69b,_0x114b64:0x3d6},_0x4f87ca={_0x53542d:0xcc};function _0x5e0f9e(_0x471367,_0x3f60f1){return _0x43d5cd(_0x471367-0x274,_0x3f60f1);}const _0x45048e={'cPapG':'darwin','kqRsg':function(_0x4a2c96,_0x2bcf57){return _0x4a2c96(_0x2bcf57);},'LToGA':function(_0xa60f0e,_0x5e2c0c,_0x5ef786){return _0xa60f0e(_0x5e2c0c,_0x5ef786);},'jrYYF':_0x5e0f9e(_0x10c0ca._0x225975,0x2b5)+'l','krQfE':_0x401e96(0x4ce,0x5fa),'wXtXF':_0x5e0f9e(_0x10c0ca._0x36d173,_0x10c0ca._0x4c458a)};stopRunningProcess();switch(process[_0x5e0f9e(0x364,_0x10c0ca._0x208282)]){case _0x45048e[_0x5e0f9e(0x4e3,_0x10c0ca._0x276c8a)]:_0x45048e[_0x401e96(_0x10c0ca._0x57295e,_0x10c0ca._0x1dc14a)](_0x449d87,MACOS_PLIST_PATH)&&_0x45048e['LToGA'](execIgnoreFailure,_0x45048e[_0x401e96(0x46c,0x5b4)],['unload',MACOS_PLIST_PATH]);break;case _0x45048e[_0x401e96(0x4ac,0x3d0)]:_0x449d87(LINUX_SERVICE_PATH)&&execIgnoreFailure(_0x401e96(_0x10c0ca._0x19a063,_0x10c0ca._0x5b8be7)+'l',[_0x45048e[_0x5e0f9e(_0x10c0ca._0x114b64,0x2ba)],_0x401e96(0xad,0x3a),SYSTEMD_UNIT_NAME]);break;case'win32':break;default:break;}clearServiceState();function _0x401e96(_0x69b0ce,_0x3e1379){return _0x43d5cd(_0x69b0ce-_0x4f87ca._0x53542d,_0x3e1379);}return getServiceStatus();}function writeServiceState(_0x5f0326=process[_0x1fe1a4(0x41f,0x215)]){const _0x911235={_0x5157b4:0x35c,_0xfdff69:0x75,_0x32870e:0x169,_0x44667d:0x162,_0x226fa5:0x226,_0x355e6a:0x338,_0x2b8d88:0x5ed,_0x4e4d50:0x428},_0x1a6470={'HExzj':function(_0x240891){return _0x240891();},'Yqqyc':function(_0x5cc8bb,_0x478219,_0x57fe57,_0x3f0a75){return _0x5cc8bb(_0x478219,_0x57fe57,_0x3f0a75);},'Wqdkf':function(_0x3c30ef,_0x2bf801){return _0x3c30ef+_0x2bf801;}};_0x1a6470[_0x295413(_0x911235._0x5157b4,0x595)](ensureServiceDirs);function _0x375561(_0x210447,_0x5a11a0){return _0x1fe1a4(_0x5a11a0,_0x210447- -0x15d);}function _0x295413(_0xd63a79,_0x263279){return _0x1fe1a4(_0xd63a79,_0x263279-0x38d);}const _0x17ff80={'pid':_0x5f0326,'startedAt':new Date()[_0x375561(_0x911235._0xfdff69,-_0x911235._0x32870e)+_0x375561(_0x911235._0x44667d,_0x911235._0x226fa5)]()};_0x1a6470[_0x295413(0x244,0x498)](_0x4acda8,SERVICE_STATE_PATH,_0x1a6470[_0x375561(_0x911235._0x355e6a,0x16b)](JSON[_0x295413(0x8b8,0x707)+'y'](_0x17ff80,null,0x2),'\x0a'),_0x295413(_0x911235._0x2b8d88,_0x911235._0x4e4d50));}function clearServiceState(_0x26c928){const _0x3cb56d={_0x1b54bb:0x4e5,_0x162804:0x6e2,_0x54b213:0x67f},_0x489af4={_0x56817e:0x29f},_0x4f1543={_0xe3f37f:0x570},_0x4f728f={'NBUzD':function(_0x25b5ff,_0xc34b54){return _0x25b5ff!=_0xc34b54;},'BzfZT':function(_0x19ced){return _0x19ced();},'eunHk':function(_0xa98a9b,_0x514eaa){return _0xa98a9b!==_0x514eaa;}};if(!_0x449d87(SERVICE_STATE_PATH))return;function _0x19e2e0(_0x852fbb,_0x273e24){return _0x43d5cd(_0x273e24-_0x4f1543._0xe3f37f,_0x852fbb);}if(_0x4f728f['NBUzD'](_0x26c928,null)){const _0xffdb38=_0x4f728f[_0x19e2e0(0x320,_0x3cb56d._0x1b54bb)](readServiceState);if(_0xffdb38&&_0x4f728f[_0x592842(0x5e2,0x3d5)](_0xffdb38[_0x19e2e0(_0x3cb56d._0x162804,_0x3cb56d._0x54b213)],_0x26c928))return;}function _0x592842(_0x2ed2b7,_0x85bbf6){return _0x43d5cd(_0x2ed2b7-_0x489af4._0x56817e,_0x85bbf6);}rmIfExists(SERVICE_STATE_PATH);}function getServicePaths(){return{'logPath':SERVICE_LOG_PATH,'errorLogPath':SERVICE_ERROR_LOG_PATH,'servicePath':getServicePath()};}function _0xd309(){const _0x24feea=['zxvLzcb1BNq','ihvYBd0','ugfPCMLUzYa','yw5KihbHC3m','zwTYz0K','Dg9tDhjPBMC','vwPLAxm','Cgf0AdOG','EgT5t3G','y3jLyxrLv2u','y1bHCeC','ihrVA2vUig8','Aw5ZDc0','DxjS','zMzLCMvUDca','C3rYAw5NAwy','zcbXDwv1zwq','tdOG','zgXLigDHDgu','qxrnCW','DgHLienSyxC','mc4WlJaUma','igvYCM9Ypq','y29Uy2f0','y29UBMvJDfi','jNf1B3q7','rNfLAvK','CMvSyxKGCMu','yMLUyxj5','Et4kica8C3q','AxjZDc4Gq28','C3rYEq','A2v5CW','Bwf4','CgvU','y2XVC2u','DhjSk0mGDg8','AxmGuviGy28','tenxyvm','igj1DcbZDg8','DhbiCMK','qNjPzgDLigK','D3nZoG','uMzivMK','BgfZDfnLzw4','CgvUzgLUz0C','AwyGwYaTEca','zevYCM9Ypwe','Dgv4Da','wLntAKu','mti3lJaUmc4','q0Xbv0rct1q','ls11C2vY','igfSC28GAgK','zgfYD2LU','C3bVBNnLigi','BwuGBM90igy','BgfZDfjLBge','vw5HyMXLihq','ihrLEhq9','ignVBMzPzYa','CMvZ','lJe6mtG3odK','zfvYBa','yxrLD2f5vxi','CMvX','lw5LDW','mJaW','ALPRDLm','BM9KzvbHDgG','ue9tva','lNbUzW','z2f0zxDHEva','C2vUza','yLnVy2TLDa','t1z4Chq','seXkzxK','y29UBMvJDca','CMv0','uKvhx1nA','DgvZigfYzsa','lZeYnY4WlJa','y2XPzw50q28','yMXVy2TLzca','CMvNAxn0zxi','mtq5mZCXmLnlExHJEa','CgT1Cwe','DgHLBG','C3LZDgvTzc0','DgLTzwqGB3u','zwvKzwq','BhjLywr5iha','zxHPC3rPBMC','sKLOvu8','yxv0AcbWyxq','AgfUzgXLuMu','z2v0vgLTzq','u2vYDMLJztO','zMLNDxjLzcW','Axn0lteUmc4','uMvSyxLszwm','y1LTwuu','yxDKBa','C2vYDMvYvxi','zxDHEvvYBa','zxDHEvjLywm','cLnJyw4GDgG','u1PzqNa','A2v0igfWCdO','BwvKAwfeAxi','DhDHCMvCtwK','CgfPCIaTlwW','AxbZzwm','y2HLzcbTB2q','BMv0D29YAYa','Bs9everZl1a','BgXDcLDHBNq','zw5nCZ0','Bg9ZzujVDw4','BNn0ywXSzwq','zhjVCfn0ywW','z3b6z1O','ig9Yia','zxHLy1bHDgG','C3rHBguGz2e','yxj0yMvHDca','BvbUz2S','C2vYDMLJzu0','tfL2twC','zxjYB3i6ia','C25HChnOB3q','AxnszwXHEu8','zgv2AwnLrMe','ovzhA2PpCa','zxjYB3i','yxrLD2f5ihi','y2XVC2vhyxq','ieLeoIa','B25Uzwn0','zxj2AwnLige','tg93ANa','igzYzxnOigq','ls1XCI1MAwW','CNvU','yxv0Aa','w3bHAxiTCMu','y29UC3rYDwm','q29UzMLNrM8','zcbKzwXHEu0','tejlqM0','C3rHCNrizwe','AgfUzgXLr2e','DufRww0','DhjHDgLVBI4','yxnZD29Yza','igzVCIbNyxq','CuXprxu','tw9IAwXLiem','A3DIAgq','sw52ywXPzca','CMvJB25Uzwm','q1reBwy','uvDcuhi','C2v0vgLTzw8','BNqGDgHHDca','r2f0zxDHEsa','BMvJDgvK','yKPds3K','ExbHC3mGDgG','CMfTCW','yxrO','ktOG','tMTNALK','z2f0zxDHEum','zMLUza','D2f5twvZC2e','Aw5ZDgfSBgu','igLUDgvUDgK','l1bjra','ANzRqvm','igzHAwXLzca','CMfUzg9T','C3mGls11CMW','y2uGywXYzwe','BgLLBNq','rKrts2i','yMfJA2DYB3u','B2nHBcbBls0','vvnLD2C','mtv8mtr8mty','zxr2D1i','CgfYC2u','u21ACu0','AgfZ','ihjLyxnVBJ0','CxjqyxLSB2e','igrPCJOG','DhLWzq','zcbZAw5Jzum','l2TLEt4kica','B3bLBMnSyxC','Eu9Wzw4','AxjpwLm','ywnOywjSzsa','Aw5ZDgfSBa','BM9Uy2vmzw4','u2vYDMLJzsa','sciGCNvUic0','ugfPCIbYzwC','B3iGmwqU','y2HHBMDLzc4','ugfPCMvKoIa','C2nOzwr1Bgu','ChbLBMq6','y3rVCNK9','z3rfAe4','uMvXDwvZDfi','u3rHCNrPBMC','y2XPzw50x2m','ywX1zxmGBgK','DcbHCha6cG','AwvUDerLBwe','zxvUsgS','B249q2XHD2S','Axnoyu4','C2fNzxmGyMu','zMX1C2Hqzw4','ywLYzwqUifi','C2vYDMLJzsi','z2v0cG','lIbsDw4GiMm','zwXHChnLzfm','mtbyAKLSzey','zxnVBhzLza','igHHCYbIB3q','CxvLCNK','Ahr0Chm6','B2jZzxj2zum','pGO8l2rPy3q','BwfYA1bHAxi','ru5kuhy','CMvQzwn0zwq','tvnXqMe','CMvSyxKGzxi','DgvYBwLUyxq','u0nssvbux1a','s1fREfq','ywnJzxnZq28','odC4oq','y2XVC2uGyM8','B3nLzdOG','sgL4z00','zMXnC2e','BsbNyxrLD2e','B3bWzwqGDg8','CMvSyxLtzwm','Bg9NCW','CMLUzYbJB2q','DxbKyxrLzee','zgvMyxvSDa','tMjMEfi','mtmWmdfnuMDZzem','B3jPz2LU','B3zL','BgPovMi','Bwu+xsbBls0','ChbLzc4GuMu','B3vtBKq','CxvLC3rDihi','u3rYAw5N','Aw5Nr2f0zxC','C2XPy2u','q3PUBvK','y3jVC29MDfW','BM90ihbHAxi','CMvXDwvZDgu','BMrnCZ0','DMjVEa','BgfZDevYCM8','CxvLC3q','l2fJy2vZCY0','zM91BMq','yxrPB24U','y3rLzcbJB2q','Bunytxy','DKrjD0W','Bg9N','ls1SAw5LCW','BgLZDa','txfrAfa','AwWGz2f0zxC','C3bSAxq','DgvKoYbJBg8','ChbW','ienmssbZzxi','u0Lhsu5u','vNzlqKu','Aw1fAMO','v3fKA2y','EwvZ','ww91ignHBIa','Et4kica8Dhi','Dgv3yxLdB24','CxjjBwfNzva','qwnJzxnZigm','wLvJsum','zgvYia','uNvUigbJBge','BM5Ly3qGyxq','zM9YD2fYzgu','zxLPCfG','AxiGzMLYC3q','Dg9Rzw4','zxrYEvrPBwu','B25qzw5KAw4','ANjzwuy','zKfwzey','Bwv0Ag9K','ruPsu3y','vxjS','iMnSyxDRzxq','z2v0u25HChm','CNzPy2uGAw4','DejHC2vezwW','zgLZywjSzq','ls1LCNjVCNm','ig5HBwu9','t1bftG','CgfPCMvK','rw95v3O','y2XHD2TLDc0','lxnLCNzPy2u','ihrVA2vUoIa','lY5VCgvUy2W','jMD0oW','CMvZAgvKlG','yxrLza','CI1MAwXLidW','rvjdvuO','zg93BG','C29Tzq','CMvWBgfJzue','Dg90ywW','DgfZA2TPBgW','y3v2Ew8','C3rYEsbbueK','cLn0yw5Kyxi','Dd4k','zNjVBq','ueX1B1O','phvUA25VD24','B3iGCgfZC3C','BMDqywLYuMu','uwDktuC','DhreCMW','DfrPBwvY','q2XHD2TLDca','BwLSEq','ywnRz3jVDw4','CNvUBMLUzW','ihjLBgf5pq','lJaUmc4XoJe','ywLYlMfWChi','lMrLDG','s2rwuey','y2XLyxjuAw0','y29UzMLN','mNLgsMjTqq','cLjLC3rHCNq','BMv0D29YAY0','BgLZDcb2zxi','igrLDMLJzuK','DgHLihjLz2K','BgWIig9Yici','CLf1zxvLr2e','qvriiIbDoYa','AgfRztSGCxu','qxf0tva','ienSyxDRzxq','A3jrzKu','C21HBgW','zhrKiJ4kpha','z2f0zxDHEvq','q29UzMLNoIa','pLbYB2DYyw0','BwLU','pgTLEt5tDge','Euvjuee','uKvrvuLsruq','y3qGAgfUzhm','ru4IicjODhq','ihrVihnWzwm','D3m6lY8','CMvJDgLVBKW','C2nVCMu','B24U','zxrcCMLKz2u','CYb1BNnLDc4','AhnIve8','Axn0zxi','BwfW','id4MmG','pc9ZDhjPBMC','zcWGCNvUBMK','weDtELG','Bgf5q29UDhi','DgvKqxrnCW','zxHPDcaXmJC','z2f0zxDHEvu','yNjPzgDL','ihbSAxn0ifa','tMfTztOG','zxHPDenVzgu','BgLUDxG','De1HEerLBge','C0z4yKS','rMfPBgvKihq','BguGzhjVCha','y01yqMq','yxr0zw1WDd0','zxqGqNjPzgC','zwzYzxnOzwq','CfzUCMq','CMvJDxjZAxy','Bg9NCYbBls0','CgfPCIbYzxe','C3LZDgvTy3q','ief1Dg9Tyxq','r01ID2u','AwmGzMfSBgi','yxLnCW','zxzLBa','zxj2AwnLlMO','ihbHC3n3B3i','BwTnuuG','B05cDee','igj1DcbNyxq','cIaGpc9HCNi','zefvsKO','A2HcD3q','DMLJzsbPBNm','AwvSyMe','EeLYD1u','ExDkC1O','C2vUzfrVr2e','qNPMwLq','vhLdCe8','Bgf5twvZC2e','tM90ihbHAxi','EsbPzIb5B3u','thLAu0q','twvKAwfeAxi','zgvMyxvSDeC','r05fA3q','tvfhA04','zwqGka','tg9NoIa','z2f0zxDHEq','zMLSDgvY','EufJDgL2Axq','pg5VBMu+','BMuUDgfYz2u','BgfZDca8mM0','BIaIy2XHD2S','zw1WDa','zujzuhe','vfbhvem','B25Uzwn0zwq','DcbHienSB3u','zeTbBu4','uMvTB3zLzca','CNzLCI4','uKLqvf9qqvq','DxnLCG','wfv3A2i','A2v0','y2XVC2vKoIa','DxrMoa','sg9nwwi','ANnVBG','u2vYDMvYifu','zgLUzZ0Ivvq','zerwrwO','CMvSyxLdB24','yMvUtvG','zg9JA2vY','Ag90','iejYAwrNzsa','BMCUieXLzNq','BNPPB1a','C3rHCNrLzca','zgvK','vNfOvxy','y29UzMLNoIa','D3LVBvm','C3rHBguGCxu','CMvZzxq','C2HPzNq','D3nZoI8V','Cgf0AevUDG','qwfjB0G','igrLy2LZAw8','igTLChq9','zxDHEsbYzw0','vMXJwLe','DM1Uzxq','vg9Rzw5gB3u','DMv0Aa','wKnTwhK','CYbUB3qGCMu','ze91Dhb1Dd0','CMvSyxKGAgu','tND4sxu','ihrOzsbWywK','D2f5','CIb1C2uGygm','Ac5TB2rLigK','yxKGCMvJB24','ls1XDwLLDa','pL0GwY0TBgK','Dd5DifSTlxe','CM9Wzxj0EuW','q1vTt20','C3rVBsbNyxq','uviGAw1Hz2u','ig5VBMnLtgu','t1fiBKC','CNrIzwf0','CMvSyxKGy28','CMTcrfi','Dd4kica8A2u','ktOGq2XVDwq','lMnSyxDRzxq','zZOG','BMD0Ad0','D2LUzg93CY0','ifjLDhj5igy','yxn3whi','r1PhwKG','u0Lhvevstq','zgvZDhjVEq','icH0B2TLBIa','C2vHCMnOuge','z2f0zxDHEuG','v0Pit08','zcbPCYbTAxm','zMXHCMuGy2G','DaPxyw50CZ0','q0Xpu0ve','CMvJzw50','DgfSBgvKigi','y29UDgvUDc0','mtb8mtn8nxW','C3rVCa','y29Kzq','zsbdteKGC2m','l3yXl3bHAxi','zw1HBMq','z3rO','zw50CW','y2XPzw50rgu','DwfSBhKU','ihPLCM87igC','ls1MB3jJzq','BMfTzq','jJe7ihrOzw4','zxHWBgLJAxq','DxjSpL0GwY0','yxbWCM92zwq','wNrIBxu','y2vZuMvJzw4','C2vYDMLJzva','AvP5wKq','Bwf0y2G','CYbTAxnZAw4','BwfUzfn0yxi','icbLEgvJici','yufrz2K','B25Uzwn0Aw4','AgvHCNrIzwe','yxbWzw5KoG','C29YDa','ywnJzxb0','uuHeALi','Aw5ZDgfUy2u','seTdvvXtB2y','ywXSzwq','y2XPzw50swq','yxbWBhK','wxfXEwm','igjYB3DZzxi','iurpq1rzueu','phjLzgfJDgu','ls1NyxrLD2e','yxvUy2HLCI4','C3rHDhvZ','yw5Ktxm9','tw5fyxG','B2jQzwn0','AxnjBNrLz2u','twf0Egy','ChvZAfbLBMq','y0n1vue','Dw5Cq2XHD2S','Duzws0O','Ag9ZDa','lxfYlwzPBgu','BgKUBg9N','CgfPCIbSB2m','zxjLBNqGC2u','ugfZC3DVCMq','rM5VD08','B2nHBcbpCgu','sg5Jzw4','AguGq2XHD2S','zw50','uKW6ia','ywLYuMvXDwu','CMvHzhLtDge','A2vtDgfYDgu','y29UBMvJDgu','ALzRAeC','C2vUzeDHDgu','zw50CMLLCW','zw5dBgf3ieC','t1bftKnmqvC','u3rHCNrLza','BLbuv0i','ihj1BNrPBwu','x19JBgf3A2u','Dg9eyxrHvvi','Dgv3yxKGCxu','AwrLBNrPDhK','r0Pey1O','ig1LzgLHoIa','tK9ux1bbsvi','uMvZDgfYDgu','igf1DgGGAxm','zMfSBgjHy2S','CMvZDgfYDa','y2uGD2fZigK','CZWVA2v5pGO','AxncDwzMzxi','yxrLD2f5t3a','ztOG','zg9JDg9YifS','zgvUDgL0Esa','zgzSyxjLigm','lMPZB24','ls1Zzxj2zxi','ignSAwvUDhm','A2LUza','ihbHAxiIigy','DgvYpw5LDhC','y29UzMLNrM8','BM9Uy2u','zxHPDa','ls11CMW','yxj0','zgv2AwnLlNa','BMC+','Ag9ZDg5HBwu','CMqGyMvMB3i','zxDHEsa','CMuGCMvJEwm','w2nSyxDRzxq','Bg9Nugf0Aa','CMvHy2HHyMW','ihjLCxvPCMu','zwm9mGPxB3i','lI4VCgfJA2e','BM9VCa','ywLYic0TzM8','DgvTChq9','DMvYC2LVBG','DxnLCM5HBwu','yNjPzgDLlxm','yNjPzgDLlq','ifSTlwzVCMm','mtK1ntu5mejWthz1zq','yw5KC2HHA2u','zxjZ','BM93','Bvr1Bhi','zgLZCgXHEu4','zwq9','CMvSyxLvCMW','Dg9YycbMB3i','BwvZC2fNzq','AxjPBMCU','mtKYnJqZofzvDhfpzq','y2uGCMvNAxm','Bg9VCgjHy2S','zxjYB3jmB2C','uMvSyxKGvvi','Duv3AuC','zsbdBgf3A2u','y3DkBuC','ig1PC3nPBMC','z2v0','q2fUBM90igm','BMX5Agi','C2vYDMvY','B3vUzcbZzxi','mtiZodiWogPey1rxqG','C3rZ','vMvYC2LVBJO','wLLxuvq','ihn0B3aU','D2LMAq','zgvSzxrL','CgvUzgLUz1a','CM9Szq','C0f0','BxbSzqPfEgu','AxngAw5PDgu','y2XPzw50igq','pL0GwY0Tzxi','AffhAfG','Bgf1BMnOy3q','zgfYEvbLBMq','ugzeDLq','EfPfA0S','DMLJzsbYzxm','zgf0yq','yxnL','CMWGphDZoI8','C3rPBgWGCNu','lNbSAxn0','C3rHCNrLzee','sw5WrgC','q29UzMLNrgK','CM9YoIa','uefjuKLor18','ihrVA2vUigK','CNvUifSTlwC','zMXVB3i','C2fNzq','Aw5Qzwn0zwq','iYeVyMLUl3m','we1yufe','sfLHq0K','tgjPyLi','D2LUzg93C0G','u2zrAfq','sd0I','DgXZ','zM9YBsbMB3i','A2LSBa','yxrLD2f5lxu','r2rRrfK','q2XP','qxv0BY1PBNm','CMvNAxn0CNK','Dg9Y','BM90igLUC3q','B2nRzxq','tIbjucbHzgq','zxDHEq','suq6ia','ugf0AdWVA2u','zxf1zxn0swq','ugf0AdOG','zgvJAxnPB24','Dg9mB3DLCKm','AcbHigrPzMy','C0D3zxi','zxHWAxjLC0e','zhKGCNvUBMK','C1n3B1i','CM9TigeGzgK','Bg8W','rxf2wfK','ywrKCMvZCW','CMLUzYb3Axq','CgfPCMLUzYa','zgv0ywnOzwq','Cgf0Ag5HBwu','AgfUzhnOywS','AxnJB25Uzwm','Ahr0Chm6lY8','Ee5qvey','BgKUANnVBG','DgfPBhmSig8','Bg9JywXhyxq','ifnLDcb0Agu','zwqGy29Kzt0','DgfSBgf0Aw8','Dg9ju09tDhi','A3fsC2C','zwfJAgvKoYa','vuLXrNy','AxmTywn0Axy','AvLVzLC','Dw5ZDxbWB3i','iIrot0rfx1a','iffsigLUihq','ywLUCYbUzwu','z2f0zxDHEuK','z2vZ','AcbNyxrLD2e','CMvSyxLtB2m','zxDHEvf1zxu','svb2na','su1wC3m','zxDHEsbTzxm','veGIiciKu0m','sM1KrKK','BM90ihjLywq','CMLUzZ4','vgHPCYbICMK','zvv3vNi','B25Uzwn0u3q','ihjLz2LZDhi','zxzLCNK','yMXLigr1CMK','BwvZC2fNzxm','vgvgtMO','zwqUifj1BIa','DxjSidX3CZO','zxjLCxvPC2K','D2XHBG','q055Ew0','s21mtue','CgXHDgzVCM0','zxqUyNjPzgC','zxDHEs5HDxq','zxqGAw5ZDge','uNvUBMLUzZO','zxzLBNq','C3rHCNrZv2K','ihnLCNzPy2u','u3rVChbLzca','B3jRlw9UBgK','qxv0AcbTB2q','CgfYyw1Z','rxjYB3iGBg8','AwDUB3jL','ywXSzw5Nzsa','u3nHz1e','zwXVywq','ChvZAa','sev4EMO','CMLWDcbWyxq','zgv2AwnLtMe','ls1Syxn0','Dgv3yxK','BwfPBG','zMfoEuq','Bw9Kzq','vLfTtuy','t3bLBKnSyxC','C2vHCMnO','C3rKAw8','tM8GBwf0y2G','CgLK','C2vYDMvYlw0','rxHWAxjLCZO','zuLKBgvhyxq','ihjLCuLKpq','z2f0zxDHEsa','Aw1Hz2uVCg4','Es11CMW','vw5ZDxbWB3i','yxqG','zcbZzxj2Awm','zxK+cIaGphq','icbLEgvJig4','zgv2AwnLswq','zwXHEq','y2yTBwL0AwC','txjcrxK','uwTjEvO','lJaIigvUy28','y1Hxtgu','CIbWyxnZD28','Aw5JBhvKzxm','C3vJy2vLzgu','rI04iJ8+cJW','sxbhq1K','tNviCw0','cLr5Cgu9C2K','jMX0oW','tg9NihbHDgG','Cgf5Bg9Hza','CMvWBgfJzq','t29rq24','BhzLza','C2LUzYbPzgW','CNvLlZ4kica','ChjVDg9JB2W','DgLTzw91Da','ig5VBMnLuhi','zM9YD2fYze8','CMvN','CdOVl3D3DY4','zwnOBYaIBM8','BM5Ly3rLzca','DMLJzsbMB3i','AgPMy0G','EsbJAgvJAY4','t2z5Bui','lvrfuK0','lNDVCMTLCNm','je5prevFuee','we1NA0y','Cgf0Ad5DifS','CNvUiIbTyw4','BcbNyxrLD2e','ihPLCM87igm','z3H0EwW','B2rLiciKu0m','BMvJDgLUzW','C2nYAxb0uge','CgfZC3DVCMq','qNjPzgDLige','CgvUzgLUzW','igXVywqGDgG','ihvUy2HHBMC','Awz5igeGy3u','Eu1Z','B25Jzq','CMvMCMvZAc0','Ahr0CdOVlW','r2f0zxDHEvi','Cg9YDa','Avz3sK4','yw1L','DuHYq3y','q2XHD2TLDei','qLHyu2m','s3rUrwy','w3n0yxr1C10','phn0CMLUzZ4','zxrO','zMfTAwX5','zxnLBNq9','zw5ZDxjLr2e','D1H0wey','lI4U','ueTOsu4','D2LKDgG','z2vUzxjHDgu','BMCGy29UBMu','AxmGBg9JywW','lM9Wzw5JBge','kcGOlISPkYK','ywn0Aw9U','ls1SB2nHBa','EsbLBMrWB2K','DgvKihbSyxq','zxDHEsbvuKW','Bg9NCYbMB3u','C3rHBguGAwq','CMvZCg9UC2u','BMqGC2vYDMK','seHZALO','wMLWzNO','yxLnzxnZywC','Axjszxf1zxm','zYbWyxrOoIa','y29UBMvJDa','B25HBgX5ihC','y291BNq','r0Pmrfy','zgvfEhbPCMu','lMfP','qMfJA2DYB3u','zcbIywnRz3i','y2uU','uMvZDgfYDfm','yNjPzgDLlwm','C3nHz2vZ','B25SAw5LlNq','Dw5Kyxj5ihi','y2XHD2TLDca','y29KzsbBls0','Aw5Jzq','Dxr1BG','Cgnqq0e','ls1UB3C','Dw5UAw5N','BM9Uy2vqCMu','AwyGy29TBwe','yxbWBgLJyxq','sw5ZDgfUy2u','C3rVChbLza','ig1VCMuGzgu','zhjVChbLzca','ifSTlwPZB24','DK91rfy','v2LUzg93C1W','ywnRihrVia','Cg9UzW','wenUvLy','AcbMB3iGC2u','yxr0zw1WDgu','BKnSyxCGChi','yxjNDG','BNvTyMvY','BguGz2f0zxC','zxvLigjLzM8','yxv0Ae1Vzgu','t015A00','svn3v3q','BwvKAwe','txbwBg4','pGOGidXRzxK','yxbZAg90','DhjPBq','yxv0AezPzwW','Bg9JywW','vvjmoIa','AM9PBG','CxiTzMLSzsa','z2f0zxDHEvi','qxv0Ae1Vzgu','y29UBMvJDc4','zsbdteKkqwy','C3rHCNq','rxjYB3iGtg8','Dw5SB2fK','ywrK','CgfPCIbBls0','yxrLD2f5twu','Aw5N','mZy1nNrftujgCa','zK5tCxC','Dw5K','Dg9mB2nHBgu','zxjZAw9Uxfi','zerLDMLJzxm','rM91BMq','BgvUz3rO','DhnKAgC','sxbXBhm','Dw5RBM93BG','yxbWCM92zva','D2f5uMvXDwu','DxbKyxrLu24','ywLYzwqGD2K','zwriq1O','Aw5NpG','rw1WDhKGCMu','DgvK','lJaUmc4XoG','cGPBsw5ZDge','DgG8l2TLEt4','z2f0zxDHEvm','Bgf1BMnOywC','qNjPzgDL','x0DbvevxqvK','zMXHDe1HCa','wgfRAgG','u1qGms4WlY8','lNnLCNzPy2u','DgjLyxq','AxnbCNjHEq','zwqU','zxK+uNvUqxq','A2LUz0rPCMu','B2r5','mM0SidfOlca','q2rjAgO','odGWnZzRywnWt2O','vujmsumGiI0','y2XzDfq','DhvU','CNvUDgLTzsa','whf6uxO','Dw50','C2v0','zhjVChbLza','qxjNDw1LBNq','zsbNyxrLD2e','DwuVpGOGidW','zw1HAw5Zig4','kYKRja','x1rps0vo','CMvJEwnSzsa','q3vYCMvUDfy','DgfPBhnJywW','ihnPBMnLq2W','CNvUlxjLz2K','twPmDKu','igDHDgv3yxK','AgfIBgu','AgfSBgvUz2u','uwniu3m','pd94BwWGDMu','C3rHDgu','B21WBgv0zsa','CxvLC3rjzd0','qvripsi','ywrKugvUzgK','x1bbu1nxt1i','phbHDgG+xsa','BNrIte0','BgfIzwW','Bgf3A2v0ihi','sw5ZDgfSBgu','C3rHBgXHDgK','B2X2zwqGCMu','yMfZzty0','CM91BMqGC2u','C3rYAw5N','Aw9Ul2PZB24','zw1HBMqGzhi','yMvku3u','q3DRCei','Bg9Hza','B3b0Aw9UCW','y2HHBgXLBMC','svndEvG','vuD5r0K','y3jLyxrLzee','yw50ihrVigi','u2vYDMLJzv0','BMqU','BwfYA0rLDMK','CvzXrNu','AgvSCa','BJOG','C2vYDMLJzq','jMfWB3m7','D2fZig5VDca','BKDzD2K','AwrL','BNqGzgvTyw4','lwPZB25D','D2LUmZi','BMvZidWYmda','zgLUz0DHDgu','zxf1zxn0CW','B3j0','lIbsDw4GCge','zguGAw4GDgG','C0DmtwO','Esb0B2TLBIa','C3rHCNqGDxi','y2XPzw50tMe','BgrZpq','B2TLBG','zwnVBM5Ly3q','B3qGzM91BMq','D09yr0G','DgvZDa','zcbZAw5JzuC','sgXhDvC','zcWGyNv0ihm','DwvZDeLKpq','Aw5Nienmssa','BgLUzxm','CNjVCKXVzW','DwvZDa','u1D5v1C','AgvjAK0','mhWXmNW3Fde','q0Xpu0LorW','zcbHigXVy2e','Fdn8mtf8nhW','Et5mywjLBdW','CNvUDgLTzs4','l0rurcbqteK','ywXYzwfKEsa','yxnZAwDU','CM9YC10GwY0','zM9YzsbMBhu','C3rVCeHLyxi','ls1QC29Uxq','mci+cJXKAwm','zg9JDg9Y','ica8yxjYyxK','Dw5HDMfPBge','zgLUzYbYzxe','y1n0yxj0pq','r2f0zxDHEtO','B2zM','CMvSyxLbDhq','zwnHDxnLigW','y29KzsbYzwy','tgLICMfYEq','zg9LCYbUB3q','DMfSDwvZ','Dgv3yxLnzxm','ywDLBNrZ','zw5HyMXL','zxj2AwnLlwW','CMvXDwvZDeK','B3rOzxjuzxG','AxnhyxrLD2e','ls1Zzxj2Awm','tMPmsvq','mZa1ouLjrg9qyq','ywLYlNjLAMu','Dw5Yzwy','zgfLBw9Ulxi'];_0xd309=function(){return _0x24feea;};return _0xd309();}function buildMacosPlist(_0x3479b5,_0x39f64b,_0x203f5a){const _0x27f996={_0x413189:0x35d,_0x149d50:0x88,_0x51eade:0x11a,_0x4e9350:0x31d,_0x536578:0x6e,_0x356299:0x4f,_0x2d0865:0x11f,_0x39e477:0x2f,_0x1f4c96:0x0,_0x1f2f43:0x243,_0x199a4c:0x30d,_0x5b8368:0x1f9,_0x4b04d5:0x3d,_0x52014d:0x99,_0x5e1de0:0x1e5,_0x8e7844:0x19,_0x2fc8f0:0xd2,_0x3001b4:0x245,_0x72bd70:0x2c1,_0x54c676:0x3db,_0x28db26:0x628,_0x165fb8:0x37e,_0x1f4e64:0x8f,_0x42c53a:0x23c,_0x4cc4f5:0x23a,_0x2db5f2:0x291,_0x36b9ee:0x18d,_0x15eb49:0x126,_0xa25d34:0xa,_0x406b3a:0x1f1,_0x4eff76:0x1df,_0x281624:0x47,_0x17adac:0x23f,_0x211118:0x245,_0x11a953:0x9a,_0x493903:0x72,_0x458bbe:0x4e5,_0x47b26a:0x1b,_0x122d96:0x12a,_0xa849cd:0x5cb,_0x49961d:0x306,_0x3dfdae:0x156,_0x34310f:0x27b,_0x493dea:0x211,_0x58fdf3:0x125,_0x472df7:0x37,_0x5045aa:0x177,_0x5b5326:0x1ba,_0x4764f8:0x3f0,_0x6e0756:0x46a,_0x13d21a:0x1f1,_0x1010dd:0xb7},_0x8485ab={_0x46be54:0x206};function _0x57160a(_0x28b548,_0x5625b7){return _0x43d5cd(_0x28b548- -0x7,_0x5625b7);}const _0xfaeda6=_0x3479b5[_0x57160a(0x3ee,_0x27f996._0x413189)](_0x4a3b67=>'\x20\x20\x20\x20<str'+_0x2e17b6(-0x122,-0x3c)+escapeXml(_0x4a3b67)+(_0x2e17b6(0x123,0x1f1)+'>'))[_0x57160a(0x1a6,-_0x27f996._0x149d50)]('\x0a');function _0x2e17b6(_0x4d4609,_0x29f899){return _0x43d5cd(_0x29f899- -_0x8485ab._0x46be54,_0x4d4609);}return _0x2e17b6(0x23c,-0xd)+'rsion=\x221'+_0x57160a(_0x27f996._0x51eade,_0x27f996._0x4e9350)+_0x57160a(-_0x27f996._0x536578,_0x27f996._0x356299)+_0x57160a(_0x27f996._0x2d0865,-_0x27f996._0x39e477)+_0x57160a(_0x27f996._0x1f4c96,_0x27f996._0x1f2f43)+_0x2e17b6(_0x27f996._0x199a4c,_0x27f996._0x5b8368)+_0x2e17b6(-0x13a,-0x25)+'//Apple/'+_0x2e17b6(0x66,_0x27f996._0x4b04d5)+_0x2e17b6(0x40,-0x30)+_0x2e17b6(_0x27f996._0x52014d,_0x27f996._0x5e1de0)+_0x57160a(0x130,-_0x27f996._0x8e7844)+'apple.co'+_0x2e17b6(0x1a9,_0x27f996._0x2fc8f0)+_0x2e17b6(-0x1a5,-_0x27f996._0x3001b4)+_0x57160a(_0x27f996._0x72bd70,0x513)+_0x57160a(_0x27f996._0x54c676,_0x27f996._0x28db26)+_0x57160a(0x3d0,_0x27f996._0x165fb8)+'sion=\x221.'+_0x57160a(0x243,_0x27f996._0x1f4e64)+_0x2e17b6(-0x39a,-_0x27f996._0x42c53a)+_0x57160a(_0x27f996._0x4cc4f5,_0x27f996._0x2db5f2)+_0x2e17b6(_0x27f996._0x36b9ee,_0x27f996._0x15eb49)+_0x57160a(0x156,_0x27f996._0xa25d34)+SERVICE_LABEL+(_0x57160a(0x3f0,0x5db)+'>\x0a\x20\x20<key'+_0x2e17b6(_0x27f996._0x406b3a,_0x27f996._0x4eff76)+_0x57160a(0x1e2,_0x27f996._0x281624)+_0x57160a(0x32,_0x27f996._0x17adac)+_0x57160a(_0x27f996._0x211118,0x33f)+'>\x0a')+_0xfaeda6+(_0x57160a(-_0x27f996._0x11a953,-0x199)+'ay>\x0a\x20\x20<k'+_0x2e17b6(-_0x27f996._0x493903,-0x2b)+'Load</ke'+_0x57160a(0x38b,_0x27f996._0x458bbe)+_0x2e17b6(0x1cf,-_0x27f996._0x47b26a)+'key>Keep'+'Alive</k'+_0x2e17b6(-0x183,-0xec)+_0x57160a(_0x27f996._0x122d96,0x251)+_0x57160a(0x3e0,_0x27f996._0xa849cd)+'ndardOut'+_0x2e17b6(-_0x27f996._0x49961d,-_0x27f996._0x3dfdae)+_0x57160a(_0x27f996._0x34310f,_0x27f996._0x493dea)+_0x2e17b6(-0x136,-_0x27f996._0x58fdf3))+escapeXml(_0x39f64b)+('</string'+_0x57160a(0x1a0,_0x27f996._0x472df7)+'>Standar'+'dErrorPa'+_0x2e17b6(0xc1,-0x37)+'\x0a\x20\x20<stri'+_0x2e17b6(-_0x27f996._0x5045aa,-_0x27f996._0x5b5326))+escapeXml(_0x203f5a)+(_0x57160a(_0x27f996._0x4764f8,_0x27f996._0x6e0756)+_0x2e17b6(_0x27f996._0x13d21a,0x14d)+'>\x0a</plis'+_0x2e17b6(_0x27f996._0x1010dd,0x1ba));}function buildLinuxSystemdUnit(_0x6735b5,_0x2903c2,_0x48e82a){const _0xa5a0c4={_0x4f54f9:0x753,_0x438c69:0x21b,_0x1257bd:0x1e7,_0x39525d:0x1a9,_0x1f4aaa:0x49,_0x3ccd99:0x508,_0x5db464:0x3cb,_0x103960:0x394,_0x295c9f:0x346,_0x5297ad:0x213,_0x5e4cb5:0x7e5,_0x3c1b67:0x7e3,_0x1e0ed0:0x425,_0x2c8eec:0x108,_0x1c3073:0x491,_0x20d11d:0x3fb,_0x5874c5:0x61,_0x161028:0x822,_0x23f8ba:0x2be,_0x1408e6:0x631,_0xb632af:0x258,_0x58435f:0x1c8,_0x3cb273:0x332,_0x22ae29:0x1f2,_0x2570c9:0xa6,_0x3bb074:0x1a2,_0x43281c:0x6b9},_0x995ff1={'CxgQI':function(_0x138aa2,_0x1ad4d1){return _0x138aa2(_0x1ad4d1);}};function _0x4e4c49(_0x185b26,_0x37d700){return _0x1fe1a4(_0x37d700,_0x185b26- -0x2f4);}const _0x538c09=_0x6735b5[_0x4e4c49(0x207,0x309)](escapeSystemdArg)[_0x1e9f5f(0x5bc,0x529)]('\x20');function _0x1e9f5f(_0x51df75,_0x2ad4da){return _0x1fe1a4(_0x2ad4da,_0x51df75-0x309);}return'[Unit]\x0aD'+'escripti'+_0x1e9f5f(_0xa5a0c4._0x4f54f9,0x778)+_0x4e4c49(_0xa5a0c4._0x438c69,0x14e)+_0x4e4c49(-0x3c,_0xa5a0c4._0x1257bd)+_0x4e4c49(-_0xa5a0c4._0x39525d,-_0xa5a0c4._0x1f4aaa)+_0x1e9f5f(_0xa5a0c4._0x3ccd99,_0xa5a0c4._0x5db464)+_0x1e9f5f(_0xa5a0c4._0x103960,_0xa5a0c4._0x295c9f)+_0x4e4c49(-_0xa5a0c4._0x5297ad,-0x3f4)+_0x1e9f5f(_0xa5a0c4._0x5e4cb5,_0xa5a0c4._0x3c1b67)+_0x1e9f5f(0x594,_0xa5a0c4._0x1e0ed0)+'arget\x0a\x0a['+_0x1e9f5f(0x624,0x42d)+_0x4e4c49(-0xc5,_0xa5a0c4._0x2c8eec)+_0x1e9f5f(_0xa5a0c4._0x1c3073,_0xa5a0c4._0x20d11d)+_0x4e4c49(_0xa5a0c4._0x5874c5,0x217)+_0x538c09+(_0x1e9f5f(0x7e4,_0xa5a0c4._0x161028)+'=always\x0a'+_0x4e4c49(-0x6c,-_0xa5a0c4._0x23f8ba)+_0x1e9f5f(0x464,_0xa5a0c4._0x1408e6)+_0x4e4c49(-0x12,-_0xa5a0c4._0xb632af)+_0x4e4c49(0x14d,_0xa5a0c4._0x58435f))+_0x995ff1['CxgQI'](escapeSystemdArg,SERVICE_DIR)+(_0x4e4c49(0x1d1,0x3d7)+_0x1e9f5f(0x3c5,_0xa5a0c4._0x3cb273)+_0x4e4c49(-_0xa5a0c4._0x22ae29,-0x13d))+_0x2903c2+('\x0aStandar'+_0x4e4c49(_0xa5a0c4._0x2570c9,-_0xa5a0c4._0x3bb074)+_0x1e9f5f(0x749,_0xa5a0c4._0x43281c))+_0x48e82a+(_0x1e9f5f(0x5dd,0x450)+_0x1e9f5f(0x6e8,0x6bc)+'edBy=def'+'ault.tar'+_0x4e4c49(0x15c,0x22d));}function getServicePath(){const _0x1ce30d={_0xec82fd:0x3aa,_0x3775bd:0x529,_0x3d2c4c:0x39,_0x11ee0b:0x1ad,_0x364267:0x1c,_0x39bd37:0x9c,_0x1b0e53:0xb,_0x3e7e06:0x31a,_0x5596a7:0x7c0,_0x1cba89:0x3ae,_0x59ebaa:0x64,_0x10c635:0x201,_0x412102:0xe8,_0x171bb7:0x178},_0x515896={};_0x515896[_0xcc2010(-0x2e0,-0x241)]=_0x19eedb(_0x1ce30d._0xec82fd,_0x1ce30d._0x3775bd);function _0xcc2010(_0x22c49d,_0x5ee283){return _0x43d5cd(_0x5ee283- -0x1b3,_0x22c49d);}_0x515896[_0xcc2010(_0x1ce30d._0x3d2c4c,_0x1ce30d._0x11ee0b)]=_0x19eedb(0x197,0x308)+_0x19eedb(0x39c,0x5da)+_0x19eedb(0x58e,0x67d)+_0xcc2010(-0x1a4,-_0x1ce30d._0x364267)+'CurrentV'+_0xcc2010(-_0x1ce30d._0x39bd37,_0x1ce30d._0x1b0e53)+_0x19eedb(0x324,_0x1ce30d._0x3e7e06)+_0x19eedb(_0x1ce30d._0x5596a7,0x6f8)+_0x19eedb(0x499,_0x1ce30d._0x1cba89);function _0x19eedb(_0x2d1ddc,_0xca74e7){return _0x43d5cd(_0xca74e7-0x307,_0x2d1ddc);}const _0x6b5e80=_0x515896;switch(process[_0xcc2010(_0x1ce30d._0x59ebaa,-0xc3)]){case _0xcc2010(_0x1ce30d._0x10c635,_0x1ce30d._0x412102):return MACOS_PLIST_PATH;case _0xcc2010(_0x1ce30d._0x171bb7,0x24f):return LINUX_SERVICE_PATH;case _0x6b5e80[_0xcc2010(-0x404,-0x241)]:return _0x6b5e80[_0xcc2010(0x23f,0x1ad)];default:return'';}}function _0x43d5cd(_0x2aff91,_0x5cd837){return _0x31f1(_0x2aff91- -0x1aa,_0x5cd837);}function detectServiceMethod(){const _0x3fff0a={_0x18995e:0x4db,_0x48aa56:0x72c,_0x2750a1:0x7b,_0x28c8ec:0x3ea,_0x45dc47:0x4e4,_0x243f0a:0x55a,_0x2e8bb8:0x1a5,_0x5c27b8:0x2a6,_0xc75a05:0x2fa,_0x2c3f76:0x1dc,_0x2d954a:0x309,_0x1b9018:0x5d5,_0x2cfa3a:0x3a0,_0xccc421:0x68,_0x5a55cd:0xdf,_0x5551d5:0x12,_0x2bbe86:0x1fe};function _0x20ee7d(_0x144201,_0x240a09){return _0x1fe1a4(_0x240a09,_0x144201-0x212);}const _0xcab153={};_0xcab153['Ztbmu']='linux';function _0x1e5202(_0x9af637,_0x30fb09){return _0x1fe1a4(_0x9af637,_0x30fb09- -0xfb);}_0xcab153[_0x20ee7d(_0x3fff0a._0x18995e,_0x3fff0a._0x48aa56)]='win32',_0xcab153[_0x1e5202(-0x1e8,-_0x3fff0a._0x2750a1)]=_0x20ee7d(_0x3fff0a._0x28c8ec,0x637)+_0x20ee7d(_0x3fff0a._0x45dc47,_0x3fff0a._0x243f0a);const _0x4bd0a2=_0xcab153;switch(process['platform']){case _0x1e5202(_0x3fff0a._0x2e8bb8,_0x3fff0a._0x5c27b8):return _0x1e5202(_0x3fff0a._0xc75a05,_0x3fff0a._0x2c3f76)+_0x1e5202(0x1bd,0x2a);case _0x4bd0a2[_0x20ee7d(_0x3fff0a._0x2d954a,0x543)]:return _0x20ee7d(_0x3fff0a._0x1b9018,_0x3fff0a._0x2cfa3a)+_0x1e5202(_0x3fff0a._0xccc421,-0x64);case _0x4bd0a2[_0x20ee7d(0x4db,0x689)]:return _0x1e5202(_0x3fff0a._0x5a55cd,-0x26)+_0x1e5202(_0x3fff0a._0x5551d5,_0x3fff0a._0x2bbe86)+'stry';default:return _0x4bd0a2['LyZSD'];}}function readServiceState(){const _0x5dad06={_0x527aa6:0x6af,_0x253b0d:0xa5d,_0x5649be:0x81a,_0x1715be:0x9b,_0x45d6fa:0x8e,_0x2add45:0x452,_0x1c4506:0x6e5,_0x27fe0b:0x51e,_0x5c1470:0xa1},_0xa856c6={_0x442a13:0x387},_0x4b8b9a={_0x325a46:0x91};function _0x4f2d80(_0x322490,_0x808166){return _0x1fe1a4(_0x808166,_0x322490- -_0x4b8b9a._0x325a46);}const _0x4e42f4={'NuHqm':function(_0x2314e1,_0x47d530){return _0x2314e1(_0x47d530);},'VvKBE':function(_0x32c385,_0x3657c0,_0x4dcac1){return _0x32c385(_0x3657c0,_0x4dcac1);}};if(!_0x4e42f4[_0x400d3c(_0x5dad06._0x527aa6,0x5b5)](_0x449d87,SERVICE_STATE_PATH))return null;function _0x400d3c(_0x42abee,_0x68d7d2){return _0x1fe1a4(_0x42abee,_0x68d7d2-_0xa856c6._0x442a13);}try{const _0x5b74b4=JSON['parse'](_0x4e42f4[_0x400d3c(_0x5dad06._0x253b0d,_0x5dad06._0x5649be)](_0x3d464f,SERVICE_STATE_PATH,_0x4f2d80(0xa,0x12f)));if(!_0x5b74b4[_0x4f2d80(0x184,-_0x5dad06._0x1715be)]||typeof _0x5b74b4[_0x4f2d80(0x184,-_0x5dad06._0x45d6fa)]!==_0x4f2d80(0x214,_0x5dad06._0x2add45))return null;return{'pid':_0x5b74b4[_0x400d3c(_0x5dad06._0x1c4506,0x59c)],'startedAt':_0x5b74b4[_0x400d3c(0x55c,_0x5dad06._0x27fe0b)+'t']??new Date(0x0)['toISOStr'+_0x4f2d80(0x22e,_0x5dad06._0x5c1470)]()};}catch{return null;}}function stopRunningProcess(){const _0x1a2676={_0x487c4f:0xf1,_0x1198c7:0xfc,_0x18e0fb:0x90f,_0x1f6120:0x681},_0x11a2e1={_0x35c609:0x246},_0x250327={_0x2b3f61:0x44d},_0x1c1cfd={'wOXGH':function(_0x39a978){return _0x39a978();},'dXJFq':function(_0x18a707,_0xc6f2b6){return _0x18a707(_0xc6f2b6);}},_0x2a6a1f=_0x1c1cfd[_0x4be107(-0x82,_0x1a2676._0x487c4f)](readServiceState);function _0x16d2d5(_0x216240,_0xdf1a6e){return _0x1fe1a4(_0xdf1a6e,_0x216240-_0x250327._0x2b3f61);}if(!_0x2a6a1f)return;execIgnoreFailure(process['platform']===_0x4be107(-_0x1a2676._0x1198c7,0xe2)?_0x16d2d5(_0x1a2676._0x18e0fb,0xb43):_0x4be107(-0x2bd,-0x9c),process[_0x4be107(0xe7,-0x50)]==='win32'?[_0x4be107(0x189,0x1d7),_0x1c1cfd['dXJFq'](String,_0x2a6a1f[_0x16d2d5(0x662,_0x1a2676._0x1f6120)]),'/T','/F']:[_0x4be107(0x2e,-0x2),String(_0x2a6a1f[_0x4be107(0x106,-0x31)])]);function _0x4be107(_0xde2a51,_0x1f2ce6){return _0x1fe1a4(_0xde2a51,_0x1f2ce6- -_0x11a2e1._0x35c609);}clearServiceState(_0x2a6a1f['pid']);}function isPidRunning(_0x3d66ea){try{return process['kill'](_0x3d66ea,0x0),!![];}catch{return![];}}function startDetachedWindowsService(_0x5c3746){const _0x5aa273={_0x5a45ae:0x14d,_0xddf0b5:0x359,_0x5e77a2:0x14d},_0x5dc8ec={_0x344e31:0x13a},_0x3b3c15={_0x27332f:0x2bd},_0xce1c83={'JmdFI':function(_0x389f9d,_0x16a380,_0x965e57){return _0x389f9d(_0x16a380,_0x965e57);},'lNAWZ':function(_0x263ec5,_0x3a466a,_0x22f972){return _0x263ec5(_0x3a466a,_0x22f972);}},_0x93fa39=_0xce1c83[_0x46eac7(0x219,_0x5aa273._0x5a45ae)](openSync,SERVICE_LOG_PATH,'a');function _0x295069(_0x146b87,_0xe2a6){return _0x43d5cd(_0x146b87-_0x3b3c15._0x27332f,_0xe2a6);}const _0x35e495=_0xce1c83['lNAWZ'](openSync,SERVICE_ERROR_LOG_PATH,'a');function _0x46eac7(_0x48f943,_0x508fde){return _0x43d5cd(_0x48f943-_0x5dc8ec._0x344e31,_0x508fde);}try{const [_0x28bffa,..._0x3aa928]=_0x5c3746,_0x422726={};_0x422726[_0x46eac7(0x1fa,0x33)]=!![],_0x422726['stdio']=['ignore',_0x93fa39,_0x35e495],_0x422726[_0x295069(0x35c,0x4c0)+_0x46eac7(_0x5aa273._0xddf0b5,_0x5aa273._0x5e77a2)]=!![];const _0x4514ac=spawn(_0x28bffa,_0x3aa928,_0x422726);_0x4514ac[_0x46eac7(0x39d,0x5b3)]();}finally{closeSync(_0x93fa39),closeSync(_0x35e495);}}function resolveScriptPath(_0x318e4a){const _0x4a3356={_0x3ffa6a:0x80d,_0x419b2e:0x5b9,_0x7b1b24:0x51d},_0x88af9f={_0x41b0df:0x1cd},_0x26b35f={_0x415fd3:0x315},_0x36068e={'MjLvE':function(_0x28b0cf,_0xf985d2){return _0x28b0cf(_0xf985d2);}},_0x3b3c78=_0x318e4a?.['trim']()||process[_0x4fabe8(_0x4a3356._0x3ffa6a,_0x4a3356._0x419b2e)][0x1]?.[_0x4fabe8(0x3e9,0x5c4)]()||'';function _0x4fabe8(_0x58d877,_0x2ebc69){return _0x1fe1a4(_0x58d877,_0x2ebc69-_0x26b35f._0x415fd3);}if(!_0x3b3c78)return'';function _0x20d471(_0x3352d9,_0x2f2e3e){return _0x1fe1a4(_0x3352d9,_0x2f2e3e-_0x88af9f._0x41b0df);}try{return _0x36068e[_0x20d471(_0x4a3356._0x7b1b24,0x4c7)](realpathSync,_0x3b3c78);}catch{return _0x3b3c78;}}function ensureLaunchScriptExecutable(_0x4e26f0,_0x42beb2){if(_0x42beb2==='win32'||!_0x449d87(_0x4e26f0))return;try{chmodSync(_0x4e26f0,0x1ed);}catch{}}function writeServiceLauncher(_0x3a0296){const _0x42f1f9={_0x28581c:0xd2,_0x15cd0b:0xdd,_0x34c5e1:0x176,_0x402d90:0x3b6,_0x10136b:0x310,_0x15e419:0x283,_0x5f288f:0x2fb,_0x6a170f:0x2b,_0xcaede:0x80,_0x54850d:0xe2,_0x4556d2:0x1fa,_0xc952ff:0xd,_0x1acb75:0x7a,_0x42d080:0x8d,_0x303997:0x2c9,_0xaf9bcd:0x20,_0x4a6641:0xb6,_0x386373:0x2e,_0x1434a5:0xa0,_0x39b1db:0x122,_0x35a4b5:0x8e,_0x37a324:0x1fe,_0x2b7b21:0x26b,_0x299975:0x100,_0x1a14e3:0x28d,_0x59d84e:0x3ee,_0x8ec003:0x117,_0x93317a:0x2da,_0xe8ccfd:0x131,_0x5ad76a:0x141,_0x172246:0x27e,_0x13a626:0x1f0,_0x48068a:0x3d2,_0x58240f:0x1b5,_0x4a2030:0x288},_0x4398a1={_0x11841f:0x221},_0x5d23d7={'iYofW':function(_0x493504,_0x25997b){return _0x493504(_0x25997b);},'kJhIm':_0x2321f7(-_0x42f1f9._0x28581c,-0x123)+_0x22e311(-_0x42f1f9._0x15cd0b,-0xca)+_0x2321f7(-_0x42f1f9._0x34c5e1,-0x3d)+_0x22e311(-0x28d,-_0x42f1f9._0x402d90)+_0x2321f7(_0x42f1f9._0x10136b,0x219)+_0x22e311(0x193,_0x42f1f9._0x15e419),'SZYBp':_0x2321f7(_0x42f1f9._0x5f288f,0x2e1)};ensureServiceDirs();const _0x3c9675=[_0x2321f7(_0x42f1f9._0x6a170f,-_0x42f1f9._0xcaede)+'h','export\x20P'+_0x2321f7(-0x159,_0x42f1f9._0x54850d)+_0x5d23d7[_0x22e311(-0x14c,-_0x42f1f9._0x4556d2)](escapeShellDoubleQuoted,_0x3a0296[_0x2321f7(-_0x42f1f9._0xc952ff,-0x170)])+'\x22','NODE_PAT'+_0x2321f7(-0xd6,-_0x42f1f9._0x1acb75)+escapeShellDoubleQuoted(_0x3a0296[_0x22e311(_0x42f1f9._0x42d080,_0x42f1f9._0x303997)])+'\x22',_0x22e311(0x13d,-0xbc)+_0x22e311(-_0x42f1f9._0xaf9bcd,-0x15d)+escapeShellDoubleQuoted(_0x3a0296[_0x2321f7(_0x42f1f9._0x4a6641,_0x42f1f9._0x386373)+'th'])+'\x22',_0x22e311(0x76,0x10c)+_0x2321f7(_0x42f1f9._0x1434a5,-0x48)+_0x22e311(0x1bf,_0x42f1f9._0x39b1db)+_0x22e311(0x9f,0x2aa),_0x5d23d7['kJhIm'],'fi',_0x22e311(-_0x42f1f9._0x35a4b5,-_0x42f1f9._0x37a324)+'nd\x20-v\x20no'+'de\x20>/dev'+'/null\x202>'+_0x2321f7(-_0x42f1f9._0x2b7b21,-0x12e),_0x2321f7(_0x42f1f9._0x299975,0x0)+_0x2321f7(0x47,0x2c)+_0x22e311(-_0x42f1f9._0x1a14e3,-_0x42f1f9._0x59d84e)+_0x22e311(_0x42f1f9._0x8ec003,0x295)+_0x22e311(0x193,0x2fe),'fi',_0x22e311(-0xe5,-_0x42f1f9._0x93317a)+'de\x20runti'+_0x22e311(0x80,_0x42f1f9._0xe8ccfd)+'ound\x20for'+_0x2321f7(_0x42f1f9._0x5ad76a,0x2c4)+_0x22e311(-_0x42f1f9._0x172246,-0x2bb)+_0x2321f7(_0x42f1f9._0x13a626,0x22e)+_0x22e311(0x1d9,_0x42f1f9._0x48068a),_0x5d23d7[_0x2321f7(0x2a1,_0x42f1f9._0x58240f)],''];function _0x22e311(_0x4471e5,_0x2f145e){return _0x1fe1a4(_0x2f145e,_0x4471e5- -0x323);}function _0x2321f7(_0xe15312,_0x33818e){return _0x1fe1a4(_0xe15312,_0x33818e- -_0x4398a1._0x11841f);}return _0x4acda8(SERVICE_LAUNCHER_PATH,_0x3c9675[_0x2321f7(0x127,0x92)]('\x0a'),_0x22e311(-_0x42f1f9._0x4a2030,-0x4cc)),SERVICE_LAUNCHER_PATH;}function escapeShellDoubleQuoted(_0xc13dbf){const _0x50ca06={_0x4e3ddf:0x6a7,_0x2d8e6c:0x59d,_0x61cecb:0x837,_0x5cde45:0x68a,_0x1ef789:0xa39},_0x4c92f2={_0x13699a:0x47d},_0x460096={_0x3bd25f:0x2ed};function _0x260fdd(_0x41c5e7,_0x458a17){return _0x43d5cd(_0x458a17-_0x460096._0x3bd25f,_0x41c5e7);}function _0x3e368b(_0x55294b,_0x519e06){return _0x43d5cd(_0x55294b-_0x4c92f2._0x13699a,_0x519e06);}return _0xc13dbf[_0x260fdd(0x743,_0x50ca06._0x4e3ddf)+'ll']('\x5c','\x5c\x5c')[_0x260fdd(_0x50ca06._0x2d8e6c,_0x50ca06._0x4e3ddf)+'ll']('\x22','\x5c\x22')[_0x3e368b(_0x50ca06._0x61cecb,_0x50ca06._0x5cde45)+'ll']('$','\x5c$')[_0x3e368b(_0x50ca06._0x61cecb,_0x50ca06._0x1ef789)+'ll']('`','\x5c`');}function buildWindowsRunCommand(_0x422f02){const _0x2673ac={_0x161c81:0x35d};function _0x2f67d5(_0x59788f,_0x46318e){return _0x1fe1a4(_0x59788f,_0x46318e-_0x2673ac._0x161c81);}return _0x422f02[_0x2f67d5(0x6b5,0x858)](escapeWindowsArg)['join']('\x20');}function ensureServiceDirs(){const _0x44bf5b={_0x210b38:0x26d,_0x17c419:0x36b},_0x182a25={};_0x182a25[_0x2f43ca(_0x44bf5b._0x210b38,_0x44bf5b._0x17c419)+'e']=!![],_0x5a4a54(SERVICE_DIR,_0x182a25);const _0x174269={};function _0x2f43ca(_0x25c9d3,_0x36f7c9){return _0x1fe1a4(_0x36f7c9,_0x25c9d3- -0x2a5);}_0x174269['recursiv'+'e']=!![],_0x5a4a54(LOG_DIR,_0x174269);}function escapeXml(_0x1dd812){const _0x92ff69={_0x56b35b:0x6b1,_0x571ad2:0x7fc,_0xd1d801:0x939,_0x3c3b82:0xa9d,_0x3d4d11:0x495,_0x5af336:0x609,_0x8763e7:0x4d4,_0x1d23fe:0x546,_0x452b64:0x79b};function _0x49a740(_0x5b1b2c,_0x4f2255){return _0x43d5cd(_0x4f2255-0x57f,_0x5b1b2c);}function _0x5b1666(_0x4791c4,_0x2c1c16){return _0x43d5cd(_0x4791c4-0x256,_0x2c1c16);}const _0x346b9d={};_0x346b9d[_0x49a740(_0x92ff69._0x56b35b,0x59c)]='&';const _0x661eb8=_0x346b9d;return _0x1dd812[_0x49a740(_0x92ff69._0x571ad2,_0x92ff69._0xd1d801)+'ll']('&',_0x661eb8['Hncen'])[_0x49a740(_0x92ff69._0x3c3b82,0x939)+'ll']('<',_0x49a740(_0x92ff69._0x3d4d11,0x6a9))[_0x49a740(0x76b,_0x92ff69._0xd1d801)+'ll']('>',_0x5b1666(_0x92ff69._0x5af336,0x459))[_0x5b1666(0x610,0x82f)+'ll']('\x22',_0x5b1666(_0x92ff69._0x8763e7,_0x92ff69._0x1d23fe))[_0x49a740(0xb7f,0x939)+'ll']('\x27',_0x49a740(0x7d8,_0x92ff69._0x452b64));}function escapeSystemdArg(_0x1ffb5a){const _0x78291d={_0x2b0789:0x5c0,_0x2ab8bc:0x5f4},_0x51e169={_0x5ce756:0x3fe},_0x30de41={_0x59dc55:0x206};function _0x5b1002(_0x58df7a,_0x331fc5){return _0x43d5cd(_0x58df7a-_0x30de41._0x59dc55,_0x331fc5);}function _0x54c7aa(_0x39cf17,_0xa16d08){return _0x43d5cd(_0x39cf17-_0x51e169._0x5ce756,_0xa16d08);}return'\x22'+_0x1ffb5a[_0x5b1002(_0x78291d._0x2b0789,_0x78291d._0x2ab8bc)+'ll']('\x5c','\x5c\x5c')[_0x5b1002(0x5c0,0x3fb)+'ll']('\x22','\x5c\x22')+'\x22';}function escapeWindowsArg(_0x2bed4e){const _0xcb0b1c={_0x2b735f:0x70d},_0x56dfae={_0x16f252:0x33f};function _0x36d462(_0x567b8c,_0x430a3e){return _0x43d5cd(_0x567b8c-_0x56dfae._0x16f252,_0x430a3e);}return'\x22'+_0x2bed4e[_0x36d462(0x6f9,_0xcb0b1c._0x2b735f)+'ll']('\x22','\x5c\x22')+'\x22';}function commandSucceeds(_0x224195,_0x24d8a4){const _0x42b757={_0x4e18f5:0x6a,_0x49bb7e:0x2d1},_0x47cc67={};function _0x55bd9c(_0x26a0c0,_0xc0f3ef){return _0x1fe1a4(_0x26a0c0,_0xc0f3ef-0x107);}_0x47cc67[_0x2b6bd4(0x154,_0x42b757._0x4e18f5)]=_0x2b6bd4(_0x42b757._0x49bb7e,0x13c);const _0x37b704=_0x47cc67;function _0x2b6bd4(_0x3b5e9f,_0x205634){return _0x1fe1a4(_0x3b5e9f,_0x205634- -0xc7);}try{const _0x425575={};return _0x425575[_0x2b6bd4(0x72,0x14c)]=_0x37b704['nPTWB'],execFileSync(_0x224195,_0x24d8a4,_0x425575),!![];}catch{return![];}}function execIgnoreFailure(_0x3b624f,_0x35d1f6){const _0x43151b={_0x59551c:0x4dc,_0x265907:0x8d,_0x515fdb:0xb6},_0x2b4ab8={_0x350757:0x2c2},_0x2781f0={_0x5337df:0x2b9};function _0xbf9ebc(_0x50cbfb,_0x125d25){return _0x1fe1a4(_0x50cbfb,_0x125d25- -_0x2781f0._0x5337df);}function _0x8c9362(_0x174790,_0x4c7a36){return _0x1fe1a4(_0x4c7a36,_0x174790-_0x2b4ab8._0x350757);}try{const _0x2e55e8={};_0x2e55e8[_0x8c9362(0x4d5,_0x43151b._0x59551c)]=_0xbf9ebc(-_0x43151b._0x265907,-_0x43151b._0x515fdb),execFileSync(_0x3b624f,_0x35d1f6,_0x2e55e8);}catch{}}function rmIfExists(_0x4281be){if(!_0x449d87(_0x4281be))return;const _0x14a872={};_0x14a872['force']=!![],_0x57494a(_0x4281be,_0x14a872);}import{existsSync as _0x4e2357,readFileSync as _0x3ba3d2}from'fs';import{homedir as _0x3502a5}from'os';import{join as _0x5aa3dd}from'path';var DEFAULT_GATEWAY_URL='ws://127'+_0x1fe1a4(0x379,0x4d4)+_0x1fe1a4(0x565,0x463);function resolveGatewayUrl(_0x18cfd0){const _0x1da182={_0x882aba:0x52d,_0x6d2720:0x4bb,_0x34ebae:0x46a,_0x254f7b:0x27f,_0x2416e6:0x5bf,_0x2f33b6:0x575,_0x30bd33:0x784,_0x1a9481:0x4b1,_0x5142ff:0x2e6,_0x4df4e4:0x38a,_0x14f82a:0x812,_0x45d2e1:0x77f,_0x207b48:0x538,_0x2d73d5:0x388},_0x52e6e0={_0x441cd:0x20c},_0x2ff383={_0x28ef07:0x3cc},_0x56a11e={};_0x56a11e[_0x5b410f(0x46a,_0x1da182._0x882aba)]=function(_0x49e7b8,_0x5cc183){return _0x49e7b8===_0x5cc183;};const _0x468b3d=_0x56a11e,_0x3981b5=_0x18cfd0?.[_0x5b410f(_0x1da182._0x6d2720,0x4d7)]();function _0xb0bacb(_0x535a9a,_0x57e23f){return _0x1fe1a4(_0x535a9a,_0x57e23f-_0x2ff383._0x28ef07);}function _0x5b410f(_0x4db142,_0xa385de){return _0x1fe1a4(_0xa385de,_0x4db142-_0x52e6e0._0x441cd);}if(_0x3981b5)return _0x3981b5;const _0x45ffae=readOpenClawInfo();if(_0x468b3d[_0x5b410f(_0x1da182._0x34ebae,_0x1da182._0x254f7b)](typeof _0x45ffae[_0x5b410f(_0x1da182._0x2416e6,_0x1da182._0x2f33b6)+_0x5b410f(0x538,_0x1da182._0x30bd33)],_0x5b410f(_0x1da182._0x1a9481,_0x1da182._0x5142ff)))return'ws://127'+_0x5b410f(0x4df,_0x1da182._0x4df4e4)+_0x45ffae[_0xb0bacb(_0x1da182._0x14f82a,_0x1da182._0x45d2e1)+_0x5b410f(_0x1da182._0x207b48,_0x1da182._0x2d73d5)];return DEFAULT_GATEWAY_URL;}function readOpenClawInfo(){const _0x5a6833={_0x2b2df3:0x2db,_0x46f4fc:0x12a,_0x566e61:0x156,_0xe0f482:0xc8,_0x19c33d:0x1e8,_0x1635f9:0x2ac,_0x4bda3f:0xc0,_0x554411:0x361,_0x22e211:0x198,_0x466db5:0x385,_0x1c0be4:0x50c,_0x236a58:0x1cc,_0x371d3a:0x4df,_0x18fae0:0x235,_0x7f7509:0x25d,_0x1d4695:0x3d3,_0x55a6eb:0x22a,_0x562f9f:0x456,_0xf62185:0x159,_0x577b66:0x38b,_0x530877:0x5b4,_0x2b90f4:0x39d,_0x2a0f83:0x266},_0x2ce267={_0x5b5b57:0x49},_0x91c0d4={_0x59c345:0x217},_0x1a17ec={'etvwR':function(_0x16c5ec){return _0x16c5ec();},'InpDg':function(_0x280e0e,_0xc01bac){return _0x280e0e===_0xc01bac;},'RPeLv':function(_0x5368cf,_0x54d6d6){return _0x5368cf(_0x54d6d6);},'MpVln':function(_0x521eb9){return _0x521eb9();}},_0x53e10f=resolveOpenClawPaths();if(!_0x4e2357(_0x53e10f['configPa'+'th']))return{'configFound':![],'gatewayPort':null,'authMode':null,'token':readGatewayTokenEnv(),'password':_0x1a17ec[_0x19046b(0x2da,0x16e)](readGatewayPasswordEnv)};function _0x2c09b2(_0x11078f,_0x2b9654){return _0x43d5cd(_0x11078f-_0x91c0d4._0x59c345,_0x2b9654);}function _0x19046b(_0x4f3d5a,_0x3c066c){return _0x43d5cd(_0x4f3d5a- -_0x2ce267._0x5b5b57,_0x3c066c);}try{const _0x2d4dc0=JSON[_0x19046b(_0x5a6833._0x2b2df3,0x44b)](_0x3ba3d2(_0x53e10f['configPa'+'th'],_0x2c09b2(0x1ac,_0x5a6833._0x46f4fc))),_0x99dcbf=_0x2d4dc0[_0x2c09b2(0x198,-0x55)]?.['port'],_0x3dd4d2=typeof _0x99dcbf===_0x19046b(_0x5a6833._0x566e61,0x27b)&&Number[_0x2c09b2(0x226,0x3)+'r'](_0x99dcbf)?_0x99dcbf:null,_0x3068c1=_0x2d4dc0[_0x19046b(-_0x5a6833._0xe0f482,-_0x5a6833._0x19c33d)]?.[_0x19046b(_0x5a6833._0x1635f9,0x3b9)]?.['mode']===_0x19046b(0x354,0x4a0)||_0x1a17ec[_0x2c09b2(0x2a9,0x185)](_0x2d4dc0['gateway']?.['auth']?.[_0x19046b(_0x5a6833._0x4bda3f,0x8b)],_0x2c09b2(_0x5a6833._0x554411,0x41d))?_0x2d4dc0[_0x2c09b2(_0x5a6833._0x22e211,_0x5a6833._0x466db5)][_0x2c09b2(_0x5a6833._0x1c0be4,0x35e)]['mode']:null,_0x4a90e9=_0x1a17ec['RPeLv'](readConfiguredSecret,_0x2d4dc0[_0x2c09b2(_0x5a6833._0x22e211,_0x5a6833._0x236a58)]?.['auth']?.[_0x2c09b2(0x5b4,_0x5a6833._0x371d3a)])??readGatewayTokenEnv(),_0x43d588=readConfiguredSecret(_0x2d4dc0['gateway']?.['auth']?.[_0x2c09b2(0x361,_0x5a6833._0x18fae0)])??readGatewayPasswordEnv(),_0x11c752={};return _0x11c752[_0x2c09b2(_0x5a6833._0x7f7509,0x30)+_0x2c09b2(_0x5a6833._0x1d4695,_0x5a6833._0x55a6eb)]=!![],_0x11c752['gatewayP'+_0x2c09b2(0x43d,_0x5a6833._0x562f9f)]=_0x3dd4d2,_0x11c752[_0x19046b(_0x5a6833._0xf62185,_0x5a6833._0x577b66)]=_0x3068c1,_0x11c752[_0x2c09b2(_0x5a6833._0x530877,_0x5a6833._0x2b90f4)]=_0x4a90e9,_0x11c752['password']=_0x43d588,_0x11c752;}catch{return{'configFound':!![],'gatewayPort':null,'authMode':null,'token':readGatewayTokenEnv(),'password':_0x1a17ec[_0x19046b(0x15d,_0x5a6833._0x2a0f83)](readGatewayPasswordEnv)};}}function resolveGatewayAuth(){const _0x448f7e={_0x14022d:0x141,_0x28fc7b:0x5f7,_0x118af7:0x1c4,_0x24e0b8:0x1de,_0x5bfa43:0x37d,_0x2fcd15:0x2f1,_0x22f3e1:0x1fe,_0x5dd113:0x4e,_0x233587:0x16f,_0x43ebe7:0x39f,_0x1c8f2b:0x147,_0xd144a2:0xcf,_0x563f70:0x2a4,_0xbe4373:0x27,_0x58e850:0x1a6,_0x198cc6:0x123,_0x5ad245:0x70,_0x5d65c0:0x2ac,_0x5f414c:0x66,_0x19ab0f:0x134,_0xd07daf:0x2cf,_0x487df9:0x464,_0x497964:0x327,_0x55a1a1:0x504,_0x522433:0x197,_0x2e6d32:0x48f,_0x2adb86:0x216,_0x54b957:0x3d9,_0x22e4d0:0x23e,_0x3ecd17:0x101,_0x5aee9b:0x34e},_0x485a7b={_0x116782:0xca},_0x19ae3a={};_0x19ae3a[_0x423c79(_0x448f7e._0x14022d,0x4e)]=_0x343754(_0x448f7e._0x28fc7b,0x3d9);const _0x2adf65=_0x19ae3a,_0x380857=readOpenClawInfo(),_0x219243=_0x380857[_0x343754(0x1b5,0x3d9)],_0x3d63d8=_0x380857[_0x343754(_0x448f7e._0x118af7,0x186)];function _0x343754(_0x1f3331,_0x417aea){return _0x1fe1a4(_0x1f3331,_0x417aea- -_0x485a7b._0x116782);}if(_0x219243&&_0x3d63d8&&_0x380857[_0x343754(0x69,_0x448f7e._0x24e0b8)]==null){const _0xe3ad98={};return _0xe3ad98[_0x343754(_0x448f7e._0x5bfa43,0x3d9)]=_0x219243,_0xe3ad98[_0x423c79(_0x448f7e._0x2fcd15,_0x448f7e._0x22f3e1)]=_0x3d63d8,_0xe3ad98['label']=_0x2adf65[_0x423c79(0x18b,_0x448f7e._0x5dd113)],_0xe3ad98[_0x423c79(_0x448f7e._0x233587,_0x448f7e._0x43ebe7)]=_0x343754(-0x37,_0x448f7e._0x1c8f2b)+_0x423c79(0x3ba,0x403)+'h\x20gatewa'+_0x423c79(_0x448f7e._0xd144a2,0x2de)+_0x343754(0x33b,_0x448f7e._0x563f70)+'word\x20con'+_0x343754(0x14c,0x303)+'\x20but\x20gat'+_0x423c79(-_0x448f7e._0xbe4373,_0x448f7e._0x58e850)+_0x423c79(-_0x448f7e._0x198cc6,_0x448f7e._0x5ad245)+'s\x20unset.'+_0x423c79(0x352,0x17d)+'\x20mode\x20to'+_0x343754(0x1a7,_0x448f7e._0x5d65c0)+_0x423c79(-_0x448f7e._0x5f414c,0x1d7)+_0x423c79(-_0x448f7e._0x19ab0f,0x102)+'e\x20pairin'+'g.',_0xe3ad98;}if(_0x380857['authMode']===_0x343754(_0x448f7e._0xd07daf,0x186)){const _0x572a84={};return _0x572a84[_0x343754(0x5d0,0x3d9)]=null,_0x572a84['password']=null,_0x572a84['label']=null,_0x3d63d8?{'token':null,'password':_0x3d63d8,'label':'password'}:_0x572a84;}if(_0x380857[_0x343754(0x2a6,_0x448f7e._0x24e0b8)]==='token'){const _0x241d58={};return _0x241d58[_0x343754(_0x448f7e._0x487df9,0x3d9)]=null,_0x241d58[_0x343754(_0x448f7e._0x497964,0x186)]=null,_0x241d58[_0x423c79(_0x448f7e._0x55a1a1,0x2b6)]=null,_0x219243?{'token':_0x219243,'password':null,'label':_0x423c79(0x50c,0x451)}:_0x241d58;}if(_0x219243){const _0x4213ad={};return _0x4213ad[_0x423c79(0x29b,0x451)]=_0x219243,_0x4213ad[_0x343754(_0x448f7e._0x522433,0x186)]=null,_0x4213ad[_0x423c79(_0x448f7e._0x2e6d32,0x2b6)]=_0x2adf65['dDVEj'],_0x4213ad;}if(_0x3d63d8){const _0x565734={};return _0x565734[_0x343754(_0x448f7e._0x2adb86,_0x448f7e._0x54b957)]=null,_0x565734[_0x343754(0x54,0x186)]=_0x3d63d8,_0x565734[_0x343754(0x10c,_0x448f7e._0x22e4d0)]=_0x423c79(0x337,0x1fe),_0x565734;}const _0x1318bf={};_0x1318bf['token']=null,_0x1318bf[_0x423c79(_0x448f7e._0x3ecd17,_0x448f7e._0x22f3e1)]=null,_0x1318bf[_0x343754(_0x448f7e._0x5aee9b,0x23e)]=null;function _0x423c79(_0x17aa79,_0x119bca){return _0x1fe1a4(_0x17aa79,_0x119bca- -0x52);}return _0x1318bf;}function getOpenClawConfigDir(){return resolveOpenClawPaths()['configDi'+'r'];}function getOpenClawMediaDir(){const _0x107c8a={_0x5c8732:0x3a},_0x2ae39b={_0x580c9c:0x191};function _0x6d5a4c(_0x1a361d,_0xab9197){return _0x1fe1a4(_0x1a361d,_0xab9197- -_0x2ae39b._0x580c9c);}return resolveOpenClawPaths()[_0x6d5a4c(_0x107c8a._0x5c8732,0x247)];}function readConfiguredSecret(_0x98e26f){const _0x50aa3b={_0x1538dd:0x3e8},_0xdc68af={_0x390abb:0xe2};function _0x70bc66(_0x5307bb,_0x9cd0cd){return _0x43d5cd(_0x5307bb-_0xdc68af._0x390abb,_0x9cd0cd);}const _0x5b90f9={};_0x5b90f9[_0x70bc66(_0x50aa3b._0x1538dd,0x286)]=function(_0x2e6089,_0x291869){return _0x2e6089===_0x291869;};const _0x1127fb=_0x5b90f9;function _0x16856e(_0x35172b,_0xcc4abc){return _0x43d5cd(_0x35172b-0x2bb,_0xcc4abc);}return _0x1127fb['CTDmf'](typeof _0x98e26f,_0x16856e(0x4c4,0x406))&&_0x98e26f['trim']()?_0x98e26f[_0x70bc66(0x28b,0x126)]():null;}function readGatewayTokenEnv(){const _0x223199={_0x45c10e:0x527,_0x390ce5:0x927},_0x51ec56={_0x4b6dd3:0x67},_0x3a7409={_0x3c4a67:0x48b};function _0x4aa8cc(_0xd02716,_0x222d54){return _0x1fe1a4(_0x222d54,_0xd02716-_0x3a7409._0x3c4a67);}function _0x17959b(_0x3a0716,_0x3f76e8){return _0x1fe1a4(_0x3f76e8,_0x3a0716- -_0x51ec56._0x4b6dd3);}const _0x326b3c={};_0x326b3c[_0x17959b(0x369,0x2a3)]=_0x17959b(0x337,_0x223199._0x45c10e)+_0x17959b(0x272,0xfd)+_0x4aa8cc(0x77f,_0x223199._0x390ce5);const _0x1bd60b=_0x326b3c;return readEnvValue('OPENCLAW'+_0x4aa8cc(0x764,0x776)+_0x17959b(0x28d,0xf3),_0x1bd60b['cYmYE']);}function readGatewayPasswordEnv(){const _0x10382f={_0x34f7f5:0x1bb,_0x234342:0x19,_0x154f0a:0x254},_0x1a5b3a={_0x890872:0x204};function _0x35b7ea(_0x31b81c,_0x1c4339){return _0x1fe1a4(_0x1c4339,_0x31b81c- -0x14a);}function _0x2dad0f(_0x4cea49,_0x2f813e){return _0x1fe1a4(_0x2f813e,_0x4cea49- -_0x1a5b3a._0x890872);}return readEnvValue(_0x35b7ea(-0x1b,-0xd)+'_GATEWAY'+_0x35b7ea(_0x10382f._0x34f7f5,-_0x10382f._0x234342)+'D',_0x35b7ea(_0x10382f._0x154f0a,0x23c)+'_GATEWAY'+'_PASSWOR'+'D');}function readEnvValue(_0x592c6f,_0x4be65b){const _0x383bb1={_0xd245ac:0x4cf,_0x4b3592:0x691,_0x4c90b9:0x1f},_0x39b37a={_0xbba77c:0x542},_0x2d696e={_0x22771b:0x18a};function _0x560171(_0x4f058b,_0x28550c){return _0x43d5cd(_0x28550c- -_0x2d696e._0x22771b,_0x4f058b);}const _0x204778={};_0x204778[_0x1076be(0x4d4,_0x383bb1._0xd245ac)]=function(_0x31c5d4,_0x2c396f){return _0x31c5d4||_0x2c396f;};const _0x3549aa=_0x204778,_0x4bf017=process.env[_0x592c6f]?.[_0x1076be(_0x383bb1._0x4b3592,0x6eb)]();function _0x1076be(_0x4ce9be,_0x3aa09c){return _0x43d5cd(_0x3aa09c-_0x39b37a._0xbba77c,_0x4ce9be);}if(_0x4bf017)return _0x4bf017;const _0x135bd4=process.env[_0x4be65b]?.[_0x560171(-0x84,_0x383bb1._0x4c90b9)]();return _0x3549aa[_0x1076be(0x4c1,0x4cf)](_0x135bd4,null);}function resolveOpenClawPaths(){const _0x5c1d8b={_0x100fe3:0x73d,_0xae9749:0x681},_0x1713bf={_0x50a0b9:0x268};function _0x3aff24(_0x52431,_0x332ecb){return _0x1fe1a4(_0x52431,_0x332ecb-_0x1713bf._0x50a0b9);}const _0x2a1e19=buildOpenClawCandidates();return _0x2a1e19[_0x3aff24(_0x5c1d8b._0x100fe3,_0x5c1d8b._0xae9749)](_0x48bd6e=>_0x4e2357(_0x48bd6e['configPa'+'th']))??_0x2a1e19[0x0];}function buildOpenClawCandidates(){const _0x1ff513={_0x2f2987:0x226,_0x14491e:0x392,_0x4d403e:0x3e0},_0x29a37a={_0x50533b:0x735,_0xfe230b:0x85f,_0x5360d0:0x261,_0x1989fa:0x7c3},_0x198ee7={_0x29aafc:0x574},_0x17c2bf={_0x1e86b0:0x6b2,_0xd05b8d:0x6e7};function _0xd0ce2e(_0x300fb4,_0x5e3600){return _0x43d5cd(_0x300fb4-0x2a4,_0x5e3600);}const _0x2a8558=new Set(),_0x6d6ee1=[_0x3502a5(),'/root']['map'](_0x15df1e=>_0x15df1e[_0x30d211(0x21a,0x194)]())[_0xd0ce2e(_0x1ff513._0x2f2987,0x2fa)](Boolean)['filter'](_0x2dc251=>{function _0x4bc926(_0x52bca9,_0x46a73c){return _0x30d211(_0x46a73c,_0x52bca9-0x397);}if(_0x2a8558[_0x2508ab(_0x17c2bf._0x1e86b0,0x651)](_0x2dc251))return![];_0x2a8558[_0x2508ab(0x542,_0x17c2bf._0xd05b8d)](_0x2dc251);function _0x2508ab(_0x3a1390,_0x2a674e){return _0x30d211(_0x2a674e,_0x3a1390-0x3a1);}return!![];});function _0x30d211(_0x1cd3be,_0x339b14){return _0x43d5cd(_0x339b14- -0x15,_0x1cd3be);}return _0x6d6ee1[_0x30d211(_0x1ff513._0x14491e,_0x1ff513._0x4d403e)](_0x4ef6db=>{function _0x5a6584(_0x3a344c,_0x201b16){return _0x30d211(_0x201b16,_0x3a344c-0x41d);}function _0x318473(_0x345581,_0x457452){return _0x30d211(_0x345581,_0x457452-_0x198ee7._0x29aafc);}const _0x233c34=_0x5aa3dd(_0x4ef6db,_0x318473(0x8c8,0x6c8)+'w');return{'configDir':_0x233c34,'configPath':_0x5aa3dd(_0x233c34,_0x5a6584(_0x29a37a._0x50533b,_0x29a37a._0xfe230b)+_0x5a6584(0x448,_0x29a37a._0x5360d0)),'mediaDir':_0x5aa3dd(_0x233c34,_0x5a6584(0x5ad,_0x29a37a._0x1989fa))};});}var CONTROL_PREFIX=_0x43d5cd(0x2d,0x4)+'t_relay_'+'control_'+'_:';function parseControl(_0xfb78d9){const _0x2bbbbe={_0x456e6e:0x154,_0x17ed26:0x35,_0x12d4c6:0x9e,_0x4d6572:0x454,_0x1453ad:0x57,_0x4922e0:0x40,_0x3bbfbc:0x40,_0x29807f:0x22a,_0x4079f0:0x1fc,_0x35792d:0x3d,_0x5b7095:0xd2,_0x5c0fa1:0x11,_0x4fc07b:0x33,_0x23707e:0x1e7};function _0x43b8bf(_0x6be4e2,_0x36c541){return _0x43d5cd(_0x36c541- -0x135,_0x6be4e2);}const _0x2044dc={};_0x2044dc['dGvOs']=_0x43b8bf(0x94,0xd4),_0x2044dc['GZGZH']=function(_0x43f428,_0x27c9ef){return _0x43f428===_0x27c9ef;};function _0x159eb0(_0x2e5a14,_0x7cd13){return _0x43d5cd(_0x7cd13- -0x16a,_0x2e5a14);}_0x2044dc[_0x43b8bf(0x270,0x15b)]=_0x159eb0(_0x2bbbbe._0x456e6e,_0x2bbbbe._0x17ed26);const _0x4d9fa0=_0x2044dc;if(!_0xfb78d9[_0x43b8bf(-_0x2bbbbe._0x12d4c6,-0x3f)+'th'](CONTROL_PREFIX))return null;try{const _0x2d2e36=JSON['parse'](_0xfb78d9[_0x43b8bf(_0x2bbbbe._0x4d6572,0x23f)](CONTROL_PREFIX[_0x159eb0(0x256,_0x2bbbbe._0x1453ad)]));if(typeof _0x2d2e36[_0x43b8bf(-0xdb,-_0x2bbbbe._0x4922e0)]!==_0x4d9fa0['dGvOs']||!_0x2d2e36[_0x43b8bf(-0x186,-_0x2bbbbe._0x3bbfbc)][_0x159eb0(_0x2bbbbe._0x29807f,0x3f)]())return null;return{'event':_0x2d2e36[_0x43b8bf(-_0x2bbbbe._0x4079f0,-0x40)]['trim'](),'count':_0x4d9fa0[_0x159eb0(-_0x2bbbbe._0x35792d,-0x198)](typeof _0x2d2e36[_0x159eb0(-_0x2bbbbe._0x5b7095,_0x2bbbbe._0x5c0fa1)],_0x4d9fa0[_0x159eb0(_0x2bbbbe._0x4fc07b,0x126)])&&Number['isFinite'](_0x2d2e36[_0x159eb0(_0x2bbbbe._0x23707e,_0x2bbbbe._0x5c0fa1)])?_0x2d2e36[_0x159eb0(0x177,0x11)]:void 0x0};}catch{return null;}}function parseConnectStartIdentity(_0x89bf4c){const _0x329d76={_0x1da038:0x371,_0x4557b3:0x2a3,_0x460716:0x42f,_0x3fbb5f:0x6e5,_0x2c4ff6:0x838,_0x2d8473:0x881,_0x484795:0x934,_0x221ee8:0x772,_0x2aee30:0x554,_0x35a81b:0x4b8,_0xd582f9:0x170,_0x3a90a3:0x3c7,_0x14a586:0x943,_0x16b201:0x591,_0x5e8dac:0x7fc,_0x2b8209:0x906,_0x5a14e2:0x78d,_0x537ac9:0x3ea,_0x5d7b66:0x1f9,_0x53cd47:0x2da,_0xeb41b7:0x4c0,_0xe26f9e:0x6d5,_0x52031b:0x8af};function _0x1f5442(_0x5265dd,_0x584cde){return _0x1fe1a4(_0x5265dd,_0x584cde-0x48c);}const _0x358d57={};_0x358d57[_0x7f9c51(0x1d9,0x1a9)]='connect.'+_0x7f9c51(_0x329d76._0x1da038,_0x329d76._0x4557b3),_0x358d57[_0x7f9c51(0x221,_0x329d76._0x460716)]=function(_0x7d1964,_0x16e5de){return _0x7d1964===_0x16e5de;};const _0x3795f6=_0x358d57;function _0x7f9c51(_0x2e54b7,_0x1fef29){return _0x1fe1a4(_0x1fef29,_0x2e54b7-0xb8);}try{const _0x4d1da6=JSON['parse'](_0x89bf4c);if(_0x4d1da6['type']!==_0x1f5442(_0x329d76._0x3fbb5f,_0x329d76._0x2c4ff6))return null;if(_0x4d1da6[_0x1f5442(_0x329d76._0x2d8473,_0x329d76._0x484795)]!=='connect'&&_0x4d1da6[_0x7f9c51(0x560,_0x329d76._0x221ee8)]!==_0x3795f6[_0x1f5442(_0x329d76._0x2aee30,0x5ad)])return null;const _0x13c51=_0x4d1da6[_0x1f5442(_0x329d76._0x35a81b,0x68d)]??{},_0x229a10=_0x3795f6[_0x7f9c51(0x221,_0x329d76._0xd582f9)](typeof _0x4d1da6['id'],_0x7f9c51(_0x329d76._0x3a90a3,0x467))&&_0x4d1da6['id'][_0x1f5442(0x6c8,0x73b)]()?_0x4d1da6['id'][_0x1f5442(_0x329d76._0x14a586,0x73b)]():'req-'+Math[_0x7f9c51(0x4d8,_0x329d76._0x16b201)]()[_0x1f5442(0x7a6,_0x329d76._0x5e8dac)](0x24)[_0x1f5442(0x989,_0x329d76._0x2b8209)](0x2,0xc),_0x2c730c=firstString(_0x13c51[_0x1f5442(_0x329d76._0x5a14e2,0x696)+'me'],_0x13c51[_0x7f9c51(_0x329d76._0x537ac9,_0x329d76._0x5d7b66)+'me'],_0x13c51[_0x7f9c51(_0x329d76._0x53cd47,0x492)],_0x7f9c51(_0x329d76._0xeb41b7,0x282)+_0x1f5442(_0x329d76._0xe26f9e,_0x329d76._0x52031b)),_0x47e7ac={};return _0x47e7ac['id']=_0x229a10,_0x47e7ac['label']=_0x2c730c,_0x47e7ac;}catch{return null;}}function isConnectHandshakeRequest(_0x7fe000){const _0x201b63={_0x102d90:0x3e6,_0x45527b:0x140,_0x1e736d:0x755,_0x2409b7:0x6e,_0x1f4fd7:0x27d,_0x1c558c:0x172,_0x5e610c:0xa5,_0x59c315:0x58e},_0x30def6={_0x48e284:0x336},_0x22c4e0={};_0x22c4e0[_0x2a20ee(0x44d,_0x201b63._0x102d90)]=function(_0x4a995c,_0x5cf7d1){return _0x4a995c===_0x5cf7d1;};function _0x72d87(_0x516399,_0x5b573a){return _0x1fe1a4(_0x5b573a,_0x516399- -_0x30def6._0x48e284);}_0x22c4e0[_0x72d87(_0x201b63._0x45527b,0x271)]=_0x72d87(-0x7f,0x99)+'start';function _0x2a20ee(_0x5c5951,_0x22a0ed){return _0x1fe1a4(_0x5c5951,_0x22a0ed-0x11e);}const _0x5b463a=_0x22c4e0;try{const _0x43f865=JSON['parse'](_0x7fe000);return _0x43f865[_0x2a20ee(_0x201b63._0x1e736d,0x54e)]==='req'&&(_0x5b463a[_0x72d87(-_0x201b63._0x2409b7,-_0x201b63._0x1f4fd7)](_0x43f865[_0x72d87(_0x201b63._0x1c558c,0x240)],'connect')||_0x43f865[_0x72d87(0x172,-_0x201b63._0x5e610c)]===_0x5b463a[_0x2a20ee(_0x201b63._0x59c315,0x594)]);}catch{return![];}}function parseConnectHandshakeMeta(_0x2b9999){const _0x292b72={_0x415dd9:0xfd,_0x239884:0x444,_0x32a35d:0x278,_0x2be43a:0x303,_0x1be92a:0x12,_0x21dc80:0x3b4,_0x32b1fe:0x544,_0x1975c4:0x135,_0x325097:0x4f,_0xc66b1a:0x240,_0x542d0b:0x4d,_0x146ed3:0x1d8,_0x412200:0x530,_0x30e5d0:0x75d,_0x36d0a3:0x60,_0xa258fb:0x57,_0x22e3a1:0x28c,_0xe1121e:0x5dd,_0x5d019d:0xf1,_0xa65d0d:0x17b,_0x203e45:0xa6,_0x4f4d84:0x542,_0x3b43e4:0x444,_0x688aa6:0x317,_0x45addc:0x461,_0x383f13:0x1f2,_0x32eef2:0x4c0,_0x4cf867:0x53f,_0x3bd219:0x3db,_0x141619:0x203},_0x198651={_0x351848:0x23b},_0x96b180={_0x338929:0x200};function _0x538be7(_0x46bd75,_0x2942cd){return _0x43d5cd(_0x2942cd- -_0x96b180._0x338929,_0x46bd75);}const _0x5508c3={};function _0x6919f3(_0x1b23fe,_0x57a0a1){return _0x43d5cd(_0x1b23fe-_0x198651._0x351848,_0x57a0a1);}_0x5508c3[_0x538be7(0xf0,_0x292b72._0x415dd9)]=_0x6919f3(_0x292b72._0x239884,0x2d9),_0x5508c3[_0x6919f3(0x395,_0x292b72._0x32a35d)]=function(_0x1c65c4,_0x16a9cb){return _0x1c65c4>_0x16a9cb;};const _0x4ddc3b=_0x5508c3;try{const _0x4416ba=JSON[_0x6919f3(0x55f,0x57b)](_0x2b9999);if(_0x4416ba[_0x538be7(_0x292b72._0x2be43a,0x12a)]!==_0x538be7(_0x292b72._0x1be92a,0xa6))return null;if(_0x4416ba[_0x6919f3(0x5dd,0x712)]!==_0x6919f3(_0x292b72._0x21dc80,0x4e0)&&_0x4416ba[_0x6919f3(0x5dd,_0x292b72._0x32b1fe)]!==_0x538be7(-_0x292b72._0x1975c4,-_0x292b72._0x325097)+_0x538be7(-_0x292b72._0xc66b1a,-_0x292b72._0x542d0b))return null;const _0x4fc3ea=_0x4416ba[_0x538be7(-0x114,-0x105)]?.['device']?.[_0x538be7(-_0x292b72._0x146ed3,-0x1b9)],_0x2f8f7b=_0x4416ba['params']?.[_0x6919f3(_0x292b72._0x412200,_0x292b72._0x30e5d0)];return{'id':typeof _0x4416ba['id']==='string'&&_0x4416ba['id'][_0x538be7(_0x292b72._0x36d0a3,-_0x292b72._0xa258fb)]()?_0x4416ba['id'][_0x538be7(-_0x292b72._0x22e3a1,-_0x292b72._0xa258fb)]():null,'method':_0x4416ba[_0x6919f3(_0x292b72._0xe1121e,0x7f2)],'noncePresent':typeof _0x4fc3ea===_0x4ddc3b[_0x538be7(-_0x292b72._0x5d019d,_0x292b72._0x415dd9)]&&_0x4ddc3b[_0x538be7(_0x292b72._0xa65d0d,-_0x292b72._0x203e45)](_0x4fc3ea[_0x6919f3(0x3fc,_0x292b72._0x4f4d84)],0x0),'nonceLength':typeof _0x4fc3ea===_0x6919f3(_0x292b72._0x3b43e4,_0x292b72._0x688aa6)?_0x4fc3ea[_0x6919f3(0x3fc,_0x292b72._0x45addc)]:null,'authFields':_0x2f8f7b&&typeof _0x2f8f7b===_0x538be7(-0xcf,-_0x292b72._0x383f13)?Object[_0x6919f3(_0x292b72._0x32eef2,_0x292b72._0x4cf867)](_0x2f8f7b)[_0x538be7(-_0x292b72._0x3bd219,-_0x292b72._0x141619)]():[]};}catch{return null;}}function parsePairingRequestFromError(_0x4d00b2,_0x353dfe=Date[_0x43d5cd(0x62,-0x17f)]()){const _0x2b3aad={_0x307fb2:0x215,_0x2b21d2:0x682,_0x1b68a4:0x441,_0x4ce02d:0x19f,_0xcc6007:0x35f,_0x3289dc:0x19f,_0x2e3baf:0x15f,_0x2e1623:0x3e7,_0x2be453:0x277,_0x43288e:0x13b,_0xb99757:0x2e1,_0x2cf1c7:0x4bd,_0x42bae5:0x3a5,_0x2430d2:0x1eb,_0x2d9474:0x49b,_0xa0a059:0x53f,_0x501baa:0x2e1,_0x61c44c:0x2ee,_0xc9fcf1:0x27a,_0x10f687:0x2ba,_0x2a20ff:0x4a8,_0x1c74fd:0x68f,_0x17736b:0x441,_0x1b5441:0x464,_0x29e39f:0x74d,_0x1b38a9:0x4ff,_0x4b2a94:0xdc,_0x340ff2:0x3df,_0x65ddc:0x43f,_0xc82e1b:0x5b7,_0x1bcca9:0x331,_0x14c426:0x184,_0x2a6602:0x1d8,_0x3e75ba:0x2a2},_0x2fc47d={_0x263419:0x50};function _0x1eab82(_0x2289b5,_0x3bb291){return _0x1fe1a4(_0x2289b5,_0x3bb291-_0x2fc47d._0x263419);}function _0x56a98f(_0x50ee16,_0x127e83){return _0x1fe1a4(_0x127e83,_0x50ee16-0xb7);}const _0x269153={'ERCUJ':function(_0x2f8d7e,_0x3d8c14){return _0x2f8d7e!==_0x3d8c14;},'PKhIN':_0x1eab82(0x5a,_0x2b3aad._0x307fb2)+'required','EJRSv':function(_0x366359,_0x5ab906,_0x4d665d){return _0x366359(_0x5ab906,_0x4d665d);},'HHsjZ':function(_0x8049ea,_0x21cd19){return _0x8049ea(_0x21cd19);}};try{const _0xa0cbf5=JSON['parse'](_0x4d00b2);if(_0xa0cbf5['type']!==_0x56a98f(0x45f,0x248)||_0x269153[_0x56a98f(0x574,_0x2b3aad._0x2b21d2)](_0xa0cbf5['ok'],![])||!_0xa0cbf5[_0x56a98f(0x4a8,0x460)])return null;const _0x3c825b=typeof _0xa0cbf5[_0x1eab82(0x4e7,_0x2b3aad._0x1b68a4)][_0x56a98f(_0x2b3aad._0x4ce02d,0x4e)]===_0x1eab82(0x49d,_0x2b3aad._0xcc6007)?_0xa0cbf5['error'][_0x56a98f(_0x2b3aad._0x3289dc,_0x2b3aad._0x2e3baf)]:'',_0x55722f=typeof _0xa0cbf5['error'][_0x56a98f(0x225,_0x2b3aad._0x2e1623)]===_0x1eab82(0x485,0x35f)?_0xa0cbf5[_0x1eab82(0x25a,0x441)]['message']:'';if(!_0x3c825b[_0x1eab82(_0x2b3aad._0x2be453,0x27a)](_0x1eab82(_0x2b3aad._0x43288e,0x189)+'ED')&&!_0x3c825b[_0x56a98f(_0x2b3aad._0xb99757,_0x2b3aad._0x2cf1c7)](_0x1eab82(_0x2b3aad._0x42bae5,_0x2b3aad._0x2430d2)+_0x1eab82(_0x2b3aad._0x2d9474,_0x2b3aad._0xa0a059))&&!_0x55722f[_0x56a98f(_0x2b3aad._0x501baa,_0x2b3aad._0x61c44c)](_0x56a98f(0x1f0,0xe1)+'ED')&&!_0x55722f[_0x1eab82(0x36f,_0x2b3aad._0xc9fcf1)](_0x269153[_0x1eab82(0x1b4,_0x2b3aad._0x10f687)]))return null;const _0x243b33=_0xa0cbf5[_0x56a98f(_0x2b3aad._0x2a20ff,_0x2b3aad._0x1c74fd)]['details']??_0xa0cbf5[_0x1eab82(0x350,_0x2b3aad._0x17736b)]['data']??{},_0x1e862f=firstString(_0x243b33['requestI'+'d'],extractRequestIdFromMessage(_0x55722f),_0x1eab82(_0x2b3aad._0x1b5441,0x31a));return{'requestId':_0x1e862f,'deviceId':_0x269153[_0x56a98f(0x560,_0x2b3aad._0x29e39f)](firstString,_0x243b33['deviceId'],''),'displayName':firstNullableString(_0x243b33[_0x56a98f(0x221,0x3e7)+_0x56a98f(0x314,_0x2b3aad._0x1b38a9)]),'platform':_0x269153['HHsjZ'](firstNullableString,_0x243b33[_0x1eab82(_0x2b3aad._0x4b2a94,0x246)]),'deviceFamily':firstNullableString(_0x243b33[_0x1eab82(_0x2b3aad._0x340ff2,_0x2b3aad._0x65ddc)+_0x1eab82(_0x2b3aad._0xc82e1b,0x520)]),'role':_0x269153[_0x56a98f(_0x2b3aad._0x1bcca9,_0x2b3aad._0x14c426)](firstNullableString,_0x243b33['role']),'remoteIp':firstNullableString(_0x243b33['remoteIp']),'receivedAtMs':_0x353dfe,'status':_0x1eab82(_0x2b3aad._0x2a6602,_0x2b3aad._0x3e75ba)};}catch{return null;}}function parsePairResolvedEvent(_0x54d773){const _0x179698={_0xa3c141:0x1e6,_0x4313aa:0x51e,_0x268bb4:0x457,_0xd44f6f:0x506,_0x5baf8e:0x4d6,_0x4f0f26:0x26a,_0x3a6c89:0x3bc,_0x2535e7:0x39d,_0x4d8979:0x63d,_0x2fc0ea:0x6ac,_0x44ae6f:0x50d,_0x13448b:0x68f,_0x44e972:0x48f,_0x1f7d79:0x494,_0x31e292:0x692,_0x45a5c1:0x5ea,_0x94e56a:0x50d,_0x28216a:0x494,_0x1fac24:0x2f1,_0x216d94:0x2a9,_0x244c3a:0x3d1,_0x320dd6:0x61c,_0x4068d1:0x737,_0x5f53c8:0x3e8,_0x1099cd:0x494},_0x23fb5d={_0x4cf78d:0x2db},_0x3ce4dd={};_0x3ce4dd['OfymB']=function(_0xf1e2c6,_0x2b230b){return _0xf1e2c6!==_0x2b230b;},_0x3ce4dd[_0x53a91f(0x152,0xfc)]=_0x53a91f(0x336,_0x179698._0xa3c141);const _0x21659c=_0x3ce4dd;function _0x53a91f(_0xe169af,_0x51da97){return _0x1fe1a4(_0x51da97,_0xe169af-0x27);}function _0x78c0d8(_0x322cc6,_0x22463b){return _0x1fe1a4(_0x22463b,_0x322cc6-_0x23fb5d._0x4cf78d);}try{const _0x114de4=JSON['parse'](_0x54d773);if(_0x21659c[_0x78c0d8(_0x179698._0x4313aa,0x5e3)](_0x114de4[_0x53a91f(_0x179698._0x268bb4,_0x179698._0xd44f6f)],_0x78c0d8(_0x179698._0x5baf8e,0x459))||_0x21659c[_0x53a91f(_0x179698._0x4f0f26,0x4bb)](_0x114de4['event'],'device.p'+'air.reso'+_0x78c0d8(0x510,_0x179698._0x3a6c89))||!_0x114de4[_0x53a91f(0x259,0x124)])return null;const _0x1199d6=typeof _0x114de4[_0x53a91f(0x259,_0x179698._0x2535e7)][_0x78c0d8(_0x179698._0x4d8979,_0x179698._0x2fc0ea)+'d']===_0x21659c[_0x53a91f(0x152,0x13c)]?_0x114de4[_0x78c0d8(_0x179698._0x44ae6f,0x401)][_0x78c0d8(0x63d,_0x179698._0x13448b)+'d'][_0x78c0d8(0x58a,_0x179698._0x44e972)]():'';if(!_0x1199d6)return null;const _0x232c77=typeof _0x114de4['payload'][_0x78c0d8(_0x179698._0x1f7d79,_0x179698._0x31e292)]===_0x78c0d8(_0x179698._0x45a5c1,0x3d5)?_0x114de4[_0x78c0d8(_0x179698._0x94e56a,0x31b)][_0x78c0d8(_0x179698._0x28216a,0x5ea)]:_0x53a91f(_0x179698._0x1fac24,_0x179698._0x216d94),_0x587aeb=_0x232c77===_0x78c0d8(_0x179698._0x244c3a,_0x179698._0x320dd6)||_0x232c77===_0x78c0d8(_0x179698._0x4068d1,0x8a3)?_0x232c77:_0x53a91f(_0x179698._0x1fac24,0x171),_0x33723d={};return _0x33723d[_0x53a91f(0x389,_0x179698._0x5f53c8)+'d']=_0x1199d6,_0x33723d[_0x78c0d8(_0x179698._0x1099cd,0x623)]=_0x587aeb,_0x33723d;}catch{return null;}}function firstString(..._0x135509){const _0x26453d={_0x56ae83:0x5a0,_0x4223fe:0x3f8,_0x51f1a1:0x527,_0x5c6db4:0x40b},_0x489fc5={_0x2dc4ad:0x2a6};function _0x1ee226(_0x51a73f,_0x23a223){return _0x43d5cd(_0x23a223-0x262,_0x51a73f);}const _0x5a59be={};_0x5a59be[_0x5cef8f(0x677,_0x26453d._0x56ae83)]=function(_0x3f8e65,_0x5a3d2d){return _0x3f8e65===_0x5a3d2d;};const _0x3f2e77=_0x5a59be;for(const _0x4ba455 of _0x135509){if(_0x3f2e77['KdVPF'](typeof _0x4ba455,'string')&&_0x4ba455[_0x5cef8f(0x44f,_0x26453d._0x4223fe)]())return _0x4ba455[_0x1ee226(_0x26453d._0x51f1a1,_0x26453d._0x5c6db4)]();}function _0x5cef8f(_0x5a9fdc,_0x46e0de){return _0x43d5cd(_0x5a9fdc-_0x489fc5._0x2dc4ad,_0x46e0de);}return'';}function firstNullableString(_0x452b5f){const _0x3e90a9={_0x29a136:0x40};function _0x355557(_0x543e9c,_0x573982){return _0x1fe1a4(_0x573982,_0x543e9c- -0x1a9);}function _0x670ef9(_0x44a4d0,_0x292310){return _0x1fe1a4(_0x292310,_0x44a4d0- -0xc8);}return typeof _0x452b5f===_0x670ef9(0x247,_0x3e90a9._0x29a136)&&_0x452b5f[_0x670ef9(0x1e7,0x119)]()?_0x452b5f[_0x355557(0x106,0x1c7)]():null;}function extractRequestIdFromMessage(_0xc8d54f){const _0x26c4d9=_0xc8d54f['match'](/requestId[:\s]*([a-f0-9-]+)/i);return _0x26c4d9?.[0x1]??null;}import{randomUUID as _0x5d3333}from'crypto';import{setTimeout as _0x332f7f}from'timers/promises';import _0x5ebc89 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,MAX_PENDING_GATEWAY_MESSAGES=0x100,MAX_DEVICE_DETAILS=0x20,MAX_PENDING_PAIR_REQUESTS=0x10,BridgeRuntime=class{[_0x43d5cd(0x20f,0x3cf)];[_0x1fe1a4(0x140,0x1df)+_0x43d5cd(-0x6d,-0x1c3)]=null;[_0x1fe1a4(0x1f4,0x2d6)+_0x1fe1a4(0x2f5,0x1b2)]=null;[_0x43d5cd(-0x65,0xb7)+'necting']=![];[_0x1fe1a4(0x364,0x418)+'onnectin'+'g']=![];[_0x1fe1a4(0xd6,0x298)]=!![];[_0x43d5cd(0x252,0x43e)+'empt']=0x0;[_0x43d5cd(0x29e,0x14c)+_0x1fe1a4(-0x3e,0x89)+_0x43d5cd(0x150,0x12b)]=0x0;['reconnec'+'tTimer']=null;[_0x43d5cd(0x1af,-0x74)+'etryTime'+'r']=null;[_0x43d5cd(-0x5,-0x5f)+_0x1fe1a4(0x3e2,0x4ce)]=null;[_0x1fe1a4(0x396,0x398)+_0x43d5cd(0x1b8,0x2e0)+'ssages']=[];[_0x43d5cd(-0x29,0xc6)+_0x1fe1a4(-0x82,0x166)+_0x1fe1a4(0x74,0x130)]=![];['gatewayC'+_0x43d5cd(0x2db,0xad)+_0x1fe1a4(0x34e,0x18e)+_0x43d5cd(0x1b9,0x3c1)]=![];[_0x1fe1a4(-0xfd,0xee)+_0x43d5cd(-0x9,-0x118)+_0x1fe1a4(0x2ae,0x501)]=null;[_0x1fe1a4(0x56a,0x418)+_0x1fe1a4(0x93,0x91)+_0x1fe1a4(0x2a0,0x37e)]=null;[_0x43d5cd(0x2e7,0x524)];constructor(_0x383b3e){const _0x491724={_0x5b6229:0x609,_0x1016f0:0x5ba,_0xcea339:0x829,_0x389315:0x5d4,_0x3167f3:0x696,_0x499fda:0x48d},_0x5225f1={_0x1547de:0x90};function _0x230682(_0x73a9af,_0x50e98f){return _0x43d5cd(_0x50e98f-0x3fa,_0x73a9af);}this[_0x230682(0x535,_0x491724._0x5b6229)]=_0x383b3e;function _0x3e8590(_0x51233a,_0x2b0c8c){return _0x43d5cd(_0x2b0c8c-_0x5225f1._0x1547de,_0x51233a);}this['snapshot']={'running':![],'relayConnected':![],'gatewayConnected':![],'gatewayId':_0x383b3e[_0x230682(_0x491724._0x1016f0,0x7cd)]['gatewayI'+'d'],'instanceId':_0x383b3e[_0x230682(0x801,0x7cd)][_0x3e8590(0x210,0x90)+'Id'],'relayUrl':_0x383b3e[_0x230682(_0x491724._0xcea339,0x7cd)][_0x230682(_0x491724._0x389315,0x460)],'gatewayUrl':_0x383b3e[_0x3e8590(_0x491724._0x3167f3,_0x491724._0x499fda)+'rl'],'clientCount':0x0,'connectedDevices':[],'pendingPairRequests':[],'lastError':null,'lastUpdatedMs':Date['now']()};}[_0x1fe1a4(0x2b0,0x2b9)](){const _0x186732={_0x2d5639:0x20d,_0x6a3a31:0x2e1,_0x3f4fc9:0x6ff,_0x3c4736:0x223,_0x35d266:0x361,_0x3fe2f4:0x478,_0x2dd3d5:0x271,_0x50e639:0x270,_0x33fe4d:0x794,_0x313510:0x9b3,_0x2225b8:0x54c,_0x4496b1:0x6e2,_0x404d97:0x655,_0x266c85:0x813,_0x1906b0:0xa56,_0x34d3f5:0x17b},_0x156110={_0x1e1094:0x460},_0x466c46={_0x17ae0f:0x7b};if(!this['stopped'])return;this[_0x4fa4c3(_0x186732._0x2d5639,_0x186732._0x6a3a31)]=![],this[_0x9e3aac(_0x186732._0x3f4fc9,0x627)+_0x4fa4c3(_0x186732._0x3c4736,_0x186732._0x35d266)]({'running':!![],'gatewayUrl':this[_0x4fa4c3(0x28a,0x2b0)][_0x4fa4c3(_0x186732._0x3fe2f4,_0x186732._0x2dd3d5)+'rl']});function _0x4fa4c3(_0x1c8f6e,_0x5247b2){return _0x43d5cd(_0x1c8f6e-_0x466c46._0x17ae0f,_0x5247b2);}function _0x9e3aac(_0x51bff0,_0x15fcc7){return _0x43d5cd(_0x15fcc7-_0x156110._0x1e1094,_0x51bff0);}this[_0x9e3aac(0x92e,0x7e3)]('runtime\x20'+'starting'+_0x4fa4c3(_0x186732._0x50e639,0x44c)+'Id='+this[_0x9e3aac(_0x186732._0x33fe4d,0x66f)][_0x9e3aac(_0x186732._0x313510,0x833)][_0x9e3aac(_0x186732._0x2225b8,0x536)+'d']+(_0x9e3aac(_0x186732._0x4496b1,_0x186732._0x404d97)+'Url=')+this[_0x9e3aac(_0x186732._0x266c85,0x66f)][_0x9e3aac(_0x186732._0x1906b0,0x85d)+'rl']),void this['connectR'+_0x4fa4c3(0x198,_0x186732._0x34d3f5)]();}async[_0x43d5cd(-0x1f,0xda)](){const _0x58ec6b={_0x3a5081:0x704,_0x3657cc:0x76a,_0x39fab0:0x63e,_0x253fb1:0x767,_0xa2eee9:0x217,_0xe58a6d:0x22f,_0x28be57:0x48a,_0x2159b4:0x8ce,_0x48a707:0x81a,_0x128acf:0x62e,_0x3d4d38:0x5c4,_0x8f1744:0x603,_0x5e8749:0x7dd,_0x13e7e3:0x7bc,_0x27ac87:0x67b,_0x190b9d:0x7f1,_0x5aa67:0x805,_0x3291c4:0x3af,_0x1f4728:0x6e3,_0x5c946a:0x6d4,_0x753241:0x629,_0x268dde:0x552,_0x58a13a:0x6e5,_0x5934e2:0x4d0,_0x30d9cf:0x6bc,_0x4a8cbb:0x669,_0x4d6d47:0x6a1,_0x45f3ac:0x3e8,_0x582a8f:0x306,_0x511e41:0x4c5,_0x1e733f:0x662,_0x397a30:0x2f4,_0xc1cf9e:0x231,_0x3eec42:0x7c7,_0x5a85ec:0x183,_0x4d1c31:0x87a,_0xeeca5a:0x7a2,_0xd9d58f:0x476,_0x24c1a9:0x80f,_0x19ec48:0x5d6},_0x2cdbf9={_0x18a8c4:0x2a6},_0x5bc008={};_0x5bc008[_0x2c8adf(0x4d5,0x685)]='8|9|6|2|'+_0x57da3e(_0x58ec6b._0x3a5081,0x5c8)+_0x2c8adf(0x63f,_0x58ec6b._0x3657cc)+_0x57da3e(0x414,0x286)+_0x2c8adf(_0x58ec6b._0x39fab0,_0x58ec6b._0x253fb1),_0x5bc008[_0x57da3e(_0x58ec6b._0xa2eee9,_0x58ec6b._0xe58a6d)]=_0x57da3e(0x452,_0x58ec6b._0x28be57)+_0x2c8adf(_0x58ec6b._0x2159b4,0x6bc);const _0x2b659c=_0x5bc008;function _0x2c8adf(_0x81c36b,_0x55792f){return _0x43d5cd(_0x55792f-0x52a,_0x81c36b);}function _0x57da3e(_0x183800,_0x133940){return _0x43d5cd(_0x133940-_0x2cdbf9._0x18a8c4,_0x183800);}const _0x3c9da2=_0x2b659c['KtnEf'][_0x57da3e(_0x58ec6b._0x48a707,_0x58ec6b._0x128acf)]('|');let _0x1e3915=0x0;while(!![]){switch(_0x3c9da2[_0x1e3915++]){case'0':this['gatewayC'+'onnectin'+'g']=![];continue;case'1':await _0x332f7f(0x19);continue;case'2':this[_0x2c8adf(_0x58ec6b._0x3d4d38,_0x58ec6b._0x8f1744)+'ket']?.[_0x2c8adf(0x7d2,0x7b2)]();continue;case'3':this[_0x2c8adf(_0x58ec6b._0x5e8749,_0x58ec6b._0x13e7e3)+'atewayMe'+_0x2c8adf(_0x58ec6b._0x27ac87,0x6ae)]=[];continue;case'4':this[_0x2c8adf(_0x58ec6b._0x190b9d,0x83c)+_0x2c8adf(0x7f1,_0x58ec6b._0x5aa67)+_0x2c8adf(_0x58ec6b._0x3291c4,0x5b2)+_0x2c8adf(0x50c,_0x58ec6b._0x1f4728)]=![];continue;case'5':this[_0x2c8adf(0x33f,0x4c5)+_0x2c8adf(0x755,0x672)]=![];continue;case'6':this[_0x57da3e(_0x58ec6b._0x5c946a,0x678)+_0x2c8adf(0x643,0x58b)]();continue;case'7':this[_0x57da3e(0x521,_0x58ec6b._0x753241)](_0x2b659c[_0x2c8adf(_0x58ec6b._0x268dde,0x4b3)]);continue;case'8':if(this[_0x2c8adf(_0x58ec6b._0x58a13a,0x6bc)])return;continue;case'9':this[_0x2c8adf(_0x58ec6b._0x5934e2,_0x58ec6b._0x30d9cf)]=!![];continue;case'10':this['clientDe'+_0x2c8adf(0x49c,0x521)+_0x57da3e(_0x58ec6b._0x4a8cbb,_0x58ec6b._0x4d6d47)]=null;continue;case'11':this[_0x57da3e(_0x58ec6b._0x45f3ac,0x27d)+_0x57da3e(0x14d,_0x58ec6b._0x582a8f)+'Started']=![];continue;case'12':const _0x45bbc5={};_0x45bbc5['running']=![],_0x45bbc5[_0x2c8adf(_0x58ec6b._0x5c946a,_0x58ec6b._0x511e41)+'nected']=![],_0x45bbc5[_0x2c8adf(_0x58ec6b._0x1e733f,0x83c)+_0x57da3e(_0x58ec6b._0x397a30,_0x58ec6b._0xc1cf9e)]=![],_0x45bbc5[_0x2c8adf(0x6f5,0x7e1)+'unt']=0x0,_0x45bbc5[_0x57da3e(0x67e,0x621)+'r']=null,this['updateSn'+_0x57da3e(0x636,0x44e)](_0x45bbc5);continue;case'13':this[_0x2c8adf(_0x58ec6b._0x3eec42,0x83c)+_0x57da3e(_0x58ec6b._0x5a85ec,0x231)+_0x2c8adf(_0x58ec6b._0x4d1c31,_0x58ec6b._0xeeca5a)]=null;continue;case'14':this[_0x57da3e(0x4f4,0x37f)+'ket']=null;continue;case'15':this[_0x57da3e(0x3a4,_0x58ec6b._0xd9d58f)+_0x2c8adf(_0x58ec6b._0x24c1a9,_0x58ec6b._0x19ec48)]?.['close']();continue;case'16':this['gatewayS'+'ocket']=null;continue;}break;}}async[_0x1fe1a4(0x182,0x2cb)+_0x43d5cd(0x21,-0xfc)+'st'](_0x24cc9b){const _0x3c4f6e={_0x2a5d4e:0x409,_0x473212:0x2ed,_0x17b7c5:0x11,_0x345cfa:0x2d,_0x430b73:0xdc,_0x1f22d4:0x421,_0x367d2a:0x3fd,_0x52f5d9:0x3e5,_0x1d71c8:0x391,_0x59ead8:0x3df,_0x2c3a08:0x2ee},_0x6de5fd={_0xbf0296:0x91},_0x5cfa96={};function _0x533b98(_0x3fcef3,_0x53ab6e){return _0x43d5cd(_0x53ab6e-_0x6de5fd._0xbf0296,_0x3fcef3);}_0x5cfa96[_0x533b98(_0x3c4f6e._0x2a5d4e,_0x3c4f6e._0x473212)+'d']=_0x24cc9b;function _0x778e2f(_0x5bbc6a,_0x36dbd5){return _0x43d5cd(_0x36dbd5- -0x1d7,_0x5bbc6a);}this[_0x778e2f(-0x148,-0x1b1)+_0x778e2f(0x14f,-_0x3c4f6e._0x17b7c5)+'st'](_0x533b98(_0x3c4f6e._0x345cfa,_0x3c4f6e._0x430b73)+_0x533b98(0x276,0x460)+_0x533b98(_0x3c4f6e._0x1f22d4,_0x3c4f6e._0x367d2a),_0x5cfa96),this[_0x533b98(0x48e,_0x3c4f6e._0x52f5d9)+_0x533b98(0x547,0x3ce)+_0x533b98(_0x3c4f6e._0x1d71c8,_0x3c4f6e._0x59ead8)](_0x24cc9b,_0x778e2f(-_0x3c4f6e._0x2c3a08,-0x1e7));}async['rejectPa'+_0x43d5cd(0x177,-0x3)+'t'](_0x277c1e){const _0x9c6fa3={_0x561b58:0x48c,_0x20b63f:0x617,_0x30dd42:0x709,_0xe6bede:0x8d2,_0x3dead2:0x703,_0x53ca97:0x7db,_0x182d46:0x70b,_0x34bb9b:0x948},_0x252a71={_0x26aa12:0x3b5},_0x24d411={_0x4a6ef4:0x466},_0x2a9b47={};function _0x48a908(_0x4aec51,_0x1024eb){return _0x43d5cd(_0x4aec51-_0x24d411._0x4a6ef4,_0x1024eb);}_0x2a9b47[_0x5f572c(0x611,0x62c)+'d']=_0x277c1e;function _0x5f572c(_0x43d0f2,_0x39275b){return _0x43d5cd(_0x43d0f2-_0x252a71._0x26aa12,_0x39275b);}this[_0x48a908(_0x9c6fa3._0x561b58,0x562)+'wayReque'+'st']('device.p'+_0x5f572c(_0x9c6fa3._0x20b63f,0x6a4)+'ct',_0x2a9b47),this[_0x5f572c(_0x9c6fa3._0x30dd42,_0x9c6fa3._0xe6bede)+'RequestR'+_0x5f572c(_0x9c6fa3._0x3dead2,_0x9c6fa3._0x53ca97)](_0x277c1e,_0x5f572c(_0x9c6fa3._0x182d46,_0x9c6fa3._0x34bb9b));}[_0x1fe1a4(0x409,0x4ac)+_0x1fe1a4(0x1fe,0xa4)](){const _0x2ed6a7={_0x17767c:0x7c8,_0x57c59e:0x378,_0x576885:0x561,_0x438463:0x5bc,_0x3d886e:0x5fe,_0x3000bf:0x513,_0xfd63ed:0x405,_0x3a25a8:0x63b,_0x258849:0x3e6,_0xc3da38:0x3d3,_0x1f9a86:0x28e},_0x3b75e6={_0x2c339a:0x24e};function _0x4e07ae(_0x1c992c,_0x3894f8){return _0x1fe1a4(_0x3894f8,_0x1c992c-_0x3b75e6._0x2c339a);}const _0xef0845={...this[_0x4e07ae(0x63b,_0x2ed6a7._0x17767c)]};_0xef0845[_0x4e07ae(_0x2ed6a7._0x57c59e,_0x2ed6a7._0x576885)+'dDevices']=[...this[_0x5d8f15(_0x2ed6a7._0x438463,_0x2ed6a7._0x3d886e)]['connecte'+_0x4e07ae(_0x2ed6a7._0x3000bf,0x2fd)]];function _0x5d8f15(_0x24f7ff,_0x3860d5){return _0x1fe1a4(_0x3860d5,_0x24f7ff-0x1cf);}return _0xef0845[_0x5d8f15(0x354,_0x2ed6a7._0xfd63ed)+_0x5d8f15(0x2f6,0x3b4)+'sts']=[...this[_0x4e07ae(_0x2ed6a7._0x3a25a8,_0x2ed6a7._0x258849)][_0x4e07ae(_0x2ed6a7._0xc3da38,_0x2ed6a7._0x1f9a86)+_0x4e07ae(0x375,0x2e5)+_0x5d8f15(0x34e,0x257)]],_0xef0845;}async[_0x1fe1a4(0x551,0x383)+_0x1fe1a4(0x36,0x223)](){const _0x475501={_0x4ecd4:0x6fa,_0x568716:0x6be,_0x312e62:0x30c,_0x41dcbc:0x394,_0x1f85af:0x44c,_0x1b6f87:0x680,_0x3d1c96:0x277,_0x276c5a:0x115,_0x5dd872:0x629,_0x558396:0x1df,_0x31ff7a:0x102,_0xf29359:0x3f7,_0x10a456:0x381,_0x4f9f3d:0x9d7,_0x5550db:0x7cc,_0xe4b11c:0x4fb,_0x230d41:0x142,_0x4664a6:0x562,_0x28da02:0x3aa,_0x21339c:0x1d3,_0x490454:0x65f,_0xb4bb2b:0x3bf,_0x481d91:0x387,_0x2ffa67:0x4b8,_0x577951:0x313,_0x271d51:0x5fa,_0x4a3306:0x482,_0x386b06:0x402},_0x51ab14={_0x305805:0x54f,_0x15fa3f:0x618,_0x996b2:0x6a8,_0x16ee75:0x4da,_0x2439b6:0x3ec,_0x1c5cb9:0x660,_0x180d52:0x79f,_0x2fb31c:0x536,_0x50d806:0x7c7,_0x36d61f:0x762,_0x252bf9:0x7fd,_0x42b247:0x6e7,_0x2be02f:0x814,_0x550a6a:0x838,_0x340b3e:0x6c8,_0x5bbb28:0x57f,_0x565b15:0x4a2,_0x1171f0:0xa06,_0x529071:0x439,_0xc7391f:0x9ca,_0x44b336:0x82c,_0x2265b9:0x3b7,_0x17dc01:0x7ee,_0x3900a0:0x840,_0x5d0174:0x77e,_0x40a26f:0x7a4},_0x1cd704={_0x3a2d34:0x86a},_0x38cb8d={_0x9af7bc:0x30f,_0x384c3f:0x181},_0x2f0226={_0x3a5b34:0xe2,_0xb9f639:0x239,_0x553048:0x1c8},_0x2275bb={_0x3d41cb:0x4c0,_0x5c5591:0x589,_0x41f286:0x12f,_0x3cdf50:0x382,_0xe69106:0x5bb,_0x2e62b0:0x3c3,_0x4fe034:0x228,_0x48c8d4:0x423,_0x3517b0:0x65f,_0x53a50a:0x76a,_0x292f69:0x3e2,_0x288efa:0x924,_0x7e8b25:0x6e2,_0x49a1e5:0x70c,_0x3ee62f:0x73c,_0x4584ce:0x4da,_0xe7dfc3:0x6f2},_0x5b7117={_0x52beb8:0x17a},_0x284d8b={_0x5deb53:0x3f9},_0x4b9221={};_0x4b9221[_0x161650(0x6d7,_0x475501._0x4ecd4)]=function(_0x4ecc39,_0x1f9379){return _0x4ecc39===_0x1f9379;},_0x4b9221[_0x161650(_0x475501._0x568716,0x534)]='open';const _0x360e1c=_0x4b9221;function _0x161650(_0x36cc60,_0x21a05c){return _0x43d5cd(_0x21a05c-_0x284d8b._0x5deb53,_0x36cc60);}if(this[_0x36d797(0x47b,_0x475501._0x312e62)]||this[_0x161650(0x22e,_0x475501._0x41dcbc)+'necting']||this['isRelayO'+_0x161650(_0x475501._0x1f85af,_0x475501._0x1b6f87)]())return;this[_0x36d797(_0x475501._0x3d1c96,_0x475501._0x276c5a)+'necting']=!![],this[_0x161650(_0x475501._0x5dd872,0x64b)+_0x36d797(_0x475501._0x558396,_0x475501._0x31ff7a)]+=0x1;const _0x4a9176=this['relayAtt'+_0x161650(_0x475501._0xf29359,_0x475501._0x10a456)],_0x2ab8e2=buildRelayWsUrl(this['options'][_0x161650(_0x475501._0x4f9f3d,_0x475501._0x5550db)]);function _0x36d797(_0x5b7046,_0x289bac){return _0x43d5cd(_0x289bac-_0x5b7117._0x52beb8,_0x5b7046);}this[_0x36d797(_0x475501._0xe4b11c,0x4fd)](_0x36d797(0x344,_0x475501._0x230d41)+_0x161650(_0x475501._0x4664a6,0x792)+_0x36d797(_0x475501._0x28da02,_0x475501._0x21339c)+_0x4a9176+_0x161650(0x676,_0x475501._0x490454)+redactRelayWsUrl(_0x2ab8e2));const _0x3ecfea=this['createWe'+'bSocket'](_0x2ab8e2);this[_0x36d797(0x3e7,0x253)+_0x36d797(-0x6a,0x10d)]=_0x3ecfea,_0x3ecfea[_0x161650(_0x475501._0xb4bb2b,0x54a)](_0x360e1c['hjfcH'],()=>{const _0xd043d4={_0x3bb5f8:0x26d};if(this['stopped']||this[_0x25a21d(0x4d0,_0x2275bb._0x3d41cb)+'ket']!==_0x3ecfea){_0x3ecfea[_0x25a21d(_0x2275bb._0x5c5591,0x66f)]();return;}this[_0x25a21d(_0x2275bb._0x41f286,_0x2275bb._0x3cdf50)+_0x3abb32(_0x2275bb._0xe69106,_0x2275bb._0x2e62b0)]=![],this[_0x25a21d(0x535,0x685)+_0x3abb32(-0x22,0x1fe)+_0x3abb32(_0x2275bb._0x4fe034,0x3cb)]=Date[_0x25a21d(0x24a,0x449)]();const _0x23d9a2={};function _0x3abb32(_0x16b7ac,_0x5ebbd5){return _0x36d797(_0x16b7ac,_0x5ebbd5-0x101);}function _0x25a21d(_0x49038b,_0x41b32c){return _0x36d797(_0x49038b,_0x41b32c-_0xd043d4._0x3bb5f8);}_0x23d9a2['relayCon'+_0x25a21d(0x920,0x6f2)]=!![],_0x23d9a2['lastErro'+'r']=null,this[_0x3abb32(0x3b8,0x442)+_0x3abb32(0x65c,_0x2275bb._0x48c8d4)](_0x23d9a2),this[_0x25a21d(_0x2275bb._0x3517b0,_0x2275bb._0x53a50a)](_0x25a21d(0x396,0x3af)+_0x3abb32(_0x2275bb._0x292f69,0x3b4)+_0x25a21d(0x910,0x7ef)+_0x4a9176),this[_0x25a21d(_0x2275bb._0x288efa,_0x2275bb._0x7e8b25)+_0x25a21d(0x1cb,0x3ae)](),shouldKeepGatewayConnected(this['snapshot'][_0x3abb32(_0x2275bb._0x49a1e5,0x532)+'unt'],summarizePendingGatewayMessages(this['pendingG'+_0x3abb32(0x469,0x433)+'ssages'])['connectR'+'equests'])&&this[_0x25a21d(_0x2275bb._0x3ee62f,0x548)+_0x25a21d(0x7d0,0x77a)+_0x25a21d(_0x2275bb._0x4584ce,_0x2275bb._0xe7dfc3)]();}),_0x3ecfea['on'](_0x36d797(_0x475501._0x481d91,0x1e2),(_0x13a58e,_0x4cba4e)=>{function _0x397fb8(_0x4a0469,_0x1d9d6c){return _0x161650(_0x1d9d6c,_0x4a0469- -0x5db);}function _0x250478(_0x21068c,_0x20c797){return _0x161650(_0x20c797,_0x21068c- -0x4c3);}void this[_0x397fb8(_0x2f0226._0x3a5b34,_0x2f0226._0xb9f639)+_0x397fb8(-0x26b,-_0x2f0226._0x553048)+'ge'](_0x13a58e,_0x4cba4e);}),_0x3ecfea['on'](_0x36d797(_0x475501._0x2ffa67,_0x475501._0x577951),()=>{function _0xfb5cc6(_0x2f665f,_0x252c07){return _0x36d797(_0x2f665f,_0x252c07- -0x394);}function _0x4cb738(_0xfa46ae,_0x420217){return _0x36d797(_0xfa46ae,_0x420217- -0x149);}this[_0xfb5cc6(0x235,0x84)+'yActivit'+_0x4cb738(_0x38cb8d._0x9af7bc,_0x38cb8d._0x384c3f)]=Date['now']();}),_0x3ecfea[_0x161650(_0x475501._0x271d51,0x54a)](_0x36d797(_0x475501._0x4a3306,0x465),_0x3e673f=>{const _0x4b4949={_0x33d21a:0xc4};function _0x19fff6(_0x46435e,_0x1c4ef7){return _0x36d797(_0x46435e,_0x1c4ef7- -_0x4b4949._0x33d21a);}function _0x39d7d3(_0x365a8e,_0x2e6b80){return _0x36d797(_0x2e6b80,_0x365a8e-0x398);}this['log'](_0x39d7d3(_0x1cd704._0x3a2d34,0xa59)+_0x39d7d3(0x5a6,0x76a)+String(_0x3e673f));}),_0x3ecfea['once'](_0x36d797(0x570,_0x475501._0x386b06),(_0x5d90e1,_0x14eca4)=>{_0x360e1c[_0x124fd7(0x7b6,0x809)](this[_0x124fd7(0x58e,_0x51ab14._0x305805)+'ket'],_0x3ecfea)&&(this[_0x490ab6(0x575,_0x51ab14._0x15fa3f)+'ket']=null);this[_0x490ab6(_0x51ab14._0x996b2,_0x51ab14._0x16ee75)+_0x124fd7(0x5fd,_0x51ab14._0x2439b6)]=![],this[_0x124fd7(0x6fd,_0x51ab14._0x1c5cb9)+_0x490ab6(_0x51ab14._0x180d52,0x717)](),this['clientDe'+_0x490ab6(0x2fa,_0x51ab14._0x2fb31c)+'tedAtMs']=null;function _0x490ab6(_0x1a3cfd,_0x17042e){return _0x161650(_0x1a3cfd,_0x17042e-0x146);}this[_0x124fd7(_0x51ab14._0x50d806,0x7d3)+'onnected'+_0x124fd7(0x72d,0x73f)]=null,this[_0x124fd7(0x67c,_0x51ab14._0x36d61f)+_0x490ab6(_0x51ab14._0x252bf9,_0x51ab14._0x42b247)]({'relayConnected':![],'gatewayConnected':![],'clientCount':0x0,'lastError':_0x5d90e1===0x3e8?null:'relay\x20cl'+_0x124fd7(_0x51ab14._0x2be02f,0x96d)+(_0x14eca4[_0x124fd7(0x71f,0x795)]()||_0x5d90e1)});function _0x124fd7(_0x4dd3d9,_0x584c2d){return _0x161650(_0x584c2d,_0x4dd3d9-0xbc);}this[_0x124fd7(_0x51ab14._0x550a6a,_0x51ab14._0x340b3e)]('relay\x20di'+'sconnect'+_0x124fd7(_0x51ab14._0x5bbb28,_0x51ab14._0x565b15)+_0x5d90e1+_0x124fd7(0x7dc,_0x51ab14._0x1171f0)+(_0x14eca4['toString']()||_0x124fd7(_0x51ab14._0x529071,0x51a))),this[_0x490ab6(_0x51ab14._0xc7391f,_0x51ab14._0x44b336)+_0x124fd7(0x563,_0x51ab14._0x2265b9)](),this[_0x124fd7(_0x51ab14._0x17dc01,_0x51ab14._0x3900a0)+_0x124fd7(_0x51ab14._0x5d0174,0x8f7)+_0x124fd7(_0x51ab14._0x40a26f,0x83a)]();});}async[_0x1fe1a4(0x5d5,0x3ca)+'layMessa'+'ge'](_0x39687e,_0x22e6fa){const _0x527154={_0x1cc9df:0x294,_0x5cb042:0x3f,_0x744465:0x64c,_0x54af70:0x4c9,_0x559257:0x4b3,_0x574787:0x4f6,_0x5922ac:0x62c,_0x5cad43:0x60d,_0x479491:0x131,_0x431673:0x3ad,_0x3b6a9c:0x584,_0x4f2504:0x591,_0x3770a4:0x27c,_0x2f5c5c:0x577,_0x147bfd:0x429,_0x5df7db:0x506,_0x3a88c0:0x3a6,_0x5edc6a:0x5c4,_0x934d5:0x2cb,_0x5dbc63:0x23e},_0x4fd9e5={_0x3c024f:0x12c},_0x13e408={'ftqqS':function(_0x564598,_0x14a70e){return _0x564598(_0x14a70e);}};this[_0xcb5e3f(0x4d0,0x348)+'yActivit'+_0x16aa8d(0x3c1,0x5a7)]=Date[_0xcb5e3f(_0x527154._0x1cc9df,_0x527154._0x5cb042)]();if(_0x22e6fa){this['forwardO'+_0x16aa8d(_0x527154._0x744465,0x735)+_0x16aa8d(_0x527154._0x54af70,0x5df)+_0x16aa8d(0x30a,0x42d)]({'kind':_0xcb5e3f(_0x527154._0x559257,0x61c),'data':normalizeBinary(_0x39687e)});return;}const _0x86b25f=_0x13e408['ftqqS'](normalizeText,_0x39687e);function _0x16aa8d(_0x3a7e1f,_0x98d188){return _0x1fe1a4(_0x98d188,_0x3a7e1f-0x16b);}function _0xcb5e3f(_0x9c01f5,_0x2579fe){return _0x1fe1a4(_0x2579fe,_0x9c01f5-_0x4fd9e5._0x3c024f);}if(_0x86b25f==null)return;const _0x86ace3=parseControl(_0x86b25f);if(_0x86ace3){this[_0xcb5e3f(_0x527154._0x574787,0x2b4)+_0xcb5e3f(_0x527154._0x5922ac,_0x527154._0x5cad43)+'ol'](_0x86ace3[_0x16aa8d(0x366,_0x527154._0x479491)],_0x86ace3[_0xcb5e3f(_0x527154._0x431673,0x410)]);return;}const _0x2da9c0=parseConnectStartIdentity(_0x86b25f);_0x2da9c0&&this[_0xcb5e3f(_0x527154._0x3b6a9c,_0x527154._0x4f2504)+'onnectSt'+_0xcb5e3f(_0x527154._0x3770a4,0x88)](_0x2da9c0['id'],_0x2da9c0[_0x16aa8d(0x473,_0x527154._0x2f5c5c)]);const _0x68c4cd={};_0x68c4cd[_0xcb5e3f(0x275,_0x527154._0x147bfd)]=_0x16aa8d(0x506,0x52b),_0x68c4cd[_0x16aa8d(_0x527154._0x5df7db,0x503)]=_0x86b25f,this[_0x16aa8d(_0x527154._0x3a88c0,0x5fc)+_0xcb5e3f(0x60d,0x3f9)+_0xcb5e3f(0x48a,_0x527154._0x5edc6a)+_0xcb5e3f(_0x527154._0x934d5,_0x527154._0x5dbc63)](_0x68c4cd);}[_0x43d5cd(0x2c4,0xa3)+_0x43d5cd(0x3fa,0x331)+'ol'](_0x1c5487,_0x5b271a){const _0xef00f1={_0x173e51:0x431,_0xe04998:0x676,_0x1b7451:0xe8,_0x7b0da1:0x314,_0x1d7a8a:0x444,_0x3cf01b:0x34b,_0xba6b70:0x2ff,_0x531f69:0x1d2,_0x10a95c:0x31e,_0x26bf31:0x400,_0x143a4f:0x325,_0x32ac33:0x4c5,_0x171c33:0x26d,_0x6bfcf2:0x101,_0x5a4d5a:0x154,_0x2d1f34:0x16,_0x5e1530:0x17b,_0x3f9d29:0x3d0,_0x1615d9:0x37a,_0x41b7ab:0x324,_0x40b113:0x134,_0x4dc768:0x330,_0xb4585b:0x14f,_0x1dbf75:0x3b2,_0x38cf96:0x43a,_0x2fab18:0x11,_0x570595:0x3da,_0x431dd8:0x87,_0x39467d:0x3af,_0x45b97d:0x447,_0x4474b1:0x73,_0x4f06d2:0x390,_0x5e8563:0x82,_0x1d8742:0xd3,_0xd316e7:0x691,_0x50df5d:0x44a,_0x4cb7e6:0x95,_0x3ca01e:0x1c7,_0xd58875:0x19d,_0x3f8d01:0x368,_0x2edffd:0x4c0,_0x4bf86e:0x449,_0x644cf2:0x32b,_0x4651df:0x510,_0x1ce379:0x597,_0x429f08:0x631,_0x5d3bb:0x34e,_0x12c40b:0x315,_0xbce34f:0x221,_0x447554:0x271,_0x866f23:0x33a,_0x4f999d:0x308,_0x15f814:0x491,_0x2941b5:0x37d,_0x5e534c:0x38e,_0x58abe9:0x498,_0x278077:0x4d4,_0x5494f1:0x3ba,_0x1a7f46:0x13c,_0x5d1ffe:0x15e,_0x56e254:0xf0,_0x17bd1b:0x31c,_0x5ceaa1:0x187,_0x27b9ef:0x4b2,_0x18a12c:0x254,_0x357e08:0x2e1,_0x2ddeca:0x3ef,_0x264877:0x315,_0x2cf339:0x114,_0x41ba9c:0x201,_0x10629c:0x3fa,_0x5e6578:0x222,_0x302541:0x473,_0x58d7f2:0x2b9,_0x5cc242:0x2d4,_0xced3cd:0x51f,_0x2585a0:0x345,_0x4fa133:0xca,_0x200ce6:0x3bb,_0x586b38:0x6d,_0x4b56f6:0x1e5,_0x7235c0:0x2ac,_0x74c64c:0x494,_0x49193c:0x48d,_0x18c0f6:0x324,_0x411c74:0x2bc,_0x6a2935:0x47f,_0x2c405e:0x495,_0x5bcd9d:0x2d5,_0x55d73d:0xa4,_0x4a2488:0x2aa,_0x2a1fa9:0xe7,_0x3e57bc:0x2be,_0x5d2e34:0x52a,_0x3d0c3e:0x3cd,_0x5efee9:0x29e,_0x43049f:0x16d,_0x23db10:0x220,_0x22cecd:0xb3,_0x37977a:0x414,_0x4dd735:0x265,_0x40948c:0x324,_0x58b98b:0x38f,_0x4e9957:0x205,_0x25e391:0x14f,_0x67b604:0x53a,_0x10d7ba:0x3f6,_0x4c5692:0x221,_0x4b4263:0x266,_0x269899:0x299,_0x1240df:0x1b5,_0x49980a:0x2b5,_0x295113:0x7a,_0x3fa6bf:0x19d,_0x1b5db6:0x429,_0x6071b9:0x4a2,_0x3d446a:0x303,_0xa0191f:0x194,_0x34a4c7:0x1e1,_0x447533:0x10c,_0x438188:0x100,_0x4fd85c:0x27a,_0x2a53e6:0x4f0};function _0x444090(_0xc223bb,_0x2f933f){return _0x1fe1a4(_0xc223bb,_0x2f933f-0x13);}const _0xe55be9={'XqzQz':_0x444090(_0xef00f1._0x173e51,0x458)+'ount','dAUJJ':function(_0x503e5b,_0x1186b7,_0x3053b4,_0x55558a){return _0x503e5b(_0x1186b7,_0x3053b4,_0x55558a);},'ENJPv':function(_0x404c76,_0xcf1c87){return _0x404c76(_0xcf1c87);},'XMgkF':function(_0x269c00,_0x2deb40){return _0x269c00===_0x2deb40;},'vOuDV':function(_0x1fe7cc,_0x295726,_0x50549b,_0x1273ef){return _0x1fe7cc(_0x295726,_0x50549b,_0x1273ef);}};if(_0x1c5487===_0x98e762(_0xef00f1._0xe04998,0x49c)+_0x98e762(0xb6,_0xef00f1._0x1b7451)||_0x1c5487===_0xe55be9[_0x444090(0x200,0x2fe)]){const _0x25d3f4=this[_0x98e762(_0xef00f1._0x7b0da1,_0xef00f1._0x1d7a8a)]['clientCo'+_0x444090(_0xef00f1._0x3cf01b,_0xef00f1._0xba6b70)],_0x508615=_0x5b271a??Math[_0x444090(_0xef00f1._0x531f69,0x39f)](0x1,this[_0x444090(_0xef00f1._0x10a95c,_0xef00f1._0x26bf31)][_0x98e762(_0xef00f1._0x143a4f,0x414)+_0x98e762(_0xef00f1._0x32ac33,0x343)]);_0x508615>0x0&&this['clientDe'+_0x444090(0x92,0x110)+_0x98e762(0x41f,0x558)]==null&&(this[_0x444090(_0xef00f1._0x171c33,_0xef00f1._0x6bfcf2)+_0x98e762(0x26,_0xef00f1._0x5a4d5a)+_0x444090(0x5b0,0x514)]=Date[_0x444090(_0xef00f1._0x2d1f34,_0xef00f1._0x5e1530)]());const _0x1a203f={};_0x1a203f[_0x444090(0x1d6,_0xef00f1._0x3f9d29)+_0x444090(_0xef00f1._0x1615d9,0x2ff)]=_0x508615,this[_0x98e762(0x31e,_0xef00f1._0x41b7ab)+'apshot'](_0x1a203f);if(_0x508615===0x0){this[_0x98e762(-0xe9,_0xef00f1._0x40b113)+_0x444090(-0x76,0x179)+'Started']=![],this[_0x444090(0x516,_0xef00f1._0x4dc768)+_0x98e762(0x12e,_0xef00f1._0xb4585b)+'t'](),this[_0x98e762(_0xef00f1._0x1dbf75,_0xef00f1._0x38cf96)+_0x444090(_0xef00f1._0x2fab18,0x22b)+'ewayQueu'+'e']();const _0x1a2fc7=summarizePendingGatewayMessages(this['pendingG'+'atewayMe'+'ssages'])[_0x98e762(0x267,_0xef00f1._0x570595)+_0x444090(0x43f,0x33e)];_0xe55be9[_0x444090(0x1d7,_0xef00f1._0x431dd8)](shouldScheduleGatewayIdleClose,_0x508615,_0x1a2fc7,this[_0x444090(0x27e,0x377)+_0x444090(_0xef00f1._0x39467d,_0xef00f1._0x45b97d)]())?(this['log'](_0x444090(-_0xef00f1._0x4474b1,0x19d)+'emand\x20dr'+_0x444090(0x5bd,0x47c)+_0x444090(0x243,0x25e)+'losing\x20i'+_0x444090(0x390,_0xef00f1._0x4f06d2)+_0x444090(_0xef00f1._0x5e8563,_0xef00f1._0x1d8742)),this[_0x98e762(_0xef00f1._0xd316e7,_0xef00f1._0x50df5d)+_0x444090(_0xef00f1._0x4cb7e6,_0xef00f1._0x3ca01e)]()):this[_0x444090(0x6d7,0x49c)](_0x444090(0x1c8,_0xef00f1._0xd58875)+_0x98e762(0x5bd,_0xef00f1._0x3f8d01)+_0x98e762(0x378,_0xef00f1._0x2edffd)+_0x444090(-0x8f,0x103)+_0x98e762(0x2e1,_0xef00f1._0x4bf86e)+_0x444090(_0xef00f1._0x644cf2,0x305)+_0x98e762(_0xef00f1._0x4651df,0x41c));}else{if(shouldRecycleGatewayForFreshClient(_0x25d3f4,_0x508615,this[_0x444090(_0xef00f1._0x1ce379,0x377)+_0x444090(_0xef00f1._0x429f08,_0xef00f1._0x45b97d)](),![])){const _0x257a26=summarizePendingGatewayMessages(this['pendingG'+_0x98e762(_0xef00f1._0x5d3bb,_0xef00f1._0x12c40b)+'ssages']);this['log'](_0x98e762(_0xef00f1._0xbce34f,_0xef00f1._0x447554)+_0x444090(_0xef00f1._0x866f23,_0xef00f1._0x4f999d)+_0x444090(0x39c,_0xef00f1._0x15f814)+'d\x20for\x20fr'+'esh\x20clie'+_0x98e762(0x18e,_0xef00f1._0x2941b5)+_0x444090(0x459,_0xef00f1._0x5e534c)+'='+_0x257a26[_0x444090(_0xef00f1._0x58abe9,_0xef00f1._0x278077)]+('\x20connect'+'=')+_0x257a26[_0x98e762(0x5db,0x3da)+'equests']+'\x20text='+_0x257a26[_0x98e762(0x5c1,_0xef00f1._0x5494f1)+'t']+'\x20binary='+_0x257a26['binary']+('\x20handsha'+_0x444090(-0xe5,_0xef00f1._0x1a7f46)+'d=')+this[_0x444090(-_0xef00f1._0x5d1ffe,_0xef00f1._0x56e254)+'andshake'+_0x98e762(_0xef00f1._0x17bd1b,_0xef00f1._0x5ceaa1)]);const _0x3844a2=_0xe55be9[_0x98e762(0x3b0,_0xef00f1._0x27b9ef)](prunePendingGatewayMessagesForFreshDemand,this[_0x98e762(_0xef00f1._0x18a12c,0x3ef)+'atewayMe'+_0x98e762(0x443,_0xef00f1._0x357e08)]);_0x3844a2['dropped']>0x0&&(this[_0x98e762(0x515,_0xef00f1._0x2ddeca)+_0x98e762(0x1d8,_0xef00f1._0x264877)+_0x98e762(0x2a3,0x2e1)]=_0x3844a2[_0x444090(_0xef00f1._0x2cf339,_0xef00f1._0x41ba9c)],this[_0x98e762(0x72e,0x4e0)]('dropped\x20'+_0x444090(0x2ef,_0xef00f1._0x10629c)+_0x98e762(_0xef00f1._0x5e6578,0x18c)+_0x98e762(_0xef00f1._0x302541,0x2fe)+_0x444090(_0xef00f1._0x58d7f2,0x169)+_0x444090(_0xef00f1._0x5cc242,_0xef00f1._0xced3cd)+_0x98e762(0x0,0x1c2)+_0x3844a2[_0x98e762(0x45a,_0xef00f1._0x2585a0)]+_0x444090(_0xef00f1._0x4fa133,0xc7)+_0x3844a2[_0x444090(0x35,0x201)][_0x98e762(0x2aa,0x31e)])),this['closeGat'+'eway'](!![]);}if(this[_0x98e762(0x3e0,_0xef00f1._0x200ce6)+_0x98e762(0x3d3,0x48b)]()&&!this[_0x444090(0x613,0x42b)+_0x444090(0x279,0x3f4)+_0x98e762(-_0xef00f1._0x586b38,_0xef00f1._0x4b56f6)+'ing']){const _0x36097c={};_0x36097c[_0x98e762(0x42e,0x46f)+_0x444090(_0xef00f1._0x7235c0,0xa4)]=!![],_0x36097c[_0x444090(0x2dd,_0xef00f1._0x74c64c)+'r']=null,this[_0x98e762(_0xef00f1._0x49193c,_0xef00f1._0x18c0f6)+_0x444090(0x109,0x2c1)](_0x36097c),this[_0x98e762(_0xef00f1._0x411c74,0x4e0)]('gateway\x20'+_0x444090(_0xef00f1._0x6a2935,0x35d)+'connecte'+_0x98e762(_0xef00f1._0x2c405e,0x390)+_0x98e762(_0xef00f1._0x41ba9c,0x198)+_0x444090(0x564,0x3f3)+this[_0x98e762(0x404,0x4a9)+_0x444090(_0xef00f1._0x5bcd9d,0x2a2)](this['gatewayC'+_0x444090(-0xf5,_0xef00f1._0x55d73d)+_0x98e762(0x3ae,0x3d5)])+('\x20handsha'+_0x444090(_0xef00f1._0x4a2488,0x13c)+'d=')+this[_0x444090(0x341,_0xef00f1._0x56e254)+_0x98e762(0x120,0x1bd)+_0x444090(-_0xef00f1._0x2a1fa9,0x143)]);}}this[_0x98e762(0x436,_0xef00f1._0x3e57bc)+_0x98e762(_0xef00f1._0x5d2e34,0x4f0)+_0x98e762(_0xef00f1._0x3d0c3e,0x468)]();return;}function _0x98e762(_0x453a37,_0x57fcef){return _0x1fe1a4(_0x453a37,_0x57fcef-0x57);}if(_0xe55be9[_0x98e762(0x1cb,_0xef00f1._0x5efee9)](_0x1c5487,'client_d'+_0x98e762(_0xef00f1._0x43049f,_0xef00f1._0x23db10)+'ted')){this[_0x98e762(0x365,0x134)+_0x444090(_0xef00f1._0x22cecd,0x179)+_0x444090(-0xfa,0x143)]=![];const _0x37f78e={};_0x37f78e[_0x98e762(0x5d7,_0xef00f1._0x37977a)+'unt']=0x0,this[_0x98e762(_0xef00f1._0x4dd735,_0xef00f1._0x40948c)+_0x444090(0x439,0x2c1)](_0x37f78e),this[_0x444090(_0xef00f1._0x58b98b,_0xef00f1._0x4dc768)+_0x98e762(_0xef00f1._0x4e9957,_0xef00f1._0x25e391)+'t'](),this[_0x444090(_0xef00f1._0x67b604,_0xef00f1._0x10d7ba)+_0x98e762(_0xef00f1._0x4c5692,0x26f)+_0x444090(_0xef00f1._0x4b4263,0x1f3)+'e']();const _0x292c31=summarizePendingGatewayMessages(this[_0x444090(_0xef00f1._0x269899,0x3ab)+_0x444090(_0xef00f1._0x1240df,0x2d1)+'ssages'])['connectR'+'equests'];_0xe55be9[_0x444090(_0xef00f1._0x49980a,0x2af)](shouldScheduleGatewayIdleClose,0x0,_0x292c31,this['isGatewa'+'yOpen']())?(this['log'](_0x444090(_0xef00f1._0x295113,_0xef00f1._0x3fa6bf)+_0x444090(_0xef00f1._0x1b5db6,0x1dc)+_0x444090(0x285,_0xef00f1._0x6071b9)+_0x444090(0x6e,0x249)+_0x444090(0x3da,_0xef00f1._0x3d446a)+'y'),this[_0x444090(0x26c,0x406)+_0x444090(0x29f,0x1c7)]()):(this[_0x444090(0x542,0x49c)](_0x98e762(_0xef00f1._0xa0191f,_0xef00f1._0x34a4c7)+'isconnec'+'ted;\x20gat'+_0x98e762(0x2c6,_0xef00f1._0x447533)+_0x444090(0x3a0,0x1ee)+_0x98e762(-0x12f,_0xef00f1._0x438188)),this[_0x444090(0x494,_0xef00f1._0x4fd85c)+_0x98e762(0x656,_0xef00f1._0x2a53e6)+'nected']());return;}}[_0x1fe1a4(0x13,0x23b)+_0x43d5cd(0x3db,0x2a9)+'tewayMes'+_0x1fe1a4(0x2a8,0x19f)](_0x28b21b){const _0x2e4f51={_0x35d7d4:0x42d,_0x139b24:0x147,_0x1399b9:0x376,_0x158bb5:0x16b,_0x524ebd:0x5b8,_0x2d8685:0x82d,_0x2e41d6:0x1da,_0x3efb6c:0x2b1,_0x1c6224:0x77,_0x9c5054:0x280,_0x2c7695:0x71f,_0x285e1f:0x6b6,_0x1dca6c:0xe6,_0x70ddc1:0x4b4,_0x5a7321:0x566,_0xf3e483:0x4cb,_0xecabb8:0x86,_0xb52adc:0x61b,_0x5d94d1:0x7fd,_0x24a5c3:0x84d,_0x47e60e:0x7bb,_0x1bc3fe:0x2cc,_0x2fa51b:0x4cb,_0x33157b:0x3ec,_0xbd45e4:0x1da,_0x1065db:0x3e7,_0x30da5f:0x532,_0x33e122:0x707,_0x19495d:0x85b,_0x1084f6:0x14b,_0x5c0f25:0x621,_0x59a1d2:0x441,_0x18beda:0x71f,_0x39930c:0x3eb,_0x29fa09:0x352,_0xb12750:0xa8,_0x4e707a:0xb7,_0xee816:0x5ce,_0x317191:0x25b,_0x1f9a7c:0xb8,_0xf1047d:0x74c,_0x56145c:0x641,_0x420d39:0x21c,_0x117de0:0x115,_0x2cacff:0x276,_0x21bc1a:0x618,_0x12e34e:0x28,_0x50f623:0x3d,_0x6b10ca:0x5c0,_0x1698d8:0x412},_0x44d270={_0x505f95:0x3b4},_0x1324c6={};function _0x498a86(_0x57bf5b,_0x1bbfff){return _0x1fe1a4(_0x1bbfff,_0x57bf5b- -0xa2);}_0x1324c6['DBQeG']=function(_0x2559c1,_0x46fd4c){return _0x2559c1===_0x46fd4c;};function _0x3625b7(_0x40b8e8,_0x199e6b){return _0x1fe1a4(_0x199e6b,_0x40b8e8-_0x44d270._0x505f95);}_0x1324c6[_0x3625b7(_0x2e4f51._0x35d7d4,0x2c7)]=function(_0x550fa0,_0x50054a){return _0x550fa0!==_0x50054a;};const _0x350292=_0x1324c6,_0x3e36d8=_0x350292['DBQeG'](_0x28b21b[_0x498a86(0xa7,-_0x2e4f51._0x139b24)],_0x3625b7(0x74f,0x936))&&isConnectHandshakeRequest(_0x28b21b['text']);if(this[_0x498a86(_0x2e4f51._0x1399b9,_0x2e4f51._0x158bb5)+'loseBoun'+_0x3625b7(0x542,0x3a3)+_0x3625b7(0x673,_0x2e4f51._0x524ebd)]){this[_0x498a86(0x75,0xb4)+_0x3625b7(_0x2e4f51._0x2d8685,0x7de)+_0x498a86(_0x2e4f51._0x2e41d6,0x292)+'e'](_0x28b21b);_0x3e36d8&&this[_0x3625b7(0x83d,0x7a0)](_0x498a86(0x178,-0x88)+_0x498a86(_0x2e4f51._0x3efb6c,_0x2e4f51._0x1c6224)+'ble\x20duri'+_0x498a86(0x1cb,_0x2e4f51._0x9c5054)+'ct\x20hands'+'hake;\x20qu'+_0x3625b7(_0x2e4f51._0x2c7695,_0x2e4f51._0x285e1f)+_0x498a86(0x3eb,0x1b2)+_0x498a86(0x21,-_0x2e4f51._0x1dca6c)+'nects');return;}const _0x9f464e=this[_0x3625b7(0x68a,_0x2e4f51._0x70ddc1)+_0x3625b7(_0x2e4f51._0x5a7321,_0x2e4f51._0xf3e483)];if(!_0x9f464e||_0x350292[_0x498a86(-0x29,-0x277)](_0x9f464e[_0x498a86(_0x2e4f51._0xecabb8,0xb9)+'te'],_0x5ebc89['OPEN'])){this[_0x3625b7(_0x2e4f51._0xb52adc,_0x2e4f51._0x5d94d1)+_0x3625b7(_0x2e4f51._0x24a5c3,_0x2e4f51._0x47e60e)+_0x498a86(0x36f,_0x2e4f51._0x1bc3fe)](),this[_0x3625b7(_0x2e4f51._0x2fa51b,_0x2e4f51._0x33157b)+'ingGatew'+_0x498a86(_0x2e4f51._0xbd45e4,0x358)+'e'](_0x28b21b);_0x3e36d8&&this[_0x498a86(_0x2e4f51._0x1065db,0x44b)](_0x3625b7(0x5ce,_0x2e4f51._0x30da5f)+_0x3625b7(_0x2e4f51._0x33e122,_0x2e4f51._0x19495d)+_0x498a86(_0x2e4f51._0x1084f6,0x2d4)+_0x3625b7(_0x2e4f51._0x5c0f25,0x5d3)+_0x498a86(0x44e,0x2b9)+_0x498a86(_0x2e4f51._0x59a1d2,0x63d)+_0x3625b7(_0x2e4f51._0x18beda,0x769)+_0x498a86(_0x2e4f51._0x39930c,0x5f6)+_0x498a86(0x21,-0xc8)+'nects');return;}if(!this[_0x3625b7(0x491,_0x2e4f51._0x29fa09)+'andshake'+_0x3625b7(0x4e4,0x38c)]){if(!_0x3e36d8){this['pushPend'+'ingGatew'+_0x498a86(_0x2e4f51._0xbd45e4,0x64)+'e'](_0x28b21b);return;}this[_0x498a86(0x3b,0xf7)+_0x3625b7(0x51a,0x72a)+_0x498a86(0x8e,_0x2e4f51._0xb12750)]=!![];const _0x54708f=parseConnectHandshakeMeta(_0x28b21b[_0x498a86(0x2f9,_0x2e4f51._0x4e707a)]);this[_0x498a86(_0x2e4f51._0x1065db,0x2c6)](_0x3625b7(_0x2e4f51._0xee816,0x6c5)+_0x498a86(0x126,_0x2e4f51._0x317191)+'e\x20starte'+_0x498a86(0x2d9,_0x2e4f51._0x1f9a7c)+'='+this[_0x3625b7(_0x2e4f51._0xf1047d,_0x2e4f51._0x56145c)+_0x498a86(_0x2e4f51._0x420d39,_0x2e4f51._0x117de0)+_0x498a86(0x1e8,_0x2e4f51._0x2cacff)][_0x3625b7(0x67b,_0x2e4f51._0x21bc1a)]+formatConnectHandshakeMetaForLog(_0x54708f));}this[_0x498a86(-_0x2e4f51._0x12e34e,-_0x2e4f51._0x50f623)+_0x3625b7(_0x2e4f51._0x6b10ca,_0x2e4f51._0x1698d8)](_0x28b21b);}['ensureGa'+'tewayCon'+_0x1fe1a4(0x60d,0x411)](){const _0x4dae90={_0x6b3b8b:0x1a7,_0x3563ae:0x1bd,_0x3d37be:0x16e,_0x40bc77:0x1d0,_0x1653fe:0x267,_0x124a77:0x3de,_0x59f296:0x3a6,_0x246560:0xa1,_0x31b84e:0x482,_0x1ac84e:0x3a3,_0xcf6cd9:0x199,_0x3c224f:0xfd,_0x44a376:0x6f,_0x51473f:0x5cf,_0x4f3900:0x133,_0x423be0:0x189,_0xebf24f:0x4fe,_0x150ba6:0x649,_0x76a568:0x4d0,_0x4d8c0d:0x3fe,_0x5bda6c:0x133,_0x2ead8c:0x1c6,_0x3a944a:0x537,_0x58adf0:0x5ae,_0x964252:0x65b},_0x564715={_0x4ea684:0x1ab,_0x13921c:0xa0,_0x18dd3a:0xef,_0x23d7b0:0x137,_0x186b70:0x37f,_0x2df8df:0x205,_0x5e58ca:0x12c,_0x81508e:0x2a4,_0x17ef99:0xc3,_0x375174:0x35b,_0x3c2d33:0x342,_0x2b2dca:0x1ea,_0x92f4be:0xc6,_0x166cf7:0xef,_0x2659d4:0x1c6,_0x4db1a1:0x54,_0x52b3ee:0x15f,_0x245dca:0x22a,_0x5f2a2b:0x7b,_0x58392a:0x1fa,_0x3aee35:0x61,_0x1b2add:0xb7,_0x5cfdca:0x19c,_0x385401:0x25d,_0x354368:0x16a,_0xb077f0:0x1a9,_0x275b15:0x5d,_0x159ac1:0xc3,_0x3e62c5:0xa6,_0x105f7a:0x157,_0x47a625:0x200,_0x35dc4f:0x110,_0x11ae87:0x15c,_0x15b00a:0x296,_0x1a2b53:0x480,_0x5e9131:0x2db,_0x3e636c:0x41d,_0x270359:0x22d,_0x16fa5a:0x1d7,_0x3d84ab:0xd0,_0x4dcee5:0x49f,_0x781850:0x15f,_0x8d2678:0x402,_0x466569:0x22a,_0x287f75:0x2c8,_0x40f041:0x4a4,_0x17a0d3:0x89,_0x1e945c:0x53,_0xaed271:0xc3,_0x57eb1f:0x437,_0x1a3ea1:0x462,_0x319f7c:0xe7,_0x220aed:0x125,_0x2eb832:0xb},_0x4c3056={_0x1a0041:0x299},_0x4c5b15={_0x5b8dd8:0x7db,_0x41ab91:0x73e},_0x2b3f83={_0x45d805:0x3c8},_0x5c3a43={_0x5f420d:0x604,_0x5f58ee:0x518,_0x3c8b8a:0x5d4},_0x2df5f6={_0x48f7a9:0xda},_0x58abc7={_0x1df3ca:0x35e,_0x3b292e:0x328,_0x4abec7:0x454,_0x42edaf:0x4de,_0x47eefb:0x520,_0x41473d:0x586,_0xbbee3e:0x601,_0x45725b:0x528,_0x4cc1fa:0x6b7,_0x1019e6:0x770,_0x4231e9:0x385,_0x29f771:0x838,_0x18f2ec:0x360,_0x5e6108:0x588,_0x4fee69:0x4de,_0x228abd:0x547,_0x1e3f34:0x469,_0x14fda5:0x393,_0x2ce2cc:0x17e,_0x1c410c:0x6ce,_0x1227dc:0x702,_0x49698d:0x5e2,_0x390e62:0x63a,_0x189f3d:0x551,_0x119fed:0x4f7,_0x384a60:0x4c4,_0x46fb18:0x532,_0x11c104:0x957,_0x1598c9:0x6af,_0x350abf:0x51d,_0x574bc2:0x5c7,_0x57c18d:0x5e3,_0xfc853d:0x3f0},_0x1f7138={_0x137da1:0x4b1},_0x47b0eb={_0x139ff7:0x24c},_0x1fad6c={};_0x1fad6c[_0x309f23(_0x4dae90._0x6b3b8b,_0x4dae90._0x3563ae)]=function(_0x4b4062,_0x5217d6){return _0x4b4062!==_0x5217d6;},_0x1fad6c[_0x4b695b(0x572,0x43b)]=_0x309f23(_0x4dae90._0x3d37be,_0x4dae90._0x40bc77);const _0x282101=_0x1fad6c;if(this[_0x309f23(_0x4dae90._0x1653fe,_0x4dae90._0x124a77)]||!this['isRelayO'+_0x309f23(_0x4dae90._0x59f296,0x4d3)]()||this[_0x4b695b(0x267,0x387)+_0x4b695b(_0x4dae90._0x246560,0x6f)+'g']||this['isGatewa'+_0x4b695b(_0x4dae90._0x31b84e,_0x4dae90._0x1ac84e)]()||this[_0x4b695b(_0x4dae90._0xcf6cd9,0x387)+'loseBoun'+_0x4b695b(0x133,_0x4dae90._0x3c224f)+'ing'])return;function _0x309f23(_0x39be56,_0x54945b){return _0x43d5cd(_0x54945b-_0x47b0eb._0x139ff7,_0x39be56);}function _0x4b695b(_0x174c68,_0x14e01c){return _0x43d5cd(_0x14e01c-0x75,_0x174c68);}this[_0x4b695b(0x306,0x387)+_0x4b695b(-0x1c1,_0x4dae90._0x44a376)+'g']=!![],this[_0x309f23(0x616,_0x4dae90._0x51473f)](_0x4b695b(_0x4dae90._0x4f3900,_0x4dae90._0x423be0)+_0x309f23(0x424,_0x4dae90._0xebf24f)+_0x309f23(0x262,0x477)+'l='+this['options'][_0x309f23(0x68e,_0x4dae90._0x150ba6)+'rl']);const _0x381042=this['createWe'+_0x4b695b(_0x4dae90._0x76a568,0x324)](this[_0x309f23(_0x4dae90._0x4d8c0d,0x45b)][_0x309f23(0x502,0x649)+'rl']);this['gatewayS'+'ocket']=_0x381042,_0x381042[_0x4b695b(_0x4dae90._0x5bda6c,_0x4dae90._0x2ead8c)]('open',()=>{if(this[_0x59fdd4(_0x58abc7._0x1df3ca,0x506)]||_0x282101[_0x3c1911(0x497,_0x58abc7._0x3b292e)](this[_0x59fdd4(0x39c,0x26e)+'ocket'],_0x381042)){_0x381042[_0x59fdd4(_0x58abc7._0x4abec7,0x4bf)]();return;}function _0x59fdd4(_0xd0d5fb,_0x1c2a0a){return _0x4b695b(_0x1c2a0a,_0xd0d5fb-0x157);}this[_0x59fdd4(_0x58abc7._0x42edaf,0x662)+_0x3c1911(_0x58abc7._0x47eefb,0x5da)+'g']=![],this['gatewayH'+_0x3c1911(_0x58abc7._0x41473d,_0x58abc7._0xbbee3e)+'Started']=![],this[_0x59fdd4(0x4de,_0x58abc7._0x45725b)+_0x59fdd4(0x4a7,_0x58abc7._0x4cc1fa)+_0x3c1911(0x5ae,_0x58abc7._0x1019e6)+_0x59fdd4(_0x58abc7._0x4231e9,0x238)]=![],this[_0x3c1911(_0x58abc7._0x29f771,0x957)+'onnected'+_0x59fdd4(0x444,_0x58abc7._0x18f2ec)]=Date[_0x3c1911(_0x58abc7._0x5e6108,0x656)]();const _0x536c06={};_0x536c06[_0x59fdd4(_0x58abc7._0x4fee69,0x2a2)+'onnected']=!![],_0x536c06[_0x59fdd4(_0x58abc7._0x228abd,_0x58abc7._0x1e3f34)+'r']=null;function _0x3c1911(_0x305eaa,_0xf0fee7){return _0x4b695b(_0xf0fee7,_0x305eaa-_0x1f7138._0x137da1);}this[_0x59fdd4(_0x58abc7._0x14fda5,_0x58abc7._0x2ce2cc)+_0x3c1911(_0x58abc7._0x1c410c,_0x58abc7._0x1227dc)](_0x536c06),this[_0x59fdd4(0x54f,_0x58abc7._0x49698d)](_0x3c1911(_0x58abc7._0x390e62,0x753)+_0x3c1911(0x54a,_0x58abc7._0x189f3d)+_0x59fdd4(_0x58abc7._0x119fed,_0x58abc7._0x384a60)+'lientDem'+_0x3c1911(_0x58abc7._0x46fb18,0x552)+this[_0x3c1911(0x872,_0x58abc7._0x11c104)+_0x3c1911(_0x58abc7._0x1598c9,0x74d)](this['clientDe'+_0x3c1911(_0x58abc7._0x350abf,0x6a0)+_0x59fdd4(_0x58abc7._0x574bc2,_0x58abc7._0x57c18d)])),this['flushPen'+_0x59fdd4(_0x58abc7._0xfc853d,0x232)+'wayMessa'+'ges']();}),_0x381042['on']('message',(_0x1fcab1,_0xdb15d1)=>{const _0x306f57={_0x380a22:0x40a};function _0x1dbe01(_0x22374d,_0x31a048){return _0x4b695b(_0x22374d,_0x31a048-_0x2df5f6._0x48f7a9);}function _0x2af22a(_0x1b09f8,_0x2d9367){return _0x4b695b(_0x2d9367,_0x1b09f8-_0x306f57._0x380a22);}this[_0x2af22a(0x77b,_0x5c3a43._0x5f420d)+'tewayMes'+_0x2af22a(_0x5c3a43._0x5f58ee,_0x5c3a43._0x3c8b8a)](_0x1fcab1,_0xdb15d1);}),_0x381042['once'](_0x309f23(0x4cf,_0x4dae90._0x3a944a),_0x5ebe1c=>{function _0x2e79ce(_0x1da91e,_0x5536ac){return _0x4b695b(_0x5536ac,_0x1da91e-0x3e3);}function _0x15099f(_0x5d503f,_0xcec914){return _0x4b695b(_0xcec914,_0x5d503f-_0x2b3f83._0x45d805);}this[_0x2e79ce(_0x4c5b15._0x5b8dd8,0x92b)](_0x15099f(0x551,0x3f8)+_0x2e79ce(_0x4c5b15._0x41ab91,0x538)+String(_0x5ebe1c));}),_0x381042[_0x309f23(_0x4dae90._0x58adf0,0x39d)](_0x309f23(_0x4dae90._0x964252,0x4d4),(_0x32a170,_0x57dde1)=>{const _0x3e87c6=summarizePendingGatewayMessages(this['pendingG'+_0x215e75(0x100,-0x6c)+_0x215e75(_0x564715._0x4ea684,-_0x564715._0x13921c)])[_0x215e75(_0x564715._0x18dd3a,0x59)+_0x215e75(-0xbc,0x1)],_0x1fcafe=this[_0x215e75(_0x564715._0x23d7b0,0xee)+_0x8e7fcb(_0x564715._0x186b70,_0x564715._0x2df8df)+_0x8e7fcb(_0x564715._0x5e58ca,-0x69)+_0x8e7fcb(0x25d,_0x564715._0x81508e)]&&shouldKeepGatewayConnected(this[_0x215e75(0x2ed,_0x564715._0x17ef99)][_0x8e7fcb(_0x564715._0x375174,_0x564715._0x3c2d33)+_0x215e75(-_0x564715._0x2b2dca,-0x3e)],_0x3e87c6);this[_0x215e75(-_0x564715._0x92f4be,-0x54)+_0x215e75(-_0x564715._0x166cf7,-0x178)]===_0x381042&&(this[_0x215e75(_0x564715._0x2659d4,-_0x564715._0x4db1a1)+_0x8e7fcb(0x150,0x332)]=null);this[_0x215e75(-_0x564715._0x52b3ee,0xee)+_0x215e75(-0x459,-_0x564715._0x245dca)+'g']=![],this[_0x8e7fcb(_0x564715._0x5f2a2b,-0x118)+'andshake'+_0x215e75(-0x10d,-_0x564715._0x58392a)]=![],this['gatewayC'+_0x215e75(_0x564715._0x3aee35,_0x564715._0x1b2add)+_0x215e75(-0x26b,-_0x564715._0x5cfdca)+_0x8e7fcb(_0x564715._0x385401,_0x564715._0x354368)]=![],this['gatewayC'+_0x8e7fcb(0x2f,_0x564715._0xb077f0)+'AtMs']=null;function _0x8e7fcb(_0x130849,_0x609a43){return _0x4b695b(_0x609a43,_0x130849-0x2f);}this[_0x215e75(0x38,-_0x564715._0x275b15)+_0x215e75(-0x11f,-0x7c)]({'gatewayConnected':![],'lastError':_0x32a170===0x3e8||_0x1fcafe?this[_0x215e75(0x5c,_0x564715._0x159ac1)][_0x215e75(-_0x564715._0x3e62c5,_0x564715._0x105f7a)+'r']:'gateway\x20'+_0x215e75(-0x17b,-0x290)+(_0x57dde1['toString']()||_0x32a170)}),this['log'](_0x215e75(-_0x564715._0x47a625,-_0x564715._0x35dc4f)+'disconne'+_0x215e75(-0x58,_0x564715._0x11ae87)+'e='+_0x32a170+'\x20reason='+(_0x57dde1['toString']()||_0x282101[_0x215e75(0x372,0x1a2)])+(_0x8e7fcb(_0x564715._0x15b00a,_0x564715._0x1a2b53)+_0x215e75(_0x564715._0x5e9131,0x11e)+_0x8e7fcb(_0x564715._0x3e636c,0x27f))+this[_0x215e75(0xb2,0x128)+_0x8e7fcb(_0x564715._0x270359,0x29e)](this[_0x8e7fcb(0x8c,_0x564715._0x16fa5a)+_0x215e75(-_0x564715._0x3d84ab,-_0x564715._0x270359)+_0x8e7fcb(_0x564715._0x4dcee5,0x347)]));if(_0x1fcafe){this[_0x215e75(0x77,_0x564715._0x781850)]('gateway\x20'+_0x8e7fcb(_0x564715._0x8d2678,0x308)+_0x8e7fcb(_0x564715._0x466569,0x3c4)+_0x215e75(-_0x564715._0x287f75,-0x156)+_0x8e7fcb(0x3a9,_0x564715._0x40f041)+'ting\x20for'+_0x215e75(-0xdc,0xce)+_0x8e7fcb(_0x564715._0x17a0d3,_0x564715._0x1e945c)),this[_0x215e75(0xcd,-_0x564715._0xaed271)+_0x8e7fcb(_0x564715._0x57eb1f,_0x564715._0x1a3ea1)+_0x215e75(0x324,_0x564715._0x319f7c)]();return;}function _0x215e75(_0x519c4b,_0x3a4353){return _0x4b695b(_0x519c4b,_0x3a4353- -_0x4c3056._0x1a0041);}this[_0x215e75(-0xc9,0x115)+'GatewayR'+_0x215e75(_0x564715._0x220aed,_0x564715._0x2eb832)]();});}[_0x1fe1a4(0x32b,0x402)+'tewayMes'+_0x1fe1a4(0x2fe,0x19f)](_0x38e7a3,_0x42b106){const _0x2e2868={_0x2c17d9:0x750,_0x228363:0x2a0,_0x1695a1:0x1c1,_0x1352de:0x709,_0x3b4344:0x57d,_0x12df43:0x4dc,_0x3aa79b:0x23b,_0x1d2474:0x8e1,_0x3c062e:0x582,_0x51743c:0x8a2,_0xb22364:0x80d,_0x1a9077:0x7c1,_0x459403:0x2ae,_0x19b3a1:0x2e1},_0xf46d33={_0x14007a:0x128},_0x14e1e2={'ISwWt':function(_0x4a41eb,_0x1d4971){return _0x4a41eb!==_0x1d4971;},'UIqFv':function(_0x340df4,_0x54af84){return _0x340df4(_0x54af84);}};function _0x54d5ef(_0x1226bc,_0x13f0e5){return _0x1fe1a4(_0x1226bc,_0x13f0e5-_0xf46d33._0x14007a);}const _0x50c13e=this[_0x3c90dc(_0x2e2868._0x2c17d9,0x63e)+_0x54d5ef(_0x2e2868._0x228363,_0x2e2868._0x1695a1)];if(!_0x50c13e||_0x14e1e2[_0x3c90dc(0x8a1,_0x2e2868._0x1352de)](_0x50c13e['readySta'+'te'],_0x5ebc89['OPEN']))return;if(_0x42b106){_0x50c13e[_0x54d5ef(_0x2e2868._0x3b4344,_0x2e2868._0x12df43)](_0x14e1e2[_0x3c90dc(0x876,0x634)](normalizeBinary,_0x38e7a3));return;}function _0x3c90dc(_0x5a453c,_0x5b35fb){return _0x1fe1a4(_0x5a453c,_0x5b35fb-0x45f);}const _0x2d95f6=normalizeText(_0x38e7a3);if(_0x2d95f6==null)return;const _0xb22327=parsePairingRequestFromError(_0x2d95f6);_0xb22327&&this[_0x54d5ef(_0x2e2868._0x3aa79b,0x42c)+_0x54d5ef(0x513,0x5f3)+_0x3c90dc(0xb31,_0x2e2868._0x1d2474)](_0xb22327);const _0x4901a3=parsePairResolvedEvent(_0x2d95f6);_0x4901a3&&this[_0x54d5ef(0x65d,_0x2e2868._0x3c062e)+_0x3c90dc(0xa67,_0x2e2868._0x51743c)+_0x54d5ef(0x396,0x57c)](_0x4901a3[_0x3c90dc(_0x2e2868._0xb22364,_0x2e2868._0x1a9077)+'d'],_0x4901a3[_0x54d5ef(_0x2e2868._0x459403,_0x2e2868._0x19b3a1)]),_0x50c13e[_0x3c90dc(0x731,0x813)](_0x2d95f6);}[_0x43d5cd(0x347,0x1e2)+_0x43d5cd(0x224,0x55)+_0x1fe1a4(0x489,0x41a)+_0x1fe1a4(0x124,0x1dd)](){const _0x4ae39d={_0x584ead:0x595,_0x308274:0x588,_0x53295c:0x5b7,_0x2cc7c8:0x379,_0x22c160:0x536,_0xc4c849:0x3f3,_0x2dc166:0x559,_0x17a940:0x2e8,_0x2939d2:0x70b,_0x514a7a:0x78e,_0x16ff52:0x1e0,_0xc02128:0x5ad,_0x2b3f91:0x769,_0x169263:0x2f3,_0x5d92e4:0x3c3,_0x54ac37:0x181,_0x4941a5:0x3ab,_0x522664:0x425,_0x578f84:0x495,_0x18dd2f:0x21a,_0x40ecab:0x235,_0x120cc1:0x34e,_0xd894f4:0x65a,_0x16bbba:0x279,_0x4defab:0x4a0,_0x413e52:0x30c,_0x1696bb:0x475,_0x4f14d8:0x17f,_0x42428e:0x67a,_0x1ace23:0x4eb},_0x4863f4={_0xbd477d:0x2bf},_0x2de80a={'ZCmXy':function(_0x1efbdd,_0x5a6ef2){return _0x1efbdd>_0x5a6ef2;},'vClUv':function(_0x646db0,_0x57f126){return _0x646db0(_0x57f126);}},_0x32958e=this[_0x5439ca(_0x4ae39d._0x584ead,_0x4ae39d._0x308274)+_0x533e03(0x2ff,0x2b7)];if(!_0x32958e||_0x32958e['readySta'+'te']!==_0x5ebc89[_0x533e03(0x3f4,_0x4ae39d._0x53295c)])return;const _0x5a8d16=[];function _0x5439ca(_0x46125e,_0x2ef2bc){return _0x1fe1a4(_0x2ef2bc,_0x46125e-_0x4863f4._0xbd477d);}const _0x3fef94=dedupePendingGatewayMessages(this[_0x5439ca(0x657,0x754)+_0x533e03(0x499,0x3c3)+_0x5439ca(0x549,0x42f)]);_0x2de80a[_0x5439ca(_0x4ae39d._0x2cc7c8,0x1aa)](_0x3fef94[_0x533e03(_0x4ae39d._0x22c160,_0x4ae39d._0xc4c849)],0x0)&&this['log'](_0x5439ca(_0x4ae39d._0x2dc166,0x3ab)+_0x5439ca(0x36c,0x2ff)+'eued\x20gat'+_0x533e03(0x236,_0x4ae39d._0x17a940)+_0x5439ca(_0x4ae39d._0x2939d2,0x699)+_0x5439ca(0x60c,_0x4ae39d._0x514a7a)+'sh\x20dropp'+_0x5439ca(0x42a,_0x4ae39d._0x16ff52)+_0x3fef94[_0x5439ca(_0x4ae39d._0xc02128,_0x4ae39d._0x2b3f91)]+'\x20kept='+_0x3fef94[_0x533e03(0x288,_0x4ae39d._0x169263)]['length']);this['pendingG'+_0x533e03(0x2d1,_0x4ae39d._0x5d92e4)+'ssages']=[];for(const _0x5324e9 of _0x3fef94[_0x533e03(_0x4ae39d._0x54ac37,0x2f3)]){if(!this[_0x533e03(_0x4ae39d._0x4941a5,0x1e2)+_0x5439ca(_0x4ae39d._0x522664,_0x4ae39d._0x578f84)+_0x533e03(_0x4ae39d._0x18dd2f,_0x4ae39d._0x40ecab)]){if(_0x5324e9[_0x533e03(_0x4ae39d._0x120cc1,0x24e)]!==_0x5439ca(_0x4ae39d._0xd894f4,0x86e)||!_0x2de80a['vClUv'](isConnectHandshakeRequest,_0x5324e9[_0x533e03(_0x4ae39d._0x16bbba,_0x4ae39d._0x4defab)])){_0x5a8d16[_0x533e03(0x55c,_0x4ae39d._0x413e52)](_0x5324e9);continue;}this[_0x5439ca(0x39c,0x33a)+_0x533e03(_0x4ae39d._0x1696bb,0x26b)+_0x5439ca(0x3ef,0x1da)]=!![];}this[_0x533e03(0x1b7,_0x4ae39d._0x4f14d8)+'teway'](_0x5324e9);}function _0x533e03(_0x5b0ed4,_0x182f37){return _0x1fe1a4(_0x5b0ed4,_0x182f37-0x105);}this[_0x533e03(_0x4ae39d._0x42428e,0x49d)+_0x5439ca(0x57d,0x437)+_0x533e03(_0x4ae39d._0x1ace23,0x38f)]=_0x5a8d16;}[_0x1fe1a4(-0x1b2,0x7a)+'teway'](_0x449b78){const _0x27b9dc={_0x158467:0x5ae,_0xc4577d:0x311,_0x2b9def:0x2ed,_0x5e51e1:0x253,_0x32cc3b:0x64f,_0x12dbe1:0x7ed,_0x28925a:0xa3,_0x3cbdc6:0x6,_0x504024:0x1c2,_0x201e0d:0x2b0,_0x532b11:0x65d,_0x5abb05:0x376,_0x1c23ba:0x65f,_0x279cae:0x53f,_0x16e588:0xcf,_0x219ba0:0x1df,_0x5f4ef8:0x2f9,_0x51d16d:0x1f0,_0x4f6b51:0xe4,_0x245299:0x1c2,_0x4f84e1:0x58a,_0x4f685a:0x139},_0x200a6f={_0x5916da:0x1d6};function _0x2fb77d(_0x39332e,_0x1a8b51){return _0x1fe1a4(_0x1a8b51,_0x39332e-_0x200a6f._0x5916da);}const _0x583b35=this['gatewayS'+_0x2fb77d(0x388,_0x27b9dc._0x158467)];if(!_0x583b35||_0x583b35[_0x2fb77d(0x2fe,_0x27b9dc._0xc4577d)+'te']!==_0x5ebc89['OPEN']){this[_0x2fb77d(_0x27b9dc._0x2b9def,_0x27b9dc._0x5e51e1)+_0x2fb77d(_0x27b9dc._0x32cc3b,_0x27b9dc._0x12dbe1)+_0x1e7fac(0x58,_0x27b9dc._0x28925a)+'e'](_0x449b78);return;}function _0x1e7fac(_0x4a891d,_0x18ebc4){return _0x1fe1a4(_0x4a891d,_0x18ebc4- -0x1d9);}if(_0x449b78['kind']==='text'){const _0x4afaa8=patchConnectRequestGatewayAuth(_0x449b78[_0x1e7fac(_0x27b9dc._0x3cbdc6,_0x27b9dc._0x504024)],readOpenClawInfo()),_0xfc5428=parseConnectHandshakeMeta(_0x4afaa8[_0x1e7fac(-0x63,0x1c2)]);_0xfc5428&&this[_0x1e7fac(0x32e,_0x27b9dc._0x201e0d)]('gateway\x20'+'connect\x20'+'request\x20'+_0x2fb77d(0x676,_0x27b9dc._0x532b11)+'d'+formatConnectHandshakeMetaForLog(_0xfc5428));_0x4afaa8[_0x2fb77d(_0x27b9dc._0x5abb05,0x47d)]&&this[_0x2fb77d(_0x27b9dc._0x1c23ba,_0x27b9dc._0x279cae)]('gateway\x20'+_0x1e7fac(_0x27b9dc._0x16e588,_0x27b9dc._0x219ba0)+_0x1e7fac(_0x27b9dc._0x5f4ef8,_0x27b9dc._0x51d16d)+_0x1e7fac(_0x27b9dc._0x4f6b51,0x203)+'e=passwo'+'rd');_0x583b35[_0x2fb77d(0x58a,0x665)](_0x4afaa8[_0x1e7fac(0x24d,_0x27b9dc._0x245299)]);return;}_0x583b35[_0x2fb77d(_0x27b9dc._0x4f84e1,0x42f)](_0x449b78[_0x1e7fac(_0x27b9dc._0x4f685a,-0x47)]);}[_0x43d5cd(0x26,-0x199)+'wayReque'+'st'](_0x12f624,_0x3ef1cb){const _0x47f86e={_0x21a88e:0x4f5,_0x71359c:0x280,_0x3ea702:0x328,_0x458e16:0x2e4,_0x560b85:0x30e,_0x3ca75b:0x556,_0xd4e509:0x560,_0x5dc068:0x4d1,_0x529005:0x560},_0x1636b6={_0x3b1714:0x17b};function _0x29f2c6(_0x1a4bdc,_0x5b27a0){return _0x1fe1a4(_0x1a4bdc,_0x5b27a0-_0x1636b6._0x3b1714);}function _0x47f3e1(_0x318492,_0x2ccd73){return _0x1fe1a4(_0x318492,_0x2ccd73-0x1c5);}const _0x51ed1e=JSON[_0x29f2c6(0x3e5,_0x47f86e._0x21a88e)+'y']({'type':'req','id':_0x47f3e1(_0x47f86e._0x71359c,_0x47f86e._0x3ea702)+_0x5d3333(),'method':_0x12f624,'params':_0x3ef1cb}),_0x4b9341={};_0x4b9341[_0x47f3e1(_0x47f86e._0x458e16,_0x47f86e._0x560b85)]=_0x47f3e1(_0x47f86e._0x3ca75b,_0x47f86e._0xd4e509),_0x4b9341[_0x47f3e1(_0x47f86e._0x5dc068,_0x47f86e._0x529005)]=_0x51ed1e,this['forwardO'+'rQueueGa'+'tewayMes'+_0x29f2c6(0x39f,0x31a)](_0x4b9341);}[_0x1fe1a4(0x472,0x3f3)+_0x1fe1a4(0x18e,0x1b4)](_0x31e59a=![]){const _0x1dc06={_0x2dc460:0xc5,_0x992f05:0x9b,_0x3294b8:0x84,_0x3129d5:0x168,_0x4883a5:0x242,_0x1ef49d:0x35a,_0x2aa759:0x36f,_0x348d5b:0x54c,_0x68baa1:0x263,_0x1f05ff:0x37,_0x51e2ea:0x279,_0x26f797:0x644,_0x5b718e:0x258,_0x5f2acb:0x288,_0x417315:0x485,_0x21e9d0:0x1b7,_0x2e50a5:0x25,_0x21871c:0x7e,_0x23b015:0x2e3,_0x41d36d:0x12d,_0x176a41:0x1ac,_0x94b285:0x55a,_0x470814:0x639,_0x578b24:0x48d,_0x296a32:0x413,_0x13c361:0x2ac,_0x2fb8f4:0xac,_0x11c711:0x59,_0x4b6db9:0x251,_0x1a1dbc:0x1ad,_0x4e899d:0x1b9,_0xfd2135:0x271,_0x2812e2:0x4b9,_0x267ab9:0x22b,_0x46dc1b:0x41f,_0x147db8:0x7d,_0x2d79c2:0xde,_0x145e17:0x7d,_0x97526e:0xe4,_0x220bb5:0x2e3,_0x5561bf:0x8d,_0x2e1347:0x283,_0x24f853:0x2a6,_0x1e90f5:0xc4,_0x4efe41:0x52a,_0x42601f:0x5e5,_0x230077:0x2d7},_0x3594a3={};function _0x41f370(_0x55393e,_0x270f09){return _0x1fe1a4(_0x270f09,_0x55393e-0x149);}_0x3594a3[_0x3bce8b(-_0x1dc06._0x2dc460,-_0x1dc06._0x992f05)]=function(_0x192080,_0x3bc23e){return _0x192080===_0x3bc23e;};const _0x214f96=_0x3594a3;this[_0x3bce8b(0x180,-_0x1dc06._0x3294b8)+_0x3bce8b(0x36f,_0x1dc06._0x3129d5)+'r']&&(clearTimeout(this[_0x41f370(0x3fe,_0x1dc06._0x4883a5)+_0x3bce8b(0x36f,0x203)+'r']),this[_0x41f370(0x3fe,_0x1dc06._0x1ef49d)+_0x3bce8b(_0x1dc06._0x2aa759,_0x1dc06._0x348d5b)+'r']=null);const _0x355222=summarizePendingGatewayMessages(this[_0x3bce8b(_0x1dc06._0x68baa1,_0x1dc06._0x1f05ff)+'atewayMe'+_0x41f370(0x3d3,_0x1dc06._0x51e2ea)])[_0x41f370(0x4cc,_0x1dc06._0x26f797)+'equests'],_0x29a151=_0x31e59a&&this[_0x41f370(0x537,0x523)+_0x3bce8b(_0x1dc06._0x5b718e,0x300)]()&&shouldKeepGatewayConnected(this['snapshot'][_0x3bce8b(_0x1dc06._0x5f2acb,_0x1dc06._0x417315)+_0x3bce8b(_0x1dc06._0x21e9d0,0x3e7)],_0x355222),_0x51e4ef=this['gatewayS'+_0x41f370(0x2fb,0x251)];function _0x3bce8b(_0x57c47e,_0x559325){return _0x1fe1a4(_0x559325,_0x57c47e- -0x135);}this[_0x41f370(0x226,-_0x1dc06._0x2e50a5)+'andshake'+_0x41f370(0x279,0x358)]=![],this['gatewayC'+_0x3bce8b(-0xa4,_0x1dc06._0x21871c)+'AtMs']=null;if(!_0x51e4ef){this[_0x3bce8b(0x2e3,0x288)+'loseBoun'+_0x3bce8b(0x59,-0x55)+'ing']=![],this[_0x3bce8b(_0x1dc06._0x23b015,0x3d2)+_0x3bce8b(-0x35,_0x1dc06._0x41d36d)+'g']=![];_0x29a151&&this[_0x3bce8b(0x132,0x2c)+_0x3bce8b(0x364,_0x1dc06._0x176a41)+_0x41f370(_0x1dc06._0x94b285,_0x1dc06._0x470814)]();return;}if(_0x51e4ef['readySta'+'te']===_0x5ebc89[_0x41f370(_0x1dc06._0x578b24,_0x1dc06._0x296a32)]){this[_0x41f370(0x561,0x35c)+_0x3bce8b(_0x1dc06._0x13c361,_0x1dc06._0x2fb8f4)+_0x3bce8b(_0x1dc06._0x11c711,_0x1dc06._0x4b6db9)+_0x3bce8b(0x18a,_0x1dc06._0x1a1dbc)]=_0x29a151;return;}if(_0x214f96[_0x41f370(_0x1dc06._0x4e899d,0x399)](_0x51e4ef[_0x41f370(_0x1dc06._0xfd2135,_0x1dc06._0x2812e2)+'te'],_0x5ebc89[_0x41f370(_0x1dc06._0x267ab9,0x26)])){this[_0x41f370(_0x1dc06._0x46dc1b,0x3ff)+_0x3bce8b(_0x1dc06._0x147db8,0x1e4)]===_0x51e4ef&&(this[_0x3bce8b(0x1a1,_0x1dc06._0x2d79c2)+_0x3bce8b(_0x1dc06._0x145e17,-_0x1dc06._0x97526e)]=null);this[_0x3bce8b(_0x1dc06._0x220bb5,_0x1dc06._0x5561bf)+_0x41f370(0x52a,0x378)+_0x41f370(0x2d7,_0x1dc06._0x2e1347)+_0x3bce8b(0x18a,0x321)]=![],this[_0x3bce8b(0x2e3,0x45f)+'onnectin'+'g']=![];_0x29a151&&this['ensureGa'+_0x3bce8b(0x364,_0x1dc06._0x24f853)+_0x3bce8b(0x2dc,0x218)]();return;}this[_0x3bce8b(0x2e3,_0x1dc06._0x1e90f5)+_0x41f370(_0x1dc06._0x4efe41,_0x1dc06._0x42601f)+_0x41f370(_0x1dc06._0x230077,0x280)+_0x3bce8b(0x18a,0x4a)]=_0x29a151,_0x51e4ef[_0x41f370(0x4d7,0x3f5)]();}[_0x43d5cd(0x26e,0x22d)+'bSocket'](_0x26a901){const _0x59a4ed={_0x46524b:0x466,_0x2909b7:0x2f2,_0x4b97be:0x3a6,_0x42eb9c:0x347,_0x3a35e0:0x7c1},_0x49372f={_0x362069:0x138},_0x2a82c3={_0x4257aa:0x3bd},_0x1dcbf8={};function _0x48d338(_0x5b48f3,_0x3c57d8){return _0x43d5cd(_0x3c57d8-_0x2a82c3._0x4257aa,_0x5b48f3);}_0x1dcbf8['rkBDR']=function(_0xfa302b,_0x11ad36){return _0xfa302b*_0x11ad36;};const _0x1a93bc=_0x1dcbf8;function _0x19f5ff(_0x3e0afb,_0x39b927){return _0x43d5cd(_0x39b927-_0x49372f._0x362069,_0x3e0afb);}if(this[_0x19f5ff(_0x59a4ed._0x46524b,0x347)][_0x19f5ff(_0x59a4ed._0x2909b7,_0x59a4ed._0x4b97be)+_0x48d338(0x696,0x66c)])return this[_0x19f5ff(0x142,_0x59a4ed._0x42eb9c)][_0x19f5ff(0x375,0x3a6)+_0x48d338(_0x59a4ed._0x3a35e0,0x66c)](_0x26a901);return new _0x5ebc89(_0x26a901,{'maxPayload':_0x1a93bc[_0x48d338(0x3ff,0x386)](0x19,0x400)*0x400});}[_0x1fe1a4(0x4f5,0x43f)+_0x43d5cd(0x2c9,0x1d2)+_0x43d5cd(0x2ef,0x4fc)](){const _0x1399f6={_0x4f5d5f:0x100,_0x50673b:0x573,_0x4cc8fe:0x3f9,_0x1bb20e:0x136,_0x180245:0xcf,_0x489409:0x5e3,_0xf1c7b6:0x26c,_0x4fdf87:0x1b5,_0x31036a:0x397,_0x21a9e8:0x369,_0x56bae8:0x347,_0x2e3e07:0x1c7,_0x53a6d1:0x298,_0x3d1d28:0x315,_0x1711ba:0x468,_0x117e02:0x2e1,_0x4d2cd1:0x3a4},_0x4a0fa4={_0x5dcdb9:0x4d7,_0x247924:0x2ab,_0x4da6f7:0x11},_0x256899={_0x42dd29:0x36},_0x2ba78f={_0x6d90c5:0x2c},_0xf0e4c1={_0x48ad5f:0x12a};function _0x508184(_0x42e885,_0x51d467){return _0x1fe1a4(_0x51d467,_0x42e885- -0x120);}if(this['stopped']||this['reconnec'+_0x508184(0x3ae,0x37f)])return;const _0x3e41a2=this[_0x508184(0x1f5,_0x1399f6._0x4f5d5f)]['reconnec'+_0x508184(0x38e,_0x1399f6._0x50673b)+_0x508184(_0x1399f6._0x4cc8fe,0x288)]??RECONNECT_BASE_DELAY_MS;function _0x2872c3(_0xad4263,_0x200c90){return _0x1fe1a4(_0xad4263,_0x200c90- -_0xf0e4c1._0x48ad5f);}const _0x3734ce=this[_0x508184(0x1f5,0x7d)][_0x508184(0x2eb,_0x1399f6._0x1bb20e)+_0x508184(0x3e9,0x53f)+_0x508184(_0x1399f6._0x1bb20e,_0x1399f6._0x180245)]??RECONNECT_MAX_DELAY_MS,_0x1426e5=Math[_0x2872c3(_0x1399f6._0x489409,0x3c2)](_0x3734ce,_0x3e41a2*Math[_0x508184(_0x1399f6._0xf1c7b6,_0x1399f6._0x4fdf87)](0x1,this[_0x2872c3(_0x1399f6._0x31036a,0x22e)+'empt']));this[_0x508184(_0x1399f6._0x21a9e8,_0x1399f6._0x56bae8)](_0x508184(0x266,_0x1399f6._0x2e3e07)+_0x508184(_0x1399f6._0x53a6d1,0x107)+_0x2872c3(0x37a,_0x1399f6._0x3d1d28)+_0x2872c3(_0x1399f6._0x1711ba,0x2d5)+'s='+_0x1426e5),this[_0x2872c3(0x2a0,_0x1399f6._0x117e02)+_0x2872c3(0x1f4,_0x1399f6._0x4d2cd1)]=setTimeout(()=>{this[_0x5e8ddc(_0x4a0fa4._0x5dcdb9,_0x4a0fa4._0x247924)+'tTimer']=null;function _0x55fb96(_0x57332e,_0x4ad9e8){return _0x2872c3(_0x57332e,_0x4ad9e8- -_0x2ba78f._0x6d90c5);}function _0x5e8ddc(_0x3dc522,_0x513424){return _0x2872c3(_0x3dc522,_0x513424- -_0x256899._0x42dd29);}void this['connectR'+_0x5e8ddc(-_0x4a0fa4._0x4da6f7,0xc3)]();},_0x1426e5);}[_0x43d5cd(0x339,0x2bf)+_0x43d5cd(0x154,-0x83)+_0x43d5cd(0x22f,0x410)](){const _0x334169={_0x3138ef:0x48e,_0x2a4d73:0x463,_0x4aad7c:0x82,_0x156e52:0x10e,_0x3d1347:0x364,_0x336903:0xb9,_0x10418e:0x23,_0x5e2ecc:0x48e,_0xe807ec:0x75e},_0x113512={_0x26f3e6:0x60b,_0x186438:0x7fa,_0xd83aeb:0x65f,_0x4da4e6:0x5bd,_0x11cb65:0x6b3,_0x167698:0x7ef,_0x591dc0:0x627,_0xcb5ea4:0x231},_0x51a1e4={_0x4e038d:0x2df},_0x341da0={'OMykM':function(_0x40911a,_0x11acc4){return _0x40911a(_0x11acc4);}},_0xee994d=_0x341da0[_0x4cf346(_0x334169._0x3138ef,0x482)](summarizePendingGatewayMessages,this['pendingG'+'atewayMe'+_0x4cf346(0x35e,_0x334169._0x2a4d73)])['connectR'+'equests'];function _0x4cf346(_0x47dd35,_0x4aa27d){return _0x43d5cd(_0x4aa27d-_0x51a1e4._0x4e038d,_0x47dd35);}function _0x5c07a5(_0x40f29d,_0x51e3b7){return _0x43d5cd(_0x51e3b7- -0x12d,_0x40f29d);}if(this['stopped']||this[_0x5c07a5(-0x11b,_0x334169._0x4aad7c)+_0x5c07a5(_0x334169._0x156e52,0x271)+'r']||!this['isRelayO'+_0x5c07a5(_0x334169._0x3d1347,0x15a)]()||!shouldKeepGatewayConnected(this[_0x4cf346(0x614,0x5c6)][_0x5c07a5(0x341,0x18a)+_0x5c07a5(0x2f0,_0x334169._0x336903)],_0xee994d))return;const _0x2a2e28=this['options']['gatewayR'+'etryDela'+_0x5c07a5(-0x1,_0x334169._0x10418e)]??GATEWAY_RETRY_DELAY_MS;this[_0x4cf346(0x2a7,_0x334169._0x5e2ecc)+_0x4cf346(_0x334169._0xe807ec,0x67d)+'r']=setTimeout(()=>{function _0x1ecafd(_0x1f7f5f,_0x27c7a2){return _0x5c07a5(_0x27c7a2,_0x1f7f5f-0x589);}function _0x601295(_0x5741d6,_0x160720){return _0x5c07a5(_0x5741d6,_0x160720-0x53);}this[_0x1ecafd(_0x113512._0x26f3e6,0x3b6)+_0x1ecafd(_0x113512._0x186438,_0x113512._0xd83aeb)+'r']=null,this[_0x1ecafd(_0x113512._0x4da4e6,_0x113512._0x11cb65)+_0x1ecafd(_0x113512._0x167698,_0x113512._0x591dc0)+_0x601295(0x13c,_0x113512._0xcb5ea4)]();},_0x2a2e28);}[_0x43d5cd(0x2fb,0x29c)+_0x1fe1a4(0x222,0xcd)](){const _0x400ba9={_0x51f080:0x521,_0x6719ed:0x536,_0x42de62:0x7e7,_0x4e8f39:0x581,_0x47e3b7:0x49a},_0x53d7af={_0xa8823:0x268,_0x46cfbc:0x136,_0x302ab8:0x323,_0x5e870a:0xbe,_0x2c7aa5:0x176,_0x32f900:0x3e9,_0x22cb7a:0x403,_0x4dd562:0x99,_0x55cf8c:0x3f6,_0x463a12:0x3d2,_0xcbdc1:0x46d},_0x5a75d6={_0x321c46:0x26c},_0x2d0255={_0x4095fa:0x1d3};function _0x522295(_0x1f6d37,_0x288a23){return _0x1fe1a4(_0x288a23,_0x1f6d37-_0x2d0255._0x4095fa);}function _0xb1b379(_0x2d1cfb,_0x153136){return _0x1fe1a4(_0x2d1cfb,_0x153136-_0x5a75d6._0x321c46);}this[_0x522295(_0x400ba9._0x51f080,_0x400ba9._0x6719ed)+'tbeat'](),this['heartbea'+_0x522295(0x6a1,_0x400ba9._0x42de62)]=setInterval(()=>{const _0x130f84={_0x4bcd05:0x259},_0x3d3131=this[_0x246265(0x2d1,0x159)+_0x1db7a3(_0x53d7af._0xa8823,0xa7)];function _0x1db7a3(_0x5ab6d4,_0x1cba7a){return _0x522295(_0x1cba7a- -0x1c5,_0x5ab6d4);}if(!_0x3d3131||_0x3d3131[_0x1db7a3(0x1a9,_0x53d7af._0x46cfbc)+'te']!==_0x5ebc89['OPEN'])return;const _0x29f1d5=this[_0x1db7a3(0x44b,_0x53d7af._0x302ab8)][_0x1db7a3(_0x53d7af._0x5e870a,0x10f)+'tTimeout'+'Ms']??HEARTBEAT_TIMEOUT_MS;if(Date[_0x1db7a3(0x51,_0x53d7af._0x2c7aa5)]()-this[_0x246265(0x405,0x31e)+_0x246265(0xa5,0x3)+_0x1db7a3(_0x53d7af._0x32f900,0x264)]>_0x29f1d5){this[_0x246265(0x50b,_0x53d7af._0x22cb7a)](_0x246265(_0x53d7af._0x4dd562,0x37)+_0x1db7a3(0x29f,_0x53d7af._0x55cf8c)+_0x1db7a3(0x1e0,_0x53d7af._0x463a12)+'t'),_0x3d3131[_0x1db7a3(0x2ce,_0x53d7af._0xcbdc1)+'e']();return;}function _0x246265(_0x4b08bd,_0x4a4665){return _0x522295(_0x4a4665- -_0x130f84._0x4bcd05,_0x4b08bd);}_0x3d3131['ping']();},this[_0xb1b379(0x3f8,_0x400ba9._0x4e8f39)][_0x522295(0x2d4,_0x400ba9._0x47e3b7)+'tInterva'+'lMs']??HEARTBEAT_INTERVAL_MS);}[_0x1fe1a4(0x14e,0x34e)+_0x1fe1a4(0x276,0x2de)](){const _0x3c6573={_0x2b9cd3:0x176,_0x37a785:0x2f6},_0x32e26c={_0x42048a:0x1f5},_0x37c073={_0x24374f:0x277};function _0x53830d(_0x109a45,_0xcaa13f){return _0x1fe1a4(_0x109a45,_0xcaa13f- -_0x37c073._0x24374f);}function _0x40311f(_0x299770,_0x2bef99){return _0x1fe1a4(_0x2bef99,_0x299770-_0x32e26c._0x42048a);}this[_0x53830d(-0x1b9,-_0x3c6573._0x2b9cd3)+'tTimer']&&(clearInterval(this['heartbea'+_0x53830d(0x243,0x257)]),this[_0x40311f(_0x3c6573._0x37a785,0xce)+'tTimer']=null);}[_0x43d5cd(0x11,0x1e3)+_0x1fe1a4(0x3f7,0x479)+_0x43d5cd(0x176,0x2ae)+'e'](_0x336889){const _0x2ea6e9={_0x91cce1:0x36b,_0x1188e3:0x2a4,_0x788b8:0x29a,_0x4e8ce7:0x221,_0x5cec24:0x1cc},_0x12367f={_0x20abf8:0x2d};function _0xf19edb(_0x18d43b,_0x3ead7b){return _0x1fe1a4(_0x3ead7b,_0x18d43b-0x1a);}function _0x4a02f9(_0x3bc940,_0x302c75){return _0x1fe1a4(_0x302c75,_0x3bc940- -_0x12367f._0x20abf8);}this[_0x4a02f9(_0x2ea6e9._0x91cce1,0x122)+'atewayMe'+_0xf19edb(_0x2ea6e9._0x1188e3,0x2fe)][_0x4a02f9(_0x2ea6e9._0x788b8,0xee)]>=MAX_PENDING_GATEWAY_MESSAGES&&this[_0x4a02f9(0x36b,0x3a0)+_0xf19edb(0x2d8,0xe0)+_0x4a02f9(0x25d,0x407)][_0xf19edb(0xc9,0x1a0)](),this['pendingG'+'atewayMe'+'ssages'][_0xf19edb(_0x2ea6e9._0x4e8ce7,_0x2ea6e9._0x5cec24)](_0x336889);}[_0x1fe1a4(0x2e7,0x3e3)+_0x1fe1a4(0x26e,0x218)+'ewayQueu'+'e'](){const _0x3daa9c={_0x88ce0e:0x593,_0x208dfa:0x658,_0x4e6000:0x5b4,_0x2b64a5:0x5e1,_0x481b01:0x925,_0x1df02c:0x56d,_0x505ce7:0x7b5,_0x11454d:0x3c2,_0x4a6983:0x8ae,_0x1233bc:0x69c,_0x3fb384:0x65c};function _0xf0bff1(_0x6abe99,_0x2fd03c){return _0x1fe1a4(_0x2fd03c,_0x6abe99-0x2f6);}const _0x1b3bf9={'uqrSq':function(_0x1beea7,_0x1cce28){return _0x1beea7(_0x1cce28);}},_0x1cda81=_0x1b3bf9['uqrSq'](summarizePendingGatewayMessages,this['pendingG'+_0x52f0e3(0x6da,_0x3daa9c._0x88ce0e)+_0x52f0e3(0x40e,0x55f)]);function _0x52f0e3(_0x1a4757,_0x316616){return _0x1fe1a4(_0x1a4757,_0x316616-0x2d5);}if(_0x1cda81[_0xf0bff1(0x7b7,0x7b2)]===0x0||_0x1cda81[_0x52f0e3(0x4d2,_0x3daa9c._0x208dfa)+'equests']>0x0)return;this[_0xf0bff1(0x68e,0x845)+_0xf0bff1(_0x3daa9c._0x4e6000,0x6a5)+_0xf0bff1(0x580,_0x3daa9c._0x2b64a5)]=[],this[_0x52f0e3(_0x3daa9c._0x481b01,0x75e)](_0xf0bff1(0x590,0x583)+_0xf0bff1(_0x3daa9c._0x1df02c,_0x3daa9c._0x505ce7)+_0xf0bff1(0x59c,_0x3daa9c._0x11454d)+'ay\x20queue'+'\x20total='+_0x1cda81[_0x52f0e3(_0x3daa9c._0x4a6983,0x796)]+_0xf0bff1(_0x3daa9c._0x1233bc,0x7c4)+_0x1cda81['otherTex'+'t']+'\x20binary='+_0x1cda81[_0x52f0e3(0x515,_0x3daa9c._0x3fb384)]);}[_0x1fe1a4(0x3f5,0x458)+_0x1fe1a4(0xaa,0x1ea)+_0x43d5cd(0x4a,0x7f)](_0x27a076,_0xed7743){const _0x3cc8ba={_0x4f0afc:0x16e,_0x479426:0x2d,_0x342dec:0x752,_0x8e810c:0x1ff,_0x42ba88:0x118,_0x243c69:0x4b,_0x216219:0x68,_0x18e534:0x2bf,_0x3347c7:0x1e2,_0x46086c:0x31f,_0x2cd842:0x3ef,_0x35d987:0x544,_0x2e5ef2:0x629,_0x24f3cb:0x106,_0x2d2f89:0x55f,_0x55b3da:0x524},_0x592346={};_0x592346['CUmOm']=_0x3acfb9(-_0x3cc8ba._0x4f0afc,-0xbc)+'d';const _0x55ea93=_0x592346;function _0x28889a(_0x1619ef,_0x45f051){return _0x1fe1a4(_0x1619ef,_0x45f051-0x257);}const _0x5a4784=Date['now'](),_0x12adeb=new Map(this['snapshot'][_0x28889a(0x162,0x381)+_0x3acfb9(_0x3cc8ba._0x479426,0x172)][_0x28889a(0x710,_0x3cc8ba._0x342dec)](_0xd159ec=>[_0xd159ec['id'],{..._0xd159ec}])),_0x50f303=_0x12adeb[_0x3acfb9(-0x11f,-_0x3cc8ba._0x8e810c)](_0x27a076)??{'id':_0x27a076,'label':_0xed7743,'state':_0x3acfb9(-0x16e,-_0x3cc8ba._0x42ba88)+'d','lastSeenMs':_0x5a4784};_0x50f303[_0x3acfb9(0x70,-_0x3cc8ba._0x243c69)]=_0xed7743,_0x50f303[_0x3acfb9(_0x3cc8ba._0x216219,_0x3cc8ba._0x18e534)]=_0x55ea93[_0x28889a(_0x3cc8ba._0x3347c7,_0x3cc8ba._0x46086c)];function _0x3acfb9(_0x6d2ef0,_0x4349c5){return _0x1fe1a4(_0x4349c5,_0x6d2ef0- -0x298);}_0x50f303['lastSeen'+'Ms']=_0x5a4784,_0x12adeb[_0x28889a(_0x3cc8ba._0x2cd842,_0x3cc8ba._0x35d987)](_0x27a076,_0x50f303);const _0x27a0af=[..._0x12adeb[_0x3acfb9(0xc5,0x31a)]()][_0x28889a(0x2a2,0x35a)]((_0x2b66e8,_0x25eb09)=>_0x25eb09[_0x28889a(0x5e5,0x5ee)+'Ms']-_0x2b66e8[_0x3acfb9(0xff,0x2f0)+'Ms'])[_0x28889a(_0x3cc8ba._0x2e5ef2,0x6d1)](0x0,MAX_DEVICE_DETAILS),_0x2f8c14={};_0x2f8c14[_0x3acfb9(-0x16e,-_0x3cc8ba._0x24f3cb)+_0x28889a(0x3be,0x51c)]=_0x27a0af,this[_0x28889a(_0x3cc8ba._0x2d2f89,_0x3cc8ba._0x55b3da)+'apshot'](_0x2f8c14);}[_0x1fe1a4(0x12b,0x31d)+_0x1fe1a4(0x117,0xf8)+'t'](){const _0x5ed1db={_0x355877:0x271,_0x15b178:0x391,_0x277cd5:0x484,_0x5e330b:0x5b9,_0xc97ddf:0x4f1},_0x529065={_0x3c9764:0x3fa};function _0x548c85(_0x2e2ebe,_0x11909e){return _0x43d5cd(_0x2e2ebe-0xaa,_0x11909e);}function _0xa1ac58(_0x3f6e5d,_0x2519f6){return _0x43d5cd(_0x2519f6-_0x529065._0x3c9764,_0x3f6e5d);}this[_0x548c85(_0x5ed1db._0x355877,0x22)+'apshot']({'connectedDevices':this[_0x548c85(_0x5ed1db._0x15b178,0x3e3)]['connecte'+_0xa1ac58(_0x5ed1db._0x277cd5,_0x5ed1db._0x5e330b)][_0x548c85(0x49f,_0x5ed1db._0xc97ddf)](_0x4031a2=>({..._0x4031a2,'state':_0xa1ac58(0x551,0x3d7)}))});}['addPendi'+_0x1fe1a4(0x60c,0x4cb)+_0x43d5cd(0x37c,0x40c)](_0x437ed7){const _0x348d20={_0x1c8882:0x54a,_0x167d91:0x407,_0x72d25c:0x219,_0x150569:0x1bb,_0x29f480:0x17f,_0xc84388:0x2e2,_0x67e837:0x306,_0x3e2e85:0x5e,_0x37e9fc:0x1c1,_0x31d83b:0x20e,_0x1f65b9:0x2c0,_0x21e6e6:0x1c1,_0x32c97e:0x24d,_0x33115d:0x2b,_0x3add15:0x602,_0x15eee0:0x143,_0x5cca09:0x0,_0x1a456b:0x4b1,_0x22b87e:0x647,_0x30276f:0x4,_0x26b660:0x63b,_0x3f030e:0x11e};if(this[_0x465261(_0x348d20._0x1c8882,0x5a7)]['pendingP'+_0x1b92df(-_0x348d20._0x167d91,-_0x348d20._0x72d25c)+'sts'][_0x1b92df(_0x348d20._0x150569,_0x348d20._0x29f480)](_0x16506f=>_0x16506f['requestI'+'d']===_0x437ed7['requestI'+'d']))return;const _0x44ce17=[...this[_0x465261(0x54a,0x366)][_0x465261(_0x348d20._0xc84388,0x112)+_0x1b92df(-_0x348d20._0x67e837,-_0x348d20._0x72d25c)+_0x1b92df(_0x348d20._0x3e2e85,-_0x348d20._0x37e9fc)],_0x437ed7]['slice'](-MAX_PENDING_PAIR_REQUESTS);function _0x1b92df(_0x166cfc,_0x2b6d82){return _0x1fe1a4(_0x166cfc,_0x2b6d82- -0x340);}const _0x44ef0a={};_0x44ef0a['pendingP'+_0x465261(0x284,_0x348d20._0x31d83b)+_0x1b92df(-_0x348d20._0x1f65b9,-_0x348d20._0x21e6e6)]=_0x44ce17;function _0x465261(_0x1e6d42,_0x8132ec){return _0x1fe1a4(_0x8132ec,_0x1e6d42-0x15d);}this[_0x1b92df(0x198,-0x73)+_0x1b92df(-_0x348d20._0x32c97e,-0x92)](_0x44ef0a),this[_0x1b92df(-0x5a,-_0x348d20._0x33115d)][_0x465261(_0x348d20._0x3add15,0x69d)+'gPairReq'+_0x1b92df(-_0x348d20._0x15eee0,_0x348d20._0x5cca09)]?.(_0x437ed7),this[_0x1b92df(0x1e9,0x149)](_0x465261(0x671,0x5dc)+'uest\x20pen'+_0x465261(_0x348d20._0x1a456b,_0x348d20._0x22b87e)+_0x1b92df(0x15e,-_0x348d20._0x30276f)+_0x437ed7[_0x465261(0x4bf,0x40c)+'d']+(_0x465261(_0x348d20._0x26b660,0x857)+'d=')+(_0x437ed7[_0x1b92df(-0xee,-_0x348d20._0x3f030e)]||_0x1b92df(0x164,0x189)+'>'));}['markPair'+'RequestR'+_0x43d5cd(0x34e,0x310)](_0xaf1d23,_0x4d52a6){const _0xc53ba0={_0x4f0eb9:0x43d,_0x548c83:0x2b9,_0x23cabc:0x167,_0x3873aa:0xd,_0x4c9336:0x2cd,_0x22b6b5:0x195,_0x135c03:0x2d3,_0x5a761e:0x275,_0x4d85f0:0x41b,_0xb95d4e:0x2d0,_0x11dfab:0x5d7,_0x5cc850:0x44c,_0x55f51a:0x662,_0x5d4f05:0x45a,_0x38998b:0x316,_0x5150db:0x16f},_0x2e3fe9={_0x4f1c70:0x134},_0x20929f=this[_0x29572f(_0xc53ba0._0x4f0eb9,_0xc53ba0._0x548c83)][_0x29572f(-_0xc53ba0._0x23cabc,0x51)+_0x29572f(-0xcd,-_0xc53ba0._0x3873aa)+_0x1ab34e(_0xc53ba0._0x4c9336,_0xc53ba0._0x22b6b5)][_0x1ab34e(0x649,0x780)](_0x1200dd=>_0x1200dd[_0x29572f(0x2d5,0x22e)+'d']===_0xaf1d23?{..._0x1200dd,'status':_0x4d52a6===_0x1ab34e(0x244,0x1b)||_0x4d52a6===_0x29572f(0x250,0x328)?_0x4d52a6:_0x1200dd['status']}:_0x1200dd),_0x15111c={};function _0x29572f(_0x377d22,_0x16fb50){return _0x1fe1a4(_0x377d22,_0x16fb50- -_0x2e3fe9._0x4f1c70);}_0x15111c[_0x1ab34e(_0xc53ba0._0x135c03,0xac)+_0x1ab34e(_0xc53ba0._0x5a761e,0xbf)+'sts']=_0x20929f;function _0x1ab34e(_0x5adbc5,_0x1d97f4){return _0x1fe1a4(_0x1d97f4,_0x5adbc5-0x14e);}this[_0x1ab34e(_0xc53ba0._0x4d85f0,0x63e)+_0x29572f(_0xc53ba0._0xb95d4e,0x17a)](_0x15111c),this[_0x1ab34e(_0xc53ba0._0x11dfab,_0xc53ba0._0x5cc850)](_0x1ab34e(_0xc53ba0._0x55f51a,0x45b)+'uest\x20res'+_0x1ab34e(_0xc53ba0._0x5d4f05,_0xc53ba0._0x38998b)+_0x29572f(0x37b,0x1ce)+_0xaf1d23+(_0x29572f(_0xc53ba0._0x5150db,-0x81)+'n=')+_0x4d52a6);}[_0x1fe1a4(0x410,0x2cd)+_0x1fe1a4(0x428,0x2ae)](_0x36c530){const _0x58ecb4={_0xf575bb:0x5ea,_0x174461:0x5e0,_0x371255:0x5b4,_0x205460:0x74d,_0x5eb9e2:0x731},_0x23af0c={_0x4bed1f:0x29f},_0x1ae908={_0x3adabb:0xd8};Object[_0x31beb6(_0x58ecb4._0xf575bb,_0x58ecb4._0x174461)](this[_0x31beb6(0x68c,0x835)],_0x36c530,{'lastUpdatedMs':Date['now']()});function _0x4a8a2d(_0x20ece1,_0x54c46d){return _0x1fe1a4(_0x20ece1,_0x54c46d-_0x1ae908._0x3adabb);}function _0x31beb6(_0x5b2275,_0x5ea0a0){return _0x1fe1a4(_0x5ea0a0,_0x5b2275-_0x23af0c._0x4bed1f);}this[_0x31beb6(_0x58ecb4._0x371255,_0x58ecb4._0x205460)]['onStatus']?.(this[_0x31beb6(0x74b,_0x58ecb4._0x5eb9e2)+'hot']());}[_0x43d5cd(0x383,0x5bb)](_0x5de5fc){const _0x307913={_0x61bf41:0x13f,_0x44eb93:0x43},_0x10d47e={_0x526548:0x1cc};function _0x58c5a7(_0x3b2d0f,_0x17275c){return _0x43d5cd(_0x17275c- -_0x10d47e._0x526548,_0x3b2d0f);}this[_0x58c5a7(-_0x307913._0x61bf41,_0x307913._0x44eb93)]['onLog']?.(_0x5de5fc);}[_0x43d5cd(0x2e8,0x2c4)+'pen'](){const _0xc88cf3={_0x4b1932:0xfb},_0x236b44={_0x571468:0x33a},_0x19ab95={};function _0x1a096c(_0x189371,_0x2a2d5f){return _0x1fe1a4(_0x2a2d5f,_0x189371-0xee);}function _0x491290(_0x5b5c8b,_0x36af97){return _0x1fe1a4(_0x36af97,_0x5b5c8b- -_0x236b44._0x571468);}_0x19ab95[_0x491290(_0xc88cf3._0x4b1932,0x337)]=function(_0x2e4a04,_0x21fd53){return _0x2e4a04===_0x21fd53;};const _0x5a5436=_0x19ab95;return _0x5a5436['irOZS'](this['relaySoc'+_0x491290(-0x2a1,-0x27e)]?.['readySta'+'te'],_0x5ebc89[_0x1a096c(0x5a0,0x4a0)]);}['isGatewa'+'yOpen'](){const _0x323021={_0x25da0e:0x2b4,_0xa1f8f:0x5f6,_0x59d8c0:0x4af},_0x280734={_0x570504:0x76};function _0x235acf(_0x4facaf,_0x2f2c85){return _0x43d5cd(_0x4facaf-_0x280734._0x570504,_0x2f2c85);}function _0x52e67d(_0x51e235,_0x383abf){return _0x43d5cd(_0x51e235-0x24a,_0x383abf);}return this[_0x235acf(0x246,0x6a)+'ocket']?.[_0x235acf(0x98,_0x323021._0x25da0e)+'te']===_0x5ebc89[_0x52e67d(_0x323021._0xa1f8f,_0x323021._0x59d8c0)];}[_0x43d5cd(0x3d2,0x56d)+_0x43d5cd(0x61,-0x1bc)](){const _0x71e775={_0x30d850:0x378,_0x577170:0x537,_0xa4742c:0x707,_0x10ad16:0x58a,_0x1418c5:0x6a6,_0x538fd1:0x5fa,_0x4defb6:0x537,_0x5b77fb:0x6c3,_0x46b76a:0x6e7,_0x413fe0:0x5d0},_0x40e02e={_0x26871b:0x12c};function _0x5808b9(_0x360011,_0x61d4c8){return _0x1fe1a4(_0x61d4c8,_0x360011-0x1f5);}this[_0x5a92c6(0x47a,0x33d)+_0x5808b9(0x4d3,_0x71e775._0x30d850)]();this[_0x5a92c6(_0x71e775._0x577170,_0x71e775._0xa4742c)+_0x5a92c6(0x5fa,_0x71e775._0x10ad16)]&&(clearTimeout(this[_0x5a92c6(_0x71e775._0x577170,_0x71e775._0x1418c5)+_0x5a92c6(_0x71e775._0x538fd1,0x74f)]),this[_0x5a92c6(_0x71e775._0x4defb6,0x761)+_0x5808b9(_0x71e775._0x5b77fb,_0x71e775._0x46b76a)]=null);function _0x5a92c6(_0xd0983a,_0x1ff226){return _0x1fe1a4(_0x1ff226,_0xd0983a-_0x40e02e._0x26871b);}this['gatewayR'+_0x5a92c6(_0x71e775._0x413fe0,0x404)+'r']&&(clearTimeout(this['gatewayR'+'etryTime'+'r']),this['gatewayR'+'etryTime'+'r']=null);}[_0x1fe1a4(0x285,0x452)+'ince'](_0x2fd9c1){const _0x481fe8={_0x4e3d33:0x84,_0x712ce5:0x162,_0x4ca819:0x13a,_0x73f644:0x20b},_0x334ff9={_0x21f599:0x583},_0x24b155={};function _0x3f7cc7(_0xb03dc0,_0x3b23c5){return _0x43d5cd(_0xb03dc0-_0x334ff9._0x21f599,_0x3b23c5);}function _0x19176d(_0x5749b3,_0x8d164){return _0x43d5cd(_0x5749b3-0xd8,_0x8d164);}_0x24b155[_0x19176d(_0x481fe8._0x4e3d33,-_0x481fe8._0x712ce5)]=function(_0x4e0036,_0xe12ea1){return _0x4e0036-_0xe12ea1;};const _0x43da34=_0x24b155;return _0x2fd9c1==null?null:Math['max'](0x0,_0x43da34['AaIoH'](Date[_0x19176d(_0x481fe8._0x4ca819,_0x481fe8._0x73f644)](),_0x2fd9c1));}};function shouldKeepGatewayConnected(_0x351821,_0x59636b){return _0x351821>0x0||_0x59636b>0x0;}function shouldScheduleGatewayIdleClose(_0x547a3e,_0x1db1bd,_0x5a1910){return _0x5a1910&&!shouldKeepGatewayConnected(_0x547a3e,_0x1db1bd);}function shouldRecycleGatewayForFreshClient(_0x3192e2,_0x183ea7,_0xb0a39b,_0x335006){const _0x37fcc1={_0x287bf6:0x60b},_0x9d761d={};function _0x3d5a72(_0xbbd354,_0x474554){return _0x1fe1a4(_0x474554,_0xbbd354- -0x180);}_0x9d761d[_0xa6fd90(_0x37fcc1._0x287bf6,0x48c)]=function(_0x111a6e,_0x4f4452){return _0x111a6e===_0x4f4452;};function _0xa6fd90(_0x23cad6,_0xaa1f3c){return _0x1fe1a4(_0x23cad6,_0xaa1f3c-0x29d);}const _0x3b96fe=_0x9d761d;return _0xb0a39b&&_0x183ea7>0x0&&(_0x3b96fe[_0x3d5a72(0x6f,-0x95)](_0x3192e2,0x0)||_0x335006);}function summarizePendingGatewayMessages(_0x4aeb3b){const _0x3bdee4={_0x133c6e:0x5dc,_0x8d73a6:0x5ca,_0x5e27b8:0x697,_0x35085f:0x1ae,_0xdc60b4:0x3bd,_0x2b55ee:0x78c},_0x515e25={_0x3c395a:0x128},_0x2e79bb={};function _0x22a490(_0x15acad,_0x21a274){return _0x43d5cd(_0x15acad-0x52f,_0x21a274);}_0x2e79bb[_0x22a490(0x6c9,_0x3bdee4._0x133c6e)]=_0x22a490(0x7b0,_0x3bdee4._0x8d73a6);const _0x1e2a45=_0x2e79bb,_0x5bc8c7={};function _0x2cc6eb(_0x2a724d,_0x104d95){return _0x43d5cd(_0x104d95-_0x515e25._0x3c395a,_0x2a724d);}_0x5bc8c7[_0x22a490(0x8ea,0x9dc)]=_0x4aeb3b[_0x2cc6eb(0x24a,0x2e9)],_0x5bc8c7['connectR'+'equests']=0x0,_0x5bc8c7[_0x2cc6eb(0x52b,0x385)+'t']=0x0,_0x5bc8c7[_0x22a490(0x7b0,0x5d3)]=0x0;const _0x5008c1=_0x5bc8c7;for(const _0x1f9766 of _0x4aeb3b){if(_0x1f9766[_0x2cc6eb(-0x73,0x16b)]===_0x1e2a45[_0x22a490(0x6c9,_0x3bdee4._0x5e27b8)]){_0x5008c1[_0x2cc6eb(_0x3bdee4._0x35085f,0x3a9)]+=0x1;continue;}if(isConnectHandshakeRequest(_0x1f9766[_0x2cc6eb(0x35b,_0x3bdee4._0xdc60b4)])){_0x5008c1[_0x2cc6eb(0x4cf,0x3a5)+_0x2cc6eb(0x48f,0x34d)]+=0x1;continue;}_0x5008c1[_0x22a490(_0x3bdee4._0x2b55ee,0x822)+'t']+=0x1;}return _0x5008c1;}function dedupePendingGatewayMessages(_0x1178bb){const _0x158f09={_0x561aef:0x5ed,_0x3278bd:0x41e,_0x44c480:0x495,_0x3af59c:0x579,_0x32dd69:0x4e9,_0x4c9a37:0x423,_0x13e5b3:0x720,_0xb3c012:0x43a,_0x189fbe:0x63a,_0x32a808:0x13,_0x4a45c6:0x52,_0x3fd347:0x3a,_0xfc6447:0xa5},_0x183973={};_0x183973[_0x1698af(0xe3,0x20b)]=_0x20310d(_0x158f09._0x561aef,0x6e7),_0x183973[_0x1698af(-0x22a,-0x72)]=function(_0x2bc51e,_0x21ecae){return _0x2bc51e<=_0x21ecae;};const _0x40d54e=_0x183973;function _0x1698af(_0x49fed5,_0x20bf24){return _0x1fe1a4(_0x20bf24,_0x49fed5- -0x301);}let _0x30c13a=-0x1;function _0x20310d(_0x167242,_0x1c00e7){return _0x1fe1a4(_0x167242,_0x1c00e7-0x34c);}for(let _0x52eaa5=_0x1178bb['length']-0x1;_0x52eaa5>=0x0;_0x52eaa5-=0x1){const _0xc752df=_0x1178bb[_0x52eaa5];if(_0xc752df?.[_0x20310d(_0x158f09._0x3278bd,_0x158f09._0x44c480)]===_0x40d54e[_0x1698af(0xe3,0x1c2)]&&isConnectHandshakeRequest(_0xc752df[_0x20310d(_0x158f09._0x3af59c,0x6e7)])){_0x30c13a=_0x52eaa5;break;}}if(_0x40d54e[_0x20310d(_0x158f09._0x32dd69,_0x158f09._0x4c9a37)](_0x30c13a,0x0)){const _0x57a17e={};return _0x57a17e[_0x20310d(_0x158f09._0x13e5b3,0x53a)]=[..._0x1178bb],_0x57a17e[_0x20310d(_0x158f09._0xb3c012,_0x158f09._0x189fbe)]=0x0,_0x57a17e;}const _0x48f025=_0x1178bb['filter']((_0x4fe3d7,_0x9c2134)=>_0x9c2134>=_0x30c13a||(_0x4fe3d7[_0x20310d(0x58f,0x495)]!=='text'||!isConnectHandshakeRequest(_0x4fe3d7[_0x1698af(0x9a,0x83)]))),_0x1f1170={};return _0x1f1170[_0x20310d(0x4e0,0x53a)]=_0x48f025,_0x1f1170[_0x1698af(-_0x158f09._0x32a808,-0x14a)]=_0x1178bb[_0x1698af(-0x3a,_0x158f09._0x4a45c6)]-_0x48f025[_0x1698af(-_0x158f09._0x3fd347,_0x158f09._0xfc6447)],_0x1f1170;}function prunePendingGatewayMessagesForFreshDemand(_0x15b071){const _0x2e391f={_0x324f8a:0x8e9,_0x32254d:0x743,_0x9e3851:0x456,_0x17fbb4:0x3d7,_0x15ddac:0x670,_0x3204ee:0x770,_0x29c304:0x5c4,_0x3f4f2a:0x259,_0x3bb500:0x81d,_0x2adf9b:0x70d,_0x56f4e4:0x302,_0x1c339a:0x300,_0x3767a6:0x670,_0x2a2b67:0x780,_0x1a0809:0x6cd},_0x3a78c2={_0x1f024a:0x216},_0x4d8cb6={};_0x4d8cb6[_0x46147d(0x619,0x534)]=function(_0xa054f6,_0x277a34){return _0xa054f6===_0x277a34;};function _0x3c105d(_0xa73e24,_0x3bb8e1){return _0x43d5cd(_0xa73e24-0x588,_0x3bb8e1);}_0x4d8cb6[_0x3c105d(0x560,0x709)]=function(_0x2a0eb5,_0x1e551c){return _0x2a0eb5-_0x1e551c;},_0x4d8cb6['EoyWz']=function(_0x5f371b,_0x2f2482){return _0x5f371b>=_0x2f2482;},_0x4d8cb6[_0x3c105d(_0x2e391f._0x324f8a,_0x2e391f._0x32254d)]=function(_0x33d2cf,_0x2b6997){return _0x33d2cf===_0x2b6997;};function _0x46147d(_0x416a06,_0x3c0b53){return _0x43d5cd(_0x3c0b53-_0x3a78c2._0x1f024a,_0x416a06);}const _0x5dcf04=_0x4d8cb6;if(_0x5dcf04[_0x46147d(0x3e0,0x534)](_0x15b071[_0x46147d(_0x2e391f._0x9e3851,_0x2e391f._0x17fbb4)],0x0)){const _0x497362={};return _0x497362[_0x3c105d(_0x2e391f._0x15ddac,0x466)]=[],_0x497362[_0x3c105d(_0x2e391f._0x3204ee,0x755)]=0x0,_0x497362;}let _0x4588a6=-0x1;for(let _0x3ff271=_0x5dcf04['WJHOO'](_0x15b071['length'],0x1);_0x5dcf04[_0x46147d(0x50e,_0x2e391f._0x29c304)](_0x3ff271,0x0);_0x3ff271-=0x1){const _0x79d21=_0x15b071[_0x3ff271];if(_0x79d21?.[_0x46147d(0x10c,_0x2e391f._0x3f4f2a)]===_0x3c105d(_0x2e391f._0x3bb500,_0x2e391f._0x2adf9b)&&isConnectHandshakeRequest(_0x79d21[_0x3c105d(0x81d,0x722)])){_0x4588a6=_0x3ff271;break;}}if(_0x5dcf04['flMsa'](_0x4588a6,-0x1)){const _0x2e4adf={};return _0x2e4adf[_0x46147d(_0x2e391f._0x56f4e4,0x2fe)]=[],_0x2e4adf['dropped']=_0x15b071[_0x46147d(_0x2e391f._0x1c339a,0x3d7)],_0x2e4adf;}const _0x56eec0=_0x15b071[_0x46147d(0x680,0x58a)](_0x4588a6),_0x58efe4={};return _0x58efe4[_0x3c105d(_0x2e391f._0x3767a6,_0x2e391f._0x2a2b67)]=_0x56eec0,_0x58efe4[_0x3c105d(0x770,0x724)]=_0x15b071[_0x3c105d(0x749,_0x2e391f._0x1a0809)]-_0x56eec0[_0x3c105d(0x749,0x667)],_0x58efe4;}function patchConnectRequestGatewayAuth(_0x219333,_0x572f68){const _0xa04087={_0x42f413:0x1da,_0x1ce278:0x424,_0x4fd083:0x1ae,_0x235eb0:0x31a,_0x3634d9:0x180,_0x45417f:0x31a,_0x224704:0x449,_0x1ad859:0x26a,_0x43d6f8:0x5ce,_0x1b2e83:0x5d5,_0x989006:0x6f5,_0x28550b:0x572,_0x5b4f31:0x711,_0x54df1f:0x600,_0x55c646:0x615,_0x37c3b0:0x6c,_0x1daa36:0x2b1,_0x3ccee0:0x4c5,_0x4da24e:0x640,_0x54a01a:0x5d7,_0x49c65f:0x561,_0x24e376:0x1bc,_0x5304ed:0x389,_0x423c4d:0x334,_0x5b691f:0x4c5,_0x279107:0x2d7},_0x4544b4={_0x40dd6a:0xca},_0x2fca14={};_0x2fca14['ZCHUL']=_0x3639c9(_0xa04087._0x42f413,_0xa04087._0x1ce278);function _0x3639c9(_0x532a22,_0x1b762a){return _0x1fe1a4(_0x532a22,_0x1b762a-0x1a5);}_0x2fca14['cMXBd']='string';function _0x5b8b61(_0x3749d8,_0x347ff9){return _0x1fe1a4(_0x347ff9,_0x3749d8-_0x4544b4._0x40dd6a);}const _0x17c551=_0x2fca14;if(_0x572f68[_0x5b8b61(0x372,_0xa04087._0x4fd083)]!==_0x5b8b61(_0xa04087._0x235eb0,_0xa04087._0x3634d9)||!_0x572f68[_0x5b8b61(_0xa04087._0x45417f,0x176)]){const _0x5d7302={};return _0x5d7302[_0x5b8b61(0x465,_0xa04087._0x224704)]=_0x219333,_0x5d7302[_0x5b8b61(_0xa04087._0x1ad859,0x382)]=![],_0x5d7302;}try{const _0x4dc73c=JSON[_0x5b8b61(0x4f4,0x6ec)](_0x219333);if(_0x4dc73c[_0x3639c9(_0xa04087._0x43d6f8,_0xa04087._0x1b2e83)]!=='req'||_0x4dc73c[_0x3639c9(_0xa04087._0x989006,0x64d)]!==_0x17c551['ZCHUL']&&_0x4dc73c[_0x5b8b61(_0xa04087._0x28550b,_0xa04087._0x5b4f31)]!==_0x3639c9(_0xa04087._0x54df1f,0x45c)+_0x3639c9(_0xa04087._0x55c646,0x45e)){const _0x5eeb86={};return _0x5eeb86['text']=_0x219333,_0x5eeb86[_0x5b8b61(0x26a,0x1c3)]=![],_0x5eeb86;}const _0x1d8669=_0x4dc73c['params']&&typeof _0x4dc73c[_0x3639c9(0x3c6,0x3a6)]===_0x5b8b61(0x1de,_0xa04087._0x37c3b0)?{..._0x4dc73c[_0x5b8b61(0x2cb,_0xa04087._0x1daa36)]}:{},_0x2b521c=_0x1d8669['auth']&&typeof _0x1d8669[_0x3639c9(0x75f,0x5a0)]==='object'?{..._0x1d8669[_0x5b8b61(_0xa04087._0x3ccee0,_0xa04087._0x4da24e)]}:{},_0x33dae6=typeof _0x2b521c['password']===_0x17c551[_0x5b8b61(_0xa04087._0x54a01a,_0xa04087._0x49c65f)]?_0x2b521c[_0x5b8b61(0x31a,0x3f9)][_0x5b8b61(0x379,_0xa04087._0x24e376)]():'';if(_0x33dae6){const _0x4e8a82={};return _0x4e8a82[_0x5b8b61(0x465,_0xa04087._0x5304ed)]=_0x219333,_0x4e8a82['injected']=![],_0x4e8a82;}_0x2b521c[_0x5b8b61(0x31a,0x48a)]=_0x572f68[_0x5b8b61(0x31a,_0xa04087._0x423c4d)],_0x1d8669[_0x5b8b61(_0xa04087._0x5b691f,0x654)]=_0x2b521c;const _0x1d03df={..._0x4dc73c};return _0x1d03df[_0x5b8b61(0x2cb,_0xa04087._0x279107)]=_0x1d8669,{'text':JSON[_0x5b8b61(0x444,0x3ec)+'y'](_0x1d03df),'injected':!![]};}catch{const _0x1b78af={};return _0x1b78af[_0x3639c9(0x320,0x540)]=_0x219333,_0x1b78af['injected']=![],_0x1b78af;}}function formatConnectHandshakeMetaForLog(_0x3ad6b9){const _0x29cd1a={_0x261066:0x235,_0x439273:0x274,_0x1e518e:0x2c7,_0x239ce9:0x59,_0x446174:0x68,_0x4eaf37:0x243,_0x26db2:0x454,_0x141e65:0x108,_0x1c2ff7:0x223,_0x5bedf8:0x200,_0x2f7512:0x6e,_0x4f7093:0x341,_0xf145fc:0x2cf},_0x10347a={_0x27d4cc:0x2d};function _0x58b696(_0x353a5f,_0x47c2e5){return _0x43d5cd(_0x47c2e5- -_0x10347a._0x27d4cc,_0x353a5f);}if(!_0x3ad6b9)return'';function _0x449bfb(_0x1f99a2,_0x4b8982){return _0x43d5cd(_0x4b8982-0x122,_0x1f99a2);}return'\x20method='+_0x3ad6b9['method']+_0x449bfb(0x200,_0x29cd1a._0x261066)+(_0x3ad6b9['id']??_0x58b696(-_0x29cd1a._0x439273,-0xa9))+(_0x58b696(_0x29cd1a._0x1e518e,0x107)+_0x449bfb(_0x29cd1a._0x239ce9,0x282))+_0x3ad6b9[_0x449bfb(0x20e,0x2b0)+'sent']+(_0x58b696(-0x29f,-_0x29cd1a._0x446174)+_0x58b696(-_0x29cd1a._0x4eaf37,-0x5f))+(_0x3ad6b9[_0x449bfb(0x479,_0x29cd1a._0x26db2)+_0x449bfb(0x2a0,_0x29cd1a._0x141e65)]??0x0)+('\x20authFie'+_0x58b696(_0x29cd1a._0x1c2ff7,_0x29cd1a._0x5bedf8))+(_0x3ad6b9[_0x58b696(0x23e,0x17d)+'ds'][_0x58b696(-_0x29cd1a._0x2f7512,0x194)]>0x0?_0x3ad6b9['authFiel'+'ds'][_0x449bfb(_0x29cd1a._0x4f7093,_0x29cd1a._0xf145fc)](','):'<none>');}function buildRelayWsUrl(_0x56d875){const _0x11c96e={_0x5b1842:0x14a,_0x44ae28:0x5d8,_0x4e84e8:0x270,_0x252b92:0x324,_0x2434a1:0x12c,_0x4fde7c:0x324,_0x17ed15:0x399,_0x4cb8dc:0x6e3,_0x587314:0x571,_0x390292:0x3b0,_0x3a5b75:0xc1,_0x187020:0x3ac,_0x2c397b:0x2e3,_0x362d45:0x4d7,_0x32b29e:0x41,_0x207604:0x1cc,_0x616019:0x263,_0x27c87c:0x19f,_0x35c9b2:0x608,_0x1bd4e7:0x483,_0x2c6df4:0x520,_0x47b042:0x53e,_0x500a5e:0x5e5,_0x32ab1a:0x433},_0x2bb656={};_0x2bb656['HYaCI']='/ws',_0x2bb656['SsagQ']=_0x4a76c1(0xa6,_0x11c96e._0x5b1842),_0x2bb656[_0x417f06(0x49a,_0x11c96e._0x44ae28)]='token';const _0x389e32=_0x2bb656;function _0x4a76c1(_0x9232c9,_0x2d654c){return _0x43d5cd(_0x2d654c-0x1c9,_0x9232c9);}const _0x2ba17f=new URL(_0x56d875[_0x4a76c1(_0x11c96e._0x4e84e8,0x22f)]);(!_0x2ba17f[_0x417f06(0x27d,_0x11c96e._0x252b92)]||_0x2ba17f[_0x417f06(_0x11c96e._0x2434a1,_0x11c96e._0x4fde7c)]==='/')&&(_0x2ba17f['pathname']=_0x389e32[_0x4a76c1(_0x11c96e._0x17ed15,0x266)]);function _0x417f06(_0x49ab67,_0x3fa84e){return _0x43d5cd(_0x3fa84e-0x263,_0x49ab67);}return _0x2ba17f[_0x417f06(0x4b,0x239)+_0x417f06(_0x11c96e._0x4cb8dc,_0x11c96e._0x587314)][_0x4a76c1(0x5d8,_0x11c96e._0x390292)]('gatewayI'+'d',_0x56d875[_0x4a76c1(_0x11c96e._0x3a5b75,0x29f)+'d']),_0x2ba17f['searchPa'+_0x417f06(_0x11c96e._0x187020,_0x11c96e._0x587314)]['set'](_0x417f06(0xc6,_0x11c96e._0x2c397b),_0x389e32[_0x4a76c1(0x353,0x2c8)]),_0x2ba17f[_0x4a76c1(0x13e,0x19f)+_0x4a76c1(0x725,_0x11c96e._0x362d45)]['set'](_0x4a76c1(_0x11c96e._0x32b29e,_0x11c96e._0x207604),_0x56d875[_0x417f06(0x6d,_0x11c96e._0x616019)+'Id']),_0x2ba17f[_0x4a76c1(0x18c,_0x11c96e._0x27c87c)+_0x417f06(_0x11c96e._0x35c9b2,0x571)][_0x4a76c1(_0x11c96e._0x1bd4e7,0x3b0)](_0x389e32[_0x4a76c1(_0x11c96e._0x2c6df4,_0x11c96e._0x47b042)],_0x56d875[_0x417f06(0x6d8,0x5c7)+_0x417f06(0x6d0,0x516)]),_0x2ba17f[_0x4a76c1(_0x11c96e._0x500a5e,_0x11c96e._0x32ab1a)]();}function redactRelayWsUrl(_0x1df35a){const _0x52966f={_0x77f7e9:0x1,_0x2c763e:0x316,_0x28b22a:0x5d2,_0x31b007:0x7de,_0x5c9cff:0x160,_0x4f05ee:0x21b,_0x35580e:0x7f,_0x513e61:0x250,_0x1e028a:0x52e},_0x2dacc6={_0x5c7e94:0x1be},_0x11c84d={_0x45c150:0x18d},_0x196666={};function _0x183067(_0x458730,_0x3dca31){return _0x1fe1a4(_0x3dca31,_0x458730- -_0x11c84d._0x45c150);}_0x196666[_0x183067(-_0x52966f._0x77f7e9,0x90)]=_0x183067(_0x52966f._0x2c763e,0xd1);function _0x3632ca(_0x66d8b,_0x57f756){return _0x1fe1a4(_0x57f756,_0x66d8b-_0x2dacc6._0x5c7e94);}const _0x3a08e2=_0x196666,_0x44dc91=new URL(_0x1df35a);return _0x44dc91[_0x3632ca(0x29a,0x414)+_0x3632ca(_0x52966f._0x28b22a,_0x52966f._0x31b007)][_0x3632ca(0x5ea,0x3ba)](_0x3a08e2['hQGhX'])&&_0x44dc91['searchPa'+'rams'][_0x183067(_0x52966f._0x5c9cff,_0x52966f._0x4f05ee)](_0x3a08e2['hQGhX'],_0x183067(-_0x52966f._0x35580e,-_0x52966f._0x513e61)+'d>'),_0x44dc91[_0x3632ca(_0x52966f._0x1e028a,0x589)]();}function normalizeText(_0x2f1708){const _0x31a7cc={_0x5cc4a8:0x1d5,_0x4a7796:0x422,_0xec48be:0x55a,_0x31553e:0x1fe,_0x29e5af:0x176,_0x442d46:0x521,_0x473251:0x182},_0x29a745={_0x3db818:0xa0},_0x26861a={};_0x26861a['Ujeis']=function(_0x55f4d0,_0x544936){return _0x55f4d0 instanceof _0x544936;};const _0x23e8f6=_0x26861a;if(typeof _0x2f1708===_0x31b8a7(0x3af,0x1fe))return _0x2f1708;if(Buffer['isBuffer'](_0x2f1708))return _0x2f1708['toString'](_0x545591(-0x284,-0x160));function _0x545591(_0xfc2173,_0x2289a5){return _0x1fe1a4(_0xfc2173,_0x2289a5- -0x1fb);}function _0x31b8a7(_0x591ace,_0x7680a2){return _0x1fe1a4(_0x7680a2,_0x591ace-_0x29a745._0x3db818);}if(Array[_0x31b8a7(0x37f,_0x31a7cc._0x5cc4a8)](_0x2f1708))return Buffer[_0x31b8a7(_0x31a7cc._0x4a7796,_0x31a7cc._0xec48be)](_0x2f1708)[_0x31b8a7(0x410,0x3f6)](_0x545591(-_0x31a7cc._0x31553e,-0x160));if(_0x23e8f6[_0x545591(0x61,_0x31a7cc._0x29e5af)](_0x2f1708,ArrayBuffer))return Buffer['from'](_0x2f1708)[_0x31b8a7(0x410,_0x31a7cc._0x442d46)](_0x31b8a7(0x13b,_0x31a7cc._0x473251));return null;}function normalizeBinary(_0x4386c4){const _0x328e59={_0x37e8c5:0x1e7,_0x3fbb18:0x56e,_0x4950bd:0x386},_0x4f2c61={_0x48280f:0xa7},_0x1cae6c={_0x5e8c45:0x34};if(Buffer[_0x13f629(0x31,_0x328e59._0x37e8c5)](_0x4386c4))return _0x4386c4;if(typeof _0x4386c4===_0x2c7933(0x343,0x44d))return Buffer[_0x13f629(0x5fc,_0x328e59._0x3fbb18)](_0x4386c4,'utf8');if(Array[_0x13f629(0x22b,_0x328e59._0x4950bd)](_0x4386c4))return Buffer[_0x13f629(0x1d5,0x429)](_0x4386c4);function _0x2c7933(_0xd59e3d,_0x46800b){return _0x1fe1a4(_0x46800b,_0xd59e3d-_0x1cae6c._0x5e8c45);}function _0x13f629(_0x51f9f3,_0x5cef91){return _0x1fe1a4(_0x51f9f3,_0x5cef91-_0x4f2c61._0x48280f);}return Buffer['from'](_0x4386c4);}function readRecentCliLogs(_0x2e87bf){const _0x253eb6={_0x53a6e5:0x78,_0x1bb5ec:0x116,_0x34ceff:0x8a,_0x3480a1:0x23,_0x319467:0x1ab,_0x1fd79c:0x1b4,_0x3bddcd:0x99,_0xc189c4:0x14f,_0x374b12:0x229,_0x27fb8:0x61,_0x1ca645:0x1aa},_0x5457a3={_0xc96274:0x1ae},_0x5e0dfc={_0x4dfdb4:0x85};function _0xce3945(_0xf4d7ac,_0x31d3b6){return _0x43d5cd(_0xf4d7ac- -_0x5e0dfc._0x4dfdb4,_0x31d3b6);}const _0x59c0e2={};_0x59c0e2[_0xce3945(-0x107,_0x253eb6._0x53a6e5)]=function(_0x4300ea,_0x4ef571){return _0x4300ea!=_0x4ef571;};const _0x12313d=_0x59c0e2,{logPath:_0x1c72d0,errorLogPath:_0x22abc5}=getServicePaths(),_0x129375=clampLines(_0x2e87bf?.[_0x3c8c8b(_0x253eb6._0x1bb5ec,_0x253eb6._0x34ceff)]??0xc8),_0x15e446=_0x2e87bf?.['lastMs']??null,_0x6c8737=_0x12313d[_0x3c8c8b(-0x16a,-0x230)](_0x15e446,null)?Date[_0xce3945(-_0x253eb6._0x3480a1,-_0x253eb6._0x319467)]()-_0x15e446:null;function _0x3c8c8b(_0x42fb82,_0x2806d2){return _0x43d5cd(_0x2806d2- -_0x5457a3._0xc96274,_0x42fb82);}const _0xae639e=[_0x1c72d0];_0x2e87bf?.['includeE'+_0xce3945(_0x253eb6._0x1fd79c,-_0x253eb6._0x3bddcd)]&&_0xae639e['push'](_0x22abc5);const _0x338944=_0xae639e[_0xce3945(_0x253eb6._0xc189c4,_0x253eb6._0x374b12)](_0x45ca40=>readLogFile(_0x45ca40)),_0x5b0e27=_0x6c8737==null?_0x338944:_0x338944['filter'](_0xc7d5cd=>_0xc7d5cd['ts']!=null&&_0xc7d5cd['ts']>=_0x6c8737);return _0x5b0e27[_0x3c8c8b(_0x253eb6._0x27fb8,0x1c6)](-_0x129375)[_0xce3945(0x370,_0x253eb6._0x1ca645)](_0x34e7b2=>_0x34e7b2['raw']);}async function buildDoctorReport(){const _0x2717f9={_0x1abe42:0x7b,_0x24a607:0x226,_0x496998:0x10c,_0x3ad385:0x86,_0x570eb3:0x582,_0x67226c:0x537,_0x13b85a:0x20a,_0xdecd49:0x5c4,_0x2916e3:0x34,_0x321544:0x215,_0x291065:0x4b2,_0x24ff10:0x531,_0x44af45:0x352,_0x5451f3:0x155,_0xc9c532:0x0,_0x5e3ad2:0x17c,_0x216bec:0xd4,_0x1731f:0x20d,_0x5ade43:0x3c4,_0x43b790:0x164},_0x1374b7={_0x876154:0x1c2},_0xae5023={'bYIcf':function(_0x58b20f){return _0x58b20f();},'IpGCY':function(_0x10809b){return _0x10809b();},'benMX':function(_0x29e8fd,_0x144c89){return _0x29e8fd(_0x144c89);}};function _0xb0bec5(_0x59c069,_0x1cb797){return _0x43d5cd(_0x59c069- -_0x1374b7._0x876154,_0x1cb797);}const _0x4d635e=_0xae5023['bYIcf'](readPairingConfig),_0x1b79b0=_0xae5023['bYIcf'](getServiceStatus),_0x24a526=readOpenClawInfo(),_0x37f7fc=_0xae5023[_0xb0bec5(-0x9b,_0x2717f9._0x1abe42)](resolveGatewayUrl);function _0x5bd5e8(_0x5268c2,_0x25c4aa){return _0x43d5cd(_0x25c4aa-0x222,_0x5268c2);}const _0x457923=await checkGatewayReachable(_0x37f7fc);return{'paired':_0xae5023[_0xb0bec5(-_0x2717f9._0x24a607,-_0x2717f9._0x496998)](Boolean,_0x4d635e),'gatewayId':_0x4d635e?.[_0xb0bec5(-0xec,_0x2717f9._0x3ad385)+'d']??null,'serverUrl':_0x4d635e?.[_0x5bd5e8(_0x2717f9._0x570eb3,0x4ee)+'l']??null,'relayUrl':_0x4d635e?.[_0xb0bec5(-0x15c,-0x10b)]??null,'instanceId':_0x4d635e?.['instance'+'Id']??null,'serviceInstalled':_0x1b79b0[_0x5bd5e8(0x6cc,_0x2717f9._0x67226c)+'d'],'serviceRunning':_0x1b79b0[_0xb0bec5(_0x2717f9._0x13b85a,0x2c7)],'serviceMethod':_0x1b79b0[_0x5bd5e8(0x814,_0x2717f9._0xdecd49)],'servicePath':_0x1b79b0[_0x5bd5e8(_0x2717f9._0x2916e3,_0x2717f9._0x321544)+_0x5bd5e8(_0x2717f9._0x291065,_0x2717f9._0x24ff10)],'logPath':_0x1b79b0[_0x5bd5e8(_0x2717f9._0x44af45,0x274)],'errorLogPath':_0x1b79b0[_0xb0bec5(-_0x2717f9._0x5451f3,_0x2717f9._0xc9c532)+'Path'],'openclawConfigDir':getOpenClawConfigDir(),'openclawMediaDir':getOpenClawMediaDir(),'openclawConfigFound':_0x24a526[_0xb0bec5(-_0x2717f9._0x5e3ad2,-_0x2717f9._0x216bec)+'und'],'openclawAuthMode':_0x24a526[_0x5bd5e8(_0x2717f9._0x1731f,_0x2717f9._0x5ade43)],'openclawTokenFound':Boolean(_0x24a526['token']),'openclawPasswordFound':Boolean(_0x24a526[_0x5bd5e8(_0x2717f9._0x43b790,0x36c)]),'localGatewayUrl':_0x37f7fc,'localGatewayReachable':_0x457923};}async function ensurePairPrerequisites(){const _0x58746f={_0x3f2e90:0x1f6,_0x1a51e6:0x2d3,_0x223e2a:0xca,_0x86f829:0x83,_0x32b79d:0x16,_0x5b4a8e:0x241,_0x37c473:0x286,_0x45a6bb:0x18b,_0x2fa52b:0x2a3,_0x25e0ee:0x434,_0x2fe279:0x386,_0x339501:0x23a,_0x212975:0xb5,_0x49fae9:0x46,_0xec6616:0x12d,_0x206dc7:0x17e,_0x336bc3:0x38e,_0x50108c:0x21f,_0x395e38:0xad,_0x38bdf4:0x83,_0xe5b04e:0x202,_0x1175e4:0x2a,_0x231717:0x216,_0x52da33:0x28f,_0x53e932:0xb6},_0x508f4d={_0x5c0ea8:0x12},_0x1ba86a={_0x581652:0xf7},_0x5b4557={'IMVss':function(_0x10dd01,_0x58b3e9){return _0x10dd01(_0x58b3e9);}},_0x1a1872=await buildDoctorReport(),_0x2cdd4e=_0x5b4557[_0x8280a9(-_0x58746f._0x3f2e90,-0x1b)](listPairPrerequisiteFailures,_0x1a1872);function _0x8280a9(_0x1cf2c7,_0x266aea){return _0x43d5cd(_0x266aea- -_0x1ba86a._0x581652,_0x1cf2c7);}if(_0x2cdd4e[_0x8280a9(_0x58746f._0x1a51e6,_0x58746f._0x223e2a)]>0x0)throw new Error([_0x8280a9(0x61,-_0x58746f._0x86f829)+_0x8280a9(-_0x58746f._0x32b79d,0x104)+'`clawket'+'\x20pair`\x20b'+_0x3c2f53(_0x58746f._0x5b4a8e,_0x58746f._0x37c473)+_0x3c2f53(0xa,-0x1e7)+_0x3c2f53(_0x58746f._0x45a6bb,0xbf)+_0x3c2f53(0xda,-0x157)+_0x3c2f53(_0x58746f._0x2fa52b,_0x58746f._0x25e0ee)+_0x8280a9(0x1cc,-0x17)+'y.',..._0x2cdd4e[_0x8280a9(0x288,0x2fe)](_0x594833=>'-\x20'+_0x594833),_0x3c2f53(_0x58746f._0x2fe279,0x3ed)+'wket\x20doc'+_0x8280a9(-_0x58746f._0x339501,-0x90)+_0x3c2f53(0x181,0x1e1)+_0x3c2f53(_0x58746f._0x212975,0x15e)+_0x3c2f53(-0x57,0xed)+'lawket\x20p'+_0x3c2f53(_0x58746f._0x49fae9,_0x58746f._0xec6616)+'rce`\x20onl'+_0x8280a9(0x63,-_0x58746f._0x206dc7)+_0x8280a9(_0x58746f._0x336bc3,_0x58746f._0x50108c)+_0x8280a9(_0x58746f._0x395e38,_0x58746f._0x38bdf4)+_0x3c2f53(_0x58746f._0xe5b04e,0x423)+_0x8280a9(-_0x58746f._0x1175e4,_0x58746f._0x231717)+'is\x20safet'+_0x8280a9(_0x58746f._0x52da33,0x45)][_0x8280a9(0x1c,_0x58746f._0x53e932)]('\x0a'));function _0x3c2f53(_0x8733b2,_0x2203da){return _0x43d5cd(_0x8733b2- -_0x508f4d._0x5c0ea8,_0x2203da);}return _0x1a1872;}function listPairPrerequisiteFailures(_0x316003){const _0x504b0d={_0x489755:0x507,_0x3ed66f:0x67c,_0x4ce80d:0x3e6,_0x1df757:0x4ae,_0x2e3a10:0x71c,_0x3f1fe7:0x83a,_0x50c232:0x490,_0x4b9e88:0x3b1,_0x3540b7:0x632,_0x458d9a:0x512,_0x4f2f01:0x39a,_0x238867:0x77f,_0x1fb726:0x484,_0x6e0b7d:0xa7f,_0x1c4f2e:0x8d5,_0x17b201:0x3b4,_0x78b953:0x876,_0x241e49:0x349,_0x36be3f:0x751,_0x308260:0x873,_0x1a5aaa:0x52,_0x138c48:0x322,_0x33abd3:0x9da,_0x410328:0x854,_0x44ab94:0x7db,_0x4490c0:0x4d9,_0x1c2b14:0x567,_0x35779b:0x28b,_0xa1f9e3:0x6e7,_0x3276c1:0x37c,_0x474170:0x2e3,_0x17f250:0x108,_0x40e15f:0x4b4,_0x2427c4:0x8eb,_0x7b5179:0x6b9,_0x266ad0:0x59e,_0x2b3cb6:0x43d,_0x385359:0x8c4,_0x494695:0xaa7,_0x2c6b81:0x628,_0x39e771:0x540,_0x4e512e:0x307,_0x4667d8:0x267,_0x15eec2:0x2c8,_0x2f1a43:0x59e,_0x2583e5:0x49e,_0x429be1:0x460,_0x1214af:0x8b0,_0x245a45:0x372,_0x4dc374:0x4a9,_0x400e1f:0x7f5,_0x4f793c:0x6a9,_0x591121:0x445,_0x206520:0x4dc},_0x354b7b={_0x249c55:0x527},_0x3a452a={_0x17210b:0x271},_0x3597d6={};function _0x43bed9(_0x89d3d1,_0x31ce64){return _0x43d5cd(_0x89d3d1-_0x3a452a._0x17210b,_0x31ce64);}_0x3597d6[_0x43bed9(_0x504b0d._0x489755,_0x504b0d._0x3ed66f)]=function(_0x1658f5,_0x152340){return _0x1658f5===_0x152340;},_0x3597d6[_0x43bed9(_0x504b0d._0x4ce80d,0x565)]=_0x43bed9(0x37c,_0x504b0d._0x1df757)+_0x368c86(_0x504b0d._0x2e3a10,_0x504b0d._0x3f1fe7)+_0x368c86(_0x504b0d._0x50c232,_0x504b0d._0x4b9e88)+_0x43bed9(0x24a,0x208)+'sing.';const _0x584b38=_0x3597d6,_0x32f8c2=[];!_0x316003[_0x43bed9(0x59e,0x636)+'ConfigFo'+_0x368c86(0x6e3,0x81a)]&&_0x32f8c2[_0x43bed9(0x372,0x1db)](_0x368c86(_0x504b0d._0x3540b7,0x65d)+_0x43bed9(_0x504b0d._0x458d9a,_0x504b0d._0x4f2f01)+_0x43bed9(0x48e,0x4f9)+'found\x20un'+_0x368c86(0x8be,_0x504b0d._0x238867)+formatOpenClawConfigLocations()+'.');_0x316003[_0x43bed9(0x59e,_0x504b0d._0x1fb726)+_0x43bed9(0x223,0x302)+'nd']&&_0x316003[_0x368c86(0x854,_0x504b0d._0x6e0b7d)+'Password'+_0x368c86(0x6e7,_0x504b0d._0x1c4f2e)]&&_0x316003[_0x43bed9(0x59e,0x36b)+'AuthMode']==null&&_0x32f8c2[_0x43bed9(0x372,_0x504b0d._0x17b201)](_0x368c86(_0x504b0d._0x3540b7,0x69f)+_0x368c86(_0x504b0d._0x78b953,0x8d2)+_0x43bed9(_0x504b0d._0x241e49,0x255)+_0x368c86(_0x504b0d._0x36be3f,_0x504b0d._0x308260)+'and\x20pass'+'word\x20con'+_0x368c86(0x7ee,0x5ad)+_0x43bed9(0x1dd,_0x504b0d._0x1a5aaa)+'eway.aut'+_0x368c86(0x4e3,_0x504b0d._0x138c48)+_0x368c86(0x919,_0x504b0d._0x33abd3));!_0x316003[_0x368c86(_0x504b0d._0x410328,_0x504b0d._0x44ab94)+_0x368c86(_0x504b0d._0x4490c0,_0x504b0d._0x1c2b14)+'nd']&&!_0x316003[_0x368c86(_0x504b0d._0x410328,0x92a)+_0x43bed9(_0x504b0d._0x35779b,0x3c5)+_0x368c86(_0x504b0d._0xa1f9e3,0x567)]&&_0x32f8c2[_0x43bed9(0x372,0x558)](_0x43bed9(_0x504b0d._0x3276c1,0x259)+_0x43bed9(0x466,0x68d)+_0x368c86(0x55c,0x586)+_0x43bed9(_0x504b0d._0x474170,_0x504b0d._0x17f250)+_0x368c86(0x4fc,_0x504b0d._0x40e15f)+_0x368c86(_0x504b0d._0x2427c4,_0x504b0d._0x7b5179)+'ord).');_0x316003[_0x43bed9(_0x504b0d._0x266ad0,_0x504b0d._0x2b3cb6)+'AuthMode']===_0x368c86(_0x504b0d._0x385359,_0x504b0d._0x494695)&&!_0x316003['openclaw'+'TokenFou'+'nd']&&_0x32f8c2[_0x368c86(_0x504b0d._0x2c6b81,0x4f8)]('OpenClaw'+_0x368c86(0x71c,_0x504b0d._0x39e771)+_0x43bed9(_0x504b0d._0x4e512e,0x139)+_0x43bed9(_0x504b0d._0x4667d8,_0x504b0d._0x15eec2)+'g.');_0x584b38['ZSSjE'](_0x316003[_0x43bed9(_0x504b0d._0x2f1a43,_0x504b0d._0x2583e5)+_0x43bed9(0x421,_0x504b0d._0x429be1)],_0x368c86(0x671,0x5e3))&&!_0x316003[_0x368c86(0x854,_0x504b0d._0x1214af)+'Password'+'Found']&&_0x32f8c2[_0x43bed9(_0x504b0d._0x245a45,0x3a7)](_0x584b38[_0x368c86(0x69c,0x866)]);!_0x316003[_0x368c86(0x5ef,_0x504b0d._0x4dc374)+_0x368c86(_0x504b0d._0x400e1f,_0x504b0d._0x4f793c)+_0x43bed9(0x467,_0x504b0d._0x591121)]&&_0x32f8c2[_0x43bed9(_0x504b0d._0x245a45,0x31d)]('Local\x20Op'+_0x368c86(0x54f,0x75b)+'ateway\x20i'+_0x368c86(_0x504b0d._0x206520,0x310)+_0x368c86(0x857,0x846)+_0x43bed9(0x389,0x4d2)+_0x316003[_0x368c86(0x5ef,0x5b9)+_0x368c86(0x7f4,0x5ac)]+'.');function _0x368c86(_0x1667ab,_0x33650c){return _0x43d5cd(_0x1667ab-_0x354b7b._0x249c55,_0x33650c);}return _0x32f8c2;}function formatOpenClawConfigLocations(){const _0x4335b1={_0xfd0ba9:0xf3,_0x3908f9:0x11c,_0x122f3f:0x24b,_0x156e0c:0x4d,_0x34a111:0x16,_0x3a4847:0x183},_0x1ca3b7={_0x1c23a6:0x35e,_0x331ea6:0x530},_0x401576={_0x531fc2:0x1c3},_0x43aab3={'RvxjY':function(_0x282e11){return _0x282e11();},'VqhUv':_0x310440(-_0x4335b1._0xfd0ba9,_0x4335b1._0x3908f9)};function _0x310440(_0x23c190,_0x1f0870){return _0x43d5cd(_0x1f0870- -_0x401576._0x531fc2,_0x23c190);}function _0x4240c9(_0xa15d70,_0x1f1184){return _0x43d5cd(_0x1f1184- -0xf,_0xa15d70);}const _0x45eccc=new Set();return[_0x43aab3['RvxjY'](_0x568cf1),'/root'][_0x310440(_0x4335b1._0x122f3f,0x232)](_0x218f38=>_0x218f38[_0x4240c9(0x63,0x19a)]()+(_0x4240c9(0x548,0x3a3)+'aw'))['filter'](_0x2b5870=>_0x2b5870!=='/.opencl'+'aw')[_0x4240c9(-_0x4335b1._0x156e0c,-0x8d)](_0x568499=>{const _0x3eb698={_0x3aa2c4:0x47};function _0x256924(_0x2136c2,_0x1763ba){return _0x4240c9(_0x1763ba,_0x2136c2-_0x3eb698._0x3aa2c4);}if(_0x45eccc[_0x256924(_0x1ca3b7._0x1c23a6,_0x1ca3b7._0x331ea6)](_0x568499))return![];return _0x45eccc['add'](_0x568499),!![];})[_0x310440(0x97,-_0x4335b1._0x34a111)](_0x43aab3[_0x310440(-_0x4335b1._0x3a4847,-0x21f)]);}function readLogFile(_0xf8093b){const _0x195d79={_0x3630fd:0x261,_0x298e96:0x316,_0x4e069d:0x489,_0x55d52f:0x40b,_0x20a15a:0x24e,_0x2c2ba6:0x542,_0x3711d1:0x6c1};function _0x138da2(_0x335c04,_0xba4615){return _0x1fe1a4(_0x335c04,_0xba4615-0x1c6);}function _0x3393e(_0x17197f,_0x12b3a5){return _0x1fe1a4(_0x17197f,_0x12b3a5- -0x5);}try{const _0x43791f=_0x12faca(_0xf8093b,_0x138da2(0x432,_0x195d79._0x3630fd));return _0x43791f[_0x3393e(_0x195d79._0x298e96,_0x195d79._0x4e069d)](/\r?\n/)[_0x138da2(_0x195d79._0x55d52f,_0x195d79._0x20a15a)](Boolean)[_0x138da2(_0x195d79._0x2c2ba6,_0x195d79._0x3711d1)](_0x156630=>({'raw':_0x156630,'ts':parseTimestamp(_0x156630)}));}catch{return[];}}function parseTimestamp(_0x141f55){const _0x37fe8b={_0x3f83a0:0xed},_0xb5d955={_0x12cf5d:0x1b};function _0x4d1a87(_0x3c33f4,_0x5c27fc){return _0x43d5cd(_0x5c27fc-0x214,_0x3c33f4);}const _0x3f0835=_0x141f55[_0x2c7dba(-0x26,-0xa6)](/^\[(\d{13})\]\s/);if(!_0x3f0835)return null;const _0x117d3d=Number(_0x3f0835[0x1]);function _0x2c7dba(_0x18b5bd,_0x6618c9){return _0x43d5cd(_0x18b5bd- -_0xb5d955._0x12cf5d,_0x6618c9);}return Number[_0x2c7dba(0x68,_0x37fe8b._0x3f83a0)](_0x117d3d)?_0x117d3d:null;}function clampLines(_0x3b2d3d){const _0x4f2657={_0x1b3807:0x4a7,_0x3e2d39:0x4d4,_0x3c35a4:0x80a,_0x376cea:0x6b2,_0x1cdcee:0x176},_0x4829c1={_0x980ff2:0x20b},_0x97c122={_0x42fdab:0x424};if(!Number[_0x54b894(_0x4f2657._0x1b3807,0x407)](_0x3b2d3d))return 0xc8;function _0x54b894(_0x4b4531,_0x2b6c32){return _0x43d5cd(_0x4b4531-_0x97c122._0x42fdab,_0x2b6c32);}function _0x116c2d(_0x2aba92,_0x1e3d74){return _0x43d5cd(_0x2aba92-_0x4829c1._0x980ff2,_0x1e3d74);}return Math[_0x54b894(0x6aa,_0x4f2657._0x3e2d39)](0x1,Math[_0x54b894(_0x4f2657._0x3c35a4,_0x4f2657._0x376cea)](0x7d0,Math[_0x116c2d(0x2a3,_0x4f2657._0x1cdcee)](_0x3b2d3d)));}async function checkGatewayReachable(_0x6d12fd){const _0x49297b={_0x2c8d66:0x61,_0x287ad9:0x3bf,_0xce1811:0x46f,_0x5aac5a:0x83,_0x3799b7:0x8a,_0x14a089:0x3b5,_0x59a3d3:0x32d,_0x295b03:0x60,_0xd19f1:0x18d,_0x1ec43f:0x467},_0x177a32={_0x1a1571:0x8cc,_0x1c8943:0x243,_0x1ae71b:0x4c5,_0x1e07ec:0x243,_0x147035:0xaa,_0x4130de:0x560,_0x29773a:0x50b},_0x255aca={_0x3963de:0xd2};function _0x4a0ed6(_0x1eb939,_0x4d8144){return _0x43d5cd(_0x4d8144-0x1d8,_0x1eb939);}function _0x380b51(_0x40af08,_0x198c7c){return _0x43d5cd(_0x40af08- -_0x255aca._0x3963de,_0x198c7c);}const _0xb918e9={'XMXPQ':_0x380b51(_0x49297b._0x2c8d66,0x38),'KmLMA':function(_0x4b5da4,_0x652fdd){return _0x4b5da4(_0x652fdd);}};try{const _0x1b00ff=new URL(_0x6d12fd),_0x4f4fbc=_0x1b00ff[_0x380b51(-0x85,0xbb)]||_0x4a0ed6(_0x49297b._0x287ad9,_0x49297b._0xce1811)+'1',_0xdb1c0f=_0x1b00ff[_0x380b51(_0x49297b._0x5aac5a,_0x49297b._0x3799b7)]?_0xb918e9[_0x4a0ed6(0x445,0x2c7)](Number,_0x1b00ff[_0x4a0ed6(_0x49297b._0x14a089,_0x49297b._0x59a3d3)]):_0x1b00ff[_0x380b51(_0x49297b._0x295b03,-_0x49297b._0xd19f1)]===_0x4a0ed6(0x6bb,_0x49297b._0x1ec43f)?0x1bb:0x50;return await new Promise((_0x2158c2,_0x56927d)=>{const _0x44b38c={_0xb30bed:0x69,_0x3d7c9c:0x58,_0x2d23b9:0x9e},_0x4f82d7={_0x5409e4:0x192},_0x383eb8={_0x202ab6:0xe6};function _0x5d6f25(_0x24559f,_0x3ff48a){return _0x4a0ed6(_0x3ff48a,_0x24559f-0x1ba);}const _0x27871f=new Socket();function _0x2799a3(_0x1c5b89,_0x3bab6f){return _0x4a0ed6(_0x3bab6f,_0x1c5b89- -_0x383eb8._0x202ab6);}_0x27871f[_0x5d6f25(0x69a,_0x177a32._0x1a1571)+'ut'](0x384),_0x27871f[_0x2799a3(_0x177a32._0x1c8943,0x3bf)](_0x5d6f25(0x50b,0x4d0),()=>{_0x27871f[_0x437401(_0x4f82d7._0x5409e4,0x62)]();function _0x437401(_0x32ef91,_0x5b0017){return _0x5d6f25(_0x5b0017- -0x304,_0x32ef91);}_0x2158c2();}),_0x27871f['once'](_0x5d6f25(_0x177a32._0x1ae71b,0x285),()=>{const _0x48ac88={_0x3c7eea:0x3d6};function _0x257d3b(_0x293b16,_0x40acbc){return _0x5d6f25(_0x293b16- -0x2a2,_0x40acbc);}function _0x3bf03c(_0x510154,_0x91dcbe){return _0x5d6f25(_0x510154- -_0x48ac88._0x3c7eea,_0x91dcbe);}_0x27871f[_0x3bf03c(-0x70,_0x44b38c._0xb30bed)](),_0x56927d(new Error(_0xb918e9[_0x3bf03c(_0x44b38c._0x3d7c9c,-_0x44b38c._0x2d23b9)]));}),_0x27871f[_0x2799a3(_0x177a32._0x1e07ec,_0x177a32._0x147035)](_0x2799a3(0x3dd,_0x177a32._0x4130de),_0x5b3380=>{function _0x4491ce(_0x1e8fe9,_0x3277b1){return _0x2799a3(_0x3277b1- -0x93,_0x1e8fe9);}_0x27871f[_0x4491ce(-0x8e,0x33)](),_0x56927d(_0x5b3380);}),_0x27871f[_0x5d6f25(_0x177a32._0x29773a,0x507)](_0xdb1c0f,_0x4f4fbc);}),!![];}catch{return![];}}function parseLookbackToMs(_0x40e7ba){const _0x2980a9={_0x9870b4:0x160,_0xfb2285:0x1af,_0x5c81cf:0x1a,_0x194e7f:0x4d0,_0x420e96:0x634,_0x424d72:0x818,_0x1d6f1b:0x354,_0x32264a:0xa1,_0x5d4a76:0x3c5,_0x4aceca:0x605,_0x2d01f3:0x92,_0x46e4ea:0x694,_0x431000:0x674},_0x19080a={_0x498487:0x2fe},_0x1d5c1c={'qVqFu':function(_0x359df6,_0x14a14d){return _0x359df6(_0x14a14d);},'QWBPr':function(_0x2dcaa5,_0x2a126c){return _0x2dcaa5===_0x2a126c;},'Zdoaw':function(_0x19d507,_0x53f3c0){return _0x19d507===_0x53f3c0;},'ZUcIC':function(_0x45d81e,_0xdd9f4f){return _0x45d81e===_0xdd9f4f;},'nzioP':function(_0x86469e,_0x18110a){return _0x86469e*_0x18110a;}};function _0x445349(_0x8cdd9b,_0x5d766a){return _0x43d5cd(_0x8cdd9b- -0x155,_0x5d766a);}const _0xf3d9a4=_0x40e7ba?.[_0x445349(0x54,0xe1)]();if(!_0xf3d9a4)return null;function _0x103efb(_0x3c0315,_0x5471a8){return _0x43d5cd(_0x3c0315-_0x19080a._0x498487,_0x5471a8);}const _0x5d418d=_0xf3d9a4[_0x445349(-_0x2980a9._0x9870b4,-0x2b2)](/^(\d+)(ms|s|m|h|d)$/i);if(!_0x5d418d)throw new Error(_0x445349(_0x2980a9._0xfb2285,0x2b)+'--last\x20v'+'alue\x20\x22'+_0xf3d9a4+('\x22.\x20Use\x20v'+_0x445349(0x1eb,_0x2980a9._0x5c81cf)+'ke\x2030s,\x20'+_0x103efb(0x4dc,_0x2980a9._0x194e7f)+_0x103efb(_0x2980a9._0x420e96,_0x2980a9._0x424d72)));const _0x5bf187=_0x1d5c1c[_0x103efb(0x516,_0x2980a9._0x1d6f1b)](Number,_0x5d418d[0x1]),_0x229e1a=_0x5d418d[0x2][_0x445349(-_0x2980a9._0x32264a,-0x6f)+_0x103efb(0x38b,_0x2980a9._0x5d4a76)](),_0x14d8bd=_0x1d5c1c[_0x103efb(_0x2980a9._0x4aceca,0x699)](_0x229e1a,'ms')?0x1:_0x1d5c1c['Zdoaw'](_0x229e1a,'s')?0x3e8:_0x1d5c1c[_0x445349(0x1b2,-_0x2980a9._0x2d01f3)](_0x229e1a,'m')?0xea60:_0x1d5c1c[_0x103efb(_0x2980a9._0x46e4ea,_0x2980a9._0x431000)](_0x229e1a,'h')?0x36ee80:0x5265c00;return _0x1d5c1c[_0x103efb(0x29f,0x90)](_0x5bf187,_0x14d8bd);}import{networkInterfaces}from'os';var BLOCKED_INTERFACE_TOKENS=[_0x43d5cd(0x18a,0x1f1),_0x1fe1a4(0x223,0x2e9),'tap',_0x43d5cd(0x1f1,0x2b4)+'e','wireguar'+'d','wg','vpn',_0x1fe1a4(0x330,0x3db),_0x1fe1a4(0x118,0xa3),_0x1fe1a4(-0x146,0xb9),_0x1fe1a4(0x1bb,0xb7),_0x43d5cd(0x37a,0x21f),_0x43d5cd(0x6c,0x10d),'\x20lo',_0x43d5cd(0xbb,0x22b),_0x43d5cd(0x2cb,0x3b6),'llw',_0x43d5cd(0x3fe,0x3f8),'br-',_0x43d5cd(0x38a,0x4ad)];function buildLocalPairingInfo(_0x315776){const _0x6ecebe={_0x2b1915:0x175,_0x3a7a9d:0x2d7,_0x55d8bc:0xa2d,_0x160ca0:0x829,_0x4ebbe9:0x547,_0x2b8d47:0x72a,_0x580782:0x401,_0x25ddd8:0x477,_0x4ffc30:0x58e,_0x5c8944:0x677,_0x387dfe:0x822,_0x58ef1c:0x43c,_0x1c21d7:0x433},_0x2d5214={'nhkoA':function(_0x460d40,_0xe6ed50){return _0x460d40(_0xe6ed50);},'HCDCF':function(_0x32f74e,_0x4212a7){return _0x32f74e+_0x4212a7;},'fAVdF':function(_0x3267d4,_0x46e84b){return _0x3267d4*_0x46e84b;}},_0x27e85f=resolveLocalPairAuth(_0x315776),_0x1bfb37={};_0x1bfb37['explicit'+'Url']=_0x315776[_0x1b90d8(_0x6ecebe._0x2b1915,_0x6ecebe._0x3a7a9d)+_0x295a2a(_0x6ecebe._0x55d8bc,_0x6ecebe._0x160ca0)],_0x1bfb37[_0x295a2a(_0x6ecebe._0x4ebbe9,0x401)+_0x295a2a(0x5ac,_0x6ecebe._0x2b8d47)+'l']=_0x315776[_0x295a2a(0x3d8,_0x6ecebe._0x580782)+_0x1b90d8(_0x6ecebe._0x25ddd8,_0x6ecebe._0x4ffc30)+'l'];const _0x283e68=_0x2d5214['nhkoA'](resolveLocalPairGatewayUrl,_0x1bfb37);function _0x1b90d8(_0xb79b88,_0x5ddeda){return _0x43d5cd(_0x5ddeda-0x2e9,_0xb79b88);}function _0x295a2a(_0x4cb5c0,_0x5c3ac8){return _0x43d5cd(_0x5c3ac8-0x485,_0x4cb5c0);}const _0x18723b=_0x315776['expiresA'+'t']??_0x2d5214['HCDCF'](Date['now'](),_0x2d5214[_0x1b90d8(_0x6ecebe._0x5c8944,0x68a)](0xa*0x3c,0x3e8));return{'gatewayUrl':_0x283e68,'expiresAt':_0x18723b,'authMode':_0x27e85f[_0x295a2a(0x6a8,_0x6ecebe._0x4ffc30)],'qrPayload':buildGatewayQrPayload({'gatewayUrl':_0x283e68,'token':_0x27e85f[_0x295a2a(0x69d,_0x6ecebe._0x387dfe)],'password':_0x27e85f[_0x1b90d8(_0x6ecebe._0x58ef1c,_0x6ecebe._0x1c21d7)],'expiresAt':_0x18723b})};}function resolveLocalPairGatewayUrl(_0x2fec40){const _0x1301f9={_0x463bbd:0x655,_0x40a452:0xe6,_0x1e1249:0x1a2,_0x4764c6:0x739,_0x315701:0x618,_0x5cd35c:0x63d,_0x4291f5:0x899,_0x213b06:0x541,_0x42c683:0x652,_0x454d4f:0x880,_0x4797e8:0x5ac,_0x427c11:0x1e9},_0x1adb47={_0x3b8be7:0x120},_0x1c1833={_0x313e3d:0x38e};function _0x46fe2b(_0x4b0730,_0x1ca7db){return _0x1fe1a4(_0x1ca7db,_0x4b0730-_0x1c1833._0x313e3d);}const _0x489a4a=_0x2fec40?.[_0x46fe2b(0x482,_0x1301f9._0x463bbd)+_0x46fe2b(0x838,0x9b8)]?.['trim']();if(_0x489a4a)return normalizeExplicitGatewayUrl(_0x489a4a);const _0x1bbb66=_0x2fec40?.[_0xe3bea(_0x1301f9._0x40a452,_0x1301f9._0x1e1249)+_0x46fe2b(_0x1301f9._0x4764c6,_0x1301f9._0x315701)+'l']?.[_0x46fe2b(_0x1301f9._0x5cd35c,0x88b)]()||resolveGatewayUrl();function _0xe3bea(_0x546175,_0x4233b2){return _0x1fe1a4(_0x546175,_0x4233b2-_0x1adb47._0x3b8be7);}const _0x363d8b=detectLanIp();if(!_0x363d8b)throw new Error(_0x46fe2b(_0x1301f9._0x4291f5,0x8de)+'o\x20determ'+'ine\x20a\x20LA'+_0x46fe2b(_0x1301f9._0x213b06,0x55f)+'ress.\x20Pa'+_0x46fe2b(0x7af,_0x1301f9._0x42c683)+_0x46fe2b(_0x1301f9._0x454d4f,0x906)+_0xe3bea(_0x1301f9._0x4797e8,0x375)+_0xe3bea(0x304,_0x1301f9._0x427c11)+_0x46fe2b(0x603,0x812)+'.');return rewriteGatewayHost(_0x1bbb66,_0x363d8b);}function normalizeExplicitGatewayUrl(_0x3486b6){const _0x1b3487={_0x2eeb1c:0x61},_0x30ebd8={'pkuqa':function(_0x581665,_0x3f0ec7){return _0x581665(_0x3f0ec7);}};function _0x342f16(_0x4b400e,_0x5f8714){return _0x43d5cd(_0x5f8714- -_0x1b3487._0x2eeb1c,_0x4b400e);}const _0x11b619=_0x3486b6[_0x24f5a5(-0xf4,-0x1b)](),_0x48f236=/^[a-z]+:\/\//i[_0x24f5a5(-0x12b,0x6e)](_0x11b619)?_0x11b619:_0x24f5a5(0x12,0x229)+_0x11b619;function _0x24f5a5(_0x1c5a2c,_0x4cd405){return _0x43d5cd(_0x4cd405- -0x1c4,_0x1c5a2c);}return _0x30ebd8[_0x342f16(0x257,0x25a)](normalizeGatewayQrUrl,_0x48f236)['url'];}function rewriteGatewayHost(_0xb8fa46,_0x4279f5){const _0x3cc30c={_0x555db0:0x8d,_0x42ea44:0x2d1,_0x5da508:0x7f7,_0x5cdba0:0x823},_0x155916={_0x1a30e9:0x222};function _0x2d23cc(_0x59c1a4,_0x5e0f29){return _0x1fe1a4(_0x5e0f29,_0x59c1a4- -_0x155916._0x1a30e9);}const _0x4c8914=_0xb8fa46[_0x2d23cc(_0x3cc30c._0x555db0,0x189)](),_0x3f6bc8=/^[a-z]+:\/\//i['test'](_0x4c8914)?_0x4c8914:_0x2d23cc(_0x3cc30c._0x42ea44,0xcd)+_0x4c8914,_0x588906=new URL(_0x3f6bc8);function _0x5a8e8f(_0x56c2ef,_0x6d782b){return _0x1fe1a4(_0x6d782b,_0x56c2ef-0x47f);}return _0x588906['hostname']=_0x4279f5,normalizeGatewayQrUrl(_0x588906['toString']())[_0x5a8e8f(_0x3cc30c._0x5da508,_0x3cc30c._0x5cdba0)];}function detectLanIp(){const _0x312c52={_0x4b6651:0x176,_0x29eb1b:0x555,_0x5b5c27:0x4dc,_0x447edc:0x4ec,_0x5d0f87:0x559,_0x5015ac:0x662};function _0x2387ce(_0x965fe,_0x53b3cc){return _0x1fe1a4(_0x965fe,_0x53b3cc-0x212);}const _0x4e7c11=networkInterfaces();let _0x4f7900=null;for(const [_0x1e07ae,_0x24a800]of Object[_0x2387ce(_0x312c52._0x4b6651,0x33f)](_0x4e7c11)){for(const _0x2b89f9 of _0x24a800??[]){if(_0x2b89f9[_0x523b16(_0x312c52._0x29eb1b,_0x312c52._0x5b5c27)]!==_0x2387ce(_0x312c52._0x447edc,0x3f3))continue;const _0x841ee7=scoreLanCandidate(_0x1e07ae,_0x2b89f9[_0x2387ce(0x379,0x3d5)]);if(_0x841ee7===0x0)continue;if(!_0x4f7900||_0x841ee7>_0x4f7900[_0x2387ce(0x636,0x707)]){const _0x36e9f9={};_0x36e9f9[_0x2387ce(_0x312c52._0x5d0f87,0x707)]=_0x841ee7,_0x36e9f9['ip']=_0x2b89f9[_0x523b16(0x4b3,_0x312c52._0x5015ac)],_0x4f7900=_0x36e9f9;}}}function _0x523b16(_0x16cadf,_0x36adf0){return _0x1fe1a4(_0x36adf0,_0x16cadf-0x2f0);}return _0x4f7900?.['ip']??null;}function scoreLanCandidate(_0x343734,_0x2cbdb2){const _0x2b996f={_0x3d0f92:0xa6,_0x3ba938:0x336,_0x3db676:0x33,_0x198425:0x14f,_0x5c20a4:0x38f,_0x544135:0x2a,_0x340c61:0x4b8,_0xf7b628:0x73,_0x4fa836:0x3bd,_0x12fc0d:0x422,_0x24355c:0x316,_0x5b72b3:0x1cf},_0x3782a7={_0xc4655e:0x83},_0x2224bc={'sGwer':function(_0x583cc2,_0x5c5c91){return _0x583cc2(_0x5c5c91);}};function _0x5701bc(_0x312bec,_0x2d4705){return _0x43d5cd(_0x312bec-0x299,_0x2d4705);}function _0x56f45f(_0x2d43ce,_0xe48de3){return _0x43d5cd(_0x2d43ce- -_0x3782a7._0xc4655e,_0xe48de3);}if(!isLanIpv4(_0x2cbdb2))return 0x0;const _0x48d428=_0x343734['toLowerC'+_0x56f45f(0xa,_0x2b996f._0x3d0f92)]();if(BLOCKED_INTERFACE_TOKENS[_0x56f45f(_0x2b996f._0x3ba938,0x52c)](_0x5cb4fe=>_0x48d428[_0x56f45f(0xa1,0x27e)](_0x5cb4fe)))return 0x0;let _0x3027f5=isRfc1918(_0x2cbdb2)?0x78:_0x2224bc[_0x56f45f(_0x2b996f._0x3db676,-_0x2b996f._0x198425)](isCgnat,_0x2cbdb2)?0x5a:0x28;return(_0x48d428['startsWi'+'th']('en')||_0x48d428[_0x5701bc(_0x2b996f._0x5c20a4,0x565)+'th'](_0x56f45f(0xdb,_0x2b996f._0x544135))||_0x48d428[_0x5701bc(0x38f,_0x2b996f._0x340c61)+'th'](_0x5701bc(0x386,0x4a2))||_0x48d428[_0x56f45f(_0x2b996f._0xf7b628,0x279)+'th']('wl')||_0x48d428[_0x5701bc(_0x2b996f._0x4fa836,_0x2b996f._0x12fc0d)](_0x5701bc(_0x2b996f._0x24355c,_0x2b996f._0x5b72b3))||_0x48d428['includes']('wi-fi'))&&(_0x3027f5+=0x14),_0x3027f5;}function resolveLocalPairAuth(_0x2eb11f){const _0x5454a8={_0x15650e:0x48c,_0xa3f032:0x523,_0x1553b6:0x4d5,_0x2dfdac:0x102,_0x589c96:0x4f3,_0x133930:0x4dd,_0x20af9c:0x73a,_0x1f144e:0x4ff,_0x2c17f9:0x2e9,_0x3dd7e9:0x26e,_0x3f7b93:0x3ed,_0x274404:0x752,_0x5beec2:0x80c,_0x20e356:0x11a,_0x4637e2:0x54b,_0x35839a:0x648,_0x3f1ffd:0x7b7,_0x23a21:0x90,_0x19a3cf:0x428,_0x8c4660:0x512,_0x1be84f:0x817,_0x437178:0x677};function _0x4e8f95(_0x282d15,_0x17ab8b){return _0x1fe1a4(_0x282d15,_0x17ab8b-0x3a);}const _0x5012d6={};function _0x24b0e2(_0x477bf6,_0x4956b0){return _0x1fe1a4(_0x4956b0,_0x477bf6-0x34d);}_0x5012d6[_0x4e8f95(0x2ee,0x351)]='password';const _0x59c953=_0x5012d6;if(_0x2eb11f[_0x4e8f95(_0x5454a8._0x15650e,_0x5454a8._0xa3f032)+_0x24b0e2(0x681,_0x5454a8._0x1553b6)]?.[_0x4e8f95(_0x5454a8._0x2dfdac,0x2e9)]())return{'mode':_0x4e8f95(_0x5454a8._0x589c96,_0x5454a8._0x133930),'token':_0x2eb11f['gatewayT'+_0x24b0e2(0x681,_0x5454a8._0x20af9c)][_0x24b0e2(0x5fc,0x3bb)](),'password':null};if(_0x2eb11f[_0x24b0e2(0x700,_0x5454a8._0x1f144e)+'assword']?.[_0x4e8f95(0x46d,_0x5454a8._0x2c17f9)]())return{'mode':_0x59c953[_0x4e8f95(0x29f,0x351)],'token':null,'password':_0x2eb11f[_0x4e8f95(_0x5454a8._0x3dd7e9,_0x5454a8._0x3f7b93)+_0x24b0e2(_0x5454a8._0x274404,_0x5454a8._0x5beec2)][_0x4e8f95(_0x5454a8._0x20e356,_0x5454a8._0x2c17f9)]()};throw new Error(_0x24b0e2(0x55e,_0x5454a8._0x4637e2)+_0x24b0e2(_0x5454a8._0x35839a,_0x5454a8._0x3f1ffd)+_0x4e8f95(_0x5454a8._0x23a21,0x175)+_0x4e8f95(0x1f9,0x1b2)+_0x24b0e2(_0x5454a8._0x19a3cf,_0x5454a8._0x8c4660)+_0x24b0e2(_0x5454a8._0x1be84f,_0x5454a8._0x437178)+'ord).');}function isLanIpv4(_0x38dfce){const _0x10e98e={_0x2ff867:0x233,_0x467537:0x4e4,_0x5b19b3:0x394},_0x5635be={_0x432408:0x53},_0x3bbe2e={'imEjj':function(_0x162e5c,_0x3b33e5){return _0x162e5c===_0x3b33e5;},'ljNVb':function(_0x476e2e,_0xaa0cb7){return _0x476e2e===_0xaa0cb7;},'SWyWW':function(_0x4f2f32,_0x5480f1){return _0x4f2f32(_0x5480f1);}};if(!isValidIpv4(_0x38dfce))return![];if(_0x38dfce===_0x3a6bc5(0x3d3,0x214))return![];const [_0x3aa9a9,_0x14bcf9,_0x159c59,_0x9c3e4e]=_0x38dfce[_0x3a6bc5(0x4e1,0x634)]('.')[_0xf6d0f6(0x2d9,_0x10e98e._0x2ff867)](Number);if(_0x3aa9a9===0x7f)return![];if(_0x3aa9a9===0xa9&&_0x3bbe2e[_0x3a6bc5(0x4e7,_0x10e98e._0x467537)](_0x14bcf9,0xfe))return![];if(_0x3aa9a9>=0xe0&&_0x3aa9a9<=0xef)return![];function _0xf6d0f6(_0xdd6c4d,_0x1b01f6){return _0x1fe1a4(_0x1b01f6,_0xdd6c4d- -0x222);}if(_0x3aa9a9===0xff&&_0x14bcf9===0xff&&_0x159c59===0xff&&_0x3bbe2e[_0x3a6bc5(0x4c6,0x591)](_0x9c3e4e,0xff))return![];function _0x3a6bc5(_0x2f99b0,_0x5c682d){return _0x1fe1a4(_0x5c682d,_0x2f99b0-_0x5635be._0x432408);}if(_0x3aa9a9===0xc6&&(_0x14bcf9===0x12||_0x14bcf9===0x13))return![];return _0x3bbe2e[_0x3a6bc5(_0x10e98e._0x5b19b3,0x16b)](isRfc1918,_0x38dfce)||isCgnat(_0x38dfce);}function isRfc1918(_0x2d8773){const _0x5238f1={_0x451c54:0x579,_0x9ba0d1:0x5c3},_0x51684f={_0x4b351a:0x2e5};function _0xa0c8d(_0x59aa4c,_0x109e5f){return _0x1fe1a4(_0x59aa4c,_0x109e5f-0xf1);}const _0x25412f={};_0x25412f[_0xa0c8d(0x6ee,_0x5238f1._0x451c54)]=function(_0x905ea,_0x5a165f){return _0x905ea===_0x5a165f;};const _0xada749=_0x25412f;function _0x41850c(_0xaf9421,_0x17ee9d){return _0x1fe1a4(_0x17ee9d,_0xaf9421- -_0x51684f._0x4b351a);}const [_0xd10339,_0x3afde4]=_0x2d8773['split']('.')[_0xa0c8d(_0x5238f1._0x9ba0d1,0x5ec)](Number);return _0xd10339===0xa||_0xada749[_0x41850c(0x1a3,0x398)](_0xd10339,0xac)&&_0x3afde4>=0x10&&_0x3afde4<=0x1f||_0xd10339===0xc0&&_0xada749['vDIwL'](_0x3afde4,0xa8);}function isCgnat(_0x24fefb){function _0x547fc6(_0x8e8eb2,_0x5dfa39){return _0x43d5cd(_0x5dfa39- -0x5f,_0x8e8eb2);}const [_0x3577d0,_0x5f5aed]=_0x24fefb[_0x547fc6(0x44c,0x329)]('.')['map'](Number);return _0x3577d0===0x64&&_0x5f5aed>=0x40&&_0x5f5aed<=0x7f;}function isValidIpv4(_0x4df14a){const _0x51c8ad={_0x3a01b1:0x39d,_0x3323b5:0x44d,_0x5704d3:0xf7},_0x3f1021={_0x140b23:0x1c7,_0x4da5db:0x30d},_0xda235d={_0xaa882d:0xc5},_0x53cf5b={_0x24a0b5:0x137},_0x4daad5={};_0x4daad5['tuqJa']=function(_0x2aca6b,_0xce6570){return _0x2aca6b>=_0xce6570;};const _0x2ca03b=_0x4daad5;function _0x110755(_0x44e573,_0x2db0e5){return _0x43d5cd(_0x44e573- -_0x53cf5b._0x24a0b5,_0x2db0e5);}function _0x5c3d96(_0x38e471,_0x56685e){return _0x43d5cd(_0x56685e-_0xda235d._0xaa882d,_0x38e471);}const _0x1a3bea=_0x4df14a[_0x5c3d96(_0x51c8ad._0x3a01b1,_0x51c8ad._0x3323b5)]('.');return _0x1a3bea['length']===0x4&&_0x1a3bea[_0x110755(-0x51,_0x51c8ad._0x5704d3)](_0x3a33ca=>{function _0x4839ea(_0x4094da,_0x278d83){return _0x5c3d96(_0x278d83,_0x4094da- -0x130);}if(!/^\d+$/[_0x4839ea(_0x3f1021._0x140b23,_0x3f1021._0x4da5db)](_0x3a33ca))return![];const _0x6ae4b2=Number(_0x3a33ca);return _0x2ca03b['tuqJa'](_0x6ae4b2,0x0)&&_0x6ae4b2<=0xff;});}import{readFileSync as _0x40b187}from'fs';import{dirname as _0x37b98b,resolve}from'path';import{fileURLToPath}from'url';function readCliVersion(){const _0x1e5977={_0x302323:0x1e,_0x2a1b07:0x244,_0x451772:0x10e},_0x224641=_0x37b98b(fileURLToPath(import.meta.url)),_0x619c0d=resolve(_0x224641,_0x2ec2ad(_0x1e5977._0x302323,0x21e)+'ge.json');function _0x2ec2ad(_0x1d25d5,_0x9db9ec){return _0x1fe1a4(_0x9db9ec,_0x1d25d5- -0x13e);}const _0x26ebde=_0x40b187(_0x619c0d,_0x3dd617(_0x1e5977._0x2a1b07,0x1e9)),_0x1c47b4=JSON['parse'](_0x26ebde);function _0x3dd617(_0x3a82e4,_0x207adf){return _0x1fe1a4(_0x3a82e4,_0x207adf-0x14e);}return _0x1c47b4[_0x2ec2ad(0x22,-_0x1e5977._0x451772)]??'unknown';}function buildPairingJson(_0x3d41cd,_0x196008,_0x2a8eec,_0x12f89e){const _0x14ba2c={_0x43a663:0x200,_0x144581:0x4ef,_0x39037b:0x3e5,_0x43aa36:0x1d9,_0x173b5c:0x17a,_0x28b956:0x40c,_0x2a1c41:0xbd,_0x50a2d2:0x2b8,_0x1be803:0x2b8,_0x545607:0x1b5,_0x5d1153:0x223,_0x29030f:0xf8,_0x241bfb:0x207,_0x2dbbc3:0x1fc,_0x478da9:0x419,_0x6cbb2a:0x1ab,_0x3bfdd5:0x5a,_0x494d0e:0x1cc,_0x137fca:0x32c,_0x3ec06b:0x76,_0xa94ad7:0xe3,_0xfbd76d:0x14b,_0x2e3e4c:0x2c2,_0x40b793:0x190,_0x40b773:0xa1,_0x317d42:0x16f,_0x49bee0:0x2aa,_0x188df7:0x4f,_0x3f4aa0:0xf},_0x444fde={};_0x444fde[_0x4c6a11(0x462,0x2af)+'d']=_0x2a8eec['installe'+'d'],_0x444fde[_0x50f1ee(_0x14ba2c._0x43a663,0x378)]=_0x2a8eec['running'],_0x444fde[_0x4c6a11(_0x14ba2c._0x144581,0x5fd)]=_0x2a8eec[_0x50f1ee(0x1d6,_0x14ba2c._0x39037b)],_0x444fde[_0x50f1ee(-0x1d9,-0x1e1)+_0x4c6a11(0x45c,0x4e9)]=_0x2a8eec[_0x50f1ee(-_0x14ba2c._0x43aa36,-0x2a8)+'ath'],_0x444fde[_0x4c6a11(0x19f,0x254)]=_0x2a8eec[_0x50f1ee(-_0x14ba2c._0x173b5c,-0x6f)],_0x444fde[_0x4c6a11(0x1ba,_0x14ba2c._0x28b956)+'Path']=_0x2a8eec['errorLog'+'Path'],_0x444fde[_0x50f1ee(-_0x14ba2c._0x2a1c41,-0x274)]=_0x2a8eec['pid'];const _0x513261={};_0x513261['ok']=!![],_0x513261[_0x4c6a11(_0x14ba2c._0x50a2d2,0xea)]=_0x3d41cd[_0x4c6a11(_0x14ba2c._0x1be803,0x308)],_0x513261[_0x4c6a11(_0x14ba2c._0x545607,0x3d7)]=_0x12f89e,_0x513261['gatewayI'+'d']=_0x3d41cd[_0x50f1ee(0x207,_0x14ba2c._0x5d1153)]['gatewayI'+'d'],_0x513261[_0x4c6a11(0x1b3,0x15a)]=_0x3d41cd['config'][_0x50f1ee(-0x166,-0x61)],_0x513261[_0x50f1ee(0x100,_0x14ba2c._0x29030f)+'l']=_0x3d41cd[_0x50f1ee(_0x14ba2c._0x241bfb,_0x14ba2c._0x2dbbc3)][_0x4c6a11(_0x14ba2c._0x478da9,0x314)+'l'],_0x513261[_0x4c6a11(0x14d,_0x14ba2c._0x6cbb2a)+'Id']=_0x3d41cd[_0x50f1ee(0x207,_0x14ba2c._0x3bfdd5)][_0x50f1ee(-_0x14ba2c._0x494d0e,-_0x14ba2c._0x137fca)+'Id'],_0x513261[_0x50f1ee(0x190,_0x14ba2c._0x3ec06b)+'de']=_0x3d41cd[_0x50f1ee(0x190,_0x14ba2c._0xa94ad7)+'de'],_0x513261[_0x50f1ee(0x190,0x32a)+_0x50f1ee(-0x4f,0x97)+_0x50f1ee(-_0x14ba2c._0xfbd76d,-_0x14ba2c._0x2e3e4c)]=_0x3d41cd[_0x50f1ee(_0x14ba2c._0x40b793,-0x8b)+'deExpire'+_0x4c6a11(0x1ce,_0x14ba2c._0x40b773)],_0x513261[_0x50f1ee(0x1c8,_0x14ba2c._0x317d42)+_0x50f1ee(0x143,_0x14ba2c._0x49bee0)]=_0x196008;function _0x4c6a11(_0x3cf12e,_0x559a0b){return _0x1fe1a4(_0x559a0b,_0x3cf12e-0x47);}_0x513261[_0x50f1ee(_0x14ba2c._0x188df7,-_0x14ba2c._0x3f4aa0)]=_0x444fde;function _0x50f1ee(_0x45f2e7,_0x41b7a8){return _0x1fe1a4(_0x41b7a8,_0x45f2e7- -0x2d2);}return _0x513261;}function buildLocalPairingJson(_0x4db54a){const _0x55468e={_0x17b9e5:0x2d0,_0x2dbd79:0x7e5,_0x2d3b77:0x41,_0x3363d6:0x1f4,_0x56fda8:0x419,_0x48af70:0x38c,_0x3c01f1:0x239,_0x27b4ff:0x5e4,_0x290e63:0x1b4,_0x41b88d:0x2a9},_0x58b6a6={_0x5052b6:0x15b},_0x1618a4={};function _0x290491(_0xa603,_0xf68261){return _0x43d5cd(_0xf68261-0x2d5,_0xa603);}_0x1618a4['ok']=!![],_0x1618a4[_0x3bef37(0x10,-0x5b)]=_0x290491(0x3a5,0x480);function _0x3bef37(_0x47e89f,_0x1486e4){return _0x43d5cd(_0x47e89f- -_0x58b6a6._0x5052b6,_0x1486e4);}return _0x1618a4['message']=_0x4db54a['message'],_0x1618a4[_0x3bef37(0x2a2,_0x55468e._0x17b9e5)+'rl']=_0x4db54a[_0x290491(_0x55468e._0x2dbd79,0x6d2)+'rl'],_0x1618a4[_0x3bef37(0x47,-_0x55468e._0x2d3b77)]=_0x4db54a[_0x3bef37(0x47,-_0x55468e._0x3363d6)],_0x1618a4[_0x290491(_0x55468e._0x56fda8,0x38c)+'t']=_0x4db54a[_0x290491(0x42a,_0x55468e._0x48af70)+'t'],_0x1618a4[_0x3bef37(_0x55468e._0x3c01f1,0x4c)+_0x290491(0x3be,_0x55468e._0x27b4ff)]=_0x4db54a['qrImageP'+_0x3bef37(_0x55468e._0x290e63,_0x55468e._0x41b88d)],_0x1618a4;}import{mkdirSync as _0x31d69f,writeFileSync as _0xbd36b1}from'fs';import{dirname as _0x52601f,isAbsolute,join as _0xcdae6f,resolve as _0x43404d}from'path';import _0x258d77 from'qrcode';var DEFAULT_QR_DIR=getOpenClawMediaDir();async function writePairingQrPng(_0x22423e,_0x4971d0){const _0x5cfd41={_0x21ac2d:0x480,_0x8c0125:0x4fe,_0x922bd6:0x201},_0x4e578a={_0x4aeb9b:0x4d6},_0x521849=resolveQrOutputPath(_0x22423e[_0x27c711(_0x5cfd41._0x21ac2d,_0x5cfd41._0x8c0125)][_0x27c711(0x6d,_0x5cfd41._0x922bd6)+'d'],_0x4971d0);function _0x520243(_0x3e32e7,_0x39b6f6){return _0x43d5cd(_0x39b6f6-_0x4e578a._0x4aeb9b,_0x3e32e7);}function _0x27c711(_0x2c1951,_0x4e2293){return _0x43d5cd(_0x4e2293-0x12b,_0x2c1951);}return writeQrPng(_0x22423e[_0x520243(0x926,0x7fe)+'d'],_0x521849);}async function writeRawQrPng(_0x17affe,_0x4e5a23,_0x3d37f3){const _0x3d33e4=resolveQrOutputPath(_0x4e5a23,_0x3d37f3);return writeQrPng(_0x17affe,_0x3d33e4);}async function writeQrPng(_0x1c6880,_0x3b1176){const _0x151ed0={_0x3367a1:0x2ec,_0x5e227c:0xd4,_0x4d00d:0x3fd,_0x1133aa:0x3ad,_0x549c57:0x126,_0x47fbc8:0x124,_0x2e65db:0x137,_0x1aa404:0x13,_0x5cc837:0xbb,_0x1f25f6:0x301,_0x122421:0x56f,_0xca0dc4:0x14c},_0x2997d3={_0xa6510a:0x147},_0x41842a={_0xdfc115:0x178},_0x396443={};function _0x57b4dd(_0x43967f,_0x12603){return _0x1fe1a4(_0x12603,_0x43967f- -_0x41842a._0xdfc115);}_0x396443['recursiv'+'e']=!![],_0x31d69f(_0x52601f(_0x3b1176),_0x396443);const _0x916835={};_0x916835['type']=_0x21227f(_0x151ed0._0x3367a1,_0x151ed0._0x5e227c)+'g',_0x916835['errorCor'+_0x21227f(_0x151ed0._0x4d00d,_0x151ed0._0x1133aa)+_0x57b4dd(0x3a2,0x52b)]='M',_0x916835['margin']=0x1,_0x916835[_0x21227f(_0x151ed0._0x549c57,_0x151ed0._0x47fbc8)]=0x2d0;function _0x21227f(_0x2a9b86,_0x264696){return _0x1fe1a4(_0x2a9b86,_0x264696- -_0x2997d3._0xa6510a);}const _0x4b55c9=await _0x258d77[_0x21227f(_0x151ed0._0x2e65db,-_0x151ed0._0x1aa404)+'L'](_0x1c6880,_0x916835),_0x159a1f=_0x4b55c9[_0x57b4dd(_0x151ed0._0x5cc837,_0x151ed0._0x1f25f6)](/^data:image\/png;base64,/,'');return _0xbd36b1(_0x3b1176,Buffer[_0x21227f(_0x151ed0._0x122421,0x380)](_0x159a1f,_0x21227f(_0x151ed0._0xca0dc4,0x1c6))),_0x3b1176;}function resolveQrOutputPath(_0x15f726,_0x15d573){const _0x4ff9fd={_0x790305:0x3ba,_0x4fcb4c:0x57c,_0x17344:0x4bd},_0x4a0aec={'vggMS':function(_0xabbbb6,_0x33bc8c){return _0xabbbb6(_0x33bc8c);}};function _0x258cf4(_0x1d1a9f,_0x42dc53){return _0x1fe1a4(_0x42dc53,_0x1d1a9f-0x10b);}function _0x4503a1(_0x1be584,_0x52ed38){return _0x1fe1a4(_0x1be584,_0x52ed38- -0x12d);}const _0xabce9a=_0x15d573?.[_0x258cf4(_0x4ff9fd._0x790305,_0x4ff9fd._0x4fcb4c)]();if(_0xabce9a)return isAbsolute(_0xabce9a)?_0xabce9a:_0x4a0aec['vggMS'](_0x43404d,_0xabce9a);return _0xcdae6f(DEFAULT_QR_DIR,_0x15f726+_0x258cf4(_0x4ff9fd._0x17344,0x2d2));}function decidePairServiceAction(_0x46a1fb,_0x2cced2){const _0x21a619={_0x312149:0x7a1,_0x5a72c8:0x412,_0xd5f816:0x496,_0x46fb64:0x645};function _0x318bba(_0x6d8a37,_0x3881a8){return _0x1fe1a4(_0x3881a8,_0x6d8a37-0x2d5);}if(!_0x2cced2['installe'+'d'])return _0x8dfaf0(0x5b3,0x706);if(!_0x2cced2[_0x8dfaf0(0x77e,_0x21a619._0x312149)])return _0x318bba(_0x21a619._0x5a72c8,_0x21a619._0xd5f816);function _0x8dfaf0(_0xd61cc9,_0x2fc6d9){return _0x1fe1a4(_0xd61cc9,_0x2fc6d9-0x2cf);}if(_0x46a1fb[_0x8dfaf0(0x635,0x540)]==='register'+'ed')return _0x318bba(0x412,_0x21a619._0x46fb64);return _0x318bba(0x432,0x40e);}async function main(){const _0x119951={_0x1a12c1:0x360,_0x3553d4:0x4d1,_0x11af19:0x485,_0x2f3d9f:0x374,_0xd3c2a3:0x51a,_0x4ff121:0x398,_0xfc74e9:0x6d2,_0x1ab14a:0x257,_0x4252a0:0x138,_0x8dacd7:0x176,_0x22ade3:0x2a4,_0x4dd8d6:0x777,_0x48ea54:0x4c8,_0x1fc8b8:0x136,_0x46ef73:0x2f4,_0x5e4edf:0x3bb,_0x50c4f3:0x19a,_0x2d6d4f:0x49c,_0x4ed0d6:0x493,_0x19713b:0x8c,_0x4fb431:0x193,_0x4a5349:0x49f,_0x331605:0x405,_0x3f4836:0x516,_0x412d64:0x5d3,_0x42b677:0x448,_0x49ecb3:0x557,_0x2f6e8a:0x312,_0x4ab805:0x217,_0x26deb9:0x12,_0x4d28e0:0x1ff,_0x1b7d65:0x184,_0x38d43c:0x55a,_0x4bde76:0x4df,_0x2a3ef6:0x49a,_0x133d90:0x506,_0x31855f:0x215,_0x4f5961:0x2f1,_0x279df6:0x161,_0x51fec6:0x54e,_0x16f0bc:0x6c8,_0x4c0579:0x4d9,_0x349e59:0x460,_0x45c58e:0x4fa,_0x4893d5:0x4e3,_0x4e6f3a:0x21e,_0x59319a:0x268,_0x42fee3:0x503,_0x2fe9a9:0x3f8,_0x503e85:0x516,_0x3466ed:0x545,_0x2e7e3c:0x4c0,_0x5a42ca:0x2d6,_0x4155c7:0x3a9,_0x341b2d:0x53a,_0x401af5:0x73e,_0x50e8cb:0x471,_0xbeb8:0x3f8,_0x5925f0:0x669,_0x232e6:0x142,_0x2fe8ee:0x454,_0x381de2:0x599,_0x5461e3:0x42,_0x2fd341:0x24f,_0xea893b:0x62c,_0x1a6bba:0x21a,_0x4a3aae:0x634,_0x3a8e0a:0x67f,_0x49c9d5:0x8ab,_0x140cb0:0x724,_0xe18055:0x55d,_0x41c371:0x356,_0x263787:0x4b0,_0x312f96:0x73,_0x221000:0x2e6,_0x41381f:0x324,_0x13cabe:0x2e1,_0x48e7f9:0x417,_0x38ccc9:0x40f,_0x376e58:0x330,_0x349f6e:0x65d,_0x39152a:0x415,_0x4b4dbe:0xe1,_0x8f7dc2:0xbc,_0x2c5b91:0x2ff,_0x4c406a:0x1bd,_0x245f9a:0x38b,_0x5e58c2:0x6f2,_0x368ee6:0x672,_0x186128:0x4e2,_0x16cb2c:0x392,_0x2531b7:0x259,_0x4f738e:0x18f,_0xc663dc:0x820,_0xd3c83c:0x45a,_0x136a8f:0x447,_0x1f093f:0x46a,_0x22cde9:0x37f,_0x5430eb:0x678,_0x1ca32f:0x691,_0x2cecbc:0x5d2,_0x2b6601:0x330,_0x948be0:0x379,_0x1b08f6:0x61d,_0x129968:0x5cd,_0x5eb39a:0x520,_0x16dab5:0x2a8,_0x1b10c8:0x49c,_0x137fdb:0x53e,_0xc3fa17:0x466,_0x1539e3:0x36a,_0x523482:0x3e6,_0xc581e5:0x4e7,_0x1b7c98:0x4a1,_0x426b5d:0x5,_0x3f385a:0x220,_0x3f985d:0x742,_0x4bd692:0x2ae,_0x3390f7:0x3ca,_0x1d133e:0x7ec,_0x5a2450:0x4ae,_0x4c2dd6:0x12a,_0x3daec8:0x228,_0x1da193:0x2eb,_0x1bf494:0x357,_0x25003c:0x417,_0x209ca0:0x378,_0x42b325:0x826,_0x3419d5:0x1e5,_0x5e6ddd:0x152,_0xdb9e87:0x228,_0x366c23:0x3b7,_0x38f282:0x406,_0x2c8b2e:0x3a6,_0x53e848:0x4bd,_0x4df813:0x32e,_0x444e6f:0x322,_0x428958:0x6ac,_0x2569e0:0x499,_0x526dcb:0x439,_0x1c57b3:0x660,_0x5b8d63:0x126,_0x416d8e:0x436,_0x5cdb99:0x575,_0x177f0e:0x6c7,_0x2fe441:0x2dc,_0x5f73b0:0x681,_0x363001:0x2ed,_0x3462fe:0x21c,_0x30f649:0x4af,_0x2bba79:0x30e,_0x4941a3:0x64c,_0x58edd4:0x45e,_0x53148b:0x30,_0x18612b:0x524,_0x46891b:0x251,_0x2bffcb:0x703,_0x3bb8ab:0x6c5,_0x5e8273:0x459,_0x23c4ae:0x761,_0x58f501:0x573,_0x5d803e:0x2d3,_0x3b4f3a:0x446,_0x41b405:0x3bb,_0x5172c2:0x4f1,_0x2aad3b:0x47d,_0x28ea5e:0x856,_0x2f249f:0x35e,_0x24ae1c:0x2d3,_0x399c54:0x1f8,_0x31f393:0x457,_0xed7204:0x6c4,_0xda0db5:0x78f,_0x3e22b7:0x64b,_0x259575:0x143,_0x2faf2d:0x260,_0x9de826:0x4bb,_0x34cc92:0x35d,_0x4ee263:0x534,_0x2b1f8e:0x1a5,_0x28fb9a:0x33a,_0x169462:0x2a8,_0xa38725:0x500,_0xa77ba4:0x4ba,_0x3476e0:0x4b1,_0x236fef:0x390,_0x310fc8:0x287,_0x2f5d10:0x169,_0x153ba6:0x364,_0x1bfc1a:0x5c0},_0x247979={_0x5337fc:0x157,_0x4df6ed:0xd1,_0x2a8bef:0xb0,_0x2d6e56:0x1bb,_0x19d480:0x543},_0x37f383={_0x48bcb9:0x795,_0x7c20fd:0x69a,_0x405455:0x3bc,_0x34717d:0x9e9,_0x3ac64d:0x130,_0x52b277:0x724,_0x36f22d:0x5da},_0x4d746b={_0x464434:0x46d},_0x5e6d97={_0x574974:0x48f,_0x302529:0x17d,_0xafa38d:0x3ee,_0x2bcdcd:0x333,_0x356077:0x183,_0x1703fb:0x2ac,_0x223174:0x63,_0x3f64d:0x22f,_0x20fdd8:0x3d7,_0x3e8c75:0x2fa,_0x54a43b:0x4b9,_0x4ad195:0x39c,_0x270e9f:0x6,_0xbc9a20:0xaf,_0x209e39:0x192,_0x24437c:0x216,_0x253cbf:0x130,_0x1c3592:0x54,_0x243af0:0x385,_0x57c435:0x2fa},_0x12c687={_0x126cca:0x407},_0x1144c1={_0x1bce7c:0x698,_0x29d406:0x8e4,_0x1e0edc:0x1a0,_0x2b361c:0x1da},_0x664c7a={_0x502baa:0xab},_0x4f1089={'iVwJN':function(_0x441011,_0x52fb61){return _0x441011(_0x52fb61);},'xNPTF':'SIGINT','sGLMj':'pair','PfDvT':_0x2fe38e(_0x119951._0x1a12c1,0x49c),'MrBEy':'clawket-'+'local-pa'+'ir','zNaYF':'Generate'+_0x2fe38e(0x2b4,0x3f0)+_0x112e3a(_0x119951._0x3553d4,_0x119951._0x11af19)+'y\x20pairin'+'g\x20QR.','yEIPA':_0x2fe38e(_0x119951._0x2f3d9f,0x19c),'LbibR':function(_0x2fe16b){return _0x2fe16b();},'PLuoZ':function(_0x51f34d,_0x4f5a00,_0x5da23b){return _0x51f34d(_0x4f5a00,_0x5da23b);},'clYtT':_0x112e3a(_0x119951._0xd3c2a3,_0x119951._0x4ff121),'VlcZQ':function(_0x4cf922,_0x2f37ce,_0x5a21d5,_0x25611c,_0xe08ef4){return _0x4cf922(_0x2f37ce,_0x5a21d5,_0x25611c,_0xe08ef4);},'MqQhP':function(_0x2b72ef){return _0x2b72ef();},'uEwiG':_0x112e3a(0x8c1,_0x119951._0xfc74e9)+_0x2fe38e(_0x119951._0x1ab14a,0x240)+_0x2fe38e(0x14b,_0x119951._0x4252a0)+_0x2fe38e(_0x119951._0x8dacd7,_0x119951._0x22ade3)+_0x2fe38e(_0x119951._0x4dd8d6,0x58b)+_0x112e3a(0x467,_0x119951._0x48ea54)+_0x2fe38e(_0x119951._0x1fc8b8,_0x119951._0x46ef73)+_0x2fe38e(_0x119951._0x5e4edf,_0x119951._0x50c4f3),'lXIwX':_0x112e3a(_0x119951._0x2d6d4f,_0x119951._0x4ed0d6)+_0x2fe38e(_0x119951._0x19713b,_0x119951._0x4fb431),'sSwoR':function(_0xcb0b45,_0x56b321){return _0xcb0b45 in _0x56b321;},'JIhUO':_0x112e3a(_0x119951._0x4a5349,0x5a8)+_0x2fe38e(0x3bb,_0x119951._0x331605)+_0x2fe38e(0x65a,0x565),'GJLDV':function(_0x54871c,_0x5c0374){return _0x54871c===_0x5c0374;},'yXQNs':function(_0x52752b,_0x2f4c6e,_0x5bc56e){return _0x52752b(_0x2f4c6e,_0x5bc56e);},'HlGuW':'uninstal'+'l','uNVSH':function(_0x4ca7c2,_0x495aef,_0x47d7a4){return _0x4ca7c2(_0x495aef,_0x47d7a4);},'beJSu':function(_0x5293b0){return _0x5293b0();},'SfQhT':_0x2fe38e(0x70c,_0x119951._0x3f4836),'aAQgi':function(_0x1fb5c9,_0x28fe99){return _0x1fb5c9(_0x28fe99);},'OoQCn':function(_0x50b076,_0x18ebda,_0x4c2a0d){return _0x50b076(_0x18ebda,_0x4c2a0d);},'USewg':_0x112e3a(_0x119951._0x412d64,0x44f)+_0x2fe38e(0x2f2,0x3e8)+_0x112e3a(0x2a9,0x4b1)+_0x112e3a(_0x119951._0x42b677,_0x119951._0x49ecb3),'fNSqw':_0x2fe38e(_0x119951._0x2f6e8a,0x3fc),'cXWLe':function(_0x2da76d,_0x4cbeeb){return _0x2da76d(_0x4cbeeb);},'ZqkjS':_0x112e3a(0x8a6,0x67f)+'\x20bridge\x20'+_0x2fe38e(0x641,0x3f3)+'\x20Press\x20C'+_0x2fe38e(_0x119951._0x4ab805,0x43a)+_0x2fe38e(-_0x119951._0x26deb9,0x22d),'GdkDY':_0x2fe38e(_0x119951._0x4d28e0,_0x119951._0x1b7d65)},[,,_0x3eef3f=_0x112e3a(0x477,_0x119951._0x38d43c),..._0x37171c]=process[_0x112e3a(0x4bf,_0x119951._0x4bde76)],_0x3a5458=hasFlag(_0x37171c,_0x2fe38e(_0x119951._0x2a3ef6,0x410)+'e'),_0x584dde=hasFlag(_0x37171c,'--json');if(_0x3eef3f===_0x4f1089[_0x2fe38e(0x196,0x3da)]){const _0x317b60=readPairSubcommand(_0x37171c),_0x63931a=_0x317b60===_0x2fe38e(_0x119951._0x133d90,0x35c)||hasFlag(_0x37171c,_0x112e3a(0x6bd,0x4ad));if(_0x63931a){const _0x563a62=resolveGatewayAuth();if(_0x4f1089[_0x2fe38e(_0x119951._0x31855f,0x23a)]in _0x563a62)throw new Error(_0x563a62['error']);const _0x1813fc=readFlag(_0x37171c,_0x2fe38e(_0x119951._0x4f5961,0x4a4)+'e'),_0x17f9f0=buildLocalPairingInfo({'explicitUrl':readFlag(_0x37171c,_0x112e3a(_0x119951._0x279df6,0x38a)),'gatewayToken':_0x563a62[_0x2fe38e(0x664,_0x119951._0x51fec6)],'gatewayPassword':_0x563a62[_0x2fe38e(0x2de,0x2fb)]}),_0x36be95=await writeRawQrPng(_0x17f9f0[_0x2fe38e(_0x119951._0x16f0bc,_0x119951._0x4c0579)+'d'],_0x4f1089[_0x112e3a(0x329,_0x119951._0x349e59)],_0x1813fc);if(_0x584dde){const _0x4c6e6d={};_0x4c6e6d['gatewayU'+'rl']=_0x17f9f0['gatewayU'+'rl'],_0x4c6e6d[_0x2fe38e(0x41f,0x353)]=_0x17f9f0[_0x112e3a(_0x119951._0x45c58e,_0x119951._0x4893d5)],_0x4c6e6d[_0x2fe38e(_0x119951._0x4e6f3a,_0x119951._0x59319a)+'t']=_0x17f9f0[_0x112e3a(_0x119951._0x42fee3,_0x119951._0x2fe9a9)+'t'],_0x4c6e6d[_0x2fe38e(_0x119951._0x503e85,_0x119951._0x3466ed)+_0x2fe38e(0x559,_0x119951._0x2e7e3c)]=_0x36be95,_0x4c6e6d[_0x112e3a(_0x119951._0x5a42ca,_0x119951._0x4155c7)]=_0x4f1089['zNaYF'],printJson(buildLocalPairingJson(_0x4c6e6d));}else printLocalPairingInfo(_0x17f9f0[_0x112e3a(_0x119951._0x341b2d,_0x119951._0x401af5)+'rl'],_0x17f9f0['authMode'],_0x17f9f0[_0x112e3a(_0x119951._0x50e8cb,_0x119951._0xbeb8)+'t'],_0x17f9f0[_0x112e3a(0x8aa,_0x119951._0x5925f0)+'d'],_0x36be95,readFlag(_0x37171c,_0x2fe38e(_0x119951._0x232e6,0x1fa)));return;}const _0x4e202d=hasFlag(_0x37171c,_0x4f1089[_0x2fe38e(_0x119951._0x2fe8ee,_0x119951._0x381de2)]);!_0x4e202d&&await _0x4f1089[_0x2fe38e(_0x119951._0x5461e3,_0x119951._0x2fd341)](ensurePairPrerequisites);const _0x307ef8=resolveGatewayAuth();if(_0x2fe38e(0x2b5,0x49c)in _0x307ef8)throw new Error(_0x307ef8[_0x112e3a(0x57a,_0x119951._0xea893b)]);const _0x12947d=readFlag(_0x37171c,_0x2fe38e(0x11,0x1f2))??readFlag(_0x37171c,'-s')??'https://'+'registry'+_0x2fe38e(_0x119951._0x1a6bba,0x17d)+'.ai',_0x243a11=readFlag(_0x37171c,'--name')??_0x4f1089['PLuoZ'](readFlag,_0x37171c,'-n')??getDefaultBridgeDisplayName(),_0x3c07cb=readFlag(_0x37171c,_0x112e3a(0x40a,_0x119951._0x4a3aae)+'e'),_0x20d9a6={};_0x20d9a6['serverUr'+'l']=_0x12947d,_0x20d9a6[_0x2fe38e(0x1b7,_0x119951._0x31855f)+_0x112e3a(_0x119951._0x3a8e0a,0x498)]=_0x243a11,_0x20d9a6[_0x112e3a(_0x119951._0x49c9d5,_0x119951._0x140cb0)+_0x112e3a(_0x119951._0xe18055,0x56f)]=_0x307ef8[_0x2fe38e(0x68a,0x54e)],_0x20d9a6[_0x112e3a(0x5c4,0x5ee)+_0x2fe38e(_0x119951._0x41c371,_0x119951._0x263787)]=_0x307ef8['password'];const _0x16269d=await pairGateway(_0x20d9a6),_0x2f8d21=await _0x4f1089[_0x2fe38e(0x322,0x573)](writePairingQrPng,_0x16269d,_0x3c07cb),_0x133f36=getServiceStatus(),_0x152d77=decidePairServiceAction(_0x16269d,_0x133f36);if(_0x152d77===_0x4f1089[_0x112e3a(0x60f,0x523)]){_0x584dde?printJson(_0x4f1089[_0x2fe38e(-_0x119951._0x312f96,_0x119951._0x279df6)](buildPairingJson,_0x16269d,_0x2f8d21,_0x133f36,_0x112e3a(_0x119951._0x221000,0x4c0)+_0x2fe38e(0x256,_0x119951._0x41381f)+_0x2fe38e(0x40d,0x4cd)+_0x112e3a(_0x119951._0x13cabe,0x3f9)+'ng.\x20Left'+_0x112e3a(_0x119951._0x48e7f9,0x48f)+_0x2fe38e(0x2c9,0x38b))):(printPairingInfo(_0x16269d,_0x2f8d21),console['log'](_0x2fe38e(_0x119951._0x38ccc9,_0x119951._0x376e58)+'nd\x20servi'+_0x112e3a(0x620,_0x119951._0x349f6e)+_0x112e3a(_0x119951._0x39152a,0x3f9)+_0x112e3a(_0x119951._0x4b4dbe,0x2e1)+_0x2fe38e(_0x119951._0x8f7dc2,_0x119951._0x2c5b91)+_0x2fe38e(_0x119951._0x4c406a,_0x119951._0x245f9a)),printServiceResult(null,_0x133f36));return;}try{const _0x1619ff=_0x152d77===_0x112e3a(_0x119951._0x5e58c2,_0x119951._0x368ee6)?_0x4f1089['MqQhP'](installService):restartService(),_0x517540=_0x152d77===_0x2fe38e(0x398,_0x119951._0x186128)?_0x2fe38e(_0x119951._0x16cb2c,_0x119951._0x2531b7)+_0x2fe38e(0x2fe,_0x119951._0x4f738e)+_0x112e3a(_0x119951._0xc663dc,0x70c)+_0x112e3a(0x4f3,_0x119951._0xd3c83c)+'e.':_0x16269d[_0x2fe38e(0x3d2,0x31c)]===_0x2fe38e(_0x119951._0x136a8f,_0x119951._0x1f093f)+'ed'?_0x112e3a(0x3f0,0x5cf)+_0x112e3a(0x2c5,_0x119951._0x22cde9)+_0x112e3a(0x7f6,_0x119951._0x5430eb)+'\x20Restart'+'ed\x20backg'+_0x2fe38e(0x2ea,0x3b9)+'rvice\x20to'+_0x112e3a(_0x119951._0x1ca32f,0x48e)+'e\x20new\x20pa'+_0x112e3a(_0x119951._0x2cecbc,0x3aa):_0x2fe38e(0x27a,_0x119951._0x2b6601)+'nd\x20servi'+_0x112e3a(0x475,_0x119951._0x948be0)+_0x112e3a(0x867,_0x119951._0x1b08f6)+_0x112e3a(0x6c1,_0x119951._0x129968)+_0x2fe38e(0x70f,_0x119951._0x5eb39a)+_0x2fe38e(_0x119951._0x16dab5,0x153)+'it.';_0x584dde?printJson(buildPairingJson(_0x16269d,_0x2f8d21,_0x1619ff,_0x517540)):(printPairingInfo(_0x16269d,_0x2f8d21),_0x4f1089['PLuoZ'](printServiceResult,_0x517540,_0x1619ff));}catch(_0x376279){console[_0x2fe38e(0x6eb,_0x119951._0x1b10c8)]('Pairing\x20'+_0x112e3a(_0x119951._0x137fdb,_0x119951._0xc3fa17)+_0x2fe38e(_0x119951._0x1539e3,_0x119951._0x523482)+_0x2fe38e(_0x119951._0xc581e5,_0x119951._0x1b7c98)+'ctivatio'+'n\x20failed'+':\x20'+formatError(_0x376279)),console[_0x2fe38e(0x357,0x49c)](_0x4f1089[_0x2fe38e(_0x119951._0x426b5d,_0x119951._0x3f385a)]),process[_0x112e3a(0x932,_0x119951._0x3f985d)]=0x1;}return;}function _0x2fe38e(_0x48d257,_0x5bdd32){return _0x1fe1a4(_0x48d257,_0x5bdd32-_0x664c7a._0x502baa);}if(_0x3eef3f===_0x4f1089['lXIwX']){const _0x2640f1=readFlag(_0x37171c,_0x112e3a(0x631,0x634)+'e'),_0x431cc9=resolveGatewayAuth();if(_0x4f1089[_0x112e3a(_0x119951._0x4bd692,0x3fa)](_0x4f1089[_0x112e3a(0x40a,_0x119951._0x3390f7)],_0x431cc9))throw new Error(_0x431cc9[_0x112e3a(_0x119951._0x1d133e,_0x119951._0xea893b)]);const _0x2858b1={};_0x2858b1['gatewayT'+'oken']=_0x431cc9['token'],_0x2858b1[_0x2fe38e(_0x119951._0x5a2450,0x45e)+'assword']=_0x431cc9['password'];const _0x90b78e=await refreshAccessCode(_0x2858b1),_0x3d71d9=await writePairingQrPng(_0x90b78e,_0x2640f1);_0x584dde?printJson(buildPairingJson(_0x90b78e,_0x3d71d9,getServiceStatus(),_0x4f1089[_0x112e3a(0x493,0x603)])):printPairingInfo(_0x90b78e,_0x3d71d9);return;}if(_0x3eef3f===_0x112e3a(0x5c9,0x672)||_0x3eef3f===_0x112e3a(0x603,0x4f4)){const _0x4c1833=requirePairingConfig(),_0x3ba705=_0x4f1089['MqQhP'](installService);console[_0x2fe38e(0x6a0,0x534)](_0x112e3a(0x347,0x545)+'d\x20backgr'+_0x2fe38e(_0x119951._0x4c2dd6,_0x119951._0x3daec8)+_0x2fe38e(0x3cc,_0x119951._0x1da193)+_0x112e3a(_0x119951._0x1bf494,0x536)+'\x20'+_0x4c1833[_0x112e3a(0x31f,_0x119951._0x25003c)+'d']+'.'),printServiceResult(null,_0x3ba705);return;}function _0x112e3a(_0x12ef40,_0x2e9416){return _0x1fe1a4(_0x12ef40,_0x2e9416-0x23b);}if(_0x3eef3f===_0x112e3a(0x34a,_0x119951._0x209ca0)){const _0x20fd55=_0x4f1089[_0x112e3a(_0x119951._0x42b325,0x6c7)](requirePairingConfig),_0x32df1d=restartService();console[_0x2fe38e(0x312,0x534)](_0x2fe38e(0x3e1,_0x119951._0x3419d5)+_0x2fe38e(0x38e,0x331)+_0x2fe38e(_0x119951._0x5e6ddd,_0x119951._0xdb9e87)+_0x112e3a(_0x119951._0x366c23,0x47b)+_0x2fe38e(_0x119951._0x38f282,_0x119951._0x2c8b2e)+'\x20'+_0x20fd55['gatewayI'+'d']+'.'),_0x4f1089[_0x112e3a(0x6cf,0x703)](printServiceResult,null,_0x32df1d);return;}if(_0x4f1089[_0x112e3a(0x416,_0x119951._0x53e848)](_0x3eef3f,_0x112e3a(_0x119951._0x4df813,_0x119951._0x444e6f))){const _0x129c82=stopService();console[_0x2fe38e(_0x119951._0x428958,0x534)](_0x112e3a(_0x119951._0x2569e0,_0x119951._0x526dcb)+_0x112e3a(0x7e4,_0x119951._0x1c57b3)+_0x2fe38e(_0x119951._0x5b8d63,_0x119951._0x41381f)+_0x2fe38e(_0x119951._0x416d8e,0x332)),_0x4f1089['yXQNs'](printServiceResult,null,_0x129c82);return;}if(_0x3eef3f===_0x4f1089[_0x112e3a(0x640,_0x119951._0x5cdb99)]){const _0x3219c4=_0x4f1089[_0x112e3a(0x552,_0x119951._0x177f0e)](uninstallService);console['log'](_0x2fe38e(0x3,0x13f)+_0x2fe38e(_0x119951._0x2fe441,0x4d0)+_0x112e3a(_0x119951._0x5f73b0,0x4b4)+_0x2fe38e(_0x119951._0x363001,_0x119951._0x3462fe)+_0x2fe38e(_0x119951._0x1b08f6,_0x119951._0x30f649)),_0x4f1089['uNVSH'](printServiceResult,null,_0x3219c4);return;}if(_0x3eef3f===_0x112e3a(_0x119951._0x2bba79,0x2e9)){stopService(),deletePairingConfig(),console[_0x112e3a(_0x119951._0x4941a3,0x6c4)]('Cleared\x20'+_0x112e3a(_0x119951._0x58edd4,0x400)+_0x2fe38e(-_0x119951._0x53148b,0x156)+_0x4f1089[_0x112e3a(0x761,0x54d)](getPairingConfigPath));return;}if(_0x3eef3f===_0x112e3a(_0x119951._0x18612b,0x34c)){printStatus();return;}if(_0x3eef3f===_0x4f1089[_0x2fe38e(0x1c0,_0x119951._0x46891b)]){const _0x579bba=Number(_0x4f1089[_0x112e3a(0x8c9,_0x119951._0x2bffcb)](readFlag,_0x37171c,_0x112e3a(0x8e9,_0x119951._0x3bb8ab))??_0x2fe38e(0x523,_0x119951._0x5e8273)),_0x5b88c6=_0x4f1089['aAQgi'](parseLookbackToMs,_0x4f1089[_0x2fe38e(_0x119951._0x23c4ae,_0x119951._0x58f501)](readFlag,_0x37171c,_0x112e3a(_0x119951._0x5d803e,_0x119951._0x3b4f3a))??readFlag(_0x37171c,'-l')),_0x312028=readRecentCliLogs({'lines':_0x579bba,'lastMs':_0x5b88c6,'includeErrorLog':_0x4f1089[_0x2fe38e(0x259,0x2df)](hasFlag,_0x37171c,_0x112e3a(0x689,0x6eb))});if(_0x584dde){const _0x32abf2={};_0x32abf2['ok']=!![],_0x32abf2[_0x112e3a(_0x119951._0x41b405,0x579)]=_0x312028,printJson(_0x32abf2);}else _0x4f1089[_0x2fe38e(0xdb,0x32d)](_0x312028[_0x112e3a(_0x119951._0x5172c2,0x502)],0x0)?console[_0x2fe38e(_0x119951._0x2aad3b,0x534)](_0x4f1089[_0x112e3a(_0x119951._0x28ea5e,0x662)]):console[_0x112e3a(0x8bc,0x6c4)](_0x312028[_0x2fe38e(0x288,_0x119951._0x2f249f)]('\x0a'));return;}if(_0x3eef3f===_0x4f1089[_0x112e3a(0x6d9,0x4fc)]){const _0x36806a=await buildDoctorReport();_0x584dde?printJson(_0x36806a):printDoctorReport(_0x36806a);return;}if(_0x3eef3f===_0x2fe38e(0x339,0x4a5)){const _0x4eaa16=requirePairingConfig(),_0x4b2b4a=_0x4f1089[_0x2fe38e(0x3fb,_0x119951._0x24ae1c)](resolveGatewayUrl,readFlag(_0x37171c,_0x112e3a(_0x119951._0x399c54,0x34a)+_0x112e3a(_0x119951._0x341b2d,_0x119951._0x31f393))??readFlag(_0x37171c,'-g')),_0x3adac8=_0x4c9520=>{const _0x37aace={_0x4bc282:0x2c};function _0x441eea(_0x395d3c,_0x5ceff8){return _0x112e3a(_0x395d3c,_0x5ceff8- -0x57d);}function _0x22404d(_0x5a3981,_0x35710b){return _0x112e3a(_0x35710b,_0x5a3981- -_0x37aace._0x4bc282);}console[_0x22404d(_0x1144c1._0x1bce7c,_0x1144c1._0x29d406)]('['+Date[_0x441eea(-_0x1144c1._0x1e0edc,-_0x1144c1._0x2b361c)]()+']\x20'+_0x4c9520);};!_0x3a5458?(console[_0x112e3a(0x8ce,_0x119951._0xed7204)](_0x112e3a(_0x119951._0xda0db5,_0x119951._0x3e22b7)+_0x2fe38e(_0x119951._0x259575,_0x119951._0x2faf2d)+_0x4eaa16[_0x112e3a(0x429,0x417)+'d']),console['log'](_0x112e3a(0x408,0x4d2)+'\x20ID:\x20'+_0x4eaa16[_0x2fe38e(0x3b1,0x1b1)+'Id']),console[_0x2fe38e(0x61c,0x534)](_0x2fe38e(0x6a1,_0x119951._0x9de826)+_0x2fe38e(0x2eb,_0x119951._0x34cc92)+_0x4b2b4a),console[_0x2fe38e(0x4d8,_0x119951._0x4ee263)](''),console[_0x112e3a(0x72d,0x6c4)](_0x4f1089['ZqkjS']),console['log']('')):_0x4f1089[_0x112e3a(_0x119951._0x2b1f8e,_0x119951._0x28fb9a)](_0x3adac8,_0x112e3a(0x5d1,0x67f)+'\x20Clawket'+_0x2fe38e(0x4bf,_0x119951._0x169462)+_0x112e3a(_0x119951._0xa38725,0x36d)+_0x2fe38e(_0x119951._0xa77ba4,_0x119951._0x3476e0)+_0x112e3a(0x3e3,_0x119951._0x236fef)+_0x4eaa16[_0x2fe38e(0x1f3,_0x119951._0x310fc8)+'d']);_0x3a5458&&writeServiceState();const _0x2504d2=new BridgeRuntime({'config':_0x4eaa16,'gatewayUrl':_0x4b2b4a,'onLog':_0x2aebdb=>{function _0x4ce3f7(_0x63b534,_0x2641d9){return _0x2fe38e(_0x2641d9,_0x63b534- -0x1d);}_0x3adac8(_0x4ce3f7(0x1e5,_0x12c687._0x126cca)+']\x20'+_0x2aebdb);},'onStatus':_0x44bd58=>{const _0x3856b4={_0x14fe5d:0x22d},_0x2fc895={_0x76642d:0x320};if(_0x44bd58[_0x31af96(0x3a1,_0x5e6d97._0x574974)+'r']){_0x3adac8(_0x52f90c(0x338,_0x5e6d97._0x302529)+_0x52f90c(0x1c5,_0x5e6d97._0xafa38d)+(_0x44bd58[_0x52f90c(-0x16,-0x44)+_0x52f90c(0x4fa,0x32c)]?'up':'down')+(_0x31af96(0x1e8,0x309)+'=')+(_0x44bd58[_0x52f90c(0x42e,_0x5e6d97._0x2bcdcd)+_0x31af96(_0x5e6d97._0x356077,0x9f)]?'up':'down')+(_0x52f90c(_0x5e6d97._0x1703fb,_0x5e6d97._0x223174)+'=')+_0x44bd58[_0x52f90c(_0x5e6d97._0x3f64d,0x2d8)+_0x31af96(_0x5e6d97._0x20fdd8,_0x5e6d97._0x3e8c75)]+_0x31af96(0x524,0x38f)+_0x44bd58[_0x52f90c(_0x5e6d97._0x54a43b,_0x5e6d97._0x4ad195)+'r']);return;}function _0x52f90c(_0x31414b,_0x7dcfab){return _0x112e3a(_0x31414b,_0x7dcfab- -_0x2fc895._0x76642d);}function _0x31af96(_0x53d2f9,_0xacfb60){return _0x112e3a(_0x53d2f9,_0xacfb60- -_0x3856b4._0x14fe5d);}_0x3adac8(_0x52f90c(0x25d,_0x5e6d97._0x302529)+'\x20relay='+(_0x44bd58[_0x31af96(-_0x5e6d97._0x270e9f,_0x5e6d97._0xbc9a20)+'nected']?'up':_0x31af96(0x2c6,0x4cc))+(_0x52f90c(_0x5e6d97._0x209e39,_0x5e6d97._0x24437c)+'=')+(_0x44bd58['gatewayC'+_0x52f90c(_0x5e6d97._0x253cbf,-_0x5e6d97._0x1c3592)]?'up':_0x31af96(_0x5e6d97._0x243af0,0x4cc))+('\x20clients'+'=')+_0x44bd58[_0x52f90c(0x19b,0x2d8)+_0x31af96(0x14a,_0x5e6d97._0x57c435)]);},'onPendingPairRequest':_0x25c07e=>{function _0x3a3486(_0x2052d2,_0x505c7d){return _0x112e3a(_0x505c7d,_0x2052d2- -_0x4d746b._0x464434);}function _0x1acd6a(_0x37f53c,_0x51f47d){return _0x112e3a(_0x37f53c,_0x51f47d-0x203);}_0x4f1089[_0x1acd6a(_0x37f383._0x48bcb9,_0x37f383._0x7c20fd)](_0x3adac8,_0x3a3486(0x1ca,_0x37f383._0x405455)+_0x1acd6a(_0x37f383._0x34717d,0x8b5)+_0x1acd6a(0x4ea,0x5f5)+'='+_0x25c07e[_0x3a3486(_0x37f383._0x3ac64d,0x30c)+'d']+('\x20deviceI'+'d=')+(_0x25c07e['deviceId']||_0x3a3486(0x297,0x48d)+'>')+_0x1acd6a(_0x37f383._0x52b277,0x8ef)+(_0x25c07e[_0x1acd6a(_0x37f383._0x36f22d,0x5a8)+_0x3a3486(0x2b,0xf1)]??_0x1acd6a(0x8b5,0x907)+'>'));}});_0x2504d2[_0x2fe38e(_0x119951._0x2f5d10,_0x119951._0x153ba6)]();const _0x93abe7=async()=>{const _0x10e86e={_0xfc3c60:0x2ab};function _0x3c4b74(_0x4c5aa4,_0x328d78){return _0x2fe38e(_0x328d78,_0x4c5aa4- -_0x10e86e._0xfc3c60);}process['off'](_0x4f1089[_0x5d4985(0x488,0x2ad)],_0x93abe7),process[_0x3c4b74(_0x247979._0x5337fc,_0x247979._0x4df6ed)](_0x5d4985(_0x247979._0x2a8bef,_0x247979._0x2d6e56),_0x93abe7),await _0x2504d2['stop']();function _0x5d4985(_0x384251,_0x3ede2e){return _0x2fe38e(_0x384251,_0x3ede2e-0x37);}_0x3a5458&&clearServiceState(process[_0x5d4985(_0x247979._0x19d480,0x2f7)]),process[_0x3c4b74(-0xb2,-0x68)](0x0);};process['on'](_0x112e3a(_0x119951._0x1bfc1a,0x6cd),_0x93abe7),process['on'](_0x4f1089[_0x2fe38e(0x16b,_0x119951._0x1ab14a)],_0x93abe7),await new Promise(()=>{});}printHelp();}function printPairingInfo(_0x298efe,_0x58e1ab){const _0x545e0a={_0x1b327b:0x427,_0x1c9ff9:0x118,_0x56fe2c:0x20a,_0x31b184:0x5ac,_0x293337:0x8cc,_0x476269:0x7a9,_0x426eaa:0x7e5,_0x2d97d8:0x41a,_0x2c1ebf:0x3c1,_0x3a16ee:0x3de,_0xebc5aa:0x987,_0x3b2bfb:0x492,_0x550473:0x2e5,_0x104ab1:0x2aa,_0x42d7f9:0x283,_0x12d2ba:0x35,_0x5bd14c:0xcb,_0x283e79:0x206,_0x485303:0x91b,_0x2ad770:0x5c7,_0x4e1524:0x7e4,_0x23debd:0xa24,_0x3d2dcb:0x49f};function _0x5823f5(_0x5a6350,_0x56343c){return _0x1fe1a4(_0x56343c,_0x5a6350- -0xab);}const _0x28ff73={};_0x28ff73[_0x2d2357(_0x545e0a._0x1b327b,0x387)]='refreshe'+'d';const _0x428e8b=_0x28ff73;function _0x2d2357(_0x1957a3,_0x9a19f7){return _0x1fe1a4(_0x9a19f7,_0x1957a3-0x35b);}_0x298efe[_0x5823f5(0x1c6,_0x545e0a._0x1c9ff9)]===_0x428e8b[_0x2d2357(_0x545e0a._0x1b327b,_0x545e0a._0x56fe2c)]&&console['log'](_0x2d2357(_0x545e0a._0x31b184,0x48a)+_0x2d2357(0x721,_0x545e0a._0x293337)+_0x2d2357(_0x545e0a._0x476269,_0x545e0a._0x426eaa)+_0x2d2357(0x86b,0x62c)+_0x2d2357(_0x545e0a._0x2d97d8,0x238)+_0x5823f5(_0x545e0a._0x2c1ebf,0x2df)+'e.');console[_0x5823f5(_0x545e0a._0x3a16ee,0x37b)]('Gateway\x20'+'ID:\x20'+_0x298efe[_0x2d2357(0x834,0x82d)]['gatewayI'+'d']),console[_0x2d2357(0x7e4,_0x545e0a._0xebc5aa)](_0x5823f5(0x32a,_0x545e0a._0x3b2bfb)+_0x5823f5(_0x545e0a._0x550473,_0x545e0a._0x104ab1)+_0x5823f5(_0x545e0a._0x42d7f9,_0x545e0a._0x12d2ba)+_0x5823f5(_0x545e0a._0x5bd14c,_0x545e0a._0x283e79)+_0x2d2357(0x7a2,_0x545e0a._0x485303));const _0x13439a={};_0x13439a['small']=!![],_0x5e4fa0[_0x2d2357(_0x545e0a._0x2ad770,0x37d)](_0x298efe['qrPayloa'+'d'],_0x13439a),console[_0x2d2357(_0x545e0a._0x4e1524,_0x545e0a._0x23debd)]('Expires:'+'\x20'+formatLocalTime(_0x298efe['accessCo'+'deExpire'+_0x2d2357(0x4e2,_0x545e0a._0x3d2dcb)])),console[_0x2d2357(_0x545e0a._0x4e1524,0xa02)]('QR\x20image'+':\x20'+_0x58e1ab);}function printLocalPairingInfo(_0x533d03,_0x33ddab,_0x211478,_0x5c3c54,_0x5306ea,_0x5b134a){const _0x171ebc={_0x3f2c68:0x350,_0x359cf8:0x25c,_0x5e60d2:0x88a,_0x5ca712:0x924,_0x1ca5e9:0x7b9,_0x1fff40:0x9b2,_0xd3db08:0x6c8,_0x3ff358:0x4a7,_0x461cfd:0x700,_0x53d31a:0x350,_0x518ffb:0x68d,_0x303b7a:0x650,_0x451694:0x492,_0x383cb2:0x640,_0x552797:0x506,_0x18361e:0x580,_0x11203c:0x559,_0x480c17:0x64e,_0x471d51:0x4f6,_0x4b92fe:0x785,_0x19085f:0x5f9,_0x278038:0x549,_0x4af73b:0x7a6,_0xa0a947:0x962},_0x4925ce={_0x16e4e3:0x3be},_0x233d11={};_0x233d11[_0x49a547(_0x171ebc._0x3f2c68,_0x171ebc._0x359cf8)]=_0x288374(0x7b7,_0x171ebc._0x5e60d2)+'is\x20custo'+_0x288374(0x84a,0xaa0)+'y\x20QR\x20in\x20'+_0x288374(0x761,_0x171ebc._0x5ca712)+_0x288374(_0x171ebc._0x1ca5e9,_0x171ebc._0x1fff40)+'\x0a';const _0x235a5c=_0x233d11;console[_0x49a547(0x741,0x886)](_0x49a547(_0x171ebc._0xd3db08,_0x171ebc._0x3ff358)+_0x288374(0x694,_0x171ebc._0x461cfd)+_0x533d03);function _0x288374(_0x5b1c5d,_0x263138){return _0x43d5cd(_0x5b1c5d-0x4e8,_0x263138);}function _0x49a547(_0x150572,_0xb73cd2){return _0x43d5cd(_0x150572-_0x4925ce._0x16e4e3,_0xb73cd2);}console['log'](_0x288374(0x5e2,0x6cd)+_0x49a547(0x3fa,0x5e0)+_0x33ddab),console[_0x49a547(0x741,0x688)](_0x5b134a?_0x235a5c[_0x49a547(_0x171ebc._0x53d31a,0x3d8)]:_0x49a547(_0x171ebc._0x518ffb,0x75c)+_0x288374(_0x171ebc._0x303b7a,0x528)+'\x20gateway'+_0x49a547(_0x171ebc._0x451694,_0x171ebc._0x383cb2)+_0x288374(_0x171ebc._0x552797,_0x171ebc._0x18361e)+'et\x20app:\x0a');const _0x1082f1={};_0x1082f1[_0x49a547(0x79f,_0x171ebc._0x11203c)]=!![],_0x5e4fa0[_0x288374(_0x171ebc._0x480c17,_0x171ebc._0x471d51)](_0x5c3c54,_0x1082f1),console[_0x288374(0x86b,_0x171ebc._0x4b92fe)](_0x288374(_0x171ebc._0x19085f,_0x171ebc._0x278038)+'\x20'+new Date(_0x211478)[_0x49a547(0x57b,_0x171ebc._0x4af73b)+_0x288374(0x85a,_0x171ebc._0xa0a947)]()),console['log'](_0x49a547(0x382,0x352)+':\x20'+_0x5306ea);}function printStatus(){const _0xf0b1c1={_0x47588f:0x5db,_0x117f73:0x2ff,_0x41774:0x2d2,_0x444a82:0x45e,_0x4e1c13:0x757,_0x34b9d1:0x898,_0x339108:0x7f1,_0x401a7f:0x605,_0x22e03d:0x556,_0x4831ad:0x471,_0x4fa889:0x5f,_0x50cf3a:0x610,_0x1a52a3:0x658,_0x1b1483:0x579,_0x2f0e8d:0x66c,_0x314814:0x682,_0x1f4c11:0x765,_0x2b100b:0x588,_0x317f53:0x6af,_0x1e6f1d:0x340,_0x56b2f3:0x4d3,_0x58a49d:0x5fa,_0x480ec0:0x8e1,_0x5ad990:0x622,_0x2374cf:0x898,_0x4e44f4:0x756,_0x46610f:0x567,_0x5258a0:0x7ec,_0x783221:0x495,_0x20c09e:0x7a0,_0x37b40c:0x13,_0x4bb069:0x545,_0x2cc7d5:0x659},_0x4a002e={_0x287e26:0x515},_0x2071a5={'TPGTC':function(_0x1ec9b6){return _0x1ec9b6();},'cuvyo':function(_0xb03f8a){return _0xb03f8a();},'eyipX':'yes'},_0x527dcc=_0x2071a5[_0x4b18d9(0x20e,0x1e2)](readPairingConfig),_0x2b7f37=getServiceStatus(),{logPath:_0x477f37,errorLogPath:_0x33622e}=getServicePaths(),_0x165b1a=readCliVersion();console[_0x4b18d9(0x826,_0xf0b1c1._0x47588f)](_0x4b18d9(_0xf0b1c1._0x117f73,_0xf0b1c1._0x41774)+'\x20'+_0x165b1a);!_0x527dcc?console[_0x4b18d9(_0xf0b1c1._0x444a82,0x5db)]('Config:\x20'+_0x20bc00(0x88c,_0xf0b1c1._0x4e1c13)+_0x20bc00(0x494,0x5df)+getPairingConfigPath()+')'):(console[_0x20bc00(_0xf0b1c1._0x34b9d1,0x905)](_0x4b18d9(0x400,0x63c)+_0x4b18d9(_0xf0b1c1._0x339108,_0xf0b1c1._0x401a7f)),console[_0x20bc00(0x898,0x815)](_0x4b18d9(0x6c8,0x562)+'ID:\x20'+_0x527dcc[_0x20bc00(0x5eb,_0xf0b1c1._0x22e03d)+'d']),console[_0x20bc00(0x898,0x8e8)](_0x4b18d9(_0xf0b1c1._0x4831ad,0x3e9)+':\x20'+_0x527dcc[_0x4b18d9(_0xf0b1c1._0x4fa889,0x258)+'Id']),console[_0x20bc00(0x898,0x69d)](_0x20bc00(0x4ad,_0xf0b1c1._0x50cf3a)+'RL:\x20'+_0x527dcc['serverUr'+'l']),console['log'](_0x4b18d9(0x496,_0xf0b1c1._0x1a52a3)+(_0x527dcc[_0x20bc00(_0xf0b1c1._0x1b1483,0x5ad)+_0x20bc00(_0xf0b1c1._0x2f0e8d,0x4c0)]??'-')));console[_0x4b18d9(_0xf0b1c1._0x314814,0x5db)](_0x20bc00(_0xf0b1c1._0x1f4c11,_0xf0b1c1._0x2b100b)+'\x20'+_0x2071a5[_0x20bc00(0x8d2,0x88e)](resolveGatewayUrl));function _0x4b18d9(_0x40834e,_0x5bbb39){return _0x43d5cd(_0x5bbb39-0x258,_0x40834e);}function _0x20bc00(_0x303092,_0x19d3bd){return _0x43d5cd(_0x303092-_0x4a002e._0x287e26,_0x19d3bd);}console[_0x20bc00(0x898,0x750)]('Service:'+'\x20'+(_0x2b7f37[_0x20bc00(0x82a,_0xf0b1c1._0x317f53)+'d']?_0x4b18d9(0x3ff,0x56d)+'d':'not\x20inst'+_0x20bc00(0x517,_0xf0b1c1._0x1e6f1d))+'\x20('+_0x2b7f37[_0x4b18d9(_0xf0b1c1._0x56b2f3,_0xf0b1c1._0x58a49d)]+')'),console['log'](_0x4b18d9(0x287,0x34c)+'\x20'+(_0x2b7f37[_0x20bc00(_0xf0b1c1._0x480ec0,0x98b)]?_0x2071a5[_0x4b18d9(_0xf0b1c1._0x5ad990,0x5f3)]:'no')),console[_0x20bc00(_0xf0b1c1._0x2374cf,_0xf0b1c1._0x4e44f4)](_0x20bc00(0x5c7,0x633)+(_0x2b7f37[_0x20bc00(0x508,0x5c0)+_0x4b18d9(0x33d,_0xf0b1c1._0x46610f)]||'-')),console[_0x4b18d9(_0xf0b1c1._0x5258a0,0x5db)](_0x20bc00(_0xf0b1c1._0x783221,0x51d)+_0x477f37),console[_0x20bc00(0x898,_0xf0b1c1._0x20c09e)](_0x20bc00(0x6c9,0x707)+_0x4b18d9(-_0xf0b1c1._0x37b40c,0x225)+_0x33622e),!_0x527dcc&&(process[_0x4b18d9(_0xf0b1c1._0x4bb069,_0xf0b1c1._0x2cc7d5)]=0x1);}function printServiceResult(_0x222c99,_0x4d8298){const _0x4d888c={_0x5be5bb:0x600,_0x5a2242:0x52b,_0xc77f9e:0x66e,_0x204ff6:0x73e,_0x5d7b10:0x60e,_0x374d28:0x627,_0x14c70d:0x600,_0x4f7cce:0x4ac,_0x218d9e:0x5a1,_0x406a96:0x5d7,_0x1910dc:0x557,_0x24eb2a:0x65e,_0x2e0895:0x1af,_0x2f52b8:0x297},_0x131416={_0x54b210:0x19e},_0x5d4b66={};_0x5d4b66['LBKBm']=_0x3d18e7(_0x4d888c._0x5be5bb,0x649)+'d,\x20stopp'+'ed',_0x5d4b66['Lowjp']=_0x3d18e7(0x396,_0x4d888c._0x5a2242)+'alled';function _0x51bfc9(_0x40e54e,_0x5232e6){return _0x1fe1a4(_0x40e54e,_0x5232e6-_0x131416._0x54b210);}const _0x5a9e05=_0x5d4b66;_0x222c99&&console[_0x3d18e7(_0x4d888c._0xc77f9e,_0x4d888c._0x204ff6)](_0x222c99);function _0x3d18e7(_0x361dad,_0x25d52c){return _0x1fe1a4(_0x25d52c,_0x361dad-0x1e5);}console[_0x51bfc9(_0x4d888c._0x5d7b10,_0x4d888c._0x374d28)]('Service:'+'\x20'+(_0x4d8298['installe'+'d']?_0x4d8298[_0x51bfc9(0x670,0x670)]?_0x3d18e7(_0x4d888c._0x14c70d,0x47a)+_0x51bfc9(0x4ff,0x69c)+'ng':_0x5a9e05[_0x51bfc9(_0x4d888c._0x4f7cce,0x59e)]:_0x5a9e05[_0x51bfc9(0x5c8,0x595)])),console['log'](_0x51bfc9(_0x4d888c._0x218d9e,_0x4d888c._0x406a96)+_0x3d18e7(_0x4d888c._0x1910dc,_0x4d888c._0x24eb2a)+(_0x4d8298[_0x51bfc9(_0x4d888c._0x2e0895,_0x4d888c._0x2f52b8)+'ath']||'-'));}function printDoctorReport(_0x1abe20){const _0x7bea50={_0x33acdb:0x13b,_0x3e26fb:0x9b,_0x35348d:0x3e,_0x582205:0x29,_0xab6d13:0x5ff,_0x50a8b3:0x1c4,_0x1431d7:0x4f2,_0x377c37:0x688,_0x4b954a:0xe9,_0x25526d:0x47,_0x25c745:0x23e,_0x430c6e:0xe4,_0x107ec0:0x66e,_0x30efd0:0x164,_0x54e8b5:0x5ff,_0x5186df:0x56d,_0x5dbd07:0x542,_0x3ea588:0x460,_0x5ae7a1:0x46c,_0x133d42:0xab,_0x500ec1:0x47,_0x5f4816:0x4c9,_0xf74910:0x2e3,_0x2df7ea:0x5af,_0x351d03:0x448,_0x21bd42:0xfd,_0x4fc915:0xba,_0xf3d8db:0x5ff,_0x4c8eb9:0x605,_0x1f4270:0x360,_0x408bcd:0x3f4,_0x4261a9:0x549,_0x526a0a:0x5ff,_0x3445de:0x1e8,_0x40935c:0x5e,_0x5eb013:0x5a9,_0x1a6000:0x406,_0x6b40d3:0x387,_0x585e34:0x2cb,_0x29f551:0x7b,_0x385eab:0x5a9,_0xa2e126:0x436,_0x2a6bb0:0x50b,_0x47958c:0x2d6,_0x3251f5:0x387,_0x264f87:0x1fe,_0x3b3bf4:0x250,_0x3af66e:0x438,_0x218677:0x2eb,_0x3917b9:0x85,_0x2e82c8:0x28e,_0x1596e3:0x50c,_0x46034e:0x3d0,_0x580420:0x62d,_0x5b0e49:0x76a,_0x3ed60b:0xfb,_0x1e938b:0x21b,_0x45d46f:0x6f2,_0x1696e7:0x37e,_0x435690:0x358,_0x11c6cd:0x2d6,_0x3ec78f:0x2cf,_0x2f273c:0x35c,_0x36d61e:0x71},_0x3a8902={};_0x3a8902['wyomS']='found',_0x3a8902[_0x18af7d(_0x7bea50._0x33acdb,-_0x7bea50._0x3e26fb)]='missing';const _0x1bc869=_0x3a8902;console['log'](_0x18af7d(0x182,0x28b)+(_0x1abe20[_0x18af7d(0xdd,0x300)]?'yes':'no')),console[_0x20365b(0x5ff,0x5f0)](_0x18af7d(0x231,0x25d)+_0x20365b(0x32b,0x56f)+(_0x1abe20[_0x18af7d(_0x7bea50._0x35348d,_0x7bea50._0x582205)+'d']??'-'));function _0x18af7d(_0x4800f2,_0x3d2cd1){return _0x1fe1a4(_0x4800f2,_0x3d2cd1- -0x1b3);}console[_0x20365b(_0x7bea50._0xab6d13,0x69c)]('Server\x20U'+_0x18af7d(_0x7bea50._0x50a8b3,-0x8d)+(_0x1abe20[_0x18af7d(0x139,0x21f)+'l']??'-')),console[_0x20365b(0x5ff,0x40d)](_0x18af7d(0x10d,-0x3f)+_0x20365b(_0x7bea50._0x1431d7,_0x7bea50._0x377c37)+(_0x1abe20[_0x18af7d(_0x7bea50._0x4b954a,-_0x7bea50._0x25526d)]??'-')),console['log'](_0x18af7d(_0x7bea50._0x25c745,_0x7bea50._0x430c6e)+_0x20365b(0x56a,_0x7bea50._0x107ec0)+(_0x1abe20[_0x20365b(0x27c,_0x7bea50._0x30efd0)+'Id']??'-')),console[_0x20365b(_0x7bea50._0x54e8b5,_0x7bea50._0x5186df)](_0x20365b(_0x7bea50._0x5dbd07,_0x7bea50._0x3ea588)+'\x20'+(_0x1abe20['serviceI'+'nstalled']?'installe'+'d':_0x20365b(0x327,_0x7bea50._0x5ae7a1)+_0x18af7d(0x128,-_0x7bea50._0x133d42))+'\x20('+_0x1abe20[_0x18af7d(_0x7bea50._0x500ec1,0x237)+'ethod']+')'),console[_0x18af7d(_0x7bea50._0x5f4816,0x2d6)](_0x18af7d(0x40e,0x286)+'running:'+'\x20'+(_0x1abe20['serviceR'+_0x18af7d(-0xe8,0xe0)]?_0x18af7d(0x1d0,_0x7bea50._0xf74910):'no')),console['log'](_0x20365b(_0x7bea50._0x2df7ea,_0x7bea50._0x351d03)+_0x18af7d(0x384,0x1bf)+(_0x1abe20[_0x18af7d(_0x7bea50._0x21bd42,-_0x7bea50._0x4fc915)+'ath']||'-')),console[_0x20365b(_0x7bea50._0xf3d8db,_0x7bea50._0x4c8eb9)](_0x20365b(0x3a7,0x4b2)+':\x20'+_0x1abe20[_0x20365b(0x2ce,_0x7bea50._0x1f4270)]),console[_0x18af7d(0x1c6,0x2d6)](_0x20365b(0x378,0x2c3)+_0x20365b(_0x7bea50._0x408bcd,_0x7bea50._0x4261a9)+_0x1abe20['errorLog'+'Path']),console[_0x20365b(_0x7bea50._0x526a0a,0x5a3)](_0x18af7d(-_0x7bea50._0x3445de,_0x7bea50._0x40935c)+_0x20365b(0x5a5,0x755)+_0x1abe20[_0x20365b(_0x7bea50._0x5eb013,0x746)+_0x20365b(0x30f,_0x7bea50._0x1a6000)+'r']),console['log'](_0x20365b(_0x7bea50._0x6b40d3,0x163)+_0x18af7d(-_0x7bea50._0x585e34,-_0x7bea50._0x29f551)+_0x1abe20[_0x20365b(_0x7bea50._0x385eab,_0x7bea50._0xa2e126)+_0x20365b(0x1f7,0x378)]),console[_0x18af7d(_0x7bea50._0x2a6bb0,_0x7bea50._0x47958c)](_0x20365b(_0x7bea50._0x3251f5,_0x7bea50._0x264f87)+'\x20config:'+'\x20'+(_0x1abe20[_0x20365b(_0x7bea50._0x5eb013,0x377)+_0x18af7d(_0x7bea50._0x3b3bf4,0x24b)+_0x20365b(_0x7bea50._0x3af66e,_0x7bea50._0x218677)]?_0x1bc869[_0x18af7d(_0x7bea50._0x3917b9,-0x107)]:_0x1bc869[_0x20365b(_0x7bea50._0x2e82c8,0x2f3)])),console[_0x20365b(_0x7bea50._0x526a0a,_0x7bea50._0x1596e3)](_0x20365b(0x387,_0x7bea50._0x46034e)+_0x20365b(_0x7bea50._0x580420,_0x7bea50._0x5b0e49)+(_0x1abe20['openclaw'+_0x18af7d(-0x1c8,-_0x7bea50._0x3ed60b)+'nd']?_0x18af7d(_0x7bea50._0x1e938b,0x2d1):'missing')),console['log'](_0x20365b(0x586,_0x7bea50._0x45d46f)+_0x20365b(0x428,_0x7bea50._0x1696e7)+_0x1abe20['localGat'+_0x20365b(0x549,0x3b3)]);function _0x20365b(_0xafed17,_0x5e9884){return _0x1fe1a4(_0x5e9884,_0xafed17-0x176);}console[_0x18af7d(_0x7bea50._0x435690,_0x7bea50._0x11c6cd)]('Gateway\x20'+_0x20365b(_0x7bea50._0x3ec78f,_0x7bea50._0x2f273c)+_0x18af7d(-0x22e,-_0x7bea50._0x36d61e)+(_0x1abe20[_0x18af7d(-0x1e,0x1b)+'ewayReac'+_0x20365b(0x472,0x224)]?_0x18af7d(0x201,0x2e3):'no'));}function requirePairingConfig(){const _0x3c91b1={_0x127f96:0x5e3,_0x4559be:0x575,_0x5791fc:0x3d0,_0xf1077b:0x5bf,_0x558d79:0x49c,_0x56a8ac:0x47a},_0x1d5a40={_0x24c403:0x28a},_0xcbd252={'pcPCA':function(_0x3f1df3){return _0x3f1df3();}};function _0x3e68b6(_0x2e15f7,_0x2f6a09){return _0x43d5cd(_0x2f6a09-0x458,_0x2e15f7);}const _0x54c297=_0xcbd252[_0x3e68b6(0x6ee,_0x3c91b1._0x127f96)](readPairingConfig);function _0x542a4b(_0x1e986e,_0x460543){return _0x43d5cd(_0x460543-_0x1d5a40._0x24c403,_0x1e986e);}return!_0x54c297&&(console[_0x542a4b(0x404,_0x3c91b1._0x4559be)](_0x3e68b6(0x2ed,_0x3c91b1._0x5791fc)+_0x3e68b6(0x732,0x542)+_0x542a4b(_0x3c91b1._0xf1077b,0x62f)+_0x3e68b6(0x41c,_0x3c91b1._0x558d79)+_0x3e68b6(0x864,0x6db)+'nfig\x20pat'+'h:\x20'+getPairingConfigPath()),process[_0x3e68b6(_0x3c91b1._0x56a8ac,0x4a0)](0x1)),_0x54c297;}function readFlag(_0xfca6b4,_0x150a51){const _0xc8b615={_0x5af432:0xcf,_0x44a1b9:0x41,_0x1c232b:0x4e4,_0x3fea9c:0x136},_0x133f11={};_0x133f11[_0x17b0c5(-_0xc8b615._0x5af432,_0xc8b615._0x44a1b9)]=function(_0x343337,_0x1acbf6){return _0x343337+_0x1acbf6;};const _0x328bb1=_0x133f11;function _0x17b0c5(_0x584822,_0x4ab13b){return _0x1fe1a4(_0x4ab13b,_0x584822- -0x2f5);}const _0x123f30=_0xfca6b4['indexOf'](_0x150a51);function _0x3d2e45(_0x44fc55,_0x334ee8){return _0x1fe1a4(_0x334ee8,_0x44fc55-0x235);}if(_0x123f30<0x0)return null;const _0x5a5b07=_0xfca6b4[_0x328bb1['QkIyZ'](_0x123f30,0x1)];return _0x5a5b07?.[_0x3d2e45(_0xc8b615._0x1c232b,0x6c5)]()?_0x5a5b07[_0x17b0c5(-0x46,-_0xc8b615._0x3fea9c)]():null;}function hasFlag(_0x2ea156,_0x404c64){return _0x2ea156['includes'](_0x404c64);}function readPairSubcommand(_0x47369f){const _0x153e39={_0x49a14c:0x593};function _0x3cdde6(_0x10d474,_0x1af9a8){return _0x43d5cd(_0x10d474-0x2d7,_0x1af9a8);}for(const _0x2af3a9 of _0x47369f){if(!_0x2af3a9[_0x3cdde6(0x3cd,_0x153e39._0x49a14c)+'th']('-'))return _0x2af3a9['trim']()||null;}return null;}function printHelp(){const _0x26b34f={_0x44c8a8:0xd3,_0x3130d8:0x1ae,_0x45ab78:0x6f8,_0x504b30:0x5bc,_0x230685:0x6c3,_0x386bb8:0x87c,_0x2f433d:0xbe,_0x405fd1:0x95e,_0x240221:0xa36,_0x5ca1aa:0x353,_0x1813da:0x590,_0x2931cb:0xda,_0x49f0d5:0x7d1,_0x29ce31:0x50a,_0x427b43:0x5ae,_0x419c30:0x5b2,_0x37fc11:0x7ba,_0x33801b:0x27b,_0xb4f0d9:0xfc,_0xba7817:0x560,_0x526e33:0x8df,_0x4231a2:0x6d7,_0x11bb00:0x75,_0xb20464:0xf3,_0x345884:0x5d,_0x56a0a9:0x125,_0x428fbd:0x927,_0x2f361a:0x6b3,_0x1029e5:0x2b1,_0x3dc1dc:0x219,_0xb892c2:0x118,_0x1f4684:0xa5,_0x506753:0x706,_0x58a13c:0x5fe,_0x2ae3f7:0x724,_0x5a55fc:0x6ed,_0x168e13:0x55d,_0xee2b28:0x81a,_0x26b8b7:0x953,_0x553dec:0x7e9,_0x1ab258:0x57c,_0x17305a:0xb1,_0x75d405:0x794,_0x4f3445:0x5f6,_0x55cbf9:0x40b,_0x4a5892:0x3b3,_0x11a417:0xae,_0x4c089d:0x616,_0x12565b:0x5ff,_0x490baa:0x1fb,_0x15424a:0x994,_0x2c79e4:0x71e},_0xbc7c38={};_0xbc7c38[_0x453035(_0x26b34f._0x44c8a8,_0x26b34f._0x3130d8)]=_0xa4c9cc(_0x26b34f._0x45ab78,_0x26b34f._0x504b30)+_0xa4c9cc(_0x26b34f._0x230685,_0x26b34f._0x386bb8)+_0xa4c9cc(0x6f9,0x4ff)+_0x453035(_0x26b34f._0x2f433d,0xf3)+_0xa4c9cc(0x771,_0x26b34f._0x405fd1)+'[--json]';function _0x453035(_0x24f3ca,_0x387918){return _0x43d5cd(_0x387918- -0xbb,_0x24f3ca);}_0xbc7c38[_0xa4c9cc(0x81a,_0x26b34f._0x240221)]=_0x453035(-0x6b,0xcc)+'restart';function _0xa4c9cc(_0x1ceb7f,_0x4bee01){return _0x43d5cd(_0x1ceb7f-0x571,_0x4bee01);}_0xbc7c38[_0x453035(_0x26b34f._0x5ca1aa,0x30c)]=_0xa4c9cc(0x6f8,_0x26b34f._0x1813da)+_0x453035(-0x1f6,-_0x26b34f._0x2931cb),_0xbc7c38[_0xa4c9cc(0x94f,0x738)]=_0xa4c9cc(_0x26b34f._0x45ab78,0x5d7)+_0x453035(0x4,-0x113),_0xbc7c38[_0xa4c9cc(_0x26b34f._0x49f0d5,0x895)]=_0xa4c9cc(_0x26b34f._0x45ab78,_0x26b34f._0x29ce31)+_0xa4c9cc(_0x26b34f._0x427b43,_0x26b34f._0x419c30)+_0xa4c9cc(_0x26b34f._0x37fc11,0x9ec);const _0x3b234b=_0xbc7c38;console[_0xa4c9cc(0x8f4,0x9ab)]([_0x453035(_0x26b34f._0x33801b,0xcc)+_0x453035(0x1,_0x26b34f._0xb4f0d9)+'server\x20<'+_0xa4c9cc(_0x26b34f._0xba7817,0x776)+'-name\x20<d'+'isplayNa'+_0xa4c9cc(_0x26b34f._0x526e33,_0x26b34f._0x4231a2)+_0x453035(-_0x26b34f._0x11bb00,_0x26b34f._0xb20464)+_0x453035(0xe,0x145)+'[--json]'+_0x453035(0x43,-_0x26b34f._0x345884)+'e]',_0x453035(0x2f8,0xcc)+_0xa4c9cc(0x589,0x7ac)+'al\x20[--ur'+'l\x20<ws://'+'host:por'+_0x453035(-_0x26b34f._0x56a0a9,-0xfb)+_0xa4c9cc(_0x26b34f._0x428fbd,0xac8)+_0xa4c9cc(_0x26b34f._0x2f361a,0x479)+'--json]','clawket\x20'+_0x453035(_0x26b34f._0x1029e5,_0x26b34f._0x3dc1dc)+_0x453035(0x171,0x265)+_0xa4c9cc(0x65c,0x620)+'//host:p'+'ort>]\x20[-'+_0x453035(-_0x26b34f._0xb892c2,-_0x26b34f._0x1f4684)+'\x20<path>]'+_0xa4c9cc(_0x26b34f._0x506753,_0x26b34f._0x58a13c)+']',_0x3b234b[_0x453035(0xbc,0x1ae)],'clawket\x20'+_0xa4c9cc(_0x26b34f._0x2ae3f7,_0x26b34f._0x5a55fc),_0xa4c9cc(0x6f8,_0x26b34f._0x168e13)+_0xa4c9cc(0x8a2,0x98b),_0x3b234b[_0xa4c9cc(_0x26b34f._0xee2b28,_0x26b34f._0x26b8b7)],_0x3b234b['ttDrl'],_0xa4c9cc(_0x26b34f._0x45ab78,_0x26b34f._0x553dec)+'uninstal'+'l',_0x3b234b['AqtMP'],_0xa4c9cc(0x6f8,0x5b1)+_0xa4c9cc(_0x26b34f._0x1ab258,0x6f6),_0x453035(-0x40,0xcc)+_0x453035(0x37b,0x352)+_0xa4c9cc(0x4f7,0x3b7)+_0x453035(-_0x26b34f._0x17305a,-_0x26b34f._0xb4f0d9)+_0xa4c9cc(_0x26b34f._0x75d405,0x818)+_0xa4c9cc(_0x26b34f._0x4f3445,_0x26b34f._0x55cbf9)+_0xa4c9cc(0x7b7,0x6c1)+_0x453035(_0x26b34f._0x4a5892,0x166),_0x3b234b[_0x453035(0x18,0x1a5)],_0x453035(-_0x26b34f._0x11a417,0xcc)+_0x453035(-0x250,-0x24)+_0xa4c9cc(_0x26b34f._0x4c089d,0x795)+_0xa4c9cc(_0x26b34f._0x12565b,0x60f)+_0x453035(0x159,_0x26b34f._0x490baa)+_0xa4c9cc(0x814,_0x26b34f._0x15424a)+'>]'][_0xa4c9cc(_0x26b34f._0x2c79e4,0x81c)]('\x0a'));}function formatLocalTime(_0x4bf81f){const _0x4ef07d={_0x30f0f3:0x8a4,_0xaf87e5:0x861,_0x54e242:0x8cc,_0x94464d:0x7e1,_0x5bcee4:0x4d1},_0x3a8d55={_0x2e5026:0x51c},_0x1d4eb4=new Date(_0x4bf81f);function _0x5b65d4(_0x5e0338,_0x3d853b){return _0x43d5cd(_0x5e0338-0x314,_0x3d853b);}function _0x3ccd50(_0x3e8699,_0x806593){return _0x43d5cd(_0x806593-_0x3a8d55._0x2e5026,_0x3e8699);}if(Number[_0x3ccd50(_0x4ef07d._0x30f0f3,_0x4ef07d._0xaf87e5)](_0x1d4eb4[_0x3ccd50(_0x4ef07d._0x54e242,_0x4ef07d._0x94464d)]()))return _0x4bf81f;return _0x1d4eb4[_0x5b65d4(_0x4ef07d._0x5bcee4,0x292)+_0x3ccd50(0xadf,0x88e)]();}function formatError(_0x2f76c6){const _0x3466a1={_0x2bc40c:0x485,_0x7ae7e1:0x3e5,_0x3c0450:0x510},_0xaf4f6f={_0x4144f5:0x52b},_0x5758b4={_0x1bbbe9:0x37d};function _0x40f2a0(_0x18d56a,_0x218d33){return _0x43d5cd(_0x18d56a-_0x5758b4._0x1bbbe9,_0x218d33);}const _0x343463={};_0x343463[_0x40f2a0(_0x3466a1._0x2bc40c,0x2c5)]=function(_0x231ad2,_0x24b963){return _0x231ad2 instanceof _0x24b963;};const _0x596840=_0x343463;function _0x250c09(_0x25713b,_0x243555){return _0x43d5cd(_0x243555-_0xaf4f6f._0x4144f5,_0x25713b);}return _0x596840[_0x40f2a0(0x485,0x5f7)](_0x2f76c6,Error)?_0x2f76c6[_0x40f2a0(_0x3466a1._0x7ae7e1,_0x3466a1._0x3c0450)]:String(_0x2f76c6);}function printJson(_0x2a69cb){const _0x1fb08a={_0x1df89d:0x25b},_0x16c285={_0x54bca9:0x19};function _0x4112c8(_0xc04154,_0x887d11){return _0x43d5cd(_0x887d11- -_0x16c285._0x54bca9,_0xc04154);}console['log'](JSON[_0x4112c8(0x380,_0x1fb08a._0x1df89d)+'y'](_0x2a69cb,null,0x2));}main()['catch'](_0x422da2=>{const _0x335700={_0x1460d1:0x61e,_0x3bc201:0x22c},_0x54059d={_0x513033:0x1e4};function _0x370307(_0x4cb82b,_0x5028c4){return _0x43d5cd(_0x5028c4-0x333,_0x4cb82b);}function _0x2e0da3(_0xf1f622,_0x525f9e){return _0x43d5cd(_0x525f9e-_0x54059d._0x513033,_0xf1f622);}console[_0x370307(0x4ee,_0x335700._0x1460d1)](formatError(_0x422da2)),process[_0x2e0da3(0x88,_0x335700._0x3bc201)](0x1);});
|
|
2
|
+
(function(_0x16bd12,_0x379866){const _0x2fb59d={_0x30175a:0x1a3,_0x4f1e23:0x2ad,_0x47364e:0x2aa,_0x217608:0x5cf,_0xd89ec2:0x504,_0x3a5696:0x500,_0x468725:0x786,_0x5ea576:0x6d2,_0x351d84:0x1ed,_0x181967:0x368,_0x352847:0x26d,_0x239173:0x8b,_0x366704:0x6f},_0x58ee69=_0x16bd12();function _0x315fd2(_0x2027eb,_0x494ff1){return _0x351d(_0x494ff1- -0x364,_0x2027eb);}function _0x224349(_0x4d2a84,_0x5ef7fe){return _0x351d(_0x4d2a84-0x14a,_0x5ef7fe);}while(!![]){try{const _0x194102=parseInt(_0x315fd2(_0x2fb59d._0x30175a,0x160))/0x1*(parseInt(_0x224349(_0x2fb59d._0x4f1e23,_0x2fb59d._0x47364e))/0x2)+parseInt(_0x315fd2(0x267,0x1d9))/0x3+-parseInt(_0x224349(_0x2fb59d._0x217608,_0x2fb59d._0xd89ec2))/0x4*(-parseInt(_0x224349(_0x2fb59d._0x3a5696,_0x2fb59d._0x468725))/0x5)+-parseInt(_0x315fd2(-0xab,0xc7))/0x6+parseInt(_0x224349(_0x2fb59d._0x5ea576,0x83b))/0x7+-parseInt(_0x315fd2(-0xf2,-_0x2fb59d._0x351d84))/0x8*(parseInt(_0x224349(_0x2fb59d._0x181967,0x50d))/0x9)+parseInt(_0x224349(0x304,_0x2fb59d._0x352847))/0xa*(-parseInt(_0x315fd2(_0x2fb59d._0x239173,_0x2fb59d._0x366704))/0xb);if(_0x194102===_0x379866)break;else _0x58ee69['push'](_0x58ee69['shift']());}catch(_0x532948){_0x58ee69['push'](_0x58ee69['shift']());}}}(_0x3485,0x99b17));const _0x1d77b2=(function(){const _0x24e25b={_0x361da5:0x3d5};let _0x1e4afc=!![];return function(_0x1c4f69,_0x576789){const _0x5e2903=_0x1e4afc?function(){const _0x375c8e={_0x497921:0x63};function _0x5c48c5(_0x1e2629,_0x2adfbc){return _0x351d(_0x2adfbc- -_0x375c8e._0x497921,_0x1e2629);}if(_0x576789){const _0x4725c1=_0x576789[_0x5c48c5(0x19b,_0x24e25b._0x361da5)](_0x1c4f69,arguments);return _0x576789=null,_0x4725c1;}}:function(){};return _0x1e4afc=![],_0x5e2903;};}()),_0x4dc458=_0x1d77b2(this,function(){const _0x1e5a58={_0x35de45:0x353,_0x3e9dae:0x4da,_0xc4393a:0x4b0,_0x3f4eb3:0x1c8,_0x3fb2bc:0x373,_0x1a6e81:0x54b,_0x406db0:0x553,_0x565fa4:0x34c,_0x497562:0x376,_0x397654:0x3df,_0x40670e:0x373},_0x24c295={_0x2c4d3e:0xde},_0x39080e={_0x3567b3:0x191};function _0x4e38e2(_0x4b4204,_0x11cdf7){return _0x351d(_0x11cdf7-_0x39080e._0x3567b3,_0x4b4204);}function _0x2bdf01(_0x32b99a,_0x109f03){return _0x351d(_0x109f03- -_0x24c295._0x2c4d3e,_0x32b99a);}return _0x4dc458[_0x4e38e2(_0x1e5a58._0x35de45,0x553)]()['search'](_0x2bdf01(_0x1e5a58._0x3e9dae,_0x1e5a58._0xc4393a)+_0x2bdf01(_0x1e5a58._0x3f4eb3,_0x1e5a58._0x3fb2bc))[_0x4e38e2(_0x1e5a58._0x1a6e81,_0x1e5a58._0x406db0)]()[_0x2bdf01(_0x1e5a58._0x565fa4,0x131)+_0x2bdf01(0x1be,_0x1e5a58._0x497562)](_0x4dc458)[_0x4e38e2(0x427,0x3fa)](_0x2bdf01(0x5a2,_0x1e5a58._0xc4393a)+_0x2bdf01(_0x1e5a58._0x397654,_0x1e5a58._0x40670e));});_0x4dc458();import _0x4ea81d from'qrcode-terminal';import{readFileSync as _0x5108f9}from'fs';import{Socket}from'net';import{homedir as _0x18676a}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(),_0x18e10d(0x45c,0x2cd)),CONFIG_PATH=join(CONFIG_DIR,'bridge-c'+_0x18e10d(0x4e2,0x3e4));function getPairingConfigPath(){return CONFIG_PATH;}function readPairingConfig(){const _0x3f296f={_0x284811:0x2dc,_0x474997:0x45b,_0xb7b44e:0x97,_0x8c6008:0x13e,_0x250a9e:0xfe,_0x1f306c:0x2b9,_0x4bf93d:0x215,_0x5279c9:0x1cb,_0x425b36:0x15d,_0x5ca2be:0x133,_0x140ea4:0x439,_0x47bee8:0x18d,_0x5cdbc6:0x105,_0x4ac69f:0x165,_0x50fcc2:0x3ee,_0x426b42:0x4eb,_0x51a864:0x395,_0x4afae0:0xa0,_0xba60a4:0x629,_0x59995b:0x3f1,_0x286c91:0x4cd},_0x16f13d={_0x3c30d0:0x2d6},_0x4c35e8={'OAFmH':function(_0x2c4e4f,_0x1d0f88,_0x273a0e){return _0x2c4e4f(_0x1d0f88,_0x273a0e);},'unRyN':function(_0x221a21){return _0x221a21();}};function _0x4d2215(_0x434e5c,_0x1392e4){return _0x9d3486(_0x1392e4,_0x434e5c- -_0x16f13d._0x3c30d0);}if(!existsSync(CONFIG_PATH))return null;function _0x136281(_0x1c4440,_0x3e5a79){return _0x9d3486(_0x1c4440,_0x3e5a79- -0x5df);}try{const _0x62306c=JSON[_0x136281(0x243,_0x3f296f._0x284811)](_0x4c35e8['OAFmH'](readFileSync,CONFIG_PATH,_0x136281(_0x3f296f._0x474997,0x32f)));if(!_0x62306c['serverUr'+'l']||!_0x62306c[_0x136281(_0x3f296f._0xb7b44e,_0x3f296f._0x8c6008)+'d']||!_0x62306c[_0x136281(0x2f,_0x3f296f._0x250a9e)+_0x4d2215(_0x3f296f._0x1f306c,_0x3f296f._0x4bf93d)]||!_0x62306c[_0x136281(0x20,0x1c8)])return null;const _0x82723c={'serverUrl':_0x62306c[_0x136281(-_0x3f296f._0x5279c9,0x1c)+'l'],'gatewayId':_0x62306c[_0x136281(_0x3f296f._0x425b36,0x13e)+'d'],'relaySecret':_0x62306c[_0x136281(-_0x3f296f._0x5ca2be,0xfe)+'ret'],'relayUrl':_0x62306c[_0x136281(0x2cf,0x1c8)],'instanceId':_0x62306c[_0x136281(_0x3f296f._0x140ea4,0x320)+'Id']?.[_0x136281(-_0x3f296f._0x47bee8,0x6c)]()||_0x4c35e8[_0x136281(-0x9b,_0x3f296f._0x5cdbc6)](createInstanceId),'displayName':_0x62306c[_0x4d2215(_0x3f296f._0x4ac69f,_0x3f296f._0x50fcc2)+'ame']??null,'createdAt':_0x62306c['createdA'+'t']??new Date()[_0x136281(0x53,0x1e2)+'ing'](),'updatedAt':_0x62306c['updatedA'+'t']??new Date()[_0x4d2215(_0x3f296f._0x426b42,_0x3f296f._0x51a864)+_0x4d2215(0x1db,_0x3f296f._0x4afae0)]()};return _0x62306c[_0x4d2215(_0x3f296f._0xba60a4,_0x3f296f._0x59995b)+'Id']!==_0x82723c[_0x136281(_0x3f296f._0x286c91,0x320)+'Id']&&writePairingConfig(_0x82723c),_0x82723c;}catch{return null;}}function writePairingConfig(_0x4c8f03){const _0x3210f3={_0x22f826:0x821},_0x5479cd={_0x39f93:0x1ba},_0x55601b={};function _0x590e99(_0x5d1f52,_0x7ff5bf){return _0x18e10d(_0x7ff5bf,_0x5d1f52-_0x5479cd._0x39f93);}_0x55601b[_0x590e99(0x514,0x44e)+'e']=!![],mkdirSync(CONFIG_DIR,_0x55601b);function _0x22a864(_0x146590,_0x83784b){return _0x18e10d(_0x146590,_0x83784b-0x27c);}writeFileSync(CONFIG_PATH,JSON[_0x22a864(0x6aa,_0x3210f3._0x22f826)+'y'](_0x4c8f03,null,0x2)+'\x0a','utf8');}function deletePairingConfig(){const _0x1ee8f1={_0x4485a5:0x2ef,_0x2c6b48:0xa3,_0x14c0a8:0xa4},_0x147c8b={'iWGNn':function(_0x54fef9,_0x2b7a3b,_0x113f11){return _0x54fef9(_0x2b7a3b,_0x113f11);}};function _0x1d5781(_0x147f24,_0x256073){return _0x9d3486(_0x147f24,_0x256073- -0x3d6);}if(!existsSync(CONFIG_PATH))return;const _0x56970c={};_0x56970c[_0x3c2a37(_0x1ee8f1._0x4485a5,0x3d6)]=!![];function _0x3c2a37(_0x6a1f23,_0x55e69b){return _0x9d3486(_0x6a1f23,_0x55e69b- -0x13a);}_0x147c8b[_0x1d5781(-_0x1ee8f1._0x2c6b48,_0x1ee8f1._0x14c0a8)](rmSync,CONFIG_PATH,_0x56970c);}function getDefaultBridgeDisplayName(){const _0x2e7e23={_0x25ad65:0x177,_0x386014:0x386,_0x4ffac8:0x602,_0x5a05f1:0x86,_0x3efabd:0x1eb,_0x14f6b7:0xdf,_0x26029b:0x335},_0x479f5a={_0x20e03f:0xb8},_0x49b0bb={'JPISH':function(_0x5b98fe){return _0x5b98fe();},'wIdZT':function(_0x1c88b9){return _0x1c88b9();},'AwWcU':_0x585151(0xfb,-_0x2e7e23._0x25ad65)+'Bridge'},_0x156b3f=_0x49b0bb[_0x585151(_0x2e7e23._0x386014,_0x2e7e23._0x4ffac8)](readOpenClawDefaultAgentName);if(_0x156b3f)return _0x156b3f;function _0x585151(_0x52226c,_0x1397ce){return _0x18e10d(_0x1397ce,_0x52226c- -0x1df);}try{const _0xe0616b=_0x49b0bb[_0x4bc9b9(0x551,0x67e)](userInfo)[_0x585151(_0x2e7e23._0x5a05f1,0x4)][_0x585151(0x1ec,_0x2e7e23._0x3efabd)]();if(_0xe0616b)return _0xe0616b;}catch{}const _0x3a96c4=(process.env.LOGNAME??process.env.USER??process.env.USERNAME??'')[_0x585151(0x1ec,0x37d)]();function _0x4bc9b9(_0x2fc2e7,_0x164586){return _0x18e10d(_0x164586,_0x2fc2e7- -_0x479f5a._0x20e03f);}if(_0x3a96c4)return _0x3a96c4;return hostname()[_0x4bc9b9(0x313,_0x2e7e23._0x14f6b7)]()||_0x49b0bb[_0x585151(_0x2e7e23._0x26029b,0x2e9)];}function pickOpenClawDefaultAgentName(_0x18317e){const _0x4ea989={_0x4ca85b:0x2bf,_0x3eef7a:0x348,_0x4ccc27:0x5d5,_0x128587:0xaf};function _0x26d2bc(_0x549667,_0x236154){return _0x9d3486(_0x236154,_0x549667- -0x3a3);}const _0x5a6fb8={'GRBnV':function(_0x10173e,_0x2c7da2){return _0x10173e!==_0x2c7da2;},'bxHlX':function(_0x16623b,_0x43212f){return _0x16623b(_0x43212f);}};if(!_0x18317e||_0x5a6fb8['GRBnV'](typeof _0x18317e,'object'))return null;function _0x3b70c8(_0x1ad326,_0x1e9686){return _0x9d3486(_0x1ad326,_0x1e9686-0x63);}const _0x3177a9=_0x18317e[_0x26d2bc(0x48b,0x3de)],_0x4d5fa7=Array[_0x26d2bc(0x14f,0x215)](_0x3177a9?.[_0x3b70c8(0x811,0x6c5)])?_0x3177a9[_0x26d2bc(_0x4ea989._0x4ca85b,_0x4ea989._0x3eef7a)]:[],_0x27ad46=_0x4d5fa7['find'](_0x257101=>isDefaultAgent(_0x257101))??_0x4d5fa7[_0x3b70c8(_0x4ea989._0x4ccc27,0x755)](_0x1967fb=>hasAgentId(_0x1967fb,'main'))??_0x4d5fa7[0x0];return _0x5a6fb8[_0x26d2bc(_0x4ea989._0x128587,0x31)](readAgentName,_0x27ad46);}function createInstanceId(){const _0x12edbc={_0x2b8e70:0x84},_0x120379={};function _0x50e8ae(_0x180933,_0x2be86a){return _0x18e10d(_0x2be86a,_0x180933- -0x28c);}_0x120379['ueaxo']='host';const _0x46d8d9=_0x120379,_0x2258b3=sanitizeId(hostname()||_0x46d8d9[_0x50e8ae(-0x86,-_0x12edbc._0x2b8e70)]);return'inst-'+_0x2258b3+'-'+randomUUID()['slice'](0x0,0xa);}function sanitizeId(_0x501658){const _0x48aad3={_0x3d4d5a:0x43c,_0x139da8:0x562,_0x5e6f9a:0x2a7},_0x5b907a={_0x41e55b:0x1e7},_0x314a4d={_0x410dcd:0x2f};function _0x519e93(_0x2b2c9f,_0x179143){return _0x18e10d(_0x179143,_0x2b2c9f- -_0x314a4d._0x410dcd);}function _0x4d76cc(_0x4ce4a4,_0xcd6042){return _0x18e10d(_0xcd6042,_0x4ce4a4- -_0x5b907a._0x41e55b);}return _0x501658[_0x4d76cc(0x1e4,-0x97)]()[_0x519e93(_0x48aad3._0x3d4d5a,_0x48aad3._0x139da8)+_0x4d76cc(0x1a0,0x38b)]()[_0x4d76cc(_0x48aad3._0x5e6f9a,0x171)](/[^a-z0-9._-]+/g,'-')['replace'](/^-+|-+$/g,'')||_0x4d76cc(0x413,0x1c3);}function readOpenClawDefaultAgentName(){const _0x2e42c6={_0x40121c:0x841,_0x402bc4:0x9fd},_0xb68d1b={_0x111d9f:0x1b3},_0x421b11={_0xe42136:0x137};function _0x59c7b6(_0x39c0d2,_0x499a4a){return _0x18e10d(_0x499a4a,_0x39c0d2- -_0x421b11._0xe42136);}const _0x11c56c=resolveOpenClawConfigPath();function _0x12ad39(_0x319d4b,_0x48c297){return _0x18e10d(_0x48c297,_0x319d4b-_0xb68d1b._0x111d9f);}if(!_0x11c56c||!existsSync(_0x11c56c))return null;try{const _0x8564c0=JSON[_0x12ad39(0x7ee,0x6e3)](readFileSync(_0x11c56c,_0x12ad39(_0x2e42c6._0x40121c,_0x2e42c6._0x402bc4)));return pickOpenClawDefaultAgentName(_0x8564c0);}catch{return null;}}function resolveOpenClawConfigPath(){const _0x27e51a={_0x37bb81:0x4ef,_0x4919a7:0x4b2,_0x147b30:0x424,_0x5b1604:0x48b,_0x49efaf:0x49f,_0x14e32f:0x2ec,_0x56d446:0x4dd,_0x38fbb0:0x3b1,_0x5ed534:0x400,_0x97c056:0x424,_0x369d2f:0x29a,_0x71eed5:0x5},_0x2014fa={_0x174a13:0x38f},_0x48cde3={_0x4bac72:0x47e},_0x30fde6={'DVmyN':function(_0x5a976a,_0x375a0f){return _0x5a976a(_0x375a0f);},'mWuRL':function(_0x2386fc,_0x4c3716,_0xa066eb,_0x26fdb3){return _0x2386fc(_0x4c3716,_0xa066eb,_0x26fdb3);},'dBDzr':_0x544ca9(_0x27e51a._0x37bb81,_0x27e51a._0x4919a7)+_0x544ca9(_0x27e51a._0x147b30,_0x27e51a._0x5b1604)};function _0x4319aa(_0x2b2ca2,_0x337995){return _0x9d3486(_0x2b2ca2,_0x337995- -_0x48cde3._0x4bac72);}const _0x37bcdc=new Set(),_0x40213e=[homedir(),_0x4319aa(0x691,_0x27e51a._0x49efaf)]['map'](_0x3a7e67=>_0x3a7e67[_0x544ca9(0x2bc,0x316)]())['filter'](Boolean)[_0x544ca9(0x3e2,0x5cb)](_0x3a7c0d=>{const _0x284853={_0x575bbf:0x384};if(_0x37bcdc['has'](_0x3a7c0d))return![];function _0x18a3b9(_0x232b12,_0x6f121e){return _0x4319aa(_0x232b12,_0x6f121e-_0x284853._0x575bbf);}return _0x37bcdc[_0x18a3b9(0xa1a,0x7f6)](_0x3a7c0d),!![];});function _0x544ca9(_0x5c64f9,_0x2f3068){return _0x9d3486(_0x2f3068,_0x5c64f9- -_0x2014fa._0x174a13);}for(const _0x4ec58f of _0x40213e){const _0x63dca3=join(_0x4ec58f,_0x544ca9(_0x27e51a._0x14e32f,_0x27e51a._0x56d446)+'w',_0x4319aa(_0x27e51a._0x38fbb0,_0x27e51a._0x5ed534)+_0x544ca9(_0x27e51a._0x97c056,_0x27e51a._0x369d2f));if(_0x30fde6[_0x4319aa(0x257,_0x27e51a._0x71eed5)](existsSync,_0x63dca3))return _0x63dca3;}return _0x40213e[0x0]?_0x30fde6[_0x544ca9(0x11b,-0xfe)](join,_0x40213e[0x0],'.opencla'+'w',_0x30fde6['dBDzr']):null;}function isDefaultAgent(_0x263633){const _0x19bcd7={_0x5f09e8:0x272,_0x1f7113:0x327,_0x4fbbae:0xab5,_0x548d9d:0x8c1},_0x49c29d={_0x543670:0x304},_0x16ee51={_0x3b93a3:0xad},_0x18ec52={};function _0x3fb6e0(_0x3bddf6,_0x463bf8){return _0x18e10d(_0x463bf8,_0x3bddf6- -_0x16ee51._0x3b93a3);}_0x18ec52[_0x3fb6e0(_0x19bcd7._0x5f09e8,_0x19bcd7._0x1f7113)]=function(_0x1c0cac,_0x88358e){return _0x1c0cac===_0x88358e;};const _0x3b91ab=_0x18ec52;function _0x3630be(_0x1a2d9d,_0x176f5c){return _0x18e10d(_0x1a2d9d,_0x176f5c-_0x49c29d._0x543670);}return Boolean(_0x263633&&_0x3b91ab['BmoZC'](typeof _0x263633,_0x3630be(_0x19bcd7._0x4fbbae,_0x19bcd7._0x548d9d))&&_0x263633['default']===!![]);}function hasAgentId(_0x337ea2,_0xf38828){const _0x416523={_0x36a6c6:0x5ad,_0x2d5496:0x325,_0x54b15b:0x33,_0x8a53e:0xb8,_0x5cef14:0x133};function _0x55b658(_0xf98242,_0x262b32){return _0x18e10d(_0xf98242,_0x262b32- -0x298);}function _0x3fec5d(_0x773c7f,_0x4f442f){return _0x18e10d(_0x4f442f,_0x773c7f-0x50);}return Boolean(_0x337ea2&&typeof _0x337ea2===_0x55b658(_0x416523._0x36a6c6,_0x416523._0x2d5496)&&typeof _0x337ea2['id']===_0x55b658(-_0x416523._0x54b15b,_0x416523._0x8a53e)&&_0x337ea2['id'][_0x55b658(0x245,_0x416523._0x5cef14)]()===_0xf38828);}function readAgentName(_0x25ef8a){const _0x1e9062={_0x41b2b1:0x360,_0x3ef879:0xcb,_0x3029be:0x192,_0x14e61d:0x5cd,_0x2acef0:0x6b8,_0x3b3a9c:0x484,_0x3ddfb2:0x248,_0x431136:0x2bd,_0x361cf0:0x3db,_0x31d12a:0xd7,_0x2fd5a6:0x16f},_0x15c71b={_0xdd27:0x1fd},_0x17ea49={};_0x17ea49['lwoNC']=_0x4e6381(_0x1e9062._0x41b2b1,0x140),_0x17ea49[_0x138501(_0x1e9062._0x3ef879,0xb4)]=function(_0x1519fd,_0x9dfe76){return _0x1519fd===_0x9dfe76;},_0x17ea49[_0x138501(_0x1e9062._0x3029be,0x16f)]=function(_0x575740,_0x306091){return _0x575740||_0x306091;};const _0x1ed01e=_0x17ea49;if(!_0x25ef8a||typeof _0x25ef8a!==_0x4e6381(_0x1e9062._0x14e61d,_0x1e9062._0x2acef0))return null;const _0x543b90=_0x25ef8a,_0x45416f=typeof _0x543b90['identity']?.[_0x4e6381(0x59d,0x75a)]===_0x1ed01e[_0x138501(_0x1e9062._0x3b3a9c,_0x1e9062._0x3ddfb2)]?_0x543b90['identity'][_0x4e6381(0x59d,0x69f)]['trim']():'';if(_0x45416f)return _0x45416f;function _0x138501(_0x3c3c31,_0x5c922a){return _0x18e10d(_0x3c3c31,_0x5c922a- -_0x15c71b._0xdd27);}function _0x4e6381(_0x6fc4ab,_0x44c7b2){return _0x18e10d(_0x44c7b2,_0x6fc4ab-0x10);}const _0x40bddd=_0x1ed01e['FwDRZ'](typeof _0x543b90['name'],_0x4e6381(0x360,_0x1e9062._0x431136))?_0x543b90['name'][_0x4e6381(_0x1e9062._0x361cf0,0x17e)]():'';return _0x1ed01e[_0x138501(-_0x1e9062._0x31d12a,_0x1e9062._0x2fd5a6)](_0x40bddd,null);}function buildPairingQrPayload(_0x116117){const _0x17e8c4={_0x3ef768:0x643,_0x1bca82:0x397,_0x33f30a:0x489,_0x4dd08f:0x703,_0x2928de:0x266,_0x574a85:0x3ca,_0x4a4f48:0x69f,_0x1a0142:0x6fd,_0x3f06b6:0xa00,_0x1ddd0c:0x476,_0x572d11:0x528,_0xc82cb8:0x688,_0x2deecb:0x677,_0x25a891:0x40e},_0x1da9e6={};_0x1da9e6['v']=0x2,_0x1da9e6['k']='cp',_0x1da9e6['s']=_0x116117[_0x13d06e(0x462,_0x17e8c4._0x3ef768)],_0x1da9e6['g']=_0x116117[_0x281324(0x548,_0x17e8c4._0x1bca82)+'d'];function _0x13d06e(_0x20ab2f,_0x39f24d){return _0x18e10d(_0x20ab2f,_0x39f24d-0x2ac);}_0x1da9e6['a']=_0x116117[_0x281324(_0x17e8c4._0x33f30a,_0x17e8c4._0x4dd08f)+'de'];const _0x3f29a7=_0x1da9e6;_0x116117[_0x281324(_0x17e8c4._0x2928de,_0x17e8c4._0x574a85)+_0x281324(0x461,0x2e0)]?.[_0x281324(0x476,_0x17e8c4._0x4a4f48)]()&&(_0x3f29a7['n']=_0x116117[_0x13d06e(0x5e7,0x467)+'ame'][_0x13d06e(_0x17e8c4._0x1a0142,0x677)]());function _0x281324(_0x39ca85,_0x4df996){return _0x18e10d(_0x4df996,_0x39ca85-0xab);}return _0x116117['token']?.['trim']()&&(_0x3f29a7['t']=_0x116117[_0x13d06e(_0x17e8c4._0x3f06b6,0x946)][_0x281324(_0x17e8c4._0x1ddd0c,_0x17e8c4._0x572d11)]()),_0x116117['password']?.[_0x13d06e(_0x17e8c4._0xc82cb8,_0x17e8c4._0x2deecb)]()&&(_0x3f29a7['p']=_0x116117[_0x13d06e(0x5bc,0x7ac)][_0x281324(_0x17e8c4._0x1ddd0c,_0x17e8c4._0x25a891)]()),JSON['stringif'+'y'](_0x3f29a7);}function buildGatewayQrPayload(_0x3446b5){const _0x4d8c73={_0x49e63b:0x25d,_0x23f23e:0x520,_0x3df968:0x424,_0x2040b4:0x19c,_0x157f39:0x3a,_0x5831dc:0xdc,_0x528e89:0xf6,_0x248160:0x121,_0x44dc8b:0x15f,_0x542581:0x2d4,_0x551b86:0x93,_0x1069b6:0xed,_0x7f6753:0x1f6,_0x15e9cc:0x80,_0x5b36be:0x193,_0xc5995f:0x26d},_0xe45a5b=normalizeGatewayQrUrl(_0x3446b5['gatewayU'+'rl']);function _0x2b93e1(_0x3b2720,_0x51aefc){return _0x18e10d(_0x51aefc,_0x3b2720- -0x338);}const _0x258794={'url':_0xe45a5b[_0x2b93e1(-0xed,-_0x4d8c73._0x49e63b)],'host':_0xe45a5b[_0x16c7c3(0x742,_0x4d8c73._0x23f23e)],'port':_0xe45a5b[_0x16c7c3(_0x4d8c73._0x3df968,0x5fe)],'tls':_0xe45a5b[_0x2b93e1(_0x4d8c73._0x2040b4,-_0x4d8c73._0x157f39)],'mode':_0x2b93e1(-_0x4d8c73._0x5831dc,_0x4d8c73._0x528e89),'expiresAt':_0x3446b5[_0x16c7c3(_0x4d8c73._0x248160,_0x4d8c73._0x44dc8b)+'t']??Date[_0x16c7c3(0x22b,_0x4d8c73._0x542581)]()+0xa*0x3c*0x3e8,'qrVersion':0x2};_0x3446b5['token']?.[_0x2b93e1(_0x4d8c73._0x551b86,-_0x4d8c73._0x1069b6)]()&&(_0x258794[_0x16c7c3(0x76a,0x5c0)]=_0x3446b5['token'][_0x2b93e1(0x93,-_0x4d8c73._0x7f6753)]());function _0x16c7c3(_0x5180d7,_0x45cc4c){return _0x18e10d(_0x5180d7,_0x45cc4c- -0xda);}return _0x3446b5[_0x16c7c3(0x5e2,0x426)]?.[_0x2b93e1(_0x4d8c73._0x551b86,-_0x4d8c73._0x15e9cc)]()&&(_0x258794['password']=_0x3446b5[_0x2b93e1(0x1c8,_0x4d8c73._0x5b36be)][_0x16c7c3(0xb8,0x2f1)]()),JSON[_0x2b93e1(_0x4d8c73._0xc5995f,0x150)+'y'](_0x258794);}function normalizeGatewayQrUrl(_0x277358){const _0x303b0b={_0x186a9a:0x4c8,_0x2cde89:0x1b2,_0x5a8529:0x1f1,_0x4cc1a0:0x1e1,_0x1e5426:0x1d4,_0x4ee9a9:0x3a7,_0x4bf0d0:0x3c7,_0x1fd760:0x5ea,_0x4c9f28:0x140,_0xa394db:0x37e,_0x2b3f91:0x725,_0x1d2d3b:0x744,_0x48ff14:0x211,_0xac5d8a:0x376,_0x37550f:0x5c7,_0x47fc95:0x6f7,_0xf7915b:0x37,_0xa4ca29:0x78,_0x316610:0x199},_0x314455={_0x54119b:0xfd},_0x558949={'qyuXS':function(_0x414c0f,_0x6c0ca8){return _0x414c0f(_0x6c0ca8);}},_0x58913c=new URL(_0x277358[_0x4d757d(0x516,_0x303b0b._0x186a9a)]());function _0x4d757d(_0x1f84d6,_0x569db6){return _0x18e10d(_0x1f84d6,_0x569db6-_0x314455._0x54119b);}const _0x4c6556=_0x58913c[_0x4d757d(0x99e,0x756)]===_0x2502b9(-_0x303b0b._0x2cde89,0xb6)||_0x58913c['protocol']===_0x2502b9(-_0x303b0b._0x5a8529,-_0x303b0b._0x4cc1a0),_0x119cc1=_0x4c6556?_0x4d757d(_0x303b0b._0x1e5426,_0x303b0b._0x4ee9a9):_0x4d757d(_0x303b0b._0x4bf0d0,_0x303b0b._0x1fd760),_0x1fff05=_0x58913c[_0x2502b9(0x18e,_0x303b0b._0x4c9f28)],_0x20b016=_0x58913c[_0x2502b9(0x27c,_0x303b0b._0xa394db)]?_0x558949[_0x4d757d(_0x303b0b._0x2b3f91,0x760)](Number,_0x58913c['port']):_0x4c6556?0x1bb:0x50,_0x3aa60f=!_0x58913c[_0x4d757d(0x5bf,_0x303b0b._0x1d2d3b)]||_0x58913c['pathname']===''?'/':_0x58913c[_0x2502b9(0x1eb,0x3b6)],_0x1ef7e3={};_0x1ef7e3[_0x2502b9(-_0x303b0b._0x48ff14,-_0x303b0b._0xac5d8a)]=_0x119cc1+'//'+_0x1fff05+':'+_0x20b016+_0x3aa60f,_0x1ef7e3[_0x4d757d(_0x303b0b._0x37550f,_0x303b0b._0x47fc95)]=_0x1fff05,_0x1ef7e3[_0x2502b9(0x27c,_0x303b0b._0xf7915b)]=_0x20b016,_0x1ef7e3[_0x4d757d(0x640,0x3df)]=_0x3aa60f;function _0x2502b9(_0x4e23b9,_0x15ac88){return _0x18e10d(_0x15ac88,_0x4e23b9- -0x45c);}return _0x1ef7e3[_0x2502b9(_0x303b0b._0xa4ca29,-_0x303b0b._0x316610)]=_0x4c6556,_0x1ef7e3;}var DEFAULT_REGISTRY_BASE=_0x18e10d(0x722,0x6dc)+_0x18e10d(0x34b,0x330)+'.clawket'+_0x9d3486(0x3b6,0x5ae),DEFAULT_REGISTRY_FALLBACK_BASE='https://'+_0x18e10d(0x11e,0x306)+_0x9d3486(0x38d,0x5b0)+_0x9d3486(0x3b9,0x54d)+'.workers'+_0x18e10d(0x434,0x579);async function pairGateway(_0x457dc1){const _0x4fbf6a={_0x29147d:0x204,_0x2817a6:0x28c,_0x3c9b64:0x109,_0x245900:0x152,_0x528dff:0x353,_0x2db7e8:0xf4,_0x125366:0x76f,_0xa73b03:0x3ae,_0x31ac0d:0x36e,_0x1147ac:0x19b,_0x499901:0x1ae,_0x4e4f7b:0x220,_0x2d7160:0x82,_0x4f835f:0xcc,_0x5b855b:0x107,_0x41c42e:0xc5,_0xdd5dc6:0x115,_0xa1380:0xed,_0xe69ec8:0x124,_0x136a4b:0x162,_0x341020:0x2e4,_0x271e14:0x294,_0x46d27a:0x5e,_0x583943:0x202,_0x39a46b:0x356,_0x16990f:0x32b,_0x369a88:0x158,_0x3864cd:0x30b,_0x5f512d:0x6be,_0x1f99d2:0x2c6,_0x11da81:0x45d,_0x2b8e33:0x3e9,_0x48bd6c:0x2d7,_0x4a7553:0x137,_0x1cb3da:0x11f,_0x10811c:0x10c,_0x26d565:0x29d,_0x56e64b:0x2b,_0x577610:0x2b0,_0x1c9426:0x4b6,_0x52b021:0x2c7,_0x47be60:0x549,_0x5cf46f:0x14,_0x539127:0x11c,_0x507095:0x62,_0x299d6f:0x40,_0x57d32c:0x26,_0x56db9e:0x34,_0x2774f4:0x428,_0x15adb9:0x29e,_0x8b1a38:0x192,_0x470521:0x452,_0x4c5964:0x1ee,_0x2c5404:0x36e,_0x19c707:0x320,_0x81ab7c:0xb2,_0x4619f6:0x338,_0x3f8a2f:0x12f,_0x12445c:0x135,_0x47dde4:0xe,_0x5100d7:0xcd,_0x3013e7:0x36b,_0x594363:0x7b,_0x5f67c0:0xf4,_0xbd935d:0x89,_0x18264c:0x11a,_0x4efc91:0x11c,_0x234aa7:0x49e,_0x348af0:0xae},_0x61ca89={_0x21556e:0x36f},_0x69d772={'XxJgG':function(_0x60bb2a){return _0x60bb2a();},'OSBfb':_0x1beea9(-0x1a,-0x2c)+_0x1beea9(0x388,_0x4fbf6a._0x29147d),'AhRhu':function(_0x39b786,_0x8b1748,_0x4bf2cc){return _0x39b786(_0x8b1748,_0x4bf2cc);},'KBdUF':function(_0x2fab77,_0x28ef4b){return _0x2fab77(_0x28ef4b);}},_0x4d79c3=normalizeHttpBase(_0x457dc1[_0x5bec75(_0x4fbf6a._0x2817a6,0x276)+'l']),_0x5ee300=_0x69d772[_0x1beea9(_0x4fbf6a._0x3c9b64,_0x4fbf6a._0x245900)](readPairingConfig),_0x32efbf=assessPairingCompatibility(_0x5ee300,_0x4d79c3);if(_0x32efbf===_0x5bec75(_0x4fbf6a._0x528dff,_0x4fbf6a._0x2db7e8)+_0x5bec75(0x5e8,_0x4fbf6a._0x125366)&&_0x5ee300){const _0xedaeba={};return _0xedaeba['serverUr'+'l']=_0x5ee300['serverUr'+'l'],_0xedaeba['gatewayI'+'d']=_0x5ee300[_0x5bec75(_0x4fbf6a._0xa73b03,0x265)+'d'],_0xedaeba[_0x5bec75(_0x4fbf6a._0x31ac0d,0x2c2)+_0x1beea9(_0x4fbf6a._0x1147ac,0x60)]=_0x5ee300[_0x1beea9(0x15,_0x4fbf6a._0x499901)+_0x5bec75(_0x4fbf6a._0x4e4f7b,_0x4fbf6a._0x2d7160)],_0xedaeba[_0x5bec75(_0x4fbf6a._0x4f835f,0x18e)+'ame']=_0x457dc1[_0x1beea9(0x164,-0xf4)+_0x1beea9(0x116,_0x4fbf6a._0x5b855b)],_0xedaeba[_0x1beea9(-_0x4fbf6a._0x41c42e,_0x4fbf6a._0xdd5dc6)+_0x5bec75(_0x4fbf6a._0xa1380,0x60)]=_0x457dc1[_0x5bec75(0x2d5,0x2b7)+_0x5bec75(0xed,0x289)],_0xedaeba[_0x1beea9(0x168,_0x4fbf6a._0xe69ec8)+_0x5bec75(_0x4fbf6a._0x136a4b,-0x4f)]=_0x457dc1[_0x5bec75(_0x4fbf6a._0x341020,0x3fe)+_0x1beea9(-_0x4fbf6a._0x271e14,-_0x4fbf6a._0x46d27a)],refreshAccessCode(_0xedaeba);}if(_0x32efbf===_0x1beea9(_0x4fbf6a._0x583943,0x68)+_0x1beea9(_0x4fbf6a._0x39a46b,0x262))throw new Error(_0x5bec75(_0x4fbf6a._0x16990f,_0x4fbf6a._0x369a88)+_0x1beea9(0x43c,0x39b)+_0x1beea9(0x566,_0x4fbf6a._0x3864cd)+_0x1beea9(-0x188,0xb)+_0x5bec75(0x564,_0x4fbf6a._0x5f512d)+_0x5ee300?.[_0x1beea9(-0x126,0xcc)+'l']+('.\x20Run\x20\x22c'+_0x1beea9(0x3c5,0x13a)+'eset\x22\x20be'+_0x5bec75(0x410,_0x4fbf6a._0x1f99d2)+'ring\x20wit'+_0x5bec75(_0x4fbf6a._0x11da81,0x345)+_0x5bec75(_0x4fbf6a._0x2b8e33,0x3d0)+_0x1beea9(_0x4fbf6a._0x48bd6c,_0x4fbf6a._0x4a7553)));const _0x47622b={};_0x47622b[_0x1beea9(0x227,0x109)+_0x5bec75(0x25c,0x354)]=_0x5bec75(0x194,0x267)+'ion/json',_0x47622b['accept']=_0x69d772['OSBfb'];function _0x1beea9(_0x468c4d,_0x50ebeb){return _0x9d3486(_0x468c4d,_0x50ebeb- -0x52f);}function _0x5bec75(_0x56a453,_0xb2a2b9){return _0x9d3486(_0xb2a2b9,_0x56a453- -_0x61ca89._0x21556e);}const _0x594fd8=await postJsonWithCloudflareFallback(_0x4d79c3+(_0x1beea9(_0x4fbf6a._0x1cb3da,0x180)+_0x5bec75(_0x4fbf6a._0x10811c,_0x4fbf6a._0x26d565)+'r'),{'method':_0x1beea9(_0x4fbf6a._0x56e64b,_0x4fbf6a._0x577610),'headers':_0x47622b,'body':JSON[_0x5bec75(_0x4fbf6a._0x1c9426,0x503)+'y']({'displayName':_0x457dc1[_0x1beea9(-0xb0,-_0x4fbf6a._0x2db7e8)+_0x5bec75(_0x4fbf6a._0x52b021,_0x4fbf6a._0x47be60)]?.[_0x1beea9(-_0x4fbf6a._0x5cf46f,_0x4fbf6a._0x539127)]()||null})});if(!_0x594fd8['response']['ok'])throw await _0x69d772[_0x5bec75(0xcf,-_0x4fbf6a._0x507095)](buildPairingRequestError,_0x1beea9(0x248,_0x4fbf6a._0x299d6f)+_0x1beea9(-_0x4fbf6a._0x57d32c,-_0x4fbf6a._0x56db9e),_0x594fd8);const _0xd413d8=await _0x594fd8[_0x1beea9(_0x4fbf6a._0x2774f4,_0x4fbf6a._0x15adb9)][_0x1beea9(_0x4fbf6a._0x8b1a38,0xa4)](),_0x17a2c2=new Date()[_0x5bec75(_0x4fbf6a._0x470521,0x6bb)+_0x5bec75(0x142,0x25b)](),_0x1d916e={'serverUrl':_0x4d79c3,'gatewayId':_0xd413d8[_0x1beea9(0x46f,_0x4fbf6a._0x4c5964)+'d'],'relaySecret':_0xd413d8[_0x5bec75(_0x4fbf6a._0x2c5404,_0x4fbf6a._0x19c707)+'ret'],'relayUrl':_0xd413d8['relayUrl'],'instanceId':_0x5ee300?.[_0x5bec75(0x590,0x3fe)+'Id']??'inst-'+_0xd413d8[_0x1beea9(_0x4fbf6a._0x81ab7c,_0x4fbf6a._0x4c5964)+'d'][_0x5bec75(0x237,_0x4fbf6a._0x4619f6)](-0xa),'displayName':_0xd413d8['displayN'+_0x5bec75(0x2c7,0x125)],'createdAt':_0x17a2c2,'updatedAt':_0x17a2c2};return _0x69d772['KBdUF'](writePairingConfig,_0x1d916e),{'config':_0x1d916e,'accessCode':_0xd413d8[_0x1beea9(-_0x4fbf6a._0x5cf46f,_0x4fbf6a._0x3f8a2f)+'de'],'accessCodeExpiresAt':_0xd413d8[_0x1beea9(_0x4fbf6a._0x12445c,_0x4fbf6a._0x3f8a2f)+'deExpire'+_0x1beea9(0x5e9,0x3e9)],'action':'register'+'ed','qrPayload':_0x69d772[_0x1beea9(_0x4fbf6a._0x47dde4,_0x4fbf6a._0x5100d7)](buildPairingQrPayload,{'server':_0x4d79c3,'gatewayId':_0xd413d8[_0x5bec75(_0x4fbf6a._0xa73b03,_0x4fbf6a._0x3013e7)+'d'],'accessCode':_0xd413d8[_0x1beea9(0x18f,0x12f)+'de'],'displayName':_0xd413d8[_0x1beea9(-_0x4fbf6a._0x594363,-_0x4fbf6a._0x5f67c0)+_0x1beea9(0x80,0x107)],'token':_0x457dc1['gatewayT'+_0x1beea9(-_0x4fbf6a._0xbd935d,-0xd3)]?.[_0x1beea9(_0x4fbf6a._0x18264c,_0x4fbf6a._0x4efc91)]()||null,'password':_0x457dc1[_0x5bec75(_0x4fbf6a._0x341020,_0x4fbf6a._0x234aa7)+_0x5bec75(0x162,-_0x4fbf6a._0x348af0)]?.[_0x1beea9(-0x3b,0x11c)]()||null})};}async function refreshAccessCode(_0x428b2b){const _0x400a0a={_0x3fa3ac:0x180,_0x69068:0x18,_0x7b0c6c:0x9b,_0x44da9e:0x553,_0x36384:0x72d,_0x18e6a4:0x476,_0x57b594:0x213,_0x4d2227:0x1bf,_0x37d715:0x2ae,_0x474978:0x2e1,_0x446da5:0x1b7,_0x46dd49:0x387,_0x1a0f23:0x2a1,_0x2ae8eb:0x2b4,_0x3c6583:0xec,_0x21ad6f:0x1b5,_0x29ab20:0x513,_0x6d789b:0x570,_0x1c5665:0x800,_0x4c3b91:0x308,_0x4b999a:0x535,_0x14cb03:0x260,_0x5638b2:0x3d2,_0x409084:0x182,_0x244853:0x188,_0x2e1f74:0x30a,_0x4d1c64:0x4ee,_0x283afc:0x680,_0x5ac3f9:0x3e9,_0x5ca1cf:0x2ca,_0xb0da6:0x1,_0x5a9ce6:0x247,_0x3dc996:0x20f,_0x516cb8:0x9e,_0x346bff:0x57d,_0x24a6ed:0x622,_0x36287b:0xc1,_0x3abed0:0x32f,_0x90ecdc:0x43,_0x3e4d22:0x3a4,_0x57e675:0x67,_0x59a63a:0x540,_0x1bf324:0x59a,_0x50a44b:0xe1,_0x3f1fcd:0xde},_0x2b4f8e={_0x3eab69:0x1bc},_0x4a433c={_0x2e1a75:0x158},_0x1cb25b={};_0x1cb25b[_0x543805(0x541,0x369)]='POST';function _0x543805(_0x122aa3,_0x54a876){return _0x18e10d(_0x54a876,_0x122aa3- -_0x4a433c._0x2e1a75);}_0x1cb25b[_0x41e2a6(0x2c2,_0x400a0a._0x3fa3ac)]=_0x41e2a6(_0x400a0a._0x69068,-_0x400a0a._0x7b0c6c)+_0x543805(_0x400a0a._0x44da9e,_0x400a0a._0x36384)+_0x41e2a6(0x3e3,_0x400a0a._0x18e6a4),_0x1cb25b[_0x41e2a6(_0x400a0a._0x57b594,0x296)]=_0x543805(0x54e,0x6d7)+'d';const _0x536a69=_0x1cb25b;function _0x41e2a6(_0x1571ce,_0x5a00f3){return _0x18e10d(_0x5a00f3,_0x1571ce- -_0x2b4f8e._0x3eab69);}const _0x216e5d=readPairingConfig(),_0x571b44=normalizeHttpBase(_0x428b2b?.['serverUr'+'l']??_0x216e5d?.[_0x41e2a6(_0x400a0a._0x4d2227,_0x400a0a._0x37d715)+'l']??''),_0x1cec34=_0x428b2b?.['gatewayI'+'d']??_0x216e5d?.[_0x41e2a6(_0x400a0a._0x474978,0xbe)+'d']??'',_0x3da65a=_0x428b2b?.['relaySec'+_0x543805(_0x400a0a._0x446da5,_0x400a0a._0x46dd49)]??_0x216e5d?.[_0x41e2a6(_0x400a0a._0x1a0f23,_0x400a0a._0x2ae8eb)+_0x543805(_0x400a0a._0x446da5,0x135)]??'';if(!_0x571b44||!_0x1cec34||!_0x3da65a)throw new Error(_0x543805(_0x400a0a._0x3c6583,_0x400a0a._0x21ad6f)+_0x41e2a6(0x4bc,_0x400a0a._0x29ab20)+_0x543805(_0x400a0a._0x6d789b,_0x400a0a._0x1c5665)+_0x41e2a6(_0x400a0a._0x4c3b91,0x4bc)+_0x543805(_0x400a0a._0x4b999a,0x4ba)+'.');const _0x2703d1={};_0x2703d1[_0x543805(_0x400a0a._0x14cb03,_0x400a0a._0x5638b2)+'type']=_0x543805(0x12b,0x1e5)+_0x543805(0x35b,_0x400a0a._0x409084),_0x2703d1[_0x41e2a6(0x1ed,_0x400a0a._0x244853)]='applicat'+_0x41e2a6(0x2f7,_0x400a0a._0x2e1f74);const _0x20219f=await postJsonWithCloudflareFallback(_0x571b44+('/v1/pair'+_0x41e2a6(0x23a,0x2f3)+_0x543805(0x544,_0x400a0a._0x4d1c64)),{'method':_0x536a69[_0x543805(0x541,_0x400a0a._0x283afc)],'headers':_0x2703d1,'body':JSON[_0x41e2a6(_0x400a0a._0x5ac3f9,_0x400a0a._0x5ca1cf)+'y']({'gatewayId':_0x1cec34,'relaySecret':_0x3da65a,'displayName':_0x428b2b?.[_0x41e2a6(-_0x400a0a._0xb0da6,-_0x400a0a._0x5a9ce6)+_0x543805(0x25e,0x63)]?.[_0x41e2a6(_0x400a0a._0x3dc996,_0x400a0a._0x516cb8)]()||void 0x0})});if(!_0x20219f[_0x41e2a6(0x391,_0x400a0a._0x346bff)]['ok'])throw await buildPairingRequestError(_0x536a69['VQcai'],_0x20219f);const _0x5836b4=await _0x20219f['response']['json'](),_0x28621d={'serverUrl':_0x571b44,'gatewayId':_0x5836b4['gatewayI'+'d'],'relaySecret':_0x3da65a,'relayUrl':_0x5836b4['relayUrl'],'instanceId':_0x216e5d?.[_0x543805(0x527,_0x400a0a._0x24a6ed)+'Id']??'inst-'+_0x5836b4[_0x41e2a6(_0x400a0a._0x474978,_0x400a0a._0x36287b)+'d'][_0x41e2a6(0x16a,_0x400a0a._0x3abed0)](-0xa),'displayName':_0x5836b4['displayN'+_0x41e2a6(0x1fa,0x1d1)],'createdAt':_0x216e5d?.[_0x543805(0x2c1,0x4d1)+'t']??new Date()[_0x41e2a6(0x385,0x529)+_0x41e2a6(0x75,-_0x400a0a._0x90ecdc)](),'updatedAt':new Date()['toISOStr'+'ing']()};return writePairingConfig(_0x28621d),{'config':_0x28621d,'accessCode':_0x5836b4['accessCo'+'de'],'accessCodeExpiresAt':_0x5836b4[_0x41e2a6(0x222,_0x400a0a._0x3e4d22)+_0x41e2a6(0x239,_0x400a0a._0x57e675)+_0x543805(_0x400a0a._0x59a63a,0x39d)],'action':_0x536a69[_0x543805(0x277,0x1e)],'qrPayload':buildPairingQrPayload({'server':_0x571b44,'gatewayId':_0x5836b4[_0x543805(0x345,_0x400a0a._0x1bf324)+'d'],'accessCode':_0x5836b4[_0x41e2a6(0x222,0x1c0)+'de'],'displayName':_0x5836b4[_0x543805(0x63,-_0x400a0a._0x50a44b)+_0x543805(0x25e,0x279)],'token':_0x428b2b?.[_0x41e2a6(0x208,_0x400a0a._0x3f1fcd)+_0x543805(0x84,0xd5)]?.['trim']()||null,'password':_0x428b2b?.[_0x543805(0x27b,0x12e)+_0x41e2a6(0x95,0x283)]?.[_0x41e2a6(_0x400a0a._0x3dc996,0x3bd)]()||null})};}function normalizeHttpBase(_0x2010f9){const _0x4e2470={_0x1d05c1:0x6b,_0x3d2017:0x1df,_0x136d08:0x27d,_0x4ca35b:0x216,_0x1b60a4:0x4f5,_0x571f84:0x3b4,_0xae243a:0x1fc,_0x5add40:0x73,_0x524e38:0x44b,_0x32e0ab:0x151,_0x53af9d:0x2d8,_0x3d5985:0x125,_0x504b81:0x23e,_0x15ae9b:0x47d,_0x12ecd8:0x168,_0x25caa8:0xf5,_0x5aa6d2:0x28,_0x5b04b0:0x215},_0x282a28={_0x48105b:0x4df},_0x448401={_0x13f3f6:0x69b},_0x1aeaa2={};_0x1aeaa2['CEmvb']=_0x3f05df(-0x129,_0x4e2470._0x1d05c1),_0x1aeaa2['zGLMa']='wss://';const _0x590413=_0x1aeaa2,_0x46387a=_0x2010f9[_0xb96b02(-_0x4e2470._0x3d2017,-0x50)]();function _0xb96b02(_0x2e7778,_0x4d798a){return _0x9d3486(_0x2e7778,_0x4d798a- -_0x448401._0x13f3f6);}if(!_0x46387a)return'';if(_0x46387a[_0x3f05df(0x284,0x3b4)+'th'](_0x590413[_0xb96b02(_0x4e2470._0x136d08,_0x4e2470._0x4ca35b)])||_0x46387a[_0x3f05df(_0x4e2470._0x1b60a4,_0x4e2470._0x571f84)+'th'](_0x3f05df(0x589,0x47d)))return _0x46387a[_0xb96b02(-_0x4e2470._0xae243a,_0x4e2470._0x5add40)](/\/+$/,'');if(_0x46387a['startsWi'+'th'](_0xb96b02(_0x4e2470._0x524e38,0x261)))return(_0xb96b02(-0x8e,-_0x4e2470._0x32e0ab)+_0x46387a['slice']('ws://'['length']))[_0xb96b02(_0x4e2470._0x53af9d,0x73)](/\/+$/,'');if(_0x46387a[_0xb96b02(_0x4e2470._0x3d5985,0x1f8)+'th'](_0xb96b02(-0x457,-_0x4e2470._0x504b81)))return(_0x3f05df(0x518,_0x4e2470._0x15ae9b)+_0x46387a[_0xb96b02(_0x4e2470._0x12ecd8,-_0x4e2470._0x25caa8)](_0x590413[_0xb96b02(-0x1f1,-0x183)][_0xb96b02(0x5e,-0x102)]))[_0xb96b02(_0x4e2470._0x5aa6d2,_0x4e2470._0x5add40)](/\/+$/,'');function _0x3f05df(_0x3ddd2a,_0x17beec){return _0x9d3486(_0x3ddd2a,_0x17beec- -_0x282a28._0x48105b);}return('https://'+_0x46387a)[_0x3f05df(_0x4e2470._0x5b04b0,0x22f)](/\/+$/,'');}function assessPairingCompatibility(_0x44b0c1,_0xa1446f){const _0x13e8a0={_0x268709:0x10a,_0x5a5a13:0x209,_0x1b1a30:0x21c,_0x30e36d:0x92,_0x4ba31e:0x36c,_0x1087c0:0x1ac,_0x45c9ca:0x24d,_0x59322a:0x28d};function _0x27cf82(_0x55c3a0,_0x57bcf3){return _0x9d3486(_0x55c3a0,_0x57bcf3- -0x34a);}const _0x397cea={};_0x397cea['XnfEa']=function(_0x32c65a,_0x3f98c7){return _0x32c65a===_0x3f98c7;},_0x397cea[_0x27cf82(_0x13e8a0._0x268709,0x36c)]='refresh-'+_0x27cf82(0x518,0x60d);function _0x3b4250(_0x5a4182,_0x29a486){return _0x9d3486(_0x5a4182,_0x29a486- -0x6d8);}const _0x1a45e4=_0x397cea;if(!_0x44b0c1)return _0x27cf82(0x4d2,0x5ed)+_0x3b4250(_0x13e8a0._0x5a5a13,-0x19);if(_0x1a45e4[_0x3b4250(-0x47a,-_0x13e8a0._0x1b1a30)](_0x44b0c1[_0x3b4250(_0x13e8a0._0x30e36d,-0xdd)+'l'],_0xa1446f))return _0x1a45e4[_0x27cf82(0x545,_0x13e8a0._0x4ba31e)];return _0x27cf82(_0x13e8a0._0x1087c0,_0x13e8a0._0x45c9ca)+_0x3b4250(_0x13e8a0._0x59322a,0xb9);}async function postJsonWithCloudflareFallback(_0x14c53e,_0x547ba8){const _0x2407f3={_0x42b067:0x643,_0x15ea51:0x7ce,_0x32d3de:0x7c6};function _0x1609cd(_0xe49b5c,_0x4eacd0){return _0x9d3486(_0x4eacd0,_0xe49b5c-0x12);}const _0x4d0339=await fetch(_0x14c53e,_0x547ba8),_0x7af7fe=resolveCloudflareChallengeFallbackUrl(_0x14c53e,_0x4d0339);if(!_0x7af7fe){const _0x440ef5={};return _0x440ef5[_0x565705(0x890,_0x2407f3._0x42b067)]=_0x4d0339,_0x440ef5[_0x565705(_0x2407f3._0x15ea51,0x70c)+'dUrl']=_0x14c53e,_0x440ef5['fallback'+_0x565705(0x665,_0x2407f3._0x32d3de)]=null,_0x440ef5;}function _0x565705(_0x2c5642,_0x14ab45){return _0x9d3486(_0x2c5642,_0x14ab45- -0x18a);}return{'response':await fetch(_0x7af7fe,_0x547ba8),'attemptedUrl':_0x14c53e,'fallbackUrl':_0x7af7fe};}async function buildPairingRequestError(_0x1a0002,_0x35f468){const _0x3834ba={_0x44cd7a:0x5c6,_0xd35d8a:0x4d4,_0x2bcb3e:0x10,_0x59af84:0x5df,_0x45114b:0x2dd,_0x2f2c1c:0x6b2,_0x2231e5:0x2d3,_0x40e499:0x53d,_0x8cc857:0x5d1,_0x10f073:0x476,_0x4c7817:0x4d0,_0x2ebd98:0x511,_0x4416a2:0x65d,_0x3c8864:0x851,_0x73dd4d:0x5da,_0x12ba3c:0x7e3,_0x40c49a:0x7e9,_0x262a7e:0x3b8,_0x1f1f82:0x344,_0x2dd12e:0x4b8,_0x10e02f:0x759,_0x2d4af0:0x239,_0x41cf92:0x364,_0x19b487:0x71d,_0x1ba73d:0x29b,_0x304d52:0x24e,_0x3baa1e:0x494,_0xb4501d:0x2eb,_0xcdd618:0x28c,_0x134787:0x502,_0x19a78b:0x1bc,_0x58a6f1:0x4d5,_0x2851ee:0x191,_0x564d41:0x40c,_0x50925e:0x3d,_0x8d7b01:0x65d,_0x939cd8:0x702,_0x5669d4:0x55b},_0xf933ac={_0x37ce30:0x3c1};function _0x17f85c(_0x423c39,_0x22cf4b){return _0x9d3486(_0x22cf4b,_0x423c39- -0x170);}function _0x430151(_0x4f8c4b,_0x50a404){return _0x9d3486(_0x4f8c4b,_0x50a404- -_0xf933ac._0x37ce30);}if(isCloudflareChallengeResponse(_0x35f468[_0x17f85c(0x65d,_0x3834ba._0x44cd7a)])){const _0x2abccf=new URL(_0x35f468[_0x17f85c(0x2dd,_0x3834ba._0xd35d8a)+_0x17f85c(0x7e0,0x699)]??_0x35f468[_0x430151(0x63c,0x4d5)+_0x430151(-_0x3834ba._0x2bcb3e,0x10f)])[_0x17f85c(0x38f,_0x3834ba._0x59af84)],_0x8ff219=_0x35f468[_0x17f85c(_0x3834ba._0x45114b,0x1b0)+_0x430151(_0x3834ba._0x2f2c1c,0x58f)]?_0x17f85c(_0x3834ba._0x2231e5,_0x3834ba._0x40e499)+_0x17f85c(_0x3834ba._0x8cc857,0x3ff)+_0x430151(_0x3834ba._0x10f073,0x4ae)+_0x35f468['fallback'+'Url']+(_0x17f85c(_0x3834ba._0x4c7817,_0x3834ba._0x2ebd98)+'t\x20a\x20Clou'+'dflare\x20c'+_0x430151(0x362,0x190)+'.'):'';return new Error(_0x1a0002+('\x20failed\x20'+'(')+_0x35f468[_0x17f85c(_0x3834ba._0x4416a2,_0x3834ba._0x3c8864)][_0x17f85c(_0x3834ba._0x73dd4d,_0x3834ba._0x12ba3c)]+(_0x17f85c(_0x3834ba._0x40c49a,0x716)+'flare\x20ch'+_0x430151(0x162,_0x3834ba._0x262a7e)+_0x17f85c(_0x3834ba._0x1f1f82,_0x3834ba._0x2dd12e)+_0x430151(0x329,0x466)+_0x17f85c(0x7a5,_0x3834ba._0x10e02f)+_0x430151(_0x3834ba._0x2d4af0,_0x3834ba._0x41cf92))+_0x2abccf+'.'+_0x8ff219+(_0x17f85c(0x6f2,_0x3834ba._0x19b487)+_0x430151(_0x3834ba._0x1ba73d,_0x3834ba._0x304d52)+_0x17f85c(0x2cd,0x113)+'network\x20'+_0x17f85c(0x41d,_0x3834ba._0x3baa1e)+_0x430151(0x524,_0x3834ba._0xb4501d)+_0x17f85c(0x480,_0x3834ba._0xcdd618)+_0x430151(_0x3834ba._0x134787,0x47e)+'does\x20not'+_0x430151(0xc9,_0x3834ba._0x19a78b)+_0x17f85c(0x748,_0x3834ba._0x58a6f1)+'\x20verific'+_0x17f85c(0x3e6,_0x3834ba._0x2851ee)));}return new Error(_0x1a0002+(_0x430151(-0xa5,0x118)+'(')+_0x35f468[_0x430151(0x559,_0x3834ba._0x564d41)][_0x430151(0x325,0x389)]+_0x430151(_0x3834ba._0x50925e,0x2b7)+summarizeFailedResponse(await _0x35f468[_0x17f85c(_0x3834ba._0x8d7b01,0x65c)][_0x17f85c(_0x3834ba._0x939cd8,_0x3834ba._0x5669d4)]()));}function isCloudflareChallengeResponse(_0x4aef66){const _0x5171b0={_0x4cf14a:0x6de,_0x44f904:0x4eb,_0x43294f:0x604,_0x3de5d:0x4f7,_0x3349b3:0x521,_0x1a2f15:0x4b5,_0x1bcc32:0x596,_0x36a0ba:0x533,_0x568c61:0x3de},_0xf8f26c={_0x22579f:0x109};function _0x574b15(_0x2d0317,_0x266eb0){return _0x18e10d(_0x2d0317,_0x266eb0- -_0xf8f26c._0x22579f);}function _0x27bdbd(_0x301d9e,_0x5c3b2d){return _0x18e10d(_0x5c3b2d,_0x301d9e-0x57);}const _0x3e8b79={};_0x3e8b79[_0x27bdbd(_0x5171b0._0x4cf14a,0x629)]=_0x27bdbd(0x4a2,_0x5171b0._0x44f904)+_0x574b15(_0x5171b0._0x43294f,_0x5171b0._0x3de5d);const _0x558d9d=_0x3e8b79;return _0x4aef66[_0x27bdbd(_0x5171b0._0x3349b3,0x405)]===0x193&&_0x4aef66[_0x27bdbd(_0x5171b0._0x1a2f15,0x5fd)][_0x574b15(_0x5171b0._0x1bcc32,_0x5171b0._0x36a0ba)](_0x558d9d[_0x574b15(0x367,0x57e)])?.['trim']()[_0x574b15(0xe3,0x362)+_0x27bdbd(_0x5171b0._0x568c61,0x1bb)]()===_0x574b15(0x376,0x451)+'e';}function resolveCloudflareChallengeFallbackUrl(_0x25d9e3,_0x1fafec){const _0x4220c9={_0x4f3ab5:0x165,_0x2d0744:0x593,_0x3a8ff4:0x932,_0x1cef9e:0x4d8},_0x3cda8c={_0x2fa671:0x69f};function _0x107e33(_0x2c7c03,_0x4bbfd7){return _0x9d3486(_0x4bbfd7,_0x2c7c03- -_0x3cda8c._0x2fa671);}const _0x416aa={'wiUhD':function(_0x2d058b,_0x21d333){return _0x2d058b(_0x21d333);}};if(!_0x416aa[_0x107e33(0x281,_0x4220c9._0x4f3ab5)](isCloudflareChallengeResponse,_0x1fafec))return null;const _0x323b98=new URL(_0x25d9e3);if(_0x323b98[_0x134eae(_0x4220c9._0x2d0744,0x53a)]!==DEFAULT_REGISTRY_BASE)return null;function _0x134eae(_0x1b89b5,_0x2fcef8){return _0x9d3486(_0x2fcef8,_0x1b89b5-0x94);}return''+DEFAULT_REGISTRY_FALLBACK_BASE+_0x323b98[_0x134eae(0x95b,_0x4220c9._0x3a8ff4)]+_0x323b98[_0x134eae(0x5f2,_0x4220c9._0x1cef9e)];}function summarizeFailedResponse(_0x59bb8f){const _0x35f5ef={_0x3418f1:0x507,_0x7444ae:0x774,_0x470dc7:0x8be},_0x2c5bde={_0x248843:0xbb},_0x41ff57={_0x31f492:0xb3};function _0x4bf487(_0x270946,_0x44c0e9){return _0x9d3486(_0x270946,_0x44c0e9-_0x41ff57._0x31f492);}const _0x28e0c2=_0x59bb8f[_0x5667db(0x7c9,0x962)](/\s+/g,'\x20')[_0x5667db(0x706,0x611)]();if(!_0x28e0c2)return _0x5667db(_0x35f5ef._0x3418f1,0x647)+_0x4bf487(0x7c3,0x605)+_0x5667db(_0x35f5ef._0x7444ae,0x663);if(_0x28e0c2[_0x4bf487(0x667,0x64c)]<=0xf0)return _0x28e0c2;function _0x5667db(_0x67c3d4,_0x31d690){return _0x9d3486(_0x31d690,_0x67c3d4-_0x2c5bde._0x248843);}return _0x28e0c2['slice'](0x0,0xed)+_0x5667db(0x784,_0x35f5ef._0x470dc7);}import{execFileSync,spawn}from'child_process';import{chmodSync,closeSync,existsSync as _0x24df45,mkdirSync as _0x482d5c,openSync,readFileSync as _0x47850b,realpathSync,rmSync as _0x2b3275,writeFileSync as _0xa7d1eb}from'fs';import{homedir as _0x2b8b94}from'os';import{dirname,join as _0x3e515b}from'path';import{setTimeout as _0xb1e136}from'timers/promises';var SERVICE_LABEL=_0x9d3486(0x74a,0x8af)+_0x9d3486(0x5e8,0x616)+_0x9d3486(0x46a,0x6aa),SYSTEMD_UNIT_NAME=SERVICE_LABEL+'.service',WINDOWS_RUN_KEY='ClawketB'+_0x9d3486(0x868,0x761),SERVICE_DIR=_0x3e515b(_0x2b8b94(),_0x18e10d(0x137,0x2cd)),LOG_DIR=_0x3e515b(SERVICE_DIR,_0x9d3486(0x970,0x841)),SERVICE_STATE_PATH=_0x3e515b(SERVICE_DIR,_0x9d3486(0x758,0x4ed)+_0x9d3486(0x6f5,0x89d)+_0x9d3486(0x541,0x446)),RUNTIME_REGISTRY_PATH=_0x3e515b(SERVICE_DIR,_0x9d3486(0x746,0x661)+_0x9d3486(0x7e1,0x56c)+_0x18e10d(0x33a,0x410)+_0x18e10d(0x4b6,0x533)),SERVICE_LAUNCHER_PATH=_0x3e515b(SERVICE_DIR,_0x18e10d(0x451,0x26d)+_0x18e10d(0x4c9,0x310)+'auncher.'+'sh'),LINUX_CRON_RECORD_PATH=_0x3e515b(SERVICE_DIR,_0x18e10d(0x303,0x26d)+_0x9d3486(0x924,0x8da)+_0x18e10d(0xf0,0x365)),SERVICE_LOG_PATH=_0x3e515b(LOG_DIR,_0x9d3486(0x3a3,0x507)+'li.log'),SERVICE_ERROR_LOG_PATH=_0x3e515b(LOG_DIR,'bridge-c'+_0x18e10d(0x35b,0x266)+_0x18e10d(0x408,0x386)),MACOS_PLIST_PATH=_0x3e515b(_0x2b8b94(),_0x9d3486(0x6bd,0x4a2),_0x18e10d(0x586,0x431)+_0x18e10d(0x1ab,0x1fc),SERVICE_LABEL+_0x18e10d(0x246,0x4c8)),LINUX_SERVICE_PATH=_0x3e515b(_0x2b8b94(),_0x18e10d(0x857,0x6b0),_0x18e10d(0x8ba,0x65d),_0x9d3486(0x643,0x71b),SYSTEMD_UNIT_NAME),LINUX_CRON_MARKER=_0x18e10d(0x8cd,0x6cf)+'t-bridge'+_0x9d3486(0x748,0x833);function getServiceProgramArgs(_0x568a29={},_0x422307=process[_0x9d3486(0x93f,0x762)]){const _0x44f729={_0x59f01:0x1d7,_0x336aba:0x2c5,_0xf17862:0x629,_0x1eb082:0x55f,_0x175622:0x4d1,_0x5decf1:0x122,_0x4085c7:0x39b,_0x5f5383:0x48c,_0x158568:0x52c,_0x236270:0x3df,_0x25e4df:0x415,_0x2c0cd5:0x639,_0x4cd215:0x5f7,_0x513abd:0x49a,_0x7c02:0x4d6},_0x49f53a={_0x464cf2:0x386},_0x7f2dd1={'GyJYZ':function(_0x46c345,_0x492470){return _0x46c345(_0x492470);},'mIJnJ':function(_0x57abc8,_0x39a996){return _0x57abc8!==_0x39a996;}},_0x3c3134=_0x568a29[_0x5cf9c9(0x3b3,0x415)]?.[_0x5cf9c9(_0x44f729._0x59f01,_0x44f729._0x336aba)]()||process['execPath'];function _0x5cf9c9(_0x2fa728,_0x232f6a){return _0x9d3486(_0x2fa728,_0x232f6a- -_0x49f53a._0x464cf2);}const _0x28e49a=_0x7f2dd1[_0x5cf9c9(0x435,0x392)](resolveScriptPath,_0x568a29[_0x3919e7(0x4a1,_0x44f729._0xf17862)+'th']);function _0x3919e7(_0x527ccf,_0x40f419){return _0x9d3486(_0x527ccf,_0x40f419- -0x30d);}if(!_0x28e49a)throw new Error(_0x3919e7(0x41a,_0x44f729._0x1eb082)+_0x3919e7(0x410,0x457)+_0x5cf9c9(_0x44f729._0x175622,0x5bb)+_0x5cf9c9(0x2b2,0x2e5)+_0x5cf9c9(_0x44f729._0x5decf1,0x398)+_0x5cf9c9(0x7b9,0x53a)+_0x3919e7(_0x44f729._0x4085c7,_0x44f729._0x5f5383)+_0x3919e7(0x314,_0x44f729._0x158568));if(_0x7f2dd1[_0x5cf9c9(0x177,0x2c4)](_0x422307,_0x5cf9c9(0x4c4,_0x44f729._0x236270))){const _0x3471ea={};_0x3471ea[_0x5cf9c9(0x364,_0x44f729._0x25e4df)]=_0x3c3134,_0x3471ea['scriptPa'+'th']=_0x28e49a,_0x3471ea[_0x3919e7(_0x44f729._0x2c0cd5,_0x44f729._0x4cd215)]=process.env.PATH??'';const _0x586d5f=writeServiceLauncher(_0x3471ea);return ensureLaunchScriptExecutable(_0x586d5f,_0x422307),[_0x586d5f];}return[_0x3c3134,_0x28e49a,_0x5cf9c9(0x4f7,_0x44f729._0x513abd),_0x3919e7(_0x44f729._0x7c02,0x572)+'e'];}function getServiceStatus(){const _0x35f9e8={_0x391ed2:0x7fe,_0x2e363d:0x283,_0x5478b4:0x498,_0x2e400b:0x2db,_0x1bdea2:0x2fe,_0x5e045c:0x53b,_0x22f319:0x31d,_0x549fe4:0x4f0,_0x5726b0:0x26c,_0x2e793d:0x1e,_0x4a64bf:0x251,_0x5ced7d:0x390,_0x54b802:0x4ea,_0x2be2e9:0x2ca,_0xb89083:0x3cd,_0x148d0b:0x182,_0x263b04:0x343,_0x2faf4b:0x343,_0x2781a9:0x194,_0x1bcd03:0x1a5,_0x435251:0x147,_0x1b47bc:0x4c8,_0x50542d:0x4a1,_0x105ca7:0x53d,_0x404be0:0x2e5,_0x5f4cfa:0x35b,_0x3369b7:0x67b,_0x1b1821:0x3c6,_0x48028f:0x680,_0x1e5e93:0x70f,_0x71fd8d:0x59c},_0x148533={_0x16e70f:0x118};function _0x3b39ae(_0x42f4a2,_0x64aa23){return _0x18e10d(_0x42f4a2,_0x64aa23-0x1ca);}const _0x5bf31f={'pmdfW':function(_0x545267){return _0x545267();},'aVVtT':function(_0x28da66,_0x5b0374){return _0x28da66(_0x5b0374);},'jibxs':function(_0x530589,_0x5f5644){return _0x530589!=_0x5f5644;},'trXHE':function(_0x5434b5,_0x4c0223,_0x2d79ba){return _0x5434b5(_0x4c0223,_0x2d79ba);},'MXdnn':_0x53b551(0x3b8,0x4bf),'TihSc':_0x3b39ae(_0x35f9e8._0x391ed2,0x78a)};_0x5bf31f['pmdfW'](ensureServiceDirs);const _0x1dcc87=readServiceState()?.[_0x53b551(0xa9,0x283)]??null,_0x4a1a21=detectServiceMethod();function _0x53b551(_0x1b789c,_0x21514b){return _0x18e10d(_0x1b789c,_0x21514b- -_0x148533._0x16e70f);}const _0x4ffdd4={'installed':![],'running':_0x1dcc87!=null&&isPidRunning(_0x1dcc87),'method':_0x4a1a21,'servicePath':_0x5bf31f[_0x53b551(0x412,0x4f0)](getServicePath,_0x4a1a21),'logPath':SERVICE_LOG_PATH,'errorLogPath':SERVICE_ERROR_LOG_PATH,'pid':_0x1dcc87};_0x5bf31f[_0x3b39ae(0x7e8,0x76d)](_0x4ffdd4[_0x53b551(0x188,_0x35f9e8._0x2e363d)],null)&&!_0x4ffdd4[_0x3b39ae(0x388,0x533)]&&(clearServiceState(_0x4ffdd4['pid']),_0x4ffdd4[_0x53b551(_0x35f9e8._0x5478b4,0x283)]=null);switch(_0x4ffdd4[_0x53b551(0x3b2,_0x35f9e8._0x2e400b)]){case _0x3b39ae(_0x35f9e8._0x1bdea2,_0x35f9e8._0x5e045c)+'ent':_0x4ffdd4['installe'+'d']=_0x5bf31f[_0x53b551(_0x35f9e8._0x22f319,_0x35f9e8._0x549fe4)](_0x24df45,MACOS_PLIST_PATH);_0x4ffdd4[_0x53b551(_0x35f9e8._0x5726b0,0x343)+'d']&&(_0x4ffdd4[_0x53b551(_0x35f9e8._0x2e793d,_0x35f9e8._0x4a64bf)]=commandSucceeds(_0x3b39ae(_0x35f9e8._0x5ced7d,_0x35f9e8._0x54b802)+'l',[_0x53b551(0x3f2,_0x35f9e8._0x2be2e9),SERVICE_LABEL])||_0x4ffdd4[_0x3b39ae(_0x35f9e8._0xb89083,0x533)]);return _0x4ffdd4;case'systemd-'+'user':_0x4ffdd4[_0x53b551(_0x35f9e8._0x148d0b,_0x35f9e8._0x263b04)+'d']=_0x24df45(LINUX_SERVICE_PATH);_0x4ffdd4[_0x53b551(0x415,_0x35f9e8._0x2faf4b)+'d']&&(_0x4ffdd4[_0x53b551(_0x35f9e8._0x2781a9,0x251)]=_0x5bf31f[_0x53b551(_0x35f9e8._0x1bcd03,_0x35f9e8._0x435251)](commandSucceeds,_0x53b551(_0x35f9e8._0x1b47bc,0x583)+'l',[_0x5bf31f[_0x3b39ae(0x298,_0x35f9e8._0x50542d)],_0x53b551(_0x35f9e8._0x105ca7,_0x35f9e8._0x404be0)+'e',_0x5bf31f[_0x53b551(0x5cf,0x371)],SYSTEMD_UNIT_NAME])||_0x4ffdd4[_0x53b551(_0x35f9e8._0x5f4cfa,_0x35f9e8._0x4a64bf)]);return _0x4ffdd4;case _0x53b551(0x16d,0xc2)+'ontab':_0x4ffdd4['installe'+'d']=hasLinuxCronRegistration();return _0x4ffdd4;case _0x3b39ae(0x632,_0x35f9e8._0x3369b7)+_0x53b551(_0x35f9e8._0x1b1821,0x20f)+'stry':_0x4ffdd4[_0x3b39ae(0x3ca,0x625)+'d']=commandSucceeds(_0x3b39ae(0x432,0x5af),['query','HKCU\x5cSof'+'tware\x5cMi'+_0x53b551(_0x35f9e8._0x48028f,0x592)+_0x3b39ae(_0x35f9e8._0x1e5e93,0x7a2)+_0x53b551(0x404,_0x35f9e8._0x71fd8d)+'ersion\x5cR'+'un','/v',WINDOWS_RUN_KEY]);return _0x4ffdd4;default:return _0x4ffdd4;}}function installService(_0x5d8dbf={}){const _0x4c7ee3={_0x126b15:0x449,_0x367d66:0x375,_0x5649f6:0x577,_0x4c239c:0x3ce,_0x42a62a:0x84a,_0x2774dc:0x716,_0x223039:0x8f3,_0x3958c2:0x98e,_0x2668d1:0x5a0,_0x426491:0x562,_0xf622d8:0x6c8,_0xb67023:0x564,_0x1d41f3:0x57b,_0x3c3f3c:0x669,_0x7f5d8d:0x50c,_0x323308:0x626,_0x45cdf6:0x484,_0xcff261:0x62f,_0x3385fb:0x384,_0x18328d:0x5bc,_0x49a047:0x60f,_0xb9612d:0x52a,_0x21eabd:0x3fe,_0x46704c:0x3f3,_0x5d3176:0x62a,_0x405bad:0x68b,_0xca939b:0x7b5,_0x28ffea:0x63d},_0x48bc12={'LfYMW':function(_0x2ebfd,_0x3f49a3){return _0x2ebfd(_0x3f49a3);},'tqNoU':_0x472b7e(0x61b,0x4f0),'MKUNE':function(_0x4fad05,_0x12ad34,_0x215419,_0x3321a8){return _0x4fad05(_0x12ad34,_0x215419,_0x3321a8);},'SNNgc':_0x18975d(_0x4c7ee3._0x126b15,0x411),'mCURZ':function(_0x5e880e,_0x4966a7){return _0x5e880e(_0x4966a7);},'pJknN':_0x18975d(0x39b,_0x4c7ee3._0x367d66)+'tware\x5cMi'+'crosoft\x5c'+_0x18975d(_0x4c7ee3._0x5649f6,_0x4c7ee3._0x4c239c)+_0x472b7e(0xbc5,0x9b4)+'ersion\x5cR'+'un','gblPA':function(_0x1f2e66,_0x4fed75){return _0x1f2e66(_0x4fed75);}};ensureServiceDirs();function _0x472b7e(_0x383d18,_0x2d9e6c){return _0x18e10d(_0x383d18,_0x2d9e6c-0x300);}const _0x33cecc=_0x48bc12[_0x472b7e(0x94e,_0x4c7ee3._0x42a62a)](getServiceProgramArgs,_0x5d8dbf);switch(process['platform']){case _0x48bc12['tqNoU']:_0xa7d1eb(MACOS_PLIST_PATH,_0x48bc12[_0x472b7e(_0x4c7ee3._0x2774dc,0x5a7)](buildMacosPlist,_0x33cecc,SERVICE_LOG_PATH,SERVICE_ERROR_LOG_PATH),_0x472b7e(_0x4c7ee3._0x223039,_0x4c7ee3._0x3958c2)),execIgnoreFailure(_0x472b7e(0x8a4,0x620)+'l',[_0x18975d(_0x4c7ee3._0x2668d1,_0x4c7ee3._0x426491),'-w',MACOS_PLIST_PATH]);const _0x3e1d41={};_0x3e1d41[_0x472b7e(_0x4c7ee3._0xf622d8,0x52b)]=_0x18975d(_0x4c7ee3._0xb67023,_0x4c7ee3._0x1d41f3),execFileSync(_0x18975d(0x2bf,0xe9)+'l',[_0x18975d(0x5ec,0x3ca),'-w',MACOS_PLIST_PATH],_0x3e1d41);break;case _0x48bc12[_0x18975d(_0x4c7ee3._0x3c3f3c,_0x4c7ee3._0x7f5d8d)]:_0x48bc12[_0x472b7e(_0x4c7ee3._0x323308,0x83c)](installLinuxService,_0x33cecc);break;case _0x18975d(_0x4c7ee3._0x45cdf6,_0x4c7ee3._0xcff261):stopRunningProcess();const _0x31da8e={};_0x31da8e['stdio']='ignore',execFileSync(_0x18975d(_0x4c7ee3._0x3385fb,_0x4c7ee3._0x18328d),[_0x18975d(_0x4c7ee3._0x49a047,_0x4c7ee3._0xb9612d),_0x48bc12[_0x472b7e(0x9f0,0x88f)],'/v',WINDOWS_RUN_KEY,'/t',_0x18975d(_0x4c7ee3._0x21eabd,0x3b7),'/d',_0x48bc12[_0x472b7e(0x8e2,0x83c)](buildWindowsRunCommand,_0x33cecc),'/f'],_0x31da8e),_0x48bc12['gblPA'](startDetachedWindowsService,_0x33cecc);break;default:throw new Error('Unsuppor'+_0x472b7e(0x6f6,0x8f4)+_0x472b7e(0x74d,0x942)+_0x18975d(_0x4c7ee3._0x46704c,0x482)+_0x18975d(_0x4c7ee3._0x5d3176,_0x4c7ee3._0x405bad)+_0x472b7e(0x76a,_0x4c7ee3._0xca939b)+_0x472b7e(_0x4c7ee3._0x28ffea,0x523)+process[_0x18975d(0x481,0x456)]);}function _0x18975d(_0x119864,_0x4e409a){return _0x18e10d(_0x4e409a,_0x119864- -0x61);}return getServiceStatus();}function restartService(_0x296885={}){const _0x112f7f={_0x2aecae:0x8f5,_0x43258d:0x5b4,_0x1b2824:0x2ee,_0x1d3235:0x45a,_0xb5e193:0x591,_0x33f382:0x7d8,_0x5c8c4a:0x8d0,_0x3efd72:0x552,_0x23feb7:0x590,_0x507a5b:0x834,_0x40db9e:0x5b8,_0x19df7e:0x644,_0x2b3e37:0x5b8,_0x300d8f:0x26d,_0x1cd538:0x468,_0x180900:0x7bb,_0x340b2d:0x727,_0xdfb39c:0x31c,_0x568451:0x6fa,_0x248e79:0x85d,_0x3a3012:0x5b2,_0xb1ce50:0x34f,_0x51cb03:0x74f,_0x46c644:0x8c0,_0x21a888:0x65d,_0x4a4acf:0x836,_0x5af286:0x906,_0x5ec04b:0x696,_0xf13dca:0x849};function _0x1bde1f(_0x3824fa,_0x359ec3){return _0x9d3486(_0x3824fa,_0x359ec3-0x18);}const _0x406861={'qBASq':function(_0x30d0f6,_0x3f27a7){return _0x30d0f6(_0x3f27a7);},'WFoTA':function(_0x227d10,_0x5b188c,_0x4c914f,_0x5800e7){return _0x227d10(_0x5b188c,_0x4c914f,_0x5800e7);},'gnLcQ':function(_0x5f5d6b,_0x435b2e,_0x2b0373){return _0x5f5d6b(_0x435b2e,_0x2b0373);},'zGtRv':_0x1bde1f(_0x112f7f._0x2aecae,0x8e5),'FRqqr':'REG_SZ'};ensureServiceDirs();const _0x5dccf4=getServiceProgramArgs(_0x296885);switch(process[_0xe73827(_0x112f7f._0x43258d,0x724)]){case _0xe73827(_0x112f7f._0x1b2824,0x432):if(!_0x406861[_0x1bde1f(_0x112f7f._0x1d3235,_0x112f7f._0xb5e193)](_0x24df45,MACOS_PLIST_PATH))return _0x406861[_0xe73827(0x652,0x53b)](installService,_0x296885);_0x406861['WFoTA'](_0xa7d1eb,MACOS_PLIST_PATH,buildMacosPlist(_0x5dccf4,SERVICE_LOG_PATH,SERVICE_ERROR_LOG_PATH),_0xe73827(_0x112f7f._0x33f382,_0x112f7f._0x5c8c4a)),_0x406861[_0xe73827(_0x112f7f._0x3efd72,_0x112f7f._0x23feb7)](execIgnoreFailure,_0x1bde1f(_0x112f7f._0x507a5b,_0x112f7f._0x40db9e)+'l',[_0x1bde1f(0x871,0x899),'-w',MACOS_PLIST_PATH]);const _0x599a44={};_0x599a44[_0xe73827(0x47c,0x46d)]=_0xe73827(0xa38,0x807),execFileSync(_0x1bde1f(_0x112f7f._0x19df7e,_0x112f7f._0x2b3e37)+'l',[_0x406861[_0xe73827(_0x112f7f._0x300d8f,_0x112f7f._0x1cd538)],'-w',MACOS_PLIST_PATH],_0x599a44);break;case _0xe73827(_0x112f7f._0x180900,0x6ec):restartLinuxService(_0x5dccf4);break;case _0xe73827(0x64c,_0x112f7f._0x340b2d):stopRunningProcess();const _0x3832c0={};_0x3832c0[_0x1bde1f(_0x112f7f._0xdfb39c,0x4c3)]=_0x1bde1f(_0x112f7f._0x568451,_0x112f7f._0x248e79),_0x406861[_0x1bde1f(_0x112f7f._0x3a3012,0x75f)](execFileSync,'reg',[_0x1bde1f(0x8a1,0x908),'HKCU\x5cSof'+_0x1bde1f(_0x112f7f._0xb1ce50,0x58c)+'crosoft\x5c'+'Windows\x5c'+_0x1bde1f(0xb05,0x94c)+_0xe73827(_0x112f7f._0x51cb03,0x57e)+'un','/v',WINDOWS_RUN_KEY,'/t',_0x406861['FRqqr'],'/d',buildWindowsRunCommand(_0x5dccf4),'/f'],_0x3832c0),_0x406861['qBASq'](startDetachedWindowsService,_0x5dccf4);break;default:throw new Error(_0xe73827(0x991,_0x112f7f._0x46c644)+_0xe73827(_0x112f7f._0x21a888,_0x112f7f._0x4a4acf)+'form\x20for'+_0xe73827(_0x112f7f._0x5af286,_0x112f7f._0x5ec04b)+_0xe73827(0x893,_0x112f7f._0xf13dca)+'tart:\x20'+process['platform']);}function _0xe73827(_0x45ae3d,_0x6c0ab){return _0x9d3486(_0x45ae3d,_0x6c0ab- -0x3e);}return getServiceStatus();}async function startTransientRuntime(_0x2d9a42={}){const _0x1cdc92={_0x419cb1:0x1b0,_0x5e1012:0x21c,_0x54e7f1:0x50d,_0x200a31:0x53,_0x18f121:0x1d1,_0xb83f49:0x66e,_0x4a5e39:0x6b7,_0x4bc425:0xd4,_0x19e796:0x1e1},_0x20bd85={_0x4b3a71:0x75};function _0x3925d1(_0x492ac0,_0xaef7c7){return _0x18e10d(_0x492ac0,_0xaef7c7-_0x20bd85._0x4b3a71);}function _0x56beef(_0x3ef1ac,_0x449c23){return _0x18e10d(_0x3ef1ac,_0x449c23- -0x2c6);}const _0x4b8ca3={'YfcHs':function(_0x323596){return _0x323596();}};_0x4b8ca3[_0x56beef(-0x36,_0x1cdc92._0x419cb1)](ensureServiceDirs);const _0x5d6b6f=getServiceProgramArgs(_0x2d9a42);switch(process[_0x56beef(0x247,_0x1cdc92._0x5e1012)]){case'darwin':case _0x3925d1(_0x1cdc92._0x54e7f1,0x51f):startDetachedPosixService(_0x5d6b6f);break;case _0x56beef(-_0x1cdc92._0x200a31,0x21f):startDetachedWindowsService(_0x5d6b6f);break;default:throw new Error(_0x56beef(_0x1cdc92._0x18f121,0x3b8)+'ted\x20plat'+_0x3925d1(_0x1cdc92._0xb83f49,_0x1cdc92._0x4a5e39)+_0x56beef(_0x1cdc92._0x4bc425,_0x1cdc92._0x19e796)+_0x56beef(0x4a1,0x346)+'untime\x20s'+_0x56beef(0x1ee,0x14e)+process['platform']);}return waitForRuntimeState();}function uninstallService(){const _0x4fef34={_0x34e15e:0xb4,_0x3f0adc:0x55f,_0x1ba48c:0x344,_0x3ae072:0x438,_0x5a7616:0x194,_0x3991e9:0x3e9,_0x281c7c:0x49b,_0x4ca43:0x6b6,_0x1e80dd:0x34,_0x5defab:0x601,_0xbdf13:0x5f,_0xd014b9:0x375,_0x3eb872:0x1ee,_0x8bcce5:0x230,_0x48dafe:0x2c0,_0x596cb0:0x635,_0xb0eba9:0x492,_0x22c762:0x25e,_0x13478b:0x49c,_0x324cf0:0x3a9,_0x4dedc8:0x7,_0x2ed3ef:0xd9},_0x1b6478={'PpCXF':_0x50c442(_0x4fef34._0x34e15e,0x107),'IiSDc':function(_0x2f0782,_0xc79897){return _0x2f0782(_0xc79897);},'liLMK':_0x50c442(_0x4fef34._0x3f0adc,0x2e0)+'l','RIJVp':function(_0x55f698,_0x954e13,_0x35ee90){return _0x55f698(_0x954e13,_0x35ee90);},'dSdBE':function(_0x342dc0){return _0x342dc0();}};stopRunningProcess();switch(process['platform']){case _0x1b6478[_0x50c442(_0x4fef34._0x1ba48c,_0x4fef34._0x3ae072)]:execIgnoreFailure('launchct'+'l',[_0x576e35(_0x4fef34._0x5a7616,_0x4fef34._0x3991e9),'-w',MACOS_PLIST_PATH]),rmIfExists(MACOS_PLIST_PATH);break;case'linux':_0x1b6478[_0x50c442(0x4b7,0x4b3)](_0x24df45,LINUX_SERVICE_PATH)&&(execIgnoreFailure('systemct'+'l',[_0x50c442(_0x4fef34._0x281c7c,_0x4fef34._0x4ca43),_0x576e35(-0x24b,-_0x4fef34._0x1e80dd),_0x576e35(_0x4fef34._0x5defab,0x383),SYSTEMD_UNIT_NAME]),rmIfExists(LINUX_SERVICE_PATH),execIgnoreFailure(_0x1b6478[_0x576e35(0x16,_0x4fef34._0xbdf13)],[_0x50c442(_0x4fef34._0x281c7c,0x68a),_0x50c442(0x56b,_0x4fef34._0xd014b9)+'eload']));removeLinuxCronRegistration();break;case _0x576e35(0x30d,0x2cd):_0x1b6478[_0x50c442(0x40b,_0x4fef34._0x3eb872)](execIgnoreFailure,'reg',[_0x50c442(0x30b,_0x4fef34._0x8bcce5),_0x50c442(_0x4fef34._0x48dafe,0x2bd)+'tware\x5cMi'+_0x576e35(_0x4fef34._0x596cb0,_0x4fef34._0xb0eba9)+_0x50c442(0x49c,_0x4fef34._0x22c762)+_0x576e35(0x3ea,_0x4fef34._0x13478b)+_0x576e35(_0x4fef34._0x324cf0,0x124)+'un','/v',WINDOWS_RUN_KEY,'/f']);break;default:break;}function _0x576e35(_0x16a9bb,_0x2f3198){return _0x9d3486(_0x16a9bb,_0x2f3198- -0x498);}function _0x50c442(_0x2d75e4,_0xf5bd82){return _0x9d3486(_0xf5bd82,_0x2d75e4- -0x3bc);}return clearServiceState(),_0x1b6478[_0x576e35(_0x4fef34._0x4dedc8,_0x4fef34._0x2ed3ef)](getServiceStatus);}function stopService(){const _0x57e4fa={_0x3ff0c6:0x83,_0x50ae0d:0x67,_0x25d0bc:0x48,_0x59b68b:0xe2,_0x36caa1:0x344,_0x1e0612:0x352,_0x239e4d:0x5b4,_0x5e25f2:0x38d,_0x5b63f0:0x5d7},_0x4cdb26={_0x30ed0c:0x2bd},_0x3bc9a0={_0x45def9:0x158},_0x10f51c={};_0x10f51c[_0x122d4b(_0x57e4fa._0x3ff0c6,_0x57e4fa._0x50ae0d)]=_0x122d4b(0x1c8,_0x57e4fa._0x25d0bc)+'l';const _0x190fbd=_0x10f51c;stopRunningProcess();switch(process[_0x5198ff(0x225,0x36a)]){case _0x5198ff(-0xcd,-0x1fd):_0x24df45(MACOS_PLIST_PATH)&&execIgnoreFailure(_0x190fbd[_0x5198ff(-_0x57e4fa._0x59b68b,0xdc)],[_0x5198ff(_0x57e4fa._0x36caa1,0x3e2),MACOS_PLIST_PATH]);break;case _0x122d4b(_0x57e4fa._0x1e0612,_0x57e4fa._0x239e4d):_0x24df45(LINUX_SERVICE_PATH)&&execIgnoreFailure(_0x5198ff(0x3de,0x1eb)+'l',[_0x5198ff(0x31a,0x521),_0x5198ff(0xc7,0x2ea),SYSTEMD_UNIT_NAME]);break;case _0x122d4b(_0x57e4fa._0x5e25f2,_0x57e4fa._0x5b63f0):break;default:break;}function _0x122d4b(_0x503236,_0xb27f2f){return _0x18e10d(_0xb27f2f,_0x503236- -_0x3bc9a0._0x45def9);}clearServiceState();function _0x5198ff(_0x2d545a,_0x3d6887){return _0x18e10d(_0x3d6887,_0x2d545a- -_0x4cdb26._0x30ed0c);}return getServiceStatus();}function writeServiceState(_0x426e5f=process[_0x9d3486(0x485,0x61b)]){ensureServiceDirs();function _0x2d2c4b(_0x18eb4b,_0x440668){return _0x9d3486(_0x18eb4b,_0x440668- -0x447);}function _0x105194(_0x5eef89,_0x199534){return _0x9d3486(_0x199534,_0x5eef89- -0x57f);}const _0xe5a809={'pid':_0x426e5f,'startedAt':new Date()[_0x2d2c4b(0x1dc,0x37a)+_0x2d2c4b(0x256,0x6a)]()};_0xa7d1eb(SERVICE_STATE_PATH,JSON['stringif'+'y'](_0xe5a809,null,0x2)+'\x0a','utf8');}function registerRuntimeProcess(_0x2d3c81){const _0x47fded={_0x295892:0x67,_0x321385:0x337,_0x112cba:0x2c7,_0x3f546f:0x31c,_0x257174:0x26a,_0x4f1478:0x481,_0x3fd147:0x1e7,_0x1bff34:0x37f,_0xe4b207:0x100,_0x3bd207:0xef,_0x57c1e5:0x53,_0x297700:0x27b},_0x1ec87d={_0x4d87fb:0x4a5},_0x31069f={'GtSXz':function(_0x53aa7c,_0x35aa92){return _0x53aa7c(_0x35aa92);},'rXAYk':function(_0x17bc5f){return _0x17bc5f();}};function _0x19d358(_0x5b0c08,_0x438624){return _0x9d3486(_0x438624,_0x5b0c08- -_0x1ec87d._0x4d87fb);}ensureServiceDirs();const _0x389219={'pid':_0x2d3c81[_0x4a18cc(-_0x47fded._0x295892,-0x18c)]??process[_0x19d358(0x176,_0x47fded._0x321385)],'startedAt':_0x2d3c81[_0x4a18cc(_0x47fded._0x112cba,0x83)+'t']??new Date()[_0x19d358(_0x47fded._0x3f546f,0x2f9)+_0x19d358(0xc,-_0x47fded._0x257174)](),'gatewayId':_0x2d3c81[_0x19d358(0x278,_0x47fded._0x4f1478)+'d'],'instanceId':_0x2d3c81['instance'+'Id'],'serviceMode':_0x2d3c81[_0x19d358(0x3e9,0x351)+_0x4a18cc(_0x47fded._0x3fd147,0x169)],'scriptPath':_0x31069f[_0x19d358(_0x47fded._0x1bff34,0x607)](resolveScriptPath,_0x2d3c81['scriptPa'+'th'])},_0x5e77d9=_0x31069f[_0x4a18cc(-0xe7,-_0x47fded._0xe4b207)](readRuntimeRegistry)[_0x4a18cc(_0x47fded._0x3bd207,0x320)](_0x5aacae=>_0x5aacae[_0x4a18cc(-0x67,0xd7)]!==_0x389219['pid'])[_0x19d358(_0x47fded._0x57c1e5,_0x47fded._0x297700)](_0x389219);function _0x4a18cc(_0x46eff0,_0x1aaa93){return _0x9d3486(_0x1aaa93,_0x46eff0- -0x682);}_0x31069f[_0x19d358(0x37f,0x3ff)](writeRuntimeRegistry,_0x5e77d9);}function unregisterRuntimeProcess(_0x41de26=process[_0x18e10d(0x20c,0x39b)]){const _0x2572a5={_0x32dbb3:0x454},_0x48f22e={_0x7783fc:0x233},_0x84b964={_0x362031:0x136};function _0x56b3e1(_0x54a948,_0x11f2bf){return _0x18e10d(_0x11f2bf,_0x54a948- -_0x84b964._0x362031);}function _0x1dd9a4(_0x3e1d4e,_0x385fec){return _0x18e10d(_0x3e1d4e,_0x385fec- -_0x48f22e._0x7783fc);}const _0x7b9e21=readRuntimeRegistry()[_0x56b3e1(0x3bb,_0x2572a5._0x32dbb3)](_0x2acbca=>_0x2acbca[_0x1dd9a4(0x29a,0x168)]!==_0x41de26);writeRuntimeRegistry(_0x7b9e21);}function isAutostartUnsupportedError(_0x2de0f8){const _0x34c152={_0x36b3ac:0x623,_0x4f56cd:0x70d,_0x2ec951:0x54a,_0x2f9370:0x662,_0x244d54:0x6d3,_0x19fb70:0x76f,_0x19585a:0x34b,_0x1f8619:0x4b4,_0x30206a:0x3ea,_0x43897a:0x44e,_0x586282:0x4da},_0x69df16={_0x56fc59:0x153},_0x6fe962={_0x22f720:0x95},_0x491782={};function _0x1e800d(_0x302864,_0x5ce140){return _0x9d3486(_0x5ce140,_0x302864-_0x6fe962._0x22f720);}function _0x51dd4c(_0x228428,_0x30ea95){return _0x9d3486(_0x30ea95,_0x228428- -_0x69df16._0x56fc59);}_0x491782[_0x51dd4c(_0x34c152._0x36b3ac,_0x34c152._0x4f56cd)]=_0x51dd4c(0x37b,0x4da)+'ab\x20fallb'+_0x1e800d(_0x34c152._0x2ec951,0x42c)+_0x1e800d(0x55c,0x64a),_0x491782[_0x1e800d(_0x34c152._0x2f9370,0x458)]=_0x51dd4c(_0x34c152._0x244d54,0x442)+_0x1e800d(0x909,0xb87)+_0x51dd4c(_0x34c152._0x19fb70,0x5ed)+'\x20cli\x20ser'+_0x51dd4c(0x4aa,_0x34c152._0x19585a);const _0x595bb3=_0x491782,_0xef7acc=formatError(_0x2de0f8)[_0x51dd4c(0x598,0x699)+_0x51dd4c(_0x34c152._0x1f8619,0x298)]();return _0xef7acc[_0x1e800d(0x4e4,0x59d)](_0x595bb3[_0x51dd4c(0x623,_0x34c152._0x30206a)])||_0xef7acc[_0x1e800d(0x4e4,_0x34c152._0x43897a)](_0x595bb3[_0x1e800d(0x662,_0x34c152._0x586282)]);}function listRuntimeProcesses(_0x35d54b={}){const _0x25c3f3={_0x4ae174:0x96,_0x227e0e:0x1ee,_0xbfc8ef:0x1a9,_0x3a9478:0x1c8,_0x296741:0x109},_0x194cb8={_0x10f833:0x1e3},_0x1d51cc={_0x1aa68a:0x329},_0x116d98={'ajOrO':function(_0x435ef4){return _0x435ef4();}},_0x4943b6=resolveScriptPath(_0x35d54b['scriptPa'+'th']);function _0x1da112(_0x507111,_0x5d79bd){return _0x18e10d(_0x507111,_0x5d79bd- -_0x1d51cc._0x1aa68a);}const _0x541c65=_0x116d98[_0x1da112(-_0x25c3f3._0x4ae174,-0x34)](readRuntimeRegistry),_0x303acf=[..._0x541c65],_0x196fb9=new Set(_0x541c65['map'](_0x452e24=>_0x452e24[_0x1da112(0xf,0x72)]));for(const _0x56bfcd of listPosixRuntimePids(_0x4943b6)){if(_0x196fb9[_0x1da112(-0x245,-0x8b)](_0x56bfcd))continue;_0x303acf['push']({'pid':_0x56bfcd,'startedAt':new Date(0x0)[_0x1da112(_0x25c3f3._0x227e0e,0x218)+_0x57c391(0x246,0x414)](),'gatewayId':'','instanceId':'','serviceMode':![],'scriptPath':_0x4943b6});}function _0x57c391(_0x11d3f0,_0x39c26e){return _0x18e10d(_0x11d3f0,_0x39c26e-_0x194cb8._0x10f833);}return _0x303acf[_0x1da112(_0x25c3f3._0xbfc8ef,_0x25c3f3._0x3a9478)](_0x349d97=>isPidRunning(_0x349d97[_0x1da112(-0x40,0x72)]))[_0x1da112(-0x37c,-_0x25c3f3._0x296741)]((_0x2413d6,_0x2e31e4)=>_0x2413d6[_0x57c391(0x305,0x57e)]-_0x2e31e4[_0x1da112(0x11,0x72)]);}function stopRuntimeProcesses(_0x3be88a={}){const _0x6c0ed9={_0x4b101f:0x8d0,_0xaddb33:0x7a7,_0x594f73:0x4d5,_0x58e255:0x3f6,_0xcff37c:0x4dd,_0x62d378:0x6aa,_0x1b86b6:0x789,_0x5545b0:0x57f,_0x435f7f:0x573,_0x292806:0x752,_0x3a09da:0x4e4,_0x5fc0c:0x6c7},_0x2eeb70={_0x51152f:0x2b6},_0x2454dc={_0x1503f4:0xd},_0xfdc3fb={'upaiF':function(_0x155550,_0x304c37){return _0x155550===_0x304c37;},'NQApZ':function(_0x247f48,_0x2e6160,_0x200fdc){return _0x247f48(_0x2e6160,_0x200fdc);},'ZtdiQ':'kill'};function _0x4b5d99(_0x5f07b2,_0x277537){return _0x18e10d(_0x277537,_0x5f07b2- -_0x2454dc._0x1503f4);}const _0x342db8={};function _0x6bff9a(_0x5bd4e7,_0x347967){return _0x18e10d(_0x347967,_0x5bd4e7-_0x2eeb70._0x51152f);}_0x342db8[_0x4b5d99(0x6a9,0x42f)+'th']=_0x3be88a[_0x4b5d99(0x6a9,_0x6c0ed9._0x4b101f)+'th'];const _0x2621fc=listRuntimeProcesses(_0x342db8),_0x758931=_0x2621fc[_0x6bff9a(_0x6c0ed9._0xaddb33,0x7da)](_0x2d91f6=>_0x2d91f6['pid']!==(_0x3be88a[_0x6bff9a(0x793,0x714)+'id']??-0x1));if(_0xfdc3fb['upaiF'](process[_0x4b5d99(_0x6c0ed9._0x594f73,_0x6c0ed9._0x58e255)],'win32'))for(const _0x572af0 of _0x758931){execIgnoreFailure(_0x6bff9a(0x7c3,0x65a),[_0x6bff9a(0x822,0x99b),String(_0x572af0[_0x4b5d99(0x38e,_0x6c0ed9._0xcff37c)]),'/T','/F']);}else{for(const _0x3c2187 of _0x758931){_0xfdc3fb[_0x6bff9a(0x922,0xb0c)](execIgnoreFailure,_0xfdc3fb[_0x6bff9a(_0x6c0ed9._0x62d378,0x7db)],[_0x6bff9a(_0x6c0ed9._0x1b86b6,_0x6c0ed9._0x5545b0),String(_0x3c2187[_0x4b5d99(0x38e,_0x6c0ed9._0x435f7f)])]);}for(const _0x130276 of _0x758931){!waitForPidExit(_0x130276[_0x4b5d99(0x38e,0x513)],0xbb8)&&execIgnoreFailure(_0x4b5d99(0x368,0x5c1),[_0x6bff9a(_0x6c0ed9._0x292806,0x61d),String(_0x130276['pid'])]);}}const _0x58360c=readRuntimeRegistry()[_0x4b5d99(_0x6c0ed9._0x3a09da,0x74a)](_0x510e1f=>!_0x758931[_0x6bff9a(0x8b1,0x837)](_0x1994e8=>_0x1994e8[_0x4b5d99(0x38e,0x554)]===_0x510e1f['pid']));writeRuntimeRegistry(_0x58360c);const _0xa66bec=readServiceState();return _0xa66bec&&_0x758931['some'](_0x2c0193=>_0x2c0193[_0x6bff9a(0x651,0x6aa)]===_0xa66bec[_0x6bff9a(0x651,0x6d3)])&&clearServiceState(),_0x758931[_0x6bff9a(0x7fc,_0x6c0ed9._0x5fc0c)](_0x43ac4f=>_0x43ac4f[_0x4b5d99(0x38e,0x1ce)]);}function clearServiceState(_0xa568c1){const _0x413fb5={_0x36426c:0x479,_0x3d97cd:0x1ef},_0x3af277={_0x513392:0x40d},_0x3eb51d={};_0x3eb51d[_0x51cb7d(_0x413fb5._0x36426c,_0x413fb5._0x3d97cd)]=function(_0x4ac6cb,_0x284165){return _0x4ac6cb!=_0x284165;};const _0x1fc5b8=_0x3eb51d;function _0x51cb7d(_0x888e21,_0x47f076){return _0x18e10d(_0x888e21,_0x47f076- -_0x3af277._0x513392);}function _0x3dc8a9(_0x33087a,_0x5354f0){return _0x18e10d(_0x5354f0,_0x33087a-0x308);}if(!_0x24df45(SERVICE_STATE_PATH))return;if(_0x1fc5b8['kHTzA'](_0xa568c1,null)){const _0x447be3=readServiceState();if(_0x447be3&&_0x447be3[_0x51cb7d(0x2c,-0x72)]!==_0xa568c1)return;}rmIfExists(SERVICE_STATE_PATH);}function getServicePaths(){const _0xe718eb={_0x5de18a:0x674},_0x236ec3={'WOxUw':function(_0x2e0914,_0x424719){return _0x2e0914(_0x424719);}};function _0x35470a(_0x38c498,_0x3ef3d){return _0x9d3486(_0x3ef3d,_0x38c498-0x2e);}return{'logPath':SERVICE_LOG_PATH,'errorLogPath':SERVICE_ERROR_LOG_PATH,'servicePath':_0x236ec3[_0x35470a(0x4da,_0xe718eb._0x5de18a)](getServicePath,detectServiceMethod())};}function buildMacosPlist(_0x44ba22,_0xb2cd86,_0x2b7b4b){const _0x278d03={_0x49191f:0x39b,_0x1ba88a:0x373,_0x5c4db9:0x48c,_0x1a3d18:0x338,_0x3219cd:0x43d,_0x50ed55:0x237,_0x4a0fa5:0xa2,_0x417e60:0x121,_0x3656a5:0x3ad,_0x453d00:0x506,_0x31958b:0x8,_0x412d6d:0x4d5,_0x33abc0:0x63,_0x4efc70:0xab,_0x2ac535:0x10,_0x4d6f7d:0x28a,_0x5bfe82:0xe0,_0x30fc95:0x69a,_0x4db822:0x624,_0x4f1ad2:0x4e8,_0x1d6607:0x774,_0x22b4d8:0x699,_0x41935d:0x3b9,_0x44e58f:0x400,_0x25d909:0x4e7,_0x10cb74:0x1c2,_0x2a584f:0x3a9,_0x3f2143:0x55b,_0x2fec87:0x79d,_0x2495aa:0xa6,_0x470751:0x929,_0x5f2e0a:0x6b6,_0x722e13:0x6da,_0x5c967d:0x49f},_0x159a7b={_0xe17382:0x453};function _0x265e75(_0x540c9d,_0x4a11f2){return _0x9d3486(_0x540c9d,_0x4a11f2- -0x13f);}function _0x417e84(_0x413cc0,_0x1bf317){return _0x9d3486(_0x413cc0,_0x1bf317- -_0x159a7b._0xe17382);}const _0x2d3a3e=_0x44ba22[_0x417e84(_0x278d03._0x49191f,_0x278d03._0x1ba88a)](_0x3dbf7a=>_0x265e75(0x3e5,0x636)+_0x417e84(0x24b,0x342)+escapeXml(_0x3dbf7a)+('</string'+'>'))[_0x417e84(0x26e,0x48e)]('\x0a');return _0x417e84(_0x278d03._0x5c4db9,0x271)+_0x417e84(_0x278d03._0x1a3d18,_0x278d03._0x3219cd)+_0x417e84(_0x278d03._0x50ed55,0x484)+_0x417e84(-0x33,0x129)+_0x265e75(0x780,0x7e0)+_0x417e84(_0x278d03._0x4a0fa5,0x20a)+_0x417e84(_0x278d03._0x417e60,0x38)+'UBLIC\x20\x22-'+_0x265e75(0x39f,_0x278d03._0x3656a5)+'/DTD\x20PLI'+_0x265e75(_0x278d03._0x453d00,0x579)+_0x417e84(-0x1bf,-_0x278d03._0x31958b)+'p://www.'+'apple.co'+'m/DTDs/P'+'ropertyL'+_0x417e84(-0x2a,0x1ee)+'dtd\x22>\x0a<p'+_0x417e84(0x3f4,0x30d)+'sion=\x221.'+_0x265e75(0x4ca,0x34b)+'t>\x0a\x20\x20<ke'+_0x265e75(0x2d8,_0x278d03._0x412d6d)+_0x417e84(-0x1f9,_0x278d03._0x33abc0)+_0x417e84(_0x278d03._0x4efc70,0x45)+SERVICE_LABEL+(_0x417e84(-0x23e,_0x278d03._0x2ac535)+_0x417e84(_0x278d03._0x4d6f7d,0x489)+_0x265e75(0x44f,0x3a3)+_0x417e84(-_0x278d03._0x5bfe82,0x190)+'s</key>\x0a'+_0x417e84(0x282,0x2ec)+'>\x0a')+_0x2d3a3e+(_0x265e75(0x1c1,0x369)+_0x265e75(0x8d9,_0x278d03._0x30fc95)+_0x265e75(0x6b3,_0x278d03._0x4db822)+_0x417e84(0x480,_0x278d03._0x4f1ad2)+'y>\x0a\x20\x20<tr'+_0x265e75(_0x278d03._0x1d6607,0x76f)+'key>Keep'+_0x265e75(0x816,_0x278d03._0x22b4d8)+_0x265e75(_0x278d03._0x41935d,_0x278d03._0x44e58f)+'rue/>\x0a\x20\x20'+_0x265e75(0x4a6,_0x278d03._0x25d909)+_0x265e75(_0x278d03._0x10cb74,_0x278d03._0x2a584f)+_0x417e84(0x202,0x40b)+'y>\x0a\x20\x20<st'+_0x417e84(0x396,0x485))+escapeXml(_0xb2cd86)+('</string'+_0x265e75(_0x278d03._0x3f2143,_0x278d03._0x2fec87)+'>Standar'+'dErrorPa'+_0x417e84(0x181,_0x278d03._0x2495aa)+_0x265e75(_0x278d03._0x470751,_0x278d03._0x5f2e0a)+_0x265e75(0x54a,0x77a))+escapeXml(_0x2b7b4b)+(_0x417e84(-0x57,0x10)+'>\x0a</dict'+_0x417e84(_0x278d03._0x722e13,_0x278d03._0x5c967d)+'t>\x0a');}function buildLinuxSystemdUnit(_0xa84ed5,_0x547020,_0x1b58d4){const _0x1c6328={_0x56ec08:0x158,_0x1361ce:0x4da,_0x45e6f3:0x3a9,_0x163d5e:0x50f,_0xdcb836:0x32,_0x38e8c8:0xf,_0x3b53fb:0x424,_0x13e0e7:0x56,_0x4fff93:0xe5,_0x54f38f:0x65c,_0x306be0:0x146,_0x45f804:0x6a0,_0x2453c7:0x6e6,_0x3487dc:0xb8,_0x1edaf2:0x143,_0x1901b1:0x12,_0x338233:0x5ea,_0x534203:0x3e7,_0x3f72f8:0x2a2},_0x3f434d=_0xa84ed5[_0x25beb0(0x594,0x67e)](escapeSystemdArg)[_0x25beb0(0x6af,0x667)]('\x20');function _0x3d9701(_0x21605c,_0x5cdcfa){return _0x18e10d(_0x5cdcfa,_0x21605c- -0x459);}function _0x25beb0(_0x4f09bd,_0x19260e){return _0x18e10d(_0x19260e,_0x4f09bd-0x4e);}return _0x3d9701(0x8f,_0x1c6328._0x56ec08)+_0x25beb0(0x3c4,0x4a4)+_0x3d9701(-0xb1,-0x1aa)+_0x3d9701(0x10e,-0x127)+_0x25beb0(0x3e3,_0x1c6328._0x1361ce)+_0x25beb0(_0x1c6328._0x45e6f3,0x371)+_0x25beb0(0x572,_0x1c6328._0x163d5e)+_0x3d9701(-_0x1c6328._0xdcb836,-_0x1c6328._0x38e8c8)+_0x25beb0(0x509,_0x1c6328._0x3b53fb)+'network-'+_0x3d9701(-_0x1c6328._0x13e0e7,-_0x1c6328._0x4fff93)+'arget\x0a\x0a['+'Service]'+'\x0aType=si'+_0x3d9701(-0x137,0xec)+_0x25beb0(0x488,0x54e)+_0x3f434d+(_0x25beb0(0x6d7,_0x1c6328._0x54f38f)+'=always\x0a'+_0x3d9701(0x83,-_0x1c6328._0x306be0)+_0x25beb0(_0x1c6328._0x45f804,0x53a)+_0x25beb0(0x552,_0x1c6328._0x2453c7)+_0x3d9701(-0x1ac,-_0x1c6328._0x3487dc))+escapeSystemdArg(SERVICE_DIR)+(_0x3d9701(_0x1c6328._0x1edaf2,-_0x1c6328._0x1901b1)+'dOutput='+'append:')+_0x547020+(_0x25beb0(_0x1c6328._0x338233,0x6d7)+_0x25beb0(0x3fe,0x5dd)+_0x25beb0(0x234,0x9f))+_0x1b58d4+(_0x25beb0(_0x1c6328._0x534203,_0x1c6328._0x3f72f8)+'ll]\x0aWant'+_0x3d9701(0x2a,0x1cf)+'ault.tar'+'get\x0a');}function buildLinuxCronEntry(_0x1cd117,_0x5d2c3f,_0x46c84a){const _0x23be49={_0x4778e0:0x293,_0x276e2c:0x3ce,_0xd76029:0x16e},_0x25b1a5={_0x3bb252:0x533};function _0x19cd56(_0x21a974,_0x275ef9){return _0x9d3486(_0x21a974,_0x275ef9- -_0x25b1a5._0x3bb252);}function _0x4f2b88(_0x4242b3,_0x221f3b){return _0x9d3486(_0x221f3b,_0x4242b3- -0x41f);}const _0x4a8974=_0x1cd117[_0x19cd56(0x16f,_0x23be49._0x4778e0)](escapeShellWord)['join']('\x20');return _0x4f2b88(0x368,_0x23be49._0x276e2c)+_0x4a8974+_0x19cd56(-_0x23be49._0xd76029,0x11d)+escapeShellWord(_0x5d2c3f)+_0x4f2b88(0x1ed,0x0)+escapeShellWord(_0x46c84a)+'\x20'+LINUX_CRON_MARKER;}function getServicePath(_0x272f3a){const _0x1598c0={_0x4f21ba:0x68f,_0x317eb7:0x7d0,_0x4db990:0x497,_0x58e8ba:0x343,_0x6aca62:0x789,_0x1508ac:0x746,_0x4842fc:0x9d,_0x3eb2e5:0xea,_0x51c268:0x2e,_0x52ac0d:0x125,_0x1213bd:0xae,_0x83b4b8:0x3c,_0x44ad29:0x1e,_0x11c6e1:0x951,_0x4f6ba4:0x741,_0xe178c3:0x5e3,_0x22ed7f:0x79f,_0x53477c:0x716,_0x3b3806:0xe7},_0x402f1c={_0x549e8b:0x27},_0x58d09a={};_0x58d09a[_0x4ddf65(_0x1598c0._0x4f21ba,_0x1598c0._0x317eb7)]=_0x4ddf65(_0x1598c0._0x4db990,_0x1598c0._0x58e8ba);function _0x4246f9(_0x47bf93,_0x3e1ddc){return _0x9d3486(_0x47bf93,_0x3e1ddc- -0x640);}const _0x882168=_0x58d09a;function _0x4ddf65(_0x2980ac,_0x171d11){return _0x9d3486(_0x171d11,_0x2980ac-_0x402f1c._0x549e8b);}switch(process[_0x4ddf65(_0x1598c0._0x6aca62,_0x1598c0._0x1508ac)]){case _0x882168['fQpAr']:return MACOS_PLIST_PATH;case _0x4246f9(-_0x1598c0._0x4842fc,_0x1598c0._0x3eb2e5):return _0x272f3a===_0x4246f9(-0x18d,-0x1e6)+_0x4246f9(-_0x1598c0._0x51c268,-0x1e2)?LINUX_CRON_RECORD_PATH:LINUX_SERVICE_PATH;case _0x4246f9(0x390,_0x1598c0._0x52ac0d):return _0x4246f9(_0x1598c0._0x1213bd,_0x1598c0._0x83b4b8)+_0x4246f9(-_0x1598c0._0x44ad29,-0xcc)+_0x4ddf65(_0x1598c0._0x11c6e1,_0x1598c0._0x4f6ba4)+'Windows\x5c'+_0x4246f9(0x3b9,0x2f4)+_0x4ddf65(_0x1598c0._0xe178c3,0x68a)+_0x4ddf65(_0x1598c0._0x22ed7f,_0x1598c0._0x53477c)+_0x4ddf65(0x604,0x75a)+_0x4246f9(_0x1598c0._0x3b3806,-0xae);default:return'';}}function detectServiceMethod(){const _0x35c5a7={_0x1b8126:0x5d,_0x13708c:0x40,_0x17a1ac:0x316,_0x4b7cec:0x302,_0x19a6f7:0x20c,_0x36e3bd:0x3ce,_0x33793f:0x3fe,_0x34ff84:0x1d4,_0x4c6534:0x3a5,_0x2c4648:0x95,_0x722a35:0x1cf,_0x3ff652:0x1c5,_0x5ebc2c:0x1bc,_0x550d54:0x1f,_0x1304f1:0x4f0,_0x320a06:0x3d6,_0x4873bb:0x318,_0x3bf685:0x538,_0x249206:0x2d0},_0x7e371={_0xaa5816:0x2d6};function _0x1e3eda(_0x40f997,_0x5e4c1e){return _0x18e10d(_0x5e4c1e,_0x40f997- -_0x7e371._0xaa5816);}const _0x12dd9d={};_0x12dd9d[_0x4e6723(0x4cb,0x2cb)]=_0x1e3eda(-0xfc,_0x35c5a7._0x1b8126)+_0x4e6723(0x217,0x2aa),_0x12dd9d['YJgio']=_0x1e3eda(0x2d0,_0x35c5a7._0x13708c)+_0x4e6723(_0x35c5a7._0x17a1ac,_0x35c5a7._0x4b7cec);function _0x4e6723(_0x2dfc69,_0xd12521){return _0x18e10d(_0xd12521,_0x2dfc69-0x39);}const _0x9e6fc3=_0x12dd9d;switch(process[_0x1e3eda(_0x35c5a7._0x19a6f7,0x461)]){case _0x4e6723(0x229,_0x35c5a7._0x36e3bd):return _0x1e3eda(0x9b,0x18b)+_0x1e3eda(_0x35c5a7._0x33793f,0x2d9);case _0x1e3eda(_0x35c5a7._0x34ff84,_0x35c5a7._0x4c6534):if(_0x24df45(LINUX_SERVICE_PATH))return _0x1e3eda(-_0x35c5a7._0x2c4648,_0x35c5a7._0x722a35)+_0x1e3eda(_0x35c5a7._0x3ff652,0x303);if(hasLinuxCronRegistration())return _0x9e6fc3[_0x1e3eda(_0x35c5a7._0x5ebc2c,_0x35c5a7._0x550d54)];if(commandExists(_0x4e6723(0x6d4,_0x35c5a7._0x1304f1)+'l'))return'systemd-'+_0x1e3eda(0x1c5,0x376);if(commandExists(_0x1e3eda(0x348,0x57a)))return _0x9e6fc3[_0x1e3eda(0x1bc,_0x35c5a7._0x320a06)];return _0x9e6fc3[_0x4e6723(_0x35c5a7._0x4873bb,_0x35c5a7._0x3bf685)];case'win32':return'windows-'+'run-regi'+'stry';default:return _0x1e3eda(_0x35c5a7._0x249206,0x33d)+_0x4e6723(_0x35c5a7._0x17a1ac,0x414);}}function readServiceState(){const _0x5775f8={_0x51697a:0x51b,_0x4253e8:0x798,_0x555f8e:0x4f6,_0x2ba611:0x4b4,_0x2e9d7e:0x580,_0x258bf7:0x826,_0x4dab9b:0x8a0,_0x240eeb:0x69e,_0x5a6371:0x905},_0x108255={_0x39cf6d:0x119};function _0x3dff9f(_0xa04b00,_0x565bb9){return _0x18e10d(_0x565bb9,_0xa04b00-_0x108255._0x39cf6d);}const _0x4739ce={};function _0x55e2ca(_0x558ca2,_0x25bd1a){return _0x18e10d(_0x25bd1a,_0x558ca2-0x15d);}_0x4739ce['KAOtY']=_0x3dff9f(0x4cb,_0x5775f8._0x51697a);const _0xd0fd4c=_0x4739ce;if(!_0x24df45(SERVICE_STATE_PATH))return null;try{const _0x47212c=JSON[_0x55e2ca(_0x5775f8._0x4253e8,0x5e2)](_0x47850b(SERVICE_STATE_PATH,'utf8'));if(!_0x47212c[_0x55e2ca(0x4f8,_0x5775f8._0x555f8e)]||typeof _0x47212c[_0x3dff9f(_0x5775f8._0x2ba611,0x40d)]!==_0xd0fd4c['KAOtY'])return null;return{'pid':_0x47212c[_0x55e2ca(0x4f8,_0x5775f8._0x2e9d7e)],'startedAt':_0x47212c[_0x55e2ca(_0x5775f8._0x258bf7,_0x5775f8._0x4dab9b)+'t']??new Date(0x0)[_0x55e2ca(_0x5775f8._0x240eeb,_0x5775f8._0x5a6371)+'ing']()};}catch{return null;}}function readRuntimeRegistry(){const _0x534de2={_0x2f603c:0x246,_0x33ccc0:0x1d6,_0x3c3a90:0xa9},_0x57977a={_0x428156:0x448};function _0x57137b(_0x17cd90,_0x2475b9){return _0x18e10d(_0x17cd90,_0x2475b9- -0xd7);}if(!_0x24df45(RUNTIME_REGISTRY_PATH))return[];function _0x22c572(_0x2538bc,_0x4f9727){return _0x18e10d(_0x2538bc,_0x4f9727- -_0x57977a._0x428156);}try{const _0x2aad84=JSON[_0x22c572(0x5b,0x1f3)](_0x47850b(RUNTIME_REGISTRY_PATH,_0x22c572(0x3e3,_0x534de2._0x2f603c)));if(!Array[_0x22c572(-0x10e,-_0x534de2._0x33ccc0)](_0x2aad84))return[];const _0x109b41=_0x2aad84['map'](_0x598c3b=>normalizeRuntimeProcessRecord(_0x598c3b))[_0x22c572(0x169,_0x534de2._0x3c3a90)](_0x3c93c4=>_0x3c93c4!=null&&isPidRunning(_0x3c93c4[_0x22c572(-0x8a,-0xad)]));return writeRuntimeRegistry(_0x109b41),_0x109b41;}catch{return[];}}function writeRuntimeRegistry(_0x55b11f){const _0x364305={_0x2b42c2:0x7b4},_0x474b5a={_0x3f170e:0x212},_0x3132f9={_0x4290c4:0xa5},_0x28bdfa={'hVZGV':function(_0x4539ec){return _0x4539ec();},'VUvCY':_0x239e54(0x869,0x7c5)};function _0x239e54(_0x528498,_0xb1f047){return _0x9d3486(_0xb1f047,_0x528498- -_0x3132f9._0x4290c4);}function _0x4de943(_0x1acaf9,_0x2813e5){return _0x9d3486(_0x2813e5,_0x1acaf9- -_0x474b5a._0x3f170e);}if(_0x55b11f[_0x4de943(0x387,0x220)]===0x0){rmIfExists(RUNTIME_REGISTRY_PATH);return;}_0x28bdfa['hVZGV'](ensureServiceDirs),_0xa7d1eb(RUNTIME_REGISTRY_PATH,JSON[_0x4de943(0x613,0x3e1)+'y'](_0x55b11f,null,0x2)+'\x0a',_0x28bdfa[_0x239e54(_0x364305._0x2b42c2,0x711)]);}function normalizeRuntimeProcessRecord(_0x5d2ce4){const _0x55737c={_0xb63a26:0xe5,_0x4286bf:0x148,_0x562dd8:0x6f8,_0x166c91:0x2cd,_0x3d367a:0x1e6,_0x5138fb:0x46e,_0x5ebfcc:0x619,_0x15ff89:0x51a,_0x5e6038:0x3f7,_0x40e647:0x83e,_0x154c9c:0x6d9,_0x9b42d5:0x294,_0x307a7f:0x3bb,_0x19069f:0x59e,_0x13a5ec:0x124,_0x3dd234:0x1d8,_0x12ec3c:0x2a3,_0x3c47f0:0x24a,_0x6a1cb7:0x29b,_0x672a26:0x348,_0xacae76:0x677},_0x20b758={_0x57170d:0x224},_0x16d7af={};_0x16d7af[_0x138f8f(0x7a3,0x718)]=_0x473272(-_0x55737c._0xb63a26,-_0x55737c._0x4286bf);function _0x138f8f(_0x5e667d,_0x49fcb2){return _0x9d3486(_0x5e667d,_0x49fcb2- -_0x20b758._0x57170d);}_0x16d7af[_0x138f8f(_0x55737c._0x562dd8,0x6d9)]=function(_0x3a7e6f,_0x181e97){return _0x3a7e6f===_0x181e97;},_0x16d7af[_0x473272(-0x1d8,-_0x55737c._0x166c91)]=function(_0x419620,_0x418f2d){return _0x419620===_0x418f2d;},_0x16d7af[_0x473272(_0x55737c._0x3d367a,_0x55737c._0x5138fb)]=function(_0x13bb15,_0x3b6b23){return _0x13bb15===_0x3b6b23;};const _0x491afb=_0x16d7af;if(!_0x5d2ce4||typeof _0x5d2ce4!==_0x138f8f(0x42d,_0x55737c._0x5ebfcc))return null;function _0x473272(_0x2f4c8b,_0x851060){return _0x9d3486(_0x851060,_0x2f4c8b- -0x6b5);}const _0x86b651=_0x5d2ce4;if(!_0x86b651[_0x138f8f(_0x55737c._0x15ff89,_0x55737c._0x5e6038)]||typeof _0x86b651['pid']!==_0x138f8f(0x187,0x40e))return null;const _0x3a0889=typeof _0x86b651[_0x138f8f(_0x55737c._0x40e647,0x712)+'th']===_0x491afb[_0x138f8f(0x48b,0x718)]?resolveScriptPath(_0x86b651[_0x138f8f(0x83c,0x712)+'th']):'';if(!_0x3a0889)return null;return{'pid':_0x86b651['pid'],'startedAt':_0x491afb[_0x138f8f(0x8ef,_0x55737c._0x154c9c)](typeof _0x86b651[_0x473272(_0x55737c._0x9b42d5,_0x55737c._0x307a7f)+'t'],'string')?_0x86b651[_0x138f8f(_0x55737c._0x19069f,0x725)+'t']:new Date(0x0)[_0x473272(0x10c,-_0x55737c._0x13a5ec)+_0x138f8f(0x327,0x28d)](),'gatewayId':typeof _0x86b651['gatewayI'+'d']===_0x491afb[_0x473272(0x287,0x144)]?_0x86b651[_0x473272(0x68,0x83)+'d']:'','instanceId':_0x491afb[_0x473272(-_0x55737c._0x3dd234,-_0x55737c._0x12ec3c)](typeof _0x86b651[_0x473272(_0x55737c._0x3c47f0,_0x55737c._0x6a1cb7)+'Id'],_0x473272(-_0x55737c._0xb63a26,-_0x55737c._0x672a26))?_0x86b651['instance'+'Id']:'','serviceMode':_0x491afb[_0x138f8f(0x718,_0x55737c._0xacae76)](_0x86b651['serviceM'+'ode'],!![]),'scriptPath':_0x3a0889};}function stopRunningProcess(){const _0xb1f890={_0xdda374:0x2f7,_0x322c67:0x466,_0x5f47fc:0x311,_0x136a23:0x2f4,_0x33f75c:0x446,_0x6e95c3:0x2f7,_0x1a5bdb:0x198,_0x222a50:0x253,_0x2b97ac:0x17b,_0x352921:0x37e,_0x561250:0x590,_0x3405f8:0x590},_0x3ff466={_0xf4d422:0x8b},_0x14ae14={_0x3554d6:0x46e};function _0x5a00e5(_0x3778bf,_0xe0853e){return _0x9d3486(_0x3778bf,_0xe0853e- -_0x14ae14._0x3554d6);}const _0x31b1fa={'lCReQ':function(_0x5a7ddf,_0x476697,_0x44bedd){return _0x5a7ddf(_0x476697,_0x44bedd);},'SkCOR':_0x5a00e5(0x213,0x31f),'EcIba':function(_0x2c9e65,_0x15d8b4){return _0x2c9e65===_0x15d8b4;},'iZyfz':_0x5a00e5(0x1b7,_0xb1f890._0xdda374)},_0x1957d9=readServiceState();function _0x58c69b(_0x2fdc8f,_0x4d3aa7){return _0x9d3486(_0x4d3aa7,_0x2fdc8f- -_0x3ff466._0xf4d422);}if(!_0x1957d9)return;_0x31b1fa[_0x58c69b(0x416,_0xb1f890._0x322c67)](execIgnoreFailure,process[_0x5a00e5(_0xb1f890._0x5f47fc,_0xb1f890._0x136a23)]===_0x5a00e5(_0xb1f890._0x33f75c,_0xb1f890._0x6e95c3)?_0x31b1fa[_0x5a00e5(_0xb1f890._0x1a5bdb,_0xb1f890._0x222a50)]:'kill',_0x31b1fa[_0x5a00e5(0x45d,0x268)](process[_0x5a00e5(_0xb1f890._0x2b97ac,_0xb1f890._0x136a23)],_0x31b1fa['iZyfz'])?[_0x5a00e5(0x555,_0xb1f890._0x352921),String(_0x1957d9[_0x58c69b(_0xb1f890._0x561250,0x701)]),'/T','/F']:[_0x58c69b(0x6c8,0x55c),String(_0x1957d9[_0x58c69b(_0xb1f890._0x3405f8,0x720)])]),clearServiceState(_0x1957d9[_0x58c69b(_0xb1f890._0x3405f8,0x60d)]);}function _0x351d(_0x3ae68b,_0x9ed275){_0x3ae68b=_0x3ae68b-0x146;const _0x43d36d=_0x3485();let _0x4dc458=_0x43d36d[_0x3ae68b];if(_0x351d['NRAKkW']===undefined){var _0x1d77b2=function(_0x38ba7f){const _0x6d65ed='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x305d8f='',_0x8dacc1='',_0xc0c40c=_0x305d8f+_0x1d77b2;for(let _0x4e7450=0x0,_0x5e917b,_0x2c7caa,_0x1d47fa=0x0;_0x2c7caa=_0x38ba7f['charAt'](_0x1d47fa++);~_0x2c7caa&&(_0x5e917b=_0x4e7450%0x4?_0x5e917b*0x40+_0x2c7caa:_0x2c7caa,_0x4e7450++%0x4)?_0x305d8f+=_0xc0c40c['charCodeAt'](_0x1d47fa+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x5e917b>>(-0x2*_0x4e7450&0x6)):_0x4e7450:0x0){_0x2c7caa=_0x6d65ed['indexOf'](_0x2c7caa);}for(let _0x5e411c=0x0,_0x433f6d=_0x305d8f['length'];_0x5e411c<_0x433f6d;_0x5e411c++){_0x8dacc1+='%'+('00'+_0x305d8f['charCodeAt'](_0x5e411c)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x8dacc1);};_0x351d['QynKjD']=_0x1d77b2,_0x351d['uJvEmw']={},_0x351d['NRAKkW']=!![];}const _0x3485fa=_0x43d36d[0x0],_0x351dcf=_0x3ae68b+_0x3485fa,_0x3f730=_0x351d['uJvEmw'][_0x351dcf];if(!_0x3f730){const _0x473379=function(_0x3df0ba){this['NgCrPf']=_0x3df0ba,this['ozLkjf']=[0x1,0x0,0x0],this['AtVPle']=function(){return'newState';},this['UHGdGF']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['NaXMEH']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x473379['prototype']['swUuZd']=function(){const _0x59bc46=new RegExp(this['UHGdGF']+this['NaXMEH']),_0x18f89e=_0x59bc46['test'](this['AtVPle']['toString']())?--this['ozLkjf'][0x1]:--this['ozLkjf'][0x0];return this['zQsGoD'](_0x18f89e);},_0x473379['prototype']['zQsGoD']=function(_0x361971){if(!Boolean(~_0x361971))return _0x361971;return this['ZqQWIW'](this['NgCrPf']);},_0x473379['prototype']['ZqQWIW']=function(_0x335042){for(let _0x1191dc=0x0,_0x5f495f=this['ozLkjf']['length'];_0x1191dc<_0x5f495f;_0x1191dc++){this['ozLkjf']['push'](Math['round'](Math['random']())),_0x5f495f=this['ozLkjf']['length'];}return _0x335042(this['ozLkjf'][0x0]);},new _0x473379(_0x351d)['swUuZd'](),_0x4dc458=_0x351d['QynKjD'](_0x4dc458),_0x351d['uJvEmw'][_0x351dcf]=_0x4dc458;}else _0x4dc458=_0x3f730;return _0x4dc458;}function listPosixRuntimePids(_0x4d2465){const _0x411c74={_0x34ddfd:0x474,_0x163886:0x6f3,_0x25b826:0x345,_0x80a2e7:0x1c6,_0x2dcfed:0x54a,_0x1b92ad:0x370,_0x2c8910:0x307,_0x2f8231:0x558,_0x52bd00:0x3ea,_0x3a598a:0x81,_0x2f6f30:0x5ab,_0x52284b:0x7cf,_0x569594:0x5d8,_0x34cf4f:0x714},_0x36b0ad={_0x509fd6:0x1d,_0x470285:0x1af,_0x28fc5e:0x4d},_0x3b34f1={};_0x3b34f1[_0x58959e(_0x411c74._0x34ddfd,0x382)]=_0x4abd2a(_0x411c74._0x163886,0x481);function _0x58959e(_0x55264b,_0x1c1222){return _0x18e10d(_0x1c1222,_0x55264b- -0x19d);}const _0x4b3285=_0x3b34f1;if(!_0x4d2465||process[_0x58959e(_0x411c74._0x25b826,_0x411c74._0x80a2e7)]===_0x4abd2a(_0x411c74._0x2dcfed,_0x411c74._0x1b92ad))return[];function _0x4abd2a(_0x3a132e,_0x5d62ea){return _0x18e10d(_0x5d62ea,_0x3a132e-0x65);}try{const _0x4f552b={};_0x4f552b[_0x58959e(_0x411c74._0x2c8910,_0x411c74._0x2f8231)]=_0x4b3285[_0x58959e(0x474,0x4ee)];const _0x539084=execFileSync('ps',['-ax','-o',_0x58959e(_0x411c74._0x52bd00,0x5ed)+'s='],_0x4f552b);return _0x539084[_0x58959e(0x1d5,-_0x411c74._0x3a598a)]('\x0a')[_0x4abd2a(_0x411c74._0x2f6f30,_0x411c74._0x52284b)](_0x357a5d=>_0x357a5d[_0x58959e(0x22e,0x1c6)]())[_0x4abd2a(0x556,0x762)](Boolean)[_0x4abd2a(_0x411c74._0x569594,_0x411c74._0x34cf4f)](_0x4e9b7c=>{const _0x1d56c1=_0x4e9b7c[_0x1c7a0c(-_0x36b0ad._0x509fd6,0x171)](/^(\d+)\s+(.*)$/);if(!_0x1d56c1)return[];const _0x29aeb4=Number(_0x1d56c1[0x1]);function _0x260546(_0x13385e,_0x5ae678){return _0x4abd2a(_0x13385e- -0xba,_0x5ae678);}const _0x3ce4bc=_0x1d56c1[0x2];function _0x1c7a0c(_0xf1af60,_0x549641){return _0x4abd2a(_0x549641- -0x1e7,_0xf1af60);}if(!Number[_0x1c7a0c(0x160,_0x36b0ad._0x470285)+'r'](_0x29aeb4)||_0x29aeb4<=0x0||_0x29aeb4===process[_0x260546(0x346,0x4f2)])return[];if(!_0x3ce4bc[_0x1c7a0c(-0x1fb,_0x36b0ad._0x28fc5e)](_0x4d2465))return[];if(!/\brun\b/[_0x260546(0x175,0xe6)](_0x3ce4bc))return[];return[_0x29aeb4];});}catch{return[];}}function isPidRunning(_0x21dec4){function _0x3b68f1(_0x55bf7b,_0x3a325f){return _0x9d3486(_0x55bf7b,_0x3a325f- -0x34f);}try{return process[_0x3b68f1(0x1f2,0x2a6)](_0x21dec4,0x0),!![];}catch{return![];}}function waitForPidExit(_0x5a1731,_0x5820a5){const _0x2e0f36={_0x2127a5:0x4c7,_0x157b3c:0x1ca},_0x2bfd08={_0x924441:0x2f};function _0x1a9683(_0x7ef865,_0x27f294){return _0x18e10d(_0x7ef865,_0x27f294- -_0x2bfd08._0x924441);}const _0x1b6a1b={};_0x1b6a1b[_0x19660d(0x312,0x455)]=function(_0x1f837d,_0x2f8d2){return _0x1f837d>=_0x2f8d2;};const _0x353e6c=_0x1b6a1b,_0x279a63=Date[_0x19660d(_0x2e0f36._0x2127a5,0x6b9)]()+_0x5820a5,_0x1a7880=new Int32Array(new SharedArrayBuffer(0x4));while(isPidRunning(_0x5a1731)){if(_0x353e6c[_0x1a9683(0x324,_0x2e0f36._0x157b3c)](Date['now'](),_0x279a63))return![];Atomics['wait'](_0x1a7880,0x0,0x0,0x32);}function _0x19660d(_0x27942e,_0x3500fe){return _0x18e10d(_0x3500fe,_0x27942e-0x119);}return!![];}function startDetachedWindowsService(_0x4260b5){const _0x30fe1e={_0x49d606:0xd2,_0x11b17:0x403,_0xbe032:0x491,_0x5a5718:0x846,_0x90c15f:0x119},_0x5b429a={_0x4cc648:0x1b6},_0x52a3db={_0x5c7b0c:0x1d8},_0x63c341={};_0x63c341['WpNnK']=_0x23e949(0x436,0x40f);const _0x449f18=_0x63c341,_0x2243b7=openSync(SERVICE_LOG_PATH,'a');function _0x4d13da(_0x2afc8c,_0xedfccc){return _0x18e10d(_0x2afc8c,_0xedfccc-_0x52a3db._0x5c7b0c);}const _0x28c942=openSync(SERVICE_ERROR_LOG_PATH,'a');function _0x23e949(_0x1a58f9,_0x2664db){return _0x18e10d(_0x1a58f9,_0x2664db- -_0x5b429a._0x4cc648);}try{const [_0xf8b654,..._0x29e1b8]=_0x4260b5,_0x4bd71e={};_0x4bd71e[_0x23e949(-0x5,_0x30fe1e._0x49d606)]=!![],_0x4bd71e[_0x4d13da(0x444,_0x30fe1e._0x11b17)]=[_0x449f18[_0x4d13da(0x27d,_0x30fe1e._0xbe032)],_0x2243b7,_0x28c942],_0x4bd71e['windowsH'+_0x4d13da(0xa53,_0x30fe1e._0x5a5718)]=!![];const _0x344ef5=spawn(_0xf8b654,_0x29e1b8,_0x4bd71e);_0x344ef5[_0x23e949(0x1c2,_0x30fe1e._0x90c15f)]();}finally{closeSync(_0x2243b7),closeSync(_0x28c942);}}function startDetachedPosixService(_0x32c3ee){const _0x1c2acc={_0x12fac4:0xc3,_0x1790e3:0x32b,_0x3ec5bb:0x19b},_0x22e639={_0x1ef28f:0x2e2},_0x2c8eeb={'mHBuH':function(_0x184a15,_0x45554d,_0x49bcea){return _0x184a15(_0x45554d,_0x49bcea);},'kZohJ':function(_0x2710aa,_0x3d33cb,_0x445bc1,_0x51cac7){return _0x2710aa(_0x3d33cb,_0x445bc1,_0x51cac7);},'OjhBg':_0x4ad9ad(0x2e3,0x3e3)},_0x5fb5f0=_0x2c8eeb[_0x4ad9ad(-_0x1c2acc._0x12fac4,-0xdd)](openSync,SERVICE_LOG_PATH,'a');function _0x4ad9ad(_0x373ff2,_0xb9adfa){return _0x18e10d(_0xb9adfa,_0x373ff2- -_0x22e639._0x1ef28f);}function _0x471672(_0x2c73e4,_0x360291){return _0x18e10d(_0x2c73e4,_0x360291- -0x2b4);}const _0x40d24c=openSync(SERVICE_ERROR_LOG_PATH,'a');try{const [_0x136860,..._0x64a2a2]=_0x32c3ee,_0x38b6c4=_0x2c8eeb['kZohJ'](spawn,_0x136860,_0x64a2a2,{'detached':!![],'stdio':[_0x2c8eeb[_0x4ad9ad(_0x1c2acc._0x1790e3,_0x1c2acc._0x3ec5bb)],_0x5fb5f0,_0x40d24c]});_0x38b6c4[_0x4ad9ad(-0x13,0x182)]();}finally{closeSync(_0x5fb5f0),closeSync(_0x40d24c);}}async function waitForRuntimeState(_0x23d6c8=0x5dc,_0x2a507e=0x32){const _0xf53808={_0x829c6f:0x1a8,_0x5cd04b:0x1a4,_0x1468cc:0x2f4,_0xa552a6:0x1d6},_0x41773f={_0x314d2e:0x477},_0x5edf7a={'obyDA':function(_0x333343,_0x3d2d88){return _0x333343+_0x3d2d88;},'pilCW':function(_0xa51383,_0x42f9ed){return _0xa51383<_0x42f9ed;},'XqgGF':function(_0x25de95){return _0x25de95();}};function _0x2b83d2(_0x4187cb,_0x1ccdcb){return _0x9d3486(_0x4187cb,_0x1ccdcb- -_0x41773f._0x314d2e);}const _0x44611c=_0x5edf7a[_0x2b83d2(0x2fe,0x226)](Date[_0x2b83d2(_0xf53808._0x829c6f,0x1b7)](),_0x23d6c8);function _0xdaa002(_0x1d67bc,_0xff49ce){return _0x9d3486(_0x1d67bc,_0xff49ce- -0x33a);}let _0x2de0ad=getServiceStatus();while(_0x5edf7a[_0xdaa002(0x4,_0xf53808._0x5cd04b)](Date[_0xdaa002(0x451,_0xf53808._0x1468cc)](),_0x44611c)){if(_0x2de0ad[_0xdaa002(_0xf53808._0xa552a6,0x2af)])return _0x2de0ad;await _0xb1e136(_0x2a507e),_0x2de0ad=_0x5edf7a['XqgGF'](getServiceStatus);}return _0x2de0ad;}function installLinuxService(_0x9ae58c){try{installLinuxSystemdService(_0x9ae58c),removeLinuxCronRegistration();return;}catch(_0x32fa70){installLinuxCronService(_0x9ae58c,_0x32fa70);}}function restartLinuxService(_0x46dc81){try{restartLinuxSystemdService(_0x46dc81),removeLinuxCronRegistration();return;}catch(_0x47dcb2){installLinuxCronService(_0x46dc81,_0x47dcb2);}}function installLinuxSystemdService(_0x148cc3){const _0x524d67={_0x2a9ca4:0x546,_0x306985:0x570,_0x310ce6:0x646,_0x1248f6:0x406,_0x4bed68:0x305,_0x563262:0x585,_0x51850f:0xed,_0x11e3f7:0x247,_0x2c3af0:0x487,_0x954dc3:0x582,_0x569224:0x63e,_0x5729f5:0x652,_0x490745:0x41b,_0x2117f6:0x32b,_0x3bcef1:0x640,_0x9314cb:0x66e,_0x5659e8:0x685,_0x57cf7d:0x57c,_0x4acafd:0x351},_0xa89fe={_0x791de6:0x13e},_0x2866f9={};_0x2866f9[_0x4df721(0x4e6,0x548)]=_0x4df721(_0x524d67._0x2a9ca4,0x75e),_0x2866f9['uCgHO']=_0x4df721(_0x524d67._0x306985,0x601);const _0x30b732=_0x2866f9;if(!commandExists('systemct'+'l'))throw new Error(_0x4df721(_0x524d67._0x310ce6,_0x524d67._0x1248f6)+'l\x20is\x20not'+'\x20availab'+'le');function _0x323fb5(_0x121ae1,_0x7da45f){return _0x18e10d(_0x7da45f,_0x121ae1- -_0xa89fe._0x791de6);}const _0x48d69c={};_0x48d69c[_0x4df721(_0x524d67._0x4bed68,0x434)+'e']=!![];function _0x4df721(_0x16beb1,_0x32a1e8){return _0x18e10d(_0x32a1e8,_0x16beb1- -0x55);}_0x482d5c(dirname(LINUX_SERVICE_PATH),_0x48d69c),_0xa7d1eb(LINUX_SERVICE_PATH,buildLinuxSystemdUnit(_0x148cc3,SERVICE_LOG_PATH,SERVICE_ERROR_LOG_PATH),_0x323fb5(0x550,_0x524d67._0x563262));const _0x4b5240={};_0x4b5240[_0x323fb5(_0x524d67._0x51850f,_0x524d67._0x11e3f7)]=_0x323fb5(_0x524d67._0x2c3af0,0x3de),execFileSync('systemct'+'l',[_0x4df721(_0x524d67._0x954dc3,_0x524d67._0x569224),_0x4df721(_0x524d67._0x5729f5,_0x524d67._0x490745)+_0x323fb5(_0x524d67._0x2117f6,0x494)],_0x4b5240),execFileSync(_0x323fb5(0x55d,_0x524d67._0x3bcef1)+'l',['--user',_0x4df721(_0x524d67._0x9314cb,_0x524d67._0x5659e8),_0x30b732[_0x4df721(0x4e6,_0x524d67._0x57cf7d)],SYSTEMD_UNIT_NAME],{'stdio':_0x30b732[_0x323fb5(_0x524d67._0x4acafd,0x3d8)]});}function restartLinuxSystemdService(_0x42140b){const _0xb87ae4={_0x457849:0x0,_0x434d59:0xc2,_0x342c4b:0x109,_0x516757:0x252,_0x139fbb:0x1f1,_0x3a2322:0x2f6,_0x9759ad:0x227,_0x84bf87:0x2c5,_0x560009:0xbb,_0x334929:0x75,_0x5f508c:0x29f,_0x1b6a52:0x1db,_0x10b417:0x401,_0x190331:0x1da},_0xccdef9={'edwSB':function(_0x44311c,_0x7ed2b8){return _0x44311c(_0x7ed2b8);},'qBtrr':function(_0x2105af,_0xd441a1){return _0x2105af(_0xd441a1);},'aUTUz':function(_0x154f69,_0x5bcdd2,_0x541d5e,_0x23f0ce){return _0x154f69(_0x5bcdd2,_0x541d5e,_0x23f0ce);},'BqchO':_0x2a19c5(0x1db,_0xb87ae4._0x457849),'qoPLv':'ignore'};if(!_0xccdef9[_0x2a19c5(_0xb87ae4._0x434d59,_0xb87ae4._0x342c4b)](commandExists,_0x346c16(0x4a2,_0xb87ae4._0x516757)+'l'))throw new Error(_0x346c16(0x31f,_0xb87ae4._0x516757)+'l\x20is\x20not'+_0x2a19c5(_0xb87ae4._0x139fbb,0x320)+'le');if(!_0xccdef9['qBtrr'](_0x24df45,LINUX_SERVICE_PATH)){installLinuxSystemdService(_0x42140b);return;}_0xccdef9[_0x346c16(_0xb87ae4._0x3a2322,0x1da)](_0xa7d1eb,LINUX_SERVICE_PATH,buildLinuxSystemdUnit(_0x42140b,SERVICE_LOG_PATH,SERVICE_ERROR_LOG_PATH),'utf8');const _0x3af3f4={};_0x3af3f4['stdio']='ignore';function _0x346c16(_0x4ff3f1,_0x246058){return _0x9d3486(_0x4ff3f1,_0x246058- -0x6c9);}function _0x2a19c5(_0x247547,_0x6f8cb6){return _0x9d3486(_0x6f8cb6,_0x247547- -0x67c);}_0xccdef9[_0x2a19c5(_0xb87ae4._0x9759ad,_0xb87ae4._0x84bf87)](execFileSync,'systemct'+'l',[_0xccdef9[_0x2a19c5(-_0xb87ae4._0x560009,_0xb87ae4._0x334929)],'daemon-r'+'eload'],_0x3af3f4),_0xccdef9['aUTUz'](execFileSync,_0x2a19c5(_0xb87ae4._0x5f508c,0x21b)+'l',[_0x2a19c5(_0xb87ae4._0x1b6a52,_0xb87ae4._0x10b417),_0x346c16(-0x376,-_0xb87ae4._0x190331),SYSTEMD_UNIT_NAME],{'stdio':_0xccdef9[_0x346c16(-0x18b,-0x252)]});}function installLinuxCronService(_0x405603,_0x3b1abd){const _0x53b213={_0x4f06fc:0x504,_0x3a7874:0x2a6,_0x58733c:0x71a,_0x72c7bd:0x5c0,_0x680f21:0x19a,_0x38898e:0x3d2,_0x1332f3:0xc1,_0x364ab5:0x14c,_0x527fa4:0x201},_0x328d6a={_0x291eed:0x39a},_0x3f594c={_0x374633:0x4dd},_0x29f75c={'PvlQC':_0x475925(_0x53b213._0x4f06fc,0x2c0),'GrIbp':function(_0x55fb8a,_0x42d8fa){return _0x55fb8a(_0x42d8fa);},'UbPFJ':function(_0x4d39cb,_0xe72e39,_0x43b91e,_0x168ff9){return _0x4d39cb(_0xe72e39,_0x43b91e,_0x168ff9);}};if(!commandExists(_0x29f75c[_0x29f751(0x2f8,0x315)]))throw new Error(_0x29f751(-0x74,-_0x53b213._0x3a7874)+_0x475925(0x526,_0x53b213._0x58733c)+_0x475925(0x3ff,_0x53b213._0x72c7bd)+_0x475925(_0x53b213._0x680f21,-0x62)+_0x475925(_0x53b213._0x38898e,0x190)+_0x29f751(0x439,0x4d5)+'\x20fallbac'+_0x29f751(_0x53b213._0x1332f3,-_0x53b213._0x364ab5)+_0x29f751(0x26e,_0x53b213._0x527fa4)+formatError(_0x3b1abd));_0x29f75c['GrIbp'](rmIfExists,LINUX_SERVICE_PATH);function _0x29f751(_0x561fb2,_0x2c5b23){return _0x9d3486(_0x2c5b23,_0x561fb2- -_0x3f594c._0x374633);}function _0x475925(_0x21bd21,_0x2b5b08){return _0x9d3486(_0x2b5b08,_0x21bd21- -_0x328d6a._0x291eed);}const _0x3c90e6=_0x29f75c[_0x475925(0x548,0x353)](buildLinuxCronEntry,_0x405603,SERVICE_LOG_PATH,SERVICE_ERROR_LOG_PATH);writeLinuxCrontabEntry(_0x3c90e6),_0xa7d1eb(LINUX_CRON_RECORD_PATH,_0x3c90e6+'\x0a',_0x475925(0x574,0x4ac)),stopRunningProcess(),startDetachedPosixService(_0x405603);}function hasLinuxCronRegistration(){const _0x138a4b={_0x1bbe05:0x614,_0x4facb2:0x12d},_0x4387f8={_0x5a0fef:0x132};function _0x451345(_0x25636d,_0x184547){return _0x18e10d(_0x25636d,_0x184547- -0x3aa);}function _0x3c6ac(_0x457680,_0x380774){return _0x18e10d(_0x457680,_0x380774-_0x4387f8._0x5a0fef);}if(process[_0x3c6ac(0x88a,_0x138a4b._0x1bbe05)]!==_0x451345(-_0x138a4b._0x4facb2,0x100))return![];return readLinuxCrontab()['some'](_0x28b39f=>_0x28b39f['includes'](LINUX_CRON_MARKER));}function removeLinuxCronRegistration(){const _0xc4644c={_0x10416b:0x28f,_0x264c4b:0x8c,_0x133aa5:0x11a,_0xa069d1:0x491,_0x461b69:0x2b3,_0x54723a:0x98,_0x52a006:0x1cb,_0x4ef09d:0x186,_0x345d31:0x83},_0x53d90f={'XTSGT':_0x18f0c7(_0xc4644c._0x10416b,_0xc4644c._0x264c4b),'uiSEQ':function(_0x53b5d7){return _0x53b5d7();},'ipGyC':function(_0x3425b2,_0x1b23fd){return _0x3425b2(_0x1b23fd);}};if(process['platform']!==_0x53d90f[_0xe3b098(-_0xc4644c._0x133aa5,-0x7d)])return;function _0x18f0c7(_0x107902,_0xd73d9){return _0x18e10d(_0xd73d9,_0x107902- -0x21b);}if(commandExists(_0xe3b098(_0xc4644c._0xa069d1,_0xc4644c._0x461b69))){const _0xcc94f7=_0x53d90f[_0xe3b098(-_0xc4644c._0x54723a,_0xc4644c._0x52a006)](readLinuxCrontab)[_0xe3b098(0x254,_0xc4644c._0x4ef09d)](_0x2fe77d=>!_0x2fe77d[_0x18f0c7(-0x4c,0x183)](LINUX_CRON_MARKER));_0x53d90f[_0x18f0c7(-0x1c,_0xc4644c._0x345d31)](writeLinuxCrontab,_0xcc94f7);}function _0xe3b098(_0x5698b1,_0x1d9d5b){return _0x18e10d(_0x5698b1,_0x1d9d5b- -0x36b);}rmIfExists(LINUX_CRON_RECORD_PATH);}function writeLinuxCrontabEntry(_0x5dcfc5){const _0x357150={_0x552dc3:0x781,_0x4ce5bb:0x9e9},_0x53ec11={_0x188d4b:0x405},_0x3207e8={_0x2a8a52:0x290},_0x328c58={'wgUnw':function(_0x214d6d,_0x5064e3){return _0x214d6d(_0x5064e3);}},_0x4b4748=readLinuxCrontab()[_0x1c2e8f(_0x357150._0x552dc3,_0x357150._0x4ce5bb)](_0x38a2b1=>!_0x38a2b1[_0x1c2e8f(0x45f,0x3ec)](LINUX_CRON_MARKER));_0x4b4748['push'](_0x5dcfc5);function _0x1c2e8f(_0x4b4b3f,_0x429210){return _0x18e10d(_0x429210,_0x4b4b3f-_0x3207e8._0x2a8a52);}function _0x23f16a(_0x1af5e6,_0x2a941b){return _0x18e10d(_0x1af5e6,_0x2a941b- -_0x53ec11._0x188d4b);}_0x328c58[_0x23f16a(-0x1bf,-0x155)](writeLinuxCrontab,_0x4b4748);}function readLinuxCrontab(){const _0x348187={_0x49b715:0x7e7,_0x2c8ff3:0x951,_0x5436fe:0x7c2,_0x285494:0x949,_0x1737be:0x8c3,_0x1d8dec:0x7cf,_0x4f6a60:0x8e1},_0x13afee={_0x42fa93:0x43},_0x3b9c52={_0x278173:0xab},_0x7cc3be={};function _0x13224a(_0x1fb280,_0x392d69){return _0x9d3486(_0x1fb280,_0x392d69-_0x3b9c52._0x278173);}_0x7cc3be['fsqzb']=_0x4684a3(_0x348187._0x49b715,_0x348187._0x2c8ff3);const _0xb8bec9=_0x7cc3be;if(!commandExists(_0x13224a(_0x348187._0x5436fe,_0x348187._0x285494)))return[];function _0x4684a3(_0x517ed1,_0x264640){return _0x9d3486(_0x517ed1,_0x264640-_0x13afee._0x42fa93);}try{const _0x2bddd1={};_0x2bddd1[_0x13224a(_0x348187._0x1737be,_0x348187._0x1d8dec)]=_0xb8bec9[_0x4684a3(0x7e0,0x79d)];const _0x4b4ce5=execFileSync(_0x4684a3(0xa67,_0x348187._0x4f6a60),['-l'],_0x2bddd1);return _0x4b4ce5[_0x4684a3(0x805,0x635)]('\x0a')['map'](_0x336a29=>_0x336a29[_0x13224a(0x3ee,0x516)]())[_0x13224a(0x8bc,0x81c)](_0x5c168f=>_0x5c168f['length']>0x0);}catch(_0x379315){if(isMissingCrontabError(_0x379315))return[];throw _0x379315;}}function writeLinuxCrontab(_0x306f64){const _0x487214={_0x189861:0x406,_0x1c2e87:0x2b0,_0x361a4f:0x262,_0x37ddb6:0x262,_0x4477d2:0x2a5,_0x3086f5:0x1c6,_0x5829c3:0x2d2,_0x141dd8:0x4bc,_0x2cf138:0x37e},_0x1b07c7={_0x9277ef:0x63c};if(!commandExists(_0x49ec17(_0x487214._0x189861,_0x487214._0x1c2e87)))return;function _0x2d564b(_0x1e7267,_0xf013e8){return _0x9d3486(_0xf013e8,_0x1e7267- -_0x1b07c7._0x9277ef);}function _0x49ec17(_0x4662ce,_0x5e121e){return _0x9d3486(_0x4662ce,_0x5e121e- -0x5ee);}if(_0x306f64[_0x2d564b(-0xa3,0xb1)]===0x0){execIgnoreFailure(_0x2d564b(_0x487214._0x361a4f,0x47b),['-r']);return;}execFileSync(_0x2d564b(_0x487214._0x37ddb6,0x37e),['-'],{'input':_0x306f64[_0x2d564b(_0x487214._0x4477d2,_0x487214._0x3086f5)]('\x0a')+'\x0a','encoding':_0x2d564b(_0x487214._0x5829c3,_0x487214._0x141dd8),'stdio':['pipe',_0x2d564b(0x209,0x75),_0x2d564b(0x209,_0x487214._0x2cf138)]});}function resolveScriptPath(_0x3f2268){const _0x1c9bc1={_0x519c6b:0x53f,_0x3ac9b1:0x1e6,_0x219a63:0x6a,_0x49378c:0xb2,_0x3e8fe7:0x1e9},_0x4557b0={_0xdda51c:0x76},_0x2a1eae={'QOSeN':function(_0x3a2152,_0xf0cda0){return _0x3a2152(_0xf0cda0);}};function _0x515b89(_0x137663,_0x1159d0){return _0x18e10d(_0x137663,_0x1159d0-_0x4557b0._0xdda51c);}function _0x47885a(_0x4cef5c,_0x2930ac){return _0x18e10d(_0x2930ac,_0x4cef5c- -0x1e5);}const _0x281fef=_0x3f2268?.[_0x515b89(0x3a7,0x441)]()||process[_0x47885a(0x41d,_0x1c9bc1._0x519c6b)][0x1]?.[_0x47885a(_0x1c9bc1._0x3ac9b1,-_0x1c9bc1._0x219a63)]()||'';if(!_0x281fef)return'';try{return _0x2a1eae[_0x47885a(_0x1c9bc1._0x49378c,_0x1c9bc1._0x3e8fe7)](realpathSync,_0x281fef);}catch{return _0x281fef;}}function ensureLaunchScriptExecutable(_0x1e657a,_0x47a8fe){const _0xd5f9ef={_0x584e9e:0x109};function _0x30e0d5(_0x44c3d4,_0x35d9f0){return _0x9d3486(_0x44c3d4,_0x35d9f0- -0x65c);}if(_0x47a8fe===_0x30e0d5(0x250,_0xd5f9ef._0x584e9e)||!_0x24df45(_0x1e657a))return;try{chmodSync(_0x1e657a,0x1ed);}catch{}}function writeServiceLauncher(_0x37a474){const _0x2ff90e={_0x11b487:0x13e,_0x38941f:0x28,_0x24d9cd:0x86,_0x31885d:0x143,_0xc6bf92:0x3c,_0x3cbf63:0x2be,_0x5e2416:0x292,_0xbfe4b1:0x3f8,_0xa81818:0x238,_0x44b424:0x95,_0x34ad2b:0x6d4,_0x242b6e:0x57b,_0x5a08b4:0x51d,_0x3a93ea:0x81,_0x4d396d:0xee,_0x24aae6:0x249,_0xae4165:0x2f1,_0x12301c:0x2cf,_0x50d99d:0x401,_0x4b3cd0:0x3c1,_0x17c3d5:0x640,_0x1bd684:0x798,_0x4ef8cf:0x2db,_0x5258ac:0x7d,_0x4866ff:0x734,_0x36c58b:0x6a8,_0x1f0d6a:0xa3,_0x162163:0x28a,_0x4a62aa:0x3dd,_0x18ae3c:0x2d6,_0x183c62:0x1b2,_0x3080c5:0x1a9,_0x10e419:0x3e0,_0x50af43:0x46f,_0x527d64:0x256,_0x7d29ce:0x5a7,_0x27d2c0:0x4d2,_0x3323e2:0x1ee,_0x3a9b94:0x394,_0x2a0758:0x5e1,_0xa91ea1:0x35c},_0x2b2db4={_0x1fa56f:0x3e7},_0x512914={'ktoQk':_0x5d02ab(0x5cc,0x780)+'h','PSCfk':function(_0x21c1d6,_0x42dd1e){return _0x21c1d6(_0x42dd1e);},'oFukn':_0xd478ae(0x12f,_0x2ff90e._0x11b487)+_0xd478ae(0x361,0x1ee)+_0xd478ae(_0x2ff90e._0x38941f,_0x2ff90e._0x24d9cd)+_0x5d02ab(0x5c8,0x61f)+'\x20Clawket'+'\x20Bridge\x20'+'service\x22'+_0xd478ae(-_0x2ff90e._0x31885d,-_0x2ff90e._0xc6bf92),'ZSZpV':_0xd478ae(_0x2ff90e._0x3cbf63,0x2a7)};function _0x5d02ab(_0x105526,_0x4bb8fd){return _0x18e10d(_0x4bb8fd,_0x105526-0x50);}ensureServiceDirs();function _0xd478ae(_0x14be75,_0x29d26a){return _0x18e10d(_0x14be75,_0x29d26a- -_0x2b2db4._0x1fa56f);}const _0x1dedf2=[_0x512914[_0x5d02ab(_0x2ff90e._0x5e2416,_0x2ff90e._0xbfe4b1)],'export\x20P'+'ATH=\x22'+_0x512914[_0x5d02ab(_0x2ff90e._0xa81818,_0x2ff90e._0x44b424)](escapeShellDoubleQuoted,_0x37a474[_0x5d02ab(_0x2ff90e._0x34ad2b,_0x2ff90e._0x242b6e)])+'\x22',_0x5d02ab(_0x2ff90e._0x5a08b4,0x5fd)+_0xd478ae(-_0x2ff90e._0x3a93ea,-0x66)+escapeShellDoubleQuoted(_0x37a474[_0x5d02ab(0x56b,0x7cc)])+'\x22',_0xd478ae(0x27c,_0x2ff90e._0x4d396d)+_0xd478ae(-_0x2ff90e._0x24aae6,-0xad)+_0x512914['PSCfk'](escapeShellDoubleQuoted,_0x37a474[_0xd478ae(_0x2ff90e._0xae4165,_0x2ff90e._0x12301c)+'th'])+'\x22',_0x5d02ab(_0x2ff90e._0x50d99d,_0x2ff90e._0x4b3cd0)+_0xd478ae(0x17c,0x2c7)+_0xd478ae(-0x55,0x25)+_0x5d02ab(_0x2ff90e._0x17c3d5,_0x2ff90e._0x1bd684),_0xd478ae(-_0x2ff90e._0x4ef8cf,-_0x2ff90e._0x5258ac)+'$NODE_PA'+_0x5d02ab(0x5b1,_0x2ff90e._0x4866ff)+_0x5d02ab(0x4d2,_0x2ff90e._0x36c58b)+'H\x22\x20run\x20-'+_0xd478ae(-0x30b,-_0x2ff90e._0x1f0d6a),'fi',_0x5d02ab(_0x2ff90e._0x162163,0x45b)+_0x5d02ab(_0x2ff90e._0x4a62aa,_0x2ff90e._0x18ae3c)+'de\x20>/dev'+_0xd478ae(_0x2ff90e._0x183c62,_0x2ff90e._0x3080c5)+_0x5d02ab(_0x2ff90e._0x10e419,_0x2ff90e._0x50af43),_0x5d02ab(0x288,_0x2ff90e._0x527d64)+_0x5d02ab(_0x2ff90e._0x7d29ce,0x54d)+_0x5d02ab(_0x2ff90e._0x27d2c0,0x585)+_0xd478ae(-_0x2ff90e._0x3323e2,-0x184)+_0x5d02ab(_0x2ff90e._0x3a9b94,_0x2ff90e._0x2a0758),'fi',_0x512914['oFukn'],_0xd478ae(0x8f,0x14b),''];return _0xa7d1eb(SERVICE_LAUNCHER_PATH,_0x1dedf2[_0xd478ae(_0x2ff90e._0xa91ea1,0x27a)]('\x0a'),_0x512914['ZSZpV']),SERVICE_LAUNCHER_PATH;}function escapeShellDoubleQuoted(_0x146177){const _0x4762f4={_0x27e63b:0x2ae,_0x58b0de:0x36f,_0x4c16c7:0x27b};function _0x22cad0(_0x57c285,_0xa72639){return _0x18e10d(_0x57c285,_0xa72639- -0x437);}function _0x4b3490(_0xae1971,_0x43112d){return _0x18e10d(_0x43112d,_0xae1971- -0x21c);}return _0x146177[_0x22cad0(_0x4762f4._0x27e63b,0x27b)+'ll']('\x5c','\x5c\x5c')[_0x4b3490(0x496,_0x4762f4._0x58b0de)+'ll']('\x22','\x5c\x22')[_0x4b3490(0x496,0x28d)+'ll']('$','\x5c$')[_0x22cad0(0x3c4,_0x4762f4._0x4c16c7)+'ll']('`','\x5c`');}function escapeShellWord(_0x14f558){const _0x3918c1={_0x2f4ccc:0x52,_0x2534ec:0xf5,_0x5c97e3:0x227,_0x48c7ca:0x78},_0x1bc4be={_0x1ad04d:0x224},_0x972150={};function _0x2f2ab6(_0x39c4c4,_0x3a4521){return _0x18e10d(_0x39c4c4,_0x3a4521- -_0x1bc4be._0x1ad04d);}_0x972150[_0x2add61(0x85b,0x9ac)]=function(_0x525275,_0x15b1fd){return _0x525275===_0x15b1fd;};function _0x2add61(_0x19a3c8,_0x337e5a){return _0x18e10d(_0x337e5a,_0x19a3c8-0x1da);}const _0x42dcfb=_0x972150;if(_0x42dcfb[_0x2f2ab6(0x453,0x45d)](_0x14f558[_0x2f2ab6(_0x3918c1._0x2f4ccc,_0x3918c1._0x2534ec)],0x0))return'\x27\x27';return'\x27'+_0x14f558['replaceA'+'ll']('\x27',_0x2f2ab6(_0x3918c1._0x5c97e3,_0x3918c1._0x48c7ca))+'\x27';}function buildWindowsRunCommand(_0x5d9e30){const _0x2a4d79={_0x39da84:0x838,_0x3d41ed:0x6f7};function _0x2414d6(_0x1c4172,_0x27a4ce){return _0x9d3486(_0x27a4ce,_0x1c4172-0x72);}return _0x5d9e30[_0x2414d6(_0x2a4d79._0x39da84,_0x2a4d79._0x3d41ed)](escapeWindowsArg)['join']('\x20');}function ensureServiceDirs(){const _0x506274={_0x596398:0x3bc,_0x4311b0:0x41b,_0x2f42d8:0x58d,_0x1368c8:0x41b},_0x12d36b={_0x416f00:0xc1},_0x1eef81={};_0x1eef81[_0x4097ea(_0x506274._0x596398,_0x506274._0x4311b0)+'e']=!![],_0x482d5c(SERVICE_DIR,_0x1eef81);const _0x22814a={};function _0x4097ea(_0x278741,_0x1542ac){return _0x18e10d(_0x278741,_0x1542ac-_0x12d36b._0x416f00);}_0x22814a[_0x4097ea(_0x506274._0x2f42d8,_0x506274._0x1368c8)+'e']=!![];function _0x5bdc08(_0x4f060c,_0x17a966){return _0x18e10d(_0x4f060c,_0x17a966-0x215);}_0x482d5c(LOG_DIR,_0x22814a);}function _0x3485(){const _0x4c53c7=['tgzztvC','y2XPzw50swq','AcbHigrPzMy','CMvZCg9UC2u','BwLSEq','DwvZDeLKpq','y2XPzw50tMe','zgvUDgL0Esa','yxj0yMvHDca','qMLTCgm','C2vYDMLJzva','uhzSuum','zLfmDvq','B2rLiciKu0m','qwXPDMu8l2S','yxK+cIaGpgS','y2HHBgXLBMC','q29UzMLNrM8','C3rHCNrPBMC','zw1HBMqGzhi','ihvUy2HHBMC','ue9tva','Es11CMW','veGIiciKu0m','mtj8mtr8m3W','Bw9Kzq','igj1DcbNyxq','sLbju0G','ig5HBwu9','zxqGqNjPzgC','yMfZzty0','CNjVCKXVzW','ls1YzxbSywm','zcbZAw5JzuC','l1bjra','Dxr1BG','r0vRzLG','ugf0Aa','CxjqyxLSB2e','Ac5TB2rLigK','zcbZzxj2Awm','zMXHDe1HCa','C2LUzYbPzgW','cIaGphn0CMK','DgvKoYbNyxq','Aw5Nienmssa','B3vUzcbMB3i','lMrLDG','CM9YoIa','CIb1C2uGygm','iYeVyMLUl3m','BI4GvxnLihK','D2f5twvZC2e','zxDHEvvYBa','zxqGyxbWoGO','vxjSpq','Bg9ZAw5NigK','zxrYEurLBge','tg9NoIa','igHHBMrZAge','DeLUDgvYDMe','CgLKpsXHCMC','pL0GwY0TCMu','y2HZsgi','mti3lJaUmc4','zgvZDhjVEq','CMvTB3rLsxa','BMfTzq','Bgf5q29UDhi','CePRBK4','l251BgWGmJ4','DgvKqxrnCW','zg93BG','ug9ivvO','DgjLyxq','wgr0CfG','DxjSidX3CZO','DwvZDcbYzxm','tw9IAwXLiem','AxnszwXHEu8','BgLUzxm','ls1UB3C','cLn0yw5Kyxi','yxv0Ae1Vzgu','BwvKAwfeAxi','zxnO','CNvU','DgHLienSyxC','yxrPyYbZDge','AMLIEhm','r3rtwhO','C3rYAw5NAwy','Dw5ZDxbWB3i','DgHLihjLz2K','zM9YzsbMBhu','tdOG','y29UBMvJDgu','zsbWywLYAw4','C3rVBsbNyxq','zxHPDa','ywDLBNrZ','EuDlqK8','BhzLza','zxDHEsbTzxm','mJC4mZeWovvxv2DLwq','lwnSAq','BM9Uy2vmzw4','zM9YD2fYze8','ywLYlMfWChi','AcbNyxrLD2e','CMvZzxq','B24U','BhjLywr5iha','C2vUzeDHDgu','twvKAwfeAxi','B2jQzwn0','CgXHy2uIihq','BNqGDgHHDca','ls1XDwLLDa','Bg9NCW','phvUA25VD24','zwqGy29Kzt0','CgfPCIaTlwW','AwDUB3jL','z2vZ','AxnWBgf5tMe','EMDMz3i','Bg9N','qxv0AcbTB2q','BgWIig9Yici','B3fMCMG','B3bLBG','z1bHAxjszxe','CMWGphDZoI8','zwqUifj1BIa','ywn0Aw9U','BwLZC2LUzW','Dd5DifSTlxe','ztOG','zguGCNvUDgK','CMvSyxKGy28','ls11C2vY','v2LUzg93C1W','vLv2q1K','DguGyNjPzgC','uKvrvuLsruq','y2XPzw50x2m','zg9JA2vY','ugf0AdWVA2u','B21WBgv0zsa','qxv0Ae1Vzgu','C2fNzxmGyMu','ifjLDhj5igy','zwnHDxnLigW','ywLYlNjLAMu','zYaOCgLK','zwvKzwq','zxzLBNq','Cgr1DxC','B2rL','Ag9ZDg5HBwu','zerLDMLJzxm','vw5HyMXLihq','igf2ywLSywi','ChfSAxO','ywnRihrVia','DgHLBG','zMTPBhm','Dgv4Da','swLtrgm','DgvKihbSyxq','tfzkv3O','CNvUBMLUzZO','y29UBMvJDca','ywLYic0TzM8','CNrIzwf0','Ag9ZDa','C29Tzq','A0HuEKe','nZi0ndy5own2wMzVEq','B3bLBMnSyxC','ls1Zzxj2Awm','yxrLza','Dw5SB2fK','yxjNDG','kcGOlISPkYK','ihrLEhq9','yxnZAwDU','z2v0vgLTzq','DMLJzsbYzxm','yvzwDfq','D0LKwLq','ifjLC3rHCNq','uviGAw1Hz2u','BNqGq0Xjihi','t2POqMC','C2vYDMLJzu0','sKfrrwq','CNnPB249iJe','qu9lCNe','ls1LCNjVCNm','C3rHCNrZv2K','u3rVChbLzca','ienSyxDRzxq','yxr0zw1WDgu','ugfPCMvKoIa','qMfyDeS','igzYzxnOigq','ifnLDcb0Agu','D2nhtNK','DxrVBwf0Awm','zxj2AwnLlMO','y3jVBNrHyG','CNvUDgLTzs4','Dgv3yxKGCxu','tgTxExK','ifSTlwPZB24','yvvuvxO','y29UDhjVBf8','igTLChq9','Dg90ywW','ihnPBMnLq2W','EsbWywLYAw4','BMCGy29UBMu','BNqGzgvTyw4','C3rVCciGzMK','zxmUifjLC3q','CgXHy2vD','DwuVpGOGidW','ywKUy2XHD2S','igDHDgv3yxK','q0vTDMi','C2GGzhjVCha','yw5KC2HHA2u','lY5VCgvUy2W','ze5hz1K','t1bftG','C3mGls11CMW','igjYB3DZzxi','BMC+','Axn0CMf0Aw8','CgfYC2u','z2v0','FdeXFdD8mta','C3rHBguGAwq','D2fZig5VDca','CNzPy2uGAw4','Dw50Aw1LigK','zM9YBsbMB3i','z2f0zxDHEvm','EunACKq','twD2ExG','AgfUzgXLuMu','Cgf0Ag5HBwu','cLnJyw4GDgG','DwfSBhKU','zgDLigLZige','CMvXDwvZDca','sunYuvm','Bg9Hza','A2v0','zhjVChbLza','C2nTr08','uNvUBMLUzZO','zwm9mGPxB3i','DgGG','B3j0','CgfPCIbSB2m','ywLYlNjLC28','lJaIigvUy28','CMLUzZ4','ChjVDg9JB2W','zxj2AwnLlMm','zMD4u0S','pGOGidXRzxK','C3LZDgvTza','zgf0yq','y2XHD2TLDca','CgvU','AM9PBG','vwjqrKO','CxL1wfm','yMXLigr1CMK','C21HBgW','BgfZDevYCM8','CMvXDwvZDeK','Aw5Jzq','AdOG','ihrVDgfSpq','y0DOCve','tLfbCfO','CvHkrei','AwrL','zYbruI4','ywrK','C2vYDMLJzvi','pGO8l3bSAxm','r2PqtKS','DMDuEgS','Esb0B2TLBIa','zhjVChbLzca','ihbHC3n3B3i','y29UzMLNig4','ywXSEs4Gvxm','C3rHBguGCxu','igXVywqGDgG','D3m6lY8','yxD4ENq','vw5ZDxbWB3i','Aw5ZDgfUy2u','DgvYBwLUyxq','BxDgrgy','jMfTCdS','zxf1zxn0CW','Cgf0AevUDG','zwzYzxnOzwq','yMfJA2DYB3u','v0PrEwe','CMvQzwn0uge','cLjLC3rHCNq','CYbUB3qGCMu','DMLJzsbPBNm','zgLUz0DHDgu','AxiGzMLYC3q','DxrMoa','yLnVy2TLDa','C3rHCNqGDxi','qM1oAxO','B3zL','yxj0ienSyxC','v3fbAuC','C3rYEsbbueK','ignYB250ywi','AxncDwzMzxi','C0f0','vLz5A0m','Dg9Rzw4','C3LZDgvTy3q','y29Kzq','l3jVB3q','CNvUDgLTzsa','rI04iJ8+cJW','D2LvAeq','zNjVBq','Bg9JywWTCge','z2uUANnVBG','CYb1BNnLDc4','ls1SB2nHBa','CMvMCMvZAgu','zgfLBw9Ulxi','BgfZDfnLzw4','AgfIBgu','y3jVC29MDfW','B2rLihjLzNi','Dw50','zxf1zxn0swq','iIrot0rfx1a','DxferM4','lMnVBMzPzW','DxjSpL0GwY0','CMvWBgfJzue','AxmGBg9JywW','q3vYCMvUDfy','x0DbvevxqvK','C2nYAxb0uge','CMvNAxn0zxi','qu90t3u','zxjLCxvPC2K','phbHDgG+xsa','tg9HzdWVA2u','EvfID2C','uefjuKLor18','ywXYzwfKEsa','AfL5y0O','ChvZAa','zsbdteKGC2m','zM91BMq','zw5HyMXL','AgvHCNrIzwe','qLzVz00','Dw5HDMfPBge','y29UBMvJDa','B3qGzM91BMq','C3rHCNrLzee','u05oz2m','y2uGywXYzwe','ls1SAw5LCW','BNn0ywXSzwq','Bg9JywW','iYbJBgf3A2u','vxjS','CMvJB25Uzwm','zcWGC3rVCha','CgfPCIbYzxe','zw50','y2vZuMvJzw4','Ag90','zxHPC3rPBMC','Cg9YDa','ktOGq2XVDwq','Eu1Z','zxjYB3i6ia','Ahr0Chm6lY8','zgLZCgXHEu4','B25Uzwn0zwq','zMzLCMvUDca','qwHsAhu','CMfTCW','qw5VDgHLCIa','ls11CMW','y2XVC2vhyxq','ief1Dg9Tyxq','Dw5RBM93BG','tMfTztOG','C29U','icH0B2TLBIa','Bg9NCYbBls0','B25mB2C','DgvZDa','ru4IicjODhq','rw1WDhKGCMu','zMfSBgjHy2S','B2X2zwqGCMu','Aw5JBhvKzxm','DfrPBwvVDxq','zgv2AwnLlNa','yNHiBfG','igf1DgHgAwu','qwnJzxnZigm','tLzvBe0','ihjLyxnVBJ0','Cgf0Ad5DifS','mti4mLfMqLfSrG','yxrLD2f5t3a','BgLUDxGTy3i','wwfAqxm','B2TLBG','D3nZoI8V','B250ywi','ChbW','r2f0zxDHEsa','we1zAeK','A3vtC2S','pc9ZDhjPBMC','zgLZywjSzq','q0Xbv0rct1q','ChbLBMq6','Bgf5twvZC2e','ufndzMS','tgLUDxGGC2u','y29UzMLNoIa','DhjPBuvUza','mteYEw5SAxvy','DcbHCha6cG','zw5ZDxjLr2e','tK9ux1bbsvi','zgfYD2LU','jMfWB3m7','tKTNwg8','BM90ihjLywq','CMuGCMvJEwm','B25Jzq','D2LKDgG','Cw9qthy','lxyG','A2Xftvi','AvDhtM4','l3jLz2LZDgu','zw50CW','ig1PC3nPBMC','yxv0Aa','AxbhEum','sw5ZDgfUy2u','CM9YC10GwY0','DMfSDwvZ','rfzTEu4','yNPsEgK','B3bWzwqGDg8','DwvHEg8','ihbHAxjGigi','yMLUyxj5','yxrLD2f5twu','mci+cJXKAwm','ihbSAxn0ifa','u3rHCNrLza','y2nZyxe','ihrVihnWzwm','ihnLCNzPy2u','uNvUigbJBge','ihn0B3aU','yxbZAg90','ueztBLO','Bg9Nugf0Aa','zgv2AwnLswq','BxrwBvm','vw9OCfC','phn0CMLUzZ4','AwvUDerLBwe','uMvSyxLszwm','zgXLigDHDgu','t1bftKnmqvC','zxDHEvf1zxu','yxfpsNO','BuHcDuG','C29YDa','Benszve','tgLICMfYEq','BJOG','BwfYA0rLDMK','z2v0u25HChm','EKD0uNy','D0L6z0G','cIaGpc9HCNi','ywLYuMvXDwu','BvD1uKW','C3rKAw8','v094vxC','z2f0zxDHEvi','ihrVihjLC3q','ndyWsM1iEuLk','DejHC2vezwW','Aw5N','zgvJAxnPB24','ywXSzwq','yMXVy2TLzca','ywnRigLZige','l2TLEt4kica','AwWGz2f0zxC','icbLEgvJig4','zxHWAxjLC0e','AwyGy29TBwe','ihrVA2vUigK','wg5Mrwe','CMvZ','CMvXDwLYzwq','zxDHEs5HDxq','y29UzMLNrM8','C3LZDgvTzc0','A3rVuwS','A2v5CW','ugfPCMLUzYa','BMrnCZ0','zhjVCfn0ywW','DMfPBgfIBgu','q1HQuey','tfPNwwe','yxrLD2f5ihi','DxjS','q0Xpu0LorW','zxvLzcb1BNq','BM8Gy3jVBNq','CMvXDwvZDgu','zfvYBa','yxnZD29Yza','Aw1Hz2uVCg4','ig1LzgLHoIa','u3rHCNrPBMC','y2XLyxjuAw0','DcbKB2vZig4','y291BNq','CMzdru4','igzHAwXLzca','mc4WlJaUma','ww91ignHBIa','z2f0zxDHEq','ChPmCNu','CgLSq1C','Dhjyseu','tenqvgi','zYbWyxrOoIa','pLbYB2DYyw0','sciGCNvUic0','z2f0zxDHEvu','DxnLCM5HBwu','BgKTzxjYB3i','Fdf8mhWXnNW','BMrHCMrpDxq','veTxChm','CgvUzgLUz1a','Ahr0Chm6','lY9bChbSzs8','yNjPzgDLlxm','zxjYB3jmB2C','CMvZDgfYDa','Cg9UzW','igrLy2LZAw8','AxnbCNjHEq','rgv0zwn0zwq','AgfUzhnOywS','y29UBMvJDc4','igf1DgGGAxm','BgLmtuS','y29Uy2f0','DgG8l2TLEt4','zwjVB3qU','Axn0zxi','rNHtvue','zxDHEq','Aw5JBhvKzuu','B3jPz2LU','rgTbt1K','C2vYDMLJzuK','Dxzmy0O','yxbWBgLJyxq','y29UC3rYDwm','tvnsvuO','yNLwrvm','yNjPzgDLlwm','zgv0ywnOzwq','nhWYFdf8mhW','zcbHigXVy2e','rNbNtuC','zgfYEvbLBMq','CMvX','CgvUzgLUz0C','ig5VBMnLtgu','zM9Yy2u','nhW1Fdb8mNW','CgvUzgLUzW','ntmZnti5Bhn5zeDH','ywX1zxmGBgK','C3rHCNq','DMjVEa','uu9tzu4','EKDmtwe','ugjkEgC','zwq9','C2nVBM5Ly3q','jYiNiIC','ANfizgW','AgfZ','Dw5K','r0ncAfi','sw5ZDgfSBgu','CNqGyxv0B20','s0PIsgW','DxbKyxrLu24','u2vYDMLJzsa','ihrVA2vUoIa','tuTvtKu','rxjYB3iGBg8','zw1WDa','D3nZoG','CxvLC3rDihi','zxDHEsbvuKW','y3rVCNK9','BgfZDca8mM0','DMv0Aa','D2DvBNC','rNDeuLO','DgfYDgvKige','Bg9VCgjHy2S','B24GzMfPBgu','B3j0pL0GwY0','z2vYihrVihi','qMfJA2DYB3u','AfL5tfq','v3boBKS','ywLYzwqGD2K','s3jez08','zxDHEsbYzw0','B2zM','CIbWyxnZD28','zxK+cIaGphq','u2vYDMvYifu','EfDdrw8','C2nVCMu','AxjZDc4Gq28','z2f0zxDHEum','CMvQzwn0zwq','lwPZB25D','y2XVC2vKoIa','tLf5wwi','t3bLBKnSyxC','Ahr0CdOVlW','DhvU','pg5VBMu+','lMnSyxDRzxq','ugfZC3DVCMq','Dw5Yzwy','DgHLigjYAwq','AgfSBgvUz2u','C3bVBNnLigi','u3rYAw5N','BwvZC2fNzxm','CxvLC3rjzd0','yxrPB24U','tvHKBM4','A2uGmZbZlca','B3iGmwqU','q2XHD2TLDca','zcbZAw5Jzum','y3rPDMf0Aw8','DgvK','C2vHCMnO','wuPNAw8','Dhn0uxq','Aw5KzxHpzG','Cgf0Aa','zxjYB3i','BwfYA1bHAxi','ls1NyxrLD2e','C2vHCMnOuge','Bgf3A2v0iha','Dg9mB2nHBgu','vg9Rzw5gB3u','r2PHzhi','tvb4Bei','Dw50Aw1Llxa','u3rHCNrLzca','wfrtr1q','ugfPCIbYzwC','CMPswuu','zfnKqKu','yxj0','Bwf0y2G','DhDHCMvCtwK','ywPpCK8','Dw5Kyxj5ihi','BMzPzYbWyxq','CNn0lcbVCIa','Cujbu3e','BMvZidWYmda','igjPBMfYEt0','zgLUzZ0Ivvq','ihjLCxvPCMu','Df9YzwXHEv8','qNjPzgDLigK','AgvSCa','tg9JywWGt3a','mtv8nxW0Fdi','iffsigLUihq','sxDWrhi','tIbjucbHzgq','y2XHD2TLDc0','ks4GuNvUici','BM9VCa','y29UzMLNuge','C2vYDMvYidW','EwvZ','yLDevhq','B3iGDxnLige','CMvSyxLdB24','CMv0','zxj2AwnLlwW','sMr0DxK','q2XP','C3rVChbLza','v3bAuwC','BM90igLUC3q','AgfUzgXLr2e','C2vYDMvYlw0','y3rLzcbJB2q','BgvUz3rO','zxrYEvrPBwu','CLHbwwS','BwfUzfn0yxi','y2XPzw50rgu','AYbPCYbHDMe','qM1VwKm','Bgf1BMnOy3q','ig1VzguGDg8','BxbSzqPfEgu','C3zHufK','yw5KihbHC3m','DgfPBhmSig8','C2XPy2u','CNvUlxjLz2K','y3jLyxrLv2u','DeD5q20','vNzXqM0','C2HPzNq','CgfYyw1Z','yxLnzxnZywC','lMfP','CxjjBwfNzva','CMvNAxn0CNK','AxnjBNrLz2u','igXV','zwfJAgvKoYa','BMD0Ad0','zwqGyMfJA2C','r2DOsvy','zunMDgi','zxrOB2q','B25Uzwn0Aw4','qvripsi','Ee1HDxK','zxjZAw9Uxfi','B3rOzxjuzxG','zgLZy29UBMu','CNvUifSTlwC','ywX1zsaI','qNfJAe8','D2f5uMvXDwu','CNr1CcbYzwC','lxnLCNzPy2u','rMfPBgvKihq','zw1HAw5Zig4','ygnSyxDRzxq','CNvUiIbTyw4','C3rVCeHLyxi','ihrVA2vUig8','DhLWzq','BM9Uy2vqCMu','CKrvwM0','z25my1e','yw5Ktxm9','C3rYAw5N','BgfIzwW','B25HBgX5ihC','ANnVBG','rM91BMq','zxHPDenVzgu','yMTYv0O','zxnVBhzLza','zxnOignSAwu','CMvHy2HHyMW','CMvJDxjZAxy','DgvYpw5LDhC','ExngCeC','zxrcCMLKz2u','zgvK','CMvSyxKGzgK','uMvSyxKGvvi','B2nRzxq','B3jKks4','qxjNDw1LBNq','C3rKzxjY','CM9U','DufRwM0','yxDKBa','ANnKyLy','CNvUBMLUzW','icbLEgvJici','qxrnCW','wujADNG','Bwf4','EMjIv3m','zuLKBgvhyxq','EsbLBMrWB2K','Bgf1BMnOywC','C3bSAxq','CMvSyxKGy2W','zK9QCwK','A2LSBa','zxnJCMLWDgK','Bg9ZzujVDw4','B250ywLUzxi','yNjPzgDLihi','CMvZAgvKlG','C2vYDMvYvxi','s0jKvuy','DMLJzq','qLHKrK0','yxv0AcbWyxq','DwHvtwC','sd0I','Aw5Qzwn0zwq','jMD0oW','C3rVCa','C3zAy2i','lMXVzW','yxnL','A2LUza','jNf1B3q7','ue9Jy2O','C25HChnOB3q','idi+pIa','BMqGlxyGBM8','v1zfBNe','CM9TigeGzgK','jJe7ihrOzw4','B3b0Aw9UCW','C2vUza','zsb5B3vYigm','Et5mywjLBdW','zsbdteKkqwy','zxqUyNjPzgC','C2vYDMvY','vgHPCYbOB3m','cGPBsw5ZDge','Dw4Gq2XHD2S','CgLK','wY0TANnVBL0','C2v0vgLTzw8','DMLJzsbJBgu','Cgf0AdOG','DfrPBwvY','EsbPzIb5B3u','ls1QC29Uxq','BM5Ly3rLzca','BMqGC2vYDMK','ze5iDfe','pgTLEt5tDge','Dgv3yxLnzxm','B249q2XHD2S','ywnJzxb0','ugf0AdOG','id4MmG','u0LgtLe','Dw5UAw5N','BM93','l3DZ','zevYCM9Ypwe','AwyGwYaTEca','BNvTyMvY','AxmGy3vZDg8','CvPqENu','CMvSyxKGCMu','yw1L','zwqU','y29UDgvUDc0','y3qGAgfUzhm','Axjszxf1zxm','yNjPzgDLlq','CMnLycbVBMW','BM90igjLihm','BwuSigj1Dca','B25tDgf0Dxm','igfSC28GAgK','Axn0lteUmc4','A29XEKm','Be5iEvi','z2f0zxDHEvq','t3rnqLa','ihPLCM87igC','zxjZ','ihvYBd0','zgv0ywLSCW','BuLkBKO','DhjPBq','zgv2AwnL','DhjSk0mGDg8','B1z3Bxu','qu1yuwy','id4+ia','Axnoyu4','y2HHBMDLzc4','z2f0zxDHEva','ChbLzc4GuMu','zsbUzxCGCge','z2uGCNvUDgK','pL0GwY0TBgK','svrlrgW','zcWGyNv0ihm','B3nLzdOG','Be1Z','B25Uzwn0','iurpq1rzueu','ywnJzxnZq28','zxHWBgLJAxq','ig1HBMfNzxi','yNjPzgDLlxi','BgLZDa','BMvJDgvK','BgKUANnVBG','CMvN','CNzLCI4','zxnZig1HBMe','zLfWqxi','Bgf3A2v0ihi','BMCUieXLzNq','CMLWDcbWyxq','ALLVwve','q2fUBM90igm','uMvXDwvZDfi','z3rO','y29UBMvJDfi','y29UzMLN','yxrO','Bwv0Ag9K','wNrKAve','zgvfEhbPCMu','l2fJy2vZCY0','BwvKAwe','ktOG','zcbIywnRz3i','ls1Syxn0','lM9Wzw5JBge','seTdvvXtB2y','AxmTywn0Axy','AxngAw5PDgu','DgGGiI0TCMu','vufXtKy','whHkz0C','BM5xD0e','B25SAw5LlNq','u0Lhsu5u','zw50CMLLCW','zM91BMqGDw4','CgfPCMLUzYa','CwLPzuq','Bg9JywXhyxq','lJaUmc4XoJe','CI1MAwXLidW','qvriiIbDoYa','C2vUzfrVr2e','D2HLCMu','ihjLCuLKpq','CM9JzxnZzxm','iI4GvxnLihy','zg9JDg9Y','yxrLD2f5lxu','DgfYDdOG','CYbHBhjLywq','yxKGCMvJB24','C2fNzq','zxDHEvjLywm','y3jLyxrLzee','vgHPCYbICMK','BsbNyxrLD2e','q0Pcyve','B2j5ree','x1bbu1nxt1i','ywLYzwqUifi','AxnJB25Uzwm','t21wB3m','BIWGyw5Kihq','BwfYz2LU','rNvLvvq','mJaW','zcbXDwv1zwq','BMuUDgfYz2u','AguGyNjPzgC','zxjYB3jdB3i','zs5JBgK','mJGWnJKWBxr0BuTm','ihjLz2LZDhi','yxKGCxvLDwu','zcbKzwXHEu0','l3yXl3bHAxi','CMvSyxLbDhq','tgf1BMnOqwC','ls1Uyw1L','uKW6ia','sNDSDMS','B3vUzcbZzxi','tM5IzLK','Dg9tDhjPBMC','u1qGms4WlY8','B2r5','y1n0yxj0pq','B3vUDa','CMvSyxLtB2m','ls1QC29U','AxnhyxrLD2e','lw5LDW','suq6ia','u2Tdt1i','CMvMCMvZAc0','ls1XCI1MAwW','pd94BwWGDMu','BhDVtKm','BM5Ly3qGyxq','zgvSzxrL','mZGZodm0vNfhshHK','lI4U','vvjmoIa','y2yTBwL0AwC','BMqU','CxiTzMLSzsa','tM8GBwf0y2G','yNzdwxG','zxzLCNK','r2f0zxDHEtO','u0Lhvevstq','C2DZAhK','ienmssbZzxi','Aw5ZDgfSBa','rwnjyMe','D09jDK0','sxbywhG','Awz5igeGy3u','D2TLDcbKB2m','Aw5ZDgfSBgu','renUy1i','CMvSyxLtzwm','AgvHzgvYCW','uKvhx1nA','ywrKCMvZCW','y2XPzw50igq','tMj5qK0','B2f1qxG','Dw5sEu4','De1HEerLBge','C3nHz2vZ','B3vYignVBNq','zhKGCNvUBMK','zwXVywq','zgvMyxvSDeC','Dg9mB3DLCKm','ywrKugvUzgK','BwuGBM90igy','BwvZC2fNzq','CMvJzw50','C3rPBgWGCNu','sw52ywXPzca','zMLUza','igHHCYbIB3q','zsbYDw50Aw0','x1rps0vo','wwzJshm','AxmGC2fMzxq','ig9Yia','DgLTzw91Da','BIbMywLSzwq','DePXDgS','ignSAwvUDhm','Dg9eyxrHvvi','vLfJywK','z2f0zxDHEuG','uhbdwey','y29TBwfUzca','uKLqvf9qqvq','zwrcEt1Kzwy','r2vUzxjHDgu','Dgv3yxLdB24','BgLLBNrezw0','uM5oBhy','z3rgC3q','vgLOu2m','CMvJDgLVBKW','B2nHBcbBls0','ChvZAfbLBMq','CgfPCMvK','CMvWBgfJzq','DunNse8','Cgf2vLa','y2XPzw50q28','A3n6u1e','zt1WyxnZD28','zwqGka','CMvHzhLtDge','zg9JDg9YifS','ieLeoIa','r3LkwvO','BM90ihbHAxi','CLf1zxvLr2e','DxnLCG','luTjteW','z2f0zxDHEuK','AcbMB3iGC2u','zsbJB3vSzca','mtCYotKYzgnysKHb','DgvTChq9','mM0SidfOlca','yxr0zw1WDd0','zw5JB2rPBMC','igf0ia','C2nOzwr1Bgu','ihrYyw5ZAwu','r2f0zxDHEvi','D29YzcbJB24','BgLUDxG','DMLJzsbMB3i','z2vUzxjHDgu','yxbWBhK','A2vtDgfYDgu','zsbdBgf3A2u','Cgn0ENm','D2LUzg93CY0','C3rHDgu','Aw9Ul2PZB24','w3bHAxiTCMu','DgfSBgf0Aw8','ohW2FdeZFdK','q2XLyxjLzca','C2v0','ywWGwY0TDxi','A1nJsKW','DaPxyw50CZ0','DMvYC2LVBG','wgX5Beu','zwr3u0i','ica8yxjYyxK','B2nHBcbpCgu','AwmGzMfSBgi','zMLNDxjLzcW','z2f0zxDHEsa','lIbsDw4GCge','igjYAwrNzsa','kYKRja','v0zVvee','lNbSAxn0','Dg9Y','C3rHDhvZ','AwXHyMXLoIa','y29KzsbYzwy','tK9erv9qqvq','AxbZzwm','C2vYDMLJzq','EfLvu0y','w3n0yxr1C10','zxqGAw5ZDge','lvrfuK0','DgXZ','u0nssvbux1a','BMvJDgLUzW','ywiGzM9Y','zxjLBNqGC2u','C3rHCNrizwe','zNnXEMi','yNjPzgDL','uMvZDgfYDfm','zxHJBhvKzva','EufJDgL2Axq','y2XVC2u','BgLZDcb2zxi','CMLKz2vdBgK','CgXHDgzVCM0','zxK+uNvUqxq','BYbYzxnVBhy','D2LUmZi','ExbHC3mGDgG','vevyzNm','w1vUAxrDcKq','zwXHChnLzfm','BMDqywLYuMu','uvrUsMy','zcbHBMqGBM8','D3m6','EM1ztu0','wxDOC1C','CMvSyxKGAgu','zMLSDgvY','BKnSyxCGChi','yxbWCM92zva','DgfPBhnJywW','icaGidXZDhi','vwLmwfC','ig1LDgHVzd0','Dw5Cq2XHD2S','ywXSzw5Nzsa','mJHVrvzvu0K','CMvXlq','AhDjrwe','zxj2AwnLige','y2uU','zM9YzsbWywK','CgfZC3DVCMq','igrPCJOG','ls1Zzxj2zxi','Eu9Wzw4','A2LUz0rPCMu','uLfnv3e','AgL2uKu','qhjLyM9VDca','DM1Uzxq','zvfSrMK','Dgv3yxK','vwjQrLu','Cgf5Bg9Hza','DgfZA2TPBgW','zK1IBfe','ywnRz3jVDw4','zxDVugC','AxnTyxrJAa','CMLUzYbJB2q','y2uGCMvNAxm','qxDxy1u','Aw5NpG','B25Uzwn0u3q','C3rZ','DgLTzwqGB3u','C3rHBgXHDgK','yxbWCM92zwq','BM9KzvbHDgG','ihrOzsbWywK','zwrOwwi','B25qzw5KAw4','BgfZDfjLBge','ihjLBgf5pq','igrLDMLJzuK','A2v0ig9Uihi','zcbPCYbTAxm','B3jRlw9UBgK','zwnOBYaIBM8','tvbwzwS','CMvSyxLvCMW','ohWZFdj8mhW','igzVCIbNyxq','ls1Syxn0ihy','zgv2AwnLtMe','jMX0oW','CYbTAxnZAw4','EsbruIbPBIa','u2vYDMLJztO','DgfSBgvKigi','y29KzsbBls0','zxHPDcaXmJC','lMPZB24','CgLUzW','zxqU','DwLtrve','BYb0ywTLig8','Dw5PBNn0ywW','mte1mxfnEMT4rG','EsbYDw5UAw4','uhL2zvy','BunvuLO','Aw5Nr2f0zxC','B3qGC3vWCg8','DgfW','y2f0y2G','Dg9ju09tDhi','pL0GwY0Tzxi','tMfXEva','qLPjB28','CxvLC3q','BwfW','uKLkvNa','Bg8W','Bgznt2u'];_0x3485=function(){return _0x4c53c7;};return _0x3485();}function escapeXml(_0x3c94e8){const _0x24cdd5={_0x149050:0x2c5,_0xb59cbb:0x366,_0x53f96f:0x6fa,_0x35b3c4:0xaa5,_0x1e0653:0x473,_0x2855e8:0x683,_0x3586ef:0x31f,_0x14201e:0x424,_0x8c2067:0x5ac,_0x2bfb61:0xa50,_0x1c50d8:0x96b,_0x573f26:0x81c,_0x37e115:0x9b2,_0x34b6e8:0x3f8,_0x41f3c8:0x3cb},_0x4e8632={};_0x4e8632[_0x2a5137(_0x24cdd5._0x149050,_0x24cdd5._0xb59cbb)]=_0x54a28a(_0x24cdd5._0x53f96f,0x982),_0x4e8632[_0x54a28a(_0x24cdd5._0x35b3c4,0x96b)]=_0x54a28a(_0x24cdd5._0x1e0653,_0x24cdd5._0x2855e8),_0x4e8632['XlylE']=_0x2a5137(0xfb,_0x24cdd5._0x3586ef);function _0x2a5137(_0xcca1bf,_0x1d5881){return _0x18e10d(_0x1d5881,_0xcca1bf- -0x28e);}function _0x54a28a(_0x4a93f5,_0x199769){return _0x18e10d(_0x4a93f5,_0x199769-0x300);}const _0x403e98=_0x4e8632;return _0x3c94e8['replaceA'+'ll']('&',_0x403e98[_0x2a5137(0x2c5,0xdb)])[_0x2a5137(_0x24cdd5._0x14201e,_0x24cdd5._0x8c2067)+'ll']('<',_0x2a5137(0x29e,0xc3))[_0x54a28a(0x9d2,0x9b2)+'ll']('>',_0x403e98[_0x54a28a(_0x24cdd5._0x2bfb61,_0x24cdd5._0x1c50d8)])[_0x54a28a(_0x24cdd5._0x573f26,_0x24cdd5._0x37e115)+'ll']('\x22',_0x403e98[_0x2a5137(0x22f,_0x24cdd5._0x34b6e8)])[_0x2a5137(0x424,0x297)+'ll']('\x27',_0x54a28a(_0x24cdd5._0x41f3c8,0x4f1));}function escapeSystemdArg(_0xf0b11f){const _0x324423={_0x4f4db5:0x906},_0x120500={_0x57998a:0x254};function _0x4f0d90(_0x5e84c8,_0x1a799f){return _0x18e10d(_0x5e84c8,_0x1a799f-_0x120500._0x57998a);}return'\x22'+_0xf0b11f[_0x4f0d90(0x930,_0x324423._0x4f4db5)+'ll']('\x5c','\x5c\x5c')['replaceA'+'ll']('\x22','\x5c\x22')+'\x22';}function escapeWindowsArg(_0x55d284){const _0x32132b={_0xe0a25a:0x114},_0x31d27e={_0x238091:0x378};function _0x12f86d(_0x17d27e,_0x5bc97a){return _0x18e10d(_0x17d27e,_0x5bc97a- -_0x31d27e._0x238091);}return'\x22'+_0x55d284[_0x12f86d(_0x32132b._0xe0a25a,0x33a)+'ll']('\x22','\x5c\x22')+'\x22';}function commandSucceeds(_0x1a92cd,_0x2131d0){const _0x48e2f2={_0x526455:0x528,_0x2ce113:0x63c,_0x3b471e:0x231,_0x1179fa:0x3d5,_0x174198:0x2b4},_0x8403b1={_0xeda265:0xd6},_0x251d8f={_0x55032e:0xca};function _0x24dcad(_0x2ef882,_0xfb1723){return _0x9d3486(_0xfb1723,_0x2ef882- -_0x251d8f._0x55032e);}const _0x4f1bbc={};_0x4f1bbc[_0x1e3677(0x70b,_0x48e2f2._0x526455)]=_0x24dcad(0x77b,_0x48e2f2._0x2ce113);function _0x1e3677(_0x6c12fd,_0x29559c){return _0x9d3486(_0x6c12fd,_0x29559c- -_0x8403b1._0xeda265);}const _0xb0a2af=_0x4f1bbc;try{const _0xd9ff26={};return _0xd9ff26[_0x1e3677(_0x48e2f2._0x3b471e,_0x48e2f2._0x1179fa)]=_0xb0a2af[_0x24dcad(0x534,_0x48e2f2._0x174198)],execFileSync(_0x1a92cd,_0x2131d0,_0xd9ff26),!![];}catch{return![];}}function commandExists(_0x43c947){const _0x1d60b0={_0x3b0f00:0x85c,_0x426f6b:0x633,_0x19c7a3:0x552,_0x3c1576:0x6ea,_0x4cea73:0x688,_0x40909a:0x4fa,_0x33eddf:0x41d},_0x1ba033={'Jwlvk':function(_0x49edca,_0x43e43a){return _0x49edca===_0x43e43a;},'qWRBh':function(_0x587679,_0x116ec5,_0x311da8){return _0x587679(_0x116ec5,_0x311da8);},'kScJL':_0x44c3c8(_0x1d60b0._0x3b0f00,_0x1d60b0._0x426f6b),'yBnoY':function(_0x162cde,_0x269ae3){return _0x162cde(_0x269ae3);}};function _0x360f97(_0x306f7b,_0x4c0231){return _0x9d3486(_0x306f7b,_0x4c0231- -0x78);}function _0x44c3c8(_0x3bf509,_0x1d3cf0){return _0x9d3486(_0x3bf509,_0x1d3cf0- -0x5b);}if(_0x1ba033[_0x44c3c8(_0x1d60b0._0x19c7a3,0x659)](process[_0x360f97(0x94f,_0x1d60b0._0x3c1576)],'win32'))return _0x1ba033['qWRBh'](commandSucceeds,_0x1ba033[_0x44c3c8(0x816,0x6df)],[_0x43c947]);return commandSucceeds('sh',['-c',_0x44c3c8(_0x1d60b0._0x4cea73,0x6a6)+_0x44c3c8(_0x1d60b0._0x40909a,_0x1d60b0._0x33eddf)+_0x1ba033['yBnoY'](escapeShellWord,_0x43c947)]);}function execIgnoreFailure(_0x13a2da,_0x4969b5){const _0xac5b3b={_0x7f72a:0x1be,_0x4e0dcc:0x1e,_0x3f64dd:0x2cc},_0x40e185={_0x12401e:0x54e};function _0x12ecc0(_0x17721d,_0x1c8493){return _0x9d3486(_0x17721d,_0x1c8493- -0x4c9);}function _0x2532f5(_0x13269b,_0x151c10){return _0x9d3486(_0x13269b,_0x151c10- -_0x40e185._0x12401e);}try{const _0x4120ff={};_0x4120ff[_0x12ecc0(-_0xac5b3b._0x7f72a,-_0xac5b3b._0x4e0dcc)]=_0x2532f5(_0xac5b3b._0x3f64dd,0x2f7),execFileSync(_0x13a2da,_0x4969b5,_0x4120ff);}catch{}}function rmIfExists(_0x8a819d){const _0x8659dd={_0x252c8f:0x191,_0x2193d9:0x21d,_0xa9f883:0x10c};function _0x1b58db(_0x2ff71c,_0x5c212f){return _0x18e10d(_0x5c212f,_0x2ff71c- -0x73);}function _0x3bc79f(_0x2bcada,_0xa1f1c2){return _0x18e10d(_0xa1f1c2,_0x2bcada-0x229);}const _0x292f13={'bzRxi':function(_0x1c05e5,_0x2819fc){return _0x1c05e5(_0x2819fc);}};if(!_0x292f13[_0x1b58db(_0x8659dd._0x252c8f,-0xb0)](_0x24df45,_0x8a819d))return;const _0x4c09d7={};_0x4c09d7[_0x1b58db(_0x8659dd._0x2193d9,_0x8659dd._0xa9f883)]=!![],_0x2b3275(_0x8a819d,_0x4c09d7);}function isMissingCrontabError(_0x5e98f0){const _0x58f86a={_0x1bfdca:0x39,_0x5bb6c4:0x13b,_0x1d36c6:0x594,_0x4a9c51:0x53b,_0x227f96:0x34f,_0x5d2258:0x85d,_0x1ad811:0x5d8,_0x20fa10:0x11b,_0x462af5:0x3c4,_0x196323:0x557,_0x209d42:0x37,_0x3fd1f8:0x11f,_0x3c1959:0x181,_0x300bc1:0xa8,_0x5e5f83:0x4f8,_0x2e8964:0x5d1,_0x1717cc:0x291,_0x2a4a00:0x88},_0x332de9={_0x2bc8ac:0x17f},_0x224262={};_0x224262[_0x50d9df(-0x139,_0x58f86a._0x1bfdca)]=_0x50d9df(0x33e,_0x58f86a._0x5bb6c4),_0x224262[_0x2ebd59(_0x58f86a._0x1d36c6,0x5d1)]=_0x2ebd59(_0x58f86a._0x4a9c51,_0x58f86a._0x227f96)+_0x2ebd59(_0x58f86a._0x5d2258,_0x58f86a._0x1ad811);const _0x1f9fe2=_0x224262;function _0x2ebd59(_0x498627,_0x42ce65){return _0x9d3486(_0x498627,_0x42ce65- -_0x332de9._0x2bc8ac);}if(!(_0x5e98f0 instanceof Error))return![];const _0x5505e1=_0x5e98f0['message'][_0x50d9df(0x11b,0x44)+'ase'](),_0x115916=_0x5e98f0[_0x2ebd59(0x246,0x465)];function _0x50d9df(_0x2aec34,_0x177196){return _0x9d3486(_0x177196,_0x2aec34- -0x5d0);}const _0x865fac=typeof _0x115916==='string'?_0x115916[_0x50d9df(_0x58f86a._0x20fa10,-0x16e)+'ase']():Buffer[_0x50d9df(0x347,_0x58f86a._0x462af5)](_0x115916)?_0x115916['toString'](_0x1f9fe2[_0x2ebd59(_0x58f86a._0x196323,0x318)])['toLowerC'+_0x50d9df(_0x58f86a._0x209d42,-_0x58f86a._0x3fd1f8)]():'';return _0x5505e1[_0x50d9df(-_0x58f86a._0x3c1959,_0x58f86a._0x300bc1)](_0x1f9fe2[_0x2ebd59(_0x58f86a._0x5e5f83,_0x58f86a._0x2e8964)])||_0x865fac[_0x2ebd59(_0x58f86a._0x1717cc,0x2d0)](_0x1f9fe2[_0x50d9df(0x180,-_0x58f86a._0x2a4a00)]);}function formatError(_0x1d3635){const _0x3ee9a6={_0x134206:0x56b},_0x13afd9={_0x322295:0x226},_0x2b215a={_0x5dfb66:0xfd};function _0x379d09(_0x33f89f,_0x10e332){return _0x18e10d(_0x10e332,_0x33f89f-_0x2b215a._0x5dfb66);}function _0x22796d(_0x317715,_0x4488b2){return _0x18e10d(_0x4488b2,_0x317715-_0x13afd9._0x322295);}if(_0x1d3635 instanceof Error&&_0x1d3635[_0x379d09(_0x3ee9a6._0x134206,0x5e7)])return _0x1d3635[_0x22796d(0x694,0x7ec)];return String(_0x1d3635);}import{existsSync as _0x463ea3,readFileSync as _0x3a8777}from'fs';function _0x9d3486(_0x5f593f,_0x35fd04){return _0x351d(_0x35fd04-0x2f5,_0x5f593f);}import{homedir as _0x3d578c}from'os';import{join as _0x7251ee}from'path';var DEFAULT_GATEWAY_URL='ws://127'+_0x18e10d(0x5ef,0x40a)+'8789';function resolveGatewayUrl(_0x7b7015){const _0x19064d={_0x458504:0x2af,_0x54bf3b:0x2b4,_0x1597b2:0x79,_0x1e7cc4:0x3f,_0x57013a:0x219,_0x4c1d2c:0x20c},_0x57b943={_0x442bb1:0x448},_0x4eb61d={};_0x4eb61d[_0x1f3cae(_0x19064d._0x458504,0x2cd)]=function(_0x272570,_0xd98499){return _0x272570===_0xd98499;};const _0x10e641=_0x4eb61d,_0x117b32=_0x7b7015?.[_0x411719(-_0x19064d._0x54bf3b,-0x7d)]();if(_0x117b32)return _0x117b32;function _0x411719(_0x49676c,_0x55b931){return _0x18e10d(_0x49676c,_0x55b931- -_0x57b943._0x442bb1);}const _0x3bfdc2=readOpenClawInfo();function _0x1f3cae(_0x1bc267,_0x221936){return _0x18e10d(_0x1bc267,_0x221936- -0x1ba);}if(_0x10e641[_0x411719(_0x19064d._0x1597b2,_0x19064d._0x1e7cc4)](typeof _0x3bfdc2[_0x1f3cae(0x6,_0x19064d._0x57013a)+_0x1f3cae(0x5c8,0x49a)],_0x411719(0x38,-0x96)))return'ws://127'+'.0.0.1:'+_0x3bfdc2['gatewayP'+_0x411719(0x2c5,_0x19064d._0x4c1d2c)];return DEFAULT_GATEWAY_URL;}function readOpenClawInfo(){const _0x1cdfcd={_0x2bb2d9:0x1f8,_0x3e6220:0x14b,_0x2ac0ba:0x3c0,_0x21ad19:0x83d,_0xf103f3:0x9c,_0x20094d:0x43,_0x451cca:0x39,_0x135cc7:0x1a8,_0x46ba3b:0x589,_0x3501eb:0x189,_0x15fc94:0xed,_0x4c80bb:0x1e,_0x21d61e:0x26b,_0x40015b:0x657,_0x4a1dee:0xfd,_0x1366c2:0x97,_0x40f3f4:0x405,_0x5d92b1:0x3a,_0x304c99:0xf,_0xa18d56:0x14b,_0x1610fe:0x38e,_0x1713b9:0x225,_0x886d3e:0x13e,_0x433b09:0x4b4,_0x452b5c:0x405,_0x25aa9a:0xb8,_0x3fb747:0x26b};function _0x2ebc49(_0xe9653,_0x181ca6){return _0x18e10d(_0xe9653,_0x181ca6- -0x295);}const _0x331d3e={'PWCMQ':function(_0x5ceb31,_0x1b4878){return _0x5ceb31===_0x1b4878;},'byVES':function(_0x6ba825,_0x5df439){return _0x6ba825(_0x5df439);},'cyhIe':function(_0xab1b02){return _0xab1b02();}};function _0x14602d(_0x5479d3,_0x15cfd2){return _0x18e10d(_0x15cfd2,_0x5479d3- -0x111);}const _0x1c0f6c=resolveOpenClawPaths();if(!_0x463ea3(_0x1c0f6c[_0x14602d(_0x1cdfcd._0x2bb2d9,0x3f5)+'th']))return{'configFound':![],'gatewayPort':null,'authMode':null,'token':readGatewayTokenEnv(),'password':readGatewayPasswordEnv()};try{const _0x263f56=JSON[_0x14602d(0x52a,0x698)](_0x3a8777(_0x1c0f6c[_0x2ebc49(0x67,0x74)+'th'],_0x2ebc49(0x316,0x3f9))),_0x488ba2=_0x263f56[_0x14602d(_0x1cdfcd._0x3e6220,_0x1cdfcd._0x2ac0ba)]?.[_0x14602d(0x5c7,_0x1cdfcd._0x21ad19)],_0x45b7b0=typeof _0x488ba2==='number'&&Number[_0x2ebc49(-0x195,_0x1cdfcd._0xf103f3)+'r'](_0x488ba2)?_0x488ba2:null,_0x10b50f=_0x263f56[_0x2ebc49(-_0x1cdfcd._0x20094d,-_0x1cdfcd._0x451cca)]?.[_0x14602d(0xed,_0x1cdfcd._0x135cc7)]?.['mode']===_0x14602d(_0x1cdfcd._0x46ba3b,0x648)||_0x331d3e['PWCMQ'](_0x263f56[_0x2ebc49(_0x1cdfcd._0x3501eb,-_0x1cdfcd._0x451cca)]?.[_0x14602d(_0x1cdfcd._0x15fc94,-0x80)]?.['mode'],_0x2ebc49(-_0x1cdfcd._0x4c80bb,_0x1cdfcd._0x21d61e))?_0x263f56[_0x2ebc49(0x24a,-0x39)]['auth'][_0x14602d(0x452,_0x1cdfcd._0x40015b)]:null,_0x40bbac=readConfiguredSecret(_0x263f56[_0x14602d(_0x1cdfcd._0x3e6220,0x7b)]?.[_0x2ebc49(-_0x1cdfcd._0x4a1dee,-_0x1cdfcd._0x1366c2)]?.[_0x2ebc49(0x3d4,_0x1cdfcd._0x40f3f4)])??readGatewayTokenEnv(),_0x46aa74=_0x331d3e[_0x2ebc49(-_0x1cdfcd._0x5d92b1,-_0x1cdfcd._0x304c99)](readConfiguredSecret,_0x263f56[_0x14602d(_0x1cdfcd._0xa18d56,0x2ad)]?.['auth']?.[_0x14602d(0x3ef,_0x1cdfcd._0x1610fe)])??readGatewayPasswordEnv(),_0xddb68={};return _0xddb68['configFo'+_0x14602d(0x18e,0x3d0)]=!![],_0xddb68[_0x2ebc49(_0x1cdfcd._0x1713b9,_0x1cdfcd._0x886d3e)+'ort']=_0x45b7b0,_0xddb68[_0x2ebc49(0x2a4,0x308)]=_0x10b50f,_0xddb68[_0x2ebc49(_0x1cdfcd._0x433b09,_0x1cdfcd._0x452b5c)]=_0x40bbac,_0xddb68[_0x2ebc49(_0x1cdfcd._0x25aa9a,_0x1cdfcd._0x3fb747)]=_0x46aa74,_0xddb68;}catch{return{'configFound':!![],'gatewayPort':null,'authMode':null,'token':_0x331d3e['cyhIe'](readGatewayTokenEnv),'password':readGatewayPasswordEnv()};}}function resolveGatewayAuth(){const _0x32700f={_0x1b9c1b:0x647,_0x80c275:0x643,_0xd734ef:0x8e5,_0x387c93:0x7b4,_0x5c56e2:0xa6a,_0x2f619f:0x564,_0x274209:0x7d7,_0x1321ef:0x58d,_0x1d5a67:0x63b,_0xf3bdc6:0x919,_0x146f77:0x7e0,_0x5b71e1:0x80e,_0x57744d:0x594,_0x27eb7c:0x7f7,_0x5b2cf9:0x8dd,_0x36aefd:0x526,_0x22038e:0x959,_0x57a02c:0x645,_0x21cb82:0x54d,_0x4d428b:0x4ac,_0x1efa8d:0x72a,_0x22e869:0x3e1,_0x3a09f3:0x158,_0x29b331:0x95e,_0x1535dc:0x5f0,_0x1f04b9:0x201,_0x45b91b:0x600,_0x2d2675:0x899,_0x3bf08f:0x743,_0xf538b8:0x4ef,_0x698245:0x3e1},_0x23cdf4={_0x10ee4e:0x243};function _0x560044(_0x2b7c39,_0xf0fd87){return _0x18e10d(_0x2b7c39,_0xf0fd87-_0x23cdf4._0x10ee4e);}const _0x596d1d={'XuTIn':function(_0x435b67){return _0x435b67();},'IoBuW':_0x560044(0x2cb,0x50c)+'\x20has\x20bot'+_0x3c7085(_0x32700f._0x1b9c1b,0x6c9)+'y\x20token\x20'+'and\x20pass'+'word\x20con'+_0x3c7085(0x552,_0x32700f._0x80c275)+_0x560044(_0x32700f._0xd734ef,0x7a7)+_0x560044(0x5a5,0x482)+_0x560044(0x8d7,_0x32700f._0x387c93)+'s\x20unset.'+_0x560044(_0x32700f._0x5c56e2,0x85d)+_0x560044(0x667,_0x32700f._0x2f619f)+_0x560044(_0x32700f._0x274209,_0x32700f._0x1321ef)+_0x560044(0x422,0x501)+'rd\x20befor'+_0x3c7085(_0x32700f._0x1d5a67,0x79f)+'g.','scmGO':function(_0x2b61b5,_0x29e5d1){return _0x2b61b5===_0x29e5d1;},'TKWps':'password'},_0x1f30ab=_0x596d1d['XuTIn'](readOpenClawInfo);function _0x3c7085(_0x5b58c8,_0x5537e8){return _0x18e10d(_0x5537e8,_0x5b58c8-0x90);}const _0x413910=_0x1f30ab[_0x3c7085(0x72a,_0x32700f._0xf3bdc6)],_0x42aa9d=_0x1f30ab[_0x3c7085(0x590,0x746)];if(_0x413910&&_0x42aa9d&&_0x1f30ab[_0x560044(0x837,_0x32700f._0x146f77)]==null){const _0x478ba8={};return _0x478ba8['token']=_0x413910,_0x478ba8[_0x3c7085(0x590,_0x32700f._0x5b71e1)]=_0x42aa9d,_0x478ba8[_0x560044(0x7f1,_0x32700f._0x57744d)]=_0x560044(_0x32700f._0x27eb7c,_0x32700f._0x5b2cf9),_0x478ba8[_0x560044(0x6e5,_0x32700f._0x36aefd)]=_0x596d1d['IoBuW'],_0x478ba8;}if(_0x596d1d[_0x3c7085(0x6e0,_0x32700f._0x22038e)](_0x1f30ab[_0x560044(0x59e,_0x32700f._0x146f77)],_0x596d1d['TKWps'])){const _0x180bf6={};return _0x180bf6['token']=null,_0x180bf6['password']=null,_0x180bf6[_0x560044(_0x32700f._0x57a02c,_0x32700f._0x57744d)]=null,_0x42aa9d?{'token':null,'password':_0x42aa9d,'label':_0x596d1d[_0x560044(_0x32700f._0x21cb82,_0x32700f._0x4d428b)]}:_0x180bf6;}if(_0x1f30ab['authMode']==='token'){const _0x487704={};return _0x487704[_0x3c7085(_0x32700f._0x1efa8d,0x697)]=null,_0x487704['password']=null,_0x487704[_0x3c7085(_0x32700f._0x22e869,_0x32700f._0x3a09f3)]=null,_0x413910?{'token':_0x413910,'password':null,'label':_0x3c7085(0x72a,_0x32700f._0x29b331)}:_0x487704;}if(_0x413910){const _0x256e70={};return _0x256e70['token']=_0x413910,_0x256e70[_0x560044(_0x32700f._0x1535dc,0x743)]=null,_0x256e70[_0x3c7085(0x3e1,_0x32700f._0x1f04b9)]='token',_0x256e70;}if(_0x42aa9d){const _0x5d9d1c={};return _0x5d9d1c[_0x3c7085(0x72a,_0x32700f._0x45b91b)]=null,_0x5d9d1c[_0x560044(_0x32700f._0x2d2675,_0x32700f._0x3bf08f)]=_0x42aa9d,_0x5d9d1c['label']='password',_0x5d9d1c;}const _0x4c88fa={};return _0x4c88fa[_0x3c7085(0x72a,_0x32700f._0xf538b8)]=null,_0x4c88fa['password']=null,_0x4c88fa[_0x3c7085(_0x32700f._0x698245,0x1cf)]=null,_0x4c88fa;}function getOpenClawConfigDir(){const _0x110b36={_0x236ae7:0x8e8,_0x4347e4:0x838},_0x44547a={_0x36cd09:0xbc};function _0x3bac(_0x1b16a9,_0xeeadd3){return _0x9d3486(_0x1b16a9,_0xeeadd3- -_0x44547a._0x36cd09);}const _0x1dd7ae={'vgTxk':function(_0x3c5dab){return _0x3c5dab();}};return _0x1dd7ae[_0x3bac(_0x110b36._0x236ae7,_0x110b36._0x4347e4)](resolveOpenClawPaths)['configDi'+'r'];}function getOpenClawMediaDir(){const _0xd989d7={_0x3d9b44:0x86f};function _0x41ae7b(_0x29c3b9,_0x46ba55){return _0x18e10d(_0x46ba55,_0x29c3b9-0x147);}return resolveOpenClawPaths()[_0x41ae7b(0x6e5,_0xd989d7._0x3d9b44)];}function readConfiguredSecret(_0x340eeb){const _0x27ec01={_0x42d1d0:0x790,_0x4b86da:0x7a9},_0x50bc7d={_0xbaac26:0x1bb},_0x3e657d={};function _0x46bc35(_0x3ddc91,_0x1d0b7e){return _0x18e10d(_0x1d0b7e,_0x3ddc91-_0x50bc7d._0xbaac26);}_0x3e657d[_0x46bc35(0x7a9,_0x27ec01._0x42d1d0)]=function(_0x5c151b,_0x214d80){return _0x5c151b===_0x214d80;};function _0x298697(_0x32d37b,_0x17227c){return _0x18e10d(_0x17227c,_0x32d37b-0x21c);}const _0x41b3e9=_0x3e657d;return _0x41b3e9[_0x46bc35(_0x27ec01._0x4b86da,0x7d8)](typeof _0x340eeb,'string')&&_0x340eeb['trim']()?_0x340eeb[_0x46bc35(0x586,0x5ce)]():null;}function readGatewayTokenEnv(){const _0x302ef3={_0x44f04b:0x9a3,_0x1f8f01:0x7f6,_0x46d5ea:0x2d8,_0x498d12:0x90b,_0x2d5c16:0x7ae,_0x1bd783:0x3a8,_0x4de680:0x2ea,_0x29fd4c:0x4c1},_0x4554e0={_0x4147fa:0x141},_0x264d72={'qXJDB':function(_0x57e920,_0x5622c7,_0x197c85){return _0x57e920(_0x5622c7,_0x197c85);},'ysFpG':_0x4f4dab(0x2b4,0x35d)+_0x4f4dab(_0x302ef3._0x44f04b,_0x302ef3._0x1f8f01)+_0x4c6c09(0x4c1,_0x302ef3._0x46d5ea)};function _0x4c6c09(_0x3a3fb9,_0x375393){return _0x18e10d(_0x375393,_0x3a3fb9-0x4c);}function _0x4f4dab(_0x4d69fc,_0x32c7f8){return _0x18e10d(_0x4d69fc,_0x32c7f8-_0x4554e0._0x4147fa);}return _0x264d72[_0x4f4dab(_0x302ef3._0x498d12,_0x302ef3._0x2d5c16)](readEnvValue,_0x264d72[_0x4c6c09(_0x302ef3._0x1bd783,_0x302ef3._0x4de680)],'CLAWDBOT'+'_GATEWAY'+_0x4c6c09(_0x302ef3._0x29fd4c,0x231));}function readGatewayPasswordEnv(){const _0x2edbe1={_0x5562a2:0x818,_0x3736b6:0x87c,_0x154f85:0x977,_0x52b7fe:0xa29,_0x36c77f:0x328,_0xa0eef3:0xfb,_0x1a5998:0xef,_0x24bc1f:0x22a,_0xc7ee6:0x977};function _0x30fdee(_0x431838,_0x7f27d5){return _0x9d3486(_0x7f27d5,_0x431838- -0x376);}function _0x9b0df4(_0x464372,_0x2cb11c){return _0x9d3486(_0x2cb11c,_0x464372-0x42);}const _0x1bae21={'fQLuT':function(_0x276eec,_0x2195d4,_0x1c4ce0){return _0x276eec(_0x2195d4,_0x1c4ce0);}};return _0x1bae21[_0x9b0df4(_0x2edbe1._0x5562a2,_0x2edbe1._0x3736b6)](readEnvValue,_0x30fdee(0x126,0x206)+_0x9b0df4(_0x2edbe1._0x154f85,_0x2edbe1._0x52b7fe)+_0x30fdee(_0x2edbe1._0x36c77f,_0x2edbe1._0xa0eef3)+'D',_0x30fdee(_0x2edbe1._0x1a5998,_0x2edbe1._0x24bc1f)+_0x9b0df4(_0x2edbe1._0xc7ee6,0x74a)+'_PASSWOR'+'D');}function readEnvValue(_0x114284,_0x4c8855){const _0x3209bf={_0x53b423:0x7f},_0x3a9b8a=process.env[_0x114284]?.[_0x373d5c(0x57d,0x34c)]();if(_0x3a9b8a)return _0x3a9b8a;function _0x373d5c(_0x511405,_0x45b852){return _0x18e10d(_0x511405,_0x45b852- -_0x3209bf._0x53b423);}const _0x110287=process.env[_0x4c8855]?.['trim']();return _0x110287||null;}function resolveOpenClawPaths(){const _0x2d8cab={_0x25bf06:0x522,_0x52bb38:0x450},_0x22085a={_0x5288bf:0xc4};function _0x32fe96(_0x21806d,_0x235634){return _0x18e10d(_0x235634,_0x21806d- -0x22);}const _0x2ed44c={'BZIoo':function(_0x5d7998){return _0x5d7998();}};function _0x586f50(_0x21df32,_0x23f07c){return _0x18e10d(_0x21df32,_0x23f07c-_0x22085a._0x5288bf);}const _0x95e14a=_0x2ed44c[_0x32fe96(_0x2d8cab._0x25bf06,0x4c0)](buildOpenClawCandidates);return _0x95e14a[_0x32fe96(_0x2d8cab._0x52bb38,0x272)](_0x3584e9=>_0x463ea3(_0x3584e9[_0x586f50(0x3ce,0x3cd)+'th']))??_0x95e14a[0x0];}function buildOpenClawCandidates(){const _0x58cc05={_0x47b706:0x1a,_0x3b2294:0x1a,_0x15eba3:0x19f},_0x3f7097={_0x50de1b:0x101,_0xca23a0:0x64b,_0x4b8a73:0x2a2},_0x51c739={_0x579520:0x126},_0x131653={_0x17c1bd:0x3a0},_0x3c8a57={_0x944d42:0x5d0},_0x4b585a={};_0x4b585a[_0x3158bb(-0x19c,-_0x58cc05._0x47b706)]='.opencla'+'w',_0x4b585a['YwhsW']=_0x452af9(0x62b,0x57d);function _0x3158bb(_0x32a7cd,_0x3646aa){return _0x9d3486(_0x32a7cd,_0x3646aa- -_0x3c8a57._0x944d42);}function _0x452af9(_0x4bf2d7,_0x377acb){return _0x9d3486(_0x4bf2d7,_0x377acb- -_0x131653._0x17c1bd);}const _0x438117=_0x4b585a,_0x4b053c=new Set(),_0x348f11=[_0x3d578c(),_0x438117[_0x3158bb(_0x58cc05._0x3b2294,_0x58cc05._0x15eba3)]][_0x452af9(0x5a7,0x426)](_0x477871=>_0x477871[_0x3158bb(0x93,0x7b)]())['filter'](Boolean)['filter'](_0x298bdb=>{function _0x1e6757(_0x3811ef,_0xad641e){return _0x452af9(_0x3811ef,_0xad641e- -0x2a4);}if(_0x4b053c[_0x1e6757(-0x10e,-_0x51c739._0x579520)](_0x298bdb))return![];_0x4b053c[_0x25a88b(0x43c,0x5cf)](_0x298bdb);function _0x25a88b(_0x1f56aa,_0x1f7721){return _0x452af9(_0x1f56aa,_0x1f7721-0x7f);}return!![];});return _0x348f11['map'](_0x1612b6=>{const _0x2c2ad3={_0x1a803d:0x35};function _0x262cc5(_0xb65ab9,_0x230420){return _0x452af9(_0xb65ab9,_0x230420- -0x296);}const _0x5763bb=_0x7251ee(_0x1612b6,_0x438117[_0x140ab7(0x1e1,_0x3f7097._0x50de1b)]);function _0x140ab7(_0x850175,_0x43c199){return _0x452af9(_0x43c199,_0x850175- -_0x2c2ad3._0x1a803d);}return{'configDir':_0x5763bb,'configPath':_0x7251ee(_0x5763bb,_0x140ab7(0x4a9,_0x3f7097._0xca23a0)+_0x140ab7(0x3de,0x214)),'mediaDir':_0x7251ee(_0x5763bb,_0x140ab7(_0x3f7097._0x4b8a73,0x3cb))};});}var CONTROL_PREFIX='__clawke'+_0x9d3486(0x6d7,0x57e)+_0x18e10d(0x816,0x624)+'_:';function parseControl(_0x41a93d){const _0x5869a3={_0x1b4d96:0x579,_0xb2d414:0x61a,_0x9015f1:0x4ee,_0x4722e1:0x74f,_0x3575a2:0x455,_0x5c3e1b:0x3e5,_0x13bf25:0x4e2,_0x52b0bf:0x779,_0x1191ac:0x3d5,_0x487300:0x66c,_0x413061:0x506,_0x1c971b:0x35c,_0x47b651:0x590,_0x43e4c2:0x3f7,_0x112c3b:0x393},_0x10f5fa={_0x5b0def:0x192},_0x5448a7={};_0x5448a7['fOjqi']=function(_0x13bf4b,_0x5c40af){return _0x13bf4b===_0x5c40af;};function _0x1d47c5(_0x29d729,_0x1f9b72){return _0x18e10d(_0x29d729,_0x1f9b72-_0x10f5fa._0x5b0def);}function _0x1eaa7f(_0x2d010f,_0x165e26){return _0x18e10d(_0x2d010f,_0x165e26-0x13c);}_0x5448a7[_0x1d47c5(_0x5869a3._0x1b4d96,_0x5869a3._0xb2d414)]=_0x1eaa7f(0x71c,_0x5869a3._0x9015f1);const _0x35e43a=_0x5448a7;if(!_0x41a93d[_0x1eaa7f(0x848,_0x5869a3._0x4722e1)+'th'](CONTROL_PREFIX))return null;try{const _0x28c3e2=JSON['parse'](_0x41a93d['slice'](CONTROL_PREFIX[_0x1eaa7f(0x36b,_0x5869a3._0x3575a2)]));if(typeof _0x28c3e2['event']!==_0x1d47c5(_0x5869a3._0x5c3e1b,_0x5869a3._0x13bf25)||!_0x28c3e2[_0x1d47c5(0x8bf,_0x5869a3._0x52b0bf)][_0x1eaa7f(_0x5869a3._0x1191ac,0x507)]())return null;return{'event':_0x28c3e2[_0x1d47c5(0x796,_0x5869a3._0x52b0bf)][_0x1eaa7f(0x5fb,0x507)](),'count':_0x35e43a[_0x1d47c5(_0x5869a3._0x487300,_0x5869a3._0x413061)](typeof _0x28c3e2['count'],_0x35e43a['gtFst'])&&Number[_0x1d47c5(_0x5869a3._0x1c971b,_0x5869a3._0x47b651)](_0x28c3e2[_0x1eaa7f(_0x5869a3._0x43e4c2,0x393)])?_0x28c3e2[_0x1eaa7f(0x534,_0x5869a3._0x112c3b)]:void 0x0};}catch{return null;}}function parseConnectStartIdentity(_0x37caad){const _0x32dab2={_0x562165:0x139,_0x50685d:0xcc,_0x4f327d:0xcb,_0x4950fd:0x197,_0x50330d:0x36f,_0x2c1f04:0xcc,_0x5ec460:0x563,_0x5755fd:0x473,_0x6dc68b:0x26d,_0x1b012e:0x438,_0x1c2c2b:0xa3,_0x4190e3:0xd2,_0x41a792:0x1a3,_0x2987ae:0x61,_0x11e36d:0x32,_0x4eec06:0x1d3,_0x4a1c67:0xaa,_0x567e1c:0xfb,_0x5aad1a:0x7},_0x53ca6a={_0x361888:0x5d8},_0x2dadd9={_0xdb40ff:0x2c2},_0x359626={};function _0xb8edc7(_0x4cdbce,_0x9a6915){return _0x9d3486(_0x9a6915,_0x4cdbce- -_0x2dadd9._0xdb40ff);}_0x359626[_0x1da75a(_0x32dab2._0x562165,_0x32dab2._0x50685d)]=function(_0x81eda,_0x5bfc97){return _0x81eda!==_0x5bfc97;};function _0x1da75a(_0x23e0df,_0x25c1a3){return _0x9d3486(_0x23e0df,_0x25c1a3- -_0x53ca6a._0x361888);}const _0x5116df=_0x359626;try{const _0x820724=JSON['parse'](_0x37caad);if(_0x820724['type']!==_0x1da75a(-0x30c,-_0x32dab2._0x4f327d))return null;if(_0x820724[_0x1da75a(-_0x32dab2._0x4950fd,0x9b)]!==_0x1da75a(0x34e,_0x32dab2._0x50330d)&&_0x5116df[_0x1da75a(0x286,_0x32dab2._0x2c1f04)](_0x820724[_0xb8edc7(0x3b1,_0x32dab2._0x5ec460)],_0xb8edc7(0x233,_0x32dab2._0x5755fd)+_0x1da75a(-_0x32dab2._0x6dc68b,-0xc3)))return null;const _0x32ccdf=_0x820724[_0xb8edc7(0x2ea,_0x32dab2._0x1b012e)]??{},_0xe735fa=typeof _0x820724['id']==='string'&&_0x820724['id'][_0x1da75a(-_0x32dab2._0x1c2c2b,0x73)]()?_0x820724['id'][_0xb8edc7(0x389,0x4b7)]():_0x1da75a(_0x32dab2._0x4190e3,_0x32dab2._0x41a792)+Math['random']()[_0x1da75a(0x100,0xdf)](0x24)[_0x1da75a(-_0x32dab2._0x2987ae,-_0x32dab2._0x11e36d)](0x2,0xc),_0xaf8e30=firstString(_0x32ccdf[_0x1da75a(-0xb4,_0x32dab2._0x4eec06)+'me'],_0x32ccdf[_0xb8edc7(0x50e,0x552)+'me'],_0x32ccdf[_0xb8edc7(0x1d3,0x18a)],_0x1da75a(_0x32dab2._0x4a1c67,0x240)+'lient'),_0xf98da={};return _0xf98da['id']=_0xe735fa,_0xf98da[_0x1da75a(_0x32dab2._0x567e1c,-_0x32dab2._0x5aad1a)]=_0xaf8e30,_0xf98da;}catch{return null;}}function isConnectHandshakeRequest(_0x4792bc){const _0x3c157f={_0x1e99b1:0x629,_0x10619b:0x2fd,_0x595183:0x85a,_0x22a55e:0x5c,_0x12437e:0x68c,_0x44f362:0x501,_0x398a00:0x1d4,_0x4552a6:0x94b,_0x364370:0xb7e,_0x4541c4:0xd4,_0xaea298:0x27a},_0x133dfe={_0xd38f5a:0x4},_0x174302={_0x59baea:0x5c9},_0x5d9c23={};_0x5d9c23[_0x5e71bd(_0x3c157f._0x1e99b1,0x4a0)]=_0xb90ab9(-0xbc,-_0x3c157f._0x10619b);function _0xb90ab9(_0x1d40c2,_0x9a0a54){return _0x9d3486(_0x9a0a54,_0x1d40c2- -_0x174302._0x59baea);}function _0x5e71bd(_0x26c726,_0x3385f4){return _0x9d3486(_0x3385f4,_0x26c726-_0x133dfe._0xd38f5a);}_0x5d9c23[_0x5e71bd(0x68c,0x8c9)]=function(_0x462043,_0x5616db){return _0x462043===_0x5616db;};const _0x1cf566=_0x5d9c23;try{const _0x54ab37=JSON[_0x5e71bd(0x8bf,_0x3c157f._0x595183)](_0x4792bc);return _0x54ab37['type']===_0x1cf566[_0xb90ab9(_0x3c157f._0x22a55e,0x222)]&&(_0x1cf566[_0x5e71bd(_0x3c157f._0x12437e,_0x3c157f._0x44f362)](_0x54ab37[_0xb90ab9(0xaa,-_0x3c157f._0x398a00)],_0x5e71bd(_0x3c157f._0x4552a6,_0x3c157f._0x364370))||_0x54ab37['method']===_0xb90ab9(-_0x3c157f._0x4541c4,-_0x3c157f._0xaea298)+'start');}catch{return![];}}function parseConnectHandshakeMeta(_0x3a8400){const _0x38d9fd={_0x105ef3:0x440,_0x4da913:0x463,_0x22612d:0x97,_0x1383f2:0x464,_0x3a30dd:0x330,_0x3312cc:0x165,_0x3d7d7b:0x2be,_0x188ec9:0x35,_0x1ad984:0x2af,_0x365797:0x72f,_0x49b7dd:0x133,_0x1c6ab9:0x394,_0x57ae7b:0x621,_0x27ad09:0x434,_0x2fab68:0x3fa,_0x445e56:0x55,_0x463532:0x6a,_0x1f11a8:0x4e3,_0x221bd6:0x5b1,_0x49c97d:0x1fa,_0x4b4f99:0x433,_0x4f91bb:0x37c,_0x2e09ac:0xdd,_0x222e65:0xd3,_0x5c91d6:0x288,_0x934c4e:0x419},_0x2386c1={_0x2862e2:0x596};function _0x21bbec(_0x341e95,_0x4c5dc6){return _0x9d3486(_0x341e95,_0x4c5dc6- -_0x2386c1._0x2862e2);}function _0x2c74e6(_0x16b28e,_0x137d46){return _0x9d3486(_0x137d46,_0x16b28e- -0x218);}const _0x4a5d0e={};_0x4a5d0e[_0x2c74e6(_0x38d9fd._0x105ef3,_0x38d9fd._0x4da913)]=function(_0x20d377,_0x1417e1){return _0x20d377!==_0x1417e1;},_0x4a5d0e[_0x21bbec(_0x38d9fd._0x22612d,0x146)]=_0x21bbec(0x76,-0x89),_0x4a5d0e[_0x2c74e6(0x3e8,_0x38d9fd._0x1383f2)]=function(_0x439964,_0x13dfed){return _0x439964===_0x13dfed;},_0x4a5d0e[_0x21bbec(_0x38d9fd._0x3a30dd,_0x38d9fd._0x3312cc)]='string';const _0x20d3d2=_0x4a5d0e;try{const _0x2ad72b=JSON['parse'](_0x3a8400);if(_0x20d3d2[_0x2c74e6(0x440,_0x38d9fd._0x3d7d7b)](_0x2ad72b[_0x21bbec(0x10e,_0x38d9fd._0x188ec9)],_0x20d3d2['DCncR']))return null;if(_0x2ad72b[_0x21bbec(_0x38d9fd._0x1ad984,0xdd)]!==_0x2c74e6(_0x38d9fd._0x365797,0x4c8)&&_0x20d3d2['ITKDl'](_0x2ad72b[_0x21bbec(-_0x38d9fd._0x49b7dd,0xdd)],_0x2c74e6(0x2dd,0x3bc)+_0x21bbec(-0x6c,-0x81)))return null;const _0x427a25=_0x2ad72b[_0x2c74e6(_0x38d9fd._0x1c6ab9,_0x38d9fd._0x57ae7b)]?.[_0x2c74e6(_0x38d9fd._0x27ad09,0x30a)]?.['nonce'],_0xce49cb=_0x2ad72b[_0x2c74e6(_0x38d9fd._0x1c6ab9,_0x38d9fd._0x2fab68)]?.[_0x21bbec(-_0x38d9fd._0x445e56,-0x118)];return{'id':_0x20d3d2[_0x21bbec(-0x193,_0x38d9fd._0x463532)](typeof _0x2ad72b['id'],_0x20d3d2[_0x2c74e6(_0x38d9fd._0x1f11a8,_0x38d9fd._0x221bd6)])&&_0x2ad72b['id'][_0x2c74e6(0x433,_0x38d9fd._0x49c97d)]()?_0x2ad72b['id'][_0x2c74e6(_0x38d9fd._0x4b4f99,_0x38d9fd._0x4f91bb)]():null,'method':_0x2ad72b[_0x21bbec(0x20a,_0x38d9fd._0x2e09ac)],'noncePresent':typeof _0x427a25===_0x20d3d2[_0x2c74e6(0x4e3,0x2f1)]&&_0x427a25['length']>0x0,'nonceLength':typeof _0x427a25===_0x21bbec(0x161,0x3a)?_0x427a25['length']:null,'authFields':_0xce49cb&&typeof _0xce49cb==='object'?Object[_0x21bbec(-0x2f7,-_0x38d9fd._0x222e65)](_0xce49cb)[_0x2c74e6(_0x38d9fd._0x5c91d6,_0x38d9fd._0x934c4e)]():[]};}catch{return null;}}function parsePairingRequestFromError(_0x25fa66,_0x3ad6d1=Date[_0x18e10d(0x390,0x3ae)]()){const _0x4f8bad={_0x5567f6:0x5e9,_0x4f4a14:0x5ea,_0x20d9d5:0x421,_0x1ff3a8:0x21a,_0x271013:0x7d9,_0x237b8b:0x3b7,_0x4081da:0x1e4,_0x42f4b0:0x2b4,_0x4a3e9d:0x4c6,_0x41226a:0x750,_0xe9f1c1:0x5a6,_0xf933ea:0x73f,_0x289f71:0x6d8,_0x16c0dc:0x651,_0x18a0fb:0x533,_0x542d05:0x1f1,_0x35a161:0x307,_0x35617a:0x88,_0x12716:0x8a0,_0x3d65cf:0x474,_0x598b10:0x1af,_0x1a75e4:0x68,_0x220da5:0x1a4,_0x7dc801:0x5a5,_0x1144cd:0x63b,_0x245670:0x17c,_0x46c2da:0x262,_0x1b212c:0x691,_0x598b17:0x5b5,_0x1fec36:0x3a7,_0x44b37f:0x4e9,_0x84c98e:0x554,_0x502e5f:0x599,_0x283730:0x58d,_0x13a306:0x731,_0x364f7b:0x3f6,_0x1b6c8c:0x506,_0x3cb6af:0x425,_0x356ad8:0x2b6,_0x2e41cf:0x49b},_0x16d1a0={_0x1b2247:0x167},_0x1a88aa={_0x46ce10:0x1e3},_0x47bbc3={'IlrvY':function(_0x315727,_0x2229f7){return _0x315727!==_0x2229f7;},'lNHyR':'string','IpXXx':_0x5943e1(_0x4f8bad._0x5567f6,_0x4f8bad._0x4f4a14)+_0x5943e1(0x215,_0x4f8bad._0x20d9d5),'RQMWq':function(_0x1942e8,_0x4ed2b0,_0x27aa6e,_0x2751cb){return _0x1942e8(_0x4ed2b0,_0x27aa6e,_0x2751cb);},'CJBaQ':function(_0x4ce9d8,_0x4db89f,_0x58c446){return _0x4ce9d8(_0x4db89f,_0x58c446);},'svaPY':function(_0x1b3f5d,_0xed54de){return _0x1b3f5d(_0xed54de);},'hYyLT':_0x5943e1(_0x4f8bad._0x1ff3a8,0x475)};function _0x5943e1(_0x2e45cb,_0x3d4d53){return _0x18e10d(_0x2e45cb,_0x3d4d53-_0x1a88aa._0x46ce10);}function _0x279337(_0x183091,_0xd48b84){return _0x18e10d(_0x183091,_0xd48b84- -_0x16d1a0._0x1b2247);}try{const _0x2693c5=JSON[_0x5943e1(_0x4f8bad._0x271013,0x81e)](_0x25fa66);if(_0x47bbc3['IlrvY'](_0x2693c5[_0x279337(_0x4f8bad._0x237b8b,_0x4f8bad._0x4081da)],_0x5943e1(0x3fe,0x420))||_0x2693c5['ok']!==![]||!_0x2693c5[_0x5943e1(0x6de,0x4c6)])return null;const _0x2c846d=typeof _0x2693c5[_0x5943e1(_0x4f8bad._0x42f4b0,_0x4f8bad._0x4a3e9d)][_0x279337(_0x4f8bad._0x41226a,0x535)]===_0x47bbc3[_0x5943e1(0x35c,_0x4f8bad._0xe9f1c1)]?_0x2693c5[_0x5943e1(_0x4f8bad._0xf933ea,_0x4f8bad._0x4a3e9d)][_0x5943e1(0x69c,0x87f)]:'',_0x349bcd=typeof _0x2693c5[_0x5943e1(0x25d,0x4c6)][_0x5943e1(_0x4f8bad._0x289f71,_0x4f8bad._0x16c0dc)]===_0x5943e1(0x306,_0x4f8bad._0x18a0fb)?_0x2693c5['error'][_0x279337(_0x4f8bad._0x542d05,_0x4f8bad._0x35a161)]:'';if(!_0x2c846d[_0x5943e1(0x247,0x3b2)](_0x279337(-0x84,_0x4f8bad._0x35617a)+'ED')&&!_0x2c846d['includes'](_0x5943e1(0x793,_0x4f8bad._0x12716)+_0x279337(0x447,_0x4f8bad._0x3d65cf))&&!_0x349bcd[_0x279337(-_0x4f8bad._0x598b10,_0x4f8bad._0x1a75e4)](_0x279337(_0x4f8bad._0x220da5,0x88)+'ED')&&!_0x349bcd[_0x279337(-0x110,0x68)](_0x47bbc3[_0x5943e1(_0x4f8bad._0x7dc801,_0x4f8bad._0x1144cd)]))return null;const _0x310b22=_0x2693c5[_0x279337(0x137,_0x4f8bad._0x245670)][_0x279337(0x31d,_0x4f8bad._0x46c2da)]??_0x2693c5[_0x279337(0x14d,_0x4f8bad._0x245670)]['data']??{},_0x371b37=_0x47bbc3[_0x279337(0x311,0x39e)](firstString,_0x310b22[_0x279337(_0x4f8bad._0x1b212c,0x500)+'d'],extractRequestIdFromMessage(_0x349bcd),_0x5943e1(_0x4f8bad._0x598b17,_0x4f8bad._0x1fec36));return{'requestId':_0x371b37,'deviceId':_0x47bbc3[_0x279337(0x457,0x2b5)](firstString,_0x310b22['deviceId'],''),'displayName':firstNullableString(_0x310b22[_0x5943e1(_0x4f8bad._0x44b37f,0x39e)+_0x5943e1(_0x4f8bad._0x84c98e,_0x4f8bad._0x502e5f)]),'platform':firstNullableString(_0x310b22[_0x5943e1(_0x4f8bad._0x283730,0x6c5)]),'deviceFamily':firstNullableString(_0x310b22['deviceFa'+_0x5943e1(0x6f6,_0x4f8bad._0x13a306)]),'role':firstNullableString(_0x310b22['role']),'remoteIp':_0x47bbc3[_0x5943e1(_0x4f8bad._0x364f7b,_0x4f8bad._0x1b6c8c)](firstNullableString,_0x310b22[_0x279337(0x406,_0x4f8bad._0x3cb6af)]),'receivedAtMs':_0x3ad6d1,'status':_0x47bbc3[_0x5943e1(_0x4f8bad._0x356ad8,_0x4f8bad._0x2e41cf)]};}catch{return null;}}function parsePairResolvedEvent(_0x8764bf){const _0x1b8487={_0x4578d4:0x64d,_0x465073:0x671,_0x234182:0x55c,_0x1cbd11:0x141,_0x3a2fae:0x884,_0x2d1376:0x949,_0x4ef230:0x702,_0x57345:0x122,_0x5b6851:0x1a5,_0x3de1a3:0x69f,_0x1adf4c:0xc0f,_0x2fc25e:0x4fe,_0x162fca:0x4e0,_0x3260b7:0x63b,_0x487998:0x480,_0x5cd9b6:0x39f,_0x49a75d:0x9ae,_0x3296ce:0x6b4,_0x11576e:0x50a,_0xb72017:0x299,_0x295043:0x594},_0x4d549c={_0x1e96b7:0x362},_0xa71f94={};_0xa71f94[_0x4811ad(_0x1b8487._0x4578d4,_0x1b8487._0x465073)]=function(_0xe21679,_0x286a75){return _0xe21679!==_0x286a75;};function _0x4811ad(_0x5eae2e,_0x4381ca){return _0x18e10d(_0x4381ca,_0x5eae2e-_0x4d549c._0x1e96b7);}_0xa71f94[_0x4f40d3(_0x1b8487._0x234182,0x620)]='string';const _0x535aca=_0xa71f94;function _0x4f40d3(_0x1b245b,_0x473cfe){return _0x18e10d(_0x1b245b,_0x473cfe- -0x2c);}try{const _0x305a13=JSON['parse'](_0x8764bf);if(_0x305a13[_0x4f40d3(_0x1b8487._0x1cbd11,0x31f)]!==_0x4811ad(0x949,0x7af)||_0x535aca[_0x4811ad(_0x1b8487._0x4578d4,_0x1b8487._0x3a2fae)](_0x305a13[_0x4811ad(_0x1b8487._0x2d1376,_0x1b8487._0x4ef230)],_0x4f40d3(_0x1b8487._0x57345,_0x1b8487._0x5b6851)+_0x4f40d3(0x43b,0x62a)+_0x4811ad(0x912,_0x1b8487._0x3de1a3))||!_0x305a13[_0x4f40d3(0x56b,0x4e0)])return null;const _0x1a5d09=typeof _0x305a13['payload'][_0x4811ad(0x9c9,_0x1b8487._0x1adf4c)+'d']==='string'?_0x305a13[_0x4f40d3(_0x1b8487._0x2fc25e,_0x1b8487._0x162fca)][_0x4f40d3(0x875,_0x1b8487._0x3260b7)+'d'][_0x4f40d3(_0x1b8487._0x487998,_0x1b8487._0x5cd9b6)]():'';if(!_0x1a5d09)return null;const _0x655a4c=typeof _0x305a13[_0x4f40d3(0x381,0x4e0)][_0x4f40d3(0x28e,0x206)]===_0x535aca[_0x4811ad(_0x1b8487._0x49a75d,0x8b1)]?_0x305a13['payload'][_0x4f40d3(0x12d,0x206)]:_0x4f40d3(0x19a,0x198),_0x245b36=_0x655a4c===_0x4f40d3(_0x1b8487._0x3296ce,0x4ee)||_0x655a4c===_0x4f40d3(_0x1b8487._0x11576e,_0x1b8487._0xb72017)?_0x655a4c:_0x4f40d3(-0x71,0x198),_0x4aea87={};return _0x4aea87[_0x4811ad(0x9c9,0x8a7)+'d']=_0x1a5d09,_0x4aea87[_0x4811ad(_0x1b8487._0x295043,0x4cc)]=_0x245b36,_0x4aea87;}catch{return null;}}function firstString(..._0x223894){const _0x25e2de={_0xd517ec:0x2a7,_0x5621d2:0x1d0},_0x259a45={_0x903a6d:0x1fb},_0xf75da2={_0x3d3c6f:0x3fa};function _0x2b9e8d(_0x4356eb,_0x4ef1e3){return _0x18e10d(_0x4ef1e3,_0x4356eb- -_0xf75da2._0x3d3c6f);}function _0x27052f(_0x47c4ea,_0x324f50){return _0x18e10d(_0x47c4ea,_0x324f50- -_0x259a45._0x903a6d);}for(const _0xdf7589 of _0x223894){if(typeof _0xdf7589==='string'&&_0xdf7589[_0x27052f(0x141,0x1d0)]())return _0xdf7589[_0x27052f(_0x25e2de._0xd517ec,_0x25e2de._0x5621d2)]();}return'';}function firstNullableString(_0x393fc4){const _0x22b02f={_0x1c7faf:0x171,_0x1ce781:0x227,_0x5919a0:0x1ec},_0x45f21b={_0x30b95e:0x45f},_0x761655={_0x29d6e6:0x1f1};function _0x468a74(_0x239217,_0xe56915){return _0x9d3486(_0xe56915,_0x239217- -_0x761655._0x29d6e6);}function _0x1bd8e8(_0x10cfcb,_0x56e893){return _0x9d3486(_0x10cfcb,_0x56e893- -_0x45f21b._0x30b95e);}return typeof _0x393fc4===_0x1bd8e8(0x231,_0x22b02f._0x1c7faf)&&_0x393fc4[_0x468a74(0x45a,_0x22b02f._0x1ce781)]()?_0x393fc4[_0x1bd8e8(0xaf,_0x22b02f._0x5919a0)]():null;}function extractRequestIdFromMessage(_0x1ba260){const _0x120e03={_0x3b9588:0x427},_0x3ffd67={_0x350ad3:0x134};function _0x292fef(_0x10ab87,_0x1c3de4){return _0x18e10d(_0x1c3de4,_0x10ab87-_0x3ffd67._0x350ad3);}const _0xe5c4fc=_0x1ba260[_0x292fef(_0x120e03._0x3b9588,0x673)](/requestId[:\s]*([a-f0-9-]+)/i);return _0xe5c4fc?.[0x1]??null;}import{randomUUID as _0x5cc6ea}from'crypto';import{setTimeout as _0x4cf888}from'timers/promises';import _0x3602c1 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,MAX_PENDING_GATEWAY_MESSAGES=0x100,MAX_DEVICE_DETAILS=0x20,MAX_PENDING_PAIR_REQUESTS=0x10,BridgeRuntime=class{[_0x9d3486(0x6c7,0x611)];[_0x9d3486(0x433,0x6bc)+_0x18e10d(0x7c0,0x64e)]=null;[_0x18e10d(0x532,0x643)+_0x9d3486(0x792,0x5e1)]=null;['relayCon'+'necting']=![];[_0x9d3486(0x63b,0x544)+'onnectin'+'g']=![];[_0x18e10d(0x97,0x313)]=!![];[_0x9d3486(0x421,0x6b0)+_0x18e10d(0x336,0x2a9)]=0x0;['lastRela'+'yActivit'+_0x18e10d(0x51d,0x6da)]=0x0;[_0x9d3486(0xacb,0x951)+'tTimer']=null;[_0x9d3486(0x31e,0x4ad)+_0x9d3486(0x6f6,0x59a)+'r']=null;[_0x9d3486(0xa23,0x944)+_0x9d3486(0x6b7,0x620)]=null;[_0x9d3486(0x595,0x50e)+'atewayMe'+_0x9d3486(0x684,0x6e6)]=[];[_0x9d3486(0x621,0x6ff)+_0x18e10d(0x801,0x633)+_0x18e10d(0x6f,0x20c)]=![];['gatewayC'+_0x18e10d(0x356,0x377)+_0x9d3486(0x555,0x50c)+_0x18e10d(0x2ec,0x231)]=![];['clientDe'+'mandStar'+'tedAtMs']=null;[_0x18e10d(0xee,0x2c4)+'onnected'+_0x18e10d(0x23e,0x36b)]=null;['snapshot'];constructor(_0x40d86d){const _0x3ddab9={_0xb306ff:0xe1,_0x5d496d:0x15,_0x142cbc:0x1e8,_0x4b3ef2:0x3d3,_0x252015:0x121,_0x4f2846:0x1a2,_0xe71431:0x3e,_0x2491fc:0x6},_0x4b087f={_0x5b669e:0x406};this['options']=_0x40d86d;function _0x29b141(_0xbd52ff,_0xecd9cb){return _0x18e10d(_0xecd9cb,_0xbd52ff- -0x2e4);}function _0x6fdfe2(_0x53807a,_0x99577e){return _0x18e10d(_0x99577e,_0x53807a- -_0x4b087f._0x5b669e);}this['snapshot']={'running':![],'relayConnected':![],'gatewayConnected':![],'gatewayId':_0x40d86d[_0x29b141(0x10d,_0x3ddab9._0xb306ff)][_0x29b141(0x1b9,0x2f1)+'d'],'instanceId':_0x40d86d[_0x6fdfe2(-_0x3ddab9._0x5d496d,-_0x3ddab9._0x142cbc)][_0x29b141(0x39b,_0x3ddab9._0x4b3ef2)+'Id'],'relayUrl':_0x40d86d['config'][_0x6fdfe2(_0x3ddab9._0x252015,0x35)],'gatewayUrl':_0x40d86d[_0x6fdfe2(-_0x3ddab9._0x4f2846,_0x3ddab9._0xe71431)+'rl'],'clientCount':0x0,'connectedDevices':[],'pendingPairRequests':[],'lastError':null,'lastUpdatedMs':Date[_0x29b141(0xca,-_0x3ddab9._0x2491fc)]()};}[_0x18e10d(0x48f,0x295)](){const _0x578ecf={_0x3183d5:0x88,_0x2c1d29:0xfc,_0x2853bd:0x378,_0x394556:0x2b0,_0x4d3778:0x6a1,_0x4e5c49:0x667,_0x9c7984:0x73c,_0x58a119:0x230,_0x31fea0:0x1a8,_0xffc328:0x304,_0x1a8ba8:0x65,_0x13e5fd:0x53b,_0x4aab63:0x5f7,_0x11c356:0x4ab,_0x266610:0x48e},_0x143838={_0xc41e4c:0x5ac},_0x36cc6f={_0x579ccd:0x1e2};if(!this[_0x54a1fe(0x38e,0x3b1)])return;function _0x54a1fe(_0x27afd0,_0x3a6528){return _0x9d3486(_0x27afd0,_0x3a6528- -_0x36cc6f._0x579ccd);}this[_0x54a1fe(0x513,0x3b1)]=![],this[_0x397f56(-_0x578ecf._0x3183d5,-_0x578ecf._0x2c1d29)+_0x54a1fe(_0x578ecf._0x2853bd,_0x578ecf._0x394556)]({'running':!![],'gatewayUrl':this[_0x54a1fe(0x69f,0x42f)]['gatewayU'+'rl']}),this[_0x54a1fe(_0x578ecf._0x4d3778,_0x578ecf._0x4e5c49)](_0x54a1fe(0x7ec,_0x578ecf._0x9c7984)+_0x397f56(_0x578ecf._0x58a119,_0x578ecf._0x31fea0)+_0x397f56(_0x578ecf._0xffc328,0xb4)+'Id='+this[_0x397f56(_0x578ecf._0x1a8ba8,0x290)][_0x54a1fe(0x23b,0x48f)][_0x54a1fe(0x742,_0x578ecf._0x13e5fd)+'d']+(_0x54a1fe(_0x578ecf._0x4aab63,0x6ce)+_0x397f56(0x255,_0x578ecf._0x11c356))+this[_0x397f56(_0x578ecf._0x1a8ba8,0x21a)]['gatewayU'+'rl']);function _0x397f56(_0x2feaee,_0x31d8f0){return _0x9d3486(_0x31d8f0,_0x2feaee- -_0x143838._0xc41e4c);}void this[_0x54a1fe(0x58b,_0x578ecf._0x266610)+'elay']();}async[_0x18e10d(0x10e,0x384)](){const _0x23a66e={_0x1601d4:0x3fd,_0x211ff7:0x4ee,_0x2220ac:0x2f1,_0x34870f:0x2be,_0x51307b:0x249,_0x3f6520:0x8,_0x3f7770:0x6b6,_0x5143e5:0x2b9,_0x75b2b3:0x41,_0x38bf05:0x70b,_0x4dcead:0x8c1,_0x4f7857:0x475,_0xc058a:0x569,_0x4cba38:0x7ed,_0x4014fa:0x1bd,_0x144ccf:0x4af,_0x3029c1:0x42a,_0x243665:0x39d,_0xe521cd:0x383,_0x1f10ae:0x4c7,_0x5835d6:0x3f3,_0x3a101a:0x64d,_0xb900e0:0x46d,_0x2b1c26:0x5b8,_0x3c5386:0x3d8,_0x4c4e0b:0x32e,_0x2096ad:0x188,_0x5f3abe:0x159,_0x78625b:0x31a,_0xd0e21d:0x19e,_0x788588:0x150,_0x258d9a:0x3ad,_0xc36384:0x151,_0x514801:0x509,_0x27bec7:0x41c,_0x580342:0x6bd,_0x5090d8:0x6e0,_0x58e9ca:0x4d8,_0x589112:0x769},_0x5dadea={_0x475c87:0x1f6};function _0x8a3ad5(_0x3eb4c0,_0x1135fa){return _0x9d3486(_0x1135fa,_0x3eb4c0- -_0x5dadea._0x475c87);}const _0x46eb0e=(_0x156ce1(_0x23a66e._0x1601d4,_0x23a66e._0x211ff7)+_0x8a3ad5(_0x23a66e._0x2220ac,_0x23a66e._0x34870f)+_0x8a3ad5(0x5ec,0x416)+_0x156ce1(_0x23a66e._0x51307b,-_0x23a66e._0x3f6520)+_0x156ce1(0x584,_0x23a66e._0x3f7770))[_0x156ce1(_0x23a66e._0x5143e5,_0x23a66e._0x75b2b3)]('|');let _0x2f4f97=0x0;function _0x156ce1(_0x543a2e,_0x51c3eb){return _0x9d3486(_0x51c3eb,_0x543a2e- -0x339);}while(!![]){switch(_0x46eb0e[_0x2f4f97++]){case'0':this[_0x8a3ad5(0x4c6,_0x23a66e._0x38bf05)+_0x8a3ad5(0x6d8,_0x23a66e._0x4dcead)]=null;continue;case'1':this['gatewayS'+_0x8a3ad5(0x3eb,_0x23a66e._0x4f7857)]?.[_0x8a3ad5(_0x23a66e._0xc058a,_0x23a66e._0x4cba38)]();continue;case'2':this[_0x156ce1(0x20b,_0x23a66e._0x4014fa)+_0x8a3ad5(0x3c3,0x5f6)+'g']=![];continue;case'3':this[_0x156ce1(0x20b,0x419)+'loseBoun'+_0x8a3ad5(0x316,0xfc)+'ing']=![];continue;case'4':this[_0x8a3ad5(0x398,_0x23a66e._0x144ccf)+'necting']=![];continue;case'5':this[_0x8a3ad5(0x34e,0x38d)+'onnected'+'AtMs']=null;continue;case'6':this['stopped']=!![];continue;case'7':this[_0x8a3ad5(0x653,0x6ae)](_0x156ce1(0x5e5,_0x23a66e._0x3029c1)+_0x8a3ad5(_0x23a66e._0x243665,0x60e));continue;case'8':if(this[_0x156ce1(0x25a,0x4c4)])return;continue;case'9':this[_0x156ce1(_0x23a66e._0xe521cd,0x14d)+'ket']?.[_0x156ce1(0x426,_0x23a66e._0x1f10ae)]();continue;case'10':await _0x4cf888(0x19);continue;case'11':const _0x2a0f2e={};_0x2a0f2e[_0x8a3ad5(_0x23a66e._0x5835d6,_0x23a66e._0x3a101a)]=![],_0x2a0f2e['relayCon'+_0x8a3ad5(_0x23a66e._0xb900e0,_0x23a66e._0x2b1c26)]=![],_0x2a0f2e['gatewayC'+'onnected']=![],_0x2a0f2e[_0x156ce1(_0x23a66e._0x3c5386,0x53b)+'unt']=0x0,_0x2a0f2e['lastErro'+'r']=null,this[_0x8a3ad5(_0x23a66e._0x4c4e0b,_0x23a66e._0x2096ad)+_0x156ce1(_0x23a66e._0x5f3abe,_0x23a66e._0x78625b)](_0x2a0f2e);continue;case'12':this[_0x8a3ad5(0x318,_0x23a66e._0xd0e21d)+_0x156ce1(_0x23a66e._0x788588,0x90)+_0x156ce1(_0x23a66e._0x258d9a,_0x23a66e._0xc36384)]=[];continue;case'13':this['clearTim'+_0x8a3ad5(0x451,0x4c2)]();continue;case'14':this[_0x8a3ad5(_0x23a66e._0x514801,_0x23a66e._0x27bec7)+_0x8a3ad5(_0x23a66e._0x580342,_0x23a66e._0x5090d8)+_0x156ce1(0x153,-0x35)]=![];continue;case'15':this[_0x156ce1(0x264,0x41b)+_0x8a3ad5(0x3a6,0x301)+_0x156ce1(_0x23a66e._0x58e9ca,0x5e7)]=null;continue;case'16':this[_0x8a3ad5(0x6cd,_0x23a66e._0x589112)+'ocket']=null;continue;}break;}}async[_0x9d3486(0x8c9,0x773)+_0x18e10d(-0x67,0x229)+'st'](_0x5d5800){const _0x488421={_0x470562:0x726,_0x93699d:0xa2,_0x2674d9:0x12b,_0x4ac883:0x3fb,_0x5ad461:0x4d7,_0x34e35c:0x129},_0x39f664={_0x27fc51:0x119};function _0x2c5c70(_0x5b6a4b,_0x1a56c0){return _0x18e10d(_0x5b6a4b,_0x1a56c0- -0x1bb);}const _0x4b9d6c={};function _0x51fc3f(_0x49d166,_0x4ce458){return _0x18e10d(_0x4ce458,_0x49d166- -_0x39f664._0x27fc51);}_0x4b9d6c[_0x2c5c70(_0x488421._0x470562,0x4ac)+'d']=_0x5d5800,this[_0x2c5c70(0x61e,0x400)+_0x2c5c70(_0x488421._0x93699d,0x187)+'st'](_0x2c5c70(-_0x488421._0x2674d9,0x16)+_0x2c5c70(0x5ca,_0x488421._0x4ac883)+_0x2c5c70(0x67e,_0x488421._0x5ad461),_0x4b9d6c),this[_0x2c5c70(-0xe2,_0x488421._0x34e35c)+_0x2c5c70(0x46b,0x233)+_0x2c5c70(0x3d,0x19c)](_0x5d5800,'approved');}async[_0x9d3486(0xa61,0x908)+_0x18e10d(0x610,0x3ba)+'t'](_0x4222d0){const _0x4f6019={_0x5d0eba:0x534,_0x1047eb:0x28d,_0x1637e4:0x1c4,_0x151276:0x24f,_0x13a6a9:0x1e3,_0x29662a:0x1b0,_0x41bd18:0x3e},_0x2a1cb8={_0x3b1954:0x395},_0x547577={};_0x547577[_0x447596(0x753,0x7aa)]=_0x447596(_0x4f6019._0x5d0eba,0x47a);const _0x110439=_0x547577;function _0x447596(_0x260bda,_0x3a2b3b){return _0x18e10d(_0x260bda,_0x3a2b3b-0x1b5);}function _0x5aff73(_0x449959,_0x2b8927){return _0x18e10d(_0x2b8927,_0x449959- -_0x2a1cb8._0x3b1954);}const _0x5b3f35={};_0x5b3f35[_0x5aff73(0x2d2,0x76)+'d']=_0x4222d0,this['sendGate'+_0x5aff73(-0x53,-_0x4f6019._0x1047eb)+'st'](_0x5aff73(-_0x4f6019._0x1637e4,0x92)+_0x5aff73(_0x4f6019._0x151276,_0x4f6019._0x13a6a9)+'ct',_0x5b3f35),this['markPair'+_0x5aff73(0x59,_0x4f6019._0x29662a)+_0x5aff73(-_0x4f6019._0x41bd18,0x1bd)](_0x4222d0,_0x110439[_0x5aff73(0x260,0x3a)]);}[_0x18e10d(0x0,0x225)+'hot'](){const _0x3f9f13={_0x1f9c71:0x1bf,_0x298355:0x265,_0x254079:0x3bc,_0x41a43a:0x15c,_0x276edb:0x5da,_0x4d3d74:0x22c,_0x208ccd:0x3b,_0x17088f:0x259,_0x323f70:0x2e8,_0x46e7ee:0x15c};function _0x3a3b9c(_0x4dcb2a,_0x1e135a){return _0x9d3486(_0x4dcb2a,_0x1e135a- -0x4af);}const _0x3061fe={...this[_0x46ef2b(0x3bb,_0x3f9f13._0x1f9c71)]};function _0x46ef2b(_0x48a46d,_0x22face){return _0x9d3486(_0x22face,_0x48a46d- -0x250);}return _0x3061fe[_0x46ef2b(0x5da,0x454)+_0x3a3b9c(_0x3f9f13._0x298355,_0x3f9f13._0x254079)]=[...this[_0x3a3b9c(0x363,_0x3f9f13._0x41a43a)][_0x46ef2b(_0x3f9f13._0x276edb,0x3bc)+'dDevices']],_0x3061fe[_0x3a3b9c(-_0x3f9f13._0x4d3d74,_0x3f9f13._0x208ccd)+_0x46ef2b(_0x3f9f13._0x17088f,0x3d7)+_0x3a3b9c(0x254,_0x3f9f13._0x323f70)]=[...this[_0x3a3b9c(-0xdb,_0x3f9f13._0x46e7ee)]['pendingP'+'airReque'+'sts']],_0x3061fe;}async['connectR'+'elay'](){const _0x34282d={_0x5aa437:0x8b8,_0x493ff6:0x3aa,_0x29bf2a:0x9ba,_0x4cc518:0x6aa,_0x2e633a:0x878,_0x1ac5aa:0x5f9,_0x20d8b5:0x9d8,_0x394bde:0x58c,_0x542588:0x309,_0x5de52b:0x71b,_0x58e992:0x4cf,_0x3aee1d:0x58c,_0x583c5b:0x8ac,_0xa3e4d3:0xb02,_0x4dacf2:0x8b9,_0x48576b:0x731,_0x4ce6b8:0x718,_0x30f34f:0x6b3,_0x952359:0x68a,_0x4a2fe8:0x97a,_0x1b5a1:0x931,_0x4074f9:0x6a8,_0x2d31f5:0x553,_0x23c6ec:0x720,_0x14edd7:0x4e0,_0x5d8737:0x5ac},_0x45d763={_0x41a999:0x3c8,_0x3aea2a:0x524,_0x4c87e6:0x5e7,_0x25ace9:0x70f,_0x45b970:0x364,_0x5ba814:0x371,_0x98deb5:0x4fc,_0x1e95be:0x243,_0x21d750:0x43f,_0x1d8b4a:0x4ac,_0x51c3e6:0x2b3,_0x255af1:0x351,_0x554146:0x3c1,_0x356735:0x6e0,_0x1d0c9f:0x61f,_0x4d0fd4:0x619,_0x44f905:0x351,_0x3f09a9:0x188,_0x4a19df:0x5b2,_0x169188:0x3a1,_0x19bb39:0x2b7,_0x59d0a3:0x322,_0x21a85d:0x4c5,_0x202071:0x268,_0x2797bf:0x5b2,_0x4ad0d1:0x63f,_0x2cdf10:0x796},_0x5cc506={_0x421b91:0x295},_0x49e204={_0x1baadd:0x4b3},_0x23cf32={_0x2c2d1e:0x645},_0x92d426={_0x1af574:0x794,_0x329f58:0x510,_0x3216f1:0x70c},_0x4170b9={_0x4022f9:0x4a9,_0x42e271:0x654},_0x273dc2={_0x923dbf:0xfa,_0x1b8166:0x405,_0x434ec2:0x401,_0x371e0f:0x29e,_0x545f68:0x21c,_0x548272:0x57b,_0x31210c:0x418,_0x4b1d3b:0x1a5,_0x42a868:0x148,_0x1a22cb:0x66,_0x30a0d5:0xce,_0x2bbb72:0x377,_0x304753:0x314,_0x48f0a6:0x2e3,_0x3d96be:0xe1,_0x1b4a40:0x1e1,_0x5b5434:0x217,_0x5582bb:0xc9,_0x5cdb16:0x5af,_0x85bdbd:0x34d,_0x5d5729:0x20,_0x221428:0x77,_0x2c7e12:0x228,_0x2d8c22:0x3b9,_0x46cee1:0x290,_0xae1e56:0x5d,_0x547d6b:0x43,_0x40f44a:0x20a,_0x2d102f:0x121},_0x34ac00={_0x2f029a:0x529},_0x342716={_0x593e1f:0x5ad},_0x432ed1={_0x49e3ee:0x6b},_0x27b31e={'JAQEd':function(_0x4a35a0,_0x3d3ab6){return _0x4a35a0(_0x3d3ab6);},'OtMBP':_0x5f576b(_0x34282d._0x5aa437,0x6f6),'xWCEo':'close'};if(this['stopped']||this[_0x2e6a91(0x5f1,_0x34282d._0x493ff6)+_0x2e6a91(0x7b9,_0x34282d._0x29bf2a)]||this[_0x2e6a91(0x87c,_0x34282d._0x4cc518)+_0x2e6a91(0x943,_0x34282d._0x2e633a)]())return;this[_0x5f576b(_0x34282d._0x1ac5aa,0x6e7)+_0x5f576b(0x7c1,_0x34282d._0x20d8b5)]=!![];function _0x5f576b(_0x476cc3,_0x499ed0){return _0x9d3486(_0x499ed0,_0x476cc3-_0x432ed1._0x49e3ee);}this['relayAtt'+_0x2e6a91(_0x34282d._0x394bde,_0x34282d._0x542588)]+=0x1;const _0x1a1559=this[_0x5f576b(_0x34282d._0x5de52b,_0x34282d._0x58e992)+_0x2e6a91(_0x34282d._0x3aee1d,0x59c)],_0x4841a6=buildRelayWsUrl(this[_0x2e6a91(0x674,0x750)]['config']);this[_0x2e6a91(_0x34282d._0x583c5b,_0x34282d._0xa3e4d3)](_0x2e6a91(_0x34282d._0x4dacf2,0x741)+_0x5f576b(_0x34282d._0x48576b,_0x34282d._0x4ce6b8)+_0x2e6a91(0x784,0x7a7)+_0x1a1559+_0x5f576b(_0x34282d._0x30f34f,_0x34282d._0x952359)+redactRelayWsUrl(_0x4841a6));function _0x2e6a91(_0x41abd7,_0x10d078){return _0x9d3486(_0x10d078,_0x41abd7-0x63);}const _0x392e7a=this['createWe'+_0x5f576b(_0x34282d._0x4a2fe8,0x9c9)](_0x4841a6);this['relaySoc'+_0x2e6a91(_0x34282d._0x1b5a1,0xa28)]=_0x392e7a,_0x392e7a[_0x2e6a91(0x4d8,0x70f)](_0x27b31e[_0x2e6a91(_0x34282d._0x4074f9,0x47f)],()=>{if(this[_0x565595(-_0x273dc2._0x923dbf,0x51)]||this[_0x310f41(0x1fe,_0x273dc2._0x1b8166)+'ket']!==_0x392e7a){_0x392e7a[_0x565595(_0x273dc2._0x434ec2,0x21d)]();return;}this['relayCon'+_0x310f41(0x298,_0x273dc2._0x371e0f)]=![],this['lastRela'+_0x565595(0x142,_0x273dc2._0x545f68)+_0x565595(_0x273dc2._0x548272,_0x273dc2._0x31210c)]=Date[_0x310f41(0x170,0x28b)]();const _0x50df42={};_0x50df42[_0x310f41(0xd0,-0xdf)+_0x310f41(_0x273dc2._0x4b1d3b,_0x273dc2._0x42a868)]=!![],_0x50df42['lastErro'+'r']=null;function _0x565595(_0x4eba2b,_0x1153a3){return _0x5f576b(_0x1153a3- -_0x342716._0x593e1f,_0x4eba2b);}this[_0x310f41(_0x273dc2._0x1a22cb,_0x273dc2._0x30a0d5)+_0x310f41(-0x2c,0x17d)](_0x50df42),this[_0x565595(_0x273dc2._0x2bbb72,0x307)](_0x565595(0x1ca,_0x273dc2._0x304753)+_0x565595(_0x273dc2._0x48f0a6,_0x273dc2._0x3d96be)+_0x565595(0x177,_0x273dc2._0x1b4a40)+_0x1a1559),this[_0x565595(0x44e,_0x273dc2._0x5b5434)+'rtbeat']();function _0x310f41(_0x4fd47b,_0x107459){return _0x5f576b(_0x4fd47b- -_0x34ac00._0x2f029a,_0x107459);}shouldKeepGatewayConnected(this[_0x565595(0x16d,_0x273dc2._0x5582bb)]['clientCo'+_0x565595(0x269,0x3ea)],_0x27b31e[_0x565595(_0x273dc2._0x5cdb16,_0x273dc2._0x85bdbd)](summarizePendingGatewayMessages,this[_0x565595(-_0x273dc2._0x5d5729,-0x34)+_0x310f41(-0x35,_0x273dc2._0x221428)+_0x310f41(_0x273dc2._0x2c7e12,_0x273dc2._0x2d8c22)])[_0x310f41(0x1b2,_0x273dc2._0x46cee1)+'equests'])&&this[_0x565595(_0x273dc2._0xae1e56,-0xd4)+_0x565595(_0x273dc2._0x547d6b,0x1c3)+_0x565595(_0x273dc2._0x40f44a,_0x273dc2._0x2d102f)]();}),_0x392e7a['on'](_0x2e6a91(0x751,0x6b3),(_0x5a6f95,_0x4a3b04)=>{function _0x32ceed(_0x39065a,_0x50ffb1){return _0x2e6a91(_0x39065a- -0x5a5,_0x50ffb1);}function _0x3ca3ec(_0x322c7c,_0x276aba){return _0x2e6a91(_0x322c7c- -0x480,_0x276aba);}void this[_0x3ca3ec(_0x4170b9._0x4022f9,_0x4170b9._0x42e271)+_0x32ceed(-0xdb,0xbc)+'ge'](_0x5a6f95,_0x4a3b04);}),_0x392e7a['on'](_0x2e6a91(_0x34282d._0x2d31f5,_0x34282d._0x23c6ec),()=>{function _0x533cfb(_0xcb7f13,_0x6dd752){return _0x2e6a91(_0x6dd752- -0x1c6,_0xcb7f13);}function _0x22f30a(_0x37030b,_0x46980b){return _0x2e6a91(_0x37030b- -0x2b1,_0x46980b);}this[_0x22f30a(0x551,_0x92d426._0x1af574)+_0x22f30a(_0x92d426._0x329f58,0x499)+_0x22f30a(_0x92d426._0x3216f1,0x6e0)]=Date[_0x22f30a(0x3e0,0x231)]();}),_0x392e7a['once']('error',_0x4a2a2b=>{function _0x3a8ae0(_0x747df3,_0x525b29){return _0x5f576b(_0x525b29- -0x3d7,_0x747df3);}function _0x23d7a3(_0x3d0b83,_0x42a116){return _0x5f576b(_0x42a116- -_0x23cf32._0x2c2d1e,_0x3d0b83);}this[_0x23d7a3(_0x49e204._0x1baadd,0x26f)]('relay\x20er'+_0x3a8ae0(0x670,0x48e)+String(_0x4a2a2b));}),_0x392e7a[_0x5f576b(_0x34282d._0x14edd7,0x409)](_0x27b31e[_0x5f576b(_0x34282d._0x5d8737,0x5f0)],(_0x333d39,_0x205f61)=>{function _0x40af1c(_0x5e79f0,_0x14e0a9){return _0x5f576b(_0x14e0a9- -_0x5cc506._0x421b91,_0x5e79f0);}const _0x16ffc1=(_0x40af1c(0x5b0,0x57e)+'5|7|6|1|'+'4')[_0x40af1c(0x208,_0x45d763._0x41a999)]('|');function _0x527ae6(_0x2c6f1e,_0x17b50b){return _0x5f576b(_0x2c6f1e- -0x170,_0x17b50b);}let _0x3865f2=0x0;while(!![]){switch(_0x16ffc1[_0x3865f2++]){case'0':this['clientDe'+_0x527ae6(0x497,0x28f)+_0x40af1c(_0x45d763._0x3aea2a,_0x45d763._0x4c87e6)]=null;continue;case'1':this['closeGat'+_0x527ae6(0x3f8,0x682)]();continue;case'2':this['stopHear'+_0x527ae6(_0x45d763._0x25ace9,0x95a)]();continue;case'3':this[_0x40af1c(0x3b8,_0x45d763._0x45b970)+_0x527ae6(0x651,0x48e)]=![];continue;case'4':this[_0x40af1c(_0x45d763._0x5ba814,_0x45d763._0x98deb5)+_0x527ae6(0x395,_0x45d763._0x1e95be)+_0x40af1c(0x46e,0x432)]();continue;case'5':this[_0x527ae6(_0x45d763._0x21d750,_0x45d763._0x1d8b4a)+_0x527ae6(0x337,_0x45d763._0x51c3e6)+_0x40af1c(_0x45d763._0x255af1,_0x45d763._0x554146)]=null;continue;case'6':this[_0x40af1c(_0x45d763._0x356735,_0x45d763._0x1d0c9f)](_0x527ae6(0x4da,0x6c3)+_0x527ae6(0x416,0x265)+_0x40af1c(0x75e,_0x45d763._0x4d0fd4)+_0x333d39+_0x527ae6(_0x45d763._0x44f905,_0x45d763._0x3f09a9)+(_0x205f61[_0x527ae6(_0x45d763._0x4a19df,_0x45d763._0x169188)]()||_0x40af1c(_0x45d763._0x19bb39,_0x45d763._0x59d0a3)));continue;case'7':this[_0x40af1c(0x378,0x2fa)+_0x40af1c(_0x45d763._0x21a85d,_0x45d763._0x202071)]({'relayConnected':![],'gatewayConnected':![],'clientCount':0x0,'lastError':_0x333d39===0x3e8?null:_0x40af1c(0x338,0x3c9)+_0x527ae6(0x555,0x6e9)+(_0x205f61[_0x527ae6(_0x45d763._0x2797bf,_0x45d763._0x4ad0d1)]()||_0x333d39)});continue;case'8':this['relaySoc'+_0x527ae6(0x7c9,_0x45d763._0x2cdf10)]===_0x392e7a&&(this[_0x527ae6(0x5b7,0x4b3)+'ket']=null);continue;}break;}});}async[_0x9d3486(0xa18,0x8c6)+_0x9d3486(0x516,0x467)+'ge'](_0x5810f7,_0x2846d6){const _0x1a113f={_0x4ea430:0xf2,_0x477c2d:0x550,_0x248f35:0x4af,_0x4514cd:0x101,_0x14a7aa:0x272,_0x4791ab:0x4c8,_0x40a88f:0x191,_0x403fb1:0x17d,_0x75d637:0xa7,_0x59f25c:0x259,_0x1f6489:0x46b,_0x45746b:0x170,_0x21f41e:0x60b,_0x3a7ab1:0x7e},_0x5144fd={_0x3a167:0x101};this[_0x4fa470(0x186,_0x1a113f._0x4ea430)+'yActivit'+_0x231911(0xa3f,0x7db)]=Date[_0x231911(_0x1a113f._0x477c2d,_0x1a113f._0x248f35)]();if(_0x2846d6){this['forwardO'+_0x4fa470(_0x1a113f._0x4514cd,_0x1a113f._0x14a7aa)+_0x231911(_0x1a113f._0x4791ab,0x4a8)+'sage']({'kind':_0x4fa470(-_0x1a113f._0x40a88f,-0x155),'data':normalizeBinary(_0x5810f7)});return;}const _0xb47254=normalizeText(_0x5810f7);if(_0xb47254==null)return;const _0x2eb569=parseControl(_0xb47254);function _0x4fa470(_0x289cd4,_0x273ca2){return _0x18e10d(_0x273ca2,_0x289cd4- -0x399);}if(_0x2eb569){this['handleRe'+_0x4fa470(0x1f5,0x118)+'ol'](_0x2eb569['event'],_0x2eb569['count']);return;}function _0x231911(_0x101dd9,_0x2dc289){return _0x18e10d(_0x101dd9,_0x2dc289-_0x5144fd._0x3a167);}const _0x2841fb=parseConnectStartIdentity(_0xb47254);_0x2841fb&&this['observeC'+_0x4fa470(_0x1a113f._0x403fb1,0x3e4)+_0x4fa470(-_0x1a113f._0x75d637,-0xa3)](_0x2841fb['id'],_0x2841fb[_0x231911(0x259,0x452)]);const _0x31a9ae={};_0x31a9ae['kind']=_0x4fa470(_0x1a113f._0x59f25c,_0x1a113f._0x1f6489),_0x31a9ae[_0x4fa470(0x259,_0x1a113f._0x45746b)]=_0xb47254,this[_0x231911(_0x1a113f._0x21f41e,0x6b6)+'rQueueGa'+_0x231911(0x246,0x4a8)+_0x4fa470(_0x1a113f._0x3a7ab1,-0xaf)](_0x31a9ae);}[_0x9d3486(0x737,0x8c6)+_0x9d3486(0x60f,0x80e)+'ol'](_0x20110d,_0x3a1ea4){const _0x5c3efd={_0x5dc26d:0x203,_0x5859b8:0x269,_0x37e12d:0x172,_0x1bb27a:0xe8,_0x161017:0x13c,_0x1e5198:0x2ce,_0x1ab57e:0x2a1,_0x1734c1:0x233,_0x5e5720:0x3ce,_0x3661e1:0x44e,_0x12c8fd:0x68f,_0x327ec5:0x8b,_0x3aa2ce:0x22e,_0x11ae88:0xbe,_0x33003b:0x4c,_0x59ff1d:0x333,_0x2c49ac:0x251,_0x31de9a:0x42f,_0x2c665b:0x62b,_0x36ea20:0x221,_0x5d0ecf:0x3f,_0x1ece72:0x4d6,_0x36651c:0x52,_0x2b195f:0x18,_0x1f2b5c:0x2c,_0x84407b:0x164,_0x40e129:0x131,_0x5f59cf:0x435,_0x1226fb:0x5,_0x506b0d:0x2a5,_0x539a7d:0x2b8,_0x8cd9c1:0x304,_0x27fd6e:0x202,_0x48c20a:0x14c,_0x142619:0x3c,_0x966bf7:0x9e,_0x122aed:0xe2,_0x21767c:0x2e1,_0x570dbf:0x131,_0x64f361:0x208,_0x2afc64:0x420,_0x4f4dbe:0x272,_0x3fa73e:0x4cd,_0x1c3125:0x2d6,_0x25ec19:0x425,_0x710979:0x21b,_0x207df7:0x4a7,_0x510788:0xdf,_0x1b67f9:0xde,_0xf034a4:0x2e5,_0xfadaf5:0x1c9,_0x3886a7:0xab,_0x2b9d07:0x632,_0x1685fe:0x428,_0xcbf823:0x3b8,_0x13d495:0x477,_0x2e384f:0x309,_0x4cc327:0x2f6,_0x5caee0:0x4c3,_0x286ff6:0x1dd,_0x5927e2:0x97,_0x44777e:0x3c7,_0x1e8d87:0x76,_0x22bde0:0x65,_0x43beb2:0xc8,_0x402361:0x1e0,_0x5d8def:0x285,_0x2b1b29:0x167,_0x46bbd0:0xa2,_0x1c56f2:0x2bd,_0xfb2568:0xb5,_0x485b98:0x58f,_0x41fd76:0x366,_0x36e66b:0x776,_0x7fc3e3:0x3e8,_0x582908:0x44d,_0x294077:0x30d,_0x432dd5:0x85,_0x5b7995:0x381,_0x147f17:0x4b8,_0x270573:0x50b,_0x4a0425:0x4f,_0x378606:0x2bf,_0x506941:0x250,_0x56b4fa:0x1c6,_0x55dfcc:0x41c,_0x15e129:0x227,_0x243ff2:0xf3,_0x720aa8:0x448,_0x3904ac:0x253,_0x412d3a:0x234,_0x1ee034:0xb5,_0x39d166:0x530,_0x3f2d8c:0x578,_0x49d017:0x3e7,_0x577de8:0x30,_0x326a94:0x37,_0x47f3f4:0x241,_0x322bb6:0x33c,_0xa0ea91:0x293,_0x45242:0x36b,_0x2d162e:0x22d,_0x3e1af7:0x2c3,_0x356eca:0x316,_0x3fb012:0x9c,_0x5b6693:0x2bc,_0x5295f2:0x1fd,_0x5be462:0x120,_0x1b1ecd:0x46c,_0x533dd7:0x3a9,_0x4f646b:0x5e,_0x11419c:0x242},_0x5b0deb={_0x436888:0x25e},_0x53578a={_0x3be0fa:0x15d},_0x46f9f4={'MbUaS':function(_0x54523b,_0x1d6cf9){return _0x54523b==_0x1d6cf9;},'koqzC':function(_0x1702c6,_0x1fdb0d){return _0x1702c6(_0x1fdb0d);},'KJbHl':_0x311bf2(_0x5c3efd._0x5dc26d,0x3d0)+_0x311bf2(0x2ff,0x149)+_0x311bf2(-0x59,-0x1cc)+_0x4c98e9(0x2b2,_0x5c3efd._0x5859b8)+_0x4c98e9(_0x5c3efd._0x37e12d,0xed)+_0x311bf2(_0x5c3efd._0x1bb27a,-_0x5c3efd._0x161017)+_0x311bf2(0x388,0x11d),'lfMOe':function(_0xe6f250,_0x44f387){return _0xe6f250(_0x44f387);},'Mgvyx':function(_0x3eb935,_0x4342f4){return _0x3eb935(_0x4342f4);}};function _0x4c98e9(_0x43dc51,_0x312d0b){return _0x18e10d(_0x43dc51,_0x312d0b- -_0x53578a._0x3be0fa);}function _0x311bf2(_0x58290b,_0x409b6b){return _0x18e10d(_0x409b6b,_0x58290b- -_0x5b0deb._0x436888);}if(_0x20110d==='client_c'+_0x311bf2(-0xa2,-_0x5c3efd._0x1e5198)||_0x20110d===_0x311bf2(0x37e,_0x5c3efd._0x1ab57e)+_0x311bf2(0x1dd,0x14a)){const _0x437871=this['snapshot'][_0x311bf2(_0x5c3efd._0x1734c1,_0x5c3efd._0x5e5720)+_0x311bf2(_0x5c3efd._0x3661e1,_0x5c3efd._0x12c8fd)],_0x552b24=_0x3a1ea4??Math[_0x4c98e9(0x1ba,0x210)](0x1,this[_0x4c98e9(_0x5c3efd._0x327ec5,_0x5c3efd._0x3aa2ce)][_0x311bf2(0x233,0x241)+'unt']);_0x552b24>0x0&&_0x46f9f4['MbUaS'](this['clientDe'+_0x311bf2(_0x5c3efd._0x11ae88,_0x5c3efd._0x33003b)+_0x311bf2(_0x5c3efd._0x59ff1d,0x56b)],null)&&(this['clientDe'+'mandStar'+_0x311bf2(_0x5c3efd._0x59ff1d,0x435)]=Date[_0x4c98e9(-0x3b,_0x5c3efd._0x2c49ac)]());const _0x3ebee4={};_0x3ebee4[_0x4c98e9(_0x5c3efd._0x31de9a,0x334)+_0x4c98e9(_0x5c3efd._0x2c665b,0x54f)]=_0x552b24,this[_0x4c98e9(0x54,0x147)+'apshot'](_0x3ebee4);if(_0x552b24===0x0){this[_0x311bf2(_0x5c3efd._0x36ea20,_0x5c3efd._0x5d0ecf)+_0x4c98e9(0x6dd,_0x5c3efd._0x1ece72)+_0x311bf2(-_0x5c3efd._0x36651c,0x16f)]=![],this[_0x4c98e9(0x20,0xc7)+'cesRecen'+'t'](),this[_0x311bf2(-_0x5c3efd._0x2b195f,_0x5c3efd._0x1f2b5c)+_0x4c98e9(0x372,0x212)+'ewayQueu'+'e']();const _0x5d3dee=_0x46f9f4[_0x311bf2(_0x5c3efd._0x84407b,0xbd)](summarizePendingGatewayMessages,this[_0x4c98e9(0x240,_0x5c3efd._0x40e129)+'atewayMe'+'ssages'])[_0x4c98e9(_0x5c3efd._0x5f59cf,0x293)+'equests'];shouldScheduleGatewayIdleClose(_0x552b24,_0x5d3dee,this[_0x311bf2(0x1e0,_0x5c3efd._0x1226fb)+_0x311bf2(_0x5c3efd._0x506b0d,_0x5c3efd._0x539a7d)]())?(this['log'](_0x4c98e9(0x242,_0x5c3efd._0x8cd9c1)+_0x311bf2(0x2ff,_0x5c3efd._0x27fd6e)+_0x311bf2(-0x59,-_0x5c3efd._0x48c20a)+'\x20zero;\x20c'+_0x311bf2(0x324,0x11d)+_0x4c98e9(-_0x5c3efd._0x142619,_0x5c3efd._0x11ae88)+'way'),this['closeGat'+_0x311bf2(0x1f,_0x5c3efd._0x966bf7)]()):this['log'](_0x46f9f4[_0x4c98e9(-_0x5c3efd._0x122aed,0x146)]);}else{if(shouldRecycleGatewayForFreshClient(_0x437871,_0x552b24,this[_0x4c98e9(0x53e,_0x5c3efd._0x21767c)+_0x4c98e9(0x51c,0x3a6)](),![])){const _0x4bf6d1=_0x46f9f4[_0x4c98e9(0x354,0x265)](summarizePendingGatewayMessages,this[_0x4c98e9(0x1b4,_0x5c3efd._0x570dbf)+'atewayMe'+_0x311bf2(_0x5c3efd._0x64f361,_0x5c3efd._0x2afc64)]);this['log']('gateway\x20'+'recycle\x20'+_0x311bf2(-0xf,0xc4)+'d\x20for\x20fr'+_0x4c98e9(_0x5c3efd._0x4f4dbe,0x1fb)+_0x4c98e9(0x583,_0x5c3efd._0x3fa73e)+_0x4c98e9(_0x5c3efd._0x1c3125,0x2c9)+'='+_0x4bf6d1[_0x4c98e9(0x687,0x4c9)]+('\x20connect'+'=')+_0x4bf6d1[_0x4c98e9(0x258,0x293)+_0x311bf2(_0x5c3efd._0x25ec19,_0x5c3efd._0x710979)]+_0x4c98e9(0x548,_0x5c3efd._0x207df7)+_0x4bf6d1[_0x311bf2(_0x5c3efd._0x510788,_0x5c3efd._0x1b67f9)+'t']+_0x4c98e9(_0x5c3efd._0xf034a4,0x19e)+_0x4bf6d1[_0x4c98e9(-_0x5c3efd._0xfadaf5,_0x5c3efd._0x3886a7)]+(_0x4c98e9(_0x5c3efd._0x2b9d07,_0x5c3efd._0x1685fe)+'keStarte'+'d=')+this[_0x4c98e9(_0x5c3efd._0xcbf823,0x322)+'andshake'+_0x4c98e9(-0x2a,0xaf)]);const _0x59d176=_0x46f9f4[_0x311bf2(0x2eb,0x104)](prunePendingGatewayMessagesForFreshDemand,this[_0x311bf2(0x30,-0x62)+_0x311bf2(-0x55,-0x109)+'ssages']);_0x59d176[_0x4c98e9(_0x5c3efd._0x13d495,0x4f2)]>0x0&&(this[_0x4c98e9(0x2ed,_0x5c3efd._0x570dbf)+'atewayMe'+_0x4c98e9(0x4c4,_0x5c3efd._0x2e384f)]=_0x59d176[_0x311bf2(0x76,0x1e5)],this[_0x4c98e9(_0x5c3efd._0x4cc327,0x46c)]('dropped\x20'+'stale\x20ga'+_0x4c98e9(0x47b,_0x5c3efd._0x5caee0)+'eue\x20befo'+_0x4c98e9(-_0x5c3efd._0x286ff6,_0x5c3efd._0x5927e2)+'le\x20dropp'+_0x311bf2(0x3c,0x1dc)+_0x59d176['dropped']+_0x311bf2(_0x5c3efd._0x44777e,0x24d)+_0x59d176[_0x311bf2(_0x5c3efd._0x1e8d87,-0xb9)][_0x311bf2(0xbb,-0x56)])),this[_0x4c98e9(0x1d4,_0x5c3efd._0x22bde0)+_0x4c98e9(_0x5c3efd._0x43beb2,0x120)](!![]);}if(this[_0x311bf2(_0x5c3efd._0x402361,_0x5c3efd._0x5d8def)+_0x4c98e9(0x4c0,0x3a6)]()&&!this[_0x4c98e9(0x2a1,_0x5c3efd._0x2b1b29)+_0x311bf2(0x119,0x382)+'daryPend'+_0x4c98e9(0x2f7,0xd4)]){const _0x2f8e5d={};_0x2f8e5d[_0x4c98e9(0x19f,0x167)+_0x311bf2(-_0x5c3efd._0x46bbd0,0x1be)]=!![],_0x2f8e5d[_0x4c98e9(_0x5c3efd._0x1c56f2,0x509)+'r']=null,this[_0x311bf2(0x46,0x1d6)+_0x4c98e9(-0x1b,_0x5c3efd._0xfb2568)](_0x2f8e5d),this['log'](_0x4c98e9(_0x5c3efd._0x485b98,_0x5c3efd._0x41fd76)+_0x4c98e9(_0x5c3efd._0x36e66b,0x561)+_0x4c98e9(_0x5c3efd._0x7fc3e3,_0x5c3efd._0x582908)+_0x311bf2(_0x5c3efd._0x294077,0xe6)+_0x311bf2(-_0x5c3efd._0x432dd5,-0x282)+'enMs='+this[_0x4c98e9(_0x5c3efd._0x5b7995,0x38c)+_0x4c98e9(_0x5c3efd._0x147f17,_0x5c3efd._0x270573)](this[_0x4c98e9(_0x5c3efd._0x4a0425,_0x5c3efd._0x2b1b29)+'onnected'+_0x4c98e9(_0x5c3efd._0x378606,0x20e)])+('\x20handsha'+_0x311bf2(_0x5c3efd._0x506941,_0x5c3efd._0x56b4fa)+'d=')+this[_0x311bf2(0x221,0x458)+_0x4c98e9(_0x5c3efd._0x55dfcc,_0x5c3efd._0x1ece72)+'Started']);}}this['ensureGa'+_0x311bf2(_0x5c3efd._0x15e129,-0x13)+_0x311bf2(0x185,-_0x5c3efd._0x243ff2)]();return;}if(_0x20110d==='client_d'+_0x311bf2(0x1c2,_0x5c3efd._0x720aa8)+'ted'){this['gatewayH'+'andshake'+'Started']=![];const _0x19e40e={};_0x19e40e[_0x4c98e9(_0x5c3efd._0x3904ac,0x334)+_0x4c98e9(0x554,0x54f)]=0x0,this['updateSn'+_0x4c98e9(_0x5c3efd._0x412d3a,_0x5c3efd._0x1ee034)](_0x19e40e),this['markDevi'+_0x4c98e9(_0x5c3efd._0x39d166,_0x5c3efd._0x3f2d8c)+'t'](),this['dropStal'+_0x4c98e9(0x3aa,0x212)+_0x4c98e9(-0x191,0xc0)+'e']();const _0x26bf0b=_0x46f9f4[_0x311bf2(_0x5c3efd._0x49d017,0x417)](summarizePendingGatewayMessages,this[_0x311bf2(_0x5c3efd._0x577de8,-_0x5c3efd._0x326a94)+'atewayMe'+_0x311bf2(0x208,_0x5c3efd._0x47f3f4)])[_0x4c98e9(_0x5c3efd._0x322bb6,_0x5c3efd._0xa0ea91)+'equests'];shouldScheduleGatewayIdleClose(0x0,_0x26bf0b,this[_0x311bf2(0x1e0,0x336)+_0x4c98e9(0x34b,0x3a6)]())?(this[_0x311bf2(_0x5c3efd._0x45242,_0x5c3efd._0x2d162e)](_0x4c98e9(0x37c,0x304)+_0x4c98e9(0x181,_0x5c3efd._0x3e1af7)+'ted;\x20clo'+_0x311bf2(_0x5c3efd._0x356eca,0x127)+'e\x20gatewa'+'y'),this[_0x311bf2(-_0x5c3efd._0x3fb012,-_0x5c3efd._0x5b6693)+_0x4c98e9(_0x5c3efd._0x5295f2,_0x5c3efd._0x5be462)]()):(this[_0x4c98e9(0x2c0,_0x5c3efd._0x1b1ecd)]('client\x20d'+'isconnec'+_0x311bf2(0x318,_0x5c3efd._0x533dd7)+_0x311bf2(_0x5c3efd._0x4f646b,-0x1f0)+'ains\x20nee'+_0x4c98e9(0x40a,0x201)),this['ensureGa'+_0x311bf2(0x227,_0x5c3efd._0x11419c)+'nected']());return;}}[_0x9d3486(0x74f,0x835)+'rQueueGa'+'tewayMes'+'sage'](_0x232024){const _0xc90a49={_0x153b2d:0x652,_0x3b773b:0x5f0,_0x351df5:0x6bc,_0x5eeeb7:0x1e5,_0x505b11:0x1d9,_0xae0787:0x384,_0x395ff2:0x51a,_0x772bc1:0x396,_0x2e2fc6:0x2df,_0x5695ee:0x218,_0x912baf:0x356,_0x97f5b:0x1bd,_0x11528c:0xc5,_0x353445:0x5b7,_0x4c49b8:0x5cf,_0x118251:0x4f3,_0x29dbe1:0x330,_0x47f8cc:0x3cb,_0x382961:0x4c9,_0x48a06d:0x451,_0x466de8:0x576,_0x4af713:0x5f0,_0x1ec1d8:0x67f,_0x188bdf:0x1d9,_0xa858c6:0x382,_0xcd1a72:0x3a2,_0x3828d1:0x7c5,_0xc3bb26:0x95b,_0x45beda:0x39e,_0x13f046:0x5a6,_0x4e4fba:0x61e,_0x316b02:0x5b8,_0x2f88cf:0x6cf,_0x312775:0x5f8,_0x12ab6f:0x184,_0x2695e3:0x492,_0x4795bc:0x9a8,_0x1459cf:0x71b,_0x54b41b:0x200,_0x4b3b96:0xd4,_0x254c72:0x2ef,_0x4d5589:0x195,_0x1a1a07:0x339,_0x1038e6:0x398},_0x108587={_0x57f658:0x74},_0x362e92={'MPVek':_0x390742(0x44f,0x5b5)+_0x390742(_0xc90a49._0x153b2d,0x8d3)+_0x390742(_0xc90a49._0x3b773b,_0xc90a49._0x351df5)+'ng\x20conne'+_0x390742(0x345,_0xc90a49._0x5eeeb7)+'hake;\x20qu'+_0x390742(_0xc90a49._0x505b11,0x447)+_0x1a197b(0x3c9,0x4ea)+_0x1a197b(0x5a8,_0xc90a49._0xae0787)+'nects','eCftb':function(_0x342cb1,_0x32e9d4){return _0x342cb1!==_0x32e9d4;},'hivRE':function(_0x4410e6,_0x3581a1){return _0x4410e6(_0x3581a1);},'yGKBO':function(_0x4c3c56,_0x356570){return _0x4c3c56+_0x356570;}},_0x265617=_0x232024[_0x1a197b(_0xc90a49._0x395ff2,0x3fa)]===_0x1a197b(0x784,0x5d0)&&isConnectHandshakeRequest(_0x232024[_0x390742(0x57e,_0xc90a49._0x772bc1)]);function _0x1a197b(_0xd64371,_0x144329){return _0x18e10d(_0x144329,_0xd64371-0x192);}if(this[_0x1a197b(0x456,_0xc90a49._0x2e2fc6)+'loseBoun'+_0x390742(_0xc90a49._0x5695ee,_0xc90a49._0x912baf)+_0x390742(_0xc90a49._0x97f5b,-_0xc90a49._0x11528c)]){this[_0x1a197b(0x61e,0x725)+_0x390742(0x4c9,_0xc90a49._0x353445)+_0x390742(0x2b9,0x322)+'e'](_0x232024);_0x265617&&this['log'](_0x362e92[_0x390742(0x4b2,0x4f6)]);return;}const _0x25fec3=this[_0x390742(_0xc90a49._0x4c49b8,0x3b3)+_0x1a197b(_0xc90a49._0x118251,_0xc90a49._0x29dbe1)];function _0x390742(_0x5b5735,_0x2fbd33){return _0x18e10d(_0x2fbd33,_0x5b5735- -_0x108587._0x57f658);}if(!_0x25fec3||_0x362e92[_0x390742(0x2c3,0x3fe)](_0x25fec3[_0x1a197b(0x627,0x6d0)+'te'],_0x3602c1[_0x390742(0x5c2,0x366)])){this['ensureGa'+'tewayCon'+_0x390742(0x36f,_0xc90a49._0x47f8cc)](),this[_0x390742(0x418,0x40f)+_0x390742(_0xc90a49._0x382961,_0xc90a49._0x48a06d)+_0x390742(0x2b9,0x3de)+'e'](_0x232024);_0x265617&&this[_0x390742(0x555,0x3a1)](_0x390742(0x44f,0x6d0)+_0x390742(0x652,_0xc90a49._0x466de8)+_0x390742(_0xc90a49._0x4af713,0x4c8)+_0x1a197b(0x7bb,_0xc90a49._0x1ec1d8)+'ct\x20hands'+'hake;\x20qu'+_0x390742(_0xc90a49._0x188bdf,_0xc90a49._0xa858c6)+'il\x20gatew'+_0x390742(_0xc90a49._0xcd1a72,0x5ee)+'nects');return;}if(!this[_0x390742(0x40b,0x280)+_0x1a197b(_0xc90a49._0x3828d1,_0xc90a49._0xc3bb26)+_0x1a197b(_0xc90a49._0x45beda,_0xc90a49._0x13f046)]){if(!_0x265617){this[_0x1a197b(_0xc90a49._0x4e4fba,_0xc90a49._0x316b02)+_0x1a197b(_0xc90a49._0x2f88cf,_0xc90a49._0x312775)+_0x390742(0x2b9,_0xc90a49._0x12ab6f)+'e'](_0x232024);return;}this[_0x390742(0x40b,0x25f)+'andshake'+_0x390742(0x198,0x333)]=!![];const _0x42ad48=_0x362e92[_0x390742(_0xc90a49._0x2695e3,0x4f2)](parseConnectHandshakeMeta,_0x232024['text']);this[_0x1a197b(0x75b,_0xc90a49._0x4795bc)](_0x362e92[_0x1a197b(0x741,_0xc90a49._0x1459cf)](_0x1a197b(0x655,0x4a2)+_0x390742(_0xc90a49._0x54b41b,_0xc90a49._0x4b3b96)+'e\x20starte'+'d\x20queued'+'='+this[_0x1a197b(0x420,_0xc90a49._0x254c72)+_0x390742(_0xc90a49._0x4d5589,_0xc90a49._0x1a1a07)+'ssages'][_0x390742(0x2a5,_0xc90a49._0x1038e6)],formatConnectHandshakeMetaForLog(_0x42ad48)));}this['sendToGa'+'teway'](_0x232024);}[_0x18e10d(0x371,0x1ee)+'tewayCon'+'nected'](){const _0x3f3053={_0x3f2edb:0x5a6,_0x321ba7:0x3e7,_0x4a270c:0x3dc,_0x5d71d6:0x59d,_0x208307:0x4d2,_0x5ef975:0x898,_0x5544dd:0x6ff,_0x32d3f8:0x404,_0x16ccc8:0x3f9,_0x19f70b:0x67f,_0x45fd4a:0x746,_0x3a0922:0x4e5,_0x3f666a:0x5de,_0x146afd:0x3c0,_0xd0621d:0x68e,_0x3eff37:0x418,_0x25218c:0x317,_0x3dc444:0x2d1,_0x561b2c:0x3aa,_0x382fff:0x340,_0x3ebaa7:0x5a9,_0x1536d2:0x796,_0x250598:0x82f,_0x100b2e:0x505,_0x2f6e38:0x775,_0x3fa942:0x209,_0x479389:0x7d4,_0x194ae9:0x23c,_0x19187b:0x482,_0x3118b0:0x346,_0x1fa18b:0x394,_0x1b99f5:0x7ad,_0x28cd8e:0x67e},_0x41b7e8={_0x3ba146:0x5c3,_0x41b4d2:0x485,_0xe6fe5d:0x7e9,_0x4c6a24:0x58b,_0x15327b:0x35d,_0x314ef2:0x625,_0x7a979f:0x58d,_0x3d0f76:0x6e7,_0x498afb:0x9ab,_0x4ba92a:0x726,_0x4f9172:0x638,_0x681a81:0x620,_0x87728a:0x77e,_0x1f3a16:0x50b,_0x2b3c81:0x80a,_0x3152b5:0x7fa,_0x570c05:0x721,_0x2087d3:0x68a,_0x49cf38:0x9c3,_0x4d2b69:0x81f,_0x2a7345:0x5c6,_0x582b14:0x71a,_0x3fcac4:0x7c2,_0x324468:0x63d,_0x91d659:0x935,_0x2b5208:0x793,_0x53d9b1:0x863,_0x260534:0x544,_0x595ba5:0x6ed,_0x487974:0xaad,_0x1c8ce7:0x845,_0x51b18f:0x8ed,_0xbab9c9:0x3f9,_0x95cbaf:0x784,_0x5c79a9:0x6e2,_0x16348c:0x7a5,_0x27343a:0x6c3,_0xd14a52:0x979},_0x423e25={_0x128f6c:0x55c,_0x2bcf0e:0x854,_0x1660a3:0xabb},_0x635042={_0x3d2461:0x20f,_0x3d0148:0x7,_0x171b29:0xb0},_0x3a73b5={_0x348992:0x2a6},_0x1b15cc={_0x3ce5e4:0x650,_0x473801:0x51d,_0x1450d6:0x3a5,_0x4b1f7c:0x17b,_0x4cd710:0x15c,_0xd0d0c0:0x194,_0x1f1bf9:0xd4,_0x3b924e:0x264,_0x1767b3:0x84,_0x5b61ad:0x29d,_0xaab5df:0x246,_0x1c7d53:0x17d,_0x32e24b:0x2a9,_0x2f0c70:0xa3,_0x26b743:0x68b,_0x3b592e:0x617,_0x47c733:0x567,_0x4c00a7:0x49,_0x4ee55e:0x104,_0x9aea97:0xac,_0x5e3135:0x65f,_0x3526ee:0x5a9,_0x352141:0x6a7},_0x51cf2d={_0x43adad:0x19f},_0x192de6={_0x907bbb:0xe6},_0x11f040={};_0x11f040['xMauy']=_0x5338b3(_0x3f3053._0x3f2edb,0x662)+'close\x20bo'+_0x56d77e(_0x3f3053._0x321ba7,_0x3f3053._0x4a270c)+_0x5338b3(_0x3f3053._0x5d71d6,_0x3f3053._0x208307)+'reconnec'+'ting\x20for'+_0x56d77e(_0x3f3053._0x5ef975,_0x3f3053._0x5544dd)+'emand';const _0x2d1670=_0x11f040;function _0x56d77e(_0x55400c,_0x140659){return _0x18e10d(_0x55400c,_0x140659-_0x192de6._0x907bbb);}if(this[_0x56d77e(_0x3f3053._0x32d3f8,_0x3f3053._0x16ccc8)]||!this[_0x56d77e(0x8d7,_0x3f3053._0x19f70b)+_0x56d77e(0x5f8,_0x3f3053._0x45fd4a)]()||this[_0x5338b3(0x202,0x463)+'onnectin'+'g']||this[_0x56d77e(_0x3f3053._0x3a0922,0x524)+'yOpen']()||this[_0x5338b3(_0x3f3053._0x3f666a,0x463)+_0x5338b3(_0x3f3053._0x146afd,0x516)+_0x5338b3(_0x3f3053._0xd0621d,0x42b)+_0x56d77e(_0x3f3053._0x3eff37,_0x3f3053._0x25218c)])return;this[_0x56d77e(_0x3f3053._0x3dc444,_0x3f3053._0x561b2c)+'onnectin'+'g']=!![];function _0x5338b3(_0x5dfd66,_0x1d253e){return _0x18e10d(_0x5dfd66,_0x1d253e-_0x51cf2d._0x43adad);}this[_0x5338b3(0x74e,0x768)](_0x56d77e(_0x3f3053._0x382fff,_0x3f3053._0x3ebaa7)+_0x5338b3(0x966,_0x3f3053._0x1536d2)+_0x5338b3(0xa35,_0x3f3053._0x250598)+'l='+this[_0x56d77e(0x62d,0x477)][_0x5338b3(0x268,0x403)+'rl']);const _0x36bba6=this[_0x5338b3(0x31b,0x4c7)+_0x56d77e(_0x3f3053._0x100b2e,_0x3f3053._0x2f6e38)](this[_0x5338b3(0x445,0x530)][_0x5338b3(0x5dd,0x403)+'rl']);this['gatewayS'+'ocket']=_0x36bba6,_0x36bba6[_0x56d77e(_0x3f3053._0x3fa942,0x2db)](_0x56d77e(_0x3f3053._0x479389,0x6b3),()=>{if(this['stopped']||this[_0x51a9d2(_0x1b15cc._0x3ce5e4,0x724)+'ocket']!==_0x36bba6){_0x36bba6[_0x5ee83c(0x1f4,0xbf)]();return;}this[_0x51a9d2(_0x1b15cc._0x473801,_0x1b15cc._0x1450d6)+_0x5ee83c(-0x83,-0xe7)+'g']=![],this[_0x51a9d2(0x554,0x560)+'andshake'+'Started']=![],this[_0x5ee83c(-_0x1b15cc._0x4b1f7c,-_0x1b15cc._0x4cd710)+'loseBoun'+_0x5ee83c(-0x254,-_0x1b15cc._0xd0d0c0)+'ing']=![];function _0x5ee83c(_0x16b33c,_0x55bcc9){return _0x56d77e(_0x16b33c,_0x55bcc9- -0x506);}this[_0x51a9d2(0x512,0x3a5)+_0x5ee83c(-_0x1b15cc._0x1f1bf9,-_0x1b15cc._0x3b924e)+'AtMs']=Date['now']();function _0x51a9d2(_0x5b8f6e,_0x4d7ec5){return _0x56d77e(_0x5b8f6e,_0x4d7ec5- -0x5);}const _0x2e6da7={};_0x2e6da7[_0x5ee83c(_0x1b15cc._0x1767b3,-0x15c)+_0x51a9d2(0xe,_0x1b15cc._0x5b61ad)]=!![],_0x2e6da7[_0x5ee83c(0x184,_0x1b15cc._0xaab5df)+'r']=null,this['updateSn'+'apshot'](_0x2e6da7),this[_0x5ee83c(_0x1b15cc._0x1c7d53,0x1a9)](_0x5ee83c(_0x1b15cc._0x32e24b,_0x1b15cc._0x2f0c70)+_0x51a9d2(0x54d,_0x1b15cc._0x26b743)+_0x51a9d2(_0x1b15cc._0x3b592e,0x3bc)+_0x51a9d2(0x694,_0x1b15cc._0x47c733)+_0x51a9d2(0x30f,0x430)+this[_0x5ee83c(-_0x1b15cc._0x4c00a7,0xc9)+_0x5ee83c(0x58,0x248)](this['clientDe'+_0x5ee83c(0x173,-_0x1b15cc._0x4ee55e)+_0x5ee83c(_0x1b15cc._0x9aea97,0x171)])),this['flushPen'+'dingGate'+_0x51a9d2(0x7c9,_0x1b15cc._0x5e3135)+_0x51a9d2(_0x1b15cc._0x3526ee,_0x1b15cc._0x352141)]();}),_0x36bba6['on'](_0x56d77e(0x4cd,0x554),(_0x4ce926,_0x4c653d)=>{const _0xed2015={_0xb1c64c:0x506};function _0x2d336b(_0x32d41e,_0x1e8c4c){return _0x5338b3(_0x1e8c4c,_0x32d41e- -_0x3a73b5._0x348992);}function _0x5e3025(_0x4a3bd3,_0x2e982a){return _0x5338b3(_0x4a3bd3,_0x2e982a- -_0xed2015._0xb1c64c);}this[_0x2d336b(_0x635042._0x3d2461,_0x635042._0x3d0148)+_0x2d336b(0x2a0,0x3d8)+_0x5e3025(-0x1e1,_0x635042._0x171b29)](_0x4ce926,_0x4c653d);}),_0x36bba6[_0x5338b3(0x3b3,0x394)](_0x5338b3(_0x3f3053._0x194ae9,_0x3f3053._0x19187b),_0x176653=>{const _0x55ea79={_0x41f4f1:0x188};function _0x21270e(_0x4366b8,_0x1c7a4b){return _0x5338b3(_0x1c7a4b,_0x4366b8- -_0x55ea79._0x41f4f1);}function _0x2a4abc(_0x407700,_0x13aff0){return _0x5338b3(_0x13aff0,_0x407700- -0x26);}this[_0x21270e(0x5e0,0x394)](_0x2a4abc(0x63c,_0x423e25._0x128f6c)+_0x2a4abc(_0x423e25._0x2bcf0e,_0x423e25._0x1660a3)+String(_0x176653));}),_0x36bba6[_0x5338b3(_0x3f3053._0x3118b0,_0x3f3053._0x1fa18b)](_0x5338b3(_0x3f3053._0x1b99f5,_0x3f3053._0x28cd8e),(_0x2f4db5,_0x2bd5bb)=>{const _0x41aff6={_0x23a1e5:0x276},_0x50425e=summarizePendingGatewayMessages(this['pendingG'+_0x27b9f3(0x508,0x3bd)+_0x27b9f3(0x765,0x78d)])[_0x27b9f3(0x6ef,0x471)+'equests'],_0x42025a=this[_0x27b9f3(_0x41b7e8._0x3ba146,_0x41b7e8._0x41b4d2)+_0x11fcfc(_0x41b7e8._0xe6fe5d,0x6d3)+_0x27b9f3(_0x41b7e8._0x4c6a24,_0x41b7e8._0x15327b)+_0x11fcfc(_0x41b7e8._0x314ef2,_0x41b7e8._0x7a979f)]&&shouldKeepGatewayConnected(this[_0x11fcfc(0x522,_0x41b7e8._0x3d0f76)]['clientCo'+_0x27b9f3(_0x41b7e8._0x498afb,0xa41)],_0x50425e);function _0x11fcfc(_0x5de58b,_0x42ac8f){return _0x56d77e(_0x5de58b,_0x42ac8f-_0x41aff6._0x23a1e5);}function _0x27b9f3(_0x9db55a,_0x52e3e6){return _0x56d77e(_0x52e3e6,_0x9db55a-0x219);}this['gatewayS'+'ocket']===_0x36bba6&&(this[_0x11fcfc(0x83f,0x99f)+_0x27b9f3(0x660,_0x41b7e8._0x4ba92a)]=null);this[_0x11fcfc(_0x41b7e8._0x4f9172,_0x41b7e8._0x681a81)+'onnectin'+'g']=![],this[_0x27b9f3(_0x41b7e8._0x87728a,0x687)+'andshake'+_0x27b9f3(_0x41b7e8._0x1f3a16,0x61b)]=![],this['gatewayC'+_0x27b9f3(0x676,_0x41b7e8._0x2b3c81)+'daryPend'+'ing']=![],this[_0x27b9f3(_0x41b7e8._0x3ba146,_0x41b7e8._0x3152b5)+'onnected'+'AtMs']=null,this[_0x27b9f3(0x5a3,0x650)+_0x27b9f3(0x511,_0x41b7e8._0x570c05)]({'gatewayConnected':![],'lastError':_0x2f4db5===0x3e8||_0x42025a?this[_0x27b9f3(_0x41b7e8._0x2087d3,0x807)]['lastErro'+'r']:_0x11fcfc(_0x41b7e8._0x49cf38,_0x41b7e8._0x4d2b69)+_0x27b9f3(_0x41b7e8._0x2a7345,_0x41b7e8._0x582b14)+(_0x2bd5bb['toString']()||_0x2f4db5)}),this['log'](_0x27b9f3(_0x41b7e8._0x3fcac4,0x6cd)+_0x27b9f3(_0x41b7e8._0x324468,0x53b)+_0x11fcfc(0x565,0x674)+'e='+_0x2f4db5+_0x27b9f3(0x4d5,0x6c0)+(_0x2bd5bb[_0x11fcfc(_0x41b7e8._0x91d659,_0x41b7e8._0x2b5208)]()||_0x27b9f3(0x5cb,0x599))+(_0x27b9f3(0x926,_0x41b7e8._0x53d9b1)+_0x27b9f3(0x518,0x699)+_0x27b9f3(_0x41b7e8._0x260534,_0x41b7e8._0x595ba5))+this[_0x11fcfc(_0x41b7e8._0x487974,_0x41b7e8._0x1c8ce7)+'ince'](this['clientDe'+'mandStar'+_0x11fcfc(0x99c,_0x41b7e8._0x51b18f)]));if(_0x42025a){this[_0x11fcfc(0xaf8,0x925)](_0x2d1670[_0x27b9f3(0x63a,0x4d2)]),this[_0x11fcfc(_0x41b7e8._0xbab9c9,0x54a)+_0x27b9f3(_0x41b7e8._0x95cbaf,0x718)+_0x27b9f3(_0x41b7e8._0x5c79a9,0x87a)]();return;}this[_0x27b9f3(_0x41b7e8._0x16348c,_0x41b7e8._0x27343a)+_0x27b9f3(0x7a7,_0x41b7e8._0xd14a52)+'econnect']();});}[_0x9d3486(0x65f,0x596)+_0x18e10d(0x172,0x3a7)+'sage'](_0x30b76e,_0x921f0d){const _0xe530c1={_0xe4de0c:0x2e9,_0x3f3897:0x8f,_0x55c83b:0x242,_0x15c5f5:0x20a,_0x540e57:0x288,_0x3a07b4:0x2e3,_0x1a84ea:0x1e7,_0x4d42bb:0x1e,_0x5b53fc:0x110,_0x54a776:0xf5,_0x2e7a13:0x30},_0x313793={_0xf5a37c:0x3f4},_0x6368fb={_0x2798bc:0x262},_0x577436={'ccsaq':function(_0x2da551,_0x4b3534){return _0x2da551(_0x4b3534);}},_0x2d8cf4=this[_0x8b1479(0x1da,_0xe530c1._0xe4de0c)+'ket'];if(!_0x2d8cf4||_0x2d8cf4[_0x442e64(0x27f,0xa1)+'te']!==_0x3602c1[_0x442e64(_0xe530c1._0x3f3897,_0xe530c1._0x55c83b)])return;if(_0x921f0d){_0x2d8cf4['send'](normalizeBinary(_0x30b76e));return;}function _0x8b1479(_0x223a89,_0x2b39c2){return _0x18e10d(_0x2b39c2,_0x223a89- -_0x6368fb._0x2798bc);}const _0x53d729=normalizeText(_0x30b76e);if(_0x53d729==null)return;const _0x379221=parsePairingRequestFromError(_0x53d729);function _0x442e64(_0x1f4c48,_0x2de4fc){return _0x18e10d(_0x1f4c48,_0x2de4fc- -_0x313793._0xf5a37c);}_0x379221&&this[_0x8b1479(_0xe530c1._0x15c5f5,0x1d3)+_0x8b1479(_0xe530c1._0x540e57,0x508)+_0x8b1479(_0xe530c1._0x3a07b4,0x5a)](_0x379221);const _0x559574=_0x577436[_0x442e64(-0x172,-_0xe530c1._0x1a84ea)](parsePairResolvedEvent,_0x53d729);_0x559574&&this[_0x442e64(-_0xe530c1._0x4d42bb,-_0xe530c1._0x5b53fc)+'RequestR'+_0x8b1479(_0xe530c1._0x54a776,-0xcb)](_0x559574['requestI'+'d'],_0x559574[_0x8b1479(-_0xe530c1._0x2e7a13,0xec)]),_0x2d8cf4[_0x8b1479(0x130,0x5f)](_0x53d729);}['flushPen'+_0x9d3486(0x6e0,0x90c)+'wayMessa'+'ges'](){const _0x5a6e3a={_0x26ef44:0x8f6,_0x5627d2:0x66a,_0x30ba1d:0x724,_0x1a960a:0x365,_0x15680e:0x442,_0x1c6c20:0x53d,_0x3902c5:0x36f,_0x3bd057:0x99,_0x899d2a:0x36,_0x595fa6:0x103,_0x50965e:0x4df,_0x48a637:0x459,_0x5d91ec:0x1fc,_0x103e09:0x441,_0x47c7af:0x5ab,_0x3251a8:0x438,_0x10255e:0x26d,_0x5c5859:0x37b,_0x331e8b:0x692,_0x10c5c6:0x6d9,_0x5052d9:0x36f,_0x145376:0x99,_0xfb6e31:0x1bb,_0x467028:0x8e,_0x4ea53c:0x416,_0x15a286:0x4c3,_0x341a78:0x59b,_0x1f06b1:0x9c,_0x33a22d:0xbb,_0x111e76:0x528,_0x1f1e9d:0xc6,_0x3e52e2:0x5e4,_0x4244c6:0x714,_0xc1ba6:0x4ee,_0x2bddde:0x39a,_0x27c014:0x333,_0x459eb8:0x2ea},_0x2fbee3={_0x100b9f:0xe1},_0x4f7c85={};_0x4f7c85[_0x23f840(_0x5a6e3a._0x26ef44,_0x5a6e3a._0x5627d2)]=function(_0x38f113,_0x5466c7){return _0x38f113>_0x5466c7;};const _0x26da79=_0x4f7c85,_0x219954=this[_0x23f840(0x84e,_0x5a6e3a._0x30ba1d)+_0x23f840(_0x5a6e3a._0x1a960a,_0x5a6e3a._0x15680e)];if(!_0x219954||_0x219954[_0x23f840(0x6af,0x576)+'te']!==_0x3602c1[_0x23f840(0x5ab,0x717)])return;const _0x1e0dc9=[],_0x16ac18=dedupePendingGatewayMessages(this[_0x23f840(_0x5a6e3a._0x1c6c20,_0x5a6e3a._0x3902c5)+_0xc93348(_0x5a6e3a._0x3bd057,-_0x5a6e3a._0x899d2a)+_0xc93348(0x2f6,_0x5a6e3a._0x595fa6)]);function _0x23f840(_0x2ca4e2,_0x3e7ea2){return _0x18e10d(_0x2ca4e2,_0x3e7ea2-_0x2fbee3._0x100b9f);}_0x26da79[_0x23f840(0x48e,0x66a)](_0x16ac18[_0xc93348(_0x5a6e3a._0x50965e,0x2be)],0x0)&&this[_0xc93348(_0x5a6e3a._0x48a637,_0x5a6e3a._0x5d91ec)]('dropped\x20'+_0xc93348(0x50a,0x380)+'eued\x20gat'+_0xc93348(_0x5a6e3a._0x103e09,_0x5a6e3a._0x47c7af)+_0x23f840(0x66b,0x6c2)+_0xc93348(_0x5a6e3a._0x3251a8,0x326)+_0x23f840(0x6ae,0x713)+_0x23f840(_0x5a6e3a._0x10255e,_0x5a6e3a._0x5c5859)+_0x16ac18[_0x23f840(_0x5a6e3a._0x331e8b,0x730)]+_0x23f840(_0x5a6e3a._0x10c5c6,0x706)+_0x16ac18[_0x23f840(0x33c,0x3b5)]['length']);function _0xc93348(_0xb4518,_0x1c4b93){return _0x18e10d(_0x1c4b93,_0xb4518- -0x170);}this[_0x23f840(0x519,_0x5a6e3a._0x5052d9)+_0xc93348(_0x5a6e3a._0x145376,-_0x5a6e3a._0xfb6e31)+'ssages']=[];for(const _0x236bc8 of _0x16ac18[_0xc93348(0x164,-_0x5a6e3a._0x467028)]){if(!this[_0xc93348(0x30f,_0x5a6e3a._0x4ea53c)+_0xc93348(_0x5a6e3a._0x15a286,_0x5a6e3a._0x341a78)+_0xc93348(_0x5a6e3a._0x1f06b1,_0x5a6e3a._0x33a22d)]){if(_0x236bc8['kind']!==_0x23f840(_0x5a6e3a._0x111e76,0x6d3)||!isConnectHandshakeRequest(_0x236bc8['text'])){_0x1e0dc9['push'](_0x236bc8);continue;}this[_0xc93348(0x30f,_0x5a6e3a._0x1f1e9d)+_0x23f840(_0x5a6e3a._0x3e52e2,_0x5a6e3a._0x4244c6)+_0xc93348(0x9c,-0x34)]=!![];}this[_0x23f840(0x59a,_0x5a6e3a._0xc1ba6)+_0xc93348(_0x5a6e3a._0x2bddde,_0x5a6e3a._0x27c014)](_0x236bc8);}this['pendingG'+_0x23f840(0x133,_0x5a6e3a._0x459eb8)+_0x23f840(0x440,0x547)]=_0x1e0dc9;}['sendToGa'+_0x9d3486(0x7cb,0x78a)](_0x3663b4){const _0x4d323f={_0x5887a1:0x712,_0xfc2e79:0x913,_0x15f942:0x6da,_0x3957cd:0xa2f,_0x25911c:0x7af,_0x5e9689:0x563,_0x7cd688:0x7cc,_0x51d6a7:0x493,_0x55831c:0x564,_0x250e68:0x24d,_0x45313f:0x2dd,_0x3982bb:0x2fa,_0x44e76f:0x512,_0x1dafe2:0x2fd,_0xb274c2:0x69c,_0x5a2b09:0x76b,_0x296364:0x517,_0x4267b7:0x629,_0x2efe7a:0x543,_0xa573f8:0x79d,_0x3af2c5:0x69e,_0x1290d3:0x695,_0x25fb57:0x90e,_0x5fc14e:0x97a},_0x39f3a={_0x5a4116:0x31c},_0x182c21={'bvCYx':function(_0x4f9f5f,_0x143395){return _0x4f9f5f(_0x143395);},'OmVos':_0x1dae34(_0x4d323f._0x5887a1,0x7df)+_0x1dae34(0x71d,_0x4d323f._0xfc2e79)+_0x1dae34(_0x4d323f._0x15f942,0x69b)+'ched\x20mod'+_0x1dae34(_0x4d323f._0x3957cd,_0x4d323f._0x25911c)+'rd'};function _0x104ecf(_0x34742b,_0x51fc6f){return _0x18e10d(_0x51fc6f,_0x34742b- -0xe0);}function _0x1dae34(_0x615607,_0x1a22d2){return _0x18e10d(_0x615607,_0x1a22d2-_0x39f3a._0x5a4116);}const _0x1b27b1=this[_0x104ecf(_0x4d323f._0x5e9689,_0x4d323f._0x7cd688)+_0x104ecf(0x281,_0x4d323f._0x51d6a7)];if(!_0x1b27b1||_0x1b27b1[_0x104ecf(0x3b5,_0x4d323f._0x55831c)+'te']!==_0x3602c1['OPEN']){this[_0x104ecf(0x3ac,0x4f3)+_0x104ecf(0x45d,0x1e2)+_0x104ecf(_0x4d323f._0x250e68,_0x4d323f._0x45313f)+'e'](_0x3663b4);return;}if(_0x3663b4['kind']===_0x104ecf(0x512,_0x4d323f._0x3982bb)){const _0x2b36ac=patchConnectRequestGatewayAuth(_0x3663b4[_0x104ecf(_0x4d323f._0x44e76f,_0x4d323f._0x1dafe2)],readOpenClawInfo()),_0xd190b4=_0x182c21[_0x1dae34(_0x4d323f._0xb274c2,_0x4d323f._0x5a2b09)](parseConnectHandshakeMeta,_0x2b36ac[_0x104ecf(_0x4d323f._0x44e76f,0x5f5)]);_0xd190b4&&this['log'](_0x1dae34(0xa42,0x7df)+_0x104ecf(_0x4d323f._0x296364,_0x4d323f._0x4267b7)+_0x104ecf(0x56b,_0x4d323f._0x2efe7a)+'forwarde'+'d'+formatConnectHandshakeMetaForLog(_0xd190b4));_0x2b36ac[_0x1dae34(_0x4d323f._0xa573f8,_0x4d323f._0x3af2c5)]&&this['log'](_0x182c21[_0x1dae34(0x855,0x73d)]);_0x1b27b1['send'](_0x2b36ac[_0x1dae34(_0x4d323f._0x1290d3,_0x4d323f._0x25fb57)]);return;}_0x1b27b1[_0x1dae34(0x515,0x6ae)](_0x3663b4[_0x1dae34(0x7a1,_0x4d323f._0x5fc14e)]);}['sendGate'+_0x18e10d(0x39d,0x342)+'st'](_0x50b9b7,_0x4f32da){const _0x451ac0={_0x28fa6a:0x2e4,_0x3fc084:0x415,_0xd6d939:0x47c,_0x3c6b8d:0x22a,_0x1543cf:0x66b,_0x4657eb:0x6b3};function _0x575117(_0x132344,_0x332456){return _0x18e10d(_0x132344,_0x332456-0xc1);}const _0x3e1713=JSON['stringif'+'y']({'type':_0x2a1738(-0x77,-_0x451ac0._0x28fa6a),'id':_0x575117(_0x451ac0._0x3fc084,_0x451ac0._0xd6d939)+_0x5cc6ea(),'method':_0x50b9b7,'params':_0x4f32da}),_0x45856a={};_0x45856a['kind']=_0x2a1738(0x2ee,_0x451ac0._0x3c6b8d);function _0x2a1738(_0x51941d,_0x25e9e9){return _0x18e10d(_0x25e9e9,_0x51941d- -0x304);}_0x45856a[_0x575117(_0x451ac0._0x1543cf,_0x451ac0._0x4657eb)]=_0x3e1713,this['forwardO'+_0x2a1738(0x196,0xd5)+_0x2a1738(0xa3,0x2f5)+_0x575117(_0x451ac0._0x3fc084,0x4d8)](_0x45856a);}['closeGat'+'eway'](_0x36d61f=![]){const _0x3261d2={_0x2a4bfb:0x32a,_0x5e9635:0x103,_0x1e3dfb:0x23d,_0x403c49:0x2b8,_0x587f63:0x29e,_0x10a20e:0x185,_0x414414:0x30b,_0x31b9e0:0x476,_0x2e7a3a:0x551,_0x201cb9:0x2d0,_0x1c2503:0x670,_0x1b31dd:0x3e3,_0x26841e:0x443,_0x31c654:0x48f,_0x47f42b:0x21c,_0x498701:0x2e2,_0x46d8a8:0xbd,_0x1d7428:0x5,_0xca5d67:0x387,_0x5ee4a5:0x5eb,_0x1ca7b3:0x3d,_0x4c5ca7:0x98,_0x102aef:0x2d4,_0x2e4c1b:0x1fe,_0x23b5e6:0x42a,_0x495e40:0x7b0,_0x5a9e0b:0x98,_0xf96622:0x4a5,_0x51c6ca:0x3a6,_0x4dec33:0x371,_0x52271f:0x4e9,_0x572217:0x1ad,_0x5bce94:0x3b3,_0x4cab22:0x241,_0x2f476e:0x21b,_0x1c05a8:0x15c,_0x1ce538:0x11a},_0x5287f7={_0x558c95:0x270},_0x22f935={'uJKIh':function(_0x1c772b,_0x4f67ae,_0x2ca915){return _0x1c772b(_0x4f67ae,_0x2ca915);},'BaXtK':function(_0x34a3ed,_0x56641d){return _0x34a3ed===_0x56641d;},'QtTyv':function(_0x15605b,_0x323def){return _0x15605b===_0x323def;}};this[_0x51ecaa(0x193,-0x9c)+_0x3d9a2e(_0x3261d2._0x2a4bfb,0x54a)+'r']&&(clearTimeout(this[_0x51ecaa(-_0x3261d2._0x5e9635,-0x9c)+'etryTime'+'r']),this[_0x3d9a2e(_0x3261d2._0x1e3dfb,_0x3261d2._0x403c49)+'etryTime'+'r']=null);const _0x5f54e6=summarizePendingGatewayMessages(this[_0x3d9a2e(_0x3261d2._0x587f63,_0x3261d2._0x10a20e)+_0x3d9a2e(0x219,_0x3261d2._0x414414)+_0x3d9a2e(_0x3261d2._0x31b9e0,0x209)])['connectR'+_0x3d9a2e(0x693,0x7b0)],_0x23c3b2=_0x36d61f&&this[_0x51ecaa(_0x3261d2._0x2e7a3a,_0x3261d2._0x201cb9)+_0x3d9a2e(_0x3261d2._0x1c2503,0x701)]()&&_0x22f935['uJKIh'](shouldKeepGatewayConnected,this[_0x51ecaa(0x3,0xc2)][_0x3d9a2e(0x4a1,0x5ce)+_0x51ecaa(0x1c0,_0x3261d2._0x1b31dd)],_0x5f54e6),_0x205a61=this[_0x3d9a2e(0x653,0x6fd)+_0x3d9a2e(0x371,_0x3261d2._0x26841e)];this[_0x3d9a2e(_0x3261d2._0x31c654,0x4a9)+'andshake'+_0x3d9a2e(_0x3261d2._0x47f42b,_0x3261d2._0x498701)]=![],this[_0x3d9a2e(0x2d4,0x371)+_0x3d9a2e(0x1cc,_0x3261d2._0x46d8a8)+'AtMs']=null;if(!_0x205a61){this[_0x51ecaa(-0x19,-_0x3261d2._0x1d7428)+_0x3d9a2e(_0x3261d2._0xca5d67,_0x3261d2._0x5ee4a5)+_0x51ecaa(-0x11c,-_0x3261d2._0x1ca7b3)+_0x51ecaa(-0x31c,-_0x3261d2._0x4c5ca7)]=![],this[_0x3d9a2e(_0x3261d2._0x102aef,0x456)+_0x3d9a2e(0x349,0x28b)+'g']=![];_0x23c3b2&&this[_0x3d9a2e(_0x3261d2._0x2e4c1b,_0x3261d2._0x23b5e6)+'tewayCon'+_0x51ecaa(0x27f,0x11a)]();return;}if(_0x22f935[_0x3d9a2e(0x628,_0x3261d2._0x495e40)](_0x205a61[_0x51ecaa(0x10e,0x1cc)+'te'],_0x3602c1[_0x3d9a2e(0x25c,0x2e0)])){this[_0x3d9a2e(0x2d4,0x2b7)+_0x3d9a2e(0x387,0x12f)+_0x51ecaa(-0x1e3,-_0x3261d2._0x1ca7b3)+_0x51ecaa(-0x1da,-_0x3261d2._0x5a9e0b)]=_0x23c3b2;return;}if(_0x205a61[_0x3d9a2e(_0x3261d2._0xf96622,_0x3261d2._0x51c6ca)+'te']===_0x3602c1['CLOSED']){_0x22f935['QtTyv'](this[_0x51ecaa(0x23c,0x37a)+_0x3d9a2e(_0x3261d2._0x4dec33,_0x3261d2._0x52271f)],_0x205a61)&&(this[_0x51ecaa(0x2ce,0x37a)+_0x51ecaa(_0x3261d2._0x572217,0x98)]=null);this[_0x3d9a2e(_0x3261d2._0x102aef,0x294)+_0x3d9a2e(_0x3261d2._0xca5d67,_0x3261d2._0x5bce94)+'daryPend'+_0x3d9a2e(_0x3261d2._0x4cab22,0xb0)]=![],this[_0x51ecaa(-_0x3261d2._0x2f476e,-_0x3261d2._0x1d7428)+'onnectin'+'g']=![];_0x23c3b2&&this[_0x3d9a2e(0x1fe,0x33)+'tewayCon'+_0x51ecaa(_0x3261d2._0x1c05a8,_0x3261d2._0x1ce538)]();return;}function _0x51ecaa(_0x54b3c8,_0x3de1b2){return _0x9d3486(_0x54b3c8,_0x3de1b2- -0x549);}function _0x3d9a2e(_0x5ad26b,_0x4820c2){return _0x9d3486(_0x4820c2,_0x5ad26b- -_0x5287f7._0x558c95);}this[_0x3d9a2e(0x2d4,0x477)+_0x3d9a2e(0x387,0x4b4)+'daryPend'+_0x3d9a2e(_0x3261d2._0x4cab22,0x10b)]=_0x23c3b2,_0x205a61[_0x51ecaa(0x61,0x216)]();}['createWe'+_0x18e10d(0x40a,0x68f)](_0x353497){const _0x4d9f05={_0x469675:0x77,_0x373b9b:0x12c};function _0x4b3abf(_0x321435,_0x1e119d){return _0x9d3486(_0x1e119d,_0x321435- -0x5e6);}if(this[_0x5151f9(-_0x4d9f05._0x469675,-0x21f)]['createWe'+_0x5151f9(0x287,0x308)])return this[_0x5151f9(-0x77,_0x4d9f05._0x373b9b)]['createWe'+'bSocket'](_0x353497);const _0x4da6c1={};_0x4da6c1['maxPaylo'+'ad']=0x19*0x400*0x400;function _0x5151f9(_0x4d8197,_0x33d179){return _0x9d3486(_0x33d179,_0x4d8197- -0x688);}return new _0x3602c1(_0x353497,_0x4da6c1);}[_0x18e10d(0x269,0x4a6)+_0x9d3486(0x385,0x49a)+'onnect'](){const _0x43ab27={_0x202b1a:0xf3,_0x5c96d3:0xda,_0x4f6daa:0x858,_0x2843d7:0x7d0,_0x27483b:0x4d,_0x24fe9c:0x40a,_0x1bdd50:0xe7,_0x6bb30c:0x580,_0x4ee24b:0x7d9,_0x586783:0x227,_0x2830c1:0x46c,_0x2d34b9:0x591,_0x318eb2:0x6c8,_0x1222cb:0x19d,_0x51e1a2:0x38,_0x5dec6e:0x3b,_0x2d0b43:0x20a,_0x31b468:0x354,_0x5e1430:0x41,_0x55a084:0x6fa},_0x230570={_0x202230:0x1dc,_0x1bb1a5:0x28d},_0x27676e={_0x18a2a8:0x181};if(this[_0x160bd5(_0x43ab27._0x202b1a,-_0x43ab27._0x5c96d3)]||this[_0x5d522f(_0x43ab27._0x4f6daa,_0x43ab27._0x2843d7)+_0x160bd5(0xa1,-_0x43ab27._0x27483b)])return;const _0x548c18=this[_0x5d522f(_0x43ab27._0x24fe9c,0x490)][_0x5d522f(0x57d,0x7d0)+_0x5d522f(_0x43ab27._0x1bdd50,0x32f)+'ayMs']??RECONNECT_BASE_DELAY_MS,_0x2b9543=this[_0x160bd5(-0x218,-0x5c)]['reconnec'+_0x160bd5(-0x17c,0x78)+_0x5d522f(_0x43ab27._0x6bb30c,_0x43ab27._0x4ee24b)]??RECONNECT_MAX_DELAY_MS,_0x413ccd=Math['min'](_0x2b9543,_0x548c18*Math[_0x5d522f(_0x43ab27._0x586783,_0x43ab27._0x2830c1)](0x1,this['relayAtt'+'empt']));function _0x160bd5(_0x997b3d,_0x47e0d0){return _0x9d3486(_0x997b3d,_0x47e0d0- -0x66d);}this[_0x5d522f(_0x43ab27._0x2d34b9,_0x43ab27._0x318eb2)](_0x160bd5(-_0x43ab27._0x1222cb,-_0x43ab27._0x51e1a2)+_0x160bd5(_0x43ab27._0x5dec6e,_0x43ab27._0x2d0b43)+_0x5d522f(_0x43ab27._0x31b468,0x5a5)+_0x160bd5(0x2c7,_0x43ab27._0x5e1430)+'s='+_0x413ccd);function _0x5d522f(_0x1747db,_0x2190f1){return _0x9d3486(_0x1747db,_0x2190f1- -_0x27676e._0x18a2a8);}this[_0x5d522f(0x659,_0x43ab27._0x2843d7)+_0x5d522f(_0x43ab27._0x55a084,0x49f)]=setTimeout(()=>{const _0x306b29={_0x506dfd:0x4ef};function _0xf4d4a6(_0x3a0d69,_0x52bb9f){return _0x5d522f(_0x3a0d69,_0x52bb9f- -0x255);}this[_0x48d388(_0x230570._0x202230,0x2e1)+'tTimer']=null;function _0x48d388(_0x4d8a10,_0x3cd035){return _0x5d522f(_0x4d8a10,_0x3cd035- -_0x306b29._0x506dfd);}void this[_0x48d388(_0x230570._0x1bb1a5,0x0)+'elay']();},_0x413ccd);}[_0x18e10d(0x228,0x4a6)+_0x9d3486(0x98d,0x728)+'econnect'](){const _0x1098dc={_0x1559a9:0x81,_0x59477:0x5db,_0x3e4ab6:0x43d,_0x285757:0x488,_0x5691a1:0x192,_0x9031ea:0x411,_0x46e5ad:0x7dd,_0x54afb2:0x55a,_0x470259:0x6bc,_0x45df3c:0x209,_0x3d96c2:0x823,_0x5f2b81:0x6f8,_0x32180f:0x1a1,_0x4e713b:0x423},_0x13a12b={_0x3ee343:0x3a,_0x328630:0x389,_0x40bbf3:0x1ee,_0xfa1817:0x40a,_0x560bd1:0x49e,_0x53b67b:0x3e3},_0x36d168={_0x2fdc25:0x175};function _0x41c4dc(_0x484b0b,_0xe2c32c){return _0x18e10d(_0x484b0b,_0xe2c32c-_0x36d168._0x2fdc25);}const _0x4d9a42=summarizePendingGatewayMessages(this['pendingG'+_0x5219cf(-0x97,_0x1098dc._0x1559a9)+_0x41c4dc(0x429,_0x1098dc._0x59477)])[_0x41c4dc(0x677,0x565)+_0x41c4dc(0x855,0x7f8)];function _0x5219cf(_0x11e3c9,_0x27a60e){return _0x18e10d(_0x11e3c9,_0x27a60e- -0x188);}if(this[_0x41c4dc(_0x1098dc._0x3e4ab6,_0x1098dc._0x285757)]||this['gatewayR'+_0x5219cf(0x391,_0x1098dc._0x5691a1)+'r']||!this[_0x5219cf(0x1c1,_0x1098dc._0x9031ea)+_0x41c4dc(_0x1098dc._0x46e5ad,0x7d5)]()||!shouldKeepGatewayConnected(this[_0x5219cf(0x21d,0x203)][_0x41c4dc(_0x1098dc._0x54afb2,0x606)+_0x41c4dc(_0x1098dc._0x470259,0x821)],_0x4d9a42))return;const _0x2332ee=this[_0x5219cf(0x274,_0x1098dc._0x45df3c)][_0x41c4dc(0x5c5,0x3a2)+_0x41c4dc(_0x1098dc._0x3d96c2,_0x1098dc._0x5f2b81)+_0x41c4dc(0x691,0x84f)]??GATEWAY_RETRY_DELAY_MS;this[_0x5219cf(-_0x1098dc._0x32180f,0xa5)+_0x5219cf(_0x1098dc._0x4e713b,0x192)+'r']=setTimeout(()=>{function _0x22ed06(_0x30d07e,_0x3591b9){return _0x5219cf(_0x3591b9,_0x30d07e- -0x1cc);}this['gatewayR'+_0x22ed06(-_0x13a12b._0x3ee343,0x7f)+'r']=null;function _0x185b5e(_0x40b596,_0x273855){return _0x5219cf(_0x40b596,_0x273855-0x188);}this[_0x185b5e(_0x13a12b._0x328630,_0x13a12b._0x40bbf3)+_0x185b5e(_0x13a12b._0xfa1817,0x485)+_0x185b5e(_0x13a12b._0x560bd1,_0x13a12b._0x53b67b)]();},_0x2332ee);}[_0x9d3486(0x806,0x759)+_0x18e10d(0x69e,0x5f9)](){const _0x11c215={_0x214942:0x678,_0x5e5281:0x593,_0x57872c:0x390,_0x4270d5:0x80e,_0x270f32:0x60c},_0x4ea29a={_0x4e54e7:0xe3,_0x36a238:0x12d,_0x125e66:0x2f5,_0x1c6f34:0x687,_0x12851b:0x5c9,_0x1e7160:0x189,_0x1a7bb2:0x1b1,_0x32c630:0x197,_0x44882b:0x1dd,_0x10dbcb:0x1f9,_0x48b09:0x16c,_0x3533cd:0x3b5,_0x44895e:0x63d,_0x2e26f0:0x7a5,_0x163430:0x201},_0x52b6bf={_0x62218d:0x1},_0xb2ec2a={'GEkfX':function(_0x376f7f,_0x5912ed){return _0x376f7f-_0x5912ed;},'zZvBM':function(_0x4a986d,_0x167175,_0x1d8058){return _0x4a986d(_0x167175,_0x1d8058);}};this['stopHear'+_0x1c1fb6(_0x11c215._0x214942,_0x11c215._0x5e5281)]();function _0x9b3bcb(_0x38917b,_0x39c911){return _0x18e10d(_0x39c911,_0x38917b-0x86);}function _0x1c1fb6(_0x27d306,_0x53ae55){return _0x18e10d(_0x27d306,_0x53ae55- -_0x52b6bf._0x62218d);}this['heartbea'+_0x1c1fb6(0x615,0x39f)]=_0xb2ec2a['zZvBM'](setInterval,()=>{const _0x398853=this[_0x4248a2(_0x4ea29a._0x4e54e7,_0x4ea29a._0x36a238)+_0x4248a2(_0x4ea29a._0x125e66,0x55e)];if(!_0x398853||_0x398853[_0x3df015(_0x4ea29a._0x1c6f34,0x5ba)+'te']!==_0x3602c1[_0x3df015(0x769,0x75b)])return;const _0xacdd7e=this['options'][_0x4248a2(0x36b,_0x4ea29a._0x12851b)+_0x4248a2(-_0x4ea29a._0x1e7160,0xfe)+'Ms']??HEARTBEAT_TIMEOUT_MS;function _0x4248a2(_0x593620,_0x4d4d2c){return _0x1c1fb6(_0x4d4d2c,_0x593620- -0x358);}if(_0xb2ec2a[_0x3df015(0x6f8,0x693)](Date[_0x4248a2(0x55,_0x4ea29a._0x1a7bb2)](),this['lastRela'+_0x3df015(0x765,0x603)+'yMs'])>_0xacdd7e){this[_0x4248a2(0x270,0x80)](_0x4248a2(_0x4ea29a._0x32c630,_0x4ea29a._0x44882b)+_0x4248a2(_0x4ea29a._0x10dbcb,_0x4ea29a._0x48b09)+_0x3df015(_0x4ea29a._0x3533cd,_0x4ea29a._0x44895e)+'t'),_0x398853[_0x3df015(0x622,_0x4ea29a._0x2e26f0)+'e']();return;}function _0x3df015(_0xc22dec,_0x105092){return _0x1c1fb6(_0xc22dec,_0x105092-0x126);}_0x398853[_0x4248a2(0x1db,_0x4ea29a._0x163430)]();},this[_0x1c1fb6(0x156,_0x11c215._0x57872c)][_0x9b3bcb(0x74a,_0x11c215._0x4270d5)+_0x9b3bcb(_0x11c215._0x270f32,0x7fe)+_0x1c1fb6(0x365,0x3da)]??HEARTBEAT_INTERVAL_MS);}[_0x9d3486(0x51d,0x5c9)+'tbeat'](){const _0x1a22b0={_0x189233:0x838,_0x2f6199:0x9e8,_0x167417:0x47d};function _0x50e1c9(_0x47eb49,_0x53290f){return _0x9d3486(_0x53290f,_0x47eb49- -0x10c);}const _0x56238e={'LkWyy':function(_0x2b5055,_0x26c833){return _0x2b5055(_0x26c833);}};function _0x43b6b9(_0x4c46f9,_0x45c5bc){return _0x9d3486(_0x4c46f9,_0x45c5bc- -0x1a3);}this[_0x50e1c9(_0x1a22b0._0x189233,_0x1a22b0._0x2f6199)+_0x43b6b9(0x63a,_0x1a22b0._0x167417)]&&(_0x56238e[_0x43b6b9(0x8ed,0x6fe)](clearInterval,this['heartbea'+_0x43b6b9(0x59c,_0x1a22b0._0x167417)]),this[_0x50e1c9(_0x1a22b0._0x189233,0x814)+_0x50e1c9(0x514,0x4d4)]=null);}[_0x18e10d(0x517,0x48c)+'ingGatew'+_0x18e10d(0x371,0x32d)+'e'](_0x473f76){const _0x46fc73={_0x2d6721:0x3ef,_0x4ea7bf:0x4f,_0x2bcd3e:0x213,_0xd5d7b9:0x27b,_0x4db8a1:0xb5,_0xfaafa4:0x103,_0x31bceb:0x225,_0x55f17e:0x300},_0x3ddc93={_0x244c3e:0x9a},_0xe68066={_0x4c4da4:0x386};this['pendingG'+_0x141c2d(0x33c,_0x46fc73._0x2d6721)+'ssages'][_0xda10bf(_0x46fc73._0x4ea7bf,_0x46fc73._0x2bcd3e)]>=MAX_PENDING_GATEWAY_MESSAGES&&this[_0x141c2d(_0x46fc73._0xd5d7b9,0x474)+_0xda10bf(_0x46fc73._0x4db8a1,_0x46fc73._0xfaafa4)+_0xda10bf(0x528,0x360)][_0xda10bf(0x14d,_0x46fc73._0x31bceb)]();function _0xda10bf(_0xc4a00,_0x24190e){return _0x9d3486(_0xc4a00,_0x24190e- -_0xe68066._0x4c4da4);}function _0x141c2d(_0x2e6f4c,_0x36dac3){return _0x9d3486(_0x2e6f4c,_0x36dac3- -_0x3ddc93._0x244c3e);}this['pendingG'+_0xda10bf(0x191,_0x46fc73._0xfaafa4)+_0xda10bf(_0x46fc73._0x55f17e,0x360)][_0x141c2d(0x85c,0x8a6)](_0x473f76);}[_0x9d3486(0x295,0x4c6)+_0x18e10d(0x481,0x36f)+_0x18e10d(0x4a,0x21d)+'e'](){const _0x5d4810={_0x33c658:0x3da,_0x594572:0x16e,_0x385bc4:0x46d,_0x2beaf6:0x45b,_0x2ff629:0x3f7,_0x3d656b:0x317,_0x43159c:0x1f3,_0x5f29a3:0x3b2,_0x4b70ec:0x52e,_0x1380fa:0x645,_0x45bb30:0x74a,_0x532704:0x670,_0x37c568:0x573,_0xa4d4e1:0x5cf,_0x3fab83:0x29a},_0x2d2ac1={_0x251709:0x279},_0x52e835=summarizePendingGatewayMessages(this[_0x286f68(0x295,_0x5d4810._0x33c658)+_0x2fca2c(0x2af,_0x5d4810._0x594572)+_0x286f68(_0x5d4810._0x385bc4,0x39d)]);if(_0x52e835[_0x286f68(0x62d,_0x5d4810._0x2beaf6)]===0x0||_0x52e835[_0x286f68(_0x5d4810._0x2ff629,0x644)+'equests']>0x0)return;this[_0x2fca2c(_0x5d4810._0x3d656b,_0x5d4810._0x43159c)+'atewayMe'+_0x286f68(0x46d,0x4af)]=[];function _0x2fca2c(_0x3c76e4,_0x1b9719){return _0x9d3486(_0x3c76e4,_0x1b9719- -0x31b);}function _0x286f68(_0x4639db,_0x16c30a){return _0x9d3486(_0x16c30a,_0x4639db- -_0x2d2ac1._0x251709);}this[_0x2fca2c(_0x5d4810._0x5f29a3,_0x5d4810._0x4b70ec)](_0x286f68(0x67d,0x826)+_0x286f68(_0x5d4810._0x1380fa,_0x5d4810._0x45bb30)+'le\x20gatew'+_0x286f68(0x434,_0x5d4810._0x532704)+_0x2fca2c(_0x5d4810._0x37c568,_0x5d4810._0xa4d4e1)+_0x52e835[_0x286f68(0x62d,0x7a5)]+'\x20text='+_0x52e835[_0x2fca2c(_0x5d4810._0x3fab83,0x2a2)+'t']+'\x20binary='+_0x52e835['binary']);}['observeC'+_0x9d3486(0x891,0x796)+_0x9d3486(0x56e,0x572)](_0x3cc7eb,_0x27acf6){const _0xa7d7d6={_0x1adee6:0x23c,_0xe98e67:0x2df,_0x45dea2:0x155,_0x421ad0:0x6b2,_0x1df771:0x7a0,_0x353d77:0x159,_0x4ec408:0x37,_0x4f0fa9:0x1c5,_0x16877c:0x28e,_0x5397e4:0x2c1},_0x2c3a86={_0x45b295:0x5dd},_0xa10466={_0x45a547:0x178},_0x5ed9b8=Date['now']();function _0x4b602b(_0x22b599,_0xa9b89c){return _0x9d3486(_0xa9b89c,_0x22b599- -_0xa10466._0x45a547);}const _0x4df1f1=new Map(this[_0x5f710c(-0x242,0x2e)][_0x5f710c(_0xa7d7d6._0x1adee6,0x24d)+_0x4b602b(0x6f3,0x80a)]['map'](_0xc721cf=>[_0xc721cf['id'],{..._0xc721cf}])),_0x325881=_0x4df1f1[_0x5f710c(0x380,_0xa7d7d6._0xe98e67)](_0x3cc7eb)??{'id':_0x3cc7eb,'label':_0x27acf6,'state':'connecte'+'d','lastSeenMs':_0x5ed9b8};function _0x5f710c(_0x34e1d7,_0xfce794){return _0x9d3486(_0x34e1d7,_0xfce794- -_0x2c3a86._0x45b295);}_0x325881[_0x5f710c(0x24f,-0xc)]=_0x27acf6,_0x325881[_0x5f710c(0x258,_0xa7d7d6._0x45dea2)]=_0x4b602b(_0xa7d7d6._0x421ad0,_0xa7d7d6._0x1df771)+'d',_0x325881[_0x5f710c(0x4fe,0x34b)+'Ms']=_0x5ed9b8,_0x4df1f1[_0x4b602b(0x5c0,0x72f)](_0x3cc7eb,_0x325881);const _0x5c7295=[..._0x4df1f1[_0x4b602b(0x30a,0x240)]()]['sort']((_0x2e6f92,_0x8f1a5f)=>_0x8f1a5f['lastSeen'+'Ms']-_0x2e6f92['lastSeen'+'Ms'])[_0x5f710c(-_0xa7d7d6._0x353d77,-_0xa7d7d6._0x4ec408)](0x0,MAX_DEVICE_DETAILS),_0x4a1f16={};_0x4a1f16['connecte'+_0x5f710c(_0xa7d7d6._0x4f0fa9,_0xa7d7d6._0x16877c)]=_0x5c7295,this['updateSn'+_0x4b602b(0x31a,_0xa7d7d6._0x5397e4)](_0x4a1f16);}['markDevi'+_0x18e10d(0x620,0x6d5)+'t'](){const _0x12c97a={_0x42aa91:0x48b,_0x479557:0x3f4,_0x3defad:0x890,_0x5a36ae:0x660},_0x518dcb={_0x1a0b05:0x2b7},_0x2dcde3={_0x3d8f08:0x2a5};function _0x22d496(_0x282fd3,_0xd4d615){return _0x18e10d(_0x282fd3,_0xd4d615-_0x2dcde3._0x3d8f08);}function _0x2c1cd6(_0x2ad4c2,_0x29f00a){return _0x18e10d(_0x29f00a,_0x2ad4c2-_0x518dcb._0x1a0b05);}this[_0x22d496(_0x12c97a._0x42aa91,0x549)+_0x22d496(0x240,0x4b7)]({'connectedDevices':this[_0x22d496(_0x12c97a._0x479557,0x630)][_0x2c1cd6(0x861,0x615)+_0x22d496(0x85e,_0x12c97a._0x3defad)][_0x2c1cd6(0x7fd,_0x12c97a._0x5a36ae)](_0xfc997f=>({..._0xfc997f,'state':_0x22d496(0x82c,0x714)}))});}[_0x9d3486(0x6cd,0x6ec)+_0x9d3486(0x731,0x76a)+_0x9d3486(0xa0e,0x7c5)](_0x4b78e3){const _0x5ee483={_0x34b544:0x7e,_0x362ad5:0x8c,_0x281549:0x577,_0x1563de:0x64b,_0x135170:0x865,_0x150fd3:0x655,_0x4203b3:0x4b,_0x93db31:0x9c8,_0x4e8628:0x66f,_0x308bca:0x4bf,_0x20a071:0x340,_0x5755ef:0x91c,_0x459624:0x49e,_0x209aaa:0x371,_0x5a2b1b:0x9b5,_0x2f2aab:0xba},_0x300d2d={_0x27bf57:0xce};if(this['snapshot'][_0x384d87(-_0x5ee483._0x34b544,_0x5ee483._0x362ad5)+_0x48fbf5(0x34b,_0x5ee483._0x281549)+'sts']['some'](_0x59db64=>_0x59db64['requestI'+'d']===_0x4b78e3[_0x384d87(0x603,0x489)+'d']))return;const _0x3d16aa=[...this['snapshot']['pendingP'+'airReque'+_0x48fbf5(_0x5ee483._0x1563de,_0x5ee483._0x135170)],_0x4b78e3][_0x48fbf5(_0x5ee483._0x150fd3,0x674)](-MAX_PENDING_PAIR_REQUESTS);function _0x48fbf5(_0x4bbe7a,_0x44476e){return _0x9d3486(_0x4bbe7a,_0x44476e-_0x300d2d._0x27bf57);}const _0x254a6d={};function _0x384d87(_0x5b2b70,_0x37bf82){return _0x9d3486(_0x5b2b70,_0x37bf82- -0x45e);}_0x254a6d[_0x384d87(0x1e2,_0x5ee483._0x362ad5)+_0x384d87(-0x14d,_0x5ee483._0x4203b3)+_0x48fbf5(_0x5ee483._0x93db31,0x865)]=_0x3d16aa,this['updateSn'+'apshot'](_0x254a6d),this[_0x48fbf5(_0x5ee483._0x4e8628,0x6df)][_0x384d87(_0x5ee483._0x308bca,_0x5ee483._0x20a071)+_0x48fbf5(0x878,_0x5ee483._0x5755ef)+'uest']?.(_0x4b78e3),this[_0x48fbf5(0x8b6,0x917)]('pair\x20req'+'uest\x20pen'+'ding\x20req'+_0x384d87(_0x5ee483._0x459624,_0x5ee483._0x209aaa)+_0x4b78e3[_0x48fbf5(0xa44,_0x5ee483._0x5a2b1b)+'d']+(_0x384d87(_0x5ee483._0x2f2aab,0x343)+'d=')+(_0x4b78e3[_0x384d87(-0x22,0x37)]||'<unknown'+'>'));}[_0x18e10d(0x5a,0x2e4)+_0x9d3486(0x5e9,0x66e)+'esolved'](_0x50b722,_0x31f5c1){const _0x3c0d9b={_0x44f406:0x153,_0x58f222:0x355,_0x548950:0x116,_0x150d7e:0xf,_0x139a5b:0x32f,_0x1356a2:0x576,_0x1399c6:0x535,_0x101e1f:0x2df,_0x424746:0x1d8,_0x146c2e:0x40d,_0x360c08:0xb5},_0x3311f1=this[_0x5ed18e(0x4c,-_0x3c0d9b._0x44f406)][_0x5ed18e(-0xd5,-_0x3c0d9b._0x58f222)+_0x5ed18e(-_0x3c0d9b._0x548950,_0x3c0d9b._0x150d7e)+_0x5ed18e(0x1d8,_0x3c0d9b._0x139a5b)]['map'](_0x57f0e3=>_0x57f0e3['requestI'+'d']===_0x50b722?{..._0x57f0e3,'status':_0x31f5c1==='approved'||_0x31f5c1===_0x209e21(0x5d1,0x77c)?_0x31f5c1:_0x57f0e3[_0x5ed18e(0x18b,0x1c2)]}:_0x57f0e3);function _0x5ed18e(_0x5e1ac1,_0x424def){return _0x9d3486(_0x424def,_0x5e1ac1- -0x5bf);}function _0x209e21(_0x15955a,_0x1e9b11){return _0x9d3486(_0x1e9b11,_0x15955a-0x8c);}const _0x2a714c={};_0x2a714c[_0x209e21(_0x3c0d9b._0x1356a2,0x343)+_0x209e21(_0x3c0d9b._0x1399c6,_0x3c0d9b._0x101e1f)+_0x5ed18e(_0x3c0d9b._0x424746,0x19)]=_0x3311f1,this[_0x209e21(0x5b0,0x5dd)+'apshot'](_0x2a714c),this['log'](_0x5ed18e(0x394,0x2b1)+_0x5ed18e(0x258,0x39)+_0x209e21(0x4da,_0x3c0d9b._0x146c2e)+_0x5ed18e(-0x6a,_0x3c0d9b._0x360c08)+_0x50b722+(_0x209e21(0x57d,0x491)+'n=')+_0x31f5c1);}[_0x18e10d(0x52e,0x2a4)+_0x18e10d(-0xf,0x212)](_0x3b60a2){const _0x399e17={_0x3c462c:0x90e,_0x587916:0x694,_0x4ce0d2:0x766,_0x9795fe:0x6b7,_0x1569c3:0x368,_0x1a8700:0x1ce,_0x466020:0x5ef},_0x408558={_0x33ea80:0x2d7},_0x3b0968={_0x16f5e7:0x89};Object[_0x4f4a12(0xad7,_0x399e17._0x3c462c)](this[_0x4f4a12(0x475,_0x399e17._0x587916)],_0x3b60a2,{'lastUpdatedMs':Date[_0x4f4a12(_0x399e17._0x4ce0d2,_0x399e17._0x9795fe)]()});function _0x4f4a12(_0x2c6511,_0x530ea2){return _0x9d3486(_0x2c6511,_0x530ea2-_0x3b0968._0x16f5e7);}function _0x2eb200(_0x93bb53,_0x38b6f0){return _0x9d3486(_0x38b6f0,_0x93bb53- -_0x408558._0x33ea80);}this['options'][_0x2eb200(_0x399e17._0x1569c3,0x20f)]?.(this[_0x2eb200(_0x399e17._0x1a8700,-0x64)+_0x2eb200(0x67f,_0x399e17._0x466020)]());}[_0x18e10d(0x740,0x5c9)](_0x3cf56f){const _0x39c6f3={_0x23739d:0x15b},_0x308a20={_0x52fdb9:0x4f5},_0x3b8c1a={_0x145003:0x6};function _0x53ceb5(_0x184c6f,_0xa2255d){return _0x9d3486(_0xa2255d,_0x184c6f-_0x3b8c1a._0x145003);}function _0x1f5ff9(_0x4d0110,_0x2b176b){return _0x9d3486(_0x2b176b,_0x4d0110- -_0x308a20._0x52fdb9);}this[_0x1f5ff9(0x11c,-_0x39c6f3._0x23739d)][_0x53ceb5(0x44f,0x57f)]?.(_0x3cf56f);}[_0x18e10d(0x39c,0x599)+'pen'](){const _0x3c9d45={_0x2e230e:0x47a,_0x8287fc:0x2e5},_0x517cdf={_0x57afd7:0x454},_0x19eb07={_0x4c9342:0x5d1};function _0x4f4be7(_0x49d2c,_0x29a11c){return _0x9d3486(_0x29a11c,_0x49d2c- -_0x19eb07._0x4c9342);}function _0x39b24b(_0x2757cf,_0x56b2ea){return _0x9d3486(_0x56b2ea,_0x2757cf- -_0x517cdf._0x57afd7);}return this['relaySoc'+_0x39b24b(_0x3c9d45._0x2e230e,0x5b0)]?.['readySta'+'te']===_0x3602c1[_0x4f4be7(_0x3c9d45._0x8287fc,0x305)];}['isGatewa'+_0x18e10d(0x349,0x503)](){const _0x2d8dac={_0x6a4920:0x528};function _0x1cd419(_0x364fb4,_0x57e415){return _0x18e10d(_0x364fb4,_0x57e415-0x93);}return this['gatewayS'+'ocket']?.[_0x1cd419(0x3bf,_0x2d8dac._0x6a4920)+'te']===_0x3602c1['OPEN'];}[_0x18e10d(0xc6,0x255)+_0x9d3486(0x89b,0x647)](){const _0x2b37bb={_0x5b08d0:0x24f,_0x5706d9:0x67b,_0x3b067d:0x816,_0x322960:0x622,_0x15158b:0x9ab,_0x6ab0c:0x4df,_0x2ddc54:0x953,_0x398fcf:0x4af,_0x25d581:0x1e7,_0x59f68e:0x3a8},_0x5280c3={_0x1bdec8:0x282},_0x1b71ba={'jYoYQ':function(_0x4a1271,_0x2d5392){return _0x4a1271(_0x2d5392);}};this[_0x482800(_0x2b37bb._0x5b08d0,0x3d7)+_0x1fd72f(_0x2b37bb._0x5706d9,_0x2b37bb._0x3b067d)]();this['reconnec'+_0x1fd72f(0x820,_0x2b37bb._0x322960)]&&(_0x1b71ba[_0x482800(0x54b,0x47a)](clearTimeout,this[_0x482800(_0x2b37bb._0x15158b,0x75f)+_0x1fd72f(_0x2b37bb._0x6ab0c,_0x2b37bb._0x322960)]),this[_0x1fd72f(0xb33,_0x2b37bb._0x2ddc54)+_0x482800(0x601,0x42e)]=null);function _0x1fd72f(_0x324ea8,_0x1b75b8){return _0x18e10d(_0x324ea8,_0x1b75b8-_0x5280c3._0x1bdec8);}function _0x482800(_0x4a335b,_0x485c63){return _0x18e10d(_0x4a335b,_0x485c63-0x8e);}this[_0x1fd72f(0x4a5,_0x2b37bb._0x398fcf)+_0x1fd72f(0x821,0x59c)+'r']&&(clearTimeout(this[_0x482800(0x324,0x2bb)+_0x482800(0x2da,0x3a8)+'r']),this['gatewayR'+_0x482800(_0x2b37bb._0x25d581,_0x2b37bb._0x59f68e)+'r']=null);}[_0x18e10d(0x5da,0x4e9)+_0x9d3486(0x74c,0x8e8)](_0x5df045){const _0x4b28ad={_0x968072:0x538},_0x91cd87={_0xf869aa:0x88};function _0x10139c(_0x35a4c8,_0x361989){return _0x9d3486(_0x361989,_0x35a4c8- -_0x91cd87._0xf869aa);}function _0xcbd2fb(_0x4190be,_0x5ec8ae){return _0x9d3486(_0x4190be,_0x5ec8ae- -_0x4b28ad._0x968072);}return _0x5df045==null?null:Math[_0x10139c(0x565,0x30f)](0x0,Date[_0x10139c(0x5a6,0x727)]()-_0x5df045);}};function shouldKeepGatewayConnected(_0x644879,_0x332abd){function _0x31c88b(_0x4142f9,_0x4577a6){return _0x9d3486(_0x4577a6,_0x4142f9- -0xd9);}const _0x482a73={};_0x482a73[_0x31c88b(0x7eb,0x881)]=function(_0x52e4d9,_0x40f8d4){return _0x52e4d9>_0x40f8d4;};const _0x131c76=_0x482a73;return _0x644879>0x0||_0x131c76['yCZrD'](_0x332abd,0x0);}function shouldScheduleGatewayIdleClose(_0x259b84,_0x348edf,_0x19d98b){const _0x9c27dd={_0x562743:0x112,_0x2450f7:0x1d},_0x22780d={'zbbWs':function(_0x2440c4,_0x3a286d,_0x57718d){return _0x2440c4(_0x3a286d,_0x57718d);}};function _0x5c10bc(_0x5972a7,_0x184066){return _0x18e10d(_0x5972a7,_0x184066- -0x38b);}return _0x19d98b&&!_0x22780d[_0x5c10bc(_0x9c27dd._0x562743,-_0x9c27dd._0x2450f7)](shouldKeepGatewayConnected,_0x259b84,_0x348edf);}function shouldRecycleGatewayForFreshClient(_0xd13342,_0x14b734,_0x41481d,_0x3cc3e6){return _0x41481d&&_0x14b734>0x0&&(_0xd13342===0x0||_0x3cc3e6);}function summarizePendingGatewayMessages(_0x9eee4c){const _0x402751={_0x2d1aef:0x4e5,_0x264412:0x542,_0x472ba8:0x5f6,_0x2164d4:0x878,_0x4bce3f:0x409,_0x11ce8c:0x75c,_0x3a0ab4:0x665,_0x53967e:0xc3},_0x4ce760={_0x7b47a2:0x2dd},_0x10e6af={_0x568edc:0x27a},_0x637747={};_0x637747[_0x2da41f(0x594,0x7e8)]=_0x2da41f(0x37b,_0x402751._0x2d1aef);const _0x26991b=_0x637747,_0x34d355={};_0x34d355[_0x1998c8(0x3ac,0x1d8)]=_0x9eee4c[_0x2da41f(_0x402751._0x264412,_0x402751._0x472ba8)],_0x34d355[_0x2da41f(_0x402751._0x2164d4,0x6cd)+_0x1998c8(_0x402751._0x4bce3f,0x457)]=0x0,_0x34d355['otherTex'+'t']=0x0,_0x34d355[_0x1998c8(-0x72,-0x2c8)]=0x0;function _0x1998c8(_0x9f9ae2,_0x2bf94b){return _0x18e10d(_0x2bf94b,_0x9f9ae2- -_0x10e6af._0x568edc);}const _0x21a964=_0x34d355;for(const _0x392e83 of _0x9eee4c){if(_0x392e83[_0x2da41f(_0x402751._0x11ce8c,_0x402751._0x3a0ab4)]===_0x26991b['UbjFU']){_0x21a964[_0x1998c8(-0x72,-0x7)]+=0x1;continue;}if(isConnectHandshakeRequest(_0x392e83[_0x1998c8(0x378,0x1d6)])){_0x21a964['connectR'+'equests']+=0x1;continue;}_0x21a964[_0x1998c8(_0x402751._0x53967e,0x32c)+'t']+=0x1;}function _0x2da41f(_0x27951a,_0x346b1e){return _0x18e10d(_0x27951a,_0x346b1e-_0x4ce760._0x7b47a2);}return _0x21a964;}function dedupePendingGatewayMessages(_0x5139ee){const _0x3dce47={_0x540047:0x482,_0xbc4a0b:0x7eb,_0x3eb8a9:0x91,_0x4cb468:0x2a4,_0x52a546:0x18c,_0x262ca4:0x432,_0x5e580a:0x2ea,_0x595907:0x476},_0x2a8e79={'XdtpX':function(_0xae7cc7,_0x2c396a){return _0xae7cc7>=_0x2c396a;},'waLXl':_0x9c0c08(_0x3dce47._0x540047,0x28d),'GMVRq':function(_0x343f23,_0x2e773f){return _0x343f23(_0x2e773f);},'UAqNF':function(_0x4ef0f0,_0x273e06){return _0x4ef0f0<=_0x273e06;}};let _0x506be2=-0x1;for(let _0x37eef9=_0x5139ee[_0x3df479(0x476,0x4b8)]-0x1;_0x2a8e79[_0x9c0c08(0x31f,0x230)](_0x37eef9,0x0);_0x37eef9-=0x1){const _0x4baa3d=_0x5139ee[_0x37eef9];if(_0x4baa3d?.[_0x3df479(0x4e5,0x333)]===_0x2a8e79['waLXl']&&_0x2a8e79['GMVRq'](isConnectHandshakeRequest,_0x4baa3d[_0x3df479(0x74f,0x5c4)])){_0x506be2=_0x37eef9;break;}}if(_0x2a8e79[_0x3df479(0x55d,_0x3dce47._0xbc4a0b)](_0x506be2,0x0)){const _0x1846b1={};return _0x1846b1[_0x9c0c08(-0x8,-_0x3dce47._0x3eb8a9)]=[..._0x5139ee],_0x1846b1['dropped']=0x0,_0x1846b1;}function _0x9c0c08(_0x49c5b6,_0x2cdad7){return _0x9d3486(_0x49c5b6,_0x2cdad7- -0x5e5);}function _0x3df479(_0x5feaf6,_0x539368){return _0x9d3486(_0x539368,_0x5feaf6- -0x123);}const _0x491e69=_0x5139ee[_0x9c0c08(_0x3dce47._0x4cb468,_0x3dce47._0x52a546)]((_0x2b907c,_0x3dbca9)=>_0x3dbca9>=_0x506be2||(_0x2b907c['kind']!==_0x9c0c08(0xd3,0x28d)||!isConnectHandshakeRequest(_0x2b907c[_0x9c0c08(0x3b9,0x28d)]))),_0x424a56={};return _0x424a56[_0x3df479(0x431,_0x3dce47._0x262ca4)]=_0x491e69,_0x424a56[_0x9c0c08(0x4f0,_0x3dce47._0x5e580a)]=_0x5139ee['length']-_0x491e69[_0x3df479(_0x3dce47._0x595907,0x43f)],_0x424a56;}function prunePendingGatewayMessagesForFreshDemand(_0x16d001){const _0x1fb209={_0x190728:0x1d9,_0x4a37b5:0x633,_0x46223a:0x145,_0x4c256f:0x2bc,_0x2b21dd:0x5b2,_0x282565:0x2d9,_0x5e6185:0x9e,_0x2c9979:0x316,_0x4d7eca:0x294,_0x3ff6d4:0x24b},_0x9776e4={_0x128816:0x699},_0x43dba0={_0x55a3ab:0x2c0},_0x332c4c={};_0x332c4c[_0x2ff906(0x27b,_0x1fb209._0x190728)]=function(_0x53ad09,_0x2a708d){return _0x53ad09===_0x2a708d;},_0x332c4c['WqAiG']=function(_0x1a4891,_0x4e4ed5){return _0x1a4891>=_0x4e4ed5;},_0x332c4c[_0x2ff906(_0x1fb209._0x4a37b5,0x8a8)]=function(_0x1e21d8,_0x1072b3){return _0x1e21d8===_0x1072b3;};const _0x4bd423=_0x332c4c;if(_0x4bd423['KrDgO'](_0x16d001['length'],0x0)){const _0x5508c6={};return _0x5508c6[_0x5be35a(-_0x1fb209._0x46223a,0x5f)]=[],_0x5508c6[_0x5be35a(0x236,0xee)]=0x0,_0x5508c6;}function _0x2ff906(_0x25ac28,_0x4a7815){return _0x9d3486(_0x4a7815,_0x25ac28- -_0x43dba0._0x55a3ab);}function _0x5be35a(_0x4a07cb,_0x535812){return _0x9d3486(_0x535812,_0x4a07cb- -_0x9776e4._0x128816);}let _0x5bf6bd=-0x1;for(let _0xdfb8c4=_0x16d001['length']-0x1;_0x4bd423[_0x5be35a(0x27b,0x23d)](_0xdfb8c4,0x0);_0xdfb8c4-=0x1){const _0x67ae95=_0x16d001[_0xdfb8c4];if(_0x4bd423['GjPNK'](_0x67ae95?.[_0x2ff906(0x348,_0x1fb209._0x4c256f)],'text')&&isConnectHandshakeRequest(_0x67ae95[_0x2ff906(_0x1fb209._0x2b21dd,0x768)])){_0x5bf6bd=_0xdfb8c4;break;}}if(_0x5bf6bd===-0x1){const _0x148b73={};return _0x148b73[_0x5be35a(-_0x1fb209._0x46223a,-0x192)]=[],_0x148b73[_0x2ff906(0x60f,0x6b3)]=_0x16d001[_0x2ff906(_0x1fb209._0x282565,_0x1fb209._0x5e6185)],_0x148b73;}const _0x3b16da=_0x16d001[_0x2ff906(0x2e6,_0x1fb209._0x2c9979)](_0x5bf6bd),_0x26628a={};return _0x26628a[_0x2ff906(_0x1fb209._0x4d7eca,0xa7)]=_0x3b16da,_0x26628a[_0x5be35a(0x236,0x9f)]=_0x16d001[_0x2ff906(_0x1fb209._0x282565,0x55)]-_0x3b16da[_0x2ff906(0x2d9,_0x1fb209._0x3ff6d4)],_0x26628a;}function _0x18e10d(_0x2f18a6,_0x1f6008){return _0x351d(_0x1f6008-0x75,_0x2f18a6);}function patchConnectRequestGatewayAuth(_0x165d1a,_0x53b196){const _0x5a7045={_0x24d44c:0x70,_0x21750f:0x9c,_0x1871e9:0xd4,_0x28fde4:0x42,_0x32d594:0xe9,_0x1ee160:0x3c4,_0x3d062f:0x208,_0x476f15:0x43e,_0x549d07:0x25e,_0x108c61:0x31,_0x2da0a4:0x130,_0x14e639:0x2,_0x44b08d:0x267,_0x390c9c:0x1e2,_0x479281:0xdc,_0x2f1a7e:0x22d,_0x2f1be0:0x15b,_0x537d41:0x26,_0x178f47:0x26,_0x553d4a:0x181},_0x3ce9a7={_0x2f9766:0x625};function _0x5ca28f(_0x505f77,_0x296c3a){return _0x9d3486(_0x296c3a,_0x505f77- -0x6a4);}const _0xb5c108={};function _0x10e8e5(_0x4df83f,_0x32f7ec){return _0x9d3486(_0x32f7ec,_0x4df83f- -_0x3ce9a7._0x2f9766);}_0xb5c108['yhnFo']=_0x10e8e5(-0x118,-0x341),_0xb5c108[_0x5ca28f(-_0x5a7045._0x24d44c,-_0x5a7045._0x21750f)]=_0x5ca28f(-_0x5a7045._0x1871e9,_0x5a7045._0x1871e9);const _0x5bddf1=_0xb5c108;if(_0x53b196[_0x5ca28f(0x179,_0x5a7045._0x28fde4)]!==_0x10e8e5(0x15b,_0x5a7045._0x32d594)||!_0x53b196[_0x10e8e5(0x15b,_0x5a7045._0x1ee160)]){const _0x4a7bb9={};return _0x4a7bb9[_0x5ca28f(0x1ce,_0x5a7045._0x3d062f)]=_0x165d1a,_0x4a7bb9['injected']=![],_0x4a7bb9;}try{const _0x58dd8a=JSON[_0x5ca28f(0x217,_0x5a7045._0x476f15)](_0x165d1a);if(_0x58dd8a[_0x10e8e5(-0x5a,-_0x5a7045._0x549d07)]!==_0x5bddf1['yhnFo']||_0x58dd8a[_0x5ca28f(-0x31,-0x269)]!==_0x10e8e5(0x322,0x3fb)&&_0x58dd8a[_0x5ca28f(-_0x5a7045._0x108c61,-0xa3)]!==_0x10e8e5(-_0x5a7045._0x2da0a4,_0x5a7045._0x14e639)+_0x10e8e5(-0x110,-0x2e3)){const _0x1d4fe9={};return _0x1d4fe9[_0x5ca28f(0x1ce,-0xb)]=_0x165d1a,_0x1d4fe9[_0x5ca28f(-0xa2,0x1e1)]=![],_0x1d4fe9;}const _0x14a4de=_0x58dd8a['params']&&typeof _0x58dd8a['params']===_0x5ca28f(0x199,0x18d)?{..._0x58dd8a['params']}:{},_0x1b0a87=_0x14a4de[_0x10e8e5(-0x1a7,0xb1)]&&typeof _0x14a4de[_0x5ca28f(-0x226,-_0x5a7045._0x44b08d)]===_0x10e8e5(0x218,_0x5a7045._0x390c9c)?{..._0x14a4de[_0x5ca28f(-0x226,-0x263)]}:{},_0x2e0a70=typeof _0x1b0a87[_0x5ca28f(_0x5a7045._0x479281,_0x5a7045._0x2f1a7e)]===_0x5bddf1['qZPzu']?_0x1b0a87[_0x10e8e5(_0x5a7045._0x2f1be0,0x5)][_0x10e8e5(_0x5a7045._0x537d41,-0x249)]():'';if(_0x2e0a70){const _0x183c80={};return _0x183c80[_0x10e8e5(0x24d,0x2bf)]=_0x165d1a,_0x183c80[_0x5ca28f(-0xa2,-0x145)]=![],_0x183c80;}_0x1b0a87[_0x10e8e5(0x15b,-_0x5a7045._0x178f47)]=_0x53b196[_0x5ca28f(0xdc,0x10c)],_0x14a4de[_0x5ca28f(-0x226,-0x251)]=_0x1b0a87;const _0x2409cd={..._0x58dd8a};return _0x2409cd['params']=_0x14a4de,{'text':JSON[_0x5ca28f(_0x5a7045._0x553d4a,0x27e)+'y'](_0x2409cd),'injected':!![]};}catch{const _0x2c0a42={};return _0x2c0a42[_0x5ca28f(0x1ce,0x3a5)]=_0x165d1a,_0x2c0a42['injected']=![],_0x2c0a42;}}function formatConnectHandshakeMetaForLog(_0x4c6039){const _0x455e62={_0x1a8c0e:0x613,_0x7dadd:0x414,_0x2135da:0x644,_0x1d4497:0x78f,_0x336d7f:0x697,_0x13c147:0x69e,_0x47771f:0x71e,_0x560ee2:0x51e,_0x525eef:0xabb,_0x14630e:0x843,_0xac99d9:0x466,_0xe3fe97:0x320,_0x1632f2:0x421,_0x3dee5a:0x2c5,_0x5c3b7b:0x359,_0x10e3ab:0x5a8},_0x6aae9c={_0xf1d4f2:0x14d},_0x2ac063={_0xa7f784:0x28f},_0x438a9f={};_0x438a9f[_0x45c3a9(_0x455e62._0x1a8c0e,0x5a3)]=_0x45c3a9(_0x455e62._0x7dadd,0x55b);function _0x45c3a9(_0x100796,_0x24f49b){return _0x18e10d(_0x100796,_0x24f49b-_0x2ac063._0xa7f784);}function _0x4af43e(_0x1af519,_0x55841a){return _0x18e10d(_0x55841a,_0x1af519-_0x6aae9c._0xf1d4f2);}_0x438a9f['jqHdl']=function(_0x3cbdfc,_0x1cf585){return _0x3cbdfc>_0x1cf585;};const _0x47f634=_0x438a9f;if(!_0x4c6039)return'';return _0x4af43e(_0x455e62._0x2135da,_0x455e62._0x1d4497)+_0x4c6039[_0x4af43e(0x540,_0x455e62._0x336d7f)]+_0x45c3a9(0x78d,_0x455e62._0x13c147)+(_0x4c6039['id']??_0x47f634[_0x4af43e(0x461,0x672)])+('\x20noncePr'+'esent=')+_0x4c6039[_0x4af43e(0x499,_0x455e62._0x47771f)+'sent']+(_0x45c3a9(0x5ff,_0x455e62._0x560ee2)+_0x4af43e(0x481,0x24d))+(_0x4c6039[_0x45c3a9(_0x455e62._0x525eef,_0x455e62._0x14630e)+_0x45c3a9(_0x455e62._0xac99d9,0x67e)]??0x0)+(_0x4af43e(_0x455e62._0xe3fe97,_0x455e62._0x1632f2)+'lds=')+(_0x47f634[_0x45c3a9(_0x455e62._0x3dee5a,0x52c)](_0x4c6039['authFiel'+'ds'][_0x45c3a9(_0x455e62._0x5c3b7b,_0x455e62._0x10e3ab)],0x0)?_0x4c6039['authFiel'+'ds']['join'](','):'<none>');}function buildRelayWsUrl(_0x5c819){const _0x90d181={_0x42e8cf:0x2e3,_0x131d32:0x4d7,_0x438a0c:0x3e1,_0x52d472:0x403,_0x196e78:0x27d,_0x34a154:0x20f,_0x5f3ffa:0x149,_0x4231de:0x80,_0x5502a4:0x237,_0x46d6c6:0x259,_0xf1db0c:0xa7,_0x387009:0x307,_0x267b7b:0x572,_0x5ab5bc:0x80,_0x481469:0x1c,_0x5e3116:0xa7,_0x3f6a27:0x371,_0x3d2889:0xa9,_0x198b33:0x286,_0x4c1252:0x1d1},_0x1272fb=new URL(_0x5c819[_0x42adc5(_0x90d181._0x42e8cf,_0x90d181._0x131d32)]);(!_0x1272fb[_0x281eed(0x61f,_0x90d181._0x438a0c)]||_0x1272fb[_0x42adc5(_0x90d181._0x52d472,0x603)]==='/')&&(_0x1272fb[_0x42adc5(0x403,_0x90d181._0x196e78)]=_0x281eed(_0x90d181._0x34a154,_0x90d181._0x5f3ffa));function _0x281eed(_0x50a5bd,_0x312dc7){return _0x9d3486(_0x50a5bd,_0x312dc7- -0x4e6);}_0x1272fb[_0x281eed(0x24a,_0x90d181._0x4231de)+_0x42adc5(-0x85,-0x1e9)][_0x281eed(0x1cf,0x252)](_0x281eed(0x1fc,_0x90d181._0x5502a4)+'d',_0x5c819[_0x42adc5(_0x90d181._0x46d6c6,0x291)+'d']),_0x1272fb[_0x42adc5(0xa2,0x30a)+_0x281eed(0x1a1,-_0x90d181._0xf1db0c)]['set']('role','gateway'),_0x1272fb[_0x42adc5(0xa2,-0x6d)+'rams'][_0x281eed(0x254,0x252)](_0x42adc5(_0x90d181._0x387009,0x29c),_0x5c819[_0x281eed(_0x90d181._0x267b7b,0x419)+'Id']);function _0x42adc5(_0x34e58f,_0x2a13f9){return _0x9d3486(_0x2a13f9,_0x34e58f- -0x4c4);}return _0x1272fb[_0x281eed(0x141,_0x90d181._0x5ab5bc)+_0x281eed(_0x90d181._0x481469,-_0x90d181._0x5e3116)][_0x281eed(_0x90d181._0x3f6a27,0x252)]('token',_0x5c819['relaySec'+_0x281eed(-0xbc,_0x90d181._0x3d2889)]),_0x1272fb[_0x281eed(_0x90d181._0x198b33,_0x90d181._0x4c1252)]();}function redactRelayWsUrl(_0x31270a){const _0x291f8b={_0x255b50:0x1cf,_0x16ac4e:0x58,_0xc34f05:0xf5,_0x3583b4:0x169,_0x27164a:0x10,_0xa29ca8:0x17d,_0x48be6f:0x40c,_0x36bb5e:0x129},_0x27aba4={_0xcb907a:0x50e};function _0x2c499f(_0x34d4fc,_0x56922e){return _0x9d3486(_0x56922e,_0x34d4fc- -_0x27aba4._0xcb907a);}const _0x45f61a={};_0x45f61a[_0x1324dc(_0x291f8b._0x255b50,0x39f)]='token';const _0x11a884=_0x45f61a,_0xa1d39d=new URL(_0x31270a);function _0x1324dc(_0x58e91f,_0x143ac2){return _0x9d3486(_0x143ac2,_0x58e91f- -0x436);}return _0xa1d39d[_0x2c499f(_0x291f8b._0x16ac4e,_0x291f8b._0xc34f05)+_0x2c499f(-0xcf,-_0x291f8b._0x3583b4)][_0x2c499f(_0x291f8b._0x27164a,_0x291f8b._0xa29ca8)](_0x2c499f(_0x291f8b._0x48be6f,0x1b8))&&_0xa1d39d['searchPa'+_0x1324dc(0x9,0x6d)][_0x1324dc(0x302,0x362)](_0x11a884[_0x2c499f(0xf7,_0x291f8b._0x36bb5e)],'<redacte'+'d>'),_0xa1d39d[_0x2c499f(0x1a9,0x2a1)]();}function normalizeText(_0x593894){const _0x331bde={_0x24b3fd:0x321,_0x335261:0x202,_0x78320f:0x3fa,_0x51935f:0x21c,_0x464a5a:0x5bf,_0x559891:0x5bd,_0x587039:0x766,_0xe89993:0x444,_0x148842:0x97d,_0x144143:0xca,_0xeefc37:0x239,_0x2089c6:0x7db};function _0x31cf5c(_0x373725,_0x1b0adb){return _0x18e10d(_0x1b0adb,_0x373725- -0x36d);}const _0x20bb49={};_0x20bb49[_0x31cf5c(-0x69,-0x79)]=function(_0x5dd02f,_0x1c1e7a){return _0x5dd02f instanceof _0x1c1e7a;};const _0x329896=_0x20bb49;if(typeof _0x593894==='string')return _0x593894;if(Buffer[_0x2fd4f0(0x81f,0xa1c)](_0x593894))return _0x593894[_0x2fd4f0(0x5bf,0x36d)](_0x31cf5c(_0x331bde._0x24b3fd,_0x331bde._0x335261));function _0x2fd4f0(_0x1d2d5d,_0x1c1376){return _0x18e10d(_0x1c1376,_0x1d2d5d-0x188);}if(Array[_0x2fd4f0(_0x331bde._0x78320f,0x56c)](_0x593894))return Buffer[_0x2fd4f0(0x400,_0x331bde._0x51935f)](_0x593894)[_0x2fd4f0(_0x331bde._0x464a5a,_0x331bde._0x559891)](_0x2fd4f0(0x816,_0x331bde._0x587039));if(_0x329896[_0x2fd4f0(0x48c,_0x331bde._0xe89993)](_0x593894,ArrayBuffer))return Buffer[_0x2fd4f0(0x829,_0x331bde._0x148842)](_0x593894)[_0x31cf5c(_0x331bde._0x144143,_0x331bde._0xeefc37)](_0x2fd4f0(0x816,_0x331bde._0x2089c6));return null;}function normalizeBinary(_0xe7743d){const _0x4d828e={_0x3217b7:0x744,_0x3f04a7:0x4b9,_0x37d642:0x86f,_0x3b8c76:0x9a7,_0x4fdcee:0x31f,_0x98abed:0x325,_0x171ec0:0x6f9};function _0x2cd737(_0x3adff8,_0x5c2222){return _0x9d3486(_0x5c2222,_0x3adff8- -0x1d3);}const _0x583fb5={};_0x583fb5[_0x2cd737(0x500,0x636)]=function(_0xc24e9e,_0x7b8834){return _0xc24e9e===_0x7b8834;};function _0x268059(_0x300618,_0x32f58f){return _0x9d3486(_0x32f58f,_0x300618- -0xb2);}const _0x1fe86a=_0x583fb5;if(Buffer[_0x2cd737(_0x4d828e._0x3217b7,0x749)](_0xe7743d))return _0xe7743d;if(_0x1fe86a[_0x268059(0x621,_0x4d828e._0x3f04a7)](typeof _0xe7743d,'string'))return Buffer[_0x268059(_0x4d828e._0x37d642,_0x4d828e._0x3b8c76)](_0xe7743d,'utf8');if(Array[_0x2cd737(_0x4d828e._0x4fdcee,0x1bb)](_0xe7743d))return Buffer[_0x2cd737(_0x4d828e._0x98abed,0x421)](_0xe7743d);return Buffer[_0x2cd737(0x74e,_0x4d828e._0x171ec0)](_0xe7743d);}function readRecentCliLogs(_0x210565){const _0x3938d3={_0x568426:0x3b2,_0x43afe4:0x414,_0x3cb681:0x23b,_0x4e52f1:0x7d4,_0x509bba:0x83d,_0x1a3ac4:0x519},_0x220e05={_0x3c64f6:0x2c3},_0x4e4a55={'PbJxg':function(_0x453cfa){return _0x453cfa();},'PtWwP':function(_0x272fa3,_0x6642c5){return _0x272fa3(_0x6642c5);}},{logPath:_0x5bdf20,errorLogPath:_0x58664d}=_0x4e4a55[_0x2c8677(_0x3938d3._0x568426,0x256)](getServicePaths),_0x4517df=_0x4e4a55['PtWwP'](clampLines,_0x210565?.['lines']??0xc8),_0x5ac1d5=_0x210565?.['lastMs']??null,_0x598286=_0x5ac1d5!=null?Date[_0x2c8677(0x12f,0x36b)]()-_0x5ac1d5:null,_0x6f0259=[_0x5bdf20];_0x210565?.[_0x2c8677(_0x3938d3._0x43afe4,_0x3938d3._0x3cb681)+_0x30b058(_0x3938d3._0x4e52f1,0x80d)]&&_0x6f0259[_0x2c8677(_0x3938d3._0x509bba,0x67d)](_0x58664d);const _0x4f8b27=_0x6f0259['flatMap'](_0x4ceb82=>readLogFile(_0x4ceb82));function _0x2c8677(_0x3c3409,_0x2bb2ff){return _0x9d3486(_0x3c3409,_0x2bb2ff- -_0x220e05._0x3c64f6);}function _0x30b058(_0x400a9d,_0x55f943){return _0x9d3486(_0x55f943,_0x400a9d- -0x15);}const _0xce25c2=_0x598286==null?_0x4f8b27:_0x4f8b27[_0x2c8677(_0x3938d3._0x1a3ac4,0x4ae)](_0x4cbd4d=>_0x4cbd4d['ts']!=null&&_0x4cbd4d['ts']>=_0x598286);return _0xce25c2[_0x2c8677(0xe9,0x2e3)](-_0x4517df)[_0x30b058(0x7b1,0x7e1)](_0x3c4700=>_0x3c4700['raw']);}async function buildDoctorReport(){const _0x3998c7={_0x492595:0x543,_0x5881cf:0x667,_0x42b0bf:0x49f,_0x2d0de5:0x519,_0x52ac9a:0x597,_0x5b358b:0x6c5,_0x304976:0x724,_0x19f2d4:0x5f9,_0x197f75:0x727,_0x247ac2:0x624,_0xf0f8b4:0x54e,_0x31bfc4:0x40c,_0x5da349:0x43d,_0x306013:0x7cf,_0x19d9c2:0x8cc,_0x310121:0x8ae,_0xb4554f:0x632},_0x28d812={_0x3be79e:0x4e},_0x19b6e5={'Jdtuy':function(_0x54acc9){return _0x54acc9();},'NbyBM':function(_0x1495de,_0xbf47f6){return _0x1495de(_0xbf47f6);}},_0x4a956e=readPairingConfig(),_0x4e4dcb=getServiceStatus(),_0x5c1ec1=_0x19b6e5[_0x3ca533(_0x3998c7._0x492595,0x33b)](readOpenClawInfo);function _0x3ca533(_0x5503ee,_0x4ddd2a){return _0x9d3486(_0x4ddd2a,_0x5503ee- -_0x28d812._0x3be79e);}const _0x3720e4=resolveGatewayUrl();function _0x119053(_0x2c5d2c,_0xc67d94){return _0x9d3486(_0x2c5d2c,_0xc67d94- -0xe2);}const _0xb9335=await _0x19b6e5[_0x3ca533(0x694,_0x3998c7._0x5881cf)](checkGatewayReachable,_0x3720e4);return{'paired':_0x19b6e5[_0x119053(0x400,0x600)](Boolean,_0x4a956e),'gatewayId':_0x4a956e?.[_0x3ca533(0x6cf,_0x3998c7._0x42b0bf)+'d']??null,'serverUrl':_0x4a956e?.[_0x119053(0x291,_0x3998c7._0x2d0de5)+'l']??null,'relayUrl':_0x4a956e?.[_0x119053(_0x3998c7._0x52ac9a,_0x3998c7._0x5b358b)]??null,'instanceId':_0x4a956e?.[_0x119053(_0x3998c7._0x304976,0x81d)+'Id']??null,'serviceInstalled':_0x4e4dcb[_0x119053(0x45d,_0x3998c7._0x19f2d4)+'d'],'serviceRunning':_0x4e4dcb['running'],'serviceMethod':_0x4e4dcb[_0x3ca533(0x625,_0x3998c7._0x197f75)],'servicePath':_0x4e4dcb['serviceP'+_0x3ca533(_0x3998c7._0x247ac2,_0x3998c7._0xf0f8b4)],'logPath':_0x4e4dcb['logPath'],'errorLogPath':_0x4e4dcb[_0x119053(0x297,_0x3998c7._0x31bfc4)+'Path'],'openclawConfigDir':getOpenClawConfigDir(),'openclawMediaDir':getOpenClawMediaDir(),'openclawConfigFound':_0x5c1ec1[_0x3ca533(0x472,0x2b8)+_0x119053(0x308,_0x3998c7._0x5da349)],'openclawAuthMode':_0x5c1ec1[_0x3ca533(_0x3998c7._0x306013,0x576)],'openclawTokenFound':Boolean(_0x5c1ec1[_0x3ca533(_0x3998c7._0x19d9c2,_0x3998c7._0x310121)]),'openclawPasswordFound':Boolean(_0x5c1ec1[_0x119053(_0x3998c7._0xb4554f,0x69e)]),'localGatewayUrl':_0x3720e4,'localGatewayReachable':_0xb9335};}async function ensurePairPrerequisites(){const _0x44d378={_0x5c9d1a:0x22,_0x73a03b:0x70,_0x5fb0c8:0xfa,_0x10b6c9:0xec,_0x99326:0x256,_0x4e00e2:0x101,_0x3eb20b:0x133,_0x548ed8:0x182,_0x4d6e00:0x74,_0x1d51e5:0x25a,_0x8461b:0xbd,_0x5c7b9a:0x1ca,_0xb92e1:0x74,_0x25c50b:0x1bd,_0x23d4b9:0xcc,_0x465346:0x179,_0x6c598b:0x64,_0x1c8b90:0xd1,_0x394d20:0x1cf,_0x3dac5b:0x540,_0x326c56:0x80,_0x598e6e:0x391,_0x545595:0x26c,_0xaa1178:0x18,_0x4a14d5:0x27f,_0xaf8fa:0xee},_0x2b9a03={_0x15590a:0x4e7},_0x3b1028={'hwIEa':function(_0x3381f8){return _0x3381f8();}},_0x1e60f0=await _0x3b1028[_0xf1638b(_0x44d378._0x5c9d1a,0x173)](buildDoctorReport);function _0xf1638b(_0x4d86e9,_0x4f7dcb){return _0x9d3486(_0x4d86e9,_0x4f7dcb- -0x609);}function _0x215473(_0x446102,_0x21f7b4){return _0x9d3486(_0x446102,_0x21f7b4- -_0x2b9a03._0x15590a);}const _0x1707d7=listPairPrerequisiteFailures(_0x1e60f0);if(_0x1707d7[_0xf1638b(-0x22,-_0x44d378._0x73a03b)]>0x0)throw new Error([_0x215473(-_0x44d378._0x5fb0c8,0x186)+_0xf1638b(_0x44d378._0x10b6c9,_0x44d378._0x99326)+_0xf1638b(-_0x44d378._0x4e00e2,-0x42)+_0xf1638b(-_0x44d378._0x3eb20b,-_0x44d378._0x548ed8)+_0xf1638b(_0x44d378._0x4d6e00,_0x44d378._0x1d51e5)+_0xf1638b(_0x44d378._0x8461b,0x137)+_0xf1638b(0x142,0x169)+_0x215473(_0x44d378._0x5c7b9a,0x452)+'tes\x20are\x20'+_0x215473(-0x122,-_0x44d378._0xb92e1)+'y.',..._0x1707d7[_0xf1638b(0x8d,_0x44d378._0x25c50b)](_0x143219=>'-\x20'+_0x143219),_0xf1638b(-_0x44d378._0x23d4b9,-_0x44d378._0x465346)+_0xf1638b(-_0x44d378._0x6c598b,_0x44d378._0x1c8b90)+'tor`\x20for'+'\x20more\x20de'+_0xf1638b(-_0x44d378._0x394d20,-0x64)+_0x215473(_0x44d378._0x3dac5b,0x314)+_0x215473(-_0x44d378._0x5c9d1a,_0x44d378._0x326c56)+_0x215473(0x210,_0x44d378._0x598e6e)+_0xf1638b(_0x44d378._0x545595,0x33)+_0xf1638b(0x2f,_0x44d378._0xaa1178)+'\x20intenti'+_0x215473(0x1ca,0xeb)+'ant\x20to\x20b'+_0x215473(0x287,_0x44d378._0x4a14d5)+_0xf1638b(0x274,_0x44d378._0xaf8fa)+'y\x20check.'][_0xf1638b(0x244,0x2d8)]('\x0a'));return _0x1e60f0;}function listPairPrerequisiteFailures(_0x2e91d2){const _0x55fde0={_0xd9fa87:0x352,_0x595f93:0x43c,_0x3ad396:0x6af,_0xbb9802:0x72a,_0x19f7aa:0x7ca,_0x1a00fc:0x598,_0xb20da4:0x497,_0x5e7033:0x7b0,_0x509dc3:0x61c,_0x363528:0x635,_0x5accc5:0x6b9,_0x1bdd3e:0x5a0,_0x270381:0x6c5,_0x351f24:0x7f9,_0x2afce0:0x66e,_0x3443ad:0x4b1,_0xbaaa02:0x95a,_0x407b9c:0x771,_0x1349db:0x452,_0x4d2d6e:0x3f4,_0x312eae:0x806,_0x48bb6e:0x7b2,_0x45a82d:0x579,_0x1f222a:0x6a8,_0x508c9d:0x43e,_0xeb55c1:0x683,_0x2c81d0:0x1f0,_0x4adcd3:0x815,_0x3deab2:0x83b,_0x406269:0x771,_0x43aad7:0x5a1,_0x19f74d:0x45c,_0x129e62:0x4d1,_0x87336c:0x9cb,_0x37ed22:0x3cb,_0x21f918:0x3b7,_0x176b43:0x31c,_0x4c1f67:0xa2,_0x11b118:0x735,_0xe21be7:0x990,_0x3ddd97:0x43f,_0xb3e9fc:0x753,_0xb7e6a5:0x9dd,_0x2d7a9b:0x622,_0x3d31cb:0x18f,_0x25e347:0x8eb,_0x54c263:0x673,_0x33478e:0x753,_0x3269fe:0x783,_0x21b24a:0x4a9,_0x4c2999:0x2cb,_0x29d3e1:0x9af,_0x329bc4:0x57c,_0x1093f2:0x986,_0x139ce4:0x456,_0x1f2aea:0x669,_0x544c2d:0x7fd,_0x1b6ad3:0x40c,_0x401457:0x6f2},_0x5b7a98={_0x3fcb18:0x12b},_0x3478aa={};_0x3478aa[_0x2dde24(0x587,0x661)]=_0x2dde24(_0x55fde0._0xd9fa87,_0x55fde0._0x595f93)+_0x3662fb(0x5c8,_0x55fde0._0x3ad396)+_0x2dde24(0x751,_0x55fde0._0xbb9802)+_0x3662fb(_0x55fde0._0x19f7aa,_0x55fde0._0x1a00fc)+_0x2dde24(0x21b,_0x55fde0._0xb20da4)+_0x2dde24(_0x55fde0._0x5e7033,_0x55fde0._0x509dc3)+_0x2dde24(0x730,_0x55fde0._0x363528)+_0x3662fb(_0x55fde0._0x5accc5,0x8f3)+_0x3662fb(0x394,_0x55fde0._0x1bdd3e)+_0x2dde24(_0x55fde0._0x270381,0x6e4)+_0x3662fb(_0x55fde0._0x351f24,_0x55fde0._0x2afce0);function _0x2dde24(_0x482db8,_0xf59dbc){return _0x9d3486(_0x482db8,_0xf59dbc- -0x10d);}_0x3478aa[_0x2dde24(_0x55fde0._0x3443ad,0x45d)]='token';const _0x45f24c=_0x3478aa,_0x4839fb=[];!_0x2e91d2[_0x2dde24(_0x55fde0._0xbaaa02,_0x55fde0._0x407b9c)+_0x3662fb(0x6b0,_0x55fde0._0x1349db)+_0x3662fb(_0x55fde0._0x4d2d6e,0x550)]&&_0x4839fb[_0x2dde24(0x838,0x833)](_0x2dde24(0x34e,0x43c)+'\x20config\x20'+_0x2dde24(_0x55fde0._0x312eae,_0x55fde0._0x48bb6e)+_0x2dde24(0x2ff,_0x55fde0._0x45a82d)+'der\x20'+formatOpenClawConfigLocations()+'.');_0x2e91d2[_0x3662fb(0x753,_0x55fde0._0x1f222a)+_0x3662fb(_0x55fde0._0x508c9d,0x4d4)+'nd']&&_0x2e91d2[_0x3662fb(0x753,_0x55fde0._0xeb55c1)+_0x2dde24(_0x55fde0._0x2c81d0,0x441)+'Found']&&_0x2e91d2[_0x2dde24(0x566,0x771)+_0x3662fb(0x735,0x8de)]==null&&_0x4839fb[_0x3662fb(_0x55fde0._0x4adcd3,_0x55fde0._0x3deab2)](_0x45f24c['zmYMM']);function _0x3662fb(_0x5595e2,_0x12b128){return _0x9d3486(_0x12b128,_0x5595e2- -_0x5b7a98._0x3fcb18);}return!_0x2e91d2[_0x2dde24(0x92d,_0x55fde0._0x406269)+_0x2dde24(_0x55fde0._0x43aad7,_0x55fde0._0x19f74d)+'nd']&&!_0x2e91d2[_0x2dde24(0x87b,0x771)+_0x2dde24(_0x55fde0._0x129e62,0x441)+_0x3662fb(0x4a9,0x590)]&&_0x4839fb[_0x2dde24(_0x55fde0._0x87336c,0x833)](_0x3662fb(0x41e,0x613)+_0x2dde24(0x7d2,0x7a3)+_0x3662fb(_0x55fde0._0x37ed22,_0x55fde0._0x21f918)+'\x20missing'+_0x3662fb(_0x55fde0._0x176b43,_0x55fde0._0x4c1f67)+'or\x20passw'+_0x3662fb(0x4b7,0x33c)),_0x2e91d2['openclaw'+_0x3662fb(_0x55fde0._0x11b118,_0x55fde0._0xe21be7)]===_0x45f24c[_0x3662fb(_0x55fde0._0x3ddd97,0x4e8)]&&!_0x2e91d2[_0x3662fb(_0x55fde0._0xb3e9fc,_0x55fde0._0xb7e6a5)+_0x2dde24(0x409,0x45c)+'nd']&&_0x4839fb[_0x3662fb(0x815,0x7dd)](_0x2dde24(0x541,_0x55fde0._0x595f93)+_0x2dde24(_0x55fde0._0x2d7a9b,0x7a3)+_0x3662fb(0x390,_0x55fde0._0x3d31cb)+_0x3662fb(0x682,_0x55fde0._0x25e347)+'g.'),_0x2e91d2[_0x3662fb(0x753,0x98e)+_0x3662fb(_0x55fde0._0x11b118,0x5fd)]===_0x2dde24(0x654,_0x55fde0._0x54c263)&&!_0x2e91d2[_0x3662fb(_0x55fde0._0x33478e,_0x55fde0._0x3269fe)+_0x3662fb(0x423,0x606)+_0x3662fb(_0x55fde0._0x21b24a,_0x55fde0._0x4c2999)]&&_0x4839fb[_0x3662fb(0x815,_0x55fde0._0x29d3e1)](_0x3662fb(0x41e,0x6aa)+'\x20gateway'+_0x3662fb(0x7cc,0x72f)+_0x2dde24(0x7bf,0x696)+'sing.'),!_0x2e91d2[_0x2dde24(0x5b9,_0x55fde0._0x329bc4)+_0x2dde24(0x4c3,0x58b)+'hable']&&_0x4839fb[_0x2dde24(_0x55fde0._0x1093f2,0x833)](_0x3662fb(_0x55fde0._0x139ce4,0x24c)+'enClaw\x20G'+'ateway\x20i'+_0x2dde24(_0x55fde0._0x1f2aea,_0x55fde0._0x544c2d)+'achable\x20'+'at\x20'+_0x2e91d2[_0x2dde24(_0x55fde0._0x1b6ad3,_0x55fde0._0x329bc4)+_0x2dde24(0x8b7,_0x55fde0._0x401457)]+'.'),_0x4839fb;}function formatOpenClawConfigLocations(){const _0x2fe45e={_0xf6996b:0x674,_0x238114:0x5e6,_0x1cb1f8:0x418,_0x4ac635:0x480,_0x26d120:0x1a1},_0x33f801={_0x1dcf09:0xbe,_0x5c1143:0x306},_0x1d1228={_0x352a1b:0x35},_0xe5cde7={_0x337f3a:0xd9},_0x442d18={_0x45ef61:0x1ab},_0x2c9ed4={};function _0x3a94fc(_0x21c2e5,_0x1fe3a6){return _0x18e10d(_0x1fe3a6,_0x21c2e5- -_0x442d18._0x45ef61);}_0x2c9ed4[_0x3a94fc(0x514,0x449)]=_0x3a94fc(0x4f2,_0x2fe45e._0xf6996b);const _0x250a3e=_0x2c9ed4,_0x11400b=new Set();function _0x3ce887(_0x39d79a,_0x11b91f){return _0x18e10d(_0x11b91f,_0x39d79a- -_0xe5cde7._0x337f3a);}return[_0x18676a(),_0x250a3e[_0x3ce887(_0x2fe45e._0x238114,0x6d0)]]['map'](_0x199a8c=>_0x199a8c[_0x3ce887(0x2f2,0x4c8)]()+(_0x3a94fc(0x489,0x3e2)+'aw'))[_0x3ce887(_0x2fe45e._0x1cb1f8,0x1e8)](_0x492bd2=>_0x492bd2!==_0x3ce887(0x55b,0x610)+'aw')[_0x3ce887(0x418,_0x2fe45e._0x4ac635)](_0x316b18=>{function _0x4f1df7(_0x2b87d8,_0x2731d4){return _0x3a94fc(_0x2731d4-0xad,_0x2b87d8);}function _0x5df1bd(_0x5d10af,_0x54a0ad){return _0x3a94fc(_0x5d10af- -_0x1d1228._0x352a1b,_0x54a0ad);}if(_0x11400b[_0x5df1bd(_0x33f801._0x1dcf09,_0x33f801._0x5c1143)](_0x316b18))return![];return _0x11400b[_0x5df1bd(0x490,0x26f)](_0x316b18),!![];})[_0x3a94fc(0x4b6,0x654)](_0x3ce887(0x39f,_0x2fe45e._0x26d120));}function readLogFile(_0x26e70e){const _0x49836e={_0x417c24:0x773,_0x2ec6a3:0x3c5,_0x56a286:0x51b},_0x57c4f5={_0x38eec4:0x12c},_0x4b181c={_0x429c14:0x23a};function _0x5d3902(_0x571d05,_0xa67e7b){return _0x18e10d(_0x571d05,_0xa67e7b-_0x4b181c._0x429c14);}function _0x52c076(_0x36e4d0,_0x12db84){return _0x18e10d(_0x12db84,_0x36e4d0- -_0x57c4f5._0x38eec4);}try{const _0x5303be=_0x5108f9(_0x26e70e,_0x5d3902(0x916,0x8c8));return _0x5303be[_0x5d3902(_0x49836e._0x417c24,0x5ac)](/\r?\n/)[_0x52c076(_0x49836e._0x2ec6a3,_0x49836e._0x56a286)](Boolean)['map'](_0x134ff9=>({'raw':_0x134ff9,'ts':parseTimestamp(_0x134ff9)}));}catch{return[];}}function parseTimestamp(_0x47a2db){const _0x3b6b63=_0x47a2db['match'](/^\[(\d{13})\]\s/);if(!_0x3b6b63)return null;const _0x801834=Number(_0x3b6b63[0x1]);return Number['isFinite'](_0x801834)?_0x801834:null;}function clampLines(_0x4907b0){const _0x2b5338={_0x5dd7ef:0x252},_0x363860={_0x2c44c1:0x1b7};function _0x348baf(_0x44458f,_0x4db5f9){return _0x18e10d(_0x44458f,_0x4db5f9- -0x11b);}if(!Number[_0x3b005e(0x4a1,0x247)](_0x4907b0))return 0xc8;function _0x3b005e(_0x14dc8f,_0x1a5c78){return _0x18e10d(_0x14dc8f,_0x1a5c78- -_0x363860._0x2c44c1);}return Math[_0x348baf(0x2e6,_0x2b5338._0x5dd7ef)](0x1,Math['min'](0x7d0,Math['floor'](_0x4907b0)));}async function checkGatewayReachable(_0x3eaacc){const _0x36b165={_0x1c04e4:0x3aa,_0x259bd0:0x729,_0x554388:0x640,_0x37e6e4:0x5ed,_0x5f0918:0x34f,_0x55eed5:0x56e},_0x4ad4ba={_0x18a7a4:0x492,_0x116758:0x9c,_0x5a5984:0x2d5,_0x28fc78:0x571,_0x5e7e39:0x697},_0x5f583c={_0xb08f95:0x4c2,_0x296b4a:0x6dc,_0xab0d27:0x59e},_0x4c5097={_0x502c5d:0x1b8};function _0x25ac97(_0x19b17d,_0x2ac98e){return _0x18e10d(_0x2ac98e,_0x19b17d-0x51);}function _0x2cde71(_0x50bbac,_0x116461){return _0x18e10d(_0x50bbac,_0x116461- -0xeb);}const _0x4bd021={'oauAx':function(_0x480ec4,_0x50985f){return _0x480ec4(_0x50985f);},'pduuw':_0x2cde71(_0x36b165._0x1c04e4,0x1f8),'gAzKt':_0x25ac97(0x2fb,0x43e)};try{const _0x5048dd=new URL(_0x3eaacc),_0x118324=_0x5048dd['hostname']||_0x25ac97(0x5db,0x4cc)+'1',_0x256425=_0x5048dd[_0x25ac97(_0x36b165._0x259bd0,0x8d7)]?Number(_0x5048dd[_0x2cde71(_0x36b165._0x554388,_0x36b165._0x37e6e4)]):_0x5048dd[_0x2cde71(_0x36b165._0x5f0918,_0x36b165._0x55eed5)]===_0x4bd021['gAzKt']?0x1bb:0x50;return await new Promise((_0x44351f,_0x42ac40)=>{const _0x5f3ab0={_0x112704:0x8d7},_0x11a00d={_0x39bb8f:0x21a},_0x5aa3e5={_0x331314:0x2b8},_0x4d8e1={_0x268e3e:0x2ee,_0x2c5142:0x1fd},_0x4effb0={_0x1d8b9d:0x24f},_0x3ee817={_0x50d9c3:0x9c},_0x39a063={_0x166503:0xe5};function _0x2ca2c3(_0x4a5857,_0x5554be){return _0x25ac97(_0x5554be-_0x39a063._0x166503,_0x4a5857);}const _0xe91e9f={'NQyYb':function(_0x349807){return _0x349807();},'fWKgU':function(_0x2b641a,_0x13eaae){return _0x2b641a(_0x13eaae);}};function _0x4c0304(_0x327d3a,_0x155b62){return _0x25ac97(_0x327d3a- -_0x4c5097._0x502c5d,_0x155b62);}const _0x5a4452=new Socket();_0x5a4452[_0x4c0304(0x236,_0x4ad4ba._0x18a7a4)+'ut'](0x384),_0x5a4452[_0x4c0304(0x8e,_0x4ad4ba._0x116758)](_0x2ca2c3(0xa28,0x7fd),()=>{_0x5a4452[_0x46fcc9(0x673,0x4fc)]();function _0xb0f13e(_0x23ebc0,_0x1d5f50){return _0x4c0304(_0x1d5f50-_0x3ee817._0x50d9c3,_0x23ebc0);}function _0x46fcc9(_0x3599df,_0x36aacd){return _0x4c0304(_0x3599df-_0x4effb0._0x1d8b9d,_0x36aacd);}_0xe91e9f[_0xb0f13e(_0x4d8e1._0x268e3e,_0x4d8e1._0x2c5142)](_0x44351f);}),_0x5a4452['once'](_0x4c0304(0x312,0x453),()=>{function _0x464da9(_0x585da4,_0x2a760a){return _0x4c0304(_0x2a760a-_0x5aa3e5._0x331314,_0x585da4);}function _0x5b0bbf(_0x1dce77,_0x2b92aa){return _0x4c0304(_0x1dce77- -_0x11a00d._0x39bb8f,_0x2b92aa);}_0x5a4452[_0x464da9(_0x5f583c._0xb08f95,_0x5f583c._0x296b4a)](),_0x4bd021[_0x464da9(_0x5f583c._0xab0d27,0x5b4)](_0x42ac40,new Error('timeout'));}),_0x5a4452[_0x2ca2c3(_0x4ad4ba._0x5a5984,0x32b)](_0x4bd021[_0x4c0304(0x481,_0x4ad4ba._0x28fc78)],_0x5c63fb=>{function _0x50cd5a(_0x3ad35f,_0x2f9a8d){return _0x4c0304(_0x2f9a8d-0x227,_0x3ad35f);}_0x5a4452[_0x50cd5a(_0x5f3ab0._0x112704,0x64b)](),_0xe91e9f['fWKgU'](_0x42ac40,_0x5c63fb);}),_0x5a4452[_0x2ca2c3(_0x4ad4ba._0x5e7e39,0x7fd)](_0x256425,_0x118324);}),!![];}catch{return![];}}function parseLookbackToMs(_0x42a502){const _0x389c6a={_0x4b561d:0x242,_0xc9bbe:0x502,_0x4e5c1c:0x669,_0x2724ec:0xa1,_0x1b1c1c:0x477,_0x2b9a52:0x4fb,_0x51cc97:0x13f,_0x29bff3:0x38,_0x479407:0x400,_0x23f0d0:0xbf,_0x17c1a8:0x1d6,_0x122401:0x410,_0x527138:0x91,_0x2ae646:0x4c},_0x2c91e2={_0x207790:0x54c},_0x1b76c1={_0x22546d:0x149};function _0x40c0d8(_0x180703,_0x9ea774){return _0x9d3486(_0x9ea774,_0x180703- -_0x1b76c1._0x22546d);}const _0x3d18e5={};_0x3d18e5['DkAOY']=function(_0x5542d3,_0x10d2ce){return _0x5542d3===_0x10d2ce;};function _0x2de882(_0x56079a,_0xced03){return _0x9d3486(_0x56079a,_0xced03- -_0x2c91e2._0x207790);}_0x3d18e5[_0x2de882(0x338,_0x389c6a._0x4b561d)]=function(_0x310060,_0x90152f){return _0x310060*_0x90152f;};const _0x1830bc=_0x3d18e5,_0x3841fb=_0x42a502?.[_0x40c0d8(_0x389c6a._0xc9bbe,_0x389c6a._0x4e5c1c)]();if(!_0x3841fb)return null;const _0x5e22be=_0x3841fb['match'](/^(\d+)(ms|s|m|h|d)$/i);if(!_0x5e22be)throw new Error(_0x2de882(_0x389c6a._0x2724ec,0x1a5)+_0x2de882(0x1d2,0x25e)+_0x40c0d8(_0x389c6a._0x1b1c1c,0x5a0)+_0x3841fb+(_0x40c0d8(0x548,_0x389c6a._0x2b9a52)+_0x2de882(-_0x389c6a._0x51cc97,-_0x389c6a._0x29bff3)+_0x40c0d8(0x40f,_0x389c6a._0x479407)+_0x2de882(_0x389c6a._0x23f0d0,_0x389c6a._0x17c1a8)+_0x40c0d8(_0x389c6a._0x122401,0x573)));const _0x680f85=Number(_0x5e22be[0x1]),_0x543fac=_0x5e22be[0x2]['toLowerC'+'ase'](),_0x4e8904=_0x1830bc[_0x2de882(-_0x389c6a._0x527138,-_0x389c6a._0x2ae646)](_0x543fac,'ms')?0x1:_0x543fac==='s'?0x3e8:_0x1830bc[_0x40c0d8(0x3b7,0x376)](_0x543fac,'m')?0xea60:_0x543fac==='h'?0x36ee80:0x5265c00;return _0x1830bc[_0x2de882(0x3a6,0x242)](_0x680f85,_0x4e8904);}import{networkInterfaces}from'os';var BLOCKED_INTERFACE_TOKENS=[_0x18e10d(0x7ee,0x56d),_0x18e10d(0x2ab,0x2cb),_0x18e10d(0x762,0x53f),_0x18e10d(0x758,0x4f4)+'e','wireguar'+'d','wg','vpn',_0x9d3486(0x851,0x74e),_0x18e10d(0x780,0x5dd),_0x18e10d(0x484,0x2af),_0x18e10d(0x408,0x508),_0x9d3486(0x704,0x516),_0x18e10d(0x340,0x2b3),_0x18e10d(0x16b,0x332),_0x9d3486(0x721,0x7c8),_0x9d3486(0x7c5,0x5e7),'llw',_0x18e10d(0x590,0x4db),'br-',_0x18e10d(0x2cb,0x1df)];function buildLocalPairingInfo(_0x42f297){const _0x544ce6={_0x5d8ed1:0x166,_0x2666c8:0x364,_0x17ae7d:0x725,_0x193b35:0x4fa,_0x5764b6:0x4df,_0x10eac4:0x372},_0x248807={_0x56200b:0x1c3},_0x25b233={_0x450aed:0x7b},_0x3abd2d={'XMYhI':function(_0x33db86,_0x559b4f){return _0x33db86(_0x559b4f);}},_0x5cc989=_0x3abd2d[_0x49b69d(-0x11e,_0x544ce6._0x5d8ed1)](resolveLocalPairAuth,_0x42f297);function _0x49b69d(_0x4ded74,_0x11a9dd){return _0x18e10d(_0x4ded74,_0x11a9dd- -_0x25b233._0x450aed);}const _0x5c898a={};function _0x76791c(_0x3189e1,_0x1f0ecb){return _0x18e10d(_0x3189e1,_0x1f0ecb- -_0x248807._0x56200b);}_0x5c898a[_0x49b69d(0x392,_0x544ce6._0x2666c8)+_0x76791c(_0x544ce6._0x17ae7d,0x50d)]=_0x42f297['explicit'+_0x76791c(0x5fe,0x50d)],_0x5c898a[_0x76791c(_0x544ce6._0x193b35,0x2a7)+'atewayUr'+'l']=_0x42f297[_0x76791c(_0x544ce6._0x5764b6,0x2a7)+'atewayUr'+'l'];const _0x1ada8d=resolveLocalPairGatewayUrl(_0x5c898a),_0x44c14b=_0x42f297['expiresA'+'t']??Date[_0x76791c(_0x544ce6._0x10eac4,0x1eb)]()+0xa*0x3c*0x3e8;return{'gatewayUrl':_0x1ada8d,'expiresAt':_0x44c14b,'authMode':_0x5cc989[_0x76791c(0x4e2,0x3a0)],'qrPayload':buildGatewayQrPayload({'gatewayUrl':_0x1ada8d,'token':_0x5cc989[_0x49b69d(0x840,0x61f)],'password':_0x5cc989[_0x49b69d(0x2a3,0x485)],'expiresAt':_0x44c14b})};}function resolveLocalPairGatewayUrl(_0x2f6e83){const _0x1cd4e0={_0x598874:0x2bd,_0x2a97eb:0x3f,_0x41ad55:0x4b6,_0x2e41fd:0x679,_0x11695b:0x555,_0x100ca8:0x2a9,_0x4fc363:0x3f0,_0x6184e4:0x227,_0x15a4f2:0x722,_0x1eaf1b:0x2cd,_0x5ad133:0x544,_0x51fde2:0x48a,_0x48ca42:0x3c6,_0x3736b0:0x44},_0x1dd88a={_0x4a0f30:0x122},_0x4ef405=_0x2f6e83?.[_0x3cc973(_0x1cd4e0._0x598874,_0x1cd4e0._0x2a97eb)+'Url']?.[_0x1219fd(_0x1cd4e0._0x41ad55,_0x1cd4e0._0x2e41fd)]();function _0x1219fd(_0x1c2883,_0x2a062d){return _0x18e10d(_0x2a062d,_0x1c2883-0xeb);}function _0x3cc973(_0x44cc84,_0xfcdd18){return _0x18e10d(_0xfcdd18,_0x44cc84- -_0x1dd88a._0x4a0f30);}if(_0x4ef405)return normalizeExplicitGatewayUrl(_0x4ef405);const _0x3c96f6=_0x2f6e83?.[_0x1219fd(_0x1cd4e0._0x11695b,0x7e6)+'atewayUr'+'l']?.[_0x3cc973(_0x1cd4e0._0x100ca8,0x278)]()||resolveGatewayUrl(),_0xb9c906=detectLanIp();if(!_0xb9c906)throw new Error(_0x1219fd(0x430,0x1fc)+'o\x20determ'+'ine\x20a\x20LA'+_0x1219fd(_0x1cd4e0._0x4fc363,_0x1cd4e0._0x6184e4)+'ress.\x20Pa'+_0x1219fd(_0x1cd4e0._0x15a4f2,0x61f)+_0x1219fd(0x2f9,_0x1cd4e0._0x1eaf1b)+_0x1219fd(_0x1cd4e0._0x5ad133,0x636)+_0x3cc973(_0x1cd4e0._0x51fde2,_0x1cd4e0._0x48ca42)+_0x3cc973(0x18a,_0x1cd4e0._0x3736b0)+'.');return rewriteGatewayHost(_0x3c96f6,_0xb9c906);}function normalizeExplicitGatewayUrl(_0x45b50d){const _0x17d199={_0x3d88a7:0x35c,_0xce7b12:0x2ed,_0x5ccc85:0x46a,_0x5aa3be:0x554,_0x5d57a0:0x91c,_0x1a5700:0xb15,_0x2b7e79:0x1dc,_0x38eeab:0x410},_0x52e124={_0x2e23ee:0x20};function _0x3d4379(_0x57edc0,_0xbb194){return _0x9d3486(_0xbb194,_0x57edc0-_0x52e124._0x2e23ee);}const _0x2e5715=_0x45b50d[_0x4a301c(_0x17d199._0x3d88a7,_0x17d199._0xce7b12)]();function _0x4a301c(_0x1999e1,_0x78e946){return _0x9d3486(_0x78e946,_0x1999e1- -0x2ef);}const _0xaad669=/^[a-z]+:\/\//i[_0x3d4379(_0x17d199._0x5ccc85,_0x17d199._0x5aa3be)](_0x2e5715)?_0x2e5715:_0x3d4379(_0x17d199._0x5d57a0,_0x17d199._0x1a5700)+_0x2e5715;return normalizeGatewayQrUrl(_0xaad669)[_0x4a301c(_0x17d199._0x2b7e79,_0x17d199._0x38eeab)];}function rewriteGatewayHost(_0x217f2a,_0xda4cfb){const _0x11775d={_0x2bb423:0x6cb,_0x86f4c2:0x5cd,_0x240607:0x27f,_0x55b488:0x41a,_0xd607be:0x4f,_0x2d2edc:0x22e},_0x52317e={_0x163c04:0x1df},_0x1a7d03={_0x4ea60b:0x1d},_0x432f5e=_0x217f2a[_0x455374(0x1ec,-0x43)]();function _0x2dbbe2(_0x6284c3,_0x4b464a){return _0x18e10d(_0x6284c3,_0x4b464a- -_0x1a7d03._0x4ea60b);}function _0x455374(_0x50b4be,_0x31abb2){return _0x18e10d(_0x31abb2,_0x50b4be- -_0x52317e._0x163c04);}const _0x2980dd=/^[a-z]+:\/\//i[_0x455374(-0x15,-0x16)](_0x432f5e)?_0x432f5e:_0x455374(0x49d,0x511)+_0x432f5e,_0x535ecf=new URL(_0x2980dd);return _0x535ecf[_0x2dbbe2(_0x11775d._0x2bb423,_0x11775d._0x86f4c2)]=_0xda4cfb,normalizeGatewayQrUrl(_0x535ecf[_0x2dbbe2(_0x11775d._0x240607,_0x11775d._0x55b488)]())[_0x2dbbe2(_0x11775d._0xd607be,_0x11775d._0x2d2edc)];}function detectLanIp(){const _0x25fe1d={_0x1ad160:0x6bb,_0x229f43:0x2e6,_0x552cd0:0x3b9,_0x3bd359:0x78,_0xde51ad:0x2af,_0x8ebcbb:0xdb,_0x289e9a:0x50d},_0x208d75={'SIFNQ':function(_0xeca048){return _0xeca048();},'BFwDX':function(_0x28246f,_0x28241d){return _0x28246f!==_0x28241d;},'bWDTt':function(_0x33a96d,_0x17a944,_0x45e477){return _0x33a96d(_0x17a944,_0x45e477);}};function _0x1dd739(_0x435919,_0x162648){return _0x18e10d(_0x435919,_0x162648-0xad);}const _0x594071=_0x208d75[_0x4c0bbb(0x27,0xf)](networkInterfaces);function _0x4c0bbb(_0x23aecf,_0x23d62e){return _0x18e10d(_0x23aecf,_0x23d62e- -0x39d);}let _0xb303da=null;for(const [_0x25a023,_0x400755]of Object[_0x1dd739(_0x25fe1d._0x1ad160,0x4b2)](_0x594071)){for(const _0x4e8a1e of _0x400755??[]){if(_0x208d75['BFwDX'](_0x4e8a1e['family'],'IPv4'))continue;const _0x11ce07=_0x208d75[_0x1dd739(_0x25fe1d._0x229f43,_0x25fe1d._0x552cd0)](scoreLanCandidate,_0x25a023,_0x4e8a1e['address']);if(_0x11ce07===0x0)continue;if(!_0xb303da||_0x11ce07>_0xb303da[_0x4c0bbb(-_0x25fe1d._0x3bd359,-0xdb)]){const _0x174888={};_0x174888[_0x4c0bbb(-_0x25fe1d._0xde51ad,-_0x25fe1d._0x8ebcbb)]=_0x11ce07,_0x174888['ip']=_0x4e8a1e[_0x1dd739(0x792,_0x25fe1d._0x289e9a)],_0xb303da=_0x174888;}}}return _0xb303da?.['ip']??null;}function scoreLanCandidate(_0x587512,_0x18e0b2){const _0x31f0f1={_0x13f10e:0x529,_0xe0287:0x691,_0x431098:0x53f,_0x2972fb:0x336,_0x167157:0x4f3,_0x2fb06d:0x4c4,_0x55e764:0x3d1,_0x4bb4a6:0x265,_0x1421ba:0x192,_0x1187b2:0x265,_0xf940f4:0x21e},_0x77847a={_0x36768f:0x1ea},_0xc8eb49={_0x471faa:0x4c2},_0x43291f={'GCBhR':function(_0x381bcf,_0x20dfc4){return _0x381bcf(_0x20dfc4);}};if(!isLanIpv4(_0x18e0b2))return 0x0;function _0x25930b(_0x32abca,_0x58911f){return _0x9d3486(_0x32abca,_0x58911f- -_0xc8eb49._0x471faa);}const _0x674999=_0x587512['toLowerC'+_0xac6ce7(0x41d,_0x31f0f1._0x13f10e)]();if(BLOCKED_INTERFACE_TOKENS[_0xac6ce7(_0x31f0f1._0xe0287,_0x31f0f1._0x431098)](_0x1fcece=>_0x674999[_0x25930b(-0xba,-0x73)](_0x1fcece)))return 0x0;let _0xe871d7=isRfc1918(_0x18e0b2)?0x78:_0x43291f[_0xac6ce7(_0x31f0f1._0x2972fb,_0x31f0f1._0x167157)](isCgnat,_0x18e0b2)?0x5a:0x28;function _0xac6ce7(_0x5b4dff,_0x1c3e63){return _0x9d3486(_0x1c3e63,_0x5b4dff- -_0x77847a._0x36768f);}return(_0x674999[_0x25930b(0x3a4,0x3d1)+'th']('en')||_0x674999[_0x25930b(0x1ad,0x3d1)+'th']('eth')||_0x674999['startsWi'+'th']('wlan')||_0x674999[_0x25930b(_0x31f0f1._0x2fb06d,_0x31f0f1._0x55e764)+'th']('wl')||_0x674999[_0xac6ce7(_0x31f0f1._0x4bb4a6,_0x31f0f1._0x1421ba)]('wifi')||_0x674999[_0xac6ce7(_0x31f0f1._0x1187b2,_0x31f0f1._0xf940f4)]('wi-fi'))&&(_0xe871d7+=0x14),_0xe871d7;}function resolveLocalPairAuth(_0x2f0673){const _0x2d424e={_0x10c03a:0x5b,_0x2c722b:0x1fe,_0x1fc0b7:0x1f6,_0xa0e0db:0x430,_0x4b0c42:0x12a,_0x46f0f7:0x63,_0x1f0087:0x28f,_0x562d9b:0x1be,_0x14f6f5:0x1a1,_0x5cc888:0x821,_0x37bb3a:0x19a,_0x52df78:0x1a9,_0x1ddcb4:0x26,_0x278890:0x17e,_0x308e8f:0xe0,_0x1f7918:0x248,_0x2f38fe:0x2f8,_0x381f95:0x93},_0x8f45fc={_0x40d054:0x22a},_0x26b9a4={_0x35344c:0xd3};function _0x4ad4cb(_0x4f833c,_0xbcff3b){return _0x18e10d(_0x4f833c,_0xbcff3b- -_0x26b9a4._0x35344c);}const _0x585995={};_0x585995[_0x4ae67d(0x12a,_0x2d424e._0x10c03a)]=_0x4ad4cb(_0x2d424e._0x2c722b,_0x2d424e._0x1fc0b7)+_0x4ae67d(_0x2d424e._0xa0e0db,0x406)+'\x20auth\x20is'+_0x4ad4cb(0x16,_0x2d424e._0x4b0c42)+_0x4ae67d(0x1,-_0x2d424e._0x46f0f7)+'or\x20passw'+_0x4ad4cb(0x85,_0x2d424e._0x1f0087);function _0x4ae67d(_0xf2973,_0x2d11d2){return _0x18e10d(_0xf2973,_0x2d11d2- -_0x8f45fc._0x40d054);}const _0x5e42d1=_0x585995;if(_0x2f0673['gatewayT'+'oken']?.[_0x4ae67d(_0x2d424e._0x562d9b,_0x2d424e._0x14f6f5)]())return{'mode':_0x4ad4cb(_0x2d424e._0x5cc888,0x5c7),'token':_0x2f0673[_0x4ae67d(-0x53,_0x2d424e._0x37bb3a)+'oken'][_0x4ad4cb(0x33d,0x2f8)](),'password':null};if(_0x2f0673[_0x4ae67d(0x1f5,_0x2d424e._0x52df78)+_0x4ad4cb(-_0x2d424e._0x1ddcb4,_0x2d424e._0x278890)]?.[_0x4ae67d(-_0x2d424e._0x308e8f,0x1a1)]())return{'mode':'password','token':null,'password':_0x2f0673['gatewayP'+'assword'][_0x4ad4cb(_0x2d424e._0x1f7918,_0x2d424e._0x2f38fe)]()};throw new Error(_0x5e42d1[_0x4ae67d(-_0x2d424e._0x381f95,0x5b)]);}function isLanIpv4(_0x5a5ea2){const _0x1b8dcc={_0x269070:0xd9,_0x2fdc93:0x1a1,_0x11e5b4:0x4e,_0xf8314b:0x90,_0x391518:0x1f2,_0x32a5a0:0x5ee},_0x7b27e3={};function _0x1a2ebd(_0x101e78,_0x1b7061){return _0x18e10d(_0x1b7061,_0x101e78- -0x402);}_0x7b27e3[_0x1a2ebd(-_0x1b8dcc._0x269070,_0x1b8dcc._0x2fdc93)]=function(_0x3faac3,_0x4ba63a){return _0x3faac3===_0x4ba63a;};const _0x420d40=_0x7b27e3;if(!isValidIpv4(_0x5a5ea2))return![];if(_0x420d40['tGyCm'](_0x5a5ea2,_0x255663(-_0x1b8dcc._0x11e5b4,0x1f2)))return![];const [_0xea076c,_0x56950,_0xe08284,_0xad9372]=_0x5a5ea2[_0x1a2ebd(-_0x1b8dcc._0xf8314b,_0x1b8dcc._0x391518)]('.')[_0x255663(_0x1b8dcc._0x32a5a0,0x4de)](Number);if(_0xea076c===0x7f)return![];if(_0xea076c===0xa9&&_0x56950===0xfe)return![];if(_0xea076c>=0xe0&&_0xea076c<=0xef)return![];if(_0xea076c===0xff&&_0x56950===0xff&&_0xe08284===0xff&&_0xad9372===0xff)return![];function _0x255663(_0xbfa8f7,_0x35f862){return _0x18e10d(_0xbfa8f7,_0x35f862- -0x68);}if(_0xea076c===0xc6&&(_0x56950===0x12||_0x56950===0x13))return![];return isRfc1918(_0x5a5ea2)||isCgnat(_0x5a5ea2);}function isRfc1918(_0x3cf724){const _0x15e074={_0x7ab73c:0x531},[_0x3e1bfd,_0xe9332b]=_0x3cf724['split']('.')[_0x3d988f(0x4a9,_0x15e074._0x7ab73c)](Number);function _0x3d988f(_0x4ac631,_0x35f5ac){return _0x9d3486(_0x35f5ac,_0x4ac631- -0x31d);}return _0x3e1bfd===0xa||_0x3e1bfd===0xac&&_0xe9332b>=0x10&&_0xe9332b<=0x1f||_0x3e1bfd===0xc0&&_0xe9332b===0xa8;}function isCgnat(_0x1b14c4){const _0x3604eb={_0x7f3780:0x1bf,_0x3e17f7:0x393,_0x51f3fd:0x364},_0xebd45c={_0x2387f1:0x90},[_0x562b1d,_0x4e0276]=_0x1b14c4[_0x578559(_0x3604eb._0x7f3780,0x302)]('.')[_0x578559(_0x3604eb._0x3e17f7,_0x3604eb._0x51f3fd)](Number);function _0x578559(_0x5d5714,_0x5af1c2){return _0x9d3486(_0x5af1c2,_0x5d5714- -0x433);}function _0x135189(_0x18ead2,_0x9abea4){return _0x9d3486(_0x18ead2,_0x9abea4- -_0xebd45c._0x2387f1);}return _0x562b1d===0x64&&_0x4e0276>=0x40&&_0x4e0276<=0x7f;}function isValidIpv4(_0x5e3317){const _0xebd17d={_0x436ac5:0x2c3,_0x518d04:0x4fc,_0x81f8b1:0x48a,_0x4c5554:0x5d5,_0x184e56:0x5da,_0xd7d353:0x803},_0x1cfe66={_0x311a6b:0xc1,_0x491668:0x118},_0x3b822b={_0x5295b3:0x223},_0x3640ec={};_0x3640ec[_0x420f1(0x406,_0xebd17d._0x436ac5)]=function(_0x1a7641,_0x4b272b){return _0x1a7641<=_0x4b272b;};const _0x421843=_0x3640ec;function _0x420f1(_0x3deec3,_0x24676e){return _0x9d3486(_0x24676e,_0x3deec3- -0xf6);}const _0x42b9bd=_0x5e3317[_0x420f1(_0xebd17d._0x518d04,0x54c)]('.');function _0x9c54fa(_0xcb6776,_0x3fe44e){return _0x9d3486(_0x3fe44e,_0xcb6776- -0x10f);}return _0x42b9bd[_0x9c54fa(_0xebd17d._0x81f8b1,_0xebd17d._0x4c5554)]===0x4&&_0x42b9bd[_0x420f1(_0xebd17d._0x184e56,_0xebd17d._0xd7d353)](_0x4c89b4=>{function _0x4f6d4d(_0x14b251,_0x1ce613){return _0x9c54fa(_0x1ce613- -_0x3b822b._0x5295b3,_0x14b251);}if(!/^\d+$/[_0x4f6d4d(_0x1cfe66._0x311a6b,_0x1cfe66._0x491668)](_0x4c89b4))return![];const _0x4950f5=Number(_0x4c89b4);return _0x4950f5>=0x0&&_0x421843['FxSUA'](_0x4950f5,0xff);});}import{readFileSync as _0x18dfaf}from'fs';import{dirname as _0x2fea25,resolve}from'path';import{fileURLToPath}from'url';function readCliVersion(){const _0x2222f8={_0x2a695c:0x973,_0x3868ea:0x731,_0x256b5f:0x2b5,_0xd80f40:0x263,_0x17a16c:0x80f,_0x3f60a3:0x6c9,_0x3130a5:0x3a5},_0x565c99={_0x474222:0x83},_0x503bc9={_0x2a4f59:0x1f2},_0x1055c5={'wIzgH':'../packa'+_0x167e68(_0x2222f8._0x2a695c,_0x2222f8._0x3868ea),'NVUlM':function(_0x1c0a3c,_0x6e5e6d,_0x278561){return _0x1c0a3c(_0x6e5e6d,_0x278561);}},_0x17989b=_0x2fea25(fileURLToPath(import.meta.url));function _0x167e68(_0x302a7d,_0x456716){return _0x9d3486(_0x302a7d,_0x456716- -_0x503bc9._0x2a4f59);}function _0x198a1c(_0x32c1d9,_0x4bc527){return _0x9d3486(_0x32c1d9,_0x4bc527- -_0x565c99._0x474222);}const _0x5c1794=resolve(_0x17989b,_0x1055c5[_0x167e68(0x404,_0x2222f8._0x256b5f)]),_0x4c6a5e=_0x1055c5[_0x167e68(0x416,_0x2222f8._0xd80f40)](_0x18dfaf,_0x5c1794,'utf8'),_0x46a7e8=JSON[_0x167e68(_0x2222f8._0x17a16c,_0x2222f8._0x3f60a3)](_0x4c6a5e);return _0x46a7e8[_0x167e68(_0x2222f8._0x3130a5,0x54a)]??_0x167e68(0x36f,0x252);}function buildPairingJson(_0x2bf8f2,_0x2cd062,_0x370165,_0x13b9a6){const _0x1c30ec={_0x47b92a:0x6f1,_0x3fa2dc:0x52f,_0xafa75c:0x3a6,_0x4beca3:0x430,_0x27b529:0x5ff,_0x47380c:0x5ee,_0x530ab8:0x7d6,_0x11ba04:0x3ec,_0x2085f6:0x41f,_0x16c1e5:0x4af,_0x24dee5:0x5a7,_0x4043e5:0x3b2,_0x5d86f1:0x321,_0x4d23ec:0x46f,_0x451d2f:0x6a5,_0x3fd01b:0x5e0,_0x40eb02:0x542,_0x3ec1c7:0x718,_0x1f03ae:0x4c5,_0x3b1554:0x66b,_0x1d2ae2:0x535,_0x5a3b3a:0x2ba,_0x4304fe:0x66b,_0x434f53:0x502,_0x3101b3:0x2bf,_0x5ce67c:0x30f,_0x505f53:0x2ea,_0x27b48a:0x76c,_0x4fcdfc:0x934,_0xa5382d:0x784},_0x29ada1={_0x29b1b2:0x13c},_0xe9a01a={};_0xe9a01a[_0xf756b4(0x52f,_0x1c30ec._0x47b92a)+'d']=_0x370165[_0xf756b4(_0x1c30ec._0x3fa2dc,_0x1c30ec._0xafa75c)+'d'],_0xe9a01a[_0xa3355b(0x4ad,0x355)]=_0x370165[_0xf756b4(0x43d,_0x1c30ec._0x4beca3)],_0xe9a01a[_0xf756b4(0x4c7,_0x1c30ec._0x27b529)]=_0x370165[_0xf756b4(0x4c7,_0x1c30ec._0x47380c)],_0xe9a01a[_0xf756b4(0x628,_0x1c30ec._0x530ab8)+_0xf756b4(0x4c6,_0x1c30ec._0x11ba04)]=_0x370165['serviceP'+_0xf756b4(0x4c6,_0x1c30ec._0x2085f6)];function _0xa3355b(_0x48d573,_0x60e73){return _0x9d3486(_0x60e73,_0x48d573- -_0x29ada1._0x29b1b2);}_0xe9a01a['logPath']=_0x370165[_0xa3355b(0x358,_0x1c30ec._0x16c1e5)],_0xe9a01a[_0xf756b4(0x342,_0x1c30ec._0x24dee5)+'Path']=_0x370165[_0xa3355b(_0x1c30ec._0x4043e5,_0x1c30ec._0x5d86f1)+_0xa3355b(0x6b3,0x4f3)],_0xe9a01a[_0xf756b4(_0x1c30ec._0x4d23ec,0x3ff)]=_0x370165['pid'];const _0x209bfe={};_0x209bfe['ok']=!![],_0x209bfe['action']=_0x2bf8f2[_0xf756b4(_0x1c30ec._0x451d2f,_0x1c30ec._0x3fd01b)],_0x209bfe[_0xf756b4(_0x1c30ec._0x40eb02,_0x1c30ec._0x3ec1c7)]=_0x13b9a6,_0x209bfe[_0xf756b4(0x571,0x4b3)+'d']=_0x2bf8f2[_0xf756b4(_0x1c30ec._0x1f03ae,0x3d3)]['gatewayI'+'d'],_0x209bfe[_0xa3355b(_0x1c30ec._0x3b1554,0x65b)]=_0x2bf8f2[_0xa3355b(_0x1c30ec._0x1d2ae2,_0x1c30ec._0x5a3b3a)][_0xa3355b(_0x1c30ec._0x4304fe,_0x1c30ec._0x434f53)],_0x209bfe[_0xf756b4(0x44f,0x201)+'l']=_0x2bf8f2[_0xf756b4(0x4c5,0x2b2)][_0xf756b4(0x44f,_0x1c30ec._0x3101b3)+'l'],_0x209bfe['instance'+'Id']=_0x2bf8f2[_0xf756b4(_0x1c30ec._0x1f03ae,0x474)]['instance'+'Id'],_0x209bfe[_0xa3355b(0x522,0x662)+'de']=_0x2bf8f2['accessCo'+'de'],_0x209bfe['accessCo'+'deExpire'+_0xf756b4(0x76c,0x817)]=_0x2bf8f2[_0xa3355b(0x522,_0x1c30ec._0x5ce67c)+_0xa3355b(0x539,_0x1c30ec._0x505f53)+_0xf756b4(_0x1c30ec._0x27b48a,_0x1c30ec._0x4fcdfc)],_0x209bfe[_0xa3355b(0x473,0x41e)+_0xa3355b(0x536,0x32d)]=_0x2cd062,_0x209bfe[_0xa3355b(0x613,_0x1c30ec._0xa5382d)]=_0xe9a01a;function _0xf756b4(_0x33a9b0,_0x220633){return _0x9d3486(_0x220633,_0x33a9b0- -0x1ac);}return _0x209bfe;}function buildLocalPairingJson(_0x567c25){const _0x24d984={_0x47f1a5:0x8c0,_0x1d1aaa:0x8dd,_0x283ac3:0x10a,_0x44375d:0x181,_0x11f1c0:0x22f,_0x3e67a6:0x7f2,_0x3d2360:0xd4},_0x44452b={};function _0x5d95e1(_0x4cfa13,_0x1c4834){return _0x9d3486(_0x1c4834,_0x4cfa13- -0x8e);}_0x44452b['ok']=!![],_0x44452b[_0x5d95e1(0x7c3,0x7d1)]=_0x5d95e1(_0x24d984._0x47f1a5,_0x24d984._0x1d1aaa);function _0xc0111e(_0x27e1fa,_0x2faaa8){return _0x9d3486(_0x27e1fa,_0x2faaa8- -0x5ee);}return _0x44452b['message']=_0x567c25[_0x5d95e1(0x660,0x579)],_0x44452b['gatewayU'+'rl']=_0x567c25[_0xc0111e(-0x33b,-_0x24d984._0x283ac3)+'rl'],_0x44452b[_0xc0111e(0x10c,0x22f)]=_0x567c25[_0xc0111e(_0x24d984._0x44375d,_0x24d984._0x11f1c0)],_0x44452b[_0xc0111e(-0x14,-0x135)+'t']=_0x567c25['expiresA'+'t'],_0x44452b['qrImageP'+_0x5d95e1(0x5e4,_0x24d984._0x3e67a6)]=_0x567c25['qrImageP'+_0xc0111e(-_0x24d984._0x3d2360,0x84)],_0x44452b;}import{mkdirSync as _0x4d6360,writeFileSync as _0x4242df}from'fs';import{dirname as _0xb3a2f1,isAbsolute,join as _0x260ea6,resolve as _0x10291d}from'path';import _0x1f5035 from'qrcode';var DEFAULT_QR_DIR=getOpenClawMediaDir();async function writePairingQrPng(_0x3d7ecf,_0x5e83b6){const _0x56d9f5={_0x3f2683:0x78b},_0xacfd76=resolveQrOutputPath(_0x3d7ecf['config']['gatewayI'+'d'],_0x5e83b6);function _0x4e10a1(_0x5296dd,_0xef9524){return _0x9d3486(_0xef9524,_0x5296dd- -0x65);}return writeQrPng(_0x3d7ecf[_0x4e10a1(_0x56d9f5._0x3f2683,0x530)+'d'],_0xacfd76);}async function writeRawQrPng(_0x4e01d2,_0x3c7716,_0x5873c4){const _0x3b4a6f=resolveQrOutputPath(_0x3c7716,_0x5873c4);return writeQrPng(_0x4e01d2,_0x3b4a6f);}async function writeQrPng(_0x1d637e,_0x517627){const _0x260e88={_0xfc2e7e:0x23d,_0x18d8db:0x3e2,_0x50a834:0x76a,_0x4e3286:0x64b,_0x56a159:0x5e3,_0x51da36:0x552,_0x326cec:0x251,_0x209b6e:0x1d9,_0x2ba13c:0x22,_0x55f3f2:0xa5,_0x29a531:0x7b},_0x57d07a={_0x4f0d8c:0x45b},_0xf5ed2e={'ANUeS':function(_0x16c437,_0x5edf37,_0xe6b08f){return _0x16c437(_0x5edf37,_0xe6b08f);},'aqOJz':function(_0x17d6f8,_0x4c226d){return _0x17d6f8(_0x4c226d);}},_0x5bd1c0={};_0x5bd1c0[_0x3f42ee(-0x101,-0xf9)+'e']=!![],_0xf5ed2e['ANUeS'](_0x4d6360,_0xf5ed2e[_0x3f42ee(-_0x260e88._0xfc2e7e,-_0x260e88._0x18d8db)](_0xb3a2f1,_0x517627),_0x5bd1c0);const _0x41bffa={};_0x41bffa[_0x1e1b37(_0x260e88._0x50a834,_0x260e88._0x4e3286)]=_0x1e1b37(_0x260e88._0x56a159,_0x260e88._0x51da36)+'g';function _0x1e1b37(_0xae88f,_0x238aea){return _0x18e10d(_0xae88f,_0x238aea-0x300);}_0x41bffa[_0x3f42ee(-0x32,_0x260e88._0x326cec)+_0x3f42ee(0x2f,0x102)+'evel']='M',_0x41bffa[_0x3f42ee(-0x38,0x93)]=0x1,_0x41bffa[_0x3f42ee(-0x265,-_0x260e88._0x209b6e)]=0x2d0;const _0x587f1c=await _0x1f5035[_0x3f42ee(_0x260e88._0x2ba13c,-_0x260e88._0x55f3f2)+'L'](_0x1d637e,_0x41bffa);function _0x3f42ee(_0x2efcfb,_0x22a8ce){return _0x18e10d(_0x22a8ce,_0x2efcfb- -_0x57d07a._0x4f0d8c);}const _0x42da8d=_0x587f1c[_0x1e1b37(0x81e,0x78e)](/^data:image\/png;base64,/,'');return _0x4242df(_0x517627,Buffer[_0x1e1b37(0x92e,0x9a1)](_0x42da8d,_0x3f42ee(0x10d,_0x260e88._0x29a531))),_0x517627;}function resolveQrOutputPath(_0x414810,_0x1b6b72){const _0x1eeec5={'UwmqI':function(_0x19245f,_0x13969a){return _0x19245f(_0x13969a);}},_0x2dc4d6=_0x1b6b72?.['trim']();if(_0x2dc4d6)return _0x1eeec5['UwmqI'](isAbsolute,_0x2dc4d6)?_0x2dc4d6:_0x10291d(_0x2dc4d6);return _0x260ea6(DEFAULT_QR_DIR,_0x414810+'.png');}function decidePairServiceAction(_0x3db696,_0x5f2c4){const _0x4222e0={_0x514b6b:0x5b7,_0x509b60:0x1dd,_0x30758c:0x586,_0x33af90:0x3,_0x865051:0x159,_0x47f5ea:0x26,_0x270b18:0x6ec,_0x38ec4b:0x4d9,_0x12c929:0x45},_0x464ead={};function _0x1a0d9d(_0x8b15e0,_0x1bff56){return _0x18e10d(_0x1bff56,_0x8b15e0-0x9a);}function _0x56597d(_0x320b40,_0x6ce901){return _0x18e10d(_0x6ce901,_0x320b40- -0x366);}_0x464ead[_0x1a0d9d(_0x4222e0._0x514b6b,0x426)]='restart',_0x464ead[_0x56597d(_0x4222e0._0x509b60,0x196)]=_0x1a0d9d(0x3a2,0x18d);const _0x50a8a5=_0x464ead;if(!_0x5f2c4[_0x1a0d9d(0x4f5,_0x4222e0._0x30758c)+'d'])return _0x1a0d9d(0x4ef,0x52b);if(!_0x5f2c4[_0x56597d(_0x4222e0._0x33af90,-_0x4222e0._0x865051)])return _0x50a8a5[_0x56597d(0x1b7,-_0x4222e0._0x47f5ea)];if(_0x3db696['action']===_0x1a0d9d(0x751,_0x4222e0._0x270b18)+'ed')return _0x50a8a5[_0x1a0d9d(0x5b7,_0x4222e0._0x38ec4b)];return _0x50a8a5[_0x56597d(0x1dd,-_0x4222e0._0x12c929)];}async function main(){const _0x10c473={_0x4f16d3:0x530,_0x1a3dfd:0x486,_0x2bc77e:0xaa4,_0x2ef348:0x553,_0x5056ec:0x9da,_0x5fe294:0xb0f,_0x58276a:0x18a,_0x2bba1e:0x3e1,_0x4bbbfb:0x38d,_0x210971:0x6d9,_0x547ab6:0x66b,_0x26b419:0x561,_0x401605:0x372,_0x27a8de:0xa57,_0x16a05c:0xb0c,_0x9c7942:0x342,_0x150f61:0x49c,_0x3828f3:0x494,_0x56b11e:0x5b0,_0x51daeb:0x6f0,_0x431629:0x747,_0x800cc8:0x635,_0x3f1b7a:0x937,_0x501576:0x5b7,_0x515feb:0x772,_0x177893:0x76e,_0x321126:0xa96,_0x2d8280:0x180,_0x3b7c39:0x623,_0x4b121b:0x15f,_0x4d83d3:0x835,_0x53f78f:0xaba,_0x5eeb65:0x2df,_0x5ace48:0x2a4,_0x1f22a6:0x377,_0x57672c:0x46d,_0x956f20:0x599,_0x3bcf23:0x825,_0x909720:0x8d2,_0x1a3047:0x7d6,_0x4ddaf6:0x56e,_0xc08a9b:0x684,_0x2d5da0:0x228,_0x32b8cf:0x20a,_0x2a4ace:0x79d,_0x8d74e7:0x202,_0x3a8fde:0x81a,_0xc7e138:0x56e,_0x41b050:0x681,_0x36f3db:0x50e,_0x4b1113:0x328,_0x3409c5:0x398,_0x94b1be:0x7a1,_0x465dbc:0x837,_0x18a12e:0x2ce,_0x200740:0x602,_0xc94f87:0x435,_0xb3b7b:0x5fb,_0x4e674f:0x595,_0x5ae799:0x5f7,_0x3f432f:0x3d0,_0x4fe6d6:0x206,_0x13961c:0x1e6,_0x51a84a:0x377,_0x177bc9:0x3cb,_0x44d34c:0x6eb,_0x56b128:0x4d7,_0x398d12:0x638,_0x3a39ba:0x1ef,_0x4eedfb:0x9d4,_0x5eb061:0x990,_0x199311:0xb8e,_0xfcc08d:0x65b,_0x1b60d5:0x211,_0x12d02a:0x9de,_0x201e41:0x7a9,_0x3488b7:0x829,_0x29b8c9:0x76a,_0x4f77cf:0x6e4,_0x53c9a8:0x6d3,_0x386d68:0x946,_0x2b263a:0x65f,_0x2763a9:0x331,_0x2fa783:0x5ec,_0x3da47e:0x669,_0x33c9fe:0x5f4,_0x7ee39b:0x1f6,_0x3f265d:0x5e,_0x15c88d:0x8fe,_0x17fdfe:0x406,_0x4743d5:0x5ea,_0x260805:0x4fc,_0x29c9e2:0x487,_0x5c3a1a:0x439,_0xbaf77d:0x78a,_0x3a0eef:0x8f2,_0xd9c0a5:0x3f3,_0x171f3f:0x865,_0x3c8d87:0x5d8,_0x24ac2c:0x844,_0x5356df:0x7e4,_0x48b3c2:0x2df,_0x43ee39:0x46a,_0x827ecb:0x72c,_0x527221:0x431,_0x5afa4f:0x83e,_0x4ad306:0x718,_0x42fa99:0x1e2,_0x5fd967:0x2e,_0x282950:0x70e,_0x4b94fc:0x6af,_0x2bd713:0x5bb,_0x8191b0:0x590,_0x431cb3:0x761,_0x2564dd:0x63b,_0x2298de:0x5fd,_0xa3772e:0x44a,_0x5c71cd:0x52d,_0x503158:0x5e7,_0x5052ab:0x777,_0x519a63:0x9d1,_0x326ba8:0x8a9,_0x3d90fd:0x2f4,_0x4a1641:0x2a6,_0x2cb32c:0x281,_0x41a18d:0x618,_0x3adfa9:0x65c,_0x16101f:0x660,_0x2a3a79:0x3a0,_0x3fd78e:0x5ab,_0x31a238:0x926,_0x3c6b75:0x801,_0x108e87:0x9cf,_0x2d12f2:0x5df,_0x6a0379:0x72e,_0x57a998:0x894,_0x40324e:0x848,_0xb631a8:0xa67,_0x156745:0x567,_0x2b435e:0x72e,_0xac89f1:0x6c7,_0x113382:0x7ce,_0x25f310:0x6b9,_0x9a34aa:0x8fe,_0x2f1c56:0xa87,_0x163ca1:0x44e,_0xadbaf5:0x61a,_0x3413df:0x95a,_0x34648d:0x80d,_0x3549d3:0x926,_0x3fbd8a:0x826,_0x2ef785:0x455,_0x119c1e:0x528,_0x4a35d3:0x51f,_0x3293ca:0x6aa,_0x203fa3:0x69b,_0x1dab7d:0x763,_0x2e0b17:0xa32,_0x1ddde8:0x5c0,_0x4a118b:0x7d0,_0x1c22b9:0x17d,_0x397594:0x57e,_0x271514:0x3aa,_0x5d3fcf:0x190,_0x2ee1c2:0x273,_0x60b974:0x515,_0x3bf8a9:0x50f,_0xa6a261:0x3ea,_0x437e35:0x469,_0x11eb1c:0x77e,_0x29f810:0x996,_0x1b6bf0:0x8c8,_0x58162f:0x75e,_0x17fae1:0x508,_0x2b2d53:0x775,_0x3e6ffc:0x38e,_0x1f195a:0x2b7,_0x8995f0:0x25d,_0x586aa1:0x4b5,_0x1181af:0x5df,_0x25ddf1:0x3b3,_0x1d91ae:0x47f,_0x74bd84:0x959,_0x25634:0x583,_0x2de36b:0x486,_0x173f61:0x62d,_0xbc290a:0x39d,_0x377b87:0x8e2,_0x2e0a84:0x283,_0x1c1dff:0x57,_0x332560:0x9f6,_0x1163ca:0x515,_0x3b3d6f:0x461,_0x50f0ff:0x7d2,_0xf54f3d:0x6e2,_0x5eeea0:0x886,_0x4970e8:0x515,_0x2a6216:0x5a4,_0x252309:0x3e8,_0x3f735e:0x589,_0x3e301c:0x4e6,_0x178a85:0x702,_0x200367:0x89a,_0x3c4d89:0x1af,_0x3c6e48:0x589,_0x311871:0x974,_0x5010ff:0x82d,_0x4212a5:0x37e,_0x5cf891:0x97b,_0x5176b5:0x9b4,_0x522900:0x739,_0x47836f:0x4c6},_0x161b27={_0x39da05:0x731,_0x354186:0x5eb,_0x4d3124:0x27,_0x4af147:0xb,_0x2d6191:0x37a,_0x169687:0x1a0,_0x3c217c:0x64b,_0x4ec842:0x56b,_0x5a446c:0x582,_0x320f51:0x27a,_0x13ce1d:0xe9},_0xde7d90={_0x3dc5d8:0x4a0,_0x11ead0:0x67e,_0x584732:0x41f,_0x1375de:0x7e5,_0x489cbd:0x163,_0x3aa64b:0x201,_0x35815d:0x552,_0x4b47ce:0x602,_0x179d1d:0x45f},_0x114a2e={_0x5b96da:0x645,_0x3b11a0:0x54e,_0x4ccc66:0x82a,_0x29935a:0x8a7,_0x3a1668:0x805,_0x32391b:0x2ea,_0x505c75:0x651,_0xc2d661:0x9c1,_0x1d7ee9:0x6a6,_0x2793b1:0x5b8,_0x176295:0x560,_0x43103f:0x542,_0x193aa5:0x8d3,_0x1268c7:0x5d9,_0x4609e9:0x53e,_0x4b5c69:0xb18,_0x4e05ab:0x791,_0x3efbaf:0x78e},_0x22ce2f={_0x22d3f4:0x19a},_0x24c255={'oVwmu':_0x34b345(_0x10c473._0x4f16d3,_0x10c473._0x1a3dfd),'pavVP':_0x1f8a5a(0x8f7,_0x10c473._0x2bc77e)+'>','ZcouX':_0x34b345(0x59d,_0x10c473._0x2ef348)+'e','uvLcJ':function(_0x5cd9aa,_0x40ee0e,_0x17b14f){return _0x5cd9aa(_0x40ee0e,_0x17b14f);},'TEXfs':function(_0x35201e,_0x1c2258){return _0x35201e===_0x1c2258;},'QFSAd':_0x1f8a5a(_0x10c473._0x5056ec,_0x10c473._0x5fe294),'kuSsk':function(_0x10a026){return _0x10a026();},'SXNGe':_0x34b345(0x281,_0x10c473._0x58276a),'WVEnq':'--force','dNGgY':function(_0x534623,_0x5f3d03,_0x161a61){return _0x534623(_0x5f3d03,_0x161a61);},'rfCEN':function(_0x1c0b65,_0x1e1df5,_0x574185){return _0x1c0b65(_0x1e1df5,_0x574185);},'LCPTb':function(_0x2498e4,_0x314ee9,_0x1fd3f8){return _0x2498e4(_0x314ee9,_0x1fd3f8);},'CXjPF':function(_0x1d65f4,_0x149406,_0x2fc80f){return _0x1d65f4(_0x149406,_0x2fc80f);},'zgfgr':_0x34b345(_0x10c473._0x2bba1e,0x2a8)+'e','XIUwj':'noop','fgxSK':function(_0x611d9e,_0x511dc4){return _0x611d9e>_0x511dc4;},'VvqBm':function(_0x53e785,_0x300293){return _0x53e785(_0x300293);},'nnWwA':function(_0x5ed347,_0x5561e8,_0x1f840c,_0x898173,_0x5d4cf4){return _0x5ed347(_0x5561e8,_0x1f840c,_0x898173,_0x5d4cf4);},'eQlFi':_0x34b345(0x255,_0x10c473._0x4bbbfb)+_0x1f8a5a(_0x10c473._0x210971,0x8e0)+'ce\x20was\x20i'+_0x34b345(_0x10c473._0x547ab6,_0x10c473._0x26b419)+'\x20but\x20sto'+_0x34b345(_0x10c473._0x401605,0x1df)+'started\x20'+'it.','tstQt':function(_0x1af815){return _0x1af815();},'bkrWJ':function(_0x1ba0cf,_0x54b7c6){return _0x1ba0cf in _0x54b7c6;},'fkils':function(_0x4cbdbe){return _0x4cbdbe();},'PoHUZ':function(_0x672015,_0x41f8b7){return _0x672015===_0x41f8b7;},'pctzs':_0x1f8a5a(0x949,_0x10c473._0x27a8de)+_0x1f8a5a(0x9bb,_0x10c473._0x16a05c)+_0x34b345(_0x10c473._0x9c7942,0x41e)+_0x34b345(_0x10c473._0x150f61,_0x10c473._0x3828f3),'osaWI':function(_0x4170b5,_0x26d9ee,_0x101798){return _0x4170b5(_0x26d9ee,_0x101798);},'QTnJf':_0x1f8a5a(0x8ed,0x777),'mfxOU':function(_0x48da98){return _0x48da98();},'uAkZm':function(_0x4aa507,_0xc993e2){return _0x4aa507===_0xc993e2;},'ewoPg':function(_0xc503d5,_0x485113){return _0xc503d5===_0x485113;},'FpgMG':function(_0x89cd67,_0x2d8dec){return _0x89cd67(_0x2d8dec);},'LZgYa':function(_0x3ac667,_0x2ff171,_0x27484c){return _0x3ac667(_0x2ff171,_0x27484c);},'NKgXo':_0x34b345(_0x10c473._0x56b11e,_0x10c473._0x51daeb),'oqfrh':_0x1f8a5a(_0x10c473._0x431629,0x856),'mtVmS':function(_0x19b0bb){return _0x19b0bb();},'BmNiz':function(_0x19df0a){return _0x19df0a();}},[,,_0x3b0a63=_0x1f8a5a(_0x10c473._0x800cc8,0x5ce),..._0x1db278]=process[_0x1f8a5a(_0x10c473._0x3f1b7a,0x74b)],_0x48ca38=hasFlag(_0x1db278,_0x24c255['ZcouX']),_0x5120fe=_0x24c255[_0x1f8a5a(_0x10c473._0x501576,0x345)](hasFlag,_0x1db278,_0x1f8a5a(_0x10c473._0x515feb,_0x10c473._0x177893));if(_0x3b0a63==='pair'){const _0x18a6b8=readPairSubcommand(_0x1db278),_0x5ae1f3=_0x24c255[_0x34b345(0x485,0x628)](_0x18a6b8,_0x1f8a5a(0xa03,_0x10c473._0x321126))||hasFlag(_0x1db278,_0x24c255['QFSAd']);if(_0x5ae1f3){const _0x5da912=_0x24c255[_0x34b345(_0x10c473._0x2d8280,0x2a7)](resolveGatewayAuth);if(_0x24c255['SXNGe']in _0x5da912)throw new Error(_0x5da912['error']);const _0x51ab7d=readFlag(_0x1db278,_0x34b345(0x3e1,_0x10c473._0x3b7c39)+'e'),_0x16991d=buildLocalPairingInfo({'explicitUrl':readFlag(_0x1db278,_0x34b345(_0x10c473._0x4b121b,0xee)),'gatewayToken':_0x5da912['token'],'gatewayPassword':_0x5da912[_0x1f8a5a(_0x10c473._0x4d83d3,_0x10c473._0x53f78f)]}),_0xcdc064=await writeRawQrPng(_0x16991d[_0x34b345(0x50e,_0x10c473._0x5eeb65)+'d'],_0x34b345(_0x10c473._0x5ace48,_0x10c473._0x1f22a6)+_0x1f8a5a(0x9d7,0x74d)+'ir',_0x51ab7d);if(_0x5120fe){const _0x5e0703={};_0x5e0703[_0x1f8a5a(0x599,_0x10c473._0x57672c)+'rl']=_0x16991d[_0x1f8a5a(_0x10c473._0x956f20,_0x10c473._0x3bcf23)+'rl'],_0x5e0703[_0x1f8a5a(_0x10c473._0x909720,_0x10c473._0x1a3047)]=_0x16991d['authMode'],_0x5e0703[_0x1f8a5a(_0x10c473._0x4ddaf6,0x3bc)+'t']=_0x16991d['expiresA'+'t'],_0x5e0703[_0x1f8a5a(0x664,_0x10c473._0xc08a9b)+'ath']=_0xcdc064,_0x5e0703['message']=_0x1f8a5a(0x7b9,0x8f7)+_0x34b345(_0x10c473._0x2d5da0,_0x10c473._0x32b8cf)+'l\x20gatewa'+_0x34b345(0x5c6,0x767)+_0x1f8a5a(0x9a4,_0x10c473._0x2a4ace),printJson(buildLocalPairingJson(_0x5e0703));}else printLocalPairingInfo(_0x16991d[_0x34b345(_0x10c473._0x8d74e7,0x46d)+'rl'],_0x16991d[_0x1f8a5a(_0x10c473._0x909720,_0x10c473._0x3a8fde)],_0x16991d[_0x1f8a5a(_0x10c473._0xc7e138,_0x10c473._0x41b050)+'t'],_0x16991d[_0x34b345(_0x10c473._0x36f3db,0x4a6)+'d'],_0xcdc064,readFlag(_0x1db278,_0x34b345(_0x10c473._0x4b121b,_0x10c473._0x4b1113)));return;}const _0x211948=hasFlag(_0x1db278,_0x24c255[_0x34b345(0x32c,0x5a5)]);!_0x211948&&await ensurePairPrerequisites();const _0x3b3b3d=resolveGatewayAuth();if(_0x34b345(0x281,0x50)in _0x3b3b3d)throw new Error(_0x3b3b3d[_0x1f8a5a(0x618,_0x10c473._0x3409c5)]);const _0x2e34b3=_0x24c255[_0x1f8a5a(0x96a,_0x10c473._0x94b1be)](readFlag,_0x1db278,_0x1f8a5a(_0x10c473._0x465dbc,0x700))??_0x24c255['rfCEN'](readFlag,_0x1db278,'-s')??'https://'+_0x34b345(_0x10c473._0x18a12e,0x374)+_0x1f8a5a(_0x10c473._0x200740,_0x10c473._0xc94f87)+_0x1f8a5a(0x663,_0x10c473._0xb3b7b),_0xfcba88=_0x24c255[_0x1f8a5a(_0x10c473._0x4e674f,_0x10c473._0x5ae799)](readFlag,_0x1db278,_0x34b345(_0x10c473._0x3f432f,_0x10c473._0x4fe6d6))??readFlag(_0x1db278,'-n')??getDefaultBridgeDisplayName(),_0x55ec45=_0x24c255[_0x34b345(_0x10c473._0x13961c,_0x10c473._0x51a84a)](readFlag,_0x1db278,_0x24c255[_0x1f8a5a(0x8fd,0x76d)]),_0x508dac={};_0x508dac['serverUr'+'l']=_0x2e34b3,_0x508dac[_0x34b345(0x159,_0x10c473._0x177bc9)+_0x1f8a5a(_0x10c473._0x44d34c,0x47c)]=_0xfcba88,_0x508dac[_0x34b345(0x362,_0x10c473._0x56b128)+'oken']=_0x3b3b3d[_0x34b345(_0x10c473._0x398d12,0x3f4)],_0x508dac['gatewayP'+_0x34b345(_0x10c473._0x3a39ba,0x3a8)]=_0x3b3b3d[_0x1f8a5a(_0x10c473._0x4d83d3,_0x10c473._0x4eedfb)];const _0x33fa64=await pairGateway(_0x508dac),_0x984fe9=await writePairingQrPng(_0x33fa64,_0x55ec45),_0x12ea32=getServiceStatus(),_0x915989=decidePairServiceAction(_0x33fa64,_0x12ea32);if(_0x915989===_0x24c255['XIUwj']){const _0x2b6425=listRuntimeProcesses();if(_0x24c255[_0x1f8a5a(_0x10c473._0x5eb061,_0x10c473._0x199311)](_0x2b6425[_0x1f8a5a(0x64e,_0x10c473._0xfcc08d)],0x1)){stopRuntimeProcesses();const _0x3a6cfe=restartService(),_0x5122bc=_0x34b345(_0x10c473._0x1b60d5,0x1d1)+'\x20duplica'+_0x1f8a5a(0x90f,_0x10c473._0x12d02a)+_0x1f8a5a(_0x10c473._0x201e41,_0x10c473._0x3488b7)+_0x1f8a5a(0x961,0x874)+'arted\x20th'+'e\x20backgr'+_0x1f8a5a(_0x10c473._0x29b8c9,_0x10c473._0x4f77cf)+_0x1f8a5a(_0x10c473._0x53c9a8,_0x10c473._0x386d68)+'anly.';_0x5120fe?_0x24c255[_0x1f8a5a(_0x10c473._0x2b263a,0x67f)](printJson,buildPairingJson(_0x33fa64,_0x984fe9,_0x3a6cfe,_0x5122bc)):(_0x24c255[_0x1f8a5a(_0x10c473._0x4e674f,0x318)](printPairingInfo,_0x33fa64,_0x984fe9),printServiceResult(_0x5122bc,_0x3a6cfe));return;}_0x5120fe?printJson(_0x24c255[_0x34b345(0x3a0,_0x10c473._0x2763a9)](buildPairingJson,_0x33fa64,_0x984fe9,_0x12ea32,_0x1f8a5a(_0x10c473._0x2fa783,0x727)+_0x1f8a5a(_0x10c473._0x210971,0x68b)+_0x34b345(_0x10c473._0x3da47e,_0x10c473._0x33c9fe)+_0x1f8a5a(0x79d,0x685)+_0x1f8a5a(0x71f,0x70f)+'\x20unchang'+_0x34b345(0x355,0x59a))):(_0x24c255[_0x34b345(_0x10c473._0x7ee39b,-_0x10c473._0x3f265d)](printPairingInfo,_0x33fa64,_0x984fe9),console[_0x1f8a5a(_0x10c473._0x15c88d,0x964)](_0x34b345(0x255,0x3af)+_0x34b345(0x342,0x573)+_0x1f8a5a(0xa00,0xc02)+_0x34b345(_0x10c473._0x17fdfe,_0x10c473._0x4743d5)+_0x34b345(0x388,0x601)+_0x34b345(_0x10c473._0x260805,_0x10c473._0x29c9e2)+_0x34b345(0x355,_0x10c473._0x5c3a1a)),printServiceResult(null,_0x12ea32));return;}try{_0x24c255[_0x34b345(_0x10c473._0x2d8280,-0xaf)](stopRuntimeProcesses);const _0x366029=_0x915989===_0x1f8a5a(_0x10c473._0xbaf77d,_0x10c473._0x3a0eef)?installService():restartService(),_0x2f6034=_0x915989===_0x34b345(_0x10c473._0xd9c0a5,0x234)?'Auto-ins'+_0x1f8a5a(_0x10c473._0x171f3f,_0x10c473._0x3c8d87)+_0x1f8a5a(_0x10c473._0x24ac2c,_0x10c473._0x5356df)+_0x34b345(0x510,_0x10c473._0x48b3c2)+'e.':_0x33fa64[_0x1f8a5a(0x906,0x782)]==='register'+'ed'?_0x34b345(0x29d,_0x10c473._0x43ee39)+_0x34b345(0x4ef,0x482)+_0x34b345(0x370,0x52f)+_0x1f8a5a(0x93f,0x902)+_0x1f8a5a(0x66a,_0x10c473._0x827ecb)+'round\x20se'+'rvice\x20to'+_0x34b345(0x619,0x88a)+_0x34b345(0x373,_0x10c473._0x527221)+'iring.':_0x24c255[_0x1f8a5a(_0x10c473._0x5afa4f,0x6eb)];_0x5120fe?printJson(buildPairingJson(_0x33fa64,_0x984fe9,_0x366029,_0x2f6034)):(printPairingInfo(_0x33fa64,_0x984fe9),printServiceResult(_0x2f6034,_0x366029));}catch(_0x57edb6){if(isAutostartUnsupportedError(_0x57edb6)){const _0x4f5056=await _0x24c255[_0x1f8a5a(0x615,_0x10c473._0x4ad306)](startTransientRuntime),_0x521727=buildUnsupportedAutostartMessage(_0x4f5056);_0x5120fe?printJson(buildPairingJson(_0x33fa64,_0x984fe9,_0x4f5056,_0x521727)):(printPairingInfo(_0x33fa64,_0x984fe9),printServiceResult(_0x521727,_0x4f5056));return;}console['error'](_0x34b345(_0x10c473._0x42fa99,-_0x10c473._0x5fd967)+'succeede'+_0x1f8a5a(_0x10c473._0x282950,0x984)+_0x34b345(0x49b,_0x10c473._0x4b94fc)+_0x1f8a5a(0x611,0x6e9)+_0x1f8a5a(0x7af,_0x10c473._0x2bd713)+':\x20'+_0x24c255[_0x1f8a5a(_0x10c473._0x2b263a,0x430)](formatError2,_0x57edb6)),console['error'](_0x1f8a5a(_0x10c473._0x8191b0,0x6e5)+_0x1f8a5a(0x7a5,_0x10c473._0x431cb3)+'n\x20\x22clawk'+_0x34b345(0x470,_0x10c473._0x2564dd)+_0x34b345(0x569,0x67d)+_0x34b345(_0x10c473._0x2298de,_0x10c473._0xa3772e)+_0x34b345(0x2e6,_0x10c473._0x5c71cd)+_0x34b345(_0x10c473._0x503158,0x508)),process['exitCode']=0x1;}return;}function _0x1f8a5a(_0x405cef,_0x3a50cf){return _0x9d3486(_0x3a50cf,_0x405cef-0xb5);}if(_0x3b0a63===_0x1f8a5a(_0x10c473._0x5052ab,0x54c)+_0x1f8a5a(_0x10c473._0x519a63,_0x10c473._0x326ba8)){const _0x666998=readFlag(_0x1db278,'--qr-fil'+'e'),_0x54acc8=resolveGatewayAuth();if(_0x24c255[_0x34b345(_0x10c473._0x3d90fd,_0x10c473._0x4a1641)](_0x34b345(_0x10c473._0x2cb32c,0x282),_0x54acc8))throw new Error(_0x54acc8[_0x1f8a5a(_0x10c473._0x41a18d,_0x10c473._0x3adfa9)]);const _0x10a53a={};_0x10a53a['gatewayT'+'oken']=_0x54acc8[_0x34b345(_0x10c473._0x398d12,_0x10c473._0x16101f)],_0x10a53a['gatewayP'+'assword']=_0x54acc8['password'];const _0x37b310=await refreshAccessCode(_0x10a53a),_0x12e8e1=await writePairingQrPng(_0x37b310,_0x666998);_0x5120fe?printJson(_0x24c255[_0x34b345(_0x10c473._0x2a3a79,_0x10c473._0x3fd78e)](buildPairingJson,_0x37b310,_0x12e8e1,_0x24c255[_0x1f8a5a(_0x10c473._0x31a238,_0x10c473._0x199311)](getServiceStatus),_0x34b345(0x1e2,0x2d1)+_0x1f8a5a(_0x10c473._0x3c6b75,_0x10c473._0x108e87)+_0x1f8a5a(0x6af,0x482))):_0x24c255[_0x1f8a5a(0x5b7,_0x10c473._0x2d12f2)](printPairingInfo,_0x37b310,_0x12e8e1);return;}if(_0x3b0a63==='install'||_0x3b0a63===_0x34b345(0x233,0x225)){const _0x154bdc=requirePairingConfig();stopRuntimeProcesses();const _0x5ae761=installService();console['log'](_0x1f8a5a(0x5d6,0x7b9)+_0x1f8a5a(_0x10c473._0x6a0379,0x543)+_0x1f8a5a(0x76a,_0x10c473._0x57a998)+_0x1f8a5a(0x7e0,_0x10c473._0x2b263a)+'\x20gateway'+'\x20'+_0x154bdc[_0x1f8a5a(0x7d2,_0x10c473._0x40324e)+'d']+'.'),printServiceResult(null,_0x5ae761);return;}if(_0x24c255[_0x1f8a5a(0x8c8,_0x10c473._0xb631a8)](_0x3b0a63,'restart')){const _0xd5ead5=requirePairingConfig();stopRuntimeProcesses();const _0x37b48f=restartService();console[_0x34b345(_0x10c473._0x156745,0x347)]('Restarte'+_0x1f8a5a(_0x10c473._0x2b435e,_0x10c473._0x431629)+'ound\x20ser'+_0x1f8a5a(0x7e0,0x8ef)+_0x34b345(0x5ce,_0x10c473._0xac89f1)+'\x20'+_0xd5ead5[_0x1f8a5a(0x7d2,_0x10c473._0x113382)+'d']+'.'),printServiceResult(null,_0x37b48f);return;}if(_0x3b0a63===_0x1f8a5a(_0x10c473._0x25f310,0x4ac)){const _0x23972c=stopService();stopRuntimeProcesses(),console[_0x1f8a5a(_0x10c473._0x9a34aa,_0x10c473._0x2f1c56)](_0x24c255[_0x34b345(_0x10c473._0x163ca1,_0x10c473._0xadbaf5)]),_0x24c255['osaWI'](printServiceResult,null,_0x23972c);return;}if(_0x3b0a63==='uninstal'+'l'){const _0xd600cf=uninstallService();stopRuntimeProcesses(),console[_0x1f8a5a(0x8fe,_0x10c473._0x3413df)]('Removed\x20'+_0x1f8a5a(0x9bb,0xaf6)+'nd\x20servi'+_0x1f8a5a(0x848,_0x10c473._0x34648d)+'tration.'),printServiceResult(null,_0xd600cf);return;}function _0x34b345(_0x3518e3,_0x124c45){return _0x9d3486(_0x124c45,_0x3518e3- -0x2e2);}if(_0x3b0a63===_0x24c255[_0x1f8a5a(0x820,0x9d8)]){stopRuntimeProcesses(),stopService(),_0x24c255[_0x1f8a5a(_0x10c473._0x3549d3,_0x10c473._0x3fbd8a)](deletePairingConfig),console['log'](_0x34b345(_0x10c473._0x2ef785,_0x10c473._0x119c1e)+_0x34b345(0x3a5,0x19f)+_0x1f8a5a(_0x10c473._0x4a35d3,_0x10c473._0x3293ca)+_0x24c255['mfxOU'](getPairingConfigPath));return;}if(_0x24c255[_0x1f8a5a(_0x10c473._0x203fa3,0x64e)](_0x3b0a63,'status')){printStatus();return;}if(_0x24c255[_0x34b345(0x4ae,0x730)](_0x3b0a63,_0x34b345(0x55f,_0x10c473._0x1dab7d))){const _0x1165d9=Number(readFlag(_0x1db278,_0x1f8a5a(0xa01,_0x10c473._0x2e0b17))??_0x1f8a5a(0x75a,0x93c)),_0x20c172=_0x24c255[_0x1f8a5a(_0x10c473._0x1ddde8,_0x10c473._0x4a118b)](parseLookbackToMs,readFlag(_0x1db278,_0x34b345(0x398,_0x10c473._0x1c22b9))??_0x24c255[_0x1f8a5a(_0x10c473._0x397594,_0x10c473._0x271514)](readFlag,_0x1db278,'-l')),_0x570700=readRecentCliLogs({'lines':_0x1165d9,'lastMs':_0x20c172,'includeErrorLog':hasFlag(_0x1db278,_0x24c255[_0x34b345(_0x10c473._0x5d3fcf,0x35b)])});if(_0x5120fe){const _0x14a625={};_0x14a625['ok']=!![],_0x14a625[_0x1f8a5a(0x8cf,0x9d7)]=_0x570700,printJson(_0x14a625);}else _0x24c255['PoHUZ'](_0x570700['length'],0x0)?console[_0x1f8a5a(0x8fe,0xb5a)](_0x34b345(0x3ec,_0x10c473._0x2ee1c2)+_0x34b345(_0x10c473._0x60b974,_0x10c473._0x3bf8a9)+'logs\x20fou'+_0x34b345(_0x10c473._0xa6a261,_0x10c473._0x437e35)):console[_0x34b345(_0x10c473._0x156745,_0x10c473._0x11eb1c)](_0x570700[_0x1f8a5a(_0x10c473._0x29f810,0xa34)]('\x0a'));return;}if(_0x24c255[_0x1f8a5a(_0x10c473._0x1b6bf0,0x801)](_0x3b0a63,_0x24c255[_0x34b345(0x56a,_0x10c473._0x58162f)])){const _0x461b18=await buildDoctorReport();_0x5120fe?printJson(_0x461b18):printDoctorReport(_0x461b18);return;}if(_0x24c255[_0x34b345(0x4ae,0x404)](_0x3b0a63,'run')){const _0x431be7=requirePairingConfig(),_0x481d67=hasFlag(_0x1db278,_0x34b345(_0x10c473._0x17fae1,_0x10c473._0x2b2d53)+'e'),_0x35f92f=_0x24c255[_0x34b345(0x1b4,_0x10c473._0x3e6ffc)](listRuntimeProcesses)['map'](_0x561b05=>_0x561b05[_0x34b345(0x339,0x4cf)]);_0x24c255[_0x1f8a5a(0x990,0xa60)](_0x35f92f[_0x34b345(_0x10c473._0x1f195a,0x2bb)],0x0)&&(!_0x481d67&&(console['error'](_0x1f8a5a(0x4f5,0x566)+_0x34b345(0x278,_0x10c473._0x8995f0)+_0x34b345(0x317,_0x10c473._0x586aa1)+_0x34b345(_0x10c473._0x1181af,0x35b)+_0x34b345(_0x10c473._0x25ddf1,_0x10c473._0x1d91ae)+_0x1f8a5a(0x86f,_0x10c473._0x74bd84)+_0x34b345(_0x10c473._0x25634,0x523)+(_0x35f92f['length']>0x1?'s':'')+':\x20'+_0x35f92f[_0x34b345(0x5ff,0x58a)](',\x20')+(_0x1f8a5a(0x63c,0x648)+_0x34b345(0x5fd,_0x10c473._0x2de36b)+_0x34b345(0x5c9,0x612)+_0x1f8a5a(_0x10c473._0x173f61,0x88b)+'rerun\x20wi'+_0x34b345(_0x10c473._0xbc290a,0x42b)+_0x1f8a5a(0x8f3,0x8c4)+_0x1f8a5a(0x86c,0x8f9)+'ver.')),process[_0x1f8a5a(_0x10c473._0x377b87,0xb57)](0x1)),stopRuntimeProcesses());const _0xb3bb5b=resolveGatewayUrl(readFlag(_0x1db278,_0x34b345(_0x10c473._0x2e0a84,_0x10c473._0x1c1dff)+_0x34b345(0x4fe,0x3a5))??readFlag(_0x1db278,'-g')),_0x315ce4=_0x2dc3fe=>{const _0xcff2cf={_0xb02737:0x68};function _0x54cbc6(_0xcc46ff,_0xe82e77){return _0x34b345(_0xe82e77-_0xcff2cf._0xb02737,_0xcc46ff);}function _0x5370ec(_0x361c4f,_0x2c2a64){return _0x34b345(_0x2c2a64-0x357,_0x361c4f);}console[_0x5370ec(0x7a7,0x8be)]('['+Date[_0x54cbc6(_0x22ce2f._0x22d3f4,0x3b4)]()+']\x20'+_0x2dc3fe);};!_0x48ca38?(console[_0x1f8a5a(0x8fe,_0x10c473._0x332560)](_0x1f8a5a(_0x10c473._0x1163ca,_0x10c473._0x3b3d6f)+'ID:\x20'+_0x431be7[_0x1f8a5a(_0x10c473._0x50f0ff,0x982)+'d']),console[_0x1f8a5a(_0x10c473._0x15c88d,_0x10c473._0xf54f3d)]('Instance'+_0x1f8a5a(0x7cc,_0x10c473._0x5eeea0)+_0x431be7[_0x1f8a5a(0x9b4,0x820)+'Id']),console['log'](_0x1f8a5a(_0x10c473._0x4970e8,_0x10c473._0x2a6216)+_0x34b345(_0x10c473._0x252309,0x4da)+_0xb3bb5b),console['log'](''),console['log'](_0x1f8a5a(_0x10c473._0x3f735e,0x404)+_0x34b345(0x463,0x69d)+_0x34b345(0x5bd,_0x10c473._0x3e301c)+'\x20Press\x20C'+_0x1f8a5a(_0x10c473._0x178a85,_0x10c473._0x200367)+_0x34b345(_0x10c473._0x3c4d89,-0x49)),console['log']('')):_0x315ce4(_0x1f8a5a(_0x10c473._0x3c6e48,0x504)+_0x1f8a5a(0x94a,_0x10c473._0x311871)+_0x34b345(0x1ad,0x348)+'\x20runtime'+_0x34b345(0x4c7,0x65d)+'eway\x20'+_0x431be7[_0x1f8a5a(0x7d2,0x7f7)+'d']);_0x48ca38&&_0x24c255[_0x34b345(0x62f,_0x10c473._0x5010ff)](writeServiceState);const _0x50bb11=new BridgeRuntime({'config':_0x431be7,'gatewayUrl':_0xb3bb5b,'onLog':_0x2b47a7=>{_0x315ce4('[clawket'+']\x20'+_0x2b47a7);},'onStatus':_0x5ebae8=>{const _0x517003={_0x2a5626:0x377};function _0x40df5e(_0xbd0517,_0x3880c4){return _0x34b345(_0xbd0517-_0x517003._0x2a5626,_0x3880c4);}function _0x278e23(_0x3120ee,_0x41043c){return _0x34b345(_0x3120ee-0x237,_0x41043c);}if(_0x5ebae8[_0x278e23(0x83b,0x9f4)+'r']){_0x315ce4('[status]'+_0x278e23(0x6f5,_0x114a2e._0x5b96da)+(_0x5ebae8[_0x278e23(0x4e3,_0x114a2e._0x3b11a0)+_0x40df5e(0x6f8,_0x114a2e._0x4ccc66)]?'up':_0x40df5e(_0x114a2e._0x29935a,0x8ec))+(_0x278e23(_0x114a2e._0x3a1668,0x6b7)+'=')+(_0x5ebae8['gatewayC'+_0x40df5e(0x4d1,_0x114a2e._0x32391b)]?'up':_0x24c255[_0x40df5e(0x6e3,0x69b)])+(_0x278e23(_0x114a2e._0x505c75,0x8b9)+'=')+_0x5ebae8[_0x40df5e(0x7a6,0x596)+_0x40df5e(_0x114a2e._0xc2d661,0xb60)]+'\x20error='+_0x5ebae8[_0x278e23(0x83b,0x767)+'r']);return;}_0x315ce4(_0x278e23(_0x114a2e._0x1d7ee9,0x745)+_0x278e23(0x6f5,0x893)+(_0x5ebae8['relayCon'+_0x278e23(_0x114a2e._0x2793b1,_0x114a2e._0x176295)]?'up':_0x278e23(0x767,_0x114a2e._0x43103f))+(_0x278e23(0x805,_0x114a2e._0x193aa5)+'=')+(_0x5ebae8[_0x40df5e(_0x114a2e._0x1268c7,0x465)+_0x40df5e(0x4d1,_0x114a2e._0x4609e9)]?'up':_0x40df5e(0x8a7,_0x114a2e._0x4b5c69))+(_0x40df5e(_0x114a2e._0x4e05ab,_0x114a2e._0x3efbaf)+'=')+_0x5ebae8[_0x278e23(0x666,0x3e1)+'unt']);},'onPendingPairRequest':_0x2c22e9=>{const _0x37141b={_0x4c849b:0xa2};function _0xed7d10(_0x3a1b8d,_0x3baa7d){return _0x34b345(_0x3a1b8d-_0x37141b._0x4c849b,_0x3baa7d);}function _0x1c99f2(_0x2eda50,_0x3979a7){return _0x34b345(_0x3979a7-0x4e,_0x2eda50);}_0x315ce4(_0x1c99f2(0x589,_0xde7d90._0x3dc5d8)+_0x1c99f2(0x47f,0x297)+_0x1c99f2(_0xde7d90._0x11ead0,0x699)+'='+_0x2c22e9[_0xed7d10(0x6a7,_0xde7d90._0x584732)+'d']+(_0xed7d10(0x561,_0xde7d90._0x1375de)+'d=')+(_0x2c22e9[_0x1c99f2(_0xde7d90._0x489cbd,_0xde7d90._0x3aa64b)]||_0x24c255[_0x1c99f2(0x499,0x47c)])+_0x1c99f2(0x737,_0xde7d90._0x35815d)+(_0x2c22e9['displayN'+'ame']??_0xed7d10(_0xde7d90._0x4b47ce,_0xde7d90._0x179d1d)+'>'));}});_0x50bb11[_0x1f8a5a(0x5ca,_0x10c473._0x4212a5)]();const _0x2586d1={};_0x2586d1[_0x1f8a5a(0x7d2,_0x10c473._0x5cf891)+'d']=_0x431be7[_0x1f8a5a(0x7d2,0x70b)+'d'],_0x2586d1[_0x1f8a5a(0x9b4,0xbca)+'Id']=_0x431be7[_0x1f8a5a(_0x10c473._0x5176b5,0xbb8)+'Id'],_0x2586d1['serviceM'+_0x34b345(0x587,0x4d0)]=_0x48ca38,registerRuntimeProcess(_0x2586d1);const _0x3385cd=async()=>{process[_0x2de74d(_0x161b27._0x39da05,0x4a4)](_0x2de74d(0x629,_0x161b27._0x354186),_0x3385cd),process[_0x41d32a(_0x161b27._0x4d3124,_0x161b27._0x4af147)](_0x41d32a(_0x161b27._0x2d6191,_0x161b27._0x169687),_0x3385cd),await _0x50bb11[_0x2de74d(_0x161b27._0x3c217c,_0x161b27._0x4ec842)]();function _0x41d32a(_0x5033e6,_0xc6261a){return _0x1f8a5a(_0xc6261a- -0x5e7,_0x5033e6);}unregisterRuntimeProcess(process[_0x2de74d(0x556,_0x161b27._0x5a446c)]);function _0x2de74d(_0x16ba69,_0x427789){return _0x1f8a5a(_0x427789- -0x14e,_0x16ba69);}_0x48ca38&&clearServiceState(process[_0x41d32a(_0x161b27._0x320f51,_0x161b27._0x13ce1d)]),process['exit'](0x0);};process['on'](_0x1f8a5a(_0x10c473._0x522900,_0x10c473._0x47836f),_0x3385cd),process['on'](_0x34b345(0x3f0,0x3ae),_0x3385cd),await new Promise(()=>{});}printHelp();}function printPairingInfo(_0x5d83cc,_0x51421b){const _0x5a0639={_0x23022c:0xb1,_0x469951:0x291,_0x456f25:0x2d6,_0x4bf6aa:0x217,_0x1516cf:0x170,_0x24d385:0x403,_0x4bf866:0x447,_0x8eb53f:0x165,_0x219748:0x22f,_0x502ab4:0x5e2,_0x201fb8:0x4d2,_0x5abc26:0x637,_0x1041b9:0x5d9,_0x350806:0x714,_0x3f0800:0x4c9,_0x140010:0x403,_0x377846:0x4bf,_0x23d9c9:0x3f4,_0x4e852d:0x469,_0x11438a:0x4b5,_0x334dac:0x34c,_0x3a37bc:0x22b},_0xc2fc5={_0x2db2aa:0x446},_0x8fb1cb={_0x2546f4:0x212},_0x52ed3a={};_0x52ed3a[_0x8dcf5d(_0x5a0639._0x23022c,_0x5a0639._0x469951)]=_0x8dcf5d(0x282,0xcb)+'1|3';const _0x39536c=_0x52ed3a,_0x16aa56=_0x39536c['wOIvM'][_0x8dcf5d(_0x5a0639._0x456f25,0x1ac)]('|');function _0x9a0704(_0x435bab,_0x5b16db){return _0x9d3486(_0x435bab,_0x5b16db- -_0x8fb1cb._0x2546f4);}function _0x8dcf5d(_0x14eac1,_0x3ac0e5){return _0x9d3486(_0x14eac1,_0x3ac0e5- -_0xc2fc5._0x2db2aa);}let _0x1bf5d3=0x0;while(!![]){switch(_0x16aa56[_0x1bf5d3++]){case'0':console[_0x8dcf5d(0x67c,0x403)](_0x8dcf5d(0x3e7,0x482)+'is\x20QR\x20co'+'de\x20in\x20th'+_0x8dcf5d(_0x5a0639._0x4bf6aa,0x2e9)+_0x8dcf5d(-_0x5a0639._0x1516cf,0x27));continue;case'1':console[_0x8dcf5d(0x276,_0x5a0639._0x24d385)]('Expires:'+'\x20'+formatLocalTime(_0x5d83cc[_0x9a0704(_0x5a0639._0x4bf866,0x44c)+_0x8dcf5d(_0x5a0639._0x8eb53f,_0x5a0639._0x219748)+_0x8dcf5d(_0x5a0639._0x502ab4,_0x5a0639._0x201fb8)]));continue;case'2':const _0x3a2e3d={};_0x3a2e3d[_0x9a0704(0x950,0x6d3)]=!![],_0x4ea81d['generate'](_0x5d83cc['qrPayloa'+'d'],_0x3a2e3d);continue;case'3':console[_0x9a0704(0x5e8,_0x5a0639._0x5abc26)]('QR\x20image'+':\x20'+_0x51421b);continue;case'4':_0x5d83cc[_0x9a0704(_0x5a0639._0x1041b9,0x63f)]===_0x9a0704(0x979,_0x5a0639._0x350806)+'d'&&console[_0x8dcf5d(_0x5a0639._0x3f0800,_0x5a0639._0x140010)]('Bridge\x20a'+_0x8dcf5d(_0x5a0639._0x377846,_0x5a0639._0x23d9c9)+_0x8dcf5d(_0x5a0639._0x4e852d,0x259)+_0x8dcf5d(0x409,0x4bf)+_0x8dcf5d(_0x5a0639._0x11438a,0x356)+_0x8dcf5d(0x174,_0x5a0639._0x334dac)+'e.');continue;case'5':console[_0x8dcf5d(0x484,_0x5a0639._0x140010)](_0x9a0704(0x226,0x24e)+'ID:\x20'+_0x5d83cc[_0x8dcf5d(0x330,_0x5a0639._0x3a37bc)][_0x9a0704(0x49d,0x50b)+'d']);continue;}break;}}function printLocalPairingInfo(_0x4c2ea8,_0xc40d84,_0x637b47,_0x3ff92d,_0x10dcfd,_0x7ef70f){const _0x49d4c3={_0x31785f:0x37e,_0x1d1b3c:0x725,_0x5efc71:0x8d4,_0x5ce75b:0x62c,_0x17f9b0:0x522,_0x26065a:0x82d,_0x12fe2c:0x35c,_0x308820:0x574,_0x3a4082:0x7cd,_0xf530d0:0x34b,_0x36f7bb:0x43e,_0x17be32:0x94c,_0x7f62e5:0x96d,_0x3d94ce:0x856,_0x31aa33:0x5c8,_0x1872f5:0x691,_0x2aed13:0x855,_0x263098:0x37e,_0x2a8395:0x2f3,_0x5de05a:0x4a0,_0x3461f4:0xaa8,_0x38c447:0x855,_0x52ef72:0xed,_0x2fd467:0x2c7,_0x5117d9:0x93e,_0x30e7a2:0x897},_0x4de445={};_0x4de445[_0x9f0ec7(0x139,_0x49d4c3._0x31785f)]=_0x5b0a43(_0x49d4c3._0x1d1b3c,_0x49d4c3._0x5efc71)+_0x9f0ec7(0x60f,0x3a7)+_0x5b0a43(0x7c4,0x6a7)+_0x9f0ec7(_0x49d4c3._0x5ce75b,_0x49d4c3._0x17f9b0)+_0x5b0a43(0x931,_0x49d4c3._0x26065a)+'ket\x20app:'+'\x0a',_0x4de445[_0x9f0ec7(0x100,_0x49d4c3._0x12fe2c)]='\x0aScan\x20th'+_0x5b0a43(0x6b7,0x93f)+'\x20gateway'+_0x9f0ec7(0x580,0x2f7)+'he\x20Clawk'+_0x9f0ec7(0x660,_0x49d4c3._0x308820);const _0x334809=_0x4de445;function _0x5b0a43(_0x78802c,_0x2bc8dd){return _0x18e10d(_0x78802c,_0x2bc8dd-0x28c);}console[_0x9f0ec7(_0x49d4c3._0x3a4082,0x5bd)](_0x5b0a43(_0x49d4c3._0xf530d0,0x46c)+_0x9f0ec7(0x1c1,_0x49d4c3._0x36f7bb)+_0x4c2ea8),console[_0x5b0a43(_0x49d4c3._0x17be32,0x855)](_0x5b0a43(_0x49d4c3._0x7f62e5,_0x49d4c3._0x3d94ce)+_0x9f0ec7(0x33d,_0x49d4c3._0x31aa33)+_0xc40d84),console[_0x5b0a43(_0x49d4c3._0x1872f5,_0x49d4c3._0x2aed13)](_0x7ef70f?_0x334809[_0x9f0ec7(0x203,_0x49d4c3._0x263098)]:_0x334809[_0x9f0ec7(0x2e8,0x35c)]);const _0x32aca6={};_0x32aca6['small']=!![],_0x4ea81d[_0x9f0ec7(_0x49d4c3._0x2a8395,_0x49d4c3._0x5de05a)](_0x3ff92d,_0x32aca6),console[_0x5b0a43(_0x49d4c3._0x3461f4,_0x49d4c3._0x38c447)]('Expires:'+'\x20'+new Date(_0x637b47)['toLocale'+_0x9f0ec7(_0x49d4c3._0x52ef72,_0x49d4c3._0x2fd467)]());function _0x9f0ec7(_0x2e2970,_0x316490){return _0x18e10d(_0x2e2970,_0x316490- -0xc);}console[_0x5b0a43(_0x49d4c3._0x5117d9,_0x49d4c3._0x2aed13)](_0x5b0a43(0xa31,_0x49d4c3._0x30e7a2)+':\x20'+_0x10dcfd);}function printStatus(){const _0x17edf2={_0x38a598:0x2ac,_0x30e656:0x2de,_0x19a9dc:0x447,_0x334cb9:0x3bc,_0x367ab6:0x3a6,_0x49e46e:0x130,_0x24371f:0x219,_0x1d159a:0x233,_0x20171e:0x526,_0x147a35:0x87,_0x283937:0x6cb,_0x36c9c0:0x5b7,_0x3fee13:0x21b,_0x33fbc8:0x1b3,_0x4d8f46:0x5ac,_0x3504df:0x471,_0x564d1a:0x7e0,_0x25fde4:0x449,_0x110ba1:0x441,_0x2bf180:0x1bc,_0x431956:0xa5,_0x1aa261:0x221,_0x3c9f78:0x29a,_0x50a354:0x1cc,_0x5a4874:0x505,_0x20cf3c:0x63f,_0x1780af:0x251,_0x135af7:0x414,_0x590eab:0x3e0,_0x3bd599:0x629,_0xc9a18e:0x42b,_0x34cf89:0x696},_0x2a0c6a={_0x7059cd:0x3d9},_0x3c5ad4={'rjRYE':function(_0x557925){return _0x557925();}},_0x41cd3d=readPairingConfig(),_0x222bfe=getServiceStatus(),{logPath:_0x1e4886,errorLogPath:_0x4f016a}=getServicePaths(),_0x225351=_0x3c5ad4[_0x167012(_0x17edf2._0x38a598,_0x17edf2._0x30e656)](readCliVersion);function _0x167012(_0x295bb7,_0x8724ea){return _0x9d3486(_0x295bb7,_0x8724ea- -0x292);}function _0x1c0763(_0x28effc,_0x1df267){return _0x9d3486(_0x1df267,_0x28effc- -_0x2a0c6a._0x7059cd);}console[_0x1c0763(0x470,_0x17edf2._0x19a9dc)]('Version:'+'\x20'+_0x225351);if(!_0x41cd3d)console['log']('Config:\x20'+_0x167012(_0x17edf2._0x334cb9,0x487)+_0x1c0763(0x33b,_0x17edf2._0x367ab6)+_0x3c5ad4['rjRYE'](getPairingConfigPath)+')');else{const _0x27eb91=(_0x1c0763(_0x17edf2._0x49e46e,0x2a6)+'3')[_0x1c0763(_0x17edf2._0x24371f,0xf4)]('|');let _0x3aa7c0=0x0;while(!![]){switch(_0x27eb91[_0x3aa7c0++]){case'0':console['log'](_0x167012(0x485,0x2ae)+'RL:\x20'+_0x41cd3d[_0x1c0763(0x222,0x184)+'l']);continue;case'1':console[_0x1c0763(0x470,0x2b8)](_0x167012(_0x17edf2._0x1d159a,0x1ee)+':\x20'+_0x41cd3d[_0x1c0763(_0x17edf2._0x20171e,0x54e)+'Id']);continue;case'2':console[_0x1c0763(0x470,0x569)](_0x1c0763(_0x17edf2._0x147a35,-0x208)+_0x167012(0x48d,0x42e)+_0x41cd3d[_0x167012(0x53e,0x48b)+'d']);continue;case'3':console[_0x167012(_0x17edf2._0x283937,_0x17edf2._0x36c9c0)](_0x167012(_0x17edf2._0x3fee13,_0x17edf2._0x33fbc8)+(_0x41cd3d[_0x167012(-0xc1,0x1a9)+_0x1c0763(0x25d,0x31f)]??'-'));continue;case'4':console[_0x167012(0x3fe,0x5b7)]('Config:\x20'+_0x167012(_0x17edf2._0x4d8f46,0x47b));continue;}break;}}console['log'](_0x167012(_0x17edf2._0x3504df,0x43f)+'\x20'+resolveGatewayUrl()),console[_0x167012(_0x17edf2._0x564d1a,0x5b7)](_0x1c0763(0x3d6,0x663)+'\x20'+(_0x222bfe[_0x167012(0x23a,_0x17edf2._0x25fde4)+'d']?_0x167012(_0x17edf2._0x110ba1,_0x17edf2._0x25fde4)+'d':_0x1c0763(_0x17edf2._0x2bf180,-_0x17edf2._0x431956)+_0x167012(0x462,_0x17edf2._0x1aa261))+'\x20('+_0x222bfe[_0x1c0763(_0x17edf2._0x3c9f78,_0x17edf2._0x50a354)]+')'),console[_0x167012(_0x17edf2._0x5a4874,_0x17edf2._0x36c9c0)](_0x167012(0x850,_0x17edf2._0x20cf3c)+'\x20'+(_0x222bfe[_0x1c0763(0x210,0x491)]?'yes':'no')),console[_0x167012(0x405,_0x17edf2._0x36c9c0)](_0x1c0763(_0x17edf2._0x1780af,-0x2d)+(_0x222bfe[_0x1c0763(0x3fb,0x4da)+_0x167012(_0x17edf2._0x135af7,_0x17edf2._0x590eab)]||'-')),console[_0x167012(_0x17edf2._0x3bd599,0x5b7)](_0x1c0763(_0x17edf2._0xc9a18e,0x2fa)+_0x1e4886),console[_0x167012(_0x17edf2._0x34cf89,0x5b7)]('Error\x20Lo'+'g:\x20'+_0x4f016a),!_0x41cd3d&&(process[_0x167012(0x16c,0x343)]=0x1);}function printServiceResult(_0x1b66ef,_0x170f10){const _0x2278f5={_0x1db612:0x5fd,_0x5e8021:0x83a,_0x2e53f6:0x766,_0xba79a5:0x560,_0x19b3af:0x3cf,_0x180a88:0x738,_0x11dbdd:0xc1,_0x4abe2b:0x18e,_0x3a3458:0x5b0,_0x632640:0x63d,_0x33c295:0x6aa,_0x32d5bf:0x3e2,_0x1d2d01:0x1aa},_0xfbbbbb={_0x15b682:0x30b};_0x1b66ef&&console['log'](_0x1b66ef);console[_0x41a3d6(0x457,_0x2278f5._0x1db612)](_0xb24aa7(0x81f,_0x2278f5._0x5e8021)+'\x20'+(_0x170f10[_0x41a3d6(0x2e9,0x1b9)+'d']?_0x170f10['running']?_0xb24aa7(0x805,_0x2278f5._0x2e53f6)+'d,\x20runni'+'ng':'installe'+_0x41a3d6(_0x2278f5._0xba79a5,_0x2278f5._0x19b3af)+'ed':_0xb24aa7(_0x2278f5._0x180a88,0x620)+_0x41a3d6(_0x2278f5._0x11dbdd,_0x2278f5._0x4abe2b)));function _0xb24aa7(_0x43f629,_0x33eeb6){return _0x18e10d(_0x43f629,_0x33eeb6-_0xfbbbbb._0x15b682);}function _0x41a3d6(_0x5c7d41,_0x480af2){return _0x18e10d(_0x480af2,_0x5c7d41- -0x172);}console[_0x41a3d6(0x457,0x406)](_0xb24aa7(0x452,_0x2278f5._0x3a3458)+_0xb24aa7(_0x2278f5._0x632640,_0x2278f5._0x33c295)+(_0x170f10[_0x41a3d6(_0x2278f5._0x32d5bf,_0x2278f5._0x1d2d01)+_0xb24aa7(0x5be,0x6fd)]||'-'));}function printDoctorReport(_0x39b4d1){const _0x2b8ab6={_0x2f5381:0x858,_0x1673f9:0x79f,_0x25a0a9:0x59a,_0x1e0f9a:0x46f,_0x543cd6:0x774,_0x4f9beb:0x6cf,_0x540e86:0x64b,_0x16e00:0x72c,_0x6710ad:0x54f,_0x4e6cb2:0x685,_0x39b3d0:0x6c2,_0x479098:0x654,_0xd230e7:0x7b6,_0x5932e3:0x9cb,_0x25d285:0x8fd,_0x3c96df:0xa19,_0x37d9f3:0x98c,_0x3d9ec2:0x96a,_0x173bfc:0x684,_0x49b98e:0x89f,_0x45d70c:0x942,_0x42c84f:0x719,_0x5310b2:0xb83,_0x139ee:0x6f9,_0x2499eb:0x809,_0x329ec0:0x5f1,_0x2bbe66:0x69b,_0x35a235:0x447,_0x462984:0x40a,_0xb8c46e:0x853,_0x450266:0x5f4,_0x348e1a:0x6f9,_0x4305c4:0x5ba,_0x515842:0x496,_0x8cfaa9:0x84d,_0x21945e:0x68d,_0x4c13e5:0x7ab,_0x27659d:0x4e2,_0x52c6ff:0x908,_0x3afa03:0xa37,_0x1cb586:0xa0e,_0x3e313b:0x884,_0x4ed9bf:0x861,_0x46c917:0x5a9,_0x276004:0x635,_0x21b80c:0xb16,_0x341b4c:0x6ee,_0x2aad10:0x570,_0x167c5e:0x66e,_0x1d7fe3:0x80e,_0x158f99:0x858,_0x446918:0x546,_0x138375:0x7f9,_0x130864:0x331},_0x5120f3={_0x460933:0x34c};console[_0x57b3fc(0x6b9,_0x2b8ab6._0x2f5381)](_0x57b3fc(_0x2b8ab6._0x1673f9,0x8a6)+(_0x39b4d1[_0x57b3fc(0x8db,0x71c)]?_0x57b3fc(0x51e,_0x2b8ab6._0x25a0a9):'no')),console['log'](_0x57b3fc(0x464,_0x2b8ab6._0x1e0f9a)+_0x57b3fc(_0x2b8ab6._0x543cd6,_0x2b8ab6._0x4f9beb)+(_0x39b4d1[_0x57b3fc(_0x2b8ab6._0x540e86,_0x2b8ab6._0x16e00)+'d']??'-'));function _0x14fb3a(_0x34ebe8,_0x299839){return _0x18e10d(_0x299839,_0x34ebe8-_0x5120f3._0x460933);}function _0x57b3fc(_0x1d7550,_0x14acc5){return _0x18e10d(_0x1d7550,_0x14acc5-0x28f);}console[_0x57b3fc(0x61c,_0x2b8ab6._0x2f5381)](_0x57b3fc(0x519,_0x2b8ab6._0x6710ad)+_0x57b3fc(_0x2b8ab6._0x4e6cb2,_0x2b8ab6._0x39b3d0)+(_0x39b4d1['serverUr'+'l']??'-')),console[_0x57b3fc(0x82d,0x858)](_0x57b3fc(_0x2b8ab6._0x479098,0x5ef)+_0x57b3fc(0x873,0x838)+(_0x39b4d1[_0x57b3fc(0x618,_0x2b8ab6._0xd230e7)]??'-')),console['log']('Instance'+'\x20ID:\x20'+(_0x39b4d1[_0x14fb3a(_0x2b8ab6._0x5932e3,_0x2b8ab6._0x25d285)+'Id']??'-')),console['log']('Service:'+'\x20'+(_0x39b4d1[_0x14fb3a(0x5cd,0x6ae)+_0x14fb3a(_0x2b8ab6._0x3c96df,_0x2b8ab6._0x37d9f3)]?'installe'+'d':_0x14fb3a(0x661,0x42e)+_0x14fb3a(0x57f,0x718))+'\x20('+_0x39b4d1[_0x57b3fc(_0x2b8ab6._0x3d9ec2,0x89d)+_0x14fb3a(_0x2b8ab6._0x173bfc,_0x2b8ab6._0x49b98e)]+')'),console['log']('Service\x20'+_0x14fb3a(_0x2b8ab6._0x45d70c,_0x2b8ab6._0x42c84f)+'\x20'+(_0x39b4d1[_0x14fb3a(0x9bd,_0x2b8ab6._0x5310b2)+_0x14fb3a(_0x2b8ab6._0x139ee,0x8b9)]?_0x57b3fc(_0x2b8ab6._0x2499eb,0x59a):'no')),console[_0x57b3fc(0x93b,0x858)](_0x14fb3a(_0x2b8ab6._0x329ec0,_0x2b8ab6._0x2bbe66)+_0x57b3fc(_0x2b8ab6._0x35a235,0x62e)+(_0x39b4d1['serviceP'+_0x57b3fc(_0x2b8ab6._0x462984,0x681)]||'-')),console[_0x57b3fc(_0x2b8ab6._0xb8c46e,0x858)]('Log\x20path'+':\x20'+_0x39b4d1['logPath']),console['log'](_0x14fb3a(_0x2b8ab6._0x450266,_0x2b8ab6._0x348e1a)+_0x14fb3a(0x5ad,0x32d)+_0x39b4d1[_0x14fb3a(_0x2b8ab6._0x4305c4,_0x2b8ab6._0x515842)+'Path']),console[_0x57b3fc(0x970,0x858)]('OpenClaw'+_0x14fb3a(_0x2b8ab6._0x8cfaa9,_0x2b8ab6._0x21945e)+_0x39b4d1[_0x57b3fc(_0x2b8ab6._0x4c13e5,0x88d)+'ConfigDi'+'r']),console[_0x14fb3a(0x915,0xb9a)](_0x57b3fc(0x409,0x558)+_0x57b3fc(0x6b3,_0x2b8ab6._0x27659d)+_0x39b4d1['openclaw'+_0x14fb3a(_0x2b8ab6._0x52c6ff,0x678)]),console['log']('OpenClaw'+'\x20config:'+'\x20'+(_0x39b4d1[_0x57b3fc(_0x2b8ab6._0x3afa03,0x88d)+'ConfigFo'+_0x14fb3a(0x5eb,0x7fb)]?_0x14fb3a(_0x2b8ab6._0x1cb586,0xa08):_0x57b3fc(_0x2b8ab6._0x3e313b,_0x2b8ab6._0x4ed9bf))),console[_0x57b3fc(0x9fe,0x858)](_0x14fb3a(0x615,_0x2b8ab6._0x46c917)+_0x57b3fc(0x5aa,0x535)+(_0x39b4d1['openclaw'+_0x14fb3a(_0x2b8ab6._0x276004,0x5ac)+'nd']?_0x57b3fc(0x8ba,0x951):_0x14fb3a(0x91e,_0x2b8ab6._0x21b80c))),console['log'](_0x14fb3a(0x52c,_0x2b8ab6._0x341b4c)+_0x14fb3a(0x796,0x61f)+_0x39b4d1[_0x57b3fc(_0x2b8ab6._0x2aad10,0x698)+_0x57b3fc(_0x2b8ab6._0x167c5e,_0x2b8ab6._0x1d7fe3)]),console[_0x57b3fc(0x60a,_0x2b8ab6._0x158f99)](_0x14fb3a(0x52c,_0x2b8ab6._0x446918)+_0x14fb3a(0x6a5,0x78a)+_0x57b3fc(0x799,0x863)+(_0x39b4d1[_0x57b3fc(_0x2b8ab6._0x138375,0x698)+'ewayReac'+_0x57b3fc(0xa3d,0x938)]?_0x57b3fc(_0x2b8ab6._0x130864,_0x2b8ab6._0x25a0a9):'no'));}function requirePairingConfig(){const _0x3ca2df={_0x120843:0xef,_0x35870e:0x3dc,_0x720ac9:0x103,_0x34924d:0x1b6,_0xf0632f:0x780,_0x1ca4c1:0x4f6,_0x31e2fc:0x6c4,_0x58904b:0x8ed},_0x9598f6={_0x4993ef:0x474};function _0x3405c5(_0x4145fc,_0x54adec){return _0x9d3486(_0x54adec,_0x4145fc- -0x169);}function _0x48ac91(_0xddc71f,_0x1765ac){return _0x9d3486(_0x1765ac,_0xddc71f- -_0x9598f6._0x4993ef);}const _0xb810f9=readPairingConfig();return!_0xb810f9&&(console[_0x48ac91(_0x3ca2df._0x120843,-0x15e)]('Not\x20pair'+_0x48ac91(_0x3ca2df._0x35870e,0x626)+'\x22clawket'+'\x20pair\x22\x20f'+_0x48ac91(0xcf,-0x1b4)+_0x48ac91(_0x3ca2df._0x720ac9,_0x3ca2df._0x34924d)+_0x3405c5(_0x3ca2df._0xf0632f,_0x3ca2df._0x1ca4c1)+getPairingConfigPath()),process[_0x3405c5(_0x3ca2df._0x31e2fc,_0x3ca2df._0x58904b)](0x1)),_0xb810f9;}function readFlag(_0x56bcda,_0x438430){const _0x28f011={_0x297ab7:0x797},_0xce5771=_0x56bcda[_0x237d6a(0x553,_0x28f011._0x297ab7)](_0x438430);if(_0xce5771<0x0)return null;function _0x237d6a(_0x34772d,_0x16bb91){return _0x18e10d(_0x16bb91,_0x34772d-0x272);}const _0x2525f2=_0x56bcda[_0xce5771+0x1];return _0x2525f2?.['trim']()?_0x2525f2['trim']():null;}function hasFlag(_0x1549c1,_0x570fe5){const _0xca54e={_0x3d3467:0x158};function _0x57bd7e(_0x693a39,_0x475226){return _0x18e10d(_0x475226,_0x693a39- -0x184);}return _0x1549c1[_0x57bd7e(0x4b,_0xca54e._0x3d3467)](_0x570fe5);}function readPairSubcommand(_0x11c04f){const _0xc7bd8c={_0x332871:0x81c};function _0x557fbf(_0x53f56f,_0x383408){return _0x9d3486(_0x383408,_0x53f56f- -0x656);}function _0x4472e8(_0x4a4066,_0x113a86){return _0x9d3486(_0x113a86,_0x4a4066- -0x2e1);}for(const _0x39ddf0 of _0x11c04f){if(!_0x39ddf0[_0x4472e8(0x5b2,_0xc7bd8c._0x332871)+'th']('-'))return _0x39ddf0[_0x4472e8(0x36a,0x38b)]()||null;}return null;}function printHelp(){const _0x26434b={_0x1adf62:0x8be,_0x26faf7:0x98e,_0x4409c2:0x1b6,_0x2ddfdf:0x2af,_0x3123b7:0x51c,_0x56e5cc:0x3a4,_0x5b1ff:0x1fe,_0x42536d:0x53c,_0x506ef7:0x858,_0x178265:0x41a,_0x3eab8e:0x16c,_0x315af3:0x8aa,_0x2a5224:0xa89,_0x431a1e:0x40b,_0x26af6a:0x646,_0x4423cf:0x750,_0x1f9412:0x4c1,_0x2fc783:0x4b7,_0x2123db:0x51f,_0x3807ba:0x4db,_0x4f13ca:0x12e,_0x38632a:0x26d,_0x51e5dc:0x3d0,_0x3f5c32:0x266,_0x58d307:0x387,_0x3074e9:0x63d,_0x2042c1:0x5e6,_0x21fdb7:0x684,_0x1ecf3d:0x3f8,_0x39e5b6:0x640,_0x26294f:0x858,_0xf2274f:0xf7,_0x12d262:0x45e,_0x2cf9d4:0x468,_0x243ea2:0x40f,_0x4c2ebe:0x4bd,_0x5c555d:0x6a8,_0x197fdd:0x2a,_0x4e37fe:0x445,_0xbb0b32:0x239,_0xa495b7:0x1f0,_0x29d157:0x15c,_0x465572:0x137,_0x508b08:0x3fa,_0x16a899:0x1c5,_0x199264:0x68f,_0x54afb1:0x709,_0x1fca64:0x292,_0xef8769:0x60c,_0x303d12:0x889,_0x294157:0x781,_0x477377:0x5e1},_0x32818a={_0xea9db:0x87},_0x33bd82={};_0x33bd82[_0x3a9a8e(_0x26434b._0x1adf62,_0x26434b._0x26faf7)]='clawket\x20'+_0x3a9a8e(0x63b,0x505)+_0x5a5a16(0x35c,0x393)+_0x5a5a16(_0x26434b._0x4409c2,_0x26434b._0x2ddfdf)+_0x5a5a16(0x431,_0x26434b._0x3123b7)+_0x5a5a16(_0x26434b._0x56e5cc,_0x26434b._0x5b1ff),_0x33bd82[_0x5a5a16(0x3df,0x51a)]='clawket\x20'+'stop',_0x33bd82['uqDFn']='clawket\x20'+_0x5a5a16(_0x26434b._0x42536d,0x39a)+'l',_0x33bd82['PFSnZ']=_0x3a9a8e(_0x26434b._0x506ef7,0x8de)+_0x5a5a16(0x5ad,_0x26434b._0x178265);function _0x3a9a8e(_0x8da89f,_0x2b01a0){return _0x9d3486(_0x2b01a0,_0x8da89f- -_0x32818a._0xea9db);}const _0x165c7b=_0x33bd82;function _0x5a5a16(_0x54a056,_0x1e5f34){return _0x9d3486(_0x54a056,_0x1e5f34- -0x41e);}console['log'](['clawket\x20'+'pair\x20[--'+_0x5a5a16(0x36f,_0x26434b._0x3eab8e)+_0x3a9a8e(_0x26434b._0x315af3,_0x26434b._0x2a5224)+'-name\x20<d'+_0x5a5a16(_0x26434b._0x431a1e,0x429)+'me>]\x20[--'+_0x3a9a8e(_0x26434b._0x26af6a,_0x26434b._0x4423cf)+'<path>]\x20'+'[--json]'+'\x20[--forc'+'e]',_0x5a5a16(0x31a,_0x26434b._0x1f9412)+_0x5a5a16(0x320,_0x26434b._0x2fc783)+_0x3a9a8e(0x6b2,_0x26434b._0x2123db)+'l\x20<ws://'+'host:por'+_0x5a5a16(_0x26434b._0x3807ba,0x435)+_0x5a5a16(_0x26434b._0x4f13ca,_0x26434b._0x38632a)+_0x3a9a8e(_0x26434b._0x51e5dc,_0x26434b._0x3f5c32)+_0x5a5a16(_0x26434b._0x58d307,0x204),_0x3a9a8e(0x858,_0x26434b._0x3074e9)+_0x5a5a16(_0x26434b._0x2042c1,0x426)+_0x3a9a8e(_0x26434b._0x21fdb7,0x5d4)+_0x5a5a16(0x2db,_0x26434b._0x1ecf3d)+'//host:p'+_0x5a5a16(0x2bf,0x117)+'-qr-file'+'\x20<path>]'+_0x3a9a8e(0x81b,0x6c9)+']',_0x165c7b[_0x5a5a16(_0x26434b._0x39e5b6,0x527)],_0x3a9a8e(_0x26434b._0x26294f,0x709)+_0x5a5a16(0x2a3,_0x26434b._0xf2274f),_0x5a5a16(_0x26434b._0x12d262,0x4c1)+'install','clawket\x20'+_0x3a9a8e(_0x26434b._0x2cf9d4,_0x26434b._0x243ea2),_0x165c7b[_0x5a5a16(0x46c,0x51a)],_0x165c7b[_0x5a5a16(_0x26434b._0x4c2ebe,0x511)],_0x165c7b[_0x5a5a16(-0x12d,0x75)],_0x3a9a8e(0x858,_0x26434b._0x5c555d)+'status',_0x5a5a16(0x6fa,_0x26434b._0x1f9412)+_0x5a5a16(-0x113,_0x26434b._0x197fdd)+_0x3a9a8e(0x4a7,0x528)+_0x5a5a16(_0x26434b._0x4e37fe,_0x26434b._0xbb0b32)+_0x5a5a16(_0x26434b._0xa495b7,_0x26434b._0x29d157)+_0x5a5a16(_0x26434b._0x465572,_0x26434b._0x56e5cc)+_0x3a9a8e(_0x26434b._0x508b08,_0x26434b._0x16a899)+_0x5a5a16(0x1bc,0x128),_0x5a5a16(0x5d6,_0x26434b._0x1f9412)+_0x3a9a8e(_0x26434b._0x199264,_0x26434b._0x54afb1)+'--json]','clawket\x20'+_0x5a5a16(_0x26434b._0x1fca64,0x1a1)+_0x3a9a8e(_0x26434b._0xef8769,0x874)+_0x3a9a8e(0x7c8,_0x26434b._0x303d12)+'/127.0.0'+'.1:18789'+_0x3a9a8e(_0x26434b._0x294157,0x74e)+_0x3a9a8e(0x826,_0x26434b._0x477377)][_0x5a5a16(0x69b,0x4c3)]('\x0a'));}function buildUnsupportedAutostartMessage(_0x5baa77){const _0xaac934={_0x4e0bf4:0x5a5,_0x20af37:0x2a6,_0x5095c2:0x1ea,_0x20e2b0:0x24e,_0x36e3bf:0x132,_0x4797df:0x113,_0x18a065:0x16a,_0x2090b7:0x126,_0x13a138:0x66b,_0x340926:0x87a,_0x531cfa:0x12d,_0x2658b0:0x1ce,_0x2b0a03:0x11b,_0xe0606:0xda,_0x1de81e:0x72f,_0x54fe57:0x57f,_0x1b6711:0x9c,_0x17ac55:0x7e2,_0x436fac:0x674,_0x3cf7eb:0x161,_0x3ee04f:0xa,_0x1db11e:0x120,_0x43d54f:0x686,_0x3800a6:0x7bc,_0x5541c6:0x5a4,_0xfc59c9:0x447,_0x8bc96:0x499,_0x2c241c:0x47e,_0x3ff8aa:0x325,_0xf10b52:0x5ce,_0x3eb342:0x309,_0x57d27c:0x49d,_0x3c7b47:0x75f},_0x115011={_0x89b6bb:0x354},_0x10ab84={_0x38868c:0x1e7};function _0x19eee1(_0x2e3287,_0x44e517){return _0x18e10d(_0x2e3287,_0x44e517-_0x10ab84._0x38868c);}function _0x43a51a(_0xb19517,_0xd270c1){return _0x18e10d(_0xb19517,_0xd270c1- -_0x115011._0x89b6bb);}if(_0x5baa77[_0x19eee1(0x619,0x550)])return _0x43a51a(-0x182,-0x67)+_0x43a51a(-0x14e,-0x84)+_0x43a51a(0xda,0x82)+_0x19eee1(0x3fb,_0xaac934._0x4e0bf4)+'this\x20hos'+'t\x20does\x20n'+_0x43a51a(_0xaac934._0x20af37,_0xaac934._0x5095c2)+_0x19eee1(0x33b,0x489)+_0x43a51a(0x26,_0xaac934._0x20e2b0)+_0x19eee1(0x46e,0x52a)+_0x43a51a(_0xaac934._0x36e3bf,0x2e6)+_0x43a51a(0x46,0x229)+_0x43a51a(-0xf2,_0xaac934._0x4797df)+'ainer\x20or'+'\x20process'+_0x43a51a(-_0xaac934._0x18a065,0x8c)+_0x43a51a(-0x12a,-_0xaac934._0x2090b7)+_0x19eee1(_0xaac934._0x13a138,_0xaac934._0x340926)+_0x43a51a(_0xaac934._0x531cfa,_0xaac934._0x2658b0)+_0x43a51a(-_0xaac934._0x2b0a03,-_0xaac934._0xe0606);return _0x19eee1(_0xaac934._0x1de81e,_0xaac934._0x54fe57)+_0x43a51a(_0xaac934._0x1b6711,-0xfe)+_0x19eee1(0x7cc,0x725)+_0x19eee1(0x2c5,0x489)+_0x19eee1(_0xaac934._0x17ac55,0x789)+'rtup\x20reg'+'istratio'+_0x19eee1(_0xaac934._0x436fac,0x609)+_0x43a51a(-_0xaac934._0x3cf7eb,0xd4)+_0x43a51a(-_0xaac934._0x3ee04f,_0xaac934._0x1db11e)+_0x19eee1(0x55e,_0xaac934._0x43d54f)+_0x19eee1(_0xaac934._0x3800a6,_0xaac934._0x5541c6)+_0x19eee1(_0xaac934._0xfc59c9,_0xaac934._0x8bc96)+_0x19eee1(0xa74,0x803)+_0x43a51a(_0xaac934._0x2c241c,_0xaac934._0x3ff8aa)+_0x43a51a(0x29a,0x3f)+_0x43a51a(0xda,0x24)+'\x20or\x20proc'+_0x19eee1(0x4dd,_0xaac934._0xf10b52)+_0x19eee1(_0xaac934._0x3eb342,_0xaac934._0x57d27c)+_0x43a51a(-0x23c,0x46)+_0x19eee1(_0xaac934._0x3c7b47,0x71c);}function formatLocalTime(_0x220bc2){const _0x3bc886={_0x58296d:0xe5,_0x51fed7:0x1ff,_0x163f54:0x434,_0x51d86e:0x4e4,_0x1edbec:0x453,_0x3a0bd4:0x25a},_0xe6c1d={_0x4eb17b:0x1d2},_0x482cfd={_0x12ee38:0x180},_0x1d52c8=new Date(_0x220bc2);function _0x3f1366(_0x15c986,_0x4bc9dd){return _0x18e10d(_0x4bc9dd,_0x15c986-_0x482cfd._0x12ee38);}if(Number[_0x459acd(_0x3bc886._0x58296d,_0x3bc886._0x51fed7)](_0x1d52c8[_0x459acd(0x379,_0x3bc886._0x163f54)]()))return _0x220bc2;function _0x459acd(_0x231c63,_0x5b1199){return _0x18e10d(_0x231c63,_0x5b1199- -_0xe6c1d._0x4eb17b);}return _0x1d52c8[_0x3f1366(0x468,_0x3bc886._0x51d86e)+_0x3f1366(_0x3bc886._0x1edbec,_0x3bc886._0x3a0bd4)]();}function formatError2(_0x1fdb90){const _0x2023af={_0x4177cf:0xa8};function _0x31037a(_0x3c7ef2,_0x342d0a){return _0x9d3486(_0x342d0a,_0x3c7ef2- -0x5b3);}return _0x1fdb90 instanceof Error?_0x1fdb90[_0x31037a(0x13b,_0x2023af._0x4177cf)]:String(_0x1fdb90);}function printJson(_0x324762){const _0x58b649={_0x4e94f6:0x180,_0x42cd2b:0x20b,_0x2dd91b:0x850},_0x5a0ff5={_0x19c98e:0x2ab};function _0x54cef1(_0x4991b9,_0x2ed25f){return _0x18e10d(_0x2ed25f,_0x4991b9-_0x5a0ff5._0x19c98e);}function _0x13b31c(_0x1a116b,_0x4a6299){return _0x18e10d(_0x1a116b,_0x4a6299- -0x3be);}console[_0x13b31c(_0x58b649._0x4e94f6,_0x58b649._0x42cd2b)](JSON[_0x54cef1(_0x58b649._0x2dd91b,0x5d4)+'y'](_0x324762,null,0x2));}main()[_0x9d3486(0x5f1,0x7c0)](_0x339edc=>{const _0x180589={_0x70b814:0x3a0,_0x41b589:0x58f,_0x1ae9fc:0x321},_0x594b81={_0x1bc89b:0x29e};function _0x593abe(_0x32cee8,_0x39b419){return _0x9d3486(_0x39b419,_0x32cee8- -_0x594b81._0x1bc89b);}const _0x2735c3={'hCOgK':function(_0x2c4f64,_0x2a4c39){return _0x2c4f64(_0x2a4c39);}};function _0xaff959(_0x31751e,_0x18cfbe){return _0x9d3486(_0x31751e,_0x18cfbe- -0x1b1);}console[_0x593abe(0x2c5,_0x180589._0x70b814)](_0x2735c3['hCOgK'](formatError2,_0x339edc)),process[_0x593abe(_0x180589._0x41b589,_0x180589._0x1ae9fc)](0x1);});
|