import{h as u,g as h,l as e,L as v,v as t,w as a,a2 as b,a3 as w,a4 as y,B as j,y as i,z as c,a5 as C,M as P,J as f}from"./index-BmXZZy9z.js";import{B as r}from"./badge-LEMzAgUR.js";import{P as m}from"./progress-Cqt0GLKB.js";import{A as n}from"./award-DYVRiQ2a.js";import{T as d}from"./trending-up-ggC0AkGJ.js";import{U as p}from"./users-B0juG3m7.js";import{Z as k}from"./zap-CqJnwqS5.js";import{S as A}from"./square-pen-5eHvP5kk.js";import{S as o}from"./star-BoZpwx9N.js";import{P as S}from"./phone-C-akbWPC.js";import{M as L}from"./map-pin-DJ86UqsE.js";import{C as T}from"./calendar-DpE4dw2K.js";import{G as E}from"./globe-Ca-0lCf2.js";import{C as M}from"./clock-DABGRdNp.js";/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const x=u("Activity",[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const R=u("Camera",[["path",{d:"M14.5 4h-5L7 7H4a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-3l-2.5-3z",key:"1tc9qg"}],["circle",{cx:"12",cy:"13",r:"3",key:"1vg3eu"}]]),K=()=>{const[s]=h.useState({name:"John Doe",email:"john.doe@example.com",phone:"+1 (555) 123-4567",location:"New York, NY",joinDate:"January 2023",avatar:"/api/placeholder/150/150",role:"Premium User",status:"Active",bio:"Passionate developer and tech enthusiast. Love building amazing products that make a difference.",skills:["React","TypeScript","Node.js","Python","AWS"],stats:{projects:24,tasks:156,completed:142,efficiency:91,rating:4.8,followers:128}}),[g]=h.useState([{id:1,type:"task",title:"Completed project setup",description:"Finished initial configuration for new dashboard",time:"2 hours ago",icon:x},{id:2,type:"achievement",title:"Earned new badge",description:"Received 'Efficiency Master' badge",time:"1 day ago",icon:n},{id:3,type:"project",title:"Started new project",description:"Created 'FlashCore Analytics' project",time:"3 days ago",icon:d},{id:4,type:"collaboration",title:"Team collaboration",description:"Joined development team for mobile app",time:"1 week ago",icon:p}]);return e.jsx(v,{children:e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"w-8 h-8 bg-gradient-to-r from-flashcore-purple to-flashcore-green rounded-lg flex items-center justify-center",children:e.jsx(k,{className:"w-5 h-5 text-white"})}),e.jsxs("div",{children:[e.jsx("h1",{className:"text-3xl font-bold",children:"Profile"}),e.jsx("p",{className:"text-muted-foreground",children:"Manage your profile and view your statistics"})]})]}),e.jsx("div",{className:"relative",children:e.jsxs(t,{className:"overflow-hidden",children:[e.jsx("div",{className:"h-32 bg-gradient-to-r from-flashcore-purple to-flashcore-green"}),e.jsx(a,{className:"relative pt-0",children:e.jsxs("div",{className:"flex flex-col sm:flex-row items-start sm:items-center gap-4 -mt-16",children:[e.jsxs("div",{className:"relative",children:[e.jsxs(b,{className:"w-32 h-32 border-4 border-white shadow-lg",children:[e.jsx(w,{src:s.avatar,alt:s.name}),e.jsx(y,{className:"text-2xl bg-gradient-to-r from-flashcore-purple to-flashcore-green text-white",children:s.name.split(" ").map(l=>l[0]).join("")})]}),e.jsx(j,{size:"sm",variant:"outline",className:"absolute bottom-0 right-0 rounded-full w-8 h-8 p-0",children:e.jsx(R,{className:"w-4 h-4"})})]}),e.jsxs("div",{className:"flex-1 space-y-2",children:[e.jsxs("div",{className:"flex flex-col sm:flex-row sm:items-center gap-2",children:[e.jsx("h1",{className:"text-2xl font-bold",children:s.name}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(r,{variant:"secondary",className:"bg-green-100 text-green-800",children:s.status}),e.jsx(r,{className:"bg-gradient-to-r from-flashcore-purple to-flashcore-green text-white",children:s.role})]})]}),e.jsx("p",{className:"text-muted-foreground",children:s.bio}),e.jsx("div",{className:"flex flex-wrap gap-2",children:s.skills.map((l,N)=>e.jsx(r,{variant:"outline",children:l},N))})]}),e.jsxs(j,{className:"bg-gradient-to-r from-flashcore-purple to-flashcore-green",children:[e.jsx(A,{className:"w-4 h-4 mr-2"}),"Edit Profile"]})]})})]})}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6",children:[e.jsx(t,{children:e.jsx(a,{className:"p-6",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-medium text-muted-foreground",children:"Projects"}),e.jsx("p",{className:"text-2xl font-bold",children:s.stats.projects})]}),e.jsx("div",{className:"w-12 h-12 bg-blue-100 rounded-lg flex items-center justify-center",children:e.jsx(d,{className:"w-6 h-6 text-blue-600"})})]})})}),e.jsx(t,{children:e.jsx(a,{className:"p-6",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-medium text-muted-foreground",children:"Tasks Completed"}),e.jsx("p",{className:"text-2xl font-bold",children:s.stats.completed})]}),e.jsx("div",{className:"w-12 h-12 bg-green-100 rounded-lg flex items-center justify-center",children:e.jsx(x,{className:"w-6 h-6 text-green-600"})})]})})}),e.jsx(t,{children:e.jsx(a,{className:"p-6",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-medium text-muted-foreground",children:"Efficiency"}),e.jsxs("p",{className:"text-2xl font-bold",children:[s.stats.efficiency,"%"]})]}),e.jsx("div",{className:"w-12 h-12 bg-purple-100 rounded-lg flex items-center justify-center",children:e.jsx(n,{className:"w-6 h-6 text-purple-600"})})]})})}),e.jsx(t,{children:e.jsx(a,{className:"p-6",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-medium text-muted-foreground",children:"Rating"}),e.jsxs("div",{className:"flex items-center gap-1",children:[e.jsx("p",{className:"text-2xl font-bold",children:s.stats.rating}),e.jsx(o,{className:"w-5 h-5 text-yellow-500 fill-current"})]})]}),e.jsx("div",{className:"w-12 h-12 bg-yellow-100 rounded-lg flex items-center justify-center",children:e.jsx(o,{className:"w-6 h-6 text-yellow-600"})})]})})})]}),e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-6",children:[e.jsxs(t,{children:[e.jsx(i,{children:e.jsxs(c,{className:"flex items-center gap-2",children:[e.jsx(C,{className:"w-5 h-5"}),"Contact Information"]})}),e.jsxs(a,{className:"space-y-4",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx(P,{className:"w-5 h-5 text-blue-500"}),e.jsxs("div",{children:[e.jsx("p",{className:"font-medium",children:"Email"}),e.jsx("p",{className:"text-sm text-muted-foreground",children:s.email})]})]}),e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx(S,{className:"w-5 h-5 text-green-500"}),e.jsxs("div",{children:[e.jsx("p",{className:"font-medium",children:"Phone"}),e.jsx("p",{className:"text-sm text-muted-foreground",children:s.phone})]})]}),e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx(L,{className:"w-5 h-5 text-red-500"}),e.jsxs("div",{children:[e.jsx("p",{className:"font-medium",children:"Location"}),e.jsx("p",{className:"text-sm text-muted-foreground",children:s.location})]})]}),e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx(T,{className:"w-5 h-5 text-purple-500"}),e.jsxs("div",{children:[e.jsx("p",{className:"font-medium",children:"Member Since"}),e.jsx("p",{className:"text-sm text-muted-foreground",children:s.joinDate})]})]})]})]}),e.jsxs(t,{children:[e.jsx(i,{children:e.jsxs(c,{className:"flex items-center gap-2",children:[e.jsx(d,{className:"w-5 h-5"}),"Performance"]})}),e.jsxs(a,{className:"space-y-4",children:[e.jsxs("div",{children:[e.jsxs("div",{className:"flex justify-between items-center mb-2",children:[e.jsx("span",{className:"text-sm font-medium",children:"Task Completion"}),e.jsxs("span",{className:"text-sm text-muted-foreground",children:[s.stats.completed,"/",s.stats.tasks]})]}),e.jsx(m,{value:s.stats.completed/s.stats.tasks*100,className:"h-2"})]}),e.jsxs("div",{children:[e.jsxs("div",{className:"flex justify-between items-center mb-2",children:[e.jsx("span",{className:"text-sm font-medium",children:"Efficiency Rate"}),e.jsxs("span",{className:"text-sm text-muted-foreground",children:[s.stats.efficiency,"%"]})]}),e.jsx(m,{value:s.stats.efficiency,className:"h-2"})]}),e.jsxs("div",{children:[e.jsxs("div",{className:"flex justify-between items-center mb-2",children:[e.jsx("span",{className:"text-sm font-medium",children:"Project Success"}),e.jsx("span",{className:"text-sm text-muted-foreground",children:"95%"})]}),e.jsx(m,{value:95,className:"h-2"})]})]})]}),e.jsxs(t,{children:[e.jsx(i,{children:e.jsxs(c,{className:"flex items-center gap-2",children:[e.jsx(x,{className:"w-5 h-5"}),"Recent Activity"]})}),e.jsx(a,{children:e.jsx("div",{className:"space-y-4",children:g.map(l=>e.jsxs("div",{className:"flex items-start gap-3",children:[e.jsx("div",{className:"w-8 h-8 bg-muted rounded-full flex items-center justify-center flex-shrink-0",children:e.jsx(l.icon,{className:"w-4 h-4"})}),e.jsxs("div",{className:"flex-1 min-w-0",children:[e.jsx("p",{className:"text-sm font-medium",children:l.title}),e.jsx("p",{className:"text-xs text-muted-foreground",children:l.description}),e.jsx("p",{className:"text-xs text-muted-foreground mt-1",children:l.time})]})]},l.id))})})]})]}),e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-6",children:[e.jsxs(t,{children:[e.jsx(i,{children:e.jsxs(c,{className:"flex items-center gap-2",children:[e.jsx(n,{className:"w-5 h-5"}),"Achievements"]})}),e.jsx(a,{children:e.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[e.jsxs("div",{className:"text-center p-4 bg-gradient-to-br from-yellow-50 to-orange-50 rounded-lg",children:[e.jsx(n,{className:"w-8 h-8 text-yellow-600 mx-auto mb-2"}),e.jsx("h3",{className:"font-semibold",children:"Efficiency Master"}),e.jsx("p",{className:"text-sm text-muted-foreground",children:"Completed 100+ tasks"})]}),e.jsxs("div",{className:"text-center p-4 bg-gradient-to-br from-blue-50 to-purple-50 rounded-lg",children:[e.jsx(d,{className:"w-8 h-8 text-blue-600 mx-auto mb-2"}),e.jsx("h3",{className:"font-semibold",children:"Project Leader"}),e.jsx("p",{className:"text-sm text-muted-foreground",children:"Led 10+ projects"})]}),e.jsxs("div",{className:"text-center p-4 bg-gradient-to-br from-green-50 to-emerald-50 rounded-lg",children:[e.jsx(p,{className:"w-8 h-8 text-green-600 mx-auto mb-2"}),e.jsx("h3",{className:"font-semibold",children:"Team Player"}),e.jsx("p",{className:"text-sm text-muted-foreground",children:"Collaborated with 50+ members"})]}),e.jsxs("div",{className:"text-center p-4 bg-gradient-to-br from-purple-50 to-pink-50 rounded-lg",children:[e.jsx(o,{className:"w-8 h-8 text-purple-600 mx-auto mb-2"}),e.jsx("h3",{className:"font-semibold",children:"Top Performer"}),e.jsx("p",{className:"text-sm text-muted-foreground",children:"Consistent 4.8+ rating"})]})]})})]}),e.jsxs(t,{children:[e.jsx(i,{children:e.jsxs(c,{className:"flex items-center gap-2",children:[e.jsx(f,{className:"w-5 h-5"}),"Security Status"]})}),e.jsxs(a,{className:"space-y-4",children:[e.jsxs("div",{className:"flex items-center justify-between p-3 bg-green-50 rounded-lg",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx(f,{className:"w-5 h-5 text-green-600"}),e.jsxs("div",{children:[e.jsx("p",{className:"font-medium",children:"Two-Factor Authentication"}),e.jsx("p",{className:"text-sm text-muted-foreground",children:"Enabled"})]})]}),e.jsx(r,{variant:"secondary",className:"bg-green-100 text-green-800",children:"Active"})]}),e.jsxs("div",{className:"flex items-center justify-between p-3 bg-blue-50 rounded-lg",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx(E,{className:"w-5 h-5 text-blue-600"}),e.jsxs("div",{children:[e.jsx("p",{className:"font-medium",children:"Last Login"}),e.jsx("p",{className:"text-sm text-muted-foreground",children:"2 hours ago"})]})]}),e.jsx(r,{variant:"secondary",className:"bg-blue-100 text-blue-800",children:"Secure"})]}),e.jsxs("div",{className:"flex items-center justify-between p-3 bg-orange-50 rounded-lg",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx(M,{className:"w-5 h-5 text-orange-600"}),e.jsxs("div",{children:[e.jsx("p",{className:"font-medium",children:"Session Timeout"}),e.jsx("p",{className:"text-sm text-muted-foreground",children:"30 minutes"})]})]}),e.jsx(r,{variant:"secondary",className:"bg-orange-100 text-orange-800",children:"Configured"})]})]})]})]})]})})};export{K as default};
