import{r as t,h as a,H as e,g as o}from"./p-ClISz4NF.js";import{g as s}from"./p-CoD1xawt.js";import{p as i}from"./p-CQvUntGY.js";import{S as r}from"./p-BcQO4NH2.js";import{v as n}from"./p-NOJjz9dT.js";import"./p-CgDnDrq5.js";const d=i(r,["_S","_M","_L","_XL"]);var c;(function(t){t["SIMPLE"]="simple";t["WAVES"]="waves";t["STRIPES"]="stripes";t["LINES"]="lines"})(c||(c={}));var l;(function(t){t["IMAGE"]="image";t["LOGO"]="logo";t["ICON"]="icon"})(l||(l={}));var b;(function(t){t["LIGHT"]="light";t["DARK"]="dark"})(b||(b={}));const h={root:"gov-banner",content:"gov-banner__content"};const f=class{constructor(a){t(this,a);this.size=d._M;this.background=c.SIMPLE;this.foreground=l.LOGO;this.textColor=b.LIGHT;this.h=s(this.host)}validateSize(t){n(d,t,h.root)}validateBackground(t){n(c,t,h.root)}validateForeground(t){n(l,t,h.root)}validateTextColor(t){n(b,t,h.root)}componentWillLoad(){this.validateSize(this.size);this.validateBackground(this.background);this.validateForeground(this.foreground);this.validateTextColor(this.textColor)}render(){return a(e,Object.assign({key:"c035b04b0715ffcc996d66a1f673d1bd9518284c",class:this.h.classes(h.root),role:"region",size:this.size},this.size!=="xl"?{background:this.background,foreground:this.foreground}:{"text-color":this.textColor}),a("div",{key:"d5a59901f7a1a707c3679ffc20677163bbf31dc7"},a("div",{key:"366d4ce913119a38f3166fdc70d9ae06181e7a5d",class:h.content},a("slot",{key:"92baa67137573e91b5eb74884b2fa1cb68d5bf90",name:"headline"}),a("slot",{key:"2630dbd6c23e8ec71b136d76df977b0bef7aa830"})),this.h.hasSlot("button")&&a("slot",{key:"0e8b200648c9a4af27da49a5f725be48159ad595",name:"button"})),a("slot",{key:"79bdb4c7d136d66561aab55012c8d5669503469f",name:"image"}))}get host(){return o(this)}static get watchers(){return{size:["validateSize"],background:["validateBackground"],foreground:["validateForeground"],"text-color":["validateTextColor"]}}};export{f as gov_banner};
//# sourceMappingURL=p-be3bbe06.entry.js.map