@digabi/exam-engine-core 19.8.0 → 19.8.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (187) hide show
  1. package/dist/__tests__/AnsweringInstructions.test.js +11 -11
  2. package/dist/__tests__/AnsweringInstructions.test.js.map +1 -1
  3. package/dist/__tests__/examServerApi.js +2 -2
  4. package/dist/__tests__/examServerApi.js.map +1 -1
  5. package/dist/__tests__/renderAnnotations.test.js +18 -18
  6. package/dist/__tests__/results/AnnotationList.test.js +27 -27
  7. package/dist/__tests__/results/ResultsContext.test.js +37 -37
  8. package/dist/__tests__/results/ResultsContext.test.js.map +1 -1
  9. package/dist/__tests__/results/ResultsExamQuestionAutoScore.test.js +4 -4
  10. package/dist/__tests__/results/ResultsExamQuestionManualScore.test.js +19 -19
  11. package/dist/__tests__/testExamRendering.js +14 -15
  12. package/dist/__tests__/testExamRendering.js.map +1 -1
  13. package/dist/__tests__/tsconfig.tsbuildinfo +1 -1
  14. package/dist/__tests__/validateAnswers.test.js +28 -25
  15. package/dist/__tests__/validateAnswers.test.js.map +1 -1
  16. package/dist/components/AnswerToolbar.d.ts +1 -1
  17. package/dist/components/AnswerToolbar.d.ts.map +1 -1
  18. package/dist/components/AnswerToolbar.js +2 -2
  19. package/dist/components/AnswerToolbar.js.map +1 -1
  20. package/dist/components/AnsweringInstructions.js +1 -1
  21. package/dist/components/AnsweringInstructions.js.map +1 -1
  22. package/dist/components/DocumentTitle.js +1 -1
  23. package/dist/components/DocumentTitle.js.map +1 -1
  24. package/dist/components/SectionElement.js +1 -1
  25. package/dist/components/SectionElement.js.map +1 -1
  26. package/dist/components/attachments/Attachments.js +1 -1
  27. package/dist/components/attachments/ExternalMaterial.js +1 -1
  28. package/dist/components/attachments/Question.js +1 -1
  29. package/dist/components/attachments/Question.js.map +1 -1
  30. package/dist/components/context/CommonExamContext.js +1 -1
  31. package/dist/components/context/ExamContext.js +1 -1
  32. package/dist/components/context/QuestionContext.js +1 -1
  33. package/dist/components/context/ResultsContext.js +7 -6
  34. package/dist/components/context/ResultsContext.js.map +1 -1
  35. package/dist/components/context/SectionContext.js +2 -2
  36. package/dist/components/context/SectionContext.js.map +1 -1
  37. package/dist/components/exam/ChoiceAnswer.js +6 -6
  38. package/dist/components/exam/ChoiceAnswer.js.map +1 -1
  39. package/dist/components/exam/DropdownAnswer.js +10 -10
  40. package/dist/components/exam/DropdownAnswer.js.map +1 -1
  41. package/dist/components/exam/Exam.d.ts +1 -0
  42. package/dist/components/exam/Exam.d.ts.map +1 -1
  43. package/dist/components/exam/Exam.js +69 -13
  44. package/dist/components/exam/Exam.js.map +1 -1
  45. package/dist/components/exam/ExternalMaterial.js +1 -1
  46. package/dist/components/exam/Hints.js +3 -3
  47. package/dist/components/exam/Hints.js.map +1 -1
  48. package/dist/components/exam/Question.d.ts +4 -0
  49. package/dist/components/exam/Question.d.ts.map +1 -1
  50. package/dist/components/exam/Question.js +42 -5
  51. package/dist/components/exam/Question.js.map +1 -1
  52. package/dist/components/exam/QuestionTitle.js +1 -1
  53. package/dist/components/exam/RichTextAnswer.d.ts +6 -1
  54. package/dist/components/exam/RichTextAnswer.d.ts.map +1 -1
  55. package/dist/components/exam/RichTextAnswer.js +14 -2
  56. package/dist/components/exam/RichTextAnswer.js.map +1 -1
  57. package/dist/components/exam/Section.js +2 -2
  58. package/dist/components/exam/Section.js.map +1 -1
  59. package/dist/components/exam/internal/ErrorIndicator.d.ts +1 -1
  60. package/dist/components/exam/internal/ErrorIndicator.d.ts.map +1 -1
  61. package/dist/components/exam/internal/ErrorIndicator.js +4 -4
  62. package/dist/components/exam/internal/ErrorIndicator.js.map +1 -1
  63. package/dist/components/exam/internal/ProgressBar.js +1 -1
  64. package/dist/components/exam/internal/ProgressBar.js.map +1 -1
  65. package/dist/components/exam/internal/TextAnswerInput.d.ts.map +1 -1
  66. package/dist/components/exam/internal/TextAnswerInput.js +14 -13
  67. package/dist/components/exam/internal/TextAnswerInput.js.map +1 -1
  68. package/dist/components/grading/AnswerCharacterCounter.d.ts +1 -1
  69. package/dist/components/grading/AnswerCharacterCounter.d.ts.map +1 -1
  70. package/dist/components/grading/AnswerCharacterCounter.js +3 -3
  71. package/dist/components/grading/AnswerCharacterCounter.js.map +1 -1
  72. package/dist/components/grading/GradingAnswer.js +9 -9
  73. package/dist/components/grading/GradingAnswer.js.map +1 -1
  74. package/dist/components/grading/GradingAnswerAnnotationList.d.ts +1 -1
  75. package/dist/components/grading/GradingAnswerAnnotationList.d.ts.map +1 -1
  76. package/dist/components/grading/GradingAnswerAnnotationList.js +2 -2
  77. package/dist/components/grading/GradingAnswerAnnotationList.js.map +1 -1
  78. package/dist/components/grading/editAnnotations.js +14 -14
  79. package/dist/components/grading/editAnnotations.js.map +1 -1
  80. package/dist/components/grading/largeImageDetector.js +2 -2
  81. package/dist/components/grading/largeImageDetector.js.map +1 -1
  82. package/dist/components/grading-instructions/GradingInstructions.d.ts.map +1 -1
  83. package/dist/components/grading-instructions/GradingInstructions.js +6 -3
  84. package/dist/components/grading-instructions/GradingInstructions.js.map +1 -1
  85. package/dist/components/grading-instructions/Question.js +1 -1
  86. package/dist/components/grading-instructions/QuestionTitle.js +1 -1
  87. package/dist/components/results/ChoiceAnswer.js +8 -7
  88. package/dist/components/results/ChoiceAnswer.js.map +1 -1
  89. package/dist/components/results/DropdownAnswer.js +5 -5
  90. package/dist/components/results/DropdownAnswer.js.map +1 -1
  91. package/dist/components/results/Question.js +3 -3
  92. package/dist/components/results/Question.js.map +1 -1
  93. package/dist/components/results/QuestionTitle.js +1 -1
  94. package/dist/components/results/Results.js +2 -2
  95. package/dist/components/results/Results.js.map +1 -1
  96. package/dist/components/results/Section.js +1 -1
  97. package/dist/components/results/Section.js.map +1 -1
  98. package/dist/components/results/SingleLineAnswer.d.ts +1 -1
  99. package/dist/components/results/SingleLineAnswer.d.ts.map +1 -1
  100. package/dist/components/results/SingleLineAnswer.js +1 -1
  101. package/dist/components/results/SingleLineAnswer.js.map +1 -1
  102. package/dist/components/results/internal/AnnotationList.js +2 -2
  103. package/dist/components/results/internal/AnnotationList.js.map +1 -1
  104. package/dist/components/results/internal/QuestionManualScore.js +3 -3
  105. package/dist/components/results/internal/QuestionScoresContainer.d.ts +1 -1
  106. package/dist/components/results/internal/QuestionScoresContainer.d.ts.map +1 -1
  107. package/dist/components/results/internal/QuestionScoresContainer.js +2 -2
  108. package/dist/components/results/internal/QuestionScoresContainer.js.map +1 -1
  109. package/dist/components/shared/AnnotationLists.d.ts +1 -1
  110. package/dist/components/shared/AnnotationLists.d.ts.map +1 -1
  111. package/dist/components/shared/AnnotationLists.js +1 -1
  112. package/dist/components/shared/AnnotationLists.js.map +1 -1
  113. package/dist/components/shared/AnswerIndicator.d.ts +11 -0
  114. package/dist/components/shared/AnswerIndicator.d.ts.map +1 -0
  115. package/dist/components/shared/AnswerIndicator.js +22 -0
  116. package/dist/components/shared/AnswerIndicator.js.map +1 -0
  117. package/dist/components/shared/AttachmentLink.js +1 -1
  118. package/dist/components/shared/AttachmentLink.js.map +1 -1
  119. package/dist/components/shared/AttachmentLinks.js +3 -3
  120. package/dist/components/shared/AttachmentLinks.js.map +1 -1
  121. package/dist/components/shared/ImageOverlay.js +3 -3
  122. package/dist/components/shared/ImageOverlay.js.map +1 -1
  123. package/dist/components/shared/Reference.js +1 -1
  124. package/dist/components/shared/References.js +1 -1
  125. package/dist/components/shared/References.js.map +1 -1
  126. package/dist/components/shared/Score.js +1 -1
  127. package/dist/components/shared/TableOfContents.d.ts +1 -0
  128. package/dist/components/shared/TableOfContents.d.ts.map +1 -1
  129. package/dist/components/shared/TableOfContents.js +83 -26
  130. package/dist/components/shared/TableOfContents.js.map +1 -1
  131. package/dist/components/shared/internal/ResponsiveMediaContainer.js +3 -3
  132. package/dist/components/shared/internal/ResponsiveMediaContainer.js.map +1 -1
  133. package/dist/components/shared/internal/RestrictedAudioPlayer.d.ts +1 -1
  134. package/dist/components/shared/internal/RestrictedAudioPlayer.d.ts.map +1 -1
  135. package/dist/components/shared/internal/RestrictedAudioPlayer.js +2 -2
  136. package/dist/components/shared/internal/RestrictedAudioPlayer.js.map +1 -1
  137. package/dist/dom-utils.js +1 -1
  138. package/dist/dom-utils.js.map +1 -1
  139. package/dist/fonts.js +1 -1
  140. package/dist/fonts.js.map +1 -1
  141. package/dist/i18n/A_E.js +2 -2
  142. package/dist/i18n/BA.js +1 -1
  143. package/dist/i18n/CA.js +1 -1
  144. package/dist/i18n/EA.js +2 -2
  145. package/dist/i18n/FA.js +2 -2
  146. package/dist/i18n/GC.js +2 -2
  147. package/dist/i18n/I.js +3 -3
  148. package/dist/i18n/M.js +1 -1
  149. package/dist/i18n/O_E.js +2 -2
  150. package/dist/i18n/PA.js +2 -2
  151. package/dist/i18n/SA.js +2 -2
  152. package/dist/i18n/TC.js +2 -2
  153. package/dist/i18n/VA.js +2 -2
  154. package/dist/i18n/Z.js +3 -3
  155. package/dist/i18n/fi-FI.d.ts +3 -0
  156. package/dist/i18n/fi-FI.d.ts.map +1 -1
  157. package/dist/i18n/fi-FI.js +17 -14
  158. package/dist/i18n/fi-FI.js.map +1 -1
  159. package/dist/i18n/index.d.ts +2 -137
  160. package/dist/i18n/index.d.ts.map +1 -1
  161. package/dist/i18n/index.js +8 -8
  162. package/dist/i18n/index.js.map +1 -1
  163. package/dist/i18n/sv-FI.d.ts.map +1 -1
  164. package/dist/i18n/sv-FI.js +18 -14
  165. package/dist/i18n/sv-FI.js.map +1 -1
  166. package/dist/main-bundle.js +1 -1
  167. package/dist/main-bundle.js.LICENSE.txt +0 -5
  168. package/dist/main.css +1 -1
  169. package/dist/parser/parseExam.js +5 -5
  170. package/dist/parser/parseExam.js.map +1 -1
  171. package/dist/parser/parseExamStructure.js +4 -4
  172. package/dist/renderAnnotations.js +8 -8
  173. package/dist/renderAnnotations.js.map +1 -1
  174. package/dist/store/answers/reducer.js +2 -2
  175. package/dist/store/audio/reducer.js +3 -3
  176. package/dist/store/audio/sagas.js +1 -1
  177. package/dist/store/audio/sagas.js.map +1 -1
  178. package/dist/store/cas/reducer.js +1 -1
  179. package/dist/store/cas/sagas.js +1 -1
  180. package/dist/store/countdown.js +1 -1
  181. package/dist/store/countdown.js.map +1 -1
  182. package/dist/store/index.js +4 -4
  183. package/dist/validateAnswers.d.ts +1 -0
  184. package/dist/validateAnswers.d.ts.map +1 -1
  185. package/dist/validateAnswers.js +8 -7
  186. package/dist/validateAnswers.js.map +1 -1
  187. package/package.json +18 -18
