import l from "@mui/material/Popover";
import { ButtonBase as d } from "@m4l/base";
import { Skeleton as s } from "../../extended/mui/Skeleton/Skeleton.js";
import { styled as o } from "@mui/material/styles";
import { YearCalendar as m } from "@mui/x-date-pickers/YearCalendar";
import { Badge as i } from "../../extended/mui/Badge/Badge.js";
import { DATE_RANGE_CALENDAR_PICKER_KEY_COMPONENT as t } from "../constants.js";
import { dateRangeCalendarPickerStyles as r } from "../DateRangeCalendarPicker.styles.js";
import { DateRangeCalendarPickerSlots as a } from "./DateRangeCalendarPickerEnum.js";
import { IconButton as w } from "../../extended/mui/IconButton/IconButton.js";
import { TimePicker as S } from "../../TimePicker/TimePicker.js";
import { HelperError as p } from "../../HelperError/HelperError.js";
const y = m;
function n(e) {
  return e !== "skeletonHeight" && e !== "skeletonVariant" && e !== "skeletonWidth";
}
const E = o(s, {
  name: t,
  slot: a.skeleton,
  shouldForwardProp: (e) => e !== "ownerState"
})(r.skeleton), L = o("div", {
  name: t,
  slot: a.root,
  shouldForwardProp: (e) => e !== "ownerState"
})(r.root), T = o("div", {
  name: t,
  slot: a.headers,
  shouldForwardProp: (e) => e !== "ownerState"
})(r.headers), b = o("div", {
  name: t,
  slot: a.header,
  shouldForwardProp: (e) => e !== "ownerState"
})(r.header), H = o(w, {
  name: t,
  slot: a.headerNavigationButton,
  shouldForwardProp: (e) => e !== "ownerState"
})(r.headerNavigationButton), N = o(d, {
  name: t,
  slot: a.headerLabelButton,
  shouldForwardProp: n
})(r.headerLabelButton), D = o("span", {
  name: t,
  slot: a.headerTitle,
  shouldForwardProp: (e) => e !== "ownerState"
})(r.headerTitle), W = o("div", {
  name: t,
  slot: a.calendar,
  shouldForwardProp: (e) => e !== "ownerState"
})(r.calendar), Y = o("section", {
  name: t,
  slot: a.month,
  shouldForwardProp: (e) => e !== "ownerState"
})(r.month), _ = o("div", {
  name: t,
  slot: a.weekdayRow,
  shouldForwardProp: (e) => e !== "ownerState"
})(r.weekdayRow), A = o("span", {
  name: t,
  slot: a.weekdayLabel,
  shouldForwardProp: (e) => e !== "ownerState"
})(r.weekdayLabel), G = o("div", {
  name: t,
  slot: a.weeks,
  shouldForwardProp: (e) => e !== "ownerState"
})(r.weeks), I = o("div", {
  name: t,
  slot: a.week,
  shouldForwardProp: (e) => e !== "ownerState"
})(r.week), K = o(d, {
  name: t,
  slot: a.dayButton,
  shouldForwardProp: n
})(r.dayButton), M = o("span", {
  name: t,
  slot: a.dayLabel,
  shouldForwardProp: (e) => e !== "ownerState"
})(r.dayLabel), O = o(i, {
  name: t,
  slot: a.dayBadge,
  shouldForwardProp: (e) => e !== "ownerState"
})(r.dayBadge), x = o("div", {
  name: t,
  slot: a.timeRange,
  shouldForwardProp: (e) => e !== "ownerState"
})(r.timeRange), V = o("div", {
  name: t,
  slot: a.timeFieldGroup,
  shouldForwardProp: (e) => e !== "ownerState"
})(r.timeFieldGroup), j = o("span", {
  name: t,
  slot: a.timeFieldSummary,
  shouldForwardProp: (e) => e !== "ownerState"
})(r.timeFieldSummary), q = o(S, {
  name: t,
  slot: a.timePicker,
  shouldForwardProp: (e) => e !== "ownerState"
})(r.timePicker), z = o(p, {
  name: t,
  slot: a.helperError,
  shouldForwardProp: (e) => e !== "ownerState"
})(r.helperError), J = o(l, {
  name: t,
  slot: a.yearPopover,
  shouldForwardProp: (e) => e !== "ownerState"
})(r.yearPopover), Q = o(y, {
  name: t,
  slot: a.yearCalendar,
  shouldForwardProp: (e) => e !== "ownerState"
})(r.yearCalendar);
export {
  W as CalendarStyled,
  O as DayBadgeStyled,
  K as DayButtonStyled,
  M as DayLabelStyled,
  N as HeaderLabelButtonStyled,
  H as HeaderNavigationButtonStyled,
  b as HeaderStyled,
  D as HeaderTitleStyled,
  T as HeadersStyled,
  z as HelperErrorStyled,
  Y as MonthStyled,
  L as RootStyled,
  E as SkeletonStyled,
  V as TimeFieldGroupStyled,
  j as TimeFieldSummaryStyled,
  q as TimePickerStyled,
  x as TimeRangeStyled,
  I as WeekStyled,
  A as WeekdayLabelStyled,
  _ as WeekdayRowStyled,
  G as WeeksStyled,
  Q as YearCalendarStyled,
  J as YearPopoverStyled
};
