import{j as o,I as n,kX as e,aL as p}from"./index-6c48ebe4.js";import{u as m}from"./useToggle-67f35d17.js";import"./GenericThumbnailView-e18774c4.js";import{F as i}from"./FormInput-345d040e.js";import"./componentStyles-1dd5fe29.js";import"./ScrollableList-e9cb113e.js";import"./TextArea-4432195b.js";import"./index.esm-fd3369ba.js";import{I as a}from"./InputAdornment-42748b9a.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};
