1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9383],{15256:(e,s,a)=>{a.d(s,{E:()=>i});var r=a(7128);a(71060);var t=a(73047),l=a(22532);let n=(0,t.F)("inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function i(e){let{className:s,variant:a,...t}=e;return(0,r.jsx)("div",{className:(0,l.cn)(n({variant:a}),s),...t})}},16679:(e,s,a)=>{a.d(s,{A:()=>x,AuthProvider:()=>h});var r=a(7128),t=a(71060),l=a(87900),n=a(54406),i=a(72859),o=a(22318),d=a(93524);let c=()=>{Array.isArray(window.dataLayer)?(window.dataLayer.push({event:"sign_up",value:1,currency:"INR"}),console.log("Signup event sent to Google Tag Manager dataLayer.")):console.log("Google Tag Manager dataLayer not found. Conversion event not sent.")},m=(0,t.createContext)(void 0);function h(e){let{children:s}=e,[a,h]=(0,t.useState)(null),[x,u]=(0,t.useState)(!0);(0,t.useEffect)(()=>{let e=(0,l.hg)(n.j2,async e=>{if(e){let r=await (0,o.VM)(e.uid);if(r){let s={lastLogin:Date.now()};e.displayName&&e.displayName!==r.displayName&&(s.displayName=e.displayName),await (0,o.eg)(e.uid,s)}else{var s,a;await (0,o.lP)(e),c(),(0,d.rn)((null==(a=e.providerData)||null==(s=a[0])?void 0:s.providerId)||"password")}}h(e),u(!1)});return()=>e()},[]);let f=async()=>{let e=new l.HF;u(!0);try{await (0,l.df)(n.j2,e)}catch(e){throw console.error("Error signing in with Google: ",e),u(!1),e}},p=async(e,s,a)=>{u(!0);try{return await (0,l.eJ)(n.j2,e,s)}catch(e){throw console.error("Error signing up with email: ",e),u(!1),e}},j=async(e,s)=>{u(!0);try{return await (0,l.x9)(n.j2,e,s)}catch(e){throw console.error("Error signing in with email: ",e),u(!1),e}},N=async e=>{try{await (0,l.J1)(n.j2,e)}catch(e){throw console.error("Error sending password reset email: ",e),e}},g=async()=>{try{u(!0),await (0,l.CI)(n.j2)}catch(e){console.error("Error signing out: ",e)}finally{u(!1)}};return x?(0,r.jsx)("div",{className:"flex items-center justify-center min-h-screen",children:(0,r.jsx)(i.A,{className:"h-12 w-12 animate-spin text-primary"})}):(0,r.jsx)(m.Provider,{value:{user:a,loading:x,signInWithGoogle:f,signOut:g,signUpWithEmail:p,signInWithEmail:j,sendPasswordReset:N},children:s})}function x(){let e=(0,t.useContext)(m);if(void 0===e)throw Error("useAuth must be used within an AuthProvider");return e}},93524:(e,s,a)=>{a.d(s,{JR:()=>t,Sl:()=>r,f0:()=>l,rn:()=>n});let r="G-RNYPZNZXZT",t=e=>{r&&window.gtag("config",r,{page_path:e})},l=e=>{let{action:s,category:a,label:t,value:l}=e;r&&window.gtag("event",s,{event_category:a,event_label:t,value:l})},n=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"email";if(window.gtag)try{window.gtag("event","sign_up_typing",{method:e}),console.log("GA event sent: sign_up_typing with method:",e)}catch(e){console.error("Failed to send GA sign_up_typing event:",e)}else console.warn("gtag is not available. GA event not sent.")}},99383:(e,s,a)=>{a.d(s,{default:()=>en});var r=a(7128),t=a(11577),l=a.n(t),n=a(15961),i=a(54648),o=a(40373),d=a(7513),c=a(57221),m=a(61820),h=a(72859),x=a(61046),u=a(91250),f=a(35663),p=a(73640),j=a(74292),N=a(16432),g=a(85058),y=a(52278),w=a(99113),v=a(12142),b=a(19898),A=a(72733),C=a(78571),k=a(78057),R=a(76121),L=a(99469),_=a(6951),$=a(41126),E=a(32801),G=a(16679),M=a(53191),P=a(71060),z=a(83412),U=a(22532);let F=P.forwardRef((e,s)=>{let{className:a,...t}=e;return(0,r.jsx)(z.bL,{ref:s,className:(0,U.cn)("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",a),...t})});F.displayName=z.bL.displayName;let S=P.forwardRef((e,s)=>{let{className:a,...t}=e;return(0,r.jsx)(z._V,{ref:s,className:(0,U.cn)("aspect-square h-full w-full",a),...t})});S.displayName=z._V.displayName;let T=P.forwardRef((e,s)=>{let{className:a,...t}=e;return(0,r.jsx)(z.H4,{ref:s,className:(0,U.cn)("flex h-full w-full items-center justify-center rounded-full bg-muted",a),...t})});T.displayName=z.H4.displayName;var V=a(16434),Z=a(50729),H=a(36069),J=a(34659);let D=V.bL,q=V.l9,I=V.YJ;V.ZL,V.Pb,V.z6,P.forwardRef((e,s)=>{let{className:a,inset:t,children:l,...n}=e;return(0,r.jsxs)(V.ZP,{ref:s,className:(0,U.cn)("flex cursor-default gap-2 select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",t&&"pl-8",a),...n,children:[l,(0,r.jsx)(Z.A,{className:"ml-auto"})]})}).displayName=V.ZP.displayName,P.forwardRef((e,s)=>{let{className:a,...t}=e;return(0,r.jsx)(V.G5,{ref:s,className:(0,U.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:sli
1de-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",a),...t})}).displayName=V.G5.displayName;let Q=P.forwardRef((e,s)=>{let{className:a,sideOffset:t=4,...l}=e;return(0,r.jsx)(V.ZL,{children:(0,r.jsx)(V.UC,{ref:s,sideOffset:t,className:(0,U.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",a),...l})})});Q.displayName=V.UC.displayName;let W=P.forwardRef((e,s)=>{let{className:a,inset:t,...l}=e;return(0,r.jsx)(V.q7,{ref:s,className:(0,U.cn)("relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",t&&"pl-8",a),...l})});W.displayName=V.q7.displayName,P.forwardRef((e,s)=>{let{className:a,children:t,checked:l,...n}=e;return(0,r.jsxs)(V.H_,{ref:s,className:(0,U.cn)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",a),checked:l,...n,children:[(0,r.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,r.jsx)(V.VF,{children:(0,r.jsx)(H.A,{className:"h-4 w-4"})})}),t]})}).displayName=V.H_.displayName,P.forwardRef((e,s)=>{let{className:a,children:t,...l}=e;return(0,r.jsxs)(V.hN,{ref:s,className:(0,U.cn)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",a),...l,children:[(0,r.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,r.jsx)(V.VF,{children:(0,r.jsx)(J.A,{className:"h-2 w-2 fill-current"})})}),t]})}).displayName=V.hN.displayName;let Y=P.forwardRef((e,s)=>{let{className:a,inset:t,...l}=e;return(0,r.jsx)(V.JU,{ref:s,className:(0,U.cn)("px-2 py-1.5 text-sm font-semibold",t&&"pl-8",a),...l})});Y.displayName=V.JU.displayName;let O=P.forwardRef((e,s)=>{let{className:a,...t}=e;return(0,r.jsx)(V.wv,{ref:s,className:(0,U.cn)("-mx-1 my-1 h-px bg-muted",a),...t})});O.displayName=V.wv.displayName;var X=a(87850),B=a(22318),K=a(21262),ee=a(54406),es=a(12521),ea=a(71934),er=a(15256);let et=[{href:"/",label:"Lessons"},{href:"/typing-test-by-typing-tutor",label:"Typing Test"},{href:"/60-second-typing-test",label:"60 Second"},{href:"/leaderboard",label:"Leaderboard"},{href:"/live-competitions",label:"Live"}],el=[{href:"/typing-tutor-for-companies",label:"For Companies"},{href:"/typing-tutor-for-colleges",label:"For Colleges"},{href:"/pricing",label:"Pricing"},{href:"/typing-tutor-games",label:"Games"},{href:"/contact",label:"Contact"}];function en(){var e,s,a,t,z,V,Z,H;let{user:J,loading:en,signOut:ei}=(0,G.A)(),eo=(0,X.usePathname)(),ed=(0,X.useRouter)(),[ec,em]=(0,P.useState)(null),[eh,ex]=(0,P.useState)(!1);return(0,P.useEffect)(()=>{if(J){let e=(0,K.ref)(ee.database,"progress/".concat(J.uid,"/profile")),s=(0,K.Zy)(e,e=>{e.exists()?em(e.val()):(0,B.VM)(J.uid).then(em)});return()=>s()}em(null)},[J]),(0,P.useEffect)(()=>{ex(!1)},[eo]),(0,P.useEffect)(()=>{let e=e=>{eh&&(e.target.closest("[data-mobile-menu]")||ex(!1))};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[eh]),(0,r.jsxs)("header",{className:"w-full bg-card border-b border-border shadow-sm sticky top-0 z-40 hello-bar-adjust",children:[(0,r.jsx)("div",{className:"w-full max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:(0,r.jsxs)("div",{className:"flex items-center justify-between h-16",children:[(0,r.jsxs)("div",{className:"flex items-center gap-8",children:[(0,r.jsx)(l(),{href:"/",className:"flex items-center gap-2",children:(0,r.jsx)(es.default,{src:"/images/logo.png?v=2",alt:"Typing Tutor Logo",width:200,height:40,className:"h-10 w-auto"})}),(0,r.jsxs)("nav",{className:"hidden md:flex items-center gap-6",children:[et.map(e=>(0,r.jsxs)(l(),{href:e.href,className:(0,U.cn)("text-sm font-medium transition-colors hover:text-primary",eo===e.href?"text-primary":"text-muted-foreground"),children:[e.label,"/live-competitions"===e.href&&(0,r.jsx)(er.E,{variant:"destructive",className:"ml-2 animate-pulse",children:"Live"})]},e.href)),(0,r.jsxs)(D,{children:[(0,r.jsx)(q,{asChild:!0,children:(0,r.jsxs)(M.$,{variant:"ghost",className:(0,U.cn)("text-sm font-medium transition-colors hover:text-primary p-0",el.some(e=>e.href===eo)?"text-primary":"text-muted-foreground"),children:["Solutions ",(0,r.jsx)(n.A,{className:"ml-1 h-4 w-4"})]})}),(0,r.jsx)(Q,{children:el.map(e=>(0,r.jsxs)(W,{onClick:()=>ed.push(e.href),children:["/contact"===e.href?(0,r.jsx)(i.A,{className:"mr-2 h-4 w-4"}):"/typing-tutor-games"===e.href?(0,r.jsx)(o.A,{className:"mr-2 h-4 w-4"}):(0,r.jsx)(d.A,{className:"mr-2 h-4 w-4"}),(0,r.jsx)("span",{children:e.label})]},e.href))})]})]})]}),(0,r.jsxs)("div",{className:"flex items-center gap-4",children:[(0,r.jsx)(M.$,{variant:"ghost",size:"sm",className:"md:hidden",onClick:()=>ex(!eh),"data-mobile-menu":!0,children:eh?(0,r.jsx)(c.A,{className:"h-6 w-6"}):(0,r.jsx)(m.A,{className:"h-6 w-6"})}),en?(0,r.jsx)(h.A,{className:"h-6 w-6 animate-spin"}):J?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:"flex items-center gap-4",children:[(0,r.jsx)(l(),{href:"/my-progress",children:(0,r.jsxs)(M.$,{variant:"default",size:"sm",className:"bg-gradient-to-r from-blue-600 to-purple-600 hover:from-blue-700 hover:to-purple-700 text-white font-semibold shadow-md",children:[(0,r.jsx)(x.A,{className:"mr-2 h-4 w-4"}),"My Progress"]})}),(0,r.jsxs)("div",{className:"flex items-center gap-1.5 font-semibold text-sm",children:[(0,r.jsx)(u.A,{className:"h-4 w-4 text-rose-500"}),(0,r.jsx)("span",{children:null!=(e=null==ec?void 0:ec.gems)?e:0})]}),(0,r.jsxs)("div",{className:"flex items-center gap-1.5 font-semibold text-sm",children:[(0,r.jsx)(f.A,{className:"h-4 w-4 text-yellow-500"}),(0,r.jsx)("span",{children:null!=(s=null==ec?void 0:ec.coins)?s:0})]}),(0,r.jsxs)(D,{children:[(0,r.jsx)(q,{asChild:!0,children:(0,r.jsxs)(M.$,{variant:"outline",size:"sm",children:[(0,r.jsx)(p.A,{className:"mr-2 h-4 w-4"}),"Redeem"]})}),(0,r.jsxs)(Q,{className:"w-48",children:[(0,r.jsxs)(W,{onClick:()=>ed.push("/redeem"),children:[(0,r.jsx)(u.A,{className:"mr-2 h-4 w-4 text-rose-500"}),(0,r.jsx)("span",{children:"Redeem Gems"})]}),(0,r.jsxs)(W,{onClick:()=>ed.push("/redeem-coins"),children:[(0,r.jsx)(f.A,{className:"mr-2 h-4 w-4 text-yellow-500"}),(0,r.jsx)("span",{children:"Redeem Coins"})]})]})]})]}),(0,r.jsxs)(D,{children:[(0,r.jsx)(q,{asChild:!0,children:(0,r.jsx)(M.$,{variant:"ghost",className:"relative h-10 w-10 rounded-full",children:(0,r.jsxs)(F,{className:"h-10 w-10",children:[(0,r.jsx)(S,{src:null!=(a=J.ph
1otoURL)?a:"",alt:null!=(t=J.displayName)?t:"User"}),(0,r.jsx)(T,{children:(0,r.jsx)(j.A,{})})]})})}),(0,r.jsxs)(Q,{className:"w-56",align:"end",forceMount:!0,children:[(0,r.jsx)(Y,{className:"font-normal",children:(0,r.jsxs)("div",{className:"flex flex-col space-y-1",children:[(0,r.jsx)("p",{className:"text-sm font-medium leading-none",children:J.displayName||"Anonymous User"}),(0,r.jsx)("p",{className:"text-xs leading-none text-muted-foreground",children:J.email})]})}),(0,r.jsx)(O,{}),(0,r.jsxs)(W,{onClick:()=>ed.push("/dashboard"),children:[(0,r.jsx)(N.A,{className:"mr-2 h-4 w-4"}),(0,r.jsx)("span",{children:"Dashboard"})]}),ea.AQ&&(0,r.jsxs)(W,{onClick:()=>ed.push("/wallet"),children:[(0,r.jsx)(g.A,{className:"mr-2 h-4 w-4"}),(0,r.jsx)("span",{children:"My Wallet"})]}),(0,r.jsxs)(W,{onClick:()=>ed.push("/profile"),children:[(0,r.jsx)(y.A,{className:"mr-2 h-4 w-4"}),(0,r.jsx)("span",{children:"Profile"})]}),(0,r.jsxs)(W,{onClick:()=>ed.push("/activity"),children:[(0,r.jsx)(w.A,{className:"mr-2 h-4 w-4"}),(0,r.jsx)("span",{children:"My Activity"})]}),(0,r.jsxs)(W,{onClick:()=>ed.push("/leaderboard"),children:[(0,r.jsx)(v.A,{className:"mr-2 h-4 w-4"}),(0,r.jsx)("span",{children:"Global Leaderboard"})]}),(0,r.jsxs)(W,{onClick:()=>ed.push("/my-leaderboards"),children:[(0,r.jsx)(b.A,{className:"mr-2 h-4 w-4"}),(0,r.jsx)("span",{children:"My Leaderboards"})]}),(0,r.jsxs)(W,{onClick:()=>ed.push("/tiers"),children:[(0,r.jsx)(A.A,{className:"mr-2 h-4 w-4"}),(0,r.jsx)("span",{children:"My Tier"})]}),(0,r.jsxs)(W,{onClick:()=>ed.push("/pricing"),children:[(0,r.jsx)(C.A,{className:"mr-2 h-4 w-4"}),(0,r.jsx)("span",{children:"Upgrade Plan"})]}),(0,r.jsxs)(W,{onClick:()=>ed.push("/referrals"),children:[(0,r.jsx)(k.A,{className:"mr-2 h-4 w-4"}),(0,r.jsx)("span",{children:"My Referrals"})]}),(0,r.jsx)(O,{}),(0,r.jsxs)(I,{children:[(0,r.jsx)(Y,{children:"Earn Gems and Coins"}),(0,r.jsxs)(W,{onClick:()=>ed.push("/rewarded-video"),children:[(0,r.jsx)(R.A,{className:"mr-2 h-4 w-4"}),(0,r.jsx)("span",{children:"Earn Gems"})]})]}),(0,r.jsx)(O,{}),(0,r.jsxs)(I,{children:[(0,r.jsx)(Y,{children:"Redemption History"}),(0,r.jsxs)(W,{onClick:()=>ed.push("/my-redemptions"),children:[(0,r.jsx)(L.A,{className:"mr-2 h-4 w-4"}),(0,r.jsx)("span",{children:"Gem Redemptions"})]}),(0,r.jsxs)(W,{onClick:()=>ed.push("/my-coin-redemptions"),children:[(0,r.jsx)(f.A,{className:"mr-2 h-4 w-4"}),(0,r.jsx)("span",{children:"Coin Redemptions"})]}),(0,r.jsxs)(W,{onClick:()=>ed.push("/my-vouchers"),children:[(0,r.jsx)(_.A,{className:"mr-2 h-4 w-4"}),(0,r.jsx)("span",{children:"My Vouchers"})]})]}),(0,r.jsx)(O,{}),(0,r.jsxs)(W,{onClick:ei,children:[(0,r.jsx)($.A,{className:"mr-2 h-4 w-4"}),(0,r.jsx)("span",{children:"Log out"})]})]})]})]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:"flex items-center gap-4",children:[(0,r.jsxs)("div",{className:"flex items-center gap-1.5 font-semibold text-sm text-muted-foreground",children:[(0,r.jsx)(u.A,{className:"h-4 w-4"}),(0,r.jsx)("span",{children:"0"})]}),(0,r.jsxs)("div",{className:"flex items-center gap-1.5 font-semibold text-sm text-muted-foreground",children:[(0,r.jsx)(f.A,{className:"h-4 w-4"}),(0,r.jsx)("span",{children:"0"})]})]}),(0,r.jsx)(M.$,{asChild:!0,children:(0,r.jsxs)(l(),{href:"/login",children:[(0,r.jsx)(E.A,{className:"mr-2 h-4 w-4"}),"Login"]})})]})]})]})}),eh&&(0,r.jsx)("div",{className:"md:hidden bg-card border-b border-border shadow-lg","data-mobile-menu":!0,children:(0,r.jsxs)("div",{className:"px-4 py-6 space-y-6",children:[(0,r.jsx)("nav",{className:"space-y-4",children:et.map(e=>(0,r.jsxs)(l(),{href:e.href,className:(0,U.cn)("flex items-center justify-between text-lg font-medium transition-colors hover:text-primary py-2",eo===e.href?"text-primary":"text-muted-foreground"),onClick:()=>ex(!1),children:[(0,r.jsx)("span",{children:e.label}),"/live-competitions"===e.href&&(0,r.jsx)(er.E,{variant:"destructive",className:"animate-pulse",children:"Live"})]},e.href))}),(0,r.jsxs)("div",{className:"space-y-4",children:[(0,r.jsx)("div",{className:"text-lg font-medium text-muted-foreground",children:"Solutions"}),(0,r.jsx)("nav",{className:"space-y-3 pl-4",children:el.map(e=>(0,r.jsxs)(l(),{href:e.href,className:(0,U.cn)("flex items-center text-base transition-colors hover:text-primary py-2",eo===e.href?"text-primary":"text-muted-foreground"),onClick:()=>ex(!1),children:["/contact"===e.href?(0,r.jsx)(i.A,{className:"mr-3 h-4 w-4"}):"/typing-tutor-games"===e.href?(0,r.jsx)(o.A,{className:"mr-3 h-4 w-4"}):(0,r.jsx)(d.A,{className:"mr-3 h-4 w-4"}),(0,r.jsx)("span",{children:e.label})]},e.href))})]}),J&&(0,r.jsxs)("div",{className:"pt-4 border-t border-border space-y-4",children:[(0,r.jsxs)("div",{className:"flex items-center gap-3",children:[(0,r.jsxs)(F,{className:"h-10 w-10",children:[(0,r.jsx)(S,{src:null!=(z=J.photoURL)?z:"",alt:null!=(V=J.displayName)?V:"User"}),(0,r.jsx)(T,{children:(0,r.jsx)(j.A,{})})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("p",{className:"text-sm font-medium",children:J.displayName||"Anonymous User"}),(0,r.jsx)("p",{className:"text-xs text-muted-foreground",children:J.email})]})]}),(0,r.jsxs)("div",{className:"flex items-center gap-6",children:[(0,r.jsxs)("div",{className:"flex items-center gap-1.5 font-semibold text-sm",children:[(0,r.jsx)(u.A,{className:"h-4 w-4 text-rose-500"}),(0,r.jsx)("span",{children:null!=(Z=null==ec?void 0:ec.gems)?Z:0})]}),(0,r.jsxs)("div",{className:"flex items-center gap-1.5 font-semibold text-sm",children:[(0,r.jsx)(f.A,{className:"h-4 w-4 text-yellow-500"}),(0,r.jsx)("span",{children:null!=(H=null==ec?void 0:ec.coins)?H:0})]})]}),(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsxs)(M.$,{variant:"outline",className:"w-full justify-start",onClick:()=>{ed.push("/dashboard"),ex(!1)},children:[(0,r.jsx)(N.A,{className:"mr-2 h-4 w-4"}),"Dashboard"]}),ea.AQ&&(0,r.jsxs)(M.$,{variant:"outline",className:"w-full justify-start",onClick:()=>{ed.push("/wallet"),ex(!1)},children:[(0,r.jsx)(g.A,{className:"mr-2 h-4 w-4"}),"My Wallet"]}),(0,r.jsxs)(M.$,{variant:"outline",className:"w-full justify-start",onClick:()=>{ed.push("/profile"),ex(!1)},children:[(0,r.jsx)(y.A,{className:"mr-2 h-4 w-4"}),"Profile"]}),(0,r.jsxs)(M.$,{variant:"outline",className:"w-full justify-start",onClick:()=>{ed.push("/activity"),ex(!1)},children:[(0,r.jsx)(w.A,{className:"mr-2 h-4 w-4"}),"My Activity"]}),(0,r.jsxs)(M.$,{variant:"outline",className:"w-full justify-start",onClick:()=>{ed.push("/leaderboard"),ex(!1)},children:[(0,r.jsx)(v.A,{className:"mr-2 h-4 w-4"}),"Global Leaderboard"]}),(0,r.jsxs)(M.$,{variant:"outline",className:"w-full justify-start",onClick:()=>{ed.push("/my-leaderboards"),ex(!1)},children:[(0,r.jsx)(b.A,{className:"mr-2 h-4 w-4"}),"My Leaderboards"]}),(0,r.jsxs)(M.$,{variant:"outline",className:"w-full justify-start",onClick:()=>{ed.push("/tiers"),ex(!1)},children:[(0,r.jsx)(A.A,{className:"mr-2 h-4 w-4"}),"My Tier"]}),(0,r.jsxs)(M.$,{variant:"outline",className:"w-full justify-start",onClick:()=>{ed.push("/pricing"),ex(!1)},children:[(0,r.jsx)(C.A,{className:"mr-2 h-4 w-4"}),"Upgrade Plan"]}),(0,r.jsxs)(M.$,{variant:"outline",className:"w-full justify-start",onClick:()=>{ed.push("/referrals"),ex(!1)},children:[(0,r.jsx)(k.A,{className:"mr-2 h-4 w-4"}),"My Referrals"]}),(0,r.jsxs)("div",{className:"pt-2",children:[(0,r.jsx)("div",{className:"text-sm font-medium text-muted-foreground mb-2",children:"Earn Gems and Coins"}),(0,r.jsx)("div",{className:"space-y-2",children:(0,r.jsxs)(M.$,{variant:"outline",className:"w-full justify-start",onClick:()=>{ed.push("/rewarded-video"),ex(!1)},children:[(0,r.jsx)(R.A,{className:"mr-2 h-4 w-4"}),"Earn Gems"]})})]}),(0,r.jsxs)("div",{className:"pt-2",children:[(0,r.jsx)("div",{className:"text-sm font-medium text-muted-foreground mb-2",children:"Redemptions"}),(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsxs)(M.$,{variant:"outline",className:"w-full justify-start",onClick:()=>{ed.push("/redeem"),ex(!1)},children:[(0,r.jsx)(u.A,{className:"mr-2 h-4 w-4 text-rose-500"}),"Redeem Gems"]}),(0,r.jsxs)(M.$,{variant:"outline",className:"w-full justify-start",onClick:()=>{ed.push("/redeem-coins"),ex(!1)},children:[(0,r.jsx)(f.A,{className:"mr-2 h-4 w-4 text-yellow-500"}),"Redeem Coins"]}),(0,r.jsxs)(M.$,{variant:"outline",className:"w-full justify-start",onClick:()=>{ed.push("/my-redemptions"),ex(!1)},children:[(0,r.jsx)(L.A,{className:"mr-2 h-4 w-4"}),"Gem Redemptions"]}),(0,r.jsxs)(M.$,{variant:"outline",className:"w-full justify-start",onClick:()=>{ed.push("/my-coin-redemptions"),ex(!1)},children:[(0,r.jsx)(f.A,{className:"mr-2 h-4 w-4"}),"Coin Redemptions"]}),(0,r.jsxs)(M.$,{variant:"outline",className:"w-full justify-start",onClick:()=>{ed.push("/my-vouchers"),ex(!1)},children:[(0,r.jsx)(_.A,{className:"mr-2 h-4 w-4"}),"My Vouchers"]})]})]}),(0,r.jsxs)(M.$,{variant:"destructive",className:"w-full justify-start",onClick:()=>{ei(),ex(!1)},children:[(0,r.jsx)($.A,{className:"mr-2 h-4 w-4"}),"Log out"]})]})]})]})})]})}}}]);
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.