import React from "react"; import { ShieldCheck, Lock, Sparkles, Trash2, X } from "lucide-react"; import { C, FD, FB, FM } from "../theme.js"; // Privacy disclosure for the hosted Space. Shown once on first run (localStorage) and // re-openable any time via the "Privacy" button. The Space keeps NOTHING: uploads are // isolated per-browser and deleted on exit / Clear / within 24h, and nothing derived // from them ever leaves (enricher + sharing are off — HER_ENRICH=0 / HER_SHARE=0). The // only outbound call is the one-time model download from Hugging Face. const SEEN_KEY = "her.disclaimer.v1"; export function needsDisclaimer() { try { return localStorage.getItem(SEEN_KEY) !== "1"; } catch { return true; } } export default function DisclaimerModal({ onDone }) { function close() { try { localStorage.setItem(SEEN_KEY, "1"); } catch { /* ignore */ } onDone(); } return (