@jjlmoya/utils-alcohol 1.14.0 → 1.15.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 (77) hide show
  1. package/package.json +2 -1
  2. package/src/category/i18n/id.ts +28 -0
  3. package/src/category/i18n/sv.ts +19 -0
  4. package/src/category/index.ts +2 -0
  5. package/src/tests/faq_count.test.ts +12 -10
  6. package/src/tests/i18n_coverage.test.ts +36 -0
  7. package/src/tests/locale_completeness.test.ts +42 -0
  8. package/src/tests/no_h1_in_components.test.ts +48 -0
  9. package/src/tests/seo_length.test.ts +3 -34
  10. package/src/tests/tool_validation.test.ts +4 -4
  11. package/src/tool/alcoholClearance/i18n/de.ts +205 -0
  12. package/src/tool/alcoholClearance/i18n/id.ts +205 -0
  13. package/src/tool/alcoholClearance/i18n/it.ts +180 -0
  14. package/src/tool/alcoholClearance/i18n/ja.ts +205 -0
  15. package/src/tool/alcoholClearance/i18n/ko.ts +205 -0
  16. package/src/tool/alcoholClearance/i18n/nl.ts +205 -0
  17. package/src/tool/alcoholClearance/i18n/pl.ts +205 -0
  18. package/src/tool/alcoholClearance/i18n/pt.ts +205 -0
  19. package/src/tool/alcoholClearance/i18n/ru.ts +205 -0
  20. package/src/tool/alcoholClearance/i18n/sv.ts +205 -0
  21. package/src/tool/alcoholClearance/i18n/tr.ts +180 -0
  22. package/src/tool/alcoholClearance/i18n/zh.ts +205 -0
  23. package/src/tool/alcoholClearance/index.ts +13 -1
  24. package/src/tool/beerCooler/i18n/de.ts +197 -0
  25. package/src/tool/beerCooler/i18n/id.ts +197 -0
  26. package/src/tool/beerCooler/i18n/it.ts +197 -0
  27. package/src/tool/beerCooler/i18n/ja.ts +197 -0
  28. package/src/tool/beerCooler/i18n/ko.ts +197 -0
  29. package/src/tool/beerCooler/i18n/nl.ts +197 -0
  30. package/src/tool/beerCooler/i18n/pl.ts +197 -0
  31. package/src/tool/beerCooler/i18n/pt.ts +197 -0
  32. package/src/tool/beerCooler/i18n/ru.ts +197 -0
  33. package/src/tool/beerCooler/i18n/sv.ts +197 -0
  34. package/src/tool/beerCooler/i18n/tr.ts +197 -0
  35. package/src/tool/beerCooler/i18n/zh.ts +197 -0
  36. package/src/tool/beerCooler/index.ts +13 -1
  37. package/src/tool/carbonationCalculator/i18n/de.ts +200 -0
  38. package/src/tool/carbonationCalculator/i18n/id.ts +200 -0
  39. package/src/tool/carbonationCalculator/i18n/it.ts +200 -0
  40. package/src/tool/carbonationCalculator/i18n/ja.ts +200 -0
  41. package/src/tool/carbonationCalculator/i18n/ko.ts +200 -0
  42. package/src/tool/carbonationCalculator/i18n/nl.ts +200 -0
  43. package/src/tool/carbonationCalculator/i18n/pl.ts +200 -0
  44. package/src/tool/carbonationCalculator/i18n/pt.ts +200 -0
  45. package/src/tool/carbonationCalculator/i18n/ru.ts +200 -0
  46. package/src/tool/carbonationCalculator/i18n/sv.ts +200 -0
  47. package/src/tool/carbonationCalculator/i18n/tr.ts +200 -0
  48. package/src/tool/carbonationCalculator/i18n/zh.ts +200 -0
  49. package/src/tool/carbonationCalculator/index.ts +13 -1
  50. package/src/tool/cocktailBalancer/i18n/de.ts +222 -0
  51. package/src/tool/cocktailBalancer/i18n/id.ts +222 -0
  52. package/src/tool/cocktailBalancer/i18n/it.ts +222 -0
  53. package/src/tool/cocktailBalancer/i18n/ja.ts +222 -0
  54. package/src/tool/cocktailBalancer/i18n/ko.ts +222 -0
  55. package/src/tool/cocktailBalancer/i18n/nl.ts +222 -0
  56. package/src/tool/cocktailBalancer/i18n/pl.ts +222 -0
  57. package/src/tool/cocktailBalancer/i18n/pt.ts +222 -0
  58. package/src/tool/cocktailBalancer/i18n/ru.ts +222 -0
  59. package/src/tool/cocktailBalancer/i18n/sv.ts +222 -0
  60. package/src/tool/cocktailBalancer/i18n/tr.ts +222 -0
  61. package/src/tool/cocktailBalancer/i18n/zh.ts +222 -0
  62. package/src/tool/cocktailBalancer/index.ts +13 -1
  63. package/src/tool/partyKeg/i18n/de.ts +187 -0
  64. package/src/tool/partyKeg/i18n/id.ts +187 -0
  65. package/src/tool/partyKeg/i18n/it.ts +187 -0
  66. package/src/tool/partyKeg/i18n/ja.ts +187 -0
  67. package/src/tool/partyKeg/i18n/ko.ts +187 -0
  68. package/src/tool/partyKeg/i18n/nl.ts +187 -0
  69. package/src/tool/partyKeg/i18n/pl.ts +187 -0
  70. package/src/tool/partyKeg/i18n/pt.ts +187 -0
  71. package/src/tool/partyKeg/i18n/ru.ts +187 -0
  72. package/src/tool/partyKeg/i18n/sv.ts +187 -0
  73. package/src/tool/partyKeg/i18n/tr.ts +187 -0
  74. package/src/tool/partyKeg/i18n/zh.ts +187 -0
  75. package/src/tool/partyKeg/index.ts +13 -1
  76. package/src/types.ts +1 -1
  77. package/src/tests/content_mandatory.test.ts +0 -32
