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]=`2dbebbef-74c8-4380-9662-bb94b012f930`,e._sentryDebugIdIdentifier=`sentry-dbid-2dbebbef-74c8-4380-9662-bb94b012f930`)}catch{}import"./rolldown-runtime-eb2nym32.js";import{Ag as e,Dg as t,Fg as n,dn as r,mr as i,sh as a,zp as o}from"./entry.client-dr7r6s9a.js";import{t as s}from"./guideRouterEnvironmentHooks-gdtmgzra.js";import{t as c}from"./GuidePageLayout-imh16gdu.js";import{t as l}from"./GuideL2Header-b90pi17a.js";import{t as u}from"./BaseAchievementsList-jhwx0hqv.js";import{t as d}from"./useJumpStrings-kzg010sg.js";var f=n(),p=e(),m=r(({...e})=>(0,p.jsx)(u,{...e,isRecentAchievements:!0,isUnlockedAchievements:!1}),()=>{let{achievements:e}=a(),{data:n,isPending:r}=t(e.queries.recentAchievements.getActiveUserQuery().getOptions()),i=s();return{items:n,isPending:r,onAchievementClick:(e,t)=>{i({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=i(()=>{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};