import { c as create_ssr_component, b as subscribe, d as add_attribute, e as each, f as escape, v as validate_component } from "../../chunks/ssr.js"; import { p as page } from "../../chunks/stores.js"; const Sidebar = create_ssr_component(($$result, $$props, $$bindings, slots) => { let currentPath; let $page, $$unsubscribe_page; $$unsubscribe_page = subscribe(page, (value) => $page = value); let collapsed = false; if (typeof window !== "undefined") { const saved = localStorage.getItem("sidebar-collapsed"); collapsed = saved === "true"; } const tools = [ { name: "Dashboard", path: "/", icon: "๐Ÿ“Š" }, { name: "Model Drift Monitor", path: "/drift-monitor", icon: "๐Ÿ“ˆ" }, { name: "Vendor Cost Tracker", path: "/cost-tracker", icon: "๐Ÿ’ฐ" }, { name: "Security Tester", path: "/security-tester", icon: "๐Ÿ”’" }, { name: "Data History Log", path: "/data-history", icon: "๐Ÿ“œ" }, { name: "Model Comparator", path: "/model-comparator", icon: "๐Ÿ”„" }, { name: "Privacy Scanner", path: "/privacy-scanner", icon: "๐Ÿ•ต๏ธ" }, { name: "Label Quality Scorer", path: "/label-quality", icon: "โœ…" }, { name: "Inference Estimator", path: "/inference-estimator", icon: "๐Ÿ’ต" }, { name: "Data Integrity Audit", path: "/data-audit", icon: "๐Ÿงน" }, { name: "Content Performance", path: "/content-performance", icon: "๐Ÿ“บ" }, { name: "Safety/Bias Checks", path: "/bias-checks", icon: "โš–๏ธ" }, { name: "Profitability Analysis", path: "/profitability", icon: "๐Ÿ’น" }, { name: "Emergency Control", path: "/emergency-control", icon: "๐Ÿšจ" }, { name: "Reports", path: "/reports", icon: "๐Ÿ“" } ]; currentPath = $page.url.pathname; $$unsubscribe_page(); return ``; }); const Layout = create_ssr_component(($$result, $$props, $$bindings, slots) => { return `
${validate_component(Sidebar, "Sidebar").$$render($$result, {}, {}, {})}
${slots.default ? slots.default({}) : ``}
`; }); export { Layout as default };