<!doctype html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <link rel="icon" type="image/svg+xml" href="https://base44.com/logo_v2.svg" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <link rel="manifest" href="/manifest.json" />
    <title>Base44 APP</title>
    <script type="module" crossorigin src="/assets/index-DgpK-wud.js"></script>
    <link rel="stylesheet" crossorigin href="/assets/index-DnXRH_3T.css">
    <script type="module">
let lastPath = "";
function getPageNameFromPath(path) {
  const segments = path.split("/").filter(Boolean);
  return segments[0] || null;
}
function trackPageView() {
  const path = window.location.pathname;
  if (path === lastPath) return;
  lastPath = path;
  const pageName = getPageNameFromPath(path) || "home";
  const appId = "";
  const serverUrl = "" || "";
  if (!appId) return;
  fetch(`${serverUrl}/app-logs/${appId}/log-user-in-app/${pageName}`, {
    method: "POST",
  }).catch(() => {});
}
const originalPushState = history.pushState.bind(history);
history.pushState = function (...args) {
  originalPushState(...args);
  trackPageView();
};
const originalReplaceState = history.replaceState.bind(history);
history.replaceState = function (...args) {
  originalReplaceState(...args);
  trackPageView();
};
window.addEventListener("popstate", trackPageView);
trackPageView();
</script>
  </head>
  <body>
    <div id="root"></div>
  </body>
</html>
