import{j as o,I as n,l4 as e,aL as p}from"./index-e0c07a84.js";import{u as m}from"./useToggle-906431ea.js";import"./GenericThumbnailView-d192caf7.js";import{F as i}from"./FormInput-7bb37f2a.js";import"./componentStyles-5432a72d.js";import"./ScrollableList-874c742d.js";import"./TextArea-e9886f56.js";import"./index.esm-79617ba5.js";import{I as a}from"./InputAdornment-bf957c61.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};