@@ -12,7 +12,7 @@ const QuestionManualScore_1 = __importDefault(require("../../src/components/resu
12
12
  const i18n_1 = require("../../src/i18n");
13
13
  const defaultProps = {
14
14
  maxScore: 6,
15
- displayNumber: '1',
15
+ displayNumber: '1'
16
16
  };
17
17
  const defaultScores = {
18
18
  questionId: 1,
@@ -22,12 +22,12 @@ const defaultScores = {
22
22
  scores: [
23
23
  { score: 4, shortCode: 'SE3' },
24
24
  { score: 3, shortCode: 'SE2' },
25
- { score: 2, shortCode: 'SE1' },
25
+ { score: 2, shortCode: 'SE1' }
26
26
  ],
27
27
  annotations: [],
28
- nonAnswerDetails: {},
28
+ nonAnswerDetails: {}
29
29
  },
30
- inspection: { score: 5, shortCodes: ['IN1', 'IN2'] },
30
+ inspection: { score: 5, shortCodes: ['IN1', 'IN2'] }
31
31
  };
32
32
  describe('<QuestionManualScore />', () => {
33
33
  let i18n;
@@ -38,14 +38,14 @@ describe('<QuestionManualScore />', () => {
38
38
  it('renders without score', () => {
39
39
  const props = {
40
40
  ...defaultProps,
41
- scores: undefined,
41
+ scores: undefined
42
42
  };
43
43
  expect(renderWithContext(props, []).toJSON()).toMatchSnapshot();
44
44
  });
45
45
  it('renders with pregrading score', () => {
46
46
  const props = {
47
47
  ...defaultProps,
48
- scores: lodash_1.default.pick(defaultScores, 'pregrading', 'answerId', 'questionId'),
48
+ scores: lodash_1.default.pick(defaultScores, 'pregrading', 'answerId', 'questionId')
49
49
  };
50
50
  expect(renderWithContext(props, []).toJSON()).toMatchSnapshot();
51
51
  });
@@ -54,36 +54,36 @@ describe('<QuestionManualScore />', () => {
54
54
  ...defaultProps,
55
55
  scores: {
56
56
  censoring: { scores: [defaultScores.censoring.scores[0]] },
57
- ...lodash_1.default.pick(defaultScores, 'pregrading', 'answerId', 'questionId'),
58
- },
57
+ ...lodash_1.default.pick(defaultScores, 'pregrading', 'answerId', 'questionId')
58
+ }
59
59
  };
60
60
  expect(renderWithContext(props, []).toJSON()).toMatchSnapshot();
61
61
  });
62
62
  it('renders with pregrading and three censor scores', () => {
63
63
  const props = {
64
64
  ...defaultProps,
65
- scores: lodash_1.default.pick(defaultScores, 'pregrading', 'censoring', 'answerId', 'questionId'),
65
+ scores: lodash_1.default.pick(defaultScores, 'pregrading', 'censoring', 'answerId', 'questionId')
66
66
  };
67
67
  expect(renderWithContext(props, []).toJSON()).toMatchSnapshot();
68
68
  });
69
69
  it('renders with pregrading, censor and inspection scores', () => {
70
70
  const props = {
71
71
  ...defaultProps,
72
- scores: defaultScores,
72
+ scores: defaultScores
73
73
  };
74
74
  expect(renderWithContext(props, []).toJSON()).toMatchSnapshot();
75
75
  });
76
76
  it('renders with displayNumber where there are more than one answer', () => {
77
77
  const props = {
78
78
  ...defaultProps,
79
- scores: lodash_1.default.pick(defaultScores, 'pregrading', 'answerId', 'questionId'),
79
+ scores: lodash_1.default.pick(defaultScores, 'pregrading', 'answerId', 'questionId')
80
80
  };
81
81
  expect(renderWithContext(props, [{}, {}]).toJSON()).toMatchSnapshot();
82
82
  });
83
83
  it('renders with NoPregrading when there are no scores', () => {
84
84
  const props = {
85
85
  ...defaultProps,
86
- scores: lodash_1.default.pick(defaultScores, 'answerId', 'questionId'),
86
+ scores: lodash_1.default.pick(defaultScores, 'answerId', 'questionId')
87
87
  };
88
88
  expect(renderWithContext(props, []).toJSON()).toMatchSnapshot();
89
89
  });
@@ -92,8 +92,8 @@ describe('<QuestionManualScore />', () => {
92
92
  ...defaultProps,
93
93
  scores: {
94
94
  preGrading: { comment: 'comment' },
95
- ...lodash_1.default.pick(defaultScores, 'answerId', 'questionId'),
96
- },
95
+ ...lodash_1.default.pick(defaultScores, 'answerId', 'questionId')
96
+ }
97
97
  };
98
98
  expect(renderWithContext(props, []).toJSON()).toMatchSnapshot();
99
99
  });
@@ -102,15 +102,15 @@ describe('<QuestionManualScore />', () => {
102
102
  ...defaultProps,
103
103
  scores: {
104
104
  pregrading: { score: 0 },
105
- ...lodash_1.default.pick(defaultScores, 'answerId', 'questionId'),
106
- },
105
+ ...lodash_1.default.pick(defaultScores, 'answerId', 'questionId')
106
+ }
107
107
  };
108
108
  expect(renderWithContext(props, []).toJSON()).toMatchSnapshot();
109
109
  });
