import{j as e,az as l,ax as s,a9 as i,aA as t}from"./app-BgLa5dit.js";import{S as o}from"./DnXDEnAR.chunk.js";import{S as n}from"./4qGb1BIY.chunk.js";function u(r){return e.jsxs(l,{children:[e.jsx(s,{name:"name",label:"Name",placeholder:"What is the name of this special event?",showRequiredStar:!0}),e.jsx(s,{as:"textarea",name:"description",label:"Description",placeholder:"Enter a short description of this special event",rows:5,showRequiredStar:!0}),e.jsxs(s,{as:"select",name:"type",label:"Event type",showRequiredStar:!0,children:[e.jsx("option",{value:"",disabled:!0,children:"Select an event type"}),Object.values(n).filter(a=>a!==n.Livestream).map(a=>e.jsx("option",{value:a,children:o[a]},a))]}),e.jsxs(i,{children:[e.jsx(i.Cancel,{onClick:r.onClickCancel}),e.jsx(i.Submit,{isNew:r.isNew,type:"submit",variant:"dark"})]})]})}const d=t.object().shape({name:t.string().required("Name is required").max(250,"Name must be less than 250 characters"),description:t.string().required("Description is required").max(1e3,"Description must be less than 1000 characters"),type:t.mixed().required("Event type is required"),status:t.mixed().required("Status is required")});export{d as S,u as a};
//# sourceMappingURL=v4dOQXXE.chunk.js.map
