import{t as c}from"./vendor/theme-change_index_commonjs-es-import.js";import"./vendor/theme-change_index.js";import"./vendor/theme-change_index_commonjs-module.js";c.themeChange();const t=localStorage.getItem("theme")||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),e=document.querySelector("input.theme-change-controller");e instanceof HTMLInputElement&&(t=="dark"&&!e.checked&&(e.checked=!0),t=="light"&&e.checked&&(e.checked=!1));
