var isIE = /*@cc_on!@*/false || !!document['documentMode'];

if (isIE) {
  var unsupportedBrowser = '<div class="unsupported-browser">';
  unsupportedBrowser += '<p>Internet Explorer is too outdated for the modern web technologies we have built into our application.</p>';
  unsupportedBrowser += '<p>Please use one of these supported web browsers:</p>';
  unsupportedBrowser += '<ul><li><a href="https://www.google.com/chrome/">Google Chrome</a></li>';
  unsupportedBrowser += '<li><a href="https://www.microsoft.com/en-us/windows/microsoft-edge">Microsoft Edge</a></li>';
  unsupportedBrowser += '<li><a href="https://www.mozilla.org">Mozilla Firefox</a></li></ul>';
  unsupportedBrowser += '</div>';

  var maskEl = document.createElement('div')
  maskEl.className = 'unsupported-browser-container';
  maskEl.innerHTML = unsupportedBrowser;
  var bodyEl = document.querySelector('body');
  bodyEl.appendChild(maskEl);
}
