@digabi/exam-engine-core 19.8.0 → 19.8.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (164) 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 -16
  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 -28
  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 +6 -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.js +2 -2
  42. package/dist/components/exam/Exam.js.map +1 -1
  43. package/dist/components/exam/ExternalMaterial.js +1 -1
  44. package/dist/components/exam/Hints.js +3 -3
  45. package/dist/components/exam/Hints.js.map +1 -1
  46. package/dist/components/exam/Question.js +1 -1
  47. package/dist/components/exam/QuestionTitle.js +1 -1
  48. package/dist/components/exam/RichTextAnswer.d.ts +6 -1
  49. package/dist/components/exam/RichTextAnswer.d.ts.map +1 -1
  50. package/dist/components/exam/RichTextAnswer.js +1 -1
  51. package/dist/components/exam/RichTextAnswer.js.map +1 -1
  52. package/dist/components/exam/Section.js +2 -2
  53. package/dist/components/exam/Section.js.map +1 -1
  54. package/dist/components/exam/internal/ErrorIndicator.d.ts +1 -1
  55. package/dist/components/exam/internal/ErrorIndicator.d.ts.map +1 -1
  56. package/dist/components/exam/internal/ErrorIndicator.js +4 -4
  57. package/dist/components/exam/internal/ErrorIndicator.js.map +1 -1
  58. package/dist/components/exam/internal/ProgressBar.js +1 -1
  59. package/dist/components/exam/internal/ProgressBar.js.map +1 -1
  60. package/dist/components/exam/internal/TextAnswerInput.js +6 -6
  61. package/dist/components/exam/internal/TextAnswerInput.js.map +1 -1
  62. package/dist/components/grading/AnswerCharacterCounter.d.ts +1 -1
  63. package/dist/components/grading/AnswerCharacterCounter.d.ts.map +1 -1
  64. package/dist/components/grading/AnswerCharacterCounter.js +3 -3
  65. package/dist/components/grading/AnswerCharacterCounter.js.map +1 -1
  66. package/dist/components/grading/GradingAnswer.js +9 -9
  67. package/dist/components/grading/GradingAnswer.js.map +1 -1
  68. package/dist/components/grading/GradingAnswerAnnotationList.d.ts +1 -1
  69. package/dist/components/grading/GradingAnswerAnnotationList.d.ts.map +1 -1
  70. package/dist/components/grading/GradingAnswerAnnotationList.js +2 -2
  71. package/dist/components/grading/GradingAnswerAnnotationList.js.map +1 -1
  72. package/dist/components/grading/editAnnotations.js +14 -14
  73. package/dist/components/grading/editAnnotations.js.map +1 -1
  74. package/dist/components/grading/largeImageDetector.js +2 -2
  75. package/dist/components/grading/largeImageDetector.js.map +1 -1
  76. package/dist/components/grading-instructions/GradingInstructions.js +2 -2
  77. package/dist/components/grading-instructions/Question.js +1 -1
  78. package/dist/components/grading-instructions/QuestionTitle.js +1 -1
  79. package/dist/components/results/ChoiceAnswer.js +7 -7
  80. package/dist/components/results/ChoiceAnswer.js.map +1 -1
  81. package/dist/components/results/DropdownAnswer.js +5 -5
  82. package/dist/components/results/DropdownAnswer.js.map +1 -1
  83. package/dist/components/results/Question.js +2 -2
  84. package/dist/components/results/Question.js.map +1 -1
  85. package/dist/components/results/QuestionTitle.js +1 -1
  86. package/dist/components/results/Results.js +1 -1
  87. package/dist/components/results/Section.js +1 -1
  88. package/dist/components/results/Section.js.map +1 -1
  89. package/dist/components/results/SingleLineAnswer.d.ts +1 -1
  90. package/dist/components/results/SingleLineAnswer.d.ts.map +1 -1
  91. package/dist/components/results/SingleLineAnswer.js +1 -1
  92. package/dist/components/results/SingleLineAnswer.js.map +1 -1
  93. package/dist/components/results/internal/AnnotationList.js +2 -2
  94. package/dist/components/results/internal/AnnotationList.js.map +1 -1
  95. package/dist/components/results/internal/QuestionManualScore.js +3 -3
  96. package/dist/components/results/internal/QuestionScoresContainer.d.ts +1 -1
  97. package/dist/components/results/internal/QuestionScoresContainer.d.ts.map +1 -1
  98. package/dist/components/results/internal/QuestionScoresContainer.js +2 -2
  99. package/dist/components/results/internal/QuestionScoresContainer.js.map +1 -1
  100. package/dist/components/shared/AnnotationLists.d.ts +1 -1
  101. package/dist/components/shared/AnnotationLists.d.ts.map +1 -1
  102. package/dist/components/shared/AnnotationLists.js +1 -1
  103. package/dist/components/shared/AnnotationLists.js.map +1 -1
  104. package/dist/components/shared/AttachmentLink.js +1 -1
  105. package/dist/components/shared/AttachmentLink.js.map +1 -1
  106. package/dist/components/shared/AttachmentLinks.js +3 -3
  107. package/dist/components/shared/AttachmentLinks.js.map +1 -1
  108. package/dist/components/shared/ImageOverlay.js +3 -3
  109. package/dist/components/shared/ImageOverlay.js.map +1 -1
  110. package/dist/components/shared/Reference.js +1 -1
  111. package/dist/components/shared/References.js +1 -1
  112. package/dist/components/shared/References.js.map +1 -1
  113. package/dist/components/shared/Score.js +1 -1
  114. package/dist/components/shared/TableOfContents.js +2 -2
  115. package/dist/components/shared/internal/ResponsiveMediaContainer.js +3 -3
  116. package/dist/components/shared/internal/ResponsiveMediaContainer.js.map +1 -1
  117. package/dist/components/shared/internal/RestrictedAudioPlayer.d.ts +1 -1
  118. package/dist/components/shared/internal/RestrictedAudioPlayer.d.ts.map +1 -1
  119. package/dist/components/shared/internal/RestrictedAudioPlayer.js +2 -2
  120. package/dist/components/shared/internal/RestrictedAudioPlayer.js.map +1 -1
  121. package/dist/dom-utils.js +1 -1
  122. package/dist/dom-utils.js.map +1 -1
  123. package/dist/fonts.js +1 -1
  124. package/dist/fonts.js.map +1 -1
  125. package/dist/i18n/A_E.js +2 -2
  126. package/dist/i18n/BA.js +1 -1
  127. package/dist/i18n/CA.js +1 -1
  128. package/dist/i18n/EA.js +2 -2
  129. package/dist/i18n/FA.js +2 -2
  130. package/dist/i18n/GC.js +2 -2
  131. package/dist/i18n/I.js +3 -3
  132. package/dist/i18n/M.js +1 -1
  133. package/dist/i18n/O_E.js +2 -2
  134. package/dist/i18n/PA.js +2 -2
  135. package/dist/i18n/SA.js +2 -2
  136. package/dist/i18n/TC.js +2 -2
  137. package/dist/i18n/VA.js +2 -2
  138. package/dist/i18n/Z.js +3 -3
  139. package/dist/i18n/fi-FI.js +13 -13
  140. package/dist/i18n/index.d.ts +2 -137
  141. package/dist/i18n/index.d.ts.map +1 -1
  142. package/dist/i18n/index.js +8 -8
  143. package/dist/i18n/index.js.map +1 -1
  144. package/dist/i18n/sv-FI.js +13 -13
  145. package/dist/main-bundle.js +1 -1
  146. package/dist/main-bundle.js.LICENSE.txt +0 -5
  147. package/dist/main.css +1 -1
  148. package/dist/parser/parseExam.js +5 -5
  149. package/dist/parser/parseExam.js.map +1 -1
  150. package/dist/parser/parseExamStructure.js +4 -4
  151. package/dist/renderAnnotations.js +8 -8
  152. package/dist/renderAnnotations.js.map +1 -1
  153. package/dist/store/answers/reducer.js +2 -2
  154. package/dist/store/audio/reducer.js +3 -3
  155. package/dist/store/audio/sagas.js +1 -1
  156. package/dist/store/audio/sagas.js.map +1 -1
  157. package/dist/store/cas/reducer.js +1 -1
  158. package/dist/store/cas/sagas.js +1 -1
  159. package/dist/store/countdown.js +1 -1
  160. package/dist/store/countdown.js.map +1 -1
  161. package/dist/store/index.js +4 -4
  162. package/dist/validateAnswers.js +8 -8
  163. package/dist/validateAnswers.js.map +1 -1
  164. package/package.json +18 -18
