import { _ as __nuxt_component_0 } from "./nuxt-link-Ci8vU-Yt.js"; import { defineComponent, ref, unref, withCtx, openBlock, createBlock, createVNode, createTextVNode, toDisplayString, useSSRContext } from "vue"; import { ssrRenderAttrs, ssrInterpolate, ssrRenderComponent, ssrRenderList, ssrRenderClass } from "vue/server-renderer"; import "/app/node_modules/hookable/dist/index.mjs"; import "/app/node_modules/klona/dist/index.mjs"; import { a as useI18n } from "../server.mjs"; import "/app/node_modules/ufo/dist/index.mjs"; import "/app/node_modules/defu/dist/defu.mjs"; import "/app/node_modules/ofetch/dist/node.mjs"; import "#internal/nuxt/paths"; import "/app/node_modules/unctx/dist/index.mjs"; import "/app/node_modules/h3/dist/index.mjs"; import "pinia"; import "vue-router"; import "/app/node_modules/cookie-es/dist/index.mjs"; import "/app/node_modules/destr/dist/index.mjs"; import "/app/node_modules/ohash/dist/index.mjs"; import "/app/node_modules/@unhead/vue/dist/index.mjs"; import "@vue/devtools-api"; const _sfc_main = /* @__PURE__ */ defineComponent({ __name: "index", __ssrInlineRender: true, setup(__props) { const { t } = useI18n(); const loading = ref(true); const error = ref(false); const stats = ref({ total_users: 0, active_season: null, pending_contributions: 0, today_xp: 0 }); const recentLedger = ref([]); const topLeaderboard = ref([]); return (_ctx, _push, _parent, _attrs) => { const _component_NuxtLink = __nuxt_component_0; _push(`
${ssrInterpolate(unref(t)("gamification.dashboard.subtitle"))}
${ssrInterpolate(unref(t)("gamification.dashboard.load_error"))}
${ssrInterpolate(unref(stats).total_users)}
${ssrInterpolate(unref(stats).active_season || unref(t)("gamification.dashboard.none"))}
${ssrInterpolate(unref(stats).pending_contributions)}
${ssrInterpolate(unref(stats).today_xp)}
${ssrInterpolate(entry.reason)}
${ssrInterpolate(entry.created_at)}
${ssrInterpolate(entry.user_name)}
${ssrInterpolate(unref(t)("gamification.dashboard.level"))} ${ssrInterpolate(entry.level)} · ${ssrInterpolate(entry.xp)} ${ssrInterpolate(unref(t)("gamification.dashboard.xp_abbr"))}