1
0

Save point: bold+underline inline source links in health scenes (Flexner/FDA/Medicare/HMO/Syntropy) + Escape key fix

This commit is contained in:
avi
2026-05-14 17:41:50 -05:00
parent 16456f5ed1
commit 7bac33190c

View File

@@ -1836,7 +1836,17 @@
typeHtmlCalmly(txt,"\n\nTHAT'S NOT HYPOTHETICAL — IT HAPPENED IN 1910.",()=>{ typeHtmlCalmly(txt,"\n\nTHAT'S NOT HYPOTHETICAL — IT HAPPENED IN 1910.",()=>{
const t1=setTimeout(()=>{ const t1=setTimeout(()=>{
txt.innerHTML+="\n\n"; txt.innerHTML+="\n\n";
typeHtmlCalmly(txt,"THE CARNEGIE FOUNDATION COMMISSIONED THE FLEXNER REPORT. IT EVALUATED EVERY MEDICAL SCHOOL IN AMERICA. HALF WERE SHUT DOWN — PARTICULARLY THOSE TRAINING WOMEN, BLACK DOCTORS, AND RURAL PRACTITIONERS.",()=>{ typeHtmlCalmly(txt,"THE CARNEGIE FOUNDATION COMMISSIONED ",()=>{
const span=document.createElement('span');
txt.appendChild(span);
typeHtmlCalmly(span,"THE FLEXNER REPORT",()=>{
const link=document.createElement('a');
link.href='https://ncbi.nlm.nih.gov/pmc/articles/PMC2567554/';
link.target='_blank';
link.textContent=span.textContent;
link.style.cssText='text-decoration:underline;font-weight:bold;color:#00ff00';
span.replaceWith(link);
typeHtmlCalmly(txt,". IT EVALUATED EVERY MEDICAL SCHOOL IN AMERICA. HALF WERE SHUT DOWN — PARTICULARLY THOSE TRAINING WOMEN, BLACK DOCTORS, AND RURAL PRACTITIONERS.",()=>{
const t2=setTimeout(()=>{ const t2=setTimeout(()=>{
txt.innerHTML+="\n\n"; txt.innerHTML+="\n\n";
typeHtmlCalmly(txt,"THE AMERICAN MEDICAL ASSOCIATION TOOK CONTROL OF MEDICAL LICENSING. MEDICINE BECAME A GATEKEPT PROFESSION.",()=>{ typeHtmlCalmly(txt,"THE AMERICAN MEDICAL ASSOCIATION TOOK CONTROL OF MEDICAL LICENSING. MEDICINE BECAME A GATEKEPT PROFESSION.",()=>{
@@ -1845,6 +1855,8 @@
},800); },800);
h10c.push(t2); h10c.push(t2);
},undefined,undefined,h10c); },undefined,undefined,h10c);
},undefined,undefined,h10c);
},undefined,undefined,h10c);
},1000); },1000);
h10c.push(t1); h10c.push(t1);
},undefined,undefined,h10c); },undefined,undefined,h10c);
@@ -1873,7 +1885,14 @@
typeHtmlCalmly(txt,"IN 1938, AFTER THE ELIXIR SULFANILAMIDE TRAGEDY KILLED 107 PEOPLE, THE FDA WAS GIVEN BROAD POWER TO REGULATE MEDICINE.",()=>{ typeHtmlCalmly(txt,"IN 1938, AFTER THE ELIXIR SULFANILAMIDE TRAGEDY KILLED 107 PEOPLE, THE FDA WAS GIVEN BROAD POWER TO REGULATE MEDICINE.",()=>{
const t1=setTimeout(()=>{ const t1=setTimeout(()=>{
txt.innerHTML+="\n\n"; txt.innerHTML+="\n\n";
typeHtmlCalmly(txt,"THE FOOD, DRUG & COSMETIC ACT REQUIRED DRUGS TO BE PROVEN SAFE BEFORE SALE.",()=>{ typeHtmlCalmly(txt,"THE ",()=>{
const link=document.createElement('a');
link.href='https://www.fda.gov/about-fda/changes-science-law-and-regulatory-authorities/part-ii-1938-food-drug-cosmetic-act';
link.target='_blank';
link.textContent='FOOD, DRUG & COSMETIC ACT';
link.style.cssText='text-decoration:underline;font-weight:bold;color:#00ff00';
txt.appendChild(link);
typeHtmlCalmly(txt," REQUIRED DRUGS TO BE PROVEN SAFE BEFORE SALE.",()=>{
const t2=setTimeout(()=>{ const t2=setTimeout(()=>{
txt.innerHTML+="\n\n"; txt.innerHTML+="\n\n";
typeHtmlCalmly(txt,"SOUNDS REASONABLE — BUT IT ALSO MEANT NO TREATMENT COULD EXIST WITHOUT GOVERNMENT APPROVAL.",()=>{ typeHtmlCalmly(txt,"SOUNDS REASONABLE — BUT IT ALSO MEANT NO TREATMENT COULD EXIST WITHOUT GOVERNMENT APPROVAL.",()=>{
@@ -1888,6 +1907,7 @@
},800); },800);
h10c.push(t2); h10c.push(t2);
},undefined,undefined,h10c); },undefined,undefined,h10c);
},undefined,undefined,h10c);
},1600); },1600);
h10c.push(t1); h10c.push(t1);
},undefined,undefined,h10c); },undefined,undefined,h10c);
@@ -1916,7 +1936,7 @@
typeHtmlCalmly(txt,"HEALTHCARE SPENDING WAS $41 BILLION IN 1965. BY 2022, IT REACHED $4.1 TRILLION.",()=>{ typeHtmlCalmly(txt,"HEALTHCARE SPENDING WAS $41 BILLION IN 1965. BY 2022, IT REACHED $4.1 TRILLION.",()=>{
const t2=setTimeout(()=>{ const t2=setTimeout(()=>{
txt.innerHTML+="\n\n"; txt.innerHTML+="\n\n";
vis.innerHTML='<div class="callout-box">⚠ $41B → $4.1T = 100x IN 57 YEARS ⚠</div>'; vis.innerHTML='<div class="callout-box">⚠ <a href="https://www.cms.gov/data-research/statistics-trends-and-reports/national-health-expenditure-data/historical" target="_blank" style="text-decoration:underline;font-weight:bold;color:#00ff00">$41B → $4.1T = 100x IN 57 YEARS</a> ⚠</div>';
vis.classList.add('visible'); vis.classList.add('visible');
showNextBtn('next10c');showNextBtn('sources10c'); showNextBtn('next10c');showNextBtn('sources10c');
},800); },800);
@@ -1944,7 +1964,14 @@
if (sceneElem.style.display !== 'flex' || document.getElementById('next10d').style.visibility === 'visible') { clearInterval(fi); return; } if (sceneElem.style.display !== 'flex' || document.getElementById('next10d').style.visibility === 'visible') { clearInterval(fi); return; }
o+=0.05;if(o>=1){o=1;clearInterval(fi); o+=0.05;if(o>=1){o=1;clearInterval(fi);
buildHTimeline(tl,3); buildHTimeline(tl,3);
typeHtmlCalmly(txt,"IN 1973, THE HMO ACT FORMALIZED MANAGED CARE.",()=>{ typeHtmlCalmly(txt,"IN 1973, THE ",()=>{
const link=document.createElement('a');
link.href='https://www.congress.gov/93/statute/STATUTE-87/STATUTE-87-Pg914.pdf';
link.target='_blank';
link.textContent='HMO ACT';
link.style.cssText='text-decoration:underline;font-weight:bold;color:#00ff00';
txt.appendChild(link);
typeHtmlCalmly(txt," FORMALIZED MANAGED CARE.",()=>{
const t1=setTimeout(()=>{ const t1=setTimeout(()=>{
txt.innerHTML+="\n\n"; txt.innerHTML+="\n\n";
typeHtmlCalmly(txt,"YOUR DOCTOR NO LONGER WORKS FOR YOU — THEY WORK FOR THE INSURANCE COMPANY.",()=>{ typeHtmlCalmly(txt,"YOUR DOCTOR NO LONGER WORKS FOR YOU — THEY WORK FOR THE INSURANCE COMPANY.",()=>{
@@ -1965,6 +1992,7 @@
},1200); },1200);
h10c.push(t1); h10c.push(t1);
},undefined,undefined,h10c); },undefined,undefined,h10c);
},undefined,undefined,h10c);
} }
sceneElem.style.opacity=o; sceneElem.style.opacity=o;
},30); },30);
@@ -1987,7 +2015,14 @@
typeHtmlCalmly(txt,"TODAY, A NEW KIND OF MEDICINE IS EMERGING — BIOHACKING, FUNCTIONAL MEDICINE, DIRECT-TO-CONSUMER TESTING.",()=>{ typeHtmlCalmly(txt,"TODAY, A NEW KIND OF MEDICINE IS EMERGING — BIOHACKING, FUNCTIONAL MEDICINE, DIRECT-TO-CONSUMER TESTING.",()=>{
const t1=setTimeout(()=>{ const t1=setTimeout(()=>{
txt.innerHTML+="\n\n"; txt.innerHTML+="\n\n";
typeHtmlCalmly(txt,"PROJECTS LIKE SYNTPROPY.INSTITUTE ARE BUILDING THE INFRASTRUCTURE FOR MEDICINE YOU CONTROL.",()=>{ typeHtmlCalmly(txt,"PROJECTS LIKE ",()=>{
const link=document.createElement('a');
link.href='https://syntropy.institute/';
link.target='_blank';
link.textContent='SYNTPROPY.INSTITUTE';
link.style.cssText='text-decoration:underline;font-weight:bold;color:#00ff00';
txt.appendChild(link);
typeHtmlCalmly(txt," ARE BUILDING THE INFRASTRUCTURE FOR MEDICINE YOU CONTROL.",()=>{
const t2=setTimeout(()=>{ const t2=setTimeout(()=>{
txt.innerHTML+="\n\n"; txt.innerHTML+="\n\n";
let html='<table class="comp-table"><tr><th></th><th>TRADITIONAL</th><th>DECENTRALIZED</th></tr>'; let html='<table class="comp-table"><tr><th></th><th>TRADITIONAL</th><th>DECENTRALIZED</th></tr>';
@@ -2003,6 +2038,7 @@
},800); },800);
h10c.push(t2); h10c.push(t2);
},undefined,undefined,h10c); },undefined,undefined,h10c);
},undefined,undefined,h10c);
},1200); },1200);
h10c.push(t1); h10c.push(t1);
},undefined,undefined,h10c); },undefined,undefined,h10c);
@@ -3713,7 +3749,7 @@
const refsDiv = document.getElementById('sceneRefs'); const refsDiv = document.getElementById('sceneRefs');
if (refsDiv.classList.contains('visible')) { if (refsDiv.classList.contains('visible')) {
refsDiv.classList.remove('visible'); refsDiv.classList.remove('visible');
var c=refsCaller;if(c==='scene7b'||c==='scene8b'||c==='scene4a'||c==='scene4b'||c==='scene4c'||c==='scene4d'||c==='scene4e'||c==='scene5')document.getElementById(c).style.display='flex'; var c=refsCaller;if(c==='scene7b'||c==='scene8b'||c==='scene4a'||c==='scene4b'||c==='scene4c'||c==='scene4d'||c==='scene4e'||c==='scene5'||c==='scene10a'||c==='scene10b'||c==='scene10c'||c==='scene10d'||c==='scene10e'||c==='scene11')document.getElementById(c).style.display='flex';
refsCaller = null; refsCaller = null;
return; return;
} }