@p697/clawket 0.3.8 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- (function(_0x17eee7,_0x2ea827){const _0x553e2c={_0x40425e:0x481,_0x402280:0x222,_0x597061:0x346,_0x16c5a0:0x237,_0x52ccf2:0x4e7,_0xf7f9be:0x25c,_0x386b84:0x409,_0x340229:0x49d,_0x553dcf:0x2af,_0x6fbd99:0x155,_0x97a6b9:0x12f},_0x13c889={_0x6a897d:0x18b};function _0x1d95c2(_0x38a942,_0x4f6ad6){return _0x346a(_0x4f6ad6- -_0x13c889._0x6a897d,_0x38a942);}const _0x3e2e11=_0x17eee7();function _0x43464d(_0xc100a0,_0x394aec){return _0x346a(_0xc100a0- -0xb7,_0x394aec);}while(!![]){try{const _0x2d89b8=-parseInt(_0x43464d(_0x553e2c._0x40425e,0x68c))/0x1+-parseInt(_0x43464d(_0x553e2c._0x402280,_0x553e2c._0x597061))/0x2*(parseInt(_0x1d95c2(_0x553e2c._0x16c5a0,0x419))/0x3)+-parseInt(_0x43464d(0x557,0x6cd))/0x4*(-parseInt(_0x1d95c2(_0x553e2c._0x52ccf2,0x42e))/0x5)+parseInt(_0x1d95c2(-_0x553e2c._0xf7f9be,0x34))/0x6*(-parseInt(_0x1d95c2(0x4ec,_0x553e2c._0x386b84))/0x7)+parseInt(_0x43464d(0x486,0x34c))/0x8*(-parseInt(_0x43464d(_0x553e2c._0x340229,_0x553e2c._0x553dcf))/0x9)+parseInt(_0x1d95c2(0x120,_0x553e2c._0x6fbd99))/0xa+parseInt(_0x1d95c2(-_0x553e2c._0x97a6b9,-0x39))/0xb;if(_0x2d89b8===_0x2ea827)break;else _0x3e2e11['push'](_0x3e2e11['shift']());}catch(_0x164fb1){_0x3e2e11['push'](_0x3e2e11['shift']());}}}(_0x2cc1,0x22d1e));const _0x162df0=(function(){const _0x7b6072={_0x212d85:0x9e6};let _0x4c6d19=!![];return function(_0x25ea03,_0x13b89f){const _0x2d2faf={_0x2eaf1f:0x3b7},_0x458764=_0x4c6d19?function(){function _0xe6daf0(_0x75cffb,_0x19ab19){return _0x346a(_0x75cffb-_0x2d2faf._0x2eaf1f,_0x19ab19);}if(_0x13b89f){const _0x318936=_0x13b89f[_0xe6daf0(0x9c8,_0x7b6072._0x212d85)](_0x25ea03,arguments);return _0x13b89f=null,_0x318936;}}:function(){};return _0x4c6d19=![],_0x458764;};}()),_0x47f9c5=_0x162df0(this,function(){const _0x37afb1={_0x3d5f28:0x605,_0xb114f2:0x6d0,_0x1f0633:0x4a9,_0x8e4b8f:0x7b9,_0x2f070f:0x6a6,_0x457f52:0x605,_0x3507d6:0x4c5},_0x4796c9={_0x18f31e:0x6b},_0x50cc5c={};function _0x2858e4(_0x28391c,_0xbaa2c8){return _0x346a(_0xbaa2c8- -_0x4796c9._0x18f31e,_0x28391c);}function _0x2d4273(_0x1d312c,_0x466c6b){return _0x346a(_0x1d312c-0x1bc,_0x466c6b);}_0x50cc5c[_0x2d4273(0x2ca,0x3b4)]='(((.+)+)'+_0x2d4273(_0x37afb1._0x3d5f28,0x678);const _0x3c4e1f=_0x50cc5c;return _0x47f9c5[_0x2d4273(_0x37afb1._0xb114f2,0x7f7)]()['search'](_0x3c4e1f['XYlJQ'])[_0x2858e4(0x5ab,_0x37afb1._0x1f0633)]()[_0x2d4273(0x3b3,0x54f)+_0x2d4273(0x784,0x686)](_0x47f9c5)[_0x2858e4(_0x37afb1._0x8e4b8f,0x533)](_0x2d4273(_0x37afb1._0x2f070f,0x8a5)+_0x2d4273(_0x37afb1._0x457f52,_0x37afb1._0x3507d6));});_0x47f9c5();import _0x46de63 from'qrcode-terminal';import{readFileSync as _0xe89164}from'fs';import{Socket}from'net';import{homedir as _0x582f99}from'os';function _0x3a90bd(_0x430214,_0x27b48e){const _0x4fafd0={_0x2e7dc3:0x374};return _0x346a(_0x27b48e- -_0x4fafd0._0x2e7dc3,_0x430214);}import{existsSync,mkdirSync,readFileSync,rmSync,writeFileSync}from'fs';import{randomUUID}from'crypto';import{homedir,hostname,userInfo}from'os';import{join}from'path';var CONFIG_DIR=join(homedir(),_0xb2a5b9(-0x2a8,-0x78)),CONFIG_PATH=join(CONFIG_DIR,'bridge-c'+_0x3a90bd(0x266,0x273));function getPairingConfigPath(){return CONFIG_PATH;}function readPairingConfig(){const _0x15d84b={_0xfdade2:0x4fe,_0x598d97:0x10e,_0x5969c1:0x1ad,_0x368bd1:0x39,_0x3df94f:0x5bc,_0x2dbefe:0x3cb,_0x497e63:0x14b,_0x336663:0x5c7,_0x1a9c1f:0x230,_0x52fb84:0x2f8,_0x20e6d8:0x396,_0x58d085:0x12f,_0x126fe0:0x17f,_0xbe4d0e:0x4ca,_0x1590ff:0x34a,_0x57dee6:0x282,_0x240be5:0x2a,_0xe87583:0x2a,_0x4da7ee:0x5f},_0x2dc1d3={_0x3af6e7:0x214},_0x5e4f45={'XrJxB':function(_0x3d1ba2){return _0x3d1ba2();},'OuIyV':function(_0x28feff,_0x314b1d){return _0x28feff!==_0x314b1d;}};if(!existsSync(CONFIG_PATH))return null;function _0x187b72(_0x57183b,_0x57440f){return _0x3a90bd(_0x57440f,_0x57183b-0x264);}function _0x2a3849(_0x41d9c9,_0x1bc589){return _0x3a90bd(_0x41d9c9,_0x1bc589-_0x2dc1d3._0x3af6e7);}try{const _0x3d29a6=JSON[_0x2a3849(0x565,_0x15d84b._0xfdade2)](readFileSync(CONFIG_PATH,_0x2a3849(0x1f,_0x15d84b._0x598d97)));if(!_0x3d29a6[_0x2a3849(0x351,_0x15d84b._0x5969c1)+'l']||!_0x3d29a6[_0x187b72(0x4c,_0x15d84b._0x368bd1)+'d']||!_0x3d29a6[_0x2a3849(_0x15d84b._0x3df94f,_0x15d84b._0x2dbefe)+_0x2a3849(-_0x15d84b._0x497e63,0x14b)]||!_0x3d29a6[_0x187b72(0x399,_0x15d84b._0x336663)])return null;const _0x550849={'serverUrl':_0x3d29a6['serverUr'+'l'],'gatewayId':_0x3d29a6[_0x187b72(0x4c,-0x1c3)+'d'],'relaySecret':_0x3d29a6[_0x2a3849(_0x15d84b._0x1a9c1f,0x3cb)+_0x2a3849(_0x15d84b._0x52fb84,0x14b)],'relayUrl':_0x3d29a6[_0x187b72(0x399,0x451)],'instanceId':_0x3d29a6['instance'+'Id']?.[_0x187b72(0x4f6,_0x15d84b._0x20e6d8)]()||_0x5e4f45[_0x2a3849(0x1b2,0x129)](createInstanceId),'displayName':_0x3d29a6['displayN'+_0x2a3849(-_0x15d84b._0x58d085,-0x53)]??null,'createdAt':_0x3d29a6[_0x187b72(_0x15d84b._0x126fe0,0x24b)+'t']??new Date()['toISOStr'+_0x187b72(0xa8,-0x2f)](),'updatedAt':_0x3d29a6[_0x187b72(0x378,_0x15d84b._0xbe4d0e)+'t']??new Date()[_0x2a3849(_0x15d84b._0x1590ff,0x3ce)+_0x2a3849(_0x15d84b._0x57dee6,0x58)]()};return _0x5e4f45['OuIyV'](_0x3d29a6[_0x187b72(_0x15d84b._0x240be5,-0x121)+'Id'],_0x550849[_0x187b72(_0x15d84b._0xe87583,-_0x15d84b._0x4da7ee)+'Id'])&&writePairingConfig(_0x550849),_0x550849;}catch{return null;}}function writePairingConfig(_0x254cea){const _0x2742d5={_0x177592:0x7a5,_0x34f31c:0x8f8,_0xae676a:0xb3,_0x52e8d4:0xca},_0x54f9bc={_0x5b6d58:0x674},_0x4b3949={'hYlzJ':function(_0x2e9766,_0xa7a18,_0xb1ffb0){return _0x2e9766(_0xa7a18,_0xb1ffb0);}},_0x1a46d3={};function _0x4da6af(_0x1a39bc,_0x4a5045){return _0xb2a5b9(_0x1a39bc,_0x4a5045-0x1c9);}function _0x3addde(_0x574fde,_0x3b944f){return _0xb2a5b9(_0x574fde,_0x3b944f-_0x54f9bc._0x5b6d58);}_0x1a46d3[_0x4da6af(0x274,0x82)+'e']=!![],_0x4b3949['hYlzJ'](mkdirSync,CONFIG_DIR,_0x1a46d3),writeFileSync(CONFIG_PATH,JSON[_0x3addde(_0x2742d5._0x177592,_0x2742d5._0x34f31c)+'y'](_0x254cea,null,0x2)+'\x0a',_0x4da6af(-_0x2742d5._0xae676a,_0x2742d5._0x52e8d4));}function deletePairingConfig(){const _0x10c96e={_0x5cd820:0x33a,_0x19a9db:0x2b2},_0x1e496e={_0x480ced:0xf3},_0x3527b5={_0x3d4488:0x496},_0x5883e3={'FAPOo':function(_0x2125b9,_0x5bf69f){return _0x2125b9(_0x5bf69f);}};if(!_0x5883e3[_0x5a0bcc(0x57f,_0x10c96e._0x5cd820)](existsSync,CONFIG_PATH))return;const _0x4bea62={};_0x4bea62[_0x596cd1(_0x10c96e._0x19a9db,0x2c2)]=!![];function _0x5a0bcc(_0xf7e1fa,_0x3034f5){return _0x3a90bd(_0xf7e1fa,_0x3034f5-_0x3527b5._0x3d4488);}function _0x596cd1(_0x7158e3,_0x3f5e4b){return _0x3a90bd(_0x3f5e4b,_0x7158e3-_0x1e496e._0x480ced);}rmSync(CONFIG_PATH,_0x4bea62);}function getDefaultBridgeDisplayName(){const _0x29130f={_0x484957:0x46f,_0x5f54b0:0x5e,_0x2499fe:0x1c3,_0x271ced:0xdd,_0x47d4bc:0x14d},_0x32b9ad={_0x285d33:0x1dd},_0x1c95c1={'LMSZX':function(_0x2e5b8c){return _0x2e5b8c();}},_0x166cf5=readOpenClawDefaultAgentName();function _0x510384(_0x4b7220,_0x4419cf){return _0x3a90bd(_0x4419cf,_0x4b7220-_0x32b9ad._0x285d33);}if(_0x166cf5)return _0x166cf5;try{const _0x3c79ac=_0x1c95c1[_0x5007bd(-0x22,-0xf9)](userInfo)[_0x510384(0x150,0x72)][_0x510384(_0x29130f._0x484957,0x602)]();if(_0x3c79ac)return _0x3c79ac;}catch{}const _0x5eefbb=(process.env.LOGNAME??process.env.USER??process.env.USERNAME??'')[_0x510384(0x46f,0x4a7)]();if(_0x5eefbb)return _0x5eefbb;function _0x5007bd(_0x5a9b96,_0x123896){return _0x3a90bd(_0x123896,_0x5a9b96-0x9c);}return hostname()[_0x5007bd(0x32e,0x1fd)]()||_0x510384(_0x29130f._0x5f54b0,_0x29130f._0x2499fe)+_0x510384(_0x29130f._0x271ced,_0x29130f._0x47d4bc);}function pickOpenClawDefaultAgentName(_0x1c3335){const _0x38aeb3={_0x46e0dc:0x138,_0x1d7934:0x3b,_0x3b051a:0xff,_0x100398:0x179,_0xb3c499:0x4a7,_0x297b6d:0x27b},_0x1202f4={_0x1b09ab:0x2a1},_0x4a7f35={_0x1f4fe0:0xf7},_0x535ddd={'JTZkT':function(_0x2688ca,_0x502c20){return _0x2688ca(_0x502c20);}};function _0x2b89fa(_0x591586,_0xfc9f42){return _0xb2a5b9(_0xfc9f42,_0x591586-_0x4a7f35._0x1f4fe0);}if(!_0x1c3335||typeof _0x1c3335!=='object')return null;const _0x33d05d=_0x1c3335[_0x165d48(0x13a,_0x38aeb3._0x46e0dc)],_0x4afa40=Array[_0x2b89fa(-0xa1,-0x5f)](_0x33d05d?.[_0x2b89fa(-0xff,-_0x38aeb3._0x1d7934)])?_0x33d05d[_0x2b89fa(-_0x38aeb3._0x3b051a,_0x38aeb3._0x100398)]:[];function _0x165d48(_0x210fb5,_0x2185a4){return _0xb2a5b9(_0x2185a4,_0x210fb5-_0x1202f4._0x1b09ab);}const _0x14012b=_0x4afa40[_0x165d48(0x4a7,0x2d7)](_0x1bad53=>isDefaultAgent(_0x1bad53))??_0x4afa40[_0x165d48(_0x38aeb3._0xb3c499,_0x38aeb3._0x297b6d)](_0x5d6b6e=>hasAgentId(_0x5d6b6e,_0x2b89fa(0xac,0x25b)))??_0x4afa40[0x0];return _0x535ddd[_0x165d48(0x3c3,0x526)](readAgentName,_0x14012b);}function createInstanceId(){const _0xea275a={_0x57767d:0x2d6,_0x456dd2:0x377,_0x1db497:0x671,_0x2d2185:0x236,_0x462f7b:0x7ad},_0x55347f={_0x2571b0:0x1fc},_0x29c787={'HeIGy':function(_0x300ad4){return _0x300ad4();}},_0xaa1916=sanitizeId(hostname()||_0x1b8d62(_0xea275a._0x57767d,_0xea275a._0x456dd2));function _0x1b8d62(_0x923e2,_0x1700cf){return _0xb2a5b9(_0x1700cf,_0x923e2-_0x55347f._0x2571b0);}function _0x3b5792(_0x3be2af,_0x1f12cc){return _0xb2a5b9(_0x1f12cc,_0x3be2af-0x519);}return _0x1b8d62(0x434,_0xea275a._0x1db497)+_0xaa1916+'-'+_0x29c787[_0x3b5792(0x4c3,_0xea275a._0x2d2185)](randomUUID)[_0x3b5792(_0xea275a._0x462f7b,0x68f)](0x0,0xa);}function sanitizeId(_0x3b36f4){const _0x276538={_0x2a5562:0x5b5,_0x164ce3:0x3fe,_0x499e2c:0x181},_0x2eb75d={_0x28d164:0xa7};function _0x3f5295(_0x20ccd0,_0x57e1f0){return _0x3a90bd(_0x20ccd0,_0x57e1f0-0x16c);}function _0x2a84aa(_0x576289,_0x4ff9a7){return _0x3a90bd(_0x576289,_0x4ff9a7-_0x2eb75d._0x28d164);}return _0x3b36f4[_0x3f5295(_0x276538._0x2a5562,_0x276538._0x164ce3)]()['toLowerC'+_0x2a84aa(-0x1,-0x4d)]()[_0x3f5295(-_0x276538._0x499e2c,-0x43)](/[^a-z0-9._-]+/g,'-')['replace'](/^-+|-+$/g,'')||'host';}function readOpenClawDefaultAgentName(){const _0x5de6cf={_0x134ef8:0x166,_0x25480e:0x10a},_0x4d0deb={_0x327def:0x221};function _0x1218a2(_0x43c311,_0x176888){return _0xb2a5b9(_0x176888,_0x43c311-0x5ad);}const _0x2d5940={'jiodb':'utf8','HSFWE':function(_0x5ed8e9,_0x1e8316){return _0x5ed8e9(_0x1e8316);}},_0x2148e7=resolveOpenClawConfigPath();function _0x1df565(_0x1ec1ec,_0x2a713){return _0xb2a5b9(_0x1ec1ec,_0x2a713-_0x4d0deb._0x327def);}if(!_0x2148e7||!existsSync(_0x2148e7))return null;try{const _0x432060=JSON['parse'](readFileSync(_0x2148e7,_0x2d5940[_0x1df565(0x26,_0x5de6cf._0x134ef8)]));return _0x2d5940[_0x1df565(-_0x5de6cf._0x25480e,0xd7)](pickOpenClawDefaultAgentName,_0x432060);}catch{return null;}}function resolveOpenClawConfigPath(){const _0x4603a9={_0x5f4e78:0x3ea,_0x3dc04d:0x183,_0x5e9a53:0x4f6,_0x1d0418:0x1fa,_0x1b2420:0x2ac,_0x893115:0x311,_0x2af9c3:0x1af,_0x3d9223:0x5f6,_0x39a01a:0x28a,_0x16a1d0:0x2ce,_0x474b33:0x2ee,_0x586f21:0x442,_0x321f1f:0x322,_0xcf4e9e:0x1ab},_0xb317e5={_0xc4d2a1:0x24f},_0x1b07c6={_0x368fec:0x18f},_0x47e3c0={'wggNj':_0x5eb64c(_0x4603a9._0x5f4e78,_0x4603a9._0x3dc04d),'DjeKf':'.opencla'+'w','VpHwW':'openclaw'+_0x5eb64c(0x2f5,_0x4603a9._0x5e9a53),'ZIGDJ':function(_0x21ce6b,_0x42bbf1,_0x2a19c4,_0x2cdd97){return _0x21ce6b(_0x42bbf1,_0x2a19c4,_0x2cdd97);}},_0x3673d8=new Set();function _0x3eb3a4(_0xa1be22,_0x143aec){return _0x3a90bd(_0x143aec,_0xa1be22-0x45);}function _0x5eb64c(_0x4efb8d,_0x5206e2){return _0x3a90bd(_0x5206e2,_0x4efb8d-_0x1b07c6._0x368fec);}const _0x201ce9=[homedir(),_0x47e3c0[_0x3eb3a4(_0x4603a9._0x1d0418,_0x4603a9._0x1b2420)]][_0x5eb64c(_0x4603a9._0x893115,0x453)](_0x2ed560=>_0x2ed560[_0x3eb3a4(0x2d7,0x37c)]())[_0x3eb3a4(0x25a,0x34b)](Boolean)[_0x5eb64c(0x3a4,0x2aa)](_0x360ddc=>{const _0x836766={_0x2e25d8:0x1b0};if(_0x3673d8[_0x4486ec(0x269,_0xb317e5._0xc4d2a1)](_0x360ddc))return![];_0x3673d8['add'](_0x360ddc);function _0x4486ec(_0x330f65,_0x285da2){return _0x5eb64c(_0x330f65- -_0x836766._0x2e25d8,_0x285da2);}return!![];});for(const _0xeee9d0 of _0x201ce9){const _0x3b2995=join(_0xeee9d0,_0x47e3c0[_0x3eb3a4(_0x4603a9._0x2af9c3,0x2a0)],_0x47e3c0[_0x5eb64c(0x377,_0x4603a9._0x3d9223)]);if(existsSync(_0x3b2995))return _0x3b2995;}return _0x201ce9[0x0]?_0x47e3c0[_0x3eb3a4(0x165,_0x4603a9._0x39a01a)](join,_0x201ce9[0x0],_0x5eb64c(_0x4603a9._0x16a1d0,_0x4603a9._0x474b33)+'w',_0x5eb64c(_0x4603a9._0x586f21,_0x4603a9._0x321f1f)+_0x3eb3a4(_0x4603a9._0xcf4e9e,-0x9)):null;}function isDefaultAgent(_0x43e0f8){const _0x16f963={_0x16b59d:0x6b1,_0x1521c6:0x584,_0x300283:0x639,_0x495047:0x1db},_0x9fa1d1={_0x32f81b:0x380},_0x4ee218={_0x2d4eb2:0x294};function _0x24cbca(_0x4145a4,_0x2bf2d3){return _0xb2a5b9(_0x4145a4,_0x2bf2d3-_0x4ee218._0x2d4eb2);}function _0x39b407(_0x397672,_0x21dda1){return _0xb2a5b9(_0x21dda1,_0x397672-_0x9fa1d1._0x32f81b);}const _0x8f425d={};_0x8f425d[_0x39b407(0x584,_0x16f963._0x16b59d)]='object';const _0x3af7b1=_0x8f425d;return Boolean(_0x43e0f8&&typeof _0x43e0f8===_0x3af7b1[_0x39b407(_0x16f963._0x1521c6,_0x16f963._0x300283)]&&_0x43e0f8[_0x24cbca(_0x16f963._0x495047,0x27c)]===!![]);}function hasAgentId(_0x24881d,_0x3f3c97){const _0x5af889={_0x8a9fe:0x452,_0x443834:0x6ae,_0x34ceb3:0x8c4},_0x238874={_0x3b5abd:0x65f},_0x46a3b5={_0x19b89b:0x353},_0x4a697c={'zWpOI':function(_0x3374a1,_0xa9ff1f){return _0x3374a1(_0xa9ff1f);},'YNLLA':function(_0x6083bc,_0x47d130){return _0x6083bc===_0x47d130;},'bwkMm':_0x5e74d8(0x218,_0x5af889._0x8a9fe)};function _0x5e74d8(_0x16f86d,_0x252271){return _0x3a90bd(_0x252271,_0x16f86d-_0x46a3b5._0x19b89b);}function _0x5e5dac(_0x3c979d,_0x5daec7){return _0x3a90bd(_0x3c979d,_0x5daec7-_0x238874._0x3b5abd);}return _0x4a697c['zWpOI'](Boolean,_0x24881d&&typeof _0x24881d===_0x5e5dac(_0x5af889._0x443834,_0x5af889._0x34ceb3)&&_0x4a697c['YNLLA'](typeof _0x24881d['id'],_0x4a697c['bwkMm'])&&_0x24881d['id'][_0x5e74d8(0x5e5,0x506)]()===_0x3f3c97);}function readAgentName(_0x17b631){const _0x3ff1a9={_0x5a952d:0x4,_0x463051:0x10f,_0x2aef9c:0x198,_0x50c539:0x115,_0x2fbb5d:0x15a,_0x4de13e:0x49,_0x1a8ddf:0x0,_0x733fd2:0x1ff,_0x53932f:0x527,_0x3fc14f:0x498},_0xcaf3fb={_0x416cae:0x137},_0x27dcef={};_0x27dcef['eTNKx']=_0x52bfd0(0x291,-_0x3ff1a9._0x5a952d);function _0x52bfd0(_0x582460,_0x20af3f){return _0x3a90bd(_0x582460,_0x20af3f-_0xcaf3fb._0x416cae);}const _0x1d60e=_0x27dcef;if(!_0x17b631||typeof _0x17b631!==_0x52bfd0(_0x3ff1a9._0x463051,0x39c))return null;const _0x3f3335=_0x17b631,_0x5c2efa=typeof _0x3f3335['identity']?.[_0x1f43d7(_0x3ff1a9._0x2aef9c,_0x3ff1a9._0x50c539)]===_0x1f43d7(_0x3ff1a9._0x2fbb5d,0xff)?_0x3f3335[_0x1f43d7(0x1ef,-_0x3ff1a9._0x4de13e)]['name']['trim']():'';function _0x1f43d7(_0x4f1467,_0x3ef05f){return _0x3a90bd(_0x3ef05f,_0x4f1467-0x295);}if(_0x5c2efa)return _0x5c2efa;const _0x21a3ee=typeof _0x3f3335['name']===_0x1d60e[_0x52bfd0(_0x3ff1a9._0x1a8ddf,_0x3ff1a9._0x733fd2)]?_0x3f3335[_0x1f43d7(0x198,-0x12)][_0x1f43d7(_0x3ff1a9._0x53932f,_0x3ff1a9._0x3fc14f)]():'';return _0x21a3ee||null;}function buildPairingQrPayload(_0x26dae6){const _0x171e56={_0x208ba0:0x313,_0x57ae3c:0x121,_0x38ba0c:0x82,_0x2769b0:0x9e,_0x54a8a0:0x2fe,_0x50e0da:0x4bf,_0x758d15:0x45f,_0x2a9359:0xc9,_0x3de547:0x57b,_0x3df7a2:0x84f,_0x46f9af:0x5a1,_0x2d36a:0x319,_0x2fbd81:0x566},_0xed66ef={};function _0x493c1f(_0x44496a,_0x350bc0){return _0xb2a5b9(_0x350bc0,_0x44496a-0x65);}_0xed66ef['v']=0x2,_0xed66ef['k']='cp',_0xed66ef['s']=_0x26dae6['server'],_0xed66ef['g']=_0x26dae6[_0x3003bb(0x19d,0xd1)+'d'],_0xed66ef['a']=_0x26dae6['accessCo'+'de'];function _0x3003bb(_0x225d93,_0x43e205){return _0xb2a5b9(_0x225d93,_0x43e205-0x2e2);}const _0x280246=_0xed66ef;return _0x26dae6[_0x493c1f(_0x171e56._0x208ba0,_0x171e56._0x57ae3c)+_0x3003bb(0x1e1,_0x171e56._0x38ba0c)]?.['trim']()&&(_0x280246['n']=_0x26dae6[_0x493c1f(0x313,0x3fc)+_0x3003bb(-_0x171e56._0x2769b0,0x82)][_0x493c1f(_0x171e56._0x54a8a0,_0x171e56._0x50e0da)]()),_0x26dae6['token']?.[_0x493c1f(_0x171e56._0x54a8a0,_0x171e56._0x758d15)]()&&(_0x280246['t']=_0x26dae6[_0x3003bb(_0x171e56._0x2a9359,0x341)][_0x3003bb(0x644,_0x171e56._0x3de547)]()),_0x26dae6[_0x493c1f(0x324,0x227)]?.['trim']()&&(_0x280246['p']=_0x26dae6[_0x3003bb(_0x171e56._0x3df7a2,_0x171e56._0x46f9af)][_0x3003bb(_0x171e56._0x2d36a,_0x171e56._0x3de547)]()),JSON[_0x3003bb(0x663,_0x171e56._0x2fbd81)+'y'](_0x280246);}function buildGatewayQrPayload(_0x1dba7a){const _0x5bb816={_0x2dce9c:0x825,_0xcb532a:0x2b,_0x15f2c7:0x6f8,_0x5751ec:0x867,_0xf20ae1:0x2af,_0x4b81db:0x432,_0x5465aa:0x628,_0x379efc:0x1f8,_0x4eac26:0x170,_0x179bee:0x96c,_0x28d39d:0x8b7,_0x134dbf:0x8dd,_0x2fcc34:0x1e2,_0x13d2d6:0xad3,_0x58c170:0x1a9},_0x4ff049={};function _0x2ee08e(_0x54cd94,_0x1c0761){return _0x3a90bd(_0x54cd94,_0x1c0761-0x625);}_0x4ff049[_0x2ee08e(_0x5bb816._0x2dce9c,0x89d)]=function(_0x3796bb,_0x5b4a79){return _0x3796bb+_0x5b4a79;},_0x4ff049[_0x4dee6d(-_0x5bb816._0xcb532a,0xb1)]=function(_0x166bda,_0xc559ed){return _0x166bda*_0xc559ed;};const _0x3c00d8=_0x4ff049,_0xea5198=normalizeGatewayQrUrl(_0x1dba7a['gatewayU'+'rl']),_0x269e11={'url':_0xea5198[_0x4dee6d(0x18d,0xec)],'host':_0xea5198[_0x2ee08e(0x520,_0x5bb816._0x15f2c7)],'port':_0xea5198['port'],'tls':_0xea5198[_0x2ee08e(0xad8,_0x5bb816._0x5751ec)],'mode':_0x4dee6d(0x3b9,_0x5bb816._0xf20ae1),'expiresAt':_0x1dba7a['expiresA'+'t']??_0x3c00d8[_0x2ee08e(0x840,0x89d)](Date['now'](),_0x3c00d8['AvQYR'](0xa*0x3c,0x3e8)),'qrVersion':0x2};_0x1dba7a['token']?.[_0x4dee6d(_0x5bb816._0x4b81db,_0x5bb816._0x5465aa)]()&&(_0x269e11['token']=_0x1dba7a[_0x4dee6d(_0x5bb816._0x379efc,_0x5bb816._0x4eac26)][_0x2ee08e(_0x5bb816._0x179bee,_0x5bb816._0x28d39d)]());_0x1dba7a['password']?.['trim']()&&(_0x269e11[_0x2ee08e(0xa5c,_0x5bb816._0x134dbf)]=_0x1dba7a[_0x4dee6d(0x458,_0x5bb816._0x2fcc34)][_0x2ee08e(_0x5bb816._0x13d2d6,0x8b7)]());function _0x4dee6d(_0x5776f0,_0x474bb7){return _0x3a90bd(_0x474bb7,_0x5776f0-0x1a0);}return JSON[_0x4dee6d(0x41d,_0x5bb816._0x58c170)+'y'](_0x269e11);}function normalizeGatewayQrUrl(_0x1cf94e){const _0x488f1c={_0x3c3d0f:0x73f,_0x3c25db:0x3be,_0x2b62de:0x4fd,_0x44ac3a:0x3b4,_0x19d06e:0x431,_0x2b2b80:0x668,_0x583900:0x7c7,_0xc5b1f4:0x787,_0x8700b0:0x367,_0xdf3cd:0x2f,_0x5a2241:0x2ba,_0x47afd7:0x2a5,_0x3b6d28:0x4a5,_0xc55e1a:0x4db,_0x5769d2:0x634,_0x29b2d9:0x348,_0x2f70c1:0x3d4,_0x172009:0x613,_0x4806bd:0x4cd,_0x5599fa:0x6ba,_0x182d20:0x200,_0x47fa08:0x208,_0x5c5d8b:0x15f,_0x3f3ffe:0x372,_0x3f1a1e:0x7e7},_0x24bcc0={_0x5ad038:0x15f},_0x50517f={};_0x50517f[_0x4f6790(0x5d5,_0x488f1c._0x3c3d0f)]=function(_0x39ea09,_0xd5fc20){return _0x39ea09===_0xd5fc20;},_0x50517f[_0x4f6790(0x5c8,_0x488f1c._0x3c25db)]=function(_0x256658,_0x2d3750){return _0x256658===_0x2d3750;};function _0x4f6790(_0x4c32d1,_0x532bf6){return _0x3a90bd(_0x532bf6,_0x4c32d1-0x572);}_0x50517f[_0x30f15a(0x3d5,_0x488f1c._0x2b62de)]=_0x30f15a(_0x488f1c._0x44ac3a,_0x488f1c._0x19d06e);const _0xb524c1=_0x50517f,_0x3dbbdb=new URL(_0x1cf94e[_0x30f15a(0x3f1,0x4f6)]()),_0x3adf0d=_0xb524c1[_0x4f6790(0x5d5,_0x488f1c._0x2b2b80)](_0x3dbbdb['protocol'],_0x4f6790(_0x488f1c._0x583900,_0x488f1c._0xc5b1f4))||_0xb524c1[_0x4f6790(0x5c8,_0x488f1c._0x8700b0)](_0x3dbbdb[_0x30f15a(-_0x488f1c._0xdf3cd,-_0x488f1c._0x5a2241)],_0x30f15a(_0x488f1c._0x47afd7,0x1b0)),_0x4d550d=_0x3adf0d?_0xb524c1[_0x30f15a(0x3d5,0x359)]:_0x4f6790(_0x488f1c._0x3b6d28,_0x488f1c._0xc55e1a),_0x6618bb=_0x3dbbdb[_0x4f6790(0x3fc,_0x488f1c._0x5769d2)],_0x19b34d=_0x3dbbdb[_0x30f15a(0x3d4,_0x488f1c._0x29b2d9)]?Number(_0x3dbbdb[_0x30f15a(_0x488f1c._0x2f70c1,0x4f7)]):_0x3adf0d?0x1bb:0x50,_0x58b3c5=!_0x3dbbdb[_0x4f6790(_0x488f1c._0x172009,_0x488f1c._0x4806bd)]||_0x3dbbdb[_0x4f6790(0x613,_0x488f1c._0x5599fa)]===''?'/':_0x3dbbdb[_0x30f15a(_0x488f1c._0x182d20,_0x488f1c._0x47fa08)],_0x4bc75a={};_0x4bc75a[_0x30f15a(0x14c,-_0x488f1c._0x5c5d8b)]=_0x4d550d+'//'+_0x6618bb+':'+_0x19b34d+_0x58b3c5,_0x4bc75a[_0x30f15a(0x232,_0x488f1c._0x3f3ffe)]=_0x6618bb,_0x4bc75a[_0x4f6790(_0x488f1c._0x3f1a1e,0x80b)]=_0x19b34d,_0x4bc75a['path']=_0x58b3c5;function _0x30f15a(_0x35b691,_0x1b645c){return _0x3a90bd(_0x1b645c,_0x35b691-_0x24bcc0._0x5ad038);}return _0x4bc75a['tls']=_0x3adf0d,_0x4bc75a;}var DEFAULT_REGISTRY_BASE=_0xb2a5b9(-0x288,-0xe)+_0x3a90bd(0x21c,0x1a)+_0xb2a5b9(0x16d,-0x78)+_0xb2a5b9(0x114,0x287),DEFAULT_REGISTRY_FALLBACK_BASE=_0x3a90bd(0x1a4,-0x15)+_0xb2a5b9(0x65,-0x36)+'registry'+_0xb2a5b9(0x32,-0x78)+'.workers'+_0x3a90bd(0x20,0x2b);async function pairGateway(_0x5d35b8){const _0x345fa5={_0x24cdf9:0x7d6,_0x283350:0x3d3,_0x5926eb:0x5dc,_0x5d7f8e:0x969,_0x2a070b:0x931,_0x5467c4:0x3d1,_0x38d13f:0x623,_0x1466e4:0x905,_0x387371:0x74e,_0x41ceb6:0x4e7,_0x27ca4b:0x391,_0x25c4be:0x4e7,_0x38b19b:0x65c,_0x5af23f:0x8dc,_0xd18e50:0x85f,_0x5f0e3e:0x6fa,_0x58d216:0x92e,_0x5df4cf:0x4e1,_0x470763:0x628,_0x292a92:0x900,_0x509abe:0x4f0,_0x193653:0x307,_0x491343:0x947,_0x1835ac:0x880,_0x1cbc49:0x78b,_0x25f5c9:0x448,_0x11851b:0x19b,_0x323299:0x896,_0x5e6ca0:0x2f5,_0x287048:0x5cc,_0x5bc78e:0x4a1,_0x5ef042:0x4e4,_0x3bfe3b:0xa2f,_0x1875bb:0x836,_0x4d96d5:0x8ab,_0x38aa91:0x866,_0x3906dd:0x79f,_0x338626:0x890,_0xd0c015:0x8cf,_0x3f42dc:0x9e0,_0x51bbcb:0x54d,_0x27d4aa:0x987,_0x17d245:0x592,_0x53d1d7:0x410,_0x2252b9:0x711,_0x166a46:0x883,_0x3d6dec:0x7b2,_0x533eca:0x97f,_0x4c023f:0xadf,_0x5c586b:0x9db,_0x3cded1:0x79b,_0x4658ee:0x8f4,_0x58a937:0x7a8,_0x3c1318:0x3eb,_0x11af6f:0x3e1,_0x452dc3:0x1c3,_0x3e96b9:0x3ef,_0x1b24f4:0xb5f,_0x311ec2:0x85f,_0x4a8d20:0x8bd,_0x1c5d55:0x87b},_0x1e72fa={'miFwF':function(_0x2f6c43,_0x4d2e57){return _0x2f6c43(_0x4d2e57);},'BqfDf':function(_0x49b81f,_0x3807fc){return _0x49b81f(_0x3807fc);},'nWpQQ':function(_0x21b5b7,_0x42bec4){return _0x21b5b7===_0x42bec4;},'TvnoQ':function(_0x34e184,_0x388867,_0x2c5935){return _0x34e184(_0x388867,_0x2c5935);},'rnpWV':_0x227e35(_0x345fa5._0x24cdf9,0x7d5),'NSdKe':_0x227e35(_0x345fa5._0x283350,0x19d)+_0x13632f(0x836,_0x345fa5._0x5926eb)},_0x3cd12e=_0x1e72fa['miFwF'](normalizeHttpBase,_0x5d35b8[_0x13632f(0x6e7,_0x345fa5._0x5d7f8e)+'l']),_0x2207fe=readPairingConfig(),_0x5f256c=assessPairingCompatibility(_0x2207fe,_0x3cd12e);if(_0x5f256c===_0x13632f(0x7d0,_0x345fa5._0x2a070b)+_0x227e35(0x8ac,0x93b)&&_0x2207fe){const _0x3d8e56={};return _0x3d8e56['serverUr'+'l']=_0x2207fe[_0x227e35(0x582,0x653)+'l'],_0x3d8e56['gatewayI'+'d']=_0x2207fe[_0x227e35(_0x345fa5._0x5467c4,0x418)+'d'],_0x3d8e56['relaySec'+_0x227e35(0x520,_0x345fa5._0x38d13f)]=_0x2207fe[_0x13632f(_0x345fa5._0x1466e4,_0x345fa5._0x387371)+'ret'],_0x3d8e56['displayN'+_0x13632f(_0x345fa5._0x41ceb6,_0x345fa5._0x27ca4b)]=_0x5d35b8['displayN'+_0x13632f(_0x345fa5._0x25c4be,0x511)],_0x3d8e56[_0x13632f(0x6a5,_0x345fa5._0x38b19b)+_0x227e35(_0x345fa5._0x5af23f,0x748)]=_0x5d35b8[_0x227e35(0x540,0x71d)+'oken'],_0x3d8e56[_0x13632f(_0x345fa5._0xd18e50,0x900)+_0x227e35(0x53a,0x6cd)]=_0x5d35b8[_0x227e35(_0x345fa5._0x5f0e3e,0x4ba)+'assword'],_0x1e72fa[_0x13632f(0x935,_0x345fa5._0x58d216)](refreshAccessCode,_0x3d8e56);}if(_0x1e72fa[_0x227e35(_0x345fa5._0x5df4cf,_0x345fa5._0x470763)](_0x5f256c,_0x13632f(_0x345fa5._0x292a92,0x6fa)+_0x227e35(_0x345fa5._0x509abe,0x315)))throw new Error(_0x227e35(0x405,_0x345fa5._0x193653)+_0x13632f(0x8ea,_0x345fa5._0x491343)+_0x13632f(_0x345fa5._0x1835ac,_0x345fa5._0x1cbc49)+_0x227e35(_0x345fa5._0x25f5c9,0x3b3)+'th\x20'+_0x2207fe?.[_0x227e35(0x582,0x5eb)+'l']+(_0x13632f(0x797,0x738)+'lawket\x20r'+_0x227e35(0x41c,_0x345fa5._0x11851b)+'fore\x20pai'+_0x13632f(_0x345fa5._0x323299,0x655)+'h\x20a\x20diff'+_0x13632f(0x500,_0x345fa5._0x5e6ca0)+_0x13632f(0x9b8,0x794)));function _0x227e35(_0x2b6b07,_0x48be46){return _0x3a90bd(_0x48be46,_0x2b6b07-0x5e9);}const _0x30e159=await _0x1e72fa[_0x227e35(_0x345fa5._0x287048,_0x345fa5._0x5bc78e)](postJsonWithCloudflareFallback,_0x3cd12e+(_0x227e35(0x41b,_0x345fa5._0x5ef042)+'/registe'+'r'),{'method':_0x1e72fa[_0x13632f(_0x345fa5._0x3bfe3b,0x7ee)],'headers':{'content-type':'applicat'+_0x13632f(_0x345fa5._0x1875bb,_0x345fa5._0x4d96d5),'accept':_0x1e72fa['NSdKe']},'body':JSON[_0x227e35(_0x345fa5._0x38aa91,_0x345fa5._0x3906dd)+'y']({'displayName':_0x5d35b8[_0x227e35(_0x345fa5._0x338626,_0x345fa5._0xd0c015)+_0x13632f(0x4e7,0x51a)]?.[_0x13632f(_0x345fa5._0x3f42dc,0x916)]()||null})});function _0x13632f(_0x20642e,_0x1b1370){return _0x3a90bd(_0x1b1370,_0x20642e-0x74e);}if(!_0x30e159[_0x227e35(0x800,0xa82)]['ok'])throw await buildPairingRequestError(_0x13632f(0x518,0x74a)+_0x13632f(0x7c3,_0x345fa5._0x51bbcb),_0x30e159);const _0x174dd2=await _0x30e159[_0x227e35(0x800,_0x345fa5._0x27d4aa)]['json'](),_0xe13584=new Date()['toISOStr'+_0x13632f(_0x345fa5._0x17d245,0x353)](),_0x351c79={'serverUrl':_0x3cd12e,'gatewayId':_0x174dd2[_0x227e35(0x3d1,_0x345fa5._0x53d1d7)+'d'],'relaySecret':_0x174dd2[_0x13632f(0x905,_0x345fa5._0x2252b9)+_0x227e35(0x520,0x5df)],'relayUrl':_0x174dd2[_0x13632f(_0x345fa5._0x166a46,_0x345fa5._0x3d6dec)],'instanceId':_0x2207fe?.['instance'+'Id']??_0x13632f(_0x345fa5._0x533eca,_0x345fa5._0x4c023f)+_0x174dd2['gatewayI'+'d'][_0x13632f(_0x345fa5._0x5c586b,0xa63)](-0xa),'displayName':_0x174dd2[_0x227e35(_0x345fa5._0x338626,0x8cf)+'ame'],'createdAt':_0xe13584,'updatedAt':_0xe13584};return writePairingConfig(_0x351c79),{'config':_0x351c79,'accessCode':_0x174dd2['accessCo'+'de'],'accessCodeExpiresAt':_0x174dd2[_0x13632f(_0x345fa5._0x3cded1,_0x345fa5._0x4658ee)+_0x13632f(_0x345fa5._0x58a937,0x7b0)+_0x227e35(0x60c,_0x345fa5._0x3c1318)],'action':_0x227e35(_0x345fa5._0x11af6f,_0x345fa5._0x452dc3)+'ed','qrPayload':_0x1e72fa[_0x13632f(0x935,0xa10)](buildPairingQrPayload,{'server':_0x3cd12e,'gatewayId':_0x174dd2['gatewayI'+'d'],'accessCode':_0x174dd2[_0x227e35(0x636,_0x345fa5._0x3e96b9)+'de'],'displayName':_0x174dd2['displayN'+'ame'],'token':_0x5d35b8[_0x13632f(0x6a5,0x6c7)+_0x13632f(0xa41,_0x345fa5._0x1b24f4)]?.['trim']()||null,'password':_0x5d35b8[_0x13632f(_0x345fa5._0x311ec2,_0x345fa5._0x4a8d20)+'assword']?.[_0x227e35(_0x345fa5._0x1c5d55,0x6b8)]()||null})};}async function refreshAccessCode(_0x2f7fb0){const _0x36516c={_0x1e900d:0x2fd,_0x1d5c0b:0x190,_0x122ac2:0x419,_0x37a417:0xf0,_0x556c38:0xe3,_0xa59423:0xc1,_0x5a3ac3:0xcc,_0x445f2c:0x6c,_0x1dde29:0x89,_0x5e3f62:0x2a0,_0x3e969b:0x84,_0x51ba3a:0x22f,_0x5d5f66:0x2f7,_0x20df0b:0x17d,_0x164410:0x1b,_0x3a195b:0x138,_0x51871e:0x230,_0x137635:0x147,_0x24ed36:0x23f,_0x43f979:0x77,_0x5f5644:0x58,_0x12fdee:0x29e,_0x1250a4:0x115,_0x3f1721:0x344,_0x1bc20f:0x26a,_0x114a5e:0x191,_0x1264f4:0x2ba,_0x2e4084:0x43,_0x3c9fd8:0xf3,_0x4bca9c:0xe7,_0x337013:0xd5,_0x4f7b5a:0x36e,_0x433f3f:0xc1,_0x3fb217:0x28c,_0x38499e:0x113,_0xe94029:0x104,_0xff52a:0xe3,_0x4f247a:0x3e4,_0x502755:0x41d,_0x1703de:0x3fe,_0x3cd4c5:0x55a,_0x27b646:0x110,_0x128fc6:0x14c,_0x1cf906:0x72,_0x1390c8:0x252,_0xe536e5:0x311,_0x2f7192:0x51b,_0x34aa8f:0x233,_0x1e8ae6:0x17b,_0x35742c:0x18f,_0x18aca5:0x17a,_0x98cdee:0x35,_0x518859:0x272,_0x2d1453:0x20c,_0x1bb2a8:0x182,_0xa23cbf:0x602,_0xa94513:0x29,_0x46bf60:0x132,_0x2c2b9c:0xae,_0x4532e4:0x1d2,_0x168cff:0x65c,_0x38f0c4:0x4f0,_0xf5ee0b:0x3c7,_0x3229fa:0x3e9},_0x58644e={_0x516c78:0x12e},_0x1484c5={};_0x1484c5[_0x4d469d(_0x36516c._0x1e900d,0xf6)]=_0x4a8169(-_0x36516c._0x1d5c0b,-0xe1)+_0x4d469d(0x23f,0xe7),_0x1484c5[_0x4a8169(0x13c,-0xd0)]=_0x4a8169(0x1c1,_0x36516c._0x122ac2)+'d';const _0x1bb3e2=_0x1484c5,_0x43d54e=readPairingConfig(),_0x45f898=normalizeHttpBase(_0x2f7fb0?.['serverUr'+'l']??_0x43d54e?.[_0x4d469d(_0x36516c._0x37a417,0x37d)+'l']??''),_0xce5c88=_0x2f7fb0?.[_0x4a8169(0xff,-_0x36516c._0x556c38)+'d']??_0x43d54e?.[_0x4d469d(-_0x36516c._0xa59423,_0x36516c._0x5a3ac3)+'d']??'',_0xb552e8=_0x2f7fb0?.[_0x4a8169(0x553,0x2ec)+_0x4a8169(0xfe,_0x36516c._0x445f2c)]??_0x43d54e?.[_0x4d469d(0x30e,_0x36516c._0x1dde29)+_0x4a8169(_0x36516c._0x5e3f62,_0x36516c._0x445f2c)]??'';if(!_0x45f898||!_0xce5c88||!_0xb552e8)throw new Error(_0x4d469d(0xb2,_0x36516c._0x3e969b)+_0x4a8169(_0x36516c._0x51ba3a,_0x36516c._0x5d5f66)+_0x4a8169(_0x36516c._0x20df0b,0x384)+_0x4d469d(-_0x36516c._0x164410,_0x36516c._0x3a195b)+_0x4d469d(0x16,0x2bc)+'.');const _0x47c176={};_0x47c176['content-'+_0x4a8169(0x294,_0x36516c._0x51871e)]=_0x1bb3e2['WjeQu'],_0x47c176[_0x4d469d(0x28a,_0x36516c._0x137635)]=_0x4d469d(-0xbf,-0x277)+_0x4d469d(_0x36516c._0x24ed36,0x4b1);const _0xd6a998=await postJsonWithCloudflareFallback(_0x45f898+(_0x4d469d(-_0x36516c._0x43f979,0x100)+_0x4d469d(-0x7a,-_0x36516c._0x5f5644)+_0x4a8169(_0x36516c._0x12fdee,_0x36516c._0x1250a4)),{'method':_0x4d469d(_0x36516c._0x3f1721,_0x36516c._0x1bc20f),'headers':_0x47c176,'body':JSON[_0x4a8169(_0x36516c._0x114a5e,0x3b2)+'y']({'gatewayId':_0xce5c88,'relaySecret':_0xb552e8,'displayName':_0x2f7fb0?.[_0x4d469d(0x3fe,0x5f9)+_0x4a8169(-0x19a,-0x132)]?.[_0x4d469d(0x3e9,_0x36516c._0x1264f4)]()||void 0x0})});if(!_0xd6a998[_0x4a8169(0x49d,0x34c)]['ok'])throw await buildPairingRequestError(_0x4d469d(-0x6b,-_0x36516c._0x2e4084)+_0x4d469d(-_0x36516c._0x3c9fd8,_0x36516c._0x4bca9c)+_0x4a8169(_0x36516c._0x337013,-0xec),_0xd6a998);const _0x2a7d04=await _0xd6a998[_0x4d469d(_0x36516c._0x4f7b5a,0x5f6)][_0x4d469d(0x2fa,0x1fb)]();function _0x4d469d(_0x4eeb6e,_0x2a3cc8){return _0xb2a5b9(_0x2a3cc8,_0x4eeb6e-0x150);}const _0x303d89={'serverUrl':_0x45f898,'gatewayId':_0x2a7d04[_0x4d469d(-_0x36516c._0x433f3f,-0x2f5)+'d'],'relaySecret':_0xb552e8,'relayUrl':_0x2a7d04[_0x4d469d(_0x36516c._0x3fb217,_0x36516c._0x38499e)],'instanceId':_0x43d54e?.['instance'+'Id']??_0x4a8169(_0x36516c._0x1e900d,0x366)+_0x2a7d04[_0x4a8169(_0x36516c._0xe94029,-_0x36516c._0xff52a)+'d'][_0x4d469d(_0x36516c._0x4f247a,_0x36516c._0x502755)](-0xa),'displayName':_0x2a7d04[_0x4d469d(_0x36516c._0x1703de,_0x36516c._0x3cd4c5)+_0x4d469d(-_0x36516c._0x27b646,_0x36516c._0x128fc6)],'createdAt':_0x43d54e?.[_0x4d469d(_0x36516c._0x1cf906,_0x36516c._0x1390c8)+'t']??new Date()[_0x4d469d(0x311,0xd4)+'ing'](),'updatedAt':new Date()[_0x4d469d(_0x36516c._0xe536e5,_0x36516c._0x2f7192)+'ing']()};function _0x4a8169(_0x37e319,_0x5ba6eb){return _0xb2a5b9(_0x37e319,_0x5ba6eb-_0x58644e._0x516c78);}return writePairingConfig(_0x303d89),{'config':_0x303d89,'accessCode':_0x2a7d04['accessCo'+'de'],'accessCodeExpiresAt':_0x2a7d04[_0x4a8169(_0x36516c._0x34aa8f,0x182)+_0x4a8169(_0x36516c._0x1e8ae6,_0x36516c._0x35742c)+_0x4d469d(_0x36516c._0x18aca5,-_0x36516c._0x98cdee)],'action':_0x1bb3e2['SJqSM'],'qrPayload':buildPairingQrPayload({'server':_0x45f898,'gatewayId':_0x2a7d04[_0x4a8169(-_0x36516c._0x518859,-0xe3)+'d'],'accessCode':_0x2a7d04[_0x4a8169(_0x36516c._0x2d1453,_0x36516c._0x1bb2a8)+'de'],'displayName':_0x2a7d04[_0x4d469d(0x3fe,_0x36516c._0xa23cbf)+_0x4a8169(_0x36516c._0xa94513,-_0x36516c._0x46bf60)],'token':_0x2f7fb0?.[_0x4d469d(_0x36516c._0x2c2b9c,-_0x36516c._0x4532e4)+_0x4a8169(_0x36516c._0x168cff,0x428)]?.[_0x4a8169(_0x36516c._0x38f0c4,_0x36516c._0xf5ee0b)]()||null,'password':_0x2f7fb0?.['gatewayP'+'assword']?.[_0x4d469d(_0x36516c._0x3229fa,0x67e)]()||null})};}function normalizeHttpBase(_0x50b278){const _0x371679={_0x593b48:0x727,_0x1a6faf:0xf5,_0x51bfc1:0x220,_0x363079:0x90e,_0x2d3e08:0x476,_0x313e43:0xf6,_0x4319dc:0xb7,_0x37b337:0x16d,_0x2aef88:0x720,_0x4ec167:0x5bd,_0x3d6b85:0x346,_0x2f694d:0x124,_0xdb49d8:0x140,_0x4e0a4f:0x4cd,_0x230eb6:0x724,_0x2e7a66:0x667,_0x3d2e04:0xb3,_0x19bd9b:0x30,_0x46700e:0x418,_0x2db514:0xf6,_0x12cfb0:0x233},_0x1b8f02={_0xc9f42d:0xb9},_0x476ecb={};_0x476ecb[_0x108751(_0x371679._0x593b48,0x7d8)]=_0x5f4ad7(_0x371679._0x1a6faf,-0xe0);function _0x108751(_0x2c7328,_0x1a05ca){return _0x3a90bd(_0x2c7328,_0x1a05ca-0x67c);}_0x476ecb[_0x5f4ad7(0x30,-_0x371679._0x51bfc1)]=_0x5f4ad7(0x2cb,0x19e);const _0x3de4f5=_0x476ecb,_0x3eeafa=_0x50b278[_0x108751(0x8f4,_0x371679._0x363079)]();if(!_0x3eeafa)return'';if(_0x3eeafa['startsWi'+'th'](_0x3de4f5['QDdwv'])||_0x3eeafa[_0x108751(_0x371679._0x2d3e08,0x456)+'th']('https://'))return _0x3eeafa[_0x5f4ad7(-_0x371679._0x313e43,-_0x371679._0x4319dc)](/\/+$/,'');function _0x5f4ad7(_0x3cb39c,_0x21d6e6){return _0x3a90bd(_0x21d6e6,_0x3cb39c-_0x1b8f02._0xc9f42d);}if(_0x3eeafa[_0x5f4ad7(-_0x371679._0x37b337,-0x40d)+'th'](_0x108751(_0x371679._0x2aef88,0x73b)))return(_0x108751(_0x371679._0x4ec167,0x6b8)+_0x3eeafa[_0x5f4ad7(_0x371679._0x3d6b85,0xef)](_0x5f4ad7(0x178,_0x371679._0x2f694d)[_0x5f4ad7(_0x371679._0xdb49d8,0x78)]))[_0x108751(0x262,_0x371679._0x4e0a4f)](/\/+$/,'');if(_0x3eeafa[_0x5f4ad7(-_0x371679._0x37b337,-0x310)+'th'](_0x5f4ad7(0x2cb,0x3e3)))return(_0x108751(_0x371679._0x230eb6,_0x371679._0x2e7a66)+_0x3eeafa[_0x5f4ad7(_0x371679._0x3d6b85,_0x371679._0x3d2e04)](_0x3de4f5[_0x5f4ad7(_0x371679._0x19bd9b,0x204)]['length']))['replace'](/\/+$/,'');return(_0x108751(_0x371679._0x46700e,_0x371679._0x2e7a66)+_0x3eeafa)[_0x5f4ad7(-_0x371679._0x2db514,-_0x371679._0x12cfb0)](/\/+$/,'');}function assessPairingCompatibility(_0x57f7c9,_0x177e82){const _0xdc301c={_0x5041e1:0x57,_0x1d027c:0x3ae,_0x48fa93:0x1f3,_0x310f5f:0x68f,_0x4a3c03:0x541,_0x2ebb11:0x436,_0x41c3b0:0x18b},_0x5d114e={_0x7ed17f:0x27e};function _0x2e4f3b(_0x65b234,_0x4c38e8){return _0x3a90bd(_0x4c38e8,_0x65b234-0x284);}function _0xc37458(_0x5ef94a,_0x15058a){return _0x3a90bd(_0x5ef94a,_0x15058a-_0x5d114e._0x7ed17f);}if(!_0x57f7c9)return _0xc37458(-_0xdc301c._0x5041e1,0x76)+'-new';if(_0x57f7c9[_0x2e4f3b(0x21d,_0xdc301c._0x1d027c)+'l']===_0x177e82)return _0x2e4f3b(0x306,_0xdc301c._0x48fa93)+_0xc37458(_0xdc301c._0x310f5f,_0xdc301c._0x4a3c03);return _0x2e4f3b(_0xdc301c._0x2ebb11,0x4ef)+_0x2e4f3b(_0xdc301c._0x41c3b0,0x413);}async function postJsonWithCloudflareFallback(_0x302550,_0x21eafe){const _0x23ca80={_0x3e9dbe:0xb46,_0xccafb1:0x89c,_0x54dd6b:0x7f3,_0x36f71f:0x82c,_0x41f4fa:0x598,_0x3bcb00:0x1e4,_0x2fe341:0x723},_0x43eec8={_0x283063:0x102},_0x33ee87={'zOZVs':function(_0x389094,_0x36be3d,_0x17f2a6){return _0x389094(_0x36be3d,_0x17f2a6);},'hxQBT':function(_0x2e3fba,_0x6febdd,_0x43dba6){return _0x2e3fba(_0x6febdd,_0x43dba6);}};function _0x10fef4(_0x1e4b4b,_0x29b3ae){return _0xb2a5b9(_0x29b3ae,_0x1e4b4b-_0x43eec8._0x283063);}const _0x272ba2=await _0x33ee87[_0x4669a1(_0x23ca80._0x3e9dbe,_0x23ca80._0xccafb1)](fetch,_0x302550,_0x21eafe),_0x4633d5=resolveCloudflareChallengeFallbackUrl(_0x302550,_0x272ba2);function _0x4669a1(_0x14746b,_0x456fef){return _0xb2a5b9(_0x14746b,_0x456fef-0x60e);}if(!_0x4633d5){const _0x20b737={};return _0x20b737[_0x4669a1(_0x23ca80._0x54dd6b,_0x23ca80._0x36f71f)]=_0x272ba2,_0x20b737[_0x4669a1(_0x23ca80._0x41f4fa,0x79d)+_0x10fef4(0x112,0xd0)]=_0x302550,_0x20b737[_0x4669a1(0x574,0x7ce)+_0x10fef4(0x5f,_0x23ca80._0x3bcb00)]=null,_0x20b737;}return{'response':await _0x33ee87[_0x4669a1(_0x23ca80._0x2fe341,0x5de)](fetch,_0x4633d5,_0x21eafe),'attemptedUrl':_0x302550,'fallbackUrl':_0x4633d5};}async function buildPairingRequestError(_0x4eaf0b,_0x673bd9){const _0x45c244={_0x32bf65:0x8cd,_0x32955b:0x8b4,_0x3c69a6:0x37,_0x222356:0x1ff,_0xbe8bce:0x825,_0x27133b:0x6a6,_0x3e1d85:0x4b,_0x1318a0:0x29a,_0xec1b70:0x4e2,_0x5970e8:0x161,_0x220b2e:0x7e3,_0x577cc1:0x7ee,_0x47d60d:0x10d,_0x524efe:0x7d8,_0x2b78b9:0x37,_0x41cc58:0x275,_0x27fd20:0x58,_0x1cb7d6:0xbc,_0x3460ff:0x4bc,_0x1bfe5f:0xd2,_0x4b1a1c:0xcd,_0x554c34:0x4dc,_0x38763:0x17e,_0x42534e:0x8b6,_0x2093fc:0x974,_0x1c894a:0x78,_0x30dfd2:0x761,_0x38526a:0x286,_0xb573a1:0x30,_0x5b1dff:0x213,_0x380df4:0xf6,_0x26a542:0x39b,_0x1c16cf:0x499,_0x52f481:0x4ea,_0x360ce7:0x2f8,_0xf39048:0x66,_0x57d9f0:0x8b4,_0x2e5e2c:0x887,_0x224d83:0x69e};function _0x2fc255(_0x264298,_0x2c6f7c){return _0x3a90bd(_0x264298,_0x2c6f7c-0x69d);}if(isCloudflareChallengeResponse(_0x673bd9[_0x2fc255(_0x45c244._0x32bf65,_0x45c244._0x32955b)])){const _0x40eefc=new URL(_0x673bd9[_0x2fc255(0x8dc,0x856)+_0x30fb57(_0x45c244._0x3c69a6,_0x45c244._0x222356)]??_0x673bd9[_0x2fc255(0xa66,_0x45c244._0xbe8bce)+_0x2fc255(0x7c5,_0x45c244._0x27133b)])[_0x30fb57(0x40,-_0x45c244._0x3e1d85)],_0x39d163=_0x673bd9[_0x30fb57(_0x45c244._0x1318a0,_0x45c244._0xec1b70)+_0x30fb57(_0x45c244._0x3c69a6,-0x107)]?_0x30fb57(0x3b0,_0x45c244._0x5970e8)+_0x2fc255(_0x45c244._0x220b2e,_0x45c244._0x577cc1)+_0x30fb57(-0x10d,_0x45c244._0x47d60d)+_0x673bd9[_0x2fc255(_0x45c244._0x524efe,0x856)+_0x30fb57(_0x45c244._0x2b78b9,-_0x45c244._0x41cc58)]+(_0x30fb57(-_0x45c244._0x27fd20,0xa4)+_0x30fb57(-0x3c,-0x32)+_0x30fb57(0xeb,_0x45c244._0x1cb7d6)+_0x2fc255(0x401,_0x45c244._0x3460ff)+'.'):'';return new Error(_0x4eaf0b+(_0x30fb57(-_0x45c244._0x1bfe5f,-_0x45c244._0x4b1a1c)+'(')+_0x673bd9['response'][_0x2fc255(0x3e8,_0x45c244._0x554c34)]+(_0x30fb57(-0x14a,-0x17e)+'flare\x20ch'+_0x30fb57(_0x45c244._0x38763,0x386)+_0x2fc255(_0x45c244._0x42534e,_0x45c244._0x2093fc)+'the\x20regi'+_0x2fc255(0xaa2,0x922)+_0x30fb57(_0x45c244._0x1c894a,0x324))+_0x40eefc+'.'+_0x39d163+(_0x2fc255(0x5e0,_0x45c244._0x30dfd2)+_0x30fb57(0x128,_0x45c244._0x38526a)+_0x30fb57(0x3f,-0x213)+'network\x20'+'or\x20use\x20a'+_0x30fb57(_0x45c244._0xb573a1,_0x45c244._0x5b1dff)+_0x30fb57(0x32d,0x297)+_0x30fb57(0x9d,_0x45c244._0x38526a)+_0x2fc255(0x944,0x8d7)+_0x30fb57(0x236,-0x75)+_0x30fb57(0x2e,-_0x45c244._0x380df4)+'\x20verific'+_0x2fc255(_0x45c244._0x26a542,_0x45c244._0x1c16cf)));}function _0x30fb57(_0x1c5001,_0x404b7b){return _0x3a90bd(_0x404b7b,_0x1c5001-0xe1);}return new Error(_0x4eaf0b+(_0x2fc255(0x2d6,_0x45c244._0x52f481)+'(')+_0x673bd9[_0x30fb57(_0x45c244._0x360ce7,0x278)]['status']+_0x30fb57(-0xb7,_0x45c244._0xf39048)+summarizeFailedResponse(await _0x673bd9[_0x2fc255(0x746,_0x45c244._0x57d9f0)][_0x2fc255(_0x45c244._0x2e5e2c,_0x45c244._0x224d83)]()));}function isCloudflareChallengeResponse(_0x593a5d){const _0x2de8f1={_0x27555a:0x5ee,_0x5cbb07:0x707,_0x1f4c06:0x6bb,_0x5305ca:0x139,_0x485714:0x6a3,_0x23b76b:0x46a,_0xb084ee:0x481,_0x39a4f2:0x6d8,_0x13ab46:0x297,_0xcad9c7:0x63f},_0x3d742e={_0x37c4fb:0x28c};function _0x53d7b2(_0x455c69,_0x5965b9){return _0x3a90bd(_0x455c69,_0x5965b9-0x5c7);}const _0x131893={};function _0x45c966(_0x25b99b,_0x547a40){return _0x3a90bd(_0x25b99b,_0x547a40-_0x3d742e._0x37c4fb);}_0x131893[_0x53d7b2(_0x2de8f1._0x27555a,_0x2de8f1._0x5cbb07)]=_0x45c966(-0x203,0x57)+_0x53d7b2(_0x2de8f1._0x1f4c06,0x5b1);const _0x8140e1=_0x131893;return _0x593a5d[_0x45c966(_0x2de8f1._0x5305ca,0xcb)]===0x193&&_0x593a5d[_0x45c966(_0x2de8f1._0x485714,_0x2de8f1._0x23b76b)][_0x53d7b2(_0x2de8f1._0xb084ee,0x4b5)](_0x8140e1[_0x53d7b2(0x8fe,_0x2de8f1._0x5cbb07)])?.[_0x53d7b2(_0x2de8f1._0x39a4f2,0x859)]()[_0x53d7b2(0x568,0x741)+_0x53d7b2(_0x2de8f1._0x13ab46,0x4d3)]()===_0x53d7b2(0x8c2,_0x2de8f1._0xcad9c7)+'e';}function resolveCloudflareChallengeFallbackUrl(_0x1527f1,_0x86cd5d){const _0xbbbbee={_0xe57584:0x793};if(!isCloudflareChallengeResponse(_0x86cd5d))return null;const _0x4ff5fe=new URL(_0x1527f1);function _0x4dd01c(_0x4285f1,_0x8540b3){return _0xb2a5b9(_0x4285f1,_0x8540b3-0x444);}function _0x390212(_0x1eefad,_0x286239){return _0xb2a5b9(_0x286239,_0x1eefad-0x682);}if(_0x4ff5fe[_0x390212(0x5e8,0x44b)]!==DEFAULT_REGISTRY_BASE)return null;return''+DEFAULT_REGISTRY_FALLBACK_BASE+_0x4ff5fe['pathname']+_0x4ff5fe[_0x4dd01c(_0xbbbbee._0xe57584,0x675)];}function summarizeFailedResponse(_0x4e7926){const _0x2a2a2f={_0x4f3494:0x7d3,_0x500684:0x5d8,_0x2dd308:0x683,_0x520bc8:0x8c1,_0x3a05f6:0x512,_0x475be5:0x5be},_0x393b23={_0x59701d:0x5a8};function _0x453924(_0xdf22b0,_0x5d4336){return _0x3a90bd(_0x5d4336,_0xdf22b0-_0x393b23._0x59701d);}const _0x51a87c=_0x4e7926['replace'](/\s+/g,'\x20')[_0x3645f0(0x922,_0x2a2a2f._0x4f3494)]();if(!_0x51a87c)return _0x3645f0(0x539,_0x2a2a2f._0x500684)+_0x453924(_0x2a2a2f._0x2dd308,_0x2a2a2f._0x520bc8)+'ody';function _0x3645f0(_0x2d9f24,_0x541221){return _0x3a90bd(_0x2d9f24,_0x541221-0x541);}if(_0x51a87c[_0x3645f0(_0x2a2a2f._0x3a05f6,0x5c8)]<=0xf0)return _0x51a87c;return _0x51a87c[_0x3645f0(0x5f4,0x7ce)](0x0,0xed)+_0x453924(0x838,_0x2a2a2f._0x475be5);}import{execFileSync,spawn}from'child_process';import{chmodSync,closeSync,existsSync as _0x3ffaef,mkdirSync as _0x19193e,openSync,readFileSync as _0x491827,realpathSync,rmSync as _0x2dd211,writeFileSync as _0x52ea0b}from'fs';import{homedir as _0x3efe4c}from'os';import{dirname,join as _0x27334e}from'path';import{setTimeout as _0x3a6e11}from'timers/promises';var SERVICE_LABEL='ai.clawk'+'et.bridg'+_0xb2a5b9(0x41,-0x168),SYSTEMD_UNIT_NAME=SERVICE_LABEL+_0x3a90bd(0x2ae,0x218),WINDOWS_RUN_KEY='ClawketB'+'ridgeCli',SERVICE_DIR=_0x27334e(_0x3efe4c(),_0xb2a5b9(-0x24c,-0x78)),LOG_DIR=_0x27334e(SERVICE_DIR,_0x3a90bd(0x24d,0x206)),SERVICE_STATE_PATH=_0x27334e(SERVICE_DIR,_0x3a90bd(-0x37d,-0x268)+_0xb2a5b9(-0x28e,0x20)+_0x3a90bd(-0xb2,0x26)),RUNTIME_REGISTRY_PATH=_0x27334e(SERVICE_DIR,'bridge-r'+_0x3a90bd(0x1b4,0x29f)+_0xb2a5b9(-0x27e,-0x1b)+'.json'),SERVICE_LAUNCHER_PATH=_0x27334e(SERVICE_DIR,_0xb2a5b9(-0x242,-0x36)+'launcher'+_0x3a90bd(0x43e,0x271)),LINUX_CRON_RECORD_PATH=_0x27334e(SERVICE_DIR,'bridge-s'+_0xb2a5b9(0x12d,0x23a)+_0xb2a5b9(0x344,0xb7)),SERVICE_LOG_PATH=_0x27334e(LOG_DIR,_0x3a90bd(-0x19b,-0xc0)+_0x3a90bd(0xce,0x156)),SERVICE_ERROR_LOG_PATH=_0x27334e(LOG_DIR,'bridge-c'+_0xb2a5b9(-0xf7,0x16c)+_0x3a90bd(-0x3ea,-0x15e)),MACOS_PLIST_PATH=_0x27334e(_0x3efe4c(),_0xb2a5b9(0x1,0x7d),'LaunchAg'+_0x3a90bd(0x6b,0xa8),SERVICE_LABEL+_0xb2a5b9(0x2ed,0x6c)),LINUX_SERVICE_PATH=_0x27334e(_0x3efe4c(),'.config',_0x3a90bd(0x33c,0x19f),_0xb2a5b9(0x4b1,0x2ed),SYSTEMD_UNIT_NAME),LINUX_CRON_MARKER=_0x3a90bd(-0x3f,-0x19b)+_0x3a90bd(-0x392,-0x1a7)+_0xb2a5b9(-0x155,-0x143);function getServiceProgramArgs(_0x385a83={},_0xd51236=process[_0x3a90bd(0xe8,0xda)]){const _0x32b551={_0x2e98d6:0x393,_0x26ace2:0x324,_0x2decd6:0x1d,_0x472c2b:0x46b,_0x134d96:0xf2,_0x15dc6b:0x743,_0x19c601:0x204,_0x4e3b21:0x410,_0x416430:0x2aa,_0x39d2ab:0x4af,_0x52577b:0x5a},_0x57d72c={_0x3bc093:0x92},_0x2578dd={_0x50368d:0x383},_0x5742b6={'ejhdO':_0x356a51(0x3be,_0x32b551._0x2e98d6),'TeGBA':function(_0x5b8837,_0x16d81d){return _0x5b8837(_0x16d81d);},'KzpQx':'run','ffScM':'--servic'+'e'},_0x4fe189=_0x385a83[_0xcb2e5a(-0x15a,-0x129)]?.[_0xcb2e5a(_0x32b551._0x26ace2,0x4b5)]()||process[_0xcb2e5a(_0x32b551._0x2decd6,0x2a2)],_0x27bc9c=resolveScriptPath(_0x385a83[_0x356a51(-0xce,0x146)+'th']);function _0x356a51(_0x2a2437,_0x1ab593){return _0x3a90bd(_0x2a2437,_0x1ab593-_0x2578dd._0x50368d);}if(!_0x27bc9c)throw new Error('Unable\x20t'+_0x356a51(0x411,0x4db)+_0x356a51(_0x32b551._0x472c2b,0x671)+_0xcb2e5a(0xa8,-_0x32b551._0x134d96)+_0x356a51(_0x32b551._0x15dc6b,0x515)+'rvice\x20in'+_0x356a51(0x126,0x247)+'on.');function _0xcb2e5a(_0x277f2e,_0x55a5ef){return _0x3a90bd(_0x55a5ef,_0x277f2e-_0x57d72c._0x3bc093);}if(_0xd51236!==_0x5742b6[_0x356a51(0x2d2,0x42e)]){const _0xb938a7={};_0xb938a7[_0x356a51(0x208,0x197)]=_0x4fe189,_0xb938a7['scriptPa'+'th']=_0x27bc9c,_0xb938a7[_0xcb2e5a(_0x32b551._0x19c601,_0x32b551._0x4e3b21)]=process.env.PATH??'';const _0x88c7ab=_0x5742b6[_0xcb2e5a(0x2a2,_0x32b551._0x416430)](writeServiceLauncher,_0xb938a7);return ensureLaunchScriptExecutable(_0x88c7ab,_0xd51236),[_0x88c7ab];}return[_0x4fe189,_0x27bc9c,_0x5742b6[_0x356a51(0x671,_0x32b551._0x39d2ab)],_0x5742b6[_0xcb2e5a(_0x32b551._0x52577b,0xf1)]];}function getServiceStatus(){const _0x3d9e79={_0x390000:0x2e8,_0x483d77:0x462,_0x364400:0x366,_0x1ba146:0x85,_0x1612f8:0x194,_0x1b8db3:0x3bd,_0x51d4f0:0x4ff,_0x46ac23:0x634,_0x5cbb7c:0x526,_0x56858d:0x492,_0x5e4e14:0x63c,_0x5c004a:0x3d6,_0x1e14b8:0x474,_0x51fe05:0x4d0,_0x4d5b5c:0x4fc,_0x4bf296:0x315,_0xd084eb:0xf,_0xeed560:0x500,_0xc27a30:0x3b9,_0x3edf4e:0x25d,_0x46b44:0x1c5,_0x30ad0a:0x131,_0x5618dc:0x2c,_0x1c6159:0x44b,_0x2f5f0c:0x2c9,_0xf948f:0x46b,_0x40c9c4:0x3,_0x21a5ec:0x4d8,_0x2f6549:0x4a7,_0x349dc5:0x3a4},_0x1a5480={_0x5846f5:0x246},_0x1709c4={'THjry':function(_0x1c12c0,_0x1a43bc){return _0x1c12c0!=_0x1a43bc;},'jQxgg':function(_0x439ecd,_0x58c9c3){return _0x439ecd(_0x58c9c3);},'VaMZX':function(_0x2f4ed4,_0x31a035){return _0x2f4ed4(_0x31a035);},'vAEyE':_0x1a168d(0x2b2,_0x3d9e79._0x390000)+'l','hhMoZ':_0x225397(0x264,0x279),'BTqYv':_0x1a168d(_0x3d9e79._0x483d77,_0x3d9e79._0x364400)+_0x225397(0x573,0x34e)+'crosoft\x5c'+_0x225397(_0x3d9e79._0x1ba146,_0x3d9e79._0x1612f8)+'CurrentV'+_0x225397(0x2a7,_0x3d9e79._0x1b8db3)+'un'};function _0x1a168d(_0x4bdff7,_0x589f1d){return _0xb2a5b9(_0x4bdff7,_0x589f1d-0x2e4);}ensureServiceDirs();const _0x1029fc=readServiceState()?.['pid']??null,_0x2f59d0=detectServiceMethod(),_0x5e66b4={'installed':![],'running':_0x1709c4[_0x225397(0x2b8,_0x3d9e79._0x51d4f0)](_0x1029fc,null)&&_0x1709c4['jQxgg'](isPidRunning,_0x1029fc),'method':_0x2f59d0,'servicePath':_0x1709c4[_0x225397(_0x3d9e79._0x46ac23,_0x3d9e79._0x5cbb7c)](getServicePath,_0x2f59d0),'logPath':SERVICE_LOG_PATH,'errorLogPath':SERVICE_ERROR_LOG_PATH,'pid':_0x1029fc};function _0x225397(_0x25cf81,_0x57b2a7){return _0xb2a5b9(_0x25cf81,_0x57b2a7-_0x1a5480._0x5846f5);}_0x5e66b4[_0x225397(0x29d,0x3d6)]!=null&&!_0x5e66b4['running']&&(_0x1709c4[_0x225397(_0x3d9e79._0x56858d,0x526)](clearServiceState,_0x5e66b4[_0x225397(_0x3d9e79._0x5e4e14,_0x3d9e79._0x5c004a)]),_0x5e66b4[_0x1a168d(0x2c8,_0x3d9e79._0x1e14b8)]=null);switch(_0x5e66b4[_0x1a168d(_0x3d9e79._0x51fe05,_0x3d9e79._0x4d5b5c)]){case _0x225397(_0x3d9e79._0x4bf296,0x178)+_0x1a168d(-_0x3d9e79._0xd084eb,0x93):_0x5e66b4[_0x1a168d(_0x3d9e79._0xeed560,0x25d)+'d']=_0x3ffaef(MACOS_PLIST_PATH);_0x5e66b4[_0x1a168d(_0x3d9e79._0xc27a30,_0x3d9e79._0x3edf4e)+'d']&&(_0x5e66b4[_0x1a168d(0x30b,0x44b)]=commandSucceeds(_0x1709c4[_0x225397(0x83,_0x3d9e79._0x46b44)],['list',SERVICE_LABEL])||_0x5e66b4[_0x225397(0x4da,0x3ad)]);return _0x5e66b4;case _0x1a168d(-0x4d,_0x3d9e79._0x30ad0a)+'user':_0x5e66b4[_0x1a168d(_0x3d9e79._0x5618dc,0x25d)+'d']=_0x3ffaef(LINUX_SERVICE_PATH);_0x5e66b4['installe'+'d']&&(_0x5e66b4[_0x1a168d(0x1c2,_0x3d9e79._0x1c6159)]=commandSucceeds('systemct'+'l',[_0x225397(_0x3d9e79._0x2f5f0c,0x321),_0x1a168d(0x2e4,_0x3d9e79._0xf948f)+'e','--quiet',SYSTEMD_UNIT_NAME])||_0x5e66b4[_0x1a168d(0x2dc,0x44b)]);return _0x5e66b4;case'linux-cr'+'ontab':_0x5e66b4[_0x1a168d(-_0x3d9e79._0x40c9c4,_0x3d9e79._0x3edf4e)+'d']=hasLinuxCronRegistration();return _0x5e66b4;case'windows-'+_0x1a168d(_0x3d9e79._0x21a5ec,_0x3d9e79._0x2f6549)+'stry':_0x5e66b4[_0x225397(0x17e,0x1bf)+'d']=commandSucceeds(_0x1709c4['hhMoZ'],[_0x1a168d(_0x3d9e79._0x349dc5,0x230),_0x1709c4[_0x225397(0x353,0x4c1)],'/v',WINDOWS_RUN_KEY]);return _0x5e66b4;default:return _0x5e66b4;}}function installService(_0x168fa8={}){const _0x21a8fc={_0x51d0df:0x4dc,_0x4766e9:0x5e0,_0x438270:0x112,_0x54eda3:0x775,_0x5d3fa2:0x5b9,_0x32e5b9:0x1dc,_0x4f4a3c:0x2ff,_0x622daa:0x52a,_0x279a42:0x345,_0x2c6405:0xe2,_0x75deaa:0x6d6,_0x3aa34c:0x4ef,_0x130451:0x116,_0x17d5db:0x3be,_0x38063e:0x50b,_0x2c0c27:0x532,_0xd0c5c:0x35e,_0x2d6617:0x525,_0x4a8046:0x21d,_0x2659f4:0x429,_0x4f756a:0x6e,_0x3ace88:0x51a,_0x3b2c32:0x5e,_0x2a0818:0x1f5},_0x8037ac={_0x28371c:0x4d8},_0x57d1a1={_0x358d79:0xde},_0xe9e273={'csIvC':_0x481fff(0x418,_0x21a8fc._0x51d0df)+'l','VRmeA':'unload','GNcxy':function(_0x49bf0,_0xfbc01d,_0x3979e7,_0x398828){return _0x49bf0(_0xfbc01d,_0x3979e7,_0x398828);},'xcDSk':function(_0x5e6e76){return _0x5e6e76();},'caLrz':_0x40d4c5(0x160,-0x2d)+_0x481fff(0x4b0,_0x21a8fc._0x4766e9)+_0x481fff(0x690,0x780)+_0x481fff(0x3b5,0x426)+_0x481fff(_0x21a8fc._0x438270,0x2c5)+_0x40d4c5(0x255,0x250)+'un'};function _0x40d4c5(_0xb916b1,_0x3cfbc7){return _0xb2a5b9(_0x3cfbc7,_0xb916b1-_0x57d1a1._0x358d79);}ensureServiceDirs();const _0x69d1e4=getServiceProgramArgs(_0x168fa8);switch(process[_0x481fff(_0x21a8fc._0x54eda3,_0x21a8fc._0x5d3fa2)]){case _0x481fff(0x5f0,0x53a):_0x52ea0b(MACOS_PLIST_PATH,buildMacosPlist(_0x69d1e4,SERVICE_LOG_PATH,SERVICE_ERROR_LOG_PATH),_0x481fff(0x3b0,0x3d9)),execIgnoreFailure(_0xe9e273['csIvC'],[_0xe9e273[_0x40d4c5(0xa7,_0x21a8fc._0x32e5b9)],'-w',MACOS_PLIST_PATH]);const _0x4ab3fa={};_0x4ab3fa[_0x481fff(0x10b,_0x21a8fc._0x4f4a3c)]=_0x481fff(0x379,_0x21a8fc._0x622daa),_0xe9e273[_0x481fff(0x276,_0x21a8fc._0x279a42)](execFileSync,_0x40d4c5(_0x21a8fc._0x2c6405,-0x12)+'l',['load','-w',MACOS_PLIST_PATH],_0x4ab3fa);break;case _0x481fff(0x6fa,_0x21a8fc._0x75deaa):installLinuxService(_0x69d1e4);break;case _0x481fff(0x6fa,_0x21a8fc._0x3aa34c):_0xe9e273[_0x481fff(_0x21a8fc._0x130451,_0x21a8fc._0x17d5db)](stopRunningProcess);const _0x494eef={};_0x494eef[_0x40d4c5(-0xfb,-0x241)]=_0x481fff(0x7d5,0x52a),execFileSync(_0x481fff(0x2bf,_0x21a8fc._0x38063e),['add',_0xe9e273[_0x481fff(0x444,_0x21a8fc._0x2c0c27)],'/v',WINDOWS_RUN_KEY,'/t',_0x481fff(_0x21a8fc._0xd0c5c,_0x21a8fc._0x2d6617),'/d',buildWindowsRunCommand(_0x69d1e4),'/f'],_0x494eef),startDetachedWindowsService(_0x69d1e4);break;default:throw new Error(_0x40d4c5(_0x21a8fc._0x4a8046,0x29d)+_0x481fff(_0x21a8fc._0x2659f4,0x49d)+_0x40d4c5(-_0x21a8fc._0x4f756a,0x69)+_0x481fff(_0x21a8fc._0x3ace88,0x4ff)+_0x40d4c5(-0x15c,0x73)+_0x40d4c5(_0x21a8fc._0x3b2c32,_0x21a8fc._0x2a0818)+'n:\x20'+process['platform']);}function _0x481fff(_0x2a784f,_0x4c520b){return _0xb2a5b9(_0x2a784f,_0x4c520b-_0x8037ac._0x28371c);}return getServiceStatus();}function restartService(_0xa9637={}){const _0x3fa49b={_0x4ab06a:0x45,_0x4aa99a:0xd,_0x491558:0x288,_0x399da6:0x2a4,_0x720b35:0x1e4,_0x9190fe:0x253,_0x41263d:0x262,_0x37aa5a:0x40,_0x2ed6a5:0x222,_0xe32a7d:0x173,_0x50c400:0x9,_0x2fc714:0x3fc,_0x517c8b:0x16c,_0x5606f9:0x233,_0x1e2ce8:0x33,_0x335112:0x2ba,_0xbbc633:0x39,_0x1efa35:0x34a,_0x17c05d:0xa,_0x2c7750:0x1b0,_0x3e4979:0x159,_0x2226a0:0x4f8,_0x84be9:0xf6,_0x2c352f:0x260,_0xb2c10a:0x328,_0x13cb7a:0x98};function _0x56028e(_0x59321c,_0x2c97f1){return _0x3a90bd(_0x59321c,_0x2c97f1- -0x42);}function _0x55524c(_0x1d88c5,_0xf00abb){return _0x3a90bd(_0x1d88c5,_0xf00abb-0x249);}const _0x240144={'IAtBs':_0x56028e(-0x16c,-_0x3fa49b._0x4ab06a)+'l','LXlss':_0x55524c(0x3fc,0x4ff),'UfBNV':_0x56028e(0x2b4,0x1b5),'neCni':_0x55524c(0x169,0x259),'prZhr':function(_0x588a1a){return _0x588a1a();},'dOzKG':function(_0x4baa43,_0x109807,_0x284d01,_0x41af2d){return _0x4baa43(_0x109807,_0x284d01,_0x41af2d);},'sowvo':_0x55524c(-_0x3fa49b._0x4aa99a,0x275),'oDxYI':function(_0x406e1e,_0x234aa6){return _0x406e1e(_0x234aa6);}};ensureServiceDirs();const _0x1514ba=getServiceProgramArgs(_0xa9637);switch(process['platform']){case _0x55524c(_0x3fa49b._0x491558,_0x3fa49b._0x399da6):if(!_0x3ffaef(MACOS_PLIST_PATH))return installService(_0xa9637);_0x52ea0b(MACOS_PLIST_PATH,buildMacosPlist(_0x1514ba,SERVICE_LOG_PATH,SERVICE_ERROR_LOG_PATH),_0x55524c(0x82,0x143)),execIgnoreFailure(_0x56028e(_0x3fa49b._0x720b35,-0x45)+'l',[_0x56028e(-_0x3fa49b._0x9190fe,-0xf6),'-w',MACOS_PLIST_PATH]);const _0x1c6287={};_0x1c6287['stdio']='ignore',execFileSync(_0x240144['IAtBs'],[_0x240144[_0x56028e(-0x4a8,-_0x3fa49b._0x41263d)],'-w',MACOS_PLIST_PATH],_0x1c6287);break;case _0x240144[_0x56028e(-_0x3fa49b._0x37aa5a,0x52)]:restartLinuxService(_0x1514ba);break;case _0x240144[_0x55524c(-0xea,0x22)]:_0x240144['prZhr'](stopRunningProcess);const _0x2a1034={};_0x2a1034[_0x56028e(-0x284,-_0x3fa49b._0x2ed6a5)]=_0x56028e(_0x3fa49b._0xe32a7d,_0x3fa49b._0x50c400),_0x240144[_0x55524c(-0xc7,0x1d7)](execFileSync,_0x240144[_0x55524c(_0x3fa49b._0x2fc714,_0x3fa49b._0x517c8b)],[_0x56028e(_0x3fa49b._0x5606f9,-_0x3fa49b._0x1e2ce8),_0x56028e(_0x3fa49b._0x335112,_0x3fa49b._0xbbc633)+_0x55524c(0x1b3,_0x3fa49b._0x1efa35)+_0x56028e(0x483,0x25f)+_0x55524c(0x2d,0x190)+_0x55524c(_0x3fa49b._0x17c05d,0x2f)+_0x56028e(_0x3fa49b._0x2c7750,0x12e)+'un','/v',WINDOWS_RUN_KEY,'/t',_0x55524c(_0x3fa49b._0x3e4979,0x28f),'/d',_0x240144[_0x55524c(0x293,_0x3fa49b._0x2226a0)](buildWindowsRunCommand,_0x1514ba),'/f'],_0x2a1034),startDetachedWindowsService(_0x1514ba);break;default:throw new Error(_0x56028e(0x20d,_0x3fa49b._0x84be9)+_0x55524c(0x298,0x207)+'form\x20for'+'\x20CLI\x20ser'+'vice\x20res'+_0x56028e(_0x3fa49b._0x2c352f,0x158)+process[_0x56028e(_0x3fa49b._0xb2c10a,_0x3fa49b._0x13cb7a)]);}return getServiceStatus();}async function startTransientRuntime(_0x183bcd={}){const _0x57423d={_0x3fc9f2:0x6e8,_0x504475:0x48a,_0x2ce2b1:0x746,_0x150e7c:0x438,_0xa7bca5:0x675,_0x222094:0x265,_0xe85cd4:0x79b,_0x413117:0x797},_0x38d724={_0x322dcf:0x607};ensureServiceDirs();function _0x47b906(_0xe6cba8,_0x4dd5db){return _0xb2a5b9(_0x4dd5db,_0xe6cba8-0x473);}const _0x318f04=getServiceProgramArgs(_0x183bcd);function _0x2c8408(_0x1a7ece,_0x409d0f){return _0xb2a5b9(_0x1a7ece,_0x409d0f-_0x38d724._0x322dcf);}switch(process[_0x2c8408(0x7a0,_0x57423d._0x3fc9f2)]){case'darwin':case _0x47b906(0x671,0x3c6):startDetachedPosixService(_0x318f04);break;case _0x47b906(_0x57423d._0x504475,0x71d):startDetachedWindowsService(_0x318f04);break;default:throw new Error(_0x2c8408(0x582,_0x57423d._0x2ce2b1)+_0x47b906(_0x57423d._0x150e7c,_0x57423d._0xa7bca5)+_0x47b906(0x327,_0x57423d._0x222094)+'\x20transie'+_0x47b906(0x510,0x668)+'untime\x20s'+_0x2c8408(_0x57423d._0xe85cd4,0x7a8)+process[_0x2c8408(_0x57423d._0x413117,_0x57423d._0x3fc9f2)]);}return waitForRuntimeState();}function uninstallService(){const _0x19cab8={_0x19c980:0x83b,_0x1050d7:0x759,_0x8859a2:0x516,_0x497ddc:0x34f,_0x547883:0x1fb,_0x5d88dd:0x585,_0x508949:0x650,_0x44091c:0x2ba,_0x4c8ff5:0x7b8,_0x21be0e:0x50d,_0x5ae40c:0x739,_0x58259e:0x508,_0x578118:0x4b7,_0x581fef:0x59e,_0x500d7d:0x75f,_0x302d62:0x326,_0x4b4dfc:0x14c,_0xb24d15:0x2b4,_0x1b41bd:0x79a,_0x22c1da:0x7b2,_0x57976a:0x672,_0x4ce951:0x16a,_0x3dacac:0x6c5},_0x4f11c9={_0x4e351:0x40e};function _0x5cb68f(_0x2fd734,_0x16e7bd){return _0xb2a5b9(_0x16e7bd,_0x2fd734-_0x4f11c9._0x4e351);}const _0x44cd3e={'EaWUV':function(_0x49c4b8){return _0x49c4b8();},'joVOZ':function(_0x25b0bd,_0x4ca643,_0x20c105){return _0x25b0bd(_0x4ca643,_0x20c105);},'KpzmX':'unload','FIjvX':_0x22f4bb(0x653,0x4f1),'OAMOu':_0x22f4bb(_0x19cab8._0x19c980,_0x19cab8._0x1050d7)+_0x5cb68f(_0x19cab8._0x8859a2,_0x19cab8._0x497ddc)+'crosoft\x5c'+'Windows\x5c'+_0x5cb68f(_0x19cab8._0x547883,0xb6)+_0x5cb68f(_0x19cab8._0x5d88dd,_0x19cab8._0x508949)+'un'};function _0x22f4bb(_0x45d965,_0x13f7fe){return _0xb2a5b9(_0x45d965,_0x13f7fe-0x6d7);}_0x44cd3e[_0x5cb68f(0x504,_0x19cab8._0x44091c)](stopRunningProcess);switch(process[_0x22f4bb(0x9a6,_0x19cab8._0x4c8ff5)]){case _0x22f4bb(_0x19cab8._0x21be0e,_0x19cab8._0x5ae40c):_0x44cd3e[_0x5cb68f(_0x19cab8._0x58259e,_0x19cab8._0x578118)](execIgnoreFailure,'launchct'+'l',[_0x44cd3e[_0x22f4bb(_0x19cab8._0x581fef,0x514)],'-w',MACOS_PLIST_PATH]),rmIfExists(MACOS_PLIST_PATH);break;case _0x22f4bb(0xa2d,0x8d5):_0x3ffaef(LINUX_SERVICE_PATH)&&(_0x44cd3e['joVOZ'](execIgnoreFailure,_0x22f4bb(_0x19cab8._0x500d7d,0x57d)+'l',[_0x22f4bb(0x929,0x7b2),_0x44cd3e[_0x5cb68f(_0x19cab8._0x302d62,_0x19cab8._0x4b4dfc)],_0x5cb68f(0x5e5,0x55f),SYSTEMD_UNIT_NAME]),rmIfExists(LINUX_SERVICE_PATH),execIgnoreFailure(_0x5cb68f(_0x19cab8._0xb24d15,0x28f)+'l',[_0x22f4bb(_0x19cab8._0x1b41bd,_0x19cab8._0x22c1da),_0x22f4bb(_0x19cab8._0x57976a,0x697)+_0x5cb68f(0x3e3,_0x19cab8._0x4ce951)]));removeLinuxCronRegistration();break;case _0x5cb68f(0x425,0x28d):execIgnoreFailure('reg',['delete',_0x44cd3e[_0x22f4bb(0x7d2,_0x19cab8._0x3dacac)],'/v',WINDOWS_RUN_KEY,'/f']);break;default:break;}return clearServiceState(),getServiceStatus();}function stopService(){const _0x7e707={_0x5ec793:0x48e,_0xae8dd4:0x472,_0x106cd7:0x21a,_0x2d5b09:0x1a7,_0x3b2d09:0x19b,_0x2f2255:0x337,_0x1aedc9:0x5f,_0x1cac27:0x23e,_0x2f08c7:0x3ef,_0x5cadd6:0x545},_0x2ed8a8={_0x523d5a:0x139},_0x1b32f9={'MJSjs':function(_0x51f277){return _0x51f277();},'sdnXn':_0x37bfd7(_0x7e707._0x5ec793,_0x7e707._0xae8dd4),'aiBtF':'win32'};function _0xfc75c9(_0x1f18cc,_0x367f90){return _0xb2a5b9(_0x367f90,_0x1f18cc-_0x2ed8a8._0x523d5a);}function _0x37bfd7(_0xe5cf2a,_0x218325){return _0xb2a5b9(_0xe5cf2a,_0x218325-0x2e6);}_0x1b32f9['MJSjs'](stopRunningProcess);switch(process[_0xfc75c9(_0x7e707._0x106cd7,_0x7e707._0x2d5b09)]){case _0xfc75c9(_0x7e707._0x3b2d09,0xf6):_0x3ffaef(MACOS_PLIST_PATH)&&execIgnoreFailure('launchct'+'l',['unload',MACOS_PLIST_PATH]);break;case _0xfc75c9(_0x7e707._0x2f2255,0x138):_0x3ffaef(LINUX_SERVICE_PATH)&&execIgnoreFailure('systemct'+'l',[_0xfc75c9(0x214,-_0x7e707._0x1aedc9),_0x1b32f9[_0xfc75c9(_0x7e707._0x1cac27,_0x7e707._0x2f08c7)],SYSTEMD_UNIT_NAME]);break;case _0x1b32f9[_0x37bfd7(0x687,0x462)]:break;default:break;}return clearServiceState(),_0x1b32f9[_0x37bfd7(_0x7e707._0x5cadd6,_0x7e707._0x2f08c7)](getServiceStatus);}function writeServiceState(_0x591d3c=process[_0x3a90bd(-0x112,0x189)]){const _0x27a6e4={_0x5b5337:0x270,_0x233a36:0x2b1,_0x585efa:0x1ba,_0x42011f:0x7a1,_0x32d287:0x84c,_0x3bf94e:0x5d9},_0x376f7b={_0x3f017f:0x524},_0x596562={_0x4bd436:0x376},_0x533672={};function _0x37cd53(_0x5b06c6,_0x44ab09){return _0x3a90bd(_0x5b06c6,_0x44ab09-_0x596562._0x4bd436);}_0x533672['JNyud']=function(_0x2e2028,_0x1b57f0){return _0x2e2028+_0x1b57f0;},_0x533672[_0xa46937(0x696,0x5d9)]=_0x37cd53(0x405,_0x27a6e4._0x5b5337);function _0xa46937(_0x19a862,_0x3482e7){return _0x3a90bd(_0x19a862,_0x3482e7-_0x376f7b._0x3f017f);}const _0x5a2eb4=_0x533672;ensureServiceDirs();const _0x124c97={'pid':_0x591d3c,'startedAt':new Date()['toISOStr'+_0x37cd53(_0x27a6e4._0x233a36,_0x27a6e4._0x585efa)]()};_0x52ea0b(SERVICE_STATE_PATH,_0x5a2eb4[_0xa46937(0x28f,0x414)](JSON[_0xa46937(0x965,_0x27a6e4._0x42011f)+'y'](_0x124c97,null,0x2),'\x0a'),_0x5a2eb4[_0xa46937(_0x27a6e4._0x32d287,_0x27a6e4._0x3bf94e)]);}function registerRuntimeProcess(_0x367c90){const _0x2d5027={_0x4f8f9e:0x293,_0x22284f:0x2c,_0x3d4dff:0x1e6,_0x17513c:0x1d,_0x395b5a:0x18a,_0x46a800:0x2fd,_0x4c29d7:0xd6,_0x3e76f1:0x2a1,_0x222cea:0x382,_0x439f29:0x31f},_0x4dbd37={_0x239904:0x103},_0x52c98f={_0x411069:0x39b};ensureServiceDirs();function _0x2188cd(_0x2bcde1,_0x487782){return _0xb2a5b9(_0x2bcde1,_0x487782-_0x52c98f._0x411069);}function _0x2107f1(_0x409992,_0x90f81b){return _0xb2a5b9(_0x90f81b,_0x409992-_0x4dbd37._0x239904);}const _0x3606b7={'pid':_0x367c90[_0x2107f1(0x293,0x3fd)]??process[_0x2107f1(_0x2d5027._0x4f8f9e,_0x2d5027._0x22284f)],'startedAt':_0x367c90[_0x2107f1(0x221,0x49)+'t']??new Date()[_0x2107f1(0x2c4,0x396)+_0x2188cd(0x2f2,_0x2d5027._0x3d4dff)](),'gatewayId':_0x367c90[_0x2188cd(_0x2d5027._0x17513c,_0x2d5027._0x395b5a)+'d'],'instanceId':_0x367c90[_0x2107f1(-0x130,-_0x2d5027._0x46a800)+'Id'],'serviceMode':_0x367c90[_0x2107f1(-0xce,_0x2d5027._0x4c29d7)+_0x2107f1(_0x2d5027._0x3e76f1,_0x2d5027._0x222cea)],'scriptPath':resolveScriptPath(_0x367c90['scriptPa'+'th'])},_0x54e476=readRuntimeRegistry()[_0x2107f1(_0x2d5027._0x439f29,0x421)](_0x4a372a=>_0x4a372a[_0x2188cd(0x290,0x52b)]!==_0x3606b7['pid'])['concat'](_0x3606b7);writeRuntimeRegistry(_0x54e476);}function unregisterRuntimeProcess(_0x49ab2e=process['pid']){function _0x4f9c83(_0x43a097,_0x139ebc){return _0x3a90bd(_0x43a097,_0x139ebc-0x73e);}const _0x2e87b8=readRuntimeRegistry()[_0x4f9c83(0xa03,0x953)](_0x329474=>_0x329474['pid']!==_0x49ab2e);writeRuntimeRegistry(_0x2e87b8);}function _0x346a(_0x1c0468,_0x3a3f44){_0x1c0468=_0x1c0468-0x10c;const _0x2946d1=_0x2cc1();let _0x47f9c5=_0x2946d1[_0x1c0468];if(_0x346a['rRdZSR']===undefined){var _0x162df0=function(_0x1040a2){const _0x2ab523='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x43eed9='',_0x43c05a='',_0x1d21cf=_0x43eed9+_0x162df0;for(let _0xc8cb34=0x0,_0x18afcb,_0x5c4fe0,_0x59f33c=0x0;_0x5c4fe0=_0x1040a2['charAt'](_0x59f33c++);~_0x5c4fe0&&(_0x18afcb=_0xc8cb34%0x4?_0x18afcb*0x40+_0x5c4fe0:_0x5c4fe0,_0xc8cb34++%0x4)?_0x43eed9+=_0x1d21cf['charCodeAt'](_0x59f33c+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x18afcb>>(-0x2*_0xc8cb34&0x6)):_0xc8cb34:0x0){_0x5c4fe0=_0x2ab523['indexOf'](_0x5c4fe0);}for(let _0x25e71b=0x0,_0x4adff1=_0x43eed9['length'];_0x25e71b<_0x4adff1;_0x25e71b++){_0x43c05a+='%'+('00'+_0x43eed9['charCodeAt'](_0x25e71b)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x43c05a);};_0x346a['CTPaeT']=_0x162df0,_0x346a['YUnObc']={},_0x346a['rRdZSR']=!![];}const _0x2cc1d5=_0x2946d1[0x0],_0x346adc=_0x1c0468+_0x2cc1d5,_0x2dd8a7=_0x346a['YUnObc'][_0x346adc];if(!_0x2dd8a7){const _0x2dae48=function(_0x411e17){this['YSXjmF']=_0x411e17,this['EIFfNX']=[0x1,0x0,0x0],this['NQKbkZ']=function(){return'newState';},this['PRHhkl']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['YppsZB']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x2dae48['prototype']['cXVfhM']=function(){const _0x54df31=new RegExp(this['PRHhkl']+this['YppsZB']),_0xd95ea7=_0x54df31['test'](this['NQKbkZ']['toString']())?--this['EIFfNX'][0x1]:--this['EIFfNX'][0x0];return this['oTUKYk'](_0xd95ea7);},_0x2dae48['prototype']['oTUKYk']=function(_0x3bec63){if(!Boolean(~_0x3bec63))return _0x3bec63;return this['zJpPqE'](this['YSXjmF']);},_0x2dae48['prototype']['zJpPqE']=function(_0x1a7dc5){for(let _0xc6eb71=0x0,_0xf1e5c2=this['EIFfNX']['length'];_0xc6eb71<_0xf1e5c2;_0xc6eb71++){this['EIFfNX']['push'](Math['round'](Math['random']())),_0xf1e5c2=this['EIFfNX']['length'];}return _0x1a7dc5(this['EIFfNX'][0x0]);},new _0x2dae48(_0x346a)['cXVfhM'](),_0x47f9c5=_0x346a['CTPaeT'](_0x47f9c5),_0x346a['YUnObc'][_0x346adc]=_0x47f9c5;}else _0x47f9c5=_0x2dd8a7;return _0x47f9c5;}function isAutostartUnsupportedError(_0x2170a3){const _0xad15e7={_0x2cfd34:0x46,_0x393839:0x255,_0xf6c203:0x1f8,_0xcec324:0x177,_0x53144e:0x329,_0x19a4b7:0x319,_0xb47a2c:0xbc,_0x3072a9:0x63},_0x29d27e={_0x39cae3:0x6f};function _0x5e3f58(_0x58c4d3,_0x4ef756){return _0xb2a5b9(_0x58c4d3,_0x4ef756-0x3fd);}const _0x5736e2=formatError(_0x2170a3)['toLowerC'+_0x3ed6d4(_0xad15e7._0x2cfd34,-0x15c)]();function _0x3ed6d4(_0x51d1dd,_0x19e437){return _0xb2a5b9(_0x51d1dd,_0x19e437- -_0x29d27e._0x39cae3);}return _0x5736e2['includes']('no\x20cront'+_0x3ed6d4(_0xad15e7._0x393839,_0xad15e7._0xf6c203)+'ack\x20is\x20a'+_0x5e3f58(0x7d7,0x6f3))||_0x5736e2[_0x5e3f58(0x57c,0x301)](_0x3ed6d4(_0xad15e7._0xcec324,0x94)+_0x5e3f58(_0xad15e7._0x53144e,0x3c2)+_0x3ed6d4(-0x1da,-0x1bb)+_0x3ed6d4(_0xad15e7._0x19a4b7,0x12e)+_0x3ed6d4(_0xad15e7._0xb47a2c,-_0xad15e7._0x3072a9));}function listRuntimeProcesses(_0x26b58a={}){const _0x8ba21a={_0x326806:0x52c,_0x3ba76e:0x2bd,_0xc2e4bf:0x86d,_0x388708:0x779,_0x3d3db5:0x6b4,_0x32a80f:0x900,_0x5f547e:0x71d},_0x3493dc={_0x216afd:0x6e4},_0x365c64=resolveScriptPath(_0x26b58a[_0x4b9516(_0x8ba21a._0x326806,_0x8ba21a._0x3ba76e)+'th']);function _0x159e22(_0x4f911f,_0x4d147a){return _0xb2a5b9(_0x4d147a,_0x4f911f-_0x3493dc._0x216afd);}const _0x2b3ea9=readRuntimeRegistry(),_0x1f940b=[..._0x2b3ea9],_0x573d17=new Set(_0x2b3ea9[_0x159e22(_0x8ba21a._0xc2e4bf,0x842)](_0x1bda0e=>_0x1bda0e[_0x159e22(0x874,0xa4f)]));function _0x4b9516(_0x318774,_0x3e6e60){return _0xb2a5b9(_0x318774,_0x3e6e60-0x4f3);}for(const _0x239c16 of listPosixRuntimePids(_0x365c64)){if(_0x573d17['has'](_0x239c16))continue;_0x1f940b[_0x4b9516(_0x8ba21a._0x388708,0x506)]({'pid':_0x239c16,'startedAt':new Date(0x0)[_0x4b9516(0x6aa,_0x8ba21a._0x3d3db5)+_0x159e22(0x52f,0x6fd)](),'gatewayId':'','instanceId':'','serviceMode':![],'scriptPath':_0x365c64});}return _0x1f940b[_0x159e22(_0x8ba21a._0x32a80f,0xa47)](_0x11c3dd=>isPidRunning(_0x11c3dd['pid']))[_0x4b9516(0x5d5,_0x8ba21a._0x5f547e)]((_0x3b2a69,_0x5ceece)=>_0x3b2a69['pid']-_0x5ceece[_0x4b9516(0x683,0x683)]);}function stopRuntimeProcesses(_0x106547={}){const _0x498953={_0x33ac3f:0x3f,_0x141c74:0x515,_0x28d9d3:0x598,_0x8afee0:0x2ef,_0x1b833e:0x19a,_0x1544e8:0x5e7,_0xa86286:0x5b5,_0x1e7822:0x39f,_0x3856c1:0x58b,_0x9d84c2:0x4ef,_0x483997:0xf3,_0x45c6b8:0x8cb,_0x551f47:0x647,_0x179e83:0x3b6,_0x340235:0xc9,_0x3ef927:0x50c},_0x346e95={_0x5781f4:0x4b7},_0x39d372={_0x312956:0x29},_0x25791b={'PiKDJ':_0x58d8f8(-0x12,-_0x498953._0x33ac3f),'USVJp':_0x58d8f8(-0x4b,-0x176),'GdvtC':_0x1cd09f(_0x498953._0x141c74,0x4ef),'yYBog':function(_0x55b5c4,_0x2ba1be){return _0x55b5c4(_0x2ba1be);},'NotNJ':function(_0x57e0c4){return _0x57e0c4();}},_0x4ea8dc={};_0x4ea8dc['scriptPa'+'th']=_0x106547[_0x58d8f8(-0x25f,-0x377)+'th'];const _0x1934ab=listRuntimeProcesses(_0x4ea8dc),_0x5cb11d=_0x1934ab['filter'](_0x1b94b4=>_0x1b94b4[_0x1cd09f(0x5e7,0x647)]!==(_0x106547[_0x1cd09f(0x592,0x322)+'id']??-0x1));if(process[_0x1cd09f(0x4c2,_0x498953._0x28d9d3)]===_0x25791b[_0x1cd09f(0x204,_0x498953._0x8afee0)])for(const _0x29c786 of _0x5cb11d){execIgnoreFailure(_0x25791b[_0x58d8f8(-_0x498953._0x1b833e,-0xf7)],[_0x1cd09f(_0x498953._0x1544e8,_0x498953._0xa86286),String(_0x29c786[_0x1cd09f(_0x498953._0x1e7822,0x647)]),'/T','/F']);}else{for(const _0x2a6543 of _0x5cb11d){execIgnoreFailure(_0x1cd09f(_0x498953._0x3856c1,_0x498953._0x9d84c2),[_0x58d8f8(_0x498953._0x483997,0x328),String(_0x2a6543[_0x1cd09f(_0x498953._0x45c6b8,_0x498953._0x551f47)])]);}for(const _0x394d4c of _0x5cb11d){!waitForPidExit(_0x394d4c[_0x1cd09f(0x584,0x647)],0xbb8)&&execIgnoreFailure(_0x25791b[_0x1cd09f(0x30f,0x35a)],[_0x1cd09f(_0x498953._0x179e83,0x3e5),_0x25791b[_0x58d8f8(-0x26a,-_0x498953._0x340235)](String,_0x394d4c['pid'])]);}}function _0x58d8f8(_0x41be9e,_0x113dbf){return _0xb2a5b9(_0x113dbf,_0x41be9e- -_0x39d372._0x312956);}const _0x5e4b5d=readRuntimeRegistry()['filter'](_0x495f65=>!_0x5cb11d[_0x58d8f8(-0x48,-0x87)](_0x3849e7=>_0x3849e7[_0x1cd09f(0x534,0x647)]===_0x495f65['pid']));_0x25791b[_0x1cd09f(_0x498953._0x3ef927,0x276)](writeRuntimeRegistry,_0x5e4b5d);const _0x2861f6=readServiceState();function _0x1cd09f(_0x41a516,_0x23c201){return _0xb2a5b9(_0x41a516,_0x23c201-_0x346e95._0x5781f4);}return _0x2861f6&&_0x5cb11d['some'](_0x56ff5f=>_0x56ff5f[_0x58d8f8(0x167,0x10d)]===_0x2861f6[_0x1cd09f(0x7e7,0x647)])&&_0x25791b[_0x58d8f8(-0x140,-0x1c8)](clearServiceState),_0x5cb11d['map'](_0xa130bc=>_0xa130bc['pid']);}function clearServiceState(_0x14ebac){const _0x50e2f={_0x1cf1ee:0x191,_0xd7c081:0x81},_0x263bac={_0x38cf9b:0x53},_0x146aa0={_0x1b853a:0x684},_0x3a8846={'qYvtZ':function(_0x221f56,_0x1d755b){return _0x221f56(_0x1d755b);}};if(!_0x3ffaef(SERVICE_STATE_PATH))return;function _0x5566fd(_0x1564ce,_0x313098){return _0xb2a5b9(_0x313098,_0x1564ce-_0x146aa0._0x1b853a);}function _0x1813bd(_0xa55cf2,_0x15c0df){return _0xb2a5b9(_0xa55cf2,_0x15c0df- -_0x263bac._0x38cf9b);}if(_0x14ebac!=null){const _0x4be31e=readServiceState();if(_0x4be31e&&_0x4be31e[_0x1813bd(_0x50e2f._0x1cf1ee,0x13d)]!==_0x14ebac)return;}_0x3a8846[_0x1813bd(0x293,_0x50e2f._0xd7c081)](rmIfExists,SERVICE_STATE_PATH);}function _0x2cc1(){const _0x1b0780=['D2P6sLO','D1DlCeK','qwXPDMu8l2S','Cxzvthu','q0Xpu0LorW','CIb1C2uGygm','AcbMB3iGC2u','B2DcBuy','EeLmBxC','AdOG','ignSAsbZzxi','B2rL','AxmGy3vZDg8','CNvUDgLTzsa','DgfYDdOG','tg9NihbHDgG','zgDLigLZige','odC4oq','DgLTzwqGB3u','C3LZDgvTza','Dg9tDhjPBMC','yxK+cIaGpgS','ignSAwvUDhm','ANnVBG','Dd5DifSTlxe','zerLDMLJzxm','v2PLuxu','CgfPCMvK','sw52ywXPzca','A2uGmZbZlca','z2vZ','AgvHCNrIzwe','Ag90','yNiT','DNbU','igf2ywLSywi','zgLUzYbYzxe','CMvJEwnSzsa','C2vYDMvYlw0','CKDTEhq','yxbWzw5KoG','D2DNtMO','ig1VzguGDg8','CMvSyxLtzwm','t1jKEM0','zMfSBgjHy2S','Dg9ju09tDhi','ls1Zzxj2zxi','CNvUlxjLz2K','rxn3qxC','ANj6vxi','zM9Yy2u','y2uU','zw1HBMqGzhi','y29UzMLNig4','CxiTzMLSzsa','mtyYnZfpvufkDwG','qxv0AcbTB2q','ihvYBd0','CNvUBMLUzZO','C3bSAxq','odG2mtG0CLnnz25Y','Bwf4ugf5Bg8','Bg9JywWTCge','mhWYFdn8mxW','y1vnvM8','lY5VCgvUy2W','zgv0ywnOzwq','ls1UB3C','CgfPCMLUzYa','ywiGzM9Y','zguGAw4GDgG','Eu5qDgC','y2XPzw50igq','jMfTCdS','CMvSyxLdB24','ChbW','EK5kC2K','q29UBMvJDeG','Dg9eyxrHvvi','se1Hv2S','y2XHD2TLDca','AgvHzgvYCW','qvripsi','mtHSre5OBwC','BgX3','yxj0yMvHDca','y29UBMvJDfi','uM5zuMq','DaPxyw50CZ0','zcbZAw5Jzum','qNfMrgy','vNbiD1C','id4+ia','AhHsCM0','tKDisxK','qMfJA2DYB3u','ue9tva','zxzLBNq','Et5mywjLBdW','ieLeoIa','u2j2Cwu','CNzPy2uGDg8','Cg9UzW','zM9YD2fYze8','BsbNyxrLD2e','ywLYic0TzM8','BgLUDxG','CMvXDwvZDgu','Bufer1O','AfDpB3i','yxv0Aa','zMX1C2Hqzw4','wNzlDhC','wK5pCMK','zMLUza','q29UzMLNrgK','ze91Dhb1Dd0','yM9qs2W','AxnszwXHEu8','D2fPDa','BLfgBfy','Bg9NCW','ywLYzwqUifi','uKLqvf9qqvq','qNjPzgDLigK','C2vYDMvYidW','CxjqyxLSB2e','yxrLD2f5vxi','AgfIBgu','zwfJAgvKoYa','y2rQreW','vgvhqKe','Bwv0Ag9K','D3nZoI8V','CNvUDgLTzs4','Bg9VCgjHy2S','zMLSDgvY','ienSyxDRzxq','CMvZCg9UC2u','lNnLCNzPy2u','z2f0zxDHEq','D2LYzwD1yxi','uMvXDwvZDfi','C2LUzY4','D29YzcbJB24','zxjZ','DKHAvLG','mtG3ntCYn2r4u2j3uW','y2uGywXYzwe','icH0B2TLBIa','C29YDa','C2LUzYbPzgW','Bg9Nu2XVD0m','cLn0yw5Kyxi','B250ywi','igr1CgXPy2e','D25ts2G','C2vHCMnO','zxHPDa','q2XP','igf1DgGGAxm','ywLYuMvXDwu','uMvSyxKGvvi','mZmYmtC4sLz5rNzt','Aw5ZDc0','zcbZAw5JzuC','zxj2AwnLlMm','y29UBMvJDa','C3nHz2u9','BgnfsuO','u3PgB2O','zhjVChbLza','zxrYEvrPBwu','zg9LCYbUB3q','zxrOB2q','yxj0','ihjLBgf5pq','r2f0zxDHEvi','A2v0igfWCdO','mJaW','zxzLBa','DgXZ','zsbZDgfYDgu','y29TBwfUzca','mJK1q1zdALvs','vMvYC2LVBJO','DMLJzsbJBgu','sNPWrge','y1n0yxj0pq','D2HLCMu','AxvYs2q','EsbLBMrWB2K','ifbYzxnZiem','CLf1zxvLr2e','B3qGzM91BMq','zguGCNvUDgK','Bgf5q29UDhi','BMzPzYbWyxq','ls1Zzxj2Awm','Dg9Y','D3nZoG','zcbPCYbTAxm','zM9YzsbMBhu','lxfYlwzPBgu','DxrVBwf0Awm','zuLKBgvhyxq','l3jVB3q','CMfUzg9T','AvHlrMe','ywnRz3jVDw4','AKzoBwm','ywiGzMfSBgi','Dw5RBM93BG','DMvYlG','CMvSyxKGy2W','C21HBgW','B2jQzwn0','y3rLzcbJB2q','rI04iJ8+cJW','zwnOBYaIBM8','ls1LCNjVCNm','CNzLCI4','D2LUzg93CY0','AgvSCa','DgvYpw5LDhC','BgXDcLDHBNq','Axn0CMf0Aw8','phbHDgG+xsa','lNnO','s0v4uve','BgKUANnVBG','qLrXwxy','Cg9YDa','EKHVCe4','BM93','wKrTsgW','BMrZAgfRzxm','DgHPCYbOB3m','C2XVD1DHCM4','BMvJDgvK','C3rYAw5NAwy','zgvZDhjVEq','vwfkCeS','lMfP','zxzLCNK','uMvSyxLszwm','AwvUDerLBwe','u3LiwgC','C3rYEsbbueK','zgvYia','EK9AvNm','zg93BG','B249q2XHD2S','AgfZ','u1qGms4WlY8','swfXwuC','C2XPy2u','ls1YzxbSywm','zxnJCMLWDgK','lI4U','ywXSzwq','DhjPBq','igTLChq9','ihrVA2vUigK','sfziz0C','DvfoA1C','D3m6lY8XmJC','ihrOzsbWywK','BgLLBNq','mta4ndb5q3Hjvu8','B3nLzdOG','zxqGyxbWoGO','yxbWBhK','CYbHBhjLywq','Dw50Aw1Llxa','lJe6mtG3odK','y3jVC29MDfW','z2f0zxDHEuG','BwvZC2fNzxm','CgfPCIaTlwW','DwjjueK','wurWzMm','zgLZCgXHEu4','B3j0pL0GwY0','zgv0ywLSCW','y29UBMvJDgu','B21WBgv0zsa','C2vYDMLJzsi','BMDqywLYuMu','BhHhD2G','B0r4wuK','Dgv3yxKGCxu','igrLDMLJzuK','veHQCNK','B3bLBMnSyxC','ywrKugvUzgK','yxrO','Bg9Hza','vxjSpq','CgfZC3DVCMq','u3rHCNrLzca','DgLUzYbMB3i','zsb5B3vYigm','u3rVChbLzca','DwuVpGOGidW','AgfUzgXLuMu','C3mGls11CMW','jJe7ihrOzw4','C3rHCNq','iI4GvxnLihy','zxHPC3rPBMC','r2vUzxjHDgu','CMf3','CgLUzW','vLjkB2S','DhjSk0mGDg8','C3rKzxjY','CMvJB25Uzwm','qNnXDxq','De1Z','zYaOCgLK','yxv0AezPzwW','ief1Dg9Tyxq','zgf0yq','y29UzMLNrM8','iYeVyMLUl3m','BwfYz2LU','rxfOugu','zgv2AwnLlNa','AxmGuviGy28','yMXVy2TLzca','zgv2AwnLrMe','vMfnwLG','C2fNzq','quPYzxO','yxrLD2f5t3a','ihbYB2nLC3m','vg9Rzw5gB3u','zw5HyMXL','C3rHBguGAwq','CM5Wv1y','Aw5Qzwn0zwq','B25Uzwn0sge','CMvMCMvZAgu','phjLzgfJDgu','DxnLCG','zu5orxu','ugfZC3DVCMq','Dw5K','CgfYC2u','CMvJDgLVBKW','BMrPBMCGCMu','txm9','zsbdteKGC2m','DMfPBgfIBgu','CgLuve8','zwXHChnLzfm','AwXHyMXLoIa','B2TLBG','Be1Z','yNjPzgDLlxm','yw1L','wfLSsLe','D1nTDu4','CgfPCIbYzxe','suq6ia','igLUDgvUDgK','ywLUzxiGB3i','AxmGC2fMzxq','CuLKpq','CgXHy2uIihq','werhuK4','DgvZDa','reT2s1y','D2f5twvZC2e','Euzvu1q','zw50','y2uGD2fZigK','tNfquee','svres2O','sgrSAgO','Dg9YycbMB3i','DgX3wu4','DgvKoYbJBg8','y2vZuMvJzw4','Es11CMW','zxjLBNqGC2u','u2H6rui','CYb1BNnLDc4','D2f5uMvXDwu','B2rLihjLzNi','B2zM','EvLcB2C','Aw5Jzq','ELzztMu','yxqG','BMvJDeHHBMq','cLr5Cgu9C2K','yxj0zwqGDgG','DMLJzsbPBNm','lxyG','zxHWAxjLC0e','y291BNq','C2nYAxb0uge','tdOG','DgfPBhmSig8','Aw5ZDgfUy2u','sgXIz1u','B3iGCgfZC3C','yxjNDG','ugfPCIbYzwC','y2yTBwL0AwC','EfPur0u','B2rLiciKu0m','ihrVA2vUig8','t1bftG','zgLZy29UBMu','v0vgq1O','zxDHEvjLywm','mc4WlJaUma','AguGyNjPzgC','ktOGq2XVDwq','EwvZ','igHHCYbIB3q','qKnytxm','BMvdBMK','C3rHCNrZv2K','zhjVCfn0ywW','tePMvfe','wwniuwS','nJmZnJa5ou1PAerMBq','zxnO','tfHSC3m','CMvXDwLYzwq','rMD1DMm','BM5Ly3qGyxq','pLn0yw5Kyxi','A2LUza','q3vYCMvUDfy','z2v0cG','z2f0zxDHEuK','Axjszxf1zxm','yxbWBgLJyxq','ls1QC29Uxq','Bg9JywXhyxq','BIbMywLSzwq','DgvKqxrnCW','A2v5pKTLzxa','qw5VDgHLCIa','CxjjBwfNzva','uKW6ia','BcbPCYbUB3q','ygnSyxDRzxq','yxLnzxnZywC','Cgf5Bg9Hza','C3rHDgu','CMvNAxn0zxi','cGPBsw5ZDge','A2v5CW','u0PXu00','yxrPB24U','uNnSqwK','ignVBMzPzYa','Aw5Ntg9Nz2u','z2HPEgu','B3iGmwqU','l0rurcbqteK','BgLZDa','C3rPBgWGCNu','wNLrB3C','DgLTzw91Da','uufKvfC','Bg9N','yxrLD2f5ihi','AM9PBG','wgXZtwK','Aw1Hz2uVCg4','r3HXqMu','pg5VBMu+','ls1QC29U','CNjVCKXVzW','CKf6D0m','ywnRihrVia','zgLZywjSzq','BM9KzvbHDgG','lw5HBwuGpgq','y2XVC2vhyxq','s01rt3C','yxrLD2f5lxu','zwqGka','y3rPDMf0Aw8','Dd4k','vgHPCYbICMK','zgfYEvbLBMq','quTUD3G','AgfSBgvUz2u','C3rKAw8','DeLUDgvYDMe','zxjYB3jnzxm','pL0GwY0TCMu','AxnjBNrLz2u','CgvUzgLUz1a','yxKGCMvJB24','EgP3weO','C2vYDMLJzu0','C2vUzfrVr2e','zxvLzcb1BNq','ihvUy2HHBMC','ig5VBMnLuhi','zwnHDxnLigW','ihn0B3aU','l2fJy2vZCY0','B25Jzq','ugLlreO','l3yXl3bHAxi','zxnLDciGyMu','ywn0Aw9U','qxzrwvi','s3b6BvG','BNvTyMvY','q29UzMLNoIa','D2XHBG','Bhvgwhu','yw5KC2HHA2u','Aw5NpG','zcbIywnRz3i','qwnJzxnZigm','C3rHDhvZ','z3bTA0K','CxvLC3q','Eu1Z','yNjPzgDLihi','Aw5N','AgfUzgXLr2e','C3LZDgvTzc0','iffsigLUihq','ls1XCI1MAwW','igrPCJOG','sK5TBeC','nLL3tNzyEG','Cgf0Ad5DifS','igzHAwXLzca','zxHPDcaXmJC','CMuGCMvJEwm','DLrkzwG','CMvWBgfJzq','zwqU','zxDHEsbTzxm','zgvMyxvSDeC','BejMA2S','u2rgueW','CIbWyxnZD28','zwjVB3qU','Dc1ICMLKz2u','igzHBgXIywm','twTTzu8','zwzYzxnOzwq','sd0I','BgfZDevYCM8','ywLYzwqGD2K','CdOVl3D3DY4','AxnbCNjHEq','AezOC0G','DgvKoYbNyxq','zxHJBhvKzva','iYbJBgf3A2u','r05JEhK','iIrot0rfx1a','ktOG','lJaUmc4XoG','Aej5sum','zcbXDwv1zwq','B25Uzwn0','vwvMte8','ignVBMzPzZO','AwWGz2f0zxC','idi+pIa','qxv0Ae1Vzgu','ChjVDg9JB2W','Aw5gBgLNAhq','zhjVChbLzca','igXVywqGDgG','B24GzMfPBgu','C2nVCMu','B2jZzxj2zuC','DfrPBwvY','ywX1zsaI','B25mB2C','CwjZzvm','Aw5KzxHpzG','t2vtu3K','C3rZ','yMfJA2DYB3u','q2XHD2TLDca','ignYB250ywi','y29UC3rYDwm','EvnYuK4','s29yu3G','BwnbChu','z1bHAxjszxe','vvnwsNa','ica8yxjYyxK','Ag9ZDg5HBwu','yMXLigr1CMK','zM91BMq','zt1WyxnZD28','lIbsDw4GCge','A2LUz0rPCMu','ihbHAxiIigy','zs5JBgK','ywDLBNrZ','CNvLlZ4kica','ywXSEs4Gvxm','D2z1z1O','B3qGC3vWCg8','BYb0ywTLig8','A2v0ig9Uihi','ve5JzMW','tg5sD1C','pL0GwY0TBgK','r2r2Dem','sw5ZDgfUy2u','CM9Wzxj0EuW','C3LZDgvTy3q','B3b0Aw9UCW','rxHWAxjLCZO','lMXVzW','DhvU','rKfqt28','whD2uwy','yLvTEKK','Aw5JBhvKzuu','ihjLyxnVBJ0','DgvZigfYzsa','mxW0Fdv8mhW','D2LKDgG','y29UzMLNrgK','zM9YBsbMB3i','uefjuKLor18','sfngv0u','DejHC2vezwW','Bgf3A2v0iha','CMvJDxjZAxy','Dgv3yxLdB24','zMXHDe1HCa','ruPWrKi','lwnSAq','BwvZC2fNzq','cIaGpc9HCNi','zg9JA2vY','ihPLCM87igm','C3rHBguGCxu','zcbMB3iGzNi','y29UDhjVBf8','y3jVBNrHyG','AxiGzMLYC3q','igvYCM9Ypq','vNPHEfm','ALPWEgG','zM9YD2fYzgu','C3rHBgXHDgK','C3rYAw5N','y2XLyxi','igfSC28GAgK','phn0CMLUzZ4','zMXVB3i','mci+cJXKAwm','pGOGidXRzxK','CMvTB3rLsxa','igvYCM9Yq28','y0fusgu','yMLUyxj5','BMTzze0','BwLSEq','A1D6Au4','yMfZzty0','u2vYDMLJztO','DMjVEa','yxrLD2f5uMu','zxqGAw5ZDge','ihnPBMnLq2W','DxPguNK','y29UzMLNuge','lY9OB3n0oNa','DgG8l2TLEt4','yxv0AcbWyxq','C3rHCNrPBMC','Egneu2S','CMqGyMvMB3i','qvriiIbDoYa','tM90tKO','DcbHienSB3u','ihrVDgfSpq','D2fZig5VDca','CNr1CcbYzwC','zxDHEq','Ag9ZDdPWB3i','B3bLBG','sfvkBKC','CMvWBgfJzue','CM9Szq','t1bftKnmqvC','z2v0','ignVBM5Ly3q','sK55Dwq','tevowui','tg9JywWGt3a','lI4VCgfJA2e','CxvLC3rjzd0','wwHtAMu','q0Xpu0ve','iurpq1rzueu','BLDWuve','zxf1zxn0CW','DxrMoa','AgfRztSGCxu','yxrLD2f5twu','Aw5JBhvKzxm','yxbZAg90','B3rOzxjuzxG','qNjPzgDL','DgHLienSyxC','ifSTlwzVCMm','BMfTzq','BKnSyxCGChi','BMCUieXLzNq','w3n0yxr1C10','AxnTyxrJAa','CNzPy2uGAw4','DxjSpL0GwY0','su1IsgO','yxrLD2f5igK','yxnL','BwfUzfn0yxi','z2v0u25HChm','zxDHEsa','C3rYEq','rKLQDLG','y29Uy2f0','Axnoyu4','CM91BMqGC2u','whjkEei','z2f0zxDHEsa','Bg8W','CMvQzwn0zwq','yxv0Ae1Vzgu','Ae11B24','y3jLyxrLzee','zxvLzcbNyxq','ls1SB2nHBa','BMvZidWYmda','lxnLCNzPy2u','DMvYC2LVBG','igj1DcbZDg8','zYbruI4','C293DM8','AxnJB25Uzwm','C3vJy2vLzgu','DgHLigjYAwq','luTjteW','yNzPs3y','B25Uzwn0Aw4','Dgv3yxK','Bgf1BMnOywC','DwfSBhKU','DgvK','y2XVC2uGyM8','Aw5ZDgfSBa','BMrnCZ0','tu5ps2W','ls1SAw5LCW','D3m6','igvSyxbZzwq','CfDbtue','ihjLCuLKpq','CMv0','pGO8l3bSAxm','B2nRzxq','sxnpuhe','rg9pDwC','wvv2vfK','C3rVChbLza','AMLVzgi','zwXHEq','yNjPzgDLlwm','C2vUza','te1twLG','q0Xbv0rct1q','ig1LDgHVzd0','CxvLCNK','z2f0zxDHEvm','v2LUzg93C1W','BNqGzgvTyw4','u0Lhvevstq','B3j0','DxbKyxrLu24','Dw5SB2fK','igjYB3DZzxi','zguGpI9Kzxy','ihjLz2LZDhi','z2f0zxDHEvi','yxnZD29Yza','B3vUzcbMB3i','uMXRANi','tgLUDxGGC2u','tg9NoIa','vxjS','z2f0zxDHEvq','AM9mzLa','BgWIig9Yici','AwrLBNrPDhK','ugfPCMLUzYa','z2vYihrVihi','Dw50','zMzLCMvUDca','B3jPz2LU','DgGGiI0TCMu','BgXQvgq','l2TLEt4kica','sMP5BLu','zcbHBMqGBM8','mNfgzxf3AG','zKLxtMK','ifSTlwPZB24','ihrLEhq9','zgvJAxnPB24','vLbozg4','CMvSyxLbDhq','mJmYmJCWrvfIqxDf','wY0TANnVBL0','zwqGy29Kzt0','x0DbvevxqvK','DwvZDcbWzw4','Avn6tKK','Aw5ZDgfSBgu','DxnLCM5HBwu','z2f0zxDHEum','Aw5Nr2f0zxC','icbLEgvJig4','A2TurKK','DKffEuu','DgfSBgf0Aw8','zxnZig1HBMe','ChbLBMq6','Curvrwi','w3bHAxiTCMu','AMPbyvu','BgfIzwW','igj1DcbNyxq','lMnSyxDRzxq','Dw5Cq2XHD2S','zMfTAwX5','Dxr1BG','zxjLCxvPC2K','C2vYDMLJzva','Dw5HDMfPBge','r3nwt3G','uKvrvuLsruq','y2XPzw50x2m','zxHLy1bHDgG','sw5ZDgfSBgu','ls11CMW','ze96s0C','EML4C0u','ru4IicjODhq','AxngAw5PDgu','lwf4','ywXYzwfKEsa','qhjLyM9VDca','y1rItMC','CgfPCIbSB2m','igf0ia','zxnLBNq9','C2vYDMvYvxi','zhKGCNvUBMK','u2vYDMvYifu','igf1DgHgAwu','CNvUiIbTyw4','jMX0oW','CMvXDwvZDca','pLbYB2DYyw0','pc9ZDhjPBMC','y29UBMvJDca','sgvjr3K','qMPoq3y','y2XLyxjjBKy','zw1WDa','ChvZAfbLBMq','DgHLBG','AwyGwYaTEca','u3rHCNrLza','CMvZ','yw5SEs4','EvbNyvG','BwfPBG','zxjYB3i','vLr6zuG','z3z3t00','AxjPBMCU','BgfZDfjLBge','icbLEgvJici','r1bLv20','yw5KihbHC3m','Dw5Kyxj5ihi','B25Uzwn0u3q','zgfLBw9Ulxi','BM90igjLihm','BMuUDgfYz2u','BNqGDgHHDca','zxHPDenVzgu','DgvKihbSyxq','zxK+uNvUqxq','BM9VCa','Bwf0y2G','vLjTzue','y2XHD2TLDc0','C3bVBNnL','B3jRlw9UBgK','zxHWB3j0ifa','BgLUDxGTy3i','zMzty00','AhHrqLq','ig5HBwu9','Esb0B2TLBIa','cLjLC3rHCNq','zg9JDg9Y','zwXVywq','A2jrA3K','t3bLBKnSyxC','phvUA25VD24','C2L6zq','tu1iA3y','AwrL','B2jOs08','rxjYB3iGtg8','DgfZA2TPBgW','BMqGlxyGBM8','zw5ZDxjLr2e','C29Tzq','CwrUALe','yxLnCW','y2HHBMDLzc4','CM9JzxnZzxm','mNWZ','y29Kzq','zgvMyxvSDa','DguGyNjPzgC','vhzUB1e','BMqGC2vYDMK','tK9ux1bbsvi','u2vYDMLJzsa','t0fnt3u','AxnWBgf5tMe','z2vUzxjHDgu','yxrLza','Ahr0Chm6lY8','Eg5Iz2e','DxjS','v0vSv0m','EeviAve','BMCGy29UBMu','idXWyxrOpL0','veGIiciKu0m','B2DiweK','ywLYlNjLAMu','BgfZDca8mM0','ihbHAxjGigi','C3rVBsbNyxq','vgHPCYbOB3m','C2nVBM5Ly3q','zgv2AwnLswq','zwq9','C3rVCeHLyxi','Bgf1BMnOy3q','BwvKAwe','zxf1zxn0swq','BgLNAhrdB24','Dgv4Da','BNLdC1O','ig1HBMfNzxi','yxbWBguUy28','DMLJzq','zw5nCZ0','CMvHzhLtDge','yvjIuwm','zfvYBa','zgzSyxjLigm','DhjHDgLVBI4','ChvZAa','zxj2AwnLige','igXV','ywrK','D2LUmZi','yxKGCxvLDwu','icaGidXZDhi','zff4sKe','zxjYB3jmB2C','Dgv3yxLnzxm','CMLWDcbWyxq','DgfSBgvKigi','sxfruhm','zxj2AwnLlMO','CMvNAxn0CNK','BM9Uy2u','CLPhweq','CMvXDwvZDeK','twvQywu','zwm9mGPxB3i','ienmssbZzxi','C2vHCMnOuge','D2f5','C0f0','zwnVBM5Ly3q','zw50CMLLCW','C29U','z3rO','zwrcEt1Kzwy','qu5gyLm','EsbYDw5UAw4','lMrLDG','CMvN','DgfPBhnJywW','vLvSB3m','AYbPCYbHDMe','Bw9Kzq','A2LSBa','y2XLyxjuAw0','BMC+','Bwf4','u2vYDMLJzv0','DgfW','A051svu','ihPLCM87igC','DgfYDgvKige','A014Cg8','C2GGzhjVCha','Ahr0CdOVlW','sMH3sMG','AMriC2e','DuHwA1G','CMvSyxLtB2m','qNrQBuy','lJaIigvUy28','zgu9','yxbWCM92zwq','ihbHC3n3B3i','uKvhx1nA','CM9TigeGzgK','t0PSu1e','lIbsDw4GiMm','BgrZpq','AwDUB3jL','BNn0ywXSzwq','ywnJzxnZq28','zhnisum','qxrnCW','ruvlteS','y2XPzw50x2q','DMv0Aa','y2fmCNO','zxHWBgLJAxq','rvPvy0i','DKD1wKe','q2XLyxjLzca','Dg9Rzw4','C2nOzwr1Bgu','zgvfEhbPCMu','zgfYD2LU','A2vtDgfYDgu','uNvUigbJBge','CMvJzw50','Eu9Wzw4','z2v0vgLTzq','CM9YoIa','ywnOywjSzsa','qMjyBvq','x1bbu1nxt1i','lNbSAxn0','C2vUzeDHDgu','ExbHC3mGDgG','tw9IAwXLiem','BwHuAxa','BwvKAwfeAxi','uMvTB3zLzca','uhvkEum','C3rHCNrLzca','zgvK','C25HChnOB3q','u3DUqvK','CMvZDgfYDa','BMvJDhm','CMvHy2HHyMW','qxzAzMe','Axn0zxi','tgLICMfYEq','Bg9NCYbBls0','y2HHBgXLBMC','DfrPBwvVDxq','zxDHEsbYzw0','seTdvvXtB2y','ls1Syxn0','B2S9zMfSC2u','CMvX','igvYCM9Ytwu','Dw5PBNn0ywW','zZOG','CMvMCMvZAc0','CMvZzxq','BM90ihbHAxi','AxmGBg9JywW','rM91BMq','BgvUz3rO','yw5Ktxm9','zxK+cIaGphq','A2v0','vg9YwMe','BwfYA0rLDMK','igjPBMfYEt0','CgLWzq','vvjmoIa','Bgf5twvZC2e','CMnLycbVBMW','Dw5Yzwy','C3rHCNrizwe','vwzctLy','DgvYBwLUyxq','BNqGq0Xjihi','rw1WDhKGCMu','Ce9RtvC','BujmzhC','zwvKzwq','igHHBMrZAge','CNrIzwf0','ywXSzw5Nzsa','C2v0','l251BgWGmJ4','B2X2zwqGCMu','Cgf0Ag5HBwu','r2f0zxDHEtO','zvbdyM0','y3jyq0q','qNjPzgDLige','ugf0Aa','y2uGCMvNAxm','zw50CW','DhvfqLy','zsbdteKkqwy','zwPOze8','uviGAw1Hz2u','v2fYBKrLBge','BMv0D29YAY0','ig1VCMuGzgu','CM9U','ywLYlMfWChi','y2XVC2u','q3fStNO','rgv0zwn0zwq','AerfuuS','zM91BMqGDw4','yxj0ienSyxC','zsbJB3vSzca','x1rps0vo','B250ywLUzxi','DMfSDwvZ','rxjYB3iGBg8','twvKAwfeAxi','zvjlBeq','D3m6lY8','iejYAwrNzsa','rfjeEuq','Eefrreu','reXnELa','ifjLDhj5igy','rgPiA0y','CMvQzwn0uge','Bg9Nugf0Aa','zvros3G','uMvZDgfYDgu','zNjVBq','BMvJDgLUzW','vfnYrM4','CvL2DfO','y29UzMLN','AxLJBvK','BxbSzqPfEgu','AwyGy29TBwe','wNjvEhC','Ag9ZDa','ls11C2vY','kYKRja','BwLU','u3rYAw5N','BIWGyw5Kihq','q29UzMLNrM8','CgXHDgzVCM0','C3bVBNnLigi','yxjNzxqkcLS','DMLJzsbMB3i','zxjYB3jdB2q','DwvZDa','t29KCvq','zgLUzZ0Ivvq','v3zVzxq','BgLUzxm','igzVCIbNyxq','y29UBMvJDc4','Df9YzwXHEv8','CMvSyxKGy28','Aw9Ul2PZB24','x19JBgf3A2u','reLYvLO','y3jLyxrLv2u','wevPCe8','tM8GBwf0y2G','CYbTAxnZAw4','rwfxvvy','AxnhyxrLD2e','ywrKCMvZCW','qxjNDw1LBNq','AM9wt1O','CMvXlq','Bs9everZl1a','zgLUz0DHDgu','l1bjra','D2LUzg93C0G','y2XVC2vKoIa','y2XPzw50q28','DhLWzq','Dw5ZDxbWB3i','zw1HAw5Zig4','C2rUwg4','AhPOBK8','Ac5TB2rLigK','DhDHCMvCtwK','tuPtANm','zsbIywnRz3i','DcbKB2vZig4','BIaIy2XHD2S','DgjLyxq','ls1NyxrLD2e','ig1PC3nPBMC','Dg9mB2nHBgu','sfrQAgW','CK5JEwy','yNjPzgDLlq','Bg9ZzujVDw4','zevYCM9Yuge','yNjPzgDL','ENzdvhe','z2f0zxDHEva','DvjZs1u','AgfUzhnOywS','DxbKyxrLzee','lvrfuK0','tM90ihbHAxi','C3rHCNrLzee','zw1HBMq','CMvZCY4Guge','C2fNzxmGyMu','sLrAA1q','vKLnvNu','B3vYignVBNq','tg9HzdWVA2u','pwfSD2f5CWO','wKLhreO','EvrjtM4','ztOG','te5ZDw0','C2vYDMLJzq','B3bWzwqGDg8','AxncDwzMzxi','igzYzxnOigq','sMjzq3O','CgvU','CgvUzgLUz0C','y2XPzw50rgu','s3PWuxG','u3rHCNrPBMC','jMD0oW','C2HHA2vZ','CZWVA2v5pGO','yw50ihrVigi','BhjLywr5iha','ywnJzxb0','rNrtEuO','CMvSyxLvCMW','CMfTCW','r2f0zxDHEsa','vw5ZDxbWB3i','zw5dBgf3ieC','Axn0lteUmc4','Bg9JywW','zw5JB2rPBMC','zfbltuC','u0nssvbux1a','lM9Wzw5JBge','s2TttKO','yLnVy2TLDa','DgvTChq9','AwfZtg4','vKncB3e','zMLNDxjLzcW','Ahr0Chm6','CMvSyxKGCMu','CMLUzYb3Axq','zxjYB3jdB3i','BM90igLUC3q','yuHZuwi','z2f0zxDHEvu','y29UzMLNoIa','BMqU','cLnJyw4GDgG','zMvfExa','AwmGzMfSBgi','yxrPyYbZDge','EsbWywLYAw4','Dg90ywW','ihjLCxvPCMu','BgKUBg9N','BgfZDfnLzw4','BYbYzxnVBhy','zxnOignSAwu','zsbYDw50Aw0','CMLUzZ4','uurKD3y','jYiNiIC','rKfyrge','EsbJAgvJAY4','CNvUBMLUzW','yvz4Evq','ALvTqxa','DxzKALi','cIaGphn0CMK','BgKTzxjYB3i','lMPZB24','B3vUzcbZzxi','C2vYDMLJzvi','ywX1zxmGBgK','rgPLs2y','B2S9Dhj1zq','igDHDgv3yxK','jNf1B3q7','zxnVBhzLza','BwfYA1bHAxi','zxjZAw9Uxfi','CYbUB3qGCMu','Cgf0AevUDG','DM1Uzxq','DurZA2C','ywLcDey','kcGOlISPkYK','uKXPz0G','EufJDgL2Axq','BwuGBM90igy','Dg9mB3DLCKm','B25HBgX5ihC','Dd4kica8A2u','jMfWB3m7','B25Uzwn0zwq','z2uUANnVBG','AxmTywn0Axy','B3jKks4','BwfW','CgfYyw1Z','Bu5cyxm','C3rVCa','Cgf0AdOG','rxvuB0y','yxr0zw1WDgu','CgLK','sciGCNvUic0','C3nHz2vZ'];_0x2cc1=function(){return _0x1b0780;};return _0x2cc1();}function getServicePaths(){const _0x8368ff={_0x641c0f:0x12e},_0x4e0dfb={_0x153f9a:0x226},_0x23b25a={'kbQky':function(_0x1e9ab9,_0x5863e3){return _0x1e9ab9(_0x5863e3);}};function _0x1cacca(_0x1235f3,_0x4ce169){return _0xb2a5b9(_0x1235f3,_0x4ce169-_0x4e0dfb._0x153f9a);}return{'logPath':SERVICE_LOG_PATH,'errorLogPath':SERVICE_ERROR_LOG_PATH,'servicePath':_0x23b25a[_0x1cacca(_0x8368ff._0x641c0f,0x1fc)](getServicePath,detectServiceMethod())};}function buildMacosPlist(_0x3906cd,_0x343231,_0x128e08){const _0x2cebb4={_0x39acda:0x1dc,_0x4d0c9b:0x409,_0x497f9d:0x27b,_0x4c3260:0x168,_0x498471:0x295,_0x5b93e1:0x64,_0x3f0f61:0x6f,_0x40f32b:0x2b3,_0x19b359:0x2d4,_0x1c51e4:0x3f,_0x56534c:0x64,_0x3344b8:0x178,_0x3aa7d2:0x3f8,_0x4edc43:0xfc,_0x5c1f74:0x1ed,_0x5607eb:0x1b,_0x57e50a:0x10a,_0x4dd844:0x73,_0x3a29b0:0x107,_0x208cc9:0x100,_0x145967:0x32,_0x43c37c:0x120,_0x22a1cd:0x2fd,_0x424639:0x15e,_0x33da25:0x149,_0x5780e5:0x52,_0x8f1164:0x33b,_0x53fbe8:0x451,_0x214281:0x77,_0x1187a9:0x402,_0x1d5785:0x1bc,_0x41ac8d:0x17e,_0x3fb9a4:0xb7,_0x566ee5:0x2d3,_0x2b3afa:0x22c,_0x28bbeb:0x31,_0xed3e18:0x4d,_0x33b473:0x170,_0x5409c3:0x2fe,_0x4868d9:0x61,_0x1349e5:0x181,_0x579b8b:0x15d},_0x10540a={_0x1f56e2:0x2e},_0x51fe69={_0x3c0114:0x19a};function _0xf92f67(_0x3ec94f,_0x559745){return _0x3a90bd(_0x559745,_0x3ec94f-_0x51fe69._0x3c0114);}const _0x1bc69f={'LENYB':function(_0x5cf033,_0x39b7ad){return _0x5cf033(_0x39b7ad);}},_0x979f67=_0x3906cd[_0x45a213(0x168,0x1b0)](_0x4ceaa5=>_0xf92f67(0x1ac,0x2a1)+_0xf92f67(-0x2a,-0x6d)+escapeXml(_0x4ceaa5)+(_0xf92f67(0x13b,0x352)+'>'))[_0x45a213(-0x44d,-0x1c8)]('\x0a');function _0x45a213(_0x1c5897,_0x34e661){return _0x3a90bd(_0x1c5897,_0x34e661-_0x10540a._0x1f56e2);}return'<?xml\x20ve'+'rsion=\x221'+_0xf92f67(_0x2cebb4._0x39acda,_0x2cebb4._0x4d0c9b)+_0xf92f67(_0x2cebb4._0x497f9d,0x10c)+_0x45a213(_0x2cebb4._0x4c3260,_0x2cebb4._0x498471)+_0xf92f67(0x91,-0x116)+'\x20plist\x20P'+'UBLIC\x20\x22-'+'//Apple/'+_0xf92f67(-_0x2cebb4._0x5b93e1,-0x98)+_0x45a213(_0x2cebb4._0x3f0f61,0x2b9)+_0x45a213(0xda,-0x42)+_0x45a213(-0x34c,-0x172)+_0xf92f67(0x19e,_0x2cebb4._0x40f32b)+_0xf92f67(0x28f,0x25b)+_0xf92f67(0x38,0x1c8)+_0xf92f67(_0x2cebb4._0x19b359,_0x2cebb4._0x1c51e4)+'dtd\x22>\x0a<p'+'list\x20ver'+'sion=\x221.'+_0xf92f67(_0x2cebb4._0x56534c,_0x2cebb4._0x3344b8)+_0x45a213(-0x22,0x1aa)+_0xf92f67(0x389,_0x2cebb4._0x3aa7d2)+_0xf92f67(_0x2cebb4._0x4edc43,_0x2cebb4._0x5c1f74)+_0x45a213(_0x2cebb4._0x5607eb,-_0x2cebb4._0x57e50a)+SERVICE_LABEL+(_0x45a213(-0x209,-0x31)+_0x45a213(_0x2cebb4._0x4dd844,-_0x2cebb4._0x3a29b0)+_0x45a213(-_0x2cebb4._0x208cc9,-_0x2cebb4._0x145967)+_0x45a213(-0xd1,_0x2cebb4._0x43c37c)+_0x45a213(_0x2cebb4._0x22a1cd,_0x2cebb4._0x424639)+_0x45a213(-0x314,-_0x2cebb4._0x33da25)+'>\x0a')+_0x979f67+(_0xf92f67(_0x2cebb4._0x5780e5,0x269)+_0xf92f67(_0x2cebb4._0x8f1164,_0x2cebb4._0x53fbe8)+_0xf92f67(0x159,-0x14b)+_0x45a213(-0x142,0x14c)+'y>\x0a\x20\x20<tr'+_0xf92f67(0x457,0x48d)+_0xf92f67(-_0x2cebb4._0x214281,0x195)+_0x45a213(_0x2cebb4._0x1187a9,_0x2cebb4._0x1d5785)+_0x45a213(_0x2cebb4._0x41ac8d,_0x2cebb4._0x3fb9a4)+_0x45a213(-_0x2cebb4._0x566ee5,-0x13f)+'<key>Sta'+'ndardOut'+'Path</ke'+'y>\x0a\x20\x20<st'+_0x45a213(_0x2cebb4._0x2b3afa,0x189))+escapeXml(_0x343231)+(_0x45a213(0x261,-_0x2cebb4._0x28bbeb)+_0xf92f67(0x65,0x219)+_0xf92f67(-0x82,_0x2cebb4._0xed3e18)+_0xf92f67(0x2a8,_0x2cebb4._0x33b473)+_0xf92f67(0x76,0xbf)+_0xf92f67(_0x2cebb4._0x5409c3,_0x2cebb4._0x2b3afa)+_0x45a213(0x22c,_0x2cebb4._0x4868d9))+_0x1bc69f[_0xf92f67(0x8b,-_0x2cebb4._0x1349e5)](escapeXml,_0x128e08)+('</string'+'>\x0a</dict'+_0xf92f67(0xd2,0x171)+_0xf92f67(-0x4b,_0x2cebb4._0x579b8b));}function buildLinuxSystemdUnit(_0x2556b5,_0x1bb17c,_0x12d897){const _0x4e739c={_0x1dcf66:0x45c,_0x10a741:0x5d5,_0x1b5d2c:0x5d2,_0x608a8d:0x640,_0x3db1a7:0x3f3,_0x5281f2:0x44f,_0xe1c552:0x245,_0x4528ea:0x30e,_0x382675:0x418,_0x1181f7:0x19d,_0xe04265:0x52e,_0x59fac9:0x3f7,_0x24fa40:0x3cb,_0x2030cf:0x217,_0x531397:0x384,_0x43b60a:0x106,_0x330e9e:0x409,_0x44b19a:0x301,_0x39bb71:0x3cf,_0x11af22:0x201,_0x1e241b:0x71,_0x1e2372:0x408,_0x142c88:0x525,_0x5e30b3:0x471,_0x3a3205:0x3e3,_0x4a23a3:0x603,_0x44e9c4:0x6b0,_0x5037d2:0x23c,_0x38d299:0x1bc,_0x552574:0x450,_0x4e9ae4:0x4c7,_0x5e3923:0x22c,_0x177c56:0x130},_0x2c4c07={_0x3d45ec:0x1db},_0x3888b8={_0x438e26:0x342},_0x1c960a={'HMaWk':function(_0x4d30c1,_0x45cb67){return _0x4d30c1(_0x45cb67);}};function _0x2d2635(_0xdc467e,_0x4eb169){return _0xb2a5b9(_0xdc467e,_0x4eb169-_0x3888b8._0x438e26);}function _0x216990(_0x1b2479,_0x18489b){return _0xb2a5b9(_0x1b2479,_0x18489b-_0x2c4c07._0x3d45ec);}const _0x15da14=_0x2556b5['map'](escapeSystemdArg)[_0x216990(0x114,-0x14)]('\x20');return'[Unit]\x0aD'+_0x216990(_0x4e739c._0x1dcf66,0x471)+_0x2d2635(_0x4e739c._0x10a741,_0x4e739c._0x1b5d2c)+'et\x20Bridg'+_0x2d2635(_0x4e739c._0x608a8d,_0x4e739c._0x3db1a7)+_0x216990(0x438,_0x4e739c._0x5281f2)+_0x2d2635(_0x4e739c._0xe1c552,_0x4e739c._0x4528ea)+_0x216990(_0x4e739c._0x382675,_0x4e739c._0x1181f7)+_0x2d2635(0x5d6,_0x4e739c._0xe04265)+_0x2d2635(0x374,_0x4e739c._0x59fac9)+'online.t'+_0x216990(_0x4e739c._0x24fa40,0x2be)+_0x216990(0x421,_0x4e739c._0x2030cf)+_0x2d2635(_0x4e739c._0x531397,_0x4e739c._0x43b60a)+_0x2d2635(0x39d,0x419)+_0x2d2635(0x6c6,0x592)+_0x15da14+(_0x2d2635(_0x4e739c._0x330e9e,0x315)+_0x216990(0x9b,_0x4e739c._0x44b19a)+'RestartS'+_0x216990(_0x4e739c._0x39bb71,_0x4e739c._0x11af22)+_0x216990(-0x15a,_0x4e739c._0x1e241b)+'ctory=')+_0x1c960a[_0x2d2635(_0x4e739c._0x1e2372,_0x4e739c._0x142c88)](escapeSystemdArg,SERVICE_DIR)+('\x0aStandar'+_0x216990(_0x4e739c._0x5e30b3,_0x4e739c._0x3a3205)+_0x2d2635(_0x4e739c._0x4a23a3,0x4fd))+_0x1bb17c+(_0x216990(_0x4e739c._0x44e9c4,0x408)+'dError=a'+_0x2d2635(0xfb,0x2c4))+_0x12d897+(_0x2d2635(_0x4e739c._0x5037d2,0x142)+_0x216990(_0x4e739c._0x38d299,_0x4e739c._0x552574)+_0x2d2635(_0x4e739c._0x4e9ae4,0x371)+'ault.tar'+_0x2d2635(_0x4e739c._0x5e3923,_0x4e739c._0x177c56));}function buildLinuxCronEntry(_0x504536,_0x5230bd,_0x52cb69){const _0x1fb4c6={_0x34dc54:0x60d,_0x363f84:0x384,_0x4fa9ae:0x2b8},_0xd74af9={_0x20dbe5:0x194},_0xdb23cc={_0x1b6460:0x61a};function _0x37b6f0(_0x3d8b11,_0x4c93f8){return _0xb2a5b9(_0x3d8b11,_0x4c93f8-_0xdb23cc._0x1b6460);}function _0xa0a4da(_0x2f2bc4,_0x1dd5f7){return _0xb2a5b9(_0x2f2bc4,_0x1dd5f7-_0xd74af9._0x20dbe5);}const _0x5d9527=_0x504536[_0xa0a4da(0x517,0x31d)](escapeShellWord)['join']('\x20');return _0xa0a4da(0x1a9,0x12f)+_0x5d9527+_0xa0a4da(_0x1fb4c6._0x34dc54,_0x1fb4c6._0x363f84)+escapeShellWord(_0x5230bd)+_0x37b6f0(_0x1fb4c6._0x4fa9ae,0x491)+escapeShellWord(_0x52cb69)+'\x20'+LINUX_CRON_MARKER;}function getServicePath(_0x43b2b8){const _0xb155db={_0x33fe0d:0x6a1,_0xe21c50:0x6c5,_0x2afc0b:0x7e9,_0x5d78e0:0x92c,_0x20041b:0x70,_0x3be8d4:0x8f2,_0x4b8f7c:0x598,_0xbd637a:0x5d3,_0x1ba52e:0x87d,_0x5ddb32:0x1eb,_0xb93c7:0x264,_0x7610b2:0x4c4,_0x2f2703:0x57f,_0x1b721b:0x391},_0x474875={_0x3dd34e:0x64a},_0x41eb55={_0x10921c:0x296};function _0x5c267f(_0x5625a1,_0x31c9fe){return _0xb2a5b9(_0x31c9fe,_0x5625a1-_0x41eb55._0x10921c);}const _0x19badb={};_0x19badb['xjwXJ']='linux',_0x19badb[_0x3269a0(_0xb155db._0x33fe0d,_0xb155db._0xe21c50)]=function(_0x243459,_0x58dcfe){return _0x243459===_0x58dcfe;};function _0x3269a0(_0x61dc9c,_0x154a71){return _0xb2a5b9(_0x61dc9c,_0x154a71-_0x474875._0x3dd34e);}_0x19badb[_0x3269a0(_0xb155db._0x2afc0b,_0xb155db._0x5d78e0)]='win32',_0x19badb[_0x5c267f(0xdd,-0x16f)]=_0x5c267f(0x318,_0xb155db._0x20041b)+_0x3269a0(0x924,0x752)+_0x3269a0(0xb13,_0xb155db._0x3be8d4)+_0x3269a0(0x7a8,_0xb155db._0x4b8f7c)+'CurrentV'+_0x3269a0(0x86e,0x7c1)+_0x3269a0(0x725,_0xb155db._0xbd637a)+'etBridge'+_0x3269a0(0x86d,_0xb155db._0x1ba52e);const _0x40fd8b=_0x19badb;switch(process['platform']){case _0x5c267f(0x2f8,0x4b7):return MACOS_PLIST_PATH;case _0x40fd8b[_0x3269a0(0x3c0,0x478)]:return _0x40fd8b[_0x5c267f(0x311,_0xb155db._0x5ddb32)](_0x43b2b8,_0x5c267f(_0xb155db._0xb93c7,0x271)+_0x5c267f(_0xb155db._0x7610b2,_0xb155db._0x2f2703))?LINUX_CRON_RECORD_PATH:LINUX_SERVICE_PATH;case _0x40fd8b[_0x5c267f(0x578,0x415)]:return _0x40fd8b[_0x3269a0(_0xb155db._0x1b721b,0x491)];default:return'';}}function detectServiceMethod(){const _0x368eb5={_0x28768b:0x822,_0x109981:0x50c,_0x39be54:0x5ed,_0x52213f:0x5cb,_0x5b320c:0x4ea,_0x15a9a2:0x336,_0x3f5305:0x880,_0x51276a:0x3f3,_0x461ca0:0x665,_0x11c9f5:0x21c,_0x4c0c53:0x6f6,_0x2cf2aa:0x3d7,_0x56982b:0x409,_0x2e5778:0x67b,_0x50fa4a:0x40c,_0x117b42:0x5ae},_0x4a0b88={_0x4c2654:0x69e};function _0x323f2a(_0x5a44ed,_0xef46d2){return _0x3a90bd(_0xef46d2,_0x5a44ed-0x410);}const _0x559dc3={'EZUcB':_0x248801(0x7cc,0x6f9),'ANFbS':function(_0x4c87ce,_0x2af51c){return _0x4c87ce(_0x2af51c);},'IqQPs':'systemd-'+_0x323f2a(0x6f6,_0x368eb5._0x28768b),'ffxPJ':'crontab','UgaJp':_0x323f2a(_0x368eb5._0x109981,0x631)+_0x248801(_0x368eb5._0x39be54,_0x368eb5._0x52213f)};function _0x248801(_0x5d3f2f,_0x325aa3){return _0x3a90bd(_0x5d3f2f,_0x325aa3-_0x4a0b88._0x4c2654);}switch(process[_0x323f2a(_0x368eb5._0x5b320c,0x52f)]){case _0x559dc3[_0x248801(0x4dc,0x6f3)]:return _0x248801(_0x368eb5._0x15a9a2,0x5c9)+'ent';case'linux':if(_0x559dc3[_0x248801(_0x368eb5._0x3f5305,0x6c7)](_0x3ffaef,LINUX_SERVICE_PATH))return _0x559dc3[_0x323f2a(0x428,0x45f)];if(hasLinuxCronRegistration())return _0x248801(_0x368eb5._0x51276a,_0x368eb5._0x461ca0)+'ontab';if(commandExists(_0x323f2a(0x2af,_0x368eb5._0x11c9f5)+'l'))return'systemd-'+_0x323f2a(_0x368eb5._0x4c0c53,0x50e);if(commandExists(_0x559dc3['ffxPJ']))return _0x323f2a(_0x368eb5._0x2cf2aa,_0x368eb5._0x56982b)+'ontab';return _0x248801(0x6b3,0x79a)+_0x248801(0x3d4,0x5cb);case _0x248801(0x6d3,0x6ae):return _0x323f2a(_0x368eb5._0x2e5778,0x914)+_0x248801(0x9a3,0x85a)+_0x248801(_0x368eb5._0x50fa4a,_0x368eb5._0x117b42);default:return _0x559dc3['UgaJp'];}}function readServiceState(){const _0x2c5eca={_0x45f6b4:0x625,_0xfb632e:0x988,_0x470a10:0x9cf,_0x191244:0x625,_0x5c6af3:0x781,_0x562549:0x6e2,_0x382a0f:0x390,_0x3f0eb9:0x7c8,_0x1c0346:0x6a3,_0x86e030:0x39d},_0x5f239a={_0x245d78:0x697},_0x49ed34={};_0x49ed34[_0x3ebe90(_0x2c5eca._0x45f6b4,0x808)]='utf8',_0x49ed34[_0x30f3e8(0x888,0x887)]=function(_0x4648ff,_0x22f30c){return _0x4648ff!==_0x22f30c;};const _0x357e4c=_0x49ed34;function _0x3ebe90(_0x150705,_0xd61687){return _0xb2a5b9(_0xd61687,_0x150705-0x552);}function _0x30f3e8(_0x3d498b,_0x3f932c){return _0xb2a5b9(_0x3f932c,_0x3d498b-_0x5f239a._0x245d78);}if(!_0x3ffaef(SERVICE_STATE_PATH))return null;try{const _0x5cd35b=JSON[_0x30f3e8(_0x2c5eca._0xfb632e,_0x2c5eca._0x470a10)](_0x491827(SERVICE_STATE_PATH,_0x357e4c[_0x3ebe90(_0x2c5eca._0x191244,_0x2c5eca._0x5c6af3)]));if(!_0x5cd35b[_0x3ebe90(0x6e2,0x923)]||_0x357e4c['hxRrm'](typeof _0x5cd35b[_0x3ebe90(_0x2c5eca._0x562549,0x80f)],_0x3ebe90(_0x2c5eca._0x382a0f,0x5d5)))return null;return{'pid':_0x5cd35b[_0x30f3e8(0x827,_0x2c5eca._0x3f0eb9)],'startedAt':_0x5cd35b[_0x3ebe90(0x670,_0x2c5eca._0x1c0346)+'t']??new Date(0x0)['toISOStr'+_0x3ebe90(_0x2c5eca._0x86e030,0x3f4)]()};}catch{return null;}}function readRuntimeRegistry(){const _0x5e8fc9={_0x446880:0x25e,_0xd2cdda:0x1a0,_0x3fdc98:0x17e,_0x33e195:0x1e3,_0x4da2bf:0x276},_0x326c4a={_0x13910c:0x5a};function _0x2cd40b(_0x4041cd,_0x32c74e){return _0xb2a5b9(_0x4041cd,_0x32c74e-0xd3);}const _0x4689c0={};_0x4689c0[_0x2cd40b(-0x24d,-0x65)]='utf8';const _0x32c329=_0x4689c0;function _0x178420(_0xf0be30,_0x47b650){return _0xb2a5b9(_0xf0be30,_0x47b650-_0x326c4a._0x13910c);}if(!_0x3ffaef(RUNTIME_REGISTRY_PATH))return[];try{const _0x2764f4=JSON[_0x178420(_0x5e8fc9._0x446880,0x34b)](_0x491827(RUNTIME_REGISTRY_PATH,_0x32c329[_0x178420(_0x5e8fc9._0xd2cdda,-0xde)]));if(!Array[_0x2cd40b(_0x5e8fc9._0x3fdc98,-0xc5)](_0x2764f4))return[];const _0x3781a2=_0x2764f4[_0x178420(0x311,_0x5e8fc9._0x33e195)](_0x182c7c=>normalizeRuntimeProcessRecord(_0x182c7c))[_0x178420(0x1b1,_0x5e8fc9._0x4da2bf)](_0x5582df=>_0x5582df!=null&&isPidRunning(_0x5582df['pid']));return writeRuntimeRegistry(_0x3781a2),_0x3781a2;}catch{return[];}}function writeRuntimeRegistry(_0xfad87){const _0x4998b0={_0x394e9d:0x326,_0x537f05:0x1d6,_0x507d7b:0x30},_0x2a3f4a={_0xf88955:0x29f};if(_0xfad87[_0x1351a4(_0x4998b0._0x394e9d,_0x4998b0._0x537f05)]===0x0){rmIfExists(RUNTIME_REGISTRY_PATH);return;}function _0x3a3511(_0x3f377a,_0x98406d){return _0x3a90bd(_0x3f377a,_0x98406d-0x288);}ensureServiceDirs();function _0x1351a4(_0x29ec15,_0x9fde98){return _0x3a90bd(_0x9fde98,_0x29ec15-_0x2a3f4a._0xf88955);}_0x52ea0b(RUNTIME_REGISTRY_PATH,JSON['stringif'+'y'](_0xfad87,null,0x2)+'\x0a',_0x3a3511(_0x4998b0._0x507d7b,0x182));}function normalizeRuntimeProcessRecord(_0x1b4eeb){const _0x1bf664={_0x52d883:0x28a,_0x36ecb1:0x19,_0xac602e:0x2c,_0x2e86e4:0x221,_0x494a33:0x39a,_0x5cccae:0x655,_0x2b762a:0x4e9,_0x1ee924:0x503,_0x4d84a7:0x8af,_0x10b4fd:0x38c,_0x315873:0x2f9,_0x47b1cb:0x4e3,_0x194fd8:0x253,_0x46318f:0x26,_0x3c9ba3:0x50e,_0x590a78:0x570,_0x2d3752:0x6d3,_0x30a62c:0x871,_0x4adab3:0x4ec,_0x2164e8:0x2fc,_0x501dba:0x118,_0x5a9b04:0x20b,_0x4d42f8:0x58,_0x231cda:0x54e},_0x500068={_0x4e3bcb:0x1e2},_0x2bbfb9={'JNmlG':function(_0x4249ba,_0x2580d9){return _0x4249ba!==_0x2580d9;},'ORdzm':_0xf60669(_0x1bf664._0x52d883,_0x1bf664._0x36ecb1),'kMxpo':function(_0x243761,_0x591921){return _0x243761(_0x591921);},'aHsQb':function(_0x4582e3,_0x1aa5c7){return _0x4582e3===_0x1aa5c7;}};if(!_0x1b4eeb||_0x2bbfb9[_0xf60669(0xc5,_0x1bf664._0xac602e)](typeof _0x1b4eeb,'object'))return null;const _0x46d539=_0x1b4eeb;function _0x43631f(_0x32cb59,_0x2f0e59){return _0x3a90bd(_0x2f0e59,_0x32cb59-0x726);}if(!_0x46d539[_0x43631f(0x8af,0x97e)]||typeof _0x46d539[_0xf60669(_0x1bf664._0x2e86e4,0x36b)]!==_0x2bbfb9[_0xf60669(0x4f7,_0x1bf664._0x494a33)])return null;function _0xf60669(_0x3da073,_0x53ca44){return _0x3a90bd(_0x3da073,_0x53ca44-_0x500068._0x4e3bcb);}const _0x231091=typeof _0x46d539[_0x43631f(0x4e9,0x29e)+'th']===_0x43631f(0x5eb,0x408)?_0x2bbfb9[_0x43631f(0x760,_0x1bf664._0x5cccae)](resolveScriptPath,_0x46d539[_0x43631f(_0x1bf664._0x2b762a,_0x1bf664._0x1ee924)+'th']):'';if(!_0x231091)return null;return{'pid':_0x46d539[_0x43631f(_0x1bf664._0x4d84a7,0xa5e)],'startedAt':typeof _0x46d539['startedA'+'t']==='string'?_0x46d539[_0xf60669(_0x1bf664._0x10b4fd,_0x1bf664._0x315873)+'t']:new Date(0x0)[_0xf60669(_0x1bf664._0x47b1cb,0x39c)+_0xf60669(-_0x1bf664._0x194fd8,_0x1bf664._0x46318f)](),'gatewayId':typeof _0x46d539[_0x43631f(_0x1bf664._0x3c9ba3,_0x1bf664._0x590a78)+'d']===_0x43631f(0x5eb,_0x1bf664._0x2d3752)?_0x46d539['gatewayI'+'d']:'','instanceId':_0x2bbfb9[_0x43631f(_0x1bf664._0x30a62c,0x603)](typeof _0x46d539[_0x43631f(_0x1bf664._0x4adab3,_0x1bf664._0x2164e8)+'Id'],_0xf60669(_0x1bf664._0x501dba,0xa7))?_0x46d539[_0xf60669(_0x1bf664._0x5a9b04,-_0x1bf664._0x4d42f8)+'Id']:'','serviceMode':_0x46d539[_0x43631f(_0x1bf664._0x231cda,0x4c3)+'ode']===!![],'scriptPath':_0x231091};}function stopRunningProcess(){const _0x5e1d7b={_0xaddc4a:0x2b3,_0x8e60c6:0x7f1,_0x5bf7b3:0xa96,_0x33137a:0x401,_0x3f96f0:0x36e,_0x597a40:0x675,_0x41ba36:0x278,_0x19d89d:0x32d,_0x19ed93:0x7ee,_0x240441:0x8ff,_0x3fbebe:0x384,_0x3cc4a0:0x1d1,_0x2cfc94:0xb9,_0x442b29:0x2cb},_0x4f88c5={'wjzJZ':function(_0x5f368c,_0x450bcf,_0x936993){return _0x5f368c(_0x450bcf,_0x936993);},'FqRgJ':function(_0x31bfb8,_0x935535){return _0x31bfb8(_0x935535);},'dPKMG':_0x2bd2b6(0x296,_0x5e1d7b._0xaddc4a),'EEKLK':function(_0x364b23,_0x400c1f){return _0x364b23(_0x400c1f);}},_0x3d04c9=readServiceState();if(!_0x3d04c9)return;_0x4f88c5[_0x12c45e(_0x5e1d7b._0x8e60c6,_0x5e1d7b._0x5bf7b3)](execIgnoreFailure,process['platform']==='win32'?_0x12c45e(0x63c,_0x5e1d7b._0x33137a):_0x12c45e(0x696,0x836),process[_0x2bd2b6(0x25b,_0x5e1d7b._0x3f96f0)]===_0x12c45e(_0x5e1d7b._0x597a40,0x77f)?[_0x2bd2b6(_0x5e1d7b._0x41ba36,_0x5e1d7b._0x19d89d),_0x4f88c5['FqRgJ'](String,_0x3d04c9[_0x12c45e(_0x5e1d7b._0x19ed93,_0x5e1d7b._0x240441)]),'/T','/F']:[_0x4f88c5[_0x12c45e(0x7a2,0x6ba)],String(_0x3d04c9[_0x2bd2b6(0x30a,_0x5e1d7b._0x3fbebe)])]);function _0x12c45e(_0xa05b2c,_0xe6c2e7){return _0xb2a5b9(_0xe6c2e7,_0xa05b2c-0x65e);}function _0x2bd2b6(_0x1149d8,_0x4950f9){return _0xb2a5b9(_0x4950f9,_0x1149d8-0x17a);}_0x4f88c5[_0x2bd2b6(_0x5e1d7b._0x3cc4a0,_0x5e1d7b._0x2cfc94)](clearServiceState,_0x3d04c9[_0x2bd2b6(0x30a,_0x5e1d7b._0x442b29)]);}function listPosixRuntimePids(_0x21e265){const _0x52b9c6={_0x1a4897:0xea,_0x2380aa:0xb9,_0x5e802e:0x4ff,_0xda7ba2:0x37e,_0x1522fe:0x617,_0x22d637:0x717,_0x397bd2:0x7a3,_0x249e6b:0x75d,_0x4c9341:0x7f0,_0x18fab0:0x701,_0x2bc5d5:0x72},_0x4e8f97={_0x1ff13b:0x3c4,_0xbdc773:0x251,_0x554124:0x8e,_0x5f32dc:0x32a,_0x362f99:0x3dc,_0x49befd:0x502},_0x104781={_0x3adf84:0x55e},_0x23f52e={_0x1a9ba6:0xd3},_0x2a37dd={_0x4fc427:0x5d4};function _0xa74687(_0x2ce6f9,_0x1f5587){return _0xb2a5b9(_0x1f5587,_0x2ce6f9-_0x2a37dd._0x4fc427);}const _0x28df48={};_0x28df48['XDGRN']=_0x5c9ee7(_0x52b9c6._0x1a4897,0x313),_0x28df48[_0x5c9ee7(-_0x52b9c6._0x2380aa,0xed)]=_0xa74687(0x56d,_0x52b9c6._0x5e802e);const _0x267677=_0x28df48;function _0x5c9ee7(_0x364672,_0x49f759){return _0xb2a5b9(_0x49f759,_0x364672-_0x23f52e._0x1a9ba6);}if(!_0x21e265||process['platform']===_0x267677[_0xa74687(_0x52b9c6._0xda7ba2,_0x52b9c6._0x1522fe)])return[];try{const _0x5da8f5={};_0x5da8f5[_0xa74687(_0x52b9c6._0x22d637,0x649)]=_0xa74687(0x4d5,0x36f);const _0x16d8bd=execFileSync('ps',[_0x267677['UefLO'],'-o','pid=,arg'+'s='],_0x5da8f5);return _0x16d8bd[_0xa74687(_0x52b9c6._0x397bd2,0x913)]('\x0a')[_0xa74687(_0x52b9c6._0x249e6b,0x543)](_0x3a6ac7=>_0x3a6ac7[_0x5c9ee7(0x36c,0x282)]())[_0xa74687(_0x52b9c6._0x4c9341,_0x52b9c6._0x18fab0)](Boolean)[_0x5c9ee7(-_0x52b9c6._0x2bc5d5,-0x151)](_0x2166b2=>{const _0x12cf8c={_0x3ffa72:0x353},_0x74e7b0=_0x2166b2[_0x55f902(0x5f9,0x3ce)](/^(\d+)\s+(.*)$/);if(!_0x74e7b0)return[];const _0x1d3014=Number(_0x74e7b0[0x1]),_0x1b250a=_0x74e7b0[0x2];if(!Number[_0x4b7924(_0x4e8f97._0x1ff13b,_0x4e8f97._0xbdc773)+'r'](_0x1d3014)||_0x1d3014<=0x0||_0x1d3014===process['pid'])return[];if(!_0x1b250a[_0x4b7924(_0x4e8f97._0x554124,_0x4e8f97._0x5f32dc)](_0x21e265))return[];if(!/\brun\b/[_0x55f902(_0x4e8f97._0x362f99,_0x4e8f97._0x49befd)](_0x1b250a))return[];function _0x55f902(_0x5753f3,_0x29fb64){return _0x5c9ee7(_0x5753f3-_0x104781._0x3adf84,_0x29fb64);}function _0x4b7924(_0x5c4926,_0x1c7a74){return _0x5c9ee7(_0x1c7a74-_0x12cf8c._0x3ffa72,_0x5c4926);}return[_0x1d3014];});}catch{return[];}}function isPidRunning(_0x3ffef4){const _0x4dedf1={_0x38522c:0xba};function _0x1999cd(_0x2401a8,_0x43b30c){return _0x3a90bd(_0x43b30c,_0x2401a8-0x89);}try{return process[_0x1999cd(_0x4dedf1._0x38522c,0x2e2)](_0x3ffef4,0x0),!![];}catch{return![];}}function waitForPidExit(_0x33b21e,_0x486eba){const _0x12fc74={_0x3199a0:0x3b8,_0xb6313c:0x47c,_0x3f9e7a:0x190,_0x357082:0x18c};function _0x2c63a4(_0xd51b6d,_0x107061){return _0xb2a5b9(_0x107061,_0xd51b6d- -0x7b);}const _0x556602=Date[_0x14bb87(_0x12fc74._0x3199a0,_0x12fc74._0xb6313c)]()+_0x486eba,_0x442413=new Int32Array(new SharedArrayBuffer(0x4));function _0x14bb87(_0x5e43cf,_0x37fce6){return _0xb2a5b9(_0x5e43cf,_0x37fce6-0x1fe);}while(isPidRunning(_0x33b21e)){if(Date['now']()>=_0x556602)return![];Atomics[_0x2c63a4(_0x12fc74._0x3f9e7a,_0x12fc74._0x357082)](_0x442413,0x0,0x0,0x32);}return!![];}function startDetachedWindowsService(_0x5c3eaf){const _0x6cdf04={_0x3902c6:0x8a8,_0x234945:0x99d,_0x4036f4:0x89e,_0x31abe2:0x76c,_0x35c781:0x10c,_0x4cc4d2:0x7c7,_0xde977e:0x790,_0x592b2b:0x167},_0x2919c1={_0x1cabda:0x6c8},_0x5a375c={'zNJsi':function(_0x19ee38,_0x501fe4,_0x3486e8){return _0x19ee38(_0x501fe4,_0x3486e8);}};function _0x1beaa5(_0x4dddc5,_0x117098){return _0xb2a5b9(_0x117098,_0x4dddc5-0x35c);}const _0x504038=openSync(SERVICE_LOG_PATH,'a'),_0x489fbf=_0x5a375c[_0x3f0fba(_0x6cdf04._0x3902c6,_0x6cdf04._0x234945)](openSync,SERVICE_ERROR_LOG_PATH,'a');function _0x3f0fba(_0x286e55,_0x4a2fd9){return _0xb2a5b9(_0x4a2fd9,_0x286e55-_0x2919c1._0x1cabda);}try{const [_0xe4a031,..._0x54d408]=_0x5c3eaf,_0x2b2085={};_0x2b2085[_0x3f0fba(_0x6cdf04._0x4036f4,_0x6cdf04._0x31abe2)]=!![],_0x2b2085[_0x1beaa5(0x183,-_0x6cdf04._0x35c781)]=['ignore',_0x504038,_0x489fbf],_0x2b2085[_0x3f0fba(_0x6cdf04._0x4cc4d2,_0x6cdf04._0xde977e)+_0x1beaa5(0x337,_0x6cdf04._0x592b2b)]=!![];const _0x478a78=spawn(_0xe4a031,_0x54d408,_0x2b2085);_0x478a78[_0x3f0fba(0x761,0x524)]();}finally{closeSync(_0x504038),closeSync(_0x489fbf);}}function startDetachedPosixService(_0x1eb592){const _0x22ea1a={_0x272d81:0x59b,_0x238aef:0x83e,_0x3415fc:0x182,_0x495088:0x2ad,_0x1b3f7e:0x306},_0x3fe57d={_0x1f2a11:0x137};function _0x235b8b(_0x153319,_0x3724b0){return _0x3a90bd(_0x3724b0,_0x153319-_0x3fe57d._0x1f2a11);}function _0x2557d5(_0x2bbf8a,_0x31de7f){return _0x3a90bd(_0x31de7f,_0x2bbf8a-0x4d9);}const _0x4659bf={};_0x4659bf[_0x2557d5(_0x22ea1a._0x272d81,_0x22ea1a._0x238aef)]=_0x235b8b(_0x22ea1a._0x3415fc,_0x22ea1a._0x495088);const _0x301384=_0x4659bf,_0x271331=openSync(SERVICE_LOG_PATH,'a'),_0x242289=openSync(SERVICE_ERROR_LOG_PATH,'a');try{const [_0x2451b1,..._0x4609c0]=_0x1eb592,_0x515859={};_0x515859[_0x235b8b(_0x22ea1a._0x1b3f7e,0x572)]=!![],_0x515859['stdio']=[_0x301384[_0x2557d5(_0x22ea1a._0x272d81,0x59e)],_0x271331,_0x242289];const _0x4a0ea7=spawn(_0x2451b1,_0x4609c0,_0x515859);_0x4a0ea7[_0x235b8b(0x1c9,0x1fa)]();}finally{closeSync(_0x271331),closeSync(_0x242289);}}async function waitForRuntimeState(_0x45dec7=0x5dc,_0x3f8f08=0x32){const _0x45e6b8={_0x28d5a7:0x66f,_0x1a49fa:0x6d8,_0x4199ae:0x4a1,_0x16dfb1:0x607,_0x237b5b:0x545,_0x57170b:0x4f0},_0x21ed1e={_0x3b9f12:0x3f8},_0x20da73={'EuToF':function(_0x17c404){return _0x17c404();},'nQFlV':function(_0x5bb196,_0x1fb4de){return _0x5bb196(_0x1fb4de);}},_0x4ddaf1=Date[_0x149172(_0x45e6b8._0x28d5a7,_0x45e6b8._0x1a49fa)]()+_0x45dec7;function _0x51671f(_0x549468,_0x5b7685){return _0x3a90bd(_0x549468,_0x5b7685-0x390);}let _0x1b6f04=_0x20da73[_0x149172(0x57f,0x309)](getServiceStatus);while(Date[_0x51671f(_0x45e6b8._0x4199ae,_0x45e6b8._0x16dfb1)]()<_0x4ddaf1){if(_0x1b6f04[_0x51671f(_0x45e6b8._0x237b5b,_0x45e6b8._0x57170b)])return _0x1b6f04;await _0x20da73[_0x149172(0x5fd,0x35f)](_0x3a6e11,_0x3f8f08),_0x1b6f04=getServiceStatus();}function _0x149172(_0x2fd908,_0xabcce3){return _0x3a90bd(_0xabcce3,_0x2fd908-_0x21ed1e._0x3b9f12);}return _0x1b6f04;}function installLinuxService(_0x467710){const _0x4b6c83={_0x32e139:0x4c9},_0x34cf09={'qbseS':function(_0x496652,_0x4b8439){return _0x496652(_0x4b8439);}};function _0x4503d9(_0x57015b,_0x17d33e){return _0xb2a5b9(_0x17d33e,_0x57015b-_0x4b6c83._0x32e139);}try{_0x34cf09[_0x4503d9(0x34c,0x1d7)](installLinuxSystemdService,_0x467710),removeLinuxCronRegistration();return;}catch(_0x47f942){installLinuxCronService(_0x467710,_0x47f942);}}function restartLinuxService(_0x45a042){const _0x55bad6={'GdlhX':function(_0x382755,_0x2f6885,_0x586de9){return _0x382755(_0x2f6885,_0x586de9);}};try{restartLinuxSystemdService(_0x45a042),removeLinuxCronRegistration();return;}catch(_0x316ac4){_0x55bad6['GdlhX'](installLinuxCronService,_0x45a042,_0x316ac4);}}function installLinuxSystemdService(_0x246d38){const _0x4d2693={_0x3707f1:0x114,_0x23c70e:0xbf,_0x25ed4e:0x49f,_0x557a1a:0x8f6,_0x2fd737:0x50e,_0x5c23f5:0x6d7,_0xb27100:0x5dc,_0x2f004a:0x6fb,_0x3a48da:0x641,_0x3acb1d:0x66f,_0x186e83:0x825,_0x2287fa:0x1bf,_0x6e80b3:0x701,_0x258eb5:0x193,_0x2725b2:0x1c4,_0x4d7c3d:0x810,_0x1ab1c9:0x5dd,_0x4916e1:0x5e6,_0x5dc0b6:0x87a,_0x46113f:0x917};function _0x354176(_0x5ea2e2,_0x93967b){return _0x3a90bd(_0x5ea2e2,_0x93967b-0x747);}const _0x208628={'HlbgU':_0x3e80be(-_0x4d2693._0x3707f1,_0x4d2693._0x23c70e)+'l','lljTd':_0x354176(_0x4d2693._0x25ed4e,0x5e6)+_0x354176(0x3e8,0x53a)+_0x354176(0xa74,_0x4d2693._0x557a1a)+'le','wfugZ':function(_0x275673,_0x41066a){return _0x275673(_0x41066a);},'iXKFa':function(_0x11a3ae,_0x1313eb,_0x160946,_0x158efd){return _0x11a3ae(_0x1313eb,_0x160946,_0x158efd);},'coPEa':_0x354176(0x918,0x81b),'wnSKh':_0x3e80be(0x32c,0x4c9)};if(!commandExists(_0x208628[_0x354176(0x3e4,_0x4d2693._0x2fd737)]))throw new Error(_0x208628[_0x354176(_0x4d2693._0x5c23f5,0x6a8)]);const _0x56ead4={};_0x56ead4[_0x354176(0x629,0x5f9)+'e']=!![],_0x19193e(_0x208628[_0x354176(0x45c,_0x4d2693._0xb27100)](dirname,LINUX_SERVICE_PATH),_0x56ead4),_0x52ea0b(LINUX_SERVICE_PATH,buildLinuxSystemdUnit(_0x246d38,SERVICE_LOG_PATH,SERVICE_ERROR_LOG_PATH),_0x354176(_0x4d2693._0x2f004a,_0x4d2693._0x3a48da));const _0x41f344={};_0x41f344[_0x354176(_0x4d2693._0x3acb1d,0x567)]=_0x354176(_0x4d2693._0x186e83,0x792);function _0x3e80be(_0x111fcd,_0x15d50e){return _0x3a90bd(_0x15d50e,_0x111fcd-0x4d);}_0x208628[_0x354176(0xb81,0x9a4)](execFileSync,_0x208628['HlbgU'],[_0x3e80be(0x121,_0x4d2693._0x2287fa),_0x3e80be(0x6,-0x1ee)+_0x354176(_0x4d2693._0x6e80b3,0x715)],_0x41f344);const _0x55c790={};_0x55c790[_0x3e80be(-_0x4d2693._0x258eb5,-_0x4d2693._0x2725b2)]=_0x354176(_0x4d2693._0x4d7c3d,0x792),execFileSync(_0x354176(_0x4d2693._0x1ab1c9,_0x4d2693._0x4916e1)+'l',[_0x208628['coPEa'],_0x208628[_0x354176(_0x4d2693._0x5dc0b6,0x970)],_0x354176(0x943,_0x4d2693._0x46113f),SYSTEMD_UNIT_NAME],_0x55c790);}function restartLinuxSystemdService(_0x28d10b){const _0x26bc90={_0x453a1b:0x5fe,_0x2a3639:0x37e,_0x138d2c:0x4ce,_0x34fa1c:0x460,_0x5f04c3:0x1a6,_0x457655:0x3b9,_0x37fca4:0x32,_0x143c04:0x187,_0x5892e3:0xc5,_0x25e8d4:0x125,_0x2f1c22:0x6a,_0x1bddbc:0x144},_0x4cac61={_0x786d88:0x9c},_0x1ebe00={};_0x1ebe00['VUlos']='systemct'+'l';function _0x16f760(_0x16d535,_0x358d27){return _0x3a90bd(_0x358d27,_0x16d535-0x432);}_0x1ebe00['YcHQk']='ignore';function _0x5eb576(_0x5373bd,_0x4bc8d8){return _0x3a90bd(_0x5373bd,_0x4bc8d8-_0x4cac61._0x786d88);}const _0x13999e=_0x1ebe00,_0x30d662=(_0x16f760(_0x26bc90._0x453a1b,_0x26bc90._0x2a3639)+'4')[_0x16f760(0x5fa,_0x26bc90._0x138d2c)]('|');let _0x1093fe=0x0;while(!![]){switch(_0x30d662[_0x1093fe++]){case'0':if(!commandExists(_0x13999e[_0x16f760(_0x26bc90._0x34fa1c,0x495)]))throw new Error(_0x16f760(0x2d1,_0x26bc90._0x5f04c3)+_0x16f760(0x225,_0x26bc90._0x457655)+_0x16f760(0x5e1,0x7a1)+'le');continue;case'1':const _0x2aaf20={};_0x2aaf20['stdio']=_0x13999e[_0x5eb576(_0x26bc90._0x37fca4,-_0x26bc90._0x143c04)],execFileSync(_0x5eb576(-0x298,-_0x26bc90._0x5892e3)+'l',['--user',_0x5eb576(_0x26bc90._0x25e8d4,0x55)+_0x5eb576(0x1b3,_0x26bc90._0x2f1c22)],_0x2aaf20);continue;case'2':if(!_0x3ffaef(LINUX_SERVICE_PATH)){installLinuxSystemdService(_0x28d10b);return;}continue;case'3':_0x52ea0b(LINUX_SERVICE_PATH,buildLinuxSystemdUnit(_0x28d10b,SERVICE_LOG_PATH,SERVICE_ERROR_LOG_PATH),_0x16f760(0x32c,0x376));continue;case'4':const _0x221b51={};_0x221b51[_0x5eb576(-0x2aa,-_0x26bc90._0x1bddbc)]=_0x13999e['YcHQk'],execFileSync('systemct'+'l',['--user',_0x5eb576(0x30,0x10d),SYSTEMD_UNIT_NAME],_0x221b51);continue;}break;}}function installLinuxCronService(_0x204a2d,_0x1a396a){const _0x5de0a4={_0x43e96d:0x213,_0x506b32:0x164,_0x1eb202:0x300,_0x34fd21:0x4d4,_0x4437a3:0xf8,_0xb40952:0x14d,_0x2b6dda:0x39,_0x171abf:0x206,_0x29af95:0x3b2,_0x3cb121:0x3db,_0x460ff2:0x35a,_0x39733c:0x3f7,_0x5b3d81:0xe3},_0x5630be={'YIPVJ':function(_0x2faf6e,_0x3ecf3e){return _0x2faf6e(_0x3ecf3e);},'tlwYN':_0x1b9c93(0x26a,_0x5de0a4._0x43e96d),'joLfP':function(_0x4f8f0c,_0x4e2fa5,_0x5b354c,_0x3f7c32){return _0x4f8f0c(_0x4e2fa5,_0x5b354c,_0x3f7c32);},'BCXMs':function(_0x5c2f6c,_0x54c212){return _0x5c2f6c+_0x54c212;}};if(!_0x5630be['YIPVJ'](commandExists,_0x5630be[_0x55f79f(_0x5de0a4._0x506b32,-0x10d)]))throw new Error(_0x1b9c93(_0x5de0a4._0x1eb202,_0x5de0a4._0x34fd21)+_0x55f79f(0x133,0x4d)+'stallati'+_0x55f79f(_0x5de0a4._0x4437a3,-0x45)+_0x55f79f(_0x5de0a4._0xb40952,0xa9)+_0x55f79f(-0x1c2,-_0x5de0a4._0x2b6dda)+_0x1b9c93(_0x5de0a4._0x171abf,_0x5de0a4._0x29af95)+_0x1b9c93(_0x5de0a4._0x3cb121,_0x5de0a4._0x460ff2)+_0x55f79f(_0x5de0a4._0x39733c,0x437)+formatError(_0x1a396a));_0x5630be['YIPVJ'](rmIfExists,LINUX_SERVICE_PATH);const _0x497fa4=buildLinuxCronEntry(_0x204a2d,SERVICE_LOG_PATH,SERVICE_ERROR_LOG_PATH);writeLinuxCrontabEntry(_0x497fa4);function _0x1b9c93(_0x60aca1,_0x377cd1){return _0x3a90bd(_0x377cd1,_0x60aca1-0x3ac);}function _0x55f79f(_0x487293,_0x2f5a65){return _0x3a90bd(_0x487293,_0x2f5a65-0x145);}_0x5630be[_0x55f79f(-0x81,0x9d)](_0x52ea0b,LINUX_CRON_RECORD_PATH,_0x5630be[_0x55f79f(-0x208,-_0x5de0a4._0x5b3d81)](_0x497fa4,'\x0a'),'utf8'),stopRunningProcess(),startDetachedPosixService(_0x204a2d);}function hasLinuxCronRegistration(){const _0x351e9f={_0x47fc03:0x7e4,_0x167b11:0x4a2,_0x5cea71:0x7e4,_0x58cb14:0x730,_0x7bd3b8:0x5b4,_0x51e85a:0x385,_0x3c2e18:0x47c,_0x3df9b4:0x537},_0x13d29c={};_0x13d29c[_0x3742bc(_0x351e9f._0x47fc03,0x988)]=function(_0x237b56,_0x1ccba0){return _0x237b56!==_0x1ccba0;};function _0x3742bc(_0x51f9b2,_0x4969f1){return _0xb2a5b9(_0x4969f1,_0x51f9b2-0x6de);}_0x13d29c['IaqYG']=_0x49ceb9(0x3e3,_0x351e9f._0x167b11);const _0x2f038b=_0x13d29c;if(_0x2f038b[_0x3742bc(_0x351e9f._0x5cea71,_0x351e9f._0x58cb14)](process[_0x49ceb9(_0x351e9f._0x7bd3b8,_0x351e9f._0x51e85a)],_0x2f038b[_0x49ceb9(_0x351e9f._0x3c2e18,_0x351e9f._0x3df9b4)]))return![];function _0x49ceb9(_0x522bbb,_0x5c525d){return _0xb2a5b9(_0x522bbb,_0x5c525d-0x2a4);}return readLinuxCrontab()['some'](_0x2d5eb5=>_0x2d5eb5['includes'](LINUX_CRON_MARKER));}function removeLinuxCronRegistration(){if(process['platform']!==_0x17db35(0x918,0x837))return;function _0x17db35(_0x46a6bc,_0xe3d973){return _0x3a90bd(_0xe3d973,_0x46a6bc-0x721);}function _0x2b826f(_0x2e9c6e,_0x427cbd){return _0x3a90bd(_0x2e9c6e,_0x427cbd-0x44f);}if(commandExists(_0x2b826f(0x467,0x30d))){const _0x26a9ec=readLinuxCrontab()['filter'](_0x4261a4=>!_0x4261a4['includes'](LINUX_CRON_MARKER));writeLinuxCrontab(_0x26a9ec);}rmIfExists(LINUX_CRON_RECORD_PATH);}function writeLinuxCrontabEntry(_0x113380){const _0x55ce76={_0x483739:0x1e8},_0x947ec6={_0x264fea:0x27e};function _0x19aaf3(_0x10a4d3,_0x6e00c3){return _0xb2a5b9(_0x6e00c3,_0x10a4d3-0x14f);}function _0x53003c(_0xa4fb5,_0x317af7){return _0xb2a5b9(_0x317af7,_0xa4fb5-_0x947ec6._0x264fea);}const _0x1c40da={'YKwkM':function(_0x530d83){return _0x530d83();}},_0x3eaeab=_0x1c40da['YKwkM'](readLinuxCrontab)['filter'](_0x2326e3=>!_0x2326e3[_0x53003c(0x182,0x249)](LINUX_CRON_MARKER));_0x3eaeab[_0x53003c(0x291,_0x55ce76._0x483739)](_0x113380),writeLinuxCrontab(_0x3eaeab);}function readLinuxCrontab(){const _0x55324f={_0x138875:0x2f8,_0x2ac1c9:0x776,_0x3dfb90:0x23a},_0x257cfe={_0x3406aa:0x687};function _0x58e63a(_0x43b559,_0x2f4b39){return _0xb2a5b9(_0x43b559,_0x2f4b39-0x1b5);}const _0x202566={'Rtwwt':function(_0xa512d7,_0x3df82c){return _0xa512d7(_0x3df82c);}};function _0x54c39c(_0x4474ea,_0x548d3d){return _0xb2a5b9(_0x4474ea,_0x548d3d-_0x257cfe._0x3406aa);}if(!_0x202566['Rtwwt'](commandExists,'crontab'))return[];try{const _0x1d283e={};_0x1d283e[_0x58e63a(0x365,_0x55324f._0x138875)]=_0x54c39c(_0x55324f._0x2ac1c9,0x588);const _0x3731e3=execFileSync(_0x58e63a(_0x55324f._0x3dfb90,0x7a),['-l'],_0x1d283e);return _0x3731e3[_0x54c39c(0xab6,0x856)]('\x0a')['map'](_0x5f301e=>_0x5f301e['trimEnd']())['filter'](_0x3362fc=>_0x3362fc['length']>0x0);}catch(_0x2fce15){if(isMissingCrontabError(_0x2fce15))return[];throw _0x2fce15;}}function writeLinuxCrontab(_0x4eb839){const _0x3b8d4d={_0x29b46c:0x4fa,_0x26f099:0x55b,_0x4ae27a:0x6ec,_0x254f47:0x8b8,_0x132d91:0x909,_0xd2d947:0x549,_0x392118:0x151,_0x3c126f:0x40a,_0x1e60f1:0x264,_0x213582:0xc2,_0x115e58:0xdd,_0x544f66:0x2e1,_0x488fb5:0x3c,_0x1dc8a1:0x19c},_0x5f1d20={};_0x5f1d20['RLigH']=function(_0x4f0f45,_0x461d7a){return _0x4f0f45===_0x461d7a;},_0x5f1d20['ITDKj']=_0x8aeb42(_0x3b8d4d._0x29b46c,_0x3b8d4d._0x26f099);function _0x8aeb42(_0x48210e,_0x2e73e2){return _0x3a90bd(_0x2e73e2,_0x48210e-0x600);}_0x5f1d20[_0x8aeb42(_0x3b8d4d._0x4ae27a,_0x3b8d4d._0x254f47)]=_0x8aeb42(0x68e,_0x3b8d4d._0x132d91),_0x5f1d20['wWKpI']='ignore';const _0x16c48c=_0x5f1d20;if(!commandExists(_0x8aeb42(0x4be,_0x3b8d4d._0xd2d947)))return;function _0x58fa01(_0x7d87b7,_0xe9b817){return _0x3a90bd(_0xe9b817,_0x7d87b7- -0xf);}if(_0x16c48c[_0x8aeb42(0x777,0x69e)](_0x4eb839['length'],0x0)){execIgnoreFailure(_0x8aeb42(0x4be,0x37c),['-r']);return;}execFileSync(_0x58fa01(-_0x3b8d4d._0x392118,-0xf6),['-'],{'input':_0x4eb839[_0x8aeb42(_0x3b8d4d._0x3c126f,0x5c2)]('\x0a')+'\x0a','encoding':_0x16c48c[_0x58fa01(-_0x3b8d4d._0x1e60f1,-_0x3b8d4d._0x213582)],'stdio':[_0x16c48c[_0x58fa01(_0x3b8d4d._0x115e58,-0x11b)],_0x16c48c[_0x58fa01(0x17e,_0x3b8d4d._0x544f66)],_0x58fa01(_0x3b8d4d._0x488fb5,_0x3b8d4d._0x1dc8a1)]});}function resolveScriptPath(_0x6a5c4f){const _0xb39da9={_0x210f6b:0x6e1,_0x33b48b:0x266,_0x9be113:0x72f},_0x33b86={_0x3bb65b:0x496},_0x2b4856=_0x6a5c4f?.[_0x3fd277(_0xb39da9._0x210f6b,0x549)]()||process[_0x5aa94c(_0xb39da9._0x33b48b,0x438)][0x1]?.[_0x5aa94c(_0xb39da9._0x9be113,0x646)]()||'';function _0x3fd277(_0x235ea8,_0x500a1e){return _0xb2a5b9(_0x235ea8,_0x500a1e-0x2b0);}if(!_0x2b4856)return'';function _0x5aa94c(_0x21c12f,_0x1de9ed){return _0xb2a5b9(_0x1de9ed,_0x21c12f-_0x33b86._0x3bb65b);}try{return realpathSync(_0x2b4856);}catch{return _0x2b4856;}}function ensureLaunchScriptExecutable(_0x3fa26e,_0x5ab42e){const _0x1cf65c={_0x37db58:0x20d,_0x278137:0x1b5},_0x177876={_0x248c90:0x5dc};function _0x1fb8ee(_0x14b4b3,_0x2fcf7b){return _0xb2a5b9(_0x14b4b3,_0x2fcf7b-_0x177876._0x248c90);}const _0x114327={'wSmuN':function(_0x63d409,_0xd35a55,_0x92aee5){return _0x63d409(_0xd35a55,_0x92aee5);}};function _0xa5c730(_0x4b6453,_0x5d34fa){return _0xb2a5b9(_0x5d34fa,_0x4b6453-0x1f6);}if(_0x5ab42e===_0xa5c730(_0x1cf65c._0x37db58,0x13f)||!_0x3ffaef(_0x3fa26e))return;try{_0x114327[_0x1fb8ee(_0x1cf65c._0x278137,0x37e)](chmodSync,_0x3fa26e,0x1ed);}catch{}}function writeServiceLauncher(_0x5d9afa){const _0x407a4b={_0x3df0b0:0x541,_0x432bdb:0x53b,_0x2fcaf5:0x4c1,_0x243a59:0x5b3,_0x566767:0x715,_0x550eba:0x6da,_0x21c34a:0x446,_0x1a8d69:0x613,_0x429560:0x483,_0x581ebe:0x2da,_0x1e37d4:0x74b,_0x49a578:0x574,_0x3ba5c7:0x57f,_0x1c2e50:0x5b1,_0x3db281:0x353,_0xcaaf57:0x495,_0x1856f9:0x47c,_0x55cc9b:0x99f,_0x42f20a:0x41e,_0x3f95fc:0x6ff,_0x4958bd:0x461,_0x54b131:0x6ec,_0x9164ba:0x384,_0x35d753:0x56a,_0x2fa686:0x3e9,_0x4da742:0x428,_0x39db8a:0x1fc,_0x282192:0x50e,_0x2b3ae5:0x3ee,_0x4bd902:0x27e,_0x21c606:0x4b5,_0x1efe88:0x692,_0x38cd3a:0x50f,_0x647512:0x4de,_0x50c504:0x660,_0xfa9423:0x8fe,_0x1e4b8f:0x6ab,_0x57fcbb:0x7cd,_0xc2e13e:0x518,_0x86a5b3:0x392,_0x58f8be:0x829,_0x2b6850:0x609,_0x1a3192:0x686,_0x2da8f4:0x513,_0x47bdc7:0x681,_0xd5a4d4:0x6b9,_0x2d4530:0x3cb,_0x5e5265:0x4f4,_0xaa0132:0x407},_0x1d7d82={_0x53d514:0x506},_0x2840cd={};_0x2840cd[_0x425868(_0x407a4b._0x3df0b0,0x62e)]=_0x425868(_0x407a4b._0x432bdb,_0x407a4b._0x2fcaf5)+'$NODE_PA'+_0x1a759b(_0x407a4b._0x243a59,0x35b)+_0x425868(0x93e,_0x407a4b._0x566767)+_0x1a759b(0x74b,_0x407a4b._0x550eba)+'-service';function _0x1a759b(_0x509e29,_0x5a30d){return _0xb2a5b9(_0x5a30d,_0x509e29-0x5ba);}_0x2840cd[_0x1a759b(_0x407a4b._0x21c34a,_0x407a4b._0x1a8d69)]=_0x425868(0x4c7,_0x407a4b._0x429560)+_0x425868(0x2dc,_0x407a4b._0x581ebe)+'RIPT_PAT'+_0x1a759b(_0x407a4b._0x1e37d4,_0x407a4b._0x49a578)+_0x1a759b(0x4e0,_0x407a4b._0x3ba5c7),_0x2840cd[_0x1a759b(0x416,_0x407a4b._0x1c2e50)]=_0x425868(_0x407a4b._0x3db281,0x35b);const _0x8bc97c=_0x2840cd;ensureServiceDirs();function _0x425868(_0x33bd1b,_0x1aa48d){return _0xb2a5b9(_0x33bd1b,_0x1aa48d-_0x1d7d82._0x53d514);}const _0x2004fa=[_0x425868(0xa46,0x7df)+'h',_0x425868(_0x407a4b._0xcaaf57,0x4d3)+_0x425868(_0x407a4b._0x1856f9,0x6ec)+escapeShellDoubleQuoted(_0x5d9afa[_0x1a759b(0x733,_0x407a4b._0x55cc9b)])+'\x22','NODE_PAT'+_0x1a759b(_0x407a4b._0x42f20a,0x3c9)+escapeShellDoubleQuoted(_0x5d9afa['nodePath'])+'\x22',_0x1a759b(_0x407a4b._0x3f95fc,0x984)+_0x425868(_0x407a4b._0x4958bd,_0x407a4b._0x54b131)+escapeShellDoubleQuoted(_0x5d9afa[_0x1a759b(_0x407a4b._0x9164ba,0x355)+'th'])+'\x22',_0x1a759b(_0x407a4b._0x35d753,_0x407a4b._0x2fa686)+_0x1a759b(_0x407a4b._0x4da742,_0x407a4b._0x39db8a)+_0x425868(_0x407a4b._0x282192,_0x407a4b._0x2b3ae5)+_0x425868(_0x407a4b._0x4bd902,_0x407a4b._0x21c606),_0x8bc97c['yTINn'],'fi',_0x1a759b(_0x407a4b._0x1efe88,0x8a6)+_0x425868(0x23a,0x4e5)+_0x1a759b(_0x407a4b._0x38cd3a,_0x407a4b._0x647512)+_0x1a759b(_0x407a4b._0x50c504,_0x407a4b._0xfa9423)+_0x425868(_0x407a4b._0x1e4b8f,_0x407a4b._0x57fcbb),_0x8bc97c[_0x425868(_0x407a4b._0xc2e13e,_0x407a4b._0x86a5b3)],'fi',_0x1a759b(_0x407a4b._0x58f8be,0x5be)+_0x425868(_0x407a4b._0x2b6850,0x75d)+_0x425868(0x817,_0x407a4b._0x1a3192)+_0x1a759b(_0x407a4b._0x2da8f4,0x4ee)+'\x20Clawket'+_0x1a759b(_0x407a4b._0x47bdc7,0x505)+_0x1a759b(0x86d,_0x407a4b._0xd5a4d4)+'\x20>&2',_0x8bc97c['lBfkk'],''];return _0x52ea0b(SERVICE_LAUNCHER_PATH,_0x2004fa[_0x1a759b(_0x407a4b._0x2d4530,_0x407a4b._0x5e5265)]('\x0a'),_0x425868(0x486,_0x407a4b._0xaa0132)),SERVICE_LAUNCHER_PATH;}function escapeShellDoubleQuoted(_0x3df454){const _0x48fa71={_0x53286f:0x312},_0x4ab6cf={_0x2fb8a4:0x5e0};function _0x450f12(_0x43c2fe,_0x3c2100){return _0x3a90bd(_0x43c2fe,_0x3c2100- -0x73);}function _0x1f85c8(_0x21c168,_0x372ae1){return _0x3a90bd(_0x21c168,_0x372ae1-_0x4ab6cf._0x2fb8a4);}return _0x3df454[_0x1f85c8(0x58e,0x4cb)+'ll']('\x5c','\x5c\x5c')[_0x450f12(-0x33d,-0x188)+'ll']('\x22','\x5c\x22')[_0x450f12(-0x1db,-0x188)+'ll']('$','\x5c$')[_0x1f85c8(_0x48fa71._0x53286f,0x4cb)+'ll']('`','\x5c`');}function escapeShellWord(_0x11e018){const _0x5d3159={_0x5a86a8:0x3ac},_0x3564dc={_0x29933c:0x32d};function _0x41581f(_0x5b90ef,_0x5ced25){return _0x3a90bd(_0x5b90ef,_0x5ced25-_0x3564dc._0x29933c);}function _0x379f37(_0x141c4e,_0x9f30bf){return _0x3a90bd(_0x9f30bf,_0x141c4e-_0x5d3159._0x5a86a8);}if(_0x11e018['length']===0x0)return'\x27\x27';return'\x27'+_0x11e018[_0x379f37(0x297,0x252)+'ll']('\x27',_0x41581f(0x5cf,0x48a))+'\x27';}function buildWindowsRunCommand(_0x15e827){const _0x1ad1ac={_0x10638e:0x40a,_0x3821e8:0x2bd},_0x1dacd4={_0x35dacf:0x4b3},_0x12f5a0={_0x311d17:0x288};function _0x13dcde(_0x403bdc,_0x121216){return _0x3a90bd(_0x403bdc,_0x121216-_0x12f5a0._0x311d17);}function _0x568fdb(_0x14dca8,_0x59eaab){return _0x3a90bd(_0x59eaab,_0x14dca8-_0x1dacd4._0x35dacf);}return _0x15e827[_0x13dcde(0x3cb,_0x1ad1ac._0x10638e)](escapeWindowsArg)[_0x568fdb(_0x1ad1ac._0x3821e8,0x52a)]('\x20');}function ensureServiceDirs(){const _0xa5659f={_0xf65a6b:0x717,_0xf551cd:0x49d,_0x14d9a7:0x49d},_0x3f6b75={_0x426c1a:0x5eb},_0x523a73={_0x526c7b:0x18a},_0x544182={};_0x544182[_0x4ea401(_0xa5659f._0xf65a6b,_0xa5659f._0xf551cd)+'e']=!![];function _0x3fe0ba(_0x239f8a,_0x3f5122){return _0x3a90bd(_0x3f5122,_0x239f8a-_0x523a73._0x526c7b);}_0x19193e(SERVICE_DIR,_0x544182);const _0x369f70={};_0x369f70[_0x4ea401(0x3bb,_0xa5659f._0x14d9a7)+'e']=!![];function _0x4ea401(_0x192fb3,_0x301923){return _0x3a90bd(_0x192fb3,_0x301923-_0x3f6b75._0x426c1a);}_0x19193e(LOG_DIR,_0x369f70);}function escapeXml(_0x49d513){const _0x5be5c2={_0x3e838c:0x1d3,_0x4645ca:0x579,_0x1b2ff4:0x4be,_0x417491:0x395,_0x725754:0x57b,_0x573715:0x55c,_0x1d0b52:0x4ae,_0x448970:0x30f,_0x2d62c2:0x1d3,_0x103901:0x560},_0x38a3d5={_0xafcb63:0x690};function _0x42e4de(_0x1938d1,_0x14344b){return _0x3a90bd(_0x1938d1,_0x14344b-0x2e8);}const _0x2fda2d={};function _0x35a2bc(_0x287167,_0x225956){return _0x3a90bd(_0x287167,_0x225956-_0x38a3d5._0xafcb63);}_0x2fda2d['AKnwx']=_0x42e4de(0x57a,0x455);const _0x285381=_0x2fda2d;return _0x49d513[_0x42e4de(0x158,_0x5be5c2._0x3e838c)+'ll']('&',_0x42e4de(_0x5be5c2._0x4645ca,_0x5be5c2._0x1b2ff4))['replaceA'+'ll']('<',_0x35a2bc(0x41b,0x62e))[_0x35a2bc(_0x5be5c2._0x417491,0x57b)+'ll']('>',_0x42e4de(0x574,0x416))[_0x35a2bc(0x4f4,_0x5be5c2._0x725754)+'ll']('\x22',_0x285381[_0x35a2bc(_0x5be5c2._0x573715,_0x5be5c2._0x1d0b52)])[_0x42e4de(_0x5be5c2._0x448970,_0x5be5c2._0x2d62c2)+'ll']('\x27',_0x35a2bc(_0x5be5c2._0x103901,0x80d));}function escapeSystemdArg(_0x5982a0){const _0x10463d={_0x49bb1a:0x241,_0x229732:0x38d};function _0x303eea(_0x4a5371,_0x3f9c0d){return _0x3a90bd(_0x3f9c0d,_0x4a5371-0x356);}return'\x22'+_0x5982a0['replaceA'+'ll']('\x5c','\x5c\x5c')[_0x303eea(_0x10463d._0x49bb1a,_0x10463d._0x229732)+'ll']('\x22','\x5c\x22')+'\x22';}function escapeWindowsArg(_0x153ff8){const _0x1c6e96={_0x4e921d:0x176},_0x4abc2a={_0x10aefd:0x25};function _0x4c1684(_0x43b888,_0x4ea23c){return _0x3a90bd(_0x4ea23c,_0x43b888-_0x4abc2a._0x10aefd);}return'\x22'+_0x153ff8[_0x4c1684(-0xf0,-_0x1c6e96._0x4e921d)+'ll']('\x22','\x5c\x22')+'\x22';}function commandSucceeds(_0xce965c,_0x51f091){const _0xdeb35f={_0x3593b2:0x1f4,_0x46d168:0x31e,_0x474120:0x3ce},_0x5613dd={_0x488bef:0x260},_0xeac1e3={_0x449484:0x2cc};function _0x346bad(_0x3b4fcd,_0xf1b551){return _0xb2a5b9(_0x3b4fcd,_0xf1b551-_0xeac1e3._0x449484);}function _0x1da94b(_0x3d3746,_0x3f63a7){return _0xb2a5b9(_0x3d3746,_0x3f63a7-_0x5613dd._0x488bef);}const _0x428464={'rZGXD':function(_0xc0e794,_0x57b456,_0x44fe78,_0x1d42e2){return _0xc0e794(_0x57b456,_0x44fe78,_0x1d42e2);}};try{const _0x5790bd={};return _0x5790bd[_0x346bad(0x1c4,0xf3)]=_0x346bad(_0xdeb35f._0x3593b2,_0xdeb35f._0x46d168),_0x428464[_0x1da94b(_0xdeb35f._0x474120,0x283)](execFileSync,_0xce965c,_0x51f091,_0x5790bd),!![];}catch{return![];}}function commandExists(_0x5b1ce3){const _0xdba8fa={_0x3f2735:0x16a,_0x3dab0f:0x443,_0x24d9da:0x67d,_0x1603ae:0x1f2},_0x5a9ade={_0x2c093c:0x433},_0x4b45f1={_0x4fd0f0:0x4e};function _0x1749a8(_0x467073,_0xbe0c3b){return _0x3a90bd(_0xbe0c3b,_0x467073-_0x4b45f1._0x4fd0f0);}function _0x50b035(_0x1f4080,_0x37e006){return _0x3a90bd(_0x1f4080,_0x37e006-_0x5a9ade._0x2c093c);}const _0x4a08dc={'EJpFB':function(_0x358c7f,_0x5055f0,_0x5a5071){return _0x358c7f(_0x5055f0,_0x5a5071);},'GPeWm':function(_0x19d510,_0x1f5fa6){return _0x19d510(_0x1f5fa6);}};if(process[_0x1749a8(0x128,_0xdba8fa._0x3f2735)]===_0x50b035(0x3ca,_0xdba8fa._0x3dab0f))return _0x4a08dc[_0x1749a8(-0xfd,-0x1d5)](commandSucceeds,_0x50b035(0x671,_0xdba8fa._0x24d9da),[_0x5b1ce3]);return commandSucceeds('sh',['-c',_0x50b035(0x786,0x677)+_0x1749a8(-_0xdba8fa._0x1603ae,-0x350)+_0x4a08dc[_0x50b035(0x659,0x3e8)](escapeShellWord,_0x5b1ce3)]);}function execIgnoreFailure(_0x5419bc,_0x38a2bf){const _0x513f24={_0xcd1c52:0x468,_0x1b3dc6:0x6d0},_0x3bbf4f={_0x19c1d6:0x457},_0x500967={_0x4f2593:0x563};function _0x17cd32(_0x21e0a6,_0x284f40){return _0xb2a5b9(_0x284f40,_0x21e0a6-_0x500967._0x4f2593);}const _0x21c94e={};_0x21c94e['KExQQ']=_0x1548d4(0x597,0x4a9);function _0x1548d4(_0x2ad4d9,_0x56b131){return _0xb2a5b9(_0x2ad4d9,_0x56b131-_0x3bbf4f._0x19c1d6);}const _0x59fee6=_0x21c94e;try{const _0x2e3b2e={};_0x2e3b2e['stdio']=_0x59fee6[_0x1548d4(_0x513f24._0xcd1c52,_0x513f24._0x1b3dc6)],execFileSync(_0x5419bc,_0x38a2bf,_0x2e3b2e);}catch{}}function rmIfExists(_0x1f22ed){const _0x38b9f8={_0x3be776:0x797,_0x1c2899:0x824},_0x36d143={_0x2fd424:0x25b},_0x2e2906={'rAzwC':function(_0x1a30bb,_0x589998,_0x6a7a5){return _0x1a30bb(_0x589998,_0x6a7a5);}};if(!_0x3ffaef(_0x1f22ed))return;function _0x4c9992(_0x30010c,_0x5d3fbb){return _0xb2a5b9(_0x5d3fbb,_0x30010c-0x5d1);}function _0x5c0465(_0x2763b6,_0x3e47dd){return _0xb2a5b9(_0x2763b6,_0x3e47dd-_0x36d143._0x2fd424);}const _0x1aab3a={};_0x1aab3a[_0x4c9992(_0x38b9f8._0x3be776,_0x38b9f8._0x1c2899)]=!![],_0x2e2906[_0x5c0465(0xa9,0x73)](_0x2dd211,_0x1f22ed,_0x1aab3a);}function isMissingCrontabError(_0xbf5bcd){const _0x2334bf={_0x4fa271:0x8b6,_0x11963c:0x89a,_0x37f07a:0x704,_0x23e077:0x47d,_0x34b201:0x76c,_0x4b0a22:0x8a,_0x471a51:0x5b7,_0x1a7f31:0x6f0,_0x5c5a4c:0x603,_0x3143de:0x1fa,_0x4e9f9e:0x1fc,_0x3aa017:0x1e8,_0x5849e0:0x468,_0x574b33:0x1eb,_0x5d2529:0x798},_0x5e490f={_0x54548d:0x2ee},_0x2fdf1a={};_0x2fdf1a[_0x5f36db(0x32b,0x28f)]=function(_0x3a22c5,_0x51bc47){return _0x3a22c5===_0x51bc47;};function _0x383944(_0x4f4c8c,_0x439966){return _0x3a90bd(_0x4f4c8c,_0x439966-0x5c6);}_0x2fdf1a[_0x383944(_0x2334bf._0x4fa271,_0x2334bf._0x11963c)]='no\x20cront'+'ab\x20for';const _0x42d4f7=_0x2fdf1a;if(!(_0xbf5bcd instanceof Error))return![];const _0x52053b=_0xbf5bcd[_0x383944(_0x2334bf._0x37f07a,_0x2334bf._0x23e077)][_0x383944(_0x2334bf._0x34b201,0x740)+_0x5f36db(0x1fa,_0x2334bf._0x4b0a22)](),_0x2d8417=_0xbf5bcd[_0x5f36db(_0x2334bf._0x471a51,0x791)],_0x408c3a=_0x42d4f7[_0x383944(_0x2334bf._0x1a7f31,_0x2334bf._0x5c5a4c)](typeof _0x2d8417,_0x5f36db(0x1b3,0x44b))?_0x2d8417['toLowerC'+_0x5f36db(_0x2334bf._0x3143de,_0x2334bf._0x4e9f9e)]():Buffer[_0x5f36db(0x414,0x3aa)](_0x2d8417)?_0x2d8417[_0x383944(0x9d6,0x766)](_0x5f36db(_0x2334bf._0x3aa017,0x36))[_0x5f36db(_0x2334bf._0x5849e0,0x5d8)+'ase']():'';function _0x5f36db(_0x298ba5,_0x37ce15){return _0x3a90bd(_0x37ce15,_0x298ba5-_0x5e490f._0x54548d);}return _0x52053b[_0x5f36db(_0x2334bf._0x574b33,0x3e1)]('no\x20cront'+_0x383944(0xa1f,_0x2334bf._0x5d2529))||_0x408c3a['includes'](_0x42d4f7[_0x383944(0x9ab,0x89a)]);}function formatError(_0x5dd327){const _0x327403={_0x2cdcea:0x426},_0x44a502={_0x24da77:0x568},_0x3931e7={_0x517559:0xc3};if(_0x5dd327 instanceof Error&&_0x5dd327[_0x10d093(0x512,_0x327403._0x2cdcea)])return _0x5dd327[_0x10d093(0x3bb,0x426)];function _0x505257(_0x32291d,_0x491247){return _0xb2a5b9(_0x491247,_0x32291d-_0x3931e7._0x517559);}function _0x10d093(_0x47d24f,_0x4bc8e5){return _0xb2a5b9(_0x47d24f,_0x4bc8e5-_0x44a502._0x24da77);}return String(_0x5dd327);}import{existsSync as _0x16eaa1,readFileSync as _0x36e0c1}from'fs';import{homedir as _0x6b362f}from'os';import{join as _0x1e6b31}from'path';var DEFAULT_GATEWAY_URL='ws://127'+'.0.0.1:1'+_0x3a90bd(0x431,0x19d);function resolveGatewayUrl(_0x1a0416){const _0x12d1ff={_0x3d6c46:0x3ea,_0x2029a6:0x306,_0x27f479:0x7f0,_0x330fdc:0x75e,_0x59e3f5:0x4dc,_0x25d404:0x66f,_0x1dbe74:0x8bf,_0x49a152:0x571,_0x9141f2:0x76a,_0x29ccbe:0x7f5,_0x1cf9c5:0xa32,_0xfa21f:0x4d2,_0xbf9448:0x4da,_0x3d4c1e:0x4a8},_0x8169a6={_0x5e1881:0x371},_0x474087={_0x35465c:0x557},_0xdeb62b={};function _0x137da8(_0x1f1699,_0x3387fb){return _0xb2a5b9(_0x3387fb,_0x1f1699-_0x474087._0x35465c);}_0xdeb62b[_0x137da8(0x4dc,0x642)]=function(_0x474725,_0x3f6304){return _0x474725===_0x3f6304;},_0xdeb62b[_0x137da8(0x571,_0x12d1ff._0x3d6c46)]=_0x137da8(0x395,_0x12d1ff._0x2029a6);function _0x43605f(_0xd6decf,_0x5124ba){return _0xb2a5b9(_0x5124ba,_0xd6decf-_0x8169a6._0x5e1881);}const _0x5cf7c9=_0xdeb62b,_0x4b02d8=_0x1a0416?.[_0x137da8(_0x12d1ff._0x27f479,_0x12d1ff._0x330fdc)]();if(_0x4b02d8)return _0x4b02d8;const _0x17cb79=readOpenClawInfo();if(_0x5cf7c9[_0x137da8(_0x12d1ff._0x59e3f5,0x3eb)](typeof _0x17cb79[_0x137da8(_0x12d1ff._0x25d404,_0x12d1ff._0x1dbe74)+_0x43605f(0x2c2,0x322)],_0x5cf7c9[_0x137da8(_0x12d1ff._0x49a152,_0x12d1ff._0x9141f2)]))return _0x137da8(_0x12d1ff._0x29ccbe,_0x12d1ff._0x1cf9c5)+_0x137da8(0x3c7,_0x12d1ff._0xfa21f)+_0x17cb79[_0x137da8(_0x12d1ff._0x25d404,_0x12d1ff._0xbf9448)+_0x137da8(_0x12d1ff._0x3d4c1e,0x4e1)];return DEFAULT_GATEWAY_URL;}function readOpenClawInfo(){const _0x420399={_0x2cff1d:0x331,_0x327081:0x464,_0x289b61:0x465,_0x3a9f4f:0x4fa,_0xcf845:0xea,_0x2a5b7a:0x674,_0x47231b:0x559,_0xce2498:0x635,_0x580803:0x43,_0x41a83d:0x47,_0x192209:0x198,_0x10937f:0x34,_0x32dec6:0x46d,_0x149f74:0x656,_0x6c7c64:0x638,_0x5d67c9:0x643,_0x29dd19:0x38c,_0x435f3f:0x40b,_0x4fac6b:0x656,_0x20f561:0x5f0,_0x5de305:0x779,_0x4f1048:0x656,_0x43ec55:0x662,_0x21ec34:0x32d,_0x23c49f:0x6f5},_0x3beb85={_0x159123:0x43d},_0x599e4a={'MqyOz':function(_0x1ac410){return _0x1ac410();},'SzFoj':_0x57a5c1(_0x420399._0x2cff1d,0x10a),'VIMVu':function(_0x14bc89,_0x1b1db1){return _0x14bc89===_0x1b1db1;},'lMDCY':_0x57a5c1(_0x420399._0x327081,0x4c8),'rGmxt':function(_0xfbf665){return _0xfbf665();}};function _0x283ece(_0x2bbf03,_0x4b27d9){return _0x3a90bd(_0x4b27d9,_0x2bbf03-_0x3beb85._0x159123);}function _0x57a5c1(_0x5e708f,_0x7eaa77){return _0x3a90bd(_0x5e708f,_0x7eaa77-0x210);}const _0x1d9115=_0x599e4a['MqyOz'](resolveOpenClawPaths);if(!_0x16eaa1(_0x1d9115['configPa'+'th']))return{'configFound':![],'gatewayPort':null,'authMode':null,'token':readGatewayTokenEnv(),'password':readGatewayPasswordEnv()};try{const _0x5896b0=JSON[_0x57a5c1(_0x420399._0x289b61,_0x420399._0x3a9f4f)](_0x36e0c1(_0x1d9115[_0x57a5c1(0x2dd,_0x420399._0xcf845)+'th'],_0x599e4a[_0x283ece(_0x420399._0x2a5b7a,0x675)])),_0x12ef24=_0x5896b0['gateway']?.['port'],_0x201b22=_0x599e4a[_0x283ece(_0x420399._0x47231b,_0x420399._0xce2498)](typeof _0x12ef24,_0x57a5c1(_0x420399._0x580803,_0x420399._0x41a83d))&&Number[_0x57a5c1(_0x420399._0x192209,_0x420399._0x10937f)+'r'](_0x12ef24)?_0x12ef24:null,_0x21befc=_0x599e4a[_0x283ece(0x559,0x507)](_0x5896b0['gateway']?.['auth']?.[_0x283ece(_0x420399._0x32dec6,0x532)],'token')||_0x5896b0[_0x283ece(_0x420399._0x149f74,0x3b5)]?.[_0x283ece(_0x420399._0x6c7c64,_0x420399._0x5d67c9)]?.['mode']===_0x599e4a['lMDCY']?_0x5896b0[_0x57a5c1(_0x420399._0x29dd19,0x429)][_0x57a5c1(0x628,_0x420399._0x435f3f)]['mode']:null,_0x4620b0=readConfiguredSecret(_0x5896b0[_0x283ece(_0x420399._0x4fac6b,0x5e9)]?.['auth']?.['token'])??_0x599e4a[_0x283ece(_0x420399._0x20f561,_0x420399._0x5de305)](readGatewayTokenEnv),_0x147846=readConfiguredSecret(_0x5896b0[_0x283ece(_0x420399._0x4f1048,0x3e0)]?.[_0x57a5c1(_0x420399._0x43ec55,0x40b)]?.[_0x57a5c1(0x630,0x4c8)])??readGatewayPasswordEnv(),_0x4d48e6={};return _0x4d48e6[_0x57a5c1(_0x420399._0x21ec34,0x4e1)+_0x283ece(0x726,0x498)]=!![],_0x4d48e6[_0x57a5c1(0x11d,0x321)+_0x283ece(0x387,0x115)]=_0x201b22,_0x4d48e6[_0x57a5c1(0x295,0x129)]=_0x21befc,_0x4d48e6[_0x283ece(0x495,0x671)]=_0x4620b0,_0x4d48e6[_0x283ece(_0x420399._0x23c49f,0x99e)]=_0x147846,_0x4d48e6;}catch{return{'configFound':!![],'gatewayPort':null,'authMode':null,'token':readGatewayTokenEnv(),'password':_0x599e4a['MqyOz'](readGatewayPasswordEnv)};}}function resolveGatewayAuth(){const _0xf2c21d={_0x4d34d6:0x1f1,_0x2a05be:0x26e,_0x45876b:0x4f4,_0x5ed0b4:0x3b5,_0x4251ad:0x1c0,_0xcecc70:0x39e,_0x40a60d:0x138,_0x4bf0da:0x175,_0x330fe9:0xb,_0x2ec0b8:0x11e,_0x33feec:0x24b,_0x28b493:0x31e,_0x7ba09a:0xb9,_0x80b767:0x26a,_0x367e74:0x37c,_0x56a83a:0x5a7,_0x136f0b:0x4f4,_0xa7c5c9:0x754,_0x512c82:0x52d,_0x289e50:0x42d,_0x204e57:0x75d,_0x36a6e1:0x586,_0x1faf59:0x52f,_0x282253:0x33d,_0x2808b1:0x420,_0x36f3a2:0x2b4,_0x5ed559:0x41b,_0x28489b:0x73f,_0xcc1de:0x4f4,_0x16f8ab:0xe,_0xb5cae:0x68a,_0x4696a5:0x754,_0x23da4f:0x98,_0x285648:0x1b5},_0x282c00={_0x30d6da:0x49c},_0xa3c350={_0x52a3ea:0x168},_0x61e7cc={};_0x61e7cc[_0x2d8b6f(-0xf3,-_0xf2c21d._0x4d34d6)]=function(_0x10fd96,_0x2dfb6f){return _0x10fd96===_0x2dfb6f;};const _0x1f3e01=_0x61e7cc,_0x406a3f=readOpenClawInfo(),_0x32b2ef=_0x406a3f[_0x5749cf(_0xf2c21d._0x2a05be,_0xf2c21d._0x45876b)],_0x31e4a6=_0x406a3f[_0x2d8b6f(0x420,0x29a)];if(_0x32b2ef&&_0x31e4a6&&_0x406a3f[_0x5749cf(0x1de,_0xf2c21d._0x5ed0b4)]==null){const _0x44a67a={};return _0x44a67a[_0x2d8b6f(_0xf2c21d._0x4251ad,0x77)]=_0x32b2ef,_0x44a67a['password']=_0x31e4a6,_0x44a67a['label']=_0x5749cf(_0xf2c21d._0xcecc70,0x4f4),_0x44a67a['error']=_0x2d8b6f(_0xf2c21d._0x40a60d,_0xf2c21d._0x4bf0da)+_0x5749cf(0x10e,0x273)+'h\x20gatewa'+_0x2d8b6f(0x133,-_0xf2c21d._0x330fe9)+_0x2d8b6f(_0xf2c21d._0x2ec0b8,0x169)+_0x2d8b6f(0x385,_0xf2c21d._0x33feec)+_0x5749cf(0x793,0x5e1)+'\x20but\x20gat'+'eway.aut'+'h.mode\x20i'+_0x2d8b6f(-0xe4,-0x2ab)+'\x20Set\x20the'+_0x2d8b6f(_0xf2c21d._0x28b493,0x25a)+_0x5749cf(_0xf2c21d._0x7ba09a,_0xf2c21d._0x80b767)+_0x5749cf(0x4e5,0x2f3)+_0x5749cf(0x12a,_0xf2c21d._0x367e74)+'e\x20pairin'+'g.',_0x44a67a;}if(_0x406a3f[_0x2d8b6f(0x81,0x1cd)]===_0x5749cf(0x784,0x754)){const _0x1a749e={};return _0x1a749e[_0x5749cf(_0xf2c21d._0x56a83a,_0xf2c21d._0x136f0b)]=null,_0x1a749e[_0x5749cf(0x9ff,_0xf2c21d._0xa7c5c9)]=null,_0x1a749e[_0x5749cf(0x476,0x41b)]=null,_0x31e4a6?{'token':null,'password':_0x31e4a6,'label':_0x5749cf(_0xf2c21d._0x512c82,0x754)}:_0x1a749e;}if(_0x1f3e01[_0x5749cf(_0xf2c21d._0x289e50,0x241)](_0x406a3f[_0x2d8b6f(0x81,0x5b)],_0x5749cf(_0xf2c21d._0x204e57,0x4f4))){const _0xff7627={};return _0xff7627[_0x5749cf(_0xf2c21d._0x36a6e1,0x4f4)]=null,_0xff7627[_0x2d8b6f(0x420,_0xf2c21d._0x1faf59)]=null,_0xff7627['label']=null,_0x32b2ef?{'token':_0x32b2ef,'password':null,'label':_0x2d8b6f(_0xf2c21d._0x4251ad,_0xf2c21d._0x282253)}:_0xff7627;}function _0x2d8b6f(_0x101782,_0x4428aa){return _0x3a90bd(_0x4428aa,_0x101782-_0xa3c350._0x52a3ea);}if(_0x32b2ef){const _0xb9cfba={};return _0xb9cfba['token']=_0x32b2ef,_0xb9cfba[_0x2d8b6f(_0xf2c21d._0x2808b1,_0xf2c21d._0x36f3a2)]=null,_0xb9cfba[_0x5749cf(0x66d,_0xf2c21d._0x5ed559)]=_0x5749cf(_0xf2c21d._0x28489b,_0xf2c21d._0xcc1de),_0xb9cfba;}if(_0x31e4a6){const _0x13913b={};return _0x13913b[_0x2d8b6f(0x1c0,_0xf2c21d._0x16f8ab)]=null,_0x13913b[_0x5749cf(_0xf2c21d._0xb5cae,_0xf2c21d._0x4696a5)]=_0x31e4a6,_0x13913b[_0x2d8b6f(0xe7,-_0xf2c21d._0x23da4f)]='password',_0x13913b;}const _0x1f5c88={};_0x1f5c88[_0x2d8b6f(_0xf2c21d._0x4251ad,0x76)]=null,_0x1f5c88['password']=null;function _0x5749cf(_0x5c7cc8,_0x9a04ef){return _0x3a90bd(_0x5c7cc8,_0x9a04ef-_0x282c00._0x30d6da);}return _0x1f5c88[_0x2d8b6f(0xe7,-_0xf2c21d._0x285648)]=null,_0x1f5c88;}function getOpenClawConfigDir(){const _0x2eb473={_0x1a4dd3:0x4e3},_0x4c2c8e={_0xf58086:0x50c};function _0x5ba23b(_0x39ccc1,_0x4cef31){return _0x3a90bd(_0x39ccc1,_0x4cef31-_0x4c2c8e._0xf58086);}return resolveOpenClawPaths()[_0x5ba23b(_0x2eb473._0x1a4dd3,0x3b8)+'r'];}function getOpenClawMediaDir(){const _0x1106d4={_0x7ebb4:0x11a},_0x249004={_0x2ce841:0x2a};function _0x5f58a5(_0x138265,_0x3c6aa0){return _0xb2a5b9(_0x138265,_0x3c6aa0-_0x249004._0x2ce841);}return resolveOpenClawPaths()[_0x5f58a5(-_0x1106d4._0x7ebb4,0x9b)];}function readConfiguredSecret(_0x487a3a){const _0x24cd0a={_0x578fc9:0x58c,_0x440004:0x861},_0x4a2b20={};function _0x2267a0(_0x21a706,_0x209723){return _0xb2a5b9(_0x21a706,_0x209723-0x4c2);}_0x4a2b20[_0x1fbdb3(_0x24cd0a._0x578fc9,0x525)]=function(_0x48dd3b,_0x3ae585){return _0x48dd3b===_0x3ae585;};function _0x1fbdb3(_0x339d88,_0x383216){return _0xb2a5b9(_0x383216,_0x339d88-0x295);}const _0x1ab819=_0x4a2b20;return _0x1ab819['piTTO'](typeof _0x487a3a,_0x1fbdb3(0x161,0xb6))&&_0x487a3a[_0x2267a0(_0x24cd0a._0x440004,0x75b)]()?_0x487a3a['trim']():null;}function readGatewayTokenEnv(){const _0x45c6a3={_0x4fd062:0x535,_0x91c8c3:0x440,_0x452daf:0x104,_0x3253b7:0x33,_0x2b1b4e:0x633,_0x210f16:0x6c8,_0x523ad6:0x4a5,_0x524532:0x812,_0x2a69d0:0x790};function _0x54b152(_0x3d7b68,_0x448d4e){return _0xb2a5b9(_0x448d4e,_0x3d7b68-0x752);}function _0x1f4710(_0x2ea070,_0x1abcce){return _0xb2a5b9(_0x1abcce,_0x2ea070- -0x7a);}const _0x5c2c5c={};_0x5c2c5c[_0x54b152(_0x45c6a3._0x4fd062,_0x45c6a3._0x91c8c3)]=_0x54b152(0x646,0x4f2)+_0x1f4710(-_0x45c6a3._0x452daf,_0x45c6a3._0x3253b7)+_0x1f4710(0x46,-0xe7),_0x5c2c5c['qvULu']=_0x54b152(0x69c,_0x45c6a3._0x2b1b4e)+_0x54b152(_0x45c6a3._0x210f16,_0x45c6a3._0x523ad6)+_0x54b152(_0x45c6a3._0x524532,_0x45c6a3._0x2a69d0);const _0x312d19=_0x5c2c5c;return readEnvValue(_0x312d19[_0x1f4710(-0x297,-0x4df)],_0x312d19[_0x1f4710(0x11c,-0x10c)]);}function readGatewayPasswordEnv(){const _0x5139e4={_0x21789f:0x170,_0x23ac86:0x221,_0x40a926:0x4e,_0x3dd309:0x229};function _0x4aa0f4(_0x6627b9,_0x31235c){return _0xb2a5b9(_0x6627b9,_0x31235c-0x1be);}const _0x3591d8={'uvdjR':function(_0x246a9c,_0x462bb6,_0x4bd512){return _0x246a9c(_0x462bb6,_0x4bd512);},'lnjzg':_0x4aa0f4(-_0x5139e4._0x21789f,0x108)+_0x1ffe10(_0x5139e4._0x23ac86,0x196)+_0x4aa0f4(-_0x5139e4._0x40a926,_0x5139e4._0x3dd309)+'D'};function _0x1ffe10(_0x49cf31,_0x36b9b2){return _0xb2a5b9(_0x49cf31,_0x36b9b2-0x220);}return _0x3591d8[_0x1ffe10(0x27d,0x38a)](readEnvValue,'OPENCLAW'+'_GATEWAY'+_0x1ffe10(0x32d,0x28b)+'D',_0x3591d8['lnjzg']);}function readEnvValue(_0x400574,_0x41db68){const _0x48e2e3={_0x46d123:0x51e,_0x18e28e:0xc3},_0x26b202={_0x3bf53:0x1b2},_0xb37f18={};_0xb37f18[_0x1b66fd(0x31f,0x412)]=function(_0x3cc72d,_0x5793e0){return _0x3cc72d||_0x5793e0;};function _0x1b66fd(_0x2dd9e3,_0x30af2b){return _0xb2a5b9(_0x2dd9e3,_0x30af2b-0x501);}const _0x3ef853=_0xb37f18,_0xbf2d81=process.env[_0x400574]?.[_0x608344(_0x48e2e3._0x46d123,0x44b)]();if(_0xbf2d81)return _0xbf2d81;const _0x9fc7f9=process.env[_0x41db68]?.['trim']();function _0x608344(_0x35f74a,_0x2fdd6a){return _0xb2a5b9(_0x35f74a,_0x2fdd6a-_0x26b202._0x3bf53);}return _0x3ef853[_0x608344(0x323,_0x48e2e3._0x18e28e)](_0x9fc7f9,null);}function resolveOpenClawPaths(){const _0x55ea26={_0x4aaa3e:0x446},_0x59745e={_0x2ad938:0x2c6},_0x5de36d=buildOpenClawCandidates();function _0x309ebe(_0x45b811,_0x5ccda7){return _0x3a90bd(_0x45b811,_0x5ccda7-_0x59745e._0x2ad938);}return _0x5de36d[_0x309ebe(_0x55ea26._0x4aaa3e,0x4c5)](_0x382503=>_0x16eaa1(_0x382503['configPa'+'th']))??_0x5de36d[0x0];}function buildOpenClawCandidates(){const _0x5771c9={_0x450c37:0x3c4,_0x474826:0x4e7,_0x1faa69:0x62e,_0x264ea6:0x720,_0x285d57:0x337,_0x31299d:0x2f4,_0x439567:0x477,_0x2285fe:0x5c7},_0x3fa01c={_0x3ca31a:0x226,_0x1fb0ce:0x222,_0x44c53e:0x395,_0x233435:0x372,_0x10d80f:0x74f},_0x4625ed={_0x468dc0:0x2f1},_0x4f2d71={_0x5e75e6:0xd8},_0x3c89b1={'vHZVX':function(_0x52e0f8,_0x371f8a,_0x4a67cd){return _0x52e0f8(_0x371f8a,_0x4a67cd);},'iycmY':function(_0xa5ef81){return _0xa5ef81();}},_0x4c9d35=new Set();function _0x59bb48(_0xe05f87,_0x25df28){return _0xb2a5b9(_0x25df28,_0xe05f87-0x2ee);}function _0x2294ce(_0x57ab8b,_0x1a8baf){return _0xb2a5b9(_0x57ab8b,_0x1a8baf-_0x4f2d71._0x5e75e6);}const _0x3f9a24=[_0x3c89b1[_0x59bb48(_0x5771c9._0x450c37,_0x5771c9._0x474826)](_0x6b362f),_0x2294ce(0xab,0x33a)][_0x59bb48(0x477,_0x5771c9._0x1faa69)](_0x1ada0c=>_0x1ada0c['trim']())[_0x59bb48(0x50a,_0x5771c9._0x264ea6)](Boolean)[_0x2294ce(_0x5771c9._0x285d57,_0x5771c9._0x31299d)](_0x5094c1=>{const _0x4cbd15={_0x27eaef:0x11c};if(_0x4c9d35['has'](_0x5094c1))return![];function _0x159487(_0x232fa1,_0x3bd05d){return _0x2294ce(_0x232fa1,_0x3bd05d- -_0x4cbd15._0x27eaef);}return _0x4c9d35[_0x159487(0x1df,-0x2e)](_0x5094c1),!![];});return _0x3f9a24[_0x59bb48(_0x5771c9._0x439567,_0x5771c9._0x2285fe)](_0x2c2ba3=>{const _0x3d2064={_0x22d7a4:0x17f},_0x4e746d=_0x1e6b31(_0x2c2ba3,_0x1548b4(0x2b5,_0x3fa01c._0x3ca31a)+'w');function _0x6206ca(_0x419689,_0x16ebbc){return _0x59bb48(_0x419689-_0x4625ed._0x468dc0,_0x16ebbc);}function _0x1548b4(_0x1c74fb,_0x739565){return _0x59bb48(_0x1c74fb- -_0x3d2064._0x22d7a4,_0x739565);}return{'configDir':_0x4e746d,'configPath':_0x1e6b31(_0x4e746d,_0x1548b4(0x429,_0x3fa01c._0x1fb0ce)+_0x1548b4(0x2dc,0x57a)),'mediaDir':_0x3c89b1[_0x1548b4(_0x3fa01c._0x44c53e,_0x3fa01c._0x233435)](_0x1e6b31,_0x4e746d,_0x6206ca(0x5e4,_0x3fa01c._0x10d80f))};});}var CONTROL_PREFIX=_0xb2a5b9(0x356,0xf0)+_0xb2a5b9(0x2b3,0xed)+_0x3a90bd(-0x249,-0x143)+'_:';function parseControl(_0x570d08){const _0x362160={_0xab0399:0x49c,_0x479335:0x7c,_0x3a7fe3:0x801,_0x5b679d:0x762,_0x47305f:0xce,_0x20c732:0x4a2,_0x21e7dd:0x8c7,_0x58054c:0x806,_0x463789:0x361,_0x1a4727:0x35,_0xdc55f5:0x247,_0x3a908d:0x35},_0x47f977={_0x138db7:0x209},_0x350a07={};function _0x160c39(_0x95910c,_0x1828fe){return _0x3a90bd(_0x95910c,_0x1828fe-_0x47f977._0x138db7);}_0x350a07[_0x303a00(0x22b,_0x362160._0xab0399)]=function(_0x5d4891,_0x1d06ba){return _0x5d4891===_0x1d06ba;};const _0x385d6f=_0x350a07;if(!_0x570d08[_0x160c39(_0x362160._0x479335,-0x1d)+'th'](CONTROL_PREFIX))return null;function _0x303a00(_0x3f0e75,_0x2c3877){return _0x3a90bd(_0x3f0e75,_0x2c3877-0x574);}try{const _0x138938=JSON['parse'](_0x570d08[_0x303a00(0x7b2,_0x362160._0x3a7fe3)](CONTROL_PREFIX[_0x303a00(0x589,0x5fb)]));if(typeof _0x138938[_0x303a00(0x8ba,_0x362160._0x5b679d)]!==_0x160c39(-0x100,_0x362160._0x47305f)||!_0x138938['event'][_0x160c39(_0x362160._0x20c732,0x49b)]())return null;return{'event':_0x138938[_0x160c39(0x4c3,0x3f7)][_0x303a00(_0x362160._0x21e7dd,_0x362160._0x58054c)](),'count':_0x385d6f[_0x160c39(-0x3,0x131)](typeof _0x138938[_0x303a00(0x1be,0x336)],_0x303a00(0x2f2,0x3ab))&&Number[_0x303a00(_0x362160._0x463789,0x505)](_0x138938[_0x160c39(0xa,-_0x362160._0x1a4727)])?_0x138938[_0x160c39(_0x362160._0xdc55f5,-_0x362160._0x3a908d)]:void 0x0};}catch{return null;}}function parseConnectStartIdentity(_0x2eda82){const _0x510c46={_0x132361:0x20,_0x4f4667:0x27f,_0x1b0eb5:0x923,_0x3aad70:0x6f4,_0x14858b:0xce,_0x5f16e4:0xac,_0x457b4f:0x3f5,_0xd955ec:0x4ec,_0x595ee9:0x8ec,_0x5b07e1:0x8e4,_0x2fc5b8:0x67,_0x3f90d3:0x62,_0x1fb5fd:0x4f6,_0x2f8288:0x682,_0x438268:0x197,_0x2cf7d8:0x93d,_0x184d1b:0x8e1,_0x4584ca:0x660,_0x1523a8:0x16c,_0x4a5c6e:0x34,_0x4415a8:0x15a,_0x1d5172:0x7c5,_0x211c2f:0x27b,_0x47c7f4:0xdd,_0x4d16df:0x245,_0x55f3c5:0x416,_0x1c9df3:0x7eb,_0x3724a1:0x1d,_0x1b3b07:0x124,_0xdff71c:0x75e,_0x1b6b24:0x5ca},_0x5b53a6={};_0x5b53a6[_0x325b94(_0x510c46._0x132361,0xbe)]=function(_0xc16092,_0x464e7d){return _0xc16092!==_0x464e7d;},_0x5b53a6[_0x325b94(_0x510c46._0x4f4667,0xa)]=_0x325b94(0x21d,-0x74),_0x5b53a6[_0x393478(_0x510c46._0x1b0eb5,_0x510c46._0x3aad70)]=_0x325b94(_0x510c46._0x14858b,_0x510c46._0x5f16e4)+'start',_0x5b53a6[_0x393478(0x39a,_0x510c46._0x457b4f)]=_0x393478(_0x510c46._0xd955ec,0x6b3)+_0x393478(_0x510c46._0x595ee9,_0x510c46._0x5b07e1);function _0x325b94(_0x2dd578,_0x51dc93){return _0x3a90bd(_0x51dc93,_0x2dd578- -0x17);}function _0x393478(_0x44a189,_0x15484b){return _0x3a90bd(_0x44a189,_0x15484b-0x64b);}const _0x152c9a=_0x5b53a6;try{const _0x297087=JSON['parse'](_0x2eda82);if(_0x152c9a['kNuIU'](_0x297087['type'],_0x325b94(_0x510c46._0x2fc5b8,-_0x510c46._0x3f90d3)))return null;if(_0x152c9a[_0x393478(_0x510c46._0x1fb5fd,_0x510c46._0x2f8288)](_0x297087[_0x325b94(0x1fa,_0x510c46._0x438268)],_0x152c9a[_0x393478(_0x510c46._0x2cf7d8,_0x510c46._0x184d1b)])&&_0x297087[_0x393478(_0x510c46._0x4584ca,0x85c)]!==_0x152c9a[_0x325b94(0x92,0x1ab)])return null;const _0x16ac58=_0x297087[_0x325b94(_0x510c46._0x1523a8,-_0x510c46._0x4a5c6e)]??{},_0x496315=typeof _0x297087['id']===_0x325b94(-0x152,_0x510c46._0x4415a8)&&_0x297087['id'][_0x393478(_0x510c46._0x1d5172,0x8dd)]()?_0x297087['id'][_0x325b94(_0x510c46._0x211c2f,0x344)]():_0x325b94(_0x510c46._0x47c7f4,0x2c3)+Math[_0x325b94(_0x510c46._0x4d16df,_0x510c46._0x55f3c5)]()[_0x393478(0x96e,_0x510c46._0x1c9df3)](0x24)['slice'](0x2,0xc),_0x5f1aa1=firstString(_0x16ac58['deviceNa'+'me'],_0x16ac58['clientNa'+'me'],_0x16ac58[_0x325b94(-_0x510c46._0x3724a1,_0x510c46._0x1b3b07)],_0x152c9a[_0x325b94(-0x26d,-0x39e)]),_0x38a806={};return _0x38a806['id']=_0x496315,_0x38a806[_0x393478(_0x510c46._0xdff71c,_0x510c46._0x1b6b24)]=_0x5f1aa1,_0x38a806;}catch{return null;}}function isConnectHandshakeRequest(_0x393cbd){const _0xca2ade={_0x1e5df8:0x598,_0x36eab5:0x2f3,_0xdd26a2:0x2b1,_0x1c1e46:0x348,_0x20a16c:0x524,_0x289591:0x6fd,_0x1bf79c:0x7d1,_0x41786b:0x115,_0x1faea5:0x491,_0x55ae03:0x275,_0x5e9b19:0x624,_0x3ada08:0x8c0},_0x443ba6={_0x4f31d1:0x40c},_0x12acd6={};_0x12acd6[_0x7188c6(0x649,0x6f7)]=_0x159ab1(_0xca2ade._0x1e5df8,0x497);function _0x7188c6(_0x278d69,_0x3af889){return _0xb2a5b9(_0x3af889,_0x278d69-_0x443ba6._0x4f31d1);}function _0x159ab1(_0x570566,_0x3a35a1){return _0xb2a5b9(_0x570566,_0x3a35a1-0x25c);}_0x12acd6[_0x159ab1(_0xca2ade._0x36eab5,_0xca2ade._0xdd26a2)]=_0x159ab1(0x5cd,_0xca2ade._0x1c1e46)+_0x159ab1(0x45e,_0xca2ade._0x20a16c);const _0x2b822f=_0x12acd6;try{const _0x4e4737=JSON[_0x7188c6(_0xca2ade._0x289591,_0xca2ade._0x1bf79c)](_0x393cbd);return _0x4e4737[_0x159ab1(_0xca2ade._0x41786b,0x35e)]===_0x7188c6(_0xca2ade._0x1faea5,_0xca2ade._0x55ae03)&&(_0x4e4737[_0x7188c6(_0xca2ade._0x5e9b19,_0xca2ade._0x3ada08)]===_0x2b822f[_0x7188c6(0x649,0x487)]||_0x4e4737[_0x7188c6(0x624,0x838)]===_0x2b822f[_0x159ab1(0x4fa,0x2b1)]);}catch{return![];}}function parseConnectHandshakeMeta(_0xbbb4ca){const _0x130e3a={_0xe4bbd:0x345,_0x241f5d:0x7c1,_0x558c32:0x7dc,_0x3b3eab:0x92e,_0x3222a5:0xa0f,_0x4703d5:0x802,_0x146d33:0x996,_0x4caeaa:0x50a,_0x5c7549:0x8a0,_0x88a195:0x738,_0x179676:0x3c0,_0xc95aec:0x19,_0x2091bd:0x1cb,_0x265b25:0x5e2,_0x3e36fa:0x696,_0x1aab52:0xb,_0x35f0a4:0x792,_0x5bc9a8:0x56b,_0x384a1f:0x350,_0x1c8d54:0x100},_0x4a45ed={_0x355aef:0x2ff},_0x1489de={};function _0x2c3413(_0x663ac2,_0x2bf59b){return _0xb2a5b9(_0x2bf59b,_0x663ac2-0x716);}_0x1489de[_0x26a604(0x326,_0x130e3a._0xe4bbd)]='string',_0x1489de[_0x2c3413(_0x130e3a._0x241f5d,0x5ee)]=function(_0x2fb323,_0x2e1328){return _0x2fb323>_0x2e1328;};function _0x26a604(_0x380cb6,_0xbfb601){return _0xb2a5b9(_0x380cb6,_0xbfb601-_0x4a45ed._0x355aef);}_0x1489de[_0x26a604(0x1e9,0x1d6)]=function(_0x58be76,_0x46688f){return _0x58be76===_0x46688f;};const _0x43787a=_0x1489de;try{const _0x4a30fb=JSON['parse'](_0xbbb4ca);if(_0x4a30fb['type']!==_0x26a604(0x4a4,0x384))return null;if(_0x4a30fb[_0x2c3413(0x92e,0x6e3)]!==_0x26a604(_0x130e3a._0x558c32,0x53a)&&_0x4a30fb[_0x2c3413(_0x130e3a._0x3b3eab,_0x130e3a._0x3222a5)]!==_0x2c3413(_0x130e3a._0x4703d5,_0x130e3a._0x146d33)+_0x26a604(_0x130e3a._0x4caeaa,0x5c7))return null;const _0x2be984=_0x4a30fb[_0x2c3413(_0x130e3a._0x5c7549,0x85f)]?.['device']?.[_0x2c3413(_0x130e3a._0x88a195,0x5f8)],_0x76a1fd=_0x4a30fb['params']?.['auth'];return{'id':typeof _0x4a30fb['id']===_0x43787a[_0x26a604(_0x130e3a._0x179676,_0x130e3a._0xe4bbd)]&&_0x4a30fb['id'][_0x26a604(0x7f1,0x598)]()?_0x4a30fb['id']['trim']():null,'method':_0x4a30fb['method'],'noncePresent':typeof _0x2be984===_0x26a604(-_0x130e3a._0xc95aec,_0x130e3a._0x2091bd)&&_0x43787a[_0x2c3413(0x7c1,0x96f)](_0x2be984['length'],0x0),'nonceLength':_0x43787a['nkYdM'](typeof _0x2be984,_0x2c3413(_0x130e3a._0x265b25,_0x130e3a._0x3e36fa))?_0x2be984['length']:null,'authFields':_0x76a1fd&&_0x43787a[_0x26a604(-_0x130e3a._0x1aab52,0x1d6)](typeof _0x76a1fd,_0x26a604(_0x130e3a._0x35f0a4,_0x130e3a._0x5bc9a8))?Object[_0x26a604(_0x130e3a._0x384a1f,_0x130e3a._0x1c8d54)](_0x76a1fd)[_0x2c3413(0x940,0xafb)]():[]};}catch{return null;}}function parsePairingRequestFromError(_0x555156,_0x4455ca=Date[_0xb2a5b9(0x4a1,0x27e)]()){const _0x17e0f0={_0x3ef957:0x447,_0x5e98d9:0x796,_0x42cbf4:0x90b,_0x1d32e8:0x81f,_0x1e18b4:0x29f,_0x2ba2d7:0x4e4,_0xd967d2:0x658,_0xd4b61f:0x515,_0x41a76b:0x222,_0x2f6926:0x791,_0x1a19cf:0x27c,_0x54dc67:0x342,_0x3dccdc:0x3a5,_0x5c7f88:0x67e,_0x22c340:0x13e,_0x19e2fb:0x599,_0x191377:0x7de,_0x237430:0x62d,_0x58c21c:0x884,_0x315f63:0x522,_0x1fa71a:0x36d,_0x470bc5:0x3da,_0x3cae1b:0x3ce,_0x12b4fe:0xa6,_0x21abb9:0x635,_0x644a8c:0x662,_0xb21536:0x672},_0x227641={_0x50644c:0x35d};function _0x149f88(_0x575c39,_0x37ed39){return _0x3a90bd(_0x575c39,_0x37ed39-0x535);}function _0xc1b169(_0x52e29c,_0x475505){return _0x3a90bd(_0x475505,_0x52e29c-_0x227641._0x50644c);}const _0x360ed0={'rqGGb':function(_0x55825f,_0x53a1ea){return _0x55825f!==_0x53a1ea;},'cTbNg':function(_0x31d7df,_0x5525a2){return _0x31d7df===_0x5525a2;},'LNsum':_0x149f88(_0x17e0f0._0x3ef957,0x3fa),'OJlSQ':_0xc1b169(0x342,0x4fd)+'ED','XwvQf':_0x149f88(0x63b,_0x17e0f0._0x5e98d9),'TNcfl':function(_0x4aed54,_0x433734,_0x1af839){return _0x4aed54(_0x433734,_0x1af839);},'eNNEu':function(_0x389d1c,_0x3abbda){return _0x389d1c(_0x3abbda);}};try{const _0x4138cd=JSON[_0x149f88(_0x17e0f0._0x42cbf4,_0x17e0f0._0x1d32e8)](_0x555156);if(_0x360ed0['rqGGb'](_0x4138cd['type'],'res')||_0x360ed0['rqGGb'](_0x4138cd['ok'],![])||!_0x4138cd[_0x149f88(_0x17e0f0._0x1e18b4,_0x17e0f0._0x2ba2d7)])return null;const _0x242b6b=_0x360ed0[_0xc1b169(0x2f2,0xf5)](typeof _0x4138cd[_0xc1b169(0x30c,0x1f5)][_0xc1b169(0x33d,0x2fe)],_0x360ed0[_0x149f88(0x619,_0x17e0f0._0xd967d2)])?_0x4138cd['error'][_0x149f88(0x27a,_0x17e0f0._0xd4b61f)]:'',_0x438741=typeof _0x4138cd['error'][_0xc1b169(0x214,0x3a7)]===_0xc1b169(_0x17e0f0._0x41a76b,0x101)?_0x4138cd[_0x149f88(_0x17e0f0._0x2f6926,0x4e4)]['message']:'';if(!_0x242b6b[_0xc1b169(0x25a,_0x17e0f0._0x1a19cf)](_0xc1b169(_0x17e0f0._0x54dc67,0x3e2)+'ED')&&!_0x242b6b['includes'](_0x149f88(0x647,0x3e3)+_0xc1b169(0x2e6,_0x17e0f0._0x2ba2d7))&&!_0x438741[_0xc1b169(0x25a,0xd6)](_0x360ed0[_0xc1b169(_0x17e0f0._0x3dccdc,0x139)])&&!_0x438741['includes'](_0x149f88(_0x17e0f0._0x5c7f88,0x706)+_0xc1b169(_0x17e0f0._0x22c340,0x233)))return null;const _0x5c948d=_0x4138cd[_0xc1b169(0x30c,_0x17e0f0._0x19e2fb)][_0x149f88(0xa31,_0x17e0f0._0x191377)]??_0x4138cd['error'][_0xc1b169(_0x17e0f0._0x237430,_0x17e0f0._0x58c21c)]??{},_0x4fa8c6=firstString(_0x5c948d[_0x149f88(_0x17e0f0._0x315f63,0x552)+'d'],extractRequestIdFromMessage(_0x438741),_0x360ed0[_0x149f88(_0x17e0f0._0x1fa71a,_0x17e0f0._0x470bc5)]);return{'requestId':_0x4fa8c6,'deviceId':_0x360ed0[_0x149f88(0x469,_0x17e0f0._0x3cae1b)](firstString,_0x5c948d[_0x149f88(0x5e9,0x52f)],''),'displayName':firstNullableString(_0x5c948d['displayN'+_0xc1b169(0xf6,-_0x17e0f0._0x12b4fe)]),'platform':firstNullableString(_0x5c948d[_0x149f88(0x4f7,0x60f)]),'deviceFamily':firstNullableString(_0x5c948d[_0xc1b169(_0x17e0f0._0x21abb9,0x791)+_0x149f88(_0x17e0f0._0x644a8c,0x406)]),'role':firstNullableString(_0x5c948d['role']),'remoteIp':_0x360ed0[_0x149f88(0x7ba,0x81c)](firstNullableString,_0x5c948d[_0x149f88(_0x17e0f0._0xb21536,0x401)]),'receivedAtMs':_0x4455ca,'status':'pending'};}catch{return null;}}function parsePairResolvedEvent(_0x57ff65){const _0x4899da={_0x13ff69:0x15b,_0x1a13d2:0x171,_0x30fc68:0x4,_0x3513dc:0x302,_0x4e9d33:0x11c,_0xb0aed5:0x6c8,_0x5b359a:0x2d1,_0x8af763:0x3b8,_0x17326b:0xcb,_0x56f05d:0x42b,_0x1ea0a9:0x1e7,_0x3b26cf:0x196,_0x54d7e4:0x1cf,_0x5aea4d:0x15e,_0x1b78f0:0xa8,_0x12c99b:0x580,_0x3bb4de:0x329,_0x46f01c:0x30c,_0x164205:0x424},_0x266715={_0x6ec97:0x13f},_0x9ebbf9={};_0x9ebbf9[_0x3d42da(-_0x4899da._0x13ff69,0x50)]=function(_0xede395,_0x2a8559){return _0xede395===_0x2a8559;},_0x9ebbf9[_0x3d42da(_0x4899da._0x1a13d2,0x19d)]=_0x454bdb(-0x1d7,_0x4899da._0x30fc68),_0x9ebbf9[_0x3d42da(_0x4899da._0x3513dc,0x397)]=_0x3d42da(_0x4899da._0x4e9d33,0xe2);function _0x3d42da(_0x2e2a31,_0xe6bbb2){return _0x3a90bd(_0x2e2a31,_0xe6bbb2-0x1ca);}const _0x3b9d5a=_0x9ebbf9;function _0x454bdb(_0x3e1533,_0x2261cf){return _0x3a90bd(_0x3e1533,_0x2261cf-_0x266715._0x6ec97);}try{const _0x15c3ca=JSON[_0x454bdb(_0x4899da._0xb0aed5,0x429)](_0x57ff65);if(_0x15c3ca['type']!==_0x454bdb(_0x4899da._0x5b359a,0x32d)||_0x15c3ca[_0x3d42da(0x18f,_0x4899da._0x8af763)]!=='device.p'+'air.reso'+'lved'||!_0x15c3ca[_0x454bdb(-0x76,-_0x4899da._0x17326b)])return null;const _0x1caeec=_0x3b9d5a[_0x454bdb(0x3e,-0x3b)](typeof _0x15c3ca['payload'][_0x3d42da(_0x4899da._0x56f05d,_0x4899da._0x1ea0a9)+'d'],_0x3b9d5a[_0x454bdb(0x1ff,0x112)])?_0x15c3ca['payload']['requestI'+'d']['trim']():'';if(!_0x1caeec)return null;const _0x510506=typeof _0x15c3ca[_0x454bdb(_0x4899da._0x3b26cf,-0xcb)]['decision']===_0x454bdb(-_0x4899da._0x54d7e4,0x4)?_0x15c3ca[_0x3d42da(0xe1,-0x40)][_0x454bdb(-_0x4899da._0x5aea4d,_0x4899da._0x1b78f0)]:_0x454bdb(_0x4899da._0x12c99b,0x3a0),_0x5e0d8e=_0x510506==='approved'||_0x510506===_0x3b9d5a[_0x454bdb(_0x4899da._0x3bb4de,_0x4899da._0x46f01c)]?_0x510506:'unknown',_0x1d5e6c={};return _0x1d5e6c[_0x3d42da(_0x4899da._0x164205,0x1e7)+'d']=_0x1caeec,_0x1d5e6c['decision']=_0x5e0d8e,_0x1d5e6c;}catch{return null;}}function parseResponseEnvelopeMeta(_0x2fee62){const _0x40d34f={_0xb49a1b:0x52d,_0x5597e5:0x335,_0x1415b6:0x676,_0x16a433:0x61c,_0x2bb98c:0x339,_0x890b03:0x1a4,_0x4192ab:0x5ce,_0x4638bd:0x5f4,_0x3926b8:0x61c,_0xfe51ff:0x339,_0x4e1621:0x3c4,_0x579000:0x378,_0x18f814:0x24f,_0x1967fb:0x339,_0x2c84f5:0x1d7,_0x2ad568:0x241};function _0x597668(_0x3df90f,_0x1aa798){return _0xb2a5b9(_0x3df90f,_0x1aa798-0x3dd);}const _0x2a9f35={};_0x2a9f35[_0x17d502(0x4be,0x422)]=_0x597668(0x1fb,0x2a9);const _0x6b167f=_0x2a9f35;function _0x17d502(_0x4eced7,_0x3c189f){return _0xb2a5b9(_0x3c189f,_0x4eced7-0x383);}try{const _0x2c0137=JSON['parse'](_0x2fee62);if(_0x2c0137[_0x17d502(0x485,_0x40d34f._0xb49a1b)]!==_0x17d502(_0x40d34f._0x5597e5,0x141))return null;if(typeof _0x2c0137['id']!=='string'||!_0x2c0137['id'][_0x597668(0x510,_0x40d34f._0x1415b6)]())return null;return{'id':_0x2c0137['id'][_0x17d502(_0x40d34f._0x16a433,0x460)](),'ok':_0x2c0137['ok']===!![],'errorCode':typeof _0x2c0137[_0x17d502(_0x40d34f._0x2bb98c,_0x40d34f._0x890b03)]?.['code']===_0x6b167f['FtSyJ']&&_0x2c0137[_0x17d502(_0x40d34f._0x2bb98c,_0x40d34f._0x4192ab)][_0x17d502(0x36a,_0x40d34f._0x4638bd)][_0x17d502(_0x40d34f._0x3926b8,0x884)]()?_0x2c0137[_0x17d502(_0x40d34f._0xfe51ff,0x510)][_0x597668(0x58f,_0x40d34f._0x4e1621)][_0x597668(0x63f,0x676)]():null,'errorMessage':typeof _0x2c0137['error']?.[_0x597668(_0x40d34f._0x579000,0x29b)]===_0x17d502(_0x40d34f._0x18f814,0x181)&&_0x2c0137[_0x17d502(_0x40d34f._0x1967fb,_0x40d34f._0x2c84f5)][_0x17d502(_0x40d34f._0x2ad568,0x287)]['trim']()?_0x2c0137[_0x17d502(_0x40d34f._0x1967fb,0x136)]['message'][_0x17d502(_0x40d34f._0x3926b8,0x7b8)]():null};}catch{return null;}}function firstString(..._0x3f9b73){const _0x3bc257={_0x5cbd3a:0x232,_0x103249:0x245,_0x32b37c:0x593,_0x1f8613:0x2ad},_0x51cad5={_0x1e86d9:0x1b},_0x1458af={_0x4c4a7a:0x6ce};function _0x2fced5(_0x1e7aec,_0x4b3471){return _0x3a90bd(_0x1e7aec,_0x4b3471-_0x1458af._0x4c4a7a);}const _0x54bad7={};function _0x4b57a7(_0x251b70,_0x512beb){return _0x3a90bd(_0x512beb,_0x251b70-_0x51cad5._0x1e86d9);}_0x54bad7[_0x4b57a7(-_0x3bc257._0x5cbd3a,-_0x3bc257._0x103249)]=function(_0x2cf255,_0x50dcd3){return _0x2cf255===_0x50dcd3;};const _0x3c0ff9=_0x54bad7;for(const _0xb2e5ac of _0x3f9b73){if(_0x3c0ff9[_0x4b57a7(-0x232,-0x4d1)](typeof _0xb2e5ac,_0x2fced5(0x67b,_0x3bc257._0x32b37c))&&_0xb2e5ac['trim']())return _0xb2e5ac[_0x4b57a7(_0x3bc257._0x1f8613,0x2c)]();}return'';}function firstNullableString(_0x247420){const _0x4535f5={_0xf7e08b:0x1b5,_0x5dc6ff:0x3d4,_0x357142:0x449,_0x50a983:0x5ca,_0x2f13a9:0x344,_0x2b5a1a:0x4f4},_0x454b0a={};_0x454b0a['CqlNz']=_0x48bb2a(-_0x4535f5._0xf7e08b,-0x89);function _0x102f59(_0xfb4d0d,_0x51047b){return _0xb2a5b9(_0xfb4d0d,_0x51047b-0x38f);}const _0xf384b1=_0x454b0a;function _0x48bb2a(_0x191d8f,_0x4cf89f){return _0xb2a5b9(_0x191d8f,_0x4cf89f-0xab);}return typeof _0x247420===_0xf384b1[_0x102f59(_0x4535f5._0x5dc6ff,_0x4535f5._0x357142)]&&_0x247420[_0x48bb2a(_0x4535f5._0x50a983,_0x4535f5._0x2f13a9)]()?_0x247420[_0x48bb2a(_0x4535f5._0x2b5a1a,0x344)]():null;}function extractRequestIdFromMessage(_0x1a4212){const _0x529b37=_0x1a4212['match'](/requestId[:\s]*([a-f0-9-]+)/i);return _0x529b37?.[0x1]??null;}import{randomUUID as _0x35cff6}from'crypto';import{setTimeout as _0x51cfb4}from'timers/promises';import _0x387a60 from'ws';var HEARTBEAT_INTERVAL_MS=0x2710,HEARTBEAT_TIMEOUT_MS=0x88b8,GATEWAY_RETRY_DELAY_MS=0x4b0,RECONNECT_BASE_DELAY_MS=0x3e8,RECONNECT_MAX_DELAY_MS=0x3a98,CONNECT_HANDSHAKE_WARN_DELAY_MS=0x1f40,MAX_PENDING_GATEWAY_MESSAGES=0x100,MAX_DEVICE_DETAILS=0x20,MAX_PENDING_PAIR_REQUESTS=0x10,BridgeRuntime=class{[_0xb2a5b9(-0x15a,-0x159)];['relaySoc'+'ket']=null;[_0x3a90bd(-0x358,-0xba)+_0xb2a5b9(-0x1c8,-0xc0)]=null;[_0xb2a5b9(0x246,0x1de)+_0x3a90bd(0x1dc,0xcb)]=![];[_0x3a90bd(-0x2d2,-0x8c)+_0x3a90bd(-0x337,-0xd7)+'g']=![];[_0x3a90bd(-0x31e,-0xc3)]=!![];[_0x3a90bd(-0x9c,-0x95)+_0xb2a5b9(0x18,-0x53)]=0x0;['lastRela'+_0xb2a5b9(0x421,0x17f)+_0xb2a5b9(-0x263,-0x1b7)]=0x0;[_0xb2a5b9(0x2ca,0x2d1)+_0x3a90bd(-0x88,-0x187)]=null;[_0x3a90bd(-0x2c6,-0xb0)+'etryTime'+'r']=null;[_0x3a90bd(0x246,0x1ab)+_0xb2a5b9(-0x1af,-0x180)]=null;[_0x3a90bd(-0x67,0x12a)+_0xb2a5b9(-0x139,-0xfd)+_0xb2a5b9(0x3ea,0x192)]=[];['gatewayH'+'andshake'+_0xb2a5b9(-0x16b,-0x4f)]=![];[_0x3a90bd(-0x255,-0x8c)+_0x3a90bd(0x145,0x10d)+_0xb2a5b9(-0x3d1,-0x1dc)+_0x3a90bd(-0x3eb,-0x1bc)]=![];[_0x3a90bd(0x256,0x12b)+_0xb2a5b9(-0x1e9,-0xec)+_0x3a90bd(-0x3ff,-0x212)]=null;[_0x3a90bd(-0x292,-0x8c)+'onnected'+_0xb2a5b9(0x2f6,0x56)]=null;[_0x3a90bd(-0x35d,-0x18d)+_0xb2a5b9(0x331,0x1e1)+_0x3a90bd(-0xf4,-0x1c5)+'s']=new Map();[_0x3a90bd(0x22,0x6f)];constructor(_0x3f552e){const _0x533a63={_0x18a75d:0x159,_0x604191:0x2e5,_0x37f65e:0x4a1,_0x1892e2:0x45a,_0x1b544d:0x50d,_0x574b0b:0x41a,_0x57e5bb:0x4c1,_0x878bcc:0x312,_0x44b03c:0x4d8,_0x417685:0x530,_0x28d7f4:0x597},_0x37c3ed={_0x2309fa:0x2b2},_0x22e9d5={_0x36150c:0x385};function _0x22ae5a(_0x2dc4ff,_0x276006){return _0xb2a5b9(_0x2dc4ff,_0x276006-_0x22e9d5._0x36150c);}this[_0x39bdd7(_0x533a63._0x18a75d,-0x111)]=_0x3f552e;function _0x39bdd7(_0x23bd31,_0x4c9b46){return _0xb2a5b9(_0x4c9b46,_0x23bd31-_0x37c3ed._0x2309fa);}this[_0x22ae5a(_0x533a63._0x604191,0x3fb)]={'running':![],'relayConnected':![],'gatewayConnected':![],'gatewayId':_0x3f552e[_0x22ae5a(_0x533a63._0x37f65e,_0x533a63._0x1892e2)]['gatewayI'+'d'],'instanceId':_0x3f552e[_0x39bdd7(0x387,_0x533a63._0x1b544d)]['instance'+'Id'],'relayUrl':_0x3f552e[_0x39bdd7(0x387,0x23e)][_0x22ae5a(_0x533a63._0x574b0b,_0x533a63._0x57e5bb)],'gatewayUrl':_0x3f552e[_0x22ae5a(_0x533a63._0x878bcc,_0x533a63._0x44b03c)+'rl'],'clientCount':0x0,'connectedDevices':[],'pendingPairRequests':[],'lastError':null,'lastUpdatedMs':Date[_0x39bdd7(_0x533a63._0x417685,_0x533a63._0x28d7f4)]()};}[_0xb2a5b9(0x570,0x2c8)](){const _0x1d8868={_0x3a011b:0x4a,_0x3cdd8a:0xa5,_0x37cf97:0x1,_0x634def:0x14b,_0x449931:0x2b,_0x26d017:0xee,_0x15843e:0x1f,_0xc33ee:0x80,_0x31dbb3:0x114,_0x4b939b:0x59,_0x2a6f54:0x2e6,_0x239023:0x42};function _0x55c301(_0x4813a2,_0x5e48cb){return _0x3a90bd(_0x4813a2,_0x5e48cb-0x103);}if(!this[_0x55c301(-_0x1d8868._0x3a011b,0x40)])return;this[_0x55c301(-0x89,0x40)]=![];function _0x2f99f7(_0x3ee41f,_0x87b2cc){return _0x3a90bd(_0x87b2cc,_0x3ee41f- -0x4e);}this[_0x55c301(-0x1f,0x4e)+_0x55c301(_0x1d8868._0x3cdd8a,_0x1d8868._0x37cf97)]({'running':!![],'gatewayUrl':this[_0x2f99f7(-0x1ae,-0x2f3)][_0x55c301(0x265,0x24f)+'rl']}),this[_0x55c301(0x8c,-0xf5)](_0x2f99f7(_0x1d8868._0x634def,_0x1d8868._0x449931)+_0x55c301(-_0x1d8868._0x26d017,-_0x1d8868._0x15843e)+_0x55c301(0xa3,0x26f)+'Id='+this['options'][_0x2f99f7(_0x1d8868._0xc33ee,0xee)][_0x55c301(_0x1d8868._0x634def,-0x115)+'d']+('\x20gateway'+_0x55c301(0x2df,0x3ba))+this[_0x2f99f7(-0x1ae,-_0x1d8868._0x31dbb3)]['gatewayU'+'rl']),void this[_0x55c301(_0x1d8868._0x4b939b,_0x1d8868._0x2a6f54)+_0x55c301(0x1b,_0x1d8868._0x239023)]();}async[_0x3a90bd(0x257,0x185)](){const _0x5064e0={_0x4d556f:0x1f6,_0x5c8a11:0x348,_0x1882c1:0x367,_0x53ba2e:0x2e1,_0x318806:0x14d,_0x3a9188:0x1ff,_0x2e2df9:0x36b,_0x5cbe62:0x35f,_0x144bd3:0x103,_0x479bc7:0x352,_0x56e958:0x1b5,_0x3d2df6:0x55b,_0xda8cc2:0x630,_0x17eee0:0x102,_0x2987b7:0x22d,_0x33c3a7:0xd6,_0x3cc282:0xcb,_0x215beb:0x5c,_0x368e18:0x241,_0x2f598e:0x33,_0x384d61:0x29d,_0x45da13:0x48a,_0x53659b:0xf4,_0x34769f:0xc5,_0x3a2b56:0x3d,_0x41d8f4:0x223,_0x411aa4:0x0,_0x3dd49c:0x29a,_0x1c9469:0x535,_0x23a0d0:0x3f,_0xc4c6da:0x23b,_0x3a0b54:0x452,_0x57bca3:0x254};if(this[_0x408e7a(_0x5064e0._0x4d556f,_0x5064e0._0x5c8a11)])return;this[_0x408e7a(0x1f6,0x10a)]=!![];function _0x408e7a(_0x340a24,_0x433b83){return _0x3a90bd(_0x433b83,_0x340a24-0x2b9);}this[_0x408e7a(0x2eb,_0x5064e0._0x1882c1)+_0x17ff3f(_0x5064e0._0x53ba2e,0x589)](),this['relaySoc'+_0x17ff3f(_0x5064e0._0x318806,0x3e2)]?.[_0x408e7a(0x36b,0x3cb)](),this[_0x408e7a(_0x5064e0._0x3a9188,0x67)+_0x408e7a(0x1f2,0x25a)]?.[_0x408e7a(_0x5064e0._0x2e2df9,_0x5064e0._0x5cbe62)](),this[_0x17ff3f(_0x5064e0._0x144bd3,-0xa1)+'ket']=null,this['gatewayS'+'ocket']=null,this[_0x17ff3f(0x1ed,_0x5064e0._0x479bc7)+_0x408e7a(_0x5064e0._0x56e958,0x8e)+'ssages']=[];function _0x17ff3f(_0x2061f2,_0x47842b){return _0x3a90bd(_0x47842b,_0x2061f2-0xc3);}this[_0x408e7a(_0x5064e0._0x3d2df6,_0x5064e0._0xda8cc2)+_0x17ff3f(-_0x5064e0._0x17eee0,-0x1a6)+_0x408e7a(0x263,-0x18)]=![],this[_0x408e7a(_0x5064e0._0x2987b7,0x340)+'loseBoun'+_0x408e7a(_0x5064e0._0x33c3a7,0x363)+_0x408e7a(0xfd,-_0x5064e0._0x3cc282)]=![],this['clientDe'+'mandStar'+_0x408e7a(0xa7,_0x5064e0._0x215beb)]=null,this[_0x408e7a(0x22d,0xd8)+_0x17ff3f(_0x5064e0._0x368e18,0xab)+_0x408e7a(0x308,0x31a)]=null,this[_0x17ff3f(-0xca,-_0x5064e0._0x2f598e)+_0x17ff3f(_0x5064e0._0x384d61,_0x5064e0._0x45da13)+_0x408e7a(_0x5064e0._0x53659b,_0x5064e0._0x34769f)+'s'][_0x408e7a(0x17f,-_0x5064e0._0x3a2b56)](),this['relayCon'+'necting']=![],this['gatewayC'+'onnectin'+'g']=![];const _0x1b2363={};_0x1b2363[_0x17ff3f(_0x5064e0._0x41d8f4,_0x5064e0._0x411aa4)]=![],_0x1b2363[_0x17ff3f(_0x5064e0._0x3dd49c,0x1b3)+_0x408e7a(_0x5064e0._0x1c9469,0x320)]=![],_0x1b2363['gatewayC'+_0x17ff3f(0x241,0x497)]=![],_0x1b2363[_0x17ff3f(0x1bd,0x80)+'unt']=0x0,_0x1b2363['lastErro'+'r']=null,this[_0x17ff3f(0xe,0x170)+_0x17ff3f(-_0x5064e0._0x23a0d0,_0x5064e0._0xc4c6da)](_0x1b2363),this['log'](_0x408e7a(_0x5064e0._0x3a0b54,_0x5064e0._0x57bca3)+_0x17ff3f(0x0,-0xfc)),await _0x51cfb4(0x19);}async['approveP'+_0xb2a5b9(0x193,0x235)+'st'](_0x396a3b){const _0x30b72e={_0x7a65cd:0x33c,_0x4fa160:0x9d5,_0x1864b4:0x7b1,_0x40fcbb:0x71d,_0x28ff6e:0x7ee,_0x56858b:0x387,_0xae1b8c:0x4b5,_0x30f03b:0x3c9,_0x240414:0x48d},_0x5696d2={_0x589fd5:0x3b4};function _0x2d5569(_0x4860ee,_0x36ae71){return _0x3a90bd(_0x4860ee,_0x36ae71-_0x5696d2._0x589fd5);}const _0x1977fe={};function _0x36d845(_0x4b93ec,_0x3b69e2){return _0x3a90bd(_0x4b93ec,_0x3b69e2-0x700);}_0x1977fe[_0x2d5569(0x399,_0x30b72e._0x7a65cd)]=_0x36d845(0xc47,_0x30b72e._0x4fa160)+_0x36d845(0x59f,_0x30b72e._0x1864b4)+'ove';const _0x3736ed=_0x1977fe,_0x4ebb8e={};_0x4ebb8e[_0x36d845(0x988,_0x30b72e._0x40fcbb)+'d']=_0x396a3b,this[_0x36d845(_0x30b72e._0x28ff6e,0x766)+_0x36d845(_0x30b72e._0x56858b,_0x30b72e._0xae1b8c)+'st'](_0x3736ed[_0x2d5569(_0x30b72e._0x30f03b,0x33c)],_0x4ebb8e),this[_0x36d845(0x8e2,0x86f)+_0x2d5569(0x785,0x5cf)+_0x2d5569(_0x30b72e._0x240414,0x522)](_0x396a3b,'approved');}async[_0x3a90bd(0x1ca,0xc6)+_0xb2a5b9(-0x5a,-0x210)+'t'](_0x119097){const _0x3c7a18={_0x427d4c:0x62e,_0x4fbb08:0x391,_0x4e4780:0x37d,_0x37a0a8:0x852,_0x49d5f1:0x89d,_0x306320:0x31d,_0x3b6824:0x690,_0x583393:0x498,_0x1e2a6c:0x195,_0x4c2065:0x45},_0x12f63a={_0x55868b:0x27d},_0xf7005a={_0x58ee20:0x5c8};function _0x5901e0(_0x20eed4,_0x4c9011){return _0x3a90bd(_0x20eed4,_0x4c9011-_0xf7005a._0x58ee20);}const _0x57ad94={};function _0x392b89(_0x43e8ae,_0x333aae){return _0x3a90bd(_0x333aae,_0x43e8ae-_0x12f63a._0x55868b);}_0x57ad94[_0x5901e0(0x739,0x5e5)+'d']=_0x119097,this[_0x5901e0(0x54d,_0x3c7a18._0x427d4c)+_0x5901e0(_0x3c7a18._0x4fbb08,_0x3c7a18._0x4e4780)+'st'](_0x5901e0(_0x3c7a18._0x37a0a8,_0x3c7a18._0x49d5f1)+_0x392b89(0x271,_0x3c7a18._0x306320)+'ct',_0x57ad94),this[_0x392b89(0x3ec,_0x3c7a18._0x3b6824)+_0x392b89(_0x3c7a18._0x583393,0x351)+'esolved'](_0x119097,_0x392b89(_0x3c7a18._0x1e2a6c,_0x3c7a18._0x4c2065));}[_0x3a90bd(-0xe6,-0xf2)+_0x3a90bd(0x4d,0x1ac)](){const _0x262f4c={_0x43469c:0x2f3,_0x4163e0:0x18b,_0x4efef9:0xbb9,_0x10d622:0x513,_0x466a5d:0x718,_0x596ac6:0x38b,_0x5e21ba:0x6c2,_0x131f8d:0x4b2},_0x5ab95c={_0x122720:0x6e7},_0x35dcc3={_0x52b07f:0x27d},_0x4e35bb={...this[_0x3ece54(_0x262f4c._0x43469c,0x33e)]};_0x4e35bb['connecte'+_0x3ece54(0x429,_0x262f4c._0x4163e0)]=[...this['snapshot'][_0x2dc64c(0x998,_0x262f4c._0x4efef9)+'dDevices']],_0x4e35bb[_0x2dc64c(_0x262f4c._0x10d622,_0x262f4c._0x466a5d)+_0x3ece54(0x4b2,_0x262f4c._0x596ac6)+'sts']=[...this['snapshot'][_0x2dc64c(_0x262f4c._0x10d622,_0x262f4c._0x5e21ba)+_0x3ece54(_0x262f4c._0x131f8d,0x632)+'sts']];function _0x3ece54(_0x406d7c,_0x580da0){return _0xb2a5b9(_0x580da0,_0x406d7c-_0x35dcc3._0x52b07f);}function _0x2dc64c(_0x20f24a,_0x4b8651){return _0xb2a5b9(_0x4b8651,_0x20f24a-_0x5ab95c._0x122720);}return _0x4e35bb;}async[_0xb2a5b9(0x372,0x1ea)+'elay'](){const _0x3c12fa={_0x4b4c23:0x83c,_0x567c79:0x8b1,_0x9e1b02:0x74b,_0x16130d:0x7d5,_0x18d25b:0x792,_0x78973d:0x71e,_0x34dc42:0x487,_0x2e5440:0x737,_0x175d1e:0x552,_0x164b34:0x45a,_0x170199:0x5c6,_0x595d07:0x62e,_0x14d12c:0x6da,_0x129233:0x819,_0x2eedd5:0x480,_0x144a7f:0x480,_0x4c1dd5:0x65d,_0x1511f3:0x1dc},_0x56fa0e={_0x19e750:0x27e,_0x34bddc:0x2c6,_0x438799:0x4b1,_0x2a2775:0x238,_0x557a6d:0x2a,_0x5b7325:0x168,_0x493198:0xf7,_0x147c8c:0x243,_0xabcd10:0x2ea,_0x2ac7c4:0x187,_0x56e977:0x235,_0x2e605d:0x13a,_0x5a2c50:0x112,_0x34e74:0x457,_0x454b62:0x48f,_0x2d4b97:0x235,_0x48dcd4:0x7,_0x25bb90:0x2,_0x47512e:0xa,_0x3d9103:0x123,_0x4e14c1:0x24d,_0x12aaaa:0x1af,_0x1589e4:0x476,_0x25c6dd:0x484},_0x1eba6b={_0x21c1fd:0x45c},_0x504c12={_0x3f2ee3:0x113,_0x4dfa34:0x584,_0x543d7f:0x648},_0x2e21bb={_0x154d43:0x18b},_0x4faae5={_0x314427:0x68e,_0x361ae6:0x804},_0x123067={_0x3e25c3:0x804,_0x201876:0x8e2,_0xc38131:0x400},_0x2e65d3={_0x1d5212:0x25d},_0x4f3d49={_0x1fe2d5:0x134,_0x4cd0d6:0x139,_0x162bbd:0x113,_0x2b3cbe:0x23c,_0x5d768a:0x245,_0x23312a:0x1c9,_0x52705c:0xaa,_0xe6f192:0x1af,_0x197978:0x432,_0x1ece40:0x1b5,_0x577530:0x147,_0x23be30:0x2a2,_0x54f30b:0x257,_0x359c96:0x19c,_0x55e0fd:0x228,_0x4dcd2b:0x2f6,_0x57fee2:0x326,_0x17a928:0xb7,_0x15ceec:0x346,_0x5e693a:0x38c,_0x5d5273:0x39e,_0x126846:0xb4,_0x2d34a6:0x9d,_0x34dbbe:0x266,_0x2801ef:0xab,_0x377b36:0xaf},_0x261248={_0x286cde:0x6a7},_0x2f2ca4={'kWziN':function(_0x3d30ae,_0x17e6da){return _0x3d30ae(_0x17e6da);},'Hdlhj':_0x518e7a(_0x3c12fa._0x4b4c23,0x760)};if(this['stopped']||this['relayCon'+_0x518e7a(0x7b8,0x779)]||this[_0x518e7a(0x8dd,_0x3c12fa._0x567c79)+'pen']())return;this['relayCon'+'necting']=!![];function _0x4ef057(_0x109ed7,_0x232baa){return _0xb2a5b9(_0x232baa,_0x109ed7-0x649);}this[_0x4ef057(0x5bb,_0x3c12fa._0x9e1b02)+'empt']+=0x1;const _0x22493b=this[_0x4ef057(0x5bb,0x7c8)+_0x518e7a(_0x3c12fa._0x16130d,0x654)],_0x435dad=_0x2f2ca4[_0x518e7a(_0x3c12fa._0x18d25b,0x580)](buildRelayWsUrl,this[_0x4ef057(0x4f0,0x3c5)][_0x4ef057(_0x3c12fa._0x78973d,_0x3c12fa._0x34dc42)]);this[_0x4ef057(0x458,0x50b)](_0x4ef057(_0x3c12fa._0x2e5440,_0x3c12fa._0x175d1e)+_0x518e7a(_0x3c12fa._0x164b34,0x491)+_0x518e7a(0x8ee,0x7f0)+_0x22493b+_0x518e7a(_0x3c12fa._0x170199,0x874)+redactRelayWsUrl(_0x435dad));function _0x518e7a(_0x45c728,_0x3abed5){return _0xb2a5b9(_0x45c728,_0x3abed5-_0x261248._0x286cde);}const _0x326118=this['createWe'+_0x4ef057(0x791,_0x3c12fa._0x595d07)](_0x435dad);this[_0x518e7a(0x92b,0x6ee)+_0x4ef057(_0x3c12fa._0x14d12c,_0x3c12fa._0x129233)]=_0x326118,_0x326118[_0x4ef057(_0x3c12fa._0x2eedd5,0x310)](_0x4ef057(0x539,0x645),()=>{if(this[_0x443234(-_0x4f3d49._0x1fe2d5,_0x4f3d49._0x4cd0d6)]||this[_0x443234(_0x4f3d49._0x162bbd,_0x4f3d49._0x2b3cbe)+_0x57c87c(_0x4f3d49._0x5d768a,_0x4f3d49._0x23312a)]!==_0x326118){_0x326118['close']();return;}this[_0x443234(0x4e2,0x3d3)+'necting']=![],this[_0x443234(-_0x4f3d49._0x52705c,_0x4f3d49._0xe6f192)+'yActivit'+_0x57c87c(-0x3,-0x2ad)]=Date[_0x57c87c(_0x4f3d49._0x197978,_0x4f3d49._0x1ece40)]();const _0x3f053c={};_0x3f053c['relayCon'+'nected']=!![];function _0x443234(_0x272d23,_0x2dab61){return _0x4ef057(_0x2dab61- -0x454,_0x272d23);}_0x3f053c[_0x57c87c(0x19,0x1e1)+'r']=null,this[_0x443234(-0x15d,_0x4f3d49._0x577530)+_0x443234(0x123,0xfa)](_0x3f053c),this['log'](_0x57c87c(_0x4f3d49._0x23be30,0x42f)+'nnected\x20'+'attempt='+_0x22493b),this[_0x443234(0x209,0x28f)+_0x57c87c(_0x4f3d49._0x54f30b,_0x4f3d49._0x359c96)]();function _0x57c87c(_0x54682b,_0x24588e){return _0x4ef057(_0x54682b- -0x495,_0x24588e);}shouldKeepGatewayConnected(this[_0x443234(0x1c3,0x26b)][_0x443234(_0x4f3d49._0x55e0fd,_0x4f3d49._0x4dcd2b)+_0x57c87c(0x118,0x212)],_0x2f2ca4['kWziN'](summarizePendingGatewayMessages,this[_0x443234(0xcb,_0x4f3d49._0x57fee2)+_0x57c87c(_0x4f3d49._0x17a928,0x96)+_0x57c87c(_0x4f3d49._0x15ceec,_0x4f3d49._0x5e693a)])[_0x57c87c(_0x4f3d49._0x5d5273,0x58c)+_0x57c87c(_0x4f3d49._0x126846,-_0x4f3d49._0x2d34a6)])&&this[_0x57c87c(0x194,_0x4f3d49._0x34dbbe)+_0x443234(-_0x4f3d49._0x2801ef,_0x4f3d49._0x377b36)+'nected']();}),_0x326118['on']('message',(_0x1daa4b,_0x3d1e6a)=>{function _0x1e5646(_0x291542,_0x3ecaeb){return _0x518e7a(_0x291542,_0x3ecaeb- -_0x2e65d3._0x1d5212);}function _0x72bc9c(_0x40d3c1,_0x27b6b5){return _0x518e7a(_0x27b6b5,_0x40d3c1- -0x168);}void this[_0x72bc9c(_0x123067._0x3e25c3,_0x123067._0x201876)+_0x72bc9c(0x5d6,_0x123067._0xc38131)+'ge'](_0x1daa4b,_0x3d1e6a);}),_0x326118['on'](_0x4ef057(0x843,0x974),()=>{function _0x2d7204(_0x30a176,_0x3c6d38){return _0x4ef057(_0x3c6d38- -0xc3,_0x30a176);}function _0x10ad47(_0x4c3735,_0x1355d6){return _0x4ef057(_0x1355d6- -0x3b4,_0x4c3735);}this['lastRela'+_0x2d7204(_0x4faae5._0x314427,0x705)+_0x2d7204(0x2a9,0x3cf)]=Date[_0x2d7204(0x64f,_0x4faae5._0x361ae6)]();}),_0x326118[_0x4ef057(_0x3c12fa._0x144a7f,0x259)](_0x518e7a(0x3de,_0x3c12fa._0x4c1dd5),_0x1e61c8=>{function _0x36445e(_0x4fee51,_0x12b5d8){return _0x518e7a(_0x12b5d8,_0x4fee51- -0x2a2);}function _0x26c224(_0x29e40e,_0x296589){return _0x518e7a(_0x296589,_0x29e40e- -_0x2e21bb._0x154d43);}this[_0x36445e(0x214,_0x504c12._0x3f2ee3)]('relay\x20er'+_0x26c224(_0x504c12._0x4dfa34,_0x504c12._0x543d7f)+String(_0x1e61c8));}),_0x326118['once'](_0x2f2ca4[_0x4ef057(0x3fc,_0x3c12fa._0x1511f3)],(_0x4dedfd,_0x1bbed7)=>{const _0x514db8={_0x1f053e:0x414};function _0x406a9e(_0x16348b,_0x140472){return _0x4ef057(_0x16348b- -_0x514db8._0x1f053e,_0x140472);}this[_0x1a43c2(0x234,_0x56fa0e._0x19e750)+_0x406a9e(0x2c6,0x130)]===_0x326118&&(this[_0x1a43c2(0x234,0x395)+_0x406a9e(_0x56fa0e._0x34bddc,_0x56fa0e._0x438799)]=null);this[_0x1a43c2(0x3cb,0x4df)+'necting']=![],this[_0x406a9e(_0x56fa0e._0x2a2775,0x192)+_0x1a43c2(0x2fa,0x257)](),this['clientDe'+_0x406a9e(0x149,0x389)+_0x406a9e(_0x56fa0e._0x557a6d,0xa3)]=null,this[_0x1a43c2(_0x56fa0e._0x5b7325,-_0x56fa0e._0x493198)+'onnected'+_0x1a43c2(_0x56fa0e._0x147c8c,_0x56fa0e._0xabcd10)]=null;function _0x1a43c2(_0x3c18ea,_0xbb7ad7){return _0x4ef057(_0x3c18ea- -_0x1eba6b._0x21c1fd,_0xbb7ad7);}this[_0x406a9e(_0x56fa0e._0x2ac7c4,_0x56fa0e._0x56e977)+_0x406a9e(_0x56fa0e._0x2e605d,-_0x56fa0e._0x5a2c50)]({'relayConnected':![],'gatewayConnected':![],'clientCount':0x0,'lastError':_0x4dedfd===0x3e8?null:_0x1a43c2(_0x56fa0e._0x34e74,0x673)+_0x1a43c2(_0x56fa0e._0x454b62,0x491)+(_0x1bbed7['toString']()||_0x4dedfd)}),this[_0x1a43c2(-0x4,-0x53)]('relay\x20di'+_0x406a9e(_0x56fa0e._0x2d4b97,0x4)+_0x406a9e(0x1aa,_0x56fa0e._0x48dcd4)+_0x4dedfd+'\x20reason='+(_0x1bbed7['toString']()||_0x1a43c2(_0x56fa0e._0x25bb90,0x1a9))),this[_0x1a43c2(_0x56fa0e._0x47512e,0x285)+_0x406a9e(_0x56fa0e._0x3d9103,0x3c5)](),this[_0x1a43c2(_0x56fa0e._0x4e14c1,_0x56fa0e._0x12aaaa)+_0x1a43c2(_0x56fa0e._0x1589e4,_0x56fa0e._0x25c6dd)+_0x406a9e(0xa8,-0xf0)]();});}async['handleRe'+_0x3a90bd(0x230,0x90)+'ge'](_0x2bf4f6,_0x2b5754){const _0x332ce5={_0x2e11c7:0x5b2,_0x195b4f:0x21f,_0x5428a5:0x25b,_0x207522:0x3d2,_0x4bbe12:0x63d,_0xdaba9a:0x4d1,_0x1d8cd0:0x95e,_0x3aa848:0x482,_0x503bb4:0x6f8,_0x48ec74:0x9e3,_0x325dbc:0x4d9,_0x3f0a0e:0x1b2,_0x1521f2:0x3ed,_0x65bb11:0x9a1,_0x1bd2f1:0xaff,_0x3530ff:0x8d1,_0x4fbb33:0x463,_0x3c92db:0x91f,_0x38629d:0x768,_0x3555f5:0x4c8,_0x5ea662:0xa36,_0x1f2e18:0x8c7,_0xac623f:0x733,_0x1d8b58:0x931,_0x5cd253:0x98e},_0x5926b8={_0x22bf04:0x253},_0x2c109e={_0x83446:0x6dc},_0x2d2bf8={'yNPtg':_0x4ffca2(0x384,_0x332ce5._0x2e11c7),'ogBmF':function(_0x5e85e7,_0x3ffd67){return _0x5e85e7(_0x3ffd67);},'RnYRd':_0x1d30ed(_0x332ce5._0x195b4f,_0x332ce5._0x5428a5)};this['lastRela'+_0x1d30ed(0x2bd,_0x332ce5._0x207522)+_0x1d30ed(-0x4f,0x9c)]=Date[_0x1d30ed(_0x332ce5._0x4bbe12,_0x332ce5._0xdaba9a)]();if(_0x2b5754){this['forwardO'+_0x4ffca2(_0x332ce5._0x1d8cd0,0x931)+_0x4ffca2(_0x332ce5._0x3aa848,_0x332ce5._0x503bb4)+_0x4ffca2(_0x332ce5._0x48ec74,0x9bd)]({'kind':_0x2d2bf8[_0x1d30ed(_0x332ce5._0x325dbc,0x42e)],'data':normalizeBinary(_0x2bf4f6)});return;}const _0x39eec2=normalizeText(_0x2bf4f6);function _0x4ffca2(_0x427a3f,_0x1781c3){return _0xb2a5b9(_0x427a3f,_0x1781c3-_0x2c109e._0x83446);}if(_0x39eec2==null)return;const _0x45b275=_0x2d2bf8[_0x1d30ed(_0x332ce5._0x3f0a0e,_0x332ce5._0x1521f2)](parseControl,_0x39eec2);if(_0x45b275){this[_0x4ffca2(0xb25,_0x332ce5._0x65bb11)+_0x1d30ed(0x313,0x4ab)+'ol'](_0x45b275[_0x4ffca2(_0x332ce5._0x1bd2f1,_0x332ce5._0x3530ff)],_0x45b275['count']);return;}const _0x2f92e9=parseConnectStartIdentity(_0x39eec2);_0x2f92e9&&this['observeC'+_0x4ffca2(_0x332ce5._0x4fbb33,0x69b)+_0x4ffca2(0xac4,_0x332ce5._0x3c92db)](_0x2f92e9['id'],_0x2f92e9[_0x4ffca2(_0x332ce5._0x38629d,0x662)]);const _0x45fdbe={};function _0x1d30ed(_0xff69b0,_0x34bc54){return _0xb2a5b9(_0xff69b0,_0x34bc54-_0x5926b8._0x22bf04);}_0x45fdbe[_0x4ffca2(0x696,_0x332ce5._0x3555f5)]=_0x2d2bf8[_0x4ffca2(_0x332ce5._0x5ea662,_0x332ce5._0x1f2e18)],_0x45fdbe['text']=_0x39eec2,this['forwardO'+_0x4ffca2(_0x332ce5._0xac623f,_0x332ce5._0x1d8b58)+_0x4ffca2(_0x332ce5._0x5cd253,0x6f8)+_0x4ffca2(0xb4b,0x9bd)](_0x45fdbe);}[_0xb2a5b9(0x46d,0x2c5)+_0x3a90bd(0x4d,0x251)+'ol'](_0x46b1c5,_0x1bd0c5){const _0x2cec18={_0x506b74:0x889,_0x705934:0x558,_0x55e4fc:0x19a,_0x369461:0x7c5,_0x3645fe:0x762,_0x5bc2b8:0x1e2,_0x57533d:0x57a,_0x147004:0x88,_0x175c2a:0x2c7,_0x12ba59:0x158,_0xd442d2:0x6fc,_0x3fd39a:0x7a3,_0x4aebdf:0x737,_0x143e1f:0x818,_0x6f3f78:0x625,_0x467f3c:0x7f3,_0x498531:0x50c,_0x2a1e26:0x4f2,_0x1a37a3:0x4b6,_0x480889:0x383,_0x17961a:0x165,_0x10861c:0x4cf,_0x547f7a:0x7c2,_0x3d8560:0x1a3,_0x3fd723:0xc,_0x2522d4:0x156,_0x5f20f4:0x878,_0x1e4fb9:0x672,_0x3edbe0:0x7ce,_0x133b84:0x754,_0x1f016b:0x4b2,_0x42e38f:0x4c5,_0x46fd7f:0x7f2,_0x33c477:0x154,_0x1a5617:0x853,_0x5d9e53:0x8ab,_0x12caa3:0x5b3,_0x911fd1:0x1b0,_0x20c25d:0x2b7,_0x35cf14:0xc0,_0x1e2111:0x31b,_0xdcca27:0x419,_0x268c86:0x2a5,_0x5a991c:0x7ed,_0x2d5659:0x582,_0x17b46c:0x27a,_0x3f091c:0x477,_0x5c7d0b:0xe4,_0x44d665:0x7b8,_0x94e25d:0x382,_0x1e3a2e:0x95,_0x3c898f:0x85d,_0x2765b6:0x879,_0x163eeb:0x450,_0x2d9145:0x5ad,_0x417698:0x584,_0x5dc14f:0x3b1,_0x4d7dc0:0x1a0,_0x423d36:0x59,_0x2e5b3c:0x458,_0x4b1c3e:0x3ac,_0x5b79d7:0x147,_0x4d7a5f:0xe9,_0x34fcb4:0x448,_0x464466:0x9a1,_0x4c785e:0x2b4,_0x14dd68:0x23e,_0x506e3b:0x4fa,_0x37472a:0x765,_0x3df2a2:0x4b1,_0x1c99ed:0x626,_0x3f82da:0x226,_0x5e7d90:0xab1,_0x1c70e2:0x129,_0x1ed06d:0x4d5,_0xcaec45:0xbfa,_0x3688bd:0x80,_0x1a79e4:0x1b5,_0x26e8e1:0x6c3,_0x3a0621:0xb4c,_0x1356b6:0x96b,_0x3f95a6:0x23e,_0x195c4e:0x348,_0x47b094:0x2b7,_0x32b53c:0x1cc,_0x595dbc:0x50,_0x31b069:0x635,_0x2dbc1a:0x846,_0x45f906:0x613,_0x2c91d6:0x19b,_0x24cbdc:0x59b,_0x31a7c0:0x5de,_0x14162a:0x7ea,_0x4d3515:0x6fd,_0x1ada2a:0xae5,_0xdf5c10:0x9a4,_0xa3edf:0x6fe,_0x3e09e6:0x355,_0x247ee9:0x2f3,_0x507202:0x4d4,_0x2125f9:0x88a,_0x1f7b42:0x560,_0x35d156:0x40c,_0x498019:0x8d4,_0x126e38:0x92c,_0x189daf:0x2d1,_0xe0737b:0x1a3,_0x396235:0x2d7,_0x2d43c0:0x2e4,_0x4dcd58:0x8,_0x5c2c9f:0x273,_0x46c627:0x33,_0xdeaae2:0x15f,_0x3c46a4:0x922,_0x241f51:0xd2,_0x21dffc:0x387,_0x5eeacd:0x727,_0xb038a6:0x25f,_0x22322d:0x548,_0xf6d74b:0x71c,_0x4167f4:0x4d0,_0x2147f8:0x42d,_0x537127:0xbb,_0x21bdc6:0x1f2,_0x4dfe20:0x2d2,_0x490eba:0xb00,_0x2fb5d7:0x944},_0x4f7b4a={_0x2dfa1c:0x258};function _0x406507(_0x3032a3,_0x3b3f06){return _0x3a90bd(_0x3b3f06,_0x3032a3-_0x4f7b4a._0x2dfa1c);}const _0x1f51a5={'MkmeO':function(_0x1554ed,_0x8ba084){return _0x1554ed(_0x8ba084);},'zvCTq':_0x1b5fbc(0x8b8,0x89d)+_0x1b5fbc(0x9bd,_0x2cec18._0x506b74)+_0x1b5fbc(_0x2cec18._0x705934,0x7ed)+_0x406507(0x290,_0x2cec18._0x55e4fc)+_0x1b5fbc(0x3d0,0x4d1)+_0x1b5fbc(0x745,_0x2cec18._0x369461)+_0x1b5fbc(0x4b8,_0x2cec18._0x3645fe),'xnbga':function(_0x4be4f6,_0x413e4a){return _0x4be4f6>_0x413e4a;}};function _0x1b5fbc(_0x4fb924,_0x10495c){return _0x3a90bd(_0x4fb924,_0x10495c-0x6c8);}if(_0x46b1c5===_0x406507(_0x2cec18._0x5bc2b8,0x29a)+_0x406507(0x3d6,_0x2cec18._0x57533d)||_0x46b1c5===_0x406507(_0x2cec18._0x5bc2b8,-_0x2cec18._0x147004)+'ount'){const _0x3216d6=this[_0x406507(_0x2cec18._0x175c2a,0x4c8)][_0x406507(0x352,_0x2cec18._0x12ba59)+'unt'],_0x198d6b=_0x1bd0c5??Math[_0x1b5fbc(0x701,_0x2cec18._0xd442d2)](0x1,this[_0x1b5fbc(_0x2cec18._0x3fd39a,_0x2cec18._0x4aebdf)]['clientCo'+_0x1b5fbc(_0x2cec18._0x143e1f,_0x2cec18._0x6f3f78)]);_0x198d6b>0x0&&this[_0x1b5fbc(0x5cf,_0x2cec18._0x467f3c)+_0x1b5fbc(_0x2cec18._0x498531,0x5d5)+_0x1b5fbc(_0x2cec18._0x2a1e26,_0x2cec18._0x1a37a3)]==null&&(this[_0x406507(_0x2cec18._0x480889,0x221)+_0x406507(_0x2cec18._0x17961a,0x136)+'tedAtMs']=Date[_0x406507(_0x2cec18._0x10861c,0x4ce)]());const _0x598521={};_0x598521[_0x1b5fbc(0x522,_0x2cec18._0x547f7a)+'unt']=_0x198d6b,this[_0x406507(_0x2cec18._0x3d8560,_0x2cec18._0x3fd723)+_0x406507(_0x2cec18._0x2522d4,0x155)](_0x598521);if(_0x198d6b===0x0){this[_0x1b5fbc(_0x2cec18._0x5f20f4,0x96a)+'andshake'+_0x1b5fbc(0x7f9,_0x2cec18._0x1e4fb9)]=![],this[_0x1b5fbc(_0x2cec18._0x3edbe0,_0x2cec18._0x133b84)+'cesRecen'+'t'](),this[_0x1b5fbc(0x338,0x4a3)+_0x406507(_0x2cec18._0x1f016b,_0x2cec18._0x42e38f)+'ewayQueu'+'e']();const _0x506f56=_0x1f51a5['MkmeO'](summarizePendingGatewayMessages,this[_0x1b5fbc(0x997,_0x2cec18._0x46fd7f)+_0x406507(_0x2cec18._0x33c477,0x25a)+_0x1b5fbc(0xacd,_0x2cec18._0x1a5617)])[_0x1b5fbc(0x99d,_0x2cec18._0x5d9e53)+_0x1b5fbc(_0x2cec18._0x12caa3,0x5c1)];shouldScheduleGatewayIdleClose(_0x198d6b,_0x506f56,this[_0x406507(0x348,_0x2cec18._0x911fd1)+_0x406507(_0x2cec18._0x20c25d,_0x2cec18._0x35cf14)]())?(this[_0x1b5fbc(_0x2cec18._0x1e2111,0x4d0)]('client\x20d'+_0x406507(_0x2cec18._0xdcca27,_0x2cec18._0x268c86)+_0x1b5fbc(0x799,_0x2cec18._0x5a991c)+_0x1b5fbc(0x5da,_0x2cec18._0x2d5659)+'losing\x20i'+'dle\x20gate'+_0x406507(_0x2cec18._0x17b46c,0x441)),this['closeGat'+'eway']()):this[_0x1b5fbc(_0x2cec18._0x3f091c,0x4d0)](_0x1f51a5[_0x406507(0x368,_0x2cec18._0x5c7d0b)]);}else{if(shouldRecycleGatewayForFreshClient(_0x3216d6,_0x198d6b,this[_0x1b5fbc(0x515,_0x2cec18._0x44d665)+'yOpen'](),![])){const _0x3f5227=summarizePendingGatewayMessages(this[_0x406507(_0x2cec18._0x94e25d,_0x2cec18._0x175c2a)+_0x406507(_0x2cec18._0x33c477,-_0x2cec18._0x1e3a2e)+_0x1b5fbc(_0x2cec18._0x3c898f,0x853)]);this['log'](_0x1b5fbc(0x517,0x5de)+_0x1b5fbc(0x6df,_0x2cec18._0x2765b6)+_0x406507(_0x2cec18._0x163eeb,_0x2cec18._0x2d9145)+_0x1b5fbc(0x4ee,_0x2cec18._0x417698)+_0x406507(_0x2cec18._0x5dc14f,0x610)+_0x406507(_0x2cec18._0x4d7dc0,-_0x2cec18._0x423d36)+_0x1b5fbc(_0x2cec18._0x2e5b3c,0x533)+'='+_0x3f5227[_0x406507(_0x2cec18._0x4b1c3e,0x461)]+(_0x406507(_0x2cec18._0x5b79d7,_0x2cec18._0x4d7a5f)+'=')+_0x3f5227[_0x406507(0x43b,0x229)+_0x406507(0x151,0x1c0)]+'\x20text='+_0x3f5227[_0x406507(0x157,0x4e)+'t']+_0x406507(0x2e5,_0x2cec18._0x34fcb4)+_0x3f5227['binary']+(_0x1b5fbc(_0x2cec18._0x464466,0x763)+_0x406507(_0x2cec18._0x4c785e,_0x2cec18._0x14dd68)+'d=')+this[_0x406507(_0x2cec18._0x506e3b,_0x2cec18._0x37472a)+'andshake'+_0x1b5fbc(_0x2cec18._0x3df2a2,0x672)]);const _0x446cd2=_0x1f51a5[_0x1b5fbc(0x333,0x523)](prunePendingGatewayMessagesForFreshDemand,this[_0x1b5fbc(0x55f,0x7f2)+_0x1b5fbc(_0x2cec18._0x1c99ed,0x5c4)+_0x1b5fbc(0xab1,0x853)]);_0x1f51a5[_0x406507(0x244,_0x2cec18._0x3f82da)](_0x446cd2[_0x1b5fbc(_0x2cec18._0x5e7d90,0x900)],0x0)&&(this['pendingG'+_0x406507(_0x2cec18._0x33c477,_0x2cec18._0x1c70e2)+_0x406507(0x3e3,_0x2cec18._0x1ed06d)]=_0x446cd2[_0x1b5fbc(_0x2cec18._0xcaec45,0x96b)],this['log'](_0x406507(0xcc,-_0x2cec18._0x3688bd)+'stale\x20ga'+_0x406507(0x508,0x58a)+'eue\x20befo'+_0x406507(0xa7,_0x2cec18._0x1a79e4)+'le\x20dropp'+_0x1b5fbc(0x4d1,_0x2cec18._0x26e8e1)+_0x446cd2['dropped']+'\x20kept='+_0x446cd2[_0x1b5fbc(_0x2cec18._0x3a0621,_0x2cec18._0x1356b6)]['length'])),this[_0x406507(0x6e,_0x2cec18._0x3f95a6)+_0x406507(0x13f,0x13d)](!![]);}if(this[_0x406507(_0x2cec18._0x195c4e,0x18b)+_0x406507(_0x2cec18._0x47b094,0x4e4)]()&&!this[_0x406507(_0x2cec18._0x32b53c,-_0x2cec18._0x595dbc)+'loseBoun'+'daryPend'+_0x1b5fbc(0x65f,0x50c)]){const _0x193b6b={};_0x193b6b[_0x1b5fbc(0x440,0x63c)+_0x1b5fbc(_0x2cec18._0x31b069,_0x2cec18._0x2dbc1a)]=!![],_0x193b6b[_0x406507(0xb6,-_0x2cec18._0x55e4fc)+'r']=null,this[_0x1b5fbc(0x446,_0x2cec18._0x45f906)+_0x406507(0x156,_0x2cec18._0x2c91d6)](_0x193b6b),this['log'](_0x1b5fbc(_0x2cec18._0x24cbdc,_0x2cec18._0x31a7c0)+_0x1b5fbc(_0x2cec18._0x14162a,0x65b)+'connecte'+_0x1b5fbc(_0x2cec18._0x4d3515,0x8fa)+_0x1b5fbc(_0x2cec18._0x1ada2a,_0x2cec18._0xdf5c10)+_0x1b5fbc(_0x2cec18._0xa3edf,0x6ce)+this['elapsedS'+_0x1b5fbc(0x222,0x481)](this[_0x406507(0x1cc,0x36)+_0x406507(0x3d6,_0x2cec18._0x3e09e6)+'AtMs'])+(_0x406507(_0x2cec18._0x247ee9,0x2bf)+_0x1b5fbc(0x85f,0x724)+'d=')+this[_0x406507(_0x2cec18._0x506e3b,0x4fb)+'andshake'+_0x406507(0x202,-0xa6)]);}}this['ensureGa'+_0x406507(0x10b,-0xbb)+_0x406507(_0x2cec18._0x507202,0x56a)]();return;}if(_0x46b1c5===_0x1b5fbc(_0x2cec18._0x2125f9,0x719)+_0x1b5fbc(_0x2cec18._0x1f7b42,0x5ec)+_0x406507(0x185,_0x2cec18._0x35d156)){this[_0x1b5fbc(_0x2cec18._0x498019,0x96a)+_0x1b5fbc(0x54a,0x503)+'Started']=![];const _0x2baa6c={};_0x2baa6c[_0x1b5fbc(_0x2cec18._0x126e38,0x7c2)+_0x406507(0x1b5,_0x2cec18._0x189daf)]=0x0,this[_0x406507(_0x2cec18._0xe0737b,0x15c)+_0x406507(0x156,_0x2cec18._0x396235)](_0x2baa6c),this[_0x406507(_0x2cec18._0x2d43c0,0x259)+_0x406507(_0x2cec18._0x4dcd58,_0x2cec18._0x5c2c9f)+'t'](),this[_0x406507(_0x2cec18._0x46c627,_0x2cec18._0xdeaae2)+_0x1b5fbc(0x727,_0x2cec18._0x3c46a4)+'ewayQueu'+'e']();const _0x2dee41=summarizePendingGatewayMessages(this[_0x1b5fbc(_0x2cec18._0x57533d,_0x2cec18._0x46fd7f)+_0x406507(0x154,-_0x2cec18._0x241f51)+_0x406507(0x3e3,0x5bb)])['connectR'+_0x406507(0x151,_0x2cec18._0x21dffc)];shouldScheduleGatewayIdleClose(0x0,_0x2dee41,this[_0x406507(0x348,0x427)+_0x1b5fbc(0x62e,_0x2cec18._0x5eeacd)]())?(this['log'](_0x1b5fbc(0x773,0x89d)+'isconnec'+_0x406507(0x7,-_0x2cec18._0xb038a6)+_0x406507(0x47c,_0x2cec18._0x22322d)+'e\x20gatewa'+'y'),this[_0x1b5fbc(_0x2cec18._0xf6d74b,0x4de)+_0x406507(0x13f,0x207)]()):(this[_0x1b5fbc(0x28d,_0x2cec18._0x4167f4)](_0x406507(_0x2cec18._0x2147f8,0x639)+'isconnec'+_0x406507(_0x2cec18._0x537127,-_0x2cec18._0x21bdc6)+_0x406507(_0x2cec18._0x4dfe20,0x319)+'ains\x20nee'+_0x1b5fbc(0x52c,0x736)),this['ensureGa'+'tewayCon'+_0x1b5fbc(_0x2cec18._0x490eba,_0x2cec18._0x2fb5d7)]());return;}}[_0x3a90bd(0x436,0x1f4)+_0xb2a5b9(0x10f,0x255)+_0xb2a5b9(-0x12c,0x1c)+'sage'](_0x4d468a){const _0x6d5997={_0x22bf28:0xab,_0x60cd84:0xed,_0x59489b:0x42,_0xfef97d:0x71,_0x4cc0a0:0x1a1,_0x3acf38:0x1bf,_0x315a2e:0x391,_0x5ede9e:0x204,_0x10b05f:0x20c,_0x15c19d:0x256,_0x50a1da:0xb6,_0x4a55ae:0x396,_0x3f18ac:0x170,_0x2385c6:0x58e,_0x491220:0x271,_0x302841:0xdb,_0x541cbb:0x1ee,_0x311da7:0xea,_0x144476:0x9c,_0x1bc953:0xf1,_0x19ad42:0x19d,_0x43be6f:0xe1,_0x488d42:0x35,_0x285e0d:0xf9,_0x2da1b9:0x24b,_0x10ed1a:0x59,_0x1b5ad7:0x24a,_0x5efd09:0xcc,_0x3239d0:0x307,_0x599c99:0x26a,_0x49f984:0x39e,_0x59c357:0x23d,_0x438151:0x2aa,_0x1a37d1:0x270,_0x1830d1:0x3fc,_0x4c70e8:0x1f7,_0x1eaa3a:0x40a,_0x49c107:0x88,_0x150665:0xc6,_0x56c4d1:0x495,_0x598794:0x5d8,_0x336ce0:0x1c7,_0x1193fb:0x47a,_0x65792a:0x291,_0x2e154e:0x3e1,_0x22c5a9:0x209,_0x322eb2:0x3a2,_0x47ef24:0x97},_0x4c36df={_0x1c7a12:0x38e},_0x3fce37={'mADGZ':function(_0x216ae3,_0x2fa824){return _0x216ae3(_0x2fa824);},'fIWNi':_0x591343(0x2ab,0x221)+_0x12f668(-_0x6d5997._0x22bf28,0xdc)+_0x12f668(-0x1a7,_0x6d5997._0x60cd84)+_0x12f668(-_0x6d5997._0x59489b,-_0x6d5997._0xfef97d)+'ct\x20hands'+_0x591343(0x290,_0x6d5997._0x4cc0a0)+_0x591343(_0x6d5997._0x3acf38,_0x6d5997._0x315a2e)+_0x591343(_0x6d5997._0x5ede9e,0x8f)+_0x12f668(-_0x6d5997._0x10b05f,-_0x6d5997._0x15c19d)+_0x591343(0x407,0x187),'ZrUxw':function(_0x46b18a,_0x1bd569){return _0x46b18a+_0x1bd569;}},_0x540f68=_0x4d468a[_0x591343(0x17a,_0x6d5997._0x50a1da)]===_0x591343(_0x6d5997._0x4a55ae,_0x6d5997._0x3f18ac)&&_0x3fce37[_0x591343(_0x6d5997._0x2385c6,0x326)](isConnectHandshakeRequest,_0x4d468a[_0x12f668(-0x31,_0x6d5997._0x491220)]);function _0x591343(_0x541225,_0x524304){return _0xb2a5b9(_0x524304,_0x541225-_0x4c36df._0x1c7a12);}if(this['gatewayC'+_0x12f668(_0x6d5997._0x302841,0x301)+'daryPend'+_0x12f668(-_0x6d5997._0x541cbb,0x29)]){this[_0x591343(0x33c,_0x6d5997._0x311da7)+_0x12f668(-0xbd,_0x6d5997._0x144476)+_0x12f668(-0x23d,-_0x6d5997._0x1bc953)+'e'](_0x4d468a);_0x540f68&&this[_0x591343(_0x6d5997._0x19ad42,-_0x6d5997._0x43be6f)](_0x3fce37[_0x12f668(-0xcc,_0x6d5997._0x488d42)]);return;}const _0x878d17=this[_0x12f668(-0xec,0x87)+_0x12f668(-_0x6d5997._0x285e0d,-_0x6d5997._0x2da1b9)];if(!_0x878d17||_0x878d17['readySta'+'te']!==_0x387a60[_0x591343(0x164,-0xa9)]){this[_0x12f668(-_0x6d5997._0x10ed1a,-0xdf)+'tewayCon'+_0x12f668(_0x6d5997._0x1b5ad7,0x3d7)](),this[_0x591343(0x33c,0x285)+'ingGatew'+'ayMessag'+'e'](_0x4d468a);_0x540f68&&this['log'](_0x3fce37[_0x12f668(-_0x6d5997._0x5efd09,-_0x6d5997._0x3239d0)]);return;}function _0x12f668(_0x18446b,_0x460b65){return _0xb2a5b9(_0x460b65,_0x18446b- -0x39);}if(!this[_0x12f668(0x270,_0x6d5997._0x599c99)+_0x591343(0x1d0,_0x6d5997._0x49f984)+'Started']){if(!_0x540f68){this[_0x591343(0x33c,0x3c7)+'ingGatew'+_0x12f668(-_0x6d5997._0x59c357,-_0x6d5997._0x438151)+'e'](_0x4d468a);return;}this[_0x12f668(_0x6d5997._0x1a37d1,_0x6d5997._0x1830d1)+_0x12f668(-_0x6d5997._0x4c70e8,-_0x6d5997._0x1eaa3a)+_0x12f668(-_0x6d5997._0x49c107,-0x15d)]=!![];const _0x236fd2=parseConnectHandshakeMeta(_0x4d468a[_0x12f668(-0x31,0x267)]);this[_0x591343(_0x6d5997._0x19ad42,-_0x6d5997._0x150665)](_0x3fce37[_0x591343(0x467,0x31b)](_0x591343(0x2ab,_0x6d5997._0x56c4d1)+_0x12f668(_0x6d5997._0x43be6f,0x17d)+_0x591343(_0x6d5997._0x598794,0x781)+_0x12f668(-_0x6d5997._0x336ce0,-0x19c)+'='+this[_0x591343(0x4bf,_0x6d5997._0x1193fb)+_0x591343(_0x6d5997._0x65792a,_0x6d5997._0x2e154e)+_0x12f668(0x159,0x34b)][_0x591343(0x41c,0x373)],formatConnectHandshakeMetaForLog(_0x236fd2)));}this[_0x12f668(-_0x6d5997._0x22c5a9,-_0x6d5997._0x322eb2)+_0x12f668(-0x108,_0x6d5997._0x47ef24)](_0x4d468a);}[_0xb2a5b9(-0x152,-0x20)+_0x3a90bd(0x52,-0x14d)+_0xb2a5b9(0x3c4,0x283)](){const _0x101f13={_0x423525:0x206,_0x3ccd44:0x185,_0x459a3a:0x4,_0x9e5638:0x4fe,_0x244492:0x496,_0x4a088a:0x5aa,_0x5121ed:0x417,_0x5b15a3:0x408,_0x29ea20:0x408,_0x58b5b8:0x1a6,_0x451531:0x92,_0x45d7b1:0x29,_0x272bb6:0x135,_0x32e8de:0x152,_0x178eeb:0x348,_0x83369f:0x177,_0x516f4a:0x206,_0x187992:0x376,_0x11d1f0:0x19,_0x473d16:0x191,_0x5e24ea:0x227,_0x112bdd:0x75,_0x472299:0x229,_0x3ef666:0x120,_0x327a2f:0x34b,_0x4f7c4d:0xd2,_0x44e8e8:0x104,_0x4b22a9:0x46,_0x59a45a:0x120,_0x3afa8e:0x2f1},_0x5cfa3d={_0x44ee2f:0x248,_0xc90d36:0x331,_0x259225:0xa2,_0x57f50d:0x17,_0x4ae153:0x11a,_0x239462:0x16,_0x40fc29:0x251,_0x3d9c71:0x1fe,_0xa31dcb:0x2c9,_0x48d6d3:0xe7,_0x29a541:0x64,_0x4fb844:0x57,_0x2222ac:0xec,_0x2e074b:0x9,_0x1f0143:0x92,_0x531a59:0xf4,_0x299d57:0x9b,_0x25c951:0x2b3,_0x124f63:0x332,_0xf35524:0xce,_0x2de773:0xc3,_0x4244b8:0x1a6,_0xc5cadf:0x48d,_0x74e90a:0x34,_0x808933:0x40c,_0x55fa40:0x259,_0x66e237:0xf1,_0x11f212:0x244,_0xd97bd:0xfe,_0x26c17d:0x1c,_0x488f7a:0x18d,_0xb15280:0x315,_0x9210d0:0x29f,_0x1a0482:0x4c4,_0x1a4f64:0x396,_0x62143d:0xf2,_0x443ff5:0x136,_0x1c1b54:0x8a,_0x414365:0x4e,_0x317f8e:0x170,_0x275579:0x2be,_0x2a5368:0xd4,_0x1d8cb7:0x22b,_0x3a6b29:0x29d,_0x3d6e69:0x4e,_0x458170:0x1d3,_0x2cc08f:0x3ee,_0x8a3f06:0x5ff,_0x490086:0x59,_0x3ac768:0x12d,_0x2868ce:0x35c},_0x4865b2={_0x37fdf1:0x161},_0x1766e1={_0x58b230:0x166},_0x100c89={_0x4bad75:0x1f1,_0x12f8c7:0x845},_0x205d33={_0x185c09:0x326},_0x430cac={_0x5409dd:0x1d0,_0x883be8:0x58b,_0x174ad4:0x1cc,_0x8d9f49:0x345,_0x3cc06e:0x15c,_0x319ae5:0x55c,_0x378989:0x5e3,_0x1527f8:0x64e,_0x1af6ee:0x53e,_0x402596:0xd7,_0x594111:0x33e,_0x2dfdfc:0x2d9,_0x33781a:0x695,_0x59e54a:0x625,_0x347415:0x61f,_0x5c31b9:0x420,_0x56be99:0x48a,_0x5bf113:0x64c,_0x58d30e:0x9cb,_0x576a12:0xb38,_0x5084dc:0x479,_0x22ca05:0x7a9,_0x47c195:0x9bb,_0x388898:0x4da,_0x476de8:0x660,_0x40bcfe:0x35d,_0x42d78c:0x62e,_0x5646d3:0x434,_0x16a166:0x189,_0x2eb78e:0x56e},_0x41e5cc={_0x20a20a:0x45},_0x4f6364={'hByIC':function(_0x420e0c,_0x56f253){return _0x420e0c!==_0x56f253;},'OodqT':function(_0x5101df,_0xcd9090,_0x1ed546){return _0x5101df(_0xcd9090,_0x1ed546);},'JzpDa':_0x359793(_0x101f13._0x423525,0x4b2)+_0x5c069a(0x14f,-0x8d)+_0x5c069a(-_0x101f13._0x3ccd44,-_0x101f13._0x459a3a)+_0x359793(_0x101f13._0x9e5638,0x530)+_0x5c069a(_0x101f13._0x244492,0x30f)+_0x359793(_0x101f13._0x4a088a,0x366)+_0x359793(_0x101f13._0x5121ed,0x423)+_0x359793(_0x101f13._0x5b15a3,0x414),'rnAzB':_0x359793(0x3a2,0x573)};if(this[_0x359793(0x22d,0x37d)]||!this[_0x359793(0x4f3,0x5a4)+'pen']()||this[_0x359793(0x264,_0x101f13._0x29ea20)+_0x5c069a(-_0x101f13._0x58b5b8,-_0x101f13._0x451531)+'g']||this[_0x5c069a(-_0x101f13._0x45d7b1,_0x101f13._0x272bb6)+'yOpen']()||this['gatewayC'+_0x5c069a(-0xe4,_0x101f13._0x32e8de)+'daryPend'+_0x5c069a(-_0x101f13._0x178eeb,-_0x101f13._0x83369f)])return;function _0x5c069a(_0x5cd015,_0x42814f){return _0x3a90bd(_0x5cd015,_0x42814f-_0x41e5cc._0x20a20a);}this['gatewayC'+_0x359793(0x219,0x210)+'g']=!![],this[_0x5c069a(-0xd8,-0x1b3)](_0x359793(_0x101f13._0x516f4a,_0x101f13._0x187992)+_0x5c069a(-0x1b7,-_0x101f13._0x11d1f0)+'start\x20ur'+'l='+this[_0x359793(0x190,0x226)]['gatewayU'+'rl']);const _0x1b7bbc=this[_0x5c069a(0x2cb,0x130)+'bSocket'](this['options'][_0x5c069a(0x6e,_0x101f13._0x473d16)+'rl']);this[_0x5c069a(-_0x101f13._0x5e24ea,-_0x101f13._0x112bdd)+_0x359793(_0x101f13._0x472299,0x349)]=_0x1b7bbc,_0x1b7bbc[_0x359793(_0x101f13._0x3ef666,-_0x101f13._0x11d1f0)](_0x5c069a(-_0x101f13._0x327a2f,-_0x101f13._0x4f7c4d),()=>{const _0x3e0a0f={_0x4f40bb:0x24e};if(this[_0x22ca17(_0x430cac._0x5409dd,-0x32)]||_0x4f6364[_0xd7d2fe(_0x430cac._0x883be8,0x69f)](this['gatewayS'+_0x22ca17(_0x430cac._0x174ad4,-0x75)],_0x1b7bbc)){_0x1b7bbc[_0x22ca17(_0x430cac._0x8d9f49,_0x430cac._0x3cc06e)]();return;}this[_0x22ca17(0x207,0x8)+_0xd7d2fe(0x64a,0x53f)+'g']=![],this[_0x22ca17(0x535,0x374)+_0xd7d2fe(_0x430cac._0x319ae5,_0x430cac._0x378989)+_0x22ca17(0x23d,0x320)]=![],this[_0xd7d2fe(0x695,0x6d7)+_0x22ca17(0x3a0,_0x430cac._0x1527f8)+_0xd7d2fe(_0x430cac._0x1af6ee,0x6fe)+_0x22ca17(_0x430cac._0x402596,_0x430cac._0x594111)]=![],this[_0x22ca17(0x207,0x2e9)+'onnected'+_0xd7d2fe(0x770,0x63c)]=Date[_0x22ca17(0x50a,_0x430cac._0x2dfdfc)]();function _0x22ca17(_0x2aadbd,_0x4826ad){return _0x5c069a(_0x4826ad,_0x2aadbd-_0x3e0a0f._0x4f40bb);}function _0xd7d2fe(_0x584bff,_0x4a5103){return _0x5c069a(_0x4a5103,_0x584bff-0x6dc);}const _0x4adb99={};_0x4adb99[_0xd7d2fe(_0x430cac._0x33781a,_0x430cac._0x59e54a)+'onnected']=!![],_0x4adb99[_0xd7d2fe(0x57f,0x6ab)+'r']=null,this['updateSn'+_0xd7d2fe(_0x430cac._0x347415,_0x430cac._0x5c31b9)](_0x4adb99),this[_0xd7d2fe(0x529,_0x430cac._0x56be99)](_0xd7d2fe(0x637,_0x430cac._0x5bf113)+_0xd7d2fe(_0x430cac._0x58d30e,_0x430cac._0x576a12)+_0x22ca17(_0x430cac._0x5084dc,0x2d7)+'lientDem'+_0xd7d2fe(_0x430cac._0x22ca05,_0x430cac._0x47c195)+this['elapsedS'+_0xd7d2fe(_0x430cac._0x388898,_0x430cac._0x476de8)](this[_0x22ca17(0x3be,_0x430cac._0x40bcfe)+_0xd7d2fe(_0x430cac._0x42d78c,_0x430cac._0x5646d3)+_0x22ca17(0x81,_0x430cac._0x16a166)])),this['flushPen'+_0x22ca17(0x389,0x573)+'wayMessa'+_0x22ca17(0x43d,_0x430cac._0x2eb78e)]();});function _0x359793(_0x831c08,_0x49b8ab){return _0x3a90bd(_0x49b8ab,_0x831c08-0x2f0);}_0x1b7bbc['on'](_0x5c069a(-0x254,-_0x101f13._0x44e8e8),(_0x31a143,_0x1d2a97)=>{const _0x57715d={_0x57b05b:0x204};function _0x5cddff(_0x13c292,_0x467b5c){return _0x359793(_0x467b5c- -_0x205d33._0x185c09,_0x13c292);}function _0x23a582(_0x40d0db,_0x126fb5){return _0x359793(_0x126fb5-_0x57715d._0x57b05b,_0x40d0db);}this[_0x5cddff(-0x3dc,-_0x100c89._0x4bad75)+'tewayMes'+_0x23a582(_0x100c89._0x12f8c7,0x7ce)](_0x31a143,_0x1d2a97);}),_0x1b7bbc[_0x359793(0x120,-_0x101f13._0x4b22a9)](_0x359793(0x29f,0x390),_0x35d332=>{function _0x5daca7(_0x2f8a50,_0x4ac60a){return _0x5c069a(_0x2f8a50,_0x4ac60a-0xad);}function _0x1f02d1(_0x1fd311,_0x1ab7b6){return _0x5c069a(_0x1fd311,_0x1ab7b6-0x5a5);}this[_0x5daca7(-_0x1766e1._0x58b230,-0x106)](_0x1f02d1(0x36c,0x500)+'error:\x20'+String(_0x35d332));}),_0x1b7bbc[_0x359793(_0x101f13._0x59a45a,_0x101f13._0x3afa8e)](_0x4f6364['rnAzB'],(_0x593b12,_0x2495c4)=>{const _0x421fac=summarizePendingGatewayMessages(this[_0x26db2d(0xf0,_0x5cfa3d._0x44ee2f)+_0x26db2d(0x170,0x1a)+_0x305567(_0x5cfa3d._0xc90d36,_0x5cfa3d._0x259225)])[_0x305567(0x389,0x175)+_0x26db2d(-0x49,_0x5cfa3d._0x57f50d)];function _0x26db2d(_0x137edd,_0x479d66){return _0x5c069a(_0x137edd,_0x479d66-0xd9);}const _0x384b2b=this[_0x305567(_0x5cfa3d._0x4ae153,0xfa)+_0x305567(0x2b3,0x141)+'daryPend'+_0x305567(-_0x5cfa3d._0x239462,_0x5cfa3d._0x40fc29)]&&_0x4f6364[_0x26db2d(0x1de,_0x5cfa3d._0x3d9c71)](shouldKeepGatewayConnected,this['snapshot'][_0x305567(0x2a0,_0x5cfa3d._0xa31dcb)+_0x305567(0x103,0x3c)],_0x421fac);this[_0x26db2d(-_0x5cfa3d._0x48d6d3,_0x5cfa3d._0x29a541)+_0x26db2d(-0x4d,_0x5cfa3d._0x4fb844)]===_0x1b7bbc&&(this[_0x305567(_0x5cfa3d._0x2222ac,-_0x5cfa3d._0x2e074b)+'ocket']=null);function _0x305567(_0x381a50,_0x4030d8){return _0x5c069a(_0x4030d8,_0x381a50-_0x4865b2._0x37fdf1);}this[_0x26db2d(-0x82,_0x5cfa3d._0x1f0143)+_0x26db2d(_0x5cfa3d._0x531a59,0x47)+'g']=![],this['gatewayH'+_0x26db2d(-0x33,-0xa7)+_0x26db2d(_0x5cfa3d._0x299d57,0xc8)]=![],this[_0x305567(0x11a,-0x126)+_0x305567(_0x5cfa3d._0x25c951,0x7e)+'daryPend'+'ing']=![],this['gatewayC'+_0x305567(0x324,0x1a1)+_0x26db2d(_0x5cfa3d._0x124f63,0x16d)]=null,this[_0x26db2d(_0x5cfa3d._0xf35524,_0x5cfa3d._0x2de773)+_0x305567(_0x5cfa3d._0x4244b8,0x347)+_0x26db2d(-0x1f4,-0x126)+_0x26db2d(_0x5cfa3d._0xc5cadf,0x24d)](_0x26db2d(-0x124,_0x5cfa3d._0x74e90a)+'disconne'+_0x305567(_0x5cfa3d._0x808933,_0x5cfa3d._0x55fa40)+'e='+_0x593b12),this[_0x305567(_0x5cfa3d._0x66e237,_0x5cfa3d._0x11f212)+_0x26db2d(_0x5cfa3d._0xd97bd,_0x5cfa3d._0x26c17d)]({'gatewayConnected':![],'lastError':_0x593b12===0x3e8||_0x384b2b?this[_0x26db2d(0x18f,_0x5cfa3d._0x488f7a)][_0x26db2d(-_0x5cfa3d._0xb15280,-0x84)+'r']:'gateway\x20'+_0x305567(_0x5cfa3d._0x9210d0,_0x5cfa3d._0x1a0482)+(_0x2495c4[_0x26db2d(_0x5cfa3d._0x1a4f64,0x2be)]()||_0x593b12)}),this[_0x305567(-0x52,_0x5cfa3d._0x62143d)](_0x26db2d(-_0x5cfa3d._0x443ff5,0x34)+_0x305567(-_0x5cfa3d._0x1c1b54,-0x307)+_0x305567(0x40c,0x502)+'e='+_0x593b12+_0x305567(_0x5cfa3d._0x414365,_0x5cfa3d._0x317f8e)+(_0x2495c4[_0x26db2d(0x405,_0x5cfa3d._0x275579)]()||_0x26db2d(-0x6c,-_0x5cfa3d._0x2a5368))+(_0x305567(0x7e,_0x5cfa3d._0x1d8cb7)+_0x26db2d(0x61f,0x3a1)+_0x26db2d(_0x5cfa3d._0x3a6b29,_0x5cfa3d._0x3d6e69))+this[_0x305567(0x497,0x613)+_0x305567(-0xa1,0xbe)](this['clientDe'+_0x26db2d(-_0x5cfa3d._0x458170,0x2b)+_0x305567(-0x6c,0x106)]));if(_0x384b2b){this['log'](_0x4f6364[_0x305567(_0x5cfa3d._0x2cc08f,_0x5cfa3d._0x8a3f06)]),this[_0x26db2d(0x28b,0xf7)+_0x305567(_0x5cfa3d._0x490086,_0x5cfa3d._0x3ac768)+_0x26db2d(0x257,0x39a)]();return;}this[_0x26db2d(0x3e9,0x177)+_0x26db2d(0x5da,_0x5cfa3d._0x2868ce)+_0x26db2d(0x230,0x142)]();});}[_0x3a90bd(0x5b,-0x1bb)+_0x3a90bd(-0x220,0x15)+'sage'](_0x1d5742,_0x1631c5){const _0x3111f={_0x120842:0x74f,_0x527d4b:0x799,_0x4ba121:0x832,_0x1814c5:0x82d,_0x16d5db:0x1bd,_0x24d3a1:0x550,_0x1717b5:0x38d,_0x1b2f27:0x263,_0xcc5fd8:0x23b,_0x9d1c39:0x1c7,_0x25c1c0:0x1db,_0x15aef9:0x2dc,_0x5a5926:0x4d5},_0x5cd41e={_0x363049:0x21e},_0x46f6e5={_0x24ef39:0x70f};function _0x385989(_0x3cd2ff,_0x48697f){return _0x3a90bd(_0x48697f,_0x3cd2ff-_0x46f6e5._0x24ef39);}const _0x49dd4a={'xZTGE':function(_0x788cd8,_0x5b9272){return _0x788cd8(_0x5b9272);},'eRKlD':function(_0x396e4b,_0x22386e){return _0x396e4b(_0x22386e);}},_0x57b1f0=this[_0x385989(_0x3111f._0x120842,0x7be)+_0x385989(_0x3111f._0x527d4b,_0x3111f._0x4ba121)];if(!_0x57b1f0||_0x57b1f0[_0x385989(0x716,_0x3111f._0x1814c5)+'te']!==_0x387a60[_0x50162c(-0x41,-0x13)])return;if(_0x1631c5){_0x57b1f0['send'](normalizeBinary(_0x1d5742));return;}const _0x37ecd6=_0x49dd4a[_0x50162c(-_0x3111f._0x16d5db,-0x16)](normalizeText,_0x1d5742);function _0x50162c(_0x2f453f,_0x93993e){return _0x3a90bd(_0x2f453f,_0x93993e-_0x5cd41e._0x363049);}if(_0x37ecd6==null)return;const _0x39b637=parsePairingRequestFromError(_0x37ecd6);_0x39b637&&this['addPendi'+_0x385989(0x9bc,0xbc8)+_0x385989(_0x3111f._0x24d3a1,0x42f)](_0x39b637);const _0x29c6ed=parsePairResolvedEvent(_0x37ecd6);_0x29c6ed&&this[_0x50162c(0x252,_0x3111f._0x1717b5)+'RequestR'+'esolved'](_0x29c6ed[_0x50162c(_0x3111f._0x1b2f27,_0x3111f._0xcc5fd8)+'d'],_0x29c6ed[_0x50162c(_0x3111f._0x9d1c39,0x187)]);const _0x267d1d=_0x49dd4a[_0x50162c(_0x3111f._0x25c1c0,_0x3111f._0x15aef9)](parseResponseEnvelopeMeta,_0x37ecd6);_0x267d1d&&this['observeG'+_0x50162c(0x161,0xf4)+'sponse'](_0x267d1d),_0x57b1f0[_0x385989(0x650,_0x3111f._0x5a5926)](_0x37ecd6);}[_0xb2a5b9(0x324,0x203)+_0xb2a5b9(0x1d9,0xfd)+_0xb2a5b9(-0x1c0,-0x253)+_0xb2a5b9(0x2eb,0x1b1)](){const _0x2e4069={_0x25397c:0x191,_0x5b6c90:0x2ff,_0x483c32:0x307,_0x48ad54:0x40d,_0x557bce:0x1a,_0x5b9363:0x5c4,_0x16ebb4:0x80d,_0x59e0b1:0x43a,_0x5f556e:0x63e,_0x51f0c5:0x53,_0x84cae5:0x1d5,_0x1d1007:0x322,_0x664039:0x200,_0x30d172:0x520,_0xcd9509:0x417,_0x448c6c:0x251,_0x487054:0x483,_0x1d0052:0x3bd,_0x47ba13:0x65a,_0x44d1b8:0x2d2,_0x24688f:0x62d,_0x49892b:0x652,_0x447910:0x6a9,_0x590df3:0x526,_0x1e92e1:0x9e,_0x531172:0x45a,_0x1145ef:0x5ac,_0x418677:0x24c,_0x39fb70:0x5,_0x34df2a:0x86,_0x4b26cf:0x18c,_0x1e3bb2:0x359,_0x328747:0x487},_0x3f45d4={_0xce3de0:0x24b},_0x24c3a3={_0x294d79:0x406};function _0x585c20(_0x2a0473,_0x560232){return _0x3a90bd(_0x560232,_0x2a0473-_0x24c3a3._0x294d79);}const _0x3ce441={'jrzUr':function(_0x15ccfe,_0x10bf4c){return _0x15ccfe(_0x10bf4c);},'ohLQB':function(_0x536520,_0x1957c0){return _0x536520>_0x1957c0;},'cdjDL':function(_0x1c5d99,_0x573d5e){return _0x1c5d99!==_0x573d5e;}},_0x2aea1a=this[_0x44fcb4(_0x2e4069._0x25397c,_0x2e4069._0x5b6c90)+_0x585c20(0x33f,_0x2e4069._0x483c32)];if(!_0x2aea1a||_0x2aea1a[_0x585c20(_0x2e4069._0x48ad54,0x50f)+'te']!==_0x387a60[_0x44fcb4(_0x2e4069._0x557bce,0x294)])return;const _0x23345d=[],_0x4ae479=_0x3ce441[_0x585c20(_0x2e4069._0x5b9363,_0x2e4069._0x16ebb4)](dedupePendingGatewayMessages,this[_0x44fcb4(0x375,_0x2e4069._0x59e0b1)+'atewayMe'+'ssages']);_0x3ce441['ohLQB'](_0x4ae479[_0x585c20(_0x2e4069._0x5f556e,0x5a7)],0x0)&&this[_0x44fcb4(_0x2e4069._0x51f0c5,_0x2e4069._0x84cae5)]('dropped\x20'+_0x585c20(0x2c1,0xab)+_0x585c20(_0x2e4069._0x1d1007,0x14d)+_0x44fcb4(0x9e,_0x2e4069._0x664039)+_0x585c20(_0x2e4069._0x30d172,_0x2e4069._0xcd9509)+_0x44fcb4(0x4a2,0x4ac)+_0x44fcb4(0x286,_0x2e4069._0x448c6c)+_0x44fcb4(0x246,0x69)+_0x4ae479[_0x44fcb4(_0x2e4069._0x487054,_0x2e4069._0x1d0052)]+_0x585c20(0x699,_0x2e4069._0x47ba13)+_0x4ae479['messages'][_0x44fcb4(_0x2e4069._0x44d1b8,0x481)]);this[_0x585c20(0x530,_0x2e4069._0x24688f)+'atewayMe'+_0x585c20(0x591,_0x2e4069._0x49892b)]=[];for(const _0x1b7da6 of _0x4ae479[_0x585c20(_0x2e4069._0x447910,_0x2e4069._0x590df3)]){if(!this['gatewayH'+_0x585c20(0x241,_0x2e4069._0x1e92e1)+_0x585c20(0x3b0,0x628)]){if(_0x3ce441[_0x44fcb4(_0x2e4069._0x531172,_0x2e4069._0x1145ef)](_0x1b7da6[_0x44fcb4(0x30,0x2c9)],_0x44fcb4(_0x2e4069._0x418677,_0x2e4069._0x39fb70))||!isConnectHandshakeRequest(_0x1b7da6['text'])){_0x23345d['push'](_0x1b7da6);continue;}this[_0x44fcb4(0x4ed,0x6e7)+_0x44fcb4(_0x2e4069._0x34df2a,_0x2e4069._0x4b26cf)+_0x585c20(0x3b0,_0x2e4069._0x1e3bb2)]=!![];}this[_0x44fcb4(0x74,0x287)+_0x585c20(0x330,0x1ed)](_0x1b7da6);}function _0x44fcb4(_0x2bfb94,_0xdea1c1){return _0x3a90bd(_0xdea1c1,_0x2bfb94-_0x3f45d4._0xce3de0);}this[_0x44fcb4(0x375,_0x2e4069._0x328747)+'atewayMe'+'ssages']=_0x23345d;}[_0xb2a5b9(-0x35d,-0x1d0)+_0x3a90bd(-0x185,-0xd6)](_0x5e2c57){const _0x4eaa43={_0x1b8a76:0xfc,_0x4ba722:0x109,_0x12f8d1:0x62b,_0xd5763b:0x2d8,_0x4c204c:0x4ad,_0x5411a0:0x559,_0x5dcf48:0x25d,_0x4428c9:0x6bd,_0x5d6674:0x91,_0x331d80:0x198,_0x49c56a:0xfa,_0xdd6b79:0x1cf,_0x1fc6de:0x13e,_0x16dc18:0x42c,_0x4363c0:0x6eb,_0x1612a8:0x376,_0x2b6c7f:0x5a0,_0xd2cd50:0x110,_0xdb5325:0x59d,_0x31a088:0x4b1,_0xe0deb0:0xdc,_0x2bbc0d:0xb3,_0x9dbc74:0x8e7};function _0xd01c64(_0x2cfe31,_0x3c060d){return _0xb2a5b9(_0x3c060d,_0x2cfe31- -0x49);}const _0x575ce1={'UaJpK':function(_0x4acf99,_0x54f283){return _0x4acf99!==_0x54f283;},'pWAMA':function(_0x34a7b7,_0x72b303){return _0x34a7b7===_0x72b303;},'mBLdw':function(_0x12a658,_0x496ec1,_0x507f18){return _0x12a658(_0x496ec1,_0x507f18);},'aJqbu':function(_0x106128,_0x577b28){return _0x106128(_0x577b28);}},_0xf5e3e5=this[_0xd01c64(-_0x4eaa43._0x1b8a76,0xca)+_0xd01c64(-_0x4eaa43._0x4ba722,0x146)];if(!_0xf5e3e5||_0x575ce1[_0x2e6b79(0x8a3,0x92e)](_0xf5e3e5[_0x2e6b79(_0x4eaa43._0x12f8d1,0x43a)+'te'],_0x387a60[_0xd01c64(-0x273,-_0x4eaa43._0xd5763b)])){this[_0x2e6b79(0x5cb,_0x4eaa43._0x4c204c)+_0xd01c64(-0xcd,-0x2d4)+'ayMessag'+'e'](_0x5e2c57);return;}function _0x2e6b79(_0x10ae73,_0x191072){return _0xb2a5b9(_0x191072,_0x10ae73-0x61d);}if(_0x575ce1[_0x2e6b79(_0x4eaa43._0x5411a0,0x43c)](_0x5e2c57[_0xd01c64(-_0x4eaa43._0x5dcf48,-0x1a7)],_0xd01c64(-0x41,0x1c5))){const _0x555c94=_0x575ce1[_0x2e6b79(_0x4eaa43._0x4428c9,0x62a)](patchConnectRequestGatewayAuth,_0x5e2c57['text'],readOpenClawInfo()),_0x341ea3=_0x575ce1['aJqbu'](parseConnectHandshakeMeta,_0x555c94[_0x2e6b79(0x625,0x836)]);_0x341ea3&&(_0x341ea3['id']&&this[_0xd01c64(-0x1cf,-_0x4eaa43._0x5d6674)+_0xd01c64(_0x4eaa43._0x331d80,_0x4eaa43._0x49c56a)+'andshake'+'s']['set'](_0x341ea3['id'],{'method':_0x341ea3[_0xd01c64(_0x4eaa43._0xdd6b79,_0x4eaa43._0x1fc6de)],'startedAtMs':Date['now'](),'slowWarningLogged':![]}),this[_0x2e6b79(_0x4eaa43._0x16dc18,0x36c)](_0x2e6b79(0x53a,_0x4eaa43._0x4363c0)+_0x2e6b79(0x5c6,_0x4eaa43._0x1612a8)+_0x2e6b79(0x5c3,_0x4eaa43._0x2b6c7f)+_0xd01c64(-0x17f,-0x273)+'d'+formatConnectHandshakeMetaForLog(_0x341ea3)));_0x555c94[_0x2e6b79(0x906,0x9fe)]&&this[_0xd01c64(-0x23a,-0x461)](_0xd01c64(-0x12c,-_0x4eaa43._0xd2cd50)+'connect\x20'+_0x2e6b79(0x501,_0x4eaa43._0xdb5325)+'ched\x20mod'+_0x2e6b79(_0x4eaa43._0x31a088,0x33f)+'rd');_0xf5e3e5['send'](_0x555c94[_0xd01c64(-0x41,_0x4eaa43._0xe0deb0)]);return;}_0xf5e3e5[_0xd01c64(-0x101,-_0x4eaa43._0x2bbc0d)](_0x5e2c57[_0x2e6b79(0x8f4,_0x4eaa43._0x9dbc74)]);}[_0xb2a5b9(-0x97,0x6d)+'wayReque'+'st'](_0x4fe164,_0x1b9821){const _0x193638={_0x3b59dc:0x229,_0x59bc1f:0x17e,_0x86a3a6:0x4fd,_0x2d3bf1:0x289,_0x3d37ee:0x9e,_0x5259e7:0x3f1,_0x27d91a:0x624,_0x369cc7:0x192},_0x2aed0c={'ubIPI':function(_0xd3020c){return _0xd3020c();},'dPQBD':_0x4f9b2f(_0x193638._0x3b59dc,_0x193638._0x59bc1f)};function _0x4f9b2f(_0x453f49,_0xa0d751){return _0x3a90bd(_0x453f49,_0xa0d751-0x17d);}const _0x10e9a8=JSON[_0x4f9b2f(_0x193638._0x86a3a6,0x3fa)+'y']({'type':_0x4f9b2f(0x1b1,0x1fb),'id':_0x4f9b2f(0x64,_0x193638._0x2d3bf1)+_0x2aed0c[_0x4f9b2f(0x2b2,0x422)](_0x35cff6),'method':_0x4fe164,'params':_0x1b9821}),_0xe76781={};_0xe76781[_0x4f9b2f(0xc4,-_0x193638._0x3d37ee)]=_0x2aed0c['dPQBD'];function _0x24fd38(_0x268dc0,_0x5c3935){return _0x3a90bd(_0x268dc0,_0x5c3935-0x3d6);}_0xe76781[_0x24fd38(_0x193638._0x5259e7,0x3d7)]=_0x10e9a8,this[_0x4f9b2f(0x132,0x371)+_0x24fd38(0x60c,_0x193638._0x27d91a)+_0x4f9b2f(0x6c,_0x193638._0x369cc7)+'sage'](_0xe76781);}[_0x3a90bd(-0x2b0,-0x1ea)+_0x3a90bd(-0x2be,-0x119)](_0xa330e0=![]){const _0x2093e1={_0x417e88:0x2d7,_0x2a91e7:0x561,_0x367e26:0x50a,_0x2d187c:0x437,_0x4147fa:0x565,_0x42a9c0:0x46c,_0x32c12e:0x69e,_0x36ab28:0x235,_0x56e3eb:0x343,_0x80df6a:0x1fe,_0xde2cb6:0x4b6,_0x5d5464:0x361,_0x40ad01:0x348,_0x54e378:0x7a,_0x30ee4d:0x4a3,_0x1c43b7:0x4d0,_0x5b4051:0x549,_0x4aa0c9:0x16f,_0x504260:0x251,_0x3875f8:0x361,_0x306bda:0x71,_0x17fb41:0x25b,_0x4b921d:0x1e1,_0x30730e:0x14a,_0x48fbe5:0x488,_0x393d9f:0x2f,_0x1f4630:0x64f,_0x2e1682:0x206,_0x4dd2a0:0x35f,_0x1f6f37:0x194,_0x703e86:0x98,_0x1c7286:0x6a0,_0x4c39dd:0x46b,_0x3bff14:0x107,_0x3a8459:0x464,_0x2eb64d:0x4d0,_0x4c1e78:0x2b5},_0x608c59={_0x195e14:0x254},_0x3397d9={_0xa0f1d0:0x542};this[_0x442945(0x537,0x492)+_0x102341(0x4a2,0x48d)+'r']&&(clearTimeout(this[_0x102341(_0x2093e1._0x417e88,0x1a4)+_0x102341(_0x2093e1._0x2a91e7,0x48d)+'r']),this[_0x442945(0x2ae,0x492)+_0x102341(0x2a3,0x48d)+'r']=null);const _0x237723=summarizePendingGatewayMessages(this['pendingG'+_0x442945(0x668,0x43e)+'ssages'])[_0x102341(_0x2093e1._0x367e26,_0x2093e1._0x2d187c)+'equests'],_0x1623e1=_0xa330e0&&this['isRelayO'+_0x102341(_0x2093e1._0x4147fa,0x37d)]()&&shouldKeepGatewayConnected(this[_0x102341(_0x2093e1._0x42a9c0,0x2c3)][_0x442945(_0x2093e1._0x32c12e,0x63c)+_0x442945(_0x2093e1._0x36ab28,0x49f)],_0x237723),_0x259354=this[_0x442945(0x654,0x488)+'ocket'];this[_0x442945(0x9b4,0x7e4)+_0x442945(0x189,0x37d)+_0x102341(_0x2093e1._0x56e3eb,_0x2093e1._0x80df6a)]=![],this['gatewayC'+_0x442945(0x757,0x6c0)+'AtMs']=null;function _0x442945(_0x30a3a3,_0x3e7052){return _0x3a90bd(_0x30a3a3,_0x3e7052-_0x3397d9._0xa0f1d0);}function _0x102341(_0x161d1d,_0xeada30){return _0x3a90bd(_0x161d1d,_0xeada30-_0x608c59._0x195e14);}if(!_0x259354){this[_0x442945(0x602,_0x2093e1._0xde2cb6)+_0x102341(0x4c5,_0x2093e1._0x5d5464)+'daryPend'+'ing']=![],this['gatewayC'+_0x442945(_0x2093e1._0x40ad01,0x46b)+'g']=![];_0x1623e1&&this['ensureGa'+_0x102341(-_0x2093e1._0x54e378,0x107)+_0x102341(_0x2093e1._0x30ee4d,_0x2093e1._0x1c43b7)]();return;}if(_0x259354[_0x442945(_0x2093e1._0x5b4051,0x549)+'te']===_0x387a60[_0x102341(_0x2093e1._0x4aa0c9,0x3e4)]){this[_0x102341(_0x2093e1._0x504260,0x1c8)+_0x102341(0x217,_0x2093e1._0x3875f8)+_0x102341(0xb8,_0x2093e1._0x306bda)+_0x102341(0x100,0x98)]=_0x1623e1;return;}if(_0x259354[_0x102341(0x1dc,_0x2093e1._0x17fb41)+'te']===_0x387a60[_0x102341(_0x2093e1._0x4b921d,_0x2093e1._0x30730e)]){this[_0x442945(0x5fe,_0x2093e1._0x48fbe5)+'ocket']===_0x259354&&(this['gatewayS'+_0x102341(-0x17,0x18d)]=null);this[_0x102341(_0x2093e1._0x393d9f,0x1c8)+_0x442945(0x579,_0x2093e1._0x1f4630)+_0x442945(_0x2093e1._0x2e1682,_0x2093e1._0x4dd2a0)+_0x102341(_0x2093e1._0x1f6f37,_0x2093e1._0x703e86)]=![],this[_0x442945(_0x2093e1._0x1c7286,_0x2093e1._0xde2cb6)+_0x442945(0x54e,_0x2093e1._0x4c39dd)+'g']=![];_0x1623e1&&this['ensureGa'+_0x102341(0xea,_0x2093e1._0x3bff14)+_0x102341(_0x2093e1._0x3a8459,_0x2093e1._0x2eb64d)]();return;}this[_0x442945(0x36b,_0x2093e1._0xde2cb6)+'loseBoun'+'daryPend'+_0x442945(_0x2093e1._0x4c1e78,0x386)]=_0x1623e1,_0x259354['close']();}['createWe'+_0xb2a5b9(0x1f9,0x148)](_0x27cb65){const _0x12aaf3={_0x1dc105:0x28b,_0x227809:0x41b,_0x2af68a:0x254,_0xbef70a:0x5f4,_0x58e761:0x4a4},_0x13f721={_0x2b01ee:0x169};if(this[_0x332bb0(0x9,-0x145)][_0x22aced(0x3c5,_0x12aaf3._0x1dc105)+_0x22aced(_0x12aaf3._0x227809,0x337)])return this['options'][_0x332bb0(_0x12aaf3._0x2af68a,-0x45)+_0x22aced(0x41b,_0x12aaf3._0xbef70a)](_0x27cb65);function _0x332bb0(_0x140997,_0x5bb615){return _0x3a90bd(_0x5bb615,_0x140997-_0x13f721._0x2b01ee);}const _0x3c3a80={};function _0x22aced(_0x521e51,_0x588acd){return _0x3a90bd(_0x588acd,_0x521e51-0x2da);}return _0x3c3a80[_0x22aced(_0x12aaf3._0x58e761,0x6c8)+'ad']=0x19*0x400*0x400,new _0x387a60(_0x27cb65,_0x3c3a80);}[_0x3a90bd(-0x22b,-0x188)+'atewayRe'+_0xb2a5b9(-0xa4,-0x35)](_0xabf846){const _0x2db686={_0x1c3427:0xd8,_0x2d03f2:0x456,_0x145b0d:0x17e,_0x576aaa:0x366,_0x5a83ce:0x32e,_0x9d6890:0x745,_0x1248de:0x588,_0x3940f1:0x4b7,_0x113a71:0x50d,_0xb06e98:0x4f7,_0x5914c1:0x65e,_0x50d576:0x717,_0x3cc993:0x596,_0x11af7e:0x567,_0x3d0b88:0x437,_0x46ab63:0x5d1,_0x4e9ef8:0x301,_0x5b7aa3:0x572,_0x4394f9:0x761,_0xd77e01:0x4bc,_0x22482d:0x557,_0xa8ee5c:0x1e2,_0x2a5d88:0x2ef,_0x353f3c:0x495,_0x100305:0x791,_0x375ae8:0x70a,_0x4ce589:0x54b,_0x3b31bd:0x6f7,_0x351d77:0x8ab,_0x533d2c:0x528,_0x4491ab:0x739,_0xf7e2cf:0x5fd},_0x2ca247={};function _0x40bf02(_0x1a7021,_0xec4c91){return _0x3a90bd(_0x1a7021,_0xec4c91-0x4f3);}_0x2ca247['nUsaa']=_0x40bf02(_0x2db686._0x1c3427,0x301),_0x2ca247[_0x40bf02(0x57a,_0x2db686._0x2d03f2)]=function(_0x25b71a,_0x2edb5c){return _0x25b71a-_0x2edb5c;};const _0xed770e=_0x2ca247,_0x18d073=this[_0x40bf02(_0x2db686._0x145b0d,_0x2db686._0x576aaa)+'ConnectH'+_0x40bf02(0x38a,_0x2db686._0x5a83ce)+'s'][_0xa1179(_0x2db686._0x9d6890,_0x2db686._0x1248de)](_0xabf846['id']);function _0xa1179(_0x4989fc,_0x13e409){return _0x3a90bd(_0x4989fc,_0x13e409-0x69a);}if(!_0x18d073)return;this[_0xa1179(_0x2db686._0x3940f1,_0x2db686._0x113a71)+_0xa1179(0x606,0x874)+'andshake'+'s']['delete'](_0xabf846['id']);const _0x52b768=_0xabf846['ok']?_0x40bf02(_0x2db686._0xb06e98,_0x2db686._0x5914c1):_0xa1179(0x5c4,_0x2db686._0x50d576)+_0xa1179(_0x2db686._0x3cc993,_0x2db686._0x11af7e)+_0x40bf02(_0x2db686._0x3d0b88,0x536)+(_0xabf846[_0x40bf02(0x65a,_0x2db686._0x46ab63)+'e']??_0x40bf02(0x18f,_0x2db686._0x4e9ef8))+(_0x40bf02(0x438,_0x2db686._0x5b7aa3)+_0xa1179(0x7aa,0x8cf))+(_0xabf846[_0xa1179(_0x2db686._0x4394f9,_0x2db686._0xd77e01)+_0x40bf02(_0x2db686._0x22482d,0x7cd)]??_0xed770e['nUsaa']);this[_0x40bf02(_0x2db686._0xa8ee5c,0x2fb)](_0xa1179(0x420,0x5b0)+_0x40bf02(_0x2db686._0x2a5d88,_0x2db686._0x353f3c)+_0x40bf02(_0x2db686._0x100305,_0x2db686._0x375ae8)+_0xa1179(0x515,0x5d0)+_0xabf846['id']+_0x40bf02(_0x2db686._0x4ce589,0x437)+_0x18d073[_0xa1179(_0x2db686._0x3b31bd,_0x2db686._0x351d77)]+(_0x40bf02(_0x2db686._0x533d2c,0x427)+'Ms=')+_0xed770e[_0xa1179(_0x2db686._0x4491ab,_0x2db686._0xf7e2cf)](Date[_0x40bf02(0x8f0,0x76a)](),_0x18d073[_0x40bf02(0x679,0x60a)+'tMs'])+'\x20'+_0x52b768);}[_0xb2a5b9(-0x153,-0x54)+_0xb2a5b9(-0x1b3,0x7)+'nectHand'+_0xb2a5b9(0x366,0x136)](_0x239dad){const _0x5bb56e={_0x5d2050:0xe1,_0xa9665:0x187,_0x3252f1:0x278,_0xcfedf1:0x642,_0x27a7db:0xfc,_0x40a5b8:0x248,_0x52e995:0x3bb,_0x219f4d:0x78c,_0x212789:0x1b8,_0x25a621:0x4b7,_0xceb492:0x593,_0x73aefd:0x51d,_0x5aed7b:0x11a,_0x52266a:0x41d,_0x9fb750:0x119,_0x5488e2:0x30c,_0x17dc1e:0x4db},_0xd14cc8={_0x365c4e:0x29f},_0xb60d34={};_0xb60d34[_0x25ecf9(0x407,0x525)]=function(_0x1ba781,_0x596027){return _0x1ba781===_0x596027;};function _0xffe81d(_0xabd8eb,_0x3d2133){return _0xb2a5b9(_0x3d2133,_0xabd8eb-_0xd14cc8._0x365c4e);}const _0x503a34=_0xb60d34;if(_0x503a34[_0xffe81d(0x256,0x4b7)](this[_0xffe81d(0x119,0x18e)+_0xffe81d(0x480,0x413)+_0xffe81d(_0x5bb56e._0x5d2050,_0x5bb56e._0xa9665)+'s'][_0xffe81d(_0x5bb56e._0x3252f1,0x30b)],0x0))return;for(const [_0x14dcdb,_0x2090a5]of this[_0x25ecf9(0x4f4,0x3e8)+'ConnectH'+_0x25ecf9(_0x5bb56e._0xcfedf1,0x3b0)+'s'][_0xffe81d(0x2cb,0x20e)]()){this[_0x25ecf9(_0x5bb56e._0x27a7db,0x37d)]('gateway\x20'+_0xffe81d(_0x5bb56e._0x40a5b8,_0x5bb56e._0x52e995)+_0x25ecf9(0x5db,_0x5bb56e._0x219f4d)+_0xffe81d(0x3ae,_0x5bb56e._0x212789)+_0x25ecf9(0x64b,0x4ab)+_0x14dcdb+_0xffe81d(0x1ea,-0x3)+_0x2090a5[_0xffe81d(_0x5bb56e._0x25a621,0x365)]+('\x20elapsed'+_0xffe81d(_0x5bb56e._0xceb492,0x726))+(Date[_0xffe81d(_0x5bb56e._0x73aefd,0x36e)]()-_0x2090a5[_0xffe81d(0x3bd,_0x5bb56e._0x5aed7b)+_0x25ecf9(0x8bb,0x841)])+_0x25ecf9(0x3e7,_0x5bb56e._0x52266a)+_0x239dad);}function _0x25ecf9(_0x2a21f4,_0x3caa7e){return _0xb2a5b9(_0x2a21f4,_0x3caa7e-0x56e);}this[_0xffe81d(_0x5bb56e._0x9fb750,_0x5bb56e._0x5488e2)+_0x25ecf9(_0x5bb56e._0x17dc1e,0x74f)+'andshake'+'s']['clear']();}[_0xb2a5b9(-0x99,0x60)+_0xb2a5b9(0x10,0x289)+_0x3a90bd(-0x7d,-0x194)](){const _0x22c62c={_0x189fb9:0x41c,_0x25cce9:0x394,_0xa55c5:0x485,_0x285acb:0x21b,_0x3538fe:0xe,_0x57ce6d:0x276,_0x292fb9:0x6c,_0x5e9326:0x1b7,_0x862c42:0xd7,_0xf03e7a:0x24c,_0x43d248:0x19e,_0x5b659e:0xf3,_0x55332c:0xf5,_0x5554d6:0x1ab},_0x4dada3={_0x108f65:0x72e,_0x5e4a7e:0x349},_0x3a1c43={_0x49cee6:0x3e},_0xe6ce1={_0x1c881c:0x14b};function _0x3f6ca8(_0x3695a0,_0x2beb35){return _0xb2a5b9(_0x3695a0,_0x2beb35-_0xe6ce1._0x1c881c);}if(this[_0x3f6ca8(-0x140,0x8f)]||this[_0x3f6ca8(0x260,_0x22c62c._0x189fb9)+_0x5aab4c(-_0x22c62c._0x25cce9,-0x1db)])return;const _0x3ca806=this['options'][_0x3f6ca8(_0x22c62c._0xa55c5,0x41c)+_0x5aab4c(-0x19f,-0x1a4)+_0x5aab4c(-0x119,-0x78)]??RECONNECT_BASE_DELAY_MS,_0xd2a01c=this[_0x3f6ca8(_0x22c62c._0x285acb,-_0x22c62c._0x3538fe)][_0x5aab4c(0x45e,_0x22c62c._0x57ce6d)+'tMaxDela'+_0x3f6ca8(0xa,-_0x22c62c._0x292fb9)]??RECONNECT_MAX_DELAY_MS;function _0x5aab4c(_0xc07d30,_0xd8c0c1){return _0xb2a5b9(_0xc07d30,_0xd8c0c1- -0x5b);}const _0x4b13cc=Math[_0x5aab4c(_0x22c62c._0x5e9326,0x82)](_0xd2a01c,_0x3ca806*Math[_0x5aab4c(-_0x22c62c._0x862c42,-0x20)](0x1,this[_0x3f6ca8(0x1c2,0xbd)+'empt']));this[_0x5aab4c(-0x2f1,-_0x22c62c._0xf03e7a)](_0x5aab4c(-_0x22c62c._0x43d248,_0x22c62c._0x5b659e)+_0x5aab4c(-0x32,-0xb2)+_0x3f6ca8(-_0x22c62c._0x55332c,_0x22c62c._0x5554d6)+'d\x20delayM'+'s='+_0x4b13cc),this[_0x5aab4c(0x48e,_0x22c62c._0x57ce6d)+'tTimer']=setTimeout(()=>{const _0x23e54c={_0x51940d:0x37e};function _0x13d61d(_0x290d75,_0x5c6c9d){return _0x3f6ca8(_0x290d75,_0x5c6c9d-_0x23e54c._0x51940d);}function _0x54ecbf(_0x154c4c,_0x544c92){return _0x3f6ca8(_0x154c4c,_0x544c92-_0x3a1c43._0x49cee6);}this[_0x13d61d(_0x4dada3._0x108f65,0x79a)+_0x13d61d(0x415,_0x4dada3._0x5e4a7e)]=null,void this[_0x54ecbf(0x105,0x373)+'elay']();},_0x4b13cc);}[_0xb2a5b9(0x38,0x60)+_0xb2a5b9(-0x25,0x245)+_0xb2a5b9(0x2ca,0x2b)](){const _0x256ae4={_0x442f2f:0x381,_0x2776a2:0x568,_0x1a173e:0x7a,_0x234828:0x570,_0x17cfc6:0x158,_0x5a6b9e:0x3ca,_0x292b60:0x47e,_0x2f5e92:0x351,_0x344df3:0x38e,_0x40ed75:0x5d7},_0x43b887={_0x4121c9:0x433,_0x450aa0:0x6a6,_0x232333:0xc1,_0x5450e3:0x4bc},_0x1c0d46={_0x5203d0:0x29a},_0x34b098={'VRJok':function(_0x396087,_0x5afdf1){return _0x396087(_0x5afdf1);}};function _0x31a96a(_0x55d793,_0x336749){return _0xb2a5b9(_0x55d793,_0x336749-_0x1c0d46._0x5203d0);}const _0xb349c7=_0x34b098[_0x31a96a(_0x256ae4._0x442f2f,_0x256ae4._0x2776a2)](summarizePendingGatewayMessages,this['pendingG'+_0x31a96a(-0x107,0x19d)+'ssages'])['connectR'+'equests'];if(this[_0x31a96a(_0x256ae4._0x1a173e,0x1de)]||this['gatewayR'+_0x31a96a(0x414,0x4da)+'r']||!this[_0x219313(0x70b,_0x256ae4._0x234828)+_0x31a96a(_0x256ae4._0x17cfc6,_0x256ae4._0x5a6b9e)]()||!shouldKeepGatewayConnected(this[_0x31a96a(0x534,0x310)]['clientCo'+_0x219313(_0x256ae4._0x292b60,0x2ca)],_0xb349c7))return;const _0x37a021=this['options']['gatewayR'+'etryDela'+_0x219313(_0x256ae4._0x2f5e92,0x1af)]??GATEWAY_RETRY_DELAY_MS;function _0x219313(_0x44d546,_0xe18e6f){return _0xb2a5b9(_0x44d546,_0xe18e6f-0x366);}this[_0x31a96a(_0x256ae4._0x344df3,0x1f1)+_0x31a96a(_0x256ae4._0x40ed75,0x4da)+'r']=setTimeout(()=>{function _0x10c0fc(_0x1c0e11,_0x279cbd){return _0x219313(_0x279cbd,_0x1c0e11- -0x3a2);}this[_0x148d27(_0x43b887._0x4121c9,_0x43b887._0x450aa0)+_0x10c0fc(0x204,_0x43b887._0x232333)+'r']=null;function _0x148d27(_0x405d53,_0x23cd27){return _0x219313(_0x23cd27,_0x405d53-0x176);}this[_0x148d27(_0x43b887._0x5450e3,0x268)+'tewayCon'+'nected']();},_0x37a021);}[_0xb2a5b9(-0x8b,0x9a)+'rtbeat'](){const _0x4b651c={_0x3730ab:0x53c,_0x2b3a3a:0x5ed,_0x2b1d5d:0x916,_0x5b585a:0x6c0,_0x39568b:0x1c3,_0x5533e7:0x17f,_0x3f1c55:0x329,_0x12c83f:0xe7,_0x173b77:0x5ca,_0x421501:0x594,_0x477e77:0x395,_0x226a5f:0x1fe,_0x296a41:0xaf5},_0x2b45aa={_0x2f6ed1:0x601,_0x3a42c8:0x64b,_0x4e8774:0x4f5,_0xc91b6d:0x5d,_0x259048:0x4f6,_0x282390:0x1bc,_0x551b61:0x175,_0x19ab8b:0x8a,_0x34f2f3:0x631,_0x37f746:0x29,_0x5a10ca:0x68b,_0x1b879b:0x16e,_0x131b9c:0x403,_0x1b8101:0x1e7,_0x2d69b2:0x238},_0x112bbe={_0x4c3630:0x5e0},_0xe34fb3={_0x3becfb:0x1f},_0x3bd4ca={};_0x3bd4ca[_0x13b339(_0x4b651c._0x3730ab,_0x4b651c._0x2b3a3a)]=function(_0x538a9e,_0xede7d4){return _0x538a9e>_0xede7d4;},_0x3bd4ca[_0x13b339(_0x4b651c._0x2b1d5d,_0x4b651c._0x5b585a)]='relay\x20he'+_0x1bafe6(0xe7,_0x4b651c._0x39568b)+_0x1bafe6(0x3c1,_0x4b651c._0x5533e7)+'t';function _0x1bafe6(_0x5270f3,_0x23aa2e){return _0x3a90bd(_0x5270f3,_0x23aa2e- -_0xe34fb3._0x3becfb);}const _0x495500=_0x3bd4ca;this['stopHear'+_0x1bafe6(_0x4b651c._0x3f1c55,_0x4b651c._0x12c83f)]();function _0x13b339(_0x301630,_0x58922f){return _0x3a90bd(_0x301630,_0x58922f-0x57d);}this[_0x1bafe6(0x66,0x18c)+_0x13b339(0x64b,0x3f6)]=setInterval(()=>{const _0x5b385a={_0x3774d9:0x30},_0x7f71db=this[_0x35af5a(0x51d,_0x2b45aa._0x2f6ed1)+_0x35af5a(0x70a,_0x2b45aa._0x3a42c8)];if(!_0x7f71db||_0x7f71db[_0x35af5a(_0x2b45aa._0x4e8774,0x5c8)+'te']!==_0x387a60['OPEN'])return;function _0x35af5a(_0x3fba03,_0x23d6fc){return _0x1bafe6(_0x3fba03,_0x23d6fc-_0x112bbe._0x4c3630);}this[_0x5b27c0(0x236,_0x2b45aa._0xc91b6d)+_0x5b27c0(0x2f4,_0x2b45aa._0x259048)+'ndshakes']();const _0x118929=this['options'][_0x5b27c0(_0x2b45aa._0x282390,_0x2b45aa._0x551b61)+_0x5b27c0(_0x2b45aa._0x19ab8b,0x15f)+'Ms']??HEARTBEAT_TIMEOUT_MS;if(_0x495500[_0x35af5a(0x67a,_0x2b45aa._0x34f2f3)](Date[_0x5b27c0(0x288,_0x2b45aa._0x37f746)]()-this[_0x35af5a(_0x2b45aa._0x5a10ca,0x574)+_0x5b27c0(0x189,_0x2b45aa._0x1b879b)+_0x35af5a(0x472,_0x2b45aa._0x131b9c)],_0x118929)){this[_0x5b27c0(-_0x2b45aa._0x1b8101,-_0x2b45aa._0x2d69b2)](_0x495500['iasLn']),_0x7f71db[_0x5b27c0(0xa6,0xa4)+'e']();return;}function _0x5b27c0(_0x29a084,_0x36db2d){return _0x1bafe6(_0x36db2d,_0x29a084-_0x5b385a._0x3774d9);}_0x7f71db[_0x35af5a(0x9f9,0x887)]();},this[_0x13b339(_0x4b651c._0x173b77,0x41d)][_0x13b339(_0x4b651c._0x421501,0x728)+_0x1bafe6(-_0x4b651c._0x477e77,-_0x4b651c._0x226a5f)+_0x13b339(_0x4b651c._0x296a41,0x871)]??HEARTBEAT_INTERVAL_MS);}[_0xb2a5b9(-0x8b,0x3)+_0x3a90bd(0x30e,0x106)](){const _0x31de61={_0x5ee242:0x266,_0x58b6a4:0x18d,_0x2fee0f:0x126,_0x17d909:0x53},_0x5ea3e2={_0x2eabd3:0xbb};function _0x3a4584(_0x13c018,_0x5e2b18){return _0x3a90bd(_0x5e2b18,_0x13c018-_0x5ea3e2._0x2eabd3);}function _0x7dd328(_0x289f8d,_0x2a926b){return _0x3a90bd(_0x289f8d,_0x2a926b-0x134);}this['heartbea'+'tTimer']&&(clearInterval(this['heartbea'+'tTimer']),this[_0x3a4584(_0x31de61._0x5ee242,_0x31de61._0x58b6a4)+_0x7dd328(-_0x31de61._0x2fee0f,-_0x31de61._0x17d909)]=null);}[_0xb2a5b9(0x1e8,0x22c)+_0x3a90bd(0x220,0x2e3)+_0x3a90bd(0x306,0x279)](){const _0x241896={_0x267c4a:0x441,_0x2edbd6:0x90,_0x377386:0x266,_0x2080f7:0x174,_0x5a656a:0x15f,_0x154e8c:0x12a,_0x21f5a5:0x307,_0x492e1f:0x1db,_0x23d957:0x81,_0x5f9380:0x7b,_0x5dbfde:0xb5,_0x5708e2:0x521,_0x43e301:0x4d0,_0x3b5dd9:0x54,_0x219e05:0x220,_0x158175:0xf0,_0x317dc7:0x1f6,_0x3de30d:0x541,_0x300312:0x71a,_0x5cc1b1:0x46b,_0x1d1d67:0x1cf,_0x198828:0x2c,_0x348586:0x1d,_0x4ea50c:0x3c};if(this['inFlight'+_0x4aca47(0x42f,_0x241896._0x267c4a)+_0x4aca47(_0x241896._0x2edbd6,_0x241896._0x377386)+'s']['size']===0x0)return;const _0x23ba22=this[_0x4aca47(0xf5,_0x241896._0x2080f7)]['connectH'+_0x4aca47(0x90,0x309)+_0x1654f6(-_0x241896._0x5a656a,0x13d)+'yMs']??CONNECT_HANDSHAKE_WARN_DELAY_MS;function _0x1654f6(_0x4d78fc,_0x29df70){return _0xb2a5b9(_0x4d78fc,_0x29df70-0x89);}function _0x4aca47(_0x41ed13,_0xfabc8d){return _0xb2a5b9(_0xfabc8d,_0x41ed13-0x24e);}const _0x55a203=Date[_0x1654f6(_0x241896._0x154e8c,_0x241896._0x21f5a5)]();for(const [_0x3f878a,_0x212fc4]of this[_0x4aca47(0xc8,-_0x241896._0x492e1f)+_0x1654f6(_0x241896._0x23d957,0x26a)+'andshake'+'s'][_0x1654f6(_0x241896._0x5f9380,_0x241896._0x5dbfde)]()){const _0x486936=_0x55a203-_0x212fc4['startedA'+_0x4aca47(_0x241896._0x5708e2,0x51a)];if(_0x212fc4[_0x4aca47(_0x241896._0x43e301,0x33a)+_0x4aca47(_0x241896._0x3b5dd9,-_0x241896._0x219e05)+'d']||_0x486936<_0x23ba22)continue;_0x212fc4[_0x1654f6(0xb9,0x30b)+'ingLogge'+'d']=!![],this[_0x4aca47(0x5d,-_0x241896._0x158175)](_0x4aca47(0x16b,-0x29)+_0x4aca47(0x1f7,_0x241896._0x317dc7)+'still\x20pe'+_0x4aca47(_0x241896._0x3de30d,_0x241896._0x300312)+_0x1654f6(-_0x241896._0x5cc1b1,-_0x241896._0x1d1d67)+_0x3f878a+_0x1654f6(0x65,-_0x241896._0x198828)+_0x212fc4[_0x1654f6(0x43d,0x2a1)]+(_0x1654f6(_0x241896._0x348586,-_0x241896._0x4ea50c)+'Ms=')+_0x486936);}}[_0x3a90bd(-0x1c1,-0x59)+_0xb2a5b9(-0xde,-0x84)+_0xb2a5b9(-0x8f,-0x204)+'e'](_0x596a8c){const _0x45aef4={_0x5f11ba:0x299,_0x5f336f:0x424,_0x382fad:0x155,_0x2c35eb:0x289,_0x3c28ce:0x267,_0x2ce3ca:0x4a7,_0x22138d:0x299},_0x208fe7={_0x408fd7:0x24};function _0x205f51(_0x5bb1bc,_0x97d954){return _0xb2a5b9(_0x5bb1bc,_0x97d954-0x396);}this[_0x2ca7bf(0xbc,0x155)+_0x205f51(0x2de,_0x45aef4._0x5f11ba)+'ssages'][_0x205f51(0x5b3,_0x45aef4._0x5f336f)]>=MAX_PENDING_GATEWAY_MESSAGES&&this[_0x2ca7bf(0x1c1,_0x45aef4._0x382fad)+_0x2ca7bf(-0x33f,-0xd9)+_0x205f51(_0x45aef4._0x2c35eb,0x528)]['shift']();function _0x2ca7bf(_0x17b4cd,_0x1126e2){return _0xb2a5b9(_0x17b4cd,_0x1126e2-_0x208fe7._0x408fd7);}this[_0x2ca7bf(_0x45aef4._0x3c28ce,_0x45aef4._0x382fad)+_0x205f51(_0x45aef4._0x2ce3ca,_0x45aef4._0x22138d)+'ssages']['push'](_0x596a8c);}['dropStal'+_0xb2a5b9(0x114,0x261)+'ewayQueu'+'e'](){const _0x39a12d={_0x5ed96d:0x789,_0x57db30:0x85c,_0x5b125f:0x917,_0x561e25:0x16d,_0x452cfd:0xad,_0x873888:0x24e,_0x16991d:0xaa3,_0x53f3b8:0x47,_0x36fcbb:0x215,_0x439bc1:0x54e,_0x1bb814:0x55d,_0x5de3c8:0x3a9,_0x56ae83:0x7cd,_0x2951e3:0x5e1,_0x4bf33c:0x712,_0x48021c:0xb0,_0x33ea38:0x30,_0x110352:0x706,_0x3fc301:0x579,_0xb12c84:0x548,_0x365e44:0x72d},_0x464775={_0xef8d3f:0x1aa},_0x2ad5e1=summarizePendingGatewayMessages(this[_0x2ca1e2(0x7a3,_0x39a12d._0x5ed96d)+_0x19299a(0xad,0xe6)+'ssages']);function _0x2ca1e2(_0x1adea7,_0x52496b){return _0xb2a5b9(_0x52496b,_0x1adea7-0x672);}if(_0x2ad5e1['total']===0x0||_0x2ad5e1[_0x2ca1e2(_0x39a12d._0x57db30,_0x39a12d._0x5b125f)+_0x19299a(0xaa,_0x39a12d._0x561e25)]>0x0)return;function _0x19299a(_0x4e824d,_0x96f618){return _0xb2a5b9(_0x96f618,_0x4e824d-_0x464775._0xef8d3f);}this['pendingG'+_0x19299a(_0x39a12d._0x452cfd,_0x39a12d._0x873888)+_0x2ca1e2(0x804,_0x39a12d._0x16991d)]=[],this[_0x19299a(-_0x39a12d._0x53f3b8,_0x39a12d._0x36fcbb)]('dropped\x20'+_0x19299a(0x491,_0x39a12d._0x439bc1)+'le\x20gatew'+_0x19299a(0x1c2,0x423)+_0x2ca1e2(_0x39a12d._0x1bb814,_0x39a12d._0x5de3c8)+_0x2ad5e1[_0x2ca1e2(_0x39a12d._0x56ae83,0x72f)]+_0x2ca1e2(_0x39a12d._0x2951e3,_0x39a12d._0x4bf33c)+_0x2ad5e1[_0x19299a(_0x39a12d._0x48021c,_0x39a12d._0x33ea38)+'t']+_0x2ca1e2(_0x39a12d._0x110352,_0x39a12d._0x3fc301)+_0x2ad5e1[_0x2ca1e2(_0x39a12d._0xb12c84,_0x39a12d._0x365e44)]);}['observeC'+_0x3a90bd(0xed,-0x48)+_0xb2a5b9(0x3ec,0x243)](_0x48f963,_0x5befd9){const _0x1b5ed8={_0x52ed17:0x244,_0x2f6bc0:0x66,_0x4403dd:0x14f,_0x6a748d:0x398,_0x5a34a7:0x5cf,_0x57ac45:0x754,_0x319110:0x333,_0x367a7d:0x20,_0x58ee21:0x6af,_0x4fff8d:0x77,_0x5dc5a9:0x88,_0x18b214:0x25a,_0x1bd1b7:0x1c,_0x536784:0xe8},_0x5ed741={_0xfdd5d0:0x4aa},_0x13a11f={_0x4c5356:0x33},_0x5fffc5=Date[_0xae210c(0x240,_0x1b5ed8._0x52ed17)](),_0x1ded67=new Map(this[_0x25c5d3(0x519,0x773)][_0x25c5d3(0x754,0x525)+'dDevices'][_0xae210c(_0x1b5ed8._0x2f6bc0,_0x1b5ed8._0x4403dd)](_0x4df30f=>[_0x4df30f['id'],{..._0x4df30f}])),_0xedcf48=_0x1ded67[_0x25c5d3(_0x1b5ed8._0x6a748d,_0x1b5ed8._0x5a34a7)](_0x48f963)??{'id':_0x48f963,'label':_0x5befd9,'state':_0x25c5d3(_0x1b5ed8._0x57ac45,0x5bc)+'d','lastSeenMs':_0x5fffc5};_0xedcf48[_0xae210c(-_0x1b5ed8._0x319110,-0xb4)]=_0x5befd9,_0xedcf48[_0x25c5d3(0x2a1,_0x1b5ed8._0x367a7d)]=_0x25c5d3(0x754,_0x1b5ed8._0x58ee21)+'d',_0xedcf48[_0xae210c(0x313,0x124)+'Ms']=_0x5fffc5,_0x1ded67['set'](_0x48f963,_0xedcf48);function _0xae210c(_0x38146b,_0x511285){return _0x3a90bd(_0x38146b,_0x511285- -_0x13a11f._0x4c5356);}function _0x25c5d3(_0x1abb00,_0x4da57d){return _0x3a90bd(_0x4da57d,_0x1abb00-_0x5ed741._0xfdd5d0);}const _0x2a96cd=[..._0x1ded67[_0xae210c(_0x1b5ed8._0x4fff8d,_0x1b5ed8._0x5dc5a9)]()]['sort']((_0x2af607,_0x3b8fab)=>_0x3b8fab[_0xae210c(0x2c9,0x124)+'Ms']-_0x2af607[_0x25c5d3(0x601,0x829)+'Ms'])[_0xae210c(0x1a9,_0x1b5ed8._0x18b214)](0x0,MAX_DEVICE_DETAILS),_0x243794={};_0x243794[_0x25c5d3(0x754,0x862)+_0xae210c(-_0x1b5ed8._0x1bd1b7,0x172)]=_0x2a96cd,this[_0xae210c(0x13c,-_0x1b5ed8._0x536784)+_0x25c5d3(0x3a8,0x346)](_0x243794);}[_0xb2a5b9(-0x9c,0x93)+'cesRecen'+'t'](){const _0x58dfb5={_0x27405c:0x6e5,_0x3f73c6:0x6b2,_0x491bd5:0x385,_0x3a29d4:0x3f0},_0x4be663={_0x201aeb:0x539};function _0x2b618e(_0x526166,_0x1d29db){return _0xb2a5b9(_0x526166,_0x1d29db-0x267);}function _0x369094(_0x2d528c,_0x418502){return _0xb2a5b9(_0x418502,_0x2d528c-_0x4be663._0x201aeb);}this['updateSn'+_0x2b618e(0x397,0x16c)]({'connectedDevices':this['snapshot'][_0x369094(0x7ea,0x639)+_0x369094(_0x58dfb5._0x27405c,_0x58dfb5._0x3f73c6)][_0x2b618e(_0x58dfb5._0x491bd5,_0x58dfb5._0x3a29d4)](_0x457928=>({..._0x457928,'state':_0x369094(0x59e,0x380)}))});}[_0x3a90bd(0x487,0x2b4)+_0x3a90bd(0x1db,0x2ad)+_0x3a90bd(0xbb,-0x1bf)](_0x42edd9){const _0x1094bc={_0x162f47:0x185,_0x51068e:0x403,_0x144544:0x927,_0x31aea8:0xa41,_0x224365:0x16b,_0x1217da:0x6a,_0x42035d:0xf0,_0xbe308c:0x121,_0x2f4cd5:0x578,_0xdfb173:0x6d1,_0x2b5ef7:0x578,_0x536646:0x3d0,_0xe0a796:0x644,_0x2c7f41:0x7b6,_0xb295bf:0x5f7,_0x19b7b8:0x738,_0x146ffb:0x4a,_0x49b067:0x224,_0x123f7e:0x7d8,_0x20540a:0x14e,_0x41c10f:0xa10,_0x54a59d:0x29d,_0x19908e:0x6f3,_0x55e5a9:0xe7};function _0x1e4d0b(_0x1f51fb,_0x1da883){return _0xb2a5b9(_0x1f51fb,_0x1da883-0x10f);}if(this[_0x1e4d0b(0x2fe,_0x1094bc._0x162f47)][_0x170a13(0x51e,_0x1094bc._0x51068e)+_0x170a13(_0x1094bc._0x144544,_0x1094bc._0x31aea8)+_0x1e4d0b(_0x1094bc._0x224365,-0x6b)][_0x1e4d0b(-_0x1094bc._0x1217da,_0x1094bc._0x42035d)](_0x9c57fb=>_0x9c57fb[_0x1e4d0b(0x290,0x133)+'d']===_0x42edd9[_0x170a13(0x716,0x83f)+'d']))return;const _0x5d7921=[...this[_0x1e4d0b(_0x1094bc._0xbe308c,0x185)]['pendingP'+'airReque'+_0x170a13(_0x1094bc._0x2f4cd5,_0x1094bc._0xdfb173)],_0x42edd9][_0x1e4d0b(0x5b8,0x3a3)](-MAX_PENDING_PAIR_REQUESTS),_0x57a201={};_0x57a201['pendingP'+'airReque'+_0x170a13(_0x1094bc._0x2b5ef7,_0x1094bc._0x536646)]=_0x5d7921,this[_0x170a13(_0x1094bc._0xe0a796,_0x1094bc._0x2c7f41)+_0x170a13(_0x1094bc._0xb295bf,_0x1094bc._0x19b7b8)](_0x57a201),this[_0x1e4d0b(0x1fe,-_0x1094bc._0x146ffb)]['onPendin'+_0x1e4d0b(_0x1094bc._0x49b067,-0x63)+_0x170a13(_0x1094bc._0x123f7e,0x798)]?.(_0x42edd9);function _0x170a13(_0x2293bd,_0x142a4f){return _0xb2a5b9(_0x142a4f,_0x2293bd-0x6f2);}this['log'](_0x1e4d0b(0xf2,-_0x1094bc._0x20540a)+_0x1e4d0b(-0x16,0x86)+_0x170a13(0x8a9,_0x1094bc._0x41c10f)+'uestId='+_0x42edd9[_0x1e4d0b(0x10f,0x133)+'d']+(_0x1e4d0b(_0x1094bc._0x54a59d,0x3c7)+'d=')+(_0x42edd9[_0x170a13(_0x1094bc._0x19908e,0x988)]||_0x1e4d0b(0x237,_0x1094bc._0x55e5a9)+'>'));}[_0x3a90bd(0x1bc,0x16f)+'RequestR'+_0xb2a5b9(-0x87,0x175)](_0x238e5f,_0x38f682){const _0x406d0e={_0x30af76:0xa3,_0x4e3478:0xc4,_0x5e6b73:0x1c4,_0x121d3e:0x3b0,_0x1c5b96:0x1e4,_0x277ad3:0x3a4,_0x755ae5:0x29d,_0x3423d8:0x13b,_0xd850b3:0x293},_0xa5b512={_0x394961:0x39f};function _0x133e64(_0x19480e,_0x470e14){return _0x3a90bd(_0x470e14,_0x19480e-0x1a3);}function _0x6a1b6c(_0x202523,_0x4073d4){return _0x3a90bd(_0x202523,_0x4073d4-_0xa5b512._0x394961);}const _0xf7b7a0=this[_0x133e64(0x212,_0x406d0e._0x30af76)][_0x6a1b6c(_0x406d0e._0x4e3478,_0x406d0e._0x5e6b73)+_0x133e64(0x3d1,_0x406d0e._0x121d3e)+'sts'][_0x133e64(0x325,0x42d)](_0x163c40=>_0x163c40['requestI'+'d']===_0x238e5f?{..._0x163c40,'status':_0x38f682===_0x133e64(0x1e7,0x346)||_0x38f682===_0x6a1b6c(0x114,0x2b7)?_0x38f682:_0x163c40[_0x6a1b6c(-0x27,0x1de)]}:_0x163c40),_0x44c798={};_0x44c798[_0x133e64(-0x38,0x92)+_0x133e64(0x3d1,_0x406d0e._0x1c5b96)+'sts']=_0xf7b7a0,this['updateSn'+_0x6a1b6c(_0x406d0e._0x277ad3,_0x406d0e._0x755ae5)](_0x44c798),this[_0x6a1b6c(0x28a,0x1a7)](_0x6a1b6c(-0x67,_0x406d0e._0x3423d8)+'uest\x20res'+_0x133e64(0x243,0x40a)+_0x6a1b6c(0x208,_0x406d0e._0xd850b3)+_0x238e5f+('\x20decisio'+'n=')+_0x38f682);}['updateSn'+_0xb2a5b9(-0xde,-0xfb)](_0x2b5712){const _0x48b940={_0x2380f9:0x4f5,_0x36da6c:0x680,_0x42cd0c:0x55a},_0x3cccaa={_0x518219:0x47f};function _0x4ff9d7(_0x5f0c22,_0x2e5e10){return _0xb2a5b9(_0x5f0c22,_0x2e5e10-0x653);}Object['assign'](this[_0xc5a0a5(_0x48b940._0x2380f9,0x773)],_0x2b5712,{'lastUpdatedMs':Date[_0xc5a0a5(0x6fd,_0x48b940._0x36da6c)]()});function _0xc5a0a5(_0x21b62d,_0x35c3a3){return _0xb2a5b9(_0x35c3a3,_0x21b62d-_0x3cccaa._0x518219);}this[_0x4ff9d7(0x78f,0x4fa)]['onStatus']?.(this[_0x4ff9d7(_0x48b940._0x42cd0c,0x568)+'hot']());}[_0x3a90bd(-0x255,-0x1f8)](_0x3c1b8d){const _0x2e878f={_0x4f4225:0x539};function _0x17b16f(_0x9b975e,_0x453aa1){return _0x3a90bd(_0x453aa1,_0x9b975e-_0x2e878f._0x4f4225);}function _0x262747(_0xbddeba,_0x5aba32){return _0x3a90bd(_0xbddeba,_0x5aba32-0x226);}this[_0x262747(-0x55,0xc6)][_0x262747(-0xdb,0xa1)]?.(_0x3c1b8d);}[_0xb2a5b9(0x2aa,0x20a)+_0xb2a5b9(0x181,0x130)](){const _0x434346={_0x15bb9d:0x7ff,_0x33fbf2:0x491,_0xa14948:0x7be,_0x587376:0x4bc};function _0xad2f5f(_0x3d2ceb,_0x4c2177){return _0xb2a5b9(_0x4c2177,_0x3d2ceb-0x3a7);}const _0x81448c={};_0x81448c[_0x4d61d2(_0x434346._0x15bb9d,0x67d)]=function(_0x2730b1,_0x2d00c5){return _0x2730b1===_0x2d00c5;};function _0x4d61d2(_0x487e85,_0x498cfa){return _0xb2a5b9(_0x498cfa,_0x487e85-0x6e6);}const _0x78a17e=_0x81448c;return _0x78a17e['uRsKU'](this[_0xad2f5f(0x3ee,_0x434346._0x33fbf2)+_0x4d61d2(0x777,_0x434346._0xa14948)]?.[_0x4d61d2(0x6f4,0x7f2)+'te'],_0x387a60[_0x4d61d2(_0x434346._0x587376,0x245)]);}[_0xb2a5b9(0x198,0xf7)+'yOpen'](){function _0x1d2290(_0x34e787,_0x41c487){return _0x3a90bd(_0x34e787,_0x41c487- -0x69);}function _0x19dfc0(_0x3266e6,_0x221ce0){return _0x3a90bd(_0x221ce0,_0x3266e6-0xbf);}return this[_0x1d2290(0x26,-0x123)+_0x19dfc0(-0x8,0xfb)]?.['readySta'+'te']===_0x387a60[_0x19dfc0(-0x172,-0x114)];}['clearTim'+_0xb2a5b9(0x309,0x225)](){const _0x40fddf={_0x51891e:0xbe2,_0x114e3f:0x5a4,_0x860a39:0x9c9,_0x3c365f:0x72d,_0x288e8f:0x2dc,_0x37e435:0x10a,_0x5c0615:0x64f,_0x5cc177:0x69c,_0x336445:0x4b4,_0x2cfcd9:0x54f,_0xee5747:0x52d},_0x55b291={_0x31653b:0x45c},_0x26915d={'yPgaX':function(_0x4af374,_0x3cecc9){return _0x4af374(_0x3cecc9);},'vTJeh':function(_0x53cf45,_0x410699){return _0x53cf45(_0x410699);}};this['stopHear'+_0x8c6d10(0x569,0x326)]();this[_0x15d22c(0x9c9,_0x40fddf._0x51891e)+'tTimer']&&(_0x26915d[_0x15d22c(0x6ac,_0x40fddf._0x114e3f)](clearTimeout,this[_0x15d22c(_0x40fddf._0x860a39,0x8b3)+'tTimer']),this[_0x8c6d10(_0x40fddf._0x3c365f,0x5ef)+_0x8c6d10(_0x40fddf._0x288e8f,_0x40fddf._0x37e435)]=null);function _0x8c6d10(_0x2efa76,_0x5171c1){return _0xb2a5b9(_0x5171c1,_0x2efa76-_0x55b291._0x31653b);}function _0x15d22c(_0x237663,_0x1f029c){return _0xb2a5b9(_0x1f029c,_0x237663-0x6f8);}this[_0x15d22c(_0x40fddf._0x5c0615,0x896)+_0x8c6d10(_0x40fddf._0x5cc177,_0x40fddf._0x336445)+'r']&&(_0x26915d[_0x15d22c(_0x40fddf._0x2cfcd9,0x7d2)](clearTimeout,this['gatewayR'+_0x8c6d10(0x69c,_0x40fddf._0xee5747)+'r']),this[_0x8c6d10(0x3b3,0x3f8)+_0x8c6d10(0x69c,0x5bd)+'r']=null);}[_0xb2a5b9(0x199,0x2f8)+_0x3a90bd(-0x99,-0x247)](_0x1f473c){const _0x21cb58={_0x2ebe76:0x159,_0x1d8fdc:0x17c,_0x1d00a9:0x7ef},_0x2bf505={_0x546d06:0x4a1},_0x4d9c55={_0x568607:0x125};function _0x4f14e0(_0x10ef30,_0xbfa8a0){return _0x3a90bd(_0xbfa8a0,_0x10ef30-_0x4d9c55._0x568607);}function _0x55ddee(_0x2296a2,_0x119591){return _0x3a90bd(_0x2296a2,_0x119591-_0x2bf505._0x546d06);}return _0x1f473c==null?null:Math[_0x4f14e0(_0x21cb58._0x2ebe76,_0x21cb58._0x1d8fdc)](0x0,Date[_0x55ddee(_0x21cb58._0x1d00a9,0x718)]()-_0x1f473c);}};function shouldKeepGatewayConnected(_0xf9ca93,_0xabaaf5){const _0x35a1b6={_0x2df9ac:0x272,_0x77ad44:0x47e},_0x155bff={_0x2457ed:0x283};function _0xbfe8c6(_0x3dc5c3,_0x5d1019){return _0x3a90bd(_0x5d1019,_0x3dc5c3-_0x155bff._0x2457ed);}const _0x3f7537={};_0x3f7537[_0xbfe8c6(_0x35a1b6._0x2df9ac,_0x35a1b6._0x77ad44)]=function(_0x5c9b21,_0x4e07cb){return _0x5c9b21>_0x4e07cb;};const _0x4ff97e=_0x3f7537;return _0x4ff97e['xEHiQ'](_0xf9ca93,0x0)||_0xabaaf5>0x0;}function shouldScheduleGatewayIdleClose(_0x3c4d64,_0x2b65ab,_0x27d679){const _0x5cc397={_0x17c482:0x42b,_0x31ff62:0x26f},_0x1f73ce={'Bsqut':function(_0x3c9dde,_0x3cb5ff,_0x3ccb79){return _0x3c9dde(_0x3cb5ff,_0x3ccb79);}};function _0x26cc20(_0x1e48bc,_0x3a8bdf){return _0xb2a5b9(_0x3a8bdf,_0x1e48bc-0x159);}return _0x27d679&&!_0x1f73ce[_0x26cc20(_0x5cc397._0x17c482,_0x5cc397._0x31ff62)](shouldKeepGatewayConnected,_0x3c4d64,_0x2b65ab);}function shouldRecycleGatewayForFreshClient(_0x378ce0,_0x44e287,_0x3e1968,_0xb0db16){return _0x3e1968&&_0x44e287>0x0&&(_0x378ce0===0x0||_0xb0db16);}function summarizePendingGatewayMessages(_0x344a79){const _0x31d000={_0x21a699:0x42e,_0x3929de:0x59e,_0x5c994e:0x596,_0x1111c5:0x752,_0x35eaa1:0x133,_0xf146d:0x56c,_0x5aa0ee:0x2db,_0x15123e:0x4bd,_0x492e28:0x419,_0x494e4c:0x7ee};function _0x2ca2f3(_0x38130d,_0x2be261){return _0xb2a5b9(_0x2be261,_0x38130d-0x2d3);}const _0x3958dc={};_0x3958dc[_0x2ca2f3(_0x31d000._0x21a699,0x60c)]=_0x344a79['length'],_0x3958dc[_0x2ca2f3(0x4bd,_0x31d000._0x3929de)+_0xa16e31(_0x31d000._0x5c994e,_0x31d000._0x1111c5)]=0x0,_0x3958dc['otherTex'+'t']=0x0;function _0xa16e31(_0x13e5b8,_0xd36705){return _0xb2a5b9(_0xd36705,_0x13e5b8-0x696);}_0x3958dc[_0xa16e31(0x56c,0x473)]=0x0;const _0x54a116=_0x3958dc;for(const _0xc1a4fa of _0x344a79){if(_0xc1a4fa[_0x2ca2f3(0xbf,_0x31d000._0x35eaa1)]==='binary'){_0x54a116[_0xa16e31(_0x31d000._0xf146d,0x666)]+=0x1;continue;}if(isConnectHandshakeRequest(_0xc1a4fa[_0x2ca2f3(_0x31d000._0x5aa0ee,0x49e)])){_0x54a116[_0x2ca2f3(_0x31d000._0x15123e,_0x31d000._0x492e28)+_0xa16e31(0x596,_0x31d000._0x494e4c)]+=0x1;continue;}_0x54a116['otherTex'+'t']+=0x1;}return _0x54a116;}function dedupePendingGatewayMessages(_0x3791c6){const _0x3040df={_0x49a180:0x794,_0x9a2bd2:0x4d2,_0x5943f8:0x25e,_0x49ff47:0x54c,_0x553285:0x658,_0x249bb3:0x6e6,_0x3b610e:0x5d9,_0xc4c611:0x774,_0x570be4:0x92a,_0x380bfd:0x5d8,_0x20edca:0x6f7,_0x1cc440:0x5d8};let _0x3045d5=-0x1;for(let _0x257517=_0x3791c6[_0x250a3d(0x558,_0x3040df._0x49a180)]-0x1;_0x257517>=0x0;_0x257517-=0x1){const _0x4a4de4=_0x3791c6[_0x257517];if(_0x4a4de4?.[_0x2c8a58(0x491,0x336)]===_0x250a3d(_0x3040df._0x9a2bd2,_0x3040df._0x5943f8)&&isConnectHandshakeRequest(_0x4a4de4['text'])){_0x3045d5=_0x257517;break;}}if(_0x3045d5<=0x0){const _0x36a3e6={};return _0x36a3e6[_0x250a3d(0x774,_0x3040df._0x49ff47)]=[..._0x3791c6],_0x36a3e6[_0x250a3d(0x709,_0x3040df._0x553285)]=0x0,_0x36a3e6;}const _0x2eba53=_0x3791c6[_0x250a3d(_0x3040df._0x249bb3,_0x3040df._0x3b610e)]((_0x1e9630,_0x47d063)=>_0x47d063>=_0x3045d5||(_0x1e9630[_0x250a3d(0x2b6,0x3f2)]!==_0x2c8a58(0x7cb,0x552)||!isConnectHandshakeRequest(_0x1e9630[_0x2c8a58(0x588,0x552)]))),_0x215f11={};_0x215f11[_0x250a3d(_0x3040df._0xc4c611,0x945)]=_0x2eba53;function _0x2c8a58(_0x157810,_0x1ec5b7){return _0x3a90bd(_0x157810,_0x1ec5b7-0x551);}function _0x250a3d(_0x4b6808,_0x32aacc){return _0x3a90bd(_0x32aacc,_0x4b6808-0x4d1);}return _0x215f11[_0x2c8a58(_0x3040df._0x570be4,0x789)]=_0x3791c6[_0x2c8a58(0x57f,_0x3040df._0x380bfd)]-_0x2eba53[_0x2c8a58(_0x3040df._0x20edca,_0x3040df._0x1cc440)],_0x215f11;}function prunePendingGatewayMessagesForFreshDemand(_0x223ac0){const _0x244757={_0x26be02:0x15f,_0x4ba8ac:0x39c,_0x1e685b:0x653,_0x35f67c:0x49e,_0x16398c:0x223,_0x51d722:0x72,_0x2b5b7e:0x589,_0x45cae1:0x6ec,_0x5a34af:0x82b,_0x2dd36c:0xa96,_0xe02157:0x72,_0x5f048d:0x6af,_0x3dc75c:0x3c8},_0xa081da={};_0xa081da[_0x18d38b(0xf6,_0x244757._0x26be02)]=function(_0x5560f0,_0x3c2022){return _0x5560f0-_0x3c2022;};function _0x358555(_0x15fb15,_0x1ebde5){return _0x3a90bd(_0x1ebde5,_0x15fb15-0x588);}_0xa081da[_0x18d38b(_0x244757._0x4ba8ac,0x14d)]=function(_0x1fdb1d,_0x28e603){return _0x1fdb1d>=_0x28e603;};const _0x193ea0=_0xa081da;if(_0x223ac0[_0x358555(0x60f,_0x244757._0x1e685b)]===0x0){const _0x770e9d={};return _0x770e9d[_0x18d38b(_0x244757._0x35f67c,0x28e)]=[],_0x770e9d[_0x18d38b(0xa3,_0x244757._0x16398c)]=0x0,_0x770e9d;}let _0xb9884d=-0x1;for(let _0x2be694=_0x193ea0[_0x18d38b(-0x121,_0x244757._0x26be02)](_0x223ac0[_0x18d38b(-0x195,_0x244757._0x51d722)],0x1);_0x193ea0[_0x358555(0x6ea,0x76b)](_0x2be694,0x0);_0x2be694-=0x1){const _0x1c785b=_0x223ac0[_0x2be694];if(_0x1c785b?.[_0x18d38b(-0x29b,-0x230)]==='text'&&isConnectHandshakeRequest(_0x1c785b[_0x358555(_0x244757._0x2b5b7e,_0x244757._0x45cae1)])){_0xb9884d=_0x2be694;break;}}if(_0xb9884d===-0x1){const _0x335813={};return _0x335813[_0x358555(_0x244757._0x5a34af,_0x244757._0x2dd36c)]=[],_0x335813[_0x18d38b(0x132,0x223)]=_0x223ac0[_0x18d38b(-0x200,_0x244757._0xe02157)],_0x335813;}const _0x2ece52=_0x223ac0[_0x358555(0x815,_0x244757._0x5f048d)](_0xb9884d),_0xa0b32a={};_0xa0b32a[_0x18d38b(0x324,0x28e)]=_0x2ece52,_0xa0b32a[_0x18d38b(_0x244757._0x3dc75c,_0x244757._0x16398c)]=_0x223ac0['length']-_0x2ece52[_0x18d38b(0x2ad,_0x244757._0xe02157)];function _0x18d38b(_0x3b45ce,_0x139b74){return _0x3a90bd(_0x3b45ce,_0x139b74- -0x15);}return _0xa0b32a;}function patchConnectRequestGatewayAuth(_0x437c3a,_0x5f4402){const _0x53161f={_0x5d4a3c:0x79,_0x5d4cdc:0x558,_0x37a037:0x351,_0x39b889:0x31a,_0xec0d68:0x52d,_0xd75a4:0x444,_0x19562b:0x3ba,_0x1c4302:0x4d1,_0x4d2bb0:0x4cf,_0x1e407e:0x2ea,_0x2934f7:0x60b,_0xde1c25:0x8f4,_0x258928:0x705,_0x1887c6:0x969,_0x579c44:0x81b,_0x2b16e3:0x480,_0x548faf:0x81b,_0x3b05dd:0x1d3,_0x56d618:0x26d,_0x321c76:0x52b,_0x469350:0x54e,_0x35613b:0x21b,_0x39d427:0x3ef,_0x548a4c:0x72b,_0x3f2a98:0x5d0,_0x2b8775:0x5d3,_0x357e90:0x9fe,_0x24bb0b:0xa4d,_0x2e8a0b:0x89c,_0x25b8e8:0x774,_0x94577d:0x524,_0x98f33a:0x346},_0x1a8ced={_0x351969:0x265},_0x406d91={};_0x406d91[_0x1a5080(-0xb3,_0x53161f._0x5d4a3c)]=function(_0x2a1366,_0x584217){return _0x2a1366!==_0x584217;},_0x406d91['DoOug']=_0x1a5080(_0x53161f._0x5d4cdc,_0x53161f._0x37a037)+_0x1a5080(_0x53161f._0x39b889,_0x53161f._0xec0d68);function _0x3deb8c(_0x3a3b62,_0x1691f3){return _0xb2a5b9(_0x1691f3,_0x3a3b62-0x603);}function _0x1a5080(_0x4806a7,_0xa7d638){return _0xb2a5b9(_0x4806a7,_0xa7d638-_0x1a8ced._0x351969);}_0x406d91[_0x3deb8c(_0x53161f._0xd75a4,0x375)]=_0x1a5080(_0x53161f._0x19562b,_0x53161f._0x1c4302),_0x406d91['iurKd']=_0x3deb8c(_0x53161f._0x4d2bb0,0x61a);const _0x12aa45=_0x406d91;if(_0x12aa45[_0x3deb8c(0x417,_0x53161f._0x1e407e)](_0x5f4402[_0x3deb8c(0x523,0x687)],'password')||!_0x5f4402['password']){const _0x33446c={};return _0x33446c[_0x3deb8c(_0x53161f._0x2934f7,0x6d7)]=_0x437c3a,_0x33446c[_0x1a5080(0x5a5,0x54e)]=![],_0x33446c;}try{const _0x46ba3d=JSON[_0x3deb8c(_0x53161f._0xde1c25,0xa6a)](_0x437c3a);if(_0x46ba3d[_0x3deb8c(_0x53161f._0x258928,_0x53161f._0x1887c6)]!=='req'||_0x46ba3d[_0x3deb8c(_0x53161f._0x579c44,0x996)]!==_0x1a5080(_0x53161f._0x2b16e3,0x4a0)&&_0x46ba3d[_0x3deb8c(_0x53161f._0x548faf,0x813)]!==_0x12aa45[_0x1a5080(0x401,0x1a7)]){const _0x3eab55={};return _0x3eab55[_0x1a5080(_0x53161f._0x3b05dd,_0x53161f._0x56d618)]=_0x437c3a,_0x3eab55[_0x1a5080(_0x53161f._0x321c76,_0x53161f._0x469350)]=![],_0x3eab55;}const _0x49ab4f=_0x46ba3d[_0x1a5080(_0x53161f._0x35613b,_0x53161f._0x39d427)]&&typeof _0x46ba3d['params']===_0x3deb8c(0x86f,_0x53161f._0x548a4c)?{..._0x46ba3d['params']}:{},_0x96fac3=_0x49ab4f[_0x3deb8c(0x805,_0x53161f._0x3f2a98)]&&typeof _0x49ab4f['auth']===_0x12aa45[_0x3deb8c(_0x53161f._0xd75a4,_0x53161f._0x2b8775)]?{..._0x49ab4f[_0x1a5080(0x41e,0x467)]}:{},_0x353ca4=typeof _0x96fac3[_0x3deb8c(0x8c2,_0x53161f._0x357e90)]===_0x12aa45[_0x3deb8c(0x855,_0x53161f._0x24bb0b)]?_0x96fac3[_0x1a5080(0x587,0x524)][_0x3deb8c(_0x53161f._0x2e8a0b,0xa07)]():'';if(_0x353ca4){const _0x2f4b30={};return _0x2f4b30['text']=_0x437c3a,_0x2f4b30[_0x1a5080(_0x53161f._0x25b8e8,0x54e)]=![],_0x2f4b30;}_0x96fac3[_0x1a5080(0x467,_0x53161f._0x94577d)]=_0x5f4402['password'],_0x49ab4f[_0x1a5080(_0x53161f._0x98f33a,0x467)]=_0x96fac3;const _0x348878={..._0x46ba3d};return _0x348878['params']=_0x49ab4f,{'text':JSON['stringif'+'y'](_0x348878),'injected':!![]};}catch{const _0x31da1f={};return _0x31da1f['text']=_0x437c3a,_0x31da1f[_0x1a5080(0x4ad,_0x53161f._0x469350)]=![],_0x31da1f;}}function formatConnectHandshakeMetaForLog(_0xd15dca){const _0x5191b7={_0x23ae18:0x5e1,_0x4578a8:0x2e0,_0x21e427:0x164,_0x27f85a:0x3f0,_0x2688a5:0x782,_0x2ae07d:0x875,_0x51e113:0x457,_0x27a1f7:0x971,_0x78ea05:0x1da},_0x5ee33b={_0x332dc1:0x3c9},_0x2b6d54={_0x426b82:0x4ad},_0x133cac={};function _0x43998f(_0x354fbe,_0x1266d1){return _0xb2a5b9(_0x1266d1,_0x354fbe-_0x2b6d54._0x426b82);}_0x133cac['hFhsH']='<none>';const _0xa756aa=_0x133cac;function _0x397ee3(_0x445432,_0x9c580d){return _0xb2a5b9(_0x9c580d,_0x445432-_0x5ee33b._0x332dc1);}if(!_0xd15dca)return'';return _0x397ee3(0x314,0x2e0)+_0xd15dca[_0x397ee3(_0x5191b7._0x23ae18,0x5c8)]+'\x20reqId='+(_0xd15dca['id']??_0xa756aa[_0x397ee3(0x232,0x70)])+(_0x43998f(_0x5191b7._0x4578a8,0xf8)+_0x43998f(0x44c,0x53b))+_0xd15dca['noncePre'+'sent']+('\x20nonceLe'+'ngth=')+(_0xd15dca['nonceLen'+_0x397ee3(0x3f7,_0x5191b7._0x21e427)]??0x0)+(_0x397ee3(0x36c,_0x5191b7._0x27f85a)+_0x397ee3(0x41a,0x475))+(_0xd15dca[_0x43998f(_0x5191b7._0x2688a5,_0x5191b7._0x2ae07d)+'ds'][_0x397ee3(_0x5191b7._0x51e113,0x3ab)]>0x0?_0xd15dca[_0x43998f(0x782,_0x5191b7._0x27a1f7)+'ds'][_0x397ee3(_0x5191b7._0x78ea05,0x28)](','):_0x43998f(0x2c2,0x512));}function buildRelayWsUrl(_0xa9369f){const _0x3f085c={_0x16a43e:0x57a,_0x3916fa:0x604,_0x36191f:0x6aa,_0x434991:0x640,_0x25394c:0x640,_0x1843ba:0x34d,_0x1f59c3:0x57b,_0x32ed2c:0x38f,_0x322fca:0x63d,_0x226a92:0x483,_0x4163fa:0x22d,_0x5bf9a5:0x466,_0x34fa72:0x3b6,_0x4a5389:0x488,_0x10ce85:0x48b,_0x47dd73:0x65e,_0x74ab31:0x57b,_0x1af222:0x4f2,_0x478c8b:0x9b3,_0x18d1de:0x756,_0x10389d:0x37c,_0x28f34b:0x345,_0x282186:0x802},_0x286452={};function _0x3776d7(_0x5d216e,_0x4b4ef5){return _0xb2a5b9(_0x4b4ef5,_0x5d216e-0x43e);}_0x286452[_0x3776d7(0x483,0x226)]='gatewayI'+'d';const _0x53ad5e=_0x286452,_0x1e8b3c=new URL(_0xa9369f[_0x3776d7(_0x3f085c._0x16a43e,_0x3f085c._0x3916fa)]);(!_0x1e8b3c[_0x55c5a6(_0x3f085c._0x36191f,0x640)]||_0x1e8b3c[_0x55c5a6(0x4f0,_0x3f085c._0x434991)]==='/')&&(_0x1e8b3c[_0x55c5a6(0x49b,_0x3f085c._0x25394c)]='/ws');_0x1e8b3c[_0x3776d7(0x466,_0x3f085c._0x1843ba)+_0x3776d7(_0x3f085c._0x1f59c3,_0x3f085c._0x32ed2c)][_0x55c5a6(0x6bd,_0x3f085c._0x322fca)](_0x53ad5e[_0x3776d7(_0x3f085c._0x226a92,0x317)],_0xa9369f[_0x3776d7(_0x3f085c._0x4163fa,0x2c6)+'d']),_0x1e8b3c[_0x3776d7(_0x3f085c._0x5bf9a5,_0x3f085c._0x34fa72)+_0x55c5a6(0x700,0x6d5)]['set'](_0x55c5a6(_0x3f085c._0x4a5389,_0x3f085c._0x10ce85),_0x3776d7(_0x3f085c._0x47dd73,0x506));function _0x55c5a6(_0x4b50b1,_0x1f8de7){return _0xb2a5b9(_0x4b50b1,_0x1f8de7-0x598);}return _0x1e8b3c['searchPa'+_0x3776d7(_0x3f085c._0x74ab31,0x585)]['set']('clientId',_0xa9369f[_0x55c5a6(0x206,0x365)+'Id']),_0x1e8b3c['searchPa'+_0x3776d7(0x57b,_0x3f085c._0x1af222)]['set']('token',_0xa9369f[_0x55c5a6(_0x3f085c._0x478c8b,_0x3f085c._0x18d1de)+_0x3776d7(_0x3f085c._0x10389d,_0x3f085c._0x28f34b)]),_0x1e8b3c[_0x3776d7(0x5e5,_0x3f085c._0x282186)]();}function redactRelayWsUrl(_0x514ec8){const _0x4ef972={_0x48cfdd:0xdd,_0x56b7a4:0x7,_0xed3e60:0x56c,_0x22330a:0x2bd},_0x359eb2={_0x3737b1:0x582},_0x2d215f={_0x177c0d:0x2f};function _0x5b7864(_0x557ab1,_0x540ad3){return _0xb2a5b9(_0x540ad3,_0x557ab1- -_0x2d215f._0x177c0d);}const _0x3ea0d6=new URL(_0x514ec8);function _0x1744bf(_0x50cd6e,_0x4b55c0){return _0xb2a5b9(_0x50cd6e,_0x4b55c0-_0x359eb2._0x3737b1);}return _0x3ea0d6[_0x1744bf(0x7b7,0x5aa)+'rams'][_0x5b7864(0x262,_0x4ef972._0x48cfdd)]('token')&&_0x3ea0d6[_0x5b7864(-_0x4ef972._0x56b7a4,-0x42)+'rams']['set'](_0x1744bf(_0x4ef972._0xed3e60,0x5e1),_0x5b7864(_0x4ef972._0x22330a,0x42d)+'d>'),_0x3ea0d6['toString']();}function normalizeText(_0x39a2d0){const _0xc3fa2f={_0x533c4a:0x22c,_0x25668d:0x1,_0x45650a:0x452,_0x29ff79:0x504,_0x522d04:0x2a7,_0x541110:0x7cf,_0x15114b:0x6bc,_0x2609a1:0x792,_0x514c01:0x1e1},_0xe2b675={_0x43e93c:0x100};function _0x1c7bf3(_0x2476b1,_0xe858a2){return _0xb2a5b9(_0x2476b1,_0xe858a2-0x5eb);}if(typeof _0x39a2d0===_0x1c7bf3(_0xc3fa2f._0x533c4a,0x4b7))return _0x39a2d0;if(Buffer['isBuffer'](_0x39a2d0))return _0x39a2d0[_0x1c7bf3(0x53d,0x792)](_0x529c35(_0xc3fa2f._0x25668d,0x14));function _0x529c35(_0x25b2c1,_0x352713){return _0xb2a5b9(_0x352713,_0x25b2c1-_0xe2b675._0x43e93c);}if(Array['isArray'](_0x39a2d0))return Buffer[_0x1c7bf3(_0xc3fa2f._0x45650a,_0xc3fa2f._0x29ff79)](_0x39a2d0)[_0x529c35(_0xc3fa2f._0x522d04,0x2bb)](_0x1c7bf3(0x3f0,0x4ec));if(_0x39a2d0 instanceof ArrayBuffer)return Buffer[_0x1c7bf3(_0xc3fa2f._0x541110,_0xc3fa2f._0x15114b)](_0x39a2d0)[_0x1c7bf3(0x73e,_0xc3fa2f._0x2609a1)](_0x529c35(0x1,-_0xc3fa2f._0x514c01));return null;}function normalizeBinary(_0x20d7ee){const _0x519091={_0x170697:0x8ed,_0x162c0d:0x7c5,_0x2ebb2:0x7ae,_0x48206e:0x564,_0x3330a4:0x4df,_0x28b667:0x827,_0x1fe539:0x769},_0x44f96d={_0x3bed03:0x58},_0x3a3c85={};_0x3a3c85[_0x301d80(_0x519091._0x170697,0x7ef)]=_0x5a9826(-0x15a,-0x15e);function _0x5a9826(_0x3543ee,_0x32537f){return _0x3a90bd(_0x3543ee,_0x32537f- -_0x44f96d._0x3bed03);}function _0x301d80(_0x17a503,_0x4e401f){return _0x3a90bd(_0x17a503,_0x4e401f-0x69f);}const _0x725f83=_0x3a3c85;if(Buffer[_0x301d80(0x942,_0x519091._0x162c0d)](_0x20d7ee))return _0x20d7ee;if(typeof _0x20d7ee===_0x301d80(_0x519091._0x2ebb2,_0x519091._0x48206e))return Buffer[_0x301d80(_0x519091._0x3330a4,0x769)](_0x20d7ee,_0x725f83[_0x301d80(0xa30,0x7ef)]);if(Array['isArray'](_0x20d7ee))return Buffer['concat'](_0x20d7ee);return Buffer[_0x301d80(_0x519091._0x28b667,_0x519091._0x1fe539)](_0x20d7ee);}function readRecentCliLogs(_0x28fd69){const _0x7cb7e={_0x3f5889:0x321,_0x453287:0x424,_0x2ac8f7:0x2ea,_0x306a2d:0x1db,_0x23dddd:0x56,_0x4cc1e2:0x3ce,_0x211ef2:0x33b,_0x4ed23d:0x3a7},_0x45a545={_0x376edd:0x1b2},_0x557846={};_0x557846['mzuAp']=function(_0x3a238e,_0x16b683){return _0x3a238e!=_0x16b683;};const _0x37f408=_0x557846,{logPath:_0xbb7fb1,errorLogPath:_0x99a1b1}=getServicePaths(),_0x5d67ca=clampLines(_0x28fd69?.[_0x2d8947(0x29c,_0x7cb7e._0x3f5889)]??0xc8);function _0x5af4d7(_0x1a409a,_0x93377c){return _0xb2a5b9(_0x1a409a,_0x93377c-0x6c);}const _0x51ad97=_0x28fd69?.['lastMs']??null;function _0x2d8947(_0x34a189,_0x2299f0){return _0xb2a5b9(_0x2299f0,_0x34a189-_0x45a545._0x376edd);}const _0x7d9669=_0x37f408['mzuAp'](_0x51ad97,null)?Date[_0x5af4d7(_0x7cb7e._0x453287,_0x7cb7e._0x2ac8f7)]()-_0x51ad97:null,_0x515561=[_0xbb7fb1];_0x28fd69?.[_0x2d8947(0x60,-_0x7cb7e._0x306a2d)+_0x5af4d7(0x1c,-0x17d)]&&_0x515561['push'](_0x99a1b1);const _0x3cad9f=_0x515561[_0x2d8947(0x6d,_0x7cb7e._0x23dddd)](_0x150e4=>readLogFile(_0x150e4)),_0x5588b7=_0x7d9669==null?_0x3cad9f:_0x3cad9f[_0x2d8947(_0x7cb7e._0x4cc1e2,0x51d)](_0x10f242=>_0x10f242['ts']!=null&&_0x10f242['ts']>=_0x7d9669);return _0x5588b7['slice'](-_0x5d67ca)[_0x2d8947(_0x7cb7e._0x211ef2,_0x7cb7e._0x4ed23d)](_0x1215a6=>_0x1215a6[_0x5af4d7(0x300,0x338)]);}async function buildDoctorReport(){const _0xb94c33={_0x49c3db:0x627,_0x157336:0x96d,_0xf54dc8:0x757,_0x46261f:0xac,_0x1b92c2:0x123,_0x2c257f:0x318,_0x144eff:0x594,_0x264a14:0x5b7,_0x22d79f:0x786,_0x161283:0x833,_0x368cf8:0x114,_0xfe3b8d:0x95,_0x45ced4:0xa14,_0x214e68:0x85a,_0x2c7694:0x636,_0x25bee8:0x1c1,_0xce8c85:0x45f,_0x35339d:0x297,_0x1d511c:0x681,_0x3a02e9:0x59e},_0x498c9a={_0x229373:0x18e},_0x581291={_0x26fd2d:0x622};function _0x4db910(_0xbb055e,_0x104381){return _0x3a90bd(_0xbb055e,_0x104381-_0x581291._0x26fd2d);}const _0x59adb5={'obhKO':function(_0x135c5a){return _0x135c5a();},'qDUEb':function(_0x5d8e17,_0x40a86a){return _0x5d8e17(_0x40a86a);},'HzvQa':function(_0x7cfcfb){return _0x7cfcfb();}},_0x575de1=readPairingConfig(),_0x1aba86=getServiceStatus(),_0x3c8e03=_0x59adb5[_0x4db910(_0xb94c33._0x49c3db,0x5f7)](readOpenClawInfo),_0x40cf65=resolveGatewayUrl();function _0x3379ad(_0x136586,_0x240b2e){return _0x3a90bd(_0x240b2e,_0x136586-_0x498c9a._0x229373);}const _0x26bba1=await _0x59adb5['qDUEb'](checkGatewayReachable,_0x40cf65);return{'paired':Boolean(_0x575de1),'gatewayId':_0x575de1?.[_0x3379ad(-0x8a,-0x1e9)+'d']??null,'serverUrl':_0x575de1?.[_0x3379ad(0x127,-0xe1)+'l']??null,'relayUrl':_0x575de1?.[_0x4db910(_0xb94c33._0x157336,_0xb94c33._0xf54dc8)]??null,'instanceId':_0x575de1?.[_0x3379ad(-_0xb94c33._0x46261f,_0xb94c33._0x1b92c2)+'Id']??null,'serviceInstalled':_0x1aba86[_0x4db910(_0xb94c33._0x2c257f,_0xb94c33._0x144eff)+'d'],'serviceRunning':_0x1aba86[_0x4db910(_0xb94c33._0x264a14,0x782)],'serviceMethod':_0x1aba86[_0x4db910(_0xb94c33._0x22d79f,_0xb94c33._0x161283)],'servicePath':_0x1aba86[_0x3379ad(_0xb94c33._0x368cf8,_0xb94c33._0xfe3b8d)+_0x4db910(_0xb94c33._0x45ced4,0x8d7)],'logPath':_0x1aba86[_0x4db910(0x831,0x6e9)],'errorLogPath':_0x1aba86[_0x4db910(_0xb94c33._0x214e68,_0xb94c33._0x2c7694)+_0x3379ad(0x234,_0xb94c33._0x25bee8)],'openclawConfigDir':getOpenClawConfigDir(),'openclawMediaDir':_0x59adb5['HzvQa'](getOpenClawMediaDir),'openclawConfigFound':_0x3c8e03[_0x3379ad(_0xb94c33._0xce8c85,_0xb94c33._0x35339d)+'und'],'openclawAuthMode':_0x3c8e03[_0x4db910(0x6b2,0x53b)],'openclawTokenFound':Boolean(_0x3c8e03['token']),'openclawPasswordFound':_0x59adb5[_0x4db910(_0xb94c33._0x1d511c,_0xb94c33._0x3a02e9)](Boolean,_0x3c8e03['password']),'localGatewayUrl':_0x40cf65,'localGatewayReachable':_0x26bba1};}async function ensurePairPrerequisites(){const _0x435c9a={_0x632abd:0x5c1,_0x393d20:0x6bc,_0x2a510a:0x93f,_0x1b274e:0x8e0,_0x1f9c8a:0x5ff,_0x216c97:0x429,_0xa43254:0x62b,_0x52beb0:0x462,_0x13bc75:0x4b8,_0x10f745:0x395,_0x521ff5:0x5ba,_0x1713e3:0x29a,_0x4fa237:0x6f9,_0x4f82f3:0x692,_0x52a0e6:0x53c,_0x37a1d0:0x287,_0x8b9a4b:0x2ba,_0x473d7e:0x523,_0xce2ed3:0x686,_0x1496d9:0x5ca,_0x5cb96c:0x6eb,_0x39c144:0x470,_0x16fb9d:0x8b7,_0x556713:0x3d5,_0x4db446:0x9f6,_0x4687b7:0x43f};function _0x16a48e(_0x4bb5e4,_0x2df295){return _0xb2a5b9(_0x4bb5e4,_0x2df295-0x4ee);}const _0x173a17=await buildDoctorReport(),_0x764c34=listPairPrerequisiteFailures(_0x173a17);if(_0x764c34[_0x367335(_0x435c9a._0x632abd,_0x435c9a._0x393d20)]>0x0)throw new Error(['Cannot\x20c'+_0x367335(_0x435c9a._0x2a510a,_0x435c9a._0x1b274e)+_0x367335(_0x435c9a._0x1f9c8a,_0x435c9a._0x216c97)+_0x367335(0x58a,_0x435c9a._0xa43254)+_0x367335(0x367,_0x435c9a._0x52beb0)+'ocal\x20Ope'+_0x367335(_0x435c9a._0x13bc75,0x539)+_0x367335(_0x435c9a._0x10f745,_0x435c9a._0x521ff5)+_0x16a48e(_0x435c9a._0x1713e3,0x39e)+'not\x20read'+'y.',..._0x764c34[_0x367335(0x605,0x7b7)](_0x3440a2=>'-\x20'+_0x3440a2),_0x367335(_0x435c9a._0x4fa237,_0x435c9a._0x4f82f3)+'wket\x20doc'+_0x367335(0x14a,0x3e2)+_0x367335(_0x435c9a._0x52a0e6,0x6e4)+_0x16a48e(_0x435c9a._0x37a1d0,_0x435c9a._0x8b9a4b)+_0x16a48e(_0x435c9a._0x473d7e,_0x435c9a._0xce2ed3)+_0x367335(0x5ce,0x4e6)+_0x16a48e(_0x435c9a._0x1496d9,_0x435c9a._0x5cb96c)+_0x16a48e(0x4e2,0x586)+'y\x20if\x20you'+_0x16a48e(0x23b,0x293)+_0x16a48e(0x766,0x670)+_0x16a48e(_0x435c9a._0x39c144,0x626)+_0x367335(_0x435c9a._0x16fb9d,0x69c)+_0x367335(0x27f,_0x435c9a._0x556713)+_0x367335(_0x435c9a._0x4db446,0x794)][_0x367335(0x626,_0x435c9a._0x4687b7)]('\x0a'));function _0x367335(_0x2c37d1,_0x3d68b2){return _0xb2a5b9(_0x2c37d1,_0x3d68b2-0x62e);}return _0x173a17;}function listPairPrerequisiteFailures(_0x6e90b){const _0x4459aa={_0x11c172:0x700,_0x369bdc:0x7b6,_0x110983:0x715,_0x30c084:0x5e1,_0x766a1f:0x13e,_0xbd279f:0x239,_0xc78ba9:0x682,_0x4a6d5c:0x3e5,_0x5ceea9:0x1e9,_0x230466:0x5d9,_0x13e9ef:0x556,_0xe5f7fd:0x66d,_0xd3f33e:0x87d,_0x1f5bc7:0x71,_0xc46a8:0x14f,_0x2122a1:0x847,_0x4f2f98:0xa94,_0x322ca6:0x285,_0x4d0af6:0x8f,_0x344d61:0x58,_0x5621d2:0xef,_0x5bbca0:0xa16,_0x21d01f:0x3bb,_0x27512d:0x36b,_0x4419f4:0x43b,_0x530908:0x55f,_0x20135e:0x801,_0x4f4f2a:0x95d,_0x51888a:0x514,_0x44f733:0x74b,_0x1d77b3:0x694,_0x3ae72e:0x42c,_0x565a31:0x27a,_0x1da951:0x4d,_0x3857b2:0x21,_0x221dad:0x872,_0x31261f:0x67a,_0x1c1d14:0x285,_0x5434f6:0xfb,_0x3eaf8c:0x5b2,_0x433b04:0x4f0,_0xd2170d:0x405,_0x2a97ef:0x1b4,_0x4b96d4:0x2a,_0x4ecf2a:0x180,_0x20cadd:0x9e7,_0xf6938f:0x5a0,_0x2e9388:0x4f3,_0xf23a18:0x547,_0x53d87d:0x1cd,_0x259128:0x28a,_0x580196:0x190,_0x32e312:0x57f,_0xc5aaa2:0x72a,_0x46695b:0x242,_0x3bc438:0x146,_0x3cd630:0x3c1,_0x35d7c6:0x5e3,_0x5dce58:0x6cd,_0x19a36b:0x79c,_0x450672:0x41d,_0x3a1f2f:0x34,_0x4c4d60:0x380},_0x499397={_0x58f630:0x594},_0x5020ef={_0x1fb5c6:0x2e},_0x31a834={};_0x31a834['Mejae']=_0x269e08(0x564,0x6ea)+_0x269e08(_0x4459aa._0x11c172,0x8f2)+'\x20auth\x20is'+'\x20missing'+_0x269e08(_0x4459aa._0x369bdc,0x601)+'or\x20passw'+_0x269e08(_0x4459aa._0x110983,0x953),_0x31a834[_0x269e08(0x523,_0x4459aa._0x30c084)]='OpenClaw'+_0x4d8872(_0x4459aa._0x766a1f,_0x4459aa._0xbd279f)+_0x4d8872(0x266,0x4b2)+_0x269e08(_0x4459aa._0xc78ba9,_0x4459aa._0x4a6d5c)+'g.',_0x31a834['YUvTY']=_0x4d8872(-0x5e,-_0x4459aa._0x5ceea9)+_0x4d8872(0x13e,0x2a7)+_0x269e08(_0x4459aa._0x230466,0x537)+_0x269e08(0x7ea,_0x4459aa._0x13e9ef)+_0x4d8872(0x1ee,0xc6);const _0x135d81=_0x31a834,_0x36ca87=[];function _0x4d8872(_0x47c419,_0x11429a){return _0x3a90bd(_0x11429a,_0x47c419- -_0x5020ef._0x1fb5c6);}!_0x6e90b['openclaw'+_0x269e08(_0x4459aa._0xe5f7fd,0x708)+_0x269e08(_0x4459aa._0xd3f33e,0x817)]&&_0x36ca87['push'](_0x4d8872(-0x5e,0x68)+_0x4d8872(-0x230,-_0x4459aa._0x1f5bc7)+_0x4d8872(-0x149,-0x142)+_0x4d8872(0x88,-_0x4459aa._0xc46a8)+_0x4d8872(0x258,0x341)+formatOpenClawConfigLocations()+'.');function _0x269e08(_0x1a1b64,_0x4c275f){return _0x3a90bd(_0x4c275f,_0x1a1b64-_0x499397._0x58f630);}return _0x6e90b[_0x269e08(_0x4459aa._0x2122a1,_0x4459aa._0x4f2f98)+'TokenFou'+'nd']&&_0x6e90b[_0x4d8872(_0x4459aa._0x322ca6,0x31b)+_0x4d8872(0x2ba,_0x4459aa._0x4d0af6)+_0x4d8872(_0x4459aa._0x344d61,_0x4459aa._0x5621d2)]&&_0x6e90b[_0x269e08(_0x4459aa._0x2122a1,_0x4459aa._0x5bbca0)+_0x269e08(0x405,_0x4459aa._0x21d01f)]==null&&_0x36ca87[_0x4d8872(-0x22,-0x25c)](_0x269e08(0x564,0x385)+_0x269e08(_0x4459aa._0x27512d,_0x4459aa._0x4419f4)+'h\x20gatewa'+_0x269e08(_0x4459aa._0x530908,_0x4459aa._0x20135e)+_0x269e08(0x54a,0x5af)+_0x269e08(0x7b1,_0x4459aa._0x4f4f2a)+'figured,'+_0x269e08(_0x4459aa._0x51888a,_0x4459aa._0x44f733)+'eway.aut'+_0x269e08(_0x4459aa._0x1d77b3,_0x4459aa._0x3ae72e)+_0x4d8872(-_0x4459aa._0x565a31,-_0x4459aa._0x1da951)),!_0x6e90b[_0x4d8872(0x285,_0x4459aa._0x3857b2)+_0x269e08(_0x4459aa._0x221dad,_0x4459aa._0x31261f)+'nd']&&!_0x6e90b[_0x4d8872(_0x4459aa._0x1c1d14,_0x4459aa._0x5434f6)+'Password'+_0x4d8872(_0x4459aa._0x344d61,0x23a)]&&_0x36ca87[_0x269e08(0x5a0,0x4e0)](_0x135d81[_0x269e08(_0x4459aa._0x3eaf8c,_0x4459aa._0x433b04)]),_0x6e90b['openclaw'+_0x269e08(_0x4459aa._0xd2170d,_0x4459aa._0x2a97ef)]===_0x4d8872(_0x4459aa._0x4b96d4,-_0x4459aa._0x4ecf2a)&&!_0x6e90b['openclaw'+_0x269e08(0x872,_0x4459aa._0x20cadd)+'nd']&&_0x36ca87[_0x269e08(_0x4459aa._0xf6938f,_0x4459aa._0x2e9388)](_0x135d81[_0x269e08(0x523,_0x4459aa._0xf23a18)]),_0x6e90b['openclaw'+_0x269e08(0x405,_0x4459aa._0x53d87d)]===_0x4d8872(_0x4459aa._0x259128,0x36)&&!_0x6e90b[_0x4d8872(0x285,_0x4459aa._0x580196)+_0x269e08(0x87c,0xae3)+_0x269e08(0x61a,_0x4459aa._0x32e312)]&&_0x36ca87[_0x269e08(0x5a0,_0x4459aa._0xc5aaa2)](_0x135d81[_0x269e08(0x4d0,0x398)]),!_0x6e90b[_0x4d8872(-_0x4459aa._0x46695b,-_0x4459aa._0x3bc438)+'ewayReac'+'hable']&&_0x36ca87[_0x269e08(0x5a0,_0x4459aa._0x3cd630)](_0x269e08(0x486,_0x4459aa._0x35d7c6)+_0x269e08(_0x4459aa._0x5dce58,_0x4459aa._0x19a36b)+_0x269e08(0x49f,_0x4459aa._0x450672)+_0x4d8872(0x143,0x330)+_0x4d8872(_0x4459aa._0x3a1f2f,-0x133)+_0x4d8872(-0x273,0x3)+_0x6e90b[_0x269e08(_0x4459aa._0x4c4d60,0x59a)+'ewayUrl']+'.'),_0x36ca87;}function formatOpenClawConfigLocations(){const _0x6cd91f={_0x480cc1:0x791,_0x35896b:0x944,_0x4ed044:0x539},_0x331047={_0x1fd7fa:0x54e},_0x396dde={_0x146dad:0x260},_0x37d916={_0x36272d:0x72f};function _0x58e0ac(_0x53459c,_0xac1b69){return _0x3a90bd(_0x53459c,_0xac1b69-0x17d);}function _0x1e774c(_0x506318,_0x5e05b6){return _0x3a90bd(_0x5e05b6,_0x506318-_0x37d916._0x36272d);}const _0x345b96=new Set();return[_0x582f99(),_0x1e774c(0x98a,_0x6cd91f._0x480cc1)]['map'](_0x31a298=>_0x31a298[_0x58e0ac(0x37e,0x40f)]()+(_0x58e0ac(0x54c,0x34b)+'aw'))[_0x1e774c(_0x6cd91f._0x35896b,0x6dd)](_0x337c71=>_0x337c71!==_0x1e774c(0x8fd,0x902)+'aw')[_0x1e774c(0x944,0xa29)](_0x3fa51e=>{if(_0x345b96[_0x30fb77(0x667,0x59b)](_0x3fa51e))return![];function _0x30fb77(_0x3e9836,_0x349565){return _0x58e0ac(_0x349565,_0x3e9836-_0x396dde._0x146dad);}_0x345b96[_0x30fb77(0x3ec,_0x331047._0x1fd7fa)](_0x3fa51e);function _0x574893(_0x45a3f9,_0x4456cd){return _0x58e0ac(_0x4456cd,_0x45a3f9- -0x142);}return!![];})[_0x1e774c(_0x6cd91f._0x4ed044,0x613)]('\x20or\x20');}function readLogFile(_0x38c4e7){const _0x3a67a2={_0x1f6a2d:0x679,_0x42077c:0x497},_0x4b3fae={_0x4d81b2:0x596},_0x52ff2f={};_0x52ff2f['ghixe']=_0x1e5be0(_0x3a67a2._0x1f6a2d,_0x3a67a2._0x42077c);function _0xdfbd69(_0x1b206b,_0x5327b5){return _0xb2a5b9(_0x1b206b,_0x5327b5-0x421);}const _0x1d08e9=_0x52ff2f;function _0x1e5be0(_0x14f093,_0x571b7c){return _0xb2a5b9(_0x14f093,_0x571b7c-_0x4b3fae._0x4d81b2);}try{const _0x1f141c=_0xe89164(_0x38c4e7,_0x1d08e9[_0x1e5be0(0x45b,0x39d)]);return _0x1f141c[_0x1e5be0(0x6aa,0x765)](/\r?\n/)[_0xdfbd69(0x6a0,0x63d)](Boolean)[_0x1e5be0(0x728,0x71f)](_0xcfa45c=>({'raw':_0xcfa45c,'ts':parseTimestamp(_0xcfa45c)}));}catch{return[];}}function parseTimestamp(_0x420128){const _0x283fc5={_0xc19b95:0x45c},_0x4127cf={_0x3724bf:0x4cb},_0x102dec=_0x420128['match'](/^\[(\d{13})\]\s/);if(!_0x102dec)return null;function _0x45b0ef(_0x39254a,_0x1ce1b5){return _0x3a90bd(_0x39254a,_0x1ce1b5-_0x4127cf._0x3724bf);}const _0x5bb7bc=Number(_0x102dec[0x1]);return Number[_0x45b0ef(0x6a0,_0x283fc5._0xc19b95)](_0x5bb7bc)?_0x5bb7bc:null;}function clampLines(_0x5698fb){const _0x1fae28={_0x11651c:0x2a0,_0x203465:0x1df,_0x3c2978:0x135,_0x54e16c:0x8e},_0x5d4aaa={_0x2aaad6:0x4ea};if(!Number['isFinite'](_0x5698fb))return 0xc8;function _0x565cf1(_0x5b3f7a,_0x3052a5){return _0x3a90bd(_0x3052a5,_0x5b3f7a-0x26c);}function _0x189c0f(_0x5b1f9a,_0x43d161){return _0x3a90bd(_0x5b1f9a,_0x43d161-_0x5d4aaa._0x2aaad6);}return Math[_0x565cf1(_0x1fae28._0x11651c,_0x1fae28._0x203465)](0x1,Math['min'](0x7d0,Math[_0x565cf1(_0x1fae28._0x3c2978,_0x1fae28._0x54e16c)](_0x5698fb)));}async function checkGatewayReachable(_0x41de03){const _0x330a3d={_0x52648d:0x480,_0x368da0:0x337,_0x423fd6:0x63d,_0x3e22e1:0x44b,_0x4fa749:0x5f9,_0x40dc59:0x65d,_0xd80291:0x5e0,_0x3eefd4:0x4ae},_0x26365e={_0x5859fa:0xc1,_0x29dd09:0x253,_0x39b96a:0x882,_0x59230d:0x957},_0x1fe204={_0xebb96e:0x7fb,_0x1606ad:0xc},_0x544436={_0x3d2b75:0x3e1},_0x14430a={};function _0x43d4fa(_0x334335,_0x12164c){return _0xb2a5b9(_0x12164c,_0x334335-_0x544436._0x3d2b75);}_0x14430a[_0x43d4fa(_0x330a3d._0x52648d,0x499)]=_0x43d4fa(0x61c,0x3ff),_0x14430a[_0x331790(_0x330a3d._0x368da0,0x101)]=_0x43d4fa(_0x330a3d._0x423fd6,0x842);const _0x49b43f=_0x14430a;function _0x331790(_0x35545e,_0x5a2978){return _0xb2a5b9(_0x5a2978,_0x35545e-0x1cf);}try{const _0x37f820=new URL(_0x41de03),_0x3e2786=_0x37f820['hostname']||'127.0.0.'+'1',_0x5011a5=_0x37f820[_0x331790(_0x330a3d._0x3e22e1,_0x330a3d._0x4fa749)]?Number(_0x37f820[_0x43d4fa(_0x330a3d._0x40dc59,_0x330a3d._0xd80291)]):_0x37f820[_0x43d4fa(0x25a,_0x330a3d._0x3eefd4)]===_0x49b43f[_0x331790(_0x330a3d._0x368da0,0x3e6)]?0x1bb:0x50;return await new Promise((_0x5a63ab,_0x1c9e42)=>{const _0x3353e8={_0x15f22a:0x617,_0x18d3cf:0x7e5},_0x4a2f7c=new Socket();_0x4a2f7c['setTimeo'+'ut'](0x384);function _0x246b16(_0x1b39d2,_0x166335){return _0x43d4fa(_0x166335- -0xc8,_0x1b39d2);}_0x4a2f7c['once'](_0x49b43f['pOkMW'],()=>{_0x4a2f7c[_0x5fd0b4(_0x3353e8._0x15f22a,_0x3353e8._0x18d3cf)]();function _0x5fd0b4(_0x30563e,_0x3b3440){return _0x346a(_0x30563e-0x25,_0x3b3440);}_0x5a63ab();}),_0x4a2f7c[_0x246b16(_0x26365e._0x5859fa,0x150)]('timeout',()=>{const _0x5d651b={_0x51499b:0x2c5},_0x1f9aff={_0x107608:0x132};function _0x53b60c(_0xfaea52,_0x493384){return _0x246b16(_0x493384,_0xfaea52- -_0x1f9aff._0x107608);}_0x4a2f7c[_0x100844(0x863,_0x1fe204._0xebb96e)]();function _0x100844(_0x13f27b,_0x1b9abb){return _0x246b16(_0x1b9abb,_0x13f27b-_0x5d651b._0x51499b);}_0x1c9e42(new Error(_0x53b60c(-_0x1fe204._0x1606ad,0x1a7)));}),_0x4a2f7c[_0x246b16(_0x26365e._0x29dd09,0x150)](_0x5cac96(0x8ed,0x6d2),_0x56b499=>{_0x4a2f7c['destroy'](),_0x1c9e42(_0x56b499);});function _0x5cac96(_0x93d333,_0x1101cc){return _0x43d4fa(_0x1101cc-0x33b,_0x93d333);}_0x4a2f7c[_0x5cac96(_0x26365e._0x39b96a,_0x26365e._0x59230d)](_0x5011a5,_0x3e2786);}),!![];}catch{return![];}}function parseLookbackToMs(_0x4b2f88){const _0x2cde19={_0xf3dce4:0x737,_0x1399a7:0xb2,_0x47dacf:0x2d0,_0x49ba12:0x8c6,_0x3cf313:0x471,_0x3e4159:0x30a,_0x38cbfc:0x2f8},_0x4e98a0={_0x1b880a:0x17e},_0xb2ad0c={};_0xb2ad0c[_0x4e8f74(_0x2cde19._0xf3dce4,0x798)]=function(_0x59ace0,_0x5a2f72){return _0x59ace0===_0x5a2f72;},_0xb2ad0c[_0x6ecd8(-_0x2cde19._0x1399a7,-0xc8)]=function(_0x56316c,_0x3743ca){return _0x56316c*_0x3743ca;};const _0x23297a=_0xb2ad0c,_0x3b3681=_0x4b2f88?.[_0x6ecd8(_0x2cde19._0x47dacf,0x410)]();if(!_0x3b3681)return null;const _0x174c43=_0x3b3681[_0x4e8f74(_0x2cde19._0x49ba12,0x631)](/^(\d+)(ms|s|m|h|d)$/i);function _0x6ecd8(_0x4f2f92,_0x1c7fd3){return _0x3a90bd(_0x4f2f92,_0x1c7fd3-_0x4e98a0._0x1b880a);}if(!_0x174c43)throw new Error(_0x6ecd8(0x1f0,0x326)+'--last\x20v'+_0x4e8f74(0x598,0x4ea)+_0x3b3681+(_0x6ecd8(0x399,0x440)+_0x4e8f74(0x5f0,0x7d9)+_0x4e8f74(0xa57,0x819)+'2m,\x201h,\x20'+_0x4e8f74(0x29b,_0x2cde19._0x3cf313)));const _0x1de2d6=Number(_0x174c43[0x1]),_0x4a7626=_0x174c43[0x2][_0x6ecd8(_0x2cde19._0x3e4159,_0x2cde19._0x38cbfc)+'ase']();function _0x4e8f74(_0x5b29c9,_0x3aca3a){return _0x3a90bd(_0x5b29c9,_0x3aca3a-0x670);}const _0x114ad3=_0x23297a[_0x4e8f74(0x650,0x798)](_0x4a7626,'ms')?0x1:_0x4a7626==='s'?0x3e8:_0x4a7626==='m'?0xea60:_0x4a7626==='h'?0x36ee80:0x5265c00;return _0x23297a['zVYNe'](_0x1de2d6,_0x114ad3);}import{networkInterfaces}from'os';var BLOCKED_INTERFACE_TOKENS=[_0xb2a5b9(-0x21e,-0x75),_0xb2a5b9(-0x3c3,-0x156),_0x3a90bd(0x1c4,0x36),_0x3a90bd(-0x185,0x2d)+'e',_0xb2a5b9(0x41f,0x221)+'d','wg',_0xb2a5b9(0x173,0x1b5),'ipsec',_0x3a90bd(-0x135,-0x147),_0xb2a5b9(-0xef,0x59),_0xb2a5b9(0x23a,0x17a),_0x3a90bd(-0x14d,-0x12b),_0x3a90bd(0x11a,0x214),_0xb2a5b9(0x206,0x15),_0xb2a5b9(0xf9,-0xe2),'awdl',_0x3a90bd(0x332,0x1e1),_0xb2a5b9(0x117,0x116),_0x3a90bd(0x2ce,0x1ad),_0xb2a5b9(0x358,0x1df)];function buildLocalPairingInfo(_0x1fab27){const _0x238ff0={_0x31a4d3:0x459,_0x3718f5:0x3a6,_0x2dff31:0x21b,_0x54e1d4:0x2ac,_0x59a2ae:0x119,_0x24cb01:0x690,_0xa43a58:0x70f,_0x518c73:0xf1,_0x39b5e9:0x2f5,_0x1b35a2:0xf9},_0x220869={_0x94011b:0x4fc},_0x1c147a={_0x54d6e5:0x2be},_0x22bf9d=resolveLocalPairAuth(_0x1fab27),_0x5906d3={};_0x5906d3['explicit'+_0x1e03e3(0x228,_0x238ff0._0x31a4d3)]=_0x1fab27[_0x1e03e3(_0x238ff0._0x3718f5,0x557)+_0x3aa735(_0x238ff0._0x2dff31,_0x238ff0._0x54e1d4)],_0x5906d3[_0x3aa735(_0x238ff0._0x59a2ae,0x157)+_0x1e03e3(_0x238ff0._0x24cb01,_0x238ff0._0xa43a58)+'l']=_0x1fab27[_0x3aa735(0x119,_0x238ff0._0x518c73)+'atewayUr'+'l'];const _0x3e0ab0=resolveLocalPairGatewayUrl(_0x5906d3);function _0x3aa735(_0x2b6fde,_0x5dc4dc){return _0xb2a5b9(_0x5dc4dc,_0x2b6fde-_0x1c147a._0x54d6e5);}const _0x13b03a=_0x1fab27['expiresA'+'t']??Date['now']()+0xa*0x3c*0x3e8;function _0x1e03e3(_0x88ee1,_0x5661b7){return _0xb2a5b9(_0x88ee1,_0x5661b7-_0x220869._0x94011b);}return{'gatewayUrl':_0x3e0ab0,'expiresAt':_0x13b03a,'authMode':_0x22bf9d[_0x3aa735(_0x238ff0._0x39b5e9,_0x238ff0._0x1b35a2)],'qrPayload':buildGatewayQrPayload({'gatewayUrl':_0x3e0ab0,'token':_0x22bf9d['token'],'password':_0x22bf9d[_0x3aa735(0x57d,0x417)],'expiresAt':_0x13b03a})};}function resolveLocalPairGatewayUrl(_0x179f45){const _0x276586={_0xb17165:0x84e,_0x597e88:0x59e,_0x9cc178:0x555,_0xebc5a3:0xa62,_0x577f9e:0x863,_0x9c5bf2:0x582,_0x3daa62:0x448},_0xcab20c={_0x120979:0x2c3};function _0x1cc927(_0x111e11,_0x4ab5f6){return _0x3a90bd(_0x111e11,_0x4ab5f6-0x74a);}const _0x4ca0c7=_0x179f45?.[_0x1cc927(_0x276586._0xb17165,0x79e)+'Url']?.[_0x1a85fe(0x555,0x526)]();function _0x1a85fe(_0xe0014,_0x184390){return _0x3a90bd(_0x184390,_0xe0014-_0xcab20c._0x120979);}if(_0x4ca0c7)return normalizeExplicitGatewayUrl(_0x4ca0c7);const _0x26527f=_0x179f45?.[_0x1cc927(0x638,_0x276586._0x597e88)+_0x1a85fe(0x4cf,0x258)+'l']?.[_0x1a85fe(_0x276586._0x9cc178,0x378)]()||resolveGatewayUrl(),_0x2804e1=detectLanIp();if(!_0x2804e1)throw new Error('Failed\x20t'+'o\x20determ'+'ine\x20a\x20LA'+'N\x20IP\x20add'+_0x1cc927(_0x276586._0xebc5a3,_0x276586._0x577f9e)+_0x1a85fe(_0x276586._0x9c5bf2,0x616)+'\x20to\x20spec'+'ify\x20a\x20cu'+_0x1a85fe(0x2ba,_0x276586._0x3daa62)+'eway\x20URL'+'.');return rewriteGatewayHost(_0x26527f,_0x2804e1);}function normalizeExplicitGatewayUrl(_0x1544b4){const _0x3316b2={_0x313a37:0x14},_0x64427b={_0x4412e8:0x2e},_0x12e17f={_0x2b0163:0x8},_0x1a134b={'nKNUW':function(_0x10c087,_0x13b6d7){return _0x10c087(_0x13b6d7);}},_0x17cdf3=_0x1544b4['trim'](),_0x158967=/^[a-z]+:\/\//i[_0x3ab3d4(-0x50,-0x283)](_0x17cdf3)?_0x17cdf3:'ws://'+_0x17cdf3;function _0xa98ec2(_0x2487c3,_0x31307b){return _0xb2a5b9(_0x31307b,_0x2487c3- -_0x12e17f._0x2b0163);}function _0x3ab3d4(_0x1499c6,_0x5a9ed3){return _0xb2a5b9(_0x1499c6,_0x5a9ed3- -_0x64427b._0x4412e8);}return _0x1a134b['nKNUW'](normalizeGatewayQrUrl,_0x158967)[_0xa98ec2(-_0x3316b2._0x313a37,-0x1fb)];}function rewriteGatewayHost(_0x75c221,_0x6bd45c){const _0x2bc7a4={_0x45fbf9:0x64e,_0x3c489c:0x271,_0x5a0488:0x317,_0x45f8f8:0x2b6,_0x3388a6:0x22f,_0x58a09d:0x95},_0x1c3553={_0x341c51:0xa8};function _0x3aa327(_0x220f75,_0xf7e35d){return _0x3a90bd(_0xf7e35d,_0x220f75-0x258);}const _0x36e2ec=_0x75c221[_0x3aa327(0x4ea,_0x2bc7a4._0x45fbf9)](),_0x362055=/^[a-z]+:\/\//i[_0x3aa327(-0x4,_0x2bc7a4._0x3c489c)](_0x36e2ec)?_0x36e2ec:_0x3aa327(_0x2bc7a4._0x5a0488,_0x2bc7a4._0x45f8f8)+_0x36e2ec;function _0x4103e6(_0x380604,_0x28b2bb){return _0x3a90bd(_0x28b2bb,_0x380604-_0x1c3553._0x341c51);}const _0x58095f=new URL(_0x362055);return _0x58095f['hostname']=_0x6bd45c,normalizeGatewayQrUrl(_0x58095f[_0x4103e6(0x248,_0x2bc7a4._0x3388a6)]())[_0x4103e6(_0x2bc7a4._0x58a09d,-0x6)];}function detectLanIp(){const _0xfc5af5={_0x156d24:0x538},_0x2ba3ed={_0x46d2a0:0x6ba},_0x3823e9={};function _0x3d4bb8(_0x54a5d1,_0x11cf14){return _0xb2a5b9(_0x54a5d1,_0x11cf14-_0x2ba3ed._0x46d2a0);}_0x3823e9['bUmzI']=function(_0x4a2647,_0x48ec87){return _0x4a2647===_0x48ec87;};const _0x5f4d6d=_0x3823e9,_0x3a240b=networkInterfaces();let _0x23c621=null;function _0x4956e6(_0xa51121,_0x3bb3bc){return _0xb2a5b9(_0xa51121,_0x3bb3bc-0x40e);}for(const [_0x5878bf,_0x2454b0]of Object['entries'](_0x3a240b)){for(const _0x19f317 of _0x2454b0??[]){if(_0x19f317[_0x4956e6(0x5be,0x398)]!=='IPv4')continue;const _0x5712ad=scoreLanCandidate(_0x5878bf,_0x19f317['address']);if(_0x5f4d6d[_0x3d4bb8(0x335,0x567)](_0x5712ad,0x0))continue;if(!_0x23c621||_0x5712ad>_0x23c621['score']){const _0x30848c={};_0x30848c[_0x3d4bb8(0x69b,_0xfc5af5._0x156d24)]=_0x5712ad,_0x30848c['ip']=_0x19f317[_0x3d4bb8(0x755,0x7b2)],_0x23c621=_0x30848c;}}}return _0x23c621?.['ip']??null;}function scoreLanCandidate(_0x497545,_0x172658){const _0xc114f={_0x236dcc:0x322,_0x171eee:0x15d,_0x1cf4f7:0xd2,_0x39e050:0x336,_0x57ec7b:0x282,_0x191990:0x204,_0x2789e1:0xec,_0x1a05b8:0x1a5,_0x23f74c:0x7e},_0x3b12f1={_0x1bcc35:0x1a8},_0x277d13={_0x5b0066:0x22};function _0x10ff54(_0x405035,_0x2e9b1f){return _0x3a90bd(_0x2e9b1f,_0x405035-_0x277d13._0x5b0066);}const _0x542469={'cATHe':function(_0xa3ada4,_0xdb1314){return _0xa3ada4(_0xdb1314);},'WojFw':'wifi'};if(!isLanIpv4(_0x172658))return 0x0;function _0x5925a6(_0x5bc87d,_0x215438){return _0x3a90bd(_0x215438,_0x5bc87d-_0x3b12f1._0x1bcc35);}const _0x47983a=_0x497545[_0x5925a6(_0xc114f._0x236dcc,_0xc114f._0x171eee)+_0x10ff54(-_0xc114f._0x1cf4f7,-_0xc114f._0x39e050)]();if(BLOCKED_INTERFACE_TOKENS[_0x10ff54(-0x4,-_0xc114f._0x57ec7b)](_0x54d907=>_0x47983a['includes'](_0x54d907)))return 0x0;let _0xc578e=_0x542469[_0x5925a6(0x76,-0x80)](isRfc1918,_0x172658)?0x78:isCgnat(_0x172658)?0x5a:0x28;return(_0x47983a[_0x10ff54(-0x204,-0x2de)+'th']('en')||_0x47983a[_0x10ff54(-_0xc114f._0x191990,-_0xc114f._0x2789e1)+'th']('eth')||_0x47983a['startsWi'+'th'](_0x10ff54(-_0xc114f._0x1a05b8,-0x236))||_0x47983a[_0x5925a6(-_0xc114f._0x23f74c,0xcd)+'th']('wl')||_0x47983a['includes'](_0x542469['WojFw'])||_0x47983a[_0x5925a6(0xa5,0xb4)]('wi-fi'))&&(_0xc578e+=0x14),_0xc578e;}function resolveLocalPairAuth(_0x1f1e52){const _0x21c23b={_0x1cac93:0x3fd,_0x1ce9d1:0x2bc,_0x5405df:0x698,_0x18b00e:0x456,_0x1a83e9:0x637,_0x3d0014:0x4b6,_0x1f20a1:0x59f,_0x1c9ee4:0x284,_0x1f9dea:0x485,_0x326a0b:0x511,_0x5d4b53:0x420,_0x1be4a2:0x1e1,_0x5a55e0:0x415,_0x1c526d:0x16d,_0x49c2c2:0x310,_0x2b81da:0x374},_0x82ce6d={_0x53294f:0x1ec};function _0x10138b(_0xaf6490,_0x49642e){return _0xb2a5b9(_0x49642e,_0xaf6490-0x39e);}function _0x31527c(_0x460f07,_0x273e65){return _0xb2a5b9(_0x460f07,_0x273e65-_0x82ce6d._0x53294f);}if(_0x1f1e52['gatewayT'+'oken']?.['trim']())return{'mode':_0x10138b(_0x21c23b._0x1cac93,_0x21c23b._0x1ce9d1),'token':_0x1f1e52['gatewayT'+_0x10138b(_0x21c23b._0x5405df,_0x21c23b._0x18b00e)][_0x10138b(_0x21c23b._0x1a83e9,0x76d)](),'password':null};if(_0x1f1e52[_0x10138b(_0x21c23b._0x3d0014,_0x21c23b._0x1f20a1)+_0x10138b(0x2f6,0x2f4)]?.['trim']())return{'mode':_0x31527c(0x4f0,0x4ab),'token':null,'password':_0x1f1e52[_0x31527c(0x2e1,0x304)+_0x10138b(0x2f6,0x3d6)][_0x31527c(_0x21c23b._0x1c9ee4,_0x21c23b._0x1f9dea)]()};throw new Error(_0x10138b(0x375,0x225)+_0x31527c(0x439,0x35f)+_0x31527c(_0x21c23b._0x326a0b,_0x21c23b._0x5d4b53)+'\x20missing'+_0x31527c(_0x21c23b._0x1be4a2,_0x21c23b._0x5a55e0)+_0x10138b(_0x21c23b._0x1c526d,0x53)+_0x31527c(_0x21c23b._0x49c2c2,_0x21c23b._0x2b81da));}function isLanIpv4(_0x525106){const _0x24c2bb={_0x189836:0x5dd,_0x1bdd91:0x5d4,_0x190f9a:0x4f9,_0xd52fa9:0xb5,_0x3e1684:0x263,_0x224f0a:0x945,_0x249a8b:0x590,_0x5b6cfe:0x606,_0x13f37b:0x50c,_0x9383bb:0x4d7,_0x55217a:0x723,_0x4ce128:0x6cf},_0x1a8ddc={_0x3d6303:0x596},_0x1bf301={};_0x1bf301['ogHXI']=function(_0x3fb622,_0x5ada81){return _0x3fb622<=_0x5ada81;};function _0x93a19f(_0x3a83e2,_0x7ec13){return _0xb2a5b9(_0x7ec13,_0x3a83e2-_0x1a8ddc._0x3d6303);}_0x1bf301[_0x41cc9e(_0x24c2bb._0x189836,_0x24c2bb._0x1bdd91)]=function(_0x360bcf,_0x520983){return _0x360bcf===_0x520983;},_0x1bf301[_0x93a19f(0x4d7,0x452)]=function(_0x319c04,_0x3376a2){return _0x319c04===_0x3376a2;},_0x1bf301[_0x41cc9e(0x269,_0x24c2bb._0x190f9a)]=function(_0x7f7a0d,_0x8752fd){return _0x7f7a0d===_0x8752fd;};const _0x435a22=_0x1bf301;if(!isValidIpv4(_0x525106))return![];if(_0x525106===_0x41cc9e(_0x24c2bb._0xd52fa9,_0x24c2bb._0x3e1684))return![];function _0x41cc9e(_0x17c6a9,_0xaa04f9){return _0xb2a5b9(_0x17c6a9,_0xaa04f9-0x489);}const [_0x5ce264,_0x300e40,_0x23372e,_0x58d5b3]=_0x525106['split']('.')[_0x93a19f(0x71f,_0x24c2bb._0x224f0a)](Number);if(_0x5ce264===0x7f)return![];if(_0x5ce264===0xa9&&_0x300e40===0xfe)return![];if(_0x5ce264>=0xe0&&_0x435a22[_0x93a19f(_0x24c2bb._0x249a8b,_0x24c2bb._0x5b6cfe)](_0x5ce264,0xef))return![];if(_0x435a22[_0x41cc9e(_0x24c2bb._0x13f37b,0x5d4)](_0x5ce264,0xff)&&_0x435a22['VCBoq'](_0x300e40,0xff)&&_0x435a22['VCBoq'](_0x23372e,0xff)&&_0x58d5b3===0xff)return![];if(_0x435a22[_0x93a19f(_0x24c2bb._0x9383bb,_0x24c2bb._0x55217a)](_0x5ce264,0xc6)&&(_0x300e40===0x12||_0x435a22[_0x41cc9e(_0x24c2bb._0x4ce128,0x4f9)](_0x300e40,0x13)))return![];return isRfc1918(_0x525106)||isCgnat(_0x525106);}function isRfc1918(_0x308077){const _0x19ecd5={_0x20948a:0x420,_0x2b9ea5:0x256,_0xbdac32:0x621},_0x2ffe5a={_0x4961ad:0x452},_0x42a046={_0x467ae8:0x5f2},_0x332514={};function _0x2943fb(_0x3a31fa,_0x5a57aa){return _0xb2a5b9(_0x3a31fa,_0x5a57aa-_0x42a046._0x467ae8);}_0x332514[_0x2ee3ca(_0x19ecd5._0x20948a,_0x19ecd5._0x2b9ea5)]=function(_0x1729b9,_0x4f509d){return _0x1729b9>=_0x4f509d;};const _0xfae635=_0x332514;function _0x2ee3ca(_0x46956a,_0x40f79b){return _0xb2a5b9(_0x46956a,_0x40f79b-_0x2ffe5a._0x4961ad);}const [_0x41b4fa,_0x4c43ca]=_0x308077[_0x2ee3ca(0x6ed,_0x19ecd5._0xbdac32)]('.')['map'](Number);return _0x41b4fa===0xa||_0x41b4fa===0xac&&_0xfae635['RslAi'](_0x4c43ca,0x10)&&_0x4c43ca<=0x1f||_0x41b4fa===0xc0&&_0x4c43ca===0xa8;}function isCgnat(_0x534db3){const _0x6f24c8={_0x16d54f:0x742};function _0x565f06(_0x1299da,_0x19e233){return _0x3a90bd(_0x19e233,_0x1299da-_0x6f24c8._0x16d54f);}const _0x3b7b26={};_0x3b7b26[_0x565f06(0x805,0x5dc)]=function(_0x985814,_0x1c81b5){return _0x985814<=_0x1c81b5;};function _0x29df76(_0x146841,_0x36b780){return _0x3a90bd(_0x146841,_0x36b780-0x75);}const _0x1354b3=_0x3b7b26,[_0x5ad106,_0x47fa0e]=_0x534db3[_0x29df76(-0xb,0x23d)]('.')['map'](Number);return _0x5ad106===0x64&&_0x47fa0e>=0x40&&_0x1354b3[_0x29df76(0x270,0x138)](_0x47fa0e,0x7f);}function isValidIpv4(_0x1b1de5){const _0x509741={_0x3655e6:0x506,_0x4853d6:0x2ea},_0x11f78b={_0x42ce2c:0x14};function _0x243801(_0x482801,_0x367cb7){return _0x3a90bd(_0x367cb7,_0x482801-0x47f);}function _0x25130f(_0xd80897,_0x2ece80){return _0x3a90bd(_0xd80897,_0x2ece80-_0x11f78b._0x42ce2c);}const _0x588e17=_0x1b1de5['split']('.');return _0x588e17[_0x243801(_0x509741._0x3655e6,0x3d7)]===0x4&&_0x588e17[_0x25130f(_0x509741._0x4853d6,0x295)](_0x252a49=>{if(!/^\d+$/['test'](_0x252a49))return![];const _0x127318=Number(_0x252a49);return _0x127318>=0x0&&_0x127318<=0xff;});}import{readFileSync as _0x1e414f}from'fs';import{dirname as _0x4c7487,resolve}from'path';import{fileURLToPath}from'url';function readCliVersion(){const _0x744fc4={_0x5afe90:0x394,_0x48af8c:0x61b,_0x310a5c:0x3bf,_0x2a861b:0x19c},_0x38eddf={};_0x38eddf[_0x1b082d(_0x744fc4._0x5afe90,_0x744fc4._0x48af8c)]='unknown';const _0x1a439d=_0x38eddf,_0x3a28fc=_0x4c7487(fileURLToPath(import.meta.url)),_0x358562=resolve(_0x3a28fc,_0x8bce1c(0x49a,0x29c)+_0x1b082d(0x61e,0x398)),_0x282115=_0x1e414f(_0x358562,'utf8');function _0x1b082d(_0x378812,_0x22a644){return _0xb2a5b9(_0x22a644,_0x378812-0x498);}const _0x1cd0fb=JSON[_0x1b082d(0x789,0x4eb)](_0x282115);function _0x8bce1c(_0xd0e3bd,_0x40acc4){return _0xb2a5b9(_0x40acc4,_0xd0e3bd-0x5a0);}return _0x1cd0fb[_0x1b082d(_0x744fc4._0x310a5c,_0x744fc4._0x2a861b)]??_0x1a439d[_0x8bce1c(0x49c,0x20b)];}function buildPairingJson(_0x1bde21,_0x1f3aa8,_0x2fb131,_0x5b4930){const _0xe73f8c={_0x3be797:0x278,_0x18b1ee:0x69d,_0x127646:0x517,_0x4cf3eb:0x6a4,_0xc67504:0x5db,_0xf38bef:0x848,_0x22faa2:0x58e,_0x43132b:0x3ac,_0x86ea83:0x4cd,_0x48e6d1:0x3ba,_0x345c9f:0x349,_0x3d01cc:0x3c7,_0x37b069:0x605,_0x1cb5b4:0x3d4,_0x56b72e:0x620,_0xd0dbe3:0x4a6,_0x325642:0x730,_0x5810f2:0x212,_0x323890:0x1d4,_0x1b8b5a:0x3aa,_0x38e859:0x5e0,_0x530bb1:0x47d,_0x389682:0x33a,_0x4d2432:0x5ed,_0x3b9f93:0x5b6,_0x43eebe:0x5f4,_0x4acb51:0x384,_0x635e73:0x848,_0x258365:0x42a},_0xfdb89={_0x42dc0a:0x2ff},_0x3c76e6={};_0x3c76e6['installe'+'d']=_0x2fb131[_0x4db218(_0xe73f8c._0x3be797,0x27a)+'d'],_0x3c76e6[_0x423d3d(_0xe73f8c._0x18b1ee,0x6f3)]=_0x2fb131[_0x4db218(0x466,0x66c)];function _0x423d3d(_0x1913d5,_0x19bd0c){return _0xb2a5b9(_0x1913d5,_0x19bd0c-0x58c);}_0x3c76e6[_0x4db218(_0xe73f8c._0x127646,_0xe73f8c._0x4cf3eb)]=_0x2fb131[_0x423d3d(0x7bf,0x7a4)],_0x3c76e6[_0x4db218(0x28c,0x4bc)+_0x423d3d(_0xe73f8c._0xc67504,_0xe73f8c._0xf38bef)]=_0x2fb131['serviceP'+_0x4db218(0x5bb,0x4e2)],_0x3c76e6[_0x423d3d(0x845,0x65a)]=_0x2fb131[_0x423d3d(0x4fc,0x65a)],_0x3c76e6[_0x4db218(0x31a,_0xe73f8c._0x22faa2)+_0x4db218(_0xe73f8c._0x43132b,_0xe73f8c._0x86ea83)]=_0x2fb131['errorLog'+_0x4db218(0x3ac,_0xe73f8c._0x48e6d1)],_0x3c76e6[_0x4db218(0x48f,0x403)]=_0x2fb131['pid'];const _0x99b113={};_0x99b113['ok']=!![],_0x99b113['action']=_0x1bde21[_0x423d3d(_0xe73f8c._0x345c9f,_0xe73f8c._0x3d01cc)],_0x99b113['message']=_0x5b4930,_0x99b113[_0x423d3d(_0xe73f8c._0x37b069,0x37b)+'d']=_0x1bde21[_0x423d3d(0x3d6,0x661)][_0x4db218(0xee,-0x12b)+'d'],_0x99b113[_0x4db218(0x43b,0x4d9)]=_0x1bde21[_0x4db218(_0xe73f8c._0x1cb5b4,_0xe73f8c._0x56b72e)][_0x4db218(0x43b,0x587)],_0x99b113[_0x423d3d(0x5b5,0x52c)+'l']=_0x1bde21[_0x4db218(0x3d4,_0xe73f8c._0xd0dbe3)][_0x423d3d(_0xe73f8c._0x325642,0x52c)+'l'],_0x99b113[_0x423d3d(_0xe73f8c._0x5810f2,0x359)+'Id']=_0x1bde21['config'][_0x423d3d(_0xe73f8c._0x323890,0x359)+'Id'];function _0x4db218(_0x16ae07,_0x27b426){return _0xb2a5b9(_0x27b426,_0x16ae07-_0xfdb89._0x42dc0a);}return _0x99b113['accessCo'+'de']=_0x1bde21[_0x423d3d(_0xe73f8c._0x1b8b5a,_0xe73f8c._0x38e859)+'de'],_0x99b113[_0x4db218(0x353,0x2db)+'deExpire'+_0x4db218(0x329,_0xe73f8c._0x530bb1)]=_0x1bde21[_0x423d3d(_0xe73f8c._0x389682,_0xe73f8c._0x38e859)+_0x423d3d(0x733,_0xe73f8c._0x4d2432)+_0x423d3d(0x371,_0xe73f8c._0x3b9f93)],_0x99b113[_0x423d3d(_0xe73f8c._0x43eebe,_0xe73f8c._0x4acb51)+_0x423d3d(0xaef,_0xe73f8c._0x635e73)]=_0x1f3aa8,_0x99b113[_0x4db218(_0xe73f8c._0x258365,0x3f8)]=_0x3c76e6,_0x99b113;}function buildLocalPairingJson(_0x5be4aa){const _0x2716a1={_0x55c225:0x2ce,_0x364b89:0x4e0,_0xa02912:0xff,_0x2ae852:0x18c,_0xbdd6ff:0x304,_0x121bd3:0x1c7,_0x13e1f9:0x256,_0x4ad7d2:0x1ff,_0x111051:0x198,_0x1078b5:0x135,_0x19c76b:0xdf,_0x5baab6:0x249,_0x91d5fb:0xda,_0x530c29:0x59b},_0x2685e5={_0xd9c997:0x103};function _0x4a6e10(_0x21fe11,_0x4f7308){return _0xb2a5b9(_0x21fe11,_0x4f7308-0x2df);}const _0x43cda0={};_0x43cda0[_0x4a6e10(_0x2716a1._0x55c225,_0x2716a1._0x364b89)]='local';function _0x159b22(_0x20f3b4,_0x1145c3){return _0xb2a5b9(_0x20f3b4,_0x1145c3-_0x2685e5._0xd9c997);}const _0x5c2b65=_0x43cda0,_0x5ca4d1={};return _0x5ca4d1['ok']=!![],_0x5ca4d1[_0x4a6e10(_0x2716a1._0xa02912,0x11a)]=_0x5c2b65[_0x159b22(_0x2716a1._0x2ae852,_0x2716a1._0xbdd6ff)],_0x5ca4d1['message']=_0x5be4aa[_0x159b22(-_0x2716a1._0x121bd3,-0x3f)],_0x5ca4d1[_0x159b22(0x1a5,_0x2716a1._0x13e1f9)+'rl']=_0x5be4aa[_0x4a6e10(0x486,0x432)+'rl'],_0x5ca4d1[_0x4a6e10(0x20f,_0x2716a1._0x4ad7d2)]=_0x5be4aa[_0x4a6e10(0x1a2,0x1ff)],_0x5ca4d1[_0x159b22(-_0x2716a1._0x111051,-_0x2716a1._0x1078b5)+'t']=_0x5be4aa[_0x4a6e10(-_0x2716a1._0x19c76b,0xa7)+'t'],_0x5ca4d1[_0x4a6e10(0x62,0xd7)+_0x159b22(_0x2716a1._0x5baab6,0x3bf)]=_0x5be4aa[_0x159b22(-_0x2716a1._0x91d5fb,-0x105)+_0x4a6e10(0x429,_0x2716a1._0x530c29)],_0x5ca4d1;}function _0xb2a5b9(_0x1d6524,_0x3bef85){return _0x346a(_0x3bef85- -0x36d,_0x1d6524);}import{mkdirSync as _0x203a4f,writeFileSync as _0x3c593}from'fs';import{dirname as _0x6ca6ae,isAbsolute,join as _0xbf861c,resolve as _0x19bcfa}from'path';import _0xf4f66e from'qrcode';var DEFAULT_QR_DIR=getOpenClawMediaDir();async function writePairingQrPng(_0x4c63df,_0x34f9a9){const _0x27a6fb={_0x41725f:0x73b,_0x2a0b23:0x8c2,_0x3edc6f:0xa46,_0x1b76ff:0x86e},_0x1aee6d={_0x1001b7:0x663},_0xa00b5a={_0x480d72:0x1c3},_0x4cceba={'jFNmc':function(_0x8d6062,_0x1a8543,_0xe63ce3){return _0x8d6062(_0x1a8543,_0xe63ce3);}},_0x6ea2c7=resolveQrOutputPath(_0x4c63df[_0x27c08b(0x291,0x27d)][_0x27c08b(-0x55,0x8b)+'d'],_0x34f9a9);function _0x27c08b(_0x3792ff,_0x41c9a6){return _0x3a90bd(_0x41c9a6,_0x3792ff-_0xa00b5a._0x480d72);}function _0x2a1c27(_0x4994b0,_0x22c091){return _0x3a90bd(_0x4994b0,_0x22c091-_0x1aee6d._0x1001b7);}return _0x4cceba[_0x2a1c27(_0x27a6fb._0x41725f,_0x27a6fb._0x2a0b23)](writeQrPng,_0x4c63df[_0x2a1c27(_0x27a6fb._0x3edc6f,_0x27a6fb._0x1b76ff)+'d'],_0x6ea2c7);}async function writeRawQrPng(_0x233560,_0x7b1fd,_0x58ddb9){const _0xaaf6be={_0x537de6:0x2ea,_0x28c581:0x1c8},_0x22fe0f={_0x1e1010:0x103},_0x3a6d02={'DjHkF':function(_0x3ed640,_0x38f56e,_0x56c21d){return _0x3ed640(_0x38f56e,_0x56c21d);}};function _0x9bfe2e(_0xf60aab,_0x47adc9){return _0x3a90bd(_0xf60aab,_0x47adc9-_0x22fe0f._0x1e1010);}const _0x438d5a=resolveQrOutputPath(_0x7b1fd,_0x58ddb9);return _0x3a6d02[_0x9bfe2e(_0xaaf6be._0x537de6,_0xaaf6be._0x28c581)](writeQrPng,_0x233560,_0x438d5a);}async function writeQrPng(_0x4fa99e,_0x479ac4){const _0x3fa8b3={_0x917c16:0x5a2,_0x5aeabe:0x749,_0x3062db:0x43e,_0x4f1ebd:0x584,_0x1ddef3:0x7eb,_0x212ca1:0x95c,_0x43248d:0x8e0,_0x51d112:0xb1c,_0x2d0e00:0x437,_0x52c7d4:0xa98,_0x505b1e:0x84c,_0x5b7924:0x5fe},_0x8f5801={_0x6d8717:0x66a},_0x24a0fa={};_0x24a0fa[_0x3b47fd(0x6fc,_0x3fa8b3._0x917c16)]=_0x4df671(0x398,0x522)+'g',_0x24a0fa[_0x4df671(_0x3fa8b3._0x5aeabe,0x9a9)]=_0x4df671(0x45f,0x421);function _0x3b47fd(_0x92f6cf,_0xe171c5){return _0xb2a5b9(_0x92f6cf,_0xe171c5-_0x8f5801._0x6d8717);}const _0x52a76a=_0x24a0fa,_0x3719da={};function _0x4df671(_0x63df6d,_0x28fe9d){return _0xb2a5b9(_0x28fe9d,_0x63df6d-0x585);}_0x3719da[_0x4df671(_0x3fa8b3._0x3062db,0x4a7)+'e']=!![],_0x203a4f(_0x6ca6ae(_0x479ac4),_0x3719da);const _0x1857f3={};_0x1857f3[_0x3b47fd(_0x3fa8b3._0x4f1ebd,0x76c)]=_0x52a76a[_0x3b47fd(0x325,0x5a2)],_0x1857f3[_0x4df671(0x6d5,_0x3fa8b3._0x1ddef3)+_0x3b47fd(0xb43,_0x3fa8b3._0x212ca1)+_0x3b47fd(_0x3fa8b3._0x43248d,0x8b2)]='M',_0x1857f3[_0x3b47fd(_0x3fa8b3._0x51d112,0x944)]=0x1,_0x1857f3[_0x4df671(_0x3fa8b3._0x2d0e00,0x699)]=0x2d0;const _0x488f44=await _0xf4f66e[_0x3b47fd(_0x3fa8b3._0x52c7d4,_0x3fa8b3._0x505b1e)+'L'](_0x4fa99e,_0x1857f3),_0x2dc3f7=_0x488f44['replace'](/^data:image\/png;base64,/,'');return _0x3c593(_0x479ac4,Buffer[_0x4df671(0x656,0x893)](_0x2dc3f7,_0x52a76a[_0x3b47fd(_0x3fa8b3._0x5b7924,0x82e)])),_0x479ac4;}function resolveQrOutputPath(_0x15acba,_0x11c7ea){const _0x8fee8e={_0x4acf05:0x6cc},_0x1090e3={'kpQYd':function(_0x968363,_0x4e7a0b,_0x2703cc){return _0x968363(_0x4e7a0b,_0x2703cc);}},_0x345d20=_0x11c7ea?.[_0x4b490b(0x85d,_0x8fee8e._0x4acf05)]();if(_0x345d20)return isAbsolute(_0x345d20)?_0x345d20:_0x19bcfa(_0x345d20);function _0x4b490b(_0x4150e7,_0x3cbe73){return _0x3a90bd(_0x3cbe73,_0x4150e7-0x5cb);}return _0x1090e3['kpQYd'](_0xbf861c,DEFAULT_QR_DIR,_0x15acba+'.png');}function decidePairServiceAction(_0x46d40f,_0x472c19){const _0x25d34e={_0xd4b4b:0x801,_0x1140e1:0x6a,_0x1a72ab:0x51b,_0x3f2897:0x5e4,_0x1ad719:0x4cd,_0x206e21:0x688,_0x23a52b:0xc7,_0x16369f:0x15b},_0x8d5f9={_0xd43ac4:0x554},_0x10421f={_0x5e5df0:0x4a},_0x20a29c={};_0x20a29c[_0x3e1aa4(_0x25d34e._0xd4b4b,0x5d2)]='register'+'ed';function _0xaf40ec(_0x25d3db,_0x2cf3ff){return _0xb2a5b9(_0x2cf3ff,_0x25d3db- -_0x10421f._0x5e5df0);}function _0x3e1aa4(_0xece0c5,_0x5971d9){return _0xb2a5b9(_0x5971d9,_0xece0c5-_0x8d5f9._0xd43ac4);}_0x20a29c[_0xaf40ec(0xa7,-_0x25d34e._0x1140e1)]=_0x3e1aa4(_0x25d34e._0x1a72ab,_0x25d34e._0x3f2897);const _0x423976=_0x20a29c;if(!_0x472c19[_0x3e1aa4(_0x25d34e._0x1ad719,_0x25d34e._0x206e21)+'d'])return'install';if(!_0x472c19[_0xaf40ec(0x11d,-_0x25d34e._0x23a52b)])return'restart';if(_0x46d40f[_0x3e1aa4(0x38f,0x432)]===_0x423976['YDpfc'])return'restart';return _0x423976[_0xaf40ec(0xa7,-_0x25d34e._0x16369f)];}async function main(){const _0x9755ff={_0x4382c0:0x396,_0x2f524c:0x184,_0xe81ace:0xf2,_0x2edee1:0x5cc,_0x47a349:0x750,_0x20ac9b:0x34c,_0x5f5543:0x26e,_0x10983a:0x622,_0x56389f:0x24d,_0x578d02:0x306,_0x22f6ed:0x190,_0x2b4913:0x358,_0x14fde2:0x3,_0x3f58cf:0x72,_0x4ee8d2:0x3ec,_0x2ec5da:0x3ff,_0xaf669:0x157,_0x2d507f:0x127,_0x21abbb:0x3cb,_0x49b9c6:0x1fa,_0xcd8494:0x213,_0x288a07:0x14e,_0x5c5dad:0x2d2,_0x127741:0x7e,_0x2d68ce:0x7fc,_0x2b41ea:0x5f2,_0x186739:0x625,_0xbbd43b:0xae,_0x4f6e23:0xf4,_0x2183e0:0x210,_0xfc4718:0x409,_0xb15445:0x232,_0x14dcc7:0x585,_0x3f7a56:0x465,_0x339634:0x249,_0x546f7f:0x1b3,_0x5d176b:0x19b,_0x4f50c7:0x60c,_0x4dfbbd:0x5e5,_0x47bd27:0x29b,_0x113233:0x54d,_0x1f96c2:0x4cd,_0x20979d:0x31a,_0x5626f0:0x70,_0x527c41:0x1c2,_0x205e8c:0xb0,_0x1a03df:0x1f2,_0x49f829:0x2e7,_0x49f275:0x6b6,_0x36dcd5:0x4f6,_0x18dbdd:0x6c5,_0x43ddec:0x78a,_0x420aec:0x296,_0xa6842c:0x44,_0x108ab4:0x367,_0x4251d0:0x1af,_0x54ffee:0x2d7,_0x59b76f:0x95,_0x1aecc3:0x5c,_0x4f127b:0xfc,_0x3cc5d1:0x4c4,_0x5ac94a:0x1b5,_0x5b5cef:0x1e6,_0x218442:0x38f,_0x14920e:0xe7,_0x266525:0x124,_0x37beaf:0x628,_0x407c3c:0x48c,_0x12964f:0x492,_0x1b1416:0x18a,_0x34860c:0xd2,_0x3f9f33:0x103,_0x329194:0x11e,_0xbdb769:0x2b6,_0x1bf62c:0x206,_0x101d73:0x134,_0x157e01:0x125,_0x12bf92:0x426,_0xe8641c:0x29d,_0x443257:0xff,_0x33e245:0x246,_0x10993a:0x648,_0x52ddbe:0x3ad,_0x190582:0x209,_0x5ae5c4:0x38b,_0x31a46c:0x5ed,_0x44d1d6:0x792,_0x5a591c:0x3e5,_0x494ede:0x22c,_0x33dd03:0x1eb,_0xb602e7:0x36b,_0x151ca6:0x579,_0x35cb7a:0x3bf,_0x5585dc:0x3a1,_0x442601:0x235,_0x125498:0x60a,_0x5f15e6:0x5f3,_0x4cdcb1:0x223,_0x45e5e0:0x1aa,_0x6ce754:0x2a6,_0xb1ca3e:0x44d,_0x48c585:0x697,_0x29c5f4:0x163,_0x48181e:0x3b0,_0x462bb7:0x4ce,_0x8522c6:0x35c,_0x5bf6e0:0x246,_0x43344b:0x68,_0x3c7415:0x4c,_0x21d91b:0x1ee,_0x1caaac:0x355,_0x1d88e2:0x32d,_0x1c0d61:0x248,_0x444ea1:0x2d8,_0x3a7fa1:0x333,_0xa901fc:0x49c,_0x1de491:0xae,_0x1ca163:0x6f,_0x230732:0x3be,_0x5af5f9:0x185,_0x2153bf:0x1c5,_0x214a43:0x15,_0x417b66:0x435,_0x280fb9:0xc1,_0x1ad6b7:0x225,_0x10b816:0x48,_0x54e8a:0x436,_0x2149f3:0x1fd,_0x3d7488:0x94,_0x505f3c:0x31b,_0x257b0c:0x6d,_0x36b610:0x1b3,_0x5b6343:0x6b1,_0x555a83:0x404,_0x570fe3:0x131,_0xd57d10:0x17b,_0x1e50f0:0xd,_0x5c2120:0xcf,_0xf945f:0xd5,_0x3b323f:0x36c,_0x26e6a2:0x209,_0x3b4e7:0x65f,_0xc8e83b:0x2aa,_0x1660a6:0xd,_0x229c2a:0x220,_0x3e3591:0x4ae,_0x39bc0f:0x2af,_0x13af48:0xb5,_0x12d4b5:0x20d,_0x56d85c:0xb5,_0x2fb68d:0x36d,_0x5b5950:0xdb,_0x298e3e:0x458,_0x403876:0x6a2,_0x501e36:0x624,_0x3e5cda:0x24e,_0x3a2eaa:0x27f,_0x3ba8b1:0x5ff,_0x1a7584:0x367,_0x3221b3:0x1af,_0x192210:0x47d,_0x4b203f:0x77a,_0x448cdc:0x5bc,_0x496e13:0x345,_0x1f2acc:0x230,_0x2c7a0b:0x16c,_0x526bdb:0x10e,_0x46c9f5:0xb3,_0x1fe06d:0x39,_0xfaf3be:0xad,_0x29ee8:0x3d3,_0x49facb:0x3d1,_0x3bfb8c:0x444,_0xbdf4e8:0x488,_0x4deb95:0x6ab,_0x2c86db:0x16d,_0x44aa7e:0x6ce,_0x403511:0x85e,_0x53e75e:0x361,_0x3c6c10:0x3e,_0x15fd9f:0x11b,_0x4eaae3:0x3fc,_0x8e924d:0x62c,_0x290ceb:0x1f4,_0x3f8a8c:0x18e,_0x9ca022:0x5f1,_0x187088:0x1d,_0x7e753f:0x4b0,_0x16ae8f:0x270,_0x342d55:0x406,_0x35ffa0:0x390,_0x673369:0xf0,_0x1b4fa9:0x8f,_0x27c530:0x209,_0x1a8d8e:0x46d,_0x594fbf:0x356,_0x444c85:0x617,_0x592e8c:0x41e,_0x42e5ff:0x29a,_0x532fa6:0x6c2,_0x56d90d:0x1e9,_0x2e2dca:0x1c7,_0x289c38:0x83,_0x344212:0x2ea,_0x7e1a03:0x2da,_0x498a04:0x9c,_0x4b92b1:0x34a},_0x13c611={_0x593a12:0x1e3,_0x39c304:0xc9,_0x4115b1:0x1e3,_0x5359e3:0x34c,_0x3a6eee:0x223,_0x53fd94:0xd2,_0xe70e74:0x1aa,_0xc34a97:0x6c},_0x14ab2d={_0x18a694:0x20a,_0x4978e1:0xb8,_0x158ce7:0x37c,_0x5a4345:0x41c,_0x4c0d82:0x8ba,_0x14ed48:0xdc},_0x1f1f40={_0x406d60:0x1f4,_0x4e03e8:0x53,_0x350c5e:0x21c,_0x5c8637:0x330,_0x599c9f:0x5a1,_0x1b2f15:0x33e,_0xf9baf:0xd,_0x4b71c2:0x1ff,_0x29da2c:0x556,_0x12aa07:0x706,_0x40a763:0x4a7,_0x32b500:0x3d5,_0x4756f7:0x5f6,_0x1cc13f:0x485,_0x1a8ba0:0x2ef,_0xa01b46:0x456},_0x30120a={_0x580be8:0x4bf},_0x26a2e9={_0x40e847:0x401},_0x51c9ba={'FBVpi':_0x1b5ab4(0x1c6,0x3cb),'KMQOw':function(_0x430efb,_0x121d0c){return _0x430efb(_0x121d0c);},'XlsMi':'<unknown'+'>','PuJyC':function(_0x1599f0,_0x8a1634){return _0x1599f0(_0x8a1634);},'Sbvqe':_0x1b5ab4(0x50f,0x3af),'lxGwh':function(_0x485aaf,_0x2f6a07,_0x2cbefb){return _0x485aaf(_0x2f6a07,_0x2cbefb);},'QAdTW':_0x1b5ab4(0x3f3,_0x9755ff._0x4382c0)+'e','aRbQc':function(_0x6e6fc3,_0x323450){return _0x6e6fc3===_0x323450;},'GtVWF':function(_0x13a3ff,_0x58edca){return _0x13a3ff===_0x58edca;},'SdFPL':function(_0x34effa){return _0x34effa();},'mNBas':_0x1b5ab4(_0x9755ff._0x2f524c,_0x9755ff._0xe81ace),'qCqKR':function(_0x209e9,_0x16ea4e,_0x53b962,_0x290ad9){return _0x209e9(_0x16ea4e,_0x53b962,_0x290ad9);},'LnRwW':_0x2a8e41(0x3c4,0x57c)+_0x2a8e41(_0x9755ff._0x2edee1,_0x9755ff._0x47a349)+'ir','xILmw':function(_0xc930c1,_0x1e96a2,_0x361f57,_0x109d19,_0x1733e2,_0x35ed19,_0x544e56){return _0xc930c1(_0x1e96a2,_0x361f57,_0x109d19,_0x1733e2,_0x35ed19,_0x544e56);},'iSzNI':function(_0xe25623,_0x169cf8,_0x21c2d5){return _0xe25623(_0x169cf8,_0x21c2d5);},'QXzUJ':function(_0x854faa,_0x28179f){return _0x854faa in _0x28179f;},'HUJnG':'--name','gvwOM':_0x2a8e41(0x249,_0x9755ff._0x20ac9b)+'e','TorZa':function(_0x56214d,_0x226ac9,_0x2e244d){return _0x56214d(_0x226ac9,_0x2e244d);},'cFnDD':_0x1b5ab4(0x1f3,0x32f)+_0x2a8e41(0x3e5,_0x9755ff._0x5f5543)+_0x2a8e41(_0x9755ff._0x10983a,0x547)+_0x2a8e41(0x39b,_0x9755ff._0x56389f)+_0x2a8e41(_0x9755ff._0x578d02,_0x9755ff._0x22f6ed)+_0x2a8e41(0x22c,_0x9755ff._0x2b4913)+_0x1b5ab4(_0x9755ff._0x14fde2,-0x6b),'VPNdn':function(_0x5876e6,_0x17a72c){return _0x5876e6===_0x17a72c;},'HVHgG':_0x1b5ab4(-0x219,_0x9755ff._0x3f58cf),'FAXDa':function(_0x34cc09,_0x2366ac,_0x2cd59b){return _0x34cc09(_0x2366ac,_0x2cd59b);},'WElWC':function(_0x49454b){return _0x49454b();},'Wvoet':function(_0x580f62,_0x53d03f){return _0x580f62 in _0x53d03f;},'hMuon':function(_0xe449c2){return _0xe449c2();},'BjNCv':function(_0x353895){return _0x353895();},'qdnjQ':_0x1b5ab4(_0x9755ff._0x4ee8d2,0x1b4),'uzFRy':_0x1b5ab4(0x616,_0x9755ff._0x2ec5da)+'backgrou'+_0x1b5ab4(_0x9755ff._0xaf669,_0x9755ff._0x2d507f)+_0x1b5ab4(_0x9755ff._0x21abbb,0x303),'BtjmF':'uninstal'+'l','Fguvc':_0x2a8e41(0x46c,_0x9755ff._0x49b9c6)+_0x1b5ab4(0x141,-0x3d)+_0x1b5ab4(_0x9755ff._0xcd8494,0x127)+_0x2a8e41(0x4a8,0x2e9)+_0x1b5ab4(0x300,_0x9755ff._0x288a07),'xQPCg':_0x1b5ab4(0x2b7,0x1c6),'rNcyf':_0x1b5ab4(-_0x9755ff._0x5c5dad,-_0x9755ff._0x127741),'OeSSy':_0x1b5ab4(0x294,0x349),'ZNOri':_0x2a8e41(0x641,_0x9755ff._0x2d68ce),'pndFx':function(_0x1dbfdf,_0x1c796d,_0x5772e2){return _0x1dbfdf(_0x1c796d,_0x5772e2);},'boPKl':function(_0x24a004,_0x5a2a2e){return _0x24a004(_0x5a2a2e);},'ySrRN':function(_0x26db55,_0x1a5105){return _0x26db55===_0x1a5105;},'tRLOO':function(_0x842e30,_0x107108){return _0x842e30>_0x107108;},'ePCbm':'SIGINT'},[,,_0x2c20bd=_0x51c9ba[_0x2a8e41(_0x9755ff._0x2b41ea,_0x9755ff._0x186739)],..._0x45fc5b]=process[_0x1b5ab4(_0x9755ff._0xbbd43b,-_0x9755ff._0x4f6e23)];function _0x2a8e41(_0x57447a,_0x2fecd){return _0x3a90bd(_0x2fecd,_0x57447a-_0x26a2e9._0x40e847);}const _0x3f5ec6=_0x51c9ba[_0x2a8e41(0x6af,0x5f5)](hasFlag,_0x45fc5b,_0x51c9ba[_0x2a8e41(0x208,0x3ee)]),_0x42f4cf=hasFlag(_0x45fc5b,_0x2a8e41(_0x9755ff._0x2183e0,0xbc));if(_0x51c9ba[_0x2a8e41(_0x9755ff._0xfc4718,0x243)](_0x2c20bd,'pair')){const _0x503ad5=readPairSubcommand(_0x45fc5b),_0x542680=_0x51c9ba['GtVWF'](_0x503ad5,_0x2a8e41(0x53c,0x4c6))||hasFlag(_0x45fc5b,_0x1b5ab4(-_0x9755ff._0xb15445,0x60));if(_0x542680){const _0x7c3127=_0x51c9ba['SdFPL'](resolveGatewayAuth);if(_0x51c9ba[_0x2a8e41(_0x9755ff._0x14dcc7,_0x9755ff._0x3f7a56)]in _0x7c3127)throw new Error(_0x7c3127['error']);const _0x57b452=readFlag(_0x45fc5b,_0x2a8e41(_0x9755ff._0x339634,0x2ea)+'e'),_0x3d3922=buildLocalPairingInfo({'explicitUrl':readFlag(_0x45fc5b,_0x2a8e41(0x38e,0x591)),'gatewayToken':_0x7c3127[_0x1b5ab4(_0x9755ff._0x546f7f,_0x9755ff._0x5d176b)],'gatewayPassword':_0x7c3127[_0x2a8e41(0x6b9,0x697)]}),_0x12c94d=await _0x51c9ba['qCqKR'](writeRawQrPng,_0x3d3922[_0x2a8e41(_0x9755ff._0x4f50c7,_0x9755ff._0x4dfbbd)+'d'],_0x51c9ba[_0x2a8e41(_0x9755ff._0x47bd27,0xb6)],_0x57b452);if(_0x42f4cf){const _0x3dce3b={};_0x3dce3b[_0x2a8e41(_0x9755ff._0x113233,0x736)+'rl']=_0x3d3922[_0x2a8e41(0x54d,_0x9755ff._0x1f96c2)+'rl'],_0x3dce3b[_0x2a8e41(_0x9755ff._0x20979d,0x12d)]=_0x3d3922[_0x2a8e41(0x31a,_0x9755ff._0x5626f0)],_0x3dce3b[_0x2a8e41(_0x9755ff._0x527c41,_0x9755ff._0x205e8c)+'t']=_0x3d3922['expiresA'+'t'],_0x3dce3b[_0x2a8e41(_0x9755ff._0x1a03df,_0x9755ff._0x49f829)+_0x2a8e41(_0x9755ff._0x49f275,_0x9755ff._0x36dcd5)]=_0x12c94d,_0x3dce3b['message']=_0x2a8e41(_0x9755ff._0x18dbdd,_0x9755ff._0x43ddec)+'d\x20a\x20loca'+'l\x20gatewa'+_0x1b5ab4(0x19,_0x9755ff._0x420aec)+_0x1b5ab4(_0x9755ff._0xa6842c,0x65),printJson(_0x51c9ba[_0x1b5ab4(_0x9755ff._0x108ab4,_0x9755ff._0x4251d0)](buildLocalPairingJson,_0x3dce3b));}else _0x51c9ba[_0x1b5ab4(0x3b2,_0x9755ff._0x54ffee)](printLocalPairingInfo,_0x3d3922['gatewayU'+'rl'],_0x3d3922[_0x1b5ab4(_0x9755ff._0x59b76f,_0x9755ff._0x1aecc3)],_0x3d3922[_0x1b5ab4(-0x309,-_0x9755ff._0x4f127b)+'t'],_0x3d3922[_0x1b5ab4(_0x9755ff._0x3cc5d1,0x34e)+'d'],_0x12c94d,_0x51c9ba[_0x1b5ab4(-_0x9755ff._0x5ac94a,0xb4)](readFlag,_0x45fc5b,_0x2a8e41(0x38e,0x49a)));return;}const _0x48224f=hasFlag(_0x45fc5b,'--force');!_0x48224f&&await ensurePairPrerequisites();const _0x2a9fce=resolveGatewayAuth();if(_0x51c9ba['QXzUJ'](_0x51c9ba['mNBas'],_0x2a9fce))throw new Error(_0x2a9fce['error']);const _0x3ce2d0=readFlag(_0x45fc5b,_0x1b5ab4(_0x9755ff._0x5b5cef,0x2fe))??readFlag(_0x45fc5b,'-s')??_0x1b5ab4(_0x9755ff._0x218442,0x12e)+'registry'+'.clawket'+'.ai',_0x37e445=readFlag(_0x45fc5b,_0x51c9ba[_0x1b5ab4(-0x66,0x2d)])??readFlag(_0x45fc5b,'-n')??getDefaultBridgeDisplayName(),_0x3d6814=readFlag(_0x45fc5b,_0x51c9ba[_0x1b5ab4(-_0x9755ff._0x14920e,_0x9755ff._0x4f6e23)]),_0x3f3394={};_0x3f3394['serverUr'+'l']=_0x3ce2d0,_0x3f3394['displayN'+_0x1b5ab4(-0x1b4,-_0x9755ff._0x266525)]=_0x37e445,_0x3f3394[_0x2a8e41(_0x9755ff._0x2b4913,0x2de)+_0x2a8e41(0x6f4,_0x9755ff._0x37beaf)]=_0x2a9fce[_0x1b5ab4(-0x4c,0x19b)],_0x3f3394['gatewayP'+'assword']=_0x2a9fce[_0x1b5ab4(0x51e,0x3fb)];const _0x3c02e5=await pairGateway(_0x3f3394),_0x215b1d=await _0x51c9ba[_0x2a8e41(_0x9755ff._0x407c3c,_0x9755ff._0x12964f)](writePairingQrPng,_0x3c02e5,_0x3d6814),_0x2a026e=_0x51c9ba[_0x2a8e41(0x257,_0x9755ff._0x1b1416)](getServiceStatus),_0x264190=decidePairServiceAction(_0x3c02e5,_0x2a026e);if(_0x264190===_0x1b5ab4(_0x9755ff._0x34860c,_0x9755ff._0x3f9f33)){const _0x30365b=_0x51c9ba[_0x1b5ab4(_0x9755ff._0x329194,-0x67)](listRuntimeProcesses);if(_0x30365b[_0x1b5ab4(_0x9755ff._0xbdb769,0x1ca)]>0x1){stopRuntimeProcesses();const _0x3928a9=restartService(),_0x51b010=_0x2a8e41(0x4b5,0x56b)+_0x1b5ab4(_0x9755ff._0x1bf62c,0x36b)+_0x1b5ab4(-_0x9755ff._0x101d73,_0x9755ff._0x157e01)+_0x1b5ab4(_0x9755ff._0x12bf92,_0x9755ff._0xe8641c)+'es.\x20Rest'+_0x1b5ab4(-0x1b9,-_0x9755ff._0x443257)+_0x1b5ab4(-0x5b,_0x9755ff._0x33e245)+_0x1b5ab4(0x3ee,0x2aa)+_0x2a8e41(_0x9755ff._0x10993a,0x4f2)+_0x2a8e41(_0x9755ff._0x52ddbe,_0x9755ff._0xcd8494);_0x42f4cf?printJson(buildPairingJson(_0x3c02e5,_0x215b1d,_0x3928a9,_0x51b010)):(printPairingInfo(_0x3c02e5,_0x215b1d),printServiceResult(_0x51b010,_0x3928a9));return;}_0x42f4cf?printJson(buildPairingJson(_0x3c02e5,_0x215b1d,_0x2a026e,_0x51c9ba['cFnDD'])):(printPairingInfo(_0x3c02e5,_0x215b1d),console[_0x2a8e41(_0x9755ff._0x190582,_0x9755ff._0x5ae5c4)](_0x2a8e41(_0x9755ff._0x31a46c,_0x9755ff._0x44d1d6)+_0x2a8e41(_0x9755ff._0x5a591c,0x5be)+'ce\x20alrea'+_0x2a8e41(0x39b,0x33e)+'ng.\x20Left'+_0x2a8e41(_0x9755ff._0x494ede,-0x23)+'ed.'),_0x51c9ba[_0x1b5ab4(_0x9755ff._0x33dd03,0x1ce)](printServiceResult,null,_0x2a026e));return;}try{stopRuntimeProcesses();const _0x591324=_0x264190==='install'?installService():restartService(),_0x3996a1=_0x51c9ba[_0x2a8e41(_0x9755ff._0xb602e7,0x426)](_0x264190,_0x51c9ba[_0x1b5ab4(_0x9755ff._0x151ca6,0x3d8)])?'Auto-ins'+_0x2a8e41(0x418,0x1b6)+_0x1b5ab4(_0x9755ff._0x35cb7a,_0x9755ff._0x5585dc)+'d\x20servic'+'e.':_0x3c02e5[_0x2a8e41(_0x9755ff._0x442601,0x2fd)]===_0x2a8e41(0x1f9,0x321)+'ed'?_0x2a8e41(_0x9755ff._0x125498,0x369)+'dentity\x20'+_0x1b5ab4(0x3f,0x120)+'\x20Restart'+'ed\x20backg'+_0x1b5ab4(-0x1fa,0x57)+_0x2a8e41(_0x9755ff._0x5f15e6,0x5c9)+_0x2a8e41(0x276,0x15b)+'e\x20new\x20pa'+_0x1b5ab4(_0x9755ff._0x4cdcb1,0xf5):'Backgrou'+_0x2a8e41(_0x9755ff._0x5a591c,0x1f6)+_0x2a8e41(_0x9755ff._0x45e5e0,_0x9755ff._0x6ce754)+_0x2a8e41(_0x9755ff._0xb1ca3e,_0x9755ff._0x48c585)+_0x2a8e41(0x322,_0x9755ff._0x29c5f4)+'pped.\x20Re'+_0x1b5ab4(-0x48,0x1b0)+'it.';_0x42f4cf?printJson(buildPairingJson(_0x3c02e5,_0x215b1d,_0x591324,_0x3996a1)):(_0x51c9ba['lxGwh'](printPairingInfo,_0x3c02e5,_0x215b1d),printServiceResult(_0x3996a1,_0x591324));}catch(_0x13fba9){if(isAutostartUnsupportedError(_0x13fba9)){const _0x5260d2=await startTransientRuntime(),_0x2a1881=buildUnsupportedAutostartMessage(_0x5260d2);_0x42f4cf?printJson(buildPairingJson(_0x3c02e5,_0x215b1d,_0x5260d2,_0x2a1881)):(printPairingInfo(_0x3c02e5,_0x215b1d),_0x51c9ba[_0x2a8e41(0x55f,0x6a3)](printServiceResult,_0x2a1881,_0x5260d2));return;}console[_0x2a8e41(_0x9755ff._0x48181e,_0x9755ff._0x462bb7)](_0x2a8e41(_0x9755ff._0x8522c6,_0x9755ff._0x5bf6e0)+_0x1b5ab4(0x2d9,_0x9755ff._0x43344b)+'d,\x20but\x20s'+_0x2a8e41(0x40e,0x205)+_0x1b5ab4(-_0x9755ff._0x3c7415,-0xa3)+_0x2a8e41(_0x9755ff._0x21d91b,_0x9755ff._0x1caaac)+':\x20'+formatError2(_0x13fba9)),console['error']('You\x20can\x20'+_0x1b5ab4(-0x327,-0xb9)+_0x1b5ab4(_0x9755ff._0x1d88e2,_0x9755ff._0x1c0d61)+_0x2a8e41(_0x9755ff._0x444ea1,_0x9755ff._0x3a7fa1)+_0x2a8e41(0x35a,_0x9755ff._0xa901fc)+_0x2a8e41(0x5de,0x5c4)+_0x2a8e41(0x39e,_0x9755ff._0x56389f)+_0x1b5ab4(_0x9755ff._0x1de491,_0x9755ff._0x1ca163)),process[_0x2a8e41(_0x9755ff._0x230732,0x4c3)]=0x1;}return;}if(_0x2c20bd===_0x1b5ab4(_0x9755ff._0x5af5f9,_0x9755ff._0x2153bf)+_0x1b5ab4(-_0x9755ff._0x214a43,0x123)){const _0x599ca7=readFlag(_0x45fc5b,_0x2a8e41(0x249,_0x9755ff._0x417b66)+'e'),_0x3ae017=_0x51c9ba['WElWC'](resolveGatewayAuth);if(_0x51c9ba[_0x1b5ab4(_0x9755ff._0x280fb9,_0x9755ff._0x1ad6b7)](_0x1b5ab4(-_0x9755ff._0x10b816,0xf2),_0x3ae017))throw new Error(_0x3ae017['error']);const _0x6174ac={};_0x6174ac['gatewayT'+_0x1b5ab4(0x490,_0x9755ff._0x54e8a)]=_0x3ae017[_0x1b5ab4(0x1b9,0x19b)],_0x6174ac['gatewayP'+_0x1b5ab4(_0x9755ff._0x2149f3,_0x9755ff._0x3d7488)]=_0x3ae017[_0x2a8e41(0x6b9,0x5c4)];const _0x1b7d56=await refreshAccessCode(_0x6174ac),_0x1ed354=await writePairingQrPng(_0x1b7d56,_0x599ca7);_0x42f4cf?printJson(buildPairingJson(_0x1b7d56,_0x1ed354,_0x51c9ba[_0x2a8e41(_0x9755ff._0x505f3c,_0x9755ff._0x257b0c)](getServiceStatus),'Pairing\x20'+'code\x20ref'+'reshed.')):printPairingInfo(_0x1b7d56,_0x1ed354);return;}if(_0x2c20bd===_0x2a8e41(0x330,_0x9755ff._0x36b610)||_0x2c20bd===_0x1b5ab4(_0x9755ff._0x5b6343,_0x9755ff._0x555a83)){const _0x209f8d=_0x51c9ba[_0x1b5ab4(0x29e,0xe7)](requirePairingConfig);stopRuntimeProcesses();const _0x259cef=_0x51c9ba[_0x1b5ab4(0x2ed,_0x9755ff._0x570fe3)](installService);console[_0x2a8e41(_0x9755ff._0x190582,_0x9755ff._0xd57d10)](_0x1b5ab4(-_0x9755ff._0x1e50f0,_0x9755ff._0x5c2120)+'d\x20backgr'+'ound\x20ser'+_0x1b5ab4(0x11f,0x220)+'\x20gateway'+'\x20'+_0x209f8d[_0x1b5ab4(-0x118,-_0x9755ff._0xf945f)+'d']+'.'),printServiceResult(null,_0x259cef);return;}if(_0x2c20bd===_0x51c9ba[_0x1b5ab4(_0x9755ff._0x3b323f,0x11e)]){const _0x32a238=requirePairingConfig();stopRuntimeProcesses();const _0x537151=restartService();console[_0x2a8e41(_0x9755ff._0x26e6a2,0x2dd)](_0x2a8e41(0x4ca,_0x9755ff._0x3b4e7)+_0x1b5ab4(0x90,-0x80)+_0x1b5ab4(0x472,_0x9755ff._0xc8e83b)+_0x1b5ab4(_0x9755ff._0x1660a6,_0x9755ff._0x229c2a)+_0x1b5ab4(_0x9755ff._0x3e3591,_0x9755ff._0x39bc0f)+'\x20'+_0x32a238[_0x1b5ab4(-0xdd,-0xd5)+'d']+'.'),printServiceResult(null,_0x537151);return;}function _0x1b5ab4(_0x35be45,_0x336112){return _0x3a90bd(_0x35be45,_0x336112-0x143);}if(_0x2c20bd==='stop'){const _0x13fa1e=stopService();_0x51c9ba[_0x1b5ab4(0x2a1,0x5d)](stopRuntimeProcesses),console[_0x1b5ab4(0x73,-_0x9755ff._0x13af48)](_0x51c9ba[_0x2a8e41(0x2da,_0x9755ff._0x12d4b5)]),printServiceResult(null,_0x13fa1e);return;}if(_0x2c20bd===_0x51c9ba[_0x1b5ab4(0x9a,_0x9755ff._0x2f524c)]){const _0x2eb07d=uninstallService();stopRuntimeProcesses(),console[_0x1b5ab4(0x154,-_0x9755ff._0x56d85c)](_0x51c9ba[_0x1b5ab4(-_0x9755ff._0x2fb68d,-_0x9755ff._0x5b5950)]),printServiceResult(null,_0x2eb07d);return;}if(_0x2c20bd===_0x51c9ba['xQPCg']){stopRuntimeProcesses(),stopService(),deletePairingConfig(),console[_0x2a8e41(0x209,0x3eb)](_0x2a8e41(_0x9755ff._0x298e3e,_0x9755ff._0x403876)+'pairing\x20'+_0x2a8e41(0x54e,_0x9755ff._0x501e36)+getPairingConfigPath());return;}if(_0x2c20bd===_0x51c9ba[_0x1b5ab4(0x3d8,_0x9755ff._0x3e5cda)]){printStatus();return;}if(_0x2c20bd===_0x51c9ba[_0x2a8e41(_0x9755ff._0x3a2eaa,0x1ef)]){const _0x3bdceb=Number(readFlag(_0x45fc5b,_0x1b5ab4(0x122,0x75))??_0x51c9ba[_0x2a8e41(_0x9755ff._0x3ba8b1,_0x9755ff._0x1a7584)]),_0x4c56bf=_0x51c9ba[_0x1b5ab4(0x131,_0x9755ff._0x3221b3)](parseLookbackToMs,_0x51c9ba['pndFx'](readFlag,_0x45fc5b,_0x2a8e41(_0x9755ff._0x192210,0x51a))??readFlag(_0x45fc5b,'-l')),_0x25e648=readRecentCliLogs({'lines':_0x3bdceb,'lastMs':_0x4c56bf,'includeErrorLog':hasFlag(_0x45fc5b,_0x2a8e41(0x66a,_0x9755ff._0x4b203f))});if(_0x42f4cf){const _0x4e2269={};_0x4e2269['ok']=!![],_0x4e2269[_0x2a8e41(0x4e4,_0x9755ff._0x448cdc)]=_0x25e648,_0x51c9ba[_0x1b5ab4(0x50b,_0x9755ff._0x496e13)](printJson,_0x4e2269);}else _0x25e648['length']===0x0?console['log'](_0x1b5ab4(0x1f3,_0x9755ff._0x1f2acc)+'ing\x20CLI\x20'+'logs\x20fou'+_0x2a8e41(0x54f,0x6da)):console[_0x2a8e41(_0x9755ff._0x26e6a2,_0x9755ff._0x2c7a0b)](_0x25e648[_0x1b5ab4(_0x9755ff._0x526bdb,-_0x9755ff._0x46c9f5)]('\x0a'));return;}if(_0x51c9ba[_0x1b5ab4(-0x1e,-_0x9755ff._0x1fe06d)](_0x2c20bd,_0x2a8e41(0x3ce,0x293))){const _0x44d7fd=await buildDoctorReport();_0x42f4cf?printJson(_0x44d7fd):printDoctorReport(_0x44d7fd);return;}if(_0x51c9ba[_0x1b5ab4(_0x9755ff._0x4f127b,_0x9755ff._0xfaf3be)](_0x2c20bd,'run')){const _0x49bbf9=requirePairingConfig(),_0x46b033=hasFlag(_0x45fc5b,_0x1b5ab4(_0x9755ff._0x29ee8,_0x9755ff._0x49facb)+'e'),_0x3f6060=listRuntimeProcesses()[_0x2a8e41(0x583,_0x9755ff._0x3bfb8c)](_0x5a4910=>_0x5a4910[_0x2a8e41(0x58a,0x7e0)]);_0x3f6060[_0x2a8e41(_0x9755ff._0xbdf4e8,_0x9755ff._0x4deb95)]>0x0&&(!_0x46b033&&(console['error'](_0x1b5ab4(0x90,-0xcd)+_0x1b5ab4(-0x15b,-0x3c)+_0x1b5ab4(0xf9,-0x7a)+'untime\x20i'+_0x1b5ab4(0x220,0x3e1)+_0x1b5ab4(0x2fe,_0x9755ff._0x2c86db)+_0x2a8e41(_0x9755ff._0x44aa7e,0x5e2)+(_0x51c9ba['tRLOO'](_0x3f6060['length'],0x1)?'s':'')+':\x20'+_0x3f6060['join'](',\x20')+(').\x20Run\x20\x22'+_0x2a8e41(0x5de,_0x9755ff._0x403511)+'stop\x22\x20fi'+'rst,\x20or\x20'+'rerun\x20wi'+_0x2a8e41(_0x9755ff._0x53e75e,0x3d5)+_0x1b5ab4(_0x9755ff._0x3c6c10,-_0x9755ff._0x15fd9f)+_0x2a8e41(0x298,0x3b3)+_0x2a8e41(0x663,_0x9755ff._0x4eaae3))),process[_0x2a8e41(_0x9755ff._0x8e924d,0x747)](0x1)),stopRuntimeProcesses());const _0x44cd0b=resolveGatewayUrl(readFlag(_0x45fc5b,_0x1b5ab4(0x3e4,0x24a)+_0x2a8e41(0x1b2,_0x9755ff._0x290ceb))??readFlag(_0x45fc5b,'-g')),_0x258e37=_0xaecd12=>{function _0xab0ab4(_0x1ee7ee,_0x2be681){return _0x1b5ab4(_0x1ee7ee,_0x2be681-0x231);}console['log']('['+Date[_0xab0ab4(_0x30120a._0x580be8,0x5eb)]()+']\x20'+_0xaecd12);};!_0x3f5ec6?(console['log']('Gateway\x20'+_0x2a8e41(0x19e,_0x9755ff._0x3f8a8c)+_0x49bbf9[_0x1b5ab4(-0x2dc,-0xd5)+'d']),console['log'](_0x2a8e41(0x29e,0x416)+_0x2a8e41(_0x9755ff._0x9ca022,0x4d2)+_0x49bbf9[_0x2a8e41(0x1c7,0x423)+'Id']),console[_0x2a8e41(_0x9755ff._0x190582,0x1a4)]('Gateway\x20'+_0x2a8e41(0x490,0x5a5)+_0x44cd0b),console[_0x1b5ab4(_0x9755ff._0x187088,-0xb5)](''),console[_0x1b5ab4(0x15,-_0x9755ff._0x13af48)](_0x1b5ab4(_0x9755ff._0x7e753f,_0x9755ff._0x16ae8f)+'\x20bridge\x20'+_0x2a8e41(0x614,_0x9755ff._0x342d55)+_0x1b5ab4(0x512,_0x9755ff._0x35ffa0)+_0x2a8e41(0x6c9,0x954)+_0x1b5ab4(-_0x9755ff._0x673369,-_0x9755ff._0x1b4fa9)),console[_0x2a8e41(_0x9755ff._0x27c530,0x395)]('')):_0x51c9ba[_0x2a8e41(_0x9755ff._0x1a8d8e,_0x9755ff._0x594fbf)](_0x258e37,'Starting'+_0x2a8e41(_0x9755ff._0x444c85,_0x9755ff._0x592e8c)+'\x20service'+'\x20runtime'+_0x2a8e41(0x4e5,_0x9755ff._0x42e5ff)+_0x2a8e41(0x310,0x575)+_0x49bbf9['gatewayI'+'d']);_0x3f5ec6&&writeServiceState();const _0x9fd2c8=new BridgeRuntime({'config':_0x49bbf9,'gatewayUrl':_0x44cd0b,'onLog':_0x76847a=>{_0x258e37('[clawket'+']\x20'+_0x76847a);},'onStatus':_0x2e0f59=>{function _0x55a50d(_0x3c7a69,_0x3f6be7){return _0x1b5ab4(_0x3f6be7,_0x3c7a69-0xa);}if(_0x2e0f59[_0x55a50d(-0x55,_0x1f1f40._0x406d60)+'r']){_0x258e37(_0x55a50d(_0x1f1f40._0x4e03e8,_0x1f1f40._0x350c5e)+'\x20relay='+(_0x2e0f59[_0x55a50d(0x324,0x54b)+_0x55a50d(0x3c9,_0x1f1f40._0x5c8637)]?'up':_0x127da7(_0x1f1f40._0x599c9f,0x6e5))+(_0x55a50d(0x2b9,0x32e)+'=')+(_0x2e0f59['gatewayC'+_0x55a50d(0x2cb,_0x1f1f40._0x1b2f15)]?'up':'down')+('\x20clients'+'=')+_0x2e0f59['clientCo'+_0x127da7(0x276,0x141)]+_0x55a50d(_0x1f1f40._0xf9baf,_0x1f1f40._0x4b71c2)+_0x2e0f59[_0x55a50d(-0x55,-0xe0)+'r']);return;}function _0x127da7(_0x2ebd44,_0xfa9c57){return _0x1b5ab4(_0xfa9c57,_0x2ebd44-0x1d6);}_0x258e37(_0x55a50d(_0x1f1f40._0x4e03e8,0x1d4)+_0x127da7(_0x1f1f40._0x29da2c,_0x1f1f40._0x12aa07)+(_0x2e0f59[_0x55a50d(0x324,_0x1f1f40._0x40a763)+'nected']?'up':_0x55a50d(_0x1f1f40._0x32b500,_0x1f1f40._0x4756f7))+(_0x127da7(_0x1f1f40._0x1cc13f,0x638)+'=')+(_0x2e0f59[_0x127da7(0x28d,0xf1)+_0x55a50d(0x2cb,0x3ce)]?'up':_0x51c9ba['FBVpi'])+(_0x55a50d(_0x1f1f40._0x1a8ba0,_0x1f1f40._0xa01b46)+'=')+_0x2e0f59['clientCo'+_0x127da7(0x276,0x1ca)]);},'onPendingPairRequest':_0x3ced1f=>{function _0x11d85d(_0x57ad9b,_0x1141fa){return _0x1b5ab4(_0x57ad9b,_0x1141fa-0x15e);}function _0x263ef9(_0xc227d4,_0x591d46){return _0x1b5ab4(_0x591d46,_0xc227d4-0x2bc);}_0x51c9ba[_0x11d85d(_0x14ab2d._0x18a694,_0x14ab2d._0x4978e1)](_0x258e37,_0x263ef9(_0x14ab2d._0x158ce7,0x47c)+'quest]\x20r'+_0x11d85d(0x173,0x2a0)+'='+_0x3ced1f[_0x263ef9(_0x14ab2d._0x5a4345,0x218)+'d']+(_0x263ef9(0x6b0,_0x14ab2d._0x4c0d82)+'d=')+(_0x3ced1f[_0x263ef9(0x3f9,0x446)]||_0x51c9ba[_0x263ef9(0x20a,0x265)])+_0x11d85d(_0x14ab2d._0x14ed48,0x26b)+(_0x3ced1f['displayN'+'ame']??_0x11d85d(0x30a,0x272)+'>'));}});_0x9fd2c8[_0x2a8e41(_0x9755ff._0x532fa6,0x526)]();const _0x50f745={};_0x50f745[_0x1b5ab4(0x54,-0xd5)+'d']=_0x49bbf9[_0x2a8e41(_0x9755ff._0x56d90d,0x2ad)+'d'],_0x50f745[_0x2a8e41(0x1c7,0x34d)+'Id']=_0x49bbf9[_0x2a8e41(_0x9755ff._0x2e2dca,-_0x9755ff._0x289c38)+'Id'],_0x50f745[_0x2a8e41(0x229,_0x9755ff._0x344212)+_0x1b5ab4(0x575,_0x9755ff._0x7e1a03)]=_0x3f5ec6,registerRuntimeProcess(_0x50f745);const _0x45616e=async()=>{process[_0x1cb526(-_0x13c611._0x593a12,_0x13c611._0x39c304)]('SIGINT',_0x45616e),process[_0x1cb526(-_0x13c611._0x4115b1,-_0x13c611._0x5359e3)](_0x4afa11(0x3fa,_0x13c611._0x3a6eee),_0x45616e),await _0x9fd2c8['stop']();function _0x4afa11(_0x5e3040,_0x3804ee){return _0x2a8e41(_0x5e3040-0xb0,_0x3804ee);}_0x51c9ba[_0x1cb526(_0x13c611._0x53fd94,_0x13c611._0xe70e74)](unregisterRuntimeProcess,process['pid']);_0x3f5ec6&&clearServiceState(process[_0x4afa11(0x63a,0x607)]);function _0x1cb526(_0x217bf9,_0x35591d){return _0x2a8e41(_0x217bf9- -0x39b,_0x35591d);}process[_0x1cb526(0x291,_0x13c611._0xc34a97)](0x0);};process['on'](_0x51c9ba[_0x1b5ab4(-_0x9755ff._0x498a04,0x1e6)],_0x45616e),process['on'](_0x2a8e41(_0x9755ff._0x4b92b1,0x452),_0x45616e),await new Promise(()=>{});}printHelp();}function printPairingInfo(_0x1b650d,_0x4d89af){const _0x2e5d83={_0x52c8a3:0x2a1,_0x4bf74e:0x601,_0x2d601f:0x88e,_0x46d477:0x344,_0x451a39:0x18c,_0x50007c:0x3d1,_0x33952a:0x524,_0x48ccb4:0x728,_0x2f82b2:0x179,_0x287b9c:0x433,_0x42a8b4:0x454,_0x1a0dbb:0x1c5,_0x3f149f:0x36d,_0x4e56ea:0x125,_0x40b7e1:0xc9,_0x5822f5:0x3ee,_0x35f7d6:0x432,_0x19fb96:0x288,_0x51d299:0x615,_0x4a6161:0x4aa,_0x5f55de:0x315,_0x1ddef0:0xa7,_0x33894b:0x377,_0x47f8fd:0x56c,_0x1e224f:0x3c9,_0x40e145:0x630},_0x1c64e3={_0xe9a957:0x31d};_0x1b650d[_0x5950d5(_0x2e5d83._0x52c8a3,0xd3)]===_0x2cebee(_0x2e5d83._0x4bf74e,_0x2e5d83._0x2d601f)+'d'&&console[_0x2cebee(0x125,-0x119)](_0x5950d5(0x492,_0x2e5d83._0x46d477)+_0x5950d5(_0x2e5d83._0x451a39,_0x2e5d83._0x50007c)+_0x2cebee(_0x2e5d83._0x33952a,_0x2e5d83._0x48ccb4)+_0x2cebee(_0x2e5d83._0x2f82b2,0x274)+_0x2cebee(0x5b5,_0x2e5d83._0x287b9c)+'ring\x20cod'+'e.');console[_0x5950d5(0x2b3,0xa7)](_0x2cebee(_0x2e5d83._0x42a8b4,0x6ff)+_0x2cebee(0xba,-0x199)+_0x1b650d[_0x5950d5(_0x2e5d83._0x1a0dbb,_0x2e5d83._0x3f149f)]['gatewayI'+'d']),console[_0x2cebee(_0x2e5d83._0x4e56ea,-_0x2e5d83._0x40b7e1)](_0x5950d5(0x515,_0x2e5d83._0x5822f5)+_0x2cebee(0x5f3,0x660)+_0x2cebee(0x4f0,_0x2e5d83._0x35f7d6)+'e\x20Clawke'+'t\x20app:\x0a');const _0x425630={};_0x425630['small']=!![];function _0x2cebee(_0x40755c,_0x2bf24a){return _0x3a90bd(_0x2bf24a,_0x40755c-_0x1c64e3._0xe9a957);}function _0x5950d5(_0xe85b73,_0x5d0c08){return _0x3a90bd(_0xe85b73,_0x5d0c08-0x29f);}_0x46de63[_0x5950d5(0x166,_0x2e5d83._0x19fb96)](_0x1b650d[_0x5950d5(_0x2e5d83._0x51d299,_0x2e5d83._0x4a6161)+'d'],_0x425630),console[_0x5950d5(_0x2e5d83._0x5f55de,_0x2e5d83._0x1ddef0)](_0x5950d5(0x3df,0x140)+'\x20'+formatLocalTime(_0x1b650d[_0x5950d5(0x51d,0x2ec)+_0x2cebee(_0x2e5d83._0x33894b,_0x2e5d83._0x47f8fd)+'sAt'])),console[_0x2cebee(_0x2e5d83._0x4e56ea,0x2ae)](_0x2cebee(_0x2e5d83._0x1e224f,_0x2e5d83._0x40e145)+':\x20'+_0x4d89af);}function printLocalPairingInfo(_0x6bbe5f,_0x3d221c,_0x3b4ef2,_0x2374c9,_0xd90c22,_0x1a6ae7){const _0x185164={_0x3e7208:0x386,_0x391750:0xb6,_0x33d7ea:0x1a4,_0x54f93b:0x6a,_0x4111b6:0x639,_0x12880c:0x7d,_0x2fd5d7:0x164,_0x458925:0x11c,_0x434da0:0x390,_0x378aa9:0xd,_0x473ecf:0x118,_0x29ef5a:0x33,_0x7c7a23:0x27a,_0x1f8be3:0x33,_0x2d8a4f:0x113,_0x122847:0x38a,_0x581490:0x1b6,_0xf763e4:0x1e3,_0x147599:0x44e,_0x1b6678:0x35d,_0x4fdcd8:0x289,_0x45b9ac:0x2ea,_0x3ca645:0xc6,_0x1ac514:0x404,_0x28ccf8:0x220,_0x4a80a6:0x461,_0x3ad082:0x2a9},_0x10dc7b={_0xc467f1:0x8d},_0x302a07={};function _0x14740e(_0x451314,_0x3ead8c){return _0xb2a5b9(_0x3ead8c,_0x451314-0x1be);}function _0x326046(_0x1672e3,_0x1f40ce){return _0xb2a5b9(_0x1f40ce,_0x1672e3-_0x10dc7b._0xc467f1);}_0x302a07[_0x326046(-0x19b,-_0x185164._0x3e7208)]=_0x14740e(0x6f,-_0x185164._0x391750)+_0x14740e(_0x185164._0x33d7ea,-0xdc);const _0x3405c6=_0x302a07,_0xa10fe=_0x3405c6[_0x14740e(-_0x185164._0x54f93b,-0x1c9)]['split']('|');let _0x3fb6d5=0x0;while(!![]){switch(_0xa10fe[_0x3fb6d5++]){case'0':const _0x307712={};_0x307712[_0x14740e(0x429,_0x185164._0x4111b6)]=!![],_0x46de63[_0x326046(_0x185164._0x12880c,0x1f8)](_0x2374c9,_0x307712);continue;case'1':console[_0x326046(-_0x185164._0x2fd5d7,-0x212)](_0x326046(0x1cb,_0x185164._0x458925)+_0x14740e(0x254,_0x185164._0x434da0)+_0x6bbe5f);continue;case'2':console[_0x326046(-0x164,-0xbe)](_0x326046(-0xcb,_0x185164._0x378aa9)+'\x20'+new Date(_0x3b4ef2)[_0x14740e(0x2ce,_0x185164._0x473ecf)+_0x326046(0x16b,0x29b)]());continue;case'3':console[_0x14740e(-_0x185164._0x29ef5a,-_0x185164._0x7c7a23)]('QR\x20image'+':\x20'+_0xd90c22);continue;case'4':console[_0x14740e(-_0x185164._0x1f8be3,-_0x185164._0x2d8a4f)](_0x14740e(_0x185164._0x122847,0x1aa)+_0x326046(_0x185164._0x581490,0x386)+_0x3d221c);continue;case'5':console['log'](_0x1a6ae7?_0x326046(_0x185164._0xf763e4,_0x185164._0x147599)+_0x14740e(_0x185164._0x1b6678,0x606)+_0x326046(_0x185164._0x4fdcd8,_0x185164._0x45b9ac)+'y\x20QR\x20in\x20'+_0x14740e(_0x185164._0x3ca645,-0x17e)+_0x14740e(_0x185164._0x1ac514,0x2d7)+'\x0a':_0x14740e(0x314,0x48c)+_0x14740e(0x24a,0x31)+'\x20gateway'+_0x326046(-0x125,-_0x185164._0x28ccf8)+'he\x20Clawk'+_0x14740e(_0x185164._0x4a80a6,_0x185164._0x3ad082));continue;}break;}}function printStatus(){const _0x50ded7={_0xd2a992:0x268,_0xd9ec83:0xb3,_0x34518f:0x3ed,_0x2f7f8d:0x2e5,_0x8f41d9:0x2b0,_0x153901:0x781,_0x12b085:0xa12,_0x18225b:0x40,_0x1417a8:0x535,_0x4c032d:0x5ab,_0x5a6ef5:0x34e,_0x25ef68:0x4ba,_0x37baf6:0x2de,_0x4b974d:0xbc,_0x153491:0x4e5,_0x435c7b:0x413,_0x17fdfe:0x505,_0x33b6ec:0x1bb,_0x483bc6:0x93,_0x487954:0x698,_0x19e922:0x181,_0x81383f:0x140,_0x5197d9:0x3a2,_0x864838:0x6b6,_0x115304:0x44e,_0xd443ca:0x20f,_0x1b99aa:0xc0,_0x4b74f3:0x5aa,_0x92c546:0x79f,_0x298698:0x1a7,_0x4ec0a8:0x11c,_0x69abbe:0x97d,_0x950e70:0x5bf,_0x1b5559:0x118,_0x7adce2:0x51,_0x3e126b:0x251,_0x3ea493:0x12d,_0xded834:0xc3,_0x5267ff:0x5af,_0x14de7f:0x21d,_0x1a3b1a:0x51,_0x47c18b:0xe7,_0x3e0cc8:0x17d,_0x5d8b7c:0x641},_0x1d0feb={_0x46e5d1:0x6fd},_0x33752a={'DRDyD':function(_0x17d3e7){return _0x17d3e7();},'jZpxh':_0x41c4bd(0x4d3,0x6d8)},_0x1604f7=readPairingConfig(),_0x2f91cb=getServiceStatus();function _0x4d3daf(_0x15da5b,_0x1f0d61){return _0x3a90bd(_0x15da5b,_0x1f0d61-0x1a7);}const {logPath:_0x2cd810,errorLogPath:_0x379489}=getServicePaths(),_0x9b23b0=_0x33752a[_0x4d3daf(0x2b7,_0x50ded7._0xd2a992)](readCliVersion);function _0x41c4bd(_0xae3e02,_0xa5289c){return _0x3a90bd(_0xa5289c,_0xae3e02-_0x1d0feb._0x46e5d1);}console[_0x4d3daf(-_0x50ded7._0xd9ec83,-0x51)](_0x4d3daf(0x33d,_0x50ded7._0x34518f)+'\x20'+_0x9b23b0),!_0x1604f7?console[_0x4d3daf(-_0x50ded7._0x2f7f8d,-0x51)](_0x41c4bd(0x535,_0x50ded7._0x8f41d9)+_0x41c4bd(_0x50ded7._0x153901,_0x50ded7._0x12b085)+_0x4d3daf(0x12f,-_0x50ded7._0x18225b)+getPairingConfigPath()+')'):(console[_0x4d3daf(-0x12a,-0x51)](_0x41c4bd(_0x50ded7._0x1417a8,0x391)+_0x4d3daf(_0x50ded7._0x4c032d,_0x50ded7._0x5a6ef5)),console[_0x41c4bd(0x505,_0x50ded7._0x25ef68)](_0x4d3daf(0x14c,_0x50ded7._0x37baf6)+_0x4d3daf(0xa3,-_0x50ded7._0x4b974d)+_0x1604f7[_0x41c4bd(_0x50ded7._0x153491,_0x50ded7._0x435c7b)+'d']),console[_0x41c4bd(_0x50ded7._0x17fdfe,0x3ab)]('Instance'+':\x20'+_0x1604f7[_0x4d3daf(-_0x50ded7._0x33b6ec,-_0x50ded7._0x483bc6)+'Id']),console['log'](_0x41c4bd(_0x50ded7._0x487954,0x7eb)+_0x4d3daf(-_0x50ded7._0x19e922,-0x67)+_0x1604f7[_0x4d3daf(0x8f,_0x50ded7._0x81383f)+'l']),console[_0x41c4bd(_0x50ded7._0x17fdfe,_0x50ded7._0x5197d9)]('Name:\x20'+(_0x1604f7[_0x4d3daf(_0x50ded7._0x864838,_0x50ded7._0x115304)+_0x4d3daf(-_0x50ded7._0xd443ca,-_0x50ded7._0x1b99aa)]??'-'))),console[_0x41c4bd(0x505,_0x50ded7._0x4b74f3)](_0x41c4bd(_0x50ded7._0x92c546,0x79c)+'\x20'+resolveGatewayUrl()),console[_0x4d3daf(_0x50ded7._0x298698,-0x51)](_0x4d3daf(-_0x50ded7._0x4ec0a8,0x7b)+'\x20'+(_0x2f91cb['installe'+'d']?'installe'+'d':_0x4d3daf(0x3e3,0x2f1)+_0x41c4bd(0x98e,_0x50ded7._0x69abbe))+'\x20('+_0x2f91cb['method']+')'),console['log']('Running:'+'\x20'+(_0x2f91cb[_0x4d3daf(0x38c,0x307)]?_0x33752a[_0x41c4bd(_0x50ded7._0x950e70,0x7c6)]:'no')),console[_0x4d3daf(_0x50ded7._0x1b5559,-_0x50ded7._0x7adce2)]('Path:\x20'+(_0x2f91cb[_0x4d3daf(_0x50ded7._0x3e126b,_0x50ded7._0x3ea493)+_0x41c4bd(0x9b2,0xa9b)]||'-')),console[_0x4d3daf(_0x50ded7._0xded834,-0x51)](_0x41c4bd(0x652,_0x50ded7._0x5267ff)+_0x2cd810),console[_0x4d3daf(_0x50ded7._0x14de7f,-_0x50ded7._0x1a3b1a)](_0x4d3daf(_0x50ded7._0x47c18b,_0x50ded7._0x3e0cc8)+_0x41c4bd(0x77e,_0x50ded7._0x5d8b7c)+_0x379489),!_0x1604f7&&(process['exitCode']=0x1);}function printServiceResult(_0x474ba7,_0x50e8d0){const _0x4c3a3b={_0x5ad111:0x1b8,_0x5b1681:0x1dc,_0x289f91:0x4bf,_0x27d764:0x33f,_0x5f533d:0x33a,_0x5bb860:0x76,_0x4546c4:0x206,_0x5a5aab:0x432,_0x24e66e:0x827,_0x58ab11:0x2c8,_0x52b7f2:0x3fe,_0x10acb8:0x1d,_0x1db5e8:0x1d9};function _0x573877(_0x5819f3,_0x419478){return _0x3a90bd(_0x419478,_0x5819f3-0x4c0);}const _0x1a2127={};_0x1a2127[_0x1d3281(_0x4c3a3b._0x5ad111,_0x4c3a3b._0x5b1681)]=_0x573877(0x60a,_0x4c3a3b._0x289f91)+_0x1d3281(_0x4c3a3b._0x27d764,_0x4c3a3b._0x5f533d);const _0x17258c=_0x1a2127;_0x474ba7&&console['log'](_0x474ba7);function _0x1d3281(_0x4c29be,_0x42c3d5){return _0x3a90bd(_0x42c3d5,_0x4c29be-0xae);}console['log'](_0x1d3281(-0x7e,_0x4c3a3b._0x5bb860)+'\x20'+(_0x50e8d0['installe'+'d']?_0x50e8d0[_0x1d3281(0x20e,0x47f)]?_0x1d3281(0x20,_0x4c3a3b._0x4546c4)+'d,\x20runni'+'ng':_0x573877(_0x4c3a3b._0x5a5aab,0x257)+'d,\x20stopp'+'ed':_0x17258c[_0x573877(0x5ca,_0x4c3a3b._0x24e66e)])),console[_0x573877(_0x4c3a3b._0x58ab11,0x13b)](_0x1d3281(0x94,0x1f3)+_0x573877(0x646,_0x4c3a3b._0x52b7f2)+(_0x50e8d0[_0x1d3281(0x34,-_0x4c3a3b._0x10acb8)+_0x1d3281(0x363,_0x4c3a3b._0x1db5e8)]||'-'));}function printDoctorReport(_0xf84ae8){const _0x593261={_0x4fc68f:0x301,_0x4f8fb9:0x2ae,_0x1cb6be:0x4c0,_0x7734f:0x47c,_0x1cf1e2:0x590,_0x1d6929:0x1c4,_0x24b1da:0x20d,_0xa1d4ba:0x2dc,_0x563859:0x411,_0x416ead:0x34e,_0x16ec85:0x45,_0x3045c8:0x167,_0x3bc37b:0x60d,_0x81da31:0x1db,_0x34a38a:0x3d7,_0x223429:0x40d,_0x39ac84:0x1c6,_0x3fdcfd:0x87,_0x2789c7:0x27f,_0x58523c:0x864,_0x4bff35:0x915,_0x2124b9:0x43a,_0x4d41e5:0x228,_0x25e0de:0x5e6,_0x372b6a:0x208,_0x1bdcb3:0x65a,_0x1b65c6:0x8d3,_0x3926fc:0x185,_0x5bb59c:0x390,_0x160f10:0x47c,_0x474e85:0x3,_0x4a288f:0x298,_0x105306:0x7fa,_0xbbe655:0x64e,_0x128ba7:0x84,_0x43d06c:0x80f,_0x4b8a8a:0x96b,_0x182ff0:0x59,_0x5eb14f:0x1db,_0x325dc5:0xd9,_0x42c44d:0x2bc,_0x1f5a5c:0x3d8,_0x436b1a:0xe,_0x4780d0:0x70c,_0x24c1b0:0x207,_0x45f999:0x73e,_0x3b1bd5:0x927,_0x43548e:0x74d,_0x71765b:0x4a2,_0x12a223:0x306,_0x76d9a7:0x13,_0x43e9eb:0x94,_0x3f608:0x927,_0x457c34:0x2fb,_0x52a62f:0x157,_0x4f126b:0x15,_0xf2efda:0x451,_0x5d4def:0xac,_0x5e18c1:0xed,_0x2a286:0x47c,_0x515158:0x7ab,_0x5f2e77:0x53f,_0xebda91:0x20d,_0x11be0d:0x149},_0x294bab={_0x36a790:0x674},_0x28efd4={};_0x28efd4['NGHIy']=_0x1116f6(0x167,_0x593261._0x4fc68f)+_0x1116f6(_0x593261._0x4f8fb9,_0x593261._0x1cb6be),_0x28efd4[_0x3bb55c(0x41b,0x4b2)]='missing';const _0x5235a0=_0x28efd4;console[_0x3bb55c(_0x593261._0x7734f,_0x593261._0x1cf1e2)]('Paired:\x20'+(_0xf84ae8[_0x1116f6(_0x593261._0x1d6929,0xb8)]?_0x1116f6(-_0x593261._0x24b1da,-0x30d):'no')),console[_0x1116f6(-0x1db,-_0x593261._0xa1d4ba)]('Gateway\x20'+_0x3bb55c(_0x593261._0x563859,0x199)+(_0xf84ae8[_0x3bb55c(0x45c,_0x593261._0x416ead)+'d']??'-')),console['log'](_0x1116f6(-0x48,_0x593261._0x16ec85)+_0x1116f6(-0x1f1,-_0x593261._0x3045c8)+(_0xf84ae8[_0x3bb55c(_0x593261._0x3bc37b,0x40b)+'l']??'-')),console[_0x1116f6(-_0x593261._0x81da31,-_0x593261._0x34a38a)](_0x1116f6(0x24c,_0x593261._0x223429)+_0x1116f6(-0x21f,-_0x593261._0x39ac84)+(_0xf84ae8[_0x1116f6(0x152,-_0x593261._0x3fdcfd)]??'-')),console[_0x3bb55c(0x47c,0x6a9)](_0x3bb55c(0x511,_0x593261._0x2789c7)+_0x3bb55c(_0x593261._0x58523c,_0x593261._0x4bff35)+(_0xf84ae8[_0x3bb55c(_0x593261._0x2124b9,0x4ff)+'Id']??'-'));function _0x3bb55c(_0x2400b8,_0x2792fa){return _0x3a90bd(_0x2792fa,_0x2400b8-_0x294bab._0x36a790);}console[_0x1116f6(-0x1db,-_0x593261._0x4d41e5)]('Service:'+'\x20'+(_0xf84ae8['serviceI'+'nstalled']?_0x3bb55c(_0x593261._0x25e0de,0x85c)+'d':_0x5235a0[_0x1116f6(_0x593261._0x372b6a,0x427)])+'\x20('+_0xf84ae8['serviceM'+_0x1116f6(0x258,-0xd)]+')');function _0x1116f6(_0x2c89af,_0x5614b0){return _0x3a90bd(_0x5614b0,_0x2c89af-0x1d);}console[_0x3bb55c(_0x593261._0x7734f,0x383)](_0x3bb55c(_0x593261._0x1bdcb3,_0x593261._0x1b65c6)+_0x1116f6(0x1e4,0x257)+'\x20'+(_0xf84ae8[_0x1116f6(_0x593261._0x3926fc,_0x593261._0x5bb59c)+'unning']?_0x1116f6(-0x20d,-0x2ff):'no')),console[_0x3bb55c(_0x593261._0x160f10,0x554)](_0x1116f6(_0x593261._0x474e85,_0x593261._0x4a288f)+_0x3bb55c(_0x593261._0x105306,_0x593261._0xbbe655)+(_0xf84ae8[_0x1116f6(-0x5d,0x1dc)+_0x3bb55c(0x929,0xade)]||'-')),console[_0x1116f6(-0x1db,-_0x593261._0x128ba7)](_0x3bb55c(_0x593261._0x43d06c,_0x593261._0x4b8a8a)+':\x20'+_0xf84ae8[_0x1116f6(0xe4,_0x593261._0x182ff0)]),console[_0x1116f6(-_0x593261._0x5eb14f,-0x1dc)](_0x1116f6(_0x593261._0x325dc5,-0x1ca)+'g\x20path:\x20'+_0xf84ae8[_0x1116f6(0x31,_0x593261._0x42c44d)+_0x1116f6(0xc3,0x202)]),console[_0x3bb55c(0x47c,_0x593261._0x1f5a5c)]('OpenClaw'+_0x1116f6(-0x19a,_0x593261._0x436b1a)+_0xf84ae8[_0x1116f6(0x2d0,0x3b2)+_0x3bb55c(0x874,0x7e1)+'r']),console[_0x3bb55c(0x47c,_0x593261._0x4780d0)]('OpenClaw'+'\x20media:\x20'+_0xf84ae8[_0x3bb55c(0x927,0x9cd)+_0x1116f6(0xda,_0x593261._0x24c1b0)]),console[_0x1116f6(-0x1db,-0x40f)]('OpenClaw'+_0x3bb55c(0x4e2,_0x593261._0x45f999)+'\x20'+(_0xf84ae8[_0x3bb55c(_0x593261._0x3b1bd5,0x7ec)+_0x3bb55c(_0x593261._0x43548e,_0x593261._0x71765b)+_0x1116f6(_0x593261._0x12a223,0x33e)]?'found':_0x5235a0[_0x3bb55c(0x41b,0x4b8)])),console[_0x1116f6(-0x1db,-0x30f)](_0x1116f6(-_0x593261._0x76d9a7,_0x593261._0x43e9eb)+'\x20token:\x20'+(_0xf84ae8[_0x3bb55c(_0x593261._0x3f608,0x87a)+_0x1116f6(_0x593261._0x457c34,0xaa)+'nd']?_0x1116f6(-_0x593261._0x52a62f,_0x593261._0x4f126b):_0x5235a0['yFUST'])),console[_0x3bb55c(0x47c,_0x593261._0xf2efda)](_0x1116f6(0x154,-0x12)+_0x1116f6(_0x593261._0x5d4def,_0x593261._0x5e18c1)+_0xf84ae8['localGat'+'ewayUrl']),console[_0x3bb55c(_0x593261._0x2a286,0x2bf)](_0x3bb55c(_0x593261._0x515158,_0x593261._0x5f2e77)+_0x1116f6(0x90,-0x211)+_0x1116f6(0x13f,-0x55)+(_0xf84ae8[_0x3bb55c(0x460,0x52b)+_0x3bb55c(0x446,0x399)+_0x1116f6(0x22a,0x1fd)]?_0x1116f6(-_0x593261._0xebda91,-_0x593261._0x11be0d):'no'));}function requirePairingConfig(){const _0x1be4be={_0x1cc132:0x839,_0xe896f3:0x675,_0x56a545:0x113,_0x506b86:0x975,_0x215f80:0x47a};function _0x4acdb0(_0x58bf35,_0x34bfba){return _0xb2a5b9(_0x34bfba,_0x58bf35-0x71c);}const _0x3fb2ae=readPairingConfig();function _0xb42e75(_0x2b5e8c,_0x37e54f){return _0xb2a5b9(_0x2b5e8c,_0x37e54f-0x27c);}return!_0x3fb2ae&&(console['error'](_0x4acdb0(_0x1be4be._0x1cc132,_0x1be4be._0xe896f3)+'ed.\x20Run\x20'+'\x22clawket'+_0xb42e75(-0x79,_0x1be4be._0x56a545)+'irst.\x20Co'+_0x4acdb0(_0x1be4be._0x506b86,0xaa2)+_0xb42e75(_0x1be4be._0x215f80,0x418)+getPairingConfigPath()),process['exit'](0x1)),_0x3fb2ae;}function readFlag(_0x592f97,_0x19663d){const _0x986ce0={_0x4eaf40:0x40a,_0x1291e0:0x512},_0x5ccfad={_0x560e39:0x6c};function _0x496f35(_0x3020cc,_0x5b14db){return _0x3a90bd(_0x3020cc,_0x5b14db-0x302);}const _0x46eef6=_0x592f97[_0x496f35(_0x986ce0._0x4eaf40,0x17f)](_0x19663d);function _0x5f5230(_0x3ba691,_0x33ef62){return _0x3a90bd(_0x3ba691,_0x33ef62- -_0x5ccfad._0x560e39);}if(_0x46eef6<0x0)return null;const _0x5cba3f=_0x592f97[_0x46eef6+0x1];return _0x5cba3f?.[_0x496f35(_0x986ce0._0x1291e0,0x594)]()?_0x5cba3f['trim']():null;}function hasFlag(_0x33cd7e,_0x533c48){return _0x33cd7e['includes'](_0x533c48);}function readPairSubcommand(_0x223437){const _0x393da6={_0x58be71:0xc3,_0x11e1dc:0x239},_0x14f3d5={_0xf3e7a4:0x45f};function _0x114289(_0x13f772,_0xa2786f){return _0x3a90bd(_0x13f772,_0xa2786f-_0x14f3d5._0xf3e7a4);}for(const _0x32aaf8 of _0x223437){if(!_0x32aaf8[_0x114289(_0x393da6._0x58be71,_0x393da6._0x11e1dc)+'th']('-'))return _0x32aaf8['trim']()||null;}return null;}function printHelp(){const _0xfa8966={_0x214f7c:0x47,_0x520f83:0x1b5,_0x314c4d:0x297,_0x198db2:0x189,_0x11de31:0x184,_0x171f1d:0x174,_0x379626:0x373,_0xb186c0:0x278,_0x5be1df:0x29b,_0x2f7191:0x220,_0x88ce0f:0x1e2,_0x2cc6a8:0x11f,_0x31b3c9:0x394,_0x5e2e8e:0x213,_0x4bfb24:0x5cc,_0x1c0833:0xa8,_0x306bf6:0x126,_0x3db97f:0x514,_0x30bbae:0x2f2,_0x111b0d:0x3dd,_0x3b91eb:0x684,_0x22457d:0x500,_0x41864e:0x98,_0x319b64:0x1dc,_0x1d41f9:0x292,_0x13eade:0x27c,_0x5a80ca:0x4b7,_0x40d9f4:0x1cd,_0x1a90b3:0x230,_0x55c25e:0x96,_0x29286b:0x64,_0x1441f9:0xc1,_0x220978:0x402,_0x4ec77a:0x5a,_0x5e7dd1:0x1e,_0xe059ca:0x5b,_0x562f60:0x893,_0x3a5f6c:0x61d,_0x4e423f:0x539,_0x5517bc:0x323,_0x3fc71a:0x295,_0x4ed9e4:0x1c9,_0x12bc35:0xc5,_0x11bf44:0x68,_0x5b1ff3:0x1d0,_0x21ec4b:0x3d3,_0x49909e:0x189,_0xf0fee6:0x1f7,_0x1dc6ee:0x325,_0x1c590f:0x442,_0x32f000:0x38c,_0x532272:0x3c5,_0x583251:0x106},_0x4f393e={_0x16e5de:0x355},_0x5b2312={};_0x5b2312['nyCsZ']=_0x4cf980(_0xfa8966._0x214f7c,_0xfa8966._0x520f83)+_0x4cf980(_0xfa8966._0x314c4d,0x58)+'l',_0x5b2312['Rlkjr']=_0x4cf980(_0xfa8966._0x198db2,0x1b5)+_0x4cf980(_0xfa8966._0x11de31,0x5b);function _0x51a8fa(_0x3e780d,_0x493d78){return _0xb2a5b9(_0x3e780d,_0x493d78-_0x4f393e._0x16e5de);}function _0x4cf980(_0x2b80a7,_0x25fa0a){return _0xb2a5b9(_0x2b80a7,_0x25fa0a- -0x2f);}_0x5b2312[_0x4cf980(-0x11b,-0x223)]='clawket\x20'+'run\x20[--g'+_0x51a8fa(0x27,_0xfa8966._0x171f1d)+'rl\x20<ws:/'+'/127.0.0'+_0x4cf980(_0xfa8966._0x379626,_0xfa8966._0xb186c0)+_0x51a8fa(0x176,0x17f)+'place]';const _0x35a730=_0x5b2312;console[_0x4cf980(-_0xfa8966._0x5be1df,-_0xfa8966._0x2f7191)](['clawket\x20'+'pair\x20[--'+_0x4cf980(0x143,_0xfa8966._0x88ce0f)+_0x4cf980(-0x26e,-_0xfa8966._0x2cc6a8)+_0x4cf980(-_0xfa8966._0x31b3c9,-_0xfa8966._0x5e2e8e)+_0x51a8fa(0x203,0x344)+'me>]\x20[--'+'qr-file\x20'+_0x51a8fa(0x46a,_0xfa8966._0x4bfb24)+_0x4cf980(-_0xfa8966._0x1c0833,-0xbb)+_0x4cf980(0x174,-_0xfa8966._0x306bf6)+'e]',_0x51a8fa(_0xfa8966._0x3db97f,0x539)+_0x51a8fa(0x137,_0xfa8966._0x30bbae)+'al\x20[--ur'+'l\x20<ws://'+_0x51a8fa(_0xfa8966._0x111b0d,0x244)+_0x51a8fa(_0xfa8966._0x3b91eb,_0xfa8966._0x22457d)+'r-file\x20<'+_0x4cf980(-_0xfa8966._0x41864e,-_0xfa8966._0x319b64)+_0x4cf980(-0xea,-0x23d),'clawket\x20'+_0x4cf980(_0xfa8966._0x1d41f9,_0xfa8966._0x13eade)+'ocal\x20[--'+'url\x20<ws:'+_0x51a8fa(0x5e,0x237)+_0x51a8fa(_0xfa8966._0x5a80ca,0x604)+_0x4cf980(_0xfa8966._0x40d9f4,_0xfa8966._0x1a90b3)+_0x4cf980(_0xfa8966._0x55c25e,-0x37)+_0x4cf980(-_0xfa8966._0x29286b,-_0xfa8966._0x1441f9)+']',_0x4cf980(_0xfa8966._0x220978,0x1b5)+_0x4cf980(0x1d4,_0xfa8966._0x4ec77a)+'code\x20[--'+_0x4cf980(_0xfa8966._0x5e7dd1,0x19b)+_0x4cf980(0x4b1,0x248)+_0x51a8fa(_0xfa8966._0xe059ca,0x2c9),_0x4cf980(0x3ba,0x1b5)+_0x51a8fa(_0xfa8966._0x562f60,_0xfa8966._0x3a5f6c),_0x4cf980(0xe0,0x1b5)+_0x51a8fa(0x480,0x28b),_0x51a8fa(0x2cc,_0xfa8966._0x4e423f)+_0x51a8fa(_0xfa8966._0x5517bc,0x3cd),_0x51a8fa(_0xfa8966._0x3fc71a,_0xfa8966._0x4e423f)+'stop',_0x35a730[_0x4cf980(0x22,-0x26)],_0x35a730[_0x4cf980(-_0xfa8966._0x4ed9e4,-0xd5)],_0x4cf980(_0xfa8966._0x12bc35,_0xfa8966._0x520f83)+_0x51a8fa(_0xfa8966._0x11bf44,0x19b),_0x4cf980(_0xfa8966._0x5b1ff3,_0xfa8966._0x520f83)+_0x51a8fa(0x5d2,_0xfa8966._0x21ec4b)+_0x4cf980(-_0xfa8966._0x49909e,-0x33)+_0x51a8fa(0x39c,_0xfa8966._0xf0fee6)+_0x51a8fa(_0xfa8966._0x1dc6ee,0x27a)+'>]\x20[--er'+'rors]\x20[-'+'-json]',_0x4cf980(_0xfa8966._0x1c590f,0x1b5)+'doctor\x20['+_0x4cf980(-_0xfa8966._0x32f000,-0x23d),_0x35a730[_0x51a8fa(_0xfa8966._0x532272,0x161)]][_0x51a8fa(_0xfa8966._0x583251,0x166)]('\x0a'));}function buildUnsupportedAutostartMessage(_0x1bafa0){const _0x3825ab={_0x2b1dda:0xd9,_0x52f2f8:0x4d8,_0x325c4e:0x1bc,_0x297873:0x3b0,_0x56d472:0x144,_0x3cf3a1:0x2c4,_0x546713:0x4cd,_0x4bcb74:0xf4,_0x5bd8a5:0x3,_0x2c12c0:0x5f0,_0x32c74f:0x395,_0x2c3386:0x220,_0x140a1e:0xf0,_0x47d333:0x3be,_0x133f19:0x2a4,_0x1ebe15:0x60,_0x26c327:0x253,_0x487c02:0x75d,_0x484a36:0x339,_0x50381e:0x190,_0xd087f5:0x2d8,_0x2aa14f:0x8e,_0x5ea7c4:0x212,_0x1fd90e:0x170,_0x3a88ad:0x1d3,_0x553f46:0x1ff,_0x4bf9d7:0xf1,_0x3d79f6:0x469,_0x5b98ea:0x311,_0x250ec2:0xf2,_0xa83ff:0x725,_0x136e0b:0x34,_0x3f0798:0x172,_0x37c728:0x32,_0x118311:0x29b,_0x418db6:0x14},_0x412af7={};_0x412af7['SyHXg']=_0x16ff91(0x3b2,0x517)+_0xbecda6(_0x3825ab._0x2b1dda,-0x22)+'ge\x20runti'+'me,\x20but\x20'+_0x16ff91(0x6c0,_0x3825ab._0x52f2f8)+_0xbecda6(0x17f,_0x3825ab._0x325c4e)+'ot\x20suppo'+'rt\x20autom'+_0x16ff91(0x19c,_0x3825ab._0x297873)+_0x16ff91(0x339,_0x3825ab._0x56d472)+_0x16ff91(_0x3825ab._0x3cf3a1,_0x3825ab._0x546713)+'n.\x20Use\x20y'+_0xbecda6(_0x3825ab._0x4bcb74,0x1d5)+_0x16ff91(-0x54,-_0x3825ab._0x5bd8a5)+_0xbecda6(_0x3825ab._0x2c12c0,_0x3825ab._0x32c74f)+_0x16ff91(0x2c,0x261)+'\x20to\x20rest'+_0xbecda6(0x1d5,0x16f)+_0x16ff91(0x26e,0xf6)+_0xbecda6(-_0x3825ab._0x2c3386,-_0x3825ab._0x140a1e);function _0x16ff91(_0x23c6a6,_0x21711d){return _0x3a90bd(_0x23c6a6,_0x21711d-0x25e);}const _0x1d3a2e=_0x412af7;if(_0x1bafa0[_0x16ff91(0x2cc,_0x3825ab._0x47d333)])return _0x1d3a2e[_0x16ff91(0x5b5,0x4e2)];function _0xbecda6(_0x327cb6,_0x14022e){return _0x3a90bd(_0x327cb6,_0x14022e-0xb8);}return _0x16ff91(_0x3825ab._0x133f19,0x256)+_0xbecda6(0x341,_0x3825ab._0x325c4e)+_0x16ff91(-0x19d,_0x3825ab._0x4bcb74)+'rt\x20autom'+_0xbecda6(_0x3825ab._0x1ebe15,0x20a)+_0xbecda6(-_0x3825ab._0x26c327,-0x62)+_0x16ff91(_0x3825ab._0x487c02,0x4cd)+_0xbecda6(_0x3825ab._0x484a36,_0x3825ab._0x50381e)+_0x16ff91(_0x3825ab._0xd087f5,0x32)+_0xbecda6(_0x3825ab._0x2aa14f,_0x3825ab._0x5ea7c4)+_0xbecda6(0x231,_0x3825ab._0x1fd90e)+_0xbecda6(_0x3825ab._0x3a88ad,0x72)+_0xbecda6(_0x3825ab._0x553f46,_0x3825ab._0x4bf9d7)+_0xbecda6(_0x3825ab._0x3d79f6,_0x3825ab._0x5b98ea)+_0x16ff91(0x1e1,_0x3825ab._0x250ec2)+_0x16ff91(_0x3825ab._0xa83ff,0x519)+_0xbecda6(-_0x3825ab._0x136e0b,_0x3825ab._0x3f0798)+'\x20or\x20proc'+_0xbecda6(-0x16,_0x3825ab._0x37c728)+_0xbecda6(_0x3825ab._0x118311,_0x3825ab._0x418db6)+'un\x20Clawk'+'et.';}function formatLocalTime(_0x299e79){const _0x286f84={_0xf1db8f:0x1ff,_0x6cca0f:0x75f,_0x36d66a:0x4ba},_0x2b75a8={_0xcf72c8:0x2e5},_0xa50266=new Date(_0x299e79);function _0x3b7ab7(_0x525a0b,_0x4ad76e){return _0xb2a5b9(_0x4ad76e,_0x525a0b-_0x2b75a8._0xcf72c8);}if(Number[_0x3b7ab7(_0x286f84._0xf1db8f,0x412)](_0xa50266[_0x2831ef(_0x286f84._0x6cca0f,_0x286f84._0x36d66a)]()))return _0x299e79;function _0x2831ef(_0x34b434,_0xc80f6d){return _0xb2a5b9(_0xc80f6d,_0x34b434-0x6f8);}return _0xa50266['toLocale'+'String']();}function formatError2(_0x287470){const _0x3adf4c={_0x3838d4:0x138},_0x31c952={_0x262ef8:0x524};function _0x2ef1da(_0x48f42b,_0x28cbf3){return _0xb2a5b9(_0x28cbf3,_0x48f42b-_0x31c952._0x262ef8);}return _0x287470 instanceof Error?_0x287470[_0x2ef1da(0x3e2,_0x3adf4c._0x3838d4)]:String(_0x287470);}function printJson(_0x249b41){function _0x2bb1dc(_0x3785c2,_0x20c052){return _0x3a90bd(_0x20c052,_0x3785c2- -0x4d);}function _0x3cbc7b(_0x6a32fa,_0x593f12){return _0x3a90bd(_0x6a32fa,_0x593f12-0x687);}console[_0x2bb1dc(-0x245,-0x17e)](JSON[_0x2bb1dc(0x230,0x8)+'y'](_0x249b41,null,0x2));}main()['catch'](_0x1247ab=>{const _0x55d959={_0x558fea:0x188,_0x2c25e9:0x1e9,_0x2f6a12:0x21a},_0x1d9de6={_0x45e7a6:0x1d9};function _0x2c7d8e(_0x237c0d,_0x409507){return _0x3a90bd(_0x409507,_0x237c0d-_0x1d9de6._0x45e7a6);}console[_0x2c7d8e(_0x55d959._0x558fea,0x38b)](formatError2(_0x1247ab));function _0x4dfe8c(_0x4959ab,_0x47a57c){return _0x3a90bd(_0x47a57c,_0x4959ab- -0x42);}process[_0x4dfe8c(_0x55d959._0x2c25e9,_0x55d959._0x2f6a12)](0x1);});
2
+ (function(_0x301031,_0x4ea9de){const _0x10884b={_0x24394b:0xd9,_0x455dea:0x307,_0x5af205:0x522,_0x2e28b1:0x3e9,_0x28268a:0x187,_0x1c6754:0x1b4,_0x132b93:0x21c,_0x30d7f2:0xa4,_0x56cce7:0x135,_0x5f0f24:0x13c,_0x1a5afa:0x355,_0x4f19f7:0x45d,_0x52f23e:0x105},_0x40050f=_0x301031();function _0x257c32(_0x416bcd,_0x519185){return _0x47f8(_0x519185- -0x15d,_0x416bcd);}function _0x1aa132(_0x392319,_0x4e7dea){return _0x47f8(_0x392319- -0x2ee,_0x4e7dea);}while(!![]){try{const _0x2fbeab=parseInt(_0x1aa132(-_0x10884b._0x24394b,-0x24e))/0x1*(-parseInt(_0x257c32(0x17,0x21))/0x2)+-parseInt(_0x257c32(0x238,_0x10884b._0x455dea))/0x3+-parseInt(_0x257c32(_0x10884b._0x5af205,_0x10884b._0x2e28b1))/0x4*(parseInt(_0x257c32(-0x143,0x170))/0x5)+-parseInt(_0x1aa132(_0x10884b._0x28268a,_0x10884b._0x1c6754))/0x6*(parseInt(_0x1aa132(_0x10884b._0x132b93,-_0x10884b._0x30d7f2))/0x7)+-parseInt(_0x1aa132(-_0x10884b._0x56cce7,0x18b))/0x8*(parseInt(_0x257c32(0x5f,_0x10884b._0x5f0f24))/0x9)+parseInt(_0x257c32(0x385,_0x10884b._0x1a5afa))/0xa+-parseInt(_0x1aa132(0x229,_0x10884b._0x4f19f7))/0xb*(-parseInt(_0x257c32(0xee,_0x10884b._0x52f23e))/0xc);if(_0x2fbeab===_0x4ea9de)break;else _0x40050f['push'](_0x40050f['shift']());}catch(_0x4f88dc){_0x40050f['push'](_0x40050f['shift']());}}}(_0x1cc1,0x203b6));const _0x1e9614=(function(){let _0x46fcea=!![];return function(_0x169efb,_0x4de16f){const _0x3ebb45={_0x11c6c0:0x108},_0x21ca4f=_0x46fcea?function(){function _0x21456d(_0x10f8db,_0x13e7bf){return _0x47f8(_0x13e7bf- -_0x3ebb45._0x11c6c0,_0x10f8db);}if(_0x4de16f){const _0x43ec8a=_0x4de16f[_0x21456d(-0x1ba,0x84)](_0x169efb,arguments);return _0x4de16f=null,_0x43ec8a;}}:function(){};return _0x46fcea=![],_0x21ca4f;};}()),_0x23587f=_0x1e9614(this,function(){const _0x19a976={_0x3f1225:0x39d,_0x4393d7:0x508,_0x35ad3c:0x656,_0x3a41c1:0x4fe,_0xd5a18:0x427,_0x39d282:0x91a,_0x2e5ad0:0x9e4},_0x5992c7={_0x41d91a:0x2e};function _0x3632e3(_0x1423cc,_0x1561d3){return _0x47f8(_0x1561d3-_0x5992c7._0x41d91a,_0x1423cc);}function _0x313c24(_0x4e1d0e,_0x2fdbce){return _0x47f8(_0x4e1d0e-0x322,_0x2fdbce);}return _0x23587f[_0x3632e3(0x551,_0x19a976._0x3f1225)]()['search'](_0x3632e3(0x82d,0x665)+_0x313c24(0x7aa,_0x19a976._0x4393d7))[_0x313c24(0x691,_0x19a976._0x35ad3c)]()[_0x3632e3(0x4e3,0x224)+_0x313c24(_0x19a976._0x3a41c1,_0x19a976._0xd5a18)](_0x23587f)[_0x313c24(_0x19a976._0x39d282,0x754)](_0x313c24(0x959,_0x19a976._0x2e5ad0)+'+)+$');});_0x23587f();import _0x3e24a7 from'qrcode-terminal';import{readFileSync as _0x1a6cae}from'fs';import{Socket}from'net';import{homedir as _0x152237}from'os';import{existsSync,mkdirSync,readFileSync,rmSync,writeFileSync}from'fs';import{randomUUID}from'crypto';import{homedir,hostname,userInfo}from'os';import{join}from'path';var CONFIG_DIR=join(homedir(),_0x26b3dd(0x8b7,0x99b)),CONFIG_PATH=join(CONFIG_DIR,_0x26b3dd(0x8dc,0x641)+'li.json');function getPairingConfigPath(){return CONFIG_PATH;}function readPairingConfig(){const _0x5702dd={_0x4100e7:0x1ea,_0x371d70:0x696,_0x205121:0x311,_0x24b408:0xfd,_0x4d3e3d:0x281,_0x328797:0x128,_0x8bcb05:0x134,_0x2f176a:0x120,_0xcb0a48:0xee,_0x1bae89:0x1de,_0x4d989d:0x692,_0x4733ff:0x11,_0x496d26:0x993,_0x5c6828:0x99,_0x3e6e92:0x94,_0x483bd9:0x19b,_0x23a3d3:0xa9,_0x74cb71:0x972,_0x356ef4:0xc1,_0x5323af:0x6ef,_0x49045b:0x487,_0x339b82:0x13a,_0x2e7ae0:0x8b0,_0x2036a9:0x58f,_0x9647c7:0x8f7},_0x2cac2f={_0x28b808:0x6f5},_0x2c96ea={'VfoPL':function(_0x5b3242,_0x223400,_0xfc2d74){return _0x5b3242(_0x223400,_0xfc2d74);}};if(!existsSync(CONFIG_PATH))return null;function _0x59e8f6(_0x41d5b2,_0x14b0c0){return _0x26b3dd(_0x14b0c0- -_0x2cac2f._0x28b808,_0x41d5b2);}function _0x43c326(_0x168a85,_0x19c0de){return _0x26b3dd(_0x19c0de- -0xf7,_0x168a85);}try{const _0x25656b=JSON[_0x59e8f6(-0x10c,-_0x5702dd._0x4100e7)](_0x2c96ea[_0x43c326(0x400,_0x5702dd._0x371d70)](readFileSync,CONFIG_PATH,_0x59e8f6(-_0x5702dd._0x205121,-_0x5702dd._0x24b408)));if(!_0x25656b[_0x59e8f6(-_0x5702dd._0x4d3e3d,-_0x5702dd._0x328797)+'l']||!_0x25656b[_0x59e8f6(-_0x5702dd._0x8bcb05,_0x5702dd._0x2f176a)+'d']||!_0x25656b[_0x59e8f6(_0x5702dd._0xcb0a48,_0x5702dd._0x1bae89)+_0x43c326(0x7cf,_0x5702dd._0x4d989d)]||!_0x25656b[_0x59e8f6(_0x5702dd._0x4733ff,-0xa9)])return null;const _0x2a42b0={'serverUrl':_0x25656b['serverUr'+'l'],'gatewayId':_0x25656b[_0x43c326(_0x5702dd._0x496d26,0x71e)+'d'],'relaySecret':_0x25656b[_0x59e8f6(-_0x5702dd._0x5c6828,_0x5702dd._0x1bae89)+_0x59e8f6(-_0x5702dd._0x1bae89,_0x5702dd._0x3e6e92)],'relayUrl':_0x25656b[_0x59e8f6(-_0x5702dd._0x483bd9,-_0x5702dd._0x23a3d3)],'instanceId':_0x25656b[_0x43c326(_0x5702dd._0x74cb71,0x8f7)+'Id']?.[_0x59e8f6(0x201,_0x5702dd._0x356ef4)]()||createInstanceId(),'displayName':_0x25656b[_0x43c326(_0x5702dd._0x5323af,_0x5702dd._0x49045b)+_0x59e8f6(0x1aa,_0x5702dd._0x339b82)]??null,'createdAt':_0x25656b[_0x43c326(0x9d1,_0x5702dd._0x2e7ae0)+'t']??new Date()['toISOStr'+'ing'](),'updatedAt':_0x25656b['updatedA'+'t']??new Date()[_0x43c326(0x6ca,0x747)+_0x43c326(0x6e3,_0x5702dd._0x2036a9)]()};return _0x25656b[_0x59e8f6(0x2c9,0x2f9)+'Id']!==_0x2a42b0[_0x43c326(0xb28,_0x5702dd._0x9647c7)+'Id']&&writePairingConfig(_0x2a42b0),_0x2a42b0;}catch{return null;}}function writePairingConfig(_0x49bf32){const _0xf179a6={_0x45919c:0x29e,_0x1ce3c8:0x1d5,_0xc65b24:0x313,_0x5dda64:0x0},_0x620b53={_0x102f4e:0x168};function _0x1f0875(_0x5d36ca,_0x49e942){return _0x3266d5(_0x49e942,_0x5d36ca- -0x16e);}function _0x36447e(_0xf4c95f,_0x2970e9){return _0x3266d5(_0x2970e9,_0xf4c95f- -_0x620b53._0x102f4e);}const _0x42b217={'TzsIe':function(_0x49cd2f,_0x14da45,_0x175610,_0x1e77ce){return _0x49cd2f(_0x14da45,_0x175610,_0x1e77ce);}},_0x132cc7={};_0x132cc7[_0x1f0875(_0xf179a6._0x45919c,_0xf179a6._0x1ce3c8)+'e']=!![],mkdirSync(CONFIG_DIR,_0x132cc7),_0x42b217[_0x36447e(0xfd,-0xa0)](writeFileSync,CONFIG_PATH,JSON[_0x1f0875(-0x157,-_0xf179a6._0xc65b24)+'y'](_0x49bf32,null,0x2)+'\x0a',_0x36447e(_0xf179a6._0x5dda64,0x13b));}function deletePairingConfig(){const _0x1ac298={_0x246cd2:0x90},_0x3b2273={_0x3cbe8a:0xf9};function _0x1ed1ff(_0x4ff182,_0x53d0b3){return _0x3266d5(_0x53d0b3,_0x4ff182- -_0x3b2273._0x3cbe8a);}if(!existsSync(CONFIG_PATH))return;const _0x49f9a5={};_0x49f9a5[_0x1ed1ff(0x138,-_0x1ac298._0x246cd2)]=!![],rmSync(CONFIG_PATH,_0x49f9a5);}function getDefaultBridgeDisplayName(){const _0x3d6fbd={_0x4ada56:0x3ad,_0x267baa:0x575,_0x9f09cf:0x5d2,_0x382ed1:0x4a5,_0x3fafc9:0x22d},_0x5797d0={_0x3ee521:0x2ac},_0x20fde5={_0x1b9b38:0x221},_0x4c7cb0=readOpenClawDefaultAgentName();function _0x49341e(_0x33e263,_0xd95ed8){return _0x3266d5(_0xd95ed8,_0x33e263-_0x20fde5._0x1b9b38);}if(_0x4c7cb0)return _0x4c7cb0;function _0x33db39(_0x4c665d,_0x2e1a18){return _0x3266d5(_0x4c665d,_0x2e1a18-_0x5797d0._0x3ee521);}try{const _0x5c7a09=userInfo()[_0x49341e(_0x3d6fbd._0x4ada56,0x344)][_0x33db39(_0x3d6fbd._0x267baa,_0x3d6fbd._0x9f09cf)]();if(_0x5c7a09)return _0x5c7a09;}catch{}const _0x138abc=(process.env.LOGNAME??process.env.USER??process.env.USERNAME??'')[_0x49341e(0x547,_0x3d6fbd._0x382ed1)]();if(_0x138abc)return _0x138abc;return hostname()['trim']()||_0x49341e(_0x3d6fbd._0x3fafc9,0x366)+_0x49341e(0x6c5,0x7e1);}function pickOpenClawDefaultAgentName(_0x49dd54){const _0xe0c3fd={_0x37b65f:0x37b,_0x365647:0x766,_0x39aac9:0x38f,_0x67c855:0x5ef,_0x1a7fdf:0x92b,_0x2c0c4e:0x693},_0xb436b4={'JTFNM':function(_0x4e51dd,_0x53483c){return _0x4e51dd(_0x53483c);}};if(!_0x49dd54||typeof _0x49dd54!==_0x105674(0x52e,_0xe0c3fd._0x37b65f))return null;const _0x201034=_0x49dd54[_0x105674(0x916,0x7db)],_0x4b5df0=Array[_0x105674(_0xe0c3fd._0x365647,0xa0e)](_0x201034?.[_0x2f1f85(_0xe0c3fd._0x39aac9,0x572)])?_0x201034[_0x105674(_0xe0c3fd._0x67c855,0x471)]:[];function _0x105674(_0x535845,_0x1abdff){return _0x26b3dd(_0x535845-0x62,_0x1abdff);}const _0x421442=_0x4b5df0[_0x105674(_0xe0c3fd._0x1a7fdf,0x94f)](_0x48133a=>isDefaultAgent(_0x48133a))??_0x4b5df0[_0x2f1f85(_0xe0c3fd._0x2c0c4e,0x8ae)](_0x4584b5=>hasAgentId(_0x4584b5,_0x105674(0x63f,0x68f)))??_0x4b5df0[0x0];function _0x2f1f85(_0x99f940,_0x33b2ce){return _0x26b3dd(_0x33b2ce- -0x1b,_0x99f940);}return _0xb436b4[_0x2f1f85(0x7c1,0x81f)](readAgentName,_0x421442);}function createInstanceId(){const _0x10bc55={_0xa2d611:0x411,_0x10e9ac:0x49f,_0x2126b1:0x5be,_0x459fa8:0x30f,_0xc116c5:0x126},_0x7bd877={_0x899758:0x149};function _0x2de75a(_0x1dfe8d,_0x24e4c0){return _0x3266d5(_0x24e4c0,_0x1dfe8d-_0x7bd877._0x899758);}const _0x17ee69=sanitizeId(hostname()||_0x52fc51(_0x10bc55._0xa2d611,_0x10bc55._0x10e9ac));function _0x52fc51(_0x334cdf,_0x27caa5){return _0x3266d5(_0x27caa5,_0x334cdf-0x120);}return _0x2de75a(_0x10bc55._0x2126b1,_0x10bc55._0x459fa8)+_0x17ee69+'-'+randomUUID()[_0x52fc51(0x128,_0x10bc55._0xc116c5)](0x0,0xa);}function sanitizeId(_0x22e791){const _0xc8a339={_0x2759ee:0x39c,_0x170fce:0xa0,_0x37edf0:0x13a,_0x4eb08d:0x80},_0x5d38fe={_0x37906b:0x591},_0xe5244a={_0x3d6d49:0x647};function _0x757047(_0x6d614f,_0x204ea8){return _0x26b3dd(_0x6d614f- -_0xe5244a._0x3d6d49,_0x204ea8);}function _0x35c110(_0x12524f,_0x209383){return _0x26b3dd(_0x209383- -_0x5d38fe._0x37906b,_0x12524f);}return _0x22e791['trim']()[_0x757047(_0xc8a339._0x2759ee,0x4a7)+_0x757047(_0xc8a339._0x170fce,0x175)]()[_0x35c110(0x21d,0x12e)](/[^a-z0-9._-]+/g,'-')[_0x35c110(0x314,0x12e)](/^-+|-+$/g,'')||_0x757047(_0xc8a339._0x37edf0,-_0xc8a339._0x4eb08d);}function readOpenClawDefaultAgentName(){function _0x24356f(_0x5d7765,_0x34ac8e){return _0x3266d5(_0x5d7765,_0x34ac8e-0x4f5);}function _0x22ea50(_0x538b7d,_0x48101d){return _0x3266d5(_0x538b7d,_0x48101d- -0x24a);}const _0x2e5739=resolveOpenClawConfigPath();if(!_0x2e5739||!existsSync(_0x2e5739))return null;try{const _0x58739c=JSON[_0x24356f(0x432,0x570)](readFileSync(_0x2e5739,_0x22ea50(0xb4,-0xe2)));return pickOpenClawDefaultAgentName(_0x58739c);}catch{return null;}}function resolveOpenClawConfigPath(){const _0xa5dd3e={_0x122451:0x1af,_0x179322:0x139,_0x2a6484:0x4f,_0x595716:0x175,_0x517c26:0xe3,_0x3667d7:0xe8,_0x17bba3:0x7a,_0x4d4ec6:0x92,_0x18805d:0x4d},_0x12e994={_0x4a9394:0xc37,_0x3f3f97:0x893},_0x21fb69={_0x41f1af:0xae},_0x2d5c25={_0x13f259:0x13},_0x1c7015={};function _0x2a3b31(_0x1f371b,_0x3a4ac8){return _0x3266d5(_0x3a4ac8,_0x1f371b- -_0x2d5c25._0x13f259);}_0x1c7015[_0x2a3b31(0x11b,-0x133)]=_0x5b820f(_0xa5dd3e._0x122451,0x2d8);function _0x5b820f(_0x42ebcd,_0x1005f5){return _0x3266d5(_0x42ebcd,_0x1005f5- -_0x21fb69._0x41f1af);}_0x1c7015[_0x5b820f(_0xa5dd3e._0x179322,-_0xa5dd3e._0x2a6484)]=_0x2a3b31(_0xa5dd3e._0x595716,_0xa5dd3e._0x517c26)+'w',_0x1c7015[_0x2a3b31(_0xa5dd3e._0x3667d7,_0xa5dd3e._0x17bba3)]=_0x2a3b31(0x107,0x1bb)+_0x5b820f(0x244,_0xa5dd3e._0x4d4ec6);const _0x503ee0=_0x1c7015,_0x4a368c=new Set(),_0x55a1b1=[homedir(),_0x503ee0[_0x5b820f(0x8e,0x80)]]['map'](_0xfbbd33=>_0xfbbd33[_0x2a3b31(0x313,0x218)]())['filter'](Boolean)['filter'](_0x5cac07=>{const _0x4ff758={_0x3ed8fc:0x44},_0x388343={_0x5cdc27:0x544};if(_0x4a368c[_0x378e11(0x982,_0x12e994._0x4a9394)](_0x5cac07))return![];_0x4a368c[_0x378e11(_0x12e994._0x3f3f97,0x7c1)](_0x5cac07);function _0x378e11(_0x3d22d4,_0xe5c34c){return _0x5b820f(_0xe5c34c,_0x3d22d4-_0x388343._0x5cdc27);}function _0x590122(_0x27977b,_0x53175b){return _0x5b820f(_0x53175b,_0x27977b- -_0x4ff758._0x3ed8fc);}return!![];});for(const _0x23e20a of _0x55a1b1){const _0x5e322e=join(_0x23e20a,_0x503ee0[_0x5b820f(-0x9f,-0x4f)],_0x503ee0[_0x5b820f(-0xe,_0xa5dd3e._0x18805d)]);if(existsSync(_0x5e322e))return _0x5e322e;}return _0x55a1b1[0x0]?join(_0x55a1b1[0x0],_0x503ee0[_0x2a3b31(0x4c,0x23e)],_0x503ee0[_0x5b820f(-0x159,0x4d)]):null;}function isDefaultAgent(_0x3b0809){const _0x38e15f={_0x4e65a5:0x2c8,_0x192585:0xaf0},_0x1d347e={_0x13524c:0x204},_0x142151={'HPbsz':function(_0x3ff11d,_0x43b2c2){return _0x3ff11d(_0x43b2c2);},'gJSPd':function(_0x452b1e,_0x336955){return _0x452b1e===_0x336955;}};function _0x3aa47f(_0x2ecb6e,_0x153297){return _0x26b3dd(_0x153297- -0x104,_0x2ecb6e);}function _0x474275(_0x5b3718,_0xd681d6){return _0x26b3dd(_0xd681d6- -_0x1d347e._0x13524c,_0x5b3718);}return _0x142151['HPbsz'](Boolean,_0x3b0809&&typeof _0x3b0809===_0x474275(0x48e,_0x38e15f._0x4e65a5)&&_0x142151[_0x3aa47f(0x4fb,0x5f9)](_0x3b0809[_0x3aa47f(_0x38e15f._0x192585,0x8ad)],!![]));}function hasAgentId(_0x42be12,_0x3c2561){const _0x38b445={};_0x38b445['CaibL']='string';const _0x577a6b=_0x38b445;return Boolean(_0x42be12&&typeof _0x42be12==='object'&&typeof _0x42be12['id']===_0x577a6b['CaibL']&&_0x42be12['id']['trim']()===_0x3c2561);}function readAgentName(_0x2d5f60){const _0xb28013={_0x3a3110:0x47b,_0x2016fe:0x78f,_0x2ed32a:0x89b,_0x2de98d:0x2d6,_0x4d797e:0x41e,_0x2cbbbb:0x69,_0x378693:0x152,_0x233963:0x179,_0x4d7d4d:0x62,_0x50a9cb:0x66,_0x1039b9:0x13a,_0x385885:0xb1,_0x403aad:0x846},_0x1ed474={_0x5ad355:0xae},_0x59e7cd={};_0x59e7cd[_0x3378bb(0x4d0,_0xb28013._0x3a3110)]=function(_0x6836dc,_0x408282){return _0x6836dc!==_0x408282;},_0x59e7cd[_0x3378bb(_0xb28013._0x2016fe,_0xb28013._0x2ed32a)]=function(_0x46acdb,_0x5cb0c9){return _0x46acdb===_0x5cb0c9;},_0x59e7cd['RwzSz']='string';const _0x52cd47=_0x59e7cd;if(!_0x2d5f60||_0x52cd47[_0x1dcdc2(-_0xb28013._0x2de98d,-0x18c)](typeof _0x2d5f60,_0x3378bb(0x614,_0xb28013._0x4d797e)))return null;const _0x153803=_0x2d5f60;function _0x1dcdc2(_0x3d2460,_0x4f16ce){return _0x26b3dd(_0x4f16ce- -0x6b5,_0x3d2460);}const _0x47c330=_0x52cd47[_0x1dcdc2(0x40e,0x294)](typeof _0x153803['identity']?.[_0x1dcdc2(_0xb28013._0x2cbbbb,-0x60)],_0x1dcdc2(0x1,_0xb28013._0x378693))?_0x153803[_0x1dcdc2(_0xb28013._0x233963,_0xb28013._0x4d7d4d)][_0x1dcdc2(-_0xb28013._0x50a9cb,-0x60)][_0x1dcdc2(-0x193,0x101)]():'';if(_0x47c330)return _0x47c330;function _0x3378bb(_0x4f366c,_0x2254ee){return _0x26b3dd(_0x2254ee- -_0x1ed474._0x5ad355,_0x4f366c);}const _0x54dd7c=typeof _0x153803[_0x3378bb(0x42d,0x5a7)]===_0x52cd47[_0x1dcdc2(-_0xb28013._0x1039b9,-_0xb28013._0x385885)]?_0x153803[_0x3378bb(_0xb28013._0x403aad,0x5a7)][_0x3378bb(0x79e,0x708)]():'';return _0x54dd7c||null;}function buildPairingQrPayload(_0x509003){const _0x23839c={_0xb0f410:0x6,_0x1e8b6d:0x74d,_0x192c38:0x1b4,_0x403a0f:0x24f,_0x4b64f9:0x1ed,_0x36b5d8:0xb4,_0x10cffe:0x13b,_0xb9abc9:0x8ef,_0x335cc7:0x114,_0x407534:0x149,_0x595396:0x3df},_0x1731a4={_0x3d05c8:0x1eb},_0x25e867={};_0x25e867['v']=0x2,_0x25e867['k']='cp',_0x25e867['s']=_0x509003[_0xa10f88(-_0x23839c._0xb0f410,0x25)],_0x25e867['g']=_0x509003[_0x38e721(0x4bf,_0x23839c._0x1e8b6d)+'d'],_0x25e867['a']=_0x509003[_0xa10f88(0x211,0x24f)+'de'],_0x25e867['rb']=0x1,_0x25e867['pv']=0x2,_0x25e867['sb']=!![];function _0x38e721(_0x48151b,_0x579380){return _0x3266d5(_0x48151b,_0x579380-0x3c8);}const _0x256cb6=_0x25e867;_0x509003[_0x38e721(0x523,0x4b6)+_0xa10f88(_0x23839c._0x192c38,0x303)]?.[_0xa10f88(0x13b,-0x16e)]()&&(_0x256cb6['n']=_0x509003[_0xa10f88(-0xfd,0x154)+_0xa10f88(0x1b4,_0x23839c._0x403a0f)][_0xa10f88(0x13b,_0x23839c._0x4b64f9)]());_0x509003[_0xa10f88(_0x23839c._0x36b5d8,-0x112)]?.[_0xa10f88(_0x23839c._0x10cffe,0x2f8)]()&&(_0x256cb6['t']=_0x509003[_0xa10f88(0xb4,-0x86)]['trim']());_0x509003[_0x38e721(_0x23839c._0xb9abc9,0x84f)]?.[_0xa10f88(0x13b,-_0x23839c._0x335cc7)]()&&(_0x256cb6['p']=_0x509003['password'][_0xa10f88(0x13b,_0x23839c._0x407534)]());function _0xa10f88(_0x44fe5c,_0x3b4e24){return _0x3266d5(_0x3b4e24,_0x44fe5c- -_0x1731a4._0x3d05c8);}return JSON[_0x38e721(0x1ed,_0x23839c._0x595396)+'y'](_0x256cb6);}function buildGatewayQrPayload(_0xcdf75d){const _0x1b597e={_0x29922f:0xbaa,_0x545dcb:0x9c9,_0x2c0636:0x83f,_0x3f88d8:0x929,_0x14b8a1:0xa14,_0x11f306:0x8cf,_0x224647:0x544,_0x3f4e35:0x722,_0x212b45:0x748,_0x1c96bc:0x7ed,_0x180d6c:0x9d5,_0x2e0e71:0x874,_0x18693f:0x8ff,_0x443ad4:0x980};function _0x8b1ae5(_0x33d214,_0x236b24){return _0x26b3dd(_0x33d214-0xbe,_0x236b24);}const _0x278312={'mDQPR':function(_0x43c583,_0x41b052){return _0x43c583(_0x41b052);},'GyloQ':function(_0x5a94fc,_0x58f3b1){return _0x5a94fc*_0x58f3b1;}},_0x15afb2=_0x278312['mDQPR'](normalizeGatewayQrUrl,_0xcdf75d[_0x8b1ae5(0x941,_0x1b597e._0x29922f)+'rl']),_0x530032={'url':_0x15afb2[_0x8b1ae5(_0x1b597e._0x545dcb,0x8c7)],'host':_0x15afb2[_0x8b1ae5(_0x1b597e._0x2c0636,_0x1b597e._0x3f88d8)],'port':_0x15afb2[_0x8b1ae5(_0x1b597e._0x14b8a1,_0x1b597e._0x11f306)],'tls':_0x15afb2['tls'],'mode':'gateway','expiresAt':_0xcdf75d['expiresA'+'t']??Date[_0x8b1ae5(0x7b0,_0x1b597e._0x224647)]()+_0x278312['GyloQ'](0xa,0x3c)*0x3e8,'qrVersion':0x2};_0xcdf75d[_0x78cf1b(0x6c1,_0x1b597e._0x3f4e35)]?.[_0x78cf1b(_0x1b597e._0x212b45,0x69f)]()&&(_0x530032[_0x78cf1b(0x6c1,0x778)]=_0xcdf75d[_0x8b1ae5(_0x1b597e._0x1c96bc,0x644)][_0x78cf1b(0x748,0x874)]());function _0x78cf1b(_0x71960a,_0x573b75){return _0x26b3dd(_0x71960a- -0x6e,_0x573b75);}return _0xcdf75d[_0x8b1ae5(_0x1b597e._0x180d6c,0xa64)]?.[_0x8b1ae5(_0x1b597e._0x2e0e71,_0x1b597e._0x18693f)]()&&(_0x530032[_0x8b1ae5(_0x1b597e._0x180d6c,0x910)]=_0xcdf75d['password'][_0x8b1ae5(0x874,_0x1b597e._0x443ad4)]()),JSON['stringif'+'y'](_0x530032);}function _0x26b3dd(_0x260171,_0x113089){return _0x47f8(_0x260171-0x324,_0x113089);}function normalizeGatewayQrUrl(_0x445989){const _0x4e33c4={_0x5d25bd:0x2fc,_0x30b403:0x3ff,_0x491a02:0x482,_0x2e6eae:0x138,_0x463f9b:0x67a,_0x1b0b4b:0xd1,_0x174960:0x1f1,_0x530903:0x471,_0x53524c:0x97e,_0x1a82fd:0x80a,_0x48bdf2:0x54f},_0x49e5bd={_0x24721a:0x66},_0x5dbd18={};_0x5dbd18['BQFJb']=function(_0x2205f2,_0xfc7ec2){return _0x2205f2===_0xfc7ec2;},_0x5dbd18[_0x2d4bc8(0x1c4,_0x4e33c4._0x5d25bd)]=_0xe319bf(_0x4e33c4._0x30b403,_0x4e33c4._0x491a02);const _0x7bb564=_0x5dbd18,_0x116fda=new URL(_0x445989[_0xe319bf(_0x4e33c4._0x2e6eae,0x38c)]());function _0xe319bf(_0x544b66,_0x5121fb){return _0x3266d5(_0x544b66,_0x5121fb-_0x49e5bd._0x24721a);}const _0x45069a=_0x7bb564['BQFJb'](_0x116fda[_0x2d4bc8(0x95,0x2d5)],_0x2d4bc8(0x3ba,_0x4e33c4._0x463f9b))||_0x116fda[_0xe319bf(_0x4e33c4._0x1b0b4b,0xdd)]==='https:',_0x153fe5=_0x45069a?_0x7bb564[_0x2d4bc8(0x78,_0x4e33c4._0x5d25bd)]:_0xe319bf(0x318,_0x4e33c4._0x174960),_0x219ddc=_0x116fda[_0xe319bf(0x61e,_0x4e33c4._0x530903)],_0x10d9ac=_0x116fda[_0x2d4bc8(_0x4e33c4._0x53524c,0x724)]?Number(_0x116fda['port']):_0x45069a?0x1bb:0x50,_0x78c033=!_0x116fda['pathname']||_0x116fda[_0xe319bf(0x22a,0x98)]===''?'/':_0x116fda[_0xe319bf(-0x1af,0x98)],_0x1b84ef={};function _0x2d4bc8(_0x16e1d5,_0x32386b){return _0x3266d5(_0x16e1d5,_0x32386b-0x25e);}return _0x1b84ef[_0xe319bf(0x649,0x4e1)]=_0x153fe5+'//'+_0x219ddc+':'+_0x10d9ac+_0x78c033,_0x1b84ef[_0x2d4bc8(_0x4e33c4._0x1a82fd,_0x4e33c4._0x48bdf2)]=_0x219ddc,_0x1b84ef[_0xe319bf(0x410,0x52c)]=_0x10d9ac,_0x1b84ef[_0xe319bf(0x2b1,0x381)]=_0x78c033,_0x1b84ef['tls']=_0x45069a,_0x1b84ef;}var DEFAULT_REGISTRY_BASE=_0x26b3dd(0x4e9,0x32c)+_0x3266d5(0x2e6,0x398)+'.clawket'+_0x3266d5(0x382,0x580),DEFAULT_REGISTRY_FALLBACK_BASE=_0x26b3dd(0x4e9,0x6b3)+'clawket-'+_0x3266d5(0x4bc,0x398)+_0x3266d5(0x5dc,0x427)+'.workers'+'.dev';async function pairGateway(_0x216d01){const _0x3cdca5={_0x3f2ee7:0x4b8,_0x32ff92:0x5c8,_0x1ebda6:0x56e,_0x45aa30:0x308,_0x146858:0x50b,_0x41f07e:0x2e3,_0x387d25:0x52d,_0xaf5e9d:0x3c0,_0x4b3f22:0x1b6,_0x191388:0x318,_0x2647f0:0x489,_0x5f4941:0x1ef,_0x3b22d7:0x1d8,_0x476f32:0x489,_0x245115:0x487,_0x1d8282:0x3f5,_0x1d7479:0x18e,_0x3ac9f7:0x63c,_0x113574:0x63f,_0x39b4d0:0x540,_0x39f949:0x2af,_0x16cebb:0x227,_0xa9ed5d:0x567,_0x228858:0x332,_0x568bb8:0x18d,_0xa5357b:0x704,_0x42753b:0x662,_0x3160e5:0x3a1,_0xb329d:0xdc,_0x49bb50:0x330,_0x18e997:0x52a,_0x1f65d3:0x327,_0x36bce5:0xa,_0x7e0854:0x101,_0x414f68:0x1b6,_0x5293f0:0x489,_0x51761e:0x2ea,_0x41e341:0x193,_0x533c71:0x3b8,_0x218265:0x1ac,_0x320df9:0x29f,_0xacda67:0x409,_0x56158c:0x284,_0x1c55b2:0x4d8,_0x523bae:0x648,_0x25a9f5:0x7f5,_0x2dc32f:0x53d,_0x1eb320:0x41f,_0x57abcc:0x46f,_0xcd79c9:0xd0,_0x19b883:0x2a1,_0x3da440:0x28c,_0x47ce24:0x286,_0x1ddf36:0x4c4,_0x1f03a9:0x1d8,_0x201149:0x27e,_0x59ee33:0x397,_0x468fee:0x8a0,_0x2c57ab:0x63c,_0xf6235c:0x522},_0x1f65f7={_0x3cb37d:0xc8},_0x1db9bb={'ckWGZ':function(_0x44f9fa,_0xce4ef7,_0x4e9577){return _0x44f9fa(_0xce4ef7,_0x4e9577);},'vunef':'POST','Gtemc':_0x3acb9f(0x467,0x330)+_0x25409d(_0x3cdca5._0x3f2ee7,0x327)},_0x242e6c=normalizeHttpBase(_0x216d01['serverUr'+'l']),_0x506e9f=readPairingConfig(),_0x29d69d=_0x1db9bb['ckWGZ'](assessPairingCompatibility,_0x506e9f,_0x242e6c);function _0x25409d(_0x2078d1,_0x5a8eae){return _0x3266d5(_0x2078d1,_0x5a8eae-_0x1f65f7._0x3cb37d);}if(_0x29d69d===_0x3acb9f(0x56a,0x4f7)+'existing'&&_0x506e9f){const _0x580934={};return _0x580934[_0x3acb9f(0x393,0x227)+'l']=_0x506e9f['serverUr'+'l'],_0x580934[_0x3acb9f(_0x3cdca5._0x32ff92,0x46f)+'d']=_0x506e9f[_0x25409d(_0x3cdca5._0x1ebda6,0x44d)+'d'],_0x580934[_0x25409d(_0x3cdca5._0x45aa30,_0x3cdca5._0x146858)+_0x3acb9f(_0x3cdca5._0x41f07e,0x3e3)]=_0x506e9f[_0x3acb9f(0x363,_0x3cdca5._0x387d25)+'ret'],_0x580934[_0x25409d(_0x3cdca5._0xaf5e9d,_0x3cdca5._0x4b3f22)+_0x3acb9f(_0x3cdca5._0x191388,_0x3cdca5._0x2647f0)]=_0x216d01[_0x3acb9f(_0x3cdca5._0x5f4941,_0x3cdca5._0x3b22d7)+_0x3acb9f(0x3c9,_0x3cdca5._0x476f32)],_0x580934[_0x3acb9f(_0x3cdca5._0x245115,_0x3cdca5._0x1d8282)+'oken']=_0x216d01[_0x3acb9f(_0x3cdca5._0x1d7479,0x3f5)+_0x3acb9f(0x266,0x22f)],_0x580934[_0x3acb9f(0x48f,_0x3cdca5._0x3ac9f7)+_0x25409d(_0x3cdca5._0x113574,0x38a)]=_0x216d01[_0x3acb9f(0x579,0x63c)+_0x3acb9f(_0x3cdca5._0x39b4d0,0x3ac)],refreshAccessCode(_0x580934);}if(_0x29d69d==='server-m'+_0x25409d(0x1c9,_0x3cdca5._0x39f949))throw new Error('This\x20bri'+'dge\x20is\x20a'+'lready\x20p'+_0x3acb9f(0x16e,0x1cb)+_0x3acb9f(0xc5,0x24c)+_0x506e9f?.[_0x3acb9f(0x16a,_0x3cdca5._0x16cebb)+'l']+('.\x20Run\x20\x22c'+_0x25409d(0x432,_0x3cdca5._0xa9ed5d)+_0x25409d(0x11c,_0x3cdca5._0x228858)+_0x25409d(0x56f,0x3e6)+_0x25409d(0x2e5,0x529)+_0x3acb9f(_0x3cdca5._0x568bb8,0x281)+_0x25409d(_0x3cdca5._0xa5357b,0x5f5)+_0x25409d(0x4f3,0x406)));function _0x3acb9f(_0x74f36d,_0x5a2729){return _0x3266d5(_0x74f36d,_0x5a2729-0xea);}const _0x7c14eb=await postJsonWithCloudflareFallback(_0x242e6c+(_0x3acb9f(0x93,0x202)+'/registe'+'r'),{'method':_0x1db9bb[_0x3acb9f(_0x3cdca5._0x42753b,0x3b4)],'headers':{'content-type':_0x1db9bb[_0x3acb9f(_0x3cdca5._0x3160e5,0x606)],'accept':_0x3acb9f(_0x3cdca5._0xb329d,_0x3cdca5._0x49bb50)+_0x25409d(_0x3cdca5._0x18e997,_0x3cdca5._0x1f65d3)},'body':JSON[_0x3acb9f(_0x3cdca5._0x36bce5,_0x3cdca5._0x7e0854)+'y']({'displayName':_0x216d01[_0x25409d(0x32c,_0x3cdca5._0x414f68)+_0x3acb9f(0x6ea,_0x3cdca5._0x5293f0)]?.[_0x3acb9f(0x534,0x410)]()||null})});if(!_0x7c14eb[_0x25409d(_0x3cdca5._0x51761e,0x218)]['ok'])throw await buildPairingRequestError(_0x25409d(0x364,0x418)+_0x25409d(_0x3cdca5._0x41e341,_0x3cdca5._0x533c71),_0x7c14eb);const _0x109e35=await _0x7c14eb[_0x25409d(-0x7c,0x218)][_0x3acb9f(_0x3cdca5._0x218265,0x3df)](),_0x5747d5=new Date()['toISOStr'+_0x3acb9f(_0x3cdca5._0x320df9,0x2e0)](),_0x39a331={'serverUrl':_0x242e6c,'gatewayId':_0x109e35['gatewayI'+'d'],'relaySecret':_0x109e35[_0x25409d(_0x3cdca5._0xacda67,0x50b)+'ret'],'relayUrl':_0x109e35[_0x25409d(0x3a3,_0x3cdca5._0x56158c)],'instanceId':_0x506e9f?.[_0x3acb9f(_0x3cdca5._0x1c55b2,_0x3cdca5._0x523bae)+'Id']??_0x25409d(_0x3cdca5._0x25a9f5,_0x3cdca5._0x2dc32f)+_0x109e35[_0x3acb9f(_0x3cdca5._0x1eb320,_0x3cdca5._0x57abcc)+'d'][_0x25409d(-0x8d,_0x3cdca5._0xcd79c9)](-0xa),'displayName':_0x109e35[_0x3acb9f(_0x3cdca5._0x19b883,0x1d8)+_0x25409d(0x208,0x467)],'createdAt':_0x5747d5,'updatedAt':_0x5747d5};return writePairingConfig(_0x39a331),{'config':_0x39a331,'accessCode':_0x109e35['accessCo'+'de'],'accessCodeExpiresAt':_0x109e35[_0x3acb9f(0x5b3,0x4e6)+'deExpire'+_0x3acb9f(0x1c9,_0x3cdca5._0x3da440)],'action':_0x25409d(0x453,_0x3cdca5._0x47ce24)+'ed','qrPayload':buildPairingQrPayload({'server':_0x242e6c,'gatewayId':_0x109e35[_0x3acb9f(0x3f0,_0x3cdca5._0x57abcc)+'d'],'accessCode':_0x109e35[_0x25409d(0x2b4,_0x3cdca5._0x1ddf36)+'de'],'displayName':_0x109e35[_0x3acb9f(-0xb3,_0x3cdca5._0x1f03a9)+_0x3acb9f(_0x3cdca5._0x201149,0x489)],'token':_0x216d01['gatewayT'+'oken']?.[_0x3acb9f(_0x3cdca5._0x59ee33,0x410)]()||null,'password':_0x216d01[_0x3acb9f(_0x3cdca5._0x468fee,_0x3cdca5._0x2c57ab)+'assword']?.[_0x25409d(_0x3cdca5._0xf6235c,0x3ee)]()||null})};}async function refreshAccessCode(_0x15ba7f){const _0xec5030={_0x3d2464:0x408,_0x1ece4c:0xda,_0x46c644:0xb9,_0x310f9f:0x57d,_0x5f05a9:0x343,_0x3364d5:0x2d5,_0x251c06:0x26b,_0x259181:0x171,_0x4d6309:0x320,_0x2c9baf:0x1f9,_0xdb98bc:0x360,_0x4b3b84:0xc,_0x46960f:0x8ac,_0x30d500:0x1b8,_0x4677b9:0x506,_0x195910:0x2d7,_0x51fbd6:0x1b8,_0x25739d:0x799,_0x57e747:0x342,_0x1722c4:0x483,_0xc5cd17:0x61b,_0x7cc463:0x416,_0x58ad8c:0x2be,_0x3c81a4:0x369,_0x996361:0x311,_0x1a7e00:0x5cd,_0xd0e6fc:0x2b6,_0x2bb5e7:0x4a5,_0x584935:0x297,_0x2cabd6:0xc2,_0x4dc8c2:0x42a,_0x146633:0x12e,_0x42bfe2:0x3e7,_0x8ba7c4:0x2f7,_0x2b84db:0x71,_0x58a3b4:0x20c,_0x39144f:0xa6e,_0x269428:0x7be,_0x3f8998:0x6d1,_0x5a87b7:0x114,_0x290339:0x36e,_0x507617:0x646,_0x247116:0x6d3,_0x29367e:0x5b2,_0x586712:0x432,_0x15ca92:0x298,_0x40ca2b:0x4c4,_0x37ea54:0x644},_0x193300={_0x5c92a2:0x2a7},_0x469f54={'AnybB':function(_0x21100){return _0x21100();},'IHTEq':function(_0x2cf11c,_0x5b16f4,_0x463012){return _0x2cf11c(_0x5b16f4,_0x463012);},'RVMIe':_0x454390(_0xec5030._0x3d2464,0x1d3)},_0x38b29c=_0x469f54['AnybB'](readPairingConfig),_0x4dc99e=normalizeHttpBase(_0x15ba7f?.[_0x454390(_0xec5030._0x1ece4c,0xaf)+'l']??_0x38b29c?.[_0x454390(_0xec5030._0x46c644,0xaf)+'l']??''),_0x2ab8e1=_0x15ba7f?.[_0x454390(_0xec5030._0x310f9f,0x2f7)+'d']??_0x38b29c?.[_0x454390(0x383,0x2f7)+'d']??'',_0x2749f1=_0x15ba7f?.['relaySec'+_0x454390(_0xec5030._0x5f05a9,0x26b)]??_0x38b29c?.['relaySec'+_0x454390(_0xec5030._0x3364d5,_0xec5030._0x251c06)]??'';if(!_0x4dc99e||!_0x2ab8e1||!_0x2749f1)throw new Error(_0x454390(_0xec5030._0x259181,0x39)+_0xf8db93(0x406,_0xec5030._0x4d6309)+_0x454390(_0xec5030._0x2c9baf,_0xec5030._0xdb98bc)+_0x454390(_0xec5030._0x4b3b84,0x72)+'ir\x20first'+'.');const _0x4e06ae={};_0x4e06ae['content-'+_0xf8db93(_0xec5030._0x46960f,0x7e9)]=_0x454390(0x79,_0xec5030._0x30d500)+_0xf8db93(0x739,_0xec5030._0x4677b9);function _0x454390(_0x1095ae,_0x43e4b9){return _0x3266d5(_0x1095ae,_0x43e4b9- -0x8e);}_0x4e06ae[_0xf8db93(0x513,0x582)]=_0x454390(_0xec5030._0x195910,_0xec5030._0x51fbd6)+_0xf8db93(_0xec5030._0x25739d,_0xec5030._0x4677b9);const _0x49c6a1=await _0x469f54[_0x454390(0x1d0,_0xec5030._0x57e747)](postJsonWithCloudflareFallback,_0x4dc99e+('/v1/pair'+_0x454390(0x582,_0xec5030._0x1722c4)+_0xf8db93(_0xec5030._0xc5cd17,0x442)),{'method':_0x469f54[_0x454390(-0xc3,0x8e)],'headers':_0x4e06ae,'body':JSON[_0xf8db93(_0xec5030._0x7cc463,_0xec5030._0x58ad8c)+'y']({'gatewayId':_0x2ab8e1,'relaySecret':_0x2749f1,'displayName':_0x15ba7f?.[_0x454390(0x249,0x60)+_0x454390(_0xec5030._0x3c81a4,_0xec5030._0x996361)]?.[_0xf8db93(0x4ff,_0xec5030._0x1a7e00)]()||void 0x0})});function _0xf8db93(_0x10ac0f,_0x1052d7){return _0x3266d5(_0x10ac0f,_0x1052d7-_0x193300._0x5c92a2);}if(!_0x49c6a1['response']['ok'])throw await buildPairingRequestError('Access\x20c'+'ode\x20refr'+_0x454390(_0xec5030._0xd0e6fc,_0xec5030._0x2bb5e7),_0x49c6a1);const _0x3f98b2=await _0x49c6a1[_0x454390(_0xec5030._0x584935,_0xec5030._0x2cabd6)][_0xf8db93(_0xec5030._0x4dc8c2,0x59c)](),_0x478397={'serverUrl':_0x4dc99e,'gatewayId':_0x3f98b2['gatewayI'+'d'],'relaySecret':_0x2749f1,'relayUrl':_0x3f98b2[_0x454390(0x1af,_0xec5030._0x146633)],'instanceId':_0x38b29c?.[_0xf8db93(0x8eb,0x805)+'Id']??_0x454390(0x2c0,_0xec5030._0x42bfe2)+_0x3f98b2[_0x454390(0x351,_0xec5030._0x8ba7c4)+'d'][_0xf8db93(_0xec5030._0x2b84db,0x2af)](-0xa),'displayName':_0x3f98b2['displayN'+_0x454390(_0xec5030._0x58a3b4,_0xec5030._0x996361)],'createdAt':_0x38b29c?.[_0xf8db93(_0xec5030._0x39144f,_0xec5030._0x269428)+'t']??new Date()[_0xf8db93(_0xec5030._0x3f8998,0x655)+_0xf8db93(0x54a,0x49d)](),'updatedAt':new Date()[_0xf8db93(0x6bb,0x655)+_0xf8db93(0x5ef,0x49d)]()};return writePairingConfig(_0x478397),{'config':_0x478397,'accessCode':_0x3f98b2[_0x454390(0x3af,0x36e)+'de'],'accessCodeExpiresAt':_0x3f98b2[_0xf8db93(0x4b4,0x6a3)+'deExpire'+_0x454390(0x9c,_0xec5030._0x5a87b7)],'action':_0x454390(0x2f0,0x462)+'d','qrPayload':buildPairingQrPayload({'server':_0x4dc99e,'gatewayId':_0x3f98b2['gatewayI'+'d'],'accessCode':_0x3f98b2[_0x454390(0x422,_0xec5030._0x290339)+'de'],'displayName':_0x3f98b2[_0xf8db93(0x21a,0x395)+_0xf8db93(0x391,_0xec5030._0x507617)],'token':_0x15ba7f?.[_0xf8db93(_0xec5030._0x247116,_0xec5030._0x29367e)+'oken']?.[_0x454390(_0xec5030._0x586712,_0xec5030._0x15ca92)]()||null,'password':_0x15ba7f?.[_0x454390(0x6a6,_0xec5030._0x40ca2b)+_0x454390(0x37,0x234)]?.[_0xf8db93(_0xec5030._0x37ea54,_0xec5030._0x1a7e00)]()||null})};}function normalizeHttpBase(_0x4ec5a3){const _0x1ff66c={_0x2c9369:0xb6,_0x4e767e:0x228,_0x3d6ccf:0x5c5,_0x524f0e:0x52a,_0x21ba41:0x619,_0x258c02:0x1f2,_0x3fa5db:0x402,_0x2fc250:0x6a5,_0x31f15a:0x61d,_0x1c133d:0x1de,_0x9cab7c:0xf3,_0x386147:0x390,_0x302f81:0x618,_0x893232:0x72d,_0x1d495a:0x349,_0x4cf407:0xd5,_0x118952:0x250,_0x58be18:0x22f,_0x18ed3a:0x460,_0x331db3:0x474,_0x236cd5:0x75,_0x23f8b5:0x20a,_0x38c443:0x4aa,_0x451563:0x522},_0x1a16b6={_0x7004cd:0x237},_0x13b5c7={_0x54f223:0x2f3};function _0x38f1e7(_0x12bc96,_0x96dff7){return _0x3266d5(_0x12bc96,_0x96dff7-_0x13b5c7._0x54f223);}const _0x34bbe1={};_0x34bbe1['IKFtI']='http://',_0x34bbe1[_0x375926(-_0x1ff66c._0x2c9369,-_0x1ff66c._0x4e767e)]=_0x38f1e7(_0x1ff66c._0x3d6ccf,0x5ff);const _0x481805=_0x34bbe1,_0x1950b8=_0x4ec5a3[_0x38f1e7(_0x1ff66c._0x524f0e,_0x1ff66c._0x21ba41)]();if(!_0x1950b8)return'';function _0x375926(_0x190e6d,_0x20a351){return _0x3266d5(_0x20a351,_0x190e6d- -_0x1a16b6._0x7004cd);}if(_0x1950b8['startsWi'+'th'](_0x481805[_0x375926(-_0x1ff66c._0x258c02,-_0x1ff66c._0x3fa5db)])||_0x1950b8[_0x38f1e7(_0x1ff66c._0x2fc250,_0x1ff66c._0x31f15a)+'th'](_0x375926(-_0x1ff66c._0x1c133d,-0x9e)))return _0x1950b8[_0x38f1e7(0x2f8,0x522)](/\/+$/,'');if(_0x1950b8[_0x375926(_0x1ff66c._0x9cab7c,0xc6)+'th'](_0x375926(-0x155,-0x21e)))return(_0x38f1e7(0x366,_0x1ff66c._0x386147)+_0x1950b8[_0x375926(-0x22f,-0xf8)](_0x38f1e7(0x290,0x3d5)[_0x38f1e7(_0x1ff66c._0x302f81,_0x1ff66c._0x893232)]))[_0x38f1e7(_0x1ff66c._0x1d495a,0x522)](/\/+$/,'');if(_0x1950b8[_0x375926(_0x1ff66c._0x9cab7c,0x30e)+'th'](_0x375926(_0x1ff66c._0x4cf407,_0x1ff66c._0x118952)))return(_0x38f1e7(0x533,0x34c)+_0x1950b8[_0x375926(-_0x1ff66c._0x58be18,-_0x1ff66c._0x18ed3a)](_0x481805[_0x38f1e7(0x334,_0x1ff66c._0x331db3)][_0x375926(0x203,_0x1ff66c._0x236cd5)]))[_0x375926(-0x8,-_0x1ff66c._0x23f8b5)](/\/+$/,'');return('https://'+_0x1950b8)[_0x38f1e7(_0x1ff66c._0x38c443,_0x1ff66c._0x451563)](/\/+$/,'');}function assessPairingCompatibility(_0x3ca2bf,_0x4c0db2){const _0x18bcf9={_0x3d2178:0x350,_0x11f61e:0x49c,_0x7a0256:0x6d5,_0x1ed6c8:0x61b,_0x325a15:0x3e1},_0x3f0ce3={_0x3e47b5:0x277},_0x15dede={};_0x15dede['pjTvK']='refresh-'+'existing',_0x15dede[_0x3a821c(0x7e1,0x61c)]='server-m'+'ismatch';const _0x5e07bd=_0x15dede;function _0x3a821c(_0x598bd8,_0x5d85ab){return _0x26b3dd(_0x5d85ab- -0x276,_0x598bd8);}if(!_0x3ca2bf)return'register'+_0x3a821c(0x3ba,_0x18bcf9._0x3d2178);function _0x21a7ed(_0x14d97e,_0x2e387e){return _0x26b3dd(_0x14d97e- -_0x3f0ce3._0x3e47b5,_0x2e387e);}if(_0x3ca2bf[_0x3a821c(0x20b,0x357)+'l']===_0x4c0db2)return _0x5e07bd[_0x21a7ed(_0x18bcf9._0x11f61e,_0x18bcf9._0x7a0256)];return _0x5e07bd[_0x21a7ed(_0x18bcf9._0x1ed6c8,_0x18bcf9._0x325a15)];}async function postJsonWithCloudflareFallback(_0x268ffd,_0x568ab4){const _0x355c75={_0xa5db81:0x4cb},_0x4f45d3={_0x2c9e47:0x6fc},_0x5b91df={_0x1e7c78:0x23};function _0x37865c(_0x51a283,_0x1898a0){return _0x26b3dd(_0x1898a0-_0x5b91df._0x1e7c78,_0x51a283);}const _0x36a7c2=await fetch(_0x268ffd,_0x568ab4),_0x33e61f=resolveCloudflareChallengeFallbackUrl(_0x268ffd,_0x36a7c2);if(!_0x33e61f){const _0xf044b1={};return _0xf044b1[_0x14b66e(-0x357,-0x11c)]=_0x36a7c2,_0xf044b1[_0x37865c(_0x355c75._0xa5db81,0x72e)+_0x37865c(0x24b,0x4db)]=_0x268ffd,_0xf044b1['fallback'+'Url']=null,_0xf044b1;}function _0x14b66e(_0x3f6514,_0x134d9b){return _0x26b3dd(_0x134d9b- -_0x4f45d3._0x2c9e47,_0x3f6514);}return{'response':await fetch(_0x33e61f,_0x568ab4),'attemptedUrl':_0x268ffd,'fallbackUrl':_0x33e61f};}async function buildPairingRequestError(_0x5d944b,_0xba1ee1){const _0x113566={_0x4cfc91:0x36,_0x5964f7:0x118,_0x1cae79:0x895,_0x345184:0x31a,_0x2b5bc2:0x895,_0x3a3143:0x828,_0x30dd98:0xa1f,_0xbb8b71:0x1e,_0x2ac6d6:0x1cc,_0x3ba1a5:0x860,_0x4b6e7d:0x188,_0x4bdccb:0xae,_0x144983:0x953,_0x47c342:0xb8e,_0x537a32:0x128,_0x326c65:0x9eb,_0x16b832:0x369,_0x5b096f:0x731,_0x432305:0x67d,_0x326efe:0x375,_0x1e9541:0x17a,_0x42afb2:0x7a8,_0x17ed02:0x56f,_0x52b4f9:0x72f,_0x98ce99:0x35,_0x2df4b6:0x133,_0x449edd:0x547,_0x14172f:0x37,_0x10375e:0x3c,_0xf5265:0xa9c,_0x116077:0x284,_0x701178:0x102,_0x2fbde3:0x220,_0x36725e:0x1c5,_0x1874e5:0xa01,_0x2c4341:0x104,_0x154adb:0x1ad,_0x498d07:0x128,_0x62b593:0x41f,_0x5ad248:0x1a1,_0x12c08f:0x70e,_0x20cdb7:0x79d,_0x3c5f2f:0x7c6,_0x4ec356:0x917},_0x28089d={'KDPJf':function(_0x1ddfe3,_0x2680a3){return _0x1ddfe3(_0x2680a3);},'VrXzG':function(_0x23a299,_0x207eb4){return _0x23a299(_0x207eb4);}};function _0x4505fe(_0x5636f4,_0x361552){return _0x26b3dd(_0x361552- -0x6e4,_0x5636f4);}function _0x35c39f(_0x400b90,_0x1485b0){return _0x26b3dd(_0x400b90-0xb3,_0x1485b0);}if(_0x28089d[_0x4505fe(-_0x113566._0x4cfc91,-_0x113566._0x5964f7)](isCloudflareChallengeResponse,_0xba1ee1[_0x35c39f(0x693,0x7b6)])){const _0x2c5453=new URL(_0xba1ee1['fallback'+_0x35c39f(_0x113566._0x1cae79,0x8c3)]??_0xba1ee1['attempte'+'dUrl'])['origin'],_0x504d60=_0xba1ee1[_0x4505fe(-_0x113566._0x345184,-0x193)+_0x35c39f(_0x113566._0x2b5bc2,_0x113566._0x3a3143)]?_0x35c39f(0xa8e,_0x113566._0x30dd98)+'ic\x20fallb'+_0x4505fe(-0x24a,-_0x113566._0xbb8b71)+_0xba1ee1[_0x4505fe(-_0x113566._0x2ac6d6,-0x193)+_0x35c39f(0x895,_0x113566._0x3ba1a5)]+(_0x4505fe(-_0x113566._0x4b6e7d,_0x113566._0x4bdccb)+'t\x20a\x20Clou'+_0x35c39f(_0x113566._0x144983,_0x113566._0x47c342)+'hallenge'+'.'):'';return new Error(_0x5d944b+(_0x4505fe(0x470,0x26a)+'(')+_0xba1ee1['response'][_0x4505fe(0x13f,_0x113566._0x537a32)]+(_0x35c39f(_0x113566._0x326c65,0x7ee)+_0x4505fe(-_0x113566._0x16b832,-0xc3)+'allenge\x20'+_0x35c39f(_0x113566._0x5b096f,_0x113566._0x432305)+_0x4505fe(0x398,0x12a)+_0x4505fe(-_0x113566._0x326efe,-_0x113566._0x1e9541)+'\x20at\x20')+_0x2c5453+'.'+_0x504d60+('\x20Retry\x20f'+_0x35c39f(0x9ed,_0x113566._0x42afb2)+_0x35c39f(_0x113566._0x17ed02,_0x113566._0x52b4f9)+_0x4505fe(-_0x113566._0x98ce99,-_0x113566._0x2df4b6)+_0x35c39f(0x58b,_0x113566._0x449edd)+_0x4505fe(-_0x113566._0x14172f,-_0x113566._0x10375e)+'y\x20endpoi'+_0x35c39f(_0x113566._0xf5265,0x7e6)+_0x4505fe(0x522,_0x113566._0x116077)+'\x20require'+_0x4505fe(_0x113566._0x701178,_0x113566._0x2fbde3)+_0x4505fe(-_0x113566._0x36725e,-0x27)+'ation.'));}return new Error(_0x5d944b+(_0x35c39f(_0x113566._0x1874e5,0xa76)+'(')+_0xba1ee1[_0x4505fe(-0x16d,-_0x113566._0x2c4341)][_0x4505fe(_0x113566._0x154adb,_0x113566._0x498d07)]+_0x4505fe(-_0x113566._0x62b593,-_0x113566._0x5ad248)+_0x28089d[_0x35c39f(_0x113566._0x12c08f,_0x113566._0x20cdb7)](summarizeFailedResponse,await _0xba1ee1[_0x35c39f(0x693,_0x113566._0x3c5f2f)][_0x35c39f(0x7da,_0x113566._0x4ec356)]()));}function isCloudflareChallengeResponse(_0x67f2d5){const _0x423bab={_0x106a8c:0x255,_0x3ed211:0xaa0,_0x24c82c:0x867,_0x4b4016:0x99a,_0x4e2435:0x4b3,_0x5f224b:0x39f,_0x10ecdc:0x906};function _0x433c68(_0x1c0c9d,_0x9f94f3){return _0x3266d5(_0x1c0c9d,_0x9f94f3-0x148);}const _0x191693={};function _0x45c622(_0x547981,_0x106535){return _0x3266d5(_0x547981,_0x106535-0x447);}_0x191693['hvPdD']=_0x433c68(0x7de,0x574)+'e';const _0x41ce32=_0x191693;return _0x67f2d5['status']===0x193&&_0x67f2d5[_0x45c622(0x850,0x8c7)][_0x433c68(_0x423bab._0x106a8c,0x49b)](_0x45c622(0x6e8,0x6a0)+_0x45c622(_0x423bab._0x3ed211,_0x423bab._0x24c82c))?.[_0x45c622(0x60b,0x76d)]()[_0x45c622(0x8d4,_0x423bab._0x4b4016)+_0x433c68(_0x423bab._0x4e2435,_0x423bab._0x5f224b)]()===_0x41ce32[_0x45c622(0x6de,_0x423bab._0x10ecdc)];}function resolveCloudflareChallengeFallbackUrl(_0x51ee0c,_0x3a5dca){const _0x4187ee={_0x5970f9:0x601,_0x41a369:0x394,_0x59ca38:0x492,_0x4d5748:0x39c,_0x2a4de0:0x81e},_0x322f91={};_0x322f91['JtwbK']=function(_0x5128c6,_0x178b39){return _0x5128c6!==_0x178b39;};function _0x303ea2(_0x20f603,_0x48e808){return _0x26b3dd(_0x20f603- -0x30,_0x48e808);}const _0xa79678=_0x322f91;if(!isCloudflareChallengeResponse(_0x3a5dca))return null;const _0x13f17d=new URL(_0x51ee0c);if(_0xa79678[_0x32c612(_0x4187ee._0x5970f9,_0x4187ee._0x41a369)](_0x13f17d['origin'],DEFAULT_REGISTRY_BASE))return null;function _0x32c612(_0x231fb8,_0x4952d8){return _0x26b3dd(_0x4952d8- -0x164,_0x231fb8);}return''+DEFAULT_REGISTRY_FALLBACK_BASE+_0x13f17d[_0x303ea2(_0x4187ee._0x59ca38,_0x4187ee._0x4d5748)]+_0x13f17d[_0x32c612(_0x4187ee._0x2a4de0,0x7b8)];}function summarizeFailedResponse(_0x1caacd){const _0x18e058={_0x2c5c36:0x8b0,_0x55bc4f:0xcf,_0x393511:0x589,_0x1ddb4a:0x2b4,_0x5b846f:0x597,_0x320a0d:0x7f1,_0x169564:0x367,_0x1c4fe8:0x3cd,_0x21bb51:0x370,_0x5179fe:0x90,_0x5725ce:0x1c3},_0x10ae24={_0x6b583b:0x128},_0x54a7c0={};_0x54a7c0[_0x31c2de(_0x18e058._0x2c5c36,0xabb)]=_0x52ef76(0xb8,_0x18e058._0x55bc4f)+_0x31c2de(_0x18e058._0x393511,0x34a)+_0x31c2de(0x574,0x36d);function _0x52ef76(_0x1ba65c,_0x4153c4){return _0x26b3dd(_0x1ba65c- -0x671,_0x4153c4);}_0x54a7c0[_0x31c2de(0x3cd,_0x18e058._0x1ddb4a)]=function(_0x4dbfe7,_0x1d87e0){return _0x4dbfe7<=_0x1d87e0;};const _0x4da31a=_0x54a7c0;function _0x31c2de(_0x96c2d5,_0x482ea3){return _0x26b3dd(_0x96c2d5- -_0x10ae24._0x6b583b,_0x482ea3);}const _0x39aad9=_0x1caacd[_0x31c2de(_0x18e058._0x5b846f,_0x18e058._0x320a0d)](/\s+/g,'\x20')[_0x52ef76(0x145,-0x8e)]();if(!_0x39aad9)return _0x4da31a[_0x52ef76(_0x18e058._0x169564,0x1b4)];if(_0x4da31a[_0x31c2de(_0x18e058._0x1c4fe8,0x40b)](_0x39aad9[_0x52ef76(0x259,0x36f)],0xf0))return _0x39aad9;return _0x39aad9[_0x31c2de(_0x18e058._0x21bb51,0x378)](0x0,0xed)+_0x52ef76(-_0x18e058._0x5179fe,-_0x18e058._0x5725ce);}import{execFileSync,spawn}from'child_process';import{chmodSync,closeSync,existsSync as _0x3e4d20,mkdirSync as _0x28c50d,openSync,readFileSync as _0x156eb6,realpathSync,rmSync as _0x4763ae,writeFileSync as _0x242f96}from'fs';import{homedir as _0x13f146}from'os';import{dirname,join as _0xec9618}from'path';import{setTimeout as _0x3f83ac}from'timers/promises';var SERVICE_LABEL=_0x3266d5(0x2c1,0x2b8)+_0x3266d5(0xcf,0x1f0)+'e.cli',SYSTEMD_UNIT_NAME=SERVICE_LABEL+_0x3266d5(0x123,0x3e3),WINDOWS_RUN_KEY=_0x26b3dd(0x722,0x613)+_0x26b3dd(0x977,0x84c),SERVICE_DIR=_0xec9618(_0x13f146(),_0x3266d5(0x5c6,0x427)),LOG_DIR=_0xec9618(SERVICE_DIR,_0x26b3dd(0x52b,0x4b3)),SERVICE_STATE_PATH=_0xec9618(SERVICE_DIR,_0x26b3dd(0x514,0x71d)+_0x26b3dd(0x8b5,0x7b8)+_0x3266d5(0x316,0x6d)),RUNTIME_REGISTRY_PATH=_0xec9618(SERVICE_DIR,'bridge-r'+'untime-p'+_0x26b3dd(0x925,0x74b)+_0x26b3dd(0x5d0,0x4de)),SERVICE_LAUNCHER_PATH=_0xec9618(SERVICE_DIR,'clawket-'+_0x26b3dd(0x705,0x72e)+'.sh'),LINUX_CRON_RECORD_PATH=_0xec9618(SERVICE_DIR,'bridge-s'+'ervice.c'+_0x3266d5(0x68,0x248)),SERVICE_LOG_PATH=_0xec9618(LOG_DIR,'bridge-c'+'li.log'),SERVICE_ERROR_LOG_PATH=_0xec9618(LOG_DIR,_0x3266d5(0x41a,0x44c)+_0x3266d5(0x15a,0x230)+'.log'),MACOS_PLIST_PATH=_0xec9618(_0x13f146(),_0x26b3dd(0x4e6,0x610),_0x3266d5(-0x4,0x2af)+_0x3266d5(0x5ee,0x34a),SERVICE_LABEL+_0x26b3dd(0x5b7,0x830)),LINUX_SERVICE_PATH=_0xec9618(_0x13f146(),'.config',_0x3266d5(0xbd,0x1a),'user',SYSTEMD_UNIT_NAME),LINUX_CRON_MARKER=_0x3266d5(0x6dc,0x506)+_0x3266d5(0x1f4,0x185)+_0x3266d5(-0x5d,0x14f);function getServiceProgramArgs(_0x286cc2={},_0x5529e2=process[_0x26b3dd(0x965,0x7c2)]){const _0x38ecbc={_0x134dfa:0x2c3,_0x3b0c2f:0x4a1,_0x1a7240:0x5ec,_0x30d63b:0x6b1,_0x4dde31:0x893,_0xe087a7:0x7cd,_0x386895:0x58b,_0x373530:0x575,_0x20a573:0x828,_0x47d7e2:0xa82,_0x1d5125:0x50f,_0x21b9ec:0x2cc,_0x4c017b:0x757,_0x38919d:0x513,_0x538601:0x8ac,_0x506de7:0x68d},_0x32da37={'FACYz':'Unable\x20t'+'o\x20resolv'+_0xdbdbc8(0x4a8,0x64d)+'ript\x20pat'+_0xdbdbc8(0x587,0x36f)+_0x3c201a(0x46d,0x4f3)+_0x3c201a(_0x38ecbc._0x134dfa,_0x38ecbc._0x3b0c2f)+_0x3c201a(0x7a0,_0x38ecbc._0x1a7240),'sFojM':function(_0x490d55,_0x297b6a){return _0x490d55!==_0x297b6a;},'sMTJG':_0x3c201a(_0x38ecbc._0x30d63b,0x874),'odgfQ':function(_0x1426af,_0x3864e7){return _0x1426af(_0x3864e7);},'vXhUe':function(_0x106f0a,_0x5efbf7,_0x9e9b51){return _0x106f0a(_0x5efbf7,_0x9e9b51);},'YszkQ':'--servic'+'e'};function _0xdbdbc8(_0x5001a4,_0x328495){return _0x26b3dd(_0x5001a4- -0x79,_0x328495);}function _0x3c201a(_0x328610,_0xf871c7){return _0x26b3dd(_0xf871c7- -0x4b,_0x328610);}const _0x3d2e05=_0x286cc2['nodePath']?.[_0x3c201a(0x730,0x76b)]()||process[_0xdbdbc8(_0x38ecbc._0x4dde31,_0x38ecbc._0xe087a7)],_0x157e78=resolveScriptPath(_0x286cc2['scriptPa'+'th']);if(!_0x157e78)throw new Error(_0x32da37[_0x3c201a(0x4f9,_0x38ecbc._0x386895)]);if(_0x32da37[_0x3c201a(0xa1e,0x907)](_0x5529e2,_0x32da37['sMTJG'])){const _0x2b697d={};_0x2b697d[_0xdbdbc8(0x59d,_0x38ecbc._0x373530)]=_0x3d2e05,_0x2b697d[_0xdbdbc8(_0x38ecbc._0x20a573,_0x38ecbc._0x47d7e2)+'th']=_0x157e78,_0x2b697d[_0xdbdbc8(_0x38ecbc._0x1d5125,_0x38ecbc._0x21b9ec)]=process.env.PATH??'';const _0x590928=_0x32da37['odgfQ'](writeServiceLauncher,_0x2b697d);return _0x32da37[_0xdbdbc8(_0x38ecbc._0x4c017b,_0x38ecbc._0x38919d)](ensureLaunchScriptExecutable,_0x590928,_0x5529e2),[_0x590928];}return[_0x3d2e05,_0x157e78,_0x3c201a(0x737,_0x38ecbc._0x538601),_0x32da37[_0xdbdbc8(_0x38ecbc._0x506de7,0x87c)]];}function getServiceStatus(){const _0x1f8d97={_0x41b1e5:0x2ad,_0x220055:0x34b,_0x443d1e:0x207,_0x2b587a:0x55f,_0x29095a:0x341,_0x460f1a:0xf7,_0x285c72:0x55f,_0x2d332d:0x422,_0x30efe2:0xc7,_0x3eeda8:0x27f,_0x12e94e:0xf5,_0x5a1691:0x344,_0x41d278:0x2af,_0x265440:0x68f,_0x303331:0x1d9,_0x455288:0x426,_0x3d001e:0x572,_0x5ce040:0x1fb,_0x2ac454:0x381,_0x1b58e9:0x24f,_0x2a3ec2:0xf3},_0xde53b0={_0x2b47b9:0x166},_0x3f55a2={_0x4ec419:0xb5};function _0x4526f6(_0xccdded,_0x165739){return _0x3266d5(_0x165739,_0xccdded- -_0x3f55a2._0x4ec419);}const _0x4a4921={'WNnoo':function(_0x4786a7){return _0x4786a7();},'rcMJy':function(_0x5b923b){return _0x5b923b();},'rJRBC':function(_0x560a98,_0x3ca4f9){return _0x560a98(_0x3ca4f9);},'KUCIM':_0x4526f6(0x1d4,0x4d)+'l','KMEXA':_0x11016e(0x63f,0x3bb)+'e'};_0x4a4921[_0x11016e(0x39f,0x421)](ensureServiceDirs);const _0x405f4a=_0x4a4921[_0x11016e(0x388,_0x1f8d97._0x41b1e5)](readServiceState)?.[_0x11016e(0x566,0x471)]??null,_0x285047=detectServiceMethod();function _0x11016e(_0x5c21d9,_0x1b28c5){return _0x3266d5(_0x1b28c5,_0x5c21d9-_0xde53b0._0x2b47b9);}const _0x246e82={'installed':![],'running':_0x405f4a!=null&&_0x4a4921[_0x11016e(0x5c9,0x60b)](isPidRunning,_0x405f4a),'method':_0x285047,'servicePath':getServicePath(_0x285047),'logPath':SERVICE_LOG_PATH,'errorLogPath':SERVICE_ERROR_LOG_PATH,'pid':_0x405f4a};_0x246e82[_0x4526f6(_0x1f8d97._0x220055,_0x1f8d97._0x443d1e)]!=null&&!_0x246e82[_0x11016e(_0x1f8d97._0x2b587a,0x4d6)]&&(clearServiceState(_0x246e82[_0x11016e(0x566,_0x1f8d97._0x29095a)]),_0x246e82[_0x11016e(0x566,0x6bf)]=null);switch(_0x246e82[_0x11016e(0x431,0x421)]){case'launchag'+_0x4526f6(0x13a,-_0x1f8d97._0x460f1a):_0x246e82['installe'+'d']=_0x3e4d20(MACOS_PLIST_PATH);_0x246e82['installe'+'d']&&(_0x246e82[_0x11016e(_0x1f8d97._0x285c72,0x752)]=commandSucceeds(_0x11016e(0x5f1,0x514)+'l',['list',SERVICE_LABEL])||_0x246e82['running']);return _0x246e82;case'systemd-'+_0x11016e(_0x1f8d97._0x2d332d,0x2af):_0x246e82[_0x11016e(0x1f3,_0x1f8d97._0x30efe2)+'d']=_0x3e4d20(LINUX_SERVICE_PATH);_0x246e82[_0x4526f6(-0x28,0x243)+'d']&&(_0x246e82[_0x11016e(_0x1f8d97._0x285c72,0x802)]=commandSucceeds(_0x4a4921[_0x11016e(0x529,0x6f1)],[_0x11016e(_0x1f8d97._0x3eeda8,_0x1f8d97._0x12e94e),_0x4a4921['KMEXA'],'--quiet',SYSTEMD_UNIT_NAME])||_0x246e82[_0x4526f6(_0x1f8d97._0x5a1691,_0x1f8d97._0x41d278)]);return _0x246e82;case _0x11016e(0x547,_0x1f8d97._0x265440)+_0x11016e(_0x1f8d97._0x303331,_0x1f8d97._0x455288):_0x246e82[_0x4526f6(-0x28,-0x18)+'d']=hasLinuxCronRegistration();return _0x246e82;case _0x11016e(0x6ec,_0x1f8d97._0x3d001e)+'run-regi'+'stry':_0x246e82['installe'+'d']=commandSucceeds(_0x11016e(0x678,0x937),[_0x11016e(_0x1f8d97._0x5ce040,_0x1f8d97._0x2ac454),_0x4526f6(0x41d,_0x1f8d97._0x1b58e9)+_0x4526f6(_0x1f8d97._0x2a3ec2,-0xf2)+'crosoft\x5c'+'Windows\x5c'+'CurrentV'+'ersion\x5cR'+'un','/v',WINDOWS_RUN_KEY]);return _0x246e82;default:return _0x246e82;}}function installService(_0x2bd251={}){const _0x53c727={_0x3fce4e:0x9b8,_0xf2d987:0x7cf,_0x2e3bd3:0x2ca,_0x113d34:0x762,_0x4e72d5:0x9ae,_0x53423e:0x688,_0x129866:0x5e0,_0x490919:0x7c7,_0x25a6f8:0x658,_0x3cdfd5:0x1a7,_0x12826f:0x8,_0x582afb:0x488,_0x55edca:0x33a,_0x4ec315:0x980,_0x304faa:0x8a9,_0x528f3d:0x8a7,_0x5d5786:0x85b,_0x2f7bb3:0x6a6,_0x4d5421:0x354,_0x44cbb7:0x98a,_0x41878b:0xaa0,_0x319657:0x3d3,_0x51412e:0x5f,_0x3d9f36:0x68,_0x483088:0x7,_0x461921:0x178,_0x36d391:0x593,_0x152eb6:0x68a,_0x25d7bd:0xb34,_0x596ce1:0x50,_0x356580:0xcd,_0x268340:0x241,_0x51c88a:0xca,_0x12b4d5:0x303,_0x3cc052:0x2ce},_0x3a2a78={_0xb81b2b:0x18},_0x39dad4={'dNgwe':function(_0x9fec88){return _0x9fec88();},'nwDjf':function(_0x3dd083,_0xafa24e){return _0x3dd083(_0xafa24e);},'HiYhy':_0x34b1ce(_0x53c727._0x3fce4e,_0x53c727._0xf2d987),'qbrGm':function(_0x1058d5,_0x4b3c26,_0x147146){return _0x1058d5(_0x4b3c26,_0x147146);},'gwTco':'launchct'+'l','KOrUA':_0x20ea20(-_0x53c727._0x2e3bd3,-0x13c),'uqeuN':function(_0x39c020,_0x594eb3){return _0x39c020(_0x594eb3);},'iEvLy':function(_0x459390,_0x111b69,_0xcf237f,_0x98677e){return _0x459390(_0x111b69,_0xcf237f,_0x98677e);},'nevTE':function(_0x50d774,_0x2daddb){return _0x50d774(_0x2daddb);}};function _0x20ea20(_0x393109,_0x56049e){return _0x26b3dd(_0x56049e- -0x697,_0x393109);}function _0x34b1ce(_0x59c7da,_0x5044ca){return _0x26b3dd(_0x59c7da- -_0x3a2a78._0xb81b2b,_0x5044ca);}_0x39dad4[_0x34b1ce(_0x53c727._0x113d34,_0x53c727._0x4e72d5)](ensureServiceDirs);const _0x413644=_0x39dad4['nwDjf'](getServiceProgramArgs,_0x2bd251);switch(process['platform']){case _0x39dad4[_0x34b1ce(0x8ca,_0x53c727._0x53423e)]:_0x242f96(MACOS_PLIST_PATH,buildMacosPlist(_0x413644,SERVICE_LOG_PATH,SERVICE_ERROR_LOG_PATH),_0x34b1ce(_0x53c727._0x129866,0x833)),_0x39dad4['qbrGm'](execIgnoreFailure,_0x39dad4[_0x34b1ce(_0x53c727._0x490919,_0x53c727._0x25a6f8)],[_0x20ea20(-_0x53c727._0x3cdfd5,-_0x53c727._0x12826f),'-w',MACOS_PLIST_PATH]),execFileSync(_0x39dad4['gwTco'],[_0x34b1ce(_0x53c727._0x582afb,_0x53c727._0x55edca),'-w',MACOS_PLIST_PATH],{'stdio':_0x39dad4[_0x34b1ce(_0x53c727._0x4ec315,_0x53c727._0x304faa)]});break;case'linux':_0x39dad4['uqeuN'](installLinuxService,_0x413644);break;case _0x34b1ce(_0x53c727._0x528f3d,_0x53c727._0x5d5786):stopRunningProcess();const _0x35d701={};_0x35d701[_0x34b1ce(0x767,_0x53c727._0x2f7bb3)]=_0x20ea20(-_0x53c727._0x4d5421,-0x13c),_0x39dad4['iEvLy'](execFileSync,_0x34b1ce(_0x53c727._0x44cbb7,_0x53c727._0x41878b),[_0x20ea20(_0x53c727._0x319657,0x1f6),'HKCU\x5cSof'+_0x20ea20(0x125,-_0x53c727._0x51412e)+_0x20ea20(-_0x53c727._0x3d9f36,_0x53c727._0x483088)+'Windows\x5c'+_0x20ea20(-0x1c8,-_0x53c727._0x461921)+'ersion\x5cR'+'un','/v',WINDOWS_RUN_KEY,'/t',_0x34b1ce(_0x53c727._0x36d391,_0x53c727._0x152eb6),'/d',_0x39dad4[_0x34b1ce(0x90a,_0x53c727._0x25d7bd)](buildWindowsRunCommand,_0x413644),'/f'],_0x35d701),startDetachedWindowsService(_0x413644);break;default:throw new Error(_0x20ea20(-_0x53c727._0x596ce1,-_0x53c727._0x356580)+_0x20ea20(-0x277,-0x189)+_0x20ea20(-0x71,0x183)+'\x20CLI\x20ser'+_0x20ea20(_0x53c727._0x268340,_0x53c727._0x51c88a)+_0x34b1ce(0x632,0x5fe)+'n:\x20'+process[_0x20ea20(_0x53c727._0x12b4d5,_0x53c727._0x3cc052)]);}return _0x39dad4[_0x34b1ce(_0x53c727._0x113d34,0x9c7)](getServiceStatus);}function restartService(_0x42d73f={}){const _0xda8679={_0x29daf2:0x83a,_0x462c28:0x6e5,_0x56596e:0x1d4,_0x2b7fa4:0x4b0,_0x28f396:0x473,_0x247de0:0x669,_0x270d0d:0x719,_0x5d65b2:0x438,_0x5b2ba7:0x6e5,_0x5e8966:0x26a,_0x561547:0x818,_0x2be0fc:0x466,_0x439fbf:0x28d,_0x42993d:0x7be,_0x36ab60:0x567,_0x7c7cb1:0x402,_0x52507a:0x777,_0x2ffc5b:0x151,_0x1d8bd7:0x2e9,_0x141ec4:0x745,_0x4a7bef:0x76d,_0x515570:0x635,_0x225d36:0x2b,_0x1dc8f5:0x394,_0x4cdea7:0x499,_0x27f12f:0x5ed,_0x3a589f:0x339,_0x2d6e40:0x3fb},_0x3dcc4b={_0x4e6b2e:0x62},_0x33ee19={_0x3c4bc0:0x25a};function _0x5b06ea(_0x18f1bc,_0x1c6717){return _0x3266d5(_0x18f1bc,_0x1c6717-_0x33ee19._0x3c4bc0);}const _0x2416ce={'gBqRj':function(_0x47e651){return _0x47e651();},'HbVTY':function(_0x4fe9b3,_0x371fab,_0x448803,_0x39acbd){return _0x4fe9b3(_0x371fab,_0x448803,_0x39acbd);},'mPDNG':_0x5b06ea(_0xda8679._0x29daf2,_0xda8679._0x462c28)+'l','PtEFO':_0xf702d7(-_0xda8679._0x56596e,0x69),'ilmeq':function(_0x1c8a75){return _0x1c8a75();},'gtMGU':_0xf702d7(0x419,_0xda8679._0x2b7fa4),'LhTBz':function(_0x14e549,_0x456f69){return _0x14e549(_0x456f69);}};_0x2416ce['gBqRj'](ensureServiceDirs);function _0xf702d7(_0x181ec9,_0xe25ff){return _0x3266d5(_0x181ec9,_0xe25ff- -_0x3dcc4b._0x4e6b2e);}const _0x36ce61=getServiceProgramArgs(_0x42d73f);switch(process[_0xf702d7(0x6c2,_0xda8679._0x28f396)]){case _0xf702d7(0x439,0x4de):if(!_0x3e4d20(MACOS_PLIST_PATH))return installService(_0x42d73f);_0x242f96(MACOS_PLIST_PATH,_0x2416ce['HbVTY'](buildMacosPlist,_0x36ce61,SERVICE_LOG_PATH,SERVICE_ERROR_LOG_PATH),'utf8'),execIgnoreFailure(_0x2416ce[_0x5b06ea(_0xda8679._0x247de0,0x48c)],[_0xf702d7(0x307,0x19d),'-w',MACOS_PLIST_PATH]);const _0x4e4f33={};_0x4e4f33[_0x5b06ea(0x43b,0x549)]=_0x2416ce[_0x5b06ea(_0xda8679._0x270d0d,0x754)],execFileSync(_0x5b06ea(_0xda8679._0x5d65b2,_0xda8679._0x5b2ba7)+'l',[_0x5b06ea(0x31a,_0xda8679._0x5e8966),'-w',MACOS_PLIST_PATH],_0x4e4f33);break;case'linux':restartLinuxService(_0x36ce61);break;case _0x5b06ea(_0xda8679._0x561547,0x689):_0x2416ce[_0x5b06ea(0x6bc,0x5c1)](stopRunningProcess);const _0x22be77={};_0x22be77[_0xf702d7(_0xda8679._0x2be0fc,_0xda8679._0x439fbf)]='ignore',execFileSync(_0x2416ce[_0x5b06ea(_0xda8679._0x42993d,_0xda8679._0x36ab60)],[_0x5b06ea(0x63c,0x657),_0xf702d7(0x572,0x470)+_0x5b06ea(0x5f5,_0xda8679._0x7c7cb1)+_0xf702d7(0x333,0x1ac)+_0x5b06ea(_0xda8679._0x52507a,0x72d)+_0x5b06ea(_0xda8679._0x2ffc5b,_0xda8679._0x1d8bd7)+_0x5b06ea(_0xda8679._0x141ec4,_0xda8679._0x4a7bef)+'un','/v',WINDOWS_RUN_KEY,'/t',_0x5b06ea(_0xda8679._0x515570,0x375),'/d',buildWindowsRunCommand(_0x36ce61),'/f'],_0x22be77),_0x2416ce[_0xf702d7(-0x26d,-_0xda8679._0x225d36)](startDetachedWindowsService,_0x36ce61);break;default:throw new Error(_0x5b06ea(0x1d4,_0xda8679._0x1dc8f5)+'ted\x20plat'+_0xf702d7(_0xda8679._0x4cdea7,0x328)+_0xf702d7(0x163,0x8f)+_0x5b06ea(_0xda8679._0x27f12f,_0xda8679._0x3a589f)+_0xf702d7(0x3f,0x5c)+process[_0xf702d7(_0xda8679._0x2d6e40,0x473)]);}return getServiceStatus();}async function startTransientRuntime(_0x570b11={}){const _0x24d36e={_0x37d880:0x386,_0x2b0db1:0x3bc,_0x235dfd:0x4a2,_0x2e969c:0x593,_0x44b1eb:0x39a,_0x418eb2:0x147,_0x2e3880:0x813,_0x364e10:0x6ef},_0x4d10aa={_0x1aef70:0x152};function _0x341920(_0x5c8865,_0x55224f){return _0x26b3dd(_0x5c8865- -_0x4d10aa._0x1aef70,_0x55224f);}ensureServiceDirs();function _0x251047(_0x4eccf4,_0x366b93){return _0x26b3dd(_0x366b93- -0x437,_0x4eccf4);}const _0x331f3b=getServiceProgramArgs(_0x570b11);switch(process['platform']){case _0x251047(0x837,0x599):case'linux':startDetachedPosixService(_0x331f3b);break;case _0x251047(_0x24d36e._0x37d880,0x488):startDetachedWindowsService(_0x331f3b);break;default:throw new Error('Unsuppor'+_0x341920(_0x24d36e._0x2b0db1,_0x24d36e._0x235dfd)+_0x251047(_0x24d36e._0x2e969c,0x3e3)+_0x341920(0x6b7,0x82b)+_0x251047(0x54e,_0x24d36e._0x44b1eb)+_0x251047(_0x24d36e._0x418eb2,0x1ef)+_0x341920(0x3fc,0x62a)+process[_0x341920(_0x24d36e._0x2e3880,_0x24d36e._0x364e10)]);}return waitForRuntimeState();}function uninstallService(){const _0x4ce5df={_0x51d359:0x887,_0x495f7b:0x6c0,_0x13541e:0x96b,_0x396e75:0x78d,_0x8a1d0b:0x7fb,_0x58de11:0x60c,_0x550d9f:0x73d,_0x52cfc3:0x572,_0x1d9620:0x5dd,_0x2bd5e6:0x4fa,_0x9d1df0:0xee,_0x31c095:0x113,_0x2a9d46:0x656,_0xcd9ec7:0x58f,_0x42c6e9:0x81b,_0x32f3aa:0xee,_0x444a68:0x9f3,_0x1a30de:0x8d3,_0x482be0:0x735,_0x2ee582:0x245,_0x165b2e:0x70a,_0xdd31a6:0x12c,_0x455973:0x2c5,_0x2430d8:0x534},_0x530518={'kyBYC':_0x444892(_0x4ce5df._0x51d359,_0x4ce5df._0x495f7b),'gPpAa':function(_0x29ad6f,_0x48b7ea){return _0x29ad6f(_0x48b7ea);},'OBZwt':function(_0x6f92dd,_0x419876,_0x308eaa){return _0x6f92dd(_0x419876,_0x308eaa);},'xggNj':_0x4c0047(0x1b6,0x15e),'JOWnl':_0x444892(_0x4ce5df._0x13541e,_0x4ce5df._0x396e75),'RYXJL':'systemct'+'l','vTBSz':_0x444892(_0x4ce5df._0x8a1d0b,_0x4ce5df._0x58de11)+_0x444892(0x682,_0x4ce5df._0x550d9f),'xOspI':function(_0x1f75cb,_0x4fd1b0,_0x593868){return _0x1f75cb(_0x4fd1b0,_0x593868);}};stopRunningProcess();switch(process[_0x4c0047(_0x4ce5df._0x52cfc3,0x3b2)]){case _0x4c0047(_0x4ce5df._0x1d9620,0x7c9):execIgnoreFailure('launchct'+'l',[_0x530518['kyBYC'],'-w',MACOS_PLIST_PATH]),_0x530518[_0x4c0047(0x3af,_0x4ce5df._0x2bd5e6)](rmIfExists,MACOS_PLIST_PATH);break;case'linux':_0x3e4d20(LINUX_SERVICE_PATH)&&(_0x530518[_0x4c0047(_0x4ce5df._0x9d1df0,-_0x4ce5df._0x31c095)](execIgnoreFailure,_0x4c0047(0x326,0x313)+'l',[_0x530518[_0x444892(0x4c2,_0x4ce5df._0x2a9d46)],_0x444892(0x764,0x7bf),_0x530518[_0x444892(_0x4ce5df._0xcd9ec7,_0x4ce5df._0x42c6e9)],SYSTEMD_UNIT_NAME]),rmIfExists(LINUX_SERVICE_PATH),_0x530518[_0x4c0047(_0x4ce5df._0x32f3aa,-0x166)](execIgnoreFailure,_0x530518[_0x444892(0x778,_0x4ce5df._0x444a68)],[_0x444892(0x754,0x5da),_0x530518[_0x444892(0x79a,_0x4ce5df._0x1a30de)]]));removeLinuxCronRegistration();break;case _0x4c0047(0x4cc,_0x4ce5df._0x482be0):_0x530518[_0x4c0047(0x433,0x52c)](execIgnoreFailure,_0x4c0047(0x5af,0x696),['delete','HKCU\x5cSof'+_0x4c0047(_0x4ce5df._0x2ee582,0xe5)+'crosoft\x5c'+_0x444892(_0x4ce5df._0x165b2e,0x994)+_0x4c0047(_0x4ce5df._0xdd31a6,_0x4ce5df._0x455973)+_0x4c0047(0x5b0,_0x4ce5df._0x2430d8)+'un','/v',WINDOWS_RUN_KEY,'/f']);break;default:break;}clearServiceState();function _0x4c0047(_0x56e79d,_0x3b89fc){return _0x3266d5(_0x3b89fc,_0x56e79d-0x9d);}function _0x444892(_0x48d9c3,_0x1d099d){return _0x3266d5(_0x48d9c3,_0x1d099d-0x4c1);}return getServiceStatus();}function stopService(){const _0x52b6c5={_0x491cf6:0x446,_0x2b22f5:0x224,_0x49625b:0x3db,_0x8ffc0d:0x37,_0x10c277:0x1af,_0x31f6cc:0x24b,_0x75fc0:0x6df,_0x1feac4:0x754,_0x4d3071:0x611,_0x31f86d:0x2e8},_0x471640={_0x590fc8:0x2ae},_0x3a5482={_0xf9b87f:0x58a},_0x1334bb={'yEwQh':_0x2dfbe5(0x21c,_0x52b6c5._0x491cf6),'iUnXl':function(_0x5774fd,_0x3cc27b){return _0x5774fd(_0x3cc27b);},'eiwQT':function(_0x1b8a24,_0x2c31aa,_0x21a9e9){return _0x1b8a24(_0x2c31aa,_0x21a9e9);},'vMvAP':function(_0x46b90f){return _0x46b90f();}};function _0x2dfbe5(_0x5c0b9e,_0x36c123){return _0x26b3dd(_0x36c123- -_0x3a5482._0xf9b87f,_0x5c0b9e);}stopRunningProcess();switch(process[_0x2dfbe5(_0x52b6c5._0x2b22f5,_0x52b6c5._0x49625b)]){case _0x1334bb[_0x2dfbe5(0x86,-_0x52b6c5._0x8ffc0d)]:_0x1334bb[_0x2dfbe5(0x10e,_0x52b6c5._0x10c277)](_0x3e4d20,MACOS_PLIST_PATH)&&execIgnoreFailure('launchct'+'l',['unload',MACOS_PLIST_PATH]);break;case _0x2dfbe5(_0x52b6c5._0x31f6cc,0x471):_0x3e4d20(LINUX_SERVICE_PATH)&&_0x1334bb[_0xfb279e(0x224,0x2a0)](execIgnoreFailure,'systemct'+'l',[_0x2dfbe5(0x2a1,0x1f),_0xfb279e(_0x52b6c5._0x75fc0,_0x52b6c5._0x1feac4),SYSTEMD_UNIT_NAME]);break;case _0xfb279e(_0x52b6c5._0x4d3071,0x7d5):break;default:break;}_0x1334bb[_0xfb279e(_0x52b6c5._0x31f86d,0xea)](clearServiceState);function _0xfb279e(_0x1ba5e1,_0x412432){return _0x26b3dd(_0x1ba5e1- -_0x471640._0x590fc8,_0x412432);}return getServiceStatus();}function writeServiceState(_0x52a4de=process[_0x26b3dd(0x890,0xa4e)]){const _0x44f2ac={_0x433145:0x4a,_0x5df27e:0x3c,_0x52b7b3:0xe,_0x35b2a8:0x1f4,_0x5212a6:0x483,_0x37b06b:0x4e6},_0x6949af={_0x29771e:0x24};function _0x559e4e(_0x1dc318,_0x3cb471){return _0x26b3dd(_0x1dc318- -_0x6949af._0x29771e,_0x3cb471);}const _0x1cf6c5={'hBCjK':function(_0x18ac84,_0x2a3b79,_0x9d8108,_0xeae912){return _0x18ac84(_0x2a3b79,_0x9d8108,_0xeae912);},'grDGr':_0x560d1e(_0x44f2ac._0x433145,-0x52)};ensureServiceDirs();function _0x560d1e(_0x32d678,_0x16ce0f){return _0x26b3dd(_0x32d678- -0x5ae,_0x16ce0f);}const _0x127176={'pid':_0x52a4de,'startedAt':new Date()[_0x560d1e(0x290,_0x44f2ac._0x5df27e)+'ing']()};_0x1cf6c5[_0x560d1e(_0x44f2ac._0x52b7b3,_0x44f2ac._0x35b2a8)](_0x242f96,SERVICE_STATE_PATH,JSON[_0x559e4e(_0x44f2ac._0x5212a6,_0x44f2ac._0x37b06b)+'y'](_0x127176,null,0x2)+'\x0a',_0x1cf6c5[_0x560d1e(-0xd4,-0x345)]);}function registerRuntimeProcess(_0x4e2816){const _0x437005={_0x25c8a5:0x4d2,_0x365e2d:0x47e,_0x2001e0:0x40e,_0x23257e:0x2d,_0x472e40:0xdd,_0x402426:0x1ce,_0xaa2d05:0x52d,_0x3d4859:0x706,_0x3df4fe:0x54e},_0x4f5676={_0x5cbc48:0xc9};ensureServiceDirs();function _0x23f680(_0x24a384,_0x1f5b31){return _0x3266d5(_0x1f5b31,_0x24a384-0x60);}const _0x364b8a={'pid':_0x4e2816['pid']??process['pid'],'startedAt':_0x4e2816[_0x23f680(_0x437005._0x25c8a5,_0x437005._0x365e2d)+'t']??new Date()[_0x23f680(_0x437005._0x2001e0,0x2f3)+_0x23f680(0x256,0x13c)](),'gatewayId':_0x4e2816['gatewayI'+'d'],'instanceId':_0x4e2816[_0x8bb177(0x495,0x32a)+'Id'],'serviceMode':_0x4e2816[_0x8bb177(0x138,_0x437005._0x23257e)+_0x23f680(_0x437005._0x472e40,_0x437005._0x402426)],'scriptPath':resolveScriptPath(_0x4e2816[_0x23f680(0x471,0x6b2)+'th'])};function _0x8bb177(_0x4a82c2,_0x27b569){return _0x3266d5(_0x27b569,_0x4a82c2- -_0x4f5676._0x5cbc48);}const _0x2ebcc9=readRuntimeRegistry()[_0x23f680(_0x437005._0xaa2d05,_0x437005._0x3d4859)](_0x2623d2=>_0x2623d2[_0x8bb177(0x337,0x1e6)]!==_0x364b8a[_0x8bb177(0x337,0x294)])[_0x23f680(_0x437005._0x3df4fe,0x79d)](_0x364b8a);writeRuntimeRegistry(_0x2ebcc9);}function unregisterRuntimeProcess(_0x6e8566=process['pid']){const _0x2abff4={_0x26b536:0x433},_0x1ba420={_0x5d0273:0x9a},_0x11753d=readRuntimeRegistry()[_0x18e5e1(0x371,_0x2abff4._0x26b536)](_0x14feb5=>_0x14feb5['pid']!==_0x6e8566);function _0x18e5e1(_0x528912,_0x10995b){return _0x3266d5(_0x528912,_0x10995b- -_0x1ba420._0x5d0273);}writeRuntimeRegistry(_0x11753d);}function isAutostartUnsupportedError(_0x2edd19){const _0x5b1335={_0x2c50c4:0x1a1,_0x4ffc25:0xce,_0x47dc1e:0xc1,_0x7c9b82:0xd9,_0x36a07c:0x33f,_0x277f24:0x9c,_0x48a34a:0x294,_0x57c782:0xa8,_0x37d911:0x11c,_0x31907d:0x5e9,_0x409fbe:0x7f,_0x5ee7ed:0x231},_0x54d2c9={_0x164359:0x17e},_0xe2f3e0={_0x18a971:0x56};function _0x5c8a7d(_0x5bea71,_0x185846){return _0x3266d5(_0x185846,_0x5bea71-_0xe2f3e0._0x18a971);}function _0x2acc60(_0x2cc774,_0x41bb8c){return _0x3266d5(_0x41bb8c,_0x2cc774- -_0x54d2c9._0x164359);}const _0xe4e8f2={};_0xe4e8f2['VUcMQ']=_0x2acc60(0x1df,0x473)+_0x5c8a7d(0xd4,0x12a)+_0x5c8a7d(0x3e0,_0x5b1335._0x2c50c4)+_0x2acc60(0x379,0x35e)+_0x2acc60(-_0x5b1335._0x4ffc25,-_0x5b1335._0x47dc1e);const _0x449029=_0xe4e8f2,_0x281260=formatError(_0x2edd19)[_0x2acc60(0x3d5,0x5cd)+_0x2acc60(_0x5b1335._0x7c9b82,-0x46)]();return _0x281260[_0x2acc60(_0x5b1335._0x36a07c,_0x5b1335._0x277f24)](_0x5c8a7d(_0x5b1335._0x48a34a,0x2bd)+'ab\x20fallb'+'ack\x20is\x20a'+_0x2acc60(_0x5b1335._0x57c782,-_0x5b1335._0x37d911))||_0x281260[_0x5c8a7d(0x513,_0x5b1335._0x31907d)](_0x449029[_0x2acc60(_0x5b1335._0x409fbe,-_0x5b1335._0x5ee7ed)]);}function listRuntimeProcesses(_0x2faf4a={}){const _0x1654f8={_0x2b5213:0xa08,_0x123319:0x2a0,_0x5aed00:0xa4b,_0x3d583e:0x60b},_0x2859cd={_0x547a98:0xaa},_0x535b03={_0x14b4b4:0x480},_0x4594bf=resolveScriptPath(_0x2faf4a[_0x5529c0(0x4bb,0x4d3)+'th']),_0x3d4ee8=readRuntimeRegistry();function _0x4037f5(_0x432f1d,_0x1c9481){return _0x3266d5(_0x432f1d,_0x1c9481-_0x535b03._0x14b4b4);}const _0x1d10b5=[..._0x3d4ee8],_0xf8df72=new Set(_0x3d4ee8[_0x4037f5(_0x1654f8._0x2b5213,0x790)](_0x4bc0f2=>_0x4bc0f2['pid']));function _0x5529c0(_0x353625,_0x28b3ae){return _0x3266d5(_0x28b3ae,_0x353625-_0x2859cd._0x547a98);}for(const _0x5565ae of listPosixRuntimePids(_0x4594bf)){if(_0xf8df72[_0x5529c0(0x596,0x597)](_0x5565ae))continue;_0x1d10b5[_0x5529c0(0x534,0x4b5)]({'pid':_0x5565ae,'startedAt':new Date(0x0)[_0x5529c0(0x458,0x476)+_0x5529c0(_0x1654f8._0x123319,0x36)](),'gatewayId':'','instanceId':'','serviceMode':![],'scriptPath':_0x4594bf});}return _0x1d10b5[_0x4037f5(_0x1654f8._0x5aed00,0x94d)](_0x595233=>isPidRunning(_0x595233['pid']))[_0x4037f5(_0x1654f8._0x3d583e,0x63d)]((_0x3bd4c0,_0x2932ac)=>_0x3bd4c0[_0x5529c0(0x4aa,0x5ce)]-_0x2932ac[_0x5529c0(0x4aa,0x2ba)]);}function stopRuntimeProcesses(_0x7bd02e={}){const _0x5dcac3={_0x252ce1:0x425,_0x4f68df:0x4b1,_0x2b08e3:0x575,_0x312685:0x7c9,_0x4375b1:0x5d7,_0x5decba:0x674,_0x29db6b:0x4a0,_0x1b3a54:0x72b,_0x182535:0x5a9,_0x1e04bb:0x4f9,_0x1a2571:0x660,_0x546140:0x6bf,_0x5365c1:0x134,_0x33d5e4:0x187,_0x167d08:0x41a,_0x344ffd:0x61f,_0x517c49:0x155,_0x38f39c:0x67b,_0x40fa22:0x5b9},_0x3908ae={'LzyPv':_0x4d9722(0x404,0x4cf),'unGtW':function(_0x4889bd,_0x460861){return _0x4889bd(_0x460861);},'GXldr':function(_0x2fe7c7){return _0x2fe7c7();}},_0x1f8ee4={};_0x1f8ee4[_0x4d9722(_0x5dcac3._0x252ce1,_0x5dcac3._0x4f68df)+'th']=_0x7bd02e[_0x2ccbd9(0x7b2,0x630)+'th'];const _0x324ebb=listRuntimeProcesses(_0x1f8ee4),_0x3544c5=_0x324ebb[_0x2ccbd9(0x7bd,0x6ec)](_0x33e34a=>_0x33e34a['pid']!==(_0x7bd02e[_0x4d9722(0x662,0x4b6)+'id']??-0x1));if(process[_0x4d9722(0x30b,_0x5dcac3._0x2b08e3)]===_0x3908ae['LzyPv'])for(const _0x217a4a of _0x3544c5){execIgnoreFailure(_0x2ccbd9(0x8e9,0x66e),[_0x4d9722(_0x5dcac3._0x312685,_0x5dcac3._0x4375b1),String(_0x217a4a[_0x4d9722(_0x5dcac3._0x5decba,_0x5dcac3._0x29db6b)]),'/T','/F']);}else{for(const _0xebaf58 of _0x3544c5){execIgnoreFailure(_0x4d9722(_0x5dcac3._0x1b3a54,_0x5dcac3._0x182535),[_0x2ccbd9(_0x5dcac3._0x1e04bb,_0x5dcac3._0x1a2571),String(_0xebaf58[_0x4d9722(0x227,0x4a0)])]);}for(const _0x3f5ca0 of _0x3544c5){!waitForPidExit(_0x3f5ca0[_0x4d9722(_0x5dcac3._0x546140,_0x5dcac3._0x29db6b)],0xbb8)&&execIgnoreFailure(_0x4d9722(0x53f,0x5a9),['-KILL',_0x3908ae[_0x4d9722(_0x5dcac3._0x5365c1,_0x5dcac3._0x33d5e4)](String,_0x3f5ca0[_0x2ccbd9(_0x5dcac3._0x167d08,_0x5dcac3._0x344ffd)])]);}}const _0x1ad3b9=readRuntimeRegistry()['filter'](_0x327d5f=>!_0x3544c5[_0x4d9722(0x5b6,0x326)](_0x4014dd=>_0x4014dd[_0x4d9722(0x326,0x4a0)]===_0x327d5f[_0x4d9722(0x3c8,0x4a0)]));_0x3908ae[_0x2ccbd9(_0x5dcac3._0x517c49,0x306)](writeRuntimeRegistry,_0x1ad3b9);function _0x4d9722(_0x14f927,_0x262661){return _0x3266d5(_0x14f927,_0x262661-0xa0);}const _0x103511=readServiceState();function _0x2ccbd9(_0xfccaa6,_0x5da472){return _0x3266d5(_0xfccaa6,_0x5da472-0x21f);}return _0x103511&&_0x3544c5[_0x4d9722(0x2f5,0x326)](_0x3d3251=>_0x3d3251[_0x4d9722(0x74a,0x4a0)]===_0x103511['pid'])&&_0x3908ae[_0x2ccbd9(_0x5dcac3._0x38f39c,0x651)](clearServiceState),_0x3544c5[_0x4d9722(_0x5dcac3._0x40fa22,0x3b0)](_0x25c850=>_0x25c850[_0x4d9722(0x5d3,0x4a0)]);}function clearServiceState(_0x16dbe9){const _0x54de21={_0xb0de22:0x5f0,_0x47258f:0x6e6},_0x4fec6f={_0x254454:0x72},_0x27eb82={_0x157457:0x399};function _0x219ef1(_0x236c75,_0x16b514){return _0x3266d5(_0x236c75,_0x16b514-_0x27eb82._0x157457);}function _0x260dd8(_0x22364d,_0x5681f6){return _0x3266d5(_0x22364d,_0x5681f6-_0x4fec6f._0x254454);}const _0x27d384={'CERGh':function(_0x19ddcd,_0x3e317f){return _0x19ddcd(_0x3e317f);},'jTEoY':function(_0x17941b,_0x18f4be){return _0x17941b!==_0x18f4be;}};if(!_0x27d384[_0x219ef1(_0x54de21._0xb0de22,0x727)](_0x3e4d20,SERVICE_STATE_PATH))return;if(_0x16dbe9!=null){const _0x3ac984=readServiceState();if(_0x3ac984&&_0x27d384[_0x219ef1(0x6d0,_0x54de21._0x47258f)](_0x3ac984['pid'],_0x16dbe9))return;}_0x27d384['CERGh'](rmIfExists,SERVICE_STATE_PATH);}function getServicePaths(){return{'logPath':SERVICE_LOG_PATH,'errorLogPath':SERVICE_ERROR_LOG_PATH,'servicePath':getServicePath(detectServiceMethod())};}function buildMacosPlist(_0x49d77b,_0xcfab58,_0x56ebc3){const _0x343460={_0x134edf:0x2b1,_0xa56759:0x35e,_0x1d605d:0x3b4,_0x26d6fc:0x3d7,_0x2cb2c0:0x15c,_0x48354e:0x4d8,_0x155b11:0x3ee,_0x6e7cd8:0x61,_0x94ec66:0x1bf,_0x1b6316:0x6a0,_0x56cced:0x9d,_0xf645ff:0x36f,_0x37ba2f:0x28b,_0x1771c2:0x30c,_0x24c066:0x2a4,_0x3f6049:0x556,_0x4e5572:0x1f4,_0x25e201:0x3cc,_0x54ab19:0x24a,_0x223dbe:0x224,_0x4f7f4a:0x635,_0x3d50b1:0x841,_0x2e2f63:0x5b7,_0x466344:0x1d4,_0x35b60d:0xa,_0x274b54:0xa9,_0x10346d:0x116,_0x343dc5:0x498,_0x162c06:0x875,_0x1bb1a5:0x75b,_0x1c3cd0:0x74d,_0x244a25:0x72,_0x124ada:0x2d9,_0x4f07b4:0x4d5,_0x43dbea:0x57,_0x3c48c4:0x68e,_0x4a057c:0x65b,_0x3fa8c5:0x256,_0x24209d:0x1e4,_0x224189:0x3ad,_0x5bcf15:0x167,_0x2fd3db:0x2e7,_0x390904:0x3f3,_0xdd3bb7:0x484,_0x5ce9f8:0x5c6,_0x2b681e:0x159,_0x6c4569:0x302},_0x544a87={_0x3455b0:0x27d},_0x34cd47=_0x49d77b[_0x41ddbe(0x12f,_0x343460._0x134edf)](_0x26b549=>_0x41ddbe(0x185,0x439)+_0x41ddbe(-0x52,0x184)+escapeXml(_0x26b549)+(_0x18b956(0x47e,0x5b7)+'>'))[_0x18b956(0x69f,0x759)]('\x0a');function _0x41ddbe(_0x1d3afa,_0x33b3ef){return _0x3266d5(_0x33b3ef,_0x1d3afa- -0x1e1);}function _0x18b956(_0x320831,_0x438c34){return _0x3266d5(_0x320831,_0x438c34-_0x544a87._0x3455b0);}return _0x18b956(0x88d,0x6c4)+_0x41ddbe(_0x343460._0xa56759,_0x343460._0x1d605d)+_0x41ddbe(0x14f,0xed)+_0x41ddbe(0x287,0x329)+_0x18b956(0x32d,0x291)+_0x18b956(_0x343460._0x26d6fc,0x3e4)+_0x41ddbe(_0x343460._0x2cb2c0,0x2a3)+'UBLIC\x20\x22-'+'//Apple/'+'/DTD\x20PLI'+'ST\x201.0//'+_0x18b956(_0x343460._0x48354e,_0x343460._0x155b11)+_0x41ddbe(-_0x343460._0x6e7cd8,-_0x343460._0x94ec66)+_0x18b956(0x7d3,_0x343460._0x1b6316)+_0x41ddbe(-0x65,_0x343460._0x56cced)+_0x18b956(0x536,_0x343460._0xf645ff)+_0x41ddbe(0x25a,_0x343460._0x37ba2f)+_0x41ddbe(_0x343460._0x1771c2,_0x343460._0x24c066)+_0x41ddbe(0x37e,_0x343460._0x3f6049)+_0x41ddbe(_0x343460._0x4e5572,_0x343460._0x25e201)+_0x18b956(0x461,0x33a)+_0x41ddbe(_0x343460._0x54ab19,0x327)+_0x41ddbe(-0x178,-_0x343460._0x223dbe)+_0x18b956(0x8f1,_0x343460._0x4f7f4a)+_0x41ddbe(0x7,0x1a7)+SERVICE_LABEL+(_0x18b956(_0x343460._0x3d50b1,_0x343460._0x2e2f63)+_0x18b956(_0x343460._0x466344,0x427)+_0x18b956(0x448,0x4c4)+_0x41ddbe(-0xdc,_0x343460._0x35b60d)+_0x41ddbe(_0x343460._0x274b54,-_0x343460._0x10346d)+_0x18b956(_0x343460._0x343dc5,0x6e6)+'>\x0a')+_0x34cd47+(_0x18b956(_0x343460._0x162c06,0x662)+'ay>\x0a\x20\x20<k'+_0x18b956(_0x343460._0x1bb1a5,_0x343460._0x1c3cd0)+'Load</ke'+_0x41ddbe(-_0x343460._0x244a25,-0x34)+'ue/>\x0a\x20\x20<'+_0x18b956(0x2a4,0x3d5)+'Alive</k'+'ey>\x0a\x20\x20<t'+_0x41ddbe(_0x343460._0x124ada,_0x343460._0x4f07b4)+'<key>Sta'+_0x41ddbe(-_0x343460._0x43dbea,0x1fb)+_0x18b956(_0x343460._0x3c48c4,_0x343460._0x4a057c)+_0x41ddbe(-0x5d,_0x343460._0x3fa8c5)+_0x18b956(_0x343460._0x24209d,_0x343460._0x224189))+escapeXml(_0xcfab58)+(_0x41ddbe(0x159,_0x343460._0x5bcf15)+'>\x0a\x20\x20<key'+_0x18b956(_0x343460._0x2fd3db,_0x343460._0x390904)+_0x18b956(0x2e4,_0x343460._0xdd3bb7)+_0x18b956(0x5f7,0x4ed)+'\x0a\x20\x20<stri'+_0x41ddbe(0x37b,_0x343460._0x5ce9f8))+escapeXml(_0x56ebc3)+(_0x41ddbe(_0x343460._0x2b681e,0x4b)+_0x18b956(_0x343460._0x6c4569,0x2ae)+_0x18b956(0x5af,0x42b)+_0x18b956(0x95c,0x734));}function buildLinuxSystemdUnit(_0x5e48b4,_0x36a8c1,_0xbd6bda){const _0x2d4abc={_0x4f5f5e:0x7bb,_0x24edae:0x4a6,_0x636c72:0x7cc,_0x2a6380:0x7ad,_0x4b48eb:0x408,_0x148b0a:0x14f,_0x3906fb:0x243,_0x3afff5:0x8d4,_0xa1915f:0x320,_0x28507b:0x5fe,_0x5e5558:0x3b7,_0x93419c:0x5c6,_0x1f0766:0x71,_0x5aabdb:0x168,_0x3c71ab:0x2b3,_0x3ac5b0:0x2e6,_0x4cc9cc:0x702,_0x562551:0x411,_0x3ab945:0x702,_0x59c14e:0x451,_0xa55094:0x37b,_0x19d485:0x8b3,_0x28ea63:0x78a,_0x111bd0:0x72b,_0x53491f:0x88c},_0x21440a={_0xf45357:0x4c6},_0x174b85={_0x476217:0x12a},_0x5c2213={'ryZkm':function(_0xc1862b,_0x597b76){return _0xc1862b(_0x597b76);}},_0x57b132=_0x5e48b4[_0x5c5462(0x676,_0x2d4abc._0x4f5f5e)](escapeSystemdArg)[_0x2bd5b6(0x658,_0x2d4abc._0x24edae)]('\x20');function _0x5c5462(_0x1f79cd,_0x2fc75b){return _0x26b3dd(_0x1f79cd- -_0x174b85._0x476217,_0x2fc75b);}function _0x2bd5b6(_0x4b5a8e,_0x17e7ba){return _0x26b3dd(_0x17e7ba- -_0x21440a._0xf45357,_0x4b5a8e);}return _0x5c5462(0x7af,0x882)+_0x5c5462(_0x2d4abc._0x636c72,_0x2d4abc._0x2a6380)+_0x2bd5b6(-0x1cd,-0x1e)+_0x2bd5b6(0x5eb,_0x2d4abc._0x4b48eb)+'e\x20CLI\x0aAf'+_0x2bd5b6(_0x2d4abc._0x148b0a,_0x2d4abc._0x3906fb)+'ork-onli'+'ne.targe'+_0x5c5462(_0x2d4abc._0x3afff5,0x626)+'network-'+_0x2bd5b6(0x310,_0x2d4abc._0xa1915f)+_0x5c5462(0x8b5,0xad8)+_0x2bd5b6(_0x2d4abc._0x28507b,_0x2d4abc._0x5e5558)+_0x5c5462(0x794,_0x2d4abc._0x93419c)+_0x2bd5b6(_0x2d4abc._0x1f0766,_0x2d4abc._0x5aabdb)+'cStart='+_0x57b132+('\x0aRestart'+_0x2bd5b6(0x35a,0x10d)+_0x2bd5b6(0x190,_0x2d4abc._0x3c71ab)+'ec=2\x0aWor'+_0x2bd5b6(0x27a,0x40c)+_0x2bd5b6(_0x2d4abc._0x3ac5b0,0x4d8))+_0x5c2213['ryZkm'](escapeSystemdArg,SERVICE_DIR)+(_0x5c5462(_0x2d4abc._0x4cc9cc,0x75a)+_0x2bd5b6(0x467,0x3a1)+_0x5c5462(0x697,_0x2d4abc._0x562551))+_0x36a8c1+(_0x5c5462(_0x2d4abc._0x3ab945,0x827)+_0x5c5462(0x3c9,_0x2d4abc._0x59c14e)+_0x2bd5b6(0x2e7,0x1c1))+_0xbd6bda+(_0x5c5462(0x4d8,_0x2d4abc._0xa55094)+_0x5c5462(_0x2d4abc._0x19d485,_0x2d4abc._0x28ea63)+_0x5c5462(0x892,0x7d4)+_0x5c5462(_0x2d4abc._0x111bd0,_0x2d4abc._0x53491f)+'get\x0a');}function buildLinuxCronEntry(_0x1157b7,_0x54627e,_0x5e7bba){const _0x17679d={_0x4f117c:0x68f,_0x26e087:0x515,_0x24e444:0x7c5},_0x1181f8={_0x2dda13:0x39};function _0x2847c2(_0xb9efcc,_0x1feb4f){return _0x3266d5(_0x1feb4f,_0xb9efcc-0x296);}const _0x31e43c=_0x1157b7['map'](escapeShellWord)[_0x2c329a(_0x17679d._0x4f117c,_0x17679d._0x26e087)]('\x20');function _0x2c329a(_0x117b5b,_0x46e5a8){return _0x3266d5(_0x117b5b,_0x46e5a8-_0x1181f8._0x2dda13);}return _0x2847c2(_0x17679d._0x24e444,0x9f4)+_0x31e43c+'\x20>>\x20'+escapeShellWord(_0x54627e)+'\x202>>\x20'+escapeShellWord(_0x5e7bba)+'\x20'+LINUX_CRON_MARKER;}function getServicePath(_0x204418){const _0x28ddf3={_0xb89a79:0x4d3,_0x3b0867:0x4ca,_0x516f20:0x56d,_0x539001:0x36b,_0x558fc1:0x479,_0x84a1b1:0x4c7,_0x35483f:0x521,_0xc9f83b:0x56a,_0x37ccc0:0x5ad,_0x4f7154:0x344,_0x783cef:0x1a5,_0x2457ec:0xfc,_0x434a7b:0x592},_0x129e3d={_0x1805c8:0x2d8},_0x3f3eb3={};_0x3f3eb3['EpEjJ']=_0x2d756c(_0x28ddf3._0xb89a79,0x5d8);function _0x47cb3a(_0x1dc6ff,_0x2ade7c){return _0x3266d5(_0x2ade7c,_0x1dc6ff-_0x129e3d._0x1805c8);}_0x3f3eb3[_0x47cb3a(0x54f,0x767)]=_0x2d756c(_0x28ddf3._0x3b0867,0x603);const _0x2d8d64=_0x3f3eb3;function _0x2d756c(_0x391480,_0x3a5590){return _0x3266d5(_0x391480,_0x3a5590-0x98);}switch(process[_0x2d756c(0x691,_0x28ddf3._0x516f20)]){case _0x2d8d64[_0x2d756c(0x10d,0xe6)]:return MACOS_PLIST_PATH;case _0x2d8d64['zRJIT']:return _0x204418===_0x2d756c(_0x28ddf3._0x539001,_0x28ddf3._0x558fc1)+_0x47cb3a(0x34b,0x4ce)?LINUX_CRON_RECORD_PATH:LINUX_SERVICE_PATH;case _0x2d756c(0x675,_0x28ddf3._0x84a1b1):return _0x2d756c(_0x28ddf3._0x35483f,_0x28ddf3._0xc9f83b)+_0x47cb3a(0x480,0x419)+_0x47cb3a(0x4e6,_0x28ddf3._0x37ccc0)+'Windows\x5c'+_0x47cb3a(0x367,_0x28ddf3._0x4f7154)+'ersion\x5cR'+'un\x5cClawk'+_0x2d756c(-_0x28ddf3._0x783cef,_0x28ddf3._0x2457ec)+_0x47cb3a(_0x28ddf3._0x434a7b,0x7b8);default:return'';}}function detectServiceMethod(){const _0x4d7589={_0x47fb6c:0x898,_0x3fd79d:0x806,_0x7ca7a:0x5ec,_0x3134ba:0x24e,_0x13544c:0x3cb,_0x51d1c6:0x5b7,_0x44a372:0x525,_0x469cca:0x3fb,_0x16da22:0x458,_0xc45ace:0x16f,_0x13402d:0x4c3,_0x22e7f3:0x106,_0x5425c6:0x4e1,_0x13bf3b:0x5e1,_0x2a2c9a:0x41d,_0x548b89:0x174,_0x2c25c4:0x39e,_0x2cf941:0x402,_0xef1ea:0x595,_0xc2b24:0x378,_0x598eaf:0x1e0,_0x5bee73:0x787,_0x106296:0x66f,_0x7b7cfe:0x4d6,_0x473f15:0x27c,_0xf93ec4:0x43f},_0x4b5ebe={_0x5d1855:0x138},_0x5351b9={_0xc9fba8:0x3ae},_0x413bcc={'FnzGE':_0x4cdefc(0xac4,_0x4d7589._0x47fb6c),'rIZOa':'launchag'+_0x4cdefc(_0x4d7589._0x3fd79d,0x547),'QGprC':_0x3e989c(_0x4d7589._0x7ca7a,0x64d),'dvqhR':_0x4cdefc(0x229,0x3ea)+'user','jnVMX':function(_0x1c1c4c,_0x87255){return _0x1c1c4c(_0x87255);},'IQbfM':'linux-cr'+_0x4cdefc(_0x4d7589._0x3134ba,_0x4d7589._0x13544c),'VNNCj':_0x3e989c(0x645,0x43f)+'ted'};function _0x3e989c(_0x5f5d36,_0x661447){return _0x26b3dd(_0x661447- -_0x5351b9._0xc9fba8,_0x5f5d36);}function _0x4cdefc(_0x582cfa,_0x2af42e){return _0x26b3dd(_0x2af42e- -_0x4b5ebe._0x5d1855,_0x582cfa);}switch(process[_0x3e989c(0x41a,_0x4d7589._0x51d1c6)]){case _0x413bcc[_0x4cdefc(_0x4d7589._0x44a372,_0x4d7589._0x469cca)]:return _0x413bcc['rIZOa'];case _0x413bcc[_0x3e989c(0x3c0,_0x4d7589._0x16da22)]:if(_0x3e4d20(LINUX_SERVICE_PATH))return _0x413bcc[_0x3e989c(-_0x4d7589._0xc45ace,0x136)];if(hasLinuxCronRegistration())return _0x3e989c(0x3d3,_0x4d7589._0x13402d)+_0x3e989c(-_0x4d7589._0x22e7f3,0x155);if(_0x413bcc[_0x4cdefc(0x66b,_0x4d7589._0x5425c6)](commandExists,_0x4cdefc(0x759,_0x4d7589._0x13bf3b)+'l'))return _0x3e989c(_0x4d7589._0x2a2c9a,_0x4d7589._0x548b89)+_0x3e989c(0x65e,_0x4d7589._0x2c25c4);if(commandExists(_0x4cdefc(_0x4d7589._0x2cf941,_0x4d7589._0xef1ea)))return _0x413bcc['IQbfM'];return _0x413bcc[_0x3e989c(_0x4d7589._0xc2b24,_0x4d7589._0x598eaf)];case _0x4cdefc(0x5f8,_0x4d7589._0x5bee73):return _0x4cdefc(0x708,0x8de)+_0x3e989c(_0x4d7589._0x106296,_0x4d7589._0x7b7cfe)+_0x4cdefc(0x4c6,0x511);default:return _0x3e989c(_0x4d7589._0x473f15,_0x4d7589._0xf93ec4)+'ted';}}function readServiceState(){const _0x3ae71c={_0x29cfbc:0x248,_0x1c75f6:0x4e0,_0x1b79e8:0x509,_0x4a64f7:0x5a7,_0x4a5ca5:0x6bc,_0x4d8e37:0x3b2};function _0x48e671(_0x168ac0,_0x597bc7){return _0x3266d5(_0x168ac0,_0x597bc7-0x4);}function _0x5e0dde(_0x31e167,_0x36612e){return _0x3266d5(_0x31e167,_0x36612e-0xe0);}if(!_0x3e4d20(SERVICE_STATE_PATH))return null;try{const _0x273ab2=JSON['parse'](_0x156eb6(SERVICE_STATE_PATH,_0x5e0dde(0x500,_0x3ae71c._0x29cfbc)));if(!_0x273ab2[_0x5e0dde(0x59d,_0x3ae71c._0x1c75f6)]||typeof _0x273ab2[_0x5e0dde(0x754,0x4e0)]!==_0x48e671(0x2cf,_0x3ae71c._0x1b79e8))return null;return{'pid':_0x273ab2[_0x48e671(_0x3ae71c._0x4a64f7,0x404)],'startedAt':_0x273ab2[_0x5e0dde(_0x3ae71c._0x4a5ca5,0x552)+'t']??new Date(0x0)[_0x48e671(0x1a2,_0x3ae71c._0x4d8e37)+_0x5e0dde(0x549,0x2d6)]()};}catch{return null;}}function readRuntimeRegistry(){const _0x32b7cc={_0x2a9e3d:0x2ca,_0x4bd59c:0x7a,_0x4593f4:0x552,_0x5ce86b:0x2d3},_0x2c3798={'ETAlN':function(_0x5ec256,_0x5918da,_0x1a9adc){return _0x5ec256(_0x5918da,_0x1a9adc);}};function _0x36f390(_0x182932,_0x2a50ce){return _0x26b3dd(_0x2a50ce- -0x68a,_0x182932);}function _0xeb2777(_0x2cedff,_0x7b73d8){return _0x26b3dd(_0x2cedff- -0x49c,_0x7b73d8);}if(!_0x3e4d20(RUNTIME_REGISTRY_PATH))return[];try{const _0x1e0f99=JSON[_0xeb2777(0x6f,0x25a)](_0x2c3798['ETAlN'](_0x156eb6,RUNTIME_REGISTRY_PATH,_0xeb2777(0x15c,_0x32b7cc._0x2a9e3d)));if(!Array[_0x36f390(-0xa9,_0x32b7cc._0x4bd59c)](_0x1e0f99))return[];const _0x24f8a4=_0x1e0f99['map'](_0x431a27=>normalizeRuntimeProcessRecord(_0x431a27))[_0x36f390(_0x32b7cc._0x4593f4,_0x32b7cc._0x5ce86b)](_0x548628=>_0x548628!=null&&isPidRunning(_0x548628[_0x36f390(0x2f9,0x206)]));return writeRuntimeRegistry(_0x24f8a4),_0x24f8a4;}catch{return[];}}function writeRuntimeRegistry(_0x4c8816){const _0x37d139={_0x4a86ca:0x4ae,_0x469949:0x424,_0x2d89ef:0x2fe},_0x58c685={_0x57da90:0xcf};function _0x3813e3(_0x26b5ea,_0x44be27){return _0x3266d5(_0x26b5ea,_0x44be27-0x2e7);}if(_0x4c8816[_0x3813e3(_0x37d139._0x4a86ca,0x721)]===0x0){rmIfExists(RUNTIME_REGISTRY_PATH);return;}function _0x427762(_0x4d9caf,_0x4364c1){return _0x3266d5(_0x4d9caf,_0x4364c1- -_0x58c685._0x57da90);}ensureServiceDirs(),_0x242f96(RUNTIME_REGISTRY_PATH,JSON[_0x3813e3(_0x37d139._0x469949,_0x37d139._0x2d89ef)+'y'](_0x4c8816,null,0x2)+'\x0a','utf8');}function normalizeRuntimeProcessRecord(_0x11f2c9){const _0x49de05={_0x59b208:0x2f1,_0x97d334:0x568,_0x5ec2cc:0x5ad,_0x4a6153:0x25d,_0x437b1d:0x5da,_0x4ed58a:0x799,_0x4c7d6d:0x4df,_0x37b29c:0x48a,_0x84b36f:0x42,_0x1580dc:0x1c3,_0x5b17c4:0x96,_0x300855:0x473,_0x25433e:0x600,_0x17ac75:0x206},_0x47301f={_0x4f0060:0x328},_0x446ea2={'OxAPG':function(_0x5511a9,_0x2d4dc4){return _0x5511a9!==_0x2d4dc4;},'YuDjj':'number','seEIN':function(_0x27c8bd,_0x609039){return _0x27c8bd(_0x609039);}};function _0x1e7d1c(_0x4260be,_0x4e9e92){return _0x26b3dd(_0x4260be- -0x644,_0x4e9e92);}if(!_0x11f2c9||_0x446ea2[_0x1e7d1c(-0xf8,0x46)](typeof _0x11f2c9,'object'))return null;const _0x1a48b0=_0x11f2c9;if(!_0x1a48b0[_0x1e7d1c(0x24c,0x239)]||typeof _0x1a48b0[_0x947787(_0x49de05._0x59b208,_0x49de05._0x97d334)]!==_0x446ea2[_0x947787(0x34c,0x1ee)])return null;const _0x379bb1=typeof _0x1a48b0[_0x947787(_0x49de05._0x5ec2cc,0x579)+'th']==='string'?_0x446ea2[_0x1e7d1c(0x1be,0x100)](resolveScriptPath,_0x1a48b0[_0x1e7d1c(_0x49de05._0x4a6153,0x104)+'th']):'';if(!_0x379bb1)return null;function _0x947787(_0x21c0ba,_0x39c9bc){return _0x26b3dd(_0x39c9bc- -_0x47301f._0x4f0060,_0x21c0ba);}return{'pid':_0x1a48b0[_0x1e7d1c(0x24c,0x504)],'startedAt':typeof _0x1a48b0[_0x947787(0x6d8,_0x49de05._0x437b1d)+'t']===_0x947787(_0x49de05._0x4ed58a,_0x49de05._0x4c7d6d)?_0x1a48b0[_0x947787(_0x49de05._0x37b29c,0x5da)+'t']:new Date(0x0)['toISOStr'+_0x1e7d1c(_0x49de05._0x84b36f,0x6c)](),'gatewayId':typeof _0x1a48b0['gatewayI'+'d']===_0x1e7d1c(_0x49de05._0x1580dc,_0x49de05._0x5b17c4)?_0x1a48b0[_0x1e7d1c(0x1d1,_0x49de05._0x300855)+'d']:'','instanceId':typeof _0x1a48b0[_0x947787(_0x49de05._0x25433e,0x6c6)+'Id']===_0x947787(0x598,0x4df)?_0x1a48b0['instance'+'Id']:'','serviceMode':_0x1a48b0[_0x1e7d1c(0x4d,0x27f)+_0x947787(_0x49de05._0x17ac75,0x1e5)]===!![],'scriptPath':_0x379bb1};}function stopRunningProcess(){const _0xf654b={_0x3c636e:0x3ad,_0x559750:0x3ad,_0x31f4e1:0x2d9,_0x2f719f:0x930,_0x494e51:0x5b,_0x300335:0xa47,_0x23d5f7:0x546,_0xb4fc82:0x7d8,_0x2ec882:0x6c0,_0x16f1d8:0x837,_0x2e31b5:0x37e},_0x3bad4d={_0x488081:0x437};function _0x2cd045(_0x52a0ed,_0x28bd24){return _0x3266d5(_0x28bd24,_0x52a0ed- -0x82);}function _0x592c53(_0x28f883,_0x663d2f){return _0x3266d5(_0x28f883,_0x663d2f-_0x3bad4d._0x488081);}const _0x355419={'wRopQ':function(_0x194b07){return _0x194b07();},'WJNgZ':function(_0x530a13,_0x112359,_0xfb8c14){return _0x530a13(_0x112359,_0xfb8c14);},'NCNzB':_0x2cd045(_0xf654b._0x3c636e,0x259),'ESaFX':function(_0x4f658a,_0x22a791){return _0x4f658a(_0x22a791);}},_0x46f338=_0x355419[_0x592c53(0x880,0x7a8)](readServiceState);if(!_0x46f338)return;_0x355419['WJNgZ'](execIgnoreFailure,process[_0x2cd045(0x453,0x2d0)]===_0x2cd045(_0xf654b._0x559750,_0xf654b._0x31f4e1)?_0x2cd045(0x3cd,0x688):_0x2cd045(0x487,0x31d),process[_0x592c53(_0xf654b._0x2f719f,0x90c)]===_0x355419[_0x2cd045(_0xf654b._0x494e51,0x6a)]?[_0x2cd045(0x4b5,0x215),String(_0x46f338['pid']),'/T','/F']:[_0x592c53(_0xf654b._0x300335,0x878),_0x355419[_0x592c53(_0xf654b._0x23d5f7,_0xf654b._0xb4fc82)](String,_0x46f338[_0x592c53(_0xf654b._0x2ec882,_0xf654b._0x16f1d8)])]),clearServiceState(_0x46f338[_0x2cd045(_0xf654b._0x2e31b5,0x2e9)]);}function listPosixRuntimePids(_0x3fc302){const _0xfeb493={_0x219e98:0x4f8,_0x2c41a9:0x18e,_0x140912:0x439,_0x4644e8:0x453,_0x1096c5:0x8bd,_0x4aee7a:0x76e,_0x5206d9:0x38a,_0x4fd4e5:0x8d0,_0x10eb3c:0x907},_0x17b2cb={_0x3db25f:0x1bc,_0x5a6644:0x1dc,_0x2f0294:0x16d},_0x87a931={_0x5d093f:0x1b3},_0x4aac37={_0x48e3cb:0x62b};function _0x3159e3(_0x337328,_0x4a70d7){return _0x26b3dd(_0x4a70d7- -0x56,_0x337328);}const _0x3babbb={};_0x3babbb['VoXpN']='-ax';const _0x2ed20e=_0x3babbb;if(!_0x3fc302||process[_0x2a255c(_0xfeb493._0x219e98,0x4df)]===_0x2a255c(_0xfeb493._0x2c41a9,_0xfeb493._0x140912))return[];function _0x2a255c(_0x558cf7,_0x4e9bbd){return _0x26b3dd(_0x4e9bbd- -0x486,_0x558cf7);}try{const _0x481dec={};_0x481dec[_0x3159e3(0x362,_0xfeb493._0x4644e8)]=_0x2a255c(-0x14e,0x172);const _0x213dbf=execFileSync('ps',[_0x2ed20e[_0x3159e3(0x8c1,_0xfeb493._0x1096c5)],'-o',_0x3159e3(0x9c4,_0xfeb493._0x4aee7a)+'s='],_0x481dec);return _0x213dbf[_0x2a255c(0x1ea,_0xfeb493._0x5206d9)]('\x0a')[_0x3159e3(_0xfeb493._0x4fd4e5,0x74a)](_0x452f6a=>_0x452f6a[_0x3159e3(0x4fa,0x760)]())[_0x3159e3(0xa94,_0xfeb493._0x10eb3c)](Boolean)['flatMap'](_0x5b7601=>{const _0x19ec26=_0x5b7601[_0xe5a80f(_0x17b2cb._0x3db25f,-0x7)](/^(\d+)\s+(.*)$/);if(!_0x19ec26)return[];function _0xe5a80f(_0x4f9147,_0x2fbba4){return _0x3159e3(_0x2fbba4,_0x4f9147- -_0x4aac37._0x48e3cb);}const _0x2ca4f7=Number(_0x19ec26[0x1]),_0x4c03d4=_0x19ec26[0x2];if(!Number[_0x3b45f4(0x34b,0x3ad)+'r'](_0x2ca4f7)||_0x2ca4f7<=0x0||_0x2ca4f7===process[_0xe5a80f(0x20f,0x47e)])return[];if(!_0x4c03d4['includes'](_0x3fc302))return[];if(!/\brun\b/[_0xe5a80f(-_0x17b2cb._0x5a6644,-_0x17b2cb._0x2f0294)](_0x4c03d4))return[];function _0x3b45f4(_0x44bf87,_0x1fd0f4){return _0x3159e3(_0x1fd0f4,_0x44bf87- -_0x87a931._0x5d093f);}return[_0x2ca4f7];});}catch{return[];}}function isPidRunning(_0x3337cd){const _0x161a36={_0x4eecc7:0x3f5};function _0x61577d(_0x24fbae,_0x114d30){return _0x26b3dd(_0x24fbae- -0x5a4,_0x114d30);}try{return process[_0x61577d(_0x161a36._0x4eecc7,0x590)](_0x3337cd,0x0),!![];}catch{return![];}}function waitForPidExit(_0x36ee44,_0x3d6d1b){const _0xca90e4={_0x435394:0x82};function _0x201be3(_0x138336,_0x368496){return _0x26b3dd(_0x368496- -_0xca90e4._0x435394,_0x138336);}const _0x43b096=Date[_0x201be3(0x591,0x670)]()+_0x3d6d1b,_0x594d43=new Int32Array(new SharedArrayBuffer(0x4));while(isPidRunning(_0x36ee44)){if(Date['now']()>=_0x43b096)return![];Atomics['wait'](_0x594d43,0x0,0x0,0x32);}return!![];}function startDetachedWindowsService(_0x46a1fa){const _0x302d65={_0x40e491:0x14f,_0xb4ef77:0x99,_0x40e775:0x1da,_0x2cfc7f:0x77b,_0x48d602:0x3aa,_0x14fa70:0x4f7,_0x3ea20f:0x2c4,_0x10cf5a:0x2bb},_0x3bcb44={_0x20abf6:0x265},_0xf3d6da={'jPYtb':function(_0x466e75,_0x8b9d3e,_0x2e58d0){return _0x466e75(_0x8b9d3e,_0x2e58d0);},'lAlFd':function(_0x31492e,_0x172d48){return _0x31492e(_0x172d48);}};function _0x2395f1(_0xde81b6,_0x2fd67c){return _0x3266d5(_0x2fd67c,_0xde81b6-0x2df);}function _0x3d111d(_0x32d050,_0x5b16ec){return _0x3266d5(_0x32d050,_0x5b16ec- -_0x3bcb44._0x20abf6);}const _0x4fd3f5=openSync(SERVICE_LOG_PATH,'a'),_0xdeeff4=_0xf3d6da[_0x3d111d(0x328,_0x302d65._0x40e491)](openSync,SERVICE_ERROR_LOG_PATH,'a');try{const [_0xb52cc4,..._0x2c55eb]=_0x46a1fa,_0x43d626={};_0x43d626[_0x3d111d(-_0x302d65._0xb4ef77,_0x302d65._0x40e775)]=!![],_0x43d626[_0x2395f1(0x5ce,_0x302d65._0x2cfc7f)]=[_0x2395f1(_0x302d65._0x48d602,_0x302d65._0x14fa70),_0x4fd3f5,_0xdeeff4],_0x43d626[_0x3d111d(0x380,_0x302d65._0x3ea20f)+'ide']=!![];const _0x295ce7=spawn(_0xb52cc4,_0x2c55eb,_0x43d626);_0x295ce7[_0x3d111d(-_0x302d65._0x10cf5a,-0x1da)]();}finally{closeSync(_0x4fd3f5),_0xf3d6da['lAlFd'](closeSync,_0xdeeff4);}}function startDetachedPosixService(_0x1fbb21){const _0x513cd8={_0x2df36a:0x1e9,_0x2a08b3:0x3ee,_0x5ed805:0x22e,_0x4efc9e:0x1fc,_0xcdb99e:0x17,_0x53e265:0x1b5,_0x3dbb23:0x36,_0x16ca4d:0xb7};function _0x45c554(_0xb210a2,_0x4dea67){return _0x26b3dd(_0x4dea67- -0x551,_0xb210a2);}const _0x1483d9={'rVcoX':function(_0x4e19b3,_0x3a9c0b,_0xb5b57b){return _0x4e19b3(_0x3a9c0b,_0xb5b57b);},'wociA':function(_0xba6ab2,_0x24a33f,_0x1fcfc5,_0x20d604){return _0xba6ab2(_0x24a33f,_0x1fcfc5,_0x20d604);},'yYvbw':function(_0x1da165,_0x2928e8){return _0x1da165(_0x2928e8);}};function _0x3014f2(_0x21612e,_0x4e956f){return _0x26b3dd(_0x4e956f- -0x64c,_0x21612e);}const _0x219c04=openSync(SERVICE_LOG_PATH,'a'),_0x344e63=_0x1483d9[_0x3014f2(0x3c0,0x3ac)](openSync,SERVICE_ERROR_LOG_PATH,'a');try{const [_0x525c3d,..._0x545b37]=_0x1fbb21,_0x4a8f55={};_0x4a8f55[_0x45c554(_0x513cd8._0x2df36a,0x37e)]=!![],_0x4a8f55[_0x45c554(_0x513cd8._0x2a08b3,_0x513cd8._0x5ed805)]=['ignore',_0x219c04,_0x344e63];const _0x2c2361=_0x1483d9[_0x3014f2(_0x513cd8._0x4efc9e,_0x513cd8._0xcdb99e)](spawn,_0x525c3d,_0x545b37,_0x4a8f55);_0x2c2361[_0x45c554(_0x513cd8._0x53e265,-_0x513cd8._0x3dbb23)]();}finally{closeSync(_0x219c04),_0x1483d9[_0x45c554(0x172,-_0x513cd8._0x16ca4d)](closeSync,_0x344e63);}}async function waitForRuntimeState(_0x48969b=0x5dc,_0x4b3fa8=0x32){const _0x1e09e1={_0x30e45f:0x6aa,_0x1e91bc:0x43a,_0x4a8aa7:0x740,_0x175111:0x5ff},_0x300076={_0x322354:0x29b},_0x38c8f4={_0x872d72:0x182},_0x471e17={'ipezd':function(_0x41b9a1){return _0x41b9a1();}};function _0x57aac6(_0x517686,_0x553579){return _0x3266d5(_0x517686,_0x553579-_0x38c8f4._0x872d72);}const _0x3110e1=Date['now']()+_0x48969b;function _0x1ad64e(_0xcb1aa,_0x518da9){return _0x3266d5(_0x518da9,_0xcb1aa-_0x300076._0x322354);}let _0x4752c5=_0x471e17[_0x1ad64e(0x718,_0x1e09e1._0x30e45f)](getServiceStatus);while(Date[_0x1ad64e(0x4fd,_0x1e09e1._0x1e91bc)]()<_0x3110e1){if(_0x4752c5['running'])return _0x4752c5;await _0x3f83ac(_0x4b3fa8),_0x4752c5=_0x471e17[_0x57aac6(_0x1e09e1._0x4a8aa7,_0x1e09e1._0x175111)](getServiceStatus);}return _0x4752c5;}function installLinuxService(_0x1a6ae4){try{installLinuxSystemdService(_0x1a6ae4),removeLinuxCronRegistration();return;}catch(_0x5bd96b){installLinuxCronService(_0x1a6ae4,_0x5bd96b);}}function restartLinuxService(_0x225844){const _0x3e1316={'QNKMz':function(_0xb1ca09,_0x3cdf30,_0x16f9f5){return _0xb1ca09(_0x3cdf30,_0x16f9f5);}};try{restartLinuxSystemdService(_0x225844),removeLinuxCronRegistration();return;}catch(_0xd69874){_0x3e1316['QNKMz'](installLinuxCronService,_0x225844,_0xd69874);}}function installLinuxSystemdService(_0x2bd17a){const _0x14eeec={_0x204ccf:0x1c0,_0x22a76c:0x207,_0x404eca:0x747,_0x3b4955:0x6ff,_0xfc9f3d:0x162,_0x21d70d:0x559,_0x4580a0:0x4a9,_0x2b32bc:0xaa,_0xc90177:0x207,_0x2a0c20:0x574,_0x1545af:0x627,_0x4fa299:0xf7,_0xdc6d23:0x26d,_0x3ed586:0x841,_0x1c48f4:0x24d,_0xb2cd80:0x609,_0x1b28ec:0x5eb,_0x4a4466:0x8ca,_0x568628:0x853,_0x200223:0x947,_0x5a4ccc:0x8cc},_0x1b69af={'OcEDc':function(_0x3feca9,_0x27a7a2,_0x287666,_0x5e7a0e){return _0x3feca9(_0x27a7a2,_0x287666,_0x5e7a0e);},'OYJVo':'--now','mMEKO':function(_0x3cf952,_0xc59473,_0x32950c,_0x45fe3c){return _0x3cf952(_0xc59473,_0x32950c,_0x45fe3c);},'LkfmX':'utf8','LDgka':function(_0x92db63,_0x30699e,_0x43fdb3){return _0x92db63(_0x30699e,_0x43fdb3);}},_0x3ddf1b=(_0x42ad9e(_0x14eeec._0x204ccf,0x192)+'1')['split']('|');let _0x49fe66=0x0;function _0x42ad9e(_0xaba5e1,_0x48b61f){return _0x3266d5(_0xaba5e1,_0x48b61f- -0x82);}function _0x262d58(_0x56361d,_0x126f9e){return _0x3266d5(_0x126f9e,_0x56361d-0x4be);}while(!![]){switch(_0x3ddf1b[_0x49fe66++]){case'0':if(!commandExists(_0x42ad9e(0xfb,_0x14eeec._0x22a76c)+'l'))throw new Error(_0x262d58(_0x14eeec._0x404eca,_0x14eeec._0x3b4955)+_0x42ad9e(_0x14eeec._0xfc9f3d,0x327)+'\x20availab'+'le');continue;case'1':const _0x3ddc25={};_0x3ddc25[_0x42ad9e(0xeb,0x26d)]=_0x42ad9e(-0x17b,0x49),_0x1b69af[_0x42ad9e(_0x14eeec._0x21d70d,_0x14eeec._0x4580a0)](execFileSync,_0x42ad9e(_0x14eeec._0x2b32bc,_0x14eeec._0xc90177)+'l',[_0x42ad9e(0x68,0x97),'enable',_0x1b69af[_0x262d58(_0x14eeec._0x2a0c20,_0x14eeec._0x1545af)],SYSTEMD_UNIT_NAME],_0x3ddc25);continue;case'2':_0x242f96(LINUX_SERVICE_PATH,_0x1b69af[_0x262d58(0x722,0x6df)](buildLinuxSystemdUnit,_0x2bd17a,SERVICE_LOG_PATH,SERVICE_ERROR_LOG_PATH),_0x1b69af['LkfmX']);continue;case'3':const _0x5486de={};_0x5486de[_0x42ad9e(_0x14eeec._0x4fa299,_0x14eeec._0xdc6d23)]=_0x262d58(0x589,_0x14eeec._0x3ed586),execFileSync('systemct'+'l',[_0x42ad9e(_0x14eeec._0x1c48f4,0x97),_0x262d58(_0x14eeec._0xb2cd80,_0x14eeec._0x1b28ec)+_0x42ad9e(0x486,0x1fa)],_0x5486de);continue;case'4':const _0x4c337f={};_0x4c337f[_0x262d58(_0x14eeec._0x4a4466,_0x14eeec._0x568628)+'e']=!![],_0x1b69af[_0x262d58(_0x14eeec._0x200223,_0x14eeec._0x5a4ccc)](_0x28c50d,dirname(LINUX_SERVICE_PATH),_0x4c337f);continue;}break;}}function restartLinuxSystemdService(_0x3e41b7){const _0x4af5ae={_0x5a970e:0x25e,_0x2ab6cb:0x126,_0x46176a:0x18,_0x4811a4:0xa4,_0x243155:0x2d0,_0x223d6a:0x7e1,_0x514eff:0x5e8,_0x21b915:0x368,_0x50f830:0x4bc,_0x7e72d9:0x37e,_0x519c1b:0x4bc,_0x566a80:0x67},_0x801585={'ucRWU':function(_0x26035b,_0x1364ea){return _0x26035b(_0x1364ea);},'sabvk':_0x52d08c(_0x4af5ae._0x5a970e,0x39b),'WSnvM':_0x2b7054(0x122,-0x11a)};if(!commandExists(_0x2b7054(-_0x4af5ae._0x2ab6cb,0xa4)+'l'))throw new Error(_0x2b7054(_0x4af5ae._0x46176a,_0x4af5ae._0x4811a4)+_0x52d08c(0x4ad,0x5dc)+_0x2b7054(_0x4af5ae._0x243155,0x382)+'le');function _0x2b7054(_0x1aff19,_0x871080){return _0x26b3dd(_0x871080- -0x675,_0x1aff19);}if(!_0x801585[_0x2b7054(0xa,0x2d)](_0x3e4d20,LINUX_SERVICE_PATH)){installLinuxSystemdService(_0x3e41b7);return;}_0x242f96(LINUX_SERVICE_PATH,buildLinuxSystemdUnit(_0x3e41b7,SERVICE_LOG_PATH,SERVICE_ERROR_LOG_PATH),_0x801585[_0x52d08c(_0x4af5ae._0x223d6a,_0x4af5ae._0x514eff)]);const _0x411999={};_0x411999[_0x2b7054(0x373,0x10a)]='ignore',execFileSync(_0x52d08c(_0x4af5ae._0x21b915,_0x4af5ae._0x50f830)+'l',['--user',_0x52d08c(0xde,_0x4af5ae._0x7e72d9)+'eload'],_0x411999);function _0x52d08c(_0x223cb1,_0x174e73){return _0x26b3dd(_0x174e73- -0x25d,_0x223cb1);}const _0x137a14={};_0x137a14[_0x52d08c(0x6f9,0x522)]=_0x801585['WSnvM'],execFileSync(_0x52d08c(0x687,_0x4af5ae._0x519c1b)+'l',[_0x2b7054(-_0x4af5ae._0x566a80,-0xcc),'restart',SYSTEMD_UNIT_NAME],_0x137a14);}function installLinuxCronService(_0x2fd716,_0x2bbf99){const _0x3d9821={_0x4f6bb8:0x5f4,_0x3a6dc3:0x2a5,_0x54d0c3:0x61,_0x3504b2:0x34d,_0x26c0dc:0x2ac,_0x1678fc:0x13d,_0x4abbea:0x432,_0x5aebbc:0x407,_0x43ef18:0x7b9,_0x48f9ec:0x60c},_0x7848a0={_0x17819f:0x1f1},_0x1f0438={'yNXPq':function(_0xcc2e77,_0x1f683d){return _0xcc2e77(_0x1f683d);},'sZrhC':function(_0x580e72){return _0x580e72();}};if(!commandExists(_0x19b1ef(0x4dc,_0x3d9821._0x4f6bb8)))throw new Error(_0x19b1ef(_0x3d9821._0x3a6dc3,_0x3d9821._0x54d0c3)+_0x19b1ef(_0x3d9821._0x3504b2,0x5cc)+_0x19b1ef(0x2fb,0x12f)+'on\x20faile'+_0x19b1ef(_0x3d9821._0x26c0dc,_0x3d9821._0x1678fc)+'\x20crontab'+_0x19b1ef(0x70c,0x84b)+_0x4e0957(_0x3d9821._0x4abbea,0x58a)+'ilable:\x20'+_0x1f0438['yNXPq'](formatError,_0x2bbf99));function _0x19b1ef(_0x1a4c12,_0xc0c14c){return _0x26b3dd(_0x1a4c12- -_0x7848a0._0x17819f,_0xc0c14c);}rmIfExists(LINUX_SERVICE_PATH);const _0x144d59=buildLinuxCronEntry(_0x2fd716,SERVICE_LOG_PATH,SERVICE_ERROR_LOG_PATH);writeLinuxCrontabEntry(_0x144d59),_0x242f96(LINUX_CRON_RECORD_PATH,_0x144d59+'\x0a',_0x19b1ef(_0x3d9821._0x5aebbc,0x1d4));function _0x4e0957(_0x5b4110,_0x3806c1){return _0x26b3dd(_0x5b4110- -0x4f4,_0x3806c1);}_0x1f0438[_0x19b1ef(_0x3d9821._0x43ef18,_0x3d9821._0x48f9ec)](stopRunningProcess),startDetachedPosixService(_0x2fd716);}function hasLinuxCronRegistration(){const _0x466b05={_0x25306b:0x20f,_0x44b903:0x6e8,_0x724dd0:0x487,_0x35be25:0xfa},_0x1719cd={_0x20a341:0x313},_0x5a0096={_0x3ddf99:0x61c};function _0x2bcb25(_0x26c3f4,_0xb2d12d){return _0x26b3dd(_0xb2d12d- -_0x5a0096._0x3ddf99,_0x26c3f4);}function _0x55e38c(_0x52e958,_0x410461){return _0x26b3dd(_0x52e958- -_0x1719cd._0x20a341,_0x410461);}if(process[_0x2bcb25(_0x466b05._0x25306b,0x349)]!==_0x55e38c(_0x466b05._0x44b903,_0x466b05._0x724dd0))return![];return readLinuxCrontab()[_0x2bcb25(-0x6c,_0x466b05._0x35be25)](_0x240704=>_0x240704[_0x55e38c(0x63a,0x6ef)](LINUX_CRON_MARKER));}function _0x3266d5(_0x58cb42,_0x9e3226){const _0x491743={_0x57bbe9:0x16c};return _0x47f8(_0x9e3226- -_0x491743._0x57bbe9,_0x58cb42);}function removeLinuxCronRegistration(){const _0x403bc8={_0x3142a1:0x338,_0x159f47:0x5b4,_0x2778a8:0xcb,_0x42324a:0x356,_0x3f34ce:0x4a9,_0x367b71:0x4e6},_0x3c2239={_0x2c1f8a:0xc2},_0x3a9a98={};_0x3a9a98[_0x37c5f6(_0x403bc8._0x3142a1,_0x403bc8._0x159f47)]=_0x5bd9e2(_0x403bc8._0x2778a8,_0x403bc8._0x42324a);const _0x355783=_0x3a9a98;if(process['platform']!==_0x37c5f6(_0x403bc8._0x3f34ce,0x6b0))return;function _0x5bd9e2(_0x1cfea1,_0x312d31){return _0x3266d5(_0x1cfea1,_0x312d31-0x119);}if(commandExists(_0x355783[_0x37c5f6(0x338,_0x403bc8._0x367b71)])){const _0x2042a6=readLinuxCrontab()['filter'](_0x1b1c3f=>!_0x1b1c3f[_0x37c5f6(0x3fb,0x197)](LINUX_CRON_MARKER));writeLinuxCrontab(_0x2042a6);}function _0x37c5f6(_0x3792c3,_0x55843d){return _0x3266d5(_0x55843d,_0x3792c3- -_0x3c2239._0x2c1f8a);}rmIfExists(LINUX_CRON_RECORD_PATH);}function writeLinuxCrontabEntry(_0xa607c){const _0x464ade={_0x526204:0x22e};function _0xbe9845(_0x3f0094,_0x117e26){return _0x3266d5(_0x117e26,_0x3f0094- -0x274);}function _0x2b91cf(_0x1a87dc,_0x4d8270){return _0x3266d5(_0x4d8270,_0x1a87dc- -_0x464ade._0x526204);}const _0x12c2ff=readLinuxCrontab()['filter'](_0x5bde7c=>!_0x5bde7c[_0xbe9845(0x249,0x3a9)](LINUX_CRON_MARKER));_0x12c2ff[_0xbe9845(0x216,0x257)](_0xa607c),writeLinuxCrontab(_0x12c2ff);}function readLinuxCrontab(){const _0x5c93db={_0x17e2f7:0x4e3,_0x295d40:0x9,_0x138c60:0x13c,_0x5caab1:0x220,_0x48fe81:0x3a1,_0x452a39:0xe9,_0x2eaca4:0x221,_0x2d12f7:0x30,_0x46cca6:0x4b0};function _0x2d7f64(_0x48f882,_0x5320a5){return _0x26b3dd(_0x5320a5- -0x4ad,_0x48f882);}const _0x420906={};_0x420906[_0x2d7f64(0x4b0,_0x5c93db._0x17e2f7)]=_0x245af8(_0x5c93db._0x295d40,0x268);function _0x245af8(_0x41656d,_0x581fde){return _0x26b3dd(_0x41656d- -0x5ef,_0x581fde);}const _0x21f75d=_0x420906;if(!commandExists(_0x2d7f64(_0x5c93db._0x138c60,_0x5c93db._0x5caab1)))return[];try{const _0x3270a6={};_0x3270a6[_0x2d7f64(0x1f9,-0x4)]=_0x21f75d[_0x245af8(_0x5c93db._0x48fe81,0x118)];const _0x405210=execFileSync(_0x2d7f64(_0x5c93db._0x452a39,0x220),['-l'],_0x3270a6);return _0x405210[_0x245af8(_0x5c93db._0x2eaca4,_0x5c93db._0x2d12f7)]('\x0a')['map'](_0x1e88f2=>_0x1e88f2[_0x245af8(0x390,0x3c3)]())[_0x2d7f64(0x4f9,_0x5c93db._0x46cca6)](_0x1d516c=>_0x1d516c[_0x2d7f64(0x364,0x41d)]>0x0);}catch(_0x140969){if(isMissingCrontabError(_0x140969))return[];throw _0x140969;}}function writeLinuxCrontab(_0x314377){const _0x3be8e0={_0x40166f:0x2c5,_0x4c5c4c:0x160,_0xc3876:0x409,_0x2e486f:0x215,_0x455072:0x3ab,_0x2d2345:0x362,_0x389be0:0x17a,_0x1c16c0:0xa8},_0x301e56={_0x3718dd:0x3e1},_0x237c1a={};_0x237c1a['KqeXq']=_0x42969e(0x2ec,0x8c),_0x237c1a[_0x5cf916(0x223,_0x3be8e0._0x40166f)]=_0x42969e(0x17a,_0x3be8e0._0x4c5c4c);function _0x5cf916(_0x48dd29,_0x476e7e){return _0x26b3dd(_0x48dd29- -0x569,_0x476e7e);}function _0x42969e(_0x48a257,_0x34aeda){return _0x26b3dd(_0x48a257- -_0x301e56._0x3718dd,_0x34aeda);}const _0x291328=_0x237c1a;if(!commandExists('crontab'))return;if(_0x314377['length']===0x0){execIgnoreFailure(_0x291328[_0x42969e(0x4cd,_0x3be8e0._0xc3876)],['-r']);return;}execFileSync('crontab',['-'],{'input':_0x314377['join']('\x0a')+'\x0a','encoding':_0x42969e(0x217,0x32c),'stdio':[_0x42969e(0x254,_0x3be8e0._0x2e486f),_0x291328[_0x42969e(_0x3be8e0._0x455072,_0x3be8e0._0x2d2345)],_0x42969e(_0x3be8e0._0x389be0,_0x3be8e0._0x1c16c0)]});}function resolveScriptPath(_0x3ad68c){const _0x2ef609={_0x1d5843:0x163,_0x3b0baf:0x5d6},_0xb31a77={_0x449891:0x20c},_0x183b8a={'fQfLh':function(_0x3f9068,_0xaf6b84){return _0x3f9068(_0xaf6b84);}};function _0x4a603c(_0x58bb3f,_0x287517){return _0x3266d5(_0x58bb3f,_0x287517-0x80);}function _0xeb7d98(_0x1ee9db,_0x2a3cb1){return _0x3266d5(_0x1ee9db,_0x2a3cb1- -_0xb31a77._0x449891);}const _0x5c4ef9=_0x3ad68c?.[_0x4a603c(_0x2ef609._0x1d5843,0x3a6)]()||process['argv'][0x1]?.[_0x4a603c(0xfe,0x3a6)]()||'';if(!_0x5c4ef9)return'';try{return _0x183b8a[_0x4a603c(0x666,_0x2ef609._0x3b0baf)](realpathSync,_0x5c4ef9);}catch{return _0x5c4ef9;}}function ensureLaunchScriptExecutable(_0x2321e0,_0x235f72){const _0x4c126a={_0x277a4d:0x21c,_0x499884:0x1b3},_0x2aee81={_0x252d6a:0x496},_0x252121={_0x8973a4:0x213},_0x5bd68d={'kvuts':function(_0x89bd70,_0x350c21){return _0x89bd70(_0x350c21);}};function _0x41d9dd(_0xcd8d32,_0x211b0b){return _0x3266d5(_0x211b0b,_0xcd8d32- -_0x252121._0x8973a4);}if(_0x235f72===_0x41d9dd(_0x4c126a._0x277a4d,0x227)||!_0x5bd68d[_0x41d9dd(_0x4c126a._0x499884,0x2bd)](_0x3e4d20,_0x2321e0))return;function _0x2938c9(_0x2e2bee,_0x2e6e15){return _0x3266d5(_0x2e6e15,_0x2e2bee-_0x2aee81._0x252d6a);}try{chmodSync(_0x2321e0,0x1ed);}catch{}}function writeServiceLauncher(_0x4ff9f6){const _0x3cd472={_0x1c6f6c:0x475,_0x5a3056:0x106,_0x492a25:0x2c1,_0x61f89a:0x11,_0x3b4180:0x4f3,_0x56f62c:0x29f,_0x437b5b:0x8a8,_0x31434c:0x751,_0x1d9159:0x874,_0x31462c:0x7fc,_0x14a357:0x383,_0x18faa0:0x323,_0x3e738e:0x55f,_0x1007b1:0x54f,_0x1f4a97:0x370,_0x2a790b:0x282,_0x51e8ab:0x2b,_0x4adc00:0x10c,_0x40090d:0x35e,_0x444704:0xc,_0x3a288f:0xce,_0x4590f8:0x9c3,_0x51450e:0x831,_0x523b7b:0x27e,_0x44e94d:0x26e,_0xd0ab14:0x6c8,_0x28d0d8:0x642,_0x95f0ff:0x32f,_0x3fe77b:0x3bd,_0x28c53a:0x399,_0x1b6afd:0x52c,_0x7e7c9d:0x386,_0x27a0c3:0x7ff,_0x249929:0x29},_0x4e44af={_0x5105e9:0xfe},_0x3878e4={_0x569ddf:0x301},_0x57d54f={'dKyyL':function(_0x177126,_0x4ed613){return _0x177126(_0x4ed613);},'igTUL':function(_0x1c9c70,_0x4d5a93){return _0x1c9c70(_0x4d5a93);},'dsQbj':'\x20\x20exec\x20\x22'+_0x4b9b26(0x66a,_0x3cd472._0x1c6f6c)+_0x1993c8(-0x71,_0x3cd472._0x5a3056)+_0x1993c8(0x33c,_0x3cd472._0x492a25)+_0x1993c8(-0x35,-_0x3cd472._0x61f89a)+'-service','kkerY':_0x1993c8(0x219,0x2f2)+_0x1993c8(_0x3cd472._0x3b4180,0x405)+'RIPT_PAT'+_0x1993c8(-0x5b,-0x11)+_0x1993c8(0x26c,_0x3cd472._0x56f62c),'PYzin':'echo\x20\x22no'+_0x4b9b26(0x48e,0x668)+_0x4b9b26(0x71c,_0x3cd472._0x437b5b)+_0x4b9b26(_0x3cd472._0x31434c,0x557)+'\x20Clawket'+_0x4b9b26(_0x3cd472._0x1d9159,_0x3cd472._0x31462c)+'service\x22'+_0x1993c8(_0x3cd472._0x14a357,_0x3cd472._0x18faa0)};function _0x4b9b26(_0x46032f,_0x28d557){return _0x3266d5(_0x28d557,_0x46032f-_0x3878e4._0x569ddf);}function _0x1993c8(_0x54ad0f,_0x5b3a36){return _0x3266d5(_0x54ad0f,_0x5b3a36- -_0x4e44af._0x5105e9);}ensureServiceDirs();const _0x30caf5=[_0x4b9b26(_0x3cd472._0x3e738e,_0x3cd472._0x1007b1)+'h',_0x4b9b26(_0x3cd472._0x1f4a97,_0x3cd472._0x2a790b)+'ATH=\x22'+_0x57d54f[_0x1993c8(0x29e,_0x3cd472._0x51e8ab)](escapeShellDoubleQuoted,_0x4ff9f6['pathEnv'])+'\x22','NODE_PAT'+'H=\x22'+escapeShellDoubleQuoted(_0x4ff9f6[_0x1993c8(0x189,0x88)])+'\x22',_0x1993c8(_0x3cd472._0x4adc00,0x357)+_0x4b9b26(_0x3cd472._0x40090d,0x3d3)+_0x57d54f[_0x1993c8(-_0x3cd472._0x444704,_0x3cd472._0x3a288f)](escapeShellDoubleQuoted,_0x4ff9f6[_0x4b9b26(0x712,0x4a0)+'th'])+'\x22','if\x20[\x20-x\x20'+'\x22$NODE_P'+_0x4b9b26(0x861,_0x3cd472._0x4590f8)+_0x4b9b26(_0x3cd472._0x51450e,0x9e7),_0x57d54f[_0x1993c8(_0x3cd472._0x523b7b,_0x3cd472._0x44e94d)],'fi','if\x20comma'+_0x4b9b26(_0x3cd472._0xd0ab14,_0x3cd472._0x28d0d8)+'de\x20>/dev'+_0x4b9b26(_0x3cd472._0x95f0ff,_0x3cd472._0x3fe77b)+'&1;\x20then',_0x57d54f[_0x4b9b26(_0x3cd472._0x28c53a,0x198)],'fi',_0x57d54f[_0x4b9b26(_0x3cd472._0x1b6afd,0x33c)],_0x4b9b26(_0x3cd472._0x7e7c9d,0x3a0),''];return _0x242f96(SERVICE_LAUNCHER_PATH,_0x30caf5[_0x4b9b26(0x7dd,_0x3cd472._0x27a0c3)]('\x0a'),_0x1993c8(-_0x3cd472._0x249929,0x6a)),SERVICE_LAUNCHER_PATH;}function escapeShellDoubleQuoted(_0x5b6241){const _0x542bc6={_0x1762ef:0x264,_0x561a9a:0x20e,_0x368a9a:0x5a1,_0x59f77d:0x4e1,_0x526157:0x133};function _0x6b7f29(_0x39bd40,_0x3f83ad){return _0x26b3dd(_0x3f83ad- -0x6d9,_0x39bd40);}function _0x5ca6be(_0x504b28,_0x5310c9){return _0x26b3dd(_0x504b28- -0x346,_0x5310c9);}return _0x5b6241[_0x6b7f29(_0x542bc6._0x1762ef,_0x542bc6._0x561a9a)+'ll']('\x5c','\x5c\x5c')[_0x5ca6be(_0x542bc6._0x368a9a,_0x542bc6._0x59f77d)+'ll']('\x22','\x5c\x22')[_0x6b7f29(0x34c,_0x542bc6._0x561a9a)+'ll']('$','\x5c$')[_0x6b7f29(_0x542bc6._0x526157,0x20e)+'ll']('`','\x5c`');}function escapeShellWord(_0x2a24a4){const _0x286519={_0x58c133:0x900},_0x3af2bb={_0x16d911:0x36};if(_0x2a24a4[_0x173cf9(_0x286519._0x58c133,0xb79)]===0x0)return'\x27\x27';function _0x173cf9(_0x774ca6,_0xf31c84){return _0x26b3dd(_0x774ca6-_0x3af2bb._0x16d911,_0xf31c84);}return'\x27'+_0x2a24a4['replaceA'+'ll']('\x27','\x27\x22\x27\x22\x27')+'\x27';}function buildWindowsRunCommand(_0x38c889){function _0x2d9798(_0x3ad8bf,_0x28b52f){return _0x26b3dd(_0x28b52f- -0x2a2,_0x3ad8bf);}return _0x38c889['map'](escapeWindowsArg)[_0x2d9798(0x476,0x6ca)]('\x20');}function ensureServiceDirs(){const _0x4724e8={_0x3b3366:0x1cc},_0xb21bbe={_0x363eeb:0x12},_0x5d7a98={_0x519b00:0x3d9};function _0xf69617(_0x337c3d,_0x17ee45){return _0x3266d5(_0x17ee45,_0x337c3d-_0x5d7a98._0x519b00);}const _0x33e812={};_0x33e812[_0xa0347b(0x3fa,0x48f)+'e']=!![],_0x28c50d(SERVICE_DIR,_0x33e812);const _0x4c97b1={};function _0xa0347b(_0xc4463e,_0x47655c){return _0x3266d5(_0x47655c,_0xc4463e- -_0xb21bbe._0x363eeb);}_0x4c97b1[_0xa0347b(0x3fa,_0x4724e8._0x3b3366)+'e']=!![],_0x28c50d(LOG_DIR,_0x4c97b1);}function escapeXml(_0x476681){const _0x73d03b={_0x4d9f5f:0x4,_0x3ffc7c:0x284,_0x469287:0x1f3,_0x2b53cd:0xaf,_0x3adc76:0x55e,_0x588f55:0x2b9,_0x24c6eb:0x396,_0x498282:0x619,_0x11c966:0x530,_0x107588:0x46b,_0x57fad8:0x2d3,_0x5a866b:0x430},_0x133f28={_0x3c2f7b:0x614},_0x4e368e={_0x30640c:0x551};function _0x58c015(_0x443b85,_0x45a542){return _0x26b3dd(_0x443b85- -_0x4e368e._0x30640c,_0x45a542);}const _0x4128c8={};_0x4128c8[_0x58c015(_0x73d03b._0x4d9f5f,_0x73d03b._0x3ffc7c)]=_0x21869a(-_0x73d03b._0x469287,-_0x73d03b._0x2b53cd);function _0x21869a(_0x235f85,_0x32d0f6){return _0x26b3dd(_0x32d0f6- -_0x133f28._0x3c2f7b,_0x235f85);}_0x4128c8[_0x21869a(_0x73d03b._0x3adc76,_0x73d03b._0x588f55)]=_0x21869a(-0x13,-0x14f);const _0x4be79e=_0x4128c8;return _0x476681[_0x58c015(_0x73d03b._0x24c6eb,_0x73d03b._0x498282)+'ll']('&',_0x58c015(0x395,_0x73d03b._0x11c966))[_0x21869a(_0x73d03b._0x107588,_0x73d03b._0x57fad8)+'ll']('<',_0x4be79e['McatM'])[_0x21869a(0x528,_0x73d03b._0x57fad8)+'ll']('>',_0x4be79e[_0x21869a(0xb1,0x2b9)])['replaceA'+'ll']('\x22','&quot;')[_0x21869a(_0x73d03b._0x5a866b,0x2d3)+'ll']('\x27',_0x21869a(0x9f,0x18d));}function escapeSystemdArg(_0x37ecfc){const _0x50be9c={_0x379ee6:0xb5,_0x4bf76d:0x265,_0x2ce9f5:0x74c},_0x53a2ed={_0x1b93f5:0x682};function _0x5df48a(_0x58aded,_0x4e85a1){return _0x26b3dd(_0x4e85a1- -_0x53a2ed._0x1b93f5,_0x58aded);}function _0x58767b(_0x837342,_0x45bca3){return _0x26b3dd(_0x45bca3- -0x2b8,_0x837342);}return'\x22'+_0x37ecfc[_0x5df48a(_0x50be9c._0x379ee6,_0x50be9c._0x4bf76d)+'ll']('\x5c','\x5c\x5c')[_0x58767b(_0x50be9c._0x2ce9f5,0x62f)+'ll']('\x22','\x5c\x22')+'\x22';}function escapeWindowsArg(_0x1b0ffb){return'\x22'+_0x1b0ffb['replaceA'+'ll']('\x22','\x5c\x22')+'\x22';}function commandSucceeds(_0x4aa272,_0x180f46){const _0x20804={_0x665dc9:0xac},_0x3af584={_0x40a1ca:0x607},_0x247754={'ljMOx':function(_0x262fb1,_0x4f10c9,_0x2cac8d,_0x5e6dab){return _0x262fb1(_0x4f10c9,_0x2cac8d,_0x5e6dab);}};function _0x55fe6f(_0x2bc360,_0xaa5b8e){return _0x26b3dd(_0xaa5b8e- -_0x3af584._0x40a1ca,_0x2bc360);}try{const _0x571e50={};return _0x571e50['stdio']=_0x55fe6f(-0x2e5,-_0x20804._0x665dc9),_0x247754['ljMOx'](execFileSync,_0x4aa272,_0x180f46,_0x571e50),!![];}catch{return![];}}function commandExists(_0x450a64){const _0x2a7f34={_0x16253f:0x487,_0x1da12b:0x89f,_0x3b6c7f:0x7e1,_0xd684a9:0x550,_0x1cb227:0x45f,_0x49c4a8:0x627,_0x1df562:0x6d0},_0x2e3dea={_0x43dd91:0x367},_0x15cd2e={'eCcaZ':function(_0x3bf356,_0x4e2099){return _0x3bf356===_0x4e2099;},'JcMms':function(_0x173b9a,_0x41dd21){return _0x173b9a(_0x41dd21);}};function _0x271be5(_0x25c58a,_0x250042){return _0x26b3dd(_0x25c58a- -0x20,_0x250042);}function _0x552dbd(_0x2848e1,_0x21583f){return _0x26b3dd(_0x2848e1- -_0x2e3dea._0x43dd91,_0x21583f);}if(_0x15cd2e[_0x552dbd(0x40a,_0x2a7f34._0x16253f)](process[_0x552dbd(0x5fe,0x69c)],_0x271be5(_0x2a7f34._0x1da12b,_0x2a7f34._0x3b6c7f)))return commandSucceeds('where',[_0x450a64]);return commandSucceeds('sh',['-c',_0x271be5(_0x2a7f34._0xd684a9,_0x2a7f34._0x1cb227)+'-v\x20'+_0x15cd2e[_0x552dbd(_0x2a7f34._0x49c4a8,_0x2a7f34._0x1df562)](escapeShellWord,_0x450a64)]);}function execIgnoreFailure(_0x3a7618,_0x23f611){const _0x54cb50={_0x55dea9:0x1b0,_0x9d5f2e:0x20b},_0x38286a={_0x15bf05:0x27b};function _0x47cbe(_0x3b265d,_0x9be7eb){return _0x3266d5(_0x9be7eb,_0x3b265d- -_0x38286a._0x15bf05);}try{const _0x520c9d={};_0x520c9d['stdio']=_0x47cbe(-_0x54cb50._0x55dea9,-_0x54cb50._0x9d5f2e),execFileSync(_0x3a7618,_0x23f611,_0x520c9d);}catch{}}function rmIfExists(_0x63504f){if(!_0x3e4d20(_0x63504f))return;const _0x2907eb={};_0x2907eb['force']=!![],_0x4763ae(_0x63504f,_0x2907eb);}function isMissingCrontabError(_0x13b940){const _0x4dda8b={_0x48ac05:0x61d,_0x91dca6:0x32f,_0x206f0c:0x13d,_0x21f98d:0x3e4,_0x75c191:0x68a,_0x4b297f:0x72,_0x5cb984:0x6c6,_0x17ac5f:0x45f,_0x18e7ad:0x5e2,_0x16041f:0x6c,_0x55e514:0x91,_0x175827:0x35a,_0x54d603:0x601,_0x4fd296:0x636,_0xaea2b3:0x201,_0x3d387a:0x272,_0x5c9b41:0x27a},_0x41ee83={_0x272678:0x3df},_0x2904af={_0x4f55d4:0x1f9},_0x1986f1={};_0x1986f1['gakXJ']=_0x246628(0x8cb,_0x4dda8b._0x48ac05)+'ab\x20for';const _0x3b59e4=_0x1986f1;if(!(_0x13b940 instanceof Error))return![];const _0x4adc1e=_0x13b940[_0xce9e16(_0x4dda8b._0x91dca6,_0x4dda8b._0x206f0c)][_0xce9e16(_0x4dda8b._0x21f98d,0x35a)+'ase'](),_0x580afd=_0x13b940[_0x246628(_0x4dda8b._0x75c191,0x8a8)];function _0xce9e16(_0x1dc2e0,_0x2d34f9){return _0x3266d5(_0x1dc2e0,_0x2d34f9- -_0x2904af._0x4f55d4);}const _0x1967c4=typeof _0x580afd===_0xce9e16(_0x4dda8b._0x4b297f,0x17e)?_0x580afd[_0xce9e16(0x355,0x35a)+_0xce9e16(0xab,0x5e)]():Buffer[_0x246628(0x67f,_0x4dda8b._0x5cb984)](_0x580afd)?_0x580afd[_0x246628(_0x4dda8b._0x17ac5f,_0x4dda8b._0x18e7ad)](_0xce9e16(_0x4dda8b._0x16041f,-_0x4dda8b._0x55e514))[_0xce9e16(0x132,_0x4dda8b._0x175827)+_0x246628(_0x4dda8b._0x54d603,_0x4dda8b._0x4fd296)]():'';function _0x246628(_0x2a7fc0,_0x176b5b){return _0x3266d5(_0x2a7fc0,_0x176b5b-_0x41ee83._0x272678);}return _0x4adc1e['includes'](_0xce9e16(_0x4dda8b._0xaea2b3,0x45)+_0x246628(_0x4dda8b._0x3d387a,0x47e))||_0x1967c4['includes'](_0x3b59e4[_0xce9e16(0x102,_0x4dda8b._0x5c9b41)]);}function formatError(_0x328ce6){if(_0x328ce6 instanceof Error&&_0x328ce6['message'])return _0x328ce6['message'];return String(_0x328ce6);}import{randomBytes}from'crypto';import{existsSync as _0x1fa654,readFileSync as _0x593eae}from'fs';import{chmod,mkdir,readFile,rename,rm,writeFile}from'fs/promises';import{homedir as _0x3c82be}from'os';import{dirname as _0x5bba2e,join as _0x1d2c1b,resolve}from'path';var DEFAULT_GATEWAY_URL=_0x3266d5(0x12a,0x12b)+_0x3266d5(0x73f,0x4a2)+'8789',DEVICE_BOOTSTRAP_TOKEN_TTL_MS=0xa*0x3c*0x3e8,BOOTSTRAP_FILENAME=_0x3266d5(0x234,0x3a5)+'p.json',PAIRING_TOKEN_BYTES=0x20,withBootstrapLock=createAsyncLock();function resolveGatewayUrl(_0x201faf){const _0x53f55d={_0x59eeec:0x30d,_0x1a5acc:0x498,_0xa9c9b1:0x2f2,_0x4afe5f:0x112},_0x4b2839={_0x3f4cb0:0x122},_0x2d32f1={};_0x2d32f1[_0x925ec(0x49c,_0x53f55d._0x59eeec)]=function(_0x3476a2,_0x2d8e03){return _0x3476a2===_0x2d8e03;};const _0x5114ac=_0x2d32f1,_0x3f8a8e=_0x201faf?.['trim']();if(_0x3f8a8e)return _0x3f8a8e;function _0x925ec(_0x2e6eb7,_0x5901d8){return _0x3266d5(_0x5901d8,_0x2e6eb7-0x1c7);}const _0x7abd68=readOpenClawInfo();function _0x265061(_0x214943,_0x412add){return _0x3266d5(_0x412add,_0x214943- -_0x4b2839._0x3f4cb0);}if(_0x5114ac[_0x265061(0x1b3,0xef)](typeof _0x7abd68[_0x265061(0x430,_0x53f55d._0x1a5acc)+_0x925ec(0x30e,0x30d)],'number'))return _0x925ec(_0x53f55d._0xa9c9b1,0x3bf)+_0x265061(-0x20,_0x53f55d._0x4afe5f)+_0x7abd68[_0x925ec(0x719,0x950)+_0x265061(0x25,-0x1d1)];return DEFAULT_GATEWAY_URL;}function readOpenClawInfo(){const _0x556476={_0x8dbf7c:0x41,_0x3e46d2:0x2d4,_0x1e2e8e:0x2ce,_0xf0c615:0x2e9,_0x354890:0x2f2,_0x1c60d6:0x19a,_0x3c969a:0xac,_0x13186e:0x288,_0x3f109e:0x2cc,_0x59a200:0x12e,_0x38e73d:0x269,_0x54b3b3:0x156,_0x3251e5:0x252,_0x37f4ec:0x391,_0x4a59bd:0x1a1,_0x5d3206:0x108,_0xd5c9b:0x2b3,_0x1447d0:0x1c5,_0x299fbc:0xde},_0x497592={_0x2baaca:0x17};function _0x35096f(_0x567d65,_0x3fce7a){return _0x3266d5(_0x3fce7a,_0x567d65- -0x1d4);}function _0x292f70(_0x2f7d42,_0x5b11b8){return _0x3266d5(_0x5b11b8,_0x2f7d42- -_0x497592._0x2baaca);}const _0x15c745={'lIUHp':function(_0x452f97,_0x42d5ac){return _0x452f97(_0x42d5ac);},'MswUW':function(_0x19b793,_0x3b8358){return _0x19b793===_0x3b8358;},'qKoYs':_0x35096f(0x331,0xf9),'IPznc':function(_0x11750b){return _0x11750b();}},_0x4d9465=resolveOpenClawPaths();if(!_0x15c745[_0x35096f(0x215,-_0x556476._0x8dbf7c)](_0x1fa654,_0x4d9465[_0x292f70(_0x556476._0x3e46d2,_0x556476._0x1e2e8e)+'th']))return{'configFound':![],'gatewayPort':null,'authMode':null,'token':readGatewayTokenEnv(),'password':readGatewayPasswordEnv()};try{const _0x1d2be0=JSON['parse'](_0x593eae(_0x4d9465[_0x292f70(0x2d4,_0x556476._0xf0c615)+'th'],_0x35096f(-0x6c,0x94))),_0x203c2f=_0x1d2be0[_0x35096f(0xac,-0xc)]?.[_0x35096f(_0x556476._0x354890,0x2a0)],_0x451186=_0x15c745['MswUW'](typeof _0x203c2f,_0x15c745[_0x292f70(_0x556476._0x1c60d6,0x1f9)])&&Number[_0x292f70(0xad,0x289)+'r'](_0x203c2f)?_0x203c2f:null,_0x141dc9=_0x1d2be0[_0x35096f(_0x556476._0x3c969a,-0x94)]?.['auth']?.[_0x292f70(0x49a,0x70e)]===_0x292f70(_0x556476._0x13186e,0x452)||_0x1d2be0[_0x35096f(_0x556476._0x3c969a,_0x556476._0x3f109e)]?.[_0x292f70(0x75,-0x7c)]?.[_0x292f70(0x49a,0x226)]===_0x35096f(0x2b3,_0x556476._0x59a200)?_0x1d2be0[_0x292f70(_0x556476._0x38e73d,0xe0)][_0x292f70(0x75,0x37)]['mode']:null,_0x2fca13=readConfiguredSecret(_0x1d2be0[_0x292f70(0x269,_0x556476._0x54b3b3)]?.['auth']?.[_0x292f70(_0x556476._0x13186e,0xc4)])??readGatewayTokenEnv(),_0x1e54a4=_0x15c745['lIUHp'](readConfiguredSecret,_0x1d2be0[_0x35096f(_0x556476._0x3c969a,0x206)]?.['auth']?.[_0x292f70(0x470,0x3d0)])??readGatewayPasswordEnv(),_0x4f1f39={};return _0x4f1f39[_0x292f70(0x207,_0x556476._0x3251e5)+_0x292f70(0xde,-0xd1)]=!![],_0x4f1f39[_0x292f70(0x53b,_0x556476._0x37f4ec)+_0x292f70(0x130,_0x556476._0x4a59bd)]=_0x451186,_0x4f1f39[_0x35096f(_0x556476._0x5d3206,-0x17b)]=_0x141dc9,_0x4f1f39[_0x35096f(0xcb,0x240)]=_0x2fca13,_0x4f1f39[_0x35096f(_0x556476._0xd5c9b,0xd8)]=_0x1e54a4,_0x4f1f39;}catch{return{'configFound':!![],'gatewayPort':null,'authMode':null,'token':_0x15c745[_0x35096f(-_0x556476._0x1447d0,_0x556476._0x299fbc)](readGatewayTokenEnv),'password':readGatewayPasswordEnv()};}}function resolveGatewayAuth(){const _0x3e8b70={_0x4b7cb5:0x2d5,_0x4cac81:0x544,_0x14d1f9:0x326,_0x1886a0:0xbc,_0x2a1fa8:0xa2,_0x48d394:0x2f6,_0x22d393:0x227,_0x4a046a:0x47d,_0x1456ee:0x421,_0x1cb7a2:0x342,_0x2a1951:0x18d,_0x2ec027:0x22,_0x4f35c9:0x140,_0x231480:0x29e,_0x104acc:0xcb,_0x1bade8:0x62,_0x82a845:0x2e6,_0x1ccbb5:0x261,_0xd54739:0x33f,_0x558e61:0xad,_0x61fddd:0x21c,_0x560e22:0xe5,_0x220e0f:0x315,_0x2589b2:0x2d7,_0x15369e:0x57c,_0x420154:0x4bf,_0x7802de:0x59c,_0x4b84f4:0x2e,_0x130a7e:0x276},_0x22cc7c={_0x9b084c:0x211},_0x339dd6={'eAEET':function(_0x228c01){return _0x228c01();},'txjEy':function(_0x170f3d,_0x397efa){return _0x170f3d==_0x397efa;},'lvxPL':function(_0x272f23,_0x1badb8){return _0x272f23===_0x1badb8;},'IVQOC':_0x30f497(-0x72,0x8e)},_0x3a710e=_0x339dd6[_0x39006a(_0x3e8b70._0x4b7cb5,_0x3e8b70._0x4cac81)](readOpenClawInfo),_0x3bc830=_0x3a710e[_0x30f497(0x85,0x8e)],_0x1188fa=_0x3a710e[_0x39006a(_0x3e8b70._0x14d1f9,0x4bf)];if(_0x3bc830&&_0x1188fa&&_0x339dd6[_0x39006a(-_0x3e8b70._0x1886a0,0xe2)](_0x3a710e[_0x39006a(0x4ab,0x314)],null)){const _0x16d083={};return _0x16d083[_0x30f497(-_0x3e8b70._0x2a1fa8,0x8e)]=_0x3bc830,_0x16d083['password']=_0x1188fa,_0x16d083[_0x39006a(0x31e,_0x3e8b70._0x48d394)]=_0x39006a(_0x3e8b70._0x22d393,0x2d7),_0x16d083[_0x30f497(_0x3e8b70._0x4a046a,0x29a)]='OpenClaw'+'\x20has\x20bot'+_0x39006a(0x50b,0x502)+'y\x20token\x20'+_0x39006a(_0x3e8b70._0x1456ee,_0x3e8b70._0x1cb7a2)+'word\x20con'+_0x30f497(-0xd1,0xd4)+'\x20but\x20gat'+'eway.aut'+_0x39006a(0x11a,_0x3e8b70._0x2a1951)+_0x30f497(-0xd1,0x1cc)+_0x30f497(-_0x3e8b70._0x2ec027,_0x3e8b70._0x4f35c9)+_0x30f497(0x4ae,_0x3e8b70._0x231480)+'\x20token\x20o'+'r\x20passwo'+'rd\x20befor'+_0x39006a(0x526,0x47c)+'g.',_0x16d083;}if(_0x3a710e[_0x30f497(-0x14f,_0x3e8b70._0x104acc)]==='password'){const _0x61f26b={};return _0x61f26b[_0x39006a(_0x3e8b70._0x1bade8,0x2d7)]=null,_0x61f26b[_0x39006a(_0x3e8b70._0x82a845,0x4bf)]=null,_0x61f26b[_0x39006a(0x565,0x2f6)]=null,_0x1188fa?{'token':null,'password':_0x1188fa,'label':'password'}:_0x61f26b;}function _0x39006a(_0x5e0043,_0x50c750){return _0x3266d5(_0x5e0043,_0x50c750-0x38);}if(_0x339dd6['lvxPL'](_0x3a710e['authMode'],_0x339dd6[_0x30f497(_0x3e8b70._0x1ccbb5,-0x2f)])){const _0x164136={};return _0x164136[_0x39006a(_0x3e8b70._0xd54739,0x2d7)]=null,_0x164136['password']=null,_0x164136[_0x30f497(-0x1c7,_0x3e8b70._0x558e61)]=null,_0x3bc830?{'token':_0x3bc830,'password':null,'label':_0x39006a(_0x3e8b70._0x61fddd,0x2d7)}:_0x164136;}function _0x30f497(_0x215cef,_0x5fb19c){return _0x3266d5(_0x215cef,_0x5fb19c- -_0x22cc7c._0x9b084c);}if(_0x3bc830){const _0x29fff5={};return _0x29fff5['token']=_0x3bc830,_0x29fff5[_0x30f497(_0x3e8b70._0x560e22,0x276)]=null,_0x29fff5[_0x30f497(0x2a7,_0x3e8b70._0x558e61)]=_0x39006a(_0x3e8b70._0x220e0f,_0x3e8b70._0x2589b2),_0x29fff5;}if(_0x1188fa){const _0x32311d={};return _0x32311d[_0x39006a(0x5b,0x2d7)]=null,_0x32311d[_0x39006a(_0x3e8b70._0x15369e,_0x3e8b70._0x420154)]=_0x1188fa,_0x32311d[_0x30f497(0x205,0xad)]=_0x39006a(_0x3e8b70._0x7802de,_0x3e8b70._0x420154),_0x32311d;}const _0x38de3b={};return _0x38de3b['token']=null,_0x38de3b[_0x30f497(_0x3e8b70._0x4b84f4,_0x3e8b70._0x130a7e)]=null,_0x38de3b[_0x39006a(0xa9,_0x3e8b70._0x48d394)]=null,_0x38de3b;}function _0x1cc1(){const _0x8deb5e=['Bg8W','u21As1K','ohHrt0nfCq','zxDHEsa','B3vUDa','CYb1BNnLDc4','ugf0AdWVA2u','swq9','zuHvtKS','BgLUDxGTy3i','BM90igjLihm','lNnLCNzPy2u','zw1HBMqGzhi','cIaGpc9HCNi','igj1DcbZDg8','zwqGy29Kzt0','ugnTz0W','BeLvsha','zg9JDg9Y','BMCUieXLzNq','AwvUDeLK','u2vYDMLJzv0','B3qGzM91BMq','EsbruIbPBIa','icbLEgvJig4','CMvTB3rLsxa','zxrYEvrPBwu','z2f0zxDHEvu','CNvUlxjLz2K','vg9Rzw5gB3u','AwWGz2f0zxC','Ee5jsgW','BLrQs1K','CNvUBMLUzW','EwXOy2G','C3rVCciGzMK','ywnJzxnZq28','ywrK','ohWYFdv8nhW','DMjVEa','CgLK','z2f0zxDHEuG','r1nMtvG','BMCGy29UBMu','B2jZzxj2zum','C0fAy2S','B2S9zMfSC2u','ignVBMzPzYa','DwvZDcbYzxm','q3v2z0S','Bg9Nugf0Aa','Ag9ZDg5HBwu','CMvJDxjZAxy','CMvMCMvZAc0','ls1Syxn0ihy','AgfIBgu','zgzSyxjLigm','C2nYAxb0uge','DLrcu3O','Dw5HDMfPBge','ywrKCMvZCW','ls1NyxrLD2e','zxHJBhvKzva','y2XVC2u','CMvHy2HHyMW','FdL8mxWWFde','ifjLC3rHCNq','BwuGBM90igy','D3nZoG','C3vLzcbYzxe','s3fLwhe','y2XLyxjjBKy','yxrLza','id4MmG','uKW6ia','yxbWBguUy28','ywDLBNrZ','zxj2AwnLlMO','A2DWD3C','lMnSyxDRzxq','sLnKBha','yxrLD2f5t3a','ChzcvK8','Dd4kica8A2u','y2HHBgXLBMC','CMvXlq','cLr5Cgu9C2K','D2LUmZi','zw50CMLLCW','CxjjBwfNzva','r1HSzhi','rvvZzKS','CMfUzg9T','ihjLyxnVBJ0','EezHqwu','BMvJDgLUzW','y3jLyxrLv2u','zMLUza','BgvUz3rO','Axn0lteUmc4','nhWXnxW3Fdq','q1DfBhe','zxqGqNjPzgC','zgv0ywnOzwq','mJaW','lvrfuK0','A2LUz0rPCMu','CMvSyxLtzwm','zsbWywLYAw4','CYbTAxnZAw4','yuP6tvy','pd94BwWGDMu','yvvsy0S','w1vUAxrDcKq','z2uUANnVBG','qxrnCZ0','yNjPzgDLlwm','ugfZC3DVCMq','CgfPCMLUzYa','DgfZA2TPBgW','B3vUzcbMB3i','yxqG','sgLzAhK','DMLJzsbMB3i','BMzPzYbWyxq','u0nssvbux1a','jMfTCdS','CMvWBgfJzue','AxnZAw5Nx3i','tMfTztOG','y3qGAgfUzhm','zcbHigXVy2e','uMvXDwvZDfi','rMfPBgvKihq','Aw5Nr2f0zxC','tg9JywWGt3a','C2nVCgvZ','CMLUzYb3Axq','pL0GwY0TCMu','CKPsqKm','FdeWFdn8mtm','ignVBM5Ly3q','zxnJCMLWDgK','CNvU','zgLUzZ0Ivvq','ica8yxjYyxK','ywLUigf0igW','BgfZDe1Z','AguGyNjPzgC','igzHBgXIywm','Dg9Rzw4GAxm','C3rPBgWGCgu','lwPZB25D','rxjYB3iGtg8','C3rHCNrLzee','z2fRweO','igjYB3DZzxi','Aw5ZDc0','BcbNyxrLD2e','Dw5Kyxj5ihi','uMvZDgfYDgu','C2vUzfrVr2e','mNWZFdr8mxW','DxjS','zxHLy1bHDgG','AxbLEMq','tM8GBwf0y2G','BMD0Ad0','AgvHzgvYCW','uefjuKLor18','zxf1zxn0','vM9yCe4','u3rHCNrLzca','ChbLzc4GuMu','l3DZ','CgfZC3DVCMq','B3j0pL0GwY0','terNA2e','ChvZAa','Bgf1BMnOy3q','C2vHCMnO','AxngAw5PDgu','Axz3EgW','Bg9N','yxrLD2f5igK','zxnVBhzLza','BMv2veu','Eu9Wzw4','Esb0B2TLBIa','CM9JzxnZzxm','AYbPCYbHDMe','zgv2AwnLtMe','ChzNs20','y2XPzw50x2m','zwXHChnLzfm','ywLYic0TzM8','CgfPCIbYzxe','AxnhyxrLD2e','y29UzMLNoIa','Bgf3A2v0ihi','CfrVA2vU','whDjwKO','lJaUmc4XoJe','CNvUDgLTzs4','qNjPzgDL','zffMAwy','DxrVBwf0Awm','Aw52ywXPzf8','ktOGq2XVDwq','zxrYEurLBge','CM9TigeGzgK','zxjYB3i','Bg9ZAw5NigK','ywX1zxmGBgK','zMfTAwX5','ig1VzguGDg8','C2v0vgLTzw8','Bw9Kzq','y2XPzw50igq','DgfPBhmSig8','C2vYDMLJzva','yxv0AcbWyxq','twXvCxO','Dd4k','mti3lJaUmc4','v0jQwLy','CNvLlZ4kica','u3rHCNrPBMC','yxrLD2f5twu','Aw5JBhvKzxm','igzHAwXLzca','Ahzqzeq','ienSyxDRzxq','C2HPzNq','C0zVAK0','ExneAvi','B1zmEvG','ifSTlwzVCMm','Cg9YDa','rLzNrMG','BwvZC2fNzxm','C3rKzxjY','AcbNyxrLD2e','kcGOlISPkYK','EsbJAgvJAY4','zMLSDgvY','y29UBMvJDca','y29UDhjVBa','zxK+uNvUqxq','CMvXDwvZDa','seTdvvXtB2y','v2LUzg93C1W','DgfW','CgXHDgzVCM0','BgX3','iMnSyxDRzxq','zg9LCYbUB3q','AxmTywn0Axy','lY9OB3n0oNa','AxmGBg9JywW','AM9PBG','BMqU','ls1XCI1MAwW','CMLUzYbJB2q','s1PjyKm','CMvHzhLtDge','CMvJzw50','BfnUDe4','AgfUzgXLuMu','A3LQvwy','DxjSpL0GwY0','CMLKz2vdBgK','zxHPDa','z2vZ','zw5ZDxjLr2e','zguGAw4GDgG','AgfZ','zhrKiJ4kpha','y29Uy2f0','DhjPBuvUza','CMvMCMvZAgu','CNjVCKXVzW','AxnWBgf5tMe','nNW1FdH8mti','wevQAfy','D2XHBG','EMrgseW','ignSAsbZzxi','DwfQqxq','tg9NihbHDgG','uhrfrK8','tffxz0y','igHHBMrZAge','C3rVCa','sMnnBxm','zw1HBMq','y05gzgq','CMvSyxLtB2m','zxf1zxn0x2K','B2rLiciKu0m','CMfTCW','BNvTyMvY','iYbJBgf3A2u','vMHNEe4','s09Yvue','A2LSBa','zxjYB3jdB2q','uvf2u3q','zuffrvq','ls1QC29U','y3rVCNK9','uKvrvuLsruq','zxvLigjLzM8','l2fJy2vZCY0','CMvN','zxjZAw9Uxfi','su9PC1G','BYbKzxrLCM0','yMXLigr1CMK','y3jLyxrLzee','igf1DgHgAwu','CM9YoIa','C1PYAem','ihrVA2vUoIa','r3rLBwm','DgLTzwqGB3u','AxmGuviGy28','zg9JA2vY','CgvUzgLUz0C','zgvMyxvSDa','ihrVihnWzwm','C2GGzhjVCha','yxj0ienSyxC','mtb8mtn8mtC','phjLzgfJDgu','z2vYihrVihi','x0DbvevxqvK','D2LUzg93C0G','A2v0igfWCdO','t2nfrgm','zwrcEt1Kzwy','zxjLBNqGC2u','C2vHCMnOuge','qhjLyM9VDca','DgHLBG','zxDHEs5HDxq','uLLysKW','zxnO','zxjosxu','ig1LDgHVzd0','CuLKpq','l1bjra','Awz5igeGy3u','uNvUigbJBge','B25qzw5KAw4','DgvKoYbNyxq','wu9dyKS','ls1LCNjVCNm','D2f5uMvXDwu','CNnPB249iJe','zgfYD2LU','q29UzMLNrgK','DhLWzq','iI4GvxnLihy','B25iq00','yNjPzgDL','Axjjzva','CMvJB25Uzwm','BxvvBe0','B2zM','igLUDgvUDgK','ief1Dg9Tyxq','DvHdDgq','BgXDcLDHBNq','uxHvuvm','yxjNzxqkcLS','BNn0ywXSzwq','Agv4','z2f0zxDHEva','Dg9mB3DLCKm','yNiT','x1rps0vo','zLfMtgG','y2f0y2G','B0Dzs1y','BNqGDgHHDca','zMXHDe1HCa','zxDHEvf1zxu','BMC+','C25HChnOB3q','Aw5ZDgfUy2u','BgLZDcb2zxi','qvriiIbDoYa','AxjLza','zwqGyMfJA2C','qxv0BY1PBNm','Cc5Yzxf1zxm','Cc5LCNjVCG','Aw5LigeGtee','igf2ywLSywi','CLzJB1G','Bgf5twvZC2e','BguGzhjVCha','BgLUDxG','BgfZDfjLBge','B25Uzwn0zwq','DaPxyw50CZ0','Bgf5q29UDhi','zgLZy29UBMu','u2vYDMLJzsa','shHWDu8','iejYAwrNzsa','BM5pwey','BMvJDeHHBMq','C2LUzY4','mc4WlJaUma','y2XLyxjuAw0','BM9Uy2u','uviGAw1Hz2u','B25mB2C','igj1DcbNyxq','y0jWyxO','igDHDgv3yxK','x1bbu1nxt1i','lMfP','AxjPBMCU','CgfPCMvK','CMf3','ihn0B3aU','tK9ux1bbsvi','D2LUzg93CY0','C3rHCNqGDxi','tgLUDxGGC2u','Dgv3yxLnzxm','C2XPy2u','sw52ywXPzca','EvL2yNC','ls1Syxn0','q2XHD2TLDca','zcbHBMqGBM8','zgv2AwnLCW','svb6BMm','Bg9Hza','t0z5rhC','mtK5nePwB0fHta','tKP3s2e','rI04iJ8+cJW','DgvZDa','A2LUza','C3rYAw5NAwy','B249q2XHD2S','zw5JB2rPBMC','C3LZDgvTza','D3rQCvC','tg9NoIa','CgfYyw1Z','CMvZ','BIWGyw5Kihq','yxbWBhK','uNbbt2G','y2XPzw50q28','z2f0zxDHEvi','y29UzMLNrgK','v016rhy','C2rlvM4','BMvJDhm','zfvYBa','ls1SB2nHBa','CgfPCG','C2nOzwr1Bgu','zMzLCMvUDca','D2LMAq','l251BgWGmJ4','BwLZC2LUzW','CM91BMqGC2u','pGO8l2rPy3q','Cgf0Ag5HBwu','yxrO','B2X2zwqGCMu','jMD0oW','ignSAwvUDhm','tgHuqNO','Cgf5Bg9Hzc4','B3iGCgfZC3C','igLZihjLCxu','z2f0zxDHEvm','B2jQzwn0','zerLDMLJzxm','zhjVCfn0ywW','BgLLBNq','ihjLCxvLC3q','zgu9','zwL3uvq','B2nRzxq','zgvJAxnPB24','suTgDeK','y29UBMvJDa','y2HHBMDLzc4','B3iGDxnLige','zxHWAxjLC0e','z3jer3i','BK1JDwu','CI1MAwXLidW','mta0AhDQD2Ln','rxbfAKO','yxjNDG','y2XPzw50rgu','t0jAD3q','DM1Uzxq','CgvUzgLUz1a','zhzXAfi','ihrVDgfSpq','tgLICMfYEq','zxjYB3jmB2C','zwq9','Ahr0Chm6lY8','y29UzMLN','BIaIy2XHD2S','C3rHBgXHDgK','qvripsi','yxrLD2f5ihi','y1fmrgW','yxbWCM92zva','rgv0zwn0zwq','vuTxD1G','zevYCM9Ypwe','zxrcCMLKz2u','ChHcBNC','q2XLyxjLzca','C2nVCMu','sNr3yKS','Et5mywjLBdW','tw9IAwXLiem','y0Hbwvu','Dw5RBM93BG','C29U','A25ZtNi','zxHWB3j0ifa','Dg9Y','Dg9eyxrHvvi','Ag9ZDdPWB3i','B250ywi','BhjLywr5iha','C2L6zq','ugf0AdOG','ChjVDg9JB2W','u3rHCNrLza','y29UzMLNig4','cLnJyw4GDgG','CgfYC2u','qxrnCW','B2rL','DgvKihbSyxq','zt1WyxnZD28','B2S9Dhj1zq','z2vUzxjHDgu','ihrVihjLC3q','zxDHEvvYBa','yNjPzgDLlxm','zxHPDcaXmJC','wxveAMO','yxLnCW','CNrIzwf0','mM0SidfOlca','y29UC3rYDwm','Dw5Yzwy','yxv0Aa','Aw5ZDgfSBgu','D2fZig5VDca','q3vYCMvUDfy','BwLU','zsbdteKGC2m','C3LZDgvTzc0','DcbKB2vZig4','zcbZAw5JzuC','CxvLCNK','C3nHz2u9','zwzYzxnOzwq','A2TLCLK','AunAD0W','C2HHA2vZ','Bg9NCW','lY5VCgvUy2W','Ahr0CdOVlW','EKjfv2m','ywiGzM9Y','uMvTB3zLzca','DwvZDcbWzw4','u2vYDMvYifu','rM56r0u','y291BNq','qMfJA2DYB3u','zwnHDxnLigW','zM91BMq','B3nLzdOG','mti3AhLVD0Do','DhHQrxK','wKndCwy','y0XcAuC','yxDKBa','CNzPy2uGAw4','DxjSidX3CZO','DMLJzq','igrLDMLJzuK','BM90igLUC3q','ktOG','AK5iBuW','BM9VCa','t1LkvM8','vgHPCYbOB3m','C3rHCNq','m3WXFde0FdC','BI4GvxnLihK','q0Xbv0rct1q','t3HbueC','mci+cJXKAwm','DgfYDdOG','D2TLDcbKB2m','DxHrCvG','zMfSBgjHy2S','CLf1zxvLr2e','Euv3uwG','AxnjBNrLz2u','twnHDe0','B3vYignVBNq','ugfPCMLUzYa','BM90ihbHAxi','uen3ALi','yxj0','AwDUB3jL','C291CMnLq2W','zcbIywnRz3i','BMDqywLYuMu','C3rHBguGCxu','ig9YihbYB2m','ChvIBgLJs2u','zxDHEsbYzw0','yxKGCMvJB24','uMHWBuG','jMX0oW','B3bLBG','z2v0vgLTzq','q29UBMvJDeG','AgfUzhnOywS','C3rYEsbbueK','zxjYB3i6ia','AgvHCNrIzwe','tKnoEKi','Axn0CMf0Aw8','DMLJzsbYzxm','y29TBwfUzca','ywLYzwqGD2K','D3m6lY8','ruj3re4','ihrLEhq9','Aejwv3q','zgv0ywLSCW','Dw5hDfC','DcbHCha6cG','C2fNzq','lNbUzW','ywLUCYbUzwu','ig1HBMfNzxi','sciGCNvUic0','zgLZCgXHEu4','EwvZ','yMfJA2DYB3u','ienmssbZzxi','CM9Wzxj0EuW','C2fNzxmGyMu','DwvZDeLKpq','Dw5K','ndq3otzMrvbYtNq','EufJDgL2Axq','Cgf0AevUDG','ihnLCNzPy2u','BM9Uy2vqCMu','qwDeEge','CMvXDwLYzwq','BgLZDa','vK5oq2O','ChvZAfbLBMq','lIbsDw4GCge','shDIyuC','lJaUmc4XoG','C3rVCeHLyxi','vvjmoIa','qxjNDw1LBNq','DK12qva','rxPTvwO','D29YzcbJB24','C3rZ','uwnvBvK','ig5VBMnLuhi','zwqU','C2XVD1DHCM4','lZeYnY4WlJa','Dg90ywW','y2XVC2vhyxq','zwfZDcbVBMu','t3bLBKnSyxC','zNflCuG','zxqU','zsb5B3vYigm','ihjLCuLKpq','zgf0yq','l3yXl3bHAxi','ls11C2vY','B3bLBMnSyxC','uKvhx1nA','uLznswu','C2vUzeDHDgu','txvMtwO','y2XPzw50swq','ig1LzgLHoIa','BMv0D29YAYa','ugf0Aa','zM9Aue8','Aw5gBgLNAhq','BIbMywLSzwq','CgLUzW','lNbSAxn0','zsbYDw50Aw0','zeT5EuW','y29UBMvJDc4','D3m6lY8XmJC','AejdAKS','nZC4nuzyuMLvDq','tNzqrfq','C3rHCNrPBMC','CMLUzZ4','EsbYDw5UAw4','zhjVChbLzca','AdOG','B3rZDhjHCfi','r2f0zxDHEsa','lw5LDW','v2f2uwi','ihj1BNrPBwu','ChDsvgO','vw5ZDxbWB3i','yxv0AezPzwW','s0rqsMy','C2vYDMvYvxi','EgL5Cxi','CMvSyxKGzxi','lMPZB24','A2vtDgfYDgu','CgXHy2vD','pwfSD2f5CWO','DgLUzYbMB3i','B2TLBG','rKfdwxO','B3j0','suq6ia','B3bWzwqGDg8','B25tDgf0Dxm','zgfLBw9Ulxi','ig1VCMuGzgu','BwfPBG','Aw5Jzq','lwnSAq','CMvZCg9UC2u','lI4U','zg93BG','CgXHy2uIihq','ls1SAw5LCW','Ac5TB2rLigK','zxHPDenVzgu','B25Uzwn0sge','A2v5pKTLzxa','CMvSyxKGzgK','zwjVB3qU','BMvJDgvK','zw5nCZ0','ywn0Aw9U','uLHAz0y','ywrKugvUzgK','y29UDhjVBf8','ndi3nJu1z0zRvwTK','DgGG','CMvZAgvKlG','DhH1vhu','CxvLC3q','AxbZzwm','iurpq1rzueu','DxrMoa','uMvSyxLszwm','pg5VBMu+','zxzLBNq','Bwf4','ywXSzwq','zgvYia','Et4kica8Dhi','AcbMB3iGC2u','ru4IicjODhq','cGPBsw5ZDge','zg9yv1q','uND6u3O','BwfYA0rLDMK','pLn0yw5Kyxi','tfHJyM8','B2jZzxj2zuC','s0vKD2C','Bg9JywXhyxq','ywLYuMvXDwu','Bs9everZl1a','yLnVy2TLDa','icH0B2TLBIa','u3rYAw5N','CdOVl3D3DY4','t0LgyKy','igrLy2LZAw8','B3b0Aw9UCW','Et4kica8C3q','Dc1ICMLKz2u','BM9KzvbHDgG','ywnOywjSzsa','lM9Wzw5JBge','AM5wtvG','BMrHCMrpDxq','D3m6','DxnLCM5HBwu','zguGCNvUDgK','B250ywLUzxi','Aw5NpG','Fdj8mte','zMXHCMuGy2G','CIb1C2uGygm','C2nVCgvZig0','CMvYDw4GD2K','EgDNtMO','Dw50Aw1Lihm','AcbHigrPzMy','uxPOv1K','u0Lhvevstq','AevNuMy','y29Kzq','CYbHBhjLywq','m3WWFdv8mxW','BxbSzqPfEgu','BwfUzfn0yxi','EefAvK4','q29UzMLNoIa','C0f0','wwTYAMO','C3nHz2vZ','CgLWzq','lJe6mtG3odK','B24U','DhDHCMvCtwK','vNv1BuK','pGOGidXRzxK','z2f0zxDHEum','B3rZDhjHCca','vMvYC2LVBJO','pGO8l3bSAxm','w3n0yxr1C10','Aw5KzxHpzG','CuTVwxm','DgfPBhnJywW','Cgf0AdOG','BM5Ly3rLzca','Bg9NCYbMB3u','CNzPy2uGDg8','BsbNyxrLD2e','y29UBMvJDfi','C3rYEq','DgfSBgf0Aw8','A2v5CW','CMvSyxLvCMW','C29YDa','CMvNAxn0zxi','Es11CMW','CxjqyxLSB2e','sw5ZDgfUy2u','qxv0AcbTB2q','Axnoyu4','ugfPCMvKoIa','BMfTzq','DwvZDa','ANH1EvO','BgLUzxm','pL0GwY0Tzxi','DgfYDgvKige','vNjyEKC','AwDuvuW','y29UBMvJDeG','zuP4zvi','CMvZDgfYDa','zsbUzxCGCge','ihvYBd0','qLjSAwO','D29JAue','zxvLzcbNyxq','y29KzsbYzwy','CMvXDwvZDeK','wgvrDM8','ig1PC3nPBMC','yNjPzgDLihi','AxnZDwvKqxq','Dxn0ignVBNq','ihPLCM87igm','AMnWBfi','zxDHEq','y2uGD2fZigK','tuzcufK','zxqGyxbWoGO','svzrt0m','CNqGyxv0B20','yuTowwe','C2vYDMvY','zYbruI4','AxnTyxrJAa','phn0CMLUzZ4','zwqGka','C2nVBM5Ly3q','DMv0Aa','q29UzMLNrM8','Dw5PBNn0ywW','yMXVy2TLzca','zw50','zxqUyNjPzgC','DMvYlG','zgvK','uefusa','AxnszwXHEu8','zcbMB3iGzNi','Aw5N','ChbLBMq6','EuXtrhC','C2PTz2C','w2nSyxDRzxq','zxmUifjLC3q','AhvsA0W','vLvJtve','igvSyxbZzwq','Dw5SB2fK','uNLICfy','C2vYDMLJzu0','rvzNsfe','Dg9tDhjPBMC','veGIiciKu0m','igr1CgXPy2e','BMqGC2vYDMK','zevYCM9Yuge','AeHMqMO','t21dtwK','zxnZig1HBMe','zxf1zxn0CW','B2r5','AeH1sMS','y3jVC29MDfW','BM5Ly3qGyxq','zxrO','CNvUiIbTyw4','Dwnsv1u','m3WWFdr8mNW','mhW0Fdj8m3W','CMvZzxq','yw50ihrVigi','CxvLC3rDihi','ihjLz2LZDhi','CNvUDgLTzsa','EunVBNrYB2W','igvYCM9Ypq','zhKGCNvUBMK','zcbZzxj2Awm','y29UzMLNrM8','zwnVBM5Ly3q','y0nnCM8','C3bVBNnLigi','CMnnsNK','zxDHEsbTzxm','zgvfEhbPCMu','AhjoCLK','DMfPBgfIBgu','vNLKq3a','phvUA25VD24','Df9YzwXHEv8','zgLUz0DHDgu','ufL6Aw4','zgvZDhjVEq','ihzLCMLMAwm','ls1MB3jJzq','CMvWBgfJzq','BgKTzxjYB3i','zM9Yy2u','BvbetKC','phbHDgG+xsa','C3rHBguGAwq','tIbjucbHzgq','ywnRihrVia','Bg9JywW','qxjxu0G','v05UB28','CgvU','z2f0zxDHEsa','B3qGC3vWCg8','y3jVBNrHyG','BM8Gy3jVBNq','zcbKzwXHEu0','D2KTzMK','uxvPqLa','EhHpDxO','C3mGls11CMW','rLzgB2u','CxvLC3rjzd0','yxbWBgLJyxq','pLbYB2DYyw0','CM9U','BMrPBMCGCMu','yMfZzty0Dxi','sgPuu2S','Be1Z','yNjPzgDLlq','CMvSyxLbDhq','igzVCIbNyxq','DgHLienSyxC','yMLUyxj5','DwLYzwq','Dg9mB2nHBgu','AxmGC2fMzxq','ls1Zzxj2zxi','ANDQz0y','yxnL','C2v0','y2yTBwL0AwC','zgfYEvbLBMq','DgvZigfYzsa','t1bftKnmqvC','B3jKks4','iYeVyMLUl3m','Aw9Ul2PZB24','lw5HBwuGpgq','ue9tva','BM93','zw1WDa','Bu1fs08','vhPZswu','zgv2AwnLlNa','DxbKyxrLu24','yxnZAwDU','yxbZAg90','zxnLDciGyMu','r2vUzxjHDgu','Dgv3yxK','z0Ptugq','r2f0zxDHEvi','zxj2AwnLige','DgG8l2TLEt4','ywLYlMfWChi','ls1QC29Uxq','AgfRztSGCxu','AxnbCNjHEq','Bgf1BMnOzxi','wxn6A1e','ELjksvq','De1Z','DgvYpw5LDhC','z1HmBxC','yxr0zw1WDgu','zwXVywq','C3vJy2vLzgu','Aw5ZDgfSBa','ueHQz2S','z2f0zxDHEq','x0nptKzjr18','y0fctuq','CgPuDKS','ieLeoIa','zxnOignSAwu','C29Tzq','AwrLBNrPDhK','CuvrBuW','C3LZDgvTy3q','CZWVA2v5pGO','ls1YzxbSywm','Cgf0Ad5DifS','ywWGwY0TDxi','B3rOzxjuzxG','CMvSyxKGCMu','Aw5Qzwn0zwq','yw5Ktxm9','q2XHD2TLDei','zsbNyxrLD2e','y2vZuMvJzw4','ztOG','yLLqwhC','Dgv4Da','y2uGCMvNAxm','rw1WDhKGCMu','BNqGzgvTyw4','AguGq2XHD2S','DgfSBgvKigi','zxHWBgLJAxq','y2XLyxi','Dg9Rzw4','CMvXDwvZDgu','igf1DgGGAxm','Dd5DifSTlxe','ihrVA2vUigK','zwqGCMvXDwu','q0Xpu0ve','CMvJEwnSzsa','wY0TANnVBL0','ywX1zsaI','AvvUwgW','BxPQzKG','x1nuqvrfx0q','Aw5Ntg9Nz2u','ihjLBgf5pq','ywLYlNjLAMu','tgf1BMnOqwC','rML3uK4','igjPBMfYEt0','u2rMr2C','zxvLzcb1BNq','igTLChq9','DhjSk0mGDg8','CMvX','C2vYDMLJzuK','ywKUy2XHD2S','zxjYB3jdB3i','q2XP','z2uGCNvUDgK','DxnLCG','zxnLBNq9','BgfIzwW','yxrPyYbZDge','zMfPBgvK','zhjVChbLza','yxnZD29Yza','AxnJB25Uzwm','Cg9UzW','AxqU','z1zUr3y','B25Uzwn0Aw4','DgvKqxrnCW','A2v0','DNvUzwy','Bwv0Ag9K','ls1UB3C','CMvSyxKGy28','ihnPBMnLq2W','Bwf4ugf5Bg8','BgrZpq','DMLJzsbPBNm','Dw50Aw1LigK','B3zL','CMvZCY4Guge','vMzzuwW','s05VDeu','C2vYDMvYidW','B25Uzwn0','AgfUzgXLqM8','CMvJDgLVBKW','ywnJzxb0','yxv0Ae1Vzgu','igzYzxnOigq','C3rHCNrizwe','C0r6Exi','BM9Uy2vmzw4','zunJyvO','B25Jzq','Dgv3yxLdB24','C2vUza','zMLNDxjLzcW','y29KzsbBls0','AxncDwzMzxi','D2f5twvZC2e','uMvZDgfYDfm','ze5ND2u','y29UzMLNuge','ig9Yia','CMzmveC','CMvSyxLdB24','C3rKAw8','Axn0zxi','Ag9ZDa','ywLYlNjLC28','zgv2AwnLswq','rM91BMq','ANnVBG','Dg9YycbMB3i','r01kqLG','nta2mdu4wxfSEfHW','CMv0','C3rVBsbNyxq','CMvSyxKGyM8','yuzXsxe','vMzVueW','zgLZywjSzq','y2XHD2TLDca','Dw50','lxfYlwzPBgu','igfSC28GAgK','yxrLD2f5lxu','yxrLD2f5vxi','u2vYDMLJztO','Bg9Nu2XVD0m','zcbXDwv1zwq','ihrOzsbWywK','odi4ndq0r2LqzLjJ','yw5KihbHC3m','z2f0zxDHEvq','D3nZoI8V','z3rnr1u','r3zKv2W','Cgf5Bg9Hza','BwfW','jMfWB3m7','z1bWqwe','CM9Szq','BwfYz2LU','zNjVBq','lI4VCgfJA2e','D0DkAgy','Axjszxf1zxm','BgfZDevYCM8','lcbWDwjSAwm','Cgf0Aa','kYKRja','rxHWAxjLCZO','zM9YzsbWywK','BguGz2f0zxC','zsWGyw5Kihm','zxjYB3jnzxm','zgvMyxvSDeC','zxjZ','BgfZDfnLzw4','zM9YD2fYze8','DhjPBq','CgfPCIbBls0','rxjYB3iGBg8','BgfZDca8mM0','C3rHCNrZv2K','qxv0Ae1Vzgu','Bgf3A2v0iha','EsbWywLYAw4','C3rHDgveAxi','DhjHDgLVBI4','lJaIigvUy28','yxbWzw5KoG','mNWWFdf8m3W','C21HBgW','CgLKpsXHCMC','Bg9ZzujVDw4','BwvZC2fNzq','CM9YC10GwY0','C3rVChbLza','DMfSDwu','pc9ZDhjPBMC','sfv2qM4','rfH6zfC','ihbSAxn0ifa','CNzLCI4','zM9YzsbMBhu','DLHOvwu','BNqGq0Xjihi','BeHnC0y','BwLSEq','y2XHD2TLDc0','BwfYA1bHAxi','mJq3ndG2meHiBKrUzG','txm9','DcbWyxLSB2e','zMXVB3i','zw50CW','yMvAB3i','u0Lhsu5u','ALrfB1K','zsbJB3vSzca','z3Duy28','ugfPCIbYzwC','ifnLDcb0Agu','vxjS','z2v0','CNvUBMLUzZO','B2nHBcbBls0','B25SAw5LlNq','vLrzr1u','zgvSzxrL','C2vUDa','sK9xBMW','igvYCM9Yq28','zcbPCYbTAxm','Dw5ZDxbWB3i','BMrZAgfRzxm','ig5HBwu9','s0XougO','EuPTuhG','DgvKoYbJBg8','yMfZzty0','AxmGy3vZDg8','Eu1Z','icaGidXZDhi','AwXTzxe','zwXHEq','je5prevFuee','C2vYDMLJzq','ywnRz3jVDw4','zhnryMO','zw1HAw5Zig4','y2XVC2uGyM8','C3rHDgu','z2v0u25HChm','D1jVCfe','C2vfsu4','zxzLBa','y3rLzcbJB2q','D3DAswq','uuDWCKm','C3rYAw5N','A2uGmZbZlca','ihrYyw5ZAwu','zcbPCYbYzxe','AfLVsgO','C3rHDhvZ','zxqGAw5ZDge','DgHLihjLz2K','CxiTzMLSzsa','C3bSAxq','vgLPuhm','ChbW','zsbIywnRz3i','u2v5z0e','z2f0zxDHEuK','l3jVB3q','DNbU','yxbWCM92zwq','igHHCYbIB3q','zM9YBsbMB3i','DguGyNjPzgC','CMvQzwn0uge','t1bftG','q0vsr2G','DuroueS','y2HLzcbTB2q','Ag90','BgL1Bxu','C3bVBNnL','y2XVC2vKoIa','C3rHCNrLzca','Ee9ZCeK','y2XPzw50x2q','CMvNAxn0CNK','yxLnzxnZywC','EgXXtK4','DgjLyxq','cLn0yw5Kyxi','lxnLCNzPy2u','n3zezKfsuW','yw1L','uMrKufC','rvnHrLG','yxrLD2f5uMu','vvHVD3O','CNvUifSTlwC','yM9VDhn0CMe','igXVywqGDgG','C2vUzfjLBge','ver2yMu','BcbPCYbUB3q','sLrgtK0','mtq3nePJrfb5Bq','BM9stxC','Bwf0y2G','Dg9ju09tDhi','B3vUzcbZzxi','zYbWyxrOoIa','CM9SzsbPCYa','y29UBMvJDgu','uMvSyxKGvvi','ALbzDgi','C2fIDMS','rfb4A20','rKnJvvu','l2TLEt4kica','DgfYz2v0q2W','zwvKzwq','zcWGCNvUBMK','DM9lBvK','BhzLza','CMvXDwvZDca','uKLqvf9qqvq','ig5VBMnLtgu','txL3zhO','Bca8D3m6lY8','s1vdsu0','D2LKDgG','yxvSDc50yxi','A3z1Dhm','BMqGlxyGBM8','zgvUDgL0Esa','ihvUy2HHBMC','zuLKBgvhyxq','qKz5tKS','yw5KC2HHA2u','ihnJB3bL','s2v5lcbYB2W','iffsigLUihq','suHurxe','DfrPBwvY','CNn0lcbVCIa','nhWY','CMvQzwn0zwq','C2LVBJ0Ims4','C2LUzYbPzgW','ze91Dhb1Dd0'];_0x1cc1=function(){return _0x8deb5e;};return _0x1cc1();}function getOpenClawConfigDir(){const _0x226bdf={_0x199f59:0x449,_0x5d5c49:0x38c};function _0x5a1689(_0x3d4cd5,_0x364349){return _0x3266d5(_0x364349,_0x3d4cd5-0x425);}return resolveOpenClawPaths()[_0x5a1689(_0x226bdf._0x199f59,_0x226bdf._0x5d5c49)+'r'];}function getOpenClawStateDir(){const _0x4872be={_0xd0a93c:0x4b5},_0x543c91={_0xaa4e7c:0x279};function _0x41f1bb(_0x4f5669,_0xe4e1fe){return _0x26b3dd(_0xe4e1fe- -_0x543c91._0xaa4e7c,_0x4f5669);}return resolveOpenClawPaths()[_0x41f1bb(_0x4872be._0xd0a93c,0x545)];}function getOpenClawMediaDir(){return resolveOpenClawPaths()['mediaDir'];}function getOpenClawBootstrapPath(_0x88f091=getOpenClawStateDir()){const _0x18f88e={_0x2f467f:0x6fa,_0x1ddcca:0x4a0};function _0x2ca9ed(_0x51a69a,_0x2d7045){return _0x26b3dd(_0x51a69a-0xa8,_0x2d7045);}function _0x55d01b(_0x567ded,_0x260fd7){return _0x26b3dd(_0x567ded- -0xa2,_0x260fd7);}const _0x27f9db={};_0x27f9db[_0x55d01b(0x8e9,_0x18f88e._0x2f467f)]=_0x2ca9ed(0x546,_0x18f88e._0x1ddcca);const _0x20b5f4=_0x27f9db;return _0x1d2c1b(_0x88f091,_0x20b5f4['LQWgF'],BOOTSTRAP_FILENAME);}async function issueOpenClawBootstrapToken(_0x21dff9){const _0x1c09a2={_0x4cd1c6:0x1e3,_0x10fcc9:0x431,_0x2f2da1:0x71a,_0x3c094f:0x1ec,_0x492ca4:0x45e,_0x2c2c20:0x527,_0x37d9f0:0x3a9,_0x207618:0x464,_0x1a2200:0x5dc,_0x1fb412:0x7b0,_0x3a5e89:0x59e,_0x23e860:0x519},_0x504c1a={_0x25305c:0x6ef,_0x468778:0x741},_0x9bc417={_0x20a955:0x69},_0x1393f5={_0x3fc8fb:0x68f},_0x5809d2={_0x1da0fb:0x465},_0x1b38e0={'KZIbC':function(_0x530d9d){return _0x530d9d();},'akrkQ':function(_0x230f30,_0xab86be){return _0x230f30+_0xab86be;},'QzhWY':function(_0x2b01f2,_0x186a81){return _0x2b01f2(_0x186a81);},'jNHmL':_0xce24ec(_0x1c09a2._0x4cd1c6,_0x1c09a2._0x10fcc9)+_0x54936c(_0x1c09a2._0x2f2da1,0x77f)+_0x54936c(0x72d,0x833)+_0xce24ec(_0x1c09a2._0x3c094f,_0x1c09a2._0x492ca4)+'copes\x20ar'+'e\x20requir'+'ed'};function _0x54936c(_0x8f0f10,_0x555a84){return _0x3266d5(_0x8f0f10,_0x555a84-_0x5809d2._0x1da0fb);}const _0x2f7ed5=_0x21dff9[_0xce24ec(_0x1c09a2._0x2c2c20,0x431)][_0xce24ec(_0x1c09a2._0x37d9f0,_0x1c09a2._0x207618)]();function _0xce24ec(_0x4b78cc,_0x3411c4){return _0x3266d5(_0x4b78cc,_0x3411c4-0x13e);}const _0x4044b7=_0x21dff9[_0x54936c(_0x1c09a2._0x1a2200,0x536)+'y'][_0xce24ec(0x310,0x464)](),_0x4fd42e=_0x21dff9['role'][_0x54936c(0x6c9,0x78b)](),_0x29b452=_0x1b38e0[_0x54936c(_0x1c09a2._0x1fb412,0x5fd)](normalizeStringArray,_0x21dff9[_0xce24ec(0x6bb,_0x1c09a2._0x3a5e89)]);if(!_0x2f7ed5||!_0x4044b7||!_0x4fd42e||_0x29b452[_0xce24ec(0x35b,0x578)]===0x0)throw new Error(_0x1b38e0[_0x54936c(0x7ce,_0x1c09a2._0x23e860)]);return await withBootstrapLock(async()=>{const _0x5b2bed=_0x21dff9[_0x34925b(0x72a,_0x504c1a._0x25305c)]??getOpenClawStateDir();function _0x1db459(_0x4e8f95,_0x4c1b2d){return _0x54936c(_0x4e8f95,_0x4c1b2d- -_0x1393f5._0x3fc8fb);}const _0x5e4266=getOpenClawBootstrapPath(_0x5b2bed),_0x5b65ed=await loadBootstrapState(_0x5e4266);function _0x34925b(_0x1508b3,_0x132008){return _0x54936c(_0x132008,_0x1508b3- -_0x9bc417._0x20a955);}const _0x3701d0=_0x1b38e0[_0x34925b(0x8dc,_0x504c1a._0x468778)](generatePairingToken),_0x19398f=Date[_0x34925b(0x65e,0x564)]();return _0x5b65ed[_0x3701d0]={'token':_0x3701d0,'ts':_0x19398f,'deviceId':_0x2f7ed5,'publicKey':_0x4044b7,'roles':[_0x4fd42e],'scopes':_0x29b452,'issuedAtMs':_0x19398f},await writeJsonAtomic(_0x5e4266,_0x5b65ed),{'token':_0x3701d0,'expiresAtMs':_0x1b38e0['akrkQ'](_0x19398f,DEVICE_BOOTSTRAP_TOKEN_TTL_MS),'statePath':_0x5e4266};});}function readConfiguredSecret(_0x417fba){const _0x53fbe4={_0xa81c98:0x1be},_0x575d82={_0x1388e6:0x1b9};function _0x1792a2(_0x1c4a3e,_0x3c64e3){return _0x3266d5(_0x3c64e3,_0x1c4a3e- -_0x575d82._0x1388e6);}return typeof _0x417fba===_0x1792a2(_0x53fbe4._0xa81c98,0x2ad)&&_0x417fba['trim']()?_0x417fba['trim']():null;}function readGatewayTokenEnv(){const _0x5f2e38={_0x13e1c1:0x4c0,_0x1be5b4:0x5b7,_0x41d184:0x816},_0xb10c51={_0xceec5d:0x4f8};function _0x11b2f7(_0x21bcd9,_0x4636f6){return _0x26b3dd(_0x4636f6-0x19,_0x21bcd9);}function _0x15da33(_0x56f284,_0xdb8e1c){return _0x26b3dd(_0x56f284- -_0xb10c51._0xceec5d,_0xdb8e1c);}return readEnvValue('OPENCLAW'+_0x15da33(_0x5f2e38._0x13e1c1,0x59c)+_0x15da33(0x4ed,_0x5f2e38._0x1be5b4),'CLAWDBOT'+_0x15da33(_0x5f2e38._0x13e1c1,0x74c)+_0x11b2f7(_0x5f2e38._0x41d184,0x9fe));}function readGatewayPasswordEnv(){const _0x42b7cc={_0x406e10:0x698,_0x33faa2:0x1b4,_0x563942:0x2f9,_0x36db0d:0x621},_0x479940={_0x3d0b68:0x333};function _0x4cd1c0(_0x35fcef,_0x3df150){return _0x26b3dd(_0x35fcef- -_0x479940._0x3d0b68,_0x3df150);}function _0x537e59(_0x407165,_0x269ce5){return _0x26b3dd(_0x407165- -0x397,_0x269ce5);}return readEnvValue(_0x4cd1c0(0x3b9,0x499)+'_GATEWAY'+_0x537e59(0x678,_0x42b7cc._0x406e10)+'D',_0x537e59(_0x42b7cc._0x33faa2,_0x42b7cc._0x563942)+_0x537e59(_0x42b7cc._0x36db0d,0x682)+_0x4cd1c0(0x6dc,0x781)+'D');}function readEnvValue(_0x371ef4,_0x53086c){const _0xf7224a={_0x5a81cb:0x593},_0x3a3b09={_0x2e2d93:0x29f};function _0x40dc7e(_0x3424b9,_0x35d196){return _0x3266d5(_0x3424b9,_0x35d196-0x2ab);}const _0x11cdf5=process.env[_0x371ef4]?.[_0x148afe(0x62e,0x5c5)]();if(_0x11cdf5)return _0x11cdf5;function _0x148afe(_0x495971,_0xdd65ed){return _0x3266d5(_0x495971,_0xdd65ed-_0x3a3b09._0x2e2d93);}const _0x3a6ea5=process.env[_0x53086c]?.[_0x40dc7e(_0xf7224a._0x5a81cb,0x5d1)]();return _0x3a6ea5||null;}function resolveOpenClawPaths(){const _0x3ecdc1={_0x193783:0x1c2,_0x5c22ea:0x1a7},_0x4cded9={_0xbfcfd9:0x28};function _0x343301(_0x4ea83a,_0x48adbd){return _0x3266d5(_0x48adbd,_0x4ea83a-_0x4cded9._0xbfcfd9);}const _0x44910={'UKWwX':function(_0x4b1c2e){return _0x4b1c2e();},'hEgRf':function(_0x4237a0,_0x2ec083){return _0x4237a0(_0x2ec083);}},_0x187a38=_0x44910[_0x343301(0x8a,-0x14a)](resolveActiveOpenClawStateDir);function _0x3d9e75(_0x5e923a,_0x4d13bf){return _0x3266d5(_0x5e923a,_0x4d13bf- -0x36);}const _0x414674=_0x44910[_0x343301(_0x3ecdc1._0x193783,_0x3ecdc1._0x5c22ea)](resolveActiveOpenClawConfigPath,_0x187a38);return{'stateDir':_0x187a38,'configDir':_0x5bba2e(_0x414674),'configPath':_0x414674,'mediaDir':_0x1d2c1b(_0x187a38,'media')};}function resolveActiveOpenClawStateDir(){const _0x5cb94e={_0x246180:0x276,_0x184e86:0x8c,_0x1b92f3:0x29d,_0x411b6e:0x1cc,_0x1cb4ae:0x3d7},_0x219fbb={_0x1e05c6:0x6af};function _0x390405(_0x427e32,_0x1b0a0a){return _0x26b3dd(_0x1b0a0a- -_0x219fbb._0x1e05c6,_0x427e32);}const _0x541579={'VydCp':_0x516907(0x34c,_0x5cb94e._0x246180)+'_STATE_D'+'IR','qgjTt':function(_0x7a7627){return _0x7a7627();}};function _0x516907(_0x2bbc2d,_0x31cc7f){return _0x26b3dd(_0x2bbc2d- -0x1ff,_0x31cc7f);}const _0x4553f7=readEnvValue(_0x390405(0x77,0x3d)+_0x390405(-0x9d,_0x5cb94e._0x184e86)+'IR',_0x541579[_0x390405(-_0x5cb94e._0x1b92f3,0x8)]);if(_0x4553f7)return resolveUserPath(_0x4553f7);const _0x302984=_0x541579['qgjTt'](buildOpenClawStateDirCandidates),_0x96213a=_0x302984[_0x390405(_0x5cb94e._0x411b6e,0x21a)](_0x2d2557=>_0x1fa654(_0x1d2c1b(_0x2d2557,_0x516907(0x3ab,0x340)+'.json')));return _0x96213a??_0x302984[0x0]??_0x1d2c1b(_0x3c82be(),_0x516907(0x419,_0x5cb94e._0x1cb4ae)+'w');}function resolveActiveOpenClawConfigPath(_0x4a3429){const _0x47ee28={_0x2f6c88:0x64b,_0x500d71:0x70f,_0x3b4c4e:0x53f,_0x5c0561:0x70f},_0x4df707={_0x1df45d:0x48e},_0x3a4acb={_0x184450:0x132};function _0x578815(_0xcdc9c0,_0x5c5017){return _0x3266d5(_0xcdc9c0,_0x5c5017- -_0x3a4acb._0x184450);}function _0x57310b(_0x3e40d7,_0x59833d){return _0x3266d5(_0x3e40d7,_0x59833d-_0x4df707._0x1df45d);}const _0x181b4d=readEnvValue(_0x57310b(0x7dd,0x6ea)+_0x57310b(_0x47ee28._0x2f6c88,_0x47ee28._0x500d71)+_0x57310b(0x4ef,0x681),'CLAWDBOT'+_0x57310b(_0x47ee28._0x3b4c4e,_0x47ee28._0x5c0561)+'PATH');if(_0x181b4d)return resolveUserPath(_0x181b4d);return _0x1d2c1b(_0x4a3429,_0x578815(0x90,-0x18)+_0x57310b(0x455,0x5ce));}function buildOpenClawStateDirCandidates(){const _0x5e9352={_0x114f65:0x609,_0xdf9a3d:0x475,_0x1bb60f:0x4b5},_0x520133={_0x305082:0x3f6,_0x45cece:0x307,_0x2fb292:0x26f};function _0x1d44d6(_0x5650c7,_0x488903){return _0x26b3dd(_0x5650c7- -0x276,_0x488903);}function _0xf6bb79(_0x4e86c2,_0x232c65){return _0x26b3dd(_0x232c65- -0x4e8,_0x4e86c2);}const _0x1941de={'MWVhx':function(_0x19995a){return _0x19995a();}},_0x8fa8d=new Set();return[_0x1941de['MWVhx'](_0x3c82be),'/root'][_0x1d44d6(0x52a,_0x5e9352._0x114f65)](_0x30d636=>_0x30d636[_0xf6bb79(0x10a,0x2ce)]())[_0xf6bb79(0x720,_0x5e9352._0xdf9a3d)](Boolean)[_0xf6bb79(_0x5e9352._0x1bb60f,0x2b8)](_0x5a4874=>_0x1d2c1b(_0x5a4874,'.opencla'+'w'))['filter'](_0x1ecde8=>{const _0x262a5c={_0x4f857f:0x11d};function _0x5b5d76(_0x58e031,_0xfd4cc8){return _0xf6bb79(_0xfd4cc8,_0x58e031- -_0x262a5c._0x4f857f);}function _0x4eb51c(_0xa415d,_0x46ab69){return _0xf6bb79(_0x46ab69,_0xa415d- -0x9e);}if(_0x8fa8d[_0x4eb51c(_0x520133._0x305082,0x2b3)](_0x1ecde8))return![];return _0x8fa8d[_0x4eb51c(_0x520133._0x45cece,_0x520133._0x2fb292)](_0x1ecde8),!![];});}function resolveUserPath(_0x3f264c){const _0x498f7c={_0x586a33:0x34c,_0xce5a49:0x712,_0x1ecfca:0x76d},_0x2cb2d6={_0x2eb3a6:0x33e},_0x59559f={'xlqNN':function(_0x3982f3,_0x368cf1){return _0x3982f3===_0x368cf1;},'DPxkm':function(_0x55c218){return _0x55c218();},'dQfif':function(_0x6d8317,_0x72c7af){return _0x6d8317(_0x72c7af);}},_0x57af38=_0x3f264c[_0x570cc8(_0x498f7c._0x586a33,0xcd)]();if(!_0x57af38)return _0x57af38;function _0x570cc8(_0x3f426d,_0x21eb23){return _0x3266d5(_0x3f426d,_0x21eb23- -0x259);}if(_0x59559f[_0x288e34(0x6d8,0x6e2)](_0x57af38,'~'))return resolve(_0x59559f[_0x570cc8(0x62,0x15d)](_0x3c82be));function _0x288e34(_0x20abbb,_0x2ae768){return _0x3266d5(_0x2ae768,_0x20abbb-_0x2cb2d6._0x2eb3a6);}if(_0x57af38[_0x288e34(0x668,_0x498f7c._0xce5a49)+'th']('~/'))return _0x59559f[_0x288e34(0x7e3,_0x498f7c._0x1ecfca)](resolve,_0x1d2c1b(_0x3c82be(),_0x57af38['slice'](0x2)));return resolve(_0x57af38);}async function loadBootstrapState(_0x21ba8c){const _0xbfa9fe={_0x5d5ab6:0x2da,_0x3eb19d:0x347,_0x416584:0x688,_0x56e8fa:0x3fb,_0x47da06:0x5e6,_0x140870:0x509},_0x2f3064={'sjmgg':function(_0x1dedb9,_0x59ad35){return _0x1dedb9(_0x59ad35);},'pvBVO':function(_0x3d4a36,_0x5288ce){return _0x3d4a36!==_0x5288ce;}},_0x5bd5a3=await _0x2f3064[_0x5ac12e(_0xbfa9fe._0x5d5ab6,0x445)](readJsonFile,_0x21ba8c)??{},_0x4e8e52=Date[_0xd3db44(_0xbfa9fe._0x3eb19d,0x3b4)]();function _0xd3db44(_0x4e793d,_0x424f26){return _0x3266d5(_0x4e793d,_0x424f26-0x152);}function _0x5ac12e(_0x2e57e0,_0x3989a3){return _0x3266d5(_0x3989a3,_0x2e57e0-0xe1);}for(const [_0x5e7791,_0x277ebc]of Object['entries'](_0x5bd5a3)){if(!_0x277ebc||_0x2f3064[_0x5ac12e(0x50b,_0xbfa9fe._0x416584)](typeof _0x277ebc,'object')){delete _0x5bd5a3[_0x5e7791];continue;}typeof _0x277ebc['ts']!==_0xd3db44(_0xbfa9fe._0x56e8fa,0x657)&&typeof _0x277ebc['issuedAt'+'Ms']===_0x5ac12e(_0xbfa9fe._0x47da06,0x84c)&&(_0x277ebc['ts']=_0x277ebc[_0x5ac12e(0x2bb,_0xbfa9fe._0x140870)+'Ms']),_0x4e8e52-_0x277ebc['ts']>DEVICE_BOOTSTRAP_TOKEN_TTL_MS&&delete _0x5bd5a3[_0x5e7791];}return _0x5bd5a3;}async function readJsonFile(_0x276248){const _0x35419f={_0x198f9e:0x579,_0x30dd13:0x420,_0x44850c:0x2f7},_0x4a9518={'txuTu':function(_0x962899,_0x3c2f61,_0x37e3ae){return _0x962899(_0x3c2f61,_0x37e3ae);}};function _0x143da1(_0x33fa69,_0x4de26a){return _0x26b3dd(_0x33fa69- -0x1d8,_0x4de26a);}function _0x20e08a(_0x11aea3,_0x308b5b){return _0x26b3dd(_0x11aea3-0x81,_0x308b5b);}try{return JSON[_0x20e08a(0x58c,0x646)](await _0x4a9518[_0x143da1(0x41c,_0x35419f._0x198f9e)](readFile,_0x276248,_0x143da1(_0x35419f._0x30dd13,_0x35419f._0x44850c)));}catch{return null;}}async function writeJsonAtomic(_0x105c4b,_0x3f0577){const _0x401409={_0xe1a99a:0x3f7,_0x1e4a91:0x9fe,_0x20376d:0x3f9,_0x345879:0x4ef,_0x57d27c:0xa5d},_0x1f3723={'PEwJz':function(_0x7480e5){return _0x7480e5();}},_0x5566c5=JSON[_0x519041(0x189,_0x401409._0xe1a99a)+'y'](_0x3f0577,null,0x2),_0x294e92={};function _0x127fb5(_0x153a2a,_0x4f61d4){return _0x26b3dd(_0x153a2a-0x76,_0x4f61d4);}_0x294e92['recursiv'+'e']=!![],_0x294e92[_0x519041(_0x401409._0x1e4a91,0x891)]=0x1c0,await mkdir(_0x5bba2e(_0x105c4b),_0x294e92);const _0x37a266=_0x105c4b+'.'+_0x1f3723['PEwJz'](randomUUIDFragment)+'.tmp';function _0x519041(_0x45fea4,_0x5d7e63){return _0x26b3dd(_0x5d7e63- -0xb0,_0x45fea4);}try{const _0x5a29bb={};_0x5a29bb[_0x519041(0x5fa,_0x401409._0x20376d)]=_0x519041(0x2b6,0x548),_0x5a29bb['mode']=0x180,await writeFile(_0x37a266,_0x5566c5,_0x5a29bb),await safeChmod(_0x37a266,0x180),await rename(_0x37a266,_0x105c4b),await safeChmod(_0x105c4b,0x180);}finally{const _0x427024={};_0x427024[_0x127fb5(0x737,_0x401409._0x345879)]=!![],await rm(_0x37a266,_0x427024)[_0x127fb5(_0x401409._0x57d27c,0xa31)](()=>void 0x0);}}async function safeChmod(_0x3a7bb2,_0x20a4ce){try{await chmod(_0x3a7bb2,_0x20a4ce);}catch{}}function generatePairingToken(){const _0x56491c={_0x23d6e7:0x5ba,_0x5a9021:0x7c9,_0x32a9c5:0x790},_0x1433fc={_0x380d25:0x2b9},_0x5080c2={_0x2cb7b9:0x546};function _0x418443(_0x3ad9d9,_0x189642){return _0x3266d5(_0x3ad9d9,_0x189642-_0x5080c2._0x2cb7b9);}function _0x2c0219(_0x449d42,_0x42a850){return _0x3266d5(_0x42a850,_0x449d42-_0x1433fc._0x380d25);}return randomBytes(PAIRING_TOKEN_BYTES)[_0x2c0219(0x4bc,_0x56491c._0x23d6e7)](_0x418443(_0x56491c._0x5a9021,_0x56491c._0x32a9c5)+'l');}function normalizeStringArray(_0x32f479){const _0x8375e6={_0x3063ea:0x41d,_0x170ad5:0x6a7,_0x5d993d:0x229,_0x2f6c99:0x55e,_0x216233:0x11e,_0x10d7ad:0x38e,_0x1542f9:0xa2},_0x2553d2={_0x227153:0x3b5},_0x16449d={};_0x16449d[_0x20df5c(_0x8375e6._0x3063ea,_0x8375e6._0x170ad5)]=_0x20df5c(0x452,_0x8375e6._0x5d993d);function _0x43aae4(_0x3c9da7,_0x592164){return _0x26b3dd(_0x592164- -0x4ff,_0x3c9da7);}const _0x3d2ca1=_0x16449d,_0x4ca091=new Set();function _0x20df5c(_0x52ad86,_0x233b86){return _0x26b3dd(_0x52ad86- -_0x2553d2._0x227153,_0x233b86);}for(const _0x26fe4c of _0x32f479){const _0x75e802=typeof _0x26fe4c===_0x3d2ca1['lHMsF']?_0x26fe4c[_0x43aae4(_0x8375e6._0x2f6c99,0x2b7)]():'';_0x75e802&&_0x4ca091[_0x43aae4(_0x8375e6._0x216233,_0x8375e6._0x10d7ad)](_0x75e802);}return[..._0x4ca091][_0x43aae4(_0x8375e6._0x1542f9,0x14e)]();}function randomUUIDFragment(){const _0x3fc924={_0x28e469:0x3ea},_0x5a71f7={_0x1ed9e2:0x64d};function _0x3ea258(_0x2b1cd9,_0x4fedc6){return _0x26b3dd(_0x2b1cd9- -_0x5a71f7._0x1ed9e2,_0x4fedc6);}function _0x42e4b3(_0x53a8ea,_0x530131){return _0x26b3dd(_0x53a8ea- -0x686,_0x530131);}return randomBytes(0xc)[_0x3ea258(0x46,-0x1e7)](_0x3ea258(0x394,_0x3fc924._0x28e469));}function createAsyncLock(){let _0x4ecfb0=Promise['resolve']();return async function _0xe08285(_0x27c3b9){const _0x329633=_0x4ecfb0;let _0x3a4ba9;_0x4ecfb0=new Promise(_0x410323=>{_0x3a4ba9=_0x410323;}),await _0x329633;try{return await _0x27c3b9();}finally{_0x3a4ba9?.();}};}var CONTROL_PREFIX='__clawke'+_0x26b3dd(0x6b9,0x7c4)+_0x26b3dd(0x5f0,0x3a2)+'_:';function parseControl(_0x2b991d){const _0x57951a={_0x1e738e:0x62b,_0x473ddc:0x4b9,_0x2349d3:0x226,_0xdd3a9e:0x309,_0x434789:0x73b,_0x5a7169:0x13d,_0xa9eb8f:0xd9,_0x322fc1:0x678,_0x16907e:0x140,_0x224a46:0x87e,_0x69007b:0x9c3,_0x332aa0:0x5c1,_0x514368:0x98,_0x2534f9:0x34c,_0x8e14d9:0x3a5,_0xa33823:0x806,_0x32ddfa:0x81a,_0x1ace3d:0x1ca,_0x2aba1d:0x1c6,_0x230459:0x166,_0x26a7d3:0x13d,_0xdfedc8:0x1a8,_0x2f1ece:0x38f,_0x16d8d5:0x6ba,_0x14054c:0x59f,_0x46e313:0x6ed},_0xf78728={_0x5b6a7d:0x2e},_0x54535b={_0x436a0c:0x301},_0x3a6510={'cBpaz':function(_0x5f5964,_0x2996ed){return _0x5f5964(_0x2996ed);},'nMcue':function(_0x2edb55,_0x4eaf0f){return _0x2edb55===_0x4eaf0f;}};function _0x16bbfd(_0x1c504b,_0x1aeaad){return _0x3266d5(_0x1aeaad,_0x1c504b-_0x54535b._0x436a0c);}if(!_0x2b991d[_0x16bbfd(_0x57951a._0x1e738e,_0x57951a._0x473ddc)+'th'](CONTROL_PREFIX))return null;function _0x55fefd(_0x2ab538,_0x2913db){return _0x3266d5(_0x2913db,_0x2ab538- -_0xf78728._0x5b6a7d);}try{const _0x47d9b9=JSON[_0x16bbfd(0x37c,_0x57951a._0x2349d3)](_0x2b991d[_0x16bbfd(_0x57951a._0xdd3a9e,0x3db)](CONTROL_PREFIX[_0x16bbfd(_0x57951a._0x434789,0x863)]));if(typeof _0x47d9b9[_0x55fefd(_0x57951a._0x5a7169,-_0x57951a._0xa9eb8f)]!==_0x16bbfd(_0x57951a._0x322fc1,0x758)||!_0x47d9b9[_0x55fefd(0x13d,-_0x57951a._0x16907e)][_0x55fefd(0x2f8,0x230)]())return null;const _0x1b9703=_0x3a6510[_0x16bbfd(_0x57951a._0x224a46,_0x57951a._0x69007b)](isRecord,_0x47d9b9[_0x16bbfd(0x610,_0x57951a._0x332aa0)])?_0x47d9b9[_0x55fefd(0x2e1,_0x57951a._0x514368)]:void 0x0,_0x2bf64c=_0x3a6510[_0x16bbfd(_0x57951a._0x2534f9,0x217)](typeof _0x47d9b9[_0x16bbfd(_0x57951a._0x8e14d9,0x460)],_0x16bbfd(_0x57951a._0xa33823,_0x57951a._0x32ddfa))&&Number[_0x55fefd(0x45f,_0x57951a._0x1ace3d)](_0x47d9b9[_0x55fefd(0x76,0x18f)])?_0x47d9b9[_0x16bbfd(_0x57951a._0x8e14d9,_0x57951a._0x2aba1d)]:typeof _0x1b9703?.['count']===_0x16bbfd(_0x57951a._0xa33823,0x9e7)&&Number['isFinite'](_0x1b9703[_0x16bbfd(0x3a5,0x199)])?_0x1b9703[_0x55fefd(0x76,-_0x57951a._0x230459)]:void 0x0;return{'event':_0x47d9b9[_0x55fefd(_0x57951a._0x26a7d3,0x182)]['trim'](),'requestId':readOptionalString(_0x47d9b9[_0x55fefd(_0x57951a._0xdfedc8,_0x57951a._0x2f1ece)+'d']),'payload':_0x1b9703,'sourceClientId':readOptionalString(_0x47d9b9[_0x16bbfd(0x3cd,0x2e2)+'ientId']),'targetClientId':readOptionalString(_0x47d9b9[_0x16bbfd(_0x57951a._0x16d8d5,_0x57951a._0x14054c)+_0x16bbfd(_0x57951a._0x46e313,0x890)]),'count':_0x2bf64c};}catch{return null;}}function parseConnectStartIdentity(_0x444369){const _0x1be77e={_0x5e8a81:0x101,_0x5cb201:0x129,_0x2ccf02:0x210,_0x125e87:0xd,_0x5c3172:0xa5,_0x374f36:0x101,_0x10b35c:0x121,_0x21fb79:0x721,_0x3df9cf:0x9b4,_0x29ef59:0x721,_0x2e1673:0x828,_0x28cc84:0x371,_0x4a6056:0x1de,_0xcde360:0x892,_0x53d281:0x659,_0x4a4cef:0x9d,_0x31b8ff:0x217,_0x575b93:0xbc,_0x1bc8be:0x68},_0x584efa={_0x462e41:0x6e6},_0x498bff={};_0x498bff[_0x53f2a5(-0x163,_0x1be77e._0x5e8a81)]=function(_0x57f5d0,_0x159887){return _0x57f5d0===_0x159887;};function _0xaeb8bf(_0x3db305,_0x439527){return _0x26b3dd(_0x3db305- -0x95,_0x439527);}function _0x53f2a5(_0x569af6,_0x553c6e){return _0x26b3dd(_0x553c6e- -_0x584efa._0x462e41,_0x569af6);}const _0x326413=_0x498bff;try{const _0xab2df5=JSON[_0x53f2a5(-0x447,-0x1db)](_0x444369);if(_0xab2df5[_0x53f2a5(0x1d5,0x2ec)]!=='req')return null;if(_0xab2df5[_0x53f2a5(_0x1be77e._0x5cb201,0x75)]!==_0x53f2a5(-0x3c2,-_0x1be77e._0x2ccf02)&&_0xab2df5['method']!==_0x53f2a5(_0x1be77e._0x125e87,-0x12c)+_0x53f2a5(-0x16,-0x19e))return null;const _0x329b11=_0xab2df5['params']??{},_0x533ba3=_0x326413[_0x53f2a5(-_0x1be77e._0x5c3172,_0x1be77e._0x374f36)](typeof _0xab2df5['id'],_0x53f2a5(0x23c,_0x1be77e._0x10b35c))&&_0xab2df5['id'][_0xaeb8bf(_0x1be77e._0x21fb79,_0x1be77e._0x3df9cf)]()?_0xab2df5['id'][_0xaeb8bf(_0x1be77e._0x29ef59,0x50e)]():_0xaeb8bf(_0x1be77e._0x2e1673,0xa1e)+Math[_0x53f2a5(_0x1be77e._0x28cc84,_0x1be77e._0x4a6056)]()['toString'](0x24)[_0x53f2a5(-0x1b1,-0x24e)](0x2,0xc),_0x26b3ff=firstString(_0x329b11[_0xaeb8bf(_0x1be77e._0xcde360,_0x1be77e._0x53d281)+'me'],_0x329b11['clientNa'+'me'],_0x329b11[_0x53f2a5(0x106,_0x1be77e._0x4a4cef)],_0x53f2a5(-0x7f,-0x1ec)+_0x53f2a5(-0x2d3,-_0x1be77e._0x31b8ff)),_0x5bc317={};return _0x5bc317['id']=_0x533ba3,_0x5bc317[_0x53f2a5(_0x1be77e._0x575b93,_0x1be77e._0x1bc8be)]=_0x26b3ff,_0x5bc317;}catch{return null;}}function isConnectHandshakeRequest(_0x420556){const _0xc89424={_0x620338:0x20d,_0x512c8f:0x3b8,_0x3acd91:0x28c,_0x54fb59:0x410,_0x4e3727:0x19b,_0x1136d7:0x33a,_0x4d9d16:0x38e,_0x3a55d6:0x786,_0x3ce646:0x5bd},_0x2d9c04={_0x5778fe:0x38e},_0x2d88f6={};_0x2d88f6['BFyNK']=_0x220f42(_0xc89424._0x620338,_0xc89424._0x512c8f);function _0x220f42(_0x489e2b,_0x127dd2){return _0x26b3dd(_0x127dd2- -_0x2d9c04._0x5778fe,_0x489e2b);}_0x2d88f6[_0x220f42(_0xc89424._0x3acd91,_0xc89424._0x54fb59)]=function(_0x2f0435,_0x146d1a){return _0x2f0435===_0x146d1a;};function _0x2d7d21(_0x40d63e,_0x2d533b){return _0x26b3dd(_0x2d533b- -0x10b,_0x40d63e);}_0x2d88f6[_0x220f42(_0xc89424._0x4e3727,_0xc89424._0x1136d7)]=_0x220f42(0x126,0x22c)+_0x220f42(0x3b,0x1ba);const _0x4336a4=_0x2d88f6;try{const _0x513adf=JSON['parse'](_0x420556);return _0x513adf['type']===_0x4336a4[_0x220f42(_0xc89424._0x4d9d16,0x4cd)]&&(_0x513adf['method']===_0x2d7d21(0x1bd,0x3cb)||_0x4336a4[_0x220f42(0x570,0x410)](_0x513adf[_0x220f42(0x581,0x3cd)],_0x4336a4[_0x2d7d21(_0xc89424._0x3a55d6,_0xc89424._0x3ce646)]));}catch{return![];}}function parseConnectHandshakeMeta(_0x3cad4a){const _0x38ed85={_0x71bdd4:0x142,_0x1de880:0x44c,_0x44ec6a:0x1e7,_0x41db84:0xee,_0x65cf88:0x345,_0x19ec31:0x49,_0x123cb4:0x5d2,_0x581166:0x284,_0x2c308c:0x26f,_0x2bc662:0x142,_0xa9f6d1:0x2f6,_0x390b29:0x263,_0xdad8a6:0x4ae,_0x125e1e:0x345,_0x333b88:0x4fb,_0x500422:0x2f4,_0x56485d:0x299,_0x2e450b:0x24a,_0x308b74:0x4f5,_0x44b78c:0x280,_0x3d78e6:0x4e4,_0x2e5a43:0x4b8,_0x12cc9a:0x68,_0x52d43b:0x5b,_0x15bc86:0xf2},_0x28b9a1={_0x54e969:0x32},_0x3cfd40={};function _0x22bf4e(_0x17c0c2,_0xff5e58){return _0x3266d5(_0xff5e58,_0x17c0c2- -_0x28b9a1._0x54e969);}_0x3cfd40[_0x59879c(_0x38ed85._0x71bdd4,0x146)]=function(_0xa232c3,_0x14e89c){return _0xa232c3!==_0x14e89c;},_0x3cfd40[_0x59879c(0x2f6,_0x38ed85._0x1de880)]=function(_0x1bfecf,_0x50744d){return _0x1bfecf!==_0x50744d;},_0x3cfd40[_0x59879c(_0x38ed85._0x44ec6a,_0x38ed85._0x41db84)]=_0x22bf4e(_0x38ed85._0x65cf88,0x259);function _0x59879c(_0x1aa3b9,_0x1634a8){return _0x3266d5(_0x1634a8,_0x1aa3b9- -0xcb);}_0x3cfd40[_0x22bf4e(-0x1f,-0x52)]='object';const _0x4d6c07=_0x3cfd40;try{const _0x4829a6=JSON[_0x22bf4e(_0x38ed85._0x19ec31,0x141)](_0x3cad4a);if(_0x4829a6[_0x22bf4e(0x510,_0x38ed85._0x123cb4)]!==_0x22bf4e(_0x38ed85._0x581166,_0x38ed85._0x2c308c))return null;if(_0x4d6c07[_0x59879c(_0x38ed85._0x2bc662,0x2)](_0x4829a6['method'],'connect')&&_0x4d6c07[_0x59879c(_0x38ed85._0xa9f6d1,0x417)](_0x4829a6[_0x59879c(0x200,_0x38ed85._0x390b29)],'connect.'+'start'))return null;const _0xcf235a=_0x4829a6[_0x22bf4e(-0x15,0x13b)]?.['device']?.[_0x59879c(_0x38ed85._0xdad8a6,0x720)],_0x3f1cc5=_0x4829a6[_0x59879c(-0xae,-0x31f)]?.[_0x59879c(-0x3f,-0x1f1)];return{'id':typeof _0x4829a6['id']===_0x22bf4e(_0x38ed85._0x125e1e,_0x38ed85._0x333b88)&&_0x4829a6['id'][_0x22bf4e(_0x38ed85._0x500422,0x3fb)]()?_0x4829a6['id']['trim']():null,'method':_0x4829a6[_0x22bf4e(_0x38ed85._0x56485d,_0x38ed85._0x2e450b)],'noncePresent':typeof _0xcf235a===_0x59879c(0x2ac,_0x38ed85._0x308b74)&&_0xcf235a[_0x59879c(0x36f,0x3b1)]>0x0,'nonceLength':typeof _0xcf235a===_0x4d6c07[_0x22bf4e(_0x38ed85._0x44b78c,_0x38ed85._0x3d78e6)]?_0xcf235a[_0x59879c(0x36f,_0x38ed85._0x2e5a43)]:null,'authFields':_0x3f1cc5&&typeof _0x3f1cc5===_0x4d6c07[_0x22bf4e(-0x1f,-_0x38ed85._0x12cc9a)]?Object[_0x22bf4e(0x189,_0x38ed85._0x52d43b)](_0x3f1cc5)[_0x59879c(_0x38ed85._0x15bc86,0x13f)]():[]};}catch{return null;}}function parsePairingRequestFromError(_0x34a142,_0x4391a6=Date[_0x3266d5(0x1ea,0x262)]()){const _0x29972d={_0x204532:0x7ed,_0x4d4015:0x853,_0xbd6a49:0x6e9,_0x427a7f:0x9c4,_0x34b731:0x89d,_0x3961e8:0x7c5,_0x385b23:0xa78,_0x15af6b:0xd29,_0x108231:0x56e,_0xbfbd5a:0x92c,_0x29af34:0x7ed,_0x8999e3:0x5e6,_0x556303:0x581,_0x5d623f:0x853,_0x230d36:0xaf4,_0x14f228:0x864,_0x35f676:0x731,_0x43c230:0x548,_0x14d5a0:0x877,_0x3040d3:0x743,_0x5e2e0a:0x8c9,_0x342227:0xa2b,_0x4efbdb:0x877,_0x2bb347:0x697,_0x54b89f:0x808,_0x3b026b:0x61e,_0x57020d:0x5ef,_0x2ef02b:0x5d9,_0x35c053:0x4cc,_0xaf0e3e:0x865,_0x1ef9ee:0x683,_0x1a8ec8:0x4d1,_0x146790:0x590,_0xebe0a:0x7a2,_0x5f4664:0x91b,_0x70d4c6:0x836,_0x31ef72:0x806,_0x9469cd:0x8e4},_0x2e64bb={_0x176bfb:0x3ba},_0x2a48d0={_0x5944c2:0x4f3},_0x7edc40={};function _0x469856(_0x5191bd,_0x1649ab){return _0x3266d5(_0x1649ab,_0x5191bd-_0x2a48d0._0x5944c2);}function _0x35eb14(_0x4c244d,_0x3f6674){return _0x3266d5(_0x3f6674,_0x4c244d-_0x2e64bb._0x176bfb);}_0x7edc40[_0x35eb14(_0x29972d._0x204532,0x6a1)]=_0x35eb14(0x3d8,0x2e6),_0x7edc40[_0x469856(_0x29972d._0x4d4015,_0x29972d._0xbd6a49)]=function(_0x2872e3,_0x2f84f9){return _0x2872e3===_0x2f84f9;},_0x7edc40[_0x469856(0x6ba,0x7ba)]=_0x469856(0x86a,_0x29972d._0x427a7f),_0x7edc40[_0x35eb14(_0x29972d._0x34b731,_0x29972d._0x3961e8)]=_0x469856(_0x29972d._0x385b23,_0x29972d._0x15af6b)+'ED';const _0x23f9db=_0x7edc40;try{const _0x2059a6=JSON[_0x469856(_0x29972d._0x108231,0x3de)](_0x34a142);if(_0x2059a6[_0x469856(0xa35,_0x29972d._0xbfbd5a)]!==_0x23f9db[_0x35eb14(_0x29972d._0x29af34,0x5f4)]||_0x2059a6['ok']!==![]||!_0x2059a6['error'])return null;const _0x4632a4=_0x23f9db['KLNPj'](typeof _0x2059a6[_0x35eb14(0x865,_0x29972d._0x8999e3)]['code'],_0x23f9db[_0x35eb14(_0x29972d._0x556303,0x824)])?_0x2059a6[_0x35eb14(0x865,0x6ab)][_0x35eb14(0x555,0x721)]:'',_0x5d899d=_0x23f9db[_0x469856(_0x29972d._0x5d623f,_0x29972d._0x230d36)](typeof _0x2059a6[_0x35eb14(0x865,0x98e)][_0x469856(0x829,_0x29972d._0x14f228)],_0x35eb14(_0x29972d._0x35f676,_0x29972d._0x43c230))?_0x2059a6['error']['message']:'';if(!_0x4632a4[_0x35eb14(0x877,0xa12)](_0x23f9db[_0x469856(0x9d6,0x9a9)])&&!_0x4632a4[_0x35eb14(_0x29972d._0x14d5a0,_0x29972d._0x3040d3)](_0x35eb14(0x83b,0x8aa)+_0x35eb14(_0x29972d._0x5e2e0a,_0x29972d._0x342227))&&!_0x5d899d[_0x35eb14(_0x29972d._0x4efbdb,_0x29972d._0x2bb347)]('NOT_PAIR'+'ED')&&!_0x5d899d[_0x35eb14(0x877,0x773)](_0x35eb14(_0x29972d._0x54b89f,_0x29972d._0x3b026b)+_0x469856(_0x29972d._0x57020d,0x886)))return null;const _0x3a9992=_0x2059a6['error'][_0x469856(_0x29972d._0x2ef02b,_0x29972d._0x35c053)]??_0x2059a6[_0x35eb14(_0x29972d._0xaf0e3e,_0x29972d._0x1ef9ee)][_0x35eb14(_0x29972d._0x1a8ec8,0x2e7)]??{},_0x230a90=firstString(_0x3a9992[_0x35eb14(_0x29972d._0x146790,_0x29972d._0xebe0a)+'d'],extractRequestIdFromMessage(_0x5d899d),'unknown');return{'requestId':_0x230a90,'deviceId':firstString(_0x3a9992['deviceId'],''),'displayName':firstNullableString(_0x3a9992['displayN'+_0x35eb14(0x759,_0x29972d._0x5f4664)]),'platform':firstNullableString(_0x3a9992['platform']),'deviceFamily':firstNullableString(_0x3a9992['deviceFa'+_0x469856(_0x29972d._0x70d4c6,0x889)]),'role':firstNullableString(_0x3a9992[_0x469856(_0x29972d._0x31ef72,0x74f)]),'remoteIp':firstNullableString(_0x3a9992[_0x469856(_0x29972d._0x9469cd,0x7f9)]),'receivedAtMs':_0x4391a6,'status':'pending'};}catch{return null;}}function parsePairResolvedEvent(_0x4cdd90){const _0x400112={_0x437467:0x108,_0x23749c:0x3ad,_0x4149cd:0x5ea,_0xdd75b5:0x591,_0x32c152:0x4fa,_0x505fd4:0x3dc,_0x19b01d:0x589,_0x12fb54:0xcf,_0xec5367:0x18e,_0x5bc7d3:0x8ef,_0x446fe5:0x72e,_0x393252:0x83c,_0x19e515:0x16a,_0x2b3f0c:0x8c6,_0x4b3e86:0x184,_0x43d3c1:0xfe,_0x64662b:0x53,_0x85585c:0xa65,_0x10cadd:0x191,_0x27aa4e:0x346,_0x159893:0x94,_0x4430c6:0xd5,_0x104a80:0x6c,_0x2f1e1d:0x807,_0x425678:0x5f2,_0x4424e9:0x5ef,_0x12a87d:0xfe},_0x43a314={};_0x43a314[_0x180bdd(_0x400112._0x437467,0x329)]=_0xe42bda(_0x400112._0x23749c,_0x400112._0x4149cd);function _0xe42bda(_0x113a1e,_0x3dfc99){return _0x3266d5(_0x113a1e,_0x3dfc99-0x47f);}_0x43a314['QcUmY']=function(_0x57a1f9,_0x17c3ad){return _0x57a1f9!==_0x17c3ad;},_0x43a314['ivwxl']=function(_0x32e37c,_0x5a62cd){return _0x32e37c===_0x5a62cd;};const _0x55ec07=_0x43a314;function _0x180bdd(_0x124739,_0x521a43){return _0x3266d5(_0x521a43,_0x124739- -0xd8);}try{const _0x44159c=JSON[_0xe42bda(_0x400112._0xdd75b5,_0x400112._0x32c152)](_0x4cdd90);if(_0x44159c['type']!==_0x55ec07['MFBPY']||_0x55ec07[_0xe42bda(_0x400112._0x505fd4,_0x400112._0x19b01d)](_0x44159c[_0x180bdd(0x93,_0x400112._0x12fb54)],_0x180bdd(_0x400112._0xec5367,0xb1)+_0xe42bda(_0x400112._0x5bc7d3,0x771)+_0xe42bda(_0x400112._0x446fe5,_0x400112._0x393252))||!_0x44159c[_0x180bdd(0x237,_0x400112._0x19e515)])return null;const _0x33a892=_0x55ec07[_0xe42bda(0x702,0x90d)](typeof _0x44159c[_0xe42bda(_0x400112._0x2b3f0c,0x78e)]['requestI'+'d'],'string')?_0x44159c[_0x180bdd(0x237,_0x400112._0x4b3e86)][_0x180bdd(_0x400112._0x43d3c1,_0x400112._0x64662b)+'d'][_0xe42bda(_0x400112._0x85585c,0x7a5)]():'';if(!_0x33a892)return null;const _0x5c122b=typeof _0x44159c[_0xe42bda(0x9ce,0x78e)]['decision']===_0x180bdd(0x29f,_0x400112._0x10cadd)?_0x44159c[_0x180bdd(0x237,_0x400112._0x27aa4e)][_0x180bdd(-_0x400112._0x159893,_0x400112._0x4430c6)]:_0x180bdd(-_0x400112._0x104a80,-0x12f),_0x13bc70=_0x5c122b===_0xe42bda(0x67c,_0x400112._0x2f1e1d)||_0x5c122b===_0xe42bda(_0x400112._0x425678,0x853)?_0x5c122b:_0xe42bda(_0x400112._0x4424e9,0x4eb),_0x1855ac={};return _0x1855ac[_0x180bdd(_0x400112._0x12a87d,0x109)+'d']=_0x33a892,_0x1855ac[_0xe42bda(0x730,0x4c3)]=_0x13bc70,_0x1855ac;}catch{return null;}}function parseResponseEnvelopeMeta(_0x34d531){const _0xca0056={_0x234a51:0x2a7,_0x1b7546:0x2d3,_0x171ee2:0x74a,_0x2cf0ed:0x86,_0x567b4d:0x2c5,_0x4c4e3d:0x282,_0x2b8f2b:0x3e7,_0x40f443:0xf7,_0x30eba1:0x2d3,_0x2e855e:0xf0,_0x2421d0:0x2d8,_0x18cab5:0x407,_0x26ff4c:0x5f1,_0xbdc20c:0xaf,_0x4c0f9d:0x30d,_0x1bd39f:0x222,_0x5a1b85:0x2f,_0x5a31f4:0x314,_0x48db4d:0x574,_0x3cbe86:0x2d3,_0x27a3ca:0x4c9,_0x1c5a7f:0x292,_0x463049:0x41b,_0x58811c:0x39a},_0x580525={_0x729e35:0xa4},_0x129be4={};function _0x34cc46(_0x250920,_0x1cb1fc){return _0x3266d5(_0x1cb1fc,_0x250920-0x13d);}function _0x40980c(_0xc38439,_0x18b945){return _0x3266d5(_0x18b945,_0xc38439- -_0x580525._0x729e35);}_0x129be4[_0x40980c(_0xca0056._0x234a51,0x527)]=_0x40980c(_0xca0056._0x1b7546,0x442),_0x129be4[_0x40980c(0x222,0x33e)]=function(_0x3054af,_0x19fdaa){return _0x3054af===_0x19fdaa;};const _0x28f48d=_0x129be4;try{const _0x29dff5=JSON['parse'](_0x34d531);if(_0x29dff5[_0x40980c(0x49e,_0xca0056._0x171ee2)]!==_0x40980c(-_0xca0056._0x2cf0ed,0x5b))return null;if(typeof _0x29dff5['id']!==_0x28f48d[_0x34cc46(0x488,_0xca0056._0x567b4d)]||!_0x29dff5['id'][_0x40980c(_0xca0056._0x4c4e3d,_0xca0056._0x2b8f2b)]())return null;return{'id':_0x29dff5['id']['trim'](),'ok':_0x29dff5['ok']===!![],'errorCode':typeof _0x29dff5['error']?.[_0x40980c(_0xca0056._0x40f443,0x12a)]===_0x40980c(_0xca0056._0x30eba1,_0xca0056._0x2e855e)&&_0x29dff5[_0x40980c(0x407,0x1e6)][_0x34cc46(_0xca0056._0x2421d0,0x163)]['trim']()?_0x29dff5[_0x40980c(_0xca0056._0x18cab5,_0xca0056._0x26ff4c)][_0x34cc46(0x2d8,_0xca0056._0xbdc20c)][_0x40980c(0x282,_0xca0056._0x4c0f9d)]():null,'errorMessage':_0x28f48d[_0x40980c(_0xca0056._0x1bd39f,_0xca0056._0x5a1b85)](typeof _0x29dff5[_0x40980c(0x407,_0xca0056._0x5a31f4)]?.[_0x34cc46(0x473,_0xca0056._0x48db4d)],_0x40980c(_0xca0056._0x3cbe86,_0xca0056._0x27a3ca))&&_0x29dff5['error'][_0x40980c(_0xca0056._0x1c5a7f,0x229)][_0x40980c(0x282,_0xca0056._0x463049)]()?_0x29dff5[_0x40980c(_0xca0056._0x18cab5,0x47c)]['message'][_0x40980c(_0xca0056._0x4c4e3d,_0xca0056._0x58811c)]():null};}catch{return null;}}function firstString(..._0x37ab29){const _0x3fe5e9={_0x104b32:0x310,_0x27ecb3:0x410,_0x4b7512:0x2bf},_0x3d254d={_0x3d1250:0x67};for(const _0x54b38b of _0x37ab29){if(typeof _0x54b38b===_0x26ff41(0x174,_0x3fe5e9._0x104b32)&&_0x54b38b['trim']())return _0x54b38b[_0x26ff41(_0x3fe5e9._0x27ecb3,_0x3fe5e9._0x4b7512)]();}function _0x26ff41(_0x49740c,_0x259f3d){return _0x3266d5(_0x49740c,_0x259f3d- -_0x3d254d._0x3d1250);}function _0x15043d(_0x5ef7b5,_0x2558a2){return _0x3266d5(_0x2558a2,_0x5ef7b5-0x40e);}return'';}function firstNullableString(_0x46b3ae){return typeof _0x46b3ae==='string'&&_0x46b3ae['trim']()?_0x46b3ae['trim']():null;}function readOptionalString(_0x35f81e){const _0xdef814={_0x4c7324:0x4ef,_0xb19181:0x566,_0x699332:0x515},_0x154eb7={_0x2b6690:0x436};function _0x518558(_0x2f9d75,_0x5092a1){return _0x26b3dd(_0x5092a1- -0x2a1,_0x2f9d75);}function _0x4b2f49(_0x364bdc,_0x497b82){return _0x26b3dd(_0x364bdc- -_0x154eb7._0x2b6690,_0x497b82);}return typeof _0x35f81e===_0x518558(_0xdef814._0x4c7324,_0xdef814._0xb19181)&&_0x35f81e[_0x518558(0x36f,_0xdef814._0x699332)]()?_0x35f81e[_0x4b2f49(0x380,0x4ff)]():void 0x0;}function isRecord(_0x32eae4){const _0x5d53af={_0x4cedcb:0x23f,_0x325e31:0x72b,_0x3d87c6:0x477},_0x12af34={_0x3acf3d:0x28d};function _0x30661d(_0x460251,_0x2fff7e){return _0x26b3dd(_0x2fff7e- -_0x12af34._0x3acf3d,_0x460251);}function _0x3060c2(_0x34a33a,_0x2cd10a){return _0x26b3dd(_0x34a33a- -0x3c6,_0x2cd10a);}return typeof _0x32eae4===_0x30661d(0x38,_0x5d53af._0x4cedcb)&&_0x32eae4!=null&&!Array[_0x30661d(_0x5d53af._0x325e31,_0x5d53af._0x3d87c6)](_0x32eae4);}function extractRequestIdFromMessage(_0x34d3a4){const _0x42e633={_0x351f23:0x3ae,_0x115b4d:0x567};function _0x1231e5(_0x25d224,_0x494681){return _0x26b3dd(_0x25d224- -0x48f,_0x494681);}const _0x2c7ace=_0x34d3a4[_0x1231e5(_0x42e633._0x351f23,_0x42e633._0x115b4d)](/requestId[:\s]*([a-f0-9-]+)/i);return _0x2c7ace?.[0x1]??null;}import{randomUUID as _0xe7fcf0}from'crypto';import{setTimeout as _0x3fdfee}from'timers/promises';import _0x427ed3 from'ws';var HEARTBEAT_INTERVAL_MS=0x2710,HEARTBEAT_TIMEOUT_MS=0x88b8,GATEWAY_RETRY_DELAY_MS=0x4b0,RECONNECT_BASE_DELAY_MS=0x3e8,RECONNECT_MAX_DELAY_MS=0x3a98,CONNECT_HANDSHAKE_WARN_DELAY_MS=0x1f40,MAX_PENDING_GATEWAY_MESSAGES=0x100,MAX_DEVICE_DETAILS=0x20,MAX_PENDING_PAIR_REQUESTS=0x10,BridgeRuntime=class{[_0x3266d5(0x2c8,0x183)];[_0x3266d5(0x59c,0x501)+_0x3266d5(0x2e6,0x2c9)]=null;[_0x3266d5(-0x14c,0x3b)+_0x3266d5(0x9a,0x43)]=null;[_0x3266d5(0x2d8,0x2ee)+'necting']=![];[_0x3266d5(-0xc2,0x1ab)+_0x3266d5(0x30f,0x2c7)+'g']=![];[_0x3266d5(0xcc,0x338)]=!![];[_0x26b3dd(0x6de,0x4b1)+_0x3266d5(0x37f,0x263)]=0x0;['lastRela'+_0x3266d5(0x152,0xf7)+_0x26b3dd(0x7f5,0x621)]=0x0;[_0x26b3dd(0x9d7,0x752)+_0x26b3dd(0x861,0x6f6)]=null;['gatewayR'+_0x26b3dd(0x882,0x769)+'r']=null;['heartbea'+_0x26b3dd(0x861,0x786)]=null;[_0x3266d5(0x680,0x520)+'atewayMe'+'ssages']=[];[_0x3266d5(0x357,0x401)+_0x26b3dd(0x85c,0xab8)+'Started']=![];['gatewayC'+'loseBoun'+_0x26b3dd(0x6ea,0x43e)+_0x26b3dd(0x686,0x4a6)]=![];['clientDe'+_0x26b3dd(0x62f,0x76a)+'tedAtMs']=null;[_0x26b3dd(0x63b,0x76d)+_0x26b3dd(0x9fd,0x764)+_0x26b3dd(0x50c,0x7cd)]=null;[_0x3266d5(0x1de,0x124)+_0x26b3dd(0x568,0x3af)+_0x26b3dd(0x85c,0x785)+'s']=new Map();[_0x26b3dd(0x9ed,0xa8c)];constructor(_0x32864f){const _0x30f368={_0x4e2fe7:0x398,_0x30e58d:0x467,_0x28a9ce:0x5d6,_0x2a00a8:0x71,_0x566912:0xd2,_0x5a1656:0xa22,_0x3fc6a8:0x800},_0x224cac={_0x459284:0x40d};function _0x16db4b(_0x20a16d,_0x5bbe1a){return _0x3266d5(_0x20a16d,_0x5bbe1a-0x78);}function _0x432d72(_0x3fe78a,_0x4a128c){return _0x3266d5(_0x3fe78a,_0x4a128c-_0x224cac._0x459284);}this[_0x432d72(0x53b,0x590)]=_0x32864f,this[_0x16db4b(_0x30f368._0x4e2fe7,0x5d5)]={'running':![],'relayConnected':![],'gatewayConnected':![],'gatewayId':_0x32864f['config'][_0x16db4b(0x620,0x3fd)+'d'],'instanceId':_0x32864f[_0x432d72(0x53e,_0x30f368._0x30e58d)][_0x16db4b(0x6ad,_0x30f368._0x28a9ce)+'Id'],'relayUrl':_0x32864f[_0x16db4b(_0x30f368._0x2a00a8,_0x30f368._0x566912)]['relayUrl'],'gatewayUrl':_0x32864f[_0x432d72(_0x30f368._0x5a1656,_0x30f368._0x3fc6a8)+'rl'],'clientCount':0x0,'connectedDevices':[],'pendingPairRequests':[],'lastError':null,'lastUpdatedMs':Date['now']()};}['start'](){const _0x4bc7cf={_0x31b005:0x6b2,_0x3529f4:0x3ea,_0x2c8353:0x4cc,_0x16e92b:0x351,_0x24f78c:0x67c,_0xb6af78:0x37e,_0xea0c3a:0x15b,_0x4dc02e:0x15,_0x10dfa2:0x29f,_0x24867f:0x154,_0x5247df:0x892,_0x3cd20a:0x663,_0x529c70:0x2c,_0x29db42:0x4d6},_0x31ec22={_0x5713d1:0x54e},_0x58ab5f={};function _0x417c60(_0x1c4ed7,_0x3fa798){return _0x26b3dd(_0x1c4ed7- -_0x31ec22._0x5713d1,_0x3fa798);}_0x58ab5f[_0x417c60(-0xa3,-0x1a)]=_0x4eb0d0(0x528,_0x4bc7cf._0x31b005)+'1';const _0x19cf73=_0x58ab5f,_0x10c0d2=_0x19cf73[_0x417c60(-0xa3,0xd0)][_0x417c60(0x2c2,_0x4bc7cf._0x3529f4)]('|');function _0x4eb0d0(_0x43c3ff,_0x5147d0){return _0x26b3dd(_0x43c3ff- -0x17c,_0x5147d0);}let _0x1643f7=0x0;while(!![]){switch(_0x10c0d2[_0x1643f7++]){case'0':if(!this['stopped'])return;continue;case'1':void this[_0x4eb0d0(_0x4bc7cf._0x2c8353,_0x4bc7cf._0x16e92b)+_0x4eb0d0(_0x4bc7cf._0x24f78c,0x55f)]();continue;case'2':this[_0x4eb0d0(0x57b,_0x4bc7cf._0xb6af78)+'apshot']({'running':!![],'gatewayUrl':this[_0x4eb0d0(0x497,0x613)]['gatewayU'+'rl']});continue;case'3':this['log'](_0x417c60(_0x4bc7cf._0xea0c3a,_0x4bc7cf._0x4dc02e)+_0x417c60(0x71,_0x4bc7cf._0x10dfa2)+'\x20gateway'+_0x417c60(0x321,_0x4bc7cf._0x24867f)+this[_0x4eb0d0(0x497,0x628)][_0x417c60(-0x64,-0x10a)][_0x417c60(0x2c7,0x1e2)+'d']+(_0x4eb0d0(_0x4bc7cf._0x5247df,_0x4bc7cf._0x3cd20a)+'Url=')+this[_0x417c60(0xc5,_0x4bc7cf._0x529c70)]['gatewayU'+'rl']);continue;case'4':this[_0x4eb0d0(0x64c,_0x4bc7cf._0x29db42)]=![];continue;}break;}}async[_0x3266d5(0x538,0x4fd)](){const _0x1cf842={_0x2d1a39:0x239,_0x228a50:0x367,_0x18ffb8:0xa4,_0x5197ea:0x114,_0x2d2552:0x3e6,_0x5a2a3f:0x4d6,_0x2a239d:0x3aa,_0x3eb9f6:0x5d0,_0x12761b:0x641,_0x71372b:0x141,_0x187496:0x840,_0x5ac676:0x3a1,_0x2e3b33:0x46a,_0x5c35b3:0x232,_0x54b13c:0x479,_0x5eef0f:0x23f,_0x15dda5:0xc6,_0xadc87a:0x730,_0x92b2d5:0x2fd,_0x1036ce:0x641,_0xcd3b18:0x3a0,_0x5c2a69:0x6d5,_0x3cac68:0x381,_0x1cc4d7:0x361,_0x778744:0x344,_0x4b7d01:0x168,_0x42ad86:0x54,_0x38ad41:0x380,_0x1af51f:0x460,_0x58345f:0x624,_0xece24d:0x8d,_0x40f393:0x8fa,_0x542818:0x681,_0x4b16c2:0x324,_0x5d6a18:0x4b4,_0x4c0678:0x15f,_0x4466dc:0x269,_0x228a5b:0x622,_0x5bb16c:0x52d,_0x3f5753:0x1d0,_0x35c1be:0x63e,_0x1caf51:0x67b,_0xdb2ec6:0x602,_0xdd67b7:0x51f},_0x45c180={_0x4a57be:0x187};function _0x4d8495(_0x1137d1,_0x2379f1){return _0x26b3dd(_0x1137d1- -_0x45c180._0x4a57be,_0x2379f1);}const _0x3b30d5=(_0x20a062(_0x1cf842._0x2d1a39,_0x1cf842._0x228a50)+_0x4d8495(0x82e,0x8b2)+'|6|9|15|'+'11|0|12|'+_0x4d8495(0x3c2,0x276)+'|16')['split']('|');let _0x54dc6c=0x0;function _0x20a062(_0x5f350d,_0x50810d){return _0x26b3dd(_0x50810d- -0x527,_0x5f350d);}while(!![]){switch(_0x3b30d5[_0x54dc6c++]){case'0':this[_0x20a062(_0x1cf842._0x18ffb8,_0x1cf842._0x5197ea)+_0x20a062(_0x1cf842._0x2d2552,_0x1cf842._0x5a2a3f)+_0x4d8495(0x385,_0x1cf842._0x2a239d)]=null;continue;case'1':this['gatewayC'+_0x4d8495(_0x1cf842._0x3eb9f6,0x68c)+'g']=![];continue;case'2':this[_0x4d8495(_0x1cf842._0x12761b,0x77c)]=!![];continue;case'3':this[_0x20a062(_0x1cf842._0x71372b,0x257)+_0x4d8495(0x740,_0x1cf842._0x187496)]=![];continue;case'4':this[_0x20a062(_0x1cf842._0x5ac676,_0x1cf842._0x2e3b33)+_0x20a062(0x449,_0x1cf842._0x5c35b3)]?.[_0x4d8495(0x720,_0x1cf842._0x54b13c)]();continue;case'5':this[_0x20a062(_0x1cf842._0x5eef0f,0x4e1)+'ers']();continue;case'6':this['pendingG'+'atewayMe'+_0x20a062(_0x1cf842._0x15dda5,0x10d)]=[];continue;case'7':this[_0x4d8495(0x798,_0x1cf842._0xadc87a)](_0x4d8495(0x522,0x634)+_0x20a062(_0x1cf842._0x92b2d5,0x2a1));continue;case'8':if(this[_0x4d8495(_0x1cf842._0x1036ce,0x634)])return;continue;case'9':this[_0x20a062(_0x1cf842._0xcd3b18,0x36a)+_0x4d8495(_0x1cf842._0x5c2a69,0x7e6)+_0x4d8495(_0x1cf842._0x3cac68,_0x1cf842._0x1cc4d7)]=![];continue;case'10':this[_0x4d8495(_0x1cf842._0x778744,0x5d3)+_0x20a062(-_0x1cf842._0x4b7d01,-_0x1cf842._0x42ad86)]?.[_0x20a062(0x32e,_0x1cf842._0x38ad41)]();continue;case'11':this[_0x4d8495(0x359,_0x1cf842._0x1af51f)+_0x4d8495(0x4a8,_0x1cf842._0x58345f)+'tedAtMs']=null;continue;case'12':this[_0x20a062(0x2e1,_0x1cf842._0xece24d)+'ConnectH'+'andshake'+'s']['clear']();continue;case'13':this[_0x4d8495(0x80a,_0x1cf842._0x40f393)+_0x20a062(0x2ce,_0x1cf842._0x5c35b3)]=null;continue;case'14':const _0x55857b={};_0x55857b[_0x4d8495(0x702,_0x1cf842._0x542818)]=![],_0x55857b['relayCon'+_0x4d8495(0x464,_0x1cf842._0x4b16c2)]=![],_0x55857b[_0x4d8495(_0x1cf842._0x5d6a18,0x2bd)+'onnected']=![],_0x55857b['clientCo'+_0x20a062(_0x1cf842._0x4c0678,_0x1cf842._0x4466dc)]=0x0,_0x55857b[_0x4d8495(_0x1cf842._0x228a5b,_0x1cf842._0x5bb16c)+'r']=null,this[_0x20a062(0x187,_0x1cf842._0x3f5753)+'apshot'](_0x55857b);continue;case'15':this[_0x20a062(-0x16,0x114)+_0x4d8495(_0x1cf842._0x35c1be,0x761)+_0x4d8495(0x563,_0x1cf842._0x1caf51)+_0x4d8495(0x4ff,_0x1cf842._0xdb2ec6)]=![];continue;case'16':await _0x3fdfee(0x19);continue;case'17':this[_0x4d8495(0x344,_0x1cf842._0xdd67b7)+_0x20a062(-0x227,-0x54)]=null;continue;}break;}}async[_0x3266d5(0x122,0x60)+'airReque'+'st'](_0x19ff49){const _0x192d98={_0x291eef:0x16a,_0x410d34:0x577,_0x3a1d06:0x361,_0x15c812:0x5d9,_0x2a3821:0x23e,_0x3e6218:0x844,_0x17753d:0x64b,_0x50d442:0x6b6,_0x12019d:0x5ea,_0x20c4b4:0x622},_0x1e3ec1={_0x33c3a5:0x306},_0x2061ae={_0x4cce3d:0x159},_0x1d290d={};function _0x19dd5c(_0x2b2310,_0x41048a){return _0x3266d5(_0x41048a,_0x2b2310-_0x2061ae._0x4cce3d);}_0x1d290d[_0x19dd5c(_0x192d98._0x291eef,-0x124)]=_0x3af1a4(0x56c,_0x192d98._0x410d34)+_0x19dd5c(0x3ca,_0x192d98._0x3a1d06)+_0x3af1a4(_0x192d98._0x15c812,0x532);const _0x44c7dc=_0x1d290d;function _0x3af1a4(_0x399d61,_0x264077){return _0x3266d5(_0x264077,_0x399d61-_0x1e3ec1._0x33c3a5);}const _0x17b6fe={};_0x17b6fe[_0x3af1a4(0x4dc,_0x192d98._0x2a3821)+'d']=_0x19ff49,this[_0x3af1a4(0x423,0x4ab)+_0x3af1a4(_0x192d98._0x3e6218,0xab5)+'st'](_0x44c7dc[_0x19dd5c(_0x192d98._0x291eef,0x2a0)],_0x17b6fe),this[_0x3af1a4(_0x192d98._0x17753d,0x395)+_0x3af1a4(0x762,_0x192d98._0x50d442)+_0x19dd5c(_0x192d98._0x12019d,_0x192d98._0x20c4b4)](_0x19ff49,_0x19dd5c(0x4e1,0x4be));}async[_0x3266d5(0x4a4,0x38c)+_0x3266d5(0x492,0x318)+'t'](_0x8d3d79){const _0x12b1cd={_0x5a0518:0x1af,_0x1d0780:0x12b,_0x3a4eba:0x2c1,_0x50902f:0x33f,_0x2d9c33:0x594,_0x9fd23:0x3cb},_0x2f5cdc={_0x25ff45:0x6},_0x10ba6f={};_0x10ba6f[_0x312f4e(0x1d0,0x16b)+'d']=_0x8d3d79,this['sendGate'+'wayReque'+'st'](_0x312f4e(0x260,_0x12b1cd._0x5a0518)+_0x1ee9e4(_0x12b1cd._0x1d0780,_0x12b1cd._0x3a4eba)+'ct',_0x10ba6f);function _0x1ee9e4(_0x22a748,_0x121679){return _0x3266d5(_0x22a748,_0x121679-0x13);}function _0x312f4e(_0x4b56fa,_0xad50ae){return _0x3266d5(_0xad50ae,_0x4b56fa- -_0x2f5cdc._0x25ff45);}this[_0x312f4e(_0x12b1cd._0x50902f,0x200)+_0x312f4e(0x456,_0x12b1cd._0x2d9c33)+'esolved'](_0x8d3d79,_0x1ee9e4(_0x12b1cd._0x9fd23,0x3e7));}['getSnaps'+_0x3266d5(0x501,0x391)](){const _0x2c750b={_0x7b4cdd:0x355,_0x334c16:0x14a,_0x214dd7:0x20,_0xbc8e18:0xa0e,_0x41e98b:0x84b,_0x145943:0xb1,_0x22f9ce:0x4ee,_0x36cb59:0x607,_0x494aa5:0x504,_0x1c88e2:0x62c,_0x58886a:0x65c,_0x52183d:0xbbe,_0x5131ad:0x6c2},_0x2458bb={_0x12d3ed:0x5d};function _0x39e16f(_0x44128a,_0xbdb01b){return _0x3266d5(_0xbdb01b,_0x44128a-0x4b1);}const _0xae7d1c={...this['snapshot']};_0xae7d1c[_0x1f7680(0x21b,_0x2c750b._0x7b4cdd)+_0x1f7680(_0x2c750b._0x334c16,-_0x2c750b._0x214dd7)]=[...this[_0x39e16f(_0x2c750b._0xbc8e18,_0x2c750b._0x41e98b)][_0x1f7680(_0x2c750b._0x145943,0x355)+_0x39e16f(_0x2c750b._0x22f9ce,_0x2c750b._0x36cb59)]];function _0x1f7680(_0x15b952,_0x2abff7){return _0x3266d5(_0x15b952,_0x2abff7- -_0x2458bb._0x12d3ed);}return _0xae7d1c[_0x39e16f(_0x2c750b._0x494aa5,_0x2c750b._0x7b4cdd)+_0x39e16f(_0x2c750b._0x1c88e2,0x491)+_0x39e16f(0x5ba,_0x2c750b._0x58886a)]=[...this[_0x39e16f(_0x2c750b._0xbc8e18,_0x2c750b._0x52183d)]['pendingP'+'airReque'+_0x39e16f(0x5ba,_0x2c750b._0x5131ad)]],_0xae7d1c;}async[_0x3266d5(0x441,0x1b8)+'elay'](){const _0x493cc6={_0x576616:0x692,_0x444447:0x6d4,_0x38b4d1:0x7ef,_0x2c1e8b:0x68a,_0x1810fb:0x7d3,_0x289935:0x4f4,_0x8edb5a:0x6b7,_0x1c17d3:0x5ba,_0x55326c:0x5d6,_0x15df88:0x737,_0x547e20:0x742,_0x355d67:0x3f4,_0x296672:0x5ea,_0x3f9ece:0x5f7,_0x9d0ff3:0x68f,_0x10d6c5:0x5ff,_0x5a5c3f:0x3df,_0x279859:0x51f,_0xb40f91:0x2ff,_0x58eeaa:0x3f6,_0x47b6b8:0x82b,_0x728b55:0x4a8,_0x2f820e:0x669,_0x5914dc:0x77c,_0x3f9668:0x3ac,_0x1f8820:0x56d,_0x5cc116:0x7d4,_0x3afd55:0x47d,_0x3a6f2c:0x61c,_0x1e412a:0x665,_0x5265da:0x77e,_0x12d0a2:0x67e,_0x190021:0x897,_0x2bb741:0x513,_0x768a27:0x660,_0x175b48:0x847,_0x37fad8:0x570},_0x370bf3={_0x3646b5:0x32a,_0x4f24ba:0x528,_0xc47f0f:0x315,_0x5305f1:0x3be,_0x3c03c8:0x12a,_0x34ede3:0x20b,_0x22165f:0x401,_0x1514fc:0x1d2,_0x4d5460:0xc8,_0xedbbdb:0xcf,_0x4c3f84:0x24f,_0x448bfb:0x296,_0x5c2859:0x211,_0x8a5ec4:0x40e,_0x45e363:0x15c,_0x237392:0x64},_0x4327af={_0x39b0f5:0x987,_0x26d507:0xa2b,_0x4111ed:0x19d,_0x4a72e5:0x2c3,_0xddcac:0x62d,_0x251a52:0x69d},_0x5cc498={_0x291fbd:0x96b,_0x294edd:0x9dc,_0x3620b1:0x42b,_0x15b305:0x699,_0x2a8fdf:0x719},_0x4d73e8={_0x269fd6:0x68},_0x2a9606={_0x56b474:0xd4},_0x4c5ef7={_0x492dc1:0x518,_0x351d3d:0xc73},_0x5360ac={_0x4a6c86:0x485,_0x33910f:0x592,_0x2f75b7:0x66a,_0xd823c0:0x6e6,_0x2ec981:0x4de,_0x26b700:0x670,_0x224700:0x719,_0x4fb176:0x4ff,_0x47d76a:0xa2,_0xac20cb:0x2fa,_0x16353e:0x889,_0x59a820:0x89d,_0x4aadb2:0x51e,_0xadcb86:0x5c2,_0x1a1beb:0x6ec,_0x508e47:0x7e4,_0x682fae:0x1a2,_0x2bb18b:0xb3,_0x4ee8df:0x311,_0x91195:0x151,_0x8e966e:0x291,_0x40e4c8:0x1d1,_0x4ca1a1:0x249,_0x32ab56:0x374},_0x595310={_0x62c69a:0x10e},_0x694445={_0xc10930:0x26f},_0x32eea7={_0x333b1d:0x300},_0x57065f={'uxQqX':function(_0x5974bb,_0x3b9733){return _0x5974bb(_0x3b9733);}};if(this[_0x49ccae(_0x493cc6._0x576616,_0x493cc6._0x444447)]||this[_0x49ccae(_0x493cc6._0x38b4d1,_0x493cc6._0x2c1e8b)+_0x49ccae(0x91b,_0x493cc6._0x1810fb)]||this[_0x22f306(_0x493cc6._0x289935,_0x493cc6._0x8edb5a)+_0x49ccae(_0x493cc6._0x1c17d3,_0x493cc6._0x55326c)]())return;this[_0x49ccae(0x478,_0x493cc6._0x2c1e8b)+_0x22f306(_0x493cc6._0x15df88,_0x493cc6._0x547e20)]=!![],this[_0x49ccae(_0x493cc6._0x355d67,_0x493cc6._0x296672)+_0x49ccae(_0x493cc6._0x3f9ece,0x5ff)]+=0x1;const _0x5f4396=this[_0x49ccae(0x33e,0x5ea)+_0x49ccae(_0x493cc6._0x9d0ff3,_0x493cc6._0x10d6c5)],_0x25f0d1=buildRelayWsUrl(this[_0x49ccae(_0x493cc6._0x5a5c3f,_0x493cc6._0x279859)][_0x49ccae(_0x493cc6._0xb40f91,_0x493cc6._0x58eeaa)]);this[_0x49ccae(0x70e,_0x493cc6._0x47b6b8)](_0x49ccae(_0x493cc6._0x728b55,_0x493cc6._0x2f820e)+_0x49ccae(_0x493cc6._0x5914dc,0x5ab)+'tempt='+_0x5f4396+_0x49ccae(_0x493cc6._0x3f9668,_0x493cc6._0x1f8820)+redactRelayWsUrl(_0x25f0d1));function _0x22f306(_0x3eed26,_0x20b4db){return _0x3266d5(_0x20b4db,_0x3eed26-_0x32eea7._0x333b1d);}const _0x5990a6=this[_0x49ccae(0xa28,_0x493cc6._0x5cc116)+_0x22f306(_0x493cc6._0x3afd55,_0x493cc6._0x3a6f2c)](_0x25f0d1);this[_0x49ccae(0x859,0x89d)+_0x49ccae(0x45a,_0x493cc6._0x1e412a)]=_0x5990a6,_0x5990a6[_0x49ccae(_0x493cc6._0x5265da,_0x493cc6._0x12d0a2)](_0x49ccae(0x650,0x472),()=>{if(this[_0x8bc5e5(_0x5360ac._0x4a6c86,0x746)]||this[_0x5fd02c(0x54c,_0x5360ac._0x33910f)+_0x8bc5e5(0x79e,0x6d7)]!==_0x5990a6){_0x5990a6['close']();return;}this[_0x8bc5e5(_0x5360ac._0x2f75b7,0x6fc)+_0x5fd02c(_0x5360ac._0xd823c0,0x4c8)]=![],this[_0x8bc5e5(0x7cf,0x97a)+_0x8bc5e5(0x42c,0x505)+'yMs']=Date[_0x8bc5e5(_0x5360ac._0x2ec981,_0x5360ac._0x26b700)]();const _0x29424f={};function _0x5fd02c(_0x2c93df,_0x2bbfb7){return _0x22f306(_0x2bbfb7- -_0x694445._0xc10930,_0x2c93df);}_0x29424f[_0x8bc5e5(_0x5360ac._0x224700,0x6fc)+_0x8bc5e5(_0x5360ac._0x4fb176,0x569)]=!![],_0x29424f['lastErro'+'r']=null;function _0x8bc5e5(_0x5ce509,_0x4499a3){return _0x22f306(_0x4499a3-_0x595310._0x62c69a,_0x5ce509);}this[_0x8bc5e5(0x424,0x675)+_0x5fd02c(_0x5360ac._0x47d76a,_0x5360ac._0xac20cb)](_0x29424f),this[_0x8bc5e5(_0x5360ac._0x16353e,_0x5360ac._0x59a820)](_0x8bc5e5(_0x5360ac._0x4aadb2,0x6db)+_0x8bc5e5(0x6a6,_0x5360ac._0xadcb86)+'attempt='+_0x5f4396),this[_0x8bc5e5(0x878,_0x5360ac._0x1a1beb)+'rtbeat'](),shouldKeepGatewayConnected(this[_0x5fd02c(_0x5360ac._0x508e47,0x5ee)][_0x5fd02c(_0x5360ac._0x682fae,_0x5360ac._0x2bb18b)+'unt'],_0x57065f[_0x5fd02c(_0x5360ac._0x4ee8df,_0x5360ac._0x91195)](summarizePendingGatewayMessages,this[_0x8bc5e5(0x908,0x92e)+_0x8bc5e5(0xa61,0x8ca)+_0x5fd02c(_0x5360ac._0x8e966e,0x235)])[_0x5fd02c(_0x5360ac._0x40e4c8,_0x5360ac._0x4ca1a1)+_0x8bc5e5(0x888,0x619)])&&this[_0x8bc5e5(0x7da,0x8f8)+_0x5fd02c(0x1fb,_0x5360ac._0x32ab56)+'nected']();}),_0x5990a6['on'](_0x49ccae(_0x493cc6._0x190021,0x6d2),(_0x211469,_0x4d255b)=>{function _0x19945a(_0x5c2cc2,_0x11712a){return _0x49ccae(_0x5c2cc2,_0x11712a- -0x11a);}function _0x504175(_0x5b2383,_0x2b651d){return _0x49ccae(_0x5b2383,_0x2b651d-0x19a);}void this[_0x19945a(_0x4c5ef7._0x492dc1,0x766)+_0x504175(_0x4c5ef7._0x351d3d,0xa9f)+'ge'](_0x211469,_0x4d255b);}),_0x5990a6['on'](_0x49ccae(_0x493cc6._0x2bb741,_0x493cc6._0x768a27),()=>{function _0xb9dd1(_0xf9bae7,_0x4db9d9){return _0x49ccae(_0xf9bae7,_0x4db9d9-_0x2a9606._0x56b474);}function _0x3e2187(_0x422b3d,_0x54c1b8){return _0x49ccae(_0x54c1b8,_0x422b3d- -_0x4d73e8._0x269fd6);}this[_0xb9dd1(_0x5cc498._0x291fbd,_0x5cc498._0x294edd)+_0x3e2187(_0x5cc498._0x3620b1,0x51b)+_0x3e2187(_0x5cc498._0x15b305,_0x5cc498._0x2a8fdf)]=Date[_0xb9dd1(0x4a1,0x6d2)]();}),_0x5990a6[_0x22f306(0x5e2,0x383)](_0x49ccae(0x748,_0x493cc6._0x175b48),_0xfb8d53=>{function _0x150d85(_0x2a1c91,_0x44ce20){return _0x49ccae(_0x44ce20,_0x2a1c91-0x15c);}function _0x29f806(_0x2fa82c,_0x321326){return _0x49ccae(_0x2fa82c,_0x321326- -0x218);}this[_0x150d85(_0x4327af._0x39b0f5,_0x4327af._0x26d507)](_0x29f806(_0x4327af._0x4111ed,_0x4327af._0x4a72e5)+_0x29f806(_0x4327af._0xddcac,_0x4327af._0x251a52)+String(_0xfb8d53));});function _0x49ccae(_0x488472,_0x3d6950){return _0x3266d5(_0x488472,_0x3d6950-0x39c);}_0x5990a6[_0x22f306(0x5e2,_0x493cc6._0x37fad8)]('close',(_0x586355,_0x586625)=>{const _0x421154={_0x559e0c:0x350};this[_0x3a080f(_0x370bf3._0x3646b5,_0x370bf3._0x4f24ba)+_0x57c723(0x175,_0x370bf3._0xc47f0f)]===_0x5990a6&&(this['relaySoc'+_0x57c723(_0x370bf3._0x5305f1,0x315)]=null);this[_0x3a080f(0x93,0x315)+_0x57c723(0x2d3,0x483)]=![],this[_0x3a080f(0x2c5,_0x370bf3._0x3c03c8)+_0x3a080f(_0x370bf3._0x34ede3,0x3c2)](),this[_0x3a080f(0x153,0x77)+_0x3a080f(0x3fa,0x1c6)+_0x57c723(0x175,0x314)]=null,this[_0x3a080f(_0x370bf3._0x22165f,_0x370bf3._0x1514fc)+'onnected'+_0x57c723(0x280,_0x370bf3._0x4d5460)]=null;function _0x57c723(_0x588a23,_0x3e7008){return _0x49ccae(_0x588a23,_0x3e7008- -_0x421154._0x559e0c);}this['updateSn'+'apshot']({'relayConnected':![],'gatewayConnected':![],'clientCount':0x0,'lastError':_0x586355===0x3e8?null:'relay\x20cl'+_0x3a080f(0x12b,_0x370bf3._0xedbbdb)+(_0x586625[_0x57c723(0x265,_0x370bf3._0x4c3f84)]()||_0x586355)});function _0x3a080f(_0x52c971,_0x36772b){return _0x49ccae(_0x52c971,_0x36772b- -0x375);}this[_0x3a080f(0x30a,0x4b6)](_0x57c723(0x461,0x1a5)+_0x3a080f(_0x370bf3._0x448bfb,_0x370bf3._0x5c2859)+_0x3a080f(0x3a7,_0x370bf3._0x8a5ec4)+_0x586355+'\x20reason='+(_0x586625[_0x3a080f(0x1a9,0x22a)]()||'<none>')),this[_0x57c723(0x2e6,_0x370bf3._0x45e363)+_0x57c723(0x30e,0x22a)](),this[_0x57c723(_0x370bf3._0x237392,0x77)+_0x3a080f(0x21a,0x190)+_0x57c723(0x68,0x324)]();});}async[_0x3266d5(0x25e,0x4e4)+_0x26b3dd(0x9f9,0xa6a)+'ge'](_0x75e792,_0x3b6357){const _0x43a74a={_0x5b2c3e:0x1bf,_0x389458:0x4fb,_0x3078f9:0x268,_0x347086:0x414,_0x192210:0x1d5,_0x494623:0x1b1,_0x161f04:0xf1,_0x519fcd:0x319,_0x40e124:0x66,_0x3b0b51:0x5d3,_0x12187f:0x637,_0xa9936d:0x37e,_0x39ae18:0x1b9,_0x4aea39:0x77,_0xe08538:0x163};this['lastRela'+_0x2d0120(_0x43a74a._0x5b2c3e,0xc5)+_0x544b39(0x454,_0x43a74a._0x389458)]=Date[_0x544b39(0x351,_0x43a74a._0x3078f9)]();if(_0x3b6357){this[_0x544b39(_0x43a74a._0x347086,_0x43a74a._0x192210)+_0x544b39(_0x43a74a._0x494623,-_0x43a74a._0x161f04)+'tewayMes'+'sage']({'kind':_0x2d0120(_0x43a74a._0x519fcd,_0x43a74a._0x40e124),'data':normalizeBinary(_0x75e792)});return;}const _0x3602a6=normalizeText(_0x75e792);function _0x544b39(_0x2ed20a,_0x2ea421){return _0x26b3dd(_0x2ed20a- -0x3a1,_0x2ea421);}if(_0x3602a6==null)return;const _0x28566e=parseControl(_0x3602a6);if(_0x28566e){await this[_0x544b39(_0x43a74a._0x3b0b51,0x61b)+_0x2d0120(_0x43a74a._0x12187f,_0x43a74a._0xa9936d)+'ol'](_0x28566e);return;}const _0xfb342f=parseConnectStartIdentity(_0x3602a6);_0xfb342f&&this[_0x2d0120(0x4cc,0x72b)+'onnectSt'+_0x544b39(_0x43a74a._0x39ae18,_0x43a74a._0x4aea39)](_0xfb342f['id'],_0xfb342f[_0x2d0120(0x386,0x1fa)]);const _0x229303={};function _0x2d0120(_0x2d0b71,_0x108eb9){return _0x26b3dd(_0x2d0b71- -0x3c8,_0x108eb9);}_0x229303[_0x2d0120(0xde,-0x3b)]=_0x2d0120(0x35f,0x322),_0x229303[_0x2d0120(0x35f,0x432)]=_0x3602a6,this['forwardO'+_0x544b39(_0x43a74a._0x494623,-0xab)+_0x2d0120(0xcf,0x274)+_0x2d0120(0x1b1,_0x43a74a._0xe08538)](_0x229303);}async[_0x3266d5(0x6db,0x4e4)+'layContr'+'ol'](_0x586427){const _0x441453={_0x3671a8:0x748,_0x100a1f:0x973,_0x511c4d:0x6c5,_0x4870e9:0x564,_0x21308f:0x35c,_0x35b887:0x4d7,_0x45a5df:0x6bf,_0x2161c0:0x347,_0x9d9235:0x695,_0x26c2bc:0x43d,_0x53b04b:0x94a,_0x4ec9d3:0x8a8,_0x1175dd:0x5ef,_0x1b82bf:0x7b2,_0x1ba334:0x45a,_0x37a568:0x93c,_0x439e41:0x94c,_0x174a93:0x96c,_0x2bbb97:0x328,_0x3466a1:0x5ae,_0x21e288:0x6ee,_0x12fffb:0x45f,_0x93fbfe:0x4db,_0x1779df:0x4ce,_0x2a2b12:0x671,_0x3d68de:0x5a4,_0x36e36a:0x80c,_0x29070b:0x70f,_0x1abc8d:0x47c,_0x12e6b2:0x4ea,_0x4d90df:0x7db,_0x18d653:0x484,_0x4841b1:0x6a7,_0x509876:0x584,_0x512f56:0x44d,_0x2c7746:0x88e,_0x52d2e3:0x92f,_0x595d8b:0x6cf,_0x5e7ef8:0x4f8,_0x259de1:0x5c7,_0x4b59a2:0x700,_0x5bb49b:0x6b0,_0x162ec3:0x54e,_0x2be37e:0x2c3,_0x53113a:0x51f,_0x5073fd:0x3f1,_0x1eb626:0x59d,_0x45a3c7:0x6cb,_0x23c497:0x5f7,_0x21efe8:0x315,_0x4c3e7f:0x46d,_0x5d5c20:0x5e6,_0x5307d5:0x77c,_0x43c5bd:0x451,_0x1c63b4:0x92f,_0x8fc08:0x63b,_0x51e1d8:0x5b3,_0x4e6f31:0x6a2,_0x32f0d1:0x7c5,_0x243f26:0x50a,_0x471cef:0x4b9,_0x4d7007:0x245,_0x1780c8:0x4b3,_0x40d37c:0x498,_0x1d2c64:0x210,_0x58f647:0x394,_0x1d534a:0x322,_0x40314c:0xa24,_0x5ac808:0x616,_0x45ae00:0x4f3,_0x414b78:0x464,_0x3089c7:0x59e,_0x5852b0:0x810,_0x45012e:0x5df,_0x5e8e7f:0x377,_0x4935de:0x733,_0x4f3e26:0x637,_0xeaed40:0x3b7,_0x288337:0x516,_0x12dcaf:0x366,_0x283461:0x92f,_0x50bb4e:0x3b7,_0x1a61ea:0x5e8,_0x234ccd:0x96f,_0x439ab7:0x494,_0xadfbe7:0x541,_0x131605:0x723,_0x89c5c6:0x873,_0x5cef17:0x5ed,_0x17f888:0x926,_0x16fda6:0x8a2,_0xbec5f7:0x6df,_0x262c4e:0x5ba,_0x11dc73:0x714,_0x18310b:0x669,_0x2ce2ba:0x3be,_0x254aca:0xbab,_0x57ad9b:0x4ef,_0x1b78e7:0x3ee,_0x3ac862:0x678,_0x1f41cc:0xa45,_0x561653:0x7c1,_0x2a44d0:0x2a7,_0xfba82:0x56b,_0x53f8c2:0x8a9,_0x359d2b:0x361,_0x46c31f:0x780,_0x303a4a:0x288,_0x2333d1:0x354,_0x1adc2f:0x810,_0x1fe3d3:0x619,_0x882b09:0x487,_0x11c807:0x4f6,_0x1f54a1:0x782,_0x5fc9af:0x9e1,_0x5dd641:0x662,_0x410cbd:0x614,_0x28f3f7:0x5da,_0x57efa9:0x487,_0x165c5d:0x6db,_0x414737:0x757,_0x31027e:0x678,_0x26d611:0x2cc,_0xf69340:0x76e,_0x422260:0x7dc,_0x5d38b6:0x761,_0x55c12d:0x9b0,_0x31d6b8:0x896,_0x11aa1d:0x3b7,_0x5f3984:0x44b,_0x588165:0x457,_0x4ec893:0x6a6,_0x590e7e:0x635,_0x2f4173:0xa7c,_0x3aa2e6:0x8c1,_0x505b05:0x575,_0x103c20:0x7fd,_0x55a1db:0x5f9,_0x27cdc5:0x89e,_0x320889:0x47e,_0x308e02:0x6d2,_0x455d20:0x2a0,_0x36ea5e:0x445,_0x57d27d:0x4fa,_0x3c15c4:0x601,_0x1cf7df:0x6fd,_0x3d20bd:0x63a,_0x45970e:0x56a},_0x149ebd={'TiiPs':_0x57e108(0x5b8,_0x441453._0x3671a8)+_0x4cbc0b(0x6cc,_0x441453._0x100a1f)+'t','sAZck':function(_0x20f0f0,_0x29e2de){return _0x20f0f0===_0x29e2de;},'irIeP':function(_0x29afeb,_0x1234d9){return _0x29afeb===_0x1234d9;},'HUvBn':_0x57e108(_0x441453._0x511c4d,_0x441453._0x4870e9)+_0x57e108(0x5f7,0x7d5)+_0x57e108(_0x441453._0x21308f,0x575)+_0x57e108(0x3ef,_0x441453._0x35b887)+_0x57e108(_0x441453._0x45a5df,0x871)+'dle\x20gate'+'way','EzmUj':function(_0x5cdf60,_0xea43e9){return _0x5cdf60>_0xea43e9;},'QxUQS':function(_0x305c65,_0x2e524b){return _0x305c65(_0x2e524b);}};function _0x57e108(_0x5e5b9a,_0x1f02ec){return _0x26b3dd(_0x5e5b9a- -0x27d,_0x1f02ec);}if(_0x586427[_0x4cbc0b(0x3ad,0x57a)]===_0x149ebd[_0x4cbc0b(0x9fc,0x790)]){await this[_0x4cbc0b(0x94b,0x6e8)+_0x57e108(_0x441453._0x2161c0,0x4d1)+_0x57e108(_0x441453._0x9d9235,0x5a2)](_0x586427);return;}const {event:_0x4490f5,count:_0x5cd55c}=_0x586427;if(_0x149ebd[_0x57e108(0x618,_0x441453._0x26c2bc)](_0x4490f5,'client_c'+_0x57e108(0x780,0x94a))||_0x149ebd[_0x4cbc0b(0x72a,0x955)](_0x4490f5,_0x4cbc0b(_0x441453._0x53b04b,_0x441453._0x4ec9d3)+_0x57e108(_0x441453._0x1175dd,_0x441453._0x1b82bf))){const _0x41b603=this[_0x4cbc0b(0x8c6,0x96c)][_0x4cbc0b(_0x441453._0x1ba334,0x431)+_0x4cbc0b(_0x441453._0x37a568,0x70f)],_0x2d0cdb=_0x5cd55c??Math['max'](0x1,this[_0x4cbc0b(_0x441453._0x439e41,_0x441453._0x174a93)][_0x4cbc0b(0x297,0x431)+_0x57e108(0x513,0x5b9)]);_0x2d0cdb>0x0&&this[_0x57e108(0x263,_0x441453._0x2bbb97)+_0x4cbc0b(0x489,_0x441453._0x3466a1)+_0x57e108(0x4db,_0x441453._0x21e288)]==null&&(this[_0x4cbc0b(0x5c8,_0x441453._0x12fffb)+'mandStar'+_0x57e108(_0x441453._0x93fbfe,_0x441453._0x1779df)]=Date[_0x4cbc0b(0x659,_0x441453._0x2a2b12)]());const _0x33c4a5={};_0x33c4a5[_0x4cbc0b(_0x441453._0x3d68de,0x431)+_0x4cbc0b(_0x441453._0x36e36a,_0x441453._0x29070b)]=_0x2d0cdb,this['updateSn'+_0x57e108(_0x441453._0x1abc8d,_0x441453._0x12e6b2)](_0x33c4a5);if(_0x2d0cdb===0x0){this[_0x4cbc0b(0x646,0x810)+_0x4cbc0b(0x9d3,_0x441453._0x4d90df)+_0x57e108(0x28b,_0x441453._0x18d653)]=![],this[_0x4cbc0b(_0x441453._0x4841b1,_0x441453._0x509876)+_0x57e108(0x4a7,0x729)+'t'](),this[_0x4cbc0b(0x276,_0x441453._0x512f56)+_0x4cbc0b(0xa3b,0x7d9)+_0x57e108(0x76e,_0x441453._0x2c7746)+'e']();const _0x5556d0=summarizePendingGatewayMessages(this[_0x4cbc0b(0x8d9,_0x441453._0x52d2e3)+_0x57e108(_0x441453._0x595d8b,_0x441453._0x5e7ef8)+'ssages'])[_0x4cbc0b(0x43a,_0x441453._0x259de1)+_0x4cbc0b(_0x441453._0x4b59a2,0x61a)];shouldScheduleGatewayIdleClose(_0x2d0cdb,_0x5556d0,this[_0x57e108(_0x441453._0x5bb49b,0x70d)+_0x4cbc0b(0x84c,0x8a2)]())?(this['log'](_0x149ebd[_0x57e108(_0x441453._0x162ec3,_0x441453._0x2be37e)]),this[_0x4cbc0b(0x55a,_0x441453._0x53113a)+_0x57e108(_0x441453._0x5073fd,_0x441453._0x1eb626)]()):this[_0x4cbc0b(_0x441453._0x45a3c7,0x89e)]('client\x20d'+_0x57e108(_0x441453._0x23c497,0x571)+'opped\x20to'+'\x20zero;\x20g'+_0x4cbc0b(_0x441453._0x21efe8,_0x441453._0x4c3e7f)+_0x4cbc0b(_0x441453._0x5d5c20,_0x441453._0x5307d5)+_0x4cbc0b(0xa33,0x7c9));}else{if(shouldRecycleGatewayForFreshClient(_0x41b603,_0x2d0cdb,this['isGatewa'+_0x57e108(0x6a6,_0x441453._0x43c5bd)](),![])){const _0x5b818b=summarizePendingGatewayMessages(this[_0x4cbc0b(0x7d3,_0x441453._0x1c63b4)+_0x57e108(0x6cf,0x7a9)+_0x4cbc0b(_0x441453._0x8fc08,_0x441453._0x51e1d8)]);this[_0x57e108(_0x441453._0x4e6f31,_0x441453._0x32f0d1)](_0x4cbc0b(_0x441453._0x243f26,0x64a)+_0x57e108(_0x441453._0x471cef,_0x441453._0x4d7007)+_0x57e108(_0x441453._0x1780c8,0x5dc)+_0x57e108(0x408,0x1c5)+_0x57e108(_0x441453._0x40d37c,_0x441453._0x1d2c64)+_0x57e108(0x4ad,_0x441453._0x58f647)+_0x4cbc0b(0x5ff,0x716)+'='+_0x5b818b[_0x57e108(_0x441453._0x1d534a,0x123)]+(_0x4cbc0b(_0x441453._0x40314c,0x874)+'=')+_0x5b818b[_0x57e108(0x3cb,0x4a2)+'equests']+_0x4cbc0b(_0x441453._0x5ac808,_0x441453._0x45ae00)+_0x5b818b[_0x57e108(0x4a1,0x4ef)+'t']+'\x20binary='+_0x5b818b[_0x57e108(_0x441453._0x414b78,0x671)]+('\x20handsha'+'keStarte'+'d=')+this[_0x4cbc0b(_0x441453._0x3089c7,_0x441453._0x5852b0)+_0x57e108(_0x441453._0x45012e,0x87f)+_0x4cbc0b(_0x441453._0x5e8e7f,0x487)]);const _0x54b013=prunePendingGatewayMessagesForFreshDemand(this[_0x57e108(_0x441453._0x4935de,_0x441453._0x4f3e26)+_0x4cbc0b(0xb70,0x8cb)+_0x57e108(_0x441453._0xeaed40,0x293)]);_0x149ebd[_0x4cbc0b(0x2cb,_0x441453._0x288337)](_0x54b013[_0x57e108(0x4d4,_0x441453._0x12dcaf)],0x0)&&(this[_0x4cbc0b(0x948,_0x441453._0x283461)+'atewayMe'+_0x57e108(_0x441453._0x50bb4e,_0x441453._0x1a61ea)]=_0x54b013[_0x57e108(0x6db,_0x441453._0x234ccd)],this[_0x57e108(0x6a2,_0x441453._0x439ab7)](_0x4cbc0b(0x654,_0x441453._0xadfbe7)+'stale\x20ga'+'teway\x20qu'+_0x57e108(_0x441453._0x131605,_0x441453._0x5852b0)+'re\x20recyc'+_0x57e108(0x77d,_0x441453._0x89c5c6)+_0x4cbc0b(_0x441453._0x5cef17,0x467)+_0x54b013[_0x57e108(0x4d4,0x5fc)]+_0x57e108(0x4c7,0x2d9)+_0x54b013[_0x4cbc0b(0xab8,0x8d7)][_0x57e108(0x64d,0x5c9)])),this[_0x57e108(0x323,0x2f5)+_0x57e108(0x3f1,0x453)](!![]);}if(this['isGatewa'+_0x4cbc0b(_0x441453._0x17f888,_0x441453._0x16fda6)]()&&!this[_0x4cbc0b(_0x441453._0xbec5f7,_0x441453._0x262c4e)+'loseBoun'+_0x4cbc0b(_0x441453._0x11dc73,_0x441453._0x18310b)+_0x57e108(0x409,0x4cb)]){const _0x4b63fd={};_0x4b63fd[_0x57e108(_0x441453._0x2ce2ba,0x59e)+_0x4cbc0b(_0x441453._0x254aca,0x97c)]=!![],_0x4b63fd[_0x4cbc0b(_0x441453._0x57ad9b,0x728)+'r']=null,this[_0x4cbc0b(0x535,0x676)+_0x4cbc0b(_0x441453._0x1b78e7,_0x441453._0x3ac862)](_0x4b63fd),this['log'](_0x4cbc0b(0x60d,0x64a)+'already\x20'+_0x4cbc0b(_0x441453._0x1f41cc,_0x441453._0x561653)+_0x57e108(_0x441453._0x2a44d0,0x67)+_0x4cbc0b(0x960,0x838)+_0x4cbc0b(0x551,_0x441453._0xfba82)+this[_0x4cbc0b(0x725,_0x441453._0x53f8c2)+_0x57e108(_0x441453._0x359d2b,0x5d3)](this[_0x57e108(0x3be,0x1e0)+_0x57e108(_0x441453._0x46c31f,0x6cf)+_0x57e108(0x28f,_0x441453._0x303a4a)])+(_0x57e108(0x70f,0x496)+_0x57e108(_0x441453._0x2333d1,0x256)+'d=')+this[_0x4cbc0b(0x61e,_0x441453._0x1adc2f)+_0x57e108(_0x441453._0x45012e,0x646)+_0x4cbc0b(_0x441453._0x1fe3d3,_0x441453._0x882b09)]);}}this['ensureGa'+_0x57e108(_0x441453._0x11c807,0x408)+_0x4cbc0b(_0x441453._0x1f54a1,0x56a)]();return;}function _0x4cbc0b(_0x2206fa,_0x1660ea){return _0x26b3dd(_0x1660ea- -0x81,_0x2206fa);}if(_0x4490f5===_0x4cbc0b(_0x441453._0x5fc9af,0x7a6)+_0x4cbc0b(_0x441453._0x5dd641,0x6d2)+'ted'){this[_0x57e108(_0x441453._0x410cbd,_0x441453._0x28f3f7)+_0x4cbc0b(0x869,0x7db)+_0x4cbc0b(0x261,_0x441453._0x57efa9)]=![];const _0x49e02a={};_0x49e02a['clientCo'+_0x57e108(0x513,0x478)]=0x0,this[_0x57e108(0x47a,_0x441453._0x165c5d)+_0x4cbc0b(_0x441453._0x414737,_0x441453._0x31027e)](_0x49e02a),this['markDevi'+_0x4cbc0b(0x681,0x6a3)+'t'](),this[_0x4cbc0b(_0x441453._0x26d611,0x44d)+_0x57e108(0x5dd,0x4ef)+_0x57e108(_0x441453._0xf69340,_0x441453._0x422260)+'e']();const _0x3447fd=_0x149ebd[_0x57e108(_0x441453._0x5d38b6,0x53d)](summarizePendingGatewayMessages,this[_0x57e108(_0x441453._0x4935de,_0x441453._0x55c12d)+_0x57e108(0x6cf,_0x441453._0x31d6b8)+_0x57e108(_0x441453._0x11aa1d,_0x441453._0x5f3984)])[_0x4cbc0b(_0x441453._0x588165,0x5c7)+_0x57e108(0x41e,0x5d8)];shouldScheduleGatewayIdleClose(0x0,_0x3447fd,this['isGatewa'+_0x57e108(_0x441453._0x4ec893,0x6ae)]())?(this[_0x57e108(0x6a2,_0x441453._0x590e7e)](_0x4cbc0b(_0x441453._0x2f4173,_0x441453._0x3aa2e6)+'isconnec'+_0x57e108(_0x441453._0x505b05,_0x441453._0x103c20)+_0x57e108(0x5e9,0x504)+_0x4cbc0b(0x47c,0x6a2)+'y'),this[_0x57e108(0x323,0x91)+'eway']()):(this[_0x4cbc0b(_0x441453._0x55a1db,_0x441453._0x27cdc5)](_0x57e108(_0x441453._0x511c4d,_0x441453._0x320889)+_0x4cbc0b(0x651,_0x441453._0x308e02)+_0x4cbc0b(0x6f4,_0x441453._0x53b04b)+_0x57e108(0x2e5,_0x441453._0x455d20)+_0x4cbc0b(_0x441453._0x36ea5e,_0x441453._0x57d27d)+_0x4cbc0b(0x466,_0x441453._0x3c15c4)),this[_0x57e108(_0x441453._0x1cf7df,_0x441453._0x3d20bd)+_0x57e108(0x4f6,0x3d7)+_0x4cbc0b(0x38d,_0x441453._0x45970e)]());return;}}async[_0x26b3dd(0x769,0x4de)+_0x3266d5(-0x70,0x134)+_0x26b3dd(0x912,0xb45)](_0xfc396e){const _0x8ce52={_0x4aea84:0x530,_0x1c15fb:0x15a,_0x421c4a:0x9f9,_0x5a6ded:0x290,_0x3fa981:0x31a,_0xc2a2d7:0x668,_0x58be2f:0x16c,_0x553356:0xdb,_0x3a51fb:0x5ac,_0x4c4ddc:0x1a1,_0x2a1397:0x877,_0x3b216d:0x786,_0x149a9e:0x849,_0x2526de:0x5bd,_0x2b6f16:0x8e3,_0xe52d60:0x98d,_0xd18eca:0x51,_0x4722ac:0x9cd,_0x2997e7:0x323,_0x53f539:0x4cb,_0x12873f:0x348,_0x591b26:0xb0,_0x4887cc:0xb0,_0x3304de:0x17f,_0x2ed94d:0xeb,_0x3e23f4:0x7c1,_0x11d887:0x92a,_0x4ff7b3:0x832,_0x1dafaa:0x3f,_0x1ac056:0x2ef,_0x2b38d8:0x634,_0x49efc5:0x27f,_0x2971ee:0xc,_0x511a67:0x5b3,_0x54f8e4:0x535,_0x2203d8:0x57f,_0x44ee8c:0x750,_0x82dd17:0x269,_0x5aa609:0x46b,_0x5b627e:0x255,_0x55b053:0x1a9,_0x1febc2:0x202,_0x48811e:0x1a,_0x36838a:0x31,_0x1250a7:0x94e,_0x100147:0x8fd,_0x35d3af:0x957,_0x49242f:0x83c,_0x261d6e:0xfa,_0x78d22f:0x75,_0x41f4a6:0xeb,_0x156b45:0x5a1,_0x1a0dab:0x844},_0x21bd1e={};_0x21bd1e[_0x203934(_0x8ce52._0x4aea84,0x634)]=function(_0x325b0e,_0x25aa99){return _0x325b0e||_0x25aa99;},_0x21bd1e['ysDiR']=_0x436bcf(0x20c,_0x8ce52._0x1c15fb)+'p.issued',_0x21bd1e[_0x203934(_0x8ce52._0x421c4a,0x983)]=function(_0x59c2fe,_0x454255){return _0x59c2fe||_0x454255;},_0x21bd1e['pwRTj']=_0x203934(0x758,0x830)+_0x436bcf(_0x8ce52._0x5a6ded,_0x8ce52._0x3fa981);const _0x4d8944=_0x21bd1e,_0x588c83=_0xfc396e[_0x203934(_0x8ce52._0xc2a2d7,0x661)+'d']?.[_0x436bcf(_0x8ce52._0x58be2f,_0x8ce52._0x553356)]()??'',_0x14b405=_0xfc396e[_0x203934(_0x8ce52._0x3a51fb,0x557)+_0x436bcf(0x250,_0x8ce52._0x4c4ddc)]?.['trim']()||_0xfc396e[_0x436bcf(0xd9,0x16e)+_0x203934(0x856,_0x8ce52._0x2a1397)]?.['trim']()||'';if(!_0x588c83){this[_0x203934(0xb73,0x91a)](_0x203934(0x68c,_0x8ce52._0x3b216d)+_0x203934(0x390,0x637)+_0x203934(0x9c8,_0x8ce52._0x149a9e)+_0x203934(0x56b,_0x8ce52._0x2526de)+'reason=m'+_0x203934(0x8d2,_0x8ce52._0x2b6f16)+_0x203934(0x978,_0x8ce52._0xe52d60)+'d');return;}const _0xa79a00=parseBootstrapRequestPayload(_0xfc396e[_0x203934(0x78e,0x79a)]);function _0x436bcf(_0x1f9595,_0x39ee9){return _0x3266d5(_0x1f9595,_0x39ee9- -0x24b);}function _0x203934(_0x242f6c,_0x1962a7){return _0x3266d5(_0x242f6c,_0x1962a7-0x48b);}if(!_0xa79a00['ok']){this[_0x436bcf(_0x8ce52._0xd18eca,0x244)](_0x203934(_0x8ce52._0x4722ac,0x786)+'otstrap\x20'+_0x203934(0x6a4,0x849)+'rejected'+_0x203934(_0x8ce52._0x2997e7,_0x8ce52._0x53f539)+'Id='+_0x588c83+'\x20code='+_0xa79a00[_0x436bcf(-_0x8ce52._0x12873f,-_0x8ce52._0x591b26)]+_0x436bcf(0xc6,0x1ea)+_0xa79a00['message']);const _0xe51334={};_0xe51334[_0x436bcf(0xff,-_0x8ce52._0x4887cc)]=_0xa79a00[_0x436bcf(-_0x8ce52._0x3304de,-0xb0)],_0xe51334[_0x436bcf(-0xde,_0x8ce52._0x2ed94d)]=_0xa79a00[_0x203934(0x85f,_0x8ce52._0x3e23f4)],this[_0x203934(_0x8ce52._0x11d887,_0x8ce52._0x4ff7b3)+_0x203934(0x3f6,0x6a5)]({'event':_0x436bcf(-_0x8ce52._0x1dafaa,0x15a)+_0x436bcf(_0x8ce52._0x1ac056,0x31a),'requestId':_0x588c83,'targetClientId':_0x4d8944[_0x203934(0x48e,_0x8ce52._0x2b38d8)](_0x14b405,void 0x0),'payload':_0xe51334});return;}try{const _0x2cf673=await issueOpenClawBootstrapToken(_0xa79a00[_0x436bcf(_0x8ce52._0x49efc5,0xee)]);this[_0x436bcf(_0x8ce52._0x2971ee,0x244)](_0x203934(0x66a,0x786)+_0x203934(_0x8ce52._0x511a67,0x637)+_0x436bcf(-0x17,0x223)+_0x436bcf(0x1a6,0x1d2)+_0x203934(_0x8ce52._0x54f8e4,_0x8ce52._0x2203d8)+_0x588c83+(_0x436bcf(-0x30b,-0x19a)+'d=')+_0xa79a00[_0x203934(_0x8ce52._0x44ee8c,0x7c4)]['deviceId']+('\x20targetC'+'lientId=')+(_0x14b405||'<none>')+('\x20expires'+_0x436bcf(_0x8ce52._0x82dd17,0x200))+_0x2cf673[_0x203934(_0x8ce52._0x5aa609,0x4d4)+'tMs']);const _0xfbefb6={};_0xfbefb6['bootstra'+_0x436bcf(0x1cc,_0x8ce52._0x5b627e)]=_0x2cf673[_0x436bcf(-0x1d3,0x54)],_0xfbefb6[_0x436bcf(-_0x8ce52._0x55b053,-_0x8ce52._0x1febc2)+'tMs']=_0x2cf673[_0x436bcf(-0x305,-0x202)+'tMs'],this[_0x203934(0x6a4,0x832)+_0x436bcf(_0x8ce52._0x48811e,-_0x8ce52._0x36838a)]({'event':_0x4d8944[_0x203934(0x9b5,_0x8ce52._0x1250a7)],'requestId':_0x588c83,'targetClientId':_0x4d8944[_0x436bcf(0x156,0x2ad)](_0x14b405,void 0x0),'payload':_0xfbefb6});}catch(_0x536a36){const _0x101812=_0x536a36 instanceof Error?_0x536a36[_0x203934(_0x8ce52._0x100147,0x7c1)]:String(_0x536a36);this[_0x436bcf(0x228,0x244)](_0x436bcf(0x250,_0x8ce52._0x4887cc)+'otstrap\x20'+_0x203934(_0x8ce52._0x35d3af,0x8f9)+'sue\x20fail'+_0x203934(0x9e0,0x72f)+'stId='+_0x588c83+_0x203934(_0x8ce52._0x49242f,0x6a6)+_0x101812);const _0x3a7c84={};_0x3a7c84['code']='bootstra'+'p_issue_'+_0x436bcf(-_0x8ce52._0x261d6e,_0x8ce52._0x78d22f),_0x3a7c84[_0x436bcf(0x391,_0x8ce52._0x41f4a6)]=_0x101812;const _0x5b3e3b={};_0x5b3e3b['event']=_0x4d8944[_0x203934(_0x8ce52._0x156b45,0x5c4)],_0x5b3e3b['requestI'+'d']=_0x588c83,_0x5b3e3b[_0x203934(0xa9d,_0x8ce52._0x1a0dab)+'ientId']=_0x14b405||void 0x0,_0x5b3e3b[_0x203934(0x5a4,0x79a)]=_0x3a7c84,this['sendRela'+_0x203934(0x443,0x6a5)](_0x5b3e3b);}}[_0x3266d5(0x96,0x325)+'rQueueGa'+_0x26b3dd(0x497,0x39a)+'sage'](_0xcec5c7){const _0x4696f5={_0x3facc8:0x33,_0x34d7b4:0x476,_0x2c2ba4:0x2e3,_0x2fcf5e:0x579,_0x28ee7b:0x2d6,_0x47eaad:0x19b,_0x33f364:0x135,_0x43b67c:0x8a,_0x3b847e:0x2e,_0x201286:0x79,_0x374b0f:0x16e,_0xc2e37:0x5d,_0xdfa820:0x240,_0xcba1e:0x2bd,_0x46e1e1:0x1c9,_0x4cbc28:0x162,_0x338ec3:0x3a9,_0x231d42:0x4f2,_0x4ecefc:0x20b,_0x1351b:0x64a,_0x157561:0x252,_0x291d70:0x377,_0x1ddeea:0xcf,_0x4c908b:0x316,_0x1aca11:0x8a,_0x16184e:0x210,_0x3b2d1d:0xe7,_0x30aaa5:0x2e2,_0x57a67a:0x2c1,_0x9dca6a:0x41f,_0x54f0a8:0x4d,_0xc50269:0x42f,_0x29a72d:0xf3,_0x1db46e:0x256,_0x1a47de:0x5,_0x48f77a:0x1c4,_0xb4dd5:0x1dc,_0x5d033b:0x29e,_0x560aa9:0x18,_0x59a6c0:0x249},_0x30b949={_0x35d6a2:0x208},_0x2900ac={_0x2cf4db:0x63},_0x556c9c={'voKmY':_0x21145c(_0x4696f5._0x3facc8,-0x15e)+_0x5670e0(0x2e9,_0x4696f5._0x34d7b4)+_0x5670e0(_0x4696f5._0x2c2ba4,_0x4696f5._0x2fcf5e)+'ng\x20conne'+'ct\x20hands'+_0x5670e0(0x3f9,_0x4696f5._0x28ee7b)+_0x5670e0(_0x4696f5._0x47eaad,0x316)+_0x21145c(0x1ee,0xaf)+_0x21145c(-_0x4696f5._0x33f364,-0x11)+_0x5670e0(0x1ba,_0x4696f5._0x43b67c),'cCMro':function(_0x16f07d,_0x1fba0e){return _0x16f07d(_0x1fba0e);}},_0x16cdb4=_0xcec5c7[_0x5670e0(_0x4696f5._0x3b847e,_0x4696f5._0x201286)]===_0x21145c(0x8f,-_0x4696f5._0x374b0f)&&isConnectHandshakeRequest(_0xcec5c7['text']);function _0x5670e0(_0x342769,_0x9bb34b){return _0x3266d5(_0x342769,_0x9bb34b-_0x2900ac._0x2cf4db);}if(this[_0x21145c(-_0x4696f5._0xc2e37,-0x73)+_0x21145c(0x12d,_0x4696f5._0xdfa820)+_0x5670e0(0x39a,_0x4696f5._0xcba1e)+'ing']){this[_0x5670e0(_0x4696f5._0x46e1e1,_0x4696f5._0x4cbc28)+_0x21145c(0x256,0x19a)+_0x5670e0(0x1e5,0x3fc)+'e'](_0xcec5c7);_0x16cdb4&&this[_0x5670e0(_0x4696f5._0x338ec3,_0x4696f5._0x231d42)](_0x21145c(0x33,0x259)+_0x21145c(_0x4696f5._0x4ecefc,0x18d)+_0x5670e0(0x6ca,0x579)+_0x5670e0(_0x4696f5._0x1351b,0x466)+_0x21145c(_0x4696f5._0x157561,_0x4696f5._0x291d70)+_0x5670e0(0xa0,0x2d6)+_0x5670e0(_0x4696f5._0x1ddeea,_0x4696f5._0x4c908b)+'il\x20gatew'+'ay\x20recon'+_0x5670e0(0x32c,_0x4696f5._0x1aca11));return;}const _0x3f1989=this[_0x5670e0(-_0x4696f5._0x16184e,0x9e)+'ocket'];function _0x21145c(_0x59e122,_0x379fed){return _0x3266d5(_0x379fed,_0x59e122- -_0x30b949._0x35d6a2);}if(!_0x3f1989||_0x3f1989[_0x5670e0(0x78e,0x544)+'te']!==_0x427ed3[_0x21145c(0x185,_0x4696f5._0x3b2d1d)]){this[_0x21145c(_0x4696f5._0x30aaa5,_0x4696f5._0x57a67a)+'tewayCon'+'nected'](),this['pushPend'+'ingGatew'+'ayMessag'+'e'](_0xcec5c7);_0x16cdb4&&this['log'](_0x556c9c[_0x5670e0(0x218,_0x4696f5._0x9dca6a)]);return;}if(!this[_0x21145c(0x1f9,_0x4696f5._0x54f0a8)+_0x5670e0(0x1a2,_0x4696f5._0xc50269)+_0x21145c(-0x190,-_0x4696f5._0x29a72d)]){if(!_0x16cdb4){this['pushPend'+_0x21145c(_0x4696f5._0x1db46e,_0x4696f5._0x1a47de)+_0x5670e0(0x1b6,0x3fc)+'e'](_0xcec5c7);return;}this[_0x21145c(0x1f9,0xbe)+_0x21145c(_0x4696f5._0x48f77a,-0xd)+_0x21145c(-0x190,-0x2d8)]=!![];const _0x2b59ca=_0x556c9c[_0x5670e0(0x24b,0x283)](parseConnectHandshakeMeta,_0xcec5c7[_0x21145c(0x8f,-_0x4696f5._0xb4dd5)]);this[_0x21145c(0x287,0x4cf)](_0x5670e0(0xfe,_0x4696f5._0x5d033b)+_0x5670e0(0x3a1,0x13c)+'e\x20starte'+_0x21145c(0xff,0x288)+'='+this['pendingG'+'atewayMe'+_0x21145c(-0x64,-0xed)][_0x5670e0(0x4b5,0x49d)]+_0x556c9c[_0x21145c(_0x4696f5._0x560aa9,0x112)](formatConnectHandshakeMetaForLog,_0x2b59ca));}this['sendToGa'+_0x5670e0(_0x4696f5._0x59a6c0,0x2cf)](_0xcec5c7);}['ensureGa'+_0x3266d5(0x1b5,0x2e3)+_0x3266d5(0x10,0x15b)](){const _0x1abc0c={_0x2df8e5:0x577,_0x3d432b:0x2b3,_0x226dc6:0x2f6,_0x3ac235:0x157,_0x4ced23:0x23c,_0xa95548:0x3bd,_0x3c08e9:0x2eb,_0x41c328:0x287,_0x56b1d8:0x2a7,_0xa50baa:0x20e,_0x2354be:0x1a,_0x2e239d:0x2cd,_0x2c1fbc:0x256,_0x1dacf2:0x1b4,_0x8e798f:0x162,_0xe19994:0x268,_0x2654a2:0x2c2},_0x45a166={_0x27dd80:0x552,_0x3ff31f:0x380,_0x5e4bab:0x23d,_0x284e7b:0x1dd,_0x1c0a4a:0x4e3,_0x37595f:0x28c,_0xb56d08:0x228,_0x117e49:0x6a1,_0x15d847:0x31,_0x3a9d71:0x14d,_0x116b31:0x34c,_0x52be67:0x287,_0x61f8d4:0x513,_0x262395:0x3fe,_0xce5289:0xaa,_0x3d1d31:0x44d,_0x180ddc:0x3f3,_0xcb597:0x52b,_0x317fcf:0x3fb,_0x30815b:0x3a6,_0x1a1aeb:0x4d6,_0xcc3963:0x3e3,_0x2c1c83:0x617,_0x134c22:0x3c6,_0x54a0b6:0x4b7,_0x3b27aa:0x4c1,_0x264f94:0xc1,_0x14c3b0:0x2cb,_0x46a4db:0x38e,_0x194573:0x8e,_0x308bdb:0x19c,_0x57f0da:0x1fd,_0x1fa5e4:0x4cc,_0x26d6ee:0x355,_0x345aff:0x2ac,_0x2097f4:0x14e,_0x36cb46:0x650,_0x481daf:0x3a0,_0x2e2d2a:0x55a,_0x277de9:0x579,_0x45e300:0x36,_0x4dc069:0x163,_0x1e2d03:0x50c,_0x1a1ac0:0x119},_0x38966a={_0x18190f:0x23},_0x2827d3={_0x3af910:0x8fe,_0x5c0f72:0x180,_0x2104cc:0x86},_0x166565={_0x20c027:0x3b1,_0x5295a6:0x12a},_0x406948={_0x58d757:0x59a,_0x2530a7:0x7c7,_0x3fde55:0x36a,_0x2ba92c:0x147,_0x1efa69:0x208,_0x2bab1f:0x40d,_0x5d33d3:0x37,_0x50acab:0x40d,_0x519746:0x6a9,_0x285f7d:0x20e,_0x3cd786:0x4c4,_0x1e4d00:0x6f1,_0x49ca91:0x5e2,_0x1c9e4b:0x63d,_0x207511:0x1f3,_0x46a575:0x55,_0x219955:0xd2,_0x4552c6:0x2b,_0x5a3110:0x2db,_0x2c6658:0x1c9,_0x36e40c:0x2b2,_0x41c956:0x52b,_0x130820:0x10c,_0x49cd8b:0x52a,_0x189589:0x129,_0x130a29:0x13d},_0x5c1a0b={_0x447e32:0x3ff},_0xb9a6c7={'eJxeR':function(_0x242d90,_0x5a480b){return _0x242d90!==_0x5a480b;},'xAZVN':function(_0x81b898,_0x7b1ed1){return _0x81b898(_0x7b1ed1);}};if(this[_0x322db0(0x3c9,_0x1abc0c._0x2df8e5)]||!this[_0x322db0(0x285,0x49d)+_0x15c5c3(0x9d,0x148)]()||this[_0x15c5c3(0xe,_0x1abc0c._0x3d432b)+'onnectin'+'g']||this['isGatewa'+_0x15c5c3(_0x1abc0c._0x226dc6,_0x1abc0c._0x3ac235)]()||this[_0x322db0(_0x1abc0c._0x4ced23,0x3a3)+_0x322db0(0x3c6,_0x1abc0c._0xa95548)+_0x322db0(_0x1abc0c._0x3c08e9,_0x1abc0c._0x4ced23)+_0x322db0(_0x1abc0c._0x41c328,0x50b)])return;this['gatewayC'+'onnectin'+'g']=!![],this['log']('gateway\x20'+_0x15c5c3(0x331,0x28a)+_0x322db0(0x96,_0x1abc0c._0x56b1d8)+'l='+this['options']['gatewayU'+'rl']);const _0x5e1e68=this[_0x15c5c3(0x29b,0x44b)+_0x322db0(_0x1abc0c._0xa50baa,0x358)](this[_0x15c5c3(-_0x1abc0c._0x2354be,-_0x1abc0c._0x2e239d)][_0x15c5c3(_0x1abc0c._0x2c1fbc,_0x1abc0c._0x1dacf2)+'rl']);function _0x322db0(_0x3086c9,_0x599f27){return _0x26b3dd(_0x3086c9- -_0x5c1a0b._0x447e32,_0x599f27);}this[_0x15c5c3(-_0x1abc0c._0x8e798f,-_0x1abc0c._0xe19994)+_0x322db0(0xd4,0x198)]=_0x5e1e68,_0x5e1e68[_0x15c5c3(0x145,0x3ce)](_0x15c5c3(-0xc7,-0xa9),()=>{if(this[_0x5b0fbe(_0x406948._0x58d757,_0x406948._0x2530a7)]||_0xb9a6c7[_0x5b0fbe(0x430,_0x406948._0x3fde55)](this['gatewayS'+'ocket'],_0x5e1e68)){_0x5e1e68[_0x5b0fbe(0x679,0x4af)]();return;}this[_0x5443cc(-0x14,0x1f5)+_0x5443cc(0x108,-0x12d)+'g']=![];function _0x5443cc(_0x5aef5f,_0x33b6e0){return _0x15c5c3(_0x5aef5f- -0x22,_0x33b6e0);}this[_0x5b0fbe(0x663,0x7c0)+_0x5443cc(0x20d,0x48a)+_0x5443cc(-_0x406948._0x2ba92c,-_0x406948._0x1efa69)]=![],this[_0x5b0fbe(_0x406948._0x2bab1f,0x64a)+'loseBoun'+_0x5b0fbe(0x4bc,0x34f)+_0x5443cc(_0x406948._0x5d33d3,0x1d2)]=![],this[_0x5b0fbe(_0x406948._0x50acab,_0x406948._0x519746)+_0x5443cc(0x3ae,0x303)+_0x5443cc(-0x143,-_0x406948._0x285f7d)]=Date[_0x5b0fbe(_0x406948._0x3cd786,0x526)]();function _0x5b0fbe(_0x4f826f,_0x2bc002){return _0x15c5c3(_0x4f826f-0x3ff,_0x2bc002);}const _0x4ea92a={};_0x4ea92a[_0x5b0fbe(0x40d,0x5f5)+_0x5443cc(0x3ae,0x225)]=!![],_0x4ea92a['lastErro'+'r']=null,this['updateSn'+'apshot'](_0x4ea92a),this[_0x5b0fbe(_0x406948._0x1e4d00,_0x406948._0x49ca91)](_0x5b0fbe(0x49d,_0x406948._0x1c9e4b)+_0x5443cc(_0x406948._0x207511,-_0x406948._0x46a575)+'d\x20sinceC'+'lientDem'+_0x5443cc(_0x406948._0x219955,_0x406948._0x4552c6)+this[_0x5443cc(_0x406948._0x5a3110,_0x406948._0x2c6658)+_0x5b0fbe(0x3b0,0x22e)](this[_0x5b0fbe(_0x406948._0x36e40c,_0x406948._0x41c956)+_0x5443cc(-0x20,_0x406948._0x130820)+_0x5b0fbe(_0x406948._0x49cd8b,0x53e)])),this['flushPen'+'dingGate'+_0x5443cc(_0x406948._0x189589,-_0x406948._0x130a29)+'ges']();}),_0x5e1e68['on'](_0x322db0(0x3c7,0x461),(_0xf51daf,_0x6d425c)=>{function _0x22c2f0(_0x3ae1b2,_0x13c36f){return _0x15c5c3(_0x13c36f-0x6c,_0x3ae1b2);}this['handleGa'+_0x22c2f0(-_0x166565._0x20c027,-_0x166565._0x5295a6)+'sage'](_0xf51daf,_0x6d425c);});function _0x15c5c3(_0xaaf1e5,_0x2f07f7){return _0x26b3dd(_0xaaf1e5- -0x62d,_0x2f07f7);}_0x5e1e68['once'](_0x322db0(0x53c,_0x1abc0c._0x2654a2),_0xd79a3a=>{const _0x1ddd03={_0x4c8845:0x14c};function _0x2e87d0(_0x552740,_0x416da9){return _0x322db0(_0x416da9- -_0x1ddd03._0x4c8845,_0x552740);}function _0x10464c(_0x464d7d,_0x5290c6){return _0x322db0(_0x5290c6-0x127,_0x464d7d);}this[_0x10464c(_0x2827d3._0x3af910,0x647)](_0x2e87d0(0x2db,_0x2827d3._0x5c0f72)+_0x2e87d0(0xcd,0x20)+_0xb9a6c7[_0x2e87d0(-_0x2827d3._0x2104cc,0xe5)](String,_0xd79a3a));}),_0x5e1e68['once'](_0x15c5c3(0x27a,0x48),(_0x3be002,_0x3871ae)=>{const _0x378c73={_0x58f02d:0x1cf};function _0x182366(_0x532680,_0x210919){return _0x15c5c3(_0x210919-_0x378c73._0x58f02d,_0x532680);}const _0x53bb07=summarizePendingGatewayMessages(this[_0x182366(0x3e4,_0x45a166._0x27dd80)+_0x40e168(0x342,_0x45a166._0x3ff31f)+'ssages'])['connectR'+_0x182366(0x3c0,_0x45a166._0x5e4bab)],_0x513311=this[_0x182366(0x169,_0x45a166._0x284e7b)+'loseBoun'+_0x182366(_0x45a166._0x1c0a4a,_0x45a166._0x37595f)+_0x182366(0x236,_0x45a166._0xb56d08)]&&shouldKeepGatewayConnected(this[_0x40e168(0x3e3,_0x45a166._0x117e49)]['clientCo'+_0x182366(0x4e7,0x332)],_0x53bb07);this[_0x40e168(-0x13f,-0xd8)+'ocket']===_0x5e1e68&&(this[_0x40e168(-0x13f,0xb9)+_0x182366(0x2af,0x75)]=null);this[_0x40e168(_0x45a166._0x15d847,-0x9)+_0x40e168(_0x45a166._0x3a9d71,_0x45a166._0x116b31)+'g']=![],this[_0x40e168(_0x45a166._0x52be67,0x525)+_0x182366(_0x45a166._0x61f8d4,_0x45a166._0x262395)+_0x182366(0x34c,_0x45a166._0xce5289)]=![],this[_0x40e168(0x31,-0x225)+'loseBoun'+_0x182366(_0x45a166._0x3d1d31,0x28c)+_0x182366(0x133,0x228)]=![],this[_0x40e168(_0x45a166._0x15d847,0x286)+_0x40e168(_0x45a166._0x180ddc,0x1ba)+_0x182366(0x205,0xae)]=null,this[_0x40e168(0x2a5,_0x45a166._0xcb597)+'lightCon'+_0x40e168(_0x45a166._0x317fcf,0x1a4)+'shakes']('gateway\x20'+_0x182366(0x5e4,0x5a2)+_0x182366(0x3fe,_0x45a166._0x30815b)+'e='+_0x3be002);function _0x40e168(_0x165241,_0x2dff3a){return _0x15c5c3(_0x165241-_0x38966a._0x18190f,_0x2dff3a);}this[_0x182366(0x1e8,0x299)+_0x182366(_0x45a166._0x1a1aeb,0x29b)]({'gatewayConnected':![],'lastError':_0x3be002===0x3e8||_0x513311?this[_0x40e168(_0x45a166._0xcc3963,0x23f)]['lastErro'+'r']:'gateway\x20'+_0x182366(_0x45a166._0x2c1c83,_0x45a166._0x134c22)+(_0x3871ae['toString']()||_0x3be002)}),this[_0x182366(_0x45a166._0x54a0b6,_0x45a166._0x3b27aa)](_0x40e168(_0x45a166._0x264f94,0x315)+'disconne'+_0x40e168(0x1fa,_0x45a166._0x14c3b0)+'e='+_0x3be002+_0x182366(_0x45a166._0x46a4db,0x467)+(_0x3871ae['toString']()||_0x182366(-_0x45a166._0x194573,_0x45a166._0x308bdb))+(_0x40e168(0x154,_0x45a166._0x57f0da)+'ientDema'+'ndMs=')+this[_0x182366(0x658,_0x45a166._0x1fa5e4)+_0x182366(_0x45a166._0x26d6ee,0x180)](this['clientDe'+_0x182366(_0x45a166._0x345aff,0x1d1)+_0x40e168(_0x45a166._0x2097f4,0x3ff)]));if(_0x513311){this[_0x182366(_0x45a166._0x36cb46,_0x45a166._0x3b27aa)]('gateway\x20'+_0x182366(0x36b,_0x45a166._0x481daf)+_0x182366(0x40f,0x4a9)+'eached;\x20'+_0x182366(_0x45a166._0x2e2d2a,_0x45a166._0x277de9)+_0x40e168(-_0x45a166._0x45e300,-0xed)+_0x40e168(_0x45a166._0x4dc069,-0x1f)+_0x182366(_0x45a166._0x1e2d03,0x531)),this[_0x182366(0x604,0x51c)+'tewayCon'+'nected']();return;}this[_0x40e168(-0x14f,-_0x45a166._0x1a1ac0)+_0x40e168(0xf4,0xaf)+'econnect']();});}['handleGa'+_0x3266d5(0x27e,0x7)+_0x26b3dd(0x579,0x2c1)](_0x1c6db0,_0x55644f){const _0x423d0f={_0x7a1787:0x51a,_0x27224f:0x7b,_0x3fa132:0x2e2,_0x3298cd:0x7da,_0x153b57:0x658,_0x51e044:0x4d2,_0x1a4cb2:0x158,_0x361458:0x3b9,_0x13207c:0x775,_0x31a2ee:0x5c8,_0x505fe0:0x5bb,_0x3236fc:0x723,_0x4ba146:0x52a,_0x710dd5:0x632,_0x2b7efe:0x6ed,_0x227f32:0x35e,_0x454b74:0x1ef,_0x1564d1:0x4b3,_0x2dc081:0x11d,_0x1c9cb0:0x191,_0xf2c5fb:0x3ac,_0x4a0883:0x46a},_0x210cf6={_0x7d935:0x34},_0x419e65={'huRkL':function(_0x4ffab3,_0x2092e9){return _0x4ffab3!==_0x2092e9;},'RddPW':function(_0x1b5bb1,_0x289460){return _0x1b5bb1(_0x289460);}},_0x240a53=this[_0x31347f(0x321,_0x423d0f._0x7a1787)+_0x31347f(_0x423d0f._0x27224f,_0x423d0f._0x3fa132)];if(!_0x240a53||_0x419e65[_0x4a0b63(_0x423d0f._0x3298cd,_0x423d0f._0x153b57)](_0x240a53['readySta'+'te'],_0x427ed3[_0x31347f(0x516,0x3a6)]))return;if(_0x55644f){_0x240a53[_0x4a0b63(_0x423d0f._0x51e044,0x740)](normalizeBinary(_0x1c6db0));return;}function _0x31347f(_0x50939d,_0x55e1c2){return _0x26b3dd(_0x55e1c2- -0x477,_0x50939d);}const _0x1b6b98=_0x419e65[_0x31347f(_0x423d0f._0x1a4cb2,_0x423d0f._0x361458)](normalizeText,_0x1c6db0);if(_0x1b6b98==null)return;function _0x4a0b63(_0x525494,_0x2e47fe){return _0x26b3dd(_0x2e47fe- -_0x210cf6._0x7d935,_0x525494);}const _0x25a06a=_0x419e65[_0x4a0b63(_0x423d0f._0x13207c,0x7fc)](parsePairingRequestFromError,_0x1b6b98);_0x25a06a&&this[_0x4a0b63(_0x423d0f._0x31a2ee,_0x423d0f._0x505fe0)+_0x4a0b63(_0x423d0f._0x3236fc,_0x423d0f._0x4ba146)+_0x4a0b63(_0x423d0f._0x710dd5,0x5c1)](_0x25a06a);const _0x3cd5f7=_0x419e65[_0x4a0b63(_0x423d0f._0x2b7efe,0x7fc)](parsePairResolvedEvent,_0x1b6b98);_0x3cd5f7&&this[_0x31347f(0x2db,_0x423d0f._0x227f32)+_0x31347f(0x6e3,0x475)+_0x31347f(0x529,0x4aa)](_0x3cd5f7[_0x31347f(0x42a,_0x423d0f._0x454b74)+'d'],_0x3cd5f7[_0x4a0b63(_0x423d0f._0x1564d1,0x4a0)]);const _0xcc72ac=parseResponseEnvelopeMeta(_0x1b6b98);_0xcc72ac&&this[_0x31347f(-_0x423d0f._0x2dc081,_0x423d0f._0x1c9cb0)+'atewayRe'+_0x31347f(0x501,_0x423d0f._0xf2c5fb)](_0xcc72ac),_0x240a53[_0x31347f(_0x423d0f._0x4a0883,0x2fd)](_0x1b6b98);}['flushPen'+_0x3266d5(0x385,0x22a)+'wayMessa'+_0x3266d5(0x64e,0x4e9)](){const _0x4e0d92={_0x2eef2c:0x62b,_0x12faac:0x5cb,_0x5877e7:0x732,_0x5555b5:0x7b3,_0x2866b9:0x8c5,_0x50bedd:0x831,_0x16db3d:0x860,_0x5380c9:0x545,_0x47febd:0x88f,_0x54b152:0x834,_0x45a021:0x4d7,_0x460e5e:0x6c6,_0x35fc16:0x6c0,_0x269af3:0x579,_0x52ba20:0x4f5,_0x39e981:0x741,_0x274e11:0x3fd,_0x2ecd24:0x861,_0x25369e:0x8ca,_0x20a3cc:0x784,_0x587c25:0xa5f,_0x24965a:0x7a6,_0x38d608:0x7ce,_0x33bd0a:0x7e1,_0x35fc2a:0x47a,_0x5e4a9b:0x418,_0x5357fa:0xaa0,_0x1249f4:0x771,_0xd70501:0x81e,_0x3c8281:0x98e,_0x3f3ec7:0x705};function _0x1cbcb0(_0x4c8b1a,_0xce6e36){return _0x3266d5(_0x4c8b1a,_0xce6e36-0x3a5);}const _0x383146=this[_0x1cbcb0(0x3ac,0x3e0)+_0xc5d66c(0x445,_0x4e0d92._0x2eef2c)];if(!_0x383146||_0x383146[_0xc5d66c(0x8e3,0x810)+'te']!==_0x427ed3[_0x1cbcb0(_0x4e0d92._0x12faac,_0x4e0d92._0x5877e7)])return;const _0x39e315=[];function _0xc5d66c(_0x1806a4,_0x18bbf1){return _0x3266d5(_0x18bbf1,_0x1806a4-0x402);}const _0x464858=dedupePendingGatewayMessages(this[_0x1cbcb0(_0x4e0d92._0x5555b5,_0x4e0d92._0x2866b9)+_0x1cbcb0(_0x4e0d92._0x50bedd,0x861)+_0xc5d66c(0x5a6,_0x4e0d92._0x16db3d)]);_0x464858[_0x1cbcb0(_0x4e0d92._0x5380c9,0x666)]>0x0&&this[_0x1cbcb0(_0x4e0d92._0x47febd,_0x4e0d92._0x54b152)](_0x1cbcb0(0x413,_0x4e0d92._0x45a021)+_0xc5d66c(0x4d1,_0x4e0d92._0x460e5e)+_0x1cbcb0(_0x4e0d92._0x35fc16,_0x4e0d92._0x269af3)+_0xc5d66c(0x625,0x731)+_0xc5d66c(_0x4e0d92._0x52ba20,0x78f)+_0xc5d66c(_0x4e0d92._0x39e981,0x604)+_0x1cbcb0(0x94a,0x8c8)+_0x1cbcb0(0x66e,_0x4e0d92._0x274e11)+_0x464858[_0x1cbcb0(0x7f2,0x666)]+_0xc5d66c(0x6b6,0x542)+_0x464858['messages'][_0xc5d66c(0x83c,0x670)]);this['pendingG'+_0x1cbcb0(0x676,_0x4e0d92._0x2ecd24)+'ssages']=[];for(const _0x2c0f01 of _0x464858[_0xc5d66c(_0x4e0d92._0x25369e,_0x4e0d92._0x20a3cc)]){if(!this[_0x1cbcb0(_0x4e0d92._0x587c25,_0x4e0d92._0x24965a)+_0xc5d66c(_0x4e0d92._0x38d608,_0x4e0d92._0x33bd0a)+_0xc5d66c(_0x4e0d92._0x35fc2a,0x470)]){if(_0x2c0f01[_0xc5d66c(_0x4e0d92._0x5e4a9b,0x5e5)]!==_0xc5d66c(0x699,0x540)||!isConnectHandshakeRequest(_0x2c0f01['text'])){_0x39e315[_0x1cbcb0(_0x4e0d92._0x5357fa,0x82f)](_0x2c0f01);continue;}this[_0x1cbcb0(0x6f2,_0x4e0d92._0x24965a)+_0x1cbcb0(0x53b,_0x4e0d92._0x1249f4)+_0xc5d66c(0x47a,0x1b9)]=!![];}this[_0x1cbcb0(0x6ea,_0x4e0d92._0xd70501)+_0x1cbcb0(0x386,0x611)](_0x2c0f01);}this[_0x1cbcb0(_0x4e0d92._0x3c8281,0x8c5)+'atewayMe'+_0xc5d66c(0x5a6,_0x4e0d92._0x3f3ec7)]=_0x39e315;}['sendToGa'+_0x3266d5(0x4a8,0x26c)](_0x526781){const _0x5782ea={_0x58d758:0x273,_0x3e9ce1:0x1c5,_0x28c998:0xa5,_0x445a19:0x1cd,_0x5b28fc:0x51,_0x4a7234:0x359,_0x4c71d0:0x523,_0xc361f:0x101,_0x3fb393:0x421,_0x348e5b:0x180,_0x4e05f4:0x2c9,_0x3b4470:0x262,_0x3570e2:0x28f,_0x1341ee:0x4d8,_0x42cf05:0x1b4,_0x3c4bda:0x14b,_0x5463b2:0x331,_0x20c297:0x41a,_0x13cdfd:0x124,_0x24b25d:0x39e,_0x716996:0x40e,_0x494cc0:0x56e,_0x16059c:0x1cd,_0x4982f4:0x0},_0x53a9b6={_0x59d7e5:0x306},_0x5d8eab={'yLSDw':function(_0x242222,_0x2cd465){return _0x242222(_0x2cd465);}};function _0x2b3f84(_0x57026e,_0x4bbff9){return _0x26b3dd(_0x4bbff9- -_0x53a9b6._0x59d7e5,_0x57026e);}const _0x1b99dd=this[_0x2b3f84(_0x5782ea._0x58d758,_0x5782ea._0x3e9ce1)+_0x2b3f84(_0x5782ea._0x28c998,_0x5782ea._0x445a19)];if(!_0x1b99dd||_0x1b99dd['readySta'+'te']!==_0x427ed3[_0x2b3f84(0x27b,0x517)]){this[_0x2b3f84(_0x5782ea._0x5b28fc,0x289)+'ingGatew'+_0x2b3f84(_0x5782ea._0x4a7234,_0x5782ea._0x4c71d0)+'e'](_0x526781);return;}function _0x5f3911(_0x3c2e6f,_0x46e4ac){return _0x26b3dd(_0x3c2e6f- -0x5a7,_0x46e4ac);}if(_0x526781[_0x5f3911(-_0x5782ea._0xc361f,-0xc)]===_0x2b3f84(0x402,_0x5782ea._0x3fb393)){const _0x2e6894=patchConnectRequestGatewayAuth(_0x526781[_0x5f3911(_0x5782ea._0x348e5b,0xb8)],readOpenClawInfo()),_0x440558=_0x5d8eab[_0x2b3f84(_0x5782ea._0x4e05f4,0x382)](parseConnectHandshakeMeta,_0x2e6894['text']);_0x440558&&(_0x440558['id']&&this[_0x5f3911(0xd,-0x1d1)+_0x2b3f84(0xe1,_0x5782ea._0x3b4470)+_0x5f3911(0x2b5,_0x5782ea._0x3570e2)+'s'][_0x2b3f84(_0x5782ea._0x1341ee,0x3e2)](_0x440558['id'],{'method':_0x440558[_0x5f3911(_0x5782ea._0x42cf05,-0xe3)],'startedAtMs':Date[_0x5f3911(_0x5782ea._0x3c4bda,_0x5782ea._0x5463b2)](),'slowWarningLogged':![]}),this[_0x2b3f84(0x7b7,0x619)]('gateway\x20'+_0x2b3f84(0x7d4,0x658)+_0x2b3f84(0x5bf,0x548)+'forwarde'+'d'+formatConnectHandshakeMetaForLog(_0x440558)));_0x2e6894[_0x2b3f84(0x65f,_0x5782ea._0x20c297)]&&this[_0x5f3911(0x378,0x488)](_0x5f3911(_0x5782ea._0x13cdfd,0x2d2)+_0x2b3f84(0x883,0x658)+_0x5f3911(_0x5782ea._0x24b25d,0x64d)+_0x5f3911(0x279,_0x5782ea._0x716996)+_0x2b3f84(-0x4a,0x209)+'rd');_0x1b99dd['send'](_0x2e6894[_0x2b3f84(_0x5782ea._0x494cc0,0x421)]);return;}_0x1b99dd[_0x5f3911(_0x5782ea._0x16059c,0x6f)](_0x526781[_0x5f3911(_0x5782ea._0x4982f4,0xfe)]);}[_0x26b3dd(0x5ad,0x6f0)+'wayReque'+'st'](_0x48db5f,_0x5df9c5){const _0x5cd672={_0x1b3f65:0x658,_0x522c48:0x749,_0x576acf:0x356,_0x16a27b:0x248,_0x57f488:0x198,_0x4c42cf:0x5f,_0x1f3d82:0x151,_0x3b6527:0x1d8,_0x1bbbfe:0x7dd,_0x7a876d:0x98e},_0x17610a={_0x3ef2bb:0x1ee},_0x44c366={'xFaAe':_0xe7bf25(_0x5cd672._0x1b3f65,_0x5cd672._0x522c48),'dLTyI':function(_0x1431af){return _0x1431af();},'xiyqr':_0xe7bf25(0x7f0,0x72a)},_0x3f409a=JSON[_0x4b288f(-0x185,-0x1d7)+'y']({'type':_0x44c366[_0x4b288f(_0x5cd672._0x576acf,_0x5cd672._0x16a27b)],'id':_0x4b288f(-_0x5cd672._0x57f488,_0x5cd672._0x4c42cf)+_0x44c366['dLTyI'](_0xe7fcf0),'method':_0x48db5f,'params':_0x5df9c5}),_0x1f9d6f={};function _0xe7bf25(_0x3a469b,_0x1acfb8){return _0x3266d5(_0x3a469b,_0x1acfb8-0x493);}function _0x4b288f(_0x259beb,_0x2f0a4f){return _0x3266d5(_0x259beb,_0x2f0a4f- -_0x17610a._0x3ef2bb);}_0x1f9d6f[_0x4b288f(-_0x5cd672._0x1f3d82,-_0x5cd672._0x3b6527)]=_0x44c366[_0xe7bf25(_0x5cd672._0x1bbbfe,0x5d1)],_0x1f9d6f[_0x4b288f(0x2ab,0xa9)]=_0x3f409a,this[_0xe7bf25(_0x5cd672._0x7a876d,0x7b8)+'rQueueGa'+_0x4b288f(-0x3ac,-0x1e7)+'sage'](_0x1f9d6f);}[_0x3266d5(0x43f,0x3a7)+_0x3266d5(0x347,0x21a)](_0x60b379){const _0x34f7e7={_0x18907c:0x8e6,_0x35f267:0x49f,_0x52f2eb:0x424,_0x26a609:0x531,_0x3d8c32:0x563,_0x4b7417:0x718,_0x13fc77:0x4ae,_0x3b4c9e:0x6a5,_0x1f6b3c:0x2b2,_0x40bb29:0x4cf,_0x451205:0x31d,_0x596d91:0x741,_0x55ac22:0x58f,_0x34c256:0x349,_0x6aba1e:0x4e5,_0x46cfc7:0x4ba,_0x483e11:0x339},_0x4f3206={_0x257528:0x349},_0x5b3105=this[_0x206cf2(0x648,_0x34f7e7._0x18907c)+_0x2e3d9f(0x272,_0x34f7e7._0x35f267)];if(!_0x5b3105||_0x5b3105[_0x206cf2(0x628,_0x34f7e7._0x52f2eb)+'te']!==_0x427ed3[_0x2e3d9f(_0x34f7e7._0x26a609,_0x34f7e7._0x3d8c32)])return;const _0x109276={};_0x109276[_0x2e3d9f(0x52f,_0x34f7e7._0x4b7417)]=_0x2e3d9f(_0x34f7e7._0x13fc77,_0x34f7e7._0x3b4c9e),_0x109276[_0x206cf2(_0x34f7e7._0x1f6b3c,_0x34f7e7._0x40bb29)]=_0x60b379['event'],_0x109276['requestI'+'d']=_0x60b379[_0x206cf2(_0x34f7e7._0x451205,0x11c)+'d'];function _0x2e3d9f(_0x21720e,_0x2b06cd){return _0x26b3dd(_0x2b06cd- -0x2ba,_0x21720e);}_0x109276[_0x2e3d9f(0x32d,0x58f)+'ientId']=_0x60b379[_0x2e3d9f(_0x34f7e7._0x596d91,_0x34f7e7._0x55ac22)+'ientId'];function _0x206cf2(_0x3f5ffb,_0x5af99d){return _0x26b3dd(_0x3f5ffb- -_0x4f3206._0x257528,_0x5af99d);}_0x109276[_0x206cf2(0x456,0x59a)]=_0x60b379[_0x2e3d9f(_0x34f7e7._0x34c256,_0x34f7e7._0x6aba1e)],_0x5b3105[_0x2e3d9f(0x77a,_0x34f7e7._0x46cfc7)]('__clawke'+'t_relay_'+'control_'+'_:'+JSON[_0x206cf2(0x15e,_0x34f7e7._0x483e11)+'y'](_0x109276));}[_0x26b3dd(0x5a0,0x2f6)+_0x26b3dd(0x66e,0x486)](_0x58edcd=![]){const _0x50d1fb={_0x1c4519:0x2b4,_0x52b42b:0x2a1,_0x550e1f:0x3d2,_0x34696b:0x2dd,_0x157689:0x4cb,_0x344829:0x6ac,_0x1c7f99:0x1f5,_0x17476b:0x3cf,_0x402c57:0x6da,_0x592476:0x3ac,_0x5e106b:0x4ae,_0x32ed79:0x2dc,_0x2b6cb1:0x111,_0x2ab10d:0x465,_0x3b5655:0x5b7,_0x57c056:0x412,_0x19aef3:0x4b2,_0x359096:0x4b0,_0xc503d0:0x759,_0x9c4a48:0x3d2,_0x3d57ba:0x154,_0x753a0:0x1bb,_0x4f2228:0x803,_0x202a29:0x6e4,_0x24fced:0x154,_0x5c1ba6:0xa2,_0x3a1e26:0x3fe,_0x1736d9:0x155,_0x6e5e0b:0x4c1,_0xc168c9:0x109,_0x25aa25:0x20c,_0x252e1c:0x76,_0x55e76d:0x43d,_0x3a9daf:0x92,_0x5016e5:0x18d},_0x578a6e={_0x58981b:0x2ba};this[_0x249f85(-0x12e,-_0x50d1fb._0x1c4519)+_0x249f85(_0x50d1fb._0x52b42b,_0x50d1fb._0x550e1f)+'r']&&(clearTimeout(this[_0x4ad59f(0x4b7,_0x50d1fb._0x34696b)+_0x4ad59f(_0x50d1fb._0x157689,_0x50d1fb._0x344829)+'r']),this['gatewayR'+_0x249f85(0x2a1,_0x50d1fb._0x1c7f99)+'r']=null);const _0x5d801a=summarizePendingGatewayMessages(this[_0x249f85(_0x50d1fb._0x17476b,0x118)+_0x249f85(0x36b,0x218)+'ssages'])[_0x249f85(0x67,-0x242)+_0x4ad59f(_0x50d1fb._0x402c57,0x4c5)],_0x457b0b=_0x58edcd&&this[_0x4ad59f(_0x50d1fb._0x592476,_0x50d1fb._0x5e106b)+'pen']()&&shouldKeepGatewayConnected(this[_0x4ad59f(0x957,0x817)][_0x4ad59f(0xd6,_0x50d1fb._0x32ed79)+_0x249f85(0x1af,-_0x50d1fb._0x2b6cb1)],_0x5d801a),_0x3c1c0d=this[_0x4ad59f(0x135,0x2f5)+'ocket'];this[_0x249f85(0x2b0,0x2c5)+'andshake'+'Started']=![],this[_0x4ad59f(0x49c,_0x50d1fb._0x2ab10d)+'onnected'+'AtMs']=null;if(!_0x3c1c0d){this[_0x4ad59f(_0x50d1fb._0x3b5655,0x465)+'loseBoun'+_0x4ad59f(_0x50d1fb._0x57c056,0x514)+_0x4ad59f(_0x50d1fb._0x19aef3,_0x50d1fb._0x359096)]=![],this[_0x4ad59f(0x3ce,0x465)+_0x4ad59f(_0x50d1fb._0xc503d0,0x581)+'g']=![];_0x457b0b&&this['ensureGa'+_0x4ad59f(_0x50d1fb._0x9c4a48,0x59d)+_0x4ad59f(_0x50d1fb._0x3d57ba,0x415)]();return;}if(_0x3c1c0d[_0x249f85(0x390,_0x50d1fb._0x753a0)+'te']===_0x427ed3['CLOSING']){this[_0x249f85(0x5a,0x27d)+_0x4ad59f(_0x50d1fb._0x4f2228,0x5ef)+_0x249f85(0x109,0x184)+_0x4ad59f(_0x50d1fb._0x202a29,0x4b0)]=_0x457b0b;return;}if(_0x3c1c0d['readySta'+'te']===_0x427ed3[_0x249f85(_0x50d1fb._0x24fced,-_0x50d1fb._0x5c1ba6)]){const _0x4cc7b3=(_0x4ad59f(_0x50d1fb._0x3a1e26,0x4cd)+'1')[_0x249f85(0x22f,0x4cb)]('|');let _0x57d79a=0x0;while(!![]){switch(_0x4cc7b3[_0x57d79a++]){case'0':this[_0x249f85(0x5a,_0x50d1fb._0x1736d9)+_0x4ad59f(_0x50d1fb._0x6e5e0b,0x5ef)+_0x249f85(_0x50d1fb._0xc168c9,_0x50d1fb._0x25aa25)+_0x249f85(0xa5,-_0x50d1fb._0x252e1c)]=![];continue;case'1':return;case'2':_0x457b0b&&this[_0x249f85(0x399,_0x50d1fb._0x55e76d)+'tewayCon'+_0x249f85(0xa,-_0x50d1fb._0x3a9daf)]();continue;case'3':this['gatewayS'+'ocket']===_0x3c1c0d&&(this['gatewayS'+'ocket']=null);continue;case'4':this[_0x249f85(0x5a,-0x22a)+_0x4ad59f(0x63e,0x581)+'g']=![];continue;}break;}}function _0x4ad59f(_0x4c8870,_0xda17e){return _0x3266d5(_0x4c8870,_0xda17e-_0x578a6e._0x58981b);}function _0x249f85(_0x11d0de,_0x1c8fab){return _0x3266d5(_0x1c8fab,_0x11d0de- -0x151);}this[_0x249f85(0x5a,-_0x50d1fb._0x5016e5)+_0x249f85(0x1e4,0x3a7)+'daryPend'+'ing']=_0x457b0b,_0x3c1c0d['close']();}[_0x3266d5(0x3d5,0x438)+'bSocket'](_0x2936bb){const _0xb80382={_0x2cb54e:0x1a8,_0x5414c5:0x32d,_0x46f2c2:0x3a8,_0xb32670:0x45,_0x36f85a:0xff};if(this[_0x490eb7(0x4b,-_0xb80382._0x2cb54e)]['createWe'+_0x2fec4b(_0xb80382._0x5414c5,0xe3)])return this[_0x490eb7(0x4b,0x223)][_0x490eb7(0x300,_0xb80382._0x46f2c2)+_0x490eb7(_0xb80382._0xb32670,0x1b0)](_0x2936bb);const _0x55fb87={};function _0x490eb7(_0x29272d,_0x5ae337){return _0x3266d5(_0x5ae337,_0x29272d- -0x138);}function _0x2fec4b(_0x33c4ca,_0xa3867b){return _0x3266d5(_0xa3867b,_0x33c4ca-0x1b0);}return _0x55fb87[_0x490eb7(0x197,-_0xb80382._0x36f85a)+'ad']=0x19*0x400*0x400,new _0x427ed3(_0x2936bb,_0x55fb87);}[_0x26b3dd(0x608,0x59d)+_0x3266d5(0x2b4,0x3a2)+'sponse'](_0x55269d){const _0x276c82={_0x51097c:0x24e,_0x402611:0x1b8,_0x4b2b5e:0x650,_0xa40835:0x5a7,_0x48a8c4:0xa1f,_0x403e01:0xec,_0x4126e9:0x538,_0x3511c3:0xce,_0x30b5a7:0x1a2,_0x2dc962:0x454,_0xa651a4:0x827,_0x56cf85:0x82a,_0x424d04:0x8f,_0x1c7996:0x264,_0x218327:0x9d6,_0x3f9bdc:0x7f0,_0x4765e4:0x6cf,_0x5b315e:0x5bc,_0x44c91b:0x794,_0x40c338:0x19e,_0x1b9059:0x429,_0x40ef1a:0x1ae,_0x4ea671:0x395,_0x3716ba:0x54c,_0x30a61c:0x2c6};function _0x435b2b(_0x468004,_0x4b8e14){return _0x26b3dd(_0x4b8e14-0x3f,_0x468004);}function _0x61b2c7(_0x30d6e8,_0x5468e2){return _0x26b3dd(_0x5468e2- -0x442,_0x30d6e8);}const _0x240431={};_0x240431[_0x61b2c7(-0x5,_0x276c82._0x51097c)]=_0x61b2c7(0x4b,_0x276c82._0x402611);const _0x39b1f4=_0x240431,_0x2814e0=this['inFlight'+_0x435b2b(_0x276c82._0x4b2b5e,_0x276c82._0xa40835)+'andshake'+'s'][_0x435b2b(_0x276c82._0x48a8c4,0x822)](_0x55269d['id']);if(!_0x2814e0)return;this['inFlight'+_0x61b2c7(-_0x276c82._0x403e01,0x126)+_0x61b2c7(_0x276c82._0x4126e9,0x41a)+'s'][_0x61b2c7(0x200,0x3a6)](_0x55269d['id']);const _0x214924=_0x55269d['ok']?_0x61b2c7(0x45,_0x276c82._0x3511c3):_0x61b2c7(_0x276c82._0x30b5a7,_0x276c82._0x2dc962)+_0x435b2b(_0x276c82._0xa651a4,_0x276c82._0x56cf85)+_0x61b2c7(0x2dc,_0x276c82._0x424d04)+(_0x55269d[_0x61b2c7(0x37f,0x558)+'e']??_0x61b2c7(0x8c,_0x276c82._0x402611))+('\x20errorMe'+_0x61b2c7(_0x276c82._0x1c7996,0xe4))+(_0x55269d[_0x435b2b(_0x276c82._0x218327,_0x276c82._0x3f9bdc)+'sage']??_0x39b1f4[_0x435b2b(0x4ea,_0x276c82._0x4765e4)]);this[_0x61b2c7(_0x276c82._0x5b315e,0x4dd)](_0x435b2b(_0x276c82._0x44c91b,0x70a)+'connect\x20'+_0x61b2c7(0x33b,_0x276c82._0x40c338)+'\x20reqId='+_0x55269d['id']+_0x61b2c7(_0x276c82._0x1b9059,0x583)+_0x2814e0['method']+('\x20elapsed'+_0x61b2c7(_0x276c82._0x40ef1a,_0x276c82._0x4ea671))+(Date['now']()-_0x2814e0[_0x435b2b(0xb5d,0x941)+_0x61b2c7(_0x276c82._0x3716ba,_0x276c82._0x30a61c)])+'\x20'+_0x214924);}[_0x3266d5(0x5f8,0x41f)+'lightCon'+_0x3266d5(0x3b2,0x575)+_0x26b3dd(0x52a,0x2b5)](_0x395690){const _0x29692e={_0x49cee0:0x7bb,_0x284dbb:0x1af,_0x2a7d3d:0x49c,_0x182a36:0x450,_0x4b5bbe:0x89c,_0x31d385:0x9b9,_0x5ad2e0:0x5b3,_0x5502e6:0x607,_0x430df4:0x67a,_0x5d387e:0x658,_0x1e8a7d:0x451,_0x38d76b:0xa5f,_0x1d7814:0xa22,_0x11f958:0x8ce,_0x5b5e2f:0x744,_0x278345:0x6ab,_0x403fa7:0x616},_0x593a02={_0x1f8c1e:0x118};function _0x3af0e4(_0x59f31c,_0x4f5443){return _0x26b3dd(_0x59f31c-0x9a,_0x4f5443);}function _0x82767a(_0x5f4652,_0x302a80){return _0x26b3dd(_0x5f4652- -_0x593a02._0x1f8c1e,_0x302a80);}if(this[_0x3af0e4(0x64e,_0x29692e._0x49cee0)+'ConnectH'+'andshake'+'s'][_0x82767a(0x3ed,_0x29692e._0x284dbb)]===0x0)return;for(const [_0xe6afbc,_0x1718ce]of this[_0x82767a(_0x29692e._0x2a7d3d,0x272)+_0x82767a(_0x29692e._0x182a36,0x461)+'andshake'+'s'][_0x82767a(0x7a8,_0x29692e._0x4b5bbe)]()){this[_0x3af0e4(_0x29692e._0x31d385,0x802)](_0x82767a(_0x29692e._0x5ad2e0,0x6d4)+_0x82767a(0x846,_0x29692e._0x5502e6)+_0x3af0e4(_0x29692e._0x430df4,_0x29692e._0x5d387e)+_0x3af0e4(0x702,_0x29692e._0x1e8a7d)+'\x20reqId='+_0xe6afbc+_0x3af0e4(_0x29692e._0x38d76b,_0x29692e._0x1d7814)+_0x1718ce[_0x3af0e4(0x7f5,0x8d4)]+('\x20elapsed'+'Ms=')+(Date[_0x3af0e4(0x78c,0x9d0)]()-_0x1718ce['startedA'+_0x3af0e4(0x7a2,0x77e)])+_0x82767a(0x7ad,_0x29692e._0x11f958)+_0x395690);}this['inFlight'+_0x3af0e4(0x602,0x3e1)+_0x82767a(_0x29692e._0x5b5e2f,_0x29692e._0x278345)+'s'][_0x82767a(_0x29692e._0x403fa7,0x773)]();}[_0x3266d5(0x4f,0x2b)+_0x3266d5(0x406,0x169)+_0x3266d5(0x3bc,0x2d8)](){const _0x3b762a={_0x305678:0x54c,_0x3e9a4f:0x64e,_0x5d9160:0xaa0,_0x492f6d:0x329,_0x27958e:0x39d,_0x2b7513:0x499,_0x26cb5f:0x85d,_0x4712b3:0x7c5,_0x4446f9:0x67b,_0x5ae6f5:0x39a,_0x247857:0x1a8,_0x2b9585:0x3db,_0x3f0091:0x489,_0x2736b7:0xc8,_0x3a34e7:0x454},_0x5ee31d={_0x10a1e3:0x19f,_0x237205:0x1cb,_0x491516:0x7a},_0x183baa={_0x1bd00f:0x13f},_0x291412={_0x3d601e:0x384},_0x4c38d8={_0x300419:0x316},_0x1e8f0c={_0x2012ee:0xf3},_0x17c815={'kyjUf':function(_0x348c27,_0x49ac17,_0x16aa32){return _0x348c27(_0x49ac17,_0x16aa32);}};if(this[_0x5ca4cf(_0x3b762a._0x305678,_0x3b762a._0x3e9a4f)]||this[_0x5ca4cf(_0x3b762a._0x5d9160,0x85d)+'tTimer'])return;function _0x28904c(_0x3a0f88,_0xf7470){return _0x3266d5(_0xf7470,_0x3a0f88- -_0x1e8f0c._0x2012ee);}const _0x1bce8b=this[_0x5ca4cf(0x54a,0x499)][_0x28904c(0x454,_0x3b762a._0x492f6d)+'tBaseDel'+_0x5ca4cf(0x37d,_0x3b762a._0x27958e)]??RECONNECT_BASE_DELAY_MS;function _0x5ca4cf(_0x46aebe,_0x246a07){return _0x3266d5(_0x46aebe,_0x246a07-_0x4c38d8._0x300419);}const _0x4d3bfb=this[_0x5ca4cf(0x250,_0x3b762a._0x2b7513)][_0x5ca4cf(0xa8c,_0x3b762a._0x26cb5f)+'tMaxDela'+_0x5ca4cf(_0x3b762a._0x4712b3,_0x3b762a._0x4446f9)]??RECONNECT_MAX_DELAY_MS,_0x496187=Math[_0x5ca4cf(_0x3b762a._0x5ae6f5,0x3a6)](_0x4d3bfb,_0x1bce8b*Math[_0x28904c(0x79,_0x3b762a._0x247857)](0x1,this[_0x5ca4cf(0x428,0x564)+_0x5ca4cf(0x50e,0x579)]));this[_0x28904c(0x39c,0x5dc)](_0x28904c(0x19c,-0x2c)+_0x28904c(_0x3b762a._0x2b9585,_0x3b762a._0x3f0091)+_0x28904c(-_0x3b762a._0x2736b7,0xd0)+_0x28904c(0x14c,0x1ec)+'s='+_0x496187),this[_0x28904c(_0x3b762a._0x3a34e7,0x589)+'tTimer']=_0x17c815[_0x28904c(0x3f2,0x234)](setTimeout,()=>{this['reconnec'+_0x14ec4f(_0x5ee31d._0x10a1e3,_0x5ee31d._0x237205)]=null;function _0x5f0684(_0x29ee0d,_0x437154){return _0x28904c(_0x29ee0d-_0x291412._0x3d601e,_0x437154);}function _0x14ec4f(_0x545226,_0x35c429){return _0x28904c(_0x545226- -_0x183baa._0x1bd00f,_0x35c429);}void this[_0x14ec4f(-_0x5ee31d._0x491516,-0x27d)+_0x5f0684(0x5f9,0x4b2)]();},_0x496187);}['schedule'+_0x3266d5(0x43b,0x26e)+_0x26b3dd(0x6af,0x890)](){const _0x30bad5={_0x452139:0x29d,_0x290f7f:0x40e,_0x2e45ec:0x5c8,_0x3fa2fc:0x35,_0x257847:0x2ca,_0x258f74:0x5a,_0x161aa2:0x1b,_0x25cad5:0xc4,_0x4cae83:0x633,_0x46b141:0x457,_0x37d62e:0x9f,_0x186e96:0x1fc,_0x594c2f:0xb2,_0x18afc4:0x4cd,_0x4c79bf:0x43b,_0x27438b:0x24a,_0x4ee3da:0x4c8,_0x15d025:0x6b4},_0xc46fe5={_0x420e37:0x169,_0x5cde80:0x17c},_0x33619d={_0x277c9c:0x112},_0x375001={_0x486d04:0xd6},_0x5f44ca=summarizePendingGatewayMessages(this[_0x12e9d8(0x5f6,0x830)+_0x26985c(_0x30bad5._0x452139,0x4d0)+'ssages'])['connectR'+'equests'];function _0x26985c(_0x505816,_0xb93581){return _0x3266d5(_0xb93581,_0x505816- -0x21f);}if(this[_0x12e9d8(_0x30bad5._0x290f7f,_0x30bad5._0x2e45ec)]||this[_0x12e9d8(0xf9,-_0x30bad5._0x3fa2fc)+_0x26985c(0x1d3,0x2c8)+'r']||!this[_0x12e9d8(_0x30bad5._0x257847,_0x30bad5._0x258f74)+_0x26985c(_0x30bad5._0x161aa2,-_0x30bad5._0x25cad5)]()||!shouldKeepGatewayConnected(this[_0x12e9d8(_0x30bad5._0x4cae83,_0x30bad5._0x46b141)][_0x12e9d8(0xf8,_0x30bad5._0x37d62e)+'unt'],_0x5f44ca))return;function _0x12e9d8(_0x3bce59,_0x2e1ef1){return _0x3266d5(_0x2e1ef1,_0x3bce59-_0x375001._0x486d04);}const _0x2b7067=this['options'][_0x26985c(-_0x30bad5._0x186e96,_0x30bad5._0x594c2f)+_0x12e9d8(0x57f,_0x30bad5._0x18afc4)+_0x12e9d8(_0x30bad5._0x4c79bf,_0x30bad5._0x27438b)]??GATEWAY_RETRY_DELAY_MS;this['gatewayR'+_0x12e9d8(_0x30bad5._0x4ee3da,_0x30bad5._0x15d025)+'r']=setTimeout(()=>{function _0x42be56(_0xb89396,_0x543eab){return _0x26985c(_0xb89396-_0x33619d._0x277c9c,_0x543eab);}function _0x5b0c12(_0x438a8b,_0xfa1241){return _0x26985c(_0xfa1241-0x436,_0x438a8b);}this[_0x42be56(-0xea,_0xc46fe5._0x420e37)+'etryTime'+'r']=null,this['ensureGa'+_0x5b0c12(0x2bf,0x4fa)+_0x42be56(0x4e,-_0xc46fe5._0x5cde80)]();},_0x2b7067);}['startHea'+_0x26b3dd(0x518,0x304)](){const _0x13d008={_0x1710c6:0x37b,_0x5c96a1:0x130,_0x157aa8:0x191,_0x3acf28:0xbc,_0x4c39c2:0x1c3},_0xdcb306={_0x220c85:0x970,_0x173696:0x706,_0xb43a7d:0x374,_0x4b7987:0x399,_0x293e49:0x775,_0x11cc49:0x5c6,_0x560f1d:0x64d,_0x5b7c06:0x7cd,_0x15c836:0x3d,_0x3a3032:0x6d1,_0x5dec16:0x424,_0x452cca:0x21d,_0x306c6e:0x208,_0x5c7674:0xb13,_0x58ad0c:0x3d5,_0x43d7df:0x22},_0x1df3ea={'UuitX':function(_0x2cffb5,_0x36781a,_0x3c5590){return _0x2cffb5(_0x36781a,_0x3c5590);}};function _0x200218(_0x701903,_0x15333b){return _0x3266d5(_0x15333b,_0x701903- -0x20c);}function _0x256440(_0x1a403d,_0x41fde0){return _0x3266d5(_0x1a403d,_0x41fde0- -0x20);}this[_0x256440(-0x131,0xe3)+_0x256440(0x603,_0x13d008._0x1710c6)](),this[_0x200218(-_0x13d008._0x5c96a1,_0x13d008._0x157aa8)+'tTimer']=_0x1df3ea['UuitX'](setInterval,()=>{const _0x5b2aba=this[_0x1b9171(_0xdcb306._0x220c85,_0xdcb306._0x173696)+_0x39589c(0x181,_0xdcb306._0xb43a7d)];if(!_0x5b2aba||_0x5b2aba[_0x39589c(_0xdcb306._0x4b7987,0x437)+'te']!==_0x427ed3['OPEN'])return;function _0x1b9171(_0x22e4a9,_0xf28709){return _0x256440(_0xf28709,_0x22e4a9-0x48f);}this[_0x1b9171(_0xdcb306._0x293e49,0x58b)+_0x1b9171(_0xdcb306._0x11cc49,_0xdcb306._0x560f1d)+_0x1b9171(_0xdcb306._0x5b7c06,0x9df)]();const _0x49b63c=this[_0x39589c(0x3b,_0xdcb306._0x15c836)]['heartbea'+'tTimeout'+'Ms']??HEARTBEAT_TIMEOUT_MS;function _0x39589c(_0x2cb839,_0x4c1efa){return _0x256440(_0x4c1efa,_0x2cb839- -0x128);}if(Date[_0x1b9171(_0xdcb306._0x3a3032,0x70f)]()-this[_0x39589c(_0xdcb306._0x5dec16,0x392)+'yActivit'+_0x39589c(_0xdcb306._0x452cca,_0xdcb306._0x306c6e)]>_0x49b63c){this[_0x1b9171(0x8fe,_0xdcb306._0x5c7674)]('relay\x20he'+'artbeat\x20'+_0x39589c(_0xdcb306._0x58ad0c,0x24c)+'t'),_0x5b2aba['terminat'+'e']();return;}_0x5b2aba[_0x39589c(-_0xdcb306._0x43d7df,0x6)]();},this[_0x256440(0x111,0x163)][_0x256440(-0x164,_0x13d008._0x3acf28)+'tInterva'+_0x200218(0x40,_0x13d008._0x4c39c2)]??HEARTBEAT_INTERVAL_MS);}[_0x26b3dd(0x593,0x535)+_0x3266d5(0x3b5,0x39b)](){const _0x18d2ad={_0x230fc5:0x940,_0x47fba9:0x199,_0x9970a6:0x7dd,_0x32233c:0xa82,_0x5db057:0x4e8,_0x1db3e6:0x22d,_0x3971f6:0x351,_0x184aed:0x15c},_0x38b4f0={_0x58c62f:0x84};function _0x3e2706(_0x2d00fb,_0x5ed2e6){return _0x26b3dd(_0x5ed2e6- -0x705,_0x2d00fb);}function _0x562ab2(_0x176c37,_0x110e0c){return _0x26b3dd(_0x176c37- -_0x38b4f0._0x58c62f,_0x110e0c);}this['heartbea'+_0x562ab2(0x7dd,_0x18d2ad._0x230fc5)]&&(clearInterval(this[_0x3e2706(-0x7d,-_0x18d2ad._0x47fba9)+_0x562ab2(_0x18d2ad._0x9970a6,_0x18d2ad._0x32233c)]),this[_0x562ab2(_0x18d2ad._0x5db057,_0x18d2ad._0x1db3e6)+_0x3e2706(_0x18d2ad._0x3971f6,_0x18d2ad._0x184aed)]=null);}['logSlowC'+_0x26b3dd(0x5e7,0x3d1)+'ndshakes'](){const _0x2ef682={_0xa88d3a:0x4cd,_0xb4bf28:0x40f,_0x31b912:0x8cc,_0x2ddfe1:0x7ca,_0x3b8a9a:0x6af,_0x31edac:0x387,_0xfccde5:0x3f3,_0x5ce2ea:0x31a,_0x2410e6:0x672,_0x50299a:0x458,_0x116b1e:0x34f,_0x5419a5:0x5f6,_0x61092a:0x7c5,_0x2ec256:0x585,_0x22a647:0x5a0,_0x4eb4a9:0x818,_0x14ccc2:0x7ba,_0x495ba:0x593,_0x300973:0x5ed,_0x3afd3d:0x778,_0xe37291:0x991},_0x3a73fa={_0x2a83cd:0x146};if(this['inFlight'+_0x190299(0x465,0x422)+_0x190299(0x80e,0x716)+'s']['size']===0x0)return;const _0x31d162=this[_0x190299(0x42e,_0x2ef682._0xa88d3a)][_0x464881(0x34a,_0x2ef682._0xb4bf28)+_0x464881(_0x2ef682._0x31b912,0x60e)+'WarnDela'+_0x190299(_0x2ef682._0x2ddfe1,_0x2ef682._0x3b8a9a)]??CONNECT_HANDSHAKE_WARN_DELAY_MS,_0x29d6ed=Date['now']();function _0x464881(_0xd1a265,_0x282dd2){return _0x26b3dd(_0x282dd2- -0x24e,_0xd1a265);}function _0x190299(_0x53e449,_0x19ac38){return _0x26b3dd(_0x19ac38- -_0x3a73fa._0x2a83cd,_0x53e449);}for(const [_0x59c9ea,_0x23debb]of this[_0x464881(_0x2ef682._0x31edac,0x366)+_0x464881(_0x2ef682._0xfccde5,_0x2ef682._0x5ce2ea)+_0x190299(0x765,0x716)+'s'][_0x464881(0x67c,_0x2ef682._0x2410e6)]()){const _0x128ddb=_0x29d6ed-_0x23debb['startedA'+_0x464881(_0x2ef682._0x50299a,0x4ba)];if(_0x23debb[_0x464881(0x46a,_0x2ef682._0x116b1e)+_0x190299(0x5ca,_0x2ef682._0x5419a5)+'d']||_0x128ddb<_0x31d162)continue;_0x23debb['slowWarn'+_0x190299(0x708,0x5f6)+'d']=!![],this[_0x190299(0x790,0x7d9)](_0x190299(_0x2ef682._0x61092a,_0x2ef682._0x2ec256)+_0x190299(_0x2ef682._0x22a647,_0x2ef682._0x4eb4a9)+_0x190299(0x78c,0x7b9)+_0x190299(_0x2ef682._0x14ccc2,_0x2ef682._0x495ba)+_0x464881(_0x2ef682._0x300973,_0x2ef682._0x3afd3d)+_0x59c9ea+_0x464881(_0x2ef682._0xe37291,0x777)+_0x23debb[_0x190299(0x730,0x615)]+(_0x190299(0x3a4,0x548)+_0x190299(0x521,0x691))+_0x128ddb);}}[_0x26b3dd(0x58f,0x5d0)+_0x3266d5(0x673,0x45e)+_0x26b3dd(0x829,0x6be)+'e'](_0x4e4d47){const _0x3c9045={_0x4987a3:0xbe9,_0x4ae161:0x9e8,_0x2e328a:0x1,_0x2b1ded:0x66c,_0x1eb103:0x1d1,_0x3b1c04:0x847,_0x4a8b11:0x9e8,_0x20e3d8:0xb5c,_0x45a000:0x989,_0x444636:0x792},_0x420fa4={_0x1e226d:0x6d3},_0xbdb043={_0x27ddb8:0x38};function _0x2a7a16(_0x3df786,_0x2c1a4a){return _0x26b3dd(_0x2c1a4a-_0xbdb043._0x27ddb8,_0x3df786);}function _0x4cf52e(_0x4285eb,_0x10d425){return _0x26b3dd(_0x10d425- -_0x420fa4._0x1e226d,_0x4285eb);}this[_0x2a7a16(_0x3c9045._0x4987a3,_0x3c9045._0x4ae161)+_0x4cf52e(-_0x3c9045._0x2e328a,0x279)+_0x2a7a16(0x6d5,_0x3c9045._0x2b1ded)][_0x4cf52e(_0x3c9045._0x1eb103,0x1f7)]>=MAX_PENDING_GATEWAY_MESSAGES&&this[_0x2a7a16(_0x3c9045._0x3b1c04,_0x3c9045._0x4a8b11)+_0x2a7a16(0x7b4,0x984)+'ssages'][_0x2a7a16(_0x3c9045._0x20e3d8,_0x3c9045._0x45a000)](),this[_0x2a7a16(0xc73,0x9e8)+_0x2a7a16(_0x3c9045._0x444636,0x984)+_0x4cf52e(-0x174,-0x9f)]['push'](_0x4e4d47);}[_0x3266d5(0x1ca,0x3e)+_0x3266d5(0x497,0x3ca)+_0x26b3dd(0x9eb,0xaaa)+'e'](){const _0x496fef={_0x5f1a19:0x9d5,_0x188939:0x804,_0x4beeec:0x9d5,_0x4e46f1:0x931,_0x39ca7b:0x7d4,_0x379405:0x91c,_0x3fa016:0x7f7,_0x12c60e:0x7ac,_0x233a48:0x599,_0x3d4b2b:0x433,_0x1dc060:0x743,_0x1b83a4:0x89c,_0x24b55a:0x7d7,_0x54b4a4:0x68b},_0x5527e1=summarizePendingGatewayMessages(this[_0x1f9d2e(_0x496fef._0x5f1a19,0x7f4)+_0x257987(0x949,_0x496fef._0x188939)+_0x257987(0x631,0x678)]);function _0x1f9d2e(_0x503d99,_0x4e9ba6){return _0x26b3dd(_0x503d99-0x25,_0x4e9ba6);}if(_0x5527e1['total']===0x0||_0x5527e1['connectR'+_0x257987(0x698,0x700)]>0x0)return;function _0x257987(_0x49190f,_0x436498){return _0x26b3dd(_0x49190f- -0x3,_0x436498);}this[_0x1f9d2e(_0x496fef._0x4beeec,_0x496fef._0x4e46f1)+_0x1f9d2e(0x971,_0x496fef._0x39ca7b)+'ssages']=[],this[_0x257987(_0x496fef._0x379405,0x8e3)](_0x1f9d2e(0x5e7,0x826)+_0x257987(0x6c1,_0x496fef._0x3fa016)+_0x257987(_0x496fef._0x12c60e,0xa65)+'ay\x20queue'+_0x1f9d2e(0x50a,0x324)+_0x5527e1[_0x257987(0x59c,0x3a6)]+_0x1f9d2e(_0x496fef._0x233a48,_0x496fef._0x3d4b2b)+_0x5527e1[_0x1f9d2e(_0x496fef._0x1dc060,_0x496fef._0x1b83a4)+'t']+_0x257987(0x73e,_0x496fef._0x24b55a)+_0x5527e1[_0x1f9d2e(0x706,_0x496fef._0x54b4a4)]);}[_0x3266d5(0x343,0x404)+'onnectSt'+_0x26b3dd(0x55a,0x530)](_0x3f35a9,_0x1e7779){const _0x2f1e5f={_0x126e8a:0xbf5,_0x58760f:0x9df,_0x231f93:0x4e7,_0x542132:0x7a0,_0x401670:0xd3e,_0x3811cb:0xa9b,_0x201251:0x30c,_0x45b467:0x172,_0x26038a:0x90a,_0x5f5862:0x8f0,_0x3a2502:0x862,_0x21bdb1:0x87a,_0x367e7c:0x2f2,_0x30bb87:0xa4b,_0x7dc1d3:0x93c},_0x166ff1={};_0x166ff1[_0xf4ba29(_0x2f1e5f._0x126e8a,_0x2f1e5f._0x58760f)]=_0x353b79(0x56f,_0x2f1e5f._0x231f93)+'d';const _0x1b0582=_0x166ff1,_0x3e8663=Date[_0xf4ba29(0x520,_0x2f1e5f._0x542132)](),_0x42b96c=new Map(this[_0xf4ba29(_0x2f1e5f._0x401670,_0x2f1e5f._0x3811cb)][_0x353b79(0x35c,0x4e7)+_0x353b79(_0x2f1e5f._0x201251,_0x2f1e5f._0x45b467)]['map'](_0x55ce3c=>[_0x55ce3c['id'],{..._0x55ce3c}])),_0x4c26bd=_0x42b96c['get'](_0x3f35a9)??{'id':_0x3f35a9,'label':_0x1e7779,'state':_0x1b0582['XwIZJ'],'lastSeenMs':_0x3e8663};_0x4c26bd[_0x353b79(0x45a,0x3f3)]=_0x1e7779,_0x4c26bd[_0xf4ba29(0x87b,0x8ad)]=_0xf4ba29(_0x2f1e5f._0x26038a,_0x2f1e5f._0x5f5862)+'d',_0x4c26bd[_0xf4ba29(0xb0d,_0x2f1e5f._0x3a2502)+'Ms']=_0x3e8663,_0x42b96c[_0xf4ba29(_0x2f1e5f._0x21bdb1,0x796)](_0x3f35a9,_0x4c26bd);const _0x3f75bd=[..._0x42b96c['values']()][_0x353b79(0x3ee,_0x2f1e5f._0x367e7c)]((_0x348f46,_0x9d889a)=>_0x9d889a[_0xf4ba29(0x625,0x862)+'Ms']-_0x348f46[_0xf4ba29(0xaa4,0x862)+'Ms'])['slice'](0x0,MAX_DEVICE_DETAILS);function _0xf4ba29(_0xb524e4,_0x5e8e3d){return _0x26b3dd(_0x5e8e3d-0xae,_0xb524e4);}const _0x42defc={};function _0x353b79(_0x5bc802,_0x5b0a54){return _0x26b3dd(_0x5b0a54- -0x35b,_0x5bc802);}_0x42defc['connecte'+'dDevices']=_0x3f75bd,this[_0xf4ba29(_0x2f1e5f._0x30bb87,0x7a5)+_0xf4ba29(_0x2f1e5f._0x7dc1d3,0x7a7)](_0x42defc);}[_0x26b3dd(0x605,0x7ca)+'cesRecen'+'t'](){const _0x3e957f={_0x47df2a:0x193,_0x192c18:0x46d,_0x41b511:0x666,_0x1200ab:0x565,_0x39c319:0x489},_0x59f9ae={_0x417313:0x564};function _0x4e5d56(_0x328fc8,_0x49973c){return _0x26b3dd(_0x49973c- -0x93,_0x328fc8);}function _0x2a7fce(_0xb9a70c,_0x4efe4c){return _0x26b3dd(_0x4efe4c- -_0x59f9ae._0x417313,_0xb9a70c);}this[_0x2a7fce(-0x60,_0x3e957f._0x47df2a)+_0x4e5d56(_0x3e957f._0x192c18,_0x3e957f._0x41b511)]({'connectedDevices':this[_0x2a7fce(_0x3e957f._0x1200ab,_0x3e957f._0x39c319)]['connecte'+'dDevices']['map'](_0x8f03b9=>({..._0x8f03b9,'state':_0x2a7fce(0x14e,0x40e)}))});}[_0x26b3dd(0x5ef,0x840)+_0x26b3dd(0x55e,0x63d)+_0x26b3dd(0x5f5,0x4a6)](_0x2e1f07){const _0x1611e9={_0x176472:0x27,_0x5da80a:0x1d3,_0x278a9b:0xea,_0x228886:0x2a3,_0x50eedf:0x4dc,_0x2f2ef9:0x36a,_0x3dd9dc:0x4b,_0x172ff0:0x19e,_0x3f8233:0x3e6,_0x89a722:0x15e,_0xe3f30e:0x116,_0x14effe:0x2d,_0x520413:0x33b,_0x2f518a:0x135,_0x3e929c:0x1ef,_0x1fbf22:0x142,_0x45dd3c:0xde},_0x41716b={_0x36fd2e:0x1f3};function _0xbe1862(_0x5da6cb,_0x1f2c5c){return _0x3266d5(_0x5da6cb,_0x1f2c5c- -_0x41716b._0x36fd2e);}if(this['snapshot']['pendingP'+_0x5291be(_0x1611e9._0x176472,-_0x1611e9._0x5da80a)+_0xbe1862(-0xd,-_0x1611e9._0x278a9b)][_0x5291be(0x132,_0x1611e9._0x228886)](_0x35d382=>_0x35d382[_0x5291be(0x82,0x16)+'d']===_0x2e1f07[_0xbe1862(-0x1f9,-0x1d)+'d']))return;function _0x5291be(_0x5d1982,_0x45601d){return _0x3266d5(_0x45601d,_0x5d1982- -0x154);}const _0x5c9f3e=[...this[_0xbe1862(_0x1611e9._0x50eedf,_0x1611e9._0x2f2ef9)][_0x5291be(-0x101,-0x318)+_0x5291be(0x27,-0x15a)+_0x5291be(-_0x1611e9._0x3dd9dc,-0xd5)],_0x2e1f07][_0x5291be(-0x14c,0x64)](-MAX_PENDING_PAIR_REQUESTS),_0x5b3c02={};_0x5b3c02[_0xbe1862(0xbd,-0x1a0)+_0xbe1862(0x20a,-0x78)+_0x5291be(-_0x1611e9._0x3dd9dc,0xa9)]=_0x5c9f3e,this['updateSn'+_0x5291be(0x115,-_0x1611e9._0x172ff0)](_0x5b3c02),this['options'][_0x5291be(_0x1611e9._0x3f8233,_0x1611e9._0x89a722)+'gPairReq'+_0xbe1862(-_0x1611e9._0xe3f30e,-_0x1611e9._0x14effe)]?.(_0x2e1f07),this[_0x5291be(_0x1611e9._0x520413,0x2df)](_0xbe1862(_0x1611e9._0x2f518a,0x2a9)+_0xbe1862(-_0x1611e9._0x3e929c,-0x152)+'ding\x20req'+'uestId='+_0x2e1f07['requestI'+'d']+(_0xbe1862(-0x3d5,-_0x1611e9._0x1fbf22)+'d=')+(_0x2e1f07['deviceId']||_0x5291be(0xd4,-_0x1611e9._0x45dd3c)+'>'));}[_0x3266d5(0x22a,0x345)+_0x3266d5(0x3b9,0x45c)+'esolved'](_0x273ad9,_0x3dcc1f){const _0x4fbfb1={_0x15a2a5:0x882,_0xd5f563:0x1e3,_0x59b466:0x562,_0x5c7713:0x378,_0x2574b4:0x142,_0x555fbc:0x69,_0x125e7e:0x2cf,_0x3e7e9c:0x37b,_0x4a089c:0x973,_0x3426c1:0x3d3,_0x239940:0x1e0,_0x4f0c3b:0x521},_0x38709a={_0x1ad1dc:0xf1},_0x3e7c27=this[_0x186aad(_0x4fbfb1._0x15a2a5,0x5c5)][_0x2e334e(0x178,0x3f2)+_0x186aad(0x48,_0x4fbfb1._0xd5f563)+'sts'][_0x186aad(_0x4fbfb1._0x59b466,_0x4fbfb1._0x5c7713)](_0x3b4a7b=>_0x3b4a7b['requestI'+'d']===_0x273ad9?{..._0x3b4a7b,'status':_0x3dcc1f==='approved'||_0x3dcc1f===_0x186aad(0x2ed,0x43c)?_0x3dcc1f:_0x3b4a7b[_0x186aad(0x684,0x3e4)]}:_0x3b4a7b),_0x30a1ab={};_0x30a1ab['pendingP'+_0x186aad(_0x4fbfb1._0x2574b4,0x1e3)+_0x2e334e(0x204,0x4a8)]=_0x3e7c27;function _0x2e334e(_0x2d477c,_0x4d7615){return _0x26b3dd(_0x4d7615- -_0x38709a._0x1ad1dc,_0x2d477c);}function _0x186aad(_0x518652,_0x57426b){return _0x26b3dd(_0x57426b- -0x428,_0x518652);}this[_0x186aad(_0x4fbfb1._0x555fbc,_0x4fbfb1._0x125e7e)+'apshot'](_0x30a1ab),this[_0x186aad(_0x4fbfb1._0x3e7e9c,0x4f7)](_0x2e334e(0x8f6,0x83b)+_0x2e334e(_0x4fbfb1._0x4a089c,0x7a7)+_0x2e334e(0x668,_0x4fbfb1._0x3426c1)+_0x186aad(_0x4fbfb1._0x239940,0x2ad)+_0x273ad9+(_0x2e334e(0x278,_0x4fbfb1._0x4f0c3b)+'n=')+_0x3dcc1f);}['updateSn'+_0x26b3dd(0x6f9,0x8e0)](_0x1913f7){const _0x541bdd={_0x3b266d:0x345,_0x3742cb:0x33f,_0x2f8d17:0x38,_0x121f7e:0x227,_0x5a736b:0x2f9},_0x18941f={_0x44f1bf:0x507};function _0x30b68a(_0x3c00ce,_0x1c5492){return _0x26b3dd(_0x3c00ce- -0x3b3,_0x1c5492);}Object[_0x30b68a(_0x541bdd._0x3b266d,_0x541bdd._0x3742cb)](this['snapshot'],_0x1913f7,{'lastUpdatedMs':Date[_0x2f9571(0x1eb,_0x541bdd._0x2f8d17)]()});function _0x2f9571(_0x13a325,_0x420f6e){return _0x26b3dd(_0x13a325- -_0x18941f._0x44f1bf,_0x420f6e);}this['options'][_0x30b68a(_0x541bdd._0x121f7e,0x1c)]?.(this[_0x2f9571(_0x541bdd._0x5a736b,0x310)+'hot']());}[_0x26b3dd(0x91f,0x8ec)](_0x45ad06){const _0xf2a772={_0x6767b8:0xdc,_0x2d49be:0x84},_0x57cde8={_0x42a3e6:0x6ef},_0x287e61={_0x47ec37:0x6a7};function _0x3ab737(_0x1fece4,_0x19f928){return _0x26b3dd(_0x19f928- -_0x287e61._0x47ec37,_0x1fece4);}function _0x467232(_0x313b19,_0x3c6135){return _0x26b3dd(_0x313b19- -_0x57cde8._0x42a3e6,_0x3c6135);}this[_0x467232(-_0xf2a772._0x6767b8,_0xf2a772._0x2d49be)][_0x3ab737(0x4d4,0x364)]?.(_0x45ad06);}['isRelayO'+_0x26b3dd(0x6ca,0x7b5)](){const _0x35746b={_0x1b9a29:0x3f2,_0x22afd8:0x1c,_0xe90efb:0x1ba,_0x2ac1f9:0x98,_0xa469c:0x27e};function _0xaaee86(_0x458d02,_0x510b06){return _0x26b3dd(_0x510b06- -0x59f,_0x458d02);}function _0x194191(_0x23ac69,_0x349a86){return _0x26b3dd(_0x23ac69- -0x1a9,_0x349a86);}return this[_0xaaee86(0x5e5,_0x35746b._0x1b9a29)+_0xaaee86(-_0x35746b._0x22afd8,_0x35746b._0xe90efb)]?.['readySta'+'te']===_0x427ed3[_0xaaee86(_0x35746b._0x2ac1f9,_0x35746b._0xa469c)];}[_0x26b3dd(0x92d,0xb93)+_0x26b3dd(0x923,0xb21)](){const _0xbf55a4={_0xfdb313:0x667,_0x54a504:0x796,_0x3b284a:0x725,_0x923ee7:0x19b,_0x5c7177:0x317,_0x2aef1d:0x24b,_0x2f39cb:0x4ed,_0x168ad7:0x4d0},_0x10728c={_0xc2a3b6:0x288};function _0x5c963b(_0x4318b7,_0x131c74){return _0x26b3dd(_0x4318b7- -0x330,_0x131c74);}const _0x23a15f={};function _0x13243b(_0x4c6870,_0x3876bd){return _0x26b3dd(_0x3876bd- -_0x10728c._0xc2a3b6,_0x4c6870);}_0x23a15f[_0x5c963b(_0xbf55a4._0xfdb313,_0xbf55a4._0x54a504)]=function(_0x110ffc,_0xfbf3bf){return _0x110ffc===_0xfbf3bf;};const _0x5c9362=_0x23a15f;return _0x5c9362[_0x5c963b(0x667,_0xbf55a4._0x3b284a)](this[_0x5c963b(_0xbf55a4._0x923ee7,0x99)+_0x13243b(_0xbf55a4._0x5c7177,_0xbf55a4._0x2aef1d)]?.[_0x5c963b(0x641,0x82d)+'te'],_0x427ed3[_0x5c963b(_0xbf55a4._0x2f39cb,_0xbf55a4._0x168ad7)]);}[_0x3266d5(0x71a,0x578)+_0x3266d5(0x343,0x323)](){const _0x4aa088={_0x5c6764:0x5ed,_0x1b92f7:0x4b2,_0x428b3a:0x79b,_0x5cbb31:0x616,_0x41b1d2:0x8bd,_0x12f7a7:0x434},_0x5c415a={_0x24c153:0x26c},_0x4ce9bc={_0x5105dd:0xe1};this[_0x41b6e4(_0x4aa088._0x5c6764,_0x4aa088._0x1b92f7)+_0x41b6e4(0x614,0x74a)]();function _0x41b6e4(_0x47c56a,_0x1fb30c){return _0x26b3dd(_0x1fb30c- -_0x4ce9bc._0x5105dd,_0x47c56a);}this[_0xe48d85(0x76b,0xa02)+_0x41b6e4(_0x4aa088._0x428b3a,0x780)]&&(clearTimeout(this['reconnec'+'tTimer']),this['reconnec'+'tTimer']=null);function _0xe48d85(_0x1f62c7,_0x1e952a){return _0x26b3dd(_0x1f62c7- -_0x5c415a._0x24c153,_0x1e952a);}this['gatewayR'+_0xe48d85(_0x4aa088._0x5cbb31,_0x4aa088._0x41b1d2)+'r']&&(clearTimeout(this[_0xe48d85(0x247,_0x4aa088._0x12f7a7)+_0x41b6e4(0x916,0x7a1)+'r']),this['gatewayR'+_0xe48d85(_0x4aa088._0x5cbb31,0x5a1)+'r']=null);}['elapsedS'+_0x3266d5(0x40e,0x14e)](_0x4444c4){const _0x46173a={_0x4a3081:0x3b5,_0x1835fc:0x1b9},_0x22a28d={};_0x22a28d[_0x23bf90(_0x46173a._0x4a3081,0x16b)]=function(_0x472605,_0x28024f){return _0x472605-_0x28024f;};function _0x23bf90(_0x4ebf6b,_0x409b3b){return _0x26b3dd(_0x409b3b- -0x443,_0x4ebf6b);}const _0x50e846=_0x22a28d;function _0x5cb845(_0x125c86,_0x356b09){return _0x26b3dd(_0x125c86- -0x4bf,_0x356b09);}return _0x4444c4==null?null:Math[_0x23bf90(0x3a0,_0x46173a._0x1835fc)](0x0,_0x50e846['MufMj'](Date['now'](),_0x4444c4));}};function _0x47f8(_0x31ca37,_0x1383f8){_0x31ca37=_0x31ca37-0x171;const _0x17a50c=_0x1cc1();let _0x23587f=_0x17a50c[_0x31ca37];if(_0x47f8['ThIvvi']===undefined){var _0x1e9614=function(_0x20d5b4){const _0x169c7a='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x397c1b='',_0xe3bad5='',_0x3ca24e=_0x397c1b+_0x1e9614;for(let _0x416de4=0x0,_0x3321ad,_0x102752,_0xc4711b=0x0;_0x102752=_0x20d5b4['charAt'](_0xc4711b++);~_0x102752&&(_0x3321ad=_0x416de4%0x4?_0x3321ad*0x40+_0x102752:_0x102752,_0x416de4++%0x4)?_0x397c1b+=_0x3ca24e['charCodeAt'](_0xc4711b+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x3321ad>>(-0x2*_0x416de4&0x6)):_0x416de4:0x0){_0x102752=_0x169c7a['indexOf'](_0x102752);}for(let _0x1e5e7b=0x0,_0x342630=_0x397c1b['length'];_0x1e5e7b<_0x342630;_0x1e5e7b++){_0xe3bad5+='%'+('00'+_0x397c1b['charCodeAt'](_0x1e5e7b)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0xe3bad5);};_0x47f8['DJlGoD']=_0x1e9614,_0x47f8['esTulf']={},_0x47f8['ThIvvi']=!![];}const _0x1cc1ea=_0x17a50c[0x0],_0x47f8a3=_0x31ca37+_0x1cc1ea,_0x3dc0a3=_0x47f8['esTulf'][_0x47f8a3];if(!_0x3dc0a3){const _0x1bf55b=function(_0x33c76f){this['NZOVqO']=_0x33c76f,this['RvkpWN']=[0x1,0x0,0x0],this['UeKPpf']=function(){return'newState';},this['nPItkc']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['IYiCyE']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x1bf55b['prototype']['LemkxX']=function(){const _0x1be139=new RegExp(this['nPItkc']+this['IYiCyE']),_0x7f6946=_0x1be139['test'](this['UeKPpf']['toString']())?--this['RvkpWN'][0x1]:--this['RvkpWN'][0x0];return this['yEgaCT'](_0x7f6946);},_0x1bf55b['prototype']['yEgaCT']=function(_0x7603a7){if(!Boolean(~_0x7603a7))return _0x7603a7;return this['PkJXgv'](this['NZOVqO']);},_0x1bf55b['prototype']['PkJXgv']=function(_0x773359){for(let _0x32cb50=0x0,_0x41123e=this['RvkpWN']['length'];_0x32cb50<_0x41123e;_0x32cb50++){this['RvkpWN']['push'](Math['round'](Math['random']())),_0x41123e=this['RvkpWN']['length'];}return _0x773359(this['RvkpWN'][0x0]);},new _0x1bf55b(_0x47f8)['LemkxX'](),_0x23587f=_0x47f8['DJlGoD'](_0x23587f),_0x47f8['esTulf'][_0x47f8a3]=_0x23587f;}else _0x23587f=_0x3dc0a3;return _0x23587f;}function shouldKeepGatewayConnected(_0x551df0,_0x12a1f6){return _0x551df0>0x0||_0x12a1f6>0x0;}function shouldScheduleGatewayIdleClose(_0xc851e9,_0x4fd831,_0x153a74){return _0x153a74&&!shouldKeepGatewayConnected(_0xc851e9,_0x4fd831);}function shouldRecycleGatewayForFreshClient(_0x277350,_0x933310,_0x1b88d2,_0x2f1a2a){return _0x1b88d2&&_0x933310>0x0&&(_0x277350===0x0||_0x2f1a2a);}function summarizePendingGatewayMessages(_0x3b01c1){const _0x2cfbfd={_0x3f968c:0xb3,_0xa1659f:0x90,_0x360e66:0x1bf,_0x2497b0:0x2a,_0x3c3c0c:0x25c,_0x218bb4:0x295,_0x28ea72:0x258,_0x18257c:0x2d5,_0x4836bf:0x120,_0x548d7b:0x212,_0x1eaca8:0x506},_0x458f8d={_0x211d61:0x7},_0x382a99={};_0x382a99[_0x47aaef(-0x118,_0x2cfbfd._0x3f968c)]=function(_0x3f25e8,_0x2ab62d){return _0x3f25e8===_0x2ab62d;};const _0x22a0d5=_0x382a99,_0x4dcff2={};_0x4dcff2[_0x156861(0x116,_0x2cfbfd._0xa1659f)]=_0x3b01c1['length'],_0x4dcff2[_0x156861(_0x2cfbfd._0x360e66,0x400)+_0x47aaef(_0x2cfbfd._0x2497b0,_0x2cfbfd._0x3c3c0c)]=0x0;function _0x156861(_0x407630,_0x233df7){return _0x3266d5(_0x233df7,_0x407630-_0x458f8d._0x211d61);}_0x4dcff2[_0x156861(_0x2cfbfd._0x218bb4,0x1a6)+'t']=0x0;function _0x47aaef(_0x5ef57d,_0x3e982b){return _0x3266d5(_0x3e982b,_0x5ef57d- -0x1e1);}_0x4dcff2[_0x156861(_0x2cfbfd._0x28ea72,_0x2cfbfd._0x18257c)]=0x0;const _0x398b0e=_0x4dcff2;for(const _0x354dc5 of _0x3b01c1){if(_0x22a0d5['PCwjR'](_0x354dc5[_0x47aaef(-0x1cb,-_0x2cfbfd._0x4836bf)],'binary')){_0x398b0e[_0x47aaef(0x70,-0x1b0)]+=0x1;continue;}if(isConnectHandshakeRequest(_0x354dc5[_0x47aaef(0xb6,0x34c)])){_0x398b0e[_0x156861(0x1bf,0x307)+_0x156861(_0x2cfbfd._0x548d7b,0x1a0)]+=0x1;continue;}_0x398b0e[_0x156861(_0x2cfbfd._0x218bb4,_0x2cfbfd._0x1eaca8)+'t']+=0x1;}return _0x398b0e;}function dedupePendingGatewayMessages(_0x55ace7){const _0xf214b4={_0x34c606:0x3c9,_0xf016af:0x2a9,_0x33e725:0x692},_0x48e734={_0x41a97d:0x341};function _0x2298f7(_0x95ec37,_0x3726de){return _0x26b3dd(_0x3726de- -_0x48e734._0x41a97d,_0x95ec37);}let _0x4738da=-0x1;for(let _0x3c9297=_0x55ace7[_0xf2ae07(0x2ec,0x490)]-0x1;_0x3c9297>=0x0;_0x3c9297-=0x1){const _0x4fd734=_0x55ace7[_0x3c9297];if(_0x4fd734?.[_0x2298f7(_0xf214b4._0x34c606,0x165)]==='text'&&isConnectHandshakeRequest(_0x4fd734[_0x2298f7(_0xf214b4._0xf016af,0x3e6)])){_0x4738da=_0x3c9297;break;}}if(_0x4738da<=0x0){const _0x16069d={};return _0x16069d['messages']=[..._0x55ace7],_0x16069d['dropped']=0x0,_0x16069d;}const _0x3e35c0=_0x55ace7['filter']((_0x577dc8,_0x4238f5)=>_0x4238f5>=_0x4738da||(_0x577dc8['kind']!==_0x2298f7(0x147,0x3e6)||!isConnectHandshakeRequest(_0x577dc8[_0x2298f7(0x24c,0x3e6)])));function _0xf2ae07(_0x2ecd68,_0x58114e){return _0x26b3dd(_0x2ecd68- -0x5de,_0x58114e);}const _0xf99f18={};return _0xf99f18[_0x2298f7(0x7e3,0x617)]=_0x3e35c0,_0xf99f18[_0x2298f7(_0xf214b4._0x33e725,0x410)]=_0x55ace7['length']-_0x3e35c0['length'],_0xf99f18;}function prunePendingGatewayMessagesForFreshDemand(_0x41d85b){const _0x106773={_0x4c1060:0x33a,_0x231a4c:0xe2,_0x5dbd79:0x32c,_0x11153d:0x30b,_0x508725:0x25,_0x2ae5d9:0x484,_0x10d3be:0x180,_0xfef032:0x512,_0x4042c2:0x6c2,_0x2a03af:0x286,_0x283e24:0x725,_0x5b3991:0x3ff},_0x22ddef={_0x532cc0:0x4a},_0x73fb0f={};_0x73fb0f[_0x39edc7(_0x106773._0x4c1060,_0x106773._0x231a4c)]=function(_0x214662,_0x5b5fef){return _0x214662===_0x5b5fef;};const _0x5b53db=_0x73fb0f;if(_0x5b53db[_0x39edc7(0x33a,0x2c2)](_0x41d85b['length'],0x0)){const _0x46443e={};return _0x46443e[_0x52ac1c(0x512,_0x106773._0x5dbd79)]=[],_0x46443e[_0x52ac1c(_0x106773._0x11153d,0x1de)]=0x0,_0x46443e;}let _0x29f98b=-0x1;for(let _0x4dd8a=_0x41d85b[_0x52ac1c(0x484,0x35e)]-0x1;_0x4dd8a>=0x0;_0x4dd8a-=0x1){const _0x192a27=_0x41d85b[_0x4dd8a];if(_0x192a27?.[_0x39edc7(-_0x106773._0x508725,-0x2dd)]==='text'&&isConnectHandshakeRequest(_0x192a27[_0x39edc7(0x25c,0x2af)])){_0x29f98b=_0x4dd8a;break;}}function _0x39edc7(_0x337815,_0x5836c5){return _0x3266d5(_0x5836c5,_0x337815- -0x3b);}function _0x52ac1c(_0x4e2751,_0x3e27e3){return _0x3266d5(_0x3e27e3,_0x4e2751-_0x22ddef._0x532cc0);}if(_0x29f98b===-0x1){const _0xd9382a={};return _0xd9382a[_0x39edc7(0x48d,0x5cd)]=[],_0xd9382a['dropped']=_0x41d85b[_0x52ac1c(_0x106773._0x2ae5d9,0x335)],_0xd9382a;}const _0x2d5af5=_0x41d85b[_0x52ac1c(0x52,-_0x106773._0x10d3be)](_0x29f98b),_0x39f6d3={};return _0x39f6d3[_0x52ac1c(_0x106773._0xfef032,_0x106773._0x4042c2)]=_0x2d5af5,_0x39f6d3[_0x39edc7(_0x106773._0x2a03af,0x4ae)]=_0x41d85b[_0x52ac1c(_0x106773._0x2ae5d9,_0x106773._0x283e24)]-_0x2d5af5[_0x39edc7(_0x106773._0x5b3991,0x4b2)],_0x39f6d3;}function patchConnectRequestGatewayAuth(_0x54549f,_0x37ebe9){const _0x4f539f={_0x42265b:0x37c,_0x32e50b:0x44a,_0x84dfa1:0x3de,_0x23d3e2:0xb1b,_0x205b83:0x226,_0x32748c:0x64f,_0x5450aa:0x3fe,_0x5bf752:0x309,_0x1a6e34:0x582,_0x8f9449:0x373,_0xcf7f62:0x48c,_0x4b1e18:0x392,_0x57d851:0x52e,_0x6d9eb0:0x392,_0x1ff56f:0x7f4,_0x18bf2f:0x6cd,_0x5418d7:0x418,_0x10cf4b:0x45c,_0x6d68c4:0x4c7,_0x19f75b:0x9e7,_0x5977ea:0x7dd,_0x35409a:0x1fa,_0xbbb529:0x306,_0x39d28c:0x32b},_0x39e067={_0x423527:0x13a},_0xf1e785={};_0xf1e785[_0x280b88(0x1d7,_0x4f539f._0x42265b)]=function(_0x1405d0,_0x505c2e){return _0x1405d0!==_0x505c2e;};function _0x21257f(_0xf557c5,_0x4089c1){return _0x26b3dd(_0xf557c5- -0x322,_0x4089c1);}function _0x280b88(_0x12d135,_0x5181c1){return _0x26b3dd(_0x5181c1- -_0x39e067._0x423527,_0x12d135);}const _0x14560c=_0xf1e785;if(_0x37ebe9[_0x21257f(_0x4f539f._0x32e50b,0x5d2)]!=='password'||!_0x37ebe9['password']){const _0x11b46e={};return _0x11b46e['text']=_0x54549f,_0x11b46e[_0x21257f(0x3fe,_0x4f539f._0x84dfa1)]=![],_0x11b46e;}try{const _0xaf260=JSON['parse'](_0x54549f);if(_0x14560c[_0x21257f(0x194,0x362)](_0xaf260[_0x280b88(_0x4f539f._0x23d3e2,0x898)],'req')||_0xaf260[_0x21257f(0x439,0x565)]!=='connect'&&_0xaf260['method']!=='connect.'+_0x21257f(_0x4f539f._0x205b83,0x391)){const _0x2a6936={};return _0x2a6936[_0x280b88(_0x4f539f._0x32748c,0x5ed)]=_0x54549f,_0x2a6936[_0x21257f(_0x4f539f._0x5450aa,_0x4f539f._0x5bf752)]=![],_0x2a6936;}const _0x531021=_0xaf260['params']&&typeof _0xaf260[_0x280b88(_0x4f539f._0x1a6e34,_0x4f539f._0x8f9449)]===_0x280b88(_0x4f539f._0xcf7f62,_0x4f539f._0x4b1e18)?{..._0xaf260['params']}:{},_0x430f2a=_0x531021['auth']&&typeof _0x531021[_0x21257f(0x1fa,-0x6e)]===_0x280b88(_0x4f539f._0x57d851,_0x4f539f._0x6d9eb0)?{..._0x531021[_0x280b88(0x60b,0x3e2)]}:{},_0x500eb1=typeof _0x430f2a[_0x280b88(0x930,0x7dd)]===_0x280b88(_0x4f539f._0x1ff56f,_0x4f539f._0x18bf2f)?_0x430f2a['password'][_0x280b88(_0x4f539f._0x5418d7,0x67c)]():'';if(_0x500eb1){const _0xe98395={};return _0xe98395[_0x21257f(0x405,_0x4f539f._0x10cf4b)]=_0x54549f,_0xe98395[_0x280b88(_0x4f539f._0x6d68c4,0x5e6)]=![],_0xe98395;}_0x430f2a[_0x21257f(0x5f5,0x4f7)]=_0x37ebe9[_0x280b88(_0x4f539f._0x19f75b,_0x4f539f._0x5977ea)],_0x531021[_0x21257f(_0x4f539f._0x35409a,_0x4f539f._0xbbb529)]=_0x430f2a;const _0x362894={..._0xaf260};return _0x362894[_0x280b88(0x40a,0x373)]=_0x531021,{'text':JSON['stringif'+'y'](_0x362894),'injected':!![]};}catch{const _0x2979cb={};return _0x2979cb['text']=_0x54549f,_0x2979cb[_0x21257f(0x3fe,_0x4f539f._0x39d28c)]=![],_0x2979cb;}}function formatConnectHandshakeMetaForLog(_0x1c4b75){const _0x165454={_0x5de945:0x10,_0x36f06f:0x338,_0x3a1e86:0x431,_0x488f2a:0x4ea,_0x3de07a:0x327,_0x58a6c4:0x3d8,_0x3d6c8f:0x29a,_0x4604e2:0x468,_0x547f7a:0x697,_0x3f3101:0x50d,_0x268163:0x745,_0x20afca:0x752,_0x1968a8:0x4fd,_0x5705b6:0x709},_0x167a75={};_0x167a75['WavQb']='<none>';function _0x7e0248(_0x48bd18,_0x1fe8b8){return _0x3266d5(_0x48bd18,_0x1fe8b8-0x22d);}function _0x5232e3(_0x3e8084,_0x243949){return _0x3266d5(_0x243949,_0x3e8084- -0x126);}const _0x40df5a=_0x167a75;if(!_0x1c4b75)return'';return'\x20method='+_0x1c4b75['method']+_0x5232e3(-_0x165454._0x5de945,0xdd)+(_0x1c4b75['id']??'<none>')+(_0x7e0248(0x5e5,_0x165454._0x36f06f)+_0x7e0248(_0x165454._0x3a1e86,_0x165454._0x488f2a))+_0x1c4b75[_0x7e0248(0x37e,_0x165454._0x3de07a)+_0x7e0248(_0x165454._0x58a6c4,0x586)]+(_0x5232e3(_0x165454._0x3d6c8f,_0x165454._0x4604e2)+_0x7e0248(0x667,0x6ac))+(_0x1c4b75[_0x7e0248(_0x165454._0x547f7a,_0x165454._0x3f3101)+'gth']??0x0)+(_0x7e0248(0x987,_0x165454._0x268163)+_0x7e0248(_0x165454._0x20afca,_0x165454._0x1968a8))+(_0x1c4b75[_0x5232e3(0x15,0x112)+'ds'][_0x5232e3(0x314,0x463)]>0x0?_0x1c4b75['authFiel'+'ds'][_0x7e0248(0x590,_0x165454._0x5705b6)](','):_0x40df5a[_0x5232e3(0x11,0x1e9)]);}function parseBootstrapRequestPayload(_0x144dbd){const _0xba370f={_0x20b01c:0x28e,_0x25fecc:0x1a7,_0x44f92c:0xda,_0x467d50:0x4c1,_0x2cfbcf:0x63e,_0x1a39e2:0x7a3,_0x1de94a:0x44d,_0x2dcdbd:0x3ce,_0x29e206:0x4b5,_0x2ccffa:0x52,_0x45364d:0x480,_0x4b69d9:0x59f,_0x59a05c:0x508,_0x262fe7:0x243,_0x46d097:0x2d,_0x1bdf0a:0x18e,_0x3f4e8e:0x310,_0x1a9c5d:0x308,_0x451b76:0x4db,_0x4ac408:0x131,_0x346654:0x2fa,_0x412b53:0x5c6,_0x4acb0a:0x7fc,_0xc0ba54:0x459,_0x426de1:0x178,_0x4ea5bd:0x300,_0x1b4fbf:0x283,_0x4d024f:0x47a,_0x4889b4:0x27e,_0x3e2f57:0x6ba,_0x3fe4c7:0x55a,_0x2b375f:0x65,_0x45f60f:0x6e8,_0x4b37fe:0x4a6},_0x30ebe9={_0x1b4a5b:0x323},_0x405afa={'FVgFh':function(_0x35f840,_0x2ac5b2){return _0x35f840(_0x2ac5b2);},'RpAOh':_0x263a4d(0x1a5,_0xba370f._0x20b01c)+_0x263a4d(0x460,0x22a)+_0x263a4d(_0xba370f._0x25fecc,_0xba370f._0x44f92c)+_0x263a4d(0x6ce,0x74e)};if(!_0x144dbd){const _0x3255f1={};return _0x3255f1['ok']=![],_0x3255f1[_0xff6f95(0x243,_0xba370f._0x467d50)]=_0xff6f95(0x54f,0x72e)+_0x263a4d(_0xba370f._0x2cfbcf,_0xba370f._0x1a39e2),_0x3255f1[_0x263a4d(0x4a3,0x288)]=_0xff6f95(_0xba370f._0x1de94a,_0xba370f._0x2dcdbd)+'p.reques'+_0x263a4d(_0xba370f._0x29e206,0x26a)+_0xff6f95(0x422,0x1b9)+_0x263a4d(0x3bf,0x4d8),_0x3255f1;}const _0xacc024=readRequiredString(_0x144dbd['deviceId']),_0x3dd40f=readRequiredString(_0x144dbd[_0x263a4d(0x23e,-_0xba370f._0x2ccffa)+'y']);function _0x263a4d(_0x40a260,_0x5550a4){return _0x26b3dd(_0x40a260- -_0x30ebe9._0x1b4a5b,_0x5550a4);}const _0xc358c5=readRequiredString(_0x144dbd[_0x263a4d(_0xba370f._0x45364d,0x60a)]),_0x3fef2b=_0x405afa[_0xff6f95(0x56f,_0xba370f._0x4b69d9)](normalizeScopeList,_0x144dbd[_0xff6f95(_0xba370f._0x59a05c,0x66b)]);if(!_0xacc024){const _0x432609={};return _0x432609['ok']=![],_0x432609[_0xff6f95(_0xba370f._0x262fe7,_0xba370f._0x46d097)]='invalid_'+_0xff6f95(0x579,0x4ed),_0x432609['message']=_0x405afa[_0x263a4d(_0xba370f._0x1bdf0a,_0xba370f._0x3f4e8e)],_0x432609;}function _0xff6f95(_0x41d63f,_0x540585){return _0x26b3dd(_0x41d63f- -0x3e8,_0x540585);}if(!_0x3dd40f){const _0x48281d={};return _0x48281d['ok']=![],_0x48281d[_0x263a4d(_0xba370f._0x1a9c5d,0x5b9)]=_0x263a4d(0x614,0x649)+_0x263a4d(_0xba370f._0x2cfbcf,_0xba370f._0x451b76),_0x48281d[_0x263a4d(0x4a3,0x57f)]=_0xff6f95(0xe0,_0xba370f._0x4ac408)+_0x263a4d(0x23e,-0x3e)+'y\x20is\x20req'+_0xff6f95(_0xba370f._0x346654,0x58a),_0x48281d;}if(!_0xc358c5){const _0x23f397={};return _0x23f397['ok']=![],_0x23f397[_0x263a4d(0x308,_0xba370f._0x412b53)]=_0xff6f95(0x54f,0x72b)+_0x263a4d(0x63e,_0xba370f._0x4acb0a),_0x23f397[_0x263a4d(0x4a3,0x207)]=_0x263a4d(0x1a5,0x2fe)+_0xff6f95(_0xba370f._0xc0ba54,0x219)+'required',_0x23f397;}if(_0x3fef2b['length']===0x0){const _0x574410={};return _0x574410['ok']=![],_0x574410[_0xff6f95(_0xba370f._0x262fe7,_0xba370f._0x426de1)]='invalid_'+'request',_0x574410['message']='payload.'+_0x263a4d(_0xba370f._0x4ea5bd,0x47c)+_0xff6f95(_0xba370f._0x1b4fbf,0x1ad)+_0xff6f95(0x512,_0xba370f._0x4d024f)+_0x263a4d(_0xba370f._0x4889b4,0x13)+_0x263a4d(0x53a,_0xba370f._0x3e2f57),_0x574410;}const _0x27073c={};_0x27073c[_0x263a4d(0x460,_0xba370f._0x3fe4c7)]=_0xacc024,_0x27073c[_0xff6f95(0x179,_0xba370f._0x2b375f)+'y']=_0x3dd40f,_0x27073c[_0x263a4d(0x480,_0xba370f._0x45f60f)]=_0xc358c5,_0x27073c[_0x263a4d(0x5cd,0x778)]=_0x3fef2b;const _0x164d51={};return _0x164d51['ok']=!![],_0x164d51[_0x263a4d(_0xba370f._0x4b37fe,0x2fb)]=_0x27073c,_0x164d51;}function readRequiredString(_0x5b792c){function _0x2e51af(_0x5f15bc,_0x1176b0){return _0x26b3dd(_0x1176b0- -0x616,_0x5f15bc);}return typeof _0x5b792c==='string'?_0x5b792c[_0x2e51af(-0xe7,0x1a0)]():'';}function normalizeScopeList(_0x342ef3){const _0x33f756={_0x9b26d8:0x5df,_0x3bef91:0x7db,_0x299325:0x33,_0x3cefe3:0x861,_0x349bcf:0x963},_0x52d047={_0x59f8ff:0x2c};if(!Array[_0x48e16c(0x6d8,_0x33f756._0x9b26d8)](_0x342ef3))return[];function _0x3441d8(_0x1ef9b0,_0x94a8a){return _0x26b3dd(_0x94a8a- -0x57f,_0x1ef9b0);}const _0x3c198b=new Set();function _0x48e16c(_0x482abb,_0x2e515f){return _0x26b3dd(_0x482abb- -_0x52d047._0x59f8ff,_0x2e515f);}for(const _0x2319ed of _0x342ef3){if(typeof _0x2319ed!==_0x48e16c(_0x33f756._0x3bef91,0x71d))continue;const _0x21a432=_0x2319ed[_0x3441d8(-_0x33f756._0x299325,0x237)]();_0x21a432&&_0x3c198b[_0x48e16c(_0x33f756._0x3cefe3,_0x33f756._0x349bcf)](_0x21a432);}return[..._0x3c198b][_0x3441d8(0x2b,0xce)]();}function buildRelayWsUrl(_0x5f1247){const _0x2976e9={_0x3abdf9:0x73e,_0x227b09:0x223,_0x1c93be:0x487,_0x2ce284:0x20e,_0x33d758:0x864,_0x5e9bef:0x70a,_0x11bb03:0x7bc,_0x517a6e:0x579,_0x2474ce:0x5f7,_0x30dec3:0x63d,_0xef5b4c:0x510,_0x3d0140:0x749,_0x25224c:0x85d,_0x246f1b:0xa4a,_0x3e33ff:0x3d7,_0x4b5bb0:0x568,_0x2c6e98:0x844,_0x5ebe88:0x84b,_0x167bd3:0x6e0,_0x3fa13a:0x47b,_0x57d8bb:0x4d5,_0x5514a2:0x3df},_0x1d8ac5={_0x529c2e:0x2b4},_0x1037e9={};_0x1037e9[_0xf820c(0x2a5,0x3b9)]=_0x1c7c3c(_0x2976e9._0x3abdf9,0x4dc);function _0xf820c(_0x26ad16,_0x3eee54){return _0x26b3dd(_0x3eee54- -_0x1d8ac5._0x529c2e,_0x26ad16);}const _0x377095=_0x1037e9,_0x58d010=new URL(_0x5f1247[_0xf820c(0x2d4,0x398)]);(!_0x58d010['pathname']||_0x58d010[_0xf820c(_0x2976e9._0x227b09,0x20e)]==='/')&&(_0x58d010[_0xf820c(_0x2976e9._0x1c93be,_0x2976e9._0x2ce284)]=_0x377095[_0x1c7c3c(0x495,0x224)]);_0x58d010[_0xf820c(_0x2976e9._0x33d758,_0x2976e9._0x5e9bef)+_0x1c7c3c(_0x2976e9._0x11bb03,_0x2976e9._0x517a6e)][_0x1c7c3c(0x510,0x49f)](_0xf820c(_0x2976e9._0x2474ce,0x561)+'d',_0x5f1247[_0x1c7c3c(_0x2976e9._0x30dec3,0x3b4)+'d']);function _0x1c7c3c(_0x575d68,_0x3e30f3){return _0x26b3dd(_0x575d68- -0x1d8,_0x3e30f3);}return _0x58d010[_0x1c7c3c(0x7e6,0x9b1)+_0xf820c(0x97e,0x6e0)][_0x1c7c3c(_0x2976e9._0xef5b4c,_0x2976e9._0x3d0140)](_0x1c7c3c(0x5cb,_0x2976e9._0x25224c),_0xf820c(0x6fe,0x45c)),_0x58d010[_0x1c7c3c(0x7e6,_0x2976e9._0x246f1b)+_0xf820c(0x508,0x6e0)][_0x1c7c3c(0x510,0x431)](_0x1c7c3c(_0x2976e9._0x3e33ff,0x2dc),_0x5f1247[_0x1c7c3c(0x816,_0x2976e9._0x4b5bb0)+'Id']),_0x58d010[_0xf820c(_0x2976e9._0x2c6e98,0x70a)+_0xf820c(_0x2976e9._0x5ebe88,_0x2976e9._0x167bd3)][_0x1c7c3c(_0x2976e9._0xef5b4c,0x371)](_0xf820c(0x2ec,_0x2976e9._0x3fa13a),_0x5f1247[_0xf820c(0x6f3,0x61f)+_0xf820c(0x36d,_0x2976e9._0x57d8bb)]),_0x58d010[_0xf820c(0x50f,_0x2976e9._0x5514a2)]();}function redactRelayWsUrl(_0x5a60cf){const _0x22c7a5={_0x4d00b1:0x15e,_0x37993d:0xe1,_0x3a1d66:0x38d,_0x4d1aab:0xe1,_0x42d97c:0x69,_0xaad7c0:0x555,_0x3e0a6e:0x2c8,_0x1cbb91:0xaa},_0x4c1a83={_0x3814e9:0x25e},_0x4561f6={_0xc2da2e:0x1be},_0x1eae7e=new URL(_0x5a60cf);function _0x34a334(_0xe4e25a,_0xaf8ada){return _0x3266d5(_0xaf8ada,_0xe4e25a- -_0x4561f6._0xc2da2e);}function _0x5f149b(_0x3c0387,_0x5cddbb){return _0x3266d5(_0x3c0387,_0x5cddbb- -_0x4c1a83._0x3814e9);}return _0x1eae7e['searchPa'+'rams'][_0x5f149b(_0x22c7a5._0x4d00b1,0x28e)](_0x34a334(_0x22c7a5._0x37993d,0x1f5))&&_0x1eae7e[_0x5f149b(_0x22c7a5._0x3a1d66,0x2d0)+_0x5f149b(0x53d,0x2a6)]['set'](_0x34a334(_0x22c7a5._0x4d1aab,_0x22c7a5._0x42d97c),_0x5f149b(_0x22c7a5._0xaad7c0,_0x22c7a5._0x3e0a6e)+'d>'),_0x1eae7e[_0x5f149b(-_0x22c7a5._0x1cbb91,-0x5b)]();}function normalizeText(_0x2f1726){const _0x468bbb={_0x3cb385:0x681,_0x21457d:0x553,_0x16d822:0x431,_0x4abe56:0x696,_0x15c91a:0x700,_0xa3afef:0x58,_0x5085ed:0x247,_0x3f1cf0:0x649,_0x13a3d5:0x506,_0x273cd8:0x3bb,_0x4df7a6:0x6d2,_0x3d6b57:0x545,_0xb4251:0x247,_0x320fae:0x553,_0x4f2c20:0x65f,_0x36df2e:0x532,_0x36c617:0x1d0},_0x5db26d={_0x491d44:0x44c},_0x1453d5={};_0x1453d5['yJmPx']=function(_0x436b25,_0x167dfe){return _0x436b25 instanceof _0x167dfe;};function _0x49b771(_0x2b2558,_0x4f56cc){return _0x26b3dd(_0x2b2558- -0xa5,_0x4f56cc);}_0x1453d5[_0x49b771(_0x468bbb._0x3cb385,0x3f4)]=_0x49b771(_0x468bbb._0x21457d,_0x468bbb._0x16d822);function _0x4774a6(_0x288cab,_0x675a5b){return _0x26b3dd(_0x675a5b- -_0x5db26d._0x491d44,_0x288cab);}const _0x6f2291=_0x1453d5,_0x61a510=(_0x4774a6(_0x468bbb._0x4abe56,0x4be)+'0')[_0x4774a6(0x22c,0x3c4)]('|');let _0x2869e3=0x0;while(!![]){switch(_0x61a510[_0x2869e3++]){case'0':return null;case'1':if(_0x6f2291[_0x49b771(0x74c,0x6b1)](_0x2f1726,ArrayBuffer))return Buffer[_0x49b771(_0x468bbb._0x15c91a,0x8a5)](_0x2f1726)[_0x4774a6(-_0x468bbb._0xa3afef,_0x468bbb._0x5085ed)](_0x6f2291[_0x49b771(_0x468bbb._0x3cb385,_0x468bbb._0x3f1cf0)]);continue;case'2':if(typeof _0x2f1726===_0x4774a6(_0x468bbb._0x13a3d5,_0x468bbb._0x273cd8))return _0x2f1726;continue;case'3':if(Buffer[_0x49b771(_0x468bbb._0x4df7a6,_0x468bbb._0x3d6b57)](_0x2f1726))return _0x2f1726[_0x4774a6(0xba,_0x468bbb._0xb4251)](_0x49b771(_0x468bbb._0x320fae,0x6b1));continue;case'4':if(Array[_0x49b771(_0x468bbb._0x4f2c20,0x7d0)](_0x2f1726))return Buffer[_0x4774a6(0x7a6,_0x468bbb._0x36df2e)](_0x2f1726)[_0x4774a6(0x226,0x247)](_0x4774a6(_0x468bbb._0x36c617,0x1ac));continue;}break;}}function normalizeBinary(_0x1899a4){const _0x3d0218={_0x82159a:0x511,_0x13e75d:0x401,_0x170bea:0x282,_0x434124:0x501},_0x18817c={};_0x18817c[_0x218aba(0x71e,_0x3d0218._0x82159a)]='string';const _0x20a851=_0x18817c;if(Buffer[_0x218aba(0x691,_0x3d0218._0x13e75d)](_0x1899a4))return _0x1899a4;function _0x1fe765(_0x58526b,_0xe9e2d7){return _0x3266d5(_0xe9e2d7,_0x58526b-0x134);}if(typeof _0x1899a4===_0x20a851['xNIHl'])return Buffer[_0x1fe765(0x449,0x3cb)](_0x1899a4,_0x218aba(0x1b5,_0x3d0218._0x170bea));if(Array[_0x218aba(_0x3d0218._0x434124,0x38e)](_0x1899a4))return Buffer['concat'](_0x1899a4);function _0x218aba(_0x1f96c8,_0x3c66de){return _0x3266d5(_0x1f96c8,_0x3c66de-0x11a);}return Buffer[_0x1fe765(0x449,0x512)](_0x1899a4);}function readRecentCliLogs(_0x48b34b){const _0x2d477a={_0x4190aa:0x220,_0xe09b21:0x2c3,_0xc58e11:0x548,_0x2dafd9:0x7ca,_0x289342:0x275,_0x1c4a5a:0x871,_0x41701b:0x80a,_0x1a99dd:0x788,_0x3f8a50:0x7e2,_0x1e2d35:0x323},_0x258718={_0x4789f9:0x47d},_0x471f7f={_0x4526cc:0x110},_0x4ae12e={'aKNYa':function(_0x504407){return _0x504407();},'FiwRN':function(_0x1d0c55,_0x1611b1){return _0x1d0c55(_0x1611b1);}},{logPath:_0x1f4e5b,errorLogPath:_0x11f9ff}=_0x4ae12e[_0x4a8a5b(0x564,0x2d3)](getServicePaths),_0x478171=_0x4ae12e[_0x128e68(_0x2d477a._0x4190aa,_0x2d477a._0xe09b21)](clampLines,_0x48b34b?.[_0x4a8a5b(_0x2d477a._0xc58e11,0x3d5)]??0xc8);function _0x4a8a5b(_0x249c5d,_0x39d283){return _0x26b3dd(_0x249c5d- -_0x471f7f._0x4526cc,_0x39d283);}const _0x23e1be=_0x48b34b?.[_0x4a8a5b(0x7eb,_0x2d477a._0x2dafd9)]??null,_0x38ca18=_0x23e1be!=null?Date[_0x128e68(0x35c,_0x2d477a._0x289342)]()-_0x23e1be:null;function _0x128e68(_0xb4905f,_0x91a541){return _0x26b3dd(_0x91a541- -_0x258718._0x4789f9,_0xb4905f);}const _0x15cf1b=[_0x1f4e5b];_0x48b34b?.['includeE'+_0x4a8a5b(_0x2d477a._0x1c4a5a,0x852)]&&_0x15cf1b[_0x4a8a5b(_0x2d477a._0x41701b,_0x2d477a._0x1a99dd)](_0x11f9ff);const _0x10d143=_0x15cf1b[_0x128e68(_0x2d477a._0x3f8a50,0x56d)](_0x3e232e=>readLogFile(_0x3e232e)),_0x38c5dc=_0x38ca18==null?_0x10d143:_0x10d143[_0x4a8a5b(0x84d,0x604)](_0x51f3ee=>_0x51f3ee['ts']!=null&&_0x51f3ee['ts']>=_0x38ca18);return _0x38c5dc[_0x128e68(-0x29c,0x1b)](-_0x478171)[_0x128e68(0x350,_0x2d477a._0x1e2d35)](_0x2e48a6=>_0x2e48a6[_0x128e68(0x49b,0x596)]);}async function buildDoctorReport(){const _0x40ba69={_0x4997da:0x82e,_0xe6ed74:0x63f,_0x3ebdd3:0x4b5,_0x430cc5:0x534,_0x27c7e2:0x761,_0x4d0833:0x8d6,_0x5d3fdc:0x62e,_0x4893fb:0x405,_0x4d3567:0x2f,_0x2f65ac:0xc2,_0x4cfd32:0x5e3,_0x564713:0x82c,_0x221ad2:0x3ab,_0x107564:0x89,_0x3a68cf:0x44a,_0xd282c8:0x3cf,_0x31257e:0x216,_0x2b4903:0x15,_0x4ecfb2:0x46d,_0x5b8c15:0xd3,_0x2c8bc2:0xbd,_0x3c9be0:0xfc,_0x5c05c5:0x19b,_0x1973e3:0x822},_0x16e0c7={_0x15214d:0x699},_0x5aa5b6={_0x132dfb:0x118},_0x2910b3={'rfLTG':function(_0x13cc9e){return _0x13cc9e();},'MlUqz':function(_0x19f629,_0x3aff5c){return _0x19f629(_0x3aff5c);},'KNotE':function(_0x26e59d){return _0x26e59d();},'knsNr':function(_0x105b05,_0x2b2b22){return _0x105b05(_0x2b2b22);}},_0x3dc303=readPairingConfig();function _0x2e56cb(_0x1029ff,_0x52591b){return _0x26b3dd(_0x52591b- -_0x5aa5b6._0x132dfb,_0x1029ff);}const _0x2aab73=_0x2910b3[_0x3154b9(-0x156,0xe4)](getServiceStatus),_0x1f2f88=readOpenClawInfo(),_0x3e32ff=resolveGatewayUrl(),_0x5894ad=await _0x2910b3[_0x2e56cb(0x7b8,_0x40ba69._0x4997da)](checkGatewayReachable,_0x3e32ff);function _0x3154b9(_0xf27578,_0x3325c6){return _0x26b3dd(_0x3325c6- -_0x16e0c7._0x15214d,_0xf27578);}return{'paired':Boolean(_0x3dc303),'gatewayId':_0x3dc303?.[_0x2e56cb(0x4e6,0x6fd)+'d']??null,'serverUrl':_0x3dc303?.[_0x2e56cb(_0x40ba69._0xe6ed74,_0x40ba69._0x3ebdd3)+'l']??null,'relayUrl':_0x3dc303?.[_0x2e56cb(0x641,_0x40ba69._0x430cc5)]??null,'instanceId':_0x3dc303?.[_0x2e56cb(_0x40ba69._0x27c7e2,_0x40ba69._0x4d0833)+'Id']??null,'serviceInstalled':_0x2aab73[_0x2e56cb(_0x40ba69._0x5d3fdc,_0x40ba69._0x4893fb)+'d'],'serviceRunning':_0x2aab73[_0x3154b9(0x369,0x1f0)],'serviceMethod':_0x2aab73[_0x3154b9(-_0x40ba69._0x4d3567,_0x40ba69._0x2f65ac)],'servicePath':_0x2aab73[_0x2e56cb(_0x40ba69._0x4cfd32,_0x40ba69._0x564713)+_0x2e56cb(0x5aa,_0x40ba69._0x221ad2)],'logPath':_0x2aab73[_0x3154b9(_0x40ba69._0x107564,0x201)],'errorLogPath':_0x2aab73[_0x2e56cb(_0x40ba69._0x3a68cf,_0x40ba69._0xd282c8)+'Path'],'openclawConfigDir':_0x2910b3[_0x2e56cb(0x5bc,0x64e)](getOpenClawConfigDir),'openclawMediaDir':getOpenClawMediaDir(),'openclawConfigFound':_0x1f2f88[_0x3154b9(_0x40ba69._0x31257e,_0x40ba69._0x2b4903)+_0x2e56cb(0x3d6,_0x40ba69._0x4ecfb2)],'openclawAuthMode':_0x1f2f88[_0x3154b9(0x108,_0x40ba69._0x5b8c15)],'openclawTokenFound':_0x2910b3[_0x3154b9(_0x40ba69._0x2c8bc2,0x2ad)](Boolean,_0x1f2f88[_0x3154b9(_0x40ba69._0x3c9be0,0x96)]),'openclawPasswordFound':_0x2910b3[_0x3154b9(-0x3c,-_0x40ba69._0x5c05c5)](Boolean,_0x1f2f88[_0x2e56cb(_0x40ba69._0x1973e3,0x7ff)]),'localGatewayUrl':_0x3e32ff,'localGatewayReachable':_0x5894ad};}async function ensurePairPrerequisites(){const _0x53025a={_0x457712:0x3d1,_0xb699f:0x6ea,_0xbb9a58:0x864,_0x3c1901:0x3ea,_0x3b63de:0x639,_0x553911:0x275,_0x54602d:0x854,_0x3f77d1:0x4af,_0x29fe97:0x657,_0x153d97:0x875,_0x550e2a:0x4c6,_0xc4aacd:0x397,_0x19e844:0x2d0,_0x4e70c5:0x7f7,_0x38cb06:0x78c},_0x51c6dd={_0x47b16c:0x1e0},_0x5ab7a7={};function _0x38ae5d(_0x2c0f14,_0x329c52){return _0x26b3dd(_0x2c0f14- -0x165,_0x329c52);}_0x5ab7a7['IOisX']='Cannot\x20c'+'omplete\x20'+'`clawket'+'\x20pair`\x20b'+_0x38ae5d(_0x53025a._0x457712,0x234)+'ocal\x20Ope'+'nClaw\x20pr'+'erequisi'+_0x4ffe5e(0x50b,0x6e7)+'not\x20read'+'y.';const _0x13a701=_0x5ab7a7,_0x3be608=await buildDoctorReport();function _0x4ffe5e(_0x5b15ff,_0x31a411){return _0x26b3dd(_0x5b15ff- -_0x51c6dd._0x47b16c,_0x31a411);}const _0x5ed2ec=listPairPrerequisiteFailures(_0x3be608);if(_0x5ed2ec[_0x4ffe5e(_0x53025a._0xb699f,0x4d2)]>0x0)throw new Error([_0x13a701[_0x38ae5d(0x83f,0x6ad)],..._0x5ed2ec[_0x4ffe5e(0x5c0,0x6a9)](_0x291e78=>'-\x20'+_0x291e78),_0x38ae5d(_0x53025a._0xbb9a58,0x734)+_0x38ae5d(_0x53025a._0x3c1901,_0x53025a._0x3b63de)+_0x4ffe5e(0x5a6,0x7b7)+_0x38ae5d(0x477,_0x53025a._0x553911)+_0x4ffe5e(0x763,_0x53025a._0x54602d)+_0x38ae5d(0x4bd,_0x53025a._0x3f77d1)+_0x38ae5d(_0x53025a._0x29fe97,0x3b1)+_0x4ffe5e(0x74b,0x73d)+'rce`\x20onl'+'y\x20if\x20you'+_0x38ae5d(_0x53025a._0x153d97,0xa4d)+'onally\x20w'+_0x4ffe5e(_0x53025a._0x550e2a,_0x53025a._0xc4aacd)+'ypass\x20th'+_0x38ae5d(0x57f,_0x53025a._0x19e844)+_0x38ae5d(_0x53025a._0x4e70c5,0x795)][_0x4ffe5e(_0x53025a._0x38cb06,0x6c3)]('\x0a'));return _0x3be608;}function listPairPrerequisiteFailures(_0x4a8f29){const _0x1db4c2={_0x15c5a4:0x221,_0x39571f:0x570,_0x1de26f:0x75a,_0x13c173:0x2af,_0x150b81:0x4e0,_0x39e85d:0x4f7,_0x5aad57:0x6c3,_0x153df5:0x709,_0x5377d3:0x568,_0x3cea98:0x43b,_0x2a61ab:0x5b0,_0x71bce0:0x676,_0x4cc2d4:0x6f0,_0xd1aa14:0x5d5,_0x557249:0x428,_0x4dcc7a:0xb8b,_0x14e5c5:0x365,_0x162eef:0x5b8,_0x50012a:0x60b,_0x4183e5:0x64d,_0x3625df:0x932,_0x399f16:0x94f,_0x3548a2:0x69a,_0x4c2077:0x827,_0x38a785:0x5c3,_0x235651:0x840,_0x2d4f0a:0x69f,_0x4d481a:0x7f5,_0x5f5362:0x898,_0x3093e8:0x7af,_0x5e4404:0x3d6,_0x5cde59:0x7d5,_0x4139a2:0x842,_0x24d542:0x8a9,_0x23c842:0x717,_0x43f0eb:0x693,_0x38fcd8:0x639,_0x26a029:0x39a,_0x316334:0x2fd,_0x3581ac:0x576,_0xa1f64c:0x13f,_0x2cbcd9:0x3de,_0x5ee420:0x6f2,_0x3d537c:0x914,_0x3ebcff:0x6b9,_0x31528d:0x59d,_0xcaa2d3:0x74b,_0x120e77:0x908,_0x57dbb0:0x945,_0x477f8b:0x457,_0xa55ecf:0x9b3,_0x4582e6:0xa39,_0x2eca7d:0x817,_0x3ebdd8:0x83a,_0x505767:0x6d3,_0x37ce81:0x890,_0x3b591d:0x90c,_0x36a739:0x43e},_0x1582db={_0x4a51fa:0x2c4},_0x3c2791={_0x350310:0x4bb},_0x6fa8b0={};_0x6fa8b0[_0x14ac85(_0x1db4c2._0x15c5a4,0x32f)]=_0x2fb2b5(_0x1db4c2._0x39571f,_0x1db4c2._0x1de26f),_0x6fa8b0[_0x2fb2b5(_0x1db4c2._0x13c173,_0x1db4c2._0x150b81)]='OpenClaw'+'\x20gateway'+_0x2fb2b5(_0x1db4c2._0x39e85d,0x75e)+_0x14ac85(_0x1db4c2._0x5aad57,_0x1db4c2._0x153df5)+'g.';const _0x4d7e10=_0x6fa8b0,_0x5c7579=[];!_0x4a8f29[_0x2fb2b5(_0x1db4c2._0x5377d3,0x5d5)+'ConfigFo'+_0x2fb2b5(_0x1db4c2._0x3cea98,_0x1db4c2._0x2a61ab)]&&_0x5c7579['push'](_0x14ac85(0x294,0x3d6)+_0x14ac85(_0x1db4c2._0x71bce0,0x6cb)+_0x2fb2b5(0x79f,0x549)+'found\x20un'+_0x14ac85(0x321,0x432)+formatOpenClawConfigLocations()+'.');function _0x2fb2b5(_0x1a6c4a,_0x31c5d4){return _0x3266d5(_0x1a6c4a,_0x31c5d4-_0x3c2791._0x350310);}function _0x14ac85(_0x3bab25,_0x2ad790){return _0x3266d5(_0x3bab25,_0x2ad790-_0x1582db._0x4a51fa);}return _0x4a8f29[_0x2fb2b5(_0x1db4c2._0x4cc2d4,_0x1db4c2._0xd1aa14)+'TokenFou'+'nd']&&_0x4a8f29[_0x2fb2b5(_0x1db4c2._0x557249,0x5d5)+_0x2fb2b5(_0x1db4c2._0x4dcc7a,0x908)+_0x14ac85(_0x1db4c2._0x14e5c5,_0x1db4c2._0x162eef)]&&_0x4a8f29[_0x14ac85(_0x1db4c2._0x50012a,0x3de)+'AuthMode']==null&&_0x5c7579['push'](_0x2fb2b5(0x79e,0x5cd)+_0x14ac85(0x3fc,_0x1db4c2._0x4183e5)+_0x2fb2b5(_0x1db4c2._0x3625df,0x985)+_0x2fb2b5(0x864,_0x1db4c2._0x399f16)+_0x14ac85(_0x1db4c2._0x3548a2,0x5ce)+_0x2fb2b5(_0x1db4c2._0x4c2077,_0x1db4c2._0x38a785)+'figured,'+_0x14ac85(0x975,_0x1db4c2._0x235651)+_0x14ac85(_0x1db4c2._0x2d4f0a,_0x1db4c2._0x4d481a)+_0x2fb2b5(0x43d,0x610)+_0x2fb2b5(0x6e4,_0x1db4c2._0x5f5362)),!_0x4a8f29[_0x2fb2b5(0x527,0x5d5)+_0x14ac85(0x440,0x6b9)+'nd']&&!_0x4a8f29[_0x14ac85(0x406,0x3de)+'Password'+_0x2fb2b5(0x9ad,_0x1db4c2._0x3093e8)]&&_0x5c7579['push'](_0x14ac85(0x313,_0x1db4c2._0x5e4404)+_0x14ac85(_0x1db4c2._0x5cde59,_0x1db4c2._0x4139a2)+_0x2fb2b5(_0x1db4c2._0x24d542,0x75c)+_0x2fb2b5(_0x1db4c2._0x23c842,_0x1db4c2._0x43f0eb)+_0x2fb2b5(0x7bf,_0x1db4c2._0x38fcd8)+_0x14ac85(_0x1db4c2._0x26a029,_0x1db4c2._0x316334)+_0x14ac85(_0x1db4c2._0x3581ac,0x521)),_0x4a8f29[_0x14ac85(_0x1db4c2._0xa1f64c,_0x1db4c2._0x2cbcd9)+_0x2fb2b5(_0x1db4c2._0x5ee420,0x7e6)]===_0x4d7e10[_0x2fb2b5(0x294,0x526)]&&!_0x4a8f29[_0x2fb2b5(0x514,0x5d5)+_0x14ac85(_0x1db4c2._0x3d537c,_0x1db4c2._0x3ebcff)+'nd']&&_0x5c7579[_0x14ac85(0x8d4,0x74e)](_0x4d7e10[_0x2fb2b5(0x47b,0x4e0)]),_0x4a8f29['openclaw'+'AuthMode']===_0x14ac85(_0x1db4c2._0x31528d,_0x1db4c2._0xcaa2d3)&&!_0x4a8f29['openclaw'+_0x2fb2b5(0x64e,_0x1db4c2._0x120e77)+'Found']&&_0x5c7579[_0x2fb2b5(0xa33,_0x1db4c2._0x57dbb0)](_0x2fb2b5(_0x1db4c2._0x477f8b,0x5cd)+_0x2fb2b5(_0x1db4c2._0xa55ecf,_0x1db4c2._0x4582e6)+'\x20passwor'+_0x2fb2b5(0x991,_0x1db4c2._0x2eca7d)+_0x14ac85(0x595,_0x1db4c2._0x3ebdd8)),!_0x4a8f29['localGat'+'ewayReac'+_0x14ac85(0x75b,_0x1db4c2._0x505767)]&&_0x5c7579[_0x2fb2b5(_0x1db4c2._0x37ce81,0x945)](_0x14ac85(0x7f3,0x723)+'enClaw\x20G'+_0x14ac85(0x769,0x754)+'s\x20not\x20re'+_0x2fb2b5(0x4e2,0x642)+_0x2fb2b5(0xbb8,_0x1db4c2._0x3b591d)+_0x4a8f29[_0x14ac85(0x1a1,_0x1db4c2._0x36a739)+_0x2fb2b5(0x7e2,0x53e)]+'.'),_0x5c7579;}function formatOpenClawConfigLocations(){const _0x4d3874={_0xca9f4c:0x5f7,_0x47de71:0x12c,_0x588422:0x2e9,_0x4ed2f0:0x837},_0x527d32={_0x4b5f14:0x364,_0xa2510d:0x5b9},_0x4e28c7={_0x4c8195:0xbb},_0x307bb6={_0x1201f5:0x674},_0x2e4379={'cLBiG':function(_0x194a62){return _0x194a62();},'nnOXF':'/root'};function _0x4bcf4c(_0x5a36ed,_0xbc0b7d){return _0x26b3dd(_0x5a36ed- -_0x307bb6._0x1201f5,_0xbc0b7d);}const _0x1dd4be=new Set();function _0x299ef0(_0x59f9dc,_0x117f6e){return _0x26b3dd(_0x117f6e-_0x4e28c7._0x4c8195,_0x59f9dc);}return[_0x2e4379[_0x299ef0(0x39c,_0x4d3874._0xca9f4c)](_0x152237),_0x2e4379[_0x299ef0(0x9d4,0xabf)]][_0x4bcf4c(_0x4d3874._0x47de71,-0x7a)](_0x27adc1=>_0x27adc1['trim']()+(_0x4bcf4c(-0x148,-0x3cd)+'aw'))[_0x299ef0(0xbbe,0xa18)](_0x183b6b=>_0x183b6b!=='/.opencl'+'aw')[_0x4bcf4c(_0x4d3874._0x588422,0x23d)](_0x7194cd=>{const _0x28cdfd={_0x4e4a75:0x38f};if(_0x1dd4be[_0x1367f2(_0x527d32._0x4b5f14,0x464)](_0x7194cd))return![];_0x1dd4be[_0x19a06c(_0x527d32._0xa2510d,0x848)](_0x7194cd);function _0x19a06c(_0xf5d71d,_0x481924){return _0x299ef0(_0x481924,_0xf5d71d- -_0x28cdfd._0x4e4a75);}function _0x1367f2(_0x5b203b,_0x360f5e){return _0x299ef0(_0x360f5e,_0x5b203b- -0x6d3);}return!![];})[_0x4bcf4c(0x2f8,0x3fe)](_0x299ef0(0x7ec,_0x4d3874._0x4ed2f0));}function readLogFile(_0x5f0534){const _0x37c258={_0x537d5c:0x514,_0x4f665c:0x770,_0x2d0ff4:0x879,_0x8c7edc:0x610},_0x1fd278={_0x4d716b:0x3ac};function _0x181314(_0xc193f6,_0x167c88){return _0x3266d5(_0x167c88,_0xc193f6-_0x1fd278._0x4d716b);}function _0x1bab80(_0x27e239,_0x44bea1){return _0x3266d5(_0x27e239,_0x44bea1-0x300);}try{const _0x1b8393=_0x1a6cae(_0x5f0534,_0x181314(_0x37c258._0x537d5c,_0x37c258._0x4f665c));return _0x1b8393['split'](/\r?\n/)[_0x181314(_0x37c258._0x2d0ff4,0xab3)](Boolean)[_0x1bab80(0x4c0,_0x37c258._0x8c7edc)](_0x4605e7=>({'raw':_0x4605e7,'ts':parseTimestamp(_0x4605e7)}));}catch{return[];}}function parseTimestamp(_0x54d1ba){const _0x440a22={_0x5f1779:0x8f8,_0x1cfce3:0xb67,_0x111f17:0x3a4,_0x35a1e1:0x426};function _0x25282b(_0x453dca,_0x4b9739){return _0x3266d5(_0x4b9739,_0x453dca-0x54b);}const _0x26d4a6=_0x54d1ba[_0x25282b(_0x440a22._0x5f1779,_0x440a22._0x1cfce3)](/^\[(\d{13})\]\s/);if(!_0x26d4a6)return null;const _0x199b17=Number(_0x26d4a6[0x1]);function _0x5e9107(_0x3e26de,_0x3722f2){return _0x3266d5(_0x3e26de,_0x3722f2- -0x67);}return Number[_0x5e9107(_0x440a22._0x111f17,_0x440a22._0x35a1e1)](_0x199b17)?_0x199b17:null;}function clampLines(_0x4108a1){const _0x5419a2={_0x18af1c:0x4fb,_0x50ad1a:0x4af},_0x3c78db={_0x339856:0x1a};function _0x5009c7(_0x450b66,_0x415f5d){return _0x26b3dd(_0x450b66- -0x422,_0x415f5d);}function _0x3ce58a(_0x5229ec,_0x121300){return _0x26b3dd(_0x121300-_0x3c78db._0x339856,_0x5229ec);}if(!Number[_0x5009c7(_0x5419a2._0x18af1c,0x29e)](_0x4108a1))return 0xc8;return Math[_0x3ce58a(_0x5419a2._0x50ad1a,0x616)](0x1,Math['min'](0x7d0,Math[_0x5009c7(0x3b7,0x2c7)](_0x4108a1)));}async function checkGatewayReachable(_0x5e03d7){const _0x492159={_0x5dd1dc:0x733,_0xeba41b:0x945,_0x18d9b3:0x4ad,_0x34a004:0x684},_0x360f5a={_0x2c6750:0x11f,_0x58eeb1:0x5a2,_0x51404d:0x315},_0x1c9955={'UXowz':function(_0x4c5f97,_0x5f2f1f){return _0x4c5f97(_0x5f2f1f);},'YOCbK':'timeout','IhnwG':_0xe6e1c0(_0x492159._0x5dd1dc,_0x492159._0xeba41b)+'1'};function _0x379dd6(_0x2b94ad,_0x56b7b2){return _0x26b3dd(_0x56b7b2- -0x4a9,_0x2b94ad);}function _0xe6e1c0(_0xfed7d7,_0x563fc8){return _0x26b3dd(_0x563fc8- -0x3,_0xfed7d7);}try{const _0xfbd3c=new URL(_0x5e03d7),_0x2d14c1=_0xfbd3c[_0x379dd6(0x267,0x3f2)]||_0x1c9955['IhnwG'],_0x16ba56=_0xfbd3c[_0x379dd6(0x1f8,_0x492159._0x18d9b3)]?Number(_0xfbd3c[_0x379dd6(_0x492159._0x34a004,0x4ad)]):_0xfbd3c['protocol']===_0x379dd6(0x4bc,0x403)?0x1bb:0x50;return await new Promise((_0x1e133e,_0x322757)=>{const _0x56f3dc={_0x2f4645:0x2d9},_0xebdcbe={_0xac6f81:0x2c9},_0x1a5e7b={_0x987ede:0x156},_0x3a1dfc={_0x2d8281:0x11c},_0x415b83=new Socket();_0x415b83[_0x3d62c6(0x4f3,0x37b)+'ut'](0x384),_0x415b83[_0x3d62c6(0x2a6,0x1ad)]('connect',()=>{_0x415b83[_0x52e0a6(0x5d7,0x498)]();function _0x52e0a6(_0x40a609,_0x10243d){return _0x3d62c6(_0x10243d,_0x40a609-0x4e0);}_0x1e133e();}),_0x415b83[_0x3d62c6(_0x360f5a._0x2c6750,0x1ad)](_0x1c9955[_0x3787ea(0x7fc,0x854)],()=>{_0x415b83['destroy'](),_0x322757(new Error('timeout'));}),_0x415b83[_0x3787ea(_0x360f5a._0x58eeb1,_0x360f5a._0x51404d)]('error',_0x44466e=>{function _0x4fb561(_0x12d15e,_0x13cb07){return _0x3d62c6(_0x13cb07,_0x12d15e- -_0x3a1dfc._0x2d8281);}_0x415b83[_0x239fa6(0x24d,0x7b)]();function _0x239fa6(_0x4ef545,_0x2a8338){return _0x3d62c6(_0x2a8338,_0x4ef545-_0x1a5e7b._0x987ede);}_0x1c9955[_0x4fb561(0x152,_0xebdcbe._0xac6f81)](_0x322757,_0x44466e);});function _0x3d62c6(_0x34984b,_0x528f7d){return _0x379dd6(_0x34984b,_0x528f7d- -0x11c);}function _0x3787ea(_0x43a3aa,_0x28e4d0){return _0x379dd6(_0x28e4d0,_0x43a3aa-_0x56f3dc._0x2f4645);}_0x415b83[_0x3d62c6(-0x370,-0xef)](_0x16ba56,_0x2d14c1);}),!![];}catch{return![];}}function parseLookbackToMs(_0x2b558e){const _0x5beb56={_0x1cccf1:0xab8,_0x52bd27:0x44e,_0x211b8b:0x4c1,_0x3565ff:0x9fb,_0x3bba1c:0x965,_0x4207fa:0xac1,_0x24dcef:0x830,_0x181f53:0x786,_0x1b7348:0x541,_0x531c86:0x7bc},_0x3c8639={_0x1b975a:0x4b8},_0x55b6e7=_0x2b558e?.[_0xf0ae3f(0x2ab,0x2c1)]();if(!_0x55b6e7)return null;function _0xf0ae3f(_0x493951,_0x197b24){return _0x3266d5(_0x493951,_0x197b24- -0x65);}const _0x4303a=_0x55b6e7[_0x3c1566(_0x5beb56._0x1cccf1,0x865)](/^(\d+)(ms|s|m|h|d)$/i);if(!_0x4303a)throw new Error(_0x3c1566(_0x5beb56._0x52bd27,_0x5beb56._0x211b8b)+_0x3c1566(0x6cd,0x8c6)+_0xf0ae3f(0x3d9,0x243)+_0x55b6e7+(_0x3c1566(0x7a5,_0x5beb56._0x3565ff)+_0x3c1566(0x97f,_0x5beb56._0x3bba1c)+_0x3c1566(_0x5beb56._0x4207fa,_0x5beb56._0x24dcef)+_0x3c1566(_0x5beb56._0x181f53,_0x5beb56._0x1b7348)+'or\x201d.'));const _0x3addd6=Number(_0x4303a[0x1]);function _0x3c1566(_0x46dc98,_0x510899){return _0x3266d5(_0x46dc98,_0x510899-_0x3c8639._0x1b975a);}const _0x41475a=_0x4303a[0x2]['toLowerC'+_0x3c1566(_0x5beb56._0x531c86,0x70f)](),_0x4a3c55=_0x41475a==='ms'?0x1:_0x41475a==='s'?0x3e8:_0x41475a==='m'?0xea60:_0x41475a==='h'?0x36ee80:0x5265c00;return _0x3addd6*_0x4a3c55;}import{networkInterfaces}from'os';var BLOCKED_INTERFACE_TOKENS=['utun','tun',_0x3266d5(0x733,0x4d4),_0x26b3dd(0x642,0x6ae)+'e','wireguar'+'d','wg',_0x3266d5(0x2e0,0x387),_0x26b3dd(0x5f6,0x5f0),_0x26b3dd(0x9af,0x9be),_0x26b3dd(0x67b,0x529),_0x3266d5(-0x54,0x52),_0x3266d5(0x428,0x3ff),'loopback','\x20lo',_0x3266d5(0x584,0x3d8),_0x3266d5(-0xf0,0xad),_0x26b3dd(0x966,0xb0e),_0x3266d5(0x650,0x545),_0x26b3dd(0x9e4,0x783),_0x26b3dd(0x812,0x5a9)];function buildLocalPairingInfo(_0x3bca3e){const _0x59f48d={_0x27ab52:0x879,_0x84fd:0x72e,_0x3830f7:0x7e3,_0x56a58c:0x96e,_0x20851e:0x74f,_0x425024:0x8ef,_0x556d6d:0x4f7,_0x3ce404:0x663,_0x287bda:0x233,_0x5b5a16:0x17a,_0x291fe5:0x17e,_0x511be4:0x362};function _0x6fea6b(_0x3261d0,_0x366fed){return _0x3266d5(_0x366fed,_0x3261d0-0x491);}const _0x5bc024={'PcmgL':function(_0x491e09,_0x22fda2){return _0x491e09(_0x22fda2);},'BRlij':function(_0x39495a,_0x503431){return _0x39495a*_0x503431;}},_0x18d3b8=_0x5bc024[_0x6fea6b(_0x59f48d._0x27ab52,0x68b)](resolveLocalPairAuth,_0x3bca3e),_0x11918a={};_0x11918a['explicit'+'Url']=_0x3bca3e[_0x6fea6b(_0x59f48d._0x84fd,0x6ba)+_0x6fea6b(_0x59f48d._0x3830f7,_0x59f48d._0x56a58c)],_0x11918a[_0x6fea6b(0x7b3,_0x59f48d._0x20851e)+_0x6fea6b(0x795,_0x59f48d._0x425024)+'l']=_0x3bca3e[_0x6fea6b(0x7b3,_0x59f48d._0x556d6d)+_0x1a85fb(-0x76,0x1df)+'l'];function _0x1a85fb(_0x3028f1,_0x3c430a){return _0x3266d5(_0x3028f1,_0x3c430a- -0x125);}const _0x54c7dc=resolveLocalPairGatewayUrl(_0x11918a),_0x4aa370=_0x3bca3e['expiresA'+'t']??Date[_0x1a85fb(-0xa3,0x13d)]()+_0x5bc024[_0x6fea6b(_0x59f48d._0x3ce404,0x826)](0xa*0x3c,0x3e8);return{'gatewayUrl':_0x54c7dc,'expiresAt':_0x4aa370,'authMode':_0x18d3b8['mode'],'qrPayload':buildGatewayQrPayload({'gatewayUrl':_0x54c7dc,'token':_0x18d3b8[_0x1a85fb(_0x59f48d._0x287bda,_0x59f48d._0x5b5a16)],'password':_0x18d3b8[_0x1a85fb(_0x59f48d._0x291fe5,_0x59f48d._0x511be4)],'expiresAt':_0x4aa370})};}function resolveLocalPairGatewayUrl(_0x52c1bf){const _0x13532e={_0x1cb038:0x763,_0x1bc4cc:0x918,_0x2c0425:0x67e,_0x33cb20:0x7d0,_0x43b4bc:0x8a6,_0xbf0fd6:0x88c,_0x34f70e:0x7b5,_0x185d5c:0x769,_0x3f0b2c:0xa32,_0x4a391d:0x7bd,_0x1a2e92:0x701,_0x4e9071:0x944,_0x3ab46b:0x823,_0x125c80:0x70f,_0x4f3ad5:0x7b9,_0x26b313:0x9ee,_0x38a8cf:0x52d,_0x59c0b3:0x652},_0x4e0b9d={_0x541b6a:0x4cc},_0x401be4={_0xdbc8d2:0x358},_0xe84210={'erNIu':function(_0x1658dd){return _0x1658dd();},'GsjmC':function(_0x503ef5,_0x4bc7ec,_0x228190){return _0x503ef5(_0x4bc7ec,_0x228190);}},_0x22047e=_0x52c1bf?.[_0x3776d8(_0x13532e._0x1cb038,0x5f5)+'Url']?.[_0x3776d8(_0x13532e._0x1bc4cc,_0x13532e._0x2c0425)]();if(_0x22047e)return normalizeExplicitGatewayUrl(_0x22047e);function _0x3776d8(_0x4ca731,_0xed2273){return _0x3266d5(_0x4ca731,_0xed2273-_0x401be4._0xdbc8d2);}function _0x5aa7a5(_0xa61fa6,_0x4da182){return _0x3266d5(_0x4da182,_0xa61fa6-_0x4e0b9d._0x541b6a);}const _0x514871=_0x52c1bf?.[_0x3776d8(0x712,0x67a)+_0x5aa7a5(_0x13532e._0x33cb20,_0x13532e._0x43b4bc)+'l']?.[_0x5aa7a5(0x7f2,0x895)]()||_0xe84210[_0x3776d8(0x85c,_0x13532e._0xbf0fd6)](resolveGatewayUrl),_0x30ad6c=_0xe84210['erNIu'](detectLanIp);if(!_0x30ad6c)throw new Error(_0x3776d8(0x8c4,_0x13532e._0x34f70e)+_0x5aa7a5(0x9e1,_0x13532e._0x185d5c)+_0x5aa7a5(_0x13532e._0x3f0b2c,_0x13532e._0x4a391d)+_0x5aa7a5(_0x13532e._0x1a2e92,_0x13532e._0x4e9071)+_0x5aa7a5(0x7a0,_0x13532e._0x3ab46b)+_0x5aa7a5(_0x13532e._0x125c80,_0x13532e._0x4f3ad5)+_0x5aa7a5(_0x13532e._0x26b313,0x821)+_0x3776d8(0x862,0x890)+_0x3776d8(_0x13532e._0x38a8cf,_0x13532e._0x59c0b3)+'eway\x20URL'+'.');return _0xe84210['GsjmC'](rewriteGatewayHost,_0x514871,_0x30ad6c);}function normalizeExplicitGatewayUrl(_0x103e15){const _0x1bb99d={_0x29b82a:0x540,_0x334e68:0xb68},_0x51ef60={_0x27317a:0x50f};function _0xe368b4(_0x3dcb7a,_0x568a66){return _0x3266d5(_0x568a66,_0x3dcb7a-_0x51ef60._0x27317a);}function _0x32df98(_0x5e99b4,_0x1eb8f9){return _0x3266d5(_0x5e99b4,_0x1eb8f9-0x52b);}const _0x538e9e=_0x103e15[_0xe368b4(0x835,0x6b0)](),_0x53a937=/^[a-z]+:\/\//i[_0x32df98(0x78a,_0x1bb99d._0x29b82a)](_0x538e9e)?_0x538e9e:_0x32df98(0x652,0x60d)+_0x538e9e;return normalizeGatewayQrUrl(_0x53a937)[_0x32df98(_0x1bb99d._0x334e68,0x9a6)];}function rewriteGatewayHost(_0x206240,_0x3eec4d){const _0x554838={_0x29c788:0x157,_0xe7b042:0x165,_0x2d060c:0x107,_0x15c720:0xed,_0x159ec5:0x676,_0xed4ed8:0x4fd},_0x21a05d={_0x3172e4:0x1cf},_0x4928da={_0x403b3b:0xf2};function _0x3a8a26(_0x3e383b,_0x3ba07c){return _0x3266d5(_0x3e383b,_0x3ba07c-_0x4928da._0x403b3b);}const _0x52eaab=_0x206240[_0xe6d3b9(_0x554838._0x29c788,-_0x554838._0xe7b042)](),_0x5d076f=/^[a-z]+:\/\//i[_0x3a8a26(-0x13a,_0x554838._0x2d060c)](_0x52eaab)?_0x52eaab:_0xe6d3b9(-_0x554838._0x15c720,0x1a7)+_0x52eaab,_0x275c63=new URL(_0x5d076f);function _0xe6d3b9(_0x597ca0,_0x2905ed){return _0x3266d5(_0x2905ed,_0x597ca0- -_0x21a05d._0x3172e4);}return _0x275c63[_0x3a8a26(_0x554838._0x159ec5,_0x554838._0xed4ed8)]=_0x3eec4d,normalizeGatewayQrUrl(_0x275c63['toString']())['url'];}function detectLanIp(){const _0x4bac88={_0x2a007e:0x46a,_0xb2cb86:0x1ac,_0x2ab98a:0x201},_0x4d635e={'EVgHQ':function(_0x5d6f09){return _0x5d6f09();}};function _0x111c7c(_0x293a11,_0x5dde92){return _0x3266d5(_0x293a11,_0x5dde92-0x38c);}const _0x222c65=_0x4d635e[_0x111c7c(_0x4bac88._0x2a007e,0x58e)](networkInterfaces);function _0xc01ed1(_0x420e76,_0x35f277){return _0x3266d5(_0x420e76,_0x35f277- -0x268);}let _0x37e5b4=null;for(const [_0x30bd6c,_0x433fb4]of Object['entries'](_0x222c65)){for(const _0x59be33 of _0x433fb4??[]){if(_0x59be33[_0xc01ed1(0x39e,0x246)]!=='IPv4')continue;const _0x5a408a=scoreLanCandidate(_0x30bd6c,_0x59be33[_0xc01ed1(-0xa9,_0x4bac88._0xb2cb86)]);if(_0x5a408a===0x0)continue;if(!_0x37e5b4||_0x5a408a>_0x37e5b4[_0xc01ed1(-0x20e,-_0x4bac88._0x2ab98a)]){const _0x38e9d7={};_0x38e9d7['score']=_0x5a408a,_0x38e9d7['ip']=_0x59be33['address'],_0x37e5b4=_0x38e9d7;}}}return _0x37e5b4?.['ip']??null;}function scoreLanCandidate(_0x2ace30,_0x29e52c){const _0x5c06a7={_0x19c31e:0x40b,_0x2603a9:0x46d,_0x3997ce:0x3bc,_0x1c4112:0x2a7,_0x1875b2:0x24c,_0x49f613:0x8c2,_0xd9b658:0x23b,_0x57ee7f:0x383},_0x159282={_0x1a5deb:0x20e};if(!isLanIpv4(_0x29e52c))return 0x0;const _0x36b921=_0x2ace30[_0x3f4706(0x860,0x761)+_0x1bb349(0x39a,_0x5c06a7._0x19c31e)]();if(BLOCKED_INTERFACE_TOKENS['some'](_0x3eaa87=>_0x36b921[_0x1bb349(0x600,0x6dd)](_0x3eaa87)))return 0x0;let _0x552135=isRfc1918(_0x29e52c)?0x78:isCgnat(_0x29e52c)?0x5a:0x28;function _0x3f4706(_0x5b0d1d,_0x107c80){return _0x3266d5(_0x5b0d1d,_0x107c80-_0x159282._0x1a5deb);}(_0x36b921[_0x1bb349(_0x5c06a7._0x2603a9,_0x5c06a7._0x3997ce)+'th']('en')||_0x36b921['startsWi'+'th'](_0x1bb349(0x353,_0x5c06a7._0x1c4112))||_0x36b921[_0x1bb349(0x46d,_0x5c06a7._0x1875b2)+'th'](_0x3f4706(_0x5c06a7._0x49f613,0x703))||_0x36b921[_0x3f4706(0x471,0x538)+'th']('wl')||_0x36b921['includes'](_0x3f4706(0x224,_0x5c06a7._0xd9b658))||_0x36b921[_0x1bb349(0x600,0x3d5)](_0x1bb349(_0x5c06a7._0x57ee7f,0x1d4)))&&(_0x552135+=0x14);function _0x1bb349(_0x2d5535,_0x2a247b){return _0x3266d5(_0x2a247b,_0x2d5535-0x143);}return _0x552135;}function resolveLocalPairAuth(_0x106eb9){const _0x1ca137={_0xb3b389:0x4f0,_0x3e7e6b:0x322,_0x5be7c2:0x83a,_0x5aaf3b:0x6a0,_0x398a88:0x323,_0x56c0ac:0x664,_0x486165:0x481,_0x338e67:0x503,_0x310a70:0x8b6,_0x593f57:0x75b,_0x3e387c:0x7b5,_0x568311:0xa3b},_0xcd1bbf={_0x4bbed9:0x1dd},_0x378fef={_0x10d798:0x514};function _0x2493a1(_0x188778,_0x1cf02a){return _0x3266d5(_0x1cf02a,_0x188778-_0x378fef._0x10d798);}if(_0x106eb9[_0x1390b2(0x4fb,0x4e8)+_0x1390b2(_0x1ca137._0xb3b389,_0x1ca137._0x3e7e6b)]?.[_0x2493a1(_0x1ca137._0x5be7c2,_0x1ca137._0x5aaf3b)]())return{'mode':_0x1390b2(_0x1ca137._0x398a88,0x47c),'token':_0x106eb9['gatewayT'+'oken']['trim'](),'password':null};if(_0x106eb9['gatewayP'+'assword']?.[_0x2493a1(_0x1ca137._0x5be7c2,0x969)]())return{'mode':_0x1390b2(0x6ee,_0x1ca137._0x56c0ac),'token':null,'password':_0x106eb9['gatewayP'+_0x2493a1(0x7d6,0x84b)][_0x1390b2(_0x1ca137._0x486165,_0x1ca137._0x338e67)]()};function _0x1390b2(_0xf5e6f9,_0x3676d){return _0x3266d5(_0xf5e6f9,_0x3676d-_0xcd1bbf._0x4bbed9);}throw new Error(_0x2493a1(0x626,0x5f0)+_0x1390b2(_0x1ca137._0x310a70,_0x1ca137._0x593f57)+_0x2493a1(_0x1ca137._0x3e387c,_0x1ca137._0x568311)+_0x1390b2(0x565,0x3b5)+_0x2493a1(0x692,0x509)+'or\x20passw'+'ord).');}function isLanIpv4(_0x41510a){const _0x232eef={_0x548b56:0x829,_0x5a1358:0x875,_0x395255:0x71c,_0x5ede6e:0x2df},_0x1cd01b={_0x113b74:0x328},_0xe4f859={'hvrIx':function(_0x28ac23,_0x55c598){return _0x28ac23>=_0x55c598;},'LXcbo':function(_0x50dd7a,_0x482c8e){return _0x50dd7a===_0x482c8e;},'noRMw':function(_0x16f38c,_0x1aeb14){return _0x16f38c(_0x1aeb14);}};if(!isValidIpv4(_0x41510a))return![];if(_0x41510a===_0x288c01(_0x232eef._0x548b56,_0x232eef._0x5a1358))return![];function _0x288c01(_0xe730c2,_0x5f48a7){return _0x26b3dd(_0xe730c2- -0x1de,_0x5f48a7);}const [_0x1c0f0f,_0x3ad886,_0x2fbe94,_0x17932f]=_0x41510a['split']('.')[_0x5bc6fa(_0x232eef._0x395255,0x478)](Number);if(_0x1c0f0f===0x7f)return![];if(_0x1c0f0f===0xa9&&_0x3ad886===0xfe)return![];if(_0xe4f859['hvrIx'](_0x1c0f0f,0xe0)&&_0x1c0f0f<=0xef)return![];if(_0x1c0f0f===0xff&&_0x3ad886===0xff&&_0x2fbe94===0xff&&_0x17932f===0xff)return![];function _0x5bc6fa(_0x2e07ca,_0x5697e3){return _0x26b3dd(_0x5697e3- -_0x1cd01b._0x113b74,_0x2e07ca);}if(_0x1c0f0f===0xc6&&(_0xe4f859[_0x5bc6fa(0x113,_0x232eef._0x5ede6e)](_0x3ad886,0x12)||_0x3ad886===0x13))return![];return isRfc1918(_0x41510a)||_0xe4f859[_0x5bc6fa(0x566,0x514)](isCgnat,_0x41510a);}function isRfc1918(_0x20b8e4){const _0xd076f2={_0x4d424d:0x281,_0x2734cb:0x62c,_0x2be8e8:0x152},_0x5d4a64={};function _0x73580a(_0x5bbd9a,_0x46e28e){return _0x3266d5(_0x46e28e,_0x5bbd9a-0x114);}_0x5d4a64['wdKQF']=function(_0x39a3a6,_0x3c49b5){return _0x39a3a6===_0x3c49b5;},_0x5d4a64['RhpmH']=function(_0x45e75c,_0x273b7b){return _0x45e75c<=_0x273b7b;},_0x5d4a64[_0x34b32c(0x55a,0x305)]=function(_0x34e045,_0x1d3f08){return _0x34e045===_0x1d3f08;};function _0x34b32c(_0x392138,_0x4db4db){return _0x3266d5(_0x392138,_0x4db4db-0x12e);}const _0x1ac221=_0x5d4a64,[_0x28d737,_0xfb3e2c]=_0x20b8e4[_0x73580a(0x494,_0xd076f2._0x4d424d)]('.')[_0x34b32c(_0xd076f2._0x2734cb,0x43e)](Number);return _0x1ac221['wdKQF'](_0x28d737,0xa)||_0x28d737===0xac&&_0xfb3e2c>=0x10&&_0x1ac221[_0x73580a(0x1e8,_0xd076f2._0x2be8e8)](_0xfb3e2c,0x1f)||_0x28d737===0xc0&&_0x1ac221['XeQvo'](_0xfb3e2c,0xa8);}function isCgnat(_0x9ea571){const _0x4e2096={_0x569a22:0x6da,_0x57d87c:0x3d5,_0x26a413:0x562},_0x2a8f64={};_0x2a8f64['hHfBj']=function(_0x44da4d,_0x2f1b4d){return _0x44da4d===_0x2f1b4d;};const _0x2b394c=_0x2a8f64;function _0x1afcec(_0x1466eb,_0x4d76e2){return _0x26b3dd(_0x4d76e2- -0x3cb,_0x1466eb);}const [_0xf77dea,_0x30a528]=_0x9ea571[_0x15b9b5(_0x4e2096._0x569a22,0x4ec)]('.')[_0x1afcec(0x448,_0x4e2096._0x57d87c)](Number);function _0x15b9b5(_0x5c6c3b,_0x363e4e){return _0x26b3dd(_0x5c6c3b- -0x136,_0x363e4e);}return _0x2b394c[_0x15b9b5(_0x4e2096._0x26a413,0x43a)](_0xf77dea,0x64)&&_0x30a528>=0x40&&_0x30a528<=0x7f;}function isValidIpv4(_0x488d0c){const _0x5bea66={_0x358b57:0x78b,_0x2dc0b2:0x977,_0xbb9ad2:0x6e5,_0x3cf7f4:0x5a4},_0x106e62={_0x4a8ce5:0x66,_0x940042:0x1ef},_0x31797a={_0x2670fc:0x16a},_0xb1980={_0x322305:0x365};function _0x392623(_0x14db48,_0x4df3fd){return _0x3266d5(_0x4df3fd,_0x14db48-_0xb1980._0x322305);}function _0x1a8b5f(_0x3119e5,_0x5c031d){return _0x3266d5(_0x5c031d,_0x3119e5-_0x31797a._0x2670fc);}const _0x59769e={};_0x59769e[_0x392623(_0x5bea66._0x358b57,_0x5bea66._0x2dc0b2)]=function(_0x39c5d8,_0x2a983d){return _0x39c5d8<=_0x2a983d;};const _0x24d518=_0x59769e,_0x433d1e=_0x488d0c[_0x392623(_0x5bea66._0xbb9ad2,0x62f)]('.');return _0x433d1e[_0x1a8b5f(_0x5bea66._0x3cf7f4,0x317)]===0x4&&_0x433d1e['every'](_0x2d2935=>{function _0x24f9f5(_0x23a389,_0x2b1b82){return _0x392623(_0x2b1b82- -0x18b,_0x23a389);}if(!/^\d+$/[_0x24f9f5(-_0x106e62._0x4a8ce5,_0x106e62._0x940042)](_0x2d2935))return![];const _0x447d1a=Number(_0x2d2935);function _0x3e8fb4(_0x487d4b,_0x30a1bf){return _0x392623(_0x30a1bf- -0x57,_0x487d4b);}return _0x447d1a>=0x0&&_0x24d518[_0x24f9f5(0x582,0x600)](_0x447d1a,0xff);});}import{readFileSync as _0xe59c3b}from'fs';import{dirname as _0x4e958e,resolve as _0x2b5792}from'path';import{fileURLToPath}from'url';function readCliVersion(){const _0x2989d6={_0x36ddb3:0x4c2,_0x19afc0:0x491,_0xd29596:0x22c,_0x4c214d:0x13f},_0x3474f1=_0x4e958e(fileURLToPath(import.meta.url)),_0x5bb518=_0x2b5792(_0x3474f1,_0x525611(0x3da,0x2d0)+_0x9777a5(_0x2989d6._0x36ddb3,_0x2989d6._0x19afc0)),_0x29ff07=_0xe59c3b(_0x5bb518,_0x525611(_0x2989d6._0xd29596,0x338)),_0x1d57fb=JSON[_0x525611(_0x2989d6._0x4c214d,-0xa1)](_0x29ff07);function _0x9777a5(_0x1fa32b,_0x365e76){return _0x3266d5(_0x365e76,_0x1fa32b-0x78);}function _0x525611(_0x5a7bd4,_0x4b3c41){return _0x3266d5(_0x4b3c41,_0x5a7bd4-0xc4);}return _0x1d57fb['version']??_0x525611(0x130,0x70);}function buildPairingJson(_0x3af47b,_0x47574e,_0x18f958,_0x42e481){const _0x2b4039={_0x41a402:0x527,_0xb86825:0x6fc,_0x56d413:0x94b,_0x56151c:0x322,_0xeefeef:0x4fe,_0x4d825a:0x765,_0x34ce42:0x57e,_0x45690c:0x978,_0x47e916:0x3dd,_0xf8638b:0xa4,_0x2f4604:0x4b9,_0xc4b292:0x90b,_0x204c9e:0x5bc,_0x3ba9f2:0x89a,_0x57c7a6:0x923,_0x213db1:0x5f7,_0x35d5ae:0x838,_0x1c00bb:0x45c,_0x178a13:0x10b,_0x4e59fd:0x81f,_0x2b1285:0x8c8,_0x21517c:0x59a,_0x52ca96:0x146,_0x21afa8:0x7d,_0x599096:0x22e,_0x57bdb5:0x9f8,_0x573ad6:0x8ac,_0x5be7bd:0xb37,_0x507bb2:0x325,_0x5e6977:0x106,_0x597361:0x334,_0x42e7a5:0x63c,_0x230c05:0x63c,_0x48577a:0x5bf,_0x318ab3:0x8cb,_0x47fbb4:0x69b,_0x457a52:0x4cd,_0x491b4:0x6ed,_0x34db88:0x804,_0x1b606b:0x5e2},_0x76c4c1={_0x274a2b:0xd7},_0x5632df={_0x3ecebb:0x49a},_0x423396={};_0x423396[_0x26623f(_0x2b4039._0x41a402,_0x2b4039._0xb86825)+'d']=_0x18f958[_0x26623f(_0x2b4039._0x41a402,0x556)+'d'],_0x423396[_0x26623f(0x893,_0x2b4039._0x56d413)]=_0x18f958[_0x422559(_0x2b4039._0x56151c,_0x2b4039._0xeefeef)],_0x423396[_0x26623f(_0x2b4039._0x4d825a,_0x2b4039._0x34ce42)]=_0x18f958[_0x26623f(0x765,0x93b)];function _0x26623f(_0xb2b860,_0x444e56){return _0x3266d5(_0x444e56,_0xb2b860-_0x5632df._0x3ecebb);}_0x423396[_0x26623f(0x94e,_0x2b4039._0x45690c)+_0x26623f(0x4cd,0x53c)]=_0x18f958[_0x422559(_0x2b4039._0x47e916,0x58a)+_0x422559(-_0x2b4039._0xf8638b,0xfa)],_0x423396[_0x422559(0x333,_0x2b4039._0x2f4604)]=_0x18f958[_0x26623f(0x8a4,_0x2b4039._0xc4b292)],_0x423396['errorLog'+_0x26623f(_0x2b4039._0x204c9e,0x405)]=_0x18f958['errorLog'+'Path'],_0x423396[_0x26623f(_0x2b4039._0x3ba9f2,_0x2b4039._0x57c7a6)]=_0x18f958[_0x26623f(_0x2b4039._0x3ba9f2,0x84e)];const _0x37c56e={};_0x37c56e['ok']=!![],_0x37c56e[_0x26623f(_0x2b4039._0x213db1,_0x2b4039._0x35d5ae)]=_0x3af47b['action'],_0x37c56e[_0x422559(0x25f,_0x2b4039._0x1c00bb)]=_0x42e481,_0x37c56e[_0x422559(0x2ae,_0x2b4039._0x178a13)+'d']=_0x3af47b['config'][_0x26623f(_0x2b4039._0x4e59fd,_0x2b4039._0x2b1285)+'d'],_0x37c56e[_0x26623f(0x656,_0x2b4039._0x21517c)]=_0x3af47b[_0x422559(-0x7d,-0x1e1)][_0x422559(0xe5,-_0x2b4039._0x52ca96)],_0x37c56e['serverUr'+'l']=_0x3af47b[_0x422559(-_0x2b4039._0x21afa8,-_0x2b4039._0x599096)][_0x422559(0x66,-0x24d)+'l'],_0x37c56e[_0x26623f(_0x2b4039._0x57bdb5,_0x2b4039._0x573ad6)+'Id']=_0x3af47b[_0x422559(-0x7d,0x18b)][_0x422559(0x487,0x6fb)+'Id'],_0x37c56e[_0x26623f(0x896,_0x2b4039._0x5be7bd)+'de']=_0x3af47b['accessCo'+'de'],_0x37c56e[_0x422559(_0x2b4039._0x507bb2,_0x2b4039._0x5e6977)+_0x422559(0x14d,_0x2b4039._0x597361)+_0x26623f(_0x2b4039._0x42e7a5,0x6f3)]=_0x3af47b[_0x422559(0x325,0x5e5)+'deExpire'+_0x26623f(_0x2b4039._0x230c05,_0x2b4039._0x48577a)],_0x37c56e[_0x26623f(_0x2b4039._0x318ab3,_0x2b4039._0x47fbb4)+_0x26623f(_0x2b4039._0x457a52,_0x2b4039._0x491b4)]=_0x47574e,_0x37c56e[_0x26623f(_0x2b4039._0x34db88,_0x2b4039._0x1b606b)]=_0x423396;function _0x422559(_0x1ddcf5,_0xbea375){return _0x3266d5(_0xbea375,_0x1ddcf5- -_0x76c4c1._0x274a2b);}return _0x37c56e;}function buildLocalPairingJson(_0x2e3d04){const _0x1254b8={_0x2d2915:0x61a,_0x2a1b0b:0x367,_0x2e5365:0x4f3,_0x2fd51a:0x247,_0x41a8f8:0x102,_0x6be0b4:0x188,_0x1c27f9:0x38c,_0x58738c:0x39c},_0x2d0a31={_0x40a748:0x95},_0x352548={_0x5855fb:0x130},_0x238faf={};_0x238faf[_0x61fd64(_0x1254b8._0x2d2915,0x5f4)]=_0x61fd64(0x132,_0x1254b8._0x2a1b0b);function _0x61fd64(_0x3d5480,_0x1e44b2){return _0x3266d5(_0x3d5480,_0x1e44b2-_0x352548._0x5855fb);}const _0x510ea6=_0x238faf,_0x19c160={};function _0x2da3a1(_0x4b5cc0,_0x3aa8ce){return _0x3266d5(_0x4b5cc0,_0x3aa8ce- -_0x2d0a31._0x40a748);}return _0x19c160['ok']=!![],_0x19c160['action']=_0x510ea6['oVLyX'],_0x19c160[_0x61fd64(0x462,0x466)]=_0x2e3d04[_0x2da3a1(_0x1254b8._0x2e5365,0x2a1)],_0x19c160[_0x61fd64(0x35a,0x523)+'rl']=_0x2e3d04[_0x61fd64(0x38d,0x523)+'rl'],_0x19c160[_0x2da3a1(0x4b6,_0x1254b8._0x2fd51a)]=_0x2e3d04[_0x2da3a1(_0x1254b8._0x41a8f8,_0x1254b8._0x2fd51a)],_0x19c160[_0x61fd64(_0x1254b8._0x6be0b4,0x179)+'t']=_0x2e3d04[_0x61fd64(_0x1254b8._0x1c27f9,0x179)+'t'],_0x19c160[_0x2da3a1(0x3a3,_0x1254b8._0x58738c)+'ath']=_0x2e3d04[_0x61fd64(0x2e5,0x561)+_0x2da3a1(-0x268,-0x62)],_0x19c160;}import{mkdirSync as _0x186abd,writeFileSync as _0x4a06a7}from'fs';import{dirname as _0x2c7a4b,isAbsolute,join as _0x293617,resolve as _0x44dfaa}from'path';import _0x4a5369 from'qrcode';var DEFAULT_QR_DIR=getOpenClawMediaDir();async function writePairingQrPng(_0x114867,_0x14d916){const _0x2fe15f={_0x240e0c:0x3f4},_0x42c23b={_0x9ad8ce:0x6f},_0x70af7e={'FurAH':function(_0x162749,_0xf188b8,_0x1a0fc0){return _0x162749(_0xf188b8,_0x1a0fc0);}},_0x5b837e=resolveQrOutputPath(_0x114867['config'][_0x41ad44(_0x2fe15f._0x240e0c,0x228)+'d'],_0x14d916);function _0x41ad44(_0x3a8888,_0x19864f){return _0x3266d5(_0x19864f,_0x3a8888-_0x42c23b._0x9ad8ce);}return _0x70af7e['FurAH'](writeQrPng,_0x114867['qrPayloa'+'d'],_0x5b837e);}async function writeRawQrPng(_0x1f302e,_0x16b8b2,_0x23bb48){const _0x1aa2a2={_0x59b105:0x6a},_0x6429b2={_0x5036e2:0x494},_0x110126={'OmCMi':function(_0x44039d,_0x497c68,_0x3e81e0){return _0x44039d(_0x497c68,_0x3e81e0);},'NocoE':function(_0x3b5231,_0x1f5b5a,_0x5e38d1){return _0x3b5231(_0x1f5b5a,_0x5e38d1);}};function _0x2816f2(_0x2a3a1c,_0x197043){return _0x26b3dd(_0x2a3a1c- -_0x6429b2._0x5036e2,_0x197043);}const _0x326edd=_0x110126[_0x2816f2(0x205,_0x1aa2a2._0x59b105)](resolveQrOutputPath,_0x16b8b2,_0x23bb48);return _0x110126['NocoE'](writeQrPng,_0x1f302e,_0x326edd);}async function writeQrPng(_0x4c05be,_0x1823f1){const _0xb6d69e={_0x8611fa:0x8a6,_0x5f52d6:0x24b,_0x249744:0x5d1,_0x39ce19:0x393,_0x27046f:0x50b,_0x218a4f:0x361,_0x144042:0x81d,_0x3fa763:0x7af,_0xf392a0:0x41c},_0x390027={_0x40c177:0xa},_0x11df19={};_0x11df19['uDNPK']='image/pn'+'g';const _0x3ec72a=_0x11df19,_0x15017c={};_0x15017c[_0xe9afd9(0xa75,_0xb6d69e._0x8611fa)+'e']=!![],_0x186abd(_0x2c7a4b(_0x1823f1),_0x15017c);const _0x5a23d3={};function _0x40458e(_0x1a2bbd,_0x305929){return _0x26b3dd(_0x1a2bbd- -0x3d7,_0x305929);}function _0xe9afd9(_0x128b8e,_0xfadfab){return _0x26b3dd(_0xfadfab-_0x390027._0x40c177,_0x128b8e);}_0x5a23d3['type']=_0x3ec72a[_0x40458e(0x448,_0xb6d69e._0x5f52d6)],_0x5a23d3[_0xe9afd9(_0xb6d69e._0x249744,0x753)+_0x40458e(_0xb6d69e._0x39ce19,0x461)+_0xe9afd9(0x7f3,0x80d)]='M',_0x5a23d3[_0x40458e(0x3cd,0x366)]=0x1,_0x5a23d3[_0x40458e(0x47d,0x429)]=0x2d0;const _0x1bb915=await _0x4a5369[_0xe9afd9(0x789,_0xb6d69e._0x27046f)+'L'](_0x4c05be,_0x5a23d3),_0x33ee7f=_0x1bb915[_0x40458e(0x2e8,_0xb6d69e._0x218a4f)](/^data:image\/png;base64,/,'');return _0x4a06a7(_0x1823f1,Buffer[_0xe9afd9(_0xb6d69e._0x144042,_0xb6d69e._0x3fa763)](_0x33ee7f,_0x40458e(_0xb6d69e._0xf392a0,0x188))),_0x1823f1;}function resolveQrOutputPath(_0x4a0b49,_0x59b3ab){const _0x18aded={_0x4bbb07:0x641,_0x35b632:0x6aa,_0x3eb13f:0x405},_0x3c4a71=_0x59b3ab?.[_0x31a304(_0x18aded._0x4bbb07,_0x18aded._0x35b632)]();function _0x89a91d(_0x4fca07,_0x301450){return _0x3266d5(_0x4fca07,_0x301450- -0x236);}function _0x31a304(_0x92dda,_0x23a182){return _0x3266d5(_0x23a182,_0x92dda-0x31b);}if(_0x3c4a71)return isAbsolute(_0x3c4a71)?_0x3c4a71:_0x44dfaa(_0x3c4a71);return _0x293617(DEFAULT_QR_DIR,_0x4a0b49+_0x31a304(_0x18aded._0x3eb13f,0x173));}function decidePairServiceAction(_0x16a259,_0x2f0293){const _0x16ee6a={_0x143e65:0x681,_0x4130ad:0x5ea,_0x548081:0x8ce,_0x5578fa:0x5c9,_0x1b27f9:0x6f7,_0x5c0085:0x9d1,_0x382703:0x762,_0x3f2dce:0x4e9,_0x305a47:0x613,_0x5cc564:0x2bc,_0x4946bb:0x4c6,_0x19db26:0x7b1,_0x1d873a:0x538,_0x37a10f:0x41e},_0x5b4956={};_0x5b4956[_0x374dc1(_0x16ee6a._0x143e65,0x5f1)]='install',_0x5b4956['mzjfH']=function(_0x353885,_0xd0715a){return _0x353885===_0xd0715a;},_0x5b4956[_0x374dc1(_0x16ee6a._0x4130ad,0x7b1)]=_0x31fdc0(_0x16ee6a._0x548081,0x62d)+'ed';const _0x48982a=_0x5b4956;function _0x31fdc0(_0x1b9d7c,_0x585cb6){return _0x3266d5(_0x1b9d7c,_0x585cb6-0x46f);}if(!_0x2f0293[_0x31fdc0(_0x16ee6a._0x5578fa,0x4fc)+'d'])return _0x48982a[_0x31fdc0(0x6b7,_0x16ee6a._0x1b27f9)];if(!_0x2f0293[_0x374dc1(_0x16ee6a._0x5c0085,_0x16ee6a._0x382703)])return _0x374dc1(0x6a6,0x538);if(_0x48982a[_0x374dc1(_0x16ee6a._0x3f2dce,_0x16ee6a._0x305a47)](_0x16a259[_0x374dc1(_0x16ee6a._0x5cc564,_0x16ee6a._0x4946bb)],_0x48982a[_0x374dc1(0x80e,_0x16ee6a._0x19db26)]))return _0x374dc1(0x47b,_0x16ee6a._0x1d873a);function _0x374dc1(_0x3e6dbb,_0x91bb75){return _0x3266d5(_0x3e6dbb,_0x91bb75-0x369);}return _0x374dc1(0x416,_0x16ee6a._0x37a10f);}async function main(){const _0x3f8891={_0x4c6850:0x276,_0x4e748e:0x4ab,_0x5937b6:0x5fd,_0x3c0132:0x2e2,_0x348fda:0x5e1,_0x4ca9bf:0x6c5,_0x365940:0xe9,_0x391d48:0x451,_0x2c30c7:0x1ae,_0x422ac9:0x35b,_0x2fdde6:0x4a4,_0x130ea0:0x30e,_0x1a0fec:0x1d6,_0x156af7:0x460,_0x13d6c9:0x5d2,_0x430a47:0x18d,_0x2e73dc:0x3f3,_0x10b910:0x7ae,_0x1ccb10:0x64a,_0xb18563:0x27c,_0x234d87:0x107,_0x1a0aa5:0x7c8,_0x4cb22a:0x989,_0x55ce77:0x588,_0x516ab9:0x70b,_0x205560:0x6f0,_0x5e633e:0x1de,_0x20d644:0x1eb,_0x8ae6e0:0x416,_0x5a3443:0x421,_0x59a3e9:0x3d0,_0x45923a:0x649,_0xf6e9a0:0x513,_0x4bdd4d:0x15f,_0xd2784b:0x3cc,_0x4176b3:0x50e,_0x100c80:0x4d4,_0x18b561:0x6fd,_0x1a8e53:0x2fc,_0x207cd9:0x553,_0x9c1a69:0x2b9,_0x1000f6:0x40a,_0x5cb17d:0x2c3,_0x164319:0x3dc,_0x33e66c:0xcb,_0x302af0:0x29d,_0x9169c1:0x1d8,_0x3cea08:0x621,_0x21aae8:0x54b,_0x5da352:0x265,_0x561ff6:0x5fc,_0x11ecb3:0x5b9,_0x219c19:0x7c0,_0x2870a1:0x636,_0x481235:0x65d,_0x414721:0x6c6,_0x213727:0x33b,_0x44c5b5:0x39d,_0x249806:0x344,_0x2043f3:0x561,_0x48e267:0x6,_0x4757ff:0x37c,_0x4b7326:0x9cd,_0x2fd371:0x592,_0x450d2b:0x35f,_0x427d35:0x281,_0x3c8622:0x30b,_0x40f408:0x49a,_0x2eb689:0x35c,_0x5e378c:0x20f,_0x7b3075:0x690,_0x39cd2c:0x902,_0x36c8b6:0x369,_0x35197e:0x250,_0x24f3cf:0x176,_0x1482ad:0x99f,_0x4cfea1:0x182,_0x329f9e:0xf9,_0x210431:0x45c,_0x1dc737:0x337,_0x47912f:0x6e5,_0x2d1f24:0x57b,_0x23839d:0x2fb,_0x4f6bf3:0x4ea,_0x321c8a:0x472,_0x5ba35b:0x42c,_0x1e074e:0x442,_0x57ecff:0x61f,_0x4ac3e0:0x5df,_0x66cd00:0x4a1,_0x323252:0x5fb,_0x3a9d84:0x35f,_0x2562e8:0x601,_0x3fb5e5:0x3e1,_0x2ac521:0x200,_0x1045ba:0x640,_0x1322e9:0x379,_0x51f7e7:0x1e7,_0x3872c4:0x473,_0x42fbae:0x5da,_0x5cd686:0x414,_0x4cb518:0x4a5,_0x3b6008:0x3e0,_0x1895f2:0x63f,_0xacc5b9:0x4d2,_0x2495c3:0x10d,_0x36b63f:0x167,_0x493995:0x2ad,_0x4e585e:0x2d4,_0x1256c8:0x419,_0x2e0d06:0x2e3,_0x203028:0x435,_0x322b2f:0x664,_0xed4bd:0x63c,_0x1f1a26:0x550,_0x1513cf:0x539,_0x20a2e2:0x606,_0x4cb6e4:0x592,_0x4b9fb2:0x761,_0x237941:0x1c2,_0x14c8e3:0x524,_0x44758c:0x5ed,_0x4d9f55:0x4c5,_0x5cff2e:0x474,_0xf7fecc:0x37b,_0x383f9b:0x1f7,_0x3779bf:0x7c8,_0x5c6563:0x64e,_0xf331f0:0x536,_0x3ded9d:0x138,_0x36eb0f:0x86,_0x5674b9:0x6d6,_0x207692:0x3f1,_0x39573a:0x701,_0x5b0e8a:0x222,_0x329f7c:0x44e,_0x28de34:0x4f5,_0x32741f:0x371,_0x53c8b1:0x62f,_0xfad468:0x709,_0x165d8c:0x6dd,_0x7915ad:0x723,_0x24f6a0:0x2b2,_0x6926c3:0x323,_0x5837a8:0x457,_0x1fe1bc:0x530,_0x5b8b14:0x5d5,_0x53e770:0x65b,_0x3f0722:0x5a7,_0x35b72f:0x76d,_0x188b89:0x1aa,_0x42fe31:0x19,_0x4e6ded:0x7d4,_0x3c42fd:0x5fe,_0x4fe028:0x49b,_0x19a0ae:0x753,_0x5dfc74:0x47b,_0x246cc1:0x347,_0x556fb0:0x17d,_0x560712:0x9c,_0x19e750:0x363,_0x5659c1:0x4ee,_0x3b6916:0x40c,_0x12c133:0x6a3,_0xd8e137:0x45d,_0x436480:0x445,_0x47016f:0x56c,_0x22196d:0x2bc,_0x48362a:0x6a4,_0xd91a87:0x5d1,_0x510961:0x6c1,_0x49703c:0x3aa,_0x518ebc:0x51d,_0x39520a:0x3b4,_0x59d389:0x530,_0x5b69af:0x793,_0x56019c:0x41e,_0xd4a35d:0x40b,_0x5be9ee:0x527,_0x273393:0x62b,_0xfa0321:0x5db,_0x1cf594:0x76a,_0x597b16:0x662,_0x2c5c7c:0x5a8,_0x2d14dd:0x495,_0x25e8e7:0x3a4,_0xf29538:0x20e,_0x5eadb7:0x47c,_0x104ff3:0x4ed,_0x15bd0e:0x651,_0x327bec:0x763,_0x17fb17:0x3f4,_0xdca539:0x230,_0x2b1ac3:0x447,_0x130c39:0x73e,_0x1c6ae8:0x62f,_0x17e4c8:0x554,_0x4d253d:0x545,_0x357e3f:0x415,_0x1856ee:0x24e,_0x203b45:0x29e,_0x137d84:0x3c0,_0x3d4660:0x7b4,_0x33326f:0x9d8,_0x553041:0x6bf,_0x2de1d7:0x1e1,_0x4edbe7:0x466,_0x166935:0x8d7,_0x2914dd:0x40d,_0x2daf4e:0x34f,_0x3596cb:0x215,_0x9c5a58:0x32c,_0x3eddd7:0x631,_0x3498b5:0x6b9,_0x454c26:0x4c4,_0x8e1aff:0x1db,_0x5744b8:0x39d,_0x4f4be2:0xa06,_0x38784b:0x63b,_0x5120ca:0x4bc,_0x3cd72b:0x2d3},_0xa84ed5={_0x10b3eb:0x716,_0x5337f5:0x31f,_0x51aa0a:0x387,_0x50d101:0x605},_0x25fbae={_0x55c340:0x307},_0x4dda37={_0xf775ff:0x6e9,_0x193517:0x761,_0x218691:0x6a8,_0x5d3a3f:0x73b,_0x4f499c:0x807,_0x2be527:0x79,_0x114804:0x4b0,_0x5c227e:0x709},_0x430185={_0x37051d:0x42c,_0x58c408:0x2a6,_0x26a444:0x1b2,_0x32015a:0x129,_0x854877:0x581,_0x5350c8:0x1ae,_0x3f487f:0x5d7,_0x27556a:0x155,_0x5bc908:0x31e,_0x5026d2:0x17e,_0x68c41e:0x120,_0x5a8d78:0x59,_0x56ac0c:0xd3,_0x4a62cc:0x9,_0x4c85e9:0x13b,_0x2110cd:0x192},_0x3044cc={_0xf7ca21:0x40a},_0x3feff2={_0xca2ce2:0x420},_0x5482bc={_0x31f7e2:0x606,_0x305f8b:0x779,_0x5b8f7f:0x3d9,_0x36bfee:0x415},_0x1421a5={_0x115e12:0x23a};function _0xa2ddc5(_0x3c5bb6,_0x24d6c8){return _0x26b3dd(_0x3c5bb6- -0x3b3,_0x24d6c8);}const _0x1c5a5d={'HxpuO':function(_0x62daa2,_0x3eaa50){return _0x62daa2(_0x3eaa50);},'GjXqv':'down','iJKKf':_0xa2ddc5(_0x3f8891._0x4c6850,0x41f),'oGYKV':'help','onHCM':function(_0x2b3a1c,_0x3dc6f3,_0x4e8b83){return _0x2b3a1c(_0x3dc6f3,_0x4e8b83);},'sDzyr':_0xa2ddc5(0x5ea,0x870),'PHjgk':function(_0x4e907f){return _0x4e907f();},'HwbaG':'--url','GMJBX':function(_0x5f75bc,_0xfedab0){return _0x5f75bc in _0xfedab0;},'wGIeQ':function(_0x2b3402,_0xee8a0a,_0x337487){return _0x2b3402(_0xee8a0a,_0x337487);},'eHUNK':_0x3d738d(_0x3f8891._0x4e748e,_0x3f8891._0x5937b6),'hBVWt':function(_0x26aee6,_0x50a1e4,_0x43198f){return _0x26aee6(_0x50a1e4,_0x43198f);},'HjTSk':function(_0x28000a,_0x208077,_0xefff52){return _0x28000a(_0x208077,_0xefff52);},'cABMD':function(_0x3fa6e6,_0x3c18ba){return _0x3fa6e6===_0x3c18ba;},'fqKqH':_0x3d738d(0x2b7,0x3d7)+_0xa2ddc5(_0x3f8891._0x3c0132,0x43)+_0x3d738d(_0x3f8891._0x348fda,_0x3f8891._0x4ca9bf)+_0xa2ddc5(0x205,_0x3f8891._0x365940)+_0x3d738d(_0x3f8891._0x391d48,0x237)+'arted\x20th'+_0xa2ddc5(0x460,_0x3f8891._0x2c30c7)+_0xa2ddc5(0x48c,0x46b)+'vice\x20cle'+'anly.','doXWT':function(_0x57c0f9,_0x57ee8a,_0x4cfabe){return _0x57c0f9(_0x57ee8a,_0x4cfabe);},'foZPO':_0xa2ddc5(_0x3f8891._0x422ac9,0xb8),'DXzdW':function(_0x37d856,_0x5db5c2,_0x48a17b,_0x4be512,_0x2e15a1){return _0x37d856(_0x5db5c2,_0x48a17b,_0x4be512,_0x2e15a1);},'QQvSt':function(_0x2df951,_0x55ddfb,_0x3af6f4){return _0x2df951(_0x55ddfb,_0x3af6f4);},'JSdlp':function(_0x493930,_0x447011,_0x228549){return _0x493930(_0x447011,_0x228549);},'KsMOo':_0x3d738d(0x734,_0x3f8891._0x2fdde6)+'e','jwjgF':function(_0x43a73e,_0x35d6c4){return _0x43a73e(_0x35d6c4);},'TDvbe':function(_0x411d0c,_0x3e0781,_0x18e06d){return _0x411d0c(_0x3e0781,_0x18e06d);},'pvgKm':_0x3d738d(_0x3f8891._0x130ea0,_0x3f8891._0x1a0fec),'mPaDn':'Stopped\x20'+_0xa2ddc5(0x1cd,_0x3f8891._0x156af7)+_0xa2ddc5(0x2e3,0x56c)+'ce.','FVFoe':function(_0x3a613c,_0x51224d,_0x12a7b0){return _0x3a613c(_0x51224d,_0x12a7b0);},'EBwDN':_0xa2ddc5(0x2f2,0x232),'FCcUU':function(_0x99a6e3){return _0x99a6e3();},'aJzMV':function(_0x461859,_0x165ef8){return _0x461859===_0x165ef8;},'hYoHj':_0x3d738d(_0x3f8891._0x13d6c9,0x74e),'RXZgF':function(_0x435fab,_0x325ffa){return _0x435fab(_0x325ffa);},'QuiBP':_0xa2ddc5(0xe8,_0x3f8891._0x430a47),'liumu':function(_0x4b4cdb,_0x28a97b,_0x2c8528){return _0x4b4cdb(_0x28a97b,_0x2c8528);},'EEcRY':function(_0x4a516f,_0x4c5ca4){return _0x4a516f===_0x4c5ca4;},'SmZKY':function(_0x12a0b1){return _0x12a0b1();},'VoDaR':function(_0x10c81c,_0x4595ac){return _0x10c81c(_0x4595ac);},'DQeVT':_0x3d738d(_0x3f8891._0x2e73dc,0x33d)+_0x3d738d(0x629,0x713),'cKSrD':_0x3d738d(0x5a2,0x4d2)},[,,_0x29052f=_0x1c5a5d[_0x3d738d(_0x3f8891._0x10b910,_0x3f8891._0x1ccb10)],..._0x616d80]=process[_0x3d738d(0x2a5,0x400)],_0x30de9e=hasFlag(_0x616d80,'--servic'+'e'),_0x7a0d7=_0x1c5a5d[_0x3d738d(0x79a,0x769)](hasFlag,_0x616d80,_0x1c5a5d[_0xa2ddc5(0x3bc,_0x3f8891._0xb18563)]);if(_0x29052f===_0xa2ddc5(_0x3f8891._0x234d87,0x154)){const _0x5d9476=_0x1c5a5d[_0x3d738d(_0x3f8891._0x1a0aa5,_0x3f8891._0x4cb22a)](readPairSubcommand,_0x616d80),_0x556610=_0x5d9476===_0xa2ddc5(0x314,0x280)||hasFlag(_0x616d80,_0xa2ddc5(0x106,0x1cd));if(_0x556610){const _0x275889=_0x1c5a5d[_0x3d738d(0x4d5,0x43c)](resolveGatewayAuth);if(_0xa2ddc5(_0x3f8891._0x55ce77,_0x3f8891._0x516ab9)in _0x275889)throw new Error(_0x275889[_0x3d738d(0x701,0x95b)]);const _0x1a6863=readFlag(_0x616d80,_0xa2ddc5(0x5bb,0x81d)+'e'),_0x26e170=_0x1c5a5d[_0x3d738d(0x7c8,_0x3f8891._0x205560)](buildLocalPairingInfo,{'explicitUrl':readFlag(_0x616d80,_0x1c5a5d[_0xa2ddc5(_0x3f8891._0x5e633e,_0x3f8891._0x20d644)]),'gatewayToken':_0x275889[_0x3d738d(0x4f5,0x2e4)],'gatewayPassword':_0x275889['password']}),_0x8c23db=await writeRawQrPng(_0x26e170[_0x3d738d(_0x3f8891._0x8ae6e0,0x6ab)+'d'],_0xa2ddc5(_0x3f8891._0x5a3443,_0x3f8891._0x59a3e9)+'local-pa'+'ir',_0x1a6863);if(_0x7a0d7){const _0x3dd2b2={};_0x3dd2b2[_0x3d738d(_0x3f8891._0x45923a,0x687)+'rl']=_0x26e170['gatewayU'+'rl'],_0x3dd2b2[_0xa2ddc5(0x3b9,_0x3f8891._0xf6e9a0)]=_0x26e170[_0xa2ddc5(0x3b9,_0x3f8891._0x4bdd4d)],_0x3dd2b2[_0xa2ddc5(0x126,_0x3f8891._0xd2784b)+'t']=_0x26e170[_0x3d738d(0x29f,0x34d)+'t'],_0x3dd2b2[_0xa2ddc5(_0x3f8891._0x4176b3,_0x3f8891._0x100c80)+'ath']=_0x8c23db,_0x3dd2b2[_0x3d738d(0x58c,_0x3f8891._0x18b561)]=_0x3d738d(0x4c1,_0x3f8891._0x1a8e53)+_0x3d738d(0x6b1,0x68c)+_0xa2ddc5(_0x3f8891._0x207cd9,_0x3f8891._0x9c1a69)+_0xa2ddc5(_0x3f8891._0x1000f6,0x500)+_0xa2ddc5(_0x3f8891._0x5cb17d,0x584),printJson(buildLocalPairingJson(_0x3dd2b2));}else printLocalPairingInfo(_0x26e170[_0x3d738d(0x649,_0x3f8891._0x164319)+'rl'],_0x26e170['authMode'],_0x26e170[_0xa2ddc5(0x126,_0x3f8891._0x33e66c)+'t'],_0x26e170[_0xa2ddc5(_0x3f8891._0x302af0,_0x3f8891._0x9169c1)+'d'],_0x8c23db,_0x1c5a5d[_0xa2ddc5(_0x3f8891._0x3cea08,_0x3f8891._0x21aae8)](readFlag,_0x616d80,_0x1c5a5d[_0xa2ddc5(_0x3f8891._0x5e633e,_0x3f8891._0x5da352)]));return;}const _0x494a78=hasFlag(_0x616d80,_0x3d738d(0x484,_0x3f8891._0x561ff6));!_0x494a78&&await ensurePairPrerequisites();const _0x169fbe=resolveGatewayAuth();if(_0x1c5a5d[_0x3d738d(0x54d,_0x3f8891._0x11ecb3)](_0x3d738d(0x701,_0x3f8891._0x219c19),_0x169fbe))throw new Error(_0x169fbe['error']);const _0x909e9e=_0x1c5a5d['wGIeQ'](readFlag,_0x616d80,_0x1c5a5d[_0x3d738d(_0x3f8891._0x2870a1,0x57a)])??readFlag(_0x616d80,'-s')??_0x3d738d(0x2af,0xe1)+_0x3d738d(0x5ee,0x693)+'.clawket'+_0xa2ddc5(_0x3f8891._0x481235,_0x3f8891._0x414721),_0x3ee622=readFlag(_0x616d80,'--name')??_0x1c5a5d[_0x3d738d(_0x3f8891._0x213727,0x3a8)](readFlag,_0x616d80,'-n')??getDefaultBridgeDisplayName(),_0x2b2ccf=readFlag(_0x616d80,'--qr-fil'+'e'),_0x204d44={};_0x204d44[_0xa2ddc5(0x21a,_0x3f8891._0x44c5b5)+'l']=_0x909e9e,_0x204d44[_0x3d738d(_0x3f8891._0x249806,0x59a)+_0xa2ddc5(0x47c,0x577)]=_0x3ee622,_0x204d44[_0x3d738d(_0x3f8891._0x2043f3,0x4fc)+_0xa2ddc5(0x222,-_0x3f8891._0x48e267)]=_0x169fbe[_0xa2ddc5(_0x3f8891._0x4757ff,0x584)],_0x204d44[_0x3d738d(0x7a8,_0x3f8891._0x4b7326)+_0x3d738d(0x518,_0x3f8891._0x2fd371)]=_0x169fbe[_0x3d738d(0x6dd,0x4d8)];const _0x44756=await pairGateway(_0x204d44),_0x519f35=await _0x1c5a5d['HjTSk'](writePairingQrPng,_0x44756,_0x2b2ccf),_0x29d305=getServiceStatus(),_0x248efc=decidePairServiceAction(_0x44756,_0x29d305);if(_0x1c5a5d[_0xa2ddc5(_0x3f8891._0x450d2b,_0x3f8891._0x427d35)](_0x248efc,_0x3d738d(_0x3f8891._0x3c8622,_0x3f8891._0x40f408))){const _0xcee990=_0x1c5a5d[_0xa2ddc5(_0x3f8891._0x2eb689,_0x3f8891._0x5e378c)](listRuntimeProcesses);if(_0xcee990[_0x3d738d(_0x3f8891._0x7b3075,_0x3f8891._0x39cd2c)]>0x1){stopRuntimeProcesses();const _0x3c6d23=_0x1c5a5d[_0xa2ddc5(0x35c,0x14a)](restartService),_0x4fca61=_0x1c5a5d[_0x3d738d(_0x3f8891._0x36c8b6,0x23f)];_0x7a0d7?printJson(buildPairingJson(_0x44756,_0x519f35,_0x3c6d23,_0x4fca61)):(_0x1c5a5d[_0xa2ddc5(_0x3f8891._0x35197e,_0x3f8891._0x24f3cf)](printPairingInfo,_0x44756,_0x519f35),printServiceResult(_0x4fca61,_0x3c6d23));return;}_0x7a0d7?_0x1c5a5d[_0x3d738d(0x7c8,_0x3f8891._0x1482ad)](printJson,buildPairingJson(_0x44756,_0x519f35,_0x29d305,_0xa2ddc5(_0x3f8891._0x4cfea1,_0x3f8891._0x329f9e)+_0x3d738d(_0x3f8891._0x210431,_0x3f8891._0x1dc737)+'ce\x20alrea'+'dy\x20runni'+_0x3d738d(0x641,0x507)+'\x20unchang'+_0x3d738d(0x362,0x20a))):(printPairingInfo(_0x44756,_0x519f35),console[_0x3d738d(_0x3f8891._0x47912f,_0x3f8891._0x2d1f24)](_0x3d738d(_0x3f8891._0x23839d,_0x3f8891._0x4f6bf3)+_0xa2ddc5(0x2e3,0x104)+'ce\x20alrea'+_0x3d738d(_0x3f8891._0x321c8a,_0x3f8891._0x5ba35b)+_0xa2ddc5(0x4c8,_0x3f8891._0x1e074e)+_0x3d738d(_0x3f8891._0x57ecff,_0x3f8891._0x4ac3e0)+_0x3d738d(0x362,0x3ff)),_0x1c5a5d[_0x3d738d(_0x3f8891._0x66cd00,0x416)](printServiceResult,null,_0x29d305));return;}try{_0x1c5a5d[_0xa2ddc5(_0x3f8891._0x2eb689,_0x3f8891._0x323252)](stopRuntimeProcesses);const _0x245c38=_0x1c5a5d[_0xa2ddc5(_0x3f8891._0x3a9d84,_0x3f8891._0x2562e8)](_0x248efc,_0xa2ddc5(0x35b,_0x3f8891._0x3fb5e5))?installService():restartService(),_0x53e381=_0x248efc===_0x1c5a5d[_0xa2ddc5(_0x3f8891._0x2ac521,0x3d4)]?_0xa2ddc5(_0x3f8891._0x1045ba,0x63e)+_0xa2ddc5(_0x3f8891._0x1322e9,_0x3f8891._0x51f7e7)+_0x3d738d(0x5c1,0x4ee)+_0x3d738d(_0x3f8891._0x3872c4,_0x3f8891._0x42fbae)+'e.':_0x44756[_0x3d738d(0x3b3,0x1df)]===_0x3d738d(_0x3f8891._0x5cd686,0x53d)+'ed'?'Bridge\x20i'+_0xa2ddc5(_0x3f8891._0x4cb518,0x3d8)+_0x3d738d(0x29d,_0x3f8891._0x3b6008)+_0xa2ddc5(0x4f7,0x50e)+_0xa2ddc5(_0x3f8891._0x1895f2,_0x3f8891._0xacc5b9)+_0xa2ddc5(_0x3f8891._0x2495c3,-_0x3f8891._0x36b63f)+_0x3d738d(0x40c,0x26d)+_0xa2ddc5(0x483,0x3a0)+_0xa2ddc5(_0x3f8891._0x493995,_0x3f8891._0x4e585e)+_0x3d738d(0x7d7,0x5f5):_0x3d738d(_0x3f8891._0x23839d,_0x3f8891._0x1256c8)+_0xa2ddc5(_0x3f8891._0x2e0d06,0x2cd)+_0x3d738d(_0x3f8891._0x203028,_0x3f8891._0x322b2f)+_0x3d738d(0x7a6,0x8bf)+_0x3d738d(_0x3f8891._0xed4bd,_0x3f8891._0x1f1a26)+_0xa2ddc5(0x562,0x6bd)+_0xa2ddc5(_0x3f8891._0x321c8a,_0x3f8891._0x1513cf)+_0x3d738d(0x51b,_0x3f8891._0x20a2e2);_0x7a0d7?_0x1c5a5d[_0xa2ddc5(0x64f,0x62a)](printJson,_0x1c5a5d[_0x3d738d(_0x3f8891._0x4cb6e4,0x4f5)](buildPairingJson,_0x44756,_0x519f35,_0x245c38,_0x53e381)):(_0x1c5a5d[_0x3d738d(_0x3f8891._0x4b9fb2,0x623)](printPairingInfo,_0x44756,_0x519f35),_0x1c5a5d[_0xa2ddc5(_0x3f8891._0x237941,0x1eb)](printServiceResult,_0x53e381,_0x245c38));}catch(_0x235ddc){if(isAutostartUnsupportedError(_0x235ddc)){const _0x4d9537=await startTransientRuntime(),_0x4ed3fb=buildUnsupportedAutostartMessage(_0x4d9537);_0x7a0d7?printJson(buildPairingJson(_0x44756,_0x519f35,_0x4d9537,_0x4ed3fb)):(_0x1c5a5d[_0x3d738d(0x67e,_0x3f8891._0x14c8e3)](printPairingInfo,_0x44756,_0x519f35),printServiceResult(_0x4ed3fb,_0x4d9537));return;}console['error'](_0x3d738d(0x31d,0x3e6)+_0x3d738d(0x4d3,_0x3f8891._0x44758c)+'d,\x20but\x20s'+_0x3d738d(_0x3f8891._0x4d9f55,_0x3f8891._0x5cff2e)+'ctivatio'+_0x3d738d(_0x3f8891._0xf7fecc,_0x3f8891._0x383f9b)+':\x20'+_0x1c5a5d[_0x3d738d(_0x3f8891._0x3779bf,_0x3f8891._0x5c6563)](formatError2,_0x235ddc)),console[_0xa2ddc5(0x588,_0x3f8891._0xf331f0)]('You\x20can\x20'+'still\x20ru'+_0xa2ddc5(_0x3f8891._0x3ded9d,-_0x3f8891._0x36eb0f)+_0xa2ddc5(0x45a,0x48e)+'ll\x22\x20or\x20\x22'+'clawket\x20'+_0x3d738d(0x467,0x675)+'ually.'),process['exitCode']=0x1;}return;}if(_0x1c5a5d[_0xa2ddc5(0x35f,0x2b9)](_0x29052f,_0xa2ddc5(_0x3f8891._0x4f6bf3,_0x3f8891._0x5674b9)+_0x3d738d(_0x3f8891._0x207692,0x525))){const _0x585f59=readFlag(_0x616d80,_0x1c5a5d['KsMOo']),_0x3c6e00=resolveGatewayAuth();if(_0x3d738d(0x701,_0x3f8891._0x205560)in _0x3c6e00)throw new Error(_0x3c6e00[_0x3d738d(_0x3f8891._0x39573a,0x870)]);const _0x21ff11={};_0x21ff11[_0x3d738d(0x561,0x5a5)+_0xa2ddc5(_0x3f8891._0x5b0e8a,_0x3f8891._0x329f7c)]=_0x3c6e00[_0x3d738d(_0x3f8891._0x28de34,_0x3f8891._0x32741f)],_0x21ff11[_0xa2ddc5(_0x3f8891._0x53c8b1,_0x3f8891._0xfad468)+'assword']=_0x3c6e00[_0x3d738d(_0x3f8891._0x165d8c,_0x3f8891._0x7915ad)];const _0x25099f=await _0x1c5a5d[_0xa2ddc5(0x333,0x14a)](refreshAccessCode,_0x21ff11),_0x1178a9=await _0x1c5a5d['TDvbe'](writePairingQrPng,_0x25099f,_0x585f59);_0x7a0d7?printJson(buildPairingJson(_0x25099f,_0x1178a9,getServiceStatus(),'Pairing\x20'+_0xa2ddc5(_0x3f8891._0x24f6a0,0x414)+_0xa2ddc5(0x240,0x494))):printPairingInfo(_0x25099f,_0x1178a9);return;}if(_0x29052f===_0x1c5a5d['foZPO']||_0x29052f===_0x1c5a5d[_0x3d738d(0x6ee,0x836)]){const _0x192f56=requirePairingConfig();stopRuntimeProcesses();const _0x56994b=installService();console['log']('Installe'+_0x3d738d(_0x3f8891._0x6926c3,_0x3f8891._0x5837a8)+'ound\x20ser'+_0xa2ddc5(_0x3f8891._0x1fe1bc,_0x3f8891._0x5b8b14)+_0xa2ddc5(_0x3f8891._0x53e770,0x68b)+'\x20'+_0x192f56[_0xa2ddc5(0x462,_0x3f8891._0x3f0722)+'d']+'.'),_0x1c5a5d['hBVWt'](printServiceResult,null,_0x56994b);return;}if(_0x29052f===_0xa2ddc5(0x2ac,0x1bf)){const _0x1a2394=requirePairingConfig();stopRuntimeProcesses();const _0x44c40b=restartService();console[_0x3d738d(0x6e5,_0x3f8891._0x35b72f)](_0x3d738d(0x6ce,0x795)+_0xa2ddc5(_0x3f8891._0x188b89,_0x3f8891._0x42fe31)+'ound\x20ser'+_0x3d738d(0x6a9,0x8f1)+_0x3d738d(_0x3f8891._0x4e6ded,_0x3f8891._0x55ce77)+'\x20'+_0x1a2394[_0xa2ddc5(0x462,0x657)+'d']+'.'),_0x1c5a5d[_0x3d738d(_0x3f8891._0x3c42fd,_0x3f8891._0x4fe028)](printServiceResult,null,_0x44c40b);return;}if(_0x29052f===_0x3d738d(_0x3f8891._0x19a0ae,0x95e)){const _0x88a34f=stopService();stopRuntimeProcesses(),console[_0x3d738d(0x6e5,_0x3f8891._0x5dfc74)](_0x1c5a5d['mPaDn']),_0x1c5a5d[_0x3d738d(_0x3f8891._0x40f408,0x505)](printServiceResult,null,_0x88a34f);return;}function _0x3d738d(_0x541a91,_0x3b845a){return _0x26b3dd(_0x541a91- -_0x1421a5._0x115e12,_0x3b845a);}if(_0x29052f==='uninstal'+'l'){const _0x15f55a=uninstallService();stopRuntimeProcesses(),console[_0xa2ddc5(0x56c,_0x3f8891._0x246cc1)](_0xa2ddc5(_0x3f8891._0x556fb0,-_0x3f8891._0x560712)+'backgrou'+_0x3d738d(_0x3f8891._0x210431,_0x3f8891._0x19e750)+_0x3d738d(_0x3f8891._0x5659c1,0x440)+_0xa2ddc5(_0x3f8891._0x3b6916,0x483)),printServiceResult(null,_0x15f55a);return;}if(_0x29052f===_0x1c5a5d[_0x3d738d(0x339,0x127)]){const _0x4b13a4=(_0x3d738d(0x588,_0x3f8891._0x12c133)+'4')[_0xa2ddc5(_0x3f8891._0xd8e137,_0x3f8891._0x436480)]('|');let _0x20dcb1=0x0;while(!![]){switch(_0x4b13a4[_0x20dcb1++]){case'0':stopService();continue;case'1':_0x1c5a5d['PHjgk'](deletePairingConfig);continue;case'2':stopRuntimeProcesses();continue;case'3':console[_0xa2ddc5(_0x3f8891._0x47016f,0x5bd)](_0x3d738d(_0x3f8891._0x22196d,0x11e)+_0x3d738d(_0x3f8891._0x48362a,0x3e6)+_0x3d738d(0x6f4,0x51e)+_0x1c5a5d[_0x3d738d(0x60d,0x5f6)](getPairingConfigPath));continue;case'4':return;}break;}}if(_0x1c5a5d[_0x3d738d(0x69c,0x686)](_0x29052f,_0x1c5a5d[_0x3d738d(_0x3f8891._0xd91a87,_0x3f8891._0x510961)])){printStatus();return;}if(_0x29052f==='logs'){const _0x534235=Number(_0x1c5a5d[_0x3d738d(0x3c9,_0x3f8891._0x9169c1)](readFlag,_0x616d80,_0x3d738d(_0x3f8891._0x49703c,0x65a))??_0xa2ddc5(_0x3f8891._0x518ebc,0x3e0)),_0x588d3a=_0x1c5a5d[_0x3d738d(_0x3f8891._0x39520a,_0x3f8891._0x156af7)](parseLookbackToMs,readFlag(_0x616d80,_0x1c5a5d[_0x3d738d(0x497,0x5b0)])??readFlag(_0x616d80,'-l')),_0x58152e=readRecentCliLogs({'lines':_0x534235,'lastMs':_0x588d3a,'includeErrorLog':_0x1c5a5d[_0x3d738d(0x5e8,_0x3f8891._0x59d389)](hasFlag,_0x616d80,_0x3d738d(_0x3f8891._0x5b69af,0xa22))});if(_0x7a0d7){const _0x55f489={};_0x55f489['ok']=!![],_0x55f489[_0x3d738d(_0x3f8891._0x56019c,0x3a5)]=_0x58152e,printJson(_0x55f489);}else _0x1c5a5d[_0x3d738d(0x4d8,0x2f6)](_0x58152e[_0xa2ddc5(0x517,0x5ce)],0x0)?console['log'](_0xa2ddc5(0x55b,0x6bf)+'ing\x20CLI\x20'+_0x3d738d(_0x3f8891._0xd4a35d,_0x3f8891._0x5be9ee)+_0xa2ddc5(0x5ba,_0x3f8891._0x273393)):console['log'](_0x58152e[_0x3d738d(0x732,_0x3f8891._0xfa0321)]('\x0a'));return;}if(_0x29052f===_0xa2ddc5(0x4c7,_0x3f8891._0x1cf594)){const _0x7e2d31=await buildDoctorReport();_0x7a0d7?printJson(_0x7e2d31):printDoctorReport(_0x7e2d31);return;}if(_0x1c5a5d['EEcRY'](_0x29052f,_0x3d738d(0x6bd,0x5e9))){const _0xc9d493=requirePairingConfig(),_0x2448cf=hasFlag(_0x616d80,_0x3d738d(0x4e1,0x5f3)+'e'),_0xbe92e5=listRuntimeProcesses()[_0x3d738d(0x566,0x6d1)](_0x3699a9=>_0x3699a9['pid']);_0xbe92e5[_0x3d738d(_0x3f8891._0x7b3075,_0x3f8891._0x597b16)]>0x0&&(!_0x2448cf&&(console[_0x3d738d(_0x3f8891._0x39573a,_0x3f8891._0x2c5c7c)]('Another\x20'+_0x3d738d(0x262,_0x3f8891._0x2d14dd)+_0xa2ddc5(0x2b6,0x21a)+_0x3d738d(0x528,0x6d7)+_0x3d738d(0x3f2,_0x3f8891._0x25e8e7)+_0xa2ddc5(_0x3f8891._0xf29538,0x491)+'g\x20(pid'+(_0xbe92e5[_0xa2ddc5(0x517,_0x3f8891._0x49703c)]>0x1?'s':'')+':\x20'+_0xbe92e5[_0xa2ddc5(0x5b9,_0x3f8891._0x5eadb7)](',\x20')+(').\x20Run\x20\x22'+_0x3d738d(0x555,_0x3f8891._0x104ff3)+_0x3d738d(_0x3f8891._0x15bd0e,0x64c)+_0xa2ddc5(0x4af,_0x3f8891._0x327bec)+_0x3d738d(0x3ea,_0x3f8891._0x17fb17)+'th\x20\x22--re'+_0xa2ddc5(_0x3f8891._0xdca539,0x276)+'o\x20take\x20o'+_0x3d738d(_0x3f8891._0x2b1ac3,0x6ad))),process[_0x3d738d(_0x3f8891._0x130c39,0x9e2)](0x1)),_0x1c5a5d[_0x3d738d(_0x3f8891._0x1c6ae8,_0x3f8891._0x17e4c8)](stopRuntimeProcesses));const _0x57adde=_0x1c5a5d['VoDaR'](resolveGatewayUrl,readFlag(_0x616d80,_0x3d738d(0x66b,_0x3f8891._0x4d253d)+_0x3d738d(_0x3f8891._0x357e3f,0x1d2))??_0x1c5a5d[_0x3d738d(_0x3f8891._0x213727,_0x3f8891._0x1856ee)](readFlag,_0x616d80,'-g')),_0x6aeb25=_0x44492d=>{function _0x16e353(_0x26aefa,_0x435818){return _0x3d738d(_0x26aefa- -0x45,_0x435818);}function _0x3c0eb0(_0x21fdb5,_0x2cd432){return _0x3d738d(_0x21fdb5- -0xdf,_0x2cd432);}console[_0x3c0eb0(_0x5482bc._0x31f7e2,_0x5482bc._0x305f8b)]('['+Date[_0x3c0eb0(_0x5482bc._0x5b8f7f,_0x5482bc._0x36bfee)]()+']\x20'+_0x44492d);};if(!_0x30de9e){const _0x47cf72=_0x1c5a5d['DQeVT'][_0xa2ddc5(_0x3f8891._0xd8e137,0x6a0)]('|');let _0x61036e=0x0;while(!![]){switch(_0x47cf72[_0x61036e++]){case'0':console['log'](_0xa2ddc5(_0x3f8891._0x203b45,_0x3f8891._0x137d84)+'\x20ID:\x20'+_0xc9d493[_0x3d738d(_0x3f8891._0x3d4660,_0x3f8891._0x33326f)+'Id']);continue;case'1':console[_0x3d738d(0x6e5,0x4b0)]('');continue;case'2':console[_0x3d738d(_0x3f8891._0x47912f,0x5cf)]('');continue;case'3':console[_0x3d738d(0x6e5,_0x3f8891._0x553041)]('Gateway\x20'+_0xa2ddc5(0x225,0xf3)+_0xc9d493[_0x3d738d(0x5db,0x4c6)+'d']);continue;case'4':console[_0x3d738d(0x6e5,0x702)]('Starting'+'\x20bridge\x20'+_0x3d738d(0x6f9,0x755)+'\x20Press\x20C'+_0xa2ddc5(0x392,0xd8)+_0xa2ddc5(0x661,0x5c1));continue;case'5':console['log'](_0x3d738d(0x38b,0x121)+_0xa2ddc5(_0x3f8891._0x2de1d7,_0x3f8891._0x4edbe7)+_0x57adde);continue;}break;}}else _0x6aeb25(_0x3d738d(0x711,_0x3f8891._0x166935)+_0xa2ddc5(0x59d,_0x3f8891._0x2914dd)+_0x3d738d(_0x3f8891._0x2daf4e,0x16a)+_0xa2ddc5(_0x3f8891._0x3596cb,0x223)+_0xa2ddc5(_0x3f8891._0x9c5a58,0x3da)+_0x3d738d(_0x3f8891._0x3eddd7,_0x3f8891._0x3498b5)+_0xc9d493[_0x3d738d(0x5db,_0x3f8891._0x454c26)+'d']);_0x30de9e&&_0x1c5a5d[_0xa2ddc5(_0x3f8891._0x2eb689,_0x3f8891._0x8e1aff)](writeServiceState);const _0x3050c8=new BridgeRuntime({'config':_0xc9d493,'gatewayUrl':_0x57adde,'onLog':_0xb9fa7c=>{const _0x511821={_0x355747:0x30};function _0x5ddfb7(_0x4d8dbd,_0x28e4c0){return _0x3d738d(_0x4d8dbd- -_0x511821._0x355747,_0x28e4c0);}_0x6aeb25(_0x5ddfb7(_0x3feff2._0xca2ce2,0x2b3)+']\x20'+_0xb9fa7c);},'onStatus':_0x567656=>{const _0x532547={_0x53ec23:0x253};if(_0x567656[_0x31de10(_0x430185._0x37051d,0x31c)+'r']){_0x6aeb25(_0x31de10(_0x430185._0x58c408,_0x430185._0x26a444)+'\x20relay='+(_0x567656[_0x197345(-_0x430185._0x32015a,0x13a)+'nected']?'up':'down')+(_0x31de10(0x705,_0x430185._0x854877)+'=')+(_0x567656[_0x31de10(0x19d,_0x430185._0x5350c8)+_0x197345(_0x430185._0x3f487f,0x3b9)]?'up':_0x31de10(0x3eb,_0x430185._0x27556a))+(_0x197345(-_0x430185._0x5bc908,-_0x430185._0x5026d2)+'=')+_0x567656['clientCo'+'unt']+_0x31de10(0x396,0x21e)+_0x567656['lastErro'+'r']);return;}function _0x31de10(_0x29bbfd,_0x655d21){return _0x3d738d(_0x655d21- -_0x532547._0x53ec23,_0x29bbfd);}function _0x197345(_0x51809b,_0x383c6c){return _0x3d738d(_0x383c6c- -_0x3044cc._0xf7ca21,_0x51809b);}_0x1c5a5d['HxpuO'](_0x6aeb25,_0x31de10(0x1ec,_0x430185._0x26a444)+_0x197345(-_0x430185._0x68c41e,0xf9)+(_0x567656['relayCon'+_0x197345(-0x24a,-_0x430185._0x5a8d78)]?'up':_0x1c5a5d['GjXqv'])+('\x20gateway'+'=')+(_0x567656[_0x197345(-_0x430185._0x56ac0c,-_0x430185._0x4a62cc)+'onnected']?'up':_0x197345(-0x320,-0x62))+('\x20clients'+'=')+_0x567656[_0x197345(-_0x430185._0x4c85e9,-_0x430185._0x2110cd)+'unt']);},'onPendingPairRequest':_0x586611=>{const _0x471b61={_0x1e9a4a:0x3f5};function _0x381036(_0x5944e8,_0x40f400){return _0xa2ddc5(_0x5944e8-_0x471b61._0x1e9a4a,_0x40f400);}function _0x1d4592(_0x91634c,_0x38b1a1){return _0xa2ddc5(_0x91634c-0x34,_0x38b1a1);}_0x6aeb25('[pair-re'+_0x381036(_0x4dda37._0xf775ff,_0x4dda37._0x193517)+'equestId'+'='+_0x586611[_0x381036(_0x4dda37._0x218691,_0x4dda37._0x5d3a3f)+'d']+(_0x381036(0x583,0x43a)+'d=')+(_0x586611['deviceId']||'<unknown'+'>')+_0x381036(0x831,_0x4dda37._0x4f499c)+(_0x586611[_0x1d4592(0x1ff,_0x4dda37._0x2be527)+_0x1d4592(_0x4dda37._0x114804,_0x4dda37._0x5c227e)]??'<unknown'+'>'));}});_0x3050c8[_0xa2ddc5(0x195,_0x3f8891._0x5744b8)]();const _0x5ec97b={};_0x5ec97b['gatewayI'+'d']=_0xc9d493[_0xa2ddc5(0x462,0x1e1)+'d'],_0x5ec97b[_0x3d738d(_0x3f8891._0x3d4660,_0x3f8891._0x4f4be2)+'Id']=_0xc9d493[_0xa2ddc5(_0x3f8891._0x38784b,_0x3f8891._0x5120ca)+'Id'],_0x5ec97b['serviceM'+_0x3d738d(_0x3f8891._0x3cd72b,_0x3f8891._0x156af7)]=_0x30de9e,registerRuntimeProcess(_0x5ec97b);const _0x47310c=async()=>{process[_0x38cde3(0x99e,0x74e)](_0x38cde3(_0xa84ed5._0x10b3eb,0x551),_0x47310c);function _0x338e86(_0x217e22,_0x11a2c0){return _0xa2ddc5(_0x217e22- -_0x25fbae._0x55c340,_0x11a2c0);}process[_0x338e86(_0xa84ed5._0x5337f5,0x5a3)](_0x1c5a5d['iJKKf'],_0x47310c),await _0x3050c8[_0x338e86(0x2d3,0x31)]();function _0x38cde3(_0x2723e8,_0x59e357){return _0xa2ddc5(_0x59e357-0x128,_0x2723e8);}unregisterRuntimeProcess(process[_0x38cde3(_0xa84ed5._0x51aa0a,_0xa84ed5._0x50d101)]),_0x30de9e&&clearServiceState(process['pid']),process['exit'](0x0);};process['on'](_0x1c5a5d['cKSrD'],_0x47310c),process['on']('SIGTERM',_0x47310c),await new Promise(()=>{});}printHelp();}function printPairingInfo(_0x1033be,_0x31ed01){const _0xdb0bf0={_0x3a6c62:0x4ed,_0x4bfad1:0x352,_0x36fdb8:0x384,_0x13ba99:0x253,_0x1691a4:0x22d,_0x228b34:0x53c,_0xe365d0:0x79f,_0x4e21c5:0x668,_0x3a9081:0x24d,_0x5788eb:0x275,_0x17df94:0x4e1,_0x2b396a:0x6b8,_0x261df2:0x321,_0x3f177a:0x42f,_0x30d269:0x5d4,_0x4ffd71:0x2c2,_0x5c59eb:0x399,_0x4a170e:0x5d4,_0x58c3a4:0x3ec,_0x15bc40:0x462,_0x1882c4:0x329,_0x4e3248:0x369,_0x4eb8d8:0x189,_0x32ca1b:0x37b},_0x3c2fb9={_0x363c1c:0x34b},_0x90e9c6={};_0x90e9c6[_0x4c7f48(_0xdb0bf0._0x3a6c62,_0xdb0bf0._0x4bfad1)]=function(_0x182e76,_0x17b17b){return _0x182e76===_0x17b17b;},_0x90e9c6[_0x4ff521(0x2e8,0x2f0)]=_0x4c7f48(_0xdb0bf0._0x36fdb8,_0xdb0bf0._0x13ba99)+_0x4ff521(0x663,0x859)+_0x4c7f48(0x7f6,0x6c4)+'e\x20Clawke'+_0x4ff521(_0xdb0bf0._0x1691a4,0x435);const _0x4fdafc=_0x90e9c6;_0x4fdafc[_0x4c7f48(0x4f1,0x352)](_0x1033be['action'],_0x4c7f48(_0xdb0bf0._0x228b34,0x6c9)+'d')&&console[_0x4c7f48(_0xdb0bf0._0xe365d0,_0xdb0bf0._0x4e21c5)]('Bridge\x20a'+_0x4c7f48(0x413,_0xdb0bf0._0x3a9081)+'aired.\x20R'+_0x4ff521(0x1dc,_0xdb0bf0._0x5788eb)+_0x4c7f48(0x44d,_0xdb0bf0._0x17df94)+_0x4c7f48(0x630,_0xdb0bf0._0x2b396a)+'e.');function _0x4ff521(_0x30697c,_0x478141){return _0x26b3dd(_0x30697c- -_0x3c2fb9._0x363c1c,_0x478141);}console['log'](_0x4c7f48(0x124,0x30e)+_0x4c7f48(0x193,_0xdb0bf0._0x261df2)+_0x1033be['config'][_0x4ff521(0x4ca,_0xdb0bf0._0x3f177a)+'d']),console[_0x4ff521(_0xdb0bf0._0x30d269,0x4a5)](_0x4fdafc['Ykrjj']);const _0x4a1785={};_0x4a1785[_0x4ff521(0x478,_0xdb0bf0._0x4ffd71)]=!![],_0x3e24a7[_0x4ff521(0x1c6,0x357)](_0x1033be[_0x4c7f48(0x4d2,_0xdb0bf0._0x5c59eb)+'d'],_0x4a1785),console[_0x4ff521(_0xdb0bf0._0x4a170e,_0xdb0bf0._0x58c3a4)](_0x4ff521(_0xdb0bf0._0x15bc40,0x67c)+'\x20'+formatLocalTime(_0x1033be[_0x4ff521(0x541,_0xdb0bf0._0x1882c4)+_0x4ff521(_0xdb0bf0._0x4e3248,0x272)+_0x4c7f48(_0xdb0bf0._0x4eb8d8,_0xdb0bf0._0x32ca1b)]));function _0x4c7f48(_0x33f894,_0x552648){return _0x26b3dd(_0x552648- -0x2b7,_0x33f894);}console['log'](_0x4c7f48(0x804,0x753)+':\x20'+_0x31ed01);}function printLocalPairingInfo(_0x3a3102,_0x1974d1,_0x162662,_0x3e33cc,_0x4ec7e8,_0x100965){const _0x419b10={_0x3515b3:0x49b,_0x1022af:0x541,_0x320df2:0x89b,_0x116c15:0x52c,_0x11e54d:0x5ce,_0x124858:0x370,_0x5338d8:0x850,_0x4b5aeb:0x5c3,_0x13b494:0x14d,_0x1a954e:0x1b7,_0x38b5e0:0x25c,_0x1a3d39:0x340,_0x3d7d3c:0x655,_0x132f3b:0x58a,_0x3ca1aa:0x60a,_0x51f045:0x52a,_0x45fae4:0x2a7,_0x45669d:0x1ed,_0x3dc472:0x444,_0x5994f4:0x33f,_0x3767ad:0x8d,_0x132d03:0x6f2,_0x4fe3a2:0x729,_0x226529:0xd2,_0x25a306:0x69c,_0x15cda6:0x89b,_0x4a2ca9:0x8c1};console[_0x21b858(0x651,_0x419b10._0x3515b3)](_0x386bea(0x5bf,_0x419b10._0x1022af)+'URL:\x20'+_0x3a3102),console[_0x386bea(0x743,_0x419b10._0x320df2)](_0x386bea(_0x419b10._0x116c15,_0x419b10._0x11e54d)+_0x386bea(0x65d,0x6a1)+_0x1974d1),console[_0x386bea(0x759,0x89b)](_0x100965?_0x21b858(0x2db,0x86)+_0x21b858(0x26f,_0x419b10._0x124858)+_0x386bea(_0x419b10._0x5338d8,_0x419b10._0x4b5aeb)+_0x21b858(_0x419b10._0x13b494,0x3fb)+_0x21b858(_0x419b10._0x1a954e,_0x419b10._0x38b5e0)+_0x386bea(0x93a,0x936)+'\x0a':'\x0aScan\x20th'+_0x21b858(_0x419b10._0x1a3d39,0x4e7)+_0x21b858(_0x419b10._0x3d7d3c,_0x419b10._0x132f3b)+_0x21b858(_0x419b10._0x3ca1aa,0x3db)+_0x21b858(_0x419b10._0x51f045,_0x419b10._0x45fae4)+_0x21b858(0xf,_0x419b10._0x45669d));const _0x382a26={};function _0x386bea(_0x25e80f,_0x540fe8){return _0x3266d5(_0x25e80f,_0x540fe8-0x40c);}function _0x21b858(_0x4d0927,_0x4a2ed4){return _0x3266d5(_0x4d0927,_0x4a2ed4-0xc);}_0x382a26[_0x21b858(_0x419b10._0x3dc472,_0x419b10._0x5994f4)]=!![],_0x3e24a7[_0x21b858(-0xa4,_0x419b10._0x3767ad)](_0x3e33cc,_0x382a26),console[_0x386bea(0xa18,0x89b)](_0x386bea(_0x419b10._0x132d03,_0x419b10._0x4fe3a2)+'\x20'+new Date(_0x162662)[_0x386bea(0x862,0x65f)+_0x21b858(-_0x419b10._0x226529,0x18b)]()),console[_0x386bea(_0x419b10._0x25a306,_0x419b10._0x15cda6)](_0x386bea(_0x419b10._0x4a2ca9,0x986)+':\x20'+_0x4ec7e8);}function printStatus(){const _0x19f24f={_0xb161ef:0xf4,_0x518ec3:0xe6,_0x38d853:0x2a9,_0x342a37:0x500,_0x17427e:0x594,_0x6bd22:0x12f,_0x750129:0xa5,_0x399a1d:0x250,_0x2efe2b:0x2d7,_0x1d0e2c:0x969,_0x192742:0x805,_0x935f6c:0x4f6,_0x4d676b:0x651,_0x581ecd:0x51c,_0x11159c:0x442,_0x1b8c02:0x536,_0x89490f:0x109,_0x246df9:0x8ec,_0x217c2a:0x332,_0x1e900a:0xdd,_0x486990:0x51b,_0x2af518:0x29f,_0x1d23de:0x9a,_0x31390a:0x876,_0x164bf3:0x53d,_0x2035ce:0x520},_0x3b3655={_0x599115:0xa9},_0x54cc91={_0x4b2c4c:0x429},_0x31ac3a={'CuvgK':function(_0x461a9c){return _0x461a9c();},'xxOuz':function(_0x282395){return _0x282395();},'LPSRo':_0x1349fe(_0x19f24f._0xb161ef,-_0x19f24f._0x518ec3)+'d'},_0x1c4375=_0x31ac3a['CuvgK'](readPairingConfig),_0xd0732c=getServiceStatus(),{logPath:_0x47fe38,errorLogPath:_0x4cfad}=_0x31ac3a[_0x1349fe(_0x19f24f._0x38d853,_0x19f24f._0x342a37)](getServicePaths),_0x42dd05=_0x31ac3a[_0x2d6f3e(0x7f0,0x6ae)](readCliVersion);function _0x1349fe(_0x56aaf2,_0x45349c){return _0x26b3dd(_0x56aaf2- -_0x54cc91._0x4b2c4c,_0x45349c);}console['log'](_0x2d6f3e(_0x19f24f._0x17427e,0x4ef)+'\x20'+_0x42dd05);!_0x1c4375?console['log'](_0x2d6f3e(0x588,0x6e5)+_0x1349fe(_0x19f24f._0x6bd22,-_0x19f24f._0x750129)+_0x1349fe(_0x19f24f._0x399a1d,_0x19f24f._0x2efe2b)+getPairingConfigPath()+')'):(console[_0x2d6f3e(0x876,0x653)]('Config:\x20'+_0x2d6f3e(_0x19f24f._0x1d0e2c,_0x19f24f._0x192742)),console[_0x1349fe(_0x19f24f._0x935f6c,_0x19f24f._0x4d676b)](_0x2d6f3e(_0x19f24f._0x581ecd,0x6f4)+_0x2d6f3e(0x52f,_0x19f24f._0x11159c)+_0x1c4375[_0x2d6f3e(0x76c,0x6cf)+'d']),console['log'](_0x2d6f3e(0x5a8,_0x19f24f._0x1b8c02)+':\x20'+_0x1c4375[_0x1349fe(0x5c5,0x5e4)+'Id']),console['log'](_0x1349fe(_0x19f24f._0x89490f,0x19a)+_0x2d6f3e(0x809,0x8de)+_0x1c4375['serverUr'+'l']),console['log'](_0x1349fe(0x4c0,0x5ab)+(_0x1c4375['displayN'+'ame']??'-')));console['log']('Gateway:'+'\x20'+resolveGatewayUrl());function _0x2d6f3e(_0x205686,_0x132b16){return _0x26b3dd(_0x205686- -_0x3b3655._0x599115,_0x132b16);}console[_0x1349fe(0x4f6,0x498)](_0x2d6f3e(0x6ec,_0x19f24f._0x246df9)+'\x20'+(_0xd0732c['installe'+'d']?_0x31ac3a['LPSRo']:_0x2d6f3e(0x499,0x1f1)+'alled')+'\x20('+_0xd0732c[_0x1349fe(_0x19f24f._0x217c2a,0x8f)]+')'),console['log']('Running:'+'\x20'+(_0xd0732c['running']?_0x2d6f3e(0x4d6,0x440):'no')),console[_0x1349fe(_0x19f24f._0x935f6c,0x363)](_0x1349fe(_0x19f24f._0x1e900a,0x2cc)+(_0xd0732c[_0x1349fe(_0x19f24f._0x486990,_0x19f24f._0x2af518)+_0x1349fe(_0x19f24f._0x1d23de,0x155)]||'-')),console[_0x2d6f3e(_0x19f24f._0x31390a,0x8bb)](_0x1349fe(0x83,0x1d4)+_0x47fe38),console[_0x2d6f3e(_0x19f24f._0x31390a,0xa5f)](_0x2d6f3e(0x858,0x748)+'g:\x20'+_0x4cfad),!_0x1c4375&&(process[_0x2d6f3e(_0x19f24f._0x164bf3,_0x19f24f._0x2035ce)]=0x1);}function printServiceResult(_0x2b2a3e,_0x4f9b93){const _0x4680e9={_0x2b66d0:0x446,_0x16eec2:0x57,_0x229251:0x11f,_0x4c14e2:0x4fc,_0x2c598a:0x6c2,_0x497aad:0x2f1,_0x13f622:0x49d,_0x5c8227:0x96a};function _0x398e56(_0x1facaa,_0x20c363){return _0x26b3dd(_0x1facaa- -0x574,_0x20c363);}_0x2b2a3e&&console[_0x6ab7ab(0x5d0,0x6ea)](_0x2b2a3e);console[_0x398e56(0x3ab,0x413)](_0x6ab7ab(_0x4680e9._0x2b66d0,0x617)+'\x20'+(_0x4f9b93['installe'+'d']?_0x4f9b93[_0x398e56(0x315,0x213)]?_0x398e56(-_0x4680e9._0x16eec2,-_0x4680e9._0x229251)+_0x6ab7ab(_0x4680e9._0x4c14e2,_0x4680e9._0x2c598a)+'ng':_0x398e56(-0x57,-_0x4680e9._0x497aad)+'d,\x20stopp'+'ed':'not\x20inst'+_0x6ab7ab(0x2ae,_0x4680e9._0x13f622)));function _0x6ab7ab(_0x4c6ea7,_0x1095e7){return _0x26b3dd(_0x4c6ea7- -0x34f,_0x1095e7);}console[_0x6ab7ab(0x5d0,0x7bc)](_0x6ab7ab(0x6b2,_0x4680e9._0x5c8227)+'path:\x20'+(_0x4f9b93[_0x6ab7ab(0x5f5,0x5b2)+'ath']||'-'));}function printDoctorReport(_0x485869){const _0x5d7584={_0x172571:0x5c,_0x573468:0x4d6,_0x3e62b7:0x12a,_0x50e920:0x5d,_0x125219:0x715,_0x2abe40:0x547,_0x16269d:0x6ca,_0x10ad51:0x4b8,_0x26d067:0x6ed,_0x49fd00:0x7a6,_0x42223c:0x740,_0xaf0c94:0x10f,_0x1d3fb5:0x661,_0x546827:0x116,_0x517ea8:0x740,_0x19b4d3:0x1f1,_0x342cba:0x740,_0x18ca95:0x67b,_0x4a837b:0x3e6,_0x4fd6a3:0x289,_0x19e343:0x3b5,_0x282563:0x7e,_0x4321fe:0x196,_0x1ca7c5:0x5ed,_0x5cc771:0x3f6,_0x5581d9:0x276,_0x53555b:0x2c8,_0xf680bb:0x302,_0x56835a:0x3cb,_0x5e3ca1:0x6e4,_0x52b8f2:0x6a6,_0x283793:0x3f9,_0x4f3ab0:0x3e6,_0x32f1cf:0x81,_0xeacda1:0xd1,_0x49f1a2:0x282,_0x360a82:0xb5,_0x2ff524:0x107,_0x52f33b:0x1b3,_0x1c0c9a:0xff,_0x1cc44c:0x3a6,_0xc34d66:0x55d,_0x1cb6d4:0x358,_0x1afb68:0x1f8,_0x238831:0x209,_0x1c7aa3:0x3ee,_0x225ac2:0x487,_0x5d4016:0x2d0,_0x5aed38:0x1e6,_0x5c4be5:0x6b,_0x4071f6:0x80,_0x117397:0x30,_0x15502e:0x276,_0x51d49a:0x189,_0x3089c0:0x19a,_0x40328c:0x358,_0x43b686:0xb3,_0x59c6a9:0x1a8,_0x3d2bd9:0xca,_0x350a44:0x328,_0x556939:0x31b,_0x94ec75:0x3bc,_0x3f96ba:0x2dd},_0x13a7cb={_0x1476c4:0x2b1},_0x2d61f1={_0x445672:0x219},_0x19bae9={};function _0x2ca216(_0x45498e,_0x185296){return _0x3266d5(_0x45498e,_0x185296- -_0x2d61f1._0x445672);}function _0x1d0adb(_0x5cddc7,_0x30876f){return _0x3266d5(_0x5cddc7,_0x30876f-_0x13a7cb._0x1476c4);}_0x19bae9[_0x2ca216(0x342,0x2dd)]=_0x1d0adb(_0x5d7584._0x172571,0x2e0),_0x19bae9[_0x1d0adb(0x73b,_0x5d7584._0x573468)]=_0x2ca216(0x120,-_0x5d7584._0x3e62b7);const _0x1ea278=_0x19bae9,_0x58014=(_0x2ca216(_0x5d7584._0x50e920,0x2da)+_0x1d0adb(0x7ca,_0x5d7584._0x125219)+_0x1d0adb(_0x5d7584._0x2abe40,_0x5d7584._0x16269d)+_0x1d0adb(_0x5d7584._0x10ad51,_0x5d7584._0x26d067)+_0x1d0adb(0x30c,0x441))['split']('|');let _0x190b56=0x0;while(!![]){switch(_0x58014[_0x190b56++]){case'0':console[_0x1d0adb(_0x5d7584._0x49fd00,_0x5d7584._0x42223c)](_0x2ca216(0x2b3,_0x5d7584._0xaf0c94)+_0x1d0adb(0x53b,_0x5d7584._0x1d3fb5)+_0x485869[_0x1d0adb(_0x5d7584._0x546827,0x308)+'Path']);continue;case'1':console[_0x1d0adb(0x806,_0x5d7584._0x517ea8)](_0x2ca216(0x11a,0x2e0)+':\x20'+_0x485869[_0x2ca216(0x59,_0x5d7584._0x19b4d3)]);continue;case'2':console[_0x1d0adb(0x9b7,_0x5d7584._0x342cba)](_0x1d0adb(_0x5d7584._0x18ca95,_0x5d7584._0x4a837b)+_0x1d0adb(_0x5d7584._0x4fd6a3,_0x5d7584._0x19e343)+_0x485869[_0x2ca216(_0x5d7584._0x282563,-0x9f)+_0x2ca216(0x2b,-_0x5d7584._0x4321fe)]);continue;case'3':console[_0x2ca216(-0x1c,0x276)]('Service:'+'\x20'+(_0x485869[_0x1d0adb(0x800,0x568)+_0x1d0adb(0x7a9,0x801)]?_0x1d0adb(_0x5d7584._0x1ca7c5,0x33e)+'d':'not\x20inst'+'alled')+'\x20('+_0x485869['serviceM'+'ethod']+')');continue;case'4':console[_0x2ca216(_0x5d7584._0x5cc771,_0x5d7584._0x5581d9)](_0x1d0adb(0x20c,0x3c3)+_0x2ca216(_0x5d7584._0x53555b,_0x5d7584._0xf680bb)+(_0x485869[_0x1d0adb(0x1fc,_0x5d7584._0x56835a)+_0x1d0adb(_0x5d7584._0x5e3ca1,_0x5d7584._0x52b8f2)+'nd']?'found':_0x1ea278['zdFHL']));continue;case'5':console['log'](_0x1d0adb(_0x5d7584._0x283793,_0x5d7584._0x4f3ab0)+_0x2ca216(_0x5d7584._0x32f1cf,-_0x5d7584._0xeacda1)+(_0x485869[_0x2ca216(-0x9b,0x16c)+'d']??'-'));continue;case'6':console[_0x2ca216(0x39d,_0x5d7584._0x5581d9)](_0x2ca216(0x1fa,-0x55)+(_0x485869['paired']?_0x1ea278['hrNrY']:'no'));continue;case'7':console[_0x2ca216(_0x5d7584._0x49f1a2,0x276)](_0x2ca216(_0x5d7584._0x360a82,-_0x5d7584._0x2ff524)+'\x20config:'+'\x20'+(_0x485869[_0x2ca216(-_0x5d7584._0x52f33b,-_0x5d7584._0x1c0c9a)+_0x1d0adb(0x55a,0x49d)+_0x1d0adb(0x372,_0x5d7584._0x1cc44c)]?_0x1d0adb(_0x5d7584._0xc34d66,_0x5d7584._0x1cb6d4):'missing'));continue;case'8':console[_0x2ca216(_0x5d7584._0x1afb68,_0x5d7584._0x5581d9)]('Server\x20U'+_0x2ca216(0x3f3,_0x5d7584._0x238831)+(_0x485869[_0x1d0adb(0x2e2,_0x5d7584._0x1c7aa3)+'l']??'-'));continue;case'9':console[_0x1d0adb(_0x5d7584._0x225ac2,0x740)]('Service\x20'+_0x1d0adb(_0x5d7584._0x5d4016,0x464)+(_0x485869[_0x2ca216(0x2f0,0x29b)+_0x2ca216(-0x2f,-_0x5d7584._0x5aed38)]||'-'));continue;case'10':console['log'](_0x1d0adb(0x31a,0x472)+_0x2ca216(0xa7,_0x5d7584._0x5c4be5)+(_0x485869['instance'+'Id']??'-'));continue;case'11':console[_0x2ca216(_0x5d7584._0x4071f6,0x276)]('Gateway\x20'+_0x2ca216(-0x38,0x1ff)+_0x1d0adb(0x6f9,0x546)+(_0x485869['localGat'+'ewayReac'+_0x2ca216(-_0x5d7584._0x117397,0x1f6)]?_0x1ea278[_0x2ca216(0x2b5,0xc)]:'no'));continue;case'12':console[_0x2ca216(0x3a5,_0x5d7584._0x15502e)](_0x2ca216(_0x5d7584._0x51d49a,_0x5d7584._0x3089c0)+'L:\x20'+(_0x485869['relayUrl']??'-'));continue;case'13':console[_0x2ca216(0x12,0x276)](_0x2ca216(0x48d,_0x5d7584._0x40328c)+_0x1d0adb(0x7d1,0x605)+'\x20'+(_0x485869['serviceR'+'unning']?_0x2ca216(_0x5d7584._0x43b686,-0x12a):'no'));continue;case'14':console['log'](_0x2ca216(0x9c,-0x107)+'\x20dir:\x20'+_0x485869[_0x1d0adb(_0x5d7584._0x59c6a9,_0x5d7584._0x56835a)+_0x2ca216(_0x5d7584._0x3d2bd9,_0x5d7584._0x350a44)+'r']);continue;case'15':console[_0x2ca216(_0x5d7584._0x556939,_0x5d7584._0x15502e)](_0x2ca216(-_0x5d7584._0x94ec75,-0x107)+_0x2ca216(-_0x5d7584._0x3f96ba,-0xf9)+_0x485869['openclaw'+'MediaDir']);continue;}break;}}function requirePairingConfig(){const _0x1de835={_0x2b3bcf:0x4b8,_0x4d2ea6:0x66e,_0x5864a1:0x4d8,_0x16bebe:0x56b,_0x1e3b83:0x30f,_0xf7241c:0x175},_0x3b1fba={'nTjKY':function(_0x2ae040){return _0x2ae040();}},_0x53a3a5=_0x3b1fba[_0x52bc85(0x4f1,0x2b3)](readPairingConfig);!_0x53a3a5&&(console[_0x52bc85(_0x1de835._0x2b3bcf,0x366)]('Not\x20pair'+'ed.\x20Run\x20'+_0x2a04c5(_0x1de835._0x4d2ea6,_0x1de835._0x5864a1)+'\x20pair\x22\x20f'+'irst.\x20Co'+_0x52bc85(_0x1de835._0x16bebe,_0x1de835._0x1e3b83)+_0x2a04c5(_0x1de835._0xf7241c,0x134)+getPairingConfigPath()),process['exit'](0x1));function _0x52bc85(_0x1099cd,_0x4f2890){return _0x3266d5(_0x1099cd,_0x4f2890- -0x145);}function _0x2a04c5(_0x359d55,_0x5da39b){return _0x3266d5(_0x359d55,_0x5da39b-0x1);}return _0x53a3a5;}function readFlag(_0x23c718,_0x55315f){const _0x3c1c05={_0x2a72b1:0x320,_0x1d846a:0x93,_0x49e692:0x1e8},_0x42732c={_0x4b16f5:0x44e},_0x310ed7={};_0x310ed7[_0x1533fe(_0x3c1c05._0x2a72b1,0xed)]=function(_0x4aee2f,_0x2a0f9c){return _0x4aee2f<_0x2a0f9c;};function _0x193f99(_0x15ec4a,_0x55f5dd){return _0x26b3dd(_0x55f5dd- -0x5ce,_0x15ec4a);}const _0x271a88=_0x310ed7;function _0x1533fe(_0x59ffc2,_0x53864c){return _0x26b3dd(_0x53864c- -_0x42732c._0x4b16f5,_0x59ffc2);}const _0x567026=_0x23c718[_0x193f99(0x11f,0x72)](_0x55315f);if(_0x271a88[_0x193f99(-0xe1,-_0x3c1c05._0x1d846a)](_0x567026,0x0))return null;const _0x3b43f4=_0x23c718[_0x567026+0x1];return _0x3b43f4?.[_0x193f99(0x43e,0x1e8)]()?_0x3b43f4[_0x193f99(0x46b,_0x3c1c05._0x49e692)]():null;}function hasFlag(_0x1b1642,_0x3c5495){const _0x40f1a6={_0x14723d:0x2f9};function _0x1425dd(_0x125f5f,_0x4c53a7){return _0x3266d5(_0x4c53a7,_0x125f5f- -0x1c4);}return _0x1b1642[_0x1425dd(_0x40f1a6._0x14723d,0x338)](_0x3c5495);}function readPairSubcommand(_0x4b76d3){const _0x3acfbd={_0x572f7a:0x16e,_0x266784:0x1d,_0x4e17e9:0x16a,_0x451227:0x412},_0x29100f={_0x2f631b:0x413};function _0x136066(_0x440001,_0x3636a1){return _0x3266d5(_0x3636a1,_0x440001- -0x1bc);}for(const _0x5143de of _0x4b76d3){if(!_0x5143de[_0x136066(_0x3acfbd._0x572f7a,_0x3acfbd._0x266784)+'th']('-'))return _0x5143de[_0x136066(_0x3acfbd._0x4e17e9,_0x3acfbd._0x451227)]()||null;}function _0x57fbe1(_0x42d8c8,_0x133129){return _0x3266d5(_0x42d8c8,_0x133129-_0x29100f._0x2f631b);}return null;}function printHelp(){const _0x404040={_0x37146e:0x266,_0x54b985:0x31f,_0x5dd87f:0x11e,_0x51bbb1:0xb0,_0x4523c8:0x5a,_0x3c30b6:0xd8,_0x53f47d:0x16,_0x67957f:0x276,_0x21c946:0x164,_0x4feb8b:0x3d7,_0x212de0:0x29e,_0x382247:0x226,_0xf8b793:0x435,_0x2c1c7a:0x1d7,_0x2b58e1:0x6b3,_0x27908c:0x23e,_0x4e66fd:0x1aa,_0xc505:0x39c,_0x5edd34:0x43c,_0x1b258e:0x5e,_0x3d58a8:0x204,_0x454abd:0x339,_0x38a2b8:0x3f,_0xb7cb2f:0xd3,_0x3ff743:0x1f1,_0x1312ac:0x25e,_0x4afaf6:0x65,_0x466919:0x499,_0x130e9a:0x1db,_0x462915:0x264,_0xec91fa:0x430,_0x1afec1:0x36e,_0x315f3d:0x26f,_0x4d5a84:0x26,_0x1fa211:0x461,_0x2aa8cc:0x6a,_0x316eee:0x250,_0x2dfeec:0x75,_0x2b69a6:0x35c,_0x200f6e:0x2b1,_0x28375d:0x25d,_0x14d9a5:0x2ce,_0x3d8126:0x180,_0x2dc62a:0x182,_0x1f4e82:0x121,_0x3e1221:0x21e,_0x3f9d72:0x258,_0x5be74d:0x2af,_0x21432b:0x474,_0x156955:0xbf,_0x1d3c83:0x400,_0x3544c1:0x24e,_0x2fecf5:0x187,_0x438fec:0x118,_0x42c299:0x16,_0xfd9923:0x286,_0x3abed4:0x3bf,_0x57faa6:0x2cd,_0x28ec5a:0x24e,_0x1025f7:0xe4,_0x3ac4db:0x2af,_0x41724a:0x85,_0x530077:0x21f,_0x5732b5:0xbb,_0xc1ace3:0xb9},_0x186fc4={_0x52d48c:0xb1},_0x23358d={};_0x23358d[_0x42f3cf(0xd7,_0x404040._0x37146e)]=_0x42f3cf(0x437,0x24e)+_0x42f3cf(_0x404040._0x54b985,_0x404040._0x5dd87f);function _0x164b3f(_0x4634c0,_0x5efda0){return _0x3266d5(_0x4634c0,_0x5efda0- -0x89);}function _0x42f3cf(_0x1da374,_0x23620f){return _0x3266d5(_0x1da374,_0x23620f- -_0x186fc4._0x52d48c);}_0x23358d[_0x164b3f(-_0x404040._0x51bbb1,0x1f1)]=_0x42f3cf(0x102,0x24e)+_0x164b3f(_0x404040._0x4523c8,0x164)+'l',_0x23358d[_0x164b3f(_0x404040._0x3c30b6,0x2fb)]=_0x164b3f(_0x404040._0x53f47d,_0x404040._0x67957f)+_0x42f3cf(0x38c,_0x404040._0x21c946);const _0x359abc=_0x23358d;console['log'](['clawket\x20'+_0x164b3f(_0x404040._0x4feb8b,_0x404040._0x212de0)+_0x42f3cf(0x322,_0x404040._0x382247)+_0x42f3cf(0x266,_0x404040._0xf8b793)+_0x164b3f(0x3ee,_0x404040._0x2c1c7a)+_0x42f3cf(_0x404040._0x2b58e1,0x441)+'me>]\x20[--'+_0x164b3f(0x91,0x2f6)+_0x164b3f(_0x404040._0x27908c,_0x404040._0x4e66fd)+_0x42f3cf(0x33,0x1f6)+_0x164b3f(_0x404040._0xc505,_0x404040._0x5edd34)+'e]','clawket\x20'+'pair\x20loc'+_0x164b3f(_0x404040._0x1b258e,_0x404040._0x3d58a8)+_0x164b3f(0x9a,_0x404040._0x454abd)+_0x42f3cf(-0x36,-_0x404040._0x38a2b8)+_0x42f3cf(_0x404040._0xb7cb2f,_0x404040._0x3ff743)+_0x42f3cf(-_0x404040._0x1312ac,-_0x404040._0x4afaf6)+_0x42f3cf(_0x404040._0x466919,_0x404040._0x130e9a)+_0x164b3f(_0x404040._0x462915,0x1e9),_0x164b3f(_0x404040._0xec91fa,0x276)+'pair\x20--l'+_0x164b3f(_0x404040._0x1afec1,0x2cc)+_0x164b3f(_0x404040._0x315f3d,_0x404040._0x4d5a84)+_0x42f3cf(_0x404040._0x1fa211,0x429)+_0x164b3f(0x2a3,0x3ff)+_0x42f3cf(-_0x404040._0x2aa8cc,_0x404040._0x316eee)+'\x20<path>]'+'\x20[--json'+']',_0x164b3f(_0x404040._0x2dfeec,0x276)+_0x42f3cf(0x3c9,_0x404040._0x2b69a6)+_0x164b3f(_0x404040._0x200f6e,_0x404040._0x28375d)+_0x42f3cf(0x291,_0x404040._0x14d9a5)+_0x42f3cf(_0x404040._0x3d8126,_0x404040._0x2dc62a)+_0x164b3f(_0x404040._0x1f4e82,_0x404040._0x3e1221),_0x42f3cf(0x59,0x24e)+_0x42f3cf(_0x404040._0x3f9d72,0x7),_0x164b3f(0xe5,0x276)+'install',_0x359abc[_0x164b3f(0x106,0x28e)],_0x164b3f(_0x404040._0x5be74d,0x276)+_0x164b3f(0x514,_0x404040._0x21432b),_0x359abc[_0x164b3f(-_0x404040._0x156955,0x1f1)],_0x359abc['SeygA'],_0x42f3cf(0x13d,0x24e)+'status',_0x42f3cf(_0x404040._0x1d3c83,_0x404040._0x3544c1)+'logs\x20[--'+_0x42f3cf(0x237,0x278)+'>]\x20[--li'+'nes\x20<200'+_0x42f3cf(-_0x404040._0x2fecf5,_0x404040._0x438fec)+_0x42f3cf(_0x404040._0x42c299,_0x404040._0xfd9923)+_0x42f3cf(0x5a1,_0x404040._0x3abed4),_0x42f3cf(_0x404040._0x57faa6,_0x404040._0x28ec5a)+'doctor\x20['+'--json]','clawket\x20'+_0x42f3cf(0x430,0x2f3)+_0x42f3cf(_0x404040._0x1025f7,0x252)+'rl\x20<ws:/'+_0x164b3f(_0x404040._0x3ac4db,_0x404040._0x41724a)+_0x42f3cf(-0x16,0xf5)+_0x164b3f(_0x404040._0x530077,0x3d9)+_0x164b3f(-_0x404040._0x5732b5,_0x404040._0xc1ace3)]['join']('\x0a'));}function buildUnsupportedAutostartMessage(_0x32bffb){const _0x427c82={_0x518010:0x7ac,_0xf9df9b:0x6fe,_0x3b3bbc:0x795,_0x3d1986:0x6d2,_0x4d429b:0x5ad,_0x326d21:0x7b9,_0x5310e5:0x550,_0x56ae93:0x2ae,_0xc44760:0x55c,_0x1beb6a:0x4a6,_0x311e96:0x43c,_0x5ddbb8:0x8de,_0x879dec:0x3cd,_0x1e545f:0x44d,_0xffe259:0x5f6,_0xb2646:0x755,_0x3ad7d8:0x4d5,_0x49209e:0x498,_0x3970f7:0x9a9,_0x489c5a:0x90f,_0x36b0ec:0x660,_0x497714:0xa00,_0x57ade2:0x93c,_0x8d937b:0x4cf,_0x1c12fd:0x48a,_0x15d4b3:0x5c4,_0x1ead4c:0x88d,_0x4bb8f9:0x9bd,_0x3a6762:0x29d,_0x1a678d:0x4ce},_0x19eff6={_0xcaf72c:0x496};function _0x5683fd(_0x55e487,_0x2a5b72){return _0x3266d5(_0x55e487,_0x2a5b72-0x3ba);}if(_0x32bffb[_0x5683fd(_0x427c82._0x518010,0x7b3)])return _0x80a916(0x6c9,0x91a)+'the\x20brid'+_0x5683fd(_0x427c82._0xf9df9b,0x675)+'me,\x20but\x20'+'this\x20hos'+_0x5683fd(0x6a9,0x44d)+_0x80a916(_0x427c82._0x3b3bbc,_0x427c82._0x3d1986)+_0x80a916(0x81a,0x679)+'atic\x20sta'+'rtup\x20reg'+_0x80a916(_0x427c82._0x4d429b,0x574)+_0x80a916(_0x427c82._0x326d21,_0x427c82._0x5310e5)+_0x80a916(_0x427c82._0x56ae93,_0x427c82._0xc44760)+'ainer\x20or'+'\x20process'+_0x5683fd(0x6e9,_0x427c82._0x1beb6a)+_0x5683fd(0x59e,_0x427c82._0x311e96)+_0x5683fd(0x8d9,_0x427c82._0x5ddbb8)+'ket\x20on\x20r'+_0x80a916(_0x427c82._0x879dec,0x5f0);function _0x80a916(_0x6fe930,_0xbe439f){return _0x3266d5(_0x6fe930,_0xbe439f-_0x19eff6._0xcaf72c);}return _0x5683fd(0x4ef,0x471)+_0x5683fd(0x614,_0x427c82._0x1e545f)+_0x5683fd(0x66c,_0x427c82._0xffe259)+_0x5683fd(0x57c,0x59d)+_0x80a916(0x8e4,_0x427c82._0xb2646)+'rtup\x20reg'+_0x5683fd(_0x427c82._0x3ad7d8,_0x427c82._0x49209e)+_0x80a916(0x282,0x4b5)+_0x5683fd(_0x427c82._0x3970f7,0x826)+'e\x20runtim'+_0x80a916(0x62b,0x7e4)+_0x5683fd(0x746,0x79c)+_0x80a916(_0x427c82._0x489c5a,_0x427c82._0x36b0ec)+_0x80a916(_0x427c82._0x497714,_0x427c82._0x57ade2)+'ally.\x20Us'+_0x5683fd(0x447,_0x427c82._0x8d937b)+_0x80a916(0x42e,0x624)+_0x5683fd(0x35b,_0x427c82._0x1c12fd)+_0x5683fd(0x870,_0x427c82._0x15d4b3)+_0x80a916(_0x427c82._0x1ead4c,_0x427c82._0x4bb8f9)+'un\x20Clawk'+_0x5683fd(_0x427c82._0x3a6762,_0x427c82._0x1a678d);}function formatLocalTime(_0x65b88f){const _0x4a6ee3={_0x1b3579:0x70b,_0x500c51:0x699,_0x28baa7:0x752},_0x294a20={_0x319358:0x4d6},_0x55f6f8=new Date(_0x65b88f);if(Number[_0x29d2d3(_0x4a6ee3._0x1b3579,_0x4a6ee3._0x500c51)](_0x55f6f8[_0x29d2d3(0x3db,0x5ad)]()))return _0x65b88f;function _0x4c6118(_0x3a83a2,_0x35a25e){return _0x3266d5(_0x35a25e,_0x3a83a2-0x4ff);}function _0x29d2d3(_0x821d93,_0x3a044f){return _0x3266d5(_0x821d93,_0x3a044f-_0x294a20._0x319358);}return _0x55f6f8[_0x4c6118(_0x4a6ee3._0x28baa7,0x5ba)+'String']();}function formatError2(_0x91cb24){const _0x193d1a={_0xb80035:0x82c},_0x37f3d3={};_0x37f3d3[_0x1321fa(0x5dc,_0x193d1a._0xb80035)]=function(_0x393789,_0x36ca57){return _0x393789 instanceof _0x36ca57;};function _0x1321fa(_0x5ef853,_0x127d80){return _0x3266d5(_0x5ef853,_0x127d80-0x338);}const _0x2e42d7=_0x37f3d3;return _0x2e42d7['XEjhV'](_0x91cb24,Error)?_0x91cb24['message']:String(_0x91cb24);}function printJson(_0x472b6f){const _0x5e7d24={_0x47531b:0x509};function _0x591f98(_0x113428,_0x236a49){return _0x3266d5(_0x236a49,_0x113428-_0x5e7d24._0x47531b);}console[_0x591f98(0x998,0x913)](JSON['stringif'+'y'](_0x472b6f,null,0x2));}main()[_0x3266d5(0x394,0x557)](_0x4fcac4=>{const _0x4066b9={_0x10787e:0x88d,_0x487f9a:0x8a8,_0x5bc423:0x741},_0x9f594e={_0x49204a:0x134},_0x442691={_0x54cbb6:0x237},_0x48d2ce={'uXCtd':function(_0x580276,_0x254f60){return _0x580276(_0x254f60);}};function _0x2d23be(_0x256c0c,_0x3ca6e3){return _0x26b3dd(_0x256c0c- -_0x442691._0x54cbb6,_0x3ca6e3);}console[_0x2d23be(0x704,_0x4066b9._0x10787e)](_0x48d2ce[_0x2b31eb(0x961,_0x4066b9._0x487f9a)](formatError2,_0x4fcac4));function _0x2b31eb(_0x4425d8,_0x1e975e){return _0x26b3dd(_0x1e975e- -_0x9f594e._0x49204a,_0x4425d8);}process[_0x2d23be(_0x4066b9._0x5bc423,0x8e0)](0x1);});