"use strict";const i=require("./mergeProps-DD8aR8go.cjs.js"),f=require("./useLabels-DR2fK5nd.cjs.js");function $(o){let{id:l,label:t,"aria-labelledby":e,"aria-label":b,labelElementType:d="label"}=o;l=i.$bdb11010cef70236$export$f680877a34711e37(l);let a=i.$bdb11010cef70236$export$f680877a34711e37(),r={};t?(e=e?`${a} ${e}`:a,r={id:a,htmlFor:d==="label"?l:void 0}):!e&&!b&&process.env.NODE_ENV!=="production"&&console.warn("If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility");let s=f.$313b98861ee5dd6c$export$d6875122194c7b44({id:l,"aria-label":b,"aria-labelledby":e});return{labelProps:r,fieldProps:s}}exports.$d191a55c9702f145$export$8467354a121f1b9f=$;
//# sourceMappingURL=useLabel-BYUx0yyV.cjs.js.map
