System.register(["./p-84426aeb.system.js"],(function(e){"use strict";var t,i;return{setters:[function(e){t=e.r;i=e.h}],execute:function(){var n=e("smoothly_notifier",function(){function e(e){t(this,e)}e.prototype.onTrigger=function(e){if(e.detail.name=="close"){e.stopPropagation();this.notice=undefined}};e.prototype.onUpdatedNotice=function(e){var t=this;if(this.timer){window.clearTimeout(this.timer);this.timer=undefined}if(e!=undefined){this.timer=window.setTimeout((function(){t.notice=undefined;t.timer=undefined}),5e3)}};e.prototype.onNotice=function(e){this.notice=e.detail};e.prototype.render=function(){var e=!this.notice?undefined:typeof this.notice=="string"?JSON.parse(this.notice):this.notice;var t=e&&e.type!="default"?e.type:"primary";return e==undefined?i("slot",null):[i("slot",null),i("aside",{class:e.type},i("p",null,e.message,i("smoothly-trigger",{color:t,fill:"clear",name:"close"},i("smoothly-icon",{name:"close-circle",color:t}))))]};Object.defineProperty(e,"watchers",{get:function(){return{notice:["onUpdatedNotice"]}},enumerable:true,configurable:true});Object.defineProperty(e,"style",{get:function(){return".sc-smoothly-notifier-h{display:block}[hidden].sc-smoothly-notifier-h{display:none}smoothly-trigger.sc-smoothly-notifier{display:inline-block;vertical-align:middle;margin-left:1.5em}aside.sc-smoothly-notifier{text-align:center;vertical-align:middle;width:100%;height:2.8em}aside.warning.sc-smoothly-notifier{background-color:rgb(var(--smoothly-warning-tint));color:rgb(var(--smoothly-warning-contrast))}aside.success.sc-smoothly-notifier{background-color:rgb(var(--smoothly-success-tint));color:rgb(var(--smoothly-success-contrast))}aside.danger.sc-smoothly-notifier{background-color:rgb(var(--smoothly-danger-tint));color:rgb(var(--smoothly-danger-contrast))}aside.default.sc-smoothly-notifier{background-color:rgb(var(--smoothly-primary-tint));color:rgb(var(--smoothly-primary-contrast))}"},enumerable:true,configurable:true});return e}())}}}));