"use strict";

var _react = _interopRequireDefault(require("react"));

var _reactRouterDom = require("react-router-dom");

var _reactDom = _interopRequireDefault(require("react-dom"));

var _styledComponents = require("styled-components");

var _StandaloneApiExplorer = require("./StandaloneApiExplorer");

var _templateObject;

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

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

var BodyReset = (0, _styledComponents.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.default.render(_react.default.createElement(_reactRouterDom.BrowserRouter, {
  basename: basename
}, _react.default.createElement(_StandaloneApiExplorer.StandaloneApiExplorer, {
  versionsUrl: versionsUrl,
  headless: !!basename
}), _react.default.createElement(BodyReset, null)), document.getElementById('container'));
//# sourceMappingURL=App.js.map