import { l as _sfc_main$1, d as _sfc_main$2 } from "./index.292089d9.js";
import { d as defineComponent, af as useRoute, ap as useI18n, a5 as onMounted, D as useHead, A as resolveComponent, o as openBlock, E as createBlock, y as withCtx, m as createBaseVNode, s as createVNode, B as toDisplayString, q as unref, z as createTextVNode } from "./vendor.dd48a589.js";
var ____all__vue_vue_type_style_index_0_lang = "";
function block0(Component) {
  Component.__i18n = Component.__i18n || [];
  Component.__i18n.push({
    "locale": "",
    "resource": {
      "de": {
        "page-title": (ctx) => {
          const { normalize: _normalize } = ctx;
          return _normalize(["Seite nicht gefunden"]);
        },
        "page-heading": (ctx) => {
          const { normalize: _normalize } = ctx;
          return _normalize(["Wir konnten diese Seite nicht finden"]);
        },
        "page-body": (ctx) => {
          const { normalize: _normalize } = ctx;
          return _normalize(["Die Seite konnte nicht gefunden werden. Bitte versuchen Sie es erneut oder wenden Sie sich an einen Administrator, wenn das Problem weiterhin besteht."]);
        },
        "back-button": (ctx) => {
          const { normalize: _normalize } = ctx;
          return _normalize(["Bringen Sie mich zur\xFCck"]);
        }
      },
      "en": {
        "page-title": (ctx) => {
          const { normalize: _normalize } = ctx;
          return _normalize(["Page not found"]);
        },
        "page-heading": (ctx) => {
          const { normalize: _normalize } = ctx;
          return _normalize(["We couldn't find that page"]);
        },
        "page-body": (ctx) => {
          const { normalize: _normalize } = ctx;
          return _normalize(["Looks like we couldn't find that page. Please try again or contact an administrator if the problem persists."]);
        },
        "back-button": (ctx) => {
          const { normalize: _normalize } = ctx;
          return _normalize(["Take me Back"]);
        }
      },
      "es-MX": {
        "page-title": (ctx) => {
          const { normalize: _normalize } = ctx;
          return _normalize(["P\xE1gina no encontrada"]);
        },
        "page-heading": (ctx) => {
          const { normalize: _normalize } = ctx;
          return _normalize(["No hemos podido encontrar esa p\xE1gina"]);
        },
        "page-body": (ctx) => {
          const { normalize: _normalize } = ctx;
          return _normalize(["Parece que no hemos podido encontrar esa p\xE1gina. Por favor, int\xE9ntalo de nuevo o contacta con un administrador si el problema persiste."]);
        },
        "back-button": (ctx) => {
          const { normalize: _normalize } = ctx;
          return _normalize(["Ll\xE9vame de vuelta"]);
        }
      },
      "es": {
        "page-title": (ctx) => {
          const { normalize: _normalize } = ctx;
          return _normalize(["P\xE1gina no encontrada"]);
        },
        "page-heading": (ctx) => {
          const { normalize: _normalize } = ctx;
          return _normalize(["No hemos podido encontrar esa p\xE1gina"]);
        },
        "page-body": (ctx) => {
          const { normalize: _normalize } = ctx;
          return _normalize(["Parece que no hemos podido encontrar esa p\xE1gina. Por favor, int\xE9ntalo de nuevo o contacta con un administrador si el problema persiste."]);
        },
        "back-button": (ctx) => {
          const { normalize: _normalize } = ctx;
          return _normalize(["Ll\xE9vame de vuelta"]);
        }
      },
      "fr": {
        "page-title": (ctx) => {
          const { normalize: _normalize } = ctx;
          return _normalize(["Page introuvable"]);
        },
        "page-heading": (ctx) => {
          const { normalize: _normalize } = ctx;
          return _normalize(["Cette page n'a pas \xE9t\xE9 trouv\xE9e"]);
        },
        "page-body": (ctx) => {
          const { normalize: _normalize } = ctx;
          return _normalize(["Il semble que nous n'ayons pas trouv\xE9 cette page. Veuillez r\xE9essayer ou contacter un administrateur si le probl\xE8me persiste."]);
        },
        "back-button": (ctx) => {
          const { normalize: _normalize } = ctx;
          return _normalize(["Ramenez-moi en arri\xE8re"]);
        }
      },
      "zh-CN": {
        "page-title": (ctx) => {
          const { normalize: _normalize } = ctx;
          return _normalize(["\u672A\u627E\u5230\u9875\u9762"]);
        },
        "page-heading": (ctx) => {
          const { normalize: _normalize } = ctx;
          return _normalize(["\u6211\u4EEC\u627E\u4E0D\u5230\u8FD9\u4E2A\u9875\u9762"]);
        },
        "page-body": (ctx) => {
          const { normalize: _normalize } = ctx;
          return _normalize(["\u770B\u8D77\u6765\u6211\u4EEC\u627E\u4E0D\u5230\u8FD9\u4E2A\u9875\u9762\u3002\u5982\u679C\u95EE\u9898\u4ECD\u7136\u5B58\u5728\uFF0C\u8BF7\u518D\u8BD5\u4E00\u6B21\u6216\u8054\u7CFB\u7BA1\u7406\u5458\u3002"]);
        },
        "back-button": (ctx) => {
          const { normalize: _normalize } = ctx;
          return _normalize(["\u5E26\u6211\u56DE\u53BB"]);
        }
      }
    }
  });
}
const _hoisted_1 = { class: "error-container" };
const _hoisted_2 = { class: "error-wrapper" };
const _hoisted_3 = { class: "error-inner has-text-centered" };
const _hoisted_4 = /* @__PURE__ */ createBaseVNode("div", { class: "bg-number" }, "404", -1);
const _hoisted_5 = { class: "button-wrap" };
const _sfc_main = /* @__PURE__ */ defineComponent({
  setup(__props) {
    const route = useRoute();
    const { t } = useI18n();
    onMounted(() => {
      if (!route.path.startsWith("/404")) {
        window.location.href = `/404${route.fullPath}`;
      }
    });
    useHead({
      title: `${t("page-title")} - Vuero`,
      meta: [
        {
          name: "robots",
          content: "noindex"
        }
      ]
    });
    return (_ctx, _cache) => {
      const _component_SVGErrorPlaceholder = resolveComponent("SVGErrorPlaceholder");
      const _component_VButton = _sfc_main$2;
      const _component_LandingLayout = _sfc_main$1;
      return openBlock(), createBlock(_component_LandingLayout, { theme: "light" }, {
        default: withCtx(() => [
          createBaseVNode("div", _hoisted_1, [
            createBaseVNode("div", _hoisted_2, [
              createBaseVNode("div", _hoisted_3, [
                _hoisted_4,
                createVNode(_component_SVGErrorPlaceholder),
                createBaseVNode("h3", null, toDisplayString(unref(t)("page-heading")), 1),
                createBaseVNode("p", null, toDisplayString(unref(t)("page-body")), 1),
                createBaseVNode("div", _hoisted_5, [
                  createVNode(_component_VButton, {
                    color: "primary",
                    elevated: "",
                    to: { name: "index" }
                  }, {
                    default: withCtx(() => [
                      createTextVNode(toDisplayString(unref(t)("back-button")), 1)
                    ]),
                    _: 1
                  })
                ])
              ])
            ])
          ])
        ]),
        _: 1
      });
    };
  }
});
if (typeof block0 === "function")
  block0(_sfc_main);
export { _sfc_main as default };
