import { r as registerInstance, h, a as getElement, H as Host } from './index-6334d911.js';

const CorejamDevLiveview = class {
  constructor(hostRef) {
    registerInstance(this, hostRef);
  }
  componentWillLoad() {
    const urlParams = new URLSearchParams(window.location.search);
    const markup = JSON.parse(urlParams.get("data")).content;
    this.markup = markup;
  }
  render() {
    return h(Host, { innerHTML: this.markup });
  }
  get component() { return getElement(this); }
};

export { CorejamDevLiveview as corejam_dev_liveview };
