Yesterday I told to make my ppt ready

I don't have any record of a previous conversation about your PPT - each session starts fresh, so I don't have context from yesterday.
Could you tell me a bit more about what you need?
Asking for Preferences

What is the topic or subject of your presentation? · Do you have any specific details or content you'd like included?

Recurrent respiratory papilloma of larynx and hemangioma of larynx

Let me clarify a couple of things before I build your presentation.
Asking for Preferences

Who is the target audience? · How many slides do you want (approximately)? · What should the PPT cover for each condition?

Got it. I'll now research both conditions from the medical library and build a full 20-25 slide clinical PPT for specialists.
Reading File
Now searching both conditions in parallel:
Finding Sources
Finding Sources
Finding Sources
Finding Sources
Good - found relevant sections. Now reading the key textbook blocks in parallel:
Reading File
Reading File
Reading File
Good. Now let me read the main RRP section from Cummings and the Robbins papilloma section, and also look for the hemangioma section more carefully:
Reading File
Finding Sources
Finding Sources
Excellent! Found both key sections. Reading them in parallel now:
Reading File
Reading File
I have rich content. Now let me read the RRP chapter 208 (staging, surgical management) and PPTX skill in parallel:
Reading File
Reading File
Reading File
I have enough content. Now building the full 22-slide presentation:
Running Command

mkdir -p /home/daytona/workspace/larynx-ppt && ls /home/daytona/workspace/larynx-ppt/

There is an old file there. I'll overwrite with a comprehensive new script:
Writing File

~/larynx-ppt/create_ppt.js

const pptxgen = require("pptxgenjs");
const pres = new pptxgen();
pres.layout = "LAYOUT_WIDE"; // 13.3 x 7.5
pres.title = "Benign Laryngeal Tumors: RRP & Hemangioma";

// ── COLOR PALETTE ──────────────────────────────────────────────
const C = {
  darkBg:    "0D1B2A",  // deep navy (title / section dividers)
  midBg:     "1B3A52",  // mid blue
  accent:    "E8A838",  // gold accent
  accentAlt: "4ABFD4",  // teal
  white:     "FFFFFF",
  lightGray: "E8EEF4",
  bodyText:  "1E2D3D",
  subText:   "4A6880",
  red:       "D94F3D",
  green:     "2ECC71",
};

// ── HELPERS ──────────────────────────────────────────────────
function addTitleSlide(title, subtitle) {
  const s = pres.addSlide();
  // Full background
  s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 13.3, h: 7.5, fill: { color: C.darkBg } });
  // Gold bar
  s.addShape(pres.ShapeType.rect, { x: 0, y: 5.8, w: 13.3, h: 0.12, fill: { color: C.accent } });
  // Decorative circle
  s.addShape(pres.ShapeType.ellipse, { x: 10.5, y: -1.5, w: 5, h: 5, fill: { color: C.midBg }, line: { color: C.midBg } });

  s.addText(title, {
    x: 0.8, y: 1.8, w: 11.7, h: 1.8,
    fontSize: 40, bold: true, color: C.white,
    align: "center", valign: "middle", fontFace: "Calibri",
  });
  s.addText(subtitle, {
    x: 0.8, y: 3.7, w: 11.7, h: 0.8,
    fontSize: 20, color: C.accent, align: "center", fontFace: "Calibri",
  });
  s.addText("For Specialist Clinicians  |  Otolaryngology – Head & Neck Surgery", {
    x: 0.8, y: 6.0, w: 11.7, h: 0.5,
    fontSize: 13, color: "AABCCC", align: "center", fontFace: "Calibri",
  });
  return s;
}

function sectionDivider(title, sub) {
  const s = pres.addSlide();
  s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 13.3, h: 7.5, fill: { color: C.midBg } });
  s.addShape(pres.ShapeType.rect, { x: 0, y: 3.55, w: 0.25, h: 1.8, fill: { color: C.accent } });
  s.addText(title, {
    x: 0.5, y: 2.6, w: 12.3, h: 1.3,
    fontSize: 38, bold: true, color: C.white, fontFace: "Calibri", valign: "middle",
  });
  if (sub) {
    s.addText(sub, {
      x: 0.5, y: 4.1, w: 12.3, h: 0.7,
      fontSize: 18, color: C.accentAlt, fontFace: "Calibri",
    });
  }
  return s;
}

// Content slide with left colored sidebar
function contentSlide(heading, bullets, opts = {}) {
  const s = pres.addSlide();
  const accentColor = opts.accent || C.accent;

  // Light bg
  s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 13.3, h: 7.5, fill: { color: C.lightGray } });
  // Left accent strip
  s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 0.22, h: 7.5, fill: { color: accentColor } });
  // Header banner
  s.addShape(pres.ShapeType.rect, { x: 0.22, y: 0, w: 13.08, h: 1.05, fill: { color: C.darkBg } });

  s.addText(heading, {
    x: 0.45, y: 0.08, w: 12.6, h: 0.85,
    fontSize: 22, bold: true, color: C.white, fontFace: "Calibri", valign: "middle",
  });

  const items = bullets.map((b, i) => {
    if (typeof b === "string") {
      return { text: b, options: { bullet: { type: "bullet" }, breakLine: i < bullets.length - 1, fontSize: 17, color: C.bodyText, fontFace: "Calibri" } };
    }
    // { text, sub: true } for sub-bullets
    return { text: b.text, options: { bullet: { type: "bullet", indent: 30 }, breakLine: i < bullets.length - 1, fontSize: 15, color: C.subText, fontFace: "Calibri" } };
  });

  s.addText(items, {
    x: 0.45, y: 1.15, w: 12.4, h: 6.1,
    valign: "top", margin: [0.1, 0.2, 0.1, 0.2],
    lineSpacingMultiple: 1.25,
  });
  return s;
}

// Two-column content slide
function twoColSlide(heading, leftTitle, leftBullets, rightTitle, rightBullets, opts = {}) {
  const s = pres.addSlide();
  const accentColor = opts.accent || C.accent;

  s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 13.3, h: 7.5, fill: { color: C.lightGray } });
  s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 0.22, h: 7.5, fill: { color: accentColor } });
  s.addShape(pres.ShapeType.rect, { x: 0.22, y: 0, w: 13.08, h: 1.05, fill: { color: C.darkBg } });

  s.addText(heading, {
    x: 0.45, y: 0.08, w: 12.6, h: 0.85,
    fontSize: 22, bold: true, color: C.white, fontFace: "Calibri", valign: "middle",
  });

  // Left col header
  s.addShape(pres.ShapeType.rect, { x: 0.35, y: 1.15, w: 6.1, h: 0.42, fill: { color: accentColor } });
  s.addText(leftTitle, { x: 0.35, y: 1.15, w: 6.1, h: 0.42, fontSize: 14, bold: true, color: C.white, fontFace: "Calibri", align: "center", valign: "middle" });

  const lItems = leftBullets.map((b, i) => ({
    text: b,
    options: { bullet: { type: "bullet" }, breakLine: i < leftBullets.length - 1, fontSize: 15, color: C.bodyText, fontFace: "Calibri" }
  }));
  s.addText(lItems, { x: 0.35, y: 1.6, w: 6.1, h: 5.6, valign: "top", lineSpacingMultiple: 1.25 });

  // Right col header
  s.addShape(pres.ShapeType.rect, { x: 6.85, y: 1.15, w: 6.1, h: 0.42, fill: { color: C.accentAlt } });
  s.addText(rightTitle, { x: 6.85, y: 1.15, w: 6.1, h: 0.42, fontSize: 14, bold: true, color: C.white, fontFace: "Calibri", align: "center", valign: "middle" });

  const rItems = rightBullets.map((b, i) => ({
    text: b,
    options: { bullet: { type: "bullet" }, breakLine: i < rightBullets.length - 1, fontSize: 15, color: C.bodyText, fontFace: "Calibri" }
  }));
  s.addText(rItems, { x: 6.85, y: 1.6, w: 6.1, h: 5.6, valign: "top", lineSpacingMultiple: 1.25 });

  return s;
}

