@p697/clawket 0.3.8 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- (function(_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(_0xe3e922,_0xd820c4){const _0x58f06b={_0x23f0d5:0x20e,_0x361e04:0x190,_0x4f48ca:0x197,_0x3c38e3:0x771,_0x2f8b9e:0x331,_0x221114:0x530,_0x32b071:0x24,_0x44285e:0x474,_0x1c4f86:0x7b9,_0xbc2997:0x348,_0x338b4d:0x28a,_0x410779:0x3a4},_0x5a3bc0=_0xe3e922();function _0x98b90c(_0x42c681,_0x2e7e3a){return _0x1fba(_0x42c681- -0x1c5,_0x2e7e3a);}function _0x26aed1(_0x2af1d9,_0x3f0ee8){return _0x1fba(_0x3f0ee8- -0x1a2,_0x2af1d9);}while(!![]){try{const _0x176171=parseInt(_0x26aed1(0x248,_0x58f06b._0x23f0d5))/0x1*(parseInt(_0x26aed1(_0x58f06b._0x361e04,0x1f7))/0x2)+-parseInt(_0x26aed1(0x10e,0x282))/0x3*(-parseInt(_0x26aed1(-_0x58f06b._0x4f48ca,0x100))/0x4)+parseInt(_0x26aed1(_0x58f06b._0x3c38e3,0x4aa))/0x5+-parseInt(_0x26aed1(_0x58f06b._0x2f8b9e,_0x58f06b._0x221114))/0x6+-parseInt(_0x98b90c(0x11c,-_0x58f06b._0x32b071))/0x7*(-parseInt(_0x98b90c(_0x58f06b._0x44285e,0x513))/0x8)+parseInt(_0x26aed1(_0x58f06b._0x1c4f86,0x4e9))/0x9*(parseInt(_0x98b90c(0x363,_0x58f06b._0xbc2997))/0xa)+-parseInt(_0x98b90c(0x343,0x112))/0xb*(parseInt(_0x98b90c(_0x58f06b._0x338b4d,_0x58f06b._0x410779))/0xc);if(_0x176171===_0xd820c4)break;else _0x5a3bc0['push'](_0x5a3bc0['shift']());}catch(_0x4df009){_0x5a3bc0['push'](_0x5a3bc0['shift']());}}}(_0x1876,0xb3ef0));const _0x3fec44=(function(){let _0x3bf892=!![];return function(_0xf3976d,_0x54c33a){const _0x2e6d54=_0x3bf892?function(){if(_0x54c33a){const _0x184ba8=_0x54c33a['apply'](_0xf3976d,arguments);return _0x54c33a=null,_0x184ba8;}}:function(){};return _0x3bf892=![],_0x2e6d54;};}()),_0x5726ab=_0x3fec44(this,function(){const _0x1b29ea={_0xa7b9c8:0x409,_0x2be472:0x379,_0x33b088:0x32e,_0x509c0a:0x584,_0x392389:0x4a5,_0x3a126d:0x420,_0x47a7f3:0x41b,_0x2e7eb5:0x379,_0xab5bfe:0x977,_0x152620:0x7e9};function _0x2251c7(_0x5f5d3d,_0x862d4a){return _0x1fba(_0x862d4a-0x96,_0x5f5d3d);}function _0x34d2a7(_0xddf612,_0x53faf9){return _0x1fba(_0x53faf9- -0x59,_0xddf612);}return _0x5726ab[_0x34d2a7(0x462,0x32e)]()[_0x34d2a7(0x23f,0x51f)](_0x34d2a7(_0x1b29ea._0xa7b9c8,_0x1b29ea._0x2be472)+'+)+$')[_0x34d2a7(0x2c5,_0x1b29ea._0x33b088)]()[_0x2251c7(_0x1b29ea._0x509c0a,_0x1b29ea._0x392389)+_0x34d2a7(0x33c,_0x1b29ea._0x3a126d)](_0x5726ab)[_0x34d2a7(0x610,0x51f)](_0x34d2a7(_0x1b29ea._0x47a7f3,_0x1b29ea._0x2e7eb5)+_0x2251c7(_0x1b29ea._0xab5bfe,_0x1b29ea._0x152620));});_0x5726ab();import _0x1bbb4f from'qrcode-terminal';import{readFileSync as _0x546d61}from'fs';import{Socket}from'net';import{homedir as _0x305903}from'os';import{existsSync,mkdirSync,readFileSync,rmSync,writeFileSync}from'fs';import{randomUUID}from'crypto';import{homedir,hostname,userInfo}from'os';import{join}from'path';var CONFIG_DIR=join(homedir(),'.clawket'),CONFIG_PATH=join(CONFIG_DIR,_0x35d151(0x399,0x3d5)+_0x341e52(0x8ef,0xa7f));function getPairingConfigPath(){return CONFIG_PATH;}function readPairingConfig(){const _0x38785e={_0x155687:0x537,_0x5a6133:0xf8,_0x5d7a20:0x111,_0x32094a:0xf9,_0x1b7a9b:0x8f9,_0x55e905:0x663,_0x4ebeaa:0x15e,_0x4907a6:0x160,_0x412c1a:0x35e,_0x1626ea:0x56,_0x4e0820:0x117,_0xe22255:0x103,_0x2d10f7:0x874,_0x19500a:0x609,_0x139a51:0x5d1,_0x217922:0x5eb,_0x133576:0x6a3},_0x65f889={_0x50c7ab:0x142},_0x2f839c={_0x28c88f:0x5da};function _0xa67761(_0x403a2c,_0x308bd8){return _0x341e52(_0x403a2c- -_0x2f839c._0x28c88f,_0x308bd8);}const _0x13d16c={'NJyUP':function(_0x1b3544){return _0x1b3544();},'ETXWN':function(_0x3ba1e4,_0x34fc37){return _0x3ba1e4!==_0x34fc37;}};if(!existsSync(CONFIG_PATH))return null;function _0x3087fc(_0x32e816,_0xccc7ea){return _0x341e52(_0xccc7ea- -_0x65f889._0x50c7ab,_0x32e816);}try{const _0x153e45=JSON[_0x3087fc(0x4cd,0x75b)](readFileSync(CONFIG_PATH,_0x3087fc(0x284,_0x38785e._0x155687)));if(!_0x153e45[_0xa67761(_0x38785e._0x5a6133,0x10c)+'l']||!_0x153e45['gatewayI'+'d']||!_0x153e45[_0xa67761(-0xfa,_0x38785e._0x5d7a20)+_0x3087fc(_0x38785e._0x32094a,0x3e7)]||!_0x153e45[_0x3087fc(0x3ff,0x45b)])return null;const _0x5365f7={'serverUrl':_0x153e45['serverUr'+'l'],'gatewayId':_0x153e45[_0x3087fc(_0x38785e._0x1b7a9b,_0x38785e._0x55e905)+'d'],'relaySecret':_0x153e45['relaySec'+'ret'],'relayUrl':_0x153e45[_0x3087fc(_0x38785e._0x4ebeaa,0x45b)],'instanceId':_0x153e45['instance'+'Id']?.[_0x3087fc(0x6eb,0x4c1)]()||_0x13d16c['NJyUP'](createInstanceId),'displayName':_0x153e45[_0x3087fc(0x70d,0x48f)+_0xa67761(_0x38785e._0x4907a6,_0x38785e._0x412c1a)]??null,'createdAt':_0x153e45[_0xa67761(0x32e,0x323)+'t']??new Date()[_0xa67761(-0x117,-_0x38785e._0x1626ea)+_0xa67761(0x171,0x426)](),'updatedAt':_0x153e45['updatedA'+'t']??new Date()[_0xa67761(-_0x38785e._0x4e0820,-_0x38785e._0xe22255)+_0x3087fc(_0x38785e._0x2d10f7,_0x38785e._0x19500a)]()};return _0x13d16c[_0x3087fc(0x5a6,_0x38785e._0x139a51)](_0x153e45[_0x3087fc(_0x38785e._0x217922,_0x38785e._0x133576)+'Id'],_0x5365f7['instance'+'Id'])&&writePairingConfig(_0x5365f7),_0x5365f7;}catch{return null;}}function writePairingConfig(_0x103bc5){const _0x19644c={_0x51ce4f:0x6db,_0x44158e:0x90a,_0xe51811:0xb09,_0x5a0a2a:0x8ec,_0x54e56f:0xa6a},_0x2a0509={_0x4b0f0c:0x287},_0x4201fa={_0x3cb586:0x124};function _0x4c0575(_0x424575,_0x52680b){return _0x341e52(_0x52680b-_0x4201fa._0x3cb586,_0x424575);}const _0x446e7f={'xVXoQ':function(_0x58a87b,_0x247fbe,_0x795117){return _0x58a87b(_0x247fbe,_0x795117);}};function _0x404ebf(_0x3023b5,_0x3e59d9){return _0x341e52(_0x3e59d9- -_0x2a0509._0x4b0f0c,_0x3023b5);}const _0xfd8cc8={};_0xfd8cc8[_0x4c0575(_0x19644c._0x51ce4f,_0x19644c._0x44158e)+'e']=!![],_0x446e7f[_0x4c0575(_0x19644c._0xe51811,_0x19644c._0x5a0a2a)](mkdirSync,CONFIG_DIR,_0xfd8cc8),writeFileSync(CONFIG_PATH,JSON[_0x4c0575(_0x19644c._0x54e56f,0x89c)+'y'](_0x103bc5,null,0x2)+'\x0a','utf8');}function deletePairingConfig(){const _0x2ccdaf={'QcUQu':function(_0x153852,_0x361b9a){return _0x153852(_0x361b9a);},'xcNLu':function(_0x460be0,_0x24dd9e,_0x3ac16a){return _0x460be0(_0x24dd9e,_0x3ac16a);}};if(!_0x2ccdaf[_0x478337(0x767,0x7a3)](existsSync,CONFIG_PATH))return;function _0x478337(_0x56eecc,_0x19c221){return _0x341e52(_0x19c221-0xbb,_0x56eecc);}const _0x106255={};_0x106255['force']=!![],_0x2ccdaf['xcNLu'](rmSync,CONFIG_PATH,_0x106255);}function getDefaultBridgeDisplayName(){const _0x1d62de={_0x54dff7:0x1f5,_0x4c5a6b:0x28c,_0x4ab551:0x5e,_0x59d379:0x418},_0x5cafe4={_0x17a06a:0xfb},_0x19973a={_0x29e80e:0x1a3},_0x22b0e2=readOpenClawDefaultAgentName();function _0x2816b6(_0x16cab4,_0x18d03d){return _0x35d151(_0x16cab4,_0x18d03d- -_0x19973a._0x29e80e);}if(_0x22b0e2)return _0x22b0e2;function _0x2300bc(_0x50339f,_0xd42e1a){return _0x35d151(_0x50339f,_0xd42e1a- -_0x5cafe4._0x17a06a);}try{const _0x87b83a=userInfo()[_0x2300bc(-0x183,0x1a)][_0x2300bc(_0x1d62de._0x54dff7,_0x1d62de._0x4c5a6b)]();if(_0x87b83a)return _0x87b83a;}catch{}const _0x58946b=(process.env.LOGNAME??process.env.USER??process.env.USERNAME??'')[_0x2816b6(_0x1d62de._0x4ab551,0x1e4)]();if(_0x58946b)return _0x58946b;return hostname()[_0x2816b6(0x14c,0x1e4)]()||_0x2300bc(0x651,_0x1d62de._0x59d379)+'Bridge';}function pickOpenClawDefaultAgentName(_0x490213){const _0x478e78={_0x39c2e5:0x2ab,_0x21158e:0x37,_0x103085:0x4e,_0x2db205:0x106,_0x1bdc47:0x87,_0x5f3154:0x3a2};if(!_0x490213||typeof _0x490213!=='object')return null;function _0x2a5670(_0x3912ab,_0x15ba24){return _0x35d151(_0x15ba24,_0x3912ab- -0x244);}const _0x1040a6=_0x490213[_0x2a5670(_0x478e78._0x39c2e5,0x50c)];function _0x22d2f8(_0x347aeb,_0x3f8e6b){return _0x35d151(_0x3f8e6b,_0x347aeb- -0x1a3);}const _0x5bd491=Array[_0x22d2f8(_0x478e78._0x21158e,_0x478e78._0x103085)](_0x1040a6?.[_0x22d2f8(-0x87,-_0x478e78._0x2db205)])?_0x1040a6[_0x22d2f8(-_0x478e78._0x1bdc47,-0x115)]:[],_0x5c9ef3=_0x5bd491[_0x22d2f8(_0x478e78._0x5f3154,0x3bc)](_0x11200a=>isDefaultAgent(_0x11200a))??_0x5bd491[_0x22d2f8(0x3a2,0x14c)](_0x542056=>hasAgentId(_0x542056,'main'))??_0x5bd491[0x0];return readAgentName(_0x5c9ef3);}function createInstanceId(){const _0x7a25db={_0x2a8ac1:0x184,_0x3b25a8:0xc6,_0x5d179a:0x125},_0x230fea={_0x2b9647:0x537};function _0x2e2e79(_0x2f000,_0x4cdf09){return _0x341e52(_0x2f000-0x83,_0x4cdf09);}const _0x26137b=sanitizeId(hostname()||_0x18dbb9(0x288,_0x7a25db._0x2a8ac1));function _0x18dbb9(_0x53692c,_0x48dc53){return _0x341e52(_0x48dc53- -_0x230fea._0x2b9647,_0x53692c);}return _0x18dbb9(_0x7a25db._0x3b25a8,0x292)+_0x26137b+'-'+randomUUID()[_0x18dbb9(-0x197,-_0x7a25db._0x5d179a)](0x0,0xa);}function sanitizeId(_0x1843f0){const _0x4b4861={_0x5eb25c:0x71e,_0x5b3bdd:0x961,_0x1a137d:0xa1e,_0x8d75b9:0x27c},_0x431cb8={_0x46360e:0x262};function _0x4077d1(_0x4fa3ec,_0x46df3e){return _0x341e52(_0x4fa3ec- -_0x431cb8._0x46360e,_0x46df3e);}function _0x48cc37(_0x5d0ba6,_0x26d875){return _0x341e52(_0x26d875-0x11b,_0x5d0ba6);}return _0x1843f0[_0x48cc37(0x5f7,_0x4b4861._0x5eb25c)]()['toLowerC'+_0x48cc37(_0x4b4861._0x5b3bdd,_0x4b4861._0x1a137d)]()[_0x4077d1(_0x4b4861._0x8d75b9,0x30f)](/[^a-z0-9._-]+/g,'-')['replace'](/^-+|-+$/g,'')||'host';}function readOpenClawDefaultAgentName(){const _0x2fa85b={_0x326b38:0x618,_0x5ab87b:0x7b0},_0x20caf8={'CHHaT':function(_0x50a422){return _0x50a422();}};function _0x52856e(_0x379146,_0x39a52d){return _0x35d151(_0x39a52d,_0x379146-0x3b3);}const _0xe44ec5=_0x20caf8[_0x3c1225(0x4b5,_0x2fa85b._0x326b38)](resolveOpenClawConfigPath);function _0x3c1225(_0x363ac7,_0x512949){return _0x35d151(_0x512949,_0x363ac7-0x1ed);}if(!_0xe44ec5||!existsSync(_0xe44ec5))return null;try{const _0x347590=JSON['parse'](readFileSync(_0xe44ec5,_0x52856e(_0x2fa85b._0x5ab87b,0x84f)));return pickOpenClawDefaultAgentName(_0x347590);}catch{return null;}}function resolveOpenClawConfigPath(){const _0x1a41be={_0x5302ee:0x12d,_0x410d89:0x76b,_0x5ba3d7:0x591,_0x122388:0x329,_0x5e2837:0xa6,_0x29e07c:0xd9,_0x1aa277:0x10a,_0x1b1301:0xfc,_0x233b9e:0x6f5,_0x3bb8df:0x4f1,_0x249183:0x61f,_0x26fa2f:0x555,_0x281e2b:0x6f4},_0x363916={_0x197ce2:0x73a,_0x318b65:0x9ec},_0x4c9df3={_0x36d975:0x2d3};function _0x48ee68(_0x564cc5,_0x2e2020){return _0x341e52(_0x2e2020-0x49,_0x564cc5);}const _0x114b80={'zwQxw':function(_0x222e52){return _0x222e52();},'PcqLU':_0x106bba(-_0x1a41be._0x5302ee,0xc4),'tIJxt':function(_0x264dcd,_0x52b359,_0x54f336,_0x42fcb3){return _0x264dcd(_0x52b359,_0x54f336,_0x42fcb3);},'UduTX':_0x48ee68(_0x1a41be._0x410d89,0x80d)+'.json'};function _0x106bba(_0x18fdf9,_0x814d46){return _0x341e52(_0x814d46- -_0x4c9df3._0x36d975,_0x18fdf9);}const _0x27c453=new Set(),_0x4193ff=[_0x114b80[_0x48ee68(0x347,_0x1a41be._0x5ba3d7)](homedir),_0x114b80[_0x106bba(_0x1a41be._0x122388,_0x1a41be._0x5e2837)]][_0x106bba(0x1bc,_0x1a41be._0x29e07c)](_0x360e5b=>_0x360e5b[_0x106bba(0x4a1,0x330)]())['filter'](Boolean)[_0x106bba(-_0x1a41be._0x1aa277,_0x1a41be._0x1b1301)](_0x15ca34=>{if(_0x27c453[_0x49ffbb(_0x363916._0x197ce2,_0x363916._0x318b65)](_0x15ca34))return![];_0x27c453['add'](_0x15ca34);function _0x49ffbb(_0x4180c2,_0xb22a50){return _0x48ee68(_0xb22a50,_0x4180c2- -0x220);}return!![];});for(const _0x2db028 of _0x4193ff){const _0x5cf947=_0x114b80['tIJxt'](join,_0x2db028,_0x48ee68(_0x1a41be._0x233b9e,0x93b)+'w',_0x106bba(0x36b,_0x1a41be._0x3bb8df)+_0x48ee68(0x7f8,0x530));if(existsSync(_0x5cf947))return _0x5cf947;}return _0x4193ff[0x0]?join(_0x4193ff[0x0],_0x106bba(0x443,_0x1a41be._0x249183)+'w',_0x114b80[_0x48ee68(_0x1a41be._0x26fa2f,_0x1a41be._0x281e2b)]):null;}function isDefaultAgent(_0x927e8){const _0x313626={_0x54cfa8:0x2dc,_0x3f4ce6:0x1ca},_0x2aa4a4={};_0x2aa4a4['VxHpk']=function(_0x43b6fe,_0x268da3){return _0x43b6fe===_0x268da3;};const _0x4018de=_0x2aa4a4;function _0x41dcf4(_0xfd511d,_0x43dd54){return _0x35d151(_0xfd511d,_0x43dd54- -0x15f);}function _0x3191d9(_0x5dc931,_0x58c02a){return _0x35d151(_0x5dc931,_0x58c02a- -0x17a);}return Boolean(_0x927e8&&_0x4018de['VxHpk'](typeof _0x927e8,_0x41dcf4(_0x313626._0x54cfa8,0xe2))&&_0x927e8[_0x41dcf4(0x2ef,_0x313626._0x3f4ce6)]===!![]);}function hasAgentId(_0x4082a5,_0x6296f2){const _0x740e6e={_0x59d106:0x6b5,_0x1e60b2:0x4a6,_0x44ba93:0x762},_0x3e6d99={_0x560ec1:0x21c};function _0x12925f(_0x34c11f,_0x4bb2e0){return _0x35d151(_0x4bb2e0,_0x34c11f-0x348);}const _0x4e5407={};_0x4e5407[_0x35095a(0x34,0x2cc)]=function(_0x5e77ef,_0x480687){return _0x5e77ef===_0x480687;};function _0x35095a(_0x4d56e7,_0x2e8d5d){return _0x35d151(_0x4d56e7,_0x2e8d5d- -_0x3e6d99._0x560ec1);}const _0x571479=_0x4e5407;return Boolean(_0x4082a5&&typeof _0x4082a5===_0x12925f(0x589,_0x740e6e._0x59d106)&&_0x571479['VUTKF'](typeof _0x4082a5['id'],_0x12925f(_0x740e6e._0x1e60b2,_0x740e6e._0x44ba93))&&_0x4082a5['id'][_0x12925f(0x6cf,0x899)]()===_0x6296f2);}function readAgentName(_0x73bbe9){const _0x58bb4d={_0x51b056:0x20,_0x54b0ba:0xa9,_0x345a4d:0x28a,_0x3c7f1b:0xa7,_0x12c820:0x37f,_0x274055:0x245,_0x353754:0x2a9,_0x19673f:0x376,_0x4ac887:0x113,_0x1b88cb:0x245,_0x46daaa:0x136},_0x4bac4a={_0x46b000:0x414},_0x4aa1a2={_0x576201:0x34c},_0x56eaf3={};_0x56eaf3[_0x59ed69(-0xc0,_0x58bb4d._0x51b056)]=_0x59ed69(_0x58bb4d._0x54b0ba,_0x58bb4d._0x345a4d),_0x56eaf3[_0x265893(0x253,0x4ad)]=function(_0x1d40e5,_0x46d74f){return _0x1d40e5===_0x46d74f;};function _0x265893(_0x5b82c6,_0x375910){return _0x341e52(_0x375910- -_0x4aa1a2._0x576201,_0x5b82c6);}_0x56eaf3[_0x59ed69(0x171,0x2f2)]='string';const _0x117f21=_0x56eaf3;if(!_0x73bbe9||typeof _0x73bbe9!==_0x117f21['IYVtn'])return null;const _0x1fce3f=_0x73bbe9,_0x1dc8ca=_0x117f21['dicqH'](typeof _0x1fce3f[_0x265893(0x28f,_0x58bb4d._0x3c7f1b)]?.['name'],_0x117f21['OfhYu'])?_0x1fce3f[_0x265893(_0x58bb4d._0x12c820,0xa7)][_0x59ed69(_0x58bb4d._0x274055,_0x58bb4d._0x353754)]['trim']():'';if(_0x1dc8ca)return _0x1dc8ca;function _0x59ed69(_0x1fb3e9,_0xaf97ae){return _0x341e52(_0x1fb3e9- -_0x4bac4a._0x46b000,_0xaf97ae);}const _0x48fe79=_0x117f21[_0x59ed69(0x3e5,_0x58bb4d._0x19673f)](typeof _0x1fce3f['name'],_0x265893(_0x58bb4d._0x4ac887,0x8e))?_0x1fce3f[_0x59ed69(_0x58bb4d._0x1b88cb,_0x58bb4d._0x46daaa)][_0x59ed69(0x1ef,-_0x58bb4d._0x51b056)]():'';return _0x48fe79||null;}function buildPairingQrPayload(_0x5b7fc4){const _0x963870={_0x53e698:0x981,_0x11aec0:0xb2c,_0x279d7c:0x85e,_0x54b008:0xb27,_0x2e4ab8:0x7be,_0x3cb0cc:0xa32,_0x3ff823:0x96c,_0x36b617:0xa29,_0x497acc:0x965,_0x4d98d1:0x7f2,_0x1dfcb5:0xa44,_0x50061a:0xa97},_0x550b0d={};_0x550b0d['v']=0x2,_0x550b0d['k']='cp',_0x550b0d['s']=_0x5b7fc4[_0x315be5(_0x963870._0x53e698,_0x963870._0x11aec0)],_0x550b0d['g']=_0x5b7fc4['gatewayI'+'d'],_0x550b0d['a']=_0x5b7fc4[_0x315be5(0x5b7,0x7a5)+'de'],_0x550b0d['rb']=0x1;function _0x5d82ad(_0x28a7cc,_0x3917af){return _0x35d151(_0x3917af,_0x28a7cc-0x3a0);}_0x550b0d['pv']=0x2;function _0x315be5(_0x248cf4,_0x114372){return _0x35d151(_0x114372,_0x248cf4-0x437);}_0x550b0d['sb']=!![];const _0x19b2ea=_0x550b0d;return _0x5b7fc4['displayN'+_0x5d82ad(_0x963870._0x279d7c,_0x963870._0x54b008)]?.[_0x315be5(_0x963870._0x2e4ab8,0x631)]()&&(_0x19b2ea['n']=_0x5b7fc4['displayN'+_0x5d82ad(0x85e,_0x963870._0x3cb0cc)]['trim']()),_0x5b7fc4[_0x315be5(0x925,_0x963870._0x3ff823)]?.[_0x315be5(0x7be,_0x963870._0x36b617)]()&&(_0x19b2ea['t']=_0x5b7fc4[_0x315be5(0x925,_0x963870._0x497acc)]['trim']()),_0x5b7fc4[_0x5d82ad(0x7f2,0x554)]?.[_0x315be5(0x7be,0x8e6)]()&&(_0x19b2ea['p']=_0x5b7fc4[_0x5d82ad(_0x963870._0x4d98d1,_0x963870._0x1dfcb5)][_0x315be5(_0x963870._0x2e4ab8,0x780)]()),JSON[_0x315be5(0x933,_0x963870._0x50061a)+'y'](_0x19b2ea);}function buildGatewayQrPayload(_0x5a0133){const _0x205d5a={_0xb97e2d:0xfb,_0x33266e:0x404,_0xebef52:0x749,_0x297242:0x5c7,_0x22eee7:0x6d9,_0x335c88:0x68b,_0x3b3fa4:0x704,_0x868ea7:0x1ef,_0x43cbec:0x347,_0xacbe14:0x46,_0x5cf945:0x5a4,_0x5318cf:0x573,_0x5871d0:0x750,_0x4ac37b:0x481,_0x316fe4:0x6ec,_0xfd060f:0x40c,_0x348d6f:0x4d7,_0x1de85d:0x447,_0x3afd70:0x6ec,_0x88d07f:0x40c,_0x2fa985:0x581},_0x3d888a={_0x25dee4:0x85},_0x2f05db={};_0x2f05db[_0x328efc(_0x205d5a._0xb97e2d,_0x205d5a._0x33266e)]='gateway';function _0x4fc62e(_0x333a4c,_0x112498){return _0x35d151(_0x112498,_0x333a4c-_0x3d888a._0x25dee4);}const _0x1a6ad1=_0x2f05db,_0xc15c96=normalizeGatewayQrUrl(_0x5a0133[_0x4fc62e(_0x205d5a._0xebef52,0x7de)+'rl']),_0x30e6f0={'url':_0xc15c96[_0x328efc(0x734,0x657)],'host':_0xc15c96[_0x328efc(_0x205d5a._0x297242,_0x205d5a._0x22eee7)],'port':_0xc15c96[_0x328efc(_0x205d5a._0x335c88,_0x205d5a._0x3b3fa4)],'tls':_0xc15c96[_0x4fc62e(0x1c3,0x41d)],'mode':_0x1a6ad1[_0x4fc62e(_0x205d5a._0x868ea7,_0x205d5a._0x43cbec)],'expiresAt':_0x5a0133[_0x4fc62e(0x1f5,_0x205d5a._0xacbe14)+'t']??Date['now']()+0xa*0x3c*0x3e8,'qrVersion':0x2};_0x5a0133[_0x328efc(_0x205d5a._0x5cf945,0x788)]?.[_0x328efc(0x6b4,0x621)]()&&(_0x30e6f0[_0x4fc62e(_0x205d5a._0x5318cf,_0x205d5a._0x5871d0)]=_0x5a0133['token'][_0x328efc(_0x205d5a._0x4ac37b,0x621)]());_0x5a0133[_0x328efc(0x624,_0x205d5a._0x316fe4)]?.[_0x4fc62e(_0x205d5a._0xfd060f,0x38a)]()&&(_0x30e6f0[_0x4fc62e(_0x205d5a._0x348d6f,0x3ad)]=_0x5a0133[_0x328efc(_0x205d5a._0x1de85d,_0x205d5a._0x3afd70)][_0x4fc62e(_0x205d5a._0x88d07f,0x3a8)]());function _0x328efc(_0x55aa8e,_0x13b69b){return _0x35d151(_0x55aa8e,_0x13b69b-0x29a);}return JSON[_0x4fc62e(_0x205d5a._0x2fa985,0x59d)+'y'](_0x30e6f0);}function normalizeGatewayQrUrl(_0x5d1212){const _0x5f459d={_0xbd7a5f:0x28b,_0x584f1b:0x4b8,_0x2525a8:0xcc,_0x516227:0x153,_0x115f9:0x15a,_0x4fbe4b:0x1c,_0x31f967:0x244,_0x3b6699:0x15d,_0x335690:0x14e,_0x4ab515:0x585,_0x4e843d:0x6a0,_0x46ddff:0x671,_0x3005ae:0x58b,_0x29b564:0x460,_0x154c37:0x163,_0x3a71f8:0x564,_0x554117:0x1f,_0x55c99d:0x259,_0x6f6d2b:0x560,_0x4ea864:0x455,_0x144db9:0x18a,_0x184872:0x169,_0x54fdfb:0x1a2},_0x471c43={_0x1a86ed:0x55c},_0x3f084b={};_0x3f084b['mfObE']=function(_0x1f7f10,_0x4a189e){return _0x1f7f10===_0x4a189e;},_0x3f084b[_0x393ce0(_0x5f459d._0xbd7a5f,0x15a)]=_0x17b1e8(_0x5f459d._0x584f1b,0x55e),_0x3f084b['jIPGQ']=function(_0x2f9288,_0x5c0fb1){return _0x2f9288===_0x5c0fb1;};function _0x393ce0(_0x50dfa7,_0xb79067){return _0x341e52(_0xb79067- -_0x471c43._0x1a86ed,_0x50dfa7);}function _0x17b1e8(_0x334576,_0x52eb64){return _0x341e52(_0x52eb64- -0x15b,_0x334576);}const _0x5b0c61=_0x3f084b,_0x2e310f=new URL(_0x5d1212['trim']()),_0x89e810=_0x5b0c61[_0x393ce0(0xbd,_0x5f459d._0x2525a8)](_0x2e310f[_0x393ce0(-0x18f,_0x5f459d._0x516227)],_0x5b0c61[_0x393ce0(0x146,_0x5f459d._0x115f9)])||_0x5b0c61[_0x17b1e8(_0x5f459d._0x4fbe4b,_0x5f459d._0x31f967)](_0x2e310f[_0x17b1e8(0x7cc,0x554)],'https:'),_0x4553c9=_0x89e810?_0x393ce0(0x1d3,_0x5f459d._0x3b6699):_0x393ce0(-0x37,_0x5f459d._0x335690),_0x1ed1a1=_0x2e310f[_0x17b1e8(_0x5f459d._0x4ab515,0x45e)],_0x333e40=_0x2e310f[_0x17b1e8(_0x5f459d._0x4e843d,0x58b)]?Number(_0x2e310f[_0x17b1e8(_0x5f459d._0x46ddff,_0x5f459d._0x3005ae)]):_0x89e810?0x1bb:0x50,_0x121278=!_0x2e310f[_0x393ce0(_0x5f459d._0x29b564,_0x5f459d._0x154c37)]||_0x2e310f[_0x17b1e8(0x79b,0x564)]===''?'/':_0x2e310f[_0x17b1e8(0x2df,_0x5f459d._0x3a71f8)],_0x1ad746={};return _0x1ad746[_0x393ce0(-_0x5f459d._0x554117,0xdd)]=_0x4553c9+'//'+_0x1ed1a1+':'+_0x333e40+_0x121278,_0x1ad746[_0x17b1e8(_0x5f459d._0x55c99d,_0x5f459d._0x6f6d2b)]=_0x1ed1a1,_0x1ad746[_0x393ce0(_0x5f459d._0x4ea864,_0x5f459d._0x144db9)]=_0x333e40,_0x1ad746[_0x17b1e8(0x566,0x6d9)]=_0x121278,_0x1ad746[_0x393ce0(_0x5f459d._0x184872,-_0x5f459d._0x54fdfb)]=_0x89e810,_0x1ad746;}var DEFAULT_REGISTRY_BASE='https://'+_0x35d151(0x3cb,0x15f)+_0x341e52(0x8ed,0x7cb)+'.ai',DEFAULT_REGISTRY_FALLBACK_BASE='https://'+_0x341e52(0x540,0x80b)+_0x341e52(0x3db,0x326)+_0x341e52(0x8ed,0x881)+'.workers'+_0x35d151(0x417,0x3a9);async function pairGateway(_0x46835a){const _0x301935={_0x105275:0x47b,_0x28082e:0x2f3,_0x4764a9:0xc8,_0x5e6ec1:0x5d,_0x4e315e:0x1ea,_0x306095:0x24,_0x358a16:0x16b,_0x25e21a:0x21c,_0x44b34d:0x375,_0x5760eb:0x290,_0x1b385b:0x73,_0x7df648:0x11b,_0x46524a:0x4ea,_0x3add2e:0x318,_0x191b64:0x21a,_0x18a6df:0x4bc,_0x4bcdc2:0x6fe,_0x44fc25:0x6fe,_0x2b7424:0x528,_0x349e59:0x44c,_0xc442c6:0x151,_0x2220fa:0x67,_0x52a3d2:0x3c9,_0x47a146:0x36c,_0xf2d8ca:0x4a4,_0x3c0c83:0x447,_0x52cb83:0x300,_0xff845f:0x1e,_0x277096:0x28c,_0x581f35:0x22d,_0x23d4e9:0x96,_0x286e65:0x394,_0x1e5fee:0x222,_0x2eb8dd:0x7b,_0x37de7a:0xaf,_0xeb760a:0x40a,_0x5c4f47:0x35f,_0x57d098:0x4b9,_0x560dd1:0x3fb,_0x27736b:0x5c0,_0x27a23f:0x3b3,_0x59f879:0x4d0,_0x48455b:0x1a6,_0x746023:0x75,_0x54f3f5:0x490,_0x4970de:0x17c,_0x52c56a:0x260,_0x10b570:0x53,_0x4d51e1:0x32f,_0x562fe3:0x344,_0xf6531d:0x176,_0x23568a:0x284,_0x39a22e:0x1a,_0x5309ab:0x25c,_0x3aba73:0x101,_0x32f271:0x1ac,_0x56b148:0x1b9,_0x94242d:0x47f,_0xf86610:0xcd,_0x5317cb:0x14d,_0x1479f8:0x4e},_0x3c43f9={_0x1c32e5:0x23a},_0x82c7cd={'qqRAF':function(_0x4339f1,_0x5de1f2,_0xcaf9ff){return _0x4339f1(_0x5de1f2,_0xcaf9ff);},'EwXeu':_0x84cd97(_0x301935._0x105275,_0x301935._0x28082e)+'existing','ZuChv':function(_0x212d50,_0x581287){return _0x212d50(_0x581287);},'foUgj':_0x84cd97(_0x301935._0x4764a9,-0x8c),'QXDnZ':_0x203d6e(_0x301935._0x5e6ec1,_0x301935._0x4e315e)+_0x84cd97(0x152,-0xc)},_0x2a45de=normalizeHttpBase(_0x46835a[_0x203d6e(0x314,0x482)+'l']),_0x53a971=readPairingConfig();function _0x203d6e(_0x24c231,_0x351ab5){return _0x35d151(_0x24c231,_0x351ab5-0x2c);}const _0x30d460=_0x82c7cd[_0x203d6e(0x5fa,0x3f7)](assessPairingCompatibility,_0x53a971,_0x2a45de);function _0x84cd97(_0x369756,_0x3faad1){return _0x35d151(_0x3faad1,_0x369756- -_0x3c43f9._0x1c32e5);}if(_0x30d460===_0x82c7cd[_0x84cd97(_0x301935._0x306095,_0x301935._0x358a16)]&&_0x53a971){const _0x5dac29={};return _0x5dac29[_0x84cd97(_0x301935._0x25e21a,_0x301935._0x44b34d)+'l']=_0x53a971['serverUr'+'l'],_0x5dac29[_0x203d6e(0x4dc,0x555)+'d']=_0x53a971[_0x84cd97(0x2ef,0x548)+'d'],_0x5dac29[_0x203d6e(0x41d,_0x301935._0x5760eb)+_0x84cd97(0x73,0x147)]=_0x53a971['relaySec'+_0x84cd97(_0x301935._0x1b385b,-0x274)],_0x5dac29[_0x84cd97(_0x301935._0x7df648,0x21e)+_0x203d6e(0x56d,_0x301935._0x46524a)]=_0x46835a[_0x203d6e(0x394,0x381)+'ame'],_0x5dac29[_0x84cd97(_0x301935._0x3add2e,0x32c)+'oken']=_0x46835a['gatewayT'+_0x203d6e(0x1e,_0x301935._0x191b64)],_0x5dac29[_0x203d6e(0x5a3,_0x301935._0x18a6df)+_0x203d6e(0x9cb,_0x301935._0x4bcdc2)]=_0x46835a['gatewayP'+_0x203d6e(0x8e4,_0x301935._0x44fc25)],_0x82c7cd[_0x203d6e(_0x301935._0x2b7424,0x280)](refreshAccessCode,_0x5dac29);}if(_0x30d460===_0x84cd97(-0x7b,-0x34c)+_0x203d6e(0x54b,_0x301935._0x349e59))throw new Error(_0x84cd97(_0x301935._0xc442c6,_0x301935._0x2220fa)+'dge\x20is\x20a'+_0x84cd97(_0x301935._0x52a3d2,_0x301935._0x47a146)+'aired\x20wi'+_0x84cd97(_0x301935._0xf2d8ca,_0x301935._0x3c0c83)+_0x53a971?.[_0x84cd97(_0x301935._0x25e21a,-0x61)+'l']+(_0x84cd97(-0x89,-_0x301935._0x52cb83)+'lawket\x20r'+_0x84cd97(_0x301935._0xff845f,-_0x301935._0x277096)+_0x84cd97(_0x301935._0x581f35,_0x301935._0x23d4e9)+_0x84cd97(_0x301935._0x286e65,0x66d)+_0x84cd97(_0x301935._0x1e5fee,-_0x301935._0x2eb8dd)+_0x84cd97(-_0x301935._0x37de7a,-0xe1)+'rver.'));const _0x325e24=await postJsonWithCloudflareFallback(_0x2a45de+('/v1/pair'+_0x203d6e(0x357,_0x301935._0xeb760a)+'r'),{'method':_0x82c7cd[_0x84cd97(_0x301935._0x5c4f47,_0x301935._0x57d098)],'headers':{'content-type':_0x82c7cd[_0x203d6e(0x352,_0x301935._0x560dd1)],'accept':'applicat'+'ion/json'},'body':JSON[_0x203d6e(_0x301935._0x27736b,0x528)+'y']({'displayName':_0x46835a['displayN'+'ame']?.[_0x203d6e(0x4f2,_0x301935._0x27a23f)]()||null})});if(!_0x325e24[_0x84cd97(0x22a,_0x301935._0x59f879)]['ok'])throw await buildPairingRequestError(_0x84cd97(_0x301935._0x48455b,-_0x301935._0x746023)+'ister',_0x325e24);const _0x3ca618=await _0x325e24[_0x203d6e(0x38c,_0x301935._0x54f3f5)]['json'](),_0x32f23e=new Date()[_0x203d6e(_0x301935._0x4970de,0x273)+'ing'](),_0x14d9d0={'serverUrl':_0x2a45de,'gatewayId':_0x3ca618['gatewayI'+'d'],'relaySecret':_0x3ca618[_0x203d6e(_0x301935._0x52c56a,0x290)+_0x84cd97(0x73,_0x301935._0x10b570)],'relayUrl':_0x3ca618['relayUrl'],'instanceId':_0x53a971?.[_0x84cd97(_0x301935._0x4d51e1,_0x301935._0x562fe3)+'Id']??_0x203d6e(0x364,0x579)+_0x3ca618[_0x84cd97(0x2ef,_0x301935._0xf6531d)+'d'][_0x203d6e(0x430,0x1c2)](-0xa),'displayName':_0x3ca618[_0x203d6e(0x116,0x381)+_0x84cd97(_0x301935._0x23568a,-0x58)],'createdAt':_0x32f23e,'updatedAt':_0x32f23e};return _0x82c7cd[_0x84cd97(_0x301935._0x39a22e,_0x301935._0x4e315e)](writePairingConfig,_0x14d9d0),{'config':_0x14d9d0,'accessCode':_0x3ca618[_0x84cd97(-0xba,-_0x301935._0x5309ab)+'de'],'accessCodeExpiresAt':_0x3ca618[_0x203d6e(_0x301935._0x3aba73,_0x301935._0x32f271)+'deExpire'+_0x84cd97(0x1b9,_0x301935._0x56b148)],'action':_0x203d6e(_0x301935._0x94242d,0x241)+'ed','qrPayload':buildPairingQrPayload({'server':_0x2a45de,'gatewayId':_0x3ca618[_0x84cd97(0x2ef,0x238)+'d'],'accessCode':_0x3ca618[_0x84cd97(-0xba,-0x19b)+'de'],'displayName':_0x3ca618['displayN'+'ame'],'token':_0x46835a[_0x203d6e(0x71a,0x57e)+_0x203d6e(-_0x301935._0xf86610,0x21a)]?.[_0x84cd97(_0x301935._0x5317cb,_0x301935._0x1479f8)]()||null,'password':_0x46835a['gatewayP'+_0x84cd97(0x498,0x1f1)]?.[_0x84cd97(0x14d,0x39b)]()||null})};}async function refreshAccessCode(_0x19b370){const _0x195604={_0x10160a:0x470,_0x2f2fbb:0x387,_0x1857dd:0x53a,_0x112ac2:0x685,_0x389888:0x60d,_0x3c6670:0x800,_0xdafa3:0x508,_0x2c8679:0x65b,_0x30f59d:0x67f,_0x1eb7dc:0x580,_0xbe970:0x92a,_0x5d7b47:0x6ed,_0x426be4:0x767,_0x566763:0xa6a,_0x50d726:0x529,_0x32331a:0x21f,_0x2901cc:0xa90,_0x4f3fe4:0xb71,_0xbd277b:0x6f9,_0x2c0930:0x1c2,_0x29c719:0x1af,_0x3dc4a0:0x2fa,_0x89f75d:0x2e8,_0x2ba0a8:0x5a2,_0x115dac:0x754,_0x38f3f7:0x9b5,_0x527a22:0x39e,_0x47f4fb:0x479,_0x2a0073:0x3b4,_0x4bb7ca:0x548,_0x497fee:0x794,_0x148ad9:0x60d,_0x261505:0x12f,_0x322804:0x27a,_0x47c270:0xa83,_0x4ba9b4:0xccc,_0x47da81:0x4c,_0x4dcf8b:0x264,_0x395410:0x577,_0x108031:0x3ae,_0xc2cc6d:0x9cc,_0x34ed52:0x8bb,_0x410cbb:0x437,_0x33f370:0x733,_0x128fb0:0x574},_0x554927={_0x1013ae:0x3f7},_0x5ede80={'GQPfV':function(_0xc92a34,_0x5ad864,_0x27cf66){return _0xc92a34(_0x5ad864,_0x27cf66);},'WMCKN':_0x1de7b0(0x5b5,0x63e)+_0x4fd989(0x4a7,_0x195604._0x10160a),'JGEBJ':function(_0x49acc6,_0x416d3d){return _0x49acc6(_0x416d3d);}},_0x508d6d=readPairingConfig(),_0x48acce=normalizeHttpBase(_0x19b370?.['serverUr'+'l']??_0x508d6d?.[_0x4fd989(_0x195604._0x2f2fbb,_0x195604._0x1857dd)+'l']??''),_0x2700af=_0x19b370?.[_0x4fd989(_0x195604._0x112ac2,_0x195604._0x389888)+'d']??_0x508d6d?.[_0x1de7b0(0x920,_0x195604._0x3c6670)+'d']??'',_0x1026e2=_0x19b370?.['relaySec'+_0x4fd989(_0x195604._0xdafa3,0x391)]??_0x508d6d?.[_0x1de7b0(_0x195604._0x2c8679,_0x195604._0x30f59d)+'ret']??'';function _0x1de7b0(_0xec43de,_0x248856){return _0x35d151(_0x248856,_0xec43de-_0x554927._0x1013ae);}if(!_0x48acce||!_0x2700af||!_0x1026e2)throw new Error(_0x1de7b0(_0x195604._0x1eb7dc,0x5c8)+_0x1de7b0(_0x195604._0xbe970,0x7b5)+_0x4fd989(_0x195604._0x5d7b47,_0x195604._0x426be4)+'.\x20Run\x20pa'+_0x1de7b0(0x98f,_0x195604._0x566763)+'.');const _0xa341a9=await _0x5ede80['GQPfV'](postJsonWithCloudflareFallback,_0x48acce+(_0x4fd989(_0x195604._0x50d726,_0x195604._0x32331a)+_0x1de7b0(_0x195604._0x2901cc,_0x195604._0x4f3fe4)+_0x1de7b0(0x509,0x594)),{'method':_0x1de7b0(_0x195604._0xbd277b,0x4e4),'headers':{'content-type':_0x4fd989(0x492,0x2a2)+_0x4fd989(_0x195604._0x2c0930,0x470),'accept':_0x5ede80[_0x4fd989(_0x195604._0x29c719,_0x195604._0x3dc4a0)]},'body':JSON['stringif'+'y']({'gatewayId':_0x2700af,'relaySecret':_0x1026e2,'displayName':_0x19b370?.['displayN'+_0x4fd989(_0x195604._0x89f75d,_0x195604._0x2ba0a8)]?.['trim']()||void 0x0})});if(!_0xa341a9['response']['ok'])throw await _0x5ede80[_0x4fd989(0x46e,_0x195604._0x115dac)](buildPairingRequestError,_0x1de7b0(0x760,_0x195604._0x38f3f7)+'ode\x20refr'+_0x4fd989(_0x195604._0x527a22,_0x195604._0x47f4fb),_0xa341a9);const _0x4b165d=await _0xa341a9[_0x4fd989(_0x195604._0x2a0073,_0x195604._0x4bb7ca)][_0x1de7b0(0x5c5,0x886)]();function _0x4fd989(_0xf99ee8,_0x1b85b3){return _0x35d151(_0xf99ee8,_0x1b85b3-0xe4);}const _0x345615={'serverUrl':_0x48acce,'gatewayId':_0x4b165d[_0x4fd989(_0x195604._0x497fee,_0x195604._0x389888)+'d'],'relaySecret':_0x1026e2,'relayUrl':_0x4b165d['relayUrl'],'instanceId':_0x508d6d?.['instance'+'Id']??_0x4fd989(0x497,0x631)+_0x4b165d[_0x4fd989(0x87f,_0x195604._0x148ad9)+'d'][_0x4fd989(_0x195604._0x261505,_0x195604._0x322804)](-0xa),'displayName':_0x4b165d['displayN'+'ame'],'createdAt':_0x508d6d?.[_0x1de7b0(_0x195604._0x47c270,_0x195604._0x4ba9b4)+'t']??new Date()[_0x1de7b0(0x63e,0x80e)+_0x1de7b0(0x8c6,0x727)](),'updatedAt':new Date()[_0x4fd989(_0x195604._0x47da81,0x32b)+_0x4fd989(0x7d1,0x5b3)]()};return writePairingConfig(_0x345615),{'config':_0x345615,'accessCode':_0x4b165d[_0x4fd989(0x1d1,_0x195604._0x4dcf8b)+'de'],'accessCodeExpiresAt':_0x4b165d[_0x1de7b0(_0x195604._0x395410,_0x195604._0x108031)+'deExpire'+_0x4fd989(0x44b,0x4d7)],'action':_0x1de7b0(_0x195604._0xc2cc6d,_0x195604._0x34ed52)+'d','qrPayload':_0x5ede80[_0x1de7b0(0x722,0x87f)](buildPairingQrPayload,{'server':_0x48acce,'gatewayId':_0x4b165d['gatewayI'+'d'],'accessCode':_0x4b165d[_0x4fd989(_0x195604._0x410cbb,_0x195604._0x4dcf8b)+'de'],'displayName':_0x4b165d[_0x4fd989(0x50d,0x439)+'ame'],'token':_0x19b370?.['gatewayT'+_0x1de7b0(0x5e5,_0x195604._0x33f370)]?.['trim']()||null,'password':_0x19b370?.[_0x4fd989(0x54e,_0x195604._0x128fb0)+'assword']?.['trim']()||null})};}function normalizeHttpBase(_0x2dc61b){const _0x585f29={_0x5a33be:0x40f,_0x28483c:0x136,_0x436fed:0x55e,_0x1499d7:0xa5a,_0x31f26c:0x26f,_0x1ea7b1:0x427,_0x1fd673:0x9a8,_0x2c76df:0x7c8,_0x1457a3:0x49c,_0x3219b6:0x5d6,_0x38fc80:0x4dc,_0x21328e:0x36d,_0x2ff2ab:0x85b,_0x5e5f77:0x439,_0x33b9ce:0x442,_0x5ac92b:0x5b4,_0x4566f4:0x6b4,_0x248204:0x159,_0x37e20e:0x4a0},_0x31d491={};_0x31d491[_0x4b1aa3(0x349,_0x585f29._0x5a33be)]='https://',_0x31d491[_0x4b1aa3(_0x585f29._0x28483c,0x198)]=_0x4b1aa3(0x396,0xa8);const _0x299761=_0x31d491;function _0x4b1aa3(_0x3f5043,_0x321a52){return _0x341e52(_0x321a52- -0x2b9,_0x3f5043);}const _0x390b14=_0x2dc61b[_0xaa554f(0x7f5,_0x585f29._0x436fed)]();if(!_0x390b14)return'';if(_0x390b14[_0xaa554f(_0x585f29._0x1499d7,0x7c8)+'th'](_0x4b1aa3(0x207,_0x585f29._0x31f26c))||_0x390b14[_0x4b1aa3(0x5c5,0x5b4)+'th'](_0x299761[_0xaa554f(0x796,0x623)]))return _0x390b14[_0x4b1aa3(_0x585f29._0x1ea7b1,0x225)](/\/+$/,'');if(_0x390b14[_0xaa554f(_0x585f29._0x1fd673,_0x585f29._0x2c76df)+'th'](_0xaa554f(_0x585f29._0x1457a3,_0x585f29._0x3219b6)))return(_0x4b1aa3(0x2b7,_0x585f29._0x31f26c)+_0x390b14[_0xaa554f(_0x585f29._0x38fc80,_0x585f29._0x21328e)](_0xaa554f(_0x585f29._0x2ff2ab,_0x585f29._0x3219b6)['length']))[_0xaa554f(0x30e,_0x585f29._0x5e5f77)](/\/+$/,'');if(_0x390b14[_0x4b1aa3(_0x585f29._0x33b9ce,_0x585f29._0x5ac92b)+'th']('wss://'))return(_0xaa554f(0x4f6,_0x585f29._0x4566f4)+_0x390b14[_0x4b1aa3(-0x195,_0x585f29._0x248204)](_0x299761['SEGZo'][_0x4b1aa3(0x7d1,0x5b0)]))[_0xaa554f(0x2d0,0x439)](/\/+$/,'');function _0xaa554f(_0x1a3d92,_0x213b13){return _0x341e52(_0x213b13- -0xa5,_0x1a3d92);}return(_0x4b1aa3(0x2f9,_0x585f29._0x37e20e)+_0x390b14)[_0xaa554f(0x186,_0x585f29._0x5e5f77)](/\/+$/,'');}function assessPairingCompatibility(_0x54fed5,_0x1b1587){const _0x2c1c5a={_0x32554c:0x71,_0x549f85:0x6f4,_0x16762c:0x9d,_0x251fce:0x19a,_0x4a5517:0x18b},_0x59723f={_0x15ac11:0x4b7};function _0x22e89c(_0x732974,_0x425c89){return _0x341e52(_0x732974- -0x502,_0x425c89);}if(!_0x54fed5)return _0x22e89c(-_0x2c1c5a._0x32554c,0x1cf)+_0x22e89c(0x3b8,0x675);function _0x324e05(_0x1ca617,_0x2dc049){return _0x341e52(_0x2dc049- -_0x59723f._0x15ac11,_0x1ca617);}if(_0x54fed5['serverUr'+'l']===_0x1b1587)return _0x22e89c(0x42f,_0x2c1c5a._0x549f85)+_0x22e89c(-_0x2c1c5a._0x16762c,0x26d);return'server-m'+_0x22e89c(_0x2c1c5a._0x251fce,_0x2c1c5a._0x4a5517);}async function postJsonWithCloudflareFallback(_0x4a997e,_0x49de85){const _0x55e7b5={_0x470076:0x554,_0x10afb2:0x846,_0x449258:0x8c9,_0x114508:0x71b,_0x36e0bf:0x9d3},_0x58b39e={_0x1d06e8:0xb0};function _0x259dd3(_0x5082f3,_0x5417c6){return _0x341e52(_0x5082f3-_0x58b39e._0x1d06e8,_0x5417c6);}const _0x35756b={'NFGyT':function(_0x412896,_0x1738a1,_0x3ed790){return _0x412896(_0x1738a1,_0x3ed790);},'DQlpP':function(_0x2d381c,_0x1bab15,_0x2afc59){return _0x2d381c(_0x1bab15,_0x2afc59);}},_0x2c38a1=await fetch(_0x4a997e,_0x49de85),_0x4e7400=_0x35756b[_0x3183d3(_0x55e7b5._0x470076,_0x55e7b5._0x10afb2)](resolveCloudflareChallengeFallbackUrl,_0x4a997e,_0x2c38a1);if(!_0x4e7400){const _0x152519={};return _0x152519[_0x3183d3(0x883,0xa6d)]=_0x2c38a1,_0x152519[_0x259dd3(0x55d,0x5b5)+_0x3183d3(0x7c2,0x8a9)]=_0x4a997e,_0x152519[_0x3183d3(0x655,_0x55e7b5._0x449258)+'Url']=null,_0x152519;}function _0x3183d3(_0x135bc1,_0x4775){return _0x341e52(_0x135bc1-0x1a3,_0x4775);}return{'response':await _0x35756b[_0x3183d3(_0x55e7b5._0x114508,_0x55e7b5._0x36e0bf)](fetch,_0x4e7400,_0x49de85),'attemptedUrl':_0x4a997e,'fallbackUrl':_0x4e7400};}async function buildPairingRequestError(_0x48ce18,_0x3a950d){const _0x3bf9d7={_0x320e2f:0x119,_0x45f827:0xdd,_0x3c2d38:0x38,_0x25b7d1:0x30b,_0x54c191:0x319,_0x398254:0x617,_0x327df4:0x656,_0x4f1744:0x1bb,_0x4a42aa:0x141,_0x5b7db5:0x330,_0x5bb2c0:0x4a6,_0x27ab7f:0x115,_0x5c8ff1:0x222,_0x34bfda:0x99,_0x3f41f3:0x7b9,_0x477b26:0x73c,_0x55cf86:0x28d,_0x148779:0x47c,_0x5324de:0x26a,_0xec523e:0x242,_0xbf76b5:0x710,_0x5b5d8b:0x335,_0x4b16c5:0x74,_0x263bb4:0x22b,_0x1fa276:0x179,_0x107f19:0x241,_0x553048:0x13d,_0x55a247:0x247,_0x42516b:0x33,_0x5872e4:0x4c4,_0x567818:0x707,_0x208314:0x57,_0x123438:0x16f,_0x5118f4:0x547,_0x2ab195:0x56e,_0x92659d:0x3a3,_0x34abc8:0x40d,_0x50eb8b:0x153,_0x574ff9:0xe6},_0xfbff3a={_0x62a7ef:0xe3};function _0x5e11c8(_0x2915b5,_0x53ab1e){return _0x35d151(_0x53ab1e,_0x2915b5- -0x34f);}const _0x4cd4cb={'lPwjT':function(_0xd27c6b,_0xd95efd){return _0xd27c6b(_0xd95efd);}};if(_0x4cd4cb[_0x5e11c8(0x1a1,-0x79)](isCloudflareChallengeResponse,_0x3a950d[_0x5e11c8(0x115,-0x145)])){const _0x2dd3d8=new URL(_0x3a950d[_0x5e11c8(-_0x3bf9d7._0x320e2f,_0x3bf9d7._0x45f827)+'Url']??_0x3a950d[_0x3fd8be(0x314,_0x3bf9d7._0x3c2d38)+'dUrl'])[_0x5e11c8(-0x26f,-_0x3bf9d7._0x25b7d1)],_0x30bb9f=_0x3a950d[_0x3fd8be(_0x3bf9d7._0x54c191,_0x3bf9d7._0x398254)+_0x3fd8be(0x4a6,0x798)]?_0x5e11c8(0x37e,_0x3bf9d7._0x327df4)+_0x5e11c8(_0x3bf9d7._0x4f1744,-_0x3bf9d7._0x4a42aa)+_0x5e11c8(_0x3bf9d7._0x5b7db5,0x5de)+_0x3a950d['fallback'+_0x3fd8be(_0x3bf9d7._0x5bb2c0,0x4bb)]+(_0x3fd8be(0x5b8,0x62f)+_0x3fd8be(0x42f,0x3f4)+_0x3fd8be(0x4a8,0x283)+'hallenge'+'.'):'';return new Error(_0x48ce18+(_0x3fd8be(0x601,0x68f)+'(')+_0x3a950d[_0x5e11c8(_0x3bf9d7._0x27ab7f,_0x3bf9d7._0x5c8ff1)][_0x3fd8be(0x3a3,0x468)]+(_0x5e11c8(0xc8,-_0x3bf9d7._0x34bfda)+_0x3fd8be(_0x3bf9d7._0x3f41f3,_0x3bf9d7._0x477b26)+_0x3fd8be(_0x3bf9d7._0x55cf86,_0x3bf9d7._0x148779)+_0x5e11c8(_0x3bf9d7._0x5324de,0x1ad)+_0x3fd8be(0x38d,0x1f0)+_0x5e11c8(0x2b2,_0x3bf9d7._0xec523e)+_0x3fd8be(_0x3bf9d7._0xbf76b5,0x99a))+_0x2dd3d8+'.'+_0x30bb9f+(_0x5e11c8(_0x3bf9d7._0x5b5d8b,0x35a)+_0x3fd8be(0x772,0x5fb)+'fferent\x20'+_0x5e11c8(-_0x3bf9d7._0x4b16c5,_0x3bf9d7._0x263bb4)+'or\x20use\x20a'+_0x5e11c8(_0x3bf9d7._0x1fa276,_0x3bf9d7._0x107f19)+_0x5e11c8(-_0x3bf9d7._0x553048,-0x34f)+_0x3fd8be(_0x3bf9d7._0x55a247,_0x3bf9d7._0x42516b)+_0x3fd8be(_0x3bf9d7._0x5872e4,_0x3bf9d7._0x567818)+_0x5e11c8(_0x3bf9d7._0x208314,-_0x3bf9d7._0x123438)+'\x20browser'+_0x3fd8be(0x6cf,0x506)+'ation.'));}function _0x3fd8be(_0x325c8c,_0x446eb1){return _0x35d151(_0x446eb1,_0x325c8c-_0xfbff3a._0x62a7ef);}return new Error(_0x48ce18+(_0x5e11c8(0x1cf,0x285)+'(')+_0x3a950d[_0x3fd8be(_0x3bf9d7._0x5118f4,_0x3bf9d7._0x2ab195)][_0x3fd8be(_0x3bf9d7._0x92659d,_0x3bf9d7._0x34abc8)]+_0x3fd8be(0x2e8,0x290)+summarizeFailedResponse(await _0x3a950d['response'][_0x5e11c8(-_0x3bf9d7._0x50eb8b,_0x3bf9d7._0x574ff9)]()));}function isCloudflareChallengeResponse(_0x5a66be){const _0x4a2c9b={_0x4fc6e4:0x537,_0x46072c:0x267,_0x355612:0x673,_0x35fc79:0x3f9,_0x359e3d:0x218,_0x166ce4:0x3c7,_0x4e71dc:0x5e0,_0x47d9a8:0x6a1,_0x564761:0x7d0,_0x220b66:0x5f8,_0x2c06d0:0x8ad,_0x5a757:0x5b5};function _0x551d77(_0xd076bd,_0x4e98ad){return _0x35d151(_0x4e98ad,_0xd076bd-0x3e1);}const _0x3c0ae9={};_0x3c0ae9[_0x551d77(_0x4a2c9b._0x4fc6e4,0x486)]=function(_0x156f55,_0x2c071e){return _0x156f55===_0x2c071e;};function _0x5836c1(_0x5ef651,_0x1c594e){return _0x35d151(_0x1c594e,_0x5ef651-0x271);}_0x3c0ae9[_0x5836c1(0x3de,_0x4a2c9b._0x46072c)]=function(_0x406a20,_0x503b32){return _0x406a20===_0x503b32;},_0x3c0ae9[_0x5836c1(0x660,0x517)]=_0x5836c1(_0x4a2c9b._0x355612,0x6df)+_0x5836c1(_0x4a2c9b._0x35fc79,_0x4a2c9b._0x359e3d);const _0x54034f=_0x3c0ae9;return _0x54034f[_0x5836c1(_0x4a2c9b._0x166ce4,_0x4a2c9b._0x4e71dc)](_0x5a66be[_0x551d77(_0x4a2c9b._0x47d9a8,0x556)],0x193)&&_0x54034f[_0x551d77(0x54e,0x6cb)](_0x5a66be[_0x551d77(0x7ca,0x514)]['get'](_0x54034f[_0x551d77(_0x4a2c9b._0x564761,0x746)])?.[_0x5836c1(_0x4a2c9b._0x220b66,0x73e)]()[_0x5836c1(_0x4a2c9b._0x2c06d0,_0x4a2c9b._0x5a757)+'ase'](),_0x551d77(0x972,0x751)+'e');}function resolveCloudflareChallengeFallbackUrl(_0x5df21f,_0xc8e128){const _0x599932={_0x7e7d29:0x2ca,_0x2f0259:0x3f8,_0x34bba6:0x5e1,_0x157456:0x20d},_0x13c33b={_0x23d983:0x18};function _0x1eabdf(_0x34a6d0,_0x1b9a80){return _0x35d151(_0x1b9a80,_0x34a6d0-0xea);}const _0xa8de05={'sYjRY':function(_0x260e2e,_0x4fd913){return _0x260e2e(_0x4fd913);},'jbufU':function(_0x2ad2cb,_0x424bda){return _0x2ad2cb!==_0x424bda;}};if(!_0xa8de05[_0x1eabdf(_0x599932._0x7e7d29,_0x599932._0x2f0259)](isCloudflareChallengeResponse,_0xc8e128))return null;const _0x1d2fe7=new URL(_0x5df21f);function _0x54b33d(_0x46ae9f,_0x5344d0){return _0x35d151(_0x46ae9f,_0x5344d0-_0x13c33b._0x23d983);}if(_0xa8de05[_0x1eabdf(0x327,_0x599932._0x34bba6)](_0x1d2fe7['origin'],DEFAULT_REGISTRY_BASE))return null;return''+DEFAULT_REGISTRY_FALLBACK_BASE+_0x1d2fe7[_0x54b33d(_0x599932._0x157456,0x45b)]+_0x1d2fe7[_0x54b33d(0x78d,0x528)];}function summarizeFailedResponse(_0x2e0424){const _0x4e68c4={_0x4de2b9:0x850,_0x1b13df:0x709,_0x5d8e22:0x619,_0x52edd9:0x942,_0x116de2:0x4a9,_0xb885f7:0x590},_0x23b700={_0xfcccab:0x3b7};function _0x22a534(_0x57dca1,_0x4d82ad){return _0x35d151(_0x4d82ad,_0x57dca1-0x224);}const _0x3afdfa={};_0x3afdfa[_0x22a534(_0x4e68c4._0x4de2b9,_0x4e68c4._0x1b13df)]=function(_0x1bc85d,_0x3170af){return _0x1bc85d<=_0x3170af;};const _0x51bc75=_0x3afdfa,_0x4f5315=_0x2e0424[_0x1bf47e(0x428,_0x4e68c4._0x5d8e22)](/\s+/g,'\x20')[_0x1bf47e(_0x4e68c4._0x52edd9,0x73e)]();function _0x1bf47e(_0x568499,_0x13bd75){return _0x35d151(_0x568499,_0x13bd75-_0x23b700._0xfcccab);}if(!_0x4f5315)return _0x22a534(_0x4e68c4._0x116de2,0x252)+_0x1bf47e(_0x4e68c4._0xb885f7,0x612)+_0x1bf47e(0x6d0,0x946);if(_0x51bc75[_0x1bf47e(0xbcc,0x9e3)](_0x4f5315[_0x1bf47e(0x98f,0x9a4)],0xf0))return _0x4f5315;return _0x4f5315['slice'](0x0,0xed)+'...';}import{execFileSync,spawn}from'child_process';import{chmodSync,closeSync,existsSync as _0xf90435,mkdirSync as _0x4fd96b,openSync,readFileSync as _0x3f080b,realpathSync,rmSync as _0x26bed0,writeFileSync as _0x162251}from'fs';import{homedir as _0x4846ad}from'os';import{dirname,join as _0x5de2bf}from'path';import{setTimeout as _0x55d728}from'timers/promises';var SERVICE_LABEL=_0x341e52(0x356,0x4e4)+_0x35d151(0x65d,0x51f)+'e.cli',SYSTEMD_UNIT_NAME=SERVICE_LABEL+'.service',WINDOWS_RUN_KEY=_0x35d151(-0x1ad,0x151)+_0x341e52(0x6b7,0x7cf),SERVICE_DIR=_0x5de2bf(_0x4846ad(),_0x341e52(0x8ed,0xa44)),LOG_DIR=_0x5de2bf(SERVICE_DIR,_0x35d151(0x3ff,0x55e)),SERVICE_STATE_PATH=_0x5de2bf(SERVICE_DIR,_0x341e52(0x72d,0x94e)+'ervice.j'+_0x341e52(0x809,0x695)),RUNTIME_REGISTRY_PATH=_0x5de2bf(SERVICE_DIR,_0x341e52(0x353,0x456)+_0x35d151(0x850,0x5d3)+_0x341e52(0x827,0x8d4)+_0x341e52(0x4e7,0x4de)),SERVICE_LAUNCHER_PATH=_0x5de2bf(SERVICE_DIR,'clawket-'+_0x35d151(-0x127,0x102)+_0x341e52(0x857,0x759)),LINUX_CRON_RECORD_PATH=_0x5de2bf(SERVICE_DIR,_0x341e52(0x72d,0x585)+'ervice.c'+_0x341e52(0x7c2,0x7a3)),SERVICE_LOG_PATH=_0x5de2bf(LOG_DIR,_0x35d151(0x402,0x3d5)+_0x35d151(0x602,0x330)),SERVICE_ERROR_LOG_PATH=_0x5de2bf(LOG_DIR,_0x35d151(0x64f,0x3d5)+_0x341e52(0x3a8,0xf8)+_0x341e52(0x645,0x445)),MACOS_PLIST_PATH=_0x5de2bf(_0x4846ad(),_0x35d151(0x44a,0x588),'LaunchAg'+_0x35d151(0x956,0x6b3),SERVICE_LABEL+_0x35d151(0x3cc,0x4f8)),LINUX_SERVICE_PATH=_0x5de2bf(_0x4846ad(),_0x341e52(0x93b,0x6c8),_0x35d151(0x37c,0x227),_0x35d151(0x50b,0x640),SYSTEMD_UNIT_NAME),LINUX_CRON_MARKER='#\x20clawke'+_0x341e52(0x730,0x76d)+'-cli';function getServiceProgramArgs(_0x2d3f9f={},_0x5817b0=process[_0x341e52(0x8f3,0x86b)]){const _0x93468={_0x3586fb:0x89,_0x3a0e90:0x1f8,_0x144322:0x4c,_0xfe16eb:0x35,_0x23cd53:0x67f,_0x32a32f:0x785,_0x8669c1:0x88a,_0x18dcf2:0x83c,_0x3ee089:0x5b0,_0x525570:0x263,_0x5327f5:0x1,_0x114e1a:0xa71,_0x5f2544:0x9ed};function _0x80317(_0x4ec196,_0x3f3d81){return _0x35d151(_0x4ec196,_0x3f3d81-0x37c);}const _0x370135={'iiZVC':function(_0x231498,_0x176a2b){return _0x231498(_0x176a2b);},'NKWHb':_0x322c16(0x3d7,0x6b5)},_0x124b5d=_0x2d3f9f['nodePath']?.[_0x322c16(_0x93468._0x3586fb,_0x93468._0x3a0e90)]()||process['execPath'];function _0x322c16(_0x4bdd8b,_0x42fb44){return _0x35d151(_0x42fb44,_0x4bdd8b- -0x2fe);}const _0x904a30=resolveScriptPath(_0x2d3f9f[_0x322c16(_0x93468._0x144322,_0x93468._0xfe16eb)+'th']);if(!_0x904a30)throw new Error('Unable\x20t'+'o\x20resolv'+'e\x20CLI\x20sc'+_0x80317(_0x93468._0x23cd53,_0x93468._0x32a32f)+_0x80317(0x8a4,_0x93468._0x8669c1)+_0x322c16(0x255,-0x5a)+_0x80317(_0x93468._0x18dcf2,0x9ac)+_0x80317(_0x93468._0x3ee089,0x60b));if(_0x5817b0!==_0x322c16(0x70,-_0x93468._0x525570)){const _0x4d065c={};_0x4d065c[_0x322c16(-_0x93468._0x5327f5,-0x17d)]=_0x124b5d,_0x4d065c['scriptPa'+'th']=_0x904a30,_0x4d065c[_0x80317(_0x93468._0x114e1a,0xa37)]=process.env.PATH??'';const _0x30171e=_0x370135['iiZVC'](writeServiceLauncher,_0x4d065c);return ensureLaunchScriptExecutable(_0x30171e,_0x5817b0),[_0x30171e];}return[_0x124b5d,_0x904a30,_0x370135[_0x80317(0xae8,0x96b)],_0x80317(_0x93468._0x5f2544,0xa4c)+'e'];}function getServiceStatus(){const _0x4d9a52={_0x5a8920:0x70,_0x1bc0f3:0x116,_0x207691:0x135,_0x2fbd4a:0x511,_0x24fc89:0x483,_0x525f05:0x201,_0x48a589:0x757,_0x35e11d:0x489,_0x5b1335:0x793,_0x2c986b:0x42d,_0x465d39:0x4f2,_0x1cf42e:0x440,_0x21cc12:0x5e,_0x18d286:0x434,_0x3de316:0x691,_0x3eccfa:0x4e3,_0x28d406:0x27a,_0x4b911b:0x78a,_0x3d5283:0x46e,_0x289f01:0x4af,_0x439878:0x4f2,_0x1a3c08:0x46c,_0x1e6e0b:0xfb,_0x332da4:0x491,_0x4a708f:0x14f,_0x26549e:0x42c,_0x32933e:0x529,_0x2b0e46:0x793,_0x2b87ab:0x3a4,_0xa74adb:0x651,_0x4cff5d:0x524,_0x42dede:0x6f9},_0x33d5f6={'ISfMa':function(_0x53734e,_0x497d63){return _0x53734e!=_0x497d63;},'xZQvQ':function(_0xa7bd97,_0xbd4a3){return _0xa7bd97(_0xbd4a3);},'TgPCd':_0x3a6e0d(-0x1c4,_0x4d9a52._0x5a8920)+_0x3a6e0d(_0x4d9a52._0x1bc0f3,_0x4d9a52._0x207691),'aqIBV':function(_0x18e1ef,_0x1f4533,_0xd1e16b){return _0x18e1ef(_0x1f4533,_0xd1e16b);}};function _0x3081fb(_0x5e4f5a,_0x1f09f5){return _0x341e52(_0x5e4f5a- -0x99,_0x1f09f5);}function _0x3a6e0d(_0x40a1e5,_0x5db374){return _0x341e52(_0x5db374- -0x33a,_0x40a1e5);}ensureServiceDirs();const _0x493076=readServiceState()?.[_0x3081fb(0x724,0x97f)]??null,_0x5c3ceb=detectServiceMethod(),_0x4ab7be={'installed':![],'running':_0x33d5f6['ISfMa'](_0x493076,null)&&isPidRunning(_0x493076),'method':_0x5c3ceb,'servicePath':getServicePath(_0x5c3ceb),'logPath':SERVICE_LOG_PATH,'errorLogPath':SERVICE_ERROR_LOG_PATH,'pid':_0x493076};_0x4ab7be[_0x3a6e0d(_0x4d9a52._0x2fbd4a,_0x4d9a52._0x24fc89)]!=null&&!_0x4ab7be[_0x3a6e0d(_0x4d9a52._0x525f05,0x193)]&&(clearServiceState(_0x4ab7be['pid']),_0x4ab7be[_0x3a6e0d(0x2a6,_0x4d9a52._0x24fc89)]=null);switch(_0x4ab7be[_0x3081fb(_0x4d9a52._0x48a589,0x707)]){case _0x3081fb(_0x4d9a52._0x35e11d,0x6ee)+'ent':_0x4ab7be[_0x3081fb(_0x4d9a52._0x5b1335,0x5a2)+'d']=_0xf90435(MACOS_PLIST_PATH);_0x4ab7be[_0x3a6e0d(_0x4d9a52._0x2c986b,_0x4d9a52._0x465d39)+'d']&&(_0x4ab7be['running']=commandSucceeds(_0x3081fb(0x2f1,_0x4d9a52._0x1cf42e)+'l',[_0x3a6e0d(-0xce,_0x4d9a52._0x21cc12),SERVICE_LABEL])||_0x4ab7be[_0x3081fb(_0x4d9a52._0x18d286,_0x4d9a52._0x3de316)]);return _0x4ab7be;case _0x3a6e0d(_0x4d9a52._0x3eccfa,_0x4d9a52._0x28d406)+'user':_0x4ab7be[_0x3a6e0d(_0x4d9a52._0x4b911b,0x4f2)+'d']=_0x33d5f6[_0x3081fb(_0x4d9a52._0x3d5283,_0x4d9a52._0x289f01)](_0xf90435,LINUX_SERVICE_PATH);_0x4ab7be[_0x3a6e0d(0x3b1,_0x4d9a52._0x439878)+'d']&&(_0x4ab7be[_0x3081fb(0x434,_0x4d9a52._0x1a3c08)]=commandSucceeds('systemct'+'l',['--user',_0x3a6e0d(0x862,0x581)+'e',_0x3a6e0d(-0x26,_0x4d9a52._0x1e6e0b),SYSTEMD_UNIT_NAME])||_0x4ab7be[_0x3081fb(0x434,0x4bc)]);return _0x4ab7be;case _0x33d5f6[_0x3a6e0d(0x786,_0x4d9a52._0x332da4)]:_0x4ab7be[_0x3081fb(0x793,0x5b3)+'d']=hasLinuxCronRegistration();return _0x4ab7be;case _0x3a6e0d(_0x4d9a52._0x4a708f,_0x4d9a52._0x26549e)+_0x3a6e0d(0x6ae,_0x4d9a52._0x32933e)+'stry':_0x4ab7be[_0x3081fb(_0x4d9a52._0x2b0e46,0x601)+'d']=_0x33d5f6[_0x3081fb(0x55a,0x64b)](commandSucceeds,_0x3081fb(_0x4d9a52._0x2b87ab,0x1dc),[_0x3a6e0d(_0x4d9a52._0xa74adb,_0x4d9a52._0x4cff5d),_0x3081fb(0x7fa,0x6df)+'tware\x5cMi'+'crosoft\x5c'+_0x3081fb(0x894,0x95f)+'CurrentV'+_0x3081fb(_0x4d9a52._0x42dede,0x495)+'un','/v',WINDOWS_RUN_KEY]);return _0x4ab7be;default:return _0x4ab7be;}}function installService(_0x53f0dd={}){const _0x3cd0ac={_0x3222ef:0xb2b,_0x1a6a2c:0x8f9,_0x58aa3a:0x5b0,_0x54184f:0x504,_0x6c92be:0x60f,_0x31ccdf:0x432,_0x640b6c:0x187,_0x4a47e3:0x7ff,_0x29a183:0x5de,_0x5e2049:0xa4c,_0x51eb85:0xa7b,_0x312b17:0x2b7,_0x407f0c:0x9e8,_0x375425:0x5b7,_0x4aba59:0xd9,_0x509441:0xa05,_0x1d6340:0x2d9,_0x16b149:0x958,_0x41256b:0xa6d},_0x1df701={_0x5ba10c:0x99};function _0x1815c5(_0x405470,_0x3052ea){return _0x35d151(_0x405470,_0x3052ea-0x3f6);}const _0x3a2296={};_0x3a2296[_0x1815c5(_0x3cd0ac._0x3222ef,0x98b)]=_0x16b53c(0x3c1,0x364),_0x3a2296[_0x1815c5(_0x3cd0ac._0x1a6a2c,0x863)]=_0x1815c5(_0x3cd0ac._0x58aa3a,_0x3cd0ac._0x54184f)+'l',_0x3a2296[_0x1815c5(_0x3cd0ac._0x6c92be,0x695)]='load',_0x3a2296['Mwftn']=_0x16b53c(_0x3cd0ac._0x31ccdf,_0x3cd0ac._0x640b6c),_0x3a2296[_0x16b53c(0x1db,0x32f)]=_0x1815c5(_0x3cd0ac._0x4a47e3,0xa7f);const _0x36d3f1=_0x3a2296;ensureServiceDirs();const _0x522aca=getServiceProgramArgs(_0x53f0dd);switch(process[_0x16b53c(0x7cc,_0x3cd0ac._0x29a183)]){case _0x1815c5(0xbd5,_0x3cd0ac._0x5e2049):_0x162251(MACOS_PLIST_PATH,buildMacosPlist(_0x522aca,SERVICE_LOG_PATH,SERVICE_ERROR_LOG_PATH),_0x36d3f1[_0x1815c5(_0x3cd0ac._0x51eb85,0x98b)]),execIgnoreFailure(_0x36d3f1[_0x16b53c(0x4a6,0x3d4)],[_0x1815c5(0x4e1,0x65d),'-w',MACOS_PLIST_PATH]);const _0x515df1={};_0x515df1['stdio']=_0x16b53c(0x48a,0x559),execFileSync('launchct'+'l',[_0x36d3f1[_0x16b53c(_0x3cd0ac._0x312b17,0x206)],'-w',MACOS_PLIST_PATH],_0x515df1);break;case _0x36d3f1['Mwftn']:installLinuxService(_0x522aca);break;case _0x16b53c(0x8e,0x2d5):stopRunningProcess();const _0x42cad0={};_0x42cad0['stdio']=_0x1815c5(0xcea,_0x3cd0ac._0x407f0c),execFileSync(_0x1815c5(0x797,_0x3cd0ac._0x375425),[_0x36d3f1['IPQER'],_0x16b53c(0x34f,0x57e)+_0x16b53c(0x62,_0x3cd0ac._0x4aba59)+_0x1815c5(0x314,0x603)+_0x16b53c(0x830,0x618)+_0x1815c5(0xba6,_0x3cd0ac._0x509441)+'ersion\x5cR'+'un','/v',WINDOWS_RUN_KEY,'/t',_0x16b53c(_0x3cd0ac._0x1d6340,0x38a),'/d',buildWindowsRunCommand(_0x522aca),'/f'],_0x42cad0),startDetachedWindowsService(_0x522aca);break;default:throw new Error(_0x1815c5(0x540,0x844)+'ted\x20plat'+_0x1815c5(0x34f,0x5a1)+_0x16b53c(0x208,0x4de)+'vice\x20ins'+'tallatio'+'n:\x20'+process[_0x1815c5(_0x3cd0ac._0x16b149,_0x3cd0ac._0x41256b)]);}function _0x16b53c(_0x3a5abb,_0x1537b2){return _0x35d151(_0x3a5abb,_0x1537b2- -_0x1df701._0x5ba10c);}return getServiceStatus();}function restartService(_0x2d5301={}){const _0xa21b6c={_0x4981b3:0x1d,_0x20e5c6:0x6e2,_0x59fb37:0x23c,_0x561b31:0x9d,_0x25f181:0x4fe,_0x21f93a:0x3b2,_0x432984:0x50,_0x3523ab:0xf3,_0x134bf5:0x74e,_0x1bcea2:0x211,_0x4682f9:0x415,_0x267a1e:0x1f0,_0x41e6c8:0x102,_0x230a45:0x19d,_0x587a1c:0x641,_0x50822b:0x506,_0x4dc717:0x134,_0x4bd945:0x2c6,_0x4f19d9:0x37,_0x1e9979:0x57,_0x1a9977:0x337,_0x3b8d1d:0x5d,_0x121788:0x33d,_0x12b36d:0x475},_0x183f62={_0x20463c:0x202};function _0xacfd81(_0x248548,_0x386150){return _0x35d151(_0x248548,_0x386150- -0x70);}const _0x332c4f={'dqfGB':function(_0x24db3c,_0x4f605c,_0xafd7ac,_0x3c636c){return _0x24db3c(_0x4f605c,_0xafd7ac,_0x3c636c);},'XONhO':function(_0x5b0fae,_0x3f2ccf,_0x2891bf,_0x3b01d2){return _0x5b0fae(_0x3f2ccf,_0x2891bf,_0x3b01d2);},'HqgdL':_0x878456(0x513,0x3f0),'GFbeL':_0x878456(_0xa21b6c._0x4981b3,0x1e),'ffPis':_0x878456(0xa9,0x16c),'jCoEh':function(_0x1c925d,_0x1a78e6){return _0x1c925d(_0x1a78e6);}};function _0x878456(_0x48d290,_0x33384e){return _0x35d151(_0x48d290,_0x33384e- -_0x183f62._0x20463c);}ensureServiceDirs();const _0x20067c=getServiceProgramArgs(_0x2d5301);switch(process[_0x878456(_0xa21b6c._0x20e5c6,0x475)]){case _0x878456(0x5f7,0x454):if(!_0xf90435(MACOS_PLIST_PATH))return installService(_0x2d5301);_0x332c4f[_0xacfd81(-_0xa21b6c._0x59fb37,_0xa21b6c._0x561b31)](_0x162251,MACOS_PLIST_PATH,_0x332c4f[_0xacfd81(_0xa21b6c._0x25f181,_0xa21b6c._0x21f93a)](buildMacosPlist,_0x20067c,SERVICE_LOG_PATH,SERVICE_ERROR_LOG_PATH),_0xacfd81(0x3b6,0x38d)),execIgnoreFailure('launchct'+'l',['unload','-w',MACOS_PLIST_PATH]),_0x332c4f['XONhO'](execFileSync,_0x878456(-0x2b5,-0xf4)+'l',[_0xacfd81(0x73b,0x510),'-w',MACOS_PLIST_PATH],{'stdio':_0x332c4f[_0xacfd81(_0xa21b6c._0x432984,0xe0)]});break;case _0x332c4f['GFbeL']:restartLinuxService(_0x20067c);break;case _0x332c4f[_0xacfd81(0x231,_0xa21b6c._0x3523ab)]:stopRunningProcess();const _0x1f5a22={};_0x1f5a22[_0x878456(_0xa21b6c._0x134bf5,0x4d1)]='ignore',execFileSync('reg',['add',_0x878456(_0xa21b6c._0x1bcea2,_0xa21b6c._0x4682f9)+_0xacfd81(-_0xa21b6c._0x267a1e,_0xa21b6c._0x41e6c8)+_0xacfd81(0x2ff,_0xa21b6c._0x230a45)+_0xacfd81(0x4e7,_0xa21b6c._0x587a1c)+'CurrentV'+_0x878456(_0xa21b6c._0x50822b,0x314)+'un','/v',WINDOWS_RUN_KEY,'/t','REG_SZ','/d',buildWindowsRunCommand(_0x20067c),'/f'],_0x1f5a22),_0x332c4f[_0xacfd81(-0x107,_0xa21b6c._0x4dc717)](startDetachedWindowsService,_0x20067c);break;default:throw new Error(_0x878456(0x4c9,0x24c)+_0x878456(_0xa21b6c._0x4bd945,_0xa21b6c._0x4f19d9)+_0x878456(0x69,-_0xa21b6c._0x1e9979)+_0xacfd81(0x80b,0x507)+_0x878456(0x5a2,_0xa21b6c._0x1a9977)+_0x878456(0x27b,-_0xa21b6c._0x3b8d1d)+process[_0x878456(_0xa21b6c._0x121788,_0xa21b6c._0x12b36d)]);}return getServiceStatus();}async function startTransientRuntime(_0x432602={}){const _0x4172ea={_0x900835:0xc0,_0x561eb8:0x404,_0x2b1aed:0xd9,_0x11aa52:0x3a7,_0x3bbb72:0x3b5,_0x48f0fc:0x522,_0x573ce9:0x267},_0x3fbb01={_0x516726:0x160},_0x5f5c32={'UVbwb':function(_0x495222){return _0x495222();}};function _0x4d8e46(_0xb54c2a,_0x3eec7c){return _0x35d151(_0x3eec7c,_0xb54c2a-0x35f);}_0x5f5c32['UVbwb'](ensureServiceDirs);function _0x3e90e4(_0x4db0e3,_0x4b4688){return _0x35d151(_0x4db0e3,_0x4b4688- -_0x3fbb01._0x516726);}const _0x5c485f=getServiceProgramArgs(_0x432602);switch(process[_0x3e90e4(0x6fa,0x517)]){case _0x4d8e46(0x9b5,0xc21):case _0x3e90e4(-0x73,_0x4172ea._0x900835):startDetachedPosixService(_0x5c485f);break;case _0x3e90e4(_0x4172ea._0x561eb8,0x20e):startDetachedWindowsService(_0x5c485f);break;default:throw new Error('Unsuppor'+_0x3e90e4(-0x57,_0x4172ea._0x2b1aed)+_0x4d8e46(0x50a,_0x4172ea._0x11aa52)+_0x3e90e4(_0x4172ea._0x3bbb72,_0x4172ea._0x48f0fc)+_0x4d8e46(0x4fb,0x358)+'untime\x20s'+_0x4d8e46(0x504,_0x4172ea._0x573ce9)+process['platform']);}return _0x5f5c32[_0x4d8e46(0x915,0xa35)](waitForRuntimeState);}function uninstallService(){const _0x1a78d1={_0x4f1709:0x6af,_0x22b062:0xd3,_0x106b74:0x8cf,_0x257c80:0x321,_0x22dfbf:0x1ae,_0x1a80b2:0x22f,_0x199672:0x4e4,_0x3914e7:0x9b8,_0xf5fb15:0x138,_0x5867d6:0x450,_0x20130c:0x7ae,_0x21171a:0x810,_0x3f4ca5:0x58c,_0x35bbce:0x701,_0x35bb67:0x737},_0x33bb5b={'aklsg':'darwin','nbCxU':'unload','iQoha':_0x343019(0x17d,0x43e),'CDykV':'systemct'+'l','RDgdq':_0x343019(0x5eb,_0x1a78d1._0x4f1709),'ExDkX':'disable','XskEv':function(_0x47f19d,_0xaf304){return _0x47f19d(_0xaf304);},'BBEwg':_0x343019(0x81e,0x835)+'tware\x5cMi'+_0x5a3100(-0x149,_0x1a78d1._0x22b062)+_0x343019(0x6f7,_0x1a78d1._0x106b74)+'CurrentV'+'ersion\x5cR'+'un'};stopRunningProcess();switch(process[_0x5a3100(_0x1a78d1._0x257c80,_0x1a78d1._0x22dfbf)]){case _0x33bb5b['aklsg']:execIgnoreFailure(_0x343019(_0x1a78d1._0x1a80b2,0x32c)+'l',[_0x33bb5b['nbCxU'],'-w',MACOS_PLIST_PATH]),rmIfExists(MACOS_PLIST_PATH);break;case _0x33bb5b[_0x343019(_0x1a78d1._0x199672,0x324)]:_0xf90435(LINUX_SERVICE_PATH)&&(execIgnoreFailure(_0x33bb5b[_0x343019(_0x1a78d1._0x3914e7,0x804)],[_0x33bb5b['RDgdq'],_0x33bb5b[_0x5a3100(_0x1a78d1._0xf5fb15,0x138)],'--now',SYSTEMD_UNIT_NAME]),_0x33bb5b[_0x343019(0x1e4,_0x1a78d1._0x5867d6)](rmIfExists,LINUX_SERVICE_PATH),execIgnoreFailure(_0x343019(0x9b3,_0x1a78d1._0x20130c)+'l',[_0x5a3100(0x13b,0x43d),'daemon-r'+_0x5a3100(-0xe0,-0x9c)]));removeLinuxCronRegistration();break;case _0x343019(_0x1a78d1._0x21171a,_0x1a78d1._0x3f4ca5):execIgnoreFailure('reg',[_0x343019(_0x1a78d1._0x35bbce,_0x1a78d1._0x35bb67),_0x33bb5b['BBEwg'],'/v',WINDOWS_RUN_KEY,'/f']);break;default:break;}clearServiceState();function _0x343019(_0x147414,_0x14d1c3){return _0x341e52(_0x14d1c3- -0x5e,_0x147414);}function _0x5a3100(_0x5cbc5a,_0x5ef0cb){return _0x341e52(_0x5cbc5a- -0x5d2,_0x5ef0cb);}return getServiceStatus();}function stopService(){const _0x49ce77={_0xcd94ed:0x612,_0x4d3785:0x46c,_0x1131ef:0x6e7,_0x11b436:0x62b,_0x1376c0:0x767,_0x12f0b5:0xd1,_0x37cb9e:0x510,_0x57058f:0x737,_0x362655:0x459,_0x386975:0x1f5,_0x3d42ae:0x3d1,_0x391e1c:0xa77,_0x3b616b:0x49e},_0xb7a333={_0x1e1bcc:0x3ab};function _0x2b7104(_0x3d08b3,_0x5b1500){return _0x35d151(_0x3d08b3,_0x5b1500- -0x2b);}const _0x280b6a={'yPVsc':function(_0x1eb940,_0x4e2232,_0x5cdd19){return _0x1eb940(_0x4e2232,_0x5cdd19);},'Simvv':_0x64cb12(_0x49ce77._0xcd94ed,_0x49ce77._0x4d3785),'jGrER':'win32','nMpAc':function(_0x108b90){return _0x108b90();}};stopRunningProcess();switch(process['platform']){case _0x2b7104(_0x49ce77._0x1131ef,_0x49ce77._0x11b436):_0xf90435(MACOS_PLIST_PATH)&&_0x280b6a[_0x2b7104(_0x49ce77._0x1376c0,0x512)](execIgnoreFailure,_0x2b7104(_0x49ce77._0x12f0b5,0xe3)+'l',[_0x280b6a[_0x64cb12(_0x49ce77._0x37cb9e,_0x49ce77._0x57058f)],MACOS_PLIST_PATH]);break;case _0x2b7104(_0x49ce77._0x362655,_0x49ce77._0x386975):_0xf90435(LINUX_SERVICE_PATH)&&execIgnoreFailure(_0x2b7104(_0x49ce77._0x3d42ae,0x565)+'l',[_0x64cb12(0x83c,_0x49ce77._0x391e1c),'stop',SYSTEMD_UNIT_NAME]);break;case _0x280b6a[_0x64cb12(0xa06,0x7ff)]:break;default:break;}clearServiceState();function _0x64cb12(_0x4bae59,_0x3c8286){return _0x35d151(_0x3c8286,_0x4bae59-_0xb7a333._0x1e1bcc);}return _0x280b6a[_0x2b7104(0x2ac,_0x49ce77._0x3b616b)](getServiceStatus);}function writeServiceState(_0x251e86=process[_0x35d151(0x44d,0x541)]){const _0x48dadb={_0x40498e:0x9e,_0xda2767:0x5c,_0x2ac934:0x217,_0x16728a:0x14a,_0x400d04:0x118,_0x27ad62:0x147},_0xb44fc8={_0x24aee3:0x14b};ensureServiceDirs();function _0x4ebb51(_0x2e603b,_0x5e2bd2){return _0x341e52(_0x2e603b- -_0xb44fc8._0x24aee3,_0x5e2bd2);}const _0x4aac2f={'pid':_0x251e86,'startedAt':new Date()[_0x2b2f0f(-_0x48dadb._0x40498e,-_0x48dadb._0xda2767)+_0x2b2f0f(0x1ea,0x212)]()};function _0x2b2f0f(_0x107ea8,_0x44aaab){return _0x341e52(_0x107ea8- -0x561,_0x44aaab);}_0x162251(SERVICE_STATE_PATH,JSON[_0x2b2f0f(_0x48dadb._0x2ac934,_0x48dadb._0x16728a)+'y'](_0x4aac2f,null,0x2)+'\x0a',_0x2b2f0f(_0x48dadb._0x400d04,_0x48dadb._0x27ad62));}function registerRuntimeProcess(_0x1967df){const _0x2d1384={_0x2ca1b4:0x4fb,_0x19f1d7:0x73f,_0x38e2c8:0x8da,_0x428528:0x445,_0x467f6a:0x3ec,_0x565268:0x7b7,_0x5e6e2c:0x49e,_0x14fc4c:0x5d8,_0xa4d2ca:0x532},_0xf06082={_0x937d95:0x1fe};ensureServiceDirs();const _0x2841dc={'pid':_0x1967df[_0x1e3202(0x73f,_0x2d1384._0x2ca1b4)]??process[_0x1e3202(_0x2d1384._0x19f1d7,_0x2d1384._0x38e2c8)],'startedAt':_0x1967df['startedA'+'t']??new Date()[_0x1e3202(_0x2d1384._0x428528,_0x2d1384._0x467f6a)+_0x49ae30(0x75d,0x55d)](),'gatewayId':_0x1967df[_0x49ae30(_0x2d1384._0x565268,0xaa2)+'d'],'instanceId':_0x1967df['instance'+'Id'],'serviceMode':_0x1967df[_0x49ae30(0x3b3,0x116)+_0x49ae30(0x45e,_0x2d1384._0x5e6e2c)],'scriptPath':resolveScriptPath(_0x1967df[_0x49ae30(_0x2d1384._0x14fc4c,_0x2d1384._0xa4d2ca)+'th'])},_0x28ec4d=readRuntimeRegistry()['filter'](_0x4a4003=>_0x4a4003[_0x49ae30(0x7cf,0xa88)]!==_0x2841dc['pid'])[_0x1e3202(0x475,0x2e1)](_0x2841dc);function _0x1e3202(_0x182da7,_0x5041af){return _0x35d151(_0x5041af,_0x182da7-_0xf06082._0x937d95);}function _0x49ae30(_0xfa0484,_0xe6e82b){return _0x35d151(_0xe6e82b,_0xfa0484-0x28e);}writeRuntimeRegistry(_0x28ec4d);}function unregisterRuntimeProcess(_0x2b4138=process['pid']){const _0xbbd72e={_0x3713bc:0x29e};function _0xe432fc(_0x4dd476,_0x4328a6){return _0x35d151(_0x4328a6,_0x4dd476-0x25b);}const _0x43be1d={'pjQsM':function(_0x2b7b13,_0x570d5d){return _0x2b7b13(_0x570d5d);}},_0x116a2e=readRuntimeRegistry()['filter'](_0x13d4a0=>_0x13d4a0[_0xe432fc(0x79c,0x958)]!==_0x2b4138);function _0x40661a(_0x119469,_0x2d98bf){return _0x35d151(_0x119469,_0x2d98bf- -0x2eb);}_0x43be1d[_0x40661a(-_0xbbd72e._0x3713bc,-0x1f8)](writeRuntimeRegistry,_0x116a2e);}function isAutostartUnsupportedError(_0x1e164e){const _0x541c1d={_0x4e898e:0x610,_0x21ba21:0x704,_0x2a9d9a:0x565,_0x333cb3:0x23d,_0x3c7754:0x3b5,_0x295a61:0x3a8,_0x159f94:0x245,_0x2aaeca:0x405,_0x34ef0b:0x23e,_0x19c17f:0x311};function _0x46c71f(_0x5da752,_0xd1f7d1){return _0x341e52(_0xd1f7d1- -0x39e,_0x5da752);}function _0x5089a3(_0x57a1e8,_0x186353){return _0x341e52(_0x186353- -0x1b4,_0x57a1e8);}const _0x237547=formatError(_0x1e164e)[_0x5089a3(_0x541c1d._0x4e898e,_0x541c1d._0x21ba21)+_0x46c71f(0x6ff,_0x541c1d._0x2a9d9a)]();return _0x237547[_0x5089a3(0x512,_0x541c1d._0x333cb3)]('no\x20cront'+_0x5089a3(_0x541c1d._0x3c7754,_0x541c1d._0x295a61)+_0x5089a3(0x174,_0x541c1d._0x159f94)+_0x46c71f(0x64d,0x5c0))||_0x237547[_0x46c71f(-0x29a,0x53)]('unsuppor'+'ted\x20plat'+_0x5089a3(0x2d1,0x273)+_0x46c71f(0x5d5,_0x541c1d._0x2aaeca)+_0x5089a3(_0x541c1d._0x34ef0b,_0x541c1d._0x19c17f));}function listRuntimeProcesses(_0x19dc34={}){const _0x26c231={_0x3ae4ce:0x218,_0x4f7921:0x678,_0x21d051:0x109,_0x526f38:0x1a2},_0x14c949={_0x854673:0x21b},_0x32fef6={_0x14a411:0x1d5},_0x1da601={'dnqbf':function(_0x3a79bb,_0x405afe){return _0x3a79bb(_0x405afe);}};function _0xe76be3(_0x535064,_0x47899c){return _0x35d151(_0x47899c,_0x535064- -_0x32fef6._0x14a411);}const _0x3890ee=resolveScriptPath(_0x19dc34['scriptPa'+'th']),_0x4fa54d=readRuntimeRegistry();function _0x426ecb(_0x57d51a,_0x2af21f){return _0x35d151(_0x57d51a,_0x2af21f- -_0x14c949._0x854673);}const _0x5aadb0=[..._0x4fa54d],_0x26b1b5=new Set(_0x4fa54d[_0xe76be3(-0xa5,0x52)](_0x491553=>_0x491553['pid']));for(const _0x45f840 of _0x1da601[_0xe76be3(_0x26c231._0x3ae4ce,0x514)](listPosixRuntimePids,_0x3890ee)){if(_0x26b1b5[_0x426ecb(_0x26c231._0x4f7921,0x47a)](_0x45f840))continue;_0x5aadb0['push']({'pid':_0x45f840,'startedAt':new Date(0x0)['toISOStr'+_0xe76be3(0x2fa,0xb1)](),'gatewayId':'','instanceId':'','serviceMode':![],'scriptPath':_0x3890ee});}return _0x5aadb0[_0xe76be3(-0x82,_0x26c231._0x21d051)](_0x5910bc=>isPidRunning(_0x5910bc[_0x426ecb(0x319,0x326)]))[_0x426ecb(-_0x26c231._0x526f38,0xea)]((_0x5af158,_0x126ea0)=>_0x5af158[_0x426ecb(0x48d,0x326)]-_0x126ea0[_0x426ecb(0x12b,0x326)]);}function stopRuntimeProcesses(_0x5d2b47={}){const _0xabb50={_0x163913:0x6ef,_0x5400f3:0x22d,_0x36227e:0x751,_0x5ad322:0x71d,_0x47c062:0xef,_0x487ee6:0x7ab,_0x311a52:0x55e,_0x3523ca:0x61b,_0x4d449a:0x258,_0x2af9c9:0x2c7,_0x10da66:0x4ea,_0x124a77:0x574,_0x43dd43:0x6f0,_0x205251:0x61b,_0x4f37d0:0x77d,_0x3e2bf8:0x698,_0x4429a0:0xb7,_0x4766d6:0x186,_0x5beab9:0x178,_0x1fbcba:0x20a},_0x52702b={'QdenO':function(_0x46e9f7,_0x4432f0){return _0x46e9f7(_0x4432f0);},'XkgYz':function(_0x5e7ab0,_0x223d87){return _0x5e7ab0(_0x223d87);}};function _0xa7c0b2(_0x5110e6,_0x3ca310){return _0x341e52(_0x3ca310- -0x1a2,_0x5110e6);}const _0x4e2679={};_0x4e2679['scriptPa'+'th']=_0x5d2b47[_0xa7c0b2(0x143,0x424)+'th'];const _0x4338cb=_0x52702b[_0x165dee(_0xabb50._0x163913,0x458)](listRuntimeProcesses,_0x4e2679),_0x145dfe=_0x4338cb[_0xa7c0b2(0x2df,_0xabb50._0x5400f3)](_0x1ef6c9=>_0x1ef6c9[_0xa7c0b2(0x361,0x61b)]!==(_0x5d2b47['excludeP'+'id']??-0x1));if(process[_0xa7c0b2(0xa06,_0xabb50._0x36227e)]===_0x165dee(0x375,0x3a1))for(const _0xf220e5 of _0x145dfe){execIgnoreFailure(_0xa7c0b2(_0xabb50._0x5ad322,0x5e2),[_0x165dee(_0xabb50._0x47c062,0x259),_0x52702b[_0x165dee(_0xabb50._0x487ee6,0x5b8)](String,_0xf220e5[_0xa7c0b2(_0xabb50._0x311a52,_0xabb50._0x3523ca)]),'/T','/F']);}else{for(const _0x39e425 of _0x145dfe){execIgnoreFailure(_0x165dee(_0xabb50._0x4d449a,_0xabb50._0x2af9c9),[_0x165dee(0x6b5,_0xabb50._0x10da66),String(_0x39e425[_0x165dee(0x5a1,_0xabb50._0x124a77)])]);}for(const _0x11273f of _0x145dfe){!waitForPidExit(_0x11273f[_0xa7c0b2(_0xabb50._0x43dd43,_0xabb50._0x205251)],0xbb8)&&execIgnoreFailure(_0x165dee(0x23,_0xabb50._0x2af9c9),[_0xa7c0b2(0x47a,_0xabb50._0x4f37d0),String(_0x11273f[_0xa7c0b2(_0xabb50._0x3e2bf8,0x61b)])]);}}function _0x165dee(_0xd85ce9,_0x5056bc){return _0x341e52(_0x5056bc- -0x249,_0xd85ce9);}const _0x522d74=readRuntimeRegistry()[_0x165dee(-_0xabb50._0x4429a0,_0xabb50._0x4766d6)](_0x28e68b=>!_0x145dfe['some'](_0x4adfd1=>_0x4adfd1[_0xa7c0b2(0x8a8,0x61b)]===_0x28e68b['pid']));writeRuntimeRegistry(_0x522d74);const _0x5ca05f=readServiceState();return _0x5ca05f&&_0x145dfe[_0xa7c0b2(_0xabb50._0x5beab9,0x33f)](_0x1266a0=>_0x1266a0[_0xa7c0b2(0x91f,0x61b)]===_0x5ca05f['pid'])&&clearServiceState(),_0x145dfe[_0xa7c0b2(0x377,_0xabb50._0x1fbcba)](_0x3207c0=>_0x3207c0[_0x165dee(0x5d9,0x574)]);}function clearServiceState(_0x3a0138){const _0x3780a7={_0x28f4a8:0x6a7,_0x101dfb:0x4db},_0x47867b={_0x48903a:0x136},_0xa0d9b0={'PIBEZ':function(_0x72704e,_0x44ba16){return _0x72704e(_0x44ba16);},'LLCQd':function(_0x9312b3,_0x339af7){return _0x9312b3!=_0x339af7;}};function _0x1fa333(_0x1ba135,_0x8cf82c){return _0x35d151(_0x8cf82c,_0x1ba135-_0x47867b._0x48903a);}if(!_0xa0d9b0['PIBEZ'](_0xf90435,SERVICE_STATE_PATH))return;if(_0xa0d9b0[_0x1fa333(_0x3780a7._0x28f4a8,_0x3780a7._0x101dfb)](_0x3a0138,null)){const _0x15869d=readServiceState();if(_0x15869d&&_0x15869d['pid']!==_0x3a0138)return;}rmIfExists(SERVICE_STATE_PATH);}function getServicePaths(){return{'logPath':SERVICE_LOG_PATH,'errorLogPath':SERVICE_ERROR_LOG_PATH,'servicePath':getServicePath(detectServiceMethod())};}function buildMacosPlist(_0x4c4176,_0x287f9e,_0x2f9f73){const _0x525690={_0x5a791c:0x3e8,_0x254fca:0x444,_0x2f8840:0x966,_0x2e33b7:0x744,_0x45d9c0:0x586,_0x149180:0x6fd,_0x46daa0:0x909,_0x3fb78c:0x52b,_0x3bcad6:0x705,_0x299029:0x6f5,_0x378e25:0x5d2,_0x3c7989:0x83e,_0x33f862:0xa6e,_0x37b9d7:0xa56,_0xa71f8a:0x4a7,_0x4075d7:0x57f,_0x5593e0:0x2be,_0x53e732:0x743,_0x2a341b:0x9fc,_0x527b5d:0x5d7,_0x25bb11:0x750,_0x5fb911:0xa11,_0x13166e:0x866,_0xd0e332:0x6c2,_0xfe302:0x564,_0x1112e5:0x8b8,_0xaa34e8:0x4da,_0x2f7fd1:0x759,_0x2fc978:0x627,_0x5e158f:0x966,_0x4f08b3:0x74b,_0x210763:0x464,_0x4f9777:0x766,_0x5438ac:0x762,_0x328bbe:0x977,_0x119ef0:0x6d2,_0x547e44:0x4dc,_0x22d604:0xac8,_0x49ae85:0x7bf,_0x5c5afd:0x56e,_0x204785:0x8a8},_0x3b38d6={_0xc7d657:0x2b8},_0x3b23c5={_0x5cbb54:0x416};function _0x372acc(_0x4f1b5d,_0x2254d6){return _0x35d151(_0x2254d6,_0x4f1b5d-_0x3b23c5._0x5cbb54);}const _0x348770={'YJZXn':function(_0x5d6202,_0x4d8da4){return _0x5d6202(_0x4d8da4);}};function _0x713d42(_0x229bdc,_0x3f3ce5){return _0x35d151(_0x229bdc,_0x3f3ce5-_0x3b38d6._0xc7d657);}const _0x2f9be0=_0x4c4176[_0x713d42(0x6e8,_0x525690._0x5a791c)](_0x4ecadd=>_0x372acc(0x8f4,0x7a4)+_0x372acc(0x5d2,0x7d6)+escapeXml(_0x4ecadd)+(_0x372acc(0x57f,0x4c6)+'>'))['join']('\x0a');return'<?xml\x20ve'+_0x713d42(_0x525690._0x254fca,0x4bc)+'.0\x22\x20enco'+'ding=\x22UT'+_0x713d42(0x745,_0x525690._0x2f8840)+_0x372acc(_0x525690._0x2e33b7,_0x525690._0x45d9c0)+_0x713d42(0x944,0x894)+_0x713d42(_0x525690._0x149180,_0x525690._0x46daa0)+_0x713d42(0x786,0x567)+'/DTD\x20PLI'+_0x713d42(0x484,_0x525690._0x3fb78c)+_0x372acc(0x93e,0x9c3)+'p://www.'+_0x713d42(_0x525690._0x3bcad6,0x5ae)+_0x713d42(0x451,0x4e4)+_0x372acc(0x898,0x815)+_0x372acc(_0x525690._0x299029,_0x525690._0x378e25)+_0x713d42(0x886,0x5f7)+'list\x20ver'+_0x372acc(_0x525690._0x3c7989,0x933)+_0x372acc(_0x525690._0x33f862,0xa0a)+_0x372acc(0x902,_0x525690._0x37b9d7)+_0x372acc(0x54f,_0x525690._0xa71f8a)+'/key>\x0a\x20\x20'+'<string>'+SERVICE_LABEL+(_0x372acc(_0x525690._0x4075d7,_0x525690._0x5593e0)+_0x372acc(_0x525690._0x53e732,_0x525690._0x2a341b)+'>Program'+_0x713d42(_0x525690._0x527b5d,_0x525690._0x25bb11)+_0x713d42(0x31d,0x3a7)+_0x372acc(0x94c,0x7cc)+'>\x0a')+_0x2f9be0+(_0x713d42(0x375,0x3fe)+_0x372acc(_0x525690._0x5fb911,0xac6)+_0x372acc(0x5b4,_0x525690._0x13166e)+_0x713d42(0x90d,_0x525690._0xd0e332)+_0x372acc(_0x525690._0xfe302,0x2fe)+_0x372acc(_0x525690._0x1112e5,0x767)+_0x713d42(0x391,0x62a)+'Alive</k'+'ey>\x0a\x20\x20<t'+_0x713d42(0x462,_0x525690._0xaa34e8)+_0x372acc(0xa7b,0xaef)+_0x372acc(0x7a0,0x89e)+_0x713d42(0x506,_0x525690._0x2f7fd1)+_0x372acc(_0x525690._0x2fc978,0x8d6)+_0x713d42(_0x525690._0x5e158f,_0x525690._0x4f08b3))+_0x348770['YJZXn'](escapeXml,_0x287f9e)+('</string'+_0x713d42(_0x525690._0x210763,0x5e5)+_0x372acc(_0x525690._0x4f9777,_0x525690._0x5438ac)+_0x713d42(_0x525690._0x328bbe,_0x525690._0x119ef0)+_0x713d42(0x49f,_0x525690._0x547e44)+_0x372acc(_0x525690._0x22d604,_0x525690._0x49ae85)+_0x713d42(0x225,0x420))+escapeXml(_0x2f9f73)+(_0x713d42(_0x525690._0x5c5afd,0x421)+'>\x0a</dict'+_0x713d42(0x998,_0x525690._0x204785)+'t>\x0a');}function buildLinuxSystemdUnit(_0xe6316d,_0x25b2ac,_0x2a2c61){const _0x5431f3={_0x1027de:0x229,_0x3e7eb6:0x9d8,_0x484053:0xaeb,_0x117ae2:0x2f9,_0x3e428c:0xbf,_0x45a5e5:0x4d0,_0x111cf8:0x2d0,_0x410af6:0x36d,_0x18b5b4:0x1d4,_0x4d776c:0x1fe,_0x4cd6dd:0x465,_0x1a7235:0x2b7,_0x4ceb26:0x3d5,_0x100f24:0x394,_0x35dc4d:0x1b,_0x4de214:0x9b9,_0x14c713:0x656,_0x21cf4e:0x504,_0x23a61a:0x57c,_0x25417e:0x4f5,_0x94cc18:0x92e,_0x2a4955:0x7a5,_0x474262:0x536,_0x3dd2d5:0x35d,_0x56f3d0:0x9};function _0x43532d(_0x202043,_0x5a38d0){return _0x35d151(_0x5a38d0,_0x202043-0x2f8);}const _0x562fe9=_0xe6316d[_0x821a81(-0x1e2,-_0x5431f3._0x1027de)](escapeSystemdArg)[_0x43532d(_0x5431f3._0x3e7eb6,_0x5431f3._0x484053)]('\x20');function _0x821a81(_0x590dfe,_0x2ed27f){return _0x35d151(_0x590dfe,_0x2ed27f- -0x359);}return _0x43532d(0x7da,0x9e7)+_0x821a81(-_0x5431f3._0x117ae2,-_0x5431f3._0x3e428c)+_0x821a81(-0x1b7,-0x196)+'et\x20Bridg'+_0x43532d(_0x5431f3._0x45a5e5,_0x5431f3._0x111cf8)+_0x821a81(0x66b,_0x5431f3._0x410af6)+_0x821a81(0x382,_0x5431f3._0x18b5b4)+'ne.targe'+'t\x0aWants='+_0x43532d(0x6f1,0x48a)+_0x821a81(-0x353,-_0x5431f3._0x4d776c)+_0x43532d(0x638,0x7e4)+'Service]'+'\x0aType=si'+'mple\x0aExe'+_0x821a81(0x2a,0x5d)+_0x562fe9+(_0x43532d(0x716,_0x5431f3._0x4cd6dd)+_0x821a81(0x107,0x172)+'RestartS'+_0x821a81(0x29c,_0x5431f3._0x1a7235)+_0x821a81(0x113,-0xab)+_0x821a81(_0x5431f3._0x4ceb26,_0x5431f3._0x100f24))+escapeSystemdArg(SERVICE_DIR)+(_0x821a81(_0x5431f3._0x35dc4d,-0x49)+_0x43532d(_0x5431f3._0x4de214,0x6b5)+_0x43532d(0x4b8,_0x5431f3._0x14c713))+_0x25b2ac+(_0x43532d(0x608,_0x5431f3._0x21cf4e)+_0x43532d(_0x5431f3._0x23a61a,_0x5431f3._0x25417e)+_0x43532d(_0x5431f3._0x94cc18,0xac2))+_0x2a2c61+(_0x43532d(_0x5431f3._0x2a4955,0x8cd)+'ll]\x0aWant'+_0x43532d(_0x5431f3._0x474262,_0x5431f3._0x3dd2d5)+'ault.tar'+_0x821a81(-0xc7,_0x5431f3._0x56f3d0));}function buildLinuxCronEntry(_0x5598ba,_0x2f6b95,_0x42ed37){const _0x29785c={_0x34beef:0x534,_0x2a8b9e:0x8df,_0x1e42ed:0x339,_0x81236a:0x2fc},_0x1a4f6f={_0x5d112b:0x48},_0x29b71b={'SpLJF':function(_0x1d7223,_0x4ac5bf){return _0x1d7223(_0x4ac5bf);}};function _0x56a715(_0x1979a6,_0x36e455){return _0x35d151(_0x36e455,_0x1979a6- -_0x1a4f6f._0x5d112b);}const _0x79d87=_0x5598ba[_0x55874d(_0x29785c._0x34beef,0x3fd)](escapeShellWord)['join']('\x20');function _0x55874d(_0x491d5b,_0x3094c9){return _0x35d151(_0x3094c9,_0x491d5b-0x404);}return _0x55874d(0x60a,_0x29785c._0x2a8b9e)+_0x79d87+_0x55874d(0x5cf,0x6c3)+_0x29b71b[_0x55874d(0x54c,0x76d)](escapeShellWord,_0x2f6b95)+_0x56a715(_0x29785c._0x1e42ed,_0x29785c._0x81236a)+escapeShellWord(_0x42ed37)+'\x20'+LINUX_CRON_MARKER;}function getServicePath(_0x1f252f){const _0xb0232b={_0x120d84:0x5e1,_0x37f9ed:0x7ae,_0x2134c1:0x5ae,_0x341dd5:0x4bc,_0x28711c:0x581,_0x13bbc8:0x54a,_0x2afda2:0xa3f,_0x43e188:0x99d,_0x2daf6b:0x722,_0x31da47:0x8f2,_0xddab56:0x43f,_0x5467bb:0x5cd},_0x3b27ba={_0x2303f7:0x2f1};function _0x4173c5(_0x29ddec,_0x22820f){return _0x341e52(_0x22820f- -_0x3b27ba._0x2303f7,_0x29ddec);}function _0xaccccf(_0x26bc4c,_0x52e207){return _0x341e52(_0x52e207-0x112,_0x26bc4c);}switch(process['platform']){case _0x4173c5(0x3f6,_0xb0232b._0x120d84):return MACOS_PLIST_PATH;case _0xaccccf(_0xb0232b._0x37f9ed,_0xb0232b._0x2134c1):return _0x1f252f===_0xaccccf(0x35e,_0xb0232b._0x341dd5)+_0xaccccf(0x77a,_0xb0232b._0x28711c)?LINUX_CRON_RECORD_PATH:LINUX_SERVICE_PATH;case _0xaccccf(_0xb0232b._0x13bbc8,0x6fc):return _0xaccccf(0x87c,0x9a5)+'tware\x5cMi'+_0x4173c5(0x28f,0x198)+_0xaccccf(0xb1c,_0xb0232b._0x2afda2)+_0xaccccf(0x9a5,_0xb0232b._0x43e188)+_0x4173c5(_0xb0232b._0x2daf6b,0x4a1)+'un\x5cClawk'+_0xaccccf(0x9b0,_0xb0232b._0x31da47)+_0xaccccf(_0xb0232b._0xddab56,_0xb0232b._0x5467bb);default:return'';}}function detectServiceMethod(){const _0x3d9228={_0x40696b:0x7ab,_0x27aa84:0x46c,_0x1b3e91:0x599,_0x196041:0x75e,_0x1aa54e:0x85b,_0x564b79:0x73a,_0x14639c:0x73b,_0x42c2c3:0x847,_0x213bb9:0x8eb,_0x41d0d9:0x7c8,_0x3804ad:0x7f2,_0x116b52:0xa13,_0x149dd6:0x22c,_0x353480:0x117,_0x50cee3:0x5f2,_0x55d9d1:0x658,_0x297d49:0x3a2,_0x6c71f6:0x608,_0x19eed1:0x467,_0x9e17c1:0x3a1,_0xeb9b1e:0x237,_0xe26650:0x8b1,_0x28bd5c:0x6c0,_0x2cff01:0x42b},_0x314f45={_0x4477e4:0xfe},_0x4eb6ae={'eoMZB':'darwin','ZDrzH':_0x16014d(0x3a4,0x39e)+_0x16014d(0x4fe,_0x3d9228._0x40696b),'DzDhy':function(_0x228a18,_0x464286){return _0x228a18(_0x464286);},'ZUijo':'systemct'+'l','xJSxU':_0x16014d(_0x3d9228._0x27aa84,_0x3d9228._0x1b3e91),'tkWXG':_0x798004(_0x3d9228._0x196041,0x8f3)+_0x798004(_0x3d9228._0x1aa54e,_0x3d9228._0x564b79)+_0x16014d(_0x3d9228._0x14639c,_0x3d9228._0x42c2c3)};function _0x16014d(_0xcce22e,_0x3fe05d){return _0x35d151(_0x3fe05d,_0xcce22e-_0x314f45._0x4477e4);}function _0x798004(_0xa0f338,_0x4e4128){return _0x35d151(_0x4e4128,_0xa0f338-0x274);}switch(process[_0x798004(_0x3d9228._0x213bb9,0x819)]){case _0x4eb6ae[_0x16014d(0x3e4,0x420)]:return _0x4eb6ae[_0x16014d(0x79f,0x66c)];case _0x16014d(0x31e,0x1c7):if(_0x4eb6ae[_0x16014d(_0x3d9228._0x41d0d9,_0x3d9228._0x3804ad)](_0xf90435,LINUX_SERVICE_PATH))return'systemd-'+_0x798004(0x8b4,_0x3d9228._0x116b52);if(hasLinuxCronRegistration())return _0x16014d(_0x3d9228._0x149dd6,-0x60)+'ontab';if(commandExists(_0x4eb6ae[_0x16014d(0x1ee,_0x3d9228._0x353480)]))return _0x16014d(0x436,_0x3d9228._0x50cee3)+'user';if(commandExists(_0x798004(0x539,_0x3d9228._0x55d9d1)))return _0x798004(_0x3d9228._0x297d49,_0x3d9228._0x6c71f6)+_0x798004(_0x3d9228._0x19eed1,0x430);return'unsuppor'+_0x798004(_0x3d9228._0x9e17c1,_0x3d9228._0xeb9b1e);case _0x4eb6ae[_0x16014d(0x786,_0x3d9228._0xe26650)]:return _0x4eb6ae[_0x798004(0x3c1,_0x3d9228._0x28bd5c)];default:return _0x16014d(0x357,_0x3d9228._0x2cff01)+_0x798004(0x3a1,0x308);}}function readServiceState(){const _0x53eb2f={_0x27ad17:0x56b,_0x2eee69:0x2ca,_0x5eccbf:0x364,_0x508e57:0x5ef,_0x377fdc:0x6bb,_0x55e0d4:0x4e9};function _0xd46b60(_0x4b9d31,_0x1a2ec2){return _0x341e52(_0x4b9d31- -0x252,_0x1a2ec2);}function _0x528d5d(_0x2c040c,_0x31e860){return _0x341e52(_0x2c040c-0x26,_0x31e860);}if(!_0xf90435(SERVICE_STATE_PATH))return null;try{const _0x5e4753=JSON[_0xd46b60(0x64b,0x49c)](_0x3f080b(SERVICE_STATE_PATH,'utf8'));if(!_0x5e4753[_0xd46b60(_0x53eb2f._0x27ad17,_0x53eb2f._0x2eee69)]||typeof _0x5e4753['pid']!==_0xd46b60(_0x53eb2f._0x5eccbf,_0x53eb2f._0x508e57))return null;return{'pid':_0x5e4753['pid'],'startedAt':_0x5e4753[_0x528d5d(_0x53eb2f._0x377fdc,0x82e)+'t']??new Date(0x0)[_0x528d5d(_0x53eb2f._0x55e0d4,0x365)+'ing']()};}catch{return null;}}function readRuntimeRegistry(){const _0x20e558={_0x10c285:0x632,_0x4e9bbf:0x6e9,_0x422230:0x7ec,_0x11ccce:0x23e,_0xa5002a:0x335,_0x12378f:0x4ad},_0x3230f9={_0x1a35d1:0x37d};function _0x3bdbb4(_0xf6f44,_0x5d9662){return _0x35d151(_0xf6f44,_0x5d9662-0x2ec);}const _0x4ec581={};_0x4ec581[_0x2a0f41(0x909,_0x20e558._0x10c285)]=_0x3bdbb4(0x6fd,_0x20e558._0x4e9bbf);const _0x46bb00=_0x4ec581;if(!_0xf90435(RUNTIME_REGISTRY_PATH))return[];function _0x2a0f41(_0x1feef0,_0x3840ca){return _0x35d151(_0x1feef0,_0x3840ca-_0x3230f9._0x1a35d1);}try{const _0x434078=JSON[_0x3bdbb4(_0x20e558._0x422230,0x90d)](_0x3f080b(RUNTIME_REGISTRY_PATH,_0x46bb00['svAQZ']));if(!Array[_0x3bdbb4(_0x20e558._0x11ccce,0x4c6)](_0x434078))return[];const _0x378c46=_0x434078[_0x2a0f41(_0x20e558._0xa5002a,_0x20e558._0x12378f)](_0x1f2908=>normalizeRuntimeProcessRecord(_0x1f2908))['filter'](_0x4b5cfb=>_0x4b5cfb!=null&&isPidRunning(_0x4b5cfb[_0x2a0f41(0x796,0x8be)]));return writeRuntimeRegistry(_0x378c46),_0x378c46;}catch{return[];}}function writeRuntimeRegistry(_0x3baa8b){const _0x4910f1={_0x1112b3:0x808,_0x474f3a:0x370,_0xbcc392:0x346,_0x44f0b0:0x444,_0xa989ec:0xb9,_0x5c9b6a:0x253},_0x545fb0={_0x197cec:0x334},_0x25e1fa={'apErR':function(_0x548f87,_0x2883ca){return _0x548f87===_0x2883ca;},'yKSfk':function(_0x8fb34e){return _0x8fb34e();},'UQoxE':'utf8'};if(_0x25e1fa[_0x1517e7(0x5ca,0x580)](_0x3baa8b[_0x36e10d(_0x4910f1._0x1112b3,0x71d)],0x0)){rmIfExists(RUNTIME_REGISTRY_PATH);return;}function _0x1517e7(_0x519639,_0x4002fc){return _0x341e52(_0x4002fc- -_0x545fb0._0x197cec,_0x519639);}_0x25e1fa[_0x36e10d(0x382,_0x4910f1._0x474f3a)](ensureServiceDirs);function _0x36e10d(_0x472c08,_0xb0aa2a){return _0x341e52(_0x472c08- -0x61,_0xb0aa2a);}_0x162251(RUNTIME_REGISTRY_PATH,JSON[_0x1517e7(_0x4910f1._0xbcc392,_0x4910f1._0x44f0b0)+'y'](_0x3baa8b,null,0x2)+'\x0a',_0x25e1fa[_0x1517e7(-_0x4910f1._0xa989ec,_0x4910f1._0x5c9b6a)]);}function normalizeRuntimeProcessRecord(_0x59f46d){const _0x3073ee={_0x594820:0x3c5,_0x408dc4:0x52e,_0x28564c:0x421,_0x123ed1:0x449,_0x5ea4dc:0x2f6,_0x47d09e:0x33b,_0x1338b8:0x57a,_0x3161ef:0x245,_0x29998d:0x2f5,_0x1ae88e:0x144,_0x8b6b70:0x1a5,_0x245aa0:0x4ce,_0x46d57f:0x2b6,_0x5e8d70:0x182,_0x23c736:0x45c,_0x164daf:0x300,_0x30d032:0x2e0,_0x1aadc9:0x2bd,_0x1ce4f8:0x31d,_0x41b1ad:0x363,_0x33ca31:0x29,_0x12ca39:0x65},_0x4fe294={_0x170a99:0x73},_0xd9d561={_0x39769f:0x206},_0x4984af={};_0x4984af['KNLIB']=function(_0x3c941b,_0x9a074e){return _0x3c941b!==_0x9a074e;},_0x4984af[_0x57b326(_0x3073ee._0x594820,_0x3073ee._0x408dc4)]='number',_0x4984af[_0x57b326(_0x3073ee._0x28564c,_0x3073ee._0x123ed1)]=_0x2ce72e(0x1f5,-0xa8),_0x4984af[_0x57b326(0x541,0x473)]=function(_0x40dff0,_0x3216db){return _0x40dff0===_0x3216db;},_0x4984af[_0x2ce72e(-_0x3073ee._0x5ea4dc,-0x6b)]=function(_0x23f6f2,_0x3733c7){return _0x23f6f2===_0x3733c7;};const _0x41b747=_0x4984af;if(!_0x59f46d||typeof _0x59f46d!==_0x57b326(-0xca,0x1ce))return null;const _0x99a55b=_0x59f46d;function _0x2ce72e(_0x5bc505,_0x36e210){return _0x35d151(_0x5bc505,_0x36e210- -_0xd9d561._0x39769f);}if(!_0x99a55b[_0x2ce72e(0x3a7,_0x3073ee._0x47d09e)]||_0x41b747[_0x57b326(_0x3073ee._0x1338b8,0x461)](typeof _0x99a55b[_0x57b326(_0x3073ee._0x3161ef,0x4ce)],_0x41b747[_0x57b326(_0x3073ee._0x29998d,0x52e)]))return null;function _0x57b326(_0x489915,_0x1b9813){return _0x35d151(_0x489915,_0x1b9813- -_0x4fe294._0x170a99);}const _0x3fa076=typeof _0x99a55b[_0x2ce72e(-0xab,_0x3073ee._0x1ae88e)+'th']===_0x41b747[_0x57b326(_0x3073ee._0x8b6b70,_0x3073ee._0x123ed1)]?resolveScriptPath(_0x99a55b['scriptPa'+'th']):'';if(!_0x3fa076)return null;return{'pid':_0x99a55b[_0x57b326(0x6a9,_0x3073ee._0x245aa0)],'startedAt':typeof _0x99a55b['startedA'+'t']===_0x41b747[_0x2ce72e(0x424,_0x3073ee._0x46d57f)]?_0x99a55b['startedA'+'t']:new Date(0x0)[_0x57b326(-0x12c,0x1d4)+_0x57b326(_0x3073ee._0x5e8d70,_0x3073ee._0x23c736)](),'gatewayId':_0x41b747[_0x2ce72e(_0x3073ee._0x164daf,_0x3073ee._0x30d032)](typeof _0x99a55b['gatewayI'+'d'],_0x57b326(0x11c,0xeb))?_0x99a55b[_0x2ce72e(_0x3073ee._0x1aadc9,0x323)+'d']:'','instanceId':typeof _0x99a55b[_0x57b326(_0x3073ee._0x1ce4f8,0x4f6)+'Id']===_0x57b326(0x1c,0xeb)?_0x99a55b[_0x2ce72e(0x143,_0x3073ee._0x41b1ad)+'Id']:'','serviceMode':_0x41b747[_0x57b326(-_0x3073ee._0x33ca31,0x128)](_0x99a55b['serviceM'+_0x57b326(-_0x3073ee._0x12ca39,0x15d)],!![]),'scriptPath':_0x3fa076};}function stopRunningProcess(){const _0x1efc17={_0x28b439:0xe,_0x5149e7:0xd0,_0x189284:0xae,_0x369aa8:0x14c,_0x5cb6f2:0x29f,_0x563c76:0x304},_0x5584a5={_0x516ced:0x5e7};function _0x52578b(_0x34c119,_0x114af6){return _0x341e52(_0x114af6- -_0x5584a5._0x516ced,_0x34c119);}const _0x17eccf={'DroXc':_0x52578b(-0x24d,0x3),'VtKZi':function(_0x523973,_0x2cc6c9){return _0x523973(_0x2cc6c9);}};function _0x29aeab(_0x3001c8,_0x4aa298){return _0x341e52(_0x3001c8- -0x51e,_0x4aa298);}const _0x2ce087=readServiceState();if(!_0x2ce087)return;execIgnoreFailure(process[_0x29aeab(0x3d5,0x2fc)]===_0x29aeab(0xcc,0x43)?_0x52578b(0x17d,0x19d):_0x29aeab(-_0x1efc17._0x28b439,0x173),process['platform']===_0x17eccf[_0x29aeab(-0x160,_0x1efc17._0x5149e7)]?['/PID',String(_0x2ce087['pid']),'/T','/F']:[_0x52578b(_0x1efc17._0x189284,_0x1efc17._0x369aa8),String(_0x2ce087[_0x29aeab(0x29f,0x50a)])]),_0x17eccf['VtKZi'](clearServiceState,_0x2ce087[_0x29aeab(_0x1efc17._0x5cb6f2,_0x1efc17._0x563c76)]);}function listPosixRuntimePids(_0x5e4b25){const _0x242af3={_0x8b38cd:0x100,_0x164934:0x358,_0x13aa11:0x3ba,_0x27e8e0:0x60e,_0x92646d:0x2e1,_0x58f1b6:0x419,_0x4a2c36:0xb9,_0x19845f:0x346,_0x3ba1ab:0x37e},_0x120793={_0x27551f:0x801,_0x38dfdb:0x591,_0x524dab:0x55b,_0x415486:0x7d6,_0x573ba2:0x7e2},_0x325222={};_0x325222[_0x47ac4(_0x242af3._0x8b38cd,0x11e)]=function(_0x264480,_0x27bda3){return _0x264480===_0x27bda3;};const _0x30f85f=_0x325222;function _0x47ac4(_0x36c6b3,_0x46785b){return _0x35d151(_0x36c6b3,_0x46785b- -0x2c7);}if(!_0x5e4b25||_0x30f85f[_0x124732(_0x242af3._0x164934,_0x242af3._0x13aa11)](process[_0x124732(0x5ea,_0x242af3._0x27e8e0)],_0x124732(_0x242af3._0x92646d,_0x242af3._0x58f1b6)))return[];function _0x124732(_0x4eb207,_0x59043a){return _0x35d151(_0x59043a,_0x4eb207- -0x8d);}try{const _0x55114f={};_0x55114f[_0x47ac4(-0x38b,-0x1cc)]=_0x47ac4(-_0x242af3._0x4a2c36,0x136);const _0x3f8c33=execFileSync('ps',[_0x124732(0x4de,0x572),'-o',_0x47ac4(0xe6,-0x1e8)+'s='],_0x55114f);return _0x3f8c33[_0x47ac4(0x3af,0x2dc)]('\x0a')[_0x124732(0xa3,_0x242af3._0x92646d)](_0x5db85d=>_0x5db85d[_0x47ac4(0x3b9,0xc0)]())['filter'](Boolean)[_0x124732(_0x242af3._0x19845f,_0x242af3._0x3ba1ab)](_0x5a2002=>{function _0x97594f(_0x2b3b67,_0x1ddcf3){return _0x124732(_0x2b3b67- -0x2dd,_0x1ddcf3);}function _0x442338(_0x1e2bb3,_0x11a301){return _0x124732(_0x1e2bb3-0x4a9,_0x11a301);}const _0x1a52f5=_0x5a2002['match'](/^(\d+)\s+(.*)$/);if(!_0x1a52f5)return[];const _0x4e74c2=Number(_0x1a52f5[0x1]),_0x4f3338=_0x1a52f5[0x2];if(!Number[_0x97594f(-0x115,-0x340)+'r'](_0x4e74c2)||_0x4e74c2<=0x0||_0x30f85f[_0x442338(_0x120793._0x27551f,0x8d6)](_0x4e74c2,process[_0x97594f(0x1d7,-0x73)]))return[];if(!_0x4f3338[_0x442338(_0x120793._0x38dfdb,_0x120793._0x524dab)](_0x5e4b25))return[];if(!/\brun\b/[_0x442338(_0x120793._0x415486,_0x120793._0x573ba2)](_0x4f3338))return[];return[_0x4e74c2];});}catch{return[];}}function isPidRunning(_0x1300c2){const _0x9dfbc4={_0x4b3bd7:0x1bd};function _0x2640d5(_0x1b4485,_0x24199d){return _0x35d151(_0x1b4485,_0x24199d- -0x180);}try{return process[_0x2640d5(-_0x9dfbc4._0x4b3bd7,0x114)](_0x1300c2,0x0),!![];}catch{return![];}}function waitForPidExit(_0x90e314,_0x57ca9d){const _0xc416bb={_0x3097d2:0x2dc,_0x19cc81:0x177,_0x39c93b:0x92,_0x57bf31:0x9b,_0x11e66c:0x395},_0x2f6b44={_0x41a391:0x4bf},_0x1ef73a=Date[_0x2d4d81(0x177,_0xc416bb._0x3097d2)]()+_0x57ca9d,_0x252ea9=new Int32Array(new SharedArrayBuffer(0x4));function _0x2d4d81(_0x2cc2b2,_0x3bf24d){return _0x341e52(_0x2cc2b2- -0x271,_0x3bf24d);}function _0x3fa3ae(_0x175000,_0x41bc59){return _0x341e52(_0x175000- -_0x2f6b44._0x41a391,_0x41bc59);}while(isPidRunning(_0x90e314)){if(Date[_0x2d4d81(_0xc416bb._0x19cc81,_0xc416bb._0x39c93b)]()>=_0x1ef73a)return![];Atomics[_0x3fa3ae(-_0xc416bb._0x57bf31,-_0xc416bb._0x11e66c)](_0x252ea9,0x0,0x0,0x32);}return!![];}function startDetachedWindowsService(_0x44dc76){const _0x436589={_0x357dea:0x56f,_0x4743c4:0x6fa,_0x4bc5c1:0xa44,_0x56751c:0x335,_0x1cb8a9:0x7cd},_0x4294b2={'BNSGa':function(_0x13ce87,_0x44e898){return _0x13ce87(_0x44e898);}};function _0x336292(_0x4bbca2,_0x2d28bc){return _0x341e52(_0x4bbca2- -0x141,_0x2d28bc);}function _0x50d2b4(_0x4d2553,_0x58e1c0){return _0x341e52(_0x58e1c0-0x5c,_0x4d2553);}const _0x58b1eb=openSync(SERVICE_LOG_PATH,'a'),_0x45e0ed=openSync(SERVICE_ERROR_LOG_PATH,'a');try{const [_0x393694,..._0x43aa26]=_0x44dc76,_0xe656f6={};_0xe656f6[_0x336292(_0x436589._0x357dea,0x3e2)]=!![],_0xe656f6[_0x50d2b4(_0x436589._0x4743c4,0x9ab)]=[_0x50d2b4(_0x436589._0x4bc5c1,0x8ca),_0x58b1eb,_0x45e0ed],_0xe656f6[_0x336292(_0x436589._0x56751c,0x449)+'ide']=!![];const _0x117934=spawn(_0x393694,_0x43aa26,_0xe656f6);_0x117934[_0x336292(_0x436589._0x1cb8a9,0x5d4)]();}finally{closeSync(_0x58b1eb),_0x4294b2[_0x50d2b4(0xaaf,0x931)](closeSync,_0x45e0ed);}}function startDetachedPosixService(_0x1447ee){const _0x99c84={_0x168985:0x157},_0x47ba66=openSync(SERVICE_LOG_PATH,'a');function _0x5448cb(_0x2f0453,_0x412cd2){return _0x341e52(_0x2f0453-0xf4,_0x412cd2);}function _0x2327d3(_0x4d673b,_0x48294e){return _0x341e52(_0x48294e-_0x99c84._0x168985,_0x4d673b);}const _0x3b62b1=openSync(SERVICE_ERROR_LOG_PATH,'a');try{const [_0x2f4383,..._0x2cd6b7]=_0x1447ee,_0x3c7177={};_0x3c7177[_0x5448cb(0x7a4,0xa6d)]=!![],_0x3c7177[_0x5448cb(0xa43,0xb82)]=['ignore',_0x47ba66,_0x3b62b1];const _0x20eabf=spawn(_0x2f4383,_0x2cd6b7,_0x3c7177);_0x20eabf['unref']();}finally{closeSync(_0x47ba66),closeSync(_0x3b62b1);}}async function waitForRuntimeState(_0x311416=0x5dc,_0x1aa438=0x32){const _0x2d005a={_0x1cbc3c:0x4e8,_0x3adbba:0x469,_0x3707c0:0x563,_0x1481e8:0x349,_0x21772f:0x714},_0x1262a0={_0x586486:0x274};function _0x476628(_0x56edb3,_0x32cc8b){return _0x35d151(_0x56edb3,_0x32cc8b-_0x1262a0._0x586486);}const _0x3b5e18={'UBuCf':function(_0x4c30ef,_0x2c0906){return _0x4c30ef+_0x2c0906;},'wwoqI':function(_0x22fbb9){return _0x22fbb9();},'ZycUr':function(_0x318282,_0x54162c){return _0x318282(_0x54162c);}};function _0x51b512(_0x7cc5a,_0x4c5c0e){return _0x35d151(_0x4c5c0e,_0x7cc5a-0xf8);}const _0x54b4a8=_0x3b5e18['UBuCf'](Date[_0x476628(0x148,0x3e0)](),_0x311416);let _0x4b31b6=_0x3b5e18[_0x51b512(_0x2d005a._0x1cbc3c,_0x2d005a._0x3adbba)](getServiceStatus);while(Date[_0x476628(_0x2d005a._0x3707c0,0x3e0)]()<_0x54b4a8){if(_0x4b31b6[_0x51b512(_0x2d005a._0x1481e8,0x3da)])return _0x4b31b6;await _0x3b5e18[_0x51b512(_0x2d005a._0x21772f,0x954)](_0x55d728,_0x1aa438),_0x4b31b6=getServiceStatus();}return _0x4b31b6;}function installLinuxService(_0x826a69){try{installLinuxSystemdService(_0x826a69),removeLinuxCronRegistration();return;}catch(_0x3049fd){installLinuxCronService(_0x826a69,_0x3049fd);}}function restartLinuxService(_0xe1fc71){const _0x1e7e38={_0x34670e:0x842},_0x45a526={'QHpIV':function(_0x3431ee,_0xd8dc18,_0x5ecf81){return _0x3431ee(_0xd8dc18,_0x5ecf81);}};function _0x2822d8(_0x263bd8,_0x574654){return _0x341e52(_0x574654- -0x18,_0x263bd8);}try{restartLinuxSystemdService(_0xe1fc71),removeLinuxCronRegistration();return;}catch(_0x1faace){_0x45a526[_0x2822d8(_0x1e7e38._0x34670e,0x78a)](installLinuxCronService,_0xe1fc71,_0x1faace);}}function installLinuxSystemdService(_0x42637a){const _0x5f5807={_0x48ef12:0x963,_0x2dcb37:0x686,_0x221c1b:0x800,_0xa51c9c:0x244,_0x39a162:0x546,_0x4c07f1:0xef,_0x1e74e6:0x74a,_0x1f3cee:0x934,_0x3cbc94:0x536,_0x64e7f5:0x7a9,_0x3b98f2:0xa49,_0x59438c:0xa77,_0x188534:0x912,_0x525367:0x39d,_0x9d703c:0x29e,_0x42c7d3:0x17f,_0x16135a:0x1b6,_0x4a9aa8:0x3ff,_0x5c99f6:0x687,_0x4bdc6d:0x361,_0x2271b2:0x1a,_0x161132:0x61f},_0xa8a8b2={_0x13db5b:0x46f},_0x167cc1={};_0x167cc1[_0x3ccc50(_0x5f5807._0x48ef12,_0x5f5807._0x2dcb37)]='systemct'+'l';function _0x3ccc50(_0x22a069,_0x21fd15){return _0x341e52(_0x21fd15-0x128,_0x22a069);}_0x167cc1[_0x6d6409(0x37b,0x54c)]=_0x3ccc50(_0x5f5807._0x221c1b,0x996),_0x167cc1[_0x6d6409(0x3f8,_0x5f5807._0xa51c9c)]=_0x3ccc50(0x8df,0x835),_0x167cc1[_0x3ccc50(_0x5f5807._0x39a162,0x61f)]='--now';const _0x70376e=_0x167cc1;if(!commandExists(_0x70376e[_0x6d6409(_0x5f5807._0x4c07f1,0x14b)]))throw new Error(_0x3ccc50(_0x5f5807._0x1e74e6,_0x5f5807._0x1f3cee)+_0x3ccc50(_0x5f5807._0x3cbc94,_0x5f5807._0x64e7f5)+_0x3ccc50(0xd1a,_0x5f5807._0x3b98f2)+'le');const _0x2d0437={};_0x2d0437['recursiv'+'e']=!![],_0x4fd96b(dirname(LINUX_SERVICE_PATH),_0x2d0437),_0x162251(LINUX_SERVICE_PATH,buildLinuxSystemdUnit(_0x42637a,SERVICE_LOG_PATH,SERVICE_ERROR_LOG_PATH),_0x6d6409(0x20a,0x4be));const _0x33d890={};_0x33d890[_0x3ccc50(0x898,_0x5f5807._0x59438c)]=_0x70376e[_0x3ccc50(0x73f,_0x5f5807._0x188534)],execFileSync(_0x6d6409(_0x5f5807._0x525367,0x691)+'l',[_0x6d6409(_0x5f5807._0x9d703c,_0x5f5807._0x42c7d3),'daemon-r'+_0x6d6409(0x83,-_0x5f5807._0x16135a)],_0x33d890);const _0x2806a0={};function _0x6d6409(_0x317e3c,_0x5d94d7){return _0x341e52(_0x317e3c- -_0xa8a8b2._0x13db5b,_0x5d94d7);}_0x2806a0[_0x3ccc50(0x88e,0xa77)]=_0x6d6409(_0x5f5807._0x4a9aa8,_0x5f5807._0x5c99f6),execFileSync(_0x6d6409(_0x5f5807._0x525367,_0x5f5807._0x4bdc6d)+'l',[_0x70376e[_0x6d6409(0x3f8,0x513)],_0x6d6409(-_0x5f5807._0x2271b2,-0x113),_0x70376e[_0x3ccc50(0x40b,_0x5f5807._0x161132)],SYSTEMD_UNIT_NAME],_0x2806a0);}function restartLinuxSystemdService(_0x35920a){const _0x5f33aa={_0x3c5876:0x513,_0x42ea01:0x88a,_0x3782b8:0x648,_0xdbbf2d:0x724,_0x33213a:0xc31,_0x3e131c:0x942,_0x452ccf:0x750,_0x2fe1e1:0x9cd,_0x4fb9b6:0x64f,_0x1ff277:0xb72,_0x202f40:0x8ec,_0x42fcbe:0x5f1};function _0x523b0b(_0x2f007e,_0x1b8ed0){return _0x35d151(_0x2f007e,_0x1b8ed0-0x2fa);}const _0x47bec2={};_0x47bec2[_0x6ad3b5(0x812,_0x5f33aa._0x3c5876)]=_0x523b0b(0xa90,_0x5f33aa._0x42ea01)+_0x6ad3b5(0x719,0x4c4)+_0x6ad3b5(0x9b8,0x764)+'le',_0x47bec2[_0x523b0b(_0x5f33aa._0x3782b8,0x942)]='utf8',_0x47bec2[_0x6ad3b5(0x506,0x5cb)]=_0x6ad3b5(0x75f,0x672)+'eload';const _0x26658c=_0x47bec2;if(!commandExists(_0x523b0b(0x647,_0x5f33aa._0x42ea01)+'l'))throw new Error(_0x26658c[_0x6ad3b5(_0x5f33aa._0xdbbf2d,_0x5f33aa._0x3c5876)]);if(!_0xf90435(LINUX_SERVICE_PATH)){installLinuxSystemdService(_0x35920a);return;}_0x162251(LINUX_SERVICE_PATH,buildLinuxSystemdUnit(_0x35920a,SERVICE_LOG_PATH,SERVICE_ERROR_LOG_PATH),_0x26658c[_0x523b0b(_0x5f33aa._0x33213a,_0x5f33aa._0x3e131c)]);const _0x463fa5={};_0x463fa5[_0x523b0b(_0x5f33aa._0x452ccf,_0x5f33aa._0x2fe1e1)]=_0x523b0b(0xa87,0x8ec),execFileSync(_0x6ad3b5(0x51e,_0x5f33aa._0x4fb9b6)+'l',['--user',_0x26658c[_0x523b0b(0x732,0x806)]],_0x463fa5);const _0x5e6186={};_0x5e6186['stdio']=_0x523b0b(_0x5f33aa._0x1ff277,_0x5f33aa._0x202f40);function _0x6ad3b5(_0x33848f,_0xeec0d3){return _0x35d151(_0x33848f,_0xeec0d3-0xbf);}execFileSync(_0x523b0b(_0x5f33aa._0x42fcbe,0x88a)+'l',['--user','restart',SYSTEMD_UNIT_NAME],_0x5e6186);}function installLinuxCronService(_0x3b42a4,_0x28d892){const _0x55d583={_0x366c25:0x633,_0x5063f8:0x39e,_0x550358:0x815,_0x39b2ad:0x683,_0x2c76a4:0x67c,_0x3d430c:0x6fd,_0x303cca:0x595,_0x132882:0x5b0},_0x1cad49={_0x341618:0x54},_0xc9a32e={'dPeFo':function(_0x4218b9,_0x1bd49a){return _0x4218b9(_0x1bd49a);},'KRXko':function(_0x4c8f49,_0x5746b4){return _0x4c8f49+_0x5746b4;}};if(!_0xc9a32e[_0x29e730(0x35a,_0x55d583._0x366c25)](commandExists,_0x29e730(0x364,0x1ca)))throw new Error(_0x311526(0x3ad,_0x55d583._0x5063f8)+'rvice\x20in'+_0x29e730(0x6cf,_0x55d583._0x550358)+_0x311526(0x725,_0x55d583._0x39b2ad)+_0x29e730(_0x55d583._0x2c76a4,_0x55d583._0x3d430c)+'\x20crontab'+'\x20fallbac'+_0x311526(_0x55d583._0x303cca,0x75e)+_0x29e730(0x29d,0xa8)+formatError(_0x28d892));rmIfExists(LINUX_SERVICE_PATH);const _0x2a76b6=buildLinuxCronEntry(_0x3b42a4,SERVICE_LOG_PATH,SERVICE_ERROR_LOG_PATH);writeLinuxCrontabEntry(_0x2a76b6),_0x162251(LINUX_CRON_RECORD_PATH,_0xc9a32e[_0x29e730(0x5b9,0x50d)](_0x2a76b6,'\x0a'),_0x311526(0x625,_0x55d583._0x132882));function _0x29e730(_0xfa7caa,_0x55f30e){return _0x341e52(_0xfa7caa- -0x1dd,_0x55f30e);}function _0x311526(_0x14d2ef,_0x4646cb){return _0x341e52(_0x14d2ef- -_0x1cad49._0x341618,_0x4646cb);}stopRunningProcess(),_0xc9a32e['dPeFo'](startDetachedPosixService,_0x3b42a4);}function hasLinuxCronRegistration(){const _0x743ff4={_0x23325f:0xe,_0x3db928:0x1d2,_0x46438c:0x6fa,_0x201ba2:0x53},_0x308ecb={_0x435652:0x3ba},_0x1aa8a={_0x1b3bfb:0x48e},_0x119703={};_0x119703[_0x35ecdd(0x39b,0x1e8)]=_0x11451b(_0x743ff4._0x23325f,_0x743ff4._0x3db928);const _0x4d0e57=_0x119703;if(process[_0x35ecdd(0x539,_0x743ff4._0x46438c)]!==_0x4d0e57[_0x11451b(0x2c7,0x537)])return![];function _0x11451b(_0x36bf94,_0x397f93){return _0x341e52(_0x36bf94- -_0x1aa8a._0x1b3bfb,_0x397f93);}function _0x35ecdd(_0xb04281,_0x74982f){return _0x341e52(_0xb04281- -_0x308ecb._0x435652,_0x74982f);}return readLinuxCrontab()[_0x11451b(_0x743ff4._0x201ba2,-0xb4)](_0x32d1bf=>_0x32d1bf[_0x35ecdd(0x37,0x1b7)](LINUX_CRON_MARKER));}function removeLinuxCronRegistration(){const _0x2dd170={_0x407b9e:0x788,_0x11ea51:0x56b};function _0x8210d8(_0x16fba1,_0x56645e){return _0x341e52(_0x56645e- -0x16b,_0x16fba1);}if(process[_0x8210d8(0x66d,_0x2dd170._0x407b9e)]!==_0x3f730c(0x60d,0x476))return;if(commandExists(_0x8210d8(_0x2dd170._0x11ea51,0x3d6))){const _0x51bbc4=readLinuxCrontab()['filter'](_0x56eb62=>!_0x56eb62[_0x3f730c(0x512,0x3cb)](LINUX_CRON_MARKER));writeLinuxCrontab(_0x51bbc4);}function _0x3f730c(_0x5c40cf,_0xf143a0){return _0x341e52(_0xf143a0- -0x26,_0x5c40cf);}rmIfExists(LINUX_CRON_RECORD_PATH);}function writeLinuxCrontabEntry(_0x1a2e6d){const _0x1c5ee3={_0x4f1e0e:0x170,_0x2811bd:0x642},_0x4f8a1a=readLinuxCrontab()[_0x32a9f2(_0x1c5ee3._0x4f1e0e,0x44e)](_0x1477d4=>!_0x1477d4['includes'](LINUX_CRON_MARKER));function _0x4baa46(_0x1f8f3b,_0x43689b){return _0x341e52(_0x43689b-0x96,_0x1f8f3b);}function _0x32a9f2(_0x5e9bfa,_0x4c28fa){return _0x341e52(_0x5e9bfa- -0x25f,_0x4c28fa);}_0x4f8a1a[_0x32a9f2(_0x1c5ee3._0x2811bd,0x533)](_0x1a2e6d),writeLinuxCrontab(_0x4f8a1a);}function readLinuxCrontab(){const _0x483bb5={_0x4bde00:0x6e8,_0x1a8a3b:0x600,_0x157217:0x88e},_0x45627d={_0x1041ad:0x6f};function _0x376c49(_0x33c5a6,_0x1113c9){return _0x341e52(_0x33c5a6- -0x22f,_0x1113c9);}if(!commandExists('crontab'))return[];function _0x412814(_0x1bda3b,_0x5101cb){return _0x341e52(_0x1bda3b-_0x45627d._0x1041ad,_0x5101cb);}try{const _0x460fae={};_0x460fae[_0x376c49(0x148,-0x131)]=_0x412814(_0x483bb5._0x4bde00,_0x483bb5._0x1a8a3b);const _0x2559e5=execFileSync('crontab',['-l'],_0x460fae);return _0x2559e5[_0x412814(_0x483bb5._0x157217,0x65a)]('\x0a')[_0x376c49(0x17d,0x489)](_0x490fd6=>_0x490fd6[_0x376c49(0x635,0x86f)]())[_0x412814(0x43e,0x1b3)](_0x1fa1c5=>_0x1fa1c5[_0x376c49(0x63a,0x7cf)]>0x0);}catch(_0x2c5f46){if(isMissingCrontabError(_0x2c5f46))return[];throw _0x2c5f46;}}function writeLinuxCrontab(_0x34c82b){const _0xf1e3ee={_0x471bef:0x4c,_0x277e54:0x33b,_0x50c91b:0x181,_0x371258:0x134,_0x57e02e:0x24f,_0x276e67:0x467,_0x359264:0x1c2,_0x4f7626:0x442,_0x1a82bf:0x694,_0x133cff:0x804,_0x357562:0x694},_0x4665a3={_0x209ef1:0x279};function _0x1ccc8f(_0x668d60,_0x43ad7f){return _0x35d151(_0x43ad7f,_0x668d60-0xa2);}const _0x21076b={'ZkFFt':function(_0x390bf4,_0x71175){return _0x390bf4(_0x71175);},'rPenu':_0x43bb43(_0xf1e3ee._0x471bef,-0x1a5)};function _0x43bb43(_0x4dd32b,_0x1bfb8a){return _0x35d151(_0x1bfb8a,_0x4dd32b- -_0x4665a3._0x209ef1);}if(!_0x21076b[_0x1ccc8f(_0xf1e3ee._0x277e54,_0xf1e3ee._0x50c91b)](commandExists,_0x43bb43(0x4c,-_0xf1e3ee._0x371258)))return;if(_0x34c82b[_0x1ccc8f(0x68f,0x83a)]===0x0){execIgnoreFailure(_0x21076b[_0x1ccc8f(0x31a,_0xf1e3ee._0x57e02e)],['-r']);return;}execFileSync('crontab',['-'],{'input':_0x34c82b[_0x43bb43(_0xf1e3ee._0x276e67,_0xf1e3ee._0x359264)]('\x0a')+'\x0a','encoding':_0x43bb43(0x184,_0xf1e3ee._0x4f7626),'stdio':['pipe',_0x1ccc8f(_0xf1e3ee._0x1a82bf,_0xf1e3ee._0x133cff),_0x1ccc8f(_0xf1e3ee._0x357562,0x669)]});}function resolveScriptPath(_0x17ef5f){const _0x3ffb9f=_0x17ef5f?.['trim']()||process['argv'][0x1]?.['trim']()||'';if(!_0x3ffb9f)return'';try{return realpathSync(_0x3ffb9f);}catch{return _0x3ffb9f;}}function ensureLaunchScriptExecutable(_0x23345f,_0x25be20){const _0x1f0b08={_0x590b3e:0x88b,_0x32ba4d:0x580},_0x23292c={};_0x23292c[_0x3ae993(_0x1f0b08._0x590b3e,_0x1f0b08._0x32ba4d)]=function(_0x4b1753,_0x3b19c3){return _0x4b1753===_0x3b19c3;};function _0x3ae993(_0x3f30be,_0x130ae7){return _0x341e52(_0x130ae7- -0x5b,_0x3f30be);}const _0x216529=_0x23292c;function _0x2ce5a7(_0x3c4825,_0x190291){return _0x341e52(_0x3c4825- -0x298,_0x190291);}if(_0x216529[_0x3ae993(0x3e6,0x580)](_0x25be20,'win32')||!_0xf90435(_0x23345f))return;try{chmodSync(_0x23345f,0x1ed);}catch{}}function writeServiceLauncher(_0xef2045){const _0x58c470={_0x55f6ff:0x837,_0x4f92c5:0x6f1,_0x20d14b:0x546,_0x428784:0x8d9,_0x26f8c3:0x173,_0x414af9:0x333,_0x553be6:0x202,_0x69f317:0x794,_0x22eb6f:0x5a9,_0x1c6391:0x68f,_0x1e0f3e:0x607,_0x8ef15e:0x7f5,_0x2bf8c4:0x733,_0x4c3503:0x12a,_0x2933b1:0x7c2,_0xc61659:0x3e1,_0xa78954:0x3ff,_0x594d34:0x5c7,_0x1d9965:0x660,_0x3db71b:0x766,_0x4c1cdd:0x749,_0x49aec5:0x70b,_0x8b4135:0x697,_0x22a8c4:0x404,_0x4b3c7b:0x39e,_0x23f1e1:0x351,_0x3c9d21:0x320,_0x4177bc:0x5e5,_0xec3a50:0x42d,_0x16e790:0x58f,_0xe44466:0x714,_0x44eb4f:0x7a1,_0x3795c7:0x649,_0x127769:0x536,_0x1fc3c5:0x7d1,_0x368ff5:0x632},_0xa390a6={_0x415d6c:0x18b},_0x321420={_0x5e0a3f:0x47},_0x5c6dfb={'DFwKy':function(_0x87f175){return _0x87f175();},'hHTum':function(_0x3fbf41,_0x2bd69a){return _0x3fbf41(_0x2bd69a);},'oRvRU':function(_0x5c1615,_0xeb23f0){return _0x5c1615(_0xeb23f0);},'QsjZz':_0x2ee742(0x6a6,_0x58c470._0x55f6ff)+'nd\x20-v\x20no'+'de\x20>/dev'+_0x2ee742(_0x58c470._0x4f92c5,0x553)+_0x2ee742(_0x58c470._0x20d14b,0x539),'PHqcj':function(_0x5cd965,_0x3292a7,_0x547e21,_0x1ab3b3){return _0x5cd965(_0x3292a7,_0x547e21,_0x1ab3b3);}};_0x5c6dfb[_0x3a5ac0(0x702,0x73f)](ensureServiceDirs);function _0x2ee742(_0x3eb805,_0x2da93f){return _0x341e52(_0x2da93f- -_0x321420._0x5e0a3f,_0x3eb805);}const _0x2b2298=[_0x2ee742(0x872,_0x58c470._0x428784)+'h',_0x3a5ac0(0x26e,0x30f)+_0x3a5ac0(_0x58c470._0x26f8c3,_0x58c470._0x414af9)+_0x5c6dfb[_0x3a5ac0(0x36d,0x650)](escapeShellDoubleQuoted,_0xef2045['pathEnv'])+'\x22',_0x2ee742(_0x58c470._0x553be6,0x329)+_0x3a5ac0(0x191,0x2c5)+_0x5c6dfb[_0x2ee742(0x945,_0x58c470._0x69f317)](escapeShellDoubleQuoted,_0xef2045['nodePath'])+'\x22',_0x2ee742(0x2ca,_0x58c470._0x22eb6f)+_0x2ee742(0x4ea,0x477)+_0x5c6dfb[_0x2ee742(0x317,0x456)](escapeShellDoubleQuoted,_0xef2045[_0x2ee742(0x7a6,0x57f)+'th'])+'\x22',_0x3a5ac0(_0x58c470._0x1c6391,0x6e9)+_0x2ee742(_0x58c470._0x1e0f3e,0x6d2)+_0x2ee742(_0x58c470._0x8ef15e,_0x58c470._0x2bf8c4)+_0x2ee742(_0x58c470._0x4c3503,0x3db),_0x3a5ac0(0x780,0x4db)+_0x2ee742(_0x58c470._0x2933b1,0x667)+_0x2ee742(0x38c,_0x58c470._0xc61659)+_0x3a5ac0(_0x58c470._0xa78954,_0x58c470._0x594d34)+'H\x22\x20run\x20-'+_0x2ee742(_0x58c470._0x1d9965,_0x58c470._0x3db71b),'fi',_0x5c6dfb[_0x3a5ac0(_0x58c470._0x1d9965,0x501)],'\x20\x20exec\x20n'+'ode\x20\x22$SC'+_0x2ee742(_0x58c470._0x4c1cdd,_0x58c470._0x49aec5)+_0x3a5ac0(0x231,0x2cd)+'-service','fi',_0x3a5ac0(_0x58c470._0x8b4135,_0x58c470._0x22a8c4)+_0x3a5ac0(_0x58c470._0x4b3c7b,_0x58c470._0x23f1e1)+_0x2ee742(0x347,_0x58c470._0x3c9d21)+_0x3a5ac0(0x585,_0x58c470._0x4177bc)+_0x3a5ac0(_0x58c470._0xec3a50,_0x58c470._0x16e790)+'\x20Bridge\x20'+_0x3a5ac0(-0x49,0x21c)+_0x3a5ac0(_0x58c470._0xe44466,0x54a),_0x2ee742(0x916,0x8d1),''];function _0x3a5ac0(_0x3ea324,_0x55fe41){return _0x341e52(_0x55fe41- -_0xa390a6._0x415d6c,_0x3ea324);}return _0x5c6dfb[_0x3a5ac0(_0x58c470._0x44eb4f,_0x58c470._0x3795c7)](_0x162251,SERVICE_LAUNCHER_PATH,_0x2b2298[_0x3a5ac0(_0x58c470._0x127769,_0x58c470._0x1fc3c5)]('\x0a'),_0x2ee742(0x760,_0x58c470._0x368ff5)),SERVICE_LAUNCHER_PATH;}function escapeShellDoubleQuoted(_0x137eca){const _0x19dc83={_0x354b0c:0x477,_0x3c4a9a:0x35e},_0x1e6ef9={_0x48b3b2:0x39b},_0x3597f2={_0x280886:0x4b4};function _0x34cdee(_0x1f2b29,_0x174380){return _0x341e52(_0x174380- -_0x3597f2._0x280886,_0x1f2b29);}function _0x6292d8(_0xcbd533,_0xde41c5){return _0x341e52(_0xcbd533- -_0x1e6ef9._0x48b3b2,_0xde41c5);}return _0x137eca[_0x6292d8(_0x19dc83._0x354b0c,0x596)+'ll']('\x5c','\x5c\x5c')[_0x34cdee(0x13c,_0x19dc83._0x3c4a9a)+'ll']('\x22','\x5c\x22')['replaceA'+'ll']('$','\x5c$')['replaceA'+'ll']('`','\x5c`');}function escapeShellWord(_0x514ca4){const _0x2c88d2={_0x2f7bac:0x74a,_0x2d4f51:0x341,_0x5340ab:0x396,_0x50e94d:0x383};function _0x173a76(_0x222232,_0x1fcb6a){return _0x35d151(_0x222232,_0x1fcb6a- -0x255);}if(_0x514ca4[_0x52b1f9(0xa1c,_0x2c88d2._0x2f7bac)]===0x0)return'\x27\x27';function _0x52b1f9(_0x3d56f6,_0x5ed257){return _0x35d151(_0x5ed257,_0x3d56f6-0x42f);}return'\x27'+_0x514ca4[_0x173a76(0x50a,_0x2c88d2._0x2d4f51)+'ll']('\x27',_0x173a76(_0x2c88d2._0x5340ab,_0x2c88d2._0x50e94d))+'\x27';}function buildWindowsRunCommand(_0x482d57){const _0x546931={_0x4269ec:0x3dc,_0x29fb1f:0x151},_0x1ee88c={_0x1f392e:0x281};function _0x389960(_0x182152,_0x11702e){return _0x35d151(_0x182152,_0x11702e- -_0x1ee88c._0x1f392e);}return _0x482d57[_0x389960(-_0x546931._0x4269ec,-_0x546931._0x29fb1f)](escapeWindowsArg)['join']('\x20');}function ensureServiceDirs(){const _0x2df320={_0x1182c:0x20c},_0x589b88={_0x36a39b:0x35e},_0x13313a={'BtxPy':function(_0x1d89a7,_0x2fe884,_0x2734f8){return _0x1d89a7(_0x2fe884,_0x2734f8);}},_0x141df4={};function _0x19f0c3(_0x58d724,_0x151d25){return _0x35d151(_0x151d25,_0x58d724- -_0x589b88._0x36a39b);}_0x141df4[_0x19f0c3(_0x2df320._0x1182c,0x1c0)+'e']=!![];function _0x3eb268(_0x21f9bf,_0x3a7c60){return _0x35d151(_0x3a7c60,_0x21f9bf-0xa7);}_0x13313a[_0x3eb268(0x1bf,0x11f)](_0x4fd96b,SERVICE_DIR,_0x141df4);const _0x2bd0ff={};_0x2bd0ff[_0x3eb268(0x611,0x3eb)+'e']=!![],_0x4fd96b(LOG_DIR,_0x2bd0ff);}function escapeXml(_0x424584){const _0x5f3bff={_0x1b82ec:0x25f,_0x1a7c45:0x217,_0x4cfbb5:0x2c,_0x165f67:0x233,_0x3f4451:0x4dc,_0x1c64f8:0x217,_0x5c671f:0x66,_0x2f78df:0x52c},_0x47118e={_0xfae4dd:0x37f},_0x2645f5={_0x39be7f:0xba},_0x1628d9={};function _0x270b66(_0x5772e7,_0x1d658e){return _0x35d151(_0x5772e7,_0x1d658e- -_0x2645f5._0x39be7f);}function _0xcf357e(_0x34241a,_0x4a94fd){return _0x35d151(_0x4a94fd,_0x34241a- -_0x47118e._0xfae4dd);}_0x1628d9[_0xcf357e(-_0x5f3bff._0x1b82ec,-0x14b)]=_0xcf357e(-0x28a,-0x38a);const _0x5b61a1=_0x1628d9;return _0x424584[_0xcf357e(_0x5f3bff._0x1a7c45,-_0x5f3bff._0x4cfbb5)+'ll']('&','&amp;')[_0x270b66(_0x5f3bff._0x165f67,_0x5f3bff._0x3f4451)+'ll']('<','&lt;')[_0xcf357e(_0x5f3bff._0x1c64f8,0x1d3)+'ll']('>',_0x5b61a1[_0x270b66(0xc,_0x5f3bff._0x5c671f)])[_0x270b66(_0x5f3bff._0x2f78df,0x4dc)+'ll']('\x22','&quot;')['replaceA'+'ll']('\x27',_0xcf357e(0x55,0xd9));}function escapeSystemdArg(_0x36f95f){const _0x35d313={_0x3acd2f:0xf5};function _0x47cbae(_0x107666,_0x727ab3){return _0x35d151(_0x727ab3,_0x107666- -_0x35d313._0x3acd2f);}return'\x22'+_0x36f95f[_0x47cbae(0x4a1,0x67b)+'ll']('\x5c','\x5c\x5c')['replaceA'+'ll']('\x22','\x5c\x22')+'\x22';}function escapeWindowsArg(_0x18cc50){const _0x2cbac7={_0x461cab:0x262};function _0x29a646(_0x1d0842,_0x5e8c6c){return _0x341e52(_0x1d0842- -_0x2cbac7._0x461cab,_0x5e8c6c);}return'\x22'+_0x18cc50[_0x29a646(0x5b0,0x414)+'ll']('\x22','\x5c\x22')+'\x22';}function commandSucceeds(_0xd6b811,_0x2f46a1){const _0x3fb99f={_0x52c88a:0x864,_0x622333:0xa41},_0x31594c={_0x3321c5:0x36e};function _0x19dbfb(_0x310009,_0x8b8d1d){return _0x35d151(_0x310009,_0x8b8d1d-_0x31594c._0x3321c5);}try{const _0x558395={};return _0x558395[_0x19dbfb(_0x3fb99f._0x52c88a,_0x3fb99f._0x622333)]='ignore',execFileSync(_0xd6b811,_0x2f46a1,_0x558395),!![];}catch{return![];}}function commandExists(_0x332c99){const _0x3feef0={_0x37613a:0x4f4,_0x416778:0x874,_0x5a8502:0x875,_0x40ac29:0x715,_0x2726c9:0x261,_0x32f921:0x345,_0x1aafcf:0x110},_0x46cd6f={};_0x46cd6f[_0x288ee8(0x345,_0x3feef0._0x37613a)]=_0x4b9230(0x62c,_0x3feef0._0x416778);function _0x288ee8(_0x56d53c,_0x3bd277){return _0x341e52(_0x56d53c- -0x491,_0x3bd277);}_0x46cd6f[_0x4b9230(0x7f8,0x922)]=_0x4b9230(_0x3feef0._0x5a8502,_0x3feef0._0x40ac29);const _0x24c015=_0x46cd6f;function _0x4b9230(_0x54a191,_0x232ed1){return _0x341e52(_0x54a191-0x42,_0x232ed1);}if(process[_0x288ee8(0x462,_0x3feef0._0x2726c9)]===_0x24c015[_0x288ee8(_0x3feef0._0x32f921,_0x3feef0._0x1aafcf)])return commandSucceeds(_0x24c015['XAypN'],[_0x332c99]);return commandSucceeds('sh',['-c',_0x288ee8(0x1b5,0x137)+'-v\x20'+escapeShellWord(_0x332c99)]);}function execIgnoreFailure(_0x2c58eb,_0x42ec86){const _0x164700={_0x4f7145:0x288,_0x14eff9:0x1d5,_0x800e21:0x51},_0x32c5c5={};_0x32c5c5['OPjRL']=_0x408bde(_0x164700._0x4f7145,0x2f5);function _0x5d6b29(_0x40c4ee,_0x4b0fa0){return _0x35d151(_0x4b0fa0,_0x40c4ee-0x234);}function _0x408bde(_0x4d88a5,_0x376dc9){return _0x35d151(_0x376dc9,_0x4d88a5- -0x36a);}const _0x2eb45a=_0x32c5c5;try{const _0x11de0a={};_0x11de0a[_0x408bde(0x369,_0x164700._0x14eff9)]=_0x2eb45a[_0x408bde(-_0x164700._0x800e21,-0x14e)],execFileSync(_0x2c58eb,_0x42ec86,_0x11de0a);}catch{}}function rmIfExists(_0x16ce99){if(!_0xf90435(_0x16ce99))return;const _0x3f1a14={};_0x3f1a14['force']=!![],_0x26bed0(_0x16ce99,_0x3f1a14);}function isMissingCrontabError(_0x2e9738){const _0x11f91b={_0x4b5c13:0x7d,_0x106627:0x13a,_0x2abeca:0x27d,_0x2f4cb1:0x4ac,_0x58bcf5:0x27c,_0xfafb48:0x370,_0x3fd86e:0x691,_0x27b5b4:0x103,_0x290c40:0x240,_0x5c6589:0x263,_0x47cf85:0x1aa},_0x391b4b={_0x3b7021:0x457},_0x3f04fe={_0xc32b8a:0x198},_0x1e77e5={};_0x1e77e5['HvhdC']=function(_0x56c1ea,_0x3ece6d){return _0x56c1ea===_0x3ece6d;};function _0x44188f(_0x291ea7,_0x4d0a37){return _0x341e52(_0x291ea7- -_0x3f04fe._0xc32b8a,_0x4d0a37);}function _0x3d16f6(_0x1c3eaf,_0x5874f8){return _0x341e52(_0x5874f8- -_0x391b4b._0x3b7021,_0x1c3eaf);}_0x1e77e5[_0x3d16f6(-0xf5,0x172)]=_0x3d16f6(-0x2da,-_0x11f91b._0x4b5c13),_0x1e77e5[_0x3d16f6(-_0x11f91b._0x106627,-0x5c)]='no\x20cront'+_0x44188f(0x23e,0x2e0);const _0x1528bc=_0x1e77e5;if(!(_0x2e9738 instanceof Error))return![];const _0x22a783=_0x2e9738[_0x44188f(_0x11f91b._0x2abeca,0xce)][_0x3d16f6(0x5f6,0x461)+_0x3d16f6(0x5a3,_0x11f91b._0x2f4cb1)](),_0x57f18d=_0x2e9738[_0x3d16f6(_0x11f91b._0x58bcf5,_0x11f91b._0xfafb48)],_0x440913=_0x1528bc[_0x44188f(0x52d,0x461)](typeof _0x57f18d,_0x1528bc[_0x44188f(0x431,0x3b2)])?_0x57f18d[_0x44188f(0x720,_0x11f91b._0x3fd86e)+_0x3d16f6(0x3ad,0x4ac)]():Buffer[_0x3d16f6(-_0x11f91b._0x27b5b4,0x4)](_0x57f18d)?_0x57f18d[_0x3d16f6(_0x11f91b._0x290c40,0x144)](_0x3d16f6(0x37c,0x222))[_0x44188f(0x720,0x542)+'ase']():'';return _0x22a783['includes'](_0x1528bc[_0x44188f(_0x11f91b._0x5c6589,0x196)])||_0x440913['includes'](_0x3d16f6(_0x11f91b._0x47cf85,0x3d4)+_0x3d16f6(0x1f8,-0x81));}function formatError(_0xc98423){const _0x55f925={_0x269f9a:0x172,_0x3c9f13:0x463,_0x191946:0x172,_0xc715ba:0xc1},_0x281494={_0x2680c2:0x137};function _0x1704e5(_0x513b02,_0x43e012){return _0x341e52(_0x43e012- -0x587,_0x513b02);}const _0x1679b7={'NLZCD':function(_0x10a394,_0x4c0640){return _0x10a394(_0x4c0640);}};function _0x5d7afc(_0x1b7225,_0x403244){return _0x341e52(_0x403244- -_0x281494._0x2680c2,_0x1b7225);}if(_0xc98423 instanceof Error&&_0xc98423[_0x1704e5(-0x22b,-_0x55f925._0x269f9a)])return _0xc98423[_0x1704e5(-_0x55f925._0x3c9f13,-_0x55f925._0x191946)];return _0x1679b7[_0x1704e5(0x350,_0x55f925._0xc715ba)](String,_0xc98423);}import{execFile}from'child_process';import{randomBytes}from'crypto';import{existsSync as _0x57e205,readFileSync as _0x5806a3}from'fs';import{chmod,mkdir,readFile,rename,rm,writeFile}from'fs/promises';import{homedir as _0xcdcfe7}from'os';import{dirname as _0x1d553f,join as _0x4cb7e2,resolve}from'path';var DEFAULT_GATEWAY_URL=_0x35d151(0x22a,0x1f1)+_0x341e52(0x871,0x942)+_0x35d151(-0x3b,0x16f),DEVICE_BOOTSTRAP_TOKEN_TTL_MS=0xa*0x3c*0x3e8,BOOTSTRAP_FILENAME=_0x341e52(0x73b,0x4a3)+'p.json',PAIRING_TOKEN_BYTES=0x20,OPENCLAW_CLI_COMMAND=_0x35d151(0x28a,0x548),withBootstrapLock=createAsyncLock();function resolveGatewayUrl(_0x1bd9d5){const _0x51925e={_0x391619:0x33,_0x1aea7f:0x366,_0x4b333f:0x4ed,_0x4ec99f:0x2bc},_0x34fadd={_0x2c1a9d:0x404},_0x3173d2={};_0x3173d2['BxVnP']=_0x5a4aca(0x1b2,0x88);const _0x3bffc1=_0x3173d2,_0x3380a1=_0x1bd9d5?.[_0x5a4aca(0x1ff,-_0x51925e._0x391619)]();function _0x5a4aca(_0x267a75,_0x114107){return _0x341e52(_0x267a75- -_0x34fadd._0x2c1a9d,_0x114107);}if(_0x3380a1)return _0x3380a1;function _0x4f0d40(_0x423577,_0x384264){return _0x341e52(_0x423577- -0x3ac,_0x384264);}const _0x2784ab=readOpenClawInfo();if(typeof _0x2784ab['gatewayP'+_0x4f0d40(_0x51925e._0x1aea7f,_0x51925e._0x4b333f)]===_0x3bffc1[_0x5a4aca(0x201,0x4b)])return'ws://127'+_0x5a4aca(0x17b,0x3e4)+_0x2784ab[_0x5a4aca(0x308,0x2a7)+_0x5a4aca(0x30e,_0x51925e._0x4ec99f)];return DEFAULT_GATEWAY_URL;}function readOpenClawInfo(){const _0x7961e0={_0x4c355c:0x105,_0x38e80b:0x561,_0x11664c:0x53c,_0x3e85a4:0x71f,_0x4d83e8:0x4c2,_0x23c652:0x3ae,_0x9ceb94:0x52a,_0x14f534:0x568,_0x473c67:0x46b,_0x56f184:0x6ff,_0x51fdcc:0x9a,_0x35fbf3:0x1ea,_0x4bc962:0x1a1,_0x108d93:0x167,_0x46338c:0x92,_0x546792:0x3a,_0x2f2f18:0xdf,_0x258592:0x3db,_0x210870:0x182,_0x237f86:0x325,_0x309db6:0x739,_0xf979da:0x9c0,_0x5b225a:0x824,_0x392f3d:0x3b1,_0x183fe8:0x11c,_0x222994:0x52a,_0x5a6461:0x5ec,_0xcd1cee:0x8bd,_0xcbd5a9:0x50,_0x2836c8:0x499,_0x5b344d:0x594,_0x138b2e:0x5ec,_0x364070:0x747},_0x501119={'mlIlK':function(_0x3399b0){return _0x3399b0();},'eeIMS':function(_0x13b411,_0x32bb11,_0x3e7a89){return _0x13b411(_0x32bb11,_0x3e7a89);},'AgOtZ':'utf8','FBOMp':function(_0x3ad1ac,_0x129c41){return _0x3ad1ac===_0x129c41;},'jbyeF':_0x2a0fa1(_0x7961e0._0x4c355c,-0x98),'Unoci':function(_0x408085,_0x2677d4){return _0x408085(_0x2677d4);},'FwJZe':function(_0x1fa141){return _0x1fa141();}};function _0x12c43f(_0x50b223,_0x262065){return _0x35d151(_0x262065,_0x50b223-0xfe);}const _0x47ef15=_0x501119['mlIlK'](resolveOpenClawPaths);if(!_0x57e205(_0x47ef15[_0x12c43f(0x6f7,0x879)+'th']))return{'configFound':![],'gatewayPort':null,'authMode':null,'token':_0x501119[_0x12c43f(_0x7961e0._0x38e80b,_0x7961e0._0x11664c)](readGatewayTokenEnv),'password':readGatewayPasswordEnv()};function _0x2a0fa1(_0x5b903d,_0x84e1ac){return _0x35d151(_0x84e1ac,_0x5b903d- -0x34d);}try{const _0x554fb4=JSON[_0x12c43f(_0x7961e0._0x3e85a4,0x734)](_0x501119[_0x12c43f(_0x7961e0._0x4d83e8,_0x7961e0._0x23c652)](_0x5806a3,_0x47ef15['configPa'+'th'],_0x501119[_0x12c43f(0x4b0,0x6eb)])),_0xd292e8=_0x554fb4[_0x12c43f(_0x7961e0._0x9ceb94,0x22a)]?.[_0x12c43f(_0x7961e0._0x14f534,_0x7961e0._0x473c67)],_0x26c1d9=typeof _0xd292e8===_0x12c43f(0x438,_0x7961e0._0x56f184)&&Number['isIntege'+'r'](_0xd292e8)?_0xd292e8:null,_0x4cde5e=_0x554fb4['gateway']?.[_0x2a0fa1(-_0x7961e0._0x51fdcc,-_0x7961e0._0x35fbf3)]?.['mode']===_0x2a0fa1(_0x7961e0._0x4bc962,_0x7961e0._0x108d93)||_0x501119[_0x2a0fa1(_0x7961e0._0x46338c,-_0x7961e0._0x546792)](_0x554fb4[_0x2a0fa1(_0x7961e0._0x2f2f18,_0x7961e0._0x258592)]?.[_0x2a0fa1(-_0x7961e0._0x51fdcc,-_0x7961e0._0x210870)]?.[_0x2a0fa1(_0x7961e0._0x237f86,0x51f)],_0x501119[_0x12c43f(_0x7961e0._0x309db6,_0x7961e0._0xf979da)])?_0x554fb4[_0x12c43f(_0x7961e0._0x9ceb94,_0x7961e0._0x5b225a)][_0x12c43f(_0x7961e0._0x392f3d,_0x7961e0._0x183fe8)][_0x12c43f(0x770,0x7fb)]:null,_0x94a885=readConfiguredSecret(_0x554fb4[_0x12c43f(_0x7961e0._0x222994,0x3e4)]?.[_0x2a0fa1(-_0x7961e0._0x51fdcc,0x1e)]?.[_0x12c43f(_0x7961e0._0x5a6461,0x504)])??readGatewayTokenEnv(),_0x28f7ae=_0x501119[_0x12c43f(0x702,_0x7961e0._0xcd1cee)](readConfiguredSecret,_0x554fb4[_0x12c43f(0x52a,0x75e)]?.[_0x2a0fa1(-_0x7961e0._0x51fdcc,-_0x7961e0._0xcbd5a9)]?.['password'])??readGatewayPasswordEnv(),_0x168a20={};return _0x168a20[_0x2a0fa1(-0x210,-0x39)+'und']=!![],_0x168a20[_0x12c43f(0x58e,_0x7961e0._0x2836c8)+_0x12c43f(_0x7961e0._0x5b344d,0x648)]=_0x26c1d9,_0x168a20[_0x2a0fa1(-0x144,-0x197)]=_0x4cde5e,_0x168a20[_0x12c43f(_0x7961e0._0x138b2e,_0x7961e0._0x364070)]=_0x94a885,_0x168a20[_0x2a0fa1(0x105,0x30b)]=_0x28f7ae,_0x168a20;}catch{return{'configFound':!![],'gatewayPort':null,'authMode':null,'token':readGatewayTokenEnv(),'password':_0x501119['FwJZe'](readGatewayPasswordEnv)};}}function resolveGatewayAuth(){const _0x50e5ae={_0x4698b6:0x72c,_0xd930e9:0x983,_0x50aea3:0x57d,_0xa897f3:0x203,_0x1e441f:0x78e,_0x6316bd:0x9fc,_0xa3bab4:0x20e,_0x459744:0xe2,_0x1d48e3:0x167,_0x48e5f6:0x7d6,_0x1b69d3:0x84e,_0x2b7e86:0x9f6,_0x24bbe8:0x6bf,_0x304132:0x621,_0x3c1132:0x991,_0x2a6ed7:0x826,_0x1f1eee:0x1ae,_0x107f80:0x250,_0x5988ba:0x71,_0x967baa:0x4f6,_0x2ced47:0x5e4,_0x50fe85:0x8c9,_0x3062eb:0x302,_0x2d4004:0x66,_0x30110c:0x44,_0x317be9:0x2ef,_0x248dec:0x203,_0x2c1504:0x70a,_0xb488fe:0x82d,_0x1da9f6:0x75e},_0x325015={_0x2627a7:0x567},_0x5a0361={_0x651fd1:0x15f},_0x4a22d7={};_0x4a22d7[_0x2fe023(_0x50e5ae._0x4698b6,_0x50e5ae._0xd930e9)]=function(_0x330346,_0xd7b600){return _0x330346&&_0xd7b600;},_0x4a22d7['LGwMa']=_0x2fe023(_0x50e5ae._0x50aea3,0x82d);const _0x4db6f4=_0x4a22d7,_0x2ef5a6=readOpenClawInfo(),_0xdd827f=_0x2ef5a6[_0x16b9fb(0x2a8,_0x50e5ae._0xa897f3)],_0x5a084e=_0x2ef5a6[_0x2fe023(_0x50e5ae._0x1e441f,0x82d)];if(_0x4db6f4[_0x2fe023(_0x50e5ae._0x6316bd,_0x50e5ae._0xd930e9)](_0xdd827f,_0x5a084e)&&_0x2ef5a6[_0x16b9fb(-_0x50e5ae._0xa3bab4,-_0x50e5ae._0x459744)]==null){const _0x54115e={};return _0x54115e[_0x16b9fb(0x398,0x203)]=_0xdd827f,_0x54115e[_0x16b9fb(0x82,_0x50e5ae._0x1d48e3)]=_0x5a084e,_0x54115e['label']=_0x16b9fb(0xa5,_0x50e5ae._0xa897f3),_0x54115e[_0x2fe023(_0x50e5ae._0x48e5f6,0x70f)]='OpenClaw'+'\x20has\x20bot'+_0x16b9fb(-0x294,-0xcf)+_0x2fe023(_0x50e5ae._0x1b69d3,_0x50e5ae._0x2b7e86)+'and\x20pass'+'word\x20con'+_0x2fe023(_0x50e5ae._0x24bbe8,_0x50e5ae._0x304132)+'\x20but\x20gat'+_0x16b9fb(0x3cc,0x29c)+_0x2fe023(_0x50e5ae._0x3c1132,_0x50e5ae._0x2a6ed7)+_0x16b9fb(0x48e,_0x50e5ae._0x1f1eee)+'\x20Set\x20the'+_0x16b9fb(_0x50e5ae._0x107f80,_0x50e5ae._0x5988ba)+'\x20token\x20o'+'r\x20passwo'+'rd\x20befor'+_0x2fe023(0xae8,0x8bf)+'g.',_0x54115e;}if(_0x2ef5a6[_0x2fe023(_0x50e5ae._0x967baa,_0x50e5ae._0x2ced47)]===_0x16b9fb(-0x10b,0x167)){const _0x3404af={};return _0x3404af[_0x2fe023(0x9c5,_0x50e5ae._0x50fe85)]=null,_0x3404af[_0x16b9fb(_0x50e5ae._0x3062eb,0x167)]=null,_0x3404af[_0x16b9fb(_0x50e5ae._0x2d4004,_0x50e5ae._0x30110c)]=null,_0x5a084e?{'token':null,'password':_0x5a084e,'label':'password'}:_0x3404af;}if(_0x2ef5a6[_0x16b9fb(-0x8f,-_0x50e5ae._0x459744)]===_0x16b9fb(_0x50e5ae._0x317be9,0x203)){const _0x57bdeb={};return _0x57bdeb[_0x2fe023(0xa97,_0x50e5ae._0x50fe85)]=null,_0x57bdeb['password']=null,_0x57bdeb['label']=null,_0xdd827f?{'token':_0xdd827f,'password':null,'label':'token'}:_0x57bdeb;}if(_0xdd827f){const _0xa5c210={};return _0xa5c210[_0x2fe023(0x94d,_0x50e5ae._0x50fe85)]=_0xdd827f,_0xa5c210[_0x16b9fb(-0xc7,0x167)]=null,_0xa5c210[_0x16b9fb(-0x16,0x44)]='token',_0xa5c210;}if(_0x5a084e){const _0x2e6faa={};return _0x2e6faa[_0x16b9fb(0x505,_0x50e5ae._0x248dec)]=null,_0x2e6faa['password']=_0x5a084e,_0x2e6faa[_0x2fe023(0x434,_0x50e5ae._0x2c1504)]=_0x4db6f4['LGwMa'],_0x2e6faa;}const _0x4a55b0={};_0x4a55b0[_0x16b9fb(0x148,0x203)]=null,_0x4a55b0[_0x2fe023(0xb2a,_0x50e5ae._0xb488fe)]=null;function _0x2fe023(_0x39838e,_0x3668c6){return _0x341e52(_0x3668c6-_0x5a0361._0x651fd1,_0x39838e);}function _0x16b9fb(_0x4bae1e,_0x3203a0){return _0x341e52(_0x3203a0- -_0x325015._0x2627a7,_0x4bae1e);}return _0x4a55b0[_0x2fe023(_0x50e5ae._0x1da9f6,0x70a)]=null,_0x4a55b0;}function getOpenClawConfigDir(){return resolveOpenClawPaths()['configDi'+'r'];}function getOpenClawStateDir(){function _0x1f8d10(_0x443a7a,_0x33411a){return _0x341e52(_0x33411a- -0xd6,_0x443a7a);}return resolveOpenClawPaths()[_0x1f8d10(0x7e8,0x4fa)];}function getOpenClawMediaDir(){const _0x2cd796={_0xbb1c60:0x1a0};function _0x2161b2(_0x493f2c,_0x2489e5){return _0x341e52(_0x2489e5- -_0x2cd796._0xbb1c60,_0x493f2c);}return resolveOpenClawPaths()[_0x2161b2(0x4c4,0x2e6)];}async function configureOpenClawLanAccess(_0x176f7d){const _0xa6abfd={_0x447f59:0x96,_0x3cac84:0x400,_0x29e90e:0x253,_0x4933dc:0x32,_0x25e31a:0x2c5,_0x12df27:0x3ba,_0x5b6ce3:0x3fa,_0x3fb950:0x4f5,_0x26cb90:0x260,_0x41bde4:0x116,_0x137068:0x44,_0x23b33f:0x5e3,_0x3fc702:0x386,_0x396ef0:0x3cb,_0x2a6da5:0x1d7,_0xb9170:0x706,_0x3607da:0x493,_0x5c549a:0x191,_0x156d28:0x78,_0x163077:0x265,_0x5d62a6:0x2b9,_0x16b184:0x4d1,_0x5c70f8:0x705,_0x24239c:0x909,_0x1fc66f:0x38e,_0x2b9ad7:0x1d4,_0x6191:0x3b4,_0x415a54:0x63c,_0xc531cb:0x589,_0x456db5:0x6f5,_0x37bf2f:0x5e8,_0x57e8fb:0x6cf,_0x1b8668:0x86f,_0xd1c8d:0x8a9,_0xcc1cd1:0x2f0},_0x4cf954={'zRxRE':function(_0x1bc0c2){return _0x1bc0c2();},'jzWvX':function(_0x2babb7,_0x457e47){return _0x2babb7(_0x457e47);},'nMzpX':function(_0x220fae,_0x5bdcf1,_0x3a6ffc){return _0x220fae(_0x5bdcf1,_0x3a6ffc);},'OpVQs':function(_0x44eec7,_0xc277d6){return _0x44eec7(_0xc277d6);},'PStZg':'set','ZUwBs':function(_0x25a044,_0x71c94f,_0x5f90f5){return _0x25a044(_0x71c94f,_0x5f90f5);},'EJfCH':function(_0xd84245,_0x2c160e){return _0xd84245!==_0x2c160e;},'OCMUO':_0x2b8875(-_0xa6abfd._0x447f59,-0x286),'UeQEP':'--strict'+'-json'},_0x2752a7=_0x4cf954[_0x40d9e5(0x424,_0xa6abfd._0x3cac84)](resolveOpenClawPaths);if(!_0x4cf954[_0x2b8875(-_0xa6abfd._0x29e90e,_0xa6abfd._0x4933dc)](_0x57e205,_0x2752a7[_0x2b8875(_0xa6abfd._0x25e31a,_0xa6abfd._0x12df27)+'th']))throw new Error(_0x40d9e5(_0xa6abfd._0x5b6ce3,0x5aa)+_0x40d9e5(0x3af,_0xa6abfd._0x3fb950)+_0x40d9e5(0x40f,0x1e0)+'found\x20at'+'\x20'+_0x2752a7[_0x40d9e5(0x6cf,0x92c)+'th']+(_0x40d9e5(0x495,0x75f)+'enClaw\x20s'+_0x2b8875(-0xd7,-0xf6)+_0x2b8875(_0xa6abfd._0x26cb90,0x2ca)+_0x40d9e5(0x547,0x4c7)+_0x2b8875(0x305,_0xa6abfd._0x41bde4)+_0x2b8875(-_0xa6abfd._0x137068,0xed)));const _0x4265ea=normalizeControlUiOrigin(_0x176f7d[_0x40d9e5(0x3b4,0x28d)+_0x2b8875(-0x41,0x22a)]),_0x1b128c=await _0x4cf954['nMzpX'](readOpenClawConfigString,_0x2b8875(0x38e,0x49b)+_0x40d9e5(0x658,0x6c5),_0x2752a7),_0x1e9b22=await _0x4cf954[_0x40d9e5(0x3fe,_0xa6abfd._0x23b33f)](readOpenClawAllowedOrigins,_0x2752a7);let _0x4eb122=![];_0x1b128c!==_0x40d9e5(_0xa6abfd._0x3fc702,0x224)&&(await _0x4cf954[_0x40d9e5(_0xa6abfd._0x396ef0,_0xa6abfd._0x2a6da5)](runOpenClawCli,[_0x40d9e5(0x374,0x33f),_0x4cf954[_0x40d9e5(0x6b7,_0xa6abfd._0xb9170)],_0x40d9e5(0x798,_0xa6abfd._0x3607da)+'bind','lan'],_0x2752a7),_0x4eb122=!![]);function _0x40d9e5(_0x1ad21b,_0x104fd7){return _0x35d151(_0x104fd7,_0x1ad21b-0xd6);}const _0x564e01=_0x4cf954[_0x2b8875(0x152,_0xa6abfd._0x5c549a)](appendUniqueOrigin,_0x1e9b22,_0x4265ea),_0x2a374d=_0x4cf954[_0x2b8875(-_0xa6abfd._0x156d28,-_0xa6abfd._0x163077)](_0x564e01[_0x40d9e5(0x6c3,0x87f)],_0x1e9b22[_0x2b8875(_0xa6abfd._0x5d62a6,_0xa6abfd._0x16b184)]);_0x2a374d&&await runOpenClawCli([_0x4cf954[_0x40d9e5(_0xa6abfd._0x5c70f8,_0xa6abfd._0x24239c)],'set',_0x2b8875(_0xa6abfd._0x1fc66f,_0xa6abfd._0x2b9ad7)+_0x40d9e5(_0xa6abfd._0x6191,_0xa6abfd._0x415a54)+_0x40d9e5(_0xa6abfd._0xc531cb,0x468)+'dOrigins',JSON[_0x2b8875(0x1c8,0x443)+'y'](_0x564e01),_0x4cf954[_0x40d9e5(_0xa6abfd._0x456db5,_0xa6abfd._0x37bf2f)]],_0x2752a7);function _0x2b8875(_0x495233,_0x59697c){return _0x35d151(_0x59697c,_0x495233- -0x334);}const _0x411100={};return _0x411100['configPa'+'th']=_0x2752a7[_0x40d9e5(_0xa6abfd._0x57e8fb,_0xa6abfd._0x1b8668)+'th'],_0x411100[_0x2b8875(0x25a,0x2a0)+_0x40d9e5(0x778,_0xa6abfd._0xd1c8d)]=_0x4eb122,_0x411100['allowedO'+_0x2b8875(0x28f,0x148)+'ed']=_0x2a374d,_0x411100[_0x2b8875(-0x1f1,-0x12a)+'rigins']=_0x564e01,_0x411100[_0x2b8875(-0x56,-_0xa6abfd._0xcc1cd1)+'iOrigin']=_0x4265ea,_0x411100;}async function restartOpenClawGateway(){const _0x53e551={_0x4ac002:0x236,_0x3b7c64:0x1da,_0x2fcda0:0x367,_0x125d75:0x42f,_0x5ac613:0x1b3,_0xd579b:0x547,_0xc2185c:0x2af,_0x39ce93:0x452,_0x4aedb1:0x535,_0x1aeabf:0x316,_0x236186:0x44a,_0x785b0e:0x66d,_0x860083:0x254,_0x1da7b4:0x2ba,_0x1f5f24:0xd4,_0x3bea7b:0x99,_0x4c1299:0xd4,_0x102cbe:0x114,_0x1633d2:0x2ca,_0x32cd6e:0x6ad,_0x14dec6:0x15c,_0x373700:0x4f6,_0x121ce8:0x8c,_0x511028:0xd4,_0x4735a7:0x2a8,_0x4406b2:0x86,_0x3c242f:0x4a,_0x29da24:0x212},_0x260348={_0x409c74:0x341},_0x51acab={'omLkj':'not-load'+'ed','uqpdn':_0x734730(0x449,_0x53e551._0x4ac002),'wnzNc':_0x734730(_0x53e551._0x3b7c64,0x3af),'tCtHH':function(_0x38bddb,_0x17ecc9){return _0x38bddb===_0x17ecc9;},'oWFlR':function(_0xe0b18a,_0x51e836){return _0xe0b18a(_0x51e836);},'jMtHK':_0x42dace(0x3d0,0x508)+'d'};function _0x42dace(_0x24009a,_0x1cb4c7){return _0x341e52(_0x24009a- -_0x260348._0x409c74,_0x1cb4c7);}const _0x25193a=resolveOpenClawPaths(),_0x404417=await runOpenClawDaemonCommand([_0x42dace(_0x53e551._0x2fcda0,0x418),_0x734730(0x294,0x513),_0x734730(_0x53e551._0x125d75,0x3af)],_0x25193a);if(_0x404417[_0x734730(_0x53e551._0x5ac613,0x2ba)]===_0x51acab[_0x42dace(0x2ab,_0x53e551._0xd579b)]){const _0x478e18=await runOpenClawDaemonCommand([_0x734730(0x19e,_0x53e551._0xc2185c),_0x51acab[_0x734730(0x17e,_0x53e551._0x39ce93)],_0x51acab['wnzNc']],_0x25193a);if(_0x51acab[_0x42dace(0x393,_0x53e551._0x4aedb1)](_0x478e18['result'],_0x734730(_0x53e551._0x1aeabf,0x17e)+'ed'))throw new Error(_0x51acab[_0x42dace(0x5a1,_0x53e551._0x236186)](buildGatewayNotLoadedMessage,_0x478e18));const _0x9bc7f9={};return _0x9bc7f9[_0x42dace(0x5af,_0x53e551._0x785b0e)]=_0x734730(_0x53e551._0x860083,0x6a),_0x9bc7f9[_0x734730(0xa1,_0x53e551._0x1da7b4)]=_0x478e18['result']??_0x734730(0x144,0x6a),_0x9bc7f9[_0x42dace(_0x53e551._0x1f5f24,-_0x53e551._0x3bea7b)]=_0x478e18[_0x42dace(_0x53e551._0x4c1299,_0x53e551._0x102cbe)],_0x9bc7f9[_0x42dace(_0x53e551._0x1633d2,0x36d)]=_0x478e18['warnings'],_0x9bc7f9;}const _0xb5e054={};function _0x734730(_0x5cf617,_0x401efb){return _0x341e52(_0x401efb- -0x3f9,_0x5cf617);}return _0xb5e054[_0x42dace(0x5af,_0x53e551._0x32cd6e)]=_0x734730(_0x53e551._0x14dec6,0x318)+'d',_0xb5e054[_0x734730(_0x53e551._0x373700,0x2ba)]=_0x404417[_0x734730(0x3ad,_0x53e551._0x1da7b4)]??_0x51acab[_0x42dace(0x1c9,-_0x53e551._0x121ce8)],_0xb5e054[_0x42dace(_0x53e551._0x511028,-0x66)]=_0x404417[_0x734730(_0x53e551._0x4735a7,0x1c)],_0xb5e054[_0x734730(-_0x53e551._0x4406b2,0x212)]=_0x404417[_0x734730(-_0x53e551._0x3c242f,_0x53e551._0x29da24)],_0xb5e054;}function getOpenClawBootstrapPath(_0x57e2b1=getOpenClawStateDir()){return _0x4cb7e2(_0x57e2b1,'devices',BOOTSTRAP_FILENAME);}async function issueOpenClawBootstrapToken(_0x4cbcad){const _0x263942={_0x4f2308:0x86f,_0x726351:0x16d,_0x2e8c3d:0x36,_0x50979c:0x7eb,_0x3ff491:0x8cc,_0x4764fd:0xa43,_0x290457:0xb9,_0x197ce3:0x147,_0x216d7a:0x20c,_0x405150:0x980},_0x125c6c={_0x4d4c57:0x318,_0x1c67af:0x1aa,_0x1f943c:0x130,_0x52e5c2:0x2fd,_0x800189:0x3cb,_0x5b841c:0x314},_0x2a0f1c={_0x294479:0x3f6},_0xe01d1b={_0x1ccd7a:0x351},_0x54f904={'cCzxd':function(_0x55da4c,_0x206a31,_0x1fa290){return _0x55da4c(_0x206a31,_0x1fa290);}},_0xe55053=_0x4cbcad[_0x4bb948(_0x263942._0x4f2308,0xa43)][_0x7a0bed(_0x263942._0x726351,_0x263942._0x2e8c3d)]();function _0x7a0bed(_0x33c7b3,_0x1a43f0){return _0x35d151(_0x33c7b3,_0x1a43f0- -_0xe01d1b._0x1ccd7a);}function _0x4bb948(_0x26c572,_0x2e1909){return _0x35d151(_0x26c572,_0x2e1909-_0x2a0f1c._0x294479);}const _0x4aeae5=_0x4cbcad[_0x7a0bed(0x11a,0xdc)+'y']['trim'](),_0x3956e0=_0x4cbcad[_0x7a0bed(0x2e3,0xe4)][_0x7a0bed(-0x12a,0x36)](),_0x1807e5=normalizeStringArray(_0x4cbcad[_0x4bb948(0xa3b,_0x263942._0x50979c)]);if(!_0xe55053||!_0x4aeae5||!_0x3956e0||_0x1807e5['length']===0x0)throw new Error(_0x4bb948(_0x263942._0x3ff491,_0x263942._0x4764fd)+_0x4bb948(0xa82,0xa5a)+_0x7a0bed(_0x263942._0x290457,-0x1a)+_0x4bb948(0x7e3,0x7f4)+_0x7a0bed(-_0x263942._0x197ce3,-_0x263942._0x216d7a)+_0x4bb948(0x715,_0x263942._0x405150)+'ed');return await withBootstrapLock(async()=>{const _0x4a62e9={_0x22bd35:0x315},_0x164f19=_0x4cbcad[_0x1feae1(0xd6,_0x125c6c._0x4d4c57)]??getOpenClawStateDir();function _0xc0fe20(_0x4dc538,_0x281a90){return _0x7a0bed(_0x281a90,_0x4dc538-0x160);}const _0x443ec4=getOpenClawBootstrapPath(_0x164f19),_0x2f0d94=await loadBootstrapState(_0x443ec4),_0x51dfb6=generatePairingToken();function _0x1feae1(_0x213ddc,_0x31bd0e){return _0x7a0bed(_0x213ddc,_0x31bd0e-_0x4a62e9._0x22bd35);}const _0x422fb0=Date[_0x1feae1(_0x125c6c._0x1c67af,_0x125c6c._0x1f943c)]();_0x2f0d94[_0x51dfb6]={'token':_0x51dfb6,'ts':_0x422fb0,'deviceId':_0xe55053,'publicKey':_0x4aeae5,'roles':[_0x3956e0],'scopes':_0x1807e5,'issuedAtMs':_0x422fb0},await _0x54f904[_0x1feae1(0x508,0x25b)](writeJsonAtomic,_0x443ec4,_0x2f0d94);const _0x1ca382={};return _0x1ca382[_0xc0fe20(_0x125c6c._0x52e5c2,0xba)]=_0x51dfb6,_0x1ca382['expiresA'+'tMs']=_0x422fb0+DEVICE_BOOTSTRAP_TOKEN_TTL_MS,_0x1ca382[_0xc0fe20(_0x125c6c._0x800189,_0x125c6c._0x5b841c)+'h']=_0x443ec4,_0x1ca382;});}function readConfiguredSecret(_0x223e94){const _0x25d31b={_0x4a7d4f:0x651,_0x1bea56:0x53d,_0x52734f:0x651},_0x3b5848={_0x33555d:0xf2};function _0x1eae88(_0x557a4d,_0x703cad){return _0x35d151(_0x557a4d,_0x703cad-0x2ca);}function _0x133db4(_0xa8c123,_0x7421f3){return _0x35d151(_0xa8c123,_0x7421f3-_0x3b5848._0x33555d);}return typeof _0x223e94==='string'&&_0x223e94[_0x1eae88(0x660,_0x25d31b._0x4a7d4f)]()?_0x223e94[_0x1eae88(_0x25d31b._0x1bea56,_0x25d31b._0x52734f)]():null;}async function readOpenClawConfigString(_0x4a8429,_0x59c050=resolveOpenClawPaths()){const _0x525b1b={_0x4b49ac:0x563,_0x10fee7:0x697},_0x1e4029={_0x35b6b9:0xa0};function _0x26371f(_0xdded66,_0x2b6b6d){return _0x341e52(_0xdded66- -0x13e,_0x2b6b6d);}const _0x66ce26={};_0x66ce26[_0x26371f(0x5c8,0x5ea)]=function(_0x462f31,_0x40a669){return _0x462f31||_0x40a669;};function _0x3a3a21(_0x2d0849,_0x4bb577){return _0x341e52(_0x2d0849- -_0x1e4029._0x35b6b9,_0x4bb577);}const _0x1731f2=_0x66ce26;try{const {stdout:_0xa9f975}=await runOpenClawCli(['config','get',_0x4a8429],_0x59c050),_0x3b587c=_0xa9f975[_0x3a3a21(_0x525b1b._0x4b49ac,_0x525b1b._0x10fee7)]();return _0x1731f2[_0x3a3a21(0x666,0x73b)](_0x3b587c,null);}catch(_0x382a0e){if(isMissingConfigPathError(_0x382a0e))return null;throw _0x382a0e;}}async function readOpenClawAllowedOrigins(_0x1a5295=resolveOpenClawPaths()){const _0x46b8a4={_0x1ef4d3:0x546,_0x109022:0x256,_0x149053:0x71d,_0x1d00a6:0x96f,_0x22f588:0x7a1,_0x43e032:0x3a4},_0x4c2a59={_0x5abd2f:0x7},_0x554ba4={_0x20bee0:0x2b3};function _0xf49a6a(_0x2ed292,_0x9e44d1){return _0x341e52(_0x2ed292- -_0x554ba4._0x20bee0,_0x9e44d1);}const _0x1b0ec2={'iiOhZ':function(_0x4d8373,_0x153582){return _0x4d8373(_0x153582);}};function _0x2ec098(_0x11a1c5,_0x2bfdc2){return _0x341e52(_0x2bfdc2- -_0x4c2a59._0x5abd2f,_0x11a1c5);}try{const {stdout:_0x5485e8}=await runOpenClawCli(['config',_0xf49a6a(0x610,0x53f),'gateway.'+_0xf49a6a(0x2a7,_0x46b8a4._0x1ef4d3)+_0xf49a6a(0x47c,_0x46b8a4._0x109022)+_0x2ec098(_0x46b8a4._0x149053,0x6fc),_0x2ec098(_0x46b8a4._0x1d00a6,_0x46b8a4._0x22f588)],_0x1a5295),_0x605b6e=_0x1b0ec2[_0x2ec098(0x6df,0x958)](parseEmbeddedJsonValue,_0x5485e8);return Array[_0x2ec098(0x74d,0x44f)](_0x605b6e)?_0x605b6e['filter'](_0x4d6d9e=>typeof _0x4d6d9e===_0xf49a6a(0x127,0x144))[_0x2ec098(_0x46b8a4._0x43e032,0x3a5)](_0x2119aa=>_0x2119aa[_0xf49a6a(0x350,0x4b2)]())['filter'](Boolean):[];}catch(_0x43713a){if(isMissingConfigPathError(_0x43713a))return[];throw _0x43713a;}}function _0x1fba(_0x195bfa,_0x4512f3){_0x195bfa=_0x195bfa-0x13f;const _0x1c02a0=_0x1876();let _0x5726ab=_0x1c02a0[_0x195bfa];if(_0x1fba['WDJDxY']===undefined){var _0x3fec44=function(_0x4a0909){const _0x31c4be='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x173271='',_0x5ac91e='',_0x414904=_0x173271+_0x3fec44;for(let _0x11e45d=0x0,_0x345389,_0x1b4cd2,_0x3b27b9=0x0;_0x1b4cd2=_0x4a0909['charAt'](_0x3b27b9++);~_0x1b4cd2&&(_0x345389=_0x11e45d%0x4?_0x345389*0x40+_0x1b4cd2:_0x1b4cd2,_0x11e45d++%0x4)?_0x173271+=_0x414904['charCodeAt'](_0x3b27b9+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x345389>>(-0x2*_0x11e45d&0x6)):_0x11e45d:0x0){_0x1b4cd2=_0x31c4be['indexOf'](_0x1b4cd2);}for(let _0x313280=0x0,_0x4b8985=_0x173271['length'];_0x313280<_0x4b8985;_0x313280++){_0x5ac91e+='%'+('00'+_0x173271['charCodeAt'](_0x313280)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x5ac91e);};_0x1fba['bVxmbE']=_0x3fec44,_0x1fba['xhFNlG']={},_0x1fba['WDJDxY']=!![];}const _0x187645=_0x1c02a0[0x0],_0x1fbab1=_0x195bfa+_0x187645,_0x294128=_0x1fba['xhFNlG'][_0x1fbab1];if(!_0x294128){const _0x4e5008=function(_0x515ca9){this['MtTXQG']=_0x515ca9,this['PSVEqf']=[0x1,0x0,0x0],this['biILYU']=function(){return'newState';},this['FOAsIB']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['KVNPPj']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x4e5008['prototype']['CrMseH']=function(){const _0x511a74=new RegExp(this['FOAsIB']+this['KVNPPj']),_0x1f3bc0=_0x511a74['test'](this['biILYU']['toString']())?--this['PSVEqf'][0x1]:--this['PSVEqf'][0x0];return this['pKiIVW'](_0x1f3bc0);},_0x4e5008['prototype']['pKiIVW']=function(_0x11b731){if(!Boolean(~_0x11b731))return _0x11b731;return this['shfLnt'](this['MtTXQG']);},_0x4e5008['prototype']['shfLnt']=function(_0x400002){for(let _0x51359b=0x0,_0x3094f5=this['PSVEqf']['length'];_0x51359b<_0x3094f5;_0x51359b++){this['PSVEqf']['push'](Math['round'](Math['random']())),_0x3094f5=this['PSVEqf']['length'];}return _0x400002(this['PSVEqf'][0x0]);},new _0x4e5008(_0x1fba)['CrMseH'](),_0x5726ab=_0x1fba['bVxmbE'](_0x5726ab),_0x1fba['xhFNlG'][_0x1fbab1]=_0x5726ab;}else _0x5726ab=_0x294128;return _0x5726ab;}async function runOpenClawDaemonCommand(_0x500ce3,_0x49a8eb=resolveOpenClawPaths()){const _0x173eac={_0x5c0a26:0x444,_0x437c7b:0x25f,_0x52ee9c:0x250,_0x4004a0:0x477,_0x471e71:0x2e9,_0x269ce9:0x42d,_0x40d869:0x6eb,_0xa71bb:0x794,_0x577292:0x21d,_0x14ca82:0x3f8,_0x3cd2ed:0x48a,_0xa1eec1:0x42d,_0x56f7bf:0xd8,_0x1726c9:0x393,_0x447423:0x444,_0x40c8b7:0x589,_0x576c79:0x5c7,_0x3d22a7:0x9be,_0xb02070:0x184,_0x77fbb8:0x350,_0x1b27fb:0x2ec,_0x3feccc:0x44a,_0x46c1b0:0x11a,_0x373a5d:0x275,_0x1da8dc:0x6b9,_0x5b50cc:0x656,_0x3c2fde:0x2a6,_0x261e78:0x161,_0x4a558d:0x27a,_0x19f77d:0x139,_0x238da1:0x53f,_0x2d0b15:0x46b},_0x50f79f={_0x4c022b:0x153};function _0x8d9c5b(_0x655475,_0x32f8d5){return _0x35d151(_0x32f8d5,_0x655475-_0x50f79f._0x4c022b);}const _0x2fd300={};_0x2fd300[_0x8d9c5b(_0x173eac._0x5c0a26,0x3d1)]=function(_0x29bbd3,_0x58fd4f){return _0x29bbd3===_0x58fd4f;},_0x2fd300[_0x9136c1(0x416,0x36d)]=_0x9136c1(-0x155,-_0x173eac._0x437c7b);const _0x4973f0=_0x2fd300,{stdout:_0x3e41de}=await runOpenClawCli(_0x500ce3,_0x49a8eb);let _0x482f33;try{_0x482f33=parseEmbeddedJsonValue(_0x3e41de);}catch(_0x2358e6){const _0x5a0352={};_0x5a0352[_0x9136c1(_0x173eac._0x52ee9c,0x44d)]=_0x2358e6;throw new Error(_0x8d9c5b(_0x173eac._0x4004a0,0x2ed)+'\x20'+_0x500ce3[_0x8d9c5b(_0x173eac._0x471e71,0x12a)](0x0,0x2)[_0x9136c1(_0x173eac._0x269ce9,_0x173eac._0x40d869)]('\x20')+('\x20returne'+'d\x20invali'+_0x8d9c5b(0x683,_0x173eac._0xa71bb)+_0x9136c1(_0x173eac._0x577292,0x419)),_0x5a0352);}if(_0x482f33['ok']!==!![])throw new Error(_0x482f33[_0x8d9c5b(0x487,_0x173eac._0x14ca82)]?.['trim']()||'OpenClaw'+'\x20'+_0x500ce3[_0x8d9c5b(0x2e9,_0x173eac._0x3cd2ed)](0x0,0x2)[_0x9136c1(_0x173eac._0xa1eec1,0x1ef)]('\x20')+_0x9136c1(-_0x173eac._0x56f7bf,-_0x173eac._0x1726c9));function _0x9136c1(_0x4e64aa,_0x40aee0){return _0x35d151(_0x40aee0,_0x4e64aa- -0x2b3);}return{'result':_0x4973f0[_0x8d9c5b(_0x173eac._0x447423,_0x173eac._0x40c8b7)](typeof _0x482f33[_0x8d9c5b(0x58a,_0x173eac._0x576c79)],_0x4973f0[_0x8d9c5b(0x81c,_0x173eac._0x3d22a7)])?_0x482f33[_0x9136c1(_0x173eac._0xb02070,_0x173eac._0x77fbb8)]:void 0x0,'message':typeof _0x482f33[_0x8d9c5b(_0x173eac._0x1b27fb,0x17a)]===_0x8d9c5b(0x2b1,_0x173eac._0x3feccc)?_0x482f33[_0x9136c1(-_0x173eac._0x46c1b0,-_0x173eac._0x373a5d)]:null,'warnings':Array['isArray'](_0x482f33[_0x8d9c5b(0x4e2,_0x173eac._0x1da8dc)])?_0x482f33[_0x8d9c5b(0x4e2,_0x173eac._0x5b50cc)][_0x8d9c5b(_0x173eac._0x3c2fde,_0x173eac._0x261e78)](_0x8f80fb=>typeof _0x8f80fb===_0x8d9c5b(0x2b1,0x3)):[],'hints':Array[_0x8d9c5b(0x32d,_0x173eac._0x4a558d)](_0x482f33[_0x9136c1(_0x173eac._0x19f77d,0x41d)])?_0x482f33[_0x8d9c5b(_0x173eac._0x238da1,0x402)][_0x9136c1(-0x160,-_0x173eac._0x2d0b15)](_0x4e099a=>typeof _0x4e099a===_0x9136c1(-0x155,-0x181)):[]};}async function runOpenClawCli(_0x546583,_0xd1909e=resolveOpenClawPaths()){const _0x272e8f={_0x1ecc58:0x56,_0x2713f7:0x1c3,_0x66429c:0x136,_0x5b9474:0x18f,_0x225da0:0x149,_0x3ee8f5:0x3db,_0x2f706f:0x1e5,_0x322438:0x1df,_0x34471d:0x32,_0x176ca6:0x3};try{return await new Promise((_0x45d08a,_0x173020)=>{const _0x287599={_0x441cfa:0x959,_0x1c4156:0x4a6};function _0x273262(_0x989ba,_0x45069d){return _0x1fba(_0x45069d- -0x286,_0x989ba);}const _0x490d2a={...process.env};_0x490d2a['OPENCLAW'+_0x2fad44(-_0x272e8f._0x1ecc58,0x22d)+'IR']=_0xd1909e[_0x273262(-_0x272e8f._0x2713f7,_0x272e8f._0x66429c)],_0x490d2a[_0x2fad44(_0x272e8f._0x5b9474,_0x272e8f._0x225da0)+'_CONFIG_'+'PATH']=_0xd1909e[_0x273262(0x225,_0x272e8f._0x3ee8f5)+'th'];const _0x131dac={};_0x131dac[_0x2fad44(-0x3b5,-_0x272e8f._0x2f706f)]=_0x273262(0x2a8,_0x272e8f._0x322438),_0x131dac[_0x2fad44(_0x272e8f._0x34471d,-_0x272e8f._0x176ca6)]=_0x490d2a,_0x131dac['maxBuffe'+'r']=0x400*0x400;function _0x2fad44(_0x32f379,_0x19ab0a){return _0x1fba(_0x19ab0a- -0x348,_0x32f379);}execFile(OPENCLAW_CLI_COMMAND,_0x546583,_0x131dac,(_0x33f501,_0x10c9a7,_0x21aaa8)=>{const _0x44a167={_0xcc1a6c:0x4e9};if(_0x33f501){const _0x23d62a={};_0x23d62a[_0x43768d(0x333,0x1c9)]=_0x10c9a7,_0x23d62a[_0xe6285d(0x8c7,_0x287599._0x441cfa)]=_0x21aaa8,Object['assign'](_0x33f501,_0x23d62a),_0x173020(_0x33f501);return;}function _0x43768d(_0x51ad91,_0x22d6de){return _0x2fad44(_0x22d6de,_0x51ad91-_0x44a167._0xcc1a6c);}const _0x40ed95={};_0x40ed95[_0xe6285d(_0x287599._0x1c4156,0x3c2)]=_0x10c9a7,_0x40ed95['stderr']=_0x21aaa8;function _0xe6285d(_0x560608,_0x1df390){return _0x2fad44(_0x1df390,_0x560608-0x65c);}_0x45d08a(_0x40ed95);});});}catch(_0x199757){throw formatOpenClawCliError(_0x546583,_0x199757);}}function formatOpenClawCliError(_0x51b75c,_0x32c087){const _0x19e8ea={_0x28b7bc:0x63c,_0x5c1300:0x238,_0xc53b22:0x406,_0x89baa7:0x43f,_0x399303:0x7b7,_0x115eba:0x5f6,_0x214666:0x66b,_0x4567dc:0x673,_0x256900:0x441,_0x58b5f1:0x8cd,_0xd982c4:0x6a3,_0xe068a:0x173,_0x2f73ea:0x20c,_0x51e405:0x63b,_0x1b0783:0x469,_0x4e4eab:0x643,_0x17926c:0x53c,_0x183ba9:0x4f3},_0x34edcf={_0x332724:0x9c};function _0xc16ed0(_0x23d58f,_0x54e890){return _0x341e52(_0x54e890- -0x19a,_0x23d58f);}const _0x199e7e={};_0x199e7e['IjSts']=function(_0x36d01f,_0x15230a){return _0x36d01f===_0x15230a;};const _0x27e478=_0x199e7e;function _0x6e11c8(_0x2cefa0,_0x239ada){return _0x341e52(_0x2cefa0-_0x34edcf._0x332724,_0x239ada);}const _0x1e8849=_0x6e11c8(_0x19e8ea._0x28b7bc,0x4e7)+'\x20'+_0x51b75c[_0xc16ed0(0x7ee,0x7c2)]('\x20');if(isExecFileError(_0x32c087)){if(_0x27e478['IjSts'](_0x32c087['code'],'ENOENT'))return new Error(_0xc16ed0(_0x19e8ea._0x5c1300,_0x19e8ea._0xc53b22)+_0x6e11c8(0x71b,_0x19e8ea._0x89baa7)+'\x20not\x20fou'+_0x6e11c8(0x5ff,_0x19e8ea._0x399303)+_0x6e11c8(0x8c2,_0x19e8ea._0x115eba)+'all\x20Open'+_0x6e11c8(_0x19e8ea._0x214666,0x70f)+_0xc16ed0(_0x19e8ea._0x4567dc,0x7c9)+'`'+OPENCLAW_CLI_COMMAND+(_0x6e11c8(0x59a,0x719)+'ilable\x20b'+'efore\x20ru'+_0x6e11c8(_0x19e8ea._0x256900,0x39b)+'cal\x20pair'+_0x6e11c8(_0x19e8ea._0x58b5f1,_0x19e8ea._0xd982c4)));const _0x540d41=[_0x32c087[_0x6e11c8(0x863,0x65b)],_0x32c087[_0xc16ed0(_0x19e8ea._0xe068a,_0x19e8ea._0x2f73ea)]][_0x6e11c8(0x46b,0x73e)](_0x2320ef=>typeof _0x2320ef===_0x6e11c8(0x476,0x4b0)&&_0x2320ef[_0x6e11c8(0x69f,0x84b)]()[_0x6e11c8(0x905,0x9f5)]>0x0)['join']('\x0a')[_0xc16ed0(_0x19e8ea._0x51e405,_0x19e8ea._0x1b0783)]();return new Error(_0x540d41?_0x1e8849+(_0xc16ed0(_0x19e8ea._0x4e4eab,_0x19e8ea._0x17926c)+'\x20')+_0x540d41:_0x1e8849+_0x6e11c8(_0x19e8ea._0x183ba9,0x71c));}return _0x32c087 instanceof Error?_0x32c087:new Error(_0x1e8849+('\x20failed:'+'\x20')+String(_0x32c087));}function isMissingConfigPathError(_0x58d35a){const _0x2005ec={_0x44bc3f:0x1e9},_0x11fbe6={_0x347199:0x2d6},_0x4f382b={_0x379c05:0x29b};function _0xf8aaef(_0x1c239c,_0x35d6ce){return _0x35d151(_0x35d6ce,_0x1c239c-_0x4f382b._0x379c05);}function _0x565d1c(_0x3632e1,_0x376ef7){return _0x35d151(_0x376ef7,_0x3632e1- -_0x11fbe6._0x347199);}return _0x58d35a instanceof Error&&/Config path not found:/i[_0x565d1c(0xe4,-0x106)](_0x58d35a[_0x565d1c(-0x13d,-_0x2005ec._0x44bc3f)]);}function isExecFileError(_0x534e5a){return _0x534e5a instanceof Error;}function normalizeControlUiOrigin(_0x2e44d1){function _0x4b53c4(_0x2b3005,_0x1c90e4){return _0x35d151(_0x2b3005,_0x1c90e4-0x41e);}const _0x25e23d=new URL(_0x2e44d1[_0x4b53c4(0x67f,0x7a5)]());return _0x25e23d['origin'];}function appendUniqueOrigin(_0x44df0a,_0xdb4fdf){const _0x104241={_0x4b0ce0:0xa23,_0x4a5c12:0x7f0,_0x29bf3d:0x9d2,_0x1fa5c7:0xa1f,_0x16923c:0xb69,_0x41ea24:0xc43,_0x34c54f:0xbe1,_0x150997:0x95c,_0x1ca743:0x833};function _0x342134(_0x1a0f1a,_0x559c3f){return _0x341e52(_0x1a0f1a-0x11a,_0x559c3f);}const _0x42ad63={'cYOPJ':function(_0x3d5568,_0x44acaf){return _0x3d5568(_0x44acaf);}},_0x161956=normalizeControlUiOrigin(_0xdb4fdf)[_0x342134(0x9d2,0x808)+_0x185efd(_0x104241._0x4b0ce0,_0x104241._0x4a5c12)](),_0x44bf6c=new Set(),_0x3344a5=new Set();function _0x185efd(_0x1b8dec,_0xdb6d35){return _0x341e52(_0x1b8dec-0x120,_0xdb6d35);}const _0x53ce4b=[];for(const _0x1d006e of _0x44df0a){const _0x559265=_0x1d006e['trim']();if(!_0x559265)continue;let _0x24955e;try{_0x24955e=normalizeControlUiOrigin(_0x559265)[_0x342134(_0x104241._0x29bf3d,0xcd0)+'ase']();}catch{const _0x1629eb=_0x559265['toLowerC'+_0x185efd(0xa23,0xc54)]();if(_0x3344a5['has'](_0x1629eb))continue;_0x3344a5[_0x342134(_0x104241._0x1fa5c7,_0x104241._0x16923c)](_0x1629eb),_0x53ce4b[_0x342134(0x9bb,0x6dc)](_0x559265);continue;}if(_0x44bf6c['has'](_0x24955e))continue;_0x44bf6c[_0x185efd(0xa25,0xcdd)](_0x24955e),_0x53ce4b[_0x342134(0x9bb,_0x104241._0x41ea24)](_0x24955e===_0x161956?normalizeControlUiOrigin(_0xdb4fdf):normalizeControlUiOrigin(_0x559265));}return!_0x44bf6c[_0x342134(0xa2b,_0x104241._0x34c54f)](_0x161956)&&_0x53ce4b[_0x185efd(0x9c1,_0x104241._0x150997)](_0x42ad63[_0x342134(0x67a,_0x104241._0x1ca743)](normalizeControlUiOrigin,_0xdb4fdf)),_0x53ce4b;}function buildGatewayNotLoadedMessage(_0x36b347){const _0x54d556={_0x1a8181:0x5ba,_0x2eb54a:0x559,_0xd7550a:0x47,_0x5ced42:0x465,_0x51bdb0:0x3c2,_0x5ede41:0x4ef,_0x136e94:0x34c,_0x30b94a:0x208,_0x5df65c:0x17e,_0x2a5926:0x897,_0x34000c:0x36a,_0x367b78:0x720,_0x499384:0x996,_0x3ea6aa:0x3c7,_0x37fe0d:0x11,_0x53b96c:0x7a6,_0x2d9577:0x49d,_0x456822:0x11,_0x52a446:0x43d,_0x129ade:0x264,_0x984093:0x5bc},_0x35d0e8={_0x57e3d6:0x404},_0x139798={};_0x139798[_0x49b8e7(_0x54d556._0x1a8181,0x51f)]=_0x56d053(0x6ea,_0x54d556._0x2eb54a)+_0x49b8e7(0x293,_0x54d556._0xd7550a)+_0x56d053(_0x54d556._0x5ced42,0x435)+_0x56d053(_0x54d556._0x51bdb0,0x245)+_0x56d053(0x63,0x361)+'wket\x20pai'+_0x49b8e7(_0x54d556._0x5ede41,0x69a)+'l`.';function _0x49b8e7(_0x350a54,_0x5961d9){return _0x341e52(_0x350a54- -0x23b,_0x5961d9);}const _0x597b07=_0x139798;function _0x56d053(_0x406f3b,_0x2b9f19){return _0x341e52(_0x2b9f19- -_0x35d0e8._0x57e3d6,_0x406f3b);}const _0x3f83df=[_0x56d053(0xd3,0x19c)+'\x20Gateway'+_0x49b8e7(0x195,0x1f6)+'running\x20'+'under\x20a\x20'+_0x56d053(_0x54d556._0x136e94,_0x54d556._0x30b94a)+_0x56d053(0x1b5,0x3a3)+_0x49b8e7(0x28e,0x3b5)+_0x49b8e7(0x43b,_0x54d556._0x5df65c)+'d\x20gatewa'+_0x49b8e7(0x63b,_0x54d556._0x2a5926)+_0x56d053(_0x54d556._0x34000c,0x550)+_0x56d053(0x241,0x4ca)+_0x49b8e7(_0x54d556._0x367b78,_0x54d556._0x499384)+_0x56d053(0x3a1,0x29e)+_0x49b8e7(_0x54d556._0x3ea6aa,0x656)];return _0x36b347[_0x56d053(0x1c6,_0x54d556._0x37fe0d)]&&_0x3f83df[_0x56d053(_0x54d556._0x53b96c,_0x54d556._0x2d9577)](_0x36b347[_0x56d053(0x9c,_0x54d556._0x456822)]),_0x36b347['hints']['length']>0x0&&_0x3f83df['push'](_0x36b347[_0x56d053(_0x54d556._0x52a446,_0x54d556._0x129ade)]['join']('\x20')),_0x3f83df[_0x49b8e7(0x666,0x472)](_0x597b07['cIlrz']),_0x3f83df[_0x56d053(_0x54d556._0x984093,0x558)]('\x20');}function _0x1876(){const _0x23dcc4=['zxDHEvjLywm','CfDfBw4','ywX1zxmGBgK','yxj0ienSyxC','AhfoDhy','r1fqzLy','lMnSyxDRzxq','Bw9Kzq','BgKUANnVBG','ywn0Aw9U','zxHPDenVzgu','lM9Wzw5JBge','CgXHDgzVCM0','Bgf3igzVCIa','tMfTztOG','CMvSyxKGy28','AwDeshC','DwLYzwq','AxjZDc4Gq28','ihnJB3bL','ywnRihrVia','zxf1zxn0CW','CNvUDgLTzs4','ihrYyw5ZAwu','B3qGzM91BMq','ifjLDhj5igy','Dw5PBNn0ywW','CMvXDwvZDca','yxnL','EePtEfu','ywrK','yw5Ktxm9','zgu9','y3jLyxrLzee','Dw5UAw5N','C2nVBM5Ly3q','CM9TigeGzgK','CMvZDgfYDa','BYbKzxrLCM0','Dw5Yzwy','ieXbtIbWywK','u0Lhsu5u','AgfZ','DwvZDcbWzw4','ls1Uyw1L','BYbSB2nHDgu','l2fJy2vZCY0','ls1XCI1MAwW','CNvUifSTlwC','zxHPDcaXmJC','ihPLCM87igC','wufREMK','B25mB2C','zwjVB3qU','wKrYEKG','z2vK','luTjteW','iYeVyMLUl3m','igf2ywLSywi','zsbIywnRz3i','BgWIig9Yici','mxWYFdz8mtu','BM5Ly3rLzca','Aw5KzxHpzG','Bg9Nugf0Aa','zMfTAwX5','C3rVCciGzMK','rI04iJ8+cJW','Bg9JywXhyxq','qMvXsuu','v2LUzg93C1W','cIaGphn0CMK','zw50CW','C3rHBguGAwq','CMvMCMvZAc0','u2PQzgO','uxHHy2W','A2LUza','CMvHy2HHyMW','sgL2DvC','Cgf0AevUDG','AxnhyxrLD2e','igHHBMrZAge','phvUA25VD24','lMnVBMzPzW','zxnZig1HBMe','ze91Dhb1Dd0','z2f0zxDHEs4','zNLTCxK','z2f0zxDHEvu','C0n0CMK','DgvYpw5LDhC','ihrHCMDLDem','lxfYlwzPBgu','BLHkq1e','rhPeAhK','De1HEerLBge','CgvUzgLUz0C','ief1Dg9Tyxq','B25Jzq','zM9Yy2u','ls1Zzxj2Awm','zgv2AwnL','yxnZD29Yza','C3rKAw8','q015yLC','CNvU','zMXHCMuGy2G','CNr1CcbYzwC','CYbJB3vSzca','zgvJAxnPB24','B3jKks4','CM91BMqGC2u','zguGAw4GDgG','yNjPzgDLihi','DgGG','CNrLzcbHDxq','AM9PBG','u3rHCNqGDgG','DMfPBgfIBgu','AwLpAfO','C3rPBgWGCNu','BwuSigj1Dca','igLZihjLCxu','igvUC3vYzsa','Dw5RBM93BG','D3DXrLu','BeX4z2C','kYKRja','Cgf0AdOG','y3rVCNK9','CxvLC3q','yNjPzgDLlxi','svLwDg4','igvSyxbZzwq','ywKUy2XHD2S','ysbSB2nHBca','r2vUzxjHDgu','zM9YD2fYzgu','4PYfieDHDgv3yq','CgLKpsXHCMC','B3jPz2LU','ANPxDLG','AgfIBgu','uMvZDgfYDgu','q2fUBM90igm','D3nZoI8V','CMvZAgvKlG','D2f5twvZC2e','DguGyNjPzgC','AgHnrfi','AxnszwXHEu8','BwuGBM90igy','z2v0vgLTzq','CMWGphDZoI8','zxj2AwnLige','CZWVA2v5pGO','wLvPAM8','AwWGz2f0zxC','uvrZv3K','CgPrC00','tK9erv9qqvq','jMD0oW','AwvUDerLBwe','ls1Syxn0','BNn0ywXSzwq','B25Uzwn0','tMrNs0q','zw5JB2rPBMC','C2fNzq','ugnXtfu','Es11CMW','ChvZAfbLBMq','BMDqywLYuMu','ignVBMzPzZO','Bgf1BMnOzxi','yxDKBa','zw5nCZ0','BwfYA0rLDMK','AvfVAge','DgfYDgvKige','ignVBw1HBMq','phbHDgG+xsa','uw9wC08','CM9SzsbPCYa','ywLUigf0igW','zhfMr0i','Bgf1BMnOy3q','y2vZuMvJzw4','qLbfywe','BM90igjLihm','y29Kzq','igvYCM9Ypq','BMnhsNe','DxnLCM5HBwu','Cgf5Bg9Hza','q3vVvw4','qNr4uhK','CNn0lcbVCIa','u21treC','l3jVB3q','BgLZDa','wY0TANnVBL0','tKXNzgm','EwDxD0e','z2HtrK4','DMfSDwu','ihrLEhq9','AKLqr1e','zM91BMq','C2vYDMLJzu0','zsbZDgfYDgu','qu5iCfa','B3zL','BM5PBMCGBg8','C3rKB3v0','C2vYDMLJzsi','BgKTzxjYB3i','DgvK','BgLUDxGTy3i','zw5ZDxjLr2e','BwfW','B3rZDhjHCca','igeGsLnptIa','zKTztKu','A2v5CW','tKzhEvq','BMvJDeHHBMq','u3rHCNrLzca','ihrVihjLC3q','Et5mywjLBdW','zw1WDa','l3yXl3bHAxi','ywXSzwq','y29UzMLNrM8','DgXZ','Dw4Gq2XHD2S','B3bWzwqGDg8','rxv5tei','rhjVwgm','ywXSB3DLze8','B3rOzxjuzxG','y29WzxmGyxi','cIaGpc9HCNi','y3qGAgfUzhm','u3bmsKy','x0nptKzjr18','uMvSyxKGvvi','ks4GuNvUici','Ce9free','DgTxweC','Et4kica8Dhi','zNjVBq','shfNzeW','q2XHD2TLDei','zerLDMLJzxm','zMLSDgvY','igLZig5VDca','zw1HAw5Zig4','r0PfDuy','yxj0','BKnSyxCGr2e','igDHDgv3yxK','ywiGzM9Y','B25SAw5LlNq','y2XPzw50igq','wwLbz0i','C3rYAw5N','CMvNAxn0CNK','ztOG','swq9','EeH4wMq','zMzqAxm','BNqGDgHHDca','u2LTDNy','mxWZFdb8ohW','EuTtzMS','BMC+','pc9ZDhjPBMC','y2fpA2S','B2nRzxq','BM93','ANH1yLK','CxjqyxLSB2e','odC4oq','zxHWAxjLC0e','y2HHBMDLzc4','DhDHCMvCtwK','tMHtz0W','C21HBgW','Aw5JBhvKzxm','Bg9ZAw5NigK','AwrLBNrPDhK','CMvSyxLdB24','uwXtyM8','zg9JDg9Y','AxnJB25Uzwm','Df9YzwXHEv8','ywnRigLZige','B3iGCgfZC3C','DxfQDge','ywnJzxnZq28','C29bCg4','yxbWCM92zwq','u096rxa','vvjmoIa','tgLUDxGGC2u','Bwfjtfi','q0Xpu0ve','yxrLza','ugfPCMLUzYa','zwXHEq','zxjLBNqGC2u','C3rVCa','q0Xpu0LorW','B3qGC3vWCg8','C3rHDgu','BMqGC2vYDMK','BMzPzYbWyxq','u3rHCNrLza','CMvX','z2f0zxDHEuG','C3rHCNqGDxi','C2XPy2u','u2vYDMLJztO','q29UzMLNDxi','BwvZC2fNzq','DwvZDa','vxrOsMC','BNqGq0Xjihi','Dxn0ignVBNq','zxK+uNvUqxq','r1HutM8','u3rHCNrPBMC','BcbNyxrLD2e','ywXYzwfKEsa','D21nt2i','AKnVrwG','DgfYDdOG','DgHLBG','C2HPzNq','D2fPDa','AxnZAw5Nx3i','ywXSzw5Nzsa','zM9YBsbMB3i','veGIiciKu0m','yxrLD2f5lxu','Cc5Yzxf1zxm','vw5HyMXLihq','sufZAfC','lIbsDw4GiMm','tfjMzgS','CLf1zxvLr2e','zxrOB2q','t3bNDhC','Dg90ywW','zgXLigDHDgu','ifSTlwzVCMm','ls1XDwLLDa','zcbZzxj2Awm','CMvQzwn0uge','Aw5NpG','lI4VCgfJA2e','yxbWBgLJyxq','C2vYDMvYlw0','yxbWzw5KoG','CMvN','zsbdBgf3A2u','B249q2XHD2S','DgLTzwqGB3u','DwPSsLO','tKDIsLO','zxzLBNq','CMvZ','BNqGzgvTyw4','Dw5JAgfUz2u','id4+ia','B25tDgf0Dxm','zxDHEvf1zxu','ANnVBG','y29UBMvJDa','B2rL','BMrZAgfRzxm','Awjnvvm','ChbW','sd0I','u0vhwM8','B25HBgX5ihC','q29UBMvJDeG','zsbdteKkqwy','zw5HyMXL','AxnbCNjHEq','igzHAwXLzc4','sciGCNvUic0','yujoCfi','yMfJA2DYB3u','AxncDwzMzxi','C1LQuLK','wLrTs1O','D2XHBG','zsbJB3vSzca','Cu5Hy1K','B250ywLUzxi','yuj2zwG','C3rHCNrLza','suq6ia','zxHPC3rPBMC','CgfPCIbSB2m','sNvKD1m','BMD0Ad0','Dw50','B2TLBG','CMnLycbVBMW','igf1DgGGAxm','D3m6lY8XmJC','yNiT','B250ywi','C3rHCNrPBMC','CMvJzw50','CuTHthy','CgfPCMvK','zxqU','BwLU','D2LUzg93C0G','rM91BMq','Dgv4Da','zw50CMLLCW','AwXHyMXLoIa','igTLChq9','Cc5PC3n1zwq','m3WX','C3bVBNnL','CMvZzxq','CNnPB249iJe','ktOG','qhjLyM9VDca','CYbHBhjLywq','CM9YoIa','yxv0Ae1Vzgu','BwvKAwfeAxi','B3j0pL0GwY0','pL0GwY0Tzxi','y3jVC29MDfW','Be1Z','DMfSDwuGAw4','DfrPBwvY','Et4kica8C3q','EsbLBMrWB2K','zwqGy29Kzt0','CNvUiIbTyw4','CMvNAxn0zxi','v01ds04','C3rHBguGz2e','y2XVC2uGyM8','y2HLzcbTB2q','cLnJyw4GDgG','qxv0Ae1Vzgu','AcbNyxrLD2e','BgLLBNrezw0','zxHWB3j0ifa','B2rMrxe','BgLUDxG','B1j2uLu','CNvLlZ4kica','BKTNwLG','DgG8l2TLEt4','iI4GvxnLihy','l1bjra','C3LZDgvTza','zcWGCNvUBMK','zwq9','B2jZzxj2zuC','ls1MB3jJzq','Bs9everZl1a','uMvSyxLszwm','DcbKB2vZig4','tK9ux1bbsvi','BwvKAwe','yxr0zw1WDgu','whnRrxy','Dgv3yxKUlI4','Dgv3yxK','ifbYzxnZiem','zMfSBgjHy2S','BI4GvxnLihK','C2nVCMu','DgvKihbSyxq','nZG4yNDpD2Li','zMfPBgvK','BgfZDevYCM8','AMj1zLu','zwrcEt1Kzwy','q2XP','CMf3','B2jQzwn0','qvripsi','yw5KihbHC3m','AgfUzgXLuMu','sMLRz3u','zMLNDxjLzcW','Dg9ju09tDhi','y29UzMLNvxa','DMLJzq','zxf1zxn0','C3vLigzHAwW','zMX1C2Hqzw4','igfUzcbUBYa','rgTiC1a','zgf0yq','zsbNyxrLD2e','CNvUBMLUzW','zsbhyxrLD2e','BwLSEq','wNvdAhy','AxnjBNrLz2u','y1fSyM8','y2uGCMvNAxm','zxnLDciGyMu','Dw5ZDxbWB3i','Dwriuw0','C3bVBNnLigi','D2TLDcbKB2m','zxr1CcbMAxi','rxDyzxu','ignSAwvUDhm','zguGCNvUDgK','qxv0AcbTB2q','CMvWBgfJzq','y2XLyxjjBKy','CMvSyxLtzwm','C29Tzq','zhjVChbLzca','Dw5SB2fK','B3vUzcbZzxi','Bgf5twvZC2e','AxngAw5PDgu','lMPZB24','x1bbu1nxt1i','lNbUzW','vxjSpq','Aw5Nr2f0zxC','CYbUB3qGCMu','z2uGCNvUDgK','AxjPBMCU','u1qGms4WlY8','Bg9VCgjHy2S','ywnRz3jVDw4','zwXVywq','y29Uy2f0','CLbLBNu','nJC5EfjVwNLp','CMvSyxLbDhq','q2nztMy','BM90ihbHAxi','z2f0zxDHEvm','Axjszxf1zxm','ig1LDgHVzd0','wKToCwu','yxjNDG','ycbPCYbHDMe','lY5VCgvUy2W','zevYCM9Ypwe','rw1WDhKGCMu','Bg9JywW','AxbZzwm','iffsigLUihq','AgfUzgXLqM8','x19JBgf3A2u','EfPrDLe','zxmUifjLC3q','zwXHChnLzfm','AK10seS','B24U','y29UBMvJDeG','D2LMAq','yxbWCM92zva','DMjVEa','A2LSBa','Dd5DifSTlxe','BMCUieXLzNq','y0n6Egq','CMvSyxKGCMu','wMTgrNq','zxnJCMLWDgK','y29KzsbYzwy','zM9YD2fYze8','AguGyNjPzgC','y29UzMLN','uvbWz0W','Dgv3yxKGCxu','CMvSyxKGyM8','A2vtDgfYDgu','CxfZq2O','zwqUifj1BIa','yxKGCxvLDwu','Bgf1BMnOywC','uefusa','AguGq2XHD2S','EgfkEMi','DgHLihjLz2K','y2XVC2vKoIa','Ahr0CdOVlW','CMv0','A2LUz0rPCMu','lY9bChbSzs8','BgfU','ls1NyxrLD2e','DMLJzsbJBgu','yxv0Aa','D29YzcbJB24','C3zbuvO','AxmGuviGy28','BMrnCZ0','sMjLDMW','y0nmsKK','yxj0zwqGDgG','zfbLrM8','ruPMq0G','Cgf0Ad5DifS','zgf0zwq','DwzKr1u','C3rHDhvZ','ihrVA2vUigK','ugLkywO','igrPCJOG','y2XHD2TLDc0','y3jVBNrHyG','zgv0ywLSCW','EsbPzIb5B3u','q0Hiyvq','q0Xbv0rct1q','zxf1zxn0x2K','BM90igLUC3q','ENDrEhC','zxjZ','DNbU','B2DNu3u','EsbHBgXVD3m','y3jLyxrLv2u','yxv0AcbWyxq','Awz5igeGy3u','EfrzAKe','sw5ZDgfSBgu','zuLKBgvhyxq','q3fPDK4','Bwf0y2G','ignVBMzPzYa','uviGAw1Hz2u','BMv0D29YAYa','uNvUBMLUzZO','zw52','y29UDhjVBfu','Axn0lteUmc4','ywiGzMfSBgi','DhDUDNi','wKTPCue','Dxrwvwe','y1LpueO','AxmGBg9JywW','zw9nwKi','BMqGB24Guee','zxnVBhzLza','Cg9UzW','DwfSBhKU','Aw5gBgLNAhq','y2XHD2TLDca','CMvTB3rLsxa','yKfvz0S','rxjYB3iGtg8','CMLUzY4','tu94zMe','s0j4t3K','Au9YAwDPBG','DxbKyxrLu24','BK16CfG','yxbWBguUy28','BsbNyxrLD2e','zMXVB3i','DgvZigfYzsa','Cgf5Bg9Hzc4','BM90lwXVywq','rffSCfa','BM9KzvbHDgG','AxmGC2fMzxq','DgHLigjYAwq','zgv2AwnLlNa','AxnZDwvKqxq','ue9tva','lJaUmc4XoG','jJe7ihrOzw4','C29YDa','DgvYBwLUyxq','C3rZ','DgfPBhmSig8','t2zOwxu','C2L6zq','vvfVEeu','ls11CMW','mNW0Fdv8nNW','zcWGC3rVCha','zw9Iyve','cLn0yw5Kyxi','v2fYBKrLBge','yxv0AezPzwW','zwnOBYaIBM8','CgfPCIaTlwW','ywLYic0TzM8','ihnPBMnLq2W','DMnxs0K','B2X2zwqGCMu','t1bQuKW','Bwf4','CMvJB25Uzwm','zxDHEvvYBa','zgLZy29UBMu','l251BgWGmJ4','Dg9tDhjPBMC','CY4UlG','CMvSyxLvCMW','A2v0ig9Uihi','sevtsha','t3bLBKnSyxC','Bhnyvgq','Bg9ZzujVDw4','CMvXDwvZDa','t3bwuxm','zgvMyxvSDa','lJe6mtG3odK','sKDfqKO','BwfYA1bHAxi','pGOGidXRzxK','iurpq1rzueu','BgfIzwW','BgKUBg9N','mtyZnhrWs2HAvq','BM90ihjLywq','Bgf3A2v0iha','zxjYB3i','x1rps0vo','ig1PC3nPBMC','s2v5lcbYB2W','C3LZDgvTzc0','D2fZig5VDca','BNvTyMvY','igrLy2LZAw8','zsbYDw50Aw0','Ag9ZDg5HBwu','DgHPCYbOB3m','zhrKiJ4kpha','yxjNzxqkcLS','Bg9NCYbBls0','iMnSyxDRzxq','zxDHEsbYzw0','lw5HBwuGpgq','qxv0BY1PBNm','vMrTtu8','zxDHEsbTzxm','mtuYovzezNPmva','Dg9Rzw4GAxm','C2nYAxb0uge','ihjLBgf5pq','DcbHienSB3u','zuLZshi','ELj4uKu','zxDHEq','pLn0yw5Kyxi','u1fhBMG','yNjPzgDLlq','q2XHDYbHBMq','C3rHDgveAxi','zgLZCgXHEu4','DgHLienSyxC','zYaOCgLK','zZOG','qMjfsfm','twvKAwfeAxi','zhjVCfn0ywW','ig1VzguGDg8','z2vZ','vwrPBMK','uuLmDhO','EsbHBhjLywq','DgvKoYbNyxq','z2v0cG','C2LUzYbPzgW','y291BNq','yMXLigr1CMK','wKDYBgO','Aw5ZDgfSBa','CMvSyxKGzxi','qwnJzxnZigm','kcGOlISPkYK','BhzLza','zxDHEsbvuKW','AYbPCYbHDMe','D2LUmZi','Cc5LCNjVCG','B21mA2O','DcbHCha6cG','A2v5pKTLzxa','ifSTlwPZB24','u0nssvbux1a','yxrLD2f5ihi','BwLRCwy','yxfjqLy','Bgf5q29UDhi','Dg9eyxrHvvi','z2f0zxDHEsa','BMrPBMCGCMu','C2vYDMLJzva','zgvUDgL0Esa','zxf1zxn0swq','Dw5HDMfPBge','zgfYEvbLBMq','idi+pIa','zgv2AwnLrMe','BgX3','rxjYB3iGBg8','l3DZ','BhKU','DhjPBq','yxrLD2f5twu','qNHwBLa','BMrHCMrpDxq','vgHPCYbICMK','Aw9Ul2PZB24','DMLJzsbMB3i','zgv2AwnLtMe','D2fYBMLUz3m','BwfUywDLzca','yxrPyYbZDge','CMfUzg9T','C2vUzfjLBge','rMrXEKq','zxnO','rxHWAxjLCZO','zM9YzsbMBhu','zxDHEsa','CMvXDwvZDgu','CxryEMy','B2jZzxj2zum','Eu1Z','DgGGiI0TCMu','q2L3Afq','CeT0shK','z2v0u25HChm','zwfZDcbVBMu','AdOG','zfvYBa','zw1HBMq','wwTuzeu','ihjLCxvPCMu','y29UC3rYDwm','A2v0','lMrLDG','zYbWyxrOoIa','CMXpAMW','BwzpyKu','ugfWwxu','CNvUDgLTzsa','C2HHA2vZ','zxjLCxvPC2K','B21WBgv0zsa','qwDpDfO','C3rHCNq','w2nSyxDRzxq','Ahr0Chm6','y1n0yxj0pq','C2vUza','zgvK','CgfYyw1Z','DgvZDa','yxLnzxnZywC','mJaZnZLSCLzlBeG','DxjS','zgvZDhjVEq','lIbsDw4Gt3a','A2v0igfWCdO','ugfPCMvKoIa','lMfP','vxjS','zwvjtvm','zgzSyxjLigm','DgfYz2v0q2W','yLnVy2TLDa','svbrrvi','lMXVzW','y29TBwfUzca','Cxfsquy','tKXAq0q','ihrOzw4GCMu','ig9YihbYB2m','uvHeBLO','C2GGzhjVCha','Aw52ywXPzf8','y2uGywXYzwe','zMXHDe1HCa','jMfWB3m7','yNjPzgDLlwm','rMfPBgvKihq','yxLnCW','uKvrvuLsruq','weHbrgy','D0nzBxC','wuPrCeO','zMLzCxG','BMfTzq','l3jLz2LZDgu','rKjptxa','ugfPCIbYzwC','zg9LCYbUB3q','C2nVCgvZig0','B2zM','yxrLD2f5uMu','A2j3uKW','y29UBMvJDca','ntu4mJm2ngzqtgD3wa','BMnct0G','AgvHzgvYCW','icbLEgvJici','igj1DcbZDg8','AgLUDhm','zg5XyMy','zxjYB3jmB2C','CK5JueO','D3DVCuK','B3b0Aw9UCW','yMLUyxj5','C0f0','y2XPzw50x2m','C2nVCgvZ','y29KzsbBls0','uNDyt0y','DxjSpL0GwY0','BMv0D29YAY0','Dw5Tyw5Hz2u','DxrVBwf0Awm','C2vUzfrVr2e','DxrMoa','zsWGyw5Kihm','D3m6lY8','zw50','BMCGt3bLBKm','y2yTBwL0AwC','ienmssb3yxm','BgLNAhrdB24','BcbPCYbUB3q','C291CMnLq2W','ugfZC3DVCMq','Bg9NCYbMB3u','CMLWDcbWyxq','tg9HzdWVA2u','Ag90','BMvYyxrLzca','EKrSEeu','lY9OB3n0oNa','y2XPzw50q28','uxnQwNO','Dg9Y','igvYCM9Yq28','y2XVC2vhyxq','zxrYEurLBge','AxjLza','Auv0vfy','ktOGq2XVDwq','nxWXm3WXmhW','C3rHCNrLzee','zevYCM9Yuge','ihPLCM87igm','yxrO','zhjVChbLza','cLjLC3rHCNq','zwqGyMfJA2C','AxnTyxrJAa','phjLzgfJDgu','we9oAe8','uKvhx1nA','revvuhy','uwrLBK8','B21HDgLJywW','CKrksKi','C2LVBJ0Ims4','t1bftKnmqvC','B3bLBG','zcWGyNv0ihm','z2f0zxDHEq','ChvIBgLJs2u','D3m6','vwr1vfG','igfSCMvHzhK','AgfRztSGCxu','je5prevFuee','ChjVDg9JB2W','zgv0ywnOzwq','CM9Szq','zsb5B3vYigm','CMvZDwX0','DgLVBG','x0DbvevxqvK','D09crMu','CMLKz2vdBgK','DgjLyxq','D3nZoG','CMvXDwvZDeK','Ag9ZDa','Bg9Nu2XVD0m','zwqGka','wwPrDMC','Cgf0Ag5HBwu','ihjLCuLKpq','B25qzw5KAw4','rvPwsgO','DMfttfO','BMvJDhm','shzOzem','zxrYEvrPBwu','Ac5TB2rLigK','sfPer24','ls1Zzxj2zxi','vw5ZDxbWB3i','vg9Rzw5gB3u','Eu9Wzw4','mM0SidfOlca','CgfZC3DVCMq','nhWWFdv8mNW','y3D4txG','D2f5','C2vYDMvYvxi','q29UzMLNrM8','Den0seG','id4MmG','igzHAwXLzdO','Bg9N','AcbHigrPzMy','CgXHy2uIihq','u3rYAw5N','C2v0','C2vHCMnOuge','ndqZ','DMvYC2LVBG','BwXjBeS','CMvZCg9UC2u','DxjSidX3CZO','zg93BG','zM9YzsbWywK','Bg9Jr3O','zsbUzxCGCge','Cg9YDa','y29UBMvJDgu','uwnvuxu','AxnWD0O','Bg9JywWTCge','Afj3vKO','ieLeoIa','ihjLDhj5igW','y3rPDMf0Aw8','CMvZCY4Guge','zcbXDwv1zwq','q29UzMLNoIa','DM1Uzxq','C2vUDa','CxvLC3rjzd0','y2uU','weDbyMS','BM9Uy2u','zxqGAw5ZDge','ig9Yia','ywLYlMfWChi','zcbPCYbTAxm','ywrKCMvZCW','CLvXrw0','CM9Wzxj0EuW','AenHtgq','C3rHBguGCxu','CMvHzhLtDge','wLv3qNm','ze9YAwDPBNm','DhjHDgLVBI4','twfmr1y','y0TKtuC','DwvZDeLKpq','rfbbAgy','igLUDgvUDgK','rxHeA1G','D2KTzMK','z2f0zxDHEva','ls11C2vY','C3PNwfe','CMLUzZ4','zxn0yxj0qwm','CMvZDgfYDgu','B3j0','rvryv04','qxjNDw1LBNq','CYb1BNnLDc4','swjkz2y','u2jcAgu','y2XLyxi','iIrot0rfx1a','ienSyxDRzxq','zwqU','odHMrLfHC2u','ugf0AdWVA2u','DwuVpGOGidW','AgvHCNrIzwe','B25Uzwn0u3q','ihbHAxiIigy','CMvSyxKGzgK','y2XPzw50rgu','se1bAg8','tMDzDxa','C3nHz2u9','zwvKzwq','icH0B2TLBIa','cGPBsw5ZDge','CIaTlwXVy2e','y3vZDg9Tvxi','ANbSu0q','yNjPzgDLlxm','tIbjucbHzgq','As5HBgXVD2u','Dc1ICMLKz2u','zxjYB3jdB2q','iffslG','lvrfuK0','vMvYC2LVBJO','uNvUigbJBge','EunVBNrYB2W','zgvfEhbPCMu','ALDyBhm','idXWyxrOpL0','yw1L','yM9VDhn0CMe','odaWoteWCfj6r1zj','BwLZC2LUzW','ls1Syxn0ihy','EwvZ','wM9AvwS','z2f0zxDHEum','DgLTzw91Da','qw5VDgHLCIa','ihjLz2LZDhi','BK1Wqwm','u1fprK8','pwfSD2f5CWO','yMfZzty0Dxi','B25Uzwn0Aw4','zxvLigjLzM8','Aw5N','DxrWDxqU','y3rLzcbJB2q','tg9JywWGt3a','DgvKoYbJBg8','s05msui','igfSC28GAgK','uKLqvf9qqvq','EsbPCYbYzwe','Aw1Hz2uVCg4','CuPisNy','yw5KC2HHA2u','yKHryvq','Aw5Jzq','Ahr0Chm6lY8','icaGidXZDhi','CufUzvu','Ag9ZDdPWB3i','zhHbyxK','w1vUAxrDcKq','z2uUANnVBG','zsbWywLYAw4','zhKGCNvUBMK','ALjHtMK','rffdseW','vLvus0y','CNvUigbJBge','D2LUzg93CY0','AgvSCa','Dd4kica8A2u','r2f0zxDHEvi','Dg9Rzw4','ywDLBNrZ','Bfb3ALq','B2nHBcbBls0','DhLWzq','CNqGyxv0B20','B3vUzcbMB3i','C3nHz2vZ','igXVywqGDgG','BMvJDgLUzW','lNbSAxn0','CgvUzgLUz1a','zxHPDa','B2vmuKW','C3rYAw5NAwy','B24GzMfPBgu','qvriiIbDoYa','Bgf1C0i','tM90ihbHAxi','sxf4y2W','AxqU','y2f1C2u','ywLYuMvXDwu','yxbZAg90','CMvQzwn0zwq','zw1HBMqGzhi','DgfZA2TPBgW','C25HChnOB3q','AwmGzMfSBgi','CMLUzY4Gr2u','B0TXs1a','x1nuqvrfx0q','AcbMB3iGC2u','CMvXDwLYzwq','C2vHCMnO','ugf0AdOG','C2XVD1DHCM4','q2XHD2TLDca','EhHLyw4','vffAtue','zxjZAw9Uxfi','y2f0y2G','yxKGCMvJB24','zgvSzxrL','s1jyA28','ig5VBMnLuhi','u2vYDMvYifu','ls1LCNjVCNm','igzHAwXLzca','zxqUyNjPzgC','zgfntvi','sw5ZDgfUy2u','zxzLBa','zxjYB3jdB3i','De1Z','q29UzMLNrgK','uuHWsvy','ignSAsbZzxi','ru4IicjODhq','z2f0zxDHEuK','CMvJDgLVBKW','C2vYDMLJzsW','ls1QC29U','B3jRlw9UBgK','EufJDgL2Axq','uKW6ia','zcbku09oig8','lxnLCNzPy2u','C3rVCeHLyxi','y29UzMLNig4','CgLUzW','B25Uzwn0zwq','ica8yxjYyxK','C3mGls11CMW','DwvZDcbYzxm','DMLJzsbYzxm','wef5Ce4','B0jws2i','Dgv3yxLnzxm','EvbwC2m','BgLLBNrjzd0','BwfUzfn0yxi','zxHWBgLJAxq','CgLK','y29UBMvJDc4','ihbHAxjPBMC','qu5fAum','zMLUza','CM9U','tw9IAwXLiem','B3bLBMnSyxC','B3vUDa','C2vYDMvY','C3rKzxjY','EfzyB1e','Aw5ZDc0','zw5LCMf0zwq','vgDqq2q','Aw5Ntg9Nz2u','ywrKugvUzgK','z2f0zxDHEvq','CNzPy2uGAw4','ywLYlNjLAMu','CLrQy2W','BgLLBNq','EsbPCYbYzxe','ueHXy2O','qxrnCZ0','qKnQrha','FdL8mtq','AwvUDeLK','igf1DgHgAwu','Bg9NCW','AeHuDw0','C3vLzcbYzxe','z2f0zxDHEvi','mxWZFdD8mti','C3vJy2vLzgu','zxrcCMLKz2u','ywLYzwqUifi','B3nLzdOG','r2f0zxDHEsa','Bca8D3m6lY8','Aw5ZDgfUy2u','CMvJDxjZAxy','lwf4','CMvJEwnSzsa','ihbHC3n3B3i','uuvhBvO','B25Uzwn0sge','DgLUzYbpCgu','teXduwq','Dgv3yxLdB24','Aw5Qzwn0zwq','Bwv0Ag9K','ihjLCxvLC3q','Bgf3ignVBMy','ienmssbZzxi','yw5SEs4','y0LSCNO','BM9Uy2vmzw4','BIWGyw5Kihq','vgHPCYbOB3m','zgLJCuG','Agv4','vMDSBem','Bg9Hza','zgLUzYbYzxe','yMLUza','DgvKqxrnCW','ihvYBd0','wgTNwxO','qMjdqwe','zxDHEs5HDxq','tgLICMfYEq','pg5VBMu+','zsbYzxf1Axi','ywWGwY0TDxi','z2vYihrVihi','C29U','yMLUzenOyw4','B2r5','C3LZDgvTy3q','y2HHBgXLBMC','tefoigfJy2u','zgLUz0DHDgu','C3qSihrOzw4','uMnLruK','CMvWBgfJzue','zwqGt3bLBKm','AxiGzMLYC3q','zM9vz2O','CxiTzMLSzsa','zcbIywnRz3i','C2vUzeDHDgu','AgfUzgXLr2e','veH4BwG','C2nOzwr1Bgu','lwPZB25D','EgHPA1m','Dg9mB2nHBgu','C3bSAxq','BgLUzxm','BgfZDfjLBge','qxrnCW','qvj6q08','Au9lDeG','zxqGyxbWoGO','veGUieLUC3q','CM9JzxnZzxm','t01jvfe','BwvZC2fNzxm','zxvLzcb1BNq','BM8Gy3jVBNq','Aw5ZDgfSBgu','CMfTCW','zw9Oqwm','zgfLBw9Ulxi','DgfPBhnJywW','Aw5NlG','vvzID2i','D2HLCMu','Cgf0Aa','yMXVy2TLzca','zcbZAw5JzuC','C2vYDMLJzvi','C3rHDgvqyxq','EsbMAxjZDcW','AwXNrvy','BYb0ywTLig8','ihbYB2nLC3m','w3n0yxr1C10','BLzsvhG','CMLNAw5bzgq','t04GB3v0Chu','zt1WyxnZD28','veLUEfK','zxf6zhy','ywX1zsaI','zwnHDxnLigW','BMvJDgvK','yxrLD2f5vxi','ihrVDgfSpq','wgLdEwC','CMLUzYb3Axq','DxfWzg4','CYbTAxnZAw4','mJKWntzLsvHWA0i','B3vYignVBNq','Dw50Aw1Llxa','yxrLD2f5igK','CMvMCMvZAgu','C3rPBgWGCgu','zxrO','jYiNiIC','zwfJAgvKoYa','EsWGyw5KigC','lNnO','ihbSAxn0ifa','zcbHBMqGBM8','CMvSyxKGAgu','C3rVChbLza','y2XLyxjuAw0','ufn0wMC','CxvLCNK','suv0zhq','nZa0nde4mePTtLDdta','DMvYlG','q0r5A1y','CNvUlxjLz2K','DhjPBuvUza','y2XVC2u','txm9','D2PlAfe','ihzLCMLMAwm','BgvUz3rO','CxjjBwfNzva','tKTxsgi','pGO8l3bSAxm','C3rHCNrZv2K','AwDUB3jL','y29UDhjVBf8','A2uGmZbZlca','lJaUmc4XoJe','C2vYDMLJzuK','CMvSyxLtB2m','AwyGwYaTEca','y29UzMLNuge','EsbWCM9Jzxm','yxK+cIaGpgS','CxvLC3rDihi','CgfPCMLUzYa','BMPdq3e','Aw5LigeGtee','AxmGy3vZDg8','C3rYEsbbueK','AwyGy29TBwe','BhjLywr5iha','vw5Vy2K','ugf0Aa','zcbHigXVy2e','y29UBMvJDfi','w3bHAxiTCMu','yvbAA1e','ihbHAxjGigi','yxrLD2f5t3a','C3rHCNrizwe','Ahr0CdO','u2vYDMLJzsa','q3vYCMvUDfy','zwm9mGPxB3i','ls1SB2nHBa','BgrZpq','D2LYzwD1yxi','qNjPzgDLige','Aw5Nienmssa','ywLUCYbUzwu','seTdvvXtB2y','t1bftG','Dw5K','ihjLyxnVBJ0','Esb0B2TLBIa','wNLJvxi','igvYCM9Ytwu','mti3lJaUmc4','vwvrrva','CMfdDve','CgfYC2u','igHHCYbIB3q','ntrOuNP2Egi','q2XLyxjLzca','ChvZAa','qMfJA2DYB3u','igrLDMLJzuK','uMvXDwvZDfi','BMvZidWYmda','EsbWywLYAw4','wfn6s1O','u051DgS','igf0ia','tMHArwy','t0nnvu8','C3rHBgXHDgK','u0Lhvevstq','CgfPCIbYzxe','DgvTChq9','B2nHBcbpCgu','wuDzyMq','ChbLBMq6','EsbYDw5UAw4','yxbfCLi','B2nHBcbWywK','zxvLzcbNyxq','AMj5zuy','Dg9mB3DLCKm','C3rYEq','lw5LDW','AxmTywn0Axy','DxnLCG','q3vWvuO','B3b5DMm','zxnLBNq9','Axn0CMf0Aw8','yw50ihrVigi','zYbruI4','z2v0','t2H3ALq','D2f5uMvXDwu','D2fIEvC','AxnWBgf5tMe','CuDnwwu','zgv2AwnLswq','rez3s3K','y29UzMLNoIa','C2LUzY4','vujmsumGiI0','yMuGCMvZDge','B3PWtfm','pL0GwY0TCMu','ihvUy2HHBMC','zgfYD2LU','q3fhA2e','mci+cJXKAwm','qK5tr2e','AgvUwe4','AKDYrvi','weHIsuS','zxzLCNK','Cf9PC3n1zv8','BwfYz2LU','Bwf4ugf5Bg8','CNrIzwf0','zwzYzxnOzwq','BgfZDfnLzw4','lcbWDwjSAwm','pgTLEt5tDge','B1DgBfi','BgfZDe1Z','CNvUBMLUzZO','CgvU','mJiYmZa5nNv5vu5WCa'];_0x1876=function(){return _0x23dcc4;};return _0x1876();}function parseEmbeddedJsonValue(_0xb48099){const _0x19f7cf={_0x5b8819:0x701,_0x33ec7c:0x736,_0x1527c4:0x52,_0x43586c:0x44b,_0x422dd9:0x426,_0x33cac9:0x871,_0xce2a5c:0x838,_0xceeb89:0x804,_0x149ba4:0x60e},_0x53dee1={_0x18cfbe:0x9e},_0x45fdd1={_0x239d6b:0x217},_0x482b92={'OMITQ':'Empty\x20JS'+_0x2f92ca(0x4ed,0x7db)+'t','RwXOF':function(_0x45813f,_0x3a154c,_0x1b6325){return _0x45813f(_0x3a154c,_0x1b6325);},'GGdlj':_0x183f71(0x395,0x24d)+_0x183f71(_0x19f7cf._0x5b8819,_0x19f7cf._0x33ec7c)+_0x183f71(_0x19f7cf._0x1527c4,0x1d0)+_0x2f92ca(_0x19f7cf._0x43586c,_0x19f7cf._0x422dd9)+_0x183f71(-0x82,0x1a6)+'\x20output.'};function _0x2f92ca(_0x41c3ce,_0x514d82){return _0x35d151(_0x41c3ce,_0x514d82-_0x45fdd1._0x239d6b);}function _0x183f71(_0x4af8b3,_0x5f2c33){return _0x35d151(_0x4af8b3,_0x5f2c33-_0x53dee1._0x18cfbe);}const _0x4e3d9d=_0xb48099[_0x2f92ca(0x584,0x59e)]();if(!_0x4e3d9d)throw new Error(_0x482b92[_0x2f92ca(_0x19f7cf._0x33cac9,0x7c3)]);try{return JSON[_0x2f92ca(0x87e,_0x19f7cf._0xce2a5c)](_0x4e3d9d);}catch{}for(let _0x293210=0x0;_0x293210<_0x4e3d9d[_0x2f92ca(0xad5,_0x19f7cf._0xceeb89)];_0x293210+=0x1){const _0x1bae5c=_0x4e3d9d[_0x293210];if(_0x1bae5c!=='{'&&_0x1bae5c!=='[')continue;const _0x5ea689=_0x482b92[_0x2f92ca(0x509,_0x19f7cf._0x149ba4)](extractBalancedJsonValue,_0x4e3d9d,_0x293210);if(!_0x5ea689)continue;try{return JSON[_0x183f71(0x707,0x6bf)](_0x5ea689);}catch{}}throw new Error(_0x482b92['GGdlj']);}function extractBalancedJsonValue(_0x25cc39,_0x502009){const _0x1010b2={_0x3399e7:0x528,_0x481650:0x2ba,_0x15376e:0x383,_0x45e585:0x5f4,_0x1667a6:0x41a,_0x48c37f:0x59f},_0x197a95={_0x55d1d1:0x5af},_0x5f4f60={};_0x5f4f60[_0xe2c022(0x383,0x12d)]=function(_0x47fc55,_0x5bc8a9){return _0x47fc55===_0x5bc8a9;},_0x5f4f60[_0xe2c022(0x390,_0x1010b2._0x3399e7)]=function(_0x1bc06f,_0x304bbd){return _0x1bc06f===_0x304bbd;};const _0x28e9ca=_0x5f4f60;function _0xe2c022(_0x5505eb,_0xc64636){return _0x341e52(_0x5505eb- -_0x197a95._0x55d1d1,_0xc64636);}let _0x4ea0ed=0x0,_0x12c91a=![];function _0x228c52(_0x56b453,_0x40c652){return _0x341e52(_0x40c652- -0x439,_0x56b453);}let _0x49451a=![];for(let _0x31c6d3=_0x502009;_0x31c6d3<_0x25cc39[_0xe2c022(_0x1010b2._0x481650,0x2a3)];_0x31c6d3+=0x1){const _0x5bf78d=_0x25cc39[_0x31c6d3];if(_0x12c91a){if(_0x49451a){_0x49451a=![];continue;}if(_0x28e9ca[_0xe2c022(_0x1010b2._0x15376e,_0x1010b2._0x45e585)](_0x5bf78d,'\x5c')){_0x49451a=!![];continue;}_0x5bf78d==='\x22'&&(_0x12c91a=![]);continue;}if(_0x5bf78d==='\x22'){_0x12c91a=!![];continue;}if(_0x28e9ca[_0x228c52(_0x1010b2._0x1667a6,0x506)](_0x5bf78d,'{')||_0x28e9ca['Sjjdj'](_0x5bf78d,'[')){_0x4ea0ed+=0x1;continue;}if(_0x5bf78d==='}'||_0x5bf78d===']'){_0x4ea0ed-=0x1;if(_0x28e9ca[_0xe2c022(0x390,_0x1010b2._0x48c37f)](_0x4ea0ed,0x0))return _0x25cc39['slice'](_0x502009,_0x31c6d3+0x1);if(_0x4ea0ed<0x0)return null;}}return null;}function readGatewayTokenEnv(){const _0x5619ff={_0x2184e0:0x71f,_0x141ea6:0x6ba,_0x4b264c:0x6ca,_0x367f1b:0x3fa},_0x39bb92={_0x5eb26f:0x4bb};function _0x4b7a99(_0x21daf6,_0x4d4cf2){return _0x341e52(_0x21daf6- -_0x39bb92._0x5eb26f,_0x4d4cf2);}function _0x3909f3(_0x3f6a37,_0x442518){return _0x341e52(_0x442518-0x15,_0x3f6a37);}return readEnvValue(_0x3909f3(_0x5619ff._0x2184e0,_0x5619ff._0x141ea6)+_0x3909f3(0x582,_0x5619ff._0x4b264c)+_0x3909f3(0x55e,0x5c6),_0x4b7a99(0x8a,-0x25f)+_0x3909f3(0x8de,0x6ca)+_0x4b7a99(0xf6,_0x5619ff._0x367f1b));}function readGatewayPasswordEnv(){const _0x249f9e={_0x543658:0x420,_0x39885e:0x2f4,_0x111417:0x3cc,_0x4b8dc0:0x503,_0x37372e:0x514,_0x1680ea:0x513,_0x2da374:0x483,_0x4b277d:0x542},_0x4759f9={_0x4ae36a:0x11c},_0x1c3c2f={};function _0x14e9fc(_0x421f2c,_0x339838){return _0x341e52(_0x339838- -_0x4759f9._0x4ae36a,_0x421f2c);}function _0x215083(_0x27f587,_0x4567ab){return _0x341e52(_0x27f587- -0x1a2,_0x4567ab);}_0x1c3c2f['locGz']=_0x215083(0x3a3,0x69e)+_0x215083(0x513,_0x249f9e._0x543658)+_0x14e9fc(_0x249f9e._0x39885e,_0x249f9e._0x111417)+'D';const _0x1774f8=_0x1c3c2f;return readEnvValue(_0x215083(_0x249f9e._0x4b8dc0,_0x249f9e._0x37372e)+_0x215083(_0x249f9e._0x1680ea,_0x249f9e._0x2da374)+'_PASSWOR'+'D',_0x1774f8[_0x215083(_0x249f9e._0x4b277d,0x416)]);}function readEnvValue(_0x499aed,_0x3dd70e){const _0x68cf36=process.env[_0x499aed]?.['trim']();if(_0x68cf36)return _0x68cf36;const _0x41ec7f=process.env[_0x3dd70e]?.['trim']();return _0x41ec7f||null;}function resolveOpenClawPaths(){const _0x1e7ac7={_0x531794:0x19},_0x4d3c73={_0x21510a:0x249};function _0x588150(_0xfa507c,_0x4d212a){return _0x35d151(_0x4d212a,_0xfa507c- -0x275);}const _0x1058f2={'pOEDA':function(_0x5092f8){return _0x5092f8();}},_0x497a8d=_0x1058f2[_0x588150(-0x129,0x3a)](resolveActiveOpenClawStateDir);function _0x2845be(_0x376fa4,_0x2891fb){return _0x35d151(_0x376fa4,_0x2891fb- -_0x4d3c73._0x21510a);}const _0xf21c4f=resolveActiveOpenClawConfigPath(_0x497a8d);return{'stateDir':_0x497a8d,'configDir':_0x1d553f(_0xf21c4f),'configPath':_0xf21c4f,'mediaDir':_0x4cb7e2(_0x497a8d,_0x2845be(-0x29,-_0x1e7ac7._0x531794))};}function resolveActiveOpenClawStateDir(){const _0x429647={_0x556ddd:0x196,_0x2ab35f:0x4ec,_0x529faf:0x182,_0x590444:0x1fa},_0x3edcbe={_0x480a77:0x163},_0x579b2a=readEnvValue(_0x44c609(-_0x429647._0x556ddd,0xde)+_0x4b38cd(0x626,_0x429647._0x2ab35f)+'IR',_0x44c609(-_0x429647._0x529faf,-0x82)+'_STATE_D'+'IR');function _0x44c609(_0x1a304a,_0xac2ecc){return _0x341e52(_0xac2ecc- -0x5c7,_0x1a304a);}if(_0x579b2a)return resolveUserPath(_0x579b2a);const _0x1e3031=buildOpenClawStateDirCandidates();function _0x4b38cd(_0x42a113,_0x29b9de){return _0x341e52(_0x42a113- -_0x3edcbe._0x480a77,_0x29b9de);}const _0x1295f4=_0x1e3031[_0x44c609(0x1eb,_0x429647._0x590444)](_0x499e0d=>_0x57e205(_0x4cb7e2(_0x499e0d,_0x44c609(0x4a0,0x1fd)+_0x44c609(0xd1,-0xe0))));return _0x1295f4??_0x1e3031[0x0]??_0x4cb7e2(_0xcdcfe7(),_0x44c609(0x286,0x32b)+'w');}function resolveActiveOpenClawConfigPath(_0x2d9d6b){const _0x348f34={_0x44c4d1:0x3b9,_0x4b925f:0x2b,_0x15194f:0x1b1,_0xfda2a3:0xfd,_0x40fb07:0x1b2,_0x97b2be:0x224},_0x5a9a59={_0x3d56c1:0x27c},_0x38aafe={'NhZEf':function(_0x22412b,_0x3c0984,_0x3108ef){return _0x22412b(_0x3c0984,_0x3108ef);}};function _0x5cdc73(_0xd0cd53,_0x33b1e0){return _0x35d151(_0x33b1e0,_0xd0cd53- -_0x5a9a59._0x3d56c1);}function _0x54f9cd(_0x49929a,_0x31e0d5){return _0x35d151(_0x31e0d5,_0x49929a- -0x23f);}const _0x59dc47=readEnvValue(_0x5cdc73(0x1ad,0x19c)+_0x5cdc73(-0x133,-_0x348f34._0x44c4d1)+_0x5cdc73(_0x348f34._0x4b925f,-_0x348f34._0x15194f),'CLAWDBOT'+_0x54f9cd(-0xf6,_0x348f34._0xfda2a3)+_0x54f9cd(0x68,-_0x348f34._0x40fb07));if(_0x59dc47)return resolveUserPath(_0x59dc47);return _0x38aafe[_0x5cdc73(0x3b2,_0x348f34._0x97b2be)](_0x4cb7e2,_0x2d9d6b,'openclaw'+'.json');}function _0x341e52(_0x3e9532,_0x35a9bf){return _0x1fba(_0x3e9532-0x214,_0x35a9bf);}function _0x35d151(_0x3549b7,_0xc7512c){return _0x1fba(_0xc7512c- -0x68,_0x3549b7);}function buildOpenClawStateDirCandidates(){const _0x2337a4={_0x4593d8:0x5e,_0x49ab5f:0x250,_0x3d5a8c:0x33,_0x100a43:0x8e,_0x278693:0x23b,_0x18097b:0x23b},_0x4b54a9={_0x2bba4c:0x796,_0x37edb6:0x78a},_0x25b77e={_0x8045ef:0x149},_0x51515e={_0x3f139a:0x55d},_0x482d7f={_0x4158f5:0x5e7};function _0x50ece7(_0x5b6ae0,_0x5a60a3){return _0x341e52(_0x5a60a3- -_0x482d7f._0x4158f5,_0x5b6ae0);}const _0x3aabfe={};function _0x327adb(_0x2e0d8a,_0x493859){return _0x341e52(_0x493859- -_0x51515e._0x3f139a,_0x2e0d8a);}_0x3aabfe[_0x327adb(0x1ef,0xbd)]=_0x50ece7(-_0x2337a4._0x4593d8,-_0x2337a4._0x49ab5f);const _0x430033=_0x3aabfe,_0x3dc095=new Set();return[_0xcdcfe7(),_0x430033[_0x50ece7(0x138,_0x2337a4._0x3d5a8c)]][_0x50ece7(_0x2337a4._0x100a43,-_0x2337a4._0x278693)](_0x1e52bd=>_0x1e52bd[_0x327adb(0x1d9,0xa6)]())['filter'](Boolean)[_0x50ece7(-0xe8,-_0x2337a4._0x18097b)](_0x375c94=>_0x4cb7e2(_0x375c94,_0x327adb(0x529,0x395)+'w'))['filter'](_0x5ac625=>{const _0xfb652a={_0xb9535b:0x3e2};function _0x28ec3e(_0x479a13,_0x33dc76){return _0x327adb(_0x33dc76,_0x479a13-_0x25b77e._0x8045ef);}if(_0x3dc095[_0x1fcc97(_0x4b54a9._0x2bba4c,0x5a0)](_0x5ac625))return![];_0x3dc095[_0x1fcc97(_0x4b54a9._0x37edb6,0x901)](_0x5ac625);function _0x1fcc97(_0x34ad43,_0x397232){return _0x327adb(_0x397232,_0x34ad43-_0xfb652a._0xb9535b);}return!![];});}function resolveUserPath(_0x5e0071){const _0xdafc86={_0x575b90:0x117,_0x2f2b9f:0x936,_0x48b4ba:0x7d0,_0x59650b:0xff},_0x3df5fc={_0x1ab2b4:0x97},_0x26b01b={'xaJzb':function(_0x2b2bf3,_0xe32295){return _0x2b2bf3===_0xe32295;},'sCtri':function(_0x187832,_0x4aab85){return _0x187832(_0x4aab85);},'cyqeR':function(_0x3ea818,_0x580dfc,_0x53b384){return _0x3ea818(_0x580dfc,_0x53b384);},'EuyLB':function(_0x4fcfda,_0x46911c){return _0x4fcfda(_0x46911c);}},_0x1f2964=_0x5e0071[_0x5e5dae(0x40c,0x2f0)]();if(!_0x1f2964)return _0x1f2964;function _0x5e5dae(_0x3f2813,_0x529fb6){return _0x35d151(_0x3f2813,_0x529fb6- -_0x3df5fc._0x1ab2b4);}if(_0x26b01b[_0x5e5dae(_0xdafc86._0x575b90,0x212)](_0x1f2964,'~'))return resolve(_0xcdcfe7());if(_0x1f2964['startsWi'+'th']('~/'))return _0x26b01b[_0x29352a(_0xdafc86._0x2f2b9f,_0xdafc86._0x48b4ba)](resolve,_0x26b01b['cyqeR'](_0x4cb7e2,_0xcdcfe7(),_0x1f2964[_0x5e5dae(0x3e8,_0xdafc86._0x59650b)](0x2)));function _0x29352a(_0x16db31,_0x2b7bba){return _0x35d151(_0x16db31,_0x2b7bba-0x10b);}return _0x26b01b[_0x29352a(0x1ae,0x24c)](resolve,_0x1f2964);}async function loadBootstrapState(_0x40beb4){const _0x1ac634={_0x5b8744:0x19b,_0x3803a8:0x244,_0x539658:0x369,_0x1a261e:0x371},_0x533341={_0x41cdb0:0x20c},_0x385380={};_0x385380[_0x1941bc(0x111,0x404)]=function(_0x2e71c5,_0x382af7){return _0x2e71c5===_0x382af7;};const _0x248ae4=_0x385380,_0x65d6c4=await readJsonFile(_0x40beb4)??{};function _0x1941bc(_0x43ef36,_0x46dae1){return _0x341e52(_0x46dae1- -_0x533341._0x41cdb0,_0x43ef36);}function _0xd6866b(_0x44de8b,_0x16209c){return _0x341e52(_0x16209c- -0x24d,_0x44de8b);}const _0x376162=Date[_0xd6866b(-0xce,_0x1ac634._0x5b8744)]();for(const [_0x17d9ce,_0x2dab26]of Object['entries'](_0x65d6c4)){if(!_0x2dab26||typeof _0x2dab26!==_0xd6866b(_0x1ac634._0x3803a8,0x270)){delete _0x65d6c4[_0x17d9ce];continue;}typeof _0x2dab26['ts']!==_0xd6866b(0x1e2,_0x1ac634._0x539658)&&_0x248ae4['FdqzD'](typeof _0x2dab26[_0x1941bc(0x353,0x371)+'Ms'],'number')&&(_0x2dab26['ts']=_0x2dab26[_0x1941bc(0x4ca,_0x1ac634._0x1a261e)+'Ms']),_0x376162-_0x2dab26['ts']>DEVICE_BOOTSTRAP_TOKEN_TTL_MS&&delete _0x65d6c4[_0x17d9ce];}return _0x65d6c4;}async function readJsonFile(_0x119029){const _0x2982f4={_0x23a419:0x72a},_0x2c02ba={_0x5d48a1:0x32d},_0x34b9c7={'cCLJI':function(_0x467c8c,_0xe3e43e,_0x44b3c5){return _0x467c8c(_0xe3e43e,_0x44b3c5);}};function _0x1370d8(_0x40966d,_0x57ab64){return _0x35d151(_0x57ab64,_0x40966d-0xe);}function _0x51da4e(_0x3507b0,_0x128570){return _0x35d151(_0x128570,_0x3507b0-_0x2c02ba._0x5d48a1);}try{return JSON[_0x51da4e(0x94e,0x7c8)](await _0x34b9c7[_0x51da4e(0x5e6,0x825)](readFile,_0x119029,_0x51da4e(_0x2982f4._0x23a419,0x470)));}catch{return null;}}async function writeJsonAtomic(_0x579348,_0x37413f){const _0x5ba70b={_0x20e276:0x654,_0xd9beb4:0x5c2,_0x70cae8:0x8d3,_0x55bdd2:0x920,_0x2ea79e:0x464,_0x5b74b7:0x766,_0xc1551c:0x55a,_0x13d90a:0x738,_0x4ebff5:0x67a,_0x197ebd:0xa38,_0x2c4121:0x880},_0x487933={_0x5a1816:0xed},_0x264a2e={_0x46138a:0x1b6},_0x5b18d9={'PMfbD':function(_0x5dd717,_0x180a52){return _0x5dd717(_0x180a52);},'dxAay':function(_0x36f438,_0x65c68d,_0xc6184e){return _0x36f438(_0x65c68d,_0xc6184e);}};function _0x5d70a5(_0x45047b,_0x4e99ba){return _0x341e52(_0x4e99ba- -_0x264a2e._0x46138a,_0x45047b);}const _0xd7298f=JSON[_0x5d70a5(_0x5ba70b._0x20e276,_0x5ba70b._0xd9beb4)+'y'](_0x37413f,null,0x2),_0x473631={};_0x473631[_0x18100a(_0x5ba70b._0x70cae8,_0x5ba70b._0x55bdd2)+'e']=!![],_0x473631['mode']=0x1c0,await mkdir(_0x5b18d9['PMfbD'](_0x1d553f,_0x579348),_0x473631);function _0x18100a(_0x50f8ce,_0x521d96){return _0x341e52(_0x50f8ce-_0x487933._0x5a1816,_0x521d96);}const _0x56f3af=_0x579348+'.'+randomUUIDFragment()+'.tmp';try{const _0xac379d={};_0xac379d[_0x18100a(_0x5ba70b._0x2ea79e,0x21b)]=_0x18100a(_0x5ba70b._0x5b74b7,_0x5ba70b._0xc1551c),_0xac379d[_0x5d70a5(0x933,_0x5ba70b._0x13d90a)]=0x180,await writeFile(_0x56f3af,_0xd7298f,_0xac379d),await safeChmod(_0x56f3af,0x180),await rename(_0x56f3af,_0x579348),await _0x5b18d9[_0x18100a(0x84a,_0x5ba70b._0x4ebff5)](safeChmod,_0x579348,0x180);}finally{const _0x84630e={};_0x84630e[_0x18100a(_0x5ba70b._0x197ebd,0xa49)]=!![],await rm(_0x56f3af,_0x84630e)[_0x18100a(_0x5ba70b._0x2c4121,0x6a3)](()=>void 0x0);}}async function safeChmod(_0x3777ca,_0x456c37){try{await chmod(_0x3777ca,_0x456c37);}catch{}}function generatePairingToken(){const _0x24aa64={_0x424135:0x612,_0x3365f1:0x63e,_0x5bdc56:0x716,_0x365977:0x7eb,_0x39d76d:0x8c0},_0x7c5e2f={_0x1df55b:0xa3};function _0x2c097c(_0x3b495d,_0x1b646b){return _0x341e52(_0x3b495d-_0x7c5e2f._0x1df55b,_0x1b646b);}function _0x4f8ad3(_0x3d1aa0,_0x408297){return _0x341e52(_0x3d1aa0- -0x30c,_0x408297);}const _0x1a8314={'zDlxE':function(_0x3de96f,_0x4f2c6b){return _0x3de96f(_0x4f2c6b);}};return _0x1a8314[_0x4f8ad3(0x37d,_0x24aa64._0x424135)](randomBytes,PAIRING_TOKEN_BYTES)[_0x2c097c(_0x24aa64._0x3365f1,_0x24aa64._0x5bdc56)](_0x2c097c(_0x24aa64._0x365977,_0x24aa64._0x39d76d)+'l');}function normalizeStringArray(_0x3729b2){const _0x17869c={_0x5c57e5:0x1d4,_0x3a8b7a:0x442,_0xe9f154:0x960,_0x1b93f8:0x686,_0x1ca0ea:0x983},_0x3dcf8e={_0x5b7f36:0x83},_0x5748f1={};_0x5748f1['Jbevl']=_0x38329d(_0x17869c._0x5c57e5,_0x17869c._0x3a8b7a);const _0x3fc9f6=_0x5748f1,_0x402f7f=new Set();function _0x32423e(_0x44017f,_0x300492){return _0x341e52(_0x300492-_0x3dcf8e._0x5b7f36,_0x44017f);}for(const _0x276c7f of _0x3729b2){const _0x29d09a=typeof _0x276c7f===_0x3fc9f6[_0x38329d(0x32e,0x1cd)]?_0x276c7f[_0x32423e(_0x17869c._0xe9f154,_0x17869c._0x1b93f8)]():'';_0x29d09a&&_0x402f7f[_0x32423e(_0x17869c._0x1ca0ea,0x988)](_0x29d09a);}function _0x38329d(_0x5760c7,_0x3f1854){return _0x341e52(_0x5760c7- -0x206,_0x3f1854);}return[..._0x402f7f]['sort']();}function randomUUIDFragment(){const _0x53e02f={_0x3891b8:0x1fb},_0x2c3b2a={_0x38c127:0x187};function _0x12c5a4(_0x197ccd,_0x53ac9b){return _0x35d151(_0x197ccd,_0x53ac9b-_0x2c3b2a._0x38c127);}function _0x1af47e(_0xa392d5,_0x2867c6){return _0x35d151(_0xa392d5,_0x2867c6-_0x53e02f._0x3891b8);}return randomBytes(0xc)[_0x1af47e(0x35b,0x51a)](_0x12c5a4(0x8f1,0x705));}function createAsyncLock(){let _0x51503a=Promise['resolve']();return async function _0x22923c(_0x1875e3){const _0x533da3=_0x51503a;let _0x3247e6;_0x51503a=new Promise(_0x12b88b=>{_0x3247e6=_0x12b88b;}),await _0x533da3;try{return await _0x1875e3();}finally{_0x3247e6?.();}};}var CONTROL_PREFIX=_0x341e52(0x506,0x4da)+_0x35d151(-0xbd,0x17c)+'control_'+'_:';function parseControl(_0x3e6fca){const _0xf34d48={_0x38b6e3:0x3eb,_0x14dee5:0x15f,_0x15146c:0x161,_0x5cfc02:0x759,_0x587d2a:0x18,_0x293cea:0x192,_0x59f0b5:0x6b4,_0x1791b6:0xe1,_0x278e2b:0x5f1,_0x23bf8a:0x485,_0x540d90:0x48,_0x54c6d4:0x2ee,_0x5d3220:0xc9,_0x484aac:0x32f,_0x24797a:0x39a,_0x3a1696:0x693,_0x38804b:0x7e9},_0xf636c0={_0x2d3066:0x2b1},_0x4b6f71={_0x382b4e:0x11},_0x80f3dd={'wwqFU':_0x3d8021(_0xf34d48._0x38b6e3,_0xf34d48._0x14dee5),'OEtAV':'number','HESHp':function(_0x8876b0,_0x19595a){return _0x8876b0===_0x19595a;},'SQOFO':function(_0x9a8a3d,_0x59171b){return _0x9a8a3d(_0x59171b);}};function _0x3d8021(_0x242969,_0x2b2282){return _0x341e52(_0x242969-_0x4b6f71._0x382b4e,_0x2b2282);}if(!_0x3e6fca['startsWi'+'th'](CONTROL_PREFIX))return null;function _0x1d6ee6(_0x3efbed,_0x35af06){return _0x341e52(_0x35af06- -_0xf636c0._0x2d3066,_0x3efbed);}try{const _0x31d548=JSON['parse'](_0x3e6fca[_0x1d6ee6(0x2f,_0xf34d48._0x15146c)](CONTROL_PREFIX[_0x3d8021(0x87a,_0xf34d48._0x5cfc02)]));if(typeof _0x31d548[_0x1d6ee6(_0xf34d48._0x587d2a,_0xf34d48._0x293cea)]!==_0x80f3dd[_0x1d6ee6(0x706,_0xf34d48._0x59f0b5)]||!_0x31d548[_0x1d6ee6(0x3e7,0x192)][_0x3d8021(0x614,0x760)]())return null;const _0x192da7=isRecord(_0x31d548[_0x3d8021(0x3a3,0x5df)])?_0x31d548[_0x1d6ee6(0x9,_0xf34d48._0x1791b6)]:void 0x0,_0x560cd3=typeof _0x31d548[_0x3d8021(_0xf34d48._0x278e2b,0x65d)]===_0x80f3dd['OEtAV']&&Number[_0x1d6ee6(_0xf34d48._0x23bf8a,0x235)](_0x31d548['count'])?_0x31d548[_0x3d8021(0x5f1,0x469)]:_0x80f3dd[_0x1d6ee6(_0xf34d48._0x540d90,_0xf34d48._0x54c6d4)](typeof _0x192da7?.[_0x3d8021(0x5f1,0x2f8)],_0x1d6ee6(_0xf34d48._0x5d3220,0x305))&&Number['isFinite'](_0x192da7[_0x1d6ee6(0x47d,_0xf34d48._0x484aac)])?_0x192da7['count']:void 0x0;return{'event':_0x31d548[_0x3d8021(0x454,0x1f1)][_0x1d6ee6(_0xf34d48._0x24797a,0x352)](),'requestId':readOptionalString(_0x31d548[_0x3d8021(0x6cb,0x5cc)+'d']),'payload':_0x192da7,'sourceClientId':readOptionalString(_0x31d548[_0x3d8021(_0xf34d48._0x3a1696,0x931)+_0x3d8021(_0xf34d48._0x38804b,0x820)]),'targetClientId':_0x80f3dd[_0x1d6ee6(0x654,0x495)](readOptionalString,_0x31d548[_0x1d6ee6(0x396,0x391)+'ientId']),'count':_0x560cd3};}catch{return null;}}function parseConnectStartIdentity(_0x21ecfb){const _0x187c19={_0xf74f31:0x79c,_0xf991a5:0x618,_0xb24864:0x418,_0x2b222a:0x2e0,_0x5756b3:0x4e3,_0x1e11ec:0x18f,_0x4f2987:0x74c,_0x17ea9f:0xdd,_0x2d2374:0x91,_0xa4c481:0x7ce,_0x41d2bd:0x836,_0x1f8e4b:0x2ab,_0x4f7244:0x199,_0x4096ee:0x2e9,_0x1baef7:0x376,_0x2361e3:0x3ec,_0x3a29c7:0x5e1,_0x1e765e:0x5ec,_0x6b45fc:0x82d,_0x30c536:0x3f0,_0x4b8296:0x301,_0x49af99:0x76e,_0x86d208:0x61e},_0x334a84={_0x1356b9:0x13e},_0x36355b={'qNacY':function(_0x3cbf46,_0x581e61){return _0x3cbf46!==_0x581e61;},'CqivN':_0xfe3baf(_0x187c19._0xf74f31,0x834)+'start','TQZMA':function(_0x2d2a78,_0x4211b9,_0x5a8cd0,_0x2d3450,_0x4f8b6b){return _0x2d2a78(_0x4211b9,_0x5a8cd0,_0x2d3450,_0x4f8b6b);},'xxean':_0xfe3baf(0x7a1,_0x187c19._0xf991a5)+_0x3c451d(0x3a5,_0x187c19._0xb24864)};function _0xfe3baf(_0x496e77,_0x336cd2){return _0x35d151(_0x336cd2,_0x496e77-0x25a);}function _0x3c451d(_0x2eb178,_0x39e73e){return _0x35d151(_0x2eb178,_0x39e73e- -_0x334a84._0x1356b9);}try{const _0xb4c3da=JSON[_0x3c451d(_0x187c19._0x2b222a,_0x187c19._0x5756b3)](_0x21ecfb);if(_0x36355b[_0xfe3baf(0x43e,_0x187c19._0x1e11ec)](_0xb4c3da[_0xfe3baf(_0x187c19._0x4f2987,0x7a3)],'req'))return null;if(_0xb4c3da['method']!==_0x3c451d(-_0x187c19._0x17ea9f,_0x187c19._0x2d2374)&&_0xb4c3da[_0xfe3baf(_0x187c19._0xa4c481,_0x187c19._0x41d2bd)]!==_0x36355b[_0x3c451d(_0x187c19._0x1f8e4b,_0x187c19._0x4f7244)])return null;const _0x32936d=_0xb4c3da[_0x3c451d(_0x187c19._0x4096ee,0x27b)]??{},_0x345b02=typeof _0xb4c3da['id']===_0xfe3baf(0x3b8,_0x187c19._0x1baef7)&&_0xb4c3da['id'][_0x3c451d(_0x187c19._0x2361e3,0x249)]()?_0xb4c3da['id'][_0xfe3baf(_0x187c19._0x3a29c7,0x5f0)]():'req-'+Math[_0xfe3baf(_0x187c19._0x1e765e,_0x187c19._0x6b45fc)]()['toString'](0x24)[_0xfe3baf(_0x187c19._0x30c536,0x1e4)](0x2,0xc),_0x20f7cd=_0x36355b[_0x3c451d(_0x187c19._0x4b8296,0x3d7)](firstString,_0x32936d[_0xfe3baf(0x5e8,0x4fd)+'me'],_0x32936d['clientNa'+'me'],_0x32936d['deviceId'],_0x36355b[_0xfe3baf(_0x187c19._0x49af99,_0x187c19._0x86d208)]),_0x4c4b53={};return _0x4c4b53['id']=_0x345b02,_0x4c4b53[_0x3c451d(0x3df,0x1f1)]=_0x20f7cd,_0x4c4b53;}catch{return null;}}function isConnectHandshakeRequest(_0x4952cf){const _0x191fac={_0x368df0:0x28a,_0x40650c:0x29c,_0x443073:0x355,_0x3dc0b5:0x1b,_0x131221:0x25a,_0x50a96a:0x4f,_0x10a6c8:0x5a},_0xda488d={_0x249527:0x3c1},_0x1eb144={_0x3d0db7:0x469};function _0x3712e7(_0x4c9109,_0x1d155a){return _0x341e52(_0x1d155a- -_0x1eb144._0x3d0db7,_0x4c9109);}const _0x49fe37={};function _0x319442(_0x1ef1a1,_0x167dac){return _0x341e52(_0x1ef1a1- -_0xda488d._0x249527,_0x167dac);}_0x49fe37[_0x3712e7(_0x191fac._0x368df0,_0x191fac._0x40650c)]=function(_0x31238a,_0x3b362e){return _0x31238a===_0x3b362e;},_0x49fe37['oyILz']=_0x3712e7(0x11e,_0x191fac._0x443073)+_0x3712e7(_0x191fac._0x3dc0b5,0x1c6);const _0x377a38=_0x49fe37;try{const _0x87a7a0=JSON['parse'](_0x4952cf);return _0x377a38[_0x3712e7(_0x191fac._0x131221,_0x191fac._0x40650c)](_0x87a7a0[_0x3712e7(0x5,0x305)],_0x3712e7(_0x191fac._0x50a96a,-_0x191fac._0x10a6c8))&&(_0x87a7a0['method']===_0x3712e7(-0x200,-0x1e)||_0x87a7a0['method']===_0x377a38['oyILz']);}catch{return![];}}function parseConnectHandshakeMeta(_0x31712f){const _0x56f316={_0x22d322:0x400,_0x50af1c:0x4b2,_0xe673a1:0x423,_0x5eefb2:0x654,_0x103644:0x668,_0xcd1533:0x65f,_0x49f923:0x614,_0x39b937:0x473,_0x5c183b:0x2e7,_0x115dba:0x7a3,_0x398d93:0x6e8,_0x2b3e94:0x6eb,_0x124e19:0x646,_0x31f735:0x230,_0x42efb9:0x617,_0x424e5c:0x42e,_0x27fa67:0x572,_0x288f7f:0x40e},_0x40147d={_0x361a6f:0xd2},_0x12ece0={};_0x12ece0['Iqxcl']=_0x3735fb(_0x56f316._0x22d322,0x587),_0x12ece0['WlRxv']='string',_0x12ece0[_0x3735fb(_0x56f316._0x50af1c,0x485)]=function(_0x477290,_0x2ccbfb){return _0x477290===_0x2ccbfb;};const _0x5a0253=_0x12ece0;function _0x1f7c93(_0xb7704a,_0xd37995){return _0x35d151(_0xb7704a,_0xd37995-_0x40147d._0x361a6f);}function _0x3735fb(_0x2b8b72,_0xe7ac6c){return _0x35d151(_0xe7ac6c,_0x2b8b72-0x26d);}try{const _0x1c4b3e=JSON['parse'](_0x31712f);if(_0x1c4b3e[_0x1f7c93(_0x56f316._0xe673a1,0x5c4)]!==_0x5a0253[_0x1f7c93(_0x56f316._0x5eefb2,0x5d3)])return null;if(_0x1c4b3e[_0x1f7c93(0x8ca,0x646)]!==_0x3735fb(0x43c,_0x56f316._0x103644)&&_0x1c4b3e['method']!==_0x1f7c93(_0x56f316._0xcd1533,_0x56f316._0x49f923)+_0x3735fb(0x620,_0x56f316._0x39b937))return null;const _0x77dcec=_0x1c4b3e[_0x1f7c93(_0x56f316._0x5c183b,0x48b)]?.[_0x1f7c93(0x88a,_0x56f316._0x115dba)]?.[_0x3735fb(_0x56f316._0x398d93,_0x56f316._0x2b3e94)],_0x1230a9=_0x1c4b3e[_0x3735fb(0x626,0x59d)]?.[_0x1f7c93(0x689,0x385)];return{'id':typeof _0x1c4b3e['id']===_0x5a0253['WlRxv']&&_0x1c4b3e['id'][_0x3735fb(0x5f4,0x372)]()?_0x1c4b3e['id'][_0x3735fb(0x5f4,0x558)]():null,'method':_0x1c4b3e[_0x1f7c93(0x8ab,_0x56f316._0x124e19)],'noncePresent':typeof _0x77dcec===_0x1f7c93(0x2cd,0x230)&&_0x77dcec[_0x3735fb(0x85a,0x795)]>0x0,'nonceLength':_0x5a0253[_0x3735fb(0x4b2,0x2d8)](typeof _0x77dcec,_0x1f7c93(0x352,_0x56f316._0x31f735))?_0x77dcec[_0x1f7c93(0x67e,0x6bf)]:null,'authFields':_0x1230a9&&typeof _0x1230a9===_0x1f7c93(_0x56f316._0x42efb9,0x313)?Object[_0x3735fb(0x3a1,_0x56f316._0x424e5c)](_0x1230a9)[_0x3735fb(_0x56f316._0x27fa67,_0x56f316._0x288f7f)]():[]};}catch{return null;}}function parsePairingRequestFromError(_0x1deaf2,_0xba1969=Date[_0x35d151(0x312,0x16c)]()){const _0x2e616b={_0x183b32:0x2eb,_0xacabe4:0xa,_0x1a820e:0x798,_0x39a357:0x44b,_0x3a38ec:0x464,_0x315259:0x4c1,_0x424ddb:0x37a,_0x300d44:0x690,_0x40f528:0x2a7,_0x3a479a:0x29f,_0x391113:0x100,_0xb9402e:0x2a6,_0x1e71f9:0x189,_0xfe4b3:0x5e7,_0x102eb8:0x302,_0x361e58:0x1c1,_0x1395d0:0x3ec,_0x596a42:0xe7,_0x5184d9:0x5ae,_0x109abf:0x636,_0x681cb7:0x481,_0x47bc89:0x4c1,_0x195485:0x23e,_0x306554:0x3b8,_0x2847d1:0x238,_0x4450a5:0x4c1,_0x2c07c8:0x2ab,_0x2c5f87:0x430,_0x2253db:0x875,_0x18290a:0x50f,_0x530ba4:0x24c,_0x4c07d8:0x4a4,_0x37addf:0x27c,_0x47c989:0x5c2,_0x29d838:0x47a,_0x2097f4:0x74c},_0x5a09e6={'DPAhf':function(_0x8826ba,_0x36d8cc){return _0x8826ba===_0x36d8cc;},'ncBOH':_0xde0815(_0x2e616b._0x183b32,_0x2e616b._0xacabe4),'XGAbk':'PAIRING_'+_0xde0815(0x565,_0x2e616b._0x1a820e),'PapYu':function(_0x21b44f,_0x5aa2ff){return _0x21b44f(_0x5aa2ff);},'vcWKI':function(_0x50a192,_0x258664){return _0x50a192(_0x258664);}};function _0x2ac7a9(_0x3292c0,_0x8f8576){return _0x35d151(_0x3292c0,_0x8f8576- -0x8e);}function _0xde0815(_0x216bf2,_0x44e1cc){return _0x35d151(_0x44e1cc,_0x216bf2-0x18d);}try{const _0x57544e=JSON[_0xde0815(0x7ae,0x58f)](_0x1deaf2);if(_0x57544e[_0x2ac7a9(_0x2e616b._0x39a357,_0x2e616b._0x3a38ec)]!==_0xde0815(0x355,0x123)||_0x57544e['ok']!==![]||!_0x57544e[_0xde0815(_0x2e616b._0x315259,_0x2e616b._0x424ddb)])return null;const _0x8f7e12=_0x5a09e6[_0xde0815(0x619,_0x2e616b._0x300d44)](typeof _0x57544e[_0xde0815(0x4c1,_0x2e616b._0x40f528)][_0xde0815(_0x2e616b._0x3a479a,0x53d)],_0x5a09e6[_0x2ac7a9(_0x2e616b._0x391113,0x35a)])?_0x57544e[_0x2ac7a9(0x525,_0x2e616b._0xb9402e)]['code']:'',_0x350ab5=typeof _0x57544e['error'][_0x2ac7a9(-_0x2e616b._0x1e71f9,0x10b)]===_0xde0815(_0x2e616b._0x183b32,_0x2e616b._0xfe4b3)?_0x57544e[_0xde0815(0x4c1,0x63b)][_0x2ac7a9(-0x1e4,0x10b)]:'';if(!_0x8f7e12[_0x2ac7a9(0x8,0xe7)]('NOT_PAIR'+'ED')&&!_0x8f7e12[_0xde0815(_0x2e616b._0x102eb8,0x5ad)](_0x5a09e6[_0x2ac7a9(_0x2e616b._0x361e58,_0x2e616b._0x1395d0)])&&!_0x350ab5[_0x2ac7a9(0x2f4,_0x2e616b._0x596a42)](_0xde0815(0x3bc,_0x2e616b._0x5184d9)+'ED')&&!_0x350ab5[_0xde0815(_0x2e616b._0x102eb8,0x508)](_0xde0815(0x78a,0x93c)+_0x2ac7a9(_0x2e616b._0x109abf,_0x2e616b._0x681cb7)))return null;const _0x1e530f=_0x57544e[_0xde0815(_0x2e616b._0x47bc89,_0x2e616b._0x195485)][_0x2ac7a9(_0x2e616b._0x306554,_0x2e616b._0x2847d1)]??_0x57544e[_0xde0815(_0x2e616b._0x4450a5,_0x2e616b._0x2c07c8)]['data']??{},_0x17adb1=firstString(_0x1e530f['requestI'+'d'],extractRequestIdFromMessage(_0x350ab5),_0xde0815(0x875,0x799));return{'requestId':_0x17adb1,'deviceId':firstString(_0x1e530f[_0x2ac7a9(0x609,0x5bf)],''),'displayName':firstNullableString(_0x1e530f['displayN'+_0x2ac7a9(0x2d3,_0x2e616b._0x2c5f87)]),'platform':_0x5a09e6[_0xde0815(0x53a,0x830)](firstNullableString,_0x1e530f[_0x2ac7a9(_0x2e616b._0x2253db,0x5e9)]),'deviceFamily':firstNullableString(_0x1e530f[_0xde0815(_0x2e616b._0x18290a,0x382)+_0x2ac7a9(_0x2e616b._0x530ba4,0x1c5)]),'role':_0x5a09e6[_0xde0815(_0x2e616b._0x4c07d8,_0x2e616b._0x37addf)](firstNullableString,_0x1e530f[_0xde0815(_0x2e616b._0x47c989,0x445)]),'remoteIp':firstNullableString(_0x1e530f[_0xde0815(_0x2e616b._0x29d838,_0x2e616b._0x2097f4)]),'receivedAtMs':_0xba1969,'status':'pending'};}catch{return null;}}function parsePairResolvedEvent(_0x2157c6){const _0x3117c8={_0x3c9ea5:0x3cf,_0x5bd4a6:0x7d,_0x374c4d:0x46,_0x1470b2:0x4f3,_0x564b41:0x296,_0x50b2e9:0xa6,_0x1f0724:0x267,_0xd4cbb6:0x1e5,_0x290bfb:0x4ac,_0x2e7f83:0x46c,_0x212d5a:0x36e,_0x1daca0:0x50d,_0x3a3bce:0x456,_0x4f45cf:0x311,_0x4e5f36:0x1e5,_0x1cc85f:0x72c,_0x570d68:0x7d3,_0x5a4bbd:0xe,_0x4bfff7:0x2ba,_0xc45f76:0x8a5,_0x66c0f7:0x5d5,_0x26b7cb:0x474,_0x31eb37:0x150,_0x2635f1:0x66c},_0x5cf6ef={_0xcb0e16:0x2ee},_0x3221a5={_0xf5d9d9:0xcf},_0x120e21={};function _0x25661c(_0x5ea9c7,_0x31ff51){return _0x35d151(_0x5ea9c7,_0x31ff51-_0x3221a5._0xf5d9d9);}_0x120e21[_0x25661c(0x6af,0x624)]=_0x25661c(0x5ca,_0x3117c8._0x3c9ea5)+'air.reso'+_0x12c3d2(_0x3117c8._0x5bd4a6,0x296),_0x120e21[_0x12c3d2(-0x1c7,_0x3117c8._0x374c4d)]=_0x25661c(_0x3117c8._0x1470b2,0x22d);function _0x12c3d2(_0x4b1302,_0x19d015){return _0x35d151(_0x19d015,_0x4b1302- -_0x5cf6ef._0xcb0e16);}_0x120e21[_0x12c3d2(-0x103,0xbf)]=_0x12c3d2(0x3fa,0x6b7);const _0x3c58c2=_0x120e21;try{const _0x1c237d=JSON[_0x12c3d2(0x333,0x516)](_0x2157c6);if(_0x1c237d[_0x12c3d2(0x204,0x4)]!==_0x25661c(0x18e,_0x3117c8._0x564b41)||_0x1c237d[_0x25661c(_0x3117c8._0x50b2e9,0x296)]!==_0x3c58c2[_0x12c3d2(_0x3117c8._0x1f0724,-0x75)]||!_0x1c237d[_0x25661c(0x289,_0x3117c8._0xd4cbb6)])return null;const _0x4323f0=typeof _0x1c237d[_0x12c3d2(-0x1d8,-0x397)][_0x25661c(_0x3117c8._0x290bfb,0x50d)+'d']===_0x3c58c2['ANHpP']?_0x1c237d[_0x25661c(_0x3117c8._0x2e7f83,_0x3117c8._0xd4cbb6)][_0x25661c(_0x3117c8._0x212d5a,_0x3117c8._0x1daca0)+'d'][_0x25661c(0x697,_0x3117c8._0x3a3bce)]():'';if(!_0x4323f0)return null;const _0x1da068=typeof _0x1c237d[_0x25661c(_0x3117c8._0x4f45cf,_0x3117c8._0x4e5f36)][_0x25661c(_0x3117c8._0x1cc85f,0x7a8)]==='string'?_0x1c237d[_0x25661c(0xc3,_0x3117c8._0xd4cbb6)][_0x25661c(_0x3117c8._0x570d68,0x7a8)]:_0x3c58c2[_0x25661c(-_0x3117c8._0x5a4bbd,_0x3117c8._0x4bfff7)],_0x13e6a0=_0x1da068==='approved'||_0x1da068===_0x25661c(_0x3117c8._0xc45f76,_0x3117c8._0x66c0f7)?_0x1da068:_0x12c3d2(0x3fa,_0x3117c8._0x26b7cb),_0x253b86={};return _0x253b86[_0x12c3d2(_0x3117c8._0x31eb37,0x2b0)+'d']=_0x4323f0,_0x253b86[_0x12c3d2(0x3eb,_0x3117c8._0x2635f1)]=_0x13e6a0,_0x253b86;}catch{return null;}}function parseResponseEnvelopeMeta(_0xe13e30){const _0x113e46={_0x4fea80:0xa9,_0x228ab8:0x5ba,_0x8235f1:0x83f,_0x2b4bcd:0x710,_0x494b13:0x648,_0x445829:0x402,_0x1e21bf:0x320,_0x332cd1:0x62b,_0x479785:0x552,_0x3be634:0x10c,_0x3b01df:0x375,_0x58cc2e:0x402,_0x2504d4:0x5d8,_0x2ccd64:0x467,_0x4cb118:0x62b,_0x3441dc:0x299,_0x987d67:0x614,_0x49a1c7:0x37c,_0x39ba8b:0x43d,_0x272541:0x5a5,_0x2e54d3:0x552,_0x52c4d4:0x4f5,_0x5a2c18:0x57c},_0x463b25={_0x3d32c4:0x2a4},_0x328748={_0x4e83b3:0x21e},_0x4996b7={};_0x4996b7[_0x58422f(_0x113e46._0x4fea80,0x39e)]=function(_0x1dbceb,_0x3de90a){return _0x1dbceb!==_0x3de90a;};function _0x18732d(_0x3a1320,_0x4bcc2d){return _0x35d151(_0x4bcc2d,_0x3a1320-_0x328748._0x4e83b3);}_0x4996b7[_0x18732d(0x3f0,_0x113e46._0x228ab8)]=_0x18732d(0x3e6,0xdf);const _0xec5ada=_0x4996b7;function _0x58422f(_0xb6c140,_0x1b78af){return _0x35d151(_0xb6c140,_0x1b78af-_0x463b25._0x3d32c4);}try{const _0x373ce8=JSON[_0x18732d(_0x113e46._0x8235f1,0x5c5)](_0xe13e30);if(_0xec5ada['NdgKD'](_0x373ce8[_0x18732d(_0x113e46._0x2b4bcd,0x7f0)],_0xec5ada[_0x18732d(0x3f0,_0x113e46._0x494b13)]))return null;if(_0xec5ada['NdgKD'](typeof _0x373ce8['id'],_0x58422f(0x67e,_0x113e46._0x445829))||!_0x373ce8['id'][_0x58422f(_0x113e46._0x1e21bf,_0x113e46._0x332cd1)]())return null;return{'id':_0x373ce8['id']['trim'](),'ok':_0x373ce8['ok']===!![],'errorCode':typeof _0x373ce8[_0x18732d(_0x113e46._0x479785,0x651)]?.[_0x18732d(0x330,_0x113e46._0x3be634)]===_0x58422f(_0x113e46._0x3b01df,_0x113e46._0x58cc2e)&&_0x373ce8['error']['code']['trim']()?_0x373ce8[_0x58422f(0x493,_0x113e46._0x2504d4)][_0x58422f(_0x113e46._0x2ccd64,0x3b6)][_0x58422f(0x44a,_0x113e46._0x4cb118)]():null,'errorMessage':typeof _0x373ce8[_0x18732d(_0x113e46._0x479785,_0x113e46._0x3441dc)]?.[_0x18732d(0x3b7,_0x113e46._0x987d67)]===_0x18732d(_0x113e46._0x49a1c7,0x24d)&&_0x373ce8[_0x58422f(0x84e,_0x113e46._0x2504d4)][_0x58422f(0x56b,_0x113e46._0x39ba8b)][_0x18732d(_0x113e46._0x272541,0x458)]()?_0x373ce8[_0x18732d(_0x113e46._0x2e54d3,_0x113e46._0x52c4d4)][_0x18732d(0x3b7,0x227)][_0x58422f(_0x113e46._0x5a2c18,_0x113e46._0x4cb118)]():null};}catch{return null;}}function firstString(..._0x17fc9e){const _0x5a516b={_0xe7945e:0x80b,_0x1ce107:0x3b6},_0x2c855c={_0x335a18:0x9b},_0x3b776c={_0x3764ca:0x18f},_0x525727={};_0x525727[_0x3651ce(_0x5a516b._0xe7945e,0x534)]=_0x3651ce(_0x5a516b._0x1ce107,0x2ed);function _0x3651ce(_0xaa29b1,_0x577703){return _0x35d151(_0xaa29b1,_0x577703-_0x3b776c._0x3764ca);}const _0x42cb89=_0x525727;function _0x48a23d(_0x4d69d2,_0x5591d9){return _0x35d151(_0x5591d9,_0x4d69d2-_0x2c855c._0x335a18);}for(const _0x2211b6 of _0x17fc9e){if(typeof _0x2211b6===_0x42cb89[_0x48a23d(0x440,0x22f)]&&_0x2211b6[_0x3651ce(0x386,0x516)]())return _0x2211b6['trim']();}return'';}function firstNullableString(_0x240ca7){const _0x124ce8={_0x278992:0x189,_0x403fa7:0x69d,_0xcdbc8b:0x634,_0x565048:0x4f8},_0x354363={};_0x354363['aPZkQ']=_0x3bb402(-0x92,_0x124ce8._0x278992);function _0x511b51(_0x35db64,_0x163171){return _0x35d151(_0x35db64,_0x163171-0x350);}const _0x207bbd=_0x354363;function _0x3bb402(_0x2358d4,_0x32d5e1){return _0x35d151(_0x2358d4,_0x32d5e1-0x2b);}return typeof _0x240ca7===_0x207bbd[_0x3bb402(_0x124ce8._0x403fa7,_0x124ce8._0xcdbc8b)]&&_0x240ca7[_0x511b51(0x45e,0x6d7)]()?_0x240ca7[_0x3bb402(_0x124ce8._0x565048,0x3b2)]():null;}function readOptionalString(_0x413aa5){const _0x497d52={_0x117427:0x5b7,_0x22bfe4:0x6db,_0x5e1d26:0x5e5},_0xa79626={_0x47dff6:0x25e};function _0x59b6e4(_0x1ce695,_0x1e5ff6){return _0x35d151(_0x1ce695,_0x1e5ff6-0x230);}function _0x1e208b(_0x5b1e7d,_0x45a059){return _0x35d151(_0x5b1e7d,_0x45a059-_0xa79626._0x47dff6);}return typeof _0x413aa5===_0x59b6e4(0xa9,0x38e)&&_0x413aa5[_0x59b6e4(0x694,_0x497d52._0x117427)]()?_0x413aa5[_0x1e208b(_0x497d52._0x22bfe4,_0x497d52._0x5e1d26)]():void 0x0;}function isRecord(_0x8dce88){const _0x877ce={_0x6fc225:0x80a,_0x3a4858:0x2ad,_0x916937:0x1a1};function _0x52cb6d(_0x31b134,_0x57c2e1){return _0x35d151(_0x31b134,_0x57c2e1- -0x39);}const _0x4e3ebf={};function _0x4506e0(_0x386b3c,_0xc9c7b){return _0x35d151(_0x386b3c,_0xc9c7b-0x3a9);}_0x4e3ebf[_0x52cb6d(0x601,0x4e7)]=_0x4506e0(_0x877ce._0x6fc225,0x5ea);const _0x1e93e0=_0x4e3ebf;return typeof _0x8dce88===_0x1e93e0['daMMR']&&_0x8dce88!=null&&!Array[_0x52cb6d(_0x877ce._0x3a4858,_0x877ce._0x916937)](_0x8dce88);}function extractRequestIdFromMessage(_0x640772){const _0x5f15c7=_0x640772['match'](/requestId[:\s]*([a-f0-9-]+)/i);return _0x5f15c7?.[0x1]??null;}import{randomUUID as _0x579fc8}from'crypto';import{setTimeout as _0x5f15a5}from'timers/promises';import _0x42d174 from'ws';var HEARTBEAT_INTERVAL_MS=0x2710,HEARTBEAT_TIMEOUT_MS=0x88b8,GATEWAY_RETRY_DELAY_MS=0x4b0,RECONNECT_BASE_DELAY_MS=0x3e8,RECONNECT_MAX_DELAY_MS=0x3a98,CONNECT_HANDSHAKE_WARN_DELAY_MS=0x1f40,MAX_PENDING_GATEWAY_MESSAGES=0x100,MAX_DEVICE_DETAILS=0x20,MAX_PENDING_PAIR_REQUESTS=0x10,BridgeRuntime=class{[_0x35d151(0x5a5,0x3f1)];[_0x341e52(0x873,0x766)+_0x35d151(0x214,0x3a8)]=null;['gatewayS'+_0x341e52(0x3e7,0x4ab)]=null;[_0x341e52(0x3f4,0x4e7)+_0x341e52(0x773,0x7a0)]=![];[_0x341e52(0x741,0x4de)+'onnectin'+'g']=![];[_0x341e52(0x85b,0x9ec)]=!![];['relayAtt'+_0x341e52(0x3b6,0x6ae)]=0x0;[_0x35d151(0x7c6,0x5a5)+_0x341e52(0x7aa,0xa3f)+'yMs']=0x0;[_0x35d151(0x1c5,0x31b)+_0x35d151(-0x16,0x210)]=null;[_0x341e52(0x7dd,0x774)+'etryTime'+'r']=null;[_0x341e52(0x71f,0x637)+_0x35d151(0x138,0x210)]=null;[_0x35d151(0x45f,0x6cc)+_0x341e52(0x604,0x4d9)+_0x35d151(0x45a,0x4f5)]=[];[_0x35d151(0x491,0x194)+'andshake'+_0x35d151(0xc3,0x192)]=![];[_0x35d151(0x6aa,0x4c5)+_0x35d151(0x54a,0x326)+_0x341e52(0x5fc,0x3d5)+_0x35d151(0x682,0x4cf)]=![];[_0x35d151(0x4f0,0x4a7)+'mandStar'+'tedAtMs']=null;[_0x341e52(0x741,0x98c)+_0x341e52(0x7b1,0x59f)+'AtMs']=null;[_0x35d151(0x464,0x2eb)+'ConnectH'+'andshake'+'s']=new Map();[_0x35d151(0x4e1,0x509)];constructor(_0x33cb81){const _0x35b058={_0x416ed4:0x46e,_0x31de16:0x614,_0x466005:0x1b8,_0x55ed4e:0x382,_0x25a0ed:0x405},_0x255edf={_0x12b900:0x337},_0x116393={_0x2d81fc:0x198};function _0x414ca8(_0x399c6f,_0x33bef5){return _0x341e52(_0x33bef5- -_0x116393._0x2d81fc,_0x399c6f);}function _0x22d325(_0x15e532,_0x42b767){return _0x341e52(_0x15e532- -_0x255edf._0x12b900,_0x42b767);}this['options']=_0x33cb81,this[_0x414ca8(0x6ab,0x5ed)]={'running':![],'relayConnected':![],'gatewayConnected':![],'gatewayId':_0x33cb81['config'][_0x22d325(_0x35b058._0x416ed4,_0x35b058._0x31de16)+'d'],'instanceId':_0x33cb81[_0x22d325(0x1e3,-0x6a)][_0x22d325(0x4ae,0x68b)+'Id'],'relayUrl':_0x33cb81[_0x414ca8(_0x35b058._0x466005,_0x35b058._0x55ed4e)][_0x414ca8(0x5e8,_0x35b058._0x25a0ed)],'gatewayUrl':_0x33cb81[_0x22d325(0x609,0x8c1)+'rl'],'clientCount':0x0,'connectedDevices':[],'pendingPairRequests':[],'lastError':null,'lastUpdatedMs':Date['now']()};}['start'](){const _0x5af7e1={_0x28ff33:0x9e0,_0x3f2623:0x2b0,_0x2a092f:0x50b,_0x5f5b26:0x581,_0xdb6bf7:0x1d6,_0x1b2a0a:0x306,_0x336cb7:0xc2,_0x20ca97:0xf5,_0x435524:0x395,_0x429656:0x12c,_0x3b0212:0xee,_0x550213:0x34e,_0x5eccd9:0x4b0,_0x4ab76f:0x3a1,_0x27b785:0xa,_0xe40462:0x52a,_0x2f2025:0x4e1,_0xf2e1e1:0x587},_0x54c995={_0x8745fb:0x2bc};if(!this[_0x1775f1(_0x5af7e1._0x28ff33,0x89b)])return;this[_0x487a35(_0x5af7e1._0x3f2623,_0x5af7e1._0x2a092f)]=![];function _0x1775f1(_0x9a5c0,_0x589475){return _0x35d151(_0x9a5c0,_0x589475-_0x54c995._0x8745fb);}function _0x487a35(_0x2210d7,_0x5f1a05){return _0x35d151(_0x5f1a05,_0x2210d7- -0x32f);}this[_0x1775f1(_0x5af7e1._0x5f5b26,0x5b0)+_0x487a35(_0x5af7e1._0xdb6bf7,_0x5af7e1._0x1b2a0a)]({'running':!![],'gatewayUrl':this[_0x487a35(_0x5af7e1._0x336cb7,-_0x5af7e1._0x20ca97)][_0x487a35(_0x5af7e1._0x435524,0x278)+'rl']}),this[_0x487a35(_0x5af7e1._0x429656,_0x5af7e1._0x3b0212)](_0x487a35(0x7f,_0x5af7e1._0x550213)+_0x1775f1(0x3ef,_0x5af7e1._0x5eccd9)+_0x1775f1(_0x5af7e1._0x4ab76f,0x415)+_0x1775f1(0x145,0x41d)+this['options'][_0x1775f1(0x423,0x55a)][_0x487a35(0x1fa,_0x5af7e1._0x27b785)+'d']+('\x20gateway'+_0x1775f1(0x33b,_0x5af7e1._0xe40462))+this[_0x1775f1(0x760,0x6ad)][_0x487a35(_0x5af7e1._0x435524,_0x5af7e1._0x2f2025)+'rl']),void this[_0x1775f1(0xbce,0x8c3)+_0x1775f1(_0x5af7e1._0xf2e1e1,0x446)]();}async[_0x35d151(0x1fe,0x18c)](){const _0x1c9867={_0x3d9361:0x350,_0xb23c8d:0x351,_0x305f1c:0x3ee,_0x5b37a4:0x299,_0x2faa05:0x4da,_0x1dfdb2:0xd9,_0x55cbbe:0x5d8,_0x36cabc:0x48c,_0x839746:0x12,_0x2ee43f:0x3b0,_0x1cfd2d:0xef,_0x52d880:0xfd,_0x3c7bcc:0x304,_0x50ee34:0x236,_0x1b2a50:0x240,_0x12322a:0x218,_0x5ed659:0x2f4,_0x39676c:0x2a6,_0xa7406a:0x196,_0x3d34a9:0x5c,_0x136d7c:0x360,_0x54f4db:0x1d,_0x25d89a:0x12f,_0x2e00d8:0x252,_0x571d02:0x23e,_0x52406b:0x3e,_0x682945:0x69,_0x21bfbc:0x6a,_0x573cf3:0x162,_0x3f1224:0x1fd,_0x490f18:0x18,_0x35c752:0x1cc,_0x55b9bc:0x29f,_0x5b7331:0x295,_0x3bb731:0x27c},_0x48df1e={_0x424ea8:0x50b},_0x707be1={'njCCq':function(_0x41dcd9,_0x5eacc3){return _0x41dcd9(_0x5eacc3);}};if(this['stopped'])return;this[_0x5de1f8(0x651,_0x1c9867._0x3d9361)]=!![],this[_0x5de1f8(0x634,_0x1c9867._0xb23c8d)+_0x17d2cd(0x1be,0x257)](),this[_0x5de1f8(_0x1c9867._0x305f1c,0x368)+_0x17d2cd(_0x1c9867._0x5b37a4,0x4db)]?.[_0x17d2cd(_0x1c9867._0x2faa05,0x345)]();function _0x5de1f8(_0x228444,_0x1ee153){return _0x341e52(_0x1ee153- -_0x48df1e._0x424ea8,_0x228444);}this[_0x17d2cd(0x16e,0x45a)+_0x5de1f8(_0x1c9867._0x1dfdb2,-0x124)]?.[_0x17d2cd(0x4da,_0x1c9867._0x55cbbe)](),this[_0x17d2cd(0x4e8,0x398)+_0x17d2cd(0x299,_0x1c9867._0x36cabc)]=null,this[_0x5de1f8(-0x279,-_0x1c9867._0x839746)+'ocket']=null,this['pendingG'+_0x17d2cd(0x279,_0x1c9867._0x2ee43f)+'ssages']=[],this[_0x17d2cd(0x85,_0x1c9867._0x1cfd2d)+_0x5de1f8(0x133,0x24b)+_0x5de1f8(-0x3f5,-_0x1c9867._0x52d880)]=![],this[_0x5de1f8(_0x1c9867._0x3c7bcc,_0x1c9867._0x50ee34)+'loseBoun'+_0x5de1f8(0x3b8,0xf1)+_0x5de1f8(0x429,_0x1c9867._0x1b2a50)]=![],this[_0x5de1f8(-0x95,_0x1c9867._0x12322a)+_0x5de1f8(0x4f2,0x2b0)+_0x17d2cd(0x474,0x623)]=null,this[_0x5de1f8(_0x1c9867._0x5ed659,0x236)+_0x5de1f8(0x38,_0x1c9867._0x39676c)+'AtMs']=null;function _0x17d2cd(_0x16ac20,_0x45731c){return _0x341e52(_0x16ac20- -0x38b,_0x45731c);}this[_0x5de1f8(_0x1c9867._0xa7406a,_0x1c9867._0x3d34a9)+'ConnectH'+'andshake'+'s'][_0x17d2cd(0x38d,_0x1c9867._0x136d7c)](),this[_0x5de1f8(-_0x1c9867._0x54f4db,-0x117)+_0x5de1f8(_0x1c9867._0x25d89a,0x268)]=![],this['gatewayC'+_0x5de1f8(_0x1c9867._0x2e00d8,_0x1c9867._0x571d02)+'g']=![];const _0x3dbf01={};_0x3dbf01[_0x5de1f8(-0x1a2,-_0x1c9867._0x52406b)]=![],_0x3dbf01[_0x17d2cd(_0x1c9867._0x682945,-_0x1c9867._0x21bfbc)+'nected']=![],_0x3dbf01[_0x5de1f8(0xde,0x236)+_0x17d2cd(0x426,_0x1c9867._0x573cf3)]=![],_0x3dbf01['clientCo'+_0x5de1f8(-_0x1c9867._0x3f1224,-0xa2)]=0x0,_0x3dbf01['lastErro'+'r']=null,this['updateSn'+_0x5de1f8(0x515,0x276)](_0x3dbf01),this[_0x5de1f8(-_0x1c9867._0x490f18,_0x1c9867._0x35c752)](_0x17d2cd(_0x1c9867._0x55b9bc,_0x1c9867._0x5b7331)+'stopped'),await _0x707be1[_0x17d2cd(0x4ef,_0x1c9867._0x3bb731)](_0x5f15a5,0x19);}async[_0x35d151(0x15c,0x292)+_0x341e52(0x780,0x587)+'st'](_0x3d19d3){const _0x149a31={_0x17fd34:0x432,_0x287cbc:0x32f,_0x2ec81c:0x315,_0x33db1b:0x3ed,_0x2238f8:0x79,_0x1a2040:0x778,_0x3d122b:0x2da,_0x32f889:0x351,_0x1da0be:0x7da,_0x4e551a:0x49a,_0x4ce481:0x230,_0x318f76:0x334},_0x50cc8f={_0x306bf7:0xca},_0x2c008c={};_0x2c008c[_0x3d2cdb(_0x149a31._0x17fd34,0x1b7)+'d']=_0x3d19d3;function _0x4591c8(_0x4b8744,_0x197c3c){return _0x341e52(_0x4b8744- -_0x50cc8f._0x306bf7,_0x197c3c);}this[_0x3d2cdb(_0x149a31._0x287cbc,_0x149a31._0x2ec81c)+_0x3d2cdb(_0x149a31._0x33db1b,0x3c2)+'st'](_0x3d2cdb(0x193,_0x149a31._0x2238f8)+_0x4591c8(0x630,_0x149a31._0x1a2040)+_0x4591c8(_0x149a31._0x3d122b,_0x149a31._0x32f889),_0x2c008c);function _0x3d2cdb(_0xb7f22b,_0x306c87){return _0x341e52(_0x306c87- -0x503,_0xb7f22b);}this['markPair'+_0x4591c8(_0x149a31._0x1da0be,0x63b)+_0x4591c8(_0x149a31._0x4e551a,_0x149a31._0x4ce481)](_0x3d19d3,_0x4591c8(_0x149a31._0x318f76,0x350));}async[_0x341e52(0x437,0x1e8)+_0x341e52(0x4fa,0x41f)+'t'](_0x4d581c){const _0x20c930={_0x4f1f02:0x320,_0x1f615d:0x6e7,_0xf5006c:0x47c,_0x51899c:0x1ed,_0x37e453:0x434,_0x5862b6:0x462,_0x35c009:0x50a},_0x535a95={_0x16f03b:0x39c},_0x3e5c17={_0x59388c:0x39a};function _0xd78a31(_0x55c708,_0x1cd53e){return _0x341e52(_0x1cd53e- -_0x3e5c17._0x59388c,_0x55c708);}const _0x3d8d78={};_0x3d8d78[_0xd78a31(0x3e7,_0x20c930._0x4f1f02)+'d']=_0x4d581c;function _0x3c7e1b(_0x43c7e3,_0x39a51f){return _0x341e52(_0x39a51f- -_0x535a95._0x16f03b,_0x43c7e3);}this[_0x3c7e1b(_0x20c930._0x1f615d,_0x20c930._0xf5006c)+'wayReque'+'st'](_0x3c7e1b(_0x20c930._0x51899c,0x1e0)+_0x3c7e1b(0x295,_0x20c930._0x37e453)+'ct',_0x3d8d78),this['markPair'+_0xd78a31(_0x20c930._0x5862b6,_0x20c930._0x35c009)+_0xd78a31(0x271,0x1ca)](_0x4d581c,'rejected');}['getSnaps'+'hot'](){const _0x297a15={_0x30d610:0x7ed,_0x3105d5:0x80d,_0x1a8c31:0x592,_0x2d40d3:0x76f,_0x4e9a94:0xaa0,_0x2f41a4:0x7fd,_0x4ab9dd:0xb0a,_0x11c749:0x751,_0x42fb86:0x500,_0x2e29d4:0xa26,_0x4331dc:0x808},_0x199b48={_0x3e36f9:0x304};function _0xeed9c0(_0x3c462d,_0x3e8ab1){return _0x35d151(_0x3e8ab1,_0x3c462d-0x44a);}const _0x5c197d={...this[_0x59bcd3(_0x297a15._0x30d610,_0x297a15._0x3105d5)]};_0x5c197d['connecte'+'dDevices']=[...this[_0x59bcd3(0xa35,0x80d)][_0x59bcd3(_0x297a15._0x1a8c31,_0x297a15._0x2d40d3)+'dDevices']];function _0x59bcd3(_0x5aa854,_0xb1f006){return _0x35d151(_0x5aa854,_0xb1f006-_0x199b48._0x3e36f9);}return _0x5c197d[_0x59bcd3(_0x297a15._0x4e9a94,_0x297a15._0x2f41a4)+_0x59bcd3(_0x297a15._0x4ab9dd,0x808)+_0xeed9c0(_0x297a15._0x11c749,_0x297a15._0x42fb86)]=[...this['snapshot'][_0xeed9c0(0x943,_0x297a15._0x2e29d4)+_0x59bcd3(0x8c3,_0x297a15._0x4331dc)+'sts']],_0x5c197d;}async[_0x341e52(0x883,0x76e)+'elay'](){const _0x2637a={_0x4b9de6:0x5b4,_0x2fdd5e:0x8b4,_0x38e289:0xdd,_0x20b501:0x2b2,_0x12f26d:0x27e,_0x17a5f4:0x2a2,_0x592c24:0x927,_0x2590e9:0x203,_0x580c5d:0x4e8,_0x9de169:0x516,_0x2a294b:0x95e,_0x4f58ff:0x9a7,_0x99d6c:0x55c,_0x527735:0x6d3,_0x53966e:0x9f9,_0x514dbf:0xfe,_0x13fcaf:0xb4,_0x3c5a3e:0x633,_0x5689a8:0x48f,_0x2fe156:0x3c6},_0x44830d={_0x4c937c:0x5b4,_0x47a11e:0x79c,_0x17ae5d:0x147,_0x4b993d:0x2e9,_0xf74971:0x5a3,_0x138d93:0x248,_0x24c308:0xe1,_0x13d7b7:0x2a9,_0x3a2b03:0x28,_0x52abb7:0x286,_0x47cfb4:0x505,_0x81702c:0x43b,_0x2641f2:0x5b5,_0x32cdba:0x369,_0x5e7183:0x691,_0x2183fd:0x62f,_0x496c46:0x2e2,_0x591c03:0x33a,_0x3e64a7:0x90,_0x2bd858:0x1a8,_0xad7e37:0x92},_0x375c68={_0x577978:0x1ea,_0x472f03:0x2c4,_0x4ae177:0x96},_0x11be9d={_0x9d46fd:0x530,_0x2a3591:0x82e,_0x4f69fc:0x84b,_0x7a85c8:0x327,_0x2b876f:0x59b},_0x3678f2={_0x4aebe0:0x77},_0x18f755={_0x3a19ff:0x264,_0x30d878:0x1d4,_0x1da090:0x289},_0x11681d={_0x455460:0xbb},_0x2cffd8={_0x1eb20f:0x687,_0xacdf57:0x622,_0x1e12a6:0x464,_0xce34fb:0x1f2,_0x5abc3e:0x1e9,_0x2f2584:0x433,_0x31cbed:0x1b,_0x5a6a6a:0x2d8,_0x43b59c:0x39b,_0x29756a:0x50d,_0x3dd482:0x209,_0xeb146e:0x4a,_0x1ae5f2:0x57,_0x2c8154:0x1e0,_0x1c1524:0x37e,_0xa49e79:0x161,_0x52d5ba:0x372,_0x176a72:0x2c8,_0x81f0d2:0x4e7,_0x5986e7:0x516,_0x14907a:0x4ce,_0xbf37ce:0x149,_0x114f23:0x37,_0x4fe9dc:0x1c4,_0x1efa26:0x2ff,_0x416a6c:0x1d2,_0x478131:0x47e,_0x3832f7:0x15b,_0x4e7042:0x4ed,_0x9405f8:0x238},_0x466043={_0x18fd99:0x4be},_0x561ada={_0x3fa6cc:0x9b};function _0x562548(_0x570ef8,_0x562f48){return _0x35d151(_0x570ef8,_0x562f48-0x32b);}const _0x1f3379={'qAneU':function(_0x1bda31,_0x4a0c56,_0x42e987){return _0x1bda31(_0x4a0c56,_0x42e987);},'vcbtS':function(_0x42de4e,_0x386be3){return _0x42de4e(_0x386be3);},'pWEmn':_0x562548(_0x2637a._0x4b9de6,_0x2637a._0x2fdd5e)};if(this['stopped']||this[_0x17f8c9(_0x2637a._0x38e289,-0xcf)+_0x562548(0x5be,0x822)]||this['isRelayO'+_0x562548(0xb4e,0x994)]())return;this[_0x17f8c9(0xdd,_0x2637a._0x20b501)+_0x17f8c9(0x45c,_0x2637a._0x12f26d)]=!![],this['relayAtt'+'empt']+=0x1;const _0x1394b7=this[_0x17f8c9(0x1df,_0x2637a._0x17a5f4)+'empt'],_0x25adad=buildRelayWsUrl(this[_0x562548(_0x2637a._0x592c24,0x71c)][_0x17f8c9(_0x2637a._0x2590e9,_0x2637a._0x580c5d)]);this[_0x17f8c9(0x3c0,_0x2637a._0x9de169)](_0x562548(0xb9a,0x9a5)+'nnect\x20at'+_0x562548(0x9fc,_0x2637a._0x2a294b)+_0x1394b7+_0x17f8c9(0x4e9,0x65b)+redactRelayWsUrl(_0x25adad));const _0x368df9=this[_0x562548(0x7dd,0x5fc)+_0x562548(_0x2637a._0x4f58ff,0x6f2)](_0x25adad);this[_0x17f8c9(_0x2637a._0x99d6c,0x819)+_0x562548(0x86a,_0x2637a._0x527735)]=_0x368df9;function _0x17f8c9(_0x187193,_0x3720d7){return _0x35d151(_0x3720d7,_0x187193- -_0x561ada._0x3fa6cc);}_0x368df9[_0x562548(0xa63,_0x2637a._0x53966e)](_0x562548(0x63d,0x755),()=>{const _0x505a14={_0x4a4c3b:0x4e1};function _0x240122(_0x276665,_0x1ff7c8){return _0x562548(_0x276665,_0x1ff7c8- -_0x466043._0x18fd99);}if(this[_0x2404b2(0x429,_0x2cffd8._0x1eb20f)]||this[_0x240122(_0x2cffd8._0xacdf57,_0x2cffd8._0x1e12a6)+_0x2404b2(_0x2cffd8._0xce34fb,_0x2cffd8._0x5abc3e)]!==_0x368df9){_0x368df9[_0x2404b2(_0x2cffd8._0x2f2584,0x45f)]();return;}this[_0x240122(0x12f,-_0x2cffd8._0x31cbed)+_0x240122(0x536,0x364)]=![],this[_0x2404b2(0x3ef,0x16c)+_0x240122(_0x2cffd8._0x5a6a6a,_0x2cffd8._0x43b59c)+_0x240122(_0x2cffd8._0x29756a,_0x2cffd8._0x3dd482)]=Date[_0x2404b2(-_0x2cffd8._0xeb146e,_0x2cffd8._0x1ae5f2)]();const _0x49b6ac={};_0x49b6ac[_0x2404b2(-0x3e,_0x2cffd8._0x2c8154)+'nected']=!![];function _0x2404b2(_0x4d2739,_0x28d3dd){return _0x562548(_0x28d3dd,_0x4d2739- -_0x505a14._0x4a4c3b);}_0x49b6ac[_0x2404b2(0x86,_0x2cffd8._0x1c1524)+'r']=null,this[_0x240122(-0x3c,_0x2cffd8._0xa49e79)+_0x240122(0x1b9,_0x2cffd8._0x52d5ba)](_0x49b6ac),this[_0x240122(0x3eb,_0x2cffd8._0x176a72)](_0x240122(0x28f,_0x2cffd8._0x81f0d2)+_0x240122(0x627,_0x2cffd8._0x5986e7)+'attempt='+_0x1394b7),this[_0x240122(0x456,0x479)+_0x240122(0x4b3,_0x2cffd8._0x14907a)](),_0x1f3379[_0x240122(_0x2cffd8._0xbf37ce,0x34c)](shouldKeepGatewayConnected,this['snapshot']['clientCo'+_0x2404b2(_0x2cffd8._0x114f23,-_0x2cffd8._0x4fe9dc)],summarizePendingGatewayMessages(this[_0x2404b2(0x516,_0x2cffd8._0x1efa26)+_0x2404b2(_0x2cffd8._0x416a6c,0x319)+_0x240122(_0x2cffd8._0x478131,0x362)])[_0x2404b2(0x451,_0x2cffd8._0x3832f7)+_0x240122(0x217,_0x2cffd8._0x4e7042)])&&this['ensureGa'+'tewayCon'+_0x240122(_0x2cffd8._0x9405f8,0x437)]();}),_0x368df9['on'](_0x17f8c9(_0x2637a._0x514dbf,_0x2637a._0x13fcaf),(_0x42a96e,_0x3fde66)=>{function _0x499972(_0x98fe41,_0x370045){return _0x17f8c9(_0x98fe41-_0x11681d._0x455460,_0x370045);}function _0x5f34c4(_0x3e7db3,_0x1ffb83){return _0x17f8c9(_0x3e7db3- -0x270,_0x1ffb83);}void this[_0x499972(_0x18f755._0x3a19ff,_0x18f755._0x30d878)+_0x499972(_0x18f755._0x1da090,0xf8)+'ge'](_0x42a96e,_0x3fde66);}),_0x368df9['on'](_0x562548(0x7d9,0x614),()=>{function _0x25317b(_0x232288,_0x1a5f03){return _0x562548(_0x232288,_0x1a5f03- -_0x3678f2._0x4aebe0);}function _0x33c039(_0x5d8c6d,_0x50413e){return _0x562548(_0x50413e,_0x5d8c6d- -0x3a0);}this[_0x33c039(_0x11be9d._0x9d46fd,_0x11be9d._0x2a3591)+_0x25317b(_0x11be9d._0x4f69fc,0x7e2)+_0x33c039(_0x11be9d._0x7a85c8,0x11a)]=Date[_0x25317b(_0x11be9d._0x2b876f,0x420)]();}),_0x368df9[_0x17f8c9(_0x2637a._0x3c5a3e,0x63f)](_0x562548(_0x2637a._0x5689a8,0x65f),_0x4beb0f=>{const _0xcb2f9b={_0x378dd1:0x4a9};function _0x4067e0(_0x5cb19b,_0x38e054){return _0x562548(_0x38e054,_0x5cb19b- -_0xcb2f9b._0x378dd1);}function _0x1ed37e(_0x559b83,_0x27fa63){return _0x562548(_0x559b83,_0x27fa63- -0x5c9);}this[_0x1ed37e(0x184,0x1bd)](_0x4067e0(_0x375c68._0x577978,_0x375c68._0x472f03)+_0x1ed37e(0x95,-_0x375c68._0x4ae177)+_0x1f3379['vcbtS'](String,_0x4beb0f));}),_0x368df9['once'](_0x17f8c9(0x54e,_0x2637a._0x2fe156),(_0x31aa4d,_0x5dc50a)=>{const _0x57f9fe=(_0x5a2c28(0x50,0x208)+_0x1b16e2(0x274,0x3a)+'7')['split']('|');let _0x3226c7=0x0;function _0x5a2c28(_0x1134f6,_0x438893){return _0x562548(_0x438893,_0x1134f6- -0x5e8);}function _0x1b16e2(_0x1d6747,_0x5a3db2){return _0x562548(_0x5a3db2,_0x1d6747- -0x21d);}while(!![]){switch(_0x57f9fe[_0x3226c7++]){case'0':this[_0x5a2c28(0x19e,-0xa8)](_0x1b16e2(_0x44830d._0x4c937c,0x358)+_0x1b16e2(_0x44830d._0x47a11e,0x7e7)+_0x5a2c28(-0xaa,0xeb)+_0x31aa4d+_0x1b16e2(0x728,0xa19)+(_0x5dc50a[_0x5a2c28(0x62,0x174)]()||_0x1f3379[_0x5a2c28(0x3af,_0x44830d._0x17ae5d)]));continue;case'1':this['gatewayC'+'onnected'+_0x5a2c28(_0x44830d._0x4b993d,0x4c4)]=null;continue;case'2':this['relaySoc'+'ket']===_0x368df9&&(this[_0x1b16e2(0x705,_0x44830d._0xf74971)+_0x1b16e2(0x4b6,0x36f)]=null);continue;case'3':this['updateSn'+_0x5a2c28(_0x44830d._0x138d93,_0x44830d._0x24c308)]({'relayConnected':![],'gatewayConnected':![],'clientCount':0x0,'lastError':_0x31aa4d===0x3e8?null:'relay\x20cl'+_0x5a2c28(_0x44830d._0x13d7b7,0xa1)+(_0x5dc50a[_0x5a2c28(0x62,-_0x44830d._0x3a2b03)]()||_0x31aa4d)});continue;case'4':this[_0x1b16e2(_0x44830d._0x52abb7,_0x44830d._0x47cfb4)+_0x1b16e2(0x605,0x30b)]=![];continue;case'5':this[_0x5a2c28(0x275,0x33d)+_0x1b16e2(0x54a,_0x44830d._0x81702c)]();continue;case'6':this[_0x1b16e2(_0x44830d._0x2641f2,_0x44830d._0x32cdba)+_0x5a2c28(0x282,0x571)+_0x1b16e2(_0x44830d._0x5e7183,_0x44830d._0x2183fd)]=null;continue;case'7':this[_0x5a2c28(_0x44830d._0x496c46,_0x44830d._0x591c03)+_0x5a2c28(-_0x44830d._0x3e64a7,_0x44830d._0x2bd858)+'onnect']();continue;case'8':this[_0x5a2c28(0x156,0x2f3)+_0x5a2c28(_0x44830d._0xad7e37,0x28a)]();continue;}break;}});}async[_0x341e52(0x4c0,0x245)+'layMessa'+'ge'](_0x315c70,_0x27b0f9){const _0x3b659f={_0x3f73ae:0x4d4,_0x2002c2:0x233,_0x3e61a5:0x3ba,_0x350da7:0xdb,_0x3aee08:0x3a0,_0x238e9c:0x37b,_0x166bcf:0x163,_0x376623:0x3df,_0x4a3a08:0x64d,_0x362c5a:0x155,_0x33f711:0x3d3,_0x2e7469:0x416,_0x5d91aa:0x6a,_0x598630:0x1be,_0x5ed245:0x16e,_0x3f18a9:0x273,_0x33163b:0x1cb,_0x27618a:0x23f,_0x15059c:0x37b},_0x1b3901={_0x575159:0x1c1},_0x11e0ee={'jplSD':function(_0x1e17e0,_0x5d4acb){return _0x1e17e0(_0x5d4acb);}};this[_0xa01bd6(_0x3b659f._0x3f73ae,_0x3b659f._0x2002c2)+_0xa01bd6(0x45d,0x233)+'yMs']=Date[_0x36c0f3(-0x270,-0x55)]();if(_0x27b0f9){this[_0x36c0f3(_0x3b659f._0x3e61a5,_0x3b659f._0x350da7)+'rQueueGa'+_0x36c0f3(_0x3b659f._0x3aee08,_0x3b659f._0x238e9c)+_0x36c0f3(-0x230,-0xc5)]({'kind':_0xa01bd6(0x321,_0x3b659f._0x166bcf),'data':normalizeBinary(_0x315c70)});return;}const _0x53fb1b=normalizeText(_0x315c70);if(_0x53fb1b==null)return;const _0x9d2e2d=_0x11e0ee[_0xa01bd6(_0x3b659f._0x376623,_0x3b659f._0x4a3a08)](parseControl,_0x53fb1b);function _0xa01bd6(_0x3b89d8,_0xe01f0f){return _0x35d151(_0xe01f0f,_0x3b89d8- -0xd1);}if(_0x9d2e2d){await this[_0xa01bd6(0x173,0x204)+_0x36c0f3(0x220,0x1b7)+'ol'](_0x9d2e2d);return;}const _0x2b5d2c=parseConnectStartIdentity(_0x53fb1b);_0x2b5d2c&&this[_0xa01bd6(0x2ca,_0x3b659f._0x362c5a)+_0xa01bd6(_0x3b659f._0x33f711,_0x3b659f._0x2e7469)+_0x36c0f3(-0xb9,-_0x3b659f._0x5d91aa)](_0x2b5d2c['id'],_0x2b5d2c[_0x36c0f3(_0x3b659f._0x598630,_0x3b659f._0x5ed245)]);const _0x28b1eb={};_0x28b1eb[_0xa01bd6(0x5e7,0x7e4)]=_0x36c0f3(_0x3b659f._0x3f18a9,0x3b),_0x28b1eb['text']=_0x53fb1b;function _0x36c0f3(_0xc5d72d,_0x585387){return _0x35d151(_0xc5d72d,_0x585387- -_0x1b3901._0x575159);}this[_0xa01bd6(_0x3b659f._0x33163b,-0x91)+_0x36c0f3(-0x317,-0xe)+_0x36c0f3(_0x3b659f._0x27618a,_0x3b659f._0x15059c)+'sage'](_0x28b1eb);}async[_0x35d151(0xb8,0x244)+'layContr'+'ol'](_0x2856c5){const _0x2b9d1a={_0x5d9568:0x90b,_0x2d81b7:0x2bb,_0x138fe8:0x28e,_0xb9ee6b:0x3c4,_0x464b3c:0x46c,_0x3e7254:0x70a,_0x508de5:0x655,_0x32e840:0x444,_0x1ea3f8:0x7eb,_0x5d1b9e:0x605,_0x50f718:0x62a,_0x2625c1:0x56a,_0x4d669b:0x40a,_0x48960f:0x896,_0x50c6cc:0x5f9,_0x4a29eb:0x616,_0x3761bf:0x670,_0x2aa96f:0x506,_0x4a9fa0:0x5f0,_0x238ecd:0x60d,_0x1de986:0x66a,_0x211c8c:0x463,_0x27da79:0x54a,_0x349538:0x398,_0x535467:0x3ed,_0x5e250c:0x527,_0x3f9b0d:0x6a9,_0x5a29cd:0x992,_0xb8046:0x697,_0x2e87c9:0x486,_0x13cfd5:0x1d7,_0x31e8f5:0x4fd,_0x4f145d:0x468,_0xb99250:0x7c1,_0x4409f9:0x5f5,_0x21b32d:0x55e,_0x408281:0x617,_0x5c7f1d:0x421,_0x510b73:0x5a9,_0x5692c3:0x8cc,_0x49c603:0x366,_0x57e931:0x5bc,_0x1b5ea8:0x2e2,_0x5ed5e4:0x78f,_0x1d88d3:0x253,_0x4c6c42:0x424,_0x36cfd3:0x31b,_0x3fda0b:0x755,_0x5e50a9:0xb8c,_0x4307d3:0x5c2,_0x5a7f7e:0x80a,_0x5af80b:0x454,_0x4b00d9:0x5a9,_0x147a76:0x561,_0x4ea24b:0x5a5,_0x53a587:0x49d,_0x242abd:0x850,_0x3a90c3:0x971,_0xcbcb64:0x4ed,_0x45d98f:0x798,_0x9aaee1:0x4d6,_0x43476f:0x643,_0x1ec9a8:0x9cd,_0x48561c:0x4ff,_0x4ef0b6:0x623,_0x4053ae:0x821,_0x57ca6c:0x74f,_0x183156:0x516,_0x4cf975:0x317,_0x3f6022:0x815,_0x272f4c:0x729,_0x1a91a1:0x8bc,_0x4cec66:0xb0,_0x1c2dfa:0x2e2,_0x18e8db:0xa58,_0x21e9d0:0x81a,_0x3d36e1:0x63d,_0x4be782:0x543,_0x5afdfe:0x4f9,_0x4b19b4:0x90d,_0x18569d:0x903,_0x55285f:0x7aa,_0x797924:0x4cc,_0x14d08a:0x3ee,_0x4dfa42:0x31a,_0xa02aba:0x4de,_0x566f0d:0x359,_0x2d4563:0x56b,_0x199d04:0x5d8,_0x13655e:0x499,_0x3cfc3e:0x88f,_0x16e893:0x80a,_0x3ea971:0x474,_0x266733:0x6dc,_0x5f353f:0x7ea,_0x4f6b2b:0x442,_0xd41354:0x653,_0x3ee00a:0x710,_0x39ec69:0x3c4,_0x21401b:0x198,_0x40f882:0x720,_0xd783b5:0x654,_0x202d67:0x759,_0x3dd840:0x5e6,_0x300f5e:0x613,_0x30588c:0x80b,_0xc39f42:0x628,_0x792af4:0x6e0,_0x5558f1:0x6c0,_0x4037d9:0x87f,_0x48d611:0x2c9,_0xfcb04b:0x3e2,_0x30e943:0x447,_0x44815e:0x810,_0x590a5a:0x55d,_0xc5b994:0x33b,_0x3418f7:0x5a9,_0x285e28:0x471,_0x425f0a:0x25d,_0x39b188:0x4a9,_0x7117a7:0x434,_0x581907:0x3cc,_0x37491f:0x540,_0xe1b06b:0x4d0,_0x403e18:0x788,_0x54dfe7:0x4b1,_0x38a75a:0x3e9,_0x1f16d5:0x39e,_0x3e17a4:0x59c,_0x3eec39:0x6c0,_0x1efce1:0x8bb},_0x45a243={_0x22542a:0x2b5};function _0x553805(_0x24906b,_0x3238ba){return _0x35d151(_0x24906b,_0x3238ba-_0x45a243._0x22542a);}const _0x25cde2={'XHADf':function(_0x3d5cef,_0x21ab83){return _0x3d5cef===_0x21ab83;},'aCAMm':function(_0x3c0e82,_0x3abeb0){return _0x3c0e82==_0x3abeb0;},'oggSu':function(_0x2e1186,_0x14454a){return _0x2e1186===_0x14454a;},'NxcZs':'client\x20d'+_0x4ccb8b(_0x2b9d1a._0x5d9568,0x655)+_0x4ccb8b(_0x2b9d1a._0x2d81b7,_0x2b9d1a._0x138fe8)+_0x4ccb8b(0x753,0x569)+_0x553805(_0x2b9d1a._0xb9ee6b,0x42b)+_0x553805(0x281,_0x2b9d1a._0x464b3c)+_0x553805(0x88d,_0x2b9d1a._0x3e7254),'rUqEm':'client\x20d'+_0x4ccb8b(0x706,_0x2b9d1a._0x508de5)+_0x4ccb8b(_0x2b9d1a._0x32e840,_0x2b9d1a._0x138fe8)+_0x4ccb8b(0x5f4,_0x2b9d1a._0x1ea3f8)+_0x553805(_0x2b9d1a._0x5d1b9e,_0x2b9d1a._0x50f718)+_0x553805(_0x2b9d1a._0x2625c1,_0x2b9d1a._0x4d669b)+_0x4ccb8b(_0x2b9d1a._0x48960f,_0x2b9d1a._0x50c6cc),'wabyW':function(_0x5893b5,_0x1309db){return _0x5893b5(_0x1309db);},'rlOjl':function(_0x40f80c,_0x35357b){return _0x40f80c>_0x35357b;},'CuoUn':function(_0x554066,_0x2e25c7,_0x29b9eb,_0x52fe92){return _0x554066(_0x2e25c7,_0x29b9eb,_0x52fe92);},'mwTEa':_0x553805(0x244,0x411)+'isconnec'+_0x553805(0x741,_0x2b9d1a._0x4a29eb)+_0x4ccb8b(_0x2b9d1a._0x3761bf,0x491)+_0x4ccb8b(0x954,0x764)+_0x4ccb8b(0x3c4,_0x2b9d1a._0x2aa96f)};function _0x4ccb8b(_0x22f011,_0x470355){return _0x35d151(_0x22f011,_0x470355-0x14e);}if(_0x2856c5[_0x553805(_0x2b9d1a._0x4a9fa0,0x47c)]===_0x4ccb8b(0x779,_0x2b9d1a._0x238ecd)+_0x553805(_0x2b9d1a._0x1de986,_0x2b9d1a._0x211c8c)+'t'){await this[_0x553805(0x4e4,0x53e)+'otstrapR'+_0x4ccb8b(_0x2b9d1a._0x27da79,_0x2b9d1a._0x349538)](_0x2856c5);return;}const {event:_0x3bfca8,count:_0x253fce}=_0x2856c5;if(_0x25cde2[_0x4ccb8b(_0x2b9d1a._0x535467,_0x2b9d1a._0x5e250c)](_0x3bfca8,_0x4ccb8b(0x46e,0x542)+_0x553805(0x78f,0x7ea))||_0x3bfca8===_0x553805(0x8cc,_0x2b9d1a._0x3f9b0d)+_0x4ccb8b(_0x2b9d1a._0x5a29cd,_0x2b9d1a._0xb8046)){const _0x43bdfd=this[_0x4ccb8b(_0x2b9d1a._0x2e87c9,0x657)][_0x4ccb8b(0x35f,0x55d)+_0x553805(_0x2b9d1a._0x13cfd5,0x4a2)],_0x2ab72e=_0x253fce??Math[_0x4ccb8b(_0x2b9d1a._0x31e8f5,_0x2b9d1a._0x4f145d)](0x1,this[_0x4ccb8b(0x677,0x657)][_0x4ccb8b(0x4ad,0x55d)+'unt']);_0x2ab72e>0x0&&_0x25cde2['aCAMm'](this[_0x4ccb8b(_0x2b9d1a._0xb99250,_0x2b9d1a._0x4409f9)+'mandStar'+_0x553805(_0x2b9d1a._0x21b32d,0x838)],null)&&(this['clientDe'+_0x553805(0x5b1,0x7f4)+_0x553805(_0x2b9d1a._0x408281,0x838)]=Date[_0x553805(0x245,_0x2b9d1a._0x5c7f1d)]());const _0x3d154a={};_0x3d154a[_0x4ccb8b(0x5b4,0x55d)+_0x553805(0x469,0x4a2)]=_0x2ab72e,this[_0x553805(0x665,_0x2b9d1a._0x510b73)+_0x4ccb8b(_0x2b9d1a._0x5692c3,0x653)](_0x3d154a);if(_0x25cde2[_0x4ccb8b(_0x2b9d1a._0x49c603,0x41d)](_0x2ab72e,0x0)){this[_0x4ccb8b(_0x2b9d1a._0x57e931,_0x2b9d1a._0x1b5ea8)+_0x553805(0xa47,_0x2b9d1a._0x5ed5e4)+'Started']=![],this[_0x4ccb8b(-0x95,_0x2b9d1a._0x1d88d3)+_0x553805(0x227,0x3c4)+'t'](),this['dropStal'+_0x4ccb8b(0x6f6,_0x2b9d1a._0x4c6c42)+_0x4ccb8b(0x442,_0x2b9d1a._0x36cfd3)+'e']();const _0x4480c5=summarizePendingGatewayMessages(this[_0x4ccb8b(0x5c8,0x81a)+'atewayMe'+'ssages'])[_0x4ccb8b(0xa21,_0x2b9d1a._0x3fda0b)+_0x553805(_0x2b9d1a._0x5e50a9,0x935)];shouldScheduleGatewayIdleClose(_0x2ab72e,_0x4480c5,this[_0x4ccb8b(_0x2b9d1a._0x4307d3,_0x2b9d1a._0x5a7f7e)+'yOpen']())?(this[_0x4ccb8b(_0x2b9d1a._0x5af80b,_0x2b9d1a._0x4b00d9)](_0x25cde2['NxcZs']),this[_0x4ccb8b(0x39f,_0x2b9d1a._0x147a76)+_0x4ccb8b(_0x2b9d1a._0x4ea24b,_0x2b9d1a._0x53a587)]()):this[_0x4ccb8b(0x7ef,_0x2b9d1a._0x510b73)](_0x25cde2[_0x553805(_0x2b9d1a._0x242abd,0x736)]);}else{if(shouldRecycleGatewayForFreshClient(_0x43bdfd,_0x2ab72e,this[_0x553805(0xb28,_0x2b9d1a._0x3a90c3)+_0x553805(_0x2b9d1a._0xcbcb64,0x705)](),![])){const _0x2ee74b=_0x25cde2[_0x4ccb8b(0x95c,_0x2b9d1a._0x45d98f)](summarizePendingGatewayMessages,this[_0x553805(0x819,0x981)+_0x4ccb8b(0x4e9,_0x2b9d1a._0x9aaee1)+_0x4ccb8b(0x897,_0x2b9d1a._0x43476f)]);this[_0x553805(_0x2b9d1a._0x1ec9a8,0x710)](_0x553805(_0x2b9d1a._0x48561c,0x62f)+_0x553805(_0x2b9d1a._0x4ef0b6,_0x2b9d1a._0x4053ae)+_0x4ccb8b(_0x2b9d1a._0x57ca6c,0x4e7)+'d\x20for\x20fr'+'esh\x20clie'+_0x4ccb8b(_0x2b9d1a._0x183156,_0x2b9d1a._0x4cf975)+_0x553805(_0x2b9d1a._0x3f6022,_0x2b9d1a._0x272f4c)+'='+_0x2ee74b['total']+('\x20connect'+'=')+_0x2ee74b[_0x553805(0x84b,_0x2b9d1a._0x1a91a1)+_0x4ccb8b(0x913,0x7ce)]+'\x20text='+_0x2ee74b['otherTex'+'t']+'\x20binary='+_0x2ee74b['binary']+(_0x4ccb8b(0x854,0x80b)+_0x553805(0x546,0x557)+'d=')+this[_0x4ccb8b(_0x2b9d1a._0x4cec66,_0x2b9d1a._0x1c2dfa)+'andshake'+_0x4ccb8b(0x127,0x2e0)]);const _0xb0219b=prunePendingGatewayMessagesForFreshDemand(this[_0x4ccb8b(_0x2b9d1a._0x18e8db,_0x2b9d1a._0x21e9d0)+_0x553805(0x666,_0x2b9d1a._0x3d36e1)+_0x4ccb8b(_0x2b9d1a._0x4be782,_0x2b9d1a._0x43476f)]);_0x25cde2[_0x4ccb8b(0x610,_0x2b9d1a._0x5afdfe)](_0xb0219b['dropped'],0x0)&&(this[_0x4ccb8b(_0x2b9d1a._0x4b19b4,0x81a)+_0x4ccb8b(0x46a,0x4d6)+_0x553805(_0x2b9d1a._0x18569d,_0x2b9d1a._0x55285f)]=_0xb0219b['messages'],this['log']('dropped\x20'+_0x553805(0x1d7,_0x2b9d1a._0x797924)+_0x4ccb8b(0x496,_0x2b9d1a._0x14d08a)+_0x4ccb8b(_0x2b9d1a._0x4dfa42,0x61c)+'re\x20recyc'+'le\x20dropp'+_0x553805(0x4e5,_0x2b9d1a._0xa02aba)+_0xb0219b[_0x4ccb8b(_0x2b9d1a._0x566f0d,_0x2b9d1a._0x2d4563)]+_0x553805(_0x2b9d1a._0x199d04,0x4b4)+_0xb0219b[_0x4ccb8b(0x402,0x6fb)]['length'])),this[_0x4ccb8b(0x50c,0x561)+_0x4ccb8b(_0x2b9d1a._0x13655e,_0x2b9d1a._0x53a587)](!![]);}if(this[_0x4ccb8b(_0x2b9d1a._0x3cfc3e,_0x2b9d1a._0x16e893)+_0x553805(0x6bd,0x705)]()&&!this['gatewayC'+_0x4ccb8b(0x75e,_0x2b9d1a._0x3ea971)+_0x553805(0x6f9,0x635)+'ing']){const _0x5ce3c8={};_0x5ce3c8[_0x553805(0x73b,0x77a)+_0x553805(_0x2b9d1a._0x266733,_0x2b9d1a._0x5f353f)]=!![],_0x5ce3c8['lastErro'+'r']=null,this[_0x4ccb8b(0x663,_0x2b9d1a._0x4f6b2b)+_0x4ccb8b(0x82b,_0x2b9d1a._0xd41354)](_0x5ce3c8),this[_0x553805(0x50b,_0x2b9d1a._0x3ee00a)](_0x4ccb8b(_0x2b9d1a._0x39ec69,0x4c8)+_0x553805(_0x2b9d1a._0x21401b,0x457)+_0x553805(0x659,_0x2b9d1a._0x40f882)+_0x553805(0xa42,0x86f)+_0x4ccb8b(_0x2b9d1a._0xd783b5,_0x2b9d1a._0x202d67)+_0x553805(_0x2b9d1a._0x3dd840,0x3b9)+this['elapsedS'+_0x553805(0xa45,0x791)](this[_0x4ccb8b(0x53e,_0x2b9d1a._0x300f5e)+'onnected'+_0x4ccb8b(0x492,0x6f4)])+(_0x4ccb8b(0x601,_0x2b9d1a._0x30588c)+'keStarte'+'d=')+this['gatewayH'+_0x4ccb8b(0x89f,_0x2b9d1a._0xc39f42)+'Started']);}}this['ensureGa'+_0x4ccb8b(_0x2b9d1a._0x792af4,_0x2b9d1a._0x5558f1)+_0x553805(0xa00,_0x2b9d1a._0x4037d9)]();return;}if(_0x3bfca8==='client_d'+_0x4ccb8b(0x58f,_0x2b9d1a._0x48d611)+_0x553805(0x606,_0x2b9d1a._0xfcb04b)){this['gatewayH'+_0x4ccb8b(0x90a,0x628)+_0x553805(0x2a3,_0x2b9d1a._0x30e943)]=![];const _0x48f815={};_0x48f815[_0x4ccb8b(_0x2b9d1a._0x44815e,_0x2b9d1a._0x590a5a)+_0x4ccb8b(0x3de,_0x2b9d1a._0xc5b994)]=0x0,this[_0x553805(0x593,_0x2b9d1a._0x3418f7)+_0x4ccb8b(0x40e,_0x2b9d1a._0xd41354)](_0x48f815),this[_0x4ccb8b(_0x2b9d1a._0x285e28,0x253)+_0x4ccb8b(0xb,_0x2b9d1a._0x425f0a)+'t'](),this[_0x4ccb8b(0x677,_0x2b9d1a._0x39b188)+_0x4ccb8b(0x6aa,0x424)+'ewayQueu'+'e']();const _0x135c62=summarizePendingGatewayMessages(this['pendingG'+_0x4ccb8b(_0x2b9d1a._0x7117a7,0x4d6)+'ssages'])['connectR'+'equests'];_0x25cde2[_0x553805(0x3fd,_0x2b9d1a._0x581907)](shouldScheduleGatewayIdleClose,0x0,_0x135c62,this[_0x553805(0xbe5,_0x2b9d1a._0x3a90c3)+'yOpen']())?(this[_0x553805(_0x2b9d1a._0x37491f,0x710)]('client\x20d'+'isconnec'+_0x553805(_0x2b9d1a._0xe1b06b,_0x2b9d1a._0x403e18)+_0x4ccb8b(0x615,_0x2b9d1a._0x54dfe7)+_0x4ccb8b(_0x2b9d1a._0x38a75a,_0x2b9d1a._0x1f16d5)+'y'),this['closeGat'+'eway']()):(this[_0x4ccb8b(0x6d6,0x5a9)](_0x25cde2['mwTEa']),this[_0x4ccb8b(0x18e,0x27d)+_0x4ccb8b(_0x2b9d1a._0x3e17a4,_0x2b9d1a._0x3eec39)+_0x4ccb8b(_0x2b9d1a._0x1efce1,0x718)]());return;}}async['handleBo'+'otstrapR'+_0x341e52(0x4c6,0x760)](_0x3d96eb){const _0x494293={_0x27b2f5:0xf6,_0x2e8202:0x3bb,_0x13eaa9:0x60,_0x5d43a7:0x162,_0x2366d8:0x48f,_0x21eecb:0x283,_0x4a64be:0x458,_0x4aebfd:0x616,_0x2d6e26:0x41e,_0x1b9bf6:0x5b4,_0xbccfad:0x5d5,_0x32610e:0x3df,_0x4da38e:0x19d,_0x2a5564:0x349,_0x1c7724:0x2be,_0x27a9ca:0x4e9,_0x5bfce8:0x16f,_0x56eec6:0x357,_0x263dd4:0x10f,_0x56a4c9:0x2d,_0x5462e5:0x4be,_0xe8f1a:0x5d,_0xe56001:0x672,_0x24ce5e:0x38,_0x31cdf7:0xe,_0x57c3f9:0x1a2,_0x398da2:0x1f1,_0x3329a7:0x41b,_0x3a14ec:0x432,_0x26fbc7:0x179,_0x3dfd89:0x3f5,_0x3ae4e6:0x58c,_0x4fd84b:0x5b8,_0x145d7b:0x5c3,_0x1de3fb:0x595,_0x283fc0:0x485,_0x1c4a7b:0x292,_0x39b4a3:0x1c8,_0x2a4d8f:0x3ea,_0x419037:0x28b,_0x16d77b:0x57c,_0x590343:0xd4,_0x518ea3:0x7b,_0x1a71e9:0x28f,_0xaaea06:0x43a,_0x4986c0:0x3bb,_0x2c9b14:0x2ac,_0x4db490:0xfc,_0x3325e1:0x6,_0x4f7e50:0x95,_0x53d9a4:0x6c7,_0xcb75e0:0x4b3,_0x16c78f:0x147,_0x19bd64:0x16b,_0x5059fc:0x87,_0x59ff9b:0x29b,_0x21c5e8:0x3eb,_0x19fef4:0x293,_0x537591:0x3c7},_0x211142={_0x44d0e9:0x380},_0x27e507={};_0x27e507['MVMTd']=_0x1bbdaf(_0x494293._0x27b2f5,_0x494293._0x2e8202)+'p.error',_0x27e507[_0x1bbdaf(_0x494293._0x13eaa9,0x221)]=function(_0x4fdef4,_0x231d90){return _0x4fdef4||_0x231d90;},_0x27e507[_0xdae84e(0x45,_0x494293._0x5d43a7)]=function(_0xf7e2fe,_0x3ab756){return _0xf7e2fe||_0x3ab756;};const _0x377698=_0x27e507,_0x3cdb47=_0x3d96eb[_0x1bbdaf(_0x494293._0x2366d8,0x33a)+'d']?.[_0x1bbdaf(0x22d,_0x494293._0x21eecb)]()??'';function _0x1bbdaf(_0x533202,_0x5c4f70){return _0x341e52(_0x5c4f70- -_0x211142._0x44d0e9,_0x533202);}function _0xdae84e(_0x576251,_0x5f5a1f){return _0x341e52(_0x5f5a1f- -0x224,_0x576251);}const _0x50017c=_0x3d96eb['sourceCl'+_0x1bbdaf(0x4c2,_0x494293._0x4a64be)]?.['trim']()||_0x3d96eb[_0xdae84e(_0x494293._0x4aebfd,_0x494293._0x2d6e26)+_0xdae84e(0x773,_0x494293._0x1b9bf6)]?.[_0xdae84e(_0x494293._0xbccfad,_0x494293._0x32610e)]()||'';if(!_0x3cdb47){this[_0x1bbdaf(0x1e3,0x357)](_0x1bbdaf(0x454,_0x494293._0x4da38e)+'otstrap\x20'+_0x1bbdaf(0x605,0x582)+_0xdae84e(_0x494293._0x2a5564,_0x494293._0x1c7724)+'reason=m'+_0xdae84e(_0x494293._0x27a9ca,0x201)+_0x1bbdaf(0xc0,0x1c6)+'d');return;}const _0x89b09c=parseBootstrapRequestPayload(_0x3d96eb['payload']);if(!_0x89b09c['ok']){this[_0x1bbdaf(_0x494293._0x5bfce8,_0x494293._0x56eec6)]('relay\x20bo'+_0x1bbdaf(-_0x494293._0x263dd4,_0x494293._0x56a4c9)+_0xdae84e(0x981,0x6de)+'rejected'+_0xdae84e(_0x494293._0x5462e5,0x5cd)+_0x1bbdaf(0x173,_0x494293._0xe8f1a)+_0x3cdb47+'\x20code='+_0x89b09c['code']+_0xdae84e(0x376,_0x494293._0xe56001)+_0x89b09c['message']);const _0x53f588={};_0x53f588[_0x1bbdaf(_0x494293._0x24ce5e,_0x494293._0x31cdf7)]=_0x89b09c[_0x1bbdaf(-0x2a0,0xe)],_0x53f588[_0xdae84e(_0x494293._0x57c3f9,_0x494293._0x398da2)]=_0x89b09c[_0xdae84e(0x19c,0x1f1)],this[_0xdae84e(_0x494293._0x3329a7,0x3eb)+_0x1bbdaf(0x1e1,0x3b6)]({'event':_0x377698['MVMTd'],'requestId':_0x3cdb47,'targetClientId':_0x377698[_0x1bbdaf(0x28,0x221)](_0x50017c,void 0x0),'payload':_0x53f588});return;}try{const _0x2ac657=await issueOpenClawBootstrapToken(_0x89b09c[_0xdae84e(_0x494293._0x3a14ec,_0x494293._0x26fbc7)]);this['log']('relay\x20bo'+_0xdae84e(_0x494293._0x3dfd89,0x189)+_0x1bbdaf(0x4a5,0x245)+_0xdae84e(_0x494293._0x3ae4e6,_0x494293._0x4fd84b)+'uestId='+_0x3cdb47+(_0x1bbdaf(0x42e,0x523)+'d=')+_0x89b09c['value']['deviceId']+(_0x1bbdaf(0x655,_0x494293._0x145d7b)+_0x1bbdaf(0x740,0x43a))+(_0x50017c||_0x1bbdaf(_0x494293._0x1de3fb,_0x494293._0x283fc0))+('\x20expires'+_0x1bbdaf(_0x494293._0x1c4a7b,0x455))+_0x2ac657[_0xdae84e(0x322,_0x494293._0x39b4a3)+'tMs']);const _0xf8c4bc={};_0xf8c4bc['bootstra'+'pToken']=_0x2ac657[_0x1bbdaf(0x3f0,_0x494293._0x2a4d8f)],_0xf8c4bc[_0x1bbdaf(-0x14b,0x6c)+_0xdae84e(_0x494293._0x419037,_0x494293._0x16d77b)]=_0x2ac657[_0xdae84e(-_0x494293._0x590343,_0x494293._0x39b4a3)+'tMs'],this[_0x1bbdaf(_0x494293._0x518ea3,_0x494293._0x1a71e9)+'yControl']({'event':_0x1bbdaf(_0x494293._0xaaea06,_0x494293._0x4986c0)+_0x1bbdaf(_0x494293._0x2c9b14,_0x494293._0x4db490),'requestId':_0x3cdb47,'targetClientId':_0x377698[_0x1bbdaf(-0xed,_0x494293._0x3325e1)](_0x50017c,void 0x0),'payload':_0xf8c4bc});}catch(_0x1d306a){const _0x2b3cd1=_0x1d306a instanceof Error?_0x1d306a[_0x1bbdaf(-0x1e4,_0x494293._0x4f7e50)]:String(_0x1d306a);this[_0xdae84e(_0x494293._0x53d9a4,_0x494293._0xcb75e0)]('relay\x20bo'+_0xdae84e(0x2da,0x189)+_0xdae84e(0x69f,0x3a1)+_0x1bbdaf(-0x54,_0x494293._0x16c78f)+'ed\x20reque'+'stId='+_0x3cdb47+_0xdae84e(0x89,_0x494293._0x19bd64)+_0x2b3cd1);const _0x496e16={};_0x496e16[_0x1bbdaf(-0x3c,0xe)]=_0x1bbdaf(_0x494293._0x2366d8,0x3bb)+_0xdae84e(0x61e,0x6b6)+_0xdae84e(_0x494293._0x5059fc,0x293),_0x496e16[_0x1bbdaf(0x19a,0x95)]=_0x2b3cd1,this[_0xdae84e(_0x494293._0x59ff9b,_0x494293._0x21c5e8)+_0xdae84e(_0x494293._0x19fef4,0x512)]({'event':'bootstra'+_0xdae84e(0x3b2,_0x494293._0x537591),'requestId':_0x3cdb47,'targetClientId':_0x377698[_0xdae84e(0x519,0x37d)](_0x50017c,void 0x0),'payload':_0x496e16});}}[_0x35d151(0x33d,0x29c)+'rQueueGa'+_0x341e52(0x7b8,0x4f1)+_0x341e52(0x378,0xc9)](_0x47a3db){const _0x225338={_0x58c7dd:0x43d,_0x57ef12:0x474,_0x20c12a:0x428,_0x27f1b9:0x1dd,_0x564fd0:0x62,_0x4e72e4:0x343,_0x12227c:0xfb,_0x4cad1a:0xaf,_0x49c7ee:0x602,_0xabe02b:0x13a,_0x5cbee9:0x2a6,_0x1193d3:0x167,_0x40c130:0x6db,_0x2ffadd:0x1f2,_0x50adf3:0x462,_0x12ce39:0x2b0,_0x167fd2:0x2ac,_0x3f4be8:0x332,_0x40cfca:0x502,_0x24024a:0x646,_0x4547ee:0x3a7,_0x5ca660:0x442,_0x173a71:0x428,_0x456761:0x20a,_0x510367:0x113,_0x6cf2ee:0x476,_0x442ceb:0x1b4,_0x33120e:0x12a,_0x4d668a:0x59d,_0x28dc29:0x226,_0x20ad15:0x1cb,_0x44cc60:0x9d,_0x37dd82:0x429,_0xc91301:0x18a,_0x4bec47:0xa0,_0x1985fa:0x5c,_0x56200c:0x1e9,_0x403e70:0x131,_0x538c1d:0x156,_0x4ccd0a:0x342,_0x45c3be:0x6a,_0x16cc4c:0x317,_0x56e02a:0x2cf,_0x46adf7:0x57,_0xcfa7f:0xde,_0x4c7e5e:0xd1,_0xd92c04:0x2f7},_0x23a0cd={_0x49385e:0x31e};function _0x211957(_0x29eed6,_0x59810a){return _0x35d151(_0x29eed6,_0x59810a- -_0x23a0cd._0x49385e);}const _0x3abc99={'Udini':_0x3355b8(0x596,_0x225338._0x58c7dd)+_0x3355b8(_0x225338._0x57ef12,0x442)+_0x3355b8(0x2bb,_0x225338._0x20c12a)+'ng\x20conne'+'ct\x20hands'+'hake;\x20qu'+_0x211957(0x285,0x290)+_0x211957(-0x1bc,-0x22d)+_0x3355b8(0x701,0x5db)+'nects','VgllC':function(_0x52810c,_0x8563f5){return _0x52810c(_0x8563f5);}},_0x2c1fa5=_0x47a3db['kind']==='text'&&isConnectHandshakeRequest(_0x47a3db['text']);if(this['gatewayC'+_0x3355b8(0x66a,0x3e9)+_0x211957(-_0x225338._0x27f1b9,_0x225338._0x564fd0)+_0x3355b8(_0x225338._0x4e72e4,0x592)]){this['pushPend'+_0x211957(-_0x225338._0x12227c,-_0x225338._0x4cad1a)+'ayMessag'+'e'](_0x47a3db);_0x2c1fa5&&this['log'](_0x3abc99[_0x3355b8(_0x225338._0x49c7ee,0x421)]);return;}const _0x26d5fb=this['gatewayS'+_0x211957(-_0x225338._0xabe02b,-0x1b3)];if(!_0x26d5fb||_0x26d5fb[_0x211957(_0x225338._0x5cbee9,_0x225338._0x1193d3)+'te']!==_0x42d174[_0x3355b8(0x5b1,_0x225338._0x40c130)]){this[_0x3355b8(-0xaf,_0x225338._0x2ffadd)+_0x3355b8(_0x225338._0x50adf3,0x635)+_0x211957(_0x225338._0x12ce39,_0x225338._0x167fd2)](),this['pushPend'+_0x3355b8(0x2e,_0x225338._0x3f4be8)+_0x3355b8(0x582,0x47e)+'e'](_0x47a3db);_0x2c1fa5&&this[_0x3355b8(_0x225338._0x40cfca,0x51e)](_0x3355b8(_0x225338._0x24024a,0x43d)+_0x3355b8(_0x225338._0x4547ee,_0x225338._0x5ca660)+_0x3355b8(0x69f,_0x225338._0x173a71)+'ng\x20conne'+_0x3355b8(0x5f,_0x225338._0x456761)+_0x211957(-0x10c,_0x225338._0x510367)+_0x3355b8(0x3cd,0x671)+_0x3355b8(_0x225338._0x6cf2ee,_0x225338._0x442ceb)+'ay\x20recon'+_0x211957(0x345,_0x225338._0x33120e));return;}function _0x3355b8(_0x209eae,_0x22d7f7){return _0x35d151(_0x209eae,_0x22d7f7-0xc3);}if(!this['gatewayH'+_0x3355b8(0x4af,_0x225338._0x4d668a)+_0x3355b8(0x25d,0x255)]){if(!_0x2c1fa5){this['pushPend'+_0x211957(-_0x225338._0x28dc29,-_0x225338._0x4cad1a)+_0x211957(-_0x225338._0x20ad15,_0x225338._0x44cc60)+'e'](_0x47a3db);return;}this[_0x211957(-_0x225338._0x37dd82,-_0x225338._0xc91301)+_0x211957(_0x225338._0x4bec47,0x1bc)+_0x3355b8(0x111,0x255)]=!![];const _0x5bf844=_0x3abc99[_0x3355b8(0x4fc,0x642)](parseConnectHandshakeMeta,_0x47a3db[_0x3355b8(0xdd,0x2bf)]);this['log'](_0x211957(-_0x225338._0x1193d3,_0x225338._0x1985fa)+'handshak'+_0x3355b8(_0x225338._0x167fd2,_0x225338._0x56200c)+_0x211957(-_0x225338._0x403e70,_0x225338._0x538c1d)+'='+this[_0x211957(_0x225338._0x4ccd0a,0x3ae)+_0x211957(0x352,_0x225338._0x45c3be)+_0x3355b8(_0x225338._0x16cc4c,0x5b8)][_0x211957(0x4a8,_0x225338._0x56e02a)]+formatConnectHandshakeMetaForLog(_0x5bf844));}this[_0x211957(-_0x225338._0x46adf7,_0x225338._0xcfa7f)+_0x3355b8(_0x225338._0x4c7e5e,_0x225338._0xd92c04)](_0x47a3db);}['ensureGa'+_0x35d151(0x62f,0x572)+'nected'](){const _0x541155={_0x39e109:0x55c,_0x4a5a55:0x7b2,_0x539f36:0x1d8,_0x5a73b5:0x75c,_0x3d9fab:0x896,_0x31d546:0x543,_0x40641b:0x64b,_0x55c1b7:0x649,_0x114b6a:0x32e,_0x54ce3b:0x5d6,_0x4b618d:0x5bd,_0x22a1a1:0x54e,_0x2c4356:0x46d,_0x2ae82c:0x4e4,_0xcb10b3:0x4f0,_0x81a0f:0xa11,_0x3cf08c:0x602,_0x1fa30c:0x3bf,_0x491f45:0x43e,_0x556681:0x4b5,_0x3760a1:0x518,_0x1f3fe4:0x422,_0x3d0807:0x7bb,_0x448a89:0x6d7},_0x160845={_0x345897:0x9c5,_0x1fe0e3:0x79c,_0x29461b:0x9b7,_0x396b14:0xb39,_0x16cc34:0x6b7,_0x10dc8f:0x825,_0x4325e6:0x806,_0xc687b:0x9c,_0xd596f9:0x6a,_0x427183:0x15c,_0x283355:0x462,_0x22906b:0x9d8,_0x2cd677:0x7fc,_0x34ae99:0xa40,_0x454039:0x62e,_0x4bb39b:0x455,_0x2be41c:0x112,_0x4c7c8d:0x405,_0x187dc6:0x1b,_0x18e5f8:0x20,_0x1acdf1:0x4ac,_0x14e59f:0x654,_0x255799:0x3b8,_0xf8e86f:0x1ed,_0x347870:0xeb,_0x180a02:0x11d,_0x234c04:0x229,_0xbc1bf8:0x5e2,_0x430276:0x89d,_0xc32cfa:0x656,_0x47e8ac:0x3a6,_0x259e2a:0x366,_0x71db14:0x1cc,_0x17350a:0x55f,_0x4bc4aa:0x380,_0xe4742a:0x656,_0x4c6f64:0x1c5,_0x588312:0x5a3,_0x3efa84:0x38b,_0x854d88:0x7de,_0x2559a4:0x9f0,_0x2b7121:0x876,_0x327817:0x792,_0x3a4995:0x169,_0x24740a:0x229,_0x2b251b:0x652,_0x3e8611:0x61c,_0x25447d:0x1ff,_0xdfadb4:0x253,_0x3dc4e2:0x466,_0x1a990f:0x8a9,_0x206695:0x788,_0x89591a:0x9de,_0x624fef:0x824,_0x40e49c:0x52c},_0x53adca={_0x3fffaa:0x750,_0x1a8618:0x581},_0xad659a={_0x20749e:0x349},_0x5567e1={_0x1fd91d:0x9ab},_0x7d498d={_0x1e4908:0x585,_0x28d810:0x376,_0x5d94d4:0x552,_0x4d26cb:0x7cd,_0x10738e:0x61e,_0xa6fcc6:0x6ec,_0x5e60ed:0x8e2,_0xd7dc57:0x8c1,_0x1b41f3:0x49a,_0x15b6be:0x362,_0x62ee71:0x634,_0x5104f5:0x62e,_0x1b3b22:0x5ff,_0x4d3f7d:0x6d2,_0x52c41b:0x682,_0x2900df:0x8ac,_0xd1860a:0x8ae,_0x584b24:0x5bf,_0x34f5ae:0x474,_0x21bae5:0x881,_0x353a92:0x83d,_0x562c7c:0xac3,_0x249682:0x5e8,_0x420048:0x604,_0x20b513:0x907,_0x2d3df5:0x28a,_0x2d490a:0x7e4,_0x55bab9:0x8bd,_0x3f6192:0x97a,_0x32e955:0x3ef,_0x50fa29:0x581},_0x504eb7={_0x5614e9:0x18e},_0x5c847d={};_0x5c847d[_0xd67f1c(0x20d,0x28e)]=function(_0x284a11,_0x4e9d9c){return _0x284a11===_0x4e9d9c;},_0x5c847d[_0xd67f1c(0x734,_0x541155._0x39e109)]=_0x2b83fe(0x1f1,0x287);const _0x960686=_0x5c847d;function _0xd67f1c(_0x2c4764,_0x46302a){return _0x341e52(_0x2c4764- -0x189,_0x46302a);}if(this[_0x2b83fe(_0x541155._0x4a5a55,0x6cd)]||!this[_0x2b83fe(0x247,_0x541155._0x539f36)+_0xd67f1c(_0x541155._0x5a73b5,0x5b7)]()||this[_0xd67f1c(0x5b8,0x8b0)+_0xd67f1c(0x5c0,0x2cd)+'g']||this[_0xd67f1c(0x7af,_0x541155._0x3d9fab)+_0xd67f1c(_0x541155._0x31d546,_0x541155._0x40641b)]()||this['gatewayC'+_0xd67f1c(0x419,_0x541155._0x55c1b7)+_0x2b83fe(_0x541155._0x114b6a,0x46e)+_0x2b83fe(_0x541155._0x54ce3b,_0x541155._0x4b618d)])return;function _0x2b83fe(_0x38966f,_0x538d9d){return _0x341e52(_0x538d9d- -_0x504eb7._0x5614e9,_0x38966f);}this[_0xd67f1c(0x5b8,0x55f)+'onnectin'+'g']=!![],this[_0xd67f1c(_0x541155._0x22a1a1,0x4cc)](_0xd67f1c(_0x541155._0x2c4356,0x495)+_0x2b83fe(0x7bd,0x4d4)+_0x2b83fe(0x5f,0x283)+'l='+this[_0xd67f1c(_0x541155._0x2ae82c,_0x541155._0xcb10b3)][_0x2b83fe(_0x541155._0x81a0f,0x7b2)+'rl']);const _0x2db52f=this[_0x2b83fe(_0x541155._0x3cf08c,_0x541155._0x1fa30c)+_0x2b83fe(_0x541155._0x491f45,_0x541155._0x556681)](this[_0xd67f1c(_0x541155._0x2ae82c,0x2e0)]['gatewayU'+'rl']);this['gatewayS'+'ocket']=_0x2db52f,_0x2db52f[_0x2b83fe(0x4be,0x7bc)](_0x2b83fe(0x612,_0x541155._0x3760a1),()=>{function _0x41e619(_0x1d4185,_0x12d7f6){return _0xd67f1c(_0x12d7f6-0x2f4,_0x1d4185);}function _0x10cd7e(_0x5335ee,_0x1a4484){return _0xd67f1c(_0x5335ee-0x215,_0x1a4484);}if(this['stopped']||this[_0x10cd7e(_0x7d498d._0x1e4908,_0x7d498d._0x28d810)+_0x41e619(0x43d,_0x7d498d._0x5d94d4)]!==_0x2db52f){_0x2db52f['close']();return;}this[_0x10cd7e(_0x7d498d._0x4d26cb,_0x7d498d._0x10738e)+_0x41e619(_0x7d498d._0xa6fcc6,0x8b4)+'g']=![],this[_0x41e619(0x663,0x57b)+_0x41e619(_0x7d498d._0x5e60ed,_0x7d498d._0xd7dc57)+_0x10cd7e(_0x7d498d._0x1b41f3,_0x7d498d._0x15b6be)]=![],this[_0x41e619(_0x7d498d._0x62ee71,0x8ac)+_0x10cd7e(_0x7d498d._0x5104f5,0x515)+_0x10cd7e(0x688,_0x7d498d._0x1b3b22)+_0x10cd7e(0x7d7,_0x7d498d._0x4d3f7d)]=![],this[_0x41e619(_0x7d498d._0x52c41b,_0x7d498d._0x2900df)+_0x10cd7e(0x83d,0x990)+_0x10cd7e(_0x7d498d._0xd1860a,_0x7d498d._0x584b24)]=Date[_0x10cd7e(_0x7d498d._0x34f5ae,0x5d8)]();const _0x40961a={};_0x40961a[_0x10cd7e(0x7cd,_0x7d498d._0x21bae5)+_0x10cd7e(_0x7d498d._0x353a92,_0x7d498d._0x562c7c)]=!![],_0x40961a['lastErro'+'r']=null,this[_0x10cd7e(0x5fc,_0x7d498d._0x249682)+'apshot'](_0x40961a),this['log'](_0x10cd7e(0x682,0x530)+'connecte'+'d\x20sinceC'+_0x41e619(0x841,_0x7d498d._0x420048)+_0x10cd7e(0x992,_0x7d498d._0x20b513)+this[_0x10cd7e(0x595,_0x7d498d._0x2d3df5)+_0x10cd7e(_0x7d498d._0x2d490a,_0x7d498d._0x55bab9)](this['clientDe'+'mandStar'+_0x41e619(0x8b4,0x96a)])),this['flushPen'+_0x41e619(0xab1,_0x7d498d._0x3f6192)+_0x10cd7e(_0x7d498d._0x32e955,_0x7d498d._0x50fa29)+_0x10cd7e(0x665,_0x7d498d._0x1b41f3)]();}),_0x2db52f['on'](_0x960686['CupUJ'],(_0x48df10,_0x360a12)=>{const _0x218e22={_0x339895:0x2e4};function _0x1d0854(_0x42b6c1,_0x1f2e48){return _0xd67f1c(_0x1f2e48- -0xe6,_0x42b6c1);}function _0x118635(_0x428442,_0x21faf9){return _0xd67f1c(_0x21faf9-_0x218e22._0x339895,_0x428442);}this[_0x118635(_0x5567e1._0x1fd91d,0x974)+'tewayMes'+_0x118635(0x464,0x4d3)](_0x48df10,_0x360a12);}),_0x2db52f[_0xd67f1c(0x7c1,0x679)](_0x2b83fe(0x678,_0x541155._0x1f3fe4),_0x363a2f=>{function _0x5aeaea(_0x22c6b4,_0x52bf84){return _0xd67f1c(_0x22c6b4-_0xad659a._0x20749e,_0x52bf84);}function _0x285dc0(_0x1bec43,_0x402f41){return _0xd67f1c(_0x1bec43-0x202,_0x402f41);}this[_0x285dc0(_0x53adca._0x3fffaa,0x51e)](_0x5aeaea(0x7b6,_0x53adca._0x1a8618)+'error:\x20'+String(_0x363a2f));}),_0x2db52f['once'](_0x2b83fe(_0x541155._0x3d0807,_0x541155._0x448a89),(_0x585a6d,_0xf0d626)=>{const _0x3755c0=summarizePendingGatewayMessages(this[_0x19083b(0xa03,_0x160845._0x345897)+_0x19083b(0x6bf,_0x160845._0x1fe0e3)+_0x19083b(0x82c,0x998)])['connectR'+_0x19083b(_0x160845._0x29461b,_0x160845._0x396b14)];function _0x19083b(_0x14736d,_0x1bb8ad){return _0xd67f1c(_0x14736d-0x244,_0x1bb8ad);}const _0x537484=this['gatewayC'+_0x55c23a(0xe6,0x1d5)+_0x19083b(_0x160845._0x16cc34,_0x160845._0x10dc8f)+_0x19083b(_0x160845._0x4325e6,0x54d)]&&shouldKeepGatewayConnected(this[_0x55c23a(0x648,0x3b8)][_0x55c23a(-0x4e,0x2be)+_0x55c23a(0x97,_0x160845._0xc687b)],_0x3755c0);this[_0x55c23a(-_0x160845._0xd596f9,0x12c)+_0x55c23a(-0x4a,0x1a)]===_0x2db52f&&(this[_0x19083b(0x5b4,0x2c5)+_0x19083b(0x4a2,0x307)]=null);this[_0x19083b(0x7fc,0x746)+_0x55c23a(_0x160845._0x427183,0x37c)+'g']=![],this[_0x19083b(0x4cb,0x769)+_0x55c23a(0x257,0x389)+'Started']=![],this[_0x19083b(0x7fc,0x8bc)+_0x55c23a(_0x160845._0x283355,0x1d5)+'daryPend'+_0x19083b(_0x160845._0x4325e6,_0x160845._0x22906b)]=![];function _0x55c23a(_0xe472c3,_0x220f69){return _0xd67f1c(_0x220f69- -0x244,_0xe472c3);}this[_0x19083b(_0x160845._0x2cd677,_0x160845._0x34ae99)+_0x19083b(0x86c,_0x160845._0x454039)+_0x55c23a(0x34f,_0x160845._0x4bb39b)]=null,this[_0x55c23a(0x22c,_0x160845._0x2be41c)+_0x55c23a(_0x160845._0x4c7c8d,0x2b3)+_0x55c23a(0x260,-_0x160845._0x187dc6)+_0x55c23a(_0x160845._0x18e5f8,0x25e)](_0x55c23a(_0x160845._0x1acdf1,0x229)+_0x19083b(_0x160845._0x14e59f,0x7d9)+_0x55c23a(0x193,0x380)+'e='+_0x585a6d),this['updateSn'+'apshot']({'gatewayConnected':![],'lastError':_0x960686['SmSDG'](_0x585a6d,0x3e8)||_0x537484?this[_0x55c23a(0x662,_0x160845._0x255799)][_0x55c23a(-_0x160845._0xf8e86f,_0x160845._0x347870)+'r']:_0x55c23a(_0x160845._0x180a02,_0x160845._0x234c04)+_0x19083b(_0x160845._0xbc1bf8,_0x160845._0x430276)+(_0xf0d626[_0x19083b(_0x160845._0xc32cfa,_0x160845._0x47e8ac)]()||_0x585a6d)}),this['log'](_0x55c23a(0xdc,0x229)+_0x55c23a(_0x160845._0x259e2a,_0x160845._0x71db14)+_0x55c23a(_0x160845._0x17350a,_0x160845._0x4bc4aa)+'e='+_0x585a6d+_0x55c23a(0x1ee,0x4c9)+(_0xf0d626[_0x19083b(_0x160845._0xe4742a,0x870)]()||_0x55c23a(0x512,0x438))+(_0x55c23a(-0x2a,_0x160845._0x4c6f64)+_0x19083b(0x42d,_0x160845._0x588312)+_0x55c23a(0x366,0x166))+this['elapsedS'+_0x55c23a(0x57f,_0x160845._0x3efa84)](this[_0x19083b(_0x160845._0x854d88,_0x160845._0x2559a4)+_0x19083b(_0x160845._0x2b7121,0x5dd)+'tedAtMs']));if(_0x537484){this[_0x19083b(_0x160845._0x327817,0x9d6)](_0x55c23a(_0x160845._0x3a4995,_0x160845._0x24740a)+_0x19083b(0x54f,0x6af)+'undary\x20r'+_0x19083b(0x910,0x673)+_0x19083b(_0x160845._0x2b251b,_0x160845._0x3e8611)+'ting\x20for'+'\x20fresh\x20d'+_0x55c23a(_0x160845._0x25447d,_0x160845._0xdfadb4)),this[_0x19083b(_0x160845._0x3dc4e2,0x4f6)+_0x19083b(_0x160845._0x1a990f,_0x160845._0x206695)+_0x19083b(0x901,_0x160845._0x89591a)]();return;}this['schedule'+_0x19083b(_0x160845._0x624fef,_0x160845._0x40e49c)+'econnect']();});}[_0x35d151(0x30e,0x59d)+_0x341e52(0x7b8,0x563)+'sage'](_0x3c68d7,_0x397242){const _0x5508de={_0x373be4:0x305,_0x30434c:0x741,_0x37367f:0x314,_0x56dfd2:0x79b,_0x13261c:0x7b3,_0x470108:0x1b,_0x13dd97:0x587,_0x4254fb:0x784,_0xcbc8d2:0x289,_0x29f49b:0x3f8,_0x567ad5:0x3af,_0x1649ae:0x3e5},_0x4df1cd={_0x27609e:0xae};function _0x24786e(_0x56e9ed,_0x369d9d){return _0x341e52(_0x56e9ed- -_0x4df1cd._0x27609e,_0x369d9d);}const _0x2050bb={'MjDvw':function(_0x2fd7a6,_0x29aba0){return _0x2fd7a6!==_0x29aba0;},'XiCyg':function(_0x1dd5df,_0x1c2d8d){return _0x1dd5df(_0x1c2d8d);},'GXTNo':function(_0x5f0370,_0x38dc7d){return _0x5f0370==_0x38dc7d;}};function _0x2a1547(_0x43e1c0,_0x3cc0dc){return _0x341e52(_0x43e1c0- -0x31f,_0x3cc0dc);}const _0x5d8f34=this[_0x2a1547(0x554,0x6f7)+_0x2a1547(_0x5508de._0x373be4,0x5c5)];if(!_0x5d8f34||_0x2050bb['MjDvw'](_0x5d8f34[_0x2a1547(0x3e2,0x663)+'te'],_0x42d174[_0x24786e(0x7e6,_0x5508de._0x30434c)]))return;if(_0x397242){_0x5d8f34[_0x2a1547(_0x5508de._0x37367f,0x192)](_0x2050bb[_0x24786e(_0x5508de._0x56dfd2,_0x5508de._0x13261c)](normalizeBinary,_0x3c68d7));return;}const _0x4436a7=normalizeText(_0x3c68d7);if(_0x2050bb[_0x2a1547(0xfc,-_0x5508de._0x470108)](_0x4436a7,null))return;const _0xd87fb1=parsePairingRequestFromError(_0x4436a7);_0xd87fb1&&this[_0x2a1547(0x4ae,_0x5508de._0x13dd97)+_0x24786e(0x2ce,0x3be)+_0x24786e(0x8bc,_0x5508de._0x4254fb)](_0xd87fb1);const _0x2b1023=parsePairResolvedEvent(_0x4436a7);_0x2b1023&&this[_0x2a1547(_0x5508de._0xcbc8d2,0x38b)+_0x24786e(0x7f6,0xa04)+'esolved'](_0x2b1023['requestI'+'d'],_0x2b1023[_0x2a1547(0x636,0x419)]);const _0x37fe16=parseResponseEnvelopeMeta(_0x4436a7);_0x37fe16&&this[_0x24786e(_0x5508de._0x29f49b,0x312)+_0x2a1547(0x341,_0x5508de._0x567ad5)+_0x2a1547(0x15f,_0x5508de._0x1649ae)](_0x37fe16),_0x5d8f34[_0x2a1547(0x314,0xe5)](_0x4436a7);}[_0x341e52(0x4c8,0x4bc)+_0x341e52(0x80f,0x891)+_0x341e52(0x363,0x55c)+'ges'](){const _0x5e6e71={_0x3eaa67:0x40f,_0x22f870:0x47c,_0x416bdd:0x1a8,_0x497aa4:0x485,_0x600e8c:0x32d,_0x3159f8:0x806,_0x5be9e9:0xab8,_0x1272b5:0x132,_0x109e38:0x76c,_0xc553c7:0x577,_0x107e74:0x670,_0x323d90:0x34f,_0x482187:0x166,_0x4afec7:0xc2,_0x4216ff:0x8be,_0x46838f:0x83a,_0x3efafa:0x2c,_0x4d92e4:0x75e,_0x2631b8:0x2c2,_0x2c4fec:0x3e2,_0x1f2c23:0x157,_0xb35a83:0xa71,_0x2397e2:0x4f7,_0x10d483:0x3cd,_0x1ccd42:0x33c,_0x2a659c:0x202,_0x2418e5:0x10,_0x3ee908:0x1ef,_0x2542d9:0x3d4,_0x4c3809:0x545,_0x300c71:0x9dd,_0x337c11:0xa83,_0x483f7d:0x732},_0x26490f={_0x114844:0x567};function _0x4cc9a2(_0x5e53d1,_0x3c5047){return _0x341e52(_0x3c5047- -_0x26490f._0x114844,_0x5e53d1);}const _0x1adfe4={'eFMgq':_0x4c613d(0x50d,_0x5e6e71._0x3eaa67),'hhMDR':function(_0x21b515,_0x575515){return _0x21b515(_0x575515);}},_0x285220=this[_0x4cc9a2(0x1a3,-0x6e)+_0x4c613d(_0x5e6e71._0x22f870,_0x5e6e71._0x416bdd)];if(!_0x285220||_0x285220[_0x4c613d(0x796,0x6e8)+'te']!==_0x42d174[_0x4cc9a2(_0x5e6e71._0x497aa4,_0x5e6e71._0x600e8c)])return;const _0x1d14f5=[],_0x12512a=dedupePendingGatewayMessages(this['pendingG'+'atewayMe'+_0x4c613d(_0x5e6e71._0x3159f8,_0x5e6e71._0x5be9e9)]);_0x12512a[_0x4cc9a2(0x387,_0x5e6e71._0x1272b5)]>0x0&&this[_0x4c613d(_0x5e6e71._0x109e38,0x545)](_0x4c613d(_0x5e6e71._0xc553c7,_0x5e6e71._0x107e74)+_0x4cc9a2(0x2de,0x199)+_0x4cc9a2(0x58f,_0x5e6e71._0x323d90)+_0x4cc9a2(0x34d,0x5c)+'sages\x20be'+_0x4cc9a2(0x2c9,0xac)+_0x4c613d(0x6e1,0x937)+_0x4cc9a2(_0x5e6e71._0x482187,-_0x5e6e71._0x4afec7)+_0x12512a['dropped']+'\x20kept='+_0x12512a[_0x4c613d(_0x5e6e71._0x4216ff,_0x5e6e71._0x46838f)][_0x4cc9a2(_0x5e6e71._0x3efafa,0x302)]);this['pendingG'+_0x4cc9a2(0x21d,0x9d)+_0x4c613d(0x806,_0x5e6e71._0x4d92e4)]=[];for(const _0x167df1 of _0x12512a[_0x4cc9a2(0x56a,_0x5e6e71._0x2631b8)]){if(!this[_0x4cc9a2(-_0x5e6e71._0x2c4fec,-_0x5e6e71._0x1f2c23)+_0x4c613d(0x7eb,_0x5e6e71._0xb35a83)+_0x4c613d(0x4a3,_0x5e6e71._0x2397e2)]){if(_0x167df1[_0x4cc9a2(0x3cf,_0x5e6e71._0x10d483)]!==_0x1adfe4['eFMgq']||!_0x1adfe4[_0x4cc9a2(-_0x5e6e71._0x1ccd42,-_0x5e6e71._0x2a659c)](isConnectHandshakeRequest,_0x167df1['text'])){_0x1d14f5[_0x4cc9a2(0x11e,0x33a)](_0x167df1);continue;}this['gatewayH'+_0x4cc9a2(_0x5e6e71._0x2418e5,_0x5e6e71._0x3ee908)+_0x4c613d(0x4a3,0x452)]=!![];}this[_0x4cc9a2(_0x5e6e71._0x2542d9,0x111)+_0x4c613d(_0x5e6e71._0x4c3809,0x55f)](_0x167df1);}function _0x4c613d(_0x452824,_0x4ccd95){return _0x341e52(_0x452824-0x95,_0x4ccd95);}this[_0x4c613d(_0x5e6e71._0x300c71,_0x5e6e71._0x337c11)+'atewayMe'+_0x4c613d(_0x5e6e71._0x3159f8,_0x5e6e71._0x483f7d)]=_0x1d14f5;}['sendToGa'+'teway'](_0x526dd5){const _0x5960c8={_0x4818be:0x2ae,_0x46e5bf:0x9c0,_0x4c9cb8:0x2d8,_0x1f1076:0x275,_0x3f1542:0x693,_0x2a43b7:0x553,_0x43672c:0x91c,_0x5adf58:0x931,_0xabfe9c:0x1e5,_0x5ddca8:0x12f,_0x2acaf5:0x803,_0x256e7b:0x820,_0x49c751:0x722,_0x57d212:0x78e,_0x2e81cf:0xa2e,_0x531619:0xb93,_0x1b12f6:0x803,_0x71ea4e:0x3f3,_0x59d573:0x3c5,_0x5cfb27:0x67a,_0x2b939f:0x4f5,_0x14bc54:0x141,_0x27c1dd:0x96d,_0x358e96:0x726,_0x2c8be9:0x75f,_0x28555d:0xa48,_0x40b676:0x2c8,_0x27f2e6:0x28},_0x56ebe5={'soApn':function(_0x4c56de,_0x120ea2){return _0x4c56de!==_0x120ea2;},'MpJFz':function(_0x5cc498,_0x327941){return _0x5cc498(_0x327941);}},_0x24818e=this[_0x4d1c43(0x625,0x778)+_0x4d1c43(0x513,_0x5960c8._0x4818be)];function _0x4d1c43(_0x34e9b5,_0x2ff782){return _0x341e52(_0x34e9b5-0x12c,_0x2ff782);}if(!_0x24818e||_0x56ebe5[_0x4ded53(0x1fa,0xb9)](_0x24818e['readySta'+'te'],_0x42d174[_0x4d1c43(_0x5960c8._0x46e5bf,0x6ca)])){this[_0x4d1c43(0x4a7,_0x5960c8._0x4c9cb8)+_0x4ded53(0x2e8,0x97)+'ayMessag'+'e'](_0x526dd5);return;}function _0x4ded53(_0x2a0687,_0x8e9d41){return _0x341e52(_0x2a0687- -0x203,_0x8e9d41);}if(_0x526dd5[_0x4ded53(0x731,0x621)]===_0x4ded53(0x275,0x91)){const _0x74caca=patchConnectRequestGatewayAuth(_0x526dd5[_0x4ded53(_0x5960c8._0x1f1076,0x2f7)],readOpenClawInfo()),_0x1a8cc8=_0x56ebe5['MpJFz'](parseConnectHandshakeMeta,_0x74caca['text']);_0x1a8cc8&&(_0x1a8cc8['id']&&this[_0x4d1c43(_0x5960c8._0x3f1542,0x668)+'ConnectH'+_0x4ded53(_0x5960c8._0x2a43b7,0x3c3)+'s'][_0x4d1c43(0x807,0x68b)](_0x1a8cc8['id'],{'method':_0x1a8cc8[_0x4d1c43(_0x5960c8._0x43672c,_0x5960c8._0x5adf58)],'startedAtMs':Date[_0x4ded53(_0x5960c8._0xabfe9c,_0x5960c8._0x5ddca8)](),'slowWarningLogged':![]}),this[_0x4d1c43(_0x5960c8._0x2acaf5,_0x5960c8._0x256e7b)](_0x4d1c43(_0x5960c8._0x49c751,0x8bb)+_0x4d1c43(_0x5960c8._0x57d212,0x581)+_0x4d1c43(_0x5960c8._0x2e81cf,_0x5960c8._0x531619)+_0x4d1c43(0x485,0x5bd)+'d'+formatConnectHandshakeMetaForLog(_0x1a8cc8)));_0x74caca['injected']&&this[_0x4d1c43(_0x5960c8._0x1b12f6,0x80a)](_0x4ded53(_0x5960c8._0x71ea4e,_0x5960c8._0x59d573)+'connect\x20'+_0x4d1c43(_0x5960c8._0x5cfb27,_0x5960c8._0x2b939f)+_0x4ded53(0x292,_0x5960c8._0x14bc54)+_0x4d1c43(_0x5960c8._0x27c1dd,_0x5960c8._0x358e96)+'rd');_0x24818e['send'](_0x74caca['text']);return;}_0x24818e[_0x4d1c43(_0x5960c8._0x2c8be9,_0x5960c8._0x28555d)](_0x526dd5[_0x4ded53(_0x5960c8._0x40b676,-_0x5960c8._0x27f2e6)]);}[_0x35d151(0x45b,0x59c)+_0x341e52(0x8c5,0x75c)+'st'](_0x30a601,_0x5edb5e){const _0x1ddf7f={_0x47e0b6:0x4d4,_0xd415c:0x4f8,_0x136b1b:0x32a,_0x109da3:0x9db,_0x562823:0x490,_0x45b669:0x822,_0x2fbc0a:0x514,_0xd71e4:0x4ab},_0x494c41={_0x3ee46b:0xe9},_0x5234ed=JSON[_0x58d071(_0x1ddf7f._0x47e0b6,0x711)+'y']({'type':_0xb2c6fe(_0x1ddf7f._0xd415c,0x68b),'id':_0x58d071(_0x1ddf7f._0x136b1b,0x7b)+_0x579fc8(),'method':_0x30a601,'params':_0x5edb5e}),_0x2dd505={};function _0xb2c6fe(_0x40c69a,_0x586cc1){return _0x341e52(_0x40c69a-_0x494c41._0x3ee46b,_0x586cc1);}_0x2dd505[_0xb2c6fe(0xa1d,_0x1ddf7f._0x109da3)]=_0xb2c6fe(0x561,_0x1ddf7f._0x562823),_0x2dd505['text']=_0x5234ed;function _0x58d071(_0x35e237,_0x9727df){return _0x341e52(_0x35e237- -0x2a4,_0x9727df);}this[_0xb2c6fe(0x601,_0x1ddf7f._0x45b669)+'rQueueGa'+_0x58d071(_0x1ddf7f._0x2fbc0a,_0x1ddf7f._0xd71e4)+_0x58d071(0xd4,-0x21c)](_0x2dd505);}['sendRela'+_0x341e52(0x736,0x910)](_0x5d7f3a){const _0x467546={_0x1a2a48:0x425,_0x3a2f55:0x553,_0x33308a:0x3a,_0x42b097:0x301,_0x25f0a4:0x497,_0xc29410:0x35b,_0x5bea46:0x2d3,_0x4f9bc9:0xeb,_0x522a76:0x2fc,_0x4aac9f:0x89,_0x4c9170:0x4dc},_0x31bb66=this['relaySoc'+'ket'];function _0x4c4fdc(_0xadc5ae,_0x5a3a4a){return _0x341e52(_0x5a3a4a- -0x341,_0xadc5ae);}if(!_0x31bb66||_0x31bb66[_0x3df0c3(0x284,_0x467546._0x1a2a48)+'te']!==_0x42d174[_0x4c4fdc(0x343,_0x467546._0x3a2f55)])return;const _0x4d8aa5={};_0x4d8aa5['type']='control',_0x4d8aa5['event']=_0x5d7f3a[_0x3df0c3(-_0x467546._0x33308a,-0x240)];function _0x3df0c3(_0x5df353,_0x7e155c){return _0x341e52(_0x5df353- -0x47d,_0x7e155c);}_0x4d8aa5[_0x4c4fdc(0x65c,0x379)+'d']=_0x5d7f3a[_0x4c4fdc(0x646,0x379)+'d'],_0x4d8aa5[_0x4c4fdc(0x4d9,_0x467546._0x42b097)+_0x4c4fdc(0x26b,_0x467546._0x25f0a4)]=_0x5d7f3a['targetCl'+_0x3df0c3(_0x467546._0xc29410,_0x467546._0x5bea46)],_0x4d8aa5[_0x3df0c3(-_0x467546._0x4f9bc9,-_0x467546._0x522a76)]=_0x5d7f3a['payload'],_0x31bb66[_0x4c4fdc(0xe3,0x2f2)](_0x3df0c3(_0x467546._0x4aac9f,-0xe4)+_0x3df0c3(-0x85,-0x138)+_0x4c4fdc(_0x467546._0x4c9170,0x52e)+'_:'+JSON['stringif'+'y'](_0x4d8aa5));}[_0x341e52(0x68f,0x781)+_0x35d151(0xe4,0x34f)](_0xda2d4=![]){const _0x5b218f={_0x50ee5f:0x36f,_0x31da42:0x866,_0x567533:0x56,_0x20296d:0x288,_0x9a9e95:0x39f,_0x3de1a8:0x6cb,_0x260758:0x609,_0x171552:0x8de,_0x428d5d:0x5fb,_0x38ddc9:0x36b,_0x4c47b7:0x72b,_0x5c3c27:0x78a,_0x4c5d31:0x4fe,_0x3b5e1e:0x248,_0x4a57f7:0x2e,_0x2bb941:0x30,_0x26efa6:0x395,_0xe98383:0x373,_0x58d40b:0x3e4,_0x510344:0x802,_0x453e4e:0x5a7,_0x4ec387:0x1be,_0xb20428:0x809,_0x4bf013:0x750,_0x5bce89:0x303,_0x557c94:0x3b0,_0x4ec820:0xafa,_0x21ec8b:0x84b,_0x29073b:0x35,_0xba2b68:0x2ac,_0x2b05d4:0xd5,_0x255320:0x616,_0x435ade:0x30d,_0xb3ac02:0x8c4,_0x425019:0x706,_0x1b2999:0x3b,_0x5273f2:0x807,_0x4d102c:0x6f5,_0x56e400:0x298,_0x410d96:0x57,_0x2570a0:0x36a,_0x12a4ab:0x4fe,_0x513d50:0x58d,_0x2c78de:0x3ec,_0xbf11df:0x6c,_0x5e1eea:0x164,_0x45cc73:0x601,_0x48c2fa:0x8f2,_0x569558:0x750,_0x939e28:0x596,_0x2ede92:0x5bd,_0xa97dbe:0x30b,_0x47541f:0x33f,_0x177692:0x408,_0x10ebb8:0x164,_0x50489d:0x5a4,_0x35d477:0x6b5},_0xaf08cd={_0x2089d9:0x1c2},_0x406dd9={'bxWIq':function(_0x321d6,_0x3e5b26){return _0x321d6(_0x3e5b26);},'plvsA':function(_0x4eac57,_0x5e4ccc){return _0x4eac57===_0x5e4ccc;},'BbCAa':function(_0x354c9a,_0x3fff10){return _0x354c9a===_0x3fff10;}};this[_0x1833e1(_0x5b218f._0x50ee5f,0x39f)+'etryTime'+'r']&&(clearTimeout(this[_0x5eb43c(_0x5b218f._0x31da42,0x7e2)+_0x1833e1(-_0x5b218f._0x567533,_0x5b218f._0x20296d)+'r']),this[_0x1833e1(0x245,_0x5b218f._0x9a9e95)+_0x5eb43c(0x6c3,_0x5b218f._0x3de1a8)+'r']=null);const _0x32796b=_0x406dd9['bxWIq'](summarizePendingGatewayMessages,this[_0x1833e1(0x205,0x50a)+_0x5eb43c(0x330,_0x5b218f._0x260758)+_0x5eb43c(_0x5b218f._0x171552,0x776)])[_0x1833e1(0x337,0x445)+_0x5eb43c(_0x5b218f._0x428d5d,0x901)],_0x571a60=_0xda2d4&&this[_0x5eb43c(0x2c1,_0x5b218f._0x38ddc9)+'pen']()&&shouldKeepGatewayConnected(this[_0x5eb43c(_0x5b218f._0x4c47b7,_0x5b218f._0x5c3c27)]['clientCo'+'unt'],_0x32796b),_0x589b6c=this[_0x5eb43c(0x6c7,_0x5b218f._0x4c5d31)+_0x5eb43c(0x255,0x3ec)];this[_0x1833e1(_0x5b218f._0x3b5e1e,-_0x5b218f._0x4a57f7)+'andshake'+_0x1833e1(-0x4e,-_0x5b218f._0x2bb941)]=![],this['gatewayC'+_0x1833e1(_0x5b218f._0x26efa6,_0x5b218f._0xe98383)+_0x1833e1(0x4d7,_0x5b218f._0x58d40b)]=null;function _0x1833e1(_0xc1b16d,_0x5d3a25){return _0x35d151(_0xc1b16d,_0x5d3a25- -_0xaf08cd._0x2089d9);}if(!_0x589b6c){this[_0x5eb43c(_0x5b218f._0x510344,0x746)+_0x5eb43c(0x754,_0x5b218f._0x453e4e)+_0x1833e1(0x284,_0x5b218f._0x4ec387)+_0x5eb43c(_0x5b218f._0xb20428,_0x5b218f._0x4bf013)]=![],this[_0x1833e1(0x2f9,_0x5b218f._0x5bce89)+'onnectin'+'g']=![];_0x571a60&&this['ensureGa'+_0x1833e1(0x680,_0x5b218f._0x557c94)+_0x5eb43c(_0x5b218f._0x4ec820,_0x5b218f._0x21ec8b)]();return;}if(_0x406dd9['plvsA'](_0x589b6c[_0x1833e1(0x26a,0x2c3)+'te'],_0x42d174[_0x1833e1(-0x24a,-_0x5b218f._0x29073b)])){this['gatewayC'+_0x1833e1(_0x5b218f._0xba2b68,0x164)+_0x1833e1(-_0x5b218f._0x2b05d4,0x1be)+_0x1833e1(_0x5b218f._0x255320,_0x5b218f._0x435ade)]=_0x571a60;return;}if(_0x589b6c[_0x5eb43c(_0x5b218f._0xb3ac02,_0x5b218f._0x425019)+'te']===_0x42d174[_0x1833e1(0x277,-_0x5b218f._0x1b2999)]){_0x406dd9[_0x5eb43c(0xabc,_0x5b218f._0x5273f2)](this[_0x5eb43c(_0x5b218f._0x4d102c,_0x5b218f._0x4c5d31)+_0x1833e1(-_0x5b218f._0x56e400,-_0x5b218f._0x410d96)],_0x589b6c)&&(this[_0x5eb43c(_0x5b218f._0x2570a0,_0x5b218f._0x12a4ab)+_0x5eb43c(_0x5b218f._0x513d50,_0x5b218f._0x2c78de)]=null);this['gatewayC'+_0x1833e1(_0x5b218f._0xbf11df,_0x5b218f._0x5e1eea)+_0x5eb43c(0x431,_0x5b218f._0x45cc73)+_0x5eb43c(_0x5b218f._0x48c2fa,_0x5b218f._0x569558)]=![],this[_0x5eb43c(_0x5b218f._0x939e28,0x746)+_0x1833e1(_0x5b218f._0x2ede92,_0x5b218f._0xa97dbe)+'g']=![];_0x571a60&&this[_0x5eb43c(0x2b7,0x3b0)+'tewayCon'+_0x1833e1(_0x5b218f._0x47541f,_0x5b218f._0x177692)]();return;}this['gatewayC'+_0x1833e1(0x331,_0x5b218f._0x10ebb8)+'daryPend'+_0x1833e1(_0x5b218f._0x50489d,0x30d)]=_0x571a60;function _0x5eb43c(_0x7f35e8,_0x3e3279){return _0x35d151(_0x7f35e8,_0x3e3279-0x281);}_0x589b6c[_0x1833e1(_0x5b218f._0x35d477,0x427)]();}[_0x341e52(0x54d,0x449)+_0x35d151(0x2d7,0x3c7)](_0x124be2){const _0x56965c={_0x3660e2:0x41f,_0x4a79c6:0x4ad,_0x3052cd:0x43,_0x41a2d5:0x78b},_0x374af4={_0xe7e8e3:0x2ad};function _0x52c9f3(_0x369293,_0x28cc6c){return _0x35d151(_0x369293,_0x28cc6c-0xb6);}function _0x5e9c4c(_0x21da37,_0x32ed11){return _0x35d151(_0x21da37,_0x32ed11- -_0x374af4._0xe7e8e3);}if(this['options'][_0x52c9f3(0x347,0x387)+_0x52c9f3(_0x56965c._0x3660e2,0x47d)])return this[_0x52c9f3(_0x56965c._0x4a79c6,0x4a7)]['createWe'+_0x5e9c4c(-_0x56965c._0x3052cd,0x11a)](_0x124be2);const _0xbef669={};return _0xbef669[_0x52c9f3(_0x56965c._0x41a2d5,0x716)+'ad']=0x19*0x400*0x400,new _0x42d174(_0x124be2,_0xbef669);}['observeG'+'atewayRe'+'sponse'](_0x2dedf0){const _0x5ed406={_0x17fe4c:0xee,_0x361d75:0x371,_0x1cf54c:0x58c,_0x11d226:0x478,_0x3b6a55:0x5fe,_0x45a923:0x8e8,_0x56ca30:0x77b,_0x4c4b37:0x1e5,_0x3cd9e2:0x1cb,_0x41dbf8:0xde,_0xf12077:0x357,_0x5e469a:0x756,_0x11398b:0x3fb,_0x8c2334:0x387,_0x43f2f4:0xa8a,_0x2da281:0x95b,_0x14b6f0:0x61b,_0x2de90b:0xb2,_0x2865eb:0x7b8,_0x52fe4d:0x705,_0x2b1456:0x101,_0x5eba78:0x25b,_0x38ec65:0x2b6,_0x26b8bf:0x1c8,_0x49c1c5:0xe5,_0x54b6cc:0x58,_0x172839:0x7c5},_0x4df63b={_0x33e8ad:0x2a1},_0x12a3cf={};_0x12a3cf[_0x39f996(0x386,_0x5ed406._0x17fe4c)]='<none>';const _0x53d622=_0x12a3cf,_0x69497=this[_0xc8ed00(_0x5ed406._0x361d75,_0x5ed406._0x1cf54c)+_0xc8ed00(0x3d1,_0x5ed406._0x11d226)+_0xc8ed00(0x725,0x77b)+'s'][_0xc8ed00(_0x5ed406._0x3b6a55,_0x5ed406._0x45a923)](_0x2dedf0['id']);if(!_0x69497)return;this['inFlight'+_0xc8ed00(0x4d7,_0x5ed406._0x11d226)+_0xc8ed00(0x874,_0x5ed406._0x56ca30)+'s'][_0x39f996(_0x5ed406._0x4c4b37,_0x5ed406._0x3cd9e2)](_0x2dedf0['id']);function _0xc8ed00(_0x250635,_0xae54e7){return _0x35d151(_0x250635,_0xae54e7-_0x4df63b._0x33e8ad);}function _0x39f996(_0x1a4082,_0x16300e){return _0x35d151(_0x16300e,_0x1a4082- -0x334);}const _0x5efbb2=_0x2dedf0['ok']?'ok=true':'ok=false'+_0x39f996(_0x5ed406._0x41dbf8,-0x17f)+_0x39f996(_0x5ed406._0xf12077,0x2f6)+(_0x2dedf0[_0xc8ed00(0x763,_0x5ed406._0x5e469a)+'e']??_0xc8ed00(0xaab,0x82a))+(_0x39f996(0x2e9,_0x5ed406._0x11398b)+_0xc8ed00(0x59d,0x74b))+(_0x2dedf0['errorMes'+_0xc8ed00(_0x5ed406._0x8c2334,0x39d)]??_0x53d622[_0xc8ed00(_0x5ed406._0x43f2f4,_0x5ed406._0x2da281)]);this[_0x39f996(0x127,0x38)](_0xc8ed00(0x47a,_0x5ed406._0x14b6f0)+_0x39f996(_0x5ed406._0x2de90b,0x138)+_0xc8ed00(_0x5ed406._0x2865eb,_0x5ed406._0x52fe4d)+_0x39f996(0x110,-_0x5ed406._0x2b1456)+_0x2dedf0['id']+_0xc8ed00(0x2dd,0x520)+_0x69497['method']+(_0x39f996(-_0x5ed406._0x5eba78,-0x489)+_0x39f996(_0x5ed406._0x38ec65,0x1a9))+(Date[_0x39f996(-_0x5ed406._0x26b8bf,-0x4a0)]()-_0x69497[_0x39f996(_0x5ed406._0x49c1c5,-_0x5ed406._0x54b6cc)+_0xc8ed00(0x51f,_0x5ed406._0x172839)])+'\x20'+_0x5efbb2);}[_0x35d151(0x41,0x263)+_0x341e52(0x680,0x8fe)+_0x35d151(0x393,0x136)+_0x341e52(0x62b,0x8b1)](_0x48b045){const _0x201d16={_0xacb20:0x103,_0x1b0407:0xc6,_0x4d3204:0x20e,_0xe2c5b0:0x16a,_0x2a56e7:0xc7,_0x298e6a:0xab,_0x2a30ca:0x5db,_0x5bea7b:0x3b0,_0x1408cc:0x3cb,_0x2f44ec:0x234,_0x5a4fc0:0x38d,_0x346786:0x2ab},_0x400d70={_0x3b4ceb:0x1a0};function _0x9edaf1(_0x5b6410,_0xb4c227){return _0x35d151(_0xb4c227,_0x5b6410- -_0x400d70._0x3b4ceb);}function _0x41aec0(_0x95628f,_0x2281b7){return _0x35d151(_0x2281b7,_0x95628f- -0x10f);}const _0x4b6100={};_0x4b6100[_0x9edaf1(_0x201d16._0xacb20,-_0x201d16._0x1b0407)]=function(_0xf4401c,_0x31bb9c){return _0xf4401c===_0x31bb9c;};const _0x373d4=_0x4b6100;if(_0x373d4['qqsCj'](this['inFlight'+_0x41aec0(0xc8,-_0x201d16._0x4d3204)+_0x9edaf1(0x33a,0x1d6)+'s'][_0x9edaf1(_0x201d16._0xe2c5b0,-0xbf)],0x0))return;for(const [_0x589396,_0x646005]of this[_0x9edaf1(0x14b,0x192)+_0x41aec0(0xc8,-0x242)+_0x41aec0(0x3cb,0x456)+'s'][_0x9edaf1(0x5d,0x62)]()){this['log']('gateway\x20'+_0x9edaf1(0x246,0x36c)+_0x9edaf1(0x2c4,0xa9)+'\x20missing'+_0x41aec0(0x335,0x2d5)+_0x589396+'\x20method='+_0x646005['method']+(_0x9edaf1(-_0x201d16._0x2a56e7,_0x201d16._0x298e6a)+_0x41aec0(0x4db,_0x201d16._0x2a30ca))+(Date['now']()-_0x646005[_0x41aec0(0x30a,0x1b6)+'tMs'])+'\x20reason='+_0x48b045);}this[_0x9edaf1(0x14b,_0x201d16._0x5bea7b)+'ConnectH'+_0x41aec0(_0x201d16._0x1408cc,_0x201d16._0x2f44ec)+'s'][_0x41aec0(_0x201d16._0x5a4fc0,_0x201d16._0x346786)]();}[_0x35d151(0x3b8,0x59f)+_0x341e52(0x4a9,0x6b1)+_0x341e52(0x375,0x1d3)](){const _0x30f848={_0x2b4596:0x48a,_0x341d84:0x21,_0x14bcfc:0xb1,_0x2618f8:0x202,_0x1b14c8:0x12c,_0x58fabb:0x4dc,_0x2f1a6b:0x398,_0x294bea:0x5c0,_0x1a9c36:0x4e9,_0x5ec7ff:0x41d,_0x225804:0xf4,_0x8d1539:0x26c,_0x1f1a3d:0xa9,_0x504328:0x66,_0x4570ee:0x1f7,_0x5e3009:0x5a},_0x393ea0={_0x5c8dd1:0x12d,_0x5ad9d7:0x2c2},_0x4b65c2={_0x4fa300:0x224};if(this[_0x5c63e7(0x3f0,_0x30f848._0x2b4596)]||this['reconnec'+_0x5c63e7(_0x30f848._0x341d84,-0x1c9)])return;const _0x5b5565=this[_0x5c63e7(0x202,_0x30f848._0x14bcfc)]['reconnec'+'tBaseDel'+_0x5c63e7(0x1e8,-0xa)]??RECONNECT_BASE_DELAY_MS,_0x213bbe=this[_0x5c63e7(_0x30f848._0x2618f8,0x1fb)][_0x5c63e7(_0x30f848._0x1b14c8,0x3e6)+_0x5c63e7(_0x30f848._0x58fabb,_0x30f848._0x2f1a6b)+_0x213b6f(_0x30f848._0x294bea,_0x30f848._0x1a9c36)]??RECONNECT_MAX_DELAY_MS;function _0x5c63e7(_0x54a4d3,_0x310788){return _0x35d151(_0x310788,_0x54a4d3- -0x1ef);}function _0x213b6f(_0x5b2803,_0x5f2e3d){return _0x35d151(_0x5f2e3d,_0x5b2803-_0x4b65c2._0x4fa300);}const _0x222b0a=Math[_0x213b6f(_0x30f848._0x5ec7ff,0x1a8)](_0x213bbe,_0x5b5565*Math[_0x5c63e7(0x12b,_0x30f848._0x225804)](0x1,this[_0x5c63e7(0x8b,0x188)+_0x5c63e7(-0xb5,0x4)]));this[_0x5c63e7(_0x30f848._0x8d1539,0x39f)](_0x5c63e7(_0x30f848._0x1f1a3d,_0x30f848._0x504328)+_0x5c63e7(_0x30f848._0x4570ee,_0x30f848._0x5e3009)+'schedule'+'d\x20delayM'+'s='+_0x222b0a),this['reconnec'+_0x213b6f(0x434,0x390)]=setTimeout(()=>{function _0x385343(_0xbcdd28,_0x3fb026){return _0x5c63e7(_0xbcdd28-0x487,_0x3fb026);}function _0x385de2(_0xe632a6,_0x1e7f17){return _0x5c63e7(_0xe632a6-0x10c,_0x1e7f17);}this['reconnec'+_0x385de2(_0x393ea0._0x5c8dd1,_0x393ea0._0x5ad9d7)]=null,void this[_0x385de2(0x524,0x25e)+_0x385de2(0xa7,-0x1f6)]();},_0x222b0a);}[_0x35d151(0x596,0x59f)+_0x35d151(0x224,0x4ed)+'econnect'](){const _0x1a060f={_0x4f5b44:0x637,_0x43c92b:0x68b,_0x448db1:0x468,_0x4d44d2:0x79d,_0x69eeaa:0x787,_0x56c12e:0x63f,_0xffa78b:0x55f,_0x1b3b12:0x1ca,_0x13c4de:0x4c8,_0x5bf01d:0x641,_0x579a54:0x64b,_0x439148:0x4f4,_0x16a28f:0x4bf,_0x1837ff:0x54c,_0x4a2d12:0x52a,_0x38b049:0x6dd},_0x3f7a3e={_0x3c1a99:0x554,_0x250b95:0x6c4,_0x2f24c1:0x696,_0x5798af:0x7ec,_0xb32b13:0x8f1},_0x2a89ba={_0x2d9c6b:0x2c},_0x1c5964=summarizePendingGatewayMessages(this[_0x566914(_0x1a060f._0x4f5b44,_0x1a060f._0x43c92b)+_0x34d9cd(_0x1a060f._0x448db1,0x214)+_0x566914(0x46c,0x4b4)])[_0x566914(_0x1a060f._0x4d44d2,0x5c6)+_0x566914(_0x1a060f._0x69eeaa,_0x1a060f._0x56c12e)];if(this['stopped']||this['gatewayR'+_0x566914(_0x1a060f._0xffa78b,0x409)+'r']||!this[_0x34d9cd(_0x1a060f._0x1b3b12,0x1af)+_0x34d9cd(0x749,0x9ce)]()||!shouldKeepGatewayConnected(this[_0x566914(0x60b,_0x1a060f._0x13c4de)][_0x566914(0x2dd,0x3ce)+'unt'],_0x1c5964))return;const _0x8d0c54=this['options'][_0x34d9cd(_0x1a060f._0x5bf01d,_0x1a060f._0x579a54)+_0x34d9cd(_0x1a060f._0x439148,_0x1a060f._0x16a28f)+_0x566914(0x62d,0x35b)]??GATEWAY_RETRY_DELAY_MS;function _0x34d9cd(_0xd88f80,_0x162e40){return _0x35d151(_0x162e40,_0xd88f80-0xe0);}function _0x566914(_0x3a2c52,_0x2b6d1b){return _0x35d151(_0x3a2c52,_0x2b6d1b- -0x41);}this[_0x566914(_0x1a060f._0x1837ff,0x520)+_0x34d9cd(_0x1a060f._0x4a2d12,_0x1a060f._0x38b049)+'r']=setTimeout(()=>{function _0xd12999(_0x135562,_0x49fe15){return _0x34d9cd(_0x49fe15-_0x2a89ba._0x2d9c6b,_0x135562);}this['gatewayR'+_0x44a7cf(_0x3f7a3e._0x3c1a99,_0x3f7a3e._0x250b95)+'r']=null;function _0x44a7cf(_0x37b755,_0x332c86){return _0x34d9cd(_0x332c86-0x19a,_0x37b755);}this['ensureGa'+_0x44a7cf(_0x3f7a3e._0x2f24c1,_0x3f7a3e._0x5798af)+_0xd12999(_0x3f7a3e._0xb32b13,0x6d6)]();},_0x8d0c54);}['startHea'+_0x35d151(0x598,0x661)](){const _0x4e722a={_0x3de8ed:0x99d,_0x2f76f3:0x562,_0x524a8f:0x46c,_0x59d54b:0x637,_0x3c6be1:0x8fc},_0x309dd0={_0x229dbf:0x69f,_0x565c5c:0x450,_0x433490:0x4db,_0x328a39:0x51b,_0xd96def:0x320,_0x4d5432:0x368,_0x439ce5:0x1ce,_0x48513c:0x2bd,_0x75df93:0x4e8,_0x599f48:0x53a,_0x354a0d:0x360,_0x33e1c2:0x214,_0x607110:0x18a,_0x443794:0x148,_0x34af1c:0x369,_0x16660b:0x1ef,_0x18f889:0x203,_0x374ef7:0x24a,_0x27ab3c:0x1d3,_0x2ca371:0x5fb,_0x100ef5:0x26c,_0x17b0df:0x3ae,_0x58a174:0x613},_0x39c37c={_0xd4743c:0x30},_0x38a1c3={};_0x38a1c3[_0x4f3668(0x946,0x6ab)]=function(_0x1ad496,_0x103552){return _0x1ad496!==_0x103552;};function _0x4f3668(_0x35b4c1,_0x1b890f){return _0x35d151(_0x35b4c1,_0x1b890f-_0x39c37c._0xd4743c);}_0x38a1c3[_0xb10061(0x924,_0x4e722a._0x3de8ed)]=function(_0x54f9a9,_0x47da08){return _0x54f9a9>_0x47da08;};function _0xb10061(_0x30257e,_0x26acde){return _0x35d151(_0x26acde,_0x30257e-0x429);}const _0x22271f=_0x38a1c3;this[_0x4f3668(0x686,_0x4e722a._0x2f76f3)+_0x4f3668(0x248,_0x4e722a._0x524a8f)](),this[_0xb10061(0x8cc,0x7d5)+'tTimer']=setInterval(()=>{const _0x2af810={_0x5524fa:0x78},_0x64b170=this[_0x37279d(_0x309dd0._0x229dbf,0x838)+_0x37279d(_0x309dd0._0x565c5c,_0x309dd0._0x433490)];function _0x37279d(_0x59b642,_0x30036b){return _0x4f3668(_0x30036b,_0x59b642-_0x2af810._0x5524fa);}if(!_0x64b170||_0x22271f[_0x393834(_0x309dd0._0x328a39,_0x309dd0._0xd96def)](_0x64b170[_0x37279d(0x52d,_0x309dd0._0x4d5432)+'te'],_0x42d174[_0x393834(_0x309dd0._0x439ce5,_0x309dd0._0x48513c)]))return;this[_0x37279d(_0x309dd0._0x75df93,_0x309dd0._0x599f48)+_0x393834(_0x309dd0._0x354a0d,_0x309dd0._0x33e1c2)+_0x393834(-0xb9,-_0x309dd0._0x607110)]();const _0x34df44=this[_0x37279d(0x499,0x32f)][_0x393834(0x12a,_0x309dd0._0x443794)+'tTimeout'+'Ms']??HEARTBEAT_TIMEOUT_MS;if(_0x22271f[_0x393834(_0x309dd0._0x34af1c,0x1a0)](Date[_0x393834(-0x3b7,-_0x309dd0._0x16660b)]()-this[_0x393834(_0x309dd0._0x18f889,_0x309dd0._0x374ef7)+_0x393834(0x2f4,_0x309dd0._0x27ab3c)+'yMs'],_0x34df44)){this[_0x393834(0x335,0x100)](_0x37279d(0x686,_0x309dd0._0x2ca371)+'artbeat\x20'+_0x37279d(_0x309dd0._0x100ef5,0xcc)+'t'),_0x64b170[_0x37279d(_0x309dd0._0x17b0df,0x222)+'e']();return;}function _0x393834(_0x51ddcf,_0x5eb89f){return _0x4f3668(_0x51ddcf,_0x5eb89f- -0x38b);}_0x64b170[_0x37279d(0x5dc,_0x309dd0._0x58a174)]();},this[_0xb10061(0x81a,0x57f)][_0xb10061(0x8cc,0xaf4)+'tInterva'+_0xb10061(_0x4e722a._0x59d54b,_0x4e722a._0x3c6be1)]??HEARTBEAT_INTERVAL_MS);}[_0x341e52(0x7ae,0x50c)+'tbeat'](){const _0x1bd39e={_0x44daa6:0x7e,_0x375fc1:0x753,_0x3c5da3:0x4c0,_0x4f9891:0x3d};function _0x561bcd(_0x410852,_0x45df83){return _0x35d151(_0x410852,_0x45df83- -0x1d3);}function _0x21b78b(_0x5c290c,_0x56899c){return _0x35d151(_0x5c290c,_0x56899c-0x2b0);}this['heartbea'+_0x561bcd(_0x1bd39e._0x44daa6,0x3d)]&&(clearInterval(this[_0x21b78b(0x506,_0x1bd39e._0x375fc1)+_0x21b78b(0x36c,_0x1bd39e._0x3c5da3)]),this[_0x21b78b(0x734,_0x1bd39e._0x375fc1)+_0x561bcd(0x19,_0x1bd39e._0x4f9891)]=null);}[_0x341e52(0x6bc,0x871)+_0x341e52(0x7eb,0x583)+_0x341e52(0x44d,0x527)](){const _0x32b0b3={_0x41d8ef:0x12d,_0x777882:0x251,_0x450d57:0x1b0,_0x5afee1:0x440,_0x1ff23d:0x1f8,_0x4b6446:0x277,_0x5afcd5:0x211,_0x4063f1:0x13d,_0x27ef99:0x11f,_0x23ca9b:0x10c,_0x307593:0x21b,_0x44268b:0x13e,_0xb4c6a8:0x223,_0xef4c9b:0x209,_0x3c2946:0x405,_0x59e4f2:0x247,_0x4cce10:0x3c1,_0x435ffb:0x5f4,_0x60e4ba:0x35f,_0x5a8695:0x1d7,_0xf62bac:0xdd,_0x4b966e:0x37e,_0x3dce54:0x157,_0x30e11d:0x3f},_0x1f10c9={_0xb8251f:0x309};function _0x44d995(_0x24a446,_0x19ec2e){return _0x35d151(_0x24a446,_0x19ec2e- -_0x1f10c9._0xb8251f);}const _0x29aaab={};_0x29aaab[_0x44d995(-_0x32b0b3._0x41d8ef,0x13e)]=function(_0x3f3363,_0x1c8b99){return _0x3f3363<_0x1c8b99;};const _0x18d8dd=_0x29aaab;if(this[_0x453acd(_0x32b0b3._0x777882,0x31)+_0x453acd(0x13d,-_0x32b0b3._0x450d57)+_0x453acd(_0x32b0b3._0x5afee1,_0x32b0b3._0x1ff23d)+'s']['size']===0x0)return;const _0x5e49cb=this['options'][_0x44d995(0x26a,-0x79)+'andshake'+_0x453acd(_0x32b0b3._0x4b6446,0x5c)+_0x44d995(-_0x32b0b3._0x5afcd5,0x93)]??CONNECT_HANDSHAKE_WARN_DELAY_MS;function _0x453acd(_0x23dbf2,_0x391b83){return _0x35d151(_0x391b83,_0x23dbf2- -0x9a);}const _0x1a6b6d=Date[_0x453acd(0xd2,0x25a)]();for(const [_0x2a9b52,_0x50e438]of this[_0x453acd(0x251,0x4df)+_0x453acd(_0x32b0b3._0x4063f1,_0x32b0b3._0x27ef99)+'andshake'+'s'][_0x44d995(-0x217,-_0x32b0b3._0x23ca9b)]()){const _0x1bc8d9=_0x1a6b6d-_0x50e438[_0x453acd(0x37f,0x4fb)+_0x44d995(0xa5,_0x32b0b3._0x307593)];if(_0x50e438[_0x453acd(0x478,0x51d)+'ingLogge'+'d']||_0x18d8dd[_0x44d995(0x445,_0x32b0b3._0x44268b)](_0x1bc8d9,_0x5e49cb))continue;_0x50e438[_0x44d995(_0x32b0b3._0xb4c6a8,_0x32b0b3._0xef4c9b)+_0x44d995(_0x32b0b3._0x3c2946,_0x32b0b3._0x59e4f2)+'d']=!![],this[_0x453acd(_0x32b0b3._0x4cce10,_0x32b0b3._0x435ffb)](_0x453acd(0x2e0,_0x32b0b3._0x60e4ba)+_0x44d995(-_0x32b0b3._0x5a8695,_0x32b0b3._0xf62bac)+_0x44d995(0x356,0x2cd)+_0x44d995(_0x32b0b3._0x4b966e,0x72)+'qId='+_0x2a9b52+_0x44d995(-_0x32b0b3._0x3dce54,-0x8a)+_0x50e438['method']+(_0x453acd(_0x32b0b3._0x30e11d,-0x267)+_0x44d995(0x2f7,0x2e1))+_0x1bc8d9);}}['pushPend'+'ingGatew'+_0x341e52(0x637,0x408)+'e'](_0x3ad95a){const _0x5d3e3e={_0x350287:0x247,_0x3b6749:0x8a4,_0x2a122c:0x34a,_0x5425f3:0x127,_0x489eb0:0x68e,_0x34f91f:0x4b7,_0x3d101e:0x468,_0x57b2df:0x46b},_0x4ae8b3={_0x2248fc:0x365};function _0x37fd6c(_0x3e4296,_0xba0c55){return _0x35d151(_0xba0c55,_0x3e4296- -0x3e);}this['pendingG'+_0x37fd6c(0x34a,_0x5d3e3e._0x350287)+_0x54fbb4(_0x5d3e3e._0x3b6749,0x85a)]['length']>=MAX_PENDING_GATEWAY_MESSAGES&&this['pendingG'+_0x37fd6c(_0x5d3e3e._0x2a122c,_0x5d3e3e._0x5425f3)+_0x37fd6c(0x4b7,0x67d)][_0x54fbb4(0x526,0x50c)]();function _0x54fbb4(_0x5064e3,_0x4d0b50){return _0x35d151(_0x5064e3,_0x4d0b50-_0x4ae8b3._0x2248fc);}this[_0x37fd6c(_0x5d3e3e._0x489eb0,0x96f)+_0x37fd6c(0x34a,0x142)+_0x37fd6c(_0x5d3e3e._0x34f91f,_0x5d3e3e._0x3d101e)][_0x37fd6c(0x5e7,_0x5d3e3e._0x57b2df)](_0x3ad95a);}[_0x341e52(0x5d7,0x826)+_0x341e52(0x552,0x6d6)+'ewayQueu'+'e'](){const _0x3ee0bb={_0x5262e7:0x446,_0x2eece1:0x2f6,_0x42b680:0x5e0,_0x454b0f:0x8c0,_0x2d1618:0x63a,_0x3de804:0x3cd,_0x1a1574:0x1ef,_0x386524:0x347,_0x3b6fe4:0x622,_0x82212a:0x789,_0xb53b6b:0x2f,_0x3f85e9:0x32b,_0x4d1cca:0x345,_0x56a373:0x37b},_0x2749c6={'DEUPv':function(_0x50d1cb,_0x24252c){return _0x50d1cb(_0x24252c);}};function _0x4b9d77(_0x3d518c,_0xb4b20e){return _0x35d151(_0xb4b20e,_0x3d518c- -0x77);}function _0xb26007(_0x2930f2,_0x357503){return _0x35d151(_0x357503,_0x2930f2- -0x92);}const _0x3df091=_0x2749c6[_0x4b9d77(0x3ad,0x5a2)](summarizePendingGatewayMessages,this[_0xb26007(0x63a,_0x3ee0bb._0x5262e7)+_0xb26007(_0x3ee0bb._0x2eece1,0x34a)+_0xb26007(0x463,_0x3ee0bb._0x42b680)]);if(_0x3df091['total']===0x0||_0x3df091['connectR'+_0xb26007(0x5ee,_0x3ee0bb._0x454b0f)]>0x0)return;this[_0xb26007(_0x3ee0bb._0x2d1618,_0x3ee0bb._0x3de804)+_0x4b9d77(0x311,0x9b)+_0x4b9d77(0x47e,0x37b)]=[],this['log'](_0x4b9d77(_0x3ee0bb._0x1a1574,_0x3ee0bb._0x386524)+_0xb26007(_0x3ee0bb._0x3b6fe4,_0x3ee0bb._0x82212a)+'le\x20gatew'+_0xb26007(0x213,-0x8b)+_0x4b9d77(0x555,0x46b)+_0x3df091[_0xb26007(0x124,_0x3ee0bb._0xb53b6b)]+_0xb26007(0x90,_0x3ee0bb._0x3f85e9)+_0x3df091[_0xb26007(0xb2,_0x3ee0bb._0x4d1cca)+'t']+'\x20binary='+_0x3df091[_0x4b9d77(_0x3ee0bb._0x56a373,0x3e6)]);}['observeC'+_0x35d151(0x519,0x4a4)+_0x341e52(0x3d3,0x5f3)](_0x4b291d,_0xd9479d){const _0x8a8318={_0x42dbb7:0x47a,_0x31db41:0x196,_0x8aef63:0xbe,_0xe48cdd:0xcf,_0x370e1e:0x10f,_0x485958:0xf1,_0x47dff4:0x81,_0x1ec754:0x24a,_0xb16420:0xa8,_0x35abb7:0x13c,_0x2dce6f:0x398,_0x3cc432:0x3a,_0x131152:0x135,_0x537aa3:0x158},_0x9a6efc={_0x5c4274:0x2cb},_0xb694f4={};_0xb694f4[_0x5e8279(0x3a4,_0x8a8318._0x42dbb7)]=_0x219fa2(0x24a,_0x8a8318._0x31db41)+'d';const _0x46c566=_0xb694f4,_0x49eda1=Date['now'](),_0x35292e=new Map(this[_0x5e8279(0x23e,0x407)][_0x219fa2(0x24a,-_0x8a8318._0x8aef63)+_0x219fa2(-_0x8a8318._0xe48cdd,-_0x8a8318._0x370e1e)][_0x219fa2(-_0x8a8318._0x485958,-_0x8a8318._0x47dff4)](_0x364ae8=>[_0x364ae8['id'],{..._0x364ae8}])),_0x228803=_0x35292e['get'](_0x4b291d)??{'id':_0x4b291d,'label':_0xd9479d,'state':_0x219fa2(_0x8a8318._0x1ec754,_0x8a8318._0xb16420)+'d','lastSeenMs':_0x49eda1};function _0x5e8279(_0x553ee6,_0x360f1a){return _0x35d151(_0x360f1a,_0x553ee6- -_0x9a6efc._0x5c4274);}_0x228803['label']=_0xd9479d,_0x228803[_0x5e8279(-_0x8a8318._0x35abb7,0xe9)]=_0x46c566['hqNtv'],_0x228803[_0x5e8279(_0x8a8318._0x2dce6f,0x3a5)+'Ms']=_0x49eda1,_0x35292e['set'](_0x4b291d,_0x228803);const _0x159b68=[..._0x35292e['values']()][_0x5e8279(_0x8a8318._0x3cc432,-0x1d1)]((_0x12c5e4,_0x50baf3)=>_0x50baf3[_0x219fa2(0x442,0x36d)+'Ms']-_0x12c5e4[_0x219fa2(0x442,0x64b)+'Ms'])[_0x5e8279(-_0x8a8318._0x131152,-_0x8a8318._0x537aa3)](0x0,MAX_DEVICE_DETAILS),_0x548d34={};_0x548d34['connecte'+'dDevices']=_0x159b68;function _0x219fa2(_0x9717d,_0x54d357){return _0x35d151(_0x54d357,_0x9717d- -0x221);}this[_0x219fa2(0xd3,0x24f)+_0x5e8279(0x23a,-0xbe)](_0x548d34);}['markDevi'+_0x341e52(0x38b,0x11f)+'t'](){const _0x56277c={_0x1c72ab:0x5a7,_0x47d31e:0x65d,_0x468982:0x4c0};function _0x1e7aab(_0x505e81,_0x481469){return _0x341e52(_0x481469- -0x128,_0x505e81);}function _0x1a2c69(_0x4c5ed5,_0x463cba){return _0x341e52(_0x463cba-0x114,_0x4c5ed5);}this['updateSn'+_0x1a2c69(0x782,0x895)]({'connectedDevices':this[_0x1e7aab(_0x56277c._0x1c72ab,_0x56277c._0x47d31e)]['connecte'+'dDevices'][_0x1a2c69(0x6e4,_0x56277c._0x468982)](_0x59e2d1=>({..._0x59e2d1,'state':_0x1a2c69(0x466,0x585)}))});}[_0x35d151(0x3af,0x551)+_0x35d151(0x138,0x100)+_0x35d151(0x8a5,0x6ee)](_0xaa7d63){const _0x2dc2cd={_0x4bf980:0x8f1,_0x26f774:0x85a,_0x23cdbe:0xab0,_0x3dc624:0xaff,_0x1231bc:0x85a,_0x39f89a:0x765,_0x565bc0:0x57e,_0x1e5f5e:0x7d9,_0x54da23:0x82d,_0x443159:0x5da,_0x477934:0xaad,_0x2bd108:0x988,_0x268139:0x969,_0x2bcd3b:0x873,_0x3f982e:0x7f4,_0x510b84:0x794,_0x43b8f0:0xa0f,_0x5db604:0xa35,_0x3af999:0x729,_0x440b76:0xb30},_0x2ba3ca={_0x4e65d9:0xda};if(this[_0x4d0433(_0x2dc2cd._0x4bf980,0x609)]['pendingP'+_0x2dae79(_0x2dc2cd._0x26f774,0x6dd)+'sts'][_0x4d0433(0x64d,0x92e)](_0x172f97=>_0x172f97['requestI'+'d']===_0xaa7d63['requestI'+'d']))return;function _0x4d0433(_0x491ce6,_0x4e8457){return _0x341e52(_0x491ce6-0x16c,_0x4e8457);}const _0x9d5923=[...this[_0x4d0433(0x8f1,_0x2dc2cd._0x23cdbe)][_0x2dae79(0x84f,_0x2dc2cd._0x3dc624)+_0x2dae79(_0x2dc2cd._0x1231bc,_0x2dc2cd._0x39f89a)+_0x4d0433(0x6ef,0x549)],_0xaa7d63][_0x4d0433(_0x2dc2cd._0x565bc0,0x858)](-MAX_PENDING_PAIR_REQUESTS);function _0x2dae79(_0x2fc520,_0xc4f43b){return _0x341e52(_0x2fc520-_0x2ba3ca._0x4e65d9,_0xc4f43b);}const _0x29a6b9={};_0x29a6b9['pendingP'+'airReque'+'sts']=_0x9d5923,this['updateSn'+'apshot'](_0x29a6b9),this[_0x4d0433(_0x2dc2cd._0x1e5f5e,0x593)][_0x4d0433(_0x2dc2cd._0x54da23,_0x2dc2cd._0x443159)+'gPairReq'+_0x2dae79(0x4f0,0x33c)]?.(_0xaa7d63),this[_0x2dae79(0x7b1,_0x2dc2cd._0x477934)](_0x2dae79(_0x2dc2cd._0x2bd108,0x749)+_0x4d0433(0xa7e,0x914)+_0x4d0433(_0x2dc2cd._0x268139,0x7a4)+_0x4d0433(_0x2dc2cd._0x2bcd3b,_0x2dc2cd._0x3f982e)+_0xaa7d63[_0x2dae79(_0x2dc2cd._0x510b84,0x8b2)+'d']+(_0x4d0433(_0x2dc2cd._0x43b8f0,0x8f0)+'d=')+(_0xaa7d63[_0x4d0433(_0x2dc2cd._0x5db604,_0x2dc2cd._0x3af999)]||_0x4d0433(0xaa6,_0x2dc2cd._0x440b76)+'>'));}['markPair'+_0x341e52(0x8a4,0xb11)+_0x341e52(0x564,0x399)](_0xff4d23,_0x3972cb){const _0x5a7b09={_0x4b3fb7:0x822,_0x8ff650:0x889,_0x5a7475:0x4ac,_0x24fb8b:0x7e6,_0x5a096c:0x7f1,_0x42c2d4:0x6d4,_0x104025:0x5e3,_0x1d6211:0x7e0,_0x5d4540:0x9b7,_0x1142c4:0x8df,_0x1b530d:0x8bd,_0x1ecb1c:0x34f,_0x4a2d7e:0x710,_0x1ddafc:0x7fd,_0x2f0543:0x903,_0x2e9cd9:0x6c0},_0x1c31f3={_0x499e1b:0x2ed};function _0xff22ae(_0x4f4c45,_0x5d21cd){return _0x35d151(_0x5d21cd,_0x4f4c45-_0x1c31f3._0x499e1b);}const _0x9df88c=this[_0xff22ae(0x7f6,_0x5a7b09._0x4b3fb7)]['pendingP'+_0x565786(0x706,_0x5a7b09._0x8ff650)+_0x565786(0x7a3,0x68c)][_0x565786(_0x5a7b09._0x5a7475,0x4b5)](_0x235b18=>_0x235b18['requestI'+'d']===_0xff4d23?{..._0x235b18,'status':_0x3972cb===_0x565786(0x5e8,0x507)||_0x3972cb===_0xff22ae(0x7f3,0x7e2)?_0x3972cb:_0x235b18[_0xff22ae(0x5ad,0x58c)]}:_0x235b18);function _0x565786(_0x148ec2,_0x5033fc){return _0x35d151(_0x148ec2,_0x5033fc-0x385);}const _0x2aabe2={};_0x2aabe2[_0xff22ae(_0x5a7b09._0x24fb8b,0x607)+_0xff22ae(_0x5a7b09._0x5a096c,_0x5a7b09._0x42c2d4)+_0xff22ae(0x5f4,0x80e)]=_0x9df88c,this[_0xff22ae(0x5e1,0x56e)+_0xff22ae(0x7f2,_0x5a7b09._0x104025)](_0x2aabe2),this[_0x565786(0x983,_0x5a7b09._0x1d6211)](_0x565786(0xc7f,_0x5a7b09._0x5d4540)+_0x565786(_0x5a7b09._0x1142c4,_0x5a7b09._0x1b530d)+_0xff22ae(0x605,_0x5a7b09._0x1ecb1c)+_0x565786(_0x5a7b09._0x4a2d7e,_0x5a7b09._0x1ddafc)+_0xff4d23+(_0x565786(_0x5a7b09._0x2f0543,_0x5a7b09._0x2e9cd9)+'n=')+_0x3972cb);}[_0x341e52(0x570,0x5c8)+_0x341e52(0x781,0x934)](_0x50b634){const _0x5a44c4={_0x304b59:0x40d,_0x52c657:0x5f1,_0x342003:0x1eb};function _0x36c593(_0x453f26,_0x1656bf){return _0x341e52(_0x1656bf- -0x2b,_0x453f26);}function _0x5b36cc(_0x1dd5e2,_0x2a5e57){return _0x341e52(_0x2a5e57- -0x49c,_0x1dd5e2);}Object['assign'](this[_0x5b36cc(0x3cf,0x2e9)],_0x50b634,{'lastUpdatedMs':Date['now']()}),this[_0x5b36cc(_0x5a44c4._0x304b59,0x1d1)][_0x36c593(0x4b4,0x41d)]?.(this[_0x36c593(0x561,_0x5a44c4._0x52c657)+_0x5b36cc(0x4ec,_0x5a44c4._0x342003)]());}[_0x35d151(0x619,0x45b)](_0x27bb93){const _0x19b058={_0x436f29:0x5af,_0xcc8452:0x680},_0x534f0d={_0x212a08:0xe6},_0x299c4b={_0x339725:0x75};function _0x3cd2ec(_0x2986b7,_0x1ab2aa){return _0x341e52(_0x2986b7-_0x299c4b._0x339725,_0x1ab2aa);}function _0x291dd3(_0x509359,_0x14c0b5){return _0x341e52(_0x509359- -_0x534f0d._0x212a08,_0x14c0b5);}this[_0x291dd3(0x587,_0x19b058._0x436f29)][_0x291dd3(0x835,_0x19b058._0xcc8452)]?.(_0x27bb93);}[_0x35d151(0x2cc,0xea)+'pen'](){const _0x11985c={_0x293c13:0x309},_0x47dc47={_0x2e7936:0x160};function _0xdb537a(_0x3073d0,_0x361186){return _0x35d151(_0x361186,_0x3073d0-_0x47dc47._0x2e7936);}function _0x3316d6(_0x4ea244,_0x8f93ff){return _0x35d151(_0x8f93ff,_0x4ea244-0x253);}return this[_0x3316d6(0x84a,0x7bb)+_0x3316d6(0x5fb,_0x11985c._0x293c13)]?.[_0xdb537a(0x5e5,0x6f5)+'te']===_0x42d174['OPEN'];}[_0x35d151(0x49a,0x6bc)+_0x341e52(0x6cc,0x3e7)](){const _0x5129c2={_0x4deecb:0x30,_0xd34d72:0x47b,_0x25cb8e:0x2ac,_0x266c40:0x1ac,_0x49b042:0x928,_0x67fdd0:0xae5};function _0x1a95dc(_0x170ead,_0x54719c){return _0x35d151(_0x54719c,_0x170ead-0x310);}function _0x43fe4c(_0x466a27,_0x122594){return _0x35d151(_0x122594,_0x466a27- -0x1d9);}return this[_0x43fe4c(0xa4,-_0x5129c2._0x4deecb)+_0x1a95dc(_0x5129c2._0xd34d72,0x354)]?.[_0x43fe4c(_0x5129c2._0x25cb8e,_0x5129c2._0x266c40)+'te']===_0x42d174[_0x1a95dc(_0x5129c2._0x49b042,_0x5129c2._0x67fdd0)];}[_0x35d151(0x4de,0x5e0)+_0x341e52(0x549,0x56c)](){const _0x58d7b2={_0x29f1e2:0x6e4,_0x2a2fb8:0x5db,_0x18e36b:0x855,_0x4129de:0x427,_0x1f8ab0:0x821,_0x28b897:0x8cb,_0x1c39dc:0x6d4,_0x408d47:0x821,_0x241346:0x625,_0x1f6e61:0x5c8},_0x210841={_0x39be01:0x2c0};this[_0x4a514d(_0x58d7b2._0x29f1e2,0x97f)+_0x4a514d(0x5ee,0x855)]();this[_0x4a243a(_0x58d7b2._0x2a2fb8,0x8dd)+_0x4a243a(0x4d0,0x5b4)]&&(clearTimeout(this[_0x4a243a(_0x58d7b2._0x2a2fb8,_0x58d7b2._0x18e36b)+'tTimer']),this[_0x4a514d(0x4cd,0x590)+_0x4a514d(0x3c2,_0x58d7b2._0x4129de)]=null);function _0x4a243a(_0x435e62,_0xa432bd){return _0x35d151(_0xa432bd,_0x435e62-_0x210841._0x39be01);}function _0x4a514d(_0x3e5fc3,_0x14b6a2){return _0x35d151(_0x14b6a2,_0x3e5fc3-0x1b2);}this[_0x4a243a(_0x58d7b2._0x1f8ab0,_0x58d7b2._0x28b897)+_0x4a243a(0x70a,_0x58d7b2._0x1c39dc)+'r']&&(clearTimeout(this[_0x4a243a(_0x58d7b2._0x408d47,0xa09)+_0x4a514d(0x5fc,_0x58d7b2._0x241346)+'r']),this['gatewayR'+_0x4a514d(0x5fc,_0x58d7b2._0x1f6e61)+'r']=null);}[_0x341e52(0x509,0x602)+_0x35d151(0x42a,0x4dc)](_0xd2c938){const _0x4dc045={_0x2c96f1:0x295,_0x50fd69:0x4ca},_0x4b5db6={_0x45a6af:0x85};function _0x320133(_0x21a838,_0x1d272f){return _0x35d151(_0x1d272f,_0x21a838- -_0x4b5db6._0x45a6af);}return _0xd2c938==null?null:Math[_0x320133(_0x4dc045._0x2c96f1,_0x4dc045._0x50fd69)](0x0,Date['now']()-_0xd2c938);}};function shouldKeepGatewayConnected(_0x1eaa7f,_0x32b029){const _0x24ed67={_0x54150e:0x1de},_0x59c919={_0x20f939:0x546};function _0x10c2fc(_0x5df3da,_0x3cf99a){return _0x341e52(_0x3cf99a- -_0x59c919._0x20f939,_0x5df3da);}const _0x2e9bf4={};function _0xf633b2(_0x8e94a5,_0xf2c35c){return _0x341e52(_0x8e94a5- -0x424,_0xf2c35c);}_0x2e9bf4[_0x10c2fc(-0x9b,0x1de)]=function(_0x59c6ad,_0x489221){return _0x59c6ad>_0x489221;};const _0x479862=_0x2e9bf4;return _0x1eaa7f>0x0||_0x479862[_0x10c2fc(0x207,_0x24ed67._0x54150e)](_0x32b029,0x0);}function shouldScheduleGatewayIdleClose(_0x58a689,_0x3c8901,_0x1d51f7){return _0x1d51f7&&!shouldKeepGatewayConnected(_0x58a689,_0x3c8901);}function shouldRecycleGatewayForFreshClient(_0x2c5ff0,_0x4186dc,_0x1a6927,_0x1bf0e9){const _0x5a8e8b={_0x321eab:0x59e,_0x5165ff:0x321},_0x23e817={_0xfb54e9:0x141},_0x4e9d8c={};_0x4e9d8c[_0x3c8708(_0x5a8e8b._0x321eab,_0x5a8e8b._0x5165ff)]=function(_0x55c04f,_0x11cb15){return _0x55c04f===_0x11cb15;};const _0x3f635c=_0x4e9d8c;function _0x3c8708(_0x6a7589,_0x3d2790){return _0x341e52(_0x3d2790- -_0x23e817._0xfb54e9,_0x6a7589);}return _0x1a6927&&_0x4186dc>0x0&&(_0x3f635c['aBveh'](_0x2c5ff0,0x0)||_0x1bf0e9);}function summarizePendingGatewayMessages(_0x4f02e7){const _0x37e360={_0x5bc723:0x5ac,_0x749630:0x589,_0x523e55:0x837,_0x1243e5:0x87e,_0xe53baf:0xafd,_0x3740a4:0x881,_0x1d5a52:0x72b,_0x74238e:0x621,_0x54c7fd:0x8a0,_0x3ac0a1:0xc8f},_0x8627e7={_0x26ed6f:0x3f6},_0x359234={'ufdGU':'binary','eohAc':function(_0x2dcf6f,_0x24dea1){return _0x2dcf6f(_0x24dea1);}},_0x52d26e={};function _0x5dbb14(_0x1ebefd,_0x503384){return _0x35d151(_0x1ebefd,_0x503384-_0x8627e7._0x26ed6f);}_0x52d26e[_0x5dbb14(0x771,_0x37e360._0x5bc723)]=_0x4f02e7[_0x5e29e3(0xa32,0x7d7)],_0x52d26e['connectR'+_0x5e29e3(0xac5,0xdcd)]=0x0,_0x52d26e[_0x5e29e3(_0x37e360._0x749630,0x80f)+'t']=0x0;function _0x5e29e3(_0x497d9f,_0x381eb0){return _0x35d151(_0x381eb0,_0x497d9f-0x445);}_0x52d26e[_0x5e29e3(_0x37e360._0x523e55,_0x37e360._0x1243e5)]=0x0;const _0x27e502=_0x52d26e;for(const _0x33d5b1 of _0x4f02e7){if(_0x33d5b1[_0x5e29e3(_0x37e360._0xe53baf,_0x37e360._0x3740a4)]===_0x359234[_0x5e29e3(0x704,_0x37e360._0x1d5a52)]){_0x27e502[_0x5dbb14(_0x37e360._0x74238e,0x7e8)]+=0x1;continue;}if(_0x359234[_0x5dbb14(_0x37e360._0x54c7fd,0x9a8)](isConnectHandshakeRequest,_0x33d5b1[_0x5e29e3(0x641,0x53b)])){_0x27e502[_0x5dbb14(_0x37e360._0x3ac0a1,0x9fd)+'equests']+=0x1;continue;}_0x27e502[_0x5dbb14(0x4bf,0x53a)+'t']+=0x1;}return _0x27e502;}function dedupePendingGatewayMessages(_0x1bb665){const _0x84db3a={_0x6a7808:0x44d,_0x47c952:0x8b9,_0x290208:0x192,_0x15f166:0xc,_0x5d02eb:0x1be,_0x24c520:0x7ae,_0x398ca7:0x61e,_0x2d3044:0x7ee,_0xb9d381:0x92,_0x4028cb:0x38e},_0x3e537c={_0x32369a:0x4db},_0x658013={_0x58c524:0x7b};function _0x44499a(_0x2bd180,_0x21862b){return _0x341e52(_0x2bd180- -_0x658013._0x58c524,_0x21862b);}const _0x126c24={};_0x126c24[_0x44499a(0x6dc,_0x84db3a._0x6a7808)]=function(_0x2fb676,_0x29eeb4){return _0x2fb676<=_0x29eeb4;};const _0x15c2e8=_0x126c24;let _0x19eab1=-0x1;for(let _0x5266b7=_0x1bb665['length']-0x1;_0x5266b7>=0x0;_0x5266b7-=0x1){const _0x1994ec=_0x1bb665[_0x5266b7];if(_0x1994ec?.[_0x44499a(_0x84db3a._0x47c952,0x8bc)]===_0x44499a(0x3fd,0x149)&&isConnectHandshakeRequest(_0x1994ec[_0x18d80f(-_0x84db3a._0x290208,-0x63)])){_0x19eab1=_0x5266b7;break;}}if(_0x15c2e8[_0x44499a(0x6dc,0x9cf)](_0x19eab1,0x0)){const _0x4c92f5={};return _0x4c92f5[_0x44499a(0x7ae,0x7d2)]=[..._0x1bb665],_0x4c92f5[_0x18d80f(_0x84db3a._0x15f166,_0x84db3a._0x5d02eb)]=0x0,_0x4c92f5;}const _0x37edaa=_0x1bb665['filter']((_0x483d73,_0x4398e7)=>_0x4398e7>=_0x19eab1||(_0x483d73[_0x18d80f(0x24c,0x459)]!==_0x44499a(0x3fd,0x5e5)||!isConnectHandshakeRequest(_0x483d73[_0x18d80f(-0x2a6,-0x63)]))),_0x4b4d24={};function _0x18d80f(_0x4358f4,_0x5a4e34){return _0x341e52(_0x5a4e34- -_0x3e537c._0x32369a,_0x4358f4);}return _0x4b4d24[_0x44499a(_0x84db3a._0x24c520,0x845)]=_0x37edaa,_0x4b4d24[_0x44499a(_0x84db3a._0x398ca7,0x451)]=_0x1bb665[_0x44499a(_0x84db3a._0x2d3044,0x7a3)]-_0x37edaa[_0x18d80f(_0x84db3a._0xb9d381,_0x84db3a._0x4028cb)],_0x4b4d24;}function prunePendingGatewayMessagesForFreshDemand(_0x3e9df3){const _0x59c5b0={_0x1680d3:0x7e,_0x1cfbb2:0x761,_0xce1344:0x501,_0x4e02e0:0x15f,_0x145a1f:0x16f,_0x5daa96:0x331,_0x4db54c:0x346,_0x2ba732:0x118,_0x223f75:0x14,_0x234a7d:0x729,_0x515fe9:0x15a,_0xa7d37c:0x6d,_0x40c29d:0x7a0,_0x43aee8:0x501,_0x446efe:0xaa,_0x20025f:0x28e,_0xd18115:0x3d8,_0x5c9df5:0x318},_0x59acdc={_0x10208d:0x40b},_0x3851e0={};_0x3851e0[_0x58c4ad(-_0x59c5b0._0x1680d3,0xb7)]=function(_0x13f39a,_0x36d91d){return _0x13f39a===_0x36d91d;},_0x3851e0[_0x58c4ad(0x687,0x3d8)]=function(_0x191a3c,_0x3f1bd0){return _0x191a3c-_0x3f1bd0;};const _0x8a45c3=_0x3851e0;if(_0x3e9df3[_0x58c4ad(_0x59c5b0._0x1cfbb2,_0x59c5b0._0xce1344)]===0x0){const _0x164489={};return _0x164489[_0xf3890f(_0x59c5b0._0x4e02e0,0x41e)]=[],_0x164489[_0x58c4ad(_0x59c5b0._0x145a1f,_0x59c5b0._0x5daa96)]=0x0,_0x164489;}function _0xf3890f(_0x3cc0f4,_0x16d7b1){return _0x341e52(_0x16d7b1- -_0x59acdc._0x10208d,_0x3cc0f4);}let _0x176078=-0x1;for(let _0x30a707=_0x3e9df3[_0x58c4ad(_0x59c5b0._0x4db54c,0x501)]-0x1;_0x30a707>=0x0;_0x30a707-=0x1){const _0x482e9f=_0x3e9df3[_0x30a707];if(_0x8a45c3[_0xf3890f(-_0x59c5b0._0x2ba732,_0x59c5b0._0x223f75)](_0x482e9f?.[_0xf3890f(_0x59c5b0._0x234a7d,0x529)],_0x58c4ad(-0x11c,0x110))&&isConnectHandshakeRequest(_0x482e9f[_0xf3890f(-_0x59c5b0._0x515fe9,_0x59c5b0._0xa7d37c)])){_0x176078=_0x30a707;break;}}function _0x58c4ad(_0x44912d,_0x2f61f7){return _0x341e52(_0x2f61f7- -0x368,_0x44912d);}if(_0x176078===-0x1){const _0x358335={};return _0x358335[_0xf3890f(0x266,0x41e)]=[],_0x358335['dropped']=_0x3e9df3[_0x58c4ad(_0x59c5b0._0x40c29d,_0x59c5b0._0x43aee8)],_0x358335;}const _0x1aea89=_0x3e9df3[_0x58c4ad(-0x1d,_0x59c5b0._0x446efe)](_0x176078);return{'messages':_0x1aea89,'dropped':_0x8a45c3[_0x58c4ad(_0x59c5b0._0x20025f,_0x59c5b0._0xd18115)](_0x3e9df3[_0x58c4ad(_0x59c5b0._0x5c9df5,_0x59c5b0._0xce1344)],_0x1aea89['length'])};}function patchConnectRequestGatewayAuth(_0x2ad4da,_0x56c90f){const _0x517f6c={_0x449987:0x32f,_0x5efd68:0x28d,_0x50aad6:0x38e,_0x5ec0f4:0x7c5,_0x4ff7d2:0x742,_0x47ad61:0x43c,_0x112169:0x5e8,_0x7dfc29:0x90f,_0x19eea5:0x2c1,_0x13de4d:0x4b9,_0x3a0a45:0x5bf,_0x49440b:0x3f7,_0x3eff39:0xc27,_0x3276b1:0x989,_0x38f121:0x8a2,_0x49275e:0x6ed,_0x44eff4:0x32e,_0x23e803:0xa82,_0x11b5c5:0x8dc,_0x31e09d:0x73d,_0x3a2cda:0x71b,_0x184391:0x1ef,_0x378724:0x5b4,_0x39a449:0x5b4,_0x49eed6:0x68f,_0x2420f3:0x43c,_0x5f1d03:0x5f0,_0xf571ec:0x4ae,_0x1ae876:0x689,_0x244a85:0x71a,_0x73a898:0x9f9,_0x27be1f:0x8db,_0x48c007:0x245,_0x4559a9:0x859,_0x5e4281:0x5b4,_0x2189eb:0x766},_0x27fe83={_0x1e0fb1:0x368},_0x382855={};_0x382855[_0x59fdd7(_0x517f6c._0x449987,0x49b)]=_0x1e4aa9(_0x517f6c._0x5efd68,_0x517f6c._0x50aad6);function _0x1e4aa9(_0x39ff79,_0x412f0f){return _0x35d151(_0x39ff79,_0x412f0f-0x1fb);}_0x382855[_0x59fdd7(0xa11,0x9aa)]=function(_0x471568,_0x165434){return _0x471568!==_0x165434;};function _0x59fdd7(_0x118fe2,_0x340817){return _0x35d151(_0x118fe2,_0x340817-_0x27fe83._0x1e0fb1);}_0x382855[_0x59fdd7(_0x517f6c._0x5ec0f4,_0x517f6c._0x4ff7d2)]=_0x1e4aa9(0x747,_0x517f6c._0x47ad61),_0x382855[_0x1e4aa9(_0x517f6c._0x112169,0x449)]=function(_0x5b7847,_0x3abcd3){return _0x5b7847===_0x3abcd3;},_0x382855[_0x59fdd7(0x77d,_0x517f6c._0x7dfc29)]='string';const _0x100ca0=_0x382855;if(_0x56c90f[_0x1e4aa9(_0x517f6c._0x19eea5,0x404)]!==_0x59fdd7(_0x517f6c._0x13de4d,0x7ba)||!_0x56c90f['password']){const _0x1aef82={};return _0x1aef82[_0x1e4aa9(_0x517f6c._0x3a0a45,_0x517f6c._0x49440b)]=_0x2ad4da,_0x1aef82['injected']=![],_0x1aef82;}try{const _0x570113=JSON[_0x59fdd7(_0x517f6c._0x3eff39,_0x517f6c._0x3276b1)](_0x2ad4da);if(_0x570113[_0x1e4aa9(_0x517f6c._0x38f121,_0x517f6c._0x49275e)]!==_0x100ca0[_0x1e4aa9(0x4d8,_0x517f6c._0x44eff4)]||_0x100ca0[_0x1e4aa9(0x926,0x83d)](_0x570113[_0x59fdd7(_0x517f6c._0x23e803,_0x517f6c._0x11b5c5)],_0x1e4aa9(0x62e,0x3ca))&&_0x570113[_0x59fdd7(0x85a,0x8dc)]!==_0x1e4aa9(0xa2a,_0x517f6c._0x31e09d)+_0x59fdd7(0x7e9,_0x517f6c._0x3a2cda)){const _0x3992f0={};return _0x3992f0[_0x1e4aa9(_0x517f6c._0x184391,0x3f7)]=_0x2ad4da,_0x3992f0['injected']=![],_0x3992f0;}const _0x4a1857=_0x570113['params']&&typeof _0x570113[_0x1e4aa9(0x58a,_0x517f6c._0x378724)]===_0x100ca0[_0x1e4aa9(0x7b5,0x5d5)]?{..._0x570113[_0x1e4aa9(0x4b3,_0x517f6c._0x39a449)]}:{},_0x18cf2d=_0x4a1857[_0x59fdd7(0x341,0x61b)]&&_0x100ca0[_0x1e4aa9(_0x517f6c._0x49eed6,0x449)](typeof _0x4a1857[_0x1e4aa9(0x65e,0x4ae)],_0x1e4aa9(0x444,_0x517f6c._0x2420f3))?{..._0x4a1857[_0x1e4aa9(_0x517f6c._0x5f1d03,_0x517f6c._0xf571ec)]}:{},_0x2ab184=typeof _0x18cf2d[_0x59fdd7(_0x517f6c._0x1ae876,0x7ba)]===_0x100ca0[_0x59fdd7(_0x517f6c._0x244a85,_0x517f6c._0x7dfc29)]?_0x18cf2d[_0x1e4aa9(0x7f9,0x64d)]['trim']():'';if(_0x2ab184){const _0x46ac22={};return _0x46ac22['text']=_0x2ad4da,_0x46ac22[_0x59fdd7(_0x517f6c._0x73a898,_0x517f6c._0x27be1f)]=![],_0x46ac22;}_0x18cf2d['password']=_0x56c90f['password'],_0x4a1857[_0x1e4aa9(_0x517f6c._0x48c007,0x4ae)]=_0x18cf2d;const _0xe325d0={..._0x570113};return _0xe325d0[_0x1e4aa9(_0x517f6c._0x4559a9,_0x517f6c._0x5e4281)]=_0x4a1857,{'text':JSON[_0x59fdd7(_0x517f6c._0x2189eb,0x864)+'y'](_0xe325d0),'injected':!![]};}catch{const _0x24bca2={};return _0x24bca2['text']=_0x2ad4da,_0x24bca2[_0x1e4aa9(0x891,0x76e)]=![],_0x24bca2;}}function formatConnectHandshakeMetaForLog(_0x29859){const _0xcf36={_0x45385d:0x56f,_0x2499c7:0x805,_0x58f123:0x380,_0x23eab1:0x4a2,_0x374f6e:0x54f,_0xa704d1:0x6a1,_0x18cef6:0x57f,_0x272793:0x1c1,_0x33da43:0x3b3,_0xe54eac:0x5d0,_0x5071fc:0x4b6,_0xbf408d:0x54e,_0x2b2252:0x317,_0x274ae1:0x28e,_0xe0ff0f:0x24e,_0x37dc91:0x61c,_0x4f344d:0x608},_0xeac8a1={_0x173786:0x248},_0xe96087={};_0xe96087[_0x5af842(0x5c4,0x71e)]=_0x5af842(_0xcf36._0x45385d,0x5bd);function _0x5af842(_0x156f70,_0x1effb2){return _0x341e52(_0x1effb2- -_0xeac8a1._0x173786,_0x156f70);}const _0x38a422=_0xe96087;if(!_0x29859)return'';function _0x4b97e0(_0x33f2ba,_0x960dd){return _0x341e52(_0x960dd- -0x340,_0x33f2ba);}return'\x20method='+_0x29859[_0x5af842(_0xcf36._0x2499c7,0x5a8)]+_0x4b97e0(0x5c7,_0xcf36._0x58f123)+(_0x29859['id']??_0x4b97e0(0x7a7,0x4c5))+(_0x5af842(_0xcf36._0x23eab1,_0xcf36._0x374f6e)+_0x4b97e0(_0xcf36._0xa704d1,_0xcf36._0x18cef6))+_0x29859['noncePre'+_0x4b97e0(_0xcf36._0x272793,_0xcf36._0x33da43)]+('\x20nonceLe'+_0x5af842(0x493,0x220))+(_0x29859[_0x4b97e0(_0xcf36._0xe54eac,_0xcf36._0x5071fc)+'gth']??0x0)+(_0x4b97e0(0x620,0x499)+_0x4b97e0(0x5d6,_0xcf36._0xbf408d))+(_0x29859[_0x4b97e0(_0xcf36._0x2b2252,0x24e)+'ds'][_0x4b97e0(0x3f5,0x529)]>0x0?_0x29859[_0x4b97e0(_0xcf36._0x274ae1,_0xcf36._0xe0ff0f)+'ds'][_0x4b97e0(0x71a,_0xcf36._0x37dc91)](','):_0x38a422[_0x5af842(_0xcf36._0x4f344d,0x71e)]);}function parseBootstrapRequestPayload(_0x4d5cdd){const _0x396826={_0x506b30:0x8c7,_0x3dd2b7:0xd7,_0x1a76b8:0x87,_0x3e4cb6:0x192,_0x59553b:0x2d5,_0xe96e7:0x3c3,_0xf9d971:0x151,_0x103e58:0x181,_0x4df322:0xb7,_0x1f2429:0xfb,_0x55cd12:0x463,_0x43ad1f:0xbd3,_0x84cbd3:0x598,_0xeb6450:0x6aa,_0x2d1077:0x8c9,_0x3431d1:0x32a,_0x4ab12a:0xaa,_0x56dd8e:0x315,_0x10112c:0x35,_0x159257:0x2f2,_0x192fd6:0x11f,_0x108ea3:0x1dd,_0x24770e:0x121,_0xc64f54:0x71,_0x15821d:0x42c,_0x2f5573:0x6ec,_0x40ace3:0x13e,_0x50a683:0x23,_0xcd4b7e:0x228,_0x5d02c4:0xaa,_0x3a01f9:0x3,_0x164c90:0x145,_0x134c69:0x13e,_0x34bdf4:0x47b,_0x358a65:0x586,_0x4c71fa:0x3d3,_0x732f9b:0x35a,_0x368750:0x6ea,_0x4c6f70:0x659,_0x56738e:0x409,_0x482b84:0x3d9},_0x372d5c={_0x398728:0x2b5},_0x203657={'utVUa':function(_0x20f7d1,_0x24f897){return _0x20f7d1(_0x24f897);},'NGbJZ':_0x36e3b2(0x686,_0x396826._0x506b30)+_0x285060(_0x396826._0x3dd2b7,_0x396826._0x1a76b8),'NLgdc':'payload.'+_0x285060(_0x396826._0x3e4cb6,_0x396826._0x59553b)+_0x36e3b2(0x452,0x454)+_0x36e3b2(0x3c1,_0x396826._0xe96e7)+_0x285060(_0x396826._0xf9d971,0x59)+_0x36e3b2(0x933,0xbdc)};function _0x285060(_0x1f6544,_0x27f621){return _0x35d151(_0x27f621,_0x1f6544- -0x250);}if(!_0x4d5cdd){const _0x305b8f={};return _0x305b8f['ok']=![],_0x305b8f[_0x285060(-0x13e,-0x1f)]=_0x285060(_0x396826._0x103e58,0x1a1)+'request',_0x305b8f[_0x285060(-_0x396826._0x4df322,-_0x396826._0x1f2429)]='bootstra'+_0x36e3b2(_0x396826._0x55cd12,0x32d)+'t\x20payloa'+'d\x20is\x20req'+'uired',_0x305b8f;}const _0x2737e7=readRequiredString(_0x4d5cdd[_0x36e3b2(0x902,_0x396826._0x43ad1f)]),_0x306afa=_0x203657[_0x36e3b2(_0x396826._0x84cbd3,0x4af)](readRequiredString,_0x4d5cdd[_0x285060(0x1dd,0x117)+'y']),_0x3f9a64=readRequiredString(_0x4d5cdd[_0x36e3b2(0x6ea,0x831)]),_0x5cb4e2=normalizeScopeList(_0x4d5cdd[_0x36e3b2(_0x396826._0xeb6450,_0x396826._0x2d1077)]);if(!_0x2737e7){const _0xc33c03={};return _0xc33c03['ok']=![],_0xc33c03[_0x285060(-0x13e,-_0x396826._0x3431d1)]=_0x36e3b2(0x686,0x991)+'request',_0xc33c03[_0x285060(-0xb7,0x35)]=_0x285060(_0x396826._0x4ab12a,_0x396826._0x56dd8e)+_0x285060(0x3fd,0x41b)+_0x285060(0x496,0x506)+_0x285060(0x1c5,-_0x396826._0x10112c),_0xc33c03;}if(!_0x306afa){const _0x264fd7={};return _0x264fd7['ok']=![],_0x264fd7[_0x36e3b2(0x3c7,0x3be)]=_0x285060(0x181,_0x396826._0x159257)+_0x285060(_0x396826._0x3dd2b7,-_0x396826._0x192fd6),_0x264fd7[_0x36e3b2(0x44e,0x4a7)]=_0x285060(0xaa,0x69)+_0x285060(_0x396826._0x108ea3,-_0x396826._0x24770e)+_0x285060(0x307,_0x396826._0xc64f54)+_0x285060(_0x396826._0x15821d,_0x396826._0x2f5573),_0x264fd7;}if(!_0x3f9a64){const _0x56af45={};return _0x56af45['ok']=![],_0x56af45[_0x285060(-_0x396826._0x40ace3,_0x396826._0x50a683)]=_0x203657[_0x36e3b2(0x47b,0x389)],_0x56af45[_0x36e3b2(0x44e,_0x396826._0xcd4b7e)]=_0x285060(_0x396826._0x5d02c4,-_0x396826._0x3a01f9)+_0x285060(-_0x396826._0x164c90,0x12f)+'required',_0x56af45;}if(_0x5cb4e2['length']===0x0){const _0x463d3d={};return _0x463d3d['ok']=![],_0x463d3d[_0x285060(-_0x396826._0x134c69,-0x1d6)]=_0x203657[_0x36e3b2(_0x396826._0x34bdf4,_0x396826._0x358a65)],_0x463d3d[_0x285060(-0xb7,-0x39a)]=_0x203657[_0x36e3b2(_0x396826._0x4c71fa,0x256)],_0x463d3d;}const _0xd1f01b={};_0xd1f01b[_0x285060(0x3fd,_0x396826._0x732f9b)]=_0x2737e7,_0xd1f01b[_0x36e3b2(0x6e2,0x5fe)+'y']=_0x306afa,_0xd1f01b[_0x36e3b2(_0x396826._0x368750,_0x396826._0x4c6f70)]=_0x3f9a64,_0xd1f01b[_0x285060(0x1a5,_0x396826._0x56738e)]=_0x5cb4e2;function _0x36e3b2(_0x1fabc4,_0x357ef7){return _0x35d151(_0x357ef7,_0x1fabc4-_0x372d5c._0x398728);}const _0x52998c={};return _0x52998c['ok']=!![],_0x52998c[_0x285060(-0x12f,-_0x396826._0x482b84)]=_0xd1f01b,_0x52998c;}function readRequiredString(_0x292619){const _0x15cea7={_0x17e2cb:0x142,_0x5749d7:0x151,_0x29452f:0x6d},_0x375f58={_0x53cda2:0x2af},_0x1b41a9={_0x124961:0x14d},_0x20eac={};_0x20eac['XSzKZ']=_0x4cb553(_0x15cea7._0x17e2cb,-_0x15cea7._0x5749d7);const _0x215481=_0x20eac;function _0x1d5a20(_0x9d651a,_0x2e5d26){return _0x35d151(_0x9d651a,_0x2e5d26- -_0x1b41a9._0x124961);}function _0x4cb553(_0x5a472a,_0x26f5ca){return _0x35d151(_0x5a472a,_0x26f5ca- -_0x375f58._0x53cda2);}return typeof _0x292619===_0x215481[_0x1d5a20(0x2b6,0x4de)]?_0x292619[_0x4cb553(_0x15cea7._0x29452f,0xd8)]():'';}function normalizeScopeList(_0xa0e88a){const _0x2951bf={_0x23c1da:0x254,_0x557e86:0x1b,_0x8e375b:0x107,_0x5c4368:0x33,_0x4a8533:0x36a,_0x32e1e1:0x1e1},_0x516c6f={_0x489918:0x280};if(!Array[_0x484fea(-0xa6,-_0x2951bf._0x23c1da)](_0xa0e88a))return[];function _0x333a65(_0x5ee5ff,_0x5ed088){return _0x35d151(_0x5ed088,_0x5ee5ff-0x65);}function _0x484fea(_0x3dfca5,_0xb0a0a0){return _0x35d151(_0xb0a0a0,_0x3dfca5- -_0x516c6f._0x489918);}const _0x6cbc77=new Set();for(const _0x3def31 of _0xa0e88a){if(typeof _0x3def31!==_0x333a65(0x1c3,-_0x2951bf._0x557e86))continue;const _0x327745=_0x3def31[_0x484fea(_0x2951bf._0x8e375b,-_0x2951bf._0x5c4368)]();_0x327745&&_0x6cbc77[_0x484fea(0x409,0x400)](_0x327745);}return[..._0x6cbc77][_0x333a65(_0x2951bf._0x4a8533,_0x2951bf._0x32e1e1)]();}function buildRelayWsUrl(_0x9b7c50){const _0x3d2de3={_0x2195d0:0x3d0,_0x423541:0x18b,_0x88b74a:0x394,_0x4219d8:0x574,_0x48f60a:0x3a5,_0x30d4da:0x694,_0x1b4995:0x601,_0x2fa67e:0x3b4,_0x39b807:0x618,_0x4fc704:0x4b0,_0x96bf05:0x1ae,_0x6050b2:0x68f,_0x56d770:0x4e2,_0x5ac1af:0x4c0},_0x5ade3e={_0x49d977:0x184},_0x32736f={_0x41c73e:0x1a1},_0x2de176={};_0x2de176['FljRI']=_0x602798(0x526,_0x3d2de3._0x2195d0),_0x2de176[_0x28ded4(_0x3d2de3._0x423541,0x33d)]='gateway';const _0x57f48c=_0x2de176,_0x34bc2b=new URL(_0x9b7c50[_0x28ded4(0x19d,_0x3d2de3._0x88b74a)]);(!_0x34bc2b['pathname']||_0x34bc2b[_0x602798(0x5e4,_0x3d2de3._0x4219d8)]==='/')&&(_0x34bc2b['pathname']=_0x57f48c['FljRI']);_0x34bc2b['searchPa'+'rams']['set'](_0x28ded4(_0x3d2de3._0x48f60a,_0x3d2de3._0x30d4da)+'d',_0x9b7c50['gatewayI'+'d']);function _0x602798(_0x46d753,_0x5f417a){return _0x35d151(_0x5f417a,_0x46d753-_0x32736f._0x41c73e);}_0x34bc2b[_0x602798(_0x3d2de3._0x1b4995,_0x3d2de3._0x2fa67e)+'rams'][_0x28ded4(0x2db,0x1f1)](_0x602798(0x5d6,_0x3d2de3._0x39b807),_0x57f48c[_0x602798(_0x3d2de3._0x4fc704,0x524)]);function _0x28ded4(_0x45ef3b,_0x450e3f){return _0x35d151(_0x450e3f,_0x45ef3b- -_0x5ade3e._0x49d977);}return _0x34bc2b['searchPa'+_0x28ded4(0x42d,0x5af)]['set']('clientId',_0x9b7c50[_0x602798(0x70a,0x479)+'Id']),_0x34bc2b[_0x28ded4(0x2dc,0x403)+_0x28ded4(0x42d,_0x3d2de3._0x96bf05)]['set'](_0x602798(_0x3d2de3._0x6050b2,_0x3d2de3._0x56d770),_0x9b7c50['relaySec'+'ret']),_0x34bc2b[_0x602798(_0x3d2de3._0x5ac1af,0x5fb)]();}function redactRelayWsUrl(_0x2fd4d3){const _0x8dd494={_0x25e609:0x5fb,_0x85557d:0x773,_0x532aba:0x5ed,_0x19df10:0x17c,_0x3b7adc:0x91a,_0x557485:0xa38,_0x1efc80:0x74e,_0x47f58a:0x5f1,_0x1918d0:0x1f5},_0x17dd6c={_0x4ffd10:0x285},_0x12643e={_0x1a4cf7:0x166};function _0x41e4cd(_0x28de73,_0x7dd4ed){return _0x35d151(_0x28de73,_0x7dd4ed- -_0x12643e._0x1a4cf7);}function _0x4a2f44(_0x4dcd47,_0x2ae2aa){return _0x35d151(_0x2ae2aa,_0x4dcd47-_0x17dd6c._0x4ffd10);}const _0x31e43a={};_0x31e43a[_0x4a2f44(_0x8dd494._0x25e609,0x314)]=_0x4a2f44(_0x8dd494._0x85557d,_0x8dd494._0x532aba);const _0x3619ab=_0x31e43a,_0x2dc1d0=new URL(_0x2fd4d3);return _0x2dc1d0['searchPa'+_0x41e4cd(_0x8dd494._0x19df10,0x44b)][_0x4a2f44(_0x8dd494._0x3b7adc,_0x8dd494._0x557485)](_0x3619ab['mikqf'])&&_0x2dc1d0[_0x4a2f44(0x6e5,_0x8dd494._0x1efc80)+'rams']['set'](_0x4a2f44(0x773,_0x8dd494._0x47f58a),_0x4a2f44(0x6a6,0x47e)+'d>'),_0x2dc1d0[_0x41e4cd(_0x8dd494._0x1918d0,0x1b9)]();}function normalizeText(_0x5e0188){const _0x51d79f={_0x380d2c:0x864,_0x420f23:0xa97,_0x1bcd95:0x8e9,_0x58f12f:0x8df,_0x185111:0x477,_0x2a997c:0x4db,_0x464ef3:0x84b,_0x1e6fdb:0x92e,_0x4196ec:0x864,_0x479999:0x3ec,_0x133cea:0x76d},_0x4b0985={_0x2bd971:0x29d},_0x1e6ea4={};_0x1e6ea4[_0xe845aa(0x8e9,0xbc9)]=function(_0x5c47e6,_0x5dc678){return _0x5c47e6===_0x5dc678;};function _0xe845aa(_0x23e1c5,_0x2134dc){return _0x35d151(_0x2134dc,_0x23e1c5-0x44e);}_0x1e6ea4[_0xe845aa(_0x51d79f._0x380d2c,_0x51d79f._0x420f23)]=function(_0x593374,_0xfd1804){return _0x593374 instanceof _0xfd1804;};const _0x42de00=_0x1e6ea4;if(_0x42de00[_0xe845aa(_0x51d79f._0x1bcd95,0x8ee)](typeof _0x5e0188,'string'))return _0x5e0188;if(Buffer['isBuffer'](_0x5e0188))return _0x5e0188[_0xe845aa(0x76d,_0x51d79f._0x58f12f)]('utf8');if(Array[_0x29fbe3(0x352,_0x51d79f._0x185111)](_0x5e0188))return Buffer['concat'](_0x5e0188)[_0xe845aa(0x76d,_0x51d79f._0x2a997c)](_0xe845aa(_0x51d79f._0x464ef3,_0x51d79f._0x1e6fdb));if(_0x42de00[_0xe845aa(_0x51d79f._0x4196ec,0xb61)](_0x5e0188,ArrayBuffer))return Buffer[_0x29fbe3(0x3c0,_0x51d79f._0x479999)](_0x5e0188)[_0xe845aa(_0x51d79f._0x133cea,0x779)]('utf8');function _0x29fbe3(_0x389590,_0x53390e){return _0x35d151(_0x389590,_0x53390e-_0x4b0985._0x2bd971);}return null;}function normalizeBinary(_0x14551e){const _0x1bf032={_0x26ad39:0x762,_0x79f39:0x44f,_0x3f0ab6:0x4d8,_0x5472a0:0x1b0,_0xc55ec0:0x354,_0x120d5a:0x596,_0x234812:0x134,_0x4dc80b:0x97,_0x3df6ea:0xa0},_0x2be3e8={};function _0x4dfc89(_0x140f0a,_0x4afe5c){return _0x341e52(_0x140f0a- -0x22a,_0x4afe5c);}_0x2be3e8[_0x4dfc89(0x596,_0x1bf032._0x26ad39)]=_0x4dfc89(_0x1bf032._0x79f39,_0x1bf032._0x3f0ab6);const _0x399720=_0x2be3e8;if(Buffer[_0x4dfc89(0x231,0x282)](_0x14551e))return _0x14551e;if(typeof _0x14551e===_0x18b377(-_0x1bf032._0x5472a0,-_0x1bf032._0xc55ec0))return Buffer['from'](_0x14551e,_0x399720[_0x4dfc89(_0x1bf032._0x120d5a,0x6bc)]);function _0x18b377(_0x1c2136,_0x595603){return _0x341e52(_0x1c2136- -0x58a,_0x595603);}if(Array[_0x18b377(-_0x1bf032._0x234812,-0xf8)](_0x14551e))return Buffer[_0x18b377(-_0x1bf032._0x4dc80b,0x1d4)](_0x14551e);return Buffer[_0x18b377(-0x1bf,-_0x1bf032._0x3df6ea)](_0x14551e);}function readRecentCliLogs(_0x3ac520){const _0x284c79={_0x7e9e2d:0x5d9,_0x2df2c1:0x56a,_0x2f78e7:0x69c,_0xc26afb:0x9fd,_0x32000d:0xbed,_0x4d32b0:0x7ab,_0x12aa5c:0x7eb,_0x4ecef4:0x64d,_0x38891a:0x508,_0x747591:0x6f7},_0x3f7b01={_0x4dc784:0x15c},_0x5ee56c={_0x4c412f:0x247},{logPath:_0x46e8fc,errorLogPath:_0x142c9b}=getServicePaths(),_0x59832c=clampLines(_0x3ac520?.[_0x29607b(_0x284c79._0x7e9e2d,_0x284c79._0x2df2c1)]??0xc8),_0x5bea6e=_0x3ac520?.[_0x29607b(_0x284c79._0x2f78e7,0x488)]??null,_0x444bf7=_0x5bea6e!=null?Date['now']()-_0x5bea6e:null,_0x200ac9=[_0x46e8fc];_0x3ac520?.['includeE'+'rrorLog']&&_0x200ac9[_0x5dbbd1(_0x284c79._0xc26afb,_0x284c79._0x32000d)](_0x142c9b);function _0x29607b(_0xbc9038,_0x32a2b4){return _0x341e52(_0xbc9038- -_0x5ee56c._0x4c412f,_0x32a2b4);}function _0x5dbbd1(_0x230690,_0x47510e){return _0x341e52(_0x230690-_0x3f7b01._0x4dc784,_0x47510e);}const _0x2e5abe=_0x200ac9[_0x5dbbd1(_0x284c79._0x4d32b0,_0x284c79._0x12aa5c)](_0x4dbe8a=>readLogFile(_0x4dbe8a)),_0x401313=_0x444bf7==null?_0x2e5abe:_0x2e5abe[_0x5dbbd1(0x52b,_0x284c79._0x4ecef4)](_0x4faa07=>_0x4faa07['ts']!=null&&_0x4faa07['ts']>=_0x444bf7);return _0x401313['slice'](-_0x59832c)[_0x5dbbd1(_0x284c79._0x38891a,_0x284c79._0x747591)](_0x8f26bb=>_0x8f26bb[_0x5dbbd1(0x618,0x5b6)]);}async function buildDoctorReport(){const _0x2826d0={_0x2acdb2:0x540,_0x2809cc:0x553,_0x1efa02:0x7cf,_0xe7890f:0x7f3,_0x2d5f82:0x34e,_0x179ae2:0x8ca,_0x1ca526:0x8bf,_0x129bce:0x69b,_0x38890a:0x70d,_0x32bb6c:0x778,_0x1736d5:0x70c},_0x4b2697={'pKtHy':function(_0x23a222){return _0x23a222();}};function _0x3dcbbb(_0x45ed58,_0x2358ef){return _0x35d151(_0x2358ef,_0x45ed58-0x21f);}const _0x11dedf=readPairingConfig(),_0x2fd13=getServiceStatus();function _0x57ba4b(_0x3c9bf4,_0x314e2f){return _0x35d151(_0x3c9bf4,_0x314e2f-0x2ba);}const _0x560f76=_0x4b2697['pKtHy'](readOpenClawInfo),_0x4e36a4=resolveGatewayUrl(),_0x2eaece=await checkGatewayReachable(_0x4e36a4);return{'paired':Boolean(_0x11dedf),'gatewayId':_0x11dedf?.['gatewayI'+'d']??null,'serverUrl':_0x11dedf?.['serverUr'+'l']??null,'relayUrl':_0x11dedf?.[_0x3dcbbb(_0x2826d0._0x2acdb2,_0x2826d0._0x2809cc)]??null,'instanceId':_0x11dedf?.['instance'+'Id']??null,'serviceInstalled':_0x2fd13[_0x3dcbbb(_0x2826d0._0x1efa02,0x6c3)+'d'],'serviceRunning':_0x2fd13[_0x57ba4b(0x6c2,0x50b)],'serviceMethod':_0x2fd13[_0x57ba4b(_0x2826d0._0xe7890f,0x82e)],'servicePath':_0x2fd13[_0x3dcbbb(0x59b,0x7ea)+_0x3dcbbb(0x63b,_0x2826d0._0x2d5f82)],'logPath':_0x2fd13[_0x3dcbbb(_0x2826d0._0x179ae2,0x8f9)],'errorLogPath':_0x2fd13['errorLog'+_0x57ba4b(0xb75,_0x2826d0._0x1ca526)],'openclawConfigDir':getOpenClawConfigDir(),'openclawMediaDir':_0x4b2697[_0x57ba4b(_0x2826d0._0x129bce,0x659)](getOpenClawMediaDir),'openclawConfigFound':_0x560f76[_0x3dcbbb(0x35c,0x67)+_0x3dcbbb(0x838,0x603)],'openclawAuthMode':_0x560f76['authMode'],'openclawTokenFound':Boolean(_0x560f76[_0x3dcbbb(_0x2826d0._0x38890a,_0x2826d0._0x32bb6c)]),'openclawPasswordFound':Boolean(_0x560f76[_0x57ba4b(0x464,_0x2826d0._0x1736d5)]),'localGatewayUrl':_0x4e36a4,'localGatewayReachable':_0x2eaece};}async function ensurePairPrerequisites(){const _0x4adbb5={_0x2877ca:0x889,_0x37c070:0x46d,_0x58a95c:0x3cf,_0x15b9c0:0x498,_0x1beabc:0x354,_0x17c1b9:0x62d,_0x2a1205:0x345,_0x477c06:0x5f2,_0x2749b8:0x33b,_0x191ef5:0x44d,_0x3656c0:0x7aa,_0x12ffce:0x82b,_0x438394:0x2de,_0x11f536:0x539,_0x5b5a31:0x916,_0x22c26c:0x427,_0x128cfb:0x516,_0x1f814f:0x213,_0x4a682c:0x594,_0x1f53f6:0x72e,_0x491479:0x799,_0x295758:0x882,_0xe28afe:0x492,_0x2e92ce:0xa46},_0x49459f={'QlSbo':function(_0x4c158f){return _0x4c158f();},'THxmh':function(_0x5ebee8,_0x577c5e){return _0x5ebee8(_0x577c5e);},'dvmxo':_0x3a3e60(0x81f,0x8a6)+_0x3a3e60(0x5c2,_0x4adbb5._0x2877ca)+'tor`\x20for'+'\x20more\x20de'+_0x2f44ff(_0x4adbb5._0x37c070,_0x4adbb5._0x58a95c)+'r\x20use\x20`c'+_0x2f44ff(_0x4adbb5._0x15b9c0,0x3a3)+_0x3a3e60(0x67b,0x5e0)+_0x2f44ff(_0x4adbb5._0x1beabc,0x392)+_0x3a3e60(_0x4adbb5._0x17c1b9,_0x4adbb5._0x2a1205)+_0x2f44ff(_0x4adbb5._0x477c06,0x77b)+_0x2f44ff(_0x4adbb5._0x2749b8,_0x4adbb5._0x191ef5)+_0x2f44ff(_0x4adbb5._0x3656c0,_0x4adbb5._0x12ffce)+'ypass\x20th'+_0x3a3e60(0x664,0x740)+'y\x20check.'};function _0x3a3e60(_0x5f0dc4,_0x1a6000){return _0x35d151(_0x1a6000,_0x5f0dc4-0x366);}const _0x55ff5e=await _0x49459f[_0x2f44ff(_0x4adbb5._0x438394,_0x4adbb5._0x11f536)](buildDoctorReport),_0x19a46b=_0x49459f[_0x3a3e60(0x904,0x743)](listPairPrerequisiteFailures,_0x55ff5e);function _0x2f44ff(_0x24189d,_0x3eb5f7){return _0x35d151(_0x3eb5f7,_0x24189d-0x165);}if(_0x19a46b[_0x3a3e60(0x953,_0x4adbb5._0x5b5a31)]>0x0)throw new Error([_0x2f44ff(0x249,_0x4adbb5._0x22c26c)+_0x2f44ff(_0x4adbb5._0x128cfb,_0x4adbb5._0x1f814f)+'`clawket'+_0x2f44ff(0x76f,_0x4adbb5._0x4a682c)+_0x2f44ff(_0x4adbb5._0x1f53f6,0x67f)+_0x2f44ff(_0x4adbb5._0x491479,_0x4adbb5._0x295758)+'nClaw\x20pr'+_0x2f44ff(0x515,0x281)+_0x3a3e60(0x65f,_0x4adbb5._0xe28afe)+_0x2f44ff(0x497,0x375)+'y.',..._0x19a46b['map'](_0x54549e=>'-\x20'+_0x54549e),_0x49459f['dvmxo']][_0x3a3e60(_0x4adbb5._0x2e92ce,0xcf2)]('\x0a'));return _0x55ff5e;}function listPairPrerequisiteFailures(_0x151fa0){const _0x1a4ffa={_0x139e31:0x1fc,_0x3de4c5:0x11b,_0x355539:0x44,_0x1683e3:0x8f,_0x289591:0x434,_0x554f3b:0xe7,_0x5f2b99:0x16d,_0x2b8c30:0x29a,_0x123fd9:0x3a,_0x13b0c9:0x76,_0x2470e7:0x3cd,_0x1023c2:0x33f,_0x38acbd:0x14c,_0x3b7564:0x3c6,_0x13a67b:0x400,_0x3724a0:0x316,_0x369e6a:0x125,_0x4c93ed:0x5f,_0x851a4:0xf,_0x1af819:0x21f,_0x15839c:0x2f3,_0xe8f64c:0x57,_0xc7b4ab:0x6d,_0x5f07c5:0x264,_0x306bfd:0xfc,_0xb12d45:0x178,_0x7bf774:0xe1,_0x50c6c1:0x257,_0x35cab1:0x5d,_0x939041:0x38f,_0x537601:0x2b8,_0x10959a:0xc5,_0x41367a:0x2f3,_0xd00a18:0x3d0,_0x28fde5:0x2f3,_0x2b3913:0xc8,_0x1c41f1:0x20f,_0x436332:0x37b,_0x3d03b6:0x1ed,_0x6b8909:0x49d,_0x69f5ac:0x368,_0x466003:0x2cd,_0x4afa17:0x1c2,_0x5723e0:0x269,_0x3aa92e:0x2bd,_0x3a4289:0x29,_0x278d70:0x318,_0x5018c5:0x256,_0x3cd926:0xce,_0x5dcb7e:0x2e8,_0x42ed30:0x45a,_0x4e687e:0x416,_0xdd3f8a:0x15b,_0x5e74fe:0x37f,_0x231433:0x1b,_0x5192ad:0x347},_0xeaf2a8={_0x2abcd2:0x4d1},_0xe96843={_0x38e3f4:0x5e4},_0x1f0244={};function _0x237660(_0x5214b8,_0x5ee2a4){return _0x341e52(_0x5ee2a4- -_0xe96843._0x38e3f4,_0x5214b8);}_0x1f0244[_0x237660(_0x1a4ffa._0x139e31,_0x1a4ffa._0x3de4c5)]=function(_0x5c90e6,_0x9cd01){return _0x5c90e6===_0x9cd01;};const _0x861e93=_0x1f0244,_0x2c1019=[];!_0x151fa0[_0x4741e5(0x2f3,0x401)+'ConfigFo'+_0x4741e5(0x3c4,0x6b9)]&&_0x2c1019['push'](_0x237660(-0x29f,-_0x1a4ffa._0x355539)+_0x237660(-0x134,-_0x1a4ffa._0x1683e3)+'was\x20not\x20'+'found\x20un'+'der\x20'+formatOpenClawConfigLocations()+'.');_0x151fa0[_0x237660(_0x1a4ffa._0x289591,0x1e0)+_0x237660(0x17f,_0x1a4ffa._0x554f3b)+'nd']&&_0x151fa0['openclaw'+'Password'+_0x237660(-0x433,-_0x1a4ffa._0x5f2b99)]&&_0x151fa0[_0x237660(_0x1a4ffa._0x2b8c30,0x1e0)+_0x4741e5(-_0x1a4ffa._0x123fd9,0x290)]==null&&_0x2c1019[_0x237660(_0x1a4ffa._0x13b0c9,0x2bd)]('OpenClaw'+_0x4741e5(_0x1a4ffa._0x2470e7,0x2d4)+_0x237660(-_0x1a4ffa._0x1023c2,-_0x1a4ffa._0x38acbd)+_0x4741e5(_0x1a4ffa._0x3b7564,_0x1a4ffa._0x13a67b)+_0x237660(-_0x1a4ffa._0x3724a0,-_0x1a4ffa._0x369e6a)+_0x4741e5(_0x1a4ffa._0x4c93ed,-0x1b8)+_0x4741e5(-_0x1a4ffa._0x851a4,-0x2a5)+'\x20but\x20gat'+_0x237660(-0xcc,_0x1a4ffa._0x1af819)+_0x237660(0x72,0xe3)+'s\x20unset.');!_0x151fa0[_0x4741e5(_0x1a4ffa._0x15839c,_0x1a4ffa._0xe8f64c)+'TokenFou'+'nd']&&!_0x151fa0[_0x237660(0x2cf,0x1e0)+_0x237660(_0x1a4ffa._0xc7b4ab,0x9f)+'Found']&&_0x2c1019[_0x237660(_0x1a4ffa._0x5f07c5,0x2bd)]('OpenClaw'+_0x4741e5(-_0x1a4ffa._0x306bfd,0xcd)+_0x237660(0x123,-_0x1a4ffa._0xb12d45)+_0x4741e5(_0x1a4ffa._0x7bf774,-0x7d)+_0x4741e5(_0x1a4ffa._0x50c6c1,0x487)+_0x237660(_0x1a4ffa._0x35cab1,-0x1ea)+_0x4741e5(0x485,_0x1a4ffa._0x939041));_0x861e93[_0x4741e5(0x22e,_0x1a4ffa._0x537601)](_0x151fa0['openclaw'+_0x4741e5(-0x3a,-_0x1a4ffa._0x10959a)],'token')&&!_0x151fa0[_0x4741e5(_0x1a4ffa._0x41367a,-0x6)+_0x237660(0x5,0xe7)+'nd']&&_0x2c1019[_0x4741e5(_0x1a4ffa._0xd00a18,_0x1a4ffa._0x28fde5)](_0x237660(0x192,-0x44)+_0x237660(-_0x1a4ffa._0x2b3913,-_0x1a4ffa._0x1c41f1)+_0x237660(0x113,-0xa7)+_0x4741e5(_0x1a4ffa._0x436332,_0x1a4ffa._0x3d03b6)+'g.');function _0x4741e5(_0x592df5,_0x3f6fc3){return _0x341e52(_0x592df5- -_0xeaf2a8._0x2abcd2,_0x3f6fc3);}return _0x151fa0[_0x4741e5(_0x1a4ffa._0x28fde5,_0x1a4ffa._0x6b8909)+_0x4741e5(-0x3a,0x9b)]===_0x4741e5(0x1fd,_0x1a4ffa._0x69f5ac)&&!_0x151fa0['openclaw'+_0x4741e5(0x1b2,_0x1a4ffa._0x466003)+_0x4741e5(-0x5a,_0x1a4ffa._0x4afa17)]&&_0x2c1019[_0x237660(_0x1a4ffa._0x5723e0,_0x1a4ffa._0x3aa92e)](_0x4741e5(0xcf,-_0x1a4ffa._0x3a4289)+'\x20gateway'+_0x4741e5(_0x1a4ffa._0x278d70,_0x1a4ffa._0x5018c5)+_0x4741e5(0x22a,-_0x1a4ffa._0x3cd926)+_0x237660(0xf2,_0x1a4ffa._0x5dcb7e)),!_0x151fa0[_0x4741e5(_0x1a4ffa._0x42ed30,0x6f5)+_0x4741e5(_0x1a4ffa._0x4e687e,0x293)+_0x237660(-0xef,-0x286)]&&_0x2c1019[_0x4741e5(0x3d0,_0x1a4ffa._0xdd3f8a)](_0x4741e5(0x27d,0xce)+'enClaw\x20G'+_0x4741e5(_0x1a4ffa._0x5e74fe,0x3a0)+_0x4741e5(_0x1a4ffa._0x231433,-0x179)+'achable\x20'+'at\x20'+_0x151fa0[_0x237660(0x3ba,_0x1a4ffa._0x5192ad)+'ewayUrl']+'.'),_0x2c1019;}function formatOpenClawConfigLocations(){const _0x20eaac={_0x3a4fd8:0x17d,_0x2c5836:0x42,_0x1f7eb0:0x3c8,_0x1907cb:0x36c},_0x5a7f29={_0x204cbd:0x2d0};function _0x16c0a5(_0x35dc89,_0x366f12){return _0x35d151(_0x35dc89,_0x366f12- -0x111);}const _0x414286=new Set();function _0x4fa9e7(_0x1a5c27,_0x3b0e1d){return _0x35d151(_0x3b0e1d,_0x1a5c27- -_0x5a7f29._0x204cbd);}return[_0x305903(),'/root']['map'](_0x5d3e46=>_0x5d3e46[_0x4fa9e7(0xb7,0x1b1)]()+(_0x16c0a5(0x3f4,0x172)+'aw'))[_0x4fa9e7(-_0x20eaac._0x3a4fd8,-0x1c2)](_0x2d6c99=>_0x2d6c99!==_0x4fa9e7(-0x4d,0xec)+'aw')[_0x16c0a5(-0x25a,_0x20eaac._0x2c5836)](_0x4097d9=>{if(_0x414286['has'](_0x4097d9))return![];return _0x414286['add'](_0x4097d9),!![];})['join'](_0x16c0a5(_0x20eaac._0x1f7eb0,_0x20eaac._0x1907cb));}function readLogFile(_0x53014b){const _0x2f9314={_0x4f60b2:0x563,_0x5b8213:0x3e6,_0x57ac5a:0xf7,_0x3a4329:0x2b7};function _0x495a29(_0x448e1f,_0x408ab0){return _0x35d151(_0x448e1f,_0x408ab0-0xf1);}function _0x5983e3(_0x214bc7,_0x3e0933){return _0x35d151(_0x214bc7,_0x3e0933-0xa);}try{const _0x427ae1=_0x546d61(_0x53014b,_0x495a29(_0x2f9314._0x4f60b2,0x4ee));return _0x427ae1[_0x5983e3(_0x2f9314._0x5b8213,0x5ad)](/\r?\n/)[_0x5983e3(_0x2f9314._0x57ac5a,0x15d)](Boolean)[_0x5983e3(_0x2f9314._0x3a4329,0x13a)](_0x419e94=>({'raw':_0x419e94,'ts':parseTimestamp(_0x419e94)}));}catch{return[];}}function parseTimestamp(_0x3f8b3e){const _0x5659de={_0x361cbb:0x66c,_0x3ccc5f:0x780},_0x572030={_0x268c90:0x550},_0x30f450=_0x3f8b3e[_0x58dfcb(0x6da,0x715)](/^\[(\d{13})\]\s/);if(!_0x30f450)return null;function _0x58dfcb(_0x5ea2d5,_0x3a9763){return _0x341e52(_0x5ea2d5-0x186,_0x3a9763);}function _0x1247ed(_0x26266b,_0x47f7a2){return _0x341e52(_0x47f7a2- -_0x572030._0x268c90,_0x26266b);}const _0x591b95=Number(_0x30f450[0x1]);return Number[_0x58dfcb(_0x5659de._0x361cbb,_0x5659de._0x3ccc5f)](_0x591b95)?_0x591b95:null;}function clampLines(_0x46f3de){const _0x2d5b69={_0x1b9beb:0x1fa,_0x2135d9:0x90,_0x1f5533:0x162,_0x5ce5ef:0x18f},_0x5081fe={_0x187d41:0x36a};function _0x489c6b(_0x2b2c07,_0x4600a){return _0x35d151(_0x4600a,_0x2b2c07- -0x169);}function _0x1d9f8d(_0x205ef1,_0x4b9480){return _0x35d151(_0x205ef1,_0x4b9480- -_0x5081fe._0x187d41);}if(!Number[_0x1d9f8d(-0x1b,-0x100)](_0x46f3de))return 0xc8;return Math[_0x1d9f8d(-_0x2d5b69._0x1b9beb,-0x50)](0x1,Math[_0x489c6b(_0x2d5b69._0x2135d9,_0x2d5b69._0x1f5533)](0x7d0,Math[_0x489c6b(_0x2d5b69._0x5ce5ef,-0x64)](_0x46f3de)));}async function checkGatewayReachable(_0x314174){const _0x2c3519={_0x1e8f0d:0x3b7,_0x49baf4:0x3c0,_0x30acea:0x170,_0x1e1f09:0xcc0,_0x361440:0x4ed,_0x29dc14:0x802,_0x252483:0x5e7},_0x1bcc2b={_0x2212c4:0x455,_0x5cb3a0:0x4f3,_0x467db4:0x1cf,_0x4d5d3e:0x1fc},_0x12ebf8={_0x22a9ae:0x496},_0x5ba649={_0xa4c33a:0x267},_0x145b7a={_0x30704d:0x3cf};function _0xc353a(_0x1c78a7,_0x21923f){return _0x35d151(_0x21923f,_0x1c78a7-0x83);}const _0x423a7f={};_0x423a7f['IAshW']=_0xc353a(_0x2c3519._0x1e8f0d,0x38a);const _0x29ac47=_0x423a7f;function _0x164524(_0x4c342a,_0x34d68a){return _0x35d151(_0x34d68a,_0x4c342a-_0x145b7a._0x30704d);}try{const _0x5f1441=new URL(_0x314174),_0x138446=_0x5f1441[_0xc353a(_0x2c3519._0x49baf4,_0x2c3519._0x30acea)]||_0x164524(0x9ed,_0x2c3519._0x1e1f09)+'1',_0x431c72=_0x5f1441[_0xc353a(_0x2c3519._0x361440,0x6bd)]?Number(_0x5f1441['port']):_0x5f1441[_0x164524(_0x2c3519._0x29dc14,0x9f0)]===_0x164524(0x80c,_0x2c3519._0x252483)?0x1bb:0x50;return await new Promise((_0x34726c,_0x288d0d)=>{const _0x439ee4={_0x2c7452:0x313},_0x2e04a2={_0x161a44:0x30d},_0x2c04a7={_0x382cd2:0x41e},_0x41d638={_0x39cc3f:0x56},_0x569eca={'udHQm':function(_0x34c740,_0x5466f1){return _0x34c740(_0x5466f1);}};function _0x268281(_0x229c91,_0x5a7979){return _0xc353a(_0x5a7979- -_0x41d638._0x39cc3f,_0x229c91);}const _0x241d9a=new Socket();_0x241d9a['setTimeo'+'ut'](0x384),_0x241d9a['once'](_0x440472(-0xbb,-0x3ab),()=>{_0x241d9a[_0x214558(_0x5ba649._0xa4c33a,0x10e)]();function _0x214558(_0x2b3807,_0x208f56){return _0x440472(_0x2b3807-0x133,_0x208f56);}_0x34726c();}),_0x241d9a[_0x440472(0x444,0x355)](_0x268281(_0x1bcc2b._0x2212c4,_0x1bcc2b._0x5cb3a0),()=>{_0x241d9a[_0x562a75(0x5bd,0x552)]();function _0x1cb4e7(_0x3ed51f,_0x288991){return _0x440472(_0x288991-0x25a,_0x3ed51f);}function _0x562a75(_0x3ed84b,_0x46f1e1){return _0x440472(_0x46f1e1-_0x2c04a7._0x382cd2,_0x3ed84b);}_0x288d0d(new Error(_0x1cb4e7(0x311,_0x12ebf8._0x22a9ae)));});function _0x440472(_0x36a20e,_0x5b38b1){return _0xc353a(_0x36a20e- -_0x2e04a2._0x161a44,_0x5b38b1);}_0x241d9a['once'](_0x29ac47[_0x268281(-0x7,0x1dd)],_0x1fe5dc=>{_0x241d9a['destroy']();function _0x222eb9(_0x5543c7,_0x5818b2){return _0x268281(_0x5818b2,_0x5543c7-0x8c);}_0x569eca[_0x222eb9(_0x439ee4._0x2c7452,0x34a)](_0x288d0d,_0x1fe5dc);}),_0x241d9a[_0x268281(_0x1bcc2b._0x467db4,_0x1bcc2b._0x4d5d3e)](_0x431c72,_0x138446);}),!![];}catch{return![];}}function parseLookbackToMs(_0x1bd140){const _0x6eacd9={_0x163013:0x92f,_0x5dddd6:0x785,_0x277c8b:0x1b3,_0x244364:0x7e0,_0x28f88a:0x9c6,_0x352c74:0x4bd,_0x40a075:0x623,_0x334943:0x65c,_0x5aaf11:0x9f2,_0x2e9001:0x84f,_0x2fa75d:0xabf,_0x56d524:0xa3a,_0x29786a:0x644},_0x189738={'NhSgL':function(_0x167f3c,_0x2c8256){return _0x167f3c(_0x2c8256);}},_0x1b9428=_0x1bd140?.[_0x3afd76(_0x6eacd9._0x163013,_0x6eacd9._0x5dddd6)]();if(!_0x1b9428)return null;const _0x1a0e2f=_0x1b9428[_0x4369b4(_0x6eacd9._0x277c8b,0x295)](/^(\d+)(ms|s|m|h|d)$/i);if(!_0x1a0e2f)throw new Error('Invalid\x20'+_0x3afd76(_0x6eacd9._0x244364,0x8c0)+_0x3afd76(0x786,_0x6eacd9._0x28f88a)+_0x1b9428+(_0x3afd76(_0x6eacd9._0x352c74,_0x6eacd9._0x40a075)+_0x4369b4(_0x6eacd9._0x334943,0x62a)+_0x3afd76(0x761,_0x6eacd9._0x5aaf11)+_0x3afd76(0x596,_0x6eacd9._0x2e9001)+'or\x201d.'));function _0x3afd76(_0xe99ce,_0x577773){return _0x35d151(_0xe99ce,_0x577773-0x3fe);}const _0x512647=_0x189738[_0x4369b4(0x3bf,0x130)](Number,_0x1a0e2f[0x1]),_0x37f031=_0x1a0e2f[0x2][_0x3afd76(_0x6eacd9._0x2fa75d,_0x6eacd9._0x56d524)+_0x4369b4(0x626,_0x6eacd9._0x29786a)]();function _0x4369b4(_0x285dae,_0x2c08a9){return _0x35d151(_0x285dae,_0x2c08a9- -0x43);}const _0x2ccb93=_0x37f031==='ms'?0x1:_0x37f031==='s'?0x3e8:_0x37f031==='m'?0xea60:_0x37f031==='h'?0x36ee80:0x5265c00;return _0x512647*_0x2ccb93;}import{networkInterfaces}from'os';var BLOCKED_INTERFACE_TOKENS=['utun','tun','tap',_0x341e52(0x830,0x825)+'e',_0x341e52(0x88f,0xb50)+'d','wg',_0x35d151(0x44,0x2ce),_0x341e52(0x503,0x731),'docker','veth',_0x35d151(0x741,0x476),_0x35d151(0xf2,0x293),_0x341e52(0x4f0,0x430),'\x20lo','lo0',_0x35d151(-0x1b6,0x103),_0x341e52(0x5ff,0x5bc),'bridge',_0x341e52(0x46e,0x507),_0x35d151(0x2e1,0x1d3)];function buildGatewayControlUiOrigin(_0x32b866){const _0x39982a={_0x168495:0x58e,_0x323703:0x7c6},_0x2bed60={_0x492e96:0xe5};function _0xf601d3(_0x16c323,_0x7fc20b){return _0x341e52(_0x16c323- -0x2fb,_0x7fc20b);}const _0x339a84={'zRWPj':function(_0x3dd2ec,_0x24232d){return _0x3dd2ec(_0x24232d);},'dNjib':function(_0x387bb5,_0x15210f){return _0x387bb5===_0x15210f;},'ilgEV':'wss:'},_0x44231b=new URL(_0x339a84['zRWPj'](normalizeExplicitGatewayUrl,_0x32b866)),_0x16a008=_0x339a84['dNjib'](_0x44231b[_0xf601d3(0x3b4,0x617)],_0x339a84[_0xf601d3(0x53f,0x6d7)])?'https:':_0xf601d3(_0x39982a._0x168495,_0x39982a._0x323703),_0x28cb63=_0x44231b['port']||(_0x16a008===_0xf601d3(0x336,0x36f)?_0xf601d3(0x3e2,0x36f):'80');function _0x238157(_0x500353,_0x17b8d0){return _0x341e52(_0x500353- -_0x2bed60._0x492e96,_0x17b8d0);}return _0x16a008+'//'+_0x44231b[_0x238157(0x4d4,0x235)]+':'+_0x28cb63;}function buildLocalPairingInfo(_0x2d56e4){const _0x2fde6b={_0x62ce69:0x4a8,_0x183f3f:0x400,_0x1405f4:0x32b,_0x3599fe:0x75e,_0x4c7718:0x8af,_0x51c12d:0x450},_0x372880={_0x22350a:0x98};function _0x190f7a(_0x5aa5b5,_0x59d8d1){return _0x35d151(_0x5aa5b5,_0x59d8d1-0x2e4);}const _0x4e6071={};_0x4e6071['rKyhV']=function(_0x130cdc,_0x538e85){return _0x130cdc*_0x538e85;};const _0x1c1ec8=_0x4e6071,_0x23f7ee=resolveLocalPairAuth(_0x2d56e4),_0x413e51={};function _0xc9b00b(_0xac4f51,_0x5c9c07){return _0x35d151(_0x5c9c07,_0xac4f51- -_0x372880._0x22350a);}_0x413e51[_0x190f7a(0xb07,0x824)+'Url']=_0x2d56e4[_0xc9b00b(_0x2fde6b._0x62ce69,_0x2fde6b._0x183f3f)+_0xc9b00b(_0x2fde6b._0x1405f4,0x28d)],_0x413e51['defaultG'+_0x190f7a(_0x2fde6b._0x3599fe,_0x2fde6b._0x4c7718)+'l']=_0x2d56e4['defaultG'+_0x190f7a(0x9e6,0x8af)+'l'];const _0x491cfe=resolveLocalPairGatewayUrl(_0x413e51),_0x2fba7b=_0x2d56e4['expiresA'+'t']??Date[_0x190f7a(0x304,_0x2fde6b._0x51c12d)]()+_0x1c1ec8['rKyhV'](0xa*0x3c,0x3e8);return{'gatewayUrl':_0x491cfe,'expiresAt':_0x2fba7b,'authMode':_0x23f7ee['mode'],'qrPayload':buildGatewayQrPayload({'gatewayUrl':_0x491cfe,'token':_0x23f7ee[_0xc9b00b(0x456,0x531)],'password':_0x23f7ee['password'],'expiresAt':_0x2fba7b})};}function resolveLocalPairGatewayUrl(_0x3984fc){const _0x2ef429={_0x2ff97d:0x882,_0x188259:0x6cc,_0x2bc45f:0x68d,_0x203370:0x4b8,_0x23bba3:0x47a,_0x40da2a:0x420,_0x4df3ff:0x513,_0x5092b4:0x7c5,_0x501b3a:0x626,_0x38f584:0x2e2,_0x4a3222:0x8ee},_0x645256={_0x227bce:0x1a7},_0x3a7ff5={'CMybW':function(_0x29c0ac,_0x19e019){return _0x29c0ac(_0x19e019);},'mMBfp':_0x1b50ef(0x6d9,0x5f0)+_0x224f40(0x838,0x6b8)+_0x224f40(0x7a6,0xa57)+_0x1b50ef(_0x2ef429._0x2ff97d,_0x2ef429._0x188259)+_0x1b50ef(0x7a9,_0x2ef429._0x2bc45f)+_0x224f40(0x6de,_0x2ef429._0x203370)+'\x20to\x20spec'+_0x224f40(_0x2ef429._0x23bba3,_0x2ef429._0x40da2a)+'stom\x20gat'+_0x224f40(_0x2ef429._0x4df3ff,_0x2ef429._0x5092b4)+'.'};function _0x224f40(_0x7f0403,_0x560389){return _0x35d151(_0x560389,_0x7f0403-_0x645256._0x227bce);}const _0x2e6fe5=_0x3984fc?.[_0x1b50ef(_0x2ef429._0x501b3a,0x75a)+_0x224f40(0x56a,_0x2ef429._0x38f584)]?.[_0x224f40(0x52e,0x396)]();if(_0x2e6fe5)return _0x3a7ff5[_0x1b50ef(0xbc4,_0x2ef429._0x4a3222)](normalizeExplicitGatewayUrl,_0x2e6fe5);const _0x3fbfa9=_0x3984fc?.['defaultG'+_0x1b50ef(0x818,0x7e5)+'l']?.['trim']()||resolveGatewayUrl(),_0x2ce456=detectLanIp();function _0x1b50ef(_0x1d161d,_0xb865b6){return _0x35d151(_0x1d161d,_0xb865b6-0x21a);}if(!_0x2ce456)throw new Error(_0x3a7ff5['mMBfp']);return rewriteGatewayHost(_0x3fbfa9,_0x2ce456);}function normalizeExplicitGatewayUrl(_0x806c4b){const _0x55053f={_0x2603f3:0x4db,_0x48243f:0x8a8},_0x1070f4={_0x2351ba:0x136};function _0xe3912d(_0x22c1db,_0xdca2a2){return _0x341e52(_0x22c1db-0x135,_0xdca2a2);}function _0x5afac3(_0x516839,_0x4b0810){return _0x341e52(_0x516839-_0x1070f4._0x2351ba,_0x4b0810);}const _0x6be87c=_0x806c4b[_0xe3912d(0x738,_0x55053f._0x2603f3)](),_0x156cd8=/^[a-z]+:\/\//i['test'](_0x6be87c)?_0x6be87c:'ws://'+_0x6be87c;return normalizeGatewayQrUrl(_0x156cd8)[_0xe3912d(0x76e,_0x55053f._0x48243f)];}function rewriteGatewayHost(_0x58e2b7,_0x2dc921){const _0x138945={_0x3650aa:0x43d,_0x5a263d:0x47b,_0x57511c:0x36d,_0x493a5c:0x4ce,_0x3d6486:0x565,_0x2d1d42:0x3f3,_0xad6a97:0x165,_0xdf4541:0x3ee},_0x36f37d={_0x176dc6:0x1ad},_0x3e6975={_0x1f75bc:0x1c6},_0x506bd0={'PiJaj':function(_0xed5920,_0x5bc605){return _0xed5920(_0x5bc605);}},_0xf5922f=_0x58e2b7[_0x22dc67(_0x138945._0x3650aa,_0x138945._0x5a263d)]();function _0x22dc67(_0x2536d3,_0x1f9f26){return _0x341e52(_0x2536d3- -_0x3e6975._0x1f75bc,_0x1f9f26);}const _0x42aeaf=/^[a-z]+:\/\//i[_0xb9d6a6(0x489,_0x138945._0x57511c)](_0xf5922f)?_0xf5922f:_0xb9d6a6(_0x138945._0x493a5c,_0x138945._0x3d6486)+_0xf5922f,_0x163760=new URL(_0x42aeaf);function _0xb9d6a6(_0x2fb704,_0x2ce7e1){return _0x341e52(_0x2fb704- -_0x36f37d._0x176dc6,_0x2ce7e1);}return _0x163760[_0x22dc67(_0x138945._0x2d1d42,0x661)]=_0x2dc921,_0x506bd0[_0x22dc67(0x378,_0x138945._0xad6a97)](normalizeGatewayQrUrl,_0x163760[_0xb9d6a6(_0x138945._0xdf4541,0x215)]())[_0xb9d6a6(0x48c,0x4e7)];}function detectLanIp(){const _0x4b7e5f={_0x3c2449:0x37b,_0x5352b8:0x215,_0x5c8002:0x512,_0xb81add:0x459,_0x4a0036:0x191,_0x1f9a97:0x443},_0x1f8a25={_0x373b70:0x29f},_0x511dae=networkInterfaces();function _0x31e35f(_0x4f6f77,_0x41e77a){return _0x341e52(_0x4f6f77- -_0x1f8a25._0x373b70,_0x41e77a);}let _0x3444cf=null;function _0x334216(_0x4c3e15,_0xa8c73c){return _0x341e52(_0xa8c73c- -0x2b9,_0x4c3e15);}for(const [_0x132f96,_0x363fe4]of Object['entries'](_0x511dae)){for(const _0x50cad3 of _0x363fe4??[]){if(_0x50cad3[_0x334216(_0x4b7e5f._0x3c2449,0x66f)]!=='IPv4')continue;const _0x66cec5=scoreLanCandidate(_0x132f96,_0x50cad3['address']);if(_0x66cec5===0x0)continue;if(!_0x3444cf||_0x66cec5>_0x3444cf[_0x31e35f(_0x4b7e5f._0x5352b8,_0x4b7e5f._0x5c8002)]){const _0xe2b139={};_0xe2b139[_0x31e35f(0x215,_0x4b7e5f._0xb81add)]=_0x66cec5,_0xe2b139['ip']=_0x50cad3[_0x334216(_0x4b7e5f._0x4a0036,_0x4b7e5f._0x1f9a97)],_0x3444cf=_0xe2b139;}}}return _0x3444cf?.['ip']??null;}function scoreLanCandidate(_0x5883b3,_0x326318){const _0x5a494e={_0x3706f0:0x8f2,_0x335cbb:0x98e,_0x4b7e9b:0x8ce,_0x1a9d17:0xa2a,_0x376f76:0x84b,_0x4dd486:0x92c,_0x4331a9:0x500,_0x2f200e:0x6ec,_0x4b0266:0x51d,_0x4e11ec:0x3bd,_0x1fcb93:0x4b0,_0x4e6aa8:0x38d,_0x32f321:0xa41},_0x145ea4={_0x521def:0x33b},_0x59d251={};_0x59d251['ujlJZ']=_0x9d4351(0x9c5,0x957),_0x59d251[_0xa4444e(_0x5a494e._0x3706f0,_0x5a494e._0x335cbb)]=_0x9d4351(0x87d,_0x5a494e._0x4b7e9b);const _0x2a23f2=_0x59d251;function _0xa4444e(_0x1a8165,_0x488772){return _0x35d151(_0x1a8165,_0x488772-_0x145ea4._0x521def);}if(!isLanIpv4(_0x326318))return 0x0;function _0x9d4351(_0x41c79f,_0x44182c){return _0x35d151(_0x44182c,_0x41c79f-0x3ee);}const _0x4f4742=_0x5883b3[_0x9d4351(_0x5a494e._0x1a9d17,0x853)+'ase']();if(BLOCKED_INTERFACE_TOKENS[_0xa4444e(0x334,0x5a0)](_0x474f84=>_0x4f4742[_0x9d4351(0x563,0x2e5)](_0x474f84)))return 0x0;let _0x4c941b=isRfc1918(_0x326318)?0x78:isCgnat(_0x326318)?0x5a:0x28;return(_0x4f4742[_0xa4444e(_0x5a494e._0x376f76,_0x5a494e._0x4dd486)+'th']('en')||_0x4f4742['startsWi'+'th'](_0x2a23f2[_0xa4444e(0x22c,_0x5a494e._0x4331a9)])||_0x4f4742['startsWi'+'th'](_0xa4444e(_0x5a494e._0x2f200e,_0x5a494e._0x4b0266))||_0x4f4742[_0x9d4351(0x9df,0x898)+'th']('wl')||_0x4f4742[_0xa4444e(_0x5a494e._0x4e11ec,_0x5a494e._0x1fcb93)](_0x9d4351(0x67f,_0x5a494e._0x4e6aa8))||_0x4f4742['includes'](_0x2a23f2[_0x9d4351(_0x5a494e._0x32f321,0x7bc)]))&&(_0x4c941b+=0x14),_0x4c941b;}function resolveLocalPairAuth(_0x233c57){const _0x3bafca={_0x913096:0x111,_0x3ee0f7:0x152,_0x203fe9:0x5e3,_0x5ec5ba:0x16a,_0x237f45:0x21e,_0x24e5a4:0x9b,_0x2459bc:0x24e,_0x39714d:0x356,_0x24bd1b:0x9c,_0x2bf147:0x2e3,_0x2cad78:0x457,_0x5cc1b6:0x3a2,_0x3904ce:0x837,_0x1d2357:0x9b,_0x57b4e5:0x67f,_0x1e67fa:0x585,_0xdef80f:0x214,_0x13d04a:0x2c},_0xb56599={};function _0x3d8bd6(_0x2c939a,_0x42c9ad){return _0x341e52(_0x2c939a- -0x187,_0x42c9ad);}_0xb56599[_0x52b2cf(_0x3bafca._0x913096,-_0x3bafca._0x3ee0f7)]=_0x3d8bd6(_0x3bafca._0x203fe9,0x65d),_0xb56599[_0x52b2cf(-_0x3bafca._0x5ec5ba,-_0x3bafca._0x237f45)]=_0x52b2cf(_0x3bafca._0x24e5a4,0x200)+_0x3d8bd6(_0x3bafca._0x2459bc,_0x3bafca._0x39714d)+'\x20auth\x20is'+_0x52b2cf(0xad,0x2ff)+_0x52b2cf(0x223,-_0x3bafca._0x24bd1b)+'or\x20passw'+'ord).';function _0x52b2cf(_0x5bace2,_0x5bb368){return _0x341e52(_0x5bace2- -0x505,_0x5bb368);}const _0x47ee3d=_0xb56599;if(_0x233c57[_0x3d8bd6(0x647,0x3ad)+_0x3d8bd6(_0x3bafca._0x2bf147,_0x3bafca._0x2cad78)]?.[_0x3d8bd6(0x47c,_0x3bafca._0x5cc1b6)]())return{'mode':_0x47ee3d[_0x52b2cf(0x111,0x29a)],'token':_0x233c57[_0x3d8bd6(0x647,_0x3bafca._0x3904ce)+_0x52b2cf(-_0x3bafca._0x1d2357,0xc6)][_0x52b2cf(0xfe,-0x1ca)](),'password':null};if(_0x233c57['gatewayP'+'assword']?.[_0x3d8bd6(0x47c,_0x3bafca._0x57b4e5)]())return{'mode':'password','token':null,'password':_0x233c57[_0x3d8bd6(_0x3bafca._0x1e67fa,0x691)+_0x52b2cf(0x449,0x17e)][_0x3d8bd6(0x47c,0x461)]()};throw new Error(_0x47ee3d[_0x3d8bd6(_0x3bafca._0xdef80f,-_0x3bafca._0x13d04a)]);}function isLanIpv4(_0x4c636c){const _0x2b8b00={_0x5a6573:0x128,_0xf07eb2:0x52b,_0x10edae:0x6c9,_0x2ec984:0x3e1,_0x24441d:0x517,_0x5012ea:0x1b2,_0x1593b0:0xa35,_0x1180e1:0x530},_0x26c5a1={_0x552b79:0x15f},_0x58f893={'odfEq':function(_0x5a29ec,_0x5ae0df){return _0x5a29ec(_0x5ae0df);},'BbEHS':function(_0x272130,_0x211383){return _0x272130===_0x211383;},'qKaLv':function(_0x4248ef,_0x818579){return _0x4248ef>=_0x818579;},'henXN':function(_0x5897cf,_0xfeed3b){return _0x5897cf===_0xfeed3b;}};if(!_0x58f893[_0x32b96a(_0x2b8b00._0x5a6573,0x2a7)](isValidIpv4,_0x4c636c))return![];function _0x1d6122(_0x4ab834,_0x5a014f){return _0x341e52(_0x5a014f-_0x26c5a1._0x552b79,_0x4ab834);}if(_0x4c636c==='0.0.0.0')return![];function _0x32b96a(_0x39e4b0,_0x4da01e){return _0x341e52(_0x4da01e- -0x1f4,_0x39e4b0);}const [_0x531da8,_0x2711d9,_0x55213a,_0x1cd699]=_0x4c636c[_0x32b96a(_0x2b8b00._0xf07eb2,0x62b)]('.')[_0x32b96a(0x205,0x1b8)](Number);if(_0x531da8===0x7f)return![];if(_0x58f893[_0x32b96a(_0x2b8b00._0x10edae,_0x2b8b00._0x2ec984)](_0x531da8,0xa9)&&_0x2711d9===0xfe)return![];if(_0x58f893[_0x1d6122(_0x2b8b00._0x24441d,0x5d1)](_0x531da8,0xe0)&&_0x531da8<=0xef)return![];if(_0x531da8===0xff&&_0x58f893[_0x32b96a(_0x2b8b00._0x5012ea,0x3e1)](_0x2711d9,0xff)&&_0x55213a===0xff&&_0x1cd699===0xff)return![];if(_0x58f893[_0x1d6122(0xc1f,_0x2b8b00._0x1593b0)](_0x531da8,0xc6)&&(_0x2711d9===0x12||_0x2711d9===0x13))return![];return _0x58f893[_0x32b96a(_0x2b8b00._0x1180e1,0x2a7)](isRfc1918,_0x4c636c)||isCgnat(_0x4c636c);}function isRfc1918(_0x178dca){const _0xaa1c58={_0x466869:0x38a,_0x9bcbbd:0x6cc,_0x490012:0x242},_0x265889={};function _0x47411a(_0x3984ea,_0x271a2e){return _0x341e52(_0x3984ea- -0x23c,_0x271a2e);}_0x265889[_0x574861(0x2e7,_0xaa1c58._0x466869)]=function(_0x2255dc,_0x9f6ff6){return _0x2255dc>=_0x9f6ff6;};function _0x574861(_0x2d5020,_0x28c869){return _0x341e52(_0x28c869- -0x243,_0x2d5020);}const _0x42be29=_0x265889,[_0x207b30,_0x2f2243]=_0x178dca[_0x47411a(0x5e3,_0xaa1c58._0x9bcbbd)]('.')[_0x47411a(0x170,_0xaa1c58._0x490012)](Number);return _0x207b30===0xa||_0x207b30===0xac&&_0x42be29['SQGnh'](_0x2f2243,0x10)&&_0x2f2243<=0x1f||_0x207b30===0xc0&&_0x2f2243===0xa8;}function isCgnat(_0x16f46e){const _0x2cebe6={_0x35ad97:0x318,_0x1bdc53:0x359,_0x530591:0x2c1,_0x57eace:0x63b,_0x1108fa:0x665,_0x4c6126:0x3a4},_0x299272={_0x1dcfbd:0x1ba},_0x29b022={_0x23be2a:0x59e},_0x1d7547={};function _0x76d408(_0x2d7822,_0x3cd3e4){return _0x341e52(_0x3cd3e4- -_0x29b022._0x23be2a,_0x2d7822);}_0x1d7547[_0x5ccb42(0x19,_0x2cebe6._0x35ad97)]=function(_0x59f7b6,_0x46030b){return _0x59f7b6===_0x46030b;},_0x1d7547[_0x76d408(_0x2cebe6._0x1bdc53,_0x2cebe6._0x530591)]=function(_0xcb50df,_0x68882f){return _0xcb50df<=_0x68882f;};const _0x1b94a3=_0x1d7547;function _0x5ccb42(_0x5515ca,_0x1872b2){return _0x341e52(_0x1872b2- -_0x299272._0x1dcfbd,_0x5515ca);}const [_0xddc9cc,_0x4ff47d]=_0x16f46e[_0x5ccb42(_0x2cebe6._0x57eace,_0x2cebe6._0x1108fa)]('.')[_0x76d408(-0x38e,-0x1f2)](Number);return _0x1b94a3['cQlbo'](_0xddc9cc,0x64)&&_0x4ff47d>=0x40&&_0x1b94a3[_0x76d408(_0x2cebe6._0x4c6126,0x2c1)](_0x4ff47d,0x7f);}function isValidIpv4(_0xb8fac8){const _0x2d6b64={_0x58dc72:0x98,_0x175f8f:0x2db,_0x42bfd8:0x30,_0x1becc8:0x8e2,_0x2ada4f:0xa31},_0x389339={_0x2b97ee:0x5d8},_0x42ea0f={_0x3c5fa8:0x158},_0x16e327={_0x3f9e0e:0x5bf};function _0x4a6d57(_0x56e538,_0x48cdc9){return _0x341e52(_0x48cdc9- -_0x16e327._0x3f9e0e,_0x56e538);}const _0x438128={};_0x438128[_0x4a6d57(0xc9,_0x2d6b64._0x58dc72)]=function(_0x8fd4ed,_0x5e1a9f){return _0x8fd4ed>=_0x5e1a9f;};const _0x79bbd3=_0x438128;function _0x4a35dd(_0x5b54e6,_0x371b39){return _0x341e52(_0x371b39-_0x42ea0f._0x3c5fa8,_0x5b54e6);}const _0x2ef7a2=_0xb8fac8[_0x4a6d57(_0x2d6b64._0x175f8f,0x260)]('.');return _0x2ef7a2[_0x4a6d57(_0x2d6b64._0x42bfd8,0x2aa)]===0x4&&_0x2ef7a2[_0x4a35dd(_0x2d6b64._0x1becc8,_0x2d6b64._0x2ada4f)](_0x3e9c4f=>{function _0x136bf5(_0x5345c7,_0x2f9fb7){return _0x4a6d57(_0x2f9fb7,_0x5345c7-0x540);}if(!/^\d+$/['test'](_0x3e9c4f))return![];const _0x2b4db6=Number(_0x3e9c4f);return _0x79bbd3[_0x136bf5(_0x389339._0x2b97ee,0x502)](_0x2b4db6,0x0)&&_0x2b4db6<=0xff;});}import{readFileSync as _0xe19d77}from'fs';import{dirname as _0x187b6a,resolve as _0x5bf49a}from'path';import{fileURLToPath}from'url';function readCliVersion(){const _0x2506f6={_0x30973a:0x8a0,_0x19cf28:0x45a,_0xfc0204:0x84f,_0x206b36:0x811,_0xf9c8bc:0xa23,_0xead661:0x340},_0x35b96c={};_0x35b96c[_0x4950df(0x2ed,0x340)]=_0x43e768(0xa54,_0x2506f6._0x30973a);function _0x4950df(_0x353c92,_0x562ff9){return _0x341e52(_0x562ff9- -0x119,_0x353c92);}const _0x398bae=_0x35b96c,_0x54f832=_0x187b6a(fileURLToPath(import.meta.url)),_0x47a117=_0x5bf49a(_0x54f832,_0x43e768(0x529,_0x2506f6._0x19cf28)+_0x43e768(_0x2506f6._0xfc0204,_0x2506f6._0x206b36)),_0x3347bf=_0xe19d77(_0x47a117,_0x43e768(0x769,_0x2506f6._0xf9c8bc));function _0x43e768(_0x468527,_0x402f6a){return _0x341e52(_0x468527-0xf0,_0x402f6a);}const _0x44f54f=JSON['parse'](_0x3347bf);return _0x44f54f[_0x43e768(0x7ce,0x72f)]??_0x398bae[_0x4950df(0x453,_0x2506f6._0xead661)];}function buildPairingJson(_0x19c00b,_0x1c2df6,_0x3077ce,_0x3c4e08){const _0x30b404={_0x51323f:0x982,_0x42316c:0x9eb,_0x5418e5:0x95d,_0x1c0f7e:0x9eb,_0x1c62a5:0xf,_0x328555:0x26e,_0x4a0113:0x9e0,_0x1b86c2:0x7b7,_0x23cd94:0x8e3,_0x123aa5:0x857,_0x5d0446:0xae6,_0x39d7dd:0xa72,_0x54efbc:0x4f7,_0x5467a5:0x2e0,_0x2c81c3:0xcab,_0x2250ea:0xa40,_0x5e30c7:0x6f8,_0x3640e5:0x3bd,_0x35d8fa:0xaaf,_0x5620c6:0x41b,_0x3d69ba:0x190,_0x430d73:0x7d1,_0x96aee:0xa30,_0x50d67c:0x7cf,_0x35a352:0x75c,_0x5139b3:0xaee,_0x4ea6a1:0x891,_0x4c1bf3:0x6d9,_0x347e7b:0x1de,_0x5856d7:0x45b,_0x2e43dc:0x5bb,_0x4b3950:0x67e,_0x3360f1:0x3ad,_0x1d7fcf:0xc72},_0x500591={};_0x500591[_0xb309a9(_0x30b404._0x51323f,_0x30b404._0x42316c)+'d']=_0x3077ce[_0xb309a9(_0x30b404._0x5418e5,_0x30b404._0x1c0f7e)+'d'];function _0xb309a9(_0x16c1a4,_0x299d88){return _0x35d151(_0x16c1a4,_0x299d88-0x43b);}_0x500591[_0x35c797(_0x30b404._0x1c62a5,0x143)]=_0x3077ce['running'],_0x500591[_0xb309a9(0x827,0x9af)]=_0x3077ce[_0x35c797(0x2ea,0x466)],_0x500591[_0x35c797(0x29b,_0x30b404._0x328555)+_0x35c797(0x14f,0x30e)]=_0x3077ce[_0xb309a9(_0x30b404._0x4a0113,_0x30b404._0x1b86c2)+_0xb309a9(_0x30b404._0x23cd94,_0x30b404._0x123aa5)],_0x500591[_0xb309a9(0xc2e,_0x30b404._0x5d0446)]=_0x3077ce[_0xb309a9(0x952,_0x30b404._0x5d0446)],_0x500591[_0xb309a9(_0x30b404._0x39d7dd,0x829)+_0x35c797(0x589,_0x30b404._0x54efbc)]=_0x3077ce[_0x35c797(0x56f,_0x30b404._0x5467a5)+_0xb309a9(_0x30b404._0x2c81c3,_0x30b404._0x2250ea)],_0x500591[_0x35c797(_0x30b404._0x5e30c7,0x433)]=_0x3077ce['pid'];const _0x37a820={};_0x37a820['ok']=!![];function _0x35c797(_0x4fd3f9,_0x80c6e){return _0x35d151(_0x4fd3f9,_0x80c6e- -0x10e);}return _0x37a820[_0x35c797(_0x30b404._0x3640e5,0x566)]=_0x19c00b[_0xb309a9(0xab1,_0x30b404._0x35d8fa)],_0x37a820[_0x35c797(-0x44,0x8b)]=_0x3c4e08,_0x37a820[_0x35c797(0x63d,_0x30b404._0x5620c6)+'d']=_0x19c00b[_0x35c797(0x1f8,_0x30b404._0x3d69ba)][_0xb309a9(_0x30b404._0x430d73,0x964)+'d'],_0x37a820[_0xb309a9(_0x30b404._0x96aee,0x75c)]=_0x19c00b[_0x35c797(0x2e4,_0x30b404._0x3d69ba)][_0xb309a9(_0x30b404._0x50d67c,_0x30b404._0x35a352)],_0x37a820[_0xb309a9(_0x30b404._0x5139b3,_0x30b404._0x4ea6a1)+'l']=_0x19c00b[_0xb309a9(0x4c6,_0x30b404._0x4c1bf3)]['serverUr'+'l'],_0x37a820[_0xb309a9(0x9c5,0x9a4)+'Id']=_0x19c00b[_0x35c797(0x40a,0x190)][_0x35c797(_0x30b404._0x347e7b,_0x30b404._0x5856d7)+'Id'],_0x37a820[_0xb309a9(0x5d0,0x5bb)+'de']=_0x19c00b[_0xb309a9(0x306,_0x30b404._0x2e43dc)+'de'],_0x37a820['accessCo'+'deExpire'+_0xb309a9(_0x30b404._0x4b3950,0x82e)]=_0x19c00b[_0xb309a9(0x881,0x5bb)+_0x35c797(0x45c,_0x30b404._0x3360f1)+'sAt'],_0x37a820[_0xb309a9(_0x30b404._0x1d7fcf,0xa29)+_0xb309a9(0x8b6,0x857)]=_0x1c2df6,_0x37a820['service']=_0x500591,_0x37a820;}function buildLocalPairingJson(_0x33d164){const _0x3788b4={_0x2d159f:0x567,_0x2d8c63:0x578,_0x13ddfd:0xed,_0x231ddc:0x23,_0x139259:0x1bd,_0x58f12c:0x0,_0x33443d:0x16b,_0x11ea03:0x52b,_0xfc7fb9:0x60c,_0x46e160:0x70,_0x5b0dcd:0x13a,_0x138ce2:0x189,_0x35dcdd:0x10d,_0x1e1f53:0x29,_0x5a29bc:0xa2,_0x1a51f7:0x4f2,_0x3e1f43:0xaf,_0x1c768f:0x125,_0x4af783:0x2c,_0x3880dc:0x14c,_0x2facbc:0x1c2,_0x555fc3:0x3e,_0x20ebcf:0x1ff,_0x28a434:0x1e2,_0x4c5d37:0x3c8,_0x435752:0x3e2,_0x3b2033:0x29f,_0x4723f4:0xb9,_0x2685ce:0x574,_0x57f958:0x33c,_0x452fae:0x26f,_0x5afc9e:0x371,_0x4f4ab3:0x629,_0x55caa0:0x3b3};function _0x535da9(_0x56a4e3,_0x17e008){return _0x341e52(_0x56a4e3- -0x415,_0x17e008);}const _0x2796fa={};_0x2796fa['ok']=!![],_0x2796fa[_0x6108cc(_0x3788b4._0x2d159f,_0x3788b4._0x2d8c63)]=_0x535da9(_0x3788b4._0x13ddfd,_0x3788b4._0x231ddc),_0x2796fa[_0x6108cc(-_0x3788b4._0x139259,0x9d)]=_0x33d164[_0x535da9(_0x3788b4._0x58f12c,-_0x3788b4._0x33443d)],_0x2796fa[_0x535da9(0x52b,0x7f1)+'rl']=_0x33d164[_0x535da9(_0x3788b4._0x11ea03,_0x3788b4._0xfc7fb9)+'rl'],_0x2796fa[_0x535da9(_0x3788b4._0x46e160,-_0x3788b4._0x5b0dcd)]=_0x33d164[_0x6108cc(_0x3788b4._0x138ce2,_0x3788b4._0x35dcdd)],_0x2796fa[_0x535da9(-_0x3788b4._0x1e1f53,-0x1eb)+'t']=_0x33d164['expiresA'+'t'],_0x2796fa[_0x6108cc(0x2b5,0x4f2)+_0x535da9(0x283,_0x3788b4._0x5a29bc)]=_0x33d164[_0x6108cc(0x63e,_0x3788b4._0x1a51f7)+'ath'],_0x2796fa[_0x535da9(_0x3788b4._0x3e1f43,0x19f)+_0x535da9(_0x3788b4._0x1c768f,_0x3788b4._0x4af783)]=_0x33d164[_0x6108cc(0x3d7,_0x3788b4._0x3880dc)+_0x6108cc(0x417,_0x3788b4._0x2facbc)]??![],_0x2796fa['controlU'+_0x6108cc(-_0x3788b4._0x555fc3,0x1f7)]=_0x33d164[_0x6108cc(_0x3788b4._0x20ebcf,_0x3788b4._0x28a434)+'iOrigin']??null;function _0x6108cc(_0x351b19,_0x52fe61){return _0x341e52(_0x52fe61- -0x378,_0x351b19);}return _0x2796fa[_0x535da9(_0x3788b4._0x4c5d37,_0x3788b4._0x435752)+'estartAc'+_0x535da9(_0x3788b4._0x3b2033,_0x3788b4._0x4723f4)]=_0x33d164['gatewayR'+_0x6108cc(_0x3788b4._0x2685ce,0x398)+_0x6108cc(0x4a8,_0x3788b4._0x57f958)]??_0x535da9(0x31,_0x3788b4._0x452fae)+'d',_0x2796fa[_0x6108cc(_0x3788b4._0x5afc9e,0x3b3)+'l']=_0x33d164[_0x6108cc(_0x3788b4._0x4f4ab3,_0x3788b4._0x55caa0)+'l']??![],_0x2796fa;}import{mkdirSync as _0x38521b,writeFileSync as _0x1b2507}from'fs';import{dirname as _0x45c9e3,isAbsolute,join as _0xcdddf2,resolve as _0x198956}from'path';import _0x5c6eda from'qrcode';var DEFAULT_QR_DIR=getOpenClawMediaDir();async function writePairingQrPng(_0x331f5d,_0x16b548){const _0x123053={_0x3e382d:0x1cf,_0x4c1781:0x4a3,_0x50124a:0x1ce,_0x2c621d:0x65},_0x4d0e5b={_0x221bbf:0x5d6},_0x3e5bf0={'eqzdv':function(_0x25eb8d,_0x1316e5,_0x27fb96){return _0x25eb8d(_0x1316e5,_0x27fb96);}};function _0x582d8d(_0x170fdf,_0x247ff1){return _0x341e52(_0x170fdf- -0x5b8,_0x247ff1);}const _0x578a34=resolveQrOutputPath(_0x331f5d[_0x582d8d(-0x9e,0x16)][_0x44925a(_0x123053._0x3e382d,0x382)+'d'],_0x16b548);function _0x44925a(_0x53f3bf,_0x285a42){return _0x341e52(_0x53f3bf- -_0x4d0e5b._0x221bbf,_0x285a42);}return _0x3e5bf0[_0x44925a(0x26d,_0x123053._0x4c1781)](writeQrPng,_0x331f5d[_0x582d8d(-_0x123053._0x50124a,-_0x123053._0x2c621d)+'d'],_0x578a34);}async function writeRawQrPng(_0x4d8a6e,_0x29fd7a,_0x53cdbc){const _0x58b833={_0x1342fa:0xda},_0x2e8801={_0x40115c:0x239},_0x130f38={'nKgZX':function(_0x458ea4,_0x3d3a5f,_0x5aff6e){return _0x458ea4(_0x3d3a5f,_0x5aff6e);}},_0x1976dd=resolveQrOutputPath(_0x29fd7a,_0x53cdbc);function _0x1b5dbb(_0x4558d9,_0x29988e){return _0x35d151(_0x4558d9,_0x29988e- -_0x2e8801._0x40115c);}return _0x130f38[_0x1b5dbb(_0x58b833._0x1342fa,-0x16)](writeQrPng,_0x4d8a6e,_0x1976dd);}async function writeQrPng(_0x56a3ae,_0x2bed36){const _0x4d9d2a={_0xde805e:0x800,_0x40d624:0xa7e,_0x2a6338:0x813,_0x4edebd:0x7ff,_0xefb0e9:0x7fc,_0x1ae8b3:0x93c,_0x1f403b:0x54b,_0x4e1e6f:0x537,_0x33b31d:0x438,_0x586960:0x444},_0x25d2e3={_0x461f5:0x61};function _0x4fd033(_0x373a6c,_0x10dd82){return _0x341e52(_0x373a6c-_0x25d2e3._0x461f5,_0x10dd82);}const _0x5afe0e={};_0x5afe0e[_0x278912(0x853,0x77d)+'e']=!![],_0x38521b(_0x45c9e3(_0x2bed36),_0x5afe0e);const _0xb319be={};_0xb319be['type']=_0x278912(0x7c1,0x796)+'g',_0xb319be[_0x4fd033(_0x4d9d2a._0xde805e,_0x4d9d2a._0x40d624)+_0x278912(_0x4d9d2a._0x2a6338,0xa07)+_0x4fd033(_0x4d9d2a._0x4edebd,_0x4d9d2a._0xefb0e9)]='M',_0xb319be[_0x4fd033(_0x4d9d2a._0x1ae8b3,0x957)]=0x1,_0xb319be['width']=0x2d0;function _0x278912(_0x4a43d6,_0x4723c7){return _0x341e52(_0x4a43d6-0x6d,_0x4723c7);}const _0x51439=await _0x5c6eda[_0x4fd033(0x656,0x790)+'L'](_0x56a3ae,_0xb319be),_0x3fa5f8=_0x51439[_0x278912(_0x4d9d2a._0x1f403b,_0x4d9d2a._0x4e1e6f)](/^data:image\/png;base64,/,'');return _0x1b2507(_0x2bed36,Buffer[_0x278912(_0x4d9d2a._0x33b31d,_0x4d9d2a._0x586960)](_0x3fa5f8,'base64')),_0x2bed36;}function resolveQrOutputPath(_0x4df693,_0x157843){const _0x30bf5b={_0x309a91:0x4f7,_0x22af1d:0x5b6,_0x26e9d0:0x5ce},_0x2fdd7b={_0x2fd8b6:0x170},_0x20b670={_0x384e1c:0x361},_0x58fce3={'EZVHj':function(_0xb0bb98,_0x5c0a94){return _0xb0bb98(_0x5c0a94);}};function _0x1eae68(_0x1d1a46,_0x5b36ad){return _0x35d151(_0x5b36ad,_0x1d1a46-_0x20b670._0x384e1c);}const _0x372f5f=_0x157843?.[_0x344f36(0x61c,_0x30bf5b._0x309a91)]();if(_0x372f5f)return _0x58fce3[_0x344f36(0x7b4,0x5b6)](isAbsolute,_0x372f5f)?_0x372f5f:_0x58fce3[_0x344f36(0x7b7,_0x30bf5b._0x22af1d)](_0x198956,_0x372f5f);function _0x344f36(_0x3c7adf,_0x3f9dd6){return _0x35d151(_0x3c7adf,_0x3f9dd6-_0x2fdd7b._0x2fd8b6);}return _0xcdddf2(DEFAULT_QR_DIR,_0x4df693+_0x1eae68(_0x30bf5b._0x26e9d0,0x655));}function decidePairServiceAction(_0xf44305,_0x573673){const _0x7fd051={_0x3f3699:0xc7,_0x22f6b6:0x69a,_0x48a20b:0x553,_0x5261df:0x6ab,_0x13dd52:0x4c6,_0x97f651:0x512,_0x4b21db:0x708,_0x5da22d:0x5f2,_0x7fcf4:0x3d5},_0x12adc5={_0x19747f:0x29f},_0x14f360={};_0x14f360[_0x47b1ef(_0x7fd051._0x3f3699,0x11b)]=_0x544a03(_0x7fd051._0x22f6b6,0x5b6)+'ed',_0x14f360[_0x544a03(0x81f,_0x7fd051._0x48a20b)]=_0x47b1ef(0x3f1,_0x7fd051._0x5261df);const _0x572442=_0x14f360;if(!_0x573673[_0x47b1ef(0x311,_0x7fd051._0x13dd52)+'d'])return _0x544a03(_0x7fd051._0x97f651,_0x7fd051._0x4b21db);if(!_0x573673[_0x544a03(0x74c,_0x7fd051._0x5da22d)])return'restart';function _0x544a03(_0x57dbe6,_0x5732f0){return _0x35d151(_0x57dbe6,_0x5732f0-0x3a1);}if(_0xf44305[_0x47b1ef(_0x7fd051._0x7fcf4,0x3d5)]===_0x572442[_0x47b1ef(0xc7,0x122)])return _0x572442['LRfdk'];function _0x47b1ef(_0x25bbca,_0x2e787c){return _0x35d151(_0x2e787c,_0x25bbca- -_0x12adc5._0x19747f);}return'noop';}async function main(){const _0x261fa3={_0x5a3e5d:0x43e,_0x2d4b14:0x5e,_0x1da09b:0x6cf,_0xb6495b:0x5a0,_0x42e51e:0xf8,_0x1e5ef9:0x6f9,_0x1b13f0:0x8fe,_0x12e80e:0x719,_0x28dbfe:0x3f0,_0x36a46a:0x27b,_0x24ed75:0x495,_0x196a64:0x5ad,_0x287cf5:0x320,_0x3db29d:0x15a,_0x878f22:0x489,_0x21ca9d:0x1be,_0x36221a:0x48e,_0x2aa677:0x5d6,_0x3aff6b:0x617,_0x443a02:0x6cc,_0x460910:0x602,_0x38deba:0x3b3,_0x21ed63:0x1de,_0x2d4e98:0x12c,_0x50c854:0x621,_0x1b38bc:0x4a4,_0x3d67b8:0x929,_0x5d6901:0x4a4,_0x4a4d9c:0x66f,_0x397b39:0x5ff,_0x484ecb:0x5e4,_0x50666c:0x834,_0x58962b:0x602,_0x5f5abd:0x86f,_0x4e199e:0x557,_0x19fe0b:0x557,_0x2d2c08:0x3fc,_0x23ce4f:0x32e,_0x47948c:0x8f2,_0x18cc26:0x4d4,_0x3af357:0x22b,_0x1be60b:0x3c4,_0x308b41:0x5cd,_0x299303:0x7db,_0x4d7b9d:0x3ed,_0x6831da:0x67e,_0x477c07:0x388,_0x38fdfd:0xc3,_0x16f27b:0x799,_0x27813d:0x3ca,_0x3e7aed:0x543,_0x5912d1:0x501,_0x23717c:0x515,_0x5074b9:0x32d,_0x533937:0x54a,_0x41d4d1:0x793,_0x2b307c:0x5b,_0x2a9a8f:0x526,_0x534f06:0x456,_0x5afc88:0x8af,_0x3e5d37:0x897,_0x583e3f:0x2f4,_0x3ccb5c:0xdc,_0x2118d7:0x6fa,_0x59c2db:0xb1,_0x154b88:0x7c0,_0x3a5fd1:0x583,_0x2ae7e4:0x458,_0xc7a48:0x61a,_0x1fa22d:0x3bb,_0x10996c:0x51e,_0x338ef8:0x5ff,_0x544fbf:0x733,_0x2e2e00:0x7b5,_0x45e226:0x6ca,_0x2f5c7b:0x4dd,_0x591d8c:0x107,_0x125bea:0x936,_0x3cc5a5:0x4d5,_0x21e932:0x766,_0x5f1c55:0x43d,_0x1ad6c0:0x2ab,_0x3bf0aa:0x837,_0x42b8df:0x193,_0x1bab30:0x294,_0x2aaa0b:0x80f,_0x57d831:0x3e2,_0x47b58d:0x659,_0x3715bc:0x4e7,_0xe882c8:0x280,_0xa46c3c:0x190,_0x3dd259:0x99,_0x2407d3:0x26d,_0x5c093e:0x3a9,_0x3df1ab:0x2ff,_0xa64b19:0x486,_0x55c9aa:0x21b,_0x335802:0x4e0,_0x5a85bc:0x464,_0x3c8d66:0x205,_0x10452a:0x382,_0x31dfea:0x896,_0x5342c8:0x593,_0x121d02:0x9b6,_0x11639d:0x276,_0x24ae0c:0x4d9,_0x44d09d:0x60a,_0x5d8adc:0x44e,_0x39d22c:0x711,_0x5b3a58:0x686,_0x48277f:0x5bc,_0x11518e:0x84f,_0x9cb460:0x265,_0x666cd4:0x30b,_0x1872da:0x55f,_0x5d1cd4:0x4af,_0x3fa159:0x241,_0x36ed4e:0x158,_0x415427:0x239,_0x53f143:0x4fa,_0x16e289:0x64a,_0x141fa6:0x592,_0x4cacbf:0x849,_0x423548:0x47e,_0x14fa9b:0x3b3,_0x1e90e0:0x21d,_0x45cc47:0x30d,_0x1742d6:0x6c2,_0x2cebd9:0x72e,_0x196191:0x512,_0x376d6e:0x359,_0x1c030b:0x6f3,_0x29bc65:0x5dc,_0x11075d:0x497,_0x377533:0x2ee,_0x472232:0x19e,_0x548ce4:0x54c,_0x19f5c4:0x498,_0x5ec943:0x372,_0x3f6649:0x5e3,_0x59c5ba:0x6b1,_0x1977b7:0x6bd,_0x12657a:0x2bb,_0x5e7ecc:0x2f3,_0x324b42:0x24c,_0x8307f1:0x256,_0x48517f:0x695,_0x180520:0x548,_0x27d211:0x3b9,_0x52586c:0x638,_0x512b86:0x731,_0x492a06:0x68f,_0x38432f:0x437,_0x409fa2:0x271,_0x32beb0:0x2,_0x202c14:0x5e7,_0x4059ff:0x775,_0xf9e60a:0x6b3,_0x559710:0x6d7,_0x5e8d20:0x54e,_0x2cba82:0x692,_0x2b0412:0x7a4,_0x1d449a:0x275,_0x48f253:0x4a3,_0x4c563d:0x67e,_0x5f017c:0x4f8,_0x3d58ab:0x522,_0x328e70:0x36b,_0x5aef77:0x2e3,_0x350e0a:0x4e4,_0x21d73f:0x306,_0x5c3346:0x7be,_0x18c642:0x3dc,_0x333afc:0x48b,_0x3f41e6:0x314,_0x4d251e:0x37c,_0x30692b:0x3af,_0x1c4199:0x63e,_0x17a9ca:0x3e2,_0x25f940:0x165,_0x291e5e:0x23,_0x10c20c:0x5c9,_0x33076e:0x556,_0x37d5ad:0x60c,_0x1b9e1c:0x7b4,_0x4af80f:0x645,_0x429f85:0x5a7,_0xc75dba:0x66d,_0x53f43d:0x847,_0x5da238:0x584,_0x529651:0x7c4,_0x401ad1:0x786,_0xe0e2de:0x4e3,_0x413f74:0x428,_0x4934d4:0x52,_0x2732f5:0x363,_0x4ce84f:0x118,_0x4e6cc9:0x4d1,_0x55daff:0x574,_0x1f065f:0x690,_0xcac215:0x21b,_0x66a5fb:0xa52,_0x48d00a:0x838,_0x4c2303:0x62b,_0x106ffc:0x39d,_0x1f3040:0x60f,_0x286d1c:0x44e,_0x382bf0:0x4c4,_0x443663:0x870,_0x325c3b:0x736,_0x4c1e3c:0x5be,_0x19a9cf:0x2e7,_0x38d0e9:0x2f7,_0x254cdc:0x319,_0x3755d1:0x36e,_0x37c924:0x28b,_0x17e761:0x324,_0x334d20:0x3e4,_0x364eb3:0x59f,_0x1061aa:0x96b,_0xe4342e:0x7e2,_0x381045:0x808,_0x4e38a5:0x481,_0x3229ed:0x22f,_0x35f18c:0x56c,_0x131790:0x4d4,_0x5ad904:0x85,_0x1be349:0x90,_0x2e942e:0x67e,_0x114d40:0x16f,_0x11bdf7:0x51c,_0x3ababb:0x74c,_0x54f9eb:0x4a8,_0x318b10:0x20b,_0xaf4f9f:0x4ee,_0x5c0cb:0x432,_0x5627e4:0x2b2,_0x4ddd01:0x3c3,_0x3481da:0x8a4,_0x249671:0x550,_0x4297fc:0x750,_0x13ce9c:0x427,_0x4a2f2a:0x5bb,_0x38a88b:0x73c,_0x284beb:0x4f0,_0x1e75a2:0x3e,_0xf601d4:0x5bd},_0x5ad4b8={_0x4b288d:0x398,_0x470a0a:0x4c6,_0x118cb5:0x3c8,_0x11914a:0x59a,_0x548fae:0x76a,_0xa10a29:0x498,_0x2ecc93:0x456,_0x3f33f0:0x908},_0x14b736={_0x2b6278:0x5c},_0x3e31d5={_0x374a13:0x740,_0x33753c:0x491,_0x44239f:0x753,_0x73fcad:0x429,_0x3a2a67:0x47a,_0x31a3c:0x397,_0x348846:0x90},_0x197278={_0x26a75f:0x67e,_0x6d4ca8:0x3f9,_0x51f157:0x65c,_0x48e489:0x386,_0x29a5b0:0x316,_0x569920:0x52b,_0x4336f8:0x682,_0x3c5bc7:0x61e,_0x453f37:0x53c,_0x112a3c:0x2d0,_0x3ea569:0x3f9,_0x47b089:0x1fa,_0x18959e:0x4c,_0x5915a7:0x388,_0x4c82f3:0x4c8,_0x33f78c:0x5ce,_0x2b9264:0x314,_0x1ddcac:0x953,_0x1ecf97:0x6f2,_0x734919:0x7f9,_0x4cc3ca:0x41f,_0x16a9e6:0x41c},_0x2bc3bd={_0x2101dc:0x53c},_0x12897a={_0x17bc51:0x32},_0xb10fb8={_0x38cc60:0x79},_0x3a47c4={_0x531f06:0x223};function _0x11b30a(_0x468202,_0x5355a3){return _0x35d151(_0x468202,_0x5355a3-_0x3a47c4._0x531f06);}const _0x21fc70={'ncGJq':function(_0x355df9,_0x20a9f9){return _0x355df9(_0x20a9f9);},'VdmMO':function(_0x35eab2,_0x5e4646){return _0x35eab2(_0x5e4646);},'BPEaa':_0x9bf137(0x645,_0x261fa3._0x5a3e5d)+'>','CqGka':_0x11b30a(0x734,0x70e),'fiYqx':function(_0x343213,_0x12a237,_0x269019){return _0x343213(_0x12a237,_0x269019);},'qGMYe':function(_0x2e85e5){return _0x2e85e5();},'IUmpm':_0x11b30a(0x8e8,0x8bd)+'e','maILR':function(_0x21896f,_0x2cfa50){return _0x21896f(_0x2cfa50);},'TInxY':function(_0x4eafac,_0x157ea2,_0x503133){return _0x4eafac(_0x157ea2,_0x503133);},'AUnUd':_0x9bf137(0x1b2,_0x261fa3._0x2d4b14),'pCygH':function(_0x50dec0){return _0x50dec0();},'lausB':function(_0x285dc8,_0x2a2ab3,_0x24e1e2){return _0x285dc8(_0x2a2ab3,_0x24e1e2);},'oIfCy':function(_0x59e655,_0x7cafee,_0x157da0){return _0x59e655(_0x7cafee,_0x157da0);},'HfXPs':function(_0xd9fae4){return _0xd9fae4();},'YGYbd':'noop','rDJJB':function(_0x19cb28,_0x343089,_0x5c3494,_0x507c06,_0x187024){return _0x19cb28(_0x343089,_0x5c3494,_0x507c06,_0x187024);},'oBVKb':function(_0x27d957,_0x1e4240){return _0x27d957===_0x1e4240;},'QTsWy':'Bridge\x20i'+_0x11b30a(_0x261fa3._0x1da09b,_0x261fa3._0xb6495b)+_0x9bf137(_0x261fa3._0x42e51e,0x22a)+'\x20Restart'+_0x9bf137(0x3a6,0x266)+_0x11b30a(_0x261fa3._0x1e5ef9,_0x261fa3._0x1b13f0)+'rvice\x20to'+_0x11b30a(0x463,_0x261fa3._0x12e80e)+_0x9bf137(_0x261fa3._0x28dbfe,0x128)+_0x11b30a(_0x261fa3._0x36a46a,_0x261fa3._0x24ed75),'twnvr':_0x9bf137(_0x261fa3._0x196a64,_0x261fa3._0x287cf5)+'nd\x20servi'+'ce\x20was\x20i'+_0x11b30a(_0x261fa3._0x3db29d,0x31b)+_0x9bf137(0x372,0x175)+'pped.\x20Re'+'started\x20'+_0x9bf137(_0x261fa3._0x878f22,_0x261fa3._0x21ca9d),'Opgtw':function(_0x10045a,_0x85f3c9){return _0x10045a(_0x85f3c9);},'Uobuf':function(_0x41e047){return _0x41e047();},'NgYup':function(_0xfe6fde,_0x1f74e7){return _0xfe6fde(_0x1f74e7);},'IbJgf':function(_0x5d7015,_0x345e12,_0x561bf1){return _0x5d7015(_0x345e12,_0x561bf1);},'hRwVJ':function(_0x40d358){return _0x40d358();},'bAUgK':_0x11b30a(_0x261fa3._0x36221a,_0x261fa3._0x2aa677),'otTzg':function(_0x5136ef){return _0x5136ef();},'QTDua':_0x9bf137(_0x261fa3._0x3aff6b,_0x261fa3._0x443a02),'Qxacl':function(_0x2bfe83){return _0x2bfe83();},'raCuQ':'Removed\x20'+'backgrou'+_0x11b30a(_0x261fa3._0x460910,_0x261fa3._0x38deba)+_0x9bf137(_0x261fa3._0x21ed63,-_0x261fa3._0x2d4e98)+_0x11b30a(_0x261fa3._0x50c854,0x6ab),'SOzEp':'--lines','xHxZd':_0x9bf137(_0x261fa3._0x1b38bc,_0x261fa3._0x196a64),'MTill':function(_0x1d9c61,_0x536e9b){return _0x1d9c61(_0x536e9b);},'nvCoz':function(_0x3e1b84,_0x4c3ba8){return _0x3e1b84(_0x4c3ba8);},'ZKNqe':function(_0x4ddd86,_0x494110){return _0x4ddd86>_0x494110;},'hlpvZ':function(_0x3d6568){return _0x3d6568();}},[,,_0x5e8497=_0x21fc70[_0x11b30a(_0x261fa3._0x3d67b8,0x87a)],..._0x501ab4]=process[_0x11b30a(0x669,_0x261fa3._0x5d6901)],_0x4f5111=hasFlag(_0x501ab4,_0x11b30a(_0x261fa3._0x4a4d9c,0x8f3)+'e'),_0x135c6f=_0x21fc70['fiYqx'](hasFlag,_0x501ab4,_0x11b30a(0x603,0x74f));if(_0x5e8497==='pair'){const _0x5f17df=readPairSubcommand(_0x501ab4),_0x2ce6bf=_0x5f17df==='local'||_0x21fc70[_0x11b30a(0x897,_0x261fa3._0x397b39)](hasFlag,_0x501ab4,_0x11b30a(_0x261fa3._0x484ecb,_0x261fa3._0x50666c));if(_0x2ce6bf){const _0x55b94f=_0x21fc70[_0x11b30a(_0x261fa3._0x58962b,_0x261fa3._0x5f5abd)](resolveGatewayAuth);if(_0x11b30a(0x5df,_0x261fa3._0x4e199e)in _0x55b94f)throw new Error(_0x55b94f[_0x11b30a(0x447,_0x261fa3._0x19fe0b)]);const _0x2280c2=readFlag(_0x501ab4,_0x21fc70['IUmpm']),_0x4b25e5=readFlag(_0x501ab4,_0x11b30a(_0x261fa3._0x2d2c08,0x52f)),_0x337943={};_0x337943['explicit'+'Url']=_0x4b25e5,_0x337943['gatewayT'+'oken']=_0x55b94f[_0x9bf137(0x475,_0x261fa3._0x23ce4f)],_0x337943[_0x11b30a(0x9be,0x6b3)+_0x11b30a(_0x261fa3._0x47948c,0x8f5)]=_0x55b94f[_0x9bf137(0x3d9,0x376)];const _0x22cf42=_0x21fc70[_0x9bf137(0x2cd,_0x261fa3._0x18cc26)](buildLocalPairingInfo,_0x337943);let _0x4a660f=_0x11b30a(_0x261fa3._0x3af357,0x2ff)+_0x11b30a(0x7f1,0x829)+_0x11b30a(0x53c,_0x261fa3._0x1be60b)+_0x9bf137(0x5b1,0x821)+_0x9bf137(_0x261fa3._0x308b41,_0x261fa3._0x299303),_0x2cc823=![],_0x431774=null,_0x3421c2=_0x11b30a(0x393,_0x261fa3._0x4d7b9d)+'d';if(!_0x4b25e5){_0x431774=buildGatewayControlUiOrigin(_0x22cf42[_0x11b30a(0x825,0x8e7)+'rl']);!_0x135c6f&&console[_0x11b30a(0x61c,_0x261fa3._0x6831da)]('⏳\x20Updati'+_0x9bf137(_0x261fa3._0x477c07,_0x261fa3._0x38fdfd)+_0x11b30a(0x8de,_0x261fa3._0x16f27b)+'ig\x20for\x20L'+'AN\x20acces'+_0x11b30a(_0x261fa3._0x27813d,_0x261fa3._0x3e7aed));const _0x426fe3={};_0x426fe3[_0x11b30a(_0x261fa3._0x5912d1,_0x261fa3._0x5912d1)+_0x9bf137(0x27a,0x226)]=_0x431774;const _0xc65b9d=await configureOpenClawLanAccess(_0x426fe3);_0x2cc823=_0xc65b9d[_0x9bf137(_0x261fa3._0x23717c,0x5a7)+_0x11b30a(0x94b,0x8c5)]||_0xc65b9d[_0x11b30a(_0x261fa3._0x5074b9,0x366)+_0x9bf137(_0x261fa3._0x533937,0x48f)+'ed'];if(_0x2cc823){!_0x135c6f&&console['log']('⏳\x20Restar'+_0x11b30a(0x96c,_0x261fa3._0x41d4d1)+_0x9bf137(0xdf,_0x261fa3._0x2b307c)+_0x11b30a(_0x261fa3._0x2a9a8f,_0x261fa3._0x534f06));const _0x51ad5a=await restartOpenClawGateway();_0x3421c2=_0x51ad5a[_0x11b30a(_0x261fa3._0x5afc88,_0x261fa3._0x3e5d37)],!_0x135c6f&&console[_0x9bf137(0x3e2,_0x261fa3._0x583e3f)](_0x9bf137(0x65,-_0x261fa3._0x3ccb5c)+_0x11b30a(0x51a,_0x261fa3._0x2118d7)+'dy.');}else!_0x135c6f&&console['log'](_0x9bf137(0x65,-_0x261fa3._0x59c2db)+_0x11b30a(_0x261fa3._0x154b88,_0x261fa3._0x3a5fd1)+_0x9bf137(0x257,_0x261fa3._0x2ae7e4)+_0x9bf137(_0x261fa3._0xc7a48,0x431)+'ring.');_0x4a660f=_0x2cc823?_0x11b30a(0x59b,_0x261fa3._0x1fa22d)+_0x9bf137(_0x261fa3._0x10996c,0x45b)+_0x9bf137(_0x261fa3._0x338ef8,_0x261fa3._0x544fbf)+_0x11b30a(0x9e6,_0x261fa3._0x2e2e00)+'ss,\x20rest'+_0x11b30a(_0x261fa3._0x45e226,_0x261fa3._0x2f5c7b)+_0x9bf137(0x1d9,_0x261fa3._0x591d8c)+_0x11b30a(_0x261fa3._0x125bea,0x7fd)+_0x9bf137(_0x261fa3._0x3cc5a5,0x5b5)+'\x20a\x20local'+'\x20gateway'+_0x11b30a(0x9ae,_0x261fa3._0x21e932)+_0x9bf137(_0x261fa3._0x5f1c55,0x1dc):_0x9bf137(_0x261fa3._0x1ad6c0,0x3ce)+_0x9bf137(0x3b7,0x336)+'\x20allowed'+_0x11b30a(_0x261fa3._0x3bf0aa,0x8b6)+_0x9bf137(0x492,_0x261fa3._0x42b8df)+_0x11b30a(0x4b4,0x62f)+_0x9bf137(0x62,_0x261fa3._0x1bab30)+_0x11b30a(_0x261fa3._0x2aaa0b,0x59d)+_0x9bf137(0x584,_0x261fa3._0x57d831)+'QR.';}const _0x364724=await writeRawQrPng(_0x22cf42['qrPayloa'+'d'],_0x11b30a(_0x261fa3._0x47b58d,_0x261fa3._0x3715bc)+_0x9bf137(0x3f5,_0x261fa3._0xe882c8)+'ir',_0x2280c2);_0x135c6f?printJson(buildLocalPairingJson({'gatewayUrl':_0x22cf42['gatewayU'+'rl'],'authMode':_0x22cf42[_0x9bf137(_0x261fa3._0xa46c3c,0x42c)],'expiresAt':_0x22cf42[_0x9bf137(0xf7,-_0x261fa3._0x3dd259)+'t'],'qrImagePath':_0x364724,'message':_0x4a660f,'configUpdated':_0x2cc823,'controlUiOrigin':_0x431774,'gatewayRestartAction':_0x3421c2,'customUrl':_0x21fc70[_0x11b30a(_0x261fa3._0x2407d3,_0x261fa3._0x5c093e)](Boolean,_0x4b25e5)})):printLocalPairingInfo(_0x22cf42['gatewayU'+'rl'],_0x22cf42['authMode'],_0x22cf42[_0x11b30a(0x476,0x393)+'t'],_0x22cf42['qrPayloa'+'d'],_0x364724,_0x4b25e5);return;}const _0x4eb7da=_0x21fc70[_0x9bf137(0x54d,_0x261fa3._0x3df1ab)](hasFlag,_0x501ab4,_0x21fc70['AUnUd']);!_0x4eb7da&&await _0x21fc70['pCygH'](ensurePairPrerequisites);const _0x2b626f=resolveGatewayAuth();if('error'in _0x2b626f)throw new Error(_0x2b626f['error']);const _0x3abf63=_0x21fc70[_0x9bf137(_0x261fa3._0xa64b19,_0x261fa3._0x55c9aa)](readFlag,_0x501ab4,_0x11b30a(_0x261fa3._0x335802,0x670))??readFlag(_0x501ab4,'-s')??_0x9bf137(_0x261fa3._0x5a85bc,0x1f2)+_0x11b30a(_0x261fa3._0x3c8d66,_0x261fa3._0x10452a)+'.clawket'+_0x11b30a(_0x261fa3._0x31dfea,0x5e5),_0x2fd491=_0x21fc70['oIfCy'](readFlag,_0x501ab4,_0x9bf137(0x61e,_0x261fa3._0x5342c8))??readFlag(_0x501ab4,'-n')??_0x21fc70['HfXPs'](getDefaultBridgeDisplayName),_0x18e14f=_0x21fc70[_0x11b30a(0x598,0x722)](readFlag,_0x501ab4,_0x11b30a(_0x261fa3._0x121d02,0x8bd)+'e'),_0x12af9c={};_0x12af9c['serverUr'+'l']=_0x3abf63,_0x12af9c[_0x11b30a(_0x261fa3._0x11639d,0x578)+_0x11b30a(0x4a8,0x6e1)]=_0x2fd491,_0x12af9c[_0x9bf137(_0x261fa3._0x24ae0c,_0x261fa3._0x44d09d)+_0x9bf137(0x175,0x77)]=_0x2b626f[_0x11b30a(_0x261fa3._0x5d8adc,_0x261fa3._0x39d22c)],_0x12af9c[_0x9bf137(0x417,_0x261fa3._0x5b3a58)+_0x9bf137(_0x261fa3._0x47b58d,0x7c5)]=_0x2b626f['password'];const _0x47315a=await pairGateway(_0x12af9c),_0x239d2f=await writePairingQrPng(_0x47315a,_0x18e14f),_0x4eaabf=getServiceStatus(),_0x18f969=decidePairServiceAction(_0x47315a,_0x4eaabf);if(_0x18f969===_0x21fc70[_0x9bf137(_0x261fa3._0x48277f,_0x261fa3._0x11518e)]){const _0x3c26b5=listRuntimeProcesses();if(_0x3c26b5['length']>0x1){stopRuntimeProcesses();const _0x2482f1=restartService(),_0x1f204d='Detected'+'\x20duplica'+_0x11b30a(_0x261fa3._0x9cb460,_0x261fa3._0x666cd4)+_0x11b30a(0x4c0,_0x261fa3._0x1872da)+_0x11b30a(0x3c1,_0x261fa3._0x5d1cd4)+_0x9bf137(_0x261fa3._0x3fa159,_0x261fa3._0x36ed4e)+_0x9bf137(0x62d,0x3ac)+'ound\x20ser'+_0x9bf137(_0x261fa3._0x415427,0x31b)+_0x9bf137(0x4ff,_0x261fa3._0x53f143);_0x135c6f?printJson(buildPairingJson(_0x47315a,_0x239d2f,_0x2482f1,_0x1f204d)):(printPairingInfo(_0x47315a,_0x239d2f),printServiceResult(_0x1f204d,_0x2482f1));return;}_0x135c6f?printJson(_0x21fc70[_0x11b30a(0x6ba,_0x261fa3._0x16e289)](buildPairingJson,_0x47315a,_0x239d2f,_0x4eaabf,_0x11b30a(_0x261fa3._0x141fa6,_0x261fa3._0x4cacbf)+_0x11b30a(_0x261fa3._0x423548,_0x261fa3._0x14fa9b)+'ce\x20alrea'+_0x11b30a(0x4bc,0x708)+_0x9bf137(_0x261fa3._0x1e90e0,_0x261fa3._0x45cc47)+'\x20unchang'+_0x11b30a(0x933,_0x261fa3._0x1742d6))):(printPairingInfo(_0x47315a,_0x239d2f),console[_0x9bf137(0x3e2,0x378)](_0x11b30a(_0x261fa3._0x2cebd9,_0x261fa3._0x4cacbf)+_0x11b30a(_0x261fa3._0x196191,0x3b3)+_0x9bf137(_0x261fa3._0x376d6e,0x338)+_0x11b30a(_0x261fa3._0x1c030b,0x708)+'ng.\x20Left'+_0x9bf137(_0x261fa3._0x29bc65,0x67c)+_0x9bf137(0x426,_0x261fa3._0x11075d)),printServiceResult(null,_0x4eaabf));return;}try{stopRuntimeProcesses();const _0x13440d=_0x21fc70[_0x11b30a(0x5a7,0x75e)](_0x18f969,_0x9bf137(_0x261fa3._0x377533,_0x261fa3._0x472232))?installService():restartService(),_0x4d5c35=_0x18f969===_0x9bf137(_0x261fa3._0x377533,0x48c)?_0x11b30a(0x6fd,0x568)+'talled\x20b'+_0x11b30a(_0x261fa3._0x548ce4,_0x261fa3._0x19f5c4)+_0x11b30a(0x115,0x3dd)+'e.':_0x47315a['action']==='register'+'ed'?_0x21fc70[_0x11b30a(_0x261fa3._0x5ec943,0x315)]:_0x21fc70[_0x9bf137(0x268,0x2ad)];_0x135c6f?_0x21fc70[_0x9bf137(0x13c,-0x146)](printJson,buildPairingJson(_0x47315a,_0x239d2f,_0x13440d,_0x4d5c35)):(printPairingInfo(_0x47315a,_0x239d2f),printServiceResult(_0x4d5c35,_0x13440d));}catch(_0x47c9a2){if(isAutostartUnsupportedError(_0x47c9a2)){const _0x18b907=await _0x21fc70['Uobuf'](startTransientRuntime),_0x48bc6f=_0x21fc70[_0x11b30a(_0x261fa3._0x3f6649,_0x261fa3._0x443a02)](buildUnsupportedAutostartMessage,_0x18b907);_0x135c6f?printJson(buildPairingJson(_0x47315a,_0x239d2f,_0x18b907,_0x48bc6f)):(_0x21fc70['TInxY'](printPairingInfo,_0x47315a,_0x239d2f),_0x21fc70[_0x11b30a(_0x261fa3._0x59c5ba,_0x261fa3._0x1977b7)](printServiceResult,_0x48bc6f,_0x18b907));return;}console[_0x9bf137(_0x261fa3._0x12657a,_0x261fa3._0x5e7ecc)]('Pairing\x20'+_0x9bf137(0x4ea,0x3f7)+_0x9bf137(0x3b2,_0x261fa3._0x324b42)+_0x11b30a(_0x261fa3._0x8307f1,0x311)+_0x11b30a(0x529,_0x261fa3._0x48517f)+'n\x20failed'+':\x20'+formatError2(_0x47c9a2)),console[_0x11b30a(_0x261fa3._0x180520,_0x261fa3._0x19fe0b)]('You\x20can\x20'+_0x9bf137(0x66b,_0x261fa3._0x27d211)+'n\x20\x22clawk'+_0x9bf137(0x403,_0x261fa3._0x52586c)+_0x11b30a(_0x261fa3._0x512b86,0x8ca)+_0x11b30a(_0x261fa3._0x492a06,0x50f)+_0x11b30a(0x4ea,_0x261fa3._0x38432f)+_0x9bf137(_0x261fa3._0x409fa2,_0x261fa3._0x32beb0)),process[_0x11b30a(_0x261fa3._0x202c14,0x898)]=0x1;}return;}if(_0x5e8497===_0x11b30a(0x74f,0x8d8)+_0x11b30a(0x3a9,0x335)){const _0x3b636f=readFlag(_0x501ab4,_0x21fc70['IUmpm']),_0x5ba93b=resolveGatewayAuth();if(_0x9bf137(0x2bb,0x4c9)in _0x5ba93b)throw new Error(_0x5ba93b['error']);const _0x348d64={};_0x348d64[_0x11b30a(0x7b7,_0x261fa3._0x4059ff)+_0x9bf137(0x175,0x7b)]=_0x5ba93b[_0x11b30a(0x95e,0x711)],_0x348d64[_0x11b30a(0x54e,_0x261fa3._0xf9e60a)+_0x11b30a(_0x261fa3._0x559710,0x8f5)]=_0x5ba93b[_0x11b30a(0x5d2,0x675)];const _0x14c6f5=await _0x21fc70[_0x11b30a(_0x261fa3._0x5e8d20,_0x261fa3._0x443a02)](refreshAccessCode,_0x348d64),_0x2856db=await writePairingQrPng(_0x14c6f5,_0x3b636f);_0x135c6f?printJson(buildPairingJson(_0x14c6f5,_0x2856db,_0x21fc70[_0x11b30a(0x3e4,_0x261fa3._0x2cba82)](getServiceStatus),_0x11b30a(0xa7,0x3ac)+_0x11b30a(_0x261fa3._0x2b0412,0x4be)+_0x11b30a(0x3af,0x309))):printPairingInfo(_0x14c6f5,_0x2856db);return;}if(_0x5e8497==='install'||_0x5e8497===_0x21fc70[_0x9bf137(_0x261fa3._0x1d449a,0x1e3)]){const _0x467aa0=requirePairingConfig();_0x21fc70['otTzg'](stopRuntimeProcesses);const _0x1344d6=installService();console[_0x11b30a(_0x261fa3._0x48f253,_0x261fa3._0x4c563d)](_0x11b30a(0x377,_0x261fa3._0x5f017c)+_0x9bf137(_0x261fa3._0x3d58ab,_0x261fa3._0x328e70)+'ound\x20ser'+_0x9bf137(0x314,0x50e)+_0x11b30a(_0x261fa3._0x5aef77,0x37c)+'\x20'+_0x467aa0['gatewayI'+'d']+'.'),printServiceResult(null,_0x1344d6);return;}if(_0x21fc70['oBVKb'](_0x5e8497,_0x21fc70['QTDua'])){const _0x1d23cb=requirePairingConfig();stopRuntimeProcesses();const _0x165981=restartService();console[_0x11b30a(0x893,_0x261fa3._0x6831da)](_0x11b30a(_0x261fa3._0x350e0a,_0x261fa3._0x21d73f)+_0x11b30a(0x6c6,_0x261fa3._0x5c3346)+_0x11b30a(_0x261fa3._0x18c642,_0x261fa3._0x333afc)+_0x9bf137(_0x261fa3._0x3f41e6,0x25f)+_0x11b30a(0x4cd,_0x261fa3._0x4d251e)+'\x20'+_0x1d23cb['gatewayI'+'d']+'.'),printServiceResult(null,_0x165981);return;}function _0x9bf137(_0x329c4f,_0x44a495){return _0x35d151(_0x44a495,_0x329c4f- -_0xb10fb8._0x38cc60);}if(_0x21fc70[_0x11b30a(0x61b,0x75e)](_0x5e8497,_0x11b30a(0x690,_0x261fa3._0x30692b))){const _0x146f22=stopService();_0x21fc70[_0x9bf137(_0x261fa3._0x1c4199,_0x261fa3._0x28dbfe)](stopRuntimeProcesses),console[_0x9bf137(_0x261fa3._0x17a9ca,0x14a)]('Stopped\x20'+_0x9bf137(_0x261fa3._0x25f940,-_0x261fa3._0x291e5e)+_0x11b30a(_0x261fa3._0x10c20c,_0x261fa3._0x38deba)+_0x11b30a(_0x261fa3._0x33076e,0x69c)),printServiceResult(null,_0x146f22);return;}if(_0x5e8497===_0x9bf137(_0x261fa3._0x37d5ad,_0x261fa3._0x1b9e1c)+'l'){const _0x50f601=uninstallService();stopRuntimeProcesses(),console[_0x9bf137(_0x261fa3._0x17a9ca,_0x261fa3._0x4af80f)](_0x21fc70[_0x9bf137(_0x261fa3._0x429f85,_0x261fa3._0xc75dba)]),printServiceResult(null,_0x50f601);return;}if(_0x5e8497==='reset'){stopRuntimeProcesses(),stopService(),deletePairingConfig(),console[_0x11b30a(0x4da,0x67e)](_0x11b30a(0x90f,_0x261fa3._0x53f43d)+_0x9bf137(_0x261fa3._0x5da238,_0x261fa3._0x529651)+_0x11b30a(0xa4b,0x872)+getPairingConfigPath());return;}if(_0x5e8497===_0x11b30a(_0x261fa3._0x401ad1,_0x261fa3._0xe0e2de)){printStatus();return;}if(_0x5e8497===_0x9bf137(0x4e5,_0x261fa3._0x413f74)){const _0x7f9899=Number(readFlag(_0x501ab4,_0x21fc70[_0x11b30a(0x398,0x3a6)])??'200'),_0x1ed30f=parseLookbackToMs(readFlag(_0x501ab4,_0x9bf137(0x7e,-_0x261fa3._0x4934d4))??readFlag(_0x501ab4,'-l')),_0x32d05f=readRecentCliLogs({'lines':_0x7f9899,'lastMs':_0x1ed30f,'includeErrorLog':_0x21fc70[_0x9bf137(_0x261fa3._0x2732f5,_0x261fa3._0x4ce84f)](hasFlag,_0x501ab4,_0x21fc70[_0x9bf137(0xe9,0x1ec)])});if(_0x135c6f){const _0x40c915={};_0x40c915['ok']=!![],_0x40c915[_0x11b30a(_0x261fa3._0x4e6cc9,0x7c7)]=_0x32d05f,printJson(_0x40c915);}else _0x21fc70['oBVKb'](_0x32d05f[_0x9bf137(_0x261fa3._0x55daff,_0x261fa3._0x1f065f)],0x0)?console[_0x9bf137(_0x261fa3._0x57d831,_0x261fa3._0xcac215)]('No\x20match'+_0x11b30a(_0x261fa3._0x66a5fb,_0x261fa3._0x48d00a)+_0x11b30a(0x6c7,_0x261fa3._0x4c2303)+'nd.'):console['log'](_0x32d05f[_0x9bf137(0x667,0x928)]('\x0a'));return;}if(_0x5e8497===_0x11b30a(0x573,_0x261fa3._0x106ffc)){const _0x5d21ed=await buildDoctorReport();_0x135c6f?_0x21fc70['MTill'](printJson,_0x5d21ed):_0x21fc70['nvCoz'](printDoctorReport,_0x5d21ed);return;}if(_0x21fc70[_0x11b30a(_0x261fa3._0x1f3040,0x75e)](_0x5e8497,'run')){const _0x5635df=requirePairingConfig(),_0x41799b=hasFlag(_0x501ab4,'--replac'+'e'),_0x1ec45a=listRuntimeProcesses()[_0x9bf137(0xb7,0x38)](_0x69c39d=>_0x69c39d['pid']);_0x21fc70[_0x11b30a(0x635,0x4a3)](_0x1ec45a['length'],0x0)&&(!_0x41799b&&(console[_0x9bf137(0x2bb,0x30b)](_0x9bf137(_0x261fa3._0x286d1c,_0x261fa3._0x382bf0)+_0x11b30a(_0x261fa3._0x443663,_0x261fa3._0x325c3b)+_0x11b30a(0x8ee,0x900)+'untime\x20i'+_0x11b30a(0x152,0x42a)+_0x9bf137(_0x261fa3._0x4c1e3c,_0x261fa3._0x19a9cf)+_0x9bf137(0x2de,_0x261fa3._0x38d0e9)+(_0x1ec45a['length']>0x1?'s':'')+':\x20'+_0x1ec45a['join'](',\x20')+(_0x11b30a(_0x261fa3._0x254cdc,_0x261fa3._0x3755d1)+'clawket\x20'+_0x9bf137(0x634,0x3d8)+_0x9bf137(0xa0,_0x261fa3._0x37c924)+'rerun\x20wi'+_0x9bf137(_0x261fa3._0x17e761,0x370)+_0x9bf137(_0x261fa3._0x334d20,_0x261fa3._0x364eb3)+_0x11b30a(_0x261fa3._0x1061aa,_0x261fa3._0xe4342e)+_0x11b30a(0x5ef,_0x261fa3._0x381045))),process[_0x9bf137(_0x261fa3._0x4e38a5,_0x261fa3._0x3229ed)](0x1)),_0x21fc70['hlpvZ'](stopRuntimeProcesses));const _0x40185e=resolveGatewayUrl(readFlag(_0x501ab4,_0x11b30a(_0x261fa3._0x35f18c,_0x261fa3._0x131790)+_0x9bf137(_0x261fa3._0x5ad904,_0x261fa3._0x1be349))??readFlag(_0x501ab4,'-g')),_0x22df46=_0x432e3f=>{function _0xad40b0(_0x5ac1da,_0x1b4fb3){return _0x11b30a(_0x5ac1da,_0x1b4fb3-_0x12897a._0x17bc51);}console['log']('['+Date[_0xad40b0(_0x2bc3bd._0x2101dc,0x3c1)]()+']\x20'+_0x432e3f);};!_0x4f5111?(console[_0x11b30a(0x8f5,_0x261fa3._0x2e942e)](_0x11b30a(0x63b,0x78a)+_0x9bf137(_0x261fa3._0x114d40,0x2d3)+_0x5635df[_0x11b30a(_0x261fa3._0x11bdf7,_0x261fa3._0x3ababb)+'d']),console[_0x9bf137(0x3e2,0x5ef)](_0x9bf137(_0x261fa3._0x54f9eb,0x485)+_0x9bf137(0x3f7,_0x261fa3._0x318b10)+_0x5635df[_0x11b30a(_0x261fa3._0x429f85,0x78c)+'Id']),console['log'](_0x9bf137(_0x261fa3._0xaf4f9f,_0x261fa3._0x5c0cb)+'URL:\x20'+_0x40185e),console[_0x9bf137(0x3e2,0x2fa)](''),console['log'](_0x11b30a(_0x261fa3._0x5627e4,_0x261fa3._0x4ddd01)+'\x20bridge\x20'+_0x11b30a(0x693,_0x261fa3._0x3481da)+_0x11b30a(_0x261fa3._0x249671,_0x261fa3._0x2ae7e4)+'trl+C\x20to'+'\x20stop.'),console[_0x11b30a(_0x261fa3._0x4297fc,0x67e)]('')):_0x22df46(_0x11b30a(_0x261fa3._0x13ce9c,0x3c3)+'\x20Clawket'+'\x20service'+'\x20runtime'+'\x20for\x20gat'+_0x11b30a(0x333,_0x261fa3._0x4a2f2a)+_0x5635df[_0x9bf137(0x4b0,0x6c5)+'d']);_0x4f5111&&writeServiceState();const _0x42ba68=new BridgeRuntime({'config':_0x5635df,'gatewayUrl':_0x40185e,'onLog':_0x2540e0=>{const _0x3f250b={_0x2549f0:0x433};function _0x387eb6(_0x1a3765,_0x221d0e){return _0x9bf137(_0x221d0e-_0x3f250b._0x2549f0,_0x1a3765);}_0x22df46(_0x387eb6(0x71d,0x76e)+']\x20'+_0x2540e0);},'onStatus':_0x42de4c=>{function _0x45dfb2(_0x3bf20f,_0x376419){return _0x9bf137(_0x376419-0x236,_0x3bf20f);}function _0x5237cf(_0x1a7ebd,_0x5afb59){return _0x9bf137(_0x5afb59- -0x4f,_0x1a7ebd);}if(_0x42de4c[_0x45dfb2(_0x197278._0x26a75f,_0x197278._0x6d4ca8)+'r']){_0x22df46(_0x45dfb2(_0x197278._0x51f157,0x77e)+'\x20relay='+(_0x42de4c['relayCon'+_0x5237cf(_0x197278._0x48e489,0x502)]?'up':'down')+(_0x45dfb2(0x1f8,_0x197278._0x29a5b0)+'=')+(_0x42de4c[_0x45dfb2(_0x197278._0x569920,_0x197278._0x4336f8)+_0x5237cf(_0x197278._0x3c5bc7,0x46d)]?'up':_0x45dfb2(0x7d1,0x623))+('\x20clients'+'=')+_0x42de4c[_0x45dfb2(_0x197278._0x453f37,0x5cc)+'unt']+_0x45dfb2(0xec,_0x197278._0x112a3c)+_0x42de4c[_0x45dfb2(0x426,_0x197278._0x3ea569)+'r']);return;}_0x21fc70[_0x5237cf(-_0x197278._0x47b089,_0x197278._0x18959e)](_0x22df46,'[status]'+_0x5237cf(_0x197278._0x5915a7,0x283)+(_0x42de4c[_0x45dfb2(_0x197278._0x4c82f3,0x335)+'nected']?'up':_0x45dfb2(_0x197278._0x33f78c,0x623))+(_0x5237cf(_0x197278._0x2b9264,0x91)+'=')+(_0x42de4c['gatewayC'+_0x45dfb2(_0x197278._0x1ddcac,_0x197278._0x1ecf97)]?'up':_0x45dfb2(_0x197278._0x734919,0x623))+(_0x45dfb2(_0x197278._0x4cc3ca,_0x197278._0x16a9e6)+'=')+_0x42de4c[_0x45dfb2(0x509,0x5cc)+_0x5237cf(-0x12b,0x125)]);},'onPendingPairRequest':_0x11904b=>{function _0x5aadba(_0x49eb5e,_0x14aa29){return _0x9bf137(_0x14aa29- -0x15a,_0x49eb5e);}function _0x2949cf(_0x5544ef,_0x249380){return _0x9bf137(_0x249380-0x1c4,_0x5544ef);}_0x21fc70[_0x2949cf(_0x3e31d5._0x374a13,_0x3e31d5._0x33753c)](_0x22df46,_0x2949cf(0x478,_0x3e31d5._0x44239f)+_0x5aadba(0x5df,_0x3e31d5._0x73fcad)+_0x2949cf(0x724,0x4c9)+'='+_0x11904b[_0x5aadba(0x411,0x26b)+'d']+(_0x5aadba(0x29b,0x454)+'d=')+(_0x11904b[_0x5aadba(0x5c7,_0x3e31d5._0x3a2a67)]||_0x21fc70[_0x2949cf(_0x3e31d5._0x31a3c,0x25b)])+'\x20name='+(_0x11904b[_0x5aadba(-_0x3e31d5._0x348846,0x182)+_0x2949cf(0x624,0x609)]??_0x2949cf(0x9d4,0x809)+'>'));}});_0x42ba68[_0x11b30a(_0x261fa3._0x38a88b,0x5d6)]();const _0x42ddd1={};_0x42ddd1['gatewayI'+'d']=_0x5635df['gatewayI'+'d'],_0x42ddd1[_0x9bf137(_0x261fa3._0x284beb,0x745)+'Id']=_0x5635df['instance'+'Id'],_0x42ddd1[_0x9bf137(0xac,-_0x261fa3._0x1e75a2)+_0x9bf137(0x157,0x1ce)]=_0x4f5111,registerRuntimeProcess(_0x42ddd1);const _0x5c2c36=async()=>{const _0x1e9680={_0x1479a5:0x1b0},_0x1e21a9=(_0x16cf70(_0x5ad4b8._0x4b288d,_0x5ad4b8._0x470a0a)+_0x2acfbb(_0x5ad4b8._0x118cb5,_0x5ad4b8._0x11914a))[_0x2acfbb(_0x5ad4b8._0x548fae,_0x5ad4b8._0xa10a29)]('|');let _0x9edbb6=0x0;function _0x16cf70(_0x396f22,_0x401e78){return _0x11b30a(_0x396f22,_0x401e78- -_0x1e9680._0x1479a5);}function _0x2acfbb(_0x107c28,_0xdb7559){return _0x11b30a(_0xdb7559,_0x107c28- -_0x14b736._0x2b6278);}while(!![]){switch(_0x1e21a9[_0x9edbb6++]){case'0':process[_0x16cf70(0x4b5,_0x5ad4b8._0x2ecc93)](_0x2acfbb(0x7f8,_0x5ad4b8._0x3f33f0),_0x5c2c36);continue;case'1':process[_0x16cf70(0x3f3,0x56d)](0x0);continue;case'2':unregisterRuntimeProcess(process[_0x16cf70(0x5b8,0x5b4)]);continue;case'3':_0x4f5111&&clearServiceState(process['pid']);continue;case'4':process['off'](_0x2acfbb(0x85b,0x582),_0x5c2c36);continue;case'5':await _0x42ba68['stop']();continue;}break;}};process['on']('SIGINT',_0x5c2c36),process['on'](_0x9bf137(0x5b8,_0x261fa3._0xf601d4),_0x5c2c36),await new Promise(()=>{});}printHelp();}function printPairingInfo(_0x185947,_0x46d1c9){const _0x4f7001={_0x4c8438:0x637,_0x4ad6b4:0x1c8,_0x31282f:0x3ff,_0x523451:0x47,_0x274183:0x47f,_0x5a69b7:0x1e2,_0x2d559d:0x114,_0x1fa00e:0x3df,_0x921b81:0x441,_0x3d87a8:0x405,_0x3938bc:0x259,_0x5cc2f2:0x87,_0x41e8a2:0x473,_0x3946a3:0x1fe,_0x57b94f:0x671,_0x3aa62c:0xdc,_0x54ae00:0xfb,_0x5d5172:0x139,_0x5234cf:0x19f,_0x465a4a:0x4e,_0x570984:0x196,_0x2c5f24:0x111,_0x4ed2bc:0x7d},_0x3437ff={_0x3706cc:0x25d},_0x42fa16={};_0x42fa16[_0x56e43c(_0x4f7001._0x4c8438,0x441)]=_0x56e43c(0x1d6,0x366)+'d',_0x42fa16[_0x1276f6(_0x4f7001._0x4ad6b4,_0x4f7001._0x31282f)]='\x0aScan\x20th'+_0x56e43c(-0x10d,_0x4f7001._0x523451)+_0x1276f6(0x6e6,_0x4f7001._0x274183)+_0x1276f6(_0x4f7001._0x5a69b7,-0x9b)+_0x1276f6(-0x1d9,_0x4f7001._0x2d559d);const _0x1a6f1b=_0x42fa16;function _0x56e43c(_0x433176,_0x5910ed){return _0x35d151(_0x433176,_0x5910ed- -0x26f);}_0x185947['action']===_0x1a6f1b[_0x56e43c(_0x4f7001._0x1fa00e,_0x4f7001._0x921b81)]&&console['log'](_0x1276f6(0x468,0x3b7)+_0x56e43c(0x39a,0x394)+_0x1276f6(0x378,0x308)+_0x1276f6(0x141,_0x4f7001._0x3d87a8)+'\x20the\x20pai'+'ring\x20cod'+'e.');console['log']('Gateway\x20'+_0x56e43c(-_0x4f7001._0x3938bc,-_0x4f7001._0x5cc2f2)+_0x185947['config']['gatewayI'+'d']),console[_0x1276f6(_0x4f7001._0x41e8a2,_0x4f7001._0x3946a3)](_0x1a6f1b[_0x1276f6(_0x4f7001._0x57b94f,0x3ff)]);function _0x1276f6(_0x25eb58,_0x4229ff){return _0x35d151(_0x25eb58,_0x4229ff- -_0x3437ff._0x3706cc);}const _0x3e1622={};_0x3e1622[_0x56e43c(-_0x4f7001._0x3aa62c,-_0x4f7001._0x54ae00)]=!![],_0x1bbb4f['generate'](_0x185947[_0x1276f6(-0x36,-0xef)+'d'],_0x3e1622),console['log'](_0x1276f6(0x294,_0x4f7001._0x5d5172)+'\x20'+formatLocalTime(_0x185947[_0x1276f6(-_0x4f7001._0x5234cf,-0xdd)+_0x1276f6(0x187,0x25e)+_0x1276f6(_0x4f7001._0x465a4a,_0x4f7001._0x570984)])),console['log'](_0x1276f6(_0x4f7001._0x2c5f24,_0x4f7001._0x4ed2bc)+':\x20'+_0x46d1c9);}function printLocalPairingInfo(_0x3f8a89,_0x2c6c23,_0x312fbc,_0x4c2b7d,_0x5a3a88,_0xbc7a19){const _0x2b85f4={_0x67d160:0x35a,_0x50c5f6:0x2fc,_0x36d276:0x38b,_0x26bd77:0x4a1,_0x231efe:0x5e8,_0x46034b:0x198,_0x55a7b2:0x4b9,_0x4f44c9:0x261,_0x3606b1:0xfe,_0x251371:0xbd,_0xae122e:0x186,_0x369352:0x1b1,_0xc460a:0x5ce,_0x2f4d3d:0x44a,_0x462396:0xc7,_0x852ec4:0x4f9,_0x2eed24:0x24a,_0x1b9aac:0x443,_0xf8d555:0x706,_0x1b2d04:0x5c1,_0x9715e2:0x499,_0x3095b9:0x43d,_0x25ae70:0x158};console[_0x2aec47(0x2fc,0x246)](_0x2aec47(0x408,_0x2b85f4._0x67d160)+'URL:\x20'+_0x3f8a89);function _0x588d97(_0x34c6d8,_0xc50d6a){return _0x35d151(_0xc50d6a,_0x34c6d8-0x163);}console[_0x2aec47(_0x2b85f4._0x50c5f6,0x58f)](_0x2aec47(0x102,0x2c0)+_0x588d97(0x2c3,_0x2b85f4._0x36d276)+_0x2c6c23),console['log'](_0xbc7a19?_0x2aec47(0xbb,0x143)+_0x2aec47(_0x2b85f4._0x26bd77,_0x2b85f4._0x231efe)+_0x2aec47(_0x2b85f4._0x46034b,0x2f7)+'y\x20QR\x20in\x20'+_0x588d97(_0x2b85f4._0x55a7b2,0x1e0)+_0x2aec47(_0x2b85f4._0x4f44c9,_0x2b85f4._0x3606b1)+'\x0a':_0x2aec47(0xbb,-_0x2b85f4._0x251371)+_0x2aec47(_0x2b85f4._0xae122e,-0xd)+_0x588d97(0x2bc,_0x2b85f4._0x369352)+_0x588d97(0x3eb,_0x2b85f4._0xc460a)+_0x588d97(0x40b,0x444)+_0x2aec47(_0x2b85f4._0x2f4d3d,0x13f));const _0x168c1b={};_0x168c1b['small']=!![];function _0x2aec47(_0x1c55ab,_0x386c59){return _0x35d151(_0x386c59,_0x1c55ab- -0x15f);}_0x1bbb4f['generate'](_0x4c2b7d,_0x168c1b),console[_0x2aec47(0x2fc,_0x2b85f4._0x462396)](_0x588d97(_0x2b85f4._0x852ec4,_0x2b85f4._0x2eed24)+'\x20'+new Date(_0x312fbc)[_0x2aec47(_0x2b85f4._0x1b9aac,_0x2b85f4._0xf8d555)+_0x588d97(_0x2b85f4._0x1b2d04,_0x2b85f4._0x9715e2)]()),console[_0x2aec47(0x2fc,0x1be)](_0x588d97(_0x2b85f4._0x3095b9,_0x2b85f4._0x25ae70)+':\x20'+_0x5a3a88);}function printStatus(){const _0x295b41={_0x50f9a3:0x212,_0x20198e:0x2,_0x5addbc:0x650,_0x451f26:0x157,_0x1d9bd3:0x302,_0x5f1e27:0x573,_0x246d0e:0x478,_0x410829:0x1f4,_0x3575e6:0x2a1,_0x4e7412:0x1db,_0x11a9d2:0x85,_0x4a8f79:0x2b,_0xff04de:0x1ce,_0x4c0062:0x443,_0x14fa2e:0x1e1,_0x3340a8:0x141,_0x432cb1:0x685,_0x15446b:0x985,_0x33e5b9:0x170,_0x7474d6:0x1ab,_0x18b64f:0x262,_0x18d5d5:0x7b7,_0x41e2fb:0x2e8,_0x502a3d:0x44,_0x527999:0xfd,_0x4e1db9:0x175,_0x3571c3:0x2e4,_0x318548:0x467,_0x1b5982:0x741,_0xe9a181:0xa7,_0x280c31:0x388,_0x5cd6dc:0xce,_0x401123:0x699,_0x3a3a30:0x97,_0x5896d1:0xa,_0x14dbec:0x681},_0x557112={_0x5dd44b:0x5ca},_0x23f1b3={'xTYjA':function(_0x4ad95b){return _0x4ad95b();},'YjQvg':function(_0x335012){return _0x335012();},'XgtHL':'not\x20inst'+_0x6b0887(-_0x295b41._0x50f9a3,-_0x295b41._0x20198e)},_0x1786c4=readPairingConfig(),_0xac3072=_0x23f1b3[_0x6b0887(-0x7a,0x133)](getServiceStatus),{logPath:_0x35d236,errorLogPath:_0x1188b3}=getServicePaths();function _0x174b59(_0x578f16,_0x2c9095){return _0x341e52(_0x578f16- -0x270,_0x2c9095);}const _0x5d27ea=readCliVersion();console[_0x174b59(0x467,_0x295b41._0x5addbc)](_0x6b0887(0x16a,0x281)+'\x20'+_0x5d27ea);!_0x1786c4?console[_0x6b0887(0x10d,0x22b)](_0x6b0887(0x127,0x336)+_0x6b0887(-0xd2,-0x35e)+_0x6b0887(0xf3,0xdd)+getPairingConfigPath()+')'):(console[_0x6b0887(0x10d,0x178)](_0x6b0887(0x127,-0x151)+_0x6b0887(-_0x295b41._0x451f26,-_0x295b41._0x1d9bd3)),console['log'](_0x174b59(_0x295b41._0x5f1e27,_0x295b41._0x246d0e)+_0x174b59(_0x295b41._0x410829,_0x295b41._0x3575e6)+_0x1786c4[_0x6b0887(_0x295b41._0x4e7412,-_0x295b41._0x11a9d2)+'d']),console['log'](_0x6b0887(0x1d3,_0x295b41._0x4a8f79)+':\x20'+_0x1786c4[_0x174b59(0x575,0x83e)+'Id']),console[_0x174b59(0x467,0x433)](_0x6b0887(_0x295b41._0xff04de,_0x295b41._0x4c0062)+_0x6b0887(_0x295b41._0x14fa2e,_0x295b41._0x3340a8)+_0x1786c4['serverUr'+'l']),console['log'](_0x174b59(_0x295b41._0x432cb1,_0x295b41._0x15446b)+(_0x1786c4[_0x174b59(0x361,0x3a7)+_0x6b0887(_0x295b41._0x33e5b9,-0x21)]??'-')));function _0x6b0887(_0xa419ed,_0x20e758){return _0x341e52(_0xa419ed- -_0x557112._0x5dd44b,_0x20e758);}console[_0x6b0887(0x10d,_0x295b41._0x7474d6)]('Gateway:'+'\x20'+_0x23f1b3[_0x6b0887(0xf4,-0x1e3)](resolveGatewayUrl)),console['log']('Service:'+'\x20'+(_0xac3072[_0x6b0887(0x262,0x339)+'d']?_0x6b0887(_0x295b41._0x18b64f,0x392)+'d':_0x23f1b3['XgtHL'])+'\x20('+_0xac3072[_0x174b59(0x580,_0x295b41._0x18d5d5)]+')'),console['log'](_0x174b59(_0x295b41._0x41e2fb,_0x295b41._0x502a3d)+'\x20'+(_0xac3072[_0x6b0887(-_0x295b41._0x527999,-0x99)]?_0x6b0887(_0x295b41._0x4e1db9,_0x295b41._0x3571c3):'no')),console[_0x174b59(_0x295b41._0x318548,_0x295b41._0x1b5982)](_0x6b0887(0x1c3,_0x295b41._0xe9a181)+(_0xac3072[_0x174b59(_0x295b41._0x280c31,0x5eb)+_0x6b0887(_0x295b41._0x5cd6dc,-0xfe)]||'-')),console[_0x174b59(_0x295b41._0x318548,0x3d5)]('Log:\x20'+_0x35d236),console[_0x174b59(_0x295b41._0x318548,_0x295b41._0x401123)](_0x174b59(0x2fb,_0x295b41._0x3a3a30)+_0x6b0887(_0x295b41._0x5896d1,0xbe)+_0x1188b3),!_0x1786c4&&(process[_0x174b59(_0x295b41._0x14dbec,0x90b)]=0x1);}function printServiceResult(_0x5e0c8c,_0x1e778b){const _0x61e7b={_0x23ad37:0x878,_0x344661:0x755,_0x2df3b1:0x56c,_0x3ac794:0x6da,_0x563479:0x137,_0x4ce280:0x417,_0x3da242:0x40b,_0x3efca3:0x528,_0x5648d2:0x654,_0xad704b:0x941,_0x3c79dd:0x2a2,_0x5676a1:0x953,_0x2f5504:0xa3f,_0xb96dae:0x65c,_0xf0f394:0x4db,_0x23b80e:0x4cd,_0x994a77:0x7ec,_0x45ab84:0x5ca,_0x3db55d:0x73a,_0x2f337e:0xd3c},_0x24f361={_0x5abc30:0x391},_0xc69664={};_0xc69664[_0x419309(_0x61e7b._0x23ad37,0xa73)]=_0x30945f(0x56c,_0x61e7b._0x344661)+_0x419309(0x5b9,0x39b)+'ng';function _0x30945f(_0x110504,_0xf2e743){return _0x35d151(_0xf2e743,_0x110504- -0x44);}_0xc69664['nVRTx']=_0x30945f(_0x61e7b._0x2df3b1,_0x61e7b._0x3ac794)+_0x30945f(0x2ca,_0x61e7b._0x563479)+'ed';function _0x419309(_0xa011bf,_0x1f11c7){return _0x35d151(_0x1f11c7,_0xa011bf-_0x24f361._0x5abc30);}const _0x69e36c=_0xc69664;_0x5e0c8c&&console[_0x30945f(0x417,0x44e)](_0x5e0c8c),console[_0x30945f(_0x61e7b._0x4ce280,_0x61e7b._0x3da242)](_0x419309(_0x61e7b._0x3efca3,_0x61e7b._0x5648d2)+'\x20'+(_0x1e778b[_0x419309(_0x61e7b._0xad704b,0x6b2)+'d']?_0x1e778b[_0x30945f(0x20d,_0x61e7b._0x3c79dd)]?_0x69e36c[_0x419309(0x878,0xa07)]:_0x69e36c[_0x419309(_0x61e7b._0x5676a1,_0x61e7b._0x2f5504)]:_0x419309(_0x61e7b._0xb96dae,_0x61e7b._0xf0f394)+_0x419309(_0x61e7b._0x23b80e,0x70a))),console[_0x419309(_0x61e7b._0x994a77,0x5c9)](_0x30945f(_0x61e7b._0x45ab84,_0x61e7b._0x3db55d)+_0x419309(0xa7d,_0x61e7b._0x2f337e)+(_0x1e778b[_0x419309(0x70d,0x8cf)+'ath']||'-'));}function printDoctorReport(_0x4f52cd){const _0xbd8cc9={_0x45cce0:0x36d,_0x1358c6:0x116,_0x2eceb7:0x1e8,_0x1f1e41:0x695,_0x46d2a8:0x558,_0x348a7d:0x384,_0xbf813e:0x410,_0x5c4610:0x1a1,_0x55c81d:0xbe,_0x107f3c:0x2fa,_0x4774b0:0xff,_0x1a70ff:0x20e,_0x1f4b2f:0x60f,_0x4d994d:0x410,_0x18d95e:0x319,_0x467cd7:0x425,_0xdd1330:0x660,_0x12d3d0:0x58,_0x1d4ceb:0xe4,_0x413644:0x3a3,_0x191a44:0x4e1,_0x2725fc:0x303,_0x4f94c8:0x17d,_0x1d66b4:0x159,_0x17fc51:0x1e1,_0xc53c07:0x10b,_0x170c2f:0x410,_0x43b7eb:0x20a,_0x45c154:0x565,_0x42cc4c:0x1c6,_0x5f3432:0x169,_0x166eb8:0x252,_0x2f1bf1:0x439,_0x39ef0f:0x2d9,_0x2c3ed:0x364,_0x207f2e:0x4fd,_0x19a2b6:0x395,_0x5515eb:0x394,_0x4cbb2e:0x317,_0x33c3c2:0x141,_0x30fae4:0x266,_0x321b5c:0x3ad,_0x573c5e:0x12f,_0x3475f4:0x265,_0x536237:0x2f4,_0x363e68:0x24d,_0x2c1859:0x4d1,_0x43e401:0x6a,_0x4617c7:0x2f0,_0x15f429:0xdd,_0x5de55e:0x246,_0x5cf66e:0x5d4,_0x302c28:0x4fd,_0x243844:0x3ba,_0x4c3554:0x1bf,_0x8deeed:0x227,_0x3be53e:0x43e,_0x3e9661:0x159,_0x211f94:0x51c,_0x248ce9:0x115,_0x394f7f:0x21a,_0xe4da24:0x3ad,_0x4a8554:0x7da,_0x3d1205:0x2bc,_0xd2e5e:0x220,_0xb97ff5:0x4b2,_0x67cc24:0x289,_0x12b203:0x410,_0x5162d3:0x302,_0x5234b0:0x30c,_0x2f9f6c:0x817,_0x561769:0x38b,_0x53fe5d:0x19a},_0x12761a={_0x30bb7f:0x302},_0x2f8918={_0xb9f9ac:0x4b},_0x40a1f3=(_0x5cd2fe(_0xbd8cc9._0x45cce0,_0xbd8cc9._0x1358c6)+_0x3aeee8(0x929,0x65d)+'|0|8|4|1'+_0x5cd2fe(_0xbd8cc9._0x2eceb7,0x260)+_0x5cd2fe(0x199,0x259))[_0x3aeee8(_0xbd8cc9._0x1f1e41,_0xbd8cc9._0x46d2a8)]('|');let _0x285cab=0x0;function _0x3aeee8(_0x1700f3,_0x454e99){return _0x35d151(_0x1700f3,_0x454e99- -_0x2f8918._0xb9f9ac);}function _0x5cd2fe(_0x58ace9,_0x78284){return _0x35d151(_0x58ace9,_0x78284- -_0x12761a._0x30bb7f);}while(!![]){switch(_0x40a1f3[_0x285cab++]){case'0':console[_0x3aeee8(_0xbd8cc9._0x348a7d,_0xbd8cc9._0xbf813e)]('Service\x20'+'path:\x20'+(_0x4f52cd['serviceP'+_0x5cd2fe(-_0xbd8cc9._0x5c4610,0x11a)]||'-'));continue;case'1':console[_0x5cd2fe(-_0xbd8cc9._0x55c81d,0x159)](_0x3aeee8(_0xbd8cc9._0x107f3c,_0xbd8cc9._0x4774b0)+'L:\x20'+(_0x4f52cd[_0x5cd2fe(-_0xbd8cc9._0x1a70ff,0x1f)]??'-'));continue;case'2':console[_0x3aeee8(_0xbd8cc9._0x1f4b2f,_0xbd8cc9._0x4d994d)](_0x5cd2fe(-0xc2,0x21f)+_0x3aeee8(_0xbd8cc9._0x18d95e,_0xbd8cc9._0x467cd7)+(_0x4f52cd['instance'+'Id']??'-'));continue;case'3':console[_0x3aeee8(_0xbd8cc9._0xdd1330,0x410)]('OpenClaw'+'\x20media:\x20'+_0x4f52cd['openclaw'+_0x5cd2fe(0x32c,_0xbd8cc9._0x12d3d0)]);continue;case'4':console['log'](_0x3aeee8(0x203,0x339)+_0x5cd2fe(0x60,0xa8)+_0x4f52cd[_0x3aeee8(_0xbd8cc9._0x1d4ceb,_0xbd8cc9._0x413644)+_0x5cd2fe(_0xbd8cc9._0x191a44,_0xbd8cc9._0x2725fc)]);continue;case'5':console[_0x5cd2fe(-_0xbd8cc9._0x4f94c8,_0xbd8cc9._0x1d66b4)](_0x5cd2fe(-_0xbd8cc9._0x17fc51,0xbf)+(_0x4f52cd[_0x5cd2fe(-0x1cb,-_0xbd8cc9._0xc53c07)]?'yes':'no'));continue;case'6':console[_0x3aeee8(0x369,_0xbd8cc9._0x170c2f)](_0x3aeee8(0xb4,0x14c)+'\x20'+(_0x4f52cd[_0x3aeee8(0x61b,0x5ab)+_0x5cd2fe(-0x344,-_0xbd8cc9._0x43b7eb)]?_0x3aeee8(0x5d2,_0xbd8cc9._0x45c154)+'d':_0x3aeee8(0xe4,0x280)+_0x5cd2fe(0xd2,-_0xbd8cc9._0x42cc4c))+'\x20('+_0x4f52cd['serviceM'+_0x3aeee8(0xe,_0xbd8cc9._0x5f3432)]+')');continue;case'7':console[_0x3aeee8(_0xbd8cc9._0x166eb8,0x410)](_0x3aeee8(_0xbd8cc9._0x2f1bf1,_0xbd8cc9._0x39ef0f)+_0x5cd2fe(-_0xbd8cc9._0x2c3ed,-0x201)+'\x20'+(_0x4f52cd[_0x3aeee8(0x6de,_0xbd8cc9._0x207f2e)+_0x3aeee8(_0xbd8cc9._0x19a2b6,0x40c)+_0x5cd2fe(_0xbd8cc9._0x5515eb,_0xbd8cc9._0x4cbb2e)]?_0x3aeee8(-_0xbd8cc9._0x33c3c2,0xd9):_0x5cd2fe(0x3,0x1bf)));continue;case'8':console[_0x5cd2fe(_0xbd8cc9._0x30fae4,0x159)]('Log\x20path'+':\x20'+_0x4f52cd[_0x3aeee8(0x7e3,_0xbd8cc9._0xdd1330)]);continue;case'9':console[_0x3aeee8(_0xbd8cc9._0x321b5c,0x410)](_0x5cd2fe(_0xbd8cc9._0x573c5e,_0xbd8cc9._0x3475f4)+_0x3aeee8(_0xbd8cc9._0x536237,0x139)+_0x4f52cd['localGat'+_0x3aeee8(0x5a4,0x2d1)]);continue;case'10':console[_0x3aeee8(0x222,0x410)](_0x3aeee8(_0xbd8cc9._0x363e68,_0xbd8cc9._0x2c1859)+'RL:\x20'+(_0x4f52cd[_0x5cd2fe(_0xbd8cc9._0x43e401,0x154)+'l']??'-'));continue;case'11':console[_0x3aeee8(0x366,0x410)]('OpenClaw'+_0x5cd2fe(-_0xbd8cc9._0x4617c7,-0x3f)+_0x4f52cd[_0x5cd2fe(_0xbd8cc9._0x15f429,_0xbd8cc9._0x5de55e)+_0x3aeee8(_0xbd8cc9._0x5cf66e,0x4da)+'r']);continue;case'12':console[_0x5cd2fe(-0x56,_0xbd8cc9._0x1d66b4)](_0x3aeee8(0x4a9,0x2d9)+'\x20token:\x20'+(_0x4f52cd[_0x3aeee8(0x523,_0xbd8cc9._0x302c28)+_0x3aeee8(_0xbd8cc9._0x243844,0x404)+'nd']?'found':_0x5cd2fe(0x325,_0xbd8cc9._0x4c3554)));continue;case'13':console[_0x3aeee8(0x686,0x410)]('Gateway\x20'+_0x3aeee8(-0x52,0x19d)+(_0x4f52cd[_0x5cd2fe(-0x15,_0xbd8cc9._0x8deeed)+'d']??'-'));continue;case'14':console[_0x5cd2fe(_0xbd8cc9._0x3be53e,_0xbd8cc9._0x3e9661)](_0x3aeee8(0x33e,_0xbd8cc9._0x211f94)+_0x5cd2fe(0x169,0x3b7)+_0x3aeee8(0x3e1,_0xbd8cc9._0x248ce9)+(_0x4f52cd[_0x5cd2fe(_0xbd8cc9._0x394f7f,_0xbd8cc9._0xe4da24)+_0x3aeee8(_0xbd8cc9._0x4a8554,0x620)+_0x5cd2fe(-_0xbd8cc9._0x3d1205,-_0xbd8cc9._0xd2e5e)]?_0x5cd2fe(_0xbd8cc9._0xb97ff5,0x1c1):'no'));continue;case'15':console[_0x3aeee8(_0xbd8cc9._0x67cc24,_0xbd8cc9._0x12b203)](_0x5cd2fe(_0xbd8cc9._0x5162d3,_0xbd8cc9._0x5234b0)+_0x3aeee8(_0xbd8cc9._0x2f9f6c,0x61d)+'\x20'+(_0x4f52cd[_0x3aeee8(0x521,0x570)+_0x5cd2fe(0x172,_0xbd8cc9._0x561769)]?_0x5cd2fe(_0xbd8cc9._0x53fe5d,0x1c1):'no'));continue;}break;}}function requirePairingConfig(){const _0x5621c1={_0x5001c2:0x58d,_0x563132:0x93a,_0x56693e:0x926,_0x19d044:0x7bb,_0x4e0c78:0x550,_0x310f69:0x5b0,_0x521e3c:0x68b,_0x2b1813:0x851},_0xf33435={_0x1adac3:0x143};function _0xd454b6(_0x20df99,_0x471d6e){return _0x341e52(_0x20df99-_0xf33435._0x1adac3,_0x471d6e);}const _0x4e9ffa=readPairingConfig();function _0x11ee53(_0x205248,_0x21c437){return _0x341e52(_0x205248-0x6d,_0x21c437);}return!_0x4e9ffa&&(console[_0x11ee53(0x61d,0x6a6)](_0x11ee53(0x7e9,0x995)+_0x11ee53(_0x5621c1._0x5001c2,0x812)+_0xd454b6(0x701,_0x5621c1._0x563132)+_0x11ee53(0x78e,_0x5621c1._0x56693e)+_0x11ee53(0x966,_0x5621c1._0x19d044)+_0xd454b6(_0x5621c1._0x4e0c78,_0x5621c1._0x310f69)+_0x11ee53(_0x5621c1._0x521e3c,_0x5621c1._0x2b1813)+getPairingConfigPath()),process['exit'](0x1)),_0x4e9ffa;}function readFlag(_0x34a29a,_0x302f44){const _0x15f286={_0x4d475d:0x1d9},_0x2411bb=_0x34a29a[_0x5d637d(0x643,0x4d1)](_0x302f44);function _0x5d637d(_0x494bd5,_0x31b38d){return _0x35d151(_0x494bd5,_0x31b38d- -_0x15f286._0x4d475d);}if(_0x2411bb<0x0)return null;const _0x5cca0c=_0x34a29a[_0x2411bb+0x1];return _0x5cca0c?.['trim']()?_0x5cca0c['trim']():null;}function hasFlag(_0x41e2de,_0x1b0fa8){const _0x2c939d={_0x7478c5:0x285},_0x32bb8f={_0x205f93:0x2ec};function _0x1d875c(_0x2928b8,_0x4b33a8){return _0x35d151(_0x4b33a8,_0x2928b8- -_0x32bb8f._0x205f93);}return _0x41e2de[_0x1d875c(-0x177,-_0x2c939d._0x7478c5)](_0x1b0fa8);}function readPairSubcommand(_0x29a1fa){const _0x12657d={_0x5ea208:0x49f};function _0x13bd22(_0x971303,_0x3e9248){return _0x35d151(_0x3e9248,_0x971303-0x154);}for(const _0x256a22 of _0x29a1fa){if(!_0x256a22[_0x13bd22(0x745,0x9bb)+'th']('-'))return _0x256a22[_0x4739cd(0x20a,_0x12657d._0x5ea208)]()||null;}function _0x4739cd(_0x5532c8,_0xbe9861){return _0x35d151(_0xbe9861,_0x5532c8- -0x17d);}return null;}function printHelp(){const _0x2784c9={_0x2081fb:0xaff,_0x156ae9:0x346,_0x341e28:0x584,_0x4834b0:0x4bf,_0x57668b:0x40f,_0xb1fc4b:0x468,_0x566306:0x669,_0x4cccc2:0xaf2,_0x5c0dc8:0x9cf,_0x2f7d82:0x71c,_0x334af9:0x6df,_0x2f25a6:0x7cd,_0xf8ce03:0x1b7,_0x47e7b2:0x4a8,_0x16c296:0x62d,_0x1fab5a:0x60b,_0x36e703:0x40c,_0x55d6c1:0xa53,_0x4e4a6d:0xb54,_0x167fa2:0x636,_0x3e93de:0x35d,_0x33ea29:0xc49,_0xc5b988:0x8d9,_0x4d5b69:0x30d,_0x444d15:0x754,_0x30791d:0x885,_0x3fd9bf:0x8bc,_0x1e110c:0x822,_0x5b4e10:0x39e,_0x4e9abf:0x533,_0x33ddd4:0x286,_0x18decc:0x547,_0x2afd9c:0x716,_0x47eed4:0x614,_0x211733:0x9b5,_0x21e9dc:0xc24,_0x36a1b0:0x53a,_0x18da21:0x6e7,_0x5aa73c:0x4ec,_0x3cf6ac:0x814,_0x274e65:0x1b3,_0x5c5fd0:0x547,_0x5f5ad6:0x716,_0x55872b:0x547,_0x35f272:0x7dd,_0xcfee3d:0x65d,_0x500559:0x81f,_0x50947b:0x5b6,_0x3948b4:0x71c,_0xa51b15:0x5da,_0xd000ec:0x9ef},_0x540d75={};_0x540d75[_0x4e1bb4(0x8bc,_0x2784c9._0x2081fb)]=_0x4c1edd(_0x2784c9._0x156ae9,_0x2784c9._0x341e28)+_0x4c1edd(0x36e,0x5a2)+_0x4e1bb4(0x91b,0xba8)+_0x4c1edd(_0x2784c9._0x4834b0,_0x2784c9._0x57668b)+_0x4c1edd(_0x2784c9._0xb1fc4b,_0x2784c9._0x566306)+_0x4c1edd(0x265,0x42)+_0x4e1bb4(_0x2784c9._0x4cccc2,0x9b8)+_0x4c1edd(0x517,0x2a3)+_0x4e1bb4(0x79d,_0x2784c9._0x5c0dc8)+']';function _0x4c1edd(_0x38f5f4,_0x26d3ef){return _0x35d151(_0x26d3ef,_0x38f5f4-0x5a);}_0x540d75['sGDvw']='clawket\x20'+_0x4c1edd(0x3c1,0x56e),_0x540d75[_0x4e1bb4(_0x2784c9._0x2f7d82,0x8c6)]=_0x4c1edd(0x346,0x121)+_0x4c1edd(_0x2784c9._0x334af9,_0x2784c9._0x2f25a6)+'l';function _0x4e1bb4(_0x3d68ed,_0x1d1e57){return _0x35d151(_0x1d1e57,_0x3d68ed-0x42a);}_0x540d75[_0x4c1edd(_0x2784c9._0xf8ce03,_0x2784c9._0x47e7b2)]='clawket\x20'+_0x4e1bb4(_0x2784c9._0x16c296,0x7ee),_0x540d75[_0x4e1bb4(_0x2784c9._0x1fab5a,_0x2784c9._0x36e703)]='clawket\x20'+_0x4e1bb4(0x76b,0x936)+'last\x20<2m'+'>]\x20[--li'+_0x4e1bb4(_0x2784c9._0x55d6c1,_0x2784c9._0x4e4a6d)+_0x4e1bb4(_0x2784c9._0x167fa2,_0x2784c9._0x3e93de)+'rors]\x20[-'+_0x4e1bb4(0x9ca,_0x2784c9._0x33ea29),_0x540d75['NLCBW']='clawket\x20'+_0x4c1edd(0x6f5,_0x2784c9._0xc5b988)+_0x4c1edd(0x207,0x2c9)+_0x4e1bb4(0x517,_0x2784c9._0x4d5b69)+'/127.0.0'+_0x4e1bb4(_0x2784c9._0x444d15,0x78b)+_0x4c1edd(0x6ae,0x3bb)+'place]';const _0x315ce6=_0x540d75;console[_0x4e1bb4(_0x2784c9._0x30791d,0x955)]([_0x4e1bb4(0x716,_0x2784c9._0x3fd9bf)+'pair\x20[--'+'server\x20<'+_0x4e1bb4(_0x2784c9._0x1e110c,0xa9e)+_0x4c1edd(_0x2784c9._0x5b4e10,0x415)+_0x4e1bb4(0xa75,0x9a2)+'me>]\x20[--'+'qr-file\x20'+_0x4e1bb4(_0x2784c9._0x4e9abf,_0x2784c9._0x33ddd4)+_0x4e1bb4(_0x2784c9._0x18decc,0x7ae)+_0x4e1bb4(0x5e2,0x8d5)+'e]',_0x4e1bb4(_0x2784c9._0x2afd9c,0x7a8)+_0x4e1bb4(_0x2784c9._0x47eed4,0x7db)+_0x4e1bb4(_0x2784c9._0x211733,0x715)+_0x4e1bb4(0x992,_0x2784c9._0x21e9dc)+_0x4c1edd(_0x2784c9._0x36a1b0,0x7d4)+_0x4e1bb4(0x6bf,0x3fe)+'r-file\x20<'+_0x4e1bb4(_0x2784c9._0x18da21,0x8e8)+'--json]',_0x315ce6[_0x4c1edd(_0x2784c9._0x5aa73c,0x7f1)],_0x4c1edd(0x346,0x64e)+'refresh-'+_0x4e1bb4(0x820,_0x2784c9._0x3cf6ac)+_0x4c1edd(0x5f4,0x31e)+_0x4c1edd(0x163,_0x2784c9._0x274e65)+_0x4e1bb4(_0x2784c9._0x5c5fd0,0x7e9),_0x4e1bb4(_0x2784c9._0x5f5ad6,_0x2784c9._0x55872b)+_0x4e1bb4(_0x2784c9._0x35f272,_0x2784c9._0xcfee3d),_0x315ce6['sGDvw'],_0x4e1bb4(0x716,_0x2784c9._0x500559)+_0x4c1edd(0x6ea,0x5ba),_0x4e1bb4(0x716,0x4df)+_0x4e1bb4(_0x2784c9._0x50947b,0x7d7),_0x315ce6[_0x4e1bb4(_0x2784c9._0x3948b4,_0x2784c9._0xa51b15)],_0x315ce6['YiAgB'],'clawket\x20'+'status',_0x315ce6[_0x4e1bb4(0x60b,0x3d4)],_0x4c1edd(0x346,0x2ae)+'doctor\x20['+'--json]',_0x315ce6['NLCBW']][_0x4c1edd(0x73a,_0x2784c9._0xd000ec)]('\x0a'));}function buildUnsupportedAutostartMessage(_0x264a9c){const _0x489e2f={_0x132794:0x720,_0xadde46:0x1b9,_0x91a791:0x376,_0x234a25:0x56f,_0x4616de:0x4dd,_0x1fd249:0x4ef,_0x480322:0x777,_0x415ca5:0x51c,_0x11f577:0x2b0,_0x4611a6:0x3b7,_0x1eef39:0x2a5,_0x52a40d:0x935,_0x52197f:0x415,_0x7e82cd:0x7b0,_0x44bf4c:0x642,_0x1ca2dd:0x62a,_0x5d7d71:0x2d5,_0x5cf92c:0x6f0,_0x36e55d:0x3a4,_0x594e08:0x2a1,_0x442979:0x42f,_0x20e36a:0x75a,_0x932e21:0x36c,_0xedfc19:0x575,_0x1226ce:0x413,_0x4e98fd:0x119,_0x71a20d:0x759,_0x2b61ea:0x6c6,_0x1e412f:0x404,_0x46e9b2:0x193,_0x787a6b:0x34b,_0x3f2151:0x2cf,_0x2e446d:0x7ee,_0x23906b:0x5d9,_0x4a4995:0x227,_0x3f6027:0x625,_0x2c4117:0x787,_0x20eee6:0x89e,_0xbe867c:0x649,_0xa08d68:0x31d,_0x5422ef:0x27a},_0x31b9a0={_0xcc5aa:0x82},_0x32d9cb={};_0x32d9cb[_0x2007d6(_0x489e2f._0x132794,0x4b0)]=_0x2007d6(_0x489e2f._0xadde46,_0x489e2f._0x91a791)+_0x12750f(_0x489e2f._0x234a25,_0x489e2f._0x4616de)+_0x2007d6(0x2f3,_0x489e2f._0x1fd249)+_0x2007d6(0x767,0x58b)+_0x12750f(_0x489e2f._0x480322,_0x489e2f._0x415ca5)+_0x2007d6(_0x489e2f._0x11f577,_0x489e2f._0x4611a6)+_0x12750f(0x7a,0x36c)+_0x2007d6(0x575,_0x489e2f._0x1eef39)+_0x12750f(0x597,0x56f)+'rtup\x20reg'+_0x2007d6(0x6c6,_0x489e2f._0x52a40d)+_0x12750f(0x67e,_0x489e2f._0x52197f)+_0x12750f(0xa9e,_0x489e2f._0x7e82cd)+'ainer\x20or'+_0x2007d6(_0x489e2f._0x44bf4c,_0x489e2f._0x1ca2dd)+'\x20manager'+_0x12750f(_0x489e2f._0x5d7d71,0x316)+_0x2007d6(_0x489e2f._0x5cf92c,0x7bf)+_0x2007d6(_0x489e2f._0x36e55d,0x2f7)+_0x2007d6(0x722,0x9ee);const _0x3631b7=_0x32d9cb;if(_0x264a9c[_0x12750f(_0x489e2f._0x594e08,_0x489e2f._0x442979)])return _0x3631b7[_0x2007d6(0x720,0x67a)];function _0x2007d6(_0x41f4ba,_0x2a2fb9){return _0x35d151(_0x2a2fb9,_0x41f4ba-_0x31b9a0._0xcc5aa);}function _0x12750f(_0x37ab56,_0x31af91){return _0x35d151(_0x37ab56,_0x31af91-0x1de);}return _0x12750f(0x81b,_0x489e2f._0x20e36a)+_0x2007d6(0x2b0,0x104)+_0x12750f(0x4ad,_0x489e2f._0x932e21)+_0x2007d6(_0x489e2f._0xedfc19,0x6c3)+_0x2007d6(_0x489e2f._0x1226ce,_0x489e2f._0x4e98fd)+_0x2007d6(_0x489e2f._0x71a20d,0x9d5)+_0x2007d6(_0x489e2f._0x2b61ea,_0x489e2f._0x1e412f)+_0x12750f(0x45d,_0x489e2f._0x71a20d)+_0x12750f(0x39f,0x47b)+'e\x20runtim'+_0x2007d6(0x265,0xe9)+_0x2007d6(_0x489e2f._0x46e9b2,_0x489e2f._0x787a6b)+_0x12750f(_0x489e2f._0x3f2151,0x2e5)+_0x12750f(_0x489e2f._0x2e446d,_0x489e2f._0x23906b)+'ally.\x20Us'+_0x2007d6(0x4b8,_0x489e2f._0x4a4995)+_0x12750f(_0x489e2f._0x3f6027,0x3c3)+_0x2007d6(0x450,0x6d5)+_0x12750f(_0x489e2f._0x2c4117,_0x489e2f._0x20eee6)+_0x12750f(_0x489e2f._0xbe867c,0x76a)+_0x12750f(0xcb,_0x489e2f._0xa08d68)+_0x2007d6(_0x489e2f._0x5422ef,0x31f);}function formatLocalTime(_0x165576){const _0x5f5c3f={_0x13e97c:0x276},_0x22e27a=new Date(_0x165576);if(Number['isNaN'](_0x22e27a[_0x501a0e(_0x5f5c3f._0x13e97c,0x2b1)]()))return _0x165576;function _0x501a0e(_0x56bf6d,_0x255a9d){return _0x35d151(_0x56bf6d,_0x255a9d-0x1c5);}return _0x22e27a['toLocale'+'String']();}function formatError2(_0x2bc132){const _0x269eff={_0x3b7511:0xf4},_0x55f8da={_0x3e8387:0x28d};function _0x68127f(_0x411d8b,_0x5b95a7){return _0x35d151(_0x411d8b,_0x5b95a7- -_0x55f8da._0x3e8387);}return _0x2bc132 instanceof Error?_0x2bc132[_0x68127f(-0x1d9,-_0x269eff._0x3b7511)]:String(_0x2bc132);}function printJson(_0x25827e){const _0x274d90={_0x40f4a9:0x525},_0x3605aa={_0x454cdf:0x253};function _0x48b56d(_0x43bb83,_0x12ac7b){return _0x341e52(_0x12ac7b- -_0x3605aa._0x454cdf,_0x43bb83);}function _0x1f1faa(_0x10d553,_0x59cee4){return _0x341e52(_0x59cee4-0xc6,_0x10d553);}console[_0x48b56d(0x597,0x484)](JSON[_0x48b56d(0x26d,_0x274d90._0x40f4a9)+'y'](_0x25827e,null,0x2));}main()[_0x341e52(0x793,0x7ee)](_0x4e3947=>{const _0x205a19={_0x5d871b:0x60e};function _0x550f0b(_0x5584f6,_0x5bf3fe){return _0x341e52(_0x5bf3fe- -0x198,_0x5584f6);}function _0x15df3e(_0x1b5baf,_0x319472){return _0x341e52(_0x319472- -0x2d,_0x1b5baf);}console[_0x550f0b(0x244,0x418)](formatError2(_0x4e3947)),process[_0x550f0b(_0x205a19._0x5d871b,0x5de)](0x1);});