"use strict";const n=require("react/jsx-runtime"),s=require("./index-DnaHaH_0.js"),u=require("react"),d=require("./index-ChLwd62c.js");function b(t){const a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const e in t)if(e!=="default"){const r=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(a,e,r.get?r:{enumerable:!0,get:()=>t[e]})}}return a.default=t,Object.freeze(a)}const p=b(u);var f="Label",o=p.forwardRef((t,a)=>n.jsx(d.Primitive.label,{...t,ref:a,onMouseDown:e=>{e.target.closest("button, input, select, textarea")||(t.onMouseDown?.(e),!e.defaultPrevented&&e.detail>1&&e.preventDefault())}}));o.displayName=f;var m=o;const c=({className:t,ref:a,...e})=>n.jsx(o,{ref:a,"data-spark-component":"label",className:s.cx("text-body-1",t),...e});c.displayName="Label";const i=({className:t,children:a="*",ref:e,...r})=>n.jsx("span",{ref:e,"data-spark-component":"label-required-indicator",role:"presentation","aria-hidden":"true",className:s.cx(t,"text-caption text-on-surface/dim-1"),...r,children:a});i.displayName="Label.RequiredIndicator";const l=Object.assign(c,{RequiredIndicator:i});l.displayName="Label";i.displayName="Label.RequiredIndicator";exports.Label=l;exports.Root=m;
//# sourceMappingURL=index-0KYGKeVg.js.map
