"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "boundCalendar", {
    enumerable: true,
    get: function() {
        return boundCalendar;
    }
});
const _react = /*#__PURE__*/ _interop_require_default(require("react"));
require("focus-visible");
function _interop_require_default(obj) {
    return obj && obj.__esModule ? obj : {
        default: obj
    };
}
const boundCalendar = ({ base: CalendarBase, double: CalendarDouble, baseRange: CalendarBaseRange, doubleRange: CalendarDoubleRange })=>(rest)=>{
        if (!rest.isRange && !rest.isDouble) {
            return /*#__PURE__*/ _react.default.createElement(CalendarBase, rest);
        }
        if (!rest.isRange && rest.isDouble) {
            return /*#__PURE__*/ _react.default.createElement(CalendarDouble, rest);
        }
        if (rest.isRange && !rest.isDouble) {
            return /*#__PURE__*/ _react.default.createElement(CalendarBaseRange, rest);
        }
        if (rest.isRange && rest.isDouble) {
            return /*#__PURE__*/ _react.default.createElement(CalendarDoubleRange, rest);
        }
        return null;
    };
