'use strict';
import { jsx } from 'react/jsx-runtime';
import { redirectFunction } from '../../../../fd-toolbox/redirect/redirect-functions.js';
import { isDev } from '../../../../fd-toolbox/lib/environments.js';
import { BigCalendar } from '../../../fd-component-toolbox/big-calendar/BigCalendar.js';
import { parseExact } from '../../../../fd-toolbox/time/date-time.js';
import { dateFormats } from '../../../../fd-toolbox/dates/date-formats.js';
import { mockCalendarEvents } from './test-page-mocks.js';

var __defProp = Object.defineProperty;
var __name = (target, value) => __defProp(target, "name", {
  value,
  configurable: true
});
async function TestPage() {
  if (isDev()) await redirectFunction("/");
  return /* @__PURE__ */jsx("div", {
    className: "p-6",
    children: /* @__PURE__ */jsx(BigCalendar, {
      dateWindow: parseExact("2026-02-01 00:00:00", dateFormats.isoWithoutLeadingZeros),
      events: mockCalendarEvents
    })
  });
}
__name(TestPage, "TestPage");

export { TestPage as default };