@@ -0,0 +1,205 @@
1
+ import type { WithContext, SoftwareApplication, FAQPage, HowTo } from 'schema-dts';
2
+ import type { AlcoholClearanceUI, AlcoholClearanceLocaleContent } from '../index';
3
+
4
+ const slug = 'kalkulator-pembersihan-alkohol';
5
+ const title = 'Kalkulator Mabuk & BAC: Prediksi Pemulihan';
6
+ const description = 'Hitung Konten Alkohol dalam Darah (BAC) dan waktu untuk mencapai 0.0 menggunakan rumus Widmark. Rencanakan hidrasi sebelum tidur dan ketahui kapan Anda akan pulih sepenuhnya.';
7
+
8
+ const ui: AlcoholClearanceUI = {
9
+ biologicalSexLabel: 'Jenis Kelamin Biologis',
10
+ weightLabel: 'Berat Badan',
11
+ kgUnit: 'kg',
12
+ addDrinkLabel: 'Tambah Minuman',
13
+ beerLabel: 'Bir',
14
+ wineLabel: 'Wine',
15
+ spiritLabel: 'Minuman Campuran',
16
+ shotLabel: 'Shot',
17
+ accumulatedLabel: 'Minuman yang Dikonsumsi',
18
+ emptyListLabel: 'Daftar Anda kosong',
19
+ emptySubLabel: 'Pilih minuman untuk menghitung.',
20
+ estimatedBacLabel: 'BAC Estimasi',
21
+ bacUnit: 'BAC',
22
+ timeToZeroLabel: 'untuk mencapai 0.0',
23
+ waterAdviceLabel: 'Air (Sebelum tidur)',
24
+ pillAdviceLabel: 'Suplemen',
25
+ noneAdvice: 'Tidak diperlukan',
26
+ hydrationAdvice: 'Prioritas: Hidrasi',
27
+ electrolytesAdvice: 'Elektrolit + Vit. B',
28
+ disclaimerText: 'Kalkulator ini adalah estimasi teoritis. Metabolisme dan makanan dapat mempengaruhi hasil. Jangan minum dan berkendara.',
29
+ drinkUnit: 'minuman',
30
+ drinksUnit: 'minuman'
31
+ };
32
+
33
+ const faqTitle = 'Pertanyaan yang Sering Diajukan';
34
+ const bibliographyTitle = 'Bibliografi & Sumber';
35
+
36
+ const faq: AlcoholClearanceLocaleContent['faq'] = [
37
+ {
38
+ question: "Apa itu Unit Minuman Standar dan berapa banyak dalam setiap minuman?",
39
+ answer: "Satu Unit Minuman Standar mengandung sekitar 10 gram alkohol murni (definisi UK/EU; 14g di AS). Satu bir biasa (330ml pada 5%) mengandung ~1,3 unit, segelas wine (150ml pada 12%) ~1,4 unit, dan satu shot (40ml pada 40%) ~1,3 unit. Mengetahui unit dalam apa yang Anda minum sangat penting untuk menafsirkan hasil kalkulator dengan benar.",
40
+ },
41
+ {
42
+ question: "Mengapa jenis kelamin biologis mempengaruhi perhitungan BAC?",
43
+ answer: "Jenis kelamin biologis mempengaruhi faktor Widmark 'r', yang mewakili total air tubuh sebagai fraksi berat badan. Pria rata-rata memiliki r=0,68 karena mereka memiliki proporsi air tubuh yang lebih banyak. Wanita rata-rata r=0,55 karena persentase lemak tubuh yang lebih tinggi, yang menahan lebih sedikit alkohol. Ini berarti bahwa untuk minuman dan berat badan yang sama, wanita akan mencapai BAC yang lebih tinggi.",
44
+ },
45
+ {
46
+ question: "Bisakah kopi, air, atau olahraga mempercepat eliminasi alkohol?",
47
+ answer: "Tidak. Hati mengeliminasi alkohol dengan laju konstan sekitar 0,15 g/L per jam (kinetika orde nol). Kopi dapat menutupi kelelahan, air membantu dehidrasi, dan olahraga meningkatkan kesejahteraan umum — tetapi tidak satupun dari mereka mengurangi BAC aktual Anda. Hanya waktu yang mengeliminasi alkohol dari darah.",
48
+ },
49
+ {
50
+ question: "Apakah makan setelah minum membantu menurunkan BAC?",
51
+ answer: "Makan setelah minum tidak mengurangi alkohol yang sudah ada di aliran darah Anda. Tempat makanan membuat perbedaan besar adalah sebelum atau selama minum: makanan di perut — terutama protein dan lemak — memperlambat penyerapan gastrik dan dapat mengurangi BAC puncak Anda hingga 50%. Setelah alkohol diserap, hanya metabolisme hepatik yang dapat mengeliminasinya.",
52
+ },
53
+ {
54
+ question: "Berapa lama waktu untuk mencapai BAC 0,0?",
55
+ answer: "Tergantung pada BAC awal Anda. Bagi BAC estimasi Anda (dalam g/L) dengan 0,15 untuk mendapatkan jam perkiraan. Misalnya, BAC 1,5 g/L membutuhkan sekitar 10 jam. Hati tidak pernah berhenti: ia memproses alkohol bahkan saat Anda tidur. Tetapi perhatikan — alkohol masih bisa ada dalam darah Anda bahkan ketika Anda merasa sepenuhnya pulih.",
56
+ },
57
+ {
58
+ question: "Apakah kalkulator ini 100% andal untuk menentukan apakah harus berkendara?",
59
+ answer: "Tidak. Alat ini adalah estimasi teoritis berdasarkan rumus Widmark. Faktor-faktor seperti asupan makanan, obat-obatan, kelelahan, varian enzim ADH genetik, dan stres dapat menggeser BAC aktual Anda sebesar 20–30% di kedua arah. Jangan pernah gunakan kalkulator ini untuk menentukan apakah harus berkendara. Jika Anda telah minum, jangan berkendara — itulah satu-satunya aturan tanpa toleransi kesalahan.",
60
+ },
61
+ ];
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
+
74
+ const howTo: AlcoholClearanceLocaleContent['howTo'] = [
75
+ {
76
+ name: "Atur profil Anda",
77
+ text: "Pilih jenis kelamin biologis Anda (mempengaruhi persentase air tubuh) dan berat badan Anda saat ini.",
78
+ },
79
+ {
80
+ name: "Tambahkan minuman yang dikonsumsi",
81
+ text: "Klik pada ikon minuman yang telah Anda konsumsi. Mereka akan terkumpul di daftar di bawah.",
82
+ },
83
+ {
84
+ name: "Periksa waktu keamanan",
85
+ text: "Amati BAC yang diestimasi dan, yang paling penting, waktu yang diperlukan hati untuk memproses semua etanol yang dicerna.",
86
+ },
87
+ ];
88
+
89
+ const seo: AlcoholClearanceLocaleContent['seo'] = [
90
+ {
91
+ type: 'title',
92
+ text: 'Metabolisme Alkohol: Sains dan Eliminasi',
93
+ level: 2
94
+ },
95
+ {
96
+ type: 'paragraph',
97
+ html: 'Memahami bagaimana tubuh kita memproses etanol sangat penting untuk keselamatan dan untuk mengurangi mabuk. <strong>Kalkulator eliminasi alkohol</strong> kami menggunakan <strong>Rumus Widmark</strong> yang diakui untuk memberikan Anda peta jelas tentang keadaan metabolik Anda. Alkohol tidak dieliminasi dengan berkeringat, minum air, atau berolahraga — hanya waktu dan metabolisme hepatik yang dapat mengurangi konsentrasi alkohol dalam darah Anda.'
98
+ },
99
+ {
100
+ type: 'diagnostic',
101
+ title: 'Farmakokinetika BAC',
102
+ icon: 'mdi:gender-male-female',
103
+ variant: 'info',
104
+ badge: 'Biokimia',
105
+ html: 'Alkohol terdistribusi melalui air tubuh. Faktor-faktor seperti berat badan dan koefisien Widmark r (0,68 pada pria / 0,55 pada wanita) menentukan pengenceran etanol awal dalam aliran darah. Ini mengapa dua orang dengan berat badan sama dapat memiliki pembacaan BAC yang sangat berbeda setelah mengonsumsi minuman yang sama.'
106
+ },
107
+ {
108
+ type: 'title',
109
+ text: 'Oksidasi Hepatik dan Enzim',
110
+ level: 2
111
+ },
112
+ {
113
+ type: 'paragraph',
114
+ html: 'Hati menguraikan 95% alkohol melalui Alkohol Dehidrogenase (ADH). Proses ini terjadi dengan laju konstan (kinetika orde nol), yang berarti tidak dapat dipercepat dengan olahraga atau kopi. 5% sisanya dieliminasi melalui napas, urin, dan keringat — yang merupakan dasar untuk pengujian napas dalam penegakan lalu lintas.'
115
+ },
116
+ {
117
+ type: 'stats',
118
+ items: [
119
+ { label: 'Laju Eliminasi', value: '0,15 g/L·j', icon: 'mdi:clock-fast' },
120
+ { label: 'Penyerapan Gastrik', value: '20% Etanol', icon: 'mdi:stomach' },
121
+ { label: 'Hidrasi yang Disarankan', value: '1:1 Air/Minuman', icon: 'mdi:water' }
122
+ ],
123
+ columns: 3
124
+ },
125
+ {
126
+ type: 'proscons',
127
+ title: 'Mitos vs Realitas',
128
+ items: [
129
+ { pro: 'Air dan elektrolit sebelum tidur mengurangi keparahan mabuk dengan mengatasi diuresis.', con: '' },
130
+ { pro: '', con: 'Mandi air dingin: Mereka tidak mempengaruhi konsentrasi alkohol dalam darah sama sekali.' },
131
+ { pro: '', con: 'Kopi: Menutupi kantuk tetapi tidak memulihkan refleks yang hilang atau fungsi kognitif.' }
132
+ ]
133
+ },
134
+ {
135
+ type: 'card',
136
+ title: 'Apa Penyebab Mabuk?',
137
+ icon: 'mdi:alert-decagram',
138
+ html: 'Dikenal secara ilmiah sebagai veisalgia, mabuk disebabkan oleh dehidrasi sistemik (penindasan vasopresin oleh etanol), akumulasi asetaldehid (metabolit beracun), dan respons kekebalan inflamasi sitokin. Rebound glutamat otak setelah penindasan alkohol juga berkontribusi pada kecemasan dan sensitivitas terhadap cahaya dan suara keesokan paginya.'
139
+ },
140
+ {
141
+ type: 'tip',
142
+ title: 'Keselamatan Pertama: Ketahui Batas Anda',
143
+ html: 'BAC 0,05% secara terukur mengganggu penilaian, pelacakan, dan waktu reaksi. Kebanyakan negara menetapkan batas berkendara hukum antara 0,05% dan 0,08%. Namun, sensitivitas individu bervariasi secara signifikan — usia, obat-obatan, kelelahan, dan varian enzim ADH genetik semuanya mengubah bagaimana alkohol mempengaruhi Anda secara pribadi. Jika ragu, jangan berkendara.'
144
+ },
145
+ {
146
+ type: 'title',
147
+ text: 'Peran Makanan dan Laju Penyerapan',
148
+ level: 2
149
+ },
150
+ {
151
+ type: 'paragraph',
152
+ html: 'Makan sebelum atau selama minum secara dramatis mengubah kinetika penyerapan alkohol. Makanan di perut — terutama protein dan lemak — memperlambat pengosongan gastrik, mengurangi laju puncak di mana etanol memasuki aliran darah. Seseorang yang minum dengan perut kosong dapat mencapai BAC puncak 50% lebih tinggi daripada orang yang sama yang makan makanan lengkap sebelum minum jumlah yang sama. Ini adalah salah satu variabel paling kuat yang tidak dapat sepenuhnya ditangkap oleh rumus Widmark, itulah sebabnya kalkulator kami menyertakan penafian tentang estimasi teoritis.'
153
+ },
154
+ {
155
+ type: 'paragraph',
156
+ html: 'Jenis minuman beralkohol juga penting di luar hanya ABV dan volume. Mixer berkarbonasi (air tonik, wine bersoda) mempercepat pengosongan gastrik dan mendorong alkohol ke aliran darah lebih cepat. Minuman dengan ABV sangat tinggi (>25%) dapat sementara menghambat motilitas lambung, memperlambat penyerapan. Minuman manis dapat menutupi efek alkohol yang dirasakan, membuat orang minum lebih cepat dari yang mereka sadari. Nuansa ini mengapa BAC dunia nyata dapat menyimpang dari prediksi model sebesar 20-30% di kedua arah.'
157
+ }
158
+ ];
159
+
160
+ const schemas: AlcoholClearanceLocaleContent['schemas'] = [
161
+ {
162
+ '@context': 'https://schema.org',
163
+ '@type': 'FAQPage',
164
+ mainEntity: faq.map((item) => ({
165
+ '@type': 'Question',
166
+ name: item.question,
167
+ acceptedAnswer: { '@type': 'Answer', text: item.answer },
168
+ })),
169
+ } as WithContext<FAQPage>,
170
+ {
171
+ '@context': 'https://schema.org',
172
+ '@type': 'HowTo',
173
+ name: title,
174
+ description: description,
175
+ step: howTo.map((step, i) => ({
176
+ '@type': 'HowToStep',
177
+ position: i + 1,
178
+ name: step.name,
179
+ text: step.text,
180
+ })),
181
+ } as WithContext<HowTo>,
182
+ {
183
+ '@context': 'https://schema.org',
184
+ '@type': 'SoftwareApplication',
185
+ name: title,
186
+ description: description,
187
+ applicationCategory: 'HealthApplication',
188
+ operatingSystem: 'Web',
189
+ offers: { '@type': 'Offer', price: '0', priceCurrency: 'EUR' },
190
+ } as WithContext<SoftwareApplication>,
191
+ ];
192
+
193
+ export const content: AlcoholClearanceLocaleContent = {
194
+ slug,
195
+ title,
196
+ description,
197
+ ui,
198
+ seo,
199
+ faqTitle,
200
+ faq,
201
+ bibliographyTitle,
202
+ bibliography,
203
+ howTo,
204
+ schemas,
205
+ };
@@ -0,0 +1,180 @@
1
+ import type { WithContext, SoftwareApplication, FAQPage, HowTo } from 'schema-dts';
2
+ import type { AlcoholClearanceUI, AlcoholClearanceLocaleContent } from '../index';
3
+
4
+ const slug = 'alcohol-clearance-calculator';
5
+ const title = 'Calcolatore Sbornia e BAC: Predittore di Recupero';
6
+ const description = 'Calcola il tuo contenuto di alcol nel sangue (BAC) e il tempo per raggiungere 0.0 utilizzando la formula di Widmark. Pianifica la tua idratazione pre-sonno e saprai quando sarai completamente recuperato.';
7
+
8
+ const ui: AlcoholClearanceUI = {
9
+ biologicalSexLabel: 'Sesso biologico',
10
+ weightLabel: 'Peso corporeo',
11
+ kgUnit: 'kg',
12
+ addDrinkLabel: 'Aggiungi bevanda',
13
+ beerLabel: 'Birra',
14
+ wineLabel: 'Vino',
15
+ spiritLabel: 'Cocktail',
16
+ shotLabel: 'Bicchierino',
17
+ accumulatedLabel: 'Bevande consumate',
18
+ emptyListLabel: 'Il tuo elenco è vuoto',
19
+ emptySubLabel: 'Seleziona le bevande per calcolare.',
20
+ estimatedBacLabel: 'BAC stimato',
21
+ bacUnit: 'BAC',
22
+ timeToZeroLabel: 'per raggiungere 0.0',
23
+ waterAdviceLabel: 'Acqua (Prima del sonno)',
24
+ pillAdviceLabel: 'Integratori',
25
+ noneAdvice: 'Non necessario',
26
+ hydrationAdvice: 'Priorità: Idratazione',
27
+ electrolytesAdvice: 'Elettroliti + Vit. B',
28
+ disclaimerText: 'Questo calcolatore è una stima teorica. Il metabolismo e il cibo variano il risultato. Non bere e guidare.',
29
+ drinkUnit: 'bevanda',
30
+ drinksUnit: 'bevande'
31
+ };
32
+
33
+ const faqTitle = 'Domande frequenti';
34
+ const bibliographyTitle = 'Bibliografia e fonti';
35
+
36
+ const faq: AlcoholClearanceLocaleContent['faq'] = [
37
+ {
38
+ question: 'Che cos\'è un\'unità di bevanda standard e quanto c\'è in ogni bevanda?',
39
+ answer: 'Un\'unità di bevanda standard contiene approssimativamente 10 grammi di alcol puro (definizione UK/UE; 14g negli USA). Una birra normale (330ml al 5%) contiene ~1,3 unità, un bicchiere di vino (150ml al 12%) ~1,4 unità, e un bicchierino (40ml al 40%) ~1,3 unità. Conoscere le unità di quello che bevi è essenziale per interpretare correttamente i risultati del calcolatore.',
40
+ },
41
+ {
42
+ question: 'Perché il sesso biologico influisce sui calcoli del BAC?',
43
+ answer: 'Il sesso biologico influenza il fattore Widmark "r", che rappresenta l\'acqua corporea totale come frazione del peso. Gli uomini hanno una media r=0,68 perché hanno proporzionalmente più acqua corporea. Le donne hanno una media r=0,55 a causa di una percentuale più alta di grasso corporeo, che trattiene meno alcol. Ciò significa che per gli stessi drink e peso corporeo, le donne raggiungeranno un BAC più alto.',
44
+ },
45
+ {
46
+ question: 'Possono il caffè, l\'acqua o l\'esercizio accelerare l\'eliminazione dell\'alcol?',
47
+ answer: 'No. Il fegato elimina l\'alcol a un tasso costante di circa 0,15 g/L all\'ora (cinetica di ordine zero). Il caffè può mascherare la stanchezza, l\'acqua aiuta con la disidratazione, e l\'esercizio migliora il benessere generale — ma nessuno di questi riduce il tuo BAC effettivo. Solo il tempo elimina l\'alcol dal sangue.',
48
+ },
49
+ {
50
+ question: 'Mangiare dopo aver bevuto aiuta ad abbassare il BAC?',
51
+ answer: 'Mangiare dopo aver bevuto non riduce l\'alcol già nel tuo flusso sanguigno. Dove il cibo fa una grande differenza è prima o durante il bere: il cibo nello stomaco — specialmente proteine e grassi — rallenta l\'assorbimento gastrico e può ridurre il tuo BAC massimo fino al 50%. Una volta che l\'alcol è assorbito, solo il metabolismo epatico può eliminarlo.',
52
+ },
53
+ {
54
+ question: 'Quanto tempo ci vuole per raggiungere 0,0 BAC?',
55
+ answer: 'Dipende dal tuo BAC iniziale. Dividi il tuo BAC stimato (in g/L) per 0,15 per ottenere le ore approssimative. Ad esempio, un BAC di 1,5 g/L richiede circa 10 ore. Il fegato non smette mai: elabora l\'alcol anche mentre dormi. Ma fai attenzione — l\'alcol può ancora essere presente nel tuo sangue anche quando ti senti completamente recuperato.',
56
+ },
57
+ {
58
+ question: 'Questo calcolatore è affidabile al 100% per decidere se guidare?',
59
+ answer: 'No. Questo strumento è una stima teorica basata sulla formula di Widmark. Fattori come l\'assunzione di cibo, i farmaci, la fatica, le varianti genetiche dell\'enzima ADH e lo stress possono spostare il tuo BAC effettivo del 20-30% in entrambe le direzioni. Non utilizzare mai questo calcolatore per decidere se guidare. Se hai bevuto, non guidare — quella è l\'unica regola con zero margine di errore.',
60
+ },
61
+ ];
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
+
74
+ const howTo: AlcoholClearanceLocaleContent['howTo'] = [
75
+ {
76
+ name: 'Configura il tuo profilo',
77
+ text: 'Seleziona il tuo sesso biologico (influisce sulla percentuale di acqua corporea) e il tuo peso attuale.',
78
+ },
79
+ {
80
+ name: 'Aggiungi le bevande consumate',
81
+ text: 'Inserisci il tipo e il numero di drink. Il calcolatore userà unità standard per stimare l\'alcol puro consumato.',
82
+ },
83
+ {
84
+ name: 'Interpreta i risultati',
85
+ text: 'Leggere il tuo BAC stimato e il tempo per raggiungere 0,0. Ricorda: il caffè e l\'esercizio fisico non accelerano l\'eliminazione.',
86
+ },
87
+ ];
88
+
89
+ const seo: AlcoholClearanceLocaleContent['seo'] = [
90
+ {
91
+ type: 'title',
92
+ text: 'La scienza dietro il BAC e l\'eliminazione dell\'alcol',
93
+ level: 2
94
+ },
95
+ {
96
+ type: 'paragraph',
97
+ html: 'Il tuo corpo metabolizza l\'alcol a una velocità fissa: circa 0,15 grammi per litro all\'ora. Questo processo è chiamato cinetica di ordine zero — non importa quanta esperienza hai, quanti integratori prendi, o quanto caffè bevi. Solo il tempo e il fegato eliminano l\'alcol dal tuo sangue. Questo calcolatore utilizza la formula di Widmark, il gold standard nei laboratori forense e tossicologia.'
98
+ },
99
+ {
100
+ type: 'title',
101
+ text: 'Il sesso biologico conta nel metabolismo dell\'alcol',
102
+ level: 2
103
+ },
104
+ {
105
+ type: 'paragraph',
106
+ html: 'La differenza tra uomini e donne nel BAC non è un mito: è biologia. Le donne hanno una percentuale più alta di grasso corporeo e una più bassa percentuale di acqua corporea, il che significa che l\'alcol si distribuisce in un volume più piccolo e raggiunge concentrazioni più elevate. Inoltre, le donne spesso hanno un\'attività inferiore dell\'enzima alcol deidrogenasi nello stomaco, portando a un assorbimento più rapido.'
107
+ },
108
+ {
109
+ type: 'title',
110
+ text: 'Unità di bevanda standard in tutto il mondo',
111
+ level: 2
112
+ },
113
+ {
114
+ type: 'stats',
115
+ items: [
116
+ { label: 'Birra (5%)', value: '1,3 unità', icon: 'mdi:beer' },
117
+ { label: 'Vino (12%)', value: '1,4 unità', icon: 'mdi:glass-cocktail' },
118
+ { label: 'Liquore (40%)', value: '1,3 unità', icon: 'mdi:bottle-wine' }
119
+ ],
120
+ columns: 3
121
+ },
122
+ {
123
+ type: 'card',
124
+ title: 'Cosa NON riduce il BAC',
125
+ icon: 'mdi:close-circle',
126
+ html: '<strong>Il caffè</strong> maschera la stanchezza ma non riduce il BAC. <strong>L\'esercizio</strong> migliora il tuo benessere ma non accelera l\'eliminazione. <strong>L\'acqua</strong> aiuta con la disidratazione post-alcol, ma l\'alcol nel tuo sangue rimane fino al metabolismo epatico. <strong>Il cibo assunto dopo il bere</strong> non aiuta l\'alcol già assorbito. L\'unica cosa che funziona è <strong>il tempo</strong>.'
127
+ },
128
+ {
129
+ type: 'tip',
130
+ title: 'Suggerimento: il cibo PRIMA di bere è importante',
131
+ html: 'A differenza del cibo dopo il bere, mangiare prima o durante il bere riduce effettivamente il tuo BAC di picco fino al 50%. La chiave è la cibo nello stomaco rallenta l\'assorbimento dell\'alcol nell\'intestino tenue. I cibi ricchi di grassi e proteine sono i più efficaci. Quindi sì, mangia prima di bere, ma non contare sulla cena dopo per salvare il tuo BAC.'
132
+ }
133
+ ];
134
+
135
+ const schemas: AlcoholClearanceLocaleContent['schemas'] = [
136
+ {
137
+ '@context': 'https://schema.org',
138
+ '@type': 'FAQPage',
139
+ mainEntity: faq.map((item) => ({
140
+ '@type': 'Question',
141
+ name: item.question,
142
+ acceptedAnswer: { '@type': 'Answer', text: item.answer },
143
+ })),
144
+ } as WithContext<FAQPage>,
145
+ {
146
+ '@context': 'https://schema.org',
147
+ '@type': 'HowTo',
148
+ name: title,
149
+ description: description,
150
+ step: howTo.map((step, i) => ({
151
+ '@type': 'HowToStep',
152
+ position: i + 1,
153
+ name: step.name,
154
+ text: step.text,
155
+ })),
156
+ } as WithContext<HowTo>,
157
+ {
158
+ '@context': 'https://schema.org',
159
+ '@type': 'SoftwareApplication',
160
+ name: title,
161
+ description: description,
162
+ applicationCategory: 'UtilityApplication',
163
+ operatingSystem: 'Web',
164
+ offers: { '@type': 'Offer', price: '0', priceCurrency: 'EUR' },
165
+ } as WithContext<SoftwareApplication>,
166
+ ];
167
+
168
+ export const content: AlcoholClearanceLocaleContent = {
169
+ slug,
170
+ title,
171
+ description,
172
+ ui,
173
+ seo,
174
+ faqTitle,
175
+ faq,
176
+ bibliographyTitle,
177
+ bibliography,
178
+ howTo,
179
+ schemas,
180
+ };
@@ -0,0 +1,205 @@
1
+ import type { WithContext, SoftwareApplication, FAQPage, HowTo } from 'schema-dts';
2
+ import type { AlcoholClearanceUI, AlcoholClearanceLocaleContent } from '../index';
3
+
4
+ const slug = 'alcohol-clearance-calculator';
5
+ const title = '二日酔い・血中アルコール濃度計算機:回復予測ツール';
6
+ const description = 'ウィドマルク式を使用して血中アルコール濃度(BAC)を計算し、0.0に達するまでの時間を予測します。睡眠前の水分補給を計画し、完全に回復する時間を把握しましょう。';
7
+
8
+ const ui: AlcoholClearanceUI = {
9
+ biologicalSexLabel: '生物学的性別',
10
+ weightLabel: '体重',
11
+ kgUnit: 'kg',
12
+ addDrinkLabel: 'ドリンクを追加',
13
+ beerLabel: 'ビール',
14
+ wineLabel: 'ワイン',
15
+ spiritLabel: 'カクテル',
16
+ shotLabel: 'ショット',
17
+ accumulatedLabel: '飲んだドリンク',
18
+ emptyListLabel: 'リストが空です',
19
+ emptySubLabel: '計算するドリンクを選択してください。',
20
+ estimatedBacLabel: '推定BAC',
21
+ bacUnit: 'BAC',
22
+ timeToZeroLabel: '0.0に到達するまで',
23
+ waterAdviceLabel: '水(睡眠前)',
24
+ pillAdviceLabel: 'サプリメント',
25
+ noneAdvice: '不要',
26
+ hydrationAdvice: '優先:水分補給',
27
+ electrolytesAdvice: '電解質 + ビタミンB',
28
+ disclaimerText: 'この計算機は理論値です。代謝と食事により結果は変わります。飲酒運転は絶対にしないでください。',
29
+ drinkUnit: '杯',
30
+ drinksUnit: '杯'
31
+ };
32
+
33
+ const faqTitle = 'よくある質問';
34
+ const bibliographyTitle = '参考文献・情報源';
35
+
36
+ const faq: AlcoholClearanceLocaleContent['faq'] = [
37
+ {
38
+ question: '標準飲酒単位とは何ですか。各ドリンクに含まれる量は?',
39
+ answer: '標準飲酒単位はおよそ純アルコール10グラムを含みます(イギリス・EU基準。米国は14g)。通常のビール330ml(5%)は約1.3単位、ワイングラス150ml(12%)は約1.4単位、ショット40ml(40%)は約1.3単位です。飲んでいるものにいくつの単位が含まれているかを知ることは、計算機の結果を正しく解釈するために不可欠です。',
40
+ },
41
+ {
42
+ question: 'なぜ生物学的性別がBAC計算に影響するのですか?',
43
+ answer: '生物学的性別はウィドマルク係数「r」に影響を与え、この値は体重に占める体内水分の割合を表します。男性は平均 r=0.68 で、体水分の割合が相対的に多いためです。女性は平均 r=0.55 で、体脂肪の割合が高く、アルコールをより少なく保持するためです。つまり、同じドリンク数と体重でも、女性はより高いBACに達します。',
44
+ },
45
+ {
46
+ question: 'コーヒー、水、運動でアルコール分解を速めることができますか?',
47
+ answer: 'いいえ。肝臓はアルコールを毎時間約0.15 g/L の一定速度で分解します(ゼロ次反応)。コーヒーは疲労を隠し、水は脱水状態を改善し、運動は全般的な健康を向上させますが、いずれも実際のBAC低下には影響しません。アルコール分解を促進できるのは時間だけです。',
48
+ },
49
+ {
50
+ question: '飲酒後に食べるとBACが低くなりますか?',
51
+ answer: '飲酒後に食べても、既に血液中にあるアルコールは減少しません。食事が大きな違いをもたらすのは飲酒前または飲酒中です。胃の中の食物、特にタンパク質と脂肪は胃からの吸収を遅くし、ピークBAC を最大50%低下させることができます。アルコールが吸収されれば、肝臓の代謝によってのみ分解されます。',
52
+ },
53
+ {
54
+ question: 'BAC0.0に到達するのにどのくらい時間がかかりますか?',
55
+ answer: 'これはあなたの開始BACに依存します。推定BAC(g/L)を0.15で割れば、おおよその時間が得られます。例えば、BAC1.5 g/L の場合は約10時間かかります。肝臓は常に働いており、睡眠中もアルコールを処理しています。ただし注意してください。完全に回復したと感じているときでも、血液中にアルコールが存在している可能性があります。',
56
+ },
57
+ {
58
+ question: 'この計算機は運転の判断に100%信頼できますか?',
59
+ answer: 'いいえ。このツールはウィドマルク式に基づく理論推定値です。食事摂取、薬物、疲労、ADH酵素遺伝子変異、ストレスなどの要因により、実際のBAC は両方向で20~30%変動する可能性があります。この計算機を運転の判断に使用しないでください。飲酒した場合は、絶対に運転しないでください。これが唯一のルールであり、エラーの余地がありません。',
60
+ },
61
+ ];
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
+
74
+ const howTo: AlcoholClearanceLocaleContent['howTo'] = [
75
+ {
76
+ name: 'プロフィールを設定',
77
+ text: 'あなたの生物学的性別(体内水分の割合に影響)と現在の体重を選択します。',
78
+ },
79
+ {
80
+ name: '飲んだドリンクを追加',
81
+ text: '飲んだドリンクのアイコンをクリックします。それらは下のリストに蓄積されます。',
82
+ },
83
+ {
84
+ name: '安全な時間を確認',
85
+ text: '推定BAC と、最も重要なこととして、肝臓がすべての摂取エタノールを処理するのに要する時間を観察します。',
86
+ },
87
+ ];
88
+
89
+ const seo: AlcoholClearanceLocaleContent['seo'] = [
90
+ {
91
+ type: 'title',
92
+ text: 'アルコール代謝:科学と分解',
93
+ level: 2
94
+ },
95
+ {
96
+ type: 'paragraph',
97
+ html: '身体がエタノールをどのように処理するかを理解することは、安全のため、そして二日酔いを軽減するために不可欠です。当社の<strong>アルコール分解計算機</strong>は、認識されている<strong>ウィドマルク式</strong>を使用して、あなたの代謝状態を明確に把握できます。アルコールは発汗、水を飲むこと、または運動によって分解されません。時間と肝臓の代謝だけが血中アルコール濃度を低下させることができます。'
98
+ },
99
+ {
100
+ type: 'diagnostic',
101
+ title: 'BAC の薬物動態学',
102
+ icon: 'mdi:gender-male-female',
103
+ variant: 'info',
104
+ badge: '生化学',
105
+ html: 'アルコールは体内水分全体に分布します。体重とウィドマル係数 r(男性 0.68 / 女性 0.55)などの要因が、血液中のエタノール初期希釈を決定します。これが同じ体重の2人が同じドリンク数を飲んでも、BAC の値がまったく異なる理由です。'
106
+ },
107
+ {
108
+ type: 'title',
109
+ text: '肝臓の酸化と酵素',
110
+ level: 2
111
+ },
112
+ {
113
+ type: 'paragraph',
114
+ html: '肝臓はアルコール脱水素酵素(ADH)によりアルコールの95%を分解します。このプロセスは一定の速度で発生します(ゼロ次反応)。これは運動またはコーヒーによって加速することはできません。残りの5%は呼気、尿、汗を通じて排出されます。これは交通執行での呼気検査の基礎となります。'
115
+ },
116
+ {
117
+ type: 'stats',
118
+ items: [
119
+ { label: '分解速度', value: '0.15 g/L·h', icon: 'mdi:clock-fast' },
120
+ { label: '胃での吸収', value: '20% エタノール', icon: 'mdi:stomach' },
121
+ { label: '推奨水分補給', value: '1:1 水/ドリンク', icon: 'mdi:water' }
122
+ ],
123
+ columns: 3
124
+ },
125
+ {
126
+ type: 'proscons',
127
+ title: '神話 vs 現実',
128
+ items: [
129
+ { pro: '睡眠前の水分と電解質補給は、利尿作用に対抗することで二日酔いの程度を軽減します。', con: '' },
130
+ { pro: '', con: '冷たいシャワー:血中アルコール濃度にはまったく影響しません。' },
131
+ { pro: '', con: 'コーヒー:眠気を隠しますが、失われた反射神経や認知機能を回復させません。' }
132
+ ]
133
+ },
134
+ {
135
+ type: 'card',
136
+ title: '二日酔いの原因は何ですか?',
137
+ icon: 'mdi:alert-decagram',
138
+ html: '医学的には「宿酔」として知られる二日酔いは、全身脱水(エタノールによるバソプレシン抑制)、アセトアルデヒド蓄積(有毒な代謝産物)、およびサイトカイン炎症反応免疫応答によって引き起こされます。アルコール抑制後の脳のグルタメート反動も、翌朝の不安と光および音への過敏性に寄与します。'
139
+ },
140
+ {
141
+ type: 'tip',
142
+ title: '安全第一:自分の限界を知る',
143
+ html: 'BAC 0.05% は、判断、追視、反応時間に測定可能な障害をもたらします。ほとんどの国は運転の法定上限を0.05% ~ 0.08% の間に設定しています。ただし、個人差は大きく異なります。年齢、薬物、疲労、ADH酵素遺伝子変異は、アルコールがあなた自身に与える影響を大きく左右します。疑わしい場合は、運転しないでください。'
144
+ },
145
+ {
146
+ type: 'title',
147
+ text: '食物と吸収速度の役割',
148
+ level: 2
149
+ },
150
+ {
151
+ type: 'paragraph',
152
+ html: '飲酒前または飲酒中に食べることは、アルコール吸収動態を大きく変えます。胃の中の食物、特にタンパク質と脂肪は胃の排出を遅くし、エタノールが血液に入る最大速度を低下させます。空腹時に飲酒した人は、同じ量を飲む前に食事をした人と比べて、ピークBAC が50%高くなる可能性があります。これはウィドマルク式が完全に捉えることができない最も強力な変数の1つです。だからこそ、当社の計算機には理論推定についての免責事項が含まれています。'
153
+ },
154
+ {
155
+ type: 'paragraph',
156
+ html: 'アルコール飲料の種類も、単なるアルコール度数と体積以上に重要です。炭酸ミキサー(トニックウォーター、スパークリングワイン)は胃の排出を加速させ、アルコールを血液に速く押し込みます。非常に高いアルコール度数(25%以上)のドリンクは、一時的に胃の運動を阻害し、吸収を遅くします。甘いドリンクはアルコールの知覚効果をマスクでき、人々は気づかずにより速く飲むことになります。このような微妙な違いにより、現実のBAC は両方向で20~30%モデル予測から外れる可能性があります。'
157
+ }
158
+ ];
159
+
160
+ const schemas: AlcoholClearanceLocaleContent['schemas'] = [
161
+ {
162
+ '@context': 'https://schema.org',
163
+ '@type': 'FAQPage',
164
+ mainEntity: faq.map((item) => ({
165
+ '@type': 'Question',
166
+ name: item.question,
167
+ acceptedAnswer: { '@type': 'Answer', text: item.answer },
168
+ })),
169
+ } as WithContext<FAQPage>,
170
+ {
171
+ '@context': 'https://schema.org',
172
+ '@type': 'HowTo',
173
+ name: title,
174
+ description: description,
175
+ step: howTo.map((step, i) => ({
176
+ '@type': 'HowToStep',
177
+ position: i + 1,
178
+ name: step.name,
179
+ text: step.text,
180
+ })),
181
+ } as WithContext<HowTo>,
182
+ {
183
+ '@context': 'https://schema.org',
184
+ '@type': 'SoftwareApplication',
185
+ name: title,
186
+ description: description,
187
+ applicationCategory: 'HealthApplication',
188
+ operatingSystem: 'Web',
189
+ offers: { '@type': 'Offer', price: '0', priceCurrency: 'EUR' },
190
+ } as WithContext<SoftwareApplication>,
191
+ ];
192
+
193
+ export const content: AlcoholClearanceLocaleContent = {
194
+ slug,
195
+ title,
196
+ description,
197
+ ui,
198
+ seo,
199
+ faqTitle,
200
+ faq,
201
+ bibliographyTitle,
202
+ bibliography,
203
+ howTo,
204
+ schemas,
205
+ };