/**
 * True in the standalone browser UI preview, where Electron's preload never ran
 * so `window.electron` (and the real `window.api` IPC bridge) is absent. The
 * stores and a few views branch on this to drive seed data / fake tickers instead
 * of calling IPC. Single-sourced here (C1) so the check isn't re-declared in ~8
 * files — import it as `PREVIEW` where that reads better locally.
 */
export const isPreview = typeof window === 'undefined' || !window.electron
