import type { AudioItem, Chat, DocumentItem, GroupInfo, LinkItem, MediaItem, Message } from '@admin/lib/types';

export const chats: Chat[] = [
    {
        id: '1',
        name: 'Harry Maguire',
        avatar: '/assets/chat/man.jpg',
        lastMessage: 'You need to improve now',
        timestamp: '09:12 AM',
        pinned: true,
        online: true,
    },
    {
        id: '2',
        name: 'TaskCo Official',
        avatar: '/assets/chat/red-circle-logo.png',
        lastMessage: 'Shaib Miah is typing...',
        timestamp: '06:25 AM',
        typing: true,
    },
    {
        id: '3',
        name: 'Ramsus Højlund',
        avatar: '/assets/chat/man-with-beard.png',
        lastMessage: 'Boss, I need to talk today',
        timestamp: '03:11 AM',
        unreadCount: 2,
        pinned: true,
    },
    {
        id: '4',
        name: 'Andre Onana',
        avatar: '/assets/chat/man-goalkeeper.jpg',
        lastMessage: 'I need more time boss 🤚',
        timestamp: '11:34 AM',
        online: true,
    },
    {
        id: '5',
        name: 'Reguilon',
        avatar: '/assets/chat/man-player.jpg',
        lastMessage: 'Great performance led 🔥',
        timestamp: '09:12 AM',
        online: true,
    },
    {
        id: '6',
        name: 'Bruno Fernandes',
        avatar: '/assets/chat/man-captain.jpg',
        lastMessage: 'Play the game Bruno !',
        timestamp: '10:21 AM',
    },
    {
        id: '7',
        name: 'Garnacho',
        avatar: '/assets/chat/young-player.jpg',
        lastMessage: 'Get more focus next week!',
        timestamp: '08:19 AM',
        online: true,
    },
];

export const messages: Message[] = [
    {
        id: '1',
        senderId: '1',
        senderName: 'A K M Shakib Hosssain',
        content: "Hey lads, tough game yesterday. Let's talk about what went wrong and how we can improve 😤.",
        timestamp: '08:34 AM',
        read: true,
    },
    {
        id: '2',
        senderId: '2',
        senderName: 'Shakib',
        content: 'Agreed, Harry 👍. We had some good moments, but we need to be more clinical in front of the goal 😬.',
        timestamp: '08:34 AM',
        read: true,
    },
    {
        id: '3',
        senderId: 'current',
        senderName: 'You',
        content:
            "We need to control the midfield and exploit their defensive weaknesses. Bruno and Paul, I'm counting on your creativity. Marcus and Jadon, stretch their defense wide. Use your pace and take on their full-backs.",
        timestamp: '08:34 AM',
        read: true,
    },
    {
        id: '4',
        senderId: '2',
        senderName: 'Shakib',
        content: 'Agreed, Harry 👍. We had some good moments, but we need to be more clinical in front of the goal 😬.',
        timestamp: '08:34 AM',
        read: true,
    },
];

export const mediaItems: MediaItem[] = [
    {
        id: 'm1',
        type: 'image',
        url: '/assets/chat/team-celebration.png',
        name: 'team_celebration.jpg',
        timestamp: '2 days ago',
    },
    {
        id: 'm2',
        type: 'image',
        url: '/assets/chat/training-session.jpg',
        name: 'training_session.jpg',
        timestamp: '3 days ago',
    },
    {
        id: 'm3',
        type: 'video',
        url: '/assets/chat/match-highlights.jpg',
        thumbnail: '/match-highlights.jpg',
        name: 'match_highlights.mp4',
        timestamp: '5 days ago',
    },
    {
        id: 'm4',
        type: 'image',
        url: '/assets/chat/diverse-team-outdoor.png',
        name: 'team_photo.jpg',
        timestamp: '1 week ago',
    },
    {
        id: 'm5',
        type: 'image',
        url: '/assets/chat/stadium-view.jpg',
        name: 'stadium_view.jpg',
        timestamp: '1 week ago',
    },
    {
        id: 'm6',
        type: 'video',
        url: '/assets/chat/goal-replay.jpg',
        thumbnail: '/goal-replay.jpg',
        name: 'goal_replay.mp4',
        timestamp: '2 weeks ago',
    },
];

