"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports["default"] = getConfigFromDOM;

function getConfigFromDOM() {
  var configElement = document.getElementById('_dash-config');
  return JSON.parse(configElement !== null && configElement !== void 0 && configElement.textContent ? configElement === null || configElement === void 0 ? void 0 : configElement.textContent : '{}');
}