@jjlmoya/utils-alcohol 1.25.0 → 1.26.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (139) hide show
  1. package/package.json +1 -1
  2. package/src/entries.ts +7 -1
  3. package/src/index.ts +1 -0
  4. package/src/pages/[locale]/[slug].astro +7 -3
  5. package/src/tests/locale_completeness.test.ts +4 -9
  6. package/src/tests/tool_validation.test.ts +2 -2
  7. package/src/tool/alcoholClearance/bibliography.ts +6 -0
  8. package/src/tool/alcoholClearance/entry.ts +1 -0
  9. package/src/tool/alcoholClearance/i18n/de.ts +1 -12
  10. package/src/tool/alcoholClearance/i18n/en.ts +1 -12
  11. package/src/tool/alcoholClearance/i18n/es.ts +1 -12
  12. package/src/tool/alcoholClearance/i18n/fr.ts +1 -12
  13. package/src/tool/alcoholClearance/i18n/id.ts +1 -12
  14. package/src/tool/alcoholClearance/i18n/it.ts +1 -12
  15. package/src/tool/alcoholClearance/i18n/ja.ts +1 -12
  16. package/src/tool/alcoholClearance/i18n/ko.ts +1 -12
  17. package/src/tool/alcoholClearance/i18n/nl.ts +1 -12
  18. package/src/tool/alcoholClearance/i18n/pl.ts +1 -12
  19. package/src/tool/alcoholClearance/i18n/pt.ts +1 -12
  20. package/src/tool/alcoholClearance/i18n/ru.ts +1 -12
  21. package/src/tool/alcoholClearance/i18n/sv.ts +1 -12
  22. package/src/tool/alcoholClearance/i18n/tr.ts +1 -12
  23. package/src/tool/alcoholClearance/i18n/zh.ts +1 -12
  24. package/src/tool/beerCooler/bibliography.ts +6 -0
  25. package/src/tool/beerCooler/entry.ts +1 -0
  26. package/src/tool/beerCooler/i18n/de.ts +1 -12
  27. package/src/tool/beerCooler/i18n/en.ts +1 -12
  28. package/src/tool/beerCooler/i18n/es.ts +1 -12
  29. package/src/tool/beerCooler/i18n/fr.ts +1 -12
  30. package/src/tool/beerCooler/i18n/id.ts +1 -12
  31. package/src/tool/beerCooler/i18n/it.ts +1 -12
  32. package/src/tool/beerCooler/i18n/ja.ts +1 -12
  33. package/src/tool/beerCooler/i18n/ko.ts +1 -12
  34. package/src/tool/beerCooler/i18n/nl.ts +1 -12
  35. package/src/tool/beerCooler/i18n/pl.ts +1 -12
  36. package/src/tool/beerCooler/i18n/pt.ts +1 -12
  37. package/src/tool/beerCooler/i18n/ru.ts +1 -12
  38. package/src/tool/beerCooler/i18n/sv.ts +1 -12
  39. package/src/tool/beerCooler/i18n/tr.ts +1 -12
  40. package/src/tool/beerCooler/i18n/zh.ts +1 -12
  41. package/src/tool/carbonationCalculator/bibliography.ts +6 -0
  42. package/src/tool/carbonationCalculator/entry.ts +1 -0
  43. package/src/tool/carbonationCalculator/i18n/de.ts +1 -12
  44. package/src/tool/carbonationCalculator/i18n/en.ts +1 -12
  45. package/src/tool/carbonationCalculator/i18n/es.ts +1 -12
  46. package/src/tool/carbonationCalculator/i18n/fr.ts +1 -12
  47. package/src/tool/carbonationCalculator/i18n/id.ts +1 -12
  48. package/src/tool/carbonationCalculator/i18n/it.ts +1 -12
  49. package/src/tool/carbonationCalculator/i18n/ja.ts +1 -12
  50. package/src/tool/carbonationCalculator/i18n/ko.ts +1 -12
  51. package/src/tool/carbonationCalculator/i18n/nl.ts +1 -12
  52. package/src/tool/carbonationCalculator/i18n/pl.ts +1 -12
  53. package/src/tool/carbonationCalculator/i18n/pt.ts +1 -12
  54. package/src/tool/carbonationCalculator/i18n/ru.ts +1 -12
  55. package/src/tool/carbonationCalculator/i18n/sv.ts +1 -12
  56. package/src/tool/carbonationCalculator/i18n/tr.ts +1 -12
  57. package/src/tool/carbonationCalculator/i18n/zh.ts +1 -12
  58. package/src/tool/cocktailBalancer/bibliography.ts +7 -0
  59. package/src/tool/cocktailBalancer/entry.ts +1 -0
  60. package/src/tool/cocktailBalancer/i18n/de.ts +1 -16
  61. package/src/tool/cocktailBalancer/i18n/en.ts +1 -16
  62. package/src/tool/cocktailBalancer/i18n/es.ts +1 -16
  63. package/src/tool/cocktailBalancer/i18n/fr.ts +1 -16
  64. package/src/tool/cocktailBalancer/i18n/id.ts +1 -16
  65. package/src/tool/cocktailBalancer/i18n/it.ts +1 -16
  66. package/src/tool/cocktailBalancer/i18n/ja.ts +1 -16
  67. package/src/tool/cocktailBalancer/i18n/ko.ts +1 -16
  68. package/src/tool/cocktailBalancer/i18n/nl.ts +1 -16
  69. package/src/tool/cocktailBalancer/i18n/pl.ts +1 -16
  70. package/src/tool/cocktailBalancer/i18n/pt.ts +1 -16
  71. package/src/tool/cocktailBalancer/i18n/ru.ts +1 -16
  72. package/src/tool/cocktailBalancer/i18n/sv.ts +1 -16
  73. package/src/tool/cocktailBalancer/i18n/tr.ts +1 -16
  74. package/src/tool/cocktailBalancer/i18n/zh.ts +1 -16
  75. package/src/tool/fortifiedWine/bibliography.astro +14 -0
  76. package/src/tool/fortifiedWine/bibliography.ts +7 -0
  77. package/src/tool/fortifiedWine/component.astro +331 -0
  78. package/src/tool/fortifiedWine/entry.ts +62 -0
  79. package/src/tool/fortifiedWine/fortified-wine-builder.css +534 -0
  80. package/src/tool/fortifiedWine/i18n/de.ts +66 -0
  81. package/src/tool/fortifiedWine/i18n/en.ts +140 -0
  82. package/src/tool/fortifiedWine/i18n/es.ts +140 -0
  83. package/src/tool/fortifiedWine/i18n/fr.ts +91 -0
  84. package/src/tool/fortifiedWine/i18n/id.ts +91 -0
  85. package/src/tool/fortifiedWine/i18n/it.ts +91 -0
  86. package/src/tool/fortifiedWine/i18n/ja.ts +91 -0
  87. package/src/tool/fortifiedWine/i18n/ko.ts +91 -0
  88. package/src/tool/fortifiedWine/i18n/nl.ts +91 -0
  89. package/src/tool/fortifiedWine/i18n/pl.ts +91 -0
  90. package/src/tool/fortifiedWine/i18n/pt.ts +91 -0
  91. package/src/tool/fortifiedWine/i18n/ru.ts +91 -0
  92. package/src/tool/fortifiedWine/i18n/sv.ts +91 -0
  93. package/src/tool/fortifiedWine/i18n/tr.ts +91 -0
  94. package/src/tool/fortifiedWine/i18n/zh.ts +91 -0
  95. package/src/tool/fortifiedWine/index.ts +8 -0
  96. package/src/tool/fortifiedWine/logic.ts +46 -0
  97. package/src/tool/fortifiedWine/seo.astro +41 -0
  98. package/src/tool/jelloShotLab/bibliography.astro +14 -0
  99. package/src/tool/jelloShotLab/bibliography.ts +8 -0
  100. package/src/tool/jelloShotLab/component.astro +183 -0
  101. package/src/tool/jelloShotLab/entry.ts +62 -0
  102. package/src/tool/jelloShotLab/i18n/de.ts +156 -0
  103. package/src/tool/jelloShotLab/i18n/en.ts +156 -0
  104. package/src/tool/jelloShotLab/i18n/es.ts +156 -0
  105. package/src/tool/jelloShotLab/i18n/fr.ts +156 -0
  106. package/src/tool/jelloShotLab/i18n/id.ts +156 -0
  107. package/src/tool/jelloShotLab/i18n/it.ts +156 -0
  108. package/src/tool/jelloShotLab/i18n/ja.ts +156 -0
  109. package/src/tool/jelloShotLab/i18n/ko.ts +156 -0
  110. package/src/tool/jelloShotLab/i18n/nl.ts +156 -0
  111. package/src/tool/jelloShotLab/i18n/pl.ts +156 -0
  112. package/src/tool/jelloShotLab/i18n/pt.ts +156 -0
  113. package/src/tool/jelloShotLab/i18n/ru.ts +156 -0
  114. package/src/tool/jelloShotLab/i18n/sv.ts +156 -0
  115. package/src/tool/jelloShotLab/i18n/tr.ts +156 -0
  116. package/src/tool/jelloShotLab/i18n/zh.ts +156 -0
  117. package/src/tool/jelloShotLab/index.ts +11 -0
  118. package/src/tool/jelloShotLab/jello-shot-lab.css +229 -0
  119. package/src/tool/jelloShotLab/logic.ts +29 -0
  120. package/src/tool/jelloShotLab/seo.astro +53 -0
  121. package/src/tool/partyKeg/bibliography.ts +6 -0
  122. package/src/tool/partyKeg/entry.ts +1 -0
  123. package/src/tool/partyKeg/i18n/de.ts +1 -12
  124. package/src/tool/partyKeg/i18n/en.ts +1 -12
  125. package/src/tool/partyKeg/i18n/es.ts +1 -12
  126. package/src/tool/partyKeg/i18n/fr.ts +1 -12
  127. package/src/tool/partyKeg/i18n/id.ts +1 -12
  128. package/src/tool/partyKeg/i18n/it.ts +1 -12
  129. package/src/tool/partyKeg/i18n/ja.ts +1 -12
  130. package/src/tool/partyKeg/i18n/ko.ts +1 -12
  131. package/src/tool/partyKeg/i18n/nl.ts +1 -12
  132. package/src/tool/partyKeg/i18n/pl.ts +1 -12
  133. package/src/tool/partyKeg/i18n/pt.ts +1 -12
  134. package/src/tool/partyKeg/i18n/ru.ts +1 -12
  135. package/src/tool/partyKeg/i18n/sv.ts +1 -12
  136. package/src/tool/partyKeg/i18n/tr.ts +1 -12
  137. package/src/tool/partyKeg/i18n/zh.ts +1 -12
  138. package/src/tools.ts +5 -0
  139. package/src/types.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jjlmoya/utils-alcohol",
