'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

const index = require('./index-a48c06e5.js');
require('./index-a47a21ac.js');
const runStore = require('./runStore-c13c5254.js');

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

exports.corejam_init = Init;
