import { jsx as u } from "../../../../external/.pnpm/preact@10.28.2/node_modules/preact/jsx-runtime/dist/jsxRuntime.module.js";
import { ErrorMessageDisplay as g } from "../../../internal/ErrorMessageDisplay/ErrorMessageDisplay.js";
import { getPaymentLinksErrorMessage as c } from "../utils/getPaymentLinksErrorMessage.js";
const C = ({
  error: t,
  errorMessage: r,
  onContactSupport: o,
  getImageAsset: s
}) => {
  const {
    title: a,
    message: n,
    refreshComponent: i,
    translationValues: m,
    onContactSupport: p,
    images: e
  } = c(t, r, o, s);
  return /* @__PURE__ */ u(
    g,
    {
      imageDesktop: e?.desktop,
      imageMobile: e?.mobile,
      withHeaderOffset: !0,
      title: a,
      message: n,
      translationValues: m,
      withImage: !0,
      centered: !0,
      refreshComponent: i,
      onContactSupport: p
    }
  );
};
export {
  C as PaymentLinksErrors
};
