// presenter-entry.mjs — the presenting windows' bundle // (internal/slides/static/presenter..js), wiring and nothing // else. The presenter window (templates/presenter.html) and the slide // window of a session with a position (templates/present.html, for // whoever may drive it) both load it; each page's root says which it is // and where its talk is (data-talk). import { mountPresenterWindow } from './presenter-window.mjs' import { mountSlideWindow } from './slide-window.mjs' const presenter = document.querySelector('[presenter][data-talk]') const surface = document.querySelector('[slides-surface][data-talk]') if (presenter) mountPresenterWindow(presenter) else if (surface) mountSlideWindow(surface)