3
- "version": "1.25.0",
3
+ "version": "1.26.0",
4
4
  "type": "module",
5
5
  "main": "./src/index.ts",
6
6
  "types": "./src/index.ts",
package/src/entries.ts CHANGED
@@ -8,10 +8,16 @@ export { cocktailBalancer } from './tool/cocktailBalancer/entry';
8
8
  export type { CocktailBalancerUI, CocktailBalancerLocaleContent } from './tool/cocktailBalancer/entry';
9
9
  export { partyKeg } from './tool/partyKeg/entry';
10
10
  export type { PartyKegUI, PartyKegLocaleContent } from './tool/partyKeg/entry';
11
+ export { jelloShotLab } from './tool/jelloShotLab/entry';
12
+ export type { JelloShotLabUI, JelloShotLabLocaleContent } from './tool/jelloShotLab/entry';
13
+ export { fortifiedWine } from './tool/fortifiedWine/entry';
14
+ export type { FortifiedWineBuilderUI, FortifiedWineBuilderLocaleContent } from './tool/fortifiedWine/entry';
11
15
  export { alcoholCategory, toolsCategory } from './category';
12
16
  import { alcoholClearance } from './tool/alcoholClearance/entry';
13
17
  import { beerCooler } from './tool/beerCooler/entry';
