<!doctype html>
<html>
  <head>
    <meta charset="UTF-8" />
    <title>Oneon App Admin</title>


  <script type="module" src="/webapp/assets/main-Dy8hLEeH.js"></script>

  <script type="module" src="/webapp/assets/@react-mui-vendor-CtkYv5FF.js"></script>

  <script type="module" src="/webapp/assets/@react-etc-vendor-_v-J6aGd.js"></script>


  <link rel="stylesheet" href="/webapp/assets/css/main-tlTOtyLY.css" />


    <style>
      #maintenance-message {
        display: none;
        height: 100vh;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 0px 40px;
        font-size: 1.2em;
      }
      #maintenance-message .title {
        font-size: 32px;
        margin: 20px;
      }
      #maintenance-message .sub-title {
        font-size: 20px;
        line-height: 150%;
        font-weight: 500;
        margin: 20px;
      }
    </style>
    <script>
      const handleClick = async () => {
        try {
          await fetch("/api/vite/refresh-manifest", {
            method: "POST",
          });

          window.location.href = "/login";
        } catch (error) {
          console.error(error);
        }
      };
    </script>
  </head>
  <body>
    <div id="root"></div>
    <div id="maintenance-message" data-nosnippet>
      <div>
        <h1 class="title">서비스 점검중</h1>
        <h2 class="sub-title">
          서비스 이용에 불편을 드린점 양해 부탁드립니다. <br />
          점검 후 더욱 좋은 서비스로 찾아뵙겠습니다.
        </h2>
        <button onclick="handleClick()" style="background: #000; color: #fff; padding: 12px 22px; border-radius: 30px; font-size: 16px; cursor: pointer">
          홈 바로가기
        </button>
      </div>
    </div>
    <script>
      window.addEventListener(
        "error",
        function (e) {
          if (e.target.tagName === "SCRIPT" && e.target.src.includes("main")) {
            document.getElementById("root").style.display = "none";
            document.getElementById("maintenance-message").style.display = "flex";
          }
        },
        true,
      );
    </script>
  </body>
</html>
