var _templateObject;

function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }

import React from 'react';
import { BrowserRouter as Router } from 'react-router-dom';
import ReactDOM from 'react-dom';
import { createGlobalStyle } from 'styled-components';
import { StandaloneApiExplorer } from './StandaloneApiExplorer';
var BodyReset = createGlobalStyle(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n  body {\n    margin: 0;\n  }\n"])));
var basename = window.LOOKER_DEV_PORTAL ? window.LOOKER_DEV_PORTAL.basename : undefined;
var versionsUrl = new URL('versions.json', window.location.origin).toString();
ReactDOM.render(React.createElement(Router, {
  basename: basename
}, React.createElement(StandaloneApiExplorer, {
  versionsUrl: versionsUrl,
  headless: !!basename
}), React.createElement(BodyReset, null)), document.getElementById('container'));
//# sourceMappingURL=App.js.map