'use strict';

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

const index = require('./index-22fd9091.js');
require('./index-a20d8492.js');
const runStore = require('./runStore-bfd81991.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;
