export const __webpack_esm_id__=63027;export const __webpack_esm_ids__=[63027];export const __webpack_esm_modules__={63027(t,o,s){s.r(o),s.d(o,{alert_box:()=>i});var e=s(90408);const i=class{constructor(t){(0,e.r)(this,t),this.type="info",this.message=void 0,this.noIcon=!0,this.noButton=!1,this.isVisible=!0}onClose(t){t.stopPropagation(),this.isVisible=!this.isVisible}render(){const t=`alert-box alert alert-${this.type} ${this.noIcon&&"no-icon"}`;return(0,e.h)(e.H,null,this.isVisible&&(0,e.h)("div",{class:t},!this.noButton&&(0,e.h)("a",{class:"close-button",onClick:t=>this.onClose(t)},"×"),(0,e.h)("div",{class:"message"},this.message)))}};i.style=".alert-box{position:relative}.alert-box .close-button{position:absolute;top:10px;right:10px;cursor:pointer;font-size:21px;font-weight:700;line-height:1;color:#8a6d3b;opacity:0.2}.alert-box .close-button:hover{text-decoration:none;color:#000;opacity:0.5}"}};
//# sourceMappingURL=63027.fa52e16193c91211fccb.bundle.js.map