// Table slide
function tableSlide(heading, headers, rows, opts = {}) {
  const s = pres.addSlide();
  const accentColor = opts.accent || C.accent;
  s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 13.3, h: 7.5, fill: { color: C.lightGray } });
  s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 0.22, h: 7.5, fill: { color: accentColor } });
  s.addShape(pres.ShapeType.rect, { x: 0.22, y: 0, w: 13.08, h: 1.05, fill: { color: C.darkBg } });
  s.addText(heading, { x: 0.45, y: 0.08, w: 12.6, h: 0.85, fontSize: 22, bold: true, color: C.white, fontFace: "Calibri", valign: "middle" });

  const tableRows = [
    headers.map(h => ({ text: h, options: { bold: true, color: C.white, fill: { color: C.midBg }, fontSize: 14, fontFace: "Calibri", align: "center" } })),
    ...rows.map((row, ri) => row.map(cell => ({
      text: cell,
      options: { fontSize: 13, color: C.bodyText, fontFace: "Calibri", fill: { color: ri % 2 === 0 ? "FFFFFF" : "EAF2F8" } }
    })))
  ];
  s.addTable(tableRows, { x: 0.35, y: 1.2, w: 12.6, colW: opts.colW, border: { color: "C0D0DC", pt: 0.5 } });
  return s;
}

// ══════════════════════════════════════════════════
// SLIDE 1 — TITLE
// ══════════════════════════════════════════════════
addTitleSlide(
  "Benign Tumors of the Larynx",
  "Recurrent Respiratory Papillomatosis  ·  Hemangioma of the Larynx"
);

// SLIDE 2 — OUTLINE
contentSlide("Presentation Outline", [
  "PART I — Recurrent Respiratory Papillomatosis (RRP)",
  { text: "Definition, Epidemiology & Etiology", sub: true },
  { text: "Pathology & HPV Subtypes", sub: true },
  { text: "Clinical Features & Staging", sub: true },
  { text: "Diagnosis", sub: true },
  { text: "Surgical & Adjuvant Management", sub: true },
  { text: "Complications & Prognosis", sub: true },
  "PART II — Hemangioma of the Larynx",
  { text: "Definition, Types & Epidemiology", sub: true },
  { text: "Pathogenesis & Pathology", sub: true },
  { text: "Clinical Features & Diagnosis", sub: true },
  { text: "Management (Pediatric & Adult)", sub: true },
  "Comparison & Key Takeaways",
]);

// ══════════════════════════════════════════════════
// PART I — RRP
// ══════════════════════════════════════════════════
sectionDivider("PART I", "Recurrent Respiratory Papillomatosis (RRP)");

// SLIDE 4 — Definition & Epidemiology
contentSlide("RRP: Definition & Epidemiology", [
  "Most common benign neoplasm of the larynx — 84% of all benign laryngeal tumors (Jones et al.)",
  "Definition: Recurrent squamous papillomas of the aerodigestive tract caused by Human Papillomavirus (HPV)",
  "Two clinical forms:",
  { text: "Juvenile-onset (JoRRP): More aggressive; first two decades of life", sub: true },
  { text: "Adult-onset (AoRRP): Onset after 3rd decade; less frequent recurrence", sub: true },
  "Incidence:",
  { text: "Children: ~4.3 per 100,000", sub: true },
  { text: "Adults: ~1.8 per 100,000", sub: true },
  "Sites: Larynx (most common), trachea, bronchi, lung parenchyma (rare)",
  "Pediatric peak: 2–4 years; Adult peak: 20–40 years",
]);

// SLIDE 5 — Etiology & Transmission
contentSlide("RRP: Etiology & Transmission", [
  "Causative agent: Human Papillomavirus (HPV) — subtypes 6 & 11 account for the vast majority",
  "HPV subtype significance:",
  { text: "HPV-6: Less aggressive, lower recurrence rate", sub: true },
  { text: "HPV-11: More aggressive; higher surgical frequency; greater risk of tracheopulmonary spread", sub: true },
  { text: "HPV-16 & 18: Higher risk of malignant transformation (seen by the senior author)", sub: true },
  "Transmission (juvenile-onset): Vertical — maternal condylomata acuminata during vaginal delivery",
  { text: "~1 in 400 at-risk children develop RRP; rate ~7 per 1,000 births to genitally-infected mothers", sub: true },
  { text: "Cesarean section is NOT definitively protective; role remains controversial", sub: true },
  "Transmission (adult-onset): Presumed sexual/oral contact",
  "Cofactors: GERD (gastric acid worsens epithelial microenvironment), immunosuppression, sex hormones (estrogen increases HPV gene expression)",
]);

// SLIDE 6 — Pathology
contentSlide("RRP: Pathology", [
  "Gross: Exophytic, warty, grape-like or polypoid masses — most commonly at the glottis (free edge of vocal folds)",
  "Histology:",
  { text: "Fibrovascular cores covered by squamous epithelium", sub: true },
  { text: "Koilocytic change — perinuclear halo with nuclear atypia — pathognomonic of HPV infection", sub: true },
  { text: "Contact endoscopy (150×): Koilocytes clearly identified in papilloma of larynx", sub: true },
  "NBI (Narrow-Band Imaging): Stippled vascularity — 'carpet variant' — allows detection of subtle mucosal disease; often misdiagnosed as acid reflux on white light",
  "Immunohistochemistry: Positive for HPV capsid antigens; subtyped by PCR",
  "Risk of malignant transformation: Low overall (<1%) but higher with HPV-16/18 and in immunocompromised patients; requires surveillance",
]);

// SLIDE 7 — Clinical Features
contentSlide("RRP: Clinical Features", [
  "Cardinal symptom: Hoarseness (most common presenting complaint)",
  "Progression: Gradual onset → progressive dysphonia → aphonia if untreated",
  "Stridor: High-pitched inspiratory or biphasic stridor when glottis/subglottis involved",
  "Voice change character guides lesion location:",
  { text: "Aphonia / breathy / cracking voice → glottic lesion", sub: true },
  { text: "Low-pitched, coarse, fluttering voice → subglottic lesion", sub: true },
  "Airway compromise: Tachypnea, use of accessory muscles, neck hyperextension, cyanosis in advanced disease",
  "Additional features: Chronic cough, recurrent pneumonia, failure to thrive (children), dysphagia",
  "Red flags requiring urgent evaluation: Respiratory distress, tachycardia, decreasing oxygen saturation",
  "Unlike laryngomalacia — no positional change in stridor; unlike vocal nodules — no vocal abuse history",
]);

// SLIDE 8 — Staging (Derkay / JORRP)
contentSlide("RRP: Staging — Derkay Score", [
  "Most widely used: Derkay Clinical Scoring System (used by the American Society of Pediatric Otolaryngology)",
  "Scores disease based on:",
  { text: "Anatomical subsites: Epiglottis, aryepiglottic folds, arytenoids, false cords, true cords, subglottis, trachea, bronchi, nasal cavity, nasopharynx, hypopharynx, esophagus", sub: true },
  { text: "Extent of papilloma at each site: 0 = none, 1 = surface lesion, 2 = raised lesion, 3 = bulky lesion", sub: true },
  { text: "Voice score: 0 (normal) → 3 (aphonic)", sub: true },
  { text: "Stridor score: 0 (none) → 3 (at rest)", sub: true },
  { text: "Urgency of last surgery: 1 (routine/elective) → 4 (emergency)", sub: true },
  "Clinical staging used to define disease severity and monitor treatment response over time",
  "Aggressive disease defined: ≥4 surgical procedures per year, tracheal/pulmonary involvement, or tracheotomy dependence",
]);

