import { r as registerInstance, B as Build, h } from './index-33e43734.js';
import { g as getHandlebarsHelpers } from './getHandlebarsHelpers-1816c9c1.js';
import { s as state } from './store-163687da.js';
import './_commonjsHelpers-cca61ea8.js';
import './logic-2eecfe1e.js';
import './index-964da72a.js';
import './index-91eb4513.js';
import './getCache-721d3aa5.js';

const appHomeCss = "";

let AppHome = class {
  constructor(hostRef) {
    registerInstance(this, hostRef);
  }
  componentDidLoad() {
    if (!(Build === null || Build === void 0 ? void 0 : Build.isBrowser))
      return;
  }
  render() {
    var _a;
    return [
      h("ion-content", { class: "ion-padding" }, (Build === null || Build === void 0 ? void 0 : Build.isBrowser) && (h("fireenjin-render-template", { templateId: "MSAQz1dJEsPQYXMOwGe5", partials: ((_a = state === null || state === void 0 ? void 0 : state.templates) === null || _a === void 0 ? void 0 : _a.length)
          ? state.templates
            .filter((template) => !!(template === null || template === void 0 ? void 0 : template.partial))
            .map((partial) => ({
            html: (partial === null || partial === void 0 ? void 0 : partial.html) || "",
            id: (partial === null || partial === void 0 ? void 0 : partial.id) || null,
          }))
          : [], helpers: getHandlebarsHelpers(), data: {
          user: state === null || state === void 0 ? void 0 : state.profile,
        } }))),
      h("floodteam-navigation-footer", null),
    ];
  }
};
AppHome.style = appHomeCss;

export { AppHome as app_home };

//# sourceMappingURL=app-home.entry.js.map