import{j as o,I as n,l4 as e,aL as p}from"./index-e972fa8e.js";import{u as m}from"./useToggle-22c525ed.js";import"./GenericThumbnailView-38007944.js";import{F as i}from"./FormInput-dbaa88c2.js";import"./componentStyles-7142291f.js";import"./ScrollableList-4768c2b7.js";import"./TextArea-6c7f39e1.js";import"./index.esm-b3c20f6d.js";import{I as a}from"./InputAdornment-acd34c72.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};