// SLIDE 9 — Diagnosis
contentSlide("RRP: Diagnosis", [
  "Gold standard: Laryngoscopy + biopsy",
  "Office flexible fiberoptic nasopharyngoscopy:",
  { text: "First-line; sequential inspection of pharynx → hypopharynx → larynx → subglottis", sub: true },
  { text: "Allows estimation of luminal size and vocal fold mobility", sub: true },
  { text: "Scopes as small as 1.8 mm available for neonates", sub: true },
  "NBI endoscopy: Reveals stippled vascularity — 'carpet variant' — earlier detection than white light",
  "Direct laryngoscopy under GA: Required for children who cannot cooperate; also the operative approach",
  "Contact endoscopy (150×): Demonstrates koilocytes; confirms HPV-induced change",
  "Imaging: CT chest/neck if tracheopulmonary spread is suspected (Types 11, 16, 18)",
  "HPV subtyping by PCR: Types 6, 11, 16, 18 — guides prognosis and monitoring",
  "Differential diagnosis: Vocal cord nodules, vocal fold paralysis, subglottic stenosis, subglottic hemangioma, laryngeal carcinoma",
]);

// SLIDE 10 — Surgical Management
contentSlide("RRP: Surgical Management", [
  "No cure exists — current standard of care is surgical debulking",
  "Goals of surgery:",
  { text: "Complete removal of papillomas; preservation of normal laryngeal structures", sub: true },
  { text: "Achieve safe, patent airway; optimize voice; prolong interval between procedures", sub: true },
  { text: "Staged removal at anterior commissure — prevents apposition of two raw surfaces → web formation", sub: true },
  "CO₂ Laser (10,600 nm): Most commonly used; vaporizes with precision; 'no-touch' technique minimizes scarring; couples to operating microscope",
  "KTP Laser (532 nm): Effective for glottic papilloma; in-office awake unsedated technique available; blanches and ablates lesions",
  "Powered Microdebrider (RPMI): Excellent tissue removal; reduced thermal injury vs. laser; popular for bulky disease",
  "Tracheotomy: Avoided if possible (disseminates disease to trachea); used only for impending airway compromise",
  "KEY PRINCIPLE: Accept residual papilloma rather than damage normal tissue — scarring worsens outcome",
]);

// SLIDE 11 — Adjuvant Medical Therapy
twoColSlide(
  "RRP: Adjuvant Medical Therapies",
  "First-Line Adjuvants",
  [
    "Intralesional Cidofovir (antiviral — CMV analog): Most studied; most commonly used adjuvant; reduces disease burden; injects at time of surgical debulking",
    "Bevacizumab (IV/intralesional): Anti-VEGF monoclonal antibody; off-label; promising in aggressive/refractory disease; shown to reduce recurrence frequency",
    "HPV Vaccine (Gardasil 9): Prophylactic; adjunctive role in patients with active RRP — reported partial clinical responses; recommended for adolescent/adult patients",
  ],
  "Other Adjuvants",
  [
    "Interferon-α: Inhibits viral replication; older agent; side effects limit use; disease may rebound on cessation",
    "Indole-3-carbinol (I3C): Inhibits estrogen metabolism; 70% partial/complete response; better in adults",
    "Antireflux therapy (PPI/H₂ blockers): Reduces mucosal inflammation; associated with fewer laryngeal webs",
    "Celecoxib (COX-2 inhibitor): Theoretical rationale; RCT did not show significant advantage",
    "Mumps vaccine (intralesional): Open-label positive results; not reproduced reliably",
    "Cimetidine: Immunomodulatory; small case series evidence only",
  ],
  { accent: C.red }
);

// SLIDE 12 — Complications & Prognosis
contentSlide("RRP: Complications & Prognosis", [
  "Tracheotomy dependence: High number of procedures → increased risk of tracheal seeding and spread",
  "Tracheopulmonary extension:",
  { text: "Occurs in ~1–5%; HPV-11 highest risk; tracheotomy + history of multiple procedures predispose", sub: true },
  { text: "May present as recurrent pneumonia, atelectasis, or pulmonary nodules", sub: true },
  "Glottic/subglottic stenosis and laryngeal web: From scarring after aggressive surgery or repeated anterior commissure involvement",
  "Malignant transformation: <1% overall; higher with HPV-16/18; immunocompromised patients",
  "Spontaneous remission: Occurs in some juvenile cases at puberty — hormonal influence postulated",
  "Quality of life: Chronic hoarseness, repeated surgeries, anxiety, missed school/work — significant psychosocial burden",
  "Prognostic factors for aggressive disease: HPV-11, early age of onset, tracheotomy history, long disease duration, high Derkay score",
]);

// ══════════════════════════════════════════════════
// PART II — HEMANGIOMA
// ══════════════════════════════════════════════════
sectionDivider("PART II", "Hemangioma of the Larynx");

// SLIDE 14 — Definition & Types
contentSlide("Laryngeal Hemangioma: Definition & Types", [
  "Definition: Benign vascular tumor arising from hematopoietic progenitor cells or stem cells within the larynx",
  "Classified by age of presentation and morphology:",
  { text: "Subglottic (Congenital / Infantile): Most common neoplasm of the pediatric airway", sub: true },
  { text: "Adult laryngeal hemangioma: Usually supraglottic / at/above vocal fold level; cavernous type", sub: true },
  "Morphological types:",
  { text: "Capillary hemangioma: More common in infants; subglottic; proliferative growth then involution", sub: true },
  { text: "Cavernous hemangioma: More common in adults; larger vascular spaces; bluish discolored mass; covered by thinner mucosa", sub: true },
  "Female predominance: Twice as common in females (for subglottic / infantile type)",
  "Associated with systemic hemangiomas: 60% of infants with hemangiomata in 'beard distribution' (preauricular, mandibular, neck, lower lip) have a subglottic lesion",
]);

// SLIDE 15 — Pathogenesis
contentSlide("Laryngeal Hemangioma: Pathogenesis", [
  "Arise from hematopoietic progenitor cells (possibly placental origin) OR local stem cells following genetic alterations",
  "Key molecular mediators of growth:",
  { text: "MMP-9 (Matrix metalloproteinase-9) — promotes angiogenesis and tissue remodeling", sub: true },
  { text: "VEGF (Vascular Endothelial Growth Factor) — drives neovascularization", sub: true },
  { text: "b-FGF (basic Fibroblast Growth Factor) — stimulates endothelial proliferation", sub: true },
  { text: "TGF-β (Transforming Growth Factor-beta) — regulates cellular growth", sub: true },
  "Natural history (infantile type) — three phases:",
  { text: "Proliferative phase: Rapid growth from birth to ~12 months", sub: true },
  { text: "Plateau phase: Stabilization around 12 months of age", sub: true },
  { text: "Involution phase: Spontaneous regression by 18 months to 2 years of age", sub: true },
  "Adult hemangiomas: No involution; symptoms may persist for years; hemorrhage risk (spontaneous or surgical)",
]);

// SLIDE 16 — Clinical Features
twoColSlide(
  "Laryngeal Hemangioma: Clinical Features",
  "Pediatric / Subglottic",
  [
    "Biphasic stridor — onset at ~6 weeks of age (85% present by 6 months)",
    "Progressive respiratory distress during proliferative phase",
    "Soft, compressible subglottic swelling — usually LEFT-sided",
    "Worsening with crying / agitation (increased venous pressure)",
    "60% with 'beard distribution' facial hemangiomas have subglottic involvement",
    "PHACES syndrome association: Posterior fossa malformations, facial Hemangioma, Arterial lesions, Cardiac defects (coarctation of aorta), Eye abnormalities, Sternal cleft",
  ],
  "Adult Laryngeal",
  [
    "Hoarseness — dominant symptom",
    "Respiratory distress: NOT a feature (unlike pediatric type)",
    "Symptoms may have been present for many years",
    "Bluish discolored supraglottic/vocal fold mass on laryngoscopy",
    "Hemoptysis: Can occur — usually surgical complication",
    "Dysphagia if large supraglottic lesion",
    "Risk of significant hemorrhage if biopsied incautiously",
  ],
  { accent: C.accentAlt }
);

