plugin_store_html = (items, req) => {
  return {
    above: [
      {
        type: "breadcrumbs",
        crumbs: [
          { text: req.__("Settings"), href: "/settings" },
          { text: req.__("Module store") },
        ],
      },
      {
        type: "card",
        class: "mt-0",
        contents: div(
          { class: "d-flex justify-content-between" },
          storeNavPills(req),
          div(
            search_bar("q", req.query.q || "", {
              placeHolder: req.__("Search for..."),
              stateField: "q",
            })
          ),
          div(store_actions_dropdown(req))
        ),
      },
      {
        besides: items.map(store_item_html(req)),
        gy: 3,
        widths: items.map(() => 4),
      },
    ],
  };
}
@param {object[]} items
@param {object} req
@returns {object}