<!doctype html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <link rel="icon" type="image/png" href="/clarionlivelogotransparent160.png" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>ClarionLive!</title>
    <!-- DevExtreme theme - loaded dynamically by theme context -->
    <link id="devextreme-theme" rel="stylesheet" href="https://cdn3.devexpress.com/jslib/25.1.3/css/dx.material.blue.light.css" />
    <!-- Prevent FOUC by applying theme class before React loads -->
    <script>
      (function() {
        const theme = localStorage.getItem('clarionlive-theme') || 'system';
        const isDark = theme === 'dark' || (theme === 'system' && window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches);

        if (isDark) {
          document.documentElement.classList.add('dark');
          // Update DevExtreme theme link
          const link = document.getElementById('devextreme-theme');
          if (link) {
            link.href = 'https://cdn3.devexpress.com/jslib/25.1.3/css/dx.material.blue.dark.css';
          }
        }
      })();
    </script>
    <script type="module" crossorigin src="/assets/index-C12SGst5.js"></script>
    <link rel="modulepreload" crossorigin href="/assets/vendor-qkC6yhPU.js">
    <link rel="modulepreload" crossorigin href="/assets/router-D8SX7drL.js">
    <link rel="modulepreload" crossorigin href="/assets/utils-C37ahQjj.js">
    <link rel="modulepreload" crossorigin href="/assets/ui-BFKS1o-m.js">
    <link rel="stylesheet" crossorigin href="/assets/index-DPop0Y6X.css">
  </head>
  <body>
    <div id="root"></div>
  </body>
</html>
