(function () { const RegistryApp = (window.RegistryApp = window.RegistryApp || {}); const { h } = RegistryApp.runtime; const store = RegistryApp.store; RegistryApp.componentFns = RegistryApp.componentFns || {}; RegistryApp.componentFns.HomeView = function HomeView() { return h( "div", { className: "content" }, h( "div", { className: "card" }, h("h2", null, "Create Organization"), h( "p", null, "Establish your Task Force, PMC, or Milsim unit with the Global Organization Network. Receive your official unit designator and TO&E authorization instantly.", ), h( "button", { onClick: () => store.setView("create") }, "Register", ), ), h( "div", { className: "card" }, h("h2", null, "Organization Portal"), h( "p", null, "Access your unit dashboard to modify rosters, adjust active deployments, and submit after-action reports through the secure field uplink.", ), h("button", { onClick: () => store.setView("login") }, "Login"), ), h( "div", { className: "card", style: { gridColumn: "span 2" } }, h("h2", null, "Organization Portal Preview"), h( "p", null, "Review the refactor direction for a player organization portal with fleet, assets, treasury, reputation, roster management, and reserved space for future modules.", ), h( "button", { onClick: () => store.setView("portal"), }, "Open Portal Preview", ), ), ); }; })();