import{u as E}from"./chunk-EN4B57RQ-i1oaj-ML.js";import{h as s,j as e}from"./codemirror-core-vkcnXJgD.js";import{g as S}from"./index-BCSjj6Us.js";var c=S((a,l)=>{const{Component:i,children:r,startContent:n,endContent:o,thumbIcon:t,getBaseProps:m,getInputProps:d,getWrapperProps:u,getThumbProps:h,getThumbIconProps:p,getLabelProps:g,getStartContentProps:x,getEndContentProps:P}=E({...a,ref:l}),f=typeof t=="function"?t(p({includeStateProps:!0})):t&&s.cloneElement(t,p()),j=n&&s.cloneElement(n,x()),C=o&&s.cloneElement(o,P());return e.jsxs(i,{...m(),children:[e.jsx("input",{...d()}),e.jsxs("span",{...u(),children:[n&&j,e.jsx("span",{...h(),children:t&&f}),o&&C]}),r&&e.jsx("span",{...g(),children:r})]})});c.displayName="HeroUI.Switch";var T=c;export{T as s};
