import React, { forwardRef, useImperativeHandle, useState } from "react";
import { locales } from "@pisell/utils";
import { PisellModal } from "@pisell/materials";
//#region src/components/ticketBooking/components/notAvailable/index.tsx
const NotAvailable = (props, ref) => {
	const [open, setOpen] = useState(false);
	useImperativeHandle(ref, () => ({ open: () => {
		setOpen(true);
	} }));
	return /* @__PURE__ */ React.createElement(PisellModal.Information, {
		open,
		platform: "pc",
		title: locales.getText("pisell2.ticket-booking.not-available-title"),
		describe: "",
		cancelText: locales.getText("pisell2.text.cancel"),
		okText: locales.getText("pisell2.ticket-booking.not-available-ok"),
		cancelVisible: false,
		closable: true,
		onOk: () => setOpen(false),
		onCancel: () => setOpen(false)
	});
};
var notAvailable_default = forwardRef(NotAvailable);
//#endregion
export { notAvailable_default as default };
