1import { c as _export_sfc, ak as useLocalePath, aj as useI18n, ai as useHead, X as openBlock, w as createElementBlock, t as createBaseVNode, a9 as toDisplayString, ab as unref, B as createVNode, ax as withCtx, _ as __nuxt_component_0, O as normalizeClass } from "./Jm_EsK6m.js"; 2const _hoisted_1 = { 3 key: 0, 4 class: "error-message" 5}; 6const _hoisted_2 = { 7 key: 1, 8 class: "error-message" 9}; 10const _sfc_main = { 11 __name: "error", 12 props: { 13 error: { 14 type: Object, 15 required: true 16 } 17 }, 18 setup(__props) { 19 const localePath = useLocalePath(); 20 const { t, locale } = useI18n(); 21 useHead(() => { 22 const isJapanese = locale.value === "ja"; 23 const errorTitle = __props.error.statusCode === 404 ? `${t("chronicles.error.oops")} - Not Found${t("chronicles.seo.suffix")}` : `${t("chronicles.error.oops")} - Error ${__props.error.statusCode}${t("chronicles.seo.suffix")}`; 24 return { 25 title: errorTitle, 26 htmlAttrs: { 27 lang: locale.value 28 }, 29 meta: [ 30 { name: "robots", content: "noindex, nofollow" }, 31 { hid: "description", name: "description", content: t("chronicles.error.404message") } 32 ], 33 link: [ 34 { rel: "stylesheet", href: isJapanese ? "https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100;300;400;500;700&family=Noto+Sans+SC:wght@100;300;400;500;700&display=swap" : "/fonts/others.css" } 35 ] 36 }; 37 }); 38 return (_ctx, _cache) => { 39 const _component_NuxtLink = __nuxt_component_0; 40 return openBlock(), createElementBlock("section", { 41 class: normalizeClass(["error-container", "error-" + __props.error.statusCode]) 42 }, [ 43 __props.error.statusCode === 404 ? (openBlock(), createElementBlock("div", _hoisted_1, [ 44 createBaseVNode("h1", null, toDisplayString(unref(t)("chronicles.error.oops")), 1), 45 createBaseVNode("span", null, toDisplayString(unref(t)("chronicles.error.404message")), 1) 46 ])) : (openBlock(), createElementBlock("div", _hoisted_2, [ 47 createBaseVNode("h1", null, toDisplayString(unref(t)("chronicles.error.oops")), 1), 48 createBaseVNode("span", null, toDisplayString(unref(t)("chronicles.error.500message")), 1) 49 ])), 50 createVNode(_component_NuxtLink, { 51 title: unref(t)("chronicles.error.cta"), 52 class: "returNuxtLink", 53 to: unref(localePath)("/") 54 }, { 55 default: withCtx(() => [ 56 _cache[0] || (_cache[0] = createBaseVNode("span", { class: "line" }, null, -1)), 57 createBaseVNode("span", null, toDisplayString(unref(t)("chronicles.error.cta")), 1) 58 ]), 59 _: 1 60 }, 8, ["title", "to"]) 61 ], 2); 62 }; 63 } 64}; 65const error = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-74d29b86"]]); 66export { 67 error as default 68};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.