// SLIDE 17 — Diagnosis
contentSlide("Laryngeal Hemangioma: Diagnosis", [
  "High kV AP neck X-ray (Pediatric):",
  { text: "Classic finding: Unilateral subglottic soft-tissue mass — usually LEFT lateral wall", sub: true },
  { text: "Asymmetric narrowing of subglottis distinguishes from croup (symmetric subglottic narrowing)", sub: true },
  "Rigid bronchoscopy (Pediatric — diagnostic gold standard):",
  { text: "Do NOT intubate before visualizing — lesion may be compressed and missed", sub: true },
  { text: "Vascular blush on vocal cord; rounded vascular lesion in subglottis (usually left)", sub: true },
  { text: "Biopsy NOT required if typical location + typical age group — avoids hemorrhage", sub: true },
  { text: "Beware rare ALK-positive histiocytic lesion — mimicker of hemangioma", sub: true },
  "MRI with gadolinium: Demarcates extent of lesion; useful for large or atypical lesions; shows T2 high signal",
  "Rule out PHACES syndrome: Echo, MRI brain, ophthalmology review, thyroid function",
  "Adult: Flexible laryngoscopy / direct laryngoscopy → bluish vascular supraglottic/glottic mass; biopsy with caution",
]);

// SLIDE 18 — Management Pediatric
contentSlide("Laryngeal Hemangioma: Management — Pediatric (Subglottic)", [
  "First-line: Systemic Propranolol (non-selective β-blocker)",
  { text: "Mechanism: Vasoconstriction (immediate), ↓VEGF/bFGF (medium-term), ↑apoptosis (long-term)", sub: true },
  { text: "Dose: 1–3 mg/kg/day orally; monitor HR, BP, blood glucose; inpatient initiation if <8 weeks", sub: true },
  { text: "Response: Usually dramatic — lesion shrinks within weeks; continued until age ~12–18 months", sub: true },
  "Alternative: Nadolol (once-daily dosing; some evidence of superior CNS safety profile)",
  "Second-line / adjuncts:",
  { text: "IV / intralesional corticosteroids: Inhibit growth in proliferative phase; used if β-blockers contraindicated", sub: true },
  { text: "CO₂ laser vaporization: Superior to radiotherapy/steroids; begin with biopsy, then vaporize; may require 2 procedures", sub: true },
  { text: "Open surgical excision: Reserved for failed medical management or large obstructing lesions", sub: true },
  { text: "Interferon-α: Neurotoxicity risk in infants — NOT first-line; historical use only", sub: true },
  "Tracheotomy: Airway rescue only; decannulation once lesion involutes",
  "Minimal manipulation under anesthesia — awaken patient; secure airway via intubation only if essential",
]);

// SLIDE 19 — Management Adult
contentSlide("Laryngeal Hemangioma: Management — Adult", [
  "Conservative management is preferred (no spontaneous involution expected)",
  "Monitor: Adult laryngeal hemangiomas often stable for years — observe if asymptomatic and not enlarging",
  "Indications for intervention:",
  { text: "Progressive enlargement involving additional laryngeal subsites", sub: true },
  { text: "Significant hoarseness / airway compromise", sub: true },
  { text: "Recurrent hemoptysis", sub: true },
  "Corticosteroid therapy: Systemic or intralesional — reduces lesion size; used when surgery is not immediately required",
  "Radiotherapy: Effective; reserved for inaccessible or recurrent lesions; modern use limited given morbidity",
  "Surgical options:",
  { text: "CO₂ laser: NOT generally advised for cavernous hemangioma — vascular space diameter exceeds coagulating ability", sub: true },
  { text: "KTP / Nd:YAG laser: Better coagulating ability for cavernous lesions", sub: true },
  { text: "Open resection: Laryngofissure approach for extensive lesions; high hemorrhage risk — requires blood availability", sub: true },
  "Propranolol: Emerging evidence in adult hemangiomas; may be used as primary or adjunctive therapy",
]);

// SLIDE 20 — Comparison Table
tableSlide(
  "RRP vs. Laryngeal Hemangioma: Comparison at a Glance",
  ["Feature", "RRP", "Laryngeal Hemangioma"],
  [
    ["Etiology", "HPV (types 6, 11 most common)", "Vascular tumor – hematopoietic progenitors"],
    ["Age peak", "Juvenile (2–4 yr) & Adult (20–40 yr)", "Subglottic: <6 months; Adult: any age"],
    ["Sex predilection", "Equal (M=F)", "Female 2:1 (subglottic type)"],
    ["Site", "Glottis (true vocal folds) most common", "Subglottis (pediatric); Supraglottis (adult)"],
    ["Symptom onset", "Progressive hoarseness, stridor", "Biphasic stridor at 6 weeks (pediatric); Hoarseness (adult)"],
    ["Natural history", "Recurrent; no spontaneous cure", "Involution by 18 mo–2 yr (pediatric); persistent (adult)"],
    ["Diagnosis", "Flexible laryngoscopy + biopsy; NBI", "Rigid bronchoscopy (no pre-intubation); MRI"],
    ["First-line Rx", "Surgical debulking (CO₂/KTP/Microdebrider)", "Propranolol (pediatric); Conservative (adult)"],
    ["Key adjuvant", "Cidofovir / Bevacizumab / HPV vaccine", "Corticosteroids; CO₂ laser (pediatric)"],
    ["Malignant potential", "Low (<1%); higher HPV 16/18", "Extremely rare"],
  ],
  { colW: [2.8, 4.75, 4.75], accent: C.accentAlt }
);

// SLIDE 21 — Key Takeaways
contentSlide("Key Takeaways for Specialist Practice", [
  "RRP is the most common benign laryngeal neoplasm; HPV-11 signals aggressive behavior and greater tracheopulmonary risk",
  "No cure exists for RRP — serial surgical debulking + adjuvant therapy (cidofovir, bevacizumab, HPV vaccine) remains the standard",
  "Staged removal at the anterior commissure is mandatory to prevent laryngeal web formation",
  "Avoid tracheotomy in RRP whenever possible — it seeds disease and predicts worse outcomes",
  "Subglottic hemangioma: First-line is systemic propranolol; avoid biopsy at initial endoscopy; rule out PHACES",
  "Adult laryngeal hemangioma: Cavernous type — conservative first; CO₂ laser is NOT ideal due to vessel caliber; KTP/Nd:YAG preferred if laser needed",
  "NBI endoscopy is a valuable adjunct in RRP to detect subtle 'carpet variant' disease misdiagnosed as reflux laryngitis",
  "HPV-16/18 in papillomatosis mandates closer surveillance for malignant transformation",
  "GERD treatment improves RRP outcomes — evaluate and treat reflux in all RRP patients",
]);

// SLIDE 22 — References
contentSlide("Key References", [
  "Cummings Otolaryngology: Head & Neck Surgery, 7th Ed. — Chapters 60 & 208 (RRP); Chapter 206 (Pediatric Larynx)",
  "K.J. Lee's Essential Otolaryngology, 11th Ed. — Subglottic Hemangioma (pp. 1028–1029)",
  "Scott-Brown's Otorhinolaryngology Head & Neck Surgery, Vol 1 & 2 — Papilloma & Laser Surgery",
  "Robbins & Cotran: Pathologic Basis of Disease, 10th Ed. — Squamous Papilloma & Papillomatosis of Larynx",
  "Derkay CS, et al. Staging severity of recurrent respiratory papillomatosis. ASPRH Staging System",
  "Hoeve LJ, et al. Treatment of infantile haemangiomas. Eur J Pediatr Surg 2010",
  "Leaute-Labreze C, et al. Propranolol for severe infantile hemangiomas. NEJM 2008;358:2649",
  "Zur KB, et al. Primary bevacizumab therapy for aggressive juvenile RRP. Int J Pediatr Otorhinolaryngol 2015",
  "Derkay CS & Wiatrak B. Recurrent respiratory papillomatosis: a review. Laryngoscope 2008;118:1236–47",
]);

// ══════════════════════════════════════════════════
// WRITE FILE
// ══════════════════════════════════════════════════
pres.writeFile({ fileName: "/home/daytona/workspace/larynx-ppt/RRP_Hemangioma_Larynx.pptx" })
  .then(() => console.log("✅ Presentation created successfully."))
  .catch(e => { console.error("❌ Error:", e); process.exit(1); });
Editing File

~/larynx-ppt/create_ppt.js

