import { jsxs as s, jsx as e } from "react/jsx-runtime";
import { CloseW700 as c } from "@material-symbols-svg/react-rounded/icons/close";
import { GraphicEqFillW700 as l } from "@material-symbols-svg/react-rounded/icons/graphic-eq";
import { useTypedTranslation as r } from "../localisation.js";
const n = ({ message: t }) => {
  const { t: a } = r();
  return /* @__PURE__ */ s("div", { className: "flex flex-col gap-sw-xl py-sw-6xl items-center justify-center bg-sw-gray-800 rounded-sw-lg mb-sw-md", children: [
    /* @__PURE__ */ e("div", { className: "flex items-center justify-center bg-sw-status-error rounded-sw-md p-sw-lg", children: /* @__PURE__ */ e(c, { size: 24, className: "text-sw-gray-950" }) }),
    /* @__PURE__ */ s("div", { className: "flex flex-col gap-sw-sm items-center justify-center", children: [
      /* @__PURE__ */ e("span", { className: "text-sw-label-md text-sw-gray-50 text-center", children: a("deposit.external.transactionDetected.error", "Unexpected error") }),
      /* @__PURE__ */ e("span", { className: "text-sw-label-sm text-sw-gray-200 text-center", children: t })
    ] })
  ] });
}, i = () => {
  const { t } = r();
  return /* @__PURE__ */ s("div", { className: "flex flex-col gap-sw-xl py-sw-6xl items-center justify-center bg-sw-gray-800 rounded-sw-lg mb-sw-md", children: [
    /* @__PURE__ */ e("div", { className: "flex items-center justify-center bg-sw-status-success rounded-sw-md p-sw-lg", children: /* @__PURE__ */ e(l, { size: 24, className: "text-sw-gray-950" }) }),
    /* @__PURE__ */ s("div", { className: "flex flex-col gap-sw-sm items-center justify-center", children: [
      /* @__PURE__ */ e("span", { className: "text-sw-label-md text-sw-gray-50 text-center", children: t(
        "deposit.external.transactionDetected.title",
        "Transaction detected"
      ) }),
      /* @__PURE__ */ e("span", { className: "text-sw-label-sm text-sw-gray-200 text-center", children: t(
        "deposit.external.transactionDetected.description",
        "It might take a few minutes to process your deposit."
      ) })
    ] })
  ] });
}, w = {
  Error: n,
  Success: i
};
export {
  w as StatusWidget
};
//# sourceMappingURL=StatusWidget.js.map
