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})}])},32860,a=>{"use strict";let b=(0,a.i(70106).default)("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);a.s(["ArrowRight",0,b],32860)},60104,a=>{"use strict";var b=a.i(87924),c=a.i(38246),d=a.i(71987),e=a.i(3130),f=a.i(11011),g=a.i(187),h=a.i(97895);let i=(0,g.cva)("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});function j({className:a,variant:c,asChild:d=!1,...e}){let g=d?f.Slot:"span";return(0,b.jsx)(g,{"data-slot":"badge",className:(0,h.cn)(i({variant:c}),a),...e})}var k=a.i(40695),l=a.i(32860),m=a.i(90667),n=a.i(15925);a.s(["PublicInitiativeCard",0,function({initiative:a}){let f=(0,m.useLocale)(),g=(0,n.useTranslations)("initiative"),h="ar"===f&&a.title_ar||a.title,i="ar"===f&&a.description_ar||a.description,o="ar"===f?a.category_name_ar||a.category:a.category_name_en||a.category;return(0,b.jsxs)(e.Card,{className:"flex flex-col h-full hover:border-primary/30 transition-colors group overflow-hidden",children:[(0,b.jsx)("div",{className:"relative w-full h-48 overflow-hidden bg-muted/20 p-2",children:(0,b.jsx)(d.default,{src:a.image_url||"/images/placeholder.png",alt:h,fill:!0,className:"object-contain group-hover:scale-105 transition-transform duration-300"})}),(0,b.jsx)(e.CardHeader,{className:"pb-3",children:(0,b.jsx)("div",{className:"flex items-start justify-between gap-2",children:(0,b.jsxs)("div",{className:"flex-1",children:[(0,b.jsx)("h3",{className:"font-semibold text-lg line-clamp-2 group-hover:text-primary transition-colors",children:h}),(0,b.jsx)(j,{variant:"secondary",className:"mt-2 font-normal",children:o})]})})}),(0,b.jsx)(e.CardContent,{className:"flex-1 space-y-4",children:(0,b.jsx)("p",{className:"text-sm text-muted-foreground line-clamp-3",children:i})}),(0,b.jsx)(e.CardFooter,{className:"pt-0",children:(0,b.jsx)(c.default,{href:`/join-initiative?id=${a.id}`,className:"w-full",children:(0,b.jsxs)(k.Button,{className:"w-full",children:[g("requestPartnership"),(0,b.jsx)(l.ArrowRight,{className:"h-4 w-4 ms-2"})]})})})]})}],60104)}];

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