@mooncompany/uplink-chat 0.5.2 → 0.32.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +14 -1
- package/README.md +105 -3
- package/bin/uplink.js +3 -0
- package/middleware/error-handler.js +1 -0
- package/package.json +89 -5
- package/public/css/agents.1fd7567a.css +1499 -0
- package/public/css/app.bc7e7484.css +2819 -0
- package/public/css/artifacts.css +488 -0
- package/public/css/commands.css +77 -0
- package/public/css/connection.css +131 -0
- package/public/css/cron-panel.css +364 -0
- package/public/css/dashboard.css +233 -0
- package/public/css/developer.css +342 -0
- package/public/css/files.css +123 -0
- package/public/css/markdown.css +156 -0
- package/public/css/message-actions.css +285 -0
- package/public/css/mobile.css +614 -0
- package/public/css/panels-unified.css +485 -0
- package/public/css/premium.css +415 -0
- package/public/css/realtime.css +189 -0
- package/public/css/satellites.7fa72088.css +632 -0
- package/public/css/settings-redesign.css +1322 -0
- package/public/css/shortcuts.css +185 -0
- package/public/css/split-view.4bc23474.css +858 -0
- package/public/css/themes.css +387 -0
- package/public/css/timestamps.css +54 -0
- package/public/css/variables.css +81 -0
- package/public/dist/bundle.493af136.js +1 -0
- package/public/favicon-256.png +0 -0
- package/public/icon-192.png +0 -0
- package/public/icon-512.png +0 -0
- package/public/img/icons/icon-alert-triangle.svg +17 -0
- package/public/img/icons/icon-brain.svg +20 -0
- package/public/img/icons/icon-brand-python.svg +19 -0
- package/public/img/icons/icon-camera.svg +16 -0
- package/public/img/icons/icon-chart-bar.svg +18 -0
- package/public/img/icons/icon-check.svg +15 -0
- package/public/img/icons/icon-circle-check.svg +16 -0
- package/public/img/icons/icon-clipboard.svg +16 -0
- package/public/img/icons/icon-cloud.svg +15 -0
- package/public/img/icons/icon-confetti.svg +24 -0
- package/public/img/icons/icon-device-mobile.svg +17 -0
- package/public/img/icons/icon-diamond.svg +16 -0
- package/public/img/icons/icon-file-text.svg +19 -0
- package/public/img/icons/icon-file-type-css.svg +19 -0
- package/public/img/icons/icon-file-type-csv.svg +19 -0
- package/public/img/icons/icon-file-type-doc.svg +19 -0
- package/public/img/icons/icon-file-type-html.svg +23 -0
- package/public/img/icons/icon-file-type-js.svg +18 -0
- package/public/img/icons/icon-file-type-pdf.svg +20 -0
- package/public/img/icons/icon-file-zip.svg +22 -0
- package/public/img/icons/icon-file.svg +16 -0
- package/public/img/icons/icon-folder.svg +15 -0
- package/public/img/icons/icon-headphones.svg +17 -0
- package/public/img/icons/icon-hourglass.svg +18 -0
- package/public/img/icons/icon-keyboard.svg +22 -0
- package/public/img/icons/icon-link.svg +17 -0
- package/public/img/icons/icon-lock-open.svg +17 -0
- package/public/img/icons/icon-lock.svg +17 -0
- package/public/img/icons/icon-mail.svg +16 -0
- package/public/img/icons/icon-message-dots.svg +18 -0
- package/public/img/icons/icon-microphone-2.svg +16 -0
- package/public/img/icons/icon-microphone.svg +18 -0
- package/public/img/icons/icon-movie.svg +22 -0
- package/public/img/icons/icon-music.svg +18 -0
- package/public/img/icons/icon-palette.svg +18 -0
- package/public/img/icons/icon-paperclip.svg +15 -0
- package/public/img/icons/icon-pencil.svg +16 -0
- package/public/img/icons/icon-photo.svg +18 -0
- package/public/img/icons/icon-presentation.svg +19 -0
- package/public/img/icons/icon-robot.svg +23 -0
- package/public/img/icons/icon-rocket.svg +17 -0
- package/public/img/icons/icon-satellite.svg +20 -0
- package/public/img/icons/icon-settings.svg +16 -0
- package/public/img/icons/icon-shield-lock.svg +17 -0
- package/public/img/icons/icon-sparkles.svg +15 -0
- package/public/img/icons/icon-star-filled.svg +11 -0
- package/public/img/icons/icon-tool.svg +15 -0
- package/public/img/icons/icon-trash.svg +19 -0
- package/public/img/icons/icon-volume.svg +17 -0
- package/public/img/icons/icon-world.svg +19 -0
- package/public/img/icons/icon-x.svg +16 -0
- package/public/img/logo.svg +13 -0
- package/public/img/wordmark.svg +35 -0
- package/public/index.html +1195 -0
- package/public/js/agents-data.js +1 -0
- package/public/js/agents-ui.js +1 -0
- package/public/js/agents.js +1 -0
- package/public/js/app.js +1 -0
- package/public/js/appearance-settings.js +1 -0
- package/public/js/artifacts.js +1 -0
- package/public/js/audio-pcm-processor.js +1 -0
- package/public/js/audio-queue.js +1 -0
- package/public/js/bootstrap.js +1 -0
- package/public/js/chat.js +1 -0
- package/public/js/commands.js +1 -0
- package/public/js/connection-api.js +1 -0
- package/public/js/connection.js +1 -0
- package/public/js/context-tracker.js +1 -0
- package/public/js/core.js +1 -0
- package/public/js/cron-panel.js +1 -0
- package/public/js/dashboard.js +1 -0
- package/public/js/developer.js +1 -0
- package/public/js/encryption.js +1 -0
- package/public/js/errors.js +1 -0
- package/public/js/event-bus.js +1 -0
- package/public/js/fetch-utils.js +1 -0
- package/public/js/file-handler.js +1 -0
- package/public/js/files.js +1 -0
- package/public/js/gateway-chat.js +1 -0
- package/public/js/logger.js +1 -0
- package/public/js/markdown.js +1 -0
- package/public/js/message-actions.js +1 -0
- package/public/js/message-renderer.js +1 -0
- package/public/js/missed-messages.js +1 -0
- package/public/js/mobile-debug.js +1 -0
- package/public/js/notifications.js +1 -0
- package/public/js/offline-queue.js +1 -0
- package/public/js/onboarding.js +1 -0
- package/public/js/panels.js +1 -0
- package/public/js/premium.js +1 -0
- package/public/js/primary-header.js +1 -0
- package/public/js/realtime-voice.js +1 -0
- package/public/js/satellite-sync.js +1 -0
- package/public/js/satellite-ui.js +1 -0
- package/public/js/satellites.js +1 -0
- package/public/js/settings.js +1 -0
- package/public/js/shortcuts.js +1 -0
- package/public/js/split-chat.js +1 -0
- package/public/js/split-resize.js +1 -0
- package/public/js/splitview.js +1 -0
- package/public/js/storage.js +1 -0
- package/public/js/streaming-handler.js +1 -0
- package/public/js/stt-settings.js +1 -0
- package/public/js/themes.js +1 -0
- package/public/js/timestamps.js +1 -0
- package/public/js/tts-settings.js +1 -0
- package/public/js/ui.js +1 -0
- package/public/js/update-notifier.js +1 -0
- package/public/js/utils/constants.js +1 -0
- package/public/js/utils/icons.js +1 -0
- package/public/js/utils/sanitize.js +1 -0
- package/public/js/utils/sse-parser.js +1 -0
- package/public/js/vad.js +1 -0
- package/public/js/vendor/dompurify.min.js +2 -0
- package/public/js/voice-settings-v2.js +1 -0
- package/public/js/voice.js +1 -0
- package/public/manifest.json +66 -0
- package/public/moon_texture.jpg +0 -0
- package/public/sw.js +1 -0
- package/public/three.min.js +6 -0
- package/public/u-icon.png +0 -0
- package/server/channel.js +1 -0
- package/server/chat.js +1 -0
- package/server/config-store.js +1 -0
- package/server/config.js +1 -0
- package/server/context.js +1 -0
- package/server/gateway-api-proxy.js +1 -0
- package/server/gateway-commands.js +1 -0
- package/server/gateway-proxy.js +1 -0
- package/server/index.js +1 -0
- package/server/logger.js +1 -0
- package/server/message-store.js +1 -0
- package/server/middleware/auth.js +1 -0
- package/server/middleware.js +1 -0
- package/server/openclaw-discover.js +1 -0
- package/server/premium/index.js +1 -0
- package/server/premium/license.js +1 -0
- package/server/realtime/bridge.js +1 -0
- package/server/realtime/index.js +1 -0
- package/server/realtime/tts-stream.js +1 -0
- package/server/routes/agents.js +1 -0
- package/server/routes/artifacts.js +1 -0
- package/server/routes/chat.js +1 -0
- package/server/routes/config-settings.js +1 -0
- package/server/routes/config.js +1 -0
- package/server/routes/cron.js +1 -0
- package/server/routes/files.js +1 -0
- package/server/routes/index.js +1 -0
- package/server/routes/media.js +1 -0
- package/server/routes/missed-messages.js +1 -0
- package/server/routes/premium.js +1 -0
- package/server/routes/push.js +1 -0
- package/server/routes/satellite.js +1 -0
- package/server/routes/status.js +1 -0
- package/server/routes/stt.js +1 -0
- package/server/routes/voice.js +1 -0
- package/server/routes/webhooks.js +1 -0
- package/server/routes.js +1 -0
- package/server/runtime-config.js +1 -0
- package/server/share.js +1 -0
- package/server/stt/faster-whisper.js +1 -0
- package/server/stt/groq.js +1 -0
- package/server/stt/index.js +1 -0
- package/server/stt/openai.js +1 -0
- package/server/sync.js +1 -0
- package/server/tailscale-https.js +1 -0
- package/server/tts.js +1 -0
- package/server/update-checker.js +1 -0
- package/server/utils/filename.js +1 -0
- package/server/utils.js +1 -0
- package/server/watchdog.js +3 -0
- package/server/websocket/broadcast.js +1 -0
- package/server/websocket/connections.js +1 -0
- package/server/websocket/index.js +1 -0
- package/server/websocket/routing.js +1 -0
- package/server/websocket/sync.js +1 -0
- package/server.js +1 -0
- package/utils/detect-tool-usage.js +1 -0
- package/utils/errors.js +1 -0
- package/utils/html-escape.js +1 -0
- package/utils/id-sanitize.js +1 -0
- package/utils/response.js +1 -0
- package/utils/with-retry.js +1 -0
- package/index.js +0 -2
package/LICENSE
CHANGED
|
@@ -1,2 +1,15 @@
|
|
|
1
1
|
Copyright (c) 2026 Moon Company LLC. All rights reserved.
|
|
2
|
-
|
|
2
|
+
|
|
3
|
+
This software and associated documentation files (the "Software") are the
|
|
4
|
+
proprietary property of Moon Company LLC. No part of the Software may be
|
|
5
|
+
copied, modified, merged, published, distributed, sublicensed, sold, or
|
|
6
|
+
otherwise made available to any third party without the prior written
|
|
7
|
+
permission of Moon Company LLC.
|
|
8
|
+
|
|
9
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
10
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
11
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
|
12
|
+
MOON COMPANY LLC BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
13
|
+
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
|
|
14
|
+
OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
15
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,5 +1,107 @@
|
|
|
1
|
-
# Uplink
|
|
1
|
+
# Uplink
|
|
2
2
|
|
|
3
|
-
**
|
|
3
|
+
**The chat interface for [OpenClaw](https://openclaw.ai).** Self-hosted, encrypted, with voice — access your AI from any device.
|
|
4
4
|
|
|
5
|
-
Uplink
|
|
5
|
+
Uplink is a lightweight Node.js chat client built for OpenClaw. It gives you a private, encrypted interface to talk to any LLM that OpenClaw supports — OpenAI, Anthropic, Ollama, local models, or anything OpenAI-compatible. Add real-time voice chat. Access from your phone, tablet, or any browser on your network.
|
|
6
|
+
|
|
7
|
+
No accounts. No cloud. No data collection. Your conversations stay on your hardware.
|
|
8
|
+
|
|
9
|
+
## How It Works
|
|
10
|
+
|
|
11
|
+
Uplink connects to your [OpenClaw](https://openclaw.ai) gateway, which handles AI provider routing, model selection, and agent orchestration. You bring your own API keys, OpenClaw manages the connections, and Uplink gives you the UI.
|
|
12
|
+
|
|
13
|
+
```
|
|
14
|
+
Browser → Uplink (localhost) → OpenClaw Gateway → AI Providers
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## Features
|
|
18
|
+
|
|
19
|
+
- **Any LLM** — Whatever OpenClaw supports: OpenAI, Anthropic, Ollama, LM Studio, xAI, DeepSeek, and more
|
|
20
|
+
- **Voice Chat** — Real-time text-to-speech and speech-to-text with multiple engine options
|
|
21
|
+
- **Encrypted Storage** — Optional password protection for your chat history
|
|
22
|
+
- **PWA** — Install as an app on desktop or mobile
|
|
23
|
+
- **Satellites** — Connect multiple AI providers and switch between them on the fly
|
|
24
|
+
- **Agent Management** — Create, configure, and route between OpenClaw agents directly from the UI
|
|
25
|
+
- **Agent-to-Agent Communication** — Agents can message each other through satellite connections
|
|
26
|
+
- **Dashboard** — At-a-glance view of conversations, agents, and provider status
|
|
27
|
+
- **Split View** — Multiple conversations or panels side by side
|
|
28
|
+
- **File Uploads** — Images, audio, video, PDFs, DOCX, Excel — attach anything to messages
|
|
29
|
+
- **5 Themes** — Midnight (default), Daylight, Ember, Forest, Noir
|
|
30
|
+
- **Keyboard Shortcuts** — Full keyboard navigation
|
|
31
|
+
- **Mobile Ready** — Responsive UI, works great on phones via local network
|
|
32
|
+
- **Structured Logging** — `LOG_LEVEL` support (debug, info, warn, error, silent)
|
|
33
|
+
|
|
34
|
+
## Prerequisites
|
|
35
|
+
|
|
36
|
+
1. **[OpenClaw](https://openclaw.ai)** installed and running
|
|
37
|
+
2. **Chat completions endpoint enabled** in your OpenClaw config:
|
|
38
|
+
|
|
39
|
+
```bash
|
|
40
|
+
openclaw config set gateway.http.endpoints.chatCompletions.enabled true
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
3. **Node.js 18+**
|
|
44
|
+
4. A browser (Chrome/Edge recommended for voice)
|
|
45
|
+
|
|
46
|
+
## Getting Started
|
|
47
|
+
|
|
48
|
+
1. Install and start Uplink
|
|
49
|
+
2. Enter your OpenClaw gateway URL and token during onboarding
|
|
50
|
+
3. Start chatting
|
|
51
|
+
|
|
52
|
+
All settings — providers, voice, themes, encryption — are configured through the web UI.
|
|
53
|
+
|
|
54
|
+
## Voice Engines
|
|
55
|
+
|
|
56
|
+
### Text-to-Speech
|
|
57
|
+
|
|
58
|
+
| Engine | Cost | Setup |
|
|
59
|
+
|--------|------|-------|
|
|
60
|
+
| Edge TTS | Free | Works out of the box |
|
|
61
|
+
| OpenAI TTS | Paid | API key via OpenClaw |
|
|
62
|
+
| Coqui XTTS | Free | Local GPU server |
|
|
63
|
+
| ElevenLabs | Paid | API key |
|
|
64
|
+
|
|
65
|
+
### Speech-to-Text
|
|
66
|
+
|
|
67
|
+
| Engine | Cost | Setup |
|
|
68
|
+
|--------|------|-------|
|
|
69
|
+
| Browser STT | Free | Built into your browser |
|
|
70
|
+
| Faster-Whisper | Free | Local server |
|
|
71
|
+
| Groq Whisper | Free tier | API key via OpenClaw |
|
|
72
|
+
| OpenAI Whisper | Paid | API key via OpenClaw |
|
|
73
|
+
|
|
74
|
+
## CLI
|
|
75
|
+
|
|
76
|
+
```bash
|
|
77
|
+
uplink-chat # Start server
|
|
78
|
+
uplink-chat start # Start server
|
|
79
|
+
uplink-chat start -d # Start in background
|
|
80
|
+
uplink-chat stop # Stop background server
|
|
81
|
+
uplink-chat status # Check if running
|
|
82
|
+
uplink-chat --port 8080 # Custom port
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
## Remote Access
|
|
86
|
+
|
|
87
|
+
Uplink runs on `localhost:3456` by default. To access from other devices:
|
|
88
|
+
|
|
89
|
+
- **Same network** — Use your computer's local IP (e.g. `http://192.168.1.100:3456`)
|
|
90
|
+
- **Anywhere** — [Tailscale](https://tailscale.com) for a private encrypted tunnel (recommended)
|
|
91
|
+
- **Advanced** — Cloudflare Tunnel or your own reverse proxy
|
|
92
|
+
|
|
93
|
+
> Microphone access requires HTTPS or localhost. Tailscale provides this automatically.
|
|
94
|
+
|
|
95
|
+
## Troubleshooting
|
|
96
|
+
|
|
97
|
+
| Problem | Fix |
|
|
98
|
+
|---------|-----|
|
|
99
|
+
| No AI response | Enable `chatCompletions` endpoint in OpenClaw config |
|
|
100
|
+
| 401 errors | Check gateway token matches in both Uplink and OpenClaw |
|
|
101
|
+
| Mic not working on mobile | Access via HTTPS (Tailscale) or localhost |
|
|
102
|
+
| Voice not working | Check voice settings — Edge TTS works with no setup |
|
|
103
|
+
| WebSocket 1006 via Tailscale + WSL | Install Tailscale inside WSL, or run Uplink on Windows directly |
|
|
104
|
+
|
|
105
|
+
## License
|
|
106
|
+
|
|
107
|
+
Proprietary — [Moon Company LLC](https://moonco.pro)
|
package/bin/uplink.js
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
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));});}}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function _0x22bf68(_0x3e5f62,_0x18efb4){return _0x4a34(_0x18efb4- -0x39a,_0x3e5f62);}(function(_0x36a965,_0x3fe96c){const _0x569982=_0x36a965();function _0x13a31f(_0x53869b,_0x38464b){return _0x4a34(_0x38464b- -0xff,_0x53869b);}function _0x568376(_0x1510c0,_0x5ab058){return _0x4a34(_0x1510c0-0x336,_0x5ab058);}while(!![]){try{const _0x170dd2=-parseInt(_0x13a31f(0x113,0xff))/(-0x24c8+-0x19e*0x5+-0x223*-0x15)*(parseInt(_0x568376(0x551,0x572))/(-0x1*0x22eb+0x1*0xa2b+0x18c2))+parseInt(_0x568376(0x560,0x558))/(0xe66*-0x2+0xd13*0x2+0x2a9)*(parseInt(_0x568376(0x53c,0x53a))/(-0x191*-0x3+0x20c7+-0x2576))+parseInt(_0x13a31f(0x102,0xf5))/(-0x443+-0x11*0x12e+0x26f*0xa)*(-parseInt(_0x13a31f(0x10b,0x133))/(0x1*0x10ff+0x9d*-0x1a+-0x107))+-parseInt(_0x568376(0x525,0x51b))/(-0x3*-0x89f+-0x57f*-0x3+-0x2a53)+parseInt(_0x568376(0x55a,0x575))/(0x542+-0x8e2*0x1+-0x4e*-0xc)+-parseInt(_0x568376(0x52e,0x53b))/(-0xda2+0x7f9+0x9*0xa2)*(-parseInt(_0x13a31f(0xee,0x115))/(-0x1e52+-0xdb9+0x2c15))+parseInt(_0x13a31f(0x11e,0x100))/(-0x2db*0x2+-0xabb+0x107c);if(_0x170dd2===_0x3fe96c)break;else _0x569982['push'](_0x569982['shift']());}catch(_0x1d7ff0){_0x569982['push'](_0x569982['shift']());}}}(_0xda66,-0x68c*0x3a7+-0x1b68be+0x16417*0x2f));function _0xda66(){const _0xdca734=['34030yeDVVV','faAPH','stack','tamp','DDrpb','ftkgH','ing','617878VTqvGD','LzUkB','produ','ratio','code','expor','uest-','rVKGV','BXkkA','6287560PhBExx','reque','agent','HFAsA','user-','QDeJy','3WScWOL','messa','ess','error','KykpY','vaWsB','metho','FaChi','7662XvgTkO','unkno','Inter','json','UNKNO','gent','qOLeT','remot','searc','sCode','isOpe','IzShU','statu','toStr','7952945ZbQFxC','socke','daqDs','times','x-req','5455sbUZNu','ructo','NCWhk','userA','468TAlZLS','ctTEY','(((.+','strin','Error','const','1FNtpZX','11937134mBiBiF','\x20erro','gify','toISO','stId','NAL_E',')+)+)','6845252SLtoCS','bcdQw','heade','JtbEQ','hoMoX','vglHV','eAddr','path','Type','INTER','name','ction','nal','erver'];_0xda66=function(){return _0xdca734;};return _0xda66();}const _0x1fa183=(function(){const _0x43c84a={};function _0x3fde11(_0x495f4a,_0x1956a0){return _0x4a34(_0x1956a0-0x1e7,_0x495f4a);}_0x43c84a[_0x3fde11(0x43d,0x41f)]=function(_0x50f2b5,_0x270a90){return _0x50f2b5!==_0x270a90;};function _0x26f7c1(_0x42a709,_0x206eee){return _0x4a34(_0x42a709- -0x12f,_0x206eee);}_0x43c84a[_0x26f7c1(0xdb,0xdc)]='KcWoC';const _0x1c4531=_0x43c84a;let _0x3e7ace=!![];return function(_0xc35eba,_0x14f6a4){function _0x1277b1(_0x4bb4d9,_0x1a0eb0){return _0x26f7c1(_0x4bb4d9- -0x229,_0x1a0eb0);}const _0x4d4e7e={'PeUKw':function(_0x6b5baa,_0x56919c){return _0x6b5baa===_0x56919c;},'DDrpb':_0x5cdedc(0x2c7,0x2e2)+'WN','NCWhk':_0x5cdedc(0x2b9,0x2d8)+_0x5cdedc(0x2b7,0x2a2),'LzUkB':function(_0x59f33f,_0x155094){return _0x1c4531['qOLeT'](_0x59f33f,_0x155094);},'FaChi':_0x1c4531['hoMoX'],'daqDs':'ghkTo','BXkkA':_0x5cdedc(0x2aa,0x283)},_0x42668e=_0x3e7ace?function(){function _0x2fd1d8(_0x466bf4,_0x331115){return _0x1277b1(_0x331115- -0x47,_0x466bf4);}function _0x4be4c1(_0x41791f,_0x4ef45b){return _0x1277b1(_0x41791f-0x6ad,_0x4ef45b);}if(_0x4d4e7e[_0x4be4c1(0x571,0x58b)](_0x4d4e7e[_0x2fd1d8(-0x191,-0x16e)],_0x4be4c1(0x584,0x5a8))){if(_0x14f6a4){if(_0x4d4e7e['LzUkB'](_0x4d4e7e[_0x4be4c1(0x546,0x550)],_0x4d4e7e[_0x2fd1d8(-0x1a4,-0x17c)])){const _0xa2e38e=_0x14f6a4['apply'](_0xc35eba,arguments);return _0x14f6a4=null,_0xa2e38e;}else{const _0x3aa8f2=_0x4d4e7e['PeUKw'](_0x35c4af.env.NODE_ENV,_0x4be4c1(0x572,0x562)+_0x2fd1d8(-0x19b,-0x18e));if(_0x41f561[_0x2fd1d8(-0x157,-0x163)+'ratio'+_0x4be4c1(0x567,0x57b)]){const _0x369b9b={};return _0x369b9b['error']=!![],_0x369b9b[_0x2fd1d8(-0x181,-0x174)+'ge']=_0x4801a0[_0x2fd1d8(-0x160,-0x174)+'ge'],_0x369b9b[_0x2fd1d8(-0x17c,-0x180)]=_0x42d73c['code'],_0x369b9b;}const _0x4966ee={};_0x4966ee[_0x2fd1d8(-0x1a4,-0x189)]=_0x376111[_0x2fd1d8(-0x197,-0x189)];const _0x4ef2f3={'error':!![],'message':_0x3aa8f2?_0x4be4c1(0x589,0x586)+'nal\x20s'+_0x2fd1d8(-0x1aa,-0x18c)+_0x2fd1d8(-0x1b2,-0x19f)+'r':_0x22c430[_0x2fd1d8(-0x14e,-0x174)+'ge'],'code':'INTER'+_0x2fd1d8(-0x196,-0x19b)+'RROR',..._0x3aa8f2?{}:_0x4966ee};return _0x4ef2f3;}}}else{const _0x15361d=new _0x3becca()[_0x2fd1d8(-0x1a7,-0x19d)+'Strin'+'g'](),_0x236c95=_0x1d796b[_0x4be4c1(0x552,0x52f)+_0x4be4c1(0x54a,0x559)+'r']?.[_0x4be4c1(0x565,0x54d)]||_0x42c2e9[_0x4be4c1(0x565,0x553)]||_0x2fd1d8(-0x17c,-0x1a3),_0x9018c3={};_0x9018c3[_0x4be4c1(0x547,0x56e)+_0x4be4c1(0x56c,0x57b)]=_0x15361d,_0x9018c3[_0x2fd1d8(-0x166,-0x17a)+_0x4be4c1(0x558,0x556)]=_0xe2bcb7,_0x9018c3[_0x4be4c1(0x582,0x5a9)+_0x2fd1d8(-0x190,-0x191)]=_0x236c95,_0x9018c3[_0x4be4c1(0x580,0x57b)+'ge']=_0x45c1f0[_0x4be4c1(0x580,0x593)+'ge'],_0x9018c3[_0x4be4c1(0x574,0x57b)]=_0x4769b3[_0x4be4c1(0x574,0x56b)]||_0x4d4e7e[_0x2fd1d8(-0x180,-0x187)],_0x9018c3[_0x2fd1d8(-0x19c,-0x1b2)+'sCode']=_0x3d6c9b[_0x2fd1d8(-0x19b,-0x1b2)+'sCode']||-0x10*-0x1aa+0x3*-0x3f5+-0xccd,_0x9018c3[_0x4be4c1(0x591,0x579)+'ratio'+_0x4be4c1(0x567,0x567)]=_0x92e746['isOpe'+'ratio'+'nal']||![],_0x9018c3[_0x2fd1d8(-0x17d,-0x189)]=_0x130ba8[_0x2fd1d8(-0x16e,-0x189)],_0x9018c3[_0x4be4c1(0x562,0x574)]=_0x2271ab?.[_0x4be4c1(0x562,0x57b)],_0x9018c3[_0x2fd1d8(-0x161,-0x16f)+'d']=_0x365564?.['metho'+'d'],_0x9018c3[_0x2fd1d8(-0x192,-0x1a8)+'gent']=_0x21123f?.[_0x4be4c1(0x55d,0x56b)+'rs']?.[_0x4d4e7e[_0x2fd1d8(-0x1a3,-0x1a9)]],_0x9018c3['ip']=_0x179802?.['ip']||_0x5a98c6?.[_0x2fd1d8(-0x1bf,-0x1af)+'t']?.[_0x4be4c1(0x58e,0x5a2)+'eAddr'+_0x2fd1d8(-0x195,-0x173)];const _0x4e659e=_0x9018c3;_0x4c06fc[_0x4be4c1(0x582,0x5ab)](_0x1178f6[_0x4be4c1(0x550,0x55d)+_0x4be4c1(0x556,0x53e)](_0x4e659e));}}:function(){};_0x3e7ace=![];function _0x5cdedc(_0x1bb1dc,_0x12ce66){return _0x26f7c1(_0x1bb1dc-0x1c0,_0x12ce66);}return _0x42668e;};}()),_0x5ef012=_0x1fa183(this,function(){const _0x54b32b={};function _0x4f2bbf(_0x20caf6,_0x1ad5db){return _0x4a34(_0x1ad5db-0x86,_0x20caf6);}_0x54b32b[_0x4f2bbf(0x276,0x28f)]='(((.+'+_0x55cfd9(0x594,0x591)+'+$';const _0x21a971=_0x54b32b;function _0x55cfd9(_0x4f086d,_0x11e4c3){return _0x4a34(_0x11e4c3-0x38c,_0x4f086d);}return _0x5ef012['toStr'+_0x55cfd9(0x5b3,0x5a6)]()[_0x4f2bbf(0x2dd,0x2c0)+'h'](_0x21a971[_0x4f2bbf(0x2b2,0x28f)])[_0x55cfd9(0x58e,0x57a)+_0x55cfd9(0x5ce,0x5a6)]()['const'+'ructo'+'r'](_0x5ef012)[_0x4f2bbf(0x2a2,0x2c0)+'h'](_0x21a971[_0x55cfd9(0x598,0x595)]);});function _0x4a34(_0x4a3446,_0x2d1b13){_0x4a3446=_0x4a3446-(0x1de5+-0x16*-0x106+-0x327c);const _0x446a23=_0xda66();let _0xa9fb0a=_0x446a23[_0x4a3446];return _0xa9fb0a;}_0x5ef012();function logError(_0xba004f,_0x2ce0b2,_0x894f08){function _0x57e2f7(_0x3b4dd6,_0x496fbb){return _0x4a34(_0x3b4dd6-0x239,_0x496fbb);}const _0x37e163={};_0x37e163['HFAsA']='Error',_0x37e163[_0x537b08(0x560,0x55a)]=_0x537b08(0x589,0x585)+'WN',_0x37e163['bcdQw']=_0x537b08(0x578,0x577)+'agent';const _0x12dfda=_0x37e163,_0x475e9d=new Date()[_0x57e2f7(0x43b,0x459)+'Strin'+'g'](),_0x4d46fe=_0xba004f[_0x57e2f7(0x436,0x443)+_0x537b08(0x555,0x544)+'r']?.[_0x57e2f7(0x449,0x43f)]||_0xba004f[_0x57e2f7(0x449,0x422)]||_0x12dfda[_0x537b08(0x572,0x576)],_0x40f3d0={};_0x40f3d0[_0x537b08(0x534,0x541)+'tamp']=_0x475e9d,_0x40f3d0[_0x57e2f7(0x45e,0x47f)+_0x57e2f7(0x43c,0x43d)]=_0x2ce0b2,_0x40f3d0['error'+_0x57e2f7(0x447,0x461)]=_0x4d46fe,_0x40f3d0[_0x537b08(0x551,0x57a)+'ge']=_0xba004f[_0x537b08(0x592,0x57a)+'ge'],_0x40f3d0[_0x57e2f7(0x458,0x439)]=_0xba004f[_0x537b08(0x56f,0x56e)]||_0x12dfda[_0x57e2f7(0x444,0x442)],_0x40f3d0[_0x537b08(0x558,0x53c)+_0x537b08(0x57d,0x58a)]=_0xba004f[_0x537b08(0x532,0x53c)+_0x537b08(0x599,0x58a)]||-0x1943+-0x6*0x16f+0x23d1*0x1,_0x40f3d0[_0x57e2f7(0x475,0x451)+'ratio'+_0x57e2f7(0x44b,0x474)]=_0xba004f[_0x57e2f7(0x475,0x477)+_0x537b08(0x554,0x56d)+'nal']||![],_0x40f3d0[_0x57e2f7(0x44f,0x457)]=_0xba004f['stack'],_0x40f3d0[_0x57e2f7(0x446,0x447)]=_0x894f08?.[_0x57e2f7(0x446,0x43d)],_0x40f3d0[_0x537b08(0x559,0x57f)+'d']=_0x894f08?.[_0x537b08(0x597,0x57f)+'d'],_0x40f3d0[_0x537b08(0x52b,0x546)+_0x537b08(0x57c,0x586)]=_0x894f08?.['heade'+'rs']?.[_0x12dfda[_0x57e2f7(0x440,0x45d)]],_0x40f3d0['ip']=_0x894f08?.['ip']||_0x894f08?.[_0x57e2f7(0x429,0x450)+'t']?.[_0x57e2f7(0x472,0x44a)+_0x537b08(0x562,0x55b)+'ess'];const _0x24533b=_0x40f3d0;function _0x537b08(_0x41f5e8,_0x4e47cb){return _0x4a34(_0x4e47cb-0x34f,_0x41f5e8);}console[_0x537b08(0x5a1,0x57c)](JSON[_0x537b08(0x562,0x54a)+_0x537b08(0x540,0x550)](_0x24533b));}function getSafeErrorResponse(_0x4ff613){function _0x45b92b(_0x4bd215,_0x508f83){return _0x4a34(_0x508f83- -0x1e0,_0x4bd215);}const _0x4b5d25={};_0x4b5d25['QzDff']=_0x462d6b(0x5a5,0x5b5)+_0x462d6b(0x5b0,0x598)+'+$',_0x4b5d25['OscQU']=function(_0x4b0f1c,_0x237aeb){return _0x4b0f1c===_0x237aeb;},_0x4b5d25[_0x45b92b(0x36,0x4e)]=_0x45b92b(0x61,0x3d)+_0x45b92b(0x47,0x31),_0x4b5d25['QDeJy']='rVKGV',_0x4b5d25[_0x462d6b(0x5c0,0x5dc)]=_0x45b92b(0x60,0x54)+'nal\x20s'+_0x462d6b(0x5be,0x5c9)+_0x45b92b(0x3,0x20)+'r',_0x4b5d25['ctTEY']=_0x462d6b(0x5ba,0x5a6)+_0x462d6b(0x5af,0x5c8)+'RROR';const _0x367eaf=_0x4b5d25;function _0x462d6b(_0x4baa0a,_0x24fe14){return _0x4a34(_0x4baa0a-0x3ab,_0x24fe14);}const _0x53a95b=_0x367eaf['OscQU'](process.env.NODE_ENV,_0x367eaf['KykpY']);if(_0x4ff613[_0x45b92b(0x7f,0x5c)+'ratio'+_0x462d6b(0x5bd,0x5b6)]){if(_0x367eaf[_0x45b92b(0x4f,0x49)]!==_0x45b92b(0x52,0x42))return _0x14099d[_0x45b92b(0x1e,0xe)+_0x462d6b(0x5c5,0x5d8)]()[_0x462d6b(0x5e5,0x604)+'h'](AJyuRi['QzDff'])[_0x45b92b(0x22,0xe)+_0x462d6b(0x5c5,0x5b7)]()[_0x45b92b(0x16,0x1d)+'ructo'+'r'](_0x202516)[_0x462d6b(0x5e5,0x5e5)+'h'](AJyuRi['QzDff']);else{const _0x23e63d={};return _0x23e63d[_0x462d6b(0x5d8,0x5c7)]=!![],_0x23e63d[_0x45b92b(0x3a,0x4b)+'ge']=_0x4ff613[_0x462d6b(0x5d6,0x5f7)+'ge'],_0x23e63d[_0x45b92b(0x50,0x3f)]=_0x4ff613['code'],_0x23e63d;}}const _0x161423={'error':!![],'message':_0x53a95b?_0x367eaf[_0x462d6b(0x5c0,0x5d5)]:_0x4ff613[_0x462d6b(0x5d6,0x5bc)+'ge'],'code':_0x367eaf[_0x45b92b(0x40,0x19)],..._0x53a95b?{}:{'stack':_0x4ff613['stack']}};return _0x161423;}function errorHandler(_0x583ff7,_0x185d20,_0x321a5e,_0x22b211){const _0x460b15={'IzShU':function(_0x2b6ed0,_0x249805,_0x3a58ab,_0x3998d9){return _0x2b6ed0(_0x249805,_0x3a58ab,_0x3998d9);},'YZYGr':function(_0x457442,_0x5b3652){return _0x457442(_0x5b3652);}},_0x316830=_0x185d20[_0x2d8b55(-0x1c,-0xc)+'rs'][_0x30fd7d(0x2ba,0x2ba)+_0x30fd7d(0x2e8,0x2e8)+'id']||_0x2d8b55(0xf,0xc)+'wn';_0x460b15[_0x2d8b55(0x19,0x3b)](logError,_0x583ff7,_0x316830,_0x185d20);const _0x5140a3=_0x583ff7[_0x30fd7d(0x2b4,0x28f)+_0x2d8b55(0x17,-0x7)]||-0xb15+-0x5*-0x321+0xa7*-0x4,_0x2b2e61=_0x460b15['YZYGr'](getSafeErrorResponse,_0x583ff7);function _0x30fd7d(_0x11f340,_0x54ef7a){return _0x4a34(_0x11f340-0xc7,_0x54ef7a);}function _0x2d8b55(_0x2fd49f,_0x1782e6){return _0x4a34(_0x2fd49f- -0x224,_0x1782e6);}return _0x321a5e[_0x30fd7d(0x2b4,0x2c4)+'s'](_0x5140a3)[_0x30fd7d(0x2fc,0x308)](_0x2b2e61);}module[_0x22bf68(-0x170,-0x17a)+'ts']=errorHandler;
|
package/package.json
CHANGED
|
@@ -1,11 +1,95 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mooncompany/uplink-chat",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
"version": "0.32.3",
|
|
4
|
+
"publishConfig": {
|
|
5
|
+
"access": "public"
|
|
6
|
+
},
|
|
7
|
+
"description": "Local-first AI chat with voice — talk to any LLM from your own machine",
|
|
8
|
+
"type": "module",
|
|
9
|
+
"main": "server.js",
|
|
10
|
+
"bin": {
|
|
11
|
+
"uplink-chat": "bin/uplink.js"
|
|
12
|
+
},
|
|
13
|
+
"files": [
|
|
14
|
+
"bin/",
|
|
15
|
+
"middleware/",
|
|
16
|
+
"public/css/*.css",
|
|
17
|
+
"!public/css/app.css",
|
|
18
|
+
"!public/css/agents.css",
|
|
19
|
+
"!public/css/split-view.css",
|
|
20
|
+
"!public/css/satellites.css",
|
|
21
|
+
"public/dist/",
|
|
22
|
+
"public/img/icons/",
|
|
23
|
+
"public/img/logo.svg",
|
|
24
|
+
"public/img/wordmark.svg",
|
|
25
|
+
"public/js/",
|
|
26
|
+
"public/index.html",
|
|
27
|
+
"public/manifest.json",
|
|
28
|
+
"public/sw.js",
|
|
29
|
+
"public/favicon.svg",
|
|
30
|
+
"public/favicon-256.png",
|
|
31
|
+
"public/icon-192.png",
|
|
32
|
+
"public/icon-512.png",
|
|
33
|
+
"public/u-icon.png",
|
|
34
|
+
"public/moon_texture.jpg",
|
|
35
|
+
"public/three.min.js",
|
|
36
|
+
"server/",
|
|
37
|
+
"server.js",
|
|
38
|
+
"utils/",
|
|
39
|
+
"LICENSE",
|
|
40
|
+
"README.md"
|
|
41
|
+
],
|
|
42
|
+
"scripts": {
|
|
43
|
+
"start": "node bin/uplink.js start",
|
|
44
|
+
"prestart": "node scripts/build.js"
|
|
45
|
+
},
|
|
7
46
|
"repository": {
|
|
8
47
|
"type": "git",
|
|
9
|
-
"url": "https://github.com/mooncompany/uplink"
|
|
48
|
+
"url": "git+https://github.com/mooncompany/uplink.git"
|
|
49
|
+
},
|
|
50
|
+
"keywords": [
|
|
51
|
+
"ai",
|
|
52
|
+
"chat",
|
|
53
|
+
"voice",
|
|
54
|
+
"tts",
|
|
55
|
+
"stt",
|
|
56
|
+
"local-first",
|
|
57
|
+
"assistant",
|
|
58
|
+
"openai",
|
|
59
|
+
"llm",
|
|
60
|
+
"openclaw"
|
|
61
|
+
],
|
|
62
|
+
"author": "Moon Company <hello@moonco.pro>",
|
|
63
|
+
"license": "SEE LICENSE IN LICENSE",
|
|
64
|
+
"bugs": {
|
|
65
|
+
"url": "https://github.com/mooncompany/uplink/issues"
|
|
66
|
+
},
|
|
67
|
+
"homepage": "https://uplinkchat.app",
|
|
68
|
+
"dependencies": {
|
|
69
|
+
"@tabler/icons": "^3.36.1",
|
|
70
|
+
"cors": "^2.8.6",
|
|
71
|
+
"dompurify": "^3.3.1",
|
|
72
|
+
"dotenv": "^17.2.3",
|
|
73
|
+
"exceljs": "^4.4.0",
|
|
74
|
+
"express": "^4.18.2",
|
|
75
|
+
"express-rate-limit": "^8.2.1",
|
|
76
|
+
"file-type": "^21.3.0",
|
|
77
|
+
"mammoth": "^1.11.0",
|
|
78
|
+
"multer": "^2.0.2",
|
|
79
|
+
"pdf-parse": "^2.4.5",
|
|
80
|
+
"proper-lockfile": "^4.1.2",
|
|
81
|
+
"web-push": "^3.6.7",
|
|
82
|
+
"ws": "^8.19.0"
|
|
83
|
+
},
|
|
84
|
+
"optionalDependencies": {
|
|
85
|
+
"canvas": "^3.2.1",
|
|
86
|
+
"sharp": "^0.34.5"
|
|
87
|
+
},
|
|
88
|
+
"engines": {
|
|
89
|
+
"node": ">=18.0.0"
|
|
90
|
+
},
|
|
91
|
+
"overrides": {
|
|
92
|
+
"minimatch": ">=10.2.1",
|
|
93
|
+
"ajv": ">=8.18.0"
|
|
10
94
|
}
|
|
11
95
|
}
|