Successfully replaced 1 instance(s) of the string in '/home/daytona/workspace/larynx-ppt/create_ppt.js'
The file already exists — I need to replace its full content. Let me read the first line and do a full replacement:
Running Command

cat > /home/daytona/workspace/larynx-ppt/create_ppt.js << 'ENDOFSCRIPT' const pptxgen = require("pptxgenjs"); const pres = new pptxgen(); pres.layout = "LAYOUT_WIDE"; pres.title = "Benign Laryngeal Tumors: RRP & Hemangioma"; const C = { darkBg: "0D1B2A", midBg: "1B3A52", accent: "E8A838", accentAlt: "4ABFD4", white: "FFFFFF", lightGray: "E8EEF4", bodyText: "1E2D3D", subText: "4A6880", red: "D94F3D", }; function addTitleSlide(title, subtitle) { const s = pres.addSlide(); s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 13.3, h: 7.5, fill: { color: C.darkBg } }); s.addShape(pres.ShapeType.rect, { x: 0, y: 5.8, w: 13.3, h: 0.12, fill: { color: C.accent } }); s.addShape(pres.ShapeType.ellipse, { x: 10.0, y: -1.2, w: 5, h: 5, fill: { color: C.midBg }, line: { color: C.midBg } }); s.addText(title, { x: 0.8, y: 1.8, w: 11.7, h: 1.8, fontSize: 40, bold: true, color: C.white, align: "center", valign: "middle", fontFace: "Calibri" }); s.addText(subtitle, { x: 0.8, y: 3.7, w: 11.7, h: 0.9, fontSize: 20, color: C.accent, align: "center", fontFace: "Calibri" }); s.addText("For Specialist Clinicians | Otolaryngology – Head & Neck Surgery", { x: 0.8, y: 6.05, w: 11.7, h: 0.5, fontSize: 13, color: "AABCCC", align: "center", fontFace: "Calibri" }); } function sectionDivider(title, sub) { const s = pres.addSlide(); s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 13.3, h: 7.5, fill: { color: C.midBg } }); s.addShape(pres.ShapeType.rect, { x: 0, y: 3.5, w: 0.3, h: 2.0, fill: { color: C.accent } }); s.addText(title, { x: 0.6, y: 2.5, w: 12.2, h: 1.3, fontSize: 42, bold: true, color: C.white, fontFace: "Calibri", valign: "middle" }); if (sub) s.addText(sub, { x: 0.6, y: 4.1, w: 12.2, h: 0.8, fontSize: 20, color: C.accentAlt, fontFace: "Calibri" }); } function contentSlide(heading, bullets, opts = {}) { const s = pres.addSlide(); const ac = opts.accent || C.accent; s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 13.3, h: 7.5, fill: { color: C.lightGray } }); s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 0.22, h: 7.5, fill: { color: ac } }); s.addShape(pres.ShapeType.rect, { x: 0.22, y: 0, w: 13.08, h: 1.05, fill: { color: C.darkBg } }); s.addText(heading, { x: 0.45, y: 0.08, w: 12.6, h: 0.85, fontSize: 22, bold: true, color: C.white, fontFace: "Calibri", valign: "middle" }); const items = bullets.map((b, i) => { if (typeof b === "string") { return { text: b, options: { bullet: { type: "bullet" }, breakLine: i < bullets.length - 1, fontSize: 17, color: C.bodyText, fontFace: "Calibri" } }; } return { text: b.text, options: { bullet: { type: "bullet", indent: 35 }, breakLine: i < bullets.length - 1, fontSize: 15, color: C.subText, fontFace: "Calibri" } }; }); s.addText(items, { x: 0.45, y: 1.15, w: 12.4, h: 6.1, valign: "top", margin: [0.1, 0.2, 0.1, 0.2], lineSpacingMultiple: 1.28 }); } function twoColSlide(heading, leftTitle, leftBullets, rightTitle, rightBullets, opts = {}) { const s = pres.addSlide(); const ac = opts.accent || C.accent; s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 13.3, h: 7.5, fill: { color: C.lightGray } }); s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 0.22, h: 7.5, fill: { color: ac } }); s.addShape(pres.ShapeType.rect, { x: 0.22, y: 0, w: 13.08, h: 1.05, fill: { color: C.darkBg } }); s.addText(heading, { x: 0.45, y: 0.08, w: 12.6, h: 0.85, fontSize: 22, bold: true, color: C.white, fontFace: "Calibri", valign: "middle" }); s.addShape(pres.ShapeType.rect, { x: 0.35, y: 1.15, w: 6.1, h: 0.45, fill: { color: ac } }); s.addText(leftTitle, { x: 0.35, y: 1.15, w: 6.1, h: 0.45, fontSize: 14, bold: true, color: C.white, fontFace: "Calibri", align: "center", valign: "middle" }); const lItems = leftBullets.map((b, i) => ({ text: b, options: { bullet: { type: "bullet" }, breakLine: i < leftBullets.length - 1, fontSize: 15, color: C.bodyText, fontFace: "Calibri" } })); s.addText(lItems, { x: 0.35, y: 1.65, w: 6.1, h: 5.6, valign: "top", lineSpacingMultiple: 1.25 }); s.addShape(pres.ShapeType.rect, { x: 6.85, y: 1.15, w: 6.1, h: 0.45, fill: { color: C.accentAlt } }); s.addText(rightTitle, { x: 6.85, y: 1.15, w: 6.1, h: 0.45, fontSize: 14, bold: true, color: C.white, fontFace: "Calibri", align: "center", valign: "middle" }); const rItems = rightBullets.map((b, i) => ({ text: b, options: { bullet: { type: "bullet" }, breakLine: i < rightBullets.length - 1, fontSize: 15, color: C.bodyText, fontFace: "Calibri" } })); s.addText(rItems, { x: 6.85, y: 1.65, w: 6.1, h: 5.6, valign: "top", lineSpacingMultiple: 1.25 }); } function tableSlide(heading, headers, rows, opts = {}) { const s = pres.addSlide(); const ac = opts.accent || C.accent; s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 13.3, h: 7.5, fill: { color: C.lightGray } }); s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 0.22, h: 7.5, fill: { color: ac } }); s.addShape(pres.ShapeType.rect, { x: 0.22, y: 0, w: 13.08, h: 1.05, fill: { color: C.darkBg } }); s.addText(heading, { x: 0.45, y: 0.08, w: 12.6, h: 0.85, fontSize: 22, bold: true, color: C.white, fontFace: "Calibri", valign: "middle" }); const tableRows = [ headers.map(h => ({ text: h, options: { bold: true, color: C.white, fill: { color: C.midBg }, fontSize: 13, fontFace: "Calibri", align: "center" } })), ...rows.map((row, ri) => row.map(cell => ({ text: cell, options: { fontSize: 12, color: C.bodyText, fontFace: "Calibri", fill: { color: ri % 2 === 0 ? "FFFFFF" : "EAF2F8" } } }))) ]; s.addTable(tableRows, { x: 0.35, y: 1.2, w: 12.6, colW: opts.colW, border: { color: "C0D0DC", pt: 0.5 } }); } // ─── SLIDES ──────────────────────────────────────────────────────────────── // 1: Title addTitleSlide("Benign Tumors of the Larynx", "Recurrent Respiratory Papillomatosis · Hemangioma of the Larynx"); // 2: Outline contentSlide("Presentation Outline", [ "PART I — Recurrent Respiratory Papillomatosis (RRP)", { text: "Definition, Epidemiology & Etiology", sub: true }, { text: "Pathology & HPV Subtypes", sub: true }, { text: "Clinical Features & Staging (Derkay Score)", sub: true }, { text: "Diagnosis", sub: true }, { text: "Surgical & Adjuvant Management", sub: true }, { text: "Complications & Prognosis", sub: true }, "PART II — Hemangioma of the Larynx", { text: "Definition, Types & Epidemiology", sub: true }, { text: "Pathogenesis & Molecular Biology", sub: true }, { text: "Clinical Features & Diagnosis", sub: true }, { text: "Management: Pediatric & Adult", sub: true }, "Comparison Table & Key Takeaways", ]); // 3: Section divider RRP sectionDivider("PART I", "Recurrent Respiratory Papillomatosis (RRP)"); // 4: RRP Definition & Epidemiology contentSlide("RRP: Definition & Epidemiology", [ "Most common benign laryngeal neoplasm: 84% of all benign laryngeal tumors (Jones et al.)", "Definition: Recurrent exophytic squamous papillomas of the aerodigestive tract caused by Human Papillomavirus (HPV)", "Two clinical forms:", { text: "Juvenile-onset RRP (JoRRP): First two decades of life; more aggressive course", sub: true }, { text: "Adult-onset RRP (AoRRP): After 3rd decade; generally less frequent recurrence", sub: true }, "Incidence: ~4.3 per 100,000 children; ~1.8 per 100,000 adults", "Predominant sites: Larynx (glottis most common), trachea, bronchi; pulmonary parenchyma involvement rare but severe", "Juvenile peak age: 2–4 years; Adult peak: 20–40 years", "Solitary papilloma (<1% of pulmonary neoplasms) vs. diffuse papillomatosis (laryngotracheal spread)", ]); // 5: Etiology & Transmission contentSlide("RRP: Etiology & Transmission", [ "Causative agent: HPV — subtypes 6 & 11 account for the majority of cases", "HPV subtype significance:", { text: "HPV-6: Less aggressive; lower recurrence rate", sub: true }, { text: "HPV-11: More aggressive; higher surgical frequency; greater risk of tracheopulmonary spread", sub: true }, { text: "HPV-16 & 18: Higher risk of malignant transformation — vigilant surveillance required", sub: true }, "Juvenile-onset transmission: Vertical — maternal condylomata acuminata during vaginal delivery", { text: "~1 in 400 at-risk children develop RRP; ~7 per 1,000 births to genitally-infected mothers", sub: true }, { text: "Cesarean section: NOT definitively protective against RRP — role remains controversial", sub: true }, "Adult-onset transmission: Presumed oral-genital contact", "Cofactors: GERD (acid disrupts mucosal barrier), immunosuppression, estrogen (↑HPV gene expression; I3C reduces HPV-induced proliferation by ~75% in mice)", ]); // 6: Pathology contentSlide("RRP: Pathology", [ "Gross: Exophytic, warty / grape-like polypoid masses arising most commonly from free edge of true vocal folds", "Histology (H&E):", { text: "Fibrovascular cores covered by hyperplastic squamous epithelium", sub: true }, { text: "Koilocytic change — perinuclear halo with nuclear atypia / wrinkling — pathognomonic of HPV", sub: true }, { text: "Contact endoscopy (150x): Koilocytes clearly identifiable in papilloma of larynx", sub: true }, "Endoscopic appearance:", { text: "White light: Exophytic, pale-pink lesions; subtle stippled vascularity (often misdiagnosed as reflux laryngitis)", sub: true }, { text: "Narrow-Band Imaging (NBI): 'Carpet variant' — prominent stippled vascularity; enables earlier detection of subtle disease", sub: true }, "HPV subtyping by PCR: Guides prognosis and surveillance intensity", "Malignant transformation: Rare overall (<1%); risk elevated with HPV-16/18, radiation history, immunosuppression", ]); // 7: Clinical Features contentSlide("RRP: Clinical Features", [ "Cardinal symptom: Hoarseness (most common; may be the only early symptom)", "Progression: Gradual dysphonia → progressive → aphonia if untreated", "Voice character localizes the lesion:", { text: "Aphonia / breathy / high-pitched cracking voice → glottic lesion", sub: true }, { text: "Low-pitched, coarse, fluttering voice → subglottic lesion", sub: true }, "Stridor: High-pitched inspiratory or biphasic (as airway obstruction worsens)", "Advanced: Tachypnea, accessory muscle use, neck hyperextension, cyanosis", "Other features: Chronic cough, recurrent pneumonia (pulmonary spread), failure to thrive, dysphagia", "Key differential clues:", { text: "No positional change in stridor (vs. laryngomalacia, vascular ring)", sub: true }, { text: "No feeding difficulties / allergic rhinitis / vocal abuse history (vs. nodules, GERD)", sub: true }, "Red flags: Respiratory distress, tachycardia, falling SpO₂ → urgent airway evaluation", ]); // 8: Staging contentSlide("RRP: Staging — Derkay Clinical Scoring System", [ "Most widely adopted staging tool (American Society of Pediatric Otolaryngology — ASPRH System)", "Anatomical subsites scored (0–3 for extent at each site):", { text: "0 = no disease; 1 = surface lesion; 2 = raised lesion; 3 = bulky lesion", sub: true }, { text: "Sites include: epiglottis, AE folds, arytenoids, false cords, true vocal cords, subglottis, trachea, bronchi, nasal cavity, nasopharynx, hypopharynx, esophagus", sub: true }, "Functional scores added:", { text: "Voice: 0 (normal) → 3 (aphonic)", sub: true }, { text: "Stridor: 0 (absent) → 3 (at rest)", sub: true }, { text: "Urgency of last surgery: 1 (elective) → 4 (emergency)", sub: true }, "Aggressive disease criteria:", { text: ">=4 surgical procedures per year", sub: true }, { text: "Tracheal or pulmonary involvement", sub: true }, { text: "Tracheotomy dependence", sub: true }, "Score used to monitor treatment response and disease progression over serial procedures", ]); // 9: Diagnosis contentSlide("RRP: Diagnosis", [ "Best preoperative tool: Flexible fiberoptic nasopharyngoscopy (office-based)", { text: "Sequential inspection: pharynx → hypopharynx → larynx → subglottis", sub: true }, { text: "Scopes as small as 1.8 mm available for neonates; video monitor recording for documentation", sub: true }, "NBI endoscopy: Stippled 'carpet variant' vascularity — earlier detection than white-light; prevents misdiagnosis as reflux laryngitis", "Direct laryngoscopy under GA: Required when outpatient exam is inadequate; also the operative approach", "Biopsy: Gold standard for histological confirmation; sent for HPV subtyping by PCR", "Contact endoscopy (150x): Demonstrates koilocytes — confirms HPV-induced epithelial change", "CT chest / neck: Indicated if HPV-11, 16, or 18 and any suspicion of tracheopulmonary extension", "Differential diagnosis to exclude:", { text: "Vocal fold nodules, vocal fold paralysis, subglottic stenosis, subglottic hemangioma, laryngeal carcinoma", sub: true }, ]); // 10: Surgical Management contentSlide("RRP: Surgical Management", [ "No cure — standard of care is serial surgical debulking", "Goals: Complete papilloma removal; preserve normal laryngeal structures; safe patent airway; optimal voice; maximize inter-procedure interval", "Critical principle: Accept residual disease rather than damage normal tissue — excessive scarring worsens outcomes", "Staged removal at anterior commissure: Prevents simultaneous raw surfaces → web / stenosis formation", "CO₂ Laser (10,600 nm): Most commonly used; 'no-touch' vaporization technique; precise; minimizes bleeding; couples to operating microscope; 250 µm spot size achievable", "KTP Laser (532 nm): In-office awake unsedated technique — blanches and ablates; good for glottic disease", "Powered Microdebrider (RPMI): Excellent for bulky disease; less thermal injury than laser; popular in pediatric cases", "Tracheotomy: Last resort only — disseminates virus to tracheal mucosa; predicts worse prognosis; used only for impending airway collapse", ]); // 11: Adjuvant Therapy twoColSlide( "RRP: Adjuvant Medical Therapies", "Primary Adjuvants", [ "Intralesional Cidofovir: Most studied adjuvant; CMV antiviral; injected at time of surgical debulking; reduces recurrence burden", "Bevacizumab (anti-VEGF): IV or intralesional; off-label; significant promise in aggressive/refractory RRP; reduces surgical frequency", "HPV Vaccine (Gardasil 9): Prophylactic vaccine; adjunctive role in active RRP — partial/complete responses reported; recommended for all eligible patients", "Interferon-alfa: Inhibits viral replication; older agent; significant side effects; disease often rebounds on cessation", ], "Secondary / Emerging", [ "Indole-3-carbinol (I3C): Inhibits estrogen metabolism; 70% response rate overall; better in adults than children; open-label data only", "Antireflux therapy (PPI/H2-blocker): Reduces mucosal inflammation; associated with fewer laryngeal webs; high-risk RRP patients benefit most", "Cimetidine (H2-antagonist): Immunomodulatory properties; small case series evidence only", "Celecoxib (COX-2 inhibitor): Mechanistic rationale; multi-institutional RCT showed NO significant therapeutic advantage", "Mumps vaccine (intralesional): Open-label moderate success; not reproducible across centers", ], { accent: C.red } ); // 12: Complications & Prognosis contentSlide("RRP: Complications & Prognosis", [ "Tracheopulmonary extension: ~1–5% of cases; HPV-11 highest risk; tracheotomy history + multiple procedures predispose", { text: "Presents as recurrent pneumonia, atelectasis, pulmonary nodules — carries significant mortality", sub: true }, "Tracheotomy dependence: High procedure count → increased tracheal seeding; strongly predicts worse prognosis", "Laryngeal stenosis / web formation: Repeated surgery at anterior commissure; aggressive scarring; prevents by staged approach", "Malignant transformation: <1% overall; significantly higher with HPV-16/18 or radiation history; mandates surveillance biopsies", "Spontaneous remission: Reported in some juvenile cases at puberty — hormonal influence postulated", "Quality of life impact: Chronic dysphonia, repeated OR visits, school/work absence, anxiety — psychosocial support important", "Favorable prognostic factors: HPV-6 subtype, adult-onset, low Derkay score, no tracheal involvement, no prior tracheotomy", "Poor prognostic factors: HPV-11, early juvenile onset, tracheotomy, long disease duration, immunosuppression", ]); // 13: Section divider Hemangioma sectionDivider("PART II", "Hemangioma of the Larynx"); // 14: Definition & Types contentSlide("Laryngeal Hemangioma: Definition & Types", [ "Definition: Benign vascular tumor arising from hematopoietic progenitor cells within the larynx", "Classified by age of onset and morphology:", { text: "Subglottic / Infantile hemangioma: Most common neoplasm of the pediatric airway; capillary type; undergoes involution", sub: true }, { text: "Adult laryngeal hemangioma: Usually supraglottic or at/above vocal fold level; cavernous type; does not involute", sub: true }, "Morphological types:", { text: "Capillary hemangioma: Small-caliber vessels; predominant pediatric type; proliferative then involuting", sub: true }, { text: "Cavernous hemangioma: Large-diameter vascular spaces; adult predominance; bluish discolored mass under thin mucosa", sub: true }, "Sex predilection: Female : Male = 2:1 for subglottic / infantile type", "Association: 60% of infants with hemangiomata in 'beard distribution' (preauricular, chin, mandibular, lower lip, neck) have a subglottic lesion", ]); // 15: Pathogenesis contentSlide("Laryngeal Hemangioma: Pathogenesis & Natural History", [ "Origin: Hematopoietic progenitor cells (possibly of placental origin) or local tissue stem cells, following genetic alterations", "Key molecular mediators of growth:", { text: "MMP-9 (matrix metalloproteinase-9) — promotes angiogenesis and extracellular matrix remodeling", sub: true }, { text: "VEGF (Vascular Endothelial Growth Factor) — main driver of neovascularization", sub: true }, { text: "b-FGF (basic Fibroblast Growth Factor) — stimulates endothelial proliferation", sub: true }, { text: "TGF-β (Transforming Growth Factor-beta) — regulates cellular growth signals", sub: true }, "Natural history — Infantile / Subglottic (three phases):", { text: "Proliferative phase: Rapid growth; birth to ~12 months of age; peak symptom severity", sub: true }, { text: "Plateau phase: Stabilization at ~12 months", sub: true }, { text: "Involution phase: Spontaneous regression expected by 18 months to 2 years of age", sub: true }, "Adult hemangioma: No involution; slow progression over years; hemorrhage risk — spontaneous or intraoperative", ]); // 16: Clinical Features Two-column twoColSlide( "Laryngeal Hemangioma: Clinical Features", "Pediatric / Subglottic", [ "Biphasic stridor — onset at ~6 weeks of age (85% present by 6 months)", "Progressive respiratory distress during proliferative phase; worsening with crying", "Soft, compressible subglottic swelling — typically LEFT-sided", "60% with 'beard distribution' facial hemangiomas have subglottic lesion", "PHACES syndrome (screen all cases): Posterior fossa malformations, facial Hemangioma, Arterial lesions (head/neck), Cardiac anomalies (coarctation of aorta), Eye abnormalities, Sternal cleft", "Spontaneous involution expected by 18–24 months", ], "Adult Laryngeal", [ "Hoarseness — dominant presenting symptom", "Symptoms may have been present for many years (stable course)", "Respiratory distress: NOT a feature (unlike pediatric type)", "Bluish discolored supraglottic or vocal fold mass on laryngoscopy", "Hemoptysis: Spontaneous or — more commonly — surgical complication", "Dysphagia: Occurs with large supraglottic extension", "Significant hemorrhage risk if incautiously biopsied", ], { accent: C.accentAlt } ); // 17: Diagnosis contentSlide("Laryngeal Hemangioma: Diagnosis", [ "High kV AP neck X-ray (Pediatric):", { text: "Classic: Unilateral subglottic soft-tissue mass — usually LEFT lateral wall; asymmetric narrowing", sub: true }, { text: "Distinguishes from croup: Croup shows symmetric 'steeple sign' subglottic narrowing", sub: true }, "Rigid bronchoscopy (Pediatric — gold standard):", { text: "CRITICAL: Do NOT intubate before visualizing — lesion compressed by tube → missed diagnosis", sub: true }, { text: "Findings: Vascular blush on vocal cord; rounded compressible vascular mass in subglottis (usually left)", sub: true }, { text: "Biopsy NOT required if typical location + typical age — avoids hemorrhage risk", sub: true }, { text: "Rare mimicker: ALK-positive histiocytic lesion — consider if atypical features", sub: true }, "PHACES workup (if facial hemangiomas): Echocardiography, MRI brain + angiography, ophthalmology, thyroid function", "MRI with gadolinium: T2 hyperintense; delineates extent; useful for large, atypical, or extensive lesions", "Adult: Flexible laryngoscopy → bluish vascular supraglottic/glottic mass; cautious biopsy only if diagnosis uncertain", ]); // 18: Management Pediatric contentSlide("Laryngeal Hemangioma: Management — Pediatric", [ "FIRST-LINE: Systemic Propranolol (non-selective β-blocker) — standard of care since 2008", { text: "Mechanism: Immediate vasoconstriction; ↓ VEGF/bFGF (medium-term); ↑ apoptosis of endothelial cells (long-term)", sub: true }, { text: "Dose: 1–3 mg/kg/day orally; inpatient initiation if <8 weeks age (risk of apnea/hypoglycemia); monitor HR, BP, BGL", sub: true }, { text: "Response: Dramatic — visible shrinkage within weeks; continue until ~12–18 months (involution phase)", sub: true }, "Alternative: Nadolol — once-daily; some evidence of better CNS safety profile vs. propranolol", "If β-blockers contraindicated:", { text: "IV or intralesional corticosteroids — inhibit growth in proliferative phase", sub: true }, "Surgical (refractory / failed medical management):", { text: "CO₂ laser vaporization: Biopsy first, then vaporize; may require 2 procedures; superior to old modalities", sub: true }, { text: "Open surgical excision via laryngofissure: For large obstructing lesions", sub: true }, { text: "Alpha-interferon: Historical — NOT first-line due to neurotoxicity risk in infants", sub: true }, "Tracheotomy: Airway rescue only; plan for decannulation once involution complete; avoid prolonged tracheotomy", ]); // 19: Management Adult contentSlide("Laryngeal Hemangioma: Management — Adult", [ "Conservative management preferred — no spontaneous involution; many lesions stable for years", "Observation: Reasonable if asymptomatic, not enlarging, and not compromising voice/airway", "Indications for active intervention:", { text: "Progressive enlargement involving additional laryngeal subsites (Bridger et al. criteria)", sub: true }, { text: "Significant / progressive hoarseness", sub: true }, { text: "Recurrent hemoptysis", sub: true }, { text: "Airway compromise (rare)", sub: true }, "Corticosteroid therapy (systemic or intralesional): Reduces lesion size; used when surgery is not immediately appropriate", "Radiotherapy: Effective; reserved for inaccessible or recurrent lesions; modern use limited due to morbidity", "Laser surgery:", { text: "CO₂ laser NOT ideal for cavernous hemangioma — vessel diameter exceeds CO₂ coagulating capacity; risk of hemorrhage", sub: true }, { text: "KTP or Nd:YAG laser: Better penetration and coagulating ability for large-caliber vessels", sub: true }, "Open resection: For extensive lesions; laryngofissure approach; blood product availability essential", "Propranolol: Emerging evidence; may be used as primary or adjunctive therapy in adult hemangiomas", ]); // 20: Comparison Table tableSlide( "RRP vs. Laryngeal Hemangioma: Comparison at a Glance", ["Feature", "RRP", "Laryngeal Hemangioma"], [ ["Etiology", "HPV (subtypes 6 & 11 most common)", "Vascular tumor — hematopoietic progenitors/stem cells"], ["Age of peak", "Juvenile: 2–4 yr; Adult: 20–40 yr", "Subglottic: <6 months; Adult: any age"], ["Sex predilection", "Equal (M = F)", "Female 2:1 (subglottic / infantile)"], ["Dominant site", "Glottis — true vocal folds", "Subglottis (pediatric); Supraglottis (adult)"], ["Key symptom", "Hoarseness, biphasic stridor", "Biphasic stridor (pediatric); hoarseness (adult)"], ["Natural history", "Recurrent; no spontaneous resolution", "Involution by 18 mo–2 yr (pediatric only)"], ["Histology", "Squamous papilloma; koilocytes", "Capillary or cavernous vascular channels"], ["Gold standard Dx", "Flexible laryngoscopy + biopsy + PCR", "Rigid bronchoscopy (no pre-intubation); MRI"], ["First-line Rx", "CO₂/KTP laser or Microdebrider", "Propranolol (pediatric); Conservative (adult)"], ["Key adjuvant", "Cidofovir / Bevacizumab / HPV vaccine", "Corticosteroids; CO₂ laser (refractory pediatric)"], ["Malignant risk", "Low (<1%); higher HPV-16/18", "Extremely rare"], ["Avoid", "Tracheotomy (seeds disease)", "Biopsy without preparation; CO₂ for cavernous"], ], { colW: [2.6, 5.0, 5.0], accent: C.accentAlt } ); // 21: Key Takeaways contentSlide("Key Takeaways for Specialist Practice", [ "RRP is the most common benign laryngeal neoplasm — always consider in any patient with chronic progressive hoarseness", "HPV-11 predicts aggressive disease with tracheopulmonary risk; HPV-16/18 requires malignant transformation surveillance", "Serial surgical debulking remains the mainstay — no cure; goal is reducing burden and prolonging inter-procedure intervals", "Avoid tracheotomy in RRP wherever possible — it seeds the trachea and predicts worse prognosis", "Stage the anterior commissure — never remove bilateral disease simultaneously to prevent laryngeal web", "Subglottic hemangioma: Propranolol is the modern standard of care; do NOT intubate before visualizing at bronchoscopy; rule out PHACES syndrome", "Adult laryngeal hemangioma: Observe if stable; CO₂ laser is NOT ideal for cavernous type — use KTP/Nd:YAG for better coagulation", "NBI endoscopy is a high-yield tool for detecting subtle RRP ('carpet variant') missed on white-light examination", "GERD exacerbates RRP — evaluate and treat reflux in all RRP patients; antireflux therapy reduces laryngeal webs", "HPV vaccination (Gardasil 9) should be offered to RRP patients and their eligible family members", ]); // 22: References contentSlide("Key References", [ "Cummings Otolaryngology: Head & Neck Surgery, 7th Ed. — Chapters 60, 206 & 208", "K.J. Lee's Essential Otolaryngology, 11th Ed. — Subglottic Hemangioma, pp. 1028–1029", "Scott-Brown's Otorhinolaryngology Head & Neck Surgery, Vol 1 & 2 — Papilloma & Laser Management", "Robbins & Cotran: Pathologic Basis of Disease, 10th Ed. — Squamous Papilloma & Papillomatosis", "Fishman's Pulmonary Diseases and Disorders, 2-Vol Set — Solitary Papilloma/Papillomatosis", "Derkay CS & Wiatrak B. Recurrent respiratory papillomatosis: a review. Laryngoscope 2008;118:1236–47", "Leaute-Labreze C, et al. Propranolol for severe infantile hemangiomas. NEJM 2008;358:2649–51", "Zur KB, et al. Primary bevacizumab therapy for aggressive juvenile RRP. Int J Pediatr Otorhinolaryngol 2015", "Bridger GP, et al. Hemangioma of the adult larynx. Arch Otolaryngol Head Neck Surg 1970;92:493", "Derkay CS. Task force on recurrent respiratory papillomas: a preliminary report. Arch Otolaryngol HNS 1995", ]); pres.writeFile({ fileName: "/home/daytona/workspace/larynx-ppt/RRP_Hemangioma_Larynx.pptx" }) .then(() => console.log("SUCCESS: Presentation created.")) .catch(e => { console.error("ERROR:", e); process.exit(1); }); ENDOFSCRIPT echo "Script written OK"

