import{j as o,I as n,ks as e,aJ as p}from"./index-0698dbe6.js";import{u as m}from"./useToggle-e2dc2782.js";import"./GenericThumbnailView-dca658f3.js";import{F as i}from"./FormInput-98c39817.js";import"./componentStyles-91278318.js";import"./ScrollableList-fc87149c.js";import"./TextArea-91c96faf.js";import"./index.esm-85d015f3.js";import{I as a}from"./InputAdornment-0c2174b6.js";const y=({...s})=>{const{isOpen:t,toggleOpen:r}=m();return o.jsx(i,{...s,endAdornment:o.jsx(a,{position:"end",children:o.jsx(n,{onClick:r,edge:"end",children:t?o.jsx(e,{}):o.jsx(p,{})})}),type:t?"text":"password"})};export{y as P};