14
18
  import { carbonationCalculator } from './tool/carbonationCalculator/entry';
15
19
  import { cocktailBalancer } from './tool/cocktailBalancer/entry';
16
20
  import { partyKeg } from './tool/partyKeg/entry';
17
- export const ALL_ENTRIES = [alcoholClearance, beerCooler, carbonationCalculator, cocktailBalancer, partyKeg];
21
+ import { jelloShotLab } from './tool/jelloShotLab/entry';
22
+ import { fortifiedWine } from './tool/fortifiedWine/entry';
23
+ export const ALL_ENTRIES = [alcoholClearance, beerCooler, carbonationCalculator, cocktailBalancer, partyKeg, jelloShotLab, fortifiedWine];
package/src/index.ts CHANGED
@@ -3,6 +3,7 @@ export * from './tool/beerCooler';
3
3
  export * from './tool/carbonationCalculator';
4
4
  export * from './tool/cocktailBalancer';
5
5
  export * from './tool/partyKeg';
6
+ export * from './tool/fortifiedWine';
6
7
 
7
8
  export { alcoholCategory } from './category';
8
9
  export const AlcoholCategorySEO = () => import('./category/seo.astro').then((m) => m.default);
@@ -45,7 +45,7 @@ export async function getStaticPaths() {
45
45
  );
46
46
  paths.push({
47
47
  params: { locale, slug: content.slug },
48
- props: { Component, locale, content, localeUrls, allToolsNav },
48
+ props: { Component, locale, content, localeUrls, allToolsNav, toolId: entry.id },
49
49
  });
50
50
  }
51
51
  }
@@ -66,9 +66,14 @@ interface Props {
66
66
  content: ToolLocaleContent;
67
67
  localeUrls: Partial<Record<KnownLocale, string>>;
68
68
  allToolsNav: NavItem[];
69
+ toolId: string;
69
70
  }
70
71
 
71
- const { Component, locale, content, localeUrls, allToolsNav } = Astro.props;
72
+ const { Component, locale, content, localeUrls, allToolsNav, toolId } = Astro.props;
73
+
74
+ const toolCssModules = import.meta.glob('../../tool/*/*.css');
75
+ const cssKey = Object.keys(toolCssModules).find(k => k.endsWith(`/${toolId}.css`));
76
+ if (cssKey) await toolCssModules[cssKey]();
72
77
 
73
78
  const seoContent: UtilitySEOContent = { locale, sections: content.seo };
74
79
 
@@ -125,7 +130,6 @@ const titleBase = words.slice(1).join(" ") || "";
125
130
 
126
131
  <section class="section-bibliography">
127
132
  <Bibliography
128
- title={content.bibliographyTitle}
129
133
  links={content.bibliography}
130
134
  />
131
135
  </section>
@@ -19,24 +19,19 @@ describe('Locale Completeness Validation', () => {
19
19
  }
20
20
  });
21
21
 
22
- it('bibliographyTitle should be defined when bibliography items exist', async () => {
22
+ it('bibliography should be a non-empty array when defined', async () => {
23
23
  const loader = tool.entry.i18n[locale as keyof typeof tool.entry.i18n];
24
24
  const content = (await loader?.()) as ToolLocaleContent;
25
25
 
26
- if (content.bibliography.length > 0) {
27
- expect(
28
- content.bibliographyTitle,
29
- `Tool "${tool.entry.id}" locale "${locale}" has ${content.bibliography.length} bibliography items but is missing bibliographyTitle`,
30
- ).toBeTruthy();
31
- }
26
+ expect(Array.isArray(content.bibliography)).toBe(true);
32
27
  });
33
28
  });
