// Applies the theme before the first paint: .
// An external file because the CSP allows no inline scripts. The choice
// lives in localStorage; without one the light theme, the website's
// letterhead, is used.
(function () {
var t = null;
try {
t = localStorage.getItem("visa-theme");
} catch (e) {
/* storage blocked */
}
if (t !== "light" && t !== "dark") {
t = "light";
}
document.documentElement.setAttribute("data-theme", t);
})();