import{j as o,I as n,s3 as e,br as p}from"./index-aa586041.js";import{u as m}from"./useToggle-a84956f9.js";import"./CustomDatepicker-26155063.js";import{F as i}from"./FormInput-7412b024.js";import"./index-e3cd0864.js";import"./ScrollableList-fcc6a14c.js";import"./index.esm-5d8102a7.js";import"./SectionDivider-2f9208fa.js";import{I as a}from"./InputAdornment-2dac8dca.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};
