System.register(["./index-c820db66.system.js","./index-8fad73f5.system.js","./index-b0fe4e4c.system.js"],(function(o){"use strict";var t,e,r,l;return{setters:[function(o){t=o.r;e=o.h;r=o.k},function(o){l=o.T},function(){}],execute:function(){var s=".sc-smoothly-dialog-h{display:block;position:fixed;left:0;top:0;width:100%;height:100%;z-index:1;background:rgba(var(--smoothly-default-color), var(--smoothly-semitransparent)) !important}[hidden].sc-smoothly-dialog-h{display:none}.sc-smoothly-dialog-h>header.sc-smoothly-dialog{border-top-left-radius:8px;border-top-right-radius:8px;margin-top:2em;color:rgb(var(--smoothly-primary-contrast));background:rgb(var(--smoothly-primary-color))}.sc-smoothly-dialog-h>*.sc-smoothly-dialog{position:relative;color:rgb(var(--smoothly-default-contrast));background-color:rgb(var(--smoothly-default-color));border-color:rgb(var(--smoothly-color));border-width:1px;border-style:solid;max-width:40em;width:calc(100vw - 4em - 2px);max-height:calc(100vh - 6em - 2px);height:auto;margin-left:auto;margin-right:auto;border-collapse:collapse}.sc-smoothly-dialog-h>main.sc-smoothly-dialog{border-bottom-left-radius:8px;border-bottom-right-radius:8px;margin-bottom:2em}.sc-smoothly-dialog-h>*.sc-smoothly-dialog>smoothly-trigger.sc-smoothly-dialog{position:absolute;right:-2em;top:-2em;z-index:1}.sc-smoothly-dialog-h>*.sc-smoothly-dialog>*.sc-smoothly-dialog{margin:10px}";var i=o("smoothly_dialog",function(){function o(o){t(this,o);this.open=true;this.closable=false}o.prototype.TriggerListener=function(o){if(l.is(o.detail)&&o.detail.name=="close")this.open=false};o.prototype.hostData=function(){return{style:{display:this.open?"block":"none"}}};o.prototype.__stencil_render=function(){return[e("header",null,this.closable?e("smoothly-trigger",{fill:"clear",name:"close"},e("smoothly-icon",{name:"close-circle",fill:"solid",color:this.color})):[],this.header?e("h1",null,this.header):e("slot",{name:"header"})),e("main",null,e("slot",null))]};o.prototype.render=function(){return e(r,this.hostData(),this.__stencil_render())};return o}());i.style=s}}}));