(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,283086,e=>{"use strict";let s=(0,e.i(475254).default)("sparkles",[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]]);e.s(["Sparkles",0,s],283086)},48220,e=>{"use strict";var s=e.i(843476),a=e.i(522016),t=e.i(283086);let r=(0,e.i(475254).default)("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);var l=e.i(647163),i=e.i(625145);function d({modality:e}){let t=e.icon,i=(0,s.jsx)("div",{className:(0,l.cn)("group relative h-full rounded-xl border p-4 transition-all",e.disabled?"opacity-60 cursor-not-allowed bg-muted/20":"hover:border-primary/50 hover:shadow-md cursor-pointer bg-card"),children:(0,s.jsxs)("div",{className:"flex items-start gap-3",children:[(0,s.jsx)("div",{className:(0,l.cn)("flex h-10 w-10 items-center justify-center rounded-lg shrink-0 bg-gradient-to-br",e.accent.split(" ").filter(e=>!e.startsWith("text-")).join(" ")),children:(0,s.jsx)(t,{className:(0,l.cn)("h-5 w-5",e.accent.split(" ").find(e=>e.startsWith("text-")))})}),(0,s.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,s.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,s.jsx)("h3",{className:"font-medium text-sm",children:e.title}),e.disabled&&(0,s.jsx)("span",{className:"text-[10px] uppercase tracking-wider px-1.5 py-0.5 rounded bg-muted text-muted-foreground",children:"Soon"}),!e.disabled&&(0,s.jsx)(r,{className:"h-3 w-3 opacity-0 -translate-x-1 transition-all group-hover:opacity-100 group-hover:translate-x-0"})]}),(0,s.jsx)("p",{className:"text-xs text-muted-foreground mt-1 leading-relaxed",children:e.description})]})]})});return e.disabled?i:(0,s.jsx)(a.default,{href:e.href,children:i})}e.s(["PlaygroundHub",0,function(){return(0,s.jsx)("div",{className:"h-full overflow-y-auto",children:(0,s.jsxs)("div",{className:"mx-auto w-full max-w-5xl space-y-6 p-4 md:p-8",children:[(0,s.jsxs)("div",{className:"space-y-1",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)(t.Sparkles,{className:"h-4 w-4 text-primary"}),(0,s.jsx)("h1",{className:"text-lg font-semibold tracking-tight",children:"Playground"})]}),(0,s.jsx)("p",{className:"text-sm text-muted-foreground",children:"Test any capability over your registered providers. Pick a modality to begin."})]}),(0,s.jsx)("div",{className:"grid gap-3 sm:grid-cols-2 lg:grid-cols-3",children:i.MODALITIES.map(e=>(0,s.jsx)(d,{modality:e},e.id))})]})})}],48220)}]);