var R=Object.create;var f=Object.defineProperty,S=Object.defineProperties,h=Object.getOwnPropertyDescriptor,k=Object.getOwnPropertyDescriptors,v=Object.getOwnPropertyNames,m=Object.getOwnPropertySymbols,w=Object.getPrototypeOf,I=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable;var l=(o,t,n)=>t in o?f(o,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):o[t]=n,i=(o,t)=>{for(var n in t||(t={}))I.call(t,n)&&l(o,n,t[n]);if(m)for(var n of m(t))d.call(t,n)&&l(o,n,t[n]);return o},C=(o,t)=>S(o,k(t));var c=(o,t)=>{var n={};for(var p in o)I.call(o,p)&&t.indexOf(p)<0&&(n[p]=o[p]);if(o!=null&&m)for(var p of m(o))t.indexOf(p)<0&&d.call(o,p)&&(n[p]=o[p]);return n};var b=(o,t)=>{for(var n in t)f(o,n,{get:t[n],enumerable:!0})},s=(o,t,n,p)=>{if(t&&typeof t=="object"||typeof t=="function")for(let e of v(t))!I.call(o,e)&&e!==n&&f(o,e,{get:()=>t[e],enumerable:!(p=h(t,e))||p.enumerable});return o};var g=(o,t,n)=>(n=o!=null?R(w(o)):{},s(t||!o||!o.__esModule?f(n,"default",{value:o,enumerable:!0}):n,o)),q=o=>s(f({},"__esModule",{value:!0}),o);var B={};b(B,{default:()=>A});module.exports=q(B);var x=g(require("react"),1),r=require("@chakra-ui/react");var u=require("react/jsx-runtime"),y=(D,G)=>{var a=D,{label:o,error:t,placeholder:n,helperText:p,isInvalid:e,as:T=r.Input,InputLeftAddon:z}=a,F=c(a,["label","error","placeholder","helperText","isInvalid","as","InputLeftAddon"]);return(0,u.jsxs)(r.FormControl,{isInvalid:e,children:[(0,u.jsx)(r.Text,{children:o}),(0,u.jsxs)(r.InputGroup,{mt:"2",children:[z,(0,u.jsx)(T,C(i({placeholder:n},F),{ref:G}))]}),p&&(0,u.jsx)(r.Text,{fontSize:"12",children:p}),t&&(0,u.jsx)(r.Text,{fontSize:"12",color:"red.300",children:t})]})},A=x.default.forwardRef(y);
