import { r as registerInstance, h, H as Host } from './index-6334d911.js';
import './index-70f14ac5.js';
import { b as runSet } from './runStore-777bbf80.js';

const Init = class {
  constructor(hostRef) {
    registerInstance(this, hostRef);
    this.router = null;
  }
  async componentWillLoad() {
    if (!this.router)
      return;
    runSet("router", this.router);
  }
  newRouter(newval) {
    runSet("router", newval);
  }
  render() {
    return (h(Host, null, h("slot", null)));
  }
  static get watchers() { return {
    "router": ["newRouter"]
  }; }
};

export { Init as corejam_init };
