import React from "react";
import "focus-visible";
/**
 * Компонент календаря с диапазоном.
 */ export const boundCalendar = ({ base: CalendarBase, double: CalendarDouble, baseRange: CalendarBaseRange, doubleRange: CalendarDoubleRange })=>(rest)=>{
        if (!rest.isRange && !rest.isDouble) {
            return /*#__PURE__*/ React.createElement(CalendarBase, rest);
        }
        if (!rest.isRange && rest.isDouble) {
            return /*#__PURE__*/ React.createElement(CalendarDouble, rest);
        }
        if (rest.isRange && !rest.isDouble) {
            return /*#__PURE__*/ React.createElement(CalendarBaseRange, rest);
        }
        if (rest.isRange && rest.isDouble) {
            return /*#__PURE__*/ React.createElement(CalendarDoubleRange, rest);
        }
        return null;
    };
