@jjlmoya/utils-science 1.1.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 (73) hide show
  1. package/package.json +64 -0
  2. package/src/category/i18n/en.ts +97 -0
  3. package/src/category/i18n/es.ts +97 -0
  4. package/src/category/i18n/fr.ts +96 -0
  5. package/src/category/index.ts +17 -0
  6. package/src/category/seo.astro +15 -0
  7. package/src/components/PreviewNavSidebar.astro +116 -0
  8. package/src/components/PreviewToolbar.astro +143 -0
  9. package/src/data.ts +11 -0
  10. package/src/env.d.ts +5 -0
  11. package/src/index.ts +24 -0
  12. package/src/layouts/PreviewLayout.astro +117 -0
  13. package/src/pages/[locale]/[slug].astro +146 -0
  14. package/src/pages/[locale].astro +251 -0
  15. package/src/pages/index.astro +4 -0
  16. package/src/tests/faq_count.test.ts +19 -0
  17. package/src/tests/locale_completeness.test.ts +42 -0
  18. package/src/tests/mocks/astro_mock.js +2 -0
  19. package/src/tests/no_h1_in_components.test.ts +48 -0
  20. package/src/tests/seo_length.test.ts +22 -0
  21. package/src/tests/tool_validation.test.ts +17 -0
  22. package/src/tool/asteroid-impact/AsteroidImpact.css +799 -0
  23. package/src/tool/asteroid-impact/bibliography.astro +14 -0
  24. package/src/tool/asteroid-impact/component.astro +436 -0
  25. package/src/tool/asteroid-impact/constants.ts +67 -0
  26. package/src/tool/asteroid-impact/helpers.ts +17 -0
  27. package/src/tool/asteroid-impact/i18n/en.ts +153 -0
  28. package/src/tool/asteroid-impact/i18n/es.ts +153 -0
  29. package/src/tool/asteroid-impact/i18n/fr.ts +153 -0
  30. package/src/tool/asteroid-impact/index.ts +24 -0
  31. package/src/tool/asteroid-impact/logic/impactPhysics.ts +86 -0
  32. package/src/tool/asteroid-impact/script.ts +256 -0
  33. package/src/tool/asteroid-impact/seo.astro +15 -0
  34. package/src/tool/asteroid-impact/ui-helpers.ts +56 -0
  35. package/src/tool/asteroid-impact/ui.ts +69 -0
  36. package/src/tool/asteroid-impact/utils.ts +17 -0
  37. package/src/tool/cellular-renewal/CellularRenewal.css +1 -0
  38. package/src/tool/cellular-renewal/bibliography.astro +14 -0
  39. package/src/tool/cellular-renewal/component.astro +387 -0
  40. package/src/tool/cellular-renewal/i18n/en.ts +170 -0
  41. package/src/tool/cellular-renewal/i18n/es.ts +170 -0
  42. package/src/tool/cellular-renewal/i18n/fr.ts +170 -0
  43. package/src/tool/cellular-renewal/index.ts +24 -0
  44. package/src/tool/cellular-renewal/logic/CellularRenewalEngine.ts +50 -0
  45. package/src/tool/cellular-renewal/seo.astro +14 -0
  46. package/src/tool/colony-counter/ColonyCounter.css +473 -0
  47. package/src/tool/colony-counter/bibliography.astro +14 -0
  48. package/src/tool/colony-counter/component.astro +358 -0
  49. package/src/tool/colony-counter/i18n/en.ts +151 -0
  50. package/src/tool/colony-counter/i18n/es.ts +151 -0
  51. package/src/tool/colony-counter/i18n/fr.ts +151 -0
  52. package/src/tool/colony-counter/index.ts +27 -0
  53. package/src/tool/colony-counter/seo.astro +15 -0
  54. package/src/tool/microwave-detector/MicrowaveDetector.css +122 -0
  55. package/src/tool/microwave-detector/bibliography.astro +14 -0
  56. package/src/tool/microwave-detector/component.astro +650 -0
  57. package/src/tool/microwave-detector/i18n/en.ts +155 -0
  58. package/src/tool/microwave-detector/i18n/es.ts +155 -0
  59. package/src/tool/microwave-detector/i18n/fr.ts +155 -0
  60. package/src/tool/microwave-detector/index.ts +24 -0
  61. package/src/tool/microwave-detector/logic/MicrowaveEngine.ts +89 -0
  62. package/src/tool/microwave-detector/seo.astro +14 -0
  63. package/src/tool/simulation-probability/SimulationProbability.css +1 -0
  64. package/src/tool/simulation-probability/bibliography.astro +14 -0
  65. package/src/tool/simulation-probability/component.astro +348 -0
  66. package/src/tool/simulation-probability/i18n/en.ts +184 -0
  67. package/src/tool/simulation-probability/i18n/es.ts +184 -0
  68. package/src/tool/simulation-probability/i18n/fr.ts +184 -0
  69. package/src/tool/simulation-probability/index.ts +24 -0
  70. package/src/tool/simulation-probability/logic/SimulationEngine.ts +42 -0
  71. package/src/tool/simulation-probability/seo.astro +14 -0
  72. package/src/tools.ts +15 -0
  73. package/src/types.ts +72 -0