export const documentItems: DocumentItem[] = [
    {
        id: 'd1',
        name: 'Training_Schedule_Q1.pdf',
        size: '2.4 MB',
        timestamp: 'Yesterday',
        fileType: 'PDF',
    },
    {
        id: 'd2',
        name: 'Match_Analysis_Report.docx',
        size: '1.8 MB',
        timestamp: '3 days ago',
        fileType: 'DOCX',
    },
    {
        id: 'd3',
        name: 'Team_Strategy.pptx',
        size: '5.2 MB',
        timestamp: '1 week ago',
        fileType: 'PPTX',
    },
    {
        id: 'd4',
        name: 'Player_Stats.xlsx',
        size: '890 KB',
        timestamp: '1 week ago',
        fileType: 'XLSX',
    },
    {
        id: 'd5',
        name: 'Contract_Details.pdf',
        size: '1.2 MB',
        timestamp: '2 weeks ago',
        fileType: 'PDF',
    },
];

export const audioItems: AudioItem[] = [
    {
        id: 'a1',
        name: 'Pre_Match_Briefing.mp3',
        duration: '12:34',
        timestamp: 'Yesterday',
    },
    {
        id: 'a2',
        name: 'Coach_Interview.mp3',
        duration: '8:45',
        timestamp: '2 days ago',
    },
    {
        id: 'a3',
        name: 'Team_Motivation.mp3',
        duration: '5:20',
        timestamp: '5 days ago',
    },
    {
        id: 'a4',
        name: 'Post_Match_Analysis.mp3',
        duration: '15:12',
        timestamp: '1 week ago',
    },
    {
        id: 'a5',
        name: 'Training_Instructions.mp3',
        duration: '10:30',
        timestamp: '1 week ago',
    },
];

export const linkItems: LinkItem[] = [
    {
        id: 'l1',
        url: '/assets/chathttps://example.com/match-preview',
        title: 'Match Preview: Upcoming Game Analysis',
        description: 'Detailed analysis of our next opponent and tactical approach',
        timestamp: 'Yesterday',
    },
    {
        id: 'l2',
        url: '/assets/chathttps://example.com/training-drills',
        title: 'Advanced Training Drills for Midfielders',
        description: 'Professional training techniques to improve ball control',
        timestamp: '2 days ago',
    },
    {
        id: 'l3',
        url: '/assets/chathttps://example.com/nutrition-guide',
        title: 'Athlete Nutrition Guide',
        description: 'Optimal diet plan for peak performance',
        timestamp: '5 days ago',
    },
    {
        id: 'l4',
        url: '/assets/chathttps://example.com/injury-prevention',
        title: 'Injury Prevention Strategies',
        timestamp: '1 week ago',
    },
    {
        id: 'l5',
        url: '/assets/chathttps://example.com/match-stats',
        title: 'Season Statistics Dashboard',
        description: 'Comprehensive stats and performance metrics',
        timestamp: '1 week ago',
    },
];

export const groupInfo: GroupInfo = {
    id: '2',
    name: 'TaskCo Official',
    avatar: '/assets/chat/red-circle-logo.png',
    memberCount: 5,
    onlineCount: 3,
    mediaCount: 71,
    documentCount: 7,
    audioCount: 9,
    linkCount: 10,
    mediaItems,
    documentItems,
    audioItems,
    linkItems,
    members: [
        {
            id: '1',
            name: 'A K M Shakib Hosssain',
            role: 'Member',
            initials: 'AS',
            color: 'bg-green-100 text-green-700',
        },
        {
            id: '2',
            name: 'Shaib Miah',
            role: 'Member',
            initials: 'SM',
            color: 'bg-orange-100 text-orange-700',
        },
        {
            id: '3',
            name: 'Jahagir Alam',
            role: 'Member',
            initials: 'JA',
            color: 'bg-red-100 text-red-700',
        },
        {
            id: '4',
            name: 'Tamzeed Hossain',
            role: 'Admin',
            initials: 'TH',
            color: 'bg-blue-100 text-blue-700',
        },
        {
            id: '5',
            name: 'Sakib Hasan',
            role: 'Member',
            initials: 'SH',
            color: 'bg-purple-100 text-purple-700',
        },
    ],
};
