{#- Copyright 2024-2026 WritersLogic Contributors
SPDX-License-Identifier: Apache-2.0
The theme builds `new URL(base_url)` from a relative path, which throws "Invalid URL" in the
console on every page of a versioned site. Resolve it against the page location instead. -#}
<script>var el=document.querySelector("[data-md-component=outdated]"),base=new URL("{{ base_url }}",location),outdated=__md_get("__outdated",sessionStorage,base);!0===outdated&&el&&(el.hidden=!1)</script>