import{j as o,I as n,l7 as e,aL as p}from"./index-6f149d0c.js";import{u as m}from"./useToggle-ba9f06b3.js";import"./GenericThumbnailView-01fef5a2.js";import{F as i}from"./FormInput-d3efc191.js";import"./componentStyles-d6393a0a.js";import"./ScrollableList-e382be10.js";import"./TextArea-eb0beb3a.js";import"./index.esm-88773116.js";import{I as a}from"./InputAdornment-ca5e29e7.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};