Running Command

cd /home/daytona/workspace/larynx-ppt && node create_ppt.js

Running Command

ls -lh /home/daytona/workspace/larynx-ppt/RRP_Hemangioma_Larynx.pptx

Your presentation is ready. Download it here:

RRP Hemangioma Larynx

Presentation · PPTX


What's inside — 22 slides, wide (13.3" × 7.5") format, navy/gold/teal professional theme:
SlideContent
1Title slide
2Presentation outline
3Section divider — PART I: RRP
4RRP — Definition & Epidemiology (incidence, age peaks, sites)
5RRP — Etiology & Transmission (HPV subtypes 6, 11, 16, 18; vertical vs. oral transmission; cofactors)
6RRP — Pathology (gross, histology, koilocytes, NBI carpet variant)
7RRP — Clinical Features (hoarseness, stridor, voice localization, red flags)
8RRP — Staging: Derkay Clinical Scoring System (subsites, functional scores, aggressive disease criteria)
9RRP — Diagnosis (nasopharyngoscopy, NBI, GA laryngoscopy, PCR subtyping, DDx)
10RRP — Surgical Management (CO₂ laser, KTP, microdebrider, staged commissure approach, tracheotomy avoidance)
11RRP — Adjuvant Therapies (two-column: cidofovir, bevacizumab, HPV vaccine / interferon, I3C, antireflux, celecoxib)
12RRP — Complications & Prognosis (tracheopulmonary spread, stenosis, malignant transformation, QoL)
13Section divider — PART II: Hemangioma
14Hemangioma — Definition, Types & Epidemiology (capillary vs. cavernous; beard distribution; F:M ratio)
15Hemangioma — Pathogenesis & Natural History (MMP-9, VEGF, bFGF, TGF-β; three phases of involution)
16Hemangioma — Clinical Features (two-column: pediatric/subglottic vs. adult; PHACES syndrome)
17Hemangioma — Diagnosis (high-kV X-ray, rigid bronchoscopy rules, MRI, PHACES workup)
18Hemangioma — Management: Pediatric (propranolol mechanism + dosing; nadolol; CO₂ laser; steroids)
19Hemangioma — Management: Adult (observation criteria; corticosteroids; CO₂ vs. KTP/Nd:YAG laser; open resection)
20Comparison table: RRP vs. Hemangioma (11-row head-to-head)
21Key Takeaways for Specialist Practice (10 high-yield clinical pearls)
22Key References (Cummings, K.J. Lee, Scott-Brown, Robbins, landmark trials)
This is a shared conversation. Sign in to Orris to start your own chat.