<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover">
  <title>{{ app_name }}</title>
  <link rel="manifest" href="/static/manifest.json?v={{ asset_version }}">
  <meta name="theme-color" content="#2563eb">
  <link rel="apple-touch-icon" href="/static/icons/icon-192.png?v={{ asset_version }}">
  <meta name="apple-mobile-web-app-capable" content="yes">
  <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
  <meta name="apple-mobile-web-app-title" content="资产管理">
  <script src="/static/js/tailwind.js?v={{ asset_version }}"></script>
  <script>tailwind.config = { darkMode: 'class' };</script>
  <script src="/static/js/vue.global.prod.js?v={{ asset_version }}"></script>
  <script src="/static/js/chart.umd.js?v={{ asset_version }}"></script>
  <script>window.APP_CONFIG = { appName: "{{ app_name }}" };</script>
  <style>
    html { -webkit-tap-highlight-color: transparent; }
    ::-webkit-scrollbar { width: 8px; height: 8px; }
    ::-webkit-scrollbar-thumb { background: rgba(100,116,139,.3); border-radius: 4px; }
    [v-cloak] { display: none; }
  </style>
</head>
<body class="bg-slate-50 dark:bg-slate-950 text-slate-800 dark:text-slate-200 antialiased">
  <div id="app"></div>
  <script src="/static/js/api.js?v={{ asset_version }}"></script>
  <script src="/static/js/store.js?v={{ asset_version }}"></script>
  <script src="/static/js/views/dashboard.js?v={{ asset_version }}"></script>
  <script src="/static/js/views/assets.js?v={{ asset_version }}"></script>
  <script src="/static/js/views/subscriptions.js?v={{ asset_version }}"></script>
  <script src="/static/js/views/cloudflare.js?v={{ asset_version }}"></script>
  <script src="/static/js/views/providers.js?v={{ asset_version }}"></script>
  <script src="/static/js/views/servers.js?v={{ asset_version }}"></script>
  <script src="/static/js/views/domains.js?v={{ asset_version }}"></script>
  <script src="/static/js/views/ai.js?v={{ asset_version }}"></script>
  <script src="/static/js/views/monitor.js?v={{ asset_version }}"></script>
  <script src="/static/js/views/settings.js?v={{ asset_version }}"></script>
  <script src="/static/js/modals.js?v={{ asset_version }}"></script>
  <script src="/static/js/app.js?v={{ asset_version }}"></script>
  <script>
    if ('serviceWorker' in navigator) {
      window.addEventListener('load', function () {
        navigator.serviceWorker.register('/sw.js').catch(function () {});
      });
    }
  </script>
</body>
</html>