@@ -1,6 +1,5 @@
1
1
  /// <reference types="react" />
2
- import i18n, { TOptions } from 'i18next';
3
- import { TFunction } from 'react-i18next';
2
+ import i18n, { TOptions, TFunction } from 'i18next';
4
3
  import { fi_FI } from './fi-FI';
5
4
  declare module 'react-i18next' {
6
5
  type ExamEngineI18nResources = {
@@ -13,141 +12,7 @@ export declare function initI18n(language: string, examCode?: string, dayCode?:
13
12
  export declare function useExamTranslation(): {
14
13
  i18n: import("i18next").i18n;
15
14
  t: {
16
- <TKeys extends import("react-i18next").Normalize<{
17
- 'exam-total': string;
18
- 'grading-total': string;
19
- material: string;
20
- material_plural: string;
21
- 'attachments-page-title': string;
22
- 'external-material-title': string;
23
- 'grading-instructions-page-title': string;
24
- section: string;
25
- question: string;
26
- grade: string;
27
- comment: string;
28
- points: string;
29
- recording: string;
30
- 'audio-errors': {
31
- 'already-accessed': string;
32
- 'already-playing': string;
33
- 'other-error': string;
34
- };
35
- 'audio-test': {
36
- instructions: string;
37
- play: string;
38
- volume: string;
39
- };
40
- 'dropdown-answer': {
41
- label: string;
42
- clear: string;
43
- };
44
- grading: {
45
- 'pregrading-annotations': string;
46
- 'censor-annotations': string;
47
- 'pregrading-abbrev': string;
48
- 'inspection-grading-abbrev': string;
49
- 'round.1': string;
50
- 'round.2': string;
51
- 'round.3': string;
52
- annotate: string;
53
- };
54
- references: {
55
- heading: string;
56
- source: string;
57
- date: string;
58
- 'reference-date': string;
59
- translator: string;
60
- 'modified-by': string;
61
- };
62
- cas: {
63
- forbidden: {
64
- infoText: string;
65
- buttonText: string;
66
- };
67
- allowing: {
68
- infoText: string;
69
- cancel: string;
70
- };
71
- allowed: {
72
- infoText: string;
73
- };
74
- };
75
- 'toc-heading': string;
76
- 'answer-saved': string;
77
- 'too-many-answers': string;
78
- 'listen-times-remaining': string;
79
- 'listen-times-remaining_plural': string;
80
- 'answer-length': string;
81
- 'answer-length_plural': string;
82
- 'answer-length-with-max-length': string;
83
- 'max-length-surplus': string;
84
- 'max-length-info': string;
85
- 'previous-answer-versions': string;
86
- 'zoom-in': string;
87
- 'end-of-exam': string;
88
- 'answering-instructions': {
89
- 'exam_*_1_1': string;
90
- 'exam_*_2_2': string;
91
- 'exam_*_3_3': string;
92
- 'exam_*_4_4': string;
93
- 'exam_*_5_5': string;
94
- 'exam_*_6_6': string;
95
- 'exam_*_7_7': string;
96
- 'exam_*_8_8': string;
97
- 'exam_*_9_9': string;
98
- 'exam_*_10_10': string;
99
- 'exam_*_*_*': string;
100
- 'question_*_1_1': string;
101
- 'question_*_2_2': string;
102
- 'question_*_3_3': string;
103
- 'question_*_4_4': string;
104
- 'question_*_5_5': string;
105
- 'question_*_6_6': string;
106
- 'question_*_7_7': string;
107
- 'question_*_8_8': string;
108
- 'question_*_9_9': string;
109
- 'question_*_10_10': string;
110
- 'question_2_*_1': string;
111
- 'question_*_*_*': string;
112
- 'section_*_1_1': string;
113
- 'section_*_2_2': string;
114
- 'section_*_3_3': string;
115
- 'section_*_4_4': string;
116
- 'section_*_5_5': string;
117
- 'section_*_6_6': string;
118
- 'section_*_7_7': string;
119
- 'section_*_8_8': string;
120
- 'section_*_9_9': string;
121
- 'section_*_10_10': string;
122
- 'section_1_*_1': string;
123
- 'section_2_*_1': string;
124
- 'section_*_*_*': string;
125
- 'toc-section_*_1_1': string;
126
- 'toc-section_*_2_2': string;
127
- 'toc-section_*_3_3': string;
128
- 'toc-section_*_4_4': string;
129
- 'toc-section_*_5_5': string;
130
- 'toc-section_*_6_6': string;
131
- 'toc-section_*_7_7': string;
132
- 'toc-section_*_8_8': string;
133
- 'toc-section_*_9_9': string;
134
- 'toc-section_*_10_10': string;
135
- 'toc-section_1_*_1': string;
136
- 'toc-section_2_*_1': string;
137
- 'toc-section_*_*_*': string;
138
- };
139
- 'answer-errors': {
140
- 'screenshot-too-big': string;
141
- 'screenshot-byte-limit-reached': string;
142
- 'screenshot-upload-failed': string;
143
- 'answer-too-long': string;
144
- };
145
- 'screen-reader': {
146
- 'answer-begin': string;
147
- 'answer-end': string;
148
- 'correct-answer': string;
149
- };
150
- }>>(key: TKeys | TKeys[], options?: TOptions): string | JSX.Element;
15
+ (key: string | string[], options?: TOptions): string | JSX.Element;
151
16
  raw: TFunction;
152
17
  };
153
18
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/i18n/index.tsx"],"names":[],"mappings":";AAAA,OAAO,IAAI,EAAE,EAAsC,QAAQ,EAAE,MAAM,SAAS,CAAA;AAI5E,OAAO,EAAY,SAAS,EAAkB,MAAM,eAAe,CAAA;AAMnE,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAgD/B,OAAO,QAAQ,eAAe,CAAC;IAC7B,KAAK,uBAAuB,GAAG;QAAE,WAAW,EAAE,OAAO,KAAK,CAAA;KAAE,CAAA;IAG5D,UAAU,SAAU,SAAQ,uBAAuB;KAAG;CACvD;AAED,wBAAgB,QAAQ,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z
45
45
  };
46
46
  const resources = {
47
47
  'fi-FI': {
48
48
  translation: fi_FI,
49
- ...examSpecificTranslations,
49
+ ...examSpecificTranslations
50
50
  },
51
51
  'sv-FI': {
52
52
  translation: sv_FI,
53
- ...examSpecificTranslations,
54
- },
53
+ ...examSpecificTranslations
54
+ }
55
55
  };
56
56
  export function initI18n(language, examCode, dayCode) {
57
57
  const namespace = examCode ? examCode + (dayCode ? `_${dayCode}` : '') : 'translation';
@@ -59,7 +59,7 @@ export function initI18n(language, examCode, dayCode) {
59
59
  .use({
60
60
  type: 'postProcessor',
61
61
  name: 'lowercase',
62
- process: (value, _key, options) => value.toLocaleLowerCase(options.lng),
62
+ process: (value, _key, options) => value.toLocaleLowerCase(options.lng)
63
63
  })
64
64
  .createInstance({
65
65
  compatibilityJSON: 'v3',
@@ -86,8 +86,8 @@ export function initI18n(language, examCode, dayCode) {
86
86
  // eslint-disable-next-line @typescript-eslint/no-unsafe-return
87
87
  return value;
88
88
  }
89
- },
90
- },
89
+ }
90
+ }
91
91
  }, _.noop);
