import{j as o,I as n,l4 as e,aL as p}from"./index-c121b02d.js";import{u as m}from"./useToggle-a698e2bf.js";import"./GenericThumbnailView-77114fcb.js";import{F as i}from"./FormInput-c000e22e.js";import"./componentStyles-2d610038.js";import"./ScrollableList-dc408f1e.js";import"./TextArea-dfbfc4f6.js";import"./index.esm-0c6778ff.js";import{I as a}from"./InputAdornment-ae4c2625.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};
