// Boot: wait for all babel modules to define globals, then render.
(function(){
  function ready() {
    return typeof SiteApp !== 'undefined' && typeof CurrencyProvider !== 'undefined';
  }
  function tick() {
    if (ready()) {
      ReactDOM.createRoot(document.getElementById('root')).render(<SiteApp/>);
    } else {
      requestAnimationFrame(tick);
    }
  }
  tick();
})();
