1"use strict";(self.webpackChunkfoodaholix=self.webpackChunkfoodaholix||[]).push([[7626],{1712:function(e,t,n){n.d(t,{A7:function(){return be},B5:function(){return L},Bz:function(){return ye},Cy:function(){return Q},Di:function(){return pe},FG:function(){return ie},Fe:function(){return Xe},G5:function(){return V},HH:function(){return Ce},Hg:function(){return Fe},ID:function(){return re},IW:function(){return te},It:function(){return O},KA:function(){return Z},KE:function(){return B},KQ:function(){return _e},Kb:function(){return Ve},Kk:function(){return oe},LN:function(){return _},LS:function(){return ae},Lu:function(){return Te},MB:function(){return Ie},NV:function(){return G},Nd:function(){return Le},OB:function(){return j},OR:function(){return k},Oe:function(){return R},Os:function(){return le},Pd:function(){return I},Q1:function(){return fe},QA:function(){return Y},Rh:function(){return ce},Ro:function(){return ve},Rp:function(){return Re},SV:function(){return ee},Vt:function(){return Se},YX:function(){return q},_x:function(){return X},a3:function(){return z},aW:function(){return A},ab:function(){return We},af:function(){return Qe},dy:function(){return Ue},eu:function(){return H},fB:function(){return ke},fO:function(){return N},fi:function(){return De},i7:function(){return ze},kC:function(){return Ae},kY:function(){return Me},kf:function(){return P},mG:function(){return qe},nU:function(){return ue},ns:function(){return he},oK:function(){return Ye},oL:function(){return je},oQ:function(){return Ke},oh:function(){return K},qR:function(){return ge},qS:function(){return U},rd:function(){return ne},rm:function(){return xe},s:function(){return M},sr:function(){return S},uY:function(){return de},v0:function(){return me},v3:function(){return Oe},vC:function(){return J},vJ:function(){return Pe},vs:function(){return Ge},wP:function(){return He},xC:function(){return we},xE:function(){return Ee},xG:function(){return W},xi:function(){return T},y$:function(){return $e},y0:function(){return $},yG:function(){return Be},yN:function(){return se},zb:function(){return Ne}});var i=n(7581);const r="#6CB132",o="#5a9629",a="#4a7d1f",u="#F1A73C",d="#e89620",s="#FFD700",l="#FFA500",m="#b8860b",c="#C0C0C0",p="#808080",g="#696969",f="#CD7F32",D="#8B4513",h="#f59e0b",y="#d97706",x="#1a1a2e",b="#64718A",w="#9ca3af",E="#e5e7eb",C="#f5f7fa",F="#e8edf4",v="#e74c3c",_=i.default.div.withConfig({displayName:"styles__PageContainer",componentId:"sc-jyyhec-0"})(["min-height:100vh;background:linear-gradient(135deg,"," 0%,"," 100%);padding-bottom:4rem;"],C,F),B=i.default.section.withConfig({displayName:"styles__HeroSection",componentId:"sc-jyyhec-1"})(["padding:1.5rem 1rem;text-align:center;background:linear-gradient(135deg,"," 0%,"," 100%);position:relative;overflow:hidden;&::before{content:'';position:absolute;width:200px;height:200px;background:rgba(255,255,255,0.15);border-radius:50%;top:-50px;right:-50px;}&::after{content:'';position:absolute;width:150px;height:150px;background:rgba(255,255,255,0.1);border-radius:50%;bottom:-30px;left:-30px;}@media (max-width:768px){padding:1rem 0.5rem;}"],r,o),A=i.default.div.withConfig({displayName:"styles__TitleWrapper",componentId:"sc-jyyhec-2"})(["position:relative;z-index:2;"]),k=i.default.div.withConfig({displayName:"styles__TrophyIcon",componentId:"sc-jyyhec-3"})(["font-size:2.5rem;margin-bottom:0.5rem;animation:bounce 2s ease-in-out infinite;@keyframes bounce{0%,100%{transform:translateY(0);}50%{transform:translateY(-10px);}}@media (max-width:768px){font-size:2rem;}"]),j=i.default.h1.withConfig({displayName:"styles__MainTitle",componentId:"sc-jyyhec-4"})(["font-size:2.5rem;font-weight:800;color:white;margin-bottom:0.5rem;@media (max-width:768px){font-size:1.75rem;}"]),I=i.default.p.withConfig({displayName:"styles__Subtitle",componentId:"sc-jyyhec-5"})(["font-size:1rem;color:rgba(255,255,255,0.9);max-width:600px;margin:0 auto;@media (max-width:768px){font-size:0.875rem;}"]),z=i.default.div.withConfig({displayName:"styles__LoadingWrapper",componentId:"sc-jyyhec-6"})(["display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:300px;color:",";"],x),N=i.default.div.withConfig({displayName:"styles__Spinner",componentId:"sc-jyyhec-7"})(["width:50px;height:50px;border:4px solid rgba(108,177,50,0.2);border-top-color:",";border-radius:50%;animation:spin 1s linear infinite;@keyframes spin{to{transform:rotate(360deg);}}"],r),S=i.default.div.withConfig({displayName:"styles__ErrorWrapper",componentId:"sc-jyyhec-8"})(["display:flex;justify-content:center;align-items:center;min-height:300px;color:",";font-size:1.125rem;"],v),Y=i.default.div.withConfig({displayName:"styles__MobilePodiumContainer",componentId:"sc-jyyhec-9"})(["display:none;@media (max-width:968px){display:block;padding:1rem;margin-top:-2rem;position:relative;z-index:10;}.podium-display{display:flex;align-items:flex-end;justify-content:center;gap:0.5rem;margin-bottom:1rem;}.podium-item{flex:1;max-width:110px;cursor:pointer;transition:opacity 0.2s,transform 0.3s ease;animation:popIn 0.6s cubic-bezier(0.34,1.56,0.64,1) forwards;opacity:0;transform:scale(0.3) translateY(50px);&:active{opacity:0.7;}&.first{max-width:130px;animation-delay:0s;.profile-image-wrapper{animation-delay:0.3s;}}&.second{animation-delay:0.15s;.profile-image-wrapper{animation-delay:0.45s;}}&.third{animation-delay:0.3s;.profile-image-wrapper{animation-delay:0.6s;}}@keyframes popIn{0%{opacity:0;transform:scale(0.3) translateY(50px);}60%{opacity:1;transform:scale(1.1) translateY(-10px);}100%{opacity:1;transform:scale(1) translateY(0);}}}.crown{display:block;text-align:center;font-size:1.5rem;margin-bottom:-0.5rem;position:relative;z-index:1;animation:crownFloat 3s ease-in-out infinite,crownBounce 0.8s ease-out;animation-delay:0s,0.3s;@keyframes crownFloat{0%,100%{transform:translateY(0) rotate(-3deg);}50%{transform:translateY(-8px) rotate(3deg);}}@keyframes crownBounce{0%{opacity:0;transform:scale(0) rotate(-180deg);}60%{transform:scale(1.3) rotate(10deg);}100%{opacity:1;transform:scale(1) rotate(0deg);}}}.podium-card{background:white;border-radius:0.75rem 0.75rem 0 0;padding:0.75rem;text-align:center;box-shadow:0 4px 10px rgba(0,0,0,0.1);border:1px solid ",";&.gold{border:2px solid #fbbf24;padding-top:1rem;}.profile-image-wrapper{width:4rem;height:4rem;margin:0 auto 0.5rem;animation:zoomIn 0.5s cubic-bezier(0.34,1.56,0.64,1) forwards;opacity:0;position:relative;}@keyframes zoomIn{0%{opacity:0;transform:scale(0);}100%{opacity:1;transform:scale(1);}}.profile-image-skeleton{position:absolute;width:100%;height:100%;border-radius:50%;
1background:linear-gradient( 90deg,#f0f0f0 0%,#e0e0e0 20%,#f0f0f0 40%,#f0f0f0 100% );background-size:200% 100%;animation:shimmer 1.5s ease-in-out infinite;z-index:1;@keyframes shimmer{0%{background-position:200% 0;}100%{background-position:-200% 0;}}}.profile-image{width:100%;height:100%;border-radius:50%;object-fit:cover;border:2px solid ",";animation:pulse 2s ease-in-out infinite;opacity:0;transition:opacity 0.3s ease-in-out;position:relative;z-index:2;}@keyframes pulse{0%,100%{box-shadow:0 0 0 0 rgba(108,177,50,0.4);}50%{box-shadow:0 0 0 8px rgba(108,177,50,0);}}.profile-image-placeholder{width:100%;height:100%;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:1.5rem;font-weight:700;color:white;background:linear-gradient(135deg,"," 0%,"," 100%);border:2px solid ",";animation:pulse 2s ease-in-out infinite;&.gold{border-color:#fbbf24;animation:goldPulse 2s ease-in-out infinite;@keyframes goldPulse{0%,100%{box-shadow:0 0 0 0 rgba(251,191,36,0.6);}50%{box-shadow:0 0 0 8px rgba(251,191,36,0);}}}&.silver{border-color:#d1d5db;animation:silverPulse 2s ease-in-out infinite;@keyframes silverPulse{0%,100%{box-shadow:0 0 0 0 rgba(209,213,219,0.6);}50%{box-shadow:0 0 0 8px rgba(209,213,219,0);}}}&.bronze{border-color:",";animation:bronzePulse 2s ease-in-out infinite;@keyframes bronzePulse{0%,100%{box-shadow:0 0 0 0 rgba(245,158,11,0.6);}50%{box-shadow:0 0 0 8px rgba(245,158,11,0);}}}}.username{font-size:0.75rem;font-weight:700;color:#1f2937;margin-bottom:0.25rem;word-break:break-word;}.city{font-size:0.625rem;color:#6b7280;margin-bottom:0.375rem;display:flex;align-items:center;justify-content:center;gap:0.25rem;svg{width:0.625rem;height:0.625rem;}}.stats-row{display:flex;gap:0.5rem;justify-content:center;margin-top:0.25rem;}.stat-item{display:flex;flex-direction:column;align-items:center;gap:0.125rem;}.stat-value{font-size:0.75rem;font-weight:700;color:#1f2937;display:flex;align-items:center;gap:0.25rem;svg{width:0.65rem;height:0.65rem;color:",";}}.stat-label{font-size:0.5rem;color:",";text-transform:uppercase;letter-spacing:0.025em;font-weight:600;}}.podium-base{height:3rem;display:flex;align-items:center;justify-content:center;border-radius:0 0 0.5rem 0.5rem;box-shadow:0 4px 10px rgba(0,0,0,0.15);span{color:white;font-weight:700;font-size:1rem;line-height:1;}.base-icon{color:white;width:30%;height:30%;flex-shrink:0;line-height:1;}&.gold-base{background:linear-gradient(135deg,#fbbf24 0%,"," 100%);height:5rem;}&.silver-base{background:linear-gradient(135deg,#d1d5db 0%,"," 100%);height:3.5rem;}&.bronze-base{background:linear-gradient(135deg,"," 0%,"," 100%);height:2.5rem;.base-icon{width:40%;height:40%;}}}.tap-hint{text-align:center;font-size:0.75rem;color:",";margin-bottom:1rem;}.compact-list{background:white;border-radius:0.75rem;box-shadow:0 2px 8px rgba(0,0,0,0.08);border:1px solid ",";overflow:hidden;}.compact-item{display:flex;align-items:center;gap:0.75rem;padding:0.75rem;border-bottom:1px solid #f3f4f6;cursor:pointer;transition:background-color 0.2s;&:last-child{border-bottom:none;}&:active{background-color:#f9fafb;}.rank-badge{width:2rem;height:2rem;border-radius:50%;background:#f3f4f6;display:flex;align-items:center;justify-content:center;flex-shrink:0;span{font-size:0.75rem;font-weight:700;color:#7c3aed;}}.user-info{flex:1;min-width:0;.username{font-size:0.875rem;font-weight:600;color:#1f2937;margin-bottom:0.25rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.stats{display:flex;align-items:center;gap:0.75rem;font-size:0.75rem;color:#6b7280;.stat{display:flex;align-items:center;gap:0.25rem;white-space:nowrap;&.city{color:",";}}.star-icon{color:#fbbf24;width:0.75rem;height:0.75rem;}svg{width:0.75rem;height:0.75rem;}}}.arrow{flex-shrink:0;color:#d1d5db;svg{width:0.75rem;height:0.75rem;}}}"],E,E,r,o,E,h,h,w,h,w,h,y,w,E,w),q=i.default.section.withConfig({displayName:"styles__PodiumSection",componentId:"sc-jyyhec-10"})(["max-width:1200px;margin:-2rem auto 3rem;padding:0 1rem;position:relative;z-index:10;@media (max-width:968px){display:none;}"]),O=i.default.div.withConfig({displayName:"styles__PodiumContainer",componentId:"sc-jyyhec-11"})(["display:flex;justify-content:center;align-items:flex-end;
1gap:2rem;flex-wrap:wrap;"]),P=i.default.div.withConfig({displayName:"styles__PodiumPlace",componentId:"sc-jyyhec-12"})(["display:flex;flex-direction:column;align-items:center;animation:slideUp 0.6s ease-out forwards;animation-delay:","s;opacity:0;@keyframes slideUp{to{opacity:1;transform:translateY(0);}from{opacity:0;transform:translateY(30px);}}&.first{order:2;}&.second{order:1;margin-top:3rem;}&.third{order:3;margin-top:4rem;}"],e=>e.$delay),R=i.default.div.withConfig({displayName:"styles__Crown",componentId:"sc-jyyhec-13"})(["font-size:2.5rem;margin-bottom:-0.75rem;animation:float 3s ease-in-out infinite;@keyframes float{0%,100%{transform:translateY(0) rotate(-5deg);}50%{transform:translateY(-10px) rotate(5deg);}}"]),T=i.default.div.withConfig({displayName:"styles__PlaceNumber",componentId:"sc-jyyhec-14"})(["font-size:1rem;font-weight:700;padding:0.5rem 1.25rem;border-radius:2rem;margin-bottom:0.75rem;display:flex;align-items:center;gap:0.5rem;color:white;&.gold{background:linear-gradient(135deg,"," 0%,"," 100%);box-shadow:0 6px 16px rgba(255,215,0,0.4);}&.silver{background:linear-gradient(135deg,"," 0%,"," 100%);box-shadow:0 6px 16px rgba(192,192,192,0.4);}&.bronze{background:linear-gradient(135deg,"," 0%,"," 100%);box-shadow:0 6px 16px rgba(205,127,50,0.4);}"],s,l,c,p,f,D),L=i.default.div.withConfig({displayName:"styles__PodiumCard",componentId:"sc-jyyhec-15"})(["background:white;border-radius:1.25rem;padding:1.5rem;width:260px;box-shadow:0 8px 30px rgba(0,0,0,0.1);border:3px solid transparent;transition:all 0.3s ease;&:hover{transform:translateY(-5px);box-shadow:0 12px 40px rgba(0,0,0,0.15);}&.gold-card{border-color:",";}&.silver-card{border-color:",";}&.bronze-card{border-color:",";}"],s,c,f),H=i.default.div.withConfig({displayName:"styles__Avatar",componentId:"sc-jyyhec-16"})(["width:70px;height:70px;border-radius:50%;background:linear-gradient(135deg,"," 0%,"," 100%);color:white;display:flex;align-items:center;justify-content:center;font-size:1.75rem;font-weight:700;margin:0 auto 0.75rem;border:4px solid transparent;&.gold-border{border-color:",";}&.silver-border{border-color:",";}&.bronze-border{border-color:",";}"],r,o,s,c,f),G=i.default.h3.withConfig({displayName:"styles__UserName",componentId:"sc-jyyhec-17"})(["font-size:1.25rem;font-weight:700;color:",";text-align:center;margin-bottom:0.25rem;word-break:break-word;&.champion{background:linear-gradient(135deg,"," 0%,"," 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;}"],x,s,l),U=i.default.div.withConfig({displayName:"styles__CityLabel",componentId:"sc-jyyhec-18"})(["font-size:0.8rem;color:",";text-align:center;margin-bottom:0.5rem;display:flex;align-items:center;justify-content:center;gap:0.25rem;svg{width:0.75rem;height:0.75rem;}"],b),W=i.default.div.withConfig({displayName:"styles__ChampionBadge",componentId:"sc-jyyhec-19"})(["background:linear-gradient(135deg,"," 0%,"," 100%);color:white;padding:0.4rem 0.75rem;border-radius:0.75rem;font-size:0.8rem;font-weight:600;text-align:center;margin-bottom:0.75rem;"],s,l),K=i.default.div.withConfig({displayName:"styles__StatsRow",componentId:"sc-jyyhec-20"})(["display:flex;gap:0.5rem;margin-bottom:0.75rem;"]),M=i.default.div.withConfig({displayName:"styles__StatBadge",componentId:"sc-jyyhec-21"})(["flex:1;padding:0.75rem 1rem;border-radius:0.75rem;font-weight:700;display:flex;align-items:center;justify-content:center;gap:0.5rem;font-size:1.1rem;transition:transform 0.2s ease;svg{width:1.25rem;height:1.25rem;}&:hover{transform:translateY(-2px);}&.gold-stat{background:rgba(255,215,0,0.15);color:",";border:2px solid rgba(255,215,0,0.3);}&.silver-stat{background:rgba(192,192,192,0.25);color:",";border:2px solid rgba(192,192,192,0.4);}&.bronze-stat{background:rgba(205,127,50,0.15);color:",";border:2px solid rgba(205,127,50,0.3);}"],m,g,D),$=i.default.div.withConfig({displayName:"styles__ActionsRow",componentId:"sc-jyyhec-22"})(["display:flex;gap:0.5rem;margin-top:1rem;.qr-button,.profile-button{font-size:0.85rem;padding:0.5rem 0.75rem;svg{width:0.875rem;height:0.875rem;}}.profile-button{background:linear-gradient(135deg,"," 0%,"," 100%);color:white;&:hover{background:linear-gradient(135deg,"," 0%,"," 100%);}}"],r,o,o,a),Q=i.default.div.withConfig({displayName:"styles__PodiumBase",componentId:"sc-jyyhec-23"})(["width:260px;padding:1rem;margin-top:0.75rem;border-radius:0.5rem;text-align:center;font-weight:700;font-size:1rem;color:white;&.base-gold{background:linear-gradient(135deg,"," 0%,"," 100%);height:100px;}&.base-silver{background:linear-gradient(135deg,"," 0%,"," 100%);height:70px;}&.base-bronze{background:linear-gradient(135deg,"," 0%,"," 100%);height:50px;}"],s,l,c,p,f,D),V=i.default.section.withConfig({displayName:"styles__RestSection",componentId:"sc-jyyhec-24"})(["max-width:800px;margin:0 auto;padding:0 1rem;"]),X=i.default.h2.withConfig({displayName:"styles__SectionTitle",componentId:"sc-jyyhec-25"})(["font-size:1.75rem;font-weight:700;color:",";text-align:center;margin-bottom:1.5rem;"],x),J=i.default.div.withConfig({displayName:"styles__RestList",componentId:"sc-jyyhec-26"})(["display:flex;flex-direction:column;gap:1rem;
1"]),Z=i.default.div.withConfig({displayName:"styles__RestCard",componentId:"sc-jyyhec-27"})(["background:white;border-radius:1rem;padding:1.5rem;display:grid;grid-template-columns:auto 1fr auto auto;grid-template-rows:auto auto;align-items:center;gap:1.5rem;box-shadow:0 4px 15px rgba(0,0,0,0.08);transition:all 0.3s ease;animation:slideIn 0.4s ease-out forwards;animation-delay:","s;opacity:0;border:2px solid transparent;@keyframes slideIn{to{opacity:1;transform:translateX(0);}from{opacity:0;transform:translateX(-20px);}}&:hover{transform:translateY(-3px);box-shadow:0 8px 25px rgba(108,177,50,0.2);border-color:rgba(108,177,50,0.2);}@media (max-width:768px){grid-template-columns:1fr;grid-template-rows:auto;gap:1rem;padding:1.25rem;}"],e=>e.$delay),ee=i.default.div.withConfig({displayName:"styles__RankSection",componentId:"sc-jyyhec-28"})(["display:flex;align-items:center;justify-content:center;@media (max-width:768px){position:absolute;top:1.25rem;left:1.25rem;}"]),te=i.default.div.withConfig({displayName:"styles__RankBadge",componentId:"sc-jyyhec-29"})(["width:60px;height:60px;border-radius:50%;background:linear-gradient(135deg,"," 0%,"," 100%);color:white;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:1.125rem;flex-shrink:0;box-shadow:0 4px 12px rgba(108,177,50,0.3);position:relative;&::after{content:'';position:absolute;inset:-4px;border-radius:50%;border:2px solid rgba(108,177,50,0.2);}@media (max-width:768px){width:48px;height:48px;font-size:0.95rem;box-shadow:0 3px 8px rgba(108,177,50,0.3);&::after{inset:-3px;border-width:1.5px;}}"],r,o),ne=i.default.div.withConfig({displayName:"styles__ProfileSection",componentId:"sc-jyyhec-30"})(["display:flex;align-items:center;gap:1rem;min-width:0;@media (max-width:768px){position:relative;padding-left:60px;margin-bottom:0.75rem;}"]),ie=i.default.div.withConfig({displayName:"styles__SmallAvatar",componentId:"sc-jyyhec-31"})(["width:56px;height:56px;border-radius:50%;background:linear-gradient(135deg,"," 0%,"," 100%);color:white;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:1.25rem;flex-shrink:0;border:3px solid rgba(108,177,50,0.1);box-shadow:0 2px 8px rgba(108,177,50,0.2);@media (max-width:768px){width:48px;height:48px;font-size:1.125rem;}"],r,o),re=i.default.div.withConfig({displayName:"styles__UserDetails",componentId:"sc-jyyhec-32"})(["display:flex;flex-direction:column;gap:0.25rem;min-width:0;"]),oe=i.default.div.withConfig({displayName:"styles__UserNameSmall",componentId:"sc-jyyhec-33"})(["font-weight:600;color:",";font-size:1.05rem;word-break:break-word;@media (max-width:768px){font-size:0.95rem;}"],x),ae=i.default.div.withConfig({displayName:"styles__CityLabelSmall",componentId:"sc-jyyhec-34"})(["font-size:0.75rem;color:",";display:flex;align-items:center;gap:0.25rem;svg{width:0.75rem;height:0.75rem;}"],b),ue=i.default.div.withConfig({displayName:"styles__StatsSection",componentId:"sc-jyyhec-35"})(["display:flex;gap:1.5rem;padding:0 1rem;border-left:2px solid #f0f0f0;@media (max-width:768px){border-left:none;padding:0.75rem 0;gap:2rem;justify-content:center;border-top:1px solid #f0f0f0;border-bottom:1px solid #f0f0f0;}"]),de=i.default.div.withConfig({displayName:"styles__StatItem",componentId:"sc-jyyhec-36"})(["display:flex;align-items:center;gap:0.5rem;@media (max-width:768px){flex-direction:column;align-items:center;gap:0.25rem;}"]),se=i.default.div.withConfig({displayName:"styles__StatIcon",componentId:"sc-jyyhec-37"})(["width:32px;height:32px;border-radius:0.5rem;display:flex;align-items:center;justify-content:center;flex-shrink:0;svg{width:16px;height:16px;}&.points{background:linear-gradient(135deg,#FFF3CD 0%,#FFE69C 100%);color:",";}&.badges{background:linear-gradient(135deg,#E0E7FF 0%,#C7D2FE 100%);color:",";}@media (max-width:768px){width:28px;height:28px;svg{width:14px;height:14px;}}"],h,r),le=i.default.div.withConfig({displayName:"styles__StatValue",componentId:"sc-jyyhec-38"})(["font-size:1.125rem;font-weight:700;color:",";@media (max-width:768px){font-size:1rem;}"],x),me=i.default.div.withConfig({displayName:"styles__StatLabel",componentId:"sc-jyyhec-39"})(["font-size:0.75rem;color:",";font-weight:500;text-transform:uppercase;letter-spacing:0.5px;@media (max-width:768px){font-size:0.65rem;}"],b),ce=i.default.div.withConfig({displayName:"styles__SmallActions",componentId:"sc-jyyhec-40"})(["display:flex;gap:0.5rem;.button-text{display:none;}.qr-icon-button{svg{width:1rem;height:1rem;}}@media (max-width:768px){gap:0.75rem;padding-top:0.75rem;.button-text{display:inline;}button,a{flex:1;min-width:0;justify-content:center;padding:0.65rem 1rem !important;font-size:0.875rem;font-weight:500;border-radius:0.5rem !important;transition:all 0.2s;height:auto !important;width:auto !important;}.qr-button-mobile{background:white !important;border:1.5px solid #d1d5db !important;color:#374151 !important;display:flex;align-items:center;gap:0.5rem;&:hover{background:#f9fafb !important;border-color:"," !important;color:"," !important;}svg{width:1rem;height:1rem;}}.profile-button-mobile{background:linear-gradient(135deg,"," 0%,"," 100%) !important;color:white !important;border:none !important;display:flex;align-items:center;gap:0.5rem;&:hover{background:linear-gradient(135deg,"," 0%,"," 100%) !important;}svg{width:1rem;height:1rem;}}}"],r,r,r,o,o,a),pe=(i.default.section.withConfig({displayName:"styles__CTASection",componentId:"sc-jyyhec-41"})(["max-width:600px;margin:3rem auto;padding:0 1rem;"]),i.default.div.withConfig({displayName:"styles__CTACard",componentId:"sc-jyyhec-42"})(["background:linear-gradient(135deg,"," 0%,"," 100%);border-radius:1.5rem;padding:2.5rem 2rem;text-align:center;box-shadow:0 15px 50px rgba(108,177,50,0.3);"],r,o),i.default.h2.withConfig({displayName:"styles__CTATitle",componentId:"sc-jyyhec-43"})(["font-size:2rem;font-weight:800;color:white;margin-bottom:0.75rem;"]),i.default.p.withConfig({displayName:"styles__CTAText",componentId:"sc-jyyhec-44"})(["font-size:1.125rem;color:rgba(255,255,255,0.9);margin-bottom:0;"]),i.default.section.withConfig({displayName:"styles__BadgeSection",componentId:"sc-jyyhec-45"})(["max-width:1200px;margin:3rem auto;padding:0 1rem;@media (max-width:768px){margin:2rem auto;padding:0 0.75rem;}"])),ge=i.default.div.withConfig({displayName:"styles__BadgeSectionHeader",componentId:"sc-jyyhec-46"})(["text-align:center;padding:1rem 1rem;background:linear-gradient(135deg,"," 0%,"," 100%);border-radius:1.5rem;margin-bottom:2rem;position:relative;overflow:hidden;&::before{content:'';position:absolute;width:300px;height:300px;background:rgba(255,255,255,0.15);border-radius:50%;top:-100px;right:-100px;}&::after{content:'';position:absolute;
1width:200px;height:200px;background:rgba(255,255,255,0.1);border-radius:50%;bottom:-50px;left:-50px;}@media (max-width:768px){padding:2rem 1rem;margin-bottom:1.5rem;}"],u,d),fe=i.default.div.withConfig({displayName:"styles__BadgeHeaderIcon",componentId:"sc-jyyhec-47"})(["font-size:2.5rem;margin-bottom:0.5rem;position:relative;z-index:2;@media (max-width:768px){font-size:2rem;}"]),De=i.default.h2.withConfig({displayName:"styles__BadgeSectionTitle",componentId:"sc-jyyhec-48"})(["font-size:2rem;font-weight:800;color:white;margin-bottom:0.5rem;position:relative;z-index:2;@media (max-width:768px){font-size:1.5rem;}"]),he=i.default.p.withConfig({displayName:"styles__BadgeSectionSubtitle",componentId:"sc-jyyhec-49"})(["font-size:1rem;color:rgba(255,255,255,0.9);max-width:600px;margin:0 auto;position:relative;z-index:2;@media (max-width:768px){font-size:0.875rem;}"]),ye=i.default.div.withConfig({displayName:"styles__BadgeCategoriesContainer",componentId:"sc-jyyhec-50"})(["display:flex;flex-direction:column;gap:1.5rem;"]),xe=i.default.div.withConfig({displayName:"styles__CategoryCard",componentId:"sc-jyyhec-51"})(["background:white;border-radius:1.25rem;box-shadow:0 4px 12px rgba(0,0,0,0.06);border:1px solid ",";transition:box-shadow 0.3s ease;overflow:hidden;&:hover{box-shadow:0 8px 24px rgba(0,0,0,0.1);}"],E),be=i.default.div.withConfig({displayName:"styles__CategoryHeader",componentId:"sc-jyyhec-52"})(["padding:1.25rem 1.5rem;cursor:pointer;display:flex;align-items:center;justify-content:space-between;transition:background-color 0.2s ease;&:hover{background-color:#f9fafb;}@media (max-width:768px){padding:1rem;}"]),we=i.default.div.withConfig({displayName:"styles__CategoryHeaderLeft",componentId:"sc-jyyhec-53"})(["display:flex;align-items:center;gap:1rem;flex:1;min-width:0;@media (max-width:768px){gap:0.75rem;}"]),Ee=i.default.div.withConfig({displayName:"styles__CategoryEmoji",componentId:"sc-jyyhec-54"})(["font-size:1.75rem;flex-shrink:0;@media (max-width:768px){font-size:1.5rem;}"]),Ce=i.default.h3.withConfig({displayName:"styles__CategoryTitle",componentId:"sc-jyyhec-55"})(["font-size:1.25rem;font-weight:700;color:",";display:flex;align-items:center;gap:0.5rem;flex-wrap:wrap;@media (max-width:768px){font-size:1.05rem;}"],x),Fe=i.default.span.withConfig({displayName:"styles__BadgeCount",componentId:"sc-jyyhec-56"})(["font-size:0.875rem;font-weight:600;color:",";@media (max-width:768px){font-size:0.75rem;}"],r),ve=i.default.p.withConfig({displayName:"styles__CategoryDescription",componentId:"sc-jyyhec-57"})(["font-size:0.875rem;color:",";margin-top:0.25rem;@media (max-width:768px){font-size:0.8rem;}"],b),_e=i.default.div.withConfig({displayName:"styles__ToggleIcon",componentId:"sc-jyyhec-58"})(["color:",";transition:transform 0.3s ease;transform:",";flex-shrink:0;svg{width:1.25rem;height:1.25rem;}@media (max-width:768px){svg{width:1rem;height:1rem;}}"],r,e=>e.$isExpanded?"rotate(180deg)":"rotate(0)"),Be=i.default.div.withConfig({displayName:"styles__BadgeGrid",componentId:"sc-jyyhec-59"})(["display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:1rem;padding:1.5rem;background:linear-gradient(to bottom,#f9fafb,white);border-top:1px solid #f0f0f0;animation:slideDown 0.4s ease-out forwards;@keyframes slideDown{from{opacity:0;max-height:0;transform:translateY(-20px);}to{opacity:1;max-height:5000px;transform:translateY(0);}}@media (max-width:768px){grid-template-columns:repeat(2,1fr);gap:0.75rem;padding:1rem;}@media (max-width:480px){grid-template-columns:1fr;}"]),Ae=i.default.div.withConfig({displayName:"styles__BadgeCard",componentId:"sc-jyyhec-60"})(["background:white;border:2px solid #f0f0f0;border-radius:1rem;padding:1.5rem;display:flex;flex-direction:column;align-items:center;text-align:center;position:relative;transition:all 0.3s cubic-bezier(0.4,0,0.2,1);animation:fadeInUp 0.5s ease-out forwards;animation-delay:calc(var(--index) * 0.05s);opacity:0;@keyframes fadeInUp{to{opacity:1;transform:translateY(0);}from{opacity:0;transform:translateY(30px);}}&:hover{transform:translateY(-6px) scale(1.02);box-shadow:0 12px 32px rgba(108,177,50,0.2);border-color:",";}@media (max-width:768px){padding:1.25rem;}"],r),ke=i.default.div.withConfig({displayName:"styles__PointsBadge",componentId:"sc-jyyhec-61"})(["position:absolute;top:0.75rem;right:0.75rem;background:linear-gradient(135deg,",",",");color:white;padding:0.25rem 0.75rem;border-radius:1rem;font-size:0.75rem;font-weight:700;box-shadow:0 2px 8px rgba(108,177,50,0.3);transition:transform 0.3s ease,box-shadow 0.3s ease;",":hover &{transform:scale(1.1);box-shadow:0 4px 12px rgba(108,177,50,0.4);}@media (max-width:768px){font-size:0.7rem;padding:0.2rem 0.6rem;}"],r,o,Ae),je=i.default.div.withConfig({displayName:"styles__BadgeImageWrapper",componentId:"sc-jyyhec-62"})(["width:80px;height:80px;margin-bottom:0.75rem;position:relative;transition:transform 0.3s ease;",":hover &{transform:scale(1.1) rotate(5deg);}@media (max-width:768px){width:70px;height:70px;}"],Ae),Ie=i.default.div.withConfig({displayName:"styles__BadgeImageContainer",componentId:"sc-jyyhec-63"})(["width:100%;height:100%;position:relative;display:flex;align-items:center;justify-content:center;"]),ze=i.default.div.withConfig({displayName:"styles__BadgeImageSkeleton",componentId:"sc-jyyhec-64"})(["position:absolute;width:100%;height:100%;border-radius:8px;
1background:linear-gradient( 90deg,#f0f0f0 0%,#e8e8e8 20%,#f0f0f0 40%,#f0f0f0 100% );background-size:200% 100%;animation:shimmer 1.5s ease-in-out infinite;@keyframes shimmer{0%{background-position:200% 0;}100%{background-position:-200% 0;}}"]),Ne=i.default.img.withConfig({displayName:"styles__BadgeImage",componentId:"sc-jyyhec-65"})(["width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 4px 8px rgba(0,0,0,0.1));opacity:0;transition:opacity 0.3s ease-in-out;position:relative;z-index:1;"]),Se=i.default.h4.withConfig({displayName:"styles__BadgeName",componentId:"sc-jyyhec-66"})(["font-size:1rem;font-weight:700;color:",";margin-bottom:0.25rem;word-break:break-word;@media (max-width:768px){font-size:0.9rem;}"],x),Ye=i.default.p.withConfig({displayName:"styles__BadgeDescription",componentId:"sc-jyyhec-67"})(["font-size:0.8rem;color:",";line-height:1.4;word-break:break-word;@media (max-width:768px){font-size:0.75rem;}"],b),qe=i.default.div.withConfig({displayName:"styles__BadgesContainer",componentId:"sc-jyyhec-68"})(["margin-top:0.75rem;padding-top:0.75rem;border-top:1px solid rgba(229,231,235,0.6);"]),Oe=i.default.div.withConfig({displayName:"styles__BadgesSectionHeader",componentId:"sc-jyyhec-69"})(["font-size:0.75rem;font-weight:600;color:",";margin-bottom:0.625rem;display:flex;align-items:center;gap:0.375rem;svg{width:0.875rem;height:0.875rem;color:",";}"],b,u),Pe=i.default.div.withConfig({displayName:"styles__BadgesList",componentId:"sc-jyyhec-70"})(["display:flex;flex-direction:column;gap:0.5rem;max-height:",";transition:max-height 0.3s ease-out;"],e=>e.$expanded?"400px":"200px"),Re=i.default.div.withConfig({displayName:"styles__BadgeItem",componentId:"sc-jyyhec-71"})(["display:flex;align-items:center;gap:0.625rem;background:linear-gradient(135deg,#f9fafb 0%,#ffffff 100%);border:1.5px solid ",";border-radius:0.625rem;padding:0.5rem 0.625rem;transition:all 0.2s ease;cursor:pointer;animation:badgeSlideIn 0.3s ease-out forwards;animation-delay:","s;opacity:0;@keyframes badgeSlideIn{from{opacity:0;transform:translateY(10px);}to{opacity:1;transform:translateY(0);}}&:hover{border-color:rgba(108,177,50,0.3);box-shadow:0 2px 8px rgba(108,177,50,0.15);transform:translateX(2px);}@media (max-width:768px){padding:0.4rem 0.5rem;gap:0.5rem;}"],E,e=>.1*e.$index),Te=i.default.div.withConfig({displayName:"styles__BadgeItemImageWrapper",componentId:"sc-jyyhec-72"})(["width:32px;height:32px;flex-shrink:0;border-radius:6px;overflow:hidden;border:1px solid rgba(108,177,50,0.2);box-shadow:0 2px 4px rgba(0,0,0,0.08);background:white;display:flex;align-items:center;justify-content:center;img{width:100%;height:100%;object-fit:cover;}@media (max-width:768px){width:28px;height:28px;}"]),Le=i.default.div.withConfig({displayName:"styles__BadgeItemInfo",componentId:"sc-jyyhec-73"})(["flex:1;min-width:0;display:flex;flex-direction:column;gap:0.125rem;"]),He=i.default.div.withConfig({displayName:"styles__BadgeItemName",componentId:"sc-jyyhec-74"})(["font-size:0.8rem;font-weight:600;color:",";white-space:nowrap;overflow:hidden;text-overflow:ellipsis;@media (max-width:768px){font-size:0.75rem;}"],x),Ge=i.default.div.withConfig({displayName:"styles__BadgeItemDescription",componentId:"sc-jyyhec-75"})(["font-size:0.7rem;color:",";white-space:nowrap;overflow:hidden;text-overflow:ellipsis;@media (max-width:768px){font-size:0.65rem;}"],w),Ue=i.default.button.withConfig({displayName:"styles__ShowMoreButton",componentId:"sc-jyyhec-76"})(["background:transparent;color:",";font-size:0.7rem;font-weight:600;padding:0.375rem 0.625rem;border:1px dashed rgba(108,177,50,0.4);border-radius:0.5rem;cursor:pointer;transition:all 0.2s ease;margin-top:0.25rem;width:100%;text-align:center;&:hover{background:rgba(108,177,50,0.05);border-style:solid;}&:active{transform:scale(0.98);}"],r),We=i.default.div.withConfig({displayName:"styles__RisingStarsBadgeSection",componentId:"sc-jyyhec-77"})(["display:flex;flex-direction:row;gap:0.75rem;padding:0.75rem 0 0 0;border-top:1px solid #f0f0f0;margin-top:0.5rem;width:100%;flex-wrap:wrap;grid-column:1 / -1;@media (max-width:768px){gap:0.5rem;margin-top:0;}"]),Ke=i.default.div.withConfig({displayName:"styles__CompactBadgeItem",componentId:"sc-jyyhec-78"})(["display:flex;align-items:center;gap:0.5rem;padding:0.5rem 0.75rem;background:linear-gradient(135deg,#f9fafb 0%,#ffffff 100%);border:1px solid ",";border-radius:0.625rem;transition:all 0.2s ease;flex:1;min-width:0;&:hover{background:rgba(108,177,50,0.04);border-color:rgba(108,177,50,0.3);}@media (max-width:768px){padding:0.5rem;flex:1 1 100%;}"],E),Me=i.default.img.withConfig({displayName:"styles__CompactBadgeImage",componentId:"sc-jyyhec-79"})(["width:28px;height:28px;border-radius:6px;object-fit:cover;border:1px solid rgba(108,177,50,0.2);box-shadow:0 2px 4px rgba(0,0,0,0.08);flex-shrink:0;"]),$e=i.default.div.withConfig({displayName:"styles__CompactBadgeText",componentId:"sc-jyyhec-80"})(["flex:1;min-width:0;.badge-name{font-size:0.75rem;font-weight:600;color:",";white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3;}.badge-desc{font-size:0.7rem;color:",";white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3;margin-top:0.125rem;}@media (max-width:768px){.badge-name{font-size:0.7rem;}.badge-desc{font-size:0.65rem;}}"],x,w),Qe=i.default.span.withConfig({displayName:"styles__BadgeMoreText",componentId:"sc-jyyhec-81"})(["font-size:0.7rem;color:",";font-weight:600;padding:0.5rem 0.75rem;display:flex;align-items:center;"],r),Ve=i.default.div.withConfig({displayName:"styles__RisingStarsBa
1dgeHeader",componentId:"sc-jyyhec-82"})(["display:flex;align-items:center;gap:0.375rem;width:100%;.badge-header-title{font-size:0.75rem;font-weight:600;color:",";text-transform:uppercase;letter-spacing:0.025em;}.info-icon{display:flex;align-items:center;justify-content:center;width:14px;height:14px;color:",";cursor:help;transition:color 0.2s ease;&:hover{color:",";}svg{width:12px;height:12px;}}"],w,w,r),Xe=()=>{if("undefined"!=typeof document){const e="qr-dialog-global-styles";if(!document.getElementById(e)){const t=document.createElement("style");t.id=e,t.textContent='\n .qr-dialog {\n background: white;\n border-radius: 0.75rem;\n padding: 1.5rem;\n max-width: 90vw;\n position: relative;\n z-index: 9999;\n }\n\n .qr-title {\n color: #1a1a2e;\n font-size: 1.25rem;\n font-weight: 700;\n margin-bottom: 0.5rem;\n }\n\n .qr-description {\n color: #64718A;\n font-size: 0.875rem;\n margin-bottom: 1rem;\n }\n\n .qr-image-container {\n display: flex;\n justify-content: center;\n padding: 1.5rem;\n background: #f5f7fa;\n border-radius: 0.5rem;\n margin-top: 1rem;\n }\n\n .qr-image {\n max-width: 100%;\n height: auto;\n object-fit: contain;\n border-radius: 0.5rem;\n }\n\n .mobile-dialog {\n background: white;\n border-radius: 0.75rem;\n position: relative;\n z-index: 9999;\n }\n\n /* Ensure close button is visible */\n [data-radix-dialog-content] button[aria-label="Close"],\n [data-radix-dialog-content] button[data-state] {\n position: absolute;\n top: 1rem;\n right: 1rem;\n width: 2rem;\n height: 2rem;\n border-radius: 0.25rem;\n background: rgba(0, 0, 0, 0.05);\n border: 1px solid rgba(0, 0, 0, 0.1);\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n z-index: 10000;\n transition: all 0.2s;\n }\n\n [data-radix-dialog-content] button[aria-label="Close"]:hover,\n [data-radix-dialog-content] button[data-state]:hover {\n background: rgba(0, 0, 0, 0.1);\n border-color: rgba(0, 0, 0, 0.2);\n }\n\n [data-radix-dialog-content] button[aria-label="Close"] svg,\n [data-radix-dialog-content] button[data-state] svg {\n width: 1rem;\n height: 1rem;\n color: #1a1a2e;\n }\n\n /* QR Button visibility */\n .qr-button,\n .qr-icon-button,\n .qr-dialog-button {\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 0.25rem;\n border: 1px solid #d1d5db;\n background: white;\n color: #374151;\n font-weight: 500;\n transition: all 0.2s;\n }\n\n .qr-button:hover,\n .qr-icon-button:hover,\n .qr-dialog-button:hover {\n background: #f9fafb;\n border-color: #6CB132;\n color: #6CB132;\n }\n\n .qr-button svg,\n .qr-icon-button svg,\n .qr-dialog-button svg {\n width: 1rem;\n height: 1rem;\n }\n\n /* Dialog overlay */\n [data-radix-dialog-overlay] {\n background: rgba(0, 0, 0, 0.5);\n position: fixed;\n inset: 0;\n z-index: 9998;\n }\n\n /* Dialog content */\n [data-radix-dialog-content] {\n background: white;\n border-radius: 0.75rem;\n box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);\n position: fixed;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n max-height: 90vh;\n overflow-y: auto;\n z-index: 9999;\n }\n\n @media (max-width: 640px) {\n [data-radix-dialog-content] {\n max-width: 90vw;\n width: 90vw;\n }\n }\n',document.head.appendChild(t)}}}},4134:function(e,t,n){n.d(t,{FH:function(){return g}});var i=n(8587),r=n(7387);function o(e){return o=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},o(e)}var a=n(3662);function u(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(u=function(){return!!e})()}function d(e){var t="function"==typeof Map?new Map:void 0;return d=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return function(e,t,n){if(u())return Reflect.construct.apply(null,arguments);var i=[null];i.push.apply(i,t);var r=new(e.bind.apply(e,i));return n&&(0,a.A)(r,n.prototype),r}(e,arguments,o(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),(0,a.A)(n,e)},d(e)}const s=["params","body","headers","method","signal"];let l=function(e){function t(t,n,i){var r;return void 0===i&&(i=null),(r=e.call(this,t)||this).name="ApiError",r.status=n,r.data=i,r}return(0,r.A)(t,e),t}(d(Error));const m={headers:{"Content-Type":"application/json"}},c=async function(e,t){void 0===t&&(t={});const{params:n,body:r,headers:o={},method:a="GET",signal:u}=t,d=(0,i.A)(t,s),c=function(e,t){void 0===t&&(t={});const n=new URL("https://apis-v2.foodaholix.com/api"+e);
1return Object.entries(t).forEach(e=>{let[t,i]=e;null!=i&&n.searchParams.append(t,i)}),n.toString()}(e,n),p=Object.assign({},m,d,{method:a,headers:Object.assign({},m.headers,o)});r&&"GET"!==a&&(p.body=JSON.stringify(r)),u&&(p.signal=u);try{const e=await fetch(c,p),t=await(async e=>{const t=e.headers.get("content-type");return t&&t.includes("application/json")?e.json():e.text()})(e);if(!e.ok)throw new l((null==t?void 0:t.message)||"Request failed with status "+e.status,e.status,t);return t}catch(g){if(g instanceof l)throw g;if("AbortError"===g.name)throw new l("Request was cancelled",0,null);throw new l(g.message||"Network error occurred",0,null)}},p=function(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),c(e,Object.assign({},n,{params:t,method:"GET"}))},g={userBadges:{getLeaderboard:function(e,t){return void 0===e&&(e=10),void 0===t&&(t={}),p("/userBadges/leaderboard",{limit:e},t)}},badges:{getAll:function(e){return void 0===e&&(e={}),p("/badges/all",{},e)}},founderCircles:{getLeaderboard:function(e,t){return void 0===t&&(t={}),p("/founder-circles/leaderboard/"+e,{},t)}}}},4241:function(e,t,n){var i=n(6540),r=n(3661);t.A=e=>{let{badge:t,isOpen:n,onClose:o}=e;return i.createElement(r.lG,{open:n,onOpenChange:e=>!e&&o()},i.createElement(r.Cf,{className:"sm:max-w-md max-h-[90vh] overflow-y-auto",style:{maxWidth:"min(90vw, 28rem)",padding:"clamp(0.75rem, 3vw, 1.5rem)",zIndex:10002},overlayStyle:{zIndex:10001}},i.createElement(r.c7,null,i.createElement(r.L3,{className:"text-center text-lg sm:text-xl font-bold text-gray-800"},null==t?void 0:t.name),(null==t?void 0:t.description)&&i.createElement(r.rr,{className:"text-center text-sm sm:text-base text-gray-500 mt-2"},t.description)),i.createElement("div",{className:"flex items-center justify-center p-3 sm:p-6"},t&&i.createElement("img",{src:t.imageUrl,alt:t.name,className:"w-full h-auto rounded-lg drop-shadow-lg",style:{maxWidth:"min(100%, 320px)",maxHeight:"clamp(200px, 50vw, 320px)",objectFit:"contain"}}))))}},6115:function(e,t,n){var i=n(6540),r=n(8027),o=n(4134),a=n(1712);t.A=()=>{const{0:e,1:t}=(0,i.useState)([]),{0:n,1:u}=(0,i.useState)(!0),{0:d,1:s}=(0,i.useState)({});(0,i.useEffect)(()=>{const e=new AbortController;return(async()=>{try{const r=await o.FH.badges.getAll({signal:e.signal});if(r.badges){var n,i;t(r.badges);const e=null===(n=r.badges[0])||void 0===n||null===(i=n.category)||void 0===i?void 0:i._id;e&&s({[e]:!0})}u(!1)}catch(r){"AbortError"!==r.name&&"Request was cancelled"!==r.message&&(console.error("Failed to load badges data:",r),u(!1))}})(),()=>e.abort()},[]);const l=e=>{e.target.style.opacity="1",e.target.previousSibling.style.display="none"};return i.createElement(a.Di,null,i.createElement(a.qR,null,i.createElement(a.Q1,null,"ð¯"),i.createElement(a.fi,null,"How to Earn Badges"),i.createElement(a.ns,null,"Complete activities to unlock achievements and earn points")),n?i.createElement(a.a3,null,i.createElement(a.fO,null),i.createElement("p",null,"Loading badges...")):i.createElement(a.Bz,null,(()=>{const t={};return e.forEach(e=>{const n=e.category._id;t[n]||(t[n]={category:e.category,badges:[]}),t[n].badges.push(e)}),Object.values(t)})().map(e=>i.createElement(a.rm,{key:e.category._id},i.createElement(a.A7,{onClick:()=>{return t=e.category._id,void s(e=>Object.assign({},e,{[t]:!e[t]}));var t},$isExpanded:d[e.category._id]},i.createElement(a.xC,null,i.createElement(a.xE,null,(e=>{if(!e)return"ð";if("undefined"!=typeof Intl&&Intl.Segmenter){const t=new Intl.Segmenter("en",{granularity:"grapheme"}),n=Array.from(t.segment(e));if(n.length>0){const e=n[0].segment;if(/(?:[#\*0-9\xA9\xAE\u200D\u203C\u2049\u20E3\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26A7\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299\uFE0F]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5-\uDED8\uDEDC-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDDFF\uDE70-\uDE7C\uDE80-\uDE8A\uDE8
1E-\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF-\uDEF8]|\uDB40[\uDC20-\uDC7F])/.test(e))return e}}else{const t=Array.from(e);if(t.length>0){const e=t[0];if(/(?:[#\*0-9\xA9\xAE\u200D\u203C\u2049\u20E3\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26A7\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299\uFE0F]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5-\uDED8\uDEDC-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDDFF\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF-\uDEF8]|\uDB40[\uDC20-\uDC7F])/.test(e))return e}}return"ð"})(e.category.name)),i.createElement("div",null,i.createElement(a.HH,null,(e=>{if(!e)return"";if("undefined"!=typeof Intl&&Intl.Segmenter){const t=new Intl.Segmenter("en",{granularity:"grapheme"}),n=Array.from(t.segment(e));if(n.length>0){const t=n[0].segment;if(/(?:[#\*0-9\xA9\xAE\u200D\u203C\u2049\u20E3\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26A7\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299\uFE0F]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5-\uDED8\uDEDC-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDDFF\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF-\uDEF8]|\uDB40[\uDC20-\uDC7F])/.test(t))return e.slice(n[0].segment.length).trim()}}else{const t=Array.from(e);if(t.length>0){const e=t[0];if(/(?:[#\*0-9\xA9\xAE\u200D\u203C\u2049\u20E3\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26A7\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299\uFE0F]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5-\uDED8\uDEDC-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDDFF\uDE70-\uDE7C\uDE80-\uDE8A\uDE8
1E-\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF-\uDEF8]|\uDB40[\uDC20-\uDC7F])/.test(e))return t.slice(1).join("").trim()}}return e.trim()})(e.category.name),i.createElement(a.Hg,null,"(",e.badges.length," badges)")),i.createElement(a.Ro,null,e.category.description))),i.createElement(a.KQ,{$isExpanded:d[e.category._id]},i.createElement(r.Vr3,null))),d[e.category._id]&&i.createElement(a.yG,null,e.badges.map((e,t)=>i.createElement(a.kC,{key:e._id,style:{"--index":t}},i.createElement(a.fB,null,e.points," pts"),i.createElement(a.oL,null,i.createElement(a.MB,null,i.createElement(a.i7,null),i.createElement(a.zb,{src:e.imageUrl,alt:e.name,loading:"lazy",onLoad:l}))),i.createElement(a.Vt,null,e.name),i.createElement(a.oK,null,e.description))))))))}}}]); 2//# sourceMappingURL=cf5555253da57a9bdfc17092be41b7a4f314ed57-f9bf5c2d2278f9a9a944.js.map
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.