import { fetchCatalysts, screenTickers } from '$lib/api.js'; // Client-only — the API lives at localhost:3000, not accessible during SSR export const ssr = false; export async function load() { const cat = await fetchCatalysts(); const results = await screenTickers(cat.tickers); return { results, catalystInput: cat.tickers.join(', '), }; }