synapse-orch-ai 1.1.4 → 1.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/README.md +18 -6
  2. package/backend/core/config.py +2 -2
  3. package/bin/synapse.js +233 -31
  4. package/frontend-build/.next/BUILD_ID +1 -1
  5. package/frontend-build/.next/build-manifest.json +3 -3
  6. package/frontend-build/.next/prerender-manifest.json +3 -3
  7. package/frontend-build/.next/server/app/_global-error.html +1 -1
  8. package/frontend-build/.next/server/app/_global-error.rsc +1 -1
  9. package/frontend-build/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  10. package/frontend-build/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  11. package/frontend-build/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  12. package/frontend-build/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  13. package/frontend-build/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  14. package/frontend-build/.next/server/app/_not-found.html +1 -1
  15. package/frontend-build/.next/server/app/_not-found.rsc +1 -1
  16. package/frontend-build/.next/server/app/_not-found.segments/_full.segment.rsc +1 -1
  17. package/frontend-build/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
  18. package/frontend-build/.next/server/app/_not-found.segments/_index.segment.rsc +1 -1
  19. package/frontend-build/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  20. package/frontend-build/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  21. package/frontend-build/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
  22. package/frontend-build/.next/server/app/index.html +1 -1
  23. package/frontend-build/.next/server/app/index.rsc +1 -1
  24. package/frontend-build/.next/server/app/index.segments/__PAGE__.segment.rsc +1 -1
  25. package/frontend-build/.next/server/app/index.segments/_full.segment.rsc +1 -1
  26. package/frontend-build/.next/server/app/index.segments/_head.segment.rsc +1 -1
  27. package/frontend-build/.next/server/app/index.segments/_index.segment.rsc +1 -1
  28. package/frontend-build/.next/server/app/index.segments/_tree.segment.rsc +1 -1
  29. package/frontend-build/.next/server/middleware-build-manifest.js +3 -3
  30. package/frontend-build/.next/server/pages/404.html +1 -1
  31. package/frontend-build/.next/server/pages/500.html +1 -1
  32. package/frontend-build/.next/server/server-reference-manifest.js +1 -1
  33. package/frontend-build/.next/server/server-reference-manifest.json +1 -1
  34. package/package.json +1 -1
  35. /package/frontend-build/.next/static/{Wp459Twu-yb9CNHGkPiUG → wSRFWQpYMoREUE4DVVpZp}/_buildManifest.js +0 -0
  36. /package/frontend-build/.next/static/{Wp459Twu-yb9CNHGkPiUG → wSRFWQpYMoREUE4DVVpZp}/_clientMiddlewareManifest.js +0 -0
  37. /package/frontend-build/.next/static/{Wp459Twu-yb9CNHGkPiUG → wSRFWQpYMoREUE4DVVpZp}/_ssgManifest.js +0 -0
package/README.md CHANGED
@@ -1,11 +1,11 @@
1
1
  # Synapse AI — Multi-Agent Orchestration Platform
2
2
 
3
3
  <p align="center">
