(function () { const OrgPortal = (window.OrgPortal = window.OrgPortal || {}); const { h } = OrgPortal.runtime; const { portalData } = OrgPortal.data; const actions = OrgPortal.actions; OrgPortal.componentFns = OrgPortal.componentFns || {}; OrgPortal.componentFns.AssetsCard = function AssetsCard() { const SimpleStat = OrgPortal.componentFns.SimpleStat; return h( "section", { className: "card org-panel org-scroll-panel org-span-7" }, h( "div", { className: "org-panel-head" }, h( "div", null, h("h2", { className: "org-panel-title" }, "Assets"), h( "p", { className: "org-panel-subtitle" }, "Inventory supplies and equipment with quantity totals.", ), ), ), h( "div", { className: "org-simple-list" }, ...portalData.assets.map((asset) => h( "article", { className: "org-simple-row" }, h( "strong", { className: "org-simple-name" }, asset.name, ), h( "div", { className: "org-simple-meta" }, SimpleStat( "Type", actions.formatAssetType(asset.type), ), SimpleStat("Quantity", asset.quantity), ), ), ), ), ); }; })();