import '../models/reading_exercise_model.dart'; class ReadingStaticData { // 阅读分类数据 static const List categories = [ ReadingCategory( id: 'news', name: '新闻资讯', description: '最新的国际新闻和时事报道', icon: 'newspaper', articleCount: 25, type: ReadingExerciseType.news, ), ReadingCategory( id: 'story', name: '故事文学', description: '经典故事和现代文学作品', icon: 'book', articleCount: 18, type: ReadingExerciseType.story, ), ReadingCategory( id: 'science', name: '科学探索', description: '科学发现和研究成果', icon: 'science', articleCount: 22, type: ReadingExerciseType.science, ), ReadingCategory( id: 'business', name: '商业财经', description: '商业趋势和经济分析', icon: 'business', articleCount: 20, type: ReadingExerciseType.business, ), ReadingCategory( id: 'culture', name: '文化艺术', description: '文化传统和艺术欣赏', icon: 'palette', articleCount: 15, type: ReadingExerciseType.culture, ), ReadingCategory( id: 'technology', name: '科技前沿', description: '最新科技动态和创新', icon: 'computer', articleCount: 28, type: ReadingExerciseType.technology, ), ReadingCategory( id: 'health', name: '健康生活', description: '健康知识和生活方式', icon: 'favorite', articleCount: 16, type: ReadingExerciseType.health, ), ReadingCategory( id: 'travel', name: '旅游探险', description: '世界各地的旅游体验', icon: 'flight', articleCount: 12, type: ReadingExerciseType.travel, ), ]; // 阅读练习数据 static final List exercises = [ // 新闻类 ReadingExercise( id: 'news_1', title: 'Climate Change Summit Reaches Historic Agreement', content: ''' The 28th Conference of the Parties (COP28) concluded yesterday with a landmark agreement that marks a significant step forward in global climate action. Representatives from 195 countries unanimously approved a comprehensive framework aimed at limiting global temperature rise to 1.5 degrees Celsius above pre-industrial levels. The agreement includes ambitious targets for renewable energy adoption, with participating nations committing to triple their renewable energy capacity by 2030. Additionally, the framework establishes a \$100 billion annual fund to support developing countries in their transition to clean energy technologies. Dr. Sarah Mitchell, lead climate scientist at the International Environmental Institute, described the agreement as "the most comprehensive climate action plan we've seen to date." She emphasized that the success of this initiative will depend heavily on the implementation strategies adopted by individual nations. The agreement also addresses the critical issue of fossil fuel dependency, with developed nations pledging to reduce their carbon emissions by 50% within the next decade. This represents a significant acceleration from previous commitments and reflects the growing urgency of climate action. However, environmental activists have expressed mixed reactions to the agreement. While acknowledging the progress made, many argue that the timeline for implementation remains too conservative given the current rate of environmental degradation. The next phase will involve the development of detailed implementation plans by each participating country, with progress reviews scheduled every two years. The first comprehensive assessment is expected to take place in 2026. ''', summary: '第28届联合国气候变化大会达成历史性协议,195个国家承诺将全球温升控制在1.5摄氏度以内。', type: ReadingExerciseType.news, difficulty: ReadingDifficulty.intermediate, wordCount: 285, estimatedTime: 4, questions: [ ReadingQuestion( id: 'q1', question: 'How many countries participated in the COP28 agreement?', options: ['185', '195', '200', '210'], correctAnswer: 1, explanation: 'The text states that "Representatives from 195 countries unanimously approved a comprehensive framework."', type: 'multiple_choice', ), ReadingQuestion( id: 'q2', question: 'What is the target for renewable energy capacity by 2030?', options: ['Double', 'Triple', 'Quadruple', 'Increase by 50%'], correctAnswer: 1, explanation: 'The agreement includes "committing to triple their renewable energy capacity by 2030."', type: 'multiple_choice', ), ReadingQuestion( id: 'q3', question: 'The agreement establishes a fund to support developing countries.', options: ['True', 'False'], correctAnswer: 0, explanation: 'The text mentions "a \$100 billion annual fund to support developing countries."', type: 'true_false', ), ], tags: ['climate', 'environment', 'international', 'politics'], source: 'Global News Network', publishDate: DateTime(2024, 1, 15), imageUrl: 'assets/images/climate_summit.jpg', ), // 科技类 ReadingExercise( id: 'tech_1', title: 'Artificial Intelligence Revolutionizes Medical Diagnosis', content: ''' A groundbreaking study published in the Journal of Medical Innovation reveals that artificial intelligence systems can now diagnose certain medical conditions with accuracy rates exceeding 95%. The research, conducted over three years at leading medical institutions worldwide, demonstrates AI's potential to transform healthcare delivery. The AI system, developed by MedTech Solutions, analyzes medical imaging data including X-rays, MRIs, and CT scans. By processing thousands of images and comparing them against a vast database of diagnosed cases, the system can identify patterns that might be missed by human radiologists. Dr. James Chen, the study's lead researcher, explains that the AI system is particularly effective in detecting early-stage cancers and neurological disorders. "The system's ability to identify subtle abnormalities in medical images is remarkable," he notes. "It can detect changes that are barely visible to the human eye." The implementation of this technology has already begun in several hospitals across North America and Europe. Initial results show a 30% reduction in diagnostic errors and a 40% decrease in the time required for diagnosis. This efficiency gain is particularly valuable in emergency situations where rapid diagnosis can be life-saving. However, medical professionals emphasize that AI is intended to supplement, not replace, human expertise. The technology serves as a powerful diagnostic tool that enhances physicians' capabilities rather than substituting their clinical judgment. The next phase of development focuses on expanding the AI's capabilities to include treatment recommendations and personalized medicine approaches. Researchers anticipate that within five years, AI-assisted diagnosis will become standard practice in most medical facilities worldwide. ''', summary: '人工智能在医疗诊断领域取得突破,准确率超过95%,有望变革医疗服务。', type: ReadingExerciseType.technology, difficulty: ReadingDifficulty.proficient, wordCount: 312, estimatedTime: 5, questions: [ ReadingQuestion( id: 'q1', question: 'What is the accuracy rate of the AI diagnostic system?', options: ['Over 90%', 'Over 95%', 'Over 98%', 'Over 99%'], correctAnswer: 1, explanation: 'The text states "accuracy rates exceeding 95%."', type: 'multiple_choice', ), ReadingQuestion( id: 'q2', question: 'How long was the research study conducted?', options: ['Two years', 'Three years', 'Four years', 'Five years'], correctAnswer: 1, explanation: 'The research was "conducted over three years."', type: 'multiple_choice', ), ReadingQuestion( id: 'q3', question: 'The AI system is designed to replace human doctors.', options: ['True', 'False'], correctAnswer: 1, explanation: 'The text states that "AI is intended to supplement, not replace, human expertise."', type: 'true_false', ), ], tags: ['AI', 'medical', 'technology', 'healthcare'], source: 'Tech Today Magazine', publishDate: DateTime(2024, 1, 10), imageUrl: 'assets/images/ai_medical.jpg', ), // 故事类 ReadingExercise( id: 'story_1', title: 'The Last Library', content: ''' In the year 2087, Maya discovered something extraordinary hidden beneath the ruins of what was once New York City. As she carefully moved aside the debris, her flashlight illuminated rows upon rows of books—real books with paper pages and printed words. She had found the last library. Maya had grown up in a world where all information existed in digital form, accessible through neural implants that connected directly to the Global Information Network. Physical books were considered obsolete, relics of a primitive past. Yet here she stood, surrounded by thousands of volumes that had somehow survived the Great Digital Transition of 2055. She picked up a book at random—"Pride and Prejudice" by Jane Austen. As she opened it, the musty smell of old paper filled her nostrils. The sensation was unlike anything she had experienced. Each page turned with a soft whisper, and the words seemed to dance before her eyes in a way that digital text never had. Hours passed as Maya explored the library. She discovered poetry that made her heart race, adventure stories that transported her to distant lands, and philosophical works that challenged her understanding of existence. For the first time in her life, she understood why her grandmother had spoken so fondly of "the old ways." As the sun began to set, Maya faced a difficult decision. The authorities would surely destroy this place if they discovered it, viewing it as a dangerous reminder of inefficient past technologies. But she couldn't bear the thought of losing this treasure trove of human knowledge and creativity. Maya made her choice. She would become the guardian of the last library, protecting it for future generations who might one day rediscover the magic of the written word. In a world that had forgotten the value of physical books, she would remember. ''', summary: '在2087年,Maya发现了最后一座图书馆,决定成为它的守护者。', type: ReadingExerciseType.story, difficulty: ReadingDifficulty.intermediate, wordCount: 298, estimatedTime: 4, questions: [ ReadingQuestion( id: 'q1', question: 'In what year does the story take place?', options: ['2055', '2087', '2090', '2100'], correctAnswer: 1, explanation: 'The story begins with "In the year 2087, Maya discovered..."', type: 'multiple_choice', ), ReadingQuestion( id: 'q2', question: 'What was the first book Maya picked up?', options: ['Romeo and Juliet', 'Pride and Prejudice', 'Jane Eyre', 'Sense and Sensibility'], correctAnswer: 1, explanation: 'Maya picked up "Pride and Prejudice" by Jane Austen.', type: 'multiple_choice', ), ReadingQuestion( id: 'q3', question: 'Maya decided to destroy the library to protect society.', options: ['True', 'False'], correctAnswer: 1, explanation: 'Maya decided to become the guardian of the library, not destroy it.', type: 'true_false', ), ], tags: ['fiction', 'future', 'books', 'technology'], source: 'Future Fiction Quarterly', publishDate: DateTime(2024, 1, 5), imageUrl: 'assets/images/library_story.jpg', ), ]; // 根据类型获取练习 static List getExercisesByType(ReadingExerciseType type) { return exercises.where((exercise) => exercise.type == type).toList(); } // 根据难度获取练习 static List getExercisesByDifficulty(ReadingDifficulty difficulty) { return exercises.where((exercise) => exercise.difficulty == difficulty).toList(); } // 获取推荐练习 static List getRecommendedExercises() { return exercises.take(3).toList(); } // 根据ID获取练习 static ReadingExercise? getExerciseById(String id) { try { return exercises.firstWhere((exercise) => exercise.id == id); } catch (e) { return null; } } // 根据类型获取分类 static ReadingCategory? getCategoryByType(ReadingExerciseType type) { try { return categories.firstWhere((category) => category.type == type); } catch (e) { return null; } } }