92
92
  }
93
93
  export function useExamTranslation() {
@@ -116,7 +116,7 @@ function translate(instance, key, options) {
116
116
  */
117
117
  function hasTranslation(instance, namespace, key) {
118
118
  return Array.isArray(key)
119
- ? key.some((k) => instance.getResource(instance.language, namespace, k) != null)
119
+ ? key.some(k => instance.getResource(instance.language, namespace, k) != null)
120
120
  : instance.getResource(instance.language, namespace, key) != null;
121
121
  }
122
122
  export const changeLanguage = (_i18n, language) => () => {
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/i18n/index.tsx"],"names":[],"mappings":"AAAA,OAAO,IAAsD,MAAM,SAAS,CAAA;AAC5E,OAAO,KAAK,CAAC,MAAM,WAAW,CAAA;AAC9B,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,iDAAiD;AACjD,OAAO,EAAuB,cAAc,EAAE,MAAM,eAAe,CAAA;AACnE,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,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AAC,KAAkB,EAAE,QAAgB,EAAE,EAAE,CAAC,GAAS,EAAE;IACjF,IAAI,KAAK,CAAC,QAAQ,KAAK,QAAQ,EAAE;QAC/B,KAAK,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,CAAA;KAC1D;AACH,CAAC,CAAA;AAED,eAAe,IAAI,CAAA"}
@@ -14,16 +14,16 @@ export const sv_FI = {
14
14
  'audio-errors': {
15
15
  'already-accessed': 'Du har redan spelat denna inspelning. Uppdatera sidan',
16
16
  'already-playing': 'Lyssna först inspelningen till slut.',
17
- 'other-error': 'Uppspelning misslyckades, be övervakaren om hjälp.',
17
+ 'other-error': 'Uppspelning misslyckades, be övervakaren om hjälp.'
18
18
  },
19
19
  'audio-test': {
20
20
  instructions: 'Provet omfattar uppgifter i hörförståelse.',
21
21
  play: 'Testa hörbarheten',
22
- volume: 'Du kan justera ljudvolymen uppe i högra hörnet av rutan.',
22
+ volume: 'Du kan justera ljudvolymen uppe i högra hörnet av rutan.'
23
23
  },
24
24
  'dropdown-answer': {
25
25
  label: 'Välj det alternativ som passar bäst.',
26
- clear: 'Avmarkera alternativet.',
26
+ clear: 'Avmarkera alternativet.'
27
27
  },
28
28
  grading: {
29
29
  'pregrading-annotations': 'Preliminära bedömningens anteckningar (lärare)',
@@ -33,7 +33,7 @@ export const sv_FI = {
33
33
  'round.1': '1.c',
34
34
  'round.2': '2.c',
35
35
  'round.3': '3.c',
36
- annotate: 'Markera',
36
+ annotate: 'Markera'
37
37
  },
38
38
  references: {
39
39
  heading: 'Källor',
@@ -41,20 +41,20 @@ export const sv_FI = {
41
41
  date: 'Publicerad:',
42
42
  'reference-date': 'Hämtad:',
43
43
  translator: 'Översättning:',
44
- 'modified-by': 'Bearbetning:',
44
+ 'modified-by': 'Bearbetning:'
45
45
  },
46
46
  cas: {
47
47
  forbidden: {
48
48
  infoText: 'Du får tillgång till de blockerade räknarprogrammen efter att du returnerat del A.',
49
- buttonText: 'Returnera del A',
49
+ buttonText: 'Returnera del A'
50
50
  },
51
51
  allowing: {
52
52
  infoText: 'Svaren i A-delen låses. Du får tillgång till de blockerade räknarprogrammen om en stund.',
53
- cancel: 'Avbryt ({{count}} s)',
53
+ cancel: 'Avbryt ({{count}} s)'
54
54
  },
55
55
  allowed: {
56
- infoText: 'Del A returnerad',
57
- },
56
+ infoText: 'Del A returnerad'
57
+ }
58
58
  },
59
59
  'toc-heading': 'Innehåll',
60
60
  'answer-saved': 'Sparad',
@@ -121,18 +121,18 @@ export const sv_FI = {
121
121
  'toc-section_*_10_10': 'Besvara tio uppgifter.',
122
122
  'toc-section_1_*_1': 'Besvara uppgift {{questions, range}}.',
123
123
  'toc-section_2_*_1': 'Besvara antingen uppgift {{questions, first}} eller {{questions, last}}.',
124
- 'toc-section_*_*_*': 'Besvara {{answerCount, range}} uppgifter.',
124
+ 'toc-section_*_*_*': 'Besvara {{answerCount, range}} uppgifter.'
125
125
  },
126
126
  'answer-errors': {
127
127
  'screenshot-too-big': 'Den skärmdump du tagit är för stor. Ta en ny skärmdump av en mindre del av skärmen och försök på nytt.',
128
128
  'screenshot-byte-limit-reached': 'Minnesutrymmet för skärmdumpar är fullt. (Du kan referera till bilder i materialet direkt utan skärmdumpar.)',
129
129
  'screenshot-upload-failed': 'Bifogandet av skärmdumpen misslyckades. Försök på nytt.',
130
- 'answer-too-long': 'Svaret är för långt.',
130
+ 'answer-too-long': 'Svaret är för långt.'
131
131
  },
132
132
  'screen-reader': {
133
133
  'answer-begin': '[Svaret börjar]',
134
134
  'answer-end': '[Svaret avslutar]',
135
- 'correct-answer': '[Accepterat svar]',
136
- },
135
+ 'correct-answer': '[Accepterat svar]'
136
+ }
137
137
  };
138
138
  //# sourceMappingURL=sv-FI.js.map