
  }
  // Send to the backend
  location.href = 'byond://?src=' + window.__ref__
    + '&action=tgui:log&fatal=1'
    + '&log=' + encodeURIComponent(stack);
  // Short-circuit further updates
  window.__updateQueue__ = [];
  window.update = window.initialize = function () {};
  // Prevent default action
  return true;
};
// Early initialization
window.__updateQueue__ = [];
window.update = window.initialize = function (stateJson) {
  window.__updateQueue__.push(stateJson);
};
location.href = 'byond://?src=' 