PageSourceSearch

https://mindstrongapp.web.app/_next/static/chunks/pages/profile/co…/AchievementsGrid-588045626ada03e7.js

js mindstrongapp.web.app collected 2026-10-03 12:31:29 UTC 2,687 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="e2e7c797-b2a5-479b-9570-c06cea3ab845",e._sentryDebugIdIdentifier="sentry-dbid-e2e7c797-b2a5-479b-9570-c06cea3ab845")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4614],{84822:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/profile/components/AchievementsGrid",function(){return t(27898)}])},27898:function(e,n,t){"use strict";t.r(n);var i=t(85893),o=t(67294),r=t(11163),l=t(14440),s=t(94246),c=t(80158),d=t(8658),a=t(3817),u=t(67748),f=t(13674),p=t(52782);n.default=e=>{var n,t,g;let{defs:h,earned:x,streakEnabled:E}=e,b=(0,f.lh)(),m=(0,c.CG)(e=>e.config),_=(0,r.useRouter)(),{i18n:C,language:y}=m,[I,w]=(0,o.useState)(null),v=x.map(e=>e.id),j=h.filter(e=>!e.isArchived&&(E||"streak"!==e.type)),k=e=>{let n=v.indexOf(e.documentId);return -1===n?v.length:n},N=[...j].sort((e,n)=>k(e)-k(n)).slice(0,6);if(0===N.length)return null;let A=(0,d.i0)({i18nDocs:C,language:y,text:(null===(g=m.design)||void 0===g?void 0:null===(t=g.profile_page)||void 0===t?void 0:null===(n=t.achievement_widget)||void 0===n?void 0:n.title)||"Achievements"}),T=e=>{(0,a.qw)(u.jH.ACHIEVEMENT_DETAILS_OPENED,{[u.jg.ACHIEVEMENT_NAME]:e.name,[u.jg.ACHIEVEMENT_ID]:e.documentId,[u.jg.ACHIEVEMENT_TYPE]:e.type}),w(e)},Z=e=>v.includes(e.documentId);return(0,i.jsxs)(l.Z,{children:[(0,i.jsxs)(l.Z,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between",mb:1},children:[(0,i.jsx)(s.Z,{sx:{color:b.textColor,fontSize:20,fontWeight:600},children:A}),(0,i.jsx)(s.Z,{onClick:()=>_.push(u.Z6.ACHIEVEMENTS),sx:{color:b.primaryColor,fontSize:15,fontWeight:500,cursor:"pointer"},children:(0,d.i0)({i18nDocs:C,language:y,text:"View all"})})]}),(0,i.jsx)(l.Z,{sx:{backgroundColor:b.cardBackgroundColor,borderRadius:"24px",p:2,display:"grid",gridTemplateColumns:"repeat(3, 1fr)",gap:2},children:N.map(e=>(0,i.jsxs)(l.Z,{onClick:()=>T(e),sx:{display:"flex",flexDirection:"column",alignItems:"center",gap:1.5,cursor:"pointer"},children:[(0,i.jsx)(l.Z,{component:"img",src:e.icon,alt:e.name,sx:{width:80,height:80,objectFit:"contain",filter:Z(e)?"none":"grayscale(1)"}}),(0,i.jsx)(s.Z,{sx:{color:b.textColor,fontSize:13,fontWeight:500,textAlign:"center",display:"-webkit-box",WebkitLineClamp:2,WebkitBoxOrient:"vertical",overflow:"hidden"},children:(0,d.i0)({i18nDocs:C,language:y,text:e.name})})]},e.documentId))}),(0,i.jsx)(p.h,{achievement:I,isUnlocked:!!I&&Z(I),onClose:()=>w(null)})]})}}},function(e){e.O(0,[2888,9774,179],function(){return e(e.s=84822)}),_N_E=e.O()}]);

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.