()
| 60 | } |
| 61 | |
| 62 | function readOverrides(): Record<string, unknown> { |
| 63 | if (typeof window === "undefined") return {}; |
| 64 | const raw = (window as Window & { __hfVariables?: unknown }).__hfVariables; |
| 65 | if (!raw || typeof raw !== "object" || Array.isArray(raw)) return {}; |
| 66 | return raw as Record<string, unknown>; |
| 67 | } |