34
29
  });
35
30
  });
36
31
  });
37
32
 
38
- it('all 5 tools registered', () => {
39
- expect(ALL_TOOLS.length).toBe(5);
33
+ it('all 7 tools registered', () => {
34
+ expect(ALL_TOOLS.length).toBe(7);
40
35
  });
41
36
  });
42
37
 
@@ -3,8 +3,8 @@ import { ALL_TOOLS } from '../tools';
3
3
 
4
4
  describe('Tool Validation Suite', () => {
5
5
  describe('Library Registration', () => {
6
- it('should have 5 tools in ALL_TOOLS', () => {
7
- expect(ALL_TOOLS.length).toBe(5);
6
+ it('should have 7 tools in ALL_TOOLS', () => {
7
+ expect(ALL_TOOLS.length).toBe(7);
8
8
  });
9
9
 
10
10
  it('all tools should have defined i18n', () => {
@@ -0,0 +1,6 @@
1
+ import type { BibliographyEntry } from '../../types';
2
+
3
+ export const bibliography: BibliographyEntry[] = [
4
+ { name: 'Alcohol calculations and their uncertainty - PMC', url: 'https://pmc.ncbi.nlm.nih.gov/articles/PMC4361698/' },
5
+ { name: 'Alcohol Metabolism: How the body processes alcohol - NIH', url: 'https://www.niaaa.nih.gov/publications/alcohol-metabolism' },
6
+ ];
@@ -1,4 +1,5 @@
1
1
  import type { AlcoholToolEntry, ToolLocaleContent } from '../../types';
2
+ export { bibliography } from './bibliography';
2
3
 
3
4
  export interface AlcoholClearanceUI {
4
5
  [key: string]: string;
@@ -1,3 +1,4 @@
1
+ import { bibliography } from '../bibliography';
1
2
  import type { WithContext, SoftwareApplication, FAQPage, HowTo } from 'schema-dts';
2
3
  import type { AlcoholClearanceUI, AlcoholClearanceLocaleContent } from '../index';
3
4
 
@@ -31,7 +32,6 @@ const ui: AlcoholClearanceUI = {
31
32
  };
32
33
 
33
34
  const faqTitle = 'Häufig gestellte Fragen';
34
- const bibliographyTitle = 'Literaturverzeichnis & Quellen';
35
35
 
36
36
  const faq: AlcoholClearanceLocaleContent['faq'] = [
37
37
  {
@@ -60,16 +60,6 @@ const faq: AlcoholClearanceLocaleContent['faq'] = [
60
60
  },
61
61
  ];
62
62
 
63
- const bibliography: AlcoholClearanceLocaleContent['bibliography'] = [
64
- {
65
- name: "Alkoholberechnungen und ihre Unsicherheit - PMC",
66
- url: "https://pmc.ncbi.nlm.nih.gov/articles/PMC4361698/",
67
- },
68
- {
69
- name: "Alkoholstoffwechsel: Wie der Körper Alkohol verarbeitet - NIH",
70
- url: "https://www.niaaa.nih.gov/publications/alcohol-metabolism",
71
- },
72
- ];
73
63
 
74
64
  const howTo: AlcoholClearanceLocaleContent['howTo'] = [
75
65
  {
@@ -198,7 +188,6 @@ export const content: AlcoholClearanceLocaleContent = {
198
188
  seo,
199
189
  faqTitle,
200
190
  faq,
201
- bibliographyTitle,
202
191
  bibliography,
203
192
  howTo,
204
193
  schemas,
@@ -1,3 +1,4 @@
1
+ import { bibliography } from '../bibliography';
1
2
  import type { WithContext, SoftwareApplication, FAQPage, HowTo } from 'schema-dts';
2
3
  import type { AlcoholClearanceUI, AlcoholClearanceLocaleContent } from '../index';
3
4
 
@@ -31,7 +32,6 @@ const ui: AlcoholClearanceUI = {
31
32
  };
32
33
 
33
34
  const faqTitle = 'Frequently Asked Questions';
34
- const bibliographyTitle = 'Bibliography & Sources';
35
35
 
36
36
  const faq: AlcoholClearanceLocaleContent['faq'] = [
37
37
  {
@@ -60,16 +60,6 @@ const faq: AlcoholClearanceLocaleContent['faq'] = [
60
60
  },
61
61
  ];
62
62
 
63
- const bibliography: AlcoholClearanceLocaleContent['bibliography'] = [
64
- {
65
- name: "Alcohol calculations and their uncertainty - PMC",
66
- url: "https://pmc.ncbi.nlm.nih.gov/articles/PMC4361698/",
67
- },
68
- {
69
- name: "Alcohol Metabolism: How the body processes alcohol - NIH",
70
- url: "https://www.niaaa.nih.gov/publications/alcohol-metabolism",
71
- },
72
- ];
73
63
 
74
64
  const howTo: AlcoholClearanceLocaleContent['howTo'] = [
75
65
  {
@@ -198,7 +188,6 @@ export const content: AlcoholClearanceLocaleContent = {
198
188
  seo,
199
189
  faqTitle,
200
190
  faq,
201
- bibliographyTitle,
202
191
  bibliography,
203
192
  howTo,
204
193
  schemas,
@@ -1,3 +1,4 @@
1
+ import { bibliography } from '../bibliography';
1
2
  import type { WithContext, SoftwareApplication, FAQPage, HowTo } from 'schema-dts';
2
3
  import type { AlcoholClearanceUI, AlcoholClearanceLocaleContent } from '../index';
3
4
 
@@ -31,7 +32,6 @@ const ui: AlcoholClearanceUI = {
31
32
  };
32
33
 
33
34
  const faqTitle = 'Preguntas Frecuentes';
34
- const bibliographyTitle = 'Bibliografía y Fuentes';
35
35
 
36
36
  const faq: AlcoholClearanceLocaleContent['faq'] = [
37
37
  {
@@ -75,16 +75,6 @@ const howTo: AlcoholClearanceLocaleContent['howTo'] = [
75
75
  },
76
76
  ];
77
77
 
78
- const bibliography: AlcoholClearanceLocaleContent['bibliography'] = [
79
- {
80
- name: "Alcohol calculations and their uncertainty - PMC",
81
- url: "https://pmc.ncbi.nlm.nih.gov/articles/PMC4361698/",
82
- },
83
- {
84
- name: "Alcohol Metabolism: How the body processes alcohol - NIH",
85
- url: "https://www.niaaa.nih.gov/publications/alcohol-metabolism",
86
- },
87
- ];
88
78
 
89
79
  const seo: AlcoholClearanceLocaleContent['seo'] = [
90
80
  {
@@ -207,7 +197,6 @@ export const content: AlcoholClearanceLocaleContent = {
207
197
  seo,
208
198
  faqTitle,
209
199
  faq,
210
- bibliographyTitle,
211
200
  bibliography,
212
201
  howTo,
213
202
  schemas,
@@ -1,3 +1,4 @@
1
+ import { bibliography } from '../bibliography';
1
2
  import type { WithContext, SoftwareApplication, FAQPage, HowTo } from 'schema-dts';
2
3
  import type { AlcoholClearanceUI, AlcoholClearanceLocaleContent } from '../index';
3
4
 
@@ -31,7 +32,6 @@ const ui: AlcoholClearanceUI = {
31
32
  };
32
33
 
33
34
  const faqTitle = 'Foire Aux Questions';
34
- const bibliographyTitle = 'Bibliographie & Sources';
35
35
 
36
36
  const faq: AlcoholClearanceLocaleContent['faq'] = [
37
37
  {
@@ -60,16 +60,6 @@ const faq: AlcoholClearanceLocaleContent['faq'] = [
60
60
  },
61
61
  ];
62
62
 
63
- const bibliography: AlcoholClearanceLocaleContent['bibliography'] = [
64
- {
65
- name: "Alcohol calculations and their uncertainty - PMC",
66
- url: "https://pmc.ncbi.nlm.nih.gov/articles/PMC4361698/",
67
- },
68
- {
69
- name: "Alcohol Metabolism: How the body processes alcohol - NIH",
70
- url: "https://www.niaaa.nih.gov/publications/alcohol-metabolism",
71
- },
72
- ];
73
63
 
74
64
  const howTo: AlcoholClearanceLocaleContent['howTo'] = [
75
65
  {
@@ -189,7 +179,6 @@ export const content: AlcoholClearanceLocaleContent = {
189
179
  seo,
190
180
  faqTitle,
191
181
  faq,
192
- bibliographyTitle,
193
182
  bibliography,
194
183
  howTo,
195
184
  schemas,
@@ -1,3 +1,4 @@
1
+ import { bibliography } from '../bibliography';
1
2
  import type { WithContext, SoftwareApplication, FAQPage, HowTo } from 'schema-dts';
2
3
  import type { AlcoholClearanceUI, AlcoholClearanceLocaleContent } from '../index';
3
4
 
@@ -31,7 +32,6 @@ const ui: AlcoholClearanceUI = {
31
32
  };
32
33
 
33
34
  const faqTitle = 'Pertanyaan yang Sering Diajukan';
34
- const bibliographyTitle = 'Bibliografi & Sumber';
35
35
 
36
36
  const faq: AlcoholClearanceLocaleContent['faq'] = [
37
37
  {
@@ -60,16 +60,6 @@ const faq: AlcoholClearanceLocaleContent['faq'] = [
60
60
  },
61
61
  ];
62
62
 
63
- const bibliography: AlcoholClearanceLocaleContent['bibliography'] = [
64
- {
65
- name: "Perhitungan alkohol dan ketidakpastiannya - PMC",
66
- url: "https://pmc.ncbi.nlm.nih.gov/articles/PMC4361698/",
67
- },
68
- {
69
- name: "Metabolisme Alkohol: Bagaimana tubuh memproses alkohol - NIH",
70
- url: "https://www.niaaa.nih.gov/publications/alcohol-metabolism",
71
- },
72
- ];
73
63
 
74
64
  const howTo: AlcoholClearanceLocaleContent['howTo'] = [
75
65
  {
@@ -198,7 +188,6 @@ export const content: AlcoholClearanceLocaleContent = {
198
188
  seo,
199
189
  faqTitle,
200
190
  faq,
201
- bibliographyTitle,
202
191
  bibliography,
203
192
  howTo,
204
193
  schemas,
@@ -1,3 +1,4 @@
1
+ import { bibliography } from '../bibliography';
1
2
  import type { WithContext, SoftwareApplication, FAQPage, HowTo } from 'schema-dts';
2
3
  import type { AlcoholClearanceUI, AlcoholClearanceLocaleContent } from '../index';
3
4
 
@@ -31,7 +32,6 @@ const ui: AlcoholClearanceUI = {
31
32
  };
32
33
 
33
34
  const faqTitle = 'Domande frequenti';
34
- const bibliographyTitle = 'Bibliografia e fonti';
35
35
 
36
36
  const faq: AlcoholClearanceLocaleContent['faq'] = [
37
37
  {
@@ -60,16 +60,6 @@ const faq: AlcoholClearanceLocaleContent['faq'] = [
60
60
  },
61
61
  ];
62
62
 
63
- const bibliography: AlcoholClearanceLocaleContent['bibliography'] = [
64
- {
65
- name: 'Calcoli di alcol e loro incertezza - PMC',
66
- url: 'https://pmc.ncbi.nlm.nih.gov/articles/PMC4361698/',
67
- },
68
- {
69
- name: 'Metabolismo dell\'alcol: Come il corpo elabora l\'alcol - NIH',
70
- url: 'https://www.niaaa.nih.gov/publications/alcohol-metabolism',
71
- },
72
- ];
73
63
 
74
64
  const howTo: AlcoholClearanceLocaleContent['howTo'] = [
75
65
  {
@@ -173,7 +163,6 @@ export const content: AlcoholClearanceLocaleContent = {
173
163
  seo,
174
164
  faqTitle,
175
165
  faq,
176
- bibliographyTitle,
177
166
  bibliography,
178
167
  howTo,
179
168
  schemas,
@@ -1,3 +1,4 @@
1
+ import { bibliography } from '../bibliography';
1
2
  import type { WithContext, SoftwareApplication, FAQPage, HowTo } from 'schema-dts';
2
3
  import type { AlcoholClearanceUI, AlcoholClearanceLocaleContent } from '../index';
3
4
 
@@ -31,7 +32,6 @@ const ui: AlcoholClearanceUI = {
31
32
  };
32
33
 
33
34
  const faqTitle = 'よくある質問';
34
- const bibliographyTitle = '参考文献・情報源';
35
35
 
36
36
  const faq: AlcoholClearanceLocaleContent['faq'] = [
37
37
  {
@@ -60,16 +60,6 @@ const faq: AlcoholClearanceLocaleContent['faq'] = [
60
60
  },
61
61
  ];
62
62
 
63
- const bibliography: AlcoholClearanceLocaleContent['bibliography'] = [
64
- {
65
- name: 'アルコール計算とその不確実性 - PMC',
66
- url: 'https://pmc.ncbi.nlm.nih.gov/articles/PMC4361698/',
67
- },
68
- {
69
- name: 'アルコール代謝:体がアルコールを処理する方法 - NIH',
70
- url: 'https://www.niaaa.nih.gov/publications/alcohol-metabolism',
71
- },
72
- ];
73
63
 
74
64
  const howTo: AlcoholClearanceLocaleContent['howTo'] = [
75
65
  {
@@ -198,7 +188,6 @@ export const content: AlcoholClearanceLocaleContent = {
198
188
  seo,
199
189
  faqTitle,
200
190
  faq,
201
- bibliographyTitle,
202
191
  bibliography,
203
192
  howTo,
204
193
  schemas,
@@ -1,3 +1,4 @@
1
+ import { bibliography } from '../bibliography';
1
2
  import type { WithContext, SoftwareApplication, FAQPage, HowTo } from 'schema-dts';
2
3
  import type { AlcoholClearanceUI, AlcoholClearanceLocaleContent } from '../index';
3
4
 
@@ -31,7 +32,6 @@ const ui: AlcoholClearanceUI = {
31
32
  };
32
33
 
33
34
  const faqTitle = '자주 묻는 질문';
34
- const bibliographyTitle = '참고 자료 및 출처';
35
35
 
36
36
  const faq: AlcoholClearanceLocaleContent['faq'] = [
37
37
  {
@@ -60,16 +60,6 @@ const faq: AlcoholClearanceLocaleContent['faq'] = [
60
60
  },
61
61
  ];
62
62
 
63
- const bibliography: AlcoholClearanceLocaleContent['bibliography'] = [
64
- {
65
- name: "알콜 계산 및 불확실성 - PMC",
66
- url: "https://pmc.ncbi.nlm.nih.gov/articles/PMC4361698/",
67
- },
68
- {
69
- name: "알콜 신진대사: 신체가 알콜을 처리하는 방식 - NIH",
70
- url: "https://www.niaaa.nih.gov/publications/alcohol-metabolism",
71
- },
72
- ];
73
63
 
74
64
  const howTo: AlcoholClearanceLocaleContent['howTo'] = [
75
65
  {
@@ -198,7 +188,6 @@ export const content: AlcoholClearanceLocaleContent = {
198
188
  seo,
199
189
  faqTitle,
200
190
  faq,
201
- bibliographyTitle,
202
191
  bibliography,
203
192
  howTo,
204
193
  schemas,
@@ -1,3 +1,4 @@
1
+ import { bibliography } from '../bibliography';
1
2
  import type { WithContext, SoftwareApplication, FAQPage, HowTo } from 'schema-dts';
2
3
  import type { AlcoholClearanceUI, AlcoholClearanceLocaleContent } from '../index';
3
4
 
@@ -31,7 +32,6 @@ const ui: AlcoholClearanceUI = {
31
32
  };
32
33
 
33
34
  const faqTitle = 'Veelgestelde vragen';
34
- const bibliographyTitle = 'Bibliografie en bronnen';
35
35
 
36
36
  const faq: AlcoholClearanceLocaleContent['faq'] = [
37
37
  {
@@ -60,16 +60,6 @@ const faq: AlcoholClearanceLocaleContent['faq'] = [
60
60
  },
61
61
  ];
62
62
 
63
- const bibliography: AlcoholClearanceLocaleContent['bibliography'] = [
64
- {
65
- name: "Alcoholberekeningen en hun onzekerheid - PMC",
66
- url: "https://pmc.ncbi.nlm.nih.gov/articles/PMC4361698/",
67
- },
68
- {
69
- name: "Alcoholstofwisseling: Hoe het lichaam alcohol verwerkt - NIH",
70
- url: "https://www.niaaa.nih.gov/publications/alcohol-metabolism",
71
- },
72
- ];
73
63
 
74
64
  const howTo: AlcoholClearanceLocaleContent['howTo'] = [
75
65
  {
@@ -198,7 +188,6 @@ export const content: AlcoholClearanceLocaleContent = {
198
188
  seo,
199
189
  faqTitle,
200
190
  faq,
201
- bibliographyTitle,
202
191
  bibliography,
203
192
  howTo,
204
193
  schemas,
@@ -1,3 +1,4 @@
1
+ import { bibliography } from '../bibliography';
1
2
  import type { WithContext, SoftwareApplication, FAQPage, HowTo } from 'schema-dts';
2
3
  import type { AlcoholClearanceUI, AlcoholClearanceLocaleContent } from '../index';
3
4
 
@@ -31,7 +32,6 @@ const ui: AlcoholClearanceUI = {
31
32
  };
32
33
 
33
34
  const faqTitle = 'Często Zadawane Pytania';
34
- const bibliographyTitle = 'Bibliografia i Źródła';
35
35
 
36
36
  const faq: AlcoholClearanceLocaleContent['faq'] = [
37
37
  {
@@ -60,16 +60,6 @@ const faq: AlcoholClearanceLocaleContent['faq'] = [
60
60
  },
61
61
  ];
62
62
 
63
- const bibliography: AlcoholClearanceLocaleContent['bibliography'] = [
64
- {
65
- name: "Alcohol calculations and their uncertainty - PMC",
66
- url: "https://pmc.ncbi.nlm.nih.gov/articles/PMC4361698/",
67
- },
68
- {
69
- name: "Alcohol Metabolism: How the body processes alcohol - NIH",
70
- url: "https://www.niaaa.nih.gov/publications/alcohol-metabolism",
71
- },
72
- ];
73
63
 
74
64
  const howTo: AlcoholClearanceLocaleContent['howTo'] = [
75
65
  {
@@ -198,7 +188,6 @@ export const content: AlcoholClearanceLocaleContent = {
198
188
  seo,
199
189
  faqTitle,
200
190
  faq,
201
- bibliographyTitle,
202
191
  bibliography,
203
192
  howTo,
204
193
  schemas,
@@ -1,3 +1,4 @@
1
+ import { bibliography } from '../bibliography';
1
2
  import type { WithContext, SoftwareApplication, FAQPage, HowTo } from 'schema-dts';
2
3
  import type { AlcoholClearanceUI, AlcoholClearanceLocaleContent } from '../index';
3
4
 
@@ -31,7 +32,6 @@ const ui: AlcoholClearanceUI = {
31
32
  };
32
33
 
33
34
  const faqTitle = 'Perguntas Frequentes';
34
- const bibliographyTitle = 'Referências e Fontes';
35
35
 
36
36
  const faq: AlcoholClearanceLocaleContent['faq'] = [
37
37
  {
@@ -60,16 +60,6 @@ const faq: AlcoholClearanceLocaleContent['faq'] = [
60
60
  },
61
61
  ];
62
62
 
63
- const bibliography: AlcoholClearanceLocaleContent['bibliography'] = [
64
- {
65
- name: "Alcohol calculations and their uncertainty - PMC",
66
- url: "https://pmc.ncbi.nlm.nih.gov/articles/PMC4361698/",
67
- },
68
- {
69
- name: "Alcohol Metabolism: How the body processes alcohol - NIH",
70
- url: "https://www.niaaa.nih.gov/publications/alcohol-metabolism",
71
- },
72
- ];
73
63
 
74
64
  const howTo: AlcoholClearanceLocaleContent['howTo'] = [
75
65
  {
@@ -198,7 +188,6 @@ export const content: AlcoholClearanceLocaleContent = {
198
188
  seo,
199
189
  faqTitle,
200
190
  faq,
201
- bibliographyTitle,
202
191
  bibliography,
203
192
  howTo,
204
193
  schemas,
@@ -1,3 +1,4 @@
1
+ import { bibliography } from '../bibliography';
1
2
  import type { WithContext, SoftwareApplication, FAQPage, HowTo } from 'schema-dts';
2
3
  import type { AlcoholClearanceUI, AlcoholClearanceLocaleContent } from '../index';
3
4
 
@@ -31,7 +32,6 @@ const ui: AlcoholClearanceUI = {
31
32
  };
32
33
 
33
34
  const faqTitle = 'Часто задаваемые вопросы';
34
- const bibliographyTitle = 'Источники и литература';
35
35
 
36
36
  const faq: AlcoholClearanceLocaleContent['faq'] = [
37
37
  {
@@ -60,16 +60,6 @@ const faq: AlcoholClearanceLocaleContent['faq'] = [
60
60
  },
61
61
  ];
62
62
 
63
- const bibliography: AlcoholClearanceLocaleContent['bibliography'] = [
64
- {
65
- name: "Расчёты алкоголя и их неопределённость - PMC",
66
- url: "https://pmc.ncbi.nlm.nih.gov/articles/PMC4361698/",
67
- },
68
- {
69
- name: "Метаболизм алкоголя: как организм перерабатывает спирт - NIH",
70
- url: "https://www.niaaa.nih.gov/publications/alcohol-metabolism",
71
- },
72
- ];
73
63
 
74
64
  const howTo: AlcoholClearanceLocaleContent['howTo'] = [
75
65
  {
@@ -198,7 +188,6 @@ export const content: AlcoholClearanceLocaleContent = {
198
188
  seo,
199
189
  faqTitle,
200
190
  faq,
201
- bibliographyTitle,
202
191
  bibliography,
203
192
  howTo,
204
193
  schemas,
@@ -1,3 +1,4 @@
1
+ import { bibliography } from '../bibliography';
1
2
  import type { WithContext, SoftwareApplication, FAQPage, HowTo } from 'schema-dts';
2
3
  import type { AlcoholClearanceUI, AlcoholClearanceLocaleContent } from '../index';
3
4
 
@@ -31,7 +32,6 @@ const ui: AlcoholClearanceUI = {
31
32
  };
32
33
 
33
34
  const faqTitle = 'Vanliga frågor';
34
- const bibliographyTitle = 'Litteraturreferenser';
35
35
 
36
36
  const faq: AlcoholClearanceLocaleContent['faq'] = [
37
37
  {
@@ -60,16 +60,6 @@ const faq: AlcoholClearanceLocaleContent['faq'] = [
60
60
  },
61
61
  ];
62
62
 
63
- const bibliography: AlcoholClearanceLocaleContent['bibliography'] = [
64
- {
65
- name: "Alkoholberäkningar och deras osäkerhet - PMC",
66
- url: "https://pmc.ncbi.nlm.nih.gov/articles/PMC4361698/",
67
- },
68
- {
69
- name: "Alkoholmetabolism: Hur kroppen bryter ner alkohol - NIH",
70
- url: "https://www.niaaa.nih.gov/publications/alcohol-metabolism",
71
- },
72
- ];
73
63
 
74
64
  const howTo: AlcoholClearanceLocaleContent['howTo'] = [
75
65
  {
@@ -198,7 +188,6 @@ export const content: AlcoholClearanceLocaleContent = {
198
188
  seo,
199
189
  faqTitle,
200
190
  faq,
201
- bibliographyTitle,
202
191
  bibliography,
203
192
  howTo,
204
193
  schemas,
@@ -1,3 +1,4 @@
1
+ import { bibliography } from '../bibliography';
1
2
  import type { WithContext, SoftwareApplication, FAQPage, HowTo } from 'schema-dts';
2
3
  import type { AlcoholClearanceUI, AlcoholClearanceLocaleContent } from '../index';
3
4
 
@@ -31,7 +32,6 @@ const ui: AlcoholClearanceUI = {
31
32
  };
32
33
 
33
34
  const faqTitle: string = 'Sıkça Sorulan Sorular';
34
- const bibliographyTitle: string = 'Bibliyografi ve Kaynaklar';
35
35
 
36
36
  const faq: AlcoholClearanceLocaleContent['faq'] = [
37
37
  {
@@ -60,16 +60,6 @@ const faq: AlcoholClearanceLocaleContent['faq'] = [
60
60
  },
61
61
  ];
62
62
 
63
- const bibliography: AlcoholClearanceLocaleContent['bibliography'] = [
64
- {
65
- name: 'Alkol hesaplamaları ve belirsizliği - PMC',
66
- url: 'https://pmc.ncbi.nlm.nih.gov/articles/PMC4361698/',
67
- },
68
- {
69
- name: 'Alkol Metabolizması: Vücudun alkoli nasıl işler - NIH',
70
- url: 'https://www.niaaa.nih.gov/publications/alcohol-metabolism',
71
- },
72
- ];
73
63
 
74
64
  const howTo: AlcoholClearanceLocaleContent['howTo'] = [
75
65
  {
@@ -173,7 +163,6 @@ export const content: AlcoholClearanceLocaleContent = {
173
163
  seo,
174
164
  faqTitle,
175
165
  faq,
176
- bibliographyTitle,
177
166
  bibliography,
178
167
  howTo,
179
168
  schemas,