import{j as o,I as n,ks as e,aJ as p}from"./index-858224db.js";import{u as m}from"./useToggle-a6330f66.js";import"./GenericThumbnailView-2d7b7363.js";import{F as i}from"./FormInput-8eacbbd9.js";import"./componentStyles-107bd37e.js";import"./ScrollableList-bf78e54b.js";import"./TextArea-78cda1eb.js";import"./index.esm-241dec99.js";import{I as a}from"./InputAdornment-583927e5.js";const y=({...s})=>{const{isOpen:t,toggleOpen:r}=m();return o.jsx(i,{...s,endAdornment:o.jsx(a,{position:"end",children:o.jsx(n,{onClick:r,edge:"end",children:t?o.jsx(e,{}):o.jsx(p,{})})}),type:t?"text":"password"})};export{y as P};