@@ -0,0 +1,170 @@
1
+ import type { ToolLocaleContent } from '../../../types';
2
+
3
+ export const content: ToolLocaleContent = {
4
+ slug: 'cellular-renewal-calculator',
5
+ title: 'Cellular Renewal Calculator: How Much is Left of the Original "You"?',
6
+ description: 'Calculate the percentage of your body that has renewed since birth. Estimates based on the cell division rate of organs, bones, and tissues. The Paradox of Theseus made tangible.',
7
+ faqTitle: 'Frequently Asked Questions',
8
+ bibliographyTitle: 'Bibliography',
9
+ ui: {
10
+ copied: 'Copied',
11
+ noHistory: 'No history',
12
+ load: 'Load',
13
+ delete: 'Delete',
14
+ biologicalTimeline: 'Biological Timeline',
15
+ ageUnit: 'years of evolution',
16
+ matterNewPercent: 'Your matter is new by',
17
+ atomicRenewal: 'Atomic Renewal',
18
+ skinAndBlood: 'Skin and Blood',
19
+ boneRemodeling: 'Bone Remodeling',
20
+ organicMatrix: 'Organic Matrix',
21
+ perennialCells: 'Perennial Cells',
22
+ disclaimerText: 'Caclulations are based on mean cellular life according to isotopic studies. While blood and skin renew in weeks, lens proteins and much of your cerebral cortex remain from embryonic development. Physically, you are a dynamic structure in constant flux.',
23
+ },
24
+ seo: [
25
+ {
26
+ type: 'title',
27
+ text: 'How much of you is really "yours"? The science of cellular renewal',
28
+ level: 2,
29
+ },
30
+ {
31
+ type: 'paragraph',
32
+ html: 'Your body is a river in constant motion. Every second, millions of cells die and are replaced by new ones. In seven years, practically every atom in your body will have been replaced. However, this statistic is profoundly misleading, because different parts of your organism renew at radically different rates.',
33
+ },
34
+ {
35
+ type: 'paragraph',
36
+ html: 'This paradox, known as the <strong>Ship of Theseus Paradox</strong>, poses an ancient question: if you replace all the parts of something, is it still the same? In your case, it is a literal question. The atoms that make up your body today are not the same ones that were there 10 years ago, but <em>you</em> are still you.',
37
+ },
38
+ {
39
+ type: 'title',
40
+ text: 'Cellular Turnover: A Map of Your Dynamic Body',
41
+ level: 3,
42
+ },
43
+ {
44
+ type: 'paragraph',
45
+ html: 'The speed of renewal varies dramatically by tissue:',
46
+ },
47
+ {
48
+ type: 'table',
49
+ headers: ['Tissue', 'Cellular Average Life', 'Full Renewal', 'Description'],
50
+ rows: [
51
+ ['<strong>Blood</strong>', '120 days', '4 months', 'Red blood cells are the fastest. Your bone marrow produces 200 billion daily.'],
52
+ ['<strong>Skin</strong>', '2-4 weeks', '1 month', 'Extremely fast renewal. You lose ~30,000 skin cells per minute.'],
53
+ ['<strong>Bone</strong>', '10 years', 'One decade', 'The skeleton is more conservative. Still, after 10 years, you will have replaced practically your entire skeleton.'],
54
+ ['<strong>Organs</strong>', '15 years', '1.5 decades', 'The liver renews in months. The heart, in years. A mosaic of rhythms.'],
55
+ ['<strong>Brain</strong>', '80+ years (neurons)', 'Almost never', 'Your cortical neurons from birth. But glia (support cells) do renew.'],
56
+ ],
57
+ },
58
+ {
59
+ type: 'title',
60
+ text: 'The Eye Lens: The Oldest Part of You',
61
+ level: 3,
62
+ },
63
+ {
64
+ type: 'paragraph',
65
+ html: 'There is one structure in your body that is special: the <strong>eye lens</strong>. The cells that make up the lens are deposited during fetal development and are never replaced. If you live to be 100 years old, the central cells of your lens will still be the same ones you had in your mother\'s womb. They are, literally, the oldest part of you.',
66
+ },
67
+ {
68
+ type: 'title',
69
+ text: 'Total Renewal Calculation: The Paradox of Weights',
70
+ level: 3,
71
+ },
72
+ {
73
+ type: 'paragraph',
74
+ html: 'This calculator uses a weighted average of different tissues:',
75
+ },
76
+ {
77
+ type: 'list',
78
+ items: [
79
+ '<strong>30% skin and blood:</strong> Almost complete renewal in younger years.',
80
+ '<strong>35% skeleton:</strong> Progressive renewal, reaching 100% at 10 years.',
81
+ '<strong>25% organs:</strong> Slower renewal, variable by organ.',
82
+ '<strong>10% brain:</strong> Minimal change in neurons, maximum in support structures.',
83
+ ],
84
+ },
85
+ {
86
+ type: 'paragraph',
87
+ html: 'The result is that at age 25, approximately <strong>93% of your current matter is new</strong>. By age 80, you could be composed of more than 99% different atoms than those you had at birth.',
88
+ },
89
+ {
90
+ type: 'title',
91
+ text: 'Philosophical Implications: Identity is Information, Not Matter',
92
+ level: 3,
93
+ },
94
+ {
95
+ type: 'paragraph',
96
+ html: 'If your body is completely new every decade, why is it "you"? The answer is that identity resides not in specific atoms, but in the <strong>pattern of information</strong> that those atoms hold. You are like a song: it\'s not the same air vibrating, but the pattern persists.',
97
+ },
98
+ {
99
+ type: 'paragraph',
100
+ html: 'This has profound implications: your body is a process, not a thing. You are a self-organizing pattern that persists through change. You don\'t own atoms; you are a structure that channels them temporarily.',
101
+ },
102
+ ],
103
+ faq: [
104
+ {
105
+ question: 'What exactly is "cellular renewal"?',
106
+ answer: 'It is the natural process by which aged or damaged cells die (apoptosis) and are replaced by new cells generated by mitotic division. This cycle is essential for maintaining functional tissues and repairing damage.',
107
+ },
108
+ {
109
+ question: 'Why does the brain renew so slowly?',
110
+ answer: 'Neurons in the cerebral cortex are generated before birth and generally do not divide further. This provides neurological stability: your fundamental "wiring" remains constant. However, glial (support) cells do renew. Memory is stored in connections, not in atoms.',
111
+ },
112
+ {
113
+ question: 'Is it true that every 7 years we are "new people"?',
114
+ answer: 'It is a simplification. It is not accurate. Your blood renews in 4 months, your skin in a month, your skeleton in 10 years. Your brain remains largely unchanged. The number 7 years is historical (Aristotle mentioned it) but biologically it is an imprecise average.',
115
+ },
116
+ {
117
+ question: 'If my body is 99% new, am I still the same person?',
118
+ answer: 'Yes. Identity is a continuity of information, consciousness, and memory, not of atoms. You are like a river: the water changes constantly, but the river persists. The Paradox of Theseus suggests that identity resides in the pattern, not the matter.',
119
+ },
120
+ {
121
+ question: 'Which tissues renew the fastest?',
122
+ answer: 'Blood and skin lead the way. Your bone marrow produces 200 billion blood cells daily. You lose ~30,000 skin cells per minute. This is why they heal so well and age so visibly: they are young in terms of cellular age.',
123
+ },
124
+ {
125
+ question: 'Does the eye lens really not renew?',
126
+ answer: 'Correct. Lens cells are deposited during embryonic development and are kept for life. At 100 years old, the central cells of your lens could be the same as when you were in the womb. It is a biological time capsule.',
127
+ },
128
+ ],
129
+ bibliography: [
130
+ {
131
+ name: 'Sender, R., & Milo, R. (2021). The distribution of cellular turnover in the human body. Nature Medicine, 27(1), 45-48.',
132
+ url: 'https://www.nature.com/articles/s41591-020-01182-9',
133
+ },
134
+ {
135
+ name: 'Spalding, K. L., et al. (2005). Retrospective birth dating of cells in humans. Cell, 122(1), 133-143.',
136
+ url: 'https://pubmed.ncbi.nlm.nih.gov/16023133/',
137
+ },
138
+ {
139
+ name: 'Bianconi, E., et al. (2013). An estimation of the number of cells in the human body. Annals of Human Biology, 40(6), 463-471.',
140
+ url: 'https://pubmed.ncbi.nlm.nih.gov/23829164/',
141
+ },
142
+ {
143
+ name: 'Stanford Encyclopedia of Philosophy: The Ship of Theseus and Personal Identity.',
144
+ url: 'https://plato.stanford.edu/entries/identity-relative/',
145
+ },
146
+ {
147
+ name: 'Leblond, C. P. (1964). Classification of cell and tissue by the rate of their division. In Renewal of Life.',
148
+ url: 'https://en.wikipedia.org/wiki/Cellular_renewal',
149
+ },
150
+ ],
151
+ howTo: [
152
+ {
153
+ name: 'Adjust your age',
154
+ text: 'Slide the selector from 1 to 105 years. This is the most important variable for renewal calculations.',
155
+ },
156
+ {
157
+ name: 'Observe the main percentage',
158
+ text: 'The large number in the center shows what percentage of your current matter is "new" (renewed since birth).',
159
+ },
160
+ {
161
+ name: 'Analyze the progress bars',
162
+ text: 'Each bar represents a different tissue: skin/blood, bone, organs, and brain. Notice how the brain barely changes while skin constantly renews.',
163
+ },
164
+ {
165
+ name: 'Reflect on your identity',
166
+ text: 'If 99% of you is new matter, who are you really? Use this tool as a starting point for reflections on personal continuity and the Paradox of Theseus.',
167
+ },
168
+ ],
169
+ schemas: [],
170
+ };
@@ -0,0 +1,170 @@
1
+ import type { ToolLocaleContent } from '../../../types';
2
+
3
+ export const content: ToolLocaleContent = {
4
+ slug: 'calculadora-renovacion-celular',
5
+ title: 'Calculadora de Renovación Celular: ¿Cuánto Queda del "Tú" Original?',
6
+ description: 'Calcula el porcentaje de tu cuerpo que se ha renovado desde tu nacimiento. Estimación basada en la tasa de división celular de órganos, huesos y tejidos. La paradoja de Teseo hecha tangible.',
7
+ faqTitle: 'Preguntas Frecuentes',
8
+ bibliographyTitle: 'Bibliografía',
9
+ ui: {
10
+ copied: 'Copiado',
11
+ noHistory: 'Sin historial',
12
+ load: 'Cargar',
13
+ delete: 'Eliminar',
14
+ biologicalTimeline: 'Cronología Biológica',
15
+ ageUnit: 'años de evolución',
16
+ matterNewPercent: 'Tu materia es nueva en un',
17
+ atomicRenewal: 'Renovación Atómica',
18
+ skinAndBlood: 'Epidermis y Sangre',
19
+ boneRemodeling: 'Remodelación Ósea',
20
+ organicMatrix: 'Matriz Orgánica',
21
+ perennialCells: 'Células Perennes',
22
+ disclaimerText: 'Los cálculos se basan en la vida media celular según estudios isotópicos. Mientras que la sangre y la piel se renuevan en semanas, las proteínas del cristalino y gran parte de tu corteza cerebral permanecen desde el desarrollo embrionario. Físicamente, eres una estructura dinámica en flujo constante.',
23
+ },
24
+ seo: [
25
+ {
26
+ type: 'title',
27
+ text: '¿Cuánto de ti es realmente "tuyo"? La ciencia de la renovación celular',
28
+ level: 2,
29
+ },
30
+ {
31
+ type: 'paragraph',
32
+ html: 'Tu cuerpo es un río en constante movimiento. Cada segundo, millones de células mueren y son reemplazadas por nuevas. En siete años, prácticamente cada átomo de tu cuerpo habrá sido sustituido. Sin embargo, esta estadística es profundamente engañosa, porque diferentes partes de tu organismo se renuevan a velocidades radicalmente distintas.',
33
+ },
34
+ {
35
+ type: 'paragraph',
36
+ html: 'Esta paradoja, conocida como la <strong>Paradoja de Teseo</strong>, plantea una pregunta antigua: si reemplazas todas las partes de algo, ¿sigue siendo lo mismo? En tu caso, es una pregunta literal. Los átomos que constituyen tu cuerpo hoy no son los mismos que había hace 10 años, pero <em>tú</em> sigas siendo tú.',
37
+ },
38
+ {
39
+ type: 'title',
40
+ text: 'El turnover celular: un mapa de tu cuerpo dinámico',
41
+ level: 3,
42
+ },
43
+ {
44
+ type: 'paragraph',
45
+ html: 'La velocidad de renovación varía dramáticamente según el tejido:',
46
+ },
47
+ {
48
+ type: 'table',
49
+ headers: ['Tejido', 'Vida Media Celular', 'Renovación Completa', 'Descripción'],
50
+ rows: [
51
+ ['<strong>Sangre</strong>', '120 días', '4 meses', 'Los glóbulos rojos son los más rápidos. Tu médula ósea produce 200 mil millones diarios.'],
52
+ ['<strong>Piel</strong>', '2-4 semanas', '1 mes', 'Renovación extremadamente rápida. Pierdes ~30,000 células de piel por minuto.'],
53
+ ['<strong>Hueso</strong>', '10 años', 'Una década', 'El esqueleto es más conservador. Aún así, después de 10 años, habrás reemplazado prácticamente todo tu esqueleto.'],
54
+ ['<strong>Órganos</strong>', '15 años', '1.5 décadas', 'El hígado se renueva en meses. El corazón, en años. Un mosaico de ritmos.'],
55
+ ['<strong>Cerebro</strong>', '80+ años (neuronas)', 'Casi nunca', 'Tus neuronas corticales desde el nacimiento. Pero las glías (células de soporte) sí se renuevan.'],
56
+ ],
57
+ },
58
+ {
59
+ type: 'title',
60
+ text: 'El cristalino del ojo: la parte más antigua de ti',
61
+ level: 3,
62
+ },
63
+ {
64
+ type: 'paragraph',
65
+ html: 'Hay una estructura en tu cuerpo que es especial: el <strong>cristalino del ojo</strong>. Las células que componen el cristalino se depositan durante el desarrollo fetal y nunca se reemplazan. Si logras vivir hasta los 100 años, las células centrales de tu cristalino seguirán siendo las mismas que tenías en el útero de tu madre. Son, literalmente, la parte más antigua de ti.',
66
+ },
67
+ {
68
+ type: 'title',
69
+ text: 'Cálculo de la renovación total: la paradoja de los pesos',
70
+ level: 3,
71
+ },
72
+ {
73
+ type: 'paragraph',
74
+ html: 'Este calculador usa un promedio ponderado de los diferentes tejidos:',
75
+ },
76
+ {
77
+ type: 'list',
78
+ items: [
79
+ '<strong>30% piel y sangre:</strong> Renovación casi completa en años jóvenes.',
80
+ '<strong>35% esqueleto:</strong> Renovación progresiva, alcanzando el 100% a los 10 años.',
81
+ '<strong>25% órganos:</strong> Renovación más lenta, variable según el órgano.',
82
+ '<strong>10% cerebro:</strong> Cambio mínimo en neuronas, máximo en estructuras de soporte.',
83
+ ],
84
+ },
85
+ {
86
+ type: 'paragraph',
87
+ html: 'El resultado es que a los 25 años, aproximadamente el <strong>93% de tu materia actual es nueva</strong>. A los 80 años, podrías estar compuesto por más del 99% de átomos diferentes a los que tenías al nacer.',
88
+ },
89
+ {
90
+ type: 'title',
91
+ text: 'Implicaciones filosóficas: la identidad es información, no materia',
92
+ level: 3,
93
+ },
94
+ {
95
+ type: 'paragraph',
96
+ html: 'Si tu cuerpo es completamente nuevo cada década, ¿por qué eres "tú"? La respuesta está en que la identidad no reside en los átomos específicos, sino en el <strong>patrón de información</strong> que esos átomos sostienen. Eres como una canción: no es el mismo aire que vibra, pero el patrón persiste.',
97
+ },
98
+ {
99
+ type: 'paragraph',
100
+ html: 'Esto tiene implicaciones profundas: tu cuerpo es un proceso, no una cosa. Eres un patrón autoorganizado que persiste a través del cambio. No posees átomos; eres una estructura que los canaliza temporalmente.',
101
+ },
102
+ ],
103
+ faq: [
104
+ {
105
+ question: '¿Qué es exactamente la "renovación celular"?',
106
+ answer: 'Es el proceso natural por el cual las células envejecidas o dañadas mueren (apoptosis) y son reemplazadas por nuevas células generadas por división mitótica. Este ciclo es esencial para mantener los tejidos funcionales y reparar daños.',
107
+ },
108
+ {
109
+ question: '¿Por qué el cerebro se renueva tan lentamente?',
110
+ answer: 'Las neuronas de la corteza cerebral se generan antes del nacimiento y generalmente no se dividen más. Esto proporciona estabilidad neurológica: tus "cables" fundamentales permanecen constantes. Sin embargo, las células gliales (de soporte) sí se renuevan. La memoria se almacena en las conexiones, no en los átomos.',
111
+ },
112
+ {
113
+ question: '¿Es cierto que cada 7 años somos "nuevas personas"?',
114
+ answer: 'Es una simplificación. No es exacta. Tu sangre se renueva en 4 meses, tu piel en un mes, tu esqueleto en 10 años. Tu cerebro permanece en gran parte sin cambios. El número 7 años es histórico (Aristóteles lo mencionó) pero biológicamente es un promedio impreciso.',
115
+ },
116
+ {
117
+ question: '¿Si mi cuerpo es 99% nuevo, sigo siendo la misma persona?',
118
+ answer: 'Sí. La identidad es una continuidad de información, conciencia y memoria, no de átomos. Eres como un río: el agua cambia constantemente, pero el río persiste. La paradoja de Teseo sugiere que la identidad reside en la pauta, no en la materia.',
119
+ },
120
+ {
121
+ question: '¿Qué tejidos se renuevan más rápido?',
122
+ answer: 'La sangre y la piel lideran. Tu médula ósea produce 200,000 millones de células sanguíneas diarias. Pierdes ~30,000 células de piel por minuto. Por eso sanan tan bien y envejecen tan visiblemente: son jóvenes en términos de edad celular.',
123
+ },
124
+ {
125
+ question: '¿El cristalino del ojo realmente no se renueva?',
126
+ answer: 'Correcto. Las células del cristalino se depositan durante el desarrollo embrionario y se mantienen de por vida. A los 100 años, las células centrales de tu cristalino podrían ser las mismas que cuando estabas en el útero. Es una cápsula de tiempo biológica.',
127
+ },
128
+ ],
129
+ bibliography: [
130
+ {
131
+ name: 'Sender, R., & Milo, R. (2021). The distribution of cellular turnover in the human body. Nature Medicine, 27(1), 45-48.',
132
+ url: 'https://www.nature.com/articles/s41591-020-01182-9',
133
+ },
134
+ {
135
+ name: 'Spalding, K. L., et al. (2005). Retrospective birth dating of cells in humans. Cell, 122(1), 133-143.',
136
+ url: 'https://pubmed.ncbi.nlm.nih.gov/16023133/',
137
+ },
138
+ {
139
+ name: 'Bianconi, E., et al. (2013). An estimation of the number of cells in the human body. Annals of Human Biology, 40(6), 463-471.',
140
+ url: 'https://pubmed.ncbi.nlm.nih.gov/23829164/',
141
+ },
142
+ {
143
+ name: 'Stanford Encyclopedia of Philosophy: The Ship of Theseus and Personal Identity.',
144
+ url: 'https://plato.stanford.edu/entries/identity-relative/',
145
+ },
146
+ {
147
+ name: 'Leblond, C. P. (1964). Classification of cell and tissue by the rate of their division. In Renewal of Life.',
148
+ url: 'https://en.wikipedia.org/wiki/Cellular_renewal',
149
+ },
150
+ ],
151
+ howTo: [
152
+ {
153
+ name: 'Ajusta tu edad',
154
+ text: 'Desliza el selector desde 1 hasta 105 años. Esta es la variable más importante para los cálculos de renovación.',
155
+ },
156
+ {
157
+ name: 'Observa el porcentaje principal',
158
+ text: 'El número grande en el centro muestra qué porcentaje de tu materia actual es "nueva" (renovada desde tu nacimiento).',
159
+ },
160
+ {
161
+ name: 'Analiza las barras de progreso',
162
+ text: 'Cada barra representa un tejido diferente: piel/sangre, hueso, órganos y cerebro. Nota cómo el cerebro apenas cambia mientras la piel se renueva constantemente.',
163
+ },
164
+ {
165
+ name: 'Reflexiona sobre tu identidad',
166
+ text: 'Si el 99% de ti es materia nueva, ¿quién eres realmente? Usa esta herramienta como punto de partida para reflexiones sobre la continuidad personal y la paradoja de Teseo.',
167
+ },
168
+ ],
169
+ schemas: [],
170
+ };
@@ -0,0 +1,170 @@
1
+ import type { ToolLocaleContent } from '../../../types';
2
+
3
+ export const content: ToolLocaleContent = {
4
+ slug: 'calculateur-renouvellement-cellulaire',
5
+ title: 'Calculateur de Renouvellement Cellulaire : Que reste-t-il du "vous" original ?',
6
+ description: 'Calculez le pourcentage de votre corps qui s\'est renouvelé depuis votre naissance. Estimation basée sur le taux de division cellulaire des organes, des os et des tissus. Le Paradoxe de Thésée rendu tangible.',
7
+ faqTitle: 'Questions Fréquemment Posées',
8
+ bibliographyTitle: 'Bibliographie',
9
+ ui: {
10
+ copied: 'Copié',
11
+ noHistory: 'Pas d\'historique',
12
+ load: 'Charger',
13
+ delete: 'Supprimer',
14
+ biologicalTimeline: 'Chronologie Biologique',
15
+ ageUnit: 'années d\'évolution',
16
+ matterNewPercent: 'Votre matière est neuve à',
17
+ atomicRenewal: 'Renouvellement Atomique',
18
+ skinAndBlood: 'Épiderme et Sang',
19
+ boneRemodeling: 'Remodelage Osseux',
20
+ organicMatrix: 'Matrice Organique',
21
+ perennialCells: 'Cellules Pérennes',
22
+ disclaimerText: 'Les calculs sont basés sur la durée de vie cellulaire moyenne selon des études isotopiques. Alors que le sang et la peau se renouvellent en quelques semaines, les protéines du cristallin et une grande partie de votre cortex cérébral subsistent depuis le développement embryonnaire. Physiquement, vous êtes une structure dynamique en flux constant.',
23
+ },
24
+ seo: [
25
+ {
26
+ type: 'title',
27
+ text: 'Quelle part de vous est vraiment "la vôtre" ? La science du renouvellement cellulaire',
28
+ level: 2,
29
+ },
30
+ {
31
+ type: 'paragraph',
32
+ html: 'Votre corps est un fleuve en mouvement constant. Chaque seconde, des millions de cellules meurent et sont remplacées par de nouvelles. En sept ans, pratiquement chaque atome de votre corps aura été substitué. Cependant, cette statistique est profondément trompeuse, car les différentes parties de votre organisme se renouvellent à des vitesses radicalement différentes.',
33
+ },
34
+ {
35
+ type: 'paragraph',
36
+ html: 'Ce paradoxe, connu sous le nom de <strong>Paradoxe du Navire de Thésée</strong>, pose une question ancienne : si vous remplacez toutes les parties de quelque chose, est-ce toujours la même chose ? Dans votre cas, c\'est une question littérale. Les atomes qui constituent votre corps aujourd\'hui ne sont pas les mêmes que ceux d\'il y a 10 ans, mais <em>vous</em> restez vous.',
37
+ },
38
+ {
39
+ type: 'title',
40
+ text: 'Le renouvellement cellulaire : un mapa de votre corps dynamique',
41
+ level: 3,
42
+ },
43
+ {
44
+ type: 'paragraph',
45
+ html: 'La vitesse de renouvellement varie de façon spectaculaire selon le tissu :',
46
+ },
47
+ {
48
+ type: 'table',
49
+ headers: ['Tissu', 'Vie Moyenne Cellulaire', 'Renouvellement Complet', 'Description'],
50
+ rows: [
51
+ ['<strong>Sang</strong>', '120 jours', '4 mois', 'Les globules rouges sont les plus rapides. Votre moelle osseuse en produit 200 milliards par jour.'],
52
+ ['<strong>Peau</strong>', '2-4 semaines', '1 mois', 'Renouvellement extrêmement rapide. Vous perdez ~30 000 cellules de peau par minute.'],
53
+ ['<strong>Os</strong>', '10 ans', 'Une décennie', 'Le squelette est plus conservateur. Pourtant, après 10 ans, vous aurez pratiquement remplacé tout votre squelette.'],
54
+ ['<strong>Organes</strong>', '15 ans', '1,5 décennies', 'Le foie se renouvelle en quelques mois. Le cœur, en plusieurs années. Une mosaïque de rythmes.'],
55
+ ['<strong>Cerveau</strong>', '80+ ans (neurones)', 'Presque jamais', 'Vos neurones corticaux depuis la naissance. Mais les glies (cellules de soutien) se renouvellent.'],
56
+ ],
57
+ },
58
+ {
59
+ type: 'title',
60
+ text: 'Le cristallin de l\'œil : la partie la plus ancienne de vous',
61
+ level: 3,
62
+ },
63
+ {
64
+ type: 'paragraph',
65
+ html: 'Il existe une structure dans votre corps qui est spéciale : le <strong>cristallin de l\'œil</strong>. Les cellules qui composent le cristallin se déposent pendant le développement fœtal et ne sont jamais remplacées. Si vous parvenez à vivre jusqu\'à 100 ans, les cellules centrales de votre cristallin seront toujours les mêmes que celles que vous aviez dans l\'utérus de votre mère. Elles sont, littéralement, la partie la plus ancienne de vous.',
66
+ },
67
+ {
68
+ type: 'title',
69
+ text: 'Calcul du renouvellement total : le paradoxe des poids',
70
+ level: 3,
71
+ },
72
+ {
73
+ type: 'paragraph',
74
+ html: 'Ce calculateur utilise une moyenne pondérée des différents tissus :',
75
+ },
76
+ {
77
+ type: 'list',
78
+ items: [
79
+ '<strong>30% peau et sang :</strong> Renouvellement quasi complet au cours des jeunes années.',
80
+ '<strong>35% squelette :</strong> Renouvellement progressif, atteignant 100% au bout de 10 ans.',
81
+ '<strong>25% organes :</strong> Renouvellement plus lent, variable selon l\'organe.',
82
+ '<strong>10% cerveau :</strong> Changement minimal dans les neurones, maximal dans les structures de soutien.',
83
+ ],
84
+ },
85
+ {
86
+ type: 'paragraph',
87
+ html: 'Le résultat est qu\'à l\'âge de 25 ans, environ <strong>93% de votre matière actuelle est nouvelle</strong>. À 80 ans, vous pourriez être composé de plus de 99% d\'atomes différents de ceux que vous aviez à la naissance.',
88
+ },
89
+ {
90
+ type: 'title',
91
+ text: 'Implications philosophiques : l\'identité est information, pas matière',
92
+ level: 3,
93
+ },
94
+ {
95
+ type: 'paragraph',
96
+ html: 'Si votre corps est complètement nouveau chaque décennie, pourquoi êtes-vous "vous" ? La réponse réside dans le fait que l\'identité ne réside pas dans les atomes spécifiques, mais dans le <strong>modèle d\'information</strong> que ces atomes soutiennent. Vous êtes comme une chanson : ce n\'est pas le même air qui vibre, mais le modèle persiste.',
97
+ },
98
+ {
99
+ type: 'paragraph',
100
+ html: 'Ceci a des implications profondes : votre corps est un processus, pas une chose. Vous êtes un modèle auto-organisé qui persiste à travers le changement. Vous ne possédez pas d\'atomes ; vous êtes une structure qui les canalise temporairement.',
101
+ },
102
+ ],
103
+ faq: [
104
+ {
105
+ question: 'Qu\'est-ce que le "renouvellement cellulaire" exactement ?',
106
+ answer: 'C\'est le processus naturel par lequel les cellules âgées ou endommagées meurent (apoptose) et sont remplacées par de nouvelles cellules générées par division mitotique. Ce cycle est essentiel pour maintenir les tissus fonctionnels et réparer les dommages.',
107
+ },
108
+ {
109
+ question: 'Pourquoi le cerveau se renouvelle-t-il si lentement ?',
110
+ answer: 'Les neurones du cortex cérébral se génèrent avant la naissance et généralement ne se divisent plus. Cela assure une stabilité neurologique : vos "câbles" fondamentaux restent constants. Cependant, les cellules gliales (de soutien) se renouvellent. La mémoire est stockée dans les connexions, pas dans les atomes.',
111
+ },
112
+ {
113
+ question: 'Est-il vrai que nous sommes de "nouvelles personnes" tous les 7 ans ?',
114
+ answer: 'C\'est une simplification. Ce n\'est pas exact. Votre sang se renouvelle en 4 mois, votre peau en un mois, votre squelette en 10 ans. Votre cerveau reste en grande partie inchangé. Le chiffre de 7 ans est historique (Aristote l\'a mentionné) mais biologiquement c\'est une moyenne imprécise.',
115
+ },
116
+ {
117
+ question: 'Si mon corps est neuf à 99%, suis-je toujours la même personne ?',
118
+ answer: 'Oui. L\'identité est une continuité d\'information, de conscience et de mémoire, pas d\'atomes. Vous êtes comme un fleuve : l\'eau change constamment, mais le fleuve persiste. Le Paradoxe de Thésée suggère que l\'identité réside dans le motif, pas dans la matière.',
119
+ },
120
+ {
121
+ question: 'Quels sont les tissus qui se renouvellent le plus rapidement ?',
122
+ answer: 'Le sang et la peau sont en tête. Votre moelle osseuse produit 200 milliards de cellules sanguines par jour. Vous perdez ~30 000 cellules de peau par minute. C\'est pourquoi ils cicatrisent si bien et vieillissent si visiblement : ils sont jeunes en termes d\'âge cellulaire.',
123
+ },
124
+ {
125
+ question: 'Le cristallin de l\'œil ne se renouvelle vraiment pas ?',
126
+ answer: 'C\'est exact. Les cellules du cristallin se déposent pendant le développement embryonnaire et sont conservées à vie. À 100 ans, les cellules centrales de votre cristallin pourraient être les mêmes que lorsque vous étiez dans l\'utérus. C\'est une capsule témoin biologique.',
127
+ },
128
+ ],
129
+ bibliography: [
130
+ {
131
+ name: 'Sender, R., & Milo, R. (2021). The distribution of cellular turnover in the human body. Nature Medicine, 27(1), 45-48.',
132
+ url: 'https://www.nature.com/articles/s41591-020-01182-9',
133
+ },
134
+ {
135
+ name: 'Spalding, K. L., et al. (2005). Retrospective birth dating of cells in humans. Cell, 122(1), 133-143.',
136
+ url: 'https://pubmed.ncbi.nlm.nih.gov/16023133/',
137
+ },
138
+ {
139
+ name: 'Bianconi, E., et al. (2013). An estimation of the number of cells in the human body. Annals of Human Biology, 40(6), 463-471.',
140
+ url: 'https://pubmed.ncbi.nlm.nih.gov/23829164/',
141
+ },
142
+ {
143
+ name: 'Stanford Encyclopedia of Philosophy: The Ship of Theseus and Personal Identity.',
144
+ url: 'https://plato.stanford.edu/entries/identity-relative/',
145
+ },
146
+ {
147
+ name: 'Leblond, C. P. (1964). Classification of cell and tissue by the rate of their division. In Renewal of Life.',
148
+ url: 'https://en.wikipedia.org/wiki/Cellular_renewal',
149
+ },
150
+ ],
151
+ howTo: [
152
+ {
153
+ name: 'Réglez votre âge',
154
+ text: 'Faites glisser le curseur de 1 à 105 ans. C\'est la variable la plus importante pour les calculs de renouvellement.',
155
+ },
156
+ {
157
+ name: 'Observez le pourcentage principal',
158
+ text: 'Le grand chiffre au centre indique quel pourcentage de votre matière actuelle est "neuve" (renouvelée depuis votre naissance).',
159
+ },
160
+ {
161
+ name: 'Analysez les barres de progression',
162
+ text: 'Chaque barre représente un tissu différent : peau/sang, os, organes et cerveau. Notez que le cerveau change à peine tandis que la peau se renouvelle constamment.',
163
+ },
164
+ {
165
+ name: 'Réfléchissez sur votre identité',
166
+ text: 'Si 99 % de vous est de la matière neuve, qui êtes-vous réellement ? Utilisez cet outil comme point de départ pour des réflexions sur la continuité personnelle et le Paradoxe de Thésée.',
167
+ },
168
+ ],
169
+ schemas: [],
170
+ };
@@ -0,0 +1,24 @@
1
+ import type { ScienceToolEntry, ToolDefinition } from '../../types';
2
+ import CellularRenewalComponent from './component.astro';
3
+ import CellularRenewalSEO from './seo.astro';
4
+ import CellularRenewalBibliography from './bibliography.astro';
5
+
6
+ export const cellularRenewal: ScienceToolEntry = {
7
+ slug: 'calculadora-renovacion-celular',
8
+ icons: {
9
+ bg: 'mdi:atom',
10
+ fg: 'mdi:dna',
11
+ },
12
+ i18n: {
13
+ es: () => import('./i18n/es').then((m) => m.content),
14
+ en: () => import('./i18n/en').then((m) => m.content),
15
+ fr: () => import('./i18n/fr').then((m) => m.content),
16
+ },
17
+ };
18
+
19
+ export const CELLULAR_RENEWAL_TOOL: ToolDefinition = {
20
+ entry: cellularRenewal,
21
+ Component: CellularRenewalComponent,
22
+ SEOComponent: CellularRenewalSEO,
23
+ BibliographyComponent: CellularRenewalBibliography,
24
+ };
@@ -0,0 +1,50 @@
1
+ export interface RenewalResult {
2
+ total: number;
3
+ skin: number;
4
+ bone: number;
5
+ organ: number;
6
+ brain: number;
7
+ }
8
+
9
+ export class CellularRenewalEngine {
10
+ private static readonly TURNOVER = {
11
+ skin: 0.1,
12
+ bone: 10,
13
+ organ: 15,
14
+ brain: 90,
15
+ };
16
+
17
+ private static readonly MASS_WEIGHTS = {
18
+ skin: 0.30,
19
+ bone: 0.35,
20
+ organ: 0.25,
21
+ brain: 0.10,
22
+ };
23
+
24
+ static calculate(age: number): RenewalResult {
25
+ const getReplacement = (t: number, half: number) => {
26
+ const remaining = Math.exp(-Math.log(2) * t / half);
27
+ return (1 - remaining) * 100;
28
+ };
29
+
30
+ const pSkin = age < 0.2 ? (age * 100 / 0.2) : 100;
31
+ const pBone = getReplacement(age, this.TURNOVER.bone);
32
+ const pOrgan = getReplacement(age, this.TURNOVER.organ);
33
+ const pBrain = Math.min(15, (age * 15 / 80));
34
+
35
+ const total = (
36
+ pSkin * this.MASS_WEIGHTS.skin +
37
+ pBone * this.MASS_WEIGHTS.bone +
38
+ pOrgan * this.MASS_WEIGHTS.organ +
39
+ pBrain * this.MASS_WEIGHTS.brain
40
+ );
41
+
42
+ return {
43
+ total: Math.round(total),
44
+ skin: Math.round(pSkin),
45
+ bone: Math.round(pBone),
46
+ organ: Math.round(pOrgan),
47
+ brain: Math.round(pBrain),
48
+ };
49
+ }
50
+ }
@@ -0,0 +1,14 @@
1
+ ---
2
+ import { SEORenderer } from '@jjlmoya/utils-shared';
3
+ import { cellularRenewal } from './index';
4
+ import type { KnownLocale } from '../../types';
5
+
6
+ interface Props {
7
+ locale?: KnownLocale;
8
+ }
9
+
10
+ const { locale = 'es' } = Astro.props;
11
+ const content = await cellularRenewal.i18n[locale]?.();
12
+ ---
13
+
14
+ {content && <SEORenderer content={{ sections: content.seo, locale }} />}