import{r as s,c as t,h as a,H as c}from"./p-ClISz4NF.js";import{F as e}from"./p-DBXGhafv.js";import"./p-CQvUntGY.js";import"./p-BcQO4NH2.js";const o=class{constructor(a){s(this,a);this.govClick=t(this,"gov-click");this.size="m";this.required=false;this.legend=false}render(){const s=this.legend?"legend":"label";return a(c,{key:"ed4ec902f11631d324119863462a67305d8586e5",class:e.root,size:this.size},a(s,{key:"04168b854261d7aca3c96ee0bd77ab8c2fc9d5f2",class:e.label,htmlFor:this.identifier,onClick:()=>this.govClick.emit()},a("slot",{key:"3d9fadd9d60baae633a699db046ca46605c4ab4c"}),this.required?a("span",{class:"gov-color--text-status-error"}," *"):null))}};export{o as gov_form_label};
//# sourceMappingURL=p-56dc11ba.entry.js.map