|
<!DOCTYPE html> |
|
<html lang="en" class="h-full"> |
|
<head> |
|
<meta charset="utf-8" /> |
|
<link rel="icon" href="%sveltekit.assets%/favicon.svg" type="image/svg+xml" /> |
|
<link rel="icon" href="%sveltekit.assets%/favicon.png" type="image/png" /> |
|
|
|
<link rel="apple-touch-icon" href="%sveltekit.assets%/touch-icon-ipad-retina.png" sizes="167x167" type="image/png" /> |
|
<link rel="apple-touch-icon" href="%sveltekit.assets%/touch-icon-ipad.png" sizes="152x152" type="image/png" /> |
|
<link rel="apple-touch-icon" href="%sveltekit.assets%/touch-icon-iphone-retina.png" sizes="180x180" type="image/png" /> |
|
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" /> |
|
<title>HuggingChat</title> |
|
<script> |
|
if ( |
|
localStorage.theme === "dark" || |
|
(!("theme" in localStorage) && window.matchMedia("(prefers-color-scheme: dark)").matches) |
|
) { |
|
document.documentElement.classList.add("dark"); |
|
} |
|
|
|
|
|
window.gaId = "%gaId%"; |
|
window.gaIdDeprecated = "%gaIdDeprecated%"; |
|
</script> |
|
%sveltekit.head% |
|
</head> |
|
<body data-sveltekit-preload-data="hover" class="h-full dark:bg-gray-900"> |
|
<div id="app" class="contents h-full">%sveltekit.body%</div> |
|
|
|
|
|
<script> |
|
if (window.gaId) { |
|
const script = document.createElement("script"); |
|
script.src = "https://www.googletagmanager.com/gtag/js?id=" + window.gaId; |
|
script.async = true; |
|
document.head.appendChild(script); |
|
|
|
window.dataLayer = window.dataLayer || []; |
|
function gtag() { |
|
dataLayer.push(arguments); |
|
} |
|
gtag("js", new Date()); |
|
|
|
gtag("config", window.gaId); |
|
gtag("consent", "default", { ad_storage: "denied", analytics_storage: "denied" }); |
|
|
|
|
|
} |
|
</script> |
|
|
|
|
|
<script> |
|
if (window.gaIdDeprecated) { |
|
(function (i, s, o, g, r, a, m) { |
|
i["GoogleAnalyticsObject"] = r; |
|
(i[r] = |
|
i[r] || |
|
function () { |
|
(i[r].q = i[r].q || []).push(arguments); |
|
}), |
|
(i[r].l = 1 * new Date()); |
|
(a = s.createElement(o)), (m = s.getElementsByTagName(o)[0]); |
|
a.async = 1; |
|
a.src = g; |
|
m.parentNode.insertBefore(a, m); |
|
})( |
|
window, |
|
document, |
|
"script", |
|
"https://www.google-analytics.com/analytics.js", |
|
"ganalytics" |
|
); |
|
ganalytics("create", window.gaIdDeprecated, "auto"); |
|
ganalytics("send", "pageview"); |
|
} |
|
</script> |
|
</body> |
|
</html> |
|
|