import{j as o,I as n,kn as e,aJ as p}from"./index-ba11e6ab.js";import{u as m}from"./useToggle-627e15d8.js";import"./GenericThumbnailView-511a7e33.js";import{F as i}from"./FormInput-3e62ad24.js";import"./componentStyles-cc6f218d.js";import"./ScrollableList-b4fc4d99.js";import"./TextArea-1c46e0e4.js";import"./index.esm-39ef576a.js";import{I as a}from"./InputAdornment-0f07311f.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};
