import React from 'react';
import { useSummary } from "../../../../../Sales";
import { DepositContent } from "../../../../../appointmentBooking/components/Deposit";
var Deposit = function Deposit() {
  var _useSummary = useSummary(),
    deposit = _useSummary.deposit,
    isAgreeDepositPolicy = _useSummary.isAgreeDepositPolicy,
    setIsAgreeDepositPolicy = _useSummary.setIsAgreeDepositPolicy,
    getDepositProtocol = _useSummary.getDepositProtocol;
  return /*#__PURE__*/React.createElement(DepositContent, {
    isAgreeDepositPolicy: !!isAgreeDepositPolicy,
    setIsAgreeDepositPolicy: setIsAgreeDepositPolicy,
    deposit: deposit,
    depositProtocolRequest: getDepositProtocol
  });
};
export default Deposit;