"use strict";
const React = require("react");
const picker = require("./picker.js");
const pickerRange = require("./picker-range.js");
const index = require("./panels/date/index.js");
const index$1 = require("./panels/month/index.js");
const index$2 = require("./panels/year/index.js");
const index$3 = require("./panels/week/index.js");
const index$4 = require("./panels/quarter/index.js");
const emotionReactJsxRuntime_browser_esm = require("../../../../../../@emotion_react@11.10.4_3toe27fv7etiytxb5kxc7fxaw4/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js");
const _interopDefaultLegacy = (e) => e && typeof e === "object" && "default" in e ? e : { default: e };
const React__default = /* @__PURE__ */ _interopDefaultLegacy(React);
var __extends = globalThis && globalThis.__extends || function() {
  var extendStatics = function(d, b) {
    extendStatics = Object.setPrototypeOf || {
      __proto__: []
    } instanceof Array && function(d2, b2) {
      d2.__proto__ = b2;
    } || function(d2, b2) {
      for (var p in b2)
        if (Object.prototype.hasOwnProperty.call(b2, p))
          d2[p] = b2[p];
    };
    return extendStatics(d, b);
  };
  return function(d, b) {
    if (typeof b !== "function" && b !== null)
      throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
    extendStatics(d, b);
    function __() {
      this.constructor = d;
    }
    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
  };
}();
var __assign = globalThis && globalThis.__assign || function() {
  __assign = Object.assign || function(t) {
    for (var s, i = 1, n = arguments.length; i < n; i++) {
      s = arguments[i];
      for (var p in s)
        if (Object.prototype.hasOwnProperty.call(s, p))
          t[p] = s[p];
    }
    return t;
  };
  return __assign.apply(this, arguments);
};
function wrapper(picker$1, displayName) {
  var _a;
  return _a = function(_super) {
    __extends(PickerWrapper, _super);
    function PickerWrapper() {
      return _super !== null && _super.apply(this, arguments) || this;
    }
    PickerWrapper.prototype.render = function() {
      return /* @__PURE__ */ emotionReactJsxRuntime_browser_esm.jsx(picker, {
        ...__assign({}, this.props, {
          picker: picker$1
        })
      });
    };
    return PickerWrapper;
  }(React__default.default.Component), _a.displayName = displayName, _a;
}
var DatePicker = wrapper(/* @__PURE__ */ emotionReactJsxRuntime_browser_esm.jsx(index, {}), "DatePicker");
var MonthPicker = wrapper(/* @__PURE__ */ emotionReactJsxRuntime_browser_esm.jsx(index$1, {}), "MonthPicker");
var YearPicker = wrapper(/* @__PURE__ */ emotionReactJsxRuntime_browser_esm.jsx(index$2, {}), "YearPicker");
var WeekPicker = wrapper(/* @__PURE__ */ emotionReactJsxRuntime_browser_esm.jsx(index$3, {}), "WeekPicker");
var QuarterPicker = wrapper(/* @__PURE__ */ emotionReactJsxRuntime_browser_esm.jsx(index$4, {}), "QuarterPicker");
var RangePicker = pickerRange;
Object.assign(DatePicker, {
  MonthPicker,
  YearPicker,
  WeekPicker,
  QuarterPicker,
  RangePicker
});
const DatePicker$1 = DatePicker;
module.exports = DatePicker$1;
//# sourceMappingURL=index.js.map