4
-
5
- [![Discord](https://img.shields.io/badge/Discord-Join-5865F2?logo=discord&logoColor=white)](https://discord.gg/9UN45qyGh8)
6
- [![GitHub stars](https://img.shields.io/github/stars/naveenraj-17/synapse-ai?style=social)](https://github.com/naveenraj-17/synapse-ai)
7
- [![License](https://img.shields.io/github/license/naveenraj-17/synapse-ai)](https://github.com/naveenraj-17/synapse-ai?tab=AGPL-3.0-1-ov-file)
8
-
4
+ <a href="https://discord.gg/9UN45qyGh8"><img src="https://img.shields.io/badge/Discord-Join-5865F2?logo=discord&logoColor=white" alt="Discord"></a>
5
+ <a href="https://github.com/naveenraj-17/synapse-ai"><img src="https://img.shields.io/github/stars/naveenraj-17/synapse-ai?style=social" alt="GitHub stars"></a>
6
+ <a href="https://github.com/naveenraj-17/synapse-ai?tab=AGPL-3.0-1-ov-file"><img src="https://img.shields.io/github/license/naveenraj-17/synapse-ai" alt="License"></a>
7
+ <a href="https://www.npmjs.com/package/synapse-orch-ai"><img src="https://img.shields.io/npm/v/synapse-orch-ai?logo=npm&label=npm" alt="npm"></a>
8
+ <a href="https://pypi.org/project/synapse-orch-ai/"><img src="https://img.shields.io/pypi/v/synapse--orch-ai?logo=pypi&logoColor=white&label=pypi" alt="PyPI"></a>
9
9
  </p>
10
10
 
11
11
  *Build AI workflows that actually ship.*
@@ -27,7 +27,7 @@
27
27
  ## Install
28
28
 
29
29
  ### Quick Setup Script (recommended)
30
- The easiest way to get started is to run the automated setup script. This will clone the repository, install all necessary dependencies, verify your environment, and start both the backend and frontend servers.
30
+ The easiest way to get started. Clones the repository, installs all dependencies, and starts both servers automatically.
31
31
 
32
32
  **macOS / Linux:**
33
33
  ```bash
@@ -39,6 +39,18 @@ curl -sSL https://raw.githubusercontent.com/naveenraj-17/synapse-ai/main/setup.s
39
39
  irm https://raw.githubusercontent.com/naveenraj-17/synapse-ai/main/setup.ps1 | iex
40
40
  ```
41
41
 
42
+ ### npm
43
+ ```bash
44
+ npm install -g synapse-orch-ai
45
+ synapse
46
+ ```
47
+
48
+ ### pip
49
+ ```bash
50
+ pip install synapse-orch-ai
51
+ synapse
52
+ ```
53
+
42
54
  ---
43
55
 
44
56
  ## CLI
@@ -19,7 +19,7 @@ TOKEN_FILE = os.path.join(DATA_DIR, "token.json")
19
19
 
20
20
  def load_settings():
21
21
  default_settings = {
22
- "agent_name": "System Agent",
22
+ "agent_name": "Synapse",
23
23
  "model": "ollama.mistral",
24
24
  "mode": "local",
25
25
  "openai_key": "",
@@ -52,7 +52,7 @@ def load_settings():
52
52
  "auto_compact_enabled": False,
53
53
  "auto_compact_threshold": 100000,
54
54
  "allow_db_write": False,
55
- "coding_agent_enabled": False,
55
+ "coding_agent_enabled": True,
56
56
  "report_agent_enabled": True,
57
57
  "messaging_enabled": True,
58
58
  "embed_code": False,
package/bin/synapse.js CHANGED
@@ -1,12 +1,13 @@
1
1
  #!/usr/bin/env node
2
2
  'use strict';
3
3
 
4
- const { spawnSync, spawn, execFileSync } = require('child_process');
4
+ const { spawnSync, spawn } = require('child_process');
5
5
  const path = require('path');
6
6
  const fs = require('fs');
7
7
  const crypto = require('crypto');
8
8
  const http = require('http');
9
9
  const os = require('os');
10
+ const readline = require('readline');
10
11
 
11
12
  const PKG_DIR = path.resolve(__dirname, '..');
12
13
  const BACKEND_DIR = path.join(PKG_DIR, 'backend');
@@ -17,20 +18,20 @@ const SYNAPSE_HOME = path.join(os.homedir(), '.synapse');
17
18
  const VENV_DIR = path.join(SYNAPSE_HOME, 'venv');
18
19
  const DATA_DIR = process.env.SYNAPSE_DATA_DIR || path.join(SYNAPSE_HOME, 'data');
19
20
  const HASH_FILE = path.join(SYNAPSE_HOME, 'requirements.hash');
21
+ const SETTINGS_FILE = path.join(DATA_DIR, 'settings.json');
20
22
 
21
- const BACKEND_PORT = parseInt(process.env.SYNAPSE_BACKEND_PORT || '8765');
22
- const FRONTEND_PORT = parseInt(process.env.SYNAPSE_FRONTEND_PORT || '3000');
23
-
24
- // ── Python executable detection ───────────────────────────────────────────────
23
+ let BACKEND_PORT = parseInt(process.env.SYNAPSE_BACKEND_PORT || '8765');
24
+ let FRONTEND_PORT = parseInt(process.env.SYNAPSE_FRONTEND_PORT || '3000');
25
25
 
26
26
  const IS_WIN = os.platform() === 'win32';
27
27
 
28
+ // ── Python executable detection ───────────────────────────────────────────────
29
+
28
30
  function pythonCmd() {
29
31
  if (!IS_WIN) return 'python3';
30
- // On Windows, Python is installed as 'python' (not 'python3')
31
32
  const r = spawnSync('python', ['--version'], { stdio: 'pipe', shell: true });
32
33
  if (r.status === 0) return 'python';
33
- return 'python3'; // fallback (e.g. via pyenv-win)
34
+ return 'python3';
34
35
  }
35
36
 
36
37
  const PYTHON = pythonCmd();
@@ -38,7 +39,6 @@ const PYTHON = pythonCmd();
38
39
  // ── Prerequisite checks ───────────────────────────────────────────────────────
39
40
 
40
41
  function checkCmd(cmd) {
41
- // shell: true is required on Windows so .cmd wrappers (npx.cmd, etc.) are found
42
42
  const result = spawnSync(cmd, ['--version'], { stdio: 'pipe', shell: IS_WIN });
43
43
  return result.status === 0;
44
44
  }
@@ -48,7 +48,6 @@ function checkPrerequisites() {
48
48
  console.error('Error: python3 not found. Install Python 3.11+ from https://www.python.org/');
49
49
  process.exit(1);
50
50
  }
51
- // Verify version >= 3.11
52
51
  const result = spawnSync(PYTHON, ['-c', 'import sys; print(sys.version_info[:2])'], { stdio: 'pipe' });
53
52
  if (result.status === 0) {
54
53
  const out = result.stdout.toString().trim();
@@ -65,9 +64,64 @@ function checkPrerequisites() {
65
64
  console.error('Error: npx not found. Install Node.js from https://nodejs.org/');
66
65
  process.exit(1);
67
66
  }
68
- if (!checkCmd('ollama')) {
69
- console.warn('Warning: ollama not found. Local models won\'t work; cloud API models still work.');
70
- }
67
+ }
68
+
69
+ // ── Progress bar for pip install ──────────────────────────────────────────────
70
+
71
+ function countRequirements(reqFile) {
72
+ if (!fs.existsSync(reqFile)) return 0;
73
+ return fs.readFileSync(reqFile, 'utf8')
74
+ .split('\n')
75
+ .filter(l => l.trim() && !l.trim().startsWith('#'))
76
+ .length;
77
+ }
78
+
79
+ function renderBar(done, total) {
80
+ const width = 28;
81
+ const pct = total > 0 ? Math.min(done / total, 1) : 0;
82
+ const filled = Math.round(pct * width);
83
+ const bar = '█'.repeat(filled) + '░'.repeat(width - filled);
84
+ const pctStr = Math.round(pct * 100).toString().padStart(3);
85
+ return ` [${bar}] ${pctStr}% (${done}/${total})`;
86
+ }
87
+
88
+ function installPipDeps(reqFile) {
89
+ return new Promise((resolve) => {
90
+ const total = countRequirements(reqFile);
91
+ let done = 0;
92
+ let lineBuffer = '';
93
+
94
+ process.stdout.write(renderBar(0, total) + '\r');
95
+
96
+ const pip = spawn(venvPip(), ['install', '-r', reqFile, '--progress-bar', 'off'], {
97
+ stdio: ['ignore', 'pipe', 'pipe'],
98
+ });
99
+
100
+ function parseLines(chunk) {
101
+ lineBuffer += chunk.toString();
102
+ const lines = lineBuffer.split('\n');
103
+ lineBuffer = lines.pop() || '';
104
+ for (const line of lines) {
105
+ if (/^(Collecting|Using cached) /.test(line)) {
106
+ done = Math.min(done + 1, total > 0 ? total : done + 1);
107
+ process.stdout.write(renderBar(done, total) + '\r');
108
+ }
109
+ }
110
+ }
111
+
112
+ pip.stdout.on('data', parseLines);
113
+ pip.stderr.on('data', parseLines);
114
+
115
+ pip.on('close', (code) => {
116
+ process.stdout.write(renderBar(total, total) + '\n');
117
+ if (code !== 0) {
118
+ console.error('\n Failed to install Python dependencies.');
119
+ process.exit(1);
120
+ }
121
+ console.log(' ✓ Python dependencies installed.');
122
+ resolve();
123
+ });
124
+ });
71
125
  }
72
126
 
73
127
  // ── Python venv setup ─────────────────────────────────────────────────────────
@@ -78,40 +132,37 @@ function getRequirementsHash() {
78
132
  }
79
133
 
80
134
  function venvPython() {
81
- return os.platform() === 'win32'
135
+ return IS_WIN
82
136
  ? path.join(VENV_DIR, 'Scripts', 'python.exe')
83
137
  : path.join(VENV_DIR, 'bin', 'python');
84
138
  }
85
139
 
86
140
  function venvPip() {
87
- return os.platform() === 'win32'
141
+ return IS_WIN
88
142
  ? path.join(VENV_DIR, 'Scripts', 'pip.exe')
89
143
  : path.join(VENV_DIR, 'bin', 'pip');
90
144
  }
91
145
 
92
- function setupVenv() {
146
+ async function setupVenv() {
93
147
  const currentHash = getRequirementsHash();
94
148
  const savedHash = fs.existsSync(HASH_FILE) ? fs.readFileSync(HASH_FILE, 'utf8').trim() : null;
95
149
 
96
150
  if (fs.existsSync(venvPython()) && currentHash === savedHash) {
97
- return; // Already up to date
151
+ return;
98
152
  }
99
153
 
100
154
  if (!fs.existsSync(VENV_DIR)) {
101
- console.log('Creating Python virtual environment...');
102
- const result = spawnSync(PYTHON, ['-m', 'venv', VENV_DIR], { stdio: 'inherit' });
155
+ process.stdout.write('Creating Python virtual environment...');
156
+ const result = spawnSync(PYTHON, ['-m', 'venv', VENV_DIR], { stdio: ['ignore', 'pipe', 'pipe'] });
103
157
  if (result.status !== 0) {
104
- console.error('Failed to create virtual environment.');
158
+ console.error('\nFailed to create virtual environment.');
105
159
  process.exit(1);
106
160
  }
161
+ console.log(' done.');
107
162
  }
108
163
 
109
- console.log('Installing Python dependencies (first run, this may take a minute)...');
110
- const result = spawnSync(venvPip(), ['install', '-r', REQUIREMENTS, '--quiet'], { stdio: 'inherit' });
111
- if (result.status !== 0) {
112
- console.error('Failed to install Python dependencies.');
113
- process.exit(1);
114
- }
164
+ console.log('Installing Python dependencies...');
165
+ await installPipDeps(REQUIREMENTS);
115
166
 
116
167
  if (currentHash) fs.writeFileSync(HASH_FILE, currentHash);
117
168
  }
@@ -124,6 +175,7 @@ const DEFAULT_JSON = {
124
175
  'repos.json': '[]',
125
176
  'mcp_servers.json': '[]',
126
177
  'custom_tools.json': '[]',
178
+ 'db_configs.json': '[]',
127
179
  };
128
180
 
129
181
  function ensureDataDir() {
@@ -137,12 +189,129 @@ function ensureDataDir() {
137
189
  }
138
190
  }
139
191
 
192
+ // ── Setup Wizard ──────────────────────────────────────────────────────────────
193
+
194
+ function ask(rl, question) {
195
+ return new Promise((resolve) => rl.question(question, (ans) => resolve(ans.trim())));
196
+ }
197
+
198
+ async function askDefault(rl, label, defaultVal) {
199
+ const ans = await ask(rl, `${label} [${defaultVal}]: `);
200
+ return ans || String(defaultVal);
201
+ }
202
+
203
+ async function askChoice(rl, label, options) {
204
+ console.log('\n' + label);
205
+ options.forEach((o, i) => console.log(` ${i + 1}. ${o}`));
206
+ while (true) {
207
+ const ans = await ask(rl, 'Select: ');
208
+ const n = parseInt(ans);
209
+ if (!isNaN(n) && n >= 1 && n <= options.length) return options[n - 1];
210
+ console.log(` Enter a number 1-${options.length}.`);
211
+ }
212
+ }
213
+
214
+ async function runSetupWizard(ollamaAvailable) {
215
+ console.log('\n+----------------------------------------------------------+');
216
+ console.log('| Synapse -- First-Time Setup |');
217
+ console.log('+----------------------------------------------------------+\n');
218
+
219
+ if (!ollamaAvailable) {
220
+ console.log(' [!] Ollama is not installed -- local models are unavailable.');
221
+ console.log(' You will need a cloud API key (OpenAI, Anthropic, Gemini, etc.).\n');
222
+ }
223
+
224
+ const rl = readline.createInterface({ input: process.stdin, output: process.stdout });
225
+
226
+ try {
227
+ console.log('General');
228
+ const agentName = await askDefault(rl, 'Agent name', 'Synapse');
229
+
230
+ const providers = ollamaAvailable
231
+ ? ['Ollama (local)', 'OpenAI', 'Claude (Anthropic)', 'Gemini', 'OpenAI Compatible', 'Local V1 Compatible', 'Bedrock (AWS)', 'Skip for now']
232
+ : ['OpenAI', 'Claude (Anthropic)', 'Gemini', 'OpenAI Compatible', 'Local V1 Compatible', 'Bedrock (AWS)', 'Skip for now'];
233
+
234
+ const provider = await askChoice(rl, 'LLM Provider:', providers);
235
+
236
+ const cfg = {
237
+ agent_name: agentName,
238
+ model: '',
239
+ mode: 'cloud',
240
+ openai_key: '',
241
+ anthropic_key: '',
242
+ gemini_key: '',
243
+ ollama_base_url: '',
244
+ openai_compatible_key: '',
245
+ openai_compatible_base_url: '',
246
+ openai_compatible_models: '',
247
+ local_compatible_base_url: '',
248
+ local_compatible_key: '',
249
+ local_compatible_models: '',
250
+ bedrock_api_key: '',
251
+ bedrock_inference_profile: '',
252
+ aws_region: 'us-east-1',
253
+ coding_agent_enabled: true,
254
+ report_agent_enabled: true,
255
+ backend_port: BACKEND_PORT,
256
+ frontend_port: FRONTEND_PORT,
257
+ };
258
+
259
+ if (provider.startsWith('Ollama')) {
260
+ cfg.mode = 'local';
261
+ cfg.ollama_base_url = await askDefault(rl, 'Ollama base URL', 'http://127.0.0.1:11434');
262
+ cfg.model = await askDefault(rl, 'Model name (e.g. mistral, llama3)', 'mistral');
263
+ } else if (provider === 'OpenAI') {
264
+ cfg.openai_key = await askDefault(rl, 'OpenAI API key', '');
265
+ } else if (provider === 'Claude (Anthropic)') {
266
+ cfg.anthropic_key = await askDefault(rl, 'Anthropic API key', '');
267
+ } else if (provider === 'Gemini') {
268
+ cfg.gemini_key = await askDefault(rl, 'Gemini API key', '');
269
+ } else if (provider === 'OpenAI Compatible') {
270
+ cfg.openai_compatible_key = await askDefault(rl, 'API key', '');
271
+ cfg.openai_compatible_base_url = await askDefault(rl, 'Base URL (without /v1)', '');
272
+ cfg.openai_compatible_models = await askDefault(rl, 'Model names (comma-separated)', '');
273
+ if (cfg.openai_compatible_models) {
274
+ cfg.model = 'oaic.' + cfg.openai_compatible_models.split(',')[0].trim();
275
+ }
276
+ } else if (provider === 'Local V1 Compatible') {
277
+ cfg.local_compatible_base_url = await askDefault(rl, 'Base URL (without /v1)', '');
278
+ cfg.local_compatible_key = await askDefault(rl, 'API key (optional)', '');
279
+ cfg.local_compatible_models = await askDefault(rl, 'Model names (comma-separated)', '');
280
+ if (cfg.local_compatible_models) {
281
+ cfg.model = 'locv1.' + cfg.local_compatible_models.split(',')[0].trim();
282
+ }
283
+ } else if (provider === 'Bedrock (AWS)') {
284
+ cfg.bedrock_api_key = await askDefault(rl, 'Bedrock API key', '');
285
+ cfg.aws_region = await askDefault(rl, 'AWS region', 'us-east-1');
286
+ }
287
+
288
+ console.log('\nPorts (press Enter to keep defaults):');
289
+ const backendStr = await askDefault(rl, 'Backend port', String(BACKEND_PORT));
290
+ const frontendStr = await askDefault(rl, 'Frontend (UI) port', String(FRONTEND_PORT));
291
+ cfg.backend_port = parseInt(backendStr) || BACKEND_PORT;
292
+ cfg.frontend_port = parseInt(frontendStr) || FRONTEND_PORT;
293
+ BACKEND_PORT = cfg.backend_port;
294
+ FRONTEND_PORT = cfg.frontend_port;
295
+
296
+ rl.close();
297
+
298
+ fs.mkdirSync(DATA_DIR, { recursive: true });
299
+ fs.writeFileSync(SETTINGS_FILE, JSON.stringify(cfg, null, 4));
300
+ console.log('\n[OK] Settings saved to ' + SETTINGS_FILE);
301
+ console.log(' You can reconfigure anytime with: synapse setup\n');
302
+ } catch (err) {
303
+ rl.close();
304
+ throw err;
305
+ }
306
+ }
307
+
140
308
  // ── Process management ────────────────────────────────────────────────────────
141
309
 
142
310
  function startBackend() {
143
311
  const env = {
144
312
  ...process.env,
145
313
  SYNAPSE_DATA_DIR: DATA_DIR,
314
+ SYNAPSE_BACKEND_PORT: String(BACKEND_PORT),
146
315
  PYTHONPATH: BACKEND_DIR + (process.env.PYTHONPATH ? path.delimiter + process.env.PYTHONPATH : ''),
147
316
  };
148
317
  return spawn(venvPython(), [path.join(BACKEND_DIR, 'main.py')], {
@@ -163,6 +332,7 @@ function startFrontend() {
163
332
  PORT: String(FRONTEND_PORT),
164
333
  HOSTNAME: '0.0.0.0',
165
334
  BACKEND_URL: `http://127.0.0.1:${BACKEND_PORT}`,
335
+ NEXT_PUBLIC_BACKEND_PORT: String(BACKEND_PORT),
166
336
  NODE_ENV: 'production',
167
337
  };
168
338
  return spawn('node', [path.join(FRONTEND_BUILD, 'server.js')], {
@@ -197,7 +367,7 @@ function openBrowser(url) {
197
367
  const cmd = platform === 'darwin' ? 'open' : platform === 'win32' ? 'cmd' : 'xdg-open';
198
368
  const args = platform === 'win32' ? ['/c', 'start', url] : [url];
199
369
  setTimeout(() => {
200
- try { spawn(cmd, args, { detached: true, stdio: 'ignore' }).unref(); } catch {}
370
+ try { spawn(cmd, args, { detached: true, stdio: 'ignore' }).unref(); } catch (_) {}
201
371
  }, 1000);
202
372
  }
203
373
 
@@ -212,10 +382,32 @@ async function main() {
212
382
  console.log('\nTip: Install globally so "synapse" works from anywhere:');
213
383
  console.log(' npm install -g synapse-orch-ai\n');
214
384
  }
385
+
215
386
  console.log('Starting Synapse...');
216
387
  checkPrerequisites();
388
+
217
389
  fs.mkdirSync(SYNAPSE_HOME, { recursive: true });
218
- setupVenv();
390
+
391
+ const ollamaAvail = checkCmd('ollama');
392
+
393
+ // Run setup wizard on first launch (no settings.json yet)
394
+ if (!fs.existsSync(SETTINGS_FILE)) {
395
+ if (!ollamaAvail) {
396
+ console.log('\nOllama is not installed -- local models are unavailable.');
397
+ }
398
+ await runSetupWizard(ollamaAvail);
399
+ } else if (!ollamaAvail) {
400
+ console.log("Warning: ollama not found. Local models won't work; cloud API models still work.");
401
+ }
402
+
403
+ // Load saved port overrides from settings
404
+ try {
405
+ const saved = JSON.parse(fs.readFileSync(SETTINGS_FILE, 'utf8'));
406
+ if (saved.backend_port) BACKEND_PORT = saved.backend_port;
407
+ if (saved.frontend_port) FRONTEND_PORT = saved.frontend_port;
408
+ } catch (_) {}
409
+
410
+ await setupVenv();
219
411
  ensureDataDir();
220
412
 
221
413
  console.log('Starting backend...');
@@ -264,7 +456,17 @@ async function main() {
264
456
  });
265
457
  }
266
458
 
267
- main().catch((err) => {
268
- console.error('Fatal error:', err.message);
269
- process.exit(1);
270
- });
459
+ // ── Entry point ───────────────────────────────────────────────────────────────
460
+
461
+ const cliArg = process.argv[2];
462
+
463
+ if (cliArg === 'setup') {
464
+ checkPrerequisites();
465
+ fs.mkdirSync(SYNAPSE_HOME, { recursive: true });
466
+ const ollamaAvail = checkCmd('ollama');
467
+ runSetupWizard(ollamaAvail)
468
+ .then(() => process.exit(0))
469
+ .catch((err) => { console.error('Setup failed:', err.message); process.exit(1); });
470
+ } else {
471
+ main().catch((err) => { console.error('Fatal error:', err.message); process.exit(1); });
472
+ }
@@ -1 +1 @@
1
- Wp459Twu-yb9CNHGkPiUG
1
+ wSRFWQpYMoREUE4DVVpZp
@@ -7,9 +7,9 @@
7
7
  "static/chunks/03~yq9q893hmn.js"
8
8
  ],
9
9
  "lowPriorityFiles": [
10
- "static/Wp459Twu-yb9CNHGkPiUG/_buildManifest.js",
11
- "static/Wp459Twu-yb9CNHGkPiUG/_ssgManifest.js",
12
- "static/Wp459Twu-yb9CNHGkPiUG/_clientMiddlewareManifest.js"
10
+ "static/wSRFWQpYMoREUE4DVVpZp/_buildManifest.js",
11
+ "static/wSRFWQpYMoREUE4DVVpZp/_ssgManifest.js",
12
+ "static/wSRFWQpYMoREUE4DVVpZp/_clientMiddlewareManifest.js"
13
13
  ],
14
14
  "rootMainFiles": [
15
15
  "static/chunks/0mim5z5~_34t1.js",
@@ -107,8 +107,8 @@
107
107
  "dynamicRoutes": {},
108
108
  "notFoundRoutes": [],
109
109
  "preview": {
110
- "previewModeId": "0c6414118a4a27730d1d3948df90129d",
111
- "previewModeSigningKey": "3e9dab5d32a20d365ab20551dcda629ccfdf0035aee2b708595e1a145d3abfe8",
112
- "previewModeEncryptionKey": "1aa06735a7cf8f57737bea3d8ee845fc5dfd19d2df6b37a71b753202f6759eb7"
110
+ "previewModeId": "e28f11cb6959ba9c369bb5a498af85f6",
111
+ "previewModeSigningKey": "bdbd2eac6e14ced93e90b0c47f6ca53faee49f4d5eb52d9c7a005c80ad770c90",
112
+ "previewModeEncryptionKey": "f40e4d4cb6f9fc364b0fdabc513496873abaa222c69dd1608665fdf6480c71b4"
113
113
  }
114
114
  }
@@ -1 +1 @@
1
- <!DOCTYPE html><html id="__next_error__"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/0mim5z5~_34t1.js"/><script src="/_next/static/chunks/02i7dfk78~t~2.js" async=""></script><script src="/_next/static/chunks/05dz57h.5fg3-.js" async=""></script><script src="/_next/static/chunks/0h4a4y-~puu.x.js" async=""></script><script src="/_next/static/chunks/turbopack-1606efl0p3-k2.js" async=""></script><script src="/_next/static/chunks/0ipoy_nm8gvxg.js" async=""></script><meta name="next-size-adjust" content=""/><title>500: This page couldn’t load</title><style>:root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }</style><script src="/_next/static/chunks/03~yq9q893hmn.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;display:flex;align-items:center;justify-content:center"><div style="margin-top:-32px;max-width:325px;padding:32px 28px;text-align:left"><svg width="32" height="32" viewBox="-0.2 -1.5 32 32" fill="none" style="margin-bottom:24px"><path d="M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z" fill="var(--next-error-title)"></path></svg><h1 style="font-size:24px;font-weight:500;letter-spacing:-0.02em;line-height:32px;margin:0 0 12px 0;color:var(--next-error-title)">This page couldn’t load</h1><p style="font-size:14px;font-weight:400;line-height:21px;margin:0 0 20px 0;color:var(--next-error-message)">A server error occurred. Reload to try again.</p><form style="margin:0"><button type="submit" style="display:inline-flex;align-items:center;justify-content:center;height:32px;padding:0 12px;font-size:14px;font-weight:500;line-height:20px;border-radius:6px;cursor:pointer;color:var(--next-error-btn-text);background:var(--next-error-btn-bg);border:var(--next-error-btn-border)">Reload</button></form></div></div><!--$--><!--/$--><script src="/_next/static/chunks/0mim5z5~_34t1.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[39756,[\"/_next/static/chunks/0ipoy_nm8gvxg.js\"],\"default\"]\n3:I[37457,[\"/_next/static/chunks/0ipoy_nm8gvxg.js\"],\"default\"]\n4:I[97367,[\"/_next/static/chunks/0ipoy_nm8gvxg.js\"],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n8:I[97367,[\"/_next/static/chunks/0ipoy_nm8gvxg.js\"],\"ViewportBoundary\"]\na:I[97367,[\"/_next/static/chunks/0ipoy_nm8gvxg.js\"],\"MetadataBoundary\"]\nc:I[68027,[\"/_next/static/chunks/0ipoy_nm8gvxg.js\"],\"default\",1]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"c\":[\"\",\"_global-error\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"__PAGE__\",{}]}],[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"html\",null,{\"id\":\"__next_error__\",\"children\":[[\"$\",\"head\",null,{\"children\":[[\"$\",\"title\",null,{\"children\":\"500: This page couldn’t load\"}],[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\":root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }\"}}]]}],[\"$\",\"body\",null,{\"children\":[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"display\":\"flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"style\":{\"marginTop\":\"-32px\",\"maxWidth\":\"325px\",\"padding\":\"32px 28px\",\"textAlign\":\"left\"},\"children\":[[\"$\",\"svg\",null,{\"width\":\"32\",\"height\":\"32\",\"viewBox\":\"-0.2 -1.5 32 32\",\"fill\":\"none\",\"style\":{\"marginBottom\":\"24px\"},\"children\":[\"$\",\"path\",null,{\"d\":\"M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z\",\"fill\":\"var(--next-error-title)\"}]}],[\"$\",\"h1\",null,{\"style\":{\"fontSize\":\"24px\",\"fontWeight\":500,\"letterSpacing\":\"-0.02em\",\"lineHeight\":\"32px\",\"margin\":\"0 0 12px 0\",\"color\":\"var(--next-error-title)\"},\"children\":\"This page couldn’t load\"}],[\"$\",\"p\",null,{\"style\":{\"fontSize\":\"14px\",\"fontWeight\":400,\"lineHeight\":\"21px\",\"margin\":\"0 0 20px 0\",\"color\":\"var(--next-error-message)\"},\"children\":\"A server error occurred. Reload to try again.\"}],[\"$\",\"form\",null,{\"style\":{\"margin\":0},\"children\":[\"$\",\"button\",null,{\"type\":\"submit\",\"style\":{\"display\":\"inline-flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\",\"height\":\"32px\",\"padding\":\"0 12px\",\"fontSize\":\"14px\",\"fontWeight\":500,\"lineHeight\":\"20px\",\"borderRadius\":\"6px\",\"cursor\":\"pointer\",\"color\":\"var(--next-error-btn-text)\",\"background\":\"var(--next-error-btn-bg)\",\"border\":\"var(--next-error-btn-border)\"},\"children\":\"Reload\"}]}]]}]}]}]]}],null,[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@6\"}]}]]}],{},null,false,null]},null,false,\"$@7\"],[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$L8\",null,{\"children\":\"$L9\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$La\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Lb\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$c\",[]],\"S\":true,\"h\":null,\"s\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"Wp459Twu-yb9CNHGkPiUG\"}\n"])</script><script>self.__next_f.push([1,"d:[]\n7:\"$Wd\"\n"])</script><script>self.__next_f.push([1,"9:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"6:null\nb:[]\n"])</script></body></html>
1
+ <!DOCTYPE html><html id="__next_error__"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/0mim5z5~_34t1.js"/><script src="/_next/static/chunks/02i7dfk78~t~2.js" async=""></script><script src="/_next/static/chunks/05dz57h.5fg3-.js" async=""></script><script src="/_next/static/chunks/0h4a4y-~puu.x.js" async=""></script><script src="/_next/static/chunks/turbopack-1606efl0p3-k2.js" async=""></script><script src="/_next/static/chunks/0ipoy_nm8gvxg.js" async=""></script><meta name="next-size-adjust" content=""/><title>500: This page couldn’t load</title><style>:root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }</style><script src="/_next/static/chunks/03~yq9q893hmn.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;display:flex;align-items:center;justify-content:center"><div style="margin-top:-32px;max-width:325px;padding:32px 28px;text-align:left"><svg width="32" height="32" viewBox="-0.2 -1.5 32 32" fill="none" style="margin-bottom:24px"><path d="M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z" fill="var(--next-error-title)"></path></svg><h1 style="font-size:24px;font-weight:500;letter-spacing:-0.02em;line-height:32px;margin:0 0 12px 0;color:var(--next-error-title)">This page couldn’t load</h1><p style="font-size:14px;font-weight:400;line-height:21px;margin:0 0 20px 0;color:var(--next-error-message)">A server error occurred. Reload to try again.</p><form style="margin:0"><button type="submit" style="display:inline-flex;align-items:center;justify-content:center;height:32px;padding:0 12px;font-size:14px;font-weight:500;line-height:20px;border-radius:6px;cursor:pointer;color:var(--next-error-btn-text);background:var(--next-error-btn-bg);border:var(--next-error-btn-border)">Reload</button></form></div></div><!--$--><!--/$--><script src="/_next/static/chunks/0mim5z5~_34t1.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[39756,[\"/_next/static/chunks/0ipoy_nm8gvxg.js\"],\"default\"]\n3:I[37457,[\"/_next/static/chunks/0ipoy_nm8gvxg.js\"],\"default\"]\n4:I[97367,[\"/_next/static/chunks/0ipoy_nm8gvxg.js\"],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n8:I[97367,[\"/_next/static/chunks/0ipoy_nm8gvxg.js\"],\"ViewportBoundary\"]\na:I[97367,[\"/_next/static/chunks/0ipoy_nm8gvxg.js\"],\"MetadataBoundary\"]\nc:I[68027,[\"/_next/static/chunks/0ipoy_nm8gvxg.js\"],\"default\",1]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"c\":[\"\",\"_global-error\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"__PAGE__\",{}]}],[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"html\",null,{\"id\":\"__next_error__\",\"children\":[[\"$\",\"head\",null,{\"children\":[[\"$\",\"title\",null,{\"children\":\"500: This page couldn’t load\"}],[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\":root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }\"}}]]}],[\"$\",\"body\",null,{\"children\":[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"display\":\"flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"style\":{\"marginTop\":\"-32px\",\"maxWidth\":\"325px\",\"padding\":\"32px 28px\",\"textAlign\":\"left\"},\"children\":[[\"$\",\"svg\",null,{\"width\":\"32\",\"height\":\"32\",\"viewBox\":\"-0.2 -1.5 32 32\",\"fill\":\"none\",\"style\":{\"marginBottom\":\"24px\"},\"children\":[\"$\",\"path\",null,{\"d\":\"M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z\",\"fill\":\"var(--next-error-title)\"}]}],[\"$\",\"h1\",null,{\"style\":{\"fontSize\":\"24px\",\"fontWeight\":500,\"letterSpacing\":\"-0.02em\",\"lineHeight\":\"32px\",\"margin\":\"0 0 12px 0\",\"color\":\"var(--next-error-title)\"},\"children\":\"This page couldn’t load\"}],[\"$\",\"p\",null,{\"style\":{\"fontSize\":\"14px\",\"fontWeight\":400,\"lineHeight\":\"21px\",\"margin\":\"0 0 20px 0\",\"color\":\"var(--next-error-message)\"},\"children\":\"A server error occurred. Reload to try again.\"}],[\"$\",\"form\",null,{\"style\":{\"margin\":0},\"children\":[\"$\",\"button\",null,{\"type\":\"submit\",\"style\":{\"display\":\"inline-flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\",\"height\":\"32px\",\"padding\":\"0 12px\",\"fontSize\":\"14px\",\"fontWeight\":500,\"lineHeight\":\"20px\",\"borderRadius\":\"6px\",\"cursor\":\"pointer\",\"color\":\"var(--next-error-btn-text)\",\"background\":\"var(--next-error-btn-bg)\",\"border\":\"var(--next-error-btn-border)\"},\"children\":\"Reload\"}]}]]}]}]}]]}],null,[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@6\"}]}]]}],{},null,false,null]},null,false,\"$@7\"],[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$L8\",null,{\"children\":\"$L9\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$La\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Lb\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$c\",[]],\"S\":true,\"h\":null,\"s\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"wSRFWQpYMoREUE4DVVpZp\"}\n"])</script><script>self.__next_f.push([1,"d:[]\n7:\"$Wd\"\n"])</script><script>self.__next_f.push([1,"9:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"6:null\nb:[]\n"])</script></body></html>
@@ -6,7 +6,7 @@
6
6
  8:I[97367,["/_next/static/chunks/0ipoy_nm8gvxg.js"],"ViewportBoundary"]
7
7
  a:I[97367,["/_next/static/chunks/0ipoy_nm8gvxg.js"],"MetadataBoundary"]
8
8
  c:I[68027,["/_next/static/chunks/0ipoy_nm8gvxg.js"],"default",1]
9
- 0:{"P":null,"c":["","_global-error"],"q":"","i":false,"f":[[["",{"children":["__PAGE__",{}]}],[["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[["$","html",null,{"id":"__next_error__","children":[["$","head",null,{"children":[["$","title",null,{"children":"500: This page couldn’t load"}],["$","style",null,{"dangerouslySetInnerHTML":{"__html":":root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }"}}]]}],["$","body",null,{"children":["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","display":"flex","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"style":{"marginTop":"-32px","maxWidth":"325px","padding":"32px 28px","textAlign":"left"},"children":[["$","svg",null,{"width":"32","height":"32","viewBox":"-0.2 -1.5 32 32","fill":"none","style":{"marginBottom":"24px"},"children":["$","path",null,{"d":"M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z","fill":"var(--next-error-title)"}]}],["$","h1",null,{"style":{"fontSize":"24px","fontWeight":500,"letterSpacing":"-0.02em","lineHeight":"32px","margin":"0 0 12px 0","color":"var(--next-error-title)"},"children":"This page couldn’t load"}],["$","p",null,{"style":{"fontSize":"14px","fontWeight":400,"lineHeight":"21px","margin":"0 0 20px 0","color":"var(--next-error-message)"},"children":"A server error occurred. Reload to try again."}],["$","form",null,{"style":{"margin":0},"children":["$","button",null,{"type":"submit","style":{"display":"inline-flex","alignItems":"center","justifyContent":"center","height":"32px","padding":"0 12px","fontSize":"14px","fontWeight":500,"lineHeight":"20px","borderRadius":"6px","cursor":"pointer","color":"var(--next-error-btn-text)","background":"var(--next-error-btn-bg)","border":"var(--next-error-btn-border)"},"children":"Reload"}]}]]}]}]}]]}],null,["$","$L4",null,{"children":["$","$5",null,{"name":"Next.MetadataOutlet","children":"$@6"}]}]]}],{},null,false,null]},null,false,"$@7"],["$","$1","h",{"children":[null,["$","$L8",null,{"children":"$L9"}],["$","div",null,{"hidden":true,"children":["$","$La",null,{"children":["$","$5",null,{"name":"Next.Metadata","children":"$Lb"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$c",[]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"Wp459Twu-yb9CNHGkPiUG"}
9
+ 0:{"P":null,"c":["","_global-error"],"q":"","i":false,"f":[[["",{"children":["__PAGE__",{}]}],[["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[["$","html",null,{"id":"__next_error__","children":[["$","head",null,{"children":[["$","title",null,{"children":"500: This page couldn’t load"}],["$","style",null,{"dangerouslySetInnerHTML":{"__html":":root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }"}}]]}],["$","body",null,{"children":["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","display":"flex","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"style":{"marginTop":"-32px","maxWidth":"325px","padding":"32px 28px","textAlign":"left"},"children":[["$","svg",null,{"width":"32","height":"32","viewBox":"-0.2 -1.5 32 32","fill":"none","style":{"marginBottom":"24px"},"children":["$","path",null,{"d":"M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z","fill":"var(--next-error-title)"}]}],["$","h1",null,{"style":{"fontSize":"24px","fontWeight":500,"letterSpacing":"-0.02em","lineHeight":"32px","margin":"0 0 12px 0","color":"var(--next-error-title)"},"children":"This page couldn’t load"}],["$","p",null,{"style":{"fontSize":"14px","fontWeight":400,"lineHeight":"21px","margin":"0 0 20px 0","color":"var(--next-error-message)"},"children":"A server error occurred. Reload to try again."}],["$","form",null,{"style":{"margin":0},"children":["$","button",null,{"type":"submit","style":{"display":"inline-flex","alignItems":"center","justifyContent":"center","height":"32px","padding":"0 12px","fontSize":"14px","fontWeight":500,"lineHeight":"20px","borderRadius":"6px","cursor":"pointer","color":"var(--next-error-btn-text)","background":"var(--next-error-btn-bg)","border":"var(--next-error-btn-border)"},"children":"Reload"}]}]]}]}]}]]}],null,["$","$L4",null,{"children":["$","$5",null,{"name":"Next.MetadataOutlet","children":"$@6"}]}]]}],{},null,false,null]},null,false,"$@7"],["$","$1","h",{"children":[null,["$","$L8",null,{"children":"$L9"}],["$","div",null,{"hidden":true,"children":["$","$La",null,{"children":["$","$5",null,{"name":"Next.Metadata","children":"$Lb"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$c",[]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"wSRFWQpYMoREUE4DVVpZp"}
10
10
  d:[]
11
11
  7:"$Wd"
12
12
  9:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]
@@ -1,5 +1,5 @@
1
1
  1:"$Sreact.fragment"
2
2
  2:I[97367,["/_next/static/chunks/0ipoy_nm8gvxg.js"],"OutletBoundary"]
3
3
  3:"$Sreact.suspense"
4
- 0:{"rsc":["$","$1","c",{"children":[["$","html",null,{"id":"__next_error__","children":[["$","head",null,{"children":[["$","title",null,{"children":"500: This page couldn’t load"}],["$","style",null,{"dangerouslySetInnerHTML":{"__html":":root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }"}}]]}],["$","body",null,{"children":["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","display":"flex","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"style":{"marginTop":"-32px","maxWidth":"325px","padding":"32px 28px","textAlign":"left"},"children":[["$","svg",null,{"width":"32","height":"32","viewBox":"-0.2 -1.5 32 32","fill":"none","style":{"marginBottom":"24px"},"children":["$","path",null,{"d":"M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z","fill":"var(--next-error-title)"}]}],["$","h1",null,{"style":{"fontSize":"24px","fontWeight":500,"letterSpacing":"-0.02em","lineHeight":"32px","margin":"0 0 12px 0","color":"var(--next-error-title)"},"children":"This page couldn’t load"}],["$","p",null,{"style":{"fontSize":"14px","fontWeight":400,"lineHeight":"21px","margin":"0 0 20px 0","color":"var(--next-error-message)"},"children":"A server error occurred. Reload to try again."}],["$","form",null,{"style":{"margin":0},"children":["$","button",null,{"type":"submit","style":{"display":"inline-flex","alignItems":"center","justifyContent":"center","height":"32px","padding":"0 12px","fontSize":"14px","fontWeight":500,"lineHeight":"20px","borderRadius":"6px","cursor":"pointer","color":"var(--next-error-btn-text)","background":"var(--next-error-btn-bg)","border":"var(--next-error-btn-border)"},"children":"Reload"}]}]]}]}]}]]}],null,["$","$L2",null,{"children":["$","$3",null,{"name":"Next.MetadataOutlet","children":"$@4"}]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"Wp459Twu-yb9CNHGkPiUG"}
4
+ 0:{"rsc":["$","$1","c",{"children":[["$","html",null,{"id":"__next_error__","children":[["$","head",null,{"children":[["$","title",null,{"children":"500: This page couldn’t load"}],["$","style",null,{"dangerouslySetInnerHTML":{"__html":":root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }"}}]]}],["$","body",null,{"children":["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","display":"flex","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"style":{"marginTop":"-32px","maxWidth":"325px","padding":"32px 28px","textAlign":"left"},"children":[["$","svg",null,{"width":"32","height":"32","viewBox":"-0.2 -1.5 32 32","fill":"none","style":{"marginBottom":"24px"},"children":["$","path",null,{"d":"M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z","fill":"var(--next-error-title)"}]}],["$","h1",null,{"style":{"fontSize":"24px","fontWeight":500,"letterSpacing":"-0.02em","lineHeight":"32px","margin":"0 0 12px 0","color":"var(--next-error-title)"},"children":"This page couldn’t load"}],["$","p",null,{"style":{"fontSize":"14px","fontWeight":400,"lineHeight":"21px","margin":"0 0 20px 0","color":"var(--next-error-message)"},"children":"A server error occurred. Reload to try again."}],["$","form",null,{"style":{"margin":0},"children":["$","button",null,{"type":"submit","style":{"display":"inline-flex","alignItems":"center","justifyContent":"center","height":"32px","padding":"0 12px","fontSize":"14px","fontWeight":500,"lineHeight":"20px","borderRadius":"6px","cursor":"pointer","color":"var(--next-error-btn-text)","background":"var(--next-error-btn-bg)","border":"var(--next-error-btn-border)"},"children":"Reload"}]}]]}]}]}]]}],null,["$","$L2",null,{"children":["$","$3",null,{"name":"Next.MetadataOutlet","children":"$@4"}]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"wSRFWQpYMoREUE4DVVpZp"}
5
5
  4:null
@@ -6,7 +6,7 @@
6
6
  8:I[97367,["/_next/static/chunks/0ipoy_nm8gvxg.js"],"ViewportBoundary"]
7
7
  a:I[97367,["/_next/static/chunks/0ipoy_nm8gvxg.js"],"MetadataBoundary"]
8
8
  c:I[68027,["/_next/static/chunks/0ipoy_nm8gvxg.js"],"default",1]
9
- 0:{"P":null,"c":["","_global-error"],"q":"","i":false,"f":[[["",{"children":["__PAGE__",{}]}],[["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[["$","html",null,{"id":"__next_error__","children":[["$","head",null,{"children":[["$","title",null,{"children":"500: This page couldn’t load"}],["$","style",null,{"dangerouslySetInnerHTML":{"__html":":root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }"}}]]}],["$","body",null,{"children":["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","display":"flex","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"style":{"marginTop":"-32px","maxWidth":"325px","padding":"32px 28px","textAlign":"left"},"children":[["$","svg",null,{"width":"32","height":"32","viewBox":"-0.2 -1.5 32 32","fill":"none","style":{"marginBottom":"24px"},"children":["$","path",null,{"d":"M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z","fill":"var(--next-error-title)"}]}],["$","h1",null,{"style":{"fontSize":"24px","fontWeight":500,"letterSpacing":"-0.02em","lineHeight":"32px","margin":"0 0 12px 0","color":"var(--next-error-title)"},"children":"This page couldn’t load"}],["$","p",null,{"style":{"fontSize":"14px","fontWeight":400,"lineHeight":"21px","margin":"0 0 20px 0","color":"var(--next-error-message)"},"children":"A server error occurred. Reload to try again."}],["$","form",null,{"style":{"margin":0},"children":["$","button",null,{"type":"submit","style":{"display":"inline-flex","alignItems":"center","justifyContent":"center","height":"32px","padding":"0 12px","fontSize":"14px","fontWeight":500,"lineHeight":"20px","borderRadius":"6px","cursor":"pointer","color":"var(--next-error-btn-text)","background":"var(--next-error-btn-bg)","border":"var(--next-error-btn-border)"},"children":"Reload"}]}]]}]}]}]]}],null,["$","$L4",null,{"children":["$","$5",null,{"name":"Next.MetadataOutlet","children":"$@6"}]}]]}],{},null,false,null]},null,false,"$@7"],["$","$1","h",{"children":[null,["$","$L8",null,{"children":"$L9"}],["$","div",null,{"hidden":true,"children":["$","$La",null,{"children":["$","$5",null,{"name":"Next.Metadata","children":"$Lb"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$c",[]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"Wp459Twu-yb9CNHGkPiUG"}
9
+ 0:{"P":null,"c":["","_global-error"],"q":"","i":false,"f":[[["",{"children":["__PAGE__",{}]}],[["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[["$","html",null,{"id":"__next_error__","children":[["$","head",null,{"children":[["$","title",null,{"children":"500: This page couldn’t load"}],["$","style",null,{"dangerouslySetInnerHTML":{"__html":":root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }"}}]]}],["$","body",null,{"children":["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","display":"flex","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"style":{"marginTop":"-32px","maxWidth":"325px","padding":"32px 28px","textAlign":"left"},"children":[["$","svg",null,{"width":"32","height":"32","viewBox":"-0.2 -1.5 32 32","fill":"none","style":{"marginBottom":"24px"},"children":["$","path",null,{"d":"M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z","fill":"var(--next-error-title)"}]}],["$","h1",null,{"style":{"fontSize":"24px","fontWeight":500,"letterSpacing":"-0.02em","lineHeight":"32px","margin":"0 0 12px 0","color":"var(--next-error-title)"},"children":"This page couldn’t load"}],["$","p",null,{"style":{"fontSize":"14px","fontWeight":400,"lineHeight":"21px","margin":"0 0 20px 0","color":"var(--next-error-message)"},"children":"A server error occurred. Reload to try again."}],["$","form",null,{"style":{"margin":0},"children":["$","button",null,{"type":"submit","style":{"display":"inline-flex","alignItems":"center","justifyContent":"center","height":"32px","padding":"0 12px","fontSize":"14px","fontWeight":500,"lineHeight":"20px","borderRadius":"6px","cursor":"pointer","color":"var(--next-error-btn-text)","background":"var(--next-error-btn-bg)","border":"var(--next-error-btn-border)"},"children":"Reload"}]}]]}]}]}]]}],null,["$","$L4",null,{"children":["$","$5",null,{"name":"Next.MetadataOutlet","children":"$@6"}]}]]}],{},null,false,null]},null,false,"$@7"],["$","$1","h",{"children":[null,["$","$L8",null,{"children":"$L9"}],["$","div",null,{"hidden":true,"children":["$","$La",null,{"children":["$","$5",null,{"name":"Next.Metadata","children":"$Lb"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$c",[]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"wSRFWQpYMoREUE4DVVpZp"}
10
10
  d:[]
11
11
  7:"$Wd"
12
12
  9:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]