import{dn as i,b3 as t,dg as a,dp as c,dq as s,dr as g,df as b,j as o}from"./react-vendor-xYZnmIII.js";import{g as d,c as p}from"./ui-components-CQM92IK3.js";const h={multiple_choice:{label:"Multiple Choice",icon:b,color:"bg-blue-100 text-blue-800 hover:bg-blue-100"},multiple_select:{label:"Multiple Select",icon:g,color:"bg-purple-100 text-purple-800 hover:bg-purple-100"},matching:{label:"Matching",icon:s,color:"bg-green-100 text-green-800 hover:bg-green-100"},fill_blank:{label:"Fill Blank",icon:c,color:"bg-yellow-100 text-yellow-800 hover:bg-yellow-100"},ordering:{label:"Ordering",icon:a,color:"bg-orange-100 text-orange-800 hover:bg-orange-100"},short_answer:{label:"Short Answer",icon:t,color:"bg-red-100 text-red-800 hover:bg-red-100"},listening:{label:"Listening",icon:i,color:"bg-indigo-100 text-indigo-800 hover:bg-indigo-100"}},m=({type:l,className:r})=>{const e=h[l],n=e.icon;return o.jsxs(d,{variant:"secondary",className:p("gap-1.5",e.color,r),children:[o.jsx(n,{className:"h-3 w-3"}),o.jsx("span",{className:"text-xs font-medium",children:e.label})]})};export{m as Q};
