import{j as e}from"./jsx-runtime-BMrMXMSG.js";import{C as t}from"./Heading-XaJD9TaV.js";const c={specialCharacter:"1 special character",containsNumber:"1 number",containsUppercase:"1 upper case",containsLowercase:"1 lower case",eightCharacter:"At least 8 characters"},l=({criteria:a})=>e.jsx("div",{className:"flex flex-wrap gap-2",children:Object.entries(a).map(([r,s])=>e.jsxs("div",{className:`${s?"bg-green-50 text-green-800":"bg-slate-50 text-slate-800"} flex gap-2 items-center w-fit rounded-full px-2.5 pr-3 py-1`,children:[e.jsx("div",{className:`border-2 ${s?"border-green-800":"border-gray-800"} w-5 h-5 rounded-full flex justify-center items-center`,children:e.jsx(t,{size:16})}),c[r]]},r))});export{l as P};
