import { FeUtils as a } from "./accelbyte-widgets45.mjs";
import e from "react";
import { Trans as r } from "react-i18next";
import c from "./accelbyte-widgets499.mjs";
const n = ({ agreement: t }) => /* @__PURE__ */ e.createElement("tr", null, /* @__PURE__ */ e.createElement("td", null, t.policyName), /* @__PURE__ */ e.createElement("td", null, t.displayVersion), /* @__PURE__ */ e.createElement("td", null, a.formatDate(t.signingDate, { type: "dynamic", format: "LL" }))), d = ({ agreements: t }) => /* @__PURE__ */ e.createElement("table", { className: c.privacyRecordsTable }, /* @__PURE__ */ e.createElement("thead", null, /* @__PURE__ */ e.createElement("tr", null, /* @__PURE__ */ e.createElement("th", null, /* @__PURE__ */ e.createElement(r, { i18nKey: "PrivacyRecordsPage.PrivacyRecords.document" }, "Document")), /* @__PURE__ */ e.createElement("th", null, /* @__PURE__ */ e.createElement(r, { i18nKey: "PrivacyRecordsPage.PrivacyRecords.version" }, "Version")), /* @__PURE__ */ e.createElement("th", null, /* @__PURE__ */ e.createElement(r, { i18nKey: "PrivacyRecordsPage.PrivacyRecords.date" }, "Date")))), /* @__PURE__ */ e.createElement("tbody", null, t.map((l) => /* @__PURE__ */ e.createElement(n, { key: l.id, agreement: l }))));
export {
  d as PrivacyRecords
};
