import { jsx as o } from "../../../../../external/.pnpm/preact@10.28.2/node_modules/preact/jsx-runtime/dist/jsxRuntime.module.js";
import c from "../../../../../hooks/useBalanceAccounts.js";
import i from "../../../../internal/DataOverviewContainer/DataOverviewContainer.js";
import { DisputesOverview as s } from "../DisputesOverview/DisputesOverview.js";
function p({ ...e }) {
  const { balanceAccounts: n, isBalanceAccountIdWrong: r, isFetching: a, error: t } = c(e.balanceAccountId);
  return /* @__PURE__ */ o(
    i,
    {
      balanceAccountsError: t,
      className: "adyen-pe-disputes-overview-container",
      errorMessage: "disputes.overview.common.errors.unavailable",
      isBalanceAccountIdWrong: r,
      onContactSupport: e.onContactSupport,
      children: /* @__PURE__ */ o(s, { ...e, balanceAccounts: n, isLoadingBalanceAccount: a })
    }
  );
}
export {
  p as default
};
