ocation.href
  }
}

// set up session
var session = getCookie('session');

window.STM_TRANSPORT = window.STM_TRANSPORT || []
window.STM_PRELOADED_SOCKET = window.STM_PRELOADED_SOCKET || new WebSocket("wss://socket.streamable.com");
function userInteractionRequired() {
  var iOS = /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream;
  var chrome   = navigator.userAgent.indexOf('Chrome') > -1;
  var safari   = navigator.userAgent.indexOf("Safari") > -1;
  if ((chrome) && (safari)) safari = false;