import{ck as i,F as c,cc as t,cl as a,cm as s,cn as g,ca as b,j as o}from"./vendor-BKmmeuxg.js";import{B as p}from"./badge-AQfLLMpR.js";import{c as h}from"./utils-DxSsnXxD.js";const d={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:a,color:"bg-yellow-100 text-yellow-800 hover:bg-yellow-100"},ordering:{label:"Ordering",icon:t,color:"bg-orange-100 text-orange-800 hover:bg-orange-100"},short_answer:{label:"Short Answer",icon:c,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"}},v=({type:l,className:r})=>{const e=d[l],n=e.icon;return o.jsxs(p,{variant:"secondary",className:h("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{v as Q};
