File size: 5,351 Bytes
4bea261
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
export const TOPICS = [
  {
    name: "Vũ Trụ Marvel",
    slug: "vu-tru-marvel",
    description: "Những siêu anh hùng vĩ đại nhất Trái Đất đối đầu với các hiểm họa vũ trụ. Khám phá toàn bộ bom tấn của MCU tại đây.",
    color: "from-red-600/90 to-amber-600/90 shadow-red-500/20",
    icon: "fas fa-shield-alt",
    badge: "Siêu Anh Hùng",
    filter: (m) => {
      const name = (m.movie.name || '').toLowerCase();
      const origin = (m.movie.origin_name || '').toLowerCase();
      const slug = (m.movie.slug || '').toLowerCase();
      return name.includes('marvel') || name.includes('avengers') || name.includes('spider-man') || name.includes('iron man') || name.includes('thor') || name.includes('captain america') || name.includes('black panther') || name.includes('hulk') || name.includes('ant-man') || name.includes('doctor strange') || name.includes('guardian of the galaxy') || name.includes('guardians of the galaxy') ||
             origin.includes('marvel') || origin.includes('avengers') || origin.includes('spider-man') || origin.includes('iron man') || origin.includes('thor') || origin.includes('captain america') || origin.includes('black panther') || origin.includes('doctor strange') || origin.includes('guardians of the galaxy') ||
             slug.includes('marvel') || slug.includes('avengers') || slug.includes('spider-man') || slug.includes('iron-man') || slug.includes('thor') || slug.includes('captain-america');
    }
  },
  {
    name: "Thế Giới Netflix",
    slug: "the-gioi-netflix",
    description: "Bộ sưu tập các loạt phim truyền hình và phim điện ảnh nguyên bản (Netflix Originals) đột phá và gây bão toàn cầu.",
    color: "from-stone-950 via-red-950 to-red-900 shadow-red-600/10",
    icon: "fab fa-netflix",
    badge: "Netflix Hot",
    filter: (m) => {
      const name = (m.movie.name || '').toLowerCase();
      const origin = (m.movie.origin_name || '').toLowerCase();
      const desc = (m.movie.content || '').toLowerCase();
      return name.includes('netflix') || origin.includes('netflix') || desc.includes('netflix');
    }
  },
  {
    name: "Vũ Trụ DC Comics",
    slug: "vu-tru-dc-comics",
    description: "Những huyền thoại bóng tối của Gotham, chiến binh Metropolis và các vị thần Atlantis. Hành trình công lý của Liên Minh Công Lý.",
    color: "from-blue-600/90 to-indigo-950/90 shadow-blue-500/20",
    icon: "fas fa-bolt",
    badge: "DC Universe",
    filter: (m) => {
      const name = (m.movie.name || '').toLowerCase();
      const origin = (m.movie.origin_name || '').toLowerCase();
      const slug = (m.movie.slug || '').toLowerCase();
      return name.includes('dc comics') || name.includes('justice league') || name.includes('batman') || name.includes('superman') || name.includes('wonder woman') || name.includes('aquaman') || name.includes('flash') || name.includes('shazam') || name.includes('joker') || name.includes('suicide squad') ||
             origin.includes('justice league') || origin.includes('batman') || origin.includes('superman') || origin.includes('wonder woman') || origin.includes('aquaman') || origin.includes('flash') || origin.includes('shazam') || origin.includes('joker') || origin.includes('suicide squad') ||
             slug.includes('batman') || slug.includes('superman') || slug.includes('wonder-woman') || slug.includes('joker');
    }
  },
  {
    name: "Phim Chiếu Rạp Hot",
    slug: "phim-chieu-rap-hot",
    description: "Tổng hợp các siêu phẩm vừa oanh tạc các phòng vé trên khắp thế giới. Chất lượng hình ảnh sắc nét, vietsub hoàn chỉnh.",
    color: "from-purple-600/90 to-indigo-900/90 shadow-purple-500/20",
    icon: "fas fa-ticket-alt",
    badge: "Phòng Vé",
    filter: (m) => {
      const isChieuRap = m.movie.chieu_rap === true || m.movie.chieu_rap === 'true';
      const isCategory = m.movie.category?.some(c => c.slug === 'phim-chieu-rap' || c.slug === 'chieu-rap');
      const name = (m.movie.name || '').toLowerCase();
      const origin = (m.movie.origin_name || '').toLowerCase();
      return isChieuRap || isCategory || name.includes('chiếu rạp') || origin.includes('chiếu rạp') || name.includes('cinema') || origin.includes('cinema');
    }
  },
  {
    name: "K-Drama: Phim Hàn Sốt Dẻo",
    slug: "phim-han-quoc-hot",
    description: "Những câu chuyện lãng mạn đốn tim, những vụ án giật gân kịch tính từ xứ sở Kim Chi. Cập nhật các bộ phim truyền hình hot nhất.",
    color: "from-pink-600/90 to-rose-900/90 shadow-pink-500/20",
    icon: "fas fa-heart",
    badge: "K-Drama",
    filter: (m) => {
      return m.movie.country?.some(c => c.slug === 'han-quoc');
    }
  },
  {
    name: "Anime & Hoạt Hình Hot",
    slug: "anime-hoat-hinh-hot",
    description: "Dành riêng cho các tín đồ mê hoạt hình Nhật Bản và thế giới. Những chuyến phiêu lưu kỳ thú và những trận chiến huyền thoại.",
    color: "from-emerald-600/90 to-teal-900/90 shadow-emerald-500/20",
    icon: "fas fa-dragon",
    badge: "Anime",
    filter: (m) => {
      return m.movie.type === 'hoat-hinh' || m.movie.category?.some(c => c.slug === 'hoat-hinh' || c.slug === 'anime');
    }
  }
];