try{let e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`656c1a33-d299-4eaa-9492-1577ec7b3f6f`,e._sentryDebugIdIdentifier=`sentry-dbid-656c1a33-d299-4eaa-9492-1577ec7b3f6f`)}catch{}import"./rolldown-runtime-nx40z1zs.js";import{Ag as e,Oi as t,Qh as n,Zm as r,_r as i,ng as a,op as o}from"./entry.client-mpghtlrl.js";import{t as s}from"./guideRouterEnvironmentHooks-h2xlfina.js";import{t as c}from"./GuidePageLayout-eh7novzv.js";import{t as l}from"./GuideL2Header-a2pogkf0.js";import{t as u}from"./BaseAchievementsList-m15u5sjj.js";import{t as d}from"./useJumpStrings-d9pk8ps8.js";var f=e(),p=a(),m=i(({...e})=>(0,p.jsx)(u,{...e,isRecentAchievements:!0,isUnlockedAchievements:!1}),()=>{let{achievements:e}=r(),{data:t,isPending:i}=n(e.queries.recentAchievements.getActiveUserQuery().getOptions()),a=s();return{items:t,isPending:i,onAchievementClick:(e,t)=>{a({to:o.dialog.guide.jump.achievementDetail.fullPath,params:{titleId:t,achievementId:e}})}}}),h=()=>{let e=(0,f.c)(2),t=m.useComponent(),n;return e[0]===t?n=e[1]:(n=(0,p.jsx)(t,{}),e[0]=t,e[1]=n),n},g=t(()=>{let{locRecentAchievements:e}=d();return(0,p.jsx)(c,{id:`guide-recent-achievements-page`,header:(0,p.jsx)(l,{title:e()}),children:(0,p.jsx)(h,{})})},`RecentAchievementsPage`);export{g as RecentAchievementsPage,g as default};