import{r as e,t}from"./app-G6wC4CCm.js";import{t as n}from"./arrow-right-C0IvZSef.js";import{g as r,l as i}from"./ui-D0zPIw82.js";import{t as a}from"./sparkles-C1x2POjC.js";var o=t();function s({open:t,onClose:s,kitName:c,onUpgrade:l}){return(0,o.jsxs)(i,{open:t,onClose:s,size:`md`,"data-testid":`premium-kit-gate-modal`,children:[(0,o.jsxs)(i.Body,{className:`space-y-5 px-7 py-8 text-center`,children:[(0,o.jsx)(`div`,{className:`mx-auto inline-flex h-12 w-12 items-center justify-center rounded-full bg-accent/10 text-accent`,children:(0,o.jsx)(a,{className:`h-5 w-5`})}),(0,o.jsxs)(`div`,{className:`space-y-2`,children:[(0,o.jsx)(`p`,{className:`text-[11px] font-semibold uppercase tracking-wider text-accent`,children:`Pro template`}),(0,o.jsxs)(`h2`,{className:`font-display text-2xl font-medium leading-tight text-foreground`,children:[c,` is a Pro template`]}),(0,o.jsx)(`p`,{className:`text-sm leading-relaxed text-muted-foreground`,children:`Upgrade to paid plan to use this kit and every other Pro template in the library.`})]})]}),(0,o.jsxs)(i.Footer,{className:`flex flex-col gap-2 px-7 pb-7`,children:[l?(0,o.jsxs)(r,{size:`md`,className:`w-full`,onClick:()=>{s(),l()},children:[`Upgrade`,(0,o.jsx)(n,{className:`h-3.5 w-3.5`})]}):(0,o.jsx)(e,{href:`/pricing`,className:`w-full`,children:(0,o.jsxs)(r,{size:`md`,className:`w-full`,children:[`Upgrade`,(0,o.jsx)(n,{className:`h-3.5 w-3.5`})]})}),(0,o.jsx)(r,{type:`button`,variant:`ghost`,size:`md`,className:`w-full`,onClick:s,"data-testid":`premium-kit-gate-cancel`,children:`Maybe later`})]})]})}export{s as t};