110
110
  it('renders without NoPregrading when there are scores', () => {
111
111
  const props = {
112
112
  ...defaultProps,
113
- scores: lodash_1.default.pick(defaultScores, 'answerId', 'questionId', 'pregrading', 'censoring'),
113
+ scores: lodash_1.default.pick(defaultScores, 'answerId', 'questionId', 'pregrading', 'censoring')
114
114
  };
115
115
  expect(renderWithContext(props, []).toJSON()).toMatchSnapshot();
116
116
  });
@@ -120,7 +120,7 @@ describe('<QuestionManualScore />', () => {
120
120
  i18n = (0, i18n_1.initI18n)('fi-SV');
121
121
  const props = {
122
122
  ...defaultProps,
123
- scores: defaultScores,
123
+ scores: defaultScores
124
124
  };
125
125
  expect(renderWithContext(props, []).toJSON()).toMatchSnapshot();
126
126
  });
@@ -133,7 +133,7 @@ describe('<QuestionManualScore />', () => {
133
133
  maxScore: 2,
134
134
  level: 2,
135
135
  childQuestions: [],
136
- questionLabelIds: '',
136
+ questionLabelIds: ''
137
137
  };
138
138
  function renderWithContext(props, answers) {
139
139
  return (0, react_test_renderer_1.create)(react_1.default.createElement(QuestionContext_1.QuestionContext.Provider, { value: { ...contextProps, answers } },
@@ -13,12 +13,12 @@ const react_1 = __importDefault(require("react"));
13
13
  const react_test_renderer_1 = require("react-test-renderer");
14
14
  const examServerApi_1 = require("./examServerApi");
15
15
  const exam_engine_generator_1 = require("@digabi/exam-engine-generator");
16
- describe.each((0, exam_engine_exams_1.listExams)().map((exam) => [path_1.default.basename(exam), exam]))('%s', (_basename, exam) => {
16
+ describe.each((0, exam_engine_exams_1.listExams)().map(exam => [path_1.default.basename(exam), exam]))('%s', (_basename, exam) => {
17
17
  const resolveAttachment = (filename) => path_1.default.resolve(path_1.default.dirname(exam), 'attachments', filename);
18
18
  it('renders properly', async () => {
19
19
  const source = await fs_1.promises.readFile(exam, 'utf-8');
20
20
  const results = await (0, exam_engine_mastering_1.masterExam)(source, () => '', (0, exam_engine_mastering_1.getMediaMetadataFromLocalFile)(resolveAttachment), {
21
- removeCorrectAnswers: false,
21
+ removeCorrectAnswers: false
22
22
  });
23
23
  for (const { xml, language, gradingStructure } of results) {
24
24
  const doc = (0, parseExam_1.default)(xml, true);
@@ -27,19 +27,20 @@ describe.each((0, exam_engine_exams_1.listExams)().map((exam) => [path_1.default
27
27
  answers: [],
28
28
  attachmentsURL: '/attachments',
29
29
  resolveAttachment: (filename) => `/attachments/${encodeURIComponent(filename)}`,
30
- language,
30
+ language
31
31
  };
32
32
  const examProps = {
33
33
  ...commonProps,
34
34
  casStatus: 'forbidden',
35
35
  examServerApi: examServerApi_1.examServerApi,
36
36
  restrictedAudioPlaybackStats: [],
37
+ type: 'normal'
37
38
  };
38
39
  const resultsProps = {
39
40
  ...commonProps,
40
41
  gradingStructure,
41
42
  answers: (0, exam_engine_generator_1.generateAnswers)(gradingStructure),
42
- scores: mkScores(gradingStructure),
43
+ scores: mkScores(gradingStructure)
43
44
  };
44
45
  expect((0, react_test_renderer_1.create)(react_1.default.createElement(exam_engine_core_1.Exam, { ...examProps })).toJSON()).toMatchSnapshot('<Exam />');
45
46
  expect((0, react_test_renderer_1.create)(react_1.default.createElement(exam_engine_core_1.Attachments, { ...examProps })).toJSON()).toMatchSnapshot('<Attachments />');
@@ -60,35 +61,33 @@ function generateScore(question, i) {
60
61
  pregrading: {
61
62
  score: Math.min(question.maxScore, i),
62
63
  comment: `Pregading comment to question ${question.displayNumber}`,
63
- annotations: [
64
- { startIndex: 0, length: 0, message: `Pregading annotation to question ${question.displayNumber}` },
65
- ],
64
+ annotations: [{ startIndex: 0, length: 0, message: `Pregading annotation to question ${question.displayNumber}` }]
66
65
  },
67
66
  censoring: {
68
67
  scores: [
69
68
  {
70
69
  score: Math.min(question.maxScore, i),
71
- shortCode: 'TestCen1',
70
+ shortCode: 'TestCen1'
72
71
  },
73
72
  {
74
73
  score: Math.min(question.maxScore, i),
75
- shortCode: 'TestCen2',
74
+ shortCode: 'TestCen2'
76
75
  },
77
76
  {
78
77
  score: Math.min(question.maxScore, i),
79
- shortCode: 'TestCen3',
80
- },
78
+ shortCode: 'TestCen3'
79
+ }
81
80
  ],
82
81
  comment: `Censor comment to question ${question.displayNumber}`,
83
82
  annotations: [
84
- { startIndex: 0, length: 0, message: `Censoring annotation to question ${question.displayNumber}` },
83
+ { startIndex: 0, length: 0, message: `Censoring annotation to question ${question.displayNumber}` }
85
84
  ],
86
- nonAnswerDetails: { shortCode: 'CEN' },
85
+ nonAnswerDetails: { shortCode: 'CEN' }
87
86
  },
88
87
  inspection: {
89
88
  score: Math.min(question.maxScore, i),
90
- shortCodes: ['TestIns1', 'TestIns2'],
91
- },
89
+ shortCodes: ['TestIns1', 'TestIns2']
90
+ }
92
91
  };
93
92
  }
94
93
  //# sourceMappingURL=testExamRendering.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"testExamRendering.js","sourceRoot":"","sources":["../../__tests__/testExamRendering.tsx"],"names":[],"mappings":";;;;;AAAA,+DAQiC;AACjC,+FAAsE;AACtE,iEAAqD;AACrD,yEAAyF;AACzF,2BAAmC;AACnC,gDAAuB;AACvB,kDAAyB;AACzB,6DAA4C;AAG5C,mDAA+C;AAC/C,yEAA+D;AAE/D,QAAQ,CAAC,IAAI,CAAC,IAAA,6BAAS,GAAE,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,cAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,SAAS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