<html>
<head>
    <link rel="icon" href="./favicon.ico" />
    <meta charset="utf-8" />
    <title>Cave Cruiser</title>
    <meta
            name="viewport"
            content="width=device-width,user-scalable=no,initial-scale=1,minimum-scale=1,maximum-scale=1,minimal-ui=true"
    />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="full-screen" content="yes" />
    <meta name="screen-orientation" content="portrait" />
    <meta name="x5-fullscreen" content="true" />
    <meta name="360-fullscreen" content="true" />
    <meta name="renderer" content="webkit" />
    <meta name="force-rendering" content="webkit" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <link rel="stylesheet" type="text/css" href="./index.css" />
    <style>
        .sui-captcha {
            visibility: hidden;
            position: fixed;
            z-index: 10000;
            top: 0;
            right: 0;
            bottom: 0;
            left: 0;
            background-color: rgba(0, 0, 0, 0.7);
        }

        .neCaptcha-dialog {
            visibility: hidden;
            background-color: #fff;
            box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.35);
            -webkit-box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.35);
            position: absolute;
            left: 50%;
            top: 45%;
            -moz-transform: translate(-50%, -50%);
            -ms-transform: translate(-50%, -50%);
            -o-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
            -webkit-transform: translate(-50%, -50%);
            padding: 10px;
            min-width: 100px;
            border-radius: 10px;
            width: 80%;
        }
    </style>

</head>
<body style="overflow: hidden;">
<%- include(cocosToolBar, {config: config}) %>
<div id="content" class="content" style="overflow: hidden;">
    <div class="contentWrap">
        <div id="GameDiv" class="wrapper">
            <div id="Cocos3dGameContainer">
                <canvas id="GameCanvas" tabindex="-1"></canvas>
            </div>
            <div id="splash">
                <div class="progress-bar stripes"><span></span></div>
            </div>
            <div id="bulletin">
                <div id="sceneIsEmpty" class="inner"><%= tip_sceneIsEmpty %></div>
            </div>
            <div class="error" id="error">
                <div class="title">Error <i>(Please open the console to see detailed errors)</i></div>
                <div class="error-main"></div>
                <div class="error-stack"></div>
            </div>
        </div>
    </div>
</div>

<%- include(cocosTemplate, {}) %>

<script>
    window.addEventListener("load", function () {
        window.vConsole?.destroy(); // 干掉烦人的vConsole
    });
</script>
</body>
</html>
