import{r as s,c as t,h as i,H as a,g as o}from"./p-ClISz4NF.js";import{v as r}from"./p-CDIRBJsi.js";import{c}from"./p-CgDnDrq5.js";import{g as e}from"./p-CoD1xawt.js";import{t as p}from"./p-Cjg0wpDG.js";import"./p-vN03FcXN.js";import"./p-DNztiAH0.js";import"./p-CQvUntGY.js";const d={root:"gov-backdrop",bg:"gov-backdrop__background"};const h=class{constructor(i){s(this,i);this.govClick=t(this,"gov-click");this.inverse=false;this.disabled=false;this.h=e(this.host)}async componentDidRender(){if(c()){p((()=>this.validateAccessibility()))}}render(){return i(a,{key:"a86624d0cdaf83455d71298e609324fed9cd19bd",class:this.h.classes(d.root),inverse:this.inverse},i("div",{key:"fb299b51c9e2e2dbc0093a8a365e98dabcfc6e8c",role:"button","aria-disabled":this.disabled,"aria-label":this.accessibleLabel,"aria-labelledby":this.accessibleLabelledBy,onClick:s=>{if(!this.disabled){this.govClick.emit(s)}},class:d.bg}))}async validateAccessibility(){r(this.accessibleLabel,this.accessibleLabelledBy,d.root,this.host)}get host(){return o(this)}};export{h as gov_backdrop};
//# sourceMappingURL=p-8f6172d4.entry.js.map