@mooncompany/uplink-chat 0.32.3 → 0.34.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (138) hide show
  1. package/bin/uplink.js +1 -1
  2. package/middleware/error-handler.js +1 -1
  3. package/package.json +1 -1
  4. package/public/css/{app.bc7e7484.css → app.09572269.css} +14 -13
  5. package/public/css/markdown.css +28 -0
  6. package/public/css/mobile.540efab9.css +610 -0
  7. package/public/css/mobile.css +9 -13
  8. package/public/css/{split-view.4bc23474.css → split-view.4e286356.css} +145 -9
  9. package/public/css/themes.css +687 -19
  10. package/public/dist/bundle.9b202855.js +1 -0
  11. package/public/img/wordmark.svg +2 -16
  12. package/public/index.html +107 -7
  13. package/public/js/agents-data.js +1 -1
  14. package/public/js/agents-ui.js +1 -1
  15. package/public/js/agents.js +1 -1
  16. package/public/js/app.js +1 -1
  17. package/public/js/appearance-settings.js +1 -1
  18. package/public/js/artifacts.js +1 -1
  19. package/public/js/audio-pcm-processor.js +1 -1
  20. package/public/js/audio-queue.js +1 -1
  21. package/public/js/bootstrap.js +1 -1
  22. package/public/js/chat.js +1 -1
  23. package/public/js/commands.js +1 -1
  24. package/public/js/connection-api.js +1 -1
  25. package/public/js/connection.js +1 -1
  26. package/public/js/context-tracker.js +1 -1
  27. package/public/js/core.js +1 -1
  28. package/public/js/cron-panel.js +1 -1
  29. package/public/js/dashboard.js +1 -1
  30. package/public/js/developer.js +1 -1
  31. package/public/js/encryption.js +1 -1
  32. package/public/js/errors.js +1 -1
  33. package/public/js/event-bus.js +1 -1
  34. package/public/js/fetch-utils.js +1 -1
  35. package/public/js/file-handler.js +1 -1
  36. package/public/js/files.js +1 -1
  37. package/public/js/gateway-chat.js +1 -1
  38. package/public/js/logger.js +1 -1
  39. package/public/js/markdown.js +1 -1
  40. package/public/js/message-actions.js +1 -1
  41. package/public/js/message-renderer.js +1 -1
  42. package/public/js/missed-messages.js +1 -1
  43. package/public/js/mobile-debug.js +1 -1
  44. package/public/js/notifications.js +1 -1
  45. package/public/js/offline-queue.js +1 -1
  46. package/public/js/onboarding.js +1 -1
  47. package/public/js/panels.js +1 -1
  48. package/public/js/premium.js +1 -1
  49. package/public/js/primary-header.js +1 -1
  50. package/public/js/realtime-voice.js +1 -1
  51. package/public/js/satellite-sync.js +1 -1
  52. package/public/js/satellite-ui.js +1 -1
  53. package/public/js/satellites.js +1 -1
  54. package/public/js/settings.js +1 -1
  55. package/public/js/shortcuts.js +1 -1
  56. package/public/js/split-chat.js +1 -1
  57. package/public/js/split-resize.js +1 -1
  58. package/public/js/splitview.js +1 -1
  59. package/public/js/storage.js +1 -1
  60. package/public/js/streaming-handler.js +1 -1
  61. package/public/js/stt-settings.js +1 -1
  62. package/public/js/themes.js +1 -1
  63. package/public/js/timestamps.js +1 -1
  64. package/public/js/tts-settings.js +1 -1
  65. package/public/js/ui.js +1 -1
  66. package/public/js/update-notifier.js +1 -1
  67. package/public/js/utils/constants.js +1 -1
  68. package/public/js/utils/icons.js +1 -1
  69. package/public/js/utils/sanitize.js +1 -1
  70. package/public/js/utils/sse-parser.js +1 -1
  71. package/public/js/vad.js +1 -1
  72. package/public/js/vendor/dompurify.min.js +1 -1
  73. package/public/js/voice-settings-v2.js +1 -1
  74. package/public/js/voice.js +1 -1
  75. package/public/sw.js +1 -1
  76. package/server/channel.js +1 -1
  77. package/server/chat.js +1 -1
  78. package/server/config-store.js +1 -1
  79. package/server/config.js +1 -1
  80. package/server/context.js +1 -1
  81. package/server/gateway-api-proxy.js +1 -1
  82. package/server/gateway-commands.js +1 -1
  83. package/server/gateway-proxy.js +1 -1
  84. package/server/index.js +1 -1
  85. package/server/logger.js +1 -1
  86. package/server/message-store.js +1 -1
  87. package/server/middleware/auth.js +1 -1
  88. package/server/middleware.js +1 -1
  89. package/server/openclaw-discover.js +1 -1
  90. package/server/premium/index.js +1 -1
  91. package/server/premium/license.js +1 -1
  92. package/server/realtime/bridge.js +1 -1
  93. package/server/realtime/index.js +1 -1
  94. package/server/realtime/tts-stream.js +1 -1
  95. package/server/routes/agents.js +1 -1
  96. package/server/routes/artifacts.js +1 -1
  97. package/server/routes/chat.js +1 -1
  98. package/server/routes/config-settings.js +1 -1
  99. package/server/routes/config.js +1 -1
  100. package/server/routes/cron.js +1 -1
  101. package/server/routes/files.js +1 -1
  102. package/server/routes/index.js +1 -1
  103. package/server/routes/media.js +1 -1
  104. package/server/routes/missed-messages.js +1 -1
  105. package/server/routes/premium.js +1 -1
  106. package/server/routes/push.js +1 -1
  107. package/server/routes/satellite.js +1 -1
  108. package/server/routes/status.js +1 -1
  109. package/server/routes/stt.js +1 -1
  110. package/server/routes/voice.js +1 -1
  111. package/server/routes/webhooks.js +1 -1
  112. package/server/routes.js +1 -1
  113. package/server/runtime-config.js +1 -1
  114. package/server/share.js +1 -1
  115. package/server/stt/faster-whisper.js +1 -1
  116. package/server/stt/groq.js +1 -1
  117. package/server/stt/index.js +1 -1
  118. package/server/stt/openai.js +1 -1
  119. package/server/sync.js +1 -1
  120. package/server/tailscale-https.js +1 -1
  121. package/server/tts.js +1 -1
  122. package/server/update-checker.js +1 -1
  123. package/server/utils/filename.js +1 -1
  124. package/server/utils.js +1 -1
  125. package/server/watchdog.js +1 -1
  126. package/server/websocket/broadcast.js +1 -1
  127. package/server/websocket/connections.js +1 -1
  128. package/server/websocket/index.js +1 -1
  129. package/server/websocket/routing.js +1 -1
  130. package/server/websocket/sync.js +1 -1
  131. package/server.js +1 -1
  132. package/utils/detect-tool-usage.js +1 -1
  133. package/utils/errors.js +1 -1
  134. package/utils/html-escape.js +1 -1
  135. package/utils/id-sanitize.js +1 -1
  136. package/utils/response.js +1 -1
  137. package/utils/with-retry.js +1 -1
  138. package/public/dist/bundle.493af136.js +0 -1
package/bin/uplink.js CHANGED
@@ -1,3 +1,3 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- (function(_0x1cb80e,_0x119f4b){function _0x1ccc70(_0x3888f0,_0x4d6099){return _0x84fd(_0x3888f0- -0x11,_0x4d6099);}function _0x4a9bc8(_0x3a97bf,_0x52aa7d){return _0x84fd(_0x3a97bf- -0x219,_0x52aa7d);}const _0x145f84=_0x1cb80e();while(!![]){try{const _0xf046ba=-parseInt(_0x4a9bc8(0x140,0x2b5))/(0xd05+0x1a05+-0x2709)*(-parseInt(_0x1ccc70(0x1e4,0xe8))/(-0x2597*0x1+0x1636+-0x27*-0x65))+-parseInt(_0x1ccc70(0x39d,0x318))/(-0xab9+0x24b9+-0x1*0x19fd)+-parseInt(_0x4a9bc8(-0x81,-0x1ca))/(0x49f+0x1094+0x1d*-0xbb)*(-parseInt(_0x4a9bc8(-0x4c,0x35))/(0x35d+0x63a+-0x992))+parseInt(_0x1ccc70(0x1b5,0x3a1))/(0x29*0xc8+0x1e50+0x1f29*-0x2)+-parseInt(_0x4a9bc8(0x4d,0xee))/(0x1b7*0x13+0x1fc1+-0x404f)*(-parseInt(_0x1ccc70(0x1f2,0x1aa))/(0xffb*0x1+0x1a4d+-0x2a40))+parseInt(_0x1ccc70(0x1cb,0x29c))/(-0x24aa+-0x32d*0x1+0x13f0*0x2)+-parseInt(_0x1ccc70(0x38a,0x286))/(0x1*-0x1bbf+-0x251+0xf0d*0x2);if(_0xf046ba===_0x119f4b)break;else _0x145f84['push'](_0x145f84['shift']());}catch(_0x53f5ba){_0x145f84['push'](_0x145f84['shift']());}}}(_0x2361,-0xdb085+-0xe109a+-0x5ed93*-0x6));import{spawn,execSync}from'child_process';import{fileURLToPath}from'url';import{dirname,join}from'path';import{existsSync,writeFileSync,readFileSync,unlinkSync,statSync,readdirSync,mkdirSync}from'fs';import{createRequire}from'module';import _0x19452f from'net';import _0x147acc from'http';import _0x3cfda7 from'os';const __filename=fileURLToPath(import.meta.url),__dirname=dirname(__filename),ROOT=join(__dirname,'..');function resolveDataDir(){const _0x8c459c={'pIkgm':_0x26ad11(0x6e1,0x725)+_0xfae692(-0x3,-0x77)+_0x26ad11(0x4b1,0x3af)+'\x20runn'+_0x26ad11(0x77f,0x8fa),'UUoSR':function(_0x28c9eb,_0x45a7f1){return _0x28c9eb(_0x45a7f1);},'aubVK':_0x26ad11(0x605,0x5d1)+'ta','yIcmv':function(_0x2e18a9,_0xce6622){return _0x2e18a9!==_0xce6622;},'ziHsr':_0x26ad11(0x7a3,0x885),'MVyMw':_0x26ad11(0x545,0x614),'INdAv':function(_0x158c48,_0x3e6264){return _0x158c48!==_0x3e6264;},'sGTNV':_0x26ad11(0x705,0x7c5),'UTxEf':_0x26ad11(0x66b,0x69f),'otzsW':_0xfae692(0x303,0x133),'abZkF':'YZPTl','sekCR':function(_0x4e2691,_0x27b22a){return _0x4e2691===_0x27b22a;},'aCHYm':_0x26ad11(0x543,0x6c9),'DzePT':_0x26ad11(0x538,0x547),'GzLnN':_0xfae692(0x50,-0x18c),'ZSKVa':_0x26ad11(0x672,0x75b),'PsWDA':_0x26ad11(0x470,0x2e4)+_0x26ad11(0x7b1,0x6ea)+'+$','zWCll':'pass','EDAuh':function(_0x5ddee1){return _0x5ddee1();},'CtPda':function(_0x39be8c,_0x4f8d2c){return _0x39be8c===_0x4f8d2c;},'KGBvB':_0x26ad11(0x666,0x6f4),'nZwFX':function(_0x203bc6,_0x2d3a66,_0x11a78c,_0x235a5b){return _0x203bc6(_0x2d3a66,_0x11a78c,_0x235a5b);},'DxZPg':'Roami'+'ng','Fcwnz':function(_0x1ff633,_0xd95c10,_0x34fe9e){return _0x1ff633(_0xd95c10,_0x34fe9e);},'vONfu':function(_0x5f5ca5,_0x2b5147,_0x3d381d){return _0x5f5ca5(_0x2b5147,_0x3d381d);}},_0x517803=(function(){const _0x10d48c={'KZjJA':function(_0x1a8bf7,_0x53dc96){function _0x501d7d(_0x1e9d43,_0x1dbf9a){return _0x84fd(_0x1dbf9a-0x2cc,_0x1e9d43);}return _0x8c459c[_0x501d7d(0x5f6,0x564)](_0x1a8bf7,_0x53dc96);},'FZIPZ':_0x8c459c['sGTNV'],'hkNib':_0x8c459c[_0x48d5e2(0x780,0x8aa)],'QsTKT':_0x8c459c[_0x48d5e2(0x534,0x577)],'UGzAo':_0x8c459c[_0x48d5e2(0x4c9,0x488)]};function _0x48d5e2(_0x29e3a9,_0x238e15){return _0xfae692(_0x238e15,_0x29e3a9-0x609);}function _0x24398e(_0x52e97f,_0x484f69){return _0xfae692(_0x52e97f,_0x484f69- -0x48);}if(_0x8c459c[_0x48d5e2(0x56f,0x652)](_0x8c459c['aCHYm'],_0x8c459c['DzePT']))_0x37c498[_0x24398e(0x18,-0x111)](_0x8c459c[_0x48d5e2(0x75a,0x67e)]);else{let _0x4dd2c0=!![];return function(_0x118660,_0x586ecb){function _0x40cce5(_0x5cb1c8,_0x5bd23f){return _0x24398e(_0x5bd23f,_0x5cb1c8-0x161);}function _0x526de4(_0x2ccc29,_0x3d4c0f){return _0x24398e(_0x3d4c0f,_0x2ccc29-0x6af);}const _0x4d4d00={'fSqrH':function(_0x1131ed,_0x1ce1d8,_0x3e0658){return _0x1131ed(_0x1ce1d8,_0x3e0658);},'KmBtm':function(_0x2067b0,_0xb816de){function _0x1a3be0(_0x50453c,_0x46a3c9){return _0x84fd(_0x46a3c9-0x172,_0x50453c);}return _0x8c459c[_0x1a3be0(0x4b2,0x5b7)](_0x2067b0,_0xb816de);},'pCayH':function(_0x316efc,_0x46c1e1,_0x50ff0e,_0x5c53b6){return _0x316efc(_0x46c1e1,_0x50ff0e,_0x5c53b6);},'whWNx':_0x8c459c[_0x40cce5(-0xa1,-0x219)]};if(_0x8c459c['yIcmv'](_0x8c459c[_0x526de4(0x5d7,0x406)],_0x8c459c[_0x526de4(0x503,0x64f)])){const _0xef1394=_0x4dd2c0?function(){function _0x411bb4(_0x266c7f,_0x1095e4){return _0x40cce5(_0x266c7f- -0x28,_0x1095e4);}function _0x50f9b2(_0x227583,_0x1ce806){return _0x40cce5(_0x227583-0x2f4,_0x1ce806);}if(_0x10d48c['KZjJA'](_0x10d48c[_0x50f9b2(0x4ee,0x430)],_0x10d48c[_0x411bb4(0x19e,0x243)])){if(_0x586ecb){if(_0x10d48c[_0x411bb4(0x89,0x225)](_0x10d48c[_0x50f9b2(0x2e1,0x32d)],_0x10d48c[_0x411bb4(-0xb8,0xd5)])){const _0x2c3fb2=_0x586ecb['apply'](_0x118660,arguments);return _0x586ecb=null,_0x2c3fb2;}else _0x1dfd54['destr'+'oy'](),_0x4b1465(![]);}}else{const _0x115419=_0x4d4d00[_0x411bb4(0x65,-0x156)](_0x3210b0,_0x9688d3,_0x118184);if(_0x4d4d00['KmBtm'](_0x225543,_0x115419))try{const _0x2128ac={};_0x2128ac[_0x411bb4(0x0,0x164)+_0x411bb4(0x155,0x112)]=!![],_0x2128ac[_0x50f9b2(0x2bb,0x282)]=!![],_0x4d4d00[_0x50f9b2(0x381,0x4e0)](_0x560d46,_0x115419,_0x2128ac),_0x1b15f2++,_0x50546e[_0x50f9b2(0x344,0x2a9)](_0x411bb4(-0x11d,-0x108)+_0x411bb4(-0xb0,0x9a)+'d\x20'+_0x32acd2);}catch(_0x1d3faf){_0x3eebbf[_0x50f9b2(0x4fc,0x41b)]('\x20\x20✗\x20F'+_0x411bb4(-0x19,-0x124)+_0x411bb4(0x24d,0x111)+_0x50f9b2(0x26c,0x2cc)+'\x20'+_0x5bc284+':\x20'+_0x1d3faf[_0x411bb4(0x21c,0x6e)+'ge']);}}}:function(){};return _0x4dd2c0=![],_0xef1394;}else{const _0x372962=_0x268d6f.env.APPDATA||_0x4d4d00['pCayH'](_0x2a3422,_0x3d4fa3[_0x526de4(0x706,0x789)+'ir'](),_0x4d4d00[_0x526de4(0x4ca,0x6a8)],_0x40cce5(0x1ae,0x24b)+'ng');return _0x4d4d00[_0x526de4(0x5db,0x60e)](_0x33e9fb,_0x372962,'uplin'+'k');}};}}());function _0x26ad11(_0x3e7c9d,_0x2be3e4){return _0x84fd(_0x3e7c9d-0x32a,_0x2be3e4);}function _0xfae692(_0x546e95,_0x305ba2){return _0x84fd(_0x305ba2- -0x334,_0x546e95);}const _0x5dc40a=_0x517803(this,function(){function _0x27b8c3(_0x4b4815,_0xe97c97){return _0x26ad11(_0xe97c97- -0x3b4,_0x4b4815);}const _0x3909f2={'ZeNbo':function(_0x4bfafc,_0xd46093){return _0x8c459c['UUoSR'](_0x4bfafc,_0xd46093);}};function _0x465d4f(_0x505dc2,_0x2da8b6){return _0x26ad11(_0x505dc2-0xa,_0x2da8b6);}if(_0x8c459c[_0x465d4f(0x5ce,0x535)](_0x8c459c[_0x27b8c3(0x7b,0x14f)],_0x8c459c['ZSKVa']))_0x3909f2[_0x465d4f(0x4fc,0x358)](_0x22e15b,_0x352f53);else return _0x5dc40a[_0x465d4f(0x4b6,0x633)+_0x465d4f(0x621,0x74e)]()['searc'+'h'](_0x8c459c[_0x27b8c3(-0xb3,0xe2)])[_0x465d4f(0x4b6,0x45b)+_0x27b8c3(0x175,0x263)]()[_0x465d4f(0x4fd,0x4c8)+'ructo'+'r'](_0x5dc40a)[_0x465d4f(0x78a,0x969)+'h'](_0x8c459c[_0x27b8c3(0x19c,0xe2)]);});_0x8c459c['EDAuh'](_0x5dc40a);if(process.env.UPLINK_DATA_DIR)return process.env.UPLINK_DATA_DIR;if(_0x8c459c['sekCR'](process[_0x26ad11(0x55f,0x4f1)+_0xfae692(-0x1b2,-0x65)],_0xfae692(-0x2ad,-0x1da))){if(_0x8c459c[_0xfae692(-0x41,-0x1f0)](_0x8c459c[_0xfae692(-0x111,-0xf6)],_0x8c459c[_0x26ad11(0x568,0x397)])){const _0x2b1d30=process.env.APPDATA||_0x8c459c[_0xfae692(-0xd9,0xb7)](join,_0x3cfda7[_0x26ad11(0x6fd,0x55d)+'ir'](),_0x8c459c[_0x26ad11(0x4a4,0x5f9)],_0x8c459c[_0xfae692(-0x104,0xca)]);return _0x8c459c['Fcwnz'](join,_0x2b1d30,'uplin'+'k');}else{const _0x2cd10c={};_0x2cd10c[_0xfae692(-0x135,-0x251)+'s']=_0x8c459c[_0xfae692(-0x1be,-0x66)],_0x2cd10c['label']=_0x39f58d,_0x2cd10c[_0x26ad11(0x79e,0x661)+'l']=_0x3c1638,_0x40e414['push'](_0x2cd10c);}}return _0x8c459c[_0xfae692(-0x14c,-0x1cd)](join,_0x3cfda7[_0x26ad11(0x6fd,0x6e3)+'ir'](),'.upli'+'nk');}function _0x1f2e7f(_0x2a75c5,_0x35e930){return _0x84fd(_0x2a75c5- -0x2cf,_0x35e930);}const DATA_DIR=resolveDataDir();try{const _0x77047a={};_0x77047a[_0x2e56fd(0x259,0x3a0)+_0x2e56fd(0x61f,0x4f5)]=!![],mkdirSync(DATA_DIR,_0x77047a);}catch{}const PID_FILE=join(DATA_DIR,_0x1f2e7f(-0x140,-0x1a1)+_0x2e56fd(0x4a6,0x510)+'d'),WATCHDOG_PID_FILE=join(DATA_DIR,_0x2e56fd(0x4c3,0x2ec)+_0x2e56fd(0x5e3,0x5b0)+'tchdo'+_0x1f2e7f(-0xbe,-0x22a)),WATCHDOG_STATE_FILE=join(DATA_DIR,_0x2e56fd(0x200,0x2ec)+_0x2e56fd(0x5a6,0x5b0)+_0x1f2e7f(-0x1d1,-0x1e1)+_0x1f2e7f(-0xbc,0xb5)+'n'),args=process[_0x2e56fd(0x50e,0x4fe)]['slice'](-0x47b*0x3+-0x1636*0x1+-0x3*-0xbe3),command=args[0x3*-0x334+-0x23d2+-0x5*-0x916]||'start',flags={};for(let i=-0x1b12+-0x90*0xd+0x2262;i<args[_0x2e56fd(0x68f,0x555)+'h'];i++){args[i]===_0x2e56fd(0x54,0x22e)+'t'&&args[i+(0x16*-0x23+-0x4d4+0x7d7)]&&(flags['port']=parseInt(args[i+(0x1*-0x1b52+-0x12af*-0x2+0x1*-0xa0b)],0xc6f+-0x1*-0xaee+-0x1753),i++),args[i]===_0x1f2e7f(0x1db,0x110)+'t'&&(flags[_0x2e56fd(0x1b6,0x2f1)]=args[i+(-0x1*0xd9a+-0x5*-0x73e+0x169b*-0x1)]||_0x2e56fd(0x566,0x4a0)+'.0',i++),(args[i]===_0x1f2e7f(0x1bd,0x2bf)+'p'||args[i]==='-h')&&(flags[_0x2e56fd(0x73c,0x5b8)]=!![]),(args[i]===_0x2e56fd(0x495,0x3d6)+'sion'||args[i]==='-v')&&(flags[_0x1f2e7f(-0xa8,0xca)+'on']=!![]),(args[i]==='--det'+'ach'||args[i]==='-d')&&(flags[_0x2e56fd(0x2cc,0x23b)+'h']=!![]),args[i]===_0x2e56fd(0x497,0x3be)+_0x2e56fd(0x218,0x233)+_0x1f2e7f(0x1d0,0x3d)&&(flags[_0x2e56fd(0x1e5,0x2a0)+'chdog']=!![]),args[i]===_0x2e56fd(0x39e,0x236)+'es'&&args[i+(0xe2e+0x2f*-0x59+0x115*0x2)]&&(flags['lines']=parseInt(args[i+(-0x5*-0x2f7+0x24b6+-0x671*0x8)],-0xe6+0x132*0x12+-0x1494),i++),args[i]===_0x2e56fd(0x603,0x593)+'t'&&(flags[_0x1f2e7f(0x9c,0x1f7)]=!![]),args[i]===_0x2e56fd(0x5b9,0x603)+'h'&&(flags[_0x2e56fd(0x44a,0x59d)]=!![]),(args[i]===_0x2e56fd(0x373,0x51f)+'ce'||args[i]==='-f')&&(flags[_0x1f2e7f(-0xed,0xf)]=!![]);}if(flags[_0x1f2e7f(-0xa8,-0x170)+'on']){const require=createRequire(import.meta.url),pkg=require(join(ROOT,_0x2e56fd(0x384,0x461)+_0x1f2e7f(-0x16a,-0x118)+'on'));console[_0x1f2e7f(-0x64,-0x17b)](_0x2e56fd(0x1dd,0x359)+_0x1f2e7f(-0x71,0x5f)+_0x2e56fd(0x5c1,0x567)+pkg[_0x1f2e7f(-0xa8,-0x40)+'on']),process['exit'](0x2cc+-0x15f7+0x132b);}flags[_0x2e56fd(0x6c2,0x5b8)]&&(console['log'](_0x2e56fd(0x203,0x338)+_0x1f2e7f(0x19f,0x201)+_0x1f2e7f(0x8d,0xa1)+_0x2e56fd(0x751,0x5a4)+_0x1f2e7f(0xe9,-0x6)+_0x2e56fd(0x13e,0x309)+_0x1f2e7f(-0x14e,-0x29f)+_0x2e56fd(0x39f,0x276)+_0x2e56fd(0x20f,0x3ab)+_0x2e56fd(0x45a,0x427)+_0x2e56fd(0x52b,0x559)+'comma'+'nd]\x20['+_0x2e56fd(0x2f2,0x261)+_0x2e56fd(0x4d8,0x377)+_0x2e56fd(0x608,0x43a)+'mands'+_0x1f2e7f(-0x12d,-0x175)+'\x20star'+_0x1f2e7f(0x162,0x97)+_0x2e56fd(0x45a,0x2ea)+_0x1f2e7f(-0x195,-0x46)+_0x1f2e7f(-0xe7,-0x4b)+_0x2e56fd(0x3f3,0x5c9)+'serve'+_0x2e56fd(0x36f,0x407)+_0x1f2e7f(-0x153,-0x7b)+_0x2e56fd(0x3b5,0x4ae)+_0x2e56fd(0x4b6,0x42d)+_0x1f2e7f(0x95,0x247)+'\x20\x20\x20St'+_0x2e56fd(0x5d5,0x498)+_0x2e56fd(0x47e,0x447)+'ng\x20Up'+_0x2e56fd(0x750,0x5c9)+_0x2e56fd(0x126,0x252)+_0x2e56fd(0x4ed,0x423)+_0x1f2e7f(-0x125,-0x2b4)+_0x1f2e7f(0x84,0x100)+_0x2e56fd(0x477,0x2ac)+'eck\x20i'+_0x1f2e7f(0xa2,-0x97)+_0x1f2e7f(-0x12,0x1cf)+_0x1f2e7f(-0x113,-0x69)+_0x2e56fd(0x403,0x314)+_0x1f2e7f(-0x10,-0x47)+_0x1f2e7f(-0xac,-0x20a)+_0x1f2e7f(0x95,0x272)+'\x20Show'+_0x1f2e7f(-0x187,-0xf0)+_0x2e56fd(0x410,0x2c6)+_0x1f2e7f(-0x17e,0x14)+'at\x20a\x20'+'glanc'+_0x1f2e7f(0x7f,0x1df)+_0x2e56fd(0x57b,0x489)+'\x20\x20\x20\x20\x20'+_0x2e56fd(0x2a5,0x24e)+'il\x20th'+'e\x20ser'+_0x1f2e7f(0x1a3,0x169)+_0x2e56fd(0x506,0x509)+'n\x20rea'+_0x2e56fd(0x407,0x2b8)+_0x2e56fd(0x66c,0x4ab)+_0x2e56fd(0x3c2,0x4b3)+_0x1f2e7f(0x12b,0x298)+_0x1f2e7f(-0x1be,-0x253)+_0x2e56fd(0x360,0x3ad)+_0x2e56fd(0x415,0x4d4)+'\x20conf'+'igura'+_0x2e56fd(0x2a1,0x47c)+'\x20\x20\x20\x20d'+'octor'+_0x1f2e7f(0x95,0x34)+_0x1f2e7f(-0x156,-0x344)+'nose\x20'+_0x2e56fd(0x3aa,0x3b7)+'n\x20iss'+'ues\x0a\x20'+_0x1f2e7f(-0x1e3,-0x245)+'set\x20\x20'+'\x20\x20\x20\x20\x20'+_0x2e56fd(0x470,0x3a7)+_0x2e56fd(0x356,0x315)+'\x20hist'+'ory\x20a'+_0x1f2e7f(-0xd5,-0x1ca)+'cal\x20d'+_0x1f2e7f(-0x1fa,-0x25a)+_0x2e56fd(0x47e,0x4ea)+_0x1f2e7f(0x12e,0x110)+'\x20\x20\x20\x20\x20'+_0x2e56fd(0x552,0x3dd)+'e\x20to\x20'+'the\x20l'+_0x2e56fd(0x590,0x587)+'\x20vers'+_0x1f2e7f(-0x198,-0x129)+'\x20\x20\x20un'+_0x1f2e7f(-0xf2,-0x41)+_0x1f2e7f(0x76,0x45)+_0x1f2e7f(0x17a,0x1c7)+'serve'+'r\x20and'+_0x2e56fd(0x34e,0x2fc)+'ve\x20al'+_0x2e56fd(0x503,0x4eb)+_0x2e56fd(0x589,0x443)+_0x2e56fd(0x427,0x2f3)+'\x20\x20Opt'+_0x1f2e7f(-0x1b0,-0x4e)+_0x2e56fd(0x50d,0x5e7)+_0x2e56fd(0x213,0x22e)+_0x1f2e7f(0xe5,-0xb7)+_0x1f2e7f(0x95,0x1e2)+_0x1f2e7f(-0x89,-0x1f)+_0x1f2e7f(-0x172,-0xac)+'isten'+_0x2e56fd(0x40b,0x513)+_0x1f2e7f(-0x30,-0xc6)+_0x2e56fd(0x16b,0x34e)+_0x2e56fd(0x42b,0x24f)+_0x1f2e7f(0x4f,-0x115)+_0x2e56fd(0x334,0x503)+_0x1f2e7f(0x85,0x2b)+'\x20\x20\x20\x20\x20'+_0x2e56fd(0x376,0x395)+'to\x20bi'+'nd\x20to'+_0x2e56fd(0x351,0x37e)+_0x2e56fd(0x13f,0x256)+_0x1f2e7f(0x107,0x244)+_0x1f2e7f(0x1a1,0x130)+_0x1f2e7f(0x4f,0x31)+_0x1f2e7f(-0x7a,-0x25c)+_0x1f2e7f(0xcd,0x270)+_0x2e56fd(0x24c,0x399)+_0x2e56fd(0x2bf,0x40f)+_0x1f2e7f(0x2,-0x1a2)+'kgrou'+_0x2e56fd(0x4ad,0x2f9)+_0x1f2e7f(-0xef,0xf4)+'\x20mode'+_0x1f2e7f(0x82,0x11b)+_0x2e56fd(0x538,0x4e6)+_0x2e56fd(0x301,0x4f0)+_0x1f2e7f(0x1e3,0x15a)+_0x2e56fd(0x68b,0x5b5)+_0x2e56fd(0x674,0x550)+_0x1f2e7f(-0xfb,-0x151)+_0x1f2e7f(-0x183,-0x301)+_0x1f2e7f(0x16c,0xb)+_0x1f2e7f(-0x86,-0x1e5)+_0x2e56fd(0x3b8,0x24d)+_0x2e56fd(0x51e,0x5e7)+_0x1f2e7f(-0x1f6,-0x294)+_0x2e56fd(0x36e,0x230)+_0x1f2e7f(0x95,0x255)+_0x1f2e7f(0x15f,0x307)+'er\x20of'+_0x1f2e7f(-0x185,-0x1f5)+_0x1f2e7f(-0x1ca,-0x384)+'\x20to\x20s'+_0x2e56fd(0x2cd,0x27b)+'logs,'+'\x20defa'+_0x1f2e7f(0x109,-0x8b)+'50)\x0a\x20'+'\x20\x20\x20--'+'edit\x20'+_0x2e56fd(0x3e4,0x4c1)+_0x1f2e7f(0xf0,0x49)+_0x2e56fd(0x3c5,0x25e)+_0x2e56fd(0x5c8,0x5c3)+_0x2e56fd(0x5be,0x488)+'ditor'+_0x2e56fd(0x4e6,0x56a)+'fig)\x0a'+_0x1f2e7f(0x4f,0x1cd)+_0x2e56fd(0x463,0x4a1)+_0x2e56fd(0x61b,0x4c1)+_0x2e56fd(0x447,0x4c1)+_0x1f2e7f(-0x18e,-0x2cd)+_0x1f2e7f(0x87,-0xf2)+'ig\x20fi'+_0x1f2e7f(-0x52,-0x147)+'th\x20(c'+_0x2e56fd(0x5e4,0x5c3)+')\x0a\x20\x20\x20'+_0x1f2e7f(0x45,0x162)+_0x1f2e7f(0x23,-0x4f)+'-f\x20\x20\x20'+'\x20\x20Ski'+'p\x20con'+_0x2e56fd(0x6aa,0x529)+_0x1f2e7f(0x3a,0x6f)+'promp'+_0x2e56fd(0x3f2,0x58d)+(_0x2e56fd(0x681,0x4cb)+_0x2e56fd(0x6dd,0x5e7)+_0x1f2e7f(-0xe9,-0xdf)+_0x2e56fd(0x4c6,0x4c1)+_0x2e56fd(0x66d,0x4c1)+'\x20Show'+'\x20vers'+_0x2e56fd(0x154,0x294)+'\x20\x20\x20-h'+_0x2e56fd(0x584,0x4c1)+_0x1f2e7f(0x95,0x1c0)+_0x1f2e7f(0x1b2,0xa2)+_0x2e56fd(0x1ed,0x246)+_0x2e56fd(0x466,0x27a)+_0x2e56fd(0x547,0x553)+_0x2e56fd(0x35b,0x425)+_0x1f2e7f(0xe2,0x26f)+_0x1f2e7f(-0x12d,-0x182)+'\x20npx\x20'+_0x2e56fd(0x1f6,0x359)+'k-cha'+_0x1f2e7f(0x162,0x334)+'\x20\x20\x20\x20\x20'+_0x1f2e7f(0x95,0xc4)+_0x2e56fd(0x462,0x54d)+_0x1f2e7f(0xa3,0xa7)+_0x2e56fd(0x52b,0x502)+_0x1f2e7f(-0x30,-0xc9)+'lt\x20po'+_0x2e56fd(0x757,0x595)+'\x20\x20npx'+_0x2e56fd(0x63d,0x459)+'nk-ch'+'at\x20--'+_0x2e56fd(0x5a3,0x4e3)+'8080\x20'+_0x1f2e7f(0x95,0x1b0)+_0x1f2e7f(-0x100,0x63)+_0x1f2e7f(0x100,0xa0)+_0x1f2e7f(0x140,0x126)+'\x208080'+_0x1f2e7f(0x1bb,0x19d)+_0x2e56fd(0x476,0x4a9)+_0x2e56fd(0x36a,0x3a1)+_0x1f2e7f(-0xfe,-0x19e)+_0x1f2e7f(0x1,-0x1ed)+_0x1f2e7f(0x95,0x171)+_0x2e56fd(0x644,0x4c1)+_0x1f2e7f(-0x99,0x99)+_0x1f2e7f(0x17a,0x17f)+_0x2e56fd(0x5ed,0x444)+_0x2e56fd(0x5d4,0x47e)+_0x1f2e7f(0x1bb,0x2dc)+_0x2e56fd(0x333,0x4a9)+_0x1f2e7f(-0x8b,-0x54)+_0x1f2e7f(-0xfe,-0x249)+_0x2e56fd(0x42c,0x5a7)+_0x2e56fd(0x458,0x4c1)+'\x20\x20\x20\x20\x20'+'\x20\x20\x20#\x20'+_0x2e56fd(0x6e5,0x5a1)+_0x1f2e7f(0x44,0x136)+_0x1f2e7f(0x17b,0xdd)+_0x1f2e7f(0x1bb,0x32b)+_0x1f2e7f(0x7d,-0x95)+_0x2e56fd(0x2eb,0x3a1)+'-chat'+_0x1f2e7f(0x5d,-0xf9)+_0x2e56fd(0x5ef,0x60b)+_0x1f2e7f(0x1c0,0x197)+_0x1f2e7f(0xc5,-0x110)+_0x1f2e7f(0x195,0x1e6)+_0x1f2e7f(-0x150,-0x69)+_0x1f2e7f(0x10f,0x43)+_0x2e56fd(0x207,0x231)+_0x1f2e7f(-0x45,0xa8)+_0x2e56fd(0x395,0x3f4)+_0x1f2e7f(0x13,0x8e)+_0x1f2e7f(-0x5,-0x1)+_0x2e56fd(0x3e8,0x56d)+_0x2e56fd(0x3e5,0x5c3)+_0x2e56fd(0x18c,0x290)+_0x2e56fd(0x29e,0x47f)+_0x2e56fd(0x693,0x566)+_0x2e56fd(0x40f,0x50d)+_0x2e56fd(0x452,0x3e2)+'\x20your'+'\x20edit'+_0x1f2e7f(0x172,0x2d3)+_0x2e56fd(0x533,0x426)+'\x20upli'+_0x2e56fd(0x4d5,0x5c0)+_0x1f2e7f(-0x1d9,-0x86)+_0x2e56fd(0x6d5,0x58f)+'\x20\x20\x20\x20\x20'+'\x20\x20\x20\x20\x20'+_0x1f2e7f(0x157,0x1fb)+_0x2e56fd(0x60d,0x55e)+_0x1f2e7f(-0x1c3,0x30)+'cs\x0a\x20\x20'+'\x20\x20npx'+_0x1f2e7f(0x2d,0x18f)+_0x2e56fd(0x434,0x5c0)+_0x2e56fd(0x415,0x4af)+_0x2e56fd(0x2a0,0x2fd)+'-forc'+'e\x20\x20\x20\x20'+_0x1f2e7f(0x37,0x154)+_0x1f2e7f(0x62,0x203)+'ta\x20wi'+_0x2e56fd(0x39e,0x43c)+_0x2e56fd(0x6de,0x560)+'pt\x0a\x20\x20')),process[_0x2e56fd(0x639,0x5f7)](-0x4*0x595+-0x350+-0x19a4*-0x1));function isRunning(_0x3d17f5){function _0x2f87cf(_0x199c32,_0x3e5eb1){return _0x2e56fd(_0x199c32,_0x3e5eb1- -0x22);}function _0x111a86(_0x5cce50,_0x344ee5){return _0x2e56fd(_0x344ee5,_0x5cce50- -0x10e);}const _0xbe31f4={'aMOQU':function(_0x225d43,_0x397164,_0x5197f3){return _0x225d43(_0x397164,_0x5197f3);},'MsSMy':_0x111a86(0x24b,0x1b9)+_0x111a86(0x2ad,0x2fe)+'t\x20sta'+'rt\x20--'+_0x2f87cf(0x3a2,0x219)+'h','liyNv':'inher'+'it','enNXw':_0x2f87cf(0x4f4,0x396)};try{if(_0xbe31f4[_0x2f87cf(0x321,0x2ee)]!==_0x111a86(0x433,0x343))return process[_0x2f87cf(0x3f8,0x502)](_0x3d17f5,-0x6bb+-0x1d56+0x527*0x7),!![];else{const _0x45f8ef={};_0x45f8ef[_0x111a86(0x292,0x19c)+_0x2f87cf(0x544,0x4d3)]=!![],_0x45f8ef[_0x111a86(0x231,0xf5)]=!![],_0xbe31f4[_0x2f87cf(0x4d0,0x5cf)](_0x512ab0,_0x411990,_0x45f8ef),_0x45746b++,_0x8e5d0d[_0x2f87cf(0x456,0x3a6)](_0x2f87cf(0x16c,0x261)+_0x111a86(0x1e2,0x6c)+_0x2f87cf(0x2bd,0x24e)+_0x2f87cf(0x515,0x3b1)+'/'+_0x10202a);}}catch{if(_0x2f87cf(0x5a9,0x456)!==_0x111a86(0x33a,0x1fe))return![];else _0xbe31f4[_0x111a86(0x4e3,0x5b0)](_0x2cbf55,_0xbe31f4[_0x111a86(0x1bd,0x335)],{'stdio':_0xbe31f4[_0x2f87cf(0x2fe,0x458)]});}}function getPid(){const _0x24cc4d={'WCRhC':function(_0x390af4,_0x53b033,_0x77e629){return _0x390af4(_0x53b033,_0x77e629);},'IrLFl':_0x41a35f(0x373,0x564)+_0x2be5dc(0x5af,0x75a),'ncnoY':function(_0x11d75c,_0x3df673){return _0x11d75c(_0x3df673);},'gKjWA':function(_0xe49a3,_0x58549a,_0x4bd642){return _0xe49a3(_0x58549a,_0x4bd642);},'CuUSd':_0x2be5dc(0x4b7,0x538),'FlPhd':function(_0x1473de,_0x2e8de1){return _0x1473de(_0x2e8de1);},'lJHfg':function(_0x2951a2,_0xee9ca6){return _0x2951a2(_0xee9ca6);},'lcdxh':function(_0x3eca63,_0x1c77f3){return _0x3eca63===_0x1c77f3;},'GvmLb':_0x2be5dc(0x606,0x549),'VXwHx':_0x2be5dc(0x425,0x5a8)};function _0x41a35f(_0x57bf28,_0x314e6f){return _0x2e56fd(_0x57bf28,_0x314e6f-0x197);}if(!_0x24cc4d['ncnoY'](existsSync,PID_FILE))return null;const _0x431f7d=parseInt(_0x24cc4d[_0x2be5dc(0x511,0x612)](readFileSync,PID_FILE,_0x24cc4d[_0x2be5dc(0x6a2,0x6dd)])[_0x2be5dc(0x581,0x548)](),0x6b0+0x213*0xe+-0x476*0x8);if(_0x24cc4d[_0x2be5dc(0x6c4,0x6ce)](isNaN,_0x431f7d)||!_0x24cc4d['lJHfg'](isRunning,_0x431f7d)){if(_0x24cc4d['lcdxh'](_0x24cc4d[_0x2be5dc(0x546,0x59d)],_0x24cc4d[_0x41a35f(0x515,0x5b0)])){try{_0x24cc4d['lcdxh'](_0x24cc4d[_0x2be5dc(0x6f3,0x802)],'HEwyC')?_0x24cc4d['WCRhC'](_0x5321c8,_0x24cc4d[_0x41a35f(0x403,0x5c7)],_0x36db91+('\x20MB\x20f'+_0x2be5dc(0x3d7,0x596))):unlinkSync(PID_FILE);}catch{}return null;}else _0x24cc4d[_0x2be5dc(0x428,0x48e)](_0x15ea93,_0x11d6ab);}function _0x2be5dc(_0x2b5010,_0xef656c){return _0x2e56fd(_0xef656c,_0x2b5010-0x12d);}return _0x431f7d;}function getWatchdogPid(){const _0x2ce8c2={'SFdpK':function(_0x25dc30,_0x32c266){return _0x25dc30(_0x32c266);},'fEDCi':function(_0x54af34,_0x1106ce,_0x3d65c7){return _0x54af34(_0x1106ce,_0x3d65c7);},'syHwm':'utf8','jCmxc':function(_0xc13a8c,_0xbae0b0){return _0xc13a8c!==_0xbae0b0;},'udfSI':_0x2236eb(0x1d7,0x73),'DklgF':'UURlV'};if(!_0x2ce8c2['SFdpK'](existsSync,WATCHDOG_PID_FILE))return null;function _0x3aa340(_0x2e38bc,_0x44076f){return _0x2e56fd(_0x44076f,_0x2e38bc-0x1d9);}function _0x2236eb(_0x440348,_0x226ce0){return _0x2e56fd(_0x440348,_0x226ce0- -0x212);}const _0x1ce949=_0x2ce8c2[_0x3aa340(0x5fd,0x519)](parseInt,_0x2ce8c2['fEDCi'](readFileSync,WATCHDOG_PID_FILE,_0x2ce8c2[_0x2236eb(0x104,0x39)])[_0x2236eb(0x3f7,0x242)](),0x8a0+0x3*0xb67+-0x5*0x88f);if(isNaN(_0x1ce949)||!_0x2ce8c2[_0x2236eb(0x312,0x1d9)](isRunning,_0x1ce949)){if(_0x2ce8c2[_0x2236eb(0x350,0x2c3)](_0x2ce8c2['udfSI'],_0x2ce8c2[_0x2236eb(0x207,0xba)])){try{_0x2ce8c2['SFdpK'](unlinkSync,WATCHDOG_PID_FILE);}catch{}return null;}else{const _0x189fd2={};_0x189fd2[_0x2236eb(-0x118,0x2e)+'s']=_0x2236eb(0x39a,0x25c),_0x189fd2[_0x3aa340(0x472,0x519)]=_0x56edff,_0x189fd2['detai'+'l']=_0x30bb82,_0x22fad1['push'](_0x189fd2);}}return _0x1ce949;}function getWatchdogState(){const _0x4e15e7={'nKuDv':function(_0x2e48f0,_0x46e0a1,_0x1e2d32){return _0x2e48f0(_0x46e0a1,_0x1e2d32);},'aFIjd':_0x3b235d(0x16d,0xc9),'uiCay':function(_0x429eaa,_0x109aa5,_0x232cb1){return _0x429eaa(_0x109aa5,_0x232cb1);},'PwkGw':'in\x20us'+_0x288bdd(0x3b5,0x4e9)+_0x288bdd(0x468,0x46d)+_0x3b235d(-0x228,-0x282)+'ocess','xmUJS':function(_0x432e25,_0x3ef212){return _0x432e25(_0x3ef212);},'KLLWz':function(_0x154be2,_0x2eb842){return _0x154be2!==_0x2eb842;},'TXYMP':_0x288bdd(0x2dc,0xf2),'AESiv':function(_0x322a5a,_0x284721,_0x540b79){return _0x322a5a(_0x284721,_0x540b79);},'XIebF':_0x288bdd(0x224,0x36)};function _0x288bdd(_0x3fce49,_0x10fb6d){return _0x2e56fd(_0x10fb6d,_0x3fce49- -0x166);}if(!_0x4e15e7[_0x288bdd(0x49a,0x51a)](existsSync,WATCHDOG_STATE_FILE))return null;function _0x3b235d(_0x4c0eed,_0x48469e){return _0x2e56fd(_0x48469e,_0x4c0eed- -0x46d);}try{if(_0x4e15e7[_0x3b235d(-0x106,-0x1b8)](_0x4e15e7[_0x288bdd(0x158,-0x3a)],_0x3b235d(-0x142,0x24)))return JSON[_0x3b235d(-0x1d1,0x1a)](_0x4e15e7[_0x3b235d(0x10,-0x181)](readFileSync,WATCHDOG_STATE_FILE,_0x4e15e7[_0x3b235d(0xc0,0x196)]));else _0x3043ea?_0x4e15e7['nKuDv'](_0x69779e,_0x4e15e7[_0x3b235d(-0x19b,0x13)]+_0x1e2144,_0x3b235d(0x8a,0x11d)+_0x3b235d(0xae,0x1e)+_0x3b235d(0x15e,0x14e)+'k'):_0x4e15e7[_0x3b235d(-0x18c,0x21)](_0x22b3de,_0x288bdd(0x474,0x2d2)+_0x622164,_0x4e15e7[_0x288bdd(0x1de,0x392)]);}catch{return null;}}function _0x84fd(_0x84fdfa,_0xb97fb5){_0x84fdfa=_0x84fdfa-(0xd58+0x2*0x13a+-0xefd);const _0xa26313=_0x2361();let _0x5dc9ae=_0xa26313[_0x84fdfa];return _0x5dc9ae;}function formatUptime(_0xee3c9c){const _0x4034b2={};_0x4034b2[_0x812c30(0x1f2,0x18a)]=function(_0xba52cd,_0x1c19b1){return _0xba52cd/_0x1c19b1;},_0x4034b2['RBCHh']=function(_0x499251,_0xfe9103){return _0x499251>_0xfe9103;},_0x4034b2['FPPGH']=function(_0x9f11e7,_0x4f8fa5){return _0x9f11e7%_0x4f8fa5;};function _0x3f3d1e(_0x2b521b,_0xd2f5f7){return _0x1f2e7f(_0xd2f5f7-0x648,_0x2b521b);}function _0x812c30(_0xf88330,_0x2887cc){return _0x1f2e7f(_0xf88330-0x212,_0x2887cc);}_0x4034b2[_0x3f3d1e(0x751,0x69d)]=function(_0x5d251c,_0xaaf01f){return _0x5d251c%_0xaaf01f;},_0x4034b2[_0x812c30(0x8a,0x26)]=function(_0x4fee07,_0x4ca7b9){return _0x4fee07>_0x4ca7b9;};const _0x559fac=_0x4034b2,_0x52399d=Math['floor'](_0x559fac[_0x3f3d1e(0x5cc,0x628)](_0xee3c9c,-0x1f8c+-0x3*0xa65+0x7*0x985)),_0x28f249=Math[_0x812c30(0x293,0x3bf)](_0x52399d/(-0x21c1+0x1*0xda7+0x2*0xa2b)),_0x5e2308=Math['floor'](_0x559fac[_0x812c30(0x1f2,0x27a)](_0x28f249,0x147+-0x1216+0x110b*0x1)),_0x3077e1=Math['floor'](_0x559fac[_0x812c30(0x1f2,0x182)](_0x5e2308,0x1*0x3e7+-0xd76+0x9a7));if(_0x559fac['RBCHh'](_0x3077e1,-0x251*-0x9+-0x7*0x305+0x25*0x2))return _0x3077e1+'d\x20'+_0x559fac['FPPGH'](_0x5e2308,-0x257*0xd+-0x152b+0x33ae)+'h\x20'+_0x559fac[_0x812c30(0x267,0x2d3)](_0x28f249,0xd3a+-0x26c+-0x549*0x2)+'m';if(_0x559fac[_0x3f3d1e(0x3df,0x4c0)](_0x5e2308,-0x10e3+-0x173*0x11+0x2986))return _0x5e2308+'h\x20'+_0x559fac[_0x812c30(0x280,0x462)](_0x28f249,0xcda+-0x20b*-0x7+-0x1aeb)+'m\x20'+_0x559fac[_0x3f3d1e(0x719,0x6b6)](_0x52399d,0x789*0x5+-0x120f+0x3*-0x676)+'s';if(_0x28f249>-0x1713+0x4b*0x65+-0x684)return _0x28f249+'m\x20'+_0x559fac[_0x812c30(0x267,0x154)](_0x52399d,0x4c1*0x1+-0x2553+0x22*0xf7)+'s';return _0x52399d+'s';}if(command===_0x2e56fd(0x428,0x59a)){const watchdogPid=getWatchdogPid();if(watchdogPid){try{process['kill'](watchdogPid,'SIGTE'+'RM'),console['log']('⬡\x20Upl'+_0x2e56fd(0xdf,0x2cd)+_0x1f2e7f(0xa5,0x202)+_0x1f2e7f(-0x104,-0x233)+_0x2e56fd(0x6c0,0x57a)+_0x1f2e7f(-0x147,-0x69)+'\x20'+watchdogPid+').');try{unlinkSync(WATCHDOG_PID_FILE);}catch{}try{unlinkSync(PID_FILE);}catch{}}catch(_0xe88ce8){console[_0x2e56fd(0x541,0x580)](_0x2e56fd(0x477,0x342)+'led\x20t'+_0x1f2e7f(0xac,-0xc7)+_0x2e56fd(0x2b8,0x46a)+_0x1f2e7f(-0x15f,-0x18f)+_0x2e56fd(0x3ef,0x4d1)+'og\x20(P'+_0x2e56fd(0x2fb,0x4bf)+watchdogPid+'):',_0xe88ce8[_0x1f2e7f(0x190,0x1a0)+'ge']),process[_0x2e56fd(0x58f,0x5f7)](-0xa*-0x12c+0x2*0x648+-0x1847);}process[_0x2e56fd(0x649,0x5f7)](-0xca6+-0x1f3b+0x2f*0xef);}const pid=getPid();!pid&&(console[_0x1f2e7f(-0x64,-0x1dd)](_0x2e56fd(0x588,0x514)+'ink\x20i'+_0x2e56fd(0x485,0x2e4)+'\x20runn'+'ing.'),process['exit'](0xfde*-0x2+-0x4c7*-0x1+-0x67*-0x43));try{process['kill'](pid,_0x1f2e7f(-0xcd,-0x148)+'RM'),console['log'](_0x2e56fd(0x5bb,0x514)+_0x1f2e7f(0x2a,-0x15d)+'toppe'+_0x2e56fd(0x295,0x2d0)+'D\x20'+pid+').');try{unlinkSync(PID_FILE);}catch{}}catch(_0x9a4aa3){console[_0x2e56fd(0x5df,0x580)](_0x1f2e7f(-0xea,-0x92)+_0x2e56fd(0x3c3,0x2ee)+'o\x20sto'+_0x1f2e7f(0x3e,0x1c0)+'ink\x20('+'PID\x20'+pid+'):',_0x9a4aa3['messa'+'ge']),process['exit'](-0x21c1+0x1*0x604+-0xddf*-0x2);}process[_0x1f2e7f(0x1cb,0x239)](0x2675+0x209b*0x1+0x11c4*-0x4);}if(command===_0x2e56fd(0x4b4,0x41b)+'e'){const require=createRequire(import.meta.url),pkg=require(join(ROOT,_0x2e56fd(0x370,0x461)+_0x2e56fd(0x4a9,0x2c2)+'on')),currentVersion=pkg[_0x2e56fd(0x26d,0x384)+'on'];console[_0x2e56fd(0x327,0x3c8)](_0x2e56fd(0x6c4,0x581)+_0x2e56fd(0x332,0x300)+_0x1f2e7f(-0xa8,0xa6)+_0x1f2e7f(-0x1d2,-0x155)+currentVersion),console[_0x1f2e7f(-0x64,0xb5)](_0x1f2e7f(-0x16d,0x3b)+_0x1f2e7f(0xdc,0x13c)+_0x1f2e7f(0x6f,0x33)+_0x2e56fd(0x57a,0x41b)+_0x2e56fd(0x5e2,0x4b4)+'\x0a');const wasRunning=!!(getWatchdogPid()||getPid());if(wasRunning){console['log'](_0x1f2e7f(-0x15b,-0x344)+'pping'+_0x2e56fd(0x333,0x516)+'nk\x20be'+_0x1f2e7f(-0x120,-0x17f)+_0x2e56fd(0x2f6,0x41b)+_0x1f2e7f(0x193,0x170));const watchdogPid=getWatchdogPid(),serverPid=getPid(),pidToKill=watchdogPid||serverPid;try{process[_0x1f2e7f(0xf8,0x24d)](pidToKill,_0x2e56fd(0x43c,0x35f)+'RM');try{unlinkSync(WATCHDOG_PID_FILE);}catch{}try{unlinkSync(PID_FILE);}catch{}const _0x1e4d1e={};_0x1e4d1e[_0x1f2e7f(-0x149,0x5a)]='ignor'+'e',execSync('sleep'+_0x2e56fd(0x30d,0x3df)+'/dev/'+_0x2e56fd(0x3d6,0x40d)+'||\x20ti'+_0x2e56fd(0x32f,0x2ce)+_0x1f2e7f(0x9a,0x34)+_0x2e56fd(0x129,0x250)+_0x1f2e7f(0x18a,0x262)+'>nul\x20'+_0x2e56fd(0x424,0x586),_0x1e4d1e);}catch{}}try{console[_0x2e56fd(0x42d,0x3c8)](_0x1f2e7f(-0x1ea,-0x2ed)+'ating'+_0x2e56fd(0x41e,0x440)+_0x2e56fd(0x73a,0x5e5)+_0x1f2e7f(-0x54,-0x134)+_0x1f2e7f(-0x8b,-0x21)+_0x1f2e7f(-0xfe,-0xc9)+_0x1f2e7f(-0x9f,-0x118));const _0x2da75c={};_0x2da75c['stdio']=_0x1f2e7f(0x5e,-0x10c)+'it',execSync(_0x1f2e7f(0x1b4,0x86)+_0x1f2e7f(-0x50,-0x6c)+_0x2e56fd(0x239,0x26f)+_0x1f2e7f(-0xa6,-0x22e)+_0x2e56fd(0x34c,0x2d3)+_0x2e56fd(0x415,0x5e8)+_0x1f2e7f(-0x5,0x2b)+_0x2e56fd(0x273,0x29f),_0x2da75c);}catch(_0x207f61){console[_0x2e56fd(0x72a,0x580)](_0x2e56fd(0x32f,0x4a7)+_0x2e56fd(0x3cf,0x55a)+_0x1f2e7f(-0x116,0xca)+'d:',_0x207f61['messa'+'ge']),console[_0x2e56fd(0x5f2,0x580)](_0x2e56fd(0x6ae,0x4d3)+_0x1f2e7f(-0x44,-0x1f6)+_0x1f2e7f(0x120,0xbe)+_0x1f2e7f(-0x1c7,-0x113)+_0x1f2e7f(0x18e,0x80)+_0x1f2e7f(0xc6,0x1aa)+_0x1f2e7f(0x12e,0x1df)+_0x2e56fd(0x333,0x2b5)+_0x2e56fd(0x517,0x434)+'mpany'+'/upli'+_0x2e56fd(0x508,0x5c0)+'at');if(wasRunning){console['log'](_0x1f2e7f(-0x1ab,-0x19f)+_0x1f2e7f(-0x32,-0xc8)+'ing\x20U'+_0x1f2e7f(-0x8b,0x58)+_0x2e56fd(0x188,0x2b4));const _0xe9b9bc={};_0xe9b9bc[_0x1f2e7f(-0x149,0x51)]=_0x2e56fd(0x3c1,0x48a)+'it',execSync(_0x2e56fd(0x3b2,0x359)+_0x2e56fd(0x2ba,0x3bb)+_0x2e56fd(0x6dc,0x505)+_0x2e56fd(0x438,0x273)+_0x2e56fd(0x39d,0x23b)+'h',_0xe9b9bc);}process[_0x2e56fd(0x67d,0x5f7)](-0x15eb+0x1733*-0x1+0x1*0x2d1f);}try{delete require[_0x1f2e7f(0x1d6,0x102)][join(ROOT,_0x1f2e7f(0x35,0xa7)+_0x2e56fd(0x279,0x2c2)+'on')];const newPkg=require(join(ROOT,_0x1f2e7f(0x35,-0x13e)+_0x2e56fd(0x2a3,0x2c2)+'on')),newVersion=newPkg[_0x2e56fd(0x1fb,0x384)+'on'];newVersion!==currentVersion?console[_0x2e56fd(0x3ac,0x3c8)](_0x1f2e7f(0x7b,0x17c)+_0x1f2e7f(-0xfa,-0x1a9)+_0x2e56fd(0x2bf,0x468)+currentVersion+_0x1f2e7f(0xe6,0xb6)+newVersion):console['log'](_0x1f2e7f(0x7,-0x192)+_0x1f2e7f(0x2f,0x160)+_0x2e56fd(0xfa,0x24a)+_0x2e56fd(0x9c,0x26c)+_0x1f2e7f(0x58,0x2a)+_0x1f2e7f(-0xa8,-0x80)+_0x1f2e7f(0x9d,-0x41)+currentVersion+').');}catch{console['log'](_0x2e56fd(0x5f4,0x4a7)+_0x1f2e7f(0x12e,0x272)+'compl'+_0x1f2e7f(0x13f,0xe5));}if(wasRunning){console[_0x2e56fd(0x4a9,0x3c8)](_0x2e56fd(0x471,0x5eb)+_0x2e56fd(0x687,0x5db)+_0x1f2e7f(-0x51,-0x222)+_0x2e56fd(0x45b,0x48d)+'..');try{const _0x1e3bc9={};_0x1e3bc9[_0x1f2e7f(-0x149,-0x304)]=_0x2e56fd(0x51d,0x48a)+'it',execSync('uplin'+_0x1f2e7f(-0x71,0xf0)+_0x2e56fd(0x39b,0x505)+_0x2e56fd(0x22d,0x273)+'detac'+'h',_0x1e3bc9);}catch{console[_0x2e56fd(0x30c,0x3c8)](_0x1f2e7f(0xbd,0xd0)+_0x2e56fd(0x3a7,0x289)+_0x1f2e7f(-0x126,-0x15)+'faile'+_0x1f2e7f(0xb6,-0x11b)+'art\x20m'+_0x2e56fd(0x44e,0x265)+_0x2e56fd(0x392,0x48f)+_0x2e56fd(0x240,0x3c5)+'plink'+'-chat'+'\x20star'+'t');}}process[_0x2e56fd(0x4c0,0x5f7)](-0x1c03*0x1+-0x214d+0x18*0x28e);}if(command===_0x1f2e7f(-0x1ec,-0x1d)+'s'){const watchdogPid=getWatchdogPid(),state=getWatchdogState();if(watchdogPid&&state){const uptime=formatUptime(Date['now']()-state['start'+_0x1f2e7f(-0xab,-0x106)]);console['log'](_0x1f2e7f(0xe8,0x15b)+'ink\x20i'+'s\x20run'+_0x2e56fd(0x558,0x37b)+_0x2e56fd(0x501,0x60e)+'hdog\x20'+_0x2e56fd(0x4fc,0x37a)),console['log'](_0x1f2e7f(-0x18,-0x3d)+'chdog'+_0x2e56fd(0x477,0x4b5)+'\x20'+watchdogPid);if(state[_0x1f2e7f(-0x1da,-0x28b)+_0x2e56fd(0x560,0x39c)])console[_0x2e56fd(0x1dc,0x3c8)](_0x1f2e7f(0x137,0x131)+_0x1f2e7f(-0xbf,-0x202)+_0x2e56fd(0x31c,0x446)+'\x20'+state['serve'+_0x1f2e7f(-0x90,-0x118)]);console['log']('\x20\x20Upt'+_0x2e56fd(0x347,0x507)+'\x20\x20\x20\x20\x20'+'\x20'+uptime),console[_0x2e56fd(0x21c,0x3c8)]('\x20\x20Res'+'tarts'+_0x2e56fd(0x45c,0x2c3)+'\x20'+(state[_0x1f2e7f(0x165,-0x7b)+'rtCou'+'nt']||-0x1c06+0x15c*-0xb+0x2afa));if(state['backo'+_0x2e56fd(0x2ef,0x268)]>-0x1fb7+-0xec3+0x3262)console[_0x2e56fd(0x210,0x3c8)](_0x2e56fd(0x652,0x4a4)+_0x1f2e7f(-0xb3,-0x1bf)+_0x1f2e7f(0x95,0x107)+'\x20'+state[_0x2e56fd(0x422,0x5dc)+'ffMs']+'ms');}else{const pid=getPid();pid?console['log'](_0x2e56fd(0x561,0x514)+_0x2e56fd(0x358,0x41a)+_0x1f2e7f(-0x113,0x59)+_0x1f2e7f(-0xb1,-0x1ff)+'(PID\x20'+pid+').'):console[_0x1f2e7f(-0x64,-0xbc)](_0x2e56fd(0x44e,0x514)+_0x2e56fd(0x5f2,0x41a)+_0x1f2e7f(-0x148,-0x2f7)+_0x1f2e7f(-0x44,-0x54)+_0x2e56fd(0x44a,0x5b2));}process[_0x1f2e7f(0x1cb,0x18)](-0x5*0x89+0x25*-0x59+-0x1ba*-0x9);}function _0x2e56fd(_0xf02f2d,_0x3bce3c){return _0x84fd(_0x3bce3c-0x15d,_0xf02f2d);}if(command===_0x2e56fd(0x654,0x4bc)+_0x2e56fd(0x737,0x5f4)){const require=createRequire(import.meta.url),pkg=require(join(ROOT,_0x1f2e7f(0x35,-0x138)+_0x2e56fd(0x38f,0x2c2)+'on')),readline=await import(_0x2e56fd(0x2e6,0x49d)+_0x1f2e7f(-0x1f4,-0x193)),{rmSync}=await import('fs');console['log']('\x0a\x20\x20⬡\x20'+_0x1f2e7f(0x19f,0x2f8)+_0x1f2e7f(-0x10a,-0x18a)+_0x1f2e7f(-0x28,-0xdc)+_0x2e56fd(0x540,0x3ed)+pkg['versi'+'on']+'\x0a'),console[_0x2e56fd(0x4c7,0x3c8)](_0x2e56fd(0x43a,0x2e0)+_0x1f2e7f(0x15d,0x235)+'l:'),console[_0x1f2e7f(-0x64,-0x1ae)](_0x1f2e7f(-0x15,-0x1e0)+_0x2e56fd(0x3f8,0x4fd)+'\x20the\x20'+_0x1f2e7f(0x19f,0x233)+_0x2e56fd(0x6ab,0x519)+_0x1f2e7f(0xb0,0x290)+_0x1f2e7f(0x47,0x1b0)+_0x1f2e7f(-0x1d1,-0x1a6)+'g'),console['log'](_0x2e56fd(0x304,0x417)+_0x2e56fd(0x5d8,0x420)+_0x1f2e7f(0x5a,-0x169)+'l\x20con'+'figur'+'ation'+'\x20(.en'+_0x1f2e7f(0x65,-0x1e)+'nfig\x20'+'files'+')'),console['log'](_0x1f2e7f(-0x15,0x8d)+_0x2e56fd(0x3a4,0x420)+_0x1f2e7f(0x5a,-0x160)+_0x1f2e7f(0x39,0x224)+_0x1f2e7f(0x29,0xf7)+_0x1f2e7f(-0x119,-0x275)+_0x2e56fd(0x3ca,0x3e3)+_0x2e56fd(0x3e8,0x241)),console[_0x2e56fd(0x381,0x3c8)]('\x20\x20\x20\x20•'+_0x2e56fd(0x327,0x420)+_0x1f2e7f(0x5a,-0x28)+_0x2e56fd(0x55b,0x3ef)+_0x1f2e7f(0xa6,0x1b1)+'\x20PID\x20'+_0x1f2e7f(-0x73,0xa3)),console[_0x1f2e7f(-0x64,0x15d)]('\x20\x20\x20\x20•'+'\x20Remo'+_0x1f2e7f(-0xa,-0x105)+'ent\x20a'+'vatar'+'s\x20and'+_0x2e56fd(0x441,0x5f0)+_0x1f2e7f(-0x1f7,-0x2ee)+'es'),console[_0x1f2e7f(-0x64,0xf5)](_0x1f2e7f(-0x15,0x32)+_0x2e56fd(0x40e,0x3b0)+_0x2e56fd(0xc2,0x29b)+_0x1f2e7f(-0x1d0,-0x1b7)+_0x2e56fd(0x33f,0x49f)+_0x2e56fd(0x262,0x34b)+_0x2e56fd(0xcc,0x28d)+_0x1f2e7f(-0x80,-0x1f7)+'\x0a'),console[_0x2e56fd(0x51a,0x3c8)](_0x2e56fd(0x398,0x476)+'This\x20'+_0x2e56fd(0x3d5,0x2db)+_0x2e56fd(0x68f,0x5ab)+_0x1f2e7f(-0x1c9,-0x319)+'e\x20und'+_0x2e56fd(0x2d1,0x355));const _0x1ece40={};_0x1ece40[_0x2e56fd(0x686,0x59c)]=process[_0x2e56fd(0x26c,0x3bd)],_0x1ece40[_0x2e56fd(0x16d,0x2e2)+'t']=process[_0x2e56fd(0x51f,0x5bb)+'t'];const rl=readline[_0x2e56fd(0x446,0x3f1)+_0x1f2e7f(0x41,0x10b)+_0x1f2e7f(-0x1c1,-0x387)](_0x1ece40),answer=await new Promise(_0x2c88ed=>{function _0x367c9c(_0x53a068,_0x1ef1b0){return _0x1f2e7f(_0x1ef1b0-0x5ce,_0x53a068);}function _0x556b60(_0x50813e,_0x42ed91){return _0x1f2e7f(_0x50813e-0x433,_0x42ed91);}rl[_0x367c9c(0x733,0x79a)+_0x367c9c(0x3a4,0x4b1)]('\x20\x20Typ'+'e\x20\x22un'+_0x556b60(0x341,0x259)+'ll\x22\x20t'+'o\x20con'+_0x367c9c(0x431,0x4a6)+'\x20',_0x2c88ed);});rl['close']();answer[_0x2e56fd(0x55a,0x454)]()[_0x1f2e7f(0x19e,0x339)+_0x2e56fd(0x49a,0x523)+'e']()!==_0x1f2e7f(0x90,-0xcd)+_0x2e56fd(0x7e4,0x5f4)&&(console['log'](_0x1f2e7f(-0x12b,-0x155)+_0x2e56fd(0x572,0x5e1)+'ed.\x20N'+'othin'+'g\x20was'+_0x1f2e7f(-0x130,0xac)+_0x2e56fd(0x698,0x604)),process['exit'](-0x24de*0x1+0x5*-0x161+0x2bc3));console[_0x2e56fd(0x447,0x3c8)]('');const watchdogPid=getWatchdogPid(),serverPid=getPid();if(watchdogPid)try{process[_0x1f2e7f(0xf8,-0xa2)](watchdogPid,_0x2e56fd(0x4b4,0x35f)+'RM'),console['log']('\x20\x20✓\x20S'+_0x2e56fd(0x67b,0x55c)+_0x1f2e7f(-0xca,-0x258)+'chdog'+'\x20(PID'+'\x20'+watchdogPid+')');}catch{}if(serverPid)try{process['kill'](serverPid,_0x2e56fd(0x544,0x35f)+'RM'),console[_0x2e56fd(0x382,0x3c8)]('\x20\x20✓\x20S'+_0x2e56fd(0x645,0x55c)+'d\x20ser'+_0x1f2e7f(0x117,0x19f)+_0x2e56fd(0x642,0x469)+serverPid+')');}catch{}!watchdogPid&&!serverPid&&console[_0x1f2e7f(-0x64,0xdb)](_0x2e56fd(0x638,0x4c0)+'erver'+_0x1f2e7f(-0xd,-0xe6)+'runni'+'ng');const legacyToRemove=['.env',_0x1f2e7f(-0x158,-0x101)+'g.jso'+'n','.upli'+_0x1f2e7f(0xe4,-0x5e)+'d',_0x1f2e7f(-0x140,-0x2e8)+_0x1f2e7f(0x184,0x13d)+_0x1f2e7f(-0x1d1,-0x3a5)+_0x1f2e7f(-0xbe,-0x12e),_0x1f2e7f(-0x140,-0x2e4)+_0x2e56fd(0x604,0x5b0)+_0x2e56fd(0x30e,0x25b)+'g.jso'+'n',_0x1f2e7f(-0x140,0x39)+_0x2e56fd(0x4e9,0x5b0)+_0x1f2e7f(-0x1d1,-0x9b)+_0x2e56fd(0x3d5,0x590),'.upli'+_0x2e56fd(0x4d4,0x340)+_0x2e56fd(0x435,0x4fc)+_0x2e56fd(0x215,0x3c8),'activ'+'ity.j'+_0x2e56fd(0x461,0x605),_0x2e56fd(0x6a9,0x5bc)+_0x1f2e7f(0x34,0x1b0)+_0x1f2e7f(-0x13f,-0x29f)+_0x1f2e7f(0x1d9,0x165),_0x2e56fd(0x5fc,0x493)+_0x2e56fd(0x2f8,0x3c9)+_0x1f2e7f(0x33,0x56)+_0x1f2e7f(0x11,-0x197)+_0x2e56fd(0x708,0x605),_0x2e56fd(0x771,0x5be)+_0x2e56fd(0x3e9,0x494)+_0x1f2e7f(-0x42,0x114)+_0x2e56fd(0x3bb,0x3d4),_0x2e56fd(0x373,0x518)+'ds',_0x2e56fd(0x3c9,0x53a)+_0x2e56fd(0x60d,0x4dd),_0x1f2e7f(0x1ad,0x277)+_0x2e56fd(0x3e4,0x2eb)+'io','publi'+_0x2e56fd(0x4ce,0x4d7)+_0x2e56fd(0x3f8,0x5c2)+'ts'];let removed=-0x5e6+0x22b4+-0x1cce;for(const item of legacyToRemove){const fullPath=join(ROOT,item);if(existsSync(fullPath))try{const _0x39a14d={};_0x39a14d['recur'+_0x2e56fd(0x39c,0x4f5)]=!![],_0x39a14d[_0x1f2e7f(-0xed,-0x2f)]=!![],rmSync(fullPath,_0x39a14d),removed++;}catch{}}if(existsSync(DATA_DIR))try{const _0x96e71b={};_0x96e71b[_0x1f2e7f(-0x8c,-0x3f)+_0x1f2e7f(0xc9,0x135)]=!![],_0x96e71b[_0x2e56fd(0x19d,0x33f)]=!![],rmSync(DATA_DIR,_0x96e71b),removed++,console['log'](_0x2e56fd(0x45f,0x283)+_0x2e56fd(0x2a7,0x2f0)+_0x1f2e7f(-0xe0,-0x223)+'a\x20dir'+_0x1f2e7f(0x142,0x64)+'y:\x20'+DATA_DIR);}catch{}console[_0x1f2e7f(-0x64,0x10b)]('\x20\x20✓\x20R'+_0x1f2e7f(-0x13c,-0x232)+'d\x20'+removed+(_0x2e56fd(0x29a,0x241)+'\x20file'+_0x2e56fd(0x2b6,0x3a9)+_0x1f2e7f(0x142,0x27)+_0x1f2e7f(-0x18f,-0xd4))),console[_0x1f2e7f(-0x64,-0x156)]('\x20\x20✓\x20R'+_0x2e56fd(0x27c,0x2da)+_0x1f2e7f(-0xe5,0xfa)+_0x1f2e7f(-0x1b5,-0xf8)+'kage.'+_0x2e56fd(0x651,0x506));try{const _0x39524f={};_0x39524f['stdio']='inher'+'it',execSync(_0x1f2e7f(0x1b4,0x10e)+_0x2e56fd(0x488,0x496)+_0x2e56fd(0xa7,0x244)+_0x2e56fd(0x1b0,0x34a)+'oncom'+_0x1f2e7f(-0x24,0x3e)+_0x2e56fd(0x449,0x359)+_0x2e56fd(0x482,0x3bb)+'t',_0x39524f),console[_0x1f2e7f(-0x64,0x95)](_0x2e56fd(0x49f,0x338)+_0x2e56fd(0x768,0x5cb)+'k\x20has'+'\x20been'+_0x1f2e7f(0x111,0x19)+_0x2e56fd(0x43b,0x346)+_0x2e56fd(0x6d1,0x5cc)+_0x2e56fd(0x545,0x404)+_0x2e56fd(0x336,0x35e)),console[_0x1f2e7f(-0x64,0x20)](_0x1f2e7f(-0xf0,-0x46)+_0x1f2e7f(0x160,-0x4b)+_0x2e56fd(0x2c7,0x302)+'ing\x20U'+_0x1f2e7f(-0x8b,-0x12)+_0x2e56fd(0x5b6,0x3d0));}catch(_0x267378){console[_0x1f2e7f(0x154,0x13e)](_0x2e56fd(0x402,0x5c8)+_0x1f2e7f(0x18b,0x41)+_0x2e56fd(0x2bd,0x275)+_0x2e56fd(0x401,0x271)+_0x2e56fd(0x370,0x29b)+_0x1f2e7f(0x12c,0xa3)+_0x2e56fd(0x60a,0x461)+_0x2e56fd(0x361,0x4ca)),console['error']('\x20\x20Run'+_0x2e56fd(0x261,0x3af)+_0x1f2e7f(-0x18a,-0x89)+_0x2e56fd(0x3c3,0x558)+_0x1f2e7f(0x90,0x117)+_0x2e56fd(0x551,0x394)+'-g\x20@m'+'oonco'+'mpany'+_0x1f2e7f(-0xa3,0xd7)+_0x2e56fd(0x4dd,0x5c0)+'at\x0a'),process['exit'](0x4d*0x11+-0x1dda+0x18be);}process[_0x1f2e7f(0x1cb,0xd)](0xed7+0x115f*0x1+0x10a*-0x1f);}if(command===_0x2e56fd(0x389,0x52f)){const LOG_FILE=join(ROOT,_0x2e56fd(0x6b,0x252)+_0x2e56fd(0x296,0x324)),ALT_LOG_FILE=join(ROOT,'.upli'+_0x2e56fd(0x15e,0x340)+_0x2e56fd(0x60e,0x4fc)+_0x2e56fd(0x237,0x3c8)),DATA_LOG_FILE=join(DATA_DIR,_0x2e56fd(0x49c,0x2ec)+_0x1f2e7f(-0xec,-0x248)+'rver.'+_0x1f2e7f(-0x64,0x5b)),logFile=existsSync(DATA_LOG_FILE)?DATA_LOG_FILE:existsSync(LOG_FILE)?LOG_FILE:existsSync(ALT_LOG_FILE)?ALT_LOG_FILE:null;!logFile&&(console[_0x1f2e7f(-0x64,-0x121)](_0x2e56fd(0x4f3,0x451)+_0x2e56fd(0x42f,0x36a)+_0x2e56fd(0x362,0x388)+_0x1f2e7f(0xb,-0x2c)),console['log']('\x20\x20Exp'+'ected'+_0x2e56fd(0x5ce,0x5bd)+_0x2e56fd(0x1a3,0x335)+':'),console[_0x2e56fd(0x581,0x3c8)](_0x1f2e7f(-0x7e,-0xc2)+LOG_FILE),console[_0x2e56fd(0x2ab,0x3c8)](_0x1f2e7f(-0x7e,-0x1cb)+ALT_LOG_FILE),console[_0x1f2e7f(-0x64,-0x6)](''),console[_0x1f2e7f(-0x64,-0xc3)](_0x1f2e7f(0x43,0x4c)+_0x1f2e7f(0x174,0x1f0)+'\x20crea'+_0x1f2e7f(-0xad,-0xe)+'hen\x20t'+_0x1f2e7f(-0x181,-0x25e)+'rver\x20'+_0x1f2e7f(0x1da,0x1f)),console['log'](_0x1f2e7f(-0xdf,-0x206)+_0x1f2e7f(0x15c,-0x48)+_0x2e56fd(0x31a,0x48b)+_0x1f2e7f(-0x29,-0x183)+'irst:'+'\x20upli'+'nk-ch'+_0x2e56fd(0x68c,0x55d)+_0x2e56fd(0x59b,0x3b3)),process[_0x1f2e7f(0x1cb,0x53)](-0x9e5*-0x1+0x5b5+-0xf99));const lines=flags[_0x1f2e7f(-0x1ca,-0x27f)]||-0xe28+0x565*-0x5+-0x1*-0x2953;try{const content=readFileSync(logFile,_0x1f2e7f(-0xa2,0xe4)),allLines=content[_0x2e56fd(0x1a7,0x22d)]('\x0a'),tail=allLines[_0x1f2e7f(0x1e1,0xd8)](-lines)[_0x1f2e7f(-0x57,0x15)]('\x0a');console['log'](_0x1f2e7f(-0x34,0x120)+_0x1f2e7f(-0xd9,-0x247)+_0x1f2e7f(-0x150,0x77)+lines+(_0x2e56fd(0x50e,0x3ca)+_0x2e56fd(0x60d,0x4c5)+'m\x20')+logFile+'\x0a'),console[_0x2e56fd(0x347,0x3c8)](tail);}catch(_0x5d5762){console[_0x2e56fd(0x610,0x580)](_0x1f2e7f(-0xea,0x4c)+_0x1f2e7f(-0x13e,0xe)+_0x2e56fd(0x7ce,0x601)+_0x1f2e7f(-0x23,-0x1ef)+'\x20file'+':\x20'+_0x5d5762[_0x2e56fd(0x4fc,0x5bc)+'ge']),process[_0x1f2e7f(0x1cb,0x326)](-0x1619+-0x1e29+0x3443);}console[_0x1f2e7f(-0x64,0x50)](_0x2e56fd(0x13c,0x255)+'tchin'+_0x1f2e7f(-0x17c,0x4e)+_0x2e56fd(0x47b,0x50f)+'log\x20e'+_0x2e56fd(0x69c,0x5a3)+_0x1f2e7f(0x14f,0x11e)+'(Ctrl'+_0x2e56fd(0x72d,0x556)+'\x20stop'+')\x0a');const fsModule=await import('fs');let position=statSync(logFile)['size'];const watcher=fsModule['watch'](logFile,()=>{function _0x446143(_0x131260,_0xdb8003){return _0x1f2e7f(_0xdb8003-0x616,_0x131260);}const _0x2606ec={};_0x2606ec[_0x31ec7f(-0xf2,0xd0)]=_0x446143(0x87d,0x7b2)+'\x20Fail'+'ed\x20to'+_0x31ec7f(-0x2db,-0x293)+'stall'+_0x31ec7f(-0x187,0x54)+_0x446143(0x6ce,0x64b)+'ge.',_0x2606ec[_0x446143(0x49e,0x451)]=function(_0x398de2,_0xd90965){return _0x398de2>_0xd90965;};function _0x31ec7f(_0x3ab682,_0x479784){return _0x1f2e7f(_0x479784- -0xd8,_0x3ab682);}_0x2606ec[_0x446143(0x5db,0x4fc)]=function(_0x3fd58b,_0x4f5cfd){return _0x3fd58b-_0x4f5cfd;},_0x2606ec[_0x446143(0x623,0x54b)]=_0x31ec7f(-0x222,-0x17a),_0x2606ec[_0x446143(0x330,0x4e1)]=function(_0x127142,_0x40504b){return _0x127142<_0x40504b;},_0x2606ec[_0x446143(0x6c7,0x592)]=function(_0x549c86,_0x41d179){return _0x549c86===_0x41d179;},_0x2606ec[_0x446143(0x2ce,0x432)]=_0x446143(0x6bd,0x6cb),_0x2606ec[_0x31ec7f(-0x3d,-0x1d4)]=_0x446143(0x6ef,0x5e7);const _0x1262a4=_0x2606ec;try{const _0xa0fe0f=fsModule[_0x31ec7f(-0x1d,-0x15)+'ync'](logFile,'r'),_0x3980f2=fsModule[_0x446143(0x558,0x5a9)+_0x31ec7f(-0xd0,-0x1c6)](_0xa0fe0f)[_0x446143(0x365,0x46a)];if(_0x1262a4[_0x31ec7f(-0xac,-0x29d)](_0x3980f2,position)){const _0x45b347=Buffer[_0x31ec7f(0x2,-0xb1)](_0x1262a4[_0x446143(0x57b,0x4fc)](_0x3980f2,position));fsModule[_0x31ec7f(0x141,0x2a)+_0x31ec7f(0x76,0xe2)](_0xa0fe0f,_0x45b347,0x6*-0x3a9+0xf88+0x66e,_0x45b347[_0x31ec7f(0x7d,0x51)+'h'],position),process[_0x446143(0x7f3,0x7a5)+'t'][_0x446143(0x48f,0x449)](_0x45b347['toStr'+_0x31ec7f(0x67,-0xba)](_0x1262a4[_0x446143(0x724,0x54b)])),position=_0x3980f2;}else _0x1262a4[_0x446143(0x47c,0x4e1)](_0x3980f2,position)&&(_0x1262a4[_0x446143(0x426,0x592)](_0x1262a4['VUyyt'],_0x1262a4['yaFMU'])?(_0x35fb94[_0x31ec7f(0x11f,0x7c)](iNoyXC['qVjrl']),_0x11a089[_0x446143(0x6df,0x76a)](_0x446143(0x764,0x79f)+'\x20manu'+_0x31ec7f(-0x2e0,-0x262)+_0x446143(0x5e0,0x742)+_0x31ec7f(-0x170,-0x48)+_0x446143(0x62b,0x57e)+_0x31ec7f(-0x420,-0x24f)+_0x446143(0x5f9,0x61e)+'mpany'+'/upli'+'nk-ch'+_0x31ec7f(0xa9,-0x41)),_0x1180b0[_0x31ec7f(0x47,0xf3)](0x106*-0x2+-0x22e7+-0x24f4*-0x1)):position=0x1*-0xa7b+0xcc5+-0x2*0x125);fsModule[_0x31ec7f(-0x140,-0x1f6)+_0x446143(0x5ff,0x528)](_0xa0fe0f);}catch{}});process['on'](_0x1f2e7f(0x179,0x11f)+'T',()=>{watcher[_0x30b047(0x3af,0x2ef)]();function _0x30b047(_0x2ad743,_0xda956b){return _0x1f2e7f(_0xda956b-0x40d,_0x2ad743);}process['exit'](0x1*-0xfc2+0x20d9+-0xaf*0x19);}),process['on'](_0x1f2e7f(-0xcd,-0x26)+'RM',()=>{function _0x73b17b(_0x4a20b2,_0x26ac81){return _0x2e56fd(_0x26ac81,_0x4a20b2- -0x402);}function _0xdd0465(_0x2014b0,_0xec926){return _0x2e56fd(_0x2014b0,_0xec926-0x167);}watcher[_0xdd0465(0x30f,0x475)](),process[_0x73b17b(0x1f5,0x42)](0x1e6*0x4+-0x3*0x851+0x115b);});}if(command===_0x2e56fd(0x3f5,0x2d4)+'g'){const ENV_FILE=existsSync(join(DATA_DIR,_0x2e56fd(0x4fa,0x532)))?join(DATA_DIR,_0x1f2e7f(0x106,0x3c)):join(ROOT,_0x2e56fd(0x482,0x532));flags['path']&&(console[_0x2e56fd(0x3bb,0x3c8)](ENV_FILE),process[_0x1f2e7f(0x1cb,0x2ef)](-0xbf5*-0x3+0x255d*0x1+0xda*-0x56));if(flags['edit']){if(!existsSync(ENV_FILE)){const exampleFile=join(ROOT,_0x1f2e7f(0x1a6,0x258)+_0x2e56fd(0x171,0x2d5)+'le');existsSync(exampleFile)?(writeFileSync(ENV_FILE,readFileSync(exampleFile,_0x1f2e7f(-0xa2,-0x1e))),console[_0x2e56fd(0x2d4,0x3c8)](_0x1f2e7f(-0xc6,-0x1a2)+_0x1f2e7f(-0x39,0x107)+_0x2e56fd(0x554,0x44b)+'from\x20'+_0x1f2e7f(0x1a6,0xdc)+_0x2e56fd(0x24b,0x2d5)+'le')):(writeFileSync(ENV_FILE,_0x2e56fd(0x33a,0x396)+'ink\x20C'+_0x2e56fd(0x3f9,0x5c3)+_0x2e56fd(0x53a,0x415)+_0x2e56fd(0x24b,0x308)),console['log']('⬡\x20Cre'+_0x1f2e7f(-0x39,0x12)+_0x2e56fd(0x3b7,0x44d)+_0x1f2e7f(0x24,0x8d)+_0x1f2e7f(0x173,-0x33)));}const editor=process.env.EDITOR||(process[_0x2e56fd(0x356,0x392)+_0x1f2e7f(0x0,-0x19b)]===_0x1f2e7f(-0x175,-0x39)?'notep'+'ad':_0x1f2e7f(-0x4,-0x1d4));console[_0x1f2e7f(-0x64,0xa5)]('⬡\x20Ope'+'ning\x20'+ENV_FILE+'\x20in\x20'+editor+_0x1f2e7f(-0x178,0x45));try{const _0x5b710c={};_0x5b710c[_0x1f2e7f(-0x149,-0x24e)]='inher'+'it',execSync(editor+'\x20\x22'+ENV_FILE+'\x22',_0x5b710c);}catch(_0x5e7535){console[_0x1f2e7f(0x154,0x10a)](_0x2e56fd(0x38e,0x342)+_0x2e56fd(0x3fe,0x2ee)+_0x2e56fd(0x471,0x5f2)+_0x2e56fd(0x481,0x364)+_0x1f2e7f(0x133,-0x3c)+_0x5e7535[_0x2e56fd(0x750,0x5bc)+'ge']),console[_0x1f2e7f(0x154,0x33e)](_0x2e56fd(0x4f6,0x53f)+_0x1f2e7f(-0x10e,-0x142)+_0x2e56fd(0x3d8,0x57d)+_0x1f2e7f(0x143,0x94)+'\x20or\x20e'+_0x2e56fd(0x4f5,0x457)+'anual'+_0x1f2e7f(-0x1a6,-0x2be)+ENV_FILE),process[_0x2e56fd(0x65f,0x5f7)](-0x4df*-0x1+0x2052+-0x2530);}process[_0x1f2e7f(0x1cb,0xc9)](0x889+0x54*0x39+-0x1*0x1b3d);}!existsSync(ENV_FILE)&&(console['log'](_0x1f2e7f(0x25,0x1b2)+_0x1f2e7f(0x1f,0x86)+_0x2e56fd(0x22e,0x35d)+_0x2e56fd(0x606,0x570)+'.'),console[_0x2e56fd(0x2c1,0x3c8)](_0x1f2e7f(-0x9e,0x5d)+_0x1f2e7f(-0x165,0x42)+'ne\x20wi'+_0x2e56fd(0x298,0x3c5)+_0x2e56fd(0x527,0x3a1)+_0x1f2e7f(-0xfe,-0x25d)+_0x1f2e7f(0x87,-0xaa)+_0x1f2e7f(0xd3,-0xbe)+'edit'),console[_0x2e56fd(0x575,0x3c8)](_0x2e56fd(0x40e,0x431)+'copy\x20'+_0x2e56fd(0x1a8,0x311)+_0x2e56fd(0x50b,0x594)+_0x2e56fd(0x487,0x3f2)+_0x1f2e7f(0x24,0x8b)+_0x2e56fd(0x2ad,0x2f2)+'ple\x20.'+'env'),process[_0x2e56fd(0x771,0x5f7)](0x1fc4+-0x1e1*-0xf+-0x3bf2));const SENSITIVE_KEYS=[_0x1f2e7f(-0x132,-0x9e),_0x2e56fd(0x38a,0x564),'SECRE'+'T',_0x2e56fd(0x620,0x562)+_0x2e56fd(0x56a,0x43e),'CREDE'+_0x2e56fd(0x657,0x4c2)];function maskValue(_0x11c2ea,_0x24bc3d){const _0xe748ea={};_0xe748ea['bQWZL']=function(_0x5507e1,_0x37b7cd){return _0x5507e1||_0x37b7cd;},_0xe748ea['ImDcz']=function(_0x104490,_0x182723){return _0x104490<=_0x182723;},_0xe748ea[_0x325216(0x21,0x1d7)]=function(_0x235601,_0x36aaf7){return _0x235601+_0x36aaf7;},_0xe748ea['CoMgF']=_0x325216(-0x7d,0xbd);function _0x3a016c(_0x45f029,_0x9b0ecd){return _0x1f2e7f(_0x9b0ecd-0x4d8,_0x45f029);}const _0x419c41=_0xe748ea;function _0x325216(_0x1971fe,_0x58b872){return _0x1f2e7f(_0x58b872-0x110,_0x1971fe);}const _0x1c3e57=SENSITIVE_KEYS[_0x3a016c(0x506,0x3cc)](_0x149060=>_0x11c2ea['toUpp'+_0x325216(0x89,0x207)+'e']()['inclu'+_0x325216(0x459,0x298)](_0x149060));if(_0x419c41[_0x3a016c(0x317,0x2d8)](!_0x1c3e57,!_0x24bc3d)||_0x419c41[_0x325216(0x1,0x19b)](_0x24bc3d[_0x3a016c(0x4c8,0x601)+'h'],0xf51+0x15de+-0x252b))return _0x24bc3d;return _0x419c41[_0x3a016c(0x719,0x59f)](_0x24bc3d['slice'](-0x454*-0x2+0x1737+-0x1fdf,0x1f33+-0x1*-0x1922+-0x3851),_0x419c41[_0x3a016c(0x310,0x2e8)]);}try{const content=readFileSync(ENV_FILE,'utf8'),entries=[];for(const line of content[_0x1f2e7f(-0x1ff,-0x198)]('\x0a')){const trimmed=line['trim']();if(!trimmed||trimmed[_0x2e56fd(0x50d,0x3fa)+'sWith']('#'))continue;const eqIdx=trimmed[_0x1f2e7f(-0x103,-0xc)+'Of']('=');if(eqIdx===-(-0x1cc8+-0x10e7*-0x1+0x1*0xbe2))continue;const key=trimmed[_0x1f2e7f(0x1e1,0x92)](-0x15f9+0x11e1*-0x2+-0x39bb*-0x1,eqIdx)[_0x1f2e7f(0x28,-0xdb)](),val=trimmed[_0x1f2e7f(0x1e1,0x264)](eqIdx+(-0x155c*0x1+-0x4b*-0x26+0xa3b))[_0x2e56fd(0x4d0,0x454)]();entries[_0x1f2e7f(0xf4,0xc5)]([key,val]);}entries['lengt'+'h']===-0x1*0xa65+0x39*0x85+-0x3c*0x52&&(console[_0x1f2e7f(-0x64,-0x10)](_0x2e56fd(0x4c4,0x4c7)+_0x2e56fd(0x606,0x528)+'e\x20is\x20'+'empty'+_0x2e56fd(0x268,0x412)+':\x20upl'+_0x1f2e7f(-0x5,-0xf9)+_0x1f2e7f(0x141,0x1ac)+'onfig'+_0x2e56fd(0x3bd,0x290)+'it'),process[_0x2e56fd(0x569,0x5f7)](0x120e+0x3a4+-0x15b2));const maxKeyLen=Math[_0x2e56fd(0x456,0x439)](...entries['map'](([_0x479ad8])=>_0x479ad8[_0x2e56fd(0x39f,0x555)+'h']));console[_0x2e56fd(0x25c,0x3c8)](_0x2e56fd(0x1f8,0x338)+_0x2e56fd(0x76a,0x5cb)+'k\x20Con'+'figur'+_0x1f2e7f(-0x1c8,-0x14a)+'\x0a'),console[_0x1f2e7f(-0x64,-0x201)]('\x20\x20'+'Key'[_0x1f2e7f(-0xc0,-0x210)+'d'](maxKeyLen+(0x532+-0x1*0xa35+0x505))+_0x2e56fd(0x317,0x34f)),console[_0x2e56fd(0x502,0x3c8)]('\x20\x20'+'─'['repea'+'t'](maxKeyLen+(0x6f7+0x194*-0x5+0xef))+'─'['repea'+'t'](0x5c7+0x22f4+-0xd*0x31f));for(const [key,val]of entries){const display=val?maskValue(key,val):'\x1b[90m'+_0x1f2e7f(0x135,-0x1c)+_0x1f2e7f(0x4d,0x170)+'m';console[_0x1f2e7f(-0x64,-0xd3)]('\x20\x20'+key[_0x2e56fd(0x32e,0x36c)+'d'](maxKeyLen+(0x131c*-0x1+-0x1*0x24b+0x1569))+display);}console[_0x2e56fd(0x32e,0x3c8)](_0x1f2e7f(-0x4b,-0x1b7)+_0x1f2e7f(-0x21,-0x1a1)+ENV_FILE+'\x0a');}catch(_0x3a5bce){console[_0x1f2e7f(0x154,0x9d)](_0x2e56fd(0x36a,0x342)+'led\x20t'+_0x1f2e7f(0x1d5,0x374)+_0x2e56fd(0x2a5,0x254)+_0x2e56fd(0x4b1,0x578)+_0x3a5bce[_0x1f2e7f(0x190,0x61)+'ge']),process[_0x1f2e7f(0x1cb,0x1d7)](-0x10*-0x1a2+-0x136*0x1a+0x55d);}process[_0x2e56fd(0x522,0x5f7)](0x3*-0x60d+0x103d+0x1ea);}if(command===_0x2e56fd(0x1e0,0x2b1)+'r'){const require=createRequire(import.meta.url),pkg=require(join(ROOT,_0x1f2e7f(0x35,-0x148)+_0x1f2e7f(-0x16a,-0x293)+'on'));console[_0x2e56fd(0x1fa,0x3c8)]('\x0a\x20\x20⬡\x20'+_0x1f2e7f(0x19f,0x18e)+'k\x20Doc'+_0x2e56fd(0x380,0x3ce)+'\x20v'+pkg['versi'+'on']+'\x0a');const results=[];function pass(_0x3b97a8,_0x4f97c2){const _0x4e6563={};function _0x31b0d5(_0x25600b,_0x5d2cdf){return _0x2e56fd(_0x5d2cdf,_0x25600b- -0x2e1);}_0x4e6563[_0x70fa04(0x497,0x39f)+'s']=_0x70fa04(0x668,0x61a);function _0x70fa04(_0x17c682,_0x520c0c){return _0x2e56fd(_0x520c0c,_0x17c682-0x257);}_0x4e6563[_0x31b0d5(-0x48,-0x17f)]=_0x3b97a8,_0x4e6563[_0x31b0d5(0x2f0,0x2dc)+'l']=_0x4f97c2,results[_0x31b0d5(0x23f,0x390)](_0x4e6563);}function fail(_0x4af295,_0x154f44){const _0x1f69b4={};_0x1f69b4['FXUCL']=_0x213d45(0x46b,0x4ea);const _0x5140fa=_0x1f69b4;function _0x213d45(_0x463210,_0x397e0c){return _0x2e56fd(_0x397e0c,_0x463210- -0x174);}const _0x1f7b2e={};_0x1f7b2e[_0x2dfbe3(0x3eb,0x484)+'s']=_0x5140fa[_0x2dfbe3(0x7e0,0x78a)],_0x1f7b2e[_0x2dfbe3(0x54a,0x4dd)]=_0x4af295,_0x1f7b2e[_0x213d45(0x45d,0x52f)+'l']=_0x154f44;function _0x2dfbe3(_0x134194,_0xf2df31){return _0x2e56fd(_0x134194,_0xf2df31-0x244);}results[_0x213d45(0x3ac,0x29d)](_0x1f7b2e);}function warn(_0xc8f3c8,_0x50a26f){const _0x310ce9={};_0x310ce9[_0x1486ba(0x432,0x3af)]='warn';const _0x45c9fc=_0x310ce9,_0x5eb923={};_0x5eb923[_0x1486ba(0x2a0,0x147)+'s']=_0x45c9fc[_0x2c899a(0x110,0x1da)];function _0x2c899a(_0x38f41c,_0x9172b5){return _0x2e56fd(_0x9172b5,_0x38f41c- -0x2c2);}_0x5eb923[_0x1486ba(0x2f9,0x2ca)]=_0xc8f3c8;function _0x1486ba(_0x10bd4e,_0x4b23b7){return _0x2e56fd(_0x4b23b7,_0x10bd4e-0x60);}_0x5eb923[_0x2c899a(0x30f,0x198)+'l']=_0x50a26f,results['push'](_0x5eb923);}const nodeVer=process[_0x2e56fd(0x1d3,0x384)+_0x2e56fd(0x507,0x576)]['node'],nodeMajor=parseInt(nodeVer[_0x1f2e7f(-0x1ff,-0x103)]('.')[-0x1c4f*0x1+-0x5a*0x1d+0x2681],0x9e+0x1b*-0x14b+0x2255);nodeMajor>=-0x2300+0x13dd+0xf35?pass(_0x1f2e7f(-0x87,0x2a)+'js\x20ve'+'rsion','v'+nodeVer+(_0x2e56fd(0x3b1,0x28f)+_0x1f2e7f(-0x1a1,-0xa5)+_0x2e56fd(0xda,0x257)+'d)')):fail('Node.'+_0x2e56fd(0x4a1,0x39e)+'rsion','v'+nodeVer+('\x20—\x20No'+_0x1f2e7f(0x1e4,0x230)+_0x1f2e7f(0x147,-0x89)+'8\x20is\x20'+_0x2e56fd(0x3e2,0x37d)+_0x2e56fd(0x4a2,0x539)));const ENV_FILE=existsSync(join(DATA_DIR,_0x1f2e7f(0x106,0x110)))?join(DATA_DIR,'.env'):join(ROOT,_0x1f2e7f(0x106,-0x1d));let envPort=0x1*0x1fd5+-0x1888*0x1+0x633,envGatewayUrl=_0x2e56fd(0x1f2,0x2a8)+_0x2e56fd(0x125,0x23a)+_0x1f2e7f(-0x19e,-0x1d2)+'1:187'+'89',envGatewayToken='',envOpenAIKey='',envElevenLabsKey='';if(existsSync(ENV_FILE))try{const content=readFileSync(ENV_FILE,_0x2e56fd(0x53d,0x38a));for(const line of content[_0x2e56fd(0x357,0x22d)]('\x0a')){const t=line[_0x1f2e7f(0x28,-0xc8)]();if(!t||t[_0x2e56fd(0x250,0x3fa)+_0x2e56fd(0x65e,0x57f)]('#'))continue;const eqIdx=t[_0x1f2e7f(-0x103,-0x1ff)+'Of']('=');if(eqIdx===-(-0x2ad+0x1f39+0x1*-0x1c8b))continue;const k=t[_0x2e56fd(0x453,0x60d)](-0x21a0+0x1585*-0x1+0x3725,eqIdx)['trim'](),v=t[_0x1f2e7f(0x1e1,0x382)](eqIdx+(-0x23bc+0x1bb+0x2202))[_0x2e56fd(0x628,0x454)]();if(k===_0x1f2e7f(-0x1ed,-0x17a))envPort=parseInt(v,-0x5f7+0x24d0+-0xb*0x2cd)||0x359*-0x1+-0x5fc*-0x4+-0x717;if(k===_0x1f2e7f(0x11d,0x64)+'AY_UR'+'L')envGatewayUrl=v;if(k===_0x2e56fd(0x452,0x549)+_0x1f2e7f(-0x6c,0xb6)+'KEN')envGatewayToken=v;if(k==='OPENA'+'I_API'+_0x2e56fd(0x3ba,0x46c))envOpenAIKey=v;if(k===_0x1f2e7f(-0xd0,-0xd6)+_0x1f2e7f(-0x66,0x11a)+_0x1f2e7f(0x158,0x5f)+_0x2e56fd(0x4a2,0x564))envElevenLabsKey=v;}}catch{}const portAvailable=await new Promise(_0x378ca4=>{function _0x626985(_0x382b95,_0x901025){return _0x2e56fd(_0x901025,_0x382b95- -0xc8);}function _0x29c78c(_0x133f14,_0x405aed){return _0x2e56fd(_0x133f14,_0x405aed- -0x23f);}const _0x5e6550={'aNRzN':function(_0x4016ef,_0x5c13cc){return _0x4016ef===_0x5c13cc;},'iZSWD':_0x29c78c(0x345,0x2a8)+_0x29c78c(0x74,0x70),'aiiuz':function(_0x18dde9,_0x5673fd){return _0x18dde9(_0x5673fd);},'FjJug':_0x626985(0x4b8,0x442),'iVihb':_0x29c78c(-0x1b1,0x12)+_0x29c78c(0x1d1,0x37a),'CWOov':_0x29c78c(0x25f,0x219)+_0x29c78c(0xee,0x175)},_0x5e146b=_0x19452f[_0x29c78c(0xc0,0x1b2)+_0x29c78c(0x182,0xd9)+'er']();_0x5e146b[_0x626985(0x31e,0x4cf)](_0x5e6550['FjJug'],_0x50eec2=>{function _0x311990(_0x48b599,_0x1432e2){return _0x29c78c(_0x1432e2,_0x48b599-0x2b3);}function _0x1aecd0(_0x91ed73,_0x29d0d0){return _0x29c78c(_0x29d0d0,_0x91ed73-0x221);}if(_0x5e6550[_0x1aecd0(0x384,0x3f3)](_0x50eec2['code'],_0x5e6550[_0x311990(0x5c2,0x709)]))_0x378ca4(![]);else _0x5e6550['aiiuz'](_0x378ca4,!![]);}),_0x5e146b[_0x29c78c(0x1ee,0x1a7)](_0x5e6550[_0x626985(0x326,0x3d6)],()=>{_0x5e146b[_0x2342a8(0x58b,0x733)]();function _0x2342a8(_0x5e8068,_0x5ed7c0){return _0x29c78c(_0x5ed7c0,_0x5e8068-0x4bc);}_0x378ca4(!![]);}),_0x5e146b[_0x29c78c(-0x14e,0x12)+'n'](envPort,_0x5e6550[_0x626985(0x26b,0xeb)]);}),serverRunning=!!(getWatchdogPid()||getPid());portAvailable?serverRunning?pass('Port\x20'+envPort,_0x2e56fd(0x2aa,0x278)+'able\x20'+_0x1f2e7f(0x10b,0x55)+_0x2e56fd(0x56c,0x611)+_0x1f2e7f(-0x162,-0x211)+_0x2e56fd(0x56d,0x49c)+'PID\x20f'+_0x1f2e7f(-0x1d3,-0x1f0)):pass('Port\x20'+envPort,'avail'+_0x1f2e7f(0xe0,0x1b0)):serverRunning?pass(_0x2e56fd(0x44e,0x5da)+envPort,_0x1f2e7f(0xcb,0xe0)+_0x2e56fd(0x4a5,0x51b)+_0x1f2e7f(0x19f,0x1f0)+'k'):fail(_0x1f2e7f(0x1ae,0x2fc)+envPort,'in\x20us'+'e\x20by\x20'+'anoth'+_0x1f2e7f(-0x1e7,-0x266)+_0x2e56fd(0x5dd,0x4ac));const gatewayReachable=await new Promise(_0x43606d=>{const _0x889ff5={'IANdi':function(_0x1ad1ce,_0x5ca9a4,_0x512077){return _0x1ad1ce(_0x5ca9a4,_0x512077);},'auNIn':function(_0x5ea036,_0x2ccda0){return _0x5ea036+_0x2ccda0;},'KMRap':'Port\x20','UHNSK':_0x3ddd99(-0x191,-0x181)+_0x3ddd99(-0x8d,-0xb3)+_0x2aed8c(0x711,0x794)+_0x3ddd99(0x208,0x3d5)+_0x2aed8c(0x4a4,0x308)+_0x3ddd99(0x93,-0xc5)+'PID\x20f'+'ile)','pOAGH':function(_0x86871d,_0x2449ab){return _0x86871d(_0x2449ab);},'OPqdt':function(_0x463a32,_0x70bfd2){return _0x463a32===_0x70bfd2;},'UdhSo':function(_0x5873b7,_0x10032d){return _0x5873b7===_0x10032d;},'mQSMc':_0x3ddd99(0xcd,0x27d),'qHHKk':_0x3ddd99(-0x1d0,-0x247),'USDHt':_0x3ddd99(0x177,0xa0),'XYrow':_0x3ddd99(0x69,-0x112)+'ut','nhmga':function(_0x44a071,_0x439e1f){return _0x44a071!==_0x439e1f;},'KJJmD':'IaJiq','UbRXj':'oqQeH'};function _0x2aed8c(_0x485261,_0x32d151){return _0x1f2e7f(_0x485261-0x606,_0x32d151);}function _0x3ddd99(_0x329f3c,_0x33252a){return _0x1f2e7f(_0x329f3c-0x23,_0x33252a);}try{if(_0x889ff5['UdhSo'](_0x889ff5[_0x2aed8c(0x432,0x5ca)],_0x889ff5[_0x2aed8c(0x725,0x631)]))SYeOBb[_0x2aed8c(0x6a7,0x5cc)](_0x5f3649,SYeOBb['auNIn'](SYeOBb[_0x2aed8c(0x73f,0x668)],_0x112ebe),SYeOBb[_0x3ddd99(-0xd2,-0x1b)]);else{const _0x52437c=new URL(envGatewayUrl),_0x3b04cb={};_0x3b04cb[_0x2aed8c(0x4c0,0x2ea)+'ame']=_0x52437c[_0x3ddd99(-0x123,-0x193)+_0x2aed8c(0x493,0x5c5)],_0x3b04cb[_0x3ddd99(0x7a,-0x16a)]=_0x52437c[_0x2aed8c(0x65d,0x74b)]||-0x1dab+-0x3*-0x34a+0x141d,_0x3b04cb[_0x3ddd99(0x194,0x170)]='/',_0x3b04cb[_0x3ddd99(0xdc,0x178)+'d']=_0x3ddd99(-0x98,0x158),_0x3b04cb['timeo'+'ut']=0x1388;const _0x15d3b6=_0x147acc['reque'+'st'](_0x3b04cb,_0x82bdbe=>{function _0x215085(_0x4a79e3,_0x4aa668){return _0x3ddd99(_0x4a79e3-0x27d,_0x4aa668);}_0x82bdbe[_0x215085(0x34e,0x4e5)+'e'](),_0x889ff5['pOAGH'](_0x43606d,!![]);});_0x15d3b6['on'](_0x889ff5[_0x3ddd99(-0x54,-0x1f1)],()=>_0x43606d(![])),_0x15d3b6['on'](_0x889ff5['XYrow'],()=>{function _0x5d7245(_0x2aa2ae,_0x53fbd2){return _0x2aed8c(_0x2aa2ae- -0x440,_0x53fbd2);}function _0x3ef6ba(_0x268bc9,_0x531da5){return _0x2aed8c(_0x531da5- -0x4b3,_0x268bc9);}_0x889ff5[_0x5d7245(0x2a4,0x2c3)]('CjmYr',_0x3ef6ba(0xe6,-0x9c))?(_0x15d3b6[_0x5d7245(0x139,-0x68)+'oy'](),_0x889ff5['pOAGH'](_0x43606d,![])):(_0x7e4612['log']('\x0a\x20\x20Ca'+_0x5d7245(0x37b,0x4da)+_0x5d7245(0x2b8,0x388)+_0x5d7245(0x36d,0x26c)+_0x5d7245(0x1fc,0x223)+_0x5d7245(0x96,0x23a)+_0x5d7245(0x39e,0x36c)),_0x239a83[_0x5d7245(0x391,0x4dc)](-0xd1a+0x20d8+0x26*-0x85));}),_0x15d3b6[_0x2aed8c(0x697,0x52f)]();}}catch{_0x889ff5[_0x2aed8c(0x7b2,0x69d)](_0x889ff5[_0x3ddd99(-0x79,0x12d)],_0x889ff5[_0x3ddd99(-0x185,-0x79)])?_0x889ff5['pOAGH'](_0x43606d,![]):(_0x50e960[_0x2aed8c(0x4e8,0x4a2)](),SYeOBb['pOAGH'](_0x3aa92f,!![]));}});gatewayReachable?pass('Gatew'+_0x2e56fd(0x5f1,0x542)+_0x2e56fd(0x3a8,0x571)+'le',envGatewayUrl):fail(_0x1f2e7f(-0xfd,0x89)+_0x1f2e7f(0x116,0x14a)+_0x1f2e7f(0x145,0x225)+'le','canno'+'t\x20rea'+'ch\x20'+envGatewayUrl);existsSync(join(ROOT,_0x1f2e7f(-0xe4,-0x117)+'modul'+'es'))?pass(_0x2e56fd(0x14c,0x30b)+_0x1f2e7f(-0x16c,-0x2f1)+_0x2e56fd(0x584,0x42a)+_0x1f2e7f(-0x191,-0x24e)+'ed',_0x2e56fd(0x40f,0x348)+'modul'+_0x2e56fd(0x39a,0x490)+_0x2e56fd(0x1b9,0x356)):fail(_0x1f2e7f(-0x121,-0x2e9)+_0x2e56fd(0x33b,0x2c0)+'es\x20in'+'stall'+'ed',_0x1f2e7f(-0xe4,-0x9)+_0x1f2e7f(-0x55,-0x192)+_0x1f2e7f(-0x2a,0x1aa)+_0x1f2e7f(-0xf,-0x132)+_0x2e56fd(0x4c7,0x4b2)+_0x1f2e7f(0xa0,-0x12a)+_0x2e56fd(0x38a,0x26a)+_0x2e56fd(0x22b,0x39d));if(existsSync(ENV_FILE))try{readFileSync(ENV_FILE,_0x1f2e7f(-0xa2,-0x13a)),pass('.env\x20'+_0x2e56fd(0x46a,0x4fb),_0x1f2e7f(-0xc4,-0x17d)+_0x2e56fd(0x69d,0x4d2)+_0x2e56fd(0x5b4,0x475)+_0x1f2e7f(0xe0,0xe0));}catch{fail(_0x2e56fd(0x409,0x44b)+_0x1f2e7f(0xcf,0x2a7),_0x1f2e7f(-0xc4,-0x24d)+'s\x20but'+'\x20not\x20'+_0x2e56fd(0x1e5,0x3c4)+_0x1f2e7f(-0x1c6,-0x23a));}else fail('.env\x20'+_0x1f2e7f(0xcf,-0x116),_0x2e56fd(0x2ce,0x4a6)+_0x1f2e7f(0x125,0x24e)+_0x2e56fd(0xff,0x29a)+_0x2e56fd(0x318,0x45e)+_0x2e56fd(0x514,0x427)+_0x1f2e7f(0x141,0x1d1)+'onfig'+_0x2e56fd(0x200,0x290)+'it');envGatewayToken&&envGatewayToken!==_0x1f2e7f(0xb3,-0x1)+_0x1f2e7f(-0x170,-0x2a2)+_0x1f2e7f(0x1e0,0x20c)?pass(_0x1f2e7f(-0xfd,-0x20f)+_0x1f2e7f(-0xbd,-0xdc)+_0x1f2e7f(-0x9d,0x105),_0x1f2e7f(-0x158,0x43)+_0x1f2e7f(0x14d,0x255)):fail(_0x2e56fd(0x1ad,0x32f)+_0x2e56fd(0x3cb,0x36f)+'ken',_0x1f2e7f(-0x5d,0x8c)+_0x2e56fd(0x396,0x39a)+_0x1f2e7f(0x24,0x1b8));if(envOpenAIKey||envElevenLabsKey){const providers=[];if(envOpenAIKey)providers['push'](_0x1f2e7f(0xc0,0x270)+'I');if(envElevenLabsKey)providers[_0x2e56fd(0x70e,0x520)](_0x1f2e7f(0x9,0x39)+'nLabs');pass('TTS\x20A'+_0x2e56fd(0x7a6,0x5ef)+'ys',providers[_0x1f2e7f(-0x57,0x18b)](',\x20')+('\x20conf'+'igure'+'d'));}else warn(_0x1f2e7f(-0x61,-0x34)+_0x2e56fd(0x7b3,0x5ef)+'ys',_0x1f2e7f(0x1a4,0x33f)+_0x1f2e7f(-0x33,0x8c)+_0x1f2e7f(-0x22,0xb2)+_0x1f2e7f(0x7e,-0xa5)+_0x2e56fd(0x38c,0x413)+_0x2e56fd(0x656,0x5fe)+_0x1f2e7f(-0x197,-0x1ea)+_0x2e56fd(0x77b,0x5f5)+'\x20limi'+_0x2e56fd(0x5a6,0x485)+_0x1f2e7f(-0x2c,-0x138)+'e\x20TTS');try{const freeBytes=((()=>{function _0x3cba15(_0x392080,_0x2d21ae){return _0x1f2e7f(_0x392080-0x284,_0x2d21ae);}function _0x77770c(_0x4fa8d4,_0xc4be7c){return _0x1f2e7f(_0xc4be7c-0x4ea,_0x4fa8d4);}const _0x1bdf7a={'yOixE':function(_0xba7bda,_0x2ec58d,_0x44307c){return _0xba7bda(_0x2ec58d,_0x44307c);},'giniZ':_0x3cba15(0x1e2,0x16e),'MFkdn':function(_0x27056d,_0x124d70){return _0x27056d===_0x124d70;},'LsWOH':'win32','XEIUF':function(_0x4ec674,_0x5f5bbc,_0xc58002){return _0x4ec674(_0x5f5bbc,_0xc58002);},'zRNaC':function(_0x5c5c11,_0x15fde5){return _0x5c5c11+_0x15fde5;},'QLRme':function(_0xb5cc49,_0x8351ac){return _0xb5cc49+_0x8351ac;},'bspfa':_0x3cba15(0x9f,0xb9)+_0x77770c(0x6c4,0x63c)+_0x77770c(0x2ef,0x38d)+_0x3cba15(0x359,0x211)+_0x3cba15(0x9b,-0x39),'gpJra':function(_0x1d8240,_0x1aff32){return _0x1d8240===_0x1aff32;},'IDPGy':'lvnDf','CnsDN':_0x3cba15(0x462,0x332),'kyuMm':function(_0x2d6584,_0xbf3ff2,_0x48785c){return _0x2d6584(_0xbf3ff2,_0x48785c);},'idZoI':function(_0x22ee77,_0x248b8b){return _0x22ee77*_0x248b8b;},'bbBWL':function(_0x4e999a,_0x15fafc,_0x6396e){return _0x4e999a(_0x15fafc,_0x6396e);}};if(_0x1bdf7a[_0x3cba15(0x3d4,0x3c1)](process[_0x77770c(0x2e8,0x450)+'orm'],_0x1bdf7a[_0x77770c(0x327,0x4bd)])){const _0x4a2ad4=_0x1bdf7a['XEIUF'](execSync,_0x1bdf7a['zRNaC'](_0x1bdf7a[_0x3cba15(0x28a,0x175)]('wmic\x20'+_0x3cba15(0x1b0,0xa6)+_0x77770c(0x3aa,0x4b9)+_0x3cba15(0x224,0x32c)+'re\x20\x22D'+_0x77770c(0x568,0x430)+_0x3cba15(0x453,0x2c3),ROOT['charA'+'t'](0x1ff8+0x1987+-0x397f)),_0x1bdf7a[_0x3cba15(0x2b5,0x4a0)]),{'encoding':_0x1bdf7a['giniZ']}),_0x15b814=_0x4a2ad4['match'](/FreeSpace=(\d+)/);return _0x15b814?parseInt(_0x15b814[-0x16c7+0x1a31+-0x369],-0x9f2+0xd7d*-0x2+0x24f6):null;}else{if(_0x1bdf7a[_0x3cba15(0x212,0x62)](_0x1bdf7a[_0x3cba15(0xe9,-0x61)],_0x1bdf7a[_0x77770c(0x3d9,0x421)])){const _0xc30bdb=jYDCki[_0x77770c(0x3e8,0x4d4)](_0x1b3581,_0x3ed1ca,jYDCki[_0x3cba15(0x17f,0x107)]),_0x2fca36=_0xc30bdb[_0x77770c(0x1d8,0x2eb)]('\x0a'),_0x55b860=_0x2fca36[_0x77770c(0x665,0x6cb)](-_0x1ddc1c)[_0x77770c(0x62d,0x493)]('\x0a');_0x452c56[_0x77770c(0x329,0x486)]('⬡\x20Sho'+_0x77770c(0x466,0x411)+_0x77770c(0x307,0x39a)+_0x1fe9ff+(_0x3cba15(0x222,0x355)+_0x3cba15(0x31d,0x3fb)+'m\x20')+_0xabf37d+'\x0a'),_0x30b688[_0x3cba15(0x220,0x188)](_0x55b860);}else{const _0x197b9e=_0x1bdf7a[_0x3cba15(0x34c,0x335)](execSync,_0x77770c(0x5c5,0x4b4)+'\x20\x22'+ROOT+(_0x3cba15(0x10e,0x1ec)+_0x3cba15(0xfe,0xcb)+'1'),{'encoding':_0x1bdf7a[_0x3cba15(0x17f,0x4e)]}),_0x2b4ae2=_0x197b9e[_0x77770c(0x62f,0x512)]()[_0x3cba15(0x85,0x192)](/\s+/);return _0x1bdf7a[_0x77770c(0x601,0x57c)](_0x1bdf7a[_0x3cba15(0x209,0x207)](parseInt,_0x2b4ae2[0x4c9+-0x13f5+0xf2f],-0x1b*-0x63+0x39b*-0x3+-0x2*-0x35),0x229e+0x2615*-0x1+0x777);}}})());if(freeBytes!==null){const freeMB=Math[_0x2e56fd(0x3d8,0x2ad)](freeBytes/((0xb6f+-0xbd3+0x464)*(0xdfe+-0x1*-0x223+-0xc21)));freeMB>=-0xad*-0x2c+0x83*-0x2f+-0x3bb?pass(_0x2e56fd(0x4fe,0x3cd)+_0x2e56fd(0x4d0,0x482),freeMB+('\x20MB\x20f'+_0x1f2e7f(-0x182,-0x1c4))):warn(_0x1f2e7f(-0x5f,-0xbe)+'space',freeMB+(_0x1f2e7f(-0x1a2,-0x229)+_0x2e56fd(0x2c5,0x375)+_0x1f2e7f(0x3f,0xd3)+'\x20than'+'\x20500\x20'+'MB'));}}catch{warn(_0x1f2e7f(-0x5f,-0x23d)+'space',_0x2e56fd(0x578,0x5b1)+_0x2e56fd(0x398,0x41f)+_0x1f2e7f(0x8f,-0x3a)+_0x1f2e7f(0x11e,0x155)+_0x1f2e7f(-0x6a,-0x138)+_0x2e56fd(0x44f,0x282)+_0x2e56fd(0x60e,0x482));}const _0x4c62ad={};_0x4c62ad['pass']=_0x1f2e7f(-0x95,0x26)+_0x1f2e7f(0x183,0x1f5),_0x4c62ad[_0x1f2e7f(0x1b3,0x10d)]='\x1b[31m'+_0x1f2e7f(-0x179,-0x137),_0x4c62ad[_0x1f2e7f(0x42,-0x169)]='\x1b[33m'+_0x1f2e7f(0xfb,0xa2);const icons=_0x4c62ad;for(const r of results){console['log']('\x20\x20'+icons[r[_0x2e56fd(0xad,0x240)+'s']]+'\x20'+r['label']+':\x20'+r[_0x2e56fd(0x623,0x5d1)+'l']);}const passes=results['filte'+'r'](_0x3418e2=>_0x3418e2[_0x2e56fd(0x363,0x240)+'s']==='pass')[_0x1f2e7f(0x129,0xec)+'h'],fails=results[_0x1f2e7f(0xf9,-0x5d)+'r'](_0x22e92b=>_0x22e92b[_0x1f2e7f(-0x1ec,-0x1c2)+'s']===_0x1f2e7f(0x1b3,0x299))[_0x1f2e7f(0x129,0xef)+'h'],warns=results['filte'+'r'](_0x1677fc=>_0x1677fc[_0x2e56fd(0x2b7,0x240)+'s']===_0x1f2e7f(0x42,-0xeb))[_0x1f2e7f(0x129,0x296)+'h'];console[_0x2e56fd(0x23a,0x3c8)](''),fails===-0x6a*-0x43+-0x1808*-0x1+-0x33c6?console['log'](_0x2e56fd(0x2e7,0x3fe)+_0x2e56fd(0x701,0x5a8)+passes+('\x20chec'+'ks\x20pa'+_0x1f2e7f(0x3,-0x10c))+(warns?'\x20('+warns+(_0x1f2e7f(-0x6b,0xae)+_0x2e56fd(0x503,0x44a))+(warns>0x148*0x4+0x286+-0x7a5?'s':'')+')':'')+'.'):console[_0x1f2e7f(-0x64,-0x50)](_0x2e56fd(0x1cb,0x2bd)+passes+(_0x2e56fd(0x1cb,0x2fe)+_0x1f2e7f(0xd8,0xe1))+fails+(_0x2e56fd(0x4da,0x5ff)+'ed')+(warns?',\x20'+warns+(_0x1f2e7f(-0x6b,-0x6c)+_0x1f2e7f(0x1e,-0xd7))+(warns>-0xead*-0x2+0x1a63*-0x1+-0x2f6?'s':''):'')+'.'),console[_0x2e56fd(0x27a,0x3c8)](''),process['exit'](fails>-0x3*-0x265+0x731+0x73*-0x20?0x1247*-0x2+-0x1123+-0x1ad9*-0x2:-0x7*0x373+0x2234+-0x1*0xa0f);}if(command===_0x2e56fd(0x53b,0x5a9)){const {rmSync}=await import('fs');console[_0x2e56fd(0x4a5,0x3c8)](_0x1f2e7f(-0xf4,-0x9b)+_0x2e56fd(0x4d5,0x5cb)+_0x1f2e7f(-0x122,-0x139)+_0x2e56fd(0x405,0x4ed)),console[_0x2e56fd(0x425,0x3c8)](_0x1f2e7f(-0x14c,-0x299)+_0x2e56fd(0x6c3,0x589)+_0x2e56fd(0x7bd,0x5fa)+_0x2e56fd(0x414,0x569)),console['log'](_0x1f2e7f(-0x15,0x4)+'\x20Chat'+_0x2e56fd(0x55d,0x574)+_0x2e56fd(0x507,0x35b)+'nd\x20me'+_0x1f2e7f(0xb2,0x24a)+_0x1f2e7f(-0x14,0x64)+'\x20data'),console['log'](_0x1f2e7f(-0x15,-0x185)+_0x1f2e7f(-0xa0,0x30)+_0x1f2e7f(0x1d,0x147)+'files'+'\x20and\x20'+_0x2e56fd(0x4e2,0x2f6)+_0x2e56fd(0x4d6,0x4ee)+'e'),console[_0x2e56fd(0x44e,0x3c8)](_0x2e56fd(0x262,0x417)+_0x2e56fd(0x388,0x4fa)+_0x2e56fd(0x292,0x40e)+_0x1f2e7f(0xb2,0x44)+_0x2e56fd(0x333,0x279)+'ue'),console[_0x2e56fd(0x1f9,0x3c8)](_0x1f2e7f(-0x15,0x1dd)+'\x20Push'+'\x20subs'+'cript'+_0x1f2e7f(0x1ab,0x396)+_0x2e56fd(0x2a9,0x303)+'ctivi'+'ty\x20da'+'ta'),console['log'](''),console[_0x2e56fd(0x234,0x3c8)](_0x1f2e7f(-0x14c,-0x8c)+_0x2e56fd(0x4e5,0x589)+_0x2e56fd(0x553,0x51d)+_0x2e56fd(0x441,0x522)+'r:'),console[_0x1f2e7f(-0x64,0x176)](_0x1f2e7f(-0x15,-0x1d3)+_0x1f2e7f(0x24,0x6f)+_0x1f2e7f(0x87,0x1f1)+_0x1f2e7f(-0x1ee,-0x218)+_0x2e56fd(0x427,0x577)),console[_0x1f2e7f(-0x64,-0x13b)](_0x2e56fd(0x30f,0x417)+'\x20node'+'_modu'+_0x2e56fd(0x552,0x534)),console[_0x2e56fd(0x495,0x3c8)]('\x20\x20\x20\x20•'+_0x2e56fd(0x580,0x53c)+'serve'+'r\x20its'+_0x2e56fd(0x48a,0x487));if(!flags['force']){const readline=await import(_0x2e56fd(0x4c6,0x49d)+_0x2e56fd(0x65,0x238)),_0x326ce9={};_0x326ce9['input']=process[_0x2e56fd(0x443,0x3bd)],_0x326ce9[_0x1f2e7f(-0x14a,-0x248)+'t']=process[_0x1f2e7f(0x18f,0x1d7)+'t'];const rl=readline[_0x2e56fd(0x4f1,0x3f1)+_0x1f2e7f(0x41,0x86)+_0x1f2e7f(-0x1c1,-0x339)](_0x326ce9),answer=await new Promise(_0x25f558=>{const _0x3442e2={};_0x3442e2[_0x4c233b(0xe7,0x1e5)]=_0x4c233b(0x113,0x178)+_0x4c233b(0x3c5,0x2f6)+_0x31fa1e(-0x1eb,-0x290)+'to\x20co'+_0x4c233b(0x16d,0x254)+':\x20';const _0x4e1d05=_0x3442e2;function _0x31fa1e(_0x8a388f,_0x60777c){return _0x2e56fd(_0x60777c,_0x8a388f- -0x468);}function _0x4c233b(_0x543eca,_0x3419ae){return _0x2e56fd(_0x3419ae,_0x543eca- -0x1d4);}rl[_0x4c233b(0x424,0x2df)+_0x4c233b(0x13b,-0x76)](_0x4e1d05[_0x4c233b(0xe7,0x8d)],_0x25f558);});rl['close'](),answer['trim']()[_0x1f2e7f(0x19e,0x2e2)+_0x1f2e7f(0xf7,0x9a)+'e']()!=='reset'&&(console[_0x1f2e7f(-0x64,0x7e)](_0x1f2e7f(-0x12b,-0x30b)+_0x2e56fd(0x616,0x5e1)+_0x1f2e7f(0xf2,0x143)+_0x2e56fd(0x44f,0x5d3)+_0x1f2e7f(0x36,0x1ff)+'\x20remo'+_0x2e56fd(0x7c6,0x604)),process[_0x2e56fd(0x463,0x5f7)](0x243*0x7+0x948+-0x191d)),console[_0x1f2e7f(-0x64,0x86)]('');}const dataResets=[_0x2e56fd(0x496,0x5bc)+'ges-s'+_0x1f2e7f(-0x13f,-0x1f)+'son',_0x2e56fd(0x8b,0x26d)+_0x1f2e7f(0x114,0x254)+_0x2e56fd(0x554,0x605),_0x2e56fd(0x3ed,0x53a)+_0x1f2e7f(0xb1,-0x9d),_0x2e56fd(0x56d,0x59b)+_0x2e56fd(0x422,0x48c)+'versa'+_0x2e56fd(0x42a,0x335),_0x2e56fd(0x505,0x518)+'ds',_0x1f2e7f(-0x1ae,-0x75),_0x2e56fd(0x422,0x293)+'ated'],rootResets=[_0x2e56fd(0x647,0x5bc)+'ges-s'+'ync.j'+_0x2e56fd(0x53d,0x605),'activ'+_0x1f2e7f(0x114,0x1ba)+_0x1f2e7f(0x1d9,0x31f),_0x1f2e7f(0x10e,-0x3f)+_0x2e56fd(0x3b4,0x4dd),_0x1f2e7f(0x16f,0x94)+_0x2e56fd(0x444,0x48c)+_0x2e56fd(0x577,0x3a4)+_0x1f2e7f(-0xf7,-0x2b1),'uploa'+'ds','publi'+_0x1f2e7f(-0x141,0x75)+'io',_0x2e56fd(0x6b5,0x5be)+_0x1f2e7f(0x68,-0x4c)+_0x2e56fd(0x3fd,0x3ea)+_0x1f2e7f(-0x58,0x7a),'push-'+_0x2e56fd(0x3ce,0x3c9)+'ripti'+_0x2e56fd(0x4ed,0x43d)+_0x2e56fd(0x441,0x605),_0x1f2e7f(-0x1da,-0x2a8)+_0x1f2e7f(-0x108,0x38),_0x1f2e7f(-0x140,-0x17f)+_0x2e56fd(0x166,0x340)+_0x1f2e7f(0xd0,-0x51)+_0x2e56fd(0x2ff,0x3c8),'.upli'+_0x1f2e7f(0x184,0x42)+_0x2e56fd(0x318,0x25b)+'g.log'];let cleared=-0x1635+0xe*0x1b6+-0x95*0x3;for(const item of dataResets){const fullPath=join(DATA_DIR,item);if(existsSync(fullPath))try{const _0x13769c={};_0x13769c['recur'+'sive']=!![],_0x13769c['force']=!![],rmSync(fullPath,_0x13769c),cleared++,console[_0x2e56fd(0x2cf,0x3c8)](_0x1f2e7f(-0x1a9,-0x127)+_0x1f2e7f(-0x13c,0x4e)+'d\x20DAT'+_0x2e56fd(0x2ea,0x3d3)+'/'+item);}catch(_0x408a83){console[_0x2e56fd(0x48f,0x580)]('\x20\x20✗\x20F'+_0x2e56fd(0x572,0x387)+_0x2e56fd(0x5c8,0x5ed)+_0x2e56fd(0x257,0x2f0)+'\x20DATA'+_0x1f2e7f(0xa4,-0xb7)+item+':\x20'+_0x408a83['messa'+'ge']);}}for(const item of rootResets){const fullPath=join(ROOT,item);if(existsSync(fullPath))try{const _0x232281={};_0x232281[_0x1f2e7f(-0x8c,-0x10)+'sive']=!![],_0x232281['force']=!![],rmSync(fullPath,_0x232281),cleared++,console['log'](_0x2e56fd(0x368,0x283)+_0x2e56fd(0x417,0x2f0)+'d\x20'+item);}catch(_0x7d2032){console[_0x2e56fd(0x701,0x580)]('\x20\x20✗\x20F'+'ailed'+'\x20to\x20r'+'emove'+'\x20'+item+':\x20'+_0x7d2032[_0x1f2e7f(0x190,0xda)+'ge']);}}cleared===-0xcde*-0x3+-0x4*0x94d+-0x166?console[_0x1f2e7f(-0x64,-0x1c)](_0x1f2e7f(-0x9b,-0x214)+_0x2e56fd(0x5d9,0x585)+_0x2e56fd(0x38c,0x398)+_0x2e56fd(0x4e0,0x464)+_0x1f2e7f(-0x17a,-0x2b2)+_0x1f2e7f(-0x19a,-0x119)+'lean.'):console[_0x1f2e7f(-0x64,0xa9)](_0x1f2e7f(-0xf4,0x74)+'Clear'+'ed\x20'+cleared+_0x1f2e7f(-0x1c,0x186)+(cleared>-0x19a3+-0xdeb*0x1+-0x30b*-0xd?'s':'')+('.\x20Fre'+_0x2e56fd(0x460,0x5ee)+_0x2e56fd(0x426,0x5c7))),console['log'](''),process[_0x1f2e7f(0x1cb,-0xf)](0x4*0x952+0xd84+-0x32cc);}if(command===_0x1f2e7f(-0x1a0,-0x292)){const require=createRequire(import.meta.url),pkg=require(join(ROOT,_0x1f2e7f(0x35,0xfe)+_0x1f2e7f(-0x16a,-0x23)+'on')),ENV_FILE=existsSync(join(DATA_DIR,_0x2e56fd(0x353,0x532)))?join(DATA_DIR,'.env'):join(ROOT,_0x1f2e7f(0x106,0x19b));let envPort='3456',envHost=_0x1f2e7f(0x74,0x178)+'.0',envGatewayUrl=_0x2e56fd(0x378,0x2a8)+_0x1f2e7f(-0x1f2,-0x237)+_0x2e56fd(0x170,0x28e)+_0x1f2e7f(0x156,0x44)+'89',envGatewayToken='';if(existsSync(ENV_FILE))try{const content=readFileSync(ENV_FILE,_0x1f2e7f(-0xa2,-0x164));for(const line of content[_0x1f2e7f(-0x1ff,-0x9a)]('\x0a')){const t=line[_0x1f2e7f(0x28,0x203)]();if(!t||t[_0x2e56fd(0x286,0x3fa)+_0x2e56fd(0x72a,0x57f)]('#'))continue;const eqIdx=t['index'+'Of']('=');if(eqIdx===-(0x131*-0x12+0x2*0x4f2+0xb8f))continue;const k=t['slice'](-0x1743+0x18a*-0x15+0x1287*0x3,eqIdx)['trim'](),v=t[_0x2e56fd(0x530,0x60d)](eqIdx+(0x1c73+0x2156+-0x3dc8))[_0x1f2e7f(0x28,-0xc5)]();if(k===_0x1f2e7f(-0x1ed,-0x19f))envPort=v||_0x1f2e7f(-0x14f,0x7a);if(k===_0x1f2e7f(-0x1cf,-0x1b3)+'K_HOS'+'T'||k===_0x1f2e7f(-0x10d,0x4c))envHost=v||_0x2e56fd(0x4bd,0x4a0)+'.0';if(k===_0x1f2e7f(0x11d,0xbc)+_0x1f2e7f(-0x1b8,-0x17b)+'L')envGatewayUrl=v;if(k===_0x1f2e7f(0x11d,0x145)+_0x1f2e7f(-0x6c,0x34)+_0x2e56fd(0x4a7,0x5fd))envGatewayToken=v;}}catch{}const watchdogPid=getWatchdogPid(),serverPid=getPid(),isServerRunning=!!(watchdogPid||serverPid),serverStatus=isServerRunning?'\x1b[32m'+'runni'+'ng\x1b[0'+_0x1f2e7f(0xaf,0xc8)+'D\x20'+(watchdogPid||serverPid)+')':'\x1b[31m'+_0x2e56fd(0x4b3,0x4a3)+'ed\x1b[0'+'m',gwReachable=await new Promise(_0x53e069=>{function _0x470e9e(_0x3ae540,_0x4192ae){return _0x1f2e7f(_0x4192ae-0x632,_0x3ae540);}function _0xc54f46(_0x5d9fe3,_0x371b81){return _0x1f2e7f(_0x5d9fe3-0x326,_0x371b81);}const _0x38f552={'wWBXV':_0x470e9e(0x527,0x55a),'xkNdC':_0x470e9e(0x975,0x7b3),'EZpPE':function(_0x261edc,_0x3297ba){return _0x261edc(_0x3297ba);},'mQLoy':function(_0x47df19,_0x2ce196,_0x2d51d9){return _0x47df19(_0x2ce196,_0x2d51d9);},'nRAHu':function(_0x1f15ad,_0x566aa7){return _0x1f15ad===_0x566aa7;},'Qoztr':'gVWdf','tMzFg':_0x470e9e(0x638,0x660),'WTSAc':_0x470e9e(0x661,0x59c)+_0x470e9e(0x5a9,0x627)+_0x470e9e(0x5e2,0x7c9)+_0x470e9e(0x5e4,0x61b)+'on\x0a','rtiLb':_0xc54f46(0x21b,0xcd),'lnott':_0xc54f46(0x26b,0x250),'aWphe':_0xc54f46(0x47a,0x62f),'LgviJ':_0xc54f46(0x36c,0x288)+'ut','gkbLL':function(_0x397864,_0x53a8ac){return _0x397864!==_0x53a8ac;},'hDkZz':_0xc54f46(0x36e,0x3f0)};try{if(_0x38f552[_0xc54f46(0x131,0x1)](_0xc54f46(0x43f,0x549),_0x38f552[_0xc54f46(0x3da,0x3b3)]))_0x20f4ba[_0x470e9e(0x450,0x4a6)+_0xc54f46(0x147,0x324)]=!![];else{const _0x42b05a=new URL(envGatewayUrl),_0x4a928c={};_0x4a928c[_0x470e9e(0x607,0x4ec)+_0xc54f46(0x1b3,0x175)]=_0x42b05a[_0xc54f46(0x1e0,0x248)+'ame'],_0x4a928c[_0x470e9e(0x667,0x689)]=_0x42b05a[_0x470e9e(0x562,0x689)]||0x93b*0x2+0x1e85+0x1039*-0x3,_0x4a928c[_0x470e9e(0x7ed,0x7a3)]='/',_0x4a928c[_0x470e9e(0x8af,0x6eb)+'d']=_0x38f552['lnott'],_0x4a928c[_0x470e9e(0x779,0x678)+'ut']=0xbb8;const _0x164f4e=_0x147acc['reque'+'st'](_0x4a928c,_0x4a9974=>{function _0x3befa6(_0x3d43c5,_0x283665){return _0xc54f46(_0x283665-0x217,_0x3d43c5);}function _0x1e5d4b(_0x5c3b01,_0x53d63a){return _0xc54f46(_0x5c3b01-0x1f7,_0x53d63a);}const _0x510ce3={};_0x510ce3['ExVLp']=_0x1e5d4b(0x605,0x60f)+_0x3befa6(0x6f6,0x52b)+_0x1e5d4b(0x3d5,0x4b3)+_0x1e5d4b(0x4d9,0x4f1)+_0x3befa6(0x77b,0x6c3);const _0x49b4d3=_0x510ce3;_0x38f552[_0x3befa6(0x53b,0x46b)]===_0x38f552[_0x3befa6(0x1d6,0x383)]?(_0x4b516a[_0x1e5d4b(0x4b9,0x62a)](RPBNQB[_0x3befa6(0x577,0x5f5)]),_0x470826['exit'](0x1*-0x9e6+0x4*0x72e+0x92*-0x21)):(_0x4a9974[_0x3befa6(0x482,0x5eb)+'e'](),_0x38f552[_0x3befa6(0x5d0,0x607)](_0x53e069,!![]));});_0x164f4e['on'](_0x38f552[_0xc54f46(0x425,0x288)],()=>_0x53e069(![])),_0x164f4e['on'](_0x38f552[_0xc54f46(0x181,0x229)],()=>{const _0x4d5796={'MAjvq':function(_0xa82158,_0x104bd2,_0x230d7d){return _0x38f552['mQLoy'](_0xa82158,_0x104bd2,_0x230d7d);}};function _0x544f8d(_0x15b6ab,_0x5be15c){return _0x470e9e(_0x5be15c,_0x15b6ab- -0x532);}function _0x57594a(_0x217583,_0x3d6d39){return _0x470e9e(_0x3d6d39,_0x217583- -0x6a6);}if(_0x38f552['nRAHu'](_0x38f552[_0x57594a(-0x218,-0x146)],_0x38f552['tMzFg']))try{const _0x5cdb1a={};_0x5cdb1a[_0x57594a(-0x100,-0x22a)+_0x544f8d(0x1c9,0x2c3)]=!![],_0x5cdb1a[_0x57594a(-0x161,-0xe5)]=!![],tdkVIV[_0x544f8d(0x26a,0x7f)](_0x6e4a61,_0xa44801,_0x5cdb1a),_0x46f724++,_0x1372f0[_0x57594a(-0xd8,-0x252)](_0x544f8d(-0xa9,0x102)+_0x544f8d(-0x3c,0xda)+'d\x20'+_0x3f3db1);}catch(_0xce664c){_0x28eca4['error']('\x20\x20✗\x20F'+_0x544f8d(0x5b,0x12d)+_0x57594a(0x14d,0xe7)+_0x544f8d(-0x3c,0x38)+'\x20'+_0x398434+':\x20'+_0xce664c['messa'+'ge']);}else _0x164f4e[_0x544f8d(0x73,0x17c)+'oy'](),_0x38f552[_0x57594a(0x56,0x9)](_0x53e069,![]);}),_0x164f4e[_0x470e9e(0x86a,0x6c3)]();}}catch{_0x38f552['gkbLL']('kDRGo',_0x38f552['hDkZz'])?_0x53e069(![]):(BBSpzG[_0xc54f46(0x33f,0x324)](_0x5ee4a5,_0x3c8463,BBSpzG[_0x470e9e(0x404,0x4de)]),_0x14717e[_0x470e9e(0x5ad,0x5ce)](_0x470e9e(0x4d0,0x56c)+'ated\x20'+'empty'+_0x470e9e(0x5b7,0x656)+'\x20file'));}}),gwStatus=gwReachable?envGatewayUrl+(_0x1f2e7f(0x11b,0x236)+_0x1f2e7f(0x10a,0x2d2)+_0x2e56fd(0x232,0x3ec)+_0x1f2e7f(0x7c,0xab)+'m'):envGatewayUrl+(_0x1f2e7f(-0xa9,0x1f)+_0x2e56fd(0x400,0x5ac)+_0x2e56fd(0x37a,0x4b8)+_0x1f2e7f(0x166,0xb5)+_0x1f2e7f(-0x115,0x34)),LOG_FILE=join(ROOT,'serve'+_0x2e56fd(0x380,0x324)),ALT_LOG_FILE=join(ROOT,_0x2e56fd(0x3f5,0x2ec)+_0x2e56fd(0x19f,0x340)+_0x2e56fd(0x600,0x4fc)+_0x2e56fd(0x51d,0x3c8)),logFile=existsSync(LOG_FILE)?LOG_FILE:existsSync(ALT_LOG_FILE)?ALT_LOG_FILE:_0x1f2e7f(-0x196,-0x2fc)+')',premiumFile=join(ROOT,_0x2e56fd(0x296,0x252)+'r',_0x1f2e7f(0x1b1,0x23a)+'um');let premiumStatus='not\x20d'+_0x2e56fd(0x162,0x260)+'ed';existsSync(premiumFile)&&(premiumStatus=_0x1f2e7f(-0xf2,-0x12f)+_0x2e56fd(0x495,0x521));const configFile=join(ROOT,_0x2e56fd(0x10e,0x2d4)+'g.jso'+'n');if(existsSync(configFile))try{const cfg=JSON[_0x1f2e7f(-0x190,-0xd)](readFileSync(configFile,_0x1f2e7f(-0xa2,0xee)));if(cfg[_0x2e56fd(0x4e7,0x5dd)+'um']||cfg[_0x1f2e7f(0x1b1,0x270)+_0x1f2e7f(0x1ca,-0x1)])premiumStatus=_0x2e56fd(0x1a0,0x26d)+'e';}catch{}console[_0x1f2e7f(-0x64,0x182)]('\x0a\x20\x20⬡\x20'+_0x1f2e7f(0x19f,0x65)+_0x1f2e7f(0x1cd,0x17a)+_0x1f2e7f(-0xa1,-0x21e)+_0x2e56fd(0x63b,0x44e)+_0x1f2e7f(0x26,0x154)+'\x20\x20\x20\x20v'+pkg['versi'+'on']+(_0x2e56fd(0x28c,0x477)+'de.js'+_0x1f2e7f(-0x169,-0xac)+_0x2e56fd(0x478,0x500))+process[_0x2e56fd(0x22c,0x384)+_0x1f2e7f(0x14a,0x6)][_0x2e56fd(0x41c,0x3e5)]+(_0x2e56fd(0x461,0x54f)+_0x1f2e7f(0x1dd,0xf8)+'\x20\x20\x20\x20\x20'+'\x20\x20')+envPort+(_0x2e56fd(0x321,0x3d1)+'st:\x20\x20'+'\x20\x20\x20\x20\x20'+'\x20\x20')+envHost+(_0x1f2e7f(0x1c7,0x282)+_0x1f2e7f(-0x4c,-0x22d)+_0x1f2e7f(0x95,0x15d)+'\x20\x20')+serverStatus+(_0x1f2e7f(-0xf8,-0x204)+'teway'+':\x20\x20\x20\x20'+'\x20\x20')+gwStatus+(_0x1f2e7f(-0x16b,-0x332)+_0x1f2e7f(0x105,0x9c)+_0x2e56fd(0x3e6,0x31c)+'\x20\x20')+DATA_DIR+(_0x1f2e7f(0x1be,0x36b)+_0x1f2e7f(-0x1f8,-0x39f)+_0x2e56fd(0x349,0x51a)+'\x20\x20')+logFile+(_0x1f2e7f(-0x76,-0xc0)+_0x2e56fd(0x200,0x298)+_0x1f2e7f(-0x169,-0x186)+'\x20\x20')+premiumStatus+('\x0a\x20\x20In'+_0x2e56fd(0x230,0x29b)+_0x2e56fd(0x3e7,0x30d)+'\x20\x20')+ROOT+_0x1f2e7f(-0x26,-0x11a)),process[_0x2e56fd(0x46b,0x5f7)](-0x9ea+-0x14de+0x1ec8*0x1);}const ALL_COMMANDS=[_0x2e56fd(0x756,0x59a),_0x1f2e7f(-0x1ec,-0x2b3)+'s',_0x2e56fd(0x4ff,0x41b)+'e','unins'+'tall','logs',_0x2e56fd(0x30d,0x2d4)+'g','docto'+'r',_0x2e56fd(0x519,0x5a9),'info'];function _0x2361(){const _0x3790e4=['packa','g\x20was','#\x20Cle','ear\x20—','l\x20upl','tion\x20','inclu',':\x20v','PID\x20','p\x20Upl','\x20less','_KEY','eInte','warn','\x20\x20Log','setup','\x20--fo','timeo','nd\x20wa','ufdBK','\x20read','\x20\x20⚠️\x20\x20','\x0a\x20\x20No','raqvy','y)\x1b[0','liyNv','\x20\x20\x20\x20-','tion\x0a','AESiv','erver','it\x20\x20\x20','\x20sets','UQZVD','space','port','test\x20','ted\x20t','ve\x20al','elf\x0a','\x20in\x20e','\x20logs','inher','e\x20ser','d-con','link.','ar\x20da','ly\x20wi','es\x20ex','v,\x20co','p\x20it\x20','push-','d-mes','dog.j','ninst','Jfzkj','op\x20a\x20','VuaSk','FPPGH','\x20for\x20','\x20via\x20','readl','Agbia','npm\x20p','0.0.0','-path','ll\x20\x20\x20','stopp','\x20\x20Bac','IIfZw','not\x20f','\x0a⬡\x20Up','d)\x1b[0','npx\x20u','evenL','e\x0a\x20\x20\x20','ocess','floor',')\x0a\x20\x20\x20','at\x20re','us\x20\x20\x20','\x20H\x20\x20\x20','\x20—\x20ru','\x20conf','es...','\x20PID:','1993eMomyM','ImDcz','eacha','k\x20—\x20L','top','deter','unins','end','idZoI','ID\x20','\x20\x20✓\x20S','\x20\x20\x20\x20\x20','NTIAL','at\x0a','\x20\x20→\x20h','s\x20fro','\x20/t\x201','⬡\x20.en','edit','on\x20(v','ge.','eset)','n\x20npm','IANdi','f\x20Upl','\x20Star','_DIR/','atchd','s\x20and','\x20\x20Try','rrent','jCmxc','fyxpB','c/img','o\x20sto','QApeO','resum','m\x20(PI','ver\x20a','data','ssage','your_','rtiLb','CsSvy','d.\x20St','port\x20','ExVLp','metho','\x20--no','EADDR','FIiUT','⬡\x20Aut','\x20\x20\x20up','l\x20Upl','OpenA','et\x0a','\x20cach','openS','-watc','00\x20#\x20','pm\x20up','MUidf','kyuMm','sive','EZpPE','in\x20us','20288830SoSkDy','ch,\x20-','\x20Miss','file','rver.','\x20Stop','argv','ig\x20--','\x20\x20v','ce\x20/v','t\x20on\x20','-host','ed,\x20','t\x20sta','..\x0a','ime:\x20','cking','ogs\x20i','OPqdt','1294692RPdxxp','able','it\x20.e','mples','\x20new\x20','nk.pi','t\x20N\x20\x20','\x20→\x20v','\x20on\x20(','⬡\x20Upl','AI\x20Ch','\x20Upli','strin','uploa','k\x20ser','e:\x20\x20\x20','e\x20by\x20','\x20\x20\x20\x20O','l\x20NOT','ed.\x20N','--for','push','lled','\x20clea','erCas','kill','filte','Roami','!\x1b[0m','v\x20fil','firma','\x20\x20Use','aWphe','rt\x20on','XIebF','readS','logs','homed','ta\x20di','.env','\x200.0.','les','ult:\x20','m(con','(serv','SkuNJ','red','sync-','100\x20l','\x20The\x20','\x20comp','hkNib','\x20\x20Set','ity.j','AmmNQ','ay\x20re','ver\x20(','linux','HAlpM','FXUCL','\x20\x1b[32','nZwFX','GATEW','mine\x20','qHHKk','ing\x20m','\x20\x20\x20\x20#','iZSWD','\x0a\x20\x20Po','\x20with','ound\x20','\x20watc','elp\x0a\x0a','unref','lengt','+C\x20to','ig\x20\x20\x20','\x20npm\x20','hat\x20[','date\x20','DxZPg','toppe','at\x20st','\x20diag','tor:\x20','\x20prom','(empt','PASSW','\x20\x20Ser','KEY','KMRap','\x20#\x20Ed','t\x20v','K_HOS','ar:','\x20(con','ete.','\x20port','hat\x20c','ector','v\x20var','found','achab','FZIPZ','\x20>=\x201','\x20hist','CuUSd','ons','tion','v:\x20','gured','opped','s...\x20','MFkdn','OR\x20en','et\x20Fr','sWith','error','⬡\x20Cur','1:187','#\x20Run','_API_','hing\x20','2>&1','atest','rt\x20th','s\x20wil','setsi','\x20Numb','nks\x20f','ts\x20(r','t\x20\x20\x20\x20','ctor\x20','g.log','resta','ble)\x1b','--edi','xampl','rt\x0a\x20\x20','MAjvq','FlPhd','estar','e\x20\x22re','stop','share','input','path','or\x0a\x20\x20','\x20file','s\x20are','Show\x20','UUoSR','ntrie','ocal\x20','SIGIN','Stop\x20','\x20info','ll\x20','reset','env','n\x20can','m(unr','TvKvO','r.js','✓\x1b[0m','nk-wa','could','ing.','searc','des','\x20\x20Run','reak\x20','\x20Fail','help','ning','ly:\x20n','stdou','messa','\x20loca','misse','e...','nk-ch','Tail\x20','/agen','onfig','ARXHa','rash.','VXwHx','art!','\x0a\x20\x20⚠️\x20','link\x20','toLow','Uplin','y\x20uni','0.0)\x0a','anoth','ver\x20l','no\x20Op','detai','.env.','othin','qVjrl','cwd','VSZzh','ions\x20','nhmga','publi','Port\x20','tarti','backo','premi','\x20\x20\x20\x20S','fail','npm\x20u','ncell','pIkgm','ng\x20(',')+)+)','ncomp','ync','\x0a\x20\x20\x20\x20','y/upl','--hel','\x0a\x20\x20Lo','⬡\x20Res','nes\x201','\x20to\x20r','sh\x20st','PI\x20ke','\x20audi','aMOQU','o\x20ope','\x0a\x20\x20Se','tall','ay\x20be','umKey','exit','quest','k\x20Inf','l\x20cle','ID=\x27','dog','KEN','ey\x20—\x20','\x20fail','xmUJS','o\x20rea','cache','--pat','ved.\x0a','son','runs.','--hos','UTxEf','rt:\x20\x20','ooISO','\x20--li','_here','slice','(watc','hdog\x20','de.js','er\x20ru','bQWZL','split','--por','execP','es\x20N\x20','og\x20li','ata\x0a\x20','watch','g\x20fil','o\x20fil','--lin','nRAHu','ine','xEKlM','//127','detac','CoMgF','CjmYr','igura','PORT','statu','\x20data','⬡\x20Upd','alue','all\x20-','er\x20pr','how\x20t',':\x27\x22\x20g','VUyyt','\x20\x20\x20re','\x20on\x20t','syHwm','GlpfA','chdog','\x20\x20\x20Ta','456)\x0a','\x20/nob','liste','serve','at\x20do','d\x20.en','\x0a⬡\x20Wa','ault:','quire','mQSMc','ile)','on:\x20v','tchdo','\x20the\x20','UPLIN','pen\x20c','write','etect','optio','lines','not\x20b','ation','anual','ble','ELoLk','ffMs','nosti','\x20inst','rface','he\x20la','activ','\x20\x20\x20Sh','\x20-g\x20@','d\x20DAT','\x20unin','xkNdC','rt\x20--','AY_UR','ed\x20to','e:\x0a\x20\x20','m\x20pac','avail','s\x20que','his\x20h','how\x20(','ions:','set\x22\x20','audio','VafIF','size','\x0a⬡\x20Re','disk\x20','\x20\x20✓\x20R','UbRXj','uwRnS','ly:\x20','LgviJ','Qoztr','o-res','\x20MB\x20f','18\x20re','info','e\x20glo','.0.0.','\x20(>=\x20','\x20--ed','IDPGy','ady\x20c','.migr','ion\x0a\x20','TTS\x20m','(none','art\x20t','emium','label','—\x20run','stall','parse','ies','Print','hat','noWat','CtPda','ally:','(((.+','KkweW','\x20curr','ail\x20-','\x20log\x20','http:','uto-r','ree','he\x20se','\x20\x20\x20Ch','round','etup\x20','INUSE','g\x20for','docto','\x20alre','✗\x1b[0m','...','-g\x20@m','\x22\x20|\x20t','win32','l\x20tim','ame','\x20to\x20l','xLJWW','token','\x20\x20⬡\x20','TXYMP','⬡\x20Che','denci','\x0a\x20\x20Da','ge.js',':\x20\x20\x20\x20','vONfu','ng\x20wi','ent\x20s','ate\x20o','qjrKd','PsWDA','nning','MsSMy','DklgF','ink\x20w','meout','eeSpa','d\x20(PI','⬡\x20Sto','aFIjd','ompan','confi','examp','\x20Diag','aubVK','WTSAc','fault','emovi','actio','last\x20','3456','\x20Usag','toStr','\x20\x20Thi','uiCay','outpu','stdio','s\x20not','\x20(PID','hostn','\x20\x20Typ','UGzAo','th\x20wa','\x20\x20\x20St','c/aud','.upli','ync.j','led\x20t','hed','emove','host','.exam','ata\x0a\x0a','whWNx','51964TzUvom','media','GsBmo','MaokQ','nd\x20(d','TOKEN','ncnoY','\x20remo','set\x20-','\x20pass',':\x0a\x20\x20\x20','rent\x20','\x0a\x20\x20Ca','or\x20us','and\x20a','firm:','PozIR','tart\x20','\x20stat','on\x0a','at\x0a\x0a\x20','k\x20Res','Depen','fore\x20','ed:\x20\x20','close','ion','enNXw','the\x20e','gzhzD','and\x20c','ning\x0a','\x20chat','faile','[0m','eServ','s\x20run','d\x20in\x20','lhost','r:\x20\x20\x20','ttp:/','\x20EDIT','HOST','some','JijqB','k\x20Uni','1221972cunwQu','r.log','ZeNbo','const','giniZ','og\x20st','index','335LUTpFt','lvtrd','#\x20Sta','MVyMw','-chat','Gatew','yaFMU','out\x20a','dated','CWOov','\x0a\x20\x20Ga','tions','GzLnN','UHNSK','\x0a\x20\x20⬡\x20','5596047OABMnt','insta','ath','\x20\x20Tha','aemon','Sync','force','nk-se','nfirm','⬡\x20Fai','-v\x20\x20\x20','PwkGw','he\x20Up','letel','ng\x20np','node_','/loca','g\x20@mo','ackag','d\x20dat','\x20\x20Sta','lt:\x203','Value','ignor','abZkF','774AADvSb','wing\x20','ufCid','one.\x0a','ists','nd\x20lo','logic','uplin','wWBXV','ory\x20a','ELEVE','file\x20','led.','SIGTE','4043176nwFmko','fxioh','d\x20wat','CnsDN','n\x20edi','QsTKT','⬡\x20Cre','KLLWz','exist','hat\x20s','log\x20f','OdtIa','padEn','ver\x20P','g.pid','ay\x20to','g.jso','GET','evice','gify','for\x20r','ree\x20—','pPGZd','ns]\x0a\x0a','ELaXA','koff:','mode)','ning\x20','able\x20','requi','\x20(def','ted\x20w','nfo\x20\x20','edAt','\x20enab','\x20\x1b[31','versi','FuHBn','moonc','ailed','ile\x20f','/upli','utf8','o\x0a\x0a\x20\x20','\x20Uplo','...\x0a','\x20\x20Cre','ken','KJJmD','\x20\x20Not','platf','\x20\x20\x20#\x20','tall\x20','Host\x20','#\x20Upl','\x1b[32m','to\x20cl','d\x20\x20\x20\x20','et\x20in','KGBvB','rPid','all','js\x20ve','destr','recur','plink','aNRzN','\x20Port','versa','Node.','t\x20wat','Clear','UWqBF','s/dir',',\x20PID','\x20\x20upl','bally','ow\x20cu','\x20\x20\x20\x20','\x20manu','\x20Unin','bbBWL','-deta','art','.0.1','USDHt','\x0a\x20\x20Pr','commo','zTbhC','files','gpJra','k-cha','otzsW','stdin','--no-','fstat','AY_TO','\x20warn','free\x20','7ttIkdX','reada','th:\x20u','NLABS','RgFSt','log','subsc','\x20line','TTS\x20A','k\x20whe','Disk\x20','tor\x20—','not\x20s','.\x20👋\x0a','\x0a\x20\x20Ho','JXCaP','A_DIR','.json','join','--ver','modul','any/u','****','le\x20pa','ng\x20Up','pdate','Updat','mode','\x201\x202>','rver:','\x0a\x20\x20Pa','nv\x20in','ached','gKjWA','node','once','nes\x0a\x20','\x20runn','\x20\x20Sto','sages','SFdpK','necte','l\x20—\x20v','iVihb','l\x20log','s\x20alr','creat','e:\x20cp','ated\x20','\x20\x20\x20np','INdAv','df\x20-k','sekCR','⬡\x20Sho','enAI\x20','start','aldis','defau','Ervrz','\x20\x20⬡\x20A','LsWOH','o\x20Edg','ziHsr','es\x20mi','ver\x20f','nstal','fSqrH','\x0a\x20\x20','r\x20(de','pany/','d\x20log','or\x20El','th:\x20','mruGX','null\x20','ed\x20me','Run\x20i','\x20item','pass','.\x20Run','abs\x20k','\x20\x20Wat','urati','yOixE','\x20\x20\x20\x20•','\x20sync','GvmLb','ink\x20i','updat','\x20\x20\x20\x20i','ssing','\x20on\x20c','\x20not\x20','\x20Remo','ink\x20C','ve\x20ag','r\x0a\x20\x20\x20','fEDCi','\x20\x20Exa','\x20\x20npx','ink-c','nano','KZjJA','es\x20in','zWCll','orm','\x20stop','n\x20bac','ssed','IrLFl','\x20\x20Or\x20','QLRme','\x0a⬡\x20Al','oonco','Eleve','first','ound.','AppDa','max','\x20\x20Com','g\x20(au','thout','ons.j','ORD','x\x20upl','\x20@moo','(PID\x20','lrJML','ink\x20d','the\x20s','mQLoy','ID:\x20\x20','runni','qNUui','aded\x20','ing','.env\x20','pid','empty','Versi','rce,\x20','\x20.env','⬡\x20No\x20','on:\x20\x20','alloc','trim','oads\x20','ink\x20s','dit\x20m','127.0','\x20upli','sksSh','ready','eady\x20','bspfa',':\x20upl','ripti','ges-s'];_0x2361=function(){return _0x3790e4;};return _0x2361();}if(command===_0x2e56fd(0x436,0x3fa)||!ALL_COMMANDS[_0x1f2e7f(0x3b,0x16c)+_0x1f2e7f(0x188,0xd0)](command)){const existingWatchdog=getWatchdogPid(),existingPid=getPid();if(existingWatchdog||existingPid){const pid=existingWatchdog||existingPid,mode=existingWatchdog?_0x1f2e7f(-0x1f9,-0x1a6)+_0x2e56fd(0x5ec,0x5fc):'direc'+'t';console[_0x2e56fd(0x253,0x3c8)](_0x1f2e7f(0xe8,-0x97)+_0x1f2e7f(-0x12,0x15f)+_0x2e56fd(0x230,0x3f0)+_0x2e56fd(0x5bc,0x45c)+_0x1f2e7f(0x1b,0xc3)+_0x2e56fd(0x4d0,0x5e3)+mode+(_0x2e56fd(0x2f2,0x3aa)+'\x20')+pid+').'),console['log'](_0x2e56fd(0x417,0x3e9)+_0x1f2e7f(0x66,0xd2)+_0x2e56fd(0x4a9,0x436)+_0x1f2e7f(0x32,0x81)+_0x1f2e7f(-0x5,-0x199)+_0x2e56fd(0x2d7,0x369)+_0x2e56fd(0x4aa,0x4ba)),process['exit'](-0x28c*0x1+0xc4f+-0x2*0x4e1);}const env={...process.env};if(flags[_0x1f2e7f(0x57,0x178)])env[_0x2e56fd(0x2eb,0x23f)]=String(flags['port']);if(flags[_0x2e56fd(0x1d0,0x2f1)])env[_0x1f2e7f(-0x1cf,-0x2e3)+_0x2e56fd(0x58a,0x568)+'T']=flags[_0x1f2e7f(-0x13b,0x5d)];const serverPath=join(ROOT,_0x1f2e7f(-0x1da,-0x26f)+_0x2e56fd(0x638,0x5ae));if(flags[_0x2e56fd(0x34f,0x23b)+'h']){const watchdogPath=join(ROOT,_0x2e56fd(0x33f,0x252)+'r',_0x1f2e7f(-0x1f9,-0x21)+_0x2e56fd(0x50e,0x495)+'s'),extraEnv={};if(flags[_0x2e56fd(0x429,0x483)])extraEnv[_0x1f2e7f(-0x1ed,-0xbb)]=String(flags[_0x1f2e7f(0x57,0xed)]);if(flags[_0x1f2e7f(-0x13b,-0x1db)])extraEnv[_0x1f2e7f(-0x1cf,-0x146)+_0x1f2e7f(0x13c,0x10b)+'T']=flags[_0x2e56fd(0x4bd,0x2f1)];const isLinux=process[_0x1f2e7f(-0x9a,-0x228)+_0x1f2e7f(0x0,-0x5e)]===_0x2e56fd(0x477,0x544);let child;if(isLinux)try{const _0x225c15={};_0x225c15[_0x1f2e7f(-0x149,-0x11e)]='ignor'+'e',execSync('which'+_0x1f2e7f(0x54,0x50)+'id',_0x225c15);const _0x4366b8={};_0x4366b8[_0x2e56fd(0x524,0x5d5)]=ROOT,_0x4366b8[_0x2e56fd(0x747,0x5aa)]=env,_0x4366b8[_0x1f2e7f(-0x1f1,-0x234)+_0x2e56fd(0x412,0x2ef)]=!![],_0x4366b8['stdio']=_0x2e56fd(0x380,0x350)+'e',child=spawn(_0x2e56fd(0x568,0x58a)+'d',[_0x1f2e7f(0xf3,0x108)+'k',process[_0x2e56fd(0x121,0x22f)+_0x2e56fd(0x356,0x33b)],watchdogPath,JSON['strin'+_0x2e56fd(0x55f,0x373)](extraEnv)],_0x4366b8);}catch{const _0x44d652={};_0x44d652[_0x2e56fd(0x486,0x5d5)]=ROOT,_0x44d652[_0x2e56fd(0x6d7,0x5aa)]=env,_0x44d652[_0x2e56fd(0x316,0x23b)+_0x1f2e7f(-0x13d,0x66)]=!![],_0x44d652[_0x2e56fd(0x3eb,0x2e3)]=_0x1f2e7f(-0xdc,-0xdd)+'e',child=spawn(process[_0x2e56fd(0x9a,0x22f)+_0x1f2e7f(-0xf1,-0x1aa)],[watchdogPath,JSON[_0x1f2e7f(0xeb,0x290)+_0x2e56fd(0x559,0x373)](extraEnv)],_0x44d652);}else{const _0x92d37a={};_0x92d37a['cwd']=ROOT,_0x92d37a[_0x2e56fd(0x5af,0x5aa)]=env,_0x92d37a['detac'+_0x2e56fd(0x39a,0x2ef)]=!![],_0x92d37a['stdio']=_0x1f2e7f(-0xdc,-0x26d)+'e',child=spawn(process[_0x2e56fd(0x27c,0x22f)+_0x1f2e7f(-0xf1,-0x23b)],[watchdogPath,JSON[_0x1f2e7f(0xeb,0xe1)+_0x2e56fd(0x403,0x373)](extraEnv)],_0x92d37a);}child[_0x1f2e7f(0x128,0x48)]();const port=flags['port']||env['PORT']||-0x5f7*-0x1+0x21d+0x56c*0x1;console[_0x1f2e7f(-0x64,0x70)](_0x1f2e7f(0xe8,-0xd4)+_0x2e56fd(0x63e,0x456)+'tarte'+_0x2e56fd(0x393,0x31a)+'backg'+_0x2e56fd(0x490,0x2ad)+_0x1f2e7f(0x124,-0xb4)+_0x1f2e7f(0x126,0x2e8)+_0x2e56fd(0x6c8,0x60f)+_0x2e56fd(0x512,0x441)+child['pid']+').'),console[_0x1f2e7f(-0x64,0x172)](_0x1f2e7f(0x98,0xfd)+'ttp:/'+_0x2e56fd(0x2c9,0x349)+_0x1f2e7f(-0x111,-0x15e)+':'+port),console[_0x1f2e7f(-0x64,-0x255)]('\x20\x20Aut'+'o-res'+'tarts'+_0x1f2e7f(-0xe,0x111)+_0x1f2e7f(0x199,0x12e)+_0x2e56fd(0x5d8,0x4fd)+_0x2e56fd(0x4f4,0x550)+_0x1f2e7f(0x32,-0x132)+_0x1f2e7f(-0x5,0x9a)+_0x2e56fd(0x3e3,0x369)+_0x2e56fd(0x371,0x4ba)),process['exit'](0x7fc+0xb6e+-0x3e2*0x5);}else{if(flags[_0x2e56fd(0x357,0x2a0)+_0x1f2e7f(-0x1df,-0x1ad)]){const _0x2cc0bf={};_0x2cc0bf[_0x2e56fd(0x4fd,0x5d5)]=ROOT,_0x2cc0bf[_0x1f2e7f(0x17e,0x208)]=env,_0x2cc0bf[_0x2e56fd(0x386,0x2e3)]=_0x1f2e7f(0x5e,0x18)+'it';const child=spawn(process[_0x1f2e7f(-0x1fd,-0x2bb)+_0x2e56fd(0x49a,0x33b)],[serverPath],_0x2cc0bf);writeFileSync(PID_FILE,String(child[_0x2e56fd(0x591,0x44c)]));const cleanup=()=>{function _0x4e79fe(_0x43f9cb,_0x10b463){return _0x1f2e7f(_0x10b463-0x434,_0x43f9cb);}const _0x42ce31={'FIiUT':function(_0x91da7b){return _0x91da7b();},'VafIF':function(_0x48810a,_0x4825e2){return _0x48810a===_0x4825e2;},'GlpfA':function(_0x40e5b5,_0x543af6){return _0x40e5b5(_0x543af6);}};function _0x254daa(_0x4d3660,_0x302313){return _0x1f2e7f(_0x4d3660-0x548,_0x302313);}try{_0x42ce31[_0x4e79fe(0x30c,0x287)](_0x4e79fe(0x57d,0x49f),_0x254daa(0x5b3,0x6fc))?_0x42ce31[_0x254daa(0x368,0x532)](unlinkSync,PID_FILE):(_0x42ce31[_0x4e79fe(0x475,0x4f0)](_0x1b78c5),_0x4a54c4[_0x254daa(0x713,0x873)](0x1*-0x1b02+0x9d*0x38+-0x1*0x756));}catch{}};process['on'](_0x1f2e7f(0x179,0x230)+'T',()=>{cleanup(),process['exit'](0x1f3*0x7+0x1653+0x23f8*-0x1);}),process['on'](_0x1f2e7f(-0xcd,0xfa)+'RM',()=>{const _0x50769b={'RepSi':function(_0x442650){return _0x442650();}};function _0x3fd19b(_0x2d827c,_0x1fb14e){return _0x2e56fd(_0x1fb14e,_0x2d827c- -0x235);}_0x50769b['RepSi'](cleanup),process[_0x3fd19b(0x3c2,0x419)](-0x1*0x157d+-0x1dcd+0x334a);}),child['on'](_0x2e56fd(0x4de,0x5f7),_0x3e6a2d=>{const _0x592272={};_0x592272[_0x4cd5b5(-0x29,0x1ca)]=function(_0x1bc254,_0x318802){return _0x1bc254||_0x318802;};function _0x4cd5b5(_0x59d5c0,_0x16872a){return _0x2e56fd(_0x16872a,_0x59d5c0- -0x3ae);}const _0x1b0f9d=_0x592272;cleanup();function _0x10f85a(_0x3c41c3,_0x30e8d6){return _0x2e56fd(_0x3c41c3,_0x30e8d6- -0xec);}process[_0x10f85a(0x4fc,0x50b)](_0x1b0f9d['FuHBn'](_0x3e6a2d,0x2*0xfa7+-0x1853*-0x1+-0x37a1));});}else{const watchdogPath=join(ROOT,'serve'+'r','watch'+'dog.j'+'s'),extraEnv={};if(flags[_0x2e56fd(0x664,0x483)])extraEnv[_0x2e56fd(0x97,0x23f)]=String(flags['port']);if(flags[_0x2e56fd(0x46c,0x2f1)])extraEnv[_0x1f2e7f(-0x1cf,-0x20d)+_0x2e56fd(0x3fb,0x568)+'T']=flags[_0x2e56fd(0x221,0x2f1)];const _0x20bcf8={};_0x20bcf8[_0x2e56fd(0x42c,0x5d5)]=ROOT,_0x20bcf8[_0x1f2e7f(0x17e,0x228)]=env,_0x20bcf8[_0x2e56fd(0x2be,0x2e3)]=_0x1f2e7f(0x5e,0x152)+'it';const child=spawn(process[_0x1f2e7f(-0x1fd,-0x5b)+'ath'],[watchdogPath,JSON[_0x2e56fd(0x638,0x517)+_0x2e56fd(0x52f,0x373)](extraEnv)],_0x20bcf8),port=flags['port']||env[_0x2e56fd(0x102,0x23f)]||-0x11*0x1cf+-0x7*0x555+-0xc5*-0x6a;console[_0x1f2e7f(-0x64,-0x147)](_0x2e56fd(0x363,0x514)+'ink\x20s'+_0x1f2e7f(0x1af,0x390)+_0x1f2e7f(-0x167,-0x231)+_0x2e56fd(0x19f,0x2e9)+_0x1f2e7f(-0x1d1,-0x1c)+_0x2e56fd(0x514,0x43b)+'to-re'+_0x2e56fd(0x265,0x3fa)+_0x2e56fd(0x3d4,0x382)+'led)'),console['log'](_0x2e56fd(0x66d,0x4c4)+_0x2e56fd(0x1bd,0x31d)+'/loca'+'lhost'+':'+port),console[_0x1f2e7f(-0x64,-0x124)](_0x2e56fd(0x4e8,0x52a)+'\x20--no'+_0x1f2e7f(0xc4,0x22f)+_0x2e56fd(0x6c7,0x60f)+_0x1f2e7f(-0xb8,-0x15b)+'aw\x20se'+'rver\x20'+_0x1f2e7f(-0x4e,-0x16a)),process['on'](_0x1f2e7f(0x179,0x225)+'T',()=>{function _0x5a1775(_0x1ba244,_0xc645e6){return _0x1f2e7f(_0xc645e6-0x126,_0x1ba244);}const _0x26b358={};_0x26b358[_0x2b1b38(0x22e,0x372)]='SIGTE'+'RM';function _0x2b1b38(_0x1afa94,_0x795079){return _0x1f2e7f(_0x1afa94-0x293,_0x795079);}const _0x48edd3=_0x26b358;child['kill'](_0x48edd3[_0x5a1775(-0x105,0xc1)]);}),process['on'](_0x2e56fd(0x3c1,0x35f)+'RM',()=>{function _0x387807(_0x430d96,_0x9afd4b){return _0x1f2e7f(_0x9afd4b- -0x117,_0x430d96);}child['kill'](_0x387807(-0xec,-0x1e4)+'RM');}),child['on'](_0x2e56fd(0x7e0,0x5f7),_0x381220=>{const _0x1831cf={};_0x1831cf[_0x23b635(0x2f2,0x187)]=function(_0x43b555,_0x149002){return _0x43b555||_0x149002;};function _0x2ce1aa(_0x46554b,_0x952d66){return _0x1f2e7f(_0x46554b-0x454,_0x952d66);}const _0x131d67=_0x1831cf;function _0x23b635(_0x4b6ef5,_0x372d4e){return _0x1f2e7f(_0x4b6ef5-0x456,_0x372d4e);}process['exit'](_0x131d67[_0x23b635(0x2f2,0x194)](_0x381220,-0x157b+0xfbe+0x5bd*0x1));});}}}
3
+ (function(_0xa16693,_0x299360){const _0xb95181=_0xa16693();function _0x3ce2ba(_0x125d6f,_0x583ced){return _0x43f7(_0x125d6f-0x227,_0x583ced);}function _0x326f99(_0xb32764,_0x49feae){return _0x43f7(_0x49feae- -0x380,_0xb32764);}while(!![]){try{const _0x468562=parseInt(_0x326f99(0x1d8,0x26))/(-0x2245*-0x1+0x10*0x1a5+-0x3c94)*(-parseInt(_0x3ce2ba(0x40c,0x451))/(-0x108d+-0x1727+0x27b6))+parseInt(_0x3ce2ba(0x49c,0x57f))/(0x5b2+-0x72b*-0x3+0x57*-0x50)+parseInt(_0x3ce2ba(0x71c,0x53c))/(-0x1ca9+-0x2051+0x3cfe)*(parseInt(_0x326f99(-0x2db,-0x213))/(-0x178c+-0x17ff+0x2f90))+parseInt(_0x3ce2ba(0x6e8,0x6cf))/(-0x203d+-0x1f4d+0x3f90)+parseInt(_0x3ce2ba(0x5c2,0x6c2))/(0x13ed+-0x17d5+0x3ef)+parseInt(_0x3ce2ba(0x56a,0x535))/(-0x1*-0x22bb+0x189f+-0x3b52)*(-parseInt(_0x3ce2ba(0x3b8,0x3f7))/(-0x6b2*-0x5+0x12de+-0x344f))+-parseInt(_0x326f99(-0x8b,0x62))/(-0x29*0x27+0x4*-0x307+0x1265*0x1)*(parseInt(_0x326f99(0x196,0x16f))/(0x5d4*-0x3+-0x6ea*0x4+0x2d2f));if(_0x468562===_0x299360)break;else _0xb95181['push'](_0xb95181['shift']());}catch(_0x6c18a3){_0xb95181['push'](_0xb95181['shift']());}}}(_0x370d,0xa6b*-0xdf+0x489c7+0x9bff9));import{spawn,execSync}from'child_process';import{fileURLToPath}from'url';import{dirname,join}from'path';import{existsSync,writeFileSync,readFileSync,unlinkSync,statSync,readdirSync,mkdirSync}from'fs';function _0x370d(){const _0x1f4e09=['ll\x22\x20t','platf','split','_KEY','or\x20El','ail\x20-','ink\x20(','your_','inher','k-cha','slice','YBvmB','⬡\x20Cur','Doxxt','stdio','hostn','nd]\x20[','\x20\x20upl','KmdNu','lines','I_API','f\x20Upl','aldis','NTIAL','fJIpH','QtTKB','nstal','sfOjm','gify','files','link\x20','index','\x0a\x20\x20\x20\x20','empty','enAI\x20','evenL','/upli','#\x20Sta','...','rkRNt','port\x20','uofWg','not\x20f','erver','g.jso','faile','Mvqqy','SIGTE','⬡\x20No\x20','\x20\x20✓\x20R','ID:\x20\x20','liste','ueQyO','dit\x20m',')\x0a\x20\x20\x20','art','to-re','4|6|1','g\x20@mo','PgAmw','readl','fault','\x20limi','ed.\x20N','ta\x20di','iEmkL','rsion','d.\x20St','de.js','\x20\x20✗\x20F','he\x20la','Stop\x20','ion','Value','\x0a\x20\x20In','HemnC','on\x0a','urati','1:187','dfqFN','ing.','3087318Sdgbuo','s\x20alr','ory\x20a','not\x20d','env','jbxms','metho','\x20\x20\x20\x20#','node_','oncom','apply','n\x20edi','ocal\x20','tion\x20','ound\x20','KVbIE','YaRQd','tart\x20','Versi','\x20stat','info','th:\x20u','ay\x20to','kill','comma','⬡\x20Aut','et\x20in','r\x20and','\x20pass','rash.','.\x20👋\x0a','ll\x20','g.log','led)','ated\x20','d\x20\x20\x20\x20','g\x20for','it\x20\x20\x20','ached','denci','eacha','ay\x20be','GuFEo','ear\x20—','\x20\x20Set','gaQte','11DXYAdb','ta\x20wi','at\x20a\x20','(serv','\x20\x20\x20\x20','TOKEN','516036tDJVpG','dYzBl','ed\x20to','backo','e\x20ser','anual','ed:\x20\x20','ady\x20c','Updat','cache','rface','uplin','\x20conf','nfo\x20\x20','ver\x20(','es...','INUSE','ault:','link.','LAgQh','\x20the\x20','Clear','timeo','xGbli','trim','led\x20t','at\x20re','LcPte','win32','npm\x20u','ime:\x20','pany/','df\x20-k','optio','token','\x0a\x20\x20Pa','\x20(PID','\x20\x20⬡\x20','\x20\x20Upt','\x20\x20v','ocess','r\x20(de','(Ctrl','\x20audi','\x0a\x20\x20⬡\x20','set\x20-','\x1b[32m','subsc','ve\x20ag','gqxcF','s\x20fro','fOfeS','EZaBK','ent\x20s','\x0a\x20\x20Da','runni','tchin','ncomp','\x20\x20\x20#\x20','end','or\x0a\x20\x20','on:\x20\x20','\x20\x20→\x20h','...\x0a','\x20enab','\x20read','k\x20Con','\x20in\x20e','cking','ons','ViznM','\x20node','8\x20is\x20','resum','nd\x20lo','pm\x20up','\x20\x20Wat','ttmsG','runs.','XzMue','\x20Remo','ailed','\x20or\x20e','zpCVx','XLpEi','sqpbC','firm:','ID\x20','audio','file','-deta','TTS\x20A','at\x20do','gured','rt\x20--','noWat','AlCqe','\x20data','e:\x20cp','\x20\x20npx','opped','d\x20DAT','teway','\x20\x20\x20un','\x20to\x20s','//127','isten','nSusS','oonco','er\x20ru','Roami','logic','e\x20glo','\x20\x20Bac','Gatew','ninst','\x20star','.upli','readS','hhWVx','--edi','\x20\x20Log','pdate','sWith','ompan','lean.','\x20file','recur','yatui','oxuph','25jEStOP','ODVHr','he\x20se','\x0a⬡\x20Up','npm\x20p','50)\x0a\x20','\x20to\x20r','!\x1b[0m','.migr','x\x20upl','#\x20Cle','unins',':\x0a\x20\x20\x20','\x20Push','\x20-g\x20@','emium','ally:','ntrie','tion\x0a','k\x20—\x20L','canno','pen\x20c','o-res','RBCeT','\x20\x20Thi','d\x20(PI','ating','close','ssed','etect','OvRCo','aded\x20','#\x20Run','ve\x20al','\x20\x20Ser','AzgTr','9RcIXSb','tion','xzAWJ','host','\x20\x20Exa','Sync','GATEW','\x20runn','atchd','\x20hist','inclu','g.pid','_modu','KEN','toppe','ncell','stall','NSKVX','K_HOS','atest','e\x20is\x20','rLsqQ','etup\x20','input','.\x20Fre','ar:','help','chdog','ge.','t\x20wat','test\x20','OR\x20en','e\x20TTS','GET','any/u','round','ata\x0a\x0a','nk-se','--por','COENL','toStr','t\x20rea','ORD','ree','DnOlv','0.0)\x0a','KIqOS','re\x20\x22D','⬡\x20Ope','and\x20a','igure','fig)\x0a','to\x20cl','8080\x20','--for','tor\x20—','evice','letel','k\x20whe','\x20unin','ELEVE','XdehE','\x20less','\x20\x1b[32','--no-','UPLIN','vtlLp','ink-c','\x20\x20Typ','ver\x20a','\x20\x20Ski','rqVQa','NmAPV','detac','disk\x20','\x20prom','nMPvA','fstat','des','\x20\x20Cre','ink\x20w','how\x20t','kfXzj','\x20\x20Com','18768EzAHQk','ver\x20P','m\x20(PI','rver.','|2|3','[0m','ctivi','t\x20\x20\x20\x20','UXqXu','ready','AI\x20Ch','HfNBL','GqVms','VjUkT','ink\x20s','ed\x20me','o\x20Edg','node','e\x20by\x20','requi','✓\x1b[0m','ning','\x20your','\x20\x20\x20-h','\x20to\x20l','JqSqR','/agen','A_DIR','date\x20','\x20#\x20Ed','gGnfJ','fail','nk\x20be','****','/loca','-g\x20@m','xTjBh','>nul\x20','ructo','SECRE','edAt','last\x20','ning\x20','og\x20st','ch\x20','ed,\x20','zfyrn','c/img','first','\x20fail','\x20\x20\x20re','direc','bzfXF','all','plink','UwLll','\x0a⬡\x20Re','This\x20','figur','hing\x20','(((.+','ata\x0a\x20','ved.\x0a','serve','rver\x20','\x1b[90m','\x20—\x20No',':\x20\x20\x20\x20','art\x20m','ound.','--lin','t\x20v','ine','insta','diyLi','c/aud','SIGIN','ty\x20da','\x20warn','\x20sync','v\x20fil','zpFjP','from\x20','gFdui','some','Print','PBcyJ','HOST','xjDDH','PI\x20ke','us\x20\x20\x20','ig\x20--','\x20--ed','detai','avail','UzzbM','\x20vers','.env.','tions','ges-s','AY_TO','\x20\x20Opt','commo','d-con','\x20--no','ame','reque','r.log','l\x20con','lt:\x203','edit','OgDbo','\x20info','nes\x201','messa','emovi','stop','\x20\x20Tha','FPkJY','tadTn','TTS\x20m','sh\x20st','ink\x20i','Eleve','lt\x20po','packa','.0.0.','searc','\x20\x20Try',':\x27\x22\x20g','the\x20e','ng\x1b[0','dog','ZUWSH','data','encod','ns]\x0a\x0a','on\x20(v','rCPms','destr','\x20port','repea','argv','quire','482697KtqSZl','100\x20l','filte','uploa','AY_UR','in\x20us','oLGKw','erCas','Node.','space',',\x20PID','p\x20it\x20','\x20\x20Or\x20','ng\x20np','l\x20—\x20v',':\x20upl','ZMHWZ','sive','ions\x20','YoYAx','mwXxB','cript','rt\x20th','port','Disk\x20','p\x20Upl','\x20chec','g\x20was','og\x20(P','gapiO','not\x20b','\x20\x20\x20St','e\x0a\x20\x20\x20','k\x20ser','oRJGP','fwXpV','\x20in\x20','ckOsy','\x20Port','\x201\x202>','eInte','#\x20Upl','mpany','-chat','\x20manu','emove','l\x20NOT','sion','versa','hat\x20c','eServ','pping','ing\x20U','/dev/','ing\x20m','NkspE','ks\x20pa','--ver','⬡\x20Upl','\x20curr','\x20than','KBTgd','reada','nd\x20to','NiTiS','\x20(>=\x20','s\x20but','tarts','p\x20con','rt:\x20\x20','\x20via\x20','exit','-v\x20\x20\x20','\x20Diag','LtThW','warn','ach','\x20Miss','nning','dcsgh','FhqlQ','\x0a\x20\x20Lo','\x20with','o\x20sto','PZhIV','mine\x20','ity.j','GNIeY','ig\x20fi','able','s\x20que','\x20new\x20','free\x20','d\x20in\x20','\x20\x20\x20\x20S','error','not\x20s','edit\x20','\x20diag','d\x20dat','eeSpa','k\x20Doc','wmic\x20','rt\x20on','\x20\x20\x20\x20•','v,\x20co','ge.js','found','Uplin','g\x20fil','ree\x20—','o\x0a\x0a\x20\x20','log','floor','\x20comp','elf\x0a','vvonV','m(con','ng\x20wi','o\x20con','sages','\x0a\x20\x20⚠️\x20','l\x20tim','\x0a\x20\x20Ca','-host','\x20.env','nk-ch','ning\x0a','op\x20a\x20','cal\x20d','e\x20\x22re','k\x20Uni','\x20→\x20v','ey\x20—\x20','on:\x20v','http:','mNZrt','NOmDw','\x20\x20Sta','o\x20fil','stopp','tarti','ken','reset','max','OvJRw','path','firma','\x20crea','OPENA','ver\x20f','\x20@moo','logs','code','YQcTl','able\x20','\x20on\x20c','e...','PID\x20','s\x20and','yGvBw','Depen','\x20\x20Exp','kesIR','\x20clea','\x22\x20|\x20t','activ','ons.j','PyuSd','--hos','ected','_API_','lled','glanc','\x1b[33m','deter','examp','..\x0a','hat','red','\x20--li','th\x20(c','\x20(def','art!','log\x20e','xNqRh','hdog\x20','k\x20has','ZnjAM','RejuP','ion\x0a\x20','euROb','updat','kage.','⬡\x20Cre','linux','ile)','kaQlZ','JhfMj','igura','\x0a⬡\x20Wa','ssing','.env\x20','set\x22\x20','octor','e:\x20\x20\x20','4463352joVklO','dated','ync','th:\x20','\x20\x20⚠️\x20\x20','EADDR','art\x20t','openS','wing\x20','versi','OpenA','\x20log\x20','PORT','\x20500\x20','for\x20r','sync-','d-mes','confi','ed\x20','\x20(con','\x20upli','\x20npm\x20','\x20remo','GHWTQ','\x20Fail','push','which','456)\x0a','\x20on\x20t','othin','push-','stdou','lwdxD','ABdaQ',':\x20v','--pat','⬡\x20Sto','TFaNZ','anoth','watch','FhzAz','homed','publi','rPid','eady\x20','th\x20wa','ver\x20l','ay\x20re','orm','ete.','map','set\x20\x20','bfebR','quest','son','charA','\x20on\x20(','exist','\x20inst','OFUao','tor:\x20','HBHbj','lhost','\x20\x20\x20\x20O','UZcpQ','cppWp','\x20not\x20','t\x20sta','ng\x20Up','ll\x20\x20\x20','tchdo','padEn','yTxMt','oads\x20','y:\x20','nLabs','nks\x20f','\x20loca','apEXD','join','LKySt','\x208080','\x20>=\x201','and\x20c','PUCHE','y\x20uni','ssage','led.','1455174uzpvyS','s...\x20','\x20\x1b[31','ync.j','AppDa','\x20line','\x0a\x20\x20','nrvXZ','he\x20Up','vatar','er\x20pr','7TMzzug','.0.1','ult:\x20','fZzHv','CREDE','\x20been','n\x20can','zpAzf','defau','BpCgJ','creat','0.0.0','-path','mode','a\x20dir','l\x20log','ble','yfHwi','Show\x20','18\x20re','(empt','d\x20.en','lBZuP','lengt','out\x20a','s\x20wil','start','es\x20ex','.json','\x20\x20\x20Ta','\x20alre','k\x20Inf','\x20\x20✓\x20S','nk-wa','label','all\x20-','ector','o\x20rea','\x20item','(none','fDkqM','pid','es\x20in','ignor','ly:\x20n','hed','\x20—\x20ru','size','stdin','\x20\x20Not','\x0a⬡\x20Al','\x20MB\x20f','m\x20pac','\x20\x20\x20\x20v','hat\x20s','nano','once','utf8','cjSMp','ists','5631290UZbNED','l\x20cle','g\x20(au','\x20edit','nv\x20in','Run\x20i','o\x20ope','\x20stop','t\x20on\x20','zdBwd','.\x20Run','it\x20.e','dog.j','nk.pi','efAfp','\x20Uplo','KEY','Dpyrn','resta','.env','ch,\x20-','k\x20Res','ogs\x20i','could','parse','y)\x1b[0','n\x20bac','\x20\x20\x20\x20\x20','ath','tall','IYEkF','his\x20h','ijOxH','ar\x20da','sgvIv','premi','compl','2>&1','top','nose\x20','\x20\x20\x20up','ated','Zrciq','r.js','d\x20log','\x20for\x20','fTHVo','s\x20are','rent\x20','\x20\x20\x20--','hen\x20t','\x20\x20Use','\x20PID\x20','ing','d\x20wat','npx\x20u','PASSW','r\x0a\x20\x20\x20','\x20\x20\x20Sh','✗\x1b[0m','ted\x20t','eyBaK','write','nes\x0a\x20','onfig','mples','3456','(PID\x20','\x20--fo','alue','xJAYh','ation','hkGvt','Host\x20','backg','xampl','meout','--hel','ng\x20(','XcMDi','wdUlT','outpu','\x20watc','abs\x20k','\x20\x20\x20\x20d','\x20Numb','.exam','nd\x20(d','\x20\x20\x20\x20-','--det','statu','mands','fore\x20','\x20\x20\x20Ch','to\x20bi','cwd','⬡\x20Fai','alloc','pass','aw\x20se','ink\x20d','d\x20ser','modul','ttp:/','share','\x20defa','force','ripti','ly:\x20','\x20\x20Run','umKey','execP','-watc','uto-r','rt\x0a\x20\x20','+C\x20to','8|7|5','PID\x20f','or\x20us','_here','js\x20ve','s\x20run','e\x20\x20\x20\x20','127.0','docto','\x20logs','strin','wBQzH','xqBvr','\x20Stop','setsi','at\x20st','\x0a\x20\x20Po','les','eset)','TgTlw','et\x20Fr','toLow','—\x20run','⬡\x20Res','npQSn','Port\x20'];_0x370d=function(){return _0x1f4e09;};return _0x370d();}function _0x210841(_0x21d217,_0x14f0be){return _0x43f7(_0x21d217-0x27,_0x14f0be);}import{createRequire}from'module';import _0x53159e from'net';import _0x26ba20 from'http';import _0x4ee547 from'os';const __filename=fileURLToPath(import.meta.url),__dirname=dirname(__filename),ROOT=join(__dirname,'..');function resolveDataDir(){const _0x3fb8e7={'zfyrn':function(_0x3a1d0e,_0x3f13f0,_0x370bd2){return _0x3a1d0e(_0x3f13f0,_0x370bd2);},'AlCqe':_0x14a048(-0x130,-0x88)+'(empt'+'y)\x1b[0'+'m','fOLPf':function(_0x784783,_0x204985){return _0x784783/_0x204985;},'bzfXF':function(_0x3dda2b,_0x5536b4){return _0x3dda2b*_0x5536b4;},'JqSqR':_0x53f159(0x1fa,0xa1),'xjDDH':'RbdVx','ZUWSH':_0x14a048(-0x16d,0x67),'ckOsy':'KcwHa','gaQte':'MBfFV','VrgTh':_0x53f159(-0x156,-0x1b9)+')+)+)'+'+$','LcPte':'⬡\x20.en'+_0x53f159(-0x35a,-0x1a5)+_0x14a048(-0x105,-0x109)+_0x14a048(0x2e5,0x1e3)+_0x14a048(0x136,0x13e)+_0x14a048(-0x21c,-0x2a)+_0x14a048(-0x225,-0xda)+_0x53f159(0x5f,-0x134)+_0x14a048(0x292,0x174)+_0x53f159(-0x2a3,-0x199)+'it','KVbIE':function(_0x1e3cc5){return _0x1e3cc5();},'VjUkT':function(_0x2a489f,_0x1adb34){return _0x2a489f===_0x1adb34;},'fZzHv':_0x53f159(-0x3de,-0x26c),'pSSVE':function(_0x3e1800,_0x105e6d,_0x1f6f23,_0x27078a){return _0x3e1800(_0x105e6d,_0x1f6f23,_0x27078a);},'lihIa':_0x53f159(-0x22c,-0x281)+'ng','uBiFz':_0x14a048(0x1ed,0x252)+'k','cppWp':_0x53f159(-0x403,-0x27a)+'nk'};function _0x14a048(_0x3a2a1f,_0x414951){return _0x43f7(_0x414951- -0x2ae,_0x3a2a1f);}function _0x53f159(_0x2c31d8,_0x1dbd84){return _0x43f7(_0x1dbd84- -0x3da,_0x2c31d8);}const _0x2115b5=(function(){const _0x24076f={'Zrciq':function(_0x3afac1,_0x54ee56){return _0x3fb8e7['fOLPf'](_0x3afac1,_0x54ee56);},'cjSMp':function(_0x1ef618,_0x1d486b){function _0x1a0db0(_0x49b0b8,_0x55cdeb){return _0x43f7(_0x49b0b8- -0x211,_0x55cdeb);}return _0x3fb8e7[_0x1a0db0(0x8,0x60)](_0x1ef618,_0x1d486b);},'KmdNu':function(_0x4ec8c0,_0x2e5105){return _0x4ec8c0>=_0x2e5105;},'sWDrx':_0x109a24(0x3a1,0x345)+'space','jeDQp':function(_0x459444,_0x283917,_0x30017a){function _0x39a044(_0x5be7d9,_0x54b4dc){return _0x109a24(_0x54b4dc- -0x1d5,_0x5be7d9);}return _0x3fb8e7[_0x39a044(0x2c,0x152)](_0x459444,_0x283917,_0x30017a);},'RBCeT':_0x3fb8e7[_0x109a24(0x312,0x334)],'fAhit':_0x3fb8e7[_0x48b094(0x28f,0xfa)],'COENL':_0x3fb8e7[_0x109a24(0x37e,0x2ee)]};function _0x48b094(_0x28e9ac,_0x28dff0){return _0x53f159(_0x28dff0,_0x28e9ac-0x42c);}function _0x109a24(_0x1a12a8,_0x385a6a){return _0x53f159(_0x385a6a,_0x1a12a8-0x4ee);}if('KcwHa'!==_0x3fb8e7[_0x109a24(0x3ae,0x355)]){const _0x52ae01=_0x235b8f?_0x3fb8e7['zfyrn'](_0x8d65e1,_0x5d36d2,_0x478481):_0x3fb8e7[_0x109a24(0x25f,0x1f7)];_0x5df85d[_0x109a24(0x3f9,0x530)]('\x20\x20'+_0x7badbb[_0x48b094(0x3dc,0x273)+'d'](_0x30e209+(0x14ee+0x2b*-0x80+0x94))+_0x52ae01);}else{let _0x5839f6=!![];return function(_0x370b49,_0x503bd8){const _0x3ad017={};function _0x4d6906(_0x4d28a4,_0x58917f){return _0x109a24(_0x4d28a4- -0x295,_0x58917f);}_0x3ad017[_0x4d6906(0x17d,0x183)]=_0x24076f[_0x41d71b(-0x47,-0x15d)];const _0x1e0088=_0x3ad017;function _0x41d71b(_0x56d709,_0x36dd87){return _0x109a24(_0x56d709- -0x2df,_0x36dd87);}if(_0x24076f['fAhit']===_0x24076f[_0x41d71b(-0x13,0x173)]){const _0x2af179=_0x2e4499['round'](_0x24076f[_0x4d6906(0x28b,0x349)](_0x1c57fe,_0x24076f[_0x41d71b(0x215,0x167)](0x7*0x581+-0xb40+-0x1747,0x89f+-0x4*-0x5da+-0x7*0x401)));_0x24076f[_0x4d6906(0x301,0x4b1)](_0x2af179,0x1d89+-0x1ba1+0x6*0x2)?_0x47414b(_0x24076f['sWDrx'],_0x2af179+('\x20MB\x20f'+_0x4d6906(0x3b,0x135))):_0x24076f['jeDQp'](_0x65434f,_0x4d6906(0x10c,0x17a)+_0x41d71b(0xb3,0x21c),_0x2af179+(_0x4d6906(0x258,0xb7)+'ree\x20—'+_0x41d71b(0x4,0x137)+_0x4d6906(0x130,0x303)+_0x41d71b(0x185,0x27b)+'MB'));}else{const _0x153b07=_0x5839f6?function(){function _0xfb15dc(_0x421de2,_0x4cccaf){return _0x4d6906(_0x421de2- -0x1a0,_0x4cccaf);}function _0x39998e(_0x21180d,_0x24581a){return _0x4d6906(_0x24581a- -0x1aa,_0x21180d);}if(_0x503bd8){if('Sjpzr'===_0x1e0088[_0x39998e(0xe7,-0x2d)])_0x3330e3=_0x39998e(-0x21f,-0xfd)+_0x39998e(-0x175,-0xa);else{const _0x4c7543=_0x503bd8[_0x39998e(-0x5d,0x1a0)](_0x370b49,arguments);return _0x503bd8=null,_0x4c7543;}}}:function(){};return _0x5839f6=![],_0x153b07;}};}}()),_0x5440a1=_0x2115b5(this,function(){function _0x23416d(_0x28af50,_0xfec8b2){return _0x53f159(_0x28af50,_0xfec8b2-0x74c);}function _0x5974d5(_0x443980,_0x26f4e2){return _0x53f159(_0x443980,_0x26f4e2-0x20d);}return _0x3fb8e7[_0x5974d5(0x2c4,0x321)]==='MBfFV'?_0x5440a1[_0x23416d(0x343,0x52b)+_0x5974d5(0xff,0x24a)]()[_0x23416d(0x5ac,0x5d6)+'h'](_0x3fb8e7['VrgTh'])[_0x5974d5(0x15,-0x14)+'ing']()['const'+_0x23416d(0x5d7,0x57d)+'r'](_0x5440a1)[_0x5974d5(-0x88,0x97)+'h'](_0x3fb8e7['VrgTh']):null;});_0x3fb8e7[_0x53f159(-0x1d,0xf6)](_0x5440a1);if(process.env.UPLINK_DATA_DIR)return process.env.UPLINK_DATA_DIR;if(_0x3fb8e7[_0x14a048(-0x222,-0xbc)](process['platf'+'orm'],_0x53f159(0x235,0x137))){if(_0x3fb8e7[_0x53f159(-0x7a,-0x1e8)](_0x3fb8e7['fZzHv'],_0x3fb8e7[_0x14a048(0x11,0xfb)])){const _0x45541f=process.env.APPDATA||_0x3fb8e7['pSSVE'](join,_0x4ee547[_0x53f159(-0x1ee,-0x6e)+'ir'](),_0x14a048(-0x8e,0xf1)+'ta',_0x3fb8e7['lihIa']);return join(_0x45541f,_0x3fb8e7['uBiFz']);}else _0x5e465e[_0x14a048(0x84,0x37)](_0x3fb8e7[_0x53f159(0x45,0x136)]),_0x20cd0d[_0x53f159(-0x2eb,-0x11e)](0x1e94+-0x1240+-0xc54);}return _0x3fb8e7[_0x14a048(0x120,-0x9b)](join,_0x4ee547[_0x14a048(-0xd,0xbe)+'ir'](),_0x3fb8e7[_0x14a048(-0xff,0xd6)]);}const DATA_DIR=resolveDataDir();try{const _0x32a24e={};_0x32a24e[_0x210841(0x191,0x381)+_0x6aac3f(0x99,0x42)]=!![],mkdirSync(DATA_DIR,_0x32a24e);}catch{}const PID_FILE=join(DATA_DIR,_0x210841(0x187,0x2f3)+_0x210841(0x416,0x251)+'d'),WATCHDOG_PID_FILE=join(DATA_DIR,_0x6aac3f(-0x8d,0xb0)+_0x210841(0x3ee,0x1fa)+_0x6aac3f(0x19c,-0x4f)+_0x6aac3f(-0x51,-0x23c)),WATCHDOG_STATE_FILE=join(DATA_DIR,_0x210841(0x187,0x28)+_0x6aac3f(0x1da,0x108)+_0x210841(0x3b0,0x306)+_0x6aac3f(0x2af,0x451)+'n'),args=process[_0x210841(0x29a,0x29a)][_0x6aac3f(0x28d,0xe3)](0x1857*0x1+-0x25*-0x37+0x812*-0x4),command=args[0x1*0x1196+0x2c6+-0x145c]||_0x6aac3f(0x1d3,0x1ae),flags={};for(let i=0x1bf5+-0xb5+-0x1b40;i<args[_0x210841(0x3e4,0x45a)+'h'];i++){const qlVsBy=(_0x6aac3f(0x2bc,0x471)+'|0|9|'+_0x6aac3f(0x269,0x129)+_0x210841(0x210,0x3db))[_0x210841(0x499,0x547)]('|');let qgKXAb=0x2*-0xda9+0x2493+-0x17*0x67;while(!![]){switch(qlVsBy[qgKXAb++]){case'0':(args[i]===_0x6aac3f(0xc1,-0x110)+_0x210841(0x2cb,0x22e)||args[i]==='-v')&&(flags[_0x210841(0x373,0x4af)+'on']=!![]);continue;case'1':(args[i]===_0x210841(0x456,0x5bc)+'p'||args[i]==='-h')&&(flags[_0x210841(0x1d2,0x128)]=!![]);continue;case'2':args[i]===_0x6aac3f(0x179,0x367)+'h'&&(flags[_0x210841(0x32e,0x384)]=!![]);continue;case'3':(args[i]===_0x210841(0x1ee,0x248)+'ce'||args[i]==='-f')&&(flags[_0x210841(0x473,0x466)]=!![]);continue;case'4':args[i]===_0x210841(0x1de,0x1d7)+'t'&&args[i+(-0x1*0x1c6a+-0xbf9*-0x3+-0x2*0x3c0)]&&(flags['port']=parseInt(args[i+(-0x223*-0x2+0x1bbb*-0x1+0x1776)],-0xd*0x5b+-0x1238+-0x16e1*-0x1),i++);continue;case'5':args[i]===_0x6aac3f(-0x8a,0xbc)+'t'&&(flags[_0x6aac3f(0x66,0x15f)]=!![]);continue;case'6':args[i]===_0x6aac3f(0x131,0x249)+'t'&&(flags[_0x210841(0x1bb,0x191)]=args[i+(-0x1d9a+0x2*-0xe6b+0x3a71)]||'0.0.0'+'.0',i++);continue;case'7':args[i]===_0x6aac3f(0x3e,0x154)+'es'&&args[i+(0xfcd+-0x7b8+-0x814)]&&(flags[_0x6aac3f(0x296,0x2f5)]=parseInt(args[i+(-0x1bbd+0x18a+0x1a34)],-0x17*-0x2+-0x3*-0xef+-0x2f1),i++);continue;case'8':args[i]===_0x210841(0x1f8,0x17)+_0x6aac3f(0x17d,0x243)+_0x6aac3f(0x7c,0x7f)&&(flags[_0x6aac3f(-0xa3,-0x32)+'chdog']=!![]);continue;case'9':(args[i]===_0x6aac3f(0x24e,0x277)+_0x6aac3f(0xd4,-0xb5)||args[i]==='-d')&&(flags[_0x210841(0x201,0x31b)+'h']=!![]);continue;}break;}}if(flags[_0x6aac3f(0x15f,0x14d)+'on']){const require=createRequire(import.meta.url),pkg=require(join(ROOT,_0x6aac3f(0x75,-0xef)+'ge.js'+'on'));console[_0x6aac3f(0xf8,-0x81)](_0x6aac3f(0x313,0x474)+_0x210841(0x4a0,0x48b)+_0x6aac3f(0x3f,0xfa)+pkg[_0x210841(0x373,0x430)+'on']),process[_0x6aac3f(0xcf,0x1a8)](-0x123c+-0x1*0x1ba7+0x2de3);}function _0x43f7(_0x1214ae,_0x2d624c){_0x1214ae=_0x1214ae-(0x2bb*0x1+0x1123+0x21*-0x92);const _0x272a98=_0x370d();let _0x41c1fa=_0x272a98[_0x1214ae];return _0x41c1fa;}flags[_0x210841(0x1d2,0x393)]&&(console[_0x6aac3f(0xf8,-0x7d)](_0x6aac3f(-0xd6,0x2f)+_0x210841(0x308,0x4e3)+_0x210841(0x1a7,0x249)+_0x6aac3f(0x2e0,0x1ed)+_0x6aac3f(0x2,-0xc4)+'at\x0a\x0a\x20'+'\x20Usag'+'e:\x0a\x20\x20'+_0x6aac3f(0x294,0x1b2)+_0x6aac3f(-0x19,-0x184)+'hat\x20['+_0x6aac3f(0x2ec,0x26c)+_0x6aac3f(0x293,0x2d5)+_0x210841(0x133,0x40)+_0x210841(0x294,0x380)+_0x210841(0x20b,0x36a)+_0x210841(0x464,0x343)+_0x6aac3f(-0x74,-0xf6)+_0x210841(0x186,0x316)+'t\x20\x20\x20\x20'+_0x6aac3f(0xa7,-0x64)+_0x210841(0x370,0x202)+_0x6aac3f(0x1b6,0xbd)+_0x210841(0x4b5,0x541)+_0x6aac3f(0x37,-0x103)+_0x210841(0x13b,0x64)+_0x210841(0x4d4,0x59f)+_0x6aac3f(0x2b9,0x431)+'\x20stop'+'\x20\x20\x20\x20\x20'+_0x6aac3f(0xa7,0x1af)+_0x210841(0x31c,0x3d5)+_0x6aac3f(-0xcb,0x2e)+_0x6aac3f(0x19a,0x273)+_0x6aac3f(0x2a1,0x240)+_0x6aac3f(0x37,0x6f)+_0x210841(0x442,0x63e)+_0x6aac3f(0x2e7,0x143)+_0x210841(0x266,0x23d)+_0x6aac3f(0x252,0x357)+'eck\x20i'+_0x6aac3f(0x298,0x2c7)+_0x210841(0x286,0x3a2)+_0x210841(0x482,0x405)+_0x210841(0x31b,0x4d4)+'\x20\x20\x20\x20i'+_0x210841(0x529,0x3aa)+'\x20\x20\x20\x20\x20'+'\x20Show'+_0x6aac3f(0xc3,0xf6)+_0x6aac3f(-0xcd,-0x239)+_0x6aac3f(-0x46,-0x122)+_0x6aac3f(0x304,0x206)+_0x210841(0x349,0x230)+_0x210841(0x2bc,0x478)+_0x210841(0x486,0x528)+_0x210841(0x424,0x41b)+_0x210841(0x3ea,0x31c)+'il\x20th'+_0x6aac3f(0x30c,0x474)+_0x210841(0x398,0x47b)+_0x6aac3f(0x20b,0x3ba)+'n\x20rea'+_0x210841(0x316,0x373)+'e\x0a\x20\x20\x20'+_0x6aac3f(0x314,0x3b1)+'ig\x20\x20\x20'+_0x6aac3f(0x22f,0x19d)+'ow\x20cu'+'rrent'+_0x6aac3f(0x314,0x256)+_0x210841(0x363,0x1a4)+_0x210841(0x1a6,0x2f1)+_0x6aac3f(0x249,0x42c)+_0x210841(0x368,0x19c)+_0x210841(0x424,0x59a)+_0x6aac3f(0xd1,0x1e7)+_0x6aac3f(0x21c,0x390)+_0x210841(0x272,0x1c2)+'n\x20iss'+'ues\x0a\x20'+_0x210841(0x23e,0x204)+_0x6aac3f(0x189,0x297)+_0x6aac3f(0x210,0x196)+'Clear'+'\x20chat'+_0x210841(0x1c1,0x12d)+_0x6aac3f(0x2d6,0x48d)+_0x210841(0x15c,-0x99)+_0x6aac3f(0x109,0x2f8)+_0x6aac3f(0x35,-0x180)+_0x210841(0x431,0x400)+_0x210841(0x228,0xf0)+_0x6aac3f(0x210,0x324)+_0x210841(0x524,0x3c6)+'e\x20to\x20'+'the\x20l'+_0x6aac3f(-0x49,-0x140)+_0x6aac3f(0x58,-0x54)+'ion\x0a\x20'+_0x210841(0x179,-0x5e)+_0x6aac3f(0x41,0x149)+_0x6aac3f(0x19b,0x378)+_0x210841(0x4de,0x357)+'serve'+_0x210841(0x503,0x3c2)+'\x20remo'+_0x210841(0x1b5,0x27b)+'l\x20Upl'+_0x210841(0x46d,0x470)+_0x6aac3f(-0x38,0x196)+_0x210841(0x271,0x449)+'ions:'+_0x210841(0x4b7,0x36d)+_0x210841(0x1de,0x6e)+'t\x20N\x20\x20'+'\x20\x20\x20\x20\x20'+_0x6aac3f(0xae,0x147)+_0x6aac3f(0x10,0x63)+_0x210841(0x17c,0x111)+_0x6aac3f(0x18e,0x2af)+_0x210841(0x3d5,0x30b)+_0x6aac3f(0x65,-0x188)+_0x210841(0x385,0x3f7)+_0x6aac3f(0x24d,0x52)+_0x6aac3f(0x104,-0xbb)+'\x20H\x20\x20\x20'+_0x6aac3f(0x210,0x380)+_0x210841(0x452,0x395)+_0x210841(0x467,0x41e)+_0x6aac3f(0xc7,0x8e)+_0x6aac3f(0x13e,0x225)+_0x210841(0x52d,0x32c)+'\x200.0.'+_0x210841(0x1e5,0x12f)+_0x210841(0x461,0x30a)+_0x6aac3f(-0xa8,0x17)+_0x6aac3f(0x209,0x1d2)+_0x6aac3f(0x2f7,0x141)+_0x210841(0x40e,0x552)+_0x210841(0x423,0x3fe)+'kgrou'+_0x6aac3f(0x24c,0x2f8)+'aemon'+'\x20mode'+_0x6aac3f(0x2b9,0x3ba)+_0x6aac3f(0x60,0x21d)+_0x6aac3f(0x265,0x21a)+'hdog\x20'+_0x210841(0x476,0x65d)+_0x6aac3f(0xda,0x296)+_0x210841(0x3e5,0x43c)+_0x6aac3f(0x266,0x11b)+'estar'+_0x210841(0x1d5,0x23c)+'chdog'+_0x210841(0x4b7,0x3ba)+_0x210841(0x252,0x353)+'es\x20N\x20'+_0x210841(0x424,0x3a8)+_0x210841(0x45e,0x25c)+'er\x20of'+_0x6aac3f(0x161,0xd8)+_0x210841(0x4aa,0x489)+_0x6aac3f(-0x9a,-0x1be)+'how\x20('+'logs,'+_0x210841(0x472,0x436)+_0x210841(0x3cf,0x2f7)+_0x210841(0x199,-0x5d)+_0x6aac3f(0x226,0x34a)+_0x6aac3f(0xe9,-0x8f)+'\x20\x20\x20\x20\x20'+_0x6aac3f(0x195,0xe3)+_0x6aac3f(-0x6b,-0x2f)+'onfig'+_0x210841(0x155,0x30e)+'ditor'+_0x210841(0x37d,0x538)+_0x6aac3f(-0x29,-0x154)+_0x6aac3f(0x24d,0x93)+_0x210841(0x3d9,0x579)+'\x20\x20\x20\x20\x20'+'\x20\x20\x20\x20\x20'+_0x6aac3f(0x4d,-0xe5)+'\x20conf'+_0x210841(0x2f4,0xfa)+'le\x20pa'+_0x210841(0x351,0x4ce)+_0x210841(0x449,0x5ab)+_0x6aac3f(0x2b9,0x12c)+_0x6aac3f(0x239,0x173)+'rce,\x20'+'-f\x20\x20\x20'+_0x6aac3f(-0x16,0x139)+_0x6aac3f(0xcc,0x22c)+_0x210841(0x32f,0x3f3)+_0x210841(0x4f5,0x4c1)+'promp'+'ts\x20(r'+(_0x6aac3f(0x27b,0x2b9)+'\x0a\x20\x20\x20\x20'+_0x210841(0x2e4,0x15a)+'\x20\x20\x20\x20\x20'+_0x6aac3f(0x210,0xd1)+'\x20Show'+_0x6aac3f(0x58,0xe2)+_0x6aac3f(0x146,0x16a)+_0x6aac3f(0xf,0x201)+_0x6aac3f(0x210,0x1f2)+_0x210841(0x424,0x4f3)+_0x6aac3f(0xe6,0x218)+_0x210841(0x209,0x12)+_0x6aac3f(0x214,0x10f)+'elp\x0a\x0a'+_0x6aac3f(-0x58,0x83)+_0x6aac3f(0x236,0x17b)+_0x210841(0x1a0,0x96)+'\x20npx\x20'+_0x6aac3f(0x313,0x45e)+_0x210841(0x4a0,0x3ff)+_0x210841(0x213,0x2d0)+_0x210841(0x424,0x497)+_0x210841(0x424,0x431)+_0x210841(0x4ef,0x67b)+'\x20Star'+_0x6aac3f(0x1fd,0x314)+_0x210841(0x3d5,0x28f)+_0x6aac3f(0x74,-0x1e)+_0x210841(0x47b,0x648)+_0x210841(0x175,0xd4)+_0x210841(0x37e,0x323)+_0x210841(0x31a,0x1fa)+'at\x20--'+_0x6aac3f(0x2ab,0x3dd)+_0x210841(0x1ed,0x138)+_0x210841(0x424,0x5a5)+_0x6aac3f(0x2a8,0x30d)+_0x210841(0x303,0x39d)+_0x210841(0x298,0x433)+_0x210841(0x3bb,0x539)+_0x6aac3f(0x2a3,0x226)+_0x6aac3f(0x22c,0x10c)+_0x6aac3f(0x2e,0xb3)+_0x6aac3f(0xb3,0xa2)+'\x20stop'+'\x20\x20\x20\x20\x20'+_0x6aac3f(0x210,0x6b)+_0x6aac3f(-0xc8,-0x187)+_0x210841(0x4de,0x6c1)+'the\x20s'+'erver'+'\x0a\x20\x20\x20\x20'+_0x210841(0x440,0x538)+_0x210841(0x242,0x3cc)+'-chat'+'\x20info'+_0x6aac3f(0x210,0x112)+_0x6aac3f(0x210,0x113)+_0x6aac3f(-0xc8,-0x2bb)+_0x6aac3f(0x1cb,0x39f)+'setup'+_0x6aac3f(0x68,0x1bb)+_0x6aac3f(0x2a3,0x21e)+_0x210841(0x440,0x5e5)+'plink'+_0x210841(0x2c7,0x11b)+_0x6aac3f(0x272,0x174)+_0x210841(0x350,0x190)+_0x210841(0x27d,0x3b6)+'00\x20#\x20'+'Tail\x20'+_0x210841(0x235,0x3f)+_0x6aac3f(0x89,-0xc3)+'og\x20li'+_0x210841(0x448,0x35a)+'\x20\x20\x20np'+_0x210841(0x19d,0x228)+'ink-c'+_0x6aac3f(0xb9,0xac)+'onfig'+_0x6aac3f(0x54,0x4c)+_0x210841(0x50d,0x446)+_0x210841(0x229,0x383)+_0x6aac3f(0x200,0x1cb)+_0x6aac3f(0x1f9,0x3ac)+_0x6aac3f(0xe,0x1cc)+_0x6aac3f(0x1f8,0x5a)+_0x6aac3f(-0xc6,-0x2a0)+_0x6aac3f(-0x9f,-0x1eb)+_0x6aac3f(0x16a,0x1f)+_0x210841(0x31a,0x2a5)+_0x210841(0x16e,0x73)+'ctor\x20'+_0x210841(0x424,0x54e)+_0x210841(0x424,0x609)+_0x6aac3f(-0x60,0x3b)+_0x6aac3f(0xea,-0x2)+'nosti'+'cs\x0a\x20\x20'+'\x20\x20npx'+_0x6aac3f(0x16a,0x1dd)+_0x6aac3f(0x106,0xa6)+_0x6aac3f(0x322,0x3ba)+_0x210841(0x13f,0x2d)+'-forc'+_0x210841(0x483,0x47e)+_0x6aac3f(-0x76,0xf5)+_0x210841(0x42a,0x515)+_0x210841(0x517,0x6be)+'thout'+_0x6aac3f(-0x11,-0x1c5)+'pt\x0a\x20\x20')),process[_0x210841(0x2e3,0x1b4)](-0x93*-0xf+-0xf*0x257+-0x153*-0x14));function isRunning(_0x2bd1ce){const _0x280777={};_0x280777[_0x193efd(-0x22a,-0x49)]='Disk\x20'+_0x4d7cf9(0x359,0x206),_0x280777[_0x193efd(0x268,0xd6)]=_0x193efd(0xb2,0x1c0)+'\x20not\x20'+'deter'+_0x4d7cf9(0x76,0x252)+_0x193efd(-0x110,0x98)+_0x4d7cf9(0x1,0x163)+_0x193efd(-0x89,0x45);function _0x193efd(_0x331d3f,_0x5cf883){return _0x210841(_0x5cf883- -0x260,_0x331d3f);}function _0x4d7cf9(_0x525d65,_0x12c874){return _0x210841(_0x12c874- -0x9f,_0x525d65);}_0x280777[_0x4d7cf9(0x462,0x413)]=function(_0x1e3422,_0x536519){return _0x1e3422!==_0x536519;},_0x280777[_0x193efd(-0x169,0x22)]=_0x4d7cf9(0x2e2,0x31f);const _0x3393d3=_0x280777;try{if(_0x3393d3[_0x4d7cf9(0x306,0x413)](_0x3393d3[_0x4d7cf9(-0x1c,0x1e3)],_0x3393d3['FPkJY']))_0x1cf222(_0x3393d3[_0x193efd(0x1a9,-0x49)],_0x3393d3['YQcTl']);else return process['kill'](_0x2bd1ce,0x2236+-0x1558+-0xb7*0x12),!![];}catch{return![];}}function getPid(){function _0x48ba45(_0x352a6c,_0x3e260b){return _0x6aac3f(_0x3e260b-0x53f,_0x352a6c);}const _0x4ae814={'XcMDi':function(_0x406efe,_0xcbff6,_0x287ef9){return _0x406efe(_0xcbff6,_0x287ef9);},'TFaNZ':_0x20aeb6(0x575,0x61a),'SjHDB':function(_0x2919f7,_0x12cb1a,_0x2dbf08){return _0x2919f7(_0x12cb1a,_0x2dbf08);},'uofWg':'.env\x20'+_0x20aeb6(0x4da,0x37f),'UZcpQ':_0x48ba45(0x73a,0x6ce)+_0x48ba45(0x499,0x666)+_0x20aeb6(0x1af,0x367)+'able','npQSn':_0x20aeb6(0x46b,0x5b7)+_0x20aeb6(0x583,0x4f2)+_0x48ba45(0x607,0x6d7)+_0x20aeb6(0x650,0x4ee)+_0x20aeb6(0x4a6,0x5f1),'AdYrg':_0x20aeb6(0x750,0x583)+_0x48ba45(0x83a,0x857),'yatui':function(_0x5a3b1b,_0x8d1dee){return _0x5a3b1b(_0x8d1dee);},'dcsgh':'liste'+'ning','rkRNt':_0x20aeb6(0x6f1,0x698)+_0x20aeb6(0x650,0x5e2),'hOxBV':function(_0x22fd79,_0x2db387){return _0x22fd79(_0x2db387);},'xTjBh':function(_0x1ac763,_0x1365a7,_0x51c8cf){return _0x1ac763(_0x1365a7,_0x51c8cf);},'lwdxD':function(_0x3af601,_0x1361e4){return _0x3af601(_0x1361e4);},'fTHVo':function(_0x1c6b5a,_0x23ace0){return _0x1c6b5a!==_0x23ace0;},'dfqFN':_0x48ba45(0x892,0x85e),'OSHlF':'aUANi','nrvXZ':function(_0x4d8b5b,_0x288471){return _0x4d8b5b===_0x288471;},'ueQyO':function(_0x3e5ba0,_0x2a5364){return _0x3e5ba0(_0x2a5364);}};if(!_0x4ae814['hOxBV'](existsSync,PID_FILE))return null;function _0x20aeb6(_0x1888e4,_0x185606){return _0x6aac3f(_0x185606-0x428,_0x1888e4);}const _0x5affbe=_0x4ae814['SjHDB'](parseInt,_0x4ae814[_0x48ba45(0x6c2,0x55b)](readFileSync,PID_FILE,_0x48ba45(0x8af,0x731))[_0x20aeb6(0x5df,0x748)](),-0x3df*-0x5+0x259*-0xa+0x429);if(_0x4ae814[_0x20aeb6(0x6ef,0x59e)](isNaN,_0x5affbe)||!isRunning(_0x5affbe)){if(_0x4ae814[_0x48ba45(0x641,0x762)](_0x4ae814[_0x48ba45(0x6be,0x811)],_0x4ae814['OSHlF'])){try{if(_0x4ae814[_0x48ba45(0x86d,0x6f4)](_0x48ba45(0x603,0x607),_0x20aeb6(0x5d8,0x4f0)))_0x4ae814[_0x20aeb6(0x595,0x6df)](unlinkSync,PID_FILE);else try{_0x4ae814[_0x48ba45(0x8d1,0x783)](_0x4bee46,_0x2908d3,_0x4ae814[_0x48ba45(0x624,0x6ba)]),_0x4ae814['SjHDB'](_0x3fcab7,_0x4ae814[_0x20aeb6(0x5a0,0x6d4)],_0x4ae814[_0x20aeb6(0x6a5,0x5be)]);}catch{_0x29a64e(_0x4ae814[_0x20aeb6(0x53a,0x6d4)],_0x4ae814[_0x48ba45(0x741,0x7c0)]);}}catch{}return null;}else{const _0x45136a={'kfXzj':function(_0x305df8,_0x56eb1b){return _0x305df8===_0x56eb1b;},'rLsqQ':_0x4ae814['AdYrg'],'PgAmw':function(_0x1eb6ce,_0x5c7b36){function _0xeed673(_0x17fa7c,_0x32d471){return _0x20aeb6(_0x32d471,_0x17fa7c- -0x407);}return _0x4ae814[_0xeed673(-0x61,0x2b)](_0x1eb6ce,_0x5c7b36);}},_0x5a3349=_0x3b627e[_0x20aeb6(0x4fd,0x5eb)+_0x48ba45(0x71f,0x5f9)+'er']();_0x5a3349['once'](_0x48ba45(0x77d,0x626),_0x327d47=>{function _0x3f303e(_0x39f7df,_0x510529){return _0x20aeb6(_0x39f7df,_0x510529- -0x5cd);}function _0x3c6b38(_0x17318d,_0x149308){return _0x20aeb6(_0x149308,_0x17318d-0x19f);}if(_0x45136a[_0x3c6b38(0x5bd,0x5a1)](_0x327d47[_0x3f303e(-0x132,-0x84)],_0x45136a[_0x3c6b38(0x580,0x739)]))_0x45136a[_0x3c6b38(0x885,0x914)](_0xcc5a45,![]);else _0x2ddaee(!![]);}),_0x5a3349[_0x20aeb6(0x733,0x619)](_0x4ae814[_0x20aeb6(0x3a8,0x4ff)],()=>{function _0x2162a3(_0x17e479,_0x553ce1){return _0x20aeb6(_0x553ce1,_0x17e479- -0x1d5);}_0x5a3349[_0x16151b(0x540,0x375)]();function _0x16151b(_0x2cef57,_0xc08aa7){return _0x20aeb6(_0x2cef57,_0xc08aa7- -0x4e);}_0x45136a[_0x16151b(0x695,0x698)](_0x430990,!![]);}),_0x5a3349[_0x48ba45(0x838,0x7f5)+'n'](_0x2fe4b2,_0x4ae814[_0x20aeb6(0x5ca,0x6d2)]);}}return _0x5affbe;}function getWatchdogPid(){const _0x3f6280={'bwxwF':_0x2f7b24(0x739,0x535)+'RM','TgTlw':function(_0x3458e7,_0x1eaff6){return _0x3458e7||_0x1eaff6;},'NSKVX':_0x2f7b24(0x3fc,0x2ba)+'r','tGxeB':function(_0x285cdf,_0x1ec896){return _0x285cdf(_0x1ec896);},'fkmSQ':function(_0x43d0ac,_0x4f1a05,_0x40e8d5,_0x2f4d9a){return _0x43d0ac(_0x4f1a05,_0x40e8d5,_0x2f4d9a);},'LAgQh':'inher'+'it','GuFEo':function(_0x2c8241,_0x5aa022,_0x5b7701){return _0x2c8241(_0x5aa022,_0x5b7701);},'ZnjAM':function(_0x165922,_0xc8f95c,_0x1355c7){return _0x165922(_0xc8f95c,_0x1355c7);},'PyuSd':_0x114e7c(0x1fd,0x270),'YoYAx':function(_0x20bf57,_0x123d6d){return _0x20bf57(_0x123d6d);},'ghwQK':function(_0x2348ac,_0x123293){return _0x2348ac!==_0x123293;},'xJAYh':_0x2f7b24(0x535,0x51f),'yzYGB':function(_0x17f745,_0x259d56){return _0x17f745(_0x259d56);}};if(!existsSync(WATCHDOG_PID_FILE))return null;const _0x73d70b=_0x3f6280[_0x114e7c(0x3ef,0x37c)](parseInt,_0x3f6280[_0x114e7c(0x156,0x1c2)](readFileSync,WATCHDOG_PID_FILE,_0x3f6280[_0x114e7c(0x2e5,0x1ae)])['trim'](),0xfe*-0x5+0x85c*-0x1+0xd5c);function _0x2f7b24(_0x53ae5a,_0x3247b6){return _0x6aac3f(_0x3247b6-0x283,_0x53ae5a);}if(_0x3f6280[_0x2f7b24(0x1db,0x31e)](isNaN,_0x73d70b)||!_0x3f6280[_0x114e7c(0x263,0x119)](isRunning,_0x73d70b)){if(_0x3f6280['ghwQK'](_0x114e7c(0x1af,0x31a),_0x3f6280[_0x2f7b24(0x58d,0x4be)])){const _0x4c389c={'LtThW':_0x3f6280['bwxwF'],'GHWTQ':function(_0x4a5cde,_0x28baea){function _0x3cae8c(_0x3baecf,_0x5e7ddc){return _0x2f7b24(_0x5e7ddc,_0x3baecf-0x4b);}return _0x3f6280[_0x3cae8c(0x54a,0x426)](_0x4a5cde,_0x28baea);}},_0x49b7d8=_0xc37340(_0x19afe3,_0x3f6280[_0x114e7c(0x55,0x33)],_0x114e7c(0x10d,0x1fb)+'dog.j'+'s'),_0x5cb7eb={};if(_0x4310d3[_0x114e7c(0x92,0x11d)])_0x5cb7eb[_0x114e7c(0x39d,0x1e0)]=_0x3f6280['tGxeB'](_0x906fef,_0x234d0e[_0x2f7b24(0x46e,0x322)]);if(_0x63d2fb[_0x2f7b24(0xcb,0x22a)])_0x5cb7eb[_0x114e7c(0x250,0x63)+_0x2f7b24(0x14e,0x239)+'T']=_0x5bf58d['host'];const _0x3cf20e=_0x3f6280['fkmSQ'](_0x234d67,_0x5e4768['execP'+_0x2f7b24(0x2d9,0x494)],[_0x49b7d8,_0x40fbdd['strin'+'gify'](_0x5cb7eb)],{'cwd':_0x1e6365,'env':_0x1b97e8,'stdio':_0x3f6280[_0x2f7b24(0x63e,0x59e)]}),_0xfde61c=_0x16b91c[_0x114e7c(-0x40,0x11d)]||_0x2b12e1[_0x2f7b24(0x48b,0x3e5)]||0xf05*-0x1+-0xf7b*-0x2+-0x271;_0xbd00ff[_0x2f7b24(0x48f,0x37b)](_0x2f7b24(0x354,0x345)+_0x2f7b24(0x355,0x289)+_0x114e7c(0x292,0x193)+_0x2f7b24(0x31f,0x381)+_0x114e7c(0x140,0x201)+'tchdo'+_0x2f7b24(0x2a9,0x47a)+_0x2f7b24(0x40c,0x53e)+_0x114e7c(0x311,0x251)+_0x114e7c(-0x23f,-0x44)+_0x2f7b24(0x536,0x578)),_0x3a2662['log'](_0x2f7b24(0x365,0x1bf)+_0x114e7c(0x457,0x2da)+'/loca'+'lhost'+':'+_0xfde61c),_0x5c62f7[_0x2f7b24(0x3f2,0x37b)](_0x2f7b24(0x3de,0x4ab)+_0x2f7b24(0x4b9,0x2e3)+_0x2f7b24(0x44f,0x4e8)+_0x2f7b24(0x2bc,0x3c5)+'for\x20r'+_0x2f7b24(0x448,0x4db)+_0x2f7b24(0x14c,0x2bb)+_0x114e7c(0x2eb,0x244)),_0x40c8a3['on'](_0x114e7c(0xa5,0xc2)+'T',()=>{function _0x5135e3(_0x2e6645,_0x2e7c3c){return _0x114e7c(_0x2e6645,_0x2e7c3c-0x47d);}function _0x24620c(_0x51530e,_0x31c6f2){return _0x114e7c(_0x31c6f2,_0x51530e-0x47d);}_0x3cf20e[_0x24620c(0x7e6,0x6fd)](_0x4c389c[_0x24620c(0x5cd,0x512)]);}),_0x37d4ca['on'](_0x114e7c(0x2e8,0x330)+'RM',()=>{function _0x431cc2(_0xe561a8,_0x27d296){return _0x2f7b24(_0xe561a8,_0x27d296-0xfc);}_0x3cf20e['kill'](_0x431cc2(0x52a,0x631)+'RM');}),_0x3cf20e['on'](_0x114e7c(0xfa,0x14d),_0x257a08=>{function _0x44fb0d(_0x450302,_0x304e1b){return _0x114e7c(_0x304e1b,_0x450302-0x46d);}function _0x4f973b(_0x45524c,_0x19788f){return _0x114e7c(_0x45524c,_0x19788f- -0xd);}_0x4813cf[_0x4f973b(0x1ca,0x140)](_0x4c389c[_0x44fb0d(0x658,0x4d1)](_0x257a08,0xa72+0x1f5a*0x1+0x2*-0x14e6));});}else{try{_0x3f6280['yzYGB'](unlinkSync,WATCHDOG_PID_FILE);}catch{}return null;}}function _0x114e7c(_0x909fcd,_0x562f7d){return _0x6aac3f(_0x562f7d-0x7e,_0x909fcd);}return _0x73d70b;}function getWatchdogState(){function _0x4a86ad(_0x2ea751,_0x49e193){return _0x6aac3f(_0x49e193-0x56d,_0x2ea751);}function _0x1ca02f(_0x8ec09a,_0x4340c8){return _0x6aac3f(_0x8ec09a-0x54,_0x4340c8);}const _0x58a35f={'fDkqM':function(_0x36276f,_0x353050,_0x177657){return _0x36276f(_0x353050,_0x177657);},'wdUlT':_0x1ca02f(0xc9,0x114)+_0x4a86ad(0x68b,0x65f)+'on','XLpEi':function(_0x4009ac,_0x5984da){return _0x4009ac(_0x5984da);},'YaRQd':function(_0x2d1c7f,_0x56fd37){return _0x2d1c7f!==_0x56fd37;},'sqpbC':function(_0x2c28c4,_0x251880){return _0x2c28c4===_0x251880;},'Dpyrn':'lPTZs','aGIzW':function(_0x29939a,_0x3668ab,_0x19b62d){return _0x29939a(_0x3668ab,_0x19b62d);},'sgvIv':'utf8'};if(!_0x58a35f[_0x1ca02f(-0x5a,0x11e)](existsSync,WATCHDOG_STATE_FILE))return null;try{if(_0x58a35f[_0x1ca02f(-0x59,-0x9b)]('lPTZs',_0x58a35f[_0x1ca02f(0x25a,0x2b0)]))return JSON[_0x1ca02f(0x261,0x421)](_0x58a35f['aGIzW'](readFileSync,WATCHDOG_STATE_FILE,_0x58a35f[_0x4a86ad(0x7de,0x784)]));else{delete _0x49a83c[_0x1ca02f(0x365,0x273)][_0x58a35f[_0x1ca02f(0x235,0x26f)](_0x476dad,_0x355b0a,_0x58a35f['wdUlT'])];const _0x324c01=_0x58a35f[_0x4a86ad(0x5d5,0x4bf)](_0x161af1,_0x58a35f[_0x4a86ad(0x6a0,0x74e)](_0x288ce4,_0x276df4,_0x58a35f[_0x4a86ad(0x7e9,0x7b2)])),_0x2f7bb5=_0x324c01['versi'+'on'];_0x58a35f[_0x1ca02f(0x338,0x332)](_0x2f7bb5,_0x45e455)?_0x1439cb[_0x4a86ad(0x734,0x665)]('\x0a⬡\x20Up'+_0x1ca02f(0x1ab,0x316)+_0x4a86ad(0x8e5,0x6e5)+_0x505d3d+_0x4a86ad(0x7a0,0x679)+_0x2f7bb5):_0x51080f[_0x4a86ad(0x562,0x665)]('\x0a⬡\x20Al'+_0x1ca02f(0x55,-0x168)+_0x1ca02f(0x1c6,0x300)+_0x1ca02f(0x31d,0x20f)+'test\x20'+_0x4a86ad(0x647,0x6cc)+_0x1ca02f(0xd5,0x149)+_0x93bd24+').');}}catch{return null;}}function formatUptime(_0x5f5cce){const _0x49a63d={};_0x49a63d[_0x124b39(-0x5b,-0x172)]=function(_0x20a82a,_0x453bca){return _0x20a82a/_0x453bca;};function _0x124b39(_0x5a3c9e,_0x26bc09){return _0x6aac3f(_0x5a3c9e- -0x3c,_0x26bc09);}_0x49a63d[_0x1ae7fc(-0x1ad,-0x2f0)]=function(_0x4ad9c9,_0x43d0ab){return _0x4ad9c9/_0x43d0ab;},_0x49a63d[_0x124b39(0xdd,-0xe7)]=function(_0x555c9a,_0x571bbf){return _0x555c9a/_0x571bbf;},_0x49a63d[_0x1ae7fc(0xac,0xe6)]=function(_0x33581c,_0x30a216){return _0x33581c>_0x30a216;},_0x49a63d['xumTA']=function(_0x56450e,_0x212088){return _0x56450e%_0x212088;},_0x49a63d[_0x124b39(0x5c,0xb4)]=function(_0x17cd6d,_0x192399){return _0x17cd6d%_0x192399;},_0x49a63d[_0x1ae7fc(-0xb6,0x23)]=function(_0x46cf7b,_0x4cbb42){return _0x46cf7b%_0x4cbb42;},_0x49a63d['GNIeY']=function(_0xb74d0c,_0x4f5af1){return _0xb74d0c%_0x4f5af1;};const _0x3ec8d4=_0x49a63d,_0x1b4180=Math[_0x124b39(0xbd,0x232)](_0x3ec8d4['XdehE'](_0x5f5cce,-0x1710+-0x13*0x1ed+0x3f8f)),_0x401cc3=Math[_0x1ae7fc(0x1,-0x45)](_0x3ec8d4[_0x1ae7fc(-0x1ad,-0x70)](_0x1b4180,-0x1151+0x1*-0x1949+0x156b*0x2));function _0x1ae7fc(_0x3e8ceb,_0x525ae2){return _0x6aac3f(_0x3e8ceb- -0xf8,_0x525ae2);}const _0xbe9293=Math[_0x1ae7fc(0x1,-0x55)](_0x401cc3/(0xe05+0xecc*-0x1+0x103*0x1)),_0x47d49e=Math[_0x1ae7fc(0x1,-0x95)](_0x3ec8d4[_0x124b39(0xdd,-0x112)](_0xbe9293,-0x2645*0x1+-0x217*-0xb+0x60*0x29));if(_0x3ec8d4['apEXD'](_0x47d49e,0x3f6*0x6+-0x1ef*0x1+0x51*-0x45))return _0x47d49e+'d\x20'+_0x3ec8d4['xumTA'](_0xbe9293,0x691+0x2384+-0x29fd)+'h\x20'+_0x3ec8d4[_0x1ae7fc(-0x60,0x10c)](_0x401cc3,0x1fbf+0x45*0x59+-0x1bc*0x20)+'m';if(_0x3ec8d4[_0x124b39(0x168,0xc2)](_0xbe9293,-0x7*-0x559+-0x1*0x19f9+-0xa3*0x12))return _0xbe9293+'h\x20'+_0x401cc3%(-0x1a52+0xb*-0xef+0x24d3)+'m\x20'+_0x3ec8d4[_0x124b39(0x6,0x13)](_0x1b4180,-0x1b53+0x1*0x15bb+-0x2*-0x2ea)+'s';if(_0x401cc3>-0x1*-0x17f2+0x17e*0x1+0x65c*-0x4)return _0x401cc3+'m\x20'+_0x3ec8d4[_0x124b39(0xa3,0x243)](_0x1b4180,-0x1758+0xbb2+0xbe2)+'s';return _0x1b4180+'s';}if(command==='stop'){const watchdogPid=getWatchdogPid();if(watchdogPid){try{process[_0x210841(0x4ff,0x4ad)](watchdogPid,'SIGTE'+'RM'),console[_0x210841(0x30c,0x157)](_0x210841(0x2d6,0x4c5)+_0x6aac3f(-0xc,-0xb3)+_0x210841(0x1c0,0x26a)+_0x210841(0x237,0x418)+_0x210841(0x176,0xdb)+'\x20(PID'+'\x20'+watchdogPid+').');try{unlinkSync(WATCHDOG_PID_FILE);}catch{}try{unlinkSync(PID_FILE);}catch{}}catch(_0x508b77){console[_0x210841(0x2fb,0x4cc)](_0x210841(0x469,0x49c)+_0x210841(0x535,0x43d)+_0x6aac3f(0xdb,0x1fa)+_0x210841(0x2b5,0x23f)+_0x6aac3f(-0xc,-0x4)+_0x6aac3f(-0x54,0x74)+_0x6aac3f(0xa4,0x266)+_0x210841(0x169,0xb6)+watchdogPid+'):',_0x508b77['messa'+'ge']),process[_0x6aac3f(0xcf,-0x70)](0x26b3+-0x362+0x10*-0x235);}process[_0x6aac3f(0xcf,0x1d1)](0x92*0x2b+0x1a9e+-0x3324);}const pid=getPid();!pid&&(console['log'](_0x210841(0x2d6,0x276)+'ink\x20i'+'s\x20not'+_0x210841(0x1bf,-0x2d)+'ing.'),process[_0x6aac3f(0xcf,-0x14)](0xe53*0x2+0x715+-0x23bb));try{process[_0x210841(0x4ff,0x57a)](pid,'SIGTE'+'RM'),console['log'](_0x210841(0x2d6,0x484)+_0x6aac3f(0x6,-0x1c0)+_0x6aac3f(-0x4e,0x12c)+_0x210841(0x1ad,0x182)+'D\x20'+pid+').');try{unlinkSync(PID_FILE);}catch{}}catch(_0x488df8){console[_0x6aac3f(0xe7,0x119)](_0x210841(0x469,0x582)+_0x210841(0x535,0x649)+_0x6aac3f(0xdb,-0x128)+_0x210841(0x2b5,0x38b)+_0x6aac3f(0x289,0xd6)+_0x6aac3f(0x126,-0x60)+pid+'):',_0x488df8[_0x6aac3f(0x6a,0x17f)+'ge']),process[_0x210841(0x2e3,0x4cd)](0x65*-0x1d+-0x5*0x59c+0x277e);}process['exit'](0x85d+0x1522+-0x1d7f);}function _0x6aac3f(_0x543053,_0x3ae6ed){return _0x43f7(_0x543053- -0x1ed,_0x3ae6ed);}if(command===_0x6aac3f(0x148,0x2ff)+'e'){const require=createRequire(import.meta.url),pkg=require(join(ROOT,'packa'+_0x210841(0x306,0x362)+'on')),currentVersion=pkg[_0x210841(0x373,0x53d)+'on'];console[_0x6aac3f(0xf8,-0x4d)](_0x210841(0x4a3,0x3dd)+_0x6aac3f(0x225,0x18d)+_0x6aac3f(0x15f,0x26)+_0x6aac3f(0x10e,-0xc3)+currentVersion),console[_0x6aac3f(0xf8,0x152)]('⬡\x20Che'+_0x210841(0x156,0xfa)+_0x210841(0x436,0x41a)+_0x210841(0x35c,0x3f4)+_0x6aac3f(0x317,0x1f5)+'\x0a');const wasRunning=!!(getWatchdogPid()||getPid());if(wasRunning){console[_0x6aac3f(0xf8,0x2a8)](_0x210841(0x38e,0x587)+_0x6aac3f(0xbb,-0x10b)+'\x20Upli'+_0x210841(0x22c,0x11b)+_0x6aac3f(0x251,0x3cb)+_0x6aac3f(0x148,0x27b)+_0x6aac3f(0x125,0x2d4));const watchdogPid=getWatchdogPid(),serverPid=getPid(),pidToKill=watchdogPid||serverPid;try{process['kill'](pidToKill,'SIGTE'+'RM');try{unlinkSync(WATCHDOG_PID_FILE);}catch{}try{unlinkSync(PID_FILE);}catch{}const _0x53ffc7={};_0x53ffc7[_0x6aac3f(0x291,0x383)]=_0x210841(0x3f8,0x284)+'e',execSync('sleep'+_0x6aac3f(0xaf,0x114)+_0x210841(0x2d1,0x37a)+'null\x20'+'||\x20ti'+_0x210841(0x455,0x2bd)+'\x20/t\x201'+'\x20/nob'+'reak\x20'+_0x6aac3f(0x1d,-0x18c)+_0x210841(0x42e,0x424),_0x53ffc7);}catch{}}try{console[_0x210841(0x30c,0x457)]('⬡\x20Upd'+_0x210841(0x1ae,0x33f)+_0x210841(0x333,0x362)+_0x210841(0x14b,0x29b)+_0x6aac3f(-0x3a,0x1b9)+_0x6aac3f(0x2e,-0xbd)+_0x6aac3f(0xb3,0x4f)+_0x6aac3f(-0xc3,-0x90));const _0x4bfb3a={};_0x4bfb3a[_0x6aac3f(0x291,0x419)]='inher'+'it',execSync(_0x210841(0x539,0x695)+_0x6aac3f(-0x88,-0x152)+_0x6aac3f(-0x72,0xab)+'moonc'+_0x210841(0x18e,0x9b)+'y/upl'+_0x210841(0x1fb,0x378)+_0x210841(0x34e,0x383),_0x4bfb3a);}catch(_0x5f0939){console[_0x6aac3f(0xe7,0x207)](_0x6aac3f(-0x7d,-0x14b)+_0x6aac3f(0x14,-0x59)+_0x6aac3f(0x2b0,0x17b)+'d:',_0x5f0939[_0x6aac3f(0x6a,-0x112)+'ge']),console[_0x210841(0x2fb,0x384)](_0x6aac3f(0x78,0x88)+_0x210841(0x1bf,0x328)+_0x6aac3f(0xbe,-0x11e)+'anual'+_0x6aac3f(0x1e5,0x99)+_0x6aac3f(-0xb7,-0xae)+'date\x20'+_0x6aac3f(0x1b,0xf9)+_0x6aac3f(-0x96,-0x230)+_0x210841(0x2c6,0xd8)+'/upli'+_0x210841(0x31a,0x44d)+'at');if(wasRunning){console['log'](_0x210841(0x244,0x2f4)+_0x6aac3f(0x1d3,0x355)+_0x6aac3f(0xbc,0x9f)+'plink'+'...');const _0x1dba67={};_0x1dba67[_0x210841(0x4a5,0x36f)]=_0x6aac3f(0x28b,0x29c)+'it',execSync(_0x6aac3f(0x313,0x3a4)+'k-cha'+_0x210841(0x3ad,0x4d1)+_0x210841(0x170,0x135)+_0x210841(0x201,0x17b)+'h',_0x1dba67);}process[_0x210841(0x2e3,0x3b1)](0xf*0x125+-0x1f8+-0xa*0x185);}try{delete require[_0x6aac3f(0x311,0x113)][join(ROOT,_0x210841(0x289,0x36c)+_0x210841(0x306,0x261)+'on')];const newPkg=require(join(ROOT,_0x6aac3f(0x75,-0x55)+'ge.js'+'on')),newVersion=newPkg['versi'+'on'];newVersion!==currentVersion?console['log'](_0x6aac3f(-0x7d,-0x5a)+'dated'+_0x210841(0x38c,0x24e)+currentVersion+_0x6aac3f(0x10c,-0xa6)+newVersion):console['log'](_0x6aac3f(0x1eb,0x2d6)+_0x210841(0x215,0x8b)+_0x210841(0x386,0x22f)+_0x6aac3f(0x2c9,0x1b8)+_0x6aac3f(-0x3e,-0x1e1)+_0x6aac3f(0x15f,0x2d0)+_0x210841(0x295,0x26c)+currentVersion+').');}catch{console[_0x6aac3f(0xf8,0x295)]('\x0a⬡\x20Up'+_0x210841(0x228,0x15b)+_0x210841(0x42d,0x5ef)+_0x6aac3f(0x187,0xa7));}if(wasRunning){console[_0x6aac3f(0xf8,0x2f4)](_0x210841(0x494,0x619)+_0x210841(0x329,0x4a9)+_0x6aac3f(0x19a,0x305)+_0x6aac3f(0x31a,0x2c7)+'..');try{const _0x4a95b8={};_0x4a95b8['stdio']=_0x6aac3f(0x28b,0x362)+'it',execSync(_0x6aac3f(0x313,0x4ee)+'k-cha'+_0x210841(0x3ad,0x4cd)+'rt\x20--'+'detac'+'h',_0x4a95b8);}catch{console[_0x210841(0x30c,0x2ae)](_0x6aac3f(0x2ed,0x2a0)+_0x210841(0x1aa,0x1a)+_0x6aac3f(0x2e5,0x29b)+_0x210841(0x4c4,0x32a)+_0x210841(0x4da,0x411)+_0x210841(0x250,0x20c)+_0x210841(0x521,0x631)+'ly\x20wi'+'th:\x20u'+_0x210841(0x242,0x1c5)+'-chat'+'\x20star'+'t');}}process[_0x210841(0x2e3,0x285)](0x37*-0x5f+0x1c1*0x15+-0x1*0x106c);}if(command===_0x210841(0x463,0x535)+'s'){const watchdogPid=getWatchdogPid(),state=getWatchdogState();if(watchdogPid&&state){const uptime=formatUptime(Date['now']()-state['start'+_0x6aac3f(0x20,0x16e)]);console['log']('⬡\x20Upl'+_0x210841(0x286,0x33f)+'s\x20run'+_0x6aac3f(0x22,-0xbd)+'(watc'+_0x210841(0x356,0x33a)+'mode)'),console['log'](_0x6aac3f(-0xb6,-0x191)+_0x6aac3f(-0x41,0x14b)+'\x20PID:'+'\x20'+watchdogPid);if(state[_0x210841(0x24b,0x31c)+_0x210841(0x395,0x53b)])console[_0x210841(0x30c,0x146)](_0x210841(0x1b6,0x2dd)+_0x6aac3f(-0x7,-0x17b)+_0x210841(0x4c9,0x6b3)+'\x20'+state['serve'+_0x210841(0x395,0x4e5)]);console[_0x210841(0x30c,0x435)](_0x6aac3f(-0xdc,-0x8a)+_0x210841(0x53a,0x489)+_0x210841(0x424,0x414)+'\x20'+uptime),console[_0x210841(0x30c,0x3ed)]('\x20\x20Res'+_0x6aac3f(0xcb,0x222)+':\x20\x20\x20\x20'+'\x20'+(state[_0x6aac3f(0x207,0xeb)+'rtCou'+'nt']||-0x1b01+-0x19bb+-0x2a3*-0x14));if(state['backo'+'ffMs']>-0x1e4d*0x1+-0x15ad+0x37e2)console['log'](_0x210841(0x183,0x309)+'koff:'+_0x6aac3f(0x210,0xd0)+'\x20'+state[_0x6aac3f(0x30b,0x119)+'ffMs']+'ms');}else{const pid=getPid();pid?console[_0x6aac3f(0xf8,0xc)](_0x6aac3f(0xc2,-0x12)+_0x210841(0x286,0xed)+'s\x20run'+'ning\x20'+_0x210841(0x44c,0x392)+pid+').'):console['log'](_0x210841(0x2d6,0x287)+'ink\x20i'+'s\x20not'+_0x210841(0x1bf,0x1dd)+_0x6aac3f(0x2d3,0xf5));}process[_0x210841(0x2e3,0x2e9)](0x1fd+0x4*0x91a+0x2665*-0x1);}if(command===_0x210841(0x19f,-0x2d)+_0x6aac3f(0x212,0x8c)){const require=createRequire(import.meta.url),pkg=require(join(ROOT,_0x6aac3f(0x75,-0xbe)+_0x6aac3f(0xf2,0x27b)+'on')),readline=await import(_0x6aac3f(0x2bf,0x4a7)+'ine'),{rmSync}=await import('fs');console[_0x6aac3f(0xf8,0xe4)](_0x210841(0x13e,0x2f)+_0x210841(0x308,0x1db)+_0x210841(0x31f,0x27b)+_0x6aac3f(0x29d,0x236)+_0x6aac3f(0x96,0x13d)+pkg[_0x210841(0x373,0x2a4)+'on']+'\x0a'),console[_0x210841(0x30c,0x148)](_0x210841(0x1ac,0x56)+_0x210841(0x3e6,0x3fd)+'l:'),console[_0x210841(0x30c,0x22f)]('\x20\x20\x20\x20•'+_0x210841(0x48a,0x337)+_0x6aac3f(0x31c,0x193)+'Uplin'+_0x6aac3f(0xa9,-0x8e)+_0x210841(0x1fd,0x6c)+'nd\x20wa'+_0x210841(0x3b0,0x2cc)+'g'),console['log']('\x20\x20\x20\x20•'+_0x210841(0x162,0xfd)+_0x210841(0x1b5,0x34b)+_0x6aac3f(0x64,0x42)+_0x210841(0x246,0x208)+_0x210841(0x450,0x556)+'\x20(.en'+_0x210841(0x305,0x2fd)+'nfig\x20'+_0x210841(0x4b4,0x33f)+')'),console[_0x210841(0x30c,0x201)]('\x20\x20\x20\x20•'+_0x210841(0x162,0x250)+_0x210841(0x1b5,0x174)+'l\x20upl'+_0x210841(0x3b3,0x2bf)+_0x6aac3f(0x1a9,0x2d9)+_0x210841(0x50e,0x30b)+_0x6aac3f(-0xa1,-0x18f)),console['log'](_0x6aac3f(0xf0,0x23)+_0x210841(0x162,0x252)+_0x210841(0x1b5,0xd5)+_0x6aac3f(0x1c8,0x13f)+'s\x20and'+_0x210841(0x43d,0x5fc)+_0x6aac3f(0x2a0,0x36a)),console[_0x6aac3f(0xf8,0x21f)](_0x6aac3f(0xf0,0x56)+_0x210841(0x162,0x216)+_0x6aac3f(-0xd2,-0x1a6)+'ent\x20a'+_0x6aac3f(0x1b7,0x228)+_0x210841(0x33b,0x2d4)+_0x210841(0x13d,0x236)+_0x6aac3f(0x113,0x251)+'es'),console[_0x210841(0x30c,0x31c)](_0x6aac3f(0xf0,0x33)+'\x20Unin'+_0x6aac3f(-0x4c,-0x225)+_0x210841(0x530,0x547)+_0x210841(0x198,0x19a)+'ackag'+_0x210841(0x182,0x2d3)+'bally'+'\x0a'),console['log'](_0x210841(0x36e,0x483)+_0x210841(0x245,0x1df)+'actio'+_0x6aac3f(0x1bf,0x16b)+_0x210841(0x2ba,0x164)+'e\x20und'+'one.\x0a');const _0x1b8531={};_0x1b8531['input']=process[_0x6aac3f(0x1e9,0x217)],_0x1b8531[_0x6aac3f(0x246,0x172)+'t']=process['stdou'+'t'];const rl=readline['creat'+_0x210841(0x2c4,0x32e)+_0x210841(0x526,0x328)](_0x1b8531),answer=await new Promise(_0x22de45=>{const _0x42ccd6={};_0x42ccd6[_0x1c69d6(0x551,0x5ef)]=_0x2f2b05(0x4e1,0x6cc)+'e\x20\x22un'+_0x2f2b05(0x53a,0x558)+_0x2f2b05(0x77c,0x943)+_0x2f2b05(0x5f8,0x63c)+_0x1c69d6(0x4ff,0x428)+'\x20';function _0x2f2b05(_0x5390f8,_0x1b1512){return _0x6aac3f(_0x5390f8-0x4f9,_0x1b1512);}function _0x1c69d6(_0x235126,_0x93f369){return _0x6aac3f(_0x235126-0x5ab,_0x93f369);}const _0x2f9092=_0x42ccd6;rl[_0x1c69d6(0x736,0x74e)+_0x1c69d6(0x876,0x72d)](_0x2f9092[_0x2f2b05(0x49f,0x5a3)],_0x22de45);});rl[_0x6aac3f(-0x65,-0x1c8)]();answer['trim']()['toLow'+_0x6aac3f(0x8f,0x20f)+'e']()!=='unins'+_0x6aac3f(0x212,0x3e7)&&(console[_0x210841(0x30c,0x232)](_0x210841(0x317,0x24d)+_0x6aac3f(-0x4d,0x82)+_0x210841(0x4d6,0x49e)+_0x210841(0x387,0x56c)+_0x6aac3f(0xa3,0x17e)+_0x6aac3f(0x16c,0x96)+_0x210841(0x24a,0x422)),process[_0x6aac3f(0xcf,-0xe3)](0x1300+0x2235+-0x3535));console[_0x210841(0x30c,0x1f1)]('');const watchdogPid=getWatchdogPid(),serverPid=getPid();if(watchdogPid)try{process[_0x210841(0x4ff,0x434)](watchdogPid,'SIGTE'+'RM'),console[_0x210841(0x30c,0x4f5)](_0x6aac3f(0x1d9,0x325)+_0x210841(0x1c6,0x16f)+_0x6aac3f(0x22b,0x238)+'chdog'+_0x6aac3f(-0xde,-0x181)+'\x20'+watchdogPid+')');}catch{}if(serverPid)try{process[_0x210841(0x4ff,0x643)](serverPid,'SIGTE'+'RM'),console[_0x6aac3f(0xf8,-0x63)]('\x20\x20✓\x20S'+'toppe'+_0x210841(0x46e,0x38d)+_0x6aac3f(0x316,0x4f5)+_0x6aac3f(0x126,0xcb)+serverPid+')');}catch{}!watchdogPid&&!serverPid&&console[_0x6aac3f(0xf8,0x293)](_0x6aac3f(0x1d9,-0x1f)+_0x210841(0x4c2,0x2d5)+_0x210841(0x3ac,0x3b1)+_0x6aac3f(-0xcb,-0x18)+'ng');const legacyToRemove=[_0x6aac3f(0x208,0x22f),_0x6aac3f(0x167,0x36a)+_0x6aac3f(0x2af,0x3a5)+'n',_0x6aac3f(-0x8d,0x40)+_0x6aac3f(0x202,0x2c6)+'d',_0x210841(0x187,0x347)+_0x6aac3f(0x1da,0x1c3)+_0x210841(0x3b0,0x45b)+_0x210841(0x1c3,0x10),_0x210841(0x187,0x29c)+'nk-wa'+_0x210841(0x3b0,0x37a)+_0x210841(0x4c3,0x69f)+'n',_0x6aac3f(-0x8d,0xff)+'nk-wa'+_0x210841(0x3b0,0x1cc)+_0x210841(0x508,0x46d),'.upli'+_0x6aac3f(-0x37,-0x127)+'rver.'+'log',_0x210841(0x342,0x4dc)+_0x210841(0x2f2,0x42b)+_0x210841(0x3a0,0x402),_0x210841(0x27e,0x32a)+_0x210841(0x26f,0x3c5)+'ync.j'+_0x6aac3f(0x18c,0x313),_0x210841(0x388,0x514)+_0x6aac3f(-0xd3,-0x1c9)+_0x210841(0x474,0x5d6)+_0x6aac3f(0x12f,0x135)+_0x6aac3f(0x18c,0x351),'misse'+_0x6aac3f(0x166,-0x4d)+'sages'+_0x210841(0x3e9,0x300),'uploa'+'ds',_0x210841(0x379,0x57a)+_0x6aac3f(0x7e,0x1d6),'publi'+_0x6aac3f(0x43,0x165)+'io','publi'+_0x6aac3f(0x27,0x1f2)+_0x6aac3f(0x12,-0xd0)+'ts'];let removed=0x358*0x8+-0x1b3+-0x247*0xb;for(const item of legacyToRemove){const fullPath=join(ROOT,item);if(existsSync(fullPath))try{const _0x2ca151={};_0x2ca151[_0x210841(0x191,0x329)+_0x210841(0x2ad,0x19f)]=!![],_0x2ca151[_0x210841(0x473,0x5a5)]=!![],rmSync(fullPath,_0x2ca151),removed++;}catch{}}if(existsSync(DATA_DIR))try{const _0x1b9dec={};_0x1b9dec['recur'+'sive']=!![],_0x1b9dec[_0x210841(0x473,0x444)]=!![],rmSync(DATA_DIR,_0x1b9dec),removed++,console[_0x210841(0x30c,0x16f)]('\x20\x20✓\x20R'+_0x6aac3f(0xb5,0x297)+_0x6aac3f(0xeb,0x13)+_0x210841(0x3db,0x4ba)+_0x210841(0x3f1,0x292)+_0x6aac3f(0x1a0,0x2b8)+DATA_DIR);}catch{}console['log']('\x20\x20✓\x20R'+'emove'+'d\x20'+removed+(_0x210841(0x173,0x1ca)+_0x6aac3f(-0x84,0x114)+'s/dir'+_0x210841(0x3f1,0x4e1)+'ies')),console[_0x6aac3f(0xf8,0xe8)]('\x20\x20✓\x20R'+_0x210841(0x27f,0x212)+_0x210841(0x2a9,0x499)+_0x210841(0x401,0x214)+_0x6aac3f(0x149,0x53)+_0x6aac3f(0x139,0x77));try{const _0x5ae74d={};_0x5ae74d[_0x6aac3f(0x291,0x47d)]='inher'+'it',execSync(_0x210841(0x539,0x4fd)+_0x210841(0x185,0x191)+_0x210841(0x3f0,0x254)+_0x6aac3f(0x2bd,0x254)+_0x210841(0x4f1,0x589)+_0x6aac3f(0x327,0x52a)+_0x210841(0x527,0x323)+'k-cha'+'t',_0x5ae74d),console[_0x210841(0x30c,0x388)]('\x0a\x20\x20⬡\x20'+_0x210841(0x308,0x105)+'k\x20has'+_0x6aac3f(0x1be,0x2c0)+'\x20comp'+_0x6aac3f(-0x23,0x53)+_0x6aac3f(0x1ab,0x285)+_0x210841(0x4b1,0x687)+_0x6aac3f(0x1ad,-0x43)),console['log']('\x20\x20Tha'+'nks\x20f'+_0x210841(0x47f,0x5ee)+_0x210841(0x2d0,0x2e3)+_0x6aac3f(0x2e,0x1df)+_0x210841(0x506,0x6a0));}catch(_0x4a351b){console[_0x210841(0x2fb,0x2d8)](_0x6aac3f(0x101,0x13a)+_0x6aac3f(0x16e,0x75)+_0x210841(0x51e,0x4c9)+_0x210841(0x1f3,0x15d)+_0x210841(0x1c8,0x32)+_0x210841(0x37f,0x336)+_0x210841(0x289,0x2bd)+_0x210841(0x1d4,0xc2)),console['error'](_0x210841(0x476,0x441)+_0x6aac3f(0xb4,0x54)+_0x210841(0x1a4,0x39b)+_0x6aac3f(0x16b,0x128)+_0x6aac3f(-0x75,0xc3)+'tall\x20'+'-g\x20@m'+_0x210841(0x17e,0xe1)+'mpany'+_0x210841(0x4bb,0x546)+'nk-ch'+'at\x0a'),process['exit'](0x31c+-0x7d3+-0x12e*-0x4);}process['exit'](-0x11*-0x1bb+0x871*-0x3+0x83*-0x8);}if(command===_0x6aac3f(0x120,0x2af)){const LOG_FILE=join(ROOT,'serve'+'r.log'),ALT_LOG_FILE=join(ROOT,'.upli'+_0x210841(0x1dd,0xe8)+_0x6aac3f(-0x5,-0x160)+_0x210841(0x30c,0x42d)),DATA_LOG_FILE=join(DATA_DIR,'.upli'+_0x210841(0x1dd,0x1eb)+_0x210841(0x20f,0x133)+_0x6aac3f(0xf8,0x9e)),logFile=existsSync(DATA_LOG_FILE)?DATA_LOG_FILE:existsSync(LOG_FILE)?LOG_FILE:existsSync(ALT_LOG_FILE)?ALT_LOG_FILE:null;!logFile&&(console[_0x6aac3f(0xf8,0x26e)]('⬡\x20No\x20'+'log\x20f'+'ile\x20f'+_0x210841(0x251,0x25c)),console[_0x210841(0x30c,0x3b5)](_0x210841(0x33e,0x2a4)+_0x210841(0x346,0x525)+_0x6aac3f(0x1a3,0x103)+_0x6aac3f(0x5a,0x80)+':'),console['log'](_0x6aac3f(0x306,0x10b)+LOG_FILE),console['log'](_0x6aac3f(0x306,0x1ac)+ALT_LOG_FILE),console['log'](''),console['log'](_0x6aac3f(-0x89,0x12)+_0x210841(0x438,0x26f)+_0x6aac3f(0x11c,0x158)+'ted\x20w'+_0x210841(0x43b,0x34a)+_0x6aac3f(-0x7e,-0x133)+_0x6aac3f(0x38,0x1ea)+_0x210841(0x160,0x2ae)),console['log'](_0x6aac3f(0x112,0x13)+_0x210841(0x2b2,0x2ce)+_0x6aac3f(0x30c,0x2e0)+_0x210841(0x332,0x187)+'irst:'+_0x210841(0x37e,0x4c1)+_0x210841(0x31a,0x454)+_0x210841(0x48c,0x5a0)+_0x210841(0x4ce,0x4ae)),process[_0x6aac3f(0xcf,0x104)](0x10aa+-0x1c6+-0xee3*0x1));const lines=flags[_0x6aac3f(0x296,0xd1)]||0x203b+-0x47a+-0x1*0x1b8f;try{const content=readFileSync(logFile,'utf8'),allLines=content[_0x210841(0x499,0x2c3)]('\x0a'),tail=allLines[_0x210841(0x4a1,0x541)](-lines)[_0x210841(0x3b9,0x42d)]('\x0a');console['log']('⬡\x20Sho'+_0x210841(0x372,0x326)+'last\x20'+lines+(_0x6aac3f(0x1b3,0x7d)+_0x210841(0x144,0xd)+'m\x20')+logFile+'\x0a'),console[_0x210841(0x30c,0x488)](tail);}catch(_0x1ba220){console[_0x6aac3f(0xe7,-0xb7)]('⬡\x20Fai'+_0x210841(0x535,0x475)+_0x210841(0x3f2,0x517)+_0x210841(0x435,0x287)+'\x20file'+':\x20'+_0x1ba220[_0x6aac3f(0x6a,0x226)+'ge']),process[_0x6aac3f(0xcf,-0xe9)](0x1*-0x649+0x2183+-0x1b39);}console[_0x210841(0x30c,0x2e2)](_0x6aac3f(0x150,0xad)+_0x6aac3f(-0xca,-0x277)+_0x210841(0x50c,0x3fb)+_0x6aac3f(0xe3,0x2ca)+_0x210841(0x354,0x4e3)+_0x6aac3f(-0x6f,-0x1d)+_0x6aac3f(0x1af,0x1b7)+_0x6aac3f(-0xd8,-0x2d2)+_0x6aac3f(0x268,0x31a)+_0x210841(0x410,0x429)+')\x0a');const fsModule=await import('fs');let position=statSync(logFile)['size'];const watcher=fsModule[_0x210841(0x391,0x210)](logFile,()=>{function _0x2172f3(_0x401d25,_0x3d2d2f){return _0x210841(_0x3d2d2f-0x13a,_0x401d25);}function _0x211756(_0x40f25e,_0x21160c){return _0x210841(_0x40f25e-0xa5,_0x21160c);}const _0x48cba6={};_0x48cba6[_0x2172f3(0x3f4,0x2f1)]=_0x211756(0x349,0x178)+_0x2172f3(0x543,0x5bb)+_0x2172f3(0x606,0x613),_0x48cba6['TSSaK']=function(_0x2db86a,_0x3a68bc){return _0x2db86a-_0x3a68bc;},_0x48cba6[_0x211756(0x407,0x4b0)]=_0x2172f3(0x42a,0x540),_0x48cba6[_0x2172f3(0x2c5,0x39c)]=_0x211756(0x4bc,0x2c7),_0x48cba6[_0x211756(0x3fa,0x5d5)]=function(_0x18118b,_0x52935a){return _0x18118b>_0x52935a;},_0x48cba6[_0x2172f3(0x782,0x5c2)]=function(_0x4ad826,_0x47b6fc){return _0x4ad826===_0x47b6fc;},_0x48cba6[_0x2172f3(0x51f,0x33e)]='dUrIN',_0x48cba6[_0x2172f3(0x722,0x580)]=_0x2172f3(0x38b,0x4d8),_0x48cba6['NkspE']=function(_0x141fa6,_0x6bedb4){return _0x141fa6-_0x6bedb4;},_0x48cba6[_0x2172f3(0x536,0x399)]=function(_0xcd549b,_0x3135f2){return _0xcd549b<_0x3135f2;},_0x48cba6['gapiO']=function(_0xd8d090,_0x2f19a5){return _0xd8d090!==_0x2f19a5;},_0x48cba6[_0x211756(0x52e,0x576)]=_0x2172f3(0x430,0x426);const _0xb1dd81=_0x48cba6;try{if(_0xb1dd81[_0x2172f3(0x1ab,0x39c)]===_0x211756(0x4bc,0x537)){const _0x3bd2ef=fsModule[_0x2172f3(0x45f,0x4ab)+_0x211756(0x411,0x226)](logFile,'r'),_0x3726d8=fsModule[_0x2172f3(0x436,0x33f)+_0x211756(0x262,0x24e)](_0x3bd2ef)[_0x211756(0x4a1,0x40d)];if(_0xb1dd81['xNqRh'](_0x3726d8,position)){if(_0xb1dd81[_0x2172f3(0x3bd,0x5c2)](_0xb1dd81[_0x211756(0x2a9,0x328)],_0xb1dd81['eyBaK']))_0x1ce8b8(_0xb1dd81[_0x2172f3(0x306,0x2f1)],'v'+_0x50de08+('\x20—\x20No'+_0x211756(0x580,0x5fa)+_0x211756(0x461,0x4f9)+'8\x20is\x20'+_0x2172f3(0x31f,0x359)+_0x2172f3(0x404,0x489)));else{const _0x482845=Buffer['alloc'](_0xb1dd81[_0x211756(0x378,0x46d)](_0x3726d8,position));fsModule['readS'+_0x211756(0x411,0x277)](_0x3bd2ef,_0x482845,-0x1*-0x2456+-0x89*0x2a+-0x1*0xddc,_0x482845['lengt'+'h'],position),process[_0x211756(0x42e,0x5a9)+'t'][_0x2172f3(0x734,0x581)](_0x482845[_0x2172f3(0x32d,0x31a)+_0x2172f3(0x5a4,0x578)](_0x2172f3(0x38e,0x540))),position=_0x3726d8;}}else{if(_0xb1dd81[_0x2172f3(0x2fc,0x399)](_0x3726d8,position)){if(_0xb1dd81[_0x2172f3(0x421,0x3f3)](_0xb1dd81[_0x211756(0x52e,0x38a)],_0xb1dd81[_0x211756(0x52e,0x579)])){const _0x11c7b0=_0x56b4e1[_0x2172f3(0x6db,0x5a4)](_0xb1dd81['TSSaK'](_0x38a4ca,_0x1fad97));_0x1681a2[_0x211756(0x22d,0x301)+_0x2172f3(0x544,0x4a6)](_0x428b1f,_0x11c7b0,0x7cc+-0x1*0x121+0x3*-0x239,_0x11c7b0[_0x211756(0x489,0x429)+'h'],_0x56f0f3),_0xc1085e[_0x2172f3(0x36b,0x4c3)+'t']['write'](_0x11c7b0[_0x2172f3(0x40e,0x31a)+_0x211756(0x4e3,0x476)](_0xb1dd81['JhfMj'])),_0x5d6ed5=_0x3247e2;}else position=-0x35*0xa7+-0x1229*0x1+-0x2ee*-0x12;}}fsModule['close'+_0x211756(0x262,0x365)](_0x3bd2ef);}else _0x1ad9be[_0x2172f3(0x432,0x30c)]=!![];}catch{}});process['on'](_0x6aac3f(0x44,-0x129)+'T',()=>{function _0x82663c(_0x649346,_0x516cc2){return _0x210841(_0x649346- -0xbf,_0x516cc2);}watcher[_0x82663c(0xf0,0x203)](),process['exit'](-0x536+0x5cc+0x1e*-0x5);}),process['on'](_0x6aac3f(0x2b2,0x2a1)+'RM',()=>{watcher['close'](),process['exit'](-0x1ac4+-0x439+0x1efd*0x1);});}if(command===_0x210841(0x37b,0x55d)+'g'){const ENV_FILE=existsSync(join(DATA_DIR,_0x210841(0x41c,0x412)))?join(DATA_DIR,_0x210841(0x41c,0x370)):join(ROOT,_0x6aac3f(0x208,0x389));flags[_0x6aac3f(0x11a,0x1be)]&&(console[_0x210841(0x30c,0x177)](ENV_FILE),process[_0x210841(0x2e3,0x230)](-0x16ed+-0x6b6+0x1da3));if(flags[_0x6aac3f(0x66,-0x1c)]){if(!existsSync(ENV_FILE)){const exampleFile=join(ROOT,_0x6aac3f(0x59,-0x6d)+_0x6aac3f(0x138,0x1b4)+'le');existsSync(exampleFile)?(writeFileSync(ENV_FILE,readFileSync(exampleFile,'utf8')),console[_0x210841(0x30c,0x3fd)](_0x6aac3f(0x14a,0x175)+_0x210841(0x50a,0x45e)+_0x210841(0x366,0x28b)+_0x210841(0x25e,0x429)+_0x6aac3f(0x59,0x235)+_0x210841(0x34c,0x3ca)+'le')):(writeFileSync(ENV_FILE,_0x210841(0x2c5,0x408)+'ink\x20C'+'onfig'+_0x6aac3f(0x2d0,0x3a9)+_0x6aac3f(0x2cf,0x276)),console[_0x210841(0x30c,0x1f5)](_0x210841(0x35e,0x1c2)+_0x6aac3f(0x2f6,0x489)+'empty'+_0x210841(0x319,0x466)+'\x20file'));}const editor=process.env.EDITOR||(process[_0x6aac3f(0x284,0xf4)+_0x6aac3f(0x186,0x354)]===_0x6aac3f(0x324,0x420)?'notep'+'ad':_0x6aac3f(0x1f0,0x251));console[_0x6aac3f(0xf8,-0x80)](_0x6aac3f(-0x2c,-0xda)+_0x210841(0x236,0x34e)+ENV_FILE+_0x6aac3f(0xac,0x1a1)+editor+_0x210841(0x4bd,0x45f));try{const _0x58807b={};_0x58807b[_0x6aac3f(0x291,0x415)]='inher'+'it',execSync(editor+'\x20\x22'+ENV_FILE+'\x22',_0x58807b);}catch(_0x34500d){console[_0x210841(0x2fb,0x3eb)](_0x6aac3f(0x255,0x20f)+_0x210841(0x535,0x6fe)+_0x6aac3f(0x1fb,0x3fc)+_0x6aac3f(0x2df,0x2e6)+_0x210841(0x3a6,0x33e)+_0x34500d[_0x6aac3f(0x6a,0xd6)+'ge']),console[_0x6aac3f(0xe7,-0x1)](_0x210841(0x514,0x41f)+'\x20EDIT'+_0x210841(0x1d7,0xd7)+'v\x20var'+_0x6aac3f(-0xb0,-0xd9)+_0x6aac3f(0x2b8,0x34c)+_0x210841(0x521,0x5e3)+_0x210841(0x475,0x546)+ENV_FILE),process[_0x210841(0x2e3,0x412)](0x2701*-0x1+-0x56d*-0x3+0x16bb);}process['exit'](0x5a0+0x19f5+-0x651*0x5);}!existsSync(ENV_FILE)&&(console[_0x210841(0x30c,0x243)](_0x210841(0x4c7,0x479)+_0x210841(0x366,0x4aa)+'file\x20'+_0x6aac3f(0xf3,0x2ed)+'.'),console['log'](_0x210841(0x207,0x34d)+'ate\x20o'+'ne\x20wi'+_0x6aac3f(0x2e9,0x1ad)+_0x6aac3f(0x2e,0x5)+_0x6aac3f(0xb3,-0xbe)+_0x6aac3f(0x314,0x110)+_0x210841(0x267,0x32e)+'edit'),console[_0x6aac3f(0xf8,0x1aa)](_0x210841(0x2a8,0x1e2)+'copy\x20'+_0x210841(0x28e,0x309)+_0x210841(0x454,0x360)+_0x210841(0x174,-0x5)+'\x20.env'+_0x6aac3f(0x24b,0xf9)+'ple\x20.'+'env'),process[_0x210841(0x2e3,0x498)](-0x5*0x23c+0x74*-0x40+0xb*0x3a7));const SENSITIVE_KEYS=[_0x6aac3f(0x307,0x223),_0x210841(0x419,0x47b),_0x210841(0x233,0x249)+'T',_0x210841(0x441,0x4f3)+_0x6aac3f(-0x32,-0x213),_0x210841(0x3d1,0x5a6)+_0x210841(0x4ae,0x4e8)];function maskValue(_0x16dbbc,_0x1b3ed2){const _0x1be317={};_0x1be317[_0x54f82e(0x5c1,0x6d9)]=function(_0x3779c0,_0x460ec7){return _0x3779c0||_0x460ec7;};function _0x5ec84b(_0x483624,_0x445644){return _0x210841(_0x445644-0x16d,_0x483624);}_0x1be317[_0x5ec84b(0x567,0x3e8)]=function(_0x2e6b0e,_0x20a7ec){return _0x2e6b0e<=_0x20a7ec;},_0x1be317[_0x5ec84b(0x766,0x57f)]=function(_0x57f7b7,_0x17c99b){return _0x57f7b7+_0x17c99b;},_0x1be317[_0x54f82e(0x5bd,0x3e4)]=_0x5ec84b(0x45f,0x39a);const _0x46a7f3=_0x1be317;function _0x54f82e(_0x20feb1,_0xb6f21){return _0x210841(_0x20feb1-0x3a9,_0xb6f21);}const _0x113fd2=SENSITIVE_KEYS[_0x5ec84b(0x3b1,0x3cd)](_0x12fcd0=>_0x16dbbc['toUpp'+_0x54f82e(0x64c,0x72f)+'e']()[_0x54f82e(0x56b,0x6c2)+_0x54f82e(0x5af,0x5b3)](_0x12fcd0));if(_0x46a7f3[_0x5ec84b(0x4cd,0x385)](!_0x113fd2,!_0x1b3ed2)||_0x46a7f3[_0x5ec84b(0x509,0x3e8)](_0x1b3ed2[_0x5ec84b(0x5c5,0x551)+'h'],-0x1bbb+0x590+0x162f))return _0x1b3ed2;return _0x46a7f3[_0x5ec84b(0x5b7,0x57f)](_0x1b3ed2[_0x54f82e(0x84a,0x758)](0x220e+-0x11d9*0x1+0x1*-0x1035,-0x26ba+0x1c*-0x164+0x4dae),_0x46a7f3[_0x5ec84b(0x4f7,0x381)]);}try{const content=readFileSync(ENV_FILE,_0x6aac3f(0x1f2,0x173)),entries=[];for(const line of content[_0x6aac3f(0x285,0x2e5)]('\x0a')){const trimmed=line[_0x6aac3f(0x320,0x321)]();if(!trimmed||trimmed[_0x6aac3f(0x1d3,0x110)+'sWith']('#'))continue;const eqIdx=trimmed['index'+'Of']('=');if(eqIdx===-(-0x2090+0x1*-0xd93+0x1*0x2e24))continue;const key=trimmed[_0x210841(0x4a1,0x546)](0x2b*0x12+0x2509+-0x5b9*0x7,eqIdx)[_0x210841(0x534,0x4b3)](),val=trimmed[_0x210841(0x4a1,0x374)](eqIdx+(-0xff3*0x2+-0x1316+0x32fd))[_0x6aac3f(0x320,0x43e)]();entries[_0x6aac3f(0x16f,0x24b)]([key,val]);}entries[_0x210841(0x3e4,0x599)+'h']===0xf18+0x1*0x9ae+-0x421*0x6&&(console[_0x210841(0x30c,0x2cb)]('⬡\x20.en'+_0x210841(0x25c,0x382)+'e\x20is\x20'+'empty'+_0x6aac3f(0x1ff,0x2e2)+_0x6aac3f(0x97,-0x7c)+_0x6aac3f(-0x19,0x107)+'hat\x20c'+_0x210841(0x449,0x4ec)+_0x210841(0x268,0xe0)+'it'),process[_0x210841(0x2e3,0x1ae)](0x1e33+0x1*0x207d+-0x3eb0));const maxKeyLen=Math[_0x6aac3f(0x118,0x293)](...entries[_0x6aac3f(0x188,0x69)](([_0x45433e])=>_0x45433e['lengt'+'h']));console[_0x6aac3f(0xf8,0x2a5)](_0x210841(0x13e,0x39)+'Uplin'+_0x210841(0x154,0x357)+_0x6aac3f(0x32,-0x2d)+_0x210841(0x450,0x2e2)+'\x0a'),console['log']('\x20\x20'+'Key'[_0x210841(0x3b1,0x52e)+'d'](maxKeyLen+(0x25c8+-0x1*0xe2d+-0x1799))+_0x6aac3f(0x2cc,0x135)),console['log']('\x20\x20'+'─'[_0x6aac3f(0x85,-0xf1)+'t'](maxKeyLen+(-0x19f3+-0xdff*-0x1+0xbf6))+'─'[_0x210841(0x299,0x264)+'t'](-0x1*-0xeed+0x14af+-0x2374));for(const [key,val]of entries){const display=val?maskValue(key,val):_0x210841(0x24d,0x2b0)+_0x6aac3f(0x1cd,0x327)+_0x6aac3f(0x20e,0x3de)+'m';console[_0x210841(0x30c,0x380)]('\x20\x20'+key[_0x6aac3f(0x19d,0x33f)+'d'](maxKeyLen+(0x1c80+0x1802+-0x2a*0x140))+display);}console[_0x6aac3f(0xf8,0x21f)](_0x6aac3f(-0xdf,0xd4)+_0x210841(0x36d,0x479)+ENV_FILE+'\x0a');}catch(_0xa2b1bb){console[_0x210841(0x2fb,0x4c0)](_0x210841(0x469,0x61d)+_0x210841(0x535,0x44c)+_0x210841(0x3f2,0x59f)+_0x6aac3f(0x1ce,0xe0)+'v:\x20'+_0xa2b1bb[_0x6aac3f(0x6a,0x24c)+'ge']),process[_0x210841(0x2e3,0x223)](0x1*-0x1919+-0x13c*-0x14+0x6a);}process['exit'](-0x2*0x8a2+0x2*-0x35b+0x17fa);}if(command===_0x6aac3f(0x271,0x401)+'r'){const require=createRequire(import.meta.url),pkg=require(join(ROOT,'packa'+_0x210841(0x306,0x29b)+'on'));console['log']('\x0a\x20\x20⬡\x20'+_0x210841(0x308,0x195)+_0x6aac3f(0xed,-0x8f)+_0x6aac3f(-0x25,0x1a5)+'\x20v'+pkg['versi'+'on']+'\x0a');const results=[];function pass(_0x4c3407,_0x52e638){const _0x5dd241={};function _0x3751b4(_0x326109,_0x2fdbb5){return _0x210841(_0x326109- -0x3b7,_0x2fdbb5);}_0x5dd241['BTFwy']=_0x48b93c(0x369,0x43f);const _0x26c9ba=_0x5dd241,_0x3ccbac={};_0x3ccbac['statu'+'s']=_0x26c9ba['BTFwy'],_0x3ccbac[_0x48b93c(0x212,0x3c3)]=_0x4c3407,_0x3ccbac[_0x48b93c(0x427,0x23d)+'l']=_0x52e638;function _0x48b93c(_0x23e593,_0x1dfd4a){return _0x210841(_0x1dfd4a- -0x2c,_0x23e593);}results[_0x48b93c(0x2de,0x357)](_0x3ccbac);}function fail(_0x3d2e70,_0x50ab36){const _0x55a902={};_0x55a902[_0x591bc5(0x384,0x31c)]=_0x591bc5(0x352,0x42d);const _0x46c04e=_0x55a902,_0xc01fe={};_0xc01fe[_0x591bc5(0x58a,0x668)+'s']=_0x46c04e[_0xf019c1(-0x41,0x6c)],_0xc01fe['label']=_0x3d2e70,_0xc01fe[_0x591bc5(0x390,0x419)+'l']=_0x50ab36;function _0x591bc5(_0x179ec8,_0x7fbae6){return _0x210841(_0x179ec8-0x127,_0x7fbae6);}function _0xf019c1(_0x3dcc75,_0x475934){return _0x210841(_0x3dcc75- -0x29e,_0x475934);}results[_0x591bc5(0x4aa,0x60a)](_0xc01fe);}function warn(_0x2987db,_0xa7b0bf){const _0x1a622f={};function _0x20ad03(_0xe34260,_0x28aa89){return _0x210841(_0x28aa89-0x21d,_0xe34260);}_0x1a622f[_0x4937d9(0x153,0x66)+'s']=_0x20ad03(0x4db,0x504),_0x1a622f['label']=_0x2987db;function _0x4937d9(_0x475aa1,_0x3f0a24){return _0x210841(_0x3f0a24- -0x3fd,_0x475aa1);}_0x1a622f[_0x4937d9(-0x111,-0x194)+'l']=_0xa7b0bf,results['push'](_0x1a622f);}const nodeVer=process[_0x210841(0x373,0x350)+_0x210841(0x157,0x50)]['node'],nodeMajor=parseInt(nodeVer[_0x6aac3f(0x285,0x351)]('.')[0x1*0xd49+0x1bf4+-0x45*0x99],0x542+-0x12*0xf2+0xbcc);nodeMajor>=0x9d*-0xd+-0x7*0x1d+-0x179*-0x6?pass('Node.'+_0x6aac3f(0x26d,0x3b4)+_0x210841(0x4d9,0x3ca),'v'+nodeVer+(_0x210841(0x2dd,0x338)+_0x6aac3f(0x1cc,0xa0)+_0x210841(0x29b,0x142)+'d)')):fail('Node.'+_0x210841(0x481,0x348)+_0x210841(0x4d9,0x3a0),'v'+nodeVer+(_0x210841(0x24e,0x408)+'de.js'+_0x210841(0x3bc,0x294)+_0x210841(0x15a,0x30b)+_0x210841(0x21f,0x2e7)+_0x6aac3f(0x13b,-0xc7)));const ENV_FILE=existsSync(join(DATA_DIR,'.env'))?join(DATA_DIR,_0x210841(0x41c,0x23c)):join(ROOT,_0x210841(0x41c,0x435));let envPort=-0x58*0x2d+-0x232b+-0x1561*-0x3,envGatewayUrl=_0x6aac3f(0x10f,0x1dd)+'//127'+_0x210841(0x28a,0x3ca)+_0x6aac3f(0x2d1,0x23f)+'89',envGatewayToken='',envOpenAIKey='',envElevenLabsKey='';if(existsSync(ENV_FILE))try{const content=readFileSync(ENV_FILE,_0x210841(0x406,0x55a));for(const line of content[_0x210841(0x499,0x4b8)]('\x0a')){const t=line['trim']();if(!t||t[_0x6aac3f(0x1d3,0x32e)+'sWith']('#'))continue;const eqIdx=t[_0x6aac3f(0x2a2,0x36e)+'Of']('=');if(eqIdx===-(0x22c+-0x1901+0x16d6))continue;const k=t[_0x6aac3f(0x28d,0x306)](-0x1*0xccd+-0x1f7a+0x2c47,eqIdx)[_0x6aac3f(0x320,0x1c8)](),v=t['slice'](eqIdx+(0xb59+0x5a2*-0x6+0x1674))[_0x210841(0x534,0x580)]();if(k==='PORT')envPort=parseInt(v,-0x4e3*-0x1+-0x1cb7*0x1+0x4c6*0x5)||0x1a60+0x20c1+-0x2da1;if(k===_0x6aac3f(-0x56,-0x227)+_0x210841(0x2a0,0x3cb)+'L')envGatewayUrl=v;if(k===_0x6aac3f(-0x56,-0xd2)+_0x6aac3f(0x5c,0x18e)+_0x210841(0x1c5,0x34a))envGatewayToken=v;if(k===_0x210841(0x331,0x2e6)+_0x6aac3f(0x297,0x43f)+_0x6aac3f(0x286,0xae))envOpenAIKey=v;if(k===_0x6aac3f(-0x20,0x179)+'NLABS'+_0x210841(0x347,0x52d)+_0x6aac3f(0x205,0x2b2))envElevenLabsKey=v;}}catch{}const portAvailable=await new Promise(_0x5509fb=>{const _0x425935={'fJIpH':function(_0x11eeba,_0x16bc98){return _0x11eeba!==_0x16bc98;},'mNZrt':_0x6cda73(-0xe9,0x11c),'hhWVx':function(_0x690703,_0x108edd){return _0x690703===_0x108edd;},'HtaQQ':_0x6cda73(0x6a,0x208)+_0x2cc550(0x63a,0x804),'KIqOS':function(_0x1bb04f,_0x48f92b){return _0x1bb04f(_0x48f92b);},'UwLll':'\x0a\x20\x20⬡\x20'+_0x2cc550(0x7c6,0x5e0)+_0x6cda73(-0xc,0x1f0)+'\x20been'+_0x2cc550(0x507,0x5e6)+'letel'+_0x6cda73(0x162,0x258)+'nstal'+_0x6cda73(0x127,0x25a),'SMweX':_0x2cc550(0x566,0x559)+_0x2cc550(0x5fe,0x68e)+'or\x20us'+_0x2cc550(0x48a,0x5a8)+_0x2cc550(0x40a,0x51a)+'.\x20👋\x0a','OMcjd':_0x6cda73(-0x8,0x1a9),'tTvGj':_0x6cda73(0x290,0x240),'oLGKw':_0x2cc550(0x3d7,0x5d3),'kesIR':_0x6cda73(0x457,0x31d)+'.0.1'},_0x35e4d2=_0x53159e[_0x2cc550(0x6ed,0x6af)+'eServ'+'er']();function _0x2cc550(_0x44175d,_0x57a50d){return _0x6aac3f(_0x57a50d-0x4ec,_0x44175d);}function _0x6cda73(_0x213456,_0x3af632){return _0x6aac3f(_0x3af632-0xad,_0x213456);}_0x35e4d2[_0x6cda73(0x198,0x29e)](_0x425935[_0x6cda73(-0x32,0x13b)],_0x1e2a1e=>{function _0x31e13c(_0x2fbfe9,_0x30988b){return _0x6cda73(_0x2fbfe9,_0x30988b- -0xd2);}function _0x33d816(_0x23cd13,_0x2ea68){return _0x6cda73(_0x2ea68,_0x23cd13- -0x1fd);}if(_0x425935[_0x33d816(0x14b,0x195)](_0x31e13c(-0x11,0x181),_0x425935[_0x31e13c(0x1dc,0xeb)])){if(_0x425935[_0x33d816(-0x1db,-0x26)](_0x1e2a1e[_0x33d816(-0x2f,0xf5)],_0x425935['HtaQQ']))_0x425935[_0x33d816(-0x17e,-0x34d)](_0x5509fb,![]);else _0x5509fb(!![]);}else{const _0x3e7e11={};_0x3e7e11[_0x31e13c(-0x188,-0xa8)+_0x31e13c(-0xd9,0x74)]=!![],_0x3e7e11[_0x31e13c(0x2ba,0x23a)]=!![],_0x426dd2(_0x2f7e68,_0x3e7e11),_0x1c751a++,_0x2d26f9[_0x33d816(-0x58,0x181)](_0x33d816(0x164,0x2f9)+_0x33d816(-0x9b,-0x104)+'d\x20'+_0xc4e9d);}}),_0x35e4d2[_0x6cda73(0x3ef,0x29e)](_0x2cc550(0x712,0x7a2)+_0x6cda73(0x11a,0xba),()=>{const _0x48a9ad={};function _0x1f2efd(_0x4b81e8,_0x400405){return _0x2cc550(_0x4b81e8,_0x400405- -0x5c8);}_0x48a9ad['fLpix']=_0x5c0ca1(0x188,0x1e5)+'it',_0x48a9ad[_0x1f2efd(0x29d,0x139)]=_0x425935[_0x5c0ca1(-0x7c,-0x77)],_0x48a9ad[_0x5c0ca1(0x30d,0x11c)]=_0x425935['SMweX'];function _0x5c0ca1(_0x4b687e,_0xada574){return _0x2cc550(_0x4b687e,_0xada574- -0x592);}const _0x1ad58d=_0x48a9ad;if(_0x425935[_0x5c0ca1(0x11b,0x1f5)](_0x425935['OMcjd'],_0x425935['tTvGj']))_0x35e4d2[_0x1f2efd(0x48,-0x141)](),_0x425935[_0x1f2efd(-0x81,-0x10a)](_0x5509fb,!![]);else{const _0x3e2114={};_0x3e2114[_0x1f2efd(0x12c,0x1b5)]=rEeEAT['fLpix'],_0x2d4d05('npm\x20u'+_0x1f2efd(-0x17,-0x16b)+_0x5c0ca1(0x1fb,0x136)+_0x1f2efd(0x149,0x1e1)+_0x5c0ca1(0x169,0x237)+'pany/'+'uplin'+'k-cha'+'t',_0x3e2114),_0x2dadbb['log'](rEeEAT[_0x5c0ca1(0x356,0x16f)]),_0x21976d[_0x1f2efd(-0x1a1,0x1c)](rEeEAT['BpCgJ']);}}),_0x35e4d2[_0x6cda73(0x4d9,0x363)+'n'](envPort,_0x425935[_0x2cc550(0x7ca,0x617)]);}),serverRunning=!!(getWatchdogPid()||getPid());portAvailable?serverRunning?pass(_0x6aac3f(0x282,0x3ad)+envPort,_0x6aac3f(0x56,0x1bb)+_0x210841(0x337,0x362)+_0x6aac3f(0x305,0x300)+_0x6aac3f(-0x95,0xd1)+_0x210841(0x2ea,0x465)+_0x210841(0x2e2,0x3f1)+_0x210841(0x47e,0x5b4)+_0x210841(0x360,0x2c5)):pass(_0x210841(0x496,0x300)+envPort,_0x210841(0x26a,0x264)+_0x6aac3f(0xe1,0x1e5)):serverRunning?pass('Port\x20'+envPort,'in\x20us'+_0x210841(0x21e,0x23c)+_0x6aac3f(0xf4,0xe)+'k'):fail('Port\x20'+envPort,_0x6aac3f(0x8d,0x125)+_0x210841(0x21e,0x7c)+_0x210841(0x390,0x239)+_0x210841(0x3cc,0x5cd)+_0x210841(0x13a,0x221));const gatewayReachable=await new Promise(_0x2e7129=>{function _0x3c128d(_0x20f4b0,_0x52bcf3){return _0x6aac3f(_0x52bcf3-0x4b2,_0x20f4b0);}const _0x3e5da4={'UyqNZ':function(_0x381715,_0x2c202e){return _0x381715>_0x2c202e;},'gqxcF':function(_0x345473,_0x28988f){return _0x345473!==_0x28988f;},'zpCVx':_0x3c128d(0x941,0x780),'KBTgd':function(_0x508dd6,_0x1834c5){return _0x508dd6(_0x1834c5);},'vtlLp':'GET','uNaAi':_0x86162a(0x5a8,0x48a),'OvRCo':'timeo'+'ut','PpOEq':_0x86162a(0x40e,0x4be)};function _0x86162a(_0x99c5b0,_0xfabfdc){return _0x6aac3f(_0x99c5b0-0x4c1,_0xfabfdc);}try{const _0x22dfb9=new URL(envGatewayUrl),_0xb99179={};_0xb99179[_0x3c128d(0x8aa,0x744)+_0x86162a(0x522,0x4f4)]=_0x22dfb9['hostn'+_0x86162a(0x522,0x3e6)],_0xb99179['port']=_0x22dfb9[_0x3c128d(0x702,0x551)]||0x1252+-0x1*-0x22+-0x1224,_0xb99179[_0x3c128d(0x64a,0x5cc)]='/',_0xb99179[_0x3c128d(0x894,0x78c)+'d']=_0x3e5da4[_0x86162a(0x4a7,0x64a)],_0xb99179[_0x86162a(0x7df,0x760)+'ut']=0x1388;const _0xaebf53=_0x26ba20[_0x3c128d(0x362,0x514)+'st'](_0xb99179,_0x41bd03=>{function _0x22d793(_0x55d7a5,_0x363e66){return _0x86162a(_0x55d7a5- -0x418,_0x363e66);}function _0x46c8ff(_0x20edc7,_0x4068d1){return _0x86162a(_0x20edc7- -0x85,_0x4068d1);}const _0x348c60={'fOfeS':function(_0x3528fe,_0x39fec3){return _0x3e5da4['UyqNZ'](_0x3528fe,_0x39fec3);}};_0x3e5da4[_0x22d793(-0x28,-0x1e)](_0x3e5da4['zpCVx'],_0x3e5da4[_0x22d793(-0x6,0x33)])?_0x45dc72['log'](_0x46c8ff(0x366,0x509)+_0x22d793(0x3c6,0x3f2)+_0x22d793(0x211,0x1f9)+_0x3508cf+_0x22d793(0x288,0x306)+(_0x348c60[_0x22d793(-0x26,-0x1f9)](_0x46e2ca,-0x1ca1+0xa26*0x1+-0xa9*-0x1c)?'s':'')+('.\x20Fre'+'sh\x20st'+'art!')):(_0x41bd03['resum'+'e'](),_0x3e5da4[_0x22d793(0x16e,0x174)](_0x2e7129,!![]));});_0xaebf53['on'](_0x3e5da4['uNaAi'],()=>_0x2e7129(![])),_0xaebf53['on'](_0x3e5da4[_0x86162a(0x45f,0x297)],()=>{_0xaebf53['destr'+'oy']();function _0x1a80b5(_0x90c71b,_0x2aebb8){return _0x86162a(_0x2aebb8- -0x463,_0x90c71b);}_0x3e5da4[_0x1a80b5(0x49,0x123)](_0x2e7129,![]);}),_0xaebf53[_0x86162a(0x3fa,0x57a)]();}catch{_0x3e5da4['PpOEq']!==_0x86162a(0x56c,0x6e2)?_0x3e5da4[_0x86162a(0x586,0x6fa)](_0x2e7129,![]):(_0x329a0f[_0x86162a(0x408,0x23d)+'e'](),_0x3e5da4[_0x86162a(0x586,0x77c)](_0x51fa8b,!![]));}});gatewayReachable?pass('Gatew'+_0x6aac3f(0x185,0x4c)+'achab'+'le',envGatewayUrl):fail(_0x6aac3f(-0x90,0xec)+_0x6aac3f(0x185,0x32d)+'achab'+'le',_0x210841(0x1a8,0x17d)+_0x210841(0x1e1,0x144)+_0x6aac3f(0x24,0xd)+envGatewayUrl);existsSync(join(ROOT,_0x210841(0x4f0,0x44e)+_0x210841(0x46f,0x397)+'es'))?pass(_0x210841(0x33d,0x37d)+_0x6aac3f(0x2fb,0x29f)+_0x210841(0x3f7,0x5b1)+_0x210841(0x1c8,0x3cd)+'ed',_0x210841(0x4f0,0x519)+_0x210841(0x46f,0x430)+_0x6aac3f(0x1d4,0x372)+_0x210841(0x408,0x502)):fail(_0x210841(0x33d,0x38f)+_0x210841(0x50f,0x3d8)+_0x210841(0x3f7,0x2f1)+_0x210841(0x1c8,0x197)+'ed',_0x210841(0x4f0,0x4d4)+'modul'+'es\x20mi'+_0x210841(0x365,0x1c2)+_0x210841(0x3fb,0x563)+'n\x20npm'+_0x210841(0x3a4,0x41f)+_0x210841(0x241,0x19b));if(existsSync(ENV_FILE))try{readFileSync(ENV_FILE,_0x6aac3f(0x1f2,0x334)),pass(_0x6aac3f(0x152,0x82)+_0x6aac3f(-0xa9,0x7e),_0x210841(0x3a3,0x30c)+_0x6aac3f(0x127,0xac)+_0x6aac3f(-0xc1,-0xda)+_0x6aac3f(0xe1,-0x1d));}catch{fail(_0x210841(0x366,0x4b1)+_0x210841(0x16b,0x35c),'exist'+_0x6aac3f(0xca,0x100)+_0x210841(0x3ac,0x3de)+_0x6aac3f(0xc6,-0xe2)+_0x6aac3f(0x1c9,0x277));}else fail(_0x210841(0x366,0x301)+_0x6aac3f(-0xa9,-0x217),_0x6aac3f(0x2ad,0x271)+_0x210841(0x4f6,0x448)+_0x6aac3f(0x27f,0xbd)+':\x20upl'+'ink-c'+_0x210841(0x2cd,0x418)+_0x6aac3f(0x235,0x1a9)+_0x6aac3f(0x54,0x215)+'it');envGatewayToken&&envGatewayToken!==_0x6aac3f(0x28a,0x1d1)+_0x210841(0x134,0x2d7)+_0x6aac3f(0x26c,0x458)?pass(_0x210841(0x184,0xf)+_0x6aac3f(0x2ea,0x4bf)+_0x210841(0x32a,0x414),_0x6aac3f(0x167,-0x50)+_0x210841(0x16f,0x158)):fail(_0x210841(0x184,0x37a)+_0x6aac3f(0x2ea,0x4db)+_0x6aac3f(0x116,0x87),_0x210841(0x2fc,0x143)+_0x210841(0x502,0x3aa)+'\x20.env');if(envOpenAIKey||envElevenLabsKey){const providers=[];if(envOpenAIKey)providers['push'](_0x210841(0x374,0x33f)+'I');if(envElevenLabsKey)providers[_0x210841(0x383,0x1c2)](_0x6aac3f(0x73,0x23d)+_0x210841(0x3b5,0x31b));pass(_0x210841(0x16d,0xd1)+_0x210841(0x265,0x7f)+'ys',providers[_0x6aac3f(0x1a5,0x1f6)](',\x20')+(_0x6aac3f(0x314,0x30b)+_0x6aac3f(-0x2a,-0x166)+'d'));}else warn(_0x210841(0x16d,0x172)+_0x6aac3f(0x51,0x63)+'ys','no\x20Op'+_0x210841(0x4b9,0x453)+_0x210841(0x49b,0x56a)+_0x6aac3f(0x2a6,0x2f6)+_0x210841(0x45c,0x25f)+_0x210841(0x321,0x1a6)+_0x210841(0x284,0x317)+_0x6aac3f(0x2fd,0x3d7)+_0x210841(0x4d5,0x49e)+_0x6aac3f(0x231,0x26b)+_0x6aac3f(0x8,-0x74)+_0x6aac3f(-0x3c,0x7c));try{const freeBytes=((()=>{function _0x2d972d(_0x75ba4d,_0x493a47){return _0x210841(_0x75ba4d-0x3b,_0x493a47);}const _0x38005e={'pHfkn':_0x410c5f(0x445,0x356)+'hing\x20'+_0x410c5f(-0x5f,0x144)+_0x410c5f(0x5d8,0x46b)+_0x2d972d(0x426,0x48e)+'ady\x20c'+_0x2d972d(0x1ca,0x1c5),'PZhIV':function(_0x3ef490,_0x5d8e13){return _0x3ef490===_0x5d8e13;},'Doxxt':_0x2d972d(0x573,0x459),'kaQlZ':_0x410c5f(0x390,0x1ee),'BIXmu':function(_0x39e349,_0xead8e7,_0x5cffd3){return _0x39e349(_0xead8e7,_0x5cffd3);},'mwXxB':function(_0x4f3e98,_0x520aa5){return _0x4f3e98+_0x520aa5;},'nSusS':function(_0x4b1280,_0x3d73bb,_0x302fb3){return _0x4b1280(_0x3d73bb,_0x302fb3);},'dYzBl':_0x2d972d(0x2f9,0x4ef),'iEmkL':function(_0x59ac02,_0x3789a9,_0x383031){return _0x59ac02(_0x3789a9,_0x383031);},'hkGvt':'utf8','RejuP':function(_0x10d91e,_0x237782){return _0x10d91e*_0x237782;}};function _0x410c5f(_0x5a1721,_0x21b077){return _0x210841(_0x21b077- -0xa8,_0x5a1721);}if(_0x38005e[_0x410c5f(0x39e,0x248)](process[_0x410c5f(0x241,0x3f0)+_0x2d972d(0x3d5,0x55c)],_0x38005e[_0x2d972d(0x4df,0x36d)])){if(_0x38005e[_0x410c5f(0x12f,0x248)](_0x38005e[_0x410c5f(0x29c,0x2b9)],_0x410c5f(0x82,0x1ee))){const _0x1ef131={};_0x1ef131[_0x410c5f(0x66,0x1eb)+'ing']='utf8';const _0x44a31f=_0x38005e['BIXmu'](execSync,_0x38005e[_0x410c5f(0x10a,0x208)](_0x38005e['mwXxB'](_0x410c5f(0x35c,0x25a)+_0x410c5f(0x14d,0xd9)+_0x410c5f(0x3a5,0x405)+_0x410c5f(0x36,0x14a)+_0x410c5f(0x1f4,0x13f)+_0x410c5f(0x314,0x148)+'ID=\x27',ROOT[_0x410c5f(0x2b3,0x2f9)+'t'](-0x4*0x84f+-0x730+0x286c)),_0x410c5f(0x19a,0x1e5)+_0x410c5f(0x37c,0x3e9)+_0x2d972d(0x33b,0x29e)+'ce\x20/v'+_0x410c5f(0x43e,0x3a6)),_0x1ef131),_0x5f33ac=_0x44a31f['match'](/FreeSpace=(\d+)/);return _0x5f33ac?_0x38005e[_0x410c5f(0x2a4,0xd5)](parseInt,_0x5f33ac[0xd*-0x14b+-0x1107*-0x1+0x5*-0xb],-0x1619+-0x2c*0x9e+0x314b*0x1):null;}else _0x206522[_0x2d972d(0x347,0x248)](_0x38005e['pHfkn']);}else{if(_0x38005e[_0x2d972d(0x32b,0x386)](_0x38005e[_0x410c5f(0x5c8,0x475)],_0x38005e[_0x2d972d(0x558,0x3cd)])){const _0x2e09af=_0x38005e[_0x2d972d(0x513,0x310)](execSync,_0x410c5f(0x3ea,0x494)+'\x20\x22'+ROOT+(_0x410c5f(0x137,0x299)+_0x410c5f(0x204,0x3f4)+'1'),{'encoding':_0x38005e[_0x2d972d(0x48c,0x3c9)]}),_0x365263=_0x2e09af[_0x2d972d(0x56f,0x743)]()['split'](/\s+/);return _0x38005e[_0x410c5f(0x410,0x2b1)](_0x38005e[_0x2d972d(0x1b8,0x23d)](parseInt,_0x365263[-0x24f3+-0x13*-0x65+0x1d77],-0x1df9+0x40*-0x6d+0x3943),-0x14ed+0xa06+-0x2fb*-0x5);}else _0xe60a38['edit']=!![];}})());if(freeBytes!==null){const freeMB=Math[_0x6aac3f(-0x39,-0x9f)](freeBytes/((0x89*0x22+0x75f*0x1+-0x1591)*(0x21e2+0x80*0xd+0x1231*-0x2)));freeMB>=-0x1e61+0x3fd*0x8+0x1*0x6d?pass('Disk\x20'+_0x210841(0x2a5,0x258),freeMB+('\x20MB\x20f'+_0x210841(0x1e3,0x256))):warn(_0x210841(0x2b4,0x375)+_0x6aac3f(0x91,0x269),freeMB+(_0x210841(0x400,0x5b9)+_0x210841(0x30a,0x1ce)+_0x210841(0x1f6,0x2a9)+_0x210841(0x2d8,0x3f6)+_0x210841(0x377,0x274)+'MB'));}}catch{warn(_0x6aac3f(0xa0,0x1ad)+_0x210841(0x2a5,0x21e),_0x6aac3f(0x20c,0x9a)+_0x210841(0x3ac,0x333)+_0x6aac3f(0x137,-0x80)+_0x210841(0x2f1,0x224)+_0x210841(0x2f8,0x47f)+_0x210841(0x202,0x2e0)+_0x6aac3f(0x91,-0x4d));}const _0x29fbd5={};_0x29fbd5[_0x210841(0x46b,0x2a0)]=_0x6aac3f(-0xd4,0x4f)+_0x6aac3f(0xc,0x1b2),_0x29fbd5['fail']='\x1b[31m'+_0x210841(0x444,0x441),_0x29fbd5[_0x210841(0x2e7,0x304)]=_0x6aac3f(0x136,0x1d7)+_0x6aac3f(-0x79,-0x4c);const icons=_0x29fbd5;for(const r of results){console[_0x210841(0x30c,0x432)]('\x20\x20'+icons[r[_0x6aac3f(0x24f,0x1b0)+'s']]+'\x20'+r[_0x6aac3f(0x1db,0x8f)]+':\x20'+r[_0x210841(0x269,0xdd)+'l']);}const passes=results[_0x6aac3f(0x8a,-0x56)+'r'](_0x4452d=>_0x4452d['statu'+'s']===_0x210841(0x46b,0x5e3))[_0x210841(0x3e4,0x399)+'h'],fails=results[_0x210841(0x29e,0x42e)+'r'](_0x269afd=>_0x269afd[_0x210841(0x463,0x4f8)+'s']===_0x210841(0x22b,0x22f))[_0x210841(0x3e4,0x3c5)+'h'],warns=results[_0x210841(0x29e,0x2c3)+'r'](_0x2eb6e1=>_0x2eb6e1[_0x6aac3f(0x24f,0x7f)+'s']===_0x210841(0x2e7,0x250))[_0x210841(0x3e4,0x1e3)+'h'];console[_0x6aac3f(0xf8,-0xee)](''),fails===-0x4*-0x287+0x1*0x15f7+-0x2013?console['log']('\x20\x20⬡\x20A'+_0x6aac3f(0x2f3,0x41f)+passes+(_0x6aac3f(0xa2,-0x49)+_0x210841(0x2d4,0x47e)+_0x210841(0x1b0,0x1b))+(warns?'\x20('+warns+(_0x210841(0x25a,0x69)+_0x210841(0x43e,0x2af))+(warns>-0x26fb+0x1f5b+0x7a1?'s':'')+')':'')+'.'):console[_0x210841(0x30c,0x48a)](_0x6aac3f(-0xdd,0x87)+passes+(_0x210841(0x504,0x44e)+_0x210841(0x239,0x28a))+fails+(_0x210841(0x23d,0x40)+'ed')+(warns?',\x20'+warns+(_0x6aac3f(0x46,0xad)+_0x210841(0x43e,0x4b1))+(warns>-0x1931+-0x39*0x9d+0xb1*0x57?'s':''):'')+'.'),console[_0x210841(0x30c,0x366)](''),process[_0x6aac3f(0xcf,0x43)](fails>0x262d*0x1+-0x1e93*-0x1+-0x44c0?0xf07*0x2+0x215+-0x2022:0x1266*0x2+0x1d2a*-0x1+0x3d1*-0x2);}if(command===_0x6aac3f(0x117,0x88)){const {rmSync}=await import('fs');console[_0x210841(0x30c,0x3a6)](_0x6aac3f(-0xd6,-0x15b)+_0x210841(0x308,0x179)+_0x6aac3f(0x20a,0x18d)+'et\x0a'),console[_0x6aac3f(0xf8,-0x1a)](_0x210841(0x1ac,0x33a)+_0x6aac3f(0x1d2,0x228)+_0x210841(0x40a,0x2be)+_0x6aac3f(-0x43,-0x178)),console[_0x210841(0x30c,0x212)]('\x20\x20\x20\x20•'+'\x20Chat'+'\x20hist'+_0x6aac3f(0x2d6,0x497)+'nd\x20me'+_0x6aac3f(0x1ac,0xef)+_0x210841(0x25b,0x23e)+_0x6aac3f(-0xa1,-0x113)),console[_0x210841(0x30c,0x111)](_0x6aac3f(0xf0,0x16c)+_0x210841(0x418,0x236)+_0x210841(0x1b3,0xee)+_0x210841(0x4b4,0x3d4)+'\x20and\x20'+'media'+'\x20cach'+'e'),console[_0x6aac3f(0xf8,-0xfb)](_0x210841(0x304,0x21f)+_0x6aac3f(0xd5,0x13b)+_0x6aac3f(0x7,0x136)+'ssage'+_0x6aac3f(0xe2,-0x72)+'ue'),console[_0x210841(0x30c,0x3ea)]('\x20\x20\x20\x20•'+_0x210841(0x1a1,0x351)+'\x20subs'+_0x6aac3f(0x9d,0x170)+_0x6aac3f(0x9a,0x5d)+_0x210841(0x1e9,0x40)+_0x210841(0x212,0xb7)+_0x6aac3f(0x45,0x43)+'ta'),console[_0x6aac3f(0xf8,-0x9d)](''),console['log'](_0x6aac3f(-0x68,0x1a)+_0x210841(0x3e6,0x353)+_0x210841(0x2ca,0x1a6)+_0x210841(0x340,0x3af)+'r:'),console[_0x210841(0x30c,0x47f)](_0x210841(0x304,0x37e)+_0x210841(0x319,0x2b4)+_0x6aac3f(0x314,0x2be)+_0x6aac3f(0x14f,0x212)+_0x210841(0x1b9,0xd9)),console[_0x210841(0x30c,0x32f)](_0x210841(0x304,0x458)+_0x6aac3f(-0xbb,-0x24c)+_0x6aac3f(-0x50,-0x8b)+_0x6aac3f(0x27a,0x1c5)),console['log']('\x20\x20\x20\x20•'+'\x20The\x20'+_0x210841(0x24b,0x56)+'r\x20its'+_0x210841(0x30f,0x3a3));if(!flags[_0x210841(0x473,0x35f)]){const readline=await import(_0x6aac3f(0x2bf,0x166)+_0x6aac3f(0x40,0x95)),_0x55b8be={};_0x55b8be[_0x210841(0x1cf,0x111)]=process[_0x210841(0x3fd,0x53a)],_0x55b8be[_0x6aac3f(0x246,0x253)+'t']=process[_0x6aac3f(0x175,0x34d)+'t'];const rl=readline['creat'+'eInte'+_0x6aac3f(0x312,0x443)](_0x55b8be),answer=await new Promise(_0x244aa8=>{const _0xbaaf20={};_0xbaaf20[_0x1004de(-0x2a,0x61)]='\x20\x20Typ'+_0x3319dd(-0x42,-0x44)+_0x3319dd(0x7,0xc1)+'to\x20co'+'nfirm'+':\x20';function _0x3319dd(_0x2722d9,_0x486c3e){return _0x210841(_0x2722d9- -0x360,_0x486c3e);}const _0xad3d62=_0xbaaf20;function _0x1004de(_0x1d54a0,_0x467c32){return _0x210841(_0x467c32- -0x19f,_0x1d54a0);}rl[_0x3319dd(0x3f,0x36)+_0x1004de(0x2d6,0x340)](_0xad3d62[_0x1004de(0x125,0x61)],_0x244aa8);});rl[_0x6aac3f(-0x65,-0x5a)](),answer[_0x210841(0x534,0x712)]()[_0x210841(0x492,0x68b)+'erCas'+'e']()!=='reset'&&(console[_0x6aac3f(0xf8,0x60)](_0x6aac3f(0x103,0x1b5)+_0x6aac3f(-0x4d,-0x157)+_0x210841(0x4d6,0x473)+_0x210841(0x387,0x410)+'g\x20was'+_0x6aac3f(0x16c,0x1b1)+_0x210841(0x24a,0x2a3)),process[_0x210841(0x2e3,0x26f)](0xc97+0x11*-0x15+-0xb32)),console[_0x6aac3f(0xf8,0x166)]('');}const dataResets=['messa'+_0x210841(0x26f,0x28c)+_0x210841(0x3c5,0x3c5)+_0x210841(0x3a0,0x591),_0x210841(0x342,0x442)+_0x6aac3f(0xde,0x14a)+'son','sync-'+_0x6aac3f(0x7e,-0x4),_0x6aac3f(0x25d,0x30d)+_0x210841(0x273,0x2eb)+_0x210841(0x2cc,0x4cb)+'tions',_0x6aac3f(0x8b,0x131)+'ds',_0x210841(0x16a,-0x85),_0x210841(0x19c,0x271)+_0x6aac3f(0x21e,0xc6)],rootResets=[_0x6aac3f(0x6a,0x1f2)+_0x210841(0x26f,0x468)+_0x6aac3f(0x1b1,0x19e)+_0x210841(0x3a0,0x513),_0x210841(0x342,0x282)+'ity.j'+'son',_0x6aac3f(0x165,0x2c6)+_0x210841(0x292,0xec),_0x6aac3f(0x25d,0x318)+_0x6aac3f(0x5f,0x143)+_0x6aac3f(0xb8,0x72)+'tions','uploa'+'ds',_0x210841(0x394,0x576)+_0x6aac3f(0x43,-0x6b)+'io','misse'+_0x6aac3f(0x166,0x207)+_0x6aac3f(0x100,0xa5)+_0x210841(0x3e9,0x4d3),_0x210841(0x388,0x268)+_0x6aac3f(-0xd3,0xf2)+'ripti'+_0x6aac3f(0x12f,0x201)+'son',_0x6aac3f(0x37,-0x174)+_0x210841(0x277,0x3f7),'.upli'+_0x6aac3f(-0x37,-0x7a)+_0x6aac3f(-0x5,0x41)+_0x6aac3f(0xf8,0x4e),_0x210841(0x187,0x296)+_0x6aac3f(0x1da,0x164)+'tchdo'+_0x6aac3f(0x2f4,0x193)];let cleared=-0x2*-0x2e0+0x115f*0x1+0x1*-0x171f;for(const item of dataResets){const fullPath=join(DATA_DIR,item);if(existsSync(fullPath))try{const _0x24aff6={};_0x24aff6['recur'+_0x6aac3f(0x99,0xe1)]=!![],_0x24aff6[_0x210841(0x473,0x482)]=!![],rmSync(fullPath,_0x24aff6),cleared++,console[_0x6aac3f(0xf8,0x2d9)](_0x6aac3f(0x2b4,0x2c6)+_0x6aac3f(0xb5,-0x26)+_0x6aac3f(-0x9d,-0x21a)+_0x6aac3f(0x13,-0x36)+'/'+item);}catch(_0x48f8a8){console['error']('\x20\x20✗\x20F'+_0x210841(0x163,0x68)+_0x6aac3f(-0x7a,-0x216)+_0x210841(0x2c9,0x33a)+'\x20DATA'+'_DIR/'+item+':\x20'+_0x48f8a8[_0x6aac3f(0x6a,0x267)+'ge']);}}for(const item of rootResets){const fullPath=join(ROOT,item);if(existsSync(fullPath))try{const _0x4db280={};_0x4db280[_0x6aac3f(-0x83,-0x17b)+_0x210841(0x2ad,0xbf)]=!![],_0x4db280[_0x6aac3f(0x25f,0x29d)]=!![],rmSync(fullPath,_0x4db280),cleared++,console[_0x210841(0x30c,0x2ea)]('\x20\x20✓\x20R'+'emove'+'d\x20'+item);}catch(_0x42e69e){console[_0x6aac3f(0xe7,0x28b)](_0x210841(0x4dc,0x662)+_0x6aac3f(-0xb1,0x6)+_0x210841(0x19a,0x350)+_0x6aac3f(0xb5,0x1c9)+'\x20'+item+':\x20'+_0x42e69e['messa'+'ge']);}}cleared===0xb+-0x1*-0x137+-0x142?console[_0x6aac3f(0xf8,-0xc3)](_0x210841(0x3fe,0x345)+_0x210841(0x247,0x2e6)+'to\x20cl'+_0x6aac3f(0x2ff,0x249)+'\x20alre'+_0x210841(0x523,0x3fa)+'lean.'):console['log'](_0x6aac3f(-0xd6,0xb2)+_0x210841(0x531,0x6ad)+_0x210841(0x37c,0x3ee)+cleared+'\x20item'+(cleared>0x5ad*-0x1+-0x2b3*0x9+0x1df9?'s':'')+(_0x6aac3f(-0x44,-0xa3)+_0x6aac3f(0x71,-0xe)+_0x210841(0x353,0x246))),console[_0x6aac3f(0xf8,0x1ee)](''),process[_0x6aac3f(0xcf,-0x131)](-0x1437+-0x23bb*-0x1+-0xf84);}if(command===_0x210841(0x4fc,0x32a)){const require=createRequire(import.meta.url),pkg=require(join(ROOT,_0x6aac3f(0x75,0x21a)+_0x6aac3f(0xf2,0x240)+'on')),ENV_FILE=existsSync(join(DATA_DIR,_0x6aac3f(0x208,0x244)))?join(DATA_DIR,'.env'):join(ROOT,_0x6aac3f(0x208,0x57));let envPort='3456',envHost='0.0.0'+'.0',envGatewayUrl=_0x210841(0x323,0x170)+_0x210841(0x17b,0x2cf)+_0x210841(0x28a,0x3d5)+'1:187'+'89',envGatewayToken='';if(existsSync(ENV_FILE))try{const content=readFileSync(ENV_FILE,'utf8');for(const line of content[_0x210841(0x499,0x4f9)]('\x0a')){const t=line[_0x210841(0x534,0x5a2)]();if(!t||t['start'+_0x6aac3f(-0x87,-0x280)]('#'))continue;const eqIdx=t[_0x6aac3f(0x2a2,0x3c0)+'Of']('=');if(eqIdx===-(0x4c9*-0x5+-0x33a+-0xd94*-0x2))continue;const k=t[_0x6aac3f(0x28d,0x332)](-0x3*0xd01+-0xe7*0xb+0x30f0,eqIdx)[_0x210841(0x534,0x456)](),v=t['slice'](eqIdx+(0x232c+0x9b2+-0x8f9*0x5))[_0x6aac3f(0x320,0x306)]();if(k===_0x210841(0x376,0x392))envPort=v||_0x210841(0x44b,0x314);if(k==='UPLIN'+_0x6aac3f(-0x4a,-0x23)+'T'||k===_0x210841(0x263,0x422))envHost=v||_0x210841(0x3d8,0x308)+'.0';if(k===_0x6aac3f(-0x56,-0x214)+_0x210841(0x2a0,0x1d2)+'L')envGatewayUrl=v;if(k===_0x6aac3f(-0x56,0xb2)+_0x210841(0x270,0x34b)+'KEN')envGatewayToken=v;}}catch{}const watchdogPid=getWatchdogPid(),serverPid=getPid(),isServerRunning=!!(watchdogPid||serverPid),serverStatus=isServerRunning?'\x1b[32m'+_0x6aac3f(-0xcb,-0x182)+_0x210841(0x28f,0x2ea)+_0x6aac3f(-0x6,0x160)+'D\x20'+(watchdogPid||serverPid)+')':'\x1b[31m'+_0x6aac3f(0x114,-0x35)+'ed\x1b[0'+'m',gwReachable=await new Promise(_0x4c35c7=>{function _0x404b44(_0x34d66b,_0x786af6){return _0x210841(_0x786af6- -0x33b,_0x34d66b);}function _0x1bfedf(_0x11a2aa,_0x39068a){return _0x210841(_0x11a2aa-0x2ed,_0x39068a);}const _0x53d7d4={'gGnfJ':function(_0x293f96,_0x32a0c9){return _0x293f96(_0x32a0c9);},'yYYbG':_0x1bfedf(0x661,0x484)+'I','euROb':'Eleve'+'nLabs','oxuph':function(_0x22ef46,_0x8204d1,_0x47685e){return _0x22ef46(_0x8204d1,_0x47685e);},'peJpo':_0x1bfedf(0x45a,0x3f3)+_0x1bfedf(0x552,0x5cb)+'ys','EZaBK':function(_0x5943fa,_0x2080e7){return _0x5943fa+_0x2080e7;},'UTXgf':'\x20conf'+'igure'+'d','zpAzf':function(_0x101c09,_0x7ab4b6){return _0x101c09!==_0x7ab4b6;},'UzzbM':'LdUJf','Mvqqy':_0x404b44(-0x173,-0x13c),'ABdaQ':_0x1bfedf(0x4c6,0x668),'FhzAz':_0x404b44(0x183,0x1f7)+'ut'};try{if(_0x53d7d4[_0x1bfedf(0x6c1,0x882)](_0x53d7d4[_0x404b44(-0xc,-0xd0)],_0x53d7d4[_0x1bfedf(0x7b2,0x977)])){const _0x59f3b0=new URL(envGatewayUrl),_0x1781e6={};_0x1781e6[_0x404b44(0xda,0x16b)+_0x404b44(0xa5,-0xc6)]=_0x59f3b0[_0x404b44(0x264,0x16b)+'ame'],_0x1781e6[_0x404b44(-0x76,-0x88)]=_0x59f3b0[_0x404b44(0x45,-0x88)]||0x3*0x72d+0x1051+-0x2588,_0x1781e6[_0x404b44(-0x122,-0xd)]='/',_0x1781e6[_0x404b44(0xb8,0x1b3)+'d']=_0x53d7d4[_0x1bfedf(0x678,0x6ac)],_0x1781e6['timeo'+'ut']=0xbb8;const _0x21fb6f=_0x26ba20[_0x404b44(-0x1cd,-0xc5)+'st'](_0x1781e6,_0x20b6fc=>{_0x20b6fc['resum'+'e']();function _0x4e27e9(_0x4cc970,_0xe0488){return _0x404b44(_0x4cc970,_0xe0488-0x685);}_0x53d7d4[_0x4e27e9(0x3fa,0x574)](_0x4c35c7,!![]);});_0x21fb6f['on'](_0x404b44(0x11e,-0x40),()=>_0x4c35c7(![])),_0x21fb6f['on'](_0x53d7d4[_0x1bfedf(0x67f,0x509)],()=>{_0x21fb6f[_0x476a47(0x5ce,0x626)+'oy']();function _0x476a47(_0x30fc2d,_0x42694b){return _0x1bfedf(_0x30fc2d-0x4a,_0x42694b);}_0x4c35c7(![]);}),_0x21fb6f['end']();}else{const _0x5d09e7=[];if(_0x3966a8)_0x5d09e7['push'](jqCVBW['yYYbG']);if(_0x53f498)_0x5d09e7[_0x404b44(0x91,0x48)](jqCVBW[_0x404b44(-0x1,0x20)]);jqCVBW[_0x1bfedf(0x480,0x307)](_0x2e6245,jqCVBW['peJpo'],jqCVBW[_0x1bfedf(0x433,0x46a)](_0x5d09e7[_0x404b44(-0xde,0x7e)](',\x20'),jqCVBW['UTXgf']));}}catch{_0x53d7d4[_0x404b44(-0x2a,-0x111)](_0x4c35c7,![]);}}),gwStatus=gwReachable?envGatewayUrl+(_0x6aac3f(-0x1d,0x10e)+_0x210841(0x311,0x2ae)+'necte'+'d)\x1b[0'+'m'):envGatewayUrl+(_0x210841(0x3c4,0x3af)+'m(unr'+_0x6aac3f(0x2fc,0x47e)+'ble)\x1b'+_0x6aac3f(-0x3,-0x184)),LOG_FILE=join(ROOT,'serve'+_0x6aac3f(0x63,0x206)),ALT_LOG_FILE=join(ROOT,_0x6aac3f(-0x8d,0x167)+_0x210841(0x1dd,0x67)+_0x210841(0x20f,0xef)+_0x6aac3f(0xf8,0x227)),logFile=existsSync(LOG_FILE)?LOG_FILE:existsSync(ALT_LOG_FILE)?ALT_LOG_FILE:_0x6aac3f(0x1e0,0x242)+')',premiumFile=join(ROOT,'serve'+'r','premi'+'um');let premiumStatus=_0x6aac3f(0x2d7,0x137)+_0x210841(0x1b1,0x111)+'ed';existsSync(premiumFile)&&(premiumStatus=_0x6aac3f(0x41,0xa8)+_0x210841(0x348,0x2d7));const configFile=join(ROOT,'confi'+_0x6aac3f(0x2af,0x126)+'n');if(existsSync(configFile))try{const cfg=JSON['parse'](readFileSync(configFile,'utf8'));if(cfg[_0x210841(0x42c,0x417)+'um']||cfg[_0x210841(0x42c,0x24f)+_0x6aac3f(0x263,0x252)])premiumStatus=_0x6aac3f(0x12e,-0x27)+'e';}catch{}console[_0x6aac3f(0xf8,0x70)]('\x0a\x20\x20⬡\x20'+_0x210841(0x308,0x3f4)+_0x210841(0x3ec,0x283)+_0x210841(0x30b,0x316)+_0x210841(0x4fa,0x432)+_0x210841(0x14f,0x228)+_0x6aac3f(0x1ee,0x6a)+pkg[_0x210841(0x373,0x457)+'on']+('\x0a\x20\x20No'+_0x210841(0x4db,0x35b)+':\x20\x20\x20\x20'+_0x6aac3f(-0xdb,0x99))+process['versi'+_0x6aac3f(-0xbd,-0xf0)][_0x210841(0x21d,0x1e6)]+(_0x210841(0x48d,0x3c1)+_0x6aac3f(0xcd,0x2a0)+_0x6aac3f(0x210,0xd4)+'\x20\x20')+envPort+('\x0a\x20\x20Ho'+'st:\x20\x20'+'\x20\x20\x20\x20\x20'+'\x20\x20')+envHost+('\x0a\x20\x20Se'+'rver:'+_0x6aac3f(0x210,0x35c)+'\x20\x20')+serverStatus+('\x0a\x20\x20Ga'+_0x6aac3f(-0x9c,-0x125)+_0x210841(0x24f,0x42e)+'\x20\x20')+gwStatus+(_0x210841(0x148,0x25f)+_0x210841(0x4d7,0x5d8)+'r:\x20\x20\x20'+'\x20\x20')+DATA_DIR+(_0x210841(0x2ed,0x369)+_0x210841(0x309,0x169)+_0x210841(0x369,0x1da)+'\x20\x20')+logFile+('\x0a\x20\x20Pr'+_0x210841(0x1a3,0x31a)+_0x210841(0x24f,0x33a)+'\x20\x20')+premiumStatus+(_0x6aac3f(0x2cd,0x22e)+_0x6aac3f(-0x4c,-0x214)+_0x210841(0x522,0x60f)+'\x20\x20')+ROOT+_0x6aac3f(0x1b4,0x102)),process[_0x210841(0x2e3,0x2c3)](-0x1*-0x26d3+-0x17b*0x5+0x1f6c*-0x1);}const ALL_COMMANDS=[_0x6aac3f(0x6c,0x25d),_0x210841(0x463,0x390)+'s',_0x6aac3f(0x148,0x30c)+'e',_0x6aac3f(-0x75,0x76)+_0x6aac3f(0x212,0x192),_0x6aac3f(0x120,0x274),_0x6aac3f(0x167,0xbf)+'g',_0x6aac3f(0x271,0x1d6)+'r',_0x210841(0x32b,0x475),'info'];if(command===_0x6aac3f(0x1d3,0x2c8)||!ALL_COMMANDS['inclu'+_0x6aac3f(-0xe,0x18)](command)){const existingWatchdog=getWatchdogPid(),existingPid=getPid();if(existingWatchdog||existingPid){const pid=existingWatchdog||existingPid,mode=existingWatchdog?_0x210841(0x391,0x2e4)+_0x6aac3f(0x7c,-0x58):_0x210841(0x23f,0xe8)+'t';console[_0x6aac3f(0xf8,0xa9)](_0x6aac3f(0xc2,0x37)+'ink\x20i'+_0x6aac3f(0x2d5,0x17c)+_0x6aac3f(0x182,-0x8)+_0x210841(0x149,0x1a8)+_0x6aac3f(0x243,0x3d8)+mode+(_0x6aac3f(0x92,0x5)+'\x20')+pid+').'),console['log']('\x20\x20Sto'+_0x6aac3f(0x93,0x1e)+_0x6aac3f(0x28,0x1e)+_0x6aac3f(0x97,-0x7e)+_0x6aac3f(-0x19,0x1c8)+_0x210841(0x403,0x455)+_0x6aac3f(0x21b,0x240)),process[_0x210841(0x2e3,0x3ce)](0x4b*0x37+0x1f82+-0x2f9e);}const env={...process.env};if(flags[_0x210841(0x2b3,0x207)])env['PORT']=String(flags['port']);if(flags['host'])env[_0x210841(0x1f9,0x23c)+_0x210841(0x1ca,0x1a2)+'T']=flags[_0x6aac3f(-0x59,-0x7d)];const serverPath=join(ROOT,'serve'+_0x210841(0x434,0x50b));if(flags[_0x6aac3f(-0x13,0xe3)+'h']){const watchdogPath=join(ROOT,_0x210841(0x24b,0x384)+'r','watch'+_0x6aac3f(0x201,0x1c0)+'s'),extraEnv={};if(flags[_0x6aac3f(0x9f,0xac)])extraEnv['PORT']=String(flags['port']);if(flags[_0x6aac3f(-0x59,0x68)])extraEnv['UPLIN'+_0x210841(0x1ca,0xb)+'T']=flags[_0x210841(0x1bb,0x295)];const isLinux=process['platf'+_0x6aac3f(0x186,-0xb)]===_0x210841(0x35f,0x54a);let child;if(isLinux)try{const _0x473d39={};_0x473d39[_0x210841(0x4a5,0x671)]='ignor'+'e',execSync(_0x210841(0x384,0x1a0)+'\x20sets'+'id',_0x473d39);const _0x59ef39={};_0x59ef39[_0x6aac3f(0x254,0x44a)]=ROOT,_0x59ef39['env']=env,_0x59ef39[_0x210841(0x201,0x280)+_0x6aac3f(0x1e6,0x33a)]=!![],_0x59ef39[_0x6aac3f(0x291,0x173)]='ignor'+'e',child=spawn(_0x210841(0x48b,0x68e)+'d',['--for'+'k',process[_0x210841(0x478,0x448)+_0x210841(0x425,0x3b2)],watchdogPath,JSON['strin'+_0x6aac3f(0x29f,0x126)](extraEnv)],_0x59ef39);}catch{const _0x3fdd13={};_0x3fdd13[_0x210841(0x468,0x667)]=ROOT,_0x3fdd13[_0x210841(0x4ec,0x687)]=env,_0x3fdd13[_0x6aac3f(-0x13,0x18e)+'hed']=!![],_0x3fdd13[_0x6aac3f(0x291,0x3ad)]=_0x6aac3f(0x1e4,0x1e)+'e',child=spawn(process[_0x6aac3f(0x264,0x3b6)+_0x6aac3f(0x211,0x75)],[watchdogPath,JSON['strin'+_0x210841(0x4b3,0x31a)](extraEnv)],_0x3fdd13);}else{const _0x5a3f42={};_0x5a3f42[_0x210841(0x468,0x437)]=ROOT,_0x5a3f42[_0x6aac3f(0x2d8,0x446)]=env,_0x5a3f42[_0x6aac3f(-0x13,-0x3d)+'hed']=!![],_0x5a3f42[_0x6aac3f(0x291,0x156)]=_0x6aac3f(0x1e4,0x46)+'e',child=spawn(process[_0x6aac3f(0x264,0x3e0)+_0x6aac3f(0x211,0x2b3)],[watchdogPath,JSON[_0x210841(0x487,0x2e0)+'gify'](extraEnv)],_0x5a3f42);}child['unref']();const port=flags[_0x6aac3f(0x9f,0xf0)]||env[_0x210841(0x376,0x53b)]||-0x18d*0x15+-0x109a+0x3eab;console['log'](_0x6aac3f(0xc2,0x8b)+_0x6aac3f(0x6,-0x13d)+'tarte'+_0x6aac3f(0xe5,-0x40)+_0x210841(0x453,0x2c6)+'round'+_0x6aac3f(0xda,-0x104)+_0x6aac3f(0x247,0x361)+_0x6aac3f(0x142,0x1e7)+_0x210841(0x44c,0x401)+child[_0x210841(0x3f6,0x350)]+').'),console[_0x6aac3f(0xf8,0x15f)]('\x20\x20→\x20h'+'ttp:/'+_0x210841(0x22e,0xf9)+_0x210841(0x3a8,0x4e7)+':'+port),console[_0x210841(0x30c,0x36a)]('\x20\x20Aut'+'o-res'+_0x210841(0x2df,0x2c2)+_0x210841(0x338,0x455)+_0x210841(0x505,0x68e)+'\x20Stop'+_0x210841(0x2ee,0x3e1)+_0x6aac3f(0x97,-0x7a)+_0x6aac3f(-0x19,-0xb9)+'hat\x20s'+_0x210841(0x42f,0x53d)),process[_0x210841(0x2e3,0x3e8)](0x2f*-0xbc+-0x7+0x228b*0x1);}else{if(flags['noWat'+_0x210841(0x1d3,0x242)]){const _0x1ed278={};_0x1ed278['cwd']=ROOT,_0x1ed278[_0x6aac3f(0x2d8,0x226)]=env,_0x1ed278[_0x6aac3f(0x291,0x3a9)]=_0x6aac3f(0x28b,0x321)+'it';const child=spawn(process[_0x6aac3f(0x264,0x3c6)+'ath'],[serverPath],_0x1ed278);writeFileSync(PID_FILE,String(child[_0x6aac3f(0x1e2,0x188)]));const cleanup=()=>{function _0x53a02a(_0x3b404b,_0xa516e){return _0x6aac3f(_0x3b404b- -0x17e,_0xa516e);}function _0x35ae52(_0x53065a,_0x50104b){return _0x6aac3f(_0x50104b-0x587,_0x53065a);}const _0x12bd12={'NQMcl':function(_0x139774,_0x1ec2ca,_0x8ac01){return _0x139774(_0x1ec2ca,_0x8ac01);},'DnOlv':function(_0x4ce2f0,_0x7b0ac6){return _0x4ce2f0===_0x7b0ac6;},'IYEkF':_0x53a02a(0x4c,0xe6),'zrSpc':function(_0x4aa751,_0x3626d9){return _0x4aa751(_0x3626d9);}};try{if(_0x12bd12[_0x53a02a(-0x1ae,-0x2d6)](_0x12bd12[_0x35ae52(0x72e,0x79a)],_0x12bd12['IYEkF']))_0x12bd12['zrSpc'](unlinkSync,PID_FILE);else{const _0x4b0f0a={};_0x4b0f0a[_0x35ae52(0x510,0x504)+_0x35ae52(0x671,0x620)]=!![],_0x4b0f0a[_0x35ae52(0x66d,0x7e6)]=!![],FfFdOw['NQMcl'](_0xacfbf4,_0x290d05,_0x4b0f0a),_0x82adb++,_0x4ada41['log'](_0x35ae52(0x69d,0x83b)+_0x35ae52(0x7ef,0x63c)+'d\x20dat'+_0x53a02a(0x49,-0x17b)+_0x35ae52(0x6dd,0x764)+_0x53a02a(0x22,0x3c)+_0x5b3ad1);}}catch{}};process['on'](_0x6aac3f(0x44,-0xa2)+'T',()=>{const _0x2a6db0={'jbxms':function(_0x4d2c41){return _0x4d2c41();}};function _0x248af6(_0x4b3bf5,_0x20f2ae){return _0x210841(_0x4b3bf5-0x18b,_0x20f2ae);}function _0x33f8d3(_0x54d9df,_0x1bc097){return _0x210841(_0x54d9df- -0x338,_0x1bc097);}_0x2a6db0[_0x33f8d3(0x1b5,0x2a0)](cleanup),process[_0x33f8d3(-0x55,-0xd)](-0x7b5*-0x1+0x236e+-0x2b23);}),process['on']('SIGTE'+'RM',()=>{const _0x69af18={'lBZuP':function(_0xdc367b){return _0xdc367b();}};function _0x204a15(_0x797df3,_0x24d833){return _0x210841(_0x24d833-0x185,_0x797df3);}_0x69af18[_0xe76c26(0x424,0x2d4)](cleanup);function _0xe76c26(_0x2a604e,_0x1aac0c){return _0x210841(_0x2a604e-0x41,_0x1aac0c);}process[_0xe76c26(0x324,0x44a)](0x1*-0x197+0x1*0x716+-0x1*0x57f);}),child['on'](_0x210841(0x2e3,0x349),_0xec20ab=>{const _0x4bfd90={};_0x4bfd90['ViznM']=function(_0x6f86e2,_0x41c811){return _0x6f86e2||_0x41c811;};function _0x5d0bf5(_0x1d3f48,_0x2ae667){return _0x6aac3f(_0x1d3f48-0x307,_0x2ae667);}const _0x4d47a0=_0x4bfd90;cleanup(),process['exit'](_0x4d47a0[_0x5d0bf5(0x24b,0x398)](_0xec20ab,0x1*0x224b+0x184a+-0x3a95*0x1));});}else{const watchdogPath=join(ROOT,_0x210841(0x24b,0x23d)+'r',_0x210841(0x391,0x283)+_0x210841(0x415,0x551)+'s'),extraEnv={};if(flags[_0x210841(0x2b3,0x203)])extraEnv[_0x6aac3f(0x162,0x324)]=String(flags['port']);if(flags['host'])extraEnv[_0x210841(0x1f9,0x322)+'K_HOS'+'T']=flags['host'];const _0x57d075={};_0x57d075[_0x210841(0x468,0x5fc)]=ROOT,_0x57d075[_0x210841(0x4ec,0x5ac)]=env,_0x57d075[_0x210841(0x4a5,0x415)]=_0x6aac3f(0x28b,0x263)+'it';const child=spawn(process['execP'+_0x210841(0x425,0x53b)],[watchdogPath,JSON[_0x6aac3f(0x273,0x45b)+_0x6aac3f(0x29f,0x431)](extraEnv)],_0x57d075),port=flags['port']||env[_0x6aac3f(0x162,-0x6d)]||0xbf*0xb+0x202*-0x1+0x74d;console[_0x6aac3f(0xf8,0x176)](_0x210841(0x2d6,0x46b)+_0x6aac3f(0x6,-0x1c7)+_0x210841(0x329,0x2ad)+_0x6aac3f(0xfe,0x2e5)+_0x6aac3f(0x183,0x75)+'tchdo'+'g\x20(au'+_0x210841(0x4cf,0x505)+'start'+'\x20enab'+_0x6aac3f(0x2f5,0x255)),console[_0x6aac3f(0xf8,0x2b3)](_0x6aac3f(-0xc4,-0xc0)+_0x6aac3f(0x25c,0x25c)+'/loca'+_0x6aac3f(0x194,0x376)+':'+port),console['log'](_0x210841(0x43c,0x55f)+_0x210841(0x274,0x1e8)+'-watc'+'hdog\x20'+_0x210841(0x378,0x35e)+'aw\x20se'+'rver\x20'+_0x6aac3f(0x1c6,0x205)),process['on']('SIGIN'+'T',()=>{const _0x143054={};function _0x4b84cc(_0x3a8296,_0xf83a85){return _0x6aac3f(_0xf83a85-0xf3,_0x3a8296);}function _0x583574(_0x373b36,_0x2c405a){return _0x6aac3f(_0x373b36-0x43b,_0x2c405a);}_0x143054[_0x4b84cc(0x12c,0x291)]=_0x4b84cc(0x521,0x3a5)+'RM';const _0x3bc2bc=_0x143054;child['kill'](_0x3bc2bc[_0x583574(0x5d9,0x556)]);}),process['on'](_0x6aac3f(0x2b2,0x27d)+'RM',()=>{const _0x2abaa7={};_0x2abaa7[_0x32fbea(0x141,0x186)]=_0x32fbea(0x262,0x72)+'RM';function _0x516e51(_0x23206f,_0x356e58){return _0x6aac3f(_0x23206f-0x125,_0x356e58);}function _0x32fbea(_0x1ff7ee,_0x3a9f54){return _0x6aac3f(_0x1ff7ee- -0x50,_0x3a9f54);}const _0x1fca09=_0x2abaa7;child[_0x32fbea(0x29b,0x33e)](_0x1fca09[_0x516e51(0x2b6,0x287)]);}),child['on']('exit',_0x232851=>{function _0x1ca16c(_0x4fa3ab,_0x473ff5){return _0x6aac3f(_0x473ff5-0x40f,_0x4fa3ab);}process[_0x1ca16c(0x355,0x4de)](_0x232851||0x1584+0x1b3+-0x1737);});}}}