<!DOCTYPE html>
<html lang="cmn-Hans-CN">

<head>
  <meta charset="UTF-8" />
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
  <meta name="renderer" content="webkit" />
  <meta name="viewport"
    content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=0,viewport-fit=cover" />
  <title></title>

  <script src="//res.wx.qq.com/open/js/jweixin-1.6.0.js"></script>
  <script>
    window.process = {};

    (function () {
      if (typeof WeixinJSBridge == "object" && typeof WeixinJSBridge.invoke == "function") {
        handleFontSize();
      } else {
        if (document.addEventListener) {
          document.addEventListener("WeixinJSBridgeReady", handleFontSize, false);
        } else if (document.attachEvent) {
          document.attachEvent("WeixinJSBridgeReady", handleFontSize);
          document.attachEvent("onWeixinJSBridgeReady", handleFontSize);
        }
      }

      function handleFontSize() {
        // 设置网页字体为默认大小
        WeixinJSBridge.invoke('setFontSizeCallback', {
          'fontSize': 0
        });
        // 重写设置网页字体大小的事件
        WeixinJSBridge.on('menu:setfont', function () {
          WeixinJSBridge.invoke('setFontSizeCallback', {
            'fontSize': 0
          });
        });
      }
    })();

  </script>
  <style>
    body {
      -webkit-text-size-adjust: 100% !important;
    }

    .launchButton {
      border-radius: 50% !important;
    }

    .launchButtonText img {
      margin: 0 !important;
    }

    .flyUsername {
      display: none !important;
    }

  </style>
  <!-- <script src=" https://unpkg.com/vconsole@latest/dist/vconsole.min.js"> </script> <script>
  // VConsole 默认会挂载到 `window.VConsole` 上
  var vConsole = new window.VConsole();
  </script> -->
</head>

<body>
  <div id="app">
    <style>
      html,
      body,
      #app {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
        overflow: hidden;
      }

      .loader,
      .loader::before,
      .loader::after {
        width: 2.5em;
        height: 2.5em;
        border-radius: 50%;
        animation: load-animation 1.8s infinite ease-in-out;
        animation-fill-mode: both;
      }

      .loader {
        position: relative;
        top: 0;
        margin: 80px auto;
        font-size: 10px;
        color: #406eeb;
        text-indent: -9999em;
        transform: translateZ(0);
        transform: translate(-50%, 0);
        animation-delay: -0.16s;
      }

      .loader::before,
      .loader::after {
        position: absolute;
        top: 0;
        content: "";
      }

      .loader::before {
        left: -3.5em;
        animation-delay: -0.32s;
      }

      .loader::after {
        left: 3.5em;
      }

      @keyframes load-animation {

        0%,
        80%,
        100% {
          box-shadow: 0 2.5em 0 -1.3em;
        }

        40% {
          box-shadow: 0 2.5em 0 0;
        }
      }

    </style>
    <div class="loader"></div>
  </div>
  <script type="module" src="/src/main.ts"></script>

  <script type="text/javascript">
    /**(function runIM () {
        if (window.imUrl) {
          (function (a, b, c, d) {
            let h = b.getElementsByTagName("head")[0];
            let s = b.createElement("script");
            s.type = "text/javascript";
            s.src = c + "/static/js/kefu-front.js";
            s.onload = s.onreadystatechange = function () {
              if (
                !this.readyState ||
                this.readyState === "loaded" ||
                this.readyState === "complete"
              )
                d(c);
            };
            h.appendChild(s);
          })(window, document, window.imUrl, function (u) {
            KEFU.init({
              KEFU_URL: u,
              KEFU_KEFU_ID: "kefu2",
              KEFU_ENT: "5",
              KEFU_LANG: "cn",
              KEFU_SHOW_TYPES: 1,
              KEFU_AUTO_OPEN: false,
            });
          });
        } else {
          setTimeout(runIM, 200)
        }
      })()*/

  </script>
</body>

</html>