@bangdao-ai/acw-tools 1.13.61 → 1.13.63

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/launcher.js ADDED
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env node
2
+ (function(_0x4bd11b,_0x1bc0e3){const _0x5f35ee={_0x28b056:0x2df,_0x3a6d9f:0x2a8,_0x31f80f:0x277,_0x1eb6fa:0x42,_0x3e06c7:0x17,_0x1c2dc5:0x2d6,_0x4ea876:0x2ef,_0x5b2355:0x2dc,_0x53c048:0x2ce,_0x11853d:0x27e,_0x4066e0:0x2e4,_0x85d33c:0x31c,_0x194403:0x1,_0x3918d3:0x42,_0x411d8f:0x87,_0x371771:0x89,_0x16d046:0x24b,_0x33535e:0x272,_0x218ff7:0x20f,_0x1c5ca4:0x317,_0x47b060:0x3a,_0x5b1cb4:0x13},_0x2987fa={_0x1e183e:0x15d};function _0x3750b8(_0x2290c5,_0x436cc7,_0x2d9005,_0x11b089){return _0x109c(_0x436cc7- -_0x2987fa._0x1e183e,_0x2290c5);}function _0x4e44cf(_0xa7406d,_0x162344,_0x3a56c1,_0x1732a0){return _0x109c(_0xa7406d- -0x3e6,_0x3a56c1);}const _0x497e15=_0x4bd11b();while(!![]){try{const _0x2abc16=-parseInt(_0x4e44cf(-_0x5f35ee._0x28b056,-_0x5f35ee._0x3a6d9f,-_0x5f35ee._0x31f80f,-0x2da))/0x1+parseInt(_0x3750b8(-0x5,_0x5f35ee._0x1eb6fa,-0xe,-_0x5f35ee._0x3e06c7))/0x2*(parseInt(_0x4e44cf(-_0x5f35ee._0x1c2dc5,-_0x5f35ee._0x4ea876,-_0x5f35ee._0x5b2355,-_0x5f35ee._0x53c048))/0x3)+parseInt(_0x4e44cf(-0x267,-_0x5f35ee._0x11853d,-0x24f,-0x2ad))/0x4+-parseInt(_0x4e44cf(-_0x5f35ee._0x4066e0,-0x34b,-_0x5f35ee._0x85d33c,-0x2b7))/0x5+parseInt(_0x3750b8(-_0x5f35ee._0x194403,-_0x5f35ee._0x3918d3,-_0x5f35ee._0x411d8f,-_0x5f35ee._0x371771))/0x6+-parseInt(_0x4e44cf(-_0x5f35ee._0x16d046,-0x216,-_0x5f35ee._0x33535e,-_0x5f35ee._0x218ff7))/0x7*(parseInt(_0x4e44cf(-0x2dd,-0x2a6,-0x2d4,-_0x5f35ee._0x1c5ca4))/0x8)+-parseInt(_0x3750b8(-_0x5f35ee._0x47b060,-0x1f,-_0x5f35ee._0x5b1cb4,-0x62))/0x9;if(_0x2abc16===_0x1bc0e3)break;else _0x497e15['push'](_0x497e15['shift']());}catch(_0x561a03){_0x497e15['push'](_0x497e15['shift']());}}}(_0x10c4,0xc69aa));import _0x5da8c0 from'node:os';import _0x639d34 from'node:path';import _0x38672e from'node:fs';import _0xfc0f95 from'node:path';import{execFileSync as _0x1fcb5a}from'node:child_process';var j=_0x2584e7(0x2b2,0x287,0x297,0x2e3),G='owner.json',$=/^slot-\d+\.json$/,W=0x32;function X(_0x579e4f){const _0x2ef931={_0x1a3ca3:0x41,_0x5f2f6b:0x30,_0x457203:0x1a,_0x4eeab9:0x2e5,_0x15d082:0x29a,_0x15a6fa:0x30f,_0x4b319e:0xa5,_0x5f0cfe:0xf9,_0x2ea718:0x29c,_0xd85b5a:0xbb,_0xf0a2b2:0x103,_0x81e31e:0xc9,_0x3cd814:0xad,_0xe064c3:0x58,_0x50a4d5:0x61,_0x588ca4:0xa,_0x49f151:0x3},_0x4df484={_0x2936f1:0x1ba},_0xc86c6e={_0x3fbd02:0x7e,_0x1e5fb6:0x7f},_0x20a461={'vQhnb':function(_0x55203b,_0x1220e1){return _0x55203b(_0x1220e1);},'sWbbJ':'launcher.js'};function _0x1595ea(_0x34f933,_0x83bae1,_0xeaa5ab,_0x17d13c){return _0x2584e7(_0x17d13c,_0x34f933-_0xc86c6e._0x3fbd02,_0xeaa5ab-_0xc86c6e._0x1e5fb6,_0x17d13c-0x106);}function _0x5cdd1a(_0x4898d2,_0x5c249c,_0x5431f1,_0x36a083){return _0x2584e7(_0x5c249c,_0x4898d2- -_0x4df484._0x2936f1,_0x5431f1-0xe,_0x36a083-0x10b);}let _0x32c5de=_0x20a461[_0x5cdd1a(_0x2ef931._0x1a3ca3,0x21,-_0x2ef931._0x5f2f6b,_0x2ef931._0x457203)](String,_0x579e4f||'');return!!(_0x32c5de[_0x1595ea(_0x2ef931._0x4eeab9,_0x2ef931._0x15d082,_0x2ef931._0x15a6fa,0x286)](_0x5cdd1a(_0x2ef931._0x4b319e,0x113,_0x2ef931._0x5f0cfe,0x8f))||/\/acw-tools\//[_0x1595ea(0x280,_0x2ef931._0x2ea718,0x22a,0x2cf)](_0x32c5de)||(_0x32c5de[_0x1595ea(_0x2ef931._0x4eeab9,0x33f,0x353,0x2cc)](_0x20a461[_0x5cdd1a(_0x2ef931._0xd85b5a,0xd2,_0x2ef931._0xf0a2b2,_0x2ef931._0x81e31e)])||_0x32c5de[_0x5cdd1a(_0x2ef931._0x3cd814,0x99,_0x2ef931._0xe064c3,_0x2ef931._0x50a4d5)](_0x5cdd1a(-_0x2ef931._0x588ca4,-_0x2ef931._0x49f151,0xc,0x3f)))&&/acw-tools/['test'](_0x32c5de));}function R(_0x4083d8){const _0x1835ae={_0x31d909:0xc9,_0xfb4698:0xe9,_0x2f0509:0x2c8,_0x2cadde:0x25f,_0x1d1f8c:0x1f7,_0x30b8c7:0x2e9,_0x1dc53b:0x136,_0x1af441:0x157,_0x37ba67:0xc8,_0x10bcc5:0x328,_0x1417b4:0x2af,_0x382e10:0x2d7,_0x24b6a8:0x30d,_0x25a41f:0x325,_0x4f16ce:0x1aa,_0x459f78:0x11d,_0x454687:0x30a,_0x3a1dad:0x198,_0x222b05:0x151,_0x2b74d2:0x1a1,_0x56a4e5:0x22e,_0x1b0189:0x1bf,_0x27af6a:0x15d,_0x288018:0x358,_0x1f877f:0x2e5,_0x30be2b:0x3b6},_0x42b200={_0x7c7b86:0xc9,_0x124907:0x11b},_0x266b05={_0x1654d7:0x98,_0x34ab2a:0x126,_0x5dec90:0x10e},_0x2f9791={};function _0x5bc7ca(_0x334889,_0x564922,_0x285694,_0x3798f2){return _0x2584e7(_0x564922,_0x285694- -_0x266b05._0x1654d7,_0x285694-_0x266b05._0x34ab2a,_0x3798f2-_0x266b05._0x5dec90);}_0x2f9791[_0x5bc7ca(_0x1835ae._0x31d909,_0x1835ae._0xfb4698,0x11d,0xf2)]=function(_0x4b24fc,_0x1fa718){return _0x4b24fc<_0x1fa718;},_0x2f9791[_0x482ada(0x2b2,0x2fb,0x291,_0x1835ae._0x2f0509)]=function(_0x5738c0,_0x4196f6){return _0x5738c0===_0x4196f6;},_0x2f9791['euwJF']='lrEOx',_0x2f9791[_0x5bc7ca(_0x1835ae._0x2cadde,0x238,_0x1835ae._0x1d1f8c,0x1d7)]=_0x482ada(0x2dc,0x2b9,_0x1835ae._0x30b8c7,0x2b6);const _0x2a40c5=_0x2f9791;if(!Number['isInteger'](_0x4083d8)||_0x2a40c5[_0x5bc7ca(_0x1835ae._0x1dc53b,_0x1835ae._0x1af441,0x11d,_0x1835ae._0x37ba67)](_0x4083d8,0x1))return!0x1;function _0x482ada(_0x4d1dec,_0xdb487d,_0x21b11b,_0x1285b9){return _0x2584e7(_0x1285b9,_0x4d1dec-_0x42b200._0x7c7b86,_0x21b11b-0x1e2,_0x1285b9-_0x42b200._0x124907);}try{return process[_0x482ada(0x332,_0x1835ae._0x10bcc5,0x2c4,0x330)](_0x4083d8,0x0),!0x0;}catch(_0x488032){if(_0x2a40c5['XbSIK'](_0x482ada(0x2c9,0x2ac,_0x1835ae._0x1417b4,_0x1835ae._0x382e10),_0x2a40c5[_0x482ada(_0x1835ae._0x24b6a8,0x2d2,0x2f4,_0x1835ae._0x25a41f)])){const _0x2fa0a9={};_0x2fa0a9[_0x5bc7ca(_0x1835ae._0x4f16ce,0x12c,0x166,_0x1835ae._0x459f78)]=!0x0,_0x2fa0a9['force']=!0x0;throw _0x2bc199[_0x482ada(0x34e,_0x1835ae._0x454687,0x36a,0x333)](_0x4ed45f,_0x2fa0a9),_0x434887;}else return _0x2a40c5[_0x5bc7ca(0xf3,_0x1835ae._0x3a1dad,_0x1835ae._0x222b05,_0x1835ae._0x2b74d2)](_0x488032[_0x5bc7ca(0x1fc,_0x1835ae._0x56a4e5,_0x1835ae._0x1b0189,_0x1835ae._0x27af6a)],_0x2a40c5[_0x482ada(_0x1835ae._0x288018,_0x1835ae._0x1f877f,_0x1835ae._0x30be2b,0x2ff)]);}}function J(_0x15956d,_0x172708){const _0x11021f={_0x4fe71f:0x128,_0x2ccb0e:0xff},_0x1b4393={_0x13f3eb:0x329,_0x2fb8cc:0xeb};function _0xb6dad9(_0x2becdb,_0x5ee209,_0x213449,_0xbdb04f){return _0x2584e7(_0xbdb04f,_0x2becdb- -_0x1b4393._0x13f3eb,_0x213449-_0x1b4393._0x2fb8cc,_0xbdb04f-0x43);}process[_0xb6dad9(-0xc0,-0xa8,-_0x11021f._0x4fe71f,-_0x11021f._0x2ccb0e)](_0x15956d,_0x172708);}function O(){const _0x274c17={_0xd23b13:0x1ee,_0x3b16e9:0x1b8,_0x1b9c6f:0x1b5,_0x596d65:0x21b,_0x5dc879:0x234,_0x49ad85:0x1d5,_0x5064d7:0x23a,_0x8b6f85:0x221,_0x381768:0x207,_0x19a8cf:0x1f8,_0x2f87a3:0x1dc,_0x3af545:0x229,_0x1e2139:0x22c,_0x307c33:0x291,_0x3e4b53:0x208,_0x4ebd31:0x13e,_0x2ae290:0x1ac,_0x135748:0x173,_0x412689:0x1f8,_0x121dc5:0x20c,_0x19fe91:0x1d7,_0x5ccf:0x254,_0x514526:0x1c2,_0x2f7aea:0x151,_0xa5ed9f:0x18e,_0x2d914f:0x170,_0x50644f:0x1ba,_0x354fd2:0x270,_0x1947e1:0x1c8,_0x2137be:0x205,_0xdba56c:0x1c6,_0x2edd46:0x204,_0x5ae4f4:0x168,_0x24618f:0x1da,_0xc31cc6:0x189,_0x4e0ceb:0x1d5,_0x5058dc:0x156,_0x585cfa:0x1ad,_0x1ca333:0x1c5,_0x5f0728:0x1f7,_0x3b6499:0x1af,_0xfa2678:0x22a,_0x4c9689:0x194,_0x1fa3c4:0x125,_0x52a7e1:0x1ec,_0x49f68c:0x22c,_0x5d0f53:0x15c,_0x24eab4:0x13a},_0x4d0ce7={_0x43439b:0x64,_0x508bc4:0x13f,_0x41b130:0x142},_0x44e3dc={_0x101152:0x41e},_0x553942={'tKrIp':function(_0x5627d2,_0x366259){return _0x5627d2<_0x366259;},'ieKyQ':function(_0x472e7e,_0x2d4f67){return _0x472e7e===_0x2d4f67;},'lRzhP':function(_0x2c9869,_0x45ac6f,_0x2e66e0,_0x320e6f){return _0x2c9869(_0x45ac6f,_0x2e66e0,_0x320e6f);},'vxCbH':'utf8','vKKMA':'ignore','mjwBy':_0x490456(0x1fd,_0x274c17._0xd23b13,0x1bf,0x238),'QqFra':function(_0x3be2fd,_0x435a23){return _0x3be2fd(_0x435a23);}};if(process[_0x490456(0x111,0x16d,0x176,_0x274c17._0x3b16e9)]==='win32')return[];let _0x514281=_0x553942[_0x516439(-0x1d4,-0x1d0,-0x224,-_0x274c17._0x1b9c6f)](_0x1fcb5a,'ps',[_0x516439(-0x1c5,-0x19d,-_0x274c17._0x596d65,-0x15b),_0x516439(-_0x274c17._0x5dc879,-0x296,-_0x274c17._0x49ad85,-_0x274c17._0x5064d7)],{'encoding':_0x553942[_0x516439(-0x1c3,-_0x274c17._0x8b6f85,-0x201,-_0x274c17._0x381768)],'timeout':0x1388,'stdio':[_0x516439(-0x19a,-_0x274c17._0x19a8cf,-0x19a,-_0x274c17._0x2f87a3),_0x516439(-0x216,-_0x274c17._0x3af545,-0x1ac,-0x206),_0x553942[_0x516439(-_0x274c17._0x1e2139,-_0x274c17._0x307c33,-0x1bf,-_0x274c17._0x3e4b53)]]}),_0x4039ac=[];for(let _0x293874 of _0x514281[_0x490456(_0x274c17._0x4ebd31,_0x274c17._0x2ae290,_0x274c17._0x135748,0x1f0)]('\x0a')){if(_0x553942[_0x516439(-_0x274c17._0x412689,-_0x274c17._0x121dc5,-_0x274c17._0x19fe91,-_0x274c17._0x5ccf)]!==_0x553942[_0x490456(0x1b4,_0x274c17._0x514526,_0x274c17._0x2f7aea,0x188)]){if(!_0x163cb1[_0x516439(-_0x274c17._0xa5ed9f,-_0x274c17._0x2d914f,-0x175,-_0x274c17._0x50644f)](_0x4d81ef)||_0x553942[_0x516439(-0x22b,-0x216,-0x29a,-_0x274c17._0x354fd2)](_0x2ab682,0x1))return!0x1;try{return process[_0x490456(_0x274c17._0x1947e1,_0x274c17._0x2137be,0x214,0x253)](_0x31f2f4,0x0),!0x0;}catch(_0x4db8da){return _0x553942[_0x516439(-_0x274c17._0xdba56c,-0x1db,-_0x274c17._0x2edd46,-_0x274c17._0x5ae4f4)](_0x4db8da[_0x516439(-0x1c7,-0x22d,-_0x274c17._0x24618f,-0x194)],'EPERM');}}else{let _0x4eeffa=_0x293874[_0x516439(-_0x274c17._0xc31cc6,-_0x274c17._0x4e0ceb,-0x1d4,-0x1b8)]();if(!_0x4eeffa)continue;let _0x2575d6=_0x4eeffa[_0x516439(-0x1ae,-_0x274c17._0x5058dc,-_0x274c17._0x585cfa,-_0x274c17._0x1ca333)](/^(\d+)\s+(.+)$/);if(!_0x2575d6)continue;let _0x4a57c2=Number[_0x516439(-_0x274c17._0x5f0728,-0x244,-_0x274c17._0x3b6499,-_0x274c17._0xfa2678)](_0x2575d6[0x1],0xa),_0x2101d0=_0x2575d6[0x2];!Number[_0x516439(-0x18e,-0x1ec,-_0x274c17._0x4c9689,-_0x274c17._0x1fa3c4)](_0x4a57c2)||_0x4a57c2<0x1||_0x553942[_0x490456(_0x274c17._0x52a7e1,0x206,0x232,_0x274c17._0x49f68c)](X,_0x2101d0)&&_0x4039ac[_0x490456(0x11b,_0x274c17._0x5d0f53,_0x274c17._0x24eab4,0x118)]({'pid':_0x4a57c2,'command':_0x2101d0});}}function _0x516439(_0x3cbb3b,_0xb42fbc,_0x1e4f5f,_0x1fa333){return _0x2584e7(_0xb42fbc,_0x3cbb3b- -_0x44e3dc._0x101152,_0x1e4f5f-0x8a,_0x1fa333-0x7a);}function _0x490456(_0x5a3b91,_0x5bd9d9,_0x2b8788,_0x10534b){return _0x2584e7(_0x2b8788,_0x5bd9d9- -_0x4d0ce7._0x43439b,_0x2b8788-_0x4d0ce7._0x508bc4,_0x10534b-_0x4d0ce7._0x41b130);}return _0x4039ac;}function K(_0x1fbec4){const _0x20673b={_0x6efeb7:0x1b3,_0xcbc6f1:0x1f2,_0x5e4a15:0xa2,_0x4d0590:0x83,_0x5db954:0x86},_0x1b310b={_0x16a8b0:0x3c,_0x302f17:0x113},_0x3b218c={_0x386b6c:0x7b},_0x42dead={};function _0x53ccb2(_0x313fe2,_0x2039b3,_0x2b3392,_0x1c976e){return _0x2584e7(_0x313fe2,_0x2039b3-0x11,_0x2b3392-_0x3b218c._0x386b6c,_0x1c976e-0x3b);}_0x42dead[_0x53ccb2(0x204,0x1d6,_0x20673b._0x6efeb7,_0x20673b._0xcbc6f1)]=function(_0x146c96,_0x26dc33){return _0x146c96<=_0x26dc33;};function _0x121cad(_0x4a6f1f,_0x36cd90,_0x5568a4,_0x4540fb){return _0x2584e7(_0x5568a4,_0x36cd90- -0x267,_0x5568a4-_0x1b310b._0x16a8b0,_0x4540fb-_0x1b310b._0x302f17);}const _0x5ebbcf=_0x42dead;_0x5ebbcf[_0x121cad(-0x94,-_0x20673b._0x5e4a15,-_0x20673b._0x4d0590,-_0x20673b._0x5db954)](_0x1fbec4,0x0)||Atomics['wait'](new Int32Array(new SharedArrayBuffer(0x4)),0x0,0x0,_0x1fbec4);}function M(_0xbdc49c){const _0x54926a={_0x2fd9d6:0x16c,_0x51fce9:0x177,_0xff5cb4:0x180,_0x31d931:0x6d,_0x595c9d:0x82,_0x121d8a:0xcf,_0x19cdb5:0xcf,_0x3e8880:0x110,_0x16ab78:0x145,_0x35569d:0x159,_0x20bee2:0x1e5,_0x35dd9f:0x1ed,_0x55d330:0x1da,_0x43d903:0x172,_0x1d32eb:0xb2,_0x26ce5b:0x106,_0x2c3709:0x1f1,_0x57d606:0x162,_0x536f9d:0x1cc,_0x369263:0x108,_0x269772:0x139,_0x2aa42f:0x141,_0x3b3b1a:0xcf,_0x132691:0x158,_0x5ae79b:0x13a,_0x2d8832:0x17d,_0x3f0617:0x234,_0x209e64:0x1a5,_0x1e59b0:0x81,_0x248682:0xe6,_0x4ac9f1:0x122,_0x5c470a:0x131,_0x29b42b:0xbc,_0x4f33b0:0x1a0,_0x455cc5:0x160,_0x327818:0x1dd,_0x4049be:0x157,_0x440a31:0x17e,_0x1b2971:0x1d7,_0x15b382:0x1ab,_0x36a5bc:0x64,_0x3b45a9:0x57,_0x1bc807:0xc9,_0x32ed6b:0xa1,_0xbeba95:0xdf,_0x2d6fbb:0x1d5,_0x5eea7d:0x17c,_0x40ab2b:0x9a,_0xb7e70e:0xde,_0x4c7c4f:0x1a7,_0x3299fa:0x1ca,_0x5b513b:0x166,_0xd149dd:0x14c,_0x3b5392:0x95,_0x5eb983:0x137,_0x52e226:0x190,_0x5da056:0x1e6,_0x517699:0x216,_0x5ac179:0x1b1,_0xe6ca39:0x199,_0x55a960:0x11a,_0x37065e:0xd8,_0x569a66:0xb6,_0x50fc0a:0x143,_0x303f68:0xde,_0x50055c:0xce,_0x594445:0xbd,_0x21ab74:0xdb,_0x55d2bd:0x15a,_0x1bdf17:0x221,_0x58f630:0x1aa,_0x1afe99:0x6c,_0x3dccd0:0xcf,_0x48f6eb:0xa0,_0x3ec308:0x126,_0x4d21c4:0xe7,_0x2b12e5:0x1c9,_0x3333f0:0x1bc,_0x24fbf1:0x206,_0x3143bd:0x1eb,_0x3ca01f:0x23e,_0x26adf7:0x159},_0x2dd4ea={_0x142d06:0x86},_0x2baa6a={_0x2f854d:0x35d},_0x2f585a={};_0x2f585a['TcjBL']=_0x43e4f4(-0x158,-_0x54926a._0x2fd9d6,-0x11c,-_0x54926a._0x51fce9);function _0x43e4f4(_0x47fd30,_0x2a1713,_0x35534c,_0x595d5a){return _0x2584e7(_0x47fd30,_0x35534c- -_0x2baa6a._0x2f854d,_0x35534c-0x19a,_0x595d5a-0x48);}_0x2f585a[_0xf4b677(-0x159,-0x1be,-0x191,-_0x54926a._0xff5cb4)]=function(_0x986c2b,_0x18e6e6){return _0x986c2b===_0x18e6e6;},_0x2f585a[_0x43e4f4(-0x7e,-_0x54926a._0x31d931,-0xcf,-_0x54926a._0x595c9d)]=function(_0x46f5e3,_0x127b29){return _0x46f5e3<_0x127b29;},_0x2f585a[_0x43e4f4(-0xc3,-_0x54926a._0x121d8a,-0x123,-0xdd)]=function(_0x526803,_0x3fdeed){return _0x526803-_0x3fdeed;},_0x2f585a[_0xf4b677(-0x136,-_0x54926a._0x19cdb5,-0x120,-_0x54926a._0x3e8880)]=function(_0x7f7e3b,_0x33f72d){return _0x7f7e3b*_0x33f72d;},_0x2f585a[_0xf4b677(-_0x54926a._0x16ab78,-0x13f,-_0x54926a._0x35569d,-0x188)]='GAexN',_0x2f585a[_0xf4b677(-0x1b1,-0x14b,-_0x54926a._0x20bee2,-0x1ec)]=function(_0x87a5f7,_0x340869){return _0x87a5f7>_0x340869;},_0x2f585a[_0xf4b677(-0x1bc,-_0x54926a._0x35dd9f,-_0x54926a._0x55d330,-_0x54926a._0x43d903)]='rhYqx';const _0x26331b=_0x2f585a;if(!_0xbdc49c||!_0x38672e[_0x43e4f4(-0x106,-_0x54926a._0x1d32eb,-0xd3,-_0x54926a._0x26ce5b)](_0xbdc49c))return new Set();let _0x3d6b31=new Set();const _0x3f0c0f={};_0x3f0c0f[_0xf4b677(-0x1be,-_0x54926a._0x2c3709,-_0x54926a._0x57d606,-_0x54926a._0x536f9d)]=!0x0;for(let _0x1a0a3a of _0x38672e[_0xf4b677(-0x17a,-0x13d,-0x172,-_0x54926a._0x369263)](_0xbdc49c,_0x3f0c0f)){if(_0x26331b['PNDjk'](_0x26331b['Yvdjw'],'Jeols')){const _0x2d0761={};_0x2d0761[_0x43e4f4(-_0x54926a._0x269772,-0x180,-_0x54926a._0x2aa42f,-0x14b)]=0x1c0,_0x43594d[_0x43e4f4(-0x180,-0x126,-0x163,-0x1cb)](_0x443003,_0x2d0761);let _0x5b5a4e=_0x4398f1[_0xf4b677(-0xfe,-_0x54926a._0x3b3b1a,-0xbf,-0x159)](_0x50c098,_0x3a5173);const _0x324953={};return _0x324953['encoding']=_0x26331b[_0x43e4f4(-0xfd,-0xc7,-0x11d,-0x174)],_0x324953['flag']='wx',_0x324953[_0xf4b677(-0x176,-_0x54926a._0x132691,-0x1c6,-0x1d0)]=0x180,(_0x2580a0['writeFileSync'](_0x5b5a4e,_0x5915f6[_0x43e4f4(-_0x54926a._0x5ae79b,-_0x54926a._0x2d8832,-0x15c,-0xf2)]({'pid':process['pid'],'token':_0x31d952,'startedAt':_0x213b00[_0xf4b677(-0x1d8,-_0x54926a._0x3f0617,-_0x54926a._0x209e64,-0x1a7)](),'processStartedAt':_0x1c102c}),_0x324953),{'leaseDirectory':_0x60f993,'slotPath':_0x5b5a4e,'pid':process[_0x43e4f4(-_0x54926a._0x1e59b0,-_0x54926a._0x248682,-0xde,-_0x54926a._0x4ac9f1)],'token':_0x16a7cb});}else{let _0x38045f=_0xfc0f95[_0x43e4f4(-0x120,-_0x54926a._0x5c470a,-0xc9,-_0x54926a._0x29b42b)](_0xbdc49c,_0x1a0a3a[_0xf4b677(-0x1d7,-0x1a8,-0x1cd,-_0x54926a._0x4f33b0)]);if(_0x1a0a3a[_0xf4b677(-0x18e,-0x120,-_0x54926a._0x455cc5,-_0x54926a._0x327818)]()&&_0x1a0a3a[_0x43e4f4(-0x171,-_0x54926a._0x4049be,-0x1a2,-0x196)][_0xf4b677(-0x170,-_0x54926a._0x440a31,-0x147,-_0x54926a._0x1b2971)](j)){try{let _0x114440=JSON[_0x43e4f4(-0xf2,-0x149,-0x140,-0x148)](_0x38672e[_0xf4b677(-0x14f,-0x116,-_0x54926a._0x15b382,-0x186)](_0xfc0f95[_0x43e4f4(-_0x54926a._0x36a5bc,-_0x54926a._0x3b45a9,-_0x54926a._0x1bc807,-0x116)](_0x38045f,G),_0x26331b['TcjBL']));Number[_0x43e4f4(-_0x54926a._0x32ed6b,-0xb3,-0xcd,-_0x54926a._0xbeba95)](_0x114440?.[_0x43e4f4(-0xa8,-0xa4,-0xde,-0x12a)])&&_0x26331b[_0x43e4f4(-_0x54926a._0x2d6fbb,-0x178,-_0x54926a._0x5eea7d,-0x193)](_0x114440[_0x43e4f4(-0x14b,-_0x54926a._0x40ab2b,-_0x54926a._0xb7e70e,-0xb7)],0x0)&&_0x114440['pid']<Number[_0xf4b677(-_0x54926a._0x440a31,-0x1b9,-0x1cf,-_0x54926a._0x4c7c4f)]&&_0x3d6b31[_0xf4b677(-0x169,-_0x54926a._0x3299fa,-_0x54926a._0x5b513b,-0x11b)](_0x114440[_0x43e4f4(-_0x54926a._0xd149dd,-_0x54926a._0x3b5392,-0xde,-_0x54926a._0x5eb983)]);}catch{continue;}continue;}if(_0x1a0a3a['isFile']()&&$[_0xf4b677(-_0x54926a._0x52e226,-0x171,-0x142,-0x164)](_0x1a0a3a[_0x43e4f4(-_0x54926a._0x5da056,-_0x54926a._0x517699,-0x1a2,-0x1f0)]))try{let _0x101fc5=JSON[_0xf4b677(-0x175,-_0x54926a._0x5ac179,-_0x54926a._0xe6ca39,-0x14f)](_0x38672e[_0x43e4f4(-_0x54926a._0x2aa42f,-0x128,-_0x54926a._0x55a960,-0xdd)](_0x38045f,'utf8'));Number[_0x43e4f4(-0x7b,-_0x54926a._0x37065e,-0xcd,-0x92)](_0x101fc5?.[_0x43e4f4(-0xec,-0x81,-0xde,-_0x54926a._0x569a66)])&&_0x101fc5[_0x43e4f4(-_0x54926a._0x50fc0a,-0xe7,-_0x54926a._0x303f68,-_0x54926a._0x50055c)]>0x0&&_0x26331b['LLdVD'](_0x101fc5[_0xf4b677(-0x113,-0xda,-_0x54926a._0x594445,-_0x54926a._0x21ab74)],Number['MAX_SAFE_INTEGER'])&&_0x3d6b31['add'](_0x101fc5[_0xf4b677(-0x113,-0xfb,-_0x54926a._0x132691,-0xa0)]);}catch{if(_0x26331b[_0xf4b677(-0x1bc,-0x1f0,-_0x54926a._0x55d2bd,-_0x54926a._0x1bdf17)]!==_0x26331b[_0x43e4f4(-0x157,-_0x54926a._0x58f630,-0x187,-0x163)]){if(_0x26331b['PNDjk'](_0x4c757a['code'],'ENOENT')&&!_0x5e831a)return null;if(_0x26331b[_0x43e4f4(-_0x54926a._0x1afe99,-0x11c,-_0x54926a._0x3dccd0,-_0x54926a._0x48f6eb)](_0x2a7bd1?_0x26331b[_0xf4b677(-_0x54926a._0x132691,-0x188,-_0x54926a._0x3ec308,-_0x54926a._0x4d21c4)](_0x40bc15,_0x20dba0(_0x15338c['mtimeMs'])):_0x13ccbe,_0x37d05e))return{'leaseDirectory':_0x580724,'createdAtNs':_0x21e631?.[_0x43e4f4(-_0x54926a._0x2b12e5,-_0x54926a._0x3333f0,-0x193,-_0x54926a._0x24fbf1)]??_0x26331b['rZIjC'](_0x1df949(_0x3b2bfc[_0xf4b677(-0x1d8,-0x1bd,-_0x54926a._0x3143bd,-_0x54926a._0x3ca01f)]()),0xf4240n),'pid':_0x4a14ec[_0x43e4f4(-0x10c,-0xfa,-0x149,-_0x54926a._0x26adf7)],'mainEligible':!0x0};}else continue;}}}function _0xf4b677(_0x247ce5,_0x30586c,_0x2215e7,_0xeccc80){return _0x2584e7(_0x2215e7,_0x247ce5- -0x392,_0x2215e7-_0x2dd4ea._0x142d06,_0xeccc80-0x1c1);}return _0x3d6b31;}function C(_0x12d6ff={}){const _0x53a6e2={_0x2f0979:0x4d8,_0x2e781d:0x86,_0x4f8a6c:0x75,_0x367e1e:0x8f,_0x21eb31:0x99,_0x1d51a3:0x66,_0x437069:0x31,_0x1ac32f:0x53b,_0x24603c:0x4e7,_0x123cda:0x561,_0x52925d:0x4e3,_0x9a3f53:0x41c},_0x152e25={_0x1155a5:0x29d,_0xe75e17:0x188},_0x10c7c5={_0x5910b9:0x2bd,_0x2eae0d:0x5f,_0x55543e:0x6},_0x5279cb={'YkUll':function(_0x5ae024,_0x44ee38){return _0x5ae024===_0x44ee38;},'RUZnc':'win32','WAnQR':function(_0x35e3c2,_0x45f94e){return _0x35e3c2(_0x45f94e);},'ElTJE':function(_0x57b17c){return _0x57b17c();}};function _0x5c8b6a(_0x1850d2,_0x5090d0,_0x592f53,_0xa41688){return _0x2584e7(_0xa41688,_0x592f53- -_0x10c7c5._0x5910b9,_0x592f53-_0x10c7c5._0x2eae0d,_0xa41688-_0x10c7c5._0x55543e);}let {directory:_0x3887d9,currentPid:_0x45cc7f=process['pid'],listProcesses:_0x5733ba=O,isAlive:_0x454f02=R}=_0x12d6ff;if(_0x5279cb[_0x31ff94(0x461,0x485,0x439,_0x53a6e2._0x2f0979)](process[_0x5c8b6a(-_0x53a6e2._0x2e781d,-0x12d,-0xec,-0x7e)],_0x5279cb[_0x5c8b6a(-0xe9,-_0x53a6e2._0x4f8a6c,-_0x53a6e2._0x367e1e,-_0x53a6e2._0x21eb31)])&&!_0x12d6ff[_0x31ff94(0x416,0x46a,0x40e,0x480)])return 0x0;function _0x31ff94(_0x4eaf9b,_0x4d2493,_0x2b2672,_0x363507){return _0x2584e7(_0x4eaf9b,_0x4d2493-_0x152e25._0x1155a5,_0x2b2672-_0x152e25._0xe75e17,_0x363507-0x126);}let _0x1a6961=_0x5279cb[_0x5c8b6a(-_0x53a6e2._0x1d51a3,-0x18,-0x2b,_0x53a6e2._0x437069)](M,_0x3887d9);return _0x5279cb['ElTJE'](_0x5733ba)[_0x31ff94(_0x53a6e2._0x1ac32f,0x4fe,_0x53a6e2._0x24603c,_0x53a6e2._0x123cda)](_0x16c267=>_0x16c267[_0x5c8b6a(-0x50,-0x25,-0x3e,0x1c)]!==_0x45cc7f&&!_0x1a6961[_0x5c8b6a(-0x1a,-0x24,-0x2a,0x3d)](_0x16c267[_0x31ff94(0x557,0x51c,0x4f9,0x56c)])&&_0x454f02(_0x16c267[_0x5c8b6a(-0x25,-0x3f,-0x3e,-0x33)]))[_0x31ff94(_0x53a6e2._0x52925d,0x48d,_0x53a6e2._0x9a3f53,0x484)];}function y(_0xbf0d3a={}){const _0x151e72={_0x49f708:0x4d6,_0x218e48:0x479,_0x3a79cf:0x463,_0x3c8202:0x45d,_0xd1e83d:0x258,_0x82e391:0x216,_0x306454:0x4b3,_0x528bdc:0x47f,_0x5489fd:0x497,_0x53a52c:0x4c3,_0xe7261f:0x41b,_0x5d65cb:0x23b,_0x39aeb2:0x27e,_0x2e427c:0x22d,_0x25ac92:0x21f,_0xec07f5:0x245,_0x4401aa:0x4df,_0x1634ff:0x4cb,_0x5a8d34:0x506,_0x18ac95:0x288,_0x2a5034:0x250,_0x39827a:0x2c7,_0x5d7b53:0x1f4,_0x31dac8:0x1aa,_0x287a07:0x223,_0x1598e7:0x23c,_0x2813ad:0x1c7,_0x4816e5:0x1b2,_0x142a90:0x4cb,_0x247348:0x53d,_0x268774:0x4b2,_0x5799ad:0x1d9,_0x1b500e:0x40c,_0x3486de:0x3a7,_0x51cb60:0x417,_0xbca83d:0x284,_0x5048e2:0x225,_0x43d300:0x18a,_0x56447d:0x3f9,_0x4c4bd7:0x447},_0x7d5625={_0x294452:0x24c,_0x491e27:0x2c,_0xc215e8:0xc5},_0xc68a2f={'crLKN':function(_0x1abce6,_0x20419a){return _0x1abce6!==_0x20419a;},'rFSys':function(_0x5df6f2,_0x2f76ed){return _0x5df6f2(_0x2f76ed);},'ADuxf':function(_0x9ef050,_0x5ca02d,_0x197afb){return _0x9ef050(_0x5ca02d,_0x197afb);},'bmROS':'SIGTERM','MfRlQ':function(_0xef8330,_0x1de563){return _0xef8330(_0x1de563);},'vTfvf':function(_0x3acb51,_0x1bc1ad,_0x3f209f){return _0x3acb51(_0x1bc1ad,_0x3f209f);}};function _0x3f2c4e(_0x522b8f,_0x129481,_0x4f3f2d,_0x539daf){return _0x2584e7(_0x539daf,_0x522b8f-_0x7d5625._0x294452,_0x4f3f2d-_0x7d5625._0x491e27,_0x539daf-_0x7d5625._0xc215e8);}let {directory:_0x4d7a21,currentPid:_0x47c6d6=process[_0x3f2c4e(0x4cb,0x4d4,_0x151e72._0x49f708,_0x151e72._0x218e48)],listProcesses:_0x23428b=O,signalProcess:_0x3b10a4=J,isAlive:_0x1f8813=R,sleep:_0x315ccb=K,termWaitMs:_0x1e0dd2=W}=_0xbf0d3a;const _0x331c65={};_0x331c65['reclaimed']=0x0;function _0x45ee8c(_0x5bee28,_0x47fb6b,_0x466ba6,_0x579272){return _0x2584e7(_0x5bee28,_0x466ba6-0x9,_0x466ba6-0x196,_0x579272-0x113);}_0x331c65[_0x3f2c4e(_0x151e72._0x3a79cf,0x438,_0x151e72._0x3c8202,0x48a)]=!0x0,_0x331c65[_0x45ee8c(_0x151e72._0xd1e83d,0x1e4,0x1f5,_0x151e72._0x82e391)]=_0x3f2c4e(0x48a,_0x151e72._0x306454,_0x151e72._0x528bdc,0x487),_0x331c65[_0x3f2c4e(_0x151e72._0x5489fd,0x44e,_0x151e72._0x53a52c,0x452)]=[];if(process[_0x3f2c4e(0x41d,0x3d7,0x3bc,_0x151e72._0xe7261f)]==='win32'&&!_0xbf0d3a['listProcesses'])return _0x331c65;let _0x337c08=M(_0x4d7a21),_0x234fed=[];for(let _0x39ec24 of _0x23428b())if(_0xc68a2f[_0x45ee8c(_0x151e72._0x5d65cb,_0x151e72._0x39aeb2,_0x151e72._0x2e427c,0x284)](_0x39ec24[_0x45ee8c(_0x151e72._0x25ac92,_0x151e72._0xec07f5,0x288,0x22b)],_0x47c6d6)&&!_0x337c08[_0x3f2c4e(_0x151e72._0x4401aa,0x53c,_0x151e72._0x1634ff,_0x151e72._0x5a8d34)](_0x39ec24[_0x45ee8c(0x238,0x2c8,_0x151e72._0x18ac95,0x29b)])&&_0xc68a2f['rFSys'](_0x1f8813,_0x39ec24[_0x45ee8c(0x2e5,_0x151e72._0x2a5034,_0x151e72._0x18ac95,_0x151e72._0x39827a)])){try{_0xc68a2f[_0x45ee8c(_0x151e72._0x5d7b53,0x1a2,0x1bb,_0x151e72._0x31dac8)](_0x3b10a4,_0x39ec24['pid'],_0xc68a2f[_0x45ee8c(0x257,0x231,_0x151e72._0x287a07,_0x151e72._0x1598e7)]);}catch{continue;}if(_0xc68a2f['MfRlQ'](_0x315ccb,_0x1e0dd2),_0xc68a2f[_0x45ee8c(0x178,0x1f4,_0x151e72._0x2813ad,_0x151e72._0x4816e5)](_0x1f8813,_0x39ec24[_0x3f2c4e(_0x151e72._0x142a90,_0x151e72._0x247348,0x46b,_0x151e72._0x268774)]))try{_0xc68a2f[_0x45ee8c(0x181,_0x151e72._0x5799ad,0x1c5,0x1ec)](_0x3b10a4,_0x39ec24['pid'],'SIGKILL');}catch{continue;}_0x234fed[_0x3f2c4e(_0x151e72._0x1b500e,0x3d4,_0x151e72._0x3486de,_0x151e72._0x51cb60)](_0x39ec24[_0x3f2c4e(0x4cb,0x49b,0x463,0x4e9)]);}const _0x541aeb={};return _0x541aeb[_0x45ee8c(0x2a2,0x285,_0x151e72._0xbca83d,0x27c)]=_0x234fed[_0x45ee8c(0x1fd,_0x151e72._0x5048e2,0x1f9,_0x151e72._0x43d300)],_0x541aeb[_0x3f2c4e(_0x151e72._0x3a79cf,_0x151e72._0x56447d,_0x151e72._0x4c4bd7,0x452)]=!0x1,_0x541aeb['pids']=_0x234fed,_0x541aeb;}import _0x307804 from'node:fs';function _0x2c44a9(_0x278d56,_0x3d483a,_0x5df5b8,_0x259e1c){const _0x292743={_0x197679:0x3f};return _0x109c(_0x5df5b8-_0x292743._0x197679,_0x259e1c);}import _0x4366e7 from'node:path';import{randomUUID as _0x2d200b}from'node:crypto';import{execFileSync as _0x11e0cf}from'node:child_process';var Y=0x10,q=0x40,D=_0x2c44a9(0x241,0x1b2,0x1eb,0x1da),N=_0x2c44a9(0x10e,0x17d,0x13d,0x177),B=_0x2584e7(0x18b,0x1dc,0x202,0x224),H=0xa,V=0x1388,A=0x2710,Z=/^slot-\d+\.json$/,z=0x2710,h=Symbol[_0x2584e7(0x1f9,0x22f,0x1ce,0x21c)](_0x2584e7(0x275,0x22c,0x24f,0x1f7)),I=Math[_0x2584e7(0x174,0x1c1,0x22a,0x232)]((Date['now']()-process[_0x2c44a9(0x232,0x20a,0x1d3,0x219)]()*0x3e8)/0x3e8)*0x3e8;function T(){const _0x12ca9a={_0x531552:0x53},_0x46d12e={};function _0x358429(_0x184d2a,_0x1ea49b,_0x37c663,_0x3d420b){return _0x2c44a9(_0x184d2a-_0x12ca9a._0x531552,_0x1ea49b-0xdc,_0x37c663- -0x351,_0x1ea49b);}return _0x46d12e[_0x358429(-0x18f,-0x1c4,-0x200,-0x1b4)]=null,(globalThis[h]||(globalThis[h]=_0x46d12e),globalThis[h]);}function x(_0x29edc5){const _0x4faab4={_0x328078:0x1d6,_0x172620:0x188,_0x107882:0x16b,_0x425311:0x180,_0x52b9e7:0x1e1,_0x25d7ef:0x379,_0x53b039:0x19c,_0x7e5216:0x184},_0x5394d1={_0x16deb5:0x1e6,_0x550309:0xce,_0x138eb8:0xb},_0x534b3d={};_0x534b3d[_0x415849(_0x4faab4._0x328078,_0x4faab4._0x172620,_0x4faab4._0x107882,0x1df)]=function(_0x3ac448,_0x5afb8c){return _0x3ac448<_0x5afb8c;};function _0x415849(_0x313b62,_0x4865e7,_0x2ce5de,_0x4dae4f){return _0x2c44a9(_0x313b62-_0x5394d1._0x16deb5,_0x4865e7-_0x5394d1._0x550309,_0x2ce5de- -_0x5394d1._0x138eb8,_0x4865e7);}const _0x176ed0=_0x534b3d;function _0x503e3f(_0x4eee37,_0xb7f480,_0x2ad80a,_0x1cd977){return _0x2c44a9(_0x4eee37-0x6f,_0xb7f480-0x159,_0xb7f480-0x17f,_0x4eee37);}let _0x47da27=Number[_0x415849(0x1e5,0x1cf,_0x4faab4._0x425311,_0x4faab4._0x52b9e7)](_0x29edc5,0xa);return!Number[_0x503e3f(_0x4faab4._0x25d7ef,0x373,0x301,0x3bb)](_0x47da27)||_0x176ed0[_0x503e3f(0x316,0x2f5,0x32f,0x2c7)](_0x47da27,0x1)?Y:Math[_0x415849(_0x4faab4._0x53b039,0x1ae,0x18b,_0x4faab4._0x7e5216)](_0x47da27,q);}function Q({directory:_0x48d37b,maxInstances:_0x126aa9,pid:_0x255571=process[_0x2584e7(0x23e,0x27f,0x2a3,0x299)],mainEligible:_0x1ed851=!0x0,registryOptions:_0x5c0f24={}}={}){const _0x54f3f1={_0x14ec7e:0x403,_0x299319:0x397,_0x391223:0x3e,_0x5734a6:0x58,_0x3269f8:0x6,_0x10b8b0:0x37,_0x125f08:0x50,_0x482f4a:0xb3,_0x42fa64:0x379,_0x5ab591:0x35d,_0x56d68f:0x2d2,_0x392656:0x2ed},_0x23b9dc={_0x14a76d:0x1cc},_0xcfb2cd={_0x47e7cd:0x11e,_0x401657:0x19b,_0x3a66d0:0x19b},_0x4b605f={'RhNAk':function(_0x1fe371,_0x452387){return _0x1fe371(_0x452387);},'OvFcw':function(_0x11c773,_0x12e5d6){return _0x11c773>=_0x12e5d6;},'okRKx':function(_0xc7dc6c,_0x11e5da){return _0xc7dc6c+_0x11e5da;},'pIsWh':function(_0x542026,_0x117939){return _0x542026(_0x117939);},'HEnuq':function(_0x491d7b,_0x149052){return _0x491d7b(_0x149052);}},_0x1f6199={};_0x1f6199[_0x5c6da8(0x2d3,0x34e,0x31c,0x2b2)]=!0x0;function _0x5c6da8(_0x172778,_0x5dea0e,_0x3721ac,_0x57c305){return _0x2584e7(_0x57c305,_0x3721ac-_0xcfb2cd._0x47e7cd,_0x3721ac-_0xcfb2cd._0x401657,_0x57c305-_0xcfb2cd._0x3a66d0);}_0x307804['mkdirSync'](_0x48d37b,_0x1f6199);const _0x109f40={'directory':_0x48d37b,'currentPid':_0x255571,..._0x5c0f24};function _0x92dee2(_0x18d376,_0x127039,_0x2ab337,_0x4feb21){return _0x2584e7(_0x2ab337,_0x127039- -_0x23b9dc._0x14a76d,_0x2ab337-0x140,_0x4feb21-0x9);}let _0x2a823d=_0x109f40;for(y(_0x2a823d);;){let _0x691d08=te(_0x48d37b);try{let _0x2135f6=se(_0x48d37b),_0x2ed4c3=_0x4b605f[_0x5c6da8(0x3ef,_0x54f3f1._0x14ec7e,_0x54f3f1._0x299319,0x365)](C,_0x2a823d);if(_0x4b605f[_0x92dee2(_0x54f3f1._0x391223,0x0,0x37,-0x4f)](_0x4b605f[_0x92dee2(_0x54f3f1._0x5734a6,-_0x54f3f1._0x3269f8,_0x54f3f1._0x10b8b0,-0x38)](_0x2135f6[_0x92dee2(_0x54f3f1._0x125f08,0x24,-0x9,0x1a)],_0x2ed4c3),_0x126aa9))return null;const _0x5bac21={};_0x5bac21['directory']=_0x48d37b,_0x5bac21[_0x92dee2(0x69,_0x54f3f1._0x482f4a,0xe2,0x11b)]=_0x255571,_0x5bac21['mainEligible']=_0x1ed851,_0x5bac21[_0x5c6da8(0x387,_0x54f3f1._0x42fa64,_0x54f3f1._0x5ab591,0x34c)]=_0x2135f6[_0x5c6da8(0x2c9,_0x54f3f1._0x56d68f,0x30e,_0x54f3f1._0x392656)];let _0x185fab=_0x4b605f[_0x92dee2(0x48,0x9c,0x38,0x4f)](ee,_0x5bac21);if(F(_0x691d08))return _0x185fab;_0x4b605f['HEnuq'](P,_0x185fab);}finally{ne(_0x691d08);}}}function ee({directory:_0x196f2e,pid:_0x5b2c3a,mainEligible:_0x5484ba,slot:_0x31f46f}){const _0x339108={_0x1813c8:0x5a,_0x5006d0:0x8f,_0x57b7d1:0x60,_0x23137f:0xe9,_0x79bf16:0x141,_0x391e7c:0x120,_0x234456:0x171,_0x537ae9:0x118,_0x43cc08:0x100,_0x54f92d:0xe7,_0x371cd1:0x12f,_0x100729:0xa3,_0x1be290:0x113,_0xd5b81a:0x15a,_0x1bff4d:0x42,_0x557748:0x9b,_0x5d1400:0xe5,_0x112d42:0x81,_0x2efd01:0xd9,_0x30dc81:0xfd,_0x5b1c5d:0x12b,_0x1452ab:0x147,_0x57eb05:0xf5,_0x481a89:0xe0,_0x241fd9:0x14e,_0x1f0d26:0x30,_0xe537d4:0x9f,_0x250239:0x6f,_0x45adee:0xd0,_0x4da188:0xb6,_0x343a11:0xba,_0x1a3e16:0xdd,_0x5e1d40:0xbb,_0x54c099:0x12e,_0x14a1aa:0xcc,_0x38bd32:0x16,_0x4f9309:0x5d,_0x124c38:0x114,_0x202363:0x146,_0x116332:0x15c,_0x143b66:0x110,_0x4eaec6:0x16d,_0x562dfd:0x162,_0xa52c01:0xb3,_0x40722e:0xcd,_0x13e905:0xe1,_0x565daf:0xbd,_0x1245dc:0x121,_0x2c17e9:0x11e,_0x2456c8:0xe8,_0x2e0b11:0xc1,_0x31f743:0x9,_0x386e31:0x5e},_0x4a40a0={_0x317637:0x181,_0x1b298b:0x6b},_0x2c6700={_0x1b460a:0x198,_0x5a3202:0x4b,_0x4c5ca2:0x85},_0x5f18a4={'VlqAZ':function(_0x20dc92,_0x5cb33d){return _0x20dc92||_0x5cb33d;},'YuFkj':_0x2bd454(_0x339108._0x1813c8,_0x339108._0x5006d0,_0x339108._0x57b7d1,_0x339108._0x23137f),'Bjutp':function(_0x1fbe8f){return _0x1fbe8f();},'yaUfk':_0x2bd454(_0x339108._0x79bf16,_0x339108._0x391e7c,_0x339108._0x234456,_0x339108._0x537ae9),'ZZGXw':_0x2bd454(_0x339108._0x43cc08,0xea,_0x339108._0x54f92d,_0x339108._0x371cd1)};let _0x343aa7=_0x5f18a4['Bjutp'](_0x2d200b),_0x283082=_0x4366e7[_0x2bd454(0x128,0x173,0x1bc,0x10b)](_0x196f2e,''+D+_0x5b2c3a+'-'+_0x343aa7),_0x32f96a=_0x4366e7[_0x38aa7a(0xb3,_0x339108._0x100729,_0x339108._0x1be290,_0x339108._0xd5b81a)](_0x283082,N);try{const _0x3e4813={};_0x3e4813[_0x38aa7a(_0x339108._0x1bff4d,0x31,_0x339108._0x557748,0x10f)]=0x1c0;const _0x445094={};_0x445094['encoding']=_0x5f18a4[_0x2bd454(_0x339108._0x5d1400,0xb6,0x83,0x74)],_0x445094[_0x38aa7a(0xc5,_0x339108._0x112d42,0xb5,0x11c)]='wx',_0x445094['mode']=0x180,(_0x307804[_0x2bd454(0x65,_0x339108._0x2efd01,_0x339108._0x30dc81,0x83)](_0x283082,_0x3e4813),_0x307804[_0x2bd454(0xf1,_0x339108._0x5b1c5d,0x183,_0x339108._0x1452ab)](_0x32f96a,JSON[_0x2bd454(_0x339108._0x57eb05,_0x339108._0x481a89,0x78,_0x339108._0x241fd9)]({'pid':_0x5b2c3a,'token':_0x343aa7,'startedAt':Date[_0x38aa7a(0x80,-0x30,0x39,-_0x339108._0x1f0d26)](),'processStartedAt':I,'mainEligible':_0x5484ba}),_0x445094));}catch(_0x343b2a){if(_0x5f18a4[_0x38aa7a(0xfd,_0x339108._0xe537d4,0xb6,_0x339108._0x250239)]===_0x5f18a4[_0x38aa7a(_0x339108._0x1813c8,_0x339108._0x45adee,_0x339108._0x4da188,_0x339108._0x23137f)]){const _0xbc8e81={};_0xbc8e81[_0x2bd454(_0x339108._0x343a11,_0x339108._0x1a3e16,0x90,0xb9)]=!0x0,_0xbc8e81[_0x2bd454(_0x339108._0x5e1d40,_0x339108._0x54c099,_0x339108._0x14a1aa,0xf8)]=!0x0;throw _0x307804['rmSync'](_0x283082,_0xbc8e81),_0x343b2a;}else{let _0x5963de=_0xabac45(_0x5f18a4[_0x38aa7a(_0x339108._0x38bd32,0x1c,_0x339108._0x4f9309,0x43)](_0x3c6088,''));return!!(_0x5963de[_0x2bd454(_0x339108._0x124c38,_0x339108._0x202363,_0x339108._0x116332,_0x339108._0x143b66)]('@bangdao-ai/acw-tools')||/\/acw-tools\//['test'](_0x5963de)||(_0x5963de['includes']('launcher.js')||_0x5963de[_0x2bd454(0x125,0x146,_0x339108._0x4eaec6,_0x339108._0x562dfd)](_0x5f18a4[_0x38aa7a(_0x339108._0x45adee,_0x339108._0xa52c01,0x74,_0x339108._0x40722e)]))&&/acw-tools/[_0x2bd454(0xf8,_0x339108._0x13e905,_0x339108._0x565daf,_0x339108._0x1245dc)](_0x5963de));}}function _0x2bd454(_0x3b576f,_0x2b2b96,_0x1f9652,_0x2b710c){return _0x2c44a9(_0x3b576f-_0x2c6700._0x1b460a,_0x2b2b96-_0x2c6700._0x5a3202,_0x2b2b96- -_0x2c6700._0x4c5ca2,_0x2b710c);}const _0x4611cd={};_0x4611cd[_0x2bd454(0xf8,_0x339108._0x2c17e9,_0x339108._0x2456c8,_0x339108._0x343a11)]=_0x31f46f,_0x4611cd[_0x2bd454(0xf1,0xba,_0x339108._0x2e0b11,0xf1)]=_0x32f96a,_0x4611cd[_0x38aa7a(-_0x339108._0x31f743,0x7d,_0x339108._0x386e31,0xc7)]=_0x283082,_0x4611cd['pid']=_0x5b2c3a,_0x4611cd[_0x2bd454(0x14c,0x128,0x117,0xd3)]=_0x343aa7,_0x4611cd[_0x38aa7a(0x5d,0xc2,0x52,0x83)]=_0x5484ba;function _0x38aa7a(_0x47c3c5,_0x456e4f,_0x20869a,_0x43f2e1){return _0x2584e7(_0x43f2e1,_0x20869a- -_0x4a40a0._0x317637,_0x20869a-_0x4a40a0._0x1b298b,_0x43f2e1-0x190);}return _0x4611cd;}function te(_0x1e0dc0){const _0x298f28={_0x47e6d7:0x1aa,_0x279923:0x216,_0xe4471d:0x1ba,_0x1dfac9:0x1d4,_0x13f733:0x1e0,_0x52b35f:0xcf,_0x336fe5:0xc2,_0x4d9e9d:0x6b,_0x4db81e:0x5c,_0x1e32b4:0x52,_0x4cb367:0x8,_0x2565db:0x5a,_0x5ac597:0x274,_0x410daa:0x1f9,_0x4ce918:0x21c,_0x11bcef:0x8f,_0x4f433e:0x86,_0x4bf45f:0xdb,_0x31f210:0x9,_0x18058f:0x5d,_0x38f5a0:0x98,_0x1aed2b:0xc5,_0x4910ee:0x6c,_0x134546:0x95,_0x25e2d8:0x48,_0x28b027:0x4b,_0x429e88:0x0,_0x461879:0x1e1,_0x25bc8e:0x197,_0x1944f8:0x1eb,_0x399950:0x1ca,_0x4d3d78:0x70,_0x58bf75:0x1d2,_0x242cf6:0x23a,_0x4c4f47:0x216,_0x218abe:0x3d,_0x5237b4:0xa,_0x517369:0x4c,_0x17be0d:0x34,_0x52828a:0xca,_0x347cbc:0x58,_0x1691f6:0xe7,_0x13a4c3:0x1c9,_0x2124df:0x1fd,_0x18d48c:0x166,_0x5e6b6:0x1c8,_0xde1436:0x159,_0x46a8ce:0x1d7,_0x2fe96f:0x1c0,_0x4ce8b1:0x1d0,_0x4bfb0e:0x160,_0x75f9e3:0x192,_0x20051a:0x6,_0x563d1a:0x16,_0x293dd2:0x51,_0x5341f4:0x9f,_0x7608ae:0x111,_0x39c69c:0xde,_0x56514e:0x267,_0x4e9871:0x8e,_0x4ccb04:0x95,_0x32b846:0x187,_0x3cba9b:0x11f,_0x33d84c:0x24,_0x5c07c0:0x5d,_0x52bf20:0x63,_0x4c9302:0x198,_0x3b3c8c:0x196,_0x325dc4:0x15d,_0xde0534:0x198,_0x2352c5:0x1f0,_0x46ca05:0x124,_0x4aa645:0x7d,_0xeee557:0xb0},_0x49ac23={_0x5e8d9c:0x1ed},_0x5ca23e={'CbwJF':_0x133713(-0x1d6,-_0x298f28._0x47e6d7,-0x17b,-_0x298f28._0x279923),'aAAHH':function(_0xa9c9da,_0x4fb358){return _0xa9c9da>_0x4fb358;},'kPmPr':function(_0x3c0528,_0xeb245a){return _0x3c0528+_0xeb245a;},'yPWil':function(_0x21d67d){return _0x21d67d();},'FUfbJ':function(_0x217c77,_0x1f95cc){return _0x217c77===_0x1f95cc;},'GajXi':'WTaXQ','KFiwm':'sdFIJ'};function _0x133713(_0x227d11,_0x337fe1,_0x2dba50,_0xc29f7e){return _0x2c44a9(_0x227d11-0x1c1,_0x337fe1-0x32,_0x227d11- -0x37b,_0x337fe1);}let _0x317c5d=_0x4366e7[_0x133713(-0x183,-0x176,-0x14b,-_0x298f28._0xe4471d)](_0x1e0dc0,B),_0x1273ef=_0x5ca23e[_0x133713(-0x23d,-_0x298f28._0x1dfac9,-_0x298f28._0x13f733,-0x225)](Date[_0x20ed3a(-0xb6,-_0x298f28._0x52b35f,-0x12c,-_0x298f28._0x336fe5)](),V);function _0x20ed3a(_0x5f0baf,_0x260e7c,_0x3f895e,_0x77fc0c){return _0x2c44a9(_0x5f0baf-0x86,_0x260e7c-0xb8,_0x260e7c- -_0x49ac23._0x5e8d9c,_0x5f0baf);}for(;;){let _0x2f9bc5=_0x5ca23e[_0x20ed3a(-_0x298f28._0x4d9e9d,-0x6e,-_0x298f28._0x4db81e,-_0x298f28._0x1e32b4)](_0x2d200b);try{if(_0x20ed3a(0x1f,-_0x298f28._0x4cb367,_0x298f28._0x2565db,0x7)==='TyfDK')process['stderr']['write'](_0x133713(-0x230,-0x23f,-0x22c,-0x1eb)+_0x439108['message']+'\x0a'),process[_0x133713(-0x25a,-_0x298f28._0x5ac597,-_0x298f28._0x410daa,-_0x298f28._0x4ce918)](0x1);else{const _0x1f79bd={};_0x1f79bd['mode']=0x1c0,_0x307804[_0x20ed3a(-0xfc,-_0x298f28._0x11bcef,-_0x298f28._0x4f433e,-_0x298f28._0x4bf45f)](_0x317c5d,_0x1f79bd);let _0x375568=_0x4366e7[_0x20ed3a(-_0x298f28._0x31f210,0xb,-_0x298f28._0x18058f,0x29)](_0x317c5d,N);const _0xa52844={};return _0xa52844[_0x20ed3a(-_0x298f28._0x38f5a0,-_0x298f28._0x1aed2b,-_0x298f28._0x4910ee,-_0x298f28._0x134546)]=_0x20ed3a(-0x30,-_0x298f28._0x25e2d8,-_0x298f28._0x28b027,_0x298f28._0x429e88),_0xa52844[_0x133713(-_0x298f28._0x461879,-_0x298f28._0x25bc8e,-_0x298f28._0x1944f8,-_0x298f28._0x399950)]='wx',_0xa52844[_0x20ed3a(-0x3c,-0x6d,-0x90,-_0x298f28._0x4d3d78)]=0x180,(_0x307804[_0x133713(-0x1cb,-_0x298f28._0x58bf75,-_0x298f28._0x242cf6,-0x197)](_0x375568,JSON[_0x133713(-_0x298f28._0x4c4f47,-0x24f,-0x255,-0x1e9)]({'pid':process[_0x20ed3a(-_0x298f28._0x218abe,-_0x298f28._0x5237b4,-_0x298f28._0x4d3d78,-_0x298f28._0x517369)],'token':_0x2f9bc5,'startedAt':Date['now'](),'processStartedAt':I}),_0xa52844),{'leaseDirectory':_0x317c5d,'slotPath':_0x375568,'pid':process[_0x20ed3a(-_0x298f28._0x17be0d,-_0x298f28._0x5237b4,0x16,-0x34)],'token':_0x2f9bc5});}}catch(_0x44ee8e){if(_0x5ca23e[_0x20ed3a(-0x6c,-_0x298f28._0x52828a,-_0x298f28._0x347cbc,-_0x298f28._0x1691f6)](_0x5ca23e[_0x133713(-0x1ec,-0x22b,-_0x298f28._0x13a4c3,-0x1ef)],_0x133713(-0x18b,-0x1f3,-_0x298f28._0x2124df,-_0x298f28._0x18d48c))){const _0x3b59c5={};_0x3b59c5[_0x133713(-0x219,-0x272,-0x265,-0x232)]=!0x0,_0x3b59c5[_0x133713(-_0x298f28._0x5e6b6,-_0x298f28._0xde1436,-_0x298f28._0x46a8ce,-0x1cb)]=!0x0;if(_0x44ee8e[_0x133713(-_0x298f28._0x2fe96f,-0x1b5,-_0x298f28._0x4ce8b1,-_0x298f28._0x4bfb0e)]!=='EEXIST')throw _0x307804[_0x133713(-_0x298f28._0x75f9e3,-0x1a9,-0x132,-0x1da)](_0x317c5d,_0x3b59c5),_0x44ee8e;}else _0x9d31d7['dispose']();}if(!re(_0x317c5d)){if(_0x20ed3a(0x2c,-_0x298f28._0x20051a,-0xd,0x58)!==_0x5ca23e[_0x20ed3a(-_0x298f28._0x563d1a,-_0x298f28._0x293dd2,-_0x298f28._0x5341f4,-0x3d)]){if(Date[_0x20ed3a(-_0x298f28._0x7608ae,-_0x298f28._0x52b35f,-_0x298f28._0x39c69c,-0x10a)]()>=_0x1273ef)throw new Error(_0x133713(-0x220,-0x20c,-0x201,-_0x298f28._0x56514e));Atomics[_0x20ed3a(-_0x298f28._0x4e9871,-_0x298f28._0x4ccb04,-0x3b,-0x5f)](new Int32Array(new SharedArrayBuffer(0x4)),0x0,0x0,H);}else{let _0x506562=_0x993d73[_0x20ed3a(-0x4e,-_0x298f28._0x4910ee,-0x28,-0x50)](_0x47d137['readFileSync'](_0x16cb2e,_0x5ca23e['CbwJF']));_0x53b631[_0x133713(-_0x298f28._0x32b846,-_0x298f28._0x3cba9b,-0x131,-0x1c0)](_0x506562?.[_0x20ed3a(-0x4d,-0xa,_0x298f28._0x33d84c,-0x5c)])&&_0x5ca23e[_0x20ed3a(-_0x298f28._0x5c07c0,-0x68,-_0x298f28._0x52bf20,-0xc3)](_0x506562[_0x133713(-_0x298f28._0x4c9302,-_0x298f28._0x3b3c8c,-_0x298f28._0x325dc4,-0x13c)],0x0)&&_0x506562[_0x133713(-_0x298f28._0xde0534,-_0x298f28._0x2352c5,-_0x298f28._0x46ca05,-0x1dc)]<_0x4d7cdb['MAX_SAFE_INTEGER']&&_0x5d0d0a[_0x20ed3a(-0x6f,-0x60,-_0x298f28._0x4aa645,-_0x298f28._0xeee557)](_0x506562['pid']);}}}}function re(_0x47bafd){const _0x2c9959={_0x2f197c:0x45e,_0x50252b:0x41d,_0x38d9f6:0x428,_0x20ef23:0x431,_0x14cf5b:0x4a1,_0xf475e4:0x4a7,_0x473bc8:0x4c1,_0x14efa4:0x49f,_0x1e5015:0x4bb,_0x1164b2:0x3ae,_0x33fdce:0x3be,_0x41a97e:0x3cf,_0x3d8d3d:0x313,_0x590fca:0x3fb,_0x51b207:0x3c4,_0x3089b5:0x468,_0x85ced1:0x356,_0x4a4b6a:0x3de,_0x3cf3cb:0x3a1,_0x30910c:0x3cb,_0x21c4ce:0x3eb,_0x2dca91:0x3c5,_0x2f85d3:0x3f5,_0x270f84:0x3eb,_0x1bba98:0x3cd,_0x37d25a:0x3ec,_0x42e373:0x3cc,_0x4de459:0x3ee,_0x55abc6:0x461,_0x5e6271:0x2e0,_0x552c37:0x335,_0x444014:0x2de,_0x483aab:0x41f,_0x54ca3f:0x3c2,_0xa2e2e:0x45a,_0x4fb5e6:0x44f},_0x37cb26={_0x37ba91:0x17d,_0x792ba8:0x14b},_0x23dd8a={_0x1f6000:0x8d},_0x197304={'GyXWm':function(_0x117fe3){return _0x117fe3();},'gchFO':'yjkBC','INmdq':_0x4d04c5(0x392,0x404,_0x2c9959._0x2f197c,_0x2c9959._0x50252b),'nnEHW':function(_0x39a1e8,_0x5ea3cb){return _0x39a1e8<_0x5ea3cb;},'uLabf':function(_0x3f681c){return _0x3f681c();}};let _0x1d8317,_0x594661;function _0x2caa3d(_0x473e21,_0x4d5e34,_0x1284ad,_0x4a3497){return _0x2584e7(_0x473e21,_0x4d5e34-0x16d,_0x1284ad-_0x23dd8a._0x1f6000,_0x4a3497-0x7f);}function _0x4d04c5(_0x4aaf0b,_0x51375c,_0x841e8c,_0x4a98ee){return _0x2584e7(_0x4a98ee,_0x51375c-0x20b,_0x841e8c-_0x37cb26._0x37ba91,_0x4a98ee-_0x37cb26._0x792ba8);}try{_0x1d8317=_0x307804['statSync'](_0x47bafd),_0x594661=JSON[_0x4d04c5(0x3f5,_0x2c9959._0x38d9f6,0x3cf,_0x2c9959._0x20ef23)](_0x307804[_0x4d04c5(_0x2c9959._0x14cf5b,0x44e,_0x2c9959._0xf475e4,_0x2c9959._0x473bc8)](_0x4366e7[_0x4d04c5(0x459,_0x2c9959._0x14efa4,0x443,_0x2c9959._0x1e5015)](_0x47bafd,N),_0x2caa3d(0x33d,_0x2c9959._0x1164b2,_0x2c9959._0x33fdce,0x371)));}catch(_0x3beb67){if(_0x197304[_0x2caa3d(0x414,_0x2c9959._0x41a97e,0x39b,0x366)]===_0x2caa3d(0x2c5,0x323,_0x2c9959._0x3d8d3d,0x396)){for(let _0x1b64c9 of _0x1823b3)_0x197304['GyXWm'](_0x1b64c9);_0x36d046[_0x4d04c5(0x3d3,_0x2c9959._0x590fca,_0x2c9959._0x51b207,_0x2c9959._0x3089b5)]=0x0;}else{if(_0x3beb67[_0x2caa3d(0x3be,0x3c4,0x416,_0x2c9959._0x85ced1)]===_0x197304[_0x2caa3d(_0x2c9959._0x4a4b6a,_0x2c9959._0x3cf3cb,0x413,_0x2c9959._0x30910c)]&&!_0x1d8317)return!0x0;if(!_0x1d8317||_0x197304['nnEHW'](Date[_0x4d04c5(_0x2c9959._0x21c4ce,_0x2c9959._0x2dca91,0x3be,0x3d0)]()-_0x1d8317[_0x2caa3d(0x443,_0x2c9959._0x2f85d3,_0x2c9959._0x270f84,_0x2c9959._0x1bba98)],A))return!0x1;}}if(_0x594661&&_(_0x594661[_0x2caa3d(0x3a5,_0x2c9959._0x37d25a,_0x2c9959._0x42e373,0x438)],_0x594661['processStartedAt']??_0x594661['startedAt']))return!0x1;let _0x41bbb9=_0x47bafd+_0x2caa3d(0x312,0x383,0x388,0x342)+process['pid']+'-'+_0x197304[_0x4d04c5(0x3f7,_0x2c9959._0x4de459,_0x2c9959._0x55abc6,0x410)](_0x2d200b);try{_0x307804[_0x2caa3d(_0x2c9959._0x5e6271,_0x2c9959._0x552c37,_0x2c9959._0x444014,0x3a3)](_0x47bafd,_0x41bbb9);}catch(_0x591902){return _0x591902['code']===_0x4d04c5(_0x2c9959._0x483aab,0x404,0x406,_0x2c9959._0x54ca3f);}const _0x29b49c={};return _0x29b49c['recursive']=!0x0,_0x29b49c[_0x4d04c5(0x434,_0x2c9959._0xa2e2e,_0x2c9959._0x4fb5e6,0x4b3)]=!0x0,(_0x307804['rmSync'](_0x41bbb9,_0x29b49c),!0x0);}function ne(_0x28ac30){const _0x4c4fe6={_0x2057b5:0xb8,_0x434f32:0xfe},_0x320f72={_0x20b16b:0x300,_0x236546:0x1e7};function _0x33f452(_0x5e5203,_0x19534b,_0x5d6061,_0x35f1a6){return _0x2584e7(_0x5e5203,_0x35f1a6- -_0x320f72._0x20b16b,_0x5d6061-0xf1,_0x35f1a6-_0x320f72._0x236546);}const _0x564a08={'OGgwN':function(_0x46ed13,_0x26e75e){return _0x46ed13(_0x26e75e);}};_0x564a08[_0x33f452(-_0x4c4fe6._0x2057b5,-0xe8,-_0x4c4fe6._0x434f32,-0x101)](P,_0x28ac30);}function F(_0x43ec29){const _0x1777fc={_0x425c05:0x229,_0x22a3c9:0x267,_0xb808f6:0x1f,_0x3c1fd1:0x2a,_0x105572:0x17,_0x26d049:0x29,_0x45ee7f:0x1a,_0x1b6e98:0xc,_0x54f5a3:0xa1,_0x3d43a2:0x40,_0x22c394:0x190,_0x3fa2c5:0x1ff,_0x1172aa:0x1f3,_0x3dc954:0x21e,_0x2dcb06:0x27f,_0x115d40:0x234,_0x50ca34:0x223,_0x3abc55:0x229,_0x243dc2:0x21c,_0x818c6d:0x11,_0x504c38:0x70,_0x631d34:0x23a,_0x4a7423:0x256,_0x5c9f98:0x19e},_0x488480={_0x47d426:0xa6,_0x16c0a0:0xb8},_0x78b12e={};_0x78b12e[_0x4d95c4(0x1c3,0x27a,_0x1777fc._0x425c05,_0x1777fc._0x22a3c9)]=function(_0x53bddf,_0x5adbcd){return _0x53bddf===_0x5adbcd;};function _0x4d95c4(_0x3d974d,_0x9a3be7,_0xafca98,_0x20942e){return _0x2584e7(_0x3d974d,_0xafca98- -0x4b,_0xafca98-0x3b,_0x20942e-0x168);}const _0x14182f=_0x78b12e;function _0x12282d(_0x38326c,_0x18e2e2,_0x30f7ec,_0x41b44b){return _0x2c44a9(_0x38326c-_0x488480._0x47d426,_0x18e2e2-_0x488480._0x16c0a0,_0x41b44b- -0x167,_0x18e2e2);}if(!_0x43ec29?.[_0x12282d(_0x1777fc._0xb808f6,-_0x1777fc._0x3c1fd1,_0x1777fc._0x105572,-0x28)])return!0x1;try{let _0x4ca839=JSON[_0x12282d(0x6,-0x2e,-_0x1777fc._0x26d049,_0x1777fc._0x45ee7f)](_0x307804[_0x12282d(0x22,-_0x1777fc._0x1b6e98,_0x1777fc._0x54f5a3,_0x1777fc._0x3d43a2)](_0x43ec29[_0x4d95c4(0x1e9,0x166,_0x1777fc._0x22c394,_0x1777fc._0x3fa2c5)],'utf8'));return _0x14182f[_0x4d95c4(0x283,_0x1777fc._0x1172aa,_0x1777fc._0x425c05,0x23f)](_0x4ca839['pid'],_0x43ec29[_0x4d95c4(_0x1777fc._0x3dc954,_0x1777fc._0x2dcb06,_0x1777fc._0x115d40,0x1d0)])&&_0x14182f[_0x4d95c4(0x29a,_0x1777fc._0x50ca34,_0x1777fc._0x3abc55,_0x1777fc._0x243dc2)](_0x4ca839[_0x12282d(_0x1777fc._0x818c6d,-0x1,_0x1777fc._0x504c38,0x46)],_0x43ec29[_0x4d95c4(_0x1777fc._0x631d34,_0x1777fc._0x4a7423,0x1fe,_0x1777fc._0x5c9f98)]);}catch{return!0x1;}}function v(_0x9e54d9){const _0x207df4={_0x30ec31:0xad,_0x287004:0x246},_0x19d2df={_0x3fc412:0x173},_0x5c83ae={_0x3a7994:0x192};let _0x3aea7f=T();function _0x58a2dd(_0x575889,_0x51283c,_0x370372,_0x1398e6){return _0x2c44a9(_0x575889-_0x5c83ae._0x3a7994,_0x51283c-0x14d,_0x575889- -0x397,_0x51283c);}function _0xc54ee4(_0x4b305b,_0x1bc761,_0x4dbba6,_0x511734){return _0x2c44a9(_0x4b305b-0x171,_0x1bc761-_0x19d2df._0x3fc412,_0x4dbba6- -0x6e,_0x4b305b);}if(_0x3aea7f[_0xc54ee4(_0x207df4._0x30ec31,0x8e,0xe3,0x10a)])return _0x3aea7f['lease'];let _0x56d4dc=Q(_0x9e54d9);return _0x56d4dc&&(_0x3aea7f[_0x58a2dd(-_0x207df4._0x287004,-0x253,-0x26a,-0x262)]=_0x56d4dc),_0x56d4dc;}function _0x2584e7(_0x6b6b1a,_0x5871e5,_0x1eb1a0,_0x44f739){return _0x109c(_0x5871e5-0xdb,_0x6b6b1a);}function se(_0x2238b3){const _0x3e5d1f={_0x2144ac:0x2d3,_0x1a084e:0x3d3,_0x29a778:0x360,_0x2be82d:0x375,_0x215342:0x39a,_0x3ee9ff:0x2cd,_0x293a44:0x2e2,_0x418d17:0x2d9,_0x5d0897:0x2f8,_0x23742f:0x335,_0x57396b:0x2b1,_0x533cf0:0x32a,_0x5ec9f0:0x30c,_0x354ba4:0x2d9,_0x44887b:0x322},_0x514ef4={_0x29093e:0xfa,_0x19f5fd:0x16e,_0x5bce41:0x1b5},_0x55d635={_0x1bdcd1:0x1ba,_0x376e64:0x1df,_0x316568:0x137},_0x14547c={'njSTT':function(_0x45eddf,_0x372180,_0x3094da){return _0x45eddf(_0x372180,_0x3094da);}};let _0x38793b=[],_0x45fc73=Date[_0x21ede1(0x2cd,_0x3e5d1f._0x2144ac,0x312,0x31e)]();const _0x19323c={};_0x19323c[_0x315bd6(0x38e,0x330,0x349,0x34e)]=!0x0;function _0x315bd6(_0x323b5e,_0xa416a5,_0x2d2217,_0x40b7f1){return _0x2584e7(_0x40b7f1,_0x323b5e-_0x55d635._0x1bdcd1,_0x2d2217-_0x55d635._0x376e64,_0x40b7f1-_0x55d635._0x316568);}function _0x21ede1(_0x34a9f8,_0x273084,_0x511f73,_0x4e5dce){return _0x2c44a9(_0x34a9f8-_0x514ef4._0x29093e,_0x273084-_0x514ef4._0x19f5fd,_0x273084-_0x514ef4._0x5bce41,_0x4e5dce);}for(let _0x59feb7 of _0x307804['readdirSync'](_0x2238b3,_0x19323c)){let _0x3acb6c=_0x4366e7[_0x21ede1(_0x3e5d1f._0x1a084e,0x3ad,0x370,_0x3e5d1f._0x29a778)](_0x2238b3,_0x59feb7[_0x315bd6(_0x3e5d1f._0x2be82d,0x364,_0x3e5d1f._0x215342,0x3d0)]);if(_0x59feb7['isDirectory']()&&_0x59feb7['name'][_0x21ede1(0x370,0x33b,0x306,_0x3e5d1f._0x3ee9ff)](D)){let _0x26b508=_0x14547c['njSTT'](oe,_0x3acb6c,_0x45fc73);_0x26b508&&_0x38793b[_0x21ede1(_0x3e5d1f._0x293a44,_0x3e5d1f._0x418d17,_0x3e5d1f._0x5d0897,0x327)](_0x26b508);continue;}if(_0x59feb7['isFile']()&&Z[_0x21ede1(_0x3e5d1f._0x23742f,0x31b,0x30c,_0x3e5d1f._0x57396b)](_0x59feb7[_0x21ede1(_0x3e5d1f._0x533cf0,0x2d4,_0x3e5d1f._0x5ec9f0,0x311)])){let _0x293637=ie(_0x3acb6c,_0x45fc73);_0x293637&&_0x38793b[_0x21ede1(0x30f,_0x3e5d1f._0x354ba4,0x2ed,_0x3e5d1f._0x44887b)](_0x293637);}}return _0x38793b;}function oe(_0x56d2cf,_0x57e9b2){const _0x19a904={_0x10756b:0x44d,_0x3e2d11:0x405,_0x37f68c:0x23b,_0x3b3306:0x20f,_0x484c71:0x255,_0x17903e:0x223,_0x41673e:0x1fe,_0x14330d:0x24c,_0x481c87:0x1a6,_0x52c003:0x315,_0x1e8c16:0x351,_0x57752f:0x351,_0x126567:0x324,_0x20eba9:0x1e5,_0x33c22a:0x3c6,_0x51d61a:0x35a,_0x5a4c61:0x379,_0x51545d:0x429,_0x20eff0:0x3a2,_0x37892a:0x3d9,_0x3cbf02:0x3e3,_0x20ee1d:0x1cf,_0x2d8355:0x124,_0x3723fb:0x191,_0x547a42:0x1d6,_0x5a1363:0x2b3,_0x2a771d:0x235,_0x1451a2:0x37f,_0x4de19d:0x32b,_0xa98584:0x1a6,_0x41fc97:0x180,_0x2dd081:0x1d5,_0x1e8149:0x160,_0x38d890:0x275,_0x721e4:0x1e6,_0x48f333:0x213},_0x98eed6={_0x18b071:0x1d,_0x1c0d83:0x98},_0x5280f6={_0x415687:0x17d,_0x2141d7:0x4e,_0x177cd1:0x5d},_0x43b917={'MTjmh':function(_0x3de78b,_0x5b68e6){return _0x3de78b===_0x5b68e6;},'SvMqS':function(_0x5a3f7f,_0xdecde){return _0x5a3f7f-_0xdecde;},'xYvQc':function(_0x1fc853,_0xf23fce){return _0x1fc853(_0xf23fce);},'IwNyu':function(_0x4e1675,_0xb09f5c){return _0x4e1675(_0xb09f5c);}};function _0x3a63ca(_0xda0416,_0x3fde3c,_0x48db5d,_0x422c8a){return _0x2c44a9(_0xda0416-_0x5280f6._0x415687,_0x3fde3c-_0x5280f6._0x2141d7,_0x48db5d-_0x5280f6._0x177cd1,_0x3fde3c);}let _0x20590b;function _0x6892c7(_0x1af16c,_0x544791,_0x4dac50,_0x58037e){return _0x2c44a9(_0x1af16c-_0x98eed6._0x18b071,_0x544791-_0x98eed6._0x1c0d83,_0x544791-0x223,_0x4dac50);}try{const _0x3f5b57={};_0x3f5b57[_0x6892c7(_0x19a904._0x10756b,_0x19a904._0x3e2d11,0x416,0x40b)]=!0x0,_0x20590b=_0x307804['statSync'](_0x56d2cf,_0x3f5b57);let _0xd2aa84=JSON['parse'](_0x307804['readFileSync'](_0x4366e7[_0x3a63ca(_0x19a904._0x37f68c,_0x19a904._0x3b3306,_0x19a904._0x484c71,0x294)](_0x56d2cf,N),'utf8'));if(_(_0xd2aa84?.['pid'],_0xd2aa84?.[_0x3a63ca(0x1c7,_0x19a904._0x17903e,_0x19a904._0x41673e,0x250)]??_0xd2aa84?.[_0x3a63ca(_0x19a904._0x14330d,0x1c0,0x1df,_0x19a904._0x481c87)]))return{'leaseDirectory':_0x56d2cf,'createdAtNs':_0x20590b[_0x6892c7(_0x19a904._0x52c003,_0x19a904._0x1e8c16,_0x19a904._0x57752f,_0x19a904._0x126567)],'pid':_0xd2aa84[_0x3a63ca(_0x19a904._0x20eba9,0x1df,0x240,0x1ec)],'mainEligible':_0xd2aa84[_0x6892c7(_0x19a904._0x33c22a,_0x19a904._0x51d61a,_0x19a904._0x5a4c61,0x374)]!==!0x1};}catch(_0x189ff9){if(_0x43b917[_0x6892c7(_0x19a904._0x51545d,0x3d7,0x3b5,_0x19a904._0x20eff0)](_0x189ff9[_0x6892c7(_0x19a904._0x37892a,0x3de,0x387,0x3f4)],_0x6892c7(0x36d,0x380,0x3ac,_0x19a904._0x3cbf02))&&!_0x20590b)return null;if((_0x20590b?_0x43b917[_0x3a63ca(_0x19a904._0x20ee1d,_0x19a904._0x2d8355,_0x19a904._0x3723fb,_0x19a904._0x547a42)](_0x57e9b2,_0x43b917['xYvQc'](Number,_0x20590b[_0x3a63ca(_0x19a904._0x5a1363,0x245,0x249,_0x19a904._0x2a771d)])):A)<A)return{'leaseDirectory':_0x56d2cf,'createdAtNs':_0x20590b?.[_0x6892c7(0x2e4,_0x19a904._0x57752f,_0x19a904._0x126567,0x368)]??_0x43b917[_0x6892c7(0x33e,_0x19a904._0x1451a2,0x377,_0x19a904._0x4de19d)](BigInt,Date['now']())*0xf4240n,'pid':Number[_0x3a63ca(_0x19a904._0xa98584,_0x19a904._0x41fc97,_0x19a904._0x2dd081,0x1ec)],'mainEligible':!0x0};}const _0x2ebb91={};return _0x2ebb91[_0x3a63ca(0x188,_0x19a904._0x1e8149,0x1bf,0x169)]=!0x0,_0x2ebb91[_0x3a63ca(0x22f,0x254,0x210,_0x19a904._0x38d890)]=!0x0,(_0x307804[_0x3a63ca(_0x19a904._0x721e4,_0x19a904._0x48f333,0x246,0x27a)](_0x56d2cf,_0x2ebb91),null);}function ie(_0x1eb3ab,_0x44c3b5){const _0x5871dd={_0xe30854:0x3c9,_0x2e3526:0x38d,_0x43218e:0x2b6,_0x486256:0x276,_0xfad3ab:0x272,_0x3825e3:0x2dc,_0xd0e247:0x3e2,_0x1594b6:0x3f4,_0xba0589:0x3e7,_0x11d214:0x287,_0x497a0a:0x2bf,_0x426e49:0x2fc,_0x322372:0x378,_0x578a3c:0x322,_0x4b4cfc:0x334,_0x5c660f:0x380,_0x4cc56a:0x348,_0x3adb63:0x396,_0x16dda4:0x38b,_0x48eb74:0x465,_0x30d6a5:0x403,_0x52ec9f:0x449,_0x44e15d:0x3de,_0x561679:0x3c1,_0x3a96f9:0x384,_0x456f20:0x392,_0x30828c:0x3a2,_0x5627e4:0x405,_0x5499b5:0x39c,_0x1a9f3f:0x34e,_0x5f3b4c:0x3bd,_0x44b726:0x38d,_0xf23162:0x3b7,_0x21285f:0x3db,_0x3fc4a7:0x416,_0x2d9c5e:0x33b,_0x1b4b28:0x2e1,_0x5025dc:0x2e5,_0x5a7ea4:0x26e,_0x5074f9:0x2cf,_0x394528:0x27d,_0x590a10:0x398,_0x25c674:0x326,_0x27ca05:0x278,_0x19a03a:0x2cc,_0x313618:0x337,_0x340d39:0x36a,_0x317c6a:0x42f,_0x1c0cf2:0x3db,_0x94a16d:0x407,_0xadcc41:0x436,_0x55479d:0x30e,_0x5e1457:0x2bc,_0xdc48a5:0x281,_0x5e786d:0x2b7},_0x1b3485={_0x562f67:0x184,_0x18e3ff:0x37},_0x48d3fd={_0x1366c1:0x1af,_0x5227e9:0x1a1},_0x3b7cd2={};_0x3b7cd2['cjQmu']=_0x55c5e0(_0x5871dd._0xe30854,0x3f2,0x3e7,0x441);function _0x355e61(_0x3d545b,_0x58d828,_0x45559b,_0x202b0f){return _0x2c44a9(_0x3d545b-_0x48d3fd._0x1366c1,_0x58d828-0x1d1,_0x58d828-_0x48d3fd._0x5227e9,_0x3d545b);}function _0x55c5e0(_0x4d5ed8,_0x4b99c3,_0x485ff3,_0x5ef7c5){return _0x2584e7(_0x4d5ed8,_0x4b99c3-_0x1b3485._0x562f67,_0x485ff3-0x17,_0x5ef7c5-_0x1b3485._0x18e3ff);}_0x3b7cd2[_0x55c5e0(0x335,0x33b,_0x5871dd._0x2e3526,0x3ac)]='ENOENT',_0x3b7cd2[_0x355e61(0x27e,_0x5871dd._0x43218e,_0x5871dd._0x486256,_0x5871dd._0xfad3ab)]=function(_0x11cf19,_0x5bf526){return _0x11cf19<_0x5bf526;},_0x3b7cd2['ezXDV']=function(_0x553872,_0x3a6f9d){return _0x553872!==_0x3a6f9d;};const _0xa3e6d0=_0x3b7cd2;let _0xbd4ece;try{if(_0x355e61(_0x5871dd._0x3825e3,0x2f3,0x2d9,0x355)===_0xa3e6d0[_0x55c5e0(0x444,_0x5871dd._0xd0e247,_0x5871dd._0x1594b6,_0x5871dd._0xba0589)]){if(_0x227ecf[_0x355e61(_0x5871dd._0x11d214,_0x5871dd._0x497a0a,0x29e,0x2a9)]()>=_0x4b46ac)throw new _0x2499ad(_0x355e61(0x370,_0x5871dd._0x426e49,0x29e,0x2c6));_0x1f07d4[_0x55c5e0(0x37f,_0x5871dd._0x322372,0x378,0x3c1)](new _0x4e6870(new _0x3169b9(0x4)),0x0,0x0,_0x5bab87);}else{const _0x599c4e={};_0x599c4e['bigint']=!0x0,_0xbd4ece=_0x307804['statSync'](_0x1eb3ab,_0x599c4e);let _0x31faba=JSON[_0x355e61(0x2e6,_0x5871dd._0x578a3c,_0x5871dd._0x4b4cfc,_0x5871dd._0x5c660f)](_0x307804[_0x355e61(0x305,_0x5871dd._0x4cc56a,0x2e6,_0x5871dd._0x3adb63)](_0x1eb3ab,_0x355e61(0x338,0x346,_0x5871dd._0x16dda4,0x365)));if(_(_0x31faba?.[_0x55c5e0(_0x5871dd._0x48eb74,_0x5871dd._0x30d6a5,_0x5871dd._0x52ec9f,_0x5871dd._0x44e15d)],_0x31faba?.[_0x55c5e0(0x3d0,_0x5871dd._0x561679,_0x5871dd._0x3a96f9,_0x5871dd._0x456f20)]??_0x31faba?.[_0x55c5e0(0x3e9,_0x5871dd._0x30828c,0x3ac,_0x5871dd._0x5627e4)]))return{'leaseDirectory':_0x1eb3ab,'createdAtNs':_0xbd4ece[_0x55c5e0(_0x5871dd._0x5499b5,_0x5871dd._0x1a9f3f,0x362,0x385)],'pid':_0x31faba[_0x355e61(_0x5871dd._0x5f3b4c,0x384,_0x5871dd._0x44b726,_0x5871dd._0xf23162)],'mainEligible':!0x0};}}catch(_0xcaea84){if(_0xcaea84[_0x55c5e0(0x3d1,_0x5871dd._0x21285f,_0x5871dd._0x3fc4a7,0x3fc)]===_0xa3e6d0[_0x55c5e0(0x2ca,_0x5871dd._0x2d9c5e,0x2f8,_0x5871dd._0x1b4b28)])return null;if(_0xa3e6d0[_0x355e61(_0x5871dd._0x5025dc,0x2b6,_0x5871dd._0x5a7ea4,0x2ce)](_0xbd4ece?_0x44c3b5-Number(_0xbd4ece[_0x355e61(0x3e4,_0x5871dd._0x2e3526,0x3ba,0x354)]):A,A))return{'leaseDirectory':_0x1eb3ab,'createdAtNs':_0xbd4ece?.[_0x355e61(_0x5871dd._0x578a3c,_0x5871dd._0x5074f9,_0x5871dd._0x394528,0x306)]??0x0n,'pid':Number[_0x55c5e0(0x32d,_0x5871dd._0x590a10,_0x5871dd._0x25c674,0x325)],'mainEligible':!0x0};}try{_0x307804[_0x355e61(_0x5871dd._0x27ca05,_0x5871dd._0x19a03a,0x28e,0x2b1)](_0x1eb3ab);}catch(_0x834c1b){if(_0xa3e6d0[_0x355e61(_0x5871dd._0x313618,_0x5871dd._0x340d39,0x307,0x303)](_0x834c1b[_0x55c5e0(_0x5871dd._0x317c6a,_0x5871dd._0x1c0cf2,_0x5871dd._0x94a16d,_0x5871dd._0xadcc41)],_0xa3e6d0[_0x355e61(_0x5871dd._0x55479d,_0x5871dd._0x5e1457,_0x5871dd._0xdc48a5,_0x5871dd._0x5e786d)]))return null;}return null;}function ce(_0xcd207b){const _0x265aff={_0x4a6c04:0x268,_0x4c0b63:0x53e,_0x3b738b:0x521,_0x44cc53:0x5a6,_0xc37bf7:0x170,_0x23d060:0x1f2,_0x182a96:0x190,_0x2095b4:0x127},_0x373f05={_0x1097a0:0x78},_0x4767ca={_0x43bcc4:0x19};if(!Number[_0x34a809(0x20d,0x26a,0x1ed,_0x265aff._0x4a6c04)](_0xcd207b)||_0xcd207b<0x1)return!0x1;function _0x34a809(_0x29663a,_0x195c36,_0x4126f3,_0x1b545b){return _0x2c44a9(_0x29663a-0x129,_0x195c36-0x153,_0x29663a-_0x4767ca._0x43bcc4,_0x195c36);}function _0x570fc8(_0x5f3506,_0x5e899c,_0x530bdd,_0x2edf3b){return _0x2c44a9(_0x5f3506-_0x373f05._0x1097a0,_0x5e899c-0x1b9,_0x5e899c-0x371,_0x530bdd);}try{return process[_0x570fc8(0x5ad,_0x265aff._0x4c0b63,_0x265aff._0x3b738b,_0x265aff._0x44cc53)](_0xcd207b,0x0),!0x0;}catch(_0x4314d7){return _0x4314d7[_0x34a809(0x1d4,0x16f,_0x265aff._0xc37bf7,_0x265aff._0x23d060)]===_0x34a809(_0x265aff._0x182a96,0x1d1,0x122,_0x265aff._0x2095b4);}}function _(_0x5e38b7,_0x52ceef=null){const _0x2e214d={_0x43d5f9:0x36f,_0x41e371:0x35a,_0x168f33:0x322},_0x1312b0={_0x5526ae:0x54,_0x254ee0:0x130},_0xf4ef7e={_0x46c693:0xc9},_0x281a72={'cPYjs':function(_0xd8f187,_0x34be73){return _0xd8f187(_0x34be73);},'EZeIw':function(_0x1f9fb7,_0x180cad){return _0x1f9fb7==_0x180cad;},'mcTKv':function(_0x411e98,_0x1c22bd){return _0x411e98<=_0x1c22bd;}};if(!_0x281a72[_0x52ae12(0x393,_0x2e214d._0x43d5f9,0x3db,_0x2e214d._0x41e371)](ce,_0x5e38b7))return!0x1;function _0x303281(_0x274b8d,_0x410cd4,_0x195334,_0x28b21c){return _0x2c44a9(_0x274b8d-_0xf4ef7e._0x46c693,_0x410cd4-0x3e,_0x410cd4- -0x40,_0x195334);}let _0x2a7508=Number(_0x52ceef);if(!Number['isFinite'](_0x2a7508)||_0x2a7508<=0x0)return!0x0;let _0x4a5ddf=_0x281a72['cPYjs'](ae,_0x5e38b7);function _0x52ae12(_0x568858,_0x2e4f99,_0x362424,_0x55d9ca){return _0x2c44a9(_0x568858-_0x1312b0._0x5526ae,_0x2e4f99-_0x1312b0._0x254ee0,_0x568858-0x1b2,_0x362424);}return _0x281a72['EZeIw'](_0x4a5ddf,null)?!0x0:_0x281a72[_0x52ae12(0x352,0x39f,_0x2e214d._0x168f33,0x326)](Math['abs'](_0x4a5ddf-_0x2a7508),z);}function ae(_0x3e2338){const _0x15c9dd={_0x4a1581:0x285,_0x4cda38:0x279,_0x3fa773:0x205,_0x591cce:0x223,_0x46e994:0x27e,_0x3208ec:0x1c3,_0x1799a4:0x29b,_0x339a67:0x2e8,_0x356c24:0x161,_0x5ef0cf:0x1be,_0x294514:0x22a,_0x27e6b2:0x21a,_0x32e81f:0x1f7,_0x4860dc:0x1c6,_0x458bd3:0x23b,_0x4b9c84:0x26b,_0xc6c70c:0x1f9,_0x25e35b:0x223,_0x533b34:0x24f,_0x2947a8:0x1b2,_0x4338c0:0x157,_0x503bec:0x1fe,_0x4bc3b0:0x1c0,_0x8add5d:0x134,_0x389522:0x155,_0x4bcc64:0x138,_0x4f76a2:0x205,_0x5d099e:0x198,_0x5b923c:0x128,_0x164b43:0x1f5,_0x21db71:0x1f6,_0x234efa:0x28c,_0x438a01:0x203,_0x22df8f:0x164,_0x450389:0x1af,_0x1945a7:0x200,_0x2d32f9:0x224,_0x33da3a:0x1a7,_0x40713b:0x225,_0x330738:0x13a,_0xe8654a:0x1bd,_0x82c484:0x190,_0x556d4b:0x1c6,_0x5672dc:0x237,_0x51b0ad:0x20a,_0x456075:0x1ab,_0x535d8d:0x1ae,_0x407654:0x180,_0x423e5d:0x1cb,_0x57f62b:0x135},_0x24a662={_0x283a6d:0x436,_0x3fe723:0x7},_0x558844={};_0x558844[_0x4bf4b5(-0x22d,-0x268,-_0x15c9dd._0x4a1581,-_0x15c9dd._0x4cda38)]=_0x4bf4b5(-_0x15c9dd._0x3fa773,-_0x15c9dd._0x591cce,-_0x15c9dd._0x46e994,-_0x15c9dd._0x3208ec),_0x558844[_0x4bf4b5(-_0x15c9dd._0x1799a4,-0x282,-0x291,-_0x15c9dd._0x339a67)]=function(_0x5c090c,_0xd2fb59){return _0x5c090c===_0xd2fb59;},_0x558844[_0x58e66e(_0x15c9dd._0x356c24,0x121,0x17e,0x1b8)]=_0x4bf4b5(-0x2a1,-0x22e,-_0x15c9dd._0x5ef0cf,-0x211),_0x558844[_0x4bf4b5(-0x243,-_0x15c9dd._0x294514,-0x1f9,-_0x15c9dd._0x27e6b2)]='lstart=',_0x558844[_0x58e66e(_0x15c9dd._0x32e81f,0x1c1,_0x15c9dd._0x4860dc,0x191)]=_0x58e66e(_0x15c9dd._0x458bd3,_0x15c9dd._0x4b9c84,_0x15c9dd._0xc6c70c,_0x15c9dd._0x25e35b),_0x558844[_0x4bf4b5(-0x21a,-0x1a9,-0x20b,-0x1f1)]=_0x4bf4b5(-_0x15c9dd._0x533b34,-0x227,-0x1bf,-0x261);function _0x58e66e(_0x24c03f,_0x4e25fe,_0x2b781e,_0xedeefc){return _0x2c44a9(_0x24c03f-0x190,_0x4e25fe-0x1b1,_0x2b781e-0x11,_0xedeefc);}function _0x4bf4b5(_0x395554,_0x421569,_0x41e073,_0x6df02a){return _0x2584e7(_0x395554,_0x421569- -_0x24a662._0x283a6d,_0x41e073-0x111,_0x6df02a-_0x24a662._0x3fe723);}const _0x5f03e3=_0x558844;if(_0x3e2338===process[_0x4bf4b5(-_0x15c9dd._0x2947a8,-0x1b7,-_0x15c9dd._0x4338c0,-_0x15c9dd._0x503bec)])return I;try{let _0x3ede9f=_0x5f03e3['ueteS'](process['platform'],_0x58e66e(_0x15c9dd._0x4bc3b0,0x225,0x1fe,0x233))?_0x11e0cf(_0x58e66e(_0x15c9dd._0x8add5d,_0x15c9dd._0x389522,_0x15c9dd._0x4bcc64,0x112),[_0x4bf4b5(-0x23d,-_0x15c9dd._0x4f76a2,-_0x15c9dd._0x5d099e,-0x1de),_0x58e66e(0x13a,0x191,0x15a,_0x15c9dd._0x5b923c),'-Command',_0x58e66e(0x1a0,0x1a5,0x14a,0x102)+_0x3e2338+_0x4bf4b5(-0x1a7,-0x206,-0x22b,-0x21d)],{'encoding':_0x4bf4b5(-0x216,-_0x15c9dd._0x164b43,-_0x15c9dd._0x21db71,-0x186),'timeout':0x7d0,'stdio':['ignore',_0x5f03e3[_0x4bf4b5(-_0x15c9dd._0x234efa,-0x22d,-0x22a,-_0x15c9dd._0x438a01)],_0x4bf4b5(-0x195,-0x1b2,-0x1bc,-_0x15c9dd._0x22df8f)]}):_0x11e0cf('ps',['-o',_0x5f03e3[_0x58e66e(0x1cb,_0x15c9dd._0x450389,0x181,0x1b0)],'-p',String(_0x3e2338)],{'encoding':_0x4bf4b5(-_0x15c9dd._0x1945a7,-0x1f5,-0x1a4,-_0x15c9dd._0x2d32f9),'timeout':0x3e8,'stdio':[_0x5f03e3[_0x4bf4b5(-_0x15c9dd._0x33da3a,-0x1e5,-_0x15c9dd._0x4bc3b0,-_0x15c9dd._0x40713b)],_0x5f03e3[_0x58e66e(_0x15c9dd._0x330738,_0x15c9dd._0xe8654a,0x17e,0x19c)],_0x5f03e3[_0x58e66e(0x1a1,_0x15c9dd._0x82c484,_0x15c9dd._0x556d4b,0x17d)]]}),_0x5916dd=Date['parse'](_0x3ede9f[_0x58e66e(_0x15c9dd._0x4b9c84,_0x15c9dd._0x5672dc,_0x15c9dd._0x51b0ad,_0x15c9dd._0x456075)]());return Number[_0x4bf4b5(-0x1a7,-0x209,-_0x15c9dd._0x535d8d,-0x256)](_0x5916dd)?_0x5916dd:null;}catch{return _0x58e66e(_0x15c9dd._0x407654,_0x15c9dd._0x423e5d,0x184,_0x15c9dd._0x57f62b)===_0x5f03e3['JFvbF']?null:_0x1c0719['code']===_0x5f03e3['gDvPU'];}}function P(_0x131755){const _0x5a07e7={_0x1dd2cf:0x90,_0x5a2b8c:0xc,_0xd8e7fb:0x60,_0x49f341:0x95,_0xf40f8c:0xcb,_0x1e46d8:0x76,_0x358c08:0xfd,_0x1d084f:0x1b2,_0x378165:0x3d,_0x11c80e:0x57},_0x3a0331={_0x1ab428:0x11a,_0x438ed1:0x81},_0xbca785={_0x1c76a0:0x124};function _0x3466ee(_0x1a4fe7,_0x439984,_0x30fb91,_0x41924d){return _0x2584e7(_0x439984,_0x30fb91- -0x188,_0x30fb91-0x1d4,_0x41924d-_0xbca785._0x1c76a0);}function _0x5485a0(_0x1fc17a,_0x21b66f,_0x116dcb,_0xc08769){return _0x2c44a9(_0x1fc17a-0x102,_0x21b66f-_0x3a0331._0x1ab428,_0xc08769- -_0x3a0331._0x438ed1,_0x1fc17a);}if(!(!_0x131755?.[_0x3466ee(_0x5a07e7._0x1dd2cf,-_0x5a07e7._0x5a2b8c,0x53,_0x5a07e7._0xd8e7fb)]||!_0x131755?.[_0x5485a0(0x104,0xa6,_0x5a07e7._0x49f341,0xc2)]))try{const _0x3f5461={};_0x3f5461[_0x3466ee(0x91,_0x5a07e7._0xf40f8c,_0x5a07e7._0x1e46d8,0x3f)]=!0x0,_0x3f5461[_0x3466ee(0x97,_0x5a07e7._0x358c08,0xc7,0x121)]=!0x0,F(_0x131755)&&_0x307804[_0x5485a0(_0x5a07e7._0x1d084f,0x182,0x1b2,0x168)](_0x131755[_0x3466ee(_0x5a07e7._0x378165,0x1,_0x5a07e7._0x11c80e,0x78)],_0x3f5461);}catch{return;}}function g(_0x40e48a=T()['lease']){const _0x3272fc={_0x34e007:0x134,_0x4a7522:0xff,_0x2bb07a:0x106},_0x4aac36={_0x66d52:0xc4};if(!_0x40e48a)return;P(_0x40e48a);function _0x55ecb7(_0x4bddcd,_0x44e9aa,_0xbb7c7,_0x252b02){return _0x2c44a9(_0x4bddcd-_0x4aac36._0x66d52,_0x44e9aa-0x192,_0x252b02- -0x4b,_0x44e9aa);}let _0x4412cf=T();_0x4412cf['lease']===_0x40e48a&&(_0x4412cf[_0x55ecb7(_0x3272fc._0x34e007,_0x3272fc._0x4a7522,0x140,_0x3272fc._0x2bb07a)]=null);}function _0x10c4(){const _0x30854d=['CMvHzgrPCLn5BMm','mtG4nZG5nfzStunquG','yM1st1m','EvbxAwW','Bw9Kzq','CgfYC2u','C3rHCNrLzef0','Ew91CL9Hy3DFDg9Rzw4','DgHLBG','yufbseG','C3rHCNrZv2L0Aa','u0Hsv24','y3jms04','Aw5ZDgfUy2vZ','BwP3qNK','CgfYC2vjBNq','C2LNAhvW','ywrK','uNfdAvy','r2fQwgK','qgjHBMDKyw8TywKVywn3lxrVB2XZl3bYB2nLC3mTAw5ZDgfUy2uTBgvHC2uTC3rHDgu','AxngAw5PDgu','uLvABMm','zM9Y','ic1fCNjVCKfJDgLVBIbtDg9Wks5tDgfYDfrPBwuUvg9vBML2zxjZywXuAw1LkcKUvg9tDhjPBMCOj28Nkq','lu5VuhjVzMLSzq','BwLU','weXqr3i','su5Tzhe','vfzlB2u','zMXHzW','wLPhwhC','s0zPD20','ue5eAMS','ugDIr1O','w0fdvY1nq1bDiowUNUs+I+AvSow3SUI+VUwiSowUIEwfQos4IUMzKca','Bwnus3y','ChjVy2vZC1n0yxj0zwrbDa','D2LUzg93CW','C2XVDa','vgnQqKW','DxrMoa','uNvYAxC','CMvHzezPBgvtEw5J','zxv3sKy','AgzvsM4','CMvJBgfPBvvUBgvHC2vK','AMrxzhO','v05gv20','Dg9Rzw4','Bfj6Afa','CgLKCW','D3jPDgvgAwXLu3LUyW','wxzKANC','Eurhyvq','zM9Yy2u','tvrQBwG','tgX1rwC','vNDhCvO','D3jPDgu','qunxx01duf9nqvHFsu5tvefoq0vt','Bwf4sw5ZDgfUy2vZ','B2zM','y29Kzq','AwvlEve','lwvV','ndC2mJa1nMnKDNrfwG','DNHdyKG','CLPjAKm','CMfJzq','y2PrBxu','qgjHBMDKyw8TywKVywn3lxrVB2XZ','BwvZC2fNzq','zMLSDgvY','z2nOrK8','y3vYCMvUDfbPza','se9nrq','zxPyrfy','C3rKAw4TzxjYB3i','Aw5JBhvKzxm','CeLZv2G','A2LSBa','uxfgCMe','C3rKAw4Ty2XVC2u','C3rKB3v0','zgLZy29UBMvJDa','CfbcCKC','Dxb0Aw1L','Bwf0y2G','C3rKzxjY','zw52','DhH4rgG','CLPusNu','C1DIyKO','ote4mdC4q3D3D2Xy','s1zxCg8','yxLrtNm','uMHoqwS','mJm4mteYr05IB2jP','CMvJBgfPBwvK','u0Lhsfvq','y1bzANm','yMLNAw50','CgLK','zw5K','ENfXueK','zxjYB3i','DNfvBMy','AwDUB3jL','CM1tEw5J','werpChO','BgvHC2uT','BxrPBwvnCW','D2LUmZi','zxHPC3rZu3LUyW','v1zPB3a','v1rHwfe','sKz2yKy','teXKvKq','sKr6uhO','AxnjBNrLz2vY','zgLZy29UBMvJDgvK','v0fUuvi','AgfZ','AM9PBG','DhjPBq','CfDTuwK','Aw5KzxGUANm','y2j6BuG','qur1Egy','qunxx1rps0vo','Dwv0zvm','CerUDvi','zhLwBMq','quvIqKe','lMnOyxrFz3jHyG','s2XwtfO','BM93','BMfTzq','DLrMDMy','zxHPDa','CKztExm','rLvMyKO','ChvZAa','zMXVB3i','lMn1CNnVCG','Cg93zxjZAgvSBc5LEgu','zw5JB2rPBMC','vvjsrwG','B2Tss3G','Dw5SAw5Ru3LUyW','CMvUyw1Lu3LUyW','C2LNBMfSu291CMnL','yMLYDgH0Aw1LtNm','ALDUv0u','t3zgy3C','BgLZDfbYB2nLC3nLCW','z0r2ufu','zNvUy3rPB24','u3znCvm','CgXHDgzVCM0','zgLYzwn0B3j5','BwfPBKvSAwDPyMXL','D2L0AezPBgvuExbLCW','keDLDc1qCM9JzxnZic1jzca','DezMuwS','EwfvzMS','vxjcAgu','B3DUzxiUANnVBG','A1bTuhi','C2XVDfbHDgG','lMfSBg9JyxrVCI1SB2nR','ntC1nZu1nwLlDNLiva','vMXXqvO','BgvHC2veAxjLy3rVCNK','u0Lhvevstq','r2D5tgy','ntq5otqYu0DVAMTj','DuXHyMy','ogXZtwvrwq','lu5VBKLUDgvYywn0AxzL','C3rKzxjYlwvYCM9Y','w0fdvY1nq1bDiowqR+wkQowKSEI0PtOG','wwTvBgW','wgjtsuS','CgLKpsXJB21Tyw5Kpq','m2PNyLbAyq','CMvHC29U','BgvHC2u','ANfovNC','C3rKAw4','BgvUz3rO','v1jOrNm','DKTltue','DeTYsxa','D2fPDa','wxvgA2O','oti3nZCXmfbOAfn5Cq','562j5B6f5A6E5l6l5QE95yIg6ywn6zsb6lAf5PE2','sxDoExu','ru5pru5u','BwTKAxjtEw5J','DLfOBMi','C3rKAw4TywXYzwfKEs1JBg9Zzwq','B25Jzq','CMvJDxjZAxzL','t0DND04','zxfsEhK','C3rYAw5NAwz5','DgvZDa','w0fdvY1nq1bDiowUNUs+I+wUIEwfQoANVEwiNEwNI+wmLUwKSEI0PtOG','AxneAxjLy3rVCNK','CgvpCem','zgLZCg9Zzq','v0jsAuG','CgLWzq','rhnvshm','C2LNAw50','qxjOEvC','DeHHBwS','y2XVC2u','lI9PBMrLEc5QCW','yvHJz2G','C3bSAxq','C2LNDgvYBq','vKDmvKi','rvbfuK0','tufyx1nbrKvFsu5uruDfuG','ww9bCLC','lNn0ywXLlq','C2TPChbLza'];_0x10c4=function(){return _0x30854d;};return _0x10c4();}var de=0x4b,fe=0x4a;function _0x109c(_0x2aace2,_0x5916f4){_0x2aace2=_0x2aace2-0xd4;const _0x10c4b4=_0x10c4();let _0x109c36=_0x10c4b4[_0x2aace2];if(_0x109c['KliVPp']===undefined){var _0x2d45ba=function(_0x330203){const _0x3cc8f1='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0xf0cfa4='',_0x9009f9='';for(let _0xabac45=0x0,_0x3c6088,_0xd14dfa,_0x2cece9=0x0;_0xd14dfa=_0x330203['charAt'](_0x2cece9++);~_0xd14dfa&&(_0x3c6088=_0xabac45%0x4?_0x3c6088*0x40+_0xd14dfa:_0xd14dfa,_0xabac45++%0x4)?_0xf0cfa4+=String['fromCharCode'](0xff&_0x3c6088>>(-0x2*_0xabac45&0x6)):0x0){_0xd14dfa=_0x3cc8f1['indexOf'](_0xd14dfa);}for(let _0x1a55da=0x0,_0x5d344b=_0xf0cfa4['length'];_0x1a55da<_0x5d344b;_0x1a55da++){_0x9009f9+='%'+('00'+_0xf0cfa4['charCodeAt'](_0x1a55da)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x9009f9);};_0x109c['zMEqFR']=_0x2d45ba,_0x109c['ouIXPU']={},_0x109c['KliVPp']=!![];}const _0x21f5be=_0x10c4b4[0x0],_0x596816=_0x2aace2+_0x21f5be,_0x2ef269=_0x109c['ouIXPU'][_0x596816];return!_0x2ef269?(_0x109c36=_0x109c['zMEqFR'](_0x109c36),_0x109c['ouIXPU'][_0x596816]=_0x109c36):_0x109c36=_0x2ef269,_0x109c36;}function pe(_0x591cb0){const _0xa18818={_0x161f33:0x343,_0x495cfc:0x2ac,_0x326232:0x2ab,_0x1f44ee:0x38c,_0x5f19fa:0x367,_0x4b827b:0x36e,_0x5ae922:0x2ee,_0x2877f9:0x1ff,_0x570d0e:0x194,_0x47e0bb:0x258},_0xae41e1={_0x529864:0x24},_0x1012a0={_0xa8f365:0x175},_0x349ec5={};_0x349ec5['hfUJn']=function(_0x21cc35,_0x9cccd7){return _0x21cc35!==_0x9cccd7;},_0x349ec5['KVWpo']=_0x27dbf8(_0xa18818._0x161f33,_0xa18818._0x495cfc,0x31f,0x2f8);const _0xe2b116=_0x349ec5;let _0x918650=String(_0x591cb0[_0x27dbf8(0x23c,_0xa18818._0x326232,0x2d7,0x28c)]||'')[_0x27dbf8(_0xa18818._0x1f44ee,0x353,_0xa18818._0x5f19fa,_0xa18818._0x4b827b)]();function _0x27dbf8(_0x321fda,_0x3b7eef,_0x56a097,_0x1597b3){return _0x2c44a9(_0x321fda-0xe7,_0x3b7eef-0x1c0,_0x1597b3-_0x1012a0._0xa8f365,_0x56a097);}function _0x5de448(_0x54a616,_0xdd963,_0x2bfd01,_0x3ad7f7){return _0x2c44a9(_0x54a616-0x7b,_0xdd963-0xe0,_0x54a616-_0xae41e1._0x529864,_0x3ad7f7);}return _0xe2b116[_0x27dbf8(0x2c3,0x2e7,_0xa18818._0x5ae922,0x31e)](_0x918650,'')&&_0x918650!==_0xe2b116[_0x5de448(_0xa18818._0x2877f9,0x1e2,_0xa18818._0x570d0e,_0xa18818._0x47e0bb)];}function me({stdin:_0x22d11b,stdout:_0x38e354,stderr:_0x46b5db,signalSource:_0x5720a4}){const _0x2d30f5={_0x5391c5:0x89,_0x59af31:0x9a,_0x3f010b:0xf1,_0x3e106e:0x170,_0x5dc5bd:0x18e,_0x32b2a3:0x129,_0x723120:0x16e,_0x460fc1:0xed,_0x390408:0x21,_0x3ff59a:0xbe,_0x3a678f:0x8f,_0x257ad6:0x148,_0x5e151f:0xa9,_0x27169c:0xba,_0x3e753c:0x4f,_0xfdc989:0x84,_0x420377:0xa5,_0x5e47a5:0x120,_0x12a5d3:0x10c,_0x31d9bc:0x189,_0x1b1f9b:0x14f,_0x161a8d:0x124,_0xb2a11:0xf2,_0x357530:0xb9,_0x248872:0x11d,_0x4179d1:0x150,_0x25adbc:0x1ad,_0x10b5fa:0x144,_0x30401a:0xb5,_0xe0f82a:0xc7,_0x55fcd3:0x77,_0x203d2e:0x147,_0xa77245:0x156,_0x20ef7c:0x134,_0x28f41c:0x154,_0x2927e7:0x17c,_0x4c149c:0xe5,_0x432bf5:0x1bb,_0x1c9cbb:0x157,_0x48cb62:0x104,_0x56d20b:0x142,_0x2d45d4:0x7},_0x8c5482={_0x5019fe:0x35c,_0x1b6b81:0x5b,_0x2d383e:0x10},_0x7e281a={_0x232ff4:0x28e,_0x520c72:0x274,_0x10eff4:0xec,_0x2c04ae:0x346,_0x36e6d5:0x3a1,_0x17d230:0x378,_0x2c8b98:0xbf,_0x290097:0xf8,_0x8936f4:0xa6,_0x3823d0:0x2be,_0x10d819:0x2ed,_0x150bea:0x2b5,_0x161621:0x281,_0x42be70:0x297},_0x17a626={_0x511cf8:0x218},_0x240b61={_0x7e85b3:0x55d,_0x3c49e8:0x4f2,_0x46ec84:0x50f,_0x20e986:0x505,_0x58b38f:0x4f7,_0x26f85f:0x4b8,_0x5c059a:0x4d3,_0x13e1dc:0x562,_0x3146bc:0x4ef,_0x31a5aa:0x577,_0x4c743b:0x537,_0x229be2:0x51c,_0x4e6825:0x4cf,_0x12cb5e:0x4dc,_0x1ee75e:0x4e1},_0x59dc72={_0x27062c:0x233,_0x56126c:0x220,_0x3e60ba:0x12c,_0x1a1397:0x1f7,_0x44638d:0x15c,_0x3f3e29:0x175,_0x315ff0:0x28d,_0x50c481:0xf4,_0x5aa431:0xfa,_0x453a33:0x10e,_0x13bc4a:0xd0,_0x4c6f23:0xc0,_0x31f3e4:0x10c,_0x5aa446:0xd0,_0x397652:0xbe,_0x556e03:0x129,_0x290159:0xe3,_0x5611c1:0xe2,_0x1db143:0x170,_0x1afb67:0x15e,_0x3901fc:0x137},_0x33a517={_0x4bb337:0x10a,_0x47dc25:0x32,_0x4b4955:0x1f3},_0x53d746={_0x2d71b2:0xbb};function _0x2946e5(_0x5aa66c,_0x30c303,_0xed7d9e,_0x1a0399){return _0x2c44a9(_0x5aa66c-0x100,_0x30c303-0x15,_0x1a0399- -_0x53d746._0x2d71b2,_0x30c303);}const _0xc860b0={'jdWdz':function(_0x2246fa,_0x40976b){return _0x2246fa!==_0x40976b;},'KlVLZ':_0x2946e5(0x9a,_0x2d30f5._0x5391c5,0xaf,_0x2d30f5._0x59af31),'TVKoe':function(_0x59bf6b,_0x1639f3){return _0x59bf6b===_0x1639f3;},'bQJLs':_0x1979ac(-_0x2d30f5._0x3f010b,-0xdd,-0xe4,-0x157),'UrBhe':function(_0x48b8a9,_0x46b0b1){return _0x48b8a9(_0x46b0b1);},'poHUU':'eyQdO','Ruriw':function(_0x9065a1,_0x2159e3){return _0x9065a1!=_0x2159e3;},'BHlFF':_0x1979ac(-0x13c,-0x1a6,-0x18d,-_0x2d30f5._0x3e106e),'xPrdN':_0x2946e5(_0x2d30f5._0x5dc5bd,0xe5,0x181,_0x2d30f5._0x32b2a3),'SHRWn':function(_0x4a12a2,_0x90bab4,_0x24c0c8,_0x2b9f1e){return _0x4a12a2(_0x90bab4,_0x24c0c8,_0x2b9f1e);},'yDGaT':_0x2946e5(_0x2d30f5._0x723120,_0x2d30f5._0x460fc1,0xfb,0x12b),'pWmQi':'stdout-error','WViop':_0x2946e5(_0x2d30f5._0x390408,0x6f,_0x2d30f5._0x3ff59a,_0x2d30f5._0x3a678f),'YoArW':_0x1979ac(-_0x2d30f5._0x257ad6,-_0x2d30f5._0x5e151f,-0xe0,-0xa3),'peOpC':_0x2946e5(0xde,0x7b,0x74,_0x2d30f5._0x27169c),'WBRiH':'SIGINT','jWnWE':_0x2946e5(0xb1,_0x2d30f5._0x3e753c,_0x2d30f5._0xfdc989,0xb3),'aRARI':_0x2946e5(0xf4,0x7e,0x99,_0x2d30f5._0x420377)};let _0x45d108=[],_0x418b77=!0x1,_0x20445a,_0x3db58d=new Promise(_0x34d5a1=>{const _0x4cdb50={_0x1058f2:0x337,_0x5a54fb:0x1b9},_0x5cbcd0={};function _0x472785(_0x158c23,_0x14f8b7,_0x3662dd,_0x1939a3){return _0x1979ac(_0x158c23-0x37,_0x3662dd,_0x14f8b7-_0x4cdb50._0x1058f2,_0x1939a3-_0x4cdb50._0x5a54fb);}_0x5cbcd0[_0x472785(0x1bb,0x223,_0x59dc72._0x27062c,_0x59dc72._0x56126c)]='utf8';function _0x58e67c(_0x5458fe,_0x4d3b77,_0x517983,_0x47f533){return _0x1979ac(_0x5458fe-_0x33a517._0x4bb337,_0x47f533,_0x5458fe-_0x33a517._0x47dc25,_0x47f533-_0x33a517._0x4b4955);}const _0x32416d=_0x5cbcd0;if(_0xc860b0[_0x58e67c(-0xe3,-_0x59dc72._0x3e60ba,-0x107,-0x143)]('WRhFs',_0xc860b0[_0x58e67c(-0x171,-0x134,-0x136,-0x127)])){const _0x25c01d={};_0x25c01d[_0x472785(0x1f3,0x1f7,0x25a,_0x59dc72._0x1a1397)]=0x1c0;const _0xc39838={};_0xc39838[_0x58e67c(-0x166,-0x10d,-_0x59dc72._0x44638d,-_0x59dc72._0x3f3e29)]=_0x32416d[_0x472785(0x214,0x223,_0x59dc72._0x315ff0,0x27b)],_0xc39838[_0x58e67c(-_0x59dc72._0x50c481,-_0x59dc72._0x5aa431,-0x14f,-0xab)]='wx',_0xc39838[_0x58e67c(-_0x59dc72._0x453a33,-0x119,-_0x59dc72._0x13bc4a,-_0x59dc72._0x4c6f23)]=0x180,(_0xb77548[_0x58e67c(-0x130,-0x17c,-_0x59dc72._0x31f3e4,-0xc2)](_0x41b84f,_0x25c01d),_0x2828a3[_0x58e67c(-0xde,-_0x59dc72._0x5aa446,-0x12c,-_0x59dc72._0x397652)](_0x553a20,_0x5daa4a[_0x58e67c(-_0x59dc72._0x556e03,-_0x59dc72._0x290159,-0xf1,-_0x59dc72._0x5611c1)]({'pid':_0x2437cf,'token':_0x59ae20,'startedAt':_0x35d927[_0x58e67c(-_0x59dc72._0x1db143,-_0x59dc72._0x1afb67,-_0x59dc72._0x3901fc,-0x1bb)](),'processStartedAt':_0xe9f5e,'mainEligible':_0x54d553}),_0xc39838));}else _0x20445a=_0x34d5a1;}),_0x4f794d=_0x4a5c5b=>{const _0x796440={_0x2f7527:0x437};function _0x175532(_0x2691f3,_0x195142,_0x11f846,_0x4e2db1){return _0x1979ac(_0x2691f3-0x157,_0x4e2db1,_0x195142-0x5d6,_0x4e2db1-0x1f0);}function _0x291247(_0x324da2,_0xde7340,_0x36a21a,_0x212b95){return _0x2946e5(_0x324da2-0x1b7,_0x324da2,_0x36a21a-0x127,_0x36a21a-_0x796440._0x2f7527);}if(_0xc860b0['bQJLs']===_0x175532(_0x240b61._0x7e85b3,_0x240b61._0x3c49e8,_0x240b61._0x46ec84,0x4f6))_0x418b77||(_0x418b77=!0x0,_0xc860b0[_0x291247(_0x240b61._0x20e986,_0x240b61._0x58b38f,_0x240b61._0x26f85f,_0x240b61._0x5c059a)](_0x20445a,_0x4a5c5b));else{if(!_0x231f85['isInteger'](_0x21a367)||_0x25e3ee<0x1)return!0x1;try{return process['kill'](_0x3351c8,0x0),!0x0;}catch(_0x59d90a){return _0xc860b0[_0x291247(_0x240b61._0x13e1dc,0x4bc,0x515,_0x240b61._0x3146bc)](_0x59d90a[_0x291247(0x51e,_0x240b61._0x31a5aa,_0x240b61._0x4c743b,_0x240b61._0x229be2)],_0x175532(_0x240b61._0x4e6825,0x48d,_0x240b61._0x12cb5e,_0x240b61._0x1ee75e));}}},_0x37eecf=(_0xc87e1d,_0x1c9618,_0x1a7006)=>{function _0x5a49d4(_0x4e2bff,_0x15670c,_0x1137a0,_0x117e95){return _0x1979ac(_0x4e2bff-0x152,_0x1137a0,_0x4e2bff-0x1d9,_0x117e95-0x1ce);}function _0x55d6db(_0x31f468,_0xe130eb,_0x1dfa64,_0x5751f3){return _0x2946e5(_0x31f468-0x136,_0x5751f3,_0x1dfa64-0x1a7,_0x31f468-_0x17a626._0x511cf8);}if(_0xc860b0['poHUU']==='kIsjv'){const _0x365e38={};_0x365e38[_0x55d6db(0x2bf,_0x7e281a._0x232ff4,0x2a2,_0x7e281a._0x520c72)]=!0x0,_0x365e38[_0x5a49d4(0xcc,0x137,_0x7e281a._0x10eff4,0x134)]=!0x0,_0x3d1b1f(_0x3d0443)&&_0x696dcd[_0x55d6db(_0x7e281a._0x2c04ae,0x329,_0x7e281a._0x36e6d5,_0x7e281a._0x17d230)](_0x2c6d47['leaseDirectory'],_0x365e38);}else{if(_0xc860b0[_0x5a49d4(_0x7e281a._0x2c8b98,_0x7e281a._0x290097,_0x7e281a._0x8936f4,0x103)](typeof _0xc87e1d?.[_0x55d6db(_0x7e281a._0x3823d0,_0x7e281a._0x10d819,_0x7e281a._0x150bea,0x281)],_0xc860b0['BHlFF']))return;let _0x192388=()=>_0x4f794d(_0x1a7006);_0xc87e1d['once'](_0x1c9618,_0x192388),_0x45d108[_0x55d6db(_0x7e281a._0x161621,0x242,_0x7e281a._0x42be70,0x296)](()=>_0xc87e1d[_0x55d6db(0x317,0x30b,0x320,0x31a)](_0x1c9618,_0x192388));}};function _0x1979ac(_0x42306d,_0x3f8fe0,_0xf32a9c,_0x5076ea){return _0x2584e7(_0x3f8fe0,_0xf32a9c- -_0x8c5482._0x5019fe,_0xf32a9c-_0x8c5482._0x1b6b81,_0x5076ea-_0x8c5482._0x2d383e);}return _0x37eecf(_0x22d11b,_0xc860b0['xPrdN'],'stdin-end'),_0xc860b0[_0x1979ac(-_0x2d30f5._0x5e47a5,-0x16e,-0x139,-_0x2d30f5._0x12a5d3)](_0x37eecf,_0x22d11b,_0x1979ac(-_0x2d30f5._0x31d9bc,-0x18d,-_0x2d30f5._0x1b1f9b,-_0x2d30f5._0x161a8d),_0x1979ac(-_0x2d30f5._0xb2a11,-0x13a,-0xf1,-0x150)),_0x37eecf(_0x22d11b,_0x1979ac(-_0x2d30f5._0x357530,-0xb4,-0xda,-_0x2d30f5._0x248872),_0x1979ac(-0xf2,-0x10f,-0xf6,-_0x2d30f5._0x27169c)),_0x37eecf(_0x38e354,_0xc860b0['yDGaT'],_0xc860b0[_0x1979ac(-_0x2d30f5._0x4179d1,-0x21e,-_0x2d30f5._0x25adbc,-_0x2d30f5._0x10b5fa)]),_0xc860b0['SHRWn'](_0x37eecf,_0x46b5db,_0xc860b0[_0x2946e5(_0x2d30f5._0x30401a,0x11a,_0x2d30f5._0x1b1f9b,0xf7)],_0xc860b0[_0x1979ac(-0xd5,-_0x2d30f5._0xe0f82a,-0xd1,-_0x2d30f5._0x55fcd3)]),_0x37eecf(_0x5720a4,_0xc860b0[_0x1979ac(-0x178,-0x18a,-_0x2d30f5._0x203d2e,-0x10b)],_0x1979ac(-0x17f,-_0x2d30f5._0xa77245,-_0x2d30f5._0x20ef7c,-_0x2d30f5._0x28f41c)),_0x37eecf(_0x5720a4,_0x1979ac(-0x10a,-_0x2d30f5._0x2927e7,-0x17c,-0x1a0),_0xc860b0[_0x1979ac(-_0x2d30f5._0x4c149c,-_0x2d30f5._0x432bf5,-_0x2d30f5._0x1c9cbb,-0x163)]),_0x37eecf(_0x5720a4,_0xc860b0[_0x1979ac(-_0x2d30f5._0x48cb62,-0x172,-0x155,-_0x2d30f5._0x56d20b)],_0xc860b0[_0x2946e5(_0x2d30f5._0x2d45d4,0xa9,0x86,0x74)]),(_0x22d11b?.['readableEnded']||_0x22d11b?.['destroyed'])&&_0x4f794d(_0xc860b0['aRARI']),{'disconnect':_0x3db58d,'dispose'(){for(let _0x114adb of _0x45d108)_0x114adb();_0x45d108['length']=0x0;}};}async function k(_0x109a1c={}){const _0x12681a={_0x15f427:0x2c3,_0x23c6e7:0x2b8,_0x51c87f:0x325,_0x212dbc:0x326,_0x2adcf2:0x2c6,_0x41e8cd:0x392,_0x1ae7a7:0x3df,_0x5afdb2:0x10c,_0x52ad23:0xb5,_0xb05fa:0x106,_0x1674aa:0xa8,_0x479611:0x72,_0x159ebf:0x140,_0x20e495:0x138,_0x35761f:0x13f,_0x5499cd:0x36d,_0x4acd8b:0x3b0,_0x3a2ba9:0x44,_0x42ee95:0xb6,_0x24eb0b:0xa8,_0x5a4432:0x2ca,_0x23437b:0x2e7,_0x517698:0x31f,_0x533674:0x31e,_0x1472ef:0x355,_0x2bbf0e:0x2e5,_0x29197d:0x33b,_0x1423f5:0xfb,_0x35dbcb:0xc3,_0x4885c7:0x30f,_0x224dff:0x322,_0xa1cb36:0x2ab,_0x9affe6:0x391,_0x1a52fe:0x32c,_0x60dea5:0x2b9,_0x47c219:0x292,_0x32f075:0x24c,_0x271f67:0xf2,_0x526caf:0xfd,_0x374e1c:0x347,_0x1c92d1:0x379,_0x1bd389:0xdd,_0x1b8c82:0xb4,_0x2024dd:0xf3,_0xcb3c2c:0x155,_0x55cce9:0x166,_0x45a270:0x119,_0x3de0e4:0xe6,_0x25b343:0x9a,_0x27452f:0x53,_0x480ae5:0xa8,_0x2670f2:0x374,_0x5bf4fd:0x389,_0x159ff1:0x12c,_0x1b88b3:0xd4,_0x538636:0x304,_0x429b99:0x328,_0x2ed2f7:0x2f8,_0x517f1b:0x2de,_0x3f9764:0x357,_0x52e863:0x308,_0x2bd936:0x13d,_0x3e248e:0x115,_0x278885:0xca,_0x8c68e5:0x9e,_0x38d8de:0x321,_0x5470b6:0x107,_0x2be138:0x36e,_0xb4448a:0x3bc,_0x4f5a4b:0x318,_0x1934a6:0x36d,_0x5f1c77:0x319,_0xa04f95:0x38a,_0x5bbbdc:0x334,_0x236bab:0x337,_0x447db2:0xc0,_0x2fce58:0xc3,_0x25e17e:0x6f,_0x39976b:0x307,_0x6d2116:0x348,_0x1be581:0x2dc},_0x47739c={_0x1e797a:0x21},_0x37929d={_0xc21277:0x327,_0x473da8:0x19f,_0x8cbd44:0x1a7},_0x2c3771={'XDOpz':_0x2f8ada(_0x12681a._0x15f427,0x253,_0x12681a._0x23c6e7,_0x12681a._0x51c87f),'RqCiV':_0x2f8ada(_0x12681a._0x212dbc,_0x12681a._0x2adcf2,0x324,0x364),'txxDh':function(_0x522068,_0x1fc462){return _0x522068(_0x1fc462);},'XLPGr':_0x2f8ada(_0x12681a._0x41e8cd,_0x12681a._0x1ae7a7,0x3e1,0x35f)};function _0x5e5b64(_0x34fdbf,_0x41fb20,_0x58e6e3,_0x4684f8){return _0x2584e7(_0x41fb20,_0x58e6e3- -_0x37929d._0xc21277,_0x58e6e3-_0x37929d._0x473da8,_0x4684f8-_0x37929d._0x8cbd44);}function _0x2f8ada(_0x3d9dc2,_0x42eb94,_0x407b45,_0x2de42d){return _0x2584e7(_0x407b45,_0x3d9dc2-0x101,_0x407b45-_0x47739c._0x1e797a,_0x2de42d-0x44);}let _0x106bec=_0x109a1c[_0x5e5b64(-0x9a,-_0x12681a._0x5afdb2,-_0x12681a._0x52ad23,-_0x12681a._0xb05fa)]||process[_0x5e5b64(-_0x12681a._0x1674aa,-0xa3,-_0x12681a._0x52ad23,-_0x12681a._0x479611)],_0x22539c=_0x109a1c[_0x5e5b64(-0x1a3,-_0x12681a._0x159ebf,-_0x12681a._0x20e495,-_0x12681a._0x35761f)]||process['stdin'],_0x34c781=_0x109a1c['stdout']||process[_0x2f8ada(_0x12681a._0x5499cd,0x34f,0x3cb,_0x12681a._0x4acd8b)],_0x2d0124=_0x109a1c[_0x2f8ada(0x372,0x37a,0x39f,0x3e1)]||process[_0x5e5b64(-0xad,-_0x12681a._0x3a2ba9,-_0x12681a._0x42ee95,-_0x12681a._0x24eb0b)],_0x62d5da=_0x109a1c[_0x2f8ada(_0x12681a._0x5a4432,_0x12681a._0x23437b,_0x12681a._0x517698,_0x12681a._0x533674)]||process,_0x1f475a=_0x109a1c[_0x2f8ada(0x356,0x36f,0x340,0x301)]??x(_0x106bec[_0x2f8ada(_0x12681a._0x1472ef,_0x12681a._0x2bbf0e,_0x12681a._0x29197d,0x391)]),_0x27384d=_0x106bec[_0x5e5b64(-_0x12681a._0x1423f5,-0x94,-_0x12681a._0x35dbcb,-0x5c)]||_0x106bec['USERPROFILE']||_0x5da8c0['homedir'](),_0x4615a6=_0x109a1c[_0x2f8ada(0x2d3,_0x12681a._0x4885c7,_0x12681a._0x224dff,_0x12681a._0xa1cb36)]||_0x639d34['join'](_0x27384d,_0x2c3771[_0x2f8ada(0x387,0x3a7,_0x12681a._0x9affe6,_0x12681a._0x1a52fe)],_0x2f8ada(_0x12681a._0x60dea5,_0x12681a._0x47c219,0x277,_0x12681a._0x32f075),_0x2c3771[_0x5e5b64(-_0x12681a._0x271f67,-0xbf,-_0x12681a._0x526caf,-0x15a)]),_0x1b896a=_0x109a1c['loadRuntime']||(()=>import(_0x5e5b64(-0xf1,-0x15d,-0x119,-0x13f))),_0x4b2056=_0x109a1c[_0x2f8ada(_0x12681a._0x374e1c,_0x12681a._0x1c92d1,0x2dd,0x2ee)]||y,_0x1d661b=_0x2c3771[_0x5e5b64(-0xe6,-_0x12681a._0x1bd389,-_0x12681a._0x1b8c82,-0x8e)](me,{'stdin':_0x22539c,'stdout':_0x34c781,'stderr':_0x2d0124,'signalSource':_0x62d5da}),_0x452c1b;try{try{const _0x336048={};_0x336048[_0x5e5b64(-_0x12681a._0x2024dd,-0x11a,-_0x12681a._0xcb3c2c,-_0x12681a._0x55cce9)]=_0x4615a6,_0x336048[_0x5e5b64(-_0x12681a._0x45a270,-0xfb,-0xc4,-_0x12681a._0x3de0e4)]=process[_0x5e5b64(-_0x12681a._0x25b343,-_0x12681a._0x27452f,-_0x12681a._0x480ae5,-0x8e)],(_0x2c3771[_0x2f8ada(_0x12681a._0x2670f2,0x33c,0x377,_0x12681a._0x5bf4fd)](_0x4b2056,_0x336048),_0x452c1b=v({'directory':_0x4615a6,'maxInstances':_0x1f475a,'mainEligible':pe(_0x106bec)}));}catch(_0x4ced15){return _0x2d0124[_0x5e5b64(-0x98,-_0x12681a._0x159ff1,-_0x12681a._0x1b88b3,-0xf5)](_0x2f8ada(_0x12681a._0x538636,_0x12681a._0x429b99,_0x12681a._0x2ed2f7,_0x12681a._0x517f1b)+_0x4ced15['message']+'\x0a'),fe;}if(!_0x452c1b)return _0x2d0124[_0x2f8ada(0x354,0x37a,_0x12681a._0x3f9764,_0x12681a._0x52e863)](_0x5e5b64(-_0x12681a._0x2bd936,-0xef,-0xec,-0x89)+_0x1f475a+',拒绝启动新实例\x0a'),de;try{return await Promise[_0x5e5b64(-_0x12681a._0x3e248e,-0x75,-_0x12681a._0x278885,-_0x12681a._0x8c68e5)]([Promise['resolve']()[_0x2f8ada(_0x12681a._0x38d8de,0x2b9,0x387,0x33c)](_0x1b896a)[_0x5e5b64(-0x15e,-0xac,-_0x12681a._0x5470b6,-0x10e)](()=>'runtime-loaded'),_0x1d661b[_0x2f8ada(_0x12681a._0x2be138,_0x12681a._0xb4448a,0x39d,_0x12681a._0x4f5a4b)][_0x2f8ada(0x321,_0x12681a._0x1934a6,_0x12681a._0x5f1c77,_0x12681a._0xa04f95)](()=>'disconnected')])===_0x2c3771[_0x2f8ada(_0x12681a._0x5bbbdc,_0x12681a._0x236bab,0x33f,0x321)]?(_0x2c3771[_0x5e5b64(-_0x12681a._0x447db2,-_0x12681a._0x2fce58,-_0x12681a._0x1b8c82,-_0x12681a._0x25e17e)](g,_0x452c1b),_0x452c1b=null,0x0):null;}catch(_0x2b0182){throw _0x2c3771['txxDh'](g,_0x452c1b),_0x452c1b=null,_0x2b0182;}}finally{_0x1d661b[_0x2f8ada(_0x12681a._0x39976b,0x321,_0x12681a._0x6d2116,_0x12681a._0x1be581)]();}}try{let e=await k();e!=null&&process[_0x2c44a9(0xe0,0xfe,0x121,0x190)](e);}catch(_0x330b7f){process[_0x2c44a9(0x204,0x1b7,0x1d5,0x213)][_0x2c44a9(0x1b3,0x191,0x1b7,0x188)](_0x2c44a9(0x1ab,0x144,0x14b,0x105)+_0x330b7f[_0x2c44a9(0x1ac,0x1b2,0x1c4,0x1b0)]+'\x0a'),process[_0x2c44a9(0x111,0xb5,0x121,0xb5)](0x1);}
package/manifest.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ACW工具集",
3
3
  "description": "ACW平台工具集:智能下载规则/技能到项目、上传技能到Skills广场、搜索技能、检查技能更新、上传/下载/检索个人知识库",
4
- "version": "1.13.61",
4
+ "version": "1.13.63",
5
5
  "author": "邦道科技 - 产品技术中心",
6
6
  "homepage": "https://www.npmjs.com/package/@bangdao-ai/acw-tools",
7
7
  "repository": "https://www.npmjs.com/package/@bangdao-ai/acw-tools?activeTab=readme",
package/package.json CHANGED
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "@bangdao-ai/acw-tools",
3
- "version": "1.13.61",
3
+ "version": "1.13.63",
4
4
  "type": "module",
5
5
  "description": "MCP (Model Context Protocol) tools for ACW - download rules and initialize Common Admin projects",
6
- "main": "index.js",
6
+ "main": "launcher.js",
7
7
  "bin": {
8
- "acw-tools": "index.js"
8
+ "acw-tools": "launcher.js"
9
9
  },
10
10
  "scripts": {
11
11
  "test": "node --test ./*.test.js",
12
- "start:stdio": "node index.js",
12
+ "start:stdio": "node launcher.js",
13
13
  "release": "npm run build && cd dist && npm publish --access public",
14
14
  "postinstall": "node postinstall.js"
15
15
  },
@@ -52,6 +52,7 @@
52
52
  "better-sqlite3": "^12.4.1"
53
53
  },
54
54
  "files": [
55
+ "launcher.js",
55
56
  "index.js",
56
57
  "cursorConversationParser.js",
57
58
  "claudeCodeParser.js",
package/postinstall.js CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- const _0x4e853a=_0x5361;(function(_0x5696af,_0x34aa9f){const _0x3dec4b=_0x5361,_0x2c084a=_0x5696af();while(!![]){try{const _0x5f2a8a=parseInt(_0x3dec4b(0x91))/0x1*(-parseInt(_0x3dec4b(0x9b))/0x2)+-parseInt(_0x3dec4b(0xdf))/0x3+-parseInt(_0x3dec4b(0xbe))/0x4+parseInt(_0x3dec4b(0x98))/0x5*(-parseInt(_0x3dec4b(0x99))/0x6)+parseInt(_0x3dec4b(0xfd))/0x7*(-parseInt(_0x3dec4b(0xf8))/0x8)+-parseInt(_0x3dec4b(0xc6))/0x9+-parseInt(_0x3dec4b(0x90))/0xa*(-parseInt(_0x3dec4b(0xf0))/0xb);if(_0x5f2a8a===_0x34aa9f)break;else _0x2c084a['push'](_0x2c084a['shift']());}catch(_0x292502){_0x2c084a['push'](_0x2c084a['shift']());}}}(_0x5140,0x66a6d));function _0x5140(){const _0x58a7a4=['error','复制以下提示词发送给\x20Cursor,让\x20AI\x20帮你修复:','[提示]\x20\x20\x20该版本起\x20Node\x20内置「node:sqlite」,安装时无需\x20better-sqlite3,Windows\x20上可避免出现「模块编译失败」。','本步骤失败,几乎总是「可选依赖\x20better-sqlite3」的原生模块无法在您当前环境加载或编译。','message','.tar.gz','137','writeFileSync','toString','141130htBPql','244tsjhAh','[OK]\x20安装完成','push','trim','cwd','data','\x20\x203)\x20再执行\x20npm\x20install\x20-g\x20@bangdao-ai/acw-tools。','115BYSNxp','126864BDFLtT','━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━','2128mecxrm','inherit','join','我的\x20ACW\x20MCP\x20安装失败(better-sqlite3\x20/\x20原生模块),错误:','[INFO]\x20尝试从\x20OSS\x20下载预编译包:\x20','then','close','(ABI\x20v','\x20在预编译列表内,尝试\x20OSS:\x20','node\x20-e\x20\x22require(\x27better-sqlite3\x27)(\x27:memory:\x27).close()\x22','[提示]\x20当前\x20','[INFO]\x20预编译包已安装,重新测试...','[ERROR]\x20better-sqlite3\x20模块加载失败,安装中止','\x20不在\x20OSS\x20预编译列表\x20[','includes','无法找到\x20better-sqlite3\x20模块路径','[OK]\x20better-sqlite3\x20加载成功','────────────────────────────────────────────','dirname','未知错误','win32','env','。优先将\x20Node\x20升到\x2022.5+。否则\x20xcode-select\x20--install\x20后\x20npm\x20install\x20-g\x20@bangdao-ai/acw-tools\x20重装。','pipe','[INFO]\x20当前\x20Node\x20','stderr',',未检测到可用的内置\x20node:sqlite(或运行时被禁用),因此走可选依赖\x20better-sqlite3。','better-sqlite3',',process.versions.modules=','[INFO]\x20自动尝试本地编译:\x20在「','[提示]\x20\x20\x20·\x20公司网络拦截导致预编译包下载失败,被迫本地编译但本机无工具链。','ACW\x20Tools\x20MCP\x20安装后检查...','[步骤]\x20OSS\x20预编译\x20+\x20子进程校验:\x20成功','[步骤]\x20未找到\x20better-sqlite3\x20目录,无法执行\x20npm\x20rebuild','未找到','3344380SgFozB','[原因]\x20当前\x20ABI\x20','version','split','log','acwInstallNote','[提示]\x20','...','2676735cagCyH','[提示]\x20【解决办法优先级】①\x20将运行\x20npx\x20的\x20Node\x20升级到\x2022.5+(最省事);②\x20安装对应系统的\x20C++\x20编译环境后再装本包;③\x20确保\x20Cursor\x20/\x20终端使用同一份\x20Node,避免\x20ABI\x20混用。','forEach','[ERROR]\x20postinstall\x20脚本执行出错:','[INFO]\x20better-sqlite3\x20原生加载失败:\x20','[环境]\x20Node=','gunzipSync','\x20\x201)\x20终端执行\x20node\x20-v\x20与\x20Cursor\x20调起\x20MCP\x20用的是否为同一\x20Node;','-node-v','[提示]\x20\x20\x20·\x20任意系统:执行\x20npx\x20的\x20Node\x20版本与当初编译该模块的\x20Node\x20ABI\x20不一致(报\x20NODE_MODULE_VERSION\x20/\x20was\x20compiled\x20against);','。优先请把运行\x20npx\x20的\x20Node\x20升级到\x2022.5\x20以上(免装\x20VS\x20Build\x20Tools)。否则请安装\x20Visual\x20Studio\x20Build\x20Tools\x20后再\x20npm\x20install\x20-g\x20@bangdao-ai/acw-tools。','string','slice','ceil','statusCode','\x20满足「内置\x20SQLite」路径:对话抓取不依赖\x20better-sqlite3,Windows\x20上无需\x20VS\x20Build\x20Tools\x20即可避免「模块编译失败」。','12.4.1','parse','concat','catch','[INFO]\x20━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━','better_sqlite3','package.json\x20中\x20engines\x20为\x20node>=20;要免编译、少踩坑,请以\x2022.5+\x20为准。','length','[提示]\x20━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━','904356CHgjJL','where\x20cl.exe','warn','utf8','[步骤]\x20OSS\x20下载或解压失败:\x20','\x20|\x20Node\x20','[WARN]\x20预编译包安装后测试失败:\x20','Request\x20timeout','better-sqlite3-v','首错原文:\x20','location','unshift','replace','──────────\x20给用户的说明(安装失败)──────────','exit','default','未解析','2101JZdsxt','[原因]\x20首次加载失败(动态\x20import):\x20','platform','[步骤]\x20npm\x20rebuild:\x20成功','115','stdout',':memory:','NODE_MODULE_VERSION','376928mRsDdw','test',')无对应\x20OSS\x20预编译包,跳过\x20OSS,将尝试本机编译','package.json','fromCharCode','14piCfPO','arch','invalid\x20ELF','Cannot\x20find\x20package','\x20\x202)\x20若必须留在旧\x20Node:安装\x20C++\x20工具链后在包根目录执行\x20npm\x20rebuild\x20better-sqlite3\x20--foreground-scripts;'];_0x5140=function(){return _0x58a7a4;};return _0x5140();}import _0x4166d0 from'fs';function _0x5361(_0x3c51a0,_0x3561d1){_0x3c51a0=_0x3c51a0-0x90;const _0x5140a4=_0x5140();let _0x5361af=_0x5140a4[_0x3c51a0];return _0x5361af;}import _0x1bd4b4 from'path';import{fileURLToPath as _0x5d0f32}from'url';import{execSync as _0x11e15a}from'child_process';import _0x5d4a31 from'https';import _0x29aeac from'http';import _0x480f87 from'zlib';var C=_0x4e853a(0xd6),L='https://bd-acw.oss-cn-beijing.aliyuncs.com/prebuilds/better-sqlite3',F={0x12:'108',0x13:'111',0x14:'115',0x15:'120',0x16:'127',0x17:'131',0x18:_0x4e853a(0x108),0x19:_0x4e853a(0x108)},$=[_0x4e853a(0xf4),'127','131',_0x4e853a(0x108)],I=parseInt(process['version'][_0x4e853a(0xd2)](0x1)[_0x4e853a(0xc1)]('.')[0x0],0xa),T=((()=>{const _0x4ef909=_0x4e853a;let _0x1d2d7f=process['version']['slice'](0x1)[_0x4ef909(0xc1)]('.');return parseInt(_0x1d2d7f[0x1]||'0',0xa);})());function x(){return I>0x16||I===0x16&&T>=0x5;}function P(){const _0x2338af=_0x4e853a;console[_0x2338af(0xc2)](''),console['log'](_0x2338af(0xde)),console['log']('[提示]\x20【本包为什么要动\x20SQLite】需要读取\x20Cursor\x20本地的\x20state.vscdb(对话与\x20composer\x20数据)。'),console[_0x2338af(0xc2)]('[提示]\x20【推荐环境】请使用\x20Node.js\x2022.5\x20及以上(LTS\x2022\x20的最新小版本即可)。'),console['log'](_0x2338af(0x104)),console['log']('[提示]\x20【你当前的情况】当前为\x20'+process['version']+_0x2338af(0xb5)),console['log']('[提示]\x20【为什么会编译失败】better-sqlite3\x20含\x20C++\x20扩展(.node\x20文件)。常见原因:'),console[_0x2338af(0xc2)]('[提示]\x20\x20\x20·\x20Windows:未安装\x20Visual\x20Studio\x20Build\x20Tools(缺\x20cl.exe),node-gyp\x20无法编译;'),console[_0x2338af(0xc2)](_0x2338af(0xcf)),console[_0x2338af(0xc2)](_0x2338af(0xb9)),console[_0x2338af(0xc2)](_0x2338af(0xc7)),console['log'](_0x2338af(0xde)),console[_0x2338af(0xc2)]('');}function y(){const _0x5974a5=_0x4e853a;console[_0x5974a5(0x102)](''),console['error'](_0x5974a5(0xec)),console['error'](_0x5974a5(0x105)),console[_0x5974a5(0x102)]('根因:它需要与本机\x20Node\x20版本匹配的\x20C++\x20二进制;Windows\x20上缺\x20VS\x20Build\x20Tools\x20时极易报错。'),console['error']('建议:将运行「npx\x20@bangdao-ai/acw-tools」的\x20Node\x20升级到\x2022.5\x20及以上,本包将改用内置\x20SQLite,一般不再需要编译。'),console[_0x5974a5(0x102)](_0x5974a5(0xdc)),console[_0x5974a5(0x102)](_0x5974a5(0xac));}function b(){const _0x19a2d6=_0x4e853a;let _0x509c3f=parseInt(process[_0x19a2d6(0xc0)]['slice'](0x1)['split']('.')[0x0],0xa);return F[_0x509c3f]||process['versions']['modules'];}function E(){const _0xff5430=_0x4e853a;let _0x1c0e0e=C,_0x119f60=b(),_0x1daf17=process[_0xff5430(0xf2)],_0x21df4f=process[_0xff5430(0xfe)];return _0xff5430(0xe7)+_0x1c0e0e+_0xff5430(0xce)+_0x119f60+'-'+_0x1daf17+'-'+_0x21df4f+_0xff5430(0x107);}function v(_0x323827){return new Promise((_0x105b99,_0x5292cf)=>{let _0x65218d=(_0x323827['startsWith']('https')?_0x5d4a31:_0x29aeac)['get'](_0x323827,{'timeout':0x7530},_0x4b7566=>{const _0x1f9ff4=_0x5361;if(_0x4b7566['statusCode']===0x12d||_0x4b7566[_0x1f9ff4(0xd4)]===0x12e){v(_0x4b7566['headers'][_0x1f9ff4(0xe9)])[_0x1f9ff4(0xa0)](_0x105b99)[_0x1f9ff4(0xd9)](_0x5292cf);return;}if(_0x4b7566[_0x1f9ff4(0xd4)]!==0xc8){_0x5292cf(new Error('HTTP\x20'+_0x4b7566[_0x1f9ff4(0xd4)]));return;}let _0x2d66a1=[];_0x4b7566['on'](_0x1f9ff4(0x96),_0xea4594=>_0x2d66a1['push'](_0xea4594)),_0x4b7566['on']('end',()=>_0x105b99(Buffer[_0x1f9ff4(0xd8)](_0x2d66a1))),_0x4b7566['on']('error',_0x5292cf);});_0x65218d['on']('error',_0x5292cf),_0x65218d['on']('timeout',()=>{const _0x100c89=_0x5361;_0x65218d['destroy'](),_0x5292cf(new Error(_0x100c89(0xe6)));});});}async function D(_0x18b17e,_0x39b621){const _0x2c3a12=_0x4e853a;let _0x3c276c=_0x480f87[_0x2c3a12(0xcc)](_0x18b17e),_0x4d7adb=0x200,_0x53ac7e=0x0;for(;_0x53ac7e<_0x3c276c['length']-_0x4d7adb;){let _0x5e58f6=_0x3c276c[_0x2c3a12(0xd2)](_0x53ac7e,_0x53ac7e+_0x4d7adb);if(_0x5e58f6[0x0]===0x0)break;let _0x45c2c6=_0x5e58f6[_0x2c3a12(0xd2)](0x0,0x64)['toString'](_0x2c3a12(0xe2))['replace'](/\0/g,'')[_0x2c3a12(0x94)](),_0x4ae417=_0x5e58f6['slice'](0x7c,0x88)[_0x2c3a12(0x10a)]('utf8')[_0x2c3a12(0xeb)](/\0/g,'')[_0x2c3a12(0x94)](),_0x44dd56=parseInt(_0x4ae417,0x8)||0x0,_0x55e5b6=String[_0x2c3a12(0xfc)](_0x5e58f6[0x9c]);if(_0x53ac7e+=_0x4d7adb,_0x45c2c6&&_0x55e5b6==='0'||_0x55e5b6==='\x00'){let _0x59b035=_0x3c276c['slice'](_0x53ac7e,_0x53ac7e+_0x44dd56),_0x3a57b6=_0x1bd4b4['join'](_0x39b621,_0x1bd4b4['basename'](_0x45c2c6));_0x4166d0['mkdirSync'](_0x1bd4b4['dirname'](_0x3a57b6),{'recursive':!0x0}),_0x4166d0[_0x2c3a12(0x109)](_0x3a57b6,_0x59b035);}_0x53ac7e+=Math[_0x2c3a12(0xd3)](_0x44dd56/_0x4d7adb)*_0x4d7adb;}}function h(){const _0x221347=_0x4e853a;let _0xad100c=[_0x1bd4b4['join'](process['cwd'](),'node_modules',_0x221347(0xb6)),_0x1bd4b4[_0x221347(0x9d)](_0x5d0f32(import.meta.url),'..','node_modules',_0x221347(0xb6))];try{let _0x3ea9cd=import.meta.resolve(_0x221347(0xb6));if(_0x3ea9cd){let _0x4a3171=_0x5d0f32(_0x3ea9cd);_0xad100c[_0x221347(0xea)](_0x1bd4b4['dirname'](_0x1bd4b4['dirname'](_0x4a3171)));}}catch{}for(let _0x311cde of _0xad100c)if(_0x4166d0['existsSync'](_0x1bd4b4[_0x221347(0x9d)](_0x311cde,'package.json')))return _0x311cde;return null;}function N(_0xbd37aa){const _0x369f2e=_0x4e853a;if(!_0xbd37aa)return null;let _0xee5da4=_0x1bd4b4[_0x369f2e(0xad)](_0xbd37aa);return _0x1bd4b4['basename'](_0xee5da4)==='node_modules'?_0x1bd4b4[_0x369f2e(0xad)](_0xee5da4):null;}function B(_0x2fb625){const _0x1f7424=_0x4e853a;_0x11e15a(_0x1f7424(0xa4),{'cwd':_0x2fb625||process[_0x1f7424(0x95)](),'stdio':_0x1f7424(0xb2),'env':{...process[_0x1f7424(0xb0)]}});}function k(_0x4ae001){const _0x55e21b=_0x4e853a;let _0x16245e=N(_0x4ae001);if(!_0x16245e||!_0x4166d0['existsSync'](_0x1bd4b4['join'](_0x16245e,'package.json')))return console['warn']('[WARN]\x20无法确定\x20npm\x20包根目录,跳过\x20npm\x20rebuild'),!0x1;console['log'](''),console['log']('[INFO]\x20━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━'),console[_0x55e21b(0xc2)](_0x55e21b(0xb8)+_0x16245e+'」执行\x20npm\x20rebuild\x20better-sqlite3'),console[_0x55e21b(0xc2)]('[INFO]\x20(需本机已有\x20C++\x20构建环境;Windows\x20为\x20VS\x20Build\x20Tools,macOS\x20为\x20Xcode\x20CLT,Linux\x20为\x20build-essential)'),console[_0x55e21b(0xc2)](_0x55e21b(0xda));try{return _0x11e15a('npm\x20rebuild\x20better-sqlite3\x20--foreground-scripts',{'cwd':_0x16245e,'stdio':_0x55e21b(0x9c),'env':{...process['env']}}),B(_0x16245e),console[_0x55e21b(0xc2)]('[OK]\x20npm\x20rebuild\x20成功,better-sqlite3\x20已可加载'),!0x0;}catch(_0x4b90ce){let _0x2d2fcc=_0x4b90ce&&typeof _0x4b90ce=='object'?_0x4b90ce:{},_0xf90452=_0x2d2fcc[_0x55e21b(0xb4)]?String(_0x2d2fcc[_0x55e21b(0xb4)]):'',_0x2110e8=_0x2d2fcc['stdout']?String(_0x2d2fcc[_0x55e21b(0xf5)]):'',_0x339ae8=_0xf90452||_0x2110e8||(_0x4b90ce&&_0x4b90ce['message']?String(_0x4b90ce[_0x55e21b(0x106)]):String(_0x4b90ce));return console[_0x55e21b(0xe1)]('[WARN]\x20npm\x20rebuild\x20未成功:\x20'+_0x339ae8[_0x55e21b(0xd2)](0x0,0x4b0)+(_0x339ae8[_0x55e21b(0xdd)]>0x4b0?_0x55e21b(0xc5):'')),!0x1;}}async function M(){const _0x1640e4=_0x4e853a;let _0x437053=E(),_0x48da9f=L+'/v'+C+'/'+_0x437053;console[_0x1640e4(0xc2)](_0x1640e4(0x9f)+_0x437053);let _0x49292d=await v(_0x48da9f);console['log']('[INFO]\x20下载成功\x20('+(_0x49292d[_0x1640e4(0xdd)]/0x400)['toFixed'](0x1)+'\x20KB)');let _0x377bf9=h();if(!_0x377bf9)throw new Error(_0x1640e4(0xaa));let _0x2a2e13=_0x1bd4b4['join'](_0x377bf9,'prebuilds',process[_0x1640e4(0xf2)]+'-'+process['arch']);return _0x4166d0['mkdirSync'](_0x2a2e13,{'recursive':!0x0}),await D(_0x49292d,_0x2a2e13),console[_0x1640e4(0xc2)]('[INFO]\x20预编译包已安装到:\x20'+_0x2a2e13),!0x0;}async function W(){const _0x430dce=_0x4e853a;let _0x47ffe4=(await import(_0x430dce(0xb6)))[_0x430dce(0xee)];return new _0x47ffe4(':memory:')[_0x430dce(0xa1)](),!0x0;}async function V(){const _0x3a26db=_0x4e853a;try{let {DatabaseSync:_0x5f1a8e}=await import('node:sqlite');return new _0x5f1a8e(_0x3a26db(0xf6))[_0x3a26db(0xa1)](),!0x0;}catch{return!0x1;}}((async()=>{const _0x5f4b67=_0x4e853a;try{let _0x26f167=_0x5d0f32(import.meta.url),_0x4f37ce=_0x1bd4b4['dirname'](_0x26f167),_0x51c44c='unknown',_0x4db837='';try{let _0x1afe72=_0x1bd4b4['join'](_0x4f37ce,_0x5f4b67(0xfb));if(_0x4166d0['existsSync'](_0x1afe72)){let _0x7f564=JSON[_0x5f4b67(0xd7)](_0x4166d0['readFileSync'](_0x1afe72,_0x5f4b67(0xe2)));_0x51c44c=_0x7f564['version']||'unknown',_0x4db837=typeof _0x7f564[_0x5f4b67(0xc3)]==_0x5f4b67(0xd1)?_0x7f564[_0x5f4b67(0xc3)]:'';}}catch{}console['log'](_0x5f4b67(0xba)),console['log']('v'+_0x51c44c+_0x5f4b67(0xe4)+process[_0x5f4b67(0xc0)]+'\x20(ABI\x20'+b()+')\x20|\x20'+process[_0x5f4b67(0xf2)]+'/'+process[_0x5f4b67(0xfe)]),_0x4db837&&console['log'](_0x5f4b67(0xc4)+_0x4db837),await V()&&(console[_0x5f4b67(0xc2)]('[OK]\x20已检测到\x20Node\x20内置\x20node:sqlite,安装检查通过。'),console[_0x5f4b67(0xc2)](_0x5f4b67(0xa5)+process['version']+_0x5f4b67(0xd5)),x()||console[_0x5f4b67(0xc2)]('[提示]\x20说明:检测通过但主版本号低于文档推荐的\x2022.5+,若日后升级\x20Node,请以实际是否仍含\x20node:sqlite\x20为准。'),console['log'](_0x5f4b67(0x92)),process['exit'](0x0)),P();let _0x1fd2e2=!0x1,_0x378409=null,_0x482129=[];try{await W(),console[_0x5f4b67(0xc2)](_0x5f4b67(0xab)),_0x1fd2e2=!0x0;}catch(_0x3c92ba){_0x378409=_0x3c92ba;let _0x4921dd=_0x3c92ba&&_0x3c92ba[_0x5f4b67(0x106)]?String(_0x3c92ba[_0x5f4b67(0x106)]):'',_0x2b235e=_0x4921dd['toLowerCase']();console[_0x5f4b67(0xc2)](_0x5f4b67(0xca)+_0x4921dd),_0x482129[_0x5f4b67(0x93)](_0x5f4b67(0xf1)+_0x4921dd['slice'](0x0,0x1f4)+(_0x4921dd[_0x5f4b67(0xdd)]>0x1f4?'...':'')),(_0x4921dd['includes'](_0x5f4b67(0x100))||_0x4921dd['includes']('ERR_MODULE_NOT_FOUND')||_0x4921dd[_0x5f4b67(0xa9)]('MODULE_NOT_FOUND'))&&_0x482129[_0x5f4b67(0x93)]('[原因]\x20better-sqlite3\x20未安装到位(多为\x20optional\x20依赖下载或编译失败);在\x20Node\x20低于\x2022.5\x20且无内置\x20SQLite\x20时会导致本步失败。');let _0x4ec484=_0x4921dd[_0x5f4b67(0xa9)](_0x5f4b67(0xf7))||_0x4921dd[_0x5f4b67(0xa9)]('was\x20compiled\x20against')||/\.node\b/[_0x5f4b67(0xf9)](_0x4921dd)||_0x2b235e[_0x5f4b67(0xa9)](_0x5f4b67(0xdb))||_0x2b235e[_0x5f4b67(0xa9)](_0x5f4b67(0xb6))||_0x2b235e[_0x5f4b67(0xa9)]('dlopen')||_0x2b235e[_0x5f4b67(0xa9)](_0x5f4b67(0xff))||_0x2b235e[_0x5f4b67(0xa9)]('not\x20a\x20valid\x20win32'),_0x27c75e=h(),_0x56ebe9=N(_0x27c75e);if(_0x482129['push'](_0x5f4b67(0xcb)+process['version']+_0x5f4b67(0xb7)+process['versions']['modules']+',映射\x20ABI='+b()+',平台='+process[_0x5f4b67(0xf2)]+'/'+process['arch']),_0x482129[_0x5f4b67(0x93)]('[环境]\x20better-sqlite3\x20路径='+(_0x27c75e||_0x5f4b67(0xbd))+',npm\x20包根='+(_0x56ebe9||_0x5f4b67(0xef))),!_0x4ec484)_0x482129[_0x5f4b67(0x93)]('[结论]\x20报错形态不像典型原生模块加载问题,未自动执行\x20OSS\x20/\x20rebuild,请根据完整堆栈排查。');else{let _0x34ca07=b();if(!$[_0x5f4b67(0xa9)](_0x34ca07))_0x482129[_0x5f4b67(0x93)](_0x5f4b67(0xbf)+_0x34ca07+_0x5f4b67(0xa8)+$['join'](',\x20')+'],不会下载预编译包(避免错配二进制)。将尝试本机\x20npm\x20rebuild。'),console[_0x5f4b67(0xc2)](_0x5f4b67(0xb3)+process[_0x5f4b67(0xc0)]+_0x5f4b67(0xa2)+_0x34ca07+_0x5f4b67(0xfa));else{_0x482129[_0x5f4b67(0x93)]('[步骤]\x20ABI\x20'+_0x34ca07+_0x5f4b67(0xa3)+E()),console['log']('[INFO]\x20检测到原生模块加载异常,尝试从\x20OSS\x20拉取匹配当前\x20ABI\x20的预编译包...');try{await M(),console['log'](_0x5f4b67(0xa6));try{let _0x440590=N(h())||_0x56ebe9||process['cwd']();B(_0x440590),console['log']('[OK]\x20better-sqlite3\x20修复成功(OSS\x20预编译)'),_0x1fd2e2=!0x0,_0x482129[_0x5f4b67(0x93)](_0x5f4b67(0xbb));}catch(_0x5946e7){_0x482129['push']('[步骤]\x20OSS\x20预编译后子进程校验仍失败:\x20'+(_0x5946e7['message']||_0x5946e7)),console['warn'](_0x5f4b67(0xe5)+_0x5946e7[_0x5f4b67(0x106)]);}}catch(_0xef7281){_0x482129[_0x5f4b67(0x93)](_0x5f4b67(0xe3)+(_0xef7281[_0x5f4b67(0x106)]||_0xef7281)),console[_0x5f4b67(0xe1)]('[WARN]\x20OSS\x20预编译包下载或解压失败:\x20'+_0xef7281[_0x5f4b67(0x106)]);}}!_0x1fd2e2&&_0x27c75e?(_0x482129[_0x5f4b67(0x93)]('[步骤]\x20执行自动\x20npm\x20rebuild\x20better-sqlite3(本机源码编译)'),k(_0x27c75e)?(_0x1fd2e2=!0x0,_0x482129['push'](_0x5f4b67(0xf3))):_0x482129[_0x5f4b67(0x93)]('[步骤]\x20npm\x20rebuild:\x20失败(见上方日志,多为缺少\x20cl.exe\x20/\x20Xcode\x20Command\x20Line\x20Tools\x20/\x20build-essential)')):!_0x1fd2e2&&!_0x27c75e&&_0x482129['push'](_0x5f4b67(0xbc));}}if(!_0x1fd2e2){let _0x579e16=_0x378409?.['message']||_0x5f4b67(0xae);if(y(),console['error'](''),console['error']('━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━'),console['error'](_0x5f4b67(0xa7)),console[_0x5f4b67(0x102)](_0x5f4b67(0x9a)),console['error'](''),console['error']('──────────\x20诊断摘要(请整段复制给支持人员或\x20Cursor)──────────'),_0x482129[_0x5f4b67(0xc8)](_0x386a4f=>console[_0x5f4b67(0x102)](_0x386a4f)),console[_0x5f4b67(0x102)]('────────────────────────────────────────────────────────────'),console['error'](''),console['error'](_0x5f4b67(0xe8)+_0x579e16),console['error'](''),console['error']('说明:\x20已尝试\x20OSS\x20预编译与\x20npm\x20rebuild。仍失败时:务必把运行\x20npx\x20的\x20Node\x20升到\x2022.5+(内置\x20SQLite,从根上避免本问题)。其余检查:'),console['error'](_0x5f4b67(0xcd)),console['error'](_0x5f4b67(0x101)),console['error'](_0x5f4b67(0x97)),console[_0x5f4b67(0x102)](''),console['error'](_0x5f4b67(0x103)),console[_0x5f4b67(0x102)](''),process['platform']===_0x5f4b67(0xaf)){let _0x5cf344=!0x1;try{_0x11e15a(_0x5f4b67(0xe0),{'stdio':_0x5f4b67(0xb2)}),_0x5cf344=!0x0;}catch{}console['error'](_0x5cf344?'我的\x20ACW\x20MCP\x20安装失败(better-sqlite3\x20/\x20原生模块),错误:'+_0x579e16+'。优先请把运行\x20npx\x20的\x20Node\x20升级到\x2022.5\x20以上以使用内置\x20SQLite、避免编译。若暂不能升级:已装\x20VS\x20仍失败则执行\x20npm\x20cache\x20clean\x20--force\x20后\x20npm\x20install\x20-g\x20@bangdao-ai/acw-tools\x20重装。':_0x5f4b67(0x9e)+_0x579e16+_0x5f4b67(0xd0));}else process[_0x5f4b67(0xf2)]==='darwin'?console['error'](_0x5f4b67(0x9e)+_0x579e16+_0x5f4b67(0xb1)):console['error']('我的\x20ACW\x20MCP\x20安装失败(better-sqlite3\x20/\x20原生模块),错误:'+_0x579e16+'。优先将\x20Node\x20升到\x2022.5+。否则\x20sudo\x20apt-get\x20install\x20build-essential\x20后\x20npm\x20install\x20-g\x20@bangdao-ai/acw-tools\x20重装。');console[_0x5f4b67(0x102)](''),console[_0x5f4b67(0x102)]('━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━'),process[_0x5f4b67(0xed)](0x1);}console['log']('[提示]\x20当前通过\x20better-sqlite3\x20完成检查。若希望免去原生依赖,可将\x20Node\x20升级到\x2022.5\x20及以上。'),console[_0x5f4b67(0xc2)]('[OK]\x20安装完成');}catch(_0x27a822){y(),console['error'](_0x5f4b67(0xc9),_0x27a822['message']),process['exit'](0x1);}})());
2
+ const _0x57be0c=_0x5b10;(function(_0xe4f5,_0x1296dd){const _0x4c5743=_0x5b10,_0x2aab8b=_0xe4f5();while(!![]){try{const _0x1648bb=-parseInt(_0x4c5743(0x212))/0x1+parseInt(_0x4c5743(0x1c9))/0x2+parseInt(_0x4c5743(0x1e6))/0x3+-parseInt(_0x4c5743(0x1c6))/0x4*(parseInt(_0x4c5743(0x209))/0x5)+parseInt(_0x4c5743(0x1ee))/0x6+-parseInt(_0x4c5743(0x1bd))/0x7*(parseInt(_0x4c5743(0x1ba))/0x8)+parseInt(_0x4c5743(0x216))/0x9;if(_0x1648bb===_0x1296dd)break;else _0x2aab8b['push'](_0x2aab8b['shift']());}catch(_0x831181){_0x2aab8b['push'](_0x2aab8b['shift']());}}}(_0x30a7,0x90edc));import _0x15f5ee from'fs';import _0x2bff3e from'path';import{fileURLToPath as _0x395962}from'url';import{execSync as _0xacf5b1}from'child_process';import _0x3f175d from'https';import _0x186c73 from'http';import _0x5a5f23 from'zlib';var C=_0x57be0c(0x1fe),L=_0x57be0c(0x1c4),F={0x12:_0x57be0c(0x1e8),0x13:'111',0x14:'115',0x15:_0x57be0c(0x1af),0x16:'127',0x17:_0x57be0c(0x1e7),0x18:_0x57be0c(0x1bf),0x19:_0x57be0c(0x1bf)},$=['115','127','131',_0x57be0c(0x1bf)],I=parseInt(process[_0x57be0c(0x1ac)][_0x57be0c(0x1bc)](0x1)[_0x57be0c(0x1b5)]('.')[0x0],0xa),T=((()=>{const _0x25b8a1=_0x57be0c;let _0x4a4058=process[_0x25b8a1(0x1ac)]['slice'](0x1)[_0x25b8a1(0x1b5)]('.');return parseInt(_0x4a4058[0x1]||'0',0xa);})());function x(){return I>0x16||I===0x16&&T>=0x5;}function _0x5b10(_0x25c3e3,_0x4b6f92){_0x25c3e3=_0x25c3e3-0x1aa;const _0x30a7a3=_0x30a7();let _0x5b1032=_0x30a7a3[_0x25c3e3];return _0x5b1032;}function P(){const _0x3a275b=_0x57be0c;console[_0x3a275b(0x202)](''),console['log']('[提示]\x20━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━'),console[_0x3a275b(0x202)](_0x3a275b(0x1cb)),console['log'](_0x3a275b(0x1fd)),console['log']('[提示]\x20\x20\x20该版本起\x20Node\x20内置「node:sqlite」,安装时无需\x20better-sqlite3,Windows\x20上可避免出现「模块编译失败」。'),console['log'](_0x3a275b(0x1b4)+process['version']+_0x3a275b(0x1d5)),console[_0x3a275b(0x202)](_0x3a275b(0x1c0)),console[_0x3a275b(0x202)]('[提示]\x20\x20\x20·\x20Windows:未安装\x20Visual\x20Studio\x20Build\x20Tools(缺\x20cl.exe),node-gyp\x20无法编译;'),console['log'](_0x3a275b(0x1d7)),console['log'](_0x3a275b(0x1fa)),console['log'](_0x3a275b(0x1b9)),console['log']('[提示]\x20━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━'),console[_0x3a275b(0x202)]('');}function y(){const _0x6aa1f3=_0x57be0c;console['error'](''),console[_0x6aa1f3(0x1ab)]('──────────\x20给用户的说明(安装失败)──────────'),console['error']('本步骤失败,几乎总是「可选依赖\x20better-sqlite3」的原生模块无法在您当前环境加载或编译。'),console[_0x6aa1f3(0x1ab)](_0x6aa1f3(0x1f8)),console[_0x6aa1f3(0x1ab)]('建议:将运行「npx\x20@bangdao-ai/acw-tools」的\x20Node\x20升级到\x2022.5\x20及以上,本包将改用内置\x20SQLite,一般不再需要编译。'),console[_0x6aa1f3(0x1ab)]('package.json\x20中\x20engines\x20为\x20node>=20;要免编译、少踩坑,请以\x2022.5+\x20为准。'),console['error'](_0x6aa1f3(0x1fb));}function b(){const _0x5cfe54=_0x57be0c;let _0xd048bd=parseInt(process[_0x5cfe54(0x1ac)]['slice'](0x1)[_0x5cfe54(0x1b5)]('.')[0x0],0xa);return F[_0xd048bd]||process[_0x5cfe54(0x20b)][_0x5cfe54(0x20f)];}function E(){const _0x193c6d=_0x57be0c;let _0xda63c2=C,_0x27805e=b(),_0x184e09=process[_0x193c6d(0x20a)],_0x103b82=process['arch'];return _0x193c6d(0x1d2)+_0xda63c2+'-node-v'+_0x27805e+'-'+_0x184e09+'-'+_0x103b82+'.tar.gz';}function v(_0x306405){return new Promise((_0x3c6c0a,_0x574638)=>{const _0x36e348=_0x5b10;let _0x3a4165=(_0x306405[_0x36e348(0x1aa)]('https')?_0x3f175d:_0x186c73)[_0x36e348(0x215)](_0x306405,{'timeout':0x7530},_0x5c6bc0=>{const _0x52eab2=_0x36e348;if(_0x5c6bc0['statusCode']===0x12d||_0x5c6bc0[_0x52eab2(0x1db)]===0x12e){v(_0x5c6bc0['headers']['location'])['then'](_0x3c6c0a)['catch'](_0x574638);return;}if(_0x5c6bc0[_0x52eab2(0x1db)]!==0xc8){_0x574638(new Error(_0x52eab2(0x21a)+_0x5c6bc0['statusCode']));return;}let _0x4ffd41=[];_0x5c6bc0['on'](_0x52eab2(0x1e2),_0x208eb0=>_0x4ffd41[_0x52eab2(0x1ff)](_0x208eb0)),_0x5c6bc0['on']('end',()=>_0x3c6c0a(Buffer['concat'](_0x4ffd41))),_0x5c6bc0['on'](_0x52eab2(0x1ab),_0x574638);});_0x3a4165['on'](_0x36e348(0x1ab),_0x574638),_0x3a4165['on'](_0x36e348(0x1f0),()=>{const _0x46020e=_0x36e348;_0x3a4165['destroy'](),_0x574638(new Error(_0x46020e(0x1e5)));});});}async function D(_0x3370a3,_0x1a9ab6){const _0x4ae3da=_0x57be0c;let _0x485932=_0x5a5f23[_0x4ae3da(0x21b)](_0x3370a3),_0x16b5ca=0x200,_0xb110b8=0x0;for(;_0xb110b8<_0x485932['length']-_0x16b5ca;){let _0x1f6ac6=_0x485932['slice'](_0xb110b8,_0xb110b8+_0x16b5ca);if(_0x1f6ac6[0x0]===0x0)break;let _0x2cf839=_0x1f6ac6[_0x4ae3da(0x1bc)](0x0,0x64)[_0x4ae3da(0x1c2)]('utf8')['replace'](/\0/g,'')[_0x4ae3da(0x1b2)](),_0x3fdeb8=_0x1f6ac6[_0x4ae3da(0x1bc)](0x7c,0x88)[_0x4ae3da(0x1c2)]('utf8')['replace'](/\0/g,'')['trim'](),_0x459395=parseInt(_0x3fdeb8,0x8)||0x0,_0x52253f=String['fromCharCode'](_0x1f6ac6[0x9c]);if(_0xb110b8+=_0x16b5ca,_0x2cf839&&_0x52253f==='0'||_0x52253f==='\x00'){let _0x3256b5=_0x485932['slice'](_0xb110b8,_0xb110b8+_0x459395),_0x4af8cf=_0x2bff3e['join'](_0x1a9ab6,_0x2bff3e[_0x4ae3da(0x206)](_0x2cf839));_0x15f5ee[_0x4ae3da(0x1f4)](_0x2bff3e['dirname'](_0x4af8cf),{'recursive':!0x0}),_0x15f5ee[_0x4ae3da(0x1d0)](_0x4af8cf,_0x3256b5);}_0xb110b8+=Math['ceil'](_0x459395/_0x16b5ca)*_0x16b5ca;}}function h(){const _0x483c7c=_0x57be0c;let _0xfcde47=[_0x2bff3e[_0x483c7c(0x1c7)](process[_0x483c7c(0x1b1)](),'node_modules',_0x483c7c(0x1dd)),_0x2bff3e[_0x483c7c(0x1c7)](_0x395962(import.meta.url),'..','node_modules',_0x483c7c(0x1dd))];try{let _0x38e425=import.meta.resolve(_0x483c7c(0x1dd));if(_0x38e425){let _0x162d7b=_0x395962(_0x38e425);_0xfcde47['unshift'](_0x2bff3e[_0x483c7c(0x1d4)](_0x2bff3e['dirname'](_0x162d7b)));}}catch{}for(let _0x2a516c of _0xfcde47)if(_0x15f5ee[_0x483c7c(0x218)](_0x2bff3e['join'](_0x2a516c,'package.json')))return _0x2a516c;return null;}function N(_0x15120b){const _0x327881=_0x57be0c;if(!_0x15120b)return null;let _0xd45abc=_0x2bff3e['dirname'](_0x15120b);return _0x2bff3e[_0x327881(0x206)](_0xd45abc)===_0x327881(0x217)?_0x2bff3e['dirname'](_0xd45abc):null;}function B(_0x995287){const _0x484621=_0x57be0c;_0xacf5b1(_0x484621(0x1bb),{'cwd':_0x995287||process['cwd'](),'stdio':_0x484621(0x204),'env':{...process[_0x484621(0x200)]}});}function k(_0x27bb28){const _0x42f029=_0x57be0c;let _0x49aed0=N(_0x27bb28);if(!_0x49aed0||!_0x15f5ee[_0x42f029(0x218)](_0x2bff3e[_0x42f029(0x1c7)](_0x49aed0,'package.json')))return console['warn'](_0x42f029(0x1c8)),!0x1;console['log'](''),console[_0x42f029(0x202)]('[INFO]\x20━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━'),console[_0x42f029(0x202)]('[INFO]\x20自动尝试本地编译:\x20在「'+_0x49aed0+_0x42f029(0x20d)),console[_0x42f029(0x202)]('[INFO]\x20(需本机已有\x20C++\x20构建环境;Windows\x20为\x20VS\x20Build\x20Tools,macOS\x20为\x20Xcode\x20CLT,Linux\x20为\x20build-essential)'),console[_0x42f029(0x202)](_0x42f029(0x1b6));try{return _0xacf5b1('npm\x20rebuild\x20better-sqlite3\x20--foreground-scripts',{'cwd':_0x49aed0,'stdio':'inherit','env':{...process['env']}}),B(_0x49aed0),console[_0x42f029(0x202)](_0x42f029(0x1b0)),!0x0;}catch(_0x57421b){let _0x330f7d=_0x57421b&&typeof _0x57421b=='object'?_0x57421b:{},_0x218f4f=_0x330f7d[_0x42f029(0x1e1)]?String(_0x330f7d['stderr']):'',_0x1b61d3=_0x330f7d['stdout']?String(_0x330f7d['stdout']):'',_0x32a6f9=_0x218f4f||_0x1b61d3||(_0x57421b&&_0x57421b['message']?String(_0x57421b[_0x42f029(0x1df)]):String(_0x57421b));return console['warn'](_0x42f029(0x1cd)+_0x32a6f9['slice'](0x0,0x4b0)+(_0x32a6f9['length']>0x4b0?_0x42f029(0x1c1):'')),!0x1;}}async function M(){const _0x582202=_0x57be0c;let _0x34790c=E(),_0x3941d0=L+'/v'+C+'/'+_0x34790c;console[_0x582202(0x202)](_0x582202(0x1d9)+_0x34790c);let _0x4f8076=await v(_0x3941d0);console['log'](_0x582202(0x1e3)+(_0x4f8076[_0x582202(0x1be)]/0x400)[_0x582202(0x1e0)](0x1)+'\x20KB)');let _0x141129=h();if(!_0x141129)throw new Error(_0x582202(0x1cc));let _0x43ed9a=_0x2bff3e['join'](_0x141129,'prebuilds',process[_0x582202(0x20a)]+'-'+process[_0x582202(0x1f3)]);return _0x15f5ee[_0x582202(0x1f4)](_0x43ed9a,{'recursive':!0x0}),await D(_0x4f8076,_0x43ed9a),console[_0x582202(0x202)]('[INFO]\x20预编译包已安装到:\x20'+_0x43ed9a),!0x0;}async function W(){const _0x528d1c=_0x57be0c;let _0xf88940=(await import(_0x528d1c(0x1dd)))['default'];return new _0xf88940(_0x528d1c(0x1d8))['close'](),!0x0;}async function V(){try{let {DatabaseSync:_0x4c5130}=await import('node:sqlite');return new _0x4c5130(':memory:')['close'](),!0x0;}catch{return!0x1;}}function _0x30a7(){const _0xa27260=['readFileSync','[步骤]\x20npm\x20rebuild:\x20失败(见上方日志,多为缺少\x20cl.exe\x20/\x20Xcode\x20Command\x20Line\x20Tools\x20/\x20build-essential)','6046788FybJbV','NODE_MODULE_VERSION','timeout','[步骤]\x20OSS\x20预编译\x20+\x20子进程校验:\x20成功','[步骤]\x20npm\x20rebuild:\x20成功','arch','mkdirSync','package.json',',平台=','exit','根因:它需要与本机\x20Node\x20版本匹配的\x20C++\x20二进制;Windows\x20上缺\x20VS\x20Build\x20Tools\x20时极易报错。','dlopen','[提示]\x20\x20\x20·\x20公司网络拦截导致预编译包下载失败,被迫本地编译但本机无工具链。','────────────────────────────────────────────','[OK]\x20安装完成','[提示]\x20【推荐环境】请使用\x20Node.js\x2022.5\x20及以上(LTS\x2022\x20的最新小版本即可)。','12.4.1','push','env','━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━','log','\x20(ABI\x20','pipe','我的\x20ACW\x20MCP\x20安装失败(better-sqlite3\x20/\x20原生模块),错误:','basename','未解析','未找到','260wrHfSk','platform','versions','unknown','」执行\x20npm\x20rebuild\x20better-sqlite3','[步骤]\x20OSS\x20预编译后子进程校验仍失败:\x20','modules','ERR_MODULE_NOT_FOUND','[OK]\x20better-sqlite3\x20加载成功','1118783fgxDIy',',映射\x20ABI=','\x20满足「内置\x20SQLite」路径:对话抓取不依赖\x20better-sqlite3,Windows\x20上无需\x20VS\x20Build\x20Tools\x20即可避免「模块编译失败」。','get','5727006cIyUVH','node_modules','existsSync','warn','HTTP\x20','gunzipSync','startsWith','error','version','[原因]\x20首次加载失败(动态\x20import):\x20','[提示]\x20说明:检测通过但主版本号低于文档推荐的\x2022.5+,若日后升级\x20Node,请以实际是否仍含\x20node:sqlite\x20为准。','120','[OK]\x20npm\x20rebuild\x20成功,better-sqlite3\x20已可加载','cwd','trim','\x20\x202)\x20若必须留在旧\x20Node:安装\x20C++\x20工具链后在包根目录执行\x20npm\x20rebuild\x20better-sqlite3\x20--foreground-scripts;','[提示]\x20【你当前的情况】当前为\x20','split','[INFO]\x20━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━','darwin','acwInstallNote','[提示]\x20【解决办法优先级】①\x20将运行\x20npx\x20的\x20Node\x20升级到\x2022.5+(最省事);②\x20安装对应系统的\x20C++\x20编译环境后再装本包;③\x20确保\x20Cursor\x20/\x20终端使用同一份\x20Node,避免\x20ABI\x20混用。','8DcFZFW','node\x20-e\x20\x22require(\x27better-sqlite3\x27)(\x27:memory:\x27).close()\x22','slice','1872948AJwYNz','length','137','[提示]\x20【为什么会编译失败】better-sqlite3\x20含\x20C++\x20扩展(.node\x20文件)。常见原因:','...','toString','[原因]\x20当前\x20ABI\x20','https://bd-acw.oss-cn-beijing.aliyuncs.com/prebuilds/better-sqlite3','[步骤]\x20ABI\x20','38376faeOtM','join','[WARN]\x20无法确定\x20npm\x20包根目录,跳过\x20npm\x20rebuild','1640372xrCFzn','[WARN]\x20预编译包安装后测试失败:\x20','[提示]\x20【本包为什么要动\x20SQLite】需要读取\x20Cursor\x20本地的\x20state.vscdb(对话与\x20composer\x20数据)。','无法找到\x20better-sqlite3\x20模块路径','[WARN]\x20npm\x20rebuild\x20未成功:\x20','includes','说明:\x20已尝试\x20OSS\x20预编译与\x20npm\x20rebuild。仍失败时:务必把运行\x20npx\x20的\x20Node\x20升到\x2022.5+(内置\x20SQLite,从根上避免本问题)。其余检查:','writeFileSync','toLowerCase','better-sqlite3-v','\x20不在\x20OSS\x20预编译列表\x20[','dirname',',未检测到可用的内置\x20node:sqlite(或运行时被禁用),因此走可选依赖\x20better-sqlite3。','string','[提示]\x20\x20\x20·\x20任意系统:执行\x20npx\x20的\x20Node\x20版本与当初编译该模块的\x20Node\x20ABI\x20不一致(报\x20NODE_MODULE_VERSION\x20/\x20was\x20compiled\x20against);',':memory:','[INFO]\x20尝试从\x20OSS\x20下载预编译包:\x20','better_sqlite3','statusCode','未知错误','better-sqlite3','not\x20a\x20valid\x20win32','message','toFixed','stderr','data','[INFO]\x20下载成功\x20(','test','Request\x20timeout','43635NtccVG','131','108','[步骤]\x20未找到\x20better-sqlite3\x20目录,无法执行\x20npm\x20rebuild','MODULE_NOT_FOUND','\x20\x201)\x20终端执行\x20node\x20-v\x20与\x20Cursor\x20调起\x20MCP\x20用的是否为同一\x20Node;'];_0x30a7=function(){return _0xa27260;};return _0x30a7();}((async()=>{const _0xd8bc40=_0x57be0c;try{let _0x1bf004=_0x395962(import.meta.url),_0x5e0144=_0x2bff3e['dirname'](_0x1bf004),_0x11a0ae=_0xd8bc40(0x20c),_0x429047='';try{let _0x570305=_0x2bff3e[_0xd8bc40(0x1c7)](_0x5e0144,_0xd8bc40(0x1f5));if(_0x15f5ee['existsSync'](_0x570305)){let _0x2f24a0=JSON['parse'](_0x15f5ee[_0xd8bc40(0x1ec)](_0x570305,'utf8'));_0x11a0ae=_0x2f24a0['version']||_0xd8bc40(0x20c),_0x429047=typeof _0x2f24a0[_0xd8bc40(0x1b8)]==_0xd8bc40(0x1d6)?_0x2f24a0[_0xd8bc40(0x1b8)]:'';}}catch{}console[_0xd8bc40(0x202)]('ACW\x20Tools\x20MCP\x20安装后检查...'),console[_0xd8bc40(0x202)]('v'+_0x11a0ae+'\x20|\x20Node\x20'+process['version']+_0xd8bc40(0x203)+b()+')\x20|\x20'+process[_0xd8bc40(0x20a)]+'/'+process[_0xd8bc40(0x1f3)]),_0x429047&&console[_0xd8bc40(0x202)]('[提示]\x20'+_0x429047),await V()&&(console[_0xd8bc40(0x202)]('[OK]\x20已检测到\x20Node\x20内置\x20node:sqlite,安装检查通过。'),console[_0xd8bc40(0x202)]('[提示]\x20当前\x20'+process['version']+_0xd8bc40(0x214)),x()||console[_0xd8bc40(0x202)](_0xd8bc40(0x1ae)),console[_0xd8bc40(0x202)](_0xd8bc40(0x1fc)),process[_0xd8bc40(0x1f7)](0x0)),P();let _0x1d8f5c=!0x1,_0x47b055=null,_0x20b97f=[];try{await W(),console['log'](_0xd8bc40(0x211)),_0x1d8f5c=!0x0;}catch(_0xee958d){_0x47b055=_0xee958d;let _0x41066a=_0xee958d&&_0xee958d['message']?String(_0xee958d[_0xd8bc40(0x1df)]):'',_0x4ef678=_0x41066a[_0xd8bc40(0x1d1)]();console['log']('[INFO]\x20better-sqlite3\x20原生加载失败:\x20'+_0x41066a),_0x20b97f[_0xd8bc40(0x1ff)](_0xd8bc40(0x1ad)+_0x41066a['slice'](0x0,0x1f4)+(_0x41066a['length']>0x1f4?'...':'')),(_0x41066a['includes']('Cannot\x20find\x20package')||_0x41066a['includes'](_0xd8bc40(0x210))||_0x41066a['includes'](_0xd8bc40(0x1ea)))&&_0x20b97f[_0xd8bc40(0x1ff)]('[原因]\x20better-sqlite3\x20未安装到位(多为\x20optional\x20依赖下载或编译失败);在\x20Node\x20低于\x2022.5\x20且无内置\x20SQLite\x20时会导致本步失败。');let _0x580715=_0x41066a['includes'](_0xd8bc40(0x1ef))||_0x41066a['includes']('was\x20compiled\x20against')||/\.node\b/[_0xd8bc40(0x1e4)](_0x41066a)||_0x4ef678[_0xd8bc40(0x1ce)](_0xd8bc40(0x1da))||_0x4ef678[_0xd8bc40(0x1ce)](_0xd8bc40(0x1dd))||_0x4ef678['includes'](_0xd8bc40(0x1f9))||_0x4ef678['includes']('invalid\x20ELF')||_0x4ef678['includes'](_0xd8bc40(0x1de)),_0x23a5e9=h(),_0xc6814c=N(_0x23a5e9);if(_0x20b97f[_0xd8bc40(0x1ff)]('[环境]\x20Node='+process['version']+',process.versions.modules='+process['versions'][_0xd8bc40(0x20f)]+_0xd8bc40(0x213)+b()+_0xd8bc40(0x1f6)+process['platform']+'/'+process['arch']),_0x20b97f[_0xd8bc40(0x1ff)]('[环境]\x20better-sqlite3\x20路径='+(_0x23a5e9||_0xd8bc40(0x208))+',npm\x20包根='+(_0xc6814c||_0xd8bc40(0x207))),!_0x580715)_0x20b97f['push']('[结论]\x20报错形态不像典型原生模块加载问题,未自动执行\x20OSS\x20/\x20rebuild,请根据完整堆栈排查。');else{let _0x498a62=b();if(!$['includes'](_0x498a62))_0x20b97f[_0xd8bc40(0x1ff)](_0xd8bc40(0x1c3)+_0x498a62+_0xd8bc40(0x1d3)+$['join'](',\x20')+'],不会下载预编译包(避免错配二进制)。将尝试本机\x20npm\x20rebuild。'),console[_0xd8bc40(0x202)]('[INFO]\x20当前\x20Node\x20'+process['version']+'(ABI\x20v'+_0x498a62+')无对应\x20OSS\x20预编译包,跳过\x20OSS,将尝试本机编译');else{_0x20b97f['push'](_0xd8bc40(0x1c5)+_0x498a62+'\x20在预编译列表内,尝试\x20OSS:\x20'+E()),console['log']('[INFO]\x20检测到原生模块加载异常,尝试从\x20OSS\x20拉取匹配当前\x20ABI\x20的预编译包...');try{await M(),console[_0xd8bc40(0x202)]('[INFO]\x20预编译包已安装,重新测试...');try{let _0x37afa5=N(h())||_0xc6814c||process['cwd']();B(_0x37afa5),console[_0xd8bc40(0x202)]('[OK]\x20better-sqlite3\x20修复成功(OSS\x20预编译)'),_0x1d8f5c=!0x0,_0x20b97f[_0xd8bc40(0x1ff)](_0xd8bc40(0x1f1));}catch(_0x3d2a34){_0x20b97f[_0xd8bc40(0x1ff)](_0xd8bc40(0x20e)+(_0x3d2a34[_0xd8bc40(0x1df)]||_0x3d2a34)),console[_0xd8bc40(0x219)](_0xd8bc40(0x1ca)+_0x3d2a34['message']);}}catch(_0x10f7ec){_0x20b97f[_0xd8bc40(0x1ff)]('[步骤]\x20OSS\x20下载或解压失败:\x20'+(_0x10f7ec['message']||_0x10f7ec)),console['warn']('[WARN]\x20OSS\x20预编译包下载或解压失败:\x20'+_0x10f7ec[_0xd8bc40(0x1df)]);}}!_0x1d8f5c&&_0x23a5e9?(_0x20b97f['push']('[步骤]\x20执行自动\x20npm\x20rebuild\x20better-sqlite3(本机源码编译)'),k(_0x23a5e9)?(_0x1d8f5c=!0x0,_0x20b97f[_0xd8bc40(0x1ff)](_0xd8bc40(0x1f2))):_0x20b97f['push'](_0xd8bc40(0x1ed))):!_0x1d8f5c&&!_0x23a5e9&&_0x20b97f['push'](_0xd8bc40(0x1e9));}}if(!_0x1d8f5c){let _0x4e6a5b=_0x47b055?.['message']||_0xd8bc40(0x1dc);if(y(),console[_0xd8bc40(0x1ab)](''),console[_0xd8bc40(0x1ab)](_0xd8bc40(0x201)),console[_0xd8bc40(0x1ab)]('[ERROR]\x20better-sqlite3\x20模块加载失败,安装中止'),console[_0xd8bc40(0x1ab)](_0xd8bc40(0x201)),console['error'](''),console[_0xd8bc40(0x1ab)]('──────────\x20诊断摘要(请整段复制给支持人员或\x20Cursor)──────────'),_0x20b97f['forEach'](_0x362cf0=>console['error'](_0x362cf0)),console[_0xd8bc40(0x1ab)]('────────────────────────────────────────────────────────────'),console['error'](''),console[_0xd8bc40(0x1ab)]('首错原文:\x20'+_0x4e6a5b),console['error'](''),console['error'](_0xd8bc40(0x1cf)),console['error'](_0xd8bc40(0x1eb)),console[_0xd8bc40(0x1ab)](_0xd8bc40(0x1b3)),console[_0xd8bc40(0x1ab)]('\x20\x203)\x20再执行\x20npm\x20install\x20-g\x20@bangdao-ai/acw-tools。'),console['error'](''),console[_0xd8bc40(0x1ab)]('复制以下提示词发送给\x20Cursor,让\x20AI\x20帮你修复:'),console[_0xd8bc40(0x1ab)](''),process[_0xd8bc40(0x20a)]==='win32'){let _0x15ded0=!0x1;try{_0xacf5b1('where\x20cl.exe',{'stdio':_0xd8bc40(0x204)}),_0x15ded0=!0x0;}catch{}console['error'](_0x15ded0?_0xd8bc40(0x205)+_0x4e6a5b+'。优先请把运行\x20npx\x20的\x20Node\x20升级到\x2022.5\x20以上以使用内置\x20SQLite、避免编译。若暂不能升级:已装\x20VS\x20仍失败则执行\x20npm\x20cache\x20clean\x20--force\x20后\x20npm\x20install\x20-g\x20@bangdao-ai/acw-tools\x20重装。':_0xd8bc40(0x205)+_0x4e6a5b+'。优先请把运行\x20npx\x20的\x20Node\x20升级到\x2022.5\x20以上(免装\x20VS\x20Build\x20Tools)。否则请安装\x20Visual\x20Studio\x20Build\x20Tools\x20后再\x20npm\x20install\x20-g\x20@bangdao-ai/acw-tools。');}else process[_0xd8bc40(0x20a)]===_0xd8bc40(0x1b7)?console[_0xd8bc40(0x1ab)](_0xd8bc40(0x205)+_0x4e6a5b+'。优先将\x20Node\x20升到\x2022.5+。否则\x20xcode-select\x20--install\x20后\x20npm\x20install\x20-g\x20@bangdao-ai/acw-tools\x20重装。'):console[_0xd8bc40(0x1ab)]('我的\x20ACW\x20MCP\x20安装失败(better-sqlite3\x20/\x20原生模块),错误:'+_0x4e6a5b+'。优先将\x20Node\x20升到\x2022.5+。否则\x20sudo\x20apt-get\x20install\x20build-essential\x20后\x20npm\x20install\x20-g\x20@bangdao-ai/acw-tools\x20重装。');console['error'](''),console['error'](_0xd8bc40(0x201)),process[_0xd8bc40(0x1f7)](0x1);}console[_0xd8bc40(0x202)]('[提示]\x20当前通过\x20better-sqlite3\x20完成检查。若希望免去原生依赖,可将\x20Node\x20升级到\x2022.5\x20及以上。'),console[_0xd8bc40(0x202)](_0xd8bc40(0x1fc));}catch(_0xc52a85){y(),console['error']('[ERROR]\x20postinstall\x20脚本执行出错:',_0xc52a85['message']),process['exit'](0x1);}})());