import type { AppInfo, AppCategory } from '~/types'

// 应用分类
export const categories: AppCategory[] = [
  { id: 'all', name: { 'zh-CN': '全部', 'en-US': 'All' } },
  { id: 'finance', name: { 'zh-CN': '金融', 'en-US': 'Finance' } },
  { id: 'social', name: { 'zh-CN': '社交', 'en-US': 'Social' } },
  { id: 'tools', name: { 'zh-CN': '工具', 'en-US': 'Tools' } },
  { id: 'entertainment', name: { 'zh-CN': '娱乐', 'en-US': 'Entertainment' } },
]

// 应用列表
export const apps: AppInfo[] = [
  {
    id: 'riwsan-app',
    name: 'Riwsan',
    icon: 'https://pub-e6e293168296455aa6fb1b7148767038.r2.dev/riwa.png',
    shortDescription: {
      'zh-CN': '数字资产交易平台',
      'en-US': 'Digital Asset Trading Platform',
    },
    description: {
      'zh-CN': 'Riwsan 是一个安全、快速的数字资产交易平台，提供专业的交易工具和实时行情数据。',
      'en-US': 'Riwsan is a secure and fast digital asset trading platform with professional trading tools and real-time market data.',
    },
    category: 'finance',
    version: '1.0.0',
    buildNumber: '100',
    releaseDate: '2025-12-30',
    releaseNotes: {
      'zh-CN': [
        '🎉 首次发布',
        '✨ 全新的用户界面设计',
        '🔐 增强的安全特性',
        '⚡ 性能优化，响应速度提升 30%',
        '🌍 支持多语言切换',
        '🌙 深色模式支持',
      ],
      'en-US': [
        '🎉 Initial Release',
        '✨ Brand new user interface',
        '🔐 Enhanced security features',
        '⚡ Performance optimization, 30% faster response',
        '🌍 Multi-language support',
        '🌙 Dark mode support',
      ],
    },
    downloads: {
      ios: 'https://www.riwsan1.com/pwa_download',
      android: 'https://www.riwsan1.com/pwa_download',
      h5: 'https://www.riwsan1.com/pwa_download',
    },
    size: {
      ios: '45.2 MB',
      android: '38.6 MB',
    },
    stats: {
      total: 12580,
      today: 156,
      ios: 7234,
      android: 5346,
    },
  },
  {
    id: 'riwsan-wallet',
    name: 'Riwsan 钱包',
    icon: 'https://pub-e6e293168296455aa6fb1b7148767038.r2.dev/riwa.png',
    shortDescription: {
      'zh-CN': '安全的数字资产钱包',
      'en-US': 'Secure Digital Asset Wallet',
    },
    description: {
      'zh-CN': 'Riwsan Wallet 是一个去中心化的数字资产钱包，支持多链资产管理，私钥由您掌控。',
      'en-US': 'Riwsan Wallet is a decentralized digital asset wallet supporting multi-chain asset management with your keys under your control.',
    },
    category: 'finance',
    version: '2.1.5',
    buildNumber: '215',
    releaseDate: '2025-12-28',
    releaseNotes: {
      'zh-CN': [
        '🔐 增强了安全性',
        '✨ 支持更多区块链网络',
        '🐛 修复了若干已知问题',
        '⚡ 交易速度优化',
      ],
      'en-US': [
        '🔐 Enhanced security',
        '✨ Support for more blockchain networks',
        '🐛 Fixed several known issues',
        '⚡ Transaction speed optimization',
      ],
    },
    downloads: {
      ios: 'https://example.com/wallet-ios-2.1.5.ipa',
      android: 'https://example.com/wallet-android-2.1.5.apk',
    },
    size: {
      ios: '32.8 MB',
      android: '28.3 MB',
    },
    stats: {
      total: 8920,
      today: 89,
      ios: 5230,
      android: 3690,
    },
  },
  {
    id: 'chat-freely',
    name: '畅聊',
    icon: 'https://pub-e6e293168296455aa6fb1b7148767038.r2.dev/chat-origin.png',
    shortDescription: {
      'zh-CN': '加密即时通讯工具',
      'en-US': 'Encrypted Instant Messaging',
    },
    description: {
      'zh-CN': 'ChatFreely 提供端到端加密的即时通讯服务，保护您的隐私安全。',
      'en-US': 'ChatFreely provides end-to-end encrypted instant messaging to protect your privacy.',
    },
    category: 'social',
    version: '3.0.2',
    buildNumber: '302',
    releaseDate: '2025-12-25',
    releaseNotes: {
      'zh-CN': [
        '💬 优化了消息同步机制',
        '📎 支持发送更多类型的文件',
        '🎨 界面美化',
        '🔊 新增语音消息功能',
      ],
      'en-US': [
        '💬 Optimized message sync',
        '📎 Support for more file types',
        '🎨 UI improvements',
        '🔊 Added voice message feature',
      ],
    },
    downloads: {
      ios: 'https://chatfreely.riwsan1.com/h5/#/pages/pwa_download/index',
      android: 'https://chatfreely.riwsan1.com/h5/#/pages/pwa_download/index',
      h5: 'https://chatfreely.riwsan1.com/h5/#/pages/pwa_download/index',
    },
    size: {
      android: '54.2 MB',
    },
    stats: {
      total: 15430,
      today: 203,
      ios: 8920,
      android: 6510,
    },
  },
  {
    id: 'riwsan-conference',
    name: 'Riwsan 会议',
    icon: 'https://pub-e6e293168296455aa6fb1b7148767038.r2.dev/riwa.png',
    shortDescription: {
      'zh-CN': '会议与协作工具',
      'en-US': 'Conference and Collaboration Tool',
    },
    description: {
      'zh-CN': 'Riwsan Conference 提供端到端加密的即时通讯服务，保护您的隐私安全。',
      'en-US': 'Riwsan Conference provides end-to-end encrypted instant messaging to protect your privacy.',
    },
    category: 'social',
    version: '1.0.2',
    buildNumber: '102',
    releaseDate: '2025-12-25',
    releaseNotes: {
      'zh-CN': [
        '🎥 优化了视频会议质量',
        '🗓️ 新增会议日程管理功能',
        '🔔 提升了通知的及时性',
        '🐛 修复了一些已知问题',
      ],
      'en-US': [
        '🎥 Improved video conference quality',
        '🗓️ Added meeting schedule management',
        '🔔 Improved notification timeliness',
        '🐛 Fixed some known issues',
      ],
    },
    downloads: {
      ios: 'https://example.com/conference-ios-1.0.2.ipa',
      android: 'https://example.com/conference-android-1.0.2.apk',
      h5: 'https://conference.riwa.com',
    },
    size: {
      ios: '51.1 MB',
      android: '32.8 MB',
    },
    stats: {
      total: 15430,
      today: 203,
      ios: 8920,
      android: 6510,
    },
  },
  {
    id: 'wechat',
    name: '微信',
    icon: 'https://pp.myapp.com/ma_icon/0/icon_10910_1765531945/256',
    shortDescription: {
      'zh-CN': '多功能即时通讯工具',
      'en-US': 'Multi-functional Instant Messaging',
    },
    description: {
      'zh-CN': '微信是一款跨平台的通讯工具，支持单人、多人参与，通过手机网络发送语音、图片、视频和文字。',
      'en-US': 'WeChat is a cross-platform communication tool that supports voice, pictures, videos and text messages.',
    },
    category: 'social',
    version: '8.0.52',
    buildNumber: '8052',
    releaseDate: '2026-01-01',
    releaseNotes: {
      'zh-CN': [
        '✨ 优化了部分功能体验',
        '🐛 修复了一些已知问题',
        '⚡ 提升了应用性能',
      ],
      'en-US': [
        '✨ Optimized some features',
        '🐛 Fixed some known issues',
        '⚡ Improved app performance',
      ],
    },
    downloads: {
      android: 'https://weixin.qq.com/',
      h5: 'https://wx.qq.com',
    },
    size: {
      android: '286 MB',
    },
    stats: {
      total: 980000,
      today: 2500,
      ios: 0,
      android: 980000,
    },
  },
  {
    id: 'qq-music',
    name: 'QQ音乐',
    icon: 'https://pp.myapp.com/ma_icon/0/icon_6259_1766454483/256',
    shortDescription: {
      'zh-CN': '海量正版音乐在线收听',
      'en-US': 'Massive Licensed Music Streaming',
    },
    description: {
      'zh-CN': 'QQ音乐是腾讯推出的一款网络音乐服务产品，提供海量音乐在线试听、最流行音乐在线首发、歌词翻译等特色功能。',
      'en-US': 'QQ Music is a music streaming service by Tencent, offering massive music library, exclusive releases, and lyrics translation.',
    },
    category: 'entertainment',
    version: '13.5.0',
    buildNumber: '1350',
    releaseDate: '2025-12-29',
    releaseNotes: {
      'zh-CN': [
        '🎵 新增AI歌单推荐功能',
        '🎧 优化音质体验',
        '✨ 界面全新升级',
        '🐛 修复已知问题',
      ],
      'en-US': [
        '🎵 Added AI playlist recommendation',
        '🎧 Optimized audio quality',
        '✨ Brand new interface',
        '🐛 Fixed known issues',
      ],
    },
    downloads: {
      ios: 'https://y.qq.com/download/download.html',
      android: 'https://y.qq.com/download/download.html',
      h5: 'https://y.qq.com',
    },
    size: {
      ios: '156 MB',
      android: '142 MB',
    },
    stats: {
      total: 560000,
      today: 1280,
      ios: 320000,
      android: 240000,
    },
  },
  {
    id: 'amap',
    name: '高德地图',
    icon: 'https://pp.myapp.com/ma_icon/0/icon_7678_1765965797/256',
    shortDescription: {
      'zh-CN': '专业地图导航服务',
      'en-US': 'Professional Map & Navigation',
    },
    description: {
      'zh-CN': '高德地图是中国领先的数字地图内容、导航和位置服务解决方案提供商，拥有导航电子地图甲级测绘资质。',
      'en-US': 'AutoNavi is China\'s leading provider of digital map content, navigation and location services.',
    },
    category: 'tools',
    version: '13.19.0',
    buildNumber: '1319',
    releaseDate: '2025-12-30',
    releaseNotes: {
      'zh-CN': [
        '🗺️ 地图数据更新',
        '🚗 导航功能优化',
        '🎯 定位精度提升',
        '⚡ 性能优化',
      ],
      'en-US': [
        '🗺️ Map data updated',
        '🚗 Navigation improved',
        '🎯 Enhanced location accuracy',
        '⚡ Performance optimization',
      ],
    },
    downloads: {
      ios: 'https://mobile.amap.com/',
      android: 'https://mobile.amap.com/',
    },
    size: {
      ios: '298 MB',
      android: '265 MB',
    },
    stats: {
      total: 720000,
      today: 1850,
      ios: 420000,
      android: 300000,
    },
  },
  {
    id: 'alipay',
    name: '支付宝',
    icon: 'https://pp.myapp.com/ma_icon/0/icon_5294_1766996795/256',
    shortDescription: {
      'zh-CN': '生活好 支付宝',
      'en-US': 'Alipay - Digital Wallet',
    },
    description: {
      'zh-CN': '支付宝是全球领先的独立第三方支付平台，致力于为用户打造安全、便捷的支付及生活服务平台。',
      'en-US': 'Alipay is a leading independent third-party payment platform, committed to creating a secure and convenient payment and life service platform.',
    },
    category: 'finance',
    version: '10.6.36',
    buildNumber: '10636',
    releaseDate: '2026-01-02',
    releaseNotes: {
      'zh-CN': [
        '💳 支付体验优化',
        '🔐 安全性能提升',
        '✨ 新增生活服务功能',
        '⚡ 应用性能优化',
      ],
      'en-US': [
        '💳 Payment experience optimized',
        '🔐 Enhanced security',
        '✨ Added new life services',
        '⚡ App performance improved',
      ],
    },
    downloads: {
      ios: 'https://render.alipay.com/p/yuyan/180020010001196791/home.html',
      android: 'https://render.alipay.com/p/yuyan/180020010001196791/home.html',
    },
    size: {
      ios: '388 MB',
      android: '352 MB',
    },
    stats: {
      total: 1200000,
      today: 3200,
      ios: 680000,
      android: 520000,
    },
  },
  {
    id: 'jd',
    name: '京东',
    icon: 'https://pp.myapp.com/ma_icon/0/icon_7193_1766372100/256',
    shortDescription: {
      'zh-CN': '多快好省 品质保障',
      'en-US': 'JD.com - Online Shopping',
    },
    description: {
      'zh-CN': '京东是中国自营式电商企业，为用户提供正品低价、便捷的购物体验，配送速度快、服务有保障。',
      'en-US': 'JD.com is China\'s self-operated e-commerce company, providing genuine products, competitive prices, and fast delivery.',
    },
    category: 'tools',
    version: '12.7.2',
    buildNumber: '1272',
    releaseDate: '2025-12-31',
    releaseNotes: {
      'zh-CN': [
        '🛍️ 购物体验优化',
        '📦 物流信息实时更新',
        '💰 新增更多优惠活动',
        '🐛 修复部分问题',
      ],
      'en-US': [
        '🛍️ Shopping experience optimized',
        '📦 Real-time logistics updates',
        '💰 Added more promotions',
        '🐛 Fixed some issues',
      ],
    },
    downloads: {
      ios: 'https://app.jd.com/',
      android: 'https://app.jd.com/',
      h5: 'https://m.jd.com',
    },
    size: {
      ios: '268 MB',
      android: '235 MB',
    },
    stats: {
      total: 890000,
      today: 2100,
      ios: 510000,
      android: 380000,
    },
  },
  {
    id: 'douyin',
    name: '抖音',
    icon: 'https://pp.myapp.com/ma_icon/0/icon_42350811_1766548849/256',
    shortDescription: {
      'zh-CN': '记录美好生活',
      'en-US': 'Record Beautiful Life',
    },
    description: {
      'zh-CN': '抖音是一款音乐创意短视频社交软件，用户可以通过这款软件拍摄15秒的音乐短视频，分享生活的精彩瞬间。',
      'en-US': 'Douyin is a music creative short video social app where users can shoot 15-second music videos and share wonderful moments.',
    },
    category: 'entertainment',
    version: '29.3.0',
    buildNumber: '2930',
    releaseDate: '2026-01-02',
    releaseNotes: {
      'zh-CN': [
        '📹 视频拍摄体验优化',
        '✨ 新增AI特效功能',
        '🎵 音乐库更新',
        '⚡ 性能提升',
      ],
      'en-US': [
        '📹 Video shooting experience optimized',
        '✨ Added AI effects',
        '🎵 Music library updated',
        '⚡ Performance improved',
      ],
    },
    downloads: {
      ios: 'https://www.douyin.com/download',
      android: 'https://www.douyin.com/download',
      h5: 'https://www.douyin.com',
    },
    size: {
      ios: '428 MB',
      android: '385 MB',
    },
    stats: {
      total: 1580000,
      today: 4200,
      ios: 920000,
      android: 660000,
    },
  },
  {
    id: 'taobao',
    name: '淘宝',
    icon: 'https://pp.myapp.com/ma_icon/0/icon_5080_1767330731/256',
    shortDescription: {
      'zh-CN': '淘到你说好',
      'en-US': 'Taobao - Online Shopping',
    },
    description: {
      'zh-CN': '淘宝网是亚洲最大的网络零售商圈，致力于打造全球领先的个人交易网上平台。',
      'en-US': 'Taobao is Asia\'s largest online retail platform, committed to building the world\'s leading online personal trading platform.',
    },
    category: 'tools',
    version: '10.39.20',
    buildNumber: '103920',
    releaseDate: '2026-01-01',
    releaseNotes: {
      'zh-CN': [
        '🛒 购物车体验优化',
        '🔍 搜索功能增强',
        '💰 支付流程简化',
        '🐛 修复已知问题',
      ],
      'en-US': [
        '🛒 Shopping cart optimized',
        '🔍 Search enhanced',
        '💰 Payment process simplified',
        '🐛 Fixed known issues',
      ],
    },
    downloads: {
      ios: 'https://market.m.taobao.com/app/tb-app',
      android: 'https://market.m.taobao.com/app/tb-app',
      h5: 'https://m.taobao.com',
    },
    size: {
      ios: '356 MB',
      android: '318 MB',
    },
    stats: {
      total: 1420000,
      today: 3800,
      ios: 820000,
      android: 600000,
    },
  },
  {
    id: 'meituan',
    name: '美团',
    icon: 'https://pp.myapp.com/ma_icon/0/icon_11109_1766989314/256',
    shortDescription: {
      'zh-CN': '美好生活小帮手',
      'en-US': 'Meituan - Life Service',
    },
    description: {
      'zh-CN': '美团提供外卖、酒店、旅游、电影、打车等各类生活服务，让您的生活更加便捷美好。',
      'en-US': 'Meituan provides food delivery, hotel booking, travel, movie tickets, ride-hailing and other life services.',
    },
    category: 'tools',
    version: '7.178.0',
    buildNumber: '7178',
    releaseDate: '2025-12-30',
    releaseNotes: {
      'zh-CN': [
        '🍔 外卖体验优化',
        '🏨 酒店预订功能增强',
        '🎬 电影购票更便捷',
        '⚡ 应用启动速度提升',
      ],
      'en-US': [
        '🍔 Food delivery optimized',
        '🏨 Hotel booking enhanced',
        '🎬 Movie ticket purchase improved',
        '⚡ App launch speed improved',
      ],
    },
    downloads: {
      ios: 'https://i.meituan.com/mobile/down',
      android: 'https://i.meituan.com/mobile/down',
      h5: 'https://i.meituan.com',
    },
    size: {
      ios: '298 MB',
      android: '265 MB',
    },
    stats: {
      total: 980000,
      today: 2680,
      ios: 560000,
      android: 420000,
    },
  },
  {
    id: 'bilibili',
    name: '哔哩哔哩',
    icon: 'https://pp.myapp.com/ma_icon/0/icon_73622_1766565374/256',
    shortDescription: {
      'zh-CN': '你感兴趣的视频都在B站',
      'en-US': 'Bilibili - Videos & Live',
    },
    description: {
      'zh-CN': '哔哩哔哩是中国年轻世代高度聚集的文化社区和视频平台，拥有动画、番剧、国创、音乐、舞蹈、游戏等多元化内容。',
      'en-US': 'Bilibili is a cultural community and video platform where young Chinese generations gather, with diverse content including anime, music, dance, and games.',
    },
    category: 'entertainment',
    version: '8.3.0',
    buildNumber: '830',
    releaseDate: '2025-12-29',
    releaseNotes: {
      'zh-CN': [
        '📺 播放体验优化',
        '💬 评论互动增强',
        '🎮 直播功能完善',
        '✨ 界面细节优化',
      ],
      'en-US': [
        '📺 Playback experience optimized',
        '💬 Comment interaction enhanced',
        '🎮 Live streaming improved',
        '✨ UI details optimized',
      ],
    },
    downloads: {
      ios: 'https://app.bilibili.com/',
      android: 'https://app.bilibili.com/',
      h5: 'https://m.bilibili.com',
    },
    size: {
      ios: '198 MB',
      android: '165 MB',
    },
    stats: {
      total: 780000,
      today: 2180,
      ios: 450000,
      android: 330000,
    },
  },
  {
    id: 'didi',
    name: '滴滴出行',
    icon: 'https://pp.myapp.com/ma_icon/0/icon_288717_1766721625/256',
    shortDescription: {
      'zh-CN': '移动出行平台',
      'en-US': 'DiDi - Ride Hailing',
    },
    description: {
      'zh-CN': '滴滴出行是全球领先的移动出行平台，为超过5.5亿用户提供出租车、专车、快车、顺风车等多元化出行服务。',
      'en-US': 'DiDi is the world\'s leading mobile transportation platform, providing diversified travel services to over 550 million users.',
    },
    category: 'tools',
    version: '7.2.8',
    buildNumber: '728',
    releaseDate: '2026-01-01',
    releaseNotes: {
      'zh-CN': [
        '🚗 叫车体验优化',
        '🛡️ 安全功能增强',
        '💰 支付方式更多样',
        '⚡ 性能优化',
      ],
      'en-US': [
        '🚗 Ride-hailing optimized',
        '🛡️ Safety features enhanced',
        '💰 More payment options',
        '⚡ Performance improved',
      ],
    },
    downloads: {
      ios: 'https://www.didiglobal.com/download',
      android: 'https://www.didiglobal.com/download',
    },
    size: {
      ios: '235 MB',
      android: '198 MB',
    },
    stats: {
      total: 650000,
      today: 1850,
      ios: 380000,
      android: 270000,
    },
  },
  {
    id: 'xiaohongshu',
    name: '小红书',
    icon: 'https://pp.myapp.com/ma_icon/0/icon_10868231_1767147344/256',
    shortDescription: {
      'zh-CN': '标记我的生活',
      'en-US': 'Xiaohongshu - Lifestyle Platform',
    },
    description: {
      'zh-CN': '小红书是年轻人的生活方式平台，在这里发现真实、向上、多元的世界，找到潮流的生活方式。',
      'en-US': 'Xiaohongshu is a lifestyle platform for young people to discover authentic, positive, and diverse world.',
    },
    category: 'social',
    version: '8.38.0',
    buildNumber: '8380',
    releaseDate: '2025-12-31',
    releaseNotes: {
      'zh-CN': [
        '📝 笔记发布体验优化',
        '🔍 搜索算法升级',
        '🛍️ 购物功能完善',
        '✨ 界面美化',
      ],
      'en-US': [
        '📝 Note publishing optimized',
        '🔍 Search algorithm upgraded',
        '🛍️ Shopping features improved',
        '✨ UI beautified',
      ],
    },
    downloads: {
      ios: 'https://www.xiaohongshu.com/download',
      android: 'https://www.xiaohongshu.com/download',
      h5: 'https://www.xiaohongshu.com',
    },
    size: {
      ios: '268 MB',
      android: '235 MB',
    },
    stats: {
      total: 620000,
      today: 1680,
      ios: 380000,
      android: 240000,
    },
  },
  {
    id: 'eleme',
    name: '饿了么',
    icon: 'https://pp.myapp.com/ma_icon/0/icon_1029694_1767167365/256',
    shortDescription: {
      'zh-CN': '外卖点餐 送啥都快',
      'en-US': 'Ele.me - Food Delivery',
    },
    description: {
      'zh-CN': '饿了么是中国知名的在线外卖订餐平台，提供各类美食外卖、生鲜水果、超市百货等配送服务。',
      'en-US': 'Ele.me is a well-known online food ordering platform in China, providing various food delivery and grocery services.',
    },
    category: 'tools',
    version: '10.19.28',
    buildNumber: '101928',
    releaseDate: '2025-12-30',
    releaseNotes: {
      'zh-CN': [
        '🍕 点餐流程优化',
        '🚀 配送速度提升',
        '💰 优惠活动更多',
        '⚡ 性能优化',
      ],
      'en-US': [
        '🍕 Ordering process optimized',
        '🚀 Delivery speed improved',
        '💰 More promotions',
        '⚡ Performance improved',
      ],
    },
    downloads: {
      ios: 'https://www.ele.me/download',
      android: 'https://www.ele.me/download',
      h5: 'https://h5.ele.me',
    },
    size: {
      ios: '258 MB',
      android: '228 MB',
    },
    stats: {
      total: 520000,
      today: 1450,
      ios: 310000,
      android: 210000,
    },
  },
  {
    id: 'pinduoduo',
    name: '拼多多',
    icon: 'https://pp.myapp.com/ma_icon/0/icon_12181027_1767074903/256',
    shortDescription: {
      'zh-CN': '多实惠 多乐趣',
      'en-US': 'Pinduoduo - Social Shopping',
    },
    description: {
      'zh-CN': '拼多多是新电商开创者，致力于为消费者提供物有所值的商品和有趣的购物体验。',
      'en-US': 'Pinduoduo is a pioneer of new e-commerce, committed to providing consumers with value-for-money products and fun shopping experience.',
    },
    category: 'tools',
    version: '6.96.0',
    buildNumber: '6960',
    releaseDate: '2026-01-02',
    releaseNotes: {
      'zh-CN': [
        '🛒 拼单功能优化',
        '💰 百亿补贴升级',
        '📦 物流信息完善',
        '✨ 界面体验提升',
      ],
      'en-US': [
        '🛒 Group buying optimized',
        '💰 Subsidy program upgraded',
        '📦 Logistics info improved',
        '✨ UI experience enhanced',
      ],
    },
    downloads: {
      ios: 'https://mobile.yangkeduo.com',
      android: 'https://mobile.yangkeduo.com',
      h5: 'https://mobile.yangkeduo.com',
    },
    size: {
      ios: '218 MB',
      android: '185 MB',
    },
    stats: {
      total: 890000,
      today: 2380,
      ios: 520000,
      android: 370000,
    },
  },
  {
    id: 'kuaishou',
    name: '快手',
    icon: 'https://pp.myapp.com/ma_icon/0/icon_2608_1767000503/256',
    shortDescription: {
      'zh-CN': '看见每一种生活',
      'en-US': 'Kuaishou - Short Video',
    },
    description: {
      'zh-CN': '快手是一个记录和分享生活的短视频平台，在这里看见真实有趣的世界，发现更多精彩。',
      'en-US': 'Kuaishou is a short video platform for recording and sharing life, where you can see the real and interesting world.',
    },
    category: 'entertainment',
    version: '12.3.30',
    buildNumber: '12330',
    releaseDate: '2025-12-31',
    releaseNotes: {
      'zh-CN': [
        '📹 拍摄功能增强',
        '🎬 视频编辑优化',
        '💬 互动体验提升',
        '⚡ 性能优化',
      ],
      'en-US': [
        '📹 Shooting features enhanced',
        '🎬 Video editing optimized',
        '💬 Interaction improved',
        '⚡ Performance optimized',
      ],
    },
    downloads: {
      ios: 'https://www.kuaishou.com/download',
      android: 'https://www.kuaishou.com/download',
      h5: 'https://www.kuaishou.com',
    },
    size: {
      ios: '358 MB',
      android: '315 MB',
    },
    stats: {
      total: 950000,
      today: 2580,
      ios: 560000,
      android: 390000,
    },
  },
  {
    id: 'baidu',
    name: '百度',
    icon: 'https://pp.myapp.com/ma_icon/0/icon_4859_1766989155/256',
    shortDescription: {
      'zh-CN': '百度一下 你就知道',
      'en-US': 'Baidu - Search Engine',
    },
    description: {
      'zh-CN': '百度是全球最大的中文搜索引擎，致力于让网民更便捷地获取信息，找到所求。',
      'en-US': 'Baidu is the world\'s largest Chinese search engine, committed to making it easier for users to access information.',
    },
    category: 'tools',
    version: '14.5.0',
    buildNumber: '1450',
    releaseDate: '2025-12-29',
    releaseNotes: {
      'zh-CN': [
        '🔍 搜索结果优化',
        '🤖 AI功能升级',
        '📰 信息流推荐增强',
        '⚡ 搜索速度提升',
      ],
      'en-US': [
        '🔍 Search results optimized',
        '🤖 AI features upgraded',
        '📰 Feed recommendation enhanced',
        '⚡ Search speed improved',
      ],
    },
    downloads: {
      ios: 'https://shouji.baidu.com',
      android: 'https://shouji.baidu.com',
      h5: 'https://m.baidu.com',
    },
    size: {
      ios: '268 MB',
      android: '235 MB',
    },
    stats: {
      total: 720000,
      today: 1980,
      ios: 420000,
      android: 300000,
    },
  },
  {
    id: 'netease-music',
    name: '网易云音乐',
    icon: 'https://pp.myapp.com/ma_icon/0/icon_1168851_1766303183/256',
    shortDescription: {
      'zh-CN': '音乐的力量',
      'en-US': 'NetEase Cloud Music',
    },
    description: {
      'zh-CN': '网易云音乐是一款专注于发现与分享的音乐产品，依托专业音乐人、DJ、好友推荐及社交功能。',
      'en-US': 'NetEase Cloud Music is a music product focused on discovery and sharing, relying on professional musicians, DJs, and social functions.',
    },
    category: 'entertainment',
    version: '9.1.60',
    buildNumber: '9160',
    releaseDate: '2026-01-01',
    releaseNotes: {
      'zh-CN': [
        '🎵 音质体验提升',
        '📻 播客内容丰富',
        '💬 评论区优化',
        '✨ 界面焕新',
      ],
      'en-US': [
        '🎵 Audio quality improved',
        '📻 Podcast content enriched',
        '💬 Comment section optimized',
        '✨ UI refreshed',
      ],
    },
    downloads: {
      ios: 'https://music.163.com/#/download',
      android: 'https://music.163.com/#/download',
      h5: 'https://music.163.com',
    },
    size: {
      ios: '328 MB',
      android: '285 MB',
    },
    stats: {
      total: 680000,
      today: 1880,
      ios: 410000,
      android: 270000,
    },
  },
  {
    id: 'xianyu',
    name: '闲鱼',
    icon: 'https://pp.myapp.com/ma_icon/0/icon_42335780_1766650370/256',
    shortDescription: {
      'zh-CN': '挂闲鱼 轻松卖闲置',
      'en-US': 'Xianyu - Second-hand Market',
    },
    description: {
      'zh-CN': '闲鱼是阿里巴巴旗下闲置交易平台，让你的闲置物品快速流通起来，买到物美价廉的好东西。',
      'en-US': 'Xianyu is an idle trading platform under Alibaba, allowing your idle items to circulate quickly.',
    },
    category: 'tools',
    version: '7.15.50',
    buildNumber: '71550',
    releaseDate: '2025-12-31',
    releaseNotes: {
      'zh-CN': [
        '🛍️ 发布闲置更便捷',
        '💬 聊天功能优化',
        '🔍 搜索推荐升级',
        '⚡ 性能优化',
      ],
      'en-US': [
        '🛍️ Posting items easier',
        '💬 Chat function optimized',
        '🔍 Search recommendation upgraded',
        '⚡ Performance optimized',
      ],
    },
    downloads: {
      ios: 'https://2.taobao.com',
      android: 'https://2.taobao.com',
      h5: 'https://h5.m.taobao.com/app/idle-fish',
    },
    size: {
      ios: '198 MB',
      android: '165 MB',
    },
    stats: {
      total: 480000,
      today: 1320,
      ios: 290000,
      android: 190000,
    },
  },
  {
    id: 'zhihu',
    name: '知乎',
    icon: 'https://pp.myapp.com/ma_icon/0/icon_1272392_1766560881/256',
    shortDescription: {
      'zh-CN': '有问题 就会有答案',
      'en-US': 'Zhihu - Q&A Platform',
    },
    description: {
      'zh-CN': '知乎是中文互联网高质量的问答社区和创作者聚集的原创内容平台，用户可以在这里获取有价值的信息。',
      'en-US': 'Zhihu is a high-quality Q&A community and original content platform where creators gather on the Chinese Internet.',
    },
    category: 'social',
    version: '10.31.0',
    buildNumber: '10310',
    releaseDate: '2025-12-30',
    releaseNotes: {
      'zh-CN': [
        '📝 回答编辑优化',
        '🔍 内容推荐改进',
        '💬 评论互动增强',
        '✨ 阅读体验提升',
      ],
      'en-US': [
        '📝 Answer editing optimized',
        '🔍 Content recommendation improved',
        '💬 Comment interaction enhanced',
        '✨ Reading experience improved',
      ],
    },
    downloads: {
      ios: 'https://www.zhihu.com/app',
      android: 'https://www.zhihu.com/app',
      h5: 'https://www.zhihu.com',
    },
    size: {
      ios: '228 MB',
      android: '195 MB',
    },
    stats: {
      total: 520000,
      today: 1420,
      ios: 320000,
      android: 200000,
    },
  },
  {
    id: 'weibo',
    name: '微博',
    icon: 'https://pp.myapp.com/ma_icon/0/icon_9926_1767175442/256',
    shortDescription: {
      'zh-CN': '随时随地发现新鲜事',
      'en-US': 'Weibo - Social Media',
    },
    description: {
      'zh-CN': '微博是一个基于用户关系信息分享、传播以及获取的平台，让你随时随地发现新鲜事。',
      'en-US': 'Weibo is a platform based on user relationships for sharing, spreading and obtaining information.',
    },
    category: 'social',
    version: '14.3.1',
    buildNumber: '14310',
    releaseDate: '2026-01-01',
    releaseNotes: {
      'zh-CN': [
        '📱 信息流优化',
        '📸 图片浏览增强',
        '💬 评论功能完善',
        '⚡ 性能提升',
      ],
      'en-US': [
        '📱 Feed optimized',
        '📸 Image browsing enhanced',
        '💬 Comment features improved',
        '⚡ Performance improved',
      ],
    },
    downloads: {
      ios: 'https://weibo.com/download',
      android: 'https://weibo.com/download',
      h5: 'https://m.weibo.cn',
    },
    size: {
      ios: '338 MB',
      android: '295 MB',
    },
    stats: {
      total: 850000,
      today: 2280,
      ios: 510000,
      android: 340000,
    },
  },
  {
    id: 'youku',
    name: '优酷',
    icon: 'https://pp.myapp.com/ma_icon/0/icon_6217_1765711768/256',
    shortDescription: {
      'zh-CN': '这世界很酷',
      'en-US': 'Youku - Video Platform',
    },
    description: {
      'zh-CN': '优酷是中国领先的视频播放平台，提供视频播放、视频发布、视频搜索等服务。',
      'en-US': 'Youku is China\'s leading video platform, providing video playback, publishing, and search services.',
    },
    category: 'entertainment',
    version: '10.3.30',
    buildNumber: '10330',
    releaseDate: '2025-12-29',
    releaseNotes: {
      'zh-CN': [
        '📺 视频清晰度提升',
        '🎬 内容推荐优化',
        '💎 会员体验升级',
        '⚡ 缓存速度加快',
      ],
      'en-US': [
        '📺 Video quality improved',
        '🎬 Content recommendation optimized',
        '💎 Member experience upgraded',
        '⚡ Cache speed increased',
      ],
    },
    downloads: {
      ios: 'https://mobile.youku.com',
      android: 'https://mobile.youku.com',
      h5: 'https://www.youku.com',
    },
    size: {
      ios: '268 MB',
      android: '235 MB',
    },
    stats: {
      total: 460000,
      today: 1240,
      ios: 280000,
      android: 180000,
    },
  },
  {
    id: 'douban',
    name: '豆瓣',
    icon: 'https://pp.myapp.com/ma_icon/0/icon_10909968_1766129808/256',
    shortDescription: {
      'zh-CN': '我们的精神角落',
      'en-US': 'Douban - Cultural Community',
    },
    description: {
      'zh-CN': '豆瓣是一个文化产品的推荐、评论和交流社区，提供书籍、电影、音乐等文化内容的评价和讨论。',
      'en-US': 'Douban is a community for cultural product recommendations, reviews and exchanges, providing reviews and discussions of books, movies, music, etc.',
    },
    category: 'social',
    version: '7.60.0',
    buildNumber: '7600',
    releaseDate: '2025-12-30',
    releaseNotes: {
      'zh-CN': [
        '📚 阅读体验优化',
        '🎬 影评功能增强',
        '💬 小组讨论改进',
        '✨ 界面细节优化',
      ],
      'en-US': [
        '📚 Reading experience optimized',
        '🎬 Review function enhanced',
        '💬 Group discussion improved',
        '✨ UI details optimized',
      ],
    },
    downloads: {
      ios: 'https://www.douban.com/doubanapp',
      android: 'https://www.douban.com/doubanapp',
      h5: 'https://m.douban.com',
    },
    size: {
      ios: '128 MB',
      android: '105 MB',
    },
    stats: {
      total: 280000,
      today: 720,
      ios: 180000,
      android: 100000,
    },
  },
]

// 获取所有应用
export function getAllApps(): AppInfo[] {
  return apps
}

// 根据ID获取应用
export function getAppById(id: string): AppInfo | undefined {
  return apps.find(app => app.id === id)
}

// 根据分类获取应用
export function getAppsByCategory(categoryId: string): AppInfo[] {
  if (categoryId === 'all') {
    return apps
  }
  return apps.filter(app => app.category === categoryId)
}

// 搜索应用
export function searchApps(keyword: string, locale: 'zh-CN' | 'en-US' = 'zh-CN'): AppInfo[] {
  const lowerKeyword = keyword.toLowerCase()
  return apps.filter(app =>
    app.name.toLowerCase().includes(lowerKeyword)
    || app.shortDescription[locale].toLowerCase().includes(lowerKeyword)
    || app.description[locale].toLowerCase().includes(lowerKeyword),
  )
}
