import{r as m,R as i,p as s,d as u,c as f,X as g}from"./index-41a412db.js";function c(){return c=Object.assign||function(t){for(var n=1;n<arguments.length;n++){var a=arguments[n];for(var e in a)Object.prototype.hasOwnProperty.call(a,e)&&(t[e]=a[e])}return t},c.apply(this,arguments)}function v(t,n){if(t==null)return{};var a=y(t,n),e,r;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)e=o[r],!(n.indexOf(e)>=0)&&Object.prototype.propertyIsEnumerable.call(t,e)&&(a[e]=t[e])}return a}function y(t,n){if(t==null)return{};var a={},e=Object.keys(t),r,o;for(o=0;o<e.length;o++)r=e[o],!(n.indexOf(r)>=0)&&(a[r]=t[r]);return a}var p=m.forwardRef(function(t,n){var a=t.color,e=a===void 0?"currentColor":a,r=t.size,o=r===void 0?24:r,l=v(t,["color","size"]);return i.createElement("svg",c({ref:n,xmlns:"http://www.w3.org/2000/svg",width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:e,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},l),i.createElement("circle",{cx:"12",cy:"12",r:"3"}),i.createElement("path",{d:"M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z"}))});p.propTypes={color:s.string,size:s.oneOfType([s.string,s.number])};p.displayName="Settings";const x=p,{useState:b,useRef:d,useEffect:O,useCallback:j}=i;function E({className:t,...n}){return u("input",{className:f(g.input,t),...n})}function S({value:t,className:n,...a}){const[e,r]=b(t),o=d(t);O(()=>{o.current!==t&&r(t),o.current=t},[t]);const l=j(h=>r(h.target.value),[r]);return u("input",{className:f(g.input,n),value:e,onChange:l,...a})}export{E as I,x as S,S as a};
