import{j as o,I as n,mu as e,aN as p}from"./index-c3f592b2.js";import{u as m}from"./useToggle-a9e32369.js";import"./GenericThumbnailView-9f1d2f81.js";import{F as i}from"./FormInput-adbf55b1.js";import"./componentStyles-b8fcedb5.js";import"./ScrollableList-ecbfc0f3.js";import"./TextArea-674a9ec6.js";import"./index.esm-70dd1c06.js";import{I as a}from"./InputAdornment-fd596377.js";const y=({...r})=>{const{isOpen:t,toggleOpen:s}=m();return o.jsx(i,{...r,endAdornment:o.jsx(a,{position:"end",children:o.jsx(n,{onClick:s,edge:"end",children:t?o.jsx(e,{}):o.jsx(p,{})})}),type:t?"text":"password"})};export{y as P};
