module.exports=[33354,(a,b,c)=>{"use strict";c._=function(a){return a&&a.__esModule?a:{default:a}}},3130,a=>{"use strict";var b=a.i(87924),c=a.i(97895);a.s(["Card",0,function({className:a,...d}){return(0,b.jsx)("div",{"data-slot":"card",className:(0,c.cn)("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",a),...d})},"CardContent",0,function({className:a,...d}){return(0,b.jsx)("div",{"data-slot":"card-content",className:(0,c.cn)("px-6",a),...d})},"CardDescription",0,function({className:a,...d}){return(0,b.jsx)("div",{"data-slot":"card-description",className:(0,c.cn)("text-muted-foreground text-sm",a),...d})},"CardFooter",0,function({className:a,...d}){return(0,b.jsx)("div",{"data-slot":"card-footer",className:(0,c.cn)("flex items-center px-6 [.border-t]:pt-6",a),...d})},"CardHeader",0,function({className:a,...d}){return(0,b.jsx)("div",{"data-slot":"card-header",className:(0,c.cn)("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-2 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",a),...d})},"CardTitle",0,function({className:a,...d}){return(0,b.jsx)("div",{"data-slot":"card-title",className:(0,c.cn)("leading-none font-semibold",a),...d})}])},67453,a=>{"use strict";let b=(0,a.i(70106).default)("circle-check",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);a.s(["CheckCircle2",0,b],67453)},52545,a=>{"use strict";var b=a.i(87924),c=a.i(66684),d=a.i(10756),e=a.i(40695),f=a.i(3130),g=a.i(72131),h=a.i(67453),i=a.i(50944);function j(){let[a,c]=(0,g.useState)(!1),d=(0,i.useSearchParams)().get("id")||"";return a?(0,b.jsx)(f.Card,{className:"text-center py-12",children:(0,b.jsxs)(f.CardContent,{className:"space-y-6",children:[(0,b.jsx)("div",{className:"flex justify-center",children:(0,b.jsx)(h.CheckCircle2,{className:"w-16 h-16 text-primary"})}),(0,b.jsx)("h2",{className:"text-2xl font-bold",children:"Successfully Joined!"}),(0,b.jsx)("p",{className:"text-muted-foreground",children:"Thank you for your interest. We have received your request to join the initiative and will be in touch with you shortly."}),(0,b.jsx)(e.Button,{onClick:()=>c(!1),variant:"outline",children:"Join Another Initiative"})]})}):(0,b.jsxs)(f.Card,{children:[(0,b.jsxs)(f.CardHeader,{children:[(0,b.jsx)(f.CardTitle,{className:"text-2xl",children:"Join the Initiative"}),(0,b.jsx)(f.CardDescription,{children:"Fill in your information to join the selected initiative."})]}),(0,b.jsx)(f.CardContent,{children:(0,b.jsxs)("form",{onSubmit:a=>{a.preventDefault(),c(!0)},className:"space-y-6",children:[(0,b.jsxs)("div",{className:"space-y-4",children:[(0,b.jsxs)("div",{children:[(0,b.jsx)("label",{className:"block text-sm font-medium mb-1",children:"Full Name"}),(0,b.jsx)("input",{required:!0,type:"text",className:"w-full px-3 py-2 border rounded-md",placeholder:"Enter your full name"})]}),(0,b.jsxs)("div",{children:[(0,b.jsx)("label",{className:"block text-sm font-medium mb-1",children:"Email Address"}),(0,b.jsx)("input",{required:!0,type:"email",className:"w-full px-3 py-2 border rounded-md",placeholder:"Enter your email"})]}),(0,b.jsxs)("div",{children:[(0,b.jsx)("label",{className:"block text-sm font-medium mb-1",children:"Mobile Number"}),(0,b.jsx)("input",{required:!0,type:"tel",className:"w-full px-3 py-2 border rounded-md",placeholder:"Enter your phone number"})]}),(0,b.jsxs)("div",{children:[(0,b.jsx)("label",{className:"block text-sm font-medium mb-1",children:"Initiative Selection"}),(0,b.jsxs)("select",{required:!0,defaultValue:d,className:"w-full px-3 py-2 border rounded-md bg-background",children:[(0,b.jsx)("option",{value:"",children:"Select an initiative..."}),(0,b.jsx)("option",{value:"1",children:"The Right Forum for Investment Initiatives"}),(0,b.jsx)("option",{value:"2",children:"Intentions"}),(0,b.jsx)("option",{value:"3",children:"Winter Clothing Distribution"})]})]})]}),(0,b.jsx)(e.Button,{type:"submit",className:"w-full",size:"lg",children:"Join Now"})]})})]})}a.s(["default",0,function(){return(0,b.jsxs)("div",{className:"min-h-screen flex flex-col",children:[(0,b.jsx)(c.Header,{isLoggedIn:!1}),(0,b.jsx)("main",{className:"flex-1 py-12 bg-muted/30",children:(0,b.jsx)("div",{className:"container mx-auto px-4",children:(0,b.jsx)("div",{className:"max-w-2xl mx-auto",children:(0,b.jsx)(g.Suspense,{fallback:(0,b.jsx)("div",{children:"Loading form..."}),children:(0,b.jsx)(j,{})})})})}),(0,b.jsx)(d.Footer,{})]})}])}];

//# sourceMappingURL=_05em4-u._.js.map