import{j as o,I as n,sh as r,et as p}from"./index-43bf7a1c.js";import{u as m}from"./useToggle-cac8da91.js";import"./componentStyles-4624000e.js";import{F as i}from"./FormInput-33b720a4.js";/* empty css                   */import"./ScrollableList-e19132c3.js";import{I as a}from"./InputAdornment-b1a1aa58.js";const g=({...s})=>{const{isOpen:t,toggleOpen:e}=m();return o.jsx(i,{...s,endAdornment:o.jsx(a,{position:"end",children:o.jsx(n,{onClick:e,edge:"end",children:t?o.jsx(r,{}):o.jsx(p,{})})}),type:t?"text":"password"})};export{g as P};
