import { j as a } from "../../node_modules/react/jsx-runtime.mjs";
import { memo as m, useMemo as r } from "react";
import d from "../../node_modules/dayjs/dayjs.min.mjs";
import i from "../../node_modules/classnames/index.mjs";
const n = (t) => {
  const { time: e } = t, s = r(() => e.isSame(d(), "day"), [e]);
  return /* @__PURE__ */ a.jsx(
    "div",
    {
      className: i("bitzFuiCalendarHeadItem", {
        bitzFuiCalendarHeadItem_active: s
      }),
      children: /* @__PURE__ */ a.jsxs("div", { className: "bitzFuiCalendarHeadItem__content", children: [
        /* @__PURE__ */ a.jsx("span", { className: "bitzFuiCalendarHeadItem__num", children: e.format("DD") }),
        /* @__PURE__ */ a.jsx("span", { className: "bitzFuiCalendarHeadItem__week", children: e.locale("zh-cn").format("dddd") })
      ] })
    }
  );
}, p = m(n);
export {
  p as default
};
