import{r as n,c as e,h as r,H as a}from"./p-2b0a6102.js";const s="bs-banner{display:block}bs-banner{background-color:var(--bs-bg-invert-subtle);color:var(--bs-gray-100);display:flex;justify-content:center;padding-bottom:1rem;padding-left:1.25rem;padding-right:1.25rem;padding-top:1rem}bs-banner:where([data-dismissed]){display:none}:where(.dark) bs-banner{color:var(--bs-black)}bs-banner :where(.bs-banner-content){align-items:center;display:flex;max-width:var(--bs-content-max-width);width:100%}bs-banner :where(.bs-banner-content .bs-banner-warning-icon){display:none;margin-right:0.625rem}bs-banner :where(.bs-banner-content div[data-slot]){flex-grow:1;padding-right:1.25rem}bs-banner :where(.bs-banner-content div[data-slot] a){color:var(--bs-pink-200);text-decoration:none}:where(.dark) bs-banner :where(.bs-banner-content div[data-slot] a){color:var(--bs-pink-500)}bs-banner :where(.bs-banner-content div[data-slot] a:hover){text-decoration:underline}bs-banner :where(.bs-banner-content button){background-color:inherit;color:inherit;cursor:pointer}@media (min-width: 957px){bs-banner :where(.bs-banner-content .bs-banner-warning-icon){display:inline-flex}}";const t=class{constructor(r){n(this,r);this.dismiss=e(this,"dismiss",7);this.isDismissed=false}handleDismiss(){this.isDismissed=true;this.dismiss.emit()}render(){return r(a,{role:"alert",class:"bs-banner","data-dismissed":this.isDismissed?true:undefined},r("div",{class:"bs-banner-content"},r("bs-icon-warning",{size:"lg",class:"bs-banner-warning-icon"}),r("div",{"data-slot":true},r("slot",null)),r("button",{type:"button",title:"Close Banner",onClick:()=>this.handleDismiss()},r("bs-icon-close",null))))}};t.style=s;export{t as bs_banner};
//# sourceMappingURL=p-8f105702.entry.js.map