/* BEGIN USAGE */ /** * — reusable web component for HTML decks. * * Handles: * (a) speaker notes — reads * * The :not(:defined) rule prevents a flash of the first slide at its * authored styles before this script runs and attaches the shadow root. * * Slides are the direct element children of . Each slide is * automatically tagged with: * - data-screen-label="NN Label" (1-indexed, for comment flow) * - data-om-validate="no_overflowing_text,no_overlapping_text,slide_sized_text" * * Speaker notes stay in sync because the component posts {slideIndexChanged: N} * to the parent — just include the #speaker-notes script tag if asked for notes. * * Authoring guidance: * - Write slide bodies as static HTML inside , with sizing via * CSS custom properties in a