import { useSummary } from "../../../../../Sales/Summary/index.js";
import { DepositContent } from "../../../../../appointmentBooking/components/Deposit/index.js";
import React from "react";
//#region src/components/eventBooking/components/Provider/Cart/Deposit/index.tsx
const Deposit = (props) => {
	const { showTitle = true } = props;
	const { deposit, isAgreeDepositPolicy, setIsAgreeDepositPolicy, getDepositProtocol } = useSummary();
	return /* @__PURE__ */ React.createElement(DepositContent, {
		showTitle,
		isAgreeDepositPolicy: !!isAgreeDepositPolicy,
		setIsAgreeDepositPolicy,
		deposit,
		depositProtocolRequest: getDepositProtocol
	});
};
//#endregion
export { Deposit as default };
