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})}])},5050,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={callServer:function(){return f.callServer},createServerReference:function(){return h.createServerReference},findSourceMapURL:function(){return g.findSourceMapURL}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(20611),g=a.r(1722),h=a.r(38783)},3888,a=>{"use strict";var b=a.i(87924),c=a.i(72131),d=a.i(38246),e=a.i(66684),f=a.i(10756),g=a.i(40695),h=a.i(3130),i=a.i(5050);let j=(0,i.createServerReference)("401aa66eceeee6a419930418593565bd958d22d704",i.callServer,void 0,i.findSourceMapURL,"signIn");a.s(["default",0,function(){let[a,i]=(0,c.useState)(null),[k,l]=(0,c.useState)(!1),m=async a=>{a.preventDefault(),l(!0),i(null);let b=new FormData(a.currentTarget),c=await j(b);c?.error&&(i(c.error),l(!1))};return(0,b.jsxs)("div",{className:"min-h-screen flex flex-col",children:[(0,b.jsx)(e.Header,{isLoggedIn:!1}),(0,b.jsx)("main",{className:"flex-1 flex items-center justify-center p-4 bg-muted/30",children:(0,b.jsxs)(h.Card,{className:"w-full max-w-md",children:[(0,b.jsxs)(h.CardHeader,{className:"text-center",children:[(0,b.jsx)(h.CardTitle,{className:"text-2xl",children:"Welcome Back"}),(0,b.jsx)(h.CardDescription,{children:"Sign in to your account to manage your initiatives and partnerships."})]}),(0,b.jsx)(h.CardContent,{children:(0,b.jsxs)("form",{onSubmit:m,className:"space-y-4",children:[a&&(0,b.jsx)("div",{className:"p-3 text-sm text-red-500 bg-red-50 dark:bg-red-950/50 rounded-md",children:a}),(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsx)("label",{className:"text-sm font-medium",htmlFor:"email",children:"Email Address"}),(0,b.jsx)("input",{id:"email",name:"email",type:"email",required:!0,className:"w-full px-3 py-2 border rounded-md bg-background",placeholder:"admin@asirimpact.org"})]}),(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsxs)("div",{className:"flex items-center justify-between",children:[(0,b.jsx)("label",{className:"text-sm font-medium",htmlFor:"password",children:"Password"}),(0,b.jsx)(d.default,{href:"#",className:"text-xs text-primary hover:underline",children:"Forgot password?"})]}),(0,b.jsx)("input",{id:"password",name:"password",type:"password",required:!0,className:"w-full px-3 py-2 border rounded-md bg-background"})]}),(0,b.jsx)(g.Button,{type:"submit",className:"w-full mt-6",disabled:k,children:k?"Signing in...":"Sign In"})]})}),(0,b.jsx)(h.CardFooter,{className:"justify-center border-t p-4",children:(0,b.jsxs)("p",{className:"text-sm text-muted-foreground",children:["Don't have an account?"," ",(0,b.jsx)(d.default,{href:"#",className:"text-primary hover:underline font-medium",children:"Sign up"})]})})]})}),(0,b.jsx)(f.Footer,{})]})}],3888)}];

//# sourceMappingURL=_0nzan8c._.js.map