import{j as o,I as n,l4 as e,aL as p}from"./index-7b9530f9.js";import{u as m}from"./useToggle-6da56f14.js";import"./GenericThumbnailView-c4b26278.js";import{F as i}from"./FormInput-61b47e5c.js";import"./componentStyles-32cc6bb2.js";import"./ScrollableList-a1f8f012.js";import"./TextArea-d5cded1f.js";import"./index.esm-9b014892.js";import{I as a}from"./InputAdornment-e3017a11.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};
