MathJax.startup.defaultReady(); } }
            };
        </script>
        <script type="text/javascript" id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>

        <script>
            var g_mermaid = null;
            var chat_container = document.getElementById('#chat-container');
            var ai_container = null;
            var toggleButton = null;
            var thoughtContainer = null;
            var is_thinking = false;
            var g_tho