import{_ as y}from"./Heading-D_vnx163-UWSZHCcZ.js";import{h as n,F as k}from"./index-yJ8X--q8.js";import{c as f}from"./clsx-eK3rPvPS-BT_IL7Fz.js";import{a as B,e as v}from"./getRenderStates-B4Xg8PG8-CdOczHfm.js";/*!
 * KoliBri - The accessible HTML-Standard
 */const F=s=>{const{class:d,msg:e,required:a,disabled:o,touched:t,readonly:l,ariaDescribedBy:u,hideLabel:c,label:p,suggestions:i,value:b}=s,r=y(s,["class","msg","required","disabled","touched","readonly","ariaDescribedBy","hideLabel","label","suggestions","value"]),g=B(e,t),m={"kol-input--disabled":!!o,"kol-input--required":!!a,"kol-input--touched":!!t,"kol-input--readonly":!!l,[`kol-input--${(e==null?void 0:e.type)||"error"}`]:g},h=Object.assign(Object.assign({class:f("kol-input",m,d),required:a,disabled:o,readonly:l,type:"text",list:i?`${r.id}-list`:void 0},v({ariaDescribedBy:u,hideLabel:c,label:p})),r);return n(k,null,n("input",Object.assign({},h,{value:b})),i)};export{F as I};
//# sourceMappingURL=Input-D27-m66t-DoBDfVtU.js.map
