<!doctype html>
<html lang="en-us">
  <head>
    <meta charset="utf-8"/>
    <title></title>
    <base href="https://static.pub5aa.com/"/>
    <meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
    <!-- Build Version: prod.20260424.2 -->
    <meta name="build-version" content="prod.20260424.2"/>
    <meta name="backend-version" content=""/>
    <link rel="icon" href="data:,"/>
    <meta name="theme-color" content="#072212"/>
    <meta name="”domain-check”" content="”4ad15a787e08f3e4dd2a0353ba913ca4”"/>
    <link rel="apple-touch-icon" href="data:,"/>
    <link id="default-theme-style" rel="stylesheet" href="assets/styles/light.css"/>
    <link id="dynamic-theme-style" rel="stylesheet" href="assets/styles/light.css"/>
    <link rel="stylesheet" href="assets/styles/loading.css"/>
    <!-- 依照 User-Agent 動態載入 Telegram WebApp SDK，避免非 TG 瀏覽器被覆寫 window.open -->
    <script>
      (function () {
        var ua = navigator.userAgent.toLowerCase();
        // 更加嚴謹的 Telegram 判定
        var isTelegram = ua.indexOf('telegram') > -1 || !!window.TelegramWebviewProxy;

        if (isTelegram) {
          console.log('[TMA] 偵測到 Telegram 環境，同步載入 SDK...');
          // 導正：document.write 會阻塞解析，確保 SDK 在 Angular 啟動前就定位
          document.write('<script src="https://telegram.org/js/telegram-web-app.js?59"><\/script>');
        }
      })();
    </script>
    <script id="init">
      (function (e) {
        window.checkLangSupport = (languageCode, list) => {
          var DEFAULT_LANGUAGE = list.find(x => x === 'en-us') || list[0];
          if (languageCode && list.includes(languageCode)) {
            window.languageCode = languageCode;
            document.documentElement.setAttribute('lang', languageCode);
          } else {
            languageCode = localStorage.getItem('storage.platform.languageCode') || navigator.language.toLowerCase();
            languageCode = list.find(x => x.includes(languageCode));
            window.location.href = `${location.origin}/${languageCode || DEFAULT_LANGUAGE}${location.search}`;
          }
        };

        var SUPPORT_LANGUAGE = ['en-us', 'zh-cn'];
        window.checkLangSupport(location.pathname.split('/')[1], SUPPORT_LANGUAGE);

        var isSupportWebp = false;
        try {
          isSupportWebp = document.createElement('canvas').toDataURL('image/webp').indexOf('data:image/webp') === 0;
        } catch (err) {}
        window.isSupportWebp = isSupportWebp;
        e && e.remove();
      })(document.getElementById('init'));
    </script>
    <script src="/assets/js/loading.js"></script>
    <script type="text/javascript" src="https://9bd36c32-a014-44a5-8268-d67f6c8748b0.seals.dlagglobal.com/dlag-seal.js"></script>
    <!-- Google Tag Manager -->
    <script>
      (function (w, d, s, l, i) {
        w[l] = w[l] || [];
        w[l].push({ 'gtm.start': new Date().getTime(), event: 'gtm.js' });
        var f = d.getElementsByTagName(s)[0],
          j = d.createElement(s),
          dl = l != 'dataLayer' ? '&l=' + l : '';
        j.async = true;
        j.src = 'https://www.googletagmanager.com/gtm.js?id=' + i + dl;
        f.parentNode.insertBefore(j, f);
      })(window, document, 'script', 'dataLayer', 'GTM-NND5T8GP');
    </script>
    <!-- End Google Tag Manager -->
  <link rel="stylesheet" href="styles-J5XI7J5L.css"><link rel="modulepreload" href="chunk-QZEDOXE4.js"><link rel="modulepreload" href="chunk-T6GDTHGK.js"><link rel="modulepreload" href="chunk-ABY3RB5S.js"><link rel="modulepreload" href="chunk-OPN6MLZS.js"><link rel="modulepreload" href="chunk-LBPAUHY4.js"><link rel="modulepreload" href="chunk-UM7UYOBJ.js"><link rel="modulepreload" href="chunk-MOREHS3O.js"><link rel="modulepreload" href="chunk-MNACD7HW.js"><link rel="modulepreload" href="chunk-MEKA5WXG.js"><link rel="modulepreload" href="chunk-WNNCIX3S.js"><link rel="modulepreload" href="chunk-GWJZHRWC.js"><link rel="modulepreload" href="chunk-3R64G5HQ.js"><link rel="modulepreload" href="chunk-74MODGSM.js"><link rel="modulepreload" href="chunk-T4OFBIUZ.js"><link rel="modulepreload" href="chunk-3P32QKW3.js"><link rel="modulepreload" href="chunk-UASNB5EG.js"><link rel="modulepreload" href="chunk-PKXY27UB.js"><link rel="modulepreload" href="chunk-PR6YHGCT.js"><link rel="modulepreload" href="chunk-5ZFH2IC5.js"><link rel="modulepreload" href="chunk-YLUPXHSA.js"><link rel="modulepreload" href="chunk-TZ7U7A62.js"><link rel="modulepreload" href="chunk-4PMAXHQQ.js"><link rel="modulepreload" href="chunk-2SAQDHNS.js"><link rel="modulepreload" href="chunk-AQVYVNL7.js"><link rel="modulepreload" href="chunk-IIHFCHDN.js"><link rel="modulepreload" href="chunk-KDPHF5WM.js"><link rel="modulepreload" href="chunk-MMEMJIUX.js"><link rel="modulepreload" href="chunk-J4CUK2S4.js"><link rel="modulepreload" href="chunk-LC7B3QAA.js"><link rel="modulepreload" href="chunk-4MMBPPFC.js"><link rel="modulepreload" href="chunk-TSS5AMGA.js"><link rel="modulepreload" href="chunk-HELDGRO3.js"><link rel="modulepreload" href="chunk-5FSKBA4V.js"><link rel="modulepreload" href="chunk-JURNM67X.js"><link rel="modulepreload" href="chunk-TSYPEDJ6.js"><link rel="modulepreload" href="chunk-ZU2NJB3N.js"><link rel="modulepreload" href="chunk-776MFRJ5.js"><link rel="modulepreload" href="chunk-6OQ7CX2W.js"><link rel="modulepreload" href="chunk-G5P6AYOD.js"><link rel="modulepreload" href="chunk-EF7TUCDZ.js"><link rel="modulepreload" href="chunk-IEMVBMF5.js"><link rel="modulepreload" href="chunk-FCREM7I3.js"><link rel="modulepreload" href="chunk-54Y2MTHV.js"><link rel="modulepreload" href="chunk-PQAEYSTT.js"><link rel="modulepreload" href="chunk-O5FL4ELT.js"><link rel="modulepreload" href="chunk-MJDN4FB7.js"><link rel="modulepreload" href="chunk-ZLAVRXWF.js"><link rel="modulepreload" href="chunk-CABZKBUC.js"><link rel="modulepreload" href="chunk-NMY63E72.js"><link rel="modulepreload" href="chunk-RU7TYQE2.js"><link rel="modulepreload" href="chunk-AZME5MVA.js"><link rel="modulepreload" href="chunk-KKHNJPCQ.js"><link rel="modulepreload" href="chunk-WH2BQ6XF.js"></head>

  <body class="theme-default" style="text-indent: unset !important">
    <div id="root_con_wrap">
      <app-root></app-root>
    </div>
    <div class="global-waiting" id="global-loading-container">
      <!-- 3D Carousel Loading will be initialized here -->
    </div>
    <script>
      // 初始化全域 Loading
      (function () {
        var container = document.getElementById('global-loading-container');
        if (container) {
          // 將實例掛載到 window 供其他地方使用
          window.globalLoader = new LoadingCarousel(container, {
            loadingBgColor: 'transparent',
            intervalMs: 900,
          });
          // 自動顯示 loading
          window.globalLoader.show();
        }
      })();
    </script>
    <script id="chrome-version-check">
      (function (e) {
        var userAgent = window.navigator.userAgent;
        var match = userAgent.match(/Chrom(e|ium)\/([0-9]+)\./);
        if (match) {
          var version = match[2];
          if (Number(version) < 80) {
            var iframe = document.createElement('iframe');
            iframe.style.height = '100%';
            iframe.style.width = '100%';
            iframe.src = window.location.origin + '/chrome-not-support/index.html';
            document.body.innerHTML = '';
            document.body.appendChild(iframe);
            return;
          }
        }
        e && e.remove();
      })(document.getElementById('chrome-version-check'));
    </script>
    <!-- Google Tag Manager (noscript) -->
    <noscript><iframe
        src="https://www.googletagmanager.com/ns.html?id=GTM-NND5T8GP"
        height="0"
        width="0"
        style="display: none; visibility: hidden"
      ></iframe
    ></noscript>
    <!-- End Google Tag Manager (noscript) -->

    <!-- Hotjar Tracking Code -->
    <script>
      if ('true' === 'true') {
        (function (h, o, t, j, a, r) {
          h.hj =
            h.hj ||
            function () {
              (h.hj.q = h.hj.q || []).push(arguments);
            };
          h._hjSettings = { hjid: 5232867, hjsv: 6 };
          a = o.getElementsByTagName('head')[0];
          r = o.createElement('script');
          r.async = 1;
          r.src = t + h._hjSettings.hjid + j + h._hjSettings.hjsv;
          a.appendChild(r);
        })(window, document, 'https://static.hotjar.com/c/hotjar-', '.js?sv=');
      }
    </script>
    <!-- End Hotjar Tracking Code -->
    <!-- softswiss sportsbook init -->
    <script>
      (function (b, e, t, s) {
        b[t] =
          b[t] ||
          function () {
            b[t]._q.push(arguments);
          };
        b[t]._q = b[t]._q || [];
        var o = e.createElement('script');
        o.src = s;
        e.head.appendChild(o);
      })(window, document, 'Sportsbook', 'https://sssport-eu.shanyaolive.com/en/init-sportsbook');
    </script>
    <!-- softswiss sportsbook end -->
    <script src="https://dga.pragmaticplaylive.net/dgaAPI.js"></script>
  <script src="polyfills-JO4NSKZE.js" type="module"></script><script src="scripts-2IYMRK6X.js" defer></script><script src="main-G4KIRM7J.js" type="module"></script></